From 8004cc9f89d96084502654f5e371c7da463e8003 Mon Sep 17 00:00:00 2001 From: cuizheng Date: Fri, 8 Jul 2011 14:11:29 +0800 Subject: [PATCH] delete aliww & libsmtp-- --- .gitignore | 2 + features/.gitignore | 2 + features/aliww/.svn/entries | 49 - features/aliww/build/.svn/entries | 34 - features/aliww/build/debug/.svn/entries | 96 - .../debug/.svn/prop-base/run.sh.svn-base | 5 - .../debug/.svn/text-base/Makefile.svn-base | 54 - .../debug/.svn/text-base/run.sh.svn-base | 1 - features/aliww/build/debug/Makefile | 54 - features/aliww/build/debug/run.sh | 1 - features/aliww/build/release/.svn/entries | 28 - features/aliww/conf/.svn/entries | 62 - .../conf/.svn/text-base/aliww.conf.svn-base | 0 features/aliww/conf/aliww.conf | 0 features/aliww/data/.svn/entries | 232 - .../.svn/text-base/bind_unbind.dat.svn-base | 9999 ----- .../data/.svn/text-base/cnalichn.csv.svn-base | 2896 -- .../data/.svn/text-base/cntaobao.csv.svn-base | 2038 - .../.svn/text-base/get_bind_list.dat.svn-base | 1000 - .../aliww/data/.svn/text-base/user.svn-base | 1918 - .../data/.svn/text-base/user_passwd.svn-base | 1918 - features/aliww/data/bind_unbind.dat | 9999 ----- features/aliww/data/cnalichn.csv | 2896 -- features/aliww/data/cntaobao.csv | 2038 - features/aliww/data/get_bind_list.dat | 1000 - features/aliww/data/user | 1918 - features/aliww/data/user_passwd | 1918 - features/aliww/include/.svn/entries | 4142 -- .../.svn/text-base/CWWSimulator.h.svn-base | 143 - .../.svn/text-base/DBStruct.h.svn-base | 85 - .../.svn/text-base/DDBInterface.h.svn-base | 581 - .../text-base/EServiceRContact.h.svn-base | 253 - .../text-base/Exhibitionservice.h.svn-base | 334 - .../.svn/text-base/RSACipher.h.svn-base | 79 - .../.svn/text-base/RSAWrapper.h.svn-base | 11 - .../.svn/text-base/WebMember.h.svn-base | 711 - .../.svn/text-base/aas_perf_test.h.svn-base | 38 - .../.svn/text-base/aasservice.h.svn-base | 813 - .../.svn/text-base/aepcacheservice.h.svn-base | 450 - .../.svn/text-base/aepdbsadapter.h.svn-base | 642 - .../.svn/text-base/aliuidpsserv.h.svn-base | 1182 - .../text-base/aliuidpsserv_sync.h.svn-base | 614 - .../.svn/text-base/aliuidstruct.h.svn-base | 199 - .../include/.svn/text-base/aliww.h.svn-base | 33 - .../include/.svn/text-base/aliyun.h.svn-base | 502 - .../.svn/text-base/alliWebMember.h.svn-base | 320 - .../.svn/text-base/aqdispatch_pack.h.svn-base | 437 - .../.svn/text-base/aqsc_head.h.svn-base | 102 - .../.svn/text-base/arcacheservice.h.svn-base | 512 - .../.svn/text-base/atmMember.h.svn-base | 455 - .../.svn/text-base/authservice.h.svn-base | 348 - .../.svn/text-base/bind_unbind.h.svn-base | 28 - .../.svn/text-base/cachss_pack.h.svn-base | 92 - .../.svn/text-base/casc_pack.h.svn-base | 2055 - .../.svn/text-base/chkss_pack.h.svn-base | 101 - .../.svn/text-base/const_macro.h.svn-base | 151 - .../.svn/text-base/contactdbservie.h.svn-base | 1286 - .../.svn/text-base/cow_container.svn-base | 387 - .../.svn/text-base/crcservice.h.svn-base | 374 - .../.svn/text-base/datatype.h.svn-base | 19 - .../.svn/text-base/dbdatadefine.h.svn-base | 2095 - .../.svn/text-base/dbs_perf_test.h.svn-base | 34 - .../.svn/text-base/dbservice.h.svn-base | 10304 ----- .../.svn/text-base/dbsmsservice.h.svn-base | 1213 - .../.svn/text-base/dbsmsstructs.h.svn-base | 257 - .../text-base/dbspacedatadefine.h.svn-base | 112 - .../.svn/text-base/dbss_v5_pack.h.svn-base | 100 - .../.svn/text-base/dbtbsservice60.h.svn-base | 1837 - .../.svn/text-base/dbtbsstructs60.h.svn-base | 624 - .../text-base/ddbadmin_perf_test.h.svn-base | 34 - .../include/.svn/text-base/des.h.svn-base | 36 - .../.svn/text-base/es_eval_service.h.svn-base | 504 - .../es_expandarea_service.h.svn-base | 359 - .../.svn/text-base/fdbrecent_pack.h.svn-base | 119 - .../.svn/text-base/ftservice.h.svn-base | 364 - .../.svn/text-base/get_bind_list.h.svn-base | 28 - .../text-base/imcntlcacheservice.h.svn-base | 349 - .../text-base/imcontrol_service.h.svn-base | 354 - .../.svn/text-base/imicecommstruct.h.svn-base | 117 - .../.svn/text-base/ims_ice_service.h.svn-base | 1744 - .../.svn/text-base/ims_perf_test.h.svn-base | 37 - .../.svn/text-base/imsc_cmd.h.svn-base | 298 - .../.svn/text-base/imsc_cmd_2Str.h.svn-base | 312 - .../.svn/text-base/imsc_pack.h.svn-base | 11670 ------ .../.svn/text-base/imsession.h.svn-base | 326 - .../.svn/text-base/imss_cmd.h.svn-base | 107 - .../.svn/text-base/imss_pack.h.svn-base | 2318 -- .../.svn/text-base/infoservice.h.svn-base | 554 - .../text-base/login_info_center.h.svn-base | 337 - .../.svn/text-base/logss_pack.h.svn-base | 176 - .../include/.svn/text-base/md5hash.h.svn-base | 34 - .../.svn/text-base/monitorsc_pack.h.svn-base | 376 - .../.svn/text-base/mosInterface.h.svn-base | 716 - .../.svn/text-base/mos_perf_test.h.svn-base | 31 - .../.svn/text-base/mpcsc_pack.h.svn-base | 898 - .../.svn/text-base/mpcss_pack.h.svn-base | 465 - .../.svn/text-base/msc_head.h.svn-base | 118 - .../.svn/text-base/ngsInterface.h.svn-base | 228 - .../.svn/text-base/notifycontact.h.svn-base | 253 - .../.svn/text-base/packdata.h.svn-base | 856 - .../.svn/text-base/recentCnt.h.svn-base | 301 - .../.svn/text-base/recentCntCache.h.svn-base | 253 - .../text-base/recentCntdatadefine.h.svn-base | 78 - .../recentContactExternal.h.svn-base | 228 - .../.svn/text-base/rgss_pack.h.svn-base | 402 - .../include/.svn/text-base/ridsrv.h.svn-base | 324 - .../.svn/text-base/rmss_pack.h.svn-base | 180 - .../include/.svn/text-base/sc_head.h.svn-base | 216 - .../.svn/text-base/script_consts.h.svn-base | 24 - .../.svn/text-base/scs_head.h.svn-base | 118 - .../.svn/text-base/sdkss_head.h.svn-base | 94 - .../.svn/text-base/searchuser.h.svn-base | 422 - .../.svn/text-base/sipsession.h.svn-base | 527 - .../.svn/text-base/smsa_pack.h.svn-base | 693 - .../.svn/text-base/smsc_cmd.h.svn-base | 52 - .../.svn/text-base/smsc_pack.h.svn-base | 1336 - .../.svn/text-base/smss_cmd.h.svn-base | 42 - .../.svn/text-base/smss_pack.h.svn-base | 765 - .../.svn/text-base/smssdk_pack.h.svn-base | 222 - .../.svn/text-base/smsstrc_cmd.h.svn-base | 26 - .../.svn/text-base/smsstrc_pack.h.svn-base | 293 - .../.svn/text-base/snsscores.h.svn-base | 447 - .../.svn/text-base/spacecontact.h.svn-base | 668 - .../include/.svn/text-base/ss_head.h.svn-base | 284 - .../.svn/text-base/ss_v5_head.h.svn-base | 170 - .../include/.svn/text-base/struct.h.svn-base | 71 - .../.svn/text-base/tbWebMember.h.svn-base | 790 - .../.svn/text-base/tbbdb_pack.h.svn-base | 269 - .../.svn/text-base/tbsc_cmd.h.svn-base | 112 - .../.svn/text-base/tbsc_pack.h.svn-base | 5450 --- .../.svn/text-base/tbsmsg_pack.h.svn-base | 437 - .../.svn/text-base/tbss_cmd.h.svn-base | 141 - .../.svn/text-base/tbss_pack.h.svn-base | 7264 ---- .../.svn/text-base/tbsstrc_pack.h.svn-base | 644 - .../.svn/text-base/tcservice.h.svn-base | 647 - .../.svn/text-base/tgsc_pack.h.svn-base | 2407 -- .../.svn/text-base/tgsstrc_pack.h.svn-base | 56 - .../.svn/text-base/tmpsession.h.svn-base | 252 - .../.svn/text-base/tpfs_pack.h.svn-base | 1982 - .../.svn/text-base/tpfs_perf_test.h.svn-base | 39 - .../.svn/text-base/tradeCache.h.svn-base | 252 - .../.svn/text-base/udbservice.h.svn-base | 394 - .../.svn/text-base/urlencode.h.svn-base | 56 - .../text-base/user_ice_service.h.svn-base | 1480 - .../.svn/text-base/user_info.h.svn-base | 463 - .../.svn/text-base/user_statics.h.svn-base | 254 - .../.svn/text-base/uss_perf_test.h.svn-base | 32 - .../text-base/vendorchkservice.h.svn-base | 348 - .../.svn/text-base/webtcserv.h.svn-base | 588 - features/aliww/include/CWWSimulator.h | 143 - features/aliww/include/DBStruct.h | 85 - features/aliww/include/DDBInterface.h | 581 - features/aliww/include/EServiceRContact.h | 253 - features/aliww/include/Exhibitionservice.h | 334 - features/aliww/include/RSACipher.h | 79 - features/aliww/include/RSAWrapper.h | 11 - features/aliww/include/WebMember.h | 711 - features/aliww/include/aas_perf_test.h | 38 - features/aliww/include/aasservice.h | 813 - features/aliww/include/aepcacheservice.h | 450 - features/aliww/include/aepdbsadapter.h | 642 - features/aliww/include/aliuidpsserv.h | 1182 - features/aliww/include/aliuidpsserv_sync.h | 614 - features/aliww/include/aliuidstruct.h | 199 - features/aliww/include/aliww.h | 33 - features/aliww/include/aliyun.h | 502 - features/aliww/include/alliWebMember.h | 320 - features/aliww/include/aqdispatch_pack.h | 437 - features/aliww/include/aqsc_head.h | 102 - features/aliww/include/arcacheservice.h | 512 - features/aliww/include/atmMember.h | 455 - features/aliww/include/authservice.h | 348 - features/aliww/include/bind_unbind.h | 28 - features/aliww/include/cachss_pack.h | 92 - features/aliww/include/casc_pack.h | 2055 - features/aliww/include/chkss_pack.h | 101 - features/aliww/include/const_macro.h | 151 - features/aliww/include/contactdbservie.h | 1286 - features/aliww/include/cow_container | 387 - features/aliww/include/crcservice.h | 374 - features/aliww/include/datatype.h | 19 - features/aliww/include/dbdatadefine.h | 2095 - features/aliww/include/dbs_perf_test.h | 34 - features/aliww/include/dbservice.h | 10304 ----- features/aliww/include/dbsmsservice.h | 1213 - features/aliww/include/dbsmsstructs.h | 257 - features/aliww/include/dbspacedatadefine.h | 112 - features/aliww/include/dbss_v5_pack.h | 100 - features/aliww/include/dbtbsservice60.h | 1837 - features/aliww/include/dbtbsstructs60.h | 624 - features/aliww/include/ddbadmin_perf_test.h | 34 - features/aliww/include/des.h | 36 - features/aliww/include/es_eval_service.h | 504 - .../aliww/include/es_expandarea_service.h | 359 - features/aliww/include/fdbrecent_pack.h | 119 - features/aliww/include/ftservice.h | 364 - features/aliww/include/get_bind_list.h | 28 - features/aliww/include/imcntlcacheservice.h | 349 - features/aliww/include/imcontrol_service.h | 354 - features/aliww/include/imicecommstruct.h | 117 - features/aliww/include/ims_ice_service.h | 1744 - features/aliww/include/ims_perf_test.h | 37 - features/aliww/include/imsc_cmd.h | 298 - features/aliww/include/imsc_cmd_2Str.h | 312 - features/aliww/include/imsc_pack.h | 11670 ------ features/aliww/include/imsession.h | 326 - features/aliww/include/imss_cmd.h | 107 - features/aliww/include/imss_pack.h | 2318 -- features/aliww/include/infoservice.h | 554 - features/aliww/include/login_info_center.h | 337 - features/aliww/include/logss_pack.h | 176 - features/aliww/include/md5hash.h | 34 - features/aliww/include/monitorsc_pack.h | 376 - features/aliww/include/mosInterface.h | 716 - features/aliww/include/mos_perf_test.h | 31 - features/aliww/include/mpcsc_pack.h | 898 - features/aliww/include/mpcss_pack.h | 465 - features/aliww/include/msc_head.h | 118 - features/aliww/include/ngsInterface.h | 228 - features/aliww/include/notifycontact.h | 253 - features/aliww/include/packdata.h | 856 - features/aliww/include/recentCnt.h | 301 - features/aliww/include/recentCntCache.h | 253 - features/aliww/include/recentCntdatadefine.h | 78 - .../aliww/include/recentContactExternal.h | 228 - features/aliww/include/rgss_pack.h | 402 - features/aliww/include/ridsrv.h | 324 - features/aliww/include/rmss_pack.h | 180 - features/aliww/include/sc_head.h | 216 - features/aliww/include/script_consts.h | 24 - features/aliww/include/scs_head.h | 118 - features/aliww/include/sdkss_head.h | 94 - features/aliww/include/searchuser.h | 422 - features/aliww/include/sipsession.h | 527 - features/aliww/include/smsa_pack.h | 693 - features/aliww/include/smsc_cmd.h | 52 - features/aliww/include/smsc_pack.h | 1336 - features/aliww/include/smss_cmd.h | 42 - features/aliww/include/smss_pack.h | 765 - features/aliww/include/smssdk_pack.h | 222 - features/aliww/include/smsstrc_cmd.h | 26 - features/aliww/include/smsstrc_pack.h | 293 - features/aliww/include/snsscores.h | 447 - features/aliww/include/spacecontact.h | 668 - features/aliww/include/ss_head.h | 284 - features/aliww/include/ss_v5_head.h | 170 - features/aliww/include/struct.h | 71 - features/aliww/include/tbWebMember.h | 790 - features/aliww/include/tbbdb_pack.h | 269 - features/aliww/include/tbsc_cmd.h | 112 - features/aliww/include/tbsc_pack.h | 5450 --- features/aliww/include/tbsmsg_pack.h | 437 - features/aliww/include/tbss_cmd.h | 141 - features/aliww/include/tbss_pack.h | 7264 ---- features/aliww/include/tbsstrc_pack.h | 644 - features/aliww/include/tcservice.h | 647 - features/aliww/include/tgsc_pack.h | 2407 -- features/aliww/include/tgsstrc_pack.h | 56 - features/aliww/include/tmpsession.h | 252 - features/aliww/include/tpfs_pack.h | 1982 - features/aliww/include/tpfs_perf_test.h | 39 - features/aliww/include/tradeCache.h | 252 - features/aliww/include/udbservice.h | 394 - features/aliww/include/urlencode.h | 56 - features/aliww/include/user_ice_service.h | 1480 - features/aliww/include/user_info.h | 463 - features/aliww/include/user_statics.h | 254 - features/aliww/include/uss_perf_test.h | 32 - features/aliww/include/vendorchkservice.h | 348 - features/aliww/include/webtcserv.h | 588 - features/aliww/lib/.svn/entries | 28 - features/aliww/slice/.svn/entries | 300 - .../.svn/text-base/DBStruct.ice.svn-base | 18 - .../.svn/text-base/DDBInterface.ice.svn-base | 24 - .../.svn/text-base/dbdatadefine.ice.svn-base | 879 - .../.svn/text-base/dbservice.ice.svn-base | 1705 - .../text-base/dbtbsstructs60.ice.svn-base | 260 - .../text-base/imicecommstruct.ice.svn-base | 31 - .../.svn/text-base/imsession.ice.svn-base | 22 - .../.svn/text-base/user_statics.ice.svn-base | 18 - features/aliww/slice/DBStruct.ice | 18 - features/aliww/slice/DDBInterface.ice | 24 - features/aliww/slice/dbdatadefine.ice | 879 - features/aliww/slice/dbservice.ice | 1705 - features/aliww/slice/dbtbsstructs60.ice | 260 - features/aliww/slice/imicecommstruct.ice | 31 - features/aliww/slice/imsession.ice | 22 - features/aliww/slice/user_statics.ice | 18 - features/aliww/source/.svn/entries | 3904 -- .../source/.svn/prop-base/README.svn-base | 5 - .../text-base/CWWSimulator.cpp.bak.svn-base | 1081 - .../.svn/text-base/CWWSimulator.cpp.svn-base | 1221 - .../.svn/text-base/DBStruct.cpp.svn-base | 180 - .../.svn/text-base/DDBInterface.cpp.svn-base | 1991 - .../text-base/EServiceRContact.cpp.svn-base | 586 - .../text-base/Exhibitionservice.cpp.svn-base | 1460 - .../text-base/OpenIMWebService.cpp.svn-base | 5718 --- .../source/.svn/text-base/README.svn-base | 4 - .../.svn/text-base/RSAWrapper.cpp.svn-base | 27 - .../.svn/text-base/RsaCipher.cpp.svn-base | 333 - .../text-base/TribeInterface.cpp.svn-base | 646 - .../text-base/Userudbprofile.cpp.svn-base | 107 - .../.svn/text-base/WebMember.cpp.svn-base | 3222 -- .../.svn/text-base/aas_perf_test.cpp.svn-base | 303 - .../.svn/text-base/aasservice.cpp.svn-base | 2272 -- .../text-base/aepcacheservice.cpp.svn-base | 1613 - .../.svn/text-base/aepdbsadapter.cpp.svn-base | 2626 -- .../.svn/text-base/aliuidpsserv.cpp.svn-base | 3339 -- .../text-base/aliuidpsserv_sync.cpp.svn-base | 2519 -- .../.svn/text-base/aliuidstruct.cpp.svn-base | 647 - .../source/.svn/text-base/aliww.cpp.svn-base | 322 - .../source/.svn/text-base/aliyun.cpp.svn-base | 1871 - .../.svn/text-base/alliWebMember.cpp.svn-base | 990 - .../text-base/aqdispatch_pack.cpp.svn-base | 510 - .../.svn/text-base/aqsc_head.cpp.svn-base | 52 - .../text-base/arcacheservice.cpp.svn-base | 1770 - .../.svn/text-base/atmMember.cpp.svn-base | 1862 - .../.svn/text-base/authservice.cpp.svn-base | 1077 - .../.svn/text-base/bind_unbind.cpp.svn-base | 105 - .../.svn/text-base/cachss_pack.cpp.svn-base | 108 - .../.svn/text-base/casc_pack.cpp.svn-base | 3371 -- .../.svn/text-base/chkss_pack.cpp.svn-base | 96 - .../text-base/contactdbservie.cpp.svn-base | 6265 --- .../.svn/text-base/crcservice.cpp.svn-base | 1083 - .../.svn/text-base/dbdatadefine.cpp.svn-base | 11466 ------ .../.svn/text-base/dbs_perf_test.cpp.svn-base | 247 - .../.svn/text-base/dbservice.cpp.svn-base | 31808 ---------------- .../.svn/text-base/dbsmsservice.cpp.svn-base | 5719 --- .../.svn/text-base/dbsmsstructs.cpp.svn-base | 982 - .../text-base/dbspacedatadefine.cpp.svn-base | 323 - .../.svn/text-base/dbss_v5_pack.cpp.svn-base | 77 - .../text-base/dbtbsservice60.cpp.svn-base | 9078 ----- .../text-base/dbtbsstructs60.cpp.svn-base | 3260 -- .../text-base/ddbadmin_perf_test.cpp.svn-base | 283 - .../source/.svn/text-base/des.cpp.svn-base | 999 - .../text-base/es_eval_service.cpp.svn-base | 1753 - .../es_expandarea_service.cpp.svn-base | 1104 - .../text-base/fdbrecent_pack.cpp.svn-base | 176 - .../.svn/text-base/ftservice.cpp.svn-base | 1037 - .../.svn/text-base/get_bind_list.cpp.svn-base | 94 - .../text-base/imcntlcacheservice.cpp.svn-base | 1109 - .../text-base/imcontrol_service.cpp.svn-base | 1166 - .../text-base/imicecommstruct.cpp.svn-base | 285 - .../text-base/ims_ice_service.cpp.svn-base | 8178 ---- .../.svn/text-base/ims_perf_test.cpp.svn-base | 229 - .../.svn/text-base/imsc_pack.cpp.svn-base | 18290 --------- .../.svn/text-base/imsession.cpp.svn-base | 911 - .../.svn/text-base/imss_pack.cpp.svn-base | 2791 -- .../.svn/text-base/infoservice.cpp.svn-base | 2122 -- .../text-base/login_info_center.cpp.svn-base | 1062 - .../.svn/text-base/logss_pack.cpp.svn-base | 188 - .../.svn/text-base/md5hash.cpp.svn-base | 464 - .../text-base/monitorsc_pack.cpp.svn-base | 569 - .../.svn/text-base/mosInterface.cpp.svn-base | 2793 -- .../.svn/text-base/mos_perf_test.cpp.svn-base | 130 - .../.svn/text-base/mpcsc_pack.cpp.svn-base | 1331 - .../.svn/text-base/mpcss_pack.cpp.svn-base | 552 - .../.svn/text-base/msc_head.cpp.svn-base | 56 - .../.svn/text-base/ngsInterface.cpp.svn-base | 464 - .../.svn/text-base/notifycontact.cpp.svn-base | 592 - .../.svn/text-base/paramUtil.cpp.svn-base | 221 - .../.svn/text-base/recentCnt.cpp.svn-base | 874 - .../text-base/recentCntCache.cpp.svn-base | 618 - .../recentCntdatadefine.cpp.svn-base | 190 - .../recentContactExternal.cpp.svn-base | 473 - .../.svn/text-base/rgss_pack.cpp.svn-base | 561 - .../source/.svn/text-base/ridsrv.cpp.svn-base | 961 - .../.svn/text-base/rmss_pack.cpp.svn-base | 213 - .../.svn/text-base/sc_head.cpp.svn-base | 75 - .../.svn/text-base/scs_head.cpp.svn-base | 56 - .../.svn/text-base/sdkss_head.cpp.svn-base | 50 - .../.svn/text-base/searchuser.cpp.svn-base | 1568 - .../.svn/text-base/sipsession.cpp.svn-base | 517 - .../.svn/text-base/smsa_pack.cpp.svn-base | 604 - .../.svn/text-base/smsc_pack.cpp.svn-base | 2022 - .../.svn/text-base/smss_pack.cpp.svn-base | 847 - .../.svn/text-base/smssdk_pack.cpp.svn-base | 141 - .../.svn/text-base/smsstrc_pack.cpp.svn-base | 300 - .../.svn/text-base/snsscores.cpp.svn-base | 1685 - .../.svn/text-base/spacecontact.cpp.svn-base | 2885 -- .../.svn/text-base/ss_head.cpp.svn-base | 122 - .../.svn/text-base/ss_v5_head.cpp.svn-base | 56 - .../source/.svn/text-base/struct.cpp.svn-base | 55 - .../aliww/source/.svn/text-base/tags.svn-base | 384 - .../.svn/text-base/tbWebMember.cpp.svn-base | 3213 -- .../.svn/text-base/tbbdb_pack.cpp.svn-base | 370 - .../.svn/text-base/tbsc_pack.cpp.svn-base | 8457 ---- .../.svn/text-base/tbsmsg_pack.cpp.svn-base | 546 - .../.svn/text-base/tbss_pack.cpp.svn-base | 9070 ----- .../.svn/text-base/tbsstrc_pack.cpp.svn-base | 779 - .../.svn/text-base/tcservice.cpp.svn-base | 2621 -- .../.svn/text-base/tgsc_pack.cpp.svn-base | 2997 -- .../.svn/text-base/tgsstrc_pack.cpp.svn-base | 39 - .../.svn/text-base/tmpsession.cpp.svn-base | 586 - .../.svn/text-base/tpfs_pack.cpp.svn-base | 2633 -- .../text-base/tpfs_perf_test.cpp.svn-base | 240 - .../.svn/text-base/tradeCache.cpp.svn-base | 586 - .../.svn/text-base/udbservice.cpp.svn-base | 1170 - .../text-base/user_ice_service.cpp.svn-base | 6146 --- .../.svn/text-base/user_info.cpp.svn-base | 1592 - .../.svn/text-base/user_statics.cpp.svn-base | 583 - .../.svn/text-base/uss_perf_test.cpp.svn-base | 128 - .../text-base/vendorchkservice.cpp.svn-base | 1095 - .../.svn/text-base/webtcserv.cpp.svn-base | 2292 -- features/aliww/source/CWWSimulator.cpp | 1221 - features/aliww/source/CWWSimulator.cpp.bak | 1081 - features/aliww/source/DBStruct.cpp | 180 - features/aliww/source/DDBInterface.cpp | 1991 - features/aliww/source/EServiceRContact.cpp | 586 - features/aliww/source/Exhibitionservice.cpp | 1460 - features/aliww/source/OpenIMWebService.cpp | 5718 --- features/aliww/source/README | 4 - features/aliww/source/RSAWrapper.cpp | 27 - features/aliww/source/RsaCipher.cpp | 333 - features/aliww/source/TribeInterface.cpp | 646 - features/aliww/source/Userudbprofile.cpp | 107 - features/aliww/source/WebMember.cpp | 3222 -- features/aliww/source/aas_perf_test.cpp | 303 - features/aliww/source/aasservice.cpp | 2272 -- features/aliww/source/aepcacheservice.cpp | 1613 - features/aliww/source/aepdbsadapter.cpp | 2626 -- features/aliww/source/aliuidpsserv.cpp | 3339 -- features/aliww/source/aliuidpsserv_sync.cpp | 2519 -- features/aliww/source/aliuidstruct.cpp | 647 - features/aliww/source/aliww.cpp | 322 - features/aliww/source/aliyun.cpp | 1871 - features/aliww/source/alliWebMember.cpp | 990 - features/aliww/source/aqdispatch_pack.cpp | 510 - features/aliww/source/aqsc_head.cpp | 52 - features/aliww/source/arcacheservice.cpp | 1770 - features/aliww/source/atmMember.cpp | 1862 - features/aliww/source/authservice.cpp | 1077 - features/aliww/source/bind_unbind.cpp | 105 - features/aliww/source/cachss_pack.cpp | 108 - features/aliww/source/casc_pack.cpp | 3371 -- features/aliww/source/chkss_pack.cpp | 96 - features/aliww/source/contactdbservie.cpp | 6265 --- features/aliww/source/crcservice.cpp | 1083 - features/aliww/source/dbdatadefine.cpp | 11466 ------ features/aliww/source/dbs_perf_test.cpp | 247 - features/aliww/source/dbservice.cpp | 31808 ---------------- features/aliww/source/dbsmsservice.cpp | 5719 --- features/aliww/source/dbsmsstructs.cpp | 982 - features/aliww/source/dbspacedatadefine.cpp | 323 - features/aliww/source/dbss_v5_pack.cpp | 77 - features/aliww/source/dbtbsservice60.cpp | 9078 ----- features/aliww/source/dbtbsstructs60.cpp | 3260 -- features/aliww/source/ddbadmin_perf_test.cpp | 283 - features/aliww/source/des.cpp | 999 - features/aliww/source/es_eval_service.cpp | 1753 - .../aliww/source/es_expandarea_service.cpp | 1104 - features/aliww/source/fdbrecent_pack.cpp | 176 - features/aliww/source/ftservice.cpp | 1037 - features/aliww/source/get_bind_list.cpp | 94 - features/aliww/source/imcntlcacheservice.cpp | 1109 - features/aliww/source/imcontrol_service.cpp | 1166 - features/aliww/source/imicecommstruct.cpp | 285 - features/aliww/source/ims_ice_service.cpp | 8178 ---- features/aliww/source/ims_perf_test.cpp | 229 - features/aliww/source/imsc_pack.cpp | 18290 --------- features/aliww/source/imsession.cpp | 911 - features/aliww/source/imss_pack.cpp | 2791 -- features/aliww/source/infoservice.cpp | 2122 -- features/aliww/source/login_info_center.cpp | 1062 - features/aliww/source/logss_pack.cpp | 188 - features/aliww/source/md5hash.cpp | 464 - features/aliww/source/monitorsc_pack.cpp | 569 - features/aliww/source/mosInterface.cpp | 2793 -- features/aliww/source/mos_perf_test.cpp | 130 - features/aliww/source/mpcsc_pack.cpp | 1331 - features/aliww/source/mpcss_pack.cpp | 552 - features/aliww/source/msc_head.cpp | 56 - features/aliww/source/ngsInterface.cpp | 464 - features/aliww/source/notifycontact.cpp | 592 - features/aliww/source/paramUtil.cpp | 221 - features/aliww/source/recentCnt.cpp | 874 - features/aliww/source/recentCntCache.cpp | 618 - features/aliww/source/recentCntdatadefine.cpp | 190 - .../aliww/source/recentContactExternal.cpp | 473 - features/aliww/source/rgss_pack.cpp | 561 - features/aliww/source/ridsrv.cpp | 961 - features/aliww/source/rmss_pack.cpp | 213 - features/aliww/source/sc_head.cpp | 75 - features/aliww/source/scs_head.cpp | 56 - features/aliww/source/sdkss_head.cpp | 50 - features/aliww/source/searchuser.cpp | 1568 - features/aliww/source/sipsession.cpp | 517 - features/aliww/source/smsa_pack.cpp | 604 - features/aliww/source/smsc_pack.cpp | 2022 - features/aliww/source/smss_pack.cpp | 847 - features/aliww/source/smssdk_pack.cpp | 141 - features/aliww/source/smsstrc_pack.cpp | 300 - features/aliww/source/snsscores.cpp | 1685 - features/aliww/source/spacecontact.cpp | 2885 -- features/aliww/source/ss_head.cpp | 122 - features/aliww/source/ss_v5_head.cpp | 56 - features/aliww/source/struct.cpp | 55 - features/aliww/source/tags | 384 - features/aliww/source/tbWebMember.cpp | 3213 -- features/aliww/source/tbbdb_pack.cpp | 370 - features/aliww/source/tbsc_pack.cpp | 8457 ---- features/aliww/source/tbsmsg_pack.cpp | 546 - features/aliww/source/tbss_pack.cpp | 9070 ----- features/aliww/source/tbsstrc_pack.cpp | 779 - features/aliww/source/tcservice.cpp | 2621 -- features/aliww/source/tgsc_pack.cpp | 2997 -- features/aliww/source/tgsstrc_pack.cpp | 39 - features/aliww/source/tmpsession.cpp | 586 - features/aliww/source/tpfs_pack.cpp | 2633 -- features/aliww/source/tpfs_perf_test.cpp | 240 - features/aliww/source/tradeCache.cpp | 586 - features/aliww/source/udbservice.cpp | 1170 - features/aliww/source/user_ice_service.cpp | 6146 --- features/aliww/source/user_info.cpp | 1592 - features/aliww/source/user_statics.cpp | 583 - features/aliww/source/uss_perf_test.cpp | 128 - features/aliww/source/vendorchkservice.cpp | 1095 - features/aliww/source/webtcserv.cpp | 2292 -- features/smtp/lib/libsmtp---0.1.0/.cproject | 210 - features/smtp/lib/libsmtp---0.1.0/.project | 79 - .../smtp/lib/libsmtp---0.1.0/.svn/entries | 411 - .../.svn/prop-base/config.guess.svn-base | 5 - .../.svn/prop-base/config.status.svn-base | 5 - .../.svn/prop-base/config.sub.svn-base | 5 - .../.svn/prop-base/configure.svn-base | 5 - .../.svn/prop-base/install-sh.svn-base | 5 - .../.svn/prop-base/ldconfig.wrapper.svn-base | 5 - .../.svn/text-base/.cproject.svn-base | 210 - .../.svn/text-base/.project.svn-base | 79 - .../.svn/text-base/Makefile.in.svn-base | 34 - .../.svn/text-base/Makefile.svn-base | 34 - .../.svn/text-base/config.guess.svn-base | 1321 - .../.svn/text-base/config.log.svn-base | 542 - .../.svn/text-base/config.status.svn-base | 650 - .../.svn/text-base/config.sub.svn-base | 1443 - .../.svn/text-base/configure.svn-base | 6381 ---- .../.svn/text-base/install-sh.svn-base | 251 - .../.svn/text-base/ldconfig.wrapper.svn-base | 54 - features/smtp/lib/libsmtp---0.1.0/Makefile | 34 - features/smtp/lib/libsmtp---0.1.0/Makefile.in | 34 - .../smtp/lib/libsmtp---0.1.0/config.guess | 1321 - features/smtp/lib/libsmtp---0.1.0/config.log | 542 - .../smtp/lib/libsmtp---0.1.0/config.status | 650 - features/smtp/lib/libsmtp---0.1.0/config.sub | 1443 - features/smtp/lib/libsmtp---0.1.0/configure | 6381 ---- .../smtp/lib/libsmtp---0.1.0/doc/.svn/entries | 238 - .../doc/.svn/text-base/CHANGELOG.svn-base | 4 - .../doc/.svn/text-base/LGPL.svn-base | 504 - .../doc/.svn/text-base/README.MacOS.svn-base | 11 - .../doc/.svn/text-base/README.svn-base | 129 - .../text-base/README.thread_safety.svn-base | 19 - .../doc/.svn/text-base/TODO.svn-base | 5 - .../smtp/lib/libsmtp---0.1.0/doc/CHANGELOG | 4 - features/smtp/lib/libsmtp---0.1.0/doc/LGPL | 504 - features/smtp/lib/libsmtp---0.1.0/doc/README | 129 - .../smtp/lib/libsmtp---0.1.0/doc/README.MacOS | 11 - .../libsmtp---0.1.0/doc/README.thread_safety | 19 - features/smtp/lib/libsmtp---0.1.0/doc/TODO | 5 - .../libsmtp---0.1.0/doc/examples/.svn/entries | 439 - .../.svn/prop-base/example_1.svn-base | 9 - .../.svn/prop-base/example_2.svn-base | 9 - .../doc/examples/.svn/prop-base/main.svn-base | 9 - .../examples/.svn/prop-base/make.sh.svn-base | 5 - .../.svn/text-base/example_1.c.svn-base | 80 - .../.svn/text-base/example_1.svn-base | Bin 32786 -> 0 bytes .../.svn/text-base/example_2.c.svn-base | 87 - .../.svn/text-base/example_2.svn-base | Bin 32018 -> 0 bytes .../.svn/text-base/example_3.c.svn-base | 86 - .../.svn/text-base/example_4.c.svn-base | 100 - .../.svn/text-base/example_5.c.svn-base | 92 - .../.svn/text-base/example_6.c.svn-base | 37 - .../.svn/text-base/example_7.c.svn-base | 8 - .../examples/.svn/text-base/main.c.svn-base | 40 - .../doc/examples/.svn/text-base/main.svn-base | Bin 9482 -> 0 bytes .../examples/.svn/text-base/make.sh.svn-base | 1 - .../libsmtp---0.1.0/doc/examples/example_1 | Bin 32786 -> 0 bytes .../libsmtp---0.1.0/doc/examples/example_1.c | 80 - .../libsmtp---0.1.0/doc/examples/example_2 | Bin 32018 -> 0 bytes .../libsmtp---0.1.0/doc/examples/example_2.c | 87 - .../libsmtp---0.1.0/doc/examples/example_3.c | 86 - .../libsmtp---0.1.0/doc/examples/example_4.c | 100 - .../libsmtp---0.1.0/doc/examples/example_5.c | 92 - .../libsmtp---0.1.0/doc/examples/example_6.c | 37 - .../libsmtp---0.1.0/doc/examples/example_7.c | 8 - .../lib/libsmtp---0.1.0/doc/examples/main | Bin 9482 -> 0 bytes .../lib/libsmtp---0.1.0/doc/examples/main.c | 40 - .../lib/libsmtp---0.1.0/doc/examples/make.sh | 1 - .../doc/examples/plugins/.svn/entries | 62 - .../.svn/text-base/plg_anonymous.c.svn-base | 162 - .../doc/examples/plugins/plg_anonymous.c | 162 - .../lib/libsmtp---0.1.0/doc/rfc/.svn/entries | 368 - .../rfc/.svn/text-base/rfc0821.txt.svn-base | 4050 -- .../rfc/.svn/text-base/rfc1321.txt.svn-base | 1179 - .../rfc/.svn/text-base/rfc1760.txt.svn-base | 675 - .../rfc/.svn/text-base/rfc2104.txt.svn-base | 619 - .../rfc/.svn/text-base/rfc2222.txt.svn-base | 899 - .../rfc/.svn/text-base/rfc2245.txt.svn-base | 283 - .../rfc/.svn/text-base/rfc2554.txt.svn-base | 619 - .../rfc/.svn/text-base/rfc2821.txt.svn-base | 4426 --- .../rfc/.svn/text-base/rfc2831.txt.svn-base | 1515 - .../rfc/.svn/text-base/rfc3174.txt.svn-base | 1235 - .../lib/libsmtp---0.1.0/doc/rfc/rfc0821.txt | 4050 -- .../lib/libsmtp---0.1.0/doc/rfc/rfc1321.txt | 1179 - .../lib/libsmtp---0.1.0/doc/rfc/rfc1760.txt | 675 - .../lib/libsmtp---0.1.0/doc/rfc/rfc2104.txt | 619 - .../lib/libsmtp---0.1.0/doc/rfc/rfc2222.txt | 899 - .../lib/libsmtp---0.1.0/doc/rfc/rfc2245.txt | 283 - .../lib/libsmtp---0.1.0/doc/rfc/rfc2554.txt | 619 - .../lib/libsmtp---0.1.0/doc/rfc/rfc2821.txt | 4426 --- .../lib/libsmtp---0.1.0/doc/rfc/rfc2831.txt | 1515 - .../lib/libsmtp---0.1.0/doc/rfc/rfc3174.txt | 1235 - features/smtp/lib/libsmtp---0.1.0/install-sh | 251 - .../lib/libsmtp---0.1.0/lang/.svn/entries | 37 - .../lib/libsmtp---0.1.0/lang/de/.svn/entries | 96 - .../de/.svn/prop-base/libsmtp--.mo.svn-base | 5 - .../de/.svn/text-base/libsmtp--.mo.svn-base | Bin 2855 -> 0 bytes .../de/.svn/text-base/libsmtp--.pot.svn-base | 89 - .../lib/libsmtp---0.1.0/lang/de/libsmtp--.mo | Bin 2855 -> 0 bytes .../lib/libsmtp---0.1.0/lang/de/libsmtp--.pot | 89 - .../lib/libsmtp---0.1.0/lang/es/.svn/entries | 96 - .../es/.svn/prop-base/libsmtp--.mo.svn-base | 5 - .../es/.svn/text-base/libsmtp--.mo.svn-base | Bin 2900 -> 0 bytes .../es/.svn/text-base/libsmtp--.pot.svn-base | 89 - .../lib/libsmtp---0.1.0/lang/es/libsmtp--.mo | Bin 2900 -> 0 bytes .../lib/libsmtp---0.1.0/lang/es/libsmtp--.pot | 89 - .../lib/libsmtp---0.1.0/lang/ru/.svn/entries | 96 - .../ru/.svn/prop-base/libsmtp--.mo.svn-base | 5 - .../ru/.svn/text-base/libsmtp--.mo.svn-base | Bin 2673 -> 0 bytes .../ru/.svn/text-base/libsmtp--.pot.svn-base | 89 - .../lib/libsmtp---0.1.0/lang/ru/libsmtp--.mo | Bin 2673 -> 0 bytes .../lib/libsmtp---0.1.0/lang/ru/libsmtp--.pot | 89 - .../smtp/lib/libsmtp---0.1.0/ldconfig.wrapper | 54 - .../smtp/lib/libsmtp---0.1.0/src/.svn/entries | 884 - .../src/.svn/text-base/Makefile.in.svn-base | 114 - .../src/.svn/text-base/Makefile.svn-base | 116 - .../src/.svn/text-base/algorithm.c.svn-base | 333 - .../src/.svn/text-base/algorithm.h.svn-base | 188 - .../src/.svn/text-base/alloc.c.svn-base | 135 - .../src/.svn/text-base/alloc.h.svn-base | 93 - .../src/.svn/text-base/dlfcn.c.svn-base | 210 - .../src/.svn/text-base/dlfcn.h.svn-base | 69 - .../src/.svn/text-base/error.c.svn-base | 100 - .../src/.svn/text-base/error.h.svn-base | 74 - .../src/.svn/text-base/i18n.c.svn-base | 118 - .../src/.svn/text-base/i18n.h.svn-base | 103 - .../src/.svn/text-base/inetsocket.c.svn-base | 331 - .../src/.svn/text-base/inetsocket.h.svn-base | 144 - .../src/.svn/text-base/init.c.svn-base | 76 - .../src/.svn/text-base/log.c.svn-base | 73 - .../src/.svn/text-base/log.h.svn-base | 79 - .../src/.svn/text-base/plugin.c.svn-base | 648 - .../src/.svn/text-base/plugin.h.svn-base | 165 - .../src/.svn/text-base/smtp.c.svn-base | 1103 - .../src/.svn/text-base/smtp.h.svn-base | 303 - .../src/.svn/text-base/sslsocket.c.svn-base | 555 - .../src/.svn/text-base/sslsocket.h.svn-base | 204 - .../src/.svn/text-base/string.c.svn-base | 331 - .../src/.svn/text-base/string.h.svn-base | 183 - .../smtp/lib/libsmtp---0.1.0/src/Makefile | 116 - .../smtp/lib/libsmtp---0.1.0/src/Makefile.in | 114 - .../smtp/lib/libsmtp---0.1.0/src/algorithm.c | 333 - .../smtp/lib/libsmtp---0.1.0/src/algorithm.h | 188 - features/smtp/lib/libsmtp---0.1.0/src/alloc.c | 135 - features/smtp/lib/libsmtp---0.1.0/src/alloc.h | 93 - features/smtp/lib/libsmtp---0.1.0/src/dlfcn.c | 210 - features/smtp/lib/libsmtp---0.1.0/src/dlfcn.h | 69 - features/smtp/lib/libsmtp---0.1.0/src/error.c | 100 - features/smtp/lib/libsmtp---0.1.0/src/error.h | 74 - features/smtp/lib/libsmtp---0.1.0/src/i18n.c | 118 - features/smtp/lib/libsmtp---0.1.0/src/i18n.h | 103 - .../libsmtp---0.1.0/src/includes/.svn/entries | 34 - .../src/includes/nossl/.svn/entries | 300 - .../nossl/.svn/text-base/alloc.h.svn-base | 93 - .../nossl/.svn/text-base/error.h.svn-base | 74 - .../nossl/.svn/text-base/i18n.h.svn-base | 103 - .../.svn/text-base/inetsocket.h.svn-base | 144 - .../nossl/.svn/text-base/log.h.svn-base | 79 - .../nossl/.svn/text-base/plugin.h.svn-base | 159 - .../nossl/.svn/text-base/smtp.h.svn-base | 239 - .../nossl/.svn/text-base/string.h.svn-base | 183 - .../src/includes/nossl/alloc.h | 93 - .../src/includes/nossl/error.h | 74 - .../libsmtp---0.1.0/src/includes/nossl/i18n.h | 103 - .../src/includes/nossl/inetsocket.h | 144 - .../libsmtp---0.1.0/src/includes/nossl/log.h | 79 - .../src/includes/nossl/plugin.h | 159 - .../libsmtp---0.1.0/src/includes/nossl/smtp.h | 239 - .../src/includes/nossl/string.h | 183 - .../src/includes/ssl/.svn/entries | 368 - .../ssl/.svn/text-base/algorithm.h.svn-base | 188 - .../ssl/.svn/text-base/alloc.h.svn-base | 93 - .../ssl/.svn/text-base/error.h.svn-base | 74 - .../ssl/.svn/text-base/i18n.h.svn-base | 103 - .../ssl/.svn/text-base/inetsocket.h.svn-base | 144 - .../ssl/.svn/text-base/log.h.svn-base | 79 - .../ssl/.svn/text-base/plugin.h.svn-base | 159 - .../ssl/.svn/text-base/smtp.h.svn-base | 289 - .../ssl/.svn/text-base/sslsocket.h.svn-base | 204 - .../ssl/.svn/text-base/string.h.svn-base | 183 - .../src/includes/ssl/algorithm.h | 188 - .../libsmtp---0.1.0/src/includes/ssl/alloc.h | 93 - .../libsmtp---0.1.0/src/includes/ssl/error.h | 74 - .../libsmtp---0.1.0/src/includes/ssl/i18n.h | 103 - .../src/includes/ssl/inetsocket.h | 144 - .../libsmtp---0.1.0/src/includes/ssl/log.h | 79 - .../libsmtp---0.1.0/src/includes/ssl/plugin.h | 159 - .../libsmtp---0.1.0/src/includes/ssl/smtp.h | 289 - .../src/includes/ssl/sslsocket.h | 204 - .../libsmtp---0.1.0/src/includes/ssl/string.h | 183 - .../smtp/lib/libsmtp---0.1.0/src/inetsocket.c | 331 - .../smtp/lib/libsmtp---0.1.0/src/inetsocket.h | 144 - features/smtp/lib/libsmtp---0.1.0/src/init.c | 76 - features/smtp/lib/libsmtp---0.1.0/src/log.c | 73 - features/smtp/lib/libsmtp---0.1.0/src/log.h | 79 - .../smtp/lib/libsmtp---0.1.0/src/plugin.c | 648 - .../smtp/lib/libsmtp---0.1.0/src/plugin.h | 165 - .../libsmtp---0.1.0/src/plugins/.svn/entries | 300 - .../.svn/text-base/Makefile.in.svn-base | 72 - .../plugins/.svn/text-base/Makefile.svn-base | 72 - .../.svn/text-base/plg_anonymous.c.svn-base | 158 - .../.svn/text-base/plg_cram_md5.c.svn-base | 226 - .../.svn/text-base/plg_cram_sha1.c.svn-base | 226 - .../.svn/text-base/plg_external.c.svn-base | 158 - .../.svn/text-base/plg_login.c.svn-base | 182 - .../.svn/text-base/plg_plain.c.svn-base | 164 - .../lib/libsmtp---0.1.0/src/plugins/Makefile | 72 - .../libsmtp---0.1.0/src/plugins/Makefile.in | 72 - .../src/plugins/plg_anonymous.c | 158 - .../src/plugins/plg_cram_md5.c | 226 - .../src/plugins/plg_cram_sha1.c | 226 - .../src/plugins/plg_external.c | 158 - .../libsmtp---0.1.0/src/plugins/plg_login.c | 182 - .../libsmtp---0.1.0/src/plugins/plg_plain.c | 164 - features/smtp/lib/libsmtp---0.1.0/src/smtp.c | 1103 - features/smtp/lib/libsmtp---0.1.0/src/smtp.h | 303 - .../smtp/lib/libsmtp---0.1.0/src/sslsocket.c | 555 - .../smtp/lib/libsmtp---0.1.0/src/sslsocket.h | 204 - .../smtp/lib/libsmtp---0.1.0/src/string.c | 331 - .../smtp/lib/libsmtp---0.1.0/src/string.h | 183 - 739 files changed, 4 insertions(+), 750527 deletions(-) create mode 100644 .gitignore create mode 100644 features/.gitignore delete mode 100644 features/aliww/.svn/entries delete mode 100644 features/aliww/build/.svn/entries delete mode 100644 features/aliww/build/debug/.svn/entries delete mode 100644 features/aliww/build/debug/.svn/prop-base/run.sh.svn-base delete mode 100644 features/aliww/build/debug/.svn/text-base/Makefile.svn-base delete mode 100644 features/aliww/build/debug/.svn/text-base/run.sh.svn-base delete mode 100644 features/aliww/build/debug/Makefile delete mode 100755 features/aliww/build/debug/run.sh delete mode 100644 features/aliww/build/release/.svn/entries delete mode 100644 features/aliww/conf/.svn/entries delete mode 100644 features/aliww/conf/.svn/text-base/aliww.conf.svn-base delete mode 100644 features/aliww/conf/aliww.conf delete mode 100644 features/aliww/data/.svn/entries delete mode 100644 features/aliww/data/.svn/text-base/bind_unbind.dat.svn-base delete mode 100644 features/aliww/data/.svn/text-base/cnalichn.csv.svn-base delete mode 100644 features/aliww/data/.svn/text-base/cntaobao.csv.svn-base delete mode 100644 features/aliww/data/.svn/text-base/get_bind_list.dat.svn-base delete mode 100644 features/aliww/data/.svn/text-base/user.svn-base delete mode 100644 features/aliww/data/.svn/text-base/user_passwd.svn-base delete mode 100644 features/aliww/data/bind_unbind.dat delete mode 100644 features/aliww/data/cnalichn.csv delete mode 100644 features/aliww/data/cntaobao.csv delete mode 100644 features/aliww/data/get_bind_list.dat delete mode 100644 features/aliww/data/user delete mode 100644 features/aliww/data/user_passwd delete mode 100644 features/aliww/include/.svn/entries delete mode 100644 features/aliww/include/.svn/text-base/CWWSimulator.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/DBStruct.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/DDBInterface.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/EServiceRContact.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/Exhibitionservice.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/RSACipher.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/RSAWrapper.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/WebMember.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/aas_perf_test.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/aasservice.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/aepcacheservice.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/aepdbsadapter.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/aliuidpsserv.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/aliuidpsserv_sync.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/aliuidstruct.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/aliww.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/aliyun.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/alliWebMember.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/aqdispatch_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/aqsc_head.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/arcacheservice.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/atmMember.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/authservice.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/bind_unbind.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/cachss_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/casc_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/chkss_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/const_macro.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/contactdbservie.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/cow_container.svn-base delete mode 100644 features/aliww/include/.svn/text-base/crcservice.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/datatype.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/dbdatadefine.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/dbs_perf_test.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/dbservice.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/dbsmsservice.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/dbsmsstructs.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/dbspacedatadefine.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/dbss_v5_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/dbtbsservice60.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/dbtbsstructs60.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/ddbadmin_perf_test.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/des.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/es_eval_service.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/es_expandarea_service.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/fdbrecent_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/ftservice.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/get_bind_list.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/imcntlcacheservice.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/imcontrol_service.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/imicecommstruct.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/ims_ice_service.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/ims_perf_test.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/imsc_cmd.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/imsc_cmd_2Str.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/imsc_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/imsession.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/imss_cmd.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/imss_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/infoservice.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/login_info_center.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/logss_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/md5hash.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/monitorsc_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/mosInterface.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/mos_perf_test.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/mpcsc_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/mpcss_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/msc_head.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/ngsInterface.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/notifycontact.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/packdata.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/recentCnt.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/recentCntCache.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/recentCntdatadefine.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/recentContactExternal.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/rgss_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/ridsrv.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/rmss_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/sc_head.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/script_consts.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/scs_head.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/sdkss_head.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/searchuser.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/sipsession.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/smsa_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/smsc_cmd.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/smsc_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/smss_cmd.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/smss_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/smssdk_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/smsstrc_cmd.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/smsstrc_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/snsscores.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/spacecontact.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/ss_head.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/ss_v5_head.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/struct.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/tbWebMember.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/tbbdb_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/tbsc_cmd.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/tbsc_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/tbsmsg_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/tbss_cmd.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/tbss_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/tbsstrc_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/tcservice.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/tgsc_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/tgsstrc_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/tmpsession.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/tpfs_pack.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/tpfs_perf_test.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/tradeCache.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/udbservice.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/urlencode.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/user_ice_service.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/user_info.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/user_statics.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/uss_perf_test.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/vendorchkservice.h.svn-base delete mode 100644 features/aliww/include/.svn/text-base/webtcserv.h.svn-base delete mode 100644 features/aliww/include/CWWSimulator.h delete mode 100644 features/aliww/include/DBStruct.h delete mode 100644 features/aliww/include/DDBInterface.h delete mode 100644 features/aliww/include/EServiceRContact.h delete mode 100644 features/aliww/include/Exhibitionservice.h delete mode 100644 features/aliww/include/RSACipher.h delete mode 100644 features/aliww/include/RSAWrapper.h delete mode 100644 features/aliww/include/WebMember.h delete mode 100644 features/aliww/include/aas_perf_test.h delete mode 100644 features/aliww/include/aasservice.h delete mode 100644 features/aliww/include/aepcacheservice.h delete mode 100644 features/aliww/include/aepdbsadapter.h delete mode 100644 features/aliww/include/aliuidpsserv.h delete mode 100644 features/aliww/include/aliuidpsserv_sync.h delete mode 100644 features/aliww/include/aliuidstruct.h delete mode 100644 features/aliww/include/aliww.h delete mode 100644 features/aliww/include/aliyun.h delete mode 100644 features/aliww/include/alliWebMember.h delete mode 100644 features/aliww/include/aqdispatch_pack.h delete mode 100644 features/aliww/include/aqsc_head.h delete mode 100644 features/aliww/include/arcacheservice.h delete mode 100644 features/aliww/include/atmMember.h delete mode 100644 features/aliww/include/authservice.h delete mode 100644 features/aliww/include/bind_unbind.h delete mode 100644 features/aliww/include/cachss_pack.h delete mode 100644 features/aliww/include/casc_pack.h delete mode 100644 features/aliww/include/chkss_pack.h delete mode 100644 features/aliww/include/const_macro.h delete mode 100644 features/aliww/include/contactdbservie.h delete mode 100644 features/aliww/include/cow_container delete mode 100644 features/aliww/include/crcservice.h delete mode 100644 features/aliww/include/datatype.h delete mode 100644 features/aliww/include/dbdatadefine.h delete mode 100644 features/aliww/include/dbs_perf_test.h delete mode 100644 features/aliww/include/dbservice.h delete mode 100644 features/aliww/include/dbsmsservice.h delete mode 100644 features/aliww/include/dbsmsstructs.h delete mode 100644 features/aliww/include/dbspacedatadefine.h delete mode 100644 features/aliww/include/dbss_v5_pack.h delete mode 100644 features/aliww/include/dbtbsservice60.h delete mode 100644 features/aliww/include/dbtbsstructs60.h delete mode 100644 features/aliww/include/ddbadmin_perf_test.h delete mode 100644 features/aliww/include/des.h delete mode 100644 features/aliww/include/es_eval_service.h delete mode 100644 features/aliww/include/es_expandarea_service.h delete mode 100644 features/aliww/include/fdbrecent_pack.h delete mode 100644 features/aliww/include/ftservice.h delete mode 100644 features/aliww/include/get_bind_list.h delete mode 100644 features/aliww/include/imcntlcacheservice.h delete mode 100644 features/aliww/include/imcontrol_service.h delete mode 100644 features/aliww/include/imicecommstruct.h delete mode 100644 features/aliww/include/ims_ice_service.h delete mode 100644 features/aliww/include/ims_perf_test.h delete mode 100644 features/aliww/include/imsc_cmd.h delete mode 100644 features/aliww/include/imsc_cmd_2Str.h delete mode 100644 features/aliww/include/imsc_pack.h delete mode 100644 features/aliww/include/imsession.h delete mode 100644 features/aliww/include/imss_cmd.h delete mode 100644 features/aliww/include/imss_pack.h delete mode 100644 features/aliww/include/infoservice.h delete mode 100644 features/aliww/include/login_info_center.h delete mode 100644 features/aliww/include/logss_pack.h delete mode 100644 features/aliww/include/md5hash.h delete mode 100644 features/aliww/include/monitorsc_pack.h delete mode 100644 features/aliww/include/mosInterface.h delete mode 100644 features/aliww/include/mos_perf_test.h delete mode 100644 features/aliww/include/mpcsc_pack.h delete mode 100644 features/aliww/include/mpcss_pack.h delete mode 100644 features/aliww/include/msc_head.h delete mode 100644 features/aliww/include/ngsInterface.h delete mode 100644 features/aliww/include/notifycontact.h delete mode 100644 features/aliww/include/packdata.h delete mode 100644 features/aliww/include/recentCnt.h delete mode 100644 features/aliww/include/recentCntCache.h delete mode 100644 features/aliww/include/recentCntdatadefine.h delete mode 100644 features/aliww/include/recentContactExternal.h delete mode 100644 features/aliww/include/rgss_pack.h delete mode 100644 features/aliww/include/ridsrv.h delete mode 100644 features/aliww/include/rmss_pack.h delete mode 100644 features/aliww/include/sc_head.h delete mode 100644 features/aliww/include/script_consts.h delete mode 100644 features/aliww/include/scs_head.h delete mode 100644 features/aliww/include/sdkss_head.h delete mode 100644 features/aliww/include/searchuser.h delete mode 100644 features/aliww/include/sipsession.h delete mode 100644 features/aliww/include/smsa_pack.h delete mode 100644 features/aliww/include/smsc_cmd.h delete mode 100644 features/aliww/include/smsc_pack.h delete mode 100644 features/aliww/include/smss_cmd.h delete mode 100644 features/aliww/include/smss_pack.h delete mode 100644 features/aliww/include/smssdk_pack.h delete mode 100644 features/aliww/include/smsstrc_cmd.h delete mode 100644 features/aliww/include/smsstrc_pack.h delete mode 100644 features/aliww/include/snsscores.h delete mode 100644 features/aliww/include/spacecontact.h delete mode 100644 features/aliww/include/ss_head.h delete mode 100644 features/aliww/include/ss_v5_head.h delete mode 100644 features/aliww/include/struct.h delete mode 100644 features/aliww/include/tbWebMember.h delete mode 100644 features/aliww/include/tbbdb_pack.h delete mode 100644 features/aliww/include/tbsc_cmd.h delete mode 100644 features/aliww/include/tbsc_pack.h delete mode 100644 features/aliww/include/tbsmsg_pack.h delete mode 100644 features/aliww/include/tbss_cmd.h delete mode 100644 features/aliww/include/tbss_pack.h delete mode 100644 features/aliww/include/tbsstrc_pack.h delete mode 100644 features/aliww/include/tcservice.h delete mode 100644 features/aliww/include/tgsc_pack.h delete mode 100644 features/aliww/include/tgsstrc_pack.h delete mode 100644 features/aliww/include/tmpsession.h delete mode 100644 features/aliww/include/tpfs_pack.h delete mode 100644 features/aliww/include/tpfs_perf_test.h delete mode 100644 features/aliww/include/tradeCache.h delete mode 100644 features/aliww/include/udbservice.h delete mode 100644 features/aliww/include/urlencode.h delete mode 100644 features/aliww/include/user_ice_service.h delete mode 100644 features/aliww/include/user_info.h delete mode 100644 features/aliww/include/user_statics.h delete mode 100644 features/aliww/include/uss_perf_test.h delete mode 100644 features/aliww/include/vendorchkservice.h delete mode 100644 features/aliww/include/webtcserv.h delete mode 100644 features/aliww/lib/.svn/entries delete mode 100644 features/aliww/slice/.svn/entries delete mode 100644 features/aliww/slice/.svn/text-base/DBStruct.ice.svn-base delete mode 100644 features/aliww/slice/.svn/text-base/DDBInterface.ice.svn-base delete mode 100644 features/aliww/slice/.svn/text-base/dbdatadefine.ice.svn-base delete mode 100644 features/aliww/slice/.svn/text-base/dbservice.ice.svn-base delete mode 100644 features/aliww/slice/.svn/text-base/dbtbsstructs60.ice.svn-base delete mode 100644 features/aliww/slice/.svn/text-base/imicecommstruct.ice.svn-base delete mode 100644 features/aliww/slice/.svn/text-base/imsession.ice.svn-base delete mode 100644 features/aliww/slice/.svn/text-base/user_statics.ice.svn-base delete mode 100644 features/aliww/slice/DBStruct.ice delete mode 100644 features/aliww/slice/DDBInterface.ice delete mode 100644 features/aliww/slice/dbdatadefine.ice delete mode 100644 features/aliww/slice/dbservice.ice delete mode 100644 features/aliww/slice/dbtbsstructs60.ice delete mode 100644 features/aliww/slice/imicecommstruct.ice delete mode 100644 features/aliww/slice/imsession.ice delete mode 100644 features/aliww/slice/user_statics.ice delete mode 100644 features/aliww/source/.svn/entries delete mode 100644 features/aliww/source/.svn/prop-base/README.svn-base delete mode 100644 features/aliww/source/.svn/text-base/CWWSimulator.cpp.bak.svn-base delete mode 100644 features/aliww/source/.svn/text-base/CWWSimulator.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/DBStruct.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/DDBInterface.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/EServiceRContact.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/Exhibitionservice.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/OpenIMWebService.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/README.svn-base delete mode 100644 features/aliww/source/.svn/text-base/RSAWrapper.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/RsaCipher.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/TribeInterface.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/Userudbprofile.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/WebMember.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/aas_perf_test.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/aasservice.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/aepcacheservice.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/aepdbsadapter.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/aliuidpsserv.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/aliuidpsserv_sync.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/aliuidstruct.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/aliww.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/aliyun.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/alliWebMember.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/aqdispatch_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/aqsc_head.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/arcacheservice.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/atmMember.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/authservice.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/bind_unbind.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/cachss_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/casc_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/chkss_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/contactdbservie.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/crcservice.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/dbdatadefine.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/dbs_perf_test.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/dbservice.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/dbsmsservice.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/dbsmsstructs.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/dbspacedatadefine.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/dbss_v5_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/dbtbsservice60.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/dbtbsstructs60.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/ddbadmin_perf_test.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/des.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/es_eval_service.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/es_expandarea_service.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/fdbrecent_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/ftservice.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/get_bind_list.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/imcntlcacheservice.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/imcontrol_service.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/imicecommstruct.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/ims_ice_service.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/ims_perf_test.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/imsc_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/imsession.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/imss_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/infoservice.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/login_info_center.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/logss_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/md5hash.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/monitorsc_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/mosInterface.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/mos_perf_test.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/mpcsc_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/mpcss_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/msc_head.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/ngsInterface.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/notifycontact.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/paramUtil.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/recentCnt.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/recentCntCache.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/recentCntdatadefine.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/recentContactExternal.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/rgss_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/ridsrv.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/rmss_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/sc_head.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/scs_head.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/sdkss_head.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/searchuser.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/sipsession.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/smsa_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/smsc_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/smss_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/smssdk_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/smsstrc_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/snsscores.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/spacecontact.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/ss_head.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/ss_v5_head.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/struct.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/tags.svn-base delete mode 100644 features/aliww/source/.svn/text-base/tbWebMember.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/tbbdb_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/tbsc_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/tbsmsg_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/tbss_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/tbsstrc_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/tcservice.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/tgsc_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/tgsstrc_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/tmpsession.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/tpfs_pack.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/tpfs_perf_test.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/tradeCache.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/udbservice.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/user_ice_service.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/user_info.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/user_statics.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/uss_perf_test.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/vendorchkservice.cpp.svn-base delete mode 100644 features/aliww/source/.svn/text-base/webtcserv.cpp.svn-base delete mode 100644 features/aliww/source/CWWSimulator.cpp delete mode 100644 features/aliww/source/CWWSimulator.cpp.bak delete mode 100644 features/aliww/source/DBStruct.cpp delete mode 100644 features/aliww/source/DDBInterface.cpp delete mode 100644 features/aliww/source/EServiceRContact.cpp delete mode 100644 features/aliww/source/Exhibitionservice.cpp delete mode 100644 features/aliww/source/OpenIMWebService.cpp delete mode 100644 features/aliww/source/README delete mode 100644 features/aliww/source/RSAWrapper.cpp delete mode 100644 features/aliww/source/RsaCipher.cpp delete mode 100644 features/aliww/source/TribeInterface.cpp delete mode 100644 features/aliww/source/Userudbprofile.cpp delete mode 100644 features/aliww/source/WebMember.cpp delete mode 100644 features/aliww/source/aas_perf_test.cpp delete mode 100644 features/aliww/source/aasservice.cpp delete mode 100644 features/aliww/source/aepcacheservice.cpp delete mode 100644 features/aliww/source/aepdbsadapter.cpp delete mode 100644 features/aliww/source/aliuidpsserv.cpp delete mode 100644 features/aliww/source/aliuidpsserv_sync.cpp delete mode 100644 features/aliww/source/aliuidstruct.cpp delete mode 100644 features/aliww/source/aliww.cpp delete mode 100644 features/aliww/source/aliyun.cpp delete mode 100644 features/aliww/source/alliWebMember.cpp delete mode 100644 features/aliww/source/aqdispatch_pack.cpp delete mode 100644 features/aliww/source/aqsc_head.cpp delete mode 100644 features/aliww/source/arcacheservice.cpp delete mode 100644 features/aliww/source/atmMember.cpp delete mode 100644 features/aliww/source/authservice.cpp delete mode 100644 features/aliww/source/bind_unbind.cpp delete mode 100644 features/aliww/source/cachss_pack.cpp delete mode 100644 features/aliww/source/casc_pack.cpp delete mode 100644 features/aliww/source/chkss_pack.cpp delete mode 100644 features/aliww/source/contactdbservie.cpp delete mode 100644 features/aliww/source/crcservice.cpp delete mode 100644 features/aliww/source/dbdatadefine.cpp delete mode 100644 features/aliww/source/dbs_perf_test.cpp delete mode 100644 features/aliww/source/dbservice.cpp delete mode 100644 features/aliww/source/dbsmsservice.cpp delete mode 100644 features/aliww/source/dbsmsstructs.cpp delete mode 100644 features/aliww/source/dbspacedatadefine.cpp delete mode 100644 features/aliww/source/dbss_v5_pack.cpp delete mode 100644 features/aliww/source/dbtbsservice60.cpp delete mode 100644 features/aliww/source/dbtbsstructs60.cpp delete mode 100644 features/aliww/source/ddbadmin_perf_test.cpp delete mode 100644 features/aliww/source/des.cpp delete mode 100644 features/aliww/source/es_eval_service.cpp delete mode 100644 features/aliww/source/es_expandarea_service.cpp delete mode 100644 features/aliww/source/fdbrecent_pack.cpp delete mode 100644 features/aliww/source/ftservice.cpp delete mode 100644 features/aliww/source/get_bind_list.cpp delete mode 100644 features/aliww/source/imcntlcacheservice.cpp delete mode 100644 features/aliww/source/imcontrol_service.cpp delete mode 100644 features/aliww/source/imicecommstruct.cpp delete mode 100644 features/aliww/source/ims_ice_service.cpp delete mode 100644 features/aliww/source/ims_perf_test.cpp delete mode 100644 features/aliww/source/imsc_pack.cpp delete mode 100644 features/aliww/source/imsession.cpp delete mode 100644 features/aliww/source/imss_pack.cpp delete mode 100644 features/aliww/source/infoservice.cpp delete mode 100644 features/aliww/source/login_info_center.cpp delete mode 100644 features/aliww/source/logss_pack.cpp delete mode 100644 features/aliww/source/md5hash.cpp delete mode 100644 features/aliww/source/monitorsc_pack.cpp delete mode 100644 features/aliww/source/mosInterface.cpp delete mode 100644 features/aliww/source/mos_perf_test.cpp delete mode 100644 features/aliww/source/mpcsc_pack.cpp delete mode 100644 features/aliww/source/mpcss_pack.cpp delete mode 100644 features/aliww/source/msc_head.cpp delete mode 100644 features/aliww/source/ngsInterface.cpp delete mode 100644 features/aliww/source/notifycontact.cpp delete mode 100644 features/aliww/source/paramUtil.cpp delete mode 100644 features/aliww/source/recentCnt.cpp delete mode 100644 features/aliww/source/recentCntCache.cpp delete mode 100644 features/aliww/source/recentCntdatadefine.cpp delete mode 100644 features/aliww/source/recentContactExternal.cpp delete mode 100644 features/aliww/source/rgss_pack.cpp delete mode 100644 features/aliww/source/ridsrv.cpp delete mode 100644 features/aliww/source/rmss_pack.cpp delete mode 100644 features/aliww/source/sc_head.cpp delete mode 100644 features/aliww/source/scs_head.cpp delete mode 100644 features/aliww/source/sdkss_head.cpp delete mode 100644 features/aliww/source/searchuser.cpp delete mode 100644 features/aliww/source/sipsession.cpp delete mode 100644 features/aliww/source/smsa_pack.cpp delete mode 100644 features/aliww/source/smsc_pack.cpp delete mode 100644 features/aliww/source/smss_pack.cpp delete mode 100644 features/aliww/source/smssdk_pack.cpp delete mode 100644 features/aliww/source/smsstrc_pack.cpp delete mode 100644 features/aliww/source/snsscores.cpp delete mode 100644 features/aliww/source/spacecontact.cpp delete mode 100644 features/aliww/source/ss_head.cpp delete mode 100644 features/aliww/source/ss_v5_head.cpp delete mode 100644 features/aliww/source/struct.cpp delete mode 100644 features/aliww/source/tags delete mode 100644 features/aliww/source/tbWebMember.cpp delete mode 100644 features/aliww/source/tbbdb_pack.cpp delete mode 100644 features/aliww/source/tbsc_pack.cpp delete mode 100644 features/aliww/source/tbsmsg_pack.cpp delete mode 100644 features/aliww/source/tbss_pack.cpp delete mode 100644 features/aliww/source/tbsstrc_pack.cpp delete mode 100644 features/aliww/source/tcservice.cpp delete mode 100644 features/aliww/source/tgsc_pack.cpp delete mode 100644 features/aliww/source/tgsstrc_pack.cpp delete mode 100644 features/aliww/source/tmpsession.cpp delete mode 100644 features/aliww/source/tpfs_pack.cpp delete mode 100644 features/aliww/source/tpfs_perf_test.cpp delete mode 100644 features/aliww/source/tradeCache.cpp delete mode 100644 features/aliww/source/udbservice.cpp delete mode 100644 features/aliww/source/user_ice_service.cpp delete mode 100644 features/aliww/source/user_info.cpp delete mode 100644 features/aliww/source/user_statics.cpp delete mode 100644 features/aliww/source/uss_perf_test.cpp delete mode 100644 features/aliww/source/vendorchkservice.cpp delete mode 100644 features/aliww/source/webtcserv.cpp delete mode 100644 features/smtp/lib/libsmtp---0.1.0/.cproject delete mode 100644 features/smtp/lib/libsmtp---0.1.0/.project delete mode 100644 features/smtp/lib/libsmtp---0.1.0/.svn/entries delete mode 100644 features/smtp/lib/libsmtp---0.1.0/.svn/prop-base/config.guess.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/.svn/prop-base/config.status.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/.svn/prop-base/config.sub.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/.svn/prop-base/configure.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/.svn/prop-base/install-sh.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/.svn/prop-base/ldconfig.wrapper.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/.svn/text-base/.cproject.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/.svn/text-base/.project.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/.svn/text-base/Makefile.in.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/.svn/text-base/Makefile.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/.svn/text-base/config.guess.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/.svn/text-base/config.log.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/.svn/text-base/config.status.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/.svn/text-base/config.sub.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/.svn/text-base/configure.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/.svn/text-base/install-sh.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/.svn/text-base/ldconfig.wrapper.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/Makefile delete mode 100644 features/smtp/lib/libsmtp---0.1.0/Makefile.in delete mode 100755 features/smtp/lib/libsmtp---0.1.0/config.guess delete mode 100644 features/smtp/lib/libsmtp---0.1.0/config.log delete mode 100755 features/smtp/lib/libsmtp---0.1.0/config.status delete mode 100755 features/smtp/lib/libsmtp---0.1.0/config.sub delete mode 100755 features/smtp/lib/libsmtp---0.1.0/configure delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/.svn/entries delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/.svn/text-base/CHANGELOG.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/.svn/text-base/LGPL.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/.svn/text-base/README.MacOS.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/.svn/text-base/README.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/.svn/text-base/README.thread_safety.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/.svn/text-base/TODO.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/CHANGELOG delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/LGPL delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/README delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/README.MacOS delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/README.thread_safety delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/TODO delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/entries delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/prop-base/example_1.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/prop-base/example_2.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/prop-base/main.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/prop-base/make.sh.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_1.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_1.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_2.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_2.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_3.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_4.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_5.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_6.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_7.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/main.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/main.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/make.sh.svn-base delete mode 100755 features/smtp/lib/libsmtp---0.1.0/doc/examples/example_1 delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/example_1.c delete mode 100755 features/smtp/lib/libsmtp---0.1.0/doc/examples/example_2 delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/example_2.c delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/example_3.c delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/example_4.c delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/example_5.c delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/example_6.c delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/example_7.c delete mode 100755 features/smtp/lib/libsmtp---0.1.0/doc/examples/main delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/main.c delete mode 100755 features/smtp/lib/libsmtp---0.1.0/doc/examples/make.sh delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/plugins/.svn/entries delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/plugins/.svn/text-base/plg_anonymous.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/examples/plugins/plg_anonymous.c delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/entries delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc0821.txt.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc1321.txt.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc1760.txt.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc2104.txt.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc2222.txt.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc2245.txt.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc2554.txt.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc2821.txt.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc2831.txt.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc3174.txt.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc0821.txt delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc1321.txt delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc1760.txt delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc2104.txt delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc2222.txt delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc2245.txt delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc2554.txt delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc2821.txt delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc2831.txt delete mode 100644 features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc3174.txt delete mode 100755 features/smtp/lib/libsmtp---0.1.0/install-sh delete mode 100644 features/smtp/lib/libsmtp---0.1.0/lang/.svn/entries delete mode 100644 features/smtp/lib/libsmtp---0.1.0/lang/de/.svn/entries delete mode 100644 features/smtp/lib/libsmtp---0.1.0/lang/de/.svn/prop-base/libsmtp--.mo.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/lang/de/.svn/text-base/libsmtp--.mo.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/lang/de/.svn/text-base/libsmtp--.pot.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/lang/de/libsmtp--.mo delete mode 100644 features/smtp/lib/libsmtp---0.1.0/lang/de/libsmtp--.pot delete mode 100644 features/smtp/lib/libsmtp---0.1.0/lang/es/.svn/entries delete mode 100644 features/smtp/lib/libsmtp---0.1.0/lang/es/.svn/prop-base/libsmtp--.mo.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/lang/es/.svn/text-base/libsmtp--.mo.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/lang/es/.svn/text-base/libsmtp--.pot.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/lang/es/libsmtp--.mo delete mode 100644 features/smtp/lib/libsmtp---0.1.0/lang/es/libsmtp--.pot delete mode 100644 features/smtp/lib/libsmtp---0.1.0/lang/ru/.svn/entries delete mode 100644 features/smtp/lib/libsmtp---0.1.0/lang/ru/.svn/prop-base/libsmtp--.mo.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/lang/ru/.svn/text-base/libsmtp--.mo.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/lang/ru/.svn/text-base/libsmtp--.pot.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/lang/ru/libsmtp--.mo delete mode 100644 features/smtp/lib/libsmtp---0.1.0/lang/ru/libsmtp--.pot delete mode 100755 features/smtp/lib/libsmtp---0.1.0/ldconfig.wrapper delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/entries delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/Makefile.in.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/Makefile.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/algorithm.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/algorithm.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/alloc.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/alloc.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/dlfcn.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/dlfcn.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/error.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/error.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/i18n.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/i18n.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/inetsocket.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/inetsocket.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/init.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/log.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/log.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/plugin.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/plugin.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/smtp.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/smtp.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/sslsocket.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/sslsocket.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/string.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/string.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/Makefile delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/Makefile.in delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/algorithm.c delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/algorithm.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/alloc.c delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/alloc.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/dlfcn.c delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/dlfcn.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/error.c delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/error.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/i18n.c delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/i18n.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/.svn/entries delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/entries delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/alloc.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/error.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/i18n.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/inetsocket.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/log.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/plugin.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/smtp.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/string.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/alloc.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/error.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/i18n.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/inetsocket.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/log.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/plugin.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/smtp.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/string.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/entries delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/algorithm.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/alloc.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/error.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/i18n.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/inetsocket.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/log.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/plugin.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/smtp.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/sslsocket.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/string.h.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/algorithm.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/alloc.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/error.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/i18n.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/inetsocket.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/log.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/plugin.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/smtp.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/sslsocket.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/string.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/inetsocket.c delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/inetsocket.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/init.c delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/log.c delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/log.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/plugin.c delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/plugin.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/entries delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/Makefile.in.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/Makefile.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/plg_anonymous.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/plg_cram_md5.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/plg_cram_sha1.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/plg_external.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/plg_login.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/plg_plain.c.svn-base delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/plugins/Makefile delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/plugins/Makefile.in delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/plugins/plg_anonymous.c delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/plugins/plg_cram_md5.c delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/plugins/plg_cram_sha1.c delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/plugins/plg_external.c delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/plugins/plg_login.c delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/plugins/plg_plain.c delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/smtp.c delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/smtp.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/sslsocket.c delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/sslsocket.h delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/string.c delete mode 100644 features/smtp/lib/libsmtp---0.1.0/src/string.h diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..27c0efc --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.swp +*.~ diff --git a/features/.gitignore b/features/.gitignore new file mode 100644 index 0000000..1873086 --- /dev/null +++ b/features/.gitignore @@ -0,0 +1,2 @@ +aliww +smtp diff --git a/features/aliww/.svn/entries b/features/aliww/.svn/entries deleted file mode 100644 index 198eee0..0000000 --- a/features/aliww/.svn/entries +++ /dev/null @@ -1,49 +0,0 @@ -10 - -dir -46 -svn://cuiz.me/cbenchmark/trunk/cbenchmark/features/aliww -svn://cuiz.me - - - -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - -01675afb-4c4d-4bd7-85dd-1440927b3546 - -build -dir - -slice -dir - -source -dir - -include -dir - -conf -dir - -lib -dir - -data -dir - diff --git a/features/aliww/build/.svn/entries b/features/aliww/build/.svn/entries deleted file mode 100644 index c5970a5..0000000 --- a/features/aliww/build/.svn/entries +++ /dev/null @@ -1,34 +0,0 @@ -10 - -dir -46 -svn://cuiz.me/cbenchmark/trunk/cbenchmark/features/aliww/build -svn://cuiz.me - - - -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - -01675afb-4c4d-4bd7-85dd-1440927b3546 - -release -dir - -debug -dir - diff --git a/features/aliww/build/debug/.svn/entries b/features/aliww/build/debug/.svn/entries deleted file mode 100644 index 38e7efc..0000000 --- a/features/aliww/build/debug/.svn/entries +++ /dev/null @@ -1,96 +0,0 @@ -10 - -dir -46 -svn://cuiz.me/cbenchmark/trunk/cbenchmark/features/aliww/build/debug -svn://cuiz.me - - - -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - -01675afb-4c4d-4bd7-85dd-1440927b3546 - -Makefile -file - - - - -2011-06-28T07:31:15.000000Z -9ea537ef321890467730d9212325ce35 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -1142 - -run.sh -file - - - - -2011-06-28T07:31:15.000000Z -448ad2e8dd975c765a56b5b36ee4f9a2 -2011-06-02T07:01:04.009901Z -35 -cuizheng -has-props - - - - - - - - - - - - - - - - - - - - -77 - diff --git a/features/aliww/build/debug/.svn/prop-base/run.sh.svn-base b/features/aliww/build/debug/.svn/prop-base/run.sh.svn-base deleted file mode 100644 index 869ac71..0000000 --- a/features/aliww/build/debug/.svn/prop-base/run.sh.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 1 -* -END diff --git a/features/aliww/build/debug/.svn/text-base/Makefile.svn-base b/features/aliww/build/debug/.svn/text-base/Makefile.svn-base deleted file mode 100644 index c48a1e1..0000000 --- a/features/aliww/build/debug/.svn/text-base/Makefile.svn-base +++ /dev/null @@ -1,54 +0,0 @@ -VER = debug - -#HOME = $( dirname $(pwd)/${0} ) -HOME = ../.. -CBHOME = /usr/local/cbenchmark -BUILD = $(HOME)/build/$(VER) -SOURCE = $(HOME)/source -INCLUDE = $(HOME)/include -CBINCLUDE = $(CBHOME)/include -CBSOURCE = $(CBHOME)/source -LIB = . -ICE = /opt/ICE -OBJ = imsc_pack.o\ - des.o\ - sc_head.o\ - md5hash.o\ - RsaCipher.o\ - RSAWrapper.o\ - tpfs_perf_test.o\ - DBStruct.o\ - dbdatadefine.o\ - user_statics.o\ - uss_perf_test.o\ - dbtbsstructs60.o\ - DDBInterface.o\ - imicecommstruct.o\ - imsession.o\ - dbservice.o\ - dbs_perf_test.o\ - aliww.o\ - ddbadmin_perf_test.o\ - DDBInterface.o\ - tpfs_pack.o\ - aas_perf_test.o\ - aasservice.o\ - ims_perf_test.o\ - mosInterface.o\ - ims_mos_perf_test.o\ - mos_perf_test.o - -INCLUDES = -I$(INCLUDE) -I$(CBINCLUDE) -I$(ICE)/include -LDLIBS = -L$(LIB) -L$(BUILD) -lz -lpthread -lssl -L$(ICE)/lib -lIce -lIceUtil -CFLAGS = -g -w -fPIC - -all:$(OBJ) - g++ -shared $(CFLAGS) $(INCLUDES) $(LDLIBS) $^ ../../lib/CWWSimulator.a \ - -o $(BUILD)/libaliww.so - -%.o:$(SOURCE)/%.cpp - g++ -c $(CFLAGS) $(INCLUDES) $(SOURCE)/$*.cpp -o $(LIB)/$@ - -clean: - rm -rf $(BUILD)/*.o $(BUILD)/*.so $(BUILD)/core.*; - rm -rf $(LIB)/*.o; diff --git a/features/aliww/build/debug/.svn/text-base/run.sh.svn-base b/features/aliww/build/debug/.svn/text-base/run.sh.svn-base deleted file mode 100644 index ef0cb1c..0000000 --- a/features/aliww/build/debug/.svn/text-base/run.sh.svn-base +++ /dev/null @@ -1 +0,0 @@ - ../../../../build/debug/cbenchmark -c 200 -T 36000 -F ./libaliww.so -l 1 diff --git a/features/aliww/build/debug/Makefile b/features/aliww/build/debug/Makefile deleted file mode 100644 index c48a1e1..0000000 --- a/features/aliww/build/debug/Makefile +++ /dev/null @@ -1,54 +0,0 @@ -VER = debug - -#HOME = $( dirname $(pwd)/${0} ) -HOME = ../.. -CBHOME = /usr/local/cbenchmark -BUILD = $(HOME)/build/$(VER) -SOURCE = $(HOME)/source -INCLUDE = $(HOME)/include -CBINCLUDE = $(CBHOME)/include -CBSOURCE = $(CBHOME)/source -LIB = . -ICE = /opt/ICE -OBJ = imsc_pack.o\ - des.o\ - sc_head.o\ - md5hash.o\ - RsaCipher.o\ - RSAWrapper.o\ - tpfs_perf_test.o\ - DBStruct.o\ - dbdatadefine.o\ - user_statics.o\ - uss_perf_test.o\ - dbtbsstructs60.o\ - DDBInterface.o\ - imicecommstruct.o\ - imsession.o\ - dbservice.o\ - dbs_perf_test.o\ - aliww.o\ - ddbadmin_perf_test.o\ - DDBInterface.o\ - tpfs_pack.o\ - aas_perf_test.o\ - aasservice.o\ - ims_perf_test.o\ - mosInterface.o\ - ims_mos_perf_test.o\ - mos_perf_test.o - -INCLUDES = -I$(INCLUDE) -I$(CBINCLUDE) -I$(ICE)/include -LDLIBS = -L$(LIB) -L$(BUILD) -lz -lpthread -lssl -L$(ICE)/lib -lIce -lIceUtil -CFLAGS = -g -w -fPIC - -all:$(OBJ) - g++ -shared $(CFLAGS) $(INCLUDES) $(LDLIBS) $^ ../../lib/CWWSimulator.a \ - -o $(BUILD)/libaliww.so - -%.o:$(SOURCE)/%.cpp - g++ -c $(CFLAGS) $(INCLUDES) $(SOURCE)/$*.cpp -o $(LIB)/$@ - -clean: - rm -rf $(BUILD)/*.o $(BUILD)/*.so $(BUILD)/core.*; - rm -rf $(LIB)/*.o; diff --git a/features/aliww/build/debug/run.sh b/features/aliww/build/debug/run.sh deleted file mode 100755 index ef0cb1c..0000000 --- a/features/aliww/build/debug/run.sh +++ /dev/null @@ -1 +0,0 @@ - ../../../../build/debug/cbenchmark -c 200 -T 36000 -F ./libaliww.so -l 1 diff --git a/features/aliww/build/release/.svn/entries b/features/aliww/build/release/.svn/entries deleted file mode 100644 index 358809f..0000000 --- a/features/aliww/build/release/.svn/entries +++ /dev/null @@ -1,28 +0,0 @@ -10 - -dir -46 -svn://cuiz.me/cbenchmark/trunk/cbenchmark/features/aliww/build/release -svn://cuiz.me - - - -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - -01675afb-4c4d-4bd7-85dd-1440927b3546 - diff --git a/features/aliww/conf/.svn/entries b/features/aliww/conf/.svn/entries deleted file mode 100644 index 2989374..0000000 --- a/features/aliww/conf/.svn/entries +++ /dev/null @@ -1,62 +0,0 @@ -10 - -dir -46 -svn://cuiz.me/cbenchmark/trunk/cbenchmark/features/aliww/conf -svn://cuiz.me - - - -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - -01675afb-4c4d-4bd7-85dd-1440927b3546 - -aliww.conf -file - - - - -2011-06-28T07:31:17.000000Z -d41d8cd98f00b204e9800998ecf8427e -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -0 - diff --git a/features/aliww/conf/.svn/text-base/aliww.conf.svn-base b/features/aliww/conf/.svn/text-base/aliww.conf.svn-base deleted file mode 100644 index e69de29..0000000 diff --git a/features/aliww/conf/aliww.conf b/features/aliww/conf/aliww.conf deleted file mode 100644 index e69de29..0000000 diff --git a/features/aliww/data/.svn/entries b/features/aliww/data/.svn/entries deleted file mode 100644 index 69d54fd..0000000 --- a/features/aliww/data/.svn/entries +++ /dev/null @@ -1,232 +0,0 @@ -10 - -dir -46 -svn://cuiz.me/cbenchmark/trunk/cbenchmark/features/aliww/data -svn://cuiz.me - - - -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - -01675afb-4c4d-4bd7-85dd-1440927b3546 - -user_passwd -file - - - - -2011-06-28T07:31:18.000000Z -94351d5a52f8b1f5e445eb8ad3bf8208 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -58897 - -cntaobao.csv -file - - - - -2011-06-28T07:31:18.000000Z -d87d5e5ca635849708e06dffdcddd317 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -53776 - -bind_unbind.dat -file - - - - -2011-06-28T07:31:18.000000Z -cfb689b8252e93b28a20693b43be9219 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -437966 - -cnalichn.csv -file - - - - -2011-06-28T07:31:18.000000Z -cb17e1f61f2a173ef2d75e96428684a1 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -83016 - -get_bind_list.dat -file - - - - -2011-06-28T07:31:18.000000Z -73c217caadd43c7e9c8255b2becd9fa3 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -22890 - -user -file - - - - -2011-06-28T07:31:18.000000Z -8b27a6b7f200450b53d4e3db9416da4b -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -45471 - diff --git a/features/aliww/data/.svn/text-base/bind_unbind.dat.svn-base b/features/aliww/data/.svn/text-base/bind_unbind.dat.svn-base deleted file mode 100644 index becc381..0000000 --- a/features/aliww/data/.svn/text-base/bind_unbind.dat.svn-base +++ /dev/null @@ -1,9999 +0,0 @@ -cnphpwnd99999@aliyun0,cntaobao-11998 -cnphpwnd99999@aliyun1,cntaobao-67892 -cnphpwnd99999@aliyun3,cntaobao-barbie- -cnphpwnd99999@aliyun4,cntaobao-basaka -cnphpwnd99999@aliyun5,cntaobao-bingbing- -cnphpwnd99999@aliyun6,cntaobao-cream- -cnphpwnd99999@aliyun7,cntaobao-elevation- -cnphpwnd99999@aliyun8,cntaobao-eric- -cnphpwnd99999@aliyun9,cntaobao-j-c- -cnphpwnd99999@aliyun10,cntaobao-jasonwood -cnphpwnd99999@aliyun11,cntaobao-jkd- -cnphpwnd99999@aliyun12,cntaobao-john -cnphpwnd99999@aliyun13,cntaobao-jun- -cnphpwnd99999@aliyun14,cntaobao-mk- -cnphpwnd99999@aliyun15,cntaobao-mqq- -cnphpwnd99999@aliyun16,cntaobao-patti- -cnphpwnd99999@aliyun17,cntaobao-psp- -cnphpwnd99999@aliyun18,cntaobao-sammi- -cnphpwnd99999@aliyun19,cntaobao-seven- -cnphpwnd99999@aliyun20,cntaobao-talent- -cnphpwnd99999@aliyun21,cntaobao-tjs- -cnphpwnd99999@aliyun22,cntaobao-trunks- -cnphpwnd99999@aliyun23,cntaobao-xiaomai- -cnphpwnd99999@aliyun24,cntaobao-yangzi -cnphpwnd99999@aliyun25,cntaobao-yhd- -cnphpwnd99999@aliyun26,cntaobao-zhaoyong- -cnphpwnd99999@aliyun27,cntaobao.123asd -cnphpwnd99999@aliyun28,cntaobao.45acp -cnphpwnd99999@aliyun29,cntaobao.apple.yu -cnphpwnd99999@aliyun30,cntaobao0.0.1 -cnphpwnd99999@aliyun31,cntaobao0.0.8 -cnphpwnd99999@aliyun32,cntaobao00-1 -cnphpwnd99999@aliyun33,cntaobao000000008c -cnphpwnd99999@aliyun34,cntaobao00000000hai -cnphpwnd99999@aliyun35,cntaobao000002w -cnphpwnd99999@aliyun36,cntaobao00000abc -cnphpwnd99999@aliyun37,cntaobao00000yang -cnphpwnd99999@aliyun38,cntaobao00002009gxy -cnphpwnd99999@aliyun39,cntaobao000147land -cnphpwnd99999@aliyun40,cntaobao0001pan -cnphpwnd99999@aliyun41,cntaobao000700_cn1 -cnphpwnd99999@aliyun42,cntaobao000963as -cnphpwnd99999@aliyun43,cntaobao000js -cnphpwnd99999@aliyun44,cntaobao000liujun -cnphpwnd99999@aliyun45,cntaobao000lkx -cnphpwnd99999@aliyun46,cntaobao000maple -cnphpwnd99999@aliyun47,cntaobao000masca -cnphpwnd99999@aliyun48,cntaobao000milihua000 -cnphpwnd99999@aliyun49,cntaobao000miller -cnphpwnd99999@aliyun50,cntaobao000superman000 -cnphpwnd99999@aliyun51,cntaobao000woaini -cnphpwnd99999@aliyun52,cntaobao000ying -cnphpwnd99999@aliyun53,cntaobao000zero -cnphpwnd99999@aliyun54,cntaobao000zhaoxin -cnphpwnd99999@aliyun55,cntaobao000zhou000 -cnphpwnd99999@aliyun56,cntaobao001001001a -cnphpwnd99999@aliyun57,cntaobao00112233aabbccdd -cnphpwnd99999@aliyun58,cntaobao001127pan -cnphpwnd99999@aliyun59,cntaobao0015563qinyao -cnphpwnd99999@aliyun60,cntaobao00168zjp -cnphpwnd99999@aliyun61,cntaobao001afd -cnphpwnd99999@aliyun62,cntaobao001baby -cnphpwnd99999@aliyun63,cntaobao001dalong -cnphpwnd99999@aliyun64,cntaobao001happy -cnphpwnd99999@aliyun65,cntaobao001huangrong -cnphpwnd99999@aliyun66,cntaobao001nature -cnphpwnd99999@aliyun67,cntaobao001sina -cnphpwnd99999@aliyun68,cntaobao001wangjianqiang -cnphpwnd99999@aliyun69,cntaobao001zhangji -cnphpwnd99999@aliyun70,cntaobao002angel -cnphpwnd99999@aliyun71,cntaobao003-sa -cnphpwnd99999@aliyun72,cntaobao0030013587152linjian -cnphpwnd99999@aliyun73,cntaobao003837xiang -cnphpwnd99999@aliyun74,cntaobao003jianglei -cnphpwnd99999@aliyun75,cntaobao003wang -cnphpwnd99999@aliyun76,cntaobao004-è€è™« -cnphpwnd99999@aliyun77,cntaobao00544c -cnphpwnd99999@aliyun78,cntaobao00544wang -cnphpwnd99999@aliyun79,cntaobao0056yue -cnphpwnd99999@aliyun80,cntaobao005farmer005 -cnphpwnd99999@aliyun81,cntaobao007321j38 -cnphpwnd99999@aliyun82,cntaobao00741840jj -cnphpwnd99999@aliyun83,cntaobao0079394y -cnphpwnd99999@aliyun84,cntaobao007_apple -cnphpwnd99999@aliyun85,cntaobao007_liujia -cnphpwnd99999@aliyun86,cntaobao007_terminator -cnphpwnd99999@aliyun87,cntaobao007_wangxu -cnphpwnd99999@aliyun88,cntaobao007ab -cnphpwnd99999@aliyun89,cntaobao007abc -cnphpwnd99999@aliyun90,cntaobao007angel -cnphpwnd99999@aliyun91,cntaobao007avril -cnphpwnd99999@aliyun92,cntaobao007bluesea -cnphpwnd99999@aliyun93,cntaobao007caih -cnphpwnd99999@aliyun94,cntaobao007chaochao -cnphpwnd99999@aliyun95,cntaobao007jamesjiang -cnphpwnd99999@aliyun96,cntaobao007playboy -cnphpwnd99999@aliyun97,cntaobao007shanghaichq -cnphpwnd99999@aliyun98,cntaobao007superman910 -cnphpwnd99999@aliyun99,cntaobao007w008 -cnphpwnd99999@aliyun100,cntaobao007xujiajun -cnphpwnd99999@aliyun101,cntaobao007zyh008 -cnphpwnd99999@aliyun102,cntaobao008_angel -cnphpwnd99999@aliyun103,cntaobao008black -cnphpwnd99999@aliyun104,cntaobao008g -cnphpwnd99999@aliyun105,cntaobao008ganggang -cnphpwnd99999@aliyun106,cntaobao008shanhang -cnphpwnd99999@aliyun107,cntaobao008wangshuo -cnphpwnd99999@aliyun108,cntaobao008xiang -cnphpwnd99999@aliyun109,cntaobao0099aass -cnphpwnd99999@aliyun110,cntaobao009a1 -cnphpwnd99999@aliyun111,cntaobao009firedragon -cnphpwnd99999@aliyun112,cntaobao009hank -cnphpwnd99999@aliyun113,cntaobao009tang -cnphpwnd99999@aliyun114,cntaobao00a1a2a3a4 -cnphpwnd99999@aliyun115,cntaobao00a22 -cnphpwnd99999@aliyun116,cntaobao00atubo -cnphpwnd99999@aliyun117,cntaobao00baby -cnphpwnd99999@aliyun118,cntaobao00gaoxin00 -cnphpwnd99999@aliyun119,cntaobao00hai2004 -cnphpwnd99999@aliyun120,cntaobao00han1 -cnphpwnd99999@aliyun121,cntaobao00hanwei -cnphpwnd99999@aliyun122,cntaobao00i45hayj -cnphpwnd99999@aliyun123,cntaobao00jhyz -cnphpwnd99999@aliyun124,cntaobao00lalala00 -cnphpwnd99999@aliyun125,cntaobao00lang -cnphpwnd99999@aliyun126,cntaobao00mary -cnphpwnd99999@aliyun127,cntaobao00rainbow -cnphpwnd99999@aliyun128,cntaobao00range -cnphpwnd99999@aliyun129,cntaobao00susan -cnphpwnd99999@aliyun130,cntaobao00v00 -cnphpwnd99999@aliyun131,cntaobao00yan1982 -cnphpwnd99999@aliyun132,cntaobao00zhangrui00 -cnphpwnd99999@aliyun133,cntaobao00zhaoxin -cnphpwnd99999@aliyun134,cntaobao00zhaoyong -cnphpwnd99999@aliyun135,cntaobao0102jessica -cnphpwnd99999@aliyun136,cntaobao0109and1016 -cnphpwnd99999@aliyun137,cntaobao010zufang -cnphpwnd99999@aliyun138,cntaobao0111.wang -cnphpwnd99999@aliyun139,cntaobao0112244abe -cnphpwnd99999@aliyun140,cntaobao0122aa -cnphpwnd99999@aliyun141,cntaobao0123wangwentao -cnphpwnd99999@aliyun142,cntaobao0123zhanghaibin -cnphpwnd99999@aliyun143,cntaobao0123zhangzhi -cnphpwnd99999@aliyun144,cntaobao0124yuhoucaihong -cnphpwnd99999@aliyun145,cntaobao01311846abc -cnphpwnd99999@aliyun146,cntaobao0131aya -cnphpwnd99999@aliyun147,cntaobao016woaini -cnphpwnd99999@aliyun148,cntaobao0171206-a -cnphpwnd99999@aliyun149,cntaobao0175lan -cnphpwnd99999@aliyun150,cntaobao019cat -cnphpwnd99999@aliyun151,cntaobao01rainbowfox -cnphpwnd99999@aliyun152,cntaobao01sandy -cnphpwnd99999@aliyun153,cntaobao01tracy2005 -cnphpwnd99999@aliyun154,cntaobao01wangfeng -cnphpwnd99999@aliyun155,cntaobao01wanglin -cnphpwnd99999@aliyun156,cntaobao02-yuan -cnphpwnd99999@aliyun157,cntaobao0201jian -cnphpwnd99999@aliyun158,cntaobao020lanlan -cnphpwnd99999@aliyun159,cntaobao02110huang -cnphpwnd99999@aliyun160,cntaobao0214jiajia -cnphpwnd99999@aliyun161,cntaobao021608huang -cnphpwnd99999@aliyun162,cntaobao0218tiandi -cnphpwnd99999@aliyun163,cntaobao021fang -cnphpwnd99999@aliyun164,cntaobao021tianzi -cnphpwnd99999@aliyun165,cntaobao021xianer -cnphpwnd99999@aliyun166,cntaobao022710naughtyqueen -cnphpwnd99999@aliyun167,cntaobao0229anddy -cnphpwnd99999@aliyun168,cntaobao022_22 -cnphpwnd99999@aliyun169,cntaobao022dandan -cnphpwnd99999@aliyun170,cntaobao022wanzhaoyi512 -cnphpwnd99999@aliyun171,cntaobao026china.com -cnphpwnd99999@aliyun172,cntaobao02dangzhibu -cnphpwnd99999@aliyun173,cntaobao02maggie -cnphpwnd99999@aliyun174,cntaobao02sea-c -cnphpwnd99999@aliyun175,cntaobao02xda -cnphpwnd99999@aliyun176,cntaobao03-abcpj -cnphpwnd99999@aliyun177,cntaobao0317liuxiang -cnphpwnd99999@aliyun178,cntaobao0317liwang -cnphpwnd99999@aliyun179,cntaobao0323liangzi -cnphpwnd99999@aliyun180,cntaobao0327abc -cnphpwnd99999@aliyun181,cntaobao034027250霹雳 -cnphpwnd99999@aliyun182,cntaobao0351yangbin -cnphpwnd99999@aliyun183,cntaobao0357a -cnphpwnd99999@aliyun184,cntaobao0378abc -cnphpwnd99999@aliyun185,cntaobao03_a -cnphpwnd99999@aliyun186,cntaobao03ad -cnphpwnd99999@aliyun187,cntaobao03auto-wx -cnphpwnd99999@aliyun188,cntaobao03ecyxxiao -cnphpwnd99999@aliyun189,cntaobao03å¹´çš„å°è´ -cnphpwnd99999@aliyun190,cntaobao040221xiaoxiao -cnphpwnd99999@aliyun191,cntaobao0402abc -cnphpwnd99999@aliyun192,cntaobao0408231ace -cnphpwnd99999@aliyun193,cntaobao0412wangwei -cnphpwnd99999@aliyun194,cntaobao0417hailang -cnphpwnd99999@aliyun195,cntaobao041banji -cnphpwnd99999@aliyun196,cntaobao0433xiaoning -cnphpwnd99999@aliyun197,cntaobao0452shuaige -cnphpwnd99999@aliyun198,cntaobao0453020fay -cnphpwnd99999@aliyun199,cntaobao04807zswad -cnphpwnd99999@aliyun200,cntaobao04_victoria -cnphpwnd99999@aliyun201,cntaobao04piaoxue -cnphpwnd99999@aliyun202,cntaobao0506onsale -cnphpwnd99999@aliyun203,cntaobao0509gao -cnphpwnd99999@aliyun204,cntaobao05102118612asd -cnphpwnd99999@aliyun205,cntaobao0513yuanzhong -cnphpwnd99999@aliyun206,cntaobao0518all -cnphpwnd99999@aliyun207,cntaobao0518dabi -cnphpwnd99999@aliyun208,cntaobao052010a -cnphpwnd99999@aliyun209,cntaobao0535huaguan -cnphpwnd99999@aliyun210,cntaobao0554kuangli -cnphpwnd99999@aliyun211,cntaobao0571lancome -cnphpwnd99999@aliyun212,cntaobao0574abs -cnphpwnd99999@aliyun213,cntaobao0577air -cnphpwnd99999@aliyun214,cntaobao0595binghuan -cnphpwnd99999@aliyun215,cntaobao05971001a -cnphpwnd99999@aliyun216,cntaobao05chan -cnphpwnd99999@aliyun217,cntaobao05easter -cnphpwnd99999@aliyun218,cntaobao05edgar -cnphpwnd99999@aliyun219,cntaobao05zhanghanling -cnphpwnd99999@aliyun220,cntaobao0629zhangqi -cnphpwnd99999@aliyun221,cntaobao0630zhuai1 -cnphpwnd99999@aliyun222,cntaobao0630zhuai5 -cnphpwnd99999@aliyun223,cntaobao0632caobingde -cnphpwnd99999@aliyun224,cntaobao0632dongqiang -cnphpwnd99999@aliyun225,cntaobao06501zhang -cnphpwnd99999@aliyun226,cntaobao0661cailigui -cnphpwnd99999@aliyun227,cntaobao0663xiaozhu -cnphpwnd99999@aliyun228,cntaobao0716kay -cnphpwnd99999@aliyun229,cntaobao0754jack888 -cnphpwnd99999@aliyun230,cntaobao0772ayu -cnphpwnd99999@aliyun231,cntaobao07a1s4jk -cnphpwnd99999@aliyun232,cntaobao07hack -cnphpwnd99999@aliyun233,cntaobao07zhanglei -cnphpwnd99999@aliyun234,cntaobao0801xiaofan -cnphpwnd99999@aliyun235,cntaobao0812alvin -cnphpwnd99999@aliyun236,cntaobao084samzeng -cnphpwnd99999@aliyun237,cntaobao0864aa -cnphpwnd99999@aliyun238,cntaobao08alan -cnphpwnd99999@aliyun239,cntaobao08atyliou -cnphpwnd99999@aliyun240,cntaobao08linqiang -cnphpwnd99999@aliyun241,cntaobao08woshishuaige -cnphpwnd99999@aliyun242,cntaobao0932313woaini -cnphpwnd99999@aliyun243,cntaobao0937ctgafmyruq -cnphpwnd99999@aliyun244,cntaobao09876123a -cnphpwnd99999@aliyun245,cntaobao0987oiuam -cnphpwnd99999@aliyun246,cntaobao098aua8 -cnphpwnd99999@aliyun247,cntaobao098lkjhgfdsa -cnphpwnd99999@aliyun248,cntaobao0998nijat -cnphpwnd99999@aliyun249,cntaobao09tianbo -cnphpwnd99999@aliyun250,cntaobao0_clamp_0 -cnphpwnd99999@aliyun251,cntaobao0a38317b -cnphpwnd99999@aliyun252,cntaobao0aa0 -cnphpwnd99999@aliyun253,cntaobao0aaaaa -cnphpwnd99999@aliyun254,cntaobao0aileen0 -cnphpwnd99999@aliyun255,cntaobao0aking -cnphpwnd99999@aliyun256,cntaobao0autumn0 -cnphpwnd99999@aliyun257,cntaobao0cat -cnphpwnd99999@aliyun258,cntaobao0ceanus -cnphpwnd99999@aliyun259,cntaobao0dongyuhua0 -cnphpwnd99999@aliyun260,cntaobao0enpast0 -cnphpwnd99999@aliyun261,cntaobao0euuyadfvqam4vbh7jz -cnphpwnd99999@aliyun262,cntaobao0fengtao0 -cnphpwnd99999@aliyun263,cntaobao0huan0 -cnphpwnd99999@aliyun264,cntaobao0huang520 -cnphpwnd99999@aliyun265,cntaobao0huaxiao0 -cnphpwnd99999@aliyun266,cntaobao0jayboy0 -cnphpwnd99999@aliyun267,cntaobao0lisa -cnphpwnd99999@aliyun268,cntaobao0livia -cnphpwnd99999@aliyun269,cntaobao0liwang0 -cnphpwnd99999@aliyun270,cntaobao0magician0 -cnphpwnd99999@aliyun271,cntaobao0mars -cnphpwnd99999@aliyun272,cntaobao0mianjiu0 -cnphpwnd99999@aliyun273,cntaobao0nancy111 -cnphpwnd99999@aliyun274,cntaobao0racky0 -cnphpwnd99999@aliyun275,cntaobao0rane -cnphpwnd99999@aliyun276,cntaobao0shark0 -cnphpwnd99999@aliyun277,cntaobao0start -cnphpwnd99999@aliyun278,cntaobao0t4dhlacz0 -cnphpwnd99999@aliyun279,cntaobao0tian0 -cnphpwnd99999@aliyun280,cntaobao0wangjian1 -cnphpwnd99999@aliyun281,cntaobao0wangyi0 -cnphpwnd99999@aliyun282,cntaobao0william01080553167 -cnphpwnd99999@aliyun283,cntaobao0yangzhao0 -cnphpwnd99999@aliyun284,cntaobao0zhan0 -cnphpwnd99999@aliyun285,cntaobao0zhangyan5 -cnphpwnd99999@aliyun286,cntaobao1-aaaa -cnphpwnd99999@aliyun287,cntaobao1-image -cnphpwnd99999@aliyun288,cntaobao1-one-man -cnphpwnd99999@aliyun289,cntaobao100000aaa -cnphpwnd99999@aliyun290,cntaobao1000abcd -cnphpwnd99999@aliyun291,cntaobao1000show -cnphpwnd99999@aliyun292,cntaobao1000wangtao -cnphpwnd99999@aliyun293,cntaobao1001han -cnphpwnd99999@aliyun294,cntaobao1001reason -cnphpwnd99999@aliyun295,cntaobao100432828a -cnphpwnd99999@aliyun296,cntaobao10080t -cnphpwnd99999@aliyun297,cntaobao1008_alon -cnphpwnd99999@aliyun298,cntaobao1008a1008b -cnphpwnd99999@aliyun299,cntaobao100aj200aj -cnphpwnd99999@aliyun300,cntaobao100asp -cnphpwnd99999@aliyun301,cntaobao100caoyang -cnphpwnd99999@aliyun302,cntaobao100cat -cnphpwnd99999@aliyun303,cntaobao100chao -cnphpwnd99999@aliyun304,cntaobao100fang -cnphpwnd99999@aliyun305,cntaobao100fun -cnphpwnd99999@aliyun306,cntaobao100idea -cnphpwnd99999@aliyun307,cntaobao100orange -cnphpwnd99999@aliyun308,cntaobao100roma -cnphpwnd99999@aliyun309,cntaobao100shuma -cnphpwnd99999@aliyun310,cntaobao100star -cnphpwnd99999@aliyun311,cntaobao10112355abc -cnphpwnd99999@aliyun312,cntaobao101209tian -cnphpwnd99999@aliyun313,cntaobao1013xiangkun -cnphpwnd99999@aliyun314,cntaobao1014huangyan -cnphpwnd99999@aliyun315,cntaobao1016angel -cnphpwnd99999@aliyun316,cntaobao1017hua -cnphpwnd99999@aliyun317,cntaobao1017pan -cnphpwnd99999@aliyun318,cntaobao1019yaner -cnphpwnd99999@aliyun319,cntaobao101amy -cnphpwnd99999@aliyun320,cntaobao101bandian -cnphpwnd99999@aliyun321,cntaobao101oscarwang -cnphpwnd99999@aliyun322,cntaobao101yan -cnphpwnd99999@aliyun323,cntaobao1021a -cnphpwnd99999@aliyun324,cntaobao1021rain -cnphpwnd99999@aliyun325,cntaobao1026yan -cnphpwnd99999@aliyun326,cntaobao102788yangyang -cnphpwnd99999@aliyun327,cntaobao1027dasha -cnphpwnd99999@aliyun328,cntaobao1028baojihe -cnphpwnd99999@aliyun329,cntaobao102baby -cnphpwnd99999@aliyun330,cntaobao102lan -cnphpwnd99999@aliyun331,cntaobao1031195a -cnphpwnd99999@aliyun332,cntaobao1031xiaoyang -cnphpwnd99999@aliyun333,cntaobao103_jacob -cnphpwnd99999@aliyun334,cntaobao103ajie -cnphpwnd99999@aliyun335,cntaobao103cagen -cnphpwnd99999@aliyun336,cntaobao103snake -cnphpwnd99999@aliyun337,cntaobao106016521zhaohua -cnphpwnd99999@aliyun338,cntaobao109608337tian -cnphpwnd99999@aliyun339,cntaobao109rao -cnphpwnd99999@aliyun340,cntaobao10bar -cnphpwnd99999@aliyun341,cntaobao10fish -cnphpwnd99999@aliyun342,cntaobao10haha -cnphpwnd99999@aliyun343,cntaobao10haoallan -cnphpwnd99999@aliyun344,cntaobao10jqka -cnphpwnd99999@aliyun345,cntaobao10paopaotang -cnphpwnd99999@aliyun346,cntaobao10star -cnphpwnd99999@aliyun347,cntaobao10totta -cnphpwnd99999@aliyun348,cntaobao110112119a -cnphpwnd99999@aliyun349,cntaobao110119chao -cnphpwnd99999@aliyun350,cntaobao1101qaz -cnphpwnd99999@aliyun351,cntaobao1104wawa -cnphpwnd99999@aliyun352,cntaobao110844095a -cnphpwnd99999@aliyun353,cntaobao110abc -cnphpwnd99999@aliyun354,cntaobao110palpalpal -cnphpwnd99999@aliyun355,cntaobao110tangxiaoxiao -cnphpwnd99999@aliyun356,cntaobao11111111aa -cnphpwnd99999@aliyun357,cntaobao111111aa1 -cnphpwnd99999@aliyun358,cntaobao111111aa67 -cnphpwnd99999@aliyun359,cntaobao111111as -cnphpwnd99999@aliyun360,cntaobao1111zhaojian -cnphpwnd99999@aliyun361,cntaobao111222aaasss -cnphpwnd99999@aliyun362,cntaobao11123huanxiang -cnphpwnd99999@aliyun363,cntaobao1112ha -cnphpwnd99999@aliyun364,cntaobao1112yy -cnphpwnd99999@aliyun365,cntaobao11150angel -cnphpwnd99999@aliyun366,cntaobao1115amy -cnphpwnd99999@aliyun367,cntaobao111a051010 -cnphpwnd99999@aliyun368,cntaobao111aa222bb -cnphpwnd99999@aliyun369,cntaobao111bao -cnphpwnd99999@aliyun370,cntaobao111jia -cnphpwnd99999@aliyun371,cntaobao111playingcards -cnphpwnd99999@aliyun372,cntaobao111wangjie -cnphpwnd99999@aliyun373,cntaobao111yuasnu -cnphpwnd99999@aliyun374,cntaobao1121prettycat -cnphpwnd99999@aliyun375,cntaobao112233asd -cnphpwnd99999@aliyun376,cntaobao1122axfc -cnphpwnd99999@aliyun377,cntaobao1122qwertyuiop007 -cnphpwnd99999@aliyun378,cntaobao1122qwertyuiop008 -cnphpwnd99999@aliyun379,cntaobao1123linda -cnphpwnd99999@aliyun380,cntaobao112488873zhao -cnphpwnd99999@aliyun381,cntaobao1126saw -cnphpwnd99999@aliyun382,cntaobao1128aniki -cnphpwnd99999@aliyun383,cntaobao1129qwertyuiop001 -cnphpwnd99999@aliyun384,cntaobao1129wukan -cnphpwnd99999@aliyun385,cntaobao112asda -cnphpwnd99999@aliyun386,cntaobao112huangcong -cnphpwnd99999@aliyun387,cntaobao112kang -cnphpwnd99999@aliyun388,cntaobao112vian -cnphpwnd99999@aliyun389,cntaobao1130sunday -cnphpwnd99999@aliyun390,cntaobao11323fan -cnphpwnd99999@aliyun391,cntaobao11334das -cnphpwnd99999@aliyun392,cntaobao113539127aa -cnphpwnd99999@aliyun393,cntaobao113542510a -cnphpwnd99999@aliyun394,cntaobao113711garfield -cnphpwnd99999@aliyun395,cntaobao114511201a -cnphpwnd99999@aliyun396,cntaobao114857484abc -cnphpwnd99999@aliyun397,cntaobao114ma -cnphpwnd99999@aliyun398,cntaobao114rachel -cnphpwnd99999@aliyun399,cntaobao11555yang -cnphpwnd99999@aliyun400,cntaobao1155saww -cnphpwnd99999@aliyun401,cntaobao115abc -cnphpwnd99999@aliyun402,cntaobao1168qianbin -cnphpwnd99999@aliyun403,cntaobao116heyao116 -cnphpwnd99999@aliyun404,cntaobao117520huangjuan -cnphpwnd99999@aliyun405,cntaobao117729177han -cnphpwnd99999@aliyun406,cntaobao117gaow -cnphpwnd99999@aliyun407,cntaobao117jack -cnphpwnd99999@aliyun408,cntaobao117sail -cnphpwnd99999@aliyun409,cntaobao117xiaodi -cnphpwnd99999@aliyun410,cntaobao1186899shanshan88 -cnphpwnd99999@aliyun411,cntaobao1188242a -cnphpwnd99999@aliyun412,cntaobao1188liufangzhou -cnphpwnd99999@aliyun413,cntaobao119-game -cnphpwnd99999@aliyun414,cntaobao1190803a -cnphpwnd99999@aliyun415,cntaobao1199368aw -cnphpwnd99999@aliyun416,cntaobao11999922qian -cnphpwnd99999@aliyun417,cntaobao119bearbear -cnphpwnd99999@aliyun418,cntaobao119swa -cnphpwnd99999@aliyun419,cntaobao11a22s -cnphpwnd99999@aliyun420,cntaobao11aabb -cnphpwnd99999@aliyun421,cntaobao11archer -cnphpwnd99999@aliyun422,cntaobao11chenyao11 -cnphpwnd99999@aliyun423,cntaobao11china -cnphpwnd99999@aliyun424,cntaobao11dian -cnphpwnd99999@aliyun425,cntaobao11gao11 -cnphpwnd99999@aliyun426,cntaobao11gnap -cnphpwnd99999@aliyun427,cntaobao11hao -cnphpwnd99999@aliyun428,cntaobao11heart -cnphpwnd99999@aliyun429,cntaobao11kaikaihua11 -cnphpwnd99999@aliyun430,cntaobao11lang -cnphpwnd99999@aliyun431,cntaobao11lanxin -cnphpwnd99999@aliyun432,cntaobao11liuyang6 -cnphpwnd99999@aliyun433,cntaobao11papa -cnphpwnd99999@aliyun434,cntaobao11pollyanna -cnphpwnd99999@aliyun435,cntaobao11tiansuai -cnphpwnd99999@aliyun436,cntaobao11uu -cnphpwnd99999@aliyun437,cntaobao11wangxing -cnphpwnd99999@aliyun438,cntaobao11wanwan -cnphpwnd99999@aliyun439,cntaobao11water -cnphpwnd99999@aliyun440,cntaobao11xxstar -cnphpwnd99999@aliyun441,cntaobao11yanglu -cnphpwnd99999@aliyun442,cntaobao11zax -cnphpwnd99999@aliyun443,cntaobao11zhao28 -cnphpwnd99999@aliyun444,cntaobao12-lay -cnphpwnd99999@aliyun445,cntaobao120106a -cnphpwnd99999@aliyun446,cntaobao1204abcd -cnphpwnd99999@aliyun447,cntaobao1205xiaoxin -cnphpwnd99999@aliyun448,cntaobao120614534abc -cnphpwnd99999@aliyun449,cntaobao120abc5550 -cnphpwnd99999@aliyun450,cntaobao120rainy -cnphpwnd99999@aliyun451,cntaobao12120012a -cnphpwnd99999@aliyun452,cntaobao1218bingshanxue -cnphpwnd99999@aliyun453,cntaobao1218oscar -cnphpwnd99999@aliyun454,cntaobao12195358abc -cnphpwnd99999@aliyun455,cntaobao12202qaz -cnphpwnd99999@aliyun456,cntaobao122108402a -cnphpwnd99999@aliyun457,cntaobao1223am -cnphpwnd99999@aliyun458,cntaobao122673536orange -cnphpwnd99999@aliyun459,cntaobao122709aflgg1 -cnphpwnd99999@aliyun460,cntaobao1227jiangy -cnphpwnd99999@aliyun461,cntaobao1227yangfeng -cnphpwnd99999@aliyun462,cntaobao1228linda -cnphpwnd99999@aliyun463,cntaobao1228yangshuai -cnphpwnd99999@aliyun464,cntaobao122a -cnphpwnd99999@aliyun465,cntaobao122abb -cnphpwnd99999@aliyun466,cntaobao122angle -cnphpwnd99999@aliyun467,cntaobao123-lina -cnphpwnd99999@aliyun468,cntaobao123033abcd -cnphpwnd99999@aliyun469,cntaobao123068asdfg -cnphpwnd99999@aliyun470,cntaobao1231213asd -cnphpwnd99999@aliyun471,cntaobao123123aa -cnphpwnd99999@aliyun472,cntaobao123123luziang -cnphpwnd99999@aliyun473,cntaobao123123pantao -cnphpwnd99999@aliyun474,cntaobao1231hamu -cnphpwnd99999@aliyun475,cntaobao123222 -cnphpwnd99999@aliyun476,cntaobao123222aaaaaaaaaaa -cnphpwnd99999@aliyun477,cntaobao123321a -cnphpwnd99999@aliyun478,cntaobao123321aaa1 -cnphpwnd99999@aliyun479,cntaobao12345-6a -cnphpwnd99999@aliyun480,cntaobao1234545a -cnphpwnd99999@aliyun481,cntaobao1234554321a -cnphpwnd99999@aliyun482,cntaobao1234562320 -cnphpwnd99999@aliyun483,cntaobao1234567 -cnphpwnd99999@aliyun484,cntaobao123456789 -cnphpwnd99999@aliyun485,cntaobao123456789000abc -cnphpwnd99999@aliyun486,cntaobao12345678945abc -cnphpwnd99999@aliyun487,cntaobao123456789_guan -cnphpwnd99999@aliyun488,cntaobao123456789aaa_007 -cnphpwnd99999@aliyun489,cntaobao123456789ab_2005 -cnphpwnd99999@aliyun490,cntaobao123456789abc -cnphpwnd99999@aliyun491,cntaobao123456789abc_007 -cnphpwnd99999@aliyun492,cntaobao123456789abcde -cnphpwnd99999@aliyun493,cntaobao123456789abcdefg -cnphpwnd99999@aliyun494,cntaobao123456789akk -cnphpwnd99999@aliyun495,cntaobao123456789amly -cnphpwnd99999@aliyun496,cntaobao123456789an -cnphpwnd99999@aliyun497,cntaobao123456789chenliang -cnphpwnd99999@aliyun498,cntaobao123456789hanyan -cnphpwnd99999@aliyun499,cntaobao123456789jane -cnphpwnd99999@aliyun500,cntaobao123456789lan -cnphpwnd99999@aliyun501,cntaobao123456789liqiang -cnphpwnd99999@aliyun502,cntaobao123456789wanglibin -cnphpwnd99999@aliyun503,cntaobao12345678a88 -cnphpwnd99999@aliyun504,cntaobao1234567abcd -cnphpwnd99999@aliyun505,cntaobao1234567abcdefg -cnphpwnd99999@aliyun506,cntaobao1234567danke -cnphpwnd99999@aliyun507,cntaobao123456_asd -cnphpwnd99999@aliyun508,cntaobao123456a388 -cnphpwnd99999@aliyun509,cntaobao123456abc007 -cnphpwnd99999@aliyun510,cntaobao123456abc51 -cnphpwnd99999@aliyun511,cntaobao123456amy -cnphpwnd99999@aliyun512,cntaobao123456asdfgh -cnphpwnd99999@aliyun513,cntaobao123456aw -cnphpwnd99999@aliyun514,cntaobao123456happy -cnphpwnd99999@aliyun515,cntaobao123456jiajia -cnphpwnd99999@aliyun516,cntaobao123456jiangbo -cnphpwnd99999@aliyun517,cntaobao123456nature607 -cnphpwnd99999@aliyun518,cntaobao123456san -cnphpwnd99999@aliyun519,cntaobao123456shang -cnphpwnd99999@aliyun520,cntaobao123456tian -cnphpwnd99999@aliyun521,cntaobao123456wan -cnphpwnd99999@aliyun522,cntaobao123456woai -cnphpwnd99999@aliyun523,cntaobao123456yanruyu -cnphpwnd99999@aliyun524,cntaobao123456zhangtao -cnphpwnd99999@aliyun525,cntaobao123456zhengjian -cnphpwnd99999@aliyun526,cntaobao123459haha -cnphpwnd99999@aliyun527,cntaobao12345abcdefghijkl -cnphpwnd99999@aliyun528,cntaobao12345abcdn -cnphpwnd99999@aliyun529,cntaobao12345huang -cnphpwnd99999@aliyun530,cntaobao12345hubao -cnphpwnd99999@aliyun531,cntaobao12345ladingxi -cnphpwnd99999@aliyun532,cntaobao12345slayer -cnphpwnd99999@aliyun533,cntaobao12345wang -cnphpwnd99999@aliyun534,cntaobao12345woshibaobao -cnphpwnd99999@aliyun535,cntaobao12345zaq -cnphpwnd99999@aliyun536,cntaobao1234_gaoyan -cnphpwnd99999@aliyun537,cntaobao1234abc88 -cnphpwnd99999@aliyun538,cntaobao1234alucard -cnphpwnd99999@aliyun539,cntaobao1234asdf -cnphpwnd99999@aliyun540,cntaobao1234ban -cnphpwnd99999@aliyun541,cntaobao1234caoyong -cnphpwnd99999@aliyun542,cntaobao1234guan -cnphpwnd99999@aliyun543,cntaobao1234haha -cnphpwnd99999@aliyun544,cntaobao1234kanung -cnphpwnd99999@aliyun545,cntaobao1234lisa -cnphpwnd99999@aliyun546,cntaobao1234player -cnphpwnd99999@aliyun547,cntaobao1234qazwsx -cnphpwnd99999@aliyun548,cntaobao1234ruhua -cnphpwnd99999@aliyun549,cntaobao1234sai -cnphpwnd99999@aliyun550,cntaobao1234xujianfeng -cnphpwnd99999@aliyun551,cntaobao1234zhao -cnphpwnd99999@aliyun552,cntaobao1235man -cnphpwnd99999@aliyun553,cntaobao123654a -cnphpwnd99999@aliyun554,cntaobao12369874a -cnphpwnd99999@aliyun555,cntaobao123798958malong -cnphpwnd99999@aliyun556,cntaobao123_abc456 -cnphpwnd99999@aliyun557,cntaobao123_duan -cnphpwnd99999@aliyun558,cntaobao123_sarah -cnphpwnd99999@aliyun559,cntaobao123_yayahoho -cnphpwnd99999@aliyun560,cntaobao123a007 -cnphpwnd99999@aliyun561,cntaobao123a123b -cnphpwnd99999@aliyun562,cntaobao123a16 -cnphpwnd99999@aliyun563,cntaobao123a456b78 -cnphpwnd99999@aliyun564,cntaobao123a456b789c -cnphpwnd99999@aliyun565,cntaobao123a456b789c1 -cnphpwnd99999@aliyun566,cntaobao123a4a -cnphpwnd99999@aliyun567,cntaobao123aa -cnphpwnd99999@aliyun568,cntaobao123aa2 -cnphpwnd99999@aliyun569,cntaobao123aaa -cnphpwnd99999@aliyun570,cntaobao123aaabbb -cnphpwnd99999@aliyun571,cntaobao123abc007 -cnphpwnd99999@aliyun572,cntaobao123abc11 -cnphpwnd99999@aliyun573,cntaobao123abc123abc2 -cnphpwnd99999@aliyun574,cntaobao123abc17 -cnphpwnd99999@aliyun575,cntaobao123abc188 -cnphpwnd99999@aliyun576,cntaobao123abc321 -cnphpwnd99999@aliyun577,cntaobao123abc373 -cnphpwnd99999@aliyun578,cntaobao123abcd000 -cnphpwnd99999@aliyun579,cntaobao123abcdef -cnphpwnd99999@aliyun580,cntaobao123abcp -cnphpwnd99999@aliyun581,cntaobao123abcxyz -cnphpwnd99999@aliyun582,cntaobao123abcz -cnphpwnd99999@aliyun583,cntaobao123aby_709 -cnphpwnd99999@aliyun584,cntaobao123angel00 -cnphpwnd99999@aliyun585,cntaobao123anjing -cnphpwnd99999@aliyun586,cntaobao123annie -cnphpwnd99999@aliyun587,cntaobao123as -cnphpwnd99999@aliyun588,cntaobao123ath -cnphpwnd99999@aliyun589,cntaobao123awang -cnphpwnd99999@aliyun590,cntaobao123axax456 -cnphpwnd99999@aliyun591,cntaobao123baobao123 -cnphpwnd99999@aliyun592,cntaobao123belinda -cnphpwnd99999@aliyun593,cntaobao123boboao -cnphpwnd99999@aliyun594,cntaobao123caofei -cnphpwnd99999@aliyun595,cntaobao123cxhuayu -cnphpwnd99999@aliyun596,cntaobao123dainty123 -cnphpwnd99999@aliyun597,cntaobao123dandan456 -cnphpwnd99999@aliyun598,cntaobao123dax520 -cnphpwnd99999@aliyun599,cntaobao123doublehappiness -cnphpwnd99999@aliyun600,cntaobao123fishhuang -cnphpwnd99999@aliyun601,cntaobao123ganjuan -cnphpwnd99999@aliyun602,cntaobao123gaoyang123 -cnphpwnd99999@aliyun603,cntaobao123gillian -cnphpwnd99999@aliyun604,cntaobao123gracie -cnphpwnd99999@aliyun605,cntaobao123guanheng -cnphpwnd99999@aliyun606,cntaobao123haha -cnphpwnd99999@aliyun607,cntaobao123hahao -cnphpwnd99999@aliyun608,cntaobao123haxiao -cnphpwnd99999@aliyun609,cntaobao123jacky111 -cnphpwnd99999@aliyun610,cntaobao123jade -cnphpwnd99999@aliyun611,cntaobao123jiajia -cnphpwnd99999@aliyun612,cntaobao123jiang -cnphpwnd99999@aliyun613,cntaobao123kaigongsi -cnphpwnd99999@aliyun614,cntaobao123karl -cnphpwnd99999@aliyun615,cntaobao123ketia -cnphpwnd99999@aliyun616,cntaobao123liangjing -cnphpwnd99999@aliyun617,cntaobao123lida -cnphpwnd99999@aliyun618,cntaobao123lihaihua -cnphpwnd99999@aliyun619,cntaobao123luan -cnphpwnd99999@aliyun620,cntaobao123mandy456 -cnphpwnd99999@aliyun621,cntaobao123mary889 -cnphpwnd99999@aliyun622,cntaobao123milan -cnphpwnd99999@aliyun623,cntaobao123nba -cnphpwnd99999@aliyun624,cntaobao123nbaabc -cnphpwnd99999@aliyun625,cntaobao123panfurong -cnphpwnd99999@aliyun626,cntaobao123qidai -cnphpwnd99999@aliyun627,cntaobao123sa324d -cnphpwnd99999@aliyun628,cntaobao123shguangzi -cnphpwnd99999@aliyun629,cntaobao123shifan -cnphpwnd99999@aliyun630,cntaobao123suoyuliang -cnphpwnd99999@aliyun631,cntaobao123tianqi -cnphpwnd99999@aliyun632,cntaobao123vickie -cnphpwnd99999@aliyun633,cntaobao123wangb -cnphpwnd99999@aliyun634,cntaobao123wangjie -cnphpwnd99999@aliyun635,cntaobao123wangju123 -cnphpwnd99999@aliyun636,cntaobao123woai123 -cnphpwnd99999@aliyun637,cntaobao123xiamin -cnphpwnd99999@aliyun638,cntaobao123xiao -cnphpwnd99999@aliyun639,cntaobao123xiaodao123 -cnphpwnd99999@aliyun640,cntaobao123xiaoxiao123 -cnphpwnd99999@aliyun641,cntaobao123xiaoxiao897 -cnphpwnd99999@aliyun642,cntaobao123xiaoyue -cnphpwnd99999@aliyun643,cntaobao123yang -cnphpwnd99999@aliyun644,cntaobao123yang8888 -cnphpwnd99999@aliyun645,cntaobao123yangxw -cnphpwnd99999@aliyun646,cntaobao123zhanght -cnphpwnd99999@aliyun647,cntaobao123zhangjia -cnphpwnd99999@aliyun648,cntaobao123zhaowei3166 -cnphpwnd99999@aliyun649,cntaobao123zhu_yan_ji -cnphpwnd99999@aliyun650,cntaobao124601alice -cnphpwnd99999@aliyun651,cntaobao125318884a -cnphpwnd99999@aliyun652,cntaobao125753284aa -cnphpwnd99999@aliyun653,cntaobao1257abcd -cnphpwnd99999@aliyun654,cntaobao12587951asd -cnphpwnd99999@aliyun655,cntaobao12589775ab -cnphpwnd99999@aliyun656,cntaobao125ga -cnphpwnd99999@aliyun657,cntaobao125t -cnphpwnd99999@aliyun658,cntaobao125yangbo5 -cnphpwnd99999@aliyun659,cntaobao1266aa -cnphpwnd99999@aliyun660,cntaobao126mao -cnphpwnd99999@aliyun661,cntaobao127091019aaa -cnphpwnd99999@aliyun662,cntaobao1283wang -cnphpwnd99999@aliyun663,cntaobao129380sai -cnphpwnd99999@aliyun664,cntaobao12ab34 -cnphpwnd99999@aliyun665,cntaobao12abmn -cnphpwnd99999@aliyun666,cntaobao12apples -cnphpwnd99999@aliyun667,cntaobao12chpao -cnphpwnd99999@aliyun668,cntaobao12dongyang -cnphpwnd99999@aliyun669,cntaobao12hehua -cnphpwnd99999@aliyun670,cntaobao12huanghui -cnphpwnd99999@aliyun671,cntaobao12ma -cnphpwnd99999@aliyun672,cntaobao12magic -cnphpwnd99999@aliyun673,cntaobao12orang -cnphpwnd99999@aliyun674,cntaobao12qaz12 -cnphpwnd99999@aliyun675,cntaobao12qwaszx3 -cnphpwnd99999@aliyun676,cntaobao12qwaszx34er -cnphpwnd99999@aliyun677,cntaobao12qwer12as -cnphpwnd99999@aliyun678,cntaobao12qwsa -cnphpwnd99999@aliyun679,cntaobao12xiao -cnphpwnd99999@aliyun680,cntaobao12xiaotian -cnphpwnd99999@aliyun681,cntaobao12yuan -cnphpwnd99999@aliyun682,cntaobao12zxcas -cnphpwnd99999@aliyun683,cntaobao130023asd -cnphpwnd99999@aliyun684,cntaobao13034771161gao -cnphpwnd99999@aliyun685,cntaobao131191aini -cnphpwnd99999@aliyun686,cntaobao131420520liao -cnphpwnd99999@aliyun687,cntaobao1314520bai -cnphpwnd99999@aliyun688,cntaobao1314520jacky -cnphpwnd99999@aliyun689,cntaobao1314520kangqin -cnphpwnd99999@aliyun690,cntaobao1314aipy -cnphpwnd99999@aliyun691,cntaobao1314asd -cnphpwnd99999@aliyun692,cntaobao1314da -cnphpwnd99999@aliyun693,cntaobao1314daiweshi -cnphpwnd99999@aliyun694,cntaobao1314jawm -cnphpwnd99999@aliyun695,cntaobao1314tanlili -cnphpwnd99999@aliyun696,cntaobao13153593717a -cnphpwnd99999@aliyun697,cntaobao1319502wang -cnphpwnd99999@aliyun698,cntaobao1323aa -cnphpwnd99999@aliyun699,cntaobao13246946466a -cnphpwnd99999@aliyun700,cntaobao132zaqwsx -cnphpwnd99999@aliyun701,cntaobao13301988010ang -cnphpwnd99999@aliyun702,cntaobao13308461750liaihui -cnphpwnd99999@aliyun703,cntaobao1331a85736 -cnphpwnd99999@aliyun704,cntaobao13321936441shanghai -cnphpwnd99999@aliyun705,cntaobao13353carry -cnphpwnd99999@aliyun706,cntaobao133abcdefgh -cnphpwnd99999@aliyun707,cntaobao133anson -cnphpwnd99999@aliyun708,cntaobao133ccfba -cnphpwnd99999@aliyun709,cntaobao133jason -cnphpwnd99999@aliyun710,cntaobao13476284458a -cnphpwnd99999@aliyun711,cntaobao135135abcd -cnphpwnd99999@aliyun712,cntaobao13520ar.rr -cnphpwnd99999@aliyun713,cntaobao135592aa -cnphpwnd99999@aliyun714,cntaobao13573149200aaa -cnphpwnd99999@aliyun715,cntaobao13579abcd -cnphpwnd99999@aliyun716,cntaobao13579cai -cnphpwnd99999@aliyun717,cntaobao1357liuyang -cnphpwnd99999@aliyun718,cntaobao13587509ab -cnphpwnd99999@aliyun719,cntaobao1358asd3 -cnphpwnd99999@aliyun720,cntaobao135aking -cnphpwnd99999@aliyun721,cntaobao13617486555wang -cnphpwnd99999@aliyun722,cntaobao13622786352abc -cnphpwnd99999@aliyun723,cntaobao1364maokai -cnphpwnd99999@aliyun724,cntaobao13670248749xukaikuo -cnphpwnd99999@aliyun725,cntaobao136abcd -cnphpwnd99999@aliyun726,cntaobao13715415078zhang -cnphpwnd99999@aliyun727,cntaobao13727702889aa -cnphpwnd99999@aliyun728,cntaobao137586abcd -cnphpwnd99999@aliyun729,cntaobao137bao -cnphpwnd99999@aliyun730,cntaobao138034397a -cnphpwnd99999@aliyun731,cntaobao13803767513aaaa -cnphpwnd99999@aliyun732,cntaobao13822471404aaa -cnphpwnd99999@aliyun733,cntaobao13828036393a -cnphpwnd99999@aliyun734,cntaobao1383900tang -cnphpwnd99999@aliyun735,cntaobao13843155225ai -cnphpwnd99999@aliyun736,cntaobao1385294aaaa -cnphpwnd99999@aliyun737,cntaobao138668a -cnphpwnd99999@aliyun738,cntaobao138mandy -cnphpwnd99999@aliyun739,cntaobao1390185aleck -cnphpwnd99999@aliyun740,cntaobao139362298961998111as -cnphpwnd99999@aliyun741,cntaobao1393xiaoxiao -cnphpwnd99999@aliyun742,cntaobao13969794906shandian -cnphpwnd99999@aliyun743,cntaobao139youkai -cnphpwnd99999@aliyun744,cntaobao13april -cnphpwnd99999@aliyun745,cntaobao13arr -cnphpwnd99999@aliyun746,cntaobao13daniel -cnphpwnd99999@aliyun747,cntaobao13day -cnphpwnd99999@aliyun748,cntaobao13dian10 -cnphpwnd99999@aliyun749,cntaobao13haoxi -cnphpwnd99999@aliyun750,cntaobao13qaz13 -cnphpwnd99999@aliyun751,cntaobao13randon -cnphpwnd99999@aliyun752,cntaobao13shao -cnphpwnd99999@aliyun753,cntaobao13xiaoqian -cnphpwnd99999@aliyun754,cntaobao13xiaoshizi -cnphpwnd99999@aliyun755,cntaobao13yuan -cnphpwnd99999@aliyun756,cntaobao141320a1 -cnphpwnd99999@aliyun757,cntaobao1414allan -cnphpwnd99999@aliyun758,cntaobao142327wan4012863 -cnphpwnd99999@aliyun759,cntaobao143988_conniexia -cnphpwnd99999@aliyun760,cntaobao1488366abc -cnphpwnd99999@aliyun761,cntaobao149802354a -cnphpwnd99999@aliyun762,cntaobao149albee -cnphpwnd99999@aliyun763,cntaobao14changhao -cnphpwnd99999@aliyun764,cntaobao150494a -cnphpwnd99999@aliyun765,cntaobao150792wang_2005 -cnphpwnd99999@aliyun766,cntaobao151aa151 -cnphpwnd99999@aliyun767,cntaobao1532119wiaini -cnphpwnd99999@aliyun768,cntaobao15439baby -cnphpwnd99999@aliyun769,cntaobao156494102fanng -cnphpwnd99999@aliyun770,cntaobao156711382sa -cnphpwnd99999@aliyun771,cntaobao156823818ade -cnphpwnd99999@aliyun772,cntaobao1568zhang -cnphpwnd99999@aliyun773,cntaobao156yanteng -cnphpwnd99999@aliyun774,cntaobao158jame -cnphpwnd99999@aliyun775,cntaobao159357aaa -cnphpwnd99999@aliyun776,cntaobao159357aby -cnphpwnd99999@aliyun777,cntaobao159357datc -cnphpwnd99999@aliyun778,cntaobao159753a3a3 -cnphpwnd99999@aliyun779,cntaobao159875321a -cnphpwnd99999@aliyun780,cntaobao159aaaaa -cnphpwnd99999@aliyun781,cntaobao15abc15 -cnphpwnd99999@aliyun782,cntaobao15aspirit -cnphpwnd99999@aliyun783,cntaobao15baobao -cnphpwnd99999@aliyun784,cntaobao15raytoy -cnphpwnd99999@aliyun785,cntaobao15year -cnphpwnd99999@aliyun786,cntaobao160zay17 -cnphpwnd99999@aliyun787,cntaobao1618tianshi -cnphpwnd99999@aliyun788,cntaobao1638888hao -cnphpwnd99999@aliyun789,cntaobao163888fans1 -cnphpwnd99999@aliyun790,cntaobao163_feimao -cnphpwnd99999@aliyun791,cntaobao163jinqiao -cnphpwnd99999@aliyun792,cntaobao163may -cnphpwnd99999@aliyun793,cntaobao163sha163 -cnphpwnd99999@aliyun794,cntaobao163smhag -cnphpwnd99999@aliyun795,cntaobao163wang -cnphpwnd99999@aliyun796,cntaobao163zaixian -cnphpwnd99999@aliyun797,cntaobao164168abc -cnphpwnd99999@aliyun798,cntaobao164974830a -cnphpwnd99999@aliyun799,cntaobao165532754a -cnphpwnd99999@aliyun800,cntaobao168_xiao -cnphpwnd99999@aliyun801,cntaobao168andrew -cnphpwnd99999@aliyun802,cntaobao168marcus -cnphpwnd99999@aliyun803,cntaobao168wanglong -cnphpwnd99999@aliyun804,cntaobao168wawa -cnphpwnd99999@aliyun805,cntaobao168wuhan -cnphpwnd99999@aliyun806,cntaobao16aping -cnphpwnd99999@aliyun807,cntaobao16doraemon -cnphpwnd99999@aliyun808,cntaobao16master -cnphpwnd99999@aliyun809,cntaobao170602ason88 -cnphpwnd99999@aliyun810,cntaobao1708apple -cnphpwnd99999@aliyun811,cntaobao170907asd -cnphpwnd99999@aliyun812,cntaobao17139381ag -cnphpwnd99999@aliyun813,cntaobao17140146jia -cnphpwnd99999@aliyun814,cntaobao17319284a -cnphpwnd99999@aliyun815,cntaobao1731laurence -cnphpwnd99999@aliyun816,cntaobao173640381a -cnphpwnd99999@aliyun817,cntaobao173games -cnphpwnd99999@aliyun818,cntaobao174487265abc -cnphpwnd99999@aliyun819,cntaobao1748521a -cnphpwnd99999@aliyun820,cntaobao174aaaa -cnphpwnd99999@aliyun821,cntaobao175853587zhang -cnphpwnd99999@aliyun822,cntaobao177106596yang -cnphpwnd99999@aliyun823,cntaobao178843165kao -cnphpwnd99999@aliyun824,cntaobao178_nial -cnphpwnd99999@aliyun825,cntaobao17angel -cnphpwnd99999@aliyun826,cntaobao17angel17 -cnphpwnd99999@aliyun827,cntaobao17bao -cnphpwnd99999@aliyun828,cntaobao17haha -cnphpwnd99999@aliyun829,cntaobao17start -cnphpwnd99999@aliyun830,cntaobao17thangel -cnphpwnd99999@aliyun831,cntaobao180in -cnphpwnd99999@aliyun832,cntaobao182018cac -cnphpwnd99999@aliyun833,cntaobao182247481zhang -cnphpwnd99999@aliyun834,cntaobao18241292maes -cnphpwnd99999@aliyun835,cntaobao183246143aa -cnphpwnd99999@aliyun836,cntaobao183_camille -cnphpwnd99999@aliyun837,cntaobao183_dahi -cnphpwnd99999@aliyun838,cntaobao184415001abc -cnphpwnd99999@aliyun839,cntaobao185366747abc -cnphpwnd99999@aliyun840,cntaobao185ecoflam111 -cnphpwnd99999@aliyun841,cntaobao186513raxc -cnphpwnd99999@aliyun842,cntaobao188han -cnphpwnd99999@aliyun843,cntaobao188melissa -cnphpwnd99999@aliyun844,cntaobao188za -cnphpwnd99999@aliyun845,cntaobao18ag -cnphpwnd99999@aliyun846,cntaobao18athlon -cnphpwnd99999@aliyun847,cntaobao18huangpan -cnphpwnd99999@aliyun848,cntaobao18kakaka -cnphpwnd99999@aliyun849,cntaobao18xiaodai -cnphpwnd99999@aliyun850,cntaobao18yearsold -cnphpwnd99999@aliyun851,cntaobao18zhuangyi -cnphpwnd99999@aliyun852,cntaobao1900001a -cnphpwnd99999@aliyun853,cntaobao1900adfa -cnphpwnd99999@aliyun854,cntaobao19045332mazhiqi -cnphpwnd99999@aliyun855,cntaobao191919ald -cnphpwnd99999@aliyun856,cntaobao191975566ya -cnphpwnd99999@aliyun857,cntaobao1919wangqian -cnphpwnd99999@aliyun858,cntaobao1919zhang -cnphpwnd99999@aliyun859,cntaobao193896magic -cnphpwnd99999@aliyun860,cntaobao1944an365 -cnphpwnd99999@aliyun861,cntaobao1945tiansh -cnphpwnd99999@aliyun862,cntaobao1949abxyz -cnphpwnd99999@aliyun863,cntaobao1949aihua -cnphpwnd99999@aliyun864,cntaobao1950_iisa -cnphpwnd99999@aliyun865,cntaobao1952miao -cnphpwnd99999@aliyun866,cntaobao1954_douglas -cnphpwnd99999@aliyun867,cntaobao1955ma306 -cnphpwnd99999@aliyun868,cntaobao1955martin -cnphpwnd99999@aliyun869,cntaobao19563804a -cnphpwnd99999@aliyun870,cntaobao1956_huai -cnphpwnd99999@aliyun871,cntaobao1957brant -cnphpwnd99999@aliyun872,cntaobao1959_anestasia -cnphpwnd99999@aliyun873,cntaobao195tanley -cnphpwnd99999@aliyun874,cntaobao1964stanley -cnphpwnd99999@aliyun875,cntaobao196688zhaosu -cnphpwnd99999@aliyun876,cntaobao1966_jia -cnphpwnd99999@aliyun877,cntaobao1970aigen -cnphpwnd99999@aliyun878,cntaobao1970jiena01 -cnphpwnd99999@aliyun879,cntaobao1970jieqia -cnphpwnd99999@aliyun880,cntaobao1971gaby -cnphpwnd99999@aliyun881,cntaobao1972_an -cnphpwnd99999@aliyun882,cntaobao1972cao -cnphpwnd99999@aliyun883,cntaobao1973ai -cnphpwnd99999@aliyun884,cntaobao19744370xiao -cnphpwnd99999@aliyun885,cntaobao1974xialin -cnphpwnd99999@aliyun886,cntaobao1975_tian -cnphpwnd99999@aliyun887,cntaobao1975xiao21 -cnphpwnd99999@aliyun888,cntaobao1976paul -cnphpwnd99999@aliyun889,cntaobao1976tang -cnphpwnd99999@aliyun890,cntaobao1976yuan -cnphpwnd99999@aliyun891,cntaobao197777cat -cnphpwnd99999@aliyun892,cntaobao1977friday -cnphpwnd99999@aliyun893,cntaobao1977katie -cnphpwnd99999@aliyun894,cntaobao1977xiaoxiao -cnphpwnd99999@aliyun895,cntaobao1978abc -cnphpwnd99999@aliyun896,cntaobao1978pianpian -cnphpwnd99999@aliyun897,cntaobao1978woshizhaodong -cnphpwnd99999@aliyun898,cntaobao1978yan -cnphpwnd99999@aliyun899,cntaobao19791110yangbin -cnphpwnd99999@aliyun900,cntaobao1979adad -cnphpwnd99999@aliyun901,cntaobao1979bao -cnphpwnd99999@aliyun902,cntaobao1979chenhao -cnphpwnd99999@aliyun903,cntaobao1979redapple -cnphpwnd99999@aliyun904,cntaobao19800616a25 -cnphpwnd99999@aliyun905,cntaobao1980abc -cnphpwnd99999@aliyun906,cntaobao1980baobao -cnphpwnd99999@aliyun907,cntaobao1980lixiang -cnphpwnd99999@aliyun908,cntaobao1980sai -cnphpwnd99999@aliyun909,cntaobao1980yaobin -cnphpwnd99999@aliyun910,cntaobao1980yiyuanyuan -cnphpwnd99999@aliyun911,cntaobao1980zhaoxue -cnphpwnd99999@aliyun912,cntaobao19810327a -cnphpwnd99999@aliyun913,cntaobao19810501annieguo -cnphpwnd99999@aliyun914,cntaobao19810625a -cnphpwnd99999@aliyun915,cntaobao19811018yan -cnphpwnd99999@aliyun916,cntaobao198137abc -cnphpwnd99999@aliyun917,cntaobao198181laohu -cnphpwnd99999@aliyun918,cntaobao1981chang -cnphpwnd99999@aliyun919,cntaobao1981huang1981tao -cnphpwnd99999@aliyun920,cntaobao1982-haifei -cnphpwnd99999@aliyun921,cntaobao198214abc -cnphpwnd99999@aliyun922,cntaobao198272alex -cnphpwnd99999@aliyun923,cntaobao198286abcdxyz -cnphpwnd99999@aliyun924,cntaobao1982_wanggang -cnphpwnd99999@aliyun925,cntaobao1982aqua -cnphpwnd99999@aliyun926,cntaobao1982gaobo -cnphpwnd99999@aliyun927,cntaobao1982guangyuan -cnphpwnd99999@aliyun928,cntaobao1982lanse -cnphpwnd99999@aliyun929,cntaobao1982panckratov -cnphpwnd99999@aliyun930,cntaobao1982twoaxin -cnphpwnd99999@aliyun931,cntaobao1982vivian -cnphpwnd99999@aliyun932,cntaobao1982xiaoxiao -cnphpwnd99999@aliyun933,cntaobao1982xiaozhu -cnphpwnd99999@aliyun934,cntaobao1982yashiro -cnphpwnd99999@aliyun935,cntaobao1982year -cnphpwnd99999@aliyun936,cntaobao19831017zhao -cnphpwnd99999@aliyun937,cntaobao1983913aiai -cnphpwnd99999@aliyun938,cntaobao1983asson -cnphpwnd99999@aliyun939,cntaobao1983dai66 -cnphpwnd99999@aliyun940,cntaobao1983ella -cnphpwnd99999@aliyun941,cntaobao1983geyang -cnphpwnd99999@aliyun942,cntaobao1983gunjack -cnphpwnd99999@aliyun943,cntaobao1983han -cnphpwnd99999@aliyun944,cntaobao1983harvey -cnphpwnd99999@aliyun945,cntaobao1983jake83 -cnphpwnd99999@aliyun946,cntaobao1983laobao -cnphpwnd99999@aliyun947,cntaobao1983shao -cnphpwnd99999@aliyun948,cntaobao1983silinhaimoli -cnphpwnd99999@aliyun949,cntaobao1983sunchao -cnphpwnd99999@aliyun950,cntaobao19840526aa -cnphpwnd99999@aliyun951,cntaobao19841005abc -cnphpwnd99999@aliyun952,cntaobao19841028chenyan3 -cnphpwnd99999@aliyun953,cntaobao198410a -cnphpwnd99999@aliyun954,cntaobao19841219yangfan -cnphpwnd99999@aliyun955,cntaobao1984baobaolan -cnphpwnd99999@aliyun956,cntaobao1984cai -cnphpwnd99999@aliyun957,cntaobao1984gaohai -cnphpwnd99999@aliyun958,cntaobao1984huang -cnphpwnd99999@aliyun959,cntaobao1984liangyan -cnphpwnd99999@aliyun960,cntaobao1984sbihawx -cnphpwnd99999@aliyun961,cntaobao1984xiayu -cnphpwnd99999@aliyun962,cntaobao1984zhuxihua -cnphpwnd99999@aliyun963,cntaobao19850211aa -cnphpwnd99999@aliyun964,cntaobao19850930a -cnphpwnd99999@aliyun965,cntaobao19851009wangji -cnphpwnd99999@aliyun966,cntaobao1985113chao -cnphpwnd99999@aliyun967,cntaobao1985810yang -cnphpwnd99999@aliyun968,cntaobao198588a -cnphpwnd99999@aliyun969,cntaobao1985944asdfghjkl -cnphpwnd99999@aliyun970,cntaobao1985_gaoyong -cnphpwnd99999@aliyun971,cntaobao1985woaini -cnphpwnd99999@aliyun972,cntaobao1985yuandong -cnphpwnd99999@aliyun973,cntaobao1985zhanghui -cnphpwnd99999@aliyun974,cntaobao1985zhaojuan -cnphpwnd99999@aliyun975,cntaobao19860909zhangjun -cnphpwnd99999@aliyun976,cntaobao198612345a -cnphpwnd99999@aliyun977,cntaobao19861301aimei -cnphpwnd99999@aliyun978,cntaobao1986audxo -cnphpwnd99999@aliyun979,cntaobao1986elian -cnphpwnd99999@aliyun980,cntaobao1986han -cnphpwnd99999@aliyun981,cntaobao1986liang0 -cnphpwnd99999@aliyun982,cntaobao1986life -cnphpwnd99999@aliyun983,cntaobao1986sea -cnphpwnd99999@aliyun984,cntaobao1986wdhao -cnphpwnd99999@aliyun985,cntaobao1987-zhao -cnphpwnd99999@aliyun986,cntaobao1987219qaz -cnphpwnd99999@aliyun987,cntaobao1987617happy -cnphpwnd99999@aliyun988,cntaobao1987817cal -cnphpwnd99999@aliyun989,cntaobao1987_jianfeng -cnphpwnd99999@aliyun990,cntaobao1987chao -cnphpwnd99999@aliyun991,cntaobao1987chinazys -cnphpwnd99999@aliyun992,cntaobao1987claudia -cnphpwnd99999@aliyun993,cntaobao19880310lydia -cnphpwnd99999@aliyun994,cntaobao19880604aa -cnphpwnd99999@aliyun995,cntaobao19881013zhoushihua -cnphpwnd99999@aliyun996,cntaobao1988327ma -cnphpwnd99999@aliyun997,cntaobao198870han -cnphpwnd99999@aliyun998,cntaobao1988ruan -cnphpwnd99999@aliyun999,cntaobao1988tian -cnphpwnd99999@aliyun1000,cntaobao1988zmsakura -cnphpwnd99999@aliyun1001,cntaobao19891117nan -cnphpwnd99999@aliyun1002,cntaobao19891989ma -cnphpwnd99999@aliyun1003,cntaobao1989529wang -cnphpwnd99999@aliyun1004,cntaobao1989_cai -cnphpwnd99999@aliyun1005,cntaobao19900116a -cnphpwnd99999@aliyun1006,cntaobao1990helena -cnphpwnd99999@aliyun1007,cntaobao19910516a88 -cnphpwnd99999@aliyun1008,cntaobao199189529_q -cnphpwnd99999@aliyun1009,cntaobao1991_leonard -cnphpwnd99999@aliyun1010,cntaobao1991cao2005 -cnphpwnd99999@aliyun1011,cntaobao19920420april -cnphpwnd99999@aliyun1012,cntaobao1992_sandra -cnphpwnd99999@aliyun1013,cntaobao1992hanyi -cnphpwnd99999@aliyun1014,cntaobao19930703a -cnphpwnd99999@aliyun1015,cntaobao1994amy -cnphpwnd99999@aliyun1016,cntaobao1999debra -cnphpwnd99999@aliyun1017,cntaobao1999happytime -cnphpwnd99999@aliyun1018,cntaobao1999miya -cnphpwnd99999@aliyun1019,cntaobao1999stephanie -cnphpwnd99999@aliyun1020,cntaobao19azaz -cnphpwnd99999@aliyun1021,cntaobao19dian -cnphpwnd99999@aliyun1022,cntaobao19yanlin -cnphpwnd99999@aliyun1023,cntaobao1a1a1a1a -cnphpwnd99999@aliyun1024,cntaobao1a239d456789 -cnphpwnd99999@aliyun1025,cntaobao1a2a3a4a5a -cnphpwnd99999@aliyun1026,cntaobao1a2a3a4a5a6a -cnphpwnd99999@aliyun1027,cntaobao1a2b3c4d5e -cnphpwnd99999@aliyun1028,cntaobao1a2b3c5566 -cnphpwnd99999@aliyun1029,cntaobao1a2b3c77 -cnphpwnd99999@aliyun1030,cntaobao1a2s3d -cnphpwnd99999@aliyun1031,cntaobao1aa11 -cnphpwnd99999@aliyun1032,cntaobao1aa22bb -cnphpwnd99999@aliyun1033,cntaobao1aabb -cnphpwnd99999@aliyun1034,cntaobao1angs -cnphpwnd99999@aliyun1035,cntaobao1apple -cnphpwnd99999@aliyun1036,cntaobao1as_2004 -cnphpwnd99999@aliyun1037,cntaobao1asdfg -cnphpwnd99999@aliyun1038,cntaobao1cao2dai -cnphpwnd99999@aliyun1039,cntaobao1crystal -cnphpwnd99999@aliyun1040,cntaobao1danying -cnphpwnd99999@aliyun1041,cntaobao1ddaajian -cnphpwnd99999@aliyun1042,cntaobao1dina1 -cnphpwnd99999@aliyun1043,cntaobao1e2b3c4d5a -cnphpwnd99999@aliyun1044,cntaobao1feidiao1 -cnphpwnd99999@aliyun1045,cntaobao1gaoxingjiuhao -cnphpwnd99999@aliyun1046,cntaobao1guai -cnphpwnd99999@aliyun1047,cntaobao1hanfei -cnphpwnd99999@aliyun1048,cntaobao1hanfeng1 -cnphpwnd99999@aliyun1049,cntaobao1hanyue2 -cnphpwnd99999@aliyun1050,cntaobao1haodian -cnphpwnd99999@aliyun1051,cntaobao1haotong -cnphpwnd99999@aliyun1052,cntaobao1huahua1 -cnphpwnd99999@aliyun1053,cntaobao1iangshen -cnphpwnd99999@aliyun1054,cntaobao1ittlebear -cnphpwnd99999@aliyun1055,cntaobao1jiangchen1 -cnphpwnd99999@aliyun1056,cntaobao1jianghua1 -cnphpwnd99999@aliyun1057,cntaobao1jiangnina -cnphpwnd99999@aliyun1058,cntaobao1kangmengshi -cnphpwnd99999@aliyun1059,cntaobao1kittymao1 -cnphpwnd99999@aliyun1060,cntaobao1kukugain -cnphpwnd99999@aliyun1061,cntaobao1lai -cnphpwnd99999@aliyun1062,cntaobao1liuyang6 -cnphpwnd99999@aliyun1063,cntaobao1lkjhgfdsa -cnphpwnd99999@aliyun1064,cntaobao1llihappy -cnphpwnd99999@aliyun1065,cntaobao1madai -cnphpwnd99999@aliyun1066,cntaobao1man -cnphpwnd99999@aliyun1067,cntaobao1merrynana -cnphpwnd99999@aliyun1068,cntaobao1mmaa -cnphpwnd99999@aliyun1069,cntaobao1paiwangzi66305 -cnphpwnd99999@aliyun1070,cntaobao1pppaaa1 -cnphpwnd99999@aliyun1071,cntaobao1q2a3zqaz -cnphpwnd99999@aliyun1072,cntaobao1qa2ws3ed -cnphpwnd99999@aliyun1073,cntaobao1qasz -cnphpwnd99999@aliyun1074,cntaobao1qaz1qaz -cnphpwnd99999@aliyun1075,cntaobao1qaz2345 -cnphpwnd99999@aliyun1076,cntaobao1qaz2wsx2005 -cnphpwnd99999@aliyun1077,cntaobao1qaz2wsx3edc -cnphpwnd99999@aliyun1078,cntaobao1qiaoqiao -cnphpwnd99999@aliyun1079,cntaobao1qiaowenhua -cnphpwnd99999@aliyun1080,cntaobao1rainbow -cnphpwnd99999@aliyun1081,cntaobao1sam1 -cnphpwnd99999@aliyun1082,cntaobao1san2shop -cnphpwnd99999@aliyun1083,cntaobao1staling -cnphpwnd99999@aliyun1084,cntaobao1station -cnphpwnd99999@aliyun1085,cntaobao1stpay -cnphpwnd99999@aliyun1086,cntaobao1tiancai1xp20045 -cnphpwnd99999@aliyun1087,cntaobao1tiantiandatian -cnphpwnd99999@aliyun1088,cntaobao1ucia -cnphpwnd99999@aliyun1089,cntaobao1wang2ming -cnphpwnd99999@aliyun1090,cntaobao1wangchen -cnphpwnd99999@aliyun1091,cntaobao1wangzhe1 -cnphpwnd99999@aliyun1092,cntaobao1yanmin1 -cnphpwnd99999@aliyun1093,cntaobao1yjd -cnphpwnd99999@aliyun1094,cntaobao1yuan -cnphpwnd99999@aliyun1095,cntaobao1zaa -cnphpwnd99999@aliyun1096,cntaobao1zhang -cnphpwnd99999@aliyun1097,cntaobao1zyaj -cnphpwnd99999@aliyun1098,cntaobao1å·çŒªçŒª -cnphpwnd99999@aliyun1099,cntaobao20000shisan -cnphpwnd99999@aliyun1100,cntaobao20000sunday -cnphpwnd99999@aliyun1101,cntaobao2000aiaiai -cnphpwnd99999@aliyun1102,cntaobao2000aj -cnphpwnd99999@aliyun1103,cntaobao2000alen -cnphpwnd99999@aliyun1104,cntaobao2000baal -cnphpwnd99999@aliyun1105,cntaobao2000bihai -cnphpwnd99999@aliyun1106,cntaobao2000cq -cnphpwnd99999@aliyun1107,cntaobao2000dragon -cnphpwnd99999@aliyun1108,cntaobao2000jackyson -cnphpwnd99999@aliyun1109,cntaobao2000kingcat -cnphpwnd99999@aliyun1110,cntaobao2000rida -cnphpwnd99999@aliyun1111,cntaobao2000tanghua -cnphpwnd99999@aliyun1112,cntaobao2000xiaowu2000 -cnphpwnd99999@aliyun1113,cntaobao2000yea -cnphpwnd99999@aliyun1114,cntaobao2000zhang2001 -cnphpwnd99999@aliyun1115,cntaobao200120045008a -cnphpwnd99999@aliyun1116,cntaobao2001akirabobo -cnphpwnd99999@aliyun1117,cntaobao2001jianxia -cnphpwnd99999@aliyun1118,cntaobao2001lingdang -cnphpwnd99999@aliyun1119,cntaobao2001newstar2002 -cnphpwnd99999@aliyun1120,cntaobao2001nian -cnphpwnd99999@aliyun1121,cntaobao2001yunxiao -cnphpwnd99999@aliyun1122,cntaobao2001zaq -cnphpwnd99999@aliyun1123,cntaobao20020201ma -cnphpwnd99999@aliyun1124,cntaobao200212052maggie -cnphpwnd99999@aliyun1125,cntaobao2002aiai -cnphpwnd99999@aliyun1126,cntaobao2002candy -cnphpwnd99999@aliyun1127,cntaobao2002laowei -cnphpwnd99999@aliyun1128,cntaobao2002lisa -cnphpwnd99999@aliyun1129,cntaobao2002wanfen -cnphpwnd99999@aliyun1130,cntaobao2002winterbaby -cnphpwnd99999@aliyun1131,cntaobao2002yun-talent -cnphpwnd99999@aliyun1132,cntaobao2003-juan -cnphpwnd99999@aliyun1133,cntaobao2003333aaa -cnphpwnd99999@aliyun1134,cntaobao2003abc -cnphpwnd99999@aliyun1135,cntaobao2003hai -cnphpwnd99999@aliyun1136,cntaobao2003happy -cnphpwnd99999@aliyun1137,cntaobao2003jiangxiaolin -cnphpwnd99999@aliyun1138,cntaobao2003lie -cnphpwnd99999@aliyun1139,cntaobao2003lvea -cnphpwnd99999@aliyun1140,cntaobao2003muyangren -cnphpwnd99999@aliyun1141,cntaobao2003tang -cnphpwnd99999@aliyun1142,cntaobao2003wangyan1080550960 -cnphpwnd99999@aliyun1143,cntaobao2003wxy -cnphpwnd99999@aliyun1144,cntaobao2003xuan -cnphpwnd99999@aliyun1145,cntaobao2003yuegang -cnphpwnd99999@aliyun1146,cntaobao2003胡雪岩 -cnphpwnd99999@aliyun1147,cntaobao20040520catherine -cnphpwnd99999@aliyun1148,cntaobao20042004a -cnphpwnd99999@aliyun1149,cntaobao2004_nvhai -cnphpwnd99999@aliyun1150,cntaobao2004aaa -cnphpwnd99999@aliyun1151,cntaobao2004abc -cnphpwnd99999@aliyun1152,cntaobao2004baby -cnphpwnd99999@aliyun1153,cntaobao2004fang -cnphpwnd99999@aliyun1154,cntaobao2004fantasy -cnphpwnd99999@aliyun1155,cntaobao2004goodman -cnphpwnd99999@aliyun1156,cntaobao2004happygirl -cnphpwnd99999@aliyun1157,cntaobao2004iceman -cnphpwnd99999@aliyun1158,cntaobao2004lisa -cnphpwnd99999@aliyun1159,cntaobao2004lizonghuistar -cnphpwnd99999@aliyun1160,cntaobao2004longxi -cnphpwnd99999@aliyun1161,cntaobao2004loveme -cnphpwnd99999@aliyun1162,cntaobao2004ly2004 -cnphpwnd99999@aliyun1163,cntaobao2004ma -cnphpwnd99999@aliyun1164,cntaobao2004magic -cnphpwnd99999@aliyun1165,cntaobao2004michael -cnphpwnd99999@aliyun1166,cntaobao2004shashou2004 -cnphpwnd99999@aliyun1167,cntaobao2004susan -cnphpwnd99999@aliyun1168,cntaobao2004susan2004 -cnphpwnd99999@aliyun1169,cntaobao2004visonzhang -cnphpwnd99999@aliyun1170,cntaobao2004wangyue -cnphpwnd99999@aliyun1171,cntaobao2004xiang -cnphpwnd99999@aliyun1172,cntaobao2004yuhuan -cnphpwnd99999@aliyun1173,cntaobao2004zhanghong -cnphpwnd99999@aliyun1174,cntaobao2005abc -cnphpwnd99999@aliyun1175,cntaobao2005caiyi -cnphpwnd99999@aliyun1176,cntaobao2005conan -cnphpwnd99999@aliyun1177,cntaobao2005coolmax -cnphpwnd99999@aliyun1178,cntaobao2005gaojianyes -cnphpwnd99999@aliyun1179,cntaobao2005hetian88 -cnphpwnd99999@aliyun1180,cntaobao2005liangli -cnphpwnd99999@aliyun1181,cntaobao2005liuyuan -cnphpwnd99999@aliyun1182,cntaobao2005quan -cnphpwnd99999@aliyun1183,cntaobao2005taojuan -cnphpwnd99999@aliyun1184,cntaobao2005wan -cnphpwnd99999@aliyun1185,cntaobao2005wander -cnphpwnd99999@aliyun1186,cntaobao2005xiangning -cnphpwnd99999@aliyun1187,cntaobao2005xiaohui -cnphpwnd99999@aliyun1188,cntaobao2005yanglan -cnphpwnd99999@aliyun1189,cntaobao2006army -cnphpwnd99999@aliyun1190,cntaobao2006zhang -cnphpwnd99999@aliyun1191,cntaobao200757yang -cnphpwnd99999@aliyun1192,cntaobao2008-hanhan -cnphpwnd99999@aliyun1193,cntaobao2008abc1 -cnphpwnd99999@aliyun1194,cntaobao2008baby -cnphpwnd99999@aliyun1195,cntaobao2008jack -cnphpwnd99999@aliyun1196,cntaobao2008jane -cnphpwnd99999@aliyun1197,cntaobao2008liangliang3 -cnphpwnd99999@aliyun1198,cntaobao2008lianxiang -cnphpwnd99999@aliyun1199,cntaobao2008maozedong -cnphpwnd99999@aliyun1200,cntaobao2008qiangzi -cnphpwnd99999@aliyun1201,cntaobao2008suyangdong -cnphpwnd99999@aliyun1202,cntaobao2008zhanghui2008 -cnphpwnd99999@aliyun1203,cntaobao2008zhangyang -cnphpwnd99999@aliyun1204,cntaobao2009apple -cnphpwnd99999@aliyun1205,cntaobao2009azsz -cnphpwnd99999@aliyun1206,cntaobao200yanyao -cnphpwnd99999@aliyun1207,cntaobao2010jiani -cnphpwnd99999@aliyun1208,cntaobao2010year -cnphpwnd99999@aliyun1209,cntaobao201314zhangya -cnphpwnd99999@aliyun1210,cntaobao201871210samsung -cnphpwnd99999@aliyun1211,cntaobao2025621anjing -cnphpwnd99999@aliyun1212,cntaobao2028964a -cnphpwnd99999@aliyun1213,cntaobao202panran -cnphpwnd99999@aliyun1214,cntaobao202puyang -cnphpwnd99999@aliyun1215,cntaobao203015baiwfn -cnphpwnd99999@aliyun1216,cntaobao203564hao -cnphpwnd99999@aliyun1217,cntaobao203base -cnphpwnd99999@aliyun1218,cntaobao203xiaoqiang -cnphpwnd99999@aliyun1219,cntaobao2046a -cnphpwnd99999@aliyun1220,cntaobao2046ad -cnphpwnd99999@aliyun1221,cntaobao2046candy -cnphpwnd99999@aliyun1222,cntaobao2046hacker -cnphpwnd99999@aliyun1223,cntaobao2046jackshen007 -cnphpwnd99999@aliyun1224,cntaobao2050yangyang -cnphpwnd99999@aliyun1225,cntaobao205class -cnphpwnd99999@aliyun1226,cntaobao205kaizi -cnphpwnd99999@aliyun1227,cntaobao2081sha -cnphpwnd99999@aliyun1228,cntaobao2094a -cnphpwnd99999@aliyun1229,cntaobao209manman -cnphpwnd99999@aliyun1230,cntaobao209yaya -cnphpwnd99999@aliyun1231,cntaobao20hujian02 -cnphpwnd99999@aliyun1232,cntaobao20wangjing08 -cnphpwnd99999@aliyun1233,cntaobao20wangqing -cnphpwnd99999@aliyun1234,cntaobao20yangyi -cnphpwnd99999@aliyun1235,cntaobao21105912a -cnphpwnd99999@aliyun1236,cntaobao211max -cnphpwnd99999@aliyun1237,cntaobao212chenxiang -cnphpwnd99999@aliyun1238,cntaobao212hao -cnphpwnd99999@aliyun1239,cntaobao213davis -cnphpwnd99999@aliyun1240,cntaobao21407915218wqa -cnphpwnd99999@aliyun1241,cntaobao2142ass -cnphpwnd99999@aliyun1242,cntaobao214lazy-bones -cnphpwnd99999@aliyun1243,cntaobao214pan -cnphpwnd99999@aliyun1244,cntaobao215104xiaoyuer -cnphpwnd99999@aliyun1245,cntaobao2152aaa -cnphpwnd99999@aliyun1246,cntaobao215358a -cnphpwnd99999@aliyun1247,cntaobao215725107wang -cnphpwnd99999@aliyun1248,cntaobao218cat -cnphpwnd99999@aliyun1249,cntaobao218guoshuaiqing -cnphpwnd99999@aliyun1250,cntaobao218shuiqiaoli -cnphpwnd99999@aliyun1251,cntaobao218zhangwenjun -cnphpwnd99999@aliyun1252,cntaobao2191942a -cnphpwnd99999@aliyun1253,cntaobao21a3i -cnphpwnd99999@aliyun1254,cntaobao21ahu -cnphpwnd99999@aliyun1255,cntaobao21aimar -cnphpwnd99999@aliyun1256,cntaobao21babyvox -cnphpwnd99999@aliyun1257,cntaobao21bao.com -cnphpwnd99999@aliyun1258,cntaobao21baobao -cnphpwnd99999@aliyun1259,cntaobao21cn_zhao -cnphpwnd99999@aliyun1260,cntaobao21cstar -cnphpwnd99999@aliyun1261,cntaobao21emba -cnphpwnd99999@aliyun1262,cntaobao21hanguo -cnphpwnd99999@aliyun1263,cntaobao21heima -cnphpwnd99999@aliyun1264,cntaobao21idea -cnphpwnd99999@aliyun1265,cntaobao21pai -cnphpwnd99999@aliyun1266,cntaobao21pay -cnphpwnd99999@aliyun1267,cntaobao21qqaa -cnphpwnd99999@aliyun1268,cntaobao21stboy -cnphpwnd99999@aliyun1269,cntaobao21suinansheng -cnphpwnd99999@aliyun1270,cntaobao21xiaoxuan -cnphpwnd99999@aliyun1271,cntaobao21xuyang -cnphpwnd99999@aliyun1272,cntaobao21世纪 -cnphpwnd99999@aliyun1273,cntaobao2211as -cnphpwnd99999@aliyun1274,cntaobao22121aq -cnphpwnd99999@aliyun1275,cntaobao2222wangjing -cnphpwnd99999@aliyun1276,cntaobao2223517a -cnphpwnd99999@aliyun1277,cntaobao2223a -cnphpwnd99999@aliyun1278,cntaobao222hacker -cnphpwnd99999@aliyun1279,cntaobao222jiangtian -cnphpwnd99999@aliyun1280,cntaobao222liangliang -cnphpwnd99999@aliyun1281,cntaobao22368095ass -cnphpwnd99999@aliyun1282,cntaobao223_gao -cnphpwnd99999@aliyun1283,cntaobao223_lawren -cnphpwnd99999@aliyun1284,cntaobao223emaly -cnphpwnd99999@aliyun1285,cntaobao224100abc -cnphpwnd99999@aliyun1286,cntaobao2277766asdf -cnphpwnd99999@aliyun1287,cntaobao2279734taofei -cnphpwnd99999@aliyun1288,cntaobao227mark -cnphpwnd99999@aliyun1289,cntaobao22813334a -cnphpwnd99999@aliyun1290,cntaobao2287201abc -cnphpwnd99999@aliyun1291,cntaobao22abc -cnphpwnd99999@aliyun1292,cntaobao22avl -cnphpwnd99999@aliyun1293,cntaobao22huang22 -cnphpwnd99999@aliyun1294,cntaobao22sanshi -cnphpwnd99999@aliyun1295,cntaobao22vdas897 -cnphpwnd99999@aliyun1296,cntaobao2305737hao -cnphpwnd99999@aliyun1297,cntaobao230laji -cnphpwnd99999@aliyun1298,cntaobao2317080pan -cnphpwnd99999@aliyun1299,cntaobao2317qiang -cnphpwnd99999@aliyun1300,cntaobao234173694shark -cnphpwnd99999@aliyun1301,cntaobao234445002a -cnphpwnd99999@aliyun1302,cntaobao2345happy -cnphpwnd99999@aliyun1303,cntaobao2346622abc -cnphpwnd99999@aliyun1304,cntaobao2347399abc -cnphpwnd99999@aliyun1305,cntaobao234yidabao -cnphpwnd99999@aliyun1306,cntaobao2351696sina -cnphpwnd99999@aliyun1307,cntaobao2353429baobei -cnphpwnd99999@aliyun1308,cntaobao23adil -cnphpwnd99999@aliyun1309,cntaobao23beckham7 -cnphpwnd99999@aliyun1310,cntaobao23black -cnphpwnd99999@aliyun1311,cntaobao23eileen -cnphpwnd99999@aliyun1312,cntaobao23flash -cnphpwnd99999@aliyun1313,cntaobao23kaka -cnphpwnd99999@aliyun1314,cntaobao23lang -cnphpwnd99999@aliyun1315,cntaobao23nihao -cnphpwnd99999@aliyun1316,cntaobao23xixihaha -cnphpwnd99999@aliyun1317,cntaobao23xuanxuan -cnphpwnd99999@aliyun1318,cntaobao23xujiajia -cnphpwnd99999@aliyun1319,cntaobao23yiangxiaofang -cnphpwnd99999@aliyun1320,cntaobao2409hua -cnphpwnd99999@aliyun1321,cntaobao24128938abq -cnphpwnd99999@aliyun1322,cntaobao243583144a -cnphpwnd99999@aliyun1323,cntaobao24374768aini -cnphpwnd99999@aliyun1324,cntaobao2454aa -cnphpwnd99999@aliyun1325,cntaobao249428780liujia -cnphpwnd99999@aliyun1326,cntaobao249723916bao -cnphpwnd99999@aliyun1327,cntaobao249892747aa -cnphpwnd99999@aliyun1328,cntaobao24apple -cnphpwnd99999@aliyun1329,cntaobao24baibai -cnphpwnd99999@aliyun1330,cntaobao24flower -cnphpwnd99999@aliyun1331,cntaobao24hour365days -cnphpwnd99999@aliyun1332,cntaobao24skincare -cnphpwnd99999@aliyun1333,cntaobao24tao -cnphpwnd99999@aliyun1334,cntaobao24year -cnphpwnd99999@aliyun1335,cntaobao2501051a -cnphpwnd99999@aliyun1336,cntaobao250244977a -cnphpwnd99999@aliyun1337,cntaobao2502aa -cnphpwnd99999@aliyun1338,cntaobao250970072lihuayun -cnphpwnd99999@aliyun1339,cntaobao251174886a -cnphpwnd99999@aliyun1340,cntaobao2512asd -cnphpwnd99999@aliyun1341,cntaobao251739147xiaolu -cnphpwnd99999@aliyun1342,cntaobao25257758a -cnphpwnd99999@aliyun1343,cntaobao25257765a -cnphpwnd99999@aliyun1344,cntaobao252627tangyuan -cnphpwnd99999@aliyun1345,cntaobao253100435daidai -cnphpwnd99999@aliyun1346,cntaobao255eva -cnphpwnd99999@aliyun1347,cntaobao258369a258 -cnphpwnd99999@aliyun1348,cntaobao258440340aa -cnphpwnd99999@aliyun1349,cntaobao258laoma -cnphpwnd99999@aliyun1350,cntaobao25jacky -cnphpwnd99999@aliyun1351,cntaobao25jdzhang -cnphpwnd99999@aliyun1352,cntaobao25lala25 -cnphpwnd99999@aliyun1353,cntaobao25pearl -cnphpwnd99999@aliyun1354,cntaobao25tianxia -cnphpwnd99999@aliyun1355,cntaobao264122223nba -cnphpwnd99999@aliyun1356,cntaobao2641713kang -cnphpwnd99999@aliyun1357,cntaobao26549290lilan -cnphpwnd99999@aliyun1358,cntaobao265za -cnphpwnd99999@aliyun1359,cntaobao26692669as -cnphpwnd99999@aliyun1360,cntaobao2689363a -cnphpwnd99999@aliyun1361,cntaobao26afgjh -cnphpwnd99999@aliyun1362,cntaobao26asdf26 -cnphpwnd99999@aliyun1363,cntaobao26chenjiahu -cnphpwnd99999@aliyun1364,cntaobao26day111 -cnphpwnd99999@aliyun1365,cntaobao2700968yaobao -cnphpwnd99999@aliyun1366,cntaobao271314.ak -cnphpwnd99999@aliyun1367,cntaobao271772765zhang -cnphpwnd99999@aliyun1368,cntaobao2729932aa -cnphpwnd99999@aliyun1369,cntaobao2732660zas -cnphpwnd99999@aliyun1370,cntaobao273_a -cnphpwnd99999@aliyun1371,cntaobao273_elsa -cnphpwnd99999@aliyun1372,cntaobao276217275wain937 -cnphpwnd99999@aliyun1373,cntaobao27858167aa -cnphpwnd99999@aliyun1374,cntaobao279925966a -cnphpwnd99999@aliyun1375,cntaobao281229716wang -cnphpwnd99999@aliyun1376,cntaobao281565770caoqikai -cnphpwnd99999@aliyun1377,cntaobao281chenhao_ -cnphpwnd99999@aliyun1378,cntaobao282-woainii -cnphpwnd99999@aliyun1379,cntaobao2823972aa -cnphpwnd99999@aliyun1380,cntaobao283306368liujia -cnphpwnd99999@aliyun1381,cntaobao284533361jia -cnphpwnd99999@aliyun1382,cntaobao284733743jiang -cnphpwnd99999@aliyun1383,cntaobao284767814fugang -cnphpwnd99999@aliyun1384,cntaobao285660556as -cnphpwnd99999@aliyun1385,cntaobao286550880a -cnphpwnd99999@aliyun1386,cntaobao28745668a -cnphpwnd99999@aliyun1387,cntaobao2879697a -cnphpwnd99999@aliyun1388,cntaobao287dengyang -cnphpwnd99999@aliyun1389,cntaobao28853929a -cnphpwnd99999@aliyun1390,cntaobao289983326lvdan -cnphpwnd99999@aliyun1391,cntaobao28_alva -cnphpwnd99999@aliyun1392,cntaobao28jacky -cnphpwnd99999@aliyun1393,cntaobao28liugang -cnphpwnd99999@aliyun1394,cntaobao28pingchangxin2004 -cnphpwnd99999@aliyun1395,cntaobao28tgwang -cnphpwnd99999@aliyun1396,cntaobao2943640aaaaa -cnphpwnd99999@aliyun1397,cntaobao2956216.liao -cnphpwnd99999@aliyun1398,cntaobao2977977zhangyuan -cnphpwnd99999@aliyun1399,cntaobao298399618huaguo -cnphpwnd99999@aliyun1400,cntaobao2a2bc -cnphpwnd99999@aliyun1401,cntaobao2a537 -cnphpwnd99999@aliyun1402,cntaobao2abc -cnphpwnd99999@aliyun1403,cntaobao2abrown -cnphpwnd99999@aliyun1404,cntaobao2ae2xa9 -cnphpwnd99999@aliyun1405,cntaobao2and3 -cnphpwnd99999@aliyun1406,cntaobao2ann8 -cnphpwnd99999@aliyun1407,cntaobao2asp -cnphpwnd99999@aliyun1408,cntaobao2baobei2 -cnphpwnd99999@aliyun1409,cntaobao2cafe -cnphpwnd99999@aliyun1410,cntaobao2cooldragon -cnphpwnd99999@aliyun1411,cntaobao2daye -cnphpwnd99999@aliyun1412,cntaobao2dazui2 -cnphpwnd99999@aliyun1413,cntaobao2fuliang -cnphpwnd99999@aliyun1414,cntaobao2han92ha0 -cnphpwnd99999@aliyun1415,cntaobao2hand -cnphpwnd99999@aliyun1416,cntaobao2happacarry -cnphpwnd99999@aliyun1417,cntaobao2hkyang -cnphpwnd99999@aliyun1418,cntaobao2hnb_cai -cnphpwnd99999@aliyun1419,cntaobao2huangchun -cnphpwnd99999@aliyun1420,cntaobao2jiayidianzi -cnphpwnd99999@aliyun1421,cntaobao2laopo1314 -cnphpwnd99999@aliyun1422,cntaobao2lian -cnphpwnd99999@aliyun1423,cntaobao2lovenba -cnphpwnd99999@aliyun1424,cntaobao2mao -cnphpwnd99999@aliyun1425,cntaobao2march -cnphpwnd99999@aliyun1426,cntaobao2muchheawven -cnphpwnd99999@aliyun1427,cntaobao2nature -cnphpwnd99999@aliyun1428,cntaobao2parv -cnphpwnd99999@aliyun1429,cntaobao2pengchuan -cnphpwnd99999@aliyun1430,cntaobao2qijian -cnphpwnd99999@aliyun1431,cntaobao2rainbow -cnphpwnd99999@aliyun1432,cntaobao2rave -cnphpwnd99999@aliyun1433,cntaobao2star -cnphpwnd99999@aliyun1434,cntaobao2superman0 -cnphpwnd99999@aliyun1435,cntaobao2tanya -cnphpwnd99999@aliyun1436,cntaobao2techerhappy -cnphpwnd99999@aliyun1437,cntaobao2wallj -cnphpwnd99999@aliyun1438,cntaobao2wawa -cnphpwnd99999@aliyun1439,cntaobao2wngjinfang -cnphpwnd99999@aliyun1440,cntaobao2woai -cnphpwnd99999@aliyun1441,cntaobao2xkeactyv8tc5ge -cnphpwnd99999@aliyun1442,cntaobao2yanggang -cnphpwnd99999@aliyun1443,cntaobao2yearslater -cnphpwnd99999@aliyun1444,cntaobao2zhaoxiang -cnphpwnd99999@aliyun1445,cntaobao2åˆ1 -cnphpwnd99999@aliyun1446,cntaobao2毛2 -cnphpwnd99999@aliyun1447,cntaobao30119388ab -cnphpwnd99999@aliyun1448,cntaobao3015997ab -cnphpwnd99999@aliyun1449,cntaobao301dalao -cnphpwnd99999@aliyun1450,cntaobao3022755a1 -cnphpwnd99999@aliyun1451,cntaobao30249194lanjing -cnphpwnd99999@aliyun1452,cntaobao303035642a -cnphpwnd99999@aliyun1453,cntaobao303088873haha -cnphpwnd99999@aliyun1454,cntaobao3036jaon3036 -cnphpwnd99999@aliyun1455,cntaobao304837290dai -cnphpwnd99999@aliyun1456,cntaobao3062623sang -cnphpwnd99999@aliyun1457,cntaobao307057891a -cnphpwnd99999@aliyun1458,cntaobao308230390yangshuo -cnphpwnd99999@aliyun1459,cntaobao308824911qzass -cnphpwnd99999@aliyun1460,cntaobao3089465a -cnphpwnd99999@aliyun1461,cntaobao308_miya -cnphpwnd99999@aliyun1462,cntaobao3090clamp -cnphpwnd99999@aliyun1463,cntaobao309531342ha -cnphpwnd99999@aliyun1464,cntaobao30cat -cnphpwnd99999@aliyun1465,cntaobao30jianglihong -cnphpwnd99999@aliyun1466,cntaobao30san -cnphpwnd99999@aliyun1467,cntaobao310230800316105a -cnphpwnd99999@aliyun1468,cntaobao310230zhoahuan -cnphpwnd99999@aliyun1469,cntaobao311212sally -cnphpwnd99999@aliyun1470,cntaobao311wang311 -cnphpwnd99999@aliyun1471,cntaobao312367988a -cnphpwnd99999@aliyun1472,cntaobao312cathryn -cnphpwnd99999@aliyun1473,cntaobao312xiaoxiao -cnphpwnd99999@aliyun1474,cntaobao313aaa -cnphpwnd99999@aliyun1475,cntaobao314159a -cnphpwnd99999@aliyun1476,cntaobao315376174luochao -cnphpwnd99999@aliyun1477,cntaobao31756407a -cnphpwnd99999@aliyun1478,cntaobao317hao -cnphpwnd99999@aliyun1479,cntaobao3185896a -cnphpwnd99999@aliyun1480,cntaobao318apple -cnphpwnd99999@aliyun1481,cntaobao31happy -cnphpwnd99999@aliyun1482,cntaobao320132a -cnphpwnd99999@aliyun1483,cntaobao3203393a -cnphpwnd99999@aliyun1484,cntaobao320724qaz -cnphpwnd99999@aliyun1485,cntaobao320superstar -cnphpwnd99999@aliyun1486,cntaobao3210abc0123 -cnphpwnd99999@aliyun1487,cntaobao321321wang -cnphpwnd99999@aliyun1488,cntaobao321a555 -cnphpwnd99999@aliyun1489,cntaobao321adws06 -cnphpwnd99999@aliyun1490,cntaobao321asdzxccai -cnphpwnd99999@aliyun1491,cntaobao321yangpb -cnphpwnd99999@aliyun1492,cntaobao3227832as -cnphpwnd99999@aliyun1493,cntaobao322jacky -cnphpwnd99999@aliyun1494,cntaobao323abc -cnphpwnd99999@aliyun1495,cntaobao325andycui -cnphpwnd99999@aliyun1496,cntaobao325maboan20 -cnphpwnd99999@aliyun1497,cntaobao3261253a -cnphpwnd99999@aliyun1498,cntaobao326ray -cnphpwnd99999@aliyun1499,cntaobao3272256qaz -cnphpwnd99999@aliyun1500,cntaobao3276520a -cnphpwnd99999@aliyun1501,cntaobao329abc -cnphpwnd99999@aliyun1502,cntaobao329zhao -cnphpwnd99999@aliyun1503,cntaobao32bage -cnphpwnd99999@aliyun1504,cntaobao32bian -cnphpwnd99999@aliyun1505,cntaobao32dandan -cnphpwnd99999@aliyun1506,cntaobao32haohao -cnphpwnd99999@aliyun1507,cntaobao32jason -cnphpwnd99999@aliyun1508,cntaobao33034shia -cnphpwnd99999@aliyun1509,cntaobao330xiaowei -cnphpwnd99999@aliyun1510,cntaobao3311222a -cnphpwnd99999@aliyun1511,cntaobao3317121a -cnphpwnd99999@aliyun1512,cntaobao331huangxiaohu -cnphpwnd99999@aliyun1513,cntaobao3322ada -cnphpwnd99999@aliyun1514,cntaobao332650wina -cnphpwnd99999@aliyun1515,cntaobao3327814a -cnphpwnd99999@aliyun1516,cntaobao3331234aaa -cnphpwnd99999@aliyun1517,cntaobao3333jaws -cnphpwnd99999@aliyun1518,cntaobao3339598a -cnphpwnd99999@aliyun1519,cntaobao333art -cnphpwnd99999@aliyun1520,cntaobao333dandan -cnphpwnd99999@aliyun1521,cntaobao333matrx -cnphpwnd99999@aliyun1522,cntaobao333star -cnphpwnd99999@aliyun1523,cntaobao3340abc -cnphpwnd99999@aliyun1524,cntaobao334452168ai -cnphpwnd99999@aliyun1525,cntaobao334560913wangjin -cnphpwnd99999@aliyun1526,cntaobao33669901a -cnphpwnd99999@aliyun1527,cntaobao336699aa -cnphpwnd99999@aliyun1528,cntaobao3392056abc -cnphpwnd99999@aliyun1529,cntaobao33aa66 -cnphpwnd99999@aliyun1530,cntaobao33ai66 -cnphpwnd99999@aliyun1531,cntaobao33angel -cnphpwnd99999@aliyun1532,cntaobao33dage -cnphpwnd99999@aliyun1533,cntaobao33dan -cnphpwnd99999@aliyun1534,cntaobao33gzhawk -cnphpwnd99999@aliyun1535,cntaobao33lanqiu -cnphpwnd99999@aliyun1536,cntaobao33sanjin -cnphpwnd99999@aliyun1537,cntaobao33snake33 -cnphpwnd99999@aliyun1538,cntaobao33xiaoying -cnphpwnd99999@aliyun1539,cntaobao342668270huang -cnphpwnd99999@aliyun1540,cntaobao3427646a -cnphpwnd99999@aliyun1541,cntaobao344485106a -cnphpwnd99999@aliyun1542,cntaobao344500a -cnphpwnd99999@aliyun1543,cntaobao344ddddka -cnphpwnd99999@aliyun1544,cntaobao345abc9528 -cnphpwnd99999@aliyun1545,cntaobao346783406aiai -cnphpwnd99999@aliyun1546,cntaobao3475550wangmeng -cnphpwnd99999@aliyun1547,cntaobao347andysj -cnphpwnd99999@aliyun1548,cntaobao349013352aa -cnphpwnd99999@aliyun1549,cntaobao3497688ma -cnphpwnd99999@aliyun1550,cntaobao349855664apple -cnphpwnd99999@aliyun1551,cntaobao34_yangyang -cnphpwnd99999@aliyun1552,cntaobao34tian -cnphpwnd99999@aliyun1553,cntaobao350110018lan -cnphpwnd99999@aliyun1554,cntaobao3501579a -cnphpwnd99999@aliyun1555,cntaobao350280905a -cnphpwnd99999@aliyun1556,cntaobao350dfans -cnphpwnd99999@aliyun1557,cntaobao3511438a -cnphpwnd99999@aliyun1558,cntaobao3516655asd -cnphpwnd99999@aliyun1559,cntaobao351aaa -cnphpwnd99999@aliyun1560,cntaobao35211325a -cnphpwnd99999@aliyun1561,cntaobao35326405wang -cnphpwnd99999@aliyun1562,cntaobao354268269abcde -cnphpwnd99999@aliyun1563,cntaobao355155409asd -cnphpwnd99999@aliyun1564,cntaobao3582han -cnphpwnd99999@aliyun1565,cntaobao359628781a -cnphpwnd99999@aliyun1566,cntaobao35hao -cnphpwnd99999@aliyun1567,cntaobao35kay -cnphpwnd99999@aliyun1568,cntaobao35mau -cnphpwnd99999@aliyun1569,cntaobao360122741asdfg -cnphpwnd99999@aliyun1570,cntaobao360850150zhouyang -cnphpwnd99999@aliyun1571,cntaobao360guojian -cnphpwnd99999@aliyun1572,cntaobao360hang -cnphpwnd99999@aliyun1573,cntaobao3624330shan520 -cnphpwnd99999@aliyun1574,cntaobao363993041yang -cnphpwnd99999@aliyun1575,cntaobao36448465wang -cnphpwnd99999@aliyun1576,cntaobao364647076a -cnphpwnd99999@aliyun1577,cntaobao365balancelife -cnphpwnd99999@aliyun1578,cntaobao365ca -cnphpwnd99999@aliyun1579,cntaobao365tian -cnphpwnd99999@aliyun1580,cntaobao365wangjia -cnphpwnd99999@aliyun1581,cntaobao365xiang -cnphpwnd99999@aliyun1582,cntaobao36838822hapl -cnphpwnd99999@aliyun1583,cntaobao369369qaz -cnphpwnd99999@aliyun1584,cntaobao369852147a -cnphpwnd99999@aliyun1585,cntaobao36987412a -cnphpwnd99999@aliyun1586,cntaobao369abc -cnphpwnd99999@aliyun1587,cntaobao369aszx -cnphpwnd99999@aliyun1588,cntaobao369mao -cnphpwnd99999@aliyun1589,cntaobao36oranges -cnphpwnd99999@aliyun1590,cntaobao3721haodong -cnphpwnd99999@aliyun1591,cntaobao3721mai -cnphpwnd99999@aliyun1592,cntaobao3721sina -cnphpwnd99999@aliyun1593,cntaobao373741554oka -cnphpwnd99999@aliyun1594,cntaobao373lance -cnphpwnd99999@aliyun1595,cntaobao3742haha -cnphpwnd99999@aliyun1596,cntaobao3772250fazi -cnphpwnd99999@aliyun1597,cntaobao378229678aa -cnphpwnd99999@aliyun1598,cntaobao378_hua -cnphpwnd99999@aliyun1599,cntaobao378xiao -cnphpwnd99999@aliyun1600,cntaobao379613721a -cnphpwnd99999@aliyun1601,cntaobao379871247ak -cnphpwnd99999@aliyun1602,cntaobao37a49b -cnphpwnd99999@aliyun1603,cntaobao3819031a -cnphpwnd99999@aliyun1604,cntaobao382165466abc -cnphpwnd99999@aliyun1605,cntaobao38384nima -cnphpwnd99999@aliyun1606,cntaobao385500a -cnphpwnd99999@aliyun1607,cntaobao3881988ab -cnphpwnd99999@aliyun1608,cntaobao38de1haolaogong -cnphpwnd99999@aliyun1609,cntaobao38qaz38 -cnphpwnd99999@aliyun1610,cntaobao38wentan -cnphpwnd99999@aliyun1611,cntaobao3911chao -cnphpwnd99999@aliyun1612,cntaobao39128huang -cnphpwnd99999@aliyun1613,cntaobao3915157abc -cnphpwnd99999@aliyun1614,cntaobao392233109yangjun -cnphpwnd99999@aliyun1615,cntaobao393382944liukang -cnphpwnd99999@aliyun1616,cntaobao394212406wang -cnphpwnd99999@aliyun1617,cntaobao395091500a -cnphpwnd99999@aliyun1618,cntaobao39532huang -cnphpwnd99999@aliyun1619,cntaobao3973016a -cnphpwnd99999@aliyun1620,cntaobao397963475aa -cnphpwnd99999@aliyun1621,cntaobao398120613ab -cnphpwnd99999@aliyun1622,cntaobao398904119tao -cnphpwnd99999@aliyun1623,cntaobao398969380wang -cnphpwnd99999@aliyun1624,cntaobao39rjsdrewmt -cnphpwnd99999@aliyun1625,cntaobao3a2bc -cnphpwnd99999@aliyun1626,cntaobao3a4b3c -cnphpwnd99999@aliyun1627,cntaobao3a6a3a8a5a0a7 -cnphpwnd99999@aliyun1628,cntaobao3afy800ceo -cnphpwnd99999@aliyun1629,cntaobao3ai99 -cnphpwnd99999@aliyun1630,cntaobao3aplus -cnphpwnd99999@aliyun1631,cntaobao3aqq -cnphpwnd99999@aliyun1632,cntaobao3ares -cnphpwnd99999@aliyun1633,cntaobao3avs235 -cnphpwnd99999@aliyun1634,cntaobao3ax31 -cnphpwnd99999@aliyun1635,cntaobao3beckham -cnphpwnd99999@aliyun1636,cntaobao3blacktea -cnphpwnd99999@aliyun1637,cntaobao3cai -cnphpwnd99999@aliyun1638,cntaobao3cat -cnphpwnd99999@aliyun1639,cntaobao3changjiang -cnphpwnd99999@aliyun1640,cntaobao3chuan -cnphpwnd99999@aliyun1641,cntaobao3dcao -cnphpwnd99999@aliyun1642,cntaobao3doumi -cnphpwnd99999@aliyun1643,cntaobao3dsmax1 -cnphpwnd99999@aliyun1644,cntaobao3dspace -cnphpwnd99999@aliyun1645,cntaobao3dylan7 -cnphpwnd99999@aliyun1646,cntaobao3ear -cnphpwnd99999@aliyun1647,cntaobao3eyouyang -cnphpwnd99999@aliyun1648,cntaobao3fatty -cnphpwnd99999@aliyun1649,cntaobao3gas -cnphpwnd99999@aliyun1650,cntaobao3hanbing -cnphpwnd99999@aliyun1651,cntaobao3have -cnphpwnd99999@aliyun1652,cntaobao3hdigital -cnphpwnd99999@aliyun1653,cntaobao3hehua -cnphpwnd99999@aliyun1654,cntaobao3hpm -cnphpwnd99999@aliyun1655,cntaobao3jiaomaoer -cnphpwnd99999@aliyun1656,cntaobao3lan3 -cnphpwnd99999@aliyun1657,cntaobao3lang1 -cnphpwnd99999@aliyun1658,cntaobao3liang -cnphpwnd99999@aliyun1659,cntaobao3manwalking -cnphpwnd99999@aliyun1660,cntaobao3nian -cnphpwnd99999@aliyun1661,cntaobao3panda3 -cnphpwnd99999@aliyun1662,cntaobao3qazwsx3qa -cnphpwnd99999@aliyun1663,cntaobao3san -cnphpwnd99999@aliyun1664,cntaobao3shan -cnphpwnd99999@aliyun1665,cntaobao3smaster -cnphpwnd99999@aliyun1666,cntaobao3squall -cnphpwnd99999@aliyun1667,cntaobao3tantantan -cnphpwnd99999@aliyun1668,cntaobao3w.ainiwe -cnphpwnd99999@aliyun1669,cntaobao3w.com -cnphpwnd99999@aliyun1670,cntaobao3wlubiao -cnphpwnd99999@aliyun1671,cntaobao3wzzy.china -cnphpwnd99999@aliyun1672,cntaobao3xinliangyi -cnphpwnd99999@aliyun1673,cntaobao3yatou -cnphpwnd99999@aliyun1674,cntaobao3years2004 -cnphpwnd99999@aliyun1675,cntaobao3yyang -cnphpwnd99999@aliyun1676,cntaobao3zhangchao -cnphpwnd99999@aliyun1677,cntaobao3zhanghai -cnphpwnd99999@aliyun1678,cntaobao3√17æ··è¡€ -cnphpwnd99999@aliyun1679,cntaobao4-degree -cnphpwnd99999@aliyun1680,cntaobao40110023baba -cnphpwnd99999@aliyun1681,cntaobao402252067_woaini -cnphpwnd99999@aliyun1682,cntaobao404322935aaaa -cnphpwnd99999@aliyun1683,cntaobao405123297a -cnphpwnd99999@aliyun1684,cntaobao405225392xiaoai -cnphpwnd99999@aliyun1685,cntaobao405763635yan -cnphpwnd99999@aliyun1686,cntaobao40596941a -cnphpwnd99999@aliyun1687,cntaobao407huasheng -cnphpwnd99999@aliyun1688,cntaobao407zhaaosheng -cnphpwnd99999@aliyun1689,cntaobao409760946wang -cnphpwnd99999@aliyun1690,cntaobao40dadao -cnphpwnd99999@aliyun1691,cntaobao413lena -cnphpwnd99999@aliyun1692,cntaobao41456268a -cnphpwnd99999@aliyun1693,cntaobao415067047rockmanx -cnphpwnd99999@aliyun1694,cntaobao415616925-zhang -cnphpwnd99999@aliyun1695,cntaobao41800132local -cnphpwnd99999@aliyun1696,cntaobao418apple -cnphpwnd99999@aliyun1697,cntaobao418zhanglin -cnphpwnd99999@aliyun1698,cntaobao41asb -cnphpwnd99999@aliyun1699,cntaobao42.zhal -cnphpwnd99999@aliyun1700,cntaobao420226887baiqing -cnphpwnd99999@aliyun1701,cntaobao4208huang -cnphpwnd99999@aliyun1702,cntaobao4210frank -cnphpwnd99999@aliyun1703,cntaobao421hanwei -cnphpwnd99999@aliyun1704,cntaobao422322asdf -cnphpwnd99999@aliyun1705,cntaobao4224866aa -cnphpwnd99999@aliyun1706,cntaobao4229100a -cnphpwnd99999@aliyun1707,cntaobao42469716as -cnphpwnd99999@aliyun1708,cntaobao424737601a -cnphpwnd99999@aliyun1709,cntaobao4254baby_ting -cnphpwnd99999@aliyun1710,cntaobao42568876chan -cnphpwnd99999@aliyun1711,cntaobao42692268w -cnphpwnd99999@aliyun1712,cntaobao426xiao -cnphpwnd99999@aliyun1713,cntaobao428abc -cnphpwnd99999@aliyun1714,cntaobao4293762113abcd -cnphpwnd99999@aliyun1715,cntaobao4298288yaoyuan -cnphpwnd99999@aliyun1716,cntaobao42iyan -cnphpwnd99999@aliyun1717,cntaobao4300526aa -cnphpwnd99999@aliyun1718,cntaobao4321asdf -cnphpwnd99999@aliyun1719,cntaobao432fang -cnphpwnd99999@aliyun1720,cntaobao434625974zhang -cnphpwnd99999@aliyun1721,cntaobao435673605_bacon -cnphpwnd99999@aliyun1722,cntaobao436wangzhiy -cnphpwnd99999@aliyun1723,cntaobao437091700happy -cnphpwnd99999@aliyun1724,cntaobao4400476tian -cnphpwnd99999@aliyun1725,cntaobao441315420a -cnphpwnd99999@aliyun1726,cntaobao4436315aaa -cnphpwnd99999@aliyun1727,cntaobao44444qa -cnphpwnd99999@aliyun1728,cntaobao4444aili -cnphpwnd99999@aliyun1729,cntaobao444aaa111 -cnphpwnd99999@aliyun1730,cntaobao445zhang -cnphpwnd99999@aliyun1731,cntaobao4488yjjatgss1080549782 -cnphpwnd99999@aliyun1732,cntaobao448xiang -cnphpwnd99999@aliyun1733,cntaobao44aa -cnphpwnd99999@aliyun1734,cntaobao4516300123zhang -cnphpwnd99999@aliyun1735,cntaobao453wodeai -cnphpwnd99999@aliyun1736,cntaobao45440058a -cnphpwnd99999@aliyun1737,cntaobao45454abc -cnphpwnd99999@aliyun1738,cntaobao456188876atxt -cnphpwnd99999@aliyun1739,cntaobao456789asc -cnphpwnd99999@aliyun1740,cntaobao456789qaz -cnphpwnd99999@aliyun1741,cntaobao456asdfgh -cnphpwnd99999@aliyun1742,cntaobao456wangxin -cnphpwnd99999@aliyun1743,cntaobao458huang -cnphpwnd99999@aliyun1744,cntaobao45afeng -cnphpwnd99999@aliyun1745,cntaobao462888414gaoyuan -cnphpwnd99999@aliyun1746,cntaobao468donna -cnphpwnd99999@aliyun1747,cntaobao468janet -cnphpwnd99999@aliyun1748,cntaobao468mu_keryan -cnphpwnd99999@aliyun1749,cntaobao469274554guan -cnphpwnd99999@aliyun1750,cntaobao4738240a -cnphpwnd99999@aliyun1751,cntaobao4784685a2 -cnphpwnd99999@aliyun1752,cntaobao47siqiban -cnphpwnd99999@aliyun1753,cntaobao4836abc -cnphpwnd99999@aliyun1754,cntaobao488_eilian -cnphpwnd99999@aliyun1755,cntaobao48days -cnphpwnd99999@aliyun1756,cntaobao48janet -cnphpwnd99999@aliyun1757,cntaobao49085572a -cnphpwnd99999@aliyun1758,cntaobao493qian -cnphpwnd99999@aliyun1759,cntaobao49664311a -cnphpwnd99999@aliyun1760,cntaobao498499wan -cnphpwnd99999@aliyun1761,cntaobao498_bian -cnphpwnd99999@aliyun1762,cntaobao49ak -cnphpwnd99999@aliyun1763,cntaobao4aaa -cnphpwnd99999@aliyun1764,cntaobao4aaaa -cnphpwnd99999@aliyun1765,cntaobao4achen -cnphpwnd99999@aliyun1766,cntaobao4andian -cnphpwnd99999@aliyun1767,cntaobao4dalin -cnphpwnd99999@aliyun1768,cntaobao4everjiajia -cnphpwnd99999@aliyun1769,cntaobao4everlucia -cnphpwnd99999@aliyun1770,cntaobao4glad -cnphpwnd99999@aliyun1771,cntaobao4hai8 -cnphpwnd99999@aliyun1772,cntaobao4halo4 -cnphpwnd99999@aliyun1773,cntaobao4kastor -cnphpwnd99999@aliyun1774,cntaobao4nai -cnphpwnd99999@aliyun1775,cntaobao4nianji -cnphpwnd99999@aliyun1776,cntaobao4oa_01 -cnphpwnd99999@aliyun1777,cntaobao4samuel -cnphpwnd99999@aliyun1778,cntaobao4sea -cnphpwnd99999@aliyun1779,cntaobao4uelva -cnphpwnd99999@aliyun1780,cntaobao4what -cnphpwnd99999@aliyun1781,cntaobao4year -cnphpwnd99999@aliyun1782,cntaobao5000wan -cnphpwnd99999@aliyun1783,cntaobao5009214yao -cnphpwnd99999@aliyun1784,cntaobao500wan -cnphpwnd99999@aliyun1785,cntaobao50181127930a -cnphpwnd99999@aliyun1786,cntaobao502305abcd -cnphpwnd99999@aliyun1787,cntaobao502zhuxiao -cnphpwnd99999@aliyun1788,cntaobao503allen -cnphpwnd99999@aliyun1789,cntaobao504suval -cnphpwnd99999@aliyun1790,cntaobao5050streetwear -cnphpwnd99999@aliyun1791,cntaobao505230b -cnphpwnd99999@aliyun1792,cntaobao5053920ab -cnphpwnd99999@aliyun1793,cntaobao5066wallyer -cnphpwnd99999@aliyun1794,cntaobao5081909a -cnphpwnd99999@aliyun1795,cntaobao508carrie -cnphpwnd99999@aliyun1796,cntaobao508fan -cnphpwnd99999@aliyun1797,cntaobao50centtimberlake -cnphpwnd99999@aliyun1798,cntaobao50guan -cnphpwnd99999@aliyun1799,cntaobao50yan -cnphpwnd99999@aliyun1800,cntaobao510000xiaoxiao -cnphpwnd99999@aliyun1801,cntaobao510abc -cnphpwnd99999@aliyun1802,cntaobao510xiongxiaomei -cnphpwnd99999@aliyun1803,cntaobao51131421adi -cnphpwnd99999@aliyun1804,cntaobao5117449wangpeng -cnphpwnd99999@aliyun1805,cntaobao511ac -cnphpwnd99999@aliyun1806,cntaobao51254766nihao -cnphpwnd99999@aliyun1807,cntaobao51288676a -cnphpwnd99999@aliyun1808,cntaobao512happy -cnphpwnd99999@aliyun1809,cntaobao512kason -cnphpwnd99999@aliyun1810,cntaobao512yangyang -cnphpwnd99999@aliyun1811,cntaobao513142adong -cnphpwnd99999@aliyun1812,cntaobao51410abc -cnphpwnd99999@aliyun1813,cntaobao514300zhangwei -cnphpwnd99999@aliyun1814,cntaobao514766857a -cnphpwnd99999@aliyun1815,cntaobao5151aya -cnphpwnd99999@aliyun1816,cntaobao5152tao -cnphpwnd99999@aliyun1817,cntaobao515952635a -cnphpwnd99999@aliyun1818,cntaobao515isfa -cnphpwnd99999@aliyun1819,cntaobao516692a -cnphpwnd99999@aliyun1820,cntaobao516aaa -cnphpwnd99999@aliyun1821,cntaobao516diamond -cnphpwnd99999@aliyun1822,cntaobao5175967qaz -cnphpwnd99999@aliyun1823,cntaobao5185168dragon -cnphpwnd99999@aliyun1824,cntaobao5188asd -cnphpwnd99999@aliyun1825,cntaobao5188yan -cnphpwnd99999@aliyun1826,cntaobao518glass -cnphpwnd99999@aliyun1827,cntaobao518lxay -cnphpwnd99999@aliyun1828,cntaobao518mail -cnphpwnd99999@aliyun1829,cntaobao5198a -cnphpwnd99999@aliyun1830,cntaobao51_baobao -cnphpwnd99999@aliyun1831,cntaobao51_liang -cnphpwnd99999@aliyun1832,cntaobao51ag -cnphpwnd99999@aliyun1833,cntaobao51ahbb -cnphpwnd99999@aliyun1834,cntaobao51apy -cnphpwnd99999@aliyun1835,cntaobao51augustine -cnphpwnd99999@aliyun1836,cntaobao51baobao -cnphpwnd99999@aliyun1837,cntaobao51baocou -cnphpwnd99999@aliyun1838,cntaobao51bargain -cnphpwnd99999@aliyun1839,cntaobao51daigou -cnphpwnd99999@aliyun1840,cntaobao51digital -cnphpwnd99999@aliyun1841,cntaobao51easy -cnphpwnd99999@aliyun1842,cntaobao51easy_soft -cnphpwnd99999@aliyun1843,cntaobao51fare -cnphpwnd99999@aliyun1844,cntaobao51fasd -cnphpwnd99999@aliyun1845,cntaobao51fashow -cnphpwnd99999@aliyun1846,cntaobao51haluo -cnphpwnd99999@aliyun1847,cntaobao51haobaobao -cnphpwnd99999@aliyun1848,cntaobao51happy -cnphpwnd99999@aliyun1849,cntaobao51hard -cnphpwnd99999@aliyun1850,cntaobao51huahua -cnphpwnd99999@aliyun1851,cntaobao51jackie -cnphpwnd99999@aliyun1852,cntaobao51jinbei -cnphpwnd99999@aliyun1853,cntaobao51jubao -cnphpwnd99999@aliyun1854,cntaobao51kaxiu -cnphpwnd99999@aliyun1855,cntaobao51maibaobei -cnphpwnd99999@aliyun1856,cntaobao51mybaby -cnphpwnd99999@aliyun1857,cntaobao51newsale -cnphpwnd99999@aliyun1858,cntaobao51play -cnphpwnd99999@aliyun1859,cntaobao51rain -cnphpwnd99999@aliyun1860,cntaobao51sakura88 -cnphpwnd99999@aliyun1861,cntaobao51sd-card -cnphpwnd99999@aliyun1862,cntaobao51sea -cnphpwnd99999@aliyun1863,cntaobao51shaw -cnphpwnd99999@aliyun1864,cntaobao51sunyanzi -cnphpwnd99999@aliyun1865,cntaobao51tango -cnphpwnd99999@aliyun1866,cntaobao51taobao -cnphpwnd99999@aliyun1867,cntaobao51warcraft -cnphpwnd99999@aliyun1868,cntaobao51watches.com -cnphpwnd99999@aliyun1869,cntaobao51woo -cnphpwnd99999@aliyun1870,cntaobao51yinshua -cnphpwnd99999@aliyun1871,cntaobao52007abc -cnphpwnd99999@aliyun1872,cntaobao5200aini -cnphpwnd99999@aliyun1873,cntaobao520123abc -cnphpwnd99999@aliyun1874,cntaobao5201314nzdmha -cnphpwnd99999@aliyun1875,cntaobao5201ssau -cnphpwnd99999@aliyun1876,cntaobao520520dna -cnphpwnd99999@aliyun1877,cntaobao520_aijie -cnphpwnd99999@aliyun1878,cntaobao520abcd1 -cnphpwnd99999@aliyun1879,cntaobao520aifei -cnphpwnd99999@aliyun1880,cntaobao520aiyantao -cnphpwnd99999@aliyun1881,cntaobao520ajjajj -cnphpwnd99999@aliyun1882,cntaobao520alice -cnphpwnd99999@aliyun1883,cntaobao520andyliu -cnphpwnd99999@aliyun1884,cntaobao520anson1314 -cnphpwnd99999@aliyun1885,cntaobao520apple2008 -cnphpwnd99999@aliyun1886,cntaobao520as -cnphpwnd99999@aliyun1887,cntaobao520axiao -cnphpwnd99999@aliyun1888,cntaobao520bailin -cnphpwnd99999@aliyun1889,cntaobao520baobao -cnphpwnd99999@aliyun1890,cntaobao520bar1 -cnphpwnd99999@aliyun1891,cntaobao520beckham -cnphpwnd99999@aliyun1892,cntaobao520biao -cnphpwnd99999@aliyun1893,cntaobao520carrie -cnphpwnd99999@aliyun1894,cntaobao520changzi -cnphpwnd99999@aliyun1895,cntaobao520chendechao -cnphpwnd99999@aliyun1896,cntaobao520dahai -cnphpwnd99999@aliyun1897,cntaobao520dina -cnphpwnd99999@aliyun1898,cntaobao520dugang -cnphpwnd99999@aliyun1899,cntaobao520fangfang -cnphpwnd99999@aliyun1900,cntaobao520fanghao -cnphpwnd99999@aliyun1901,cntaobao520gameboy3 -cnphpwnd99999@aliyun1902,cntaobao520guitar -cnphpwnd99999@aliyun1903,cntaobao520haha -cnphpwnd99999@aliyun1904,cntaobao520haining -cnphpwnd99999@aliyun1905,cntaobao520hang -cnphpwnd99999@aliyun1906,cntaobao520hotmail -cnphpwnd99999@aliyun1907,cntaobao520huashao -cnphpwnd99999@aliyun1908,cntaobao520jacky1314 -cnphpwnd99999@aliyun1909,cntaobao520jay1 -cnphpwnd99999@aliyun1910,cntaobao520jiangwenjing520 -cnphpwnd99999@aliyun1911,cntaobao520jinshaohua520 -cnphpwnd99999@aliyun1912,cntaobao520kangta -cnphpwnd99999@aliyun1913,cntaobao520karon -cnphpwnd99999@aliyun1914,cntaobao520liang -cnphpwnd99999@aliyun1915,cntaobao520liqianyi -cnphpwnd99999@aliyun1916,cntaobao520luoaiqing1314 -cnphpwnd99999@aliyun1917,cntaobao520mali -cnphpwnd99999@aliyun1918,cntaobao520mamin -cnphpwnd99999@aliyun1919,cntaobao520mawenxia -cnphpwnd99999@aliyun1920,cntaobao520nan -cnphpwnd99999@aliyun1921,cntaobao520qkhhafcu -cnphpwnd99999@aliyun1922,cntaobao520rainbow -cnphpwnd99999@aliyun1923,cntaobao520redapple -cnphpwnd99999@aliyun1924,cntaobao520romantic520 -cnphpwnd99999@aliyun1925,cntaobao520shan -cnphpwnd99999@aliyun1926,cntaobao520shangyajing -cnphpwnd99999@aliyun1927,cntaobao520shanhua -cnphpwnd99999@aliyun1928,cntaobao520shuai -cnphpwnd99999@aliyun1929,cntaobao520skjack -cnphpwnd99999@aliyun1930,cntaobao520skysea -cnphpwnd99999@aliyun1931,cntaobao520table -cnphpwnd99999@aliyun1932,cntaobao520tanghua -cnphpwnd99999@aliyun1933,cntaobao520tangtao -cnphpwnd99999@aliyun1934,cntaobao520tianxia -cnphpwnd99999@aliyun1935,cntaobao520wallace -cnphpwnd99999@aliyun1936,cntaobao520wanglei -cnphpwnd99999@aliyun1937,cntaobao520wangning520 -cnphpwnd99999@aliyun1938,cntaobao520wangyumeng -cnphpwnd99999@aliyun1939,cntaobao520wanwan -cnphpwnd99999@aliyun1940,cntaobao520waqp -cnphpwnd99999@aliyun1941,cntaobao520wengyuan -cnphpwnd99999@aliyun1942,cntaobao520xiangxiang -cnphpwnd99999@aliyun1943,cntaobao520xiaobudian -cnphpwnd99999@aliyun1944,cntaobao520xiaohai -cnphpwnd99999@aliyun1945,cntaobao520xiaohui -cnphpwnd99999@aliyun1946,cntaobao520xiatang -cnphpwnd99999@aliyun1947,cntaobao520xiayu -cnphpwnd99999@aliyun1948,cntaobao520xiehan520 -cnphpwnd99999@aliyun1949,cntaobao520xuewa -cnphpwnd99999@aliyun1950,cntaobao520yang520 -cnphpwnd99999@aliyun1951,cntaobao520yangyang -cnphpwnd99999@aliyun1952,cntaobao520yanhui -cnphpwnd99999@aliyun1953,cntaobao520yanjunxuan -cnphpwnd99999@aliyun1954,cntaobao520yaoyao -cnphpwnd99999@aliyun1955,cntaobao520yashi -cnphpwnd99999@aliyun1956,cntaobao520yuanfei -cnphpwnd99999@aliyun1957,cntaobao520zhangbing -cnphpwnd99999@aliyun1958,cntaobao520zhangfan -cnphpwnd99999@aliyun1959,cntaobao520zhanghao520 -cnphpwnd99999@aliyun1960,cntaobao520zhanglianhg -cnphpwnd99999@aliyun1961,cntaobao520雪人 -cnphpwnd99999@aliyun1962,cntaobao5211314az -cnphpwnd99999@aliyun1963,cntaobao5215717aa -cnphpwnd99999@aliyun1964,cntaobao5217go -cnphpwnd99999@aliyun1965,cntaobao52188mama521 -cnphpwnd99999@aliyun1966,cntaobao521_xiaoman -cnphpwnd99999@aliyun1967,cntaobao521aaawww -cnphpwnd99999@aliyun1968,cntaobao521alvin -cnphpwnd99999@aliyun1969,cntaobao521anan -cnphpwnd99999@aliyun1970,cntaobao521angel -cnphpwnd99999@aliyun1971,cntaobao521aqi -cnphpwnd99999@aliyun1972,cntaobao521caowenlong -cnphpwnd99999@aliyun1973,cntaobao521changjian -cnphpwnd99999@aliyun1974,cntaobao521china -cnphpwnd99999@aliyun1975,cntaobao521haha_2004 -cnphpwnd99999@aliyun1976,cntaobao521hanbing -cnphpwnd99999@aliyun1977,cntaobao521huaying -cnphpwnd99999@aliyun1978,cntaobao521laopo -cnphpwnd99999@aliyun1979,cntaobao521lian -cnphpwnd99999@aliyun1980,cntaobao521lijiang -cnphpwnd99999@aliyun1981,cntaobao521liningtao -cnphpwnd99999@aliyun1982,cntaobao521linjian -cnphpwnd99999@aliyun1983,cntaobao521lintao -cnphpwnd99999@aliyun1984,cntaobao521lishasha -cnphpwnd99999@aliyun1985,cntaobao521liujia -cnphpwnd99999@aliyun1986,cntaobao521liuna -cnphpwnd99999@aliyun1987,cntaobao521liuweilaopo -cnphpwnd99999@aliyun1988,cntaobao521liyangyang -cnphpwnd99999@aliyun1989,cntaobao521luodan -cnphpwnd99999@aliyun1990,cntaobao521maoying -cnphpwnd99999@aliyun1991,cntaobao521oyangmao -cnphpwnd99999@aliyun1992,cntaobao521sanfeng -cnphpwnd99999@aliyun1993,cntaobao521shanshan -cnphpwnd99999@aliyun1994,cntaobao521slwda -cnphpwnd99999@aliyun1995,cntaobao521tantan -cnphpwnd99999@aliyun1996,cntaobao521tianmeimei -cnphpwnd99999@aliyun1997,cntaobao521tianyu521 -cnphpwnd99999@aliyun1998,cntaobao521toya -cnphpwnd99999@aliyun1999,cntaobao521wangfei -cnphpwnd99999@aliyun2000,cntaobao521wangniou -cnphpwnd99999@aliyun2001,cntaobao521wangyu -cnphpwnd99999@aliyun2002,cntaobao521woaini -cnphpwnd99999@aliyun2003,cntaobao521xiaofei -cnphpwnd99999@aliyun2004,cntaobao521xiaomao -cnphpwnd99999@aliyun2005,cntaobao521xuejuan -cnphpwnd99999@aliyun2006,cntaobao521yad -cnphpwnd99999@aliyun2007,cntaobao521yaoqianfeng -cnphpwnd99999@aliyun2008,cntaobao5226280abc -cnphpwnd99999@aliyun2009,cntaobao5229957aa -cnphpwnd99999@aliyun2010,cntaobao5230aa -cnphpwnd99999@aliyun2011,cntaobao5236asc -cnphpwnd99999@aliyun2012,cntaobao52377403fish -cnphpwnd99999@aliyun2013,cntaobao5238987abc -cnphpwnd99999@aliyun2014,cntaobao523jia -cnphpwnd99999@aliyun2015,cntaobao523tanjing -cnphpwnd99999@aliyun2016,cntaobao5241xiaokeai -cnphpwnd99999@aliyun2017,cntaobao524wilma -cnphpwnd99999@aliyun2018,cntaobao5250_apple -cnphpwnd99999@aliyun2019,cntaobao525252bao -cnphpwnd99999@aliyun2020,cntaobao5252929a -cnphpwnd99999@aliyun2021,cntaobao5254a -cnphpwnd99999@aliyun2022,cntaobao525baby -cnphpwnd99999@aliyun2023,cntaobao525may -cnphpwnd99999@aliyun2024,cntaobao527jianannan -cnphpwnd99999@aliyun2025,cntaobao527muchuan -cnphpwnd99999@aliyun2026,cntaobao52811zhao -cnphpwnd99999@aliyun2027,cntaobao528491lishuai -cnphpwnd99999@aliyun2028,cntaobao528_zhao -cnphpwnd99999@aliyun2029,cntaobao52ab -cnphpwnd99999@aliyun2030,cntaobao52ace -cnphpwnd99999@aliyun2031,cntaobao52afm -cnphpwnd99999@aliyun2032,cntaobao52asp -cnphpwnd99999@aliyun2033,cntaobao52baby -cnphpwnd99999@aliyun2034,cntaobao52baby7 -cnphpwnd99999@aliyun2035,cntaobao52bailu -cnphpwnd99999@aliyun2036,cntaobao52boda -cnphpwnd99999@aliyun2037,cntaobao52cash -cnphpwnd99999@aliyun2038,cntaobao52cynthia -cnphpwnd99999@aliyun2039,cntaobao52dan57 -cnphpwnd99999@aliyun2040,cntaobao52daye -cnphpwnd99999@aliyun2041,cntaobao52dongman.net -cnphpwnd99999@aliyun2042,cntaobao52each -cnphpwnd99999@aliyun2043,cntaobao52gangpang -cnphpwnd99999@aliyun2044,cntaobao52hyacinth -cnphpwnd99999@aliyun2045,cntaobao52iruka -cnphpwnd99999@aliyun2046,cntaobao52janny -cnphpwnd99999@aliyun2047,cntaobao52jiayi -cnphpwnd99999@aliyun2048,cntaobao52joan -cnphpwnd99999@aliyun2049,cntaobao52mai -cnphpwnd99999@aliyun2050,cntaobao52maomao -cnphpwnd99999@aliyun2051,cntaobao52mary -cnphpwnd99999@aliyun2052,cntaobao52mianfei -cnphpwnd99999@aliyun2053,cntaobao52miyavi -cnphpwnd99999@aliyun2054,cntaobao52nicholas -cnphpwnd99999@aliyun2055,cntaobao52play -cnphpwnd99999@aliyun2056,cntaobao52qianlima -cnphpwnd99999@aliyun2057,cntaobao52quixtar -cnphpwnd99999@aliyun2058,cntaobao52radio -cnphpwnd99999@aliyun2059,cntaobao52rakey -cnphpwnd99999@aliyun2060,cntaobao52samsung129 -cnphpwnd99999@aliyun2061,cntaobao52sea -cnphpwnd99999@aliyun2062,cntaobao52shaw -cnphpwnd99999@aliyun2063,cntaobao52shuchang -cnphpwnd99999@aliyun2064,cntaobao52shuna1314 -cnphpwnd99999@aliyun2065,cntaobao52taotao -cnphpwnd99999@aliyun2066,cntaobao52tian -cnphpwnd99999@aliyun2067,cntaobao52tianyang -cnphpwnd99999@aliyun2068,cntaobao52twinssa -cnphpwnd99999@aliyun2069,cntaobao52vivian -cnphpwnd99999@aliyun2070,cntaobao52xia -cnphpwnd99999@aliyun2071,cntaobao52xianshuyi -cnphpwnd99999@aliyun2072,cntaobao52xiao -cnphpwnd99999@aliyun2073,cntaobao52xiaobai -cnphpwnd99999@aliyun2074,cntaobao52xiaofeng -cnphpwnd99999@aliyun2075,cntaobao52xiaogezi -cnphpwnd99999@aliyun2076,cntaobao52xiaoya -cnphpwnd99999@aliyun2077,cntaobao52xiasha -cnphpwnd99999@aliyun2078,cntaobao52xuancai -cnphpwnd99999@aliyun2079,cntaobao52yajuan -cnphpwnd99999@aliyun2080,cntaobao52yangtao -cnphpwnd99999@aliyun2081,cntaobao52yanxueying -cnphpwnd99999@aliyun2082,cntaobao52yuanqing -cnphpwnd99999@aliyun2083,cntaobao52yuchao -cnphpwnd99999@aliyun2084,cntaobao52zhaojie -cnphpwnd99999@aliyun2085,cntaobao52å°èˆž -cnphpwnd99999@aliyun2086,cntaobao530adidas -cnphpwnd99999@aliyun2087,cntaobao530chengang -cnphpwnd99999@aliyun2088,cntaobao530xiaofang -cnphpwnd99999@aliyun2089,cntaobao531525789woaiying -cnphpwnd99999@aliyun2090,cntaobao5325250malei -cnphpwnd99999@aliyun2091,cntaobao533-darkhorse -cnphpwnd99999@aliyun2092,cntaobao53467994zhang -cnphpwnd99999@aliyun2093,cntaobao53589370a -cnphpwnd99999@aliyun2094,cntaobao536happyhour -cnphpwnd99999@aliyun2095,cntaobao538_roxanne -cnphpwnd99999@aliyun2096,cntaobao53myflashsky -cnphpwnd99999@aliyun2097,cntaobao53trade -cnphpwnd99999@aliyun2098,cntaobao5400754007a -cnphpwnd99999@aliyun2099,cntaobao540asasas -cnphpwnd99999@aliyun2100,cntaobao540å°é“º -cnphpwnd99999@aliyun2101,cntaobao541788hao -cnphpwnd99999@aliyun2102,cntaobao54188wallyy -cnphpwnd99999@aliyun2103,cntaobao54188wan -cnphpwnd99999@aliyun2104,cntaobao541rainman -cnphpwnd99999@aliyun2105,cntaobao5420775a -cnphpwnd99999@aliyun2106,cntaobao543276spark -cnphpwnd99999@aliyun2107,cntaobao54384670wang -cnphpwnd99999@aliyun2108,cntaobao5444429jinhao -cnphpwnd99999@aliyun2109,cntaobao545dsafasf -cnphpwnd99999@aliyun2110,cntaobao5460baby -cnphpwnd99999@aliyun2111,cntaobao54_angel -cnphpwnd99999@aliyun2112,cntaobao54_sang -cnphpwnd99999@aliyun2113,cntaobao54ajr -cnphpwnd99999@aliyun2114,cntaobao54al -cnphpwnd99999@aliyun2115,cntaobao54angie -cnphpwnd99999@aliyun2116,cntaobao54anson -cnphpwnd99999@aliyun2117,cntaobao54asura -cnphpwnd99999@aliyun2118,cntaobao54babbyww -cnphpwnd99999@aliyun2119,cntaobao54badboy -cnphpwnd99999@aliyun2120,cntaobao54baidu -cnphpwnd99999@aliyun2121,cntaobao54bennvhai -cnphpwnd99999@aliyun2122,cntaobao54cashen -cnphpwnd99999@aliyun2123,cntaobao54chaojiwudilq -cnphpwnd99999@aliyun2124,cntaobao54dada -cnphpwnd99999@aliyun2125,cntaobao54e-fan -cnphpwnd99999@aliyun2126,cntaobao54fanrui -cnphpwnd99999@aliyun2127,cntaobao54fishman -cnphpwnd99999@aliyun2128,cntaobao54garyzhou -cnphpwnd99999@aliyun2129,cntaobao54hanchang -cnphpwnd99999@aliyun2130,cntaobao54happy1 -cnphpwnd99999@aliyun2131,cntaobao54iam -cnphpwnd99999@aliyun2132,cntaobao54lala -cnphpwnd99999@aliyun2133,cntaobao54laoyang -cnphpwnd99999@aliyun2134,cntaobao54maizi -cnphpwnd99999@aliyun2135,cntaobao54mama -cnphpwnd99999@aliyun2136,cntaobao54natalia -cnphpwnd99999@aliyun2137,cntaobao54pengxiaohua -cnphpwnd99999@aliyun2138,cntaobao54rainpoint -cnphpwnd99999@aliyun2139,cntaobao54sars -cnphpwnd99999@aliyun2140,cntaobao54tang -cnphpwnd99999@aliyun2141,cntaobao54tianmo -cnphpwnd99999@aliyun2142,cntaobao54tianzun -cnphpwnd99999@aliyun2143,cntaobao54xiaofei -cnphpwnd99999@aliyun2144,cntaobao54xiaoyun -cnphpwnd99999@aliyun2145,cntaobao54yanyan -cnphpwnd99999@aliyun2146,cntaobao54yuan -cnphpwnd99999@aliyun2147,cntaobao54zhangbo -cnphpwnd99999@aliyun2148,cntaobao54zhyan -cnphpwnd99999@aliyun2149,cntaobao54狼 -cnphpwnd99999@aliyun2150,cntaobao550wanting -cnphpwnd99999@aliyun2151,cntaobao5521t -cnphpwnd99999@aliyun2152,cntaobao5522384zhang -cnphpwnd99999@aliyun2153,cntaobao55256yangguang -cnphpwnd99999@aliyun2154,cntaobao555555aaaaaa88 -cnphpwnd99999@aliyun2155,cntaobao55555tao -cnphpwnd99999@aliyun2156,cntaobao555aispl -cnphpwnd99999@aliyun2157,cntaobao555fanny -cnphpwnd99999@aliyun2158,cntaobao555jacke -cnphpwnd99999@aliyun2159,cntaobao555jkyang -cnphpwnd99999@aliyun2160,cntaobao555xiaowei -cnphpwnd99999@aliyun2161,cntaobao5566334nba -cnphpwnd99999@aliyun2162,cntaobao5566_tian -cnphpwnd99999@aliyun2163,cntaobao5566a -cnphpwnd99999@aliyun2164,cntaobao5566a8 -cnphpwnd99999@aliyun2165,cntaobao5566angel -cnphpwnd99999@aliyun2166,cntaobao5566haihai -cnphpwnd99999@aliyun2167,cntaobao5567seal -cnphpwnd99999@aliyun2168,cntaobao5571497woaini -cnphpwnd99999@aliyun2169,cntaobao5575512a -cnphpwnd99999@aliyun2170,cntaobao5580830_tansai -cnphpwnd99999@aliyun2171,cntaobao5583908a -cnphpwnd99999@aliyun2172,cntaobao55887878aa -cnphpwnd99999@aliyun2173,cntaobao558aa6 -cnphpwnd99999@aliyun2174,cntaobao55909906bao -cnphpwnd99999@aliyun2175,cntaobao55963874sai -cnphpwnd99999@aliyun2176,cntaobao55aa -cnphpwnd99999@aliyun2177,cntaobao55adeline -cnphpwnd99999@aliyun2178,cntaobao55awslutdl -cnphpwnd99999@aliyun2179,cntaobao55babyblue55 -cnphpwnd99999@aliyun2180,cntaobao55canny -cnphpwnd99999@aliyun2181,cntaobao55chanel66 -cnphpwnd99999@aliyun2182,cntaobao55jiang -cnphpwnd99999@aliyun2183,cntaobao56087lan -cnphpwnd99999@aliyun2184,cntaobao5610asdf_120 -cnphpwnd99999@aliyun2185,cntaobao5618586abc -cnphpwnd99999@aliyun2186,cntaobao5636877a -cnphpwnd99999@aliyun2187,cntaobao5677apple -cnphpwnd99999@aliyun2188,cntaobao5678129tan -cnphpwnd99999@aliyun2189,cntaobao567babala21 -cnphpwnd99999@aliyun2190,cntaobao5697987a -cnphpwnd99999@aliyun2191,cntaobao5698abcd -cnphpwnd99999@aliyun2192,cntaobao56angel -cnphpwnd99999@aliyun2193,cntaobao56apples -cnphpwnd99999@aliyun2194,cntaobao56hlj -cnphpwnd99999@aliyun2195,cntaobao56nana -cnphpwnd99999@aliyun2196,cntaobao5719042cao -cnphpwnd99999@aliyun2197,cntaobao572013a -cnphpwnd99999@aliyun2198,cntaobao5732abc -cnphpwnd99999@aliyun2199,cntaobao573shawn -cnphpwnd99999@aliyun2200,cntaobao5746138abc -cnphpwnd99999@aliyun2201,cntaobao57527668a -cnphpwnd99999@aliyun2202,cntaobao5767560wangyonggang -cnphpwnd99999@aliyun2203,cntaobao578zao -cnphpwnd99999@aliyun2204,cntaobao5791885a -cnphpwnd99999@aliyun2205,cntaobao57game -cnphpwnd99999@aliyun2206,cntaobao57xiaoxiao -cnphpwnd99999@aliyun2207,cntaobao5801675abc -cnphpwnd99999@aliyun2208,cntaobao581239_papa -cnphpwnd99999@aliyun2209,cntaobao58222299faye -cnphpwnd99999@aliyun2210,cntaobao5826a -cnphpwnd99999@aliyun2211,cntaobao58336a -cnphpwnd99999@aliyun2212,cntaobao5835017daifei -cnphpwnd99999@aliyun2213,cntaobao583loribafeiyou -cnphpwnd99999@aliyun2214,cntaobao584cat -cnphpwnd99999@aliyun2215,cntaobao584woxiangni -cnphpwnd99999@aliyun2216,cntaobao5860wang -cnphpwnd99999@aliyun2217,cntaobao5861658aaa -cnphpwnd99999@aliyun2218,cntaobao58627cyhua -cnphpwnd99999@aliyun2219,cntaobao5868081a -cnphpwnd99999@aliyun2220,cntaobao5888122ab -cnphpwnd99999@aliyun2221,cntaobao589a42b -cnphpwnd99999@aliyun2222,cntaobao58_franklin -cnphpwnd99999@aliyun2223,cntaobao58a23 -cnphpwnd99999@aliyun2224,cntaobao58miao -cnphpwnd99999@aliyun2225,cntaobao5911861a -cnphpwnd99999@aliyun2226,cntaobao592cdma -cnphpwnd99999@aliyun2227,cntaobao5945taozi -cnphpwnd99999@aliyun2228,cntaobao594allan -cnphpwnd99999@aliyun2229,cntaobao59cai -cnphpwnd99999@aliyun2230,cntaobao5a888 -cnphpwnd99999@aliyun2231,cntaobao5aim -cnphpwnd99999@aliyun2232,cntaobao5aisha -cnphpwnd99999@aliyun2233,cntaobao5aishuaya -cnphpwnd99999@aliyun2234,cntaobao5aiwen -cnphpwnd99999@aliyun2235,cntaobao5aiyao -cnphpwnd99999@aliyun2236,cntaobao5aiyi -cnphpwnd99999@aliyun2237,cntaobao5aizb -cnphpwnd99999@aliyun2238,cntaobao5aizhlili520 -cnphpwnd99999@aliyun2239,cntaobao5ameman -cnphpwnd99999@aliyun2240,cntaobao5ang7ian -cnphpwnd99999@aliyun2241,cntaobao5asd -cnphpwnd99999@aliyun2242,cntaobao5att -cnphpwnd99999@aliyun2243,cntaobao5baichi -cnphpwnd99999@aliyun2244,cntaobao5bay -cnphpwnd99999@aliyun2245,cntaobao5c-trade -cnphpwnd99999@aliyun2246,cntaobao5caonimama -cnphpwnd99999@aliyun2247,cntaobao5demail -cnphpwnd99999@aliyun2248,cntaobao5dollar -cnphpwnd99999@aliyun2249,cntaobao5fiexiang -cnphpwnd99999@aliyun2250,cntaobao5game -cnphpwnd99999@aliyun2251,cntaobao5ht-auenue -cnphpwnd99999@aliyun2252,cntaobao5i0ai -cnphpwnd99999@aliyun2253,cntaobao5i5baby -cnphpwnd99999@aliyun2254,cntaobao5iangel -cnphpwnd99999@aliyun2255,cntaobao5icool -cnphpwnd99999@aliyun2256,cntaobao5idajia -cnphpwnd99999@aliyun2257,cntaobao5idea -cnphpwnd99999@aliyun2258,cntaobao5imybaby -cnphpwnd99999@aliyun2259,cntaobao5inamoto -cnphpwnd99999@aliyun2260,cntaobao5ipapa -cnphpwnd99999@aliyun2261,cntaobao5isam -cnphpwnd99999@aliyun2262,cntaobao5isamsung -cnphpwnd99999@aliyun2263,cntaobao5isean -cnphpwnd99999@aliyun2264,cntaobao5itravel -cnphpwnd99999@aliyun2265,cntaobao5iwoailuo -cnphpwnd99999@aliyun2266,cntaobao5j5i -cnphpwnd99999@aliyun2267,cntaobao5jaykon -cnphpwnd99999@aliyun2268,cntaobao5jbaby -cnphpwnd99999@aliyun2269,cntaobao5jiao -cnphpwnd99999@aliyun2270,cntaobao5koecat -cnphpwnd99999@aliyun2271,cntaobao5liao -cnphpwnd99999@aliyun2272,cntaobao5liaoyurong -cnphpwnd99999@aliyun2273,cntaobao5maifei -cnphpwnd99999@aliyun2274,cntaobao5mcar.com -cnphpwnd99999@aliyun2275,cntaobao5nanzu -cnphpwnd99999@aliyun2276,cntaobao5q3a1z7p9l -cnphpwnd99999@aliyun2277,cntaobao5rrgrdpa -cnphpwnd99999@aliyun2278,cntaobao5th_season -cnphpwnd99999@aliyun2279,cntaobao5thspace -cnphpwnd99999@aliyun2280,cntaobao5tianya -cnphpwnd99999@aliyun2281,cntaobao5to20 -cnphpwnd99999@aliyun2282,cntaobao5udnuce53563fa -cnphpwnd99999@aliyun2283,cntaobao5wan_1wan -cnphpwnd99999@aliyun2284,cntaobao5wangkai123 -cnphpwnd99999@aliyun2285,cntaobao5water -cnphpwnd99999@aliyun2286,cntaobao5xiang168 -cnphpwnd99999@aliyun2287,cntaobao5xiang2 -cnphpwnd99999@aliyun2288,cntaobao5xiaoqiang5 -cnphpwnd99999@aliyun2289,cntaobao5years -cnphpwnd99999@aliyun2290,cntaobao6-328man -cnphpwnd99999@aliyun2291,cntaobao601ashley -cnphpwnd99999@aliyun2292,cntaobao6032263abc -cnphpwnd99999@aliyun2293,cntaobao603_douglas -cnphpwnd99999@aliyun2294,cntaobao604bad -cnphpwnd99999@aliyun2295,cntaobao6060521hao -cnphpwnd99999@aliyun2296,cntaobao60dadao -cnphpwnd99999@aliyun2297,cntaobao60pamela -cnphpwnd99999@aliyun2298,cntaobao610000gongtao -cnphpwnd99999@aliyun2299,cntaobao610aaz -cnphpwnd99999@aliyun2300,cntaobao610tracy -cnphpwnd99999@aliyun2301,cntaobao611liuyaoyao -cnphpwnd99999@aliyun2302,cntaobao611sushewoai -cnphpwnd99999@aliyun2303,cntaobao613jason -cnphpwnd99999@aliyun2304,cntaobao614peach -cnphpwnd99999@aliyun2305,cntaobao618antony -cnphpwnd99999@aliyun2306,cntaobao618hao -cnphpwnd99999@aliyun2307,cntaobao619shangjiayu -cnphpwnd99999@aliyun2308,cntaobao61guitar -cnphpwnd99999@aliyun2309,cntaobao62077wang -cnphpwnd99999@aliyun2310,cntaobao620dragon -cnphpwnd99999@aliyun2311,cntaobao622290a -cnphpwnd99999@aliyun2312,cntaobao6222910abc -cnphpwnd99999@aliyun2313,cntaobao6229a -cnphpwnd99999@aliyun2314,cntaobao623omega -cnphpwnd99999@aliyun2315,cntaobao62567718a -cnphpwnd99999@aliyun2316,cntaobao62673210a -cnphpwnd99999@aliyun2317,cntaobao628a-tang -cnphpwnd99999@aliyun2318,cntaobao629shadow -cnphpwnd99999@aliyun2319,cntaobao63061259zaq -cnphpwnd99999@aliyun2320,cntaobao630625ab -cnphpwnd99999@aliyun2321,cntaobao63078118a -cnphpwnd99999@aliyun2322,cntaobao6351414a41 -cnphpwnd99999@aliyun2323,cntaobao6352670a -cnphpwnd99999@aliyun2324,cntaobao63578a -cnphpwnd99999@aliyun2325,cntaobao636_wang -cnphpwnd99999@aliyun2326,cntaobao6378695a -cnphpwnd99999@aliyun2327,cntaobao638_selma -cnphpwnd99999@aliyun2328,cntaobao6394935wang -cnphpwnd99999@aliyun2329,cntaobao63france -cnphpwnd99999@aliyun2330,cntaobao63guan -cnphpwnd99999@aliyun2331,cntaobao6401371qaz -cnphpwnd99999@aliyun2332,cntaobao640522yang -cnphpwnd99999@aliyun2333,cntaobao64061145a -cnphpwnd99999@aliyun2334,cntaobao6442182ya -cnphpwnd99999@aliyun2335,cntaobao6480081a -cnphpwnd99999@aliyun2336,cntaobao64822242wokao -cnphpwnd99999@aliyun2337,cntaobao64890204maomao -cnphpwnd99999@aliyun2338,cntaobao6507853a -cnphpwnd99999@aliyun2339,cntaobao6513546caui -cnphpwnd99999@aliyun2340,cntaobao65251210qaz -cnphpwnd99999@aliyun2341,cntaobao6531535mat -cnphpwnd99999@aliyun2342,cntaobao654654a -cnphpwnd99999@aliyun2343,cntaobao6549mai -cnphpwnd99999@aliyun2344,cntaobao654ak123 -cnphpwnd99999@aliyun2345,cntaobao654nana -cnphpwnd99999@aliyun2346,cntaobao6560702qazxsw9 -cnphpwnd99999@aliyun2347,cntaobao65726277ab -cnphpwnd99999@aliyun2348,cntaobao6574160aini -cnphpwnd99999@aliyun2349,cntaobao6591catherine -cnphpwnd99999@aliyun2350,cntaobao6635207as -cnphpwnd99999@aliyun2351,cntaobao6650460zhang -cnphpwnd99999@aliyun2352,cntaobao666018a -cnphpwnd99999@aliyun2353,cntaobao66618wan -cnphpwnd99999@aliyun2354,cntaobao6663626aa -cnphpwnd99999@aliyun2355,cntaobao66659968dai -cnphpwnd99999@aliyun2356,cntaobao666asdfghjkl -cnphpwnd99999@aliyun2357,cntaobao666fang -cnphpwnd99999@aliyun2358,cntaobao666jiangyue666 -cnphpwnd99999@aliyun2359,cntaobao666lzy -cnphpwnd99999@aliyun2360,cntaobao666seraph888 -cnphpwnd99999@aliyun2361,cntaobao666xiaomao -cnphpwnd99999@aliyun2362,cntaobao66708317a -cnphpwnd99999@aliyun2363,cntaobao66750188788178anlin -cnphpwnd99999@aliyun2364,cntaobao6677a -cnphpwnd99999@aliyun2365,cntaobao668866xian -cnphpwnd99999@aliyun2366,cntaobao6688801a1 -cnphpwnd99999@aliyun2367,cntaobao6688_qiang -cnphpwnd99999@aliyun2368,cntaobao668tianming -cnphpwnd99999@aliyun2369,cntaobao66983987a -cnphpwnd99999@aliyun2370,cntaobao6699as -cnphpwnd99999@aliyun2371,cntaobao66acl -cnphpwnd99999@aliyun2372,cntaobao66carol -cnphpwnd99999@aliyun2373,cntaobao66fanjingjing -cnphpwnd99999@aliyun2374,cntaobao66isabella -cnphpwnd99999@aliyun2375,cntaobao66ivywang -cnphpwnd99999@aliyun2376,cntaobao66jiankang -cnphpwnd99999@aliyun2377,cntaobao66linda -cnphpwnd99999@aliyun2378,cntaobao66liuyang -cnphpwnd99999@aliyun2379,cntaobao66qijiumao -cnphpwnd99999@aliyun2380,cntaobao66yuwentao88 -cnphpwnd99999@aliyun2381,cntaobao6711087aa -cnphpwnd99999@aliyun2382,cntaobao67170700a -cnphpwnd99999@aliyun2383,cntaobao67190780a_ -cnphpwnd99999@aliyun2384,cntaobao67454049aa -cnphpwnd99999@aliyun2385,cntaobao6753800xiao -cnphpwnd99999@aliyun2386,cntaobao6767ab -cnphpwnd99999@aliyun2387,cntaobao67830085a -cnphpwnd99999@aliyun2388,cntaobao678fang -cnphpwnd99999@aliyun2389,cntaobao67996221aa -cnphpwnd99999@aliyun2390,cntaobao68018829zhangwen -cnphpwnd99999@aliyun2391,cntaobao6863569zhang -cnphpwnd99999@aliyun2392,cntaobao6886woaini -cnphpwnd99999@aliyun2393,cntaobao6894355maqing -cnphpwnd99999@aliyun2394,cntaobao68984abc-c -cnphpwnd99999@aliyun2395,cntaobao6899728hao -cnphpwnd99999@aliyun2396,cntaobao68gao11 -cnphpwnd99999@aliyun2397,cntaobao690578caxx -cnphpwnd99999@aliyun2398,cntaobao6910151023lixiang -cnphpwnd99999@aliyun2399,cntaobao6983127aaa -cnphpwnd99999@aliyun2400,cntaobao69xianman -cnphpwnd99999@aliyun2401,cntaobao6_9s -cnphpwnd99999@aliyun2402,cntaobao6a69027156 -cnphpwnd99999@aliyun2403,cntaobao6angel -cnphpwnd99999@aliyun2404,cntaobao6auto2 -cnphpwnd99999@aliyun2405,cntaobao6dongangxm -cnphpwnd99999@aliyun2406,cntaobao6edward9 -cnphpwnd99999@aliyun2407,cntaobao6fansizhe -cnphpwnd99999@aliyun2408,cntaobao6flame -cnphpwnd99999@aliyun2409,cntaobao6gaoyun -cnphpwnd99999@aliyun2410,cntaobao6haiy -cnphpwnd99999@aliyun2411,cntaobao6hao -cnphpwnd99999@aliyun2412,cntaobao6ju2lc8jazru9z -cnphpwnd99999@aliyun2413,cntaobao6keapndv7e -cnphpwnd99999@aliyun2414,cntaobao6make -cnphpwnd99999@aliyun2415,cntaobao6mudan -cnphpwnd99999@aliyun2416,cntaobao6qw0tkbytatvtv4wdn -cnphpwnd99999@aliyun2417,cntaobao6unica -cnphpwnd99999@aliyun2418,cntaobao6vba133 -cnphpwnd99999@aliyun2419,cntaobao6vxe7 -cnphpwnd99999@aliyun2420,cntaobao6wangfang -cnphpwnd99999@aliyun2421,cntaobao6wayd5 -cnphpwnd99999@aliyun2422,cntaobao6xiaoyu -cnphpwnd99999@aliyun2423,cntaobao7-11-saler -cnphpwnd99999@aliyun2424,cntaobao7010302004aaaaaaaa -cnphpwnd99999@aliyun2425,cntaobao701217a5 -cnphpwnd99999@aliyun2426,cntaobao707zhangfengde -cnphpwnd99999@aliyun2427,cntaobao70ages -cnphpwnd99999@aliyun2428,cntaobao710600wozaishenbian -cnphpwnd99999@aliyun2429,cntaobao711215a -cnphpwnd99999@aliyun2430,cntaobao7119159xia -cnphpwnd99999@aliyun2431,cntaobao711crazy -cnphpwnd99999@aliyun2432,cntaobao715wangpan -cnphpwnd99999@aliyun2433,cntaobao7172191dxh -cnphpwnd99999@aliyun2434,cntaobao71834477_wang -cnphpwnd99999@aliyun2435,cntaobao718a -cnphpwnd99999@aliyun2436,cntaobao718grace -cnphpwnd99999@aliyun2437,cntaobao71chanqh -cnphpwnd99999@aliyun2438,cntaobao7213143a -cnphpwnd99999@aliyun2439,cntaobao721521dsa -cnphpwnd99999@aliyun2440,cntaobao7223827a -cnphpwnd99999@aliyun2441,cntaobao723_arthas -cnphpwnd99999@aliyun2442,cntaobao726changhong -cnphpwnd99999@aliyun2443,cntaobao727cat -cnphpwnd99999@aliyun2444,cntaobao7296676a -cnphpwnd99999@aliyun2445,cntaobao72bian -cnphpwnd99999@aliyun2446,cntaobao7315573a -cnphpwnd99999@aliyun2447,cntaobao7322299ai -cnphpwnd99999@aliyun2448,cntaobao733jacky -cnphpwnd99999@aliyun2449,cntaobao7390837abcd -cnphpwnd99999@aliyun2450,cntaobao73_qiang -cnphpwnd99999@aliyun2451,cntaobao73freeman -cnphpwnd99999@aliyun2452,cntaobao73menghuan4 -cnphpwnd99999@aliyun2453,cntaobao73wangfeng -cnphpwnd99999@aliyun2454,cntaobao7402903han -cnphpwnd99999@aliyun2455,cntaobao741105zhyao -cnphpwnd99999@aliyun2456,cntaobao74511940qiang -cnphpwnd99999@aliyun2457,cntaobao748carmen -cnphpwnd99999@aliyun2458,cntaobao748nihao -cnphpwnd99999@aliyun2459,cntaobao74xiaoma -cnphpwnd99999@aliyun2460,cntaobao74xunbao -cnphpwnd99999@aliyun2461,cntaobao750802abc -cnphpwnd99999@aliyun2462,cntaobao7519069a -cnphpwnd99999@aliyun2463,cntaobao752163emma -cnphpwnd99999@aliyun2464,cntaobao753951qa -cnphpwnd99999@aliyun2465,cntaobao75760885a -cnphpwnd99999@aliyun2466,cntaobao75anne -cnphpwnd99999@aliyun2467,cntaobao75ceciliar -cnphpwnd99999@aliyun2468,cntaobao75fans -cnphpwnd99999@aliyun2469,cntaobao75huang -cnphpwnd99999@aliyun2470,cntaobao75wwwtao -cnphpwnd99999@aliyun2471,cntaobao760202hegang -cnphpwnd99999@aliyun2472,cntaobao7614578able -cnphpwnd99999@aliyun2473,cntaobao763198weijia -cnphpwnd99999@aliyun2474,cntaobao76348348a -cnphpwnd99999@aliyun2475,cntaobao76406272yaoyayo -cnphpwnd99999@aliyun2476,cntaobao7666181ai -cnphpwnd99999@aliyun2477,cntaobao76bank -cnphpwnd99999@aliyun2478,cntaobao76ers -cnphpwnd99999@aliyun2479,cntaobao76ersac -cnphpwnd99999@aliyun2480,cntaobao76haoqiang -cnphpwnd99999@aliyun2481,cntaobao76jazz -cnphpwnd99999@aliyun2482,cntaobao76megan -cnphpwnd99999@aliyun2483,cntaobao7704432a -cnphpwnd99999@aliyun2484,cntaobao7706069a -cnphpwnd99999@aliyun2485,cntaobao770xiaoxin -cnphpwnd99999@aliyun2486,cntaobao77190237a -cnphpwnd99999@aliyun2487,cntaobao7728babyq -cnphpwnd99999@aliyun2488,cntaobao77307022a -cnphpwnd99999@aliyun2489,cntaobao77351946ba -cnphpwnd99999@aliyun2490,cntaobao7739665a -cnphpwnd99999@aliyun2491,cntaobao77521456wan -cnphpwnd99999@aliyun2492,cntaobao7754521asd -cnphpwnd99999@aliyun2493,cntaobao7758521abc88 -cnphpwnd99999@aliyun2494,cntaobao7758521aw -cnphpwnd99999@aliyun2495,cntaobao7758521tian -cnphpwnd99999@aliyun2496,cntaobao7758_abcd -cnphpwnd99999@aliyun2497,cntaobao7758woai -cnphpwnd99999@aliyun2498,cntaobao7777a -cnphpwnd99999@aliyun2499,cntaobao777_liao622 -cnphpwnd99999@aliyun2500,cntaobao777days -cnphpwnd99999@aliyun2501,cntaobao777jimmytan -cnphpwnd99999@aliyun2502,cntaobao7790013lanbobo -cnphpwnd99999@aliyun2503,cntaobao7791zhaa -cnphpwnd99999@aliyun2504,cntaobao77949570aa -cnphpwnd99999@aliyun2505,cntaobao779655545444 -cnphpwnd99999@aliyun2506,cntaobao7799fiona -cnphpwnd99999@aliyun2507,cntaobao77ba -cnphpwnd99999@aliyun2508,cntaobao77can -cnphpwnd99999@aliyun2509,cntaobao77jasmine -cnphpwnd99999@aliyun2510,cntaobao77taoxue -cnphpwnd99999@aliyun2511,cntaobao78123_fang -cnphpwnd99999@aliyun2512,cntaobao7813070adsl2 -cnphpwnd99999@aliyun2513,cntaobao7821993alag -cnphpwnd99999@aliyun2514,cntaobao7822day -cnphpwnd99999@aliyun2515,cntaobao7829545cl -cnphpwnd99999@aliyun2516,cntaobao783_fiona -cnphpwnd99999@aliyun2517,cntaobao7858647mai -cnphpwnd99999@aliyun2518,cntaobao7867tonyan -cnphpwnd99999@aliyun2519,cntaobao787459navy -cnphpwnd99999@aliyun2520,cntaobao78790561a -cnphpwnd99999@aliyun2521,cntaobao7894370ash -cnphpwnd99999@aliyun2522,cntaobao789456as -cnphpwnd99999@aliyun2523,cntaobao789456jiarui -cnphpwnd99999@aliyun2524,cntaobao789789aaaa -cnphpwnd99999@aliyun2525,cntaobao789789zhang -cnphpwnd99999@aliyun2526,cntaobao78993299nihao -cnphpwnd99999@aliyun2527,cntaobao789_asd_ok -cnphpwnd99999@aliyun2528,cntaobao789naitaix -cnphpwnd99999@aliyun2529,cntaobao789qweasd -cnphpwnd99999@aliyun2530,cntaobao789suhua -cnphpwnd99999@aliyun2531,cntaobao789zhaoze -cnphpwnd99999@aliyun2532,cntaobao78blackcat -cnphpwnd99999@aliyun2533,cntaobao78carol12 -cnphpwnd99999@aliyun2534,cntaobao78larry -cnphpwnd99999@aliyun2535,cntaobao7903837xiaoliang -cnphpwnd99999@aliyun2536,cntaobao7922105liao -cnphpwnd99999@aliyun2537,cntaobao79287928aa -cnphpwnd99999@aliyun2538,cntaobao794967a -cnphpwnd99999@aliyun2539,cntaobao7956fuqiang -cnphpwnd99999@aliyun2540,cntaobao7979787877a -cnphpwnd99999@aliyun2541,cntaobao79850873gao -cnphpwnd99999@aliyun2542,cntaobao798_sang -cnphpwnd99999@aliyun2543,cntaobao799-happy -cnphpwnd99999@aliyun2544,cntaobao79ivan -cnphpwnd99999@aliyun2545,cntaobao79xiaoxia -cnphpwnd99999@aliyun2546,cntaobao79zhangli -cnphpwnd99999@aliyun2547,cntaobao7allul -cnphpwnd99999@aliyun2548,cntaobao7and26 -cnphpwnd99999@aliyun2549,cntaobao7asis -cnphpwnd99999@aliyun2550,cntaobao7beckham -cnphpwnd99999@aliyun2551,cntaobao7cai -cnphpwnd99999@aliyun2552,cntaobao7cash -cnphpwnd99999@aliyun2553,cntaobao7danny -cnphpwnd99999@aliyun2554,cntaobao7dream -cnphpwnd99999@aliyun2555,cntaobao7gfang999 -cnphpwnd99999@aliyun2556,cntaobao7guai -cnphpwnd99999@aliyun2557,cntaobao7helan -cnphpwnd99999@aliyun2558,cntaobao7ie8na -cnphpwnd99999@aliyun2559,cntaobao7lrandy -cnphpwnd99999@aliyun2560,cntaobao7ocean -cnphpwnd99999@aliyun2561,cntaobao7rainbow -cnphpwnd99999@aliyun2562,cntaobao7ran7 -cnphpwnd99999@aliyun2563,cntaobao7rihai555 -cnphpwnd99999@aliyun2564,cntaobao7sam112 -cnphpwnd99999@aliyun2565,cntaobao7sheva -cnphpwnd99999@aliyun2566,cntaobao7si_com -cnphpwnd99999@aliyun2567,cntaobao7star -cnphpwnd99999@aliyun2568,cntaobao7sunday -cnphpwnd99999@aliyun2569,cntaobao7tea -cnphpwnd99999@aliyun2570,cntaobao7thwave -cnphpwnd99999@aliyun2571,cntaobao7upsoda -cnphpwnd99999@aliyun2572,cntaobao7wangzhe -cnphpwnd99999@aliyun2573,cntaobao7wolfyan -cnphpwnd99999@aliyun2574,cntaobao7ys8rhca1uzq4phd24f -cnphpwnd99999@aliyun2575,cntaobao8-ball -cnphpwnd99999@aliyun2576,cntaobao80000china -cnphpwnd99999@aliyun2577,cntaobao8000ad -cnphpwnd99999@aliyun2578,cntaobao800haishan -cnphpwnd99999@aliyun2579,cntaobao800xiaolei -cnphpwnd99999@aliyun2580,cntaobao801021252aaa -cnphpwnd99999@aliyun2581,cntaobao8013elva -cnphpwnd99999@aliyun2582,cntaobao80195299a -cnphpwnd99999@aliyun2583,cntaobao8023ambrose4ever -cnphpwnd99999@aliyun2584,cntaobao8023baby -cnphpwnd99999@aliyun2585,cntaobao803040a -cnphpwnd99999@aliyun2586,cntaobao8030a -cnphpwnd99999@aliyun2587,cntaobao8065264yuankai -cnphpwnd99999@aliyun2588,cntaobao8080asdf -cnphpwnd99999@aliyun2589,cntaobao80_linda -cnphpwnd99999@aliyun2590,cntaobao80after -cnphpwnd99999@aliyun2591,cntaobao80anastasia -cnphpwnd99999@aliyun2592,cntaobao80anita -cnphpwnd99999@aliyun2593,cntaobao80bar -cnphpwnd99999@aliyun2594,cntaobao80day -cnphpwnd99999@aliyun2595,cntaobao80niandai -cnphpwnd99999@aliyun2596,cntaobao80yangguang08 -cnphpwnd99999@aliyun2597,cntaobao81003liliang -cnphpwnd99999@aliyun2598,cntaobao810210wangli -cnphpwnd99999@aliyun2599,cntaobao810406abc -cnphpwnd99999@aliyun2600,cntaobao811029xiedandan -cnphpwnd99999@aliyun2601,cntaobao8118065a -cnphpwnd99999@aliyun2602,cntaobao81256069a -cnphpwnd99999@aliyun2603,cntaobao8155wang -cnphpwnd99999@aliyun2604,cntaobao8157andy -cnphpwnd99999@aliyun2605,cntaobao815abc815 -cnphpwnd99999@aliyun2606,cntaobao816apple -cnphpwnd99999@aliyun2607,cntaobao81724866aaa -cnphpwnd99999@aliyun2608,cntaobao8175733a -cnphpwnd99999@aliyun2609,cntaobao817814aaa -cnphpwnd99999@aliyun2610,cntaobao819liyang -cnphpwnd99999@aliyun2611,cntaobao81_susan -cnphpwnd99999@aliyun2612,cntaobao81cathy -cnphpwnd99999@aliyun2613,cntaobao81jijia -cnphpwnd99999@aliyun2614,cntaobao81nihao -cnphpwnd99999@aliyun2615,cntaobao81salem -cnphpwnd99999@aliyun2616,cntaobao8206nana -cnphpwnd99999@aliyun2617,cntaobao8208777a -cnphpwnd99999@aliyun2618,cntaobao821028vivian -cnphpwnd99999@aliyun2619,cntaobao8210lai -cnphpwnd99999@aliyun2620,cntaobao8218741a -cnphpwnd99999@aliyun2621,cntaobao821wang -cnphpwnd99999@aliyun2622,cntaobao823395xj34ac -cnphpwnd99999@aliyun2623,cntaobao8236909as -cnphpwnd99999@aliyun2624,cntaobao8239xiaocao -cnphpwnd99999@aliyun2625,cntaobao8246wsad -cnphpwnd99999@aliyun2626,cntaobao82557604a -cnphpwnd99999@aliyun2627,cntaobao8269abc -cnphpwnd99999@aliyun2628,cntaobao82719abcd -cnphpwnd99999@aliyun2629,cntaobao829113_jia -cnphpwnd99999@aliyun2630,cntaobao82wang -cnphpwnd99999@aliyun2631,cntaobao82yuhao -cnphpwnd99999@aliyun2632,cntaobao83065892a -cnphpwnd99999@aliyun2633,cntaobao831022baibai -cnphpwnd99999@aliyun2634,cntaobao831122lai_2005 -cnphpwnd99999@aliyun2635,cntaobao8316ac -cnphpwnd99999@aliyun2636,cntaobao83214836aa -cnphpwnd99999@aliyun2637,cntaobao83310956qa -cnphpwnd99999@aliyun2638,cntaobao8335340pan -cnphpwnd99999@aliyun2639,cntaobao833_lina -cnphpwnd99999@aliyun2640,cntaobao833_ma -cnphpwnd99999@aliyun2641,cntaobao83424963a -cnphpwnd99999@aliyun2642,cntaobao8353wang -cnphpwnd99999@aliyun2643,cntaobao8368865ai -cnphpwnd99999@aliyun2644,cntaobao8375013a -cnphpwnd99999@aliyun2645,cntaobao8375721as -cnphpwnd99999@aliyun2646,cntaobao8395436ka -cnphpwnd99999@aliyun2647,cntaobao83a96b -cnphpwnd99999@aliyun2648,cntaobao83fantasy57 -cnphpwnd99999@aliyun2649,cntaobao83huangrui -cnphpwnd99999@aliyun2650,cntaobao83liutao83 -cnphpwnd99999@aliyun2651,cntaobao83sally -cnphpwnd99999@aliyun2652,cntaobao83simiao -cnphpwnd99999@aliyun2653,cntaobao83tai -cnphpwnd99999@aliyun2654,cntaobao83tantan -cnphpwnd99999@aliyun2655,cntaobao83xhia -cnphpwnd99999@aliyun2656,cntaobao840552as -cnphpwnd99999@aliyun2657,cntaobao8410aa -cnphpwnd99999@aliyun2658,cntaobao8411782_lijia -cnphpwnd99999@aliyun2659,cntaobao84209163abc -cnphpwnd99999@aliyun2660,cntaobao84365858laifei -cnphpwnd99999@aliyun2661,cntaobao8442214a -cnphpwnd99999@aliyun2662,cntaobao8445230a -cnphpwnd99999@aliyun2663,cntaobao84597356a -cnphpwnd99999@aliyun2664,cntaobao8462asdrty -cnphpwnd99999@aliyun2665,cntaobao84dada84 -cnphpwnd99999@aliyun2666,cntaobao84langzi -cnphpwnd99999@aliyun2667,cntaobao84wanglei -cnphpwnd99999@aliyun2668,cntaobao850914tita -cnphpwnd99999@aliyun2669,cntaobao851105asdf -cnphpwnd99999@aliyun2670,cntaobao851227lijia -cnphpwnd99999@aliyun2671,cntaobao85217asdf -cnphpwnd99999@aliyun2672,cntaobao85311184a -cnphpwnd99999@aliyun2673,cntaobao85363010wang -cnphpwnd99999@aliyun2674,cntaobao8544013a -cnphpwnd99999@aliyun2675,cntaobao85675735xiaocuei -cnphpwnd99999@aliyun2676,cntaobao8588841a -cnphpwnd99999@aliyun2677,cntaobao85_darcy -cnphpwnd99999@aliyun2678,cntaobao85xiaxia -cnphpwnd99999@aliyun2679,cntaobao85xueyan -cnphpwnd99999@aliyun2680,cntaobao86036908pp -cnphpwnd99999@aliyun2681,cntaobao860928abc -cnphpwnd99999@aliyun2682,cntaobao862280hua -cnphpwnd99999@aliyun2683,cntaobao86254514an -cnphpwnd99999@aliyun2684,cntaobao86460wangying -cnphpwnd99999@aliyun2685,cntaobao86_fingal -cnphpwnd99999@aliyun2686,cntaobao86ba -cnphpwnd99999@aliyun2687,cntaobao86dabao2 -cnphpwnd99999@aliyun2688,cntaobao86flash -cnphpwnd99999@aliyun2689,cntaobao86laobing -cnphpwnd99999@aliyun2690,cntaobao86putao -cnphpwnd99999@aliyun2691,cntaobao8744yang -cnphpwnd99999@aliyun2692,cntaobao87663995abc -cnphpwnd99999@aliyun2693,cntaobao87682685aaa -cnphpwnd99999@aliyun2694,cntaobao87869039mail -cnphpwnd99999@aliyun2695,cntaobao87927wangzijun -cnphpwnd99999@aliyun2696,cntaobao87jacky -cnphpwnd99999@aliyun2697,cntaobao87liuchao -cnphpwnd99999@aliyun2698,cntaobao87maiyf -cnphpwnd99999@aliyun2699,cntaobao87wangzhch -cnphpwnd99999@aliyun2700,cntaobao87wangzhen -cnphpwnd99999@aliyun2701,cntaobao87william -cnphpwnd99999@aliyun2702,cntaobao87yan -cnphpwnd99999@aliyun2703,cntaobao8812370a -cnphpwnd99999@aliyun2704,cntaobao881880a -cnphpwnd99999@aliyun2705,cntaobao8819184akak -cnphpwnd99999@aliyun2706,cntaobao88273527a -cnphpwnd99999@aliyun2707,cntaobao8846984a -cnphpwnd99999@aliyun2708,cntaobao8848abcd -cnphpwnd99999@aliyun2709,cntaobao8857517yehaibo -cnphpwnd99999@aliyun2710,cntaobao88668abd -cnphpwnd99999@aliyun2711,cntaobao8881123zhang -cnphpwnd99999@aliyun2712,cntaobao8881abc_8881abc -cnphpwnd99999@aliyun2713,cntaobao88888888jason -cnphpwnd99999@aliyun2714,cntaobao88888ailinyuderen -cnphpwnd99999@aliyun2715,cntaobao8888yuanfa -cnphpwnd99999@aliyun2716,cntaobao888abcdefg -cnphpwnd99999@aliyun2717,cntaobao888fat -cnphpwnd99999@aliyun2718,cntaobao888hahaha -cnphpwnd99999@aliyun2719,cntaobao888huyuyang -cnphpwnd99999@aliyun2720,cntaobao888player -cnphpwnd99999@aliyun2721,cntaobao888tiancai -cnphpwnd99999@aliyun2722,cntaobao888vanking -cnphpwnd99999@aliyun2723,cntaobao888wayne -cnphpwnd99999@aliyun2724,cntaobao888wuchao -cnphpwnd99999@aliyun2725,cntaobao888yemao -cnphpwnd99999@aliyun2726,cntaobao8893zhangjie -cnphpwnd99999@aliyun2727,cntaobao8899amay -cnphpwnd99999@aliyun2728,cntaobao88alex -cnphpwnd99999@aliyun2729,cntaobao88aquan -cnphpwnd99999@aliyun2730,cntaobao88dad -cnphpwnd99999@aliyun2731,cntaobao88jiangtao -cnphpwnd99999@aliyun2732,cntaobao88jordan -cnphpwnd99999@aliyun2733,cntaobao88la -cnphpwnd99999@aliyun2734,cntaobao88liangfeng -cnphpwnd99999@aliyun2735,cntaobao88liuyang -cnphpwnd99999@aliyun2736,cntaobao88sawin -cnphpwnd99999@aliyun2737,cntaobao88sean8825 -cnphpwnd99999@aliyun2738,cntaobao88sunjian88 -cnphpwnd99999@aliyun2739,cntaobao88tao88bao88 -cnphpwnd99999@aliyun2740,cntaobao88tina -cnphpwnd99999@aliyun2741,cntaobao88wangban -cnphpwnd99999@aliyun2742,cntaobao88xiaogang88 -cnphpwnd99999@aliyun2743,cntaobao890808am -cnphpwnd99999@aliyun2744,cntaobao89090131as -cnphpwnd99999@aliyun2745,cntaobao8909yang -cnphpwnd99999@aliyun2746,cntaobao8910jqka -cnphpwnd99999@aliyun2747,cntaobao891118amg -cnphpwnd99999@aliyun2748,cntaobao8923022happy -cnphpwnd99999@aliyun2749,cntaobao89376cherryhuang -cnphpwnd99999@aliyun2750,cntaobao89513jack -cnphpwnd99999@aliyun2751,cntaobao89804987abc -cnphpwnd99999@aliyun2752,cntaobao8991liyan -cnphpwnd99999@aliyun2753,cntaobao8992156a_z -cnphpwnd99999@aliyun2754,cntaobao8992677abc -cnphpwnd99999@aliyun2755,cntaobao89sakura -cnphpwnd99999@aliyun2756,cntaobao89today -cnphpwnd99999@aliyun2757,cntaobao89yiqiwan -cnphpwnd99999@aliyun2758,cntaobao8a8a19 -cnphpwnd99999@aliyun2759,cntaobao8ao8ao -cnphpwnd99999@aliyun2760,cntaobao8aoxiang8 -cnphpwnd99999@aliyun2761,cntaobao8apples -cnphpwnd99999@aliyun2762,cntaobao8aybc -cnphpwnd99999@aliyun2763,cntaobao8daonline -cnphpwnd99999@aliyun2764,cntaobao8haorenmo -cnphpwnd99999@aliyun2765,cntaobao8huafei -cnphpwnd99999@aliyun2766,cntaobao8jacky -cnphpwnd99999@aliyun2767,cntaobao8l02mq7ae9bmh -cnphpwnd99999@aliyun2768,cntaobao8lijianbo -cnphpwnd99999@aliyun2769,cntaobao8luvpeach7 -cnphpwnd99999@aliyun2770,cntaobao8mait -cnphpwnd99999@aliyun2771,cntaobao8masheng8 -cnphpwnd99999@aliyun2772,cntaobao8miao -cnphpwnd99999@aliyun2773,cntaobao8page -cnphpwnd99999@aliyun2774,cntaobao8pizzahut -cnphpwnd99999@aliyun2775,cntaobao8rongliang8 -cnphpwnd99999@aliyun2776,cntaobao8tjat0kw1t -cnphpwnd99999@aliyun2777,cntaobao8wan -cnphpwnd99999@aliyun2778,cntaobao8wangsong8 -cnphpwnd99999@aliyun2779,cntaobao8wdmghbcaa -cnphpwnd99999@aliyun2780,cntaobao8xiaoxiao -cnphpwnd99999@aliyun2781,cntaobao8zhaozhao8 -cnphpwnd99999@aliyun2782,cntaobao900713a -cnphpwnd99999@aliyun2783,cntaobao9089zhangmeng -cnphpwnd99999@aliyun2784,cntaobao90999aaa -cnphpwnd99999@aliyun2785,cntaobao910jqka -cnphpwnd99999@aliyun2786,cntaobao911coco -cnphpwnd99999@aliyun2787,cntaobao911guaiguai -cnphpwnd99999@aliyun2788,cntaobao911saga -cnphpwnd99999@aliyun2789,cntaobao911zai -cnphpwnd99999@aliyun2790,cntaobao91225sai -cnphpwnd99999@aliyun2791,cntaobao913_vanessa -cnphpwnd99999@aliyun2792,cntaobao918alex -cnphpwnd99999@aliyun2793,cntaobao918asd -cnphpwnd99999@aliyun2794,cntaobao918garbo -cnphpwnd99999@aliyun2795,cntaobao919af -cnphpwnd99999@aliyun2796,cntaobao919yangyang -cnphpwnd99999@aliyun2797,cntaobao91baozi -cnphpwnd99999@aliyun2798,cntaobao91fan -cnphpwnd99999@aliyun2799,cntaobao91gou -cnphpwnd99999@aliyun2800,cntaobao91taotao -cnphpwnd99999@aliyun2801,cntaobao91xuan -cnphpwnd99999@aliyun2802,cntaobao9211921199a -cnphpwnd99999@aliyun2803,cntaobao925badboy -cnphpwnd99999@aliyun2804,cntaobao925tiffany -cnphpwnd99999@aliyun2805,cntaobao92baby -cnphpwnd99999@aliyun2806,cntaobao93665291yan -cnphpwnd99999@aliyun2807,cntaobao93_fang -cnphpwnd99999@aliyun2808,cntaobao9443ab -cnphpwnd99999@aliyun2809,cntaobao9458aabb -cnphpwnd99999@aliyun2810,cntaobao94ai1 -cnphpwnd99999@aliyun2811,cntaobao94game170 -cnphpwnd99999@aliyun2812,cntaobao94xieliang -cnphpwnd99999@aliyun2813,cntaobao951asd -cnphpwnd99999@aliyun2814,cntaobao951han22 -cnphpwnd99999@aliyun2815,cntaobao9527qaz -cnphpwnd99999@aliyun2816,cntaobao9527xia -cnphpwnd99999@aliyun2817,cntaobao9527yangjia -cnphpwnd99999@aliyun2818,cntaobao953_deborah -cnphpwnd99999@aliyun2819,cntaobao95zax -cnphpwnd99999@aliyun2820,cntaobao96066az -cnphpwnd99999@aliyun2821,cntaobao96321as -cnphpwnd99999@aliyun2822,cntaobao963852gang -cnphpwnd99999@aliyun2823,cntaobao963aaa -cnphpwnd99999@aliyun2824,cntaobao963qawse -cnphpwnd99999@aliyun2825,cntaobao96600m -cnphpwnd99999@aliyun2826,cntaobao96699aaa -cnphpwnd99999@aliyun2827,cntaobao9678042jian -cnphpwnd99999@aliyun2828,cntaobao967maomao -cnphpwnd99999@aliyun2829,cntaobao96liuxia -cnphpwnd99999@aliyun2830,cntaobao97067yya -cnphpwnd99999@aliyun2831,cntaobao9712520huang -cnphpwnd99999@aliyun2832,cntaobao97126a -cnphpwnd99999@aliyun2833,cntaobao977724aa -cnphpwnd99999@aliyun2834,cntaobao977977tat -cnphpwnd99999@aliyun2835,cntaobao9788zhang -cnphpwnd99999@aliyun2836,cntaobao9805daniel -cnphpwnd99999@aliyun2837,cntaobao9806caojin -cnphpwnd99999@aliyun2838,cntaobao98081036wang -cnphpwnd99999@aliyun2839,cntaobao98168cad -cnphpwnd99999@aliyun2840,cntaobao98335682as -cnphpwnd99999@aliyun2841,cntaobao984153a -cnphpwnd99999@aliyun2842,cntaobao98abc -cnphpwnd99999@aliyun2843,cntaobao98class4 -cnphpwnd99999@aliyun2844,cntaobao98dg -cnphpwnd99999@aliyun2845,cntaobao98handy -cnphpwnd99999@aliyun2846,cntaobao99022yuan -cnphpwnd99999@aliyun2847,cntaobao9902zhaojunxia -cnphpwnd99999@aliyun2848,cntaobao990987574a -cnphpwnd99999@aliyun2849,cntaobao9918jame -cnphpwnd99999@aliyun2850,cntaobao99233jiang -cnphpwnd99999@aliyun2851,cntaobao9942aa -cnphpwnd99999@aliyun2852,cntaobao994455-aa -cnphpwnd99999@aliyun2853,cntaobao99733958a -cnphpwnd99999@aliyun2854,cntaobao99808asd -cnphpwnd99999@aliyun2855,cntaobao99826937tantan -cnphpwnd99999@aliyun2856,cntaobao9988ak -cnphpwnd99999@aliyun2857,cntaobao9988read -cnphpwnd99999@aliyun2858,cntaobao999555aaa -cnphpwnd99999@aliyun2859,cntaobao9998bear -cnphpwnd99999@aliyun2860,cntaobao9999-david -cnphpwnd99999@aliyun2861,cntaobao999999man911 -cnphpwnd99999@aliyun2862,cntaobao999abc -cnphpwnd99999@aliyun2863,cntaobao999blade -cnphpwnd99999@aliyun2864,cntaobao999dada -cnphpwnd99999@aliyun2865,cntaobao999duan -cnphpwnd99999@aliyun2866,cntaobao999huang -cnphpwnd99999@aliyun2867,cntaobao999kuang -cnphpwnd99999@aliyun2868,cntaobao999laowu -cnphpwnd99999@aliyun2869,cntaobao999linda -cnphpwnd99999@aliyun2870,cntaobao999n -cnphpwnd99999@aliyun2871,cntaobao999wap -cnphpwnd99999@aliyun2872,cntaobao999yang -cnphpwnd99999@aliyun2873,cntaobao999yue -cnphpwnd99999@aliyun2874,cntaobao99aileen99 -cnphpwnd99999@aliyun2875,cntaobao99aini -cnphpwnd99999@aliyun2876,cntaobao99angel -cnphpwnd99999@aliyun2877,cntaobao99baba -cnphpwnd99999@aliyun2878,cntaobao99bianxiaodong -cnphpwnd99999@aliyun2879,cntaobao99changyuan -cnphpwnd99999@aliyun2880,cntaobao99chuans -cnphpwnd99999@aliyun2881,cntaobao99fafa -cnphpwnd99999@aliyun2882,cntaobao99fans -cnphpwnd99999@aliyun2883,cntaobao99hack -cnphpwnd99999@aliyun2884,cntaobao99jiajia -cnphpwnd99999@aliyun2885,cntaobao99maofei99 -cnphpwnd99999@aliyun2886,cntaobao99shapi -cnphpwnd99999@aliyun2887,cntaobao99xianggang -cnphpwnd99999@aliyun2888,cntaobao99xiaoming -cnphpwnd99999@aliyun2889,cntaobao99zhangyong -cnphpwnd99999@aliyun2890,cntaobao99zhaoycd -cnphpwnd99999@aliyun2891,cntaobao9_9asdfasdfasd -cnphpwnd99999@aliyun2892,cntaobao9_along_9 -cnphpwnd99999@aliyun2893,cntaobao9a6654928 -cnphpwnd99999@aliyun2894,cntaobao9abcd -cnphpwnd99999@aliyun2895,cntaobao9adrian -cnphpwnd99999@aliyun2896,cntaobao9bar -cnphpwnd99999@aliyun2897,cntaobao9bati -cnphpwnd99999@aliyun2898,cntaobao9bra -cnphpwnd99999@aliyun2899,cntaobao9dao -cnphpwnd99999@aliyun2900,cntaobao9day -cnphpwnd99999@aliyun2901,cntaobao9days -cnphpwnd99999@aliyun2902,cntaobao9dragon -cnphpwnd99999@aliyun2903,cntaobao9hyvc0x9nshseyead3y -cnphpwnd99999@aliyun2904,cntaobao9lane -cnphpwnd99999@aliyun2905,cntaobao9may.com -cnphpwnd99999@aliyun2906,cntaobao9mnancat -cnphpwnd99999@aliyun2907,cntaobao9rain -cnphpwnd99999@aliyun2908,cntaobao9t9t -cnphpwnd99999@aliyun2909,cntaobao9xia -cnphpwnd99999@aliyun2910,cntaobao9yan -cnphpwnd99999@aliyun2911,cntaobao9yao -cnphpwnd99999@aliyun2912,cntaobao9zhangxu9 -cnphpwnd99999@aliyun2913,cntaobao?????_58 -cnphpwnd99999@aliyun2914,cntaobaoAarom -cnphpwnd99999@aliyun2915,cntaobaoAliang0808 -cnphpwnd99999@aliyun2916,cntaobaoAngelclass -cnphpwnd99999@aliyun2917,cntaobaoAria1991 -cnphpwnd99999@aliyun2918,cntaobaoBaoBeiLonG -cnphpwnd99999@aliyun2919,cntaobaoBeautfulLife -cnphpwnd99999@aliyun2920,cntaobaoCarry1000 -cnphpwnd99999@aliyun2921,cntaobaoChristina0211 -cnphpwnd99999@aliyun2922,cntaobaoConanXiao -cnphpwnd99999@aliyun2923,cntaobaoDahai119 -cnphpwnd99999@aliyun2924,cntaobaoDaisy -cnphpwnd99999@aliyun2925,cntaobaoDaisy37 -cnphpwnd99999@aliyun2926,cntaobaoDan35 -cnphpwnd99999@aliyun2927,cntaobaoDavid2003 -cnphpwnd99999@aliyun2928,cntaobaoDavidLian -cnphpwnd99999@aliyun2929,cntaobaoDavidMacDonaldLiang -cnphpwnd99999@aliyun2930,cntaobaoDrak -cnphpwnd99999@aliyun2931,cntaobaoDuanHuaJie -cnphpwnd99999@aliyun2932,cntaobaoEaglewei -cnphpwnd99999@aliyun2933,cntaobaoEaling -cnphpwnd99999@aliyun2934,cntaobaoEased -cnphpwnd99999@aliyun2935,cntaobaoEmma22 -cnphpwnd99999@aliyun2936,cntaobaoEsala -cnphpwnd99999@aliyun2937,cntaobaoEugenia -cnphpwnd99999@aliyun2938,cntaobaoEvenfall -cnphpwnd99999@aliyun2939,cntaobaoFance463 -cnphpwnd99999@aliyun2940,cntaobaoFax13492 -cnphpwnd99999@aliyun2941,cntaobaoFleetAdmiral -cnphpwnd99999@aliyun2942,cntaobaoFortuna -cnphpwnd99999@aliyun2943,cntaobaoFrank99 -cnphpwnd99999@aliyun2944,cntaobaoFrankYan -cnphpwnd99999@aliyun2945,cntaobaoFunan2002 -cnphpwnd99999@aliyun2946,cntaobaoGOBnanhai -cnphpwnd99999@aliyun2947,cntaobaoGaoXiaona -cnphpwnd99999@aliyun2948,cntaobaoGarlio -cnphpwnd99999@aliyun2949,cntaobaoGuanlei -cnphpwnd99999@aliyun2950,cntaobaoHELLOabcd -cnphpwnd99999@aliyun2951,cntaobaoHaiTunhai -cnphpwnd99999@aliyun2952,cntaobaoHandsonlee -cnphpwnd99999@aliyun2953,cntaobaoHaqihaqi -cnphpwnd99999@aliyun2954,cntaobaoHayes1984 -cnphpwnd99999@aliyun2955,cntaobaoHbiao -cnphpwnd99999@aliyun2956,cntaobaoHeTal -cnphpwnd99999@aliyun2957,cntaobaoHeadsTool -cnphpwnd99999@aliyun2958,cntaobaoHikaru11 -cnphpwnd99999@aliyun2959,cntaobaoHuangYy2000 -cnphpwnd99999@aliyun2960,cntaobaoHuangyeguo -cnphpwnd99999@aliyun2961,cntaobaoIrislavender -cnphpwnd99999@aliyun2962,cntaobaoJXzhang -cnphpwnd99999@aliyun2963,cntaobaoJackeykk -cnphpwnd99999@aliyun2964,cntaobaoJackyLam -cnphpwnd99999@aliyun2965,cntaobaoJackySky -cnphpwnd99999@aliyun2966,cntaobaoJanhail -cnphpwnd99999@aliyun2967,cntaobaoJasonToo -cnphpwnd99999@aliyun2968,cntaobaoJay9527 -cnphpwnd99999@aliyun2969,cntaobaoJayChu -cnphpwnd99999@aliyun2970,cntaobaoJayHo -cnphpwnd99999@aliyun2971,cntaobaoJelena -cnphpwnd99999@aliyun2972,cntaobaoJirachi -cnphpwnd99999@aliyun2973,cntaobaoJordan530 -cnphpwnd99999@aliyun2974,cntaobaoKanBeckham -cnphpwnd99999@aliyun2975,cntaobaoKoreal -cnphpwnd99999@aliyun2976,cntaobaoLanEvo -cnphpwnd99999@aliyun2977,cntaobaoLansil -cnphpwnd99999@aliyun2978,cntaobaoLastSoft -cnphpwnd99999@aliyun2979,cntaobaoLawrenceLin -cnphpwnd99999@aliyun2980,cntaobaoLinda215 -cnphpwnd99999@aliyun2981,cntaobaoLyannier -cnphpwnd99999@aliyun2982,cntaobaoMoriRan -cnphpwnd99999@aliyun2983,cntaobaoNosaigo -cnphpwnd99999@aliyun2984,cntaobaoRicha -cnphpwnd99999@aliyun2985,cntaobaoSatan525 -cnphpwnd99999@aliyun2986,cntaobaoSebrasty -cnphpwnd99999@aliyun2987,cntaobaoShadow0705 -cnphpwnd99999@aliyun2988,cntaobaoSmallRat -cnphpwnd99999@aliyun2989,cntaobaoSunsmile -cnphpwnd99999@aliyun2990,cntaobaoSylviazzz -cnphpwnd99999@aliyun2991,cntaobaoTiyamo -cnphpwnd99999@aliyun2992,cntaobaoTwinsfan -cnphpwnd99999@aliyun2993,cntaobaoXYmark -cnphpwnd99999@aliyun2994,cntaobao[d]bravewind0269108 -cnphpwnd99999@aliyun2995,cntaobao[d]lanao -cnphpwnd99999@aliyun2996,cntaobao[d]mactom -cnphpwnd99999@aliyun2997,cntaobao[d]☆※景儿※☆ -cnphpwnd99999@aliyun2998,cntaobao_-tomcat-_ -cnphpwnd99999@aliyun2999,cntaobao_airman_ -cnphpwnd99999@aliyun3000,cntaobao_askyoo_ -cnphpwnd99999@aliyun3001,cntaobao_athlon -cnphpwnd99999@aliyun3002,cntaobao_avril_ -cnphpwnd99999@aliyun3003,cntaobao_babycat_ -cnphpwnd99999@aliyun3004,cntaobao_ceasar -cnphpwnd99999@aliyun3005,cntaobao_china -cnphpwnd99999@aliyun3006,cntaobao_cinderellla -cnphpwnd99999@aliyun3007,cntaobao_dada -cnphpwnd99999@aliyun3008,cntaobao_feiniao -cnphpwnd99999@aliyun3009,cntaobao_greensea_ -cnphpwnd99999@aliyun3010,cntaobao_happer -cnphpwnd99999@aliyun3011,cntaobao_insomnia -cnphpwnd99999@aliyun3012,cntaobao_laugh_ -cnphpwnd99999@aliyun3013,cntaobao_luai_ -cnphpwnd99999@aliyun3014,cntaobao_mafia -cnphpwnd99999@aliyun3015,cntaobao_qing_shang -cnphpwnd99999@aliyun3016,cntaobao_rachel_ -cnphpwnd99999@aliyun3017,cntaobao_sandy_ -cnphpwnd99999@aliyun3018,cntaobao_songlan_ -cnphpwnd99999@aliyun3019,cntaobao_tang2000 -cnphpwnd99999@aliyun3020,cntaobao_tianyahaijiao_ -cnphpwnd99999@aliyun3021,cntaobao_tiffany_ -cnphpwnd99999@aliyun3022,cntaobao_tomato_ -cnphpwnd99999@aliyun3023,cntaobao_victoria -cnphpwnd99999@aliyun3024,cntaobao_wangjing_ -cnphpwnd99999@aliyun3025,cntaobao_yuhao -cnphpwnd99999@aliyun3026,cntaobao_茗_ -cnphpwnd99999@aliyun3027,cntaobaoa-001226 -cnphpwnd99999@aliyun3028,cntaobaoa-02 -cnphpwnd99999@aliyun3029,cntaobaoa-a-a- -cnphpwnd99999@aliyun3030,cntaobaoa-a0000 -cnphpwnd99999@aliyun3031,cntaobaoa-b-c-789 -cnphpwnd99999@aliyun3032,cntaobaoa-b-c168 -cnphpwnd99999@aliyun3033,cntaobaoa-bay -cnphpwnd99999@aliyun3034,cntaobaoa-beautifulcat -cnphpwnd99999@aliyun3035,cntaobaoa-ben -cnphpwnd99999@aliyun3036,cntaobaoa-buy -cnphpwnd99999@aliyun3037,cntaobaoa-cong -cnphpwnd99999@aliyun3038,cntaobaoa-dai12345 -cnphpwnd99999@aliyun3039,cntaobaoa-daking -cnphpwnd99999@aliyun3040,cntaobaoa-do -cnphpwnd99999@aliyun3041,cntaobaoa-dudu -cnphpwnd99999@aliyun3042,cntaobaoa-element -cnphpwnd99999@aliyun3043,cntaobaoa-fang -cnphpwnd99999@aliyun3044,cntaobaoa-frend -cnphpwnd99999@aliyun3045,cntaobaoa-go2 -cnphpwnd99999@aliyun3046,cntaobaoa-gon -cnphpwnd99999@aliyun3047,cntaobaoa-good-man -cnphpwnd99999@aliyun3048,cntaobaoa-gump -cnphpwnd99999@aliyun3049,cntaobaoa-han-cat -cnphpwnd99999@aliyun3050,cntaobaoa-hi-adel -cnphpwnd99999@aliyun3051,cntaobaoa-hu-chen -cnphpwnd99999@aliyun3052,cntaobaoa-je -cnphpwnd99999@aliyun3053,cntaobaoa-jei -cnphpwnd99999@aliyun3054,cntaobaoa-jiango -cnphpwnd99999@aliyun3055,cntaobaoa-jiao -cnphpwnd99999@aliyun3056,cntaobaoa-joyo -cnphpwnd99999@aliyun3057,cntaobaoa-kay -cnphpwnd99999@aliyun3058,cntaobaoa-ken -cnphpwnd99999@aliyun3059,cntaobaoa-kid -cnphpwnd99999@aliyun3060,cntaobaoa-kuei -cnphpwnd99999@aliyun3061,cntaobaoa-kui-888 -cnphpwnd99999@aliyun3062,cntaobaoa-lei-lll -cnphpwnd99999@aliyun3063,cntaobaoa-lei006 -cnphpwnd99999@aliyun3064,cntaobaoa-letheia -cnphpwnd99999@aliyun3065,cntaobaoa-li -cnphpwnd99999@aliyun3066,cntaobaoa-lian -cnphpwnd99999@aliyun3067,cntaobaoa-linging -cnphpwnd99999@aliyun3068,cntaobaoa-lok -cnphpwnd99999@aliyun3069,cntaobaoa-lwb -cnphpwnd99999@aliyun3070,cntaobaoa-lxl -cnphpwnd99999@aliyun3071,cntaobaoa-maine -cnphpwnd99999@aliyun3072,cntaobaoa-mango -cnphpwnd99999@aliyun3073,cntaobaoa-mao2004 -cnphpwnd99999@aliyun3074,cntaobaoa-mei-ko -cnphpwnd99999@aliyun3075,cntaobaoa-meng -cnphpwnd99999@aliyun3076,cntaobaoa-meng-990 -cnphpwnd99999@aliyun3077,cntaobaoa-mingming457 -cnphpwnd99999@aliyun3078,cntaobaoa-moon -cnphpwnd99999@aliyun3079,cntaobaoa-mub -cnphpwnd99999@aliyun3080,cntaobaoa-n-d-y -cnphpwnd99999@aliyun3081,cntaobaoa-nan -cnphpwnd99999@aliyun3082,cntaobaoa-nan0508 -cnphpwnd99999@aliyun3083,cntaobaoa-one1021 -cnphpwnd99999@aliyun3084,cntaobaoa-pan -cnphpwnd99999@aliyun3085,cntaobaoa-qi -cnphpwnd99999@aliyun3086,cntaobaoa-quan -cnphpwnd99999@aliyun3087,cntaobaoa-rui -cnphpwnd99999@aliyun3088,cntaobaoa-show -cnphpwnd99999@aliyun3089,cntaobaoa-spec -cnphpwnd99999@aliyun3090,cntaobaoa-sue -cnphpwnd99999@aliyun3091,cntaobaoa-tang956 -cnphpwnd99999@aliyun3092,cntaobaoa-tian -cnphpwnd99999@aliyun3093,cntaobaoa-tong -cnphpwnd99999@aliyun3094,cntaobaoa-too -cnphpwnd99999@aliyun3095,cntaobaoa-wei -cnphpwnd99999@aliyun3096,cntaobaoa-wei666 -cnphpwnd99999@aliyun3097,cntaobaoa-wing -cnphpwnd99999@aliyun3098,cntaobaoa-xier -cnphpwnd99999@aliyun3099,cntaobaoa-yun03 -cnphpwnd99999@aliyun3100,cntaobaoa-zei -cnphpwnd99999@aliyun3101,cntaobaoa-zhe2003 -cnphpwnd99999@aliyun3102,cntaobaoa-zhi -cnphpwnd99999@aliyun3103,cntaobaoa.123 -cnphpwnd99999@aliyun3104,cntaobaoa.ban -cnphpwnd99999@aliyun3105,cntaobaoa.bin -cnphpwnd99999@aliyun3106,cntaobaoa.c.union -cnphpwnd99999@aliyun3107,cntaobaoa.d.jay4u -cnphpwnd99999@aliyun3108,cntaobaoa.dahua -cnphpwnd99999@aliyun3109,cntaobaoa.dmin -cnphpwnd99999@aliyun3110,cntaobaoa.fei.521 -cnphpwnd99999@aliyun3111,cntaobaoa.free -cnphpwnd99999@aliyun3112,cntaobaoa.hardaway -cnphpwnd99999@aliyun3113,cntaobaoa.j-like -cnphpwnd99999@aliyun3114,cntaobaoa.j.c -cnphpwnd99999@aliyun3115,cntaobaoa.j.tony -cnphpwnd99999@aliyun3116,cntaobaoa.j01 -cnphpwnd99999@aliyun3117,cntaobaoa.jake -cnphpwnd99999@aliyun3118,cntaobaoa.jia -cnphpwnd99999@aliyun3119,cntaobaoa.kin -cnphpwnd99999@aliyun3120,cntaobaoa.lv -cnphpwnd99999@aliyun3121,cntaobaoa.n.d.w -cnphpwnd99999@aliyun3122,cntaobaoa.o.u. -cnphpwnd99999@aliyun3123,cntaobaoa.paul -cnphpwnd99999@aliyun3124,cntaobaoa.pen -cnphpwnd99999@aliyun3125,cntaobaoa.phuang -cnphpwnd99999@aliyun3126,cntaobaoa.sasasa -cnphpwnd99999@aliyun3127,cntaobaoa.shell -cnphpwnd99999@aliyun3128,cntaobaoa.v.v -cnphpwnd99999@aliyun3129,cntaobaoa.vinni -cnphpwnd99999@aliyun3130,cntaobaoa.wu -cnphpwnd99999@aliyun3131,cntaobaoa.y. -cnphpwnd99999@aliyun3132,cntaobaoa.zan -cnphpwnd99999@aliyun3133,cntaobaoa0000005 -cnphpwnd99999@aliyun3134,cntaobaoa000001 -cnphpwnd99999@aliyun3135,cntaobaoa000015 -cnphpwnd99999@aliyun3136,cntaobaoa00001bn -cnphpwnd99999@aliyun3137,cntaobaoa0000a -cnphpwnd99999@aliyun3138,cntaobaoa00011006 -cnphpwnd99999@aliyun3139,cntaobaoa00012403 -cnphpwnd99999@aliyun3140,cntaobaoa000185 -cnphpwnd99999@aliyun3141,cntaobaoa00021848 -cnphpwnd99999@aliyun3142,cntaobaoa000641 -cnphpwnd99999@aliyun3143,cntaobaoa000731 -cnphpwnd99999@aliyun3144,cntaobaoa001 -cnphpwnd99999@aliyun3145,cntaobaoa00100010 -cnphpwnd99999@aliyun3146,cntaobaoa00105 -cnphpwnd99999@aliyun3147,cntaobaoa00118 -cnphpwnd99999@aliyun3148,cntaobaoa00145 -cnphpwnd99999@aliyun3149,cntaobaoa002138 -cnphpwnd99999@aliyun3150,cntaobaoa0037138 -cnphpwnd99999@aliyun3151,cntaobaoa00520 -cnphpwnd99999@aliyun3152,cntaobaoa0078 -cnphpwnd99999@aliyun3153,cntaobaoa00789bt -cnphpwnd99999@aliyun3154,cntaobaoa007_2005 -cnphpwnd99999@aliyun3155,cntaobaoa007x -cnphpwnd99999@aliyun3156,cntaobaoa0081369 -cnphpwnd99999@aliyun3157,cntaobaoa00jian -cnphpwnd99999@aliyun3158,cntaobaoa01010111_999 -cnphpwnd99999@aliyun3159,cntaobaoa0101115 -cnphpwnd99999@aliyun3160,cntaobaoa01012233 -cnphpwnd99999@aliyun3161,cntaobaoa010438 -cnphpwnd99999@aliyun3162,cntaobaoa0108128 -cnphpwnd99999@aliyun3163,cntaobaoa0122 -cnphpwnd99999@aliyun3164,cntaobaoa012235 -cnphpwnd99999@aliyun3165,cntaobaoa01230a -cnphpwnd99999@aliyun3166,cntaobaoa012345 -cnphpwnd99999@aliyun3167,cntaobaoa0123456 -cnphpwnd99999@aliyun3168,cntaobaoa01234567891 -cnphpwnd99999@aliyun3169,cntaobaoa01235789 -cnphpwnd99999@aliyun3170,cntaobaoa01483462 -cnphpwnd99999@aliyun3171,cntaobaoa0157833294 -cnphpwnd99999@aliyun3172,cntaobaoa0203016 -cnphpwnd99999@aliyun3173,cntaobaoa02040701 -cnphpwnd99999@aliyun3174,cntaobaoa020636 -cnphpwnd99999@aliyun3175,cntaobaoa020702 -cnphpwnd99999@aliyun3176,cntaobaoa021120a -cnphpwnd99999@aliyun3177,cntaobaoa02114122 -cnphpwnd99999@aliyun3178,cntaobaoa021771 -cnphpwnd99999@aliyun3179,cntaobaoa0231012054 -cnphpwnd99999@aliyun3180,cntaobaoa0289a -cnphpwnd99999@aliyun3181,cntaobaoa02aiai -cnphpwnd99999@aliyun3182,cntaobaoa030829 -cnphpwnd99999@aliyun3183,cntaobaoa03140201 -cnphpwnd99999@aliyun3184,cntaobaoa03316699 -cnphpwnd99999@aliyun3185,cntaobaoa033510 -cnphpwnd99999@aliyun3186,cntaobaoa0377 -cnphpwnd99999@aliyun3187,cntaobaoa0394366 -cnphpwnd99999@aliyun3188,cntaobaoa03a24 -cnphpwnd99999@aliyun3189,cntaobaoa040168 -cnphpwnd99999@aliyun3190,cntaobaoa041118 -cnphpwnd99999@aliyun3191,cntaobaoa0504003 -cnphpwnd99999@aliyun3192,cntaobaoa05132 -cnphpwnd99999@aliyun3193,cntaobaoa05146900907 -cnphpwnd99999@aliyun3194,cntaobaoa0556234 -cnphpwnd99999@aliyun3195,cntaobaoa055763635 -cnphpwnd99999@aliyun3196,cntaobaoa0577 -cnphpwnd99999@aliyun3197,cntaobaoa05995243 -cnphpwnd99999@aliyun3198,cntaobaoa06020313 -cnphpwnd99999@aliyun3199,cntaobaoa0636827 -cnphpwnd99999@aliyun3200,cntaobaoa065700 -cnphpwnd99999@aliyun3201,cntaobaoa0683 -cnphpwnd99999@aliyun3202,cntaobaoa06_e -cnphpwnd99999@aliyun3203,cntaobaoa0722098 -cnphpwnd99999@aliyun3204,cntaobaoa0743154 -cnphpwnd99999@aliyun3205,cntaobaoa0805 -cnphpwnd99999@aliyun3206,cntaobaoa08086154 -cnphpwnd99999@aliyun3207,cntaobaoa080z -cnphpwnd99999@aliyun3208,cntaobaoa0867 -cnphpwnd99999@aliyun3209,cntaobaoa088223 -cnphpwnd99999@aliyun3210,cntaobaoa0915723149 -cnphpwnd99999@aliyun3211,cntaobaoa09201017 -cnphpwnd99999@aliyun3212,cntaobaoa0925 -cnphpwnd99999@aliyun3213,cntaobaoa0a1a2 -cnphpwnd99999@aliyun3214,cntaobaoa0aaq4rz -cnphpwnd99999@aliyun3215,cntaobaoa0b8c6 -cnphpwnd99999@aliyun3216,cntaobaoa0x7at5lwx6dj0qnup -cnphpwnd99999@aliyun3217,cntaobaoa1-ring -cnphpwnd99999@aliyun3218,cntaobaoa1004 -cnphpwnd99999@aliyun3219,cntaobaoa101023 -cnphpwnd99999@aliyun3220,cntaobaoa101101 -cnphpwnd99999@aliyun3221,cntaobaoa101412001 -cnphpwnd99999@aliyun3222,cntaobaoa1019 -cnphpwnd99999@aliyun3223,cntaobaoa101chengzhang -cnphpwnd99999@aliyun3224,cntaobaoa102556798 -cnphpwnd99999@aliyun3225,cntaobaoa10270396 -cnphpwnd99999@aliyun3226,cntaobaoa102905862 -cnphpwnd99999@aliyun3227,cntaobaoa1031526 -cnphpwnd99999@aliyun3228,cntaobaoa1035422 -cnphpwnd99999@aliyun3229,cntaobaoa103822 -cnphpwnd99999@aliyun3230,cntaobaoa103879307 -cnphpwnd99999@aliyun3231,cntaobaoa106385080 -cnphpwnd99999@aliyun3232,cntaobaoa10670829 -cnphpwnd99999@aliyun3233,cntaobaoa106845346 -cnphpwnd99999@aliyun3234,cntaobaoa106952771 -cnphpwnd99999@aliyun3235,cntaobaoa108 -cnphpwnd99999@aliyun3236,cntaobaoa1082 -cnphpwnd99999@aliyun3237,cntaobaoa10871510 -cnphpwnd99999@aliyun3238,cntaobaoa108832881 -cnphpwnd99999@aliyun3239,cntaobaoa109 -cnphpwnd99999@aliyun3240,cntaobaoa109687120 -cnphpwnd99999@aliyun3241,cntaobaoa110064372 -cnphpwnd99999@aliyun3242,cntaobaoa110106 -cnphpwnd99999@aliyun3243,cntaobaoa110112010 -cnphpwnd99999@aliyun3244,cntaobaoa110662024 -cnphpwnd99999@aliyun3245,cntaobaoa110771110 -cnphpwnd99999@aliyun3246,cntaobaoa11090 -cnphpwnd99999@aliyun3247,cntaobaoa1110171693 -cnphpwnd99999@aliyun3248,cntaobaoa111111111 -cnphpwnd99999@aliyun3249,cntaobaoa111115 -cnphpwnd99999@aliyun3250,cntaobaoa111122 -cnphpwnd99999@aliyun3251,cntaobaoa1113088 -cnphpwnd99999@aliyun3252,cntaobaoa111333 -cnphpwnd99999@aliyun3253,cntaobaoa1114 -cnphpwnd99999@aliyun3254,cntaobaoa11168041 -cnphpwnd99999@aliyun3255,cntaobaoa111z -cnphpwnd99999@aliyun3256,cntaobaoa112040211 -cnphpwnd99999@aliyun3257,cntaobaoa1122119 -cnphpwnd99999@aliyun3258,cntaobaoa112233 -cnphpwnd99999@aliyun3259,cntaobaoa1123wolf -cnphpwnd99999@aliyun3260,cntaobaoa1124 -cnphpwnd99999@aliyun3261,cntaobaoa112575 -cnphpwnd99999@aliyun3262,cntaobaoa112642034 -cnphpwnd99999@aliyun3263,cntaobaoa11267378 -cnphpwnd99999@aliyun3264,cntaobaoa112799143 -cnphpwnd99999@aliyun3265,cntaobaoa113214 -cnphpwnd99999@aliyun3266,cntaobaoa113267556 -cnphpwnd99999@aliyun3267,cntaobaoa114221713 -cnphpwnd99999@aliyun3268,cntaobaoa114289734 -cnphpwnd99999@aliyun3269,cntaobaoa114941416 -cnphpwnd99999@aliyun3270,cntaobaoa115135869 -cnphpwnd99999@aliyun3271,cntaobaoa1155 -cnphpwnd99999@aliyun3272,cntaobaoa116313601 -cnphpwnd99999@aliyun3273,cntaobaoa11679 -cnphpwnd99999@aliyun3274,cntaobaoa117478431 -cnphpwnd99999@aliyun3275,cntaobaoa119050752 -cnphpwnd99999@aliyun3276,cntaobaoa119178 -cnphpwnd99999@aliyun3277,cntaobaoa119760932 -cnphpwnd99999@aliyun3278,cntaobaoa11990702 -cnphpwnd99999@aliyun3279,cntaobaoa11a11 -cnphpwnd99999@aliyun3280,cntaobaoa11adfa -cnphpwnd99999@aliyun3281,cntaobaoa11b -cnphpwnd99999@aliyun3282,cntaobaoa11b11c11 -cnphpwnd99999@aliyun3283,cntaobaoa11lg -cnphpwnd99999@aliyun3284,cntaobaoa11qaz -cnphpwnd99999@aliyun3285,cntaobaoa11s22 -cnphpwnd99999@aliyun3286,cntaobaoa11w22s33 -cnphpwnd99999@aliyun3287,cntaobaoa1201022222 -cnphpwnd99999@aliyun3288,cntaobaoa1201024444 -cnphpwnd99999@aliyun3289,cntaobaoa12061206 -cnphpwnd99999@aliyun3290,cntaobaoa120688 -cnphpwnd99999@aliyun3291,cntaobaoa120779844 -cnphpwnd99999@aliyun3292,cntaobaoa12111 -cnphpwnd99999@aliyun3293,cntaobaoa12113020 -cnphpwnd99999@aliyun3294,cntaobaoa121212 -cnphpwnd99999@aliyun3295,cntaobaoa12169811 -cnphpwnd99999@aliyun3296,cntaobaoa122008 -cnphpwnd99999@aliyun3297,cntaobaoa12211 -cnphpwnd99999@aliyun3298,cntaobaoa1223 -cnphpwnd99999@aliyun3299,cntaobaoa1225 -cnphpwnd99999@aliyun3300,cntaobaoa123051598 -cnphpwnd99999@aliyun3301,cntaobaoa123123 -cnphpwnd99999@aliyun3302,cntaobaoa12315 -cnphpwnd99999@aliyun3303,cntaobaoa123400 -cnphpwnd99999@aliyun3304,cntaobaoa1234040 -cnphpwnd99999@aliyun3305,cntaobaoa1234511 -cnphpwnd99999@aliyun3306,cntaobaoa1234556b -cnphpwnd99999@aliyun3307,cntaobaoa1234561 -cnphpwnd99999@aliyun3308,cntaobaoa12345618 -cnphpwnd99999@aliyun3309,cntaobaoa123456654321 -cnphpwnd99999@aliyun3310,cntaobaoa1234567890 -cnphpwnd99999@aliyun3311,cntaobaoa123456a88 -cnphpwnd99999@aliyun3312,cntaobaoa12345a -cnphpwnd99999@aliyun3313,cntaobaoa1234a -cnphpwnd99999@aliyun3314,cntaobaoa1234jb -cnphpwnd99999@aliyun3315,cntaobaoa123504 -cnphpwnd99999@aliyun3316,cntaobaoa123517 -cnphpwnd99999@aliyun3317,cntaobaoa12353 -cnphpwnd99999@aliyun3318,cntaobaoa12353a -cnphpwnd99999@aliyun3319,cntaobaoa123564138 -cnphpwnd99999@aliyun3320,cntaobaoa1235674 -cnphpwnd99999@aliyun3321,cntaobaoa123575380 -cnphpwnd99999@aliyun3322,cntaobaoa1235813 -cnphpwnd99999@aliyun3323,cntaobaoa1236598 -cnphpwnd99999@aliyun3324,cntaobaoa1236598th -cnphpwnd99999@aliyun3325,cntaobaoa123659p -cnphpwnd99999@aliyun3326,cntaobaoa123685381 -cnphpwnd99999@aliyun3327,cntaobaoa123792049 -cnphpwnd99999@aliyun3328,cntaobaoa123887456 -cnphpwnd99999@aliyun3329,cntaobaoa123_918 -cnphpwnd99999@aliyun3330,cntaobaoa123b123c123d123 -cnphpwnd99999@aliyun3331,cntaobaoa123b456c111 -cnphpwnd99999@aliyun3332,cntaobaoa124309335 -cnphpwnd99999@aliyun3333,cntaobaoa124578a -cnphpwnd99999@aliyun3334,cntaobaoa125374521 -cnphpwnd99999@aliyun3335,cntaobaoa125471572 -cnphpwnd99999@aliyun3336,cntaobaoa125646476 -cnphpwnd99999@aliyun3337,cntaobaoa125700321 -cnphpwnd99999@aliyun3338,cntaobaoa12587799 -cnphpwnd99999@aliyun3339,cntaobaoa126126 -cnphpwnd99999@aliyun3340,cntaobaoa12646986 -cnphpwnd99999@aliyun3341,cntaobaoa126hongfei -cnphpwnd99999@aliyun3342,cntaobaoa12752686 -cnphpwnd99999@aliyun3343,cntaobaoa12769286 -cnphpwnd99999@aliyun3344,cntaobaoa1283 -cnphpwnd99999@aliyun3345,cntaobaoa128664489 -cnphpwnd99999@aliyun3346,cntaobaoa129278a -cnphpwnd99999@aliyun3347,cntaobaoa1295534923 -cnphpwnd99999@aliyun3348,cntaobaoa12a3 -cnphpwnd99999@aliyun3349,cntaobaoa12bc -cnphpwnd99999@aliyun3350,cntaobaoa12hk -cnphpwnd99999@aliyun3351,cntaobaoa12jk -cnphpwnd99999@aliyun3352,cntaobaoa13023145125 -cnphpwnd99999@aliyun3353,cntaobaoa1306 -cnphpwnd99999@aliyun3354,cntaobaoa13065486855 -cnphpwnd99999@aliyun3355,cntaobaoa13066213 -cnphpwnd99999@aliyun3356,cntaobaoa130730 -cnphpwnd99999@aliyun3357,cntaobaoa131416822 -cnphpwnd99999@aliyun3358,cntaobaoa131425 -cnphpwnd99999@aliyun3359,cntaobaoa13164639131 -cnphpwnd99999@aliyun3360,cntaobaoa131671 -cnphpwnd99999@aliyun3361,cntaobaoa13173501 -cnphpwnd99999@aliyun3362,cntaobaoa1318145161 -cnphpwnd99999@aliyun3363,cntaobaoa1318510 -cnphpwnd99999@aliyun3364,cntaobaoa13186896902 -cnphpwnd99999@aliyun3365,cntaobaoa13188819765 -cnphpwnd99999@aliyun3366,cntaobaoa13305697733 -cnphpwnd99999@aliyun3367,cntaobaoa13379698 -cnphpwnd99999@aliyun3368,cntaobaoa134488 -cnphpwnd99999@aliyun3369,cntaobaoa13501 -cnphpwnd99999@aliyun3370,cntaobaoa13538889568 -cnphpwnd99999@aliyun3371,cntaobaoa13548898874 -cnphpwnd99999@aliyun3372,cntaobaoa1355667 -cnphpwnd99999@aliyun3373,cntaobaoa13579253474 -cnphpwnd99999@aliyun3374,cntaobaoa1359922 -cnphpwnd99999@aliyun3375,cntaobaoa13599276333 -cnphpwnd99999@aliyun3376,cntaobaoa13603060232 -cnphpwnd99999@aliyun3377,cntaobaoa13626061 -cnphpwnd99999@aliyun3378,cntaobaoa13634272232 -cnphpwnd99999@aliyun3379,cntaobaoa13635216469 -cnphpwnd99999@aliyun3380,cntaobaoa13636 -cnphpwnd99999@aliyun3381,cntaobaoa136400 -cnphpwnd99999@aliyun3382,cntaobaoa13650251 -cnphpwnd99999@aliyun3383,cntaobaoa13653003098 -cnphpwnd99999@aliyun3384,cntaobaoa1366624147 -cnphpwnd99999@aliyun3385,cntaobaoa13671194711 -cnphpwnd99999@aliyun3386,cntaobaoa1367468 -cnphpwnd99999@aliyun3387,cntaobaoa136800 -cnphpwnd99999@aliyun3388,cntaobaoa13705326565 -cnphpwnd99999@aliyun3389,cntaobaoa137300 -cnphpwnd99999@aliyun3390,cntaobaoa1375400170088 -cnphpwnd99999@aliyun3391,cntaobaoa13758199960 -cnphpwnd99999@aliyun3392,cntaobaoa1377498624 -cnphpwnd99999@aliyun3393,cntaobaoa13797130140 -cnphpwnd99999@aliyun3394,cntaobaoa13801168232 -cnphpwnd99999@aliyun3395,cntaobaoa1380775222 -cnphpwnd99999@aliyun3396,cntaobaoa138188 -cnphpwnd99999@aliyun3397,cntaobaoa13822461995 -cnphpwnd99999@aliyun3398,cntaobaoa1382335165 -cnphpwnd99999@aliyun3399,cntaobaoa13828670160 -cnphpwnd99999@aliyun3400,cntaobaoa13832721066 -cnphpwnd99999@aliyun3401,cntaobaoa138369 -cnphpwnd99999@aliyun3402,cntaobaoa13853 -cnphpwnd99999@aliyun3403,cntaobaoa13857636981 -cnphpwnd99999@aliyun3404,cntaobaoa1386968 -cnphpwnd99999@aliyun3405,cntaobaoa138s -cnphpwnd99999@aliyun3406,cntaobaoa13919860908 -cnphpwnd99999@aliyun3407,cntaobaoa1393803 -cnphpwnd99999@aliyun3408,cntaobaoa13971300 -cnphpwnd99999@aliyun3409,cntaobaoa13983725165 -cnphpwnd99999@aliyun3410,cntaobaoa13a13a13 -cnphpwnd99999@aliyun3411,cntaobaoa142753 -cnphpwnd99999@aliyun3412,cntaobaoa1460469081 -cnphpwnd99999@aliyun3413,cntaobaoa147 -cnphpwnd99999@aliyun3414,cntaobaoa147258369 -cnphpwnd99999@aliyun3415,cntaobaoa147369 -cnphpwnd99999@aliyun3416,cntaobaoa147402385 -cnphpwnd99999@aliyun3417,cntaobaoa14777511 -cnphpwnd99999@aliyun3418,cntaobaoa1478741 -cnphpwnd99999@aliyun3419,cntaobaoa147q -cnphpwnd99999@aliyun3420,cntaobaoa148100500 -cnphpwnd99999@aliyun3421,cntaobaoa148246772 -cnphpwnd99999@aliyun3422,cntaobaoa14841868 -cnphpwnd99999@aliyun3423,cntaobaoa149876984 -cnphpwnd99999@aliyun3424,cntaobaoa15053 -cnphpwnd99999@aliyun3425,cntaobaoa150559939 -cnphpwnd99999@aliyun3426,cntaobaoa1511821735 -cnphpwnd99999@aliyun3427,cntaobaoa15119 -cnphpwnd99999@aliyun3428,cntaobaoa151231301 -cnphpwnd99999@aliyun3429,cntaobaoa153577651 -cnphpwnd99999@aliyun3430,cntaobaoa154016895 -cnphpwnd99999@aliyun3431,cntaobaoa154666076 -cnphpwnd99999@aliyun3432,cntaobaoa15515090 -cnphpwnd99999@aliyun3433,cntaobaoa15547259 -cnphpwnd99999@aliyun3434,cntaobaoa1557743 -cnphpwnd99999@aliyun3435,cntaobaoa156152 -cnphpwnd99999@aliyun3436,cntaobaoa157144 -cnphpwnd99999@aliyun3437,cntaobaoa157953 -cnphpwnd99999@aliyun3438,cntaobaoa157990729 -cnphpwnd99999@aliyun3439,cntaobaoa158669841 -cnphpwnd99999@aliyun3440,cntaobaoa158680074 -cnphpwnd99999@aliyun3441,cntaobaoa159357b -cnphpwnd99999@aliyun3442,cntaobaoa159868971 -cnphpwnd99999@aliyun3443,cntaobaoa159872 -cnphpwnd99999@aliyun3444,cntaobaoa15past6 -cnphpwnd99999@aliyun3445,cntaobaoa160540985 -cnphpwnd99999@aliyun3446,cntaobaoa1616616 -cnphpwnd99999@aliyun3447,cntaobaoa162 -cnphpwnd99999@aliyun3448,cntaobaoa162163635 -cnphpwnd99999@aliyun3449,cntaobaoa1635520 -cnphpwnd99999@aliyun3450,cntaobaoa1644291212 -cnphpwnd99999@aliyun3451,cntaobaoa165403731 -cnphpwnd99999@aliyun3452,cntaobaoa165657597 -cnphpwnd99999@aliyun3453,cntaobaoa166632432 -cnphpwnd99999@aliyun3454,cntaobaoa1680 -cnphpwnd99999@aliyun3455,cntaobaoa16888 -cnphpwnd99999@aliyun3456,cntaobaoa16946573 -cnphpwnd99999@aliyun3457,cntaobaoa170125955 -cnphpwnd99999@aliyun3458,cntaobaoa17036534 -cnphpwnd99999@aliyun3459,cntaobaoa17050703 -cnphpwnd99999@aliyun3460,cntaobaoa170896345 -cnphpwnd99999@aliyun3461,cntaobaoa171498148 -cnphpwnd99999@aliyun3462,cntaobaoa171621908 -cnphpwnd99999@aliyun3463,cntaobaoa172354450 -cnphpwnd99999@aliyun3464,cntaobaoa17258066 -cnphpwnd99999@aliyun3465,cntaobaoa172866863 -cnphpwnd99999@aliyun3466,cntaobaoa173238860 -cnphpwnd99999@aliyun3467,cntaobaoa173421 -cnphpwnd99999@aliyun3468,cntaobaoa173557070 -cnphpwnd99999@aliyun3469,cntaobaoa173599691 -cnphpwnd99999@aliyun3470,cntaobaoa174300699 -cnphpwnd99999@aliyun3471,cntaobaoa1751 -cnphpwnd99999@aliyun3472,cntaobaoa175440217 -cnphpwnd99999@aliyun3473,cntaobaoa1774bo -cnphpwnd99999@aliyun3474,cntaobaoa178878787 -cnphpwnd99999@aliyun3475,cntaobaoa1794364 -cnphpwnd99999@aliyun3476,cntaobaoa17960 -cnphpwnd99999@aliyun3477,cntaobaoa179789500 -cnphpwnd99999@aliyun3478,cntaobaoa179840091 -cnphpwnd99999@aliyun3479,cntaobaoa179928919 -cnphpwnd99999@aliyun3480,cntaobaoa1799bo -cnphpwnd99999@aliyun3481,cntaobaoa18100255 -cnphpwnd99999@aliyun3482,cntaobaoa181404895 -cnphpwnd99999@aliyun3483,cntaobaoa181518863 -cnphpwnd99999@aliyun3484,cntaobaoa18181 -cnphpwnd99999@aliyun3485,cntaobaoa18181818 -cnphpwnd99999@aliyun3486,cntaobaoa181958702 -cnphpwnd99999@aliyun3487,cntaobaoa182409062 -cnphpwnd99999@aliyun3488,cntaobaoa18269 -cnphpwnd99999@aliyun3489,cntaobaoa182934414 -cnphpwnd99999@aliyun3490,cntaobaoa184404360 -cnphpwnd99999@aliyun3491,cntaobaoa184523 -cnphpwnd99999@aliyun3492,cntaobaoa185795683 -cnphpwnd99999@aliyun3493,cntaobaoa188 -cnphpwnd99999@aliyun3494,cntaobaoa188zk -cnphpwnd99999@aliyun3495,cntaobaoa189355 -cnphpwnd99999@aliyun3496,cntaobaoa190019 -cnphpwnd99999@aliyun3497,cntaobaoa1929 -cnphpwnd99999@aliyun3498,cntaobaoa193786425 -cnphpwnd99999@aliyun3499,cntaobaoa195210 -cnphpwnd99999@aliyun3500,cntaobaoa195258 -cnphpwnd99999@aliyun3501,cntaobaoa1953125 -cnphpwnd99999@aliyun3502,cntaobaoa19631208 -cnphpwnd99999@aliyun3503,cntaobaoa19730626 -cnphpwnd99999@aliyun3504,cntaobaoa19750101 -cnphpwnd99999@aliyun3505,cntaobaoa19770306 -cnphpwnd99999@aliyun3506,cntaobaoa197802 -cnphpwnd99999@aliyun3507,cntaobaoa19781010 -cnphpwnd99999@aliyun3508,cntaobaoa19790811 -cnphpwnd99999@aliyun3509,cntaobaoa19804865 -cnphpwnd99999@aliyun3510,cntaobaoa1981 -cnphpwnd99999@aliyun3511,cntaobaoa19810909 -cnphpwnd99999@aliyun3512,cntaobaoa19811206 -cnphpwnd99999@aliyun3513,cntaobaoa198155a -cnphpwnd99999@aliyun3514,cntaobaoa198206081852 -cnphpwnd99999@aliyun3515,cntaobaoa198208052003 -cnphpwnd99999@aliyun3516,cntaobaoa19821022 -cnphpwnd99999@aliyun3517,cntaobaoa1983 -cnphpwnd99999@aliyun3518,cntaobaoa19831030 -cnphpwnd99999@aliyun3519,cntaobaoa19831212 -cnphpwnd99999@aliyun3520,cntaobaoa1983anfei -cnphpwnd99999@aliyun3521,cntaobaoa1984 -cnphpwnd99999@aliyun3522,cntaobaoa19840209 -cnphpwnd99999@aliyun3523,cntaobaoa19840829 -cnphpwnd99999@aliyun3524,cntaobaoa1984101z -cnphpwnd99999@aliyun3525,cntaobaoa19841101 -cnphpwnd99999@aliyun3526,cntaobaoa198481 -cnphpwnd99999@aliyun3527,cntaobaoa19850529 -cnphpwnd99999@aliyun3528,cntaobaoa19850626 -cnphpwnd99999@aliyun3529,cntaobaoa19851010 -cnphpwnd99999@aliyun3530,cntaobaoa198524 -cnphpwnd99999@aliyun3531,cntaobaoa19861202 -cnphpwnd99999@aliyun3532,cntaobaoa1986804 -cnphpwnd99999@aliyun3533,cntaobaoa198701150 -cnphpwnd99999@aliyun3534,cntaobaoa19871017 -cnphpwnd99999@aliyun3535,cntaobaoa1987112 -cnphpwnd99999@aliyun3536,cntaobaoa1987927_2005 -cnphpwnd99999@aliyun3537,cntaobaoa19880807 -cnphpwnd99999@aliyun3538,cntaobaoa198811 -cnphpwnd99999@aliyun3539,cntaobaoa198888 -cnphpwnd99999@aliyun3540,cntaobaoa199025 -cnphpwnd99999@aliyun3541,cntaobaoa1990318 -cnphpwnd99999@aliyun3542,cntaobaoa1993925 -cnphpwnd99999@aliyun3543,cntaobaoa199601180 -cnphpwnd99999@aliyun3544,cntaobaoa199628321 -cnphpwnd99999@aliyun3545,cntaobaoa199799752 -cnphpwnd99999@aliyun3546,cntaobaoa19986b1984 -cnphpwnd99999@aliyun3547,cntaobaoa19cai -cnphpwnd99999@aliyun3548,cntaobaoa1_b1 -cnphpwnd99999@aliyun3549,cntaobaoa1a1 -cnphpwnd99999@aliyun3550,cntaobaoa1a11 -cnphpwnd99999@aliyun3551,cntaobaoa1a11a111 -cnphpwnd99999@aliyun3552,cntaobaoa1a1a1a188 -cnphpwnd99999@aliyun3553,cntaobaoa1a1a1a19 -cnphpwnd99999@aliyun3554,cntaobaoa1a1a1b22 -cnphpwnd99999@aliyun3555,cntaobaoa1a2a3 -cnphpwnd99999@aliyun3556,cntaobaoa1a2a31234 -cnphpwnd99999@aliyun3557,cntaobaoa1a2a3306 -cnphpwnd99999@aliyun3558,cntaobaoa1a2a3a1a2a3 -cnphpwnd99999@aliyun3559,cntaobaoa1a2s3 -cnphpwnd99999@aliyun3560,cntaobaoa1asd5722871 -cnphpwnd99999@aliyun3561,cntaobaoa1b1311 -cnphpwnd99999@aliyun3562,cntaobaoa1b2_002 -cnphpwnd99999@aliyun3563,cntaobaoa1b2c -cnphpwnd99999@aliyun3564,cntaobaoa1b2c1_311 -cnphpwnd99999@aliyun3565,cntaobaoa1b2c2 -cnphpwnd99999@aliyun3566,cntaobaoa1b2c3012 -cnphpwnd99999@aliyun3567,cntaobaoa1b2c3123 -cnphpwnd99999@aliyun3568,cntaobaoa1b2c322 -cnphpwnd99999@aliyun3569,cntaobaoa1b2c3770 -cnphpwnd99999@aliyun3570,cntaobaoa1b2c3abc -cnphpwnd99999@aliyun3571,cntaobaoa1b2c3c3c3001 -cnphpwnd99999@aliyun3572,cntaobaoa1b2c3c3c3007 -cnphpwnd99999@aliyun3573,cntaobaoa1b2c3d4888 -cnphpwnd99999@aliyun3574,cntaobaoa1b2c3d4_0071 -cnphpwnd99999@aliyun3575,cntaobaoa1b2c3d4lalala -cnphpwnd99999@aliyun3576,cntaobaoa1china -cnphpwnd99999@aliyun3577,cntaobaoa1ctidus -cnphpwnd99999@aliyun3578,cntaobaoa1d50ye -cnphpwnd99999@aliyun3579,cntaobaoa1eric -cnphpwnd99999@aliyun3580,cntaobaoa1fw -cnphpwnd99999@aliyun3581,cntaobaoa1g9ma -cnphpwnd99999@aliyun3582,cntaobaoa1man -cnphpwnd99999@aliyun3583,cntaobaoa1pioneer -cnphpwnd99999@aliyun3584,cntaobaoa1s1d1 -cnphpwnd99999@aliyun3585,cntaobaoa1s2_1234 -cnphpwnd99999@aliyun3586,cntaobaoa1s2c3e4f6 -cnphpwnd99999@aliyun3587,cntaobaoa1tommy731 -cnphpwnd99999@aliyun3588,cntaobaoa1wangjig -cnphpwnd99999@aliyun3589,cntaobaoa1xiaosong -cnphpwnd99999@aliyun3590,cntaobaoa2-21 -cnphpwnd99999@aliyun3591,cntaobaoa20000 -cnphpwnd99999@aliyun3592,cntaobaoa200000 -cnphpwnd99999@aliyun3593,cntaobaoa200001b -cnphpwnd99999@aliyun3594,cntaobaoa20011227 -cnphpwnd99999@aliyun3595,cntaobaoa200128313 -cnphpwnd99999@aliyun3596,cntaobaoa20017831 -cnphpwnd99999@aliyun3597,cntaobaoa20031010 -cnphpwnd99999@aliyun3598,cntaobaoa2004bcd -cnphpwnd99999@aliyun3599,cntaobaoa2004iceman -cnphpwnd99999@aliyun3600,cntaobaoa2005411 -cnphpwnd99999@aliyun3601,cntaobaoa2008a57506734 -cnphpwnd99999@aliyun3602,cntaobaoa200sc -cnphpwnd99999@aliyun3603,cntaobaoa2010725 -cnphpwnd99999@aliyun3604,cntaobaoa2011 -cnphpwnd99999@aliyun3605,cntaobaoa2013009 -cnphpwnd99999@aliyun3606,cntaobaoa2013685 -cnphpwnd99999@aliyun3607,cntaobaoa2021 -cnphpwnd99999@aliyun3608,cntaobaoa20302 -cnphpwnd99999@aliyun3609,cntaobaoa2031662 -cnphpwnd99999@aliyun3610,cntaobaoa20329213 -cnphpwnd99999@aliyun3611,cntaobaoa20538 -cnphpwnd99999@aliyun3612,cntaobaoa2056 -cnphpwnd99999@aliyun3613,cntaobaoa205918 -cnphpwnd99999@aliyun3614,cntaobaoa2067956 -cnphpwnd99999@aliyun3615,cntaobaoa2083119 -cnphpwnd99999@aliyun3616,cntaobaoa21011838 -cnphpwnd99999@aliyun3617,cntaobaoa2103 -cnphpwnd99999@aliyun3618,cntaobaoa2109966 -cnphpwnd99999@aliyun3619,cntaobaoa2111248 -cnphpwnd99999@aliyun3620,cntaobaoa2121079a -cnphpwnd99999@aliyun3621,cntaobaoa2121849 -cnphpwnd99999@aliyun3622,cntaobaoa212695 -cnphpwnd99999@aliyun3623,cntaobaoa213 -cnphpwnd99999@aliyun3624,cntaobaoa213312 -cnphpwnd99999@aliyun3625,cntaobaoa214071328 -cnphpwnd99999@aliyun3626,cntaobaoa214178065 -cnphpwnd99999@aliyun3627,cntaobaoa214452334 -cnphpwnd99999@aliyun3628,cntaobaoa21467641 -cnphpwnd99999@aliyun3629,cntaobaoa214872064 -cnphpwnd99999@aliyun3630,cntaobaoa2152116 -cnphpwnd99999@aliyun3631,cntaobaoa215955 -cnphpwnd99999@aliyun3632,cntaobaoa21693 -cnphpwnd99999@aliyun3633,cntaobaoa21729327 -cnphpwnd99999@aliyun3634,cntaobaoa21770980 -cnphpwnd99999@aliyun3635,cntaobaoa2190337 -cnphpwnd99999@aliyun3636,cntaobaoa2192502 -cnphpwnd99999@aliyun3637,cntaobaoa21a -cnphpwnd99999@aliyun3638,cntaobaoa2205889 -cnphpwnd99999@aliyun3639,cntaobaoa221144 -cnphpwnd99999@aliyun3640,cntaobaoa2213310 -cnphpwnd99999@aliyun3641,cntaobaoa2219684b -cnphpwnd99999@aliyun3642,cntaobaoa221a -cnphpwnd99999@aliyun3643,cntaobaoa2222a -cnphpwnd99999@aliyun3644,cntaobaoa222321111 -cnphpwnd99999@aliyun3645,cntaobaoa2224796 -cnphpwnd99999@aliyun3646,cntaobaoa222888 -cnphpwnd99999@aliyun3647,cntaobaoa2230436 -cnphpwnd99999@aliyun3648,cntaobaoa2233 -cnphpwnd99999@aliyun3649,cntaobaoa22333 -cnphpwnd99999@aliyun3650,cntaobaoa2235 -cnphpwnd99999@aliyun3651,cntaobaoa2238867 -cnphpwnd99999@aliyun3652,cntaobaoa223a -cnphpwnd99999@aliyun3653,cntaobaoa2244532 -cnphpwnd99999@aliyun3654,cntaobaoa22485060 -cnphpwnd99999@aliyun3655,cntaobaoa225434636 -cnphpwnd99999@aliyun3656,cntaobaoa225487 -cnphpwnd99999@aliyun3657,cntaobaoa225525 -cnphpwnd99999@aliyun3658,cntaobaoa22599509 -cnphpwnd99999@aliyun3659,cntaobaoa226044194 -cnphpwnd99999@aliyun3660,cntaobaoa2277 -cnphpwnd99999@aliyun3661,cntaobaoa22806690 -cnphpwnd99999@aliyun3662,cntaobaoa2290928 -cnphpwnd99999@aliyun3663,cntaobaoa229562254 -cnphpwnd99999@aliyun3664,cntaobaoa22p -cnphpwnd99999@aliyun3665,cntaobaoa23035 -cnphpwnd99999@aliyun3666,cntaobaoa23051886 -cnphpwnd99999@aliyun3667,cntaobaoa2310146 -cnphpwnd99999@aliyun3668,cntaobaoa23105921019 -cnphpwnd99999@aliyun3669,cntaobaoa2311130a -cnphpwnd99999@aliyun3670,cntaobaoa2311584 -cnphpwnd99999@aliyun3671,cntaobaoa2314011 -cnphpwnd99999@aliyun3672,cntaobaoa2315356 -cnphpwnd99999@aliyun3673,cntaobaoa2316117018 -cnphpwnd99999@aliyun3674,cntaobaoa2322345 -cnphpwnd99999@aliyun3675,cntaobaoa232873524 -cnphpwnd99999@aliyun3676,cntaobaoa23321 -cnphpwnd99999@aliyun3677,cntaobaoa233211792 -cnphpwnd99999@aliyun3678,cntaobaoa2333 -cnphpwnd99999@aliyun3679,cntaobaoa23436 -cnphpwnd99999@aliyun3680,cntaobaoa23456789 -cnphpwnd99999@aliyun3681,cntaobaoa234567890 -cnphpwnd99999@aliyun3682,cntaobaoa234590 -cnphpwnd99999@aliyun3683,cntaobaoa2346 -cnphpwnd99999@aliyun3684,cntaobaoa234827 -cnphpwnd99999@aliyun3685,cntaobaoa23539336 -cnphpwnd99999@aliyun3686,cntaobaoa235448758 -cnphpwnd99999@aliyun3687,cntaobaoa2359491aa -cnphpwnd99999@aliyun3688,cntaobaoa235bf -cnphpwnd99999@aliyun3689,cntaobaoa236711 -cnphpwnd99999@aliyun3690,cntaobaoa23673 -cnphpwnd99999@aliyun3691,cntaobaoa2369018 -cnphpwnd99999@aliyun3692,cntaobaoa237565854 -cnphpwnd99999@aliyun3693,cntaobaoa2401 -cnphpwnd99999@aliyun3694,cntaobaoa24027244 -cnphpwnd99999@aliyun3695,cntaobaoa240452406 -cnphpwnd99999@aliyun3696,cntaobaoa2417713 -cnphpwnd99999@aliyun3697,cntaobaoa2428485 -cnphpwnd99999@aliyun3698,cntaobaoa24513893 -cnphpwnd99999@aliyun3699,cntaobaoa2471917 -cnphpwnd99999@aliyun3700,cntaobaoa247356106 -cnphpwnd99999@aliyun3701,cntaobaoa24867325 -cnphpwnd99999@aliyun3702,cntaobaoa2490247 -cnphpwnd99999@aliyun3703,cntaobaoa249080426 -cnphpwnd99999@aliyun3704,cntaobaoa24989713 -cnphpwnd99999@aliyun3705,cntaobaoa24fg -cnphpwnd99999@aliyun3706,cntaobaoa250195053 -cnphpwnd99999@aliyun3707,cntaobaoa250609532 -cnphpwnd99999@aliyun3708,cntaobaoa250635642 -cnphpwnd99999@aliyun3709,cntaobaoa250684246 -cnphpwnd99999@aliyun3710,cntaobaoa250706273 -cnphpwnd99999@aliyun3711,cntaobaoa2507526 -cnphpwnd99999@aliyun3712,cntaobaoa25136641 -cnphpwnd99999@aliyun3713,cntaobaoa251542245 -cnphpwnd99999@aliyun3714,cntaobaoa25257758 -cnphpwnd99999@aliyun3715,cntaobaoa252694355 -cnphpwnd99999@aliyun3716,cntaobaoa25316435 -cnphpwnd99999@aliyun3717,cntaobaoa253416 -cnphpwnd99999@aliyun3718,cntaobaoa253717379 -cnphpwnd99999@aliyun3719,cntaobaoa25416 -cnphpwnd99999@aliyun3720,cntaobaoa254208883_ -cnphpwnd99999@aliyun3721,cntaobaoa254459775 -cnphpwnd99999@aliyun3722,cntaobaoa254644858 -cnphpwnd99999@aliyun3723,cntaobaoa2548 -cnphpwnd99999@aliyun3724,cntaobaoa254801182 -cnphpwnd99999@aliyun3725,cntaobaoa2552585 -cnphpwnd99999@aliyun3726,cntaobaoa2571036 -cnphpwnd99999@aliyun3727,cntaobaoa2576556 -cnphpwnd99999@aliyun3728,cntaobaoa257865 -cnphpwnd99999@aliyun3729,cntaobaoa258200510 -cnphpwnd99999@aliyun3730,cntaobaoa258421388 -cnphpwnd99999@aliyun3731,cntaobaoa258521 -cnphpwnd99999@aliyun3732,cntaobaoa258551007 -cnphpwnd99999@aliyun3733,cntaobaoa2587758 -cnphpwnd99999@aliyun3734,cntaobaoa258963 -cnphpwnd99999@aliyun3735,cntaobaoa260121526 -cnphpwnd99999@aliyun3736,cntaobaoa2601941 -cnphpwnd99999@aliyun3737,cntaobaoa26064019 -cnphpwnd99999@aliyun3738,cntaobaoa261033518 -cnphpwnd99999@aliyun3739,cntaobaoa261597859 -cnphpwnd99999@aliyun3740,cntaobaoa2623369 -cnphpwnd99999@aliyun3741,cntaobaoa2625647 -cnphpwnd99999@aliyun3742,cntaobaoa2630326 -cnphpwnd99999@aliyun3743,cntaobaoa263436980 -cnphpwnd99999@aliyun3744,cntaobaoa263768235 -cnphpwnd99999@aliyun3745,cntaobaoa263net -cnphpwnd99999@aliyun3746,cntaobaoa264299446 -cnphpwnd99999@aliyun3747,cntaobaoa264609550 -cnphpwnd99999@aliyun3748,cntaobaoa2661185 -cnphpwnd99999@aliyun3749,cntaobaoa26624456 -cnphpwnd99999@aliyun3750,cntaobaoa2664622 -cnphpwnd99999@aliyun3751,cntaobaoa2666106 -cnphpwnd99999@aliyun3752,cntaobaoa266731010 -cnphpwnd99999@aliyun3753,cntaobaoa26678472 -cnphpwnd99999@aliyun3754,cntaobaoa2676278 -cnphpwnd99999@aliyun3755,cntaobaoa2683013 -cnphpwnd99999@aliyun3756,cntaobaoa2689898 -cnphpwnd99999@aliyun3757,cntaobaoa269056327 -cnphpwnd99999@aliyun3758,cntaobaoa2692333 -cnphpwnd99999@aliyun3759,cntaobaoa269580442 -cnphpwnd99999@aliyun3760,cntaobaoa2701001 -cnphpwnd99999@aliyun3761,cntaobaoa270231337 -cnphpwnd99999@aliyun3762,cntaobaoa27044z -cnphpwnd99999@aliyun3763,cntaobaoa270636141 -cnphpwnd99999@aliyun3764,cntaobaoa271290 -cnphpwnd99999@aliyun3765,cntaobaoa271479776 -cnphpwnd99999@aliyun3766,cntaobaoa271686034 -cnphpwnd99999@aliyun3767,cntaobaoa272074 -cnphpwnd99999@aliyun3768,cntaobaoa2721110 -cnphpwnd99999@aliyun3769,cntaobaoa272121004 -cnphpwnd99999@aliyun3770,cntaobaoa27212443 -cnphpwnd99999@aliyun3771,cntaobaoa2733336 -cnphpwnd99999@aliyun3772,cntaobaoa2733528 -cnphpwnd99999@aliyun3773,cntaobaoa273875446 -cnphpwnd99999@aliyun3774,cntaobaoa274985451 -cnphpwnd99999@aliyun3775,cntaobaoa274ng7 -cnphpwnd99999@aliyun3776,cntaobaoa275200 -cnphpwnd99999@aliyun3777,cntaobaoa27572002 -cnphpwnd99999@aliyun3778,cntaobaoa27613468 -cnphpwnd99999@aliyun3779,cntaobaoa277264707 -cnphpwnd99999@aliyun3780,cntaobaoa277453391 -cnphpwnd99999@aliyun3781,cntaobaoa2777151 -cnphpwnd99999@aliyun3782,cntaobaoa279420951 -cnphpwnd99999@aliyun3783,cntaobaoa280568758 -cnphpwnd99999@aliyun3784,cntaobaoa280928685 -cnphpwnd99999@aliyun3785,cntaobaoa2809878 -cnphpwnd99999@aliyun3786,cntaobaoa281068472 -cnphpwnd99999@aliyun3787,cntaobaoa281473146 -cnphpwnd99999@aliyun3788,cntaobaoa2817390z -cnphpwnd99999@aliyun3789,cntaobaoa28176658 -cnphpwnd99999@aliyun3790,cntaobaoa2820965 -cnphpwnd99999@aliyun3791,cntaobaoa282354943 -cnphpwnd99999@aliyun3792,cntaobaoa2828125 -cnphpwnd99999@aliyun3793,cntaobaoa2837 -cnphpwnd99999@aliyun3794,cntaobaoa283703521 -cnphpwnd99999@aliyun3795,cntaobaoa283782725 -cnphpwnd99999@aliyun3796,cntaobaoa2838333 -cnphpwnd99999@aliyun3797,cntaobaoa28450378 -cnphpwnd99999@aliyun3798,cntaobaoa284675332 -cnphpwnd99999@aliyun3799,cntaobaoa2855555 -cnphpwnd99999@aliyun3800,cntaobaoa28562956 -cnphpwnd99999@aliyun3801,cntaobaoa28582427 -cnphpwnd99999@aliyun3802,cntaobaoa285900093 -cnphpwnd99999@aliyun3803,cntaobaoa286613000 -cnphpwnd99999@aliyun3804,cntaobaoa286651916 -cnphpwnd99999@aliyun3805,cntaobaoa2868658 -cnphpwnd99999@aliyun3806,cntaobaoa2877473 -cnphpwnd99999@aliyun3807,cntaobaoa289361719 -cnphpwnd99999@aliyun3808,cntaobaoa289708562 -cnphpwnd99999@aliyun3809,cntaobaoa290321767 -cnphpwnd99999@aliyun3810,cntaobaoa290633660 -cnphpwnd99999@aliyun3811,cntaobaoa290695841z -cnphpwnd99999@aliyun3812,cntaobaoa2909381 -cnphpwnd99999@aliyun3813,cntaobaoa2924 -cnphpwnd99999@aliyun3814,cntaobaoa2930709 -cnphpwnd99999@aliyun3815,cntaobaoa29380527 -cnphpwnd99999@aliyun3816,cntaobaoa2939229 -cnphpwnd99999@aliyun3817,cntaobaoa2955566 -cnphpwnd99999@aliyun3818,cntaobaoa29569295 -cnphpwnd99999@aliyun3819,cntaobaoa29701565 -cnphpwnd99999@aliyun3820,cntaobaoa2971082 -cnphpwnd99999@aliyun3821,cntaobaoa29825704 -cnphpwnd99999@aliyun3822,cntaobaoa2988651 -cnphpwnd99999@aliyun3823,cntaobaoa2999998 -cnphpwnd99999@aliyun3824,cntaobaoa2a251550 -cnphpwnd99999@aliyun3825,cntaobaoa2f4 -cnphpwnd99999@aliyun3826,cntaobaoa2go954_j -cnphpwnd99999@aliyun3827,cntaobaoa2harew -cnphpwnd99999@aliyun3828,cntaobaoa2hha2 -cnphpwnd99999@aliyun3829,cntaobaoa2lihong -cnphpwnd99999@aliyun3830,cntaobaoa2ming2004 -cnphpwnd99999@aliyun3831,cntaobaoa2mm -cnphpwnd99999@aliyun3832,cntaobaoa2q2 -cnphpwnd99999@aliyun3833,cntaobaoa2s3d4 -cnphpwnd99999@aliyun3834,cntaobaoa2yao -cnphpwnd99999@aliyun3835,cntaobaoa2zz -cnphpwnd99999@aliyun3836,cntaobaoa301_ann -cnphpwnd99999@aliyun3837,cntaobaoa3028522 -cnphpwnd99999@aliyun3838,cntaobaoa303204807 -cnphpwnd99999@aliyun3839,cntaobaoa303846302 -cnphpwnd99999@aliyun3840,cntaobaoa303963735 -cnphpwnd99999@aliyun3841,cntaobaoa3043713 -cnphpwnd99999@aliyun3842,cntaobaoa30485150 -cnphpwnd99999@aliyun3843,cntaobaoa30494746 -cnphpwnd99999@aliyun3844,cntaobaoa3056169 -cnphpwnd99999@aliyun3845,cntaobaoa305858389 -cnphpwnd99999@aliyun3846,cntaobaoa306806250 -cnphpwnd99999@aliyun3847,cntaobaoa306884327 -cnphpwnd99999@aliyun3848,cntaobaoa307137580 -cnphpwnd99999@aliyun3849,cntaobaoa30744288 -cnphpwnd99999@aliyun3850,cntaobaoa307972782 -cnphpwnd99999@aliyun3851,cntaobaoa308815428 -cnphpwnd99999@aliyun3852,cntaobaoa3093251783 -cnphpwnd99999@aliyun3853,cntaobaoa309567375 -cnphpwnd99999@aliyun3854,cntaobaoa31055 -cnphpwnd99999@aliyun3855,cntaobaoa3116396a -cnphpwnd99999@aliyun3856,cntaobaoa312085267 -cnphpwnd99999@aliyun3857,cntaobaoa312130207 -cnphpwnd99999@aliyun3858,cntaobaoa312228010 -cnphpwnd99999@aliyun3859,cntaobaoa312315 -cnphpwnd99999@aliyun3860,cntaobaoa31301646088 -cnphpwnd99999@aliyun3861,cntaobaoa313069054 -cnphpwnd99999@aliyun3862,cntaobaoa31331 -cnphpwnd99999@aliyun3863,cntaobaoa31415 -cnphpwnd99999@aliyun3864,cntaobaoa314159 -cnphpwnd99999@aliyun3865,cntaobaoa314174 -cnphpwnd99999@aliyun3866,cntaobaoa315013643 -cnphpwnd99999@aliyun3867,cntaobaoa316110960 -cnphpwnd99999@aliyun3868,cntaobaoa316478891 -cnphpwnd99999@aliyun3869,cntaobaoa316521667 -cnphpwnd99999@aliyun3870,cntaobaoa3170012 -cnphpwnd99999@aliyun3871,cntaobaoa31707 -cnphpwnd99999@aliyun3872,cntaobaoa3171208 -cnphpwnd99999@aliyun3873,cntaobaoa317173165 -cnphpwnd99999@aliyun3874,cntaobaoa317711687 -cnphpwnd99999@aliyun3875,cntaobaoa317773770 -cnphpwnd99999@aliyun3876,cntaobaoa3181427 -cnphpwnd99999@aliyun3877,cntaobaoa31899089 -cnphpwnd99999@aliyun3878,cntaobaoa319 -cnphpwnd99999@aliyun3879,cntaobaoa320a340 -cnphpwnd99999@aliyun3880,cntaobaoa3210315 -cnphpwnd99999@aliyun3881,cntaobaoa32107 -cnphpwnd99999@aliyun3882,cntaobaoa3213201 -cnphpwnd99999@aliyun3883,cntaobaoa321456 -cnphpwnd99999@aliyun3884,cntaobaoa3219491 -cnphpwnd99999@aliyun3885,cntaobaoa3224789 -cnphpwnd99999@aliyun3886,cntaobaoa3229846 -cnphpwnd99999@aliyun3887,cntaobaoa3232 -cnphpwnd99999@aliyun3888,cntaobaoa3232593 -cnphpwnd99999@aliyun3889,cntaobaoa323357921 -cnphpwnd99999@aliyun3890,cntaobaoa32570 -cnphpwnd99999@aliyun3891,cntaobaoa3260513 -cnphpwnd99999@aliyun3892,cntaobaoa326202 -cnphpwnd99999@aliyun3893,cntaobaoa3265446 -cnphpwnd99999@aliyun3894,cntaobaoa3297138 -cnphpwnd99999@aliyun3895,cntaobaoa32a123 -cnphpwnd99999@aliyun3896,cntaobaoa3302382 -cnphpwnd99999@aliyun3897,cntaobaoa330494541 -cnphpwnd99999@aliyun3898,cntaobaoa33108 -cnphpwnd99999@aliyun3899,cntaobaoa331703556 -cnphpwnd99999@aliyun3900,cntaobaoa3317325 -cnphpwnd99999@aliyun3901,cntaobaoa332363335 -cnphpwnd99999@aliyun3902,cntaobaoa3324466 -cnphpwnd99999@aliyun3903,cntaobaoa33320071 -cnphpwnd99999@aliyun3904,cntaobaoa3334 -cnphpwnd99999@aliyun3905,cntaobaoa333777w -cnphpwnd99999@aliyun3906,cntaobaoa3339923 -cnphpwnd99999@aliyun3907,cntaobaoa334132615 -cnphpwnd99999@aliyun3908,cntaobaoa334305755 -cnphpwnd99999@aliyun3909,cntaobaoa3344 -cnphpwnd99999@aliyun3910,cntaobaoa3347367 -cnphpwnd99999@aliyun3911,cntaobaoa3348226 -cnphpwnd99999@aliyun3912,cntaobaoa3355224 -cnphpwnd99999@aliyun3913,cntaobaoa335566 -cnphpwnd99999@aliyun3914,cntaobaoa3355721 -cnphpwnd99999@aliyun3915,cntaobaoa3356666 -cnphpwnd99999@aliyun3916,cntaobaoa3358001 -cnphpwnd99999@aliyun3917,cntaobaoa3365546 -cnphpwnd99999@aliyun3918,cntaobaoa3368 -cnphpwnd99999@aliyun3919,cntaobaoa3368621 -cnphpwnd99999@aliyun3920,cntaobaoa3369-2000 -cnphpwnd99999@aliyun3921,cntaobaoa3371250 -cnphpwnd99999@aliyun3922,cntaobaoa3374945 -cnphpwnd99999@aliyun3923,cntaobaoa33778749 -cnphpwnd99999@aliyun3924,cntaobaoa3387272 -cnphpwnd99999@aliyun3925,cntaobaoa339 -cnphpwnd99999@aliyun3926,cntaobaoa3390055 -cnphpwnd99999@aliyun3927,cntaobaoa339576383 -cnphpwnd99999@aliyun3928,cntaobaoa340203 -cnphpwnd99999@aliyun3929,cntaobaoa34022666 -cnphpwnd99999@aliyun3930,cntaobaoa34040443 -cnphpwnd99999@aliyun3931,cntaobaoa34058659b8 -cnphpwnd99999@aliyun3932,cntaobaoa3427006 -cnphpwnd99999@aliyun3933,cntaobaoa342707127 -cnphpwnd99999@aliyun3934,cntaobaoa342919403 -cnphpwnd99999@aliyun3935,cntaobaoa34294 -cnphpwnd99999@aliyun3936,cntaobaoa343610787 -cnphpwnd99999@aliyun3937,cntaobaoa344593281 -cnphpwnd99999@aliyun3938,cntaobaoa3451729 -cnphpwnd99999@aliyun3939,cntaobaoa345666817 -cnphpwnd99999@aliyun3940,cntaobaoa3456902a -cnphpwnd99999@aliyun3941,cntaobaoa34640782 -cnphpwnd99999@aliyun3942,cntaobaoa349704715 -cnphpwnd99999@aliyun3943,cntaobaoa349742234a -cnphpwnd99999@aliyun3944,cntaobaoa350282367 -cnphpwnd99999@aliyun3945,cntaobaoa351408899 -cnphpwnd99999@aliyun3946,cntaobaoa351471273 -cnphpwnd99999@aliyun3947,cntaobaoa3529 -cnphpwnd99999@aliyun3948,cntaobaoa3529566 -cnphpwnd99999@aliyun3949,cntaobaoa3536398 -cnphpwnd99999@aliyun3950,cntaobaoa3551405 -cnphpwnd99999@aliyun3951,cntaobaoa3572125 -cnphpwnd99999@aliyun3952,cntaobaoa357706648 -cnphpwnd99999@aliyun3953,cntaobaoa359000109 -cnphpwnd99999@aliyun3954,cntaobaoa35dfds -cnphpwnd99999@aliyun3955,cntaobaoa3601691 -cnphpwnd99999@aliyun3956,cntaobaoa360537291 -cnphpwnd99999@aliyun3957,cntaobaoa3607 -cnphpwnd99999@aliyun3958,cntaobaoa3617399 -cnphpwnd99999@aliyun3959,cntaobaoa3621231974 -cnphpwnd99999@aliyun3960,cntaobaoa362134320 -cnphpwnd99999@aliyun3961,cntaobaoa362230639 -cnphpwnd99999@aliyun3962,cntaobaoa362376297 -cnphpwnd99999@aliyun3963,cntaobaoa362580060 -cnphpwnd99999@aliyun3964,cntaobaoa363113064 -cnphpwnd99999@aliyun3965,cntaobaoa3635080 -cnphpwnd99999@aliyun3966,cntaobaoa363567714 -cnphpwnd99999@aliyun3967,cntaobaoa363636 -cnphpwnd99999@aliyun3968,cntaobaoa36370795 -cnphpwnd99999@aliyun3969,cntaobaoa363845677 -cnphpwnd99999@aliyun3970,cntaobaoa3648163 -cnphpwnd99999@aliyun3971,cntaobaoa36494940 -cnphpwnd99999@aliyun3972,cntaobaoa3650 -cnphpwnd99999@aliyun3973,cntaobaoa3651478 -cnphpwnd99999@aliyun3974,cntaobaoa3652057 -cnphpwnd99999@aliyun3975,cntaobaoa3656523 -cnphpwnd99999@aliyun3976,cntaobaoa366000 -cnphpwnd99999@aliyun3977,cntaobaoa366100 -cnphpwnd99999@aliyun3978,cntaobaoa3662077 -cnphpwnd99999@aliyun3979,cntaobaoa36629402 -cnphpwnd99999@aliyun3980,cntaobaoa36649274 -cnphpwnd99999@aliyun3981,cntaobaoa3698021 -cnphpwnd99999@aliyun3982,cntaobaoa369850777 -cnphpwnd99999@aliyun3983,cntaobaoa36995660 -cnphpwnd99999@aliyun3984,cntaobaoa371774998 -cnphpwnd99999@aliyun3985,cntaobaoa372260019 -cnphpwnd99999@aliyun3986,cntaobaoa372375162 -cnphpwnd99999@aliyun3987,cntaobaoa372808412 -cnphpwnd99999@aliyun3988,cntaobaoa373439 -cnphpwnd99999@aliyun3989,cntaobaoa37353735 -cnphpwnd99999@aliyun3990,cntaobaoa3747 -cnphpwnd99999@aliyun3991,cntaobaoa375577670 -cnphpwnd99999@aliyun3992,cntaobaoa3773 -cnphpwnd99999@aliyun3993,cntaobaoa3784565 -cnphpwnd99999@aliyun3994,cntaobaoa3788374m -cnphpwnd99999@aliyun3995,cntaobaoa379136031 -cnphpwnd99999@aliyun3996,cntaobaoa38019456 -cnphpwnd99999@aliyun3997,cntaobaoa3806033 -cnphpwnd99999@aliyun3998,cntaobaoa3822 -cnphpwnd99999@aliyun3999,cntaobaoa382422883 -cnphpwnd99999@aliyun4000,cntaobaoa38367571 -cnphpwnd99999@aliyun4001,cntaobaoa3842540 -cnphpwnd99999@aliyun4002,cntaobaoa3848655 -cnphpwnd99999@aliyun4003,cntaobaoa3854303 -cnphpwnd99999@aliyun4004,cntaobaoa38598745 -cnphpwnd99999@aliyun4005,cntaobaoa3863589 -cnphpwnd99999@aliyun4006,cntaobaoa3868562 -cnphpwnd99999@aliyun4007,cntaobaoa38726957 -cnphpwnd99999@aliyun4008,cntaobaoa387937730 -cnphpwnd99999@aliyun4009,cntaobaoa3903093 -cnphpwnd99999@aliyun4010,cntaobaoa390735695 -cnphpwnd99999@aliyun4011,cntaobaoa391825195 -cnphpwnd99999@aliyun4012,cntaobaoa39200 -cnphpwnd99999@aliyun4013,cntaobaoa395979884 -cnphpwnd99999@aliyun4014,cntaobaoa39682534 -cnphpwnd99999@aliyun4015,cntaobaoa397866551 -cnphpwnd99999@aliyun4016,cntaobaoa399 -cnphpwnd99999@aliyun4017,cntaobaoa3_b3 -cnphpwnd99999@aliyun4018,cntaobaoa3a2a1321 -cnphpwnd99999@aliyun4019,cntaobaoa3a4520 -cnphpwnd99999@aliyun4020,cntaobaoa3b46d -cnphpwnd99999@aliyun4021,cntaobaoa3d45s -cnphpwnd99999@aliyun4022,cntaobaoa3fei -cnphpwnd99999@aliyun4023,cntaobaoa3guoyan1 -cnphpwnd99999@aliyun4024,cntaobaoa3hikalu -cnphpwnd99999@aliyun4025,cntaobaoa3wind -cnphpwnd99999@aliyun4026,cntaobaoa3xx14 -cnphpwnd99999@aliyun4027,cntaobaoa40147281 -cnphpwnd99999@aliyun4028,cntaobaoa4023665 -cnphpwnd99999@aliyun4029,cntaobaoa402832903 -cnphpwnd99999@aliyun4030,cntaobaoa403 -cnphpwnd99999@aliyun4031,cntaobaoa403466681 -cnphpwnd99999@aliyun4032,cntaobaoa403917796 -cnphpwnd99999@aliyun4033,cntaobaoa40406520 -cnphpwnd99999@aliyun4034,cntaobaoa404801363 -cnphpwnd99999@aliyun4035,cntaobaoa408588316 -cnphpwnd99999@aliyun4036,cntaobaoa40900347 -cnphpwnd99999@aliyun4037,cntaobaoa409155816 -cnphpwnd99999@aliyun4038,cntaobaoa4097897 -cnphpwnd99999@aliyun4039,cntaobaoa4100099 -cnphpwnd99999@aliyun4040,cntaobaoa410868570 -cnphpwnd99999@aliyun4041,cntaobaoa410945676 -cnphpwnd99999@aliyun4042,cntaobaoa410998663 -cnphpwnd99999@aliyun4043,cntaobaoa411303 -cnphpwnd99999@aliyun4044,cntaobaoa4115bc22 -cnphpwnd99999@aliyun4045,cntaobaoa4121888 -cnphpwnd99999@aliyun4046,cntaobaoa412541137 -cnphpwnd99999@aliyun4047,cntaobaoa412b -cnphpwnd99999@aliyun4048,cntaobaoa41435845 -cnphpwnd99999@aliyun4049,cntaobaoa414721782 -cnphpwnd99999@aliyun4050,cntaobaoa415241 -cnphpwnd99999@aliyun4051,cntaobaoa415655788 -cnphpwnd99999@aliyun4052,cntaobaoa415883647 -cnphpwnd99999@aliyun4053,cntaobaoa4160194 -cnphpwnd99999@aliyun4054,cntaobaoa41602534 -cnphpwnd99999@aliyun4055,cntaobaoa41652874088 -cnphpwnd99999@aliyun4056,cntaobaoa416815088 -cnphpwnd99999@aliyun4057,cntaobaoa417239090 -cnphpwnd99999@aliyun4058,cntaobaoa417252307 -cnphpwnd99999@aliyun4059,cntaobaoa417257065 -cnphpwnd99999@aliyun4060,cntaobaoa41747960 -cnphpwnd99999@aliyun4061,cntaobaoa417800658 -cnphpwnd99999@aliyun4062,cntaobaoa41782503 -cnphpwnd99999@aliyun4063,cntaobaoa419668667 -cnphpwnd99999@aliyun4064,cntaobaoa420314295 -cnphpwnd99999@aliyun4065,cntaobaoa420788604 -cnphpwnd99999@aliyun4066,cntaobaoa4215654 -cnphpwnd99999@aliyun4067,cntaobaoa42166 -cnphpwnd99999@aliyun4068,cntaobaoa4221099 -cnphpwnd99999@aliyun4069,cntaobaoa42276090 -cnphpwnd99999@aliyun4070,cntaobaoa42295471 -cnphpwnd99999@aliyun4071,cntaobaoa423272630 -cnphpwnd99999@aliyun4072,cntaobaoa4233481 -cnphpwnd99999@aliyun4073,cntaobaoa423577 -cnphpwnd99999@aliyun4074,cntaobaoa4253004 -cnphpwnd99999@aliyun4075,cntaobaoa425788 -cnphpwnd99999@aliyun4076,cntaobaoa4258608 -cnphpwnd99999@aliyun4077,cntaobaoa42779265 -cnphpwnd99999@aliyun4078,cntaobaoa430210 -cnphpwnd99999@aliyun4079,cntaobaoa4314426 -cnphpwnd99999@aliyun4080,cntaobaoa4320826 -cnphpwnd99999@aliyun4081,cntaobaoa4321412 -cnphpwnd99999@aliyun4082,cntaobaoa4351005 -cnphpwnd99999@aliyun4083,cntaobaoa43571280 -cnphpwnd99999@aliyun4084,cntaobaoa4362968q -cnphpwnd99999@aliyun4085,cntaobaoa43649437 -cnphpwnd99999@aliyun4086,cntaobaoa43788962 -cnphpwnd99999@aliyun4087,cntaobaoa43v -cnphpwnd99999@aliyun4088,cntaobaoa44010 -cnphpwnd99999@aliyun4089,cntaobaoa44015 -cnphpwnd99999@aliyun4090,cntaobaoa44021 -cnphpwnd99999@aliyun4091,cntaobaoa4414815 -cnphpwnd99999@aliyun4092,cntaobaoa441a -cnphpwnd99999@aliyun4093,cntaobaoa442369500 -cnphpwnd99999@aliyun4094,cntaobaoa442481980 -cnphpwnd99999@aliyun4095,cntaobaoa443764595 -cnphpwnd99999@aliyun4096,cntaobaoa444302001 -cnphpwnd99999@aliyun4097,cntaobaoa4444148 -cnphpwnd99999@aliyun4098,cntaobaoa4450455 -cnphpwnd99999@aliyun4099,cntaobaoa4452449 -cnphpwnd99999@aliyun4100,cntaobaoa4477656 -cnphpwnd99999@aliyun4101,cntaobaoa450 -cnphpwnd99999@aliyun4102,cntaobaoa45065198 -cnphpwnd99999@aliyun4103,cntaobaoa4517320 -cnphpwnd99999@aliyun4104,cntaobaoa453519 -cnphpwnd99999@aliyun4105,cntaobaoa4545916 -cnphpwnd99999@aliyun4106,cntaobaoa4563828 -cnphpwnd99999@aliyun4107,cntaobaoa45644251 -cnphpwnd99999@aliyun4108,cntaobaoa4567890 -cnphpwnd99999@aliyun4109,cntaobaoa4577390 -cnphpwnd99999@aliyun4110,cntaobaoa45c -cnphpwnd99999@aliyun4111,cntaobaoa4610117 -cnphpwnd99999@aliyun4112,cntaobaoa4615309 -cnphpwnd99999@aliyun4113,cntaobaoa4632671 -cnphpwnd99999@aliyun4114,cntaobaoa464646 -cnphpwnd99999@aliyun4115,cntaobaoa46485136 -cnphpwnd99999@aliyun4116,cntaobaoa4661251 -cnphpwnd99999@aliyun4117,cntaobaoa4672030 -cnphpwnd99999@aliyun4118,cntaobaoa46722590 -cnphpwnd99999@aliyun4119,cntaobaoa4686728 -cnphpwnd99999@aliyun4120,cntaobaoa4712595 -cnphpwnd99999@aliyun4121,cntaobaoa474616255 -cnphpwnd99999@aliyun4122,cntaobaoa47550538 -cnphpwnd99999@aliyun4123,cntaobaoa47792908 -cnphpwnd99999@aliyun4124,cntaobaoa480624 -cnphpwnd99999@aliyun4125,cntaobaoa48103688 -cnphpwnd99999@aliyun4126,cntaobaoa4821462 -cnphpwnd99999@aliyun4127,cntaobaoa4826186 -cnphpwnd99999@aliyun4128,cntaobaoa4834134 -cnphpwnd99999@aliyun4129,cntaobaoa4855595 -cnphpwnd99999@aliyun4130,cntaobaoa48651865 -cnphpwnd99999@aliyun4131,cntaobaoa48802816 -cnphpwnd99999@aliyun4132,cntaobaoa48883 -cnphpwnd99999@aliyun4133,cntaobaoa48993743 -cnphpwnd99999@aliyun4134,cntaobaoa49421526 -cnphpwnd99999@aliyun4135,cntaobaoa49649549 -cnphpwnd99999@aliyun4136,cntaobaoa498685590 -cnphpwnd99999@aliyun4137,cntaobaoa4a123 -cnphpwnd99999@aliyun4138,cntaobaoa4a5a4a5 -cnphpwnd99999@aliyun4139,cntaobaoa4b6ebg -cnphpwnd99999@aliyun4140,cntaobaoa4dfw7ee -cnphpwnd99999@aliyun4141,cntaobaoa4mao -cnphpwnd99999@aliyun4142,cntaobaoa4nfei -cnphpwnd99999@aliyun4143,cntaobaoa4s4d44444 -cnphpwnd99999@aliyun4144,cntaobaoa4tech2005 -cnphpwnd99999@aliyun4145,cntaobaoa5010792 -cnphpwnd99999@aliyun4146,cntaobaoa5024610 -cnphpwnd99999@aliyun4147,cntaobaoa50291151 -cnphpwnd99999@aliyun4148,cntaobaoa502a -cnphpwnd99999@aliyun4149,cntaobaoa504404 -cnphpwnd99999@aliyun4150,cntaobaoa5053311 -cnphpwnd99999@aliyun4151,cntaobaoa50587411 -cnphpwnd99999@aliyun4152,cntaobaoa5101728 -cnphpwnd99999@aliyun4153,cntaobaoa51020 -cnphpwnd99999@aliyun4154,cntaobaoa510319629 -cnphpwnd99999@aliyun4155,cntaobaoa5109 -cnphpwnd99999@aliyun4156,cntaobaoa511681 -cnphpwnd99999@aliyun4157,cntaobaoa5117788 -cnphpwnd99999@aliyun4158,cntaobaoa512345 -cnphpwnd99999@aliyun4159,cntaobaoa5125016 -cnphpwnd99999@aliyun4160,cntaobaoa5127329 -cnphpwnd99999@aliyun4161,cntaobaoa5139398a -cnphpwnd99999@aliyun4162,cntaobaoa514374566 -cnphpwnd99999@aliyun4163,cntaobaoa514514 -cnphpwnd99999@aliyun4164,cntaobaoa5152139 -cnphpwnd99999@aliyun4165,cntaobaoa516302 -cnphpwnd99999@aliyun4166,cntaobaoa5164219 -cnphpwnd99999@aliyun4167,cntaobaoa5174 -cnphpwnd99999@aliyun4168,cntaobaoa51819701 -cnphpwnd99999@aliyun4169,cntaobaoa5191665 -cnphpwnd99999@aliyun4170,cntaobaoa51best -cnphpwnd99999@aliyun4171,cntaobaoa5201850 -cnphpwnd99999@aliyun4172,cntaobaoa520a520 -cnphpwnd99999@aliyun4173,cntaobaoa520bc -cnphpwnd99999@aliyun4174,cntaobaoa521 -cnphpwnd99999@aliyun4175,cntaobaoa5211314 -cnphpwnd99999@aliyun4176,cntaobaoa5212778 -cnphpwnd99999@aliyun4177,cntaobaoa521_521 -cnphpwnd99999@aliyun4178,cntaobaoa521aa -cnphpwnd99999@aliyun4179,cntaobaoa521z -cnphpwnd99999@aliyun4180,cntaobaoa522 -cnphpwnd99999@aliyun4181,cntaobaoa522121 -cnphpwnd99999@aliyun4182,cntaobaoa5227115 -cnphpwnd99999@aliyun4183,cntaobaoa5230518 -cnphpwnd99999@aliyun4184,cntaobaoa5231278 -cnphpwnd99999@aliyun4185,cntaobaoa5233599 -cnphpwnd99999@aliyun4186,cntaobaoa524559 -cnphpwnd99999@aliyun4187,cntaobaoa52529711z -cnphpwnd99999@aliyun4188,cntaobaoa5252987 -cnphpwnd99999@aliyun4189,cntaobaoa52543 -cnphpwnd99999@aliyun4190,cntaobaoa5258128 -cnphpwnd99999@aliyun4191,cntaobaoa526093710 -cnphpwnd99999@aliyun4192,cntaobaoa52609373 -cnphpwnd99999@aliyun4193,cntaobaoa52827922 -cnphpwnd99999@aliyun4194,cntaobaoa5287033 -cnphpwnd99999@aliyun4195,cntaobaoa5293938 -cnphpwnd99999@aliyun4196,cntaobaoa5294562 -cnphpwnd99999@aliyun4197,cntaobaoa529826 -cnphpwnd99999@aliyun4198,cntaobaoa5300144 -cnphpwnd99999@aliyun4199,cntaobaoa5323628 -cnphpwnd99999@aliyun4200,cntaobaoa53486 -cnphpwnd99999@aliyun4201,cntaobaoa53814432 -cnphpwnd99999@aliyun4202,cntaobaoa538916 -cnphpwnd99999@aliyun4203,cntaobaoa53903029 -cnphpwnd99999@aliyun4204,cntaobaoa5400754007 -cnphpwnd99999@aliyun4205,cntaobaoa54097b -cnphpwnd99999@aliyun4206,cntaobaoa5411698 -cnphpwnd99999@aliyun4207,cntaobaoa54165316 -cnphpwnd99999@aliyun4208,cntaobaoa541s1 -cnphpwnd99999@aliyun4209,cntaobaoa542276014 -cnphpwnd99999@aliyun4210,cntaobaoa543220 -cnphpwnd99999@aliyun4211,cntaobaoa5432356 -cnphpwnd99999@aliyun4212,cntaobaoa5457626 -cnphpwnd99999@aliyun4213,cntaobaoa54661 -cnphpwnd99999@aliyun4214,cntaobaoa5471 -cnphpwnd99999@aliyun4215,cntaobaoa5480 -cnphpwnd99999@aliyun4216,cntaobaoa54dfsd43 -cnphpwnd99999@aliyun4217,cntaobaoa5506022 -cnphpwnd99999@aliyun4218,cntaobaoa5512351 -cnphpwnd99999@aliyun4219,cntaobaoa5515310 -cnphpwnd99999@aliyun4220,cntaobaoa5516254a -cnphpwnd99999@aliyun4221,cntaobaoa5520399 -cnphpwnd99999@aliyun4222,cntaobaoa5523870 -cnphpwnd99999@aliyun4223,cntaobaoa55288395 -cnphpwnd99999@aliyun4224,cntaobaoa5529098 -cnphpwnd99999@aliyun4225,cntaobaoa5533290 -cnphpwnd99999@aliyun4226,cntaobaoa5534567 -cnphpwnd99999@aliyun4227,cntaobaoa5535097 -cnphpwnd99999@aliyun4228,cntaobaoa5535449 -cnphpwnd99999@aliyun4229,cntaobaoa5544324 -cnphpwnd99999@aliyun4230,cntaobaoa55545 -cnphpwnd99999@aliyun4231,cntaobaoa555666 -cnphpwnd99999@aliyun4232,cntaobaoa5562624 -cnphpwnd99999@aliyun4233,cntaobaoa5566_2005 -cnphpwnd99999@aliyun4234,cntaobaoa5566a -cnphpwnd99999@aliyun4235,cntaobaoa5575655 -cnphpwnd99999@aliyun4236,cntaobaoa55804845 -cnphpwnd99999@aliyun4237,cntaobaoa5581871 -cnphpwnd99999@aliyun4238,cntaobaoa5585519 -cnphpwnd99999@aliyun4239,cntaobaoa5587523 -cnphpwnd99999@aliyun4240,cntaobaoa5587546a -cnphpwnd99999@aliyun4241,cntaobaoa5612519 -cnphpwnd99999@aliyun4242,cntaobaoa5620296 -cnphpwnd99999@aliyun4243,cntaobaoa5626964 -cnphpwnd99999@aliyun4244,cntaobaoa5638845 -cnphpwnd99999@aliyun4245,cntaobaoa56432963 -cnphpwnd99999@aliyun4246,cntaobaoa56443467 -cnphpwnd99999@aliyun4247,cntaobaoa56456 -cnphpwnd99999@aliyun4248,cntaobaoa5650080 -cnphpwnd99999@aliyun4249,cntaobaoa56502650 -cnphpwnd99999@aliyun4250,cntaobaoa56567878 -cnphpwnd99999@aliyun4251,cntaobaoa5657799 -cnphpwnd99999@aliyun4252,cntaobaoa565883 -cnphpwnd99999@aliyun4253,cntaobaoa5660301 -cnphpwnd99999@aliyun4254,cntaobaoa56608884 -cnphpwnd99999@aliyun4255,cntaobaoa56698428 -cnphpwnd99999@aliyun4256,cntaobaoa5676981a -cnphpwnd99999@aliyun4257,cntaobaoa568024bb -cnphpwnd99999@aliyun4258,cntaobaoa56814331 -cnphpwnd99999@aliyun4259,cntaobaoa5685469 -cnphpwnd99999@aliyun4260,cntaobaoa56898702 -cnphpwnd99999@aliyun4261,cntaobaoa56905876 -cnphpwnd99999@aliyun4262,cntaobaoa5695010 -cnphpwnd99999@aliyun4263,cntaobaoa5702355 -cnphpwnd99999@aliyun4264,cntaobaoa5711473 -cnphpwnd99999@aliyun4265,cntaobaoa5740 -cnphpwnd99999@aliyun4266,cntaobaoa574hao -cnphpwnd99999@aliyun4267,cntaobaoa5756665 -cnphpwnd99999@aliyun4268,cntaobaoa57681952 -cnphpwnd99999@aliyun4269,cntaobaoa576b168 -cnphpwnd99999@aliyun4270,cntaobaoa579613 -cnphpwnd99999@aliyun4271,cntaobaoa57qr1yqhz0 -cnphpwnd99999@aliyun4272,cntaobaoa5802162 -cnphpwnd99999@aliyun4273,cntaobaoa58024911 -cnphpwnd99999@aliyun4274,cntaobaoa5803202_l -cnphpwnd99999@aliyun4275,cntaobaoa580818 -cnphpwnd99999@aliyun4276,cntaobaoa5808791 -cnphpwnd99999@aliyun4277,cntaobaoa581206 -cnphpwnd99999@aliyun4278,cntaobaoa5813163 -cnphpwnd99999@aliyun4279,cntaobaoa58136828 -cnphpwnd99999@aliyun4280,cntaobaoa58166061 -cnphpwnd99999@aliyun4281,cntaobaoa5823686 -cnphpwnd99999@aliyun4282,cntaobaoa58318722 -cnphpwnd99999@aliyun4283,cntaobaoa5832133 -cnphpwnd99999@aliyun4284,cntaobaoa5834 -cnphpwnd99999@aliyun4285,cntaobaoa58457471 -cnphpwnd99999@aliyun4286,cntaobaoa5846185 -cnphpwnd99999@aliyun4287,cntaobaoa585900 -cnphpwnd99999@aliyun4288,cntaobaoa58602538 -cnphpwnd99999@aliyun4289,cntaobaoa5869785 -cnphpwnd99999@aliyun4290,cntaobaoa58771009 -cnphpwnd99999@aliyun4291,cntaobaoa5879780 -cnphpwnd99999@aliyun4292,cntaobaoa58834880 -cnphpwnd99999@aliyun4293,cntaobaoa5885759 -cnphpwnd99999@aliyun4294,cntaobaoa5885908 -cnphpwnd99999@aliyun4295,cntaobaoa5888962 -cnphpwnd99999@aliyun4296,cntaobaoa5904 -cnphpwnd99999@aliyun4297,cntaobaoa5907 -cnphpwnd99999@aliyun4298,cntaobaoa59114972 -cnphpwnd99999@aliyun4299,cntaobaoa59625515 -cnphpwnd99999@aliyun4300,cntaobaoa5969622 -cnphpwnd99999@aliyun4301,cntaobaoa598753 -cnphpwnd99999@aliyun4302,cntaobaoa59897 -cnphpwnd99999@aliyun4303,cntaobaoa5998025 -cnphpwnd99999@aliyun4304,cntaobaoa599bnet -cnphpwnd99999@aliyun4305,cntaobaoa5a5a5s5s5s5 -cnphpwnd99999@aliyun4306,cntaobaoa5a7a9 -cnphpwnd99999@aliyun4307,cntaobaoa5aff -cnphpwnd99999@aliyun4308,cntaobaoa5b6c7ren -cnphpwnd99999@aliyun4309,cntaobaoa5enue -cnphpwnd99999@aliyun4310,cntaobaoa5j6kllkyelksd -cnphpwnd99999@aliyun4311,cntaobaoa5l5l5a5n -cnphpwnd99999@aliyun4312,cntaobaoa5u59ef0rce5 -cnphpwnd99999@aliyun4313,cntaobaoa6-6-6-6 -cnphpwnd99999@aliyun4314,cntaobaoa60056 -cnphpwnd99999@aliyun4315,cntaobaoa601019 -cnphpwnd99999@aliyun4316,cntaobaoa60171 -cnphpwnd99999@aliyun4317,cntaobaoa6026433 -cnphpwnd99999@aliyun4318,cntaobaoa6047504 -cnphpwnd99999@aliyun4319,cntaobaoa6050340 -cnphpwnd99999@aliyun4320,cntaobaoa6085881 -cnphpwnd99999@aliyun4321,cntaobaoa611118 -cnphpwnd99999@aliyun4322,cntaobaoa6120230 -cnphpwnd99999@aliyun4323,cntaobaoa612345 -cnphpwnd99999@aliyun4324,cntaobaoa612llw -cnphpwnd99999@aliyun4325,cntaobaoa61320314 -cnphpwnd99999@aliyun4326,cntaobaoa61349512 -cnphpwnd99999@aliyun4327,cntaobaoa614626 -cnphpwnd99999@aliyun4328,cntaobaoa6147531 -cnphpwnd99999@aliyun4329,cntaobaoa6156260 -cnphpwnd99999@aliyun4330,cntaobaoa61580181 -cnphpwnd99999@aliyun4331,cntaobaoa6161101 -cnphpwnd99999@aliyun4332,cntaobaoa616600 -cnphpwnd99999@aliyun4333,cntaobaoa61784115a -cnphpwnd99999@aliyun4334,cntaobaoa62007027 -cnphpwnd99999@aliyun4335,cntaobaoa6211320 -cnphpwnd99999@aliyun4336,cntaobaoa62116 -cnphpwnd99999@aliyun4337,cntaobaoa6214830 -cnphpwnd99999@aliyun4338,cntaobaoa62158713 -cnphpwnd99999@aliyun4339,cntaobaoa62171383 -cnphpwnd99999@aliyun4340,cntaobaoa62222157 -cnphpwnd99999@aliyun4341,cntaobaoa6222864 -cnphpwnd99999@aliyun4342,cntaobaoa6225613 -cnphpwnd99999@aliyun4343,cntaobaoa6229232 -cnphpwnd99999@aliyun4344,cntaobaoa6230191 -cnphpwnd99999@aliyun4345,cntaobaoa6231 -cnphpwnd99999@aliyun4346,cntaobaoa6232723 -cnphpwnd99999@aliyun4347,cntaobaoa62463717 -cnphpwnd99999@aliyun4348,cntaobaoa62525896 -cnphpwnd99999@aliyun4349,cntaobaoa6253587 -cnphpwnd99999@aliyun4350,cntaobaoa6254 -cnphpwnd99999@aliyun4351,cntaobaoa62600281 -cnphpwnd99999@aliyun4352,cntaobaoa6261211 -cnphpwnd99999@aliyun4353,cntaobaoa62776 -cnphpwnd99999@aliyun4354,cntaobaoa62831840 -cnphpwnd99999@aliyun4355,cntaobaoa6287536 -cnphpwnd99999@aliyun4356,cntaobaoa6292163 -cnphpwnd99999@aliyun4357,cntaobaoa6297821 -cnphpwnd99999@aliyun4358,cntaobaoa62b63c64 -cnphpwnd99999@aliyun4359,cntaobaoa6311679 -cnphpwnd99999@aliyun4360,cntaobaoa6320264 -cnphpwnd99999@aliyun4361,cntaobaoa63211811 -cnphpwnd99999@aliyun4362,cntaobaoa6325636 -cnphpwnd99999@aliyun4363,cntaobaoa6332710 -cnphpwnd99999@aliyun4364,cntaobaoa63449305 -cnphpwnd99999@aliyun4365,cntaobaoa63501513 -cnphpwnd99999@aliyun4366,cntaobaoa636034252 -cnphpwnd99999@aliyun4367,cntaobaoa63701749 -cnphpwnd99999@aliyun4368,cntaobaoa638139 -cnphpwnd99999@aliyun4369,cntaobaoa63831356 -cnphpwnd99999@aliyun4370,cntaobaoa6383150 -cnphpwnd99999@aliyun4371,cntaobaoa63850735 -cnphpwnd99999@aliyun4372,cntaobaoa639788 -cnphpwnd99999@aliyun4373,cntaobaoa640521 -cnphpwnd99999@aliyun4374,cntaobaoa6424325 -cnphpwnd99999@aliyun4375,cntaobaoa64255576 -cnphpwnd99999@aliyun4376,cntaobaoa64261895 -cnphpwnd99999@aliyun4377,cntaobaoa64502387 -cnphpwnd99999@aliyun4378,cntaobaoa64708643 -cnphpwnd99999@aliyun4379,cntaobaoa6480 -cnphpwnd99999@aliyun4380,cntaobaoa6505236 -cnphpwnd99999@aliyun4381,cntaobaoa6508142 -cnphpwnd99999@aliyun4382,cntaobaoa65185751 -cnphpwnd99999@aliyun4383,cntaobaoa6521522 -cnphpwnd99999@aliyun4384,cntaobaoa65273098 -cnphpwnd99999@aliyun4385,cntaobaoa6530023 -cnphpwnd99999@aliyun4386,cntaobaoa65338266 -cnphpwnd99999@aliyun4387,cntaobaoa65367286 -cnphpwnd99999@aliyun4388,cntaobaoa65423286 -cnphpwnd99999@aliyun4389,cntaobaoa654281788 -cnphpwnd99999@aliyun4390,cntaobaoa65468722 -cnphpwnd99999@aliyun4391,cntaobaoa65505711 -cnphpwnd99999@aliyun4392,cntaobaoa6551825 -cnphpwnd99999@aliyun4393,cntaobaoa65527891 -cnphpwnd99999@aliyun4394,cntaobaoa65530820 -cnphpwnd99999@aliyun4395,cntaobaoa6553969 -cnphpwnd99999@aliyun4396,cntaobaoa6559365 -cnphpwnd99999@aliyun4397,cntaobaoa6565585 -cnphpwnd99999@aliyun4398,cntaobaoa65656654 -cnphpwnd99999@aliyun4399,cntaobaoa65671149 -cnphpwnd99999@aliyun4400,cntaobaoa65820626 -cnphpwnd99999@aliyun4401,cntaobaoa65963958 -cnphpwnd99999@aliyun4402,cntaobaoa66031591 -cnphpwnd99999@aliyun4403,cntaobaoa66112313 -cnphpwnd99999@aliyun4404,cntaobaoa66186 -cnphpwnd99999@aliyun4405,cntaobaoa6619158 -cnphpwnd99999@aliyun4406,cntaobaoa6621729 -cnphpwnd99999@aliyun4407,cntaobaoa66245 -cnphpwnd99999@aliyun4408,cntaobaoa662697 -cnphpwnd99999@aliyun4409,cntaobaoa66311004 -cnphpwnd99999@aliyun4410,cntaobaoa6640213 -cnphpwnd99999@aliyun4411,cntaobaoa6640232 -cnphpwnd99999@aliyun4412,cntaobaoa66602093 -cnphpwnd99999@aliyun4413,cntaobaoa66638487 -cnphpwnd99999@aliyun4414,cntaobaoa66665198 -cnphpwnd99999@aliyun4415,cntaobaoa667 -cnphpwnd99999@aliyun4416,cntaobaoa6689 -cnphpwnd99999@aliyun4417,cntaobaoa6690692 -cnphpwnd99999@aliyun4418,cntaobaoa6694 -cnphpwnd99999@aliyun4419,cntaobaoa6695764 -cnphpwnd99999@aliyun4420,cntaobaoa669684855 -cnphpwnd99999@aliyun4421,cntaobaoa67458564 -cnphpwnd99999@aliyun4422,cntaobaoa6754518 -cnphpwnd99999@aliyun4423,cntaobaoa6761340 -cnphpwnd99999@aliyun4424,cntaobaoa67735645 -cnphpwnd99999@aliyun4425,cntaobaoa67863197 -cnphpwnd99999@aliyun4426,cntaobaoa6802213 -cnphpwnd99999@aliyun4427,cntaobaoa680563 -cnphpwnd99999@aliyun4428,cntaobaoa68182876_15 -cnphpwnd99999@aliyun4429,cntaobaoa6822678 -cnphpwnd99999@aliyun4430,cntaobaoa6831268 -cnphpwnd99999@aliyun4431,cntaobaoa6835720 -cnphpwnd99999@aliyun4432,cntaobaoa68432943 -cnphpwnd99999@aliyun4433,cntaobaoa68515197 -cnphpwnd99999@aliyun4434,cntaobaoa6868_0 -cnphpwnd99999@aliyun4435,cntaobaoa6869837 -cnphpwnd99999@aliyun4436,cntaobaoa68908957 -cnphpwnd99999@aliyun4437,cntaobaoa68a -cnphpwnd99999@aliyun4438,cntaobaoa6927337 -cnphpwnd99999@aliyun4439,cntaobaoa6964809 -cnphpwnd99999@aliyun4440,cntaobaoa6965288 -cnphpwnd99999@aliyun4441,cntaobaoa69666223 -cnphpwnd99999@aliyun4442,cntaobaoa6987869 -cnphpwnd99999@aliyun4443,cntaobaoa6_2005 -cnphpwnd99999@aliyun4444,cntaobaoa6a6a6a6a6a6 -cnphpwnd99999@aliyun4445,cntaobaoa6bm -cnphpwnd99999@aliyun4446,cntaobaoa6dj2j7g8 -cnphpwnd99999@aliyun4447,cntaobaoa6z8 -cnphpwnd99999@aliyun4448,cntaobaoa700108479 -cnphpwnd99999@aliyun4449,cntaobaoa7032034 -cnphpwnd99999@aliyun4450,cntaobaoa7051156 -cnphpwnd99999@aliyun4451,cntaobaoa7052203 -cnphpwnd99999@aliyun4452,cntaobaoa7063839 -cnphpwnd99999@aliyun4453,cntaobaoa70839098110 -cnphpwnd99999@aliyun4454,cntaobaoa7088 -cnphpwnd99999@aliyun4455,cntaobaoa70985132 -cnphpwnd99999@aliyun4456,cntaobaoa711828 -cnphpwnd99999@aliyun4457,cntaobaoa7123865 -cnphpwnd99999@aliyun4458,cntaobaoa71431710 -cnphpwnd99999@aliyun4459,cntaobaoa7148009 -cnphpwnd99999@aliyun4460,cntaobaoa71608public2 -cnphpwnd99999@aliyun4461,cntaobaoa716625 -cnphpwnd99999@aliyun4462,cntaobaoa7195813 -cnphpwnd99999@aliyun4463,cntaobaoa7204 -cnphpwnd99999@aliyun4464,cntaobaoa7204205 -cnphpwnd99999@aliyun4465,cntaobaoa7233610 -cnphpwnd99999@aliyun4466,cntaobaoa7235016 -cnphpwnd99999@aliyun4467,cntaobaoa7256506 -cnphpwnd99999@aliyun4468,cntaobaoa7285877 -cnphpwnd99999@aliyun4469,cntaobaoa7288486 -cnphpwnd99999@aliyun4470,cntaobaoa735907088 -cnphpwnd99999@aliyun4471,cntaobaoa736523263 -cnphpwnd99999@aliyun4472,cntaobaoa7372098 -cnphpwnd99999@aliyun4473,cntaobaoa7373 -cnphpwnd99999@aliyun4474,cntaobaoa7393768 -cnphpwnd99999@aliyun4475,cntaobaoa7398 -cnphpwnd99999@aliyun4476,cntaobaoa740911 -cnphpwnd99999@aliyun4477,cntaobaoa74122011 -cnphpwnd99999@aliyun4478,cntaobaoa7423344 -cnphpwnd99999@aliyun4479,cntaobaoa7444602 -cnphpwnd99999@aliyun4480,cntaobaoa7470002 -cnphpwnd99999@aliyun4481,cntaobaoa7493a -cnphpwnd99999@aliyun4482,cntaobaoa7516762 -cnphpwnd99999@aliyun4483,cntaobaoa753951852456 -cnphpwnd99999@aliyun4484,cntaobaoa7547232 -cnphpwnd99999@aliyun4485,cntaobaoa7551391 -cnphpwnd99999@aliyun4486,cntaobaoa7554815 -cnphpwnd99999@aliyun4487,cntaobaoa756740 -cnphpwnd99999@aliyun4488,cntaobaoa7578137 -cnphpwnd99999@aliyun4489,cntaobaoa75909015 -cnphpwnd99999@aliyun4490,cntaobaoa759166 -cnphpwnd99999@aliyun4491,cntaobaoa76031227 -cnphpwnd99999@aliyun4492,cntaobaoa760727.88 -cnphpwnd99999@aliyun4493,cntaobaoa761224 -cnphpwnd99999@aliyun4494,cntaobaoa7613898 -cnphpwnd99999@aliyun4495,cntaobaoa7627632 -cnphpwnd99999@aliyun4496,cntaobaoa7641034 -cnphpwnd99999@aliyun4497,cntaobaoa7641998 -cnphpwnd99999@aliyun4498,cntaobaoa7676413 -cnphpwnd99999@aliyun4499,cntaobaoa7685935 -cnphpwnd99999@aliyun4500,cntaobaoa7689281 -cnphpwnd99999@aliyun4501,cntaobaoa76b11c02 -cnphpwnd99999@aliyun4502,cntaobaoa770520 -cnphpwnd99999@aliyun4503,cntaobaoa77089 -cnphpwnd99999@aliyun4504,cntaobaoa7712805 -cnphpwnd99999@aliyun4505,cntaobaoa7712977 -cnphpwnd99999@aliyun4506,cntaobaoa77156078 -cnphpwnd99999@aliyun4507,cntaobaoa7720865 -cnphpwnd99999@aliyun4508,cntaobaoa772939 -cnphpwnd99999@aliyun4509,cntaobaoa77605492 -cnphpwnd99999@aliyun4510,cntaobaoa7762759 -cnphpwnd99999@aliyun4511,cntaobaoa7765002 -cnphpwnd99999@aliyun4512,cntaobaoa77707067 -cnphpwnd99999@aliyun4513,cntaobaoa7776700 -cnphpwnd99999@aliyun4514,cntaobaoa7788456108 -cnphpwnd99999@aliyun4515,cntaobaoa7788618 -cnphpwnd99999@aliyun4516,cntaobaoa7788kelly -cnphpwnd99999@aliyun4517,cntaobaoa7790955 -cnphpwnd99999@aliyun4518,cntaobaoa7796501 -cnphpwnd99999@aliyun4519,cntaobaoa77n6n26 -cnphpwnd99999@aliyun4520,cntaobaoa7803460 -cnphpwnd99999@aliyun4521,cntaobaoa78117 -cnphpwnd99999@aliyun4522,cntaobaoa7813312 -cnphpwnd99999@aliyun4523,cntaobaoa7822222 -cnphpwnd99999@aliyun4524,cntaobaoa785758 -cnphpwnd99999@aliyun4525,cntaobaoa786151 -cnphpwnd99999@aliyun4526,cntaobaoa7872991 -cnphpwnd99999@aliyun4527,cntaobaoa7875647 -cnphpwnd99999@aliyun4528,cntaobaoa78906105 -cnphpwnd99999@aliyun4529,cntaobaoa7899757 -cnphpwnd99999@aliyun4530,cntaobaoa79022553 -cnphpwnd99999@aliyun4531,cntaobaoa79022553o -cnphpwnd99999@aliyun4532,cntaobaoa790517 -cnphpwnd99999@aliyun4533,cntaobaoa79070020 -cnphpwnd99999@aliyun4534,cntaobaoa791127 -cnphpwnd99999@aliyun4535,cntaobaoa791206 -cnphpwnd99999@aliyun4536,cntaobaoa791223 -cnphpwnd99999@aliyun4537,cntaobaoa79245310 -cnphpwnd99999@aliyun4538,cntaobaoa7932789 -cnphpwnd99999@aliyun4539,cntaobaoa7958646 -cnphpwnd99999@aliyun4540,cntaobaoa7971377 -cnphpwnd99999@aliyun4541,cntaobaoa7984543 -cnphpwnd99999@aliyun4542,cntaobaoa79951100 -cnphpwnd99999@aliyun4543,cntaobaoa7b017 -cnphpwnd99999@aliyun4544,cntaobaoa7fly -cnphpwnd99999@aliyun4545,cntaobaoa7n8x -cnphpwnd99999@aliyun4546,cntaobaoa7v600 -cnphpwnd99999@aliyun4547,cntaobaoa7w_data4 -cnphpwnd99999@aliyun4548,cntaobaoa7ye16 -cnphpwnd99999@aliyun4549,cntaobaoa7zmf -cnphpwnd99999@aliyun4550,cntaobaoa80047044 -cnphpwnd99999@aliyun4551,cntaobaoa801120800 -cnphpwnd99999@aliyun4552,cntaobaoa80188 -cnphpwnd99999@aliyun4553,cntaobaoa8022022 -cnphpwnd99999@aliyun4554,cntaobaoa80221915 -cnphpwnd99999@aliyun4555,cntaobaoa8040540 -cnphpwnd99999@aliyun4556,cntaobaoa80411 -cnphpwnd99999@aliyun4557,cntaobaoa80548068 -cnphpwnd99999@aliyun4558,cntaobaoa80651332 -cnphpwnd99999@aliyun4559,cntaobaoa8096 -cnphpwnd99999@aliyun4560,cntaobaoa8097zxy -cnphpwnd99999@aliyun4561,cntaobaoa8100 -cnphpwnd99999@aliyun4562,cntaobaoa81027119 -cnphpwnd99999@aliyun4563,cntaobaoa8102926 -cnphpwnd99999@aliyun4564,cntaobaoa810316 -cnphpwnd99999@aliyun4565,cntaobaoa810527 -cnphpwnd99999@aliyun4566,cntaobaoa8108515 -cnphpwnd99999@aliyun4567,cntaobaoa811 -cnphpwnd99999@aliyun4568,cntaobaoa8110059 -cnphpwnd99999@aliyun4569,cntaobaoa81191457 -cnphpwnd99999@aliyun4570,cntaobaoa812345 -cnphpwnd99999@aliyun4571,cntaobaoa8154 -cnphpwnd99999@aliyun4572,cntaobaoa8181818 -cnphpwnd99999@aliyun4573,cntaobaoa8188 -cnphpwnd99999@aliyun4574,cntaobaoa818w -cnphpwnd99999@aliyun4575,cntaobaoa820010111 -cnphpwnd99999@aliyun4576,cntaobaoa8219912 -cnphpwnd99999@aliyun4577,cntaobaoa822323789 -cnphpwnd99999@aliyun4578,cntaobaoa8223279 -cnphpwnd99999@aliyun4579,cntaobaoa8230894 -cnphpwnd99999@aliyun4580,cntaobaoa8232266 -cnphpwnd99999@aliyun4581,cntaobaoa8243137 -cnphpwnd99999@aliyun4582,cntaobaoa82582233 -cnphpwnd99999@aliyun4583,cntaobaoa825825 -cnphpwnd99999@aliyun4584,cntaobaoa8282018 -cnphpwnd99999@aliyun4585,cntaobaoa82932876 -cnphpwnd99999@aliyun4586,cntaobaoa83058039 -cnphpwnd99999@aliyun4587,cntaobaoa8308353 -cnphpwnd99999@aliyun4588,cntaobaoa831021 -cnphpwnd99999@aliyun4589,cntaobaoa8313201 -cnphpwnd99999@aliyun4590,cntaobaoa8315413 -cnphpwnd99999@aliyun4591,cntaobaoa8329368 -cnphpwnd99999@aliyun4592,cntaobaoa8330523 -cnphpwnd99999@aliyun4593,cntaobaoa83326918 -cnphpwnd99999@aliyun4594,cntaobaoa83327159 -cnphpwnd99999@aliyun4595,cntaobaoa83388557 -cnphpwnd99999@aliyun4596,cntaobaoa8340584 -cnphpwnd99999@aliyun4597,cntaobaoa8345279 -cnphpwnd99999@aliyun4598,cntaobaoa834612 -cnphpwnd99999@aliyun4599,cntaobaoa8352672 -cnphpwnd99999@aliyun4600,cntaobaoa83627993 -cnphpwnd99999@aliyun4601,cntaobaoa83761205 -cnphpwnd99999@aliyun4602,cntaobaoa8382358 -cnphpwnd99999@aliyun4603,cntaobaoa8391658a -cnphpwnd99999@aliyun4604,cntaobaoa83944949 -cnphpwnd99999@aliyun4605,cntaobaoa8394b -cnphpwnd99999@aliyun4606,cntaobaoa840208 -cnphpwnd99999@aliyun4607,cntaobaoa840531 -cnphpwnd99999@aliyun4608,cntaobaoa840929 -cnphpwnd99999@aliyun4609,cntaobaoa84094440 -cnphpwnd99999@aliyun4610,cntaobaoa841009820617 -cnphpwnd99999@aliyun4611,cntaobaoa8413478 -cnphpwnd99999@aliyun4612,cntaobaoa8433571 -cnphpwnd99999@aliyun4613,cntaobaoa84494412 -cnphpwnd99999@aliyun4614,cntaobaoa8457 -cnphpwnd99999@aliyun4615,cntaobaoa84681256 -cnphpwnd99999@aliyun4616,cntaobaoa8476082 -cnphpwnd99999@aliyun4617,cntaobaoa84845343 -cnphpwnd99999@aliyun4618,cntaobaoa8511736 -cnphpwnd99999@aliyun4619,cntaobaoa8515470 -cnphpwnd99999@aliyun4620,cntaobaoa8515750 -cnphpwnd99999@aliyun4621,cntaobaoa85157880 -cnphpwnd99999@aliyun4622,cntaobaoa85195524 -cnphpwnd99999@aliyun4623,cntaobaoa8520 -cnphpwnd99999@aliyun4624,cntaobaoa8525075 -cnphpwnd99999@aliyun4625,cntaobaoa8525555 -cnphpwnd99999@aliyun4626,cntaobaoa8540237 -cnphpwnd99999@aliyun4627,cntaobaoa85551879 -cnphpwnd99999@aliyun4628,cntaobaoa85603100 -cnphpwnd99999@aliyun4629,cntaobaoa8565950 -cnphpwnd99999@aliyun4630,cntaobaoa85660207 -cnphpwnd99999@aliyun4631,cntaobaoa8581106 -cnphpwnd99999@aliyun4632,cntaobaoa85868532 -cnphpwnd99999@aliyun4633,cntaobaoa8588520 -cnphpwnd99999@aliyun4634,cntaobaoa8599590 -cnphpwnd99999@aliyun4635,cntaobaoa860110 -cnphpwnd99999@aliyun4636,cntaobaoa860601 -cnphpwnd99999@aliyun4637,cntaobaoa86067271 -cnphpwnd99999@aliyun4638,cntaobaoa8609650 -cnphpwnd99999@aliyun4639,cntaobaoa8610z -cnphpwnd99999@aliyun4640,cntaobaoa86132287 -cnphpwnd99999@aliyun4641,cntaobaoa86273675 -cnphpwnd99999@aliyun4642,cntaobaoa8627476 -cnphpwnd99999@aliyun4643,cntaobaoa8630129 -cnphpwnd99999@aliyun4644,cntaobaoa8630186 -cnphpwnd99999@aliyun4645,cntaobaoa86452078 -cnphpwnd99999@aliyun4646,cntaobaoa8673512 -cnphpwnd99999@aliyun4647,cntaobaoa86741002 -cnphpwnd99999@aliyun4648,cntaobaoa8681643 -cnphpwnd99999@aliyun4649,cntaobaoa8690182 -cnphpwnd99999@aliyun4650,cntaobaoa86920085 -cnphpwnd99999@aliyun4651,cntaobaoa86921790 -cnphpwnd99999@aliyun4652,cntaobaoa870505 -cnphpwnd99999@aliyun4653,cntaobaoa8711563 -cnphpwnd99999@aliyun4654,cntaobaoa8718439 -cnphpwnd99999@aliyun4655,cntaobaoa87263961 -cnphpwnd99999@aliyun4656,cntaobaoa872672 -cnphpwnd99999@aliyun4657,cntaobaoa874213 -cnphpwnd99999@aliyun4658,cntaobaoa8764 -cnphpwnd99999@aliyun4659,cntaobaoa8765678 -cnphpwnd99999@aliyun4660,cntaobaoa87658765 -cnphpwnd99999@aliyun4661,cntaobaoa8768899 -cnphpwnd99999@aliyun4662,cntaobaoa87728811 -cnphpwnd99999@aliyun4663,cntaobaoa87750530 -cnphpwnd99999@aliyun4664,cntaobaoa87811017 -cnphpwnd99999@aliyun4665,cntaobaoa87872629 -cnphpwnd99999@aliyun4666,cntaobaoa87873314 -cnphpwnd99999@aliyun4667,cntaobaoa8787683 -cnphpwnd99999@aliyun4668,cntaobaoa87955555 -cnphpwnd99999@aliyun4669,cntaobaoa87973603 -cnphpwnd99999@aliyun4670,cntaobaoa87bhga -cnphpwnd99999@aliyun4671,cntaobaoa881105 -cnphpwnd99999@aliyun4672,cntaobaoa88151812 -cnphpwnd99999@aliyun4673,cntaobaoa88163293 -cnphpwnd99999@aliyun4674,cntaobaoa8821520 -cnphpwnd99999@aliyun4675,cntaobaoa882660 -cnphpwnd99999@aliyun4676,cntaobaoa8848luo -cnphpwnd99999@aliyun4677,cntaobaoa8860667 -cnphpwnd99999@aliyun4678,cntaobaoa88661733 -cnphpwnd99999@aliyun4679,cntaobaoa88750966 -cnphpwnd99999@aliyun4680,cntaobaoa88776655 -cnphpwnd99999@aliyun4681,cntaobaoa8877888 -cnphpwnd99999@aliyun4682,cntaobaoa8888188 -cnphpwnd99999@aliyun4683,cntaobaoa88891 -cnphpwnd99999@aliyun4684,cntaobaoa88899901 -cnphpwnd99999@aliyun4685,cntaobaoa888a -cnphpwnd99999@aliyun4686,cntaobaoa8895610 -cnphpwnd99999@aliyun4687,cntaobaoa8895679 -cnphpwnd99999@aliyun4688,cntaobaoa8899b -cnphpwnd99999@aliyun4689,cntaobaoa89121306 -cnphpwnd99999@aliyun4690,cntaobaoa8930677 -cnphpwnd99999@aliyun4691,cntaobaoa8950393 -cnphpwnd99999@aliyun4692,cntaobaoa89658469 -cnphpwnd99999@aliyun4693,cntaobaoa89794014 -cnphpwnd99999@aliyun4694,cntaobaoa89867556 -cnphpwnd99999@aliyun4695,cntaobaoa8993435 -cnphpwnd99999@aliyun4696,cntaobaoa8_ch1 -cnphpwnd99999@aliyun4697,cntaobaoa8b8c888 -cnphpwnd99999@aliyun4698,cntaobaoa8zhang -cnphpwnd99999@aliyun4699,cntaobaoa900425 -cnphpwnd99999@aliyun4700,cntaobaoa90163 -cnphpwnd99999@aliyun4701,cntaobaoa9035411 -cnphpwnd99999@aliyun4702,cntaobaoa903683 -cnphpwnd99999@aliyun4703,cntaobaoa90528 -cnphpwnd99999@aliyun4704,cntaobaoa908 -cnphpwnd99999@aliyun4705,cntaobaoa9090452 -cnphpwnd99999@aliyun4706,cntaobaoa91036 -cnphpwnd99999@aliyun4707,cntaobaoa911aayang -cnphpwnd99999@aliyun4708,cntaobaoa912345 -cnphpwnd99999@aliyun4709,cntaobaoa918666 -cnphpwnd99999@aliyun4710,cntaobaoa919919 -cnphpwnd99999@aliyun4711,cntaobaoa91woodstock -cnphpwnd99999@aliyun4712,cntaobaoa922213 -cnphpwnd99999@aliyun4713,cntaobaoa924 -cnphpwnd99999@aliyun4714,cntaobaoa926232 -cnphpwnd99999@aliyun4715,cntaobaoa94445 -cnphpwnd99999@aliyun4716,cntaobaoa94456038 -cnphpwnd99999@aliyun4717,cntaobaoa95586116 -cnphpwnd99999@aliyun4718,cntaobaoa955888 -cnphpwnd99999@aliyun4719,cntaobaoa95678131 -cnphpwnd99999@aliyun4720,cntaobaoa95726612 -cnphpwnd99999@aliyun4721,cntaobaoa95894808 -cnphpwnd99999@aliyun4722,cntaobaoa96010242 -cnphpwnd99999@aliyun4723,cntaobaoa9604635 -cnphpwnd99999@aliyun4724,cntaobaoa961885 -cnphpwnd99999@aliyun4725,cntaobaoa96258 -cnphpwnd99999@aliyun4726,cntaobaoa963258741 -cnphpwnd99999@aliyun4727,cntaobaoa9640227 -cnphpwnd99999@aliyun4728,cntaobaoa9696966 -cnphpwnd99999@aliyun4729,cntaobaoa9699 -cnphpwnd99999@aliyun4730,cntaobaoa97770388 -cnphpwnd99999@aliyun4731,cntaobaoa97net -cnphpwnd99999@aliyun4732,cntaobaoa981003 -cnphpwnd99999@aliyun4733,cntaobaoa9812964 -cnphpwnd99999@aliyun4734,cntaobaoa983200 -cnphpwnd99999@aliyun4735,cntaobaoa984623 -cnphpwnd99999@aliyun4736,cntaobaoa98617 -cnphpwnd99999@aliyun4737,cntaobaoa9876jun -cnphpwnd99999@aliyun4738,cntaobaoa988520 -cnphpwnd99999@aliyun4739,cntaobaoa9898998m -cnphpwnd99999@aliyun4740,cntaobaoa990529 -cnphpwnd99999@aliyun4741,cntaobaoa9911103 -cnphpwnd99999@aliyun4742,cntaobaoa9912718 -cnphpwnd99999@aliyun4743,cntaobaoa9924185 -cnphpwnd99999@aliyun4744,cntaobaoa995030023 -cnphpwnd99999@aliyun4745,cntaobaoa99508 -cnphpwnd99999@aliyun4746,cntaobaoa995599 -cnphpwnd99999@aliyun4747,cntaobaoa9976099 -cnphpwnd99999@aliyun4748,cntaobaoa99858317 -cnphpwnd99999@aliyun4749,cntaobaoa9993094 -cnphpwnd99999@aliyun4750,cntaobaoa9999 -cnphpwnd99999@aliyun4751,cntaobaoa999999 -cnphpwnd99999@aliyun4752,cntaobaoa999a -cnphpwnd99999@aliyun4753,cntaobaoa9jg9g -cnphpwnd99999@aliyun4754,cntaobaoa9kiss -cnphpwnd99999@aliyun4755,cntaobaoa9wen -cnphpwnd99999@aliyun4756,cntaobaoaDan -cnphpwnd99999@aliyun4757,cntaobaoa_00028 -cnphpwnd99999@aliyun4758,cntaobaoa_0317 -cnphpwnd99999@aliyun4759,cntaobaoa_1301231982 -cnphpwnd99999@aliyun4760,cntaobaoa_163 -cnphpwnd99999@aliyun4761,cntaobaoa_181650998 -cnphpwnd99999@aliyun4762,cntaobaoa_1945 -cnphpwnd99999@aliyun4763,cntaobaoa_283130047 -cnphpwnd99999@aliyun4764,cntaobaoa_2890211 -cnphpwnd99999@aliyun4765,cntaobaoa_333a -cnphpwnd99999@aliyun4766,cntaobaoa_380 -cnphpwnd99999@aliyun4767,cntaobaoa_3x55oygmya -cnphpwnd99999@aliyun4768,cntaobaoa_5201314 -cnphpwnd99999@aliyun4769,cntaobaoa_741012 -cnphpwnd99999@aliyun4770,cntaobaoa_760102 -cnphpwnd99999@aliyun4771,cntaobaoa_7_l_63t2d6 -cnphpwnd99999@aliyun4772,cntaobaoa_86 -cnphpwnd99999@aliyun4773,cntaobaoa_a3378 -cnphpwnd99999@aliyun4774,cntaobaoa_a_a_a -cnphpwnd99999@aliyun4775,cntaobaoa_avril -cnphpwnd99999@aliyun4776,cntaobaoa_b0742 -cnphpwnd99999@aliyun4777,cntaobaoa_b522 -cnphpwnd99999@aliyun4778,cntaobaoa_b54 -cnphpwnd99999@aliyun4779,cntaobaoa_b_c0001 -cnphpwnd99999@aliyun4780,cntaobaoa_b_c_d_e -cnphpwnd99999@aliyun4781,cntaobaoa_baby -cnphpwnd99999@aliyun4782,cntaobaoa_badman -cnphpwnd99999@aliyun4783,cntaobaoa_ban_ccc -cnphpwnd99999@aliyun4784,cntaobaoa_bao -cnphpwnd99999@aliyun4785,cntaobaoa_beauty -cnphpwnd99999@aliyun4786,cntaobaoa_bee1 -cnphpwnd99999@aliyun4787,cntaobaoa_bj -cnphpwnd99999@aliyun4788,cntaobaoa_bu1009 -cnphpwnd99999@aliyun4789,cntaobaoa_bu55210280 -cnphpwnd99999@aliyun4790,cntaobaoa_cai_2005 -cnphpwnd99999@aliyun4791,cntaobaoa_d_921 -cnphpwnd99999@aliyun4792,cntaobaoa_dai -cnphpwnd99999@aliyun4793,cntaobaoa_deity0712 -cnphpwnd99999@aliyun4794,cntaobaoa_deng05 -cnphpwnd99999@aliyun4795,cntaobaoa_doll -cnphpwnd99999@aliyun4796,cntaobaoa_du168 -cnphpwnd99999@aliyun4797,cntaobaoa_eg428tdofht603n -cnphpwnd99999@aliyun4798,cntaobaoa_f5889 -cnphpwnd99999@aliyun4799,cntaobaoa_fei007 -cnphpwnd99999@aliyun4800,cntaobaoa_flysnow -cnphpwnd99999@aliyun4801,cntaobaoa_fu2001 -cnphpwnd99999@aliyun4802,cntaobaoa_gi -cnphpwnd99999@aliyun4803,cntaobaoa_gillian -cnphpwnd99999@aliyun4804,cntaobaoa_guan -cnphpwnd99999@aliyun4805,cntaobaoa_guang1 -cnphpwnd99999@aliyun4806,cntaobaoa_gui_henhao -cnphpwnd99999@aliyun4807,cntaobaoa_ha -cnphpwnd99999@aliyun4808,cntaobaoa_hjiang -cnphpwnd99999@aliyun4809,cntaobaoa_hu -cnphpwnd99999@aliyun4810,cntaobaoa_hu939 -cnphpwnd99999@aliyun4811,cntaobaoa_ik9_66vr44 -cnphpwnd99999@aliyun4812,cntaobaoa_inverson -cnphpwnd99999@aliyun4813,cntaobaoa_jason_young -cnphpwnd99999@aliyun4814,cntaobaoa_jin0248 -cnphpwnd99999@aliyun4815,cntaobaoa_jjing -cnphpwnd99999@aliyun4816,cntaobaoa_joy -cnphpwnd99999@aliyun4817,cntaobaoa_juan11 -cnphpwnd99999@aliyun4818,cntaobaoa_jue -cnphpwnd99999@aliyun4819,cntaobaoa_jun70 -cnphpwnd99999@aliyun4820,cntaobaoa_kan123 -cnphpwnd99999@aliyun4821,cntaobaoa_ke14 -cnphpwnd99999@aliyun4822,cntaobaoa_kent -cnphpwnd99999@aliyun4823,cntaobaoa_king1000 -cnphpwnd99999@aliyun4824,cntaobaoa_kingwen -cnphpwnd99999@aliyun4825,cntaobaoa_kun -cnphpwnd99999@aliyun4826,cntaobaoa_kwon -cnphpwnd99999@aliyun4827,cntaobaoa_l_i_v_e -cnphpwnd99999@aliyun4828,cntaobaoa_lang81 -cnphpwnd99999@aliyun4829,cntaobaoa_lean -cnphpwnd99999@aliyun4830,cntaobaoa_lei -cnphpwnd99999@aliyun4831,cntaobaoa_li88 -cnphpwnd99999@aliyun4832,cntaobaoa_ling52225 -cnphpwnd99999@aliyun4833,cntaobaoa_lio1982 -cnphpwnd99999@aliyun4834,cntaobaoa_littleboy -cnphpwnd99999@aliyun4835,cntaobaoa_liu1982 -cnphpwnd99999@aliyun4836,cntaobaoa_lj -cnphpwnd99999@aliyun4837,cntaobaoa_long_a12b3 -cnphpwnd99999@aliyun4838,cntaobaoa_lou -cnphpwnd99999@aliyun4839,cntaobaoa_lu -cnphpwnd99999@aliyun4840,cntaobaoa_m_chen -cnphpwnd99999@aliyun4841,cntaobaoa_m_y_yang -cnphpwnd99999@aliyun4842,cntaobaoa_man2004 -cnphpwnd99999@aliyun4843,cntaobaoa_man_da -cnphpwnd99999@aliyun4844,cntaobaoa_mandy -cnphpwnd99999@aliyun4845,cntaobaoa_mei_mei -cnphpwnd99999@aliyun4846,cntaobaoa_melody88 -cnphpwnd99999@aliyun4847,cntaobaoa_meng94_2 -cnphpwnd99999@aliyun4848,cntaobaoa_meng971119 -cnphpwnd99999@aliyun4849,cntaobaoa_miao -cnphpwnd99999@aliyun4850,cntaobaoa_miaocn -cnphpwnd99999@aliyun4851,cntaobaoa_milk -cnphpwnd99999@aliyun4852,cntaobaoa_mm -cnphpwnd99999@aliyun4853,cntaobaoa_moon_2005 -cnphpwnd99999@aliyun4854,cntaobaoa_mu -cnphpwnd99999@aliyun4855,cntaobaoa_mu_mu -cnphpwnd99999@aliyun4856,cntaobaoa_niceboy -cnphpwnd99999@aliyun4857,cntaobaoa_nin -cnphpwnd99999@aliyun4858,cntaobaoa_o_e -cnphpwnd99999@aliyun4859,cntaobaoa_one1986 -cnphpwnd99999@aliyun4860,cntaobaoa_one_costume -cnphpwnd99999@aliyun4861,cntaobaoa_ping -cnphpwnd99999@aliyun4862,cntaobaoa_qiao -cnphpwnd99999@aliyun4863,cntaobaoa_qiao1 -cnphpwnd99999@aliyun4864,cntaobaoa_qiming -cnphpwnd99999@aliyun4865,cntaobaoa_rain115 -cnphpwnd99999@aliyun4866,cntaobaoa_red_sky -cnphpwnd99999@aliyun4867,cntaobaoa_ren -cnphpwnd99999@aliyun4868,cntaobaoa_rock -cnphpwnd99999@aliyun4869,cntaobaoa_run79 -cnphpwnd99999@aliyun4870,cntaobaoa_sammi0823 -cnphpwnd99999@aliyun4871,cntaobaoa_sao -cnphpwnd99999@aliyun4872,cntaobaoa_shang -cnphpwnd99999@aliyun4873,cntaobaoa_shanren -cnphpwnd99999@aliyun4874,cntaobaoa_shen -cnphpwnd99999@aliyun4875,cntaobaoa_shi -cnphpwnd99999@aliyun4876,cntaobaoa_shmily -cnphpwnd99999@aliyun4877,cntaobaoa_shy_cat -cnphpwnd99999@aliyun4878,cntaobaoa_sir -cnphpwnd99999@aliyun4879,cntaobaoa_song1 -cnphpwnd99999@aliyun4880,cntaobaoa_star05 -cnphpwnd99999@aliyun4881,cntaobaoa_sue -cnphpwnd99999@aliyun4882,cntaobaoa_sue1984 -cnphpwnd99999@aliyun4883,cntaobaoa_t_f -cnphpwnd99999@aliyun4884,cntaobaoa_tao -cnphpwnd99999@aliyun4885,cntaobaoa_topy -cnphpwnd99999@aliyun4886,cntaobaoa_tu747 -cnphpwnd99999@aliyun4887,cntaobaoa_utumn -cnphpwnd99999@aliyun4888,cntaobaoa_way -cnphpwnd99999@aliyun4889,cntaobaoa_wei55665566 -cnphpwnd99999@aliyun4890,cntaobaoa_wei80 -cnphpwnd99999@aliyun4891,cntaobaoa_wei821205 -cnphpwnd99999@aliyun4892,cntaobaoa_wing_allen -cnphpwnd99999@aliyun4893,cntaobaoa_wyj -cnphpwnd99999@aliyun4894,cntaobaoa_xiao211840 -cnphpwnd99999@aliyun4895,cntaobaoa_xiaoaqi -cnphpwnd99999@aliyun4896,cntaobaoa_xiayuan -cnphpwnd99999@aliyun4897,cntaobaoa_xiba -cnphpwnd99999@aliyun4898,cntaobaoa_xing120 -cnphpwnd99999@aliyun4899,cntaobaoa_xixi -cnphpwnd99999@aliyun4900,cntaobaoa_xuanxuan -cnphpwnd99999@aliyun4901,cntaobaoa_xybb -cnphpwnd99999@aliyun4902,cntaobaoa_y1986 -cnphpwnd99999@aliyun4903,cntaobaoa_y3o26t74my -cnphpwnd99999@aliyun4904,cntaobaoa_ya -cnphpwnd99999@aliyun4905,cntaobaoa_yo -cnphpwnd99999@aliyun4906,cntaobaoa_yong -cnphpwnd99999@aliyun4907,cntaobaoa_yu0892 -cnphpwnd99999@aliyun4908,cntaobaoa_yuan6688 -cnphpwnd99999@aliyun4909,cntaobaoa_z3855160 -cnphpwnd99999@aliyun4910,cntaobaoa_z_1 -cnphpwnd99999@aliyun4911,cntaobaoa_zcg -cnphpwnd99999@aliyun4912,cntaobaoa_zhe1986727 -cnphpwnd99999@aliyun4913,cntaobaoa_zhe619 -cnphpwnd99999@aliyun4914,cntaobaoa_zheng09 -cnphpwnd99999@aliyun4915,cntaobaoa_zhoutao -cnphpwnd99999@aliyun4916,cntaobaoa_zhu12353 -cnphpwnd99999@aliyun4917,cntaobaoa_zi1106 -cnphpwnd99999@aliyun4918,cntaobaoa_zl1211 -cnphpwnd99999@aliyun4919,cntaobaoaa-joh -cnphpwnd99999@aliyun4920,cntaobaoaa-my -cnphpwnd99999@aliyun4921,cntaobaoaa-peace -cnphpwnd99999@aliyun4922,cntaobaoaa-rugee -cnphpwnd99999@aliyun4923,cntaobaoaa00000aa -cnphpwnd99999@aliyun4924,cntaobaoaa00112 -cnphpwnd99999@aliyun4925,cntaobaoaa0070 -cnphpwnd99999@aliyun4926,cntaobaoaa0072611 -cnphpwnd99999@aliyun4927,cntaobaoaa00788 -cnphpwnd99999@aliyun4928,cntaobaoaa01 -cnphpwnd99999@aliyun4929,cntaobaoaa0115 -cnphpwnd99999@aliyun4930,cntaobaoaa01262005 -cnphpwnd99999@aliyun4931,cntaobaoaa0128 -cnphpwnd99999@aliyun4932,cntaobaoaa0218 -cnphpwnd99999@aliyun4933,cntaobaoaa0505 -cnphpwnd99999@aliyun4934,cntaobaoaa0522 -cnphpwnd99999@aliyun4935,cntaobaoaa07290224 -cnphpwnd99999@aliyun4936,cntaobaoaa080aa -cnphpwnd99999@aliyun4937,cntaobaoaa0peng -cnphpwnd99999@aliyun4938,cntaobaoaa1.1bb -cnphpwnd99999@aliyun4939,cntaobaoaa10008 -cnphpwnd99999@aliyun4940,cntaobaoaa10101 -cnphpwnd99999@aliyun4941,cntaobaoaa1078xmh -cnphpwnd99999@aliyun4942,cntaobaoaa11-233 -cnphpwnd99999@aliyun4943,cntaobaoaa110055 -cnphpwnd99999@aliyun4944,cntaobaoaa111 -cnphpwnd99999@aliyun4945,cntaobaoaa1122qq -cnphpwnd99999@aliyun4946,cntaobaoaa1142aa -cnphpwnd99999@aliyun4947,cntaobaoaa115872114 -cnphpwnd99999@aliyun4948,cntaobaoaa11dd22 -cnphpwnd99999@aliyun4949,cntaobaoaa11xx22 -cnphpwnd99999@aliyun4950,cntaobaoaa121 -cnphpwnd99999@aliyun4951,cntaobaoaa1230 -cnphpwnd99999@aliyun4952,cntaobaoaa12332123 -cnphpwnd99999@aliyun4953,cntaobaoaa1234aa -cnphpwnd99999@aliyun4954,cntaobaoaa123zaa -cnphpwnd99999@aliyun4955,cntaobaoaa13013611778 -cnphpwnd99999@aliyun4956,cntaobaoaa13145200 -cnphpwnd99999@aliyun4957,cntaobaoaa13162549497 -cnphpwnd99999@aliyun4958,cntaobaoaa136508 -cnphpwnd99999@aliyun4959,cntaobaoaa1500 -cnphpwnd99999@aliyun4960,cntaobaoaa166 -cnphpwnd99999@aliyun4961,cntaobaoaa1688aa1 -cnphpwnd99999@aliyun4962,cntaobaoaa1973bb -cnphpwnd99999@aliyun4963,cntaobaoaa1976 -cnphpwnd99999@aliyun4964,cntaobaoaa19772005 -cnphpwnd99999@aliyun4965,cntaobaoaa198204 -cnphpwnd99999@aliyun4966,cntaobaoaa1984aa -cnphpwnd99999@aliyun4967,cntaobaoaa1984wy -cnphpwnd99999@aliyun4968,cntaobaoaa1987- -cnphpwnd99999@aliyun4969,cntaobaoaa198701150 -cnphpwnd99999@aliyun4970,cntaobaoaa198727 -cnphpwnd99999@aliyun4971,cntaobaoaa1997 -cnphpwnd99999@aliyun4972,cntaobaoaa1_a -cnphpwnd99999@aliyun4973,cntaobaoaa1bb2 -cnphpwnd99999@aliyun4974,cntaobaoaa20030101 -cnphpwnd99999@aliyun4975,cntaobaoaa2004974 -cnphpwnd99999@aliyun4976,cntaobaoaa2008 -cnphpwnd99999@aliyun4977,cntaobaoaa2030 -cnphpwnd99999@aliyun4978,cntaobaoaa2059_cn -cnphpwnd99999@aliyun4979,cntaobaoaa21232425 -cnphpwnd99999@aliyun4980,cntaobaoaa2188 -cnphpwnd99999@aliyun4981,cntaobaoaa22 -cnphpwnd99999@aliyun4982,cntaobaoaa25738393 -cnphpwnd99999@aliyun4983,cntaobaoaa2588aa -cnphpwnd99999@aliyun4984,cntaobaoaa2683013 -cnphpwnd99999@aliyun4985,cntaobaoaa2712144 -cnphpwnd99999@aliyun4986,cntaobaoaa271660960 -cnphpwnd99999@aliyun4987,cntaobaoaa271826518 -cnphpwnd99999@aliyun4988,cntaobaoaa2753110 -cnphpwnd99999@aliyun4989,cntaobaoaa277301826 -cnphpwnd99999@aliyun4990,cntaobaoaa283586714 -cnphpwnd99999@aliyun4991,cntaobaoaa2836726 -cnphpwnd99999@aliyun4992,cntaobaoaa2908 -cnphpwnd99999@aliyun4993,cntaobaoaa304041603 -cnphpwnd99999@aliyun4994,cntaobaoaa308124263 -cnphpwnd99999@aliyun4995,cntaobaoaa3100 -cnphpwnd99999@aliyun4996,cntaobaoaa311228 -cnphpwnd99999@aliyun4997,cntaobaoaa3211723 -cnphpwnd99999@aliyun4998,cntaobaoaa3282080 -cnphpwnd99999@aliyun4999,cntaobaoaa333 -cnphpwnd99999@aliyun5000,cntaobaoaa3339010 -cnphpwnd99999@aliyun5001,cntaobaoaa3523262 -cnphpwnd99999@aliyun5002,cntaobaoaa355400 -cnphpwnd99999@aliyun5003,cntaobaoaa362136 -cnphpwnd99999@aliyun5004,cntaobaoaa3721 -cnphpwnd99999@aliyun5005,cntaobaoaa3772 -cnphpwnd99999@aliyun5006,cntaobaoaa3aa3aa3 -cnphpwnd99999@aliyun5007,cntaobaoaa424 -cnphpwnd99999@aliyun5008,cntaobaoaa4311303 -cnphpwnd99999@aliyun5009,cntaobaoaa46 -cnphpwnd99999@aliyun5010,cntaobaoaa4612000 -cnphpwnd99999@aliyun5011,cntaobaoaa4958 -cnphpwnd99999@aliyun5012,cntaobaoaa500 -cnphpwnd99999@aliyun5013,cntaobaoaa511511 -cnphpwnd99999@aliyun5014,cntaobaoaa51385418 -cnphpwnd99999@aliyun5015,cntaobaoaa52 -cnphpwnd99999@aliyun5016,cntaobaoaa5207788 -cnphpwnd99999@aliyun5017,cntaobaoaa530 -cnphpwnd99999@aliyun5018,cntaobaoaa54188000 -cnphpwnd99999@aliyun5019,cntaobaoaa54446 -cnphpwnd99999@aliyun5020,cntaobaoaa5583338 -cnphpwnd99999@aliyun5021,cntaobaoaa56 -cnphpwnd99999@aliyun5022,cntaobaoaa5600955 -cnphpwnd99999@aliyun5023,cntaobaoaa56546464 -cnphpwnd99999@aliyun5024,cntaobaoaa5680209 -cnphpwnd99999@aliyun5025,cntaobaoaa5852799 -cnphpwnd99999@aliyun5026,cntaobaoaa6152 -cnphpwnd99999@aliyun5027,cntaobaoaa6228064 -cnphpwnd99999@aliyun5028,cntaobaoaa6445234 -cnphpwnd99999@aliyun5029,cntaobaoaa6654894 -cnphpwnd99999@aliyun5030,cntaobaoaa6682681 -cnphpwnd99999@aliyun5031,cntaobaoaa66bb66 -cnphpwnd99999@aliyun5032,cntaobaoaa6856284 -cnphpwnd99999@aliyun5033,cntaobaoaa70653130 -cnphpwnd99999@aliyun5034,cntaobaoaa72152177529911 -cnphpwnd99999@aliyun5035,cntaobaoaa731731 -cnphpwnd99999@aliyun5036,cntaobaoaa753753 -cnphpwnd99999@aliyun5037,cntaobaoaa7569889 -cnphpwnd99999@aliyun5038,cntaobaoaa7766310 -cnphpwnd99999@aliyun5039,cntaobaoaa7788 -cnphpwnd99999@aliyun5040,cntaobaoaa77905 -cnphpwnd99999@aliyun5041,cntaobaoaa77k -cnphpwnd99999@aliyun5042,cntaobaoaa780701 -cnphpwnd99999@aliyun5043,cntaobaoaa78421665 -cnphpwnd99999@aliyun5044,cntaobaoaa800208 -cnphpwnd99999@aliyun5045,cntaobaoaa8025 -cnphpwnd99999@aliyun5046,cntaobaoaa817 -cnphpwnd99999@aliyun5047,cntaobaoaa8196071 -cnphpwnd99999@aliyun5048,cntaobaoaa8295161 -cnphpwnd99999@aliyun5049,cntaobaoaa8369942 -cnphpwnd99999@aliyun5050,cntaobaoaa83886684 -cnphpwnd99999@aliyun5051,cntaobaoaa8466333 -cnphpwnd99999@aliyun5052,cntaobaoaa85954319 -cnphpwnd99999@aliyun5053,cntaobaoaa8633 -cnphpwnd99999@aliyun5054,cntaobaoaa8640 -cnphpwnd99999@aliyun5055,cntaobaoaa8685703 -cnphpwnd99999@aliyun5056,cntaobaoaa8801 -cnphpwnd99999@aliyun5057,cntaobaoaa882255h -cnphpwnd99999@aliyun5058,cntaobaoaa8843 -cnphpwnd99999@aliyun5059,cntaobaoaa88520 -cnphpwnd99999@aliyun5060,cntaobaoaa8859 -cnphpwnd99999@aliyun5061,cntaobaoaa8888888888 -cnphpwnd99999@aliyun5062,cntaobaoaa88990 -cnphpwnd99999@aliyun5063,cntaobaoaa8951 -cnphpwnd99999@aliyun5064,cntaobaoaa89813 -cnphpwnd99999@aliyun5065,cntaobaoaa92k -cnphpwnd99999@aliyun5066,cntaobaoaa9374 -cnphpwnd99999@aliyun5067,cntaobaoaa977173 -cnphpwnd99999@aliyun5068,cntaobaoaa983095 -cnphpwnd99999@aliyun5069,cntaobaoaa98585 -cnphpwnd99999@aliyun5070,cntaobaoaa989600 -cnphpwnd99999@aliyun5071,cntaobaoaa999 -cnphpwnd99999@aliyun5072,cntaobaoaa9bc2000 -cnphpwnd99999@aliyun5073,cntaobaoaa_2046 -cnphpwnd99999@aliyun5074,cntaobaoaa_831020 -cnphpwnd99999@aliyun5075,cntaobaoaa_aa_aa -cnphpwnd99999@aliyun5076,cntaobaoaa_angela -cnphpwnd99999@aliyun5077,cntaobaoaa_bb_cc -cnphpwnd99999@aliyun5078,cntaobaoaa_ling -cnphpwnd99999@aliyun5079,cntaobaoaa_niu -cnphpwnd99999@aliyun5080,cntaobaoaa_ssxw -cnphpwnd99999@aliyun5081,cntaobaoaa_x4x -cnphpwnd99999@aliyun5082,cntaobaoaa_zhang19850522 -cnphpwnd99999@aliyun5083,cntaobaoaaa-235 -cnphpwnd99999@aliyun5084,cntaobaoaaa-666 -cnphpwnd99999@aliyun5085,cntaobaoaaa-aaa- -cnphpwnd99999@aliyun5086,cntaobaoaaa-aaa-aaa -cnphpwnd99999@aliyun5087,cntaobaoaaa.ik8 -cnphpwnd99999@aliyun5088,cntaobaoaaa000 -cnphpwnd99999@aliyun5089,cntaobaoaaa0001 -cnphpwnd99999@aliyun5090,cntaobaoaaa006 -cnphpwnd99999@aliyun5091,cntaobaoaaa00aaa -cnphpwnd99999@aliyun5092,cntaobaoaaa019 -cnphpwnd99999@aliyun5093,cntaobaoaaa0359 -cnphpwnd99999@aliyun5094,cntaobaoaaa0398657 -cnphpwnd99999@aliyun5095,cntaobaoaaa050 -cnphpwnd99999@aliyun5096,cntaobaoaaa100520 -cnphpwnd99999@aliyun5097,cntaobaoaaa100839 -cnphpwnd99999@aliyun5098,cntaobaoaaa1015610156 -cnphpwnd99999@aliyun5099,cntaobaoaaa1105 -cnphpwnd99999@aliyun5100,cntaobaoaaa111bbb222 -cnphpwnd99999@aliyun5101,cntaobaoaaa111huihui -cnphpwnd99999@aliyun5102,cntaobaoaaa112236 -cnphpwnd99999@aliyun5103,cntaobaoaaa11_2005 -cnphpwnd99999@aliyun5104,cntaobaoaaa1212810716 -cnphpwnd99999@aliyun5105,cntaobaoaaa1215abcd -cnphpwnd99999@aliyun5106,cntaobaoaaa122 -cnphpwnd99999@aliyun5107,cntaobaoaaa122333 -cnphpwnd99999@aliyun5108,cntaobaoaaa122xx -cnphpwnd99999@aliyun5109,cntaobaoaaa123277 -cnphpwnd99999@aliyun5110,cntaobaoaaa1234 -cnphpwnd99999@aliyun5111,cntaobaoaaa1234567._ -cnphpwnd99999@aliyun5112,cntaobaoaaa123523848 -cnphpwnd99999@aliyun5113,cntaobaoaaa1236321 -cnphpwnd99999@aliyun5114,cntaobaoaaa127885 -cnphpwnd99999@aliyun5115,cntaobaoaaa1344431 -cnphpwnd99999@aliyun5116,cntaobaoaaa13517973020 -cnphpwnd99999@aliyun5117,cntaobaoaaa144509 -cnphpwnd99999@aliyun5118,cntaobaoaaa150442 -cnphpwnd99999@aliyun5119,cntaobaoaaa1520 -cnphpwnd99999@aliyun5120,cntaobaoaaa160 -cnphpwnd99999@aliyun5121,cntaobaoaaa163234 -cnphpwnd99999@aliyun5122,cntaobaoaaa1681 -cnphpwnd99999@aliyun5123,cntaobaoaaa1682004 -cnphpwnd99999@aliyun5124,cntaobaoaaa1688 -cnphpwnd99999@aliyun5125,cntaobaoaaa191330804 -cnphpwnd99999@aliyun5126,cntaobaoaaa1959bbb -cnphpwnd99999@aliyun5127,cntaobaoaaa1984aa -cnphpwnd99999@aliyun5128,cntaobaoaaa19850 -cnphpwnd99999@aliyun5129,cntaobaoaaa19861006 -cnphpwnd99999@aliyun5130,cntaobaoaaa2000 -cnphpwnd99999@aliyun5131,cntaobaoaaa20020816 -cnphpwnd99999@aliyun5132,cntaobaoaaa206054 -cnphpwnd99999@aliyun5133,cntaobaoaaa20688 -cnphpwnd99999@aliyun5134,cntaobaoaaa2685886 -cnphpwnd99999@aliyun5135,cntaobaoaaa2696 -cnphpwnd99999@aliyun5136,cntaobaoaaa2727 -cnphpwnd99999@aliyun5137,cntaobaoaaa2883616 -cnphpwnd99999@aliyun5138,cntaobaoaaa2902 -cnphpwnd99999@aliyun5139,cntaobaoaaa29683418 -cnphpwnd99999@aliyun5140,cntaobaoaaa3095 -cnphpwnd99999@aliyun5141,cntaobaoaaa313 -cnphpwnd99999@aliyun5142,cntaobaoaaa31577 -cnphpwnd99999@aliyun5143,cntaobaoaaa320320 -cnphpwnd99999@aliyun5144,cntaobaoaaa33867233 -cnphpwnd99999@aliyun5145,cntaobaoaaa34501 -cnphpwnd99999@aliyun5146,cntaobaoaaa3472 -cnphpwnd99999@aliyun5147,cntaobaoaaa3479035 -cnphpwnd99999@aliyun5148,cntaobaoaaa358813616 -cnphpwnd99999@aliyun5149,cntaobaoaaa3888 -cnphpwnd99999@aliyun5150,cntaobaoaaa3890 -cnphpwnd99999@aliyun5151,cntaobaoaaa398988966 -cnphpwnd99999@aliyun5152,cntaobaoaaa3a -cnphpwnd99999@aliyun5153,cntaobaoaaa44944 -cnphpwnd99999@aliyun5154,cntaobaoaaa4701 -cnphpwnd99999@aliyun5155,cntaobaoaaa5 -cnphpwnd99999@aliyun5156,cntaobaoaaa5050 -cnphpwnd99999@aliyun5157,cntaobaoaaa515 -cnphpwnd99999@aliyun5158,cntaobaoaaa519082005 -cnphpwnd99999@aliyun5159,cntaobaoaaa520365 -cnphpwnd99999@aliyun5160,cntaobaoaaa52063 -cnphpwnd99999@aliyun5161,cntaobaoaaa555168 -cnphpwnd99999@aliyun5162,cntaobaoaaa5610662 -cnphpwnd99999@aliyun5163,cntaobaoaaa5672853 -cnphpwnd99999@aliyun5164,cntaobaoaaa5851 -cnphpwnd99999@aliyun5165,cntaobaoaaa6565 -cnphpwnd99999@aliyun5166,cntaobaoaaa6625206 -cnphpwnd99999@aliyun5167,cntaobaoaaa666111 -cnphpwnd99999@aliyun5168,cntaobaoaaa6860633 -cnphpwnd99999@aliyun5169,cntaobaoaaa6969 -cnphpwnd99999@aliyun5170,cntaobaoaaa721239 -cnphpwnd99999@aliyun5171,cntaobaoaaa7232550 -cnphpwnd99999@aliyun5172,cntaobaoaaa7386556 -cnphpwnd99999@aliyun5173,cntaobaoaaa761215 -cnphpwnd99999@aliyun5174,cntaobaoaaa7614951 -cnphpwnd99999@aliyun5175,cntaobaoaaa7697877 -cnphpwnd99999@aliyun5176,cntaobaoaaa770113 -cnphpwnd99999@aliyun5177,cntaobaoaaa77970 -cnphpwnd99999@aliyun5178,cntaobaoaaa78987 -cnphpwnd99999@aliyun5179,cntaobaoaaa789aaa -cnphpwnd99999@aliyun5180,cntaobaoaaa790202 -cnphpwnd99999@aliyun5181,cntaobaoaaa803856 -cnphpwnd99999@aliyun5182,cntaobaoaaa825 -cnphpwnd99999@aliyun5183,cntaobaoaaa8324 -cnphpwnd99999@aliyun5184,cntaobaoaaa8365 -cnphpwnd99999@aliyun5185,cntaobaoaaa84 -cnphpwnd99999@aliyun5186,cntaobaoaaa870311 -cnphpwnd99999@aliyun5187,cntaobaoaaa87119734 -cnphpwnd99999@aliyun5188,cntaobaoaaa888 -cnphpwnd99999@aliyun5189,cntaobaoaaa888444 -cnphpwnd99999@aliyun5190,cntaobaoaaa8888 -cnphpwnd99999@aliyun5191,cntaobaoaaa88974597 -cnphpwnd99999@aliyun5192,cntaobaoaaa898 -cnphpwnd99999@aliyun5193,cntaobaoaaa904490 -cnphpwnd99999@aliyun5194,cntaobaoaaa988 -cnphpwnd99999@aliyun5195,cntaobaoaaa998 -cnphpwnd99999@aliyun5196,cntaobaoaaa99906 -cnphpwnd99999@aliyun5197,cntaobaoaaa9999 -cnphpwnd99999@aliyun5198,cntaobaoaaa999vvv -cnphpwnd99999@aliyun5199,cntaobaoaaa_002 -cnphpwnd99999@aliyun5200,cntaobaoaaa_06 -cnphpwnd99999@aliyun5201,cntaobaoaaa_111 -cnphpwnd99999@aliyun5202,cntaobaoaaa_1997a -cnphpwnd99999@aliyun5203,cntaobaoaaa_511_0 -cnphpwnd99999@aliyun5204,cntaobaoaaa_a_11 -cnphpwnd99999@aliyun5205,cntaobaoaaa_mm_ok2 -cnphpwnd99999@aliyun5206,cntaobaoaaa_mm_ok3 -cnphpwnd99999@aliyun5207,cntaobaoaaa_mm_ok4 -cnphpwnd99999@aliyun5208,cntaobaoaaa_song77 -cnphpwnd99999@aliyun5209,cntaobaoaaaa-e -cnphpwnd99999@aliyun5210,cntaobaoaaaa00001 -cnphpwnd99999@aliyun5211,cntaobaoaaaa008 -cnphpwnd99999@aliyun5212,cntaobaoaaaa04550946 -cnphpwnd99999@aliyun5213,cntaobaoaaaa1111aaaa1111 -cnphpwnd99999@aliyun5214,cntaobaoaaaa111876 -cnphpwnd99999@aliyun5215,cntaobaoaaaa112 -cnphpwnd99999@aliyun5216,cntaobaoaaaa1132 -cnphpwnd99999@aliyun5217,cntaobaoaaaa12 -cnphpwnd99999@aliyun5218,cntaobaoaaaa12345 -cnphpwnd99999@aliyun5219,cntaobaoaaaa1234561 -cnphpwnd99999@aliyun5220,cntaobaoaaaa123qew -cnphpwnd99999@aliyun5221,cntaobaoaaaa13083730089 -cnphpwnd99999@aliyun5222,cntaobaoaaaa1980 -cnphpwnd99999@aliyun5223,cntaobaoaaaa20042004 -cnphpwnd99999@aliyun5224,cntaobaoaaaa2295697 -cnphpwnd99999@aliyun5225,cntaobaoaaaa25845 -cnphpwnd99999@aliyun5226,cntaobaoaaaa2743634 -cnphpwnd99999@aliyun5227,cntaobaoaaaa2aaaa -cnphpwnd99999@aliyun5228,cntaobaoaaaa35 -cnphpwnd99999@aliyun5229,cntaobaoaaaa400 -cnphpwnd99999@aliyun5230,cntaobaoaaaa720115 -cnphpwnd99999@aliyun5231,cntaobaoaaaa7585 -cnphpwnd99999@aliyun5232,cntaobaoaaaa8016 -cnphpwnd99999@aliyun5233,cntaobaoaaaa8828018 -cnphpwnd99999@aliyun5234,cntaobaoaaaa888 -cnphpwnd99999@aliyun5235,cntaobaoaaaa999 -cnphpwnd99999@aliyun5236,cntaobaoaaaa_100 -cnphpwnd99999@aliyun5237,cntaobaoaaaa_918 -cnphpwnd99999@aliyun5238,cntaobaoaaaaa -cnphpwnd99999@aliyun5239,cntaobaoaaaaa00009 -cnphpwnd99999@aliyun5240,cntaobaoaaaaa0011_0 -cnphpwnd99999@aliyun5241,cntaobaoaaaaa1111111 -cnphpwnd99999@aliyun5242,cntaobaoaaaaa1141 -cnphpwnd99999@aliyun5243,cntaobaoaaaaa120 -cnphpwnd99999@aliyun5244,cntaobaoaaaaa12345 -cnphpwnd99999@aliyun5245,cntaobaoaaaaa12345_2005 -cnphpwnd99999@aliyun5246,cntaobaoaaaaa1938 -cnphpwnd99999@aliyun5247,cntaobaoaaaaa1aaaa -cnphpwnd99999@aliyun5248,cntaobaoaaaaa20 -cnphpwnd99999@aliyun5249,cntaobaoaaaaa222 -cnphpwnd99999@aliyun5250,cntaobaoaaaaa2288 -cnphpwnd99999@aliyun5251,cntaobaoaaaaa2b -cnphpwnd99999@aliyun5252,cntaobaoaaaaa308333 -cnphpwnd99999@aliyun5253,cntaobaoaaaaa696 -cnphpwnd99999@aliyun5254,cntaobaoaaaaa8423 -cnphpwnd99999@aliyun5255,cntaobaoaaaaa88 -cnphpwnd99999@aliyun5256,cntaobaoaaaaa89888 -cnphpwnd99999@aliyun5257,cntaobaoaaaaa911 -cnphpwnd99999@aliyun5258,cntaobaoaaaaa_2005_2005_2005 -cnphpwnd99999@aliyun5259,cntaobaoaaaaaa -cnphpwnd99999@aliyun5260,cntaobaoaaaaaa07 -cnphpwnd99999@aliyun5261,cntaobaoaaaaaa1011 -cnphpwnd99999@aliyun5262,cntaobaoaaaaaa110 -cnphpwnd99999@aliyun5263,cntaobaoaaaaaa1229 -cnphpwnd99999@aliyun5264,cntaobaoaaaaaa1_2000 -cnphpwnd99999@aliyun5265,cntaobaoaaaaaa2004 -cnphpwnd99999@aliyun5266,cntaobaoaaaaaa288 -cnphpwnd99999@aliyun5267,cntaobaoaaaaaa323 -cnphpwnd99999@aliyun5268,cntaobaoaaaaaa33 -cnphpwnd99999@aliyun5269,cntaobaoaaaaaa58 -cnphpwnd99999@aliyun5270,cntaobaoaaaaaa6 -cnphpwnd99999@aliyun5271,cntaobaoaaaaaa767 -cnphpwnd99999@aliyun5272,cntaobaoaaaaaa8881 -cnphpwnd99999@aliyun5273,cntaobaoaaaaaa_bbbbbb -cnphpwnd99999@aliyun5274,cntaobaoaaaaaaa -cnphpwnd99999@aliyun5275,cntaobaoaaaaaaa190 -cnphpwnd99999@aliyun5276,cntaobaoaaaaaaa2008 -cnphpwnd99999@aliyun5277,cntaobaoaaaaaaa81 -cnphpwnd99999@aliyun5278,cntaobaoaaaaaaaa0 -cnphpwnd99999@aliyun5279,cntaobaoaaaaaaaa1016 -cnphpwnd99999@aliyun5280,cntaobaoaaaaaaaa29 -cnphpwnd99999@aliyun5281,cntaobaoaaaaaaaa31 -cnphpwnd99999@aliyun5282,cntaobaoaaaaaaaa96 -cnphpwnd99999@aliyun5283,cntaobaoaaaaaaaa_2005 -cnphpwnd99999@aliyun5284,cntaobaoaaaaaaaaa000999 -cnphpwnd99999@aliyun5285,cntaobaoaaaaaaaaa88 -cnphpwnd99999@aliyun5286,cntaobaoaaaaaaaaaa -cnphpwnd99999@aliyun5287,cntaobaoaaaaaaaaaa123123 -cnphpwnd99999@aliyun5288,cntaobaoaaaaaaaaaa123456789 -cnphpwnd99999@aliyun5289,cntaobaoaaaaaaaaaa888888 -cnphpwnd99999@aliyun5290,cntaobaoaaaaaaaaaa_2005_2005 -cnphpwnd99999@aliyun5291,cntaobaoaaaaaaaaaa_www21 -cnphpwnd99999@aliyun5292,cntaobaoaaaaaaaaaaaaa -cnphpwnd99999@aliyun5293,cntaobaoaaaaaaaaaaaaa12345 -cnphpwnd99999@aliyun5294,cntaobaoaaaaaaaaaaaaaaaaaaal -cnphpwnd99999@aliyun5295,cntaobaoaaaaaaaaaas -cnphpwnd99999@aliyun5296,cntaobaoaaaaaaaacccccccc -cnphpwnd99999@aliyun5297,cntaobaoaaaaaaabb1 -cnphpwnd99999@aliyun5298,cntaobaoaaaaaaabemu -cnphpwnd99999@aliyun5299,cntaobaoaaaaaabcde -cnphpwnd99999@aliyun5300,cntaobaoaaaaaaddd -cnphpwnd99999@aliyun5301,cntaobaoaaaaaahhhh -cnphpwnd99999@aliyun5302,cntaobaoaaaaaak -cnphpwnd99999@aliyun5303,cntaobaoaaaaaasss -cnphpwnd99999@aliyun5304,cntaobaoaaaaabbbbbccccc -cnphpwnd99999@aliyun5305,cntaobaoaaaaabc21 -cnphpwnd99999@aliyun5306,cntaobaoaaaaacc -cnphpwnd99999@aliyun5307,cntaobaoaaaaaccccc -cnphpwnd99999@aliyun5308,cntaobaoaaaaadddddd -cnphpwnd99999@aliyun5309,cntaobaoaaaaajia -cnphpwnd99999@aliyun5310,cntaobaoaaaaajylcxw -cnphpwnd99999@aliyun5311,cntaobaoaaaaalichao -cnphpwnd99999@aliyun5312,cntaobaoaaaaaqqqqq -cnphpwnd99999@aliyun5313,cntaobaoaaaaasss88 -cnphpwnd99999@aliyun5314,cntaobaoaaaaassx1 -cnphpwnd99999@aliyun5315,cntaobaoaaaaaswed -cnphpwnd99999@aliyun5316,cntaobaoaaaaazlt -cnphpwnd99999@aliyun5317,cntaobaoaaaabbba -cnphpwnd99999@aliyun5318,cntaobaoaaaabbbbtaotao -cnphpwnd99999@aliyun5319,cntaobaoaaaacd -cnphpwnd99999@aliyun5320,cntaobaoaaaachentao -cnphpwnd99999@aliyun5321,cntaobaoaaaacopy -cnphpwnd99999@aliyun5322,cntaobaoaaaadddd987 -cnphpwnd99999@aliyun5323,cntaobaoaaaaddddd -cnphpwnd99999@aliyun5324,cntaobaoaaaaddddttttpppp -cnphpwnd99999@aliyun5325,cntaobaoaaaaghlai -cnphpwnd99999@aliyun5326,cntaobaoaaaahjl -cnphpwnd99999@aliyun5327,cntaobaoaaaahsh000 -cnphpwnd99999@aliyun5328,cntaobaoaaaahx -cnphpwnd99999@aliyun5329,cntaobaoaaaaid -cnphpwnd99999@aliyun5330,cntaobaoaaaais -cnphpwnd99999@aliyun5331,cntaobaoaaaajjsoijfd22441 -cnphpwnd99999@aliyun5332,cntaobaoaaaajun -cnphpwnd99999@aliyun5333,cntaobaoaaaakkkkawp -cnphpwnd99999@aliyun5334,cntaobaoaaaameimei -cnphpwnd99999@aliyun5335,cntaobaoaaaaname -cnphpwnd99999@aliyun5336,cntaobaoaaaandy -cnphpwnd99999@aliyun5337,cntaobaoaaaaning -cnphpwnd99999@aliyun5338,cntaobaoaaaasddsa -cnphpwnd99999@aliyun5339,cntaobaoaaaasdfghjkl -cnphpwnd99999@aliyun5340,cntaobaoaaaassleon -cnphpwnd99999@aliyun5341,cntaobaoaaaassss123456 -cnphpwnd99999@aliyun5342,cntaobaoaaaattpp -cnphpwnd99999@aliyun5343,cntaobaoaaaawang -cnphpwnd99999@aliyun5344,cntaobaoaaaawe -cnphpwnd99999@aliyun5345,cntaobaoaaaayinshuang -cnphpwnd99999@aliyun5346,cntaobaoaaaaz -cnphpwnd99999@aliyun5347,cntaobaoaaaazzzz98 -cnphpwnd99999@aliyun5348,cntaobaoaaab8190 -cnphpwnd99999@aliyun5349,cntaobaoaaabadboy -cnphpwnd99999@aliyun5350,cntaobaoaaabb532 -cnphpwnd99999@aliyun5351,cntaobaoaaabb882 -cnphpwnd99999@aliyun5352,cntaobaoaaabbb -cnphpwnd99999@aliyun5353,cntaobaoaaabbb1 -cnphpwnd99999@aliyun5354,cntaobaoaaabbb159 -cnphpwnd99999@aliyun5355,cntaobaoaaabbb2 -cnphpwnd99999@aliyun5356,cntaobaoaaabbb2004 -cnphpwnd99999@aliyun5357,cntaobaoaaabbb2228 -cnphpwnd99999@aliyun5358,cntaobaoaaabbb881 -cnphpwnd99999@aliyun5359,cntaobaoaaabbbbcccc -cnphpwnd99999@aliyun5360,cntaobaoaaabbbccc111222333 -cnphpwnd99999@aliyun5361,cntaobaoaaabbbccc12377 -cnphpwnd99999@aliyun5362,cntaobaoaaabbbcccddd -cnphpwnd99999@aliyun5363,cntaobaoaaabbbcccdddd1988 -cnphpwnd99999@aliyun5364,cntaobaoaaabbby -cnphpwnd99999@aliyun5365,cntaobaoaaabbc -cnphpwnd99999@aliyun5366,cntaobaoaaabccc1982 -cnphpwnd99999@aliyun5367,cntaobaoaaabcd456 -cnphpwnd99999@aliyun5368,cntaobaoaaabin -cnphpwnd99999@aliyun5369,cntaobaoaaabook -cnphpwnd99999@aliyun5370,cntaobaoaaabu -cnphpwnd99999@aliyun5371,cntaobaoaaac -cnphpwnd99999@aliyun5372,cntaobaoaaaccc299 -cnphpwnd99999@aliyun5373,cntaobaoaaachian -cnphpwnd99999@aliyun5374,cntaobaoaaacococo -cnphpwnd99999@aliyun5375,cntaobaoaaacomcn -cnphpwnd99999@aliyun5376,cntaobaoaaacw -cnphpwnd99999@aliyun5377,cntaobaoaaadi -cnphpwnd99999@aliyun5378,cntaobaoaaadwd -cnphpwnd99999@aliyun5379,cntaobaoaaafeng -cnphpwnd99999@aliyun5380,cntaobaoaaaffaaff -cnphpwnd99999@aliyun5381,cntaobaoaaafwg -cnphpwnd99999@aliyun5382,cntaobaoaaagj -cnphpwnd99999@aliyun5383,cntaobaoaaagksdj -cnphpwnd99999@aliyun5384,cntaobaoaaah -cnphpwnd99999@aliyun5385,cntaobaoaaaha -cnphpwnd99999@aliyun5386,cntaobaoaaahc -cnphpwnd99999@aliyun5387,cntaobaoaaahd -cnphpwnd99999@aliyun5388,cntaobaoaaahmj -cnphpwnd99999@aliyun5389,cntaobaoaaahot -cnphpwnd99999@aliyun5390,cntaobaoaaahtian -cnphpwnd99999@aliyun5391,cntaobaoaaahxdf0016 -cnphpwnd99999@aliyun5392,cntaobaoaaajedll -cnphpwnd99999@aliyun5393,cntaobaoaaajian999 -cnphpwnd99999@aliyun5394,cntaobaoaaajiong -cnphpwnd99999@aliyun5395,cntaobaoaaakelee -cnphpwnd99999@aliyun5396,cntaobaoaaakk -cnphpwnd99999@aliyun5397,cntaobaoaaakkk521 -cnphpwnd99999@aliyun5398,cntaobaoaaakkk_001 -cnphpwnd99999@aliyun5399,cntaobaoaaakkkeee -cnphpwnd99999@aliyun5400,cntaobaoaaakkkz -cnphpwnd99999@aliyun5401,cntaobaoaaalan -cnphpwnd99999@aliyun5402,cntaobaoaaalee -cnphpwnd99999@aliyun5403,cntaobaoaaalgg -cnphpwnd99999@aliyun5404,cntaobaoaaalh007 -cnphpwnd99999@aliyun5405,cntaobaoaaalidos522 -cnphpwnd99999@aliyun5406,cntaobaoaaaliuxin -cnphpwnd99999@aliyun5407,cntaobaoaaaliwei -cnphpwnd99999@aliyun5408,cntaobaoaaalll320 -cnphpwnd99999@aliyun5409,cntaobaoaaalllyyymmm -cnphpwnd99999@aliyun5410,cntaobaoaaalover -cnphpwnd99999@aliyun5411,cntaobaoaaamlj -cnphpwnd99999@aliyun5412,cntaobaoaaammm1234 -cnphpwnd99999@aliyun5413,cntaobaoaaammm15888 -cnphpwnd99999@aliyun5414,cntaobaoaaamp3 -cnphpwnd99999@aliyun5415,cntaobaoaaamu -cnphpwnd99999@aliyun5416,cntaobaoaaanew -cnphpwnd99999@aliyun5417,cntaobaoaaanight -cnphpwnd99999@aliyun5418,cntaobaoaaann -cnphpwnd99999@aliyun5419,cntaobaoaaaooo1974724 -cnphpwnd99999@aliyun5420,cntaobaoaaaoooyes -cnphpwnd99999@aliyun5421,cntaobaoaaapapa -cnphpwnd99999@aliyun5422,cntaobaoaaapapa88 -cnphpwnd99999@aliyun5423,cntaobaoaaapo -cnphpwnd99999@aliyun5424,cntaobaoaaapp147 -cnphpwnd99999@aliyun5425,cntaobaoaaappp666 -cnphpwnd99999@aliyun5426,cntaobaoaaaq2000 -cnphpwnd99999@aliyun5427,cntaobaoaaaqqq5117662 -cnphpwnd99999@aliyun5428,cntaobaoaaaqqqqa -cnphpwnd99999@aliyun5429,cntaobaoaaaqqqwww_007 -cnphpwnd99999@aliyun5430,cntaobaoaaaqzhaolao -cnphpwnd99999@aliyun5431,cntaobaoaaaren -cnphpwnd99999@aliyun5432,cntaobaoaaarongrong -cnphpwnd99999@aliyun5433,cntaobaoaaarrr -cnphpwnd99999@aliyun5434,cntaobaoaaarrrooonnn -cnphpwnd99999@aliyun5435,cntaobaoaaas9420 -cnphpwnd99999@aliyun5436,cntaobaoaaasaw -cnphpwnd99999@aliyun5437,cntaobaoaaasayok -cnphpwnd99999@aliyun5438,cntaobaoaaasdfghjk -cnphpwnd99999@aliyun5439,cntaobaoaaasi -cnphpwnd99999@aliyun5440,cntaobaoaaasky -cnphpwnd99999@aliyun5441,cntaobaoaaass00 -cnphpwnd99999@aliyun5442,cntaobaoaaassa12 -cnphpwnd99999@aliyun5443,cntaobaoaaassscs -cnphpwnd99999@aliyun5444,cntaobaoaaasssssss -cnphpwnd99999@aliyun5445,cntaobaoaaat -cnphpwnd99999@aliyun5446,cntaobaoaaatqs -cnphpwnd99999@aliyun5447,cntaobaoaaatu -cnphpwnd99999@aliyun5448,cntaobaoaaav -cnphpwnd99999@aliyun5449,cntaobaoaaawbbbbb -cnphpwnd99999@aliyun5450,cntaobaoaaawww -cnphpwnd99999@aliyun5451,cntaobaoaaawyuri -cnphpwnd99999@aliyun5452,cntaobaoaaaxajh -cnphpwnd99999@aliyun5453,cntaobaoaaaxx1984 -cnphpwnd99999@aliyun5454,cntaobaoaaayahoo -cnphpwnd99999@aliyun5455,cntaobaoaaaychm123 -cnphpwnd99999@aliyun5456,cntaobaoaaayu -cnphpwnd99999@aliyun5457,cntaobaoaaayzy -cnphpwnd99999@aliyun5458,cntaobaoaaazhangli -cnphpwnd99999@aliyun5459,cntaobaoaaazhangwenting -cnphpwnd99999@aliyun5460,cntaobaoaaazqx -cnphpwnd99999@aliyun5461,cntaobaoaaazsy -cnphpwnd99999@aliyun5462,cntaobaoaaazuoshou -cnphpwnd99999@aliyun5463,cntaobaoaaazzz321 -cnphpwnd99999@aliyun5464,cntaobaoaaazzzqqq -cnphpwnd99999@aliyun5465,cntaobaoaaazzzzzz -cnphpwnd99999@aliyun5466,cntaobaoaab729 -cnphpwnd99999@aliyun5467,cntaobaoaab8899 -cnphpwnd99999@aliyun5468,cntaobaoaaba44 -cnphpwnd99999@aliyun5469,cntaobaoaababc1111 -cnphpwnd99999@aliyun5470,cntaobaoaabao -cnphpwnd99999@aliyun5471,cntaobaoaabb -cnphpwnd99999@aliyun5472,cntaobaoaabb0414 -cnphpwnd99999@aliyun5473,cntaobaoaabb100200 -cnphpwnd99999@aliyun5474,cntaobaoaabb12 -cnphpwnd99999@aliyun5475,cntaobaoaabb2002 -cnphpwnd99999@aliyun5476,cntaobaoaabb2288_2005 -cnphpwnd99999@aliyun5477,cntaobaoaabb3633 -cnphpwnd99999@aliyun5478,cntaobaoaabb465 -cnphpwnd99999@aliyun5479,cntaobaoaabb686 -cnphpwnd99999@aliyun5480,cntaobaoaabb79 -cnphpwnd99999@aliyun5481,cntaobaoaabb8888 -cnphpwnd99999@aliyun5482,cntaobaoaabb9696 -cnphpwnd99999@aliyun5483,cntaobaoaabbaa -cnphpwnd99999@aliyun5484,cntaobaoaabbbbaa8711 -cnphpwnd99999@aliyun5485,cntaobaoaabbcc -cnphpwnd99999@aliyun5486,cntaobaoaabbcc-1 -cnphpwnd99999@aliyun5487,cntaobaoaabbcc1008 -cnphpwnd99999@aliyun5488,cntaobaoaabbcc12345 -cnphpwnd99999@aliyun5489,cntaobaoaabbcc188 -cnphpwnd99999@aliyun5490,cntaobaoaabbcc26 -cnphpwnd99999@aliyun5491,cntaobaoaabbcc622020 -cnphpwnd99999@aliyun5492,cntaobaoaabbcc771 -cnphpwnd99999@aliyun5493,cntaobaoaabbcc88 -cnphpwnd99999@aliyun5494,cntaobaoaabbcc_119 -cnphpwnd99999@aliyun5495,cntaobaoaabbccc -cnphpwnd99999@aliyun5496,cntaobaoaabbccd007 -cnphpwnd99999@aliyun5497,cntaobaoaabbccd_cn -cnphpwnd99999@aliyun5498,cntaobaoaabbccdd1 -cnphpwnd99999@aliyun5499,cntaobaoaabbccdd112233 -cnphpwnd99999@aliyun5500,cntaobaoaabbccdd212 -cnphpwnd99999@aliyun5501,cntaobaoaabbccdd999 -cnphpwnd99999@aliyun5502,cntaobaoaabbccdde5 -cnphpwnd99999@aliyun5503,cntaobaoaabbccguwei -cnphpwnd99999@aliyun5504,cntaobaoaabbce -cnphpwnd99999@aliyun5505,cntaobaoaabbddc -cnphpwnd99999@aliyun5506,cntaobaoaabbddzzaa -cnphpwnd99999@aliyun5507,cntaobaoaabbey317 -cnphpwnd99999@aliyun5508,cntaobaoaabbfgdhggf -cnphpwnd99999@aliyun5509,cntaobaoaabbg -cnphpwnd99999@aliyun5510,cntaobaoaabblwd -cnphpwnd99999@aliyun5511,cntaobaoaabbqwe -cnphpwnd99999@aliyun5512,cntaobaoaabbssq -cnphpwnd99999@aliyun5513,cntaobaoaabbxieyuan -cnphpwnd99999@aliyun5514,cntaobaoaabbzzz -cnphpwnd99999@aliyun5515,cntaobaoaabc125998364 -cnphpwnd99999@aliyun5516,cntaobaoaabc1957917 -cnphpwnd99999@aliyun5517,cntaobaoaabc1abc22 -cnphpwnd99999@aliyun5518,cntaobaoaabcc2005 -cnphpwnd99999@aliyun5519,cntaobaoaabcd -cnphpwnd99999@aliyun5520,cntaobaoaabcd1234 -cnphpwnd99999@aliyun5521,cntaobaoaabcdf -cnphpwnd99999@aliyun5522,cntaobaoaabnn -cnphpwnd99999@aliyun5523,cntaobaoaabout -cnphpwnd99999@aliyun5524,cntaobaoaabp108 -cnphpwnd99999@aliyun5525,cntaobaoaabss3ccd2 -cnphpwnd99999@aliyun5526,cntaobaoaabu -cnphpwnd99999@aliyun5527,cntaobaoaabw4 -cnphpwnd99999@aliyun5528,cntaobaoaac2000 -cnphpwnd99999@aliyun5529,cntaobaoaacat -cnphpwnd99999@aliyun5530,cntaobaoaacc2589 -cnphpwnd99999@aliyun5531,cntaobaoaaccbb -cnphpwnd99999@aliyun5532,cntaobaoaaccdd -cnphpwnd99999@aliyun5533,cntaobaoaaccdf -cnphpwnd99999@aliyun5534,cntaobaoaacceeqqaa -cnphpwnd99999@aliyun5535,cntaobaoaacck -cnphpwnd99999@aliyun5536,cntaobaoaaccpp -cnphpwnd99999@aliyun5537,cntaobaoaacd231 -cnphpwnd99999@aliyun5538,cntaobaoaacfj -cnphpwnd99999@aliyun5539,cntaobaoaach110 -cnphpwnd99999@aliyun5540,cntaobaoaacharlie -cnphpwnd99999@aliyun5541,cntaobaoaachenlin -cnphpwnd99999@aliyun5542,cntaobaoaachina -cnphpwnd99999@aliyun5543,cntaobaoaachong -cnphpwnd99999@aliyun5544,cntaobaoaacon -cnphpwnd99999@aliyun5545,cntaobaoaact3344 -cnphpwnd99999@aliyun5546,cntaobaoaacxg -cnphpwnd99999@aliyun5547,cntaobaoaacyg888 -cnphpwnd99999@aliyun5548,cntaobaoaacynical -cnphpwnd99999@aliyun5549,cntaobaoaad_110 -cnphpwnd99999@aliyun5550,cntaobaoaadd789 -cnphpwnd99999@aliyun5551,cntaobaoaadda -cnphpwnd99999@aliyun5552,cntaobaoaaddda -cnphpwnd99999@aliyun5553,cntaobaoaaddii -cnphpwnd99999@aliyun5554,cntaobaoaaddyyyyy -cnphpwnd99999@aliyun5555,cntaobaoaadfx -cnphpwnd99999@aliyun5556,cntaobaoaadfzd -cnphpwnd99999@aliyun5557,cntaobaoaadonis -cnphpwnd99999@aliyun5558,cntaobaoaadoo -cnphpwnd99999@aliyun5559,cntaobaoaadoy007 -cnphpwnd99999@aliyun5560,cntaobaoaadyon -cnphpwnd99999@aliyun5561,cntaobaoaaecn -cnphpwnd99999@aliyun5562,cntaobaoaaeeppoo -cnphpwnd99999@aliyun5563,cntaobaoaaehaae -cnphpwnd99999@aliyun5564,cntaobaoaaer2727 -cnphpwnd99999@aliyun5565,cntaobaoaaeve -cnphpwnd99999@aliyun5566,cntaobaoaaf2000 -cnphpwnd99999@aliyun5567,cntaobaoaafaso -cnphpwnd99999@aliyun5568,cntaobaoaafeng2004 -cnphpwnd99999@aliyun5569,cntaobaoaaff0127 -cnphpwnd99999@aliyun5570,cntaobaoaaffbbss -cnphpwnd99999@aliyun5571,cntaobaoaafffas -cnphpwnd99999@aliyun5572,cntaobaoaafhdf5 -cnphpwnd99999@aliyun5573,cntaobaoaafrm -cnphpwnd99999@aliyun5574,cntaobaoaafujy -cnphpwnd99999@aliyun5575,cntaobaoaagan -cnphpwnd99999@aliyun5576,cntaobaoaagg0099 -cnphpwnd99999@aliyun5577,cntaobaoaaggopk -cnphpwnd99999@aliyun5578,cntaobaoaagirl98 -cnphpwnd99999@aliyun5579,cntaobaoaaguoli -cnphpwnd99999@aliyun5580,cntaobaoaagust -cnphpwnd99999@aliyun5581,cntaobaoaagwq -cnphpwnd99999@aliyun5582,cntaobaoaaha -cnphpwnd99999@aliyun5583,cntaobaoaahai -cnphpwnd99999@aliyun5584,cntaobaoaaham -cnphpwnd99999@aliyun5585,cntaobaoaahao88 -cnphpwnd99999@aliyun5586,cntaobaoaahbb -cnphpwnd99999@aliyun5587,cntaobaoaahhh51 -cnphpwnd99999@aliyun5588,cntaobaoaahhxx -cnphpwnd99999@aliyun5589,cntaobaoaahksaa -cnphpwnd99999@aliyun5590,cntaobaoaahuang14 -cnphpwnd99999@aliyun5591,cntaobaoaahuishu -cnphpwnd99999@aliyun5592,cntaobaoaahyan -cnphpwnd99999@aliyun5593,cntaobaoaai0523 -cnphpwnd99999@aliyun5594,cntaobaoaai91 -cnphpwnd99999@aliyun5595,cntaobaoaaid -cnphpwnd99999@aliyun5596,cntaobaoaaiex -cnphpwnd99999@aliyun5597,cntaobaoaaihi -cnphpwnd99999@aliyun5598,cntaobaoaaillan -cnphpwnd99999@aliyun5599,cntaobaoaaimfk -cnphpwnd99999@aliyun5600,cntaobaoaaj_520_aaj -cnphpwnd99999@aliyun5601,cntaobaoaajake520 -cnphpwnd99999@aliyun5602,cntaobaoaajemy -cnphpwnd99999@aliyun5603,cntaobaoaajimmy -cnphpwnd99999@aliyun5604,cntaobaoaajing -cnphpwnd99999@aliyun5605,cntaobaoaajjkka -cnphpwnd99999@aliyun5606,cntaobaoaajs321 -cnphpwnd99999@aliyun5607,cntaobaoaajun -cnphpwnd99999@aliyun5608,cntaobaoaajy324520 -cnphpwnd99999@aliyun5609,cntaobaoaak47 -cnphpwnd99999@aliyun5610,cntaobaoaakaak -cnphpwnd99999@aliyun5611,cntaobaoaakashi -cnphpwnd99999@aliyun5612,cntaobaoaakdj -cnphpwnd99999@aliyun5613,cntaobaoaakeke -cnphpwnd99999@aliyun5614,cntaobaoaakfc -cnphpwnd99999@aliyun5615,cntaobaoaakillka -cnphpwnd99999@aliyun5616,cntaobaoaakk1 -cnphpwnd99999@aliyun5617,cntaobaoaakk101 -cnphpwnd99999@aliyun5618,cntaobaoaakkhjx -cnphpwnd99999@aliyun5619,cntaobaoaakkoo -cnphpwnd99999@aliyun5620,cntaobaoaakktt -cnphpwnd99999@aliyun5621,cntaobaoaakol18 -cnphpwnd99999@aliyun5622,cntaobaoaaks520 -cnphpwnd99999@aliyun5623,cntaobaoaalanxin8521 -cnphpwnd99999@aliyun5624,cntaobaoaaleafy -cnphpwnd99999@aliyun5625,cntaobaoaalez -cnphpwnd99999@aliyun5626,cntaobaoaalht80424 -cnphpwnd99999@aliyun5627,cntaobaoaalife -cnphpwnd99999@aliyun5628,cntaobaoaalijliang -cnphpwnd99999@aliyun5629,cntaobaoaalingming -cnphpwnd99999@aliyun5630,cntaobaoaalingtou -cnphpwnd99999@aliyun5631,cntaobaoaaliy -cnphpwnd99999@aliyun5632,cntaobaoaaliyah_ding -cnphpwnd99999@aliyun5633,cntaobaoaaliyahdorr -cnphpwnd99999@aliyun5634,cntaobaoaall99 -cnphpwnd99999@aliyun5635,cntaobaoaallaallsk -cnphpwnd99999@aliyun5636,cntaobaoaalliiaarr -cnphpwnd99999@aliyun5637,cntaobaoaallskdj -cnphpwnd99999@aliyun5638,cntaobaoaalonbao -cnphpwnd99999@aliyun5639,cntaobaoaalong1 -cnphpwnd99999@aliyun5640,cntaobaoaalonglong -cnphpwnd99999@aliyun5641,cntaobaoaalove520 -cnphpwnd99999@aliyun5642,cntaobaoaaloveway -cnphpwnd99999@aliyun5643,cntaobaoaalulu -cnphpwnd99999@aliyun5644,cntaobaoaalun88 -cnphpwnd99999@aliyun5645,cntaobaoaalupin -cnphpwnd99999@aliyun5646,cntaobaoaam-007 -cnphpwnd99999@aliyun5647,cntaobaoaam11687124 -cnphpwnd99999@aliyun5648,cntaobaoaam321 -cnphpwnd99999@aliyun5649,cntaobaoaam652 -cnphpwnd99999@aliyun5650,cntaobaoaam76 -cnphpwnd99999@aliyun5651,cntaobaoaamaomao -cnphpwnd99999@aliyun5652,cntaobaoaamd64 -cnphpwnd99999@aliyun5653,cntaobaoaameng -cnphpwnd99999@aliyun5654,cntaobaoaamm -cnphpwnd99999@aliyun5655,cntaobaoaammnb -cnphpwnd99999@aliyun5656,cntaobaoaammp88 -cnphpwnd99999@aliyun5657,cntaobaoaammqq123 -cnphpwnd99999@aliyun5658,cntaobaoaammzz -cnphpwnd99999@aliyun5659,cntaobaoaamojia -cnphpwnd99999@aliyun5660,cntaobaoaamonwy -cnphpwnd99999@aliyun5661,cntaobaoaamoon -cnphpwnd99999@aliyun5662,cntaobaoaamzlw -cnphpwnd99999@aliyun5663,cntaobaoaan-yy1314 -cnphpwnd99999@aliyun5664,cntaobaoaan007 -cnphpwnd99999@aliyun5665,cntaobaoaand -cnphpwnd99999@aliyun5666,cntaobaoaandy -cnphpwnd99999@aliyun5667,cntaobaoaandy889 -cnphpwnd99999@aliyun5668,cntaobaoaanee -cnphpwnd99999@aliyun5669,cntaobaoaanehziew -cnphpwnd99999@aliyun5670,cntaobaoaang007 -cnphpwnd99999@aliyun5671,cntaobaoaangel1124 -cnphpwnd99999@aliyun5672,cntaobaoaanily -cnphpwnd99999@aliyun5673,cntaobaoaanjw -cnphpwnd99999@aliyun5674,cntaobaoaanmaker -cnphpwnd99999@aliyun5675,cntaobaoaann654321 -cnphpwnd99999@aliyun5676,cntaobaoaannn -cnphpwnd99999@aliyun5677,cntaobaoaannyy5 -cnphpwnd99999@aliyun5678,cntaobaoaansun -cnphpwnd99999@aliyun5679,cntaobaoaanv -cnphpwnd99999@aliyun5680,cntaobaoaanz -cnphpwnd99999@aliyun5681,cntaobaoaao369 -cnphpwnd99999@aliyun5682,cntaobaoaaooaaoo -cnphpwnd99999@aliyun5683,cntaobaoaapg163 -cnphpwnd99999@aliyun5684,cntaobaoaapn -cnphpwnd99999@aliyun5685,cntaobaoaappdd -cnphpwnd99999@aliyun5686,cntaobaoaappss -cnphpwnd99999@aliyun5687,cntaobaoaapss -cnphpwnd99999@aliyun5688,cntaobaoaaq682 -cnphpwnd99999@aliyun5689,cntaobaoaaqa -cnphpwnd99999@aliyun5690,cntaobaoaaqaaq -cnphpwnd99999@aliyun5691,cntaobaoaaqhhj -cnphpwnd99999@aliyun5692,cntaobaoaaqingfen -cnphpwnd99999@aliyun5693,cntaobaoaaqiqi -cnphpwnd99999@aliyun5694,cntaobaoaaqiqiaa -cnphpwnd99999@aliyun5695,cntaobaoaaqq -cnphpwnd99999@aliyun5696,cntaobaoaaqq00 -cnphpwnd99999@aliyun5697,cntaobaoaaqq008 -cnphpwnd99999@aliyun5698,cntaobaoaaqyh_0169 -cnphpwnd99999@aliyun5699,cntaobaoaarbin -cnphpwnd99999@aliyun5700,cntaobaoaarchu -cnphpwnd99999@aliyun5701,cntaobaoaarikka -cnphpwnd99999@aliyun5702,cntaobaoaarly20000 -cnphpwnd99999@aliyun5703,cntaobaoaarmstrong -cnphpwnd99999@aliyun5704,cntaobaoaaron-gf -cnphpwnd99999@aliyun5705,cntaobaoaaron-ken -cnphpwnd99999@aliyun5706,cntaobaoaaron.gao -cnphpwnd99999@aliyun5707,cntaobaoaaron.s -cnphpwnd99999@aliyun5708,cntaobaoaaron.sky -cnphpwnd99999@aliyun5709,cntaobaoaaron.zhou -cnphpwnd99999@aliyun5710,cntaobaoaaron011 -cnphpwnd99999@aliyun5711,cntaobaoaaron0213 -cnphpwnd99999@aliyun5712,cntaobaoaaron0259 -cnphpwnd99999@aliyun5713,cntaobaoaaron0317 -cnphpwnd99999@aliyun5714,cntaobaoaaron036 -cnphpwnd99999@aliyun5715,cntaobaoaaron046 -cnphpwnd99999@aliyun5716,cntaobaoaaron05 -cnphpwnd99999@aliyun5717,cntaobaoaaron050 -cnphpwnd99999@aliyun5718,cntaobaoaaron0508 -cnphpwnd99999@aliyun5719,cntaobaoaaron0712 -cnphpwnd99999@aliyun5720,cntaobaoaaron0802 -cnphpwnd99999@aliyun5721,cntaobaoaaron116699 -cnphpwnd99999@aliyun5722,cntaobaoaaron12 -cnphpwnd99999@aliyun5723,cntaobaoaaron1205 -cnphpwnd99999@aliyun5724,cntaobaoaaron121 -cnphpwnd99999@aliyun5725,cntaobaoaaron1232826 -cnphpwnd99999@aliyun5726,cntaobaoaaron171 -cnphpwnd99999@aliyun5727,cntaobaoaaron19720609 -cnphpwnd99999@aliyun5728,cntaobaoaaron19821015 -cnphpwnd99999@aliyun5729,cntaobaoaaron1984 -cnphpwnd99999@aliyun5730,cntaobaoaaron1986 -cnphpwnd99999@aliyun5731,cntaobaoaaron1986426 -cnphpwnd99999@aliyun5732,cntaobaoaaron1e -cnphpwnd99999@aliyun5733,cntaobaoaaron203 -cnphpwnd99999@aliyun5734,cntaobaoaaron210 -cnphpwnd99999@aliyun5735,cntaobaoaaron25 -cnphpwnd99999@aliyun5736,cntaobaoaaron2mina -cnphpwnd99999@aliyun5737,cntaobaoaaron31 -cnphpwnd99999@aliyun5738,cntaobaoaaron32 -cnphpwnd99999@aliyun5739,cntaobaoaaron5 -cnphpwnd99999@aliyun5740,cntaobaoaaron543 -cnphpwnd99999@aliyun5741,cntaobaoaaron5799 -cnphpwnd99999@aliyun5742,cntaobaoaaron71 -cnphpwnd99999@aliyun5743,cntaobaoaaron7153 -cnphpwnd99999@aliyun5744,cntaobaoaaron7318 -cnphpwnd99999@aliyun5745,cntaobaoaaron76 -cnphpwnd99999@aliyun5746,cntaobaoaaron811015 -cnphpwnd99999@aliyun5747,cntaobaoaaron81815 -cnphpwnd99999@aliyun5748,cntaobaoaaron840731 -cnphpwnd99999@aliyun5749,cntaobaoaaron88 -cnphpwnd99999@aliyun5750,cntaobaoaaron911 -cnphpwnd99999@aliyun5751,cntaobaoaaron9527 -cnphpwnd99999@aliyun5752,cntaobaoaaron_007_2005 -cnphpwnd99999@aliyun5753,cntaobaoaaron_0211 -cnphpwnd99999@aliyun5754,cntaobaoaaron_0918 -cnphpwnd99999@aliyun5755,cntaobaoaaron_8188 -cnphpwnd99999@aliyun5756,cntaobaoaaron_cheng -cnphpwnd99999@aliyun5757,cntaobaoaaron_clz -cnphpwnd99999@aliyun5758,cntaobaoaaron_ding -cnphpwnd99999@aliyun5759,cntaobaoaaron_f1592 -cnphpwnd99999@aliyun5760,cntaobaoaaron_gao -cnphpwnd99999@aliyun5761,cntaobaoaaron_gj -cnphpwnd99999@aliyun5762,cntaobaoaaron_guo -cnphpwnd99999@aliyun5763,cntaobaoaaron_legend -cnphpwnd99999@aliyun5764,cntaobaoaaron_leo -cnphpwnd99999@aliyun5765,cntaobaoaaron_m -cnphpwnd99999@aliyun5766,cntaobaoaaron_n -cnphpwnd99999@aliyun5767,cntaobaoaaron_sunday -cnphpwnd99999@aliyun5768,cntaobaoaaron_usa -cnphpwnd99999@aliyun5769,cntaobaoaaron_why -cnphpwnd99999@aliyun5770,cntaobaoaaron_winner -cnphpwnd99999@aliyun5771,cntaobaoaaron_ying -cnphpwnd99999@aliyun5772,cntaobaoaaron_zhu -cnphpwnd99999@aliyun5773,cntaobaoaaron_zmz -cnphpwnd99999@aliyun5774,cntaobaoaarona -cnphpwnd99999@aliyun5775,cntaobaoaaronai -cnphpwnd99999@aliyun5776,cntaobaoaaronal -cnphpwnd99999@aliyun5777,cntaobaoaaronbaoxin -cnphpwnd99999@aliyun5778,cntaobaoaaroncande -cnphpwnd99999@aliyun5779,cntaobaoaaroncao -cnphpwnd99999@aliyun5780,cntaobaoaaroncarter -cnphpwnd99999@aliyun5781,cntaobaoaaroncarter123 -cnphpwnd99999@aliyun5782,cntaobaoaaroncater66 -cnphpwnd99999@aliyun5783,cntaobaoaaronchenjia -cnphpwnd99999@aliyun5784,cntaobaoaaronchenjun -cnphpwnd99999@aliyun5785,cntaobaoaaronchow -cnphpwnd99999@aliyun5786,cntaobaoaaroncitiz -cnphpwnd99999@aliyun5787,cntaobaoaaroncom_1 -cnphpwnd99999@aliyun5788,cntaobaoaarondown -cnphpwnd99999@aliyun5789,cntaobaoaarondsl -cnphpwnd99999@aliyun5790,cntaobaoaaronfang -cnphpwnd99999@aliyun5791,cntaobaoaaronfenglei -cnphpwnd99999@aliyun5792,cntaobaoaaronfu12 -cnphpwnd99999@aliyun5793,cntaobaoaarongrace -cnphpwnd99999@aliyun5794,cntaobaoaarongz -cnphpwnd99999@aliyun5795,cntaobaoaaronhill -cnphpwnd99999@aliyun5796,cntaobaoaaronhjf -cnphpwnd99999@aliyun5797,cntaobaoaaronhyp -cnphpwnd99999@aliyun5798,cntaobaoaaronjeanne -cnphpwnd99999@aliyun5799,cntaobaoaaronjob -cnphpwnd99999@aliyun5800,cntaobaoaaronjym -cnphpwnd99999@aliyun5801,cntaobaoaaronkiller -cnphpwnd99999@aliyun5802,cntaobaoaaronking -cnphpwnd99999@aliyun5803,cntaobaoaaronlau -cnphpwnd99999@aliyun5804,cntaobaoaaronlee -cnphpwnd99999@aliyun5805,cntaobaoaaronlewis -cnphpwnd99999@aliyun5806,cntaobaoaaronli31 -cnphpwnd99999@aliyun5807,cntaobaoaaronlingood -cnphpwnd99999@aliyun5808,cntaobaoaaronlinyx -cnphpwnd99999@aliyun5809,cntaobaoaaronliuxu -cnphpwnd99999@aliyun5810,cntaobaoaaronlv -cnphpwnd99999@aliyun5811,cntaobaoaaronlynn -cnphpwnd99999@aliyun5812,cntaobaoaaronmin -cnphpwnd99999@aliyun5813,cntaobaoaaronmrq -cnphpwnd99999@aliyun5814,cntaobaoaaronoyxoyx -cnphpwnd99999@aliyun5815,cntaobaoaaronpeng2002 -cnphpwnd99999@aliyun5816,cntaobaoaaronpx -cnphpwnd99999@aliyun5817,cntaobaoaaronqian -cnphpwnd99999@aliyun5818,cntaobaoaaronren616 -cnphpwnd99999@aliyun5819,cntaobaoaaronrime -cnphpwnd99999@aliyun5820,cntaobaoaaronriso -cnphpwnd99999@aliyun5821,cntaobaoaaronsong713 -cnphpwnd99999@aliyun5822,cntaobaoaaronsu -cnphpwnd99999@aliyun5823,cntaobaoaaronwang007 -cnphpwnd99999@aliyun5824,cntaobaoaaronwang1111 -cnphpwnd99999@aliyun5825,cntaobaoaaronwangjian -cnphpwnd99999@aliyun5826,cntaobaoaaronwg -cnphpwnd99999@aliyun5827,cntaobaoaaronwj21 -cnphpwnd99999@aliyun5828,cntaobaoaaronwoo -cnphpwnd99999@aliyun5829,cntaobaoaaronwuxinbin -cnphpwnd99999@aliyun5830,cntaobaoaaronx -cnphpwnd99999@aliyun5831,cntaobaoaaronxiang -cnphpwnd99999@aliyun5832,cntaobaoaaronxu -cnphpwnd99999@aliyun5833,cntaobaoaaronxulei -cnphpwnd99999@aliyun5834,cntaobaoaaronxz -cnphpwnd99999@aliyun5835,cntaobaoaaronyang1 -cnphpwnd99999@aliyun5836,cntaobaoaaronyu -cnphpwnd99999@aliyun5837,cntaobaoaaronyw -cnphpwnd99999@aliyun5838,cntaobaoaaronyy -cnphpwnd99999@aliyun5839,cntaobaoaaronzheng -cnphpwnd99999@aliyun5840,cntaobaoaaronzheng143 -cnphpwnd99999@aliyun5841,cntaobaoaaronzhj -cnphpwnd99999@aliyun5842,cntaobaoaarreess -cnphpwnd99999@aliyun5843,cntaobaoaarrkk -cnphpwnd99999@aliyun5844,cntaobaoaarryliu -cnphpwnd99999@aliyun5845,cntaobaoaarty -cnphpwnd99999@aliyun5846,cntaobaoaas18 -cnphpwnd99999@aliyun5847,cntaobaoaas2003 -cnphpwnd99999@aliyun5848,cntaobaoaas_00 -cnphpwnd99999@aliyun5849,cntaobaoaasa -cnphpwnd99999@aliyun5850,cntaobaoaasaay -cnphpwnd99999@aliyun5851,cntaobaoaasasa -cnphpwnd99999@aliyun5852,cntaobaoaasasaa -cnphpwnd99999@aliyun5853,cntaobaoaascr123 -cnphpwnd99999@aliyun5854,cntaobaoaascs001 -cnphpwnd99999@aliyun5855,cntaobaoaasd -cnphpwnd99999@aliyun5856,cntaobaoaasd1223 -cnphpwnd99999@aliyun5857,cntaobaoaasd123 -cnphpwnd99999@aliyun5858,cntaobaoaasdd4361 -cnphpwnd99999@aliyun5859,cntaobaoaasddfff -cnphpwnd99999@aliyun5860,cntaobaoaasdfghjkl -cnphpwnd99999@aliyun5861,cntaobaoaasdswear -cnphpwnd99999@aliyun5862,cntaobaoaasdzp -cnphpwnd99999@aliyun5863,cntaobaoaasee12 -cnphpwnd99999@aliyun5864,cntaobaoaasevend -cnphpwnd99999@aliyun5865,cntaobaoaasf -cnphpwnd99999@aliyun5866,cntaobaoaashi_dou -cnphpwnd99999@aliyun5867,cntaobaoaashihuiyi22 -cnphpwnd99999@aliyun5868,cntaobaoaashine_ren -cnphpwnd99999@aliyun5869,cntaobaoaasm8 -cnphpwnd99999@aliyun5870,cntaobaoaasnoopy -cnphpwnd99999@aliyun5871,cntaobaoaaso -cnphpwnd99999@aliyun5872,cntaobaoaason -cnphpwnd99999@aliyun5873,cntaobaoaason2008 -cnphpwnd99999@aliyun5874,cntaobaoaasquall -cnphpwnd99999@aliyun5875,cntaobaoaass -cnphpwnd99999@aliyun5876,cntaobaoaass01 -cnphpwnd99999@aliyun5877,cntaobaoaass02 -cnphpwnd99999@aliyun5878,cntaobaoaass09 -cnphpwnd99999@aliyun5879,cntaobaoaass12 -cnphpwnd99999@aliyun5880,cntaobaoaass190047 -cnphpwnd99999@aliyun5881,cntaobaoaass247608120 -cnphpwnd99999@aliyun5882,cntaobaoaass456 -cnphpwnd99999@aliyun5883,cntaobaoaass510 -cnphpwnd99999@aliyun5884,cntaobaoaass810 -cnphpwnd99999@aliyun5885,cntaobaoaass_3671578 -cnphpwnd99999@aliyun5886,cntaobaoaassaa11 -cnphpwnd99999@aliyun5887,cntaobaoaassaass123123 -cnphpwnd99999@aliyun5888,cntaobaoaassdd11 -cnphpwnd99999@aliyun5889,cntaobaoaassdd112233 -cnphpwnd99999@aliyun5890,cntaobaoaassdd12 -cnphpwnd99999@aliyun5891,cntaobaoaassdd15 -cnphpwnd99999@aliyun5892,cntaobaoaassdd6188286 -cnphpwnd99999@aliyun5893,cntaobaoaassddasd -cnphpwnd99999@aliyun5894,cntaobaoaassddeeff -cnphpwnd99999@aliyun5895,cntaobaoaassddff -cnphpwnd99999@aliyun5896,cntaobaoaassddff1984 -cnphpwnd99999@aliyun5897,cntaobaoaassddff3344 -cnphpwnd99999@aliyun5898,cntaobaoaassddffg -cnphpwnd99999@aliyun5899,cntaobaoaassf -cnphpwnd99999@aliyun5900,cntaobaoaassgs -cnphpwnd99999@aliyun5901,cntaobaoaassq369 -cnphpwnd99999@aliyun5902,cntaobaoaasstoo -cnphpwnd99999@aliyun5903,cntaobaoaasszzpp -cnphpwnd99999@aliyun5904,cntaobaoaasu -cnphpwnd99999@aliyun5905,cntaobaoaasvogel -cnphpwnd99999@aliyun5906,cntaobaoaasw12 -cnphpwnd99999@aliyun5907,cntaobaoaasy2000 -cnphpwnd99999@aliyun5908,cntaobaoaasyi -cnphpwnd99999@aliyun5909,cntaobaoaatandy -cnphpwnd99999@aliyun5910,cntaobaoaatd -cnphpwnd99999@aliyun5911,cntaobaoaatt06 -cnphpwnd99999@aliyun5912,cntaobaoaatt08 -cnphpwnd99999@aliyun5913,cntaobaoaatt11 -cnphpwnd99999@aliyun5914,cntaobaoaatt15 -cnphpwnd99999@aliyun5915,cntaobaoaattop -cnphpwnd99999@aliyun5916,cntaobaoaaul -cnphpwnd99999@aliyun5917,cntaobaoaaustty -cnphpwnd99999@aliyun5918,cntaobaoaauuyy1699 -cnphpwnd99999@aliyun5919,cntaobaoaaw880 -cnphpwnd99999@aliyun5920,cntaobaoaawei -cnphpwnd99999@aliyun5921,cntaobaoaawg2 -cnphpwnd99999@aliyun5922,cntaobaoaawgh31 -cnphpwnd99999@aliyun5923,cntaobaoaawin -cnphpwnd99999@aliyun5924,cntaobaoaawrad -cnphpwnd99999@aliyun5925,cntaobaoaawubb -cnphpwnd99999@aliyun5926,cntaobaoaaww2009 -cnphpwnd99999@aliyun5927,cntaobaoaaww222 -cnphpwnd99999@aliyun5928,cntaobaoaawwmm -cnphpwnd99999@aliyun5929,cntaobaoaawwww -cnphpwnd99999@aliyun5930,cntaobaoaax000 -cnphpwnd99999@aliyun5931,cntaobaoaaxiang -cnphpwnd99999@aliyun5932,cntaobaoaaxjp -cnphpwnd99999@aliyun5933,cntaobaoaaxln -cnphpwnd99999@aliyun5934,cntaobaoaaxx -cnphpwnd99999@aliyun5935,cntaobaoaaxx-2006 -cnphpwnd99999@aliyun5936,cntaobaoaaxx007 -cnphpwnd99999@aliyun5937,cntaobaoaaxy2 -cnphpwnd99999@aliyun5938,cntaobaoaayaa749 -cnphpwnd99999@aliyun5939,cntaobaoaayanglong88 -cnphpwnd99999@aliyun5940,cntaobaoaayatou -cnphpwnd99999@aliyun5941,cntaobaoaayaya -cnphpwnd99999@aliyun5942,cntaobaoaayes -cnphpwnd99999@aliyun5943,cntaobaoaayingying007 -cnphpwnd99999@aliyun5944,cntaobaoaayo -cnphpwnd99999@aliyun5945,cntaobaoaayon -cnphpwnd99999@aliyun5946,cntaobaoaaysbb -cnphpwnd99999@aliyun5947,cntaobaoaayy841201 -cnphpwnd99999@aliyun5948,cntaobaoaayyyyyy -cnphpwnd99999@aliyun5949,cntaobaoaaza1988 -cnphpwnd99999@aliyun5950,cntaobaoaazb123456 -cnphpwnd99999@aliyun5951,cntaobaoaazbzb -cnphpwnd99999@aliyun5952,cntaobaoaazhanghongtao -cnphpwnd99999@aliyun5953,cntaobaoaazhanzhan -cnphpwnd99999@aliyun5954,cntaobaoaazj -cnphpwnd99999@aliyun5955,cntaobaoaazsx -cnphpwnd99999@aliyun5956,cntaobaoaazwj -cnphpwnd99999@aliyun5957,cntaobaoaazxw -cnphpwnd99999@aliyun5958,cntaobaoaazz1122 -cnphpwnd99999@aliyun5959,cntaobaoaazz4139971 -cnphpwnd99999@aliyun5960,cntaobaoaazz566200 -cnphpwnd99999@aliyun5961,cntaobaoaazz781288 -cnphpwnd99999@aliyun5962,cntaobaoaazz9966 -cnphpwnd99999@aliyun5963,cntaobaoaazzqqasd -cnphpwnd99999@aliyun5964,cntaobaoaazzssxx -cnphpwnd99999@aliyun5965,cntaobaoaazzsx3 -cnphpwnd99999@aliyun5966,cntaobaoaazzw -cnphpwnd99999@aliyun5967,cntaobaoaazzy -cnphpwnd99999@aliyun5968,cntaobaoab-grace -cnphpwnd99999@aliyun5969,cntaobaoab.cai.haibo -cnphpwnd99999@aliyun5970,cntaobaoab000002 -cnphpwnd99999@aliyun5971,cntaobaoab000008 -cnphpwnd99999@aliyun5972,cntaobaoab0109 -cnphpwnd99999@aliyun5973,cntaobaoab040001 -cnphpwnd99999@aliyun5974,cntaobaoab054600 -cnphpwnd99999@aliyun5975,cntaobaoab06 -cnphpwnd99999@aliyun5976,cntaobaoab07137754669 -cnphpwnd99999@aliyun5977,cntaobaoab1001 -cnphpwnd99999@aliyun5978,cntaobaoab110001 -cnphpwnd99999@aliyun5979,cntaobaoab12 -cnphpwnd99999@aliyun5980,cntaobaoab120001 -cnphpwnd99999@aliyun5981,cntaobaoab12261024 -cnphpwnd99999@aliyun5982,cntaobaoab123456 -cnphpwnd99999@aliyun5983,cntaobaoab12347 -cnphpwnd99999@aliyun5984,cntaobaoab1234cde -cnphpwnd99999@aliyun5985,cntaobaoab123_b -cnphpwnd99999@aliyun5986,cntaobaoab123ab -cnphpwnd99999@aliyun5987,cntaobaoab123dd -cnphpwnd99999@aliyun5988,cntaobaoab12ab518 -cnphpwnd99999@aliyun5989,cntaobaoab12cd -cnphpwnd99999@aliyun5990,cntaobaoab14055256 -cnphpwnd99999@aliyun5991,cntaobaoab147852 -cnphpwnd99999@aliyun5992,cntaobaoab1696 -cnphpwnd99999@aliyun5993,cntaobaoab173 -cnphpwnd99999@aliyun5994,cntaobaoab1744 -cnphpwnd99999@aliyun5995,cntaobaoab1846 -cnphpwnd99999@aliyun5996,cntaobaoab1887010 -cnphpwnd99999@aliyun5997,cntaobaoab1981 -cnphpwnd99999@aliyun5998,cntaobaoab1983 -cnphpwnd99999@aliyun5999,cntaobaoab198608011 -cnphpwnd99999@aliyun6000,cntaobaoab1cd2de3 -cnphpwnd99999@aliyun6001,cntaobaoab1eric -cnphpwnd99999@aliyun6002,cntaobaoab20042004 -cnphpwnd99999@aliyun6003,cntaobaoab2005ab -cnphpwnd99999@aliyun6004,cntaobaoab20082005 -cnphpwnd99999@aliyun6005,cntaobaoab2046 -cnphpwnd99999@aliyun6006,cntaobaoab2059 -cnphpwnd99999@aliyun6007,cntaobaoab20cd04 -cnphpwnd99999@aliyun6008,cntaobaoab2171706 -cnphpwnd99999@aliyun6009,cntaobaoab220001 -cnphpwnd99999@aliyun6010,cntaobaoab2245708 -cnphpwnd99999@aliyun6011,cntaobaoab2410 -cnphpwnd99999@aliyun6012,cntaobaoab25168 -cnphpwnd99999@aliyun6013,cntaobaoab2612 -cnphpwnd99999@aliyun6014,cntaobaoab2783692 -cnphpwnd99999@aliyun6015,cntaobaoab30 -cnphpwnd99999@aliyun6016,cntaobaoab3158 -cnphpwnd99999@aliyun6017,cntaobaoab320001 -cnphpwnd99999@aliyun6018,cntaobaoab333767 -cnphpwnd99999@aliyun6019,cntaobaoab336798 -cnphpwnd99999@aliyun6020,cntaobaoab33cd -cnphpwnd99999@aliyun6021,cntaobaoab3570313 -cnphpwnd99999@aliyun6022,cntaobaoab3830 -cnphpwnd99999@aliyun6023,cntaobaoab3988199 -cnphpwnd99999@aliyun6024,cntaobaoab41000124 -cnphpwnd99999@aliyun6025,cntaobaoab4418880 -cnphpwnd99999@aliyun6026,cntaobaoab45869 -cnphpwnd99999@aliyun6027,cntaobaoab45874001 -cnphpwnd99999@aliyun6028,cntaobaoab490001 -cnphpwnd99999@aliyun6029,cntaobaoab500001 -cnphpwnd99999@aliyun6030,cntaobaoab50016068 -cnphpwnd99999@aliyun6031,cntaobaoab50528973 -cnphpwnd99999@aliyun6032,cntaobaoab5217 -cnphpwnd99999@aliyun6033,cntaobaoab5258388 -cnphpwnd99999@aliyun6034,cntaobaoab52789 -cnphpwnd99999@aliyun6035,cntaobaoab5632284 -cnphpwnd99999@aliyun6036,cntaobaoab5701314 -cnphpwnd99999@aliyun6037,cntaobaoab5869767 -cnphpwnd99999@aliyun6038,cntaobaoab590001 -cnphpwnd99999@aliyun6039,cntaobaoab5ramge -cnphpwnd99999@aliyun6040,cntaobaoab600000 -cnphpwnd99999@aliyun6041,cntaobaoab6057 -cnphpwnd99999@aliyun6042,cntaobaoab62328910 -cnphpwnd99999@aliyun6043,cntaobaoab6241809 -cnphpwnd99999@aliyun6044,cntaobaoab644916 -cnphpwnd99999@aliyun6045,cntaobaoab656126 -cnphpwnd99999@aliyun6046,cntaobaoab67905688 -cnphpwnd99999@aliyun6047,cntaobaoab680000 -cnphpwnd99999@aliyun6048,cntaobaoab700667 -cnphpwnd99999@aliyun6049,cntaobaoab7231526 -cnphpwnd99999@aliyun6050,cntaobaoab7310 -cnphpwnd99999@aliyun6051,cntaobaoab74 -cnphpwnd99999@aliyun6052,cntaobaoab740000 -cnphpwnd99999@aliyun6053,cntaobaoab7441414 -cnphpwnd99999@aliyun6054,cntaobaoab7519872 -cnphpwnd99999@aliyun6055,cntaobaoab7571155 -cnphpwnd99999@aliyun6056,cntaobaoab75hamc -cnphpwnd99999@aliyun6057,cntaobaoab7661912 -cnphpwnd99999@aliyun6058,cntaobaoab7677324 -cnphpwnd99999@aliyun6059,cntaobaoab7782 -cnphpwnd99999@aliyun6060,cntaobaoab790000 -cnphpwnd99999@aliyun6061,cntaobaoab79112 -cnphpwnd99999@aliyun6062,cntaobaoab801006119 -cnphpwnd99999@aliyun6063,cntaobaoab8291007 -cnphpwnd99999@aliyun6064,cntaobaoab830000 -cnphpwnd99999@aliyun6065,cntaobaoab8306 -cnphpwnd99999@aliyun6066,cntaobaoab831107 -cnphpwnd99999@aliyun6067,cntaobaoab83115415 -cnphpwnd99999@aliyun6068,cntaobaoab851011 -cnphpwnd99999@aliyun6069,cntaobaoab8556538 -cnphpwnd99999@aliyun6070,cntaobaoab8824397 -cnphpwnd99999@aliyun6071,cntaobaoab8870876 -cnphpwnd99999@aliyun6072,cntaobaoab8876 -cnphpwnd99999@aliyun6073,cntaobaoab8899 -cnphpwnd99999@aliyun6074,cntaobaoab890217 -cnphpwnd99999@aliyun6075,cntaobaoab8u8 -cnphpwnd99999@aliyun6076,cntaobaoab910108 -cnphpwnd99999@aliyun6077,cntaobaoab930520 -cnphpwnd99999@aliyun6078,cntaobaoab94784499 -cnphpwnd99999@aliyun6079,cntaobaoab9527 -cnphpwnd99999@aliyun6080,cntaobaoab96213 -cnphpwnd99999@aliyun6081,cntaobaoab_1jiangweiwei -cnphpwnd99999@aliyun6082,cntaobaoab_abjiaoyan -cnphpwnd99999@aliyun6083,cntaobaoab_ac -cnphpwnd99999@aliyun6084,cntaobaoab_jty -cnphpwnd99999@aliyun6085,cntaobaoaba000000 -cnphpwnd99999@aliyun6086,cntaobaoaba993620aba -cnphpwnd99999@aliyun6087,cntaobaoabaa -cnphpwnd99999@aliyun6088,cntaobaoabab -cnphpwnd99999@aliyun6089,cntaobaoabab0000 -cnphpwnd99999@aliyun6090,cntaobaoabab0101 -cnphpwnd99999@aliyun6091,cntaobaoabab123 -cnphpwnd99999@aliyun6092,cntaobaoabab13 -cnphpwnd99999@aliyun6093,cntaobaoabab2000 -cnphpwnd99999@aliyun6094,cntaobaoababa658 -cnphpwnd99999@aliyun6095,cntaobaoababab31 -cnphpwnd99999@aliyun6096,cntaobaoababab666 -cnphpwnd99999@aliyun6097,cntaobaoabababb -cnphpwnd99999@aliyun6098,cntaobaoabababdd -cnphpwnd99999@aliyun6099,cntaobaoabababffff -cnphpwnd99999@aliyun6100,cntaobaoababb -cnphpwnd99999@aliyun6101,cntaobaoababc002 -cnphpwnd99999@aliyun6102,cntaobaoababcd_jy -cnphpwnd99999@aliyun6103,cntaobaoababo56o -cnphpwnd99999@aliyun6104,cntaobaoababobob -cnphpwnd99999@aliyun6105,cntaobaoababy11198 -cnphpwnd99999@aliyun6106,cntaobaoabac222 -cnphpwnd99999@aliyun6107,cntaobaoabac851012 -cnphpwnd99999@aliyun6108,cntaobaoabaca -cnphpwnd99999@aliyun6109,cntaobaoaback -cnphpwnd99999@aliyun6110,cntaobaoaback2004 -cnphpwnd99999@aliyun6111,cntaobaoabacs -cnphpwnd99999@aliyun6112,cntaobaoabacus -cnphpwnd99999@aliyun6113,cntaobaoabacus123 -cnphpwnd99999@aliyun6114,cntaobaoabaddon-lg -cnphpwnd99999@aliyun6115,cntaobaoabadi -cnphpwnd99999@aliyun6116,cntaobaoabadian -cnphpwnd99999@aliyun6117,cntaobaoabadong -cnphpwnd99999@aliyun6118,cntaobaoabaffgga -cnphpwnd99999@aliyun6119,cntaobaoabagail -cnphpwnd99999@aliyun6120,cntaobaoabai2003 -cnphpwnd99999@aliyun6121,cntaobaoabaibba -cnphpwnd99999@aliyun6122,cntaobaoabaiyang -cnphpwnd99999@aliyun6123,cntaobaoabala -cnphpwnd99999@aliyun6124,cntaobaoabalone030 -cnphpwnd99999@aliyun6125,cntaobaoabamao -cnphpwnd99999@aliyun6126,cntaobaoaban1986 -cnphpwnd99999@aliyun6127,cntaobaoaban202 -cnphpwnd99999@aliyun6128,cntaobaoaban_cao -cnphpwnd99999@aliyun6129,cntaobaoabanban -cnphpwnd99999@aliyun6130,cntaobaoabanban_1978 -cnphpwnd99999@aliyun6131,cntaobaoabandoned -cnphpwnd99999@aliyun6132,cntaobaoabang-c -cnphpwnd99999@aliyun6133,cntaobaoabang8788 -cnphpwnd99999@aliyun6134,cntaobaoabangge -cnphpwnd99999@aliyun6135,cntaobaoabangtb -cnphpwnd99999@aliyun6136,cntaobaoabanlan -cnphpwnd99999@aliyun6137,cntaobaoabanny -cnphpwnd99999@aliyun6138,cntaobaoabanpar -cnphpwnd99999@aliyun6139,cntaobaoabao.zhang -cnphpwnd99999@aliyun6140,cntaobaoabao0453 -cnphpwnd99999@aliyun6141,cntaobaoabao0988 -cnphpwnd99999@aliyun6142,cntaobaoabao110 -cnphpwnd99999@aliyun6143,cntaobaoabao130 -cnphpwnd99999@aliyun6144,cntaobaoabao1975 -cnphpwnd99999@aliyun6145,cntaobaoabao19810904 -cnphpwnd99999@aliyun6146,cntaobaoabao2013 -cnphpwnd99999@aliyun6147,cntaobaoabao301 -cnphpwnd99999@aliyun6148,cntaobaoabao310 -cnphpwnd99999@aliyun6149,cntaobaoabao314 -cnphpwnd99999@aliyun6150,cntaobaoabao414 -cnphpwnd99999@aliyun6151,cntaobaoabao45 -cnphpwnd99999@aliyun6152,cntaobaoabao513 -cnphpwnd99999@aliyun6153,cntaobaoabao518_pla -cnphpwnd99999@aliyun6154,cntaobaoabao_13 -cnphpwnd99999@aliyun6155,cntaobaoabao_521 -cnphpwnd99999@aliyun6156,cntaobaoabao_87828 -cnphpwnd99999@aliyun6157,cntaobaoabaobaifan -cnphpwnd99999@aliyun6158,cntaobaoabaobao10 -cnphpwnd99999@aliyun6159,cntaobaoabaobao81385567 -cnphpwnd99999@aliyun6160,cntaobaoabaocn -cnphpwnd99999@aliyun6161,cntaobaoabaoer -cnphpwnd99999@aliyun6162,cntaobaoabaohome -cnphpwnd99999@aliyun6163,cntaobaoabaohuai -cnphpwnd99999@aliyun6164,cntaobaoabaok -cnphpwnd99999@aliyun6165,cntaobaoabaokeke -cnphpwnd99999@aliyun6166,cntaobaoabaolulu -cnphpwnd99999@aliyun6167,cntaobaoabaoni1 -cnphpwnd99999@aliyun6168,cntaobaoabaoo -cnphpwnd99999@aliyun6169,cntaobaoabaoone -cnphpwnd99999@aliyun6170,cntaobaoabaoooo0 -cnphpwnd99999@aliyun6171,cntaobaoabaoshan2000 -cnphpwnd99999@aliyun6172,cntaobaoabaoshiwo -cnphpwnd99999@aliyun6173,cntaobaoabaowuli -cnphpwnd99999@aliyun6174,cntaobaoabas -cnphpwnd99999@aliyun6175,cntaobaoabase_love -cnphpwnd99999@aliyun6176,cntaobaoabashed001012 -cnphpwnd99999@aliyun6177,cntaobaoabaubja -cnphpwnd99999@aliyun6178,cntaobaoabaw0705 -cnphpwnd99999@aliyun6179,cntaobaoabaw1601 -cnphpwnd99999@aliyun6180,cntaobaoabaw7410 -cnphpwnd99999@aliyun6181,cntaobaoabaya -cnphpwnd99999@aliyun6182,cntaobaoabazwb -cnphpwnd99999@aliyun6183,cntaobaoabb.chenmeng -cnphpwnd99999@aliyun6184,cntaobaoabb02141 -cnphpwnd99999@aliyun6185,cntaobaoabb2003 -cnphpwnd99999@aliyun6186,cntaobaoabb27808 -cnphpwnd99999@aliyun6187,cntaobaoabb321 -cnphpwnd99999@aliyun6188,cntaobaoabb662008 -cnphpwnd99999@aliyun6189,cntaobaoabb668 -cnphpwnd99999@aliyun6190,cntaobaoabb843300 -cnphpwnd99999@aliyun6191,cntaobaoabba0214 -cnphpwnd99999@aliyun6192,cntaobaoabba1 -cnphpwnd99999@aliyun6193,cntaobaoabba1231 -cnphpwnd99999@aliyun6194,cntaobaoabba25 -cnphpwnd99999@aliyun6195,cntaobaoabba_12 -cnphpwnd99999@aliyun6196,cntaobaoabba_jjz -cnphpwnd99999@aliyun6197,cntaobaoabbaaa -cnphpwnd99999@aliyun6198,cntaobaoabbabb456 -cnphpwnd99999@aliyun6199,cntaobaoabbachen -cnphpwnd99999@aliyun6200,cntaobaoabbafay -cnphpwnd99999@aliyun6201,cntaobaoabbanbts -cnphpwnd99999@aliyun6202,cntaobaoabbao -cnphpwnd99999@aliyun6203,cntaobaoabbaoble -cnphpwnd99999@aliyun6204,cntaobaoabbaok -cnphpwnd99999@aliyun6205,cntaobaoabbasi -cnphpwnd99999@aliyun6206,cntaobaoabbba -cnphpwnd99999@aliyun6207,cntaobaoabbbbbbbbbbbbbbbbbbb -cnphpwnd99999@aliyun6208,cntaobaoabbc123 -cnphpwnd99999@aliyun6209,cntaobaoabbcccdddd -cnphpwnd99999@aliyun6210,cntaobaoabbcccddddlu -cnphpwnd99999@aliyun6211,cntaobaoabbe -cnphpwnd99999@aliyun6212,cntaobaoabbend -cnphpwnd99999@aliyun6213,cntaobaoabbess -cnphpwnd99999@aliyun6214,cntaobaoabbessnet -cnphpwnd99999@aliyun6215,cntaobaoabbey-zheng -cnphpwnd99999@aliyun6216,cntaobaoabbey112534 -cnphpwnd99999@aliyun6217,cntaobaoabbey2004 -cnphpwnd99999@aliyun6218,cntaobaoabbey_0404 -cnphpwnd99999@aliyun6219,cntaobaoabbeyty -cnphpwnd99999@aliyun6220,cntaobaoabbie11 -cnphpwnd99999@aliyun6221,cntaobaoabbigale -cnphpwnd99999@aliyun6222,cntaobaoabbkaisa -cnphpwnd99999@aliyun6223,cntaobaoabbluo -cnphpwnd99999@aliyun6224,cntaobaoabbot_0000 -cnphpwnd99999@aliyun6225,cntaobaoabbottf -cnphpwnd99999@aliyun6226,cntaobaoabbottzz -cnphpwnd99999@aliyun6227,cntaobaoabbre -cnphpwnd99999@aliyun6228,cntaobaoabbs2000 -cnphpwnd99999@aliyun6229,cntaobaoabbs52951962 -cnphpwnd99999@aliyun6230,cntaobaoabbtt -cnphpwnd99999@aliyun6231,cntaobaoabbx -cnphpwnd99999@aliyun6232,cntaobaoabby-young -cnphpwnd99999@aliyun6233,cntaobaoabby.chen -cnphpwnd99999@aliyun6234,cntaobaoabby0214 -cnphpwnd99999@aliyun6235,cntaobaoabby0802 -cnphpwnd99999@aliyun6236,cntaobaoabby1102 -cnphpwnd99999@aliyun6237,cntaobaoabby1819 -cnphpwnd99999@aliyun6238,cntaobaoabby18891476 -cnphpwnd99999@aliyun6239,cntaobaoabby2004 -cnphpwnd99999@aliyun6240,cntaobaoabby2458 -cnphpwnd99999@aliyun6241,cntaobaoabby3388 -cnphpwnd99999@aliyun6242,cntaobaoabby411 -cnphpwnd99999@aliyun6243,cntaobaoabby61 -cnphpwnd99999@aliyun6244,cntaobaoabby633 -cnphpwnd99999@aliyun6245,cntaobaoabby7160 -cnphpwnd99999@aliyun6246,cntaobaoabby81 -cnphpwnd99999@aliyun6247,cntaobaoabby980650 -cnphpwnd99999@aliyun6248,cntaobaoabby_lee995 -cnphpwnd99999@aliyun6249,cntaobaoabbya -cnphpwnd99999@aliyun6250,cntaobaoabbyabbie_853 -cnphpwnd99999@aliyun6251,cntaobaoabbyabby -cnphpwnd99999@aliyun6252,cntaobaoabbychoi -cnphpwnd99999@aliyun6253,cntaobaoabbydu -cnphpwnd99999@aliyun6254,cntaobaoabbyhsu -cnphpwnd99999@aliyun6255,cntaobaoabbyii -cnphpwnd99999@aliyun6256,cntaobaoabbyjing -cnphpwnd99999@aliyun6257,cntaobaoabbykang -cnphpwnd99999@aliyun6258,cntaobaoabbylai -cnphpwnd99999@aliyun6259,cntaobaoabbyli_r -cnphpwnd99999@aliyun6260,cntaobaoabbylier -cnphpwnd99999@aliyun6261,cntaobaoabbyling -cnphpwnd99999@aliyun6262,cntaobaoabbylovelk -cnphpwnd99999@aliyun6263,cntaobaoabbyluyuan -cnphpwnd99999@aliyun6264,cntaobaoabbymaynell -cnphpwnd99999@aliyun6265,cntaobaoabbymm123 -cnphpwnd99999@aliyun6266,cntaobaoabbynannan -cnphpwnd99999@aliyun6267,cntaobaoabbyszgirl -cnphpwnd99999@aliyun6268,cntaobaoabbytang -cnphpwnd99999@aliyun6269,cntaobaoabbyu -cnphpwnd99999@aliyun6270,cntaobaoabbywa -cnphpwnd99999@aliyun6271,cntaobaoabbyxyzfengping -cnphpwnd99999@aliyun6272,cntaobaoabbyyc -cnphpwnd99999@aliyun6273,cntaobaoabbyzhou -cnphpwnd99999@aliyun6274,cntaobaoabc-123 -cnphpwnd99999@aliyun6275,cntaobaoabc-172302 -cnphpwnd99999@aliyun6276,cntaobaoabc-4321389 -cnphpwnd99999@aliyun6277,cntaobaoabc-9999 -cnphpwnd99999@aliyun6278,cntaobaoabc-boy -cnphpwnd99999@aliyun6279,cntaobaoabc-tan -cnphpwnd99999@aliyun6280,cntaobaoabc-yuagng -cnphpwnd99999@aliyun6281,cntaobaoabc.1.2.3 -cnphpwnd99999@aliyun6282,cntaobaoabc.jxm -cnphpwnd99999@aliyun6283,cntaobaoabc00 -cnphpwnd99999@aliyun6284,cntaobaoabc0000 -cnphpwnd99999@aliyun6285,cntaobaoabc00000 -cnphpwnd99999@aliyun6286,cntaobaoabc000099 -cnphpwnd99999@aliyun6287,cntaobaoabc0002 -cnphpwnd99999@aliyun6288,cntaobaoabc0006 -cnphpwnd99999@aliyun6289,cntaobaoabc00079 -cnphpwnd99999@aliyun6290,cntaobaoabc000_2005 -cnphpwnd99999@aliyun6291,cntaobaoabc000_2008 -cnphpwnd99999@aliyun6292,cntaobaoabc000abc88 -cnphpwnd99999@aliyun6293,cntaobaoabc000mei -cnphpwnd99999@aliyun6294,cntaobaoabc000qqq -cnphpwnd99999@aliyun6295,cntaobaoabc001 -cnphpwnd99999@aliyun6296,cntaobaoabc001001 -cnphpwnd99999@aliyun6297,cntaobaoabc0010011 -cnphpwnd99999@aliyun6298,cntaobaoabc0011 -cnphpwnd99999@aliyun6299,cntaobaoabc001110 -cnphpwnd99999@aliyun6300,cntaobaoabc001122 -cnphpwnd99999@aliyun6301,cntaobaoabc0012 -cnphpwnd99999@aliyun6302,cntaobaoabc00123 -cnphpwnd99999@aliyun6303,cntaobaoabc00191 -cnphpwnd99999@aliyun6304,cntaobaoabc001def001 -cnphpwnd99999@aliyun6305,cntaobaoabc001jx -cnphpwnd99999@aliyun6306,cntaobaoabc002 -cnphpwnd99999@aliyun6307,cntaobaoabc002:2 -cnphpwnd99999@aliyun6308,cntaobaoabc003500 -cnphpwnd99999@aliyun6309,cntaobaoabc00369 -cnphpwnd99999@aliyun6310,cntaobaoabc0036987 -cnphpwnd99999@aliyun6311,cntaobaoabc003_xie -cnphpwnd99999@aliyun6312,cntaobaoabc004 -cnphpwnd99999@aliyun6313,cntaobaoabc0046cn -cnphpwnd99999@aliyun6314,cntaobaoabc005 -cnphpwnd99999@aliyun6315,cntaobaoabc006 -cnphpwnd99999@aliyun6316,cntaobaoabc007 -cnphpwnd99999@aliyun6317,cntaobaoabc007000 -cnphpwnd99999@aliyun6318,cntaobaoabc0073 -cnphpwnd99999@aliyun6319,cntaobaoabc0073100 -cnphpwnd99999@aliyun6320,cntaobaoabc0076 -cnphpwnd99999@aliyun6321,cntaobaoabc007wlq -cnphpwnd99999@aliyun6322,cntaobaoabc0081 -cnphpwnd99999@aliyun6323,cntaobaoabc008_008 -cnphpwnd99999@aliyun6324,cntaobaoabc008kkk -cnphpwnd99999@aliyun6325,cntaobaoabc009 -cnphpwnd99999@aliyun6326,cntaobaoabc00922 -cnphpwnd99999@aliyun6327,cntaobaoabc0099 -cnphpwnd99999@aliyun6328,cntaobaoabc01 -cnphpwnd99999@aliyun6329,cntaobaoabc0101 -cnphpwnd99999@aliyun6330,cntaobaoabc0101def -cnphpwnd99999@aliyun6331,cntaobaoabc0110 -cnphpwnd99999@aliyun6332,cntaobaoabc011098 -cnphpwnd99999@aliyun6333,cntaobaoabc0112 -cnphpwnd99999@aliyun6334,cntaobaoabc01222 -cnphpwnd99999@aliyun6335,cntaobaoabc01230123 -cnphpwnd99999@aliyun6336,cntaobaoabc01230456 -cnphpwnd99999@aliyun6337,cntaobaoabc0123456a -cnphpwnd99999@aliyun6338,cntaobaoabc0125 -cnphpwnd99999@aliyun6339,cntaobaoabc0127 -cnphpwnd99999@aliyun6340,cntaobaoabc0150 -cnphpwnd99999@aliyun6341,cntaobaoabc0165 -cnphpwnd99999@aliyun6342,cntaobaoabc016501 -cnphpwnd99999@aliyun6343,cntaobaoabc02 -cnphpwnd99999@aliyun6344,cntaobaoabc020 -cnphpwnd99999@aliyun6345,cntaobaoabc0202 -cnphpwnd99999@aliyun6346,cntaobaoabc020409 -cnphpwnd99999@aliyun6347,cntaobaoabc021 -cnphpwnd99999@aliyun6348,cntaobaoabc0216789 -cnphpwnd99999@aliyun6349,cntaobaoabc023 -cnphpwnd99999@aliyun6350,cntaobaoabc0258520 -cnphpwnd99999@aliyun6351,cntaobaoabc027 -cnphpwnd99999@aliyun6352,cntaobaoabc027_2005 -cnphpwnd99999@aliyun6353,cntaobaoabc0311 -cnphpwnd99999@aliyun6354,cntaobaoabc0316 -cnphpwnd99999@aliyun6355,cntaobaoabc0316zk -cnphpwnd99999@aliyun6356,cntaobaoabc0318959 -cnphpwnd99999@aliyun6357,cntaobaoabc0350 -cnphpwnd99999@aliyun6358,cntaobaoabc03504 -cnphpwnd99999@aliyun6359,cntaobaoabc0351 -cnphpwnd99999@aliyun6360,cntaobaoabc035140129 -cnphpwnd99999@aliyun6361,cntaobaoabc0365 -cnphpwnd99999@aliyun6362,cntaobaoabc041208 -cnphpwnd99999@aliyun6363,cntaobaoabc0421 -cnphpwnd99999@aliyun6364,cntaobaoabc0426 -cnphpwnd99999@aliyun6365,cntaobaoabc042773 -cnphpwnd99999@aliyun6366,cntaobaoabc0429 -cnphpwnd99999@aliyun6367,cntaobaoabc04592 -cnphpwnd99999@aliyun6368,cntaobaoabc050300223 -cnphpwnd99999@aliyun6369,cntaobaoabc0512 -cnphpwnd99999@aliyun6370,cntaobaoabc0512888 -cnphpwnd99999@aliyun6371,cntaobaoabc0514 -cnphpwnd99999@aliyun6372,cntaobaoabc05169 -cnphpwnd99999@aliyun6373,cntaobaoabc0517 -cnphpwnd99999@aliyun6374,cntaobaoabc0517_cn -cnphpwnd99999@aliyun6375,cntaobaoabc0519 -cnphpwnd99999@aliyun6376,cntaobaoabc0520 -cnphpwnd99999@aliyun6377,cntaobaoabc0523 -cnphpwnd99999@aliyun6378,cntaobaoabc05300517 -cnphpwnd99999@aliyun6379,cntaobaoabc0531 -cnphpwnd99999@aliyun6380,cntaobaoabc05312 -cnphpwnd99999@aliyun6381,cntaobaoabc05321 -cnphpwnd99999@aliyun6382,cntaobaoabc05482 -cnphpwnd99999@aliyun6383,cntaobaoabc06 -cnphpwnd99999@aliyun6384,cntaobaoabc060214 -cnphpwnd99999@aliyun6385,cntaobaoabc0660 -cnphpwnd99999@aliyun6386,cntaobaoabc0666 -cnphpwnd99999@aliyun6387,cntaobaoabc070687abc -cnphpwnd99999@aliyun6388,cntaobaoabc07123 -cnphpwnd99999@aliyun6389,cntaobaoabc0724 -cnphpwnd99999@aliyun6390,cntaobaoabc0727 -cnphpwnd99999@aliyun6391,cntaobaoabc0728 -cnphpwnd99999@aliyun6392,cntaobaoabc0731 -cnphpwnd99999@aliyun6393,cntaobaoabc0797 -cnphpwnd99999@aliyun6394,cntaobaoabc0798 -cnphpwnd99999@aliyun6395,cntaobaoabc0810 -cnphpwnd99999@aliyun6396,cntaobaoabc0828 -cnphpwnd99999@aliyun6397,cntaobaoabc085123 -cnphpwnd99999@aliyun6398,cntaobaoabc0852 -cnphpwnd99999@aliyun6399,cntaobaoabc0863156 -cnphpwnd99999@aliyun6400,cntaobaoabc09070552 -cnphpwnd99999@aliyun6401,cntaobaoabc090705521 -cnphpwnd99999@aliyun6402,cntaobaoabc0909 -cnphpwnd99999@aliyun6403,cntaobaoabc092004 -cnphpwnd99999@aliyun6404,cntaobaoabc0987 -cnphpwnd99999@aliyun6405,cntaobaoabc0987654321_2005 -cnphpwnd99999@aliyun6406,cntaobaoabc0_0cba -cnphpwnd99999@aliyun6407,cntaobaoabc0abc0 -cnphpwnd99999@aliyun6408,cntaobaoabc0xx -cnphpwnd99999@aliyun6409,cntaobaoabc1.2.3 -cnphpwnd99999@aliyun6410,cntaobaoabc1000 -cnphpwnd99999@aliyun6411,cntaobaoabc1000000 -cnphpwnd99999@aliyun6412,cntaobaoabc10001 -cnphpwnd99999@aliyun6413,cntaobaoabc1000m -cnphpwnd99999@aliyun6414,cntaobaoabc100200321456 -cnphpwnd99999@aliyun6415,cntaobaoabc100326 -cnphpwnd99999@aliyun6416,cntaobaoabc10066 -cnphpwnd99999@aliyun6417,cntaobaoabc1008 -cnphpwnd99999@aliyun6418,cntaobaoabc100abc -cnphpwnd99999@aliyun6419,cntaobaoabc101010 -cnphpwnd99999@aliyun6420,cntaobaoabc101034 -cnphpwnd99999@aliyun6421,cntaobaoabc1013110910 -cnphpwnd99999@aliyun6422,cntaobaoabc1014119 -cnphpwnd99999@aliyun6423,cntaobaoabc1016 -cnphpwnd99999@aliyun6424,cntaobaoabc10188 -cnphpwnd99999@aliyun6425,cntaobaoabc1020 -cnphpwnd99999@aliyun6426,cntaobaoabc102080 -cnphpwnd99999@aliyun6427,cntaobaoabc102100188 -cnphpwnd99999@aliyun6428,cntaobaoabc1022 -cnphpwnd99999@aliyun6429,cntaobaoabc1025311 -cnphpwnd99999@aliyun6430,cntaobaoabc10282 -cnphpwnd99999@aliyun6431,cntaobaoabc1031 -cnphpwnd99999@aliyun6432,cntaobaoabc1035_yan -cnphpwnd99999@aliyun6433,cntaobaoabc103838 -cnphpwnd99999@aliyun6434,cntaobaoabc103abc -cnphpwnd99999@aliyun6435,cntaobaoabc104 -cnphpwnd99999@aliyun6436,cntaobaoabc104666124 -cnphpwnd99999@aliyun6437,cntaobaoabc1058 -cnphpwnd99999@aliyun6438,cntaobaoabc108888 -cnphpwnd99999@aliyun6439,cntaobaoabc109225 -cnphpwnd99999@aliyun6440,cntaobaoabc109488 -cnphpwnd99999@aliyun6441,cntaobaoabc10_10 -cnphpwnd99999@aliyun6442,cntaobaoabc110 -cnphpwnd99999@aliyun6443,cntaobaoabc110013368 -cnphpwnd99999@aliyun6444,cntaobaoabc1101 -cnphpwnd99999@aliyun6445,cntaobaoabc110119 -cnphpwnd99999@aliyun6446,cntaobaoabc1102 -cnphpwnd99999@aliyun6447,cntaobaoabc1104abc -cnphpwnd99999@aliyun6448,cntaobaoabc110abc -cnphpwnd99999@aliyun6449,cntaobaoabc110zhu -cnphpwnd99999@aliyun6450,cntaobaoabc111 -cnphpwnd99999@aliyun6451,cntaobaoabc111000 -cnphpwnd99999@aliyun6452,cntaobaoabc111222333 -cnphpwnd99999@aliyun6453,cntaobaoabc111312 -cnphpwnd99999@aliyun6454,cntaobaoabc111333555 -cnphpwnd99999@aliyun6455,cntaobaoabc111658 -cnphpwnd99999@aliyun6456,cntaobaoabc1117 -cnphpwnd99999@aliyun6457,cntaobaoabc111811 -cnphpwnd99999@aliyun6458,cntaobaoabc111abc -cnphpwnd99999@aliyun6459,cntaobaoabc112233abc -cnphpwnd99999@aliyun6460,cntaobaoabc112234501 -cnphpwnd99999@aliyun6461,cntaobaoabc112288 -cnphpwnd99999@aliyun6462,cntaobaoabc1126843 -cnphpwnd99999@aliyun6463,cntaobaoabc112_2005 -cnphpwnd99999@aliyun6464,cntaobaoabc113006431956 -cnphpwnd99999@aliyun6465,cntaobaoabc113511 -cnphpwnd99999@aliyun6466,cntaobaoabc114410 -cnphpwnd99999@aliyun6467,cntaobaoabc11571 -cnphpwnd99999@aliyun6468,cntaobaoabc116466123 -cnphpwnd99999@aliyun6469,cntaobaoabc116862 -cnphpwnd99999@aliyun6470,cntaobaoabc116_cn2 -cnphpwnd99999@aliyun6471,cntaobaoabc117 -cnphpwnd99999@aliyun6472,cntaobaoabc11722984 -cnphpwnd99999@aliyun6473,cntaobaoabc1178 -cnphpwnd99999@aliyun6474,cntaobaoabc118508 -cnphpwnd99999@aliyun6475,cntaobaoabc11888 -cnphpwnd99999@aliyun6476,cntaobaoabc11899168 -cnphpwnd99999@aliyun6477,cntaobaoabc119 -cnphpwnd99999@aliyun6478,cntaobaoabc1190313 -cnphpwnd99999@aliyun6479,cntaobaoabc1192 -cnphpwnd99999@aliyun6480,cntaobaoabc1192005 -cnphpwnd99999@aliyun6481,cntaobaoabc11938.m -cnphpwnd99999@aliyun6482,cntaobaoabc11lxl -cnphpwnd99999@aliyun6483,cntaobaoabc12 -cnphpwnd99999@aliyun6484,cntaobaoabc1200 -cnphpwnd99999@aliyun6485,cntaobaoabc12011 -cnphpwnd99999@aliyun6486,cntaobaoabc120436022 -cnphpwnd99999@aliyun6487,cntaobaoabc120947 -cnphpwnd99999@aliyun6488,cntaobaoabc12111 -cnphpwnd99999@aliyun6489,cntaobaoabc1212 -cnphpwnd99999@aliyun6490,cntaobaoabc1212123001 -cnphpwnd99999@aliyun6491,cntaobaoabc121212abc -cnphpwnd99999@aliyun6492,cntaobaoabc1215 -cnphpwnd99999@aliyun6493,cntaobaoabc1215_1109 -cnphpwnd99999@aliyun6494,cntaobaoabc1218 -cnphpwnd99999@aliyun6495,cntaobaoabc121ab -cnphpwnd99999@aliyun6496,cntaobaoabc122 -cnphpwnd99999@aliyun6497,cntaobaoabc1225 -cnphpwnd99999@aliyun6498,cntaobaoabc122600 -cnphpwnd99999@aliyun6499,cntaobaoabc1226zxm -cnphpwnd99999@aliyun6500,cntaobaoabc122_2005 -cnphpwnd99999@aliyun6501,cntaobaoabc123 -cnphpwnd99999@aliyun6502,cntaobaoabc1230 -cnphpwnd99999@aliyun6503,cntaobaoabc123101222 -cnphpwnd99999@aliyun6504,cntaobaoabc12311 -cnphpwnd99999@aliyun6505,cntaobaoabc123110 -cnphpwnd99999@aliyun6506,cntaobaoabc123111 -cnphpwnd99999@aliyun6507,cntaobaoabc123116 -cnphpwnd99999@aliyun6508,cntaobaoabc12311881 -cnphpwnd99999@aliyun6509,cntaobaoabc123123123 -cnphpwnd99999@aliyun6510,cntaobaoabc1231235 -cnphpwnd99999@aliyun6511,cntaobaoabc1231236 -cnphpwnd99999@aliyun6512,cntaobaoabc123124 -cnphpwnd99999@aliyun6513,cntaobaoabc123147 -cnphpwnd99999@aliyun6514,cntaobaoabc12315_007 -cnphpwnd99999@aliyun6515,cntaobaoabc1231970 -cnphpwnd99999@aliyun6516,cntaobaoabc123198522 -cnphpwnd99999@aliyun6517,cntaobaoabc1231abc -cnphpwnd99999@aliyun6518,cntaobaoabc12320052005 -cnphpwnd99999@aliyun6519,cntaobaoabc12321 -cnphpwnd99999@aliyun6520,cntaobaoabc1232321 -cnphpwnd99999@aliyun6521,cntaobaoabc123248 -cnphpwnd99999@aliyun6522,cntaobaoabc123264 -cnphpwnd99999@aliyun6523,cntaobaoabc123285969004 -cnphpwnd99999@aliyun6524,cntaobaoabc12330 -cnphpwnd99999@aliyun6525,cntaobaoabc123321 -cnphpwnd99999@aliyun6526,cntaobaoabc12332123 -cnphpwnd99999@aliyun6527,cntaobaoabc1233214 -cnphpwnd99999@aliyun6528,cntaobaoabc12332188 -cnphpwnd99999@aliyun6529,cntaobaoabc1233252 -cnphpwnd99999@aliyun6530,cntaobaoabc123345 -cnphpwnd99999@aliyun6531,cntaobaoabc12336 -cnphpwnd99999@aliyun6532,cntaobaoabc123369 -cnphpwnd99999@aliyun6533,cntaobaoabc123398717 -cnphpwnd99999@aliyun6534,cntaobaoabc1234 -cnphpwnd99999@aliyun6535,cntaobaoabc1234020 -cnphpwnd99999@aliyun6536,cntaobaoabc123412 -cnphpwnd99999@aliyun6537,cntaobaoabc12345 -cnphpwnd99999@aliyun6538,cntaobaoabc123456 -cnphpwnd99999@aliyun6539,cntaobaoabc1234566 -cnphpwnd99999@aliyun6540,cntaobaoabc123456654 -cnphpwnd99999@aliyun6541,cntaobaoabc12345678 -cnphpwnd99999@aliyun6542,cntaobaoabc12345678901 -cnphpwnd99999@aliyun6543,cntaobaoabc12345678903 -cnphpwnd99999@aliyun6544,cntaobaoabc1234567890_007 -cnphpwnd99999@aliyun6545,cntaobaoabc1234567abc88 -cnphpwnd99999@aliyun6546,cntaobaoabc123456ddd -cnphpwnd99999@aliyun6547,cntaobaoabc123456sdf -cnphpwnd99999@aliyun6548,cntaobaoabc12345888 -cnphpwnd99999@aliyun6549,cntaobaoabc12345de -cnphpwnd99999@aliyun6550,cntaobaoabc12345我的天 -cnphpwnd99999@aliyun6551,cntaobaoabc1234860 -cnphpwnd99999@aliyun6552,cntaobaoabc1234are -cnphpwnd99999@aliyun6553,cntaobaoabc12351 -cnphpwnd99999@aliyun6554,cntaobaoabc123520 -cnphpwnd99999@aliyun6555,cntaobaoabc123555 -cnphpwnd99999@aliyun6556,cntaobaoabc1235688 -cnphpwnd99999@aliyun6557,cntaobaoabc123588 -cnphpwnd99999@aliyun6558,cntaobaoabc123614 -cnphpwnd99999@aliyun6559,cntaobaoabc123623638 -cnphpwnd99999@aliyun6560,cntaobaoabc1236425 -cnphpwnd99999@aliyun6561,cntaobaoabc123654789 -cnphpwnd99999@aliyun6562,cntaobaoabc1236548 -cnphpwnd99999@aliyun6563,cntaobaoabc123678abc -cnphpwnd99999@aliyun6564,cntaobaoabc123688 -cnphpwnd99999@aliyun6565,cntaobaoabc123694631 -cnphpwnd99999@aliyun6566,cntaobaoabc1237887855 -cnphpwnd99999@aliyun6567,cntaobaoabc123789456 -cnphpwnd99999@aliyun6568,cntaobaoabc123828521 -cnphpwnd99999@aliyun6569,cntaobaoabc123853229 -cnphpwnd99999@aliyun6570,cntaobaoabc12388001 -cnphpwnd99999@aliyun6571,cntaobaoabc123881 -cnphpwnd99999@aliyun6572,cntaobaoabc123886 -cnphpwnd99999@aliyun6573,cntaobaoabc1238888 -cnphpwnd99999@aliyun6574,cntaobaoabc123890 -cnphpwnd99999@aliyun6575,cntaobaoabc123902 -cnphpwnd99999@aliyun6576,cntaobaoabc123988 -cnphpwnd99999@aliyun6577,cntaobaoabc123999 -cnphpwnd99999@aliyun6578,cntaobaoabc123_123456 -cnphpwnd99999@aliyun6579,cntaobaoabc123_2004 -cnphpwnd99999@aliyun6580,cntaobaoabc123_213 -cnphpwnd99999@aliyun6581,cntaobaoabc123_abc123 -cnphpwnd99999@aliyun6582,cntaobaoabc123_nie -cnphpwnd99999@aliyun6583,cntaobaoabc123_tb -cnphpwnd99999@aliyun6584,cntaobaoabc123_zhu -cnphpwnd99999@aliyun6585,cntaobaoabc123ab -cnphpwnd99999@aliyun6586,cntaobaoabc123abc -cnphpwnd99999@aliyun6587,cntaobaoabc123abc123abc -cnphpwnd99999@aliyun6588,cntaobaoabc123abc123abc123 -cnphpwnd99999@aliyun6589,cntaobaoabc123abc321 -cnphpwnd99999@aliyun6590,cntaobaoabc123abc456 -cnphpwnd99999@aliyun6591,cntaobaoabc123abc45611 -cnphpwnd99999@aliyun6592,cntaobaoabc123abc5 -cnphpwnd99999@aliyun6593,cntaobaoabc123abc789 -cnphpwnd99999@aliyun6594,cntaobaoabc123abx -cnphpwnd99999@aliyun6595,cntaobaoabc123acb -cnphpwnd99999@aliyun6596,cntaobaoabc123aoe -cnphpwnd99999@aliyun6597,cntaobaoabc123asd -cnphpwnd99999@aliyun6598,cntaobaoabc123boy -cnphpwnd99999@aliyun6599,cntaobaoabc123c -cnphpwnd99999@aliyun6600,cntaobaoabc123ccc -cnphpwnd99999@aliyun6601,cntaobaoabc123chen -cnphpwnd99999@aliyun6602,cntaobaoabc123cn -cnphpwnd99999@aliyun6603,cntaobaoabc123def456 -cnphpwnd99999@aliyun6604,cntaobaoabc123e -cnphpwnd99999@aliyun6605,cntaobaoabc123ee -cnphpwnd99999@aliyun6606,cntaobaoabc123ff -cnphpwnd99999@aliyun6607,cntaobaoabc123fgh -cnphpwnd99999@aliyun6608,cntaobaoabc123go -cnphpwnd99999@aliyun6609,cntaobaoabc123gwu -cnphpwnd99999@aliyun6610,cntaobaoabc123hjg -cnphpwnd99999@aliyun6611,cntaobaoabc123hope -cnphpwnd99999@aliyun6612,cntaobaoabc123hyf -cnphpwnd99999@aliyun6613,cntaobaoabc123jie88 -cnphpwnd99999@aliyun6614,cntaobaoabc123love -cnphpwnd99999@aliyun6615,cntaobaoabc123lxj -cnphpwnd99999@aliyun6616,cntaobaoabc123ma -cnphpwnd99999@aliyun6617,cntaobaoabc123may -cnphpwnd99999@aliyun6618,cntaobaoabc123mmm -cnphpwnd99999@aliyun6619,cntaobaoabc123qaz -cnphpwnd99999@aliyun6620,cntaobaoabc123syz -cnphpwnd99999@aliyun6621,cntaobaoabc123thw -cnphpwnd99999@aliyun6622,cntaobaoabc123tnt -cnphpwnd99999@aliyun6623,cntaobaoabc123wh -cnphpwnd99999@aliyun6624,cntaobaoabc123wm -cnphpwnd99999@aliyun6625,cntaobaoabc123x -cnphpwnd99999@aliyun6626,cntaobaoabc123xx_2006 -cnphpwnd99999@aliyun6627,cntaobaoabc123xyz -cnphpwnd99999@aliyun6628,cntaobaoabc123yan -cnphpwnd99999@aliyun6629,cntaobaoabc123yingxian -cnphpwnd99999@aliyun6630,cntaobaoabc123zangyan -cnphpwnd99999@aliyun6631,cntaobaoabc123zyf -cnphpwnd99999@aliyun6632,cntaobaoabc123俊明 -cnphpwnd99999@aliyun6633,cntaobaoabc123哈达 -cnphpwnd99999@aliyun6634,cntaobaoabc123å®è´ -cnphpwnd99999@aliyun6635,cntaobaoabc123家乡 -cnphpwnd99999@aliyun6636,cntaobaoabc123我爱你 -cnphpwnd99999@aliyun6637,cntaobaoabc123爱爱 -cnphpwnd99999@aliyun6638,cntaobaoabc123白云_ -cnphpwnd99999@aliyun6639,cntaobaoabc124567 -cnphpwnd99999@aliyun6640,cntaobaoabc124910 -cnphpwnd99999@aliyun6641,cntaobaoabc125512807 -cnphpwnd99999@aliyun6642,cntaobaoabc125977117 -cnphpwnd99999@aliyun6643,cntaobaoabc126163 -cnphpwnd99999@aliyun6644,cntaobaoabc12618706 -cnphpwnd99999@aliyun6645,cntaobaoabc126621 -cnphpwnd99999@aliyun6646,cntaobaoabc1288_2005 -cnphpwnd99999@aliyun6647,cntaobaoabc129 -cnphpwnd99999@aliyun6648,cntaobaoabc129238 -cnphpwnd99999@aliyun6649,cntaobaoabc129520 -cnphpwnd99999@aliyun6650,cntaobaoabc1295268273 -cnphpwnd99999@aliyun6651,cntaobaoabc12abc -cnphpwnd99999@aliyun6652,cntaobaoabc12f288 -cnphpwnd99999@aliyun6653,cntaobaoabc13004654 -cnphpwnd99999@aliyun6654,cntaobaoabc130198 -cnphpwnd99999@aliyun6655,cntaobaoabc131049 -cnphpwnd99999@aliyun6656,cntaobaoabc131138 -cnphpwnd99999@aliyun6657,cntaobaoabc13113900414 -cnphpwnd99999@aliyun6658,cntaobaoabc13115853959 -cnphpwnd99999@aliyun6659,cntaobaoabc1313221 -cnphpwnd99999@aliyun6660,cntaobaoabc1314025 -cnphpwnd99999@aliyun6661,cntaobaoabc1314_2006 -cnphpwnd99999@aliyun6662,cntaobaoabc131720 -cnphpwnd99999@aliyun6663,cntaobaoabc13173375577 -cnphpwnd99999@aliyun6664,cntaobaoabc13207877281 -cnphpwnd99999@aliyun6665,cntaobaoabc1321778611 -cnphpwnd99999@aliyun6666,cntaobaoabc1324 -cnphpwnd99999@aliyun6667,cntaobaoabc13244 -cnphpwnd99999@aliyun6668,cntaobaoabc13353611788 -cnphpwnd99999@aliyun6669,cntaobaoabc133661 -cnphpwnd99999@aliyun6670,cntaobaoabc1336617779 -cnphpwnd99999@aliyun6671,cntaobaoabc13450343369 -cnphpwnd99999@aliyun6672,cntaobaoabc1350 -cnphpwnd99999@aliyun6673,cntaobaoabc135135135 -cnphpwnd99999@aliyun6674,cntaobaoabc135399 -cnphpwnd99999@aliyun6675,cntaobaoabc13566699841 -cnphpwnd99999@aliyun6676,cntaobaoabc1357 -cnphpwnd99999@aliyun6677,cntaobaoabc13579 -cnphpwnd99999@aliyun6678,cntaobaoabc1359 -cnphpwnd99999@aliyun6679,cntaobaoabc13600175891 -cnphpwnd99999@aliyun6680,cntaobaoabc1361 -cnphpwnd99999@aliyun6681,cntaobaoabc136136136 -cnphpwnd99999@aliyun6682,cntaobaoabc13623353869 -cnphpwnd99999@aliyun6683,cntaobaoabc13625021721 -cnphpwnd99999@aliyun6684,cntaobaoabc136535 -cnphpwnd99999@aliyun6685,cntaobaoabc13751027428 -cnphpwnd99999@aliyun6686,cntaobaoabc13801 -cnphpwnd99999@aliyun6687,cntaobaoabc13802496481 -cnphpwnd99999@aliyun6688,cntaobaoabc13807858638 -cnphpwnd99999@aliyun6689,cntaobaoabc138139 -cnphpwnd99999@aliyun6690,cntaobaoabc138498 -cnphpwnd99999@aliyun6691,cntaobaoabc138499 -cnphpwnd99999@aliyun6692,cntaobaoabc1386285500 -cnphpwnd99999@aliyun6693,cntaobaoabc1394 -cnphpwnd99999@aliyun6694,cntaobaoabc1395240054 -cnphpwnd99999@aliyun6695,cntaobaoabc13968787 -cnphpwnd99999@aliyun6696,cntaobaoabc13987654321 -cnphpwnd99999@aliyun6697,cntaobaoabc139a -cnphpwnd99999@aliyun6698,cntaobaoabc142 -cnphpwnd99999@aliyun6699,cntaobaoabc142422 -cnphpwnd99999@aliyun6700,cntaobaoabc142737 -cnphpwnd99999@aliyun6701,cntaobaoabc1444433 -cnphpwnd99999@aliyun6702,cntaobaoabc14444444 -cnphpwnd99999@aliyun6703,cntaobaoabc145 -cnphpwnd99999@aliyun6704,cntaobaoabc14594632 -cnphpwnd99999@aliyun6705,cntaobaoabc14700 -cnphpwnd99999@aliyun6706,cntaobaoabc147258 -cnphpwnd99999@aliyun6707,cntaobaoabc1472581 -cnphpwnd99999@aliyun6708,cntaobaoabc147258159 -cnphpwnd99999@aliyun6709,cntaobaoabc147741 -cnphpwnd99999@aliyun6710,cntaobaoabc148 -cnphpwnd99999@aliyun6711,cntaobaoabc1481253 -cnphpwnd99999@aliyun6712,cntaobaoabc149212342 -cnphpwnd99999@aliyun6713,cntaobaoabc15 -cnphpwnd99999@aliyun6714,cntaobaoabc151378908 -cnphpwnd99999@aliyun6715,cntaobaoabc151514 -cnphpwnd99999@aliyun6716,cntaobaoabc152018000 -cnphpwnd99999@aliyun6717,cntaobaoabc152160 -cnphpwnd99999@aliyun6718,cntaobaoabc153601 -cnphpwnd99999@aliyun6719,cntaobaoabc153917049 -cnphpwnd99999@aliyun6720,cntaobaoabc155041731 -cnphpwnd99999@aliyun6721,cntaobaoabc157527 -cnphpwnd99999@aliyun6722,cntaobaoabc158149079 -cnphpwnd99999@aliyun6723,cntaobaoabc15848400 -cnphpwnd99999@aliyun6724,cntaobaoabc15932 -cnphpwnd99999@aliyun6725,cntaobaoabc159357 -cnphpwnd99999@aliyun6726,cntaobaoabc159357159357 -cnphpwnd99999@aliyun6727,cntaobaoabc159357abc -cnphpwnd99999@aliyun6728,cntaobaoabc1594823 -cnphpwnd99999@aliyun6729,cntaobaoabc159487 -cnphpwnd99999@aliyun6730,cntaobaoabc159951 -cnphpwnd99999@aliyun6731,cntaobaoabc160142 -cnphpwnd99999@aliyun6732,cntaobaoabc160358845 -cnphpwnd99999@aliyun6733,cntaobaoabc16100168 -cnphpwnd99999@aliyun6734,cntaobaoabc162 -cnphpwnd99999@aliyun6735,cntaobaoabc162245 -cnphpwnd99999@aliyun6736,cntaobaoabc163 -cnphpwnd99999@aliyun6737,cntaobaoabc163com -cnphpwnd99999@aliyun6738,cntaobaoabc1648 -cnphpwnd99999@aliyun6739,cntaobaoabc167 -cnphpwnd99999@aliyun6740,cntaobaoabc1685678 -cnphpwnd99999@aliyun6741,cntaobaoabc1688 -cnphpwnd99999@aliyun6742,cntaobaoabc168861abc -cnphpwnd99999@aliyun6743,cntaobaoabc1688752 -cnphpwnd99999@aliyun6744,cntaobaoabc168922 -cnphpwnd99999@aliyun6745,cntaobaoabc16897866 -cnphpwnd99999@aliyun6746,cntaobaoabc16899006 -cnphpwnd99999@aliyun6747,cntaobaoabc168_52077 -cnphpwnd99999@aliyun6748,cntaobaoabc168abc2000 -cnphpwnd99999@aliyun6749,cntaobaoabc168ll -cnphpwnd99999@aliyun6750,cntaobaoabc16_2005 -cnphpwnd99999@aliyun6751,cntaobaoabc16wjx -cnphpwnd99999@aliyun6752,cntaobaoabc17 -cnphpwnd99999@aliyun6753,cntaobaoabc1700 -cnphpwnd99999@aliyun6754,cntaobaoabc1717118 -cnphpwnd99999@aliyun6755,cntaobaoabc172 -cnphpwnd99999@aliyun6756,cntaobaoabc172968 -cnphpwnd99999@aliyun6757,cntaobaoabc174625781 -cnphpwnd99999@aliyun6758,cntaobaoabc1756 -cnphpwnd99999@aliyun6759,cntaobaoabc175753 -cnphpwnd99999@aliyun6760,cntaobaoabc175783700 -cnphpwnd99999@aliyun6761,cntaobaoabc177 -cnphpwnd99999@aliyun6762,cntaobaoabc1789 -cnphpwnd99999@aliyun6763,cntaobaoabc17896 -cnphpwnd99999@aliyun6764,cntaobaoabc17919 -cnphpwnd99999@aliyun6765,cntaobaoabc179794491 -cnphpwnd99999@aliyun6766,cntaobaoabc17_ -cnphpwnd99999@aliyun6767,cntaobaoabc18 -cnphpwnd99999@aliyun6768,cntaobaoabc180023 -cnphpwnd99999@aliyun6769,cntaobaoabc180095 -cnphpwnd99999@aliyun6770,cntaobaoabc181438425 -cnphpwnd99999@aliyun6771,cntaobaoabc18146a -cnphpwnd99999@aliyun6772,cntaobaoabc1819 -cnphpwnd99999@aliyun6773,cntaobaoabc18240545 -cnphpwnd99999@aliyun6774,cntaobaoabc183 -cnphpwnd99999@aliyun6775,cntaobaoabc18380 -cnphpwnd99999@aliyun6776,cntaobaoabc186000 -cnphpwnd99999@aliyun6777,cntaobaoabc1861 -cnphpwnd99999@aliyun6778,cntaobaoabc187 -cnphpwnd99999@aliyun6779,cntaobaoabc18718a -cnphpwnd99999@aliyun6780,cntaobaoabc18729922689013256 -cnphpwnd99999@aliyun6781,cntaobaoabc187c -cnphpwnd99999@aliyun6782,cntaobaoabc188169034 -cnphpwnd99999@aliyun6783,cntaobaoabc18881 -cnphpwnd99999@aliyun6784,cntaobaoabc18892123 -cnphpwnd99999@aliyun6785,cntaobaoabc188942216335 -cnphpwnd99999@aliyun6786,cntaobaoabc1891 -cnphpwnd99999@aliyun6787,cntaobaoabc189163 -cnphpwnd99999@aliyun6788,cntaobaoabc18958 -cnphpwnd99999@aliyun6789,cntaobaoabc18k -cnphpwnd99999@aliyun6790,cntaobaoabc190 -cnphpwnd99999@aliyun6791,cntaobaoabc190287064 -cnphpwnd99999@aliyun6792,cntaobaoabc1906 -cnphpwnd99999@aliyun6793,cntaobaoabc1932 -cnphpwnd99999@aliyun6794,cntaobaoabc1935 -cnphpwnd99999@aliyun6795,cntaobaoabc19351 -cnphpwnd99999@aliyun6796,cntaobaoabc1943 -cnphpwnd99999@aliyun6797,cntaobaoabc1949 -cnphpwnd99999@aliyun6798,cntaobaoabc1951_2002 -cnphpwnd99999@aliyun6799,cntaobaoabc195442 -cnphpwnd99999@aliyun6800,cntaobaoabc1955 -cnphpwnd99999@aliyun6801,cntaobaoabc195503 -cnphpwnd99999@aliyun6802,cntaobaoabc19551 -cnphpwnd99999@aliyun6803,cntaobaoabc195710 -cnphpwnd99999@aliyun6804,cntaobaoabc1957917 -cnphpwnd99999@aliyun6805,cntaobaoabc1961 -cnphpwnd99999@aliyun6806,cntaobaoabc1963424001 -cnphpwnd99999@aliyun6807,cntaobaoabc19641026 -cnphpwnd99999@aliyun6808,cntaobaoabc19660427 -cnphpwnd99999@aliyun6809,cntaobaoabc19661023 -cnphpwnd99999@aliyun6810,cntaobaoabc196688 -cnphpwnd99999@aliyun6811,cntaobaoabc1969 -cnphpwnd99999@aliyun6812,cntaobaoabc196957121 -cnphpwnd99999@aliyun6813,cntaobaoabc1969a -cnphpwnd99999@aliyun6814,cntaobaoabc1969abc -cnphpwnd99999@aliyun6815,cntaobaoabc1969abc8 -cnphpwnd99999@aliyun6816,cntaobaoabc1970 -cnphpwnd99999@aliyun6817,cntaobaoabc19710801 -cnphpwnd99999@aliyun6818,cntaobaoabc19721031 -cnphpwnd99999@aliyun6819,cntaobaoabc1973 -cnphpwnd99999@aliyun6820,cntaobaoabc19741221 -cnphpwnd99999@aliyun6821,cntaobaoabc19751979 -cnphpwnd99999@aliyun6822,cntaobaoabc19761161976 -cnphpwnd99999@aliyun6823,cntaobaoabc1977 -cnphpwnd99999@aliyun6824,cntaobaoabc1978222 -cnphpwnd99999@aliyun6825,cntaobaoabc197988 -cnphpwnd99999@aliyun6826,cntaobaoabc1980 -cnphpwnd99999@aliyun6827,cntaobaoabc19801050 -cnphpwnd99999@aliyun6828,cntaobaoabc198051988 -cnphpwnd99999@aliyun6829,cntaobaoabc1980756 -cnphpwnd99999@aliyun6830,cntaobaoabc198085 -cnphpwnd99999@aliyun6831,cntaobaoabc1980abc -cnphpwnd99999@aliyun6832,cntaobaoabc19810302 -cnphpwnd99999@aliyun6833,cntaobaoabc1981129 -cnphpwnd99999@aliyun6834,cntaobaoabc198181 -cnphpwnd99999@aliyun6835,cntaobaoabc198188 -cnphpwnd99999@aliyun6836,cntaobaoabc19821101 -cnphpwnd99999@aliyun6837,cntaobaoabc1982115 -cnphpwnd99999@aliyun6838,cntaobaoabc198234 -cnphpwnd99999@aliyun6839,cntaobaoabc198272 -cnphpwnd99999@aliyun6840,cntaobaoabc19830523 -cnphpwnd99999@aliyun6841,cntaobaoabc19830621 -cnphpwnd99999@aliyun6842,cntaobaoabc198364 -cnphpwnd99999@aliyun6843,cntaobaoabc1983718 -cnphpwnd99999@aliyun6844,cntaobaoabc1983926 -cnphpwnd99999@aliyun6845,cntaobaoabc19840311 -cnphpwnd99999@aliyun6846,cntaobaoabc19840604 -cnphpwnd99999@aliyun6847,cntaobaoabc19840818 -cnphpwnd99999@aliyun6848,cntaobaoabc1984211 -cnphpwnd99999@aliyun6849,cntaobaoabc19843150 -cnphpwnd99999@aliyun6850,cntaobaoabc19848911 -cnphpwnd99999@aliyun6851,cntaobaoabc19850112 -cnphpwnd99999@aliyun6852,cntaobaoabc19850124 -cnphpwnd99999@aliyun6853,cntaobaoabc19851 -cnphpwnd99999@aliyun6854,cntaobaoabc19851106 -cnphpwnd99999@aliyun6855,cntaobaoabc19851226 -cnphpwnd99999@aliyun6856,cntaobaoabc198518 -cnphpwnd99999@aliyun6857,cntaobaoabc198583 -cnphpwnd99999@aliyun6858,cntaobaoabc19860320 -cnphpwnd99999@aliyun6859,cntaobaoabc1986215 -cnphpwnd99999@aliyun6860,cntaobaoabc198668 -cnphpwnd99999@aliyun6861,cntaobaoabc1986711 -cnphpwnd99999@aliyun6862,cntaobaoabc1988055 -cnphpwnd99999@aliyun6863,cntaobaoabc19891110 -cnphpwnd99999@aliyun6864,cntaobaoabc1991111 -cnphpwnd99999@aliyun6865,cntaobaoabc1992 -cnphpwnd99999@aliyun6866,cntaobaoabc19970701 -cnphpwnd99999@aliyun6867,cntaobaoabc199806 -cnphpwnd99999@aliyun6868,cntaobaoabc1999 -cnphpwnd99999@aliyun6869,cntaobaoabc1def1 -cnphpwnd99999@aliyun6870,cntaobaoabc1zyb -cnphpwnd99999@aliyun6871,cntaobaoabc2000 -cnphpwnd99999@aliyun6872,cntaobaoabc2000tj -cnphpwnd99999@aliyun6873,cntaobaoabc2000xy -cnphpwnd99999@aliyun6874,cntaobaoabc2002 -cnphpwnd99999@aliyun6875,cntaobaoabc200200 -cnphpwnd99999@aliyun6876,cntaobaoabc2003 -cnphpwnd99999@aliyun6877,cntaobaoabc200406 -cnphpwnd99999@aliyun6878,cntaobaoabc20041222 -cnphpwnd99999@aliyun6879,cntaobaoabc2004520 -cnphpwnd99999@aliyun6880,cntaobaoabc200456 -cnphpwnd99999@aliyun6881,cntaobaoabc200488 -cnphpwnd99999@aliyun6882,cntaobaoabc2004k -cnphpwnd99999@aliyun6883,cntaobaoabc2004net10 -cnphpwnd99999@aliyun6884,cntaobaoabc2005121 -cnphpwnd99999@aliyun6885,cntaobaoabc20051218 -cnphpwnd99999@aliyun6886,cntaobaoabc2005123 -cnphpwnd99999@aliyun6887,cntaobaoabc20051235 -cnphpwnd99999@aliyun6888,cntaobaoabc200520041 -cnphpwnd99999@aliyun6889,cntaobaoabc200555 -cnphpwnd99999@aliyun6890,cntaobaoabc20056 -cnphpwnd99999@aliyun6891,cntaobaoabc2005_2005_2005 -cnphpwnd99999@aliyun6892,cntaobaoabc20060315 -cnphpwnd99999@aliyun6893,cntaobaoabc20060330 -cnphpwnd99999@aliyun6894,cntaobaoabc20060426 -cnphpwnd99999@aliyun6895,cntaobaoabc2006118 -cnphpwnd99999@aliyun6896,cntaobaoabc2006222 -cnphpwnd99999@aliyun6897,cntaobaoabc2006313 -cnphpwnd99999@aliyun6898,cntaobaoabc2006_abc -cnphpwnd99999@aliyun6899,cntaobaoabc2006tp -cnphpwnd99999@aliyun6900,cntaobaoabc20080101 -cnphpwnd99999@aliyun6901,cntaobaoabc20081 -cnphpwnd99999@aliyun6902,cntaobaoabc20086 -cnphpwnd99999@aliyun6903,cntaobaoabc200888 -cnphpwnd99999@aliyun6904,cntaobaoabc200897782 -cnphpwnd99999@aliyun6905,cntaobaoabc2008abc2008 -cnphpwnd99999@aliyun6906,cntaobaoabc201 -cnphpwnd99999@aliyun6907,cntaobaoabc201707 -cnphpwnd99999@aliyun6908,cntaobaoabc201817 -cnphpwnd99999@aliyun6909,cntaobaoabc20186 -cnphpwnd99999@aliyun6910,cntaobaoabc202401 -cnphpwnd99999@aliyun6911,cntaobaoabc20282008 -cnphpwnd99999@aliyun6912,cntaobaoabc20605_2006 -cnphpwnd99999@aliyun6913,cntaobaoabc2062874 -cnphpwnd99999@aliyun6914,cntaobaoabc2071721 -cnphpwnd99999@aliyun6915,cntaobaoabc2080 -cnphpwnd99999@aliyun6916,cntaobaoabc2090874 -cnphpwnd99999@aliyun6917,cntaobaoabc21.-.03 -cnphpwnd99999@aliyun6918,cntaobaoabc2108330 -cnphpwnd99999@aliyun6919,cntaobaoabc211 -cnphpwnd99999@aliyun6920,cntaobaoabc21121 -cnphpwnd99999@aliyun6921,cntaobaoabc2117 -cnphpwnd99999@aliyun6922,cntaobaoabc212 -cnphpwnd99999@aliyun6923,cntaobaoabc212121 -cnphpwnd99999@aliyun6924,cntaobaoabc2123695 -cnphpwnd99999@aliyun6925,cntaobaoabc21240288888 -cnphpwnd99999@aliyun6926,cntaobaoabc2127 -cnphpwnd99999@aliyun6927,cntaobaoabc213 -cnphpwnd99999@aliyun6928,cntaobaoabc213256213355 -cnphpwnd99999@aliyun6929,cntaobaoabc2137821 -cnphpwnd99999@aliyun6930,cntaobaoabc214081982 -cnphpwnd99999@aliyun6931,cntaobaoabc214486 -cnphpwnd99999@aliyun6932,cntaobaoabc2153 -cnphpwnd99999@aliyun6933,cntaobaoabc215500 -cnphpwnd99999@aliyun6934,cntaobaoabc215503775 -cnphpwnd99999@aliyun6935,cntaobaoabc2155086 -cnphpwnd99999@aliyun6936,cntaobaoabc216 -cnphpwnd99999@aliyun6937,cntaobaoabc217 -cnphpwnd99999@aliyun6938,cntaobaoabc2182343 -cnphpwnd99999@aliyun6939,cntaobaoabc2188 -cnphpwnd99999@aliyun6940,cntaobaoabc21999 -cnphpwnd99999@aliyun6941,cntaobaoabc21abc -cnphpwnd99999@aliyun6942,cntaobaoabc21love12 -cnphpwnd99999@aliyun6943,cntaobaoabc220 -cnphpwnd99999@aliyun6944,cntaobaoabc2200259 -cnphpwnd99999@aliyun6945,cntaobaoabc2202174 -cnphpwnd99999@aliyun6946,cntaobaoabc2210210 -cnphpwnd99999@aliyun6947,cntaobaoabc221410 -cnphpwnd99999@aliyun6948,cntaobaoabc221414 -cnphpwnd99999@aliyun6949,cntaobaoabc2218122 -cnphpwnd99999@aliyun6950,cntaobaoabc222 -cnphpwnd99999@aliyun6951,cntaobaoabc2222221 -cnphpwnd99999@aliyun6952,cntaobaoabc2223677 -cnphpwnd99999@aliyun6953,cntaobaoabc222wwj -cnphpwnd99999@aliyun6954,cntaobaoabc223719 -cnphpwnd99999@aliyun6955,cntaobaoabc224 -cnphpwnd99999@aliyun6956,cntaobaoabc224466 -cnphpwnd99999@aliyun6957,cntaobaoabc2244668 -cnphpwnd99999@aliyun6958,cntaobaoabc2251 -cnphpwnd99999@aliyun6959,cntaobaoabc225115 -cnphpwnd99999@aliyun6960,cntaobaoabc2253402 -cnphpwnd99999@aliyun6961,cntaobaoabc2256 -cnphpwnd99999@aliyun6962,cntaobaoabc2259 -cnphpwnd99999@aliyun6963,cntaobaoabc2261928 -cnphpwnd99999@aliyun6964,cntaobaoabc2262456 -cnphpwnd99999@aliyun6965,cntaobaoabc22828362 -cnphpwnd99999@aliyun6966,cntaobaoabc2286386 -cnphpwnd99999@aliyun6967,cntaobaoabc2287822 -cnphpwnd99999@aliyun6968,cntaobaoabc2288 -cnphpwnd99999@aliyun6969,cntaobaoabc2288492 -cnphpwnd99999@aliyun6970,cntaobaoabc229138704 -cnphpwnd99999@aliyun6971,cntaobaoabc229528622 -cnphpwnd99999@aliyun6972,cntaobaoabc22960743 -cnphpwnd99999@aliyun6973,cntaobaoabc2300907 -cnphpwnd99999@aliyun6974,cntaobaoabc2312326 -cnphpwnd99999@aliyun6975,cntaobaoabc2317559 -cnphpwnd99999@aliyun6976,cntaobaoabc2317627 -cnphpwnd99999@aliyun6977,cntaobaoabc23221320 -cnphpwnd99999@aliyun6978,cntaobaoabc2330771 -cnphpwnd99999@aliyun6979,cntaobaoabc2341 -cnphpwnd99999@aliyun6980,cntaobaoabc2345 -cnphpwnd99999@aliyun6981,cntaobaoabc23451 -cnphpwnd99999@aliyun6982,cntaobaoabc23456666 -cnphpwnd99999@aliyun6983,cntaobaoabc2347399 -cnphpwnd99999@aliyun6984,cntaobaoabc23513263 -cnphpwnd99999@aliyun6985,cntaobaoabc236 -cnphpwnd99999@aliyun6986,cntaobaoabc2364231 -cnphpwnd99999@aliyun6987,cntaobaoabc237001066 -cnphpwnd99999@aliyun6988,cntaobaoabc2378690 -cnphpwnd99999@aliyun6989,cntaobaoabc2388 -cnphpwnd99999@aliyun6990,cntaobaoabc2395 -cnphpwnd99999@aliyun6991,cntaobaoabc2396 -cnphpwnd99999@aliyun6992,cntaobaoabc23w -cnphpwnd99999@aliyun6993,cntaobaoabc240240 -cnphpwnd99999@aliyun6994,cntaobaoabc240322 -cnphpwnd99999@aliyun6995,cntaobaoabc2422973 -cnphpwnd99999@aliyun6996,cntaobaoabc2424582 -cnphpwnd99999@aliyun6997,cntaobaoabc2432299 -cnphpwnd99999@aliyun6998,cntaobaoabc2461 -cnphpwnd99999@aliyun6999,cntaobaoabc24680 -cnphpwnd99999@aliyun7000,cntaobaoabc246800 -cnphpwnd99999@aliyun7001,cntaobaoabc246801 -cnphpwnd99999@aliyun7002,cntaobaoabc246wx3245 -cnphpwnd99999@aliyun7003,cntaobaoabc248 -cnphpwnd99999@aliyun7004,cntaobaoabc249093698 -cnphpwnd99999@aliyun7005,cntaobaoabc250548444 -cnphpwnd99999@aliyun7006,cntaobaoabc250584307 -cnphpwnd99999@aliyun7007,cntaobaoabc2511 -cnphpwnd99999@aliyun7008,cntaobaoabc2521 -cnphpwnd99999@aliyun7009,cntaobaoabc25221462 -cnphpwnd99999@aliyun7010,cntaobaoabc2525255 -cnphpwnd99999@aliyun7011,cntaobaoabc25253 -cnphpwnd99999@aliyun7012,cntaobaoabc25257788 -cnphpwnd99999@aliyun7013,cntaobaoabc253139152 -cnphpwnd99999@aliyun7014,cntaobaoabc253803 -cnphpwnd99999@aliyun7015,cntaobaoabc2550229 -cnphpwnd99999@aliyun7016,cntaobaoabc25567882 -cnphpwnd99999@aliyun7017,cntaobaoabc258369 -cnphpwnd99999@aliyun7018,cntaobaoabc260643675 -cnphpwnd99999@aliyun7019,cntaobaoabc26234 -cnphpwnd99999@aliyun7020,cntaobaoabc2630976 -cnphpwnd99999@aliyun7021,cntaobaoabc2633141 -cnphpwnd99999@aliyun7022,cntaobaoabc263822 -cnphpwnd99999@aliyun7023,cntaobaoabc2651574 -cnphpwnd99999@aliyun7024,cntaobaoabc2652 -cnphpwnd99999@aliyun7025,cntaobaoabc26600 -cnphpwnd99999@aliyun7026,cntaobaoabc268 -cnphpwnd99999@aliyun7027,cntaobaoabc2680884 -cnphpwnd99999@aliyun7028,cntaobaoabc2688 -cnphpwnd99999@aliyun7029,cntaobaoabc2699979 -cnphpwnd99999@aliyun7030,cntaobaoabc27 -cnphpwnd99999@aliyun7031,cntaobaoabc27168 -cnphpwnd99999@aliyun7032,cntaobaoabc272229077 -cnphpwnd99999@aliyun7033,cntaobaoabc274222709 -cnphpwnd99999@aliyun7034,cntaobaoabc278142006 -cnphpwnd99999@aliyun7035,cntaobaoabc2788101 -cnphpwnd99999@aliyun7036,cntaobaoabc28 -cnphpwnd99999@aliyun7037,cntaobaoabc28108015 -cnphpwnd99999@aliyun7038,cntaobaoabc2811 -cnphpwnd99999@aliyun7039,cntaobaoabc28134 -cnphpwnd99999@aliyun7040,cntaobaoabc28145606 -cnphpwnd99999@aliyun7041,cntaobaoabc28173 -cnphpwnd99999@aliyun7042,cntaobaoabc2831478 -cnphpwnd99999@aliyun7043,cntaobaoabc2832244 -cnphpwnd99999@aliyun7044,cntaobaoabc283445413 -cnphpwnd99999@aliyun7045,cntaobaoabc28439989 -cnphpwnd99999@aliyun7046,cntaobaoabc28469201 -cnphpwnd99999@aliyun7047,cntaobaoabc2848820 -cnphpwnd99999@aliyun7048,cntaobaoabc2857281 -cnphpwnd99999@aliyun7049,cntaobaoabc287691109 -cnphpwnd99999@aliyun7050,cntaobaoabc28785508 -cnphpwnd99999@aliyun7051,cntaobaoabc28821847 -cnphpwnd99999@aliyun7052,cntaobaoabc288288 -cnphpwnd99999@aliyun7053,cntaobaoabc2910 -cnphpwnd99999@aliyun7054,cntaobaoabc294292530 -cnphpwnd99999@aliyun7055,cntaobaoabc295785109 -cnphpwnd99999@aliyun7056,cntaobaoabc296636244 -cnphpwnd99999@aliyun7057,cntaobaoabc297102732 -cnphpwnd99999@aliyun7058,cntaobaoabc299 -cnphpwnd99999@aliyun7059,cntaobaoabc2dz -cnphpwnd99999@aliyun7060,cntaobaoabc3 -cnphpwnd99999@aliyun7061,cntaobaoabc301124310 -cnphpwnd99999@aliyun7062,cntaobaoabc3052 -cnphpwnd99999@aliyun7063,cntaobaoabc305275726 -cnphpwnd99999@aliyun7064,cntaobaoabc3057957 -cnphpwnd99999@aliyun7065,cntaobaoabc306356390 -cnphpwnd99999@aliyun7066,cntaobaoabc307317967 -cnphpwnd99999@aliyun7067,cntaobaoabc307545280 -cnphpwnd99999@aliyun7068,cntaobaoabc308648279 -cnphpwnd99999@aliyun7069,cntaobaoabc30978437 -cnphpwnd99999@aliyun7070,cntaobaoabc31 -cnphpwnd99999@aliyun7071,cntaobaoabc311 -cnphpwnd99999@aliyun7072,cntaobaoabc312117349 -cnphpwnd99999@aliyun7073,cntaobaoabc3122775 -cnphpwnd99999@aliyun7074,cntaobaoabc312468553 -cnphpwnd99999@aliyun7075,cntaobaoabc314 -cnphpwnd99999@aliyun7076,cntaobaoabc314268 -cnphpwnd99999@aliyun7077,cntaobaoabc314408026 -cnphpwnd99999@aliyun7078,cntaobaoabc316 -cnphpwnd99999@aliyun7079,cntaobaoabc316249718 -cnphpwnd99999@aliyun7080,cntaobaoabc3163 -cnphpwnd99999@aliyun7081,cntaobaoabc316964624 -cnphpwnd99999@aliyun7082,cntaobaoabc317 -cnphpwnd99999@aliyun7083,cntaobaoabc31798 -cnphpwnd99999@aliyun7084,cntaobaoabc318020 -cnphpwnd99999@aliyun7085,cntaobaoabc32 -cnphpwnd99999@aliyun7086,cntaobaoabc320623 -cnphpwnd99999@aliyun7087,cntaobaoabc3211 -cnphpwnd99999@aliyun7088,cntaobaoabc321456789 -cnphpwnd99999@aliyun7089,cntaobaoabc321654 -cnphpwnd99999@aliyun7090,cntaobaoabc3219 -cnphpwnd99999@aliyun7091,cntaobaoabc321abc321 -cnphpwnd99999@aliyun7092,cntaobaoabc321cba -cnphpwnd99999@aliyun7093,cntaobaoabc3234 -cnphpwnd99999@aliyun7094,cntaobaoabc325 -cnphpwnd99999@aliyun7095,cntaobaoabc325147 -cnphpwnd99999@aliyun7096,cntaobaoabc325229 -cnphpwnd99999@aliyun7097,cntaobaoabc326 -cnphpwnd99999@aliyun7098,cntaobaoabc327 -cnphpwnd99999@aliyun7099,cntaobaoabc327964029 -cnphpwnd99999@aliyun7100,cntaobaoabc330250597 -cnphpwnd99999@aliyun7101,cntaobaoabc330403 -cnphpwnd99999@aliyun7102,cntaobaoabc331 -cnphpwnd99999@aliyun7103,cntaobaoabc331122200 -cnphpwnd99999@aliyun7104,cntaobaoabc331211 -cnphpwnd99999@aliyun7105,cntaobaoabc3312110 -cnphpwnd99999@aliyun7106,cntaobaoabc3312114 -cnphpwnd99999@aliyun7107,cntaobaoabc3312116 -cnphpwnd99999@aliyun7108,cntaobaoabc3312119 -cnphpwnd99999@aliyun7109,cntaobaoabc3312419 -cnphpwnd99999@aliyun7110,cntaobaoabc331289160 -cnphpwnd99999@aliyun7111,cntaobaoabc331331 -cnphpwnd99999@aliyun7112,cntaobaoabc3316 -cnphpwnd99999@aliyun7113,cntaobaoabc33191591 -cnphpwnd99999@aliyun7114,cntaobaoabc3322 -cnphpwnd99999@aliyun7115,cntaobaoabc332400 -cnphpwnd99999@aliyun7116,cntaobaoabc332708 -cnphpwnd99999@aliyun7117,cntaobaoabc3329554 -cnphpwnd99999@aliyun7118,cntaobaoabc333 -cnphpwnd99999@aliyun7119,cntaobaoabc3344520 -cnphpwnd99999@aliyun7120,cntaobaoabc336011 -cnphpwnd99999@aliyun7121,cntaobaoabc3369633 -cnphpwnd99999@aliyun7122,cntaobaoabc337759 -cnphpwnd99999@aliyun7123,cntaobaoabc3381894 -cnphpwnd99999@aliyun7124,cntaobaoabc3394365 -cnphpwnd99999@aliyun7125,cntaobaoabc3396386 -cnphpwnd99999@aliyun7126,cntaobaoabc339baby -cnphpwnd99999@aliyun7127,cntaobaoabc33qi -cnphpwnd99999@aliyun7128,cntaobaoabc341982829 -cnphpwnd99999@aliyun7129,cntaobaoabc3439 -cnphpwnd99999@aliyun7130,cntaobaoabc345678 -cnphpwnd99999@aliyun7131,cntaobaoabc34588 -cnphpwnd99999@aliyun7132,cntaobaoabc3466325 -cnphpwnd99999@aliyun7133,cntaobaoabc34831 -cnphpwnd99999@aliyun7134,cntaobaoabc349449441 -cnphpwnd99999@aliyun7135,cntaobaoabc350102 -cnphpwnd99999@aliyun7136,cntaobaoabc3515303 -cnphpwnd99999@aliyun7137,cntaobaoabc3517abc2000 -cnphpwnd99999@aliyun7138,cntaobaoabc352257346 -cnphpwnd99999@aliyun7139,cntaobaoabc3526 -cnphpwnd99999@aliyun7140,cntaobaoabc3543377 -cnphpwnd99999@aliyun7141,cntaobaoabc35601696 -cnphpwnd99999@aliyun7142,cntaobaoabc35781 -cnphpwnd99999@aliyun7143,cntaobaoabc3587 -cnphpwnd99999@aliyun7144,cntaobaoabc359 -cnphpwnd99999@aliyun7145,cntaobaoabc359422894 -cnphpwnd99999@aliyun7146,cntaobaoabc36180987 -cnphpwnd99999@aliyun7147,cntaobaoabc3620835 -cnphpwnd99999@aliyun7148,cntaobaoabc362100 -cnphpwnd99999@aliyun7149,cntaobaoabc362602916 -cnphpwnd99999@aliyun7150,cntaobaoabc363158715 -cnphpwnd99999@aliyun7151,cntaobaoabc36366636 -cnphpwnd99999@aliyun7152,cntaobaoabc364470424 -cnphpwnd99999@aliyun7153,cntaobaoabc365_0 -cnphpwnd99999@aliyun7154,cntaobaoabc3666 -cnphpwnd99999@aliyun7155,cntaobaoabc366888 -cnphpwnd99999@aliyun7156,cntaobaoabc36791836 -cnphpwnd99999@aliyun7157,cntaobaoabc368 -cnphpwnd99999@aliyun7158,cntaobaoabc36836868 -cnphpwnd99999@aliyun7159,cntaobaoabc3685 -cnphpwnd99999@aliyun7160,cntaobaoabc369678776 -cnphpwnd99999@aliyun7161,cntaobaoabc369_2005 -cnphpwnd99999@aliyun7162,cntaobaoabc369sh -cnphpwnd99999@aliyun7163,cntaobaoabc370601756 -cnphpwnd99999@aliyun7164,cntaobaoabc3721 -cnphpwnd99999@aliyun7165,cntaobaoabc37214832 -cnphpwnd99999@aliyun7166,cntaobaoabc3721abc -cnphpwnd99999@aliyun7167,cntaobaoabc372713352 -cnphpwnd99999@aliyun7168,cntaobaoabc373148645 -cnphpwnd99999@aliyun7169,cntaobaoabc3737122 -cnphpwnd99999@aliyun7170,cntaobaoabc3758588 -cnphpwnd99999@aliyun7171,cntaobaoabc37670 -cnphpwnd99999@aliyun7172,cntaobaoabc37678 -cnphpwnd99999@aliyun7173,cntaobaoabc378279829 -cnphpwnd99999@aliyun7174,cntaobaoabc37885321314 -cnphpwnd99999@aliyun7175,cntaobaoabc378888 -cnphpwnd99999@aliyun7176,cntaobaoabc37900 -cnphpwnd99999@aliyun7177,cntaobaoabc3791124 -cnphpwnd99999@aliyun7178,cntaobaoabc380624292 -cnphpwnd99999@aliyun7179,cntaobaoabc381031030 -cnphpwnd99999@aliyun7180,cntaobaoabc3837_2005 -cnphpwnd99999@aliyun7181,cntaobaoabc3838438 -cnphpwnd99999@aliyun7182,cntaobaoabc3867 -cnphpwnd99999@aliyun7183,cntaobaoabc3872315 -cnphpwnd99999@aliyun7184,cntaobaoabc39 -cnphpwnd99999@aliyun7185,cntaobaoabc3935 -cnphpwnd99999@aliyun7186,cntaobaoabc39406618 -cnphpwnd99999@aliyun7187,cntaobaoabc395584856 -cnphpwnd99999@aliyun7188,cntaobaoabc396463518 -cnphpwnd99999@aliyun7189,cntaobaoabc39722978 -cnphpwnd99999@aliyun7190,cntaobaoabc398698 -cnphpwnd99999@aliyun7191,cntaobaoabc3xyz -cnphpwnd99999@aliyun7192,cntaobaoabc4017408 -cnphpwnd99999@aliyun7193,cntaobaoabc40182003 -cnphpwnd99999@aliyun7194,cntaobaoabc404705962 -cnphpwnd99999@aliyun7195,cntaobaoabc405207761 -cnphpwnd99999@aliyun7196,cntaobaoabc40784 -cnphpwnd99999@aliyun7197,cntaobaoabc410105 -cnphpwnd99999@aliyun7198,cntaobaoabc411657591 -cnphpwnd99999@aliyun7199,cntaobaoabc415100 -cnphpwnd99999@aliyun7200,cntaobaoabc4155 -cnphpwnd99999@aliyun7201,cntaobaoabc416063244 -cnphpwnd99999@aliyun7202,cntaobaoabc418 -cnphpwnd99999@aliyun7203,cntaobaoabc419 -cnphpwnd99999@aliyun7204,cntaobaoabc4198967 -cnphpwnd99999@aliyun7205,cntaobaoabc41abc41 -cnphpwnd99999@aliyun7206,cntaobaoabc421000 -cnphpwnd99999@aliyun7207,cntaobaoabc4210591 -cnphpwnd99999@aliyun7208,cntaobaoabc42123 -cnphpwnd99999@aliyun7209,cntaobaoabc422 -cnphpwnd99999@aliyun7210,cntaobaoabc422659571 -cnphpwnd99999@aliyun7211,cntaobaoabc422930626 -cnphpwnd99999@aliyun7212,cntaobaoabc423 -cnphpwnd99999@aliyun7213,cntaobaoabc4236928 -cnphpwnd99999@aliyun7214,cntaobaoabc424520 -cnphpwnd99999@aliyun7215,cntaobaoabc4252394 -cnphpwnd99999@aliyun7216,cntaobaoabc4259058 -cnphpwnd99999@aliyun7217,cntaobaoabc4311956 -cnphpwnd99999@aliyun7218,cntaobaoabc4321 -cnphpwnd99999@aliyun7219,cntaobaoabc43217 -cnphpwnd99999@aliyun7220,cntaobaoabc4327052 -cnphpwnd99999@aliyun7221,cntaobaoabc43577452 -cnphpwnd99999@aliyun7222,cntaobaoabc43621 -cnphpwnd99999@aliyun7223,cntaobaoabc4368626 -cnphpwnd99999@aliyun7224,cntaobaoabc4387 -cnphpwnd99999@aliyun7225,cntaobaoabc441689356 -cnphpwnd99999@aliyun7226,cntaobaoabc4439239 -cnphpwnd99999@aliyun7227,cntaobaoabc444 -cnphpwnd99999@aliyun7228,cntaobaoabc4444 -cnphpwnd99999@aliyun7229,cntaobaoabc444488 -cnphpwnd99999@aliyun7230,cntaobaoabc445 -cnphpwnd99999@aliyun7231,cntaobaoabc4454123 -cnphpwnd99999@aliyun7232,cntaobaoabc4455 -cnphpwnd99999@aliyun7233,cntaobaoabc446927370 -cnphpwnd99999@aliyun7234,cntaobaoabc447540324 -cnphpwnd99999@aliyun7235,cntaobaoabc4480 -cnphpwnd99999@aliyun7236,cntaobaoabc4485158175489 -cnphpwnd99999@aliyun7237,cntaobaoabc4501897 -cnphpwnd99999@aliyun7238,cntaobaoabc451096697 -cnphpwnd99999@aliyun7239,cntaobaoabc4512776413 -cnphpwnd99999@aliyun7240,cntaobaoabc45184 -cnphpwnd99999@aliyun7241,cntaobaoabc453 -cnphpwnd99999@aliyun7242,cntaobaoabc453109975 -cnphpwnd99999@aliyun7243,cntaobaoabc453ww -cnphpwnd99999@aliyun7244,cntaobaoabc4545 -cnphpwnd99999@aliyun7245,cntaobaoabc455371506 -cnphpwnd99999@aliyun7246,cntaobaoabc4562 -cnphpwnd99999@aliyun7247,cntaobaoabc456761211 -cnphpwnd99999@aliyun7248,cntaobaoabc456789123 -cnphpwnd99999@aliyun7249,cntaobaoabc4568 -cnphpwnd99999@aliyun7250,cntaobaoabc456abc1 -cnphpwnd99999@aliyun7251,cntaobaoabc456abc789 -cnphpwnd99999@aliyun7252,cntaobaoabc456efg345 -cnphpwnd99999@aliyun7253,cntaobaoabc456ni -cnphpwnd99999@aliyun7254,cntaobaoabc457 -cnphpwnd99999@aliyun7255,cntaobaoabc4580307 -cnphpwnd99999@aliyun7256,cntaobaoabc4589 -cnphpwnd99999@aliyun7257,cntaobaoabc460411601 -cnphpwnd99999@aliyun7258,cntaobaoabc460685633 -cnphpwnd99999@aliyun7259,cntaobaoabc4610 -cnphpwnd99999@aliyun7260,cntaobaoabc461206 -cnphpwnd99999@aliyun7261,cntaobaoabc46536477 -cnphpwnd99999@aliyun7262,cntaobaoabc4654 -cnphpwnd99999@aliyun7263,cntaobaoabc468 -cnphpwnd99999@aliyun7264,cntaobaoabc4700 -cnphpwnd99999@aliyun7265,cntaobaoabc471219 -cnphpwnd99999@aliyun7266,cntaobaoabc4714562 -cnphpwnd99999@aliyun7267,cntaobaoabc472125 -cnphpwnd99999@aliyun7268,cntaobaoabc472384807 -cnphpwnd99999@aliyun7269,cntaobaoabc47409 -cnphpwnd99999@aliyun7270,cntaobaoabc474147 -cnphpwnd99999@aliyun7271,cntaobaoabc476356833 -cnphpwnd99999@aliyun7272,cntaobaoabc4766221 -cnphpwnd99999@aliyun7273,cntaobaoabc4782 -cnphpwnd99999@aliyun7274,cntaobaoabc48 -cnphpwnd99999@aliyun7275,cntaobaoabc4832 -cnphpwnd99999@aliyun7276,cntaobaoabc489529862 -cnphpwnd99999@aliyun7277,cntaobaoabc493346 -cnphpwnd99999@aliyun7278,cntaobaoabc4949 -cnphpwnd99999@aliyun7279,cntaobaoabc4wd -cnphpwnd99999@aliyun7280,cntaobaoabc500 -cnphpwnd99999@aliyun7281,cntaobaoabc5000 -cnphpwnd99999@aliyun7282,cntaobaoabc5002 -cnphpwnd99999@aliyun7283,cntaobaoabc502 -cnphpwnd99999@aliyun7284,cntaobaoabc506434487 -cnphpwnd99999@aliyun7285,cntaobaoabc5069 -cnphpwnd99999@aliyun7286,cntaobaoabc508 -cnphpwnd99999@aliyun7287,cntaobaoabc50953 -cnphpwnd99999@aliyun7288,cntaobaoabc5095776 -cnphpwnd99999@aliyun7289,cntaobaoabc510108 -cnphpwnd99999@aliyun7290,cntaobaoabc51097081 -cnphpwnd99999@aliyun7291,cntaobaoabc51188 -cnphpwnd99999@aliyun7292,cntaobaoabc5133 -cnphpwnd99999@aliyun7293,cntaobaoabc5151 -cnphpwnd99999@aliyun7294,cntaobaoabc5157 -cnphpwnd99999@aliyun7295,cntaobaoabc515768617 -cnphpwnd99999@aliyun7296,cntaobaoabc516 -cnphpwnd99999@aliyun7297,cntaobaoabc517523 -cnphpwnd99999@aliyun7298,cntaobaoabc518 -cnphpwnd99999@aliyun7299,cntaobaoabc5193065 -cnphpwnd99999@aliyun7300,cntaobaoabc5194599 -cnphpwnd99999@aliyun7301,cntaobaoabc519668 -cnphpwnd99999@aliyun7302,cntaobaoabc51bca -cnphpwnd99999@aliyun7303,cntaobaoabc520 -cnphpwnd99999@aliyun7304,cntaobaoabc5200 -cnphpwnd99999@aliyun7305,cntaobaoabc5201000abc -cnphpwnd99999@aliyun7306,cntaobaoabc52011 -cnphpwnd99999@aliyun7307,cntaobaoabc5201314 -cnphpwnd99999@aliyun7308,cntaobaoabc520168 -cnphpwnd99999@aliyun7309,cntaobaoabc520518 -cnphpwnd99999@aliyun7310,cntaobaoabc520584 -cnphpwnd99999@aliyun7311,cntaobaoabc520600 -cnphpwnd99999@aliyun7312,cntaobaoabc520618 -cnphpwnd99999@aliyun7313,cntaobaoabc520_tb -cnphpwnd99999@aliyun7314,cntaobaoabc520abc -cnphpwnd99999@aliyun7315,cntaobaoabc520bei -cnphpwnd99999@aliyun7316,cntaobaoabc520jjj -cnphpwnd99999@aliyun7317,cntaobaoabc520pb -cnphpwnd99999@aliyun7318,cntaobaoabc520qq -cnphpwnd99999@aliyun7319,cntaobaoabc520贺磊 -cnphpwnd99999@aliyun7320,cntaobaoabc5212 -cnphpwnd99999@aliyun7321,cntaobaoabc521202 -cnphpwnd99999@aliyun7322,cntaobaoabc521365 -cnphpwnd99999@aliyun7323,cntaobaoabc5215097 -cnphpwnd99999@aliyun7324,cntaobaoabc521521 -cnphpwnd99999@aliyun7325,cntaobaoabc5217890 -cnphpwnd99999@aliyun7326,cntaobaoabc523 -cnphpwnd99999@aliyun7327,cntaobaoabc5234286 -cnphpwnd99999@aliyun7328,cntaobaoabc5238285 -cnphpwnd99999@aliyun7329,cntaobaoabc525126256 -cnphpwnd99999@aliyun7330,cntaobaoabc52527924 -cnphpwnd99999@aliyun7331,cntaobaoabc5255329 -cnphpwnd99999@aliyun7332,cntaobaoabc5257 -cnphpwnd99999@aliyun7333,cntaobaoabc5258465 -cnphpwnd99999@aliyun7334,cntaobaoabc525s -cnphpwnd99999@aliyun7335,cntaobaoabc52710 -cnphpwnd99999@aliyun7336,cntaobaoabc5280 -cnphpwnd99999@aliyun7337,cntaobaoabc52801418 -cnphpwnd99999@aliyun7338,cntaobaoabc5281314 -cnphpwnd99999@aliyun7339,cntaobaoabc529895986 -cnphpwnd99999@aliyun7340,cntaobaoabc52abc -cnphpwnd99999@aliyun7341,cntaobaoabc53 -cnphpwnd99999@aliyun7342,cntaobaoabc5305319 -cnphpwnd99999@aliyun7343,cntaobaoabc53112311 -cnphpwnd99999@aliyun7344,cntaobaoabc53184 -cnphpwnd99999@aliyun7345,cntaobaoabc531938585 -cnphpwnd99999@aliyun7346,cntaobaoabc5327025 -cnphpwnd99999@aliyun7347,cntaobaoabc53343850 -cnphpwnd99999@aliyun7348,cntaobaoabc5372687 -cnphpwnd99999@aliyun7349,cntaobaoabc54288 -cnphpwnd99999@aliyun7350,cntaobaoabc544148314 -cnphpwnd99999@aliyun7351,cntaobaoabc546200 -cnphpwnd99999@aliyun7352,cntaobaoabc5500 -cnphpwnd99999@aliyun7353,cntaobaoabc55211 -cnphpwnd99999@aliyun7354,cntaobaoabc55380585 -cnphpwnd99999@aliyun7355,cntaobaoabc55388 -cnphpwnd99999@aliyun7356,cntaobaoabc5550111 -cnphpwnd99999@aliyun7357,cntaobaoabc555110 -cnphpwnd99999@aliyun7358,cntaobaoabc5552 -cnphpwnd99999@aliyun7359,cntaobaoabc55546555 -cnphpwnd99999@aliyun7360,cntaobaoabc55555 -cnphpwnd99999@aliyun7361,cntaobaoabc555777 -cnphpwnd99999@aliyun7362,cntaobaoabc55596 -cnphpwnd99999@aliyun7363,cntaobaoabc5563 -cnphpwnd99999@aliyun7364,cntaobaoabc5566 -cnphpwnd99999@aliyun7365,cntaobaoabc5566a -cnphpwnd99999@aliyun7366,cntaobaoabc5568441 -cnphpwnd99999@aliyun7367,cntaobaoabc5584570 -cnphpwnd99999@aliyun7368,cntaobaoabc55855 -cnphpwnd99999@aliyun7369,cntaobaoabc5590031 -cnphpwnd99999@aliyun7370,cntaobaoabc5590816 -cnphpwnd99999@aliyun7371,cntaobaoabc5599465 -cnphpwnd99999@aliyun7372,cntaobaoabc560 -cnphpwnd99999@aliyun7373,cntaobaoabc5600951 -cnphpwnd99999@aliyun7374,cntaobaoabc5621588 -cnphpwnd99999@aliyun7375,cntaobaoabc5623335 -cnphpwnd99999@aliyun7376,cntaobaoabc56265061 -cnphpwnd99999@aliyun7377,cntaobaoabc5628208 -cnphpwnd99999@aliyun7378,cntaobaoabc562825793 -cnphpwnd99999@aliyun7379,cntaobaoabc5630656 -cnphpwnd99999@aliyun7380,cntaobaoabc563238049 -cnphpwnd99999@aliyun7381,cntaobaoabc5653991 -cnphpwnd99999@aliyun7382,cntaobaoabc5655505 -cnphpwnd99999@aliyun7383,cntaobaoabc5663230 -cnphpwnd99999@aliyun7384,cntaobaoabc5672331 -cnphpwnd99999@aliyun7385,cntaobaoabc56729839 -cnphpwnd99999@aliyun7386,cntaobaoabc56773785 -cnphpwnd99999@aliyun7387,cntaobaoabc5678988 -cnphpwnd99999@aliyun7388,cntaobaoabc567899 -cnphpwnd99999@aliyun7389,cntaobaoabc56835867 -cnphpwnd99999@aliyun7390,cntaobaoabc568636842 -cnphpwnd99999@aliyun7391,cntaobaoabc5698828 -cnphpwnd99999@aliyun7392,cntaobaoabc5732311 -cnphpwnd99999@aliyun7393,cntaobaoabc5732562 -cnphpwnd99999@aliyun7394,cntaobaoabc5736 -cnphpwnd99999@aliyun7395,cntaobaoabc57369 -cnphpwnd99999@aliyun7396,cntaobaoabc58021172 -cnphpwnd99999@aliyun7397,cntaobaoabc5809511 -cnphpwnd99999@aliyun7398,cntaobaoabc5811196 -cnphpwnd99999@aliyun7399,cntaobaoabc58188 -cnphpwnd99999@aliyun7400,cntaobaoabc5823 -cnphpwnd99999@aliyun7401,cntaobaoabc5827 -cnphpwnd99999@aliyun7402,cntaobaoabc5857 -cnphpwnd99999@aliyun7403,cntaobaoabc5859566 -cnphpwnd99999@aliyun7404,cntaobaoabc58616 -cnphpwnd99999@aliyun7405,cntaobaoabc5866321 -cnphpwnd99999@aliyun7406,cntaobaoabc58823 -cnphpwnd99999@aliyun7407,cntaobaoabc58851234 -cnphpwnd99999@aliyun7408,cntaobaoabc590 -cnphpwnd99999@aliyun7409,cntaobaoabc5903295 -cnphpwnd99999@aliyun7410,cntaobaoabc590813 -cnphpwnd99999@aliyun7411,cntaobaoabc592317752 -cnphpwnd99999@aliyun7412,cntaobaoabc59239 -cnphpwnd99999@aliyun7413,cntaobaoabc5928 -cnphpwnd99999@aliyun7414,cntaobaoabc5929817 -cnphpwnd99999@aliyun7415,cntaobaoabc5946 -cnphpwnd99999@aliyun7416,cntaobaoabc595 -cnphpwnd99999@aliyun7417,cntaobaoabc5958 -cnphpwnd99999@aliyun7418,cntaobaoabc597856 -cnphpwnd99999@aliyun7419,cntaobaoabc598 -cnphpwnd99999@aliyun7420,cntaobaoabc5992169 -cnphpwnd99999@aliyun7421,cntaobaoabc6 -cnphpwnd99999@aliyun7422,cntaobaoabc600 -cnphpwnd99999@aliyun7423,cntaobaoabc6012 -cnphpwnd99999@aliyun7424,cntaobaoabc6017793 -cnphpwnd99999@aliyun7425,cntaobaoabc60491053 -cnphpwnd99999@aliyun7426,cntaobaoabc605992600 -cnphpwnd99999@aliyun7427,cntaobaoabc6060a -cnphpwnd99999@aliyun7428,cntaobaoabc606833 -cnphpwnd99999@aliyun7429,cntaobaoabc6120182 -cnphpwnd99999@aliyun7430,cntaobaoabc6121 -cnphpwnd99999@aliyun7431,cntaobaoabc612354 -cnphpwnd99999@aliyun7432,cntaobaoabc612888 -cnphpwnd99999@aliyun7433,cntaobaoabc6135 -cnphpwnd99999@aliyun7434,cntaobaoabc6158 -cnphpwnd99999@aliyun7435,cntaobaoabc617712621 -cnphpwnd99999@aliyun7436,cntaobaoabc618 -cnphpwnd99999@aliyun7437,cntaobaoabc6181 -cnphpwnd99999@aliyun7438,cntaobaoabc6184187187 -cnphpwnd99999@aliyun7439,cntaobaoabc619 -cnphpwnd99999@aliyun7440,cntaobaoabc620 -cnphpwnd99999@aliyun7441,cntaobaoabc620444 -cnphpwnd99999@aliyun7442,cntaobaoabc620xyz -cnphpwnd99999@aliyun7443,cntaobaoabc621107 -cnphpwnd99999@aliyun7444,cntaobaoabc622 -cnphpwnd99999@aliyun7445,cntaobaoabc6222305 -cnphpwnd99999@aliyun7446,cntaobaoabc6224 -cnphpwnd99999@aliyun7447,cntaobaoabc6226 -cnphpwnd99999@aliyun7448,cntaobaoabc625 -cnphpwnd99999@aliyun7449,cntaobaoabc6260582 -cnphpwnd99999@aliyun7450,cntaobaoabc62673188 -cnphpwnd99999@aliyun7451,cntaobaoabc62929467 -cnphpwnd99999@aliyun7452,cntaobaoabc6309 -cnphpwnd99999@aliyun7453,cntaobaoabc6325781 -cnphpwnd99999@aliyun7454,cntaobaoabc6333 -cnphpwnd99999@aliyun7455,cntaobaoabc635241abc -cnphpwnd99999@aliyun7456,cntaobaoabc636 -cnphpwnd99999@aliyun7457,cntaobaoabc63644638 -cnphpwnd99999@aliyun7458,cntaobaoabc6366 -cnphpwnd99999@aliyun7459,cntaobaoabc6368068 -cnphpwnd99999@aliyun7460,cntaobaoabc63718 -cnphpwnd99999@aliyun7461,cntaobaoabc6372006 -cnphpwnd99999@aliyun7462,cntaobaoabc6377702 -cnphpwnd99999@aliyun7463,cntaobaoabc637d -cnphpwnd99999@aliyun7464,cntaobaoabc6396581 -cnphpwnd99999@aliyun7465,cntaobaoabc6398297 -cnphpwnd99999@aliyun7466,cntaobaoabc6405 -cnphpwnd99999@aliyun7467,cntaobaoabc64123 -cnphpwnd99999@aliyun7468,cntaobaoabc642371 -cnphpwnd99999@aliyun7469,cntaobaoabc642543 -cnphpwnd99999@aliyun7470,cntaobaoabc64303236 -cnphpwnd99999@aliyun7471,cntaobaoabc643111 -cnphpwnd99999@aliyun7472,cntaobaoabc6439 -cnphpwnd99999@aliyun7473,cntaobaoabc6456 -cnphpwnd99999@aliyun7474,cntaobaoabc6481599 -cnphpwnd99999@aliyun7475,cntaobaoabc64824109 -cnphpwnd99999@aliyun7476,cntaobaoabc648288 -cnphpwnd99999@aliyun7477,cntaobaoabc6495 -cnphpwnd99999@aliyun7478,cntaobaoabc649946146 -cnphpwnd99999@aliyun7479,cntaobaoabc650813 -cnphpwnd99999@aliyun7480,cntaobaoabc65203778 -cnphpwnd99999@aliyun7481,cntaobaoabc6524286 -cnphpwnd99999@aliyun7482,cntaobaoabc6531607 -cnphpwnd99999@aliyun7483,cntaobaoabc6537333 -cnphpwnd99999@aliyun7484,cntaobaoabc6540 -cnphpwnd99999@aliyun7485,cntaobaoabc6543 -cnphpwnd99999@aliyun7486,cntaobaoabc6543213 -cnphpwnd99999@aliyun7487,cntaobaoabc65483426123 -cnphpwnd99999@aliyun7488,cntaobaoabc65506515 -cnphpwnd99999@aliyun7489,cntaobaoabc65717198 -cnphpwnd99999@aliyun7490,cntaobaoabc6587982 -cnphpwnd99999@aliyun7491,cntaobaoabc659997653 -cnphpwnd99999@aliyun7492,cntaobaoabc65ch -cnphpwnd99999@aliyun7493,cntaobaoabc660255 -cnphpwnd99999@aliyun7494,cntaobaoabc6623097 -cnphpwnd99999@aliyun7495,cntaobaoabc663 -cnphpwnd99999@aliyun7496,cntaobaoabc663427 -cnphpwnd99999@aliyun7497,cntaobaoabc66463580 -cnphpwnd99999@aliyun7498,cntaobaoabc6648838 -cnphpwnd99999@aliyun7499,cntaobaoabc66518 -cnphpwnd99999@aliyun7500,cntaobaoabc66542 -cnphpwnd99999@aliyun7501,cntaobaoabc665566 -cnphpwnd99999@aliyun7502,cntaobaoabc666 -cnphpwnd99999@aliyun7503,cntaobaoabc666521 -cnphpwnd99999@aliyun7504,cntaobaoabc666688 -cnphpwnd99999@aliyun7505,cntaobaoabc66688 -cnphpwnd99999@aliyun7506,cntaobaoabc66699 -cnphpwnd99999@aliyun7507,cntaobaoabc666bj -cnphpwnd99999@aliyun7508,cntaobaoabc666zp -cnphpwnd99999@aliyun7509,cntaobaoabc6672748 -cnphpwnd99999@aliyun7510,cntaobaoabc6674249 -cnphpwnd99999@aliyun7511,cntaobaoabc667788 -cnphpwnd99999@aliyun7512,cntaobaoabc668666 -cnphpwnd99999@aliyun7513,cntaobaoabc6688 -cnphpwnd99999@aliyun7514,cntaobaoabc6688-5 -cnphpwnd99999@aliyun7515,cntaobaoabc669558 -cnphpwnd99999@aliyun7516,cntaobaoabc66_ -cnphpwnd99999@aliyun7517,cntaobaoabc66efg -cnphpwnd99999@aliyun7518,cntaobaoabc6712917 -cnphpwnd99999@aliyun7519,cntaobaoabc6750 -cnphpwnd99999@aliyun7520,cntaobaoabc675365634 -cnphpwnd99999@aliyun7521,cntaobaoabc677 -cnphpwnd99999@aliyun7522,cntaobaoabc6789 -cnphpwnd99999@aliyun7523,cntaobaoabc6789045 -cnphpwnd99999@aliyun7524,cntaobaoabc6791731 -cnphpwnd99999@aliyun7525,cntaobaoabc67jerry -cnphpwnd99999@aliyun7526,cntaobaoabc680 -cnphpwnd99999@aliyun7527,cntaobaoabc6800798 -cnphpwnd99999@aliyun7528,cntaobaoabc6808 -cnphpwnd99999@aliyun7529,cntaobaoabc6815268 -cnphpwnd99999@aliyun7530,cntaobaoabc6828_cn -cnphpwnd99999@aliyun7531,cntaobaoabc6829111 -cnphpwnd99999@aliyun7532,cntaobaoabc6861410 -cnphpwnd99999@aliyun7533,cntaobaoabc68888 -cnphpwnd99999@aliyun7534,cntaobaoabc689121 -cnphpwnd99999@aliyun7535,cntaobaoabc6894634 -cnphpwnd99999@aliyun7536,cntaobaoabc6938622 -cnphpwnd99999@aliyun7537,cntaobaoabc6959 -cnphpwnd99999@aliyun7538,cntaobaoabc6969996 -cnphpwnd99999@aliyun7539,cntaobaoabc6982216 -cnphpwnd99999@aliyun7540,cntaobaoabc698411 -cnphpwnd99999@aliyun7541,cntaobaoabc6988707 -cnphpwnd99999@aliyun7542,cntaobaoabc70082000 -cnphpwnd99999@aliyun7543,cntaobaoabc7009 -cnphpwnd99999@aliyun7544,cntaobaoabc700909 -cnphpwnd99999@aliyun7545,cntaobaoabc702 -cnphpwnd99999@aliyun7546,cntaobaoabc7030507 -cnphpwnd99999@aliyun7547,cntaobaoabc7068930 -cnphpwnd99999@aliyun7548,cntaobaoabc7078 -cnphpwnd99999@aliyun7549,cntaobaoabc708290 -cnphpwnd99999@aliyun7550,cntaobaoabc7086 -cnphpwnd99999@aliyun7551,cntaobaoabc71007 -cnphpwnd99999@aliyun7552,cntaobaoabc710823 -cnphpwnd99999@aliyun7553,cntaobaoabc7142387 -cnphpwnd99999@aliyun7554,cntaobaoabc720 -cnphpwnd99999@aliyun7555,cntaobaoabc720122 -cnphpwnd99999@aliyun7556,cntaobaoabc7206659 -cnphpwnd99999@aliyun7557,cntaobaoabc720920 -cnphpwnd99999@aliyun7558,cntaobaoabc72171000 -cnphpwnd99999@aliyun7559,cntaobaoabc7233 -cnphpwnd99999@aliyun7560,cntaobaoabc7266291 -cnphpwnd99999@aliyun7561,cntaobaoabc7294 -cnphpwnd99999@aliyun7562,cntaobaoabc731109 -cnphpwnd99999@aliyun7563,cntaobaoabc731731 -cnphpwnd99999@aliyun7564,cntaobaoabc731899 -cnphpwnd99999@aliyun7565,cntaobaoabc73354210 -cnphpwnd99999@aliyun7566,cntaobaoabc7338 -cnphpwnd99999@aliyun7567,cntaobaoabc737 -cnphpwnd99999@aliyun7568,cntaobaoabc7372722 -cnphpwnd99999@aliyun7569,cntaobaoabc7377 -cnphpwnd99999@aliyun7570,cntaobaoabc740411 -cnphpwnd99999@aliyun7571,cntaobaoabc7407 -cnphpwnd99999@aliyun7572,cntaobaoabc741030 -cnphpwnd99999@aliyun7573,cntaobaoabc7411 -cnphpwnd99999@aliyun7574,cntaobaoabc7420076 -cnphpwnd99999@aliyun7575,cntaobaoabc74328 -cnphpwnd99999@aliyun7576,cntaobaoabc7474174 -cnphpwnd99999@aliyun7577,cntaobaoabc74744747 -cnphpwnd99999@aliyun7578,cntaobaoabc7483432 -cnphpwnd99999@aliyun7579,cntaobaoabc749129 -cnphpwnd99999@aliyun7580,cntaobaoabc7499 -cnphpwnd99999@aliyun7581,cntaobaoabc751023 -cnphpwnd99999@aliyun7582,cntaobaoabc751216 -cnphpwnd99999@aliyun7583,cntaobaoabc751416061 -cnphpwnd99999@aliyun7584,cntaobaoabc75440959 -cnphpwnd99999@aliyun7585,cntaobaoabc755 -cnphpwnd99999@aliyun7586,cntaobaoabc7550604123 -cnphpwnd99999@aliyun7587,cntaobaoabc7579642 -cnphpwnd99999@aliyun7588,cntaobaoabc7586932 -cnphpwnd99999@aliyun7589,cntaobaoabc75998080 -cnphpwnd99999@aliyun7590,cntaobaoabc75def -cnphpwnd99999@aliyun7591,cntaobaoabc760120 -cnphpwnd99999@aliyun7592,cntaobaoabc7617372 -cnphpwnd99999@aliyun7593,cntaobaoabc7617736200 -cnphpwnd99999@aliyun7594,cntaobaoabc7619 -cnphpwnd99999@aliyun7595,cntaobaoabc7651771 -cnphpwnd99999@aliyun7596,cntaobaoabc7679662 -cnphpwnd99999@aliyun7597,cntaobaoabc771008 -cnphpwnd99999@aliyun7598,cntaobaoabc7711048 -cnphpwnd99999@aliyun7599,cntaobaoabc7722168 -cnphpwnd99999@aliyun7600,cntaobaoabc7738464 -cnphpwnd99999@aliyun7601,cntaobaoabc77415 -cnphpwnd99999@aliyun7602,cntaobaoabc775200 -cnphpwnd99999@aliyun7603,cntaobaoabc7758532_yoyo -cnphpwnd99999@aliyun7604,cntaobaoabc7774777 -cnphpwnd99999@aliyun7605,cntaobaoabc777559 -cnphpwnd99999@aliyun7606,cntaobaoabc77770 -cnphpwnd99999@aliyun7607,cntaobaoabc777999 -cnphpwnd99999@aliyun7608,cntaobaoabc777xx -cnphpwnd99999@aliyun7609,cntaobaoabc778899 -cnphpwnd99999@aliyun7610,cntaobaoabc78099495 -cnphpwnd99999@aliyun7611,cntaobaoabc7810130 -cnphpwnd99999@aliyun7612,cntaobaoabc78123 -cnphpwnd99999@aliyun7613,cntaobaoabc78218 -cnphpwnd99999@aliyun7614,cntaobaoabc7849101 -cnphpwnd99999@aliyun7615,cntaobaoabc7878 -cnphpwnd99999@aliyun7616,cntaobaoabc7879 -cnphpwnd99999@aliyun7617,cntaobaoabc7890 -cnphpwnd99999@aliyun7618,cntaobaoabc789000 -cnphpwnd99999@aliyun7619,cntaobaoabc78911 -cnphpwnd99999@aliyun7620,cntaobaoabc789188 -cnphpwnd99999@aliyun7621,cntaobaoabc7892 -cnphpwnd99999@aliyun7622,cntaobaoabc7892925 -cnphpwnd99999@aliyun7623,cntaobaoabc789516 -cnphpwnd99999@aliyun7624,cntaobaoabc789789 -cnphpwnd99999@aliyun7625,cntaobaoabc789920 -cnphpwnd99999@aliyun7626,cntaobaoabc78999 -cnphpwnd99999@aliyun7627,cntaobaoabc789de456 -cnphpwnd99999@aliyun7628,cntaobaoabc790225 -cnphpwnd99999@aliyun7629,cntaobaoabc7908 -cnphpwnd99999@aliyun7630,cntaobaoabc79155 -cnphpwnd99999@aliyun7631,cntaobaoabc79238042 -cnphpwnd99999@aliyun7632,cntaobaoabc795000 -cnphpwnd99999@aliyun7633,cntaobaoabc79619 -cnphpwnd99999@aliyun7634,cntaobaoabc7968182 -cnphpwnd99999@aliyun7635,cntaobaoabc7971 -cnphpwnd99999@aliyun7636,cntaobaoabc797260 -cnphpwnd99999@aliyun7637,cntaobaoabc79864048 -cnphpwnd99999@aliyun7638,cntaobaoabc799700 -cnphpwnd99999@aliyun7639,cntaobaoabc8008 -cnphpwnd99999@aliyun7640,cntaobaoabc8010159 -cnphpwnd99999@aliyun7641,cntaobaoabc8018 -cnphpwnd99999@aliyun7642,cntaobaoabc8019 -cnphpwnd99999@aliyun7643,cntaobaoabc802 -cnphpwnd99999@aliyun7644,cntaobaoabc8022 -cnphpwnd99999@aliyun7645,cntaobaoabc804804 -cnphpwnd99999@aliyun7646,cntaobaoabc806 -cnphpwnd99999@aliyun7647,cntaobaoabc8075 -cnphpwnd99999@aliyun7648,cntaobaoabc8081699 -cnphpwnd99999@aliyun7649,cntaobaoabc8082311 -cnphpwnd99999@aliyun7650,cntaobaoabc8085 -cnphpwnd99999@aliyun7651,cntaobaoabc8088 -cnphpwnd99999@aliyun7652,cntaobaoabc80984 -cnphpwnd99999@aliyun7653,cntaobaoabc81 -cnphpwnd99999@aliyun7654,cntaobaoabc8103 -cnphpwnd99999@aliyun7655,cntaobaoabc811102 -cnphpwnd99999@aliyun7656,cntaobaoabc811129 -cnphpwnd99999@aliyun7657,cntaobaoabc81167 -cnphpwnd99999@aliyun7658,cntaobaoabc81223419 -cnphpwnd99999@aliyun7659,cntaobaoabc8127112 -cnphpwnd99999@aliyun7660,cntaobaoabc817 -cnphpwnd99999@aliyun7661,cntaobaoabc817419 -cnphpwnd99999@aliyun7662,cntaobaoabc81781 -cnphpwnd99999@aliyun7663,cntaobaoabc81801226 -cnphpwnd99999@aliyun7664,cntaobaoabc8183870 -cnphpwnd99999@aliyun7665,cntaobaoabc8190 -cnphpwnd99999@aliyun7666,cntaobaoabc8192979 -cnphpwnd99999@aliyun7667,cntaobaoabc82 -cnphpwnd99999@aliyun7668,cntaobaoabc820110 -cnphpwnd99999@aliyun7669,cntaobaoabc820121 -cnphpwnd99999@aliyun7670,cntaobaoabc8203 -cnphpwnd99999@aliyun7671,cntaobaoabc820822 -cnphpwnd99999@aliyun7672,cntaobaoabc821 -cnphpwnd99999@aliyun7673,cntaobaoabc821209 -cnphpwnd99999@aliyun7674,cntaobaoabc8223 -cnphpwnd99999@aliyun7675,cntaobaoabc822324 -cnphpwnd99999@aliyun7676,cntaobaoabc8234213 -cnphpwnd99999@aliyun7677,cntaobaoabc8235 -cnphpwnd99999@aliyun7678,cntaobaoabc8235135 -cnphpwnd99999@aliyun7679,cntaobaoabc82410 -cnphpwnd99999@aliyun7680,cntaobaoabc8252118 -cnphpwnd99999@aliyun7681,cntaobaoabc827 -cnphpwnd99999@aliyun7682,cntaobaoabc8270008 -cnphpwnd99999@aliyun7683,cntaobaoabc82782922 -cnphpwnd99999@aliyun7684,cntaobaoabc8286808 -cnphpwnd99999@aliyun7685,cntaobaoabc828788 -cnphpwnd99999@aliyun7686,cntaobaoabc8288 -cnphpwnd99999@aliyun7687,cntaobaoabc828886 -cnphpwnd99999@aliyun7688,cntaobaoabc829 -cnphpwnd99999@aliyun7689,cntaobaoabc8290656 -cnphpwnd99999@aliyun7690,cntaobaoabc82gogogo -cnphpwnd99999@aliyun7691,cntaobaoabc830107 -cnphpwnd99999@aliyun7692,cntaobaoabc8302 -cnphpwnd99999@aliyun7693,cntaobaoabc8304821110 -cnphpwnd99999@aliyun7694,cntaobaoabc830520 -cnphpwnd99999@aliyun7695,cntaobaoabc8306565 -cnphpwnd99999@aliyun7696,cntaobaoabc8308504 -cnphpwnd99999@aliyun7697,cntaobaoabc831019 -cnphpwnd99999@aliyun7698,cntaobaoabc83110060 -cnphpwnd99999@aliyun7699,cntaobaoabc831124abc -cnphpwnd99999@aliyun7700,cntaobaoabc8312886 -cnphpwnd99999@aliyun7701,cntaobaoabc83168666 -cnphpwnd99999@aliyun7702,cntaobaoabc8317578 -cnphpwnd99999@aliyun7703,cntaobaoabc832175 -cnphpwnd99999@aliyun7704,cntaobaoabc83658146 -cnphpwnd99999@aliyun7705,cntaobaoabc83808875 -cnphpwnd99999@aliyun7706,cntaobaoabc839ling -cnphpwnd99999@aliyun7707,cntaobaoabc840818 -cnphpwnd99999@aliyun7708,cntaobaoabc8410081 -cnphpwnd99999@aliyun7709,cntaobaoabc841017 -cnphpwnd99999@aliyun7710,cntaobaoabc8418 -cnphpwnd99999@aliyun7711,cntaobaoabc842 -cnphpwnd99999@aliyun7712,cntaobaoabc8424 -cnphpwnd99999@aliyun7713,cntaobaoabc8425 -cnphpwnd99999@aliyun7714,cntaobaoabc84303 -cnphpwnd99999@aliyun7715,cntaobaoabc845 -cnphpwnd99999@aliyun7716,cntaobaoabc8471 -cnphpwnd99999@aliyun7717,cntaobaoabc84943110 -cnphpwnd99999@aliyun7718,cntaobaoabc8501 -cnphpwnd99999@aliyun7719,cntaobaoabc850430 -cnphpwnd99999@aliyun7720,cntaobaoabc8507 -cnphpwnd99999@aliyun7721,cntaobaoabc8508243 -cnphpwnd99999@aliyun7722,cntaobaoabc8511242 -cnphpwnd99999@aliyun7723,cntaobaoabc8513039 -cnphpwnd99999@aliyun7724,cntaobaoabc8517465 -cnphpwnd99999@aliyun7725,cntaobaoabc85182546 -cnphpwnd99999@aliyun7726,cntaobaoabc8522 -cnphpwnd99999@aliyun7727,cntaobaoabc85233123 -cnphpwnd99999@aliyun7728,cntaobaoabc85315635 -cnphpwnd99999@aliyun7729,cntaobaoabc8542370 -cnphpwnd99999@aliyun7730,cntaobaoabc85468 -cnphpwnd99999@aliyun7731,cntaobaoabc8548 -cnphpwnd99999@aliyun7732,cntaobaoabc85535298 -cnphpwnd99999@aliyun7733,cntaobaoabc8565066 -cnphpwnd99999@aliyun7734,cntaobaoabc857406 -cnphpwnd99999@aliyun7735,cntaobaoabc8575 -cnphpwnd99999@aliyun7736,cntaobaoabc8579 -cnphpwnd99999@aliyun7737,cntaobaoabc858 -cnphpwnd99999@aliyun7738,cntaobaoabc8581168 -cnphpwnd99999@aliyun7739,cntaobaoabc858123 -cnphpwnd99999@aliyun7740,cntaobaoabc8582 -cnphpwnd99999@aliyun7741,cntaobaoabc85861263 -cnphpwnd99999@aliyun7742,cntaobaoabc85877107 -cnphpwnd99999@aliyun7743,cntaobaoabc8588630 -cnphpwnd99999@aliyun7744,cntaobaoabc859270 -cnphpwnd99999@aliyun7745,cntaobaoabc85961 -cnphpwnd99999@aliyun7746,cntaobaoabc8598156 -cnphpwnd99999@aliyun7747,cntaobaoabc85988 -cnphpwnd99999@aliyun7748,cntaobaoabc8601008 -cnphpwnd99999@aliyun7749,cntaobaoabc860222 -cnphpwnd99999@aliyun7750,cntaobaoabc86121719 -cnphpwnd99999@aliyun7751,cntaobaoabc8612272 -cnphpwnd99999@aliyun7752,cntaobaoabc861300 -cnphpwnd99999@aliyun7753,cntaobaoabc861808 -cnphpwnd99999@aliyun7754,cntaobaoabc8625969 -cnphpwnd99999@aliyun7755,cntaobaoabc86305703 -cnphpwnd99999@aliyun7756,cntaobaoabc863478 -cnphpwnd99999@aliyun7757,cntaobaoabc8666086 -cnphpwnd99999@aliyun7758,cntaobaoabc8677939 -cnphpwnd99999@aliyun7759,cntaobaoabc868 -cnphpwnd99999@aliyun7760,cntaobaoabc86826 -cnphpwnd99999@aliyun7761,cntaobaoabc8686 -cnphpwnd99999@aliyun7762,cntaobaoabc8688 -cnphpwnd99999@aliyun7763,cntaobaoabc8688755 -cnphpwnd99999@aliyun7764,cntaobaoabc871 -cnphpwnd99999@aliyun7765,cntaobaoabc8714454 -cnphpwnd99999@aliyun7766,cntaobaoabc8717 -cnphpwnd99999@aliyun7767,cntaobaoabc87184719 -cnphpwnd99999@aliyun7768,cntaobaoabc87222379 -cnphpwnd99999@aliyun7769,cntaobaoabc8726347 -cnphpwnd99999@aliyun7770,cntaobaoabc874 -cnphpwnd99999@aliyun7771,cntaobaoabc8749 -cnphpwnd99999@aliyun7772,cntaobaoabc87576380 -cnphpwnd99999@aliyun7773,cntaobaoabc8760 -cnphpwnd99999@aliyun7774,cntaobaoabc876558 -cnphpwnd99999@aliyun7775,cntaobaoabc878liu -cnphpwnd99999@aliyun7776,cntaobaoabc88 -cnphpwnd99999@aliyun7777,cntaobaoabc88023551 -cnphpwnd99999@aliyun7778,cntaobaoabc88123 -cnphpwnd99999@aliyun7779,cntaobaoabc8813 -cnphpwnd99999@aliyun7780,cntaobaoabc8816001 -cnphpwnd99999@aliyun7781,cntaobaoabc8820455 -cnphpwnd99999@aliyun7782,cntaobaoabc88225531abc -cnphpwnd99999@aliyun7783,cntaobaoabc8828 -cnphpwnd99999@aliyun7784,cntaobaoabc883331 -cnphpwnd99999@aliyun7785,cntaobaoabc88368 -cnphpwnd99999@aliyun7786,cntaobaoabc88423a -cnphpwnd99999@aliyun7787,cntaobaoabc8848 -cnphpwnd99999@aliyun7788,cntaobaoabc8848xyz -cnphpwnd99999@aliyun7789,cntaobaoabc88533796 -cnphpwnd99999@aliyun7790,cntaobaoabc886 -cnphpwnd99999@aliyun7791,cntaobaoabc8861 -cnphpwnd99999@aliyun7792,cntaobaoabc8861554 -cnphpwnd99999@aliyun7793,cntaobaoabc8866 -cnphpwnd99999@aliyun7794,cntaobaoabc8877 -cnphpwnd99999@aliyun7795,cntaobaoabc8885249 -cnphpwnd99999@aliyun7796,cntaobaoabc888666 -cnphpwnd99999@aliyun7797,cntaobaoabc8887 -cnphpwnd99999@aliyun7798,cntaobaoabc8888 -cnphpwnd99999@aliyun7799,cntaobaoabc888811 -cnphpwnd99999@aliyun7800,cntaobaoabc88886666 -cnphpwnd99999@aliyun7801,cntaobaoabc8888852abc -cnphpwnd99999@aliyun7802,cntaobaoabc888888188 -cnphpwnd99999@aliyun7803,cntaobaoabc88888888 -cnphpwnd99999@aliyun7804,cntaobaoabc8889842 -cnphpwnd99999@aliyun7805,cntaobaoabc888999111 -cnphpwnd99999@aliyun7806,cntaobaoabc888de -cnphpwnd99999@aliyun7807,cntaobaoabc888deg -cnphpwnd99999@aliyun7808,cntaobaoabc888ii -cnphpwnd99999@aliyun7809,cntaobaoabc888zjb -cnphpwnd99999@aliyun7810,cntaobaoabc889 -cnphpwnd99999@aliyun7811,cntaobaoabc8891 -cnphpwnd99999@aliyun7812,cntaobaoabc88988 -cnphpwnd99999@aliyun7813,cntaobaoabc8898888 -cnphpwnd99999@aliyun7814,cntaobaoabc889_9 -cnphpwnd99999@aliyun7815,cntaobaoabc88abc -cnphpwnd99999@aliyun7816,cntaobaoabc88ok -cnphpwnd99999@aliyun7817,cntaobaoabc88z1103 -cnphpwnd99999@aliyun7818,cntaobaoabc8906331 -cnphpwnd99999@aliyun7819,cntaobaoabc890821 -cnphpwnd99999@aliyun7820,cntaobaoabc891231 -cnphpwnd99999@aliyun7821,cntaobaoabc891241 -cnphpwnd99999@aliyun7822,cntaobaoabc8915123 -cnphpwnd99999@aliyun7823,cntaobaoabc8918958 -cnphpwnd99999@aliyun7824,cntaobaoabc8941 -cnphpwnd99999@aliyun7825,cntaobaoabc89571602 -cnphpwnd99999@aliyun7826,cntaobaoabc8970 -cnphpwnd99999@aliyun7827,cntaobaoabc8989799 -cnphpwnd99999@aliyun7828,cntaobaoabc8998 -cnphpwnd99999@aliyun7829,cntaobaoabc90082003 -cnphpwnd99999@aliyun7830,cntaobaoabc901204 -cnphpwnd99999@aliyun7831,cntaobaoabc90936 -cnphpwnd99999@aliyun7832,cntaobaoabc9111 -cnphpwnd99999@aliyun7833,cntaobaoabc911218 -cnphpwnd99999@aliyun7834,cntaobaoabc911711 -cnphpwnd99999@aliyun7835,cntaobaoabc911hf2006 -cnphpwnd99999@aliyun7836,cntaobaoabc9158 -cnphpwnd99999@aliyun7837,cntaobaoabc9158.m -cnphpwnd99999@aliyun7838,cntaobaoabc9188168 -cnphpwnd99999@aliyun7839,cntaobaoabc919 -cnphpwnd99999@aliyun7840,cntaobaoabc921379113 -cnphpwnd99999@aliyun7841,cntaobaoabc925 -cnphpwnd99999@aliyun7842,cntaobaoabc92889 -cnphpwnd99999@aliyun7843,cntaobaoabc929 -cnphpwnd99999@aliyun7844,cntaobaoabc9290 -cnphpwnd99999@aliyun7845,cntaobaoabc9339126 -cnphpwnd99999@aliyun7846,cntaobaoabc93939595 -cnphpwnd99999@aliyun7847,cntaobaoabc9415 -cnphpwnd99999@aliyun7848,cntaobaoabc9420 -cnphpwnd99999@aliyun7849,cntaobaoabc951680 -cnphpwnd99999@aliyun7850,cntaobaoabc951826 -cnphpwnd99999@aliyun7851,cntaobaoabc95204 -cnphpwnd99999@aliyun7852,cntaobaoabc95205 -cnphpwnd99999@aliyun7853,cntaobaoabc95411581 -cnphpwnd99999@aliyun7854,cntaobaoabc9555 -cnphpwnd99999@aliyun7855,cntaobaoabc95599 -cnphpwnd99999@aliyun7856,cntaobaoabc958 -cnphpwnd99999@aliyun7857,cntaobaoabc958613 -cnphpwnd99999@aliyun7858,cntaobaoabc96118 -cnphpwnd99999@aliyun7859,cntaobaoabc963258741 -cnphpwnd99999@aliyun7860,cntaobaoabc963741 -cnphpwnd99999@aliyun7861,cntaobaoabc967000abc -cnphpwnd99999@aliyun7862,cntaobaoabc9700 -cnphpwnd99999@aliyun7863,cntaobaoabc9703 -cnphpwnd99999@aliyun7864,cntaobaoabc970828 -cnphpwnd99999@aliyun7865,cntaobaoabc976 -cnphpwnd99999@aliyun7866,cntaobaoabc9785669 -cnphpwnd99999@aliyun7867,cntaobaoabc9790137 -cnphpwnd99999@aliyun7868,cntaobaoabc98011059 -cnphpwnd99999@aliyun7869,cntaobaoabc980228 -cnphpwnd99999@aliyun7870,cntaobaoabc981001 -cnphpwnd99999@aliyun7871,cntaobaoabc981679 -cnphpwnd99999@aliyun7872,cntaobaoabc981g35 -cnphpwnd99999@aliyun7873,cntaobaoabc98314 -cnphpwnd99999@aliyun7874,cntaobaoabc983229 -cnphpwnd99999@aliyun7875,cntaobaoabc98556 -cnphpwnd99999@aliyun7876,cntaobaoabc986 -cnphpwnd99999@aliyun7877,cntaobaoabc987 -cnphpwnd99999@aliyun7878,cntaobaoabc9876541 -cnphpwnd99999@aliyun7879,cntaobaoabc987654321088 -cnphpwnd99999@aliyun7880,cntaobaoabc987abc -cnphpwnd99999@aliyun7881,cntaobaoabc987cccddd -cnphpwnd99999@aliyun7882,cntaobaoabc988 -cnphpwnd99999@aliyun7883,cntaobaoabc988s -cnphpwnd99999@aliyun7884,cntaobaoabc989147 -cnphpwnd99999@aliyun7885,cntaobaoabc9898 -cnphpwnd99999@aliyun7886,cntaobaoabc989898 -cnphpwnd99999@aliyun7887,cntaobaoabc990181 -cnphpwnd99999@aliyun7888,cntaobaoabc990221 -cnphpwnd99999@aliyun7889,cntaobaoabc9905 -cnphpwnd99999@aliyun7890,cntaobaoabc99095 -cnphpwnd99999@aliyun7891,cntaobaoabc990990 -cnphpwnd99999@aliyun7892,cntaobaoabc991213 -cnphpwnd99999@aliyun7893,cntaobaoabc99170207 -cnphpwnd99999@aliyun7894,cntaobaoabc9932141 -cnphpwnd99999@aliyun7895,cntaobaoabc994102 -cnphpwnd99999@aliyun7896,cntaobaoabc99431 -cnphpwnd99999@aliyun7897,cntaobaoabc99445445 -cnphpwnd99999@aliyun7898,cntaobaoabc99450386 -cnphpwnd99999@aliyun7899,cntaobaoabc9968 -cnphpwnd99999@aliyun7900,cntaobaoabc99789978 -cnphpwnd99999@aliyun7901,cntaobaoabc9981 -cnphpwnd99999@aliyun7902,cntaobaoabc998877 -cnphpwnd99999@aliyun7903,cntaobaoabc998877111 -cnphpwnd99999@aliyun7904,cntaobaoabc9989 -cnphpwnd99999@aliyun7905,cntaobaoabc999 -cnphpwnd99999@aliyun7906,cntaobaoabc999456 -cnphpwnd99999@aliyun7907,cntaobaoabc99999999 -cnphpwnd99999@aliyun7908,cntaobaoabc999999999999 -cnphpwnd99999@aliyun7909,cntaobaoabc999good -cnphpwnd99999@aliyun7910,cntaobaoabc99abc88 -cnphpwnd99999@aliyun7911,cntaobaoabc99au -cnphpwnd99999@aliyun7912,cntaobaoabc9cba -cnphpwnd99999@aliyun7913,cntaobaoabc_00000 -cnphpwnd99999@aliyun7914,cntaobaoabc_000000 -cnphpwnd99999@aliyun7915,cntaobaoabc_0045 -cnphpwnd99999@aliyun7916,cntaobaoabc_007 -cnphpwnd99999@aliyun7917,cntaobaoabc_0135 -cnphpwnd99999@aliyun7918,cntaobaoabc_0512 -cnphpwnd99999@aliyun7919,cntaobaoabc_0619 -cnphpwnd99999@aliyun7920,cntaobaoabc_0729 -cnphpwnd99999@aliyun7921,cntaobaoabc_0_123 -cnphpwnd99999@aliyun7922,cntaobaoabc_1031 -cnphpwnd99999@aliyun7923,cntaobaoabc_111b -cnphpwnd99999@aliyun7924,cntaobaoabc_1120 -cnphpwnd99999@aliyun7925,cntaobaoabc_11878 -cnphpwnd99999@aliyun7926,cntaobaoabc_12 -cnphpwnd99999@aliyun7927,cntaobaoabc_1204 -cnphpwnd99999@aliyun7928,cntaobaoabc_121214348 -cnphpwnd99999@aliyun7929,cntaobaoabc_1213 -cnphpwnd99999@aliyun7930,cntaobaoabc_123 -cnphpwnd99999@aliyun7931,cntaobaoabc_12300 -cnphpwnd99999@aliyun7932,cntaobaoabc_123000 -cnphpwnd99999@aliyun7933,cntaobaoabc_12311 -cnphpwnd99999@aliyun7934,cntaobaoabc_123210 -cnphpwnd99999@aliyun7935,cntaobaoabc_1234568 -cnphpwnd99999@aliyun7936,cntaobaoabc_123_ -cnphpwnd99999@aliyun7937,cntaobaoabc_123_2005 -cnphpwnd99999@aliyun7938,cntaobaoabc_1251 -cnphpwnd99999@aliyun7939,cntaobaoabc_1361819 -cnphpwnd99999@aliyun7940,cntaobaoabc_138 -cnphpwnd99999@aliyun7941,cntaobaoabc_159 -cnphpwnd99999@aliyun7942,cntaobaoabc_168 -cnphpwnd99999@aliyun7943,cntaobaoabc_168kkk -cnphpwnd99999@aliyun7944,cntaobaoabc_182 -cnphpwnd99999@aliyun7945,cntaobaoabc_1972 -cnphpwnd99999@aliyun7946,cntaobaoabc_1998 -cnphpwnd99999@aliyun7947,cntaobaoabc_1999 -cnphpwnd99999@aliyun7948,cntaobaoabc_1_abc -cnphpwnd99999@aliyun7949,cntaobaoabc_2 -cnphpwnd99999@aliyun7950,cntaobaoabc_200100 -cnphpwnd99999@aliyun7951,cntaobaoabc_20010617 -cnphpwnd99999@aliyun7952,cntaobaoabc_20051 -cnphpwnd99999@aliyun7953,cntaobaoabc_200588 -cnphpwnd99999@aliyun7954,cntaobaoabc_200606 -cnphpwnd99999@aliyun7955,cntaobaoabc_2008_123 -cnphpwnd99999@aliyun7956,cntaobaoabc_223366 -cnphpwnd99999@aliyun7957,cntaobaoabc_226946 -cnphpwnd99999@aliyun7958,cntaobaoabc_2300082 -cnphpwnd99999@aliyun7959,cntaobaoabc_24474157 -cnphpwnd99999@aliyun7960,cntaobaoabc_24682468 -cnphpwnd99999@aliyun7961,cntaobaoabc_28 -cnphpwnd99999@aliyun7962,cntaobaoabc_2827548 -cnphpwnd99999@aliyun7963,cntaobaoabc_2840022 -cnphpwnd99999@aliyun7964,cntaobaoabc_299 -cnphpwnd99999@aliyun7965,cntaobaoabc_3 -cnphpwnd99999@aliyun7966,cntaobaoabc_3080 -cnphpwnd99999@aliyun7967,cntaobaoabc_3211 -cnphpwnd99999@aliyun7968,cntaobaoabc_331 -cnphpwnd99999@aliyun7969,cntaobaoabc_4116 -cnphpwnd99999@aliyun7970,cntaobaoabc_4545131 -cnphpwnd99999@aliyun7971,cntaobaoabc_4767675 -cnphpwnd99999@aliyun7972,cntaobaoabc_521 -cnphpwnd99999@aliyun7973,cntaobaoabc_5218 -cnphpwnd99999@aliyun7974,cntaobaoabc_52188888 -cnphpwnd99999@aliyun7975,cntaobaoabc_5377 -cnphpwnd99999@aliyun7976,cntaobaoabc_5516006 -cnphpwnd99999@aliyun7977,cntaobaoabc_607 -cnphpwnd99999@aliyun7978,cntaobaoabc_628 -cnphpwnd99999@aliyun7979,cntaobaoabc_630 -cnphpwnd99999@aliyun7980,cntaobaoabc_650 -cnphpwnd99999@aliyun7981,cntaobaoabc_6580358 -cnphpwnd99999@aliyun7982,cntaobaoabc_6611 -cnphpwnd99999@aliyun7983,cntaobaoabc_666666 -cnphpwnd99999@aliyun7984,cntaobaoabc_66666666 -cnphpwnd99999@aliyun7985,cntaobaoabc_712 -cnphpwnd99999@aliyun7986,cntaobaoabc_726 -cnphpwnd99999@aliyun7987,cntaobaoabc_7723003 -cnphpwnd99999@aliyun7988,cntaobaoabc_789 -cnphpwnd99999@aliyun7989,cntaobaoabc_790612 -cnphpwnd99999@aliyun7990,cntaobaoabc_8008 -cnphpwnd99999@aliyun7991,cntaobaoabc_810913 -cnphpwnd99999@aliyun7992,cntaobaoabc_820416 -cnphpwnd99999@aliyun7993,cntaobaoabc_84628462 -cnphpwnd99999@aliyun7994,cntaobaoabc_886 -cnphpwnd99999@aliyun7995,cntaobaoabc_91054 -cnphpwnd99999@aliyun7996,cntaobaoabc_998 -cnphpwnd99999@aliyun7997,cntaobaoabc_999china -cnphpwnd99999@aliyun7998,cntaobaoabc_abc123 -cnphpwnd99999@aliyun7999,cntaobaoabc_abc51 -cnphpwnd99999@aliyun8000,cntaobaoabc_abc777 -cnphpwnd99999@aliyun8001,cntaobaoabc_abc999 -cnphpwnd99999@aliyun8002,cntaobaoabc_abc_2004 -cnphpwnd99999@aliyun8003,cntaobaoabc_abc_abc -cnphpwnd99999@aliyun8004,cntaobaoabc_abcdefg -cnphpwnd99999@aliyun8005,cntaobaoabc_abclyf -cnphpwnd99999@aliyun8006,cntaobaoabc_amy -cnphpwnd99999@aliyun8007,cntaobaoabc_baby -cnphpwnd99999@aliyun8008,cntaobaoabc_bamboo -cnphpwnd99999@aliyun8009,cntaobaoabc_blue -cnphpwnd99999@aliyun8010,cntaobaoabc_card -cnphpwnd99999@aliyun8011,cntaobaoabc_cathy1013 -cnphpwnd99999@aliyun8012,cntaobaoabc_cba1 -cnphpwnd99999@aliyun8013,cntaobaoabc_cba88 -cnphpwnd99999@aliyun8014,cntaobaoabc_ch -cnphpwnd99999@aliyun8015,cntaobaoabc_chen -cnphpwnd99999@aliyun8016,cntaobaoabc_chp_001 -cnphpwnd99999@aliyun8017,cntaobaoabc_cola -cnphpwnd99999@aliyun8018,cntaobaoabc_cyh -cnphpwnd99999@aliyun8019,cntaobaoabc_dmn -cnphpwnd99999@aliyun8020,cntaobaoabc_fangfang -cnphpwnd99999@aliyun8021,cntaobaoabc_ggg -cnphpwnd99999@aliyun8022,cntaobaoabc_helene -cnphpwnd99999@aliyun8023,cntaobaoabc_hyq -cnphpwnd99999@aliyun8024,cntaobaoabc_leo -cnphpwnd99999@aliyun8025,cntaobaoabc_lg -cnphpwnd99999@aliyun8026,cntaobaoabc_lily -cnphpwnd99999@aliyun8027,cntaobaoabc_lingxian -cnphpwnd99999@aliyun8028,cntaobaoabc_litao -cnphpwnd99999@aliyun8029,cntaobaoabc_lmn_opq -cnphpwnd99999@aliyun8030,cntaobaoabc_luiying_abc -cnphpwnd99999@aliyun8031,cntaobaoabc_mm -cnphpwnd99999@aliyun8032,cntaobaoabc_nanjing -cnphpwnd99999@aliyun8033,cntaobaoabc_nh -cnphpwnd99999@aliyun8034,cntaobaoabc_nico -cnphpwnd99999@aliyun8035,cntaobaoabc_popboy -cnphpwnd99999@aliyun8036,cntaobaoabc_pzd -cnphpwnd99999@aliyun8037,cntaobaoabc_ren -cnphpwnd99999@aliyun8038,cntaobaoabc_simple -cnphpwnd99999@aliyun8039,cntaobaoabc_sin -cnphpwnd99999@aliyun8040,cntaobaoabc_sky -cnphpwnd99999@aliyun8041,cntaobaoabc_sun -cnphpwnd99999@aliyun8042,cntaobaoabc_tb -cnphpwnd99999@aliyun8043,cntaobaoabc_wanxinjia -cnphpwnd99999@aliyun8044,cntaobaoabc_wg -cnphpwnd99999@aliyun8045,cntaobaoabc_wtq888 -cnphpwnd99999@aliyun8046,cntaobaoabc_xi -cnphpwnd99999@aliyun8047,cntaobaoabc_xiaoli -cnphpwnd99999@aliyun8048,cntaobaoabc_yc -cnphpwnd99999@aliyun8049,cntaobaoabc_your -cnphpwnd99999@aliyun8050,cntaobaoabc_yuan -cnphpwnd99999@aliyun8051,cntaobaoabc_yuch -cnphpwnd99999@aliyun8052,cntaobaoabc_yuyan -cnphpwnd99999@aliyun8053,cntaobaoabc_我510623 -cnphpwnd99999@aliyun8054,cntaobaoabca -cnphpwnd99999@aliyun8055,cntaobaoabca021 -cnphpwnd99999@aliyun8056,cntaobaoabca199607 -cnphpwnd99999@aliyun8057,cntaobaoabca9 -cnphpwnd99999@aliyun8058,cntaobaoabcaa0906 -cnphpwnd99999@aliyun8059,cntaobaoabcaaa -cnphpwnd99999@aliyun8060,cntaobaoabcaaa2 -cnphpwnd99999@aliyun8061,cntaobaoabcaaaaaaaa -cnphpwnd99999@aliyun8062,cntaobaoabcaaabbb -cnphpwnd99999@aliyun8063,cntaobaoabcaaaccc -cnphpwnd99999@aliyun8064,cntaobaoabcaabbcc -cnphpwnd99999@aliyun8065,cntaobaoabcabc -cnphpwnd99999@aliyun8066,cntaobaoabcabc0919 -cnphpwnd99999@aliyun8067,cntaobaoabcabc1 -cnphpwnd99999@aliyun8068,cntaobaoabcabc1000 -cnphpwnd99999@aliyun8069,cntaobaoabcabc11119 -cnphpwnd99999@aliyun8070,cntaobaoabcabc119_2005 -cnphpwnd99999@aliyun8071,cntaobaoabcabc123 -cnphpwnd99999@aliyun8072,cntaobaoabcabc1231 -cnphpwnd99999@aliyun8073,cntaobaoabcabc1234 -cnphpwnd99999@aliyun8074,cntaobaoabcabc123456 -cnphpwnd99999@aliyun8075,cntaobaoabcabc12388 -cnphpwnd99999@aliyun8076,cntaobaoabcabc123_123 -cnphpwnd99999@aliyun8077,cntaobaoabcabc168168 -cnphpwnd99999@aliyun8078,cntaobaoabcabc21 -cnphpwnd99999@aliyun8079,cntaobaoabcabc3210 -cnphpwnd99999@aliyun8080,cntaobaoabcabc334499 -cnphpwnd99999@aliyun8081,cntaobaoabcabc3417 -cnphpwnd99999@aliyun8082,cntaobaoabcabc77885211 -cnphpwnd99999@aliyun8083,cntaobaoabcabc7878 -cnphpwnd99999@aliyun8084,cntaobaoabcabc888 -cnphpwnd99999@aliyun8085,cntaobaoabcabc90 -cnphpwnd99999@aliyun8086,cntaobaoabcabc9527 -cnphpwnd99999@aliyun8087,cntaobaoabcabc9988 -cnphpwnd99999@aliyun8088,cntaobaoabcabc_88101 -cnphpwnd99999@aliyun8089,cntaobaoabcabc_sh -cnphpwnd99999@aliyun8090,cntaobaoabcabcaa8818 -cnphpwnd99999@aliyun8091,cntaobaoabcabcab -cnphpwnd99999@aliyun8092,cntaobaoabcabcab88 -cnphpwnd99999@aliyun8093,cntaobaoabcabcabc -cnphpwnd99999@aliyun8094,cntaobaoabcabcabca -cnphpwnd99999@aliyun8095,cntaobaoabcabcabczz -cnphpwnd99999@aliyun8096,cntaobaoabcabcd1 -cnphpwnd99999@aliyun8097,cntaobaoabcabcde -cnphpwnd99999@aliyun8098,cntaobaoabcabce -cnphpwnd99999@aliyun8099,cntaobaoabcabcfly -cnphpwnd99999@aliyun8100,cntaobaoabcabcpen -cnphpwnd99999@aliyun8101,cntaobaoabcabcpw -cnphpwnd99999@aliyun8102,cntaobaoabcabcqwer -cnphpwnd99999@aliyun8103,cntaobaoabcabcqwert -cnphpwnd99999@aliyun8104,cntaobaoabcabcsz -cnphpwnd99999@aliyun8105,cntaobaoabcabcwww -cnphpwnd99999@aliyun8106,cntaobaoabcabcyuqun -cnphpwnd99999@aliyun8107,cntaobaoabcabczyy -cnphpwnd99999@aliyun8108,cntaobaoabcabczz -cnphpwnd99999@aliyun8109,cntaobaoabcabs -cnphpwnd99999@aliyun8110,cntaobaoabcabvlj -cnphpwnd99999@aliyun8111,cntaobaoabcadc23 -cnphpwnd99999@aliyun8112,cntaobaoabcade789 -cnphpwnd99999@aliyun8113,cntaobaoabcadr -cnphpwnd99999@aliyun8114,cntaobaoabcafhaohao -cnphpwnd99999@aliyun8115,cntaobaoabcai -cnphpwnd99999@aliyun8116,cntaobaoabcainio -cnphpwnd99999@aliyun8117,cntaobaoabcakang -cnphpwnd99999@aliyun8118,cntaobaoabcalex123 -cnphpwnd99999@aliyun8119,cntaobaoabcalid -cnphpwnd99999@aliyun8120,cntaobaoabcamayi -cnphpwnd99999@aliyun8121,cntaobaoabcamy -cnphpwnd99999@aliyun8122,cntaobaoabcandrea2002 -cnphpwnd99999@aliyun8123,cntaobaoabcandxyz -cnphpwnd99999@aliyun8124,cntaobaoabcang -cnphpwnd99999@aliyun8125,cntaobaoabcanna -cnphpwnd99999@aliyun8126,cntaobaoabcappejiang -cnphpwnd99999@aliyun8127,cntaobaoabcapple32 -cnphpwnd99999@aliyun8128,cntaobaoabcarol -cnphpwnd99999@aliyun8129,cntaobaoabcasd119 -cnphpwnd99999@aliyun8130,cntaobaoabcat -cnphpwnd99999@aliyun8131,cntaobaoabcat66 -cnphpwnd99999@aliyun8132,cntaobaoabcat83 -cnphpwnd99999@aliyun8133,cntaobaoabcaurora -cnphpwnd99999@aliyun8134,cntaobaoabcazm -cnphpwnd99999@aliyun8135,cntaobaoabcb -cnphpwnd99999@aliyun8136,cntaobaoabcb2ha -cnphpwnd99999@aliyun8137,cntaobaoabcba126 -cnphpwnd99999@aliyun8138,cntaobaoabcba2008 -cnphpwnd99999@aliyun8139,cntaobaoabcbaby -cnphpwnd99999@aliyun8140,cntaobaoabcbaby0000 -cnphpwnd99999@aliyun8141,cntaobaoabcbag -cnphpwnd99999@aliyun8142,cntaobaoabcbaiyu -cnphpwnd99999@aliyun8143,cntaobaoabcbaobao -cnphpwnd99999@aliyun8144,cntaobaoabcbb110 -cnphpwnd99999@aliyun8145,cntaobaoabcbb44 -cnphpwnd99999@aliyun8146,cntaobaoabcbb666 -cnphpwnd99999@aliyun8147,cntaobaoabcbbbaaa -cnphpwnd99999@aliyun8148,cntaobaoabcbbccd -cnphpwnd99999@aliyun8149,cntaobaoabcbbdfdgksllg0 -cnphpwnd99999@aliyun8150,cntaobaoabcbcdabcd -cnphpwnd99999@aliyun8151,cntaobaoabcbean -cnphpwnd99999@aliyun8152,cntaobaoabcbee1 -cnphpwnd99999@aliyun8153,cntaobaoabcbenggen -cnphpwnd99999@aliyun8154,cntaobaoabcbit -cnphpwnd99999@aliyun8155,cntaobaoabcbj2016 -cnphpwnd99999@aliyun8156,cntaobaoabcbkb -cnphpwnd99999@aliyun8157,cntaobaoabcbm5 -cnphpwnd99999@aliyun8158,cntaobaoabcbn -cnphpwnd99999@aliyun8159,cntaobaoabcbox -cnphpwnd99999@aliyun8160,cntaobaoabcboy76 -cnphpwnd99999@aliyun8161,cntaobaoabcboy_1981 -cnphpwnd99999@aliyun8162,cntaobaoabcboyu571 -cnphpwnd99999@aliyun8163,cntaobaoabcboyzl -cnphpwnd99999@aliyun8164,cntaobaoabcbug -cnphpwnd99999@aliyun8165,cntaobaoabcbus -cnphpwnd99999@aliyun8166,cntaobaoabcbush -cnphpwnd99999@aliyun8167,cntaobaoabcbuzhiming -cnphpwnd99999@aliyun8168,cntaobaoabcc.mm -cnphpwnd99999@aliyun8169,cntaobaoabcc22 -cnphpwnd99999@aliyun8170,cntaobaoabcc268 -cnphpwnd99999@aliyun8171,cntaobaoabcc_123_ -cnphpwnd99999@aliyun8172,cntaobaoabcc_com -cnphpwnd99999@aliyun8173,cntaobaoabcca -cnphpwnd99999@aliyun8174,cntaobaoabccaa -cnphpwnd99999@aliyun8175,cntaobaoabccao1975 -cnphpwnd99999@aliyun8176,cntaobaoabccar -cnphpwnd99999@aliyun8177,cntaobaoabccat -cnphpwnd99999@aliyun8178,cntaobaoabccba -cnphpwnd99999@aliyun8179,cntaobaoabccba09 -cnphpwnd99999@aliyun8180,cntaobaoabccba1 -cnphpwnd99999@aliyun8181,cntaobaoabccba1234561 -cnphpwnd99999@aliyun8182,cntaobaoabccba183 -cnphpwnd99999@aliyun8183,cntaobaoabccba2 -cnphpwnd99999@aliyun8184,cntaobaoabccba2004 -cnphpwnd99999@aliyun8185,cntaobaoabccba39 -cnphpwnd99999@aliyun8186,cntaobaoabccba4848 -cnphpwnd99999@aliyun8187,cntaobaoabccba5635 -cnphpwnd99999@aliyun8188,cntaobaoabccba567 -cnphpwnd99999@aliyun8189,cntaobaoabccba6688 -cnphpwnd99999@aliyun8190,cntaobaoabccba678 -cnphpwnd99999@aliyun8191,cntaobaoabccba881 -cnphpwnd99999@aliyun8192,cntaobaoabccba8888 -cnphpwnd99999@aliyun8193,cntaobaoabccba9889 -cnphpwnd99999@aliyun8194,cntaobaoabccba99 -cnphpwnd99999@aliyun8195,cntaobaoabccba9978 -cnphpwnd99999@aliyun8196,cntaobaoabccba_21 -cnphpwnd99999@aliyun8197,cntaobaoabccbahuangfeihu -cnphpwnd99999@aliyun8198,cntaobaoabccbanba -cnphpwnd99999@aliyun8199,cntaobaoabccbef -cnphpwnd99999@aliyun8200,cntaobaoabccbf -cnphpwnd99999@aliyun8201,cntaobaoabccc008 -cnphpwnd99999@aliyun8202,cntaobaoabccc2 -cnphpwnd99999@aliyun8203,cntaobaoabcccb -cnphpwnd99999@aliyun8204,cntaobaoabcccb1999 -cnphpwnd99999@aliyun8205,cntaobaoabcccc -cnphpwnd99999@aliyun8206,cntaobaoabccccaaa -cnphpwnd99999@aliyun8207,cntaobaoabccccbbb -cnphpwnd99999@aliyun8208,cntaobaoabcccce -cnphpwnd99999@aliyun8209,cntaobaoabcccd2010 -cnphpwnd99999@aliyun8210,cntaobaoabccch -cnphpwnd99999@aliyun8211,cntaobaoabcccna -cnphpwnd99999@aliyun8212,cntaobaoabcccs123 -cnphpwnd99999@aliyun8213,cntaobaoabccd -cnphpwnd99999@aliyun8214,cntaobaoabccd3 -cnphpwnd99999@aliyun8215,cntaobaoabccd5 -cnphpwnd99999@aliyun8216,cntaobaoabccd88 -cnphpwnd99999@aliyun8217,cntaobaoabccddddd -cnphpwnd99999@aliyun8218,cntaobaoabccddkk -cnphpwnd99999@aliyun8219,cntaobaoabccde81 -cnphpwnd99999@aliyun8220,cntaobaoabccdefgh -cnphpwnd99999@aliyun8221,cntaobaoabccdx -cnphpwnd99999@aliyun8222,cntaobaoabcce -cnphpwnd99999@aliyun8223,cntaobaoabcceo -cnphpwnd99999@aliyun8224,cntaobaoabccf -cnphpwnd99999@aliyun8225,cntaobaoabccfj -cnphpwnd99999@aliyun8226,cntaobaoabccg -cnphpwnd99999@aliyun8227,cntaobaoabcchan -cnphpwnd99999@aliyun8228,cntaobaoabcchao -cnphpwnd99999@aliyun8229,cntaobaoabcchen -cnphpwnd99999@aliyun8230,cntaobaoabcchen1 -cnphpwnd99999@aliyun8231,cntaobaoabcchen12 -cnphpwnd99999@aliyun8232,cntaobaoabcchenabcchen -cnphpwnd99999@aliyun8233,cntaobaoabcchina -cnphpwnd99999@aliyun8234,cntaobaoabcchj -cnphpwnd99999@aliyun8235,cntaobaoabcchristy -cnphpwnd99999@aliyun8236,cntaobaoabccissy -cnphpwnd99999@aliyun8237,cntaobaoabccjb -cnphpwnd99999@aliyun8238,cntaobaoabccjxh -cnphpwnd99999@aliyun8239,cntaobaoabccjyj -cnphpwnd99999@aliyun8240,cntaobaoabcclove -cnphpwnd99999@aliyun8241,cntaobaoabcclub -cnphpwnd99999@aliyun8242,cntaobaoabccmh123 -cnphpwnd99999@aliyun8243,cntaobaoabccmy123 -cnphpwnd99999@aliyun8244,cntaobaoabccnbcsbtlhy -cnphpwnd99999@aliyun8245,cntaobaoabcco -cnphpwnd99999@aliyun8246,cntaobaoabccom140285 -cnphpwnd99999@aliyun8247,cntaobaoabccom2003 -cnphpwnd99999@aliyun8248,cntaobaoabccom2004 -cnphpwnd99999@aliyun8249,cntaobaoabccomss -cnphpwnd99999@aliyun8250,cntaobaoabccsd -cnphpwnd99999@aliyun8251,cntaobaoabcct -cnphpwnd99999@aliyun8252,cntaobaoabcctv -cnphpwnd99999@aliyun8253,cntaobaoabcctvv -cnphpwnd99999@aliyun8254,cntaobaoabccx -cnphpwnd99999@aliyun8255,cntaobaoabccy -cnphpwnd99999@aliyun8256,cntaobaoabccy1967 -cnphpwnd99999@aliyun8257,cntaobaoabcczh -cnphpwnd99999@aliyun8258,cntaobaoabcczx -cnphpwnd99999@aliyun8259,cntaobaoabcd-01234 -cnphpwnd99999@aliyun8260,cntaobaoabcd-1981-1981 -cnphpwnd99999@aliyun8261,cntaobaoabcd-63438668 -cnphpwnd99999@aliyun8262,cntaobaoabcd-claire -cnphpwnd99999@aliyun8263,cntaobaoabcd-yuan -cnphpwnd99999@aliyun8264,cntaobaoabcd.1234 -cnphpwnd99999@aliyun8265,cntaobaoabcd.one -cnphpwnd99999@aliyun8266,cntaobaoabcd000000001 -cnphpwnd99999@aliyun8267,cntaobaoabcd00000001 -cnphpwnd99999@aliyun8268,cntaobaoabcd0000001 -cnphpwnd99999@aliyun8269,cntaobaoabcd00000088 -cnphpwnd99999@aliyun8270,cntaobaoabcd000001 -cnphpwnd99999@aliyun8271,cntaobaoabcd00009999 -cnphpwnd99999@aliyun8272,cntaobaoabcd0000abcd -cnphpwnd99999@aliyun8273,cntaobaoabcd00023 -cnphpwnd99999@aliyun8274,cntaobaoabcd0008abcd -cnphpwnd99999@aliyun8275,cntaobaoabcd0009 -cnphpwnd99999@aliyun8276,cntaobaoabcd000_2005 -cnphpwnd99999@aliyun8277,cntaobaoabcd001002 -cnphpwnd99999@aliyun8278,cntaobaoabcd0012300123 -cnphpwnd99999@aliyun8279,cntaobaoabcd001ice -cnphpwnd99999@aliyun8280,cntaobaoabcd002 -cnphpwnd99999@aliyun8281,cntaobaoabcd003ice -cnphpwnd99999@aliyun8282,cntaobaoabcd005 -cnphpwnd99999@aliyun8283,cntaobaoabcd0050 -cnphpwnd99999@aliyun8284,cntaobaoabcd00603131 -cnphpwnd99999@aliyun8285,cntaobaoabcd00700237 -cnphpwnd99999@aliyun8286,cntaobaoabcd007007 -cnphpwnd99999@aliyun8287,cntaobaoabcd0088 -cnphpwnd99999@aliyun8288,cntaobaoabcd0089 -cnphpwnd99999@aliyun8289,cntaobaoabcd00938 -cnphpwnd99999@aliyun8290,cntaobaoabcd00abcd -cnphpwnd99999@aliyun8291,cntaobaoabcd0101 -cnphpwnd99999@aliyun8292,cntaobaoabcd0107 -cnphpwnd99999@aliyun8293,cntaobaoabcd0115 -cnphpwnd99999@aliyun8294,cntaobaoabcd012 -cnphpwnd99999@aliyun8295,cntaobaoabcd012341234 -cnphpwnd99999@aliyun8296,cntaobaoabcd0123456789 -cnphpwnd99999@aliyun8297,cntaobaoabcd020 -cnphpwnd99999@aliyun8298,cntaobaoabcd0201 -cnphpwnd99999@aliyun8299,cntaobaoabcd0203 -cnphpwnd99999@aliyun8300,cntaobaoabcd0211 -cnphpwnd99999@aliyun8301,cntaobaoabcd0215 -cnphpwnd99999@aliyun8302,cntaobaoabcd0216 -cnphpwnd99999@aliyun8303,cntaobaoabcd0221 -cnphpwnd99999@aliyun8304,cntaobaoabcd0223 -cnphpwnd99999@aliyun8305,cntaobaoabcd0244151 -cnphpwnd99999@aliyun8306,cntaobaoabcd0248 -cnphpwnd99999@aliyun8307,cntaobaoabcd03 -cnphpwnd99999@aliyun8308,cntaobaoabcd0308 -cnphpwnd99999@aliyun8309,cntaobaoabcd0310 -cnphpwnd99999@aliyun8310,cntaobaoabcd0311 -cnphpwnd99999@aliyun8311,cntaobaoabcd031188 -cnphpwnd99999@aliyun8312,cntaobaoabcd0314 -cnphpwnd99999@aliyun8313,cntaobaoabcd0318 -cnphpwnd99999@aliyun8314,cntaobaoabcd0320sc88 -cnphpwnd99999@aliyun8315,cntaobaoabcd0324 -cnphpwnd99999@aliyun8316,cntaobaoabcd0334 -cnphpwnd99999@aliyun8317,cntaobaoabcd034 -cnphpwnd99999@aliyun8318,cntaobaoabcd03400523 -cnphpwnd99999@aliyun8319,cntaobaoabcd034151 -cnphpwnd99999@aliyun8320,cntaobaoabcd0369 -cnphpwnd99999@aliyun8321,cntaobaoabcd038 -cnphpwnd99999@aliyun8322,cntaobaoabcd0392 -cnphpwnd99999@aliyun8323,cntaobaoabcd03961999 -cnphpwnd99999@aliyun8324,cntaobaoabcd0406 -cnphpwnd99999@aliyun8325,cntaobaoabcd0409 -cnphpwnd99999@aliyun8326,cntaobaoabcd041178 -cnphpwnd99999@aliyun8327,cntaobaoabcd0414 -cnphpwnd99999@aliyun8328,cntaobaoabcd0427 -cnphpwnd99999@aliyun8329,cntaobaoabcd046 -cnphpwnd99999@aliyun8330,cntaobaoabcd0476 -cnphpwnd99999@aliyun8331,cntaobaoabcd0502 -cnphpwnd99999@aliyun8332,cntaobaoabcd0510 -cnphpwnd99999@aliyun8333,cntaobaoabcd0517 -cnphpwnd99999@aliyun8334,cntaobaoabcd0529 -cnphpwnd99999@aliyun8335,cntaobaoabcd0551 -cnphpwnd99999@aliyun8336,cntaobaoabcd056 -cnphpwnd99999@aliyun8337,cntaobaoabcd0577 -cnphpwnd99999@aliyun8338,cntaobaoabcd0587 -cnphpwnd99999@aliyun8339,cntaobaoabcd0617 -cnphpwnd99999@aliyun8340,cntaobaoabcd06219 -cnphpwnd99999@aliyun8341,cntaobaoabcd0623456 -cnphpwnd99999@aliyun8342,cntaobaoabcd0726abcd -cnphpwnd99999@aliyun8343,cntaobaoabcd07396522453 -cnphpwnd99999@aliyun8344,cntaobaoabcd0756 -cnphpwnd99999@aliyun8345,cntaobaoabcd0770 -cnphpwnd99999@aliyun8346,cntaobaoabcd0808 -cnphpwnd99999@aliyun8347,cntaobaoabcd0813 -cnphpwnd99999@aliyun8348,cntaobaoabcd08140814 -cnphpwnd99999@aliyun8349,cntaobaoabcd0886 -cnphpwnd99999@aliyun8350,cntaobaoabcd0890 -cnphpwnd99999@aliyun8351,cntaobaoabcd0975 -cnphpwnd99999@aliyun8352,cntaobaoabcd098765 -cnphpwnd99999@aliyun8353,cntaobaoabcd100200 -cnphpwnd99999@aliyun8354,cntaobaoabcd1010_2005 -cnphpwnd99999@aliyun8355,cntaobaoabcd1014 -cnphpwnd99999@aliyun8356,cntaobaoabcd1023a -cnphpwnd99999@aliyun8357,cntaobaoabcd1061 -cnphpwnd99999@aliyun8358,cntaobaoabcd1067 -cnphpwnd99999@aliyun8359,cntaobaoabcd110011 -cnphpwnd99999@aliyun8360,cntaobaoabcd11026 -cnphpwnd99999@aliyun8361,cntaobaoabcd1104 -cnphpwnd99999@aliyun8362,cntaobaoabcd1105104 -cnphpwnd99999@aliyun8363,cntaobaoabcd110521 -cnphpwnd99999@aliyun8364,cntaobaoabcd1108 -cnphpwnd99999@aliyun8365,cntaobaoabcd11088 -cnphpwnd99999@aliyun8366,cntaobaoabcd111 -cnphpwnd99999@aliyun8367,cntaobaoabcd11111 -cnphpwnd99999@aliyun8368,cntaobaoabcd1111_1111 -cnphpwnd99999@aliyun8369,cntaobaoabcd111222 -cnphpwnd99999@aliyun8370,cntaobaoabcd11123 -cnphpwnd99999@aliyun8371,cntaobaoabcd1116 -cnphpwnd99999@aliyun8372,cntaobaoabcd111_007 -cnphpwnd99999@aliyun8373,cntaobaoabcd111eee -cnphpwnd99999@aliyun8374,cntaobaoabcd111f -cnphpwnd99999@aliyun8375,cntaobaoabcd111kong -cnphpwnd99999@aliyun8376,cntaobaoabcd1128 -cnphpwnd99999@aliyun8377,cntaobaoabcd1136779 -cnphpwnd99999@aliyun8378,cntaobaoabcd115 -cnphpwnd99999@aliyun8379,cntaobaoabcd11510799 -cnphpwnd99999@aliyun8380,cntaobaoabcd1155 -cnphpwnd99999@aliyun8381,cntaobaoabcd1177 -cnphpwnd99999@aliyun8382,cntaobaoabcd11800 -cnphpwnd99999@aliyun8383,cntaobaoabcd1183 -cnphpwnd99999@aliyun8384,cntaobaoabcd11975 -cnphpwnd99999@aliyun8385,cntaobaoabcd120 -cnphpwnd99999@aliyun8386,cntaobaoabcd12004 -cnphpwnd99999@aliyun8387,cntaobaoabcd12121 -cnphpwnd99999@aliyun8388,cntaobaoabcd121212 -cnphpwnd99999@aliyun8389,cntaobaoabcd121280 -cnphpwnd99999@aliyun8390,cntaobaoabcd121938 -cnphpwnd99999@aliyun8391,cntaobaoabcd122 -cnphpwnd99999@aliyun8392,cntaobaoabcd123 -cnphpwnd99999@aliyun8393,cntaobaoabcd123012302 -cnphpwnd99999@aliyun8394,cntaobaoabcd1230789 -cnphpwnd99999@aliyun8395,cntaobaoabcd123099 -cnphpwnd99999@aliyun8396,cntaobaoabcd12311 -cnphpwnd99999@aliyun8397,cntaobaoabcd12312 -cnphpwnd99999@aliyun8398,cntaobaoabcd123121 -cnphpwnd99999@aliyun8399,cntaobaoabcd123168 -cnphpwnd99999@aliyun8400,cntaobaoabcd123188 -cnphpwnd99999@aliyun8401,cntaobaoabcd1232141 -cnphpwnd99999@aliyun8402,cntaobaoabcd12325963 -cnphpwnd99999@aliyun8403,cntaobaoabcd1232620 -cnphpwnd99999@aliyun8404,cntaobaoabcd123321123 -cnphpwnd99999@aliyun8405,cntaobaoabcd123321_tb -cnphpwnd99999@aliyun8406,cntaobaoabcd1233536 -cnphpwnd99999@aliyun8407,cntaobaoabcd1234 -cnphpwnd99999@aliyun8408,cntaobaoabcd1234110 -cnphpwnd99999@aliyun8409,cntaobaoabcd12341234 -cnphpwnd99999@aliyun8410,cntaobaoabcd1234164928 -cnphpwnd99999@aliyun8411,cntaobaoabcd1234168 -cnphpwnd99999@aliyun8412,cntaobaoabcd12343q -cnphpwnd99999@aliyun8413,cntaobaoabcd1234456 -cnphpwnd99999@aliyun8414,cntaobaoabcd12345323 -cnphpwnd99999@aliyun8415,cntaobaoabcd12345566 -cnphpwnd99999@aliyun8416,cntaobaoabcd1234562005 -cnphpwnd99999@aliyun8417,cntaobaoabcd1234567 -cnphpwnd99999@aliyun8418,cntaobaoabcd1234567222 -cnphpwnd99999@aliyun8419,cntaobaoabcd12345673 -cnphpwnd99999@aliyun8420,cntaobaoabcd1234567811 -cnphpwnd99999@aliyun8421,cntaobaoabcd12345678_2005 -cnphpwnd99999@aliyun8422,cntaobaoabcd12345678abcd -cnphpwnd99999@aliyun8423,cntaobaoabcd123456_2005_2005 -cnphpwnd99999@aliyun8424,cntaobaoabcd123456a -cnphpwnd99999@aliyun8425,cntaobaoabcd123456sf -cnphpwnd99999@aliyun8426,cntaobaoabcd123459 -cnphpwnd99999@aliyun8427,cntaobaoabcd12345_tb -cnphpwnd99999@aliyun8428,cntaobaoabcd123465 -cnphpwnd99999@aliyun8429,cntaobaoabcd12347788 -cnphpwnd99999@aliyun8430,cntaobaoabcd1234787 -cnphpwnd99999@aliyun8431,cntaobaoabcd12348274 -cnphpwnd99999@aliyun8432,cntaobaoabcd1234921 -cnphpwnd99999@aliyun8433,cntaobaoabcd12349211 -cnphpwnd99999@aliyun8434,cntaobaoabcd123492111 -cnphpwnd99999@aliyun8435,cntaobaoabcd1234998 -cnphpwnd99999@aliyun8436,cntaobaoabcd1234a0 -cnphpwnd99999@aliyun8437,cntaobaoabcd1234abcd -cnphpwnd99999@aliyun8438,cntaobaoabcd1234abcd1 -cnphpwnd99999@aliyun8439,cntaobaoabcd1234abcd2005 -cnphpwnd99999@aliyun8440,cntaobaoabcd1234abcd911 -cnphpwnd99999@aliyun8441,cntaobaoabcd1234elulu -cnphpwnd99999@aliyun8442,cntaobaoabcd1234lj -cnphpwnd99999@aliyun8443,cntaobaoabcd1234lq -cnphpwnd99999@aliyun8444,cntaobaoabcd123588 -cnphpwnd99999@aliyun8445,cntaobaoabcd123616 -cnphpwnd99999@aliyun8446,cntaobaoabcd12366 -cnphpwnd99999@aliyun8447,cntaobaoabcd123881 -cnphpwnd99999@aliyun8448,cntaobaoabcd1239007 -cnphpwnd99999@aliyun8449,cntaobaoabcd12391 -cnphpwnd99999@aliyun8450,cntaobaoabcd123945 -cnphpwnd99999@aliyun8451,cntaobaoabcd123abcd123 -cnphpwnd99999@aliyun8452,cntaobaoabcd123efghhh -cnphpwnd99999@aliyun8453,cntaobaoabcd123ro -cnphpwnd99999@aliyun8454,cntaobaoabcd123zxc123 -cnphpwnd99999@aliyun8455,cntaobaoabcd125 -cnphpwnd99999@aliyun8456,cntaobaoabcd12590 -cnphpwnd99999@aliyun8457,cntaobaoabcd129111 -cnphpwnd99999@aliyun8458,cntaobaoabcd12_3 -cnphpwnd99999@aliyun8459,cntaobaoabcd12ef -cnphpwnd99999@aliyun8460,cntaobaoabcd13107872322 -cnphpwnd99999@aliyun8461,cntaobaoabcd1314520 -cnphpwnd99999@aliyun8462,cntaobaoabcd1314_9950 -cnphpwnd99999@aliyun8463,cntaobaoabcd132 -cnphpwnd99999@aliyun8464,cntaobaoabcd13323363950 -cnphpwnd99999@aliyun8465,cntaobaoabcd1351 -cnphpwnd99999@aliyun8466,cntaobaoabcd135135 -cnphpwnd99999@aliyun8467,cntaobaoabcd135238 -cnphpwnd99999@aliyun8468,cntaobaoabcd1354997 -cnphpwnd99999@aliyun8469,cntaobaoabcd1357su -cnphpwnd99999@aliyun8470,cntaobaoabcd13647633 -cnphpwnd99999@aliyun8471,cntaobaoabcd13684877402 -cnphpwnd99999@aliyun8472,cntaobaoabcd1368888 -cnphpwnd99999@aliyun8473,cntaobaoabcd13833047095 -cnphpwnd99999@aliyun8474,cntaobaoabcd13860681081 -cnphpwnd99999@aliyun8475,cntaobaoabcd1390316 -cnphpwnd99999@aliyun8476,cntaobaoabcd13928381354 -cnphpwnd99999@aliyun8477,cntaobaoabcd13932972505 -cnphpwnd99999@aliyun8478,cntaobaoabcd139666 -cnphpwnd99999@aliyun8479,cntaobaoabcd140202 -cnphpwnd99999@aliyun8480,cntaobaoabcd1423 -cnphpwnd99999@aliyun8481,cntaobaoabcd144100 -cnphpwnd99999@aliyun8482,cntaobaoabcd1446 -cnphpwnd99999@aliyun8483,cntaobaoabcd146099 -cnphpwnd99999@aliyun8484,cntaobaoabcd1503 -cnphpwnd99999@aliyun8485,cntaobaoabcd1510 -cnphpwnd99999@aliyun8486,cntaobaoabcd1566 -cnphpwnd99999@aliyun8487,cntaobaoabcd1569 -cnphpwnd99999@aliyun8488,cntaobaoabcd1570 -cnphpwnd99999@aliyun8489,cntaobaoabcd15808239 -cnphpwnd99999@aliyun8490,cntaobaoabcd1586 -cnphpwnd99999@aliyun8491,cntaobaoabcd159456 -cnphpwnd99999@aliyun8492,cntaobaoabcd15999 -cnphpwnd99999@aliyun8493,cntaobaoabcd161918 -cnphpwnd99999@aliyun8494,cntaobaoabcd16321632 -cnphpwnd99999@aliyun8495,cntaobaoabcd165151 -cnphpwnd99999@aliyun8496,cntaobaoabcd1681 -cnphpwnd99999@aliyun8497,cntaobaoabcd1696 -cnphpwnd99999@aliyun8498,cntaobaoabcd1718 -cnphpwnd99999@aliyun8499,cntaobaoabcd1748 -cnphpwnd99999@aliyun8500,cntaobaoabcd1770008 -cnphpwnd99999@aliyun8501,cntaobaoabcd17931 -cnphpwnd99999@aliyun8502,cntaobaoabcd180076 -cnphpwnd99999@aliyun8503,cntaobaoabcd180856 -cnphpwnd99999@aliyun8504,cntaobaoabcd188 -cnphpwnd99999@aliyun8505,cntaobaoabcd189 -cnphpwnd99999@aliyun8506,cntaobaoabcd1892abcd -cnphpwnd99999@aliyun8507,cntaobaoabcd19 -cnphpwnd99999@aliyun8508,cntaobaoabcd1902 -cnphpwnd99999@aliyun8509,cntaobaoabcd1903 -cnphpwnd99999@aliyun8510,cntaobaoabcd1958 -cnphpwnd99999@aliyun8511,cntaobaoabcd1971 -cnphpwnd99999@aliyun8512,cntaobaoabcd1973122438401 -cnphpwnd99999@aliyun8513,cntaobaoabcd1974 -cnphpwnd99999@aliyun8514,cntaobaoabcd19750715 -cnphpwnd99999@aliyun8515,cntaobaoabcd1976abcd -cnphpwnd99999@aliyun8516,cntaobaoabcd1977 -cnphpwnd99999@aliyun8517,cntaobaoabcd1978 -cnphpwnd99999@aliyun8518,cntaobaoabcd19781012 -cnphpwnd99999@aliyun8519,cntaobaoabcd19791120 -cnphpwnd99999@aliyun8520,cntaobaoabcd1980 -cnphpwnd99999@aliyun8521,cntaobaoabcd1981 -cnphpwnd99999@aliyun8522,cntaobaoabcd198106 -cnphpwnd99999@aliyun8523,cntaobaoabcd198189 -cnphpwnd99999@aliyun8524,cntaobaoabcd1982312 -cnphpwnd99999@aliyun8525,cntaobaoabcd1983621 -cnphpwnd99999@aliyun8526,cntaobaoabcd198411423 -cnphpwnd99999@aliyun8527,cntaobaoabcd198414 -cnphpwnd99999@aliyun8528,cntaobaoabcd198491 -cnphpwnd99999@aliyun8529,cntaobaoabcd198541 -cnphpwnd99999@aliyun8530,cntaobaoabcd19861209 -cnphpwnd99999@aliyun8531,cntaobaoabcd19861224 -cnphpwnd99999@aliyun8532,cntaobaoabcd1986812 -cnphpwnd99999@aliyun8533,cntaobaoabcd198737 -cnphpwnd99999@aliyun8534,cntaobaoabcd1989_ -cnphpwnd99999@aliyun8535,cntaobaoabcd19991999 -cnphpwnd99999@aliyun8536,cntaobaoabcd19win -cnphpwnd99999@aliyun8537,cntaobaoabcd1abcd2 -cnphpwnd99999@aliyun8538,cntaobaoabcd1ren1 -cnphpwnd99999@aliyun8539,cntaobaoabcd2 -cnphpwnd99999@aliyun8540,cntaobaoabcd20008 -cnphpwnd99999@aliyun8541,cntaobaoabcd2000_007 -cnphpwnd99999@aliyun8542,cntaobaoabcd20022 -cnphpwnd99999@aliyun8543,cntaobaoabcd2003520 -cnphpwnd99999@aliyun8544,cntaobaoabcd2003k -cnphpwnd99999@aliyun8545,cntaobaoabcd200400 -cnphpwnd99999@aliyun8546,cntaobaoabcd200488 -cnphpwnd99999@aliyun8547,cntaobaoabcd2005 -cnphpwnd99999@aliyun8548,cntaobaoabcd200517 -cnphpwnd99999@aliyun8549,cntaobaoabcd2005888 -cnphpwnd99999@aliyun8550,cntaobaoabcd2005_007 -cnphpwnd99999@aliyun8551,cntaobaoabcd20060410 -cnphpwnd99999@aliyun8552,cntaobaoabcd20061 -cnphpwnd99999@aliyun8553,cntaobaoabcd2006_x -cnphpwnd99999@aliyun8554,cntaobaoabcd2008 -cnphpwnd99999@aliyun8555,cntaobaoabcd20080 -cnphpwnd99999@aliyun8556,cntaobaoabcd200801 -cnphpwnd99999@aliyun8557,cntaobaoabcd20082008 -cnphpwnd99999@aliyun8558,cntaobaoabcd20084121 -cnphpwnd99999@aliyun8559,cntaobaoabcd200844 -cnphpwnd99999@aliyun8560,cntaobaoabcd2008_tb -cnphpwnd99999@aliyun8561,cntaobaoabcd2011 -cnphpwnd99999@aliyun8562,cntaobaoabcd2046 -cnphpwnd99999@aliyun8563,cntaobaoabcd2059 -cnphpwnd99999@aliyun8564,cntaobaoabcd2126757 -cnphpwnd99999@aliyun8565,cntaobaoabcd213 -cnphpwnd99999@aliyun8566,cntaobaoabcd215520 -cnphpwnd99999@aliyun8567,cntaobaoabcd2163 -cnphpwnd99999@aliyun8568,cntaobaoabcd218218 -cnphpwnd99999@aliyun8569,cntaobaoabcd21967 -cnphpwnd99999@aliyun8570,cntaobaoabcd22 -cnphpwnd99999@aliyun8571,cntaobaoabcd2208 -cnphpwnd99999@aliyun8572,cntaobaoabcd2213000 -cnphpwnd99999@aliyun8573,cntaobaoabcd2234 -cnphpwnd99999@aliyun8574,cntaobaoabcd22486907 -cnphpwnd99999@aliyun8575,cntaobaoabcd22_a1 -cnphpwnd99999@aliyun8576,cntaobaoabcd232436 -cnphpwnd99999@aliyun8577,cntaobaoabcd23394073 -cnphpwnd99999@aliyun8578,cntaobaoabcd2345 -cnphpwnd99999@aliyun8579,cntaobaoabcd23456789 -cnphpwnd99999@aliyun8580,cntaobaoabcd234588 -cnphpwnd99999@aliyun8581,cntaobaoabcd2349538 -cnphpwnd99999@aliyun8582,cntaobaoabcd234zy -cnphpwnd99999@aliyun8583,cntaobaoabcd23992802 -cnphpwnd99999@aliyun8584,cntaobaoabcd23czy2 -cnphpwnd99999@aliyun8585,cntaobaoabcd23tl -cnphpwnd99999@aliyun8586,cntaobaoabcd2428 -cnphpwnd99999@aliyun8587,cntaobaoabcd2444 -cnphpwnd99999@aliyun8588,cntaobaoabcd246386 -cnphpwnd99999@aliyun8589,cntaobaoabcd2468 -cnphpwnd99999@aliyun8590,cntaobaoabcd2501648 -cnphpwnd99999@aliyun8591,cntaobaoabcd250569170 -cnphpwnd99999@aliyun8592,cntaobaoabcd251655 -cnphpwnd99999@aliyun8593,cntaobaoabcd2550359 -cnphpwnd99999@aliyun8594,cntaobaoabcd2580 -cnphpwnd99999@aliyun8595,cntaobaoabcd258258 -cnphpwnd99999@aliyun8596,cntaobaoabcd25_7 -cnphpwnd99999@aliyun8597,cntaobaoabcd2619 -cnphpwnd99999@aliyun8598,cntaobaoabcd2620 -cnphpwnd99999@aliyun8599,cntaobaoabcd263539 -cnphpwnd99999@aliyun8600,cntaobaoabcd26409647 -cnphpwnd99999@aliyun8601,cntaobaoabcd2740861 -cnphpwnd99999@aliyun8602,cntaobaoabcd275541392 -cnphpwnd99999@aliyun8603,cntaobaoabcd277327 -cnphpwnd99999@aliyun8604,cntaobaoabcd27880 -cnphpwnd99999@aliyun8605,cntaobaoabcd278930256 -cnphpwnd99999@aliyun8606,cntaobaoabcd2818 -cnphpwnd99999@aliyun8607,cntaobaoabcd2838 -cnphpwnd99999@aliyun8608,cntaobaoabcd288 -cnphpwnd99999@aliyun8609,cntaobaoabcd2881251 -cnphpwnd99999@aliyun8610,cntaobaoabcd2888 -cnphpwnd99999@aliyun8611,cntaobaoabcd292699248 -cnphpwnd99999@aliyun8612,cntaobaoabcd2999 -cnphpwnd99999@aliyun8613,cntaobaoabcd2dcba -cnphpwnd99999@aliyun8614,cntaobaoabcd305 -cnphpwnd99999@aliyun8615,cntaobaoabcd310478 -cnphpwnd99999@aliyun8616,cntaobaoabcd3136 -cnphpwnd99999@aliyun8617,cntaobaoabcd313944076 -cnphpwnd99999@aliyun8618,cntaobaoabcd319 -cnphpwnd99999@aliyun8619,cntaobaoabcd3199 -cnphpwnd99999@aliyun8620,cntaobaoabcd32016 -cnphpwnd99999@aliyun8621,cntaobaoabcd3203672 -cnphpwnd99999@aliyun8622,cntaobaoabcd3205 -cnphpwnd99999@aliyun8623,cntaobaoabcd321 -cnphpwnd99999@aliyun8624,cntaobaoabcd321we -cnphpwnd99999@aliyun8625,cntaobaoabcd3237 -cnphpwnd99999@aliyun8626,cntaobaoabcd3252721 -cnphpwnd99999@aliyun8627,cntaobaoabcd327148625 -cnphpwnd99999@aliyun8628,cntaobaoabcd3273243 -cnphpwnd99999@aliyun8629,cntaobaoabcd33 -cnphpwnd99999@aliyun8630,cntaobaoabcd330369 -cnphpwnd99999@aliyun8631,cntaobaoabcd3311 -cnphpwnd99999@aliyun8632,cntaobaoabcd3318 -cnphpwnd99999@aliyun8633,cntaobaoabcd3333 -cnphpwnd99999@aliyun8634,cntaobaoabcd33333 -cnphpwnd99999@aliyun8635,cntaobaoabcd33388 -cnphpwnd99999@aliyun8636,cntaobaoabcd33398 -cnphpwnd99999@aliyun8637,cntaobaoabcd333ff -cnphpwnd99999@aliyun8638,cntaobaoabcd335588 -cnphpwnd99999@aliyun8639,cntaobaoabcd336270 -cnphpwnd99999@aliyun8640,cntaobaoabcd3377 -cnphpwnd99999@aliyun8641,cntaobaoabcd3427 -cnphpwnd99999@aliyun8642,cntaobaoabcd351 -cnphpwnd99999@aliyun8643,cntaobaoabcd3510 -cnphpwnd99999@aliyun8644,cntaobaoabcd358040139 -cnphpwnd99999@aliyun8645,cntaobaoabcd3598 -cnphpwnd99999@aliyun8646,cntaobaoabcd360326207 -cnphpwnd99999@aliyun8647,cntaobaoabcd361265885 -cnphpwnd99999@aliyun8648,cntaobaoabcd366 -cnphpwnd99999@aliyun8649,cntaobaoabcd3668 -cnphpwnd99999@aliyun8650,cntaobaoabcd3680102 -cnphpwnd99999@aliyun8651,cntaobaoabcd39 -cnphpwnd99999@aliyun8652,cntaobaoabcd391 -cnphpwnd99999@aliyun8653,cntaobaoabcd393264638 -cnphpwnd99999@aliyun8654,cntaobaoabcd402496243 -cnphpwnd99999@aliyun8655,cntaobaoabcd4068 -cnphpwnd99999@aliyun8656,cntaobaoabcd407494896 -cnphpwnd99999@aliyun8657,cntaobaoabcd4100 -cnphpwnd99999@aliyun8658,cntaobaoabcd42027 -cnphpwnd99999@aliyun8659,cntaobaoabcd421 -cnphpwnd99999@aliyun8660,cntaobaoabcd4230268 -cnphpwnd99999@aliyun8661,cntaobaoabcd42364 -cnphpwnd99999@aliyun8662,cntaobaoabcd4273 -cnphpwnd99999@aliyun8663,cntaobaoabcd432100 -cnphpwnd99999@aliyun8664,cntaobaoabcd4321130019 -cnphpwnd99999@aliyun8665,cntaobaoabcd4321_2005 -cnphpwnd99999@aliyun8666,cntaobaoabcd4321a -cnphpwnd99999@aliyun8667,cntaobaoabcd444444 -cnphpwnd99999@aliyun8668,cntaobaoabcd4480071 -cnphpwnd99999@aliyun8669,cntaobaoabcd4535361 -cnphpwnd99999@aliyun8670,cntaobaoabcd455819550 -cnphpwnd99999@aliyun8671,cntaobaoabcd4586 -cnphpwnd99999@aliyun8672,cntaobaoabcd461600 -cnphpwnd99999@aliyun8673,cntaobaoabcd4634 -cnphpwnd99999@aliyun8674,cntaobaoabcd4638 -cnphpwnd99999@aliyun8675,cntaobaoabcd470824129 -cnphpwnd99999@aliyun8676,cntaobaoabcd502231 -cnphpwnd99999@aliyun8677,cntaobaoabcd511 -cnphpwnd99999@aliyun8678,cntaobaoabcd5123 -cnphpwnd99999@aliyun8679,cntaobaoabcd516 -cnphpwnd99999@aliyun8680,cntaobaoabcd518 -cnphpwnd99999@aliyun8681,cntaobaoabcd5187320 -cnphpwnd99999@aliyun8682,cntaobaoabcd518978 -cnphpwnd99999@aliyun8683,cntaobaoabcd520 -cnphpwnd99999@aliyun8684,cntaobaoabcd5201 -cnphpwnd99999@aliyun8685,cntaobaoabcd52012 -cnphpwnd99999@aliyun8686,cntaobaoabcd520152519 -cnphpwnd99999@aliyun8687,cntaobaoabcd520417 -cnphpwnd99999@aliyun8688,cntaobaoabcd520444 -cnphpwnd99999@aliyun8689,cntaobaoabcd520520 -cnphpwnd99999@aliyun8690,cntaobaoabcd52053088 -cnphpwnd99999@aliyun8691,cntaobaoabcd520699 -cnphpwnd99999@aliyun8692,cntaobaoabcd520813 -cnphpwnd99999@aliyun8693,cntaobaoabcd52099 -cnphpwnd99999@aliyun8694,cntaobaoabcd52125212 -cnphpwnd99999@aliyun8695,cntaobaoabcd52131 -cnphpwnd99999@aliyun8696,cntaobaoabcd521721 -cnphpwnd99999@aliyun8697,cntaobaoabcd52188 -cnphpwnd99999@aliyun8698,cntaobaoabcd521cn -cnphpwnd99999@aliyun8699,cntaobaoabcd522588 -cnphpwnd99999@aliyun8700,cntaobaoabcd529375 -cnphpwnd99999@aliyun8701,cntaobaoabcd5300307 -cnphpwnd99999@aliyun8702,cntaobaoabcd534265 -cnphpwnd99999@aliyun8703,cntaobaoabcd5350 -cnphpwnd99999@aliyun8704,cntaobaoabcd541510610 -cnphpwnd99999@aliyun8705,cntaobaoabcd545115 -cnphpwnd99999@aliyun8706,cntaobaoabcd550 -cnphpwnd99999@aliyun8707,cntaobaoabcd552211 -cnphpwnd99999@aliyun8708,cntaobaoabcd5566 -cnphpwnd99999@aliyun8709,cntaobaoabcd5590 -cnphpwnd99999@aliyun8710,cntaobaoabcd56200 -cnphpwnd99999@aliyun8711,cntaobaoabcd5656 -cnphpwnd99999@aliyun8712,cntaobaoabcd56623 -cnphpwnd99999@aliyun8713,cntaobaoabcd567 -cnphpwnd99999@aliyun8714,cntaobaoabcd5677 -cnphpwnd99999@aliyun8715,cntaobaoabcd5678 -cnphpwnd99999@aliyun8716,cntaobaoabcd56789 -cnphpwnd99999@aliyun8717,cntaobaoabcd5699151 -cnphpwnd99999@aliyun8718,cntaobaoabcd580608 -cnphpwnd99999@aliyun8719,cntaobaoabcd582920 -cnphpwnd99999@aliyun8720,cntaobaoabcd586889 -cnphpwnd99999@aliyun8721,cntaobaoabcd586889_2005 -cnphpwnd99999@aliyun8722,cntaobaoabcd6 -cnphpwnd99999@aliyun8723,cntaobaoabcd60080 -cnphpwnd99999@aliyun8724,cntaobaoabcd6286 -cnphpwnd99999@aliyun8725,cntaobaoabcd6289052 -cnphpwnd99999@aliyun8726,cntaobaoabcd630034304 -cnphpwnd99999@aliyun8727,cntaobaoabcd63379428 -cnphpwnd99999@aliyun8728,cntaobaoabcd6377323 -cnphpwnd99999@aliyun8729,cntaobaoabcd642804133 -cnphpwnd99999@aliyun8730,cntaobaoabcd6467 -cnphpwnd99999@aliyun8731,cntaobaoabcd6487163 -cnphpwnd99999@aliyun8732,cntaobaoabcd650 -cnphpwnd99999@aliyun8733,cntaobaoabcd65402888 -cnphpwnd99999@aliyun8734,cntaobaoabcd654123 -cnphpwnd99999@aliyun8735,cntaobaoabcd654321 -cnphpwnd99999@aliyun8736,cntaobaoabcd654534173 -cnphpwnd99999@aliyun8737,cntaobaoabcd65794201 -cnphpwnd99999@aliyun8738,cntaobaoabcd6598 -cnphpwnd99999@aliyun8739,cntaobaoabcd65p4 -cnphpwnd99999@aliyun8740,cntaobaoabcd66123905 -cnphpwnd99999@aliyun8741,cntaobaoabcd666 -cnphpwnd99999@aliyun8742,cntaobaoabcd6666 -cnphpwnd99999@aliyun8743,cntaobaoabcd666666 -cnphpwnd99999@aliyun8744,cntaobaoabcd66688 -cnphpwnd99999@aliyun8745,cntaobaoabcd6680 -cnphpwnd99999@aliyun8746,cntaobaoabcd6688668 -cnphpwnd99999@aliyun8747,cntaobaoabcd66_008 -cnphpwnd99999@aliyun8748,cntaobaoabcd6712 -cnphpwnd99999@aliyun8749,cntaobaoabcd673690606 -cnphpwnd99999@aliyun8750,cntaobaoabcd676 -cnphpwnd99999@aliyun8751,cntaobaoabcd6781 -cnphpwnd99999@aliyun8752,cntaobaoabcd6789 -cnphpwnd99999@aliyun8753,cntaobaoabcd68 -cnphpwnd99999@aliyun8754,cntaobaoabcd68122431 -cnphpwnd99999@aliyun8755,cntaobaoabcd6845521 -cnphpwnd99999@aliyun8756,cntaobaoabcd688 -cnphpwnd99999@aliyun8757,cntaobaoabcd6893599 -cnphpwnd99999@aliyun8758,cntaobaoabcd700822 -cnphpwnd99999@aliyun8759,cntaobaoabcd7072 -cnphpwnd99999@aliyun8760,cntaobaoabcd710043 -cnphpwnd99999@aliyun8761,cntaobaoabcd7114390 -cnphpwnd99999@aliyun8762,cntaobaoabcd716 -cnphpwnd99999@aliyun8763,cntaobaoabcd720 -cnphpwnd99999@aliyun8764,cntaobaoabcd728577 -cnphpwnd99999@aliyun8765,cntaobaoabcd7286234 -cnphpwnd99999@aliyun8766,cntaobaoabcd742 -cnphpwnd99999@aliyun8767,cntaobaoabcd745896 -cnphpwnd99999@aliyun8768,cntaobaoabcd75 -cnphpwnd99999@aliyun8769,cntaobaoabcd751130 -cnphpwnd99999@aliyun8770,cntaobaoabcd75170349 -cnphpwnd99999@aliyun8771,cntaobaoabcd7600 -cnphpwnd99999@aliyun8772,cntaobaoabcd761215 -cnphpwnd99999@aliyun8773,cntaobaoabcd7632560 -cnphpwnd99999@aliyun8774,cntaobaoabcd7661220 -cnphpwnd99999@aliyun8775,cntaobaoabcd77025989 -cnphpwnd99999@aliyun8776,cntaobaoabcd7710695 -cnphpwnd99999@aliyun8777,cntaobaoabcd7742 -cnphpwnd99999@aliyun8778,cntaobaoabcd7758521 -cnphpwnd99999@aliyun8779,cntaobaoabcd777c -cnphpwnd99999@aliyun8780,cntaobaoabcd7786 -cnphpwnd99999@aliyun8781,cntaobaoabcd778800 -cnphpwnd99999@aliyun8782,cntaobaoabcd780615 -cnphpwnd99999@aliyun8783,cntaobaoabcd781 -cnphpwnd99999@aliyun8784,cntaobaoabcd781212 -cnphpwnd99999@aliyun8785,cntaobaoabcd7881 -cnphpwnd99999@aliyun8786,cntaobaoabcd789456123 -cnphpwnd99999@aliyun8787,cntaobaoabcd789987 -cnphpwnd99999@aliyun8788,cntaobaoabcd79516 -cnphpwnd99999@aliyun8789,cntaobaoabcd7967 -cnphpwnd99999@aliyun8790,cntaobaoabcd8 -cnphpwnd99999@aliyun8791,cntaobaoabcd801005 -cnphpwnd99999@aliyun8792,cntaobaoabcd8049_dcba -cnphpwnd99999@aliyun8793,cntaobaoabcd8063986 -cnphpwnd99999@aliyun8794,cntaobaoabcd8080 -cnphpwnd99999@aliyun8795,cntaobaoabcd8087 -cnphpwnd99999@aliyun8796,cntaobaoabcd810518 -cnphpwnd99999@aliyun8797,cntaobaoabcd814817 -cnphpwnd99999@aliyun8798,cntaobaoabcd816 -cnphpwnd99999@aliyun8799,cntaobaoabcd81701107 -cnphpwnd99999@aliyun8800,cntaobaoabcd8172 -cnphpwnd99999@aliyun8801,cntaobaoabcd820 -cnphpwnd99999@aliyun8802,cntaobaoabcd820820 -cnphpwnd99999@aliyun8803,cntaobaoabcd821001 -cnphpwnd99999@aliyun8804,cntaobaoabcd8215333 -cnphpwnd99999@aliyun8805,cntaobaoabcd82155624 -cnphpwnd99999@aliyun8806,cntaobaoabcd8231 -cnphpwnd99999@aliyun8807,cntaobaoabcd82612178 -cnphpwnd99999@aliyun8808,cntaobaoabcd830817 -cnphpwnd99999@aliyun8809,cntaobaoabcd83210 -cnphpwnd99999@aliyun8810,cntaobaoabcd83_31 -cnphpwnd99999@aliyun8811,cntaobaoabcd841 -cnphpwnd99999@aliyun8812,cntaobaoabcd8452 -cnphpwnd99999@aliyun8813,cntaobaoabcd84528 -cnphpwnd99999@aliyun8814,cntaobaoabcd846 -cnphpwnd99999@aliyun8815,cntaobaoabcd8466 -cnphpwnd99999@aliyun8816,cntaobaoabcd8472768 -cnphpwnd99999@aliyun8817,cntaobaoabcd85 -cnphpwnd99999@aliyun8818,cntaobaoabcd850914 -cnphpwnd99999@aliyun8819,cntaobaoabcd8509140 -cnphpwnd99999@aliyun8820,cntaobaoabcd8567 -cnphpwnd99999@aliyun8821,cntaobaoabcd858 -cnphpwnd99999@aliyun8822,cntaobaoabcd85830039 -cnphpwnd99999@aliyun8823,cntaobaoabcd85851914 -cnphpwnd99999@aliyun8824,cntaobaoabcd858519141 -cnphpwnd99999@aliyun8825,cntaobaoabcd86588769 -cnphpwnd99999@aliyun8826,cntaobaoabcd86755908 -cnphpwnd99999@aliyun8827,cntaobaoabcd8682 -cnphpwnd99999@aliyun8828,cntaobaoabcd868565 -cnphpwnd99999@aliyun8829,cntaobaoabcd871 -cnphpwnd99999@aliyun8830,cntaobaoabcd875123 -cnphpwnd99999@aliyun8831,cntaobaoabcd8760 -cnphpwnd99999@aliyun8832,cntaobaoabcd87647029 -cnphpwnd99999@aliyun8833,cntaobaoabcd8807 -cnphpwnd99999@aliyun8834,cntaobaoabcd8818 -cnphpwnd99999@aliyun8835,cntaobaoabcd88207770 -cnphpwnd99999@aliyun8836,cntaobaoabcd8848 -cnphpwnd99999@aliyun8837,cntaobaoabcd8858 -cnphpwnd99999@aliyun8838,cntaobaoabcd886886886 -cnphpwnd99999@aliyun8839,cntaobaoabcd8886 -cnphpwnd99999@aliyun8840,cntaobaoabcd88885 -cnphpwnd99999@aliyun8841,cntaobaoabcd88888888 -cnphpwnd99999@aliyun8842,cntaobaoabcd8888_2005 -cnphpwnd99999@aliyun8843,cntaobaoabcd888919 -cnphpwnd99999@aliyun8844,cntaobaoabcd888abcd -cnphpwnd99999@aliyun8845,cntaobaoabcd888hb -cnphpwnd99999@aliyun8846,cntaobaoabcd8891 -cnphpwnd99999@aliyun8847,cntaobaoabcd889988 -cnphpwnd99999@aliyun8848,cntaobaoabcd88vv -cnphpwnd99999@aliyun8849,cntaobaoabcd890 -cnphpwnd99999@aliyun8850,cntaobaoabcd8900523 -cnphpwnd99999@aliyun8851,cntaobaoabcd8902 -cnphpwnd99999@aliyun8852,cntaobaoabcd8910 -cnphpwnd99999@aliyun8853,cntaobaoabcd8dy -cnphpwnd99999@aliyun8854,cntaobaoabcd90000 -cnphpwnd99999@aliyun8855,cntaobaoabcd900800 -cnphpwnd99999@aliyun8856,cntaobaoabcd901 -cnphpwnd99999@aliyun8857,cntaobaoabcd907 -cnphpwnd99999@aliyun8858,cntaobaoabcd91 -cnphpwnd99999@aliyun8859,cntaobaoabcd910291 -cnphpwnd99999@aliyun8860,cntaobaoabcd910571 -cnphpwnd99999@aliyun8861,cntaobaoabcd927 -cnphpwnd99999@aliyun8862,cntaobaoabcd9401 -cnphpwnd99999@aliyun8863,cntaobaoabcd94300 -cnphpwnd99999@aliyun8864,cntaobaoabcd94629 -cnphpwnd99999@aliyun8865,cntaobaoabcd95 -cnphpwnd99999@aliyun8866,cntaobaoabcd951 -cnphpwnd99999@aliyun8867,cntaobaoabcd9559 -cnphpwnd99999@aliyun8868,cntaobaoabcd9655 -cnphpwnd99999@aliyun8869,cntaobaoabcd9701338 -cnphpwnd99999@aliyun8870,cntaobaoabcd970408 -cnphpwnd99999@aliyun8871,cntaobaoabcd9757 -cnphpwnd99999@aliyun8872,cntaobaoabcd980301 -cnphpwnd99999@aliyun8873,cntaobaoabcd9845310 -cnphpwnd99999@aliyun8874,cntaobaoabcd987 -cnphpwnd99999@aliyun8875,cntaobaoabcd9876 -cnphpwnd99999@aliyun8876,cntaobaoabcd9876543210 -cnphpwnd99999@aliyun8877,cntaobaoabcd988 -cnphpwnd99999@aliyun8878,cntaobaoabcd990514 -cnphpwnd99999@aliyun8879,cntaobaoabcd9907 -cnphpwnd99999@aliyun8880,cntaobaoabcd99848078 -cnphpwnd99999@aliyun8881,cntaobaoabcd99933 -cnphpwnd99999@aliyun8882,cntaobaoabcd99988 -cnphpwnd99999@aliyun8883,cntaobaoabcd9999 -cnphpwnd99999@aliyun8884,cntaobaoabcd99abcd -cnphpwnd99999@aliyun8885,cntaobaoabcd_006009 -cnphpwnd99999@aliyun8886,cntaobaoabcd_0125 -cnphpwnd99999@aliyun8887,cntaobaoabcd_1026 -cnphpwnd99999@aliyun8888,cntaobaoabcd_123450 -cnphpwnd99999@aliyun8889,cntaobaoabcd_12345678 -cnphpwnd99999@aliyun8890,cntaobaoabcd_123_abcd -cnphpwnd99999@aliyun8891,cntaobaoabcd_128 -cnphpwnd99999@aliyun8892,cntaobaoabcd_1306325 -cnphpwnd99999@aliyun8893,cntaobaoabcd_1432 -cnphpwnd99999@aliyun8894,cntaobaoabcd_1589 -cnphpwnd99999@aliyun8895,cntaobaoabcd_168 -cnphpwnd99999@aliyun8896,cntaobaoabcd_17909 -cnphpwnd99999@aliyun8897,cntaobaoabcd_18189 -cnphpwnd99999@aliyun8898,cntaobaoabcd_1919 -cnphpwnd99999@aliyun8899,cntaobaoabcd_2005_ -cnphpwnd99999@aliyun8900,cntaobaoabcd_2006 -cnphpwnd99999@aliyun8901,cntaobaoabcd_2006_8_19 -cnphpwnd99999@aliyun8902,cntaobaoabcd_2008 -cnphpwnd99999@aliyun8903,cntaobaoabcd_2008_2005 -cnphpwnd99999@aliyun8904,cntaobaoabcd_3211 -cnphpwnd99999@aliyun8905,cntaobaoabcd_5177 -cnphpwnd99999@aliyun8906,cntaobaoabcd_530 -cnphpwnd99999@aliyun8907,cntaobaoabcd_7717 -cnphpwnd99999@aliyun8908,cntaobaoabcd_77829 -cnphpwnd99999@aliyun8909,cntaobaoabcd_80_923 -cnphpwnd99999@aliyun8910,cntaobaoabcd_826100 -cnphpwnd99999@aliyun8911,cntaobaoabcd_829 -cnphpwnd99999@aliyun8912,cntaobaoabcd_88 -cnphpwnd99999@aliyun8913,cntaobaoabcd_8_2005 -cnphpwnd99999@aliyun8914,cntaobaoabcd_99199 -cnphpwnd99999@aliyun8915,cntaobaoabcd_abc_930 -cnphpwnd99999@aliyun8916,cntaobaoabcd_abcd288 -cnphpwnd99999@aliyun8917,cntaobaoabcd_dcba -cnphpwnd99999@aliyun8918,cntaobaoabcd_defgh -cnphpwnd99999@aliyun8919,cntaobaoabcd_dz -cnphpwnd99999@aliyun8920,cntaobaoabcd_hong -cnphpwnd99999@aliyun8921,cntaobaoabcd_li_2005 -cnphpwnd99999@aliyun8922,cntaobaoabcd_man -cnphpwnd99999@aliyun8923,cntaobaoabcd_mt -cnphpwnd99999@aliyun8924,cntaobaoabcd_parade -cnphpwnd99999@aliyun8925,cntaobaoabcd_sophia -cnphpwnd99999@aliyun8926,cntaobaoabcd_wdxs_2008 -cnphpwnd99999@aliyun8927,cntaobaoabcd_wei -cnphpwnd99999@aliyun8928,cntaobaoabcd_wn -cnphpwnd99999@aliyun8929,cntaobaoabcd_wwwpx -cnphpwnd99999@aliyun8930,cntaobaoabcd_yaya -cnphpwnd99999@aliyun8931,cntaobaoabcd_z -cnphpwnd99999@aliyun8932,cntaobaoabcd_超八 -cnphpwnd99999@aliyun8933,cntaobaoabcda -cnphpwnd99999@aliyun8934,cntaobaoabcda56789 -cnphpwnd99999@aliyun8935,cntaobaoabcda777 -cnphpwnd99999@aliyun8936,cntaobaoabcda88 -cnphpwnd99999@aliyun8937,cntaobaoabcdabcd1111 -cnphpwnd99999@aliyun8938,cntaobaoabcdabcd123488 -cnphpwnd99999@aliyun8939,cntaobaoabcdabcd123_007 -cnphpwnd99999@aliyun8940,cntaobaoabcdabcd123ok -cnphpwnd99999@aliyun8941,cntaobaoabcdabcdcn -cnphpwnd99999@aliyun8942,cntaobaoabcdabcdhk -cnphpwnd99999@aliyun8943,cntaobaoabcdabcdyyy -cnphpwnd99999@aliyun8944,cntaobaoabcdabcl -cnphpwnd99999@aliyun8945,cntaobaoabcdahky -cnphpwnd99999@aliyun8946,cntaobaoabcdaibocai5 -cnphpwnd99999@aliyun8947,cntaobaoabcdala -cnphpwnd99999@aliyun8948,cntaobaoabcdandan -cnphpwnd99999@aliyun8949,cntaobaoabcdandyabc -cnphpwnd99999@aliyun8950,cntaobaoabcdaniu -cnphpwnd99999@aliyun8951,cntaobaoabcdanni -cnphpwnd99999@aliyun8952,cntaobaoabcdanqi -cnphpwnd99999@aliyun8953,cntaobaoabcdasd1 -cnphpwnd99999@aliyun8954,cntaobaoabcdav23 -cnphpwnd99999@aliyun8955,cntaobaoabcdb110 -cnphpwnd99999@aliyun8956,cntaobaoabcdbbs -cnphpwnd99999@aliyun8957,cntaobaoabcdbdj -cnphpwnd99999@aliyun8958,cntaobaoabcdbig -cnphpwnd99999@aliyun8959,cntaobaoabcdbig1 -cnphpwnd99999@aliyun8960,cntaobaoabcdbpmf -cnphpwnd99999@aliyun8961,cntaobaoabcdcba -cnphpwnd99999@aliyun8962,cntaobaoabcdcc88 -cnphpwnd99999@aliyun8963,cntaobaoabcdccc9 -cnphpwnd99999@aliyun8964,cntaobaoabcdcccc -cnphpwnd99999@aliyun8965,cntaobaoabcdcctv -cnphpwnd99999@aliyun8966,cntaobaoabcdcfg -cnphpwnd99999@aliyun8967,cntaobaoabcdcheng -cnphpwnd99999@aliyun8968,cntaobaoabcdchenxin -cnphpwnd99999@aliyun8969,cntaobaoabcdcoco -cnphpwnd99999@aliyun8970,cntaobaoabcdcold -cnphpwnd99999@aliyun8971,cntaobaoabcdcp -cnphpwnd99999@aliyun8972,cntaobaoabcdcq -cnphpwnd99999@aliyun8973,cntaobaoabcdcx -cnphpwnd99999@aliyun8974,cntaobaoabcdczj -cnphpwnd99999@aliyun8975,cntaobaoabcdd123 -cnphpwnd99999@aliyun8976,cntaobaoabcdd2004 -cnphpwnd99999@aliyun8977,cntaobaoabcdd258 -cnphpwnd99999@aliyun8978,cntaobaoabcdd325 -cnphpwnd99999@aliyun8979,cntaobaoabcdd5588 -cnphpwnd99999@aliyun8980,cntaobaoabcddbcd -cnphpwnd99999@aliyun8981,cntaobaoabcddcba001100 -cnphpwnd99999@aliyun8982,cntaobaoabcddcba113 -cnphpwnd99999@aliyun8983,cntaobaoabcddcba12345 -cnphpwnd99999@aliyun8984,cntaobaoabcddcba14998 -cnphpwnd99999@aliyun8985,cntaobaoabcddcba21 -cnphpwnd99999@aliyun8986,cntaobaoabcddcba321 -cnphpwnd99999@aliyun8987,cntaobaoabcddcbaabcd -cnphpwnd99999@aliyun8988,cntaobaoabcddd20082008 -cnphpwnd99999@aliyun8989,cntaobaoabcdddam -cnphpwnd99999@aliyun8990,cntaobaoabcddddd -cnphpwnd99999@aliyun8991,cntaobaoabcdddkio -cnphpwnd99999@aliyun8992,cntaobaoabcddef -cnphpwnd99999@aliyun8993,cntaobaoabcddefg -cnphpwnd99999@aliyun8994,cntaobaoabcddoremi -cnphpwnd99999@aliyun8995,cntaobaoabcddx -cnphpwnd99999@aliyun8996,cntaobaoabcddxy -cnphpwnd99999@aliyun8997,cntaobaoabcde -cnphpwnd99999@aliyun8998,cntaobaoabcde-edcba -cnphpwnd99999@aliyun8999,cntaobaoabcde0 -cnphpwnd99999@aliyun9000,cntaobaoabcde00001 -cnphpwnd99999@aliyun9001,cntaobaoabcde001 -cnphpwnd99999@aliyun9002,cntaobaoabcde0012 -cnphpwnd99999@aliyun9003,cntaobaoabcde00788 -cnphpwnd99999@aliyun9004,cntaobaoabcde0088 -cnphpwnd99999@aliyun9005,cntaobaoabcde00_2005 -cnphpwnd99999@aliyun9006,cntaobaoabcde010203 -cnphpwnd99999@aliyun9007,cntaobaoabcde0123 -cnphpwnd99999@aliyun9008,cntaobaoabcde016000 -cnphpwnd99999@aliyun9009,cntaobaoabcde0216898 -cnphpwnd99999@aliyun9010,cntaobaoabcde0220 -cnphpwnd99999@aliyun9011,cntaobaoabcde0286 -cnphpwnd99999@aliyun9012,cntaobaoabcde0315 -cnphpwnd99999@aliyun9013,cntaobaoabcde0320 -cnphpwnd99999@aliyun9014,cntaobaoabcde051223 -cnphpwnd99999@aliyun9015,cntaobaoabcde0537 -cnphpwnd99999@aliyun9016,cntaobaoabcde06 -cnphpwnd99999@aliyun9017,cntaobaoabcde0918 -cnphpwnd99999@aliyun9018,cntaobaoabcde0_2005 -cnphpwnd99999@aliyun9019,cntaobaoabcde1005 -cnphpwnd99999@aliyun9020,cntaobaoabcde10281 -cnphpwnd99999@aliyun9021,cntaobaoabcde10909 -cnphpwnd99999@aliyun9022,cntaobaoabcde110 -cnphpwnd99999@aliyun9023,cntaobaoabcde11111 -cnphpwnd99999@aliyun9024,cntaobaoabcde11111_2005 -cnphpwnd99999@aliyun9025,cntaobaoabcde112 -cnphpwnd99999@aliyun9026,cntaobaoabcde1122 -cnphpwnd99999@aliyun9027,cntaobaoabcde115 -cnphpwnd99999@aliyun9028,cntaobaoabcde118888 -cnphpwnd99999@aliyun9029,cntaobaoabcde11_007 -cnphpwnd99999@aliyun9030,cntaobaoabcde1211 -cnphpwnd99999@aliyun9031,cntaobaoabcde122333444455555 -cnphpwnd99999@aliyun9032,cntaobaoabcde123411 -cnphpwnd99999@aliyun9033,cntaobaoabcde12345 -cnphpwnd99999@aliyun9034,cntaobaoabcde123450123 -cnphpwnd99999@aliyun9035,cntaobaoabcde12345672 -cnphpwnd99999@aliyun9036,cntaobaoabcde12345678 -cnphpwnd99999@aliyun9037,cntaobaoabcde123456789 -cnphpwnd99999@aliyun9038,cntaobaoabcde1234567_007 -cnphpwnd99999@aliyun9039,cntaobaoabcde123456_2005 -cnphpwnd99999@aliyun9040,cntaobaoabcde123456sz -cnphpwnd99999@aliyun9041,cntaobaoabcde1234kkkl -cnphpwnd99999@aliyun9042,cntaobaoabcde123666 -cnphpwnd99999@aliyun9043,cntaobaoabcde1237891 -cnphpwnd99999@aliyun9044,cntaobaoabcde123kk -cnphpwnd99999@aliyun9045,cntaobaoabcde127 -cnphpwnd99999@aliyun9046,cntaobaoabcde1367513 -cnphpwnd99999@aliyun9047,cntaobaoabcde1546 -cnphpwnd99999@aliyun9048,cntaobaoabcde1588 -cnphpwnd99999@aliyun9049,cntaobaoabcde159357 -cnphpwnd99999@aliyun9050,cntaobaoabcde1748 -cnphpwnd99999@aliyun9051,cntaobaoabcde178178 -cnphpwnd99999@aliyun9052,cntaobaoabcde1884 -cnphpwnd99999@aliyun9053,cntaobaoabcde196311 -cnphpwnd99999@aliyun9054,cntaobaoabcde1971 -cnphpwnd99999@aliyun9055,cntaobaoabcde19771224 -cnphpwnd99999@aliyun9056,cntaobaoabcde1984 -cnphpwnd99999@aliyun9057,cntaobaoabcde19edcba -cnphpwnd99999@aliyun9058,cntaobaoabcde1_2005 -cnphpwnd99999@aliyun9059,cntaobaoabcde1fghijk -cnphpwnd99999@aliyun9060,cntaobaoabcde200090 -cnphpwnd99999@aliyun9061,cntaobaoabcde20051 -cnphpwnd99999@aliyun9062,cntaobaoabcde2008f -cnphpwnd99999@aliyun9063,cntaobaoabcde2008fg -cnphpwnd99999@aliyun9064,cntaobaoabcde222333444 -cnphpwnd99999@aliyun9065,cntaobaoabcde277 -cnphpwnd99999@aliyun9066,cntaobaoabcde2849 -cnphpwnd99999@aliyun9067,cntaobaoabcde3 -cnphpwnd99999@aliyun9068,cntaobaoabcde30 -cnphpwnd99999@aliyun9069,cntaobaoabcde3093 -cnphpwnd99999@aliyun9070,cntaobaoabcde33221 -cnphpwnd99999@aliyun9071,cntaobaoabcde333 -cnphpwnd99999@aliyun9072,cntaobaoabcde3399 -cnphpwnd99999@aliyun9073,cntaobaoabcde34511 -cnphpwnd99999@aliyun9074,cntaobaoabcde365 -cnphpwnd99999@aliyun9075,cntaobaoabcde367 -cnphpwnd99999@aliyun9076,cntaobaoabcde3700 -cnphpwnd99999@aliyun9077,cntaobaoabcde38 -cnphpwnd99999@aliyun9078,cntaobaoabcde4085 -cnphpwnd99999@aliyun9079,cntaobaoabcde4226009 -cnphpwnd99999@aliyun9080,cntaobaoabcde423 -cnphpwnd99999@aliyun9081,cntaobaoabcde455 -cnphpwnd99999@aliyun9082,cntaobaoabcde456 -cnphpwnd99999@aliyun9083,cntaobaoabcde456456 -cnphpwnd99999@aliyun9084,cntaobaoabcde5 -cnphpwnd99999@aliyun9085,cntaobaoabcde51666888 -cnphpwnd99999@aliyun9086,cntaobaoabcde520ok -cnphpwnd99999@aliyun9087,cntaobaoabcde52188 -cnphpwnd99999@aliyun9088,cntaobaoabcde529191328 -cnphpwnd99999@aliyun9089,cntaobaoabcde53 -cnphpwnd99999@aliyun9090,cntaobaoabcde530 -cnphpwnd99999@aliyun9091,cntaobaoabcde543210 -cnphpwnd99999@aliyun9092,cntaobaoabcde555 -cnphpwnd99999@aliyun9093,cntaobaoabcde5566 -cnphpwnd99999@aliyun9094,cntaobaoabcde5678 -cnphpwnd99999@aliyun9095,cntaobaoabcde586 -cnphpwnd99999@aliyun9096,cntaobaoabcde58823 -cnphpwnd99999@aliyun9097,cntaobaoabcde59 -cnphpwnd99999@aliyun9098,cntaobaoabcde60406 -cnphpwnd99999@aliyun9099,cntaobaoabcde668899 -cnphpwnd99999@aliyun9100,cntaobaoabcde6789012345 -cnphpwnd99999@aliyun9101,cntaobaoabcde682 -cnphpwnd99999@aliyun9102,cntaobaoabcde724 -cnphpwnd99999@aliyun9103,cntaobaoabcde7412 -cnphpwnd99999@aliyun9104,cntaobaoabcde780330 -cnphpwnd99999@aliyun9105,cntaobaoabcde781 -cnphpwnd99999@aliyun9106,cntaobaoabcde78966 -cnphpwnd99999@aliyun9107,cntaobaoabcde8300 -cnphpwnd99999@aliyun9108,cntaobaoabcde841204com -cnphpwnd99999@aliyun9109,cntaobaoabcde84942 -cnphpwnd99999@aliyun9110,cntaobaoabcde8800 -cnphpwnd99999@aliyun9111,cntaobaoabcde8810 -cnphpwnd99999@aliyun9112,cntaobaoabcde887 -cnphpwnd99999@aliyun9113,cntaobaoabcde88777 -cnphpwnd99999@aliyun9114,cntaobaoabcde8881 -cnphpwnd99999@aliyun9115,cntaobaoabcde88881 -cnphpwnd99999@aliyun9116,cntaobaoabcde88888 -cnphpwnd99999@aliyun9117,cntaobaoabcde911 -cnphpwnd99999@aliyun9118,cntaobaoabcde919 -cnphpwnd99999@aliyun9119,cntaobaoabcde95 -cnphpwnd99999@aliyun9120,cntaobaoabcde958 -cnphpwnd99999@aliyun9121,cntaobaoabcde978 -cnphpwnd99999@aliyun9122,cntaobaoabcde987 -cnphpwnd99999@aliyun9123,cntaobaoabcde9876543210 -cnphpwnd99999@aliyun9124,cntaobaoabcde989 -cnphpwnd99999@aliyun9125,cntaobaoabcde9999 -cnphpwnd99999@aliyun9126,cntaobaoabcde999_999 -cnphpwnd99999@aliyun9127,cntaobaoabcde_ -cnphpwnd99999@aliyun9128,cntaobaoabcde_0000 -cnphpwnd99999@aliyun9129,cntaobaoabcde_00007 -cnphpwnd99999@aliyun9130,cntaobaoabcde_0001 -cnphpwnd99999@aliyun9131,cntaobaoabcde_007_2005 -cnphpwnd99999@aliyun9132,cntaobaoabcde_007_tb -cnphpwnd99999@aliyun9133,cntaobaoabcde_01 -cnphpwnd99999@aliyun9134,cntaobaoabcde_11 -cnphpwnd99999@aliyun9135,cntaobaoabcde_1234566 -cnphpwnd99999@aliyun9136,cntaobaoabcde_12345_007 -cnphpwnd99999@aliyun9137,cntaobaoabcde_123_2005 -cnphpwnd99999@aliyun9138,cntaobaoabcde_168149 -cnphpwnd99999@aliyun9139,cntaobaoabcde_2005 -cnphpwnd99999@aliyun9140,cntaobaoabcde_4444_2005 -cnphpwnd99999@aliyun9141,cntaobaoabcde_abcdef -cnphpwnd99999@aliyun9142,cntaobaoabcde_cn -cnphpwnd99999@aliyun9143,cntaobaoabcde_qt -cnphpwnd99999@aliyun9144,cntaobaoabcde_qtds -cnphpwnd99999@aliyun9145,cntaobaoabcde_tb -cnphpwnd99999@aliyun9146,cntaobaoabcdea2005 -cnphpwnd99999@aliyun9147,cntaobaoabcdea520 -cnphpwnd99999@aliyun9148,cntaobaoabcdeab_2004 -cnphpwnd99999@aliyun9149,cntaobaoabcdeabbbc -cnphpwnd99999@aliyun9150,cntaobaoabcdeabcde01234 -cnphpwnd99999@aliyun9151,cntaobaoabcdeabcde9 -cnphpwnd99999@aliyun9152,cntaobaoabcdeabcdeabcde -cnphpwnd99999@aliyun9153,cntaobaoabcdeamwfn -cnphpwnd99999@aliyun9154,cntaobaoabcdebb88 -cnphpwnd99999@aliyun9155,cntaobaoabcdeda -cnphpwnd99999@aliyun9156,cntaobaoabcdedcba1223 -cnphpwnd99999@aliyun9157,cntaobaoabcdeddfdfdfdssd -cnphpwnd99999@aliyun9158,cntaobaoabcdediaodiao -cnphpwnd99999@aliyun9159,cntaobaoabcdedyl -cnphpwnd99999@aliyun9160,cntaobaoabcdeee3 -cnphpwnd99999@aliyun9161,cntaobaoabcdef -cnphpwnd99999@aliyun9162,cntaobaoabcdef-7788 -cnphpwnd99999@aliyun9163,cntaobaoabcdef00 -cnphpwnd99999@aliyun9164,cntaobaoabcdef000 -cnphpwnd99999@aliyun9165,cntaobaoabcdef0000 -cnphpwnd99999@aliyun9166,cntaobaoabcdef00123 -cnphpwnd99999@aliyun9167,cntaobaoabcdef008 -cnphpwnd99999@aliyun9168,cntaobaoabcdef0102 -cnphpwnd99999@aliyun9169,cntaobaoabcdef03500 -cnphpwnd99999@aliyun9170,cntaobaoabcdef0375 -cnphpwnd99999@aliyun9171,cntaobaoabcdef042 -cnphpwnd99999@aliyun9172,cntaobaoabcdef050 -cnphpwnd99999@aliyun9173,cntaobaoabcdef0545 -cnphpwnd99999@aliyun9174,cntaobaoabcdef0831 -cnphpwnd99999@aliyun9175,cntaobaoabcdef1 -cnphpwnd99999@aliyun9176,cntaobaoabcdef100 -cnphpwnd99999@aliyun9177,cntaobaoabcdef101202 -cnphpwnd99999@aliyun9178,cntaobaoabcdef1108 -cnphpwnd99999@aliyun9179,cntaobaoabcdef11111 -cnphpwnd99999@aliyun9180,cntaobaoabcdef11134 -cnphpwnd99999@aliyun9181,cntaobaoabcdef111343 -cnphpwnd99999@aliyun9182,cntaobaoabcdef111345 -cnphpwnd99999@aliyun9183,cntaobaoabcdef111346 -cnphpwnd99999@aliyun9184,cntaobaoabcdef1122ab -cnphpwnd99999@aliyun9185,cntaobaoabcdef1200 -cnphpwnd99999@aliyun9186,cntaobaoabcdef1203 -cnphpwnd99999@aliyun9187,cntaobaoabcdef1223456 -cnphpwnd99999@aliyun9188,cntaobaoabcdef123 -cnphpwnd99999@aliyun9189,cntaobaoabcdef1230123 -cnphpwnd99999@aliyun9190,cntaobaoabcdef123112 -cnphpwnd99999@aliyun9191,cntaobaoabcdef123123 -cnphpwnd99999@aliyun9192,cntaobaoabcdef1234 -cnphpwnd99999@aliyun9193,cntaobaoabcdef123455 -cnphpwnd99999@aliyun9194,cntaobaoabcdef123456 -cnphpwnd99999@aliyun9195,cntaobaoabcdef123456123 -cnphpwnd99999@aliyun9196,cntaobaoabcdef12345678 -cnphpwnd99999@aliyun9197,cntaobaoabcdef123_007 -cnphpwnd99999@aliyun9198,cntaobaoabcdef123aa -cnphpwnd99999@aliyun9199,cntaobaoabcdef123d -cnphpwnd99999@aliyun9200,cntaobaoabcdef123t -cnphpwnd99999@aliyun9201,cntaobaoabcdef128 -cnphpwnd99999@aliyun9202,cntaobaoabcdef129 -cnphpwnd99999@aliyun9203,cntaobaoabcdef168 -cnphpwnd99999@aliyun9204,cntaobaoabcdef18 -cnphpwnd99999@aliyun9205,cntaobaoabcdef180 -cnphpwnd99999@aliyun9206,cntaobaoabcdef1840 -cnphpwnd99999@aliyun9207,cntaobaoabcdef1969 -cnphpwnd99999@aliyun9208,cntaobaoabcdef1975 -cnphpwnd99999@aliyun9209,cntaobaoabcdef1985 -cnphpwnd99999@aliyun9210,cntaobaoabcdef198606 -cnphpwnd99999@aliyun9211,cntaobaoabcdef1987 -cnphpwnd99999@aliyun9212,cntaobaoabcdef199 -cnphpwnd99999@aliyun9213,cntaobaoabcdef1993 -cnphpwnd99999@aliyun9214,cntaobaoabcdef1_2005 -cnphpwnd99999@aliyun9215,cntaobaoabcdef20001976 -cnphpwnd99999@aliyun9216,cntaobaoabcdef2004 -cnphpwnd99999@aliyun9217,cntaobaoabcdef2005007 -cnphpwnd99999@aliyun9218,cntaobaoabcdef20061007 -cnphpwnd99999@aliyun9219,cntaobaoabcdef2008 -cnphpwnd99999@aliyun9220,cntaobaoabcdef212 -cnphpwnd99999@aliyun9221,cntaobaoabcdef212004 -cnphpwnd99999@aliyun9222,cntaobaoabcdef220330 -cnphpwnd99999@aliyun9223,cntaobaoabcdef2579 -cnphpwnd99999@aliyun9224,cntaobaoabcdef263 -cnphpwnd99999@aliyun9225,cntaobaoabcdef2801 -cnphpwnd99999@aliyun9226,cntaobaoabcdef2_2005 -cnphpwnd99999@aliyun9227,cntaobaoabcdef34011 -cnphpwnd99999@aliyun9228,cntaobaoabcdef4 -cnphpwnd99999@aliyun9229,cntaobaoabcdef40388 -cnphpwnd99999@aliyun9230,cntaobaoabcdef44 -cnphpwnd99999@aliyun9231,cntaobaoabcdef4561 -cnphpwnd99999@aliyun9232,cntaobaoabcdef4_car -cnphpwnd99999@aliyun9233,cntaobaoabcdef4jin -cnphpwnd99999@aliyun9234,cntaobaoabcdef5036152 -cnphpwnd99999@aliyun9235,cntaobaoabcdef53 -cnphpwnd99999@aliyun9236,cntaobaoabcdef55226677 -cnphpwnd99999@aliyun9237,cntaobaoabcdef6 -cnphpwnd99999@aliyun9238,cntaobaoabcdef622 -cnphpwnd99999@aliyun9239,cntaobaoabcdef63315 -cnphpwnd99999@aliyun9240,cntaobaoabcdef651015 -cnphpwnd99999@aliyun9241,cntaobaoabcdef6626 -cnphpwnd99999@aliyun9242,cntaobaoabcdef666666 -cnphpwnd99999@aliyun9243,cntaobaoabcdef6688 -cnphpwnd99999@aliyun9244,cntaobaoabcdef67 -cnphpwnd99999@aliyun9245,cntaobaoabcdef7 -cnphpwnd99999@aliyun9246,cntaobaoabcdef700 -cnphpwnd99999@aliyun9247,cntaobaoabcdef77 -cnphpwnd99999@aliyun9248,cntaobaoabcdef7891 -cnphpwnd99999@aliyun9249,cntaobaoabcdef828282 -cnphpwnd99999@aliyun9250,cntaobaoabcdef841019 -cnphpwnd99999@aliyun9251,cntaobaoabcdef8533 -cnphpwnd99999@aliyun9252,cntaobaoabcdef861 -cnphpwnd99999@aliyun9253,cntaobaoabcdef87 -cnphpwnd99999@aliyun9254,cntaobaoabcdef8746142 -cnphpwnd99999@aliyun9255,cntaobaoabcdef88 -cnphpwnd99999@aliyun9256,cntaobaoabcdef888888 -cnphpwnd99999@aliyun9257,cntaobaoabcdef9518 -cnphpwnd99999@aliyun9258,cntaobaoabcdef987_2005 -cnphpwnd99999@aliyun9259,cntaobaoabcdef993255123 -cnphpwnd99999@aliyun9260,cntaobaoabcdef99_2005 -cnphpwnd99999@aliyun9261,cntaobaoabcdef_01 -cnphpwnd99999@aliyun9262,cntaobaoabcdef_012345 -cnphpwnd99999@aliyun9263,cntaobaoabcdef_0451 -cnphpwnd99999@aliyun9264,cntaobaoabcdef_1234567 -cnphpwnd99999@aliyun9265,cntaobaoabcdef_200588 -cnphpwnd99999@aliyun9266,cntaobaoabcdef_5221ffff -cnphpwnd99999@aliyun9267,cntaobaoabcdef_long -cnphpwnd99999@aliyun9268,cntaobaoabcdef_qqak -cnphpwnd99999@aliyun9269,cntaobaoabcdefab -cnphpwnd99999@aliyun9270,cntaobaoabcdefabcde -cnphpwnd99999@aliyun9271,cntaobaoabcdefad -cnphpwnd99999@aliyun9272,cntaobaoabcdefah -cnphpwnd99999@aliyun9273,cntaobaoabcdefaq -cnphpwnd99999@aliyun9274,cntaobaoabcdefbi -cnphpwnd99999@aliyun9275,cntaobaoabcdefcat -cnphpwnd99999@aliyun9276,cntaobaoabcdefch -cnphpwnd99999@aliyun9277,cntaobaoabcdefcn224 -cnphpwnd99999@aliyun9278,cntaobaoabcdefe123 -cnphpwnd99999@aliyun9279,cntaobaoabcdeffj -cnphpwnd99999@aliyun9280,cntaobaoabcdeffly -cnphpwnd99999@aliyun9281,cntaobaoabcdeffox -cnphpwnd99999@aliyun9282,cntaobaoabcdeffyh -cnphpwnd99999@aliyun9283,cntaobaoabcdefg -cnphpwnd99999@aliyun9284,cntaobaoabcdefg-088 -cnphpwnd99999@aliyun9285,cntaobaoabcdefg0 -cnphpwnd99999@aliyun9286,cntaobaoabcdefg0000ppp -cnphpwnd99999@aliyun9287,cntaobaoabcdefg001 -cnphpwnd99999@aliyun9288,cntaobaoabcdefg001122 -cnphpwnd99999@aliyun9289,cntaobaoabcdefg0015 -cnphpwnd99999@aliyun9290,cntaobaoabcdefg007038 -cnphpwnd99999@aliyun9291,cntaobaoabcdefg008 -cnphpwnd99999@aliyun9292,cntaobaoabcdefg0107 -cnphpwnd99999@aliyun9293,cntaobaoabcdefg03 -cnphpwnd99999@aliyun9294,cntaobaoabcdefg030340129 -cnphpwnd99999@aliyun9295,cntaobaoabcdefg05 -cnphpwnd99999@aliyun9296,cntaobaoabcdefg0918 -cnphpwnd99999@aliyun9297,cntaobaoabcdefg100 -cnphpwnd99999@aliyun9298,cntaobaoabcdefg1102 -cnphpwnd99999@aliyun9299,cntaobaoabcdefg11088 -cnphpwnd99999@aliyun9300,cntaobaoabcdefg1111111 -cnphpwnd99999@aliyun9301,cntaobaoabcdefg1112 -cnphpwnd99999@aliyun9302,cntaobaoabcdefg114 -cnphpwnd99999@aliyun9303,cntaobaoabcdefg12 -cnphpwnd99999@aliyun9304,cntaobaoabcdefg1207 -cnphpwnd99999@aliyun9305,cntaobaoabcdefg123 -cnphpwnd99999@aliyun9306,cntaobaoabcdefg123000 -cnphpwnd99999@aliyun9307,cntaobaoabcdefg123123 -cnphpwnd99999@aliyun9308,cntaobaoabcdefg12312388 -cnphpwnd99999@aliyun9309,cntaobaoabcdefg12333 -cnphpwnd99999@aliyun9310,cntaobaoabcdefg12341 -cnphpwnd99999@aliyun9311,cntaobaoabcdefg1234509876 -cnphpwnd99999@aliyun9312,cntaobaoabcdefg12345677 -cnphpwnd99999@aliyun9313,cntaobaoabcdefg1234567_qq -cnphpwnd99999@aliyun9314,cntaobaoabcdefg12345699 -cnphpwnd99999@aliyun9315,cntaobaoabcdefg123456_7890 -cnphpwnd99999@aliyun9316,cntaobaoabcdefg123456fr -cnphpwnd99999@aliyun9317,cntaobaoabcdefg12348 -cnphpwnd99999@aliyun9318,cntaobaoabcdefg1234aaa -cnphpwnd99999@aliyun9319,cntaobaoabcdefg123654789 -cnphpwnd99999@aliyun9320,cntaobaoabcdefg12399 -cnphpwnd99999@aliyun9321,cntaobaoabcdefg12_007 -cnphpwnd99999@aliyun9322,cntaobaoabcdefg13074028594 -cnphpwnd99999@aliyun9323,cntaobaoabcdefg13724319131 -cnphpwnd99999@aliyun9324,cntaobaoabcdefg159357 -cnphpwnd99999@aliyun9325,cntaobaoabcdefg186 -cnphpwnd99999@aliyun9326,cntaobaoabcdefg1888888 -cnphpwnd99999@aliyun9327,cntaobaoabcdefg19771111 -cnphpwnd99999@aliyun9328,cntaobaoabcdefg19780629 -cnphpwnd99999@aliyun9329,cntaobaoabcdefg19780904 -cnphpwnd99999@aliyun9330,cntaobaoabcdefg19820824 -cnphpwnd99999@aliyun9331,cntaobaoabcdefg1986 -cnphpwnd99999@aliyun9332,cntaobaoabcdefg19881029 -cnphpwnd99999@aliyun9333,cntaobaoabcdefg1995 -cnphpwnd99999@aliyun9334,cntaobaoabcdefg20000720 -cnphpwnd99999@aliyun9335,cntaobaoabcdefg2002 -cnphpwnd99999@aliyun9336,cntaobaoabcdefg20052 -cnphpwnd99999@aliyun9337,cntaobaoabcdefg20052005 -cnphpwnd99999@aliyun9338,cntaobaoabcdefg20065 -cnphpwnd99999@aliyun9339,cntaobaoabcdefg20069 -cnphpwnd99999@aliyun9340,cntaobaoabcdefg200699 -cnphpwnd99999@aliyun9341,cntaobaoabcdefg2006_tb -cnphpwnd99999@aliyun9342,cntaobaoabcdefg20088 -cnphpwnd99999@aliyun9343,cntaobaoabcdefg2009 -cnphpwnd99999@aliyun9344,cntaobaoabcdefg202800 -cnphpwnd99999@aliyun9345,cntaobaoabcdefg2107 -cnphpwnd99999@aliyun9346,cntaobaoabcdefg23456 -cnphpwnd99999@aliyun9347,cntaobaoabcdefg2396 -cnphpwnd99999@aliyun9348,cntaobaoabcdefg23tl -cnphpwnd99999@aliyun9349,cntaobaoabcdefg25 -cnphpwnd99999@aliyun9350,cntaobaoabcdefg2697 -cnphpwnd99999@aliyun9351,cntaobaoabcdefg3215 -cnphpwnd99999@aliyun9352,cntaobaoabcdefg321678 -cnphpwnd99999@aliyun9353,cntaobaoabcdefg33 -cnphpwnd99999@aliyun9354,cntaobaoabcdefg3510 -cnphpwnd99999@aliyun9355,cntaobaoabcdefg365 -cnphpwnd99999@aliyun9356,cntaobaoabcdefg383838 -cnphpwnd99999@aliyun9357,cntaobaoabcdefg44445555 -cnphpwnd99999@aliyun9358,cntaobaoabcdefg4980 -cnphpwnd99999@aliyun9359,cntaobaoabcdefg518 -cnphpwnd99999@aliyun9360,cntaobaoabcdefg520 -cnphpwnd99999@aliyun9361,cntaobaoabcdefg52113 -cnphpwnd99999@aliyun9362,cntaobaoabcdefg5302 -cnphpwnd99999@aliyun9363,cntaobaoabcdefg555 -cnphpwnd99999@aliyun9364,cntaobaoabcdefg55806160 -cnphpwnd99999@aliyun9365,cntaobaoabcdefg5621890 -cnphpwnd99999@aliyun9366,cntaobaoabcdefg6 -cnphpwnd99999@aliyun9367,cntaobaoabcdefg6166 -cnphpwnd99999@aliyun9368,cntaobaoabcdefg721113 -cnphpwnd99999@aliyun9369,cntaobaoabcdefg726520 -cnphpwnd99999@aliyun9370,cntaobaoabcdefg74_79 -cnphpwnd99999@aliyun9371,cntaobaoabcdefg7654321 -cnphpwnd99999@aliyun9372,cntaobaoabcdefg780629 -cnphpwnd99999@aliyun9373,cntaobaoabcdefg800811 -cnphpwnd99999@aliyun9374,cntaobaoabcdefg81 -cnphpwnd99999@aliyun9375,cntaobaoabcdefg822222 -cnphpwnd99999@aliyun9376,cntaobaoabcdefg8310 -cnphpwnd99999@aliyun9377,cntaobaoabcdefg840916 -cnphpwnd99999@aliyun9378,cntaobaoabcdefg88 -cnphpwnd99999@aliyun9379,cntaobaoabcdefg881 -cnphpwnd99999@aliyun9380,cntaobaoabcdefg883 -cnphpwnd99999@aliyun9381,cntaobaoabcdefg8848 -cnphpwnd99999@aliyun9382,cntaobaoabcdefg8888 -cnphpwnd99999@aliyun9383,cntaobaoabcdefg88888 -cnphpwnd99999@aliyun9384,cntaobaoabcdefg8899 -cnphpwnd99999@aliyun9385,cntaobaoabcdefg88_007 -cnphpwnd99999@aliyun9386,cntaobaoabcdefg88_2005 -cnphpwnd99999@aliyun9387,cntaobaoabcdefg899 -cnphpwnd99999@aliyun9388,cntaobaoabcdefg89999 -cnphpwnd99999@aliyun9389,cntaobaoabcdefg9 -cnphpwnd99999@aliyun9390,cntaobaoabcdefg909 -cnphpwnd99999@aliyun9391,cntaobaoabcdefg9182736455 -cnphpwnd99999@aliyun9392,cntaobaoabcdefg9208 -cnphpwnd99999@aliyun9393,cntaobaoabcdefg923 -cnphpwnd99999@aliyun9394,cntaobaoabcdefg987 -cnphpwnd99999@aliyun9395,cntaobaoabcdefg_001 -cnphpwnd99999@aliyun9396,cntaobaoabcdefg_00456 -cnphpwnd99999@aliyun9397,cntaobaoabcdefg_008 -cnphpwnd99999@aliyun9398,cntaobaoabcdefg_1233 -cnphpwnd99999@aliyun9399,cntaobaoabcdefg_1234 -cnphpwnd99999@aliyun9400,cntaobaoabcdefg_1470 -cnphpwnd99999@aliyun9401,cntaobaoabcdefg_20056 -cnphpwnd99999@aliyun9402,cntaobaoabcdefg_20058 -cnphpwnd99999@aliyun9403,cntaobaoabcdefg_369369 -cnphpwnd99999@aliyun9404,cntaobaoabcdefg_6833 -cnphpwnd99999@aliyun9405,cntaobaoabcdefg_bt -cnphpwnd99999@aliyun9406,cntaobaoabcdefgabcdef -cnphpwnd99999@aliyun9407,cntaobaoabcdefgabcdefg_tb -cnphpwnd99999@aliyun9408,cntaobaoabcdefgbobo -cnphpwnd99999@aliyun9409,cntaobaoabcdefgciac -cnphpwnd99999@aliyun9410,cntaobaoabcdefgcn -cnphpwnd99999@aliyun9411,cntaobaoabcdefgd -cnphpwnd99999@aliyun9412,cntaobaoabcdefgefghij -cnphpwnd99999@aliyun9413,cntaobaoabcdefgf_007 -cnphpwnd99999@aliyun9414,cntaobaoabcdefgfedcba1 -cnphpwnd99999@aliyun9415,cntaobaoabcdefggfe521 -cnphpwnd99999@aliyun9416,cntaobaoabcdefggfedcba -cnphpwnd99999@aliyun9417,cntaobaoabcdefggfedcba_2005 -cnphpwnd99999@aliyun9418,cntaobaoabcdefgggg -cnphpwnd99999@aliyun9419,cntaobaoabcdefgguo -cnphpwnd99999@aliyun9420,cntaobaoabcdefgh -cnphpwnd99999@aliyun9421,cntaobaoabcdefgh-004 -cnphpwnd99999@aliyun9422,cntaobaoabcdefgh118 -cnphpwnd99999@aliyun9423,cntaobaoabcdefgh118501 -cnphpwnd99999@aliyun9424,cntaobaoabcdefgh12 -cnphpwnd99999@aliyun9425,cntaobaoabcdefgh123 -cnphpwnd99999@aliyun9426,cntaobaoabcdefgh1232 -cnphpwnd99999@aliyun9427,cntaobaoabcdefgh123321 -cnphpwnd99999@aliyun9428,cntaobaoabcdefgh1234 -cnphpwnd99999@aliyun9429,cntaobaoabcdefgh12345678 -cnphpwnd99999@aliyun9430,cntaobaoabcdefgh131731 -cnphpwnd99999@aliyun9431,cntaobaoabcdefgh15 -cnphpwnd99999@aliyun9432,cntaobaoabcdefgh2 -cnphpwnd99999@aliyun9433,cntaobaoabcdefgh200588 -cnphpwnd99999@aliyun9434,cntaobaoabcdefgh333 -cnphpwnd99999@aliyun9435,cntaobaoabcdefgh456 -cnphpwnd99999@aliyun9436,cntaobaoabcdefgh4561 -cnphpwnd99999@aliyun9437,cntaobaoabcdefgh51 -cnphpwnd99999@aliyun9438,cntaobaoabcdefgh6375175 -cnphpwnd99999@aliyun9439,cntaobaoabcdefgh777 -cnphpwnd99999@aliyun9440,cntaobaoabcdefgh88188 -cnphpwnd99999@aliyun9441,cntaobaoabcdefgh_2006 -cnphpwnd99999@aliyun9442,cntaobaoabcdefghabcdefgh -cnphpwnd99999@aliyun9443,cntaobaoabcdefghas -cnphpwnd99999@aliyun9444,cntaobaoabcdefghhaier -cnphpwnd99999@aliyun9445,cntaobaoabcdefghi10 -cnphpwnd99999@aliyun9446,cntaobaoabcdefghi12 -cnphpwnd99999@aliyun9447,cntaobaoabcdefghi121031 -cnphpwnd99999@aliyun9448,cntaobaoabcdefghi4549_cn -cnphpwnd99999@aliyun9449,cntaobaoabcdefghi6 -cnphpwnd99999@aliyun9450,cntaobaoabcdefghi99 -cnphpwnd99999@aliyun9451,cntaobaoabcdefghig1 -cnphpwnd99999@aliyun9452,cntaobaoabcdefghig3 -cnphpwnd99999@aliyun9453,cntaobaoabcdefghigk183434 -cnphpwnd99999@aliyun9454,cntaobaoabcdefghigklmn -cnphpwnd99999@aliyun9455,cntaobaoabcdefghij0909 -cnphpwnd99999@aliyun9456,cntaobaoabcdefghijf -cnphpwnd99999@aliyun9457,cntaobaoabcdefghijik -cnphpwnd99999@aliyun9458,cntaobaoabcdefghijj -cnphpwnd99999@aliyun9459,cntaobaoabcdefghijk1 -cnphpwnd99999@aliyun9460,cntaobaoabcdefghijk200588 -cnphpwnd99999@aliyun9461,cntaobaoabcdefghijk200888 -cnphpwnd99999@aliyun9462,cntaobaoabcdefghijk22 -cnphpwnd99999@aliyun9463,cntaobaoabcdefghijk321 -cnphpwnd99999@aliyun9464,cntaobaoabcdefghijk7 -cnphpwnd99999@aliyun9465,cntaobaoabcdefghijk88_2005 -cnphpwnd99999@aliyun9466,cntaobaoabcdefghijk9 -cnphpwnd99999@aliyun9467,cntaobaoabcdefghijki -cnphpwnd99999@aliyun9468,cntaobaoabcdefghijkl88 -cnphpwnd99999@aliyun9469,cntaobaoabcdefghijkl_007 -cnphpwnd99999@aliyun9470,cntaobaoabcdefghijkll35 -cnphpwnd99999@aliyun9471,cntaobaoabcdefghijklm6 -cnphpwnd99999@aliyun9472,cntaobaoabcdefghijklmn12 -cnphpwnd99999@aliyun9473,cntaobaoabcdefghijklmn1314 -cnphpwnd99999@aliyun9474,cntaobaoabcdefghijklmna88 -cnphpwnd99999@aliyun9475,cntaobaoabcdefghijklmnopq789 -cnphpwnd99999@aliyun9476,cntaobaoabcdefghijklmnopqrst -cnphpwnd99999@aliyun9477,cntaobaoabcdefghijklpopo -cnphpwnd99999@aliyun9478,cntaobaoabcdefghim -cnphpwnd99999@aliyun9479,cntaobaoabcdefghio -cnphpwnd99999@aliyun9480,cntaobaoabcdefghip -cnphpwnd99999@aliyun9481,cntaobaoabcdefghit -cnphpwnd99999@aliyun9482,cntaobaoabcdefghj11 -cnphpwnd99999@aliyun9483,cntaobaoabcdefghjk -cnphpwnd99999@aliyun9484,cntaobaoabcdefghjk_007 -cnphpwnd99999@aliyun9485,cntaobaoabcdefghjkil -cnphpwnd99999@aliyun9486,cntaobaoabcdefghjkl -cnphpwnd99999@aliyun9487,cntaobaoabcdefghjz_2008å«å†° -cnphpwnd99999@aliyun9488,cntaobaoabcdefghl -cnphpwnd99999@aliyun9489,cntaobaoabcdefghljkimn -cnphpwnd99999@aliyun9490,cntaobaoabcdefghlm -cnphpwnd99999@aliyun9491,cntaobaoabcdefghp -cnphpwnd99999@aliyun9492,cntaobaoabcdefghufo -cnphpwnd99999@aliyun9493,cntaobaoabcdefghxb -cnphpwnd99999@aliyun9494,cntaobaoabcdefghxyz -cnphpwnd99999@aliyun9495,cntaobaoabcdefghyjklmn88 -cnphpwnd99999@aliyun9496,cntaobaoabcdefgi -cnphpwnd99999@aliyun9497,cntaobaoabcdefgi88 -cnphpwnd99999@aliyun9498,cntaobaoabcdefgijklmn -cnphpwnd99999@aliyun9499,cntaobaoabcdefgjijk -cnphpwnd99999@aliyun9500,cntaobaoabcdefgjl112345 -cnphpwnd99999@aliyun9501,cntaobaoabcdefgk52 -cnphpwnd99999@aliyun9502,cntaobaoabcdefglan -cnphpwnd99999@aliyun9503,cntaobaoabcdefglkjh -cnphpwnd99999@aliyun9504,cntaobaoabcdefglove -cnphpwnd99999@aliyun9505,cntaobaoabcdefgmn -cnphpwnd99999@aliyun9506,cntaobaoabcdefgnm -cnphpwnd99999@aliyun9507,cntaobaoabcdefgq -cnphpwnd99999@aliyun9508,cntaobaoabcdefgq1234567 -cnphpwnd99999@aliyun9509,cntaobaoabcdefgq_tb -cnphpwnd99999@aliyun9510,cntaobaoabcdefgss -cnphpwnd99999@aliyun9511,cntaobaoabcdefgswd -cnphpwnd99999@aliyun9512,cntaobaoabcdefgtc -cnphpwnd99999@aliyun9513,cntaobaoabcdefgwhr -cnphpwnd99999@aliyun9514,cntaobaoabcdefgwjc -cnphpwnd99999@aliyun9515,cntaobaoabcdefgwm -cnphpwnd99999@aliyun9516,cntaobaoabcdefgxx -cnphpwnd99999@aliyun9517,cntaobaoabcdefgy -cnphpwnd99999@aliyun9518,cntaobaoabcdefgying -cnphpwnd99999@aliyun9519,cntaobaoabcdefgyo -cnphpwnd99999@aliyun9520,cntaobaoabcdefgyxb -cnphpwnd99999@aliyun9521,cntaobaoabcdefgz8 -cnphpwnd99999@aliyun9522,cntaobaoabcdefgzcm3651080546518 -cnphpwnd99999@aliyun9523,cntaobaoabcdefgzxq -cnphpwnd99999@aliyun9524,cntaobaoabcdefgzy -cnphpwnd99999@aliyun9525,cntaobaoabcdefh1 -cnphpwnd99999@aliyun9526,cntaobaoabcdefh2005 -cnphpwnd99999@aliyun9527,cntaobaoabcdefht -cnphpwnd99999@aliyun9528,cntaobaoabcdefigo -cnphpwnd99999@aliyun9529,cntaobaoabcdefj -cnphpwnd99999@aliyun9530,cntaobaoabcdefj001 -cnphpwnd99999@aliyun9531,cntaobaoabcdefj09 -cnphpwnd99999@aliyun9532,cntaobaoabcdefj123 -cnphpwnd99999@aliyun9533,cntaobaoabcdefj123456_2005 -cnphpwnd99999@aliyun9534,cntaobaoabcdefj13lian -cnphpwnd99999@aliyun9535,cntaobaoabcdefj5 -cnphpwnd99999@aliyun9536,cntaobaoabcdefj_2005 -cnphpwnd99999@aliyun9537,cntaobaoabcdefjay -cnphpwnd99999@aliyun9538,cntaobaoabcdefjh_xy -cnphpwnd99999@aliyun9539,cntaobaoabcdefjhi123456 -cnphpwnd99999@aliyun9540,cntaobaoabcdefjhijk -cnphpwnd99999@aliyun9541,cntaobaoabcdefjhijkk -cnphpwnd99999@aliyun9542,cntaobaoabcdefjhijklmn -cnphpwnd99999@aliyun9543,cntaobaoabcdefjhijklmn1 -cnphpwnd99999@aliyun9544,cntaobaoabcdefjk88 -cnphpwnd99999@aliyun9545,cntaobaoabcdefjkc -cnphpwnd99999@aliyun9546,cntaobaoabcdeflulu -cnphpwnd99999@aliyun9547,cntaobaoabcdeflzx -cnphpwnd99999@aliyun9548,cntaobaoabcdefmlh -cnphpwnd99999@aliyun9549,cntaobaoabcdefok88 -cnphpwnd99999@aliyun9550,cntaobaoabcdefqm -cnphpwnd99999@aliyun9551,cntaobaoabcdefr -cnphpwnd99999@aliyun9552,cntaobaoabcdefsnoopy -cnphpwnd99999@aliyun9553,cntaobaoabcdefsong -cnphpwnd99999@aliyun9554,cntaobaoabcdefu571 -cnphpwnd99999@aliyun9555,cntaobaoabcdefv6 -cnphpwnd99999@aliyun9556,cntaobaoabcdefwu -cnphpwnd99999@aliyun9557,cntaobaoabcdefx -cnphpwnd99999@aliyun9558,cntaobaoabcdefx1984 -cnphpwnd99999@aliyun9559,cntaobaoabcdefxyz1 -cnphpwnd99999@aliyun9560,cntaobaoabcdefz -cnphpwnd99999@aliyun9561,cntaobaoabcdefz1234567 -cnphpwnd99999@aliyun9562,cntaobaoabcdeg_2005 -cnphpwnd99999@aliyun9563,cntaobaoabcdegf200 -cnphpwnd99999@aliyun9564,cntaobaoabcdegwc -cnphpwnd99999@aliyun9565,cntaobaoabcdeh9898 -cnphpwnd99999@aliyun9566,cntaobaoabcdehappy -cnphpwnd99999@aliyun9567,cntaobaoabcdehhy -cnphpwnd99999@aliyun9568,cntaobaoabcdehijk -cnphpwnd99999@aliyun9569,cntaobaoabcdehj -cnphpwnd99999@aliyun9570,cntaobaoabcdehl -cnphpwnd99999@aliyun9571,cntaobaoabcdeht -cnphpwnd99999@aliyun9572,cntaobaoabcdehty -cnphpwnd99999@aliyun9573,cntaobaoabcdeiwing -cnphpwnd99999@aliyun9574,cntaobaoabcdej -cnphpwnd99999@aliyun9575,cntaobaoabcdejian -cnphpwnd99999@aliyun9576,cntaobaoabcdekk -cnphpwnd99999@aliyun9577,cntaobaoabcdekof -cnphpwnd99999@aliyun9578,cntaobaoabcdelang -cnphpwnd99999@aliyun9579,cntaobaoabcdelele -cnphpwnd99999@aliyun9580,cntaobaoabcdeliuqiang -cnphpwnd99999@aliyun9581,cntaobaoabcdelong -cnphpwnd99999@aliyun9582,cntaobaoabcdelw -cnphpwnd99999@aliyun9583,cntaobaoabcdely -cnphpwnd99999@aliyun9584,cntaobaoabcdely12345 -cnphpwnd99999@aliyun9585,cntaobaoabcden -cnphpwnd99999@aliyun9586,cntaobaoabcdend -cnphpwnd99999@aliyun9587,cntaobaoabcdenew -cnphpwnd99999@aliyun9588,cntaobaoabcdeone -cnphpwnd99999@aliyun9589,cntaobaoabcdepwq -cnphpwnd99999@aliyun9590,cntaobaoabcder -cnphpwnd99999@aliyun9591,cntaobaoabcder2320 -cnphpwnd99999@aliyun9592,cntaobaoabcder6 -cnphpwnd99999@aliyun9593,cntaobaoabcderg123 -cnphpwnd99999@aliyun9594,cntaobaoabcderoger -cnphpwnd99999@aliyun9595,cntaobaoabcdestar -cnphpwnd99999@aliyun9596,cntaobaoabcdett -cnphpwnd99999@aliyun9597,cntaobaoabcdewlwl -cnphpwnd99999@aliyun9598,cntaobaoabcdewn -cnphpwnd99999@aliyun9599,cntaobaoabcdewwww -cnphpwnd99999@aliyun9600,cntaobaoabcdewymh -cnphpwnd99999@aliyun9601,cntaobaoabcdext -cnphpwnd99999@aliyun9602,cntaobaoabcdeyanjun76 -cnphpwnd99999@aliyun9603,cntaobaoabcdeyexin -cnphpwnd99999@aliyun9604,cntaobaoabcdeyniwks1986 -cnphpwnd99999@aliyun9605,cntaobaoabcdezhouyuerude -cnphpwnd99999@aliyun9606,cntaobaoabcde胡柚昌 -cnphpwnd99999@aliyun9607,cntaobaoabcde金瓶 -cnphpwnd99999@aliyun9608,cntaobaoabcdf -cnphpwnd99999@aliyun9609,cntaobaoabcdf130 -cnphpwnd99999@aliyun9610,cntaobaoabcdf13822 -cnphpwnd99999@aliyun9611,cntaobaoabcdf233 -cnphpwnd99999@aliyun9612,cntaobaoabcdf278278 -cnphpwnd99999@aliyun9613,cntaobaoabcdf39867636 -cnphpwnd99999@aliyun9614,cntaobaoabcdf7762 -cnphpwnd99999@aliyun9615,cntaobaoabcdf_tb -cnphpwnd99999@aliyun9616,cntaobaoabcdfans -cnphpwnd99999@aliyun9617,cntaobaoabcdff -cnphpwnd99999@aliyun9618,cntaobaoabcdffr -cnphpwnd99999@aliyun9619,cntaobaoabcdfg1 -cnphpwnd99999@aliyun9620,cntaobaoabcdfg77 -cnphpwnd99999@aliyun9621,cntaobaoabcdfg_2005 -cnphpwnd99999@aliyun9622,cntaobaoabcdfg_tb -cnphpwnd99999@aliyun9623,cntaobaoabcdfggf -cnphpwnd99999@aliyun9624,cntaobaoabcdfgh328 -cnphpwnd99999@aliyun9625,cntaobaoabcdfgoooo -cnphpwnd99999@aliyun9626,cntaobaoabcdg0308 -cnphpwnd99999@aliyun9627,cntaobaoabcdgggg -cnphpwnd99999@aliyun9628,cntaobaoabcdgjl -cnphpwnd99999@aliyun9629,cntaobaoabcdgogo -cnphpwnd99999@aliyun9630,cntaobaoabcdguest -cnphpwnd99999@aliyun9631,cntaobaoabcdh003 -cnphpwnd99999@aliyun9632,cntaobaoabcdhao -cnphpwnd99999@aliyun9633,cntaobaoabcdhh -cnphpwnd99999@aliyun9634,cntaobaoabcdhhhh -cnphpwnd99999@aliyun9635,cntaobaoabcdhijkl -cnphpwnd99999@aliyun9636,cntaobaoabcdhl -cnphpwnd99999@aliyun9637,cntaobaoabcdhsc -cnphpwnd99999@aliyun9638,cntaobaoabcdianguang -cnphpwnd99999@aliyun9639,cntaobaoabcdilng -cnphpwnd99999@aliyun9640,cntaobaoabcdilove -cnphpwnd99999@aliyun9641,cntaobaoabcdiu -cnphpwnd99999@aliyun9642,cntaobaoabcdj -cnphpwnd99999@aliyun9643,cntaobaoabcdjack -cnphpwnd99999@aliyun9644,cntaobaoabcdji900 -cnphpwnd99999@aliyun9645,cntaobaoabcdjiabaobao -cnphpwnd99999@aliyun9646,cntaobaoabcdjin -cnphpwnd99999@aliyun9647,cntaobaoabcdjjj -cnphpwnd99999@aliyun9648,cntaobaoabcdjojo -cnphpwnd99999@aliyun9649,cntaobaoabcdjuan -cnphpwnd99999@aliyun9650,cntaobaoabcdjyh -cnphpwnd99999@aliyun9651,cntaobaoabcdkkk -cnphpwnd99999@aliyun9652,cntaobaoabcdkkk222 -cnphpwnd99999@aliyun9653,cntaobaoabcdkkk888 -cnphpwnd99999@aliyun9654,cntaobaoabcdlb8023 -cnphpwnd99999@aliyun9655,cntaobaoabcdld -cnphpwnd99999@aliyun9656,cntaobaoabcdleeren -cnphpwnd99999@aliyun9657,cntaobaoabcdli2728 -cnphpwnd99999@aliyun9658,cntaobaoabcdlilei -cnphpwnd99999@aliyun9659,cntaobaoabcdlk122 -cnphpwnd99999@aliyun9660,cntaobaoabcdlkj -cnphpwnd99999@aliyun9661,cntaobaoabcdll2005 -cnphpwnd99999@aliyun9662,cntaobaoabcdlly -cnphpwnd99999@aliyun9663,cntaobaoabcdlmk520 -cnphpwnd99999@aliyun9664,cntaobaoabcdlo520 -cnphpwnd99999@aliyun9665,cntaobaoabcdlq -cnphpwnd99999@aliyun9666,cntaobaoabcdlwy -cnphpwnd99999@aliyun9667,cntaobaoabcdlxc123 -cnphpwnd99999@aliyun9668,cntaobaoabcdlxj -cnphpwnd99999@aliyun9669,cntaobaoabcdlxy -cnphpwnd99999@aliyun9670,cntaobaoabcdlynnabcd -cnphpwnd99999@aliyun9671,cntaobaoabcdlyt -cnphpwnd99999@aliyun9672,cntaobaoabcdm54321 -cnphpwnd99999@aliyun9673,cntaobaoabcdmaomao -cnphpwnd99999@aliyun9674,cntaobaoabcdmn111 -cnphpwnd99999@aliyun9675,cntaobaoabcdmpv8 -cnphpwnd99999@aliyun9676,cntaobaoabcdmx -cnphpwnd99999@aliyun9677,cntaobaoabcdn -cnphpwnd99999@aliyun9678,cntaobaoabcdnerv -cnphpwnd99999@aliyun9679,cntaobaoabcdnima -cnphpwnd99999@aliyun9680,cntaobaoabcdnuaa -cnphpwnd99999@aliyun9681,cntaobaoabcdnuaa_nj -cnphpwnd99999@aliyun9682,cntaobaoabcdoe -cnphpwnd99999@aliyun9683,cntaobaoabcdog -cnphpwnd99999@aliyun9684,cntaobaoabcdogabc -cnphpwnd99999@aliyun9685,cntaobaoabcdok123 -cnphpwnd99999@aliyun9686,cntaobaoabcdongjun -cnphpwnd99999@aliyun9687,cntaobaoabcdonna -cnphpwnd99999@aliyun9688,cntaobaoabcdoo -cnphpwnd99999@aliyun9689,cntaobaoabcdoo09 -cnphpwnd99999@aliyun9690,cntaobaoabcdoooo -cnphpwnd99999@aliyun9691,cntaobaoabcdopm -cnphpwnd99999@aliyun9692,cntaobaoabcdopq123 -cnphpwnd99999@aliyun9693,cntaobaoabcdoty -cnphpwnd99999@aliyun9694,cntaobaoabcdp -cnphpwnd99999@aliyun9695,cntaobaoabcdpdp -cnphpwnd99999@aliyun9696,cntaobaoabcdpk -cnphpwnd99999@aliyun9697,cntaobaoabcdpk931 -cnphpwnd99999@aliyun9698,cntaobaoabcdpoy -cnphpwnd99999@aliyun9699,cntaobaoabcdpxy -cnphpwnd99999@aliyun9700,cntaobaoabcdpyj -cnphpwnd99999@aliyun9701,cntaobaoabcdqq123456789qq -cnphpwnd99999@aliyun9702,cntaobaoabcdqt -cnphpwnd99999@aliyun9703,cntaobaoabcdqwer -cnphpwnd99999@aliyun9704,cntaobaoabcdrfg -cnphpwnd99999@aliyun9705,cntaobaoabcdrl -cnphpwnd99999@aliyun9706,cntaobaoabcds -cnphpwnd99999@aliyun9707,cntaobaoabcds009 -cnphpwnd99999@aliyun9708,cntaobaoabcds8 -cnphpwnd99999@aliyun9709,cntaobaoabcdsegaa -cnphpwnd99999@aliyun9710,cntaobaoabcdsert -cnphpwnd99999@aliyun9711,cntaobaoabcdsetup -cnphpwnd99999@aliyun9712,cntaobaoabcdsf_2005 -cnphpwnd99999@aliyun9713,cntaobaoabcdsh -cnphpwnd99999@aliyun9714,cntaobaoabcdshock -cnphpwnd99999@aliyun9715,cntaobaoabcdshoot -cnphpwnd99999@aliyun9716,cntaobaoabcdsj199426 -cnphpwnd99999@aliyun9717,cntaobaoabcdsof -cnphpwnd99999@aliyun9718,cntaobaoabcdsof2000 -cnphpwnd99999@aliyun9719,cntaobaoabcdsof7688 -cnphpwnd99999@aliyun9720,cntaobaoabcdss -cnphpwnd99999@aliyun9721,cntaobaoabcdt131425 -cnphpwnd99999@aliyun9722,cntaobaoabcdtalk -cnphpwnd99999@aliyun9723,cntaobaoabcdtest -cnphpwnd99999@aliyun9724,cntaobaoabcdtfg -cnphpwnd99999@aliyun9725,cntaobaoabcdth2006 -cnphpwnd99999@aliyun9726,cntaobaoabcdthank -cnphpwnd99999@aliyun9727,cntaobaoabcdting -cnphpwnd99999@aliyun9728,cntaobaoabcdtom111 -cnphpwnd99999@aliyun9729,cntaobaoabcdtwins -cnphpwnd99999@aliyun9730,cntaobaoabcdtxyz -cnphpwnd99999@aliyun9731,cntaobaoabcdtyz000 -cnphpwnd99999@aliyun9732,cntaobaoabcdu -cnphpwnd99999@aliyun9733,cntaobaoabcduc123 -cnphpwnd99999@aliyun9734,cntaobaoabcdv2003 -cnphpwnd99999@aliyun9735,cntaobaoabcdv2555 -cnphpwnd99999@aliyun9736,cntaobaoabcdv2666 -cnphpwnd99999@aliyun9737,cntaobaoabcdv888 -cnphpwnd99999@aliyun9738,cntaobaoabcdvera -cnphpwnd99999@aliyun9739,cntaobaoabcdvking -cnphpwnd99999@aliyun9740,cntaobaoabcdvtok -cnphpwnd99999@aliyun9741,cntaobaoabcdvya -cnphpwnd99999@aliyun9742,cntaobaoabcdwc88 -cnphpwnd99999@aliyun9743,cntaobaoabcdwing -cnphpwnd99999@aliyun9744,cntaobaoabcdwjx -cnphpwnd99999@aliyun9745,cntaobaoabcdwml -cnphpwnd99999@aliyun9746,cntaobaoabcdwoailixia -cnphpwnd99999@aliyun9747,cntaobaoabcdworldton -cnphpwnd99999@aliyun9748,cntaobaoabcdwoshishei -cnphpwnd99999@aliyun9749,cntaobaoabcdwsm001 -cnphpwnd99999@aliyun9750,cntaobaoabcdwto -cnphpwnd99999@aliyun9751,cntaobaoabcdwtsnm -cnphpwnd99999@aliyun9752,cntaobaoabcdwxc -cnphpwnd99999@aliyun9753,cntaobaoabcdwxl -cnphpwnd99999@aliyun9754,cntaobaoabcdwxwx -cnphpwnd99999@aliyun9755,cntaobaoabcdwz -cnphpwnd99999@aliyun9756,cntaobaoabcdxd -cnphpwnd99999@aliyun9757,cntaobaoabcdxf -cnphpwnd99999@aliyun9758,cntaobaoabcdxfb -cnphpwnd99999@aliyun9759,cntaobaoabcdxfg -cnphpwnd99999@aliyun9760,cntaobaoabcdxin -cnphpwnd99999@aliyun9761,cntaobaoabcdxj -cnphpwnd99999@aliyun9762,cntaobaoabcdxw -cnphpwnd99999@aliyun9763,cntaobaoabcdxy -cnphpwnd99999@aliyun9764,cntaobaoabcdxy007 -cnphpwnd99999@aliyun9765,cntaobaoabcdxy1230 -cnphpwnd99999@aliyun9766,cntaobaoabcdxyz01 -cnphpwnd99999@aliyun9767,cntaobaoabcdxyz2004 -cnphpwnd99999@aliyun9768,cntaobaoabcdxyz321 -cnphpwnd99999@aliyun9769,cntaobaoabcdxyz_1994 -cnphpwnd99999@aliyun9770,cntaobaoabcdy -cnphpwnd99999@aliyun9771,cntaobaoabcdy-198102 -cnphpwnd99999@aliyun9772,cntaobaoabcdyancheng -cnphpwnd99999@aliyun9773,cntaobaoabcdyang -cnphpwnd99999@aliyun9774,cntaobaoabcdyangyang000999 -cnphpwnd99999@aliyun9775,cntaobaoabcdyby130 -cnphpwnd99999@aliyun9776,cntaobaoabcdyf -cnphpwnd99999@aliyun9777,cntaobaoabcdyf123456 -cnphpwnd99999@aliyun9778,cntaobaoabcdyhl -cnphpwnd99999@aliyun9779,cntaobaoabcdyjh -cnphpwnd99999@aliyun9780,cntaobaoabcdyjh123 -cnphpwnd99999@aliyun9781,cntaobaoabcdytu -cnphpwnd99999@aliyun9782,cntaobaoabcdyxzx -cnphpwnd99999@aliyun9783,cntaobaoabcdyyd -cnphpwnd99999@aliyun9784,cntaobaoabcdyyf -cnphpwnd99999@aliyun9785,cntaobaoabcdyz2000 -cnphpwnd99999@aliyun9786,cntaobaoabcdz -cnphpwnd99999@aliyun9787,cntaobaoabcdz000 -cnphpwnd99999@aliyun9788,cntaobaoabcdz09876 -cnphpwnd99999@aliyun9789,cntaobaoabcdz12345 -cnphpwnd99999@aliyun9790,cntaobaoabcdzaq -cnphpwnd99999@aliyun9791,cntaobaoabcdzhao -cnphpwnd99999@aliyun9792,cntaobaoabcdzhaohui -cnphpwnd99999@aliyun9793,cntaobaoabcdzjz -cnphpwnd99999@aliyun9794,cntaobaoabcdzk -cnphpwnd99999@aliyun9795,cntaobaoabcdzkw -cnphpwnd99999@aliyun9796,cntaobaoabcdzt -cnphpwnd99999@aliyun9797,cntaobaoabcdzyz_2005 -cnphpwnd99999@aliyun9798,cntaobaoabcdzzs -cnphpwnd99999@aliyun9799,cntaobaoabcdzzz000 -cnphpwnd99999@aliyun9800,cntaobaoabcdzzz001 -cnphpwnd99999@aliyun9801,cntaobaoabcdzzz3 -cnphpwnd99999@aliyun9802,cntaobaoabcd晕晕 -cnphpwnd99999@aliyun9803,cntaobaoabce163 -cnphpwnd99999@aliyun9804,cntaobaoabce180 -cnphpwnd99999@aliyun9805,cntaobaoabce20599 -cnphpwnd99999@aliyun9806,cntaobaoabce530 -cnphpwnd99999@aliyun9807,cntaobaoabce_1019 -cnphpwnd99999@aliyun9808,cntaobaoabceabce88 -cnphpwnd99999@aliyun9809,cntaobaoabceasy1 -cnphpwnd99999@aliyun9810,cntaobaoabcebuy -cnphpwnd99999@aliyun9811,cntaobaoabcedc -cnphpwnd99999@aliyun9812,cntaobaoabcedf333 -cnphpwnd99999@aliyun9813,cntaobaoabcedfg1122 -cnphpwnd99999@aliyun9814,cntaobaoabcedfghi -cnphpwnd99999@aliyun9815,cntaobaoabcedfgvin -cnphpwnd99999@aliyun9816,cntaobaoabcedfhe -cnphpwnd99999@aliyun9817,cntaobaoabcee -cnphpwnd99999@aliyun9818,cntaobaoabceecd -cnphpwnd99999@aliyun9819,cntaobaoabceefg -cnphpwnd99999@aliyun9820,cntaobaoabcef007 -cnphpwnd99999@aliyun9821,cntaobaoabcef5490042 -cnphpwnd99999@aliyun9822,cntaobaoabcefdj -cnphpwnd99999@aliyun9823,cntaobaoabcei -cnphpwnd99999@aliyun9824,cntaobaoabcemw21 -cnphpwnd99999@aliyun9825,cntaobaoabcencewu -cnphpwnd99999@aliyun9826,cntaobaoabceng -cnphpwnd99999@aliyun9827,cntaobaoabceov -cnphpwnd99999@aliyun9828,cntaobaoabcess -cnphpwnd99999@aliyun9829,cntaobaoabcever -cnphpwnd99999@aliyun9830,cntaobaoabcevonne -cnphpwnd99999@aliyun9831,cntaobaoabcexc -cnphpwnd99999@aliyun9832,cntaobaoabcf -cnphpwnd99999@aliyun9833,cntaobaoabcf88 -cnphpwnd99999@aliyun9834,cntaobaoabcfad -cnphpwnd99999@aliyun9835,cntaobaoabcfaj123 -cnphpwnd99999@aliyun9836,cntaobaoabcfan -cnphpwnd99999@aliyun9837,cntaobaoabcfang -cnphpwnd99999@aliyun9838,cntaobaoabcfanyy -cnphpwnd99999@aliyun9839,cntaobaoabcfcq -cnphpwnd99999@aliyun9840,cntaobaoabcfeeling -cnphpwnd99999@aliyun9841,cntaobaoabcfei123456 -cnphpwnd99999@aliyun9842,cntaobaoabcfeifei520 -cnphpwnd99999@aliyun9843,cntaobaoabcfeixing -cnphpwnd99999@aliyun9844,cntaobaoabcfeiying -cnphpwnd99999@aliyun9845,cntaobaoabcfenchun -cnphpwnd99999@aliyun9846,cntaobaoabcferry -cnphpwnd99999@aliyun9847,cntaobaoabcfg -cnphpwnd99999@aliyun9848,cntaobaoabcfgxyz -cnphpwnd99999@aliyun9849,cntaobaoabcfiner -cnphpwnd99999@aliyun9850,cntaobaoabcfisher1 -cnphpwnd99999@aliyun9851,cntaobaoabcflora -cnphpwnd99999@aliyun9852,cntaobaoabcfly2099 -cnphpwnd99999@aliyun9853,cntaobaoabcfon -cnphpwnd99999@aliyun9854,cntaobaoabcfr -cnphpwnd99999@aliyun9855,cntaobaoabcfwm -cnphpwnd99999@aliyun9856,cntaobaoabcfxzy -cnphpwnd99999@aliyun9857,cntaobaoabcfyh -cnphpwnd99999@aliyun9858,cntaobaoabcfzh888 -cnphpwnd99999@aliyun9859,cntaobaoabcg7mg -cnphpwnd99999@aliyun9860,cntaobaoabcg9716 -cnphpwnd99999@aliyun9861,cntaobaoabcg_12345 -cnphpwnd99999@aliyun9862,cntaobaoabcgang -cnphpwnd99999@aliyun9863,cntaobaoabcgaohuaabc -cnphpwnd99999@aliyun9864,cntaobaoabcgay -cnphpwnd99999@aliyun9865,cntaobaoabcgc000 -cnphpwnd99999@aliyun9866,cntaobaoabcgdsew -cnphpwnd99999@aliyun9867,cntaobaoabcgegeda -cnphpwnd99999@aliyun9868,cntaobaoabcgg -cnphpwnd99999@aliyun9869,cntaobaoabcggp -cnphpwnd99999@aliyun9870,cntaobaoabcgh123 -cnphpwnd99999@aliyun9871,cntaobaoabcghj -cnphpwnd99999@aliyun9872,cntaobaoabcgiles -cnphpwnd99999@aliyun9873,cntaobaoabcgill -cnphpwnd99999@aliyun9874,cntaobaoabcgirl1 -cnphpwnd99999@aliyun9875,cntaobaoabcgirl1982 -cnphpwnd99999@aliyun9876,cntaobaoabcgirl32 -cnphpwnd99999@aliyun9877,cntaobaoabcgl -cnphpwnd99999@aliyun9878,cntaobaoabcgl_cn1 -cnphpwnd99999@aliyun9879,cntaobaoabcgl_tb -cnphpwnd99999@aliyun9880,cntaobaoabcgm -cnphpwnd99999@aliyun9881,cntaobaoabcgo -cnphpwnd99999@aliyun9882,cntaobaoabcgq -cnphpwnd99999@aliyun9883,cntaobaoabcgty -cnphpwnd99999@aliyun9884,cntaobaoabcguodong -cnphpwnd99999@aliyun9885,cntaobaoabcguoyuan2 -cnphpwnd99999@aliyun9886,cntaobaoabcguyan -cnphpwnd99999@aliyun9887,cntaobaoabcguyaqing -cnphpwnd99999@aliyun9888,cntaobaoabcguyuan3 -cnphpwnd99999@aliyun9889,cntaobaoabcgwei -cnphpwnd99999@aliyun9890,cntaobaoabcgwh2001 -cnphpwnd99999@aliyun9891,cntaobaoabcgxby -cnphpwnd99999@aliyun9892,cntaobaoabcgyc458 -cnphpwnd99999@aliyun9893,cntaobaoabcgyh -cnphpwnd99999@aliyun9894,cntaobaoabcgyh88 -cnphpwnd99999@aliyun9895,cntaobaoabcgzwg -cnphpwnd99999@aliyun9896,cntaobaoabch123 -cnphpwnd99999@aliyun9897,cntaobaoabch175b -cnphpwnd99999@aliyun9898,cntaobaoabchai -cnphpwnd99999@aliyun9899,cntaobaoabchaitaoyin -cnphpwnd99999@aliyun9900,cntaobaoabchanziabc -cnphpwnd99999@aliyun9901,cntaobaoabchaodl -cnphpwnd99999@aliyun9902,cntaobaoabchappy -cnphpwnd99999@aliyun9903,cntaobaoabchappy_0 -cnphpwnd99999@aliyun9904,cntaobaoabchappys -cnphpwnd99999@aliyun9905,cntaobaoabcharen -cnphpwnd99999@aliyun9906,cntaobaoabchas -cnphpwnd99999@aliyun9907,cntaobaoabchcy -cnphpwnd99999@aliyun9908,cntaobaoabche1 -cnphpwnd99999@aliyun9909,cntaobaoabchecheng123 -cnphpwnd99999@aliyun9910,cntaobaoabcheima -cnphpwnd99999@aliyun9911,cntaobaoabchen -cnphpwnd99999@aliyun9912,cntaobaoabchen2001 -cnphpwnd99999@aliyun9913,cntaobaoabcheng_2005 -cnphpwnd99999@aliyun9914,cntaobaoabchengxue -cnphpwnd99999@aliyun9915,cntaobaoabchenjin0 -cnphpwnd99999@aliyun9916,cntaobaoabchero88 -cnphpwnd99999@aliyun9917,cntaobaoabcheyong -cnphpwnd99999@aliyun9918,cntaobaoabchhh1 -cnphpwnd99999@aliyun9919,cntaobaoabchhhooo -cnphpwnd99999@aliyun9920,cntaobaoabchhk -cnphpwnd99999@aliyun9921,cntaobaoabchhl001 -cnphpwnd99999@aliyun9922,cntaobaoabchhy -cnphpwnd99999@aliyun9923,cntaobaoabchina -cnphpwnd99999@aliyun9924,cntaobaoabchina_jgs -cnphpwnd99999@aliyun9925,cntaobaoabchinaliu -cnphpwnd99999@aliyun9926,cntaobaoabchinax -cnphpwnd99999@aliyun9927,cntaobaoabchjk -cnphpwnd99999@aliyun9928,cntaobaoabchl -cnphpwnd99999@aliyun9929,cntaobaoabchl229 -cnphpwnd99999@aliyun9930,cntaobaoabchlb -cnphpwnd99999@aliyun9931,cntaobaoabchluss -cnphpwnd99999@aliyun9932,cntaobaoabchnec -cnphpwnd99999@aliyun9933,cntaobaoabcholly88 -cnphpwnd99999@aliyun9934,cntaobaoabchonp -cnphpwnd99999@aliyun9935,cntaobaoabchope -cnphpwnd99999@aliyun9936,cntaobaoabchot -cnphpwnd99999@aliyun9937,cntaobaoabchppydl123 -cnphpwnd99999@aliyun9938,cntaobaoabchppydl123ww -cnphpwnd99999@aliyun9939,cntaobaoabchsunmin -cnphpwnd99999@aliyun9940,cntaobaoabchsy1 -cnphpwnd99999@aliyun9941,cntaobaoabcht -cnphpwnd99999@aliyun9942,cntaobaoabcht123 -cnphpwnd99999@aliyun9943,cntaobaoabchuchu -cnphpwnd99999@aliyun9944,cntaobaoabchuchu88 -cnphpwnd99999@aliyun9945,cntaobaoabchui -cnphpwnd99999@aliyun9946,cntaobaoabchuman -cnphpwnd99999@aliyun9947,cntaobaoabchuminmin -cnphpwnd99999@aliyun9948,cntaobaoabchuyan000 -cnphpwnd99999@aliyun9949,cntaobaoabchwj -cnphpwnd99999@aliyun9950,cntaobaoabchxxmn -cnphpwnd99999@aliyun9951,cntaobaoabchyfy -cnphpwnd99999@aliyun9952,cntaobaoabchyk -cnphpwnd99999@aliyun9953,cntaobaoabchyz333 -cnphpwnd99999@aliyun9954,cntaobaoabchyz888 -cnphpwnd99999@aliyun9955,cntaobaoabchz -cnphpwnd99999@aliyun9956,cntaobaoabci109 -cnphpwnd99999@aliyun9957,cntaobaoabci_oo -cnphpwnd99999@aliyun9958,cntaobaoabciaal123 -cnphpwnd99999@aliyun9959,cntaobaoabciamveryhappy -cnphpwnd99999@aliyun9960,cntaobaoabcici -cnphpwnd99999@aliyun9961,cntaobaoabcici1 -cnphpwnd99999@aliyun9962,cntaobaoabcide -cnphpwnd99999@aliyun9963,cntaobaoabcielo -cnphpwnd99999@aliyun9964,cntaobaoabcihc1 -cnphpwnd99999@aliyun9965,cntaobaoabcine -cnphpwnd99999@aliyun9966,cntaobaoabcino -cnphpwnd99999@aliyun9967,cntaobaoabcip1 -cnphpwnd99999@aliyun9968,cntaobaoabcisxyz -cnphpwnd99999@aliyun9969,cntaobaoabcivy123 -cnphpwnd99999@aliyun9970,cntaobaoabcivyliu -cnphpwnd99999@aliyun9971,cntaobaoabcj8848 -cnphpwnd99999@aliyun9972,cntaobaoabcj88481 -cnphpwnd99999@aliyun9973,cntaobaoabcj9s9tg00t2h7hv -cnphpwnd99999@aliyun9974,cntaobaoabcjack206 -cnphpwnd99999@aliyun9975,cntaobaoabcjackyt -cnphpwnd99999@aliyun9976,cntaobaoabcjake1 -cnphpwnd99999@aliyun9977,cntaobaoabcjaw -cnphpwnd99999@aliyun9978,cntaobaoabcjc -cnphpwnd99999@aliyun9979,cntaobaoabcjc110 -cnphpwnd99999@aliyun9980,cntaobaoabcjdk -cnphpwnd99999@aliyun9981,cntaobaoabcjdx123 -cnphpwnd99999@aliyun9982,cntaobaoabcjf -cnphpwnd99999@aliyun9983,cntaobaoabcji_li -cnphpwnd99999@aliyun9984,cntaobaoabcjiade -cnphpwnd99999@aliyun9985,cntaobaoabcjiangle -cnphpwnd99999@aliyun9986,cntaobaoabcjib -cnphpwnd99999@aliyun9987,cntaobaoabcjiejie -cnphpwnd99999@aliyun9988,cntaobaoabcjin520 -cnphpwnd99999@aliyun9989,cntaobaoabcjin88 -cnphpwnd99999@aliyun9990,cntaobaoabcjing -cnphpwnd99999@aliyun9991,cntaobaoabcjingcha -cnphpwnd99999@aliyun9992,cntaobaoabcjingjing -cnphpwnd99999@aliyun9993,cntaobaoabcjinning -cnphpwnd99999@aliyun9994,cntaobaoabcjj -cnphpwnd99999@aliyun9995,cntaobaoabcjj_2005 -cnphpwnd99999@aliyun9996,cntaobaoabcjja -cnphpwnd99999@aliyun9997,cntaobaoabcjjm -cnphpwnd99999@aliyun9998,cntaobaoabcjll -cnphpwnd99999@aliyun9999,cntaobaoabcjm diff --git a/features/aliww/data/.svn/text-base/cnalichn.csv.svn-base b/features/aliww/data/.svn/text-base/cnalichn.csv.svn-base deleted file mode 100644 index 105bd2d..0000000 --- a/features/aliww/data/.svn/text-base/cnalichn.csv.svn-base +++ /dev/null @@ -1,2896 +0,0 @@ -cnalichn00120,1111112 -cnalichnolay4925,1111112 -cnalichnjknongye,1111112 -cnalichnaudousliu,1111112 -cnalichn8868478690,1111112 -cnalichnxzclc,1111112 -cnalichnkathy197961,1111112 -cnalichnszqihai,1111112 -cnalichnjuqiangtools,1111112 -cnalichnhengsheng701,1111112 -cnalichna7705347,1111112 -cnalichnjuanso,1111112 -cnalichnxwbll2004,1111112 -cnalichnchenlejia,1111112 -cnalichnxxf88198,1111112 -cnalichnzhucanfeng,1111112 -cnalichnfltech,1111112 -cnalichnedisonnet,1111112 -cnalichnmimo184,1111112 -cnalichndkchem,1111112 -cnalichnliangnb,1111112 -cnalichnhimageryan,1111112 -cnalichnhuhuimin,1111112 -cnalichnbjs134,1111112 -cnalichnngaikao,1111112 -cnalichnchinawares,1111112 -cnalichnjiason,1111112 -cnalichntyter,1111112 -cnalichnhhq1978,1111112 -cnalichnyyzbj,1111112 -cnalichnxintianyou,1111112 -cnalichncdscqh,1111112 -cnalichngzeptm,1111112 -cnalichnjsia,1111112 -cnalichnkmin973,1111112 -cnalichnlunie,1111112 -cnalichncnmnd,1111112 -cnalichnsmscol,1111112 -cnalichndavyisatech,1111112 -cnalichnklhw,1111112 -cnalichntanyiran01,1111112 -cnalichnqgmcsp,1111112 -cnalichnaliuser422,1111112 -cnalichnaliuser857,1111112 -cnalichntestyun01,1111112 -cnalichnaliuser1444,1111112 -cnalichnaliuser1121,1111112 -cnalichnaliuser845,1111112 -cnalichnaliuser841,1111112 -cnalichnaliuser170,1111112 -cnalichnaliuser935,1111112 -cnalichnfengfffy,1111112 -cnalichnchampionxuec,1111112 -cnalichnlucylly,1111112 -cnalichnxlgzh,1111112 -cnalichnwellway,1111112 -cnalichnmtct,1111112 -cnalichnlj113,1111112 -cnalichngxzh,1111112 -cnalichnsinboxie,1111112 -cnalichnankara7399,1111112 -cnalichnfss3,1111112 -cnalichnsyngeo,1111112 -cnalichnzxm9920,1111112 -cnalichnaxyj006,1111112 -cnalichnchrisx,1111112 -cnalichnnbfat,1111112 -cnalichnhyzy2003,1111112 -cnalichnliangguiying,1111112 -cnalichnruixiang518,1111112 -cnalichn123yuanhua,1111112 -cnalichnchaobo,1111112 -cnalichnpumeng,1111112 -cnalichnaliuser28,1111112 -cnalichnaliuser1276,1111112 -cnalichnaliuser1445,1111112 -cnalichnaliuser854,1111112 -cnalichnaliuser738,1111112 -cnalichnaliuser1094,1111112 -cnalichnaliuser1125,1111112 -cnalichnaliuser1448,1111112 -cnalichnaliuser1002,1111112 -cnalichnaliuser1235,1111112 -cnalichnaliuser1127,1111112 -cnalichnaliuser91,1111112 -cnalichnaliuser13,1111112 -cnalichnaliuser562,1111112 -cnalichnaliuser988,1111112 -cnalichnaliuser308,1111112 -cnalichnaliuser1116,1111112 -cnalichnaliuser1133,1111112 -cnalichnaliuser821,1111112 -cnalichnaliuser1080,1111112 -cnalichnyjcjk,1111112 -cnalichnsylvy,1111112 -cnalichnyouraledchew,1111112 -cnalichnyhqj,1111112 -cnalichnhzhuaan,1111112 -cnalichndct,1111112 -cnalichnzjwglg,1111112 -cnalichnshenggangshenggang,1111112 -cnalichnluoen,1111112 -cnalichnoliverlee66,1111112 -cnalichnsoxi9999,1111112 -cnalichn1370329,1111112 -cnalichn13307319078,1111112 -cnalichnqiuxiacx,1111112 -cnalichntoiking,1111112 -cnalichnrichway,1111112 -cnalichnyjje130,1111112 -cnalichnyhgtjxc,1111112 -cnalichnnaiba00,1111112 -cnalichnsyinfo,1111112 -cnalichnvtcshyu,1111112 -cnalichnbinbai,1111112 -cnalichncsash1,1111112 -cnalichnnooyo,1111112 -cnalichn2501,1111112 -cnalichnjuliasun,1111112 -cnalichnyyjql,1111112 -cnalichnkrick,1111112 -cnalichnmikezhangcn,1111112 -cnalichnfamingkuangren,1111112 -cnalichnlooove,1111112 -cnalichnbingo2003,1111112 -cnalichnnhnfnf,1111112 -cnalichnsusansg,1111112 -cnalichnsunnybattery,1111112 -cnalichnhanv,1111112 -cnalichnselong,1111112 -cnalichnyangpai777,1111112 -cnalichnatcp,1111112 -cnalichnhsddqgs,1111112 -cnalichngjlsimon,1111112 -cnalichnholinktj,1111112 -cnalichnccee,1111112 -cnalichnliangjh168,1111112 -cnalichnhstco,1111112 -cnalichnsxml,1111112 -cnalichndigao,1111112 -cnalichnku2592,1111112 -cnalichnzzdzy,1111112 -cnalichncbh666,1111112 -cnalichnwrinc,1111112 -cnalichnwhtianchi,1111112 -cnalichngemli,1111112 -cnalichnxiaobingt,1111112 -cnalichnwintonfeng,1111112 -cnalichnathena2002,1111112 -cnalichnhll61,1111112 -cnalichntititui,1111112 -cnalichnmotorola0607,1111112 -cnalichnmawey,1111112 -cnalichnwedoit2000,1111112 -cnalichnyanyaqui,1111112 -cnalichnwangzc0168,1111112 -cnalichnxiangmao2002,1111112 -cnalichnselenachen12,1111112 -cnalichnhswjming,1111112 -cnalichnssnngx,1111112 -cnalichnfengqihw,1111112 -cnalichnyqxiang,1111112 -cnalichngaden,1111112 -cnalichnabcdb,1111112 -cnalichnqmike001,1111112 -cnalichnzyldk,1111112 -cnalichnsichaowei,1111112 -cnalichnshuanglong3761673,1111112 -cnalichnxlzp,1111112 -cnalichnhulele,1111112 -cnalichnzzcraft,1111112 -cnalichnchobai,1111112 -cnalichnvivylu,1111112 -cnalichnfulei,1111112 -cnalichnwang518,1111112 -cnalichnlwmei,1111112 -cnalichnyangzhoushi,1111112 -cnalichngengyj999,1111112 -cnalichn007hyj,1111112 -cnalichnchenzhibin,1111112 -cnalichnyinjiaxin,1111112 -cnalichnszlzdz,1111112 -cnalichnqibcf,1111112 -cnalichnyhm2008,1111112 -cnalichnevanalu,1111112 -cnalichnsuenhk,1111112 -cnalichnaygh,1111112 -cnalichnjiangyunhu,1111112 -cnalichnyoungsuper,1111112 -cnalichnbellsky,1111112 -cnalichns678,1111112 -cnalichnzhaozaijia,1111112 -cnalichn66888866,1111112 -cnalichnminle66,1111112 -cnalichnaliuser202,1111112 -cnalichnjztaihe,1111112 -cnalichnbjrock,1111112 -cnalichnjzfada,1111112 -cnalichnhuaxinelectric,1111112 -cnalichncndg,1111112 -cnalichnzrt2008,1111112 -cnalichnkilleds,1111112 -cnalichnwsnbaba,1111112 -cnalichnasjc,1111112 -cnalichnwwqs,1111112 -cnalichnmingchun,1111112 -cnalichncad97,1111112 -cnalichnchpeiqi,1111112 -cnalichnxtjk,1111112 -cnalichnlapon,1111112 -cnalichndcei,1111112 -cnalichncsxtp,1111112 -cnalichnyzbt111,1111112 -cnalichnchoi96,1111112 -cnalichnqzhh2003,1111112 -cnalichnlessbao,1111112 -cnalichnzg2100,1111112 -cnalichnsym21,1111112 -cnalichnjunda1,1111112 -cnalichnbljn,1111112 -cnalichnyuenfungshing,1111112 -cnalichnchinaboy007,1111112 -cnalichn3388shen,1111112 -cnalichnhuairong,1111112 -cnalichnaliuser624,1111112 -cnalichnksdnksdn,1111112 -cnalichnlumber,1111112 -cnalichnyywf,1111112 -cnalichngapfood,1111112 -cnalichnclgssjg,1111112 -cnalichnsqhbf,1111112 -cnalichnhhlaaa,1111112 -cnalichnmrm888,1111112 -cnalichnhuaye2003,1111112 -cnalichnybmfgs,1111112 -cnalichnqingdaoyangguang2008,1111112 -cnalichnlikolee,1111112 -cnalichnxiangjiaming,1111112 -cnalichnchinastick,1111112 -cnalichnhuihai,1111112 -cnalichnsanleaf,1111112 -cnalichnhero66,1111112 -cnalichndaii,1111112 -cnalichntongwen0208,1111112 -cnalichngantech,1111112 -cnalichntopways,1111112 -cnalichnjapannakata,1111112 -cnalichnxubin620111,1111112 -cnalichnjy6688,1111112 -cnalichnhaohaipaperwang,1111112 -cnalichnlizhonghaimian,1111112 -cnalichnwuypn,1111112 -cnalichnzzmwin,1111112 -cnalichnxxth,1111112 -cnalichnzlida,1111112 -cnalichn123xjjl,1111112 -cnalichngell,1111112 -cnalichnyouzhong,1111112 -cnalichnsxlri,1111112 -cnalichngreenlite,1111112 -cnalichnccnzc,1111112 -cnalichnyp66,1111112 -cnalichnsallywangyt,1111112 -cnalichnfrank80,1111112 -cnalichnasddfghjkl123,1111112 -cnalichnjinyunhang,1111112 -cnalichnwzliu123,1111112 -cnalichnsfwj,1111112 -cnalichnwhy001,1111112 -cnalichnwanglin,1111112 -cnalichn999abc,1111112 -cnalichn0419hgj,1111112 -cnalichnnjqy,1111112 -cnalichnshanghaiyangchuang,1111112 -cnalichnaliuser1453,1111112 -cnalichnashes,1111112 -cnalichnkkong2000,1111112 -cnalichnalitalk,1111112 -cnalichnaliuser1166,1111112 -cnalichnjason,1111112 -cnalichnxboe,1111112 -cnalichnwwww522,1111112 -cnalichnkansion,1111112 -cnalichnnewever,1111112 -cnalichnmjw770611,1111112 -cnalichnwhd6789,1111112 -cnalichnwzmyx,1111112 -cnalichn3tech,1111112 -cnalichnfame1,1111112 -cnalichnsz99and1,1111112 -cnalichn00558800,1111112 -cnalichnxxxxxx88888888,1111112 -cnalichnyyyzs,1111112 -cnalichnaawwee,1111112 -cnalichnjennymao22,1111112 -cnalichnshengxiang888,1111112 -cnalichnddxx,1111112 -cnalichnwebname2003,1111112 -cnalichntdec,1111112 -cnalichnyingzida,1111112 -cnalichnlms02,1111112 -cnalichnvent88,1111112 -cnalichnxiqiwen,1111112 -cnalichnrdzx,1111112 -cnalichnjxandy,1111112 -cnalichnchupwo,1111112 -cnalichnunionstar,1111112 -cnalichnlgshw,1111112 -cnalichnzhxzh,1111112 -cnalichnzsdfzdfzx,1111112 -cnalichnshrrc,1111112 -cnalichnwxtgc,1111112 -cnalichnwaye,1111112 -cnalichnhchdp,1111112 -cnalichnudikiller,1111112 -cnalichnyangsean,1111112 -cnalichnhd16888,1111112 -cnalichnwdlgq,1111112 -cnalichngx1024,1111112 -cnalichnanuo1216,1111112 -cnalichngamst,1111112 -cnalichnuuchz,1111112 -cnalichnandrewsyb,1111112 -cnalichneastklp,1111112 -cnalichnguijin168,1111112 -cnalichnzhenlopo,1111112 -cnalichnyjjihc,1111112 -cnalichnqiuhe88,1111112 -cnalichnq7421,1111112 -cnalichnjyptx,1111112 -cnalichnsongshucan,1111112 -cnalichnliuyuantree,1111112 -cnalichnbsnewman,1111112 -cnalichnstarfang1234,1111112 -cnalichndahai511,1111112 -cnalichnaboveall,1111112 -cnalichnlinglingxiao,1111112 -cnalichnhongda120,1111112 -cnalichnfangsir,1111112 -cnalichnwxnakano,1111112 -cnalichncanshine,1111112 -cnalichnyingying2088,1111112 -cnalichnwzcaiping,1111112 -cnalichnlykk0123,1111112 -cnalichnmaoliwei,1111112 -cnalichnweptson,1111112 -cnalichnpracton,1111112 -cnalichnllczxy,1111112 -cnalichnzsqt2003,1111112 -cnalichntaylor1972,1111112 -cnalichngiantwaychina,1111112 -cnalichnacent,1111112 -cnalichnzaxin,1111112 -cnalichniamchenming,1111112 -cnalichncpxgz,1111112 -cnalichnjmdeng,1111112 -cnalichnryfs,1111112 -cnalichnwtx3500,1111112 -cnalichnbensonshen,1111112 -cnalichnouyada123,1111112 -cnalichnjdkqg,1111112 -cnalichnxingdaxm,1111112 -cnalichnkaichengpaper,1111112 -cnalichncnshijiao,1111112 -cnalichnzcs688,1111112 -cnalichnfrank_yu,1111112 -cnalichnreddlf,1111112 -cnalichnabc001,1111112 -cnalichn007mm700,1111112 -cnalichnhellohb,1111112 -cnalichnlhlt,1111112 -cnalichn000999,1111112 -cnalichnfuxlogytz,1111112 -cnalichnshbioc,1111112 -cnalichndingyuhang,1111112 -cnalichn1928yz86,1111112 -cnalichnsteel,1111112 -cnalichn007jessicawu,1111112 -cnalichn00012,1111112 -cnalichnwingoffire,1111112 -cnalichn231024651017371,1111112 -cnalichn006wxw,1111112 -cnalichnancrane,1111112 -cnalichnpwtest0010,1111112 -cnalichnandong,1111112 -cnalichn007711,1111112 -cnalichnibwy,1111112 -cnalichnlizzylu,1111112 -cnalichnjennie1010,1111112 -cnalichnjennywangforever,1111112 -cnalichn00000000000000000157,1111112 -cnalichn4554,1111112 -cnalichnhnjhgyyxzrgs2167,1111112 -cnalichnzhhong1579,1111112 -cnalichnmichael0203,1111112 -cnalichnctzl,1111112 -cnalichnsunbijun,1111112 -cnalichncjw1000,1111112 -cnalichndeng698,1111112 -cnalichndgymj,1111112 -cnalichndick2004,1111112 -cnalichnzybzt2004,1111112 -cnalichnmolei0742,1111112 -cnalichnbighezhi,1111112 -cnalichnwinhero521,1111112 -cnalichnbenchong1212,1111112 -cnalichndida911,1111112 -cnalichn007kj,1111112 -cnalichn4994,1111112 -cnalichnangelyeast,1111112 -cnalichn00000000114,1111112 -cnalichnphxs,1111112 -cnalichnslec,1111112 -cnalichnpb816,1111112 -cnalichn0002081,1111112 -cnalichn0000633157,1111112 -cnalichn0000410265,1111112 -cnalichn666666,1111112 -cnalichngoodnew,1111112 -cnalichn0000410265114570,1111112 -cnalichnhuaxue,1111112 -cnalichn00005221,1111112 -cnalichn01soft,1111112 -cnalichn0000000191,1111112 -cnalichn007huang,1111112 -cnalichn03126921691,1111112 -cnalichnwzhoo,1111112 -cnalichnqazwsxedc570,1111112 -cnalichn6885431,1111112 -cnalichn0040,1111112 -cnalichn000a1,1111112 -cnalichnsd,1111112 -cnalichnzhuguo75,1111112 -cnalichnlongyuanyinpin,1111112 -cnalichnwillis1881,1111112 -cnalichn00000000410,1111112 -cnalichn0000412,1111112 -cnalichnrobinsi,1111112 -cnalichnbrg21a,1111112 -cnalichncnptt,1111112 -cnalichnabc001123,1111112 -cnalichnaswby,1111112 -cnalichn01kaishan,1111112 -cnalichn0000414,1111112 -cnalichn00005410,1111112 -cnalichnkkong2001,1111112 -cnalichnalu800,1111112 -cnalichn0000000077,1111112 -cnalichnlongquanjidian,1111112 -cnalichnbiovalley,1111112 -cnalichnthesys,1111112 -cnalichnzqw666,1111112 -cnalichn020gungho,1111112 -cnalichnwelcomnip,1111112 -cnalichn13646_cn,1111112 -cnalichn0069003,1111112 -cnalichn031274,1111112 -cnalichnanhing,1111112 -cnalichnfujiep,1111112 -cnalichn1976214,1111112 -cnalichna00000633,1111112 -cnalichnkkong2002,1111112 -cnalichntreasure123,1111112 -cnalichnallfun,1111112 -cnalichnhotoy,1111112 -cnalichn00cew03,1111112 -cnalichn00209,1111112 -cnalichnszsjf,1111112 -cnalichn000038,1111112 -cnalichnwhdxgj,1111112 -cnalichnzx005,1111112 -cnalichnjennyyliu,1111112 -cnalichn00000114244,1111112 -cnalichnchenzejin,1111112 -cnalichnyanghongjun,1111112 -cnalichnifce,1111112 -cnalichnwslying,1111112 -cnalichn0000633157269,1111112 -cnalichn9t9t,1111112 -cnalichnjsdz999,1111112 -cnalichnyangdai,1111112 -cnalichn0312mengliqian,1111112 -cnalichn00521,1111112 -cnalichn00000000000000000230,1111112 -cnalichnkk2000,1111112 -cnalichnsmile520520,1111112 -cnalichnjinlihua,1111112 -cnalichnguofei,1111112 -cnalichnjennyzou0403,1111112 -cnalichnjenny001265,1111112 -cnalichnlhnm,1111112 -cnalichn123byy,1111112 -cnalichnwangxinlin,1111112 -cnalichn00000000633265,1111112 -cnalichnjennyzou32,1111112 -cnalichn07piaopiao,1111112 -cnalichn001haoya1618,1111112 -cnalichn04111217,1111112 -cnalichn000697,1111112 -cnalichna7505277,1111112 -cnalichnonoxu,1111112 -cnalichnyzqfzjj,1111112 -cnalichnhuamo,1111112 -cnalichnszqysm168,1111112 -cnalichn007lingcui,1111112 -cnalichnjennyou322,1111112 -cnalichnjenny001191,1111112 -cnalichn0000586,1111112 -cnalichngodwei,1111112 -cnalichncrystalcn,1111112 -cnalichnjenny1437,1111112 -cnalichnsb2829,1111112 -cnalichn0400,1111112 -cnalichn00000sb,1111112 -cnalichnlimosu,1111112 -cnalichnzjykjk,1111112 -cnalichnjiably88,1111112 -cnalichnfsyuekai,1111112 -cnalichnhuameispace,1111112 -cnalichnenshu98,1111112 -cnalichnpeierchen,1111112 -cnalichnboyllk,1111112 -cnalichn660726,1111112 -cnalichnjennie20,1111112 -cnalichn19810929,1111112 -cnalichnjenni37,1111112 -cnalichnmacsu0572,1111112 -cnalichn03128018,1111112 -cnalichnhuajing,1111112 -cnalichnreedli,1111112 -cnalichn001001aa,1111112 -cnalichn027dnnl,1111112 -cnalichnwjpwhy,1111112 -cnalichn01jhp,1111112 -cnalichnabc001504,1111112 -cnalichntongjun102,1111112 -cnalichnabc118,1111112 -cnalichnzzdd,1111112 -cnalichn01shth,1111112 -cnalichnbeckyff,1111112 -cnalichnxiachaodong,1111112 -cnalichn00005599,1111112 -cnalichnbulleta,1111112 -cnalichnjennyyibai,1111112 -cnalichn123dafang,1111112 -cnalichn0000000410265,1111112 -cnalichnagjwj,1111112 -cnalichnisland_lai,1111112 -cnalichnhm2008,1111112 -cnalichnifff,1111112 -cnalichnszhonex,1111112 -cnalichnwoodpeople,1111112 -cnalichn0126,1111112 -cnalichnwanfangranse,1111112 -cnalichnszzjgqzq,1111112 -cnalichnjennyzww,1111112 -cnalichn0000410269000,1111112 -cnalichnkangcheng,1111112 -cnalichn03124160281,1111112 -cnalichnaicxcx,1111112 -cnalichnf1shanghai,1111112 -cnalichnzj21,1111112 -cnalichn00001157,1111112 -cnalichnzc1001,1111112 -cnalichnboteman666,1111112 -cnalichnwearefriends633,1111112 -cnalichn03123,1111112 -cnalichnabc110abc,1111112 -cnalichnbzzz,1111112 -cnalichnsssic,1111112 -cnalichn0007falcon,1111112 -cnalichnalitest1001,1111112 -cnalichn00000002,1111112 -cnalichnsaiqi,1111112 -cnalichn000120,1111112 -cnalichnjenny00001,1111112 -cnalichnannal,1111112 -cnalichnjennyzn111,1111112 -cnalichn01huarui,1111112 -cnalichn000151,1111112 -cnalichnandufuse,1111112 -cnalichnjenny114244168,1111112 -cnalichn00004102651145701482,1111112 -cnalichn0000570,1111112 -cnalichn00000000000000000187,1111112 -cnalichn000001265,1111112 -cnalichnzc007,1111112 -cnalichncxgzgd,1111112 -cnalichnjiatao69,1111112 -cnalichnzzzheng,1111112 -cnalichn0519motor,1111112 -cnalichn2003dian9,1111112 -cnalichnkingbug,1111112 -cnalichndoulei,1111112 -cnalichn000000000010,1111112 -cnalichnxiaoxiong2527,1111112 -cnalichnzx5211234,1111112 -cnalichnxzg,1111112 -cnalichn0006abc,1111112 -cnalichnwjfdzz,1111112 -cnalichnabc000,1111112 -cnalichnlymei888,1111112 -cnalichn00000000410265114,1111112 -cnalichn01tian,1111112 -cnalichnsnakefkt,1111112 -cnalichn001foods,1111112 -cnalichntang777888,1111112 -cnalichn00099,1111112 -cnalichn1381513362,1111112 -cnalichntones,1111112 -cnalichnszxln,1111112 -cnalichn12monkey,1111112 -cnalichn00000000000000000232,1111112 -cnalichn000000,1111112 -cnalichnmandyleeqing,1111112 -cnalichna108,1111112 -cnalichn02zhxh,1111112 -cnalichnhxjhlj,1111112 -cnalichncxls66,1111112 -cnalichn2003dodo,1111112 -cnalichn0909yangb,1111112 -cnalichndywd,1111112 -cnalichnyangyi633191,1111112 -cnalichn00021,1111112 -cnalichn000055232,1111112 -cnalichnsflighting,1111112 -cnalichnjenny1001,1111112 -cnalichn8888,1111112 -cnalichnnpshunhua,1111112 -cnalichn001sz,1111112 -cnalichn0001gslzxd,1111112 -cnalichngucong,1111112 -cnalichnyzyssy,1111112 -cnalichn000520520,1111112 -cnalichn00005555,1111112 -cnalichn0000481,1111112 -cnalichn00000000009,1111112 -cnalichn0086toys,1111112 -cnalichn2004lhx,1111112 -cnalichnjxyefeng,1111112 -cnalichn4564weisumei,1111112 -cnalichn0042,1111112 -cnalichn123ef,1111112 -cnalichnjais,1111112 -cnalichn0123abcdefg,1111112 -cnalichn0019,1111112 -cnalichnpeipei111,1111112 -cnalichn123,1111112 -cnalichn01leofan,1111112 -cnalichnyxm2008,1111112 -cnalichnzc001,1111112 -cnalichnjennyzx,1111112 -cnalichnmengyina88,1111112 -cnalichnfuxing5,1111112 -cnalichnjenny114244232,1111112 -cnalichn00003384,1111112 -cnalichnydao,1111112 -cnalichnjennymeili,1111112 -cnalichn0000410265293,1111112 -cnalichnolsp,1111112 -cnalichnshunziqiye,1111112 -cnalichnibll,1111112 -cnalichnfenglsh,1111112 -cnalichn00051stock,1111112 -cnalichn0312699,1111112 -cnalichnlishenga,1111112 -cnalichnenjoywine,1111112 -cnalichnlinseylin,1111112 -cnalichntendywee,1111112 -cnalichnczbird,1111112 -cnalichn5831340,1111112 -cnalichnjennyyin118,1111112 -cnalichnwtall,1111112 -cnalichnjenni01,1111112 -cnalichn001hnyk,1111112 -cnalichnbreakjade,1111112 -cnalichnyichengxue,1111112 -cnalichnjennyzyh,1111112 -cnalichn10256312,1111112 -cnalichn01jinyuan,1111112 -cnalichn0001anxing,1111112 -cnalichn00088,1111112 -cnalichn000363636,1111112 -cnalichnjennyyl,1111112 -cnalichn000tttyyy293,1111112 -cnalichnsnake1981,1111112 -cnalichn0000000000996,1111112 -cnalichnwjwmh5,1111112 -cnalichnjennyyhw82,1111112 -cnalichn000l,1111112 -cnalichn03125503303,1111112 -cnalichnkingkangwt,1111112 -cnalichnsnake,1111112 -cnalichnicdc,1111112 -cnalichnwuchangxiao1001,1111112 -cnalichn4849,1111112 -cnalichnyabo88,1111112 -cnalichnif99,1111112 -cnalichnshhny22,1111112 -cnalichn0312lyhg,1111112 -cnalichniasp,1111112 -cnalichnyonghenglian,1111112 -cnalichn0488,1111112 -cnalichnabc0017,1111112 -cnalichnjennyzou123,1111112 -cnalichniexp,1111112 -cnalichn01sp,1111112 -cnalichnzbjincun,1111112 -cnalichn00000041019129328996,1111112 -cnalichnjason05,1111112 -cnalichnfddz889,1111112 -cnalichn01lizy,1111112 -cnalichn000mzx,1111112 -cnalichn000mzx191,1111112 -cnalichn0007269,1111112 -cnalichndisilinsh,1111112 -cnalichnjennyzou2664,1111112 -cnalichn0312mclh,1111112 -cnalichnivyyys,1111112 -cnalichnmerial,1111112 -cnalichn00201178,1111112 -cnalichnmaifq,1111112 -cnalichnshyxdj,1111112 -cnalichnradzzz,1111112 -cnalichnbobo8882,1111112 -cnalichn0001zxcv,1111112 -cnalichn00000003,1111112 -cnalichnjennyyiwu,1111112 -cnalichncnjoe1107,1111112 -cnalichn0000david,1111112 -cnalichn01jinin,1111112 -cnalichnhzwuce,1111112 -cnalichn000609,1111112 -cnalichnriverbirdok,1111112 -cnalichn00102978,1111112 -cnalichn0oo00ooo000oooo,1111112 -cnalichna00000157,1111112 -cnalichngzjuding,1111112 -cnalichn00124242kjhl,1111112 -cnalichnxxy100200,1111112 -cnalichn001huatai,1111112 -cnalichn0000410265114244168,1111112 -cnalichn01heping,1111112 -cnalichnjennyyjcn,1111112 -cnalichnjinyoumj,1111112 -cnalichn00ddvvbb,1111112 -cnalichn01tcvfdtt,1111112 -cnalichnchuangqiang,1111112 -cnalichnzjxiaorong,1111112 -cnalichn01jjhgtg,1111112 -cnalichn0000001244,1111112 -cnalichnyhuaxin509,1111112 -cnalichn111h6tryuhf,1111112 -cnalichn0004xiaolin,1111112 -cnalichnchenyuqing1985,1111112 -cnalichnabb004,1111112 -cnalichn00000000lijian,1111112 -cnalichn000000yu,1111112 -cnalichn000jiuxing,1111112 -cnalichn0312hqzy,1111112 -cnalichnacc059,1111112 -cnalichna0003774,1111112 -cnalichn0012zxz,1111112 -cnalichn52lhx,1111112 -cnalichnscottyoung,1111112 -cnalichnrfth,1111112 -cnalichnjennyylzh,1111112 -cnalichnzhejiangkjj,1111112 -cnalichn000000123123123123,1111112 -cnalichnckisimonyang,1111112 -cnalichnjasntao,1111112 -cnalichnabc000001,1111112 -cnalichnabc108,1111112 -cnalichn(sz)coljet,1111112 -cnalichnhuapu0703,1111112 -cnalichn8416068,1111112 -cnalichnjennicexu,1111112 -cnalichnruichida,1111112 -cnalichnjolan,1111112 -cnalichnjenny910,1111112 -cnalichn0005a,1111112 -cnalichnjasn3,1111112 -cnalichn00000000000000000217,1111112 -cnalichn000058,1111112 -cnalichnjasn4,1111112 -cnalichnjasn1,1111112 -cnalichnclotheshanger,1111112 -cnalichnjenny7401,1111112 -cnalichn001jack,1111112 -cnalichnjaymo,1111112 -cnalichnddlp,1111112 -cnalichnjasn8,1111112 -cnalichnszxlngs,1111112 -cnalichnjasn9,1111112 -cnalichnsunsunsunsunnnnnn888,1111112 -cnalichn03125063700,1111112 -cnalichnnjhafb,1111112 -cnalichnjenny1007,1111112 -cnalichnjasn7,1111112 -cnalichnjenny0811,1111112 -cnalichn00051,1111112 -cnalichna00000293,1111112 -cnalichnkk0000,1111112 -cnalichnabcd1278,1111112 -cnalichnjenny0722,1111112 -cnalichnabc11888,1111112 -cnalichnjenny84521,1111112 -cnalichn00002435,1111112 -cnalichngs02,1111112 -cnalichn031245zihe,1111112 -cnalichnalitest00003,1111112 -cnalichnclyjj012,1111112 -cnalichn9shenling,1111112 -cnalichn01lynn,1111112 -cnalichn02087216761,1111112 -cnalichn0000000000999999999,1111112 -cnalichn031227885,1111112 -cnalichna0118hh008,1111112 -cnalichna0118hh013,1111112 -cnalichn0020015123,1111112 -cnalichna0118hh007,1111112 -cnalichna0118hh001,1111112 -cnalichnjennymake,1111112 -cnalichn01dz,1111112 -cnalichn03127940370,1111112 -cnalichn03126588116,1111112 -cnalichn012008,1111112 -cnalichnb0018s,1111112 -cnalichn00119,1111112 -cnalichnsnakez,1111112 -cnalichn117,1111112 -cnalichn0000k,1111112 -cnalichn12564a,1111112 -cnalichnkilio,1111112 -cnalichnklkelec,1111112 -cnalichn0432zx,1111112 -cnalichnvivianqueen1990,1111112 -cnalichnjenny015,1111112 -cnalichncc0411cn,1111112 -cnalichnjennyyii,1111112 -cnalichna0000055,1111112 -cnalichnjingjia001,1111112 -cnalichnjingjia002,1111112 -cnalichnjingjia016,1111112 -cnalichnjingjia031,1111112 -cnalichnabc001227,1111112 -cnalichnjennyzsu,1111112 -cnalichn000367,1111112 -cnalichnhhq001,1111112 -cnalichnxinhongzheng,1111112 -cnalichnjennyyiling,1111112 -cnalichn000369000,1111112 -cnalichn0007y,1111112 -cnalichnzorozoe,1111112 -cnalichnjennyzsy,1111112 -cnalichnathena2006,1111112 -cnalichnmhkim,1111112 -cnalichnauction2008,1111112 -cnalichnxingxingzhang,1111112 -cnalichnjenny0656,1111112 -cnalichn01huyong,1111112 -cnalichn001ying,1111112 -cnalichnzhanghaojie12,1111112 -cnalichn01tree,1111112 -cnalichna7554815,1111112 -cnalichnalisoft,1111112 -cnalichnhmtest1,1111112 -cnalichnhmtest2,1111112 -cnalichnjxxgg2000,1111112 -cnalichn2233,1111112 -cnalichnmogoo,1111112 -cnalichnyangqi009,1111112 -cnalichnyanlan,1111112 -cnalichnjltest5,1111112 -cnalichntormoo,1111112 -cnalichnzhang8410,1111112 -cnalichnalisofttest01,1111112 -cnalichnfreeid01,1111112 -cnalichnazz310,1111112 -cnalichnrongyw7,1111112 -cnalichnqwertyuiop444403,1111112 -cnalichntesttm18,1111112 -cnalichncalayatoo,1111112 -cnalichntesttm7,1111112 -cnalichnhello,1111112 -cnalichnali1258,1111112 -cnalichnjasn6,1111112 -cnalichntesttm8,1111112 -cnalichnzxali,1111112 -cnalichntest1552,1111112 -cnalichnpwtest0022,1111112 -cnalichn197611,1111112 -cnalichnrongyw36,1111112 -cnalichnpwtest0003,1111112 -cnalichnabc123,1111112 -cnalichnyuxh73,1111112 -cnalichn13604290020,1111112 -cnalichnnewimtest01,1111112 -cnalichnrongyw1,1111112 -cnalichnrongyw2,1111112 -cnalichn1,1111112 -cnalichnrongyw5,1111112 -cnalichnrongyw9,1111112 -cnalichnabc,1111112 -cnalichnjasn5,1111112 -cnalichnrongyw45,1111112 -cnalichnrongyw34,1111112 -cnalichnzzheng,1111112 -cnalichn07cecilia,1111112 -cnalichncandytest007,1111112 -cnalichnxzlcl,1111112 -cnalichnabc002,1111112 -cnalichnpwtest0026,1111112 -cnalichnpwtest0007,1111112 -cnalichnarui,1111112 -cnalichnregfromchina,1111112 -cnalichnzhaoll116,1111112 -cnalichntestzw1001,1111112 -cnalichneoeo030,1111112 -cnalichnzccrm06,1111112 -cnalichntestgyp002,1111112 -cnalichnaoao011,1111112 -cnalichnfudakinindustry,1111112 -cnalichn123lijuqing,1111112 -cnalichn7296795,1111112 -cnalichn600621,1111112 -cnalichnpwtest0001,1111112 -cnalichntones004,1111112 -cnalichnsnakezhangw103,1111112 -cnalichnsnakezhangw110,1111112 -cnalichnzhaolll011,1111112 -cnalichnsalut002,1111112 -cnalichnzhaoll114,1111112 -cnalichn710627_cn,1111112 -cnalichn711213,1111112 -cnalichn19706819,1111112 -cnalichn1971927,1111112 -cnalichntest2008,1111112 -cnalichnpwtest0006,1111112 -cntaobaoP!9-Kd288,1111112 -cnalichn22709,1111112 -cnalimam1zzchn@qq.com,1111112 -cnalichn710708,1111112 -cnalichn4444,1111112 -cnalichnsnakezhangw108,1111112 -cnalichnthreego,1111112 -cnalichnalichn0002,1111112 -cnalichndaisy,1111112 -cnalichn1378970152,1111112 -cnalichnzhaoll011,1111112 -cnalichntest930,1111112 -cnalichn105yxyx,1111112 -cnalichn444444,1111112 -cnalichn729711,1111112 -cnalichnjiett005,1111112 -cnalichnleonard1,1111112 -cnalichnsnakezhangw101,1111112 -cnalichnpwtest0016,1111112 -cnalichnllll0002,1111112 -cnalichntones005,1111112 -cnalichntones007,1111112 -cnalichn710531,1111112 -cnalichnaoao018,1111112 -cnalichneoeo032,1111112 -cnalichnfire001,1111112 -cnalichnmsy1103,1111112 -cnalichnlauson,1111112 -cnalichn5023460hrc,1111112 -cnalichntestfree,1111112 -cnalichn1375811271,1111112 -cnalichnabc200,1111112 -cnalichntestzw011,1111112 -cnalichneoeo020,1111112 -cnalichn266032,1111112 -cnalichnzhaoll0001,1111112 -cnalichnhoneyfiga,1111112 -cnalichnkimizw000,1111112 -cnalichna900000001,1111112 -cnalichnaoao0014,1111112 -cnalichneoeo014,1111112 -cnalichn1977aaq,1111112 -cnalichnaaa0823,1111112 -cnalichnwhuifen256,1111112 -cnalichneoeo018,1111112 -cnalichncalayato86,1111112 -cnalichnpwtest0018,1111112 -cnalichnzlll003,1111112 -cnalichnzhangjieming001,1111112 -cnalichn13903355057,1111112 -cnalichnleonard2,1111112 -cnalichnleonardtest,1111112 -cnalichnzhaolll001,1111112 -cnalichntestzw019,1111112 -cnalichn961455316,1111112 -cnalichn19760210,1111112 -cnalichnabckkk118,1111112 -cnalichnrongyw40,1111112 -cnalichnkimizw001,1111112 -cnalichn265205,1111112 -cnalichn199066,1111112 -cnalichnzhaoll117,1111112 -cnalichnfire003,1111112 -cnalichn1970829,1111112 -cnalichn232425,1111112 -cnalichnaoao020,1111112 -cnalichneoeo017,1111112 -cnalichnkaka00001,1111112 -cnalichn197182_cn,1111112 -cnalichn7286,1111112 -cnalichnselc,1111112 -cnalichnkimizw006,1111112 -cnalichnzhangmin5,1111112 -cnalichntones001,1111112 -cnalichntones003,1111112 -cnalichnsnakezhangw102,1111112 -cnalichnsnakezhangw104,1111112 -cnalichnsnakezhangw120,1111112 -cnalichnsnakezhangw119,1111112 -cnalichnsnakezhangw900,1111112 -cnalichnsnakezhangw321,1111112 -cnalichnabc008,1111112 -cnalichntest0802,1111112 -cnalichnsohoe,1111112 -cnalichnwqhft,1111112 -cnalichnzz011,1111112 -cnalichn2829212_cn,1111112 -cnalichna00000151,1111112 -cnalichna910406476,1111112 -cnalichnzzhaol005,1111112 -cnalichntestzw020,1111112 -cnalichn000037,1111112 -cnalichneoeo013,1111112 -cnalichnzz013,1111112 -cnalichnzz014,1111112 -cnalichnsnaketest023,1111112 -cnalichnjxxggtest032,1111112 -cnalichnpwtest0013,1111112 -cnalichnllll0001,1111112 -cnalichn1981aaaa,1111112 -cnalichnzccrm08,1111112 -cnalichnzccrm04,1111112 -cnalichnafdsa0800,1111112 -cnalichnalitest001,1111112 -cnalichnwhuifen257,1111112 -cnalichntechina,1111112 -cnalichnpwtest0002,1111112 -cnalichnpwtest0005,1111112 -cnalichnfxxkit,1111112 -cnalichnnikeyshao002,1111112 -cnalichnbutter080309,1111112 -cnalichnali0002,1111112 -cnalichnzhaoll112,1111112 -cnalichn0933169138,1111112 -cnalichn911111113,1111112 -cnalichnaoao014,1111112 -cnalichnaoao015,1111112 -cnalichnzz012,1111112 -cnalichn19900802,1111112 -cnalichn225800,1111112 -cnalichnyouyou002,1111112 -cnalichnjxxggtest037,1111112 -cnalichnnikeyshao001,1111112 -wangwang000ccc,1111112 -cnalichndasiy,1111112 -cnalichn1367494259,1111112 -cnalichnaoao012,1111112 -cnalichnzz010,1111112 -cnalichnqtp320112714,1111112 -cnalichntestzw003,1111112 -cnalichnzlll0011,1111112 -cnalichnbackofficefree,1111112 -cnalichnpwtest0015,1111112 -cnalichncwj888,1111112 -cnalichnamy00121,1111112 -cnalichnaoao019,1111112 -cnalichncbsmy002,1111112 -cnalichntestzw001,1111112 -cnalichnzzl020,1111112 -cnalichnwlbt,1111112 -cnalichn031293,1111112 -cnalichnnhhlgy,1111112 -cnalichnsadsa,1111112 -cnalichn01jennywong,1111112 -cnalichn01jv0hxm,1111112 -cnalichndiamond9,1111112 -cnalichnjjtag00,1111112 -cnalichnwubo211014,1111112 -cnalichn01jr025,1111112 -cnalichnjchxchem,1111112 -cnalichnleizzo001,1111112 -cnalichnlqf7709,1111112 -cnalichnas12,1111112 -cnalichnmurongaddsun,1111112 -cnalichnlazycat,1111112 -cnalichnzhaoqiubao,1111112 -cnalichnxzsqq,1111112 -cnalichnzhaow0001,1111112 -cnalichn19711030,1111112 -cnalichn197118,1111112 -cnalichn0417fjk,1111112 -cnalichn75224xhmc,1111112 -cnalichn5127318,1111112 -cnalichn3twang,1111112 -cnalichn4016,1111112 -cnalichn4049193,1111112 -cnalichn5810993,1111112 -wangwang9411957,1111112 -cnalichncnems,1111112 -wangwang7093376,1111112 -cnalichnspjck,1111112 -cnalichnwhite_pigeon,1111112 -cnalichnlzhjy,1111112 -cnalichnluckyyoung,1111112 -cnalichnlike1999,1111112 -cnalichnjosiewp,1111112 -cnalichn001119,1111112 -cnalichngs07,1111112 -cnalichn197078,1111112 -cnalichn0432686171,1111112 -cnalichn123kid,1111112 -cnalichn660208712,1111112 -cnalichn3kgs,1111112 -cnalichn39980067,1111112 -cnalichn3953406,1111112 -cnalichn575677zhumin,1111112 -cnalichnsusanqd,1111112 -cnalichn3water,1111112 -cnalichn58129923,1111112 -cnalichnabcd1999,1111112 -cnalichn16000,1111112 -cnalichnjiezhou,1111112 -cnalichnye007,1111112 -cnalichnzhaoman29,1111112 -cnalichnxuke200,1111112 -cnalichnbaitfpdv,1111112 -cnalichnchbmimi,1111112 -cnalichnbaic,1111112 -cnalichnchbu,1111112 -cnalichncaiecgz,1111112 -cnalichncffm,1111112 -cnalichncfflk,1111112 -cnalichnjnjshjx,1111112 -cnalichnzzlizh,1111112 -cnalichnzzk,1111112 -wangwang7661942,1111112 -cnalichn197081,1111112 -cnalichn40073,1111112 -cnalichn401186,1111112 -cnalichn5858tw,1111112 -cnalichn586586,1111112 -cnalichnxboeie,1111112 -cnalichnpronghh,1111112 -cnalichnyq,1111112 -cnalichnsnakezhangw848,1111112 -cnalichnsnakezhangw306,1111112 -cnalichnxrlim2,1111112 -wangwang342342342342,1111112 -cnalichneoeo011,1111112 -cnalichnsnakezhangw112,1111112 -cnalichna910905597,1111112 -cnalichn0011,1111112 -cnalichntaigucui,1111112 -cnalichnman7000,1111112 -cnalichnzzmmh,1111112 -cnalichnyuanwb,1111112 -cnalichnyummyummyumm,1111112 -cnalichngordonc,1111112 -cnalichnzjxte,1111112 -cnalichnwujj,1111112 -cnalichnjuyy,1111112 -cnalichnlongxiangstone07,1111112 -cnalichnshlc18,1111112 -cnalichnxywlcb,1111112 -cnalichnxmjjgs,1111112 -cnalichnyoujj,1111112 -cnalichncharles8,1111112 -cnalichnhdfz,1111112 -cnalichnsnakezhangw115,1111112 -wangwang215135423234,1111112 -cnalichnsnakezhangw891,1111112 -cnalichnsnakezhangw444,1111112 -cnalichnsnakezhangw379,1111112 -cnalichnsnakezhangw360,1111112 -cnalichnsnakezhangw415,1111112 -cnalichnsnakezhangw435,1111112 -cnalichnbags,1111112 -cnalichn7269,1111112 -cnalichnlixiansheng001,1111112 -cnalichnwu102517,1111112 -cnalichnyw_wenyon,1111112 -cnalichnling4525,1111112 -cnalichnmdengyun,1111112 -cnalichnyuhai,1111112 -cnalichnyuhongrong,1111112 -cnalichnyuho,1111112 -cnalichnyuhao,1111112 -cnalichnystar,1111112 -cnalichnjenniezjydxm203,1111112 -cnalichnjenniezjydxm002,1111112 -cnalichnjenniezjydxm113,1111112 -cnalichn00008,1111112 -cnalichn0006,1111112 -cnalichnjenniezjydxm230,1111112 -cnalichnnarui,1111112 -cnalichnmojiangtao,1111112 -cnalichn200001,1111112 -cnalichnmctc,1111112 -cnalichnbootix,1111112 -cnalichnayee,1111112 -cnalichnxjlibing,1111112 -cnalichnlijiandai,1111112 -cnalichnzhengluguang,1111112 -cnalichnluancan,1111112 -cnalichnzjpoly,1111112 -cnalichnfcm822,1111112 -cnalichnredfir,1111112 -cnalichnliuh007,1111112 -cnalichntxlxr2008,1111112 -cnalichnjenny003,1111112 -cnalichnjenniezjydxm078,1111112 -cnalichnjenniezjydxm100,1111112 -cnalichnjenniezjydxm128,1111112 -wangwang9282223,1111112 -cnalichnysw,1111112 -cnalichnyp1000,1111112 -cnalichnhaoland,1111112 -cnalichnjeffcarry,1111112 -cnalichnyfzygarment,1111112 -cnalichnyoyeetest1212121,1111112 -cnalichnzhaozw001,1111112 -cnalichnsnakeztest08,1111112 -cnalichnouyangzhen,1111112 -cnalichnjason16,1111112 -cnalichnyib,1111112 -cnalichnsnakezhangw117,1111112 -wangwanghaha1234,1111112 -wangwang254234234234,1111112 -cnalichnsnakezhangw327,1111112 -cnalichnsnakezhangw372,1111112 -cnalichngcbdel,1111112 -cnalichnsnakezhangw896,1111112 -cnalichn108first,1111112 -cnalichnzzhaol008,1111112 -cnalichn000201,1111112 -cnalichn000221,1111112 -cnalichn000619,1111112 -cnalichn000830,1111112 -cnalichn000839,1111112 -cnalichn0036,1111112 -cnalichn000817,1111112 -cnalichnzoo3,1111112 -cnalichngugugu1234,1111112 -cnalichnfire004,1111112 -cnalichnzhanghyu,1111112 -cnalichnaxlzhao,1111112 -cnalichnfire005,1111112 -cnalichnsnakezhangw453,1111112 -cnalichnyangke,1111112 -cnalichnyunyun2345,1111112 -cnalichnchenwpemail,1111112 -cnalichnychxfchn,1111112 -cnalichnclone,1111112 -cnalichnailisi1234,1111112 -cnalichn0004,1111112 -cnalichnsetflag03,1111112 -cnalichnsdmsg06,1111112 -cnalichnaddbind16,1111112 -cnalichnaddbind05,1111112 -cnalichnjenniezjydxm277,1111112 -cnalichnjenniezjydxm288,1111112 -cnalichnjenniezjydxm089,1111112 -cnalichn000810,1111112 -cnalichnwaynew,1111112 -cnalichnzhanggw,1111112 -cnalichnsnakezhangw868,1111112 -cnalichnsnakezhangw571,1111112 -cnalichnsnakezhangw892,1111112 -cnalichnsnakezhangw447,1111112 -cnalichnsnakezhangw836,1111112 -cnalichnudb4,1111112 -cnalichnudb3,1111112 -cnalichn0021,1111112 -cnalichnsnakezhangw305,1111112 -cnalichneoeo015,1111112 -cnalichnxixixi,1111112 -cnalichnxiamengbing,1111112 -cnalichnwlchen,1111112 -cnalichnyangtze_co,1111112 -cnalichnyanguo,1111112 -wangwang9053928,1111112 -wangwang5456212,1111112 -cnalichnzxbs,1111112 -cnalichnsnakezhangw830,1111112 -cnalichneoeo16,1111112 -cnalichnybmichael,1111112 -cnalichn0033,1111112 -cnalichnzhuping888,1111112 -cnalichnsnakezhangw391,1111112 -cnalichnsnakezhangw499,1111112 -cnalichnlongwang2000,1111112 -cnalichnsnakezhangw585,1111112 -cnalichnjenniezjydxm017,1111112 -cnalichnsnakezhangw116,1111112 -cnalichnsnakezhangw113,1111112 -cnalichnsnakezhangw644,1111112 -cnalichnwangmali,1111112 -cnalichn5003760,1111112 -cnalichnhengkun,1111112 -cnalichnsnakezhangw551,1111112 -cnalichnsnakezhangw413,1111112 -cnalichnsnakezhangw414,1111112 -cnalichn44444,1111112 -cnalichn01zzzzz,1111112 -wangwang8114388,1111112 -cnalichn1970722,1111112 -cnalichn19710105,1111112 -cnalichn1971619,1111112 -cnalichn197175,1111112 -cnalichn197182,1111112 -cnalichn1971910,1111112 -cnalichn225939_cn,1111112 -cnalichn2312985,1111112 -cnalichn2315562,1111112 -cnalichn0435,1111112 -cnalichn123company,1111112 -cnalichn123dfgh78,1111112 -cnalichn6581294_cn,1111112 -cnalichn660421,1111112 -cnalichn660624,1111112 -cnalichn66088,1111112 -cnalichn7510000,1111112 -cnalichn751030,1111112 -cnalichn751109_cn,1111112 -cnalichn751120,1111112 -cnalichn3219901,1111112 -cnalichn321_sxf,1111112 -cnalichn3221373,1111112 -cnalichn328,1111112 -cnalichn32888,1111112 -cnalichn5116888,1111112 -cnalichn511n,1111112 -cnalichn5126,1111112 -cnalichnjxxggtest036,1111112 -cnalichn3921557,1111112 -cnalichn3l_inc,1111112 -cnalichn3ggg,1111112 -cnalichn3friends,1111112 -cnalichn3eee,1111112 -cnalichn3dfx,1111112 -cnalichn3dcc,1111112 -cnalichn3cons,1111112 -cnalichn3bm3bm,1111112 -cnalichn3987li,1111112 -cnalichn3939969,1111112 -cnalichn3931710,1111112 -cnalichn805fishman,1111112 -cnalichn80624,1111112 -cnalichn3you_cn,1111112 -cnalichn3z,1111112 -cnalichn4009,1111112 -cnalichn4012,1111112 -cnalichn4014748,1111112 -cnalichn4021,1111112 -cnalichn4023417_cn,1111112 -cnalichn40529han,1111112 -cnalichn581123,1111112 -cnalichnzhaoll115,1111112 -cnalichn000521,1111112 -cnalichnjenniezjydxm033,1111112 -cnalichnjenniezjydxm121,1111112 -wangwang345423423123,1111112 -cnalichnhh258369,1111112 -cnalichnsnakezhangw568,1111112 -cnalichnsnakezhangw411,1111112 -cnalichn5821215,1111112 -cnalichn58372690,1111112 -cnalichn585858,1111112 -cnalichn58609,1111112 -cnalichnabcd2000,1111112 -cnalichnabcd420,1111112 -cnalichnabcdaaaa,1111112 -cnalichnabcdabcd,1111112 -cnalichnabcde1,1111112 -cnalichnabcde1189336,1111112 -cnalichnabcdefg04312937287,1111112 -cnalichnabcdefgh,1111112 -cnalichnabcdefghi,1111112 -cnalichnabcdefghigklmn,1111112 -cnalichnchendu,1111112 -cnalichnchenshui,1111112 -cnalichnbbot,1111112 -cnalichnbodanet,1111112 -wangwang8741500,1111112 -wangwang5138963,1111112 -cnalichnbolifrist,1111112 -cnalichnyytea,1111112 -cnalichncandytest010,1111112 -cnalichn08lpaaaa,1111112 -cnalichnyanling,1111112 -wangwang9719952,1111112 -cnalichnsnakezhangw847,1111112 -cnalichnsnakezhangw449,1111112 -cnalichnsnakezhangw349,1111112 -cnalichnsnakezhangw416,1111112 -cnalichnsnakezhangw601,1111112 -cnalichnsnakezhangw500,1111112 -cnalichnsnakezhangw611,1111112 -cnalichnchenzhixia,1111112 -cnalichn085bbbb,1111112 -cnalichncsytwt,1111112 -cnalichn00004,1111112 -wangwang9908649,1111112 -wangwang6298570,1111112 -cnalichn1858888888,1111112 -wangwang7217284,1111112 -wangwang9131084,1111112 -wangwang9263464,1111112 -wangwang6503809,1111112 -wangwang6361006,1111112 -cnalichndavid_dw,1111112 -cnalichnliusike,1111112 -cnalichnjoycema,1111112 -wangwang9800792,1111112 -cnalichnfyg18,1111112 -cnalichncqamt,1111112 -cnalichneoeo016,1111112 -wangwang7381032,1111112 -cnalichncnapl,1111112 -cnalichnxianke,1111112 -cnalichnxtxml,1111112 -cnalichnxikai,1111112 -cnalichnxu725,1111112 -cnalichnydyckm,1111112 -cnalichnyunyun1234,1111112 -cnalichn40chieves,1111112 -wangwang9007775,1111112 -cnalichnyanguang,1111112 -wangwang5275297,1111112 -cnalichn660306,1111112 -cnalichn751112,1111112 -cnalichn321_cn,1111112 -cnalichnchunming,1111112 -cnalichn004343,1111112 -wangwang7364605,1111112 -cnalichn1100a,1111112 -cnalichnzhenhong,1111112 -cnalichnkpgs,1111112 -cnalichnyuanli,1111112 -cnalichnzhlimoto,1111112 -cnalichnsetflag02,1111112 -cnalichngetuserinfotest03,1111112 -cnalichnjenniezjydxm177,1111112 -cnalichn1977320_cn,1111112 -cnalichnxyd8,1111112 -cnalichnsnakezhangw341,1111112 -wangwang2355485343523,1111112 -cnalichnsnakezhangw373,1111112 -cnalichnsnakezhangw300,1111112 -wangwang5493814,1111112 -cnalichnyanan,1111112 -cnalichnyan1xiu2,1111112 -cnalichnzhmw,1111112 -cnalichnzhenan,1111112 -wangwang9935374,1111112 -wangwang6145697,1111112 -cnalichnzhenhao,1111112 -cnalichnxiaojingqin,1111112 -cnalichnzhuhaizhifenghuang,1111112 -cnalichnyuanjin,1111112 -cnalichnzhenan123,1111112 -cnalichnyuanlou,1111112 -cnalichnfanluo,1111112 -cnalichnyangjianfz,1111112 -cnalichncombotech,1111112 -cnalichnfortis,1111112 -cnalichndecorhome,1111112 -cnalichncalfornia,1111112 -cnalichnericsean,1111112 -cnalichndabin8,1111112 -cnalichnjerryen,1111112 -cnalichnmanye,1111112 -cnalichnhelendu,1111112 -cnalichnlishang,1111112 -cnalichnjunping,1111112 -cnalichngxazrr,1111112 -cnalichnhuangzhihua,1111112 -cnalichntank2000,1111112 -cnalichnzhfeng163,1111112 -cnalichnliulisheng,1111112 -cnalichngaoyimo,1111112 -cnalichnjenniezjydxm189,1111112 -cnalichnjenniezjydxm138,1111112 -cnalichnsnakezhangw346,1111112 -cnalichn00191,1111112 -cnalichnating,1111112 -cnalichnaobao,1111112 -cnalichnseeyu,1111112 -cnalichnwuzeyan,1111112 -cnalichnzhuhaiqing,1111112 -cnalichnyangqingemail,1111112 -cnalichnsyb825,1111112 -cnalichnuuiiuuii,1111112 -cnalichnkevien,1111112 -cnalichngengnong,1111112 -cnalichncandywong,1111112 -cnalichnnklaoyou,1111112 -cnalichnyangchuanzheng,1111112 -cnalichnjing218,1111112 -cnalichnfenghuibin,1111112 -cnalichnkotra,1111112 -cnalichnzhanghm,1111112 -cnalichnzhanghk,1111112 -cnalichnzhanghexun,1111112 -cnalichnzeling,1111112 -cnalichn00461,1111112 -cnalichn10012,1111112 -cnalichn0012,1111112 -cnalichnwuyu,1111112 -cnalichnwuyun,1111112 -cnalichnjenniezjydxm001,1111112 -cnalichnjenniezjydxm301,1111112 -cnalichnjenniezjydxm117,1111112 -cnalichnjenniezjydxm150,1111112 -cnalichnjenniezjydxm151,1111112 -wangwang892389889,1111112 -cnalichnyibang,1111112 -cnalichnsnakezhangw448,1111112 -cnalichnsnakezhangw899,1111112 -cnalichnabc00,1111112 -cnalichnsetflag05,1111112 -cnalichnsetflag07,1111112 -cnalichngs01,1111112 -cnalichngetuserinfotest01,1111112 -cnalichngs04,1111112 -cnalichnsdmsg01,1111112 -cnalichnsdmsg03,1111112 -cnalichnsdmsg04,1111112 -cnalichnsdmsg97,1111112 -cnalichnsdmsg99,1111112 -cnalichnsyncuser04,1111112 -cnalichnjasonabcdefghijkl04,1111112 -cnalichnjasonabcdefghijkl03,1111112 -cnalichngetuserinfotest02,1111112 -cnalichngetuserinfotest04,1111112 -cnalichnjenniezjydxm029,1111112 -cnalichnaddbind17,1111112 -cnalichnaddbind10,1111112 -cnalichnaddbind07,1111112 -cnalichnaddbind02,1111112 -cnalichnjenniezjydxm031,1111112 -cnalichnpinnettech,1111112 -cnalichnjenniezjydxm032,1111112 -cnalichnjenniezjydxm102,1111112 -cnalichnjenniezjydxm103,1111112 -cnalichnjasonabcdefghijkl01,1111112 -cnalichnjenniezjydxm186,1111112 -cnalichntonger,1111112 -cnalichn1977121_cn,1111112 -cnalichnbeiyangz,1111112 -cnalichndianjing,1111112 -cnalichnjenniezjydxm101,1111112 -cnalichnjenniezjydxm119,1111112 -cnalichnblinkday,1111112 -cnalichnsnakezhangw855,1111112 -cnalichnsnakezhangw114,1111112 -wangwang4543534534534,1111112 -wangwang423423412321,1111112 -cnalichnsnakezhangw816,1111112 -cnalichnsnakezhangw893,1111112 -cnalichnsnakezhangw412,1111112 -cnalichnsnakezhangw610,1111112 -cnalichnsnakezhangw622,1111112 -cnalichnjenniezjydxm047,1111112 -cnalichnjenniezjydxm120,1111112 -cnalichnjenniezjydxm200,1111112 -cnalichnjenniezjydxm235,1111112 -cnalichnjenniezjydxm236,1111112 -cnalichnjenniezjydxm123,1111112 -cnalichn19775314_cn,1111112 -cnalichnjenniezjydxm222,1111112 -cnalichnjenniezjydxm009,1111112 -cnalichnjenniezjydxm244,1111112 -cnalichnjenniezjydxm018,1111112 -cnalichnjenniezjydxm263,1111112 -cnalichnjenniezjydxm267,1111112 -cnalichnjenniezjydxm008,1111112 -cnalichnshatterwind,1111112 -cnalichnjenniezjydxm285,1111112 -cnalichnjenniezjydxm010,1111112 -cnalichnjenniezjydxm077,1111112 -cnalichnjenniezjydxm293,1111112 -cnalichnjenniezjydxm005,1111112 -cnalichnjenniezjydxm075,1111112 -cnalichnjenniezjydxm173,1111112 -cnalichnjenniezjydxm156,1111112 -cnalichnjenniezjydxm076,1111112 -cnalichnjenniezjydxm079,1111112 -cnalichnjenniezjydxm179,1111112 -cnalichnjenniezjydxm003,1111112 -cnalichnjenniezjydxm012,1111112 -cnalichnjenniezjydxm006,1111112 -cnalichnjenniezjydxm161,1111112 -cnalichnjenniezjydxm013,1111112 -cnalichnjenniezjydxm154,1111112 -cnalichnjenniezjydxm090,1111112 -cnalichnjenniezjydxm129,1111112 -cnalichnjenniezjydxm132,1111112 -cnalichnjenniezjydxm019,1111112 -cnalichnjenniezjydxm021,1111112 -cnalichnjenniezjydxm022,1111112 -cnalichnjenniezjydxm023,1111112 -cnalichnjenniezjydxm024,1111112 -cnalichnnjlmhg,1111112 -cnalichn741104,1111112 -wangwang7892383,1111112 -cnalichnbestco,1111112 -cnalichnnbtest1,1111112 -cnalichnsnakezhangw421,1111112 -cnalichnqiuautumn2003,1111112 -cnalichnjenniezjydxm015,1111112 -cnalichnjenniezjydxm152,1111112 -cnalichnjenniezjydxm014,1111112 -cnalichnjenniezjydxm016,1111112 -cnalichnjenniezjydxm004,1111112 -cnalichnjenniezjydxm088,1111112 -cnalichnjenniezjydxm153,1111112 -cnalichnjenniezjydxm071,1111112 -cnalichnjenniezjydxm104,1111112 -cnalichnjenniezjydxm135,1111112 -cnalichnjenniezjydxm074,1111112 -cnalichnjenniezjydxm105,1111112 -cnalichnjenniezjydxm073,1111112 -cnalichnjenniezjydxm133,1111112 -cnalichnjenniezjydxm110,1111112 -cnalichnjenniezjydxm239,1111112 -cnalichnjenniezjydxm124,1111112 -cnalichnjenniezjydxm122,1111112 -cnalichnjenniezjydxm125,1111112 -cnalichn01janewong,1111112 -cnalichnyvonne7889,1111112 -cnalichn00003,1111112 -cnalichn00006,1111112 -cnalichn00007,1111112 -cnalichn00009,1111112 -cnalichn00010,1111112 -cnalichn0002,1111112 -cnalichn0005,1111112 -cnalichn00063,1111112 -cnalichn00068,1111112 -cnalichn0007,1111112 -cnalichn00077,1111112 -wangwang8382204,1111112 -cnalichnwanglixin,1111112 -cnalichnjenniezjydxm127,1111112 -cnalichnjenniezjydxm130,1111112 -cnalichnjenniezjydxm266,1111112 -cnalichnjenniezjydxm131,1111112 -wangwang806474091,1111112 -cnalichnjenniezjydxm025,1111112 -cnalichnjenniezjydxm026,1111112 -cnalichnjenniezjydxm007,1111112 -cnalichnjenniezjydxm011,1111112 -cnalichnjason01,1111112 -cnalichnjenniezjydxm027,1111112 -cnalichnjenniezjydxm028,1111112 -cnalichnjenniezjydxm030,1111112 -cnalichnjason04,1111112 -cnalichnamychensh,1111112 -cnalichnjenniezjydxm037,1111112 -cnalichnjenniezjydxm038,1111112 -cnalichnjenniezjydxm043,1111112 -cnalichnjason06,1111112 -cnalichnjason09,1111112 -cnalichninter6,1111112 -cnalichnjenniezjydxm126,1111112 -cnalichnjenniezjydxm134,1111112 -wangwang6497565,1111112 -cnalichnjenniezjydxm136,1111112 -cnalichnjenniezjydxm137,1111112 -cnalichnjenniezjydxm139,1111112 -cnalichnjenniezjydxm141,1111112 -cnalichnjenniezjydxm142,1111112 -cnalichnname,1111112 -cnalichnjenniezjydxm143,1111112 -cnalichnwxmstar,1111112 -cnalichnwuwuj,1111112 -cnalichnxiangyun,1111112 -wangwang7287056,1111112 -cnalichnxydq,1111112 -cnalichnxyd1,1111112 -cnalichntsb9000,1111112 -cnalichnlouyuejun,1111112 -cnalichnaoao017,1111112 -cnalichn0003,1111112 -cnalichn0312map,1111112 -cnalichnwldboy,1111112 -cnalichn100020,1111112 -cnalichn100021,1111112 -cnalichn100022,1111112 -cnalichn100042,1111112 -cnalichndajiaoban77,1111112 -cnalichnjenniezjydxm106,1111112 -cnalichnhuabgzga,1111112 -cnalichncntaobao,1111112 -cnalichnhdcexmn,1111112 -cnalichnwshhz,1111112 -cnalichnjason12,1111112 -cnalichnsnakezhangw675,1111112 -cnalichn0081,1111112 -cnalichnxxlfree01,1111112 -cnalichnafafadfadf,1111112 -cnalichnelian955,1111112 -cnalichnjason03,1111112 -cnalichnzlx,1111112 -cnalichnabc009,1111112 -cnalichnsnakezhangw646,1111112 -cnalichngs03,1111112 -cnalichnwolongsxj005,1111112 -cnalichntestzw009,1111112 -cnalichntestzw010,1111112 -cnalichnhzjohn,1111112 -cnalichnabc003,1111112 -cnalichnetszs,1111112 -cnalichnxxletc020,1111112 -cnalichntptoictu004,1111112 -cnalichnzhanghaojie50,1111112 -cnalichnzhanghaojie41,1111112 -cnalichntones010,1111112 -cnalichnabcdefg1122,1111112 -cnalichntestzw007,1111112 -cnalichnsqftest055,1111112 -cnalichntestzw008,1111112 -cnalichnyuwen,1111112 -cnalichnlamber,1111112 -cnalichntestzjy10,1111112 -cnalichntones009,1111112 -cnalichntestzw018,1111112 -cnalichnsnakezhangw690,1111112 -cnalichnharveykwai,1111112 -cnalichntones006,1111112 -cnalichntones008,1111112 -cnalichnsqftest060,1111112 -cnalichnsnakezhangw660,1111112 -cnalichnczxtest20,1111112 -cnalichnczxtest42,1111112 -cnalichnfgift,1111112 -cnalichnsnakezhangw109,1111112 -cnalichnswfg,1111112 -cnalichnyanglixin,1111112 -cnalichntestzjy11,1111112 -cnalichnjenniezjydxm300,1111112 -cnalichnczxtest45,1111112 -cnalichnleding,1111112 -cnalichnxxlfree03,1111112 -cnalichnkelan23,1111112 -cnalichnetcptp019,1111112 -cnalichnetctest06,1111112 -cnalichnxxlfree06,1111112 -cnalichnczxtest21,1111112 -cnalichnczxtest41,1111112 -cnalichnwxukai,1111112 -cnalichnsnakezhangw645,1111112 -cnalichnczxtest1,1111112 -cnalichnsqftest052,1111112 -cnalichnsnakezhangw356,1111112 -cnalichnxiaolu333,1111112 -cnalichnbaobaobao,1111112 -cnalichnepop,1111112 -cnalichnetcptp018,1111112 -cnalichnzzdyjq,1111112 -cnalichnetctest2000,1111112 -cnalichnetcetp01,1111112 -cnalichnczxtest12,1111112 -cnalichnetcptp016,1111112 -cnalichnczxtest2,1111112 -cnalichnczxtest22,1111112 -cnalichnetctest07,1111112 -cnalichnzhouquanquantest1,1111112 -cnalichnjenniezjydxm072,1111112 -cnalichnsnakezhangw361,1111112 -cnalichnscottyeung,1111112 -cnalichnetcptp001,1111112 -cnalichnsnakezhangw107,1111112 -cnalichnetctest29,1111112 -cnalichnkelan2222,1111112 -cnalichnetcptp002,1111112 -cnalichnzhouquanquantest2,1111112 -cnalichnitbuqing001,1111112 -cnalichnsz99and2,1111112 -cnalichnetctest04,1111112 -cnalichnxxlfree09,1111112 -cnalichntestzjy13,1111112 -cnalichnkelan296,1111112 -cnalichnyuxh,1111112 -cnalichnxxlfree02,1111112 -cnalichnmengnica,1111112 -cnalichnxxletc015,1111112 -cnalichnxxletc019,1111112 -cnalichnkelan386,1111112 -cnalichnetctest09,1111112 -cnalichnetctest2010,1111112 -cnalichnswfj,1111112 -cnalichnalitest00001,1111112 -cnalichnetctest25,1111112 -cnalichntestzjy12,1111112 -cnalichnasec_caven_wu,1111112 -cnalichnbevin1,1111112 -cnalichnkelan299,1111112 -cnalichntestfree1,1111112 -cnalichnsnakezhangw200,1111112 -cnalichnxin02,1111112 -cnalichnphxx,1111112 -cnalichnetcptp006,1111112 -cnalichnczxtest32,1111112 -cnalichnczxtest36,1111112 -cnalichnetctest26,1111112 -cnalichnzhoulihuo888,1111112 -cnalichntestfree2,1111112 -cnalichnwolongsxj001,1111112 -cnalichnetcptp012,1111112 -cnalichnlujunying,1111112 -cnalichntptoictu018,1111112 -cnalichnzhanghaojie101,1111112 -cnalichnsnakezhangw208,1111112 -cnalichnsnakezhangw111,1111112 -cnalichnzztest,1111112 -cnalichntanbro,1111112 -cnalichnweixiaoyetp1,1111112 -cnalichn1976411,1111112 -cnalichnwh001,1111112 -cnalichngongxiaofeng,1111112 -cnalichn0419,1111112 -cnalichntptoictu005,1111112 -cnalichnzhanghaojie102,1111112 -cnalichnczxtest18,1111112 -cnalichnmakerweng,1111112 -cnalichntones002,1111112 -cnalichnjenniezjydxm045,1111112 -cnalichnjenniezjydxm046,1111112 -cnalichnjenniezjydxm233,1111112 -cnalichnoldversion01,1111112 -cnalichntest0001,1111112 -cnalichnsnakezhangw106,1111112 -cnalichnleonard3,1111112 -cnalichnbarneywang,1111112 -cnalichnyaoc,1111112 -cnalichnchance20100227181112,1111112 -cnalichnzhanghaojie120,1111112 -cnalichntptoictu015,1111112 -cnalichna0000015,1111112 -cnalichnetcptp011,1111112 -cnalichn000310,1111112 -cnalichn01shidai,1111112 -cnalichnjenniezjydxm036,1111112 -cnalichnjenniezjydxm044,1111112 -cnalichnwenzhu,1111112 -cnalichnjxxgg3025,1111112 -cnalichntpyeung,1111112 -cnalichnaliuser955,1111112 -cnalichn711030,1111112 -cnalichnyangzhq,1111112 -cnalichnhandbag_cangg,1111112 -cnalichncrmtest,1111112 -cnalichnjiett003,1111112 -cnalichneoeo031,1111112 -cnalichnzhaoll019,1111112 -cnalichnzhanghaojie25,1111112 -cnalichnchenyifan,1111112 -cnalichntptoictu009,1111112 -cnalichnzhaobarb,1111112 -cnalichnkelan156,1111112 -cnalichnsnakezhangw118,1111112 -cnalichnetcptp004,1111112 -cnalichnwangcunjiang,1111112 -cnalichnsnakezhangw105,1111112 -cnalichneyun2003,1111112 -cnalichnhslyg,1111112 -cnalichnxxlfree07,1111112 -cnalichnzxby,1111112 -cnalichn000725,1111112 -cnalichn0053,1111112 -cnalichngs06,1111112 -cnalichnsyncuser02,1111112 -cnalichnaddbind01,1111112 -cnalichnaddbind03,1111112 -cnalichnjenniezjydxm020,1111112 -cnalichnjenniezjydxm042,1111112 -cnalichnweizhu,1111112 -cnalichnjason10,1111112 -cnalichnloudsj,1111112 -cnalichnshanhaitao,1111112 -cnalichnjsxumin,1111112 -cnalichnsnakezhangw100,1111112 -cnalichnsnakezhangw894,1111112 -cnalichnlanber,1111112 -cnalichnczxtest7,1111112 -cnalichnczxtest8,1111112 -cnalichnczxtest4,1111112 -cnalichnczxtest3,1111112 -cnalichnczxtest5,1111112 -cnalichnczxtest26,1111112 -cnalichnczxtest38,1111112 -cnalichnczxtest44,1111112 -cnalichnczxtest60,1111112 -cnalichnczxtest58,1111112 -cnalichnczxtest43,1111112 -cnalichnalitestkb007,1111112 -cnalichnczxtest11,1111112 -cnalichnwebimtest000009,1111112 -cnalichnwebimtest000002,1111112 -cnalichnwebimtest000178,1111112 -cnalichnwebimtest000063,1111112 -cnalichnwebimtest000078,1111112 -cnalichnwebimtest000174,1111112 -cnalichnwebimtest000026,1111112 -cnalichnwebimtest000046,1111112 -cnalichnwebimtest000148,1111112 -cnalichnwebimtest000128,1111112 -cnalichnwebimtest000066,1111112 -cnalichnwebimtest000072,1111112 -cnalichnwebimtest000029,1111112 -cnalichnwebimtest000075,1111112 -cnalichnwebimtest000191,1111112 -cnalichnwebimtest000098,1111112 -cnalichnwebimtest000059,1111112 -cnalichnwebimtest000192,1111112 -cnalichnwebimtest000024,1111112 -cnalichnwebimtest000188,1111112 -cnalichnwebimtest000209,1111112 -cnalichnwebimtest000205,1111112 -cnalichnwebimtest000241,1111112 -cnalichnwebimtest000389,1111112 -cnalichnwebimtest000786,1111112 -cnalichnwebimtest000353,1111112 -cnalichnwebimtest000671,1111112 -cnalichnwebimtest000853,1111112 -cnalichnwebimtest001328,1111112 -cnalichnwebimtest000869,1111112 -cnalichnwebimtest001373,1111112 -cnalichnwebimtest000680,1111112 -cnalichnwebimtest000379,1111112 -cnalichnwebimtest000662,1111112 -cnalichnwebimtest001378,1111112 -cnalichnwebimtest000792,1111112 -cnalichnwebimtest001372,1111112 -cnalichnczxtest40,1111112 -cnalichnczxtest14,1111112 -cnalichnczxtest19,1111112 -cnalichnczxtest29,1111112 -cnalichnyangfei116,1111112 -cnalichnfengqin,1111112 -cnalichnczxtest13,1111112 -cnalichnczxtest25,1111112 -cnalichnczxtest46,1111112 -cnalichnczxtest35,1111112 -cnalichnczxtest57,1111112 -cnalichnjenniezjydxm091,1111112 -cnalichnwebimtest000323,1111112 -cnalichnwebimtest000371,1111112 -cnalichnwebimtest001407,1111112 -cnalichnwebimtest000350,1111112 -cnalichnwebimtest000703,1111112 -cnalichnwebimtest000938,1111112 -cnalichnwebimtest000492,1111112 -cnalichnwebimtest000597,1111112 -cnalichnwebimtest001479,1111112 -cnalichnwebimtest001919,1111112 -cnalichnwebimtest000836,1111112 -cnalichnwebimtest001459,1111112 -cnalichnwebimtest001165,1111112 -cnalichnwebimtest001094,1111112 -cnalichnwebimtest001120,1111112 -cnalichnwebimtest001200,1111112 -cnalichnwebimtest001195,1111112 -cnalichnwebimtest001251,1111112 -cnalichnwebimtest001087,1111112 -cnalichnwebimtest001052,1111112 -cnalichnwebimtest001092,1111112 -cnalichnwebimtest001115,1111112 -cnalichnwebimtest001211,1111112 -cnalichnwebimtest001223,1111112 -cnalichnwebimtest001594,1111112 -cnalichnwebimtest001485,1111112 -cnalichnwebimtest001585,1111112 -cnalichnwebimtest001879,1111112 -cnalichnwebimtest001969,1111112 -cnalichnwebimtest001548,1111112 -cnalichnwebimtest001871,1111112 -cnalichnwebimtest001884,1111112 -cnalichnwebimtest001883,1111112 -cnalichnwebimtest001992,1111112 -cnalichnwebimtest001906,1111112 -cnalichnwebimtest001540,1111112 -cnalichnwebimtest001800,1111112 -cnalichnwebimtest001873,1111112 -cnalichnwebimtest001936,1111112 -cnalichnwebimtest001990,1111112 -cnalichnwebimtest000388,1111112 -cnalichnwebimtest000630,1111112 -cnalichnwebimtest000645,1111112 -cnalichnwebimtest000643,1111112 -cnalichnwebimtest000496,1111112 -cnalichnczxtest10,1111112 -cnalichnczxtest31,1111112 -cnalichnwebimtest000004,1111112 -cnalichnyangfei300,1111112 -cnalichnwebimtest000011,1111112 -cnalichnwebimtest000014,1111112 -cnalichnwebimtest000053,1111112 -cnalichnwebimtest000048,1111112 -cnalichnwebimtest000086,1111112 -cnalichnwebimtest000157,1111112 -cnalichnwebimtest000091,1111112 -cnalichnwebimtest000134,1111112 -cnalichnwebimtest000199,1111112 -cnalichnwebimtest000034,1111112 -cnalichnwebimtest000074,1111112 -cnalichnwebimtest000122,1111112 -cnalichnwebimtest000211,1111112 -cnalichnwebimtest000233,1111112 -cnalichnwebimtest000300,1111112 -cnalichnwebimtest000375,1111112 -cnalichnwebimtest000308,1111112 -cnalichnwebimtest000364,1111112 -cnalichnwebimtest000380,1111112 -cnalichnwebimtest001306,1111112 -cnalichnwebimtest000873,1111112 -cnalichnwebimtest001405,1111112 -cnalichnwebimtest000781,1111112 -cnalichnwebimtest000374,1111112 -cnalichnwebimtest000887,1111112 -cnalichnwebimtest001384,1111112 -cnalichnwebimtest001323,1111112 -cnalichnwebimtest000249,1111112 -cnalichnwebimtest000260,1111112 -cnalichnwebimtest001498,1111112 -cnalichnwebimtest000442,1111112 -cnalichnwebimtest001702,1111112 -cnalichnwebimtest001517,1111112 -cnalichnwebimtest001446,1111112 -cnalichnwebimtest000042,1111112 -cnalichnwebimtest000052,1111112 -cnalichnwebimtest000057,1111112 -cnalichnwebimtest000107,1111112 -cnalichnwebimtest000085,1111112 -cnalichnwebimtest000050,1111112 -cnalichnwebimtest000159,1111112 -cnalichnwebimtest000041,1111112 -cnalichnwebimtest000182,1111112 -cnalichnwebimtest000058,1111112 -cnalichnwebimtest000200,1111112 -cnalichnwebimtest000204,1111112 -cnalichnwebimtest000217,1111112 -cnalichnwebimtest000304,1111112 -cnalichnwebimtest000705,1111112 -cnalichnwebimtest000268,1111112 -cnalichnwebimtest000349,1111112 -cnalichnwebimtest000817,1111112 -cnalichnwebimtest000806,1111112 -cnalichnwebimtest000702,1111112 -cnalichnwebimtest000875,1111112 -cnalichnwebimtest001318,1111112 -cnalichnjenniezjydxm093,1111112 -cnalichnwebimtest000016,1111112 -cnalichnwebimtest000131,1111112 -cnalichnwebimtest000155,1111112 -cnalichnwebimtest000153,1111112 -cnalichnwebimtest000185,1111112 -cnalichnwebimtest000142,1111112 -cnalichnwebimtest000061,1111112 -cnalichnwebimtest000105,1111112 -cnalichnwebimtest000104,1111112 -cnalichnwebimtest000124,1111112 -cnalichnwebimtest000271,1111112 -cnalichnwebimtest000256,1111112 -cnalichnwebimtest001340,1111112 -cnalichnwebimtest000707,1111112 -cnalichnwebimtest000347,1111112 -cnalichnwebimtest001338,1111112 -cnalichnwebimtest000687,1111112 -cnalichnwebimtest001310,1111112 -cnalichnwebimtest000654,1111112 -cnalichnwebimtest000352,1111112 -cnalichnwebimtest001062,1111112 -cnalichnwebimtest000789,1111112 -cnalichnczxtest9,1111112 -cnalichnczxtest56,1111112 -cnalichnjenniezjydxm049,1111112 -cnalichnwebimtest000008,1111112 -cnalichnwebimtest000018,1111112 -cnalichnwebimtest000015,1111112 -cnalichnwebimtest000038,1111112 -cnalichnwebimtest000172,1111112 -cnalichnwebimtest000130,1111112 -cnalichnwebimtest000035,1111112 -cnalichnwebimtest000139,1111112 -cnalichnwebimtest000088,1111112 -cnalichnwebimtest000133,1111112 -cnalichnwebimtest000168,1111112 -cnalichnwebimtest000110,1111112 -cnalichnwebimtest000125,1111112 -cnalichnwebimtest000113,1111112 -cnalichnwebimtest000073,1111112 -cnalichnwebimtest000100,1111112 -cnalichnwebimtest000120,1111112 -cnalichnwebimtest000591,1111112 -cnalichnwebimtest001206,1111112 -cnalichnwebimtest001219,1111112 -cnalichnwebimtest001069,1111112 -cnalichnwebimtest001042,1111112 -cnalichnwebimtest001353,1111112 -cnalichnwebimtest001170,1111112 -cnalichnwebimtest001240,1111112 -cnalichnwebimtest001168,1111112 -cnalichnwebimtest001124,1111112 -cnalichnwebimtest001045,1111112 -cnalichnwebimtest001556,1111112 -cnalichnwebimtest001787,1111112 -cnalichnwebimtest001840,1111112 -cnalichnwebimtest001829,1111112 -cnalichnwebimtest001948,1111112 -cnalichnwebimtest001513,1111112 -cnalichnwebimtest001886,1111112 -cnalichnwebimtest001914,1111112 -cnalichnwebimtest001694,1111112 -cnalichnwebimtest000655,1111112 -cnalichnwebimtest000395,1111112 -cnalichnwebimtest000929,1111112 -cnalichnwebimtest000926,1111112 -cnalichnwebimtest001104,1111112 -cnalichnwebimtest001247,1111112 -cnalichnwebimtest001106,1111112 -cnalichnwebimtest001029,1111112 -cnalichnwebimtest001254,1111112 -cnalichnwebimtest001167,1111112 -cnalichnwebimtest001268,1111112 -cnalichnwebimtest001093,1111112 -cnalichnwebimtest001255,1111112 -cnalichnwebimtest001290,1111112 -cnalichnwebimtest001209,1111112 -cnalichnwebimtest001171,1111112 -cnalichnwebimtest001266,1111112 -cnalichnwebimtest001270,1111112 -cnalichnwebimtest001253,1111112 -cnalichnwebimtest001287,1111112 -cnalichnwebimtest001349,1111112 -cnalichnwebimtest001356,1111112 -cnalichnwebimtest001216,1111112 -cnalichnwebimtest001363,1111112 -cnalichnwebimtest001284,1111112 -cnalichnwebimtest001197,1111112 -cnalichnwebimtest001138,1111112 -cnalichnwebimtest001103,1111112 -cnalichnwebimtest001129,1111112 -cnalichnwebimtest001099,1111112 -cnalichnwebimtest001208,1111112 -cnalichnwebimtest001176,1111112 -cnalichnwebimtest001277,1111112 -cnalichnwebimtest001828,1111112 -cnalichnwebimtest001789,1111112 -cnalichnwebimtest001986,1111112 -cnalichnwebimtest001916,1111112 -cnalichnwebimtest001870,1111112 -cnalichnwebimtest000657,1111112 -cnalichnwebimtest001044,1111112 -cnalichnwebimtest001173,1111112 -cnalichnwebimtest001066,1111112 -cnalichnwebimtest001330,1111112 -cnalichnwebimtest001350,1111112 -cnalichnwebimtest001348,1111112 -cnalichnwebimtest001344,1111112 -cnalichnwebimtest001574,1111112 -cnalichnwebimtest001701,1111112 -cnalichnwebimtest001283,1111112 -cnalichnwebimtest001590,1111112 -cnalichnwebimtest001598,1111112 -cnalichnwebimtest001596,1111112 -cnalichnwebimtest001424,1111112 -cnalichnwebimtest001552,1111112 -cnalichnwebimtest001862,1111112 -cnalichnwebimtest001698,1111112 -cnalichnwebimtest001909,1111112 -cnalichnwebimtest001839,1111112 -cnalichnwebimtest001858,1111112 -cnalichnwebimtest001785,1111112 -cnalichnwebimtest001820,1111112 -cnalichnwebimtest001799,1111112 -cnalichnwebimtest001793,1111112 -cnalichnwebimtest001929,1111112 -cnalichnwebimtest001911,1111112 -cnalichnwebimtest001951,1111112 -cnalichnwebimtest001953,1111112 -cnalichnwebimtest001952,1111112 -cnalichnwebimtest000950,1111112 -cnalichnwebimtest000997,1111112 -cnalichnzhmfreetest70,1111112 -cnalichnczxtest28,1111112 -cnalichnwebimtest000416,1111112 -cnalichnwebimtest000527,1111112 -cnalichnwebimtest001567,1111112 -cnalichnwebimtest000742,1111112 -cnalichnwebimtest001063,1111112 -cnalichnwebimtest001112,1111112 -cnalichnwebimtest001123,1111112 -cnalichnwebimtest001102,1111112 -cnalichnwebimtest001189,1111112 -cnalichnwebimtest001217,1111112 -cnalichnwebimtest001357,1111112 -cnalichnwebimtest001477,1111112 -cnalichnwebimtest001496,1111112 -cnalichnwebimtest001524,1111112 -cnalichnwebimtest001706,1111112 -cnalichnwebimtest001999,1111112 -cnalichnwebimtest002000,1111112 -cnalichnwebimtest001838,1111112 -cnalichnwebimtest001997,1111112 -cnalichnwebimtest000261,1111112 -cnalichnwebimtest001282,1111112 -cnalichnwebimtest001329,1111112 -cnalichnwebimtest001296,1111112 -cnalichnwebimtest001488,1111112 -cnalichnwebimtest001801,1111112 -cnalichnwebimtest001484,1111112 -cnalichnwebimtest001512,1111112 -cnalichnwebimtest001606,1111112 -cnalichnwebimtest001857,1111112 -cnalichnwebimtest001837,1111112 -cnalichnwebimtest001943,1111112 -cnalichnwebimtest001957,1111112 -cnalichnwebimtest001944,1111112 -cnalichnwebimtest000491,1111112 -cnalichnwebimtest000485,1111112 -cnalichnwebimtest000749,1111112 -cnalichnwebimtest001128,1111112 -cnalichnwebimtest001234,1111112 -cnalichnwebimtest001081,1111112 -cnalichnwebimtest001212,1111112 -cnalichnwebimtest001127,1111112 -cnalichnwebimtest001158,1111112 -cnalichnwebimtest001201,1111112 -cnalichnwebimtest001051,1111112 -cnalichnwebimtest001248,1111112 -cnalichnwebimtest001147,1111112 -cnalichnwebimtest001472,1111112 -cnalichnwebimtest001453,1111112 -cnalichnwebimtest001440,1111112 -cnalichnwebimtest001444,1111112 -cnalichnwebimtest001468,1111112 -cnalichnwebimtest001811,1111112 -cnalichnwebimtest001469,1111112 -cnalichnwebimtest001436,1111112 -cnalichnwebimtest001897,1111112 -cnalichnwebimtest001779,1111112 -cnalichnwebimtest001809,1111112 -cnalichnwebimtest001877,1111112 -cnalichnwebimtest001934,1111112 -cnalichnwebimtest001784,1111112 -cnalichnwebimtest001968,1111112 -cnalichnwebimtest001868,1111112 -cnalichnwebimtest000636,1111112 -cnalichnwebimtest000946,1111112 -cnalichnwebimtest001243,1111112 -cnalichnwebimtest001199,1111112 -cnalichnwebimtest001361,1111112 -cnalichnwebimtest001160,1111112 -cnalichnwebimtest001286,1111112 -cnalichnwebimtest001300,1111112 -cnalichnwebimtest001275,1111112 -cnalichnwebimtest001184,1111112 -cnalichnwebimtest001553,1111112 -cnalichnwebimtest001794,1111112 -cnalichnwebimtest001935,1111112 -cnalichnwebimtest001940,1111112 -cnalichnwebimtest000974,1111112 -cnalichnwebimtest000962,1111112 -cnalichnwebimtest000216,1111112 -cnalichnwebimtest000206,1111112 -cnalichnwebimtest000214,1111112 -cnalichnwebimtest000245,1111112 -cnalichnwebimtest000293,1111112 -cnalichnwebimtest000358,1111112 -cnalichnwebimtest000221,1111112 -cnalichnwebimtest000321,1111112 -cnalichnwebimtest000316,1111112 -cnalichnwebimtest000384,1111112 -cnalichnwebimtest000663,1111112 -cnalichnwebimtest000937,1111112 -cnalichnwebimtest000901,1111112 -cnalichnwebimtest001056,1111112 -cnalichnwebimtest000356,1111112 -cnalichnwebimtest000797,1111112 -cnalichnwebimtest000675,1111112 -cnalichnwebimtest000298,1111112 -cnalichnwebimtest000881,1111112 -cnalichnwebimtest000800,1111112 -cnalichnwebimtest000370,1111112 -cnalichnwebimtest000372,1111112 -cnalichnwebimtest000861,1111112 -cnalichnwebimtest001481,1111112 -cnalichnwebimtest001412,1111112 -cnalichnwebimtest001627,1111112 -cnalichnwebimtest000907,1111112 -cnalichnwebimtest001462,1111112 -cnalichnwebimtest001439,1111112 -cnalichnwebimtest001480,1111112 -cnalichnwebimtest001471,1111112 -cnalichnwebimtest001463,1111112 -cnalichnwebimtest001551,1111112 -cnalichnwebimtest001418,1111112 -cnalichnwebimtest000973,1111112 -cnalichnwebimtest000995,1111112 -cnalichnwebimtest001523,1111112 -cnalichnwebimtest001483,1111112 -cnalichnwebimtest001080,1111112 -cnalichnwebimtest001159,1111112 -cnalichnwebimtest001113,1111112 -cnalichnwebimtest001144,1111112 -cnalichnwebimtest001198,1111112 -cnalichnwebimtest001143,1111112 -cnalichnczxtest30,1111112 -cnalichnczxtest55,1111112 -cnalichnczxtest52,1111112 -cnalichncnalichn000000123123123123,1111112 -cnalichnczxtest48,1111112 -cnalichnwebimtest001445,1111112 -cnalichnwebimtest000958,1111112 -cnalichnwebimtest000954,1111112 -cnalichnwebimtest000728,1111112 -cnalichnwebimtest001049,1111112 -cnalichnwebimtest000964,1111112 -cnalichnwebimtest001847,1111112 -cnalichnwebimtest001121,1111112 -cnalichnwebimtest001207,1111112 -cnalichnwebimtest001135,1111112 -cnalichnwebimtest001126,1111112 -cnalichnwebimtest001096,1111112 -cnalichnwebimtest001352,1111112 -cnalichnwebimtest001142,1111112 -cnalichnwebimtest001175,1111112 -cnalichnwebimtest001130,1111112 -cnalichnwebimtest001214,1111112 -cnalichnwebimtest001131,1111112 -cnalichnwebimtest001084,1111112 -cnalichnwebimtest001256,1111112 -cnalichnwebimtest001185,1111112 -cnalichnwebimtest001090,1111112 -cnalichnwebimtest001116,1111112 -cnalichnwebimtest001155,1111112 -cnalichnwebimtest001241,1111112 -cnalichnwebimtest001265,1111112 -cnalichnwebimtest001355,1111112 -cnalichnwebimtest001202,1111112 -cnalichnwebimtest001027,1111112 -cnalichnwebimtest001295,1111112 -cnalichnwebimtest001525,1111112 -cnalichnwebimtest001465,1111112 -cnalichnwebimtest001577,1111112 -cnalichnwebimtest001589,1111112 -cnalichnwebimtest001529,1111112 -cnalichnwebimtest001497,1111112 -cnalichnwebimtest001428,1111112 -cnalichnwebimtest001817,1111112 -cnalichnwebimtest001861,1111112 -cnalichnwebimtest001824,1111112 -cnalichnwebimtest001788,1111112 -cnalichnwebimtest001449,1111112 -cnalichnwebimtest001504,1111112 -cnalichnczxtest15,1111112 -cnalichnczxtest16,1111112 -cnalichnczxtest23,1111112 -cnalichnczxtest24,1111112 -cnalichnczxtest27,1111112 -cnalichnczxtest59,1111112 -cnalichnczxtest51,1111112 -cnalichnwebimtest001930,1111112 -cnalichnwebimtest001849,1111112 -cnalichnwebimtest001008,1111112 -cnalichnwebimtest001010,1111112 -cnalichnwebimtest001009,1111112 -cnalichnwebimtest001018,1111112 -cnalichnwebimtest000981,1111112 -cnalichnwebimtest001013,1111112 -cnalichnwebimtest000961,1111112 -cnalichnwebimtest000968,1111112 -cnalichnwebimtest001443,1111112 -cnalichnwebimtest000331,1111112 -cnalichnwebimtest000328,1111112 -cnalichnwebimtest000333,1111112 -cnalichnwebimtest000367,1111112 -cnalichnwebimtest000329,1111112 -cnalichnwebimtest000412,1111112 -cnalichnwebimtest000481,1111112 -cnalichnwebimtest000441,1111112 -cnalichnwebimtest000557,1111112 -cnalichnwebimtest000417,1111112 -cnalichnwebimtest000710,1111112 -cnalichnwebimtest000429,1111112 -cnalichnwebimtest000558,1111112 -cnalichnwebimtest000402,1111112 -cnalichnwebimtest000390,1111112 -cnalichnwebimtest000960,1111112 -cnalichnwebimtest000996,1111112 -cnalichnwebimtest000972,1111112 -cnalichnwebimtest000534,1111112 -cnalichnwebimtest000450,1111112 -cnalichnwebimtest000224,1111112 -cnalichnwebimtest000255,1111112 -cnalichnwebimtest000226,1111112 -cnalichnwebimtest000269,1111112 -cnalichnwebimtest000239,1111112 -cnalichnwebimtest000240,1111112 -cnalichnwebimtest000252,1111112 -cnalichnwebimtest000264,1111112 -cnalichnwebimtest000280,1111112 -cnalichnwebimtest000311,1111112 -cnalichnwebimtest000236,1111112 -cnalichnwebimtest000278,1111112 -cnalichnjenniezjydxm094,1111112 -cnalichnwebimtest001040,1111112 -cnalichnwebimtest000976,1111112 -cnalichnwebimtest000992,1111112 -cnalichnwebimtest001054,1111112 -cnalichnwebimtest000991,1111112 -cnalichnwebimtest001006,1111112 -cnalichnwebimtest000965,1111112 -cnalichnwebimtest000373,1111112 -cnalichnwebimtest000337,1111112 -cnalichnwebimtest000344,1111112 -cnalichnwebimtest000377,1111112 -cnalichnwebimtest000387,1111112 -cnalichnwebimtest000330,1111112 -cnalichnwebimtest000421,1111112 -cnalichnwebimtest000628,1111112 -cnalichnwebimtest000409,1111112 -cnalichnwebimtest000443,1111112 -cnalichnwebimtest000407,1111112 -cnalichnwebimtest000988,1111112 -cnalichnwebimtest000479,1111112 -cnalichnwebimtest000440,1111112 -cnalichnwebimtest000461,1111112 -cnalichnwebimtest000418,1111112 -cnalichnwebimtest000411,1111112 -cnalichnwebimtest000405,1111112 -cnalichnwebimtest000466,1111112 -cnalichnwebimtest000434,1111112 -cnalichnwebimtest000297,1111112 -cnalichnwebimtest000286,1111112 -cnalichnwebimtest000288,1111112 -cnalichnwebimtest000313,1111112 -cnalichnwebimtest000227,1111112 -cnalichnwebimtest000314,1111112 -cnalichnwebimtest000302,1111112 -cnalichnwebimtest000561,1111112 -cnalichnwebimtest000498,1111112 -cnalichnwebimtest000562,1111112 -cnalichnwebimtest000697,1111112 -cnalichnwebimtest000579,1111112 -cnalichnwebimtest000785,1111112 -cnalichnwebimtest000791,1111112 -cnalichnwebimtest001125,1111112 -cnalichnwebimtest001088,1111112 -cnalichnwebimtest001218,1111112 -cnalichnwebimtest001082,1111112 -cnalichnwebimtest001297,1111112 -cnalichnwebimtest001105,1111112 -cnalichnwebimtest001067,1111112 -cnalichnwebimtest001162,1111112 -cnalichnwebimtest001182,1111112 -cnalichnwebimtest001203,1111112 -cnalichnwebimtest001043,1111112 -cnalichnwebimtest001280,1111112 -cnalichnwebimtest001213,1111112 -cnalichnwebimtest001228,1111112 -cnalichnwebimtest001035,1111112 -cnalichnwebimtest001210,1111112 -cnalichnwebimtest001085,1111112 -cnalichnwebimtest001351,1111112 -cnalichnwebimtest001192,1111112 -cnalichnwebimtest001448,1111112 -cnalichnwebimtest001516,1111112 -cnalichnwebimtest001452,1111112 -cnalichnwebimtest001489,1111112 -cnalichnwebimtest001834,1111112 -cnalichnwebimtest001586,1111112 -cnalichnwebimtest001576,1111112 -cnalichnwebimtest001819,1111112 -cnalichnwebimtest001900,1111112 -cnalichnwebimtest001456,1111112 -cnalichnwebimtest001798,1111112 -cnalichnwebimtest001860,1111112 -cnalichnwebimtest001955,1111112 -cnalichnwebimtest001866,1111112 -cnalichnwebimtest001644,1111112 -cnalichnwebimtest001695,1111112 -cnalichnwebimtest000594,1111112 -cnalichnwebimtest001464,1111112 -cnalichnwebimtest000924,1111112 -cnalichnwebimtest001653,1111112 -cnalichnwebimtest001244,1111112 -cnalichnwebimtest000733,1111112 -cnalichnwebimtest001169,1111112 -cnalichnwebimtest001364,1111112 -cnalichnwebimtest001285,1111112 -cnalichnczxtest47,1111112 -cnalichnwebimtest000021,1111112 -cnalichnwebimtest000102,1111112 -cnalichnwebimtest000162,1111112 -cnalichnwebimtest000084,1111112 -cnalichnwebimtest000143,1111112 -cnalichnwebimtest000037,1111112 -cnalichnwebimtest000193,1111112 -cnalichnwebimtest000097,1111112 -cnalichnwebimtest000196,1111112 -cnalichnwebimtest000215,1111112 -cnalichnwebimtest000210,1111112 -cnalichnwebimtest000290,1111112 -cnalichnwebimtest000876,1111112 -cnalichnwebimtest000234,1111112 -cnalichnwebimtest000320,1111112 -cnalichnwebimtest001375,1111112 -cnalichnwebimtest000366,1111112 -cnalichnwebimtest000793,1111112 -cnalichnwebimtest000886,1111112 -cnalichnwebimtest001342,1111112 -cnalichnwebimtest000860,1111112 -cnalichnwebimtest000855,1111112 -cnalichnwebimtest001313,1111112 -cnalichnwebimtest000296,1111112 -cnalichnwebimtest000524,1111112 -cnalichnwebimtest000533,1111112 -cnalichnwebimtest001000,1111112 -cnalichnwebimtest001605,1111112 -cnalichnwebimtest001095,1111112 -cnalichnwebimtest001226,1111112 -cnalichnwebimtest001220,1111112 -cnalichnwebimtest000007,1111112 -cnalichnwebimtest000003,1111112 -cnalichnwebimtest000030,1111112 -cnalichnwebimtest000022,1111112 -cnalichnwebimtest000165,1111112 -cnalichnwebimtest000044,1111112 -cnalichnwebimtest000170,1111112 -cnalichnwebimtest000087,1111112 -cnalichnwebimtest000177,1111112 -cnalichnwebimtest000190,1111112 -cnalichnwebimtest000195,1111112 -cnalichnwebimtest000094,1111112 -cnalichnwebimtest000181,1111112 -cnalichnwebimtest000180,1111112 -cnalichnwebimtest000213,1111112 -cnalichnwebimtest000318,1111112 -cnalichnwebimtest000218,1111112 -cnalichnwebimtest001177,1111112 -cnalichnwebimtest000354,1111112 -cnalichnwebimtest000400,1111112 -cnalichnwebimtest000393,1111112 -cnalichnwebimtest000864,1111112 -cnalichnwebimtest000287,1111112 -cnalichnwebimtest000419,1111112 -cnalichnwebimtest000465,1111112 -cnalichnwebimtest000712,1111112 -cnalichnwebimtest000613,1111112 -cnalichnwebimtest000677,1111112 -cnalichnwebimtest001422,1111112 -cnalichnwebimtest001925,1111112 -cnalichnwebimtest001001,1111112 -cnalichnxiaoxxbao202,1111112 -cnalichnwebimtest000005,1111112 -cnalichnwebimtest000006,1111112 -cnalichnwebimtest000020,1111112 -cnalichnwebimtest000013,1111112 -cnalichnwebimtest000051,1111112 -cnalichnwebimtest000118,1111112 -cnalichnwebimtest000033,1111112 -cnalichnwebimtest000176,1111112 -cnalichnwebimtest000154,1111112 -cnalichnwebimtest000092,1111112 -cnalichnwebimtest000064,1111112 -cnalichnwebimtest000077,1111112 -cnalichnwebimtest000070,1111112 -cnalichnwebimtest000187,1111112 -cnalichnwebimtest000040,1111112 -cnalichnwebimtest000114,1111112 -cnalichnwebimtest000054,1111112 -cnalichnwebimtest000117,1111112 -cnalichnwebimtest000127,1111112 -cnalichnwebimtest000198,1111112 -cnalichnwebimtest000183,1111112 -cnalichnczxtest50,1111112 -cnalichnjenniezjydxm095,1111112 -cnalichndsfs,1111112 -cnalichnwebimtest000108,1111112 -cnalichnwebimtest000135,1111112 -cnalichnwebimtest000039,1111112 -cnalichnwebimtest000156,1111112 -cnalichnwebimtest000112,1111112 -cnalichnwebimtest000083,1111112 -cnalichnwebimtest000067,1111112 -cnalichnwebimtest000186,1111112 -cnalichnwebimtest000121,1111112 -cnalichnwebimtest000295,1111112 -cnalichnwebimtest001341,1111112 -cnalichnwebimtest000324,1111112 -cnalichnwebimtest000856,1111112 -cnalichnwebimtest000900,1111112 -cnalichnwebimtest000653,1111112 -cnalichnwebimtest000885,1111112 -cnalichnwebimtest001312,1111112 -cnalichnwebimtest000639,1111112 -cnalichnwebimtest000508,1111112 -cnalichnwebimtest000253,1111112 -cnalichnwebimtest000590,1111112 -cnalichnwebimtest001546,1111112 -cnalichnwebimtest000437,1111112 -cnalichnwebimtest001775,1111112 -cnalichnwebimtest001076,1111112 -cnalichnwebimtest001237,1111112 -cnalichnjenniezjydxm092,1111112 -cnalichnwebimtest000010,1111112 -cnalichnwebimtest000019,1111112 -cnalichnwebimtest000023,1111112 -cnalichnwebimtest000031,1111112 -cnalichnwebimtest000043,1111112 -cnalichnwebimtest000032,1111112 -cnalichnwebimtest000060,1111112 -cnalichnwebimtest000069,1111112 -cnalichnwebimtest000149,1111112 -cnalichnwebimtest000132,1111112 -cnalichnwebimtest000169,1111112 -cnalichnwebimtest000160,1111112 -cnalichnwebimtest000150,1111112 -cnalichnwebimtest000089,1111112 -cnalichnwebimtest000065,1111112 -cnalichnwebimtest000173,1111112 -cnalichnwebimtest000140,1111112 -cnalichnwebimtest000137,1111112 -cnalichnwebimtest000146,1111112 -cnalichnwebimtest000175,1111112 -cnalichnwebimtest000082,1111112 -cnalichnwebimtest000164,1111112 -cnalichnwebimtest000152,1111112 -cnalichnwebimtest000071,1111112 -cnalichnwebimtest000049,1111112 -cnalichnwebimtest000167,1111112 -cnalichnwebimtest000062,1111112 -cnalichnwebimtest000025,1111112 -cnalichnwebimtest000101,1111112 -cnalichnwebimtest000197,1111112 -cnalichnwebimtest000068,1111112 -cnalichnwebimtest000126,1111112 -cnalichnwebimtest000103,1111112 -cnalichnwebimtest000036,1111112 -cnalichnwebimtest000080,1111112 -cnalichnwebimtest000136,1111112 -cnalichnwebimtest000055,1111112 -cnalichnczxtest37,1111112 -cnalichnczxtest53,1111112 -cnalichnwebimtest001441,1111112 -cnalichnwebimtest000342,1111112 -cnalichnwebimtest000361,1111112 -cnalichnwebimtest000464,1111112 -cnalichnwebimtest000403,1111112 -cnalichnwebimtest000459,1111112 -cnalichnwebimtest000456,1111112 -cnalichnwebimtest000420,1111112 -cnalichnwebimtest000414,1111112 -cnalichnwebimtest000458,1111112 -cnalichnwebimtest000257,1111112 -cnalichnwebimtest000259,1111112 -cnalichnwebimtest000250,1111112 -cnalichnwebimtest000805,1111112 -cnalichnwebimtest000760,1111112 -cnalichnwebimtest000544,1111112 -cnalichnwebimtest000569,1111112 -cnalichnwebimtest000516,1111112 -cnalichnwebimtest000743,1111112 -cnalichnwebimtest000772,1111112 -cnalichnwebimtest000668,1111112 -cnalichnwebimtest000507,1111112 -cnalichnwebimtest000506,1111112 -cnalichnwebimtest000568,1111112 -cnalichnwebimtest000741,1111112 -cnalichnwebimtest000672,1111112 -cnalichnwebimtest000773,1111112 -cnalichnwebimtest000536,1111112 -cnalichnwebimtest000550,1111112 -cnalichnwebimtest000670,1111112 -cnalichnwebimtest000659,1111112 -cnalichnwebimtest000567,1111112 -cnalichnwebimtest000747,1111112 -cnalichnwebimtest000970,1111112 -cnalichnwebimtest001004,1111112 -cnalichnwebimtest001048,1111112 -cnalichnwebimtest000953,1111112 -cnalichnwebimtest000993,1111112 -cnalichnwebimtest001039,1111112 -cnalichnwebimtest001426,1111112 -cnalichnwebimtest000382,1111112 -cnalichnwebimtest000345,1111112 -cnalichnwebimtest000369,1111112 -cnalichnwebimtest000385,1111112 -cnalichnwebimtest000336,1111112 -cnalichnwebimtest000322,1111112 -cnalichnwebimtest000332,1111112 -cnalichnwebimtest000462,1111112 -cnalichnwebimtest000415,1111112 -cnalichnwebimtest000433,1111112 -cnalichnwebimtest000426,1111112 -cnalichnwebimtest000404,1111112 -cnalichnwebimtest000444,1111112 -cnalichnwebimtest000463,1111112 -cnalichnwebimtest000436,1111112 -cnalichnwebimtest000432,1111112 -cnalichnwebimtest000272,1111112 -cnalichnwebimtest000266,1111112 -cnalichnwebimtest000243,1111112 -cnalichnwebimtest000242,1111112 -cnalichnwebimtest000913,1111112 -cnalichnwebimtest000835,1111112 -cnalichnwebimtest000813,1111112 -cnalichnwebimtest000642,1111112 -cnalichnwebimtest000685,1111112 -cnalichnwebimtest000757,1111112 -cnalichnwebimtest000545,1111112 -cnalichnwebimtest000633,1111112 -cnalichnwebimtest000632,1111112 -cnalichnwebimtest000617,1111112 -cnalichnwebimtest000734,1111112 -cnalichnwebimtest000604,1111112 -cnalichnwebimtest000669,1111112 -cnalichnwebimtest000658,1111112 -cnalichnwebimtest000552,1111112 -cnalichnwebimtest000644,1111112 -cnalichnwebimtest000718,1111112 -cnalichnwebimtest000001,1111112 -cnalichnwebimtest001156,1111112 -cnalichnwebimtest001263,1111112 -cnalichnwebimtest001117,1111112 -cnalichnwebimtest001299,1111112 -cnalichnwebimtest001360,1111112 -cnalichnwebimtest001294,1111112 -cnalichnwebimtest001573,1111112 -cnalichnwebimtest001222,1111112 -cnalichnwebimtest001599,1111112 -cnalichnwebimtest001786,1111112 -cnalichnwebimtest001945,1111112 -cnalichnwebimtest001939,1111112 -cnalichnwebimtest001915,1111112 -cnalichnwebimtest001950,1111112 -cnalichnwebimtest001921,1111112 -cnalichnwebimtest001918,1111112 -cnalichnwebimtest000985,1111112 -cnalichnwebimtest000956,1111112 -cnalichnwebimtest001015,1111112 -cnalichnwebimtest001025,1111112 -cnalichnwebimtest001021,1111112 -cnalichnwebimtest001016,1111112 -cnalichnwebimtest000948,1111112 -cnalichnwebimtest001012,1111112 -cnalichnwebimtest000983,1111112 -cnalichnwebimtest001011,1111112 -cnalichnwebimtest001019,1111112 -cnalichnwebimtest000980,1111112 -cnalichnwebimtest001086,1111112 -cnalichnwebimtest000994,1111112 -cnalichnwebimtest001022,1111112 -cnalichnwebimtest000969,1111112 -cnalichnwebimtest001026,1111112 -cnalichnwebimtest001005,1111112 -cnalichnwebimtest001024,1111112 -cnalichnwebimtest001033,1111112 -cnalichnwebimtest001047,1111112 -cnalichnwebimtest001046,1111112 -cnalichnwebimtest001031,1111112 -cnalichnwebimtest001041,1111112 -cnalichnwebimtest001427,1111112 -cnalichnczxtest39,1111112 -cnalichnczxtest17,1111112 -cnalichnczxtest49,1111112 -cnalichnwebimtest001233,1111112 -cnalichnwebimtest001224,1111112 -cnalichnwebimtest001924,1111112 -cnalichnwebimtest001461,1111112 -cnalichnwebimtest001865,1111112 -cnalichnwebimtest001174,1111112 -cnalichnwebimtest001279,1111112 -cnalichnwebimtest001187,1111112 -cnalichnwebimtest001262,1111112 -cnalichnwebimtest001354,1111112 -cnalichnwebimtest001856,1111112 -cnalichnwebimtest001460,1111112 -cnalichnwebimtest001928,1111112 -cnalichnwebimtest001003,1111112 -cnalichnwebimtest001072,1111112 -cnalichnwebimtest001007,1111112 -cnalichnwebimtest000975,1111112 -cnalichnwebimtest001038,1111112 -cnalichnwebimtest001273,1111112 -cnalichnczxtest33,1111112 -cnalichnwebimtest001887,1111112 -cnalichnwebimtest001984,1111112 -cnalichnwebimtest001966,1111112 -cnalichnwebimtest001971,1111112 -cnalichnwebimtest001664,1111112 -cnalichnwebimtest001912,1111112 -cnalichnwebimtest001852,1111112 -cnalichnwebimtest001745,1111112 -cnalichnwebimtest001746,1111112 -cnalichnwebimtest000274,1111112 -cnalichnwebimtest000635,1111112 -cnalichnwebimtest000595,1111112 -cnalichnwebimtest001137,1111112 -cnalichnwebimtest001157,1111112 -cnalichnwebimtest001172,1111112 -cnalichnwebimtest001257,1111112 -cnalichnwebimtest001134,1111112 -cnalichnwebimtest001331,1111112 -cnalichnwebimtest001362,1111112 -cnalichnwebimtest001246,1111112 -cnalichnwebimtest001232,1111112 -cnalichnwebimtest001140,1111112 -cnalichnwebimtest001148,1111112 -cnalichnwebimtest001193,1111112 -cnalichnayisha000,1111112 -cnalichnczxtest6,1111112 -cnalichnwebimtest000184,1111112 -cnalichnwebimtest000231,1111112 -cnalichnwebimtest000251,1111112 -cnalichnwebimtest000225,1111112 -cnalichnwebimtest000220,1111112 -cnalichnwebimtest000803,1111112 -cnalichnwebimtest000582,1111112 -cnalichnwebimtest000230,1111112 -cnalichnwebimtest000282,1111112 -cnalichnwebimtest000701,1111112 -cnalichnwebimtest000397,1111112 -cnalichnwebimtest000348,1111112 -cnalichnwebimtest001385,1111112 -cnalichnwebimtest001322,1111112 -cnalichnwebimtest001321,1111112 -cnalichnwebimtest001386,1111112 -cnalichnwebimtest000326,1111112 -cnalichnwebimtest001058,1111112 -cnalichnwebimtest000386,1111112 -cnalichnwebimtest000895,1111112 -cnalichnwebimtest001537,1111112 -cnalichnwebimtest000851,1111112 -cnalichnwebimtest000455,1111112 -cnalichnwebimtest001438,1111112 -cnalichnwebimtest000694,1111112 -cnalichnwebimtest001071,1111112 -cnalichnwebimtest001539,1111112 -cnalichnwebimtest001555,1111112 -cnalichnwebimtest001487,1111112 -cnalichnwebimtest001473,1111112 -cnalichnwebimtest001527,1111112 -cnalichnwebimtest001221,1111112 -cnalichnwebimtest001149,1111112 -cnalichnwebimtest001242,1111112 -cnalichnwebimtest001136,1111112 -cnalichnwebimtest001347,1111112 -cnalichnwebimtest001229,1111112 -cnalichnwebimtest001074,1111112 -cnalichnwebimtest001145,1111112 -cnalichnwebimtest001100,1111112 -cnalichnwebimtest001288,1111112 -cnalichnwebimtest001292,1111112 -cnalichnwebimtest001163,1111112 -cnalichnwebimtest001564,1111112 -cnalichnwebimtest001703,1111112 -cnalichnwebimtest001520,1111112 -cnalichnwebimtest001810,1111112 -cnalichnwebimtest001975,1111112 -cnalichnwebimtest001630,1111112 -cnalichnwebimtest001790,1111112 -cnalichnwebimtest001667,1111112 -cnalichnwebimtest001972,1111112 -cnalichnwebimtest000396,1111112 -cnalichnwebimtest000666,1111112 -cnalichnwebimtest001684,1111112 -cnalichnwebimtest001204,1111112 -cnalichnwebimtest001293,1111112 -cnalichnwebimtest001346,1111112 -cnalichnwebimtest001601,1111112 -cnalichnwebimtest001844,1111112 -cnalichnwebimtest001926,1111112 -cnalichnwebimtest001846,1111112 -cnalichnwebimtest000955,1111112 -cnalichnwebimtest000999,1111112 -cnalichnwebimtest000979,1111112 -cnalichnwebimtest001020,1111112 -cnalichnwebimtest001017,1111112 -cnalichnwebimtest000401,1111112 -cnalichnwebimtest000431,1111112 -cnalichnwebimtest000497,1111112 -cnalichnwebimtest000301,1111112 diff --git a/features/aliww/data/.svn/text-base/cntaobao.csv.svn-base b/features/aliww/data/.svn/text-base/cntaobao.csv.svn-base deleted file mode 100644 index 6204594..0000000 --- a/features/aliww/data/.svn/text-base/cntaobao.csv.svn-base +++ /dev/null @@ -1,2038 +0,0 @@ -cntaobaoabc001,system -cntaobaojxxgg,system -cntaobaochmrwx,system -cntaobao@1=4,system -cntaobaoabc200:Ll2E,system -cntaobaocooldog,system -cntaobao2;6.,system -cntaobaoabcd002,system -cntaobaoabc502,system -cntaobaoevita,system -cntaobaocoffeechen,system -cntaobaostartan,system -cntaobaoA+V[,system -cntaobaoH}7a,system -cntaobaoviyamo,system -cntaobaomfrogc4,system -cntaobaoU}7g1,system -cntaobaoxiaobao,system -cntaobaoTFFk2bJTUJ:E10,system -cntaobaoabcR;P],system -cntaobaozizaitest10010,system -cntaobaosogood,system -cntaobaoabc2002,system -cntaobaoSq;*I=W/,system -cntaobaohellokityW(Bt5j,system -cntaobaoabctao,system -cntaobaoabcterence,system -cntaobaoabctjp,system -cntaobaoabc198234,system -cntaobaoabc198272,system -cntaobaoabc19830523,system -cntaobaoabc198364,system -cntaobaoabc1983718,system -cntaobaoabc1983926,system -cntaobaoabc19840311,system -cntaobaoabc19840604,system -cntaobaoabc19840818,system -cntaobaoabc19848911,system -cntaobaoabc19850112,system -cntaobaoabc19850124,system -cntaobaoabc19851226,system -cntaobaoabc198518,system -cntaobaoabc198583,system -cntaobaoabc198668,system -cntaobaoabc1986711,system -cntaobaoabc19891110,system -cntaobaoabc199806,system -cntaobaoabc1999,system -cntaobaoabc1_OtOt,system -cntaobaoabc1def1,system -cntaobaoabc6791731,system -cntaobaoabc67jerry,system -cntaobaoabc680,system -cntaobaoabc6800798,system -cntaobaoabc6815268,system -cntaobaoabc6828_cn,system -cntaobaoabc6829111,system -cntaobaoabc6861410,system -cntaobaoabc68888,system -cntaobaoabc689121,system -cntaobaoabc6894634,system -cntaobaoabc6969996,system -cntaobaoabc6982216,system -cntaobaoabc698411,system -cntaobaoabc7009,system -cntaobaoabc700909,system -cntaobaoabc702,system -cntaobaoabc708290,system -cntaobaoabc7086,system -cntaobaoabc71007,system -cntaobaoabc710424,system -cntaobaoabc720,system -cntaobaoabc720122,system -cntaobaoabc7206659,system -cntaobaoabc7233,system -cntaobaoabccba567,system -cntaobaoabccba678,system -cntaobaoabccba881,system -cntaobaoabccba8888,system -cntaobaoabccba9889,system -cntaobaoabccba99,system -cntaobaoabccba9978,system -cntaobaoabccbahuangfeihu,system -cntaobaoabccbanba,system -cntaobaoabccbef,system -cntaobaoabcccb1999,system -cntaobaoabcccc,system -cntaobaoabcccc1,system -cntaobaoabcccce,system -cntaobaoabcccd2010,system -cntaobaoabccch,system -cntaobaoabccd,system -cntaobaoabccd3,system -cntaobaoabccd5,system -cntaobaoabccde81,system -cntaobaoabccdeefg,system -cntaobaoabccdefgh,system -cntaobaoabccg,system -cntaobaoabcchan,system -cntaobaoabcchen12,system -cntaobaoabcchenabcchen,system -cntaobaoabcchina,system -cntaobaoabccissy,system -cntaobaoabcdabcd1111,system -cntaobaoabcdabcd123488,system -cntaobaoabcdabcd123_007,system -cntaobaoabcdabcd123ok,system -cntaobaoabcdabcdcn,system -cntaobaoabcdabcdhk,system -cntaobaoabcdabcdzxcvzxcv,system -cntaobaoabcdabcl,system -cntaobaoabcdac,system -cntaobaoabcdaibocai5,system -cntaobaoabcdandan,system -cntaobaoabcdandyabc,system -cntaobaoabcdanni,system -cntaobaoabcdanqi,system -cntaobaoabcdasd1,system -cntaobaoabcdbacd,system -cntaobaoabcdbbs,system -cntaobaoabcdbdj,system -cntaobaoabcdcc88,system -cntaobaoabcdcccc,system -cntaobaoabcdcfg,system -cntaobaoabcdcold,system -cntaobaoabcdcom,system -cntaobaoabcdcx,system -cntaobaoabcdczj,system -cntaobaoabcdd123,system -cntaobaoabcddbcd,system -cntaobaoabcddcba001100,system -cntaobaoabcdh003,system -cntaobaoabcdhao,system -cntaobaoabcdhh,system -cntaobaoabcdhhhh,system -cntaobaoabcdhijkl,system -cntaobaoabcdhl,system -cntaobaoabcdhsc,system -cntaobaoabcdianguang,system -cntaobaoabcdilng,system -cntaobaoabcdilove,system -cntaobaoabcdjack,system -cntaobaoabcdji900,system -cntaobaoabcdjjj,system -cntaobaoabcdkkk,system -cntaobaoabcdkkk888,system -cntaobaoabcdlb8023,system -cntaobaoabcdli2728,system -cntaobaoabcdlk122,system -cntaobaoabcdlxj,system -cntaobaoabcvisa,system -cntaobaoabc005,system -cntaobaogoogoo,system -cntaobao6`B!,system -cntaobaoabc1zyb,system -cntaobaoabc2000tj,system -cntaobaoabc2000x123,system -cntaobaoabc2000xy,system -cntaobaoabc200200,system -cntaobaoabc20041222,system -cntaobaoabc200456,system -cntaobaoabc200488,system -cntaobaoabc2004k,system -cntaobaoabc2004net10,system -cntaobaoabc2005121,system -cntaobaoabc20051218,system -cntaobaoabc200555,system -cntaobaoabc20056,system -cntaobaoabc20060330,system -cntaobaoabc20060426,system -cntaobaoabc2006118,system -cntaobaoabc2006313,system -cntaobaoabc2006_abc,system -cntaobaoabc2006tp,system -cntaobaoabc20086,system -cntaobaoabc200888,system -cntaobaoabc200897782,system -cntaobaoabc201707,system -cntaobaoabc201817,system -cntaobaoabc20186,system -cntaobaoabc7266291,system -cntaobaoabc7294,system -cntaobaoabc731109,system -cntaobaoabc731731,system -cntaobaoabc731899,system -cntaobaoabc73354210,system -cntaobaoabc7338,system -cntaobaoabc737,system -cntaobaoabc7377,system -cntaobaoabc740411,system -cntaobaoabc7407,system -cntaobaoabc741030,system -cntaobaoabc74328,system -cntaobaoabc74744747,system -cntaobaoabc749129,system -cntaobaoabc751416061,system -cntaobaoabc75440959,system -cntaobaoabc755,system -cntaobaoabc7586932,system -cntaobaoabc75998080,system -cntaobaoabc75def,system -cntaobaoabc7617736200,system -cntaobaoabc7651771,system -cntaobaoabc7679662,system -cntaobaoabc7722168,system -cntaobaoabc7738464,system -cntaobaoabc77415,system -cntaobaoabc777559,system -cntaobaoabc77770,system -cntaobaoabc777999,system -cntaobaoabccjb,system -cntaobaoabccjyj,system -cntaobaoabcclove,system -cntaobaoabcclub,system -cntaobaoabccmh123,system -cntaobaoabccmy123,system -cntaobaoabccnbcsbtlhy,system -cntaobaoabcco,system -cntaobaoabccomss,system -cntaobaoabccsd,system -cntaobaoabcct,system -cntaobaoabcctv,system -cntaobaoabccy,system -cntaobaoabccy1967,system -cntaobaoabcd-01234,system -cntaobaoabcd-1981-1981,system -cntaobaoabcd-63438668,system -cntaobaoabcd.1234,system -cntaobaoabcd.one,system -cntaobaoabcd000000001,system -cntaobaoabcd00000001,system -cntaobaoabcd000001,system -cntaobaoabcd00009999,system -cntaobaoabcd0000abcd,system -cntaobaoabcd000_2005,system -cntaobaoabcd001002,system -cntaobaoabcd0012300123,system -cntaobaoabcd005,system -cntaobaoabcd0050,system -cntaobaoabcd00603131,system -cntaobaoabcd0088,system -cntaobaoabcd0089,system -cntaobaoabcd00938,system -cntaobaoabcd0115,system -cntaobaoabcddcba12345,system -cntaobaoabcddcba14998,system -cntaobaoabcddcba21,system -cntaobaoabcddcba321,system -cntaobaoabcddd20082008,system -cntaobaoabcdddam,system -cntaobaoabcddddd,system -cntaobaoabcdddkio,system -cntaobaoabcddef,system -cntaobaoabcddefg,system -cntaobaoabcddoremi,system -cntaobaoabcde-edcba,system -cntaobaoabcde0,system -cntaobaoabcde001,system -cntaobaoabcde0088,system -cntaobaoabcde00_2005,system -cntaobaoabcde010203,system -cntaobaoabcde0286,system -cntaobaoabcde0315,system -cntaobaoabcde0320,system -cntaobaoabcde06,system -cntaobaoabcde0918,system -cntaobaoabcde1005,system -cntaobaoabcde112,system -cntaobaoabcde1122,system -cntaobaoabcde122333444455555,system -cntaobaoabcde123411,system -cntaobaoabcde123450123,system -cntaobaoabcde12345672,system -cntaobaoabcde123456_2005,system -cntaobaoabcdpyj,system -cntaobaoabcdqq123456789qq,system -cntaobaoabcdqwer,system -cntaobaoabcdrfg,system -cntaobaoabcdrl,system -cntaobaoabcds,system -cntaobaoabcds8,system -cntaobaoabcdsegaa,system -cntaobaoabcdsert,system -cntaobaoabcdsetup,system -cntaobaoabcdsh,system -cntaobaoabcdshock,system -cntaobaoabcdshoot,system -cntaobaoabcdsj199426,system -cntaobaoabcdsof,system -cntaobaoabcdss,system -cntaobaoabcdt131425,system -cntaobaoabcwwc,system -cntaobaoabcwxy,system -cntaobaoabcx,system -cntaobaoabcxf,system -cntaobao1122qwertyuiop007,system -cntaobaoabctb,system -cntaobaoP!1&,system -cntaobaoabc2071721,system -cntaobaoabc2080,system -cntaobaoabc2090874,system -cntaobaoabc21.-.03,system -cntaobaoabc2108330,system -cntaobaoabc21121,system -cntaobaoabc2117,system -cntaobaoabc212,system -cntaobaoabc212121,system -cntaobaoabc2123695,system -cntaobaoabc21240288888,system -cntaobaoabc2127,system -cntaobaoabc214081982,system -cntaobaoabc214486,system -cntaobaoabc2153,system -cntaobaoabc216,system -cntaobaoabc217,system -cntaobaoabc2182343,system -cntaobaoabc2210210,system -cntaobaoabc221410,system -cntaobaoabc221414,system -cntaobaoabc2223677,system -cntaobaoabc222wwj,system -cntaobaoabc223719,system -cntaobaoabc2251,system -cntaobaoabc225115,system -cntaobaoabc2259,system -cntaobaoabc2261928,system -cntaobaoabc2262456,system -cntaobaoabc2287822,system -cntaobaoabc2288,system -cntaobaoabc777xx,system -cntaobaoabc778899,system -cntaobaoabc78099495,system -cntaobaoabc7810130,system -cntaobaoabc78123,system -cntaobaoabc7849101,system -cntaobaoabc7879,system -cntaobaoabc7890,system -cntaobaoabc789000,system -cntaobaoabc789188,system -cntaobaoabc7892,system -cntaobaoabc789516,system -cntaobaoabc789920,system -cntaobaoabc7908,system -cntaobaoabc79155,system -cntaobaoabc79238042,system -cntaobaoabc7971,system -cntaobaoabc797260,system -cntaobaoabc79864048,system -cntaobaoabc8010159,system -cntaobaoabc8018,system -cntaobaoabc8019,system -cntaobaoabc802,system -cntaobaoabc806,system -cntaobaoabcd012341234,system -cntaobaoabcd0123456789,system -cntaobaoabcd020,system -cntaobaoabcd0201,system -cntaobaoabcd0216,system -cntaobaoabcd0244151,system -cntaobaoabcd0308,system -cntaobaoabcd0310,system -cntaobaoabcd0311,system -cntaobaoabcd031188,system -cntaobaoabcd0318,system -cntaobaoabcd0320sc88,system -cntaobaoabcd034151,system -cntaobaoabcd0369,system -cntaobaoabcd03961999,system -cntaobaoabcd0427,system -cntaobaoabcd0476,system -cntaobaoabcd0517,system -cntaobaoabcd0623456,system -cntaobaoabcd0726abcd,system -cntaobaoabcd0770,system -cntaobaoabcd0813,system -cntaobaoabcd08140814,system -cntaobaoabcd100200,system -cntaobaoabcd1010_2005,system -cntaobaoabcd1014,system -cntaobaoabcd110011,system -cntaobaoabcd11026,system -cntaobaoabcd1104,system -cntaobaoabcd11088,system -cntaobaoabcd111,system -cntaobaoabcd11111,system -cntaobaoabcde123456sz,system -cntaobaoabcde1234kkkl,system -cntaobaoabcde123666,system -cntaobaoabcde1237891,system -cntaobaoabcde123edbca,system -cntaobaoabcde127,system -cntaobaoabcde1314520,system -cntaobaoabcde1367513,system -cntaobaoabcde1546,system -cntaobaoabcde1588,system -cntaobaoabcde178178,system -cntaobaoabcde1884,system -cntaobaoabcde196311,system -cntaobaoabcde19edcba,system -cntaobaoabcde1_2005,system -cntaobaoabcde1fghijk,system -cntaobaoabcde2008fg,system -cntaobaoabcde222333444,system -cntaobaoabcde277,system -cntaobaoabcde30,system -cntaobaoabcde3093,system -cntaobaoabcde331188,system -cntaobaoabcde34511,system -cntaobaoabcdtfg,system -cntaobaoabcdth2006,system -cntaobaoabcdthank,system -cntaobaoabcdting,system -cntaobaoabcdtom111,system -cntaobaoabcdtwins,system -cntaobaoabcdtxyz,system -cntaobaoabcdu,system -cntaobaoabcduc123,system -cntaobaoabcdv2003,system -cntaobaoabcdv2555,system -cntaobaoabcdv2666,system -cntaobaoabcdv888,system -cntaobaoabcdvera,system -cntaobaoabcdvking,system -cntaobaoabcdvtok,system -cntaobaoabcdvya,system -cntaobaoabcdwc88,system -cntaobaoabcdwoailixia,system -cntaobaoabcdworldton,system -cntaobaoabcdwxl,system -cntaobaoabcdwxwx,system -cntaobaoabcdwz,system -cntaobaoabcdxfg,system -cntaobao3$?U,system -cntaobaoNR0.!nB|!n,system -cntaobaoabc2288492,system -cntaobaoabc229138704,system -cntaobaoabc229528622,system -cntaobaoabc22960743,system -cntaobaoabc2300907,system -cntaobaoabc2317559,system -cntaobaoabc2317627,system -cntaobaoabc23221320,system -cntaobaoabc2330771,system -cntaobaoabc2341,system -cntaobaoabc2345,system -cntaobaoabc23456666,system -cntaobaoabc2347399,system -cntaobaoabc2364231,system -cntaobaoabc237001066,system -cntaobaoabc2396,system -cntaobaoabc240240,system -cntaobaoabc240322,system -cntaobaoabc2424582,system -cntaobaoabc2461,system -cntaobaoabc24680,system -cntaobaoabc249093698,system -cntaobaoabc250548444,system -cntaobaoabc250584307,system -cntaobaoabc25221462,system -cntaobaoabc2525255,system -cntaobaoabc25253,system -cntaobaoabc253803,system -cntaobaoabc2550229,system -cntaobaoabc8081699,system -cntaobaoabc8082311,system -cntaobaoabc8085,system -cntaobaoabc8088,system -cntaobaoabc80984,system -cntaobaoabc8103,system -cntaobaoabc811102,system -cntaobaoabc811129,system -cntaobaoabc81167,system -cntaobaoabc81223419,system -cntaobaoabc8127112,system -cntaobaoabc817419,system -cntaobaoabc81781,system -cntaobaoabc81801226,system -cntaobaoabc8192979,system -cntaobaoabc82,system -cntaobaoabc820110,system -cntaobaoabc820121,system -cntaobaoabc8223,system -cntaobaoabc822324,system -cntaobaoabc8234213,system -cntaobaoabc82410,system -cntaobaoabc827,system -cntaobaoabc8270008,system -cntaobaoabc828788,system -cntaobaoabc8288,system -cntaobaoabc828886,system -cntaobaoabc8302,system -cntaobaoabc8304821110,system -cntaobaoabc8308504,system -cntaobaoabc831019,system -cntaobaoabc83110060,system -cntaobaoabcd111222,system -cntaobaoabcd11123,system -cntaobaoabcd1116,system -cntaobaoabcd111_007,system -cntaobaoabcd111eee,system -cntaobaoabcd111f,system -cntaobaoabcd111kong,system -cntaobaoabcd1128,system -cntaobaoabcd1155,system -cntaobaoabcd1177,system -cntaobaoabcd11800,system -cntaobaoabcd12004,system -cntaobaoabcd12121,system -cntaobaoabcd121212,system -cntaobaoabcd123012302,system -cntaobaoabcd1230789,system -cntaobaoabcd123121,system -cntaobaoabcd123168,system -cntaobaoabcd123188,system -cntaobaoabcd123321_tb,system -cntaobaoabcd1233536,system -cntaobaoabcd1234,system -cntaobaoabcd1234168,system -cntaobaoabcd12343q,system -cntaobaoabcd1234456,system -cntaobaoabcd1234567,system -cntaobaoabcd1234567222,system -cntaobaoabcd12345673,system -cntaobaoabcde58823,system -cntaobaoabcde6789012345,system -cntaobaoabcde682,system -cntaobaoabcde724,system -cntaobaoabcde780330,system -cntaobaoabcde781,system -cntaobaoabcde78966,system -cntaobaoabcde8300,system -cntaobaoabcde841204com,system -cntaobaoabcde84942,system -cntaobaoabcde8810,system -cntaobaoabcde887,system -cntaobaoabcde88777,system -cntaobaoabcde8881,system -cntaobaoabcde88881,system -cntaobaoabcde88888,system -cntaobaoabcde919,system -cntaobaoabcde95,system -cntaobaoabcde978,system -cntaobaoabcde9876543210,system -cntaobaoabcde989,system -cntaobaoabcde9999,system -cntaobaoabcde999_999,system -cntaobaoabcde_,system -cntaobaoabcde_00007,system -cntaobaoabcde_01,system -cntaobaoabcde_11,system -cntaobaoabcde_12345_007,system -cntaobaoabcdy-198102,system -cntaobaoabcdyyd,system -cntaobaoabcdzzz3,system -cntaobaoabcd4s06y!y!n,system -cntaobaotest2002,system -cntaobaoabc-9999,system -cntaobaoabc.1.2.3,system -cntaobaoabc0000,system -cntaobaoabc00079,system -cntaobaoabc000abc88,system -cntaobaoabc000qqq,system -cntaobaoabc0010011,system -cntaobaoabc0011,system -cntaobaoabc001110,system -cntaobaoabc00191,system -cntaobaoabc00369,system -cntaobaoabc0036987,system -cntaobaoabc006,system -cntaobaoabc007000,system -cntaobaoabc0073100,system -cntaobaoabc0076,system -cntaobaoabc007wlq,system -cntaobaoabc008_008,system -cntaobaoabc008kkk,system -cntaobao999abc,system -cntaobaoabc260643675,system -cntaobaoabc26234,system -cntaobaoabc2630976,system -cntaobaoabc2633141,system -cntaobaoabc2651574,system -cntaobaoabc2652,system -cntaobaoabc26600,system -cntaobaoabc268,system -cntaobaoabc2680884,system -cntaobaoabc2699979,system -cntaobaoabc27,system -cntaobaoabc274222709,system -cntaobaoabc278142006,system -cntaobaoabc2788101,system -cntaobaoabc2811,system -cntaobaoabc28145606,system -cntaobaoabc2832244,system -cntaobaoabc283445413,system -cntaobaoabc28439989,system -cntaobaoabc287691109,system -cntaobaoabc28785508,system -cntaobaoabc28821847,system -cntaobaoabc288288,system -cntaobaoabc295785109,system -cntaobaoabc296636244,system -cntaobaoabc297102732,system -cntaobaoabc831124abc,system -cntaobaoabc83168666,system -cntaobaoabc832175,system -cntaobaoabc83658146,system -cntaobaoabc8367157,system -cntaobaoabc83808875,system -cntaobaoabc839ling,system -cntaobaoabc840818,system -cntaobaoabc8410081,system -cntaobaoabc841017,system -cntaobaoabc8418,system -cntaobaoabc8425,system -cntaobaoabc84303,system -cntaobaoabc845,system -cntaobaoabc8471,system -cntaobaoabc850430,system -cntaobaoabc8508243,system -cntaobaoabc8511242,system -cntaobaoabc85182546,system -cntaobaoabc8522,system -cntaobaoabc85233123,system -cntaobaoabc85468,system -cntaobaoabc8548,system -cntaobaoabc85535298,system -cntaobaoabc8575,system -cntaobaoabc8579,system -cntaobaoabc858,system -cntaobaoabc8582,system -cntaobaoabc85861263,system -cntaobaoabc85961,system -cntaobaoabc8598156,system -cntaobaoabc85988,system -cntaobaoabcd12345678_2005,system -cntaobaoabcd12345678abcd,system -cntaobaoabcd123456a,system -cntaobaoabcd123456sf,system -cntaobaoabcd123459,system -cntaobaoabcd12345_tb,system -cntaobaoabcd1234787,system -cntaobaoabcd1234921,system -cntaobaoabcd12349211,system -cntaobaoabcd123492111,system -cntaobaoabcd1234998,system -cntaobaoabcd1234abcd2005,system -cntaobaoabcd1234abcd911,system -cntaobaoabcd1234elulu,system -cntaobaoabcd123588,system -cntaobaoabcd123616,system -cntaobaoabcd12366,system -cntaobaoabcd123945,system -cntaobaoabcd123abcd123,system -cntaobaoabcd123efghhh,system -cntaobaoabcd12590,system -cntaobaoabcd129111,system -cntaobaoabcd12_3,system -cntaobaoabcd1314520,system -cntaobaoabcd1314_9950,system -cntaobaoabcd132,system -cntaobaoabcd135238,system -cntaobaoabcd1354997,system -cntaobaoabcd1357su,system -cntaobaoabcd1368888,system -cntaobaoabcd13833047095,system -cntaobaoabcde_123_2005,system -cntaobaoabcde_168149,system -cntaobaoabcde_4444_2005,system -cntaobaoabcde_abcdef,system -cntaobaoabcde_cn,system -cntaobaoabcde_qt,system -cntaobaoabcde_qtds,system -cntaobaoabcde_tb,system -cntaobaoabcde_Q),system -cntaobaoabcdea520,system -cntaobaoabcdeabcde9,system -cntaobaoabcdeabcdeabcde,system -cntaobaoabcdeamwfn,system -cntaobaoabcdebb88,system -cntaobaoabcdeda,system -cntaobaoabcdedcba1223,system -cntaobaoabcdef,system -cntaobaoabcdef00123,system -cntaobaoabcdH%DjODLl,system -cntaobaoabcdI=Vq,system -cntaobaoabcdS(S(,system -cntaobaoabcdTNTN,system -cntaobaoabce163,system -cntaobaoabce180,system -cntaobaoabce20599,system -cntaobaoabce530,system -cntaobaoabce_1019,system -cntaobaoabceasy1,system -cntaobaoabcebuy,system -cntaobaoabcedc,system -cntaobaoabcedf333,system -cntaobaoabcedfg1122,system -cntaobaoabcedfghi,system -cntaobaoabcedfgvin,system -cntaobaoabceecd,system -cntaobaoabceefg,system -cntaobaoabcef007,system -cntaobaoabcef5490042,system -cntaobaoabcefdj,system -cntaobaoabcei,system -cntaobaoabceov,system -cntaobaoabcess,system -cntaobaoabcexc,system -cntaobaoabczhangjing,system -cntaobaoabczhiyinshe,system -cntaobaoabczm5278,system -cntaobaoabczn12345,system -cntaobaoabczoutao,system -cntaobaoabczxby5188,system -cntaobaoabczxc,system -cntaobaoabczxcasdq,system -cntaobaoabczxcvbnm88,system -cntaobaoabczxh123,system -cntaobaoabczxw72,system -cntaobaoabczxy11,system -cntaobaoabczxy310,system -cntaobaoabc010,system -cntaobaoabc011098,system -cntaobaoabc0112,system -cntaobaoabc01222,system -cntaobaoabc01230123,system -cntaobaoabc0127,system -cntaobaoabc0128,system -cntaobaoabc0165,system -cntaobaoabc016501,system -cntaobaoabc020409,system -cntaobaoabc021,system -cntaobaoabc0258520,system -cntaobaoabc0316zk,system -cntaobaoabc0318959,system -cntaobaoabc0350,system -cntaobaoabc03504,system -cntaobaoabc0365,system -cntaobaoabc041208,system -cntaobaoabc0421,system -cntaobaoabc0429,system -cntaobaoabc04592,system -cntaobaoabc050300223,system -cntaobaoabc0514,system -cntaobaoabc05169,system -cntaobaoabc0517_cn,system -cntaobaoabc0520,system -cntaobaoabc0523,system -cntaobaoabc05312,system -cntaobaoabc301124310,system -cntaobaoabc3052,system -cntaobaoabc3057957,system -cntaobaoabc306356390,system -cntaobaoabc307317967,system -cntaobaoabc307545280,system -cntaobaoabc308648279,system -cntaobaoabc30978437,system -cntaobaoabc31,system -cntaobaoabc312117349,system -cntaobaoabc314,system -cntaobaoabc314268,system -cntaobaoabc314408026,system -cntaobaoabc3163,system -cntaobaoabc316964624,system -cntaobaoabc317,system -cntaobaoabc32,system -cntaobaoabc320623,system -cntaobaoabc321654,system -cntaobaoabc3219,system -cntaobaoabc325,system -cntaobaoabc325147,system -cntaobaoabc326,system -cntaobaoabc327,system -cntaobaoabc330403,system -cntaobaoabc331,system -cntaobaoabc331122200,system -cntaobaoabc8601008,system -cntaobaoabc860222,system -cntaobaoabc86121719,system -cntaobaoabc8612272,system -cntaobaoabc861300,system -cntaobaoabc861808,system -cntaobaoabc8625969,system -cntaobaoabc86305703,system -cntaobaoabc8666086,system -cntaobaoabc8677939,system -cntaobaoabc868,system -cntaobaoabc86826,system -cntaobaoabc8688755,system -cntaobaoabc8717,system -cntaobaoabc87184719,system -cntaobaoabc874,system -cntaobaoabc8749,system -cntaobaoabc87576380,system -cntaobaoabc878liu,system -cntaobaoabc88,system -cntaobaoabc88023551,system -cntaobaoabc8816001,system -cntaobaoabc8820455,system -cntaobaoabc883331,system -cntaobaoabc88368,system -cntaobaoabc8848,system -cntaobaoabc886,system -cntaobaoabc8861,system -cntaobaoabcd1390316,system -cntaobaoabcd13928381354,system -cntaobaoabcd13932972505,system -cntaobaoabcd139666,system -cntaobaoabcd140202,system -cntaobaoabcd1423,system -cntaobaoabcd1446,system -cntaobaoabcd146099,system -cntaobaoabcd1503,system -cntaobaoabcd1510,system -cntaobaoabcd1566,system -cntaobaoabcd1569,system -cntaobaoabcd1586,system -cntaobaoabcd159456,system -cntaobaoabcd1681,system -cntaobaoabcd168520,system -cntaobaoabcd1696,system -cntaobaoabcd17931,system -cntaobaoabcd180076,system -cntaobaoabcd180856,system -cntaobaoabcd1892abcd,system -cntaobaoabcd19,system -cntaobaoabcd1902,system -cntaobaoabcd1971,system -cntaobaoabcd1973122438401,system -cntaobaoabcd1974,system -cntaobaoabcd1977,system -cntaobaoabcdef123456,system -cntaobaoabcdef12345678,system -cntaobaoabcdef123t,system -cntaobaoabcdef128,system -cntaobaoabcdef129,system -cntaobaoabcdef168,system -cntaobaoabcdef18,system -cntaobaoabcdef180,system -cntaobaoabcdef1840,system -cntaobaoabcdef1969,system -cntaobaoabcdef1975,system -cntaobaoabcdef198606,system -cntaobaoabcdef1987,system -cntaobaoabcdef199,system -cntaobaoabcdef1993,system -cntaobaoabcdef1_2005,system -cntaobaoabcdef20001976,system -cntaobaoabcdef2004,system -cntaobaoabcdef2005007,system -cntaobaoabcdef212,system -cntaobaogodbaby,system -cntaobaoabcdef220330,system -cntaobaoabcf88,system -cntaobaoabcfan,system -cntaobaoabcfang,system -cntaobaoabcfeeling,system -cntaobaoabcfei123456,system -cntaobaoabcfeixing,system -cntaobaoabcfly2099,system -cntaobaoabcfon,system -cntaobaoabcfr,system -cntaobaoabcfyh,system -cntaobaoabcfzh888,system -cntaobaoabczzc,system -cntaobaoabc1&1&123,system -cntaobaoabc1&14,system -cntaobaoabc2K2KWS,system -cntaobaoabc4sQ'3G-1,system -cntaobaoabc7=3LJ=,system -cntaobaoVPND0!VPND,system -cntaobaoabc05482,system -cntaobaoabc060214,system -cntaobaoabc0660,system -cntaobaoabc0666,system -cntaobaoabc070687abc,system -cntaobaoabc07123,system -cntaobaoabc0724,system -cntaobaoabc0727,system -cntaobaoabc0798,system -cntaobaoabc080808,system -cntaobaoabc0828,system -cntaobaoabc0863156,system -cntaobaoabc09070552,system -cntaobaoabc090705521,system -cntaobaoabc0987,system -cntaobaoabc0987654321_2005,system -cntaobaoabc0_0cba,system -cntaobaoabc0xx,system -cntaobaoabc1000000,system -cntaobaoabc1000m,system -cntaobaoabc100200321456,system -cntaobaoabc100326,system -cntaobaoabc101010,system -cntaobaoabc101034,system -cntaobaoabc1014119,system -cntaobaoabc1020,system -cntaobaoabc102080,system -cntaobaoabc102100188,system -cntaobaoabc1028,system -cntaobaoabc10282,system -cntaobaoabc1035_yan,system -cntaobaoabc3312110,system -cntaobaoabc3312114,system -cntaobaoabc3312116,system -cntaobaoabc3312119,system -cntaobaoabc3312419,system -cntaobaoabc331289160,system -cntaobaoabc331331,system -cntaobaoabc3316,system -cntaobaoabc33191591,system -cntaobaoabc3322,system -cntaobaoabc332400,system -cntaobaoabc3381894,system -cntaobaoabc3394365,system -cntaobaoabc3396386,system -cntaobaoabc3439,system -cntaobaoabc345678,system -cntaobaoabc34831,system -cntaobaoabc349449441,system -cntaobaoabc350102,system -cntaobaoabc3517abc2000,system -cntaobaoabc3543377,system -cntaobaoabc35601696,system -cntaobaoabc35781,system -cntaobaoabc36180987,system -cntaobaoabc362100,system -cntaobaoabc8861554,system -cntaobaoabc8866,system -cntaobaoabc8877,system -cntaobaoabc8885249,system -cntaobaoabc888666,system -cntaobaoabc8887,system -cntaobaoabc888811,system -cntaobaoabc88886666,system -cntaobaoabc8888852abc,system -cntaobaoabc888888188,system -cntaobaoabc888999111,system -cntaobaoabc888de,system -cntaobaoabc888deg,system -cntaobaoabc8891,system -cntaobaoabc88988,system -cntaobaoabc8898888,system -cntaobaoabc889_9,system -cntaobaoabc88z1103,system -cntaobaoabc8906331,system -cntaobaoabc890821,system -cntaobaoabc8915123,system -cntaobaoabc8918958,system -cntaobaoabc8970,system -cntaobaoabc8989799,system -cntaobaoabc8994572,system -cntaobaoabc90936,system -cntaobaoabc9111,system -cntaobaoabc911218,system -cntaobaoabc911hf2006,system -cntaobaoabcd1978,system -cntaobaoabcd19781012,system -cntaobaoabcd19791120,system -cntaobaoabcd198106,system -cntaobaoabcd198189,system -cntaobaoabcd1982312,system -cntaobaoabcd1983621,system -cntaobaoabcd198411423,system -cntaobaoabcd198414,system -cntaobaoabcd198491,system -cntaobaoabcd198541,system -cntaobaoabcd1986812,system -cntaobaoabcd198737,system -cntaobaoabcd19win,system -cntaobaoabcd1abcd2,system -cntaobaoabcd20008,system -cntaobaoabcd2000_007,system -cntaobaoabcd2003520,system -cntaobaoabcd2005,system -cntaobaoabcd200517,system -cntaobaoabcd2005888,system -cntaobaoabcd20061,system -cntaobaoabcd2006_x,system -cntaobaoabcd2008,system -cntaobaoabcd200844,system -cntaobaoabcd2008_tb,system -cntaobaoabcdef2579,system -cntaobaoabcdef263,system -cntaobaoabcdef2801,system -cntaobaoabcdef2_2005,system -cntaobaoabcdef34011,system -cntaobaoabcdef4,system -cntaobaoabcdef44,system -cntaobaoabcdef4561,system -cntaobaoabcdef4jin,system -cntaobaoabcdef53,system -cntaobaoabcdef55226677,system -cntaobaoabcdef6,system -cntaobaoabcdef622,system -cntaobaoabcdef63315,system -cntaobaoabcdef651015,system -cntaobaoabcdef6626,system -cntaobaoabcdef666666,system -cntaobaoabcdef7,system -cntaobaoabcdef700,system -cntaobaoabcdef77,system -cntaobaoabcdef828282,system -cntaobaoabcdef8746142,system -cntaobaoabcdef88,system -cntaobaoabcdef888888,system -cntaobaoabchanziabc,system -cntaobaoabchappy,system -cntaobaoabchappy_0,system -cntaobaoabchappys,system -cntaobaoabcharen,system -cntaobaoabchcy,system -cntaobaoabche1,system -cntaobaoabchecheng123,system -cntaobaoabcheima,system -cntaobaoabchen2001,system -cntaobaoabcheng_2005,system -cntaobaoabchengxue,system -cntaobaoabchenjin0,system -cntaobaoabchero88,system -cntaobaoabchhhooo,system -cntaobaoabchhk,system -cntaobaoabchhl001,system -cntaobaoabchina_jgs,system -cntaobaoabc:CDPHK,system -cntaobaoabc),system -cntaobaoabcVGD\,system -cntaobaoabcWTSI?Ug,system -cntaobaoxipol,system -cntaobaorainyzhou,system -cntaobao=>QtQ^Nh,system -cntaobao801229Mu,system -cntaobaoC+@2@2,system -cntaobaoUEGl@W,system -cntaobaoJ'Bd5DPD,system -cntaobaoabc123654789,system -cntaobaoabc1236548,system -cntaobaoabc123678abc,system -cntaobaoabc123688,system -cntaobaoabc123694631,system -cntaobaoabc123789456,system -cntaobaoabc12388001,system -cntaobaoabc123886,system -cntaobaoabc123890,system -cntaobaoabc123902,system -cntaobaoabc123_123456,system -cntaobaoabc123_2004,system -cntaobaoabc123_213,system -cntaobaoabc123_zhu,system -cntaobaoabc123_2(,system -cntaobaoabc123_KD<>,system -cntaobaoabc123_R;6~H}88,system -cntaobaoabc123ab,system -cntaobaoabc123abc,system -cntaobaoonlyjava,system -cntaobaoabc123abc5,system -cntaobaoabc123abc789,system -cntaobaoabc123abx,system -cntaobaoabc123boy,system -cntaobaoabc123ccc,system -cntaobaoabc123chen,system -cntaobaoabc123cn,system -cntaobaoabc493346,system -cntaobaoabc4949,system -cntaobaoabc4wd,system -cntaobaoabc500,system -cntaobaoabc5000,system -cntaobaoabc5002,system -cntaobaoabc506434487,system -cntaobaoabc5069,system -cntaobaoabc50953,system -cntaobaoabc5095776,system -cntaobaoabc510108,system -cntaobaoabc5133,system -cntaobaoabc5151,system -cntaobaoabc5157,system -cntaobaoabc517523,system -cntaobaoabc518,system -cntaobaoabc5193065,system -cntaobaoabc519668,system -cntaobaoabc520518,system -cntaobaoabc520584,system -cntaobaoabc520600,system -cntaobaoabc520abc,system -cntaobaoabc520bei,system -cntaobaoabc_607,system -cntaobaoabc_628,system -cntaobaoabc_650,system -cntaobaoabc_6580358,system -cntaobaoabc_666666,system -cntaobaoabc_66666666,system -cntaobaoabc_712,system -cntaobaoabc_726,system -cntaobaoabc_7723003,system -cntaobaoabc_790612,system -cntaobaoabc_810913,system -cntaobaoabc_820416,system -cntaobaoabc_998,system -cntaobaoabc_999china,system -cntaobaoabc_ab1998,system -cntaobaoabc_abc999,system -cntaobaoabc_abcdefg,system -cntaobaoabc_abclyf,system -cntaobaoabc_blue,system -cntaobaoabc_card,system -cntaobaoabc_cba88,system -cntaobaoabc_chen,system -cntaobaoabc_chp_001,system -cntaobaoabc_dmn,system -cntaobaoabc_fangfang,system -cntaobaoabc_ggg,system -cntaobaoabcd550,system -cntaobaoabcd552211,system -cntaobaoabcd5566,system -cntaobaoabcd5590,system -cntaobaoabcd56200,system -cntaobaoabcd5656,system -cntaobaoabcd56623,system -cntaobaoabcd567,system -cntaobaoabcd5677,system -cntaobaoabcd56789,system -cntaobaoabcd5699151,system -cntaobaoabcd582920,system -cntaobaoabcd586889,system -cntaobaoabcd60080,system -cntaobaoabcd6286,system -cntaobaoabcd6289052,system -cntaobaoabcd6377323,system -cntaobaoabcd642804133,system -cntaobaoabcd6467,system -cntaobaoabcd65402888,system -cntaobaoabcd654123,system -cntaobaoabcd6598,system -cntaobaoabcd65p4,system -cntaobaoabcd66123905,system -cntaobaoabcd66688,system -cntaobaoabcd6688668,system -cntaobaoabcd66_008,system -cntaobaoabcd676,system -cntaobaoabcdefg_20058,system -cntaobaoabcdefg_369369,system -cntaobaoabcdefg_6833,system -cntaobaoabcdefg_bt,system -cntaobaoabcdefgabcdef,system -cntaobaoabcdefgabcdefg_tb,system -cntaobaoabcdefgbobo,system -cntaobaoabcdefgciac,system -cntaobaoabcdefgd,system -cntaobaoabcdefgefghij,system -cntaobaoabcdefgf_007,system -cntaobaoabcdefgfedcba1,system -cntaobaoabcdefggfe521,system -cntaobaoabcdefggfedcba_2005,system -cntaobaoabcdefgggg,system -cntaobaoabcdefgh118,system -cntaobaoabcdefgh118501,system -cntaobaoabcdefgh1232,system -cntaobaoabcdefgh200588,system -cntaobaoabcdefgh333,system -cntaobaoabcdefgh456,system -cntaobaoabcdefgh777,system -cntaobaoabcdefgh_2006,system -cntaobaoabcdefghabcdefgh,system -cntaobaoabcdefghi12,system -cntaobaoabcdefghig1,system -cntaobaoabcdefghig3,system -cntaobaoabcdefghigklmn,system -cntaobao!nP!F$C(!n,system -cntaobao(t!nR0M^M^o0,system -cntaobaorongyw12,system -cntaobaoshujun1,system -cntaobao9~9~9~,system -cntaobaogeren1,system -"cntaobao2 -tlsSPDc",system -cntaobao!nLzCf9+Vw!n,system -cntaobao!n;n ,system -cntaobaoTB9bI3I3We,system -cntaobaosm777,system -cntaobaozizaitest10007,system -cntaobaoabc123e,system -cntaobaoabc123ee,system -cntaobaoabc123ff,system -cntaobaoabc123go,system -cntaobaoabc123gwu,system -cntaobaoabc123hjg,system -cntaobaoabc123jie88,system -cntaobaoabc123love,system -cntaobaoabc123lxj,system -cntaobaoabc123ma,system -cntaobaoabc123may,system -cntaobaoabc123tnt,system -cntaobaoabc123wm,system -cntaobaoabc123x,system -cntaobaoabc123xyz,system -cntaobaoabc123yingxian,system -cntaobaoabc123zangyan,system -cntaobaoabc1230.0.,system -cntaobaoabc1239~4o,system -cntaobaoabc123},system -cntaobaoabcdefgh12,system -cntaobaoabcghj,system -cntaobao1980abc,system -cntaobaoabc200,system -cntaobaomfrog,system -cntaobaoa_bao,system -cntaobaoabc002,system -cntaobaoR9TB,system -cntaobao1yTF,system -cntaobaofangyi,system -cntaobaozizaitest10008,system -cntaobaoa_tao,system -cntaobaoabc13801,system -cntaobaoabc13802496481,system -cntaobaoabc138139,system -cntaobaoabc138498,system -cntaobaoabc1394,system -cntaobaoabc1395240054,system -cntaobaoabc13968787,system -cntaobaoabc1414114abc,system -cntaobaoabc142,system -cntaobaoabc142422,system -cntaobaoabc142737,system -cntaobaoabc1444433,system -cntaobaoabc14444444,system -cntaobaoabc14700,system -cntaobaoabc147258159,system -cntaobaoabc147741,system -cntaobaoabc148,system -cntaobaoabc15,system -cntaobaoabc151378908,system -cntaobaoabc151514,system -cntaobaoabc152018000,system -cntaobaoabc153601,system -cntaobaoabc155041731,system -cntaobaoabc157527,system -cntaobaoabc159357,system -cntaobaoabc159357159357,system -cntaobaoabc159357abc,system -cntaobaoabc159951,system -cntaobao-2706H,system -cntaobaoabc57369,system -cntaobaoabc5797060W77g,system -cntaobaoabc58021172,system -cntaobaoabc5809511,system -cntaobaoabc5811196,system -cntaobaoabc58188,system -cntaobaoabc5823,system -cntaobaoabc5827,system -cntaobaoabc5857,system -cntaobaoabc5859566,system -cntaobaoabc58616,system -cntaobaoabc5866321,system -cntaobaoabc58823,system -cntaobaoabc58851234,system -cntaobaoabc590813,system -cntaobaoabc592317752,system -cntaobaoabc5929817,system -cntaobaoabc5946,system -cntaobaoabc595,system -cntaobaoabc598,system -cntaobaoabc5992169,system -cntaobaoabc6012,system -cntaobaoabc605992600,system -cntaobaoabc6060a,system -cntaobaoabc606833,system -cntaobaoabc612354,system -cntaobaoabc612888,system -cntaobaoabc6135,system -cntaobaoabc618,system -cntaobaoabcabce,system -cntaobaoabcabcfly,system -cntaobaoabcabcpen,system -cntaobaoabcabcqwer,system -cntaobaoabcabcqwert,system -cntaobaoabcabcwww,system -cntaobaoabcabcyuqun,system -cntaobaoabcabczyy,system -cntaobaoabcadc23,system -cntaobaoabcadr,system -cntaobaoabcafhaohao,system -cntaobaoabcai,system -cntaobaoabcakang,system -cntaobaoabcalex123,system -cntaobaoabcalid,system -cntaobaoabcamayi,system -cntaobaoabcandxyz,system -cntaobaoabcang,system -cntaobaoabcanna,system -cntaobaoabcapple32,system -cntaobaoabcasd119,system -cntaobaoabcat,system -cntaobaoabcaurora,system -cntaobaoabcba126,system -cntaobaoabcba2008,system -cntaobaoabcd88885,system -cntaobaoabcd88888888,system -cntaobaoabcd8888_2005,system -cntaobaoabcd888919,system -cntaobaoabcd888abcd,system -cntaobaoabcd888hb,system -cntaobaoabcd889988,system -cntaobaoabcd88vv,system -cntaobaoabcd890,system -cntaobaoabcd8900523,system -cntaobaoabcd8902,system -cntaobaoabcd8dy,system -cntaobaoabcd900800,system -cntaobaoabcd901,system -cntaobaoabcd910571,system -cntaobaoabcd94300,system -cntaobaoabcd94629,system -cntaobaoabcd95,system -cntaobaoabcd9655,system -cntaobaoabcd9701338,system -cntaobaoabcd970408,system -cntaobaoabcd9845310,system -cntaobaoabcd988,system -cntaobaoabcd990514,system -cntaobaoabcd9999,system -cntaobaoabcd99abcd,system -cntaobaoabcd_006009,system -cntaobaoabcd_123450,system -cntaobaoabcd_123_abcd,system -cntaobaoabcd_128,system -cntaobaoabcdefjk88,system -cntaobaoabcdeflulu,system -cntaobaoabcdeflzx,system -cntaobaoabcdefx,system -cntaobaoabcsa,system -cntaobaoabcd12325963,system -cntaobaoabcd1234abcd,system -cntaobaoabcd12391,system -cntaobaoabcd0009,system -cntaobaoabc009,system -cntaobaoabc162,system -cntaobaoabc162245,system -cntaobaoabc163com,system -cntaobaoabc167,system -cntaobaoabc167167,system -cntaobaoabc1685678,system -cntaobaoabc1688,system -cntaobaoabc168861abc,system -cntaobaoabc1688752,system -cntaobaoabc168922,system -cntaobaoabc16897866,system -cntaobaoabc168_52077,system -cntaobaoabc1683I3I,system -cntaobaoabc16_2005,system -cntaobaoabc17,system -cntaobaoabc1700,system -cntaobaoabc172968,system -cntaobaoabc174625781,system -cntaobaoabc1756,system -cntaobaoabc175753,system diff --git a/features/aliww/data/.svn/text-base/get_bind_list.dat.svn-base b/features/aliww/data/.svn/text-base/get_bind_list.dat.svn-base deleted file mode 100644 index d30100b..0000000 --- a/features/aliww/data/.svn/text-base/get_bind_list.dat.svn-base +++ /dev/null @@ -1,1000 +0,0 @@ -cnphpwnd9999@aliyun0 -cnphpwnd9999@aliyun1 -cnphpwnd9999@aliyun2 -cnphpwnd9999@aliyun3 -cnphpwnd9999@aliyun4 -cnphpwnd9999@aliyun5 -cnphpwnd9999@aliyun6 -cnphpwnd9999@aliyun7 -cnphpwnd9999@aliyun8 -cnphpwnd9999@aliyun9 -cnphpwnd9999@aliyun10 -cnphpwnd9999@aliyun11 -cnphpwnd9999@aliyun12 -cnphpwnd9999@aliyun13 -cnphpwnd9999@aliyun14 -cnphpwnd9999@aliyun15 -cnphpwnd9999@aliyun16 -cnphpwnd9999@aliyun17 -cnphpwnd9999@aliyun18 -cnphpwnd9999@aliyun19 -cnphpwnd9999@aliyun20 -cnphpwnd9999@aliyun21 -cnphpwnd9999@aliyun22 -cnphpwnd9999@aliyun23 -cnphpwnd9999@aliyun24 -cnphpwnd9999@aliyun25 -cnphpwnd9999@aliyun26 -cnphpwnd9999@aliyun27 -cnphpwnd9999@aliyun28 -cnphpwnd9999@aliyun29 -cnphpwnd9999@aliyun30 -cnphpwnd9999@aliyun31 -cnphpwnd9999@aliyun32 -cnphpwnd9999@aliyun33 -cnphpwnd9999@aliyun34 -cnphpwnd9999@aliyun35 -cnphpwnd9999@aliyun36 -cnphpwnd9999@aliyun37 -cnphpwnd9999@aliyun38 -cnphpwnd9999@aliyun39 -cnphpwnd9999@aliyun40 -cnphpwnd9999@aliyun41 -cnphpwnd9999@aliyun42 -cnphpwnd9999@aliyun43 -cnphpwnd9999@aliyun44 -cnphpwnd9999@aliyun45 -cnphpwnd9999@aliyun46 -cnphpwnd9999@aliyun47 -cnphpwnd9999@aliyun48 -cnphpwnd9999@aliyun49 -cnphpwnd9999@aliyun50 -cnphpwnd9999@aliyun51 -cnphpwnd9999@aliyun52 -cnphpwnd9999@aliyun53 -cnphpwnd9999@aliyun54 -cnphpwnd9999@aliyun55 -cnphpwnd9999@aliyun56 -cnphpwnd9999@aliyun57 -cnphpwnd9999@aliyun58 -cnphpwnd9999@aliyun59 -cnphpwnd9999@aliyun60 -cnphpwnd9999@aliyun61 -cnphpwnd9999@aliyun62 -cnphpwnd9999@aliyun63 -cnphpwnd9999@aliyun64 -cnphpwnd9999@aliyun65 -cnphpwnd9999@aliyun66 -cnphpwnd9999@aliyun67 -cnphpwnd9999@aliyun68 -cnphpwnd9999@aliyun69 -cnphpwnd9999@aliyun70 -cnphpwnd9999@aliyun71 -cnphpwnd9999@aliyun72 -cnphpwnd9999@aliyun73 -cnphpwnd9999@aliyun74 -cnphpwnd9999@aliyun75 -cnphpwnd9999@aliyun76 -cnphpwnd9999@aliyun77 -cnphpwnd9999@aliyun78 -cnphpwnd9999@aliyun79 -cnphpwnd9999@aliyun80 -cnphpwnd9999@aliyun81 -cnphpwnd9999@aliyun82 -cnphpwnd9999@aliyun83 -cnphpwnd9999@aliyun84 -cnphpwnd9999@aliyun85 -cnphpwnd9999@aliyun86 -cnphpwnd9999@aliyun87 -cnphpwnd9999@aliyun88 -cnphpwnd9999@aliyun89 -cnphpwnd9999@aliyun90 -cnphpwnd9999@aliyun91 -cnphpwnd9999@aliyun92 -cnphpwnd9999@aliyun93 -cnphpwnd9999@aliyun94 -cnphpwnd9999@aliyun95 -cnphpwnd9999@aliyun96 -cnphpwnd9999@aliyun97 -cnphpwnd9999@aliyun98 -cnphpwnd9999@aliyun99 -cnphpwnd9999@aliyun100 -cnphpwnd9999@aliyun101 -cnphpwnd9999@aliyun102 -cnphpwnd9999@aliyun103 -cnphpwnd9999@aliyun104 -cnphpwnd9999@aliyun105 -cnphpwnd9999@aliyun106 -cnphpwnd9999@aliyun107 -cnphpwnd9999@aliyun108 -cnphpwnd9999@aliyun109 -cnphpwnd9999@aliyun110 -cnphpwnd9999@aliyun111 -cnphpwnd9999@aliyun112 -cnphpwnd9999@aliyun113 -cnphpwnd9999@aliyun114 -cnphpwnd9999@aliyun115 -cnphpwnd9999@aliyun116 -cnphpwnd9999@aliyun117 -cnphpwnd9999@aliyun118 -cnphpwnd9999@aliyun119 -cnphpwnd9999@aliyun120 -cnphpwnd9999@aliyun121 -cnphpwnd9999@aliyun122 -cnphpwnd9999@aliyun123 -cnphpwnd9999@aliyun124 -cnphpwnd9999@aliyun125 -cnphpwnd9999@aliyun126 -cnphpwnd9999@aliyun127 -cnphpwnd9999@aliyun128 -cnphpwnd9999@aliyun129 -cnphpwnd9999@aliyun130 -cnphpwnd9999@aliyun131 -cnphpwnd9999@aliyun132 -cnphpwnd9999@aliyun133 -cnphpwnd9999@aliyun134 -cnphpwnd9999@aliyun135 -cnphpwnd9999@aliyun136 -cnphpwnd9999@aliyun137 -cnphpwnd9999@aliyun138 -cnphpwnd9999@aliyun139 -cnphpwnd9999@aliyun140 -cnphpwnd9999@aliyun141 -cnphpwnd9999@aliyun142 -cnphpwnd9999@aliyun143 -cnphpwnd9999@aliyun144 -cnphpwnd9999@aliyun145 -cnphpwnd9999@aliyun146 -cnphpwnd9999@aliyun147 -cnphpwnd9999@aliyun148 -cnphpwnd9999@aliyun149 -cnphpwnd9999@aliyun150 -cnphpwnd9999@aliyun151 -cnphpwnd9999@aliyun152 -cnphpwnd9999@aliyun153 -cnphpwnd9999@aliyun154 -cnphpwnd9999@aliyun155 -cnphpwnd9999@aliyun156 -cnphpwnd9999@aliyun157 -cnphpwnd9999@aliyun158 -cnphpwnd9999@aliyun159 -cnphpwnd9999@aliyun160 -cnphpwnd9999@aliyun161 -cnphpwnd9999@aliyun162 -cnphpwnd9999@aliyun163 -cnphpwnd9999@aliyun164 -cnphpwnd9999@aliyun165 -cnphpwnd9999@aliyun166 -cnphpwnd9999@aliyun167 -cnphpwnd9999@aliyun168 -cnphpwnd9999@aliyun169 -cnphpwnd9999@aliyun170 -cnphpwnd9999@aliyun171 -cnphpwnd9999@aliyun172 -cnphpwnd9999@aliyun173 -cnphpwnd9999@aliyun174 -cnphpwnd9999@aliyun175 -cnphpwnd9999@aliyun176 -cnphpwnd9999@aliyun177 -cnphpwnd9999@aliyun178 -cnphpwnd9999@aliyun179 -cnphpwnd9999@aliyun180 -cnphpwnd9999@aliyun181 -cnphpwnd9999@aliyun182 -cnphpwnd9999@aliyun183 -cnphpwnd9999@aliyun184 -cnphpwnd9999@aliyun185 -cnphpwnd9999@aliyun186 -cnphpwnd9999@aliyun187 -cnphpwnd9999@aliyun188 -cnphpwnd9999@aliyun189 -cnphpwnd9999@aliyun190 -cnphpwnd9999@aliyun191 -cnphpwnd9999@aliyun192 -cnphpwnd9999@aliyun193 -cnphpwnd9999@aliyun194 -cnphpwnd9999@aliyun195 -cnphpwnd9999@aliyun196 -cnphpwnd9999@aliyun197 -cnphpwnd9999@aliyun198 -cnphpwnd9999@aliyun199 -cnphpwnd9999@aliyun200 -cnphpwnd9999@aliyun201 -cnphpwnd9999@aliyun202 -cnphpwnd9999@aliyun203 -cnphpwnd9999@aliyun204 -cnphpwnd9999@aliyun205 -cnphpwnd9999@aliyun206 -cnphpwnd9999@aliyun207 -cnphpwnd9999@aliyun208 -cnphpwnd9999@aliyun209 -cnphpwnd9999@aliyun210 -cnphpwnd9999@aliyun211 -cnphpwnd9999@aliyun212 -cnphpwnd9999@aliyun213 -cnphpwnd9999@aliyun214 -cnphpwnd9999@aliyun215 -cnphpwnd9999@aliyun216 -cnphpwnd9999@aliyun217 -cnphpwnd9999@aliyun218 -cnphpwnd9999@aliyun219 -cnphpwnd9999@aliyun220 -cnphpwnd9999@aliyun221 -cnphpwnd9999@aliyun222 -cnphpwnd9999@aliyun223 -cnphpwnd9999@aliyun224 -cnphpwnd9999@aliyun225 -cnphpwnd9999@aliyun226 -cnphpwnd9999@aliyun227 -cnphpwnd9999@aliyun228 -cnphpwnd9999@aliyun229 -cnphpwnd9999@aliyun230 -cnphpwnd9999@aliyun231 -cnphpwnd9999@aliyun232 -cnphpwnd9999@aliyun233 -cnphpwnd9999@aliyun234 -cnphpwnd9999@aliyun235 -cnphpwnd9999@aliyun236 -cnphpwnd9999@aliyun237 -cnphpwnd9999@aliyun238 -cnphpwnd9999@aliyun239 -cnphpwnd9999@aliyun240 -cnphpwnd9999@aliyun241 -cnphpwnd9999@aliyun242 -cnphpwnd9999@aliyun243 -cnphpwnd9999@aliyun244 -cnphpwnd9999@aliyun245 -cnphpwnd9999@aliyun246 -cnphpwnd9999@aliyun247 -cnphpwnd9999@aliyun248 -cnphpwnd9999@aliyun249 -cnphpwnd9999@aliyun250 -cnphpwnd9999@aliyun251 -cnphpwnd9999@aliyun252 -cnphpwnd9999@aliyun253 -cnphpwnd9999@aliyun254 -cnphpwnd9999@aliyun255 -cnphpwnd9999@aliyun256 -cnphpwnd9999@aliyun257 -cnphpwnd9999@aliyun258 -cnphpwnd9999@aliyun259 -cnphpwnd9999@aliyun260 -cnphpwnd9999@aliyun261 -cnphpwnd9999@aliyun262 -cnphpwnd9999@aliyun263 -cnphpwnd9999@aliyun264 -cnphpwnd9999@aliyun265 -cnphpwnd9999@aliyun266 -cnphpwnd9999@aliyun267 -cnphpwnd9999@aliyun268 -cnphpwnd9999@aliyun269 -cnphpwnd9999@aliyun270 -cnphpwnd9999@aliyun271 -cnphpwnd9999@aliyun272 -cnphpwnd9999@aliyun273 -cnphpwnd9999@aliyun274 -cnphpwnd9999@aliyun275 -cnphpwnd9999@aliyun276 -cnphpwnd9999@aliyun277 -cnphpwnd9999@aliyun278 -cnphpwnd9999@aliyun279 -cnphpwnd9999@aliyun280 -cnphpwnd9999@aliyun281 -cnphpwnd9999@aliyun282 -cnphpwnd9999@aliyun283 -cnphpwnd9999@aliyun284 -cnphpwnd9999@aliyun285 -cnphpwnd9999@aliyun286 -cnphpwnd9999@aliyun287 -cnphpwnd9999@aliyun288 -cnphpwnd9999@aliyun289 -cnphpwnd9999@aliyun290 -cnphpwnd9999@aliyun291 -cnphpwnd9999@aliyun292 -cnphpwnd9999@aliyun293 -cnphpwnd9999@aliyun294 -cnphpwnd9999@aliyun295 -cnphpwnd9999@aliyun296 -cnphpwnd9999@aliyun297 -cnphpwnd9999@aliyun298 -cnphpwnd9999@aliyun299 -cnphpwnd9999@aliyun300 -cnphpwnd9999@aliyun301 -cnphpwnd9999@aliyun302 -cnphpwnd9999@aliyun303 -cnphpwnd9999@aliyun304 -cnphpwnd9999@aliyun305 -cnphpwnd9999@aliyun306 -cnphpwnd9999@aliyun307 -cnphpwnd9999@aliyun308 -cnphpwnd9999@aliyun309 -cnphpwnd9999@aliyun310 -cnphpwnd9999@aliyun311 -cnphpwnd9999@aliyun312 -cnphpwnd9999@aliyun313 -cnphpwnd9999@aliyun314 -cnphpwnd9999@aliyun315 -cnphpwnd9999@aliyun316 -cnphpwnd9999@aliyun317 -cnphpwnd9999@aliyun318 -cnphpwnd9999@aliyun319 -cnphpwnd9999@aliyun320 -cnphpwnd9999@aliyun321 -cnphpwnd9999@aliyun322 -cnphpwnd9999@aliyun323 -cnphpwnd9999@aliyun324 -cnphpwnd9999@aliyun325 -cnphpwnd9999@aliyun326 -cnphpwnd9999@aliyun327 -cnphpwnd9999@aliyun328 -cnphpwnd9999@aliyun329 -cnphpwnd9999@aliyun330 -cnphpwnd9999@aliyun331 -cnphpwnd9999@aliyun332 -cnphpwnd9999@aliyun333 -cnphpwnd9999@aliyun334 -cnphpwnd9999@aliyun335 -cnphpwnd9999@aliyun336 -cnphpwnd9999@aliyun337 -cnphpwnd9999@aliyun338 -cnphpwnd9999@aliyun339 -cnphpwnd9999@aliyun340 -cnphpwnd9999@aliyun341 -cnphpwnd9999@aliyun342 -cnphpwnd9999@aliyun343 -cnphpwnd9999@aliyun344 -cnphpwnd9999@aliyun345 -cnphpwnd9999@aliyun346 -cnphpwnd9999@aliyun347 -cnphpwnd9999@aliyun348 -cnphpwnd9999@aliyun349 -cnphpwnd9999@aliyun350 -cnphpwnd9999@aliyun351 -cnphpwnd9999@aliyun352 -cnphpwnd9999@aliyun353 -cnphpwnd9999@aliyun354 -cnphpwnd9999@aliyun355 -cnphpwnd9999@aliyun356 -cnphpwnd9999@aliyun357 -cnphpwnd9999@aliyun358 -cnphpwnd9999@aliyun359 -cnphpwnd9999@aliyun360 -cnphpwnd9999@aliyun361 -cnphpwnd9999@aliyun362 -cnphpwnd9999@aliyun363 -cnphpwnd9999@aliyun364 -cnphpwnd9999@aliyun365 -cnphpwnd9999@aliyun366 -cnphpwnd9999@aliyun367 -cnphpwnd9999@aliyun368 -cnphpwnd9999@aliyun369 -cnphpwnd9999@aliyun370 -cnphpwnd9999@aliyun371 -cnphpwnd9999@aliyun372 -cnphpwnd9999@aliyun373 -cnphpwnd9999@aliyun374 -cnphpwnd9999@aliyun375 -cnphpwnd9999@aliyun376 -cnphpwnd9999@aliyun377 -cnphpwnd9999@aliyun378 -cnphpwnd9999@aliyun379 -cnphpwnd9999@aliyun380 -cnphpwnd9999@aliyun381 -cnphpwnd9999@aliyun382 -cnphpwnd9999@aliyun383 -cnphpwnd9999@aliyun384 -cnphpwnd9999@aliyun385 -cnphpwnd9999@aliyun386 -cnphpwnd9999@aliyun387 -cnphpwnd9999@aliyun388 -cnphpwnd9999@aliyun389 -cnphpwnd9999@aliyun390 -cnphpwnd9999@aliyun391 -cnphpwnd9999@aliyun392 -cnphpwnd9999@aliyun393 -cnphpwnd9999@aliyun394 -cnphpwnd9999@aliyun395 -cnphpwnd9999@aliyun396 -cnphpwnd9999@aliyun397 -cnphpwnd9999@aliyun398 -cnphpwnd9999@aliyun399 -cnphpwnd9999@aliyun400 -cnphpwnd9999@aliyun401 -cnphpwnd9999@aliyun402 -cnphpwnd9999@aliyun403 -cnphpwnd9999@aliyun404 -cnphpwnd9999@aliyun405 -cnphpwnd9999@aliyun406 -cnphpwnd9999@aliyun407 -cnphpwnd9999@aliyun408 -cnphpwnd9999@aliyun409 -cnphpwnd9999@aliyun410 -cnphpwnd9999@aliyun411 -cnphpwnd9999@aliyun412 -cnphpwnd9999@aliyun413 -cnphpwnd9999@aliyun414 -cnphpwnd9999@aliyun415 -cnphpwnd9999@aliyun416 -cnphpwnd9999@aliyun417 -cnphpwnd9999@aliyun418 -cnphpwnd9999@aliyun419 -cnphpwnd9999@aliyun420 -cnphpwnd9999@aliyun421 -cnphpwnd9999@aliyun422 -cnphpwnd9999@aliyun423 -cnphpwnd9999@aliyun424 -cnphpwnd9999@aliyun425 -cnphpwnd9999@aliyun426 -cnphpwnd9999@aliyun427 -cnphpwnd9999@aliyun428 -cnphpwnd9999@aliyun429 -cnphpwnd9999@aliyun430 -cnphpwnd9999@aliyun431 -cnphpwnd9999@aliyun432 -cnphpwnd9999@aliyun433 -cnphpwnd9999@aliyun434 -cnphpwnd9999@aliyun435 -cnphpwnd9999@aliyun436 -cnphpwnd9999@aliyun437 -cnphpwnd9999@aliyun438 -cnphpwnd9999@aliyun439 -cnphpwnd9999@aliyun440 -cnphpwnd9999@aliyun441 -cnphpwnd9999@aliyun442 -cnphpwnd9999@aliyun443 -cnphpwnd9999@aliyun444 -cnphpwnd9999@aliyun445 -cnphpwnd9999@aliyun446 -cnphpwnd9999@aliyun447 -cnphpwnd9999@aliyun448 -cnphpwnd9999@aliyun449 -cnphpwnd9999@aliyun450 -cnphpwnd9999@aliyun451 -cnphpwnd9999@aliyun452 -cnphpwnd9999@aliyun453 -cnphpwnd9999@aliyun454 -cnphpwnd9999@aliyun455 -cnphpwnd9999@aliyun456 -cnphpwnd9999@aliyun457 -cnphpwnd9999@aliyun458 -cnphpwnd9999@aliyun459 -cnphpwnd9999@aliyun460 -cnphpwnd9999@aliyun461 -cnphpwnd9999@aliyun462 -cnphpwnd9999@aliyun463 -cnphpwnd9999@aliyun464 -cnphpwnd9999@aliyun465 -cnphpwnd9999@aliyun466 -cnphpwnd9999@aliyun467 -cnphpwnd9999@aliyun468 -cnphpwnd9999@aliyun469 -cnphpwnd9999@aliyun470 -cnphpwnd9999@aliyun471 -cnphpwnd9999@aliyun472 -cnphpwnd9999@aliyun473 -cnphpwnd9999@aliyun474 -cnphpwnd9999@aliyun475 -cnphpwnd9999@aliyun476 -cnphpwnd9999@aliyun477 -cnphpwnd9999@aliyun478 -cnphpwnd9999@aliyun479 -cnphpwnd9999@aliyun480 -cnphpwnd9999@aliyun481 -cnphpwnd9999@aliyun482 -cnphpwnd9999@aliyun483 -cnphpwnd9999@aliyun484 -cnphpwnd9999@aliyun485 -cnphpwnd9999@aliyun486 -cnphpwnd9999@aliyun487 -cnphpwnd9999@aliyun488 -cnphpwnd9999@aliyun489 -cnphpwnd9999@aliyun490 -cnphpwnd9999@aliyun491 -cnphpwnd9999@aliyun492 -cnphpwnd9999@aliyun493 -cnphpwnd9999@aliyun494 -cnphpwnd9999@aliyun495 -cnphpwnd9999@aliyun496 -cnphpwnd9999@aliyun497 -cnphpwnd9999@aliyun498 -cnphpwnd9999@aliyun499 -cnphpwnd9999@aliyun500 -cnphpwnd9999@aliyun501 -cnphpwnd9999@aliyun502 -cnphpwnd9999@aliyun503 -cnphpwnd9999@aliyun504 -cnphpwnd9999@aliyun505 -cnphpwnd9999@aliyun506 -cnphpwnd9999@aliyun507 -cnphpwnd9999@aliyun508 -cnphpwnd9999@aliyun509 -cnphpwnd9999@aliyun510 -cnphpwnd9999@aliyun511 -cnphpwnd9999@aliyun512 -cnphpwnd9999@aliyun513 -cnphpwnd9999@aliyun514 -cnphpwnd9999@aliyun515 -cnphpwnd9999@aliyun516 -cnphpwnd9999@aliyun517 -cnphpwnd9999@aliyun518 -cnphpwnd9999@aliyun519 -cnphpwnd9999@aliyun520 -cnphpwnd9999@aliyun521 -cnphpwnd9999@aliyun522 -cnphpwnd9999@aliyun523 -cnphpwnd9999@aliyun524 -cnphpwnd9999@aliyun525 -cnphpwnd9999@aliyun526 -cnphpwnd9999@aliyun527 -cnphpwnd9999@aliyun528 -cnphpwnd9999@aliyun529 -cnphpwnd9999@aliyun530 -cnphpwnd9999@aliyun531 -cnphpwnd9999@aliyun532 -cnphpwnd9999@aliyun533 -cnphpwnd9999@aliyun534 -cnphpwnd9999@aliyun535 -cnphpwnd9999@aliyun536 -cnphpwnd9999@aliyun537 -cnphpwnd9999@aliyun538 -cnphpwnd9999@aliyun539 -cnphpwnd9999@aliyun540 -cnphpwnd9999@aliyun541 -cnphpwnd9999@aliyun542 -cnphpwnd9999@aliyun543 -cnphpwnd9999@aliyun544 -cnphpwnd9999@aliyun545 -cnphpwnd9999@aliyun546 -cnphpwnd9999@aliyun547 -cnphpwnd9999@aliyun548 -cnphpwnd9999@aliyun549 -cnphpwnd9999@aliyun550 -cnphpwnd9999@aliyun551 -cnphpwnd9999@aliyun552 -cnphpwnd9999@aliyun553 -cnphpwnd9999@aliyun554 -cnphpwnd9999@aliyun555 -cnphpwnd9999@aliyun556 -cnphpwnd9999@aliyun557 -cnphpwnd9999@aliyun558 -cnphpwnd9999@aliyun559 -cnphpwnd9999@aliyun560 -cnphpwnd9999@aliyun561 -cnphpwnd9999@aliyun562 -cnphpwnd9999@aliyun563 -cnphpwnd9999@aliyun564 -cnphpwnd9999@aliyun565 -cnphpwnd9999@aliyun566 -cnphpwnd9999@aliyun567 -cnphpwnd9999@aliyun568 -cnphpwnd9999@aliyun569 -cnphpwnd9999@aliyun570 -cnphpwnd9999@aliyun571 -cnphpwnd9999@aliyun572 -cnphpwnd9999@aliyun573 -cnphpwnd9999@aliyun574 -cnphpwnd9999@aliyun575 -cnphpwnd9999@aliyun576 -cnphpwnd9999@aliyun577 -cnphpwnd9999@aliyun578 -cnphpwnd9999@aliyun579 -cnphpwnd9999@aliyun580 -cnphpwnd9999@aliyun581 -cnphpwnd9999@aliyun582 -cnphpwnd9999@aliyun583 -cnphpwnd9999@aliyun584 -cnphpwnd9999@aliyun585 -cnphpwnd9999@aliyun586 -cnphpwnd9999@aliyun587 -cnphpwnd9999@aliyun588 -cnphpwnd9999@aliyun589 -cnphpwnd9999@aliyun590 -cnphpwnd9999@aliyun591 -cnphpwnd9999@aliyun592 -cnphpwnd9999@aliyun593 -cnphpwnd9999@aliyun594 -cnphpwnd9999@aliyun595 -cnphpwnd9999@aliyun596 -cnphpwnd9999@aliyun597 -cnphpwnd9999@aliyun598 -cnphpwnd9999@aliyun599 -cnphpwnd9999@aliyun600 -cnphpwnd9999@aliyun601 -cnphpwnd9999@aliyun602 -cnphpwnd9999@aliyun603 -cnphpwnd9999@aliyun604 -cnphpwnd9999@aliyun605 -cnphpwnd9999@aliyun606 -cnphpwnd9999@aliyun607 -cnphpwnd9999@aliyun608 -cnphpwnd9999@aliyun609 -cnphpwnd9999@aliyun610 -cnphpwnd9999@aliyun611 -cnphpwnd9999@aliyun612 -cnphpwnd9999@aliyun613 -cnphpwnd9999@aliyun614 -cnphpwnd9999@aliyun615 -cnphpwnd9999@aliyun616 -cnphpwnd9999@aliyun617 -cnphpwnd9999@aliyun618 -cnphpwnd9999@aliyun619 -cnphpwnd9999@aliyun620 -cnphpwnd9999@aliyun621 -cnphpwnd9999@aliyun622 -cnphpwnd9999@aliyun623 -cnphpwnd9999@aliyun624 -cnphpwnd9999@aliyun625 -cnphpwnd9999@aliyun626 -cnphpwnd9999@aliyun627 -cnphpwnd9999@aliyun628 -cnphpwnd9999@aliyun629 -cnphpwnd9999@aliyun630 -cnphpwnd9999@aliyun631 -cnphpwnd9999@aliyun632 -cnphpwnd9999@aliyun633 -cnphpwnd9999@aliyun634 -cnphpwnd9999@aliyun635 -cnphpwnd9999@aliyun636 -cnphpwnd9999@aliyun637 -cnphpwnd9999@aliyun638 -cnphpwnd9999@aliyun639 -cnphpwnd9999@aliyun640 -cnphpwnd9999@aliyun641 -cnphpwnd9999@aliyun642 -cnphpwnd9999@aliyun643 -cnphpwnd9999@aliyun644 -cnphpwnd9999@aliyun645 -cnphpwnd9999@aliyun646 -cnphpwnd9999@aliyun647 -cnphpwnd9999@aliyun648 -cnphpwnd9999@aliyun649 -cnphpwnd9999@aliyun650 -cnphpwnd9999@aliyun651 -cnphpwnd9999@aliyun652 -cnphpwnd9999@aliyun653 -cnphpwnd9999@aliyun654 -cnphpwnd9999@aliyun655 -cnphpwnd9999@aliyun656 -cnphpwnd9999@aliyun657 -cnphpwnd9999@aliyun658 -cnphpwnd9999@aliyun659 -cnphpwnd9999@aliyun660 -cnphpwnd9999@aliyun661 -cnphpwnd9999@aliyun662 -cnphpwnd9999@aliyun663 -cnphpwnd9999@aliyun664 -cnphpwnd9999@aliyun665 -cnphpwnd9999@aliyun666 -cnphpwnd9999@aliyun667 -cnphpwnd9999@aliyun668 -cnphpwnd9999@aliyun669 -cnphpwnd9999@aliyun670 -cnphpwnd9999@aliyun671 -cnphpwnd9999@aliyun672 -cnphpwnd9999@aliyun673 -cnphpwnd9999@aliyun674 -cnphpwnd9999@aliyun675 -cnphpwnd9999@aliyun676 -cnphpwnd9999@aliyun677 -cnphpwnd9999@aliyun678 -cnphpwnd9999@aliyun679 -cnphpwnd9999@aliyun680 -cnphpwnd9999@aliyun681 -cnphpwnd9999@aliyun682 -cnphpwnd9999@aliyun683 -cnphpwnd9999@aliyun684 -cnphpwnd9999@aliyun685 -cnphpwnd9999@aliyun686 -cnphpwnd9999@aliyun687 -cnphpwnd9999@aliyun688 -cnphpwnd9999@aliyun689 -cnphpwnd9999@aliyun690 -cnphpwnd9999@aliyun691 -cnphpwnd9999@aliyun692 -cnphpwnd9999@aliyun693 -cnphpwnd9999@aliyun694 -cnphpwnd9999@aliyun695 -cnphpwnd9999@aliyun696 -cnphpwnd9999@aliyun697 -cnphpwnd9999@aliyun698 -cnphpwnd9999@aliyun699 -cnphpwnd9999@aliyun700 -cnphpwnd9999@aliyun701 -cnphpwnd9999@aliyun702 -cnphpwnd9999@aliyun703 -cnphpwnd9999@aliyun704 -cnphpwnd9999@aliyun705 -cnphpwnd9999@aliyun706 -cnphpwnd9999@aliyun707 -cnphpwnd9999@aliyun708 -cnphpwnd9999@aliyun709 -cnphpwnd9999@aliyun710 -cnphpwnd9999@aliyun711 -cnphpwnd9999@aliyun712 -cnphpwnd9999@aliyun713 -cnphpwnd9999@aliyun714 -cnphpwnd9999@aliyun715 -cnphpwnd9999@aliyun716 -cnphpwnd9999@aliyun717 -cnphpwnd9999@aliyun718 -cnphpwnd9999@aliyun719 -cnphpwnd9999@aliyun720 -cnphpwnd9999@aliyun721 -cnphpwnd9999@aliyun722 -cnphpwnd9999@aliyun723 -cnphpwnd9999@aliyun724 -cnphpwnd9999@aliyun725 -cnphpwnd9999@aliyun726 -cnphpwnd9999@aliyun727 -cnphpwnd9999@aliyun728 -cnphpwnd9999@aliyun729 -cnphpwnd9999@aliyun730 -cnphpwnd9999@aliyun731 -cnphpwnd9999@aliyun732 -cnphpwnd9999@aliyun733 -cnphpwnd9999@aliyun734 -cnphpwnd9999@aliyun735 -cnphpwnd9999@aliyun736 -cnphpwnd9999@aliyun737 -cnphpwnd9999@aliyun738 -cnphpwnd9999@aliyun739 -cnphpwnd9999@aliyun740 -cnphpwnd9999@aliyun741 -cnphpwnd9999@aliyun742 -cnphpwnd9999@aliyun743 -cnphpwnd9999@aliyun744 -cnphpwnd9999@aliyun745 -cnphpwnd9999@aliyun746 -cnphpwnd9999@aliyun747 -cnphpwnd9999@aliyun748 -cnphpwnd9999@aliyun749 -cnphpwnd9999@aliyun750 -cnphpwnd9999@aliyun751 -cnphpwnd9999@aliyun752 -cnphpwnd9999@aliyun753 -cnphpwnd9999@aliyun754 -cnphpwnd9999@aliyun755 -cnphpwnd9999@aliyun756 -cnphpwnd9999@aliyun757 -cnphpwnd9999@aliyun758 -cnphpwnd9999@aliyun759 -cnphpwnd9999@aliyun760 -cnphpwnd9999@aliyun761 -cnphpwnd9999@aliyun762 -cnphpwnd9999@aliyun763 -cnphpwnd9999@aliyun764 -cnphpwnd9999@aliyun765 -cnphpwnd9999@aliyun766 -cnphpwnd9999@aliyun767 -cnphpwnd9999@aliyun768 -cnphpwnd9999@aliyun769 -cnphpwnd9999@aliyun770 -cnphpwnd9999@aliyun771 -cnphpwnd9999@aliyun772 -cnphpwnd9999@aliyun773 -cnphpwnd9999@aliyun774 -cnphpwnd9999@aliyun775 -cnphpwnd9999@aliyun776 -cnphpwnd9999@aliyun777 -cnphpwnd9999@aliyun778 -cnphpwnd9999@aliyun779 -cnphpwnd9999@aliyun780 -cnphpwnd9999@aliyun781 -cnphpwnd9999@aliyun782 -cnphpwnd9999@aliyun783 -cnphpwnd9999@aliyun784 -cnphpwnd9999@aliyun785 -cnphpwnd9999@aliyun786 -cnphpwnd9999@aliyun787 -cnphpwnd9999@aliyun788 -cnphpwnd9999@aliyun789 -cnphpwnd9999@aliyun790 -cnphpwnd9999@aliyun791 -cnphpwnd9999@aliyun792 -cnphpwnd9999@aliyun793 -cnphpwnd9999@aliyun794 -cnphpwnd9999@aliyun795 -cnphpwnd9999@aliyun796 -cnphpwnd9999@aliyun797 -cnphpwnd9999@aliyun798 -cnphpwnd9999@aliyun799 -cnphpwnd9999@aliyun800 -cnphpwnd9999@aliyun801 -cnphpwnd9999@aliyun802 -cnphpwnd9999@aliyun803 -cnphpwnd9999@aliyun804 -cnphpwnd9999@aliyun805 -cnphpwnd9999@aliyun806 -cnphpwnd9999@aliyun807 -cnphpwnd9999@aliyun808 -cnphpwnd9999@aliyun809 -cnphpwnd9999@aliyun810 -cnphpwnd9999@aliyun811 -cnphpwnd9999@aliyun812 -cnphpwnd9999@aliyun813 -cnphpwnd9999@aliyun814 -cnphpwnd9999@aliyun815 -cnphpwnd9999@aliyun816 -cnphpwnd9999@aliyun817 -cnphpwnd9999@aliyun818 -cnphpwnd9999@aliyun819 -cnphpwnd9999@aliyun820 -cnphpwnd9999@aliyun821 -cnphpwnd9999@aliyun822 -cnphpwnd9999@aliyun823 -cnphpwnd9999@aliyun824 -cnphpwnd9999@aliyun825 -cnphpwnd9999@aliyun826 -cnphpwnd9999@aliyun827 -cnphpwnd9999@aliyun828 -cnphpwnd9999@aliyun829 -cnphpwnd9999@aliyun830 -cnphpwnd9999@aliyun831 -cnphpwnd9999@aliyun832 -cnphpwnd9999@aliyun833 -cnphpwnd9999@aliyun834 -cnphpwnd9999@aliyun835 -cnphpwnd9999@aliyun836 -cnphpwnd9999@aliyun837 -cnphpwnd9999@aliyun838 -cnphpwnd9999@aliyun839 -cnphpwnd9999@aliyun840 -cnphpwnd9999@aliyun841 -cnphpwnd9999@aliyun842 -cnphpwnd9999@aliyun843 -cnphpwnd9999@aliyun844 -cnphpwnd9999@aliyun845 -cnphpwnd9999@aliyun846 -cnphpwnd9999@aliyun847 -cnphpwnd9999@aliyun848 -cnphpwnd9999@aliyun849 -cnphpwnd9999@aliyun850 -cnphpwnd9999@aliyun851 -cnphpwnd9999@aliyun852 -cnphpwnd9999@aliyun853 -cnphpwnd9999@aliyun854 -cnphpwnd9999@aliyun855 -cnphpwnd9999@aliyun856 -cnphpwnd9999@aliyun857 -cnphpwnd9999@aliyun858 -cnphpwnd9999@aliyun859 -cnphpwnd9999@aliyun860 -cnphpwnd9999@aliyun861 -cnphpwnd9999@aliyun862 -cnphpwnd9999@aliyun863 -cnphpwnd9999@aliyun864 -cnphpwnd9999@aliyun865 -cnphpwnd9999@aliyun866 -cnphpwnd9999@aliyun867 -cnphpwnd9999@aliyun868 -cnphpwnd9999@aliyun869 -cnphpwnd9999@aliyun870 -cnphpwnd9999@aliyun871 -cnphpwnd9999@aliyun872 -cnphpwnd9999@aliyun873 -cnphpwnd9999@aliyun874 -cnphpwnd9999@aliyun875 -cnphpwnd9999@aliyun876 -cnphpwnd9999@aliyun877 -cnphpwnd9999@aliyun878 -cnphpwnd9999@aliyun879 -cnphpwnd9999@aliyun880 -cnphpwnd9999@aliyun881 -cnphpwnd9999@aliyun882 -cnphpwnd9999@aliyun883 -cnphpwnd9999@aliyun884 -cnphpwnd9999@aliyun885 -cnphpwnd9999@aliyun886 -cnphpwnd9999@aliyun887 -cnphpwnd9999@aliyun888 -cnphpwnd9999@aliyun889 -cnphpwnd9999@aliyun890 -cnphpwnd9999@aliyun891 -cnphpwnd9999@aliyun892 -cnphpwnd9999@aliyun893 -cnphpwnd9999@aliyun894 -cnphpwnd9999@aliyun895 -cnphpwnd9999@aliyun896 -cnphpwnd9999@aliyun897 -cnphpwnd9999@aliyun898 -cnphpwnd9999@aliyun899 -cnphpwnd9999@aliyun900 -cnphpwnd9999@aliyun901 -cnphpwnd9999@aliyun902 -cnphpwnd9999@aliyun903 -cnphpwnd9999@aliyun904 -cnphpwnd9999@aliyun905 -cnphpwnd9999@aliyun906 -cnphpwnd9999@aliyun907 -cnphpwnd9999@aliyun908 -cnphpwnd9999@aliyun909 -cnphpwnd9999@aliyun910 -cnphpwnd9999@aliyun911 -cnphpwnd9999@aliyun912 -cnphpwnd9999@aliyun913 -cnphpwnd9999@aliyun914 -cnphpwnd9999@aliyun915 -cnphpwnd9999@aliyun916 -cnphpwnd9999@aliyun917 -cnphpwnd9999@aliyun918 -cnphpwnd9999@aliyun919 -cnphpwnd9999@aliyun920 -cnphpwnd9999@aliyun921 -cnphpwnd9999@aliyun922 -cnphpwnd9999@aliyun923 -cnphpwnd9999@aliyun924 -cnphpwnd9999@aliyun925 -cnphpwnd9999@aliyun926 -cnphpwnd9999@aliyun927 -cnphpwnd9999@aliyun928 -cnphpwnd9999@aliyun929 -cnphpwnd9999@aliyun930 -cnphpwnd9999@aliyun931 -cnphpwnd9999@aliyun932 -cnphpwnd9999@aliyun933 -cnphpwnd9999@aliyun934 -cnphpwnd9999@aliyun935 -cnphpwnd9999@aliyun936 -cnphpwnd9999@aliyun937 -cnphpwnd9999@aliyun938 -cnphpwnd9999@aliyun939 -cnphpwnd9999@aliyun940 -cnphpwnd9999@aliyun941 -cnphpwnd9999@aliyun942 -cnphpwnd9999@aliyun943 -cnphpwnd9999@aliyun944 -cnphpwnd9999@aliyun945 -cnphpwnd9999@aliyun946 -cnphpwnd9999@aliyun947 -cnphpwnd9999@aliyun948 -cnphpwnd9999@aliyun949 -cnphpwnd9999@aliyun950 -cnphpwnd9999@aliyun951 -cnphpwnd9999@aliyun952 -cnphpwnd9999@aliyun953 -cnphpwnd9999@aliyun954 -cnphpwnd9999@aliyun955 -cnphpwnd9999@aliyun956 -cnphpwnd9999@aliyun957 -cnphpwnd9999@aliyun958 -cnphpwnd9999@aliyun959 -cnphpwnd9999@aliyun960 -cnphpwnd9999@aliyun961 -cnphpwnd9999@aliyun962 -cnphpwnd9999@aliyun963 -cnphpwnd9999@aliyun964 -cnphpwnd9999@aliyun965 -cnphpwnd9999@aliyun966 -cnphpwnd9999@aliyun967 -cnphpwnd9999@aliyun968 -cnphpwnd9999@aliyun969 -cnphpwnd9999@aliyun970 -cnphpwnd9999@aliyun971 -cnphpwnd9999@aliyun972 -cnphpwnd9999@aliyun973 -cnphpwnd9999@aliyun974 -cnphpwnd9999@aliyun975 -cnphpwnd9999@aliyun976 -cnphpwnd9999@aliyun977 -cnphpwnd9999@aliyun978 -cnphpwnd9999@aliyun979 -cnphpwnd9999@aliyun980 -cnphpwnd9999@aliyun981 -cnphpwnd9999@aliyun982 -cnphpwnd9999@aliyun983 -cnphpwnd9999@aliyun984 -cnphpwnd9999@aliyun985 -cnphpwnd9999@aliyun986 -cnphpwnd9999@aliyun987 -cnphpwnd9999@aliyun988 -cnphpwnd9999@aliyun989 -cnphpwnd9999@aliyun990 -cnphpwnd9999@aliyun991 -cnphpwnd9999@aliyun992 -cnphpwnd9999@aliyun993 -cnphpwnd9999@aliyun994 -cnphpwnd9999@aliyun995 -cnphpwnd9999@aliyun996 -cnphpwnd9999@aliyun997 -cnphpwnd9999@aliyun998 -cnphpwnd9999@aliyun999 diff --git a/features/aliww/data/.svn/text-base/user.svn-base b/features/aliww/data/.svn/text-base/user.svn-base deleted file mode 100644 index 7c488d9..0000000 --- a/features/aliww/data/.svn/text-base/user.svn-base +++ /dev/null @@ -1,1918 +0,0 @@ -cntaobao000000008c -cntaobao00000000hai -cntaobao00000abc -cntaobao00000yang -cntaobao00002009gxy -cntaobao000147land -cntaobao0001pan -cntaobao000700_cn1 -cntaobao000963as -cntaobao000js -cntaobao000liujun -cntaobao000lkx -cntaobao000maple -cntaobao000masca -cntaobao000milihua000 -cntaobao000miller -cntaobao000superman000 -cntaobao000woaini -cntaobao000ying -cntaobao000zero -cntaobao000zhaoxin -cntaobao000zhou000 -cntaobao001001001a -cntaobao00112233aabbccdd -cntaobao001127pan -cntaobao0015563qinyao -cntaobao00168zjp -cntaobao001afd -cntaobao001baby -cntaobao001dalong -cntaobao001happy -cntaobao001huangrong -cntaobao001nature -cntaobao001sina -cntaobao001wangjianqiang -cntaobao001zhangji -cntaobao0015Deva -cntaobao002angel -cntaobao003-sa -cntaobao0030013587152linjian -cntaobao003837xiang -cntaobao003jianglei -cntaobao003wang -cntaobao004-@O3f -cntaobao00544c -cntaobao00544wang -cntaobao0056yue -cntaobao00578_8_ -cntaobao005farmer005 -cntaobao007315ODQ) -cntaobao007321j38 -cntaobao00741840jj -cntaobao0075wenlin -cntaobao0079394y -cntaobao007_apple -cntaobao007_liujia -cntaobao007_terminator -cntaobao007_wangxu -cntaobao007ab -cntaobao007abc -cntaobao007angel -cntaobao007avril -cntaobao007bluesea -cntaobao007caih -cntaobao007chaochao -cntaobao007dragon -cntaobao007jamesjiang -cntaobao007love1&1& -cntaobao007playboy -cntaobao007shanghaichq -cntaobao007superman910 -cntaobao007w008 -cntaobao007xujiajun -cntaobao007P!@.0H -cntaobao008_angel -cntaobao008black -cntaobao008g -cntaobao008ganggang -cntaobao008shanhang -cntaobao008wangshuo -cntaobao008xiang -cntaobao0099aass -cntaobao009a1 -cntaobao009firedragon -cntaobao009hank -cntaobao009tang -cntaobao00a1a2a3a4 -cntaobao00a22 -cntaobao00atubo -cntaobao00baby -cntaobao00gaoxin00 -cntaobao00hai2004 -cntaobao00han1 -cntaobao00hanwei -cntaobao00i45hayj -cntaobao00jhyz -cntaobao00lalala00 -cntaobao00lang -cntaobao00love -cntaobao00mary -cntaobao00rainbow -cntaobao00range -cntaobao00susan -cntaobao00v00 -cntaobao00yan1982 -cntaobao00zhangrui00 -cntaobao00zhaoxin -cntaobao00zhaoyong -cntaobao0102jessica -cntaobao0109and1016 -cntaobao010zufang -cntaobao0111.wang -cntaobao0112244abe -cntaobao0122aa -cntaobao0123wangwentao -cntaobao0123zhanghaibin -cntaobao0123zhangzhi -cntaobao0124yuhoucaihong -cntaobao01311846abc -cntaobao0131aya -cntaobao016woaini -cntaobao0171206-a -cntaobao0175lan -cntaobao019cat -cntaobao01rainbowfox -cntaobao01sandy -cntaobao01tracy2005 -cntaobao01wangfeng -cntaobao01wanglin -cntaobao01TxR;Q8zyx -cntaobao02-yuan -cntaobao0201jian -cntaobao020lanlan -cntaobao02110huang -cntaobao0214jiajia -cntaobao021608huang -cntaobao0218tiandi -cntaobao021fang -cntaobao021tianzi -cntaobao021xianer -cntaobao022710naughtyqueen -cntaobao0229anddy -cntaobao022dandan -cntaobao022wanzhaoyi512 -cntaobao026china.com -cntaobao02dangzhibu -cntaobao02maggie -cntaobao02sea-c -cntaobao02xda -cntaobao03-abcpj -cntaobao0302vvc -cntaobao0317liuxiang -cntaobao0317liwang -cntaobao0323liangzi -cntaobao0327abc -cntaobao0351yangbin -cntaobao0357a -cntaobao0378abc -cntaobao0397886aa -cntaobao03_a -cntaobao03ad -cntaobao03auto-wx -cntaobao03ecyxxiao -cntaobao03Dj5DP!14 -cntaobao040221xiaoxiao -cntaobao0402abc -cntaobao0408231ace -cntaobao0412wangwei -cntaobao0417hailang -cntaobao041banji -cntaobao0433xiaoning -cntaobao0452shuaige -cntaobao0453020fay -cntaobao04807zswad -cntaobao04_victoria -cntaobao04piaoxue -cntaobao0506onsale -cntaobao0509gao -cntaobao05102118612asd -cntaobao0513yuanzhong -cntaobao0518all -cntaobao0518dabi -cntaobao052010a -cntaobao0535huaguan -cntaobao0554kuangli -cntaobao0571lancome -cntaobao0574abs -cntaobao0577air -cntaobao0595binghuan -cntaobao05971001a -cntaobao05chan -cntaobao05easter -cntaobao05edgar -cntaobao05zhanghanling -cntaobao0629zhangqi -cntaobao0630zhuai1 -cntaobao0630zhuai5 -cntaobao0632caobingde -cntaobao0632dongqiang -cntaobao06501zhang -cntaobao0661cailigui -cntaobao0663xiaozhu -cntaobao0708lc -cntaobao0708lc2 -cntaobao0716kay -cntaobao0754jack888 -cntaobao0772ayu -cntaobao07a1s4jk -cntaobao07hack -cntaobao07zhanglei -cntaobao0801xiaofan -cntaobao0812alvin -cntaobao084samzeng -cntaobao0864aa -cntaobao08alan -cntaobao08atyliou -cntaobao08linqiang -cntaobao08woshishuaige -cntaobao0929_v2 -cntaobao0932313woaini -cntaobao0937ctgafmyruq -cntaobao09876123a -cntaobao0987oiuam -cntaobao098aua8 -cntaobao098lkjhgfdsa -cntaobao0998nijat -cntaobao09tianbo -cntaobao0Ivank0 -cntaobao0_clamp_0 -cntaobao0a38317b -cntaobao0aa0 -cntaobao0aaaaa -cntaobao0aileen0 -cntaobao0aking -cntaobao0amtf -cntaobao0autumn0 -cntaobao0cat -cntaobao0ceanus -cntaobao0dongyuhua0 -cntaobao0enpast0 -cntaobao0euuyadfvqam4vbh7jz -cntaobao0fengtao0 -cntaobao0huan0 -cntaobao0huang520 -cntaobao0huaxiao0 -cntaobao0jayboy0 -cntaobao0lisa -cntaobao0livia -cntaobao0liwang0 -cntaobao0magician0 -cntaobao0mars -cntaobao0mianjiu0 -cntaobao0nancy111 -cntaobao0racky0 -cntaobao0rane -cntaobao0shannel0 -cntaobao0shark0 -cntaobao0small0 -cntaobao0start -cntaobao0t4dhlacz0 -cntaobao0tian0 -cntaobao0wangjian1 -cntaobao0wangyi0 -cntaobao0william01080553167 -cntaobao0yangzhao0 -cntaobao0zhan0 -cntaobao0zhangyan5 -cntaobao1 -cntaobao1-aaaa -cntaobao1-image -cntaobao1-one-man -cntaobao10 -cntaobao100 -cntaobao100000aaa -cntaobao1000abcd -cntaobao1000show -cntaobao1000wangtao -cntaobao1001han -cntaobao1001reason -cntaobao100432828a -cntaobao10063049abc -cntaobao1008_alon -cntaobao1008a1008b -cntaobao100aj200aj -cntaobao100asp -cntaobao100caoyang -cntaobao100cat -cntaobao100chao -cntaobao100fang -cntaobao100fun -cntaobao100idea -cntaobao100orange -cntaobao100roma -cntaobao100shuma -cntaobao100star -cntaobao10112355abc -cntaobao101209tian -cntaobao1013xiangkun -cntaobao1014huangyan -cntaobao1016angel -cntaobao1017hua -cntaobao1017pan -cntaobao1018_v2 -cntaobao1019yaner -cntaobao101amy -cntaobao101bandian -cntaobao101hao -cntaobao101oscarwang -cntaobao101yan -cntaobao1021a -cntaobao1021rain -cntaobao1026yan -cntaobao102788yangyang -cntaobao1027dasha -cntaobao1028baojihe -cntaobao1029vv -cntaobao102baby -cntaobao102lan -cntaobao1031195a -cntaobao1031xiaoyang -cntaobao103_jacob -cntaobao103ajie -cntaobao103cagen -cntaobao103snake -cntaobao106016521zhaohua -cntaobao109608337tian -cntaobao109rao -cntaobao10ac9 -cntaobao10bar -cntaobao10haha -cntaobao10haoallan -cntaobao10jqka -cntaobao10paopaotang -cntaobao10star -cntaobao10totta -cntaobao11 -cntaobao110112119a -cntaobao110119chao -cntaobao1101qaz -cntaobao1102vv -cntaobao1104wawa -cntaobao110844095a -cntaobao110abc -cntaobao110palpalpal -cntaobao110tangxiaoxiao -cntaobao1111 -cntaobao11111111aa -cntaobao111111aa1 -cntaobao111111aa67 -cntaobao111111as -cntaobao111112 -cntaobao11112 -cntaobao1111wayy -cntaobao1111zhaojian -cntaobao111222aaasss -cntaobao11123huanxiang -cntaobao1112ha -cntaobao1112yy -cntaobao11131312 -cntaobao11150angel -cntaobao1115amy -cntaobao111a051010 -cntaobao111aa222bb -cntaobao111aaabbbcccdddeeeff -cntaobao111bao -cntaobao111c -cntaobao111jia -cntaobao111playingcards -cntaobao111wangjie -cntaobao111yuasnu -cntaobao1121prettycat -cntaobao112233asd -cntaobao1122axfc -cntaobao1122qwertyuiop001 -cntaobao1122qwertyuiop002 -cntaobao1122qwertyuiop003 -cntaobao1122qwertyuiop004 -cntaobao1122qwertyuiop005 -cntaobao1122qwertyuiop006 -cntaobao1122qwertyuiop007 -cntaobao1122qwertyuiop007:1 -cntaobao1122qwertyuiop008 -cntaobao1123linda -cntaobao112488873zhao -cntaobao1126saw -cntaobao1128aniki -cntaobao1129qwertyuiop001 -cntaobao1129wukan -cntaobao112asda -cntaobao112huangcong -cntaobao112kang -cntaobao112vian -cntaobao1130sunday -cntaobao11323fan -cntaobao11334das -cntaobao113539127aa -cntaobao113542510a -cntaobao113711garfield -cntaobao114511201a -cntaobao114857484abc -cntaobao114ma -cntaobao114rachel -cntaobao11555yang -cntaobao1155saww -cntaobao115abc -cntaobao1168qianbin -cntaobao116heyao116 -cntaobao117520huangjuan -cntaobao117729177han -cntaobao117gaow -cntaobao117jack -cntaobao117sail -cntaobao117xiaodi -cntaobao1186899shanshan88 -cntaobao1188242a -cntaobao1188liufangzhou -cntaobao119-game -cntaobao1190803a -cntaobao1199368aw -cntaobao11999922qian -cntaobao119bearbear -cntaobao119swa -cntaobao11a22s -cntaobao11aabb -cntaobao11archer -cntaobao11ayz0000000002 -cntaobao11ayz0000000004 -cntaobao11ayz0000000006 -cntaobao11ayz0000000008 -cntaobao11ayz0000000010 -cntaobao11ayz0000000012 -cntaobao11ayz0000000014 -cntaobao11ayz0000000016 -cntaobao11ayz0000000018 -cntaobao11ayz0000000020 -cntaobao11ayz0000000022 -cntaobao11ayz0000000024 -cntaobao11ayz0000000026 -cntaobao11ayz0000000028 -cntaobao11ayz0000000030 -cntaobao11ayz0000000032 -cntaobao11ayz0000000034 -cntaobao11ayz0000000036 -cntaobao11ayz0000000038 -cntaobao11ayz0000000040 -cntaobao11ayz0000000042 -cntaobao11ayz0000000044 -cntaobao11ayz0000000046 -cntaobao11ayz0000000048 -cntaobao11ayz0000000050 -cntaobao11ayz0000000052 -cntaobao11ayz0000000054 -cntaobao11ayz0000000056 -cntaobao11ayz0000000058 -cntaobao11ayz0000000060 -cntaobao11ayz0000000062 -cntaobao11ayz0000000064 -cntaobao11ayz0000000066 -cntaobao11ayz0000000068 -cntaobao11ayz0000000070 -cntaobao11ayz0000000072 -cntaobao11ayz0000000074 -cntaobao11ayz0000000076 -cntaobao11ayz0000000078 -cntaobao11ayz0000000080 -cntaobao11ayz0000000082 -cntaobao11ayz0000000084 -cntaobao11ayz0000000086 -cntaobao11ayz0000000088 -cntaobao11ayz0000000090 -cntaobao11ayz0000000092 -cntaobao11ayz0000000094 -cntaobao11ayz0000000096 -cntaobao11ayz0000000098 -cntaobao11ayz0000000100 -cntaobao11ayz0000000102 -cntaobao11ayz0000000104 -cntaobao11ayz0000000106 -cntaobao11ayz0000000108 -cntaobao11ayz0000000110 -cntaobao11ayz0000000112 -cntaobao11ayz0000000114 -cntaobao11ayz0000000116 -cntaobao11ayz0000000118 -cntaobao11ayz0000000120 -cntaobao11ayz0000000122 -cntaobao11ayz0000000124 -cntaobao11ayz0000000126 -cntaobao11ayz0000000128 -cntaobao11ayz0000000130 -cntaobao11ayz0000000132 -cntaobao11ayz0000000134 -cntaobao11ayz0000000136 -cntaobao11ayz0000000138 -cntaobao11ayz0000000140 -cntaobao11ayz0000000142 -cntaobao11ayz0000000144 -cntaobao11ayz0000000146 -cntaobao11ayz0000000148 -cntaobao11ayz0000000150 -cntaobao11ayz0000000152 -cntaobao11ayz0000000154 -cntaobao11ayz0000000156 -cntaobao11ayz0000000158 -cntaobao11ayz0000000160 -cntaobao11ayz0000000162 -cntaobao11ayz0000000164 -cntaobao11ayz0000000166 -cntaobao11ayz0000000168 -cntaobao11ayz0000000170 -cntaobao11ayz0000000172 -cntaobao11ayz0000000174 -cntaobao11ayz0000000176 -cntaobao11ayz0000000178 -cntaobao11ayz0000000180 -cntaobao11ayz0000000182 -cntaobao11ayz0000000184 -cntaobao11ayz0000000186 -cntaobao11ayz0000000188 -cntaobao11ayz0000000190 -cntaobao11ayz0000000192 -cntaobao11ayz0000000194 -cntaobao11ayz0000000196 -cntaobao11ayz0000000198 -cntaobao11ayz0000000200 -cntaobao11ayz0000000202 -cntaobao11ayz0000000204 -cntaobao11ayz0000000206 -cntaobao11ayz0000000208 -cntaobao11ayz0000000210 -cntaobao11ayz0000000212 -cntaobao11ayz0000000214 -cntaobao11ayz0000000216 -cntaobao11ayz0000000218 -cntaobao11ayz0000000220 -cntaobao11ayz0000000222 -cntaobao11ayz0000000224 -cntaobao11ayz0000000226 -cntaobao11ayz0000000228 -cntaobao11ayz0000000230 -cntaobao11ayz0000000232 -cntaobao11ayz0000000234 -cntaobao11ayz0000000236 -cntaobao11ayz0000000238 -cntaobao11ayz0000000240 -cntaobao11ayz0000000242 -cntaobao11ayz0000000244 -cntaobao11ayz0000000246 -cntaobao11ayz0000000248 -cntaobao11ayz0000000250 -cntaobao11ayz0000000252 -cntaobao11ayz0000000254 -cntaobao11ayz0000000256 -cntaobao11ayz0000000258 -cntaobao11ayz0000000260 -cntaobao11ayz0000000262 -cntaobao11ayz0000000264 -cntaobao11ayz0000000266 -cntaobao11ayz0000000268 -cntaobao11ayz0000000270 -cntaobao11ayz0000000272 -cntaobao11ayz0000000274 -cntaobao11ayz0000000276 -cntaobao11ayz0000000278 -cntaobao11ayz0000000280 -cntaobao11ayz0000000282 -cntaobao11ayz0000000284 -cntaobao11ayz0000000286 -cntaobao11ayz0000000288 -cntaobao11ayz0000000290 -cntaobao11ayz0000000292 -cntaobao11ayz0000000294 -cntaobao11ayz0000000296 -cntaobao11ayz0000000298 -cntaobao11ayz0000000300 -cntaobao11ayz0000000302 -cntaobao11ayz0000000304 -cntaobao11ayz0000000306 -cntaobao11ayz0000000308 -cntaobao11ayz0000000310 -cntaobao11ayz0000000312 -cntaobao11ayz0000000314 -cntaobao11ayz0000000316 -cntaobao11ayz0000000318 -cntaobao11ayz0000000320 -cntaobao11ayz0000000322 -cntaobao11ayz0000000324 -cntaobao11ayz0000000326 -cntaobao11ayz0000000328 -cntaobao11ayz0000000330 -cntaobao11ayz0000000332 -cntaobao11ayz0000000334 -cntaobao11ayz0000000336 -cntaobao11ayz0000000338 -cntaobao11ayz0000000340 -cntaobao11ayz0000000342 -cntaobao11ayz0000000344 -cntaobao11ayz0000000346 -cntaobao11ayz0000000348 -cntaobao11ayz0000000350 -cntaobao11ayz0000000352 -cntaobao11ayz0000000354 -cntaobao11ayz0000000356 -cntaobao11ayz0000000358 -cntaobao11ayz0000000360 -cntaobao11ayz0000000362 -cntaobao11ayz0000000364 -cntaobao11ayz0000000366 -cntaobao11ayz0000000368 -cntaobao11ayz0000000370 -cntaobao11ayz0000000372 -cntaobao11ayz0000000374 -cntaobao11ayz0000000376 -cntaobao11ayz0000000378 -cntaobao11ayz0000000380 -cntaobao11ayz0000000382 -cntaobao11ayz0000000384 -cntaobao11ayz0000000386 -cntaobao11ayz0000000388 -cntaobao11ayz0000000390 -cntaobao11ayz0000000392 -cntaobao11ayz0000000394 -cntaobao11ayz0000000396 -cntaobao11ayz0000000398 -cntaobao11ayz0000000400 -cntaobao11ayz0000000402 -cntaobao11ayz0000000404 -cntaobao11ayz0000000406 -cntaobao11ayz0000000408 -cntaobao11ayz0000000410 -cntaobao11ayz0000000412 -cntaobao11ayz0000000414 -cntaobao11ayz0000000416 -cntaobao11ayz0000000418 -cntaobao11ayz0000000420 -cntaobao11ayz0000000424 -cntaobao11ayz0000000426 -cntaobao11ayz0000000428 -cntaobao11ayz0000000430 -cntaobao11ayz0000000432 -cntaobao11ayz0000000434 -cntaobao11ayz0000000438 -cntaobao11ayz0000000440 -cntaobao11ayz0000000442 -cntaobao11ayz0000000444 -cntaobao11ayz0000000446 -cntaobao11ayz0000000448 -cntaobao11ayz0000000450 -cntaobao11ayz0000000452 -cntaobao11ayz0000000454 -cntaobao11ayz0000000456 -cntaobao11ayz0000000458 -cntaobao11ayz0000000460 -cntaobao11ayz0000000462 -cntaobao11ayz0000000464 -cntaobao11ayz0000000466 -cntaobao11ayz0000000468 -cntaobao11ayz0000000470 -cntaobao11ayz0000000472 -cntaobao11ayz0000000474 -cntaobao11ayz0000000476 -cntaobao11ayz0000000478 -cntaobao11ayz0000000480 -cntaobao11ayz0000000482 -cntaobao11ayz0000000484 -cntaobao11ayz0000000486 -cntaobao11ayz0000000488 -cntaobao11ayz0000000490 -cntaobao11ayz0000000492 -cntaobao11ayz0000000494 -cntaobao11ayz0000000496 -cntaobao11ayz0000000498 -cntaobao11ayz0000000500 -cntaobao11ayz0000000502 -cntaobao11ayz0000000504 -cntaobao11ayz0000000506 -cntaobao11ayz0000000508 -cntaobao11ayz0000000510 -cntaobao11ayz0000000512 -cntaobao11ayz0000000514 -cntaobao11ayz0000000516 -cntaobao11ayz0000000518 -cntaobao11ayz0000000520 -cntaobao11ayz0000000522 -cntaobao11ayz0000000524 -cntaobao11ayz0000000526 -cntaobao11ayz0000000528 -cntaobao11ayz0000000532 -cntaobao11ayz0000000534 -cntaobao11ayz0000000536 -cntaobao11ayz0000000538 -cntaobao11ayz0000000540 -cntaobao11ayz0000000542 -cntaobao11ayz0000000544 -cntaobao11ayz0000000546 -cntaobao11ayz0000000550 -cntaobao11ayz0000000552 -cntaobao11ayz0000000554 -cntaobao11ayz0000000556 -cntaobao11ayz0000000558 -cntaobao11ayz0000000560 -cntaobao11ayz0000000562 -cntaobao11ayz0000000564 -cntaobao11ayz0000000566 -cntaobao11ayz0000000568 -cntaobao11ayz0000000570 -cntaobao11ayz0000000574 -cntaobao11ayz0000000576 -cntaobao11ayz0000000578 -cntaobao11ayz0000000580 -cntaobao11ayz0000000582 -cntaobao11ayz0000000584 -cntaobao11ayz0000000586 -cntaobao11ayz0000000588 -cntaobao11ayz0000000590 -cntaobao11ayz0000000592 -cntaobao11ayz0000000594 -cntaobao11ayz0000000596 -cntaobao11ayz0000000598 -cntaobao11ayz0000000600 -cntaobao11ayz0000000608 -cntaobao11ayz0000000610 -cntaobao11ayz0000000612 -cntaobao11ayz0000000616 -cntaobao11ayz0000000618 -cntaobao11ayz0000000620 -cntaobao11ayz0000000622 -cntaobao11ayz0000000624 -cntaobao11ayz0000000628 -cntaobao11ayz0000000630 -cntaobao11ayz0000000632 -cntaobao11ayz0000000634 -cntaobao11ayz0000000636 -cntaobao11ayz0000000646 -cntaobao11ayz0000000648 -cntaobao11ayz0000000652 -cntaobao11ayz0000000654 -cntaobao11ayz0000000658 -cntaobao11ayz0000000660 -cntaobao11ayz0000000662 -cntaobao11ayz0000000666 -cntaobao11ayz0000000668 -cntaobao11ayz0000000670 -cntaobao11ayz0000000672 -cntaobao11ayz0000000676 -cntaobao11ayz0000000678 -cntaobao11ayz0000000684 -cntaobao11ayz0000000690 -cntaobao11ayz0000000692 -cntaobao11ayz0000000698 -cntaobao11ayz0000000700 -cntaobao11ayz0000000702 -cntaobao11ayz0000000704 -cntaobao11ayz0000000706 -cntaobao11ayz0000000708 -cntaobao11ayz0000000710 -cntaobao11ayz0000000712 -cntaobao11ayz0000000716 -cntaobao11ayz0000000726 -cntaobao11ayz0000000730 -cntaobao11ayz0000000734 -cntaobao11ayz0000000736 -cntaobao11ayz0000000740 -cntaobao11ayz0000000746 -cntaobao11ayz0000000754 -cntaobao11ayz0000000760 -cntaobao11ayz0000000762 -cntaobao11ayz0000000766 -cntaobao11ayz0000000770 -cntaobao11ayz0000000772 -cntaobao11ayz0000000776 -cntaobao11ayz0000000786 -cntaobao11ayz0000000790 -cntaobao11ayz0000000792 -cntaobao11ayz0000000794 -cntaobao11ayz0000000796 -cntaobao11ayz0000000798 -cntaobao11ayz0000000802 -cntaobao11ayz0000000804 -cntaobao11ayz0000000806 -cntaobao11ayz0000000808 -cntaobao11ayz0000000810 -cntaobao11ayz0000000812 -cntaobao11ayz0000000816 -cntaobao11ayz0000000820 -cntaobao11ayz0000000822 -cntaobao11ayz0000000824 -cntaobao11ayz0000000826 -cntaobao11ayz0000000830 -cntaobao11ayz0000000832 -cntaobao11ayz0000000834 -cntaobao11ayz0000000836 -cntaobao11ayz0000000844 -cntaobao11ayz0000000846 -cntaobao11ayz0000000848 -cntaobao11ayz0000000850 -cntaobao11ayz0000000852 -cntaobao11ayz0000000858 -cntaobao11ayz0000000860 -cntaobao11ayz0000000862 -cntaobao11ayz0000000864 -cntaobao11ayz0000000872 -cntaobao11ayz0000000876 -cntaobao11ayz0000000878 -cntaobao11ayz0000000880 -cntaobao11ayz0000000884 -cntaobao11ayz0000000886 -cntaobao11ayz0000000888 -cntaobao11ayz0000000890 -cntaobao11ayz0000000892 -cntaobao11ayz0000000894 -cntaobao11ayz0000000904 -cntaobao11ayz0000000916 -cntaobao11ayz0000000922 -cntaobao11ayz0000000926 -cntaobao11ayz0000000928 -cntaobao11ayz0000000930 -cntaobao11ayz0000000932 -cntaobao11ayz0000000940 -cntaobao11ayz0000000946 -cntaobao11ayz0000000952 -cntaobao11ayz0000000958 -cntaobao11ayz0000000960 -cntaobao11ayz0000000970 -cntaobao11ayz0000000974 -cntaobao11ayz0000000976 -cntaobao11ayz0000000980 -cntaobao11ayz0000000982 -cntaobao11ayz0000000988 -cntaobao11ayz0000000998 -cntaobao11ayz0100000002 -cntaobao11ayz0100000004 -cntaobao11ayz0100000006 -cntaobao11ayz0100000008 -cntaobao11ayz0100000010 -cntaobao11ayz0100000012 -cntaobao11ayz0100000014 -cntaobao11ayz0100000016 -cntaobao11ayz0100000018 -cntaobao11ayz0100000020 -cntaobao11ayz0100000022 -cntaobao11ayz0100000024 -cntaobao11ayz0100000026 -cntaobao11ayz0100000028 -cntaobao11ayz0100000030 -cntaobao11ayz0100000032 -cntaobao11ayz0100000034 -cntaobao11ayz0100000036 -cntaobao11ayz0100000038 -cntaobao11ayz0100000040 -cntaobao11ayz0100000042 -cntaobao11ayz0100000044 -cntaobao11ayz0100000046 -cntaobao11ayz0100000048 -cntaobao11ayz0100000050 -cntaobao11ayz0100000052 -cntaobao11ayz0100000054 -cntaobao11ayz0100000056 -cntaobao11ayz0100000058 -cntaobao11ayz0100000060 -cntaobao11ayz0100000062 -cntaobao11ayz0100000064 -cntaobao11ayz0100000066 -cntaobao11ayz0100000068 -cntaobao11ayz0100000070 -cntaobao11ayz0100000072 -cntaobao11ayz0100000074 -cntaobao11ayz0100000076 -cntaobao11ayz0100000078 -cntaobao11ayz0100000080 -cntaobao11ayz0100000082 -cntaobao11ayz0100000084 -cntaobao11ayz0100000086 -cntaobao11ayz0100000088 -cntaobao11ayz0100000090 -cntaobao11ayz0100000092 -cntaobao11ayz0100000094 -cntaobao11ayz0100000096 -cntaobao11ayz0100000098 -cntaobao11ayz0100000100 -cntaobao11ayz0100000102 -cntaobao11ayz0100000104 -cntaobao11ayz0100000106 -cntaobao11ayz0100000108 -cntaobao11ayz0100000110 -cntaobao11ayz0100000112 -cntaobao11ayz0100000114 -cntaobao11ayz0100000116 -cntaobao11ayz0100000118 -cntaobao11ayz0100000120 -cntaobao11ayz0100000122 -cntaobao11ayz0100000124 -cntaobao11ayz0100000126 -cntaobao11ayz0100000128 -cntaobao11ayz0100000130 -cntaobao11ayz0100000132 -cntaobao11ayz0100000134 -cntaobao11ayz0100000136 -cntaobao11ayz0100000138 -cntaobao11ayz0100000140 -cntaobao11ayz0100000142 -cntaobao11ayz0100000144 -cntaobao11ayz0100000146 -cntaobao11ayz0100000148 -cntaobao11ayz0100000150 -cntaobao11ayz0100000152 -cntaobao11ayz0100000154 -cntaobao11ayz0100000156 -cntaobao11ayz0100000158 -cntaobao11ayz0100000160 -cntaobao11ayz0100000162 -cntaobao11ayz0100000164 -cntaobao11ayz0100000166 -cntaobao11ayz0100000168 -cntaobao11ayz0100000170 -cntaobao11ayz0100000172 -cntaobao11ayz0100000174 -cntaobao11ayz0100000176 -cntaobao11ayz0100000178 -cntaobao11ayz0100000180 -cntaobao11ayz0100000182 -cntaobao11ayz0100000184 -cntaobao11ayz0100000186 -cntaobao11ayz0100000188 -cntaobao11ayz0100000190 -cntaobao11ayz0100000192 -cntaobao11ayz0100000194 -cntaobao11ayz0100000196 -cntaobao11ayz0100000198 -cntaobao11ayz0100000200 -cntaobao11ayz0100000202 -cntaobao11ayz0100000204 -cntaobao11ayz0100000206 -cntaobao11ayz0100000208 -cntaobao11ayz0100000210 -cntaobao11ayz0100000212 -cntaobao11ayz0100000214 -cntaobao11ayz0100000216 -cntaobao11ayz0100000218 -cntaobao11ayz0100000220 -cntaobao11ayz0100000222 -cntaobao11ayz0100000224 -cntaobao11ayz0100000226 -cntaobao11ayz0100000228 -cntaobao11ayz0100000230 -cntaobao11ayz0100000232 -cntaobao11ayz0100000234 -cntaobao11ayz0100000236 -cntaobao11ayz0100000238 -cntaobao11ayz0100000240 -cntaobao11ayz0100000242 -cntaobao11ayz0100000244 -cntaobao11ayz0100000246 -cntaobao11ayz0100000248 -cntaobao11ayz0100000250 -cntaobao11ayz0100000252 -cntaobao11ayz0100000254 -cntaobao11ayz0100000256 -cntaobao11ayz0100000258 -cntaobao11ayz0100000260 -cntaobao11ayz0100000262 -cntaobao11ayz0100000264 -cntaobao11ayz0100000266 -cntaobao11ayz0100000268 -cntaobao11ayz0100000270 -cntaobao11ayz0100000272 -cntaobao11ayz0100000274 -cntaobao11ayz0100000276 -cntaobao11ayz0100000278 -cntaobao11ayz0100000280 -cntaobao11ayz0100000282 -cntaobao11ayz0100000284 -cntaobao11ayz0100000286 -cntaobao11ayz0100000288 -cntaobao11ayz0100000290 -cntaobao11ayz0100000292 -cntaobao11ayz0100000294 -cntaobao11ayz0100000296 -cntaobao11ayz0100000298 -cntaobao11ayz0100000300 -cntaobao11ayz0100000302 -cntaobao11ayz0100000304 -cntaobao11ayz0100000306 -cntaobao11ayz0100000308 -cntaobao11ayz0100000310 -cntaobao11ayz0100000312 -cntaobao11ayz0100000314 -cntaobao11ayz0100000316 -cntaobao11ayz0100000318 -cntaobao11ayz0100000320 -cntaobao11ayz0100000322 -cntaobao11ayz0100000324 -cntaobao11ayz0100000326 -cntaobao11ayz0100000328 -cntaobao11ayz0100000330 -cntaobao11ayz0100000332 -cntaobao11ayz0100000334 -cntaobao11ayz0100000336 -cntaobao11ayz0100000338 -cntaobao11ayz0100000340 -cntaobao11ayz0100000342 -cntaobao11ayz0100000344 -cntaobao11ayz0100000346 -cntaobao11ayz0100000348 -cntaobao11ayz0100000350 -cntaobao11ayz0100000352 -cntaobao11ayz0100000354 -cntaobao11ayz0100000356 -cntaobao11ayz0100000358 -cntaobao11ayz0100000360 -cntaobao11ayz0100000362 -cntaobao11ayz0100000364 -cntaobao11ayz0100000366 -cntaobao11ayz0100000368 -cntaobao11ayz0100000370 -cntaobao11ayz0100000372 -cntaobao11ayz0100000374 -cntaobao11ayz0100000376 -cntaobao11ayz0100000378 -cntaobao11ayz0100000380 -cntaobao11ayz0100000382 -cntaobao11ayz0100000384 -cntaobao11ayz0100000386 -cntaobao11ayz0100000388 -cntaobao11ayz0100000390 -cntaobao11ayz0100000392 -cntaobao11ayz0100000394 -cntaobao11ayz0100000396 -cntaobao11ayz0100000398 -cntaobao11ayz0100000400 -cntaobao11ayz0100000402 -cntaobao11ayz0100000404 -cntaobao11ayz0100000406 -cntaobao11ayz0100000408 -cntaobao11ayz0100000410 -cntaobao11ayz0100000412 -cntaobao11ayz0100000414 -cntaobao11ayz0100000416 -cntaobao11ayz0100000418 -cntaobao11ayz0100000420 -cntaobao11ayz0100000422 -cntaobao11ayz0100000424 -cntaobao11ayz0100000426 -cntaobao11ayz0100000428 -cntaobao11ayz0100000430 -cntaobao11ayz0100000432 -cntaobao11ayz0100000434 -cntaobao11ayz0100000436 -cntaobao11ayz0100000438 -cntaobao11ayz0100000440 -cntaobao11ayz0100000442 -cntaobao11ayz0100000444 -cntaobao11ayz0100000446 -cntaobao11ayz0100000448 -cntaobao11ayz0100000450 -cntaobao11ayz0100000452 -cntaobao11ayz0100000454 -cntaobao11ayz0100000456 -cntaobao11ayz0100000458 -cntaobao11ayz0100000460 -cntaobao11ayz0100000462 -cntaobao11ayz0100000464 -cntaobao11ayz0100000466 -cntaobao11ayz0100000468 -cntaobao11ayz0100000470 -cntaobao11ayz0100000472 -cntaobao11ayz0100000474 -cntaobao11ayz0100000476 -cntaobao11ayz0100000478 -cntaobao11ayz0100000480 -cntaobao11ayz0100000482 -cntaobao11ayz0100000484 -cntaobao11ayz0100000486 -cntaobao11ayz0100000488 -cntaobao11ayz0100000490 -cntaobao11ayz0100000492 -cntaobao11ayz0100000494 -cntaobao11ayz0100000496 -cntaobao11ayz0100000498 -cntaobao11ayz0100000500 -cntaobao11ayz0100000502 -cntaobao11ayz0100000504 -cntaobao11ayz0100000506 -cntaobao11ayz0100000508 -cntaobao11ayz0100000512 -cntaobao11ayz0100000514 -cntaobao11ayz0100000516 -cntaobao11ayz0100000518 -cntaobao11ayz0100000520 -cntaobao11ayz0100000522 -cntaobao11ayz0100000524 -cntaobao11ayz0100000526 -cntaobao11ayz0100000528 -cntaobao11ayz0100000530 -cntaobao11ayz0100000532 -cntaobao11ayz0100000534 -cntaobao11ayz0100000536 -cntaobao11ayz0100000538 -cntaobao11ayz0100000540 -cntaobao11ayz0100000542 -cntaobao11ayz0100000544 -cntaobao11ayz0100000546 -cntaobao11ayz0100000548 -cntaobao11ayz0100000550 -cntaobao11ayz0100000552 -cntaobao11ayz0100000554 -cntaobao11ayz0100000556 -cntaobao11ayz0100000558 -cntaobao11ayz0100000560 -cntaobao11ayz0100000562 -cntaobao11ayz0100000564 -cntaobao11ayz0100000566 -cntaobao11ayz0100000568 -cntaobao11ayz0100000570 -cntaobao11ayz0100000574 -cntaobao11ayz0100000576 -cntaobao11ayz0100000578 -cntaobao11ayz0100000580 -cntaobao11ayz0100000584 -cntaobao11ayz0100000588 -cntaobao11ayz0100000594 -cntaobao11ayz0100000596 -cntaobao11ayz0100000598 -cntaobao11ayz0100000600 -cntaobao11ayz0100000602 -cntaobao11ayz0100000604 -cntaobao11ayz0100000606 -cntaobao11ayz0100000610 -cntaobao11ayz0100000614 -cntaobao11ayz0100000616 -cntaobao11ayz0100000618 -cntaobao11ayz0100000620 -cntaobao11ayz0100000622 -cntaobao11ayz0100000624 -cntaobao11ayz0100000626 -cntaobao11ayz0100000628 -cntaobao11ayz0100000630 -cntaobao11ayz0100000632 -cntaobao11ayz0100000634 -cntaobao11ayz0100000638 -cntaobao11ayz0100000644 -cntaobao11ayz0100000648 -cntaobao11ayz0100000652 -cntaobao11ayz0100000656 -cntaobao11ayz0100000660 -cntaobao11ayz0100000662 -cntaobao11ayz0100000664 -cntaobao11ayz0100000672 -cntaobao11ayz0100000674 -cntaobao11ayz0100000676 -cntaobao11ayz0100000678 -cntaobao11ayz0100000686 -cntaobao11ayz0100000688 -cntaobao11ayz0100000694 -cntaobao11ayz0100000696 -cntaobao11ayz0100000698 -cntaobao11ayz0100000702 -cntaobao11ayz0100000706 -cntaobao11ayz0100000710 -cntaobao11ayz0100000712 -cntaobao11ayz0100000714 -cntaobao11ayz0100000716 -cntaobao11ayz0100000720 -cntaobao11ayz0100000724 -cntaobao11ayz0100000730 -cntaobao11ayz0100000732 -cntaobao11ayz0100000736 -cntaobao11ayz0100000738 -cntaobao11ayz0100000740 -cntaobao11ayz0100000742 -cntaobao11ayz0100000744 -cntaobao11ayz0100000746 -cntaobao11ayz0100000748 -cntaobao11ayz0100000750 -cntaobao11ayz0100000754 -cntaobao11ayz0100000758 -cntaobao11ayz0100000762 -cntaobao11ayz0100000764 -cntaobao11ayz0100000770 -cntaobao11ayz0100000780 -cntaobao11ayz0100000782 -cntaobao11ayz0100000784 -cntaobao11ayz0100000786 -cntaobao11ayz0100000788 -cntaobao11ayz0100000792 -cntaobao11ayz0100000794 -cntaobao11ayz0100000796 -cntaobao11ayz0100000798 -cntaobao11ayz0100000800 -cntaobao11ayz0100000802 -cntaobao11ayz0100000804 -cntaobao11ayz0100000812 -cntaobao11ayz0100000814 -cntaobao11ayz0100000816 -cntaobao11ayz0100000818 -cntaobao11ayz0100000822 -cntaobao11ayz0100000824 -cntaobao11ayz0100000826 -cntaobao11ayz0100000828 -cntaobao11ayz0100000834 -cntaobao11ayz0100000836 -cntaobao11ayz0100000838 -cntaobao11ayz0100000840 -cntaobao11ayz0100000842 -cntaobao11ayz0100000844 -cntaobao11ayz0100000846 -cntaobao11ayz0100000848 -cntaobao11ayz0100000850 -cntaobao11ayz0100000852 -cntaobao11ayz0100000854 -cntaobao11ayz0100000858 -cntaobao11ayz0100000860 -cntaobao11ayz0100000862 -cntaobao11ayz0100000864 -cntaobao11ayz0100000866 -cntaobao11ayz0100000868 -cntaobao11ayz0100000870 -cntaobao11ayz0100000872 -cntaobao11ayz0100000874 -cntaobao11ayz0100000876 -cntaobao11ayz0100000878 -cntaobao11ayz0100000880 -cntaobao11ayz0100000882 -cntaobao11ayz0100000884 -cntaobao11ayz0100000892 -cntaobao11ayz0100000898 -cntaobao11ayz0100000900 -cntaobao11ayz0100000902 -cntaobao11ayz0100000908 -cntaobao11ayz0100000916 -cntaobao11ayz0100000936 -cntaobao11ayz0100000938 -cntaobao11ayz0100000954 -cntaobao11ayz0100000960 -cntaobao11ayz0100000962 -cntaobao11ayz0100000988 -cntaobao11ayz0200000002 -cntaobao11ayz0200000004 -cntaobao11ayz0200000006 -cntaobao11ayz0200000008 -cntaobao11ayz0200000010 -cntaobao11ayz0200000012 -cntaobao11ayz0200000014 -cntaobao11ayz0200000016 -cntaobao11ayz0200000018 -cntaobao11ayz0200000020 -cntaobao11ayz0200000022 -cntaobao11ayz0200000024 -cntaobao11ayz0200000026 -cntaobao11ayz0200000028 -cntaobao11ayz0200000030 -cntaobao11ayz0200000032 -cntaobao11ayz0200000034 -cntaobao11ayz0200000036 -cntaobao11ayz0200000038 -cntaobao11ayz0200000040 -cntaobao11ayz0200000042 -cntaobao11ayz0200000044 -cntaobao11ayz0200000046 -cntaobao11ayz0200000048 -cntaobao11ayz0200000050 -cntaobao11ayz0200000052 -cntaobao11ayz0200000054 -cntaobao11ayz0200000056 -cntaobao11ayz0200000058 -cntaobao11ayz0200000060 -cntaobao11ayz0200000062 -cntaobao11ayz0200000064 -cntaobao11ayz0200000066 -cntaobao11ayz0200000068 -cntaobao11ayz0200000070 -cntaobao11ayz0200000072 -cntaobao11ayz0200000074 -cntaobao11ayz0200000076 -cntaobao11ayz0200000078 -cntaobao11ayz0200000080 -cntaobao11ayz0200000082 -cntaobao11ayz0200000084 -cntaobao11ayz0200000086 -cntaobao11ayz0200000088 -cntaobao11ayz0200000090 -cntaobao11ayz0200000092 -cntaobao11ayz0200000094 -cntaobao11ayz0200000096 -cntaobao11ayz0200000098 -cntaobao11ayz0200000100 -cntaobao11ayz0200000102 -cntaobao11ayz0200000104 -cntaobao11ayz0200000106 -cntaobao11ayz0200000108 -cntaobao11ayz0200000110 -cntaobao11ayz0200000112 -cntaobao11ayz0200000114 -cntaobao11ayz0200000116 -cntaobao11ayz0200000118 -cntaobao11ayz0200000120 -cntaobao11ayz0200000122 -cntaobao11ayz0200000124 -cntaobao11ayz0200000126 -cntaobao11ayz0200000128 -cntaobao11ayz0200000130 -cntaobao11ayz0200000132 -cntaobao11ayz0200000134 -cntaobao11ayz0200000136 -cntaobao11ayz0200000138 -cntaobao11ayz0200000140 -cntaobao11ayz0200000142 -cntaobao11ayz0200000144 -cntaobao11ayz0200000146 -cntaobao11ayz0200000148 -cntaobao11ayz0200000150 -cntaobao11ayz0200000152 -cntaobao11ayz0200000154 -cntaobao11ayz0200000156 -cntaobao11ayz0200000158 -cntaobao11ayz0200000160 -cntaobao11ayz0200000162 -cntaobao11ayz0200000164 -cntaobao11ayz0200000166 -cntaobao11ayz0200000168 -cntaobao11ayz0200000170 -cntaobao11ayz0200000172 -cntaobao11ayz0200000174 -cntaobao11ayz0200000176 -cntaobao11ayz0200000178 -cntaobao11ayz0200000180 -cntaobao11ayz0200000182 -cntaobao11ayz0200000184 -cntaobao11ayz0200000186 -cntaobao11ayz0200000188 -cntaobao11ayz0200000190 -cntaobao11ayz0200000192 -cntaobao11ayz0200000194 -cntaobao11ayz0200000196 -cntaobao11ayz0200000198 -cntaobao11ayz0200000200 -cntaobao11ayz0200000202 -cntaobao11ayz0200000204 -cntaobao11ayz0200000206 -cntaobao11ayz0200000208 -cntaobao11ayz0200000210 -cntaobao11ayz0200000212 -cntaobao11ayz0200000214 -cntaobao11ayz0200000216 -cntaobao11ayz0200000218 -cntaobao11ayz0200000220 -cntaobao11ayz0200000222 -cntaobao11ayz0200000224 -cntaobao11ayz0200000226 -cntaobao11ayz0200000228 -cntaobao11ayz0200000230 -cntaobao11ayz0200000232 -cntaobao11ayz0200000234 -cntaobao11ayz0200000236 -cntaobao11ayz0200000238 -cntaobao11ayz0200000240 -cntaobao11ayz0200000242 -cntaobao11ayz0200000244 -cntaobao11ayz0200000246 -cntaobao11ayz0200000248 -cntaobao11ayz0200000250 -cntaobao11ayz0200000252 -cntaobao11ayz0200000254 -cntaobao11ayz0200000256 -cntaobao11ayz0200000258 -cntaobao11ayz0200000260 -cntaobao11ayz0200000262 -cntaobao11ayz0200000264 -cntaobao11ayz0200000266 -cntaobao11ayz0200000268 -cntaobao11ayz0200000270 -cntaobao11ayz0200000272 -cntaobao11ayz0200000274 -cntaobao11ayz0200000276 -cntaobao11ayz0200000278 -cntaobao11ayz0200000280 -cntaobao11ayz0200000282 -cntaobao11ayz0200000284 -cntaobao11ayz0200000286 -cntaobao11ayz0200000288 -cntaobao11ayz0200000290 -cntaobao11ayz0200000292 -cntaobao11ayz0200000294 -cntaobao11ayz0200000296 -cntaobao11ayz0200000298 -cntaobao11ayz0200000300 -cntaobao11ayz0200000302 -cntaobao11ayz0200000304 -cntaobao11ayz0200000306 -cntaobao11ayz0200000308 -cntaobao11ayz0200000310 -cntaobao11ayz0200000312 -cntaobao11ayz0200000314 -cntaobao11ayz0200000316 -cntaobao11ayz0200000318 -cntaobao11ayz0200000320 -cntaobao11ayz0200000322 -cntaobao11ayz0200000324 -cntaobao11ayz0200000326 -cntaobao11ayz0200000328 -cntaobao11ayz0200000330 -cntaobao11ayz0200000332 -cntaobao11ayz0200000334 -cntaobao11ayz0200000336 -cntaobao11ayz0200000338 -cntaobao11ayz0200000340 -cntaobao11ayz0200000342 -cntaobao11ayz0200000344 -cntaobao11ayz0200000346 -cntaobao11ayz0200000348 -cntaobao11ayz0200000350 -cntaobao11ayz0200000352 -cntaobao11ayz0200000354 -cntaobao11ayz0200000356 -cntaobao11ayz0200000358 -cntaobao11ayz0200000360 -cntaobao11ayz0200000362 -cntaobao11ayz0200000364 -cntaobao11ayz0200000366 -cntaobao11ayz0200000368 -cntaobao11ayz0200000370 -cntaobao11ayz0200000372 -cntaobao11ayz0200000374 -cntaobao11ayz0200000376 -cntaobao11ayz0200000378 -cntaobao11ayz0200000380 -cntaobao11ayz0200000382 -cntaobao11ayz0200000384 -cntaobao11ayz0200000386 -cntaobao11ayz0200000388 -cntaobao11ayz0200000390 -cntaobao11ayz0200000392 -cntaobao11ayz0200000394 -cntaobao11ayz0200000396 -cntaobao11ayz0200000398 -cntaobao11ayz0200000400 -cntaobao11ayz0200000402 -cntaobao11ayz0200000404 -cntaobao11ayz0200000406 -cntaobao11ayz0200000408 -cntaobao11ayz0200000410 -cntaobao11ayz0200000412 -cntaobao11ayz0200000414 -cntaobao11ayz0200000416 -cntaobao11ayz0200000418 -cntaobao11ayz0200000420 -cntaobao11ayz0200000422 -cntaobao11ayz0200000424 -cntaobao11ayz0200000426 -cntaobao11ayz0200000428 -cntaobao11ayz0200000430 -cntaobao11ayz0200000432 -cntaobao11ayz0200000434 -cntaobao11ayz0200000436 -cntaobao11ayz0200000438 -cntaobao11ayz0200000440 -cntaobao11ayz0200000442 -cntaobao11ayz0200000444 -cntaobao11ayz0200000446 -cntaobao11ayz0200000448 -cntaobao11ayz0200000450 -cntaobao11ayz0200000452 -cntaobao11ayz0200000454 -cntaobao11ayz0200000456 -cntaobao11ayz0200000458 -cntaobao11ayz0200000460 -cntaobao11ayz0200000462 -cntaobao11ayz0200000464 -cntaobao11ayz0200000466 -cntaobao11ayz0200000468 -cntaobao11ayz0200000470 -cntaobao11ayz0200000472 -cntaobao11ayz0200000474 -cntaobao11ayz0200000476 -cntaobao11ayz0200000478 -cntaobao11ayz0200000480 -cntaobao11ayz0200000482 -cntaobao11ayz0200000484 -cntaobao11ayz0200000486 -cntaobao11ayz0200000488 -cntaobao11ayz0200000490 -cntaobao11ayz0200000492 -cntaobao11ayz0200000494 -cntaobao11ayz0200000496 -cntaobao11ayz0200000498 -cntaobao11ayz0200000500 -cntaobao11ayz0200000502 -cntaobao11ayz0200000504 -cntaobao11ayz0200000506 -cntaobao11ayz0200000508 -cntaobao11ayz0200000510 -cntaobao11ayz0200000512 -cntaobao11ayz0200000514 -cntaobao11ayz0200000516 -cntaobao11ayz0200000518 -cntaobao11ayz0200000520 -cntaobao11ayz0200000522 -cntaobao11ayz0200000524 -cntaobao11ayz0200000526 -cntaobao11ayz0200000528 -cntaobao11ayz0200000530 -cntaobao11ayz0200000532 -cntaobao11ayz0200000534 -cntaobao11ayz0200000536 -cntaobao11ayz0200000538 -cntaobao11ayz0200000540 -cntaobao11ayz0200000542 -cntaobao11ayz0200000544 -cntaobao11ayz0200000546 -cntaobao11ayz0200000548 -cntaobao11ayz0200000550 -cntaobao11ayz0200000552 -cntaobao11ayz0200000554 -cntaobao11ayz0200000556 -cntaobao11ayz0200000558 -cntaobao11ayz0200000560 -cntaobao11ayz0200000562 -cntaobao11ayz0200000564 -cntaobao11ayz0200000566 -cntaobao11ayz0200000570 -cntaobao11ayz0200000572 -cntaobao11ayz0200000574 -cntaobao11ayz0200000578 -cntaobao11ayz0200000580 -cntaobao11ayz0200000582 -cntaobao11ayz0200000584 -cntaobao11ayz0200000586 -cntaobao11ayz0200000588 -cntaobao11ayz0200000592 -cntaobao11ayz0200000596 -cntaobao11ayz0200000598 -cntaobao11ayz0200000608 -cntaobao11ayz0200000612 -cntaobao11ayz0200000614 -cntaobao11ayz0200000618 -cntaobao11ayz0200000620 -cntaobao11ayz0200000622 -cntaobao11ayz0200000624 -cntaobao11ayz0200000626 -cntaobao11ayz0200000630 -cntaobao11ayz0200000632 -cntaobao11ayz0200000636 -cntaobao11ayz0200000644 -cntaobao11ayz0200000648 -cntaobao11ayz0200000652 -cntaobao11ayz0200000654 -cntaobao11ayz0200000660 -cntaobao11ayz0200000662 -cntaobao11ayz0200000664 -cntaobao11ayz0200000672 -cntaobao11ayz0200000674 -cntaobao11ayz0200000676 -cntaobao11ayz0200000678 -cntaobao11ayz0200000682 -cntaobao11ayz0200000684 -cntaobao11ayz0200000686 -cntaobao11ayz0200000688 -cntaobao11ayz0200000692 -cntaobao11ayz0200000694 -cntaobao11ayz0200000698 -cntaobao11ayz0200000702 -cntaobao11ayz0200000704 -cntaobao11ayz0200000706 -cntaobao11ayz0200000708 -cntaobao11ayz0200000712 -cntaobao11ayz0200000716 -cntaobao11ayz0200000718 -cntaobao11ayz0200000720 -cntaobao11ayz0200000722 -cntaobao11ayz0200000728 -cntaobao11ayz0200000730 -cntaobao11ayz0200000732 -cntaobao11ayz0200000734 -cntaobao11ayz0200000742 -cntaobao11ayz0200000744 -cntaobao11ayz0200000746 -cntaobao11ayz0200000748 -cntaobao11ayz0200000750 -cntaobao11ayz0200000762 -cntaobao11ayz0200000768 -cntaobao11ayz0200000776 -cntaobao11ayz0200000778 -cntaobao11ayz0200000784 -cntaobao11ayz0200000788 -cntaobao11ayz0200000790 -cntaobao11ayz0200000798 -cntaobao11ayz0200000804 -cntaobao11ayz0200000806 -cntaobao11ayz0200000808 -cntaobao11ayz0200000812 -cntaobao11ayz0200000814 -cntaobao11ayz0200000818 -cntaobao11ayz0200000826 -cntaobao11ayz0200000830 -cntaobao11ayz0200000832 -cntaobao11ayz0200000834 -cntaobao11ayz0200000838 -cntaobao11ayz0200000840 -cntaobao11ayz0200000844 -cntaobao11ayz0200000850 -cntaobao11ayz0200000852 -cntaobao11ayz0200000854 -cntaobao11ayz0200000856 -cntaobao11ayz0200000860 -cntaobao11ayz0200000862 -cntaobao11ayz0200000864 -cntaobao11ayz0200000866 -cntaobao11ayz0200000868 -cntaobao11ayz0200000870 -cntaobao11ayz0200000872 -cntaobao11ayz0200000874 -cntaobao11ayz0200000878 -cntaobao11ayz0200000886 -cntaobao11ayz0200000890 -cntaobao11ayz0200000892 -cntaobao11ayz0200000896 -cntaobao11ayz0200000898 -cntaobao11ayz0200000904 -cntaobao11ayz0200000906 -cntaobao11ayz0200000912 -cntaobao11ayz0200000914 -cntaobao11ayz0200000918 -cntaobao11ayz0200000922 -cntaobao11ayz0200000926 -cntaobao11ayz0200000928 -cntaobao11ayz0200000938 -cntaobao11ayz0200000954 -cntaobao11ayz0200000962 -cntaobao11ayz0200000970 -cntaobao11ayz0200000978 -cntaobao11ayz0300000002 -cntaobao11ayz0300000004 -cntaobao11ayz0300000006 -cntaobao11ayz0300000008 -cntaobao11ayz0300000010 -cntaobao11ayz0300000012 -cntaobao11ayz0300000014 -cntaobao11ayz0300000016 -cntaobao11ayz0300000018 -cntaobao11ayz0300000020 -cntaobao11ayz0300000022 -cntaobao11ayz0300000024 -cntaobao11ayz0300000026 -cntaobao11ayz0300000028 -cntaobao11ayz0300000030 -cntaobao11ayz0300000032 -cntaobao11ayz0300000034 -cntaobao11ayz0300000036 -cntaobao11ayz0300000038 -cntaobao11ayz0300000040 -cntaobao11ayz0300000042 -cntaobao11ayz0300000044 -cntaobao11ayz0300000046 -cntaobao11ayz0300000048 -cntaobao11ayz0300000050 -cntaobao11ayz0300000052 -cntaobao11ayz0300000054 -cntaobao11ayz0300000056 -cntaobao11ayz0300000058 -cntaobao11ayz0300000060 -cntaobao11ayz0300000062 -cntaobao11ayz0300000064 -cntaobao11ayz0300000066 -cntaobao11ayz0300000068 -cntaobao11ayz0300000070 -cntaobao11ayz0300000072 -cntaobao11ayz0300000074 -cntaobao11ayz0300000076 -cntaobao11ayz0300000078 -cntaobao11ayz0300000080 -cntaobao11ayz0300000082 -cntaobao11ayz0300000084 -cntaobao11ayz0300000086 -cntaobao11ayz0300000088 -cntaobao11ayz0300000090 -cntaobao11ayz0300000092 -cntaobao11ayz0300000094 -cntaobao11ayz0300000096 -cntaobao11ayz0300000098 -cntaobao11ayz0300000100 -cntaobao11ayz0300000102 -cntaobao11ayz0300000104 -cntaobao11ayz0300000106 -cntaobao11ayz0300000108 -cntaobao11ayz0300000110 -cntaobao11ayz0300000112 -cntaobao11ayz0300000114 -cntaobao11ayz0300000116 -cntaobao11ayz0300000118 -cntaobao11ayz0300000120 -cntaobao11ayz0300000122 -cntaobao11ayz0300000124 -cntaobao11ayz0300000126 -cntaobao11ayz0300000128 -cntaobao11ayz0300000130 -cntaobao11ayz0300000132 -cntaobao11ayz0300000134 -cntaobao11ayz0300000136 -cntaobao11ayz0300000138 -cntaobao11ayz0300000140 -cntaobao11ayz0300000142 -cntaobao11ayz0300000144 -cntaobao11ayz0300000146 -cntaobao11ayz0300000148 -cntaobao11ayz0300000150 -cntaobao11ayz0300000152 -cntaobao11ayz0300000154 -cntaobao11ayz0300000156 -cntaobao11ayz0300000158 -cntaobao11ayz0300000160 -cntaobao11ayz0300000162 -cntaobao11ayz0300000164 -cntaobao11ayz0300000166 -cntaobao11ayz0300000168 -cntaobao11ayz0300000170 -cntaobao11ayz0300000172 -cntaobao11ayz0300000174 -cntaobao11ayz0300000176 -cntaobao11ayz0300000178 -cntaobao11ayz0300000180 -cntaobao11ayz0300000182 -cntaobao11ayz0300000184 -cntaobao11ayz0300000186 -cntaobao11ayz0300000188 -cntaobao11ayz0300000190 -cntaobao11ayz0300000192 -cntaobao11ayz0300000194 -cntaobao11ayz0300000196 -cntaobao11ayz0300000198 -cntaobao11ayz0300000200 -cntaobao11ayz0300000202 -cntaobao11ayz0300000204 -cntaobao11ayz0300000206 -cntaobao11ayz0300000208 -cntaobao11ayz0300000210 -cntaobao11ayz0300000212 -cntaobao11ayz0300000214 -cntaobao11ayz0300000216 -cntaobao11ayz0300000218 -cntaobao11ayz0300000220 -cntaobao11ayz0300000222 -cntaobao11ayz0300000224 -cntaobao11ayz0300000226 -cntaobao11ayz0300000228 -cntaobao11ayz0300000230 -cntaobao11ayz0300000232 -cntaobao11ayz0300000234 -cntaobao11ayz0300000236 -cntaobao11ayz0300000238 -cntaobao11ayz0300000240 -cntaobao11ayz0300000242 -cntaobao11ayz0300000244 -cntaobao11ayz0300000246 -cntaobao11ayz0300000248 -cntaobao11ayz0300000250 -cntaobao11ayz0300000252 -cntaobao11ayz0300000254 -cntaobao11ayz0300000256 -cntaobao11ayz0300000258 -cntaobao11ayz0300000260 -cntaobao11ayz0300000262 -cntaobao11ayz0300000264 -cntaobao11ayz0300000266 -cntaobao11ayz0300000268 -cntaobao11ayz0300000270 -cntaobao11ayz0300000272 -cntaobao11ayz0300000274 -cntaobao11ayz0300000276 -cntaobao11ayz0300000278 -cntaobao11ayz0300000280 -cntaobao11ayz0300000282 -cntaobao11ayz0300000284 -cntaobao11ayz0300000286 -cntaobao11ayz0300000288 -cntaobao11ayz0300000290 -cntaobao11ayz0300000292 -cntaobao11ayz0300000294 -cntaobao11ayz0300000296 -cntaobao11ayz0300000298 -cntaobao11ayz0300000300 -cntaobao11ayz0300000302 -cntaobao11ayz0300000304 -cntaobao11ayz0300000306 -cntaobao11ayz0300000308 -cntaobao11ayz0300000310 -cntaobao11ayz0300000312 -cntaobao11ayz0300000314 -cntaobao11ayz0300000316 -cntaobao11ayz0300000318 -cntaobao11ayz0300000320 -cntaobao11ayz0300000322 -cntaobao11ayz0300000324 -cntaobao11ayz0300000326 -cntaobao11ayz0300000328 -cntaobao11ayz0300000330 -cntaobao11ayz0300000332 -cntaobao11ayz0300000334 -cntaobao11ayz0300000336 -cntaobao11ayz0300000338 -cntaobao11ayz0300000340 -cntaobao11ayz0300000342 -cntaobao11ayz0300000344 -cntaobao11ayz0300000346 -cntaobao11ayz0300000348 -cntaobao11ayz0300000350 -cntaobao11ayz0300000352 -cntaobao11ayz0300000354 -cntaobao11ayz0300000356 -cntaobao11ayz0300000358 -cntaobao11ayz0300000360 -cntaobao11ayz0300000362 -cntaobao11ayz0300000364 -cntaobao11ayz0300000366 -cntaobao11ayz0300000368 -cntaobao11ayz0300000370 -cntaobao11ayz0300000372 -cntaobao11ayz0300000374 -cntaobao11ayz0300000376 -cntaobao11ayz0300000378 -cntaobao11ayz0300000380 -cntaobao11ayz0300000382 -cntaobao11ayz0300000384 -cntaobao11ayz0300000386 -cntaobao11ayz0300000388 -cntaobao11ayz0300000390 -cntaobao11ayz0300000392 -cntaobao11ayz0300000394 -cntaobao11ayz0300000398 -cntaobao11ayz0300000400 -cntaobao11ayz0300000402 -cntaobao11ayz0300000404 -cntaobao11ayz0300000406 -cntaobao11ayz0300000408 -cntaobao11ayz0300000410 -cntaobao11ayz0300000412 -cntaobao11ayz0300000414 -cntaobao11ayz0300000416 -cntaobao11ayz0300000418 -cntaobao11ayz0300000420 -cntaobao11ayz0300000422 -cntaobao11ayz0300000426 -cntaobao11ayz0300000428 -cntaobao11ayz0300000430 -cntaobao11ayz0300000432 -cntaobao11ayz0300000434 -cntaobao11ayz0300000438 -cntaobao11ayz0300000440 -cntaobao11ayz0300000442 -cntaobao11ayz0300000444 -cntaobao11ayz0300000446 -cntaobao11ayz0300000448 -cntaobao11ayz0300000450 -cntaobao11ayz0300000452 -cntaobao11ayz0300000454 -cntaobao11ayz0300000456 -cntaobao11ayz0300000458 -cntaobao11ayz0300000460 -cntaobao11ayz0300000462 -cntaobao11ayz0300000464 -cntaobao11ayz0300000466 -cntaobao11ayz0300000468 -cntaobao11ayz0300000470 -cntaobao11ayz0300000472 -cntaobao11ayz0300000474 -cntaobao11ayz0300000476 -cntaobao11ayz0300000478 -cntaobao11ayz0300000480 -cntaobao11ayz0300000482 -cntaobao11ayz0300000484 -cntaobao11ayz0300000486 -cntaobao11ayz0300000488 -cntaobao11ayz0300000490 -cntaobao11ayz0300000492 -cntaobao11ayz0300000494 -cntaobao11ayz0300000496 -cntaobao11ayz0300000498 -cntaobao11ayz0300000500 -cntaobao11ayz0300000502 -cntaobao11ayz0300000504 -cntaobao11ayz0300000506 -cntaobao11ayz0300000508 -cntaobao11ayz0300000510 -cntaobao11ayz0300000512 -cntaobao11ayz0300000514 -cntaobao11ayz0300000516 -cntaobao11ayz0300000518 -cntaobao11ayz0300000522 -cntaobao11ayz0300000524 -cntaobao11ayz0300000526 -cntaobao11ayz0300000528 -cntaobao11ayz0300000530 -cntaobao11ayz0300000532 -cntaobao11ayz0300000534 -cntaobao11ayz0300000536 -cntaobao11ayz0300000538 -cntaobao11ayz0300000540 -cntaobao11ayz0300000542 -cntaobao11ayz0300000544 -cntaobao11ayz0300000546 -cntaobao11ayz0300000548 -cntaobao11ayz0300000550 -cntaobao11ayz0300000552 -cntaobao11ayz0300000554 -cntaobao11ayz0300000556 -cntaobao11ayz0300000558 -cntaobao11ayz0300000560 -cntaobao11ayz0300000562 -cntaobao11ayz0300000564 -cntaobao11ayz0300000568 -cntaobao11ayz0300000570 -cntaobao11ayz0300000572 -cntaobao11ayz0300000576 -cntaobao11ayz0300000578 -cntaobao11ayz0300000580 -cntaobao11ayz0300000582 -cntaobao11ayz0300000584 -cntaobao11ayz0300000586 -cntaobao11ayz0300000588 diff --git a/features/aliww/data/.svn/text-base/user_passwd.svn-base b/features/aliww/data/.svn/text-base/user_passwd.svn-base deleted file mode 100644 index 82c3041..0000000 --- a/features/aliww/data/.svn/text-base/user_passwd.svn-base +++ /dev/null @@ -1,1918 +0,0 @@ -cntaobao000000008c,system -cntaobao00000000hai,system -cntaobao00000abc,system -cntaobao00000yang,system -cntaobao00002009gxy,system -cntaobao000147land,system -cntaobao0001pan,system -cntaobao000700_cn1,system -cntaobao000963as,system -cntaobao000js,system -cntaobao000liujun,system -cntaobao000lkx,system -cntaobao000maple,system -cntaobao000masca,system -cntaobao000milihua000,system -cntaobao000miller,system -cntaobao000superman000,system -cntaobao000woaini,system -cntaobao000ying,system -cntaobao000zero,system -cntaobao000zhaoxin,system -cntaobao000zhou000,system -cntaobao001001001a,system -cntaobao00112233aabbccdd,system -cntaobao001127pan,system -cntaobao0015563qinyao,system -cntaobao00168zjp,system -cntaobao001afd,system -cntaobao001baby,system -cntaobao001dalong,system -cntaobao001happy,system -cntaobao001huangrong,system -cntaobao001nature,system -cntaobao001sina,system -cntaobao001wangjianqiang,system -cntaobao001zhangji,system -cntaobao0015Deva,system -cntaobao002angel,system -cntaobao003-sa,system -cntaobao0030013587152linjian,system -cntaobao003837xiang,system -cntaobao003jianglei,system -cntaobao003wang,system -cntaobao004-@O3f,system -cntaobao00544c,system -cntaobao00544wang,system -cntaobao0056yue,system -cntaobao00578_8_,system -cntaobao005farmer005,system -cntaobao007315ODQ),system -cntaobao007321j38,system -cntaobao00741840jj,system -cntaobao0075wenlin,system -cntaobao0079394y,system -cntaobao007_apple,system -cntaobao007_liujia,system -cntaobao007_terminator,system -cntaobao007_wangxu,system -cntaobao007ab,system -cntaobao007abc,system -cntaobao007angel,system -cntaobao007avril,system -cntaobao007bluesea,system -cntaobao007caih,system -cntaobao007chaochao,system -cntaobao007dragon,system -cntaobao007jamesjiang,system -cntaobao007love1&1&,system -cntaobao007playboy,system -cntaobao007shanghaichq,system -cntaobao007superman910,system -cntaobao007w008,system -cntaobao007xujiajun,system -cntaobao007P!@.0H,system -cntaobao008_angel,system -cntaobao008black,system -cntaobao008g,system -cntaobao008ganggang,system -cntaobao008shanhang,system -cntaobao008wangshuo,system -cntaobao008xiang,system -cntaobao0099aass,system -cntaobao009a1,system -cntaobao009firedragon,system -cntaobao009hank,system -cntaobao009tang,system -cntaobao00a1a2a3a4,system -cntaobao00a22,system -cntaobao00atubo,system -cntaobao00baby,system -cntaobao00gaoxin00,system -cntaobao00hai2004,system -cntaobao00han1,system -cntaobao00hanwei,system -cntaobao00i45hayj,system -cntaobao00jhyz,system -cntaobao00lalala00,system -cntaobao00lang,system -cntaobao00love,system -cntaobao00mary,system -cntaobao00rainbow,system -cntaobao00range,system -cntaobao00susan,system -cntaobao00v00,system -cntaobao00yan1982,system -cntaobao00zhangrui00,system -cntaobao00zhaoxin,system -cntaobao00zhaoyong,system -cntaobao0102jessica,system -cntaobao0109and1016,system -cntaobao010zufang,system -cntaobao0111.wang,system -cntaobao0112244abe,system -cntaobao0122aa,system -cntaobao0123wangwentao,system -cntaobao0123zhanghaibin,system -cntaobao0123zhangzhi,system -cntaobao0124yuhoucaihong,system -cntaobao01311846abc,system -cntaobao0131aya,system -cntaobao016woaini,system -cntaobao0171206-a,system -cntaobao0175lan,system -cntaobao019cat,system -cntaobao01rainbowfox,system -cntaobao01sandy,system -cntaobao01tracy2005,system -cntaobao01wangfeng,system -cntaobao01wanglin,system -cntaobao01TxR;Q8zyx,system -cntaobao02-yuan,system -cntaobao0201jian,system -cntaobao020lanlan,system -cntaobao02110huang,system -cntaobao0214jiajia,system -cntaobao021608huang,system -cntaobao0218tiandi,system -cntaobao021fang,system -cntaobao021tianzi,system -cntaobao021xianer,system -cntaobao022710naughtyqueen,system -cntaobao0229anddy,system -cntaobao022dandan,system -cntaobao022wanzhaoyi512,system -cntaobao026china.com,system -cntaobao02dangzhibu,system -cntaobao02maggie,system -cntaobao02sea-c,system -cntaobao02xda,system -cntaobao03-abcpj,system -cntaobao0302vvc,system -cntaobao0317liuxiang,system -cntaobao0317liwang,system -cntaobao0323liangzi,system -cntaobao0327abc,system -cntaobao0351yangbin,system -cntaobao0357a,system -cntaobao0378abc,system -cntaobao0397886aa,system -cntaobao03_a,system -cntaobao03ad,system -cntaobao03auto-wx,system -cntaobao03ecyxxiao,system -cntaobao03Dj5DP!14,system -cntaobao040221xiaoxiao,system -cntaobao0402abc,system -cntaobao0408231ace,system -cntaobao0412wangwei,system -cntaobao0417hailang,system -cntaobao041banji,system -cntaobao0433xiaoning,system -cntaobao0452shuaige,system -cntaobao0453020fay,system -cntaobao04807zswad,system -cntaobao04_victoria,system -cntaobao04piaoxue,system -cntaobao0506onsale,system -cntaobao0509gao,system -cntaobao05102118612asd,system -cntaobao0513yuanzhong,system -cntaobao0518all,system -cntaobao0518dabi,system -cntaobao052010a,system -cntaobao0535huaguan,system -cntaobao0554kuangli,system -cntaobao0571lancome,system -cntaobao0574abs,system -cntaobao0577air,system -cntaobao0595binghuan,system -cntaobao05971001a,system -cntaobao05chan,system -cntaobao05easter,system -cntaobao05edgar,system -cntaobao05zhanghanling,system -cntaobao0629zhangqi,system -cntaobao0630zhuai1,system -cntaobao0630zhuai5,system -cntaobao0632caobingde,system -cntaobao0632dongqiang,system -cntaobao06501zhang,system -cntaobao0661cailigui,system -cntaobao0663xiaozhu,system -cntaobao0708lc,system -cntaobao0708lc2,system -cntaobao0716kay,system -cntaobao0754jack888,system -cntaobao0772ayu,system -cntaobao07a1s4jk,system -cntaobao07hack,system -cntaobao07zhanglei,system -cntaobao0801xiaofan,system -cntaobao0812alvin,system -cntaobao084samzeng,system -cntaobao0864aa,system -cntaobao08alan,system -cntaobao08atyliou,system -cntaobao08linqiang,system -cntaobao08woshishuaige,system -cntaobao0929_v2,system -cntaobao0932313woaini,system -cntaobao0937ctgafmyruq,system -cntaobao09876123a,system -cntaobao0987oiuam,system -cntaobao098aua8,system -cntaobao098lkjhgfdsa,system -cntaobao0998nijat,system -cntaobao09tianbo,system -cntaobao0Ivank0,system -cntaobao0_clamp_0,system -cntaobao0a38317b,system -cntaobao0aa0,system -cntaobao0aaaaa,system -cntaobao0aileen0,system -cntaobao0aking,system -cntaobao0amtf,system -cntaobao0autumn0,system -cntaobao0cat,system -cntaobao0ceanus,system -cntaobao0dongyuhua0,system -cntaobao0enpast0,system -cntaobao0euuyadfvqam4vbh7jz,system -cntaobao0fengtao0,system -cntaobao0huan0,system -cntaobao0huang520,system -cntaobao0huaxiao0,system -cntaobao0jayboy0,system -cntaobao0lisa,system -cntaobao0livia,system -cntaobao0liwang0,system -cntaobao0magician0,system -cntaobao0mars,system -cntaobao0mianjiu0,system -cntaobao0nancy111,system -cntaobao0racky0,system -cntaobao0rane,system -cntaobao0shannel0,system -cntaobao0shark0,system -cntaobao0small0,system -cntaobao0start,system -cntaobao0t4dhlacz0,system -cntaobao0tian0,system -cntaobao0wangjian1,system -cntaobao0wangyi0,system -cntaobao0william01080553167,system -cntaobao0yangzhao0,system -cntaobao0zhan0,system -cntaobao0zhangyan5,system -cntaobao1,system -cntaobao1-aaaa,system -cntaobao1-image,system -cntaobao1-one-man,system -cntaobao10,system -cntaobao100,system -cntaobao100000aaa,system -cntaobao1000abcd,system -cntaobao1000show,system -cntaobao1000wangtao,system -cntaobao1001han,system -cntaobao1001reason,system -cntaobao100432828a,system -cntaobao10063049abc,system -cntaobao1008_alon,system -cntaobao1008a1008b,system -cntaobao100aj200aj,system -cntaobao100asp,system -cntaobao100caoyang,system -cntaobao100cat,system -cntaobao100chao,system -cntaobao100fang,system -cntaobao100fun,system -cntaobao100idea,system -cntaobao100orange,system -cntaobao100roma,system -cntaobao100shuma,system -cntaobao100star,system -cntaobao10112355abc,system -cntaobao101209tian,system -cntaobao1013xiangkun,system -cntaobao1014huangyan,system -cntaobao1016angel,system -cntaobao1017hua,system -cntaobao1017pan,system -cntaobao1018_v2,system -cntaobao1019yaner,system -cntaobao101amy,system -cntaobao101bandian,system -cntaobao101hao,system -cntaobao101oscarwang,system -cntaobao101yan,system -cntaobao1021a,system -cntaobao1021rain,system -cntaobao1026yan,system -cntaobao102788yangyang,system -cntaobao1027dasha,system -cntaobao1028baojihe,system -cntaobao1029vv,system -cntaobao102baby,system -cntaobao102lan,system -cntaobao1031195a,system -cntaobao1031xiaoyang,system -cntaobao103_jacob,system -cntaobao103ajie,system -cntaobao103cagen,system -cntaobao103snake,system -cntaobao106016521zhaohua,system -cntaobao109608337tian,system -cntaobao109rao,system -cntaobao10ac9,system -cntaobao10bar,system -cntaobao10haha,system -cntaobao10haoallan,system -cntaobao10jqka,system -cntaobao10paopaotang,system -cntaobao10star,system -cntaobao10totta,system -cntaobao11,system -cntaobao110112119a,system -cntaobao110119chao,system -cntaobao1101qaz,system -cntaobao1102vv,system -cntaobao1104wawa,system -cntaobao110844095a,system -cntaobao110abc,system -cntaobao110palpalpal,system -cntaobao110tangxiaoxiao,system -cntaobao1111,system -cntaobao11111111aa,system -cntaobao111111aa1,system -cntaobao111111aa67,system -cntaobao111111as,system -cntaobao111112,system -cntaobao11112,system -cntaobao1111wayy,system -cntaobao1111zhaojian,system -cntaobao111222aaasss,system -cntaobao11123huanxiang,system -cntaobao1112ha,system -cntaobao1112yy,system -cntaobao11131312,system -cntaobao11150angel,system -cntaobao1115amy,system -cntaobao111a051010,system -cntaobao111aa222bb,system -cntaobao111aaabbbcccdddeeeff,system -cntaobao111bao,system -cntaobao111c,system -cntaobao111jia,system -cntaobao111playingcards,system -cntaobao111wangjie,system -cntaobao111yuasnu,system -cntaobao1121prettycat,system -cntaobao112233asd,system -cntaobao1122axfc,system -cntaobao1122qwertyuiop001,system -cntaobao1122qwertyuiop002,system -cntaobao1122qwertyuiop003,system -cntaobao1122qwertyuiop004,system -cntaobao1122qwertyuiop005,system -cntaobao1122qwertyuiop006,system -cntaobao1122qwertyuiop007,system -cntaobao1122qwertyuiop007:1,system -cntaobao1122qwertyuiop008,system -cntaobao1123linda,system -cntaobao112488873zhao,system -cntaobao1126saw,system -cntaobao1128aniki,system -cntaobao1129qwertyuiop001,system -cntaobao1129wukan,system -cntaobao112asda,system -cntaobao112huangcong,system -cntaobao112kang,system -cntaobao112vian,system -cntaobao1130sunday,system -cntaobao11323fan,system -cntaobao11334das,system -cntaobao113539127aa,system -cntaobao113542510a,system -cntaobao113711garfield,system -cntaobao114511201a,system -cntaobao114857484abc,system -cntaobao114ma,system -cntaobao114rachel,system -cntaobao11555yang,system -cntaobao1155saww,system -cntaobao115abc,system -cntaobao1168qianbin,system -cntaobao116heyao116,system -cntaobao117520huangjuan,system -cntaobao117729177han,system -cntaobao117gaow,system -cntaobao117jack,system -cntaobao117sail,system -cntaobao117xiaodi,system -cntaobao1186899shanshan88,system -cntaobao1188242a,system -cntaobao1188liufangzhou,system -cntaobao119-game,system -cntaobao1190803a,system -cntaobao1199368aw,system -cntaobao11999922qian,system -cntaobao119bearbear,system -cntaobao119swa,system -cntaobao11a22s,system -cntaobao11aabb,system -cntaobao11archer,system -cntaobao11ayz0000000002,system -cntaobao11ayz0000000004,system -cntaobao11ayz0000000006,system -cntaobao11ayz0000000008,system -cntaobao11ayz0000000010,system -cntaobao11ayz0000000012,system -cntaobao11ayz0000000014,system -cntaobao11ayz0000000016,system -cntaobao11ayz0000000018,system -cntaobao11ayz0000000020,system -cntaobao11ayz0000000022,system -cntaobao11ayz0000000024,system -cntaobao11ayz0000000026,system -cntaobao11ayz0000000028,system -cntaobao11ayz0000000030,system -cntaobao11ayz0000000032,system -cntaobao11ayz0000000034,system -cntaobao11ayz0000000036,system -cntaobao11ayz0000000038,system -cntaobao11ayz0000000040,system -cntaobao11ayz0000000042,system -cntaobao11ayz0000000044,system -cntaobao11ayz0000000046,system -cntaobao11ayz0000000048,system -cntaobao11ayz0000000050,system -cntaobao11ayz0000000052,system -cntaobao11ayz0000000054,system -cntaobao11ayz0000000056,system -cntaobao11ayz0000000058,system -cntaobao11ayz0000000060,system -cntaobao11ayz0000000062,system -cntaobao11ayz0000000064,system -cntaobao11ayz0000000066,system -cntaobao11ayz0000000068,system -cntaobao11ayz0000000070,system -cntaobao11ayz0000000072,system -cntaobao11ayz0000000074,system -cntaobao11ayz0000000076,system -cntaobao11ayz0000000078,system -cntaobao11ayz0000000080,system -cntaobao11ayz0000000082,system -cntaobao11ayz0000000084,system -cntaobao11ayz0000000086,system -cntaobao11ayz0000000088,system -cntaobao11ayz0000000090,system -cntaobao11ayz0000000092,system -cntaobao11ayz0000000094,system -cntaobao11ayz0000000096,system -cntaobao11ayz0000000098,system -cntaobao11ayz0000000100,system -cntaobao11ayz0000000102,system -cntaobao11ayz0000000104,system -cntaobao11ayz0000000106,system -cntaobao11ayz0000000108,system -cntaobao11ayz0000000110,system -cntaobao11ayz0000000112,system -cntaobao11ayz0000000114,system -cntaobao11ayz0000000116,system -cntaobao11ayz0000000118,system -cntaobao11ayz0000000120,system -cntaobao11ayz0000000122,system -cntaobao11ayz0000000124,system -cntaobao11ayz0000000126,system -cntaobao11ayz0000000128,system -cntaobao11ayz0000000130,system -cntaobao11ayz0000000132,system -cntaobao11ayz0000000134,system -cntaobao11ayz0000000136,system -cntaobao11ayz0000000138,system -cntaobao11ayz0000000140,system -cntaobao11ayz0000000142,system -cntaobao11ayz0000000144,system -cntaobao11ayz0000000146,system -cntaobao11ayz0000000148,system -cntaobao11ayz0000000150,system -cntaobao11ayz0000000152,system -cntaobao11ayz0000000154,system -cntaobao11ayz0000000156,system -cntaobao11ayz0000000158,system -cntaobao11ayz0000000160,system -cntaobao11ayz0000000162,system -cntaobao11ayz0000000164,system -cntaobao11ayz0000000166,system -cntaobao11ayz0000000168,system -cntaobao11ayz0000000170,system -cntaobao11ayz0000000172,system -cntaobao11ayz0000000174,system -cntaobao11ayz0000000176,system -cntaobao11ayz0000000178,system -cntaobao11ayz0000000180,system -cntaobao11ayz0000000182,system -cntaobao11ayz0000000184,system -cntaobao11ayz0000000186,system -cntaobao11ayz0000000188,system -cntaobao11ayz0000000190,system -cntaobao11ayz0000000192,system -cntaobao11ayz0000000194,system -cntaobao11ayz0000000196,system -cntaobao11ayz0000000198,system -cntaobao11ayz0000000200,system -cntaobao11ayz0000000202,system -cntaobao11ayz0000000204,system -cntaobao11ayz0000000206,system -cntaobao11ayz0000000208,system -cntaobao11ayz0000000210,system -cntaobao11ayz0000000212,system -cntaobao11ayz0000000214,system -cntaobao11ayz0000000216,system -cntaobao11ayz0000000218,system -cntaobao11ayz0000000220,system -cntaobao11ayz0000000222,system -cntaobao11ayz0000000224,system -cntaobao11ayz0000000226,system -cntaobao11ayz0000000228,system -cntaobao11ayz0000000230,system -cntaobao11ayz0000000232,system -cntaobao11ayz0000000234,system -cntaobao11ayz0000000236,system -cntaobao11ayz0000000238,system -cntaobao11ayz0000000240,system -cntaobao11ayz0000000242,system -cntaobao11ayz0000000244,system -cntaobao11ayz0000000246,system -cntaobao11ayz0000000248,system -cntaobao11ayz0000000250,system -cntaobao11ayz0000000252,system -cntaobao11ayz0000000254,system -cntaobao11ayz0000000256,system -cntaobao11ayz0000000258,system -cntaobao11ayz0000000260,system -cntaobao11ayz0000000262,system -cntaobao11ayz0000000264,system -cntaobao11ayz0000000266,system -cntaobao11ayz0000000268,system -cntaobao11ayz0000000270,system -cntaobao11ayz0000000272,system -cntaobao11ayz0000000274,system -cntaobao11ayz0000000276,system -cntaobao11ayz0000000278,system -cntaobao11ayz0000000280,system -cntaobao11ayz0000000282,system -cntaobao11ayz0000000284,system -cntaobao11ayz0000000286,system -cntaobao11ayz0000000288,system -cntaobao11ayz0000000290,system -cntaobao11ayz0000000292,system -cntaobao11ayz0000000294,system -cntaobao11ayz0000000296,system -cntaobao11ayz0000000298,system -cntaobao11ayz0000000300,system -cntaobao11ayz0000000302,system -cntaobao11ayz0000000304,system -cntaobao11ayz0000000306,system -cntaobao11ayz0000000308,system -cntaobao11ayz0000000310,system -cntaobao11ayz0000000312,system -cntaobao11ayz0000000314,system -cntaobao11ayz0000000316,system -cntaobao11ayz0000000318,system -cntaobao11ayz0000000320,system -cntaobao11ayz0000000322,system -cntaobao11ayz0000000324,system -cntaobao11ayz0000000326,system -cntaobao11ayz0000000328,system -cntaobao11ayz0000000330,system -cntaobao11ayz0000000332,system -cntaobao11ayz0000000334,system -cntaobao11ayz0000000336,system -cntaobao11ayz0000000338,system -cntaobao11ayz0000000340,system -cntaobao11ayz0000000342,system -cntaobao11ayz0000000344,system -cntaobao11ayz0000000346,system -cntaobao11ayz0000000348,system -cntaobao11ayz0000000350,system -cntaobao11ayz0000000352,system -cntaobao11ayz0000000354,system -cntaobao11ayz0000000356,system -cntaobao11ayz0000000358,system -cntaobao11ayz0000000360,system -cntaobao11ayz0000000362,system -cntaobao11ayz0000000364,system -cntaobao11ayz0000000366,system -cntaobao11ayz0000000368,system -cntaobao11ayz0000000370,system -cntaobao11ayz0000000372,system -cntaobao11ayz0000000374,system -cntaobao11ayz0000000376,system -cntaobao11ayz0000000378,system -cntaobao11ayz0000000380,system -cntaobao11ayz0000000382,system -cntaobao11ayz0000000384,system -cntaobao11ayz0000000386,system -cntaobao11ayz0000000388,system -cntaobao11ayz0000000390,system -cntaobao11ayz0000000392,system -cntaobao11ayz0000000394,system -cntaobao11ayz0000000396,system -cntaobao11ayz0000000398,system -cntaobao11ayz0000000400,system -cntaobao11ayz0000000402,system -cntaobao11ayz0000000404,system -cntaobao11ayz0000000406,system -cntaobao11ayz0000000408,system -cntaobao11ayz0000000410,system -cntaobao11ayz0000000412,system -cntaobao11ayz0000000414,system -cntaobao11ayz0000000416,system -cntaobao11ayz0000000418,system -cntaobao11ayz0000000420,system -cntaobao11ayz0000000424,system -cntaobao11ayz0000000426,system -cntaobao11ayz0000000428,system -cntaobao11ayz0000000430,system -cntaobao11ayz0000000432,system -cntaobao11ayz0000000434,system -cntaobao11ayz0000000438,system -cntaobao11ayz0000000440,system -cntaobao11ayz0000000442,system -cntaobao11ayz0000000444,system -cntaobao11ayz0000000446,system -cntaobao11ayz0000000448,system -cntaobao11ayz0000000450,system -cntaobao11ayz0000000452,system -cntaobao11ayz0000000454,system -cntaobao11ayz0000000456,system -cntaobao11ayz0000000458,system -cntaobao11ayz0000000460,system -cntaobao11ayz0000000462,system -cntaobao11ayz0000000464,system -cntaobao11ayz0000000466,system -cntaobao11ayz0000000468,system -cntaobao11ayz0000000470,system -cntaobao11ayz0000000472,system -cntaobao11ayz0000000474,system -cntaobao11ayz0000000476,system -cntaobao11ayz0000000478,system -cntaobao11ayz0000000480,system -cntaobao11ayz0000000482,system -cntaobao11ayz0000000484,system -cntaobao11ayz0000000486,system -cntaobao11ayz0000000488,system -cntaobao11ayz0000000490,system -cntaobao11ayz0000000492,system -cntaobao11ayz0000000494,system -cntaobao11ayz0000000496,system -cntaobao11ayz0000000498,system -cntaobao11ayz0000000500,system -cntaobao11ayz0000000502,system -cntaobao11ayz0000000504,system -cntaobao11ayz0000000506,system -cntaobao11ayz0000000508,system -cntaobao11ayz0000000510,system -cntaobao11ayz0000000512,system -cntaobao11ayz0000000514,system -cntaobao11ayz0000000516,system -cntaobao11ayz0000000518,system -cntaobao11ayz0000000520,system -cntaobao11ayz0000000522,system -cntaobao11ayz0000000524,system -cntaobao11ayz0000000526,system -cntaobao11ayz0000000528,system -cntaobao11ayz0000000532,system -cntaobao11ayz0000000534,system -cntaobao11ayz0000000536,system -cntaobao11ayz0000000538,system -cntaobao11ayz0000000540,system -cntaobao11ayz0000000542,system -cntaobao11ayz0000000544,system -cntaobao11ayz0000000546,system -cntaobao11ayz0000000550,system -cntaobao11ayz0000000552,system -cntaobao11ayz0000000554,system -cntaobao11ayz0000000556,system -cntaobao11ayz0000000558,system -cntaobao11ayz0000000560,system -cntaobao11ayz0000000562,system -cntaobao11ayz0000000564,system -cntaobao11ayz0000000566,system -cntaobao11ayz0000000568,system -cntaobao11ayz0000000570,system -cntaobao11ayz0000000574,system -cntaobao11ayz0000000576,system -cntaobao11ayz0000000578,system -cntaobao11ayz0000000580,system -cntaobao11ayz0000000582,system -cntaobao11ayz0000000584,system -cntaobao11ayz0000000586,system -cntaobao11ayz0000000588,system -cntaobao11ayz0000000590,system -cntaobao11ayz0000000592,system -cntaobao11ayz0000000594,system -cntaobao11ayz0000000596,system -cntaobao11ayz0000000598,system -cntaobao11ayz0000000600,system -cntaobao11ayz0000000608,system -cntaobao11ayz0000000610,system -cntaobao11ayz0000000612,system -cntaobao11ayz0000000616,system -cntaobao11ayz0000000618,system -cntaobao11ayz0000000620,system -cntaobao11ayz0000000622,system -cntaobao11ayz0000000624,system -cntaobao11ayz0000000628,system -cntaobao11ayz0000000630,system -cntaobao11ayz0000000632,system -cntaobao11ayz0000000634,system -cntaobao11ayz0000000636,system -cntaobao11ayz0000000646,system -cntaobao11ayz0000000648,system -cntaobao11ayz0000000652,system -cntaobao11ayz0000000654,system -cntaobao11ayz0000000658,system -cntaobao11ayz0000000660,system -cntaobao11ayz0000000662,system -cntaobao11ayz0000000666,system -cntaobao11ayz0000000668,system -cntaobao11ayz0000000670,system -cntaobao11ayz0000000672,system -cntaobao11ayz0000000676,system -cntaobao11ayz0000000678,system -cntaobao11ayz0000000684,system -cntaobao11ayz0000000690,system -cntaobao11ayz0000000692,system -cntaobao11ayz0000000698,system -cntaobao11ayz0000000700,system -cntaobao11ayz0000000702,system -cntaobao11ayz0000000704,system -cntaobao11ayz0000000706,system -cntaobao11ayz0000000708,system -cntaobao11ayz0000000710,system -cntaobao11ayz0000000712,system -cntaobao11ayz0000000716,system -cntaobao11ayz0000000726,system -cntaobao11ayz0000000730,system -cntaobao11ayz0000000734,system -cntaobao11ayz0000000736,system -cntaobao11ayz0000000740,system -cntaobao11ayz0000000746,system -cntaobao11ayz0000000754,system -cntaobao11ayz0000000760,system -cntaobao11ayz0000000762,system -cntaobao11ayz0000000766,system -cntaobao11ayz0000000770,system -cntaobao11ayz0000000772,system -cntaobao11ayz0000000776,system -cntaobao11ayz0000000786,system -cntaobao11ayz0000000790,system -cntaobao11ayz0000000792,system -cntaobao11ayz0000000794,system -cntaobao11ayz0000000796,system -cntaobao11ayz0000000798,system -cntaobao11ayz0000000802,system -cntaobao11ayz0000000804,system -cntaobao11ayz0000000806,system -cntaobao11ayz0000000808,system -cntaobao11ayz0000000810,system -cntaobao11ayz0000000812,system -cntaobao11ayz0000000816,system -cntaobao11ayz0000000820,system -cntaobao11ayz0000000822,system -cntaobao11ayz0000000824,system -cntaobao11ayz0000000826,system -cntaobao11ayz0000000830,system -cntaobao11ayz0000000832,system -cntaobao11ayz0000000834,system -cntaobao11ayz0000000836,system -cntaobao11ayz0000000844,system -cntaobao11ayz0000000846,system -cntaobao11ayz0000000848,system -cntaobao11ayz0000000850,system -cntaobao11ayz0000000852,system -cntaobao11ayz0000000858,system -cntaobao11ayz0000000860,system -cntaobao11ayz0000000862,system -cntaobao11ayz0000000864,system -cntaobao11ayz0000000872,system -cntaobao11ayz0000000876,system -cntaobao11ayz0000000878,system -cntaobao11ayz0000000880,system -cntaobao11ayz0000000884,system -cntaobao11ayz0000000886,system -cntaobao11ayz0000000888,system -cntaobao11ayz0000000890,system -cntaobao11ayz0000000892,system -cntaobao11ayz0000000894,system -cntaobao11ayz0000000904,system -cntaobao11ayz0000000916,system -cntaobao11ayz0000000922,system -cntaobao11ayz0000000926,system -cntaobao11ayz0000000928,system -cntaobao11ayz0000000930,system -cntaobao11ayz0000000932,system -cntaobao11ayz0000000940,system -cntaobao11ayz0000000946,system -cntaobao11ayz0000000952,system -cntaobao11ayz0000000958,system -cntaobao11ayz0000000960,system -cntaobao11ayz0000000970,system -cntaobao11ayz0000000974,system -cntaobao11ayz0000000976,system -cntaobao11ayz0000000980,system -cntaobao11ayz0000000982,system -cntaobao11ayz0000000988,system -cntaobao11ayz0000000998,system -cntaobao11ayz0100000002,system -cntaobao11ayz0100000004,system -cntaobao11ayz0100000006,system -cntaobao11ayz0100000008,system -cntaobao11ayz0100000010,system -cntaobao11ayz0100000012,system -cntaobao11ayz0100000014,system -cntaobao11ayz0100000016,system -cntaobao11ayz0100000018,system -cntaobao11ayz0100000020,system -cntaobao11ayz0100000022,system -cntaobao11ayz0100000024,system -cntaobao11ayz0100000026,system -cntaobao11ayz0100000028,system -cntaobao11ayz0100000030,system -cntaobao11ayz0100000032,system -cntaobao11ayz0100000034,system -cntaobao11ayz0100000036,system -cntaobao11ayz0100000038,system -cntaobao11ayz0100000040,system -cntaobao11ayz0100000042,system -cntaobao11ayz0100000044,system -cntaobao11ayz0100000046,system -cntaobao11ayz0100000048,system -cntaobao11ayz0100000050,system -cntaobao11ayz0100000052,system -cntaobao11ayz0100000054,system -cntaobao11ayz0100000056,system -cntaobao11ayz0100000058,system -cntaobao11ayz0100000060,system -cntaobao11ayz0100000062,system -cntaobao11ayz0100000064,system -cntaobao11ayz0100000066,system -cntaobao11ayz0100000068,system -cntaobao11ayz0100000070,system -cntaobao11ayz0100000072,system -cntaobao11ayz0100000074,system -cntaobao11ayz0100000076,system -cntaobao11ayz0100000078,system -cntaobao11ayz0100000080,system -cntaobao11ayz0100000082,system -cntaobao11ayz0100000084,system -cntaobao11ayz0100000086,system -cntaobao11ayz0100000088,system -cntaobao11ayz0100000090,system -cntaobao11ayz0100000092,system -cntaobao11ayz0100000094,system -cntaobao11ayz0100000096,system -cntaobao11ayz0100000098,system -cntaobao11ayz0100000100,system -cntaobao11ayz0100000102,system -cntaobao11ayz0100000104,system -cntaobao11ayz0100000106,system -cntaobao11ayz0100000108,system -cntaobao11ayz0100000110,system -cntaobao11ayz0100000112,system -cntaobao11ayz0100000114,system -cntaobao11ayz0100000116,system -cntaobao11ayz0100000118,system -cntaobao11ayz0100000120,system -cntaobao11ayz0100000122,system -cntaobao11ayz0100000124,system -cntaobao11ayz0100000126,system -cntaobao11ayz0100000128,system -cntaobao11ayz0100000130,system -cntaobao11ayz0100000132,system -cntaobao11ayz0100000134,system -cntaobao11ayz0100000136,system -cntaobao11ayz0100000138,system -cntaobao11ayz0100000140,system -cntaobao11ayz0100000142,system -cntaobao11ayz0100000144,system -cntaobao11ayz0100000146,system -cntaobao11ayz0100000148,system -cntaobao11ayz0100000150,system -cntaobao11ayz0100000152,system -cntaobao11ayz0100000154,system -cntaobao11ayz0100000156,system -cntaobao11ayz0100000158,system -cntaobao11ayz0100000160,system -cntaobao11ayz0100000162,system -cntaobao11ayz0100000164,system -cntaobao11ayz0100000166,system -cntaobao11ayz0100000168,system -cntaobao11ayz0100000170,system -cntaobao11ayz0100000172,system -cntaobao11ayz0100000174,system -cntaobao11ayz0100000176,system -cntaobao11ayz0100000178,system -cntaobao11ayz0100000180,system -cntaobao11ayz0100000182,system -cntaobao11ayz0100000184,system -cntaobao11ayz0100000186,system -cntaobao11ayz0100000188,system -cntaobao11ayz0100000190,system -cntaobao11ayz0100000192,system -cntaobao11ayz0100000194,system -cntaobao11ayz0100000196,system -cntaobao11ayz0100000198,system -cntaobao11ayz0100000200,system -cntaobao11ayz0100000202,system -cntaobao11ayz0100000204,system -cntaobao11ayz0100000206,system -cntaobao11ayz0100000208,system -cntaobao11ayz0100000210,system -cntaobao11ayz0100000212,system -cntaobao11ayz0100000214,system -cntaobao11ayz0100000216,system -cntaobao11ayz0100000218,system -cntaobao11ayz0100000220,system -cntaobao11ayz0100000222,system -cntaobao11ayz0100000224,system -cntaobao11ayz0100000226,system -cntaobao11ayz0100000228,system -cntaobao11ayz0100000230,system -cntaobao11ayz0100000232,system -cntaobao11ayz0100000234,system -cntaobao11ayz0100000236,system -cntaobao11ayz0100000238,system -cntaobao11ayz0100000240,system -cntaobao11ayz0100000242,system -cntaobao11ayz0100000244,system -cntaobao11ayz0100000246,system -cntaobao11ayz0100000248,system -cntaobao11ayz0100000250,system -cntaobao11ayz0100000252,system -cntaobao11ayz0100000254,system -cntaobao11ayz0100000256,system -cntaobao11ayz0100000258,system -cntaobao11ayz0100000260,system -cntaobao11ayz0100000262,system -cntaobao11ayz0100000264,system -cntaobao11ayz0100000266,system -cntaobao11ayz0100000268,system -cntaobao11ayz0100000270,system -cntaobao11ayz0100000272,system -cntaobao11ayz0100000274,system -cntaobao11ayz0100000276,system -cntaobao11ayz0100000278,system -cntaobao11ayz0100000280,system -cntaobao11ayz0100000282,system -cntaobao11ayz0100000284,system -cntaobao11ayz0100000286,system -cntaobao11ayz0100000288,system -cntaobao11ayz0100000290,system -cntaobao11ayz0100000292,system -cntaobao11ayz0100000294,system -cntaobao11ayz0100000296,system -cntaobao11ayz0100000298,system -cntaobao11ayz0100000300,system -cntaobao11ayz0100000302,system -cntaobao11ayz0100000304,system -cntaobao11ayz0100000306,system -cntaobao11ayz0100000308,system -cntaobao11ayz0100000310,system -cntaobao11ayz0100000312,system -cntaobao11ayz0100000314,system -cntaobao11ayz0100000316,system -cntaobao11ayz0100000318,system -cntaobao11ayz0100000320,system -cntaobao11ayz0100000322,system -cntaobao11ayz0100000324,system -cntaobao11ayz0100000326,system -cntaobao11ayz0100000328,system -cntaobao11ayz0100000330,system -cntaobao11ayz0100000332,system -cntaobao11ayz0100000334,system -cntaobao11ayz0100000336,system -cntaobao11ayz0100000338,system -cntaobao11ayz0100000340,system -cntaobao11ayz0100000342,system -cntaobao11ayz0100000344,system -cntaobao11ayz0100000346,system -cntaobao11ayz0100000348,system -cntaobao11ayz0100000350,system -cntaobao11ayz0100000352,system -cntaobao11ayz0100000354,system -cntaobao11ayz0100000356,system -cntaobao11ayz0100000358,system -cntaobao11ayz0100000360,system -cntaobao11ayz0100000362,system -cntaobao11ayz0100000364,system -cntaobao11ayz0100000366,system -cntaobao11ayz0100000368,system -cntaobao11ayz0100000370,system -cntaobao11ayz0100000372,system -cntaobao11ayz0100000374,system -cntaobao11ayz0100000376,system -cntaobao11ayz0100000378,system -cntaobao11ayz0100000380,system -cntaobao11ayz0100000382,system -cntaobao11ayz0100000384,system -cntaobao11ayz0100000386,system -cntaobao11ayz0100000388,system -cntaobao11ayz0100000390,system -cntaobao11ayz0100000392,system -cntaobao11ayz0100000394,system -cntaobao11ayz0100000396,system -cntaobao11ayz0100000398,system -cntaobao11ayz0100000400,system -cntaobao11ayz0100000402,system -cntaobao11ayz0100000404,system -cntaobao11ayz0100000406,system -cntaobao11ayz0100000408,system -cntaobao11ayz0100000410,system -cntaobao11ayz0100000412,system -cntaobao11ayz0100000414,system -cntaobao11ayz0100000416,system -cntaobao11ayz0100000418,system -cntaobao11ayz0100000420,system -cntaobao11ayz0100000422,system -cntaobao11ayz0100000424,system -cntaobao11ayz0100000426,system -cntaobao11ayz0100000428,system -cntaobao11ayz0100000430,system -cntaobao11ayz0100000432,system -cntaobao11ayz0100000434,system -cntaobao11ayz0100000436,system -cntaobao11ayz0100000438,system -cntaobao11ayz0100000440,system -cntaobao11ayz0100000442,system -cntaobao11ayz0100000444,system -cntaobao11ayz0100000446,system -cntaobao11ayz0100000448,system -cntaobao11ayz0100000450,system -cntaobao11ayz0100000452,system -cntaobao11ayz0100000454,system -cntaobao11ayz0100000456,system -cntaobao11ayz0100000458,system -cntaobao11ayz0100000460,system -cntaobao11ayz0100000462,system -cntaobao11ayz0100000464,system -cntaobao11ayz0100000466,system -cntaobao11ayz0100000468,system -cntaobao11ayz0100000470,system -cntaobao11ayz0100000472,system -cntaobao11ayz0100000474,system -cntaobao11ayz0100000476,system -cntaobao11ayz0100000478,system -cntaobao11ayz0100000480,system -cntaobao11ayz0100000482,system -cntaobao11ayz0100000484,system -cntaobao11ayz0100000486,system -cntaobao11ayz0100000488,system -cntaobao11ayz0100000490,system -cntaobao11ayz0100000492,system -cntaobao11ayz0100000494,system -cntaobao11ayz0100000496,system -cntaobao11ayz0100000498,system -cntaobao11ayz0100000500,system -cntaobao11ayz0100000502,system -cntaobao11ayz0100000504,system -cntaobao11ayz0100000506,system -cntaobao11ayz0100000508,system -cntaobao11ayz0100000512,system -cntaobao11ayz0100000514,system -cntaobao11ayz0100000516,system -cntaobao11ayz0100000518,system -cntaobao11ayz0100000520,system -cntaobao11ayz0100000522,system -cntaobao11ayz0100000524,system -cntaobao11ayz0100000526,system -cntaobao11ayz0100000528,system -cntaobao11ayz0100000530,system -cntaobao11ayz0100000532,system -cntaobao11ayz0100000534,system -cntaobao11ayz0100000536,system -cntaobao11ayz0100000538,system -cntaobao11ayz0100000540,system -cntaobao11ayz0100000542,system -cntaobao11ayz0100000544,system -cntaobao11ayz0100000546,system -cntaobao11ayz0100000548,system -cntaobao11ayz0100000550,system -cntaobao11ayz0100000552,system -cntaobao11ayz0100000554,system -cntaobao11ayz0100000556,system -cntaobao11ayz0100000558,system -cntaobao11ayz0100000560,system -cntaobao11ayz0100000562,system -cntaobao11ayz0100000564,system -cntaobao11ayz0100000566,system -cntaobao11ayz0100000568,system -cntaobao11ayz0100000570,system -cntaobao11ayz0100000574,system -cntaobao11ayz0100000576,system -cntaobao11ayz0100000578,system -cntaobao11ayz0100000580,system -cntaobao11ayz0100000584,system -cntaobao11ayz0100000588,system -cntaobao11ayz0100000594,system -cntaobao11ayz0100000596,system -cntaobao11ayz0100000598,system -cntaobao11ayz0100000600,system -cntaobao11ayz0100000602,system -cntaobao11ayz0100000604,system -cntaobao11ayz0100000606,system -cntaobao11ayz0100000610,system -cntaobao11ayz0100000614,system -cntaobao11ayz0100000616,system -cntaobao11ayz0100000618,system -cntaobao11ayz0100000620,system -cntaobao11ayz0100000622,system -cntaobao11ayz0100000624,system -cntaobao11ayz0100000626,system -cntaobao11ayz0100000628,system -cntaobao11ayz0100000630,system -cntaobao11ayz0100000632,system -cntaobao11ayz0100000634,system -cntaobao11ayz0100000638,system -cntaobao11ayz0100000644,system -cntaobao11ayz0100000648,system -cntaobao11ayz0100000652,system -cntaobao11ayz0100000656,system -cntaobao11ayz0100000660,system -cntaobao11ayz0100000662,system -cntaobao11ayz0100000664,system -cntaobao11ayz0100000672,system -cntaobao11ayz0100000674,system -cntaobao11ayz0100000676,system -cntaobao11ayz0100000678,system -cntaobao11ayz0100000686,system -cntaobao11ayz0100000688,system -cntaobao11ayz0100000694,system -cntaobao11ayz0100000696,system -cntaobao11ayz0100000698,system -cntaobao11ayz0100000702,system -cntaobao11ayz0100000706,system -cntaobao11ayz0100000710,system -cntaobao11ayz0100000712,system -cntaobao11ayz0100000714,system -cntaobao11ayz0100000716,system -cntaobao11ayz0100000720,system -cntaobao11ayz0100000724,system -cntaobao11ayz0100000730,system -cntaobao11ayz0100000732,system -cntaobao11ayz0100000736,system -cntaobao11ayz0100000738,system -cntaobao11ayz0100000740,system -cntaobao11ayz0100000742,system -cntaobao11ayz0100000744,system -cntaobao11ayz0100000746,system -cntaobao11ayz0100000748,system -cntaobao11ayz0100000750,system -cntaobao11ayz0100000754,system -cntaobao11ayz0100000758,system -cntaobao11ayz0100000762,system -cntaobao11ayz0100000764,system -cntaobao11ayz0100000770,system -cntaobao11ayz0100000780,system -cntaobao11ayz0100000782,system -cntaobao11ayz0100000784,system -cntaobao11ayz0100000786,system -cntaobao11ayz0100000788,system -cntaobao11ayz0100000792,system -cntaobao11ayz0100000794,system -cntaobao11ayz0100000796,system -cntaobao11ayz0100000798,system -cntaobao11ayz0100000800,system -cntaobao11ayz0100000802,system -cntaobao11ayz0100000804,system -cntaobao11ayz0100000812,system -cntaobao11ayz0100000814,system -cntaobao11ayz0100000816,system -cntaobao11ayz0100000818,system -cntaobao11ayz0100000822,system -cntaobao11ayz0100000824,system -cntaobao11ayz0100000826,system -cntaobao11ayz0100000828,system -cntaobao11ayz0100000834,system -cntaobao11ayz0100000836,system -cntaobao11ayz0100000838,system -cntaobao11ayz0100000840,system -cntaobao11ayz0100000842,system -cntaobao11ayz0100000844,system -cntaobao11ayz0100000846,system -cntaobao11ayz0100000848,system -cntaobao11ayz0100000850,system -cntaobao11ayz0100000852,system -cntaobao11ayz0100000854,system -cntaobao11ayz0100000858,system -cntaobao11ayz0100000860,system -cntaobao11ayz0100000862,system -cntaobao11ayz0100000864,system -cntaobao11ayz0100000866,system -cntaobao11ayz0100000868,system -cntaobao11ayz0100000870,system -cntaobao11ayz0100000872,system -cntaobao11ayz0100000874,system -cntaobao11ayz0100000876,system -cntaobao11ayz0100000878,system -cntaobao11ayz0100000880,system -cntaobao11ayz0100000882,system -cntaobao11ayz0100000884,system -cntaobao11ayz0100000892,system -cntaobao11ayz0100000898,system -cntaobao11ayz0100000900,system -cntaobao11ayz0100000902,system -cntaobao11ayz0100000908,system -cntaobao11ayz0100000916,system -cntaobao11ayz0100000936,system -cntaobao11ayz0100000938,system -cntaobao11ayz0100000954,system -cntaobao11ayz0100000960,system -cntaobao11ayz0100000962,system -cntaobao11ayz0100000988,system -cntaobao11ayz0200000002,system -cntaobao11ayz0200000004,system -cntaobao11ayz0200000006,system -cntaobao11ayz0200000008,system -cntaobao11ayz0200000010,system -cntaobao11ayz0200000012,system -cntaobao11ayz0200000014,system -cntaobao11ayz0200000016,system -cntaobao11ayz0200000018,system -cntaobao11ayz0200000020,system -cntaobao11ayz0200000022,system -cntaobao11ayz0200000024,system -cntaobao11ayz0200000026,system -cntaobao11ayz0200000028,system -cntaobao11ayz0200000030,system -cntaobao11ayz0200000032,system -cntaobao11ayz0200000034,system -cntaobao11ayz0200000036,system -cntaobao11ayz0200000038,system -cntaobao11ayz0200000040,system -cntaobao11ayz0200000042,system -cntaobao11ayz0200000044,system -cntaobao11ayz0200000046,system -cntaobao11ayz0200000048,system -cntaobao11ayz0200000050,system -cntaobao11ayz0200000052,system -cntaobao11ayz0200000054,system -cntaobao11ayz0200000056,system -cntaobao11ayz0200000058,system -cntaobao11ayz0200000060,system -cntaobao11ayz0200000062,system -cntaobao11ayz0200000064,system -cntaobao11ayz0200000066,system -cntaobao11ayz0200000068,system -cntaobao11ayz0200000070,system -cntaobao11ayz0200000072,system -cntaobao11ayz0200000074,system -cntaobao11ayz0200000076,system -cntaobao11ayz0200000078,system -cntaobao11ayz0200000080,system -cntaobao11ayz0200000082,system -cntaobao11ayz0200000084,system -cntaobao11ayz0200000086,system -cntaobao11ayz0200000088,system -cntaobao11ayz0200000090,system -cntaobao11ayz0200000092,system -cntaobao11ayz0200000094,system -cntaobao11ayz0200000096,system -cntaobao11ayz0200000098,system -cntaobao11ayz0200000100,system -cntaobao11ayz0200000102,system -cntaobao11ayz0200000104,system -cntaobao11ayz0200000106,system -cntaobao11ayz0200000108,system -cntaobao11ayz0200000110,system -cntaobao11ayz0200000112,system -cntaobao11ayz0200000114,system -cntaobao11ayz0200000116,system -cntaobao11ayz0200000118,system -cntaobao11ayz0200000120,system -cntaobao11ayz0200000122,system -cntaobao11ayz0200000124,system -cntaobao11ayz0200000126,system -cntaobao11ayz0200000128,system -cntaobao11ayz0200000130,system -cntaobao11ayz0200000132,system -cntaobao11ayz0200000134,system -cntaobao11ayz0200000136,system -cntaobao11ayz0200000138,system -cntaobao11ayz0200000140,system -cntaobao11ayz0200000142,system -cntaobao11ayz0200000144,system -cntaobao11ayz0200000146,system -cntaobao11ayz0200000148,system -cntaobao11ayz0200000150,system -cntaobao11ayz0200000152,system -cntaobao11ayz0200000154,system -cntaobao11ayz0200000156,system -cntaobao11ayz0200000158,system -cntaobao11ayz0200000160,system -cntaobao11ayz0200000162,system -cntaobao11ayz0200000164,system -cntaobao11ayz0200000166,system -cntaobao11ayz0200000168,system -cntaobao11ayz0200000170,system -cntaobao11ayz0200000172,system -cntaobao11ayz0200000174,system -cntaobao11ayz0200000176,system -cntaobao11ayz0200000178,system -cntaobao11ayz0200000180,system -cntaobao11ayz0200000182,system -cntaobao11ayz0200000184,system -cntaobao11ayz0200000186,system -cntaobao11ayz0200000188,system -cntaobao11ayz0200000190,system -cntaobao11ayz0200000192,system -cntaobao11ayz0200000194,system -cntaobao11ayz0200000196,system -cntaobao11ayz0200000198,system -cntaobao11ayz0200000200,system -cntaobao11ayz0200000202,system -cntaobao11ayz0200000204,system -cntaobao11ayz0200000206,system -cntaobao11ayz0200000208,system -cntaobao11ayz0200000210,system -cntaobao11ayz0200000212,system -cntaobao11ayz0200000214,system -cntaobao11ayz0200000216,system -cntaobao11ayz0200000218,system -cntaobao11ayz0200000220,system -cntaobao11ayz0200000222,system -cntaobao11ayz0200000224,system -cntaobao11ayz0200000226,system -cntaobao11ayz0200000228,system -cntaobao11ayz0200000230,system -cntaobao11ayz0200000232,system -cntaobao11ayz0200000234,system -cntaobao11ayz0200000236,system -cntaobao11ayz0200000238,system -cntaobao11ayz0200000240,system -cntaobao11ayz0200000242,system -cntaobao11ayz0200000244,system -cntaobao11ayz0200000246,system -cntaobao11ayz0200000248,system -cntaobao11ayz0200000250,system -cntaobao11ayz0200000252,system -cntaobao11ayz0200000254,system -cntaobao11ayz0200000256,system -cntaobao11ayz0200000258,system -cntaobao11ayz0200000260,system -cntaobao11ayz0200000262,system -cntaobao11ayz0200000264,system -cntaobao11ayz0200000266,system -cntaobao11ayz0200000268,system -cntaobao11ayz0200000270,system -cntaobao11ayz0200000272,system -cntaobao11ayz0200000274,system -cntaobao11ayz0200000276,system -cntaobao11ayz0200000278,system -cntaobao11ayz0200000280,system -cntaobao11ayz0200000282,system -cntaobao11ayz0200000284,system -cntaobao11ayz0200000286,system -cntaobao11ayz0200000288,system -cntaobao11ayz0200000290,system -cntaobao11ayz0200000292,system -cntaobao11ayz0200000294,system -cntaobao11ayz0200000296,system -cntaobao11ayz0200000298,system -cntaobao11ayz0200000300,system -cntaobao11ayz0200000302,system -cntaobao11ayz0200000304,system -cntaobao11ayz0200000306,system -cntaobao11ayz0200000308,system -cntaobao11ayz0200000310,system -cntaobao11ayz0200000312,system -cntaobao11ayz0200000314,system -cntaobao11ayz0200000316,system -cntaobao11ayz0200000318,system -cntaobao11ayz0200000320,system -cntaobao11ayz0200000322,system -cntaobao11ayz0200000324,system -cntaobao11ayz0200000326,system -cntaobao11ayz0200000328,system -cntaobao11ayz0200000330,system -cntaobao11ayz0200000332,system -cntaobao11ayz0200000334,system -cntaobao11ayz0200000336,system -cntaobao11ayz0200000338,system -cntaobao11ayz0200000340,system -cntaobao11ayz0200000342,system -cntaobao11ayz0200000344,system -cntaobao11ayz0200000346,system -cntaobao11ayz0200000348,system -cntaobao11ayz0200000350,system -cntaobao11ayz0200000352,system -cntaobao11ayz0200000354,system -cntaobao11ayz0200000356,system -cntaobao11ayz0200000358,system -cntaobao11ayz0200000360,system -cntaobao11ayz0200000362,system -cntaobao11ayz0200000364,system -cntaobao11ayz0200000366,system -cntaobao11ayz0200000368,system -cntaobao11ayz0200000370,system -cntaobao11ayz0200000372,system -cntaobao11ayz0200000374,system -cntaobao11ayz0200000376,system -cntaobao11ayz0200000378,system -cntaobao11ayz0200000380,system -cntaobao11ayz0200000382,system -cntaobao11ayz0200000384,system -cntaobao11ayz0200000386,system -cntaobao11ayz0200000388,system -cntaobao11ayz0200000390,system -cntaobao11ayz0200000392,system -cntaobao11ayz0200000394,system -cntaobao11ayz0200000396,system -cntaobao11ayz0200000398,system -cntaobao11ayz0200000400,system -cntaobao11ayz0200000402,system -cntaobao11ayz0200000404,system -cntaobao11ayz0200000406,system -cntaobao11ayz0200000408,system -cntaobao11ayz0200000410,system -cntaobao11ayz0200000412,system -cntaobao11ayz0200000414,system -cntaobao11ayz0200000416,system -cntaobao11ayz0200000418,system -cntaobao11ayz0200000420,system -cntaobao11ayz0200000422,system -cntaobao11ayz0200000424,system -cntaobao11ayz0200000426,system -cntaobao11ayz0200000428,system -cntaobao11ayz0200000430,system -cntaobao11ayz0200000432,system -cntaobao11ayz0200000434,system -cntaobao11ayz0200000436,system -cntaobao11ayz0200000438,system -cntaobao11ayz0200000440,system -cntaobao11ayz0200000442,system -cntaobao11ayz0200000444,system -cntaobao11ayz0200000446,system -cntaobao11ayz0200000448,system -cntaobao11ayz0200000450,system -cntaobao11ayz0200000452,system -cntaobao11ayz0200000454,system -cntaobao11ayz0200000456,system -cntaobao11ayz0200000458,system -cntaobao11ayz0200000460,system -cntaobao11ayz0200000462,system -cntaobao11ayz0200000464,system -cntaobao11ayz0200000466,system -cntaobao11ayz0200000468,system -cntaobao11ayz0200000470,system -cntaobao11ayz0200000472,system -cntaobao11ayz0200000474,system -cntaobao11ayz0200000476,system -cntaobao11ayz0200000478,system -cntaobao11ayz0200000480,system -cntaobao11ayz0200000482,system -cntaobao11ayz0200000484,system -cntaobao11ayz0200000486,system -cntaobao11ayz0200000488,system -cntaobao11ayz0200000490,system -cntaobao11ayz0200000492,system -cntaobao11ayz0200000494,system -cntaobao11ayz0200000496,system -cntaobao11ayz0200000498,system -cntaobao11ayz0200000500,system -cntaobao11ayz0200000502,system -cntaobao11ayz0200000504,system -cntaobao11ayz0200000506,system -cntaobao11ayz0200000508,system -cntaobao11ayz0200000510,system -cntaobao11ayz0200000512,system -cntaobao11ayz0200000514,system -cntaobao11ayz0200000516,system -cntaobao11ayz0200000518,system -cntaobao11ayz0200000520,system -cntaobao11ayz0200000522,system -cntaobao11ayz0200000524,system -cntaobao11ayz0200000526,system -cntaobao11ayz0200000528,system -cntaobao11ayz0200000530,system -cntaobao11ayz0200000532,system -cntaobao11ayz0200000534,system -cntaobao11ayz0200000536,system -cntaobao11ayz0200000538,system -cntaobao11ayz0200000540,system -cntaobao11ayz0200000542,system -cntaobao11ayz0200000544,system -cntaobao11ayz0200000546,system -cntaobao11ayz0200000548,system -cntaobao11ayz0200000550,system -cntaobao11ayz0200000552,system -cntaobao11ayz0200000554,system -cntaobao11ayz0200000556,system -cntaobao11ayz0200000558,system -cntaobao11ayz0200000560,system -cntaobao11ayz0200000562,system -cntaobao11ayz0200000564,system -cntaobao11ayz0200000566,system -cntaobao11ayz0200000570,system -cntaobao11ayz0200000572,system -cntaobao11ayz0200000574,system -cntaobao11ayz0200000578,system -cntaobao11ayz0200000580,system -cntaobao11ayz0200000582,system -cntaobao11ayz0200000584,system -cntaobao11ayz0200000586,system -cntaobao11ayz0200000588,system -cntaobao11ayz0200000592,system -cntaobao11ayz0200000596,system -cntaobao11ayz0200000598,system -cntaobao11ayz0200000608,system -cntaobao11ayz0200000612,system -cntaobao11ayz0200000614,system -cntaobao11ayz0200000618,system -cntaobao11ayz0200000620,system -cntaobao11ayz0200000622,system -cntaobao11ayz0200000624,system -cntaobao11ayz0200000626,system -cntaobao11ayz0200000630,system -cntaobao11ayz0200000632,system -cntaobao11ayz0200000636,system -cntaobao11ayz0200000644,system -cntaobao11ayz0200000648,system -cntaobao11ayz0200000652,system -cntaobao11ayz0200000654,system -cntaobao11ayz0200000660,system -cntaobao11ayz0200000662,system -cntaobao11ayz0200000664,system -cntaobao11ayz0200000672,system -cntaobao11ayz0200000674,system -cntaobao11ayz0200000676,system -cntaobao11ayz0200000678,system -cntaobao11ayz0200000682,system -cntaobao11ayz0200000684,system -cntaobao11ayz0200000686,system -cntaobao11ayz0200000688,system -cntaobao11ayz0200000692,system -cntaobao11ayz0200000694,system -cntaobao11ayz0200000698,system -cntaobao11ayz0200000702,system -cntaobao11ayz0200000704,system -cntaobao11ayz0200000706,system -cntaobao11ayz0200000708,system -cntaobao11ayz0200000712,system -cntaobao11ayz0200000716,system -cntaobao11ayz0200000718,system -cntaobao11ayz0200000720,system -cntaobao11ayz0200000722,system -cntaobao11ayz0200000728,system -cntaobao11ayz0200000730,system -cntaobao11ayz0200000732,system -cntaobao11ayz0200000734,system -cntaobao11ayz0200000742,system -cntaobao11ayz0200000744,system -cntaobao11ayz0200000746,system -cntaobao11ayz0200000748,system -cntaobao11ayz0200000750,system -cntaobao11ayz0200000762,system -cntaobao11ayz0200000768,system -cntaobao11ayz0200000776,system -cntaobao11ayz0200000778,system -cntaobao11ayz0200000784,system -cntaobao11ayz0200000788,system -cntaobao11ayz0200000790,system -cntaobao11ayz0200000798,system -cntaobao11ayz0200000804,system -cntaobao11ayz0200000806,system -cntaobao11ayz0200000808,system -cntaobao11ayz0200000812,system -cntaobao11ayz0200000814,system -cntaobao11ayz0200000818,system -cntaobao11ayz0200000826,system -cntaobao11ayz0200000830,system -cntaobao11ayz0200000832,system -cntaobao11ayz0200000834,system -cntaobao11ayz0200000838,system -cntaobao11ayz0200000840,system -cntaobao11ayz0200000844,system -cntaobao11ayz0200000850,system -cntaobao11ayz0200000852,system -cntaobao11ayz0200000854,system -cntaobao11ayz0200000856,system -cntaobao11ayz0200000860,system -cntaobao11ayz0200000862,system -cntaobao11ayz0200000864,system -cntaobao11ayz0200000866,system -cntaobao11ayz0200000868,system -cntaobao11ayz0200000870,system -cntaobao11ayz0200000872,system -cntaobao11ayz0200000874,system -cntaobao11ayz0200000878,system -cntaobao11ayz0200000886,system -cntaobao11ayz0200000890,system -cntaobao11ayz0200000892,system -cntaobao11ayz0200000896,system -cntaobao11ayz0200000898,system -cntaobao11ayz0200000904,system -cntaobao11ayz0200000906,system -cntaobao11ayz0200000912,system -cntaobao11ayz0200000914,system -cntaobao11ayz0200000918,system -cntaobao11ayz0200000922,system -cntaobao11ayz0200000926,system -cntaobao11ayz0200000928,system -cntaobao11ayz0200000938,system -cntaobao11ayz0200000954,system -cntaobao11ayz0200000962,system -cntaobao11ayz0200000970,system -cntaobao11ayz0200000978,system -cntaobao11ayz0300000002,system -cntaobao11ayz0300000004,system -cntaobao11ayz0300000006,system -cntaobao11ayz0300000008,system -cntaobao11ayz0300000010,system -cntaobao11ayz0300000012,system -cntaobao11ayz0300000014,system -cntaobao11ayz0300000016,system -cntaobao11ayz0300000018,system -cntaobao11ayz0300000020,system -cntaobao11ayz0300000022,system -cntaobao11ayz0300000024,system -cntaobao11ayz0300000026,system -cntaobao11ayz0300000028,system -cntaobao11ayz0300000030,system -cntaobao11ayz0300000032,system -cntaobao11ayz0300000034,system -cntaobao11ayz0300000036,system -cntaobao11ayz0300000038,system -cntaobao11ayz0300000040,system -cntaobao11ayz0300000042,system -cntaobao11ayz0300000044,system -cntaobao11ayz0300000046,system -cntaobao11ayz0300000048,system -cntaobao11ayz0300000050,system -cntaobao11ayz0300000052,system -cntaobao11ayz0300000054,system -cntaobao11ayz0300000056,system -cntaobao11ayz0300000058,system -cntaobao11ayz0300000060,system -cntaobao11ayz0300000062,system -cntaobao11ayz0300000064,system -cntaobao11ayz0300000066,system -cntaobao11ayz0300000068,system -cntaobao11ayz0300000070,system -cntaobao11ayz0300000072,system -cntaobao11ayz0300000074,system -cntaobao11ayz0300000076,system -cntaobao11ayz0300000078,system -cntaobao11ayz0300000080,system -cntaobao11ayz0300000082,system -cntaobao11ayz0300000084,system -cntaobao11ayz0300000086,system -cntaobao11ayz0300000088,system -cntaobao11ayz0300000090,system -cntaobao11ayz0300000092,system -cntaobao11ayz0300000094,system -cntaobao11ayz0300000096,system -cntaobao11ayz0300000098,system -cntaobao11ayz0300000100,system -cntaobao11ayz0300000102,system -cntaobao11ayz0300000104,system -cntaobao11ayz0300000106,system -cntaobao11ayz0300000108,system -cntaobao11ayz0300000110,system -cntaobao11ayz0300000112,system -cntaobao11ayz0300000114,system -cntaobao11ayz0300000116,system -cntaobao11ayz0300000118,system -cntaobao11ayz0300000120,system -cntaobao11ayz0300000122,system -cntaobao11ayz0300000124,system -cntaobao11ayz0300000126,system -cntaobao11ayz0300000128,system -cntaobao11ayz0300000130,system -cntaobao11ayz0300000132,system -cntaobao11ayz0300000134,system -cntaobao11ayz0300000136,system -cntaobao11ayz0300000138,system -cntaobao11ayz0300000140,system -cntaobao11ayz0300000142,system -cntaobao11ayz0300000144,system -cntaobao11ayz0300000146,system -cntaobao11ayz0300000148,system -cntaobao11ayz0300000150,system -cntaobao11ayz0300000152,system -cntaobao11ayz0300000154,system -cntaobao11ayz0300000156,system -cntaobao11ayz0300000158,system -cntaobao11ayz0300000160,system -cntaobao11ayz0300000162,system -cntaobao11ayz0300000164,system -cntaobao11ayz0300000166,system -cntaobao11ayz0300000168,system -cntaobao11ayz0300000170,system -cntaobao11ayz0300000172,system -cntaobao11ayz0300000174,system -cntaobao11ayz0300000176,system -cntaobao11ayz0300000178,system -cntaobao11ayz0300000180,system -cntaobao11ayz0300000182,system -cntaobao11ayz0300000184,system -cntaobao11ayz0300000186,system -cntaobao11ayz0300000188,system -cntaobao11ayz0300000190,system -cntaobao11ayz0300000192,system -cntaobao11ayz0300000194,system -cntaobao11ayz0300000196,system -cntaobao11ayz0300000198,system -cntaobao11ayz0300000200,system -cntaobao11ayz0300000202,system -cntaobao11ayz0300000204,system -cntaobao11ayz0300000206,system -cntaobao11ayz0300000208,system -cntaobao11ayz0300000210,system -cntaobao11ayz0300000212,system -cntaobao11ayz0300000214,system -cntaobao11ayz0300000216,system -cntaobao11ayz0300000218,system -cntaobao11ayz0300000220,system -cntaobao11ayz0300000222,system -cntaobao11ayz0300000224,system -cntaobao11ayz0300000226,system -cntaobao11ayz0300000228,system -cntaobao11ayz0300000230,system -cntaobao11ayz0300000232,system -cntaobao11ayz0300000234,system -cntaobao11ayz0300000236,system -cntaobao11ayz0300000238,system -cntaobao11ayz0300000240,system -cntaobao11ayz0300000242,system -cntaobao11ayz0300000244,system -cntaobao11ayz0300000246,system -cntaobao11ayz0300000248,system -cntaobao11ayz0300000250,system -cntaobao11ayz0300000252,system -cntaobao11ayz0300000254,system -cntaobao11ayz0300000256,system -cntaobao11ayz0300000258,system -cntaobao11ayz0300000260,system -cntaobao11ayz0300000262,system -cntaobao11ayz0300000264,system -cntaobao11ayz0300000266,system -cntaobao11ayz0300000268,system -cntaobao11ayz0300000270,system -cntaobao11ayz0300000272,system -cntaobao11ayz0300000274,system -cntaobao11ayz0300000276,system -cntaobao11ayz0300000278,system -cntaobao11ayz0300000280,system -cntaobao11ayz0300000282,system -cntaobao11ayz0300000284,system -cntaobao11ayz0300000286,system -cntaobao11ayz0300000288,system -cntaobao11ayz0300000290,system -cntaobao11ayz0300000292,system -cntaobao11ayz0300000294,system -cntaobao11ayz0300000296,system -cntaobao11ayz0300000298,system -cntaobao11ayz0300000300,system -cntaobao11ayz0300000302,system -cntaobao11ayz0300000304,system -cntaobao11ayz0300000306,system -cntaobao11ayz0300000308,system -cntaobao11ayz0300000310,system -cntaobao11ayz0300000312,system -cntaobao11ayz0300000314,system -cntaobao11ayz0300000316,system -cntaobao11ayz0300000318,system -cntaobao11ayz0300000320,system -cntaobao11ayz0300000322,system -cntaobao11ayz0300000324,system -cntaobao11ayz0300000326,system -cntaobao11ayz0300000328,system -cntaobao11ayz0300000330,system -cntaobao11ayz0300000332,system -cntaobao11ayz0300000334,system -cntaobao11ayz0300000336,system -cntaobao11ayz0300000338,system -cntaobao11ayz0300000340,system -cntaobao11ayz0300000342,system -cntaobao11ayz0300000344,system -cntaobao11ayz0300000346,system -cntaobao11ayz0300000348,system -cntaobao11ayz0300000350,system -cntaobao11ayz0300000352,system -cntaobao11ayz0300000354,system -cntaobao11ayz0300000356,system -cntaobao11ayz0300000358,system -cntaobao11ayz0300000360,system -cntaobao11ayz0300000362,system -cntaobao11ayz0300000364,system -cntaobao11ayz0300000366,system -cntaobao11ayz0300000368,system -cntaobao11ayz0300000370,system -cntaobao11ayz0300000372,system -cntaobao11ayz0300000374,system -cntaobao11ayz0300000376,system -cntaobao11ayz0300000378,system -cntaobao11ayz0300000380,system -cntaobao11ayz0300000382,system -cntaobao11ayz0300000384,system -cntaobao11ayz0300000386,system -cntaobao11ayz0300000388,system -cntaobao11ayz0300000390,system -cntaobao11ayz0300000392,system -cntaobao11ayz0300000394,system -cntaobao11ayz0300000398,system -cntaobao11ayz0300000400,system -cntaobao11ayz0300000402,system -cntaobao11ayz0300000404,system -cntaobao11ayz0300000406,system -cntaobao11ayz0300000408,system -cntaobao11ayz0300000410,system -cntaobao11ayz0300000412,system -cntaobao11ayz0300000414,system -cntaobao11ayz0300000416,system -cntaobao11ayz0300000418,system -cntaobao11ayz0300000420,system -cntaobao11ayz0300000422,system -cntaobao11ayz0300000426,system -cntaobao11ayz0300000428,system -cntaobao11ayz0300000430,system -cntaobao11ayz0300000432,system -cntaobao11ayz0300000434,system -cntaobao11ayz0300000438,system -cntaobao11ayz0300000440,system -cntaobao11ayz0300000442,system -cntaobao11ayz0300000444,system -cntaobao11ayz0300000446,system -cntaobao11ayz0300000448,system -cntaobao11ayz0300000450,system -cntaobao11ayz0300000452,system -cntaobao11ayz0300000454,system -cntaobao11ayz0300000456,system -cntaobao11ayz0300000458,system -cntaobao11ayz0300000460,system -cntaobao11ayz0300000462,system -cntaobao11ayz0300000464,system -cntaobao11ayz0300000466,system -cntaobao11ayz0300000468,system -cntaobao11ayz0300000470,system -cntaobao11ayz0300000472,system -cntaobao11ayz0300000474,system -cntaobao11ayz0300000476,system -cntaobao11ayz0300000478,system -cntaobao11ayz0300000480,system -cntaobao11ayz0300000482,system -cntaobao11ayz0300000484,system -cntaobao11ayz0300000486,system -cntaobao11ayz0300000488,system -cntaobao11ayz0300000490,system -cntaobao11ayz0300000492,system -cntaobao11ayz0300000494,system -cntaobao11ayz0300000496,system -cntaobao11ayz0300000498,system -cntaobao11ayz0300000500,system -cntaobao11ayz0300000502,system -cntaobao11ayz0300000504,system -cntaobao11ayz0300000506,system -cntaobao11ayz0300000508,system -cntaobao11ayz0300000510,system -cntaobao11ayz0300000512,system -cntaobao11ayz0300000514,system -cntaobao11ayz0300000516,system -cntaobao11ayz0300000518,system -cntaobao11ayz0300000522,system -cntaobao11ayz0300000524,system -cntaobao11ayz0300000526,system -cntaobao11ayz0300000528,system -cntaobao11ayz0300000530,system -cntaobao11ayz0300000532,system -cntaobao11ayz0300000534,system -cntaobao11ayz0300000536,system -cntaobao11ayz0300000538,system -cntaobao11ayz0300000540,system -cntaobao11ayz0300000542,system -cntaobao11ayz0300000544,system -cntaobao11ayz0300000546,system -cntaobao11ayz0300000548,system -cntaobao11ayz0300000550,system -cntaobao11ayz0300000552,system -cntaobao11ayz0300000554,system -cntaobao11ayz0300000556,system -cntaobao11ayz0300000558,system -cntaobao11ayz0300000560,system -cntaobao11ayz0300000562,system -cntaobao11ayz0300000564,system -cntaobao11ayz0300000568,system -cntaobao11ayz0300000570,system -cntaobao11ayz0300000572,system -cntaobao11ayz0300000576,system -cntaobao11ayz0300000578,system -cntaobao11ayz0300000580,system -cntaobao11ayz0300000582,system -cntaobao11ayz0300000584,system -cntaobao11ayz0300000586,system -cntaobao11ayz0300000588,system diff --git a/features/aliww/data/bind_unbind.dat b/features/aliww/data/bind_unbind.dat deleted file mode 100644 index becc381..0000000 --- a/features/aliww/data/bind_unbind.dat +++ /dev/null @@ -1,9999 +0,0 @@ -cnphpwnd99999@aliyun0,cntaobao-11998 -cnphpwnd99999@aliyun1,cntaobao-67892 -cnphpwnd99999@aliyun3,cntaobao-barbie- -cnphpwnd99999@aliyun4,cntaobao-basaka -cnphpwnd99999@aliyun5,cntaobao-bingbing- -cnphpwnd99999@aliyun6,cntaobao-cream- -cnphpwnd99999@aliyun7,cntaobao-elevation- -cnphpwnd99999@aliyun8,cntaobao-eric- -cnphpwnd99999@aliyun9,cntaobao-j-c- -cnphpwnd99999@aliyun10,cntaobao-jasonwood -cnphpwnd99999@aliyun11,cntaobao-jkd- -cnphpwnd99999@aliyun12,cntaobao-john -cnphpwnd99999@aliyun13,cntaobao-jun- -cnphpwnd99999@aliyun14,cntaobao-mk- -cnphpwnd99999@aliyun15,cntaobao-mqq- -cnphpwnd99999@aliyun16,cntaobao-patti- -cnphpwnd99999@aliyun17,cntaobao-psp- -cnphpwnd99999@aliyun18,cntaobao-sammi- -cnphpwnd99999@aliyun19,cntaobao-seven- -cnphpwnd99999@aliyun20,cntaobao-talent- -cnphpwnd99999@aliyun21,cntaobao-tjs- -cnphpwnd99999@aliyun22,cntaobao-trunks- -cnphpwnd99999@aliyun23,cntaobao-xiaomai- -cnphpwnd99999@aliyun24,cntaobao-yangzi -cnphpwnd99999@aliyun25,cntaobao-yhd- -cnphpwnd99999@aliyun26,cntaobao-zhaoyong- -cnphpwnd99999@aliyun27,cntaobao.123asd -cnphpwnd99999@aliyun28,cntaobao.45acp -cnphpwnd99999@aliyun29,cntaobao.apple.yu -cnphpwnd99999@aliyun30,cntaobao0.0.1 -cnphpwnd99999@aliyun31,cntaobao0.0.8 -cnphpwnd99999@aliyun32,cntaobao00-1 -cnphpwnd99999@aliyun33,cntaobao000000008c -cnphpwnd99999@aliyun34,cntaobao00000000hai -cnphpwnd99999@aliyun35,cntaobao000002w -cnphpwnd99999@aliyun36,cntaobao00000abc -cnphpwnd99999@aliyun37,cntaobao00000yang -cnphpwnd99999@aliyun38,cntaobao00002009gxy -cnphpwnd99999@aliyun39,cntaobao000147land -cnphpwnd99999@aliyun40,cntaobao0001pan -cnphpwnd99999@aliyun41,cntaobao000700_cn1 -cnphpwnd99999@aliyun42,cntaobao000963as -cnphpwnd99999@aliyun43,cntaobao000js -cnphpwnd99999@aliyun44,cntaobao000liujun -cnphpwnd99999@aliyun45,cntaobao000lkx -cnphpwnd99999@aliyun46,cntaobao000maple -cnphpwnd99999@aliyun47,cntaobao000masca -cnphpwnd99999@aliyun48,cntaobao000milihua000 -cnphpwnd99999@aliyun49,cntaobao000miller -cnphpwnd99999@aliyun50,cntaobao000superman000 -cnphpwnd99999@aliyun51,cntaobao000woaini -cnphpwnd99999@aliyun52,cntaobao000ying -cnphpwnd99999@aliyun53,cntaobao000zero -cnphpwnd99999@aliyun54,cntaobao000zhaoxin -cnphpwnd99999@aliyun55,cntaobao000zhou000 -cnphpwnd99999@aliyun56,cntaobao001001001a -cnphpwnd99999@aliyun57,cntaobao00112233aabbccdd -cnphpwnd99999@aliyun58,cntaobao001127pan -cnphpwnd99999@aliyun59,cntaobao0015563qinyao -cnphpwnd99999@aliyun60,cntaobao00168zjp -cnphpwnd99999@aliyun61,cntaobao001afd -cnphpwnd99999@aliyun62,cntaobao001baby -cnphpwnd99999@aliyun63,cntaobao001dalong -cnphpwnd99999@aliyun64,cntaobao001happy -cnphpwnd99999@aliyun65,cntaobao001huangrong -cnphpwnd99999@aliyun66,cntaobao001nature -cnphpwnd99999@aliyun67,cntaobao001sina -cnphpwnd99999@aliyun68,cntaobao001wangjianqiang -cnphpwnd99999@aliyun69,cntaobao001zhangji -cnphpwnd99999@aliyun70,cntaobao002angel -cnphpwnd99999@aliyun71,cntaobao003-sa -cnphpwnd99999@aliyun72,cntaobao0030013587152linjian -cnphpwnd99999@aliyun73,cntaobao003837xiang -cnphpwnd99999@aliyun74,cntaobao003jianglei -cnphpwnd99999@aliyun75,cntaobao003wang -cnphpwnd99999@aliyun76,cntaobao004-è€è™« -cnphpwnd99999@aliyun77,cntaobao00544c -cnphpwnd99999@aliyun78,cntaobao00544wang -cnphpwnd99999@aliyun79,cntaobao0056yue -cnphpwnd99999@aliyun80,cntaobao005farmer005 -cnphpwnd99999@aliyun81,cntaobao007321j38 -cnphpwnd99999@aliyun82,cntaobao00741840jj -cnphpwnd99999@aliyun83,cntaobao0079394y -cnphpwnd99999@aliyun84,cntaobao007_apple -cnphpwnd99999@aliyun85,cntaobao007_liujia -cnphpwnd99999@aliyun86,cntaobao007_terminator -cnphpwnd99999@aliyun87,cntaobao007_wangxu -cnphpwnd99999@aliyun88,cntaobao007ab -cnphpwnd99999@aliyun89,cntaobao007abc -cnphpwnd99999@aliyun90,cntaobao007angel -cnphpwnd99999@aliyun91,cntaobao007avril -cnphpwnd99999@aliyun92,cntaobao007bluesea -cnphpwnd99999@aliyun93,cntaobao007caih -cnphpwnd99999@aliyun94,cntaobao007chaochao -cnphpwnd99999@aliyun95,cntaobao007jamesjiang -cnphpwnd99999@aliyun96,cntaobao007playboy -cnphpwnd99999@aliyun97,cntaobao007shanghaichq -cnphpwnd99999@aliyun98,cntaobao007superman910 -cnphpwnd99999@aliyun99,cntaobao007w008 -cnphpwnd99999@aliyun100,cntaobao007xujiajun -cnphpwnd99999@aliyun101,cntaobao007zyh008 -cnphpwnd99999@aliyun102,cntaobao008_angel -cnphpwnd99999@aliyun103,cntaobao008black -cnphpwnd99999@aliyun104,cntaobao008g -cnphpwnd99999@aliyun105,cntaobao008ganggang -cnphpwnd99999@aliyun106,cntaobao008shanhang -cnphpwnd99999@aliyun107,cntaobao008wangshuo -cnphpwnd99999@aliyun108,cntaobao008xiang -cnphpwnd99999@aliyun109,cntaobao0099aass -cnphpwnd99999@aliyun110,cntaobao009a1 -cnphpwnd99999@aliyun111,cntaobao009firedragon -cnphpwnd99999@aliyun112,cntaobao009hank -cnphpwnd99999@aliyun113,cntaobao009tang -cnphpwnd99999@aliyun114,cntaobao00a1a2a3a4 -cnphpwnd99999@aliyun115,cntaobao00a22 -cnphpwnd99999@aliyun116,cntaobao00atubo -cnphpwnd99999@aliyun117,cntaobao00baby -cnphpwnd99999@aliyun118,cntaobao00gaoxin00 -cnphpwnd99999@aliyun119,cntaobao00hai2004 -cnphpwnd99999@aliyun120,cntaobao00han1 -cnphpwnd99999@aliyun121,cntaobao00hanwei -cnphpwnd99999@aliyun122,cntaobao00i45hayj -cnphpwnd99999@aliyun123,cntaobao00jhyz -cnphpwnd99999@aliyun124,cntaobao00lalala00 -cnphpwnd99999@aliyun125,cntaobao00lang -cnphpwnd99999@aliyun126,cntaobao00mary -cnphpwnd99999@aliyun127,cntaobao00rainbow -cnphpwnd99999@aliyun128,cntaobao00range -cnphpwnd99999@aliyun129,cntaobao00susan -cnphpwnd99999@aliyun130,cntaobao00v00 -cnphpwnd99999@aliyun131,cntaobao00yan1982 -cnphpwnd99999@aliyun132,cntaobao00zhangrui00 -cnphpwnd99999@aliyun133,cntaobao00zhaoxin -cnphpwnd99999@aliyun134,cntaobao00zhaoyong -cnphpwnd99999@aliyun135,cntaobao0102jessica -cnphpwnd99999@aliyun136,cntaobao0109and1016 -cnphpwnd99999@aliyun137,cntaobao010zufang -cnphpwnd99999@aliyun138,cntaobao0111.wang -cnphpwnd99999@aliyun139,cntaobao0112244abe -cnphpwnd99999@aliyun140,cntaobao0122aa -cnphpwnd99999@aliyun141,cntaobao0123wangwentao -cnphpwnd99999@aliyun142,cntaobao0123zhanghaibin -cnphpwnd99999@aliyun143,cntaobao0123zhangzhi -cnphpwnd99999@aliyun144,cntaobao0124yuhoucaihong -cnphpwnd99999@aliyun145,cntaobao01311846abc -cnphpwnd99999@aliyun146,cntaobao0131aya -cnphpwnd99999@aliyun147,cntaobao016woaini -cnphpwnd99999@aliyun148,cntaobao0171206-a -cnphpwnd99999@aliyun149,cntaobao0175lan -cnphpwnd99999@aliyun150,cntaobao019cat -cnphpwnd99999@aliyun151,cntaobao01rainbowfox -cnphpwnd99999@aliyun152,cntaobao01sandy -cnphpwnd99999@aliyun153,cntaobao01tracy2005 -cnphpwnd99999@aliyun154,cntaobao01wangfeng -cnphpwnd99999@aliyun155,cntaobao01wanglin -cnphpwnd99999@aliyun156,cntaobao02-yuan -cnphpwnd99999@aliyun157,cntaobao0201jian -cnphpwnd99999@aliyun158,cntaobao020lanlan -cnphpwnd99999@aliyun159,cntaobao02110huang -cnphpwnd99999@aliyun160,cntaobao0214jiajia -cnphpwnd99999@aliyun161,cntaobao021608huang -cnphpwnd99999@aliyun162,cntaobao0218tiandi -cnphpwnd99999@aliyun163,cntaobao021fang -cnphpwnd99999@aliyun164,cntaobao021tianzi -cnphpwnd99999@aliyun165,cntaobao021xianer -cnphpwnd99999@aliyun166,cntaobao022710naughtyqueen -cnphpwnd99999@aliyun167,cntaobao0229anddy -cnphpwnd99999@aliyun168,cntaobao022_22 -cnphpwnd99999@aliyun169,cntaobao022dandan -cnphpwnd99999@aliyun170,cntaobao022wanzhaoyi512 -cnphpwnd99999@aliyun171,cntaobao026china.com -cnphpwnd99999@aliyun172,cntaobao02dangzhibu -cnphpwnd99999@aliyun173,cntaobao02maggie -cnphpwnd99999@aliyun174,cntaobao02sea-c -cnphpwnd99999@aliyun175,cntaobao02xda -cnphpwnd99999@aliyun176,cntaobao03-abcpj -cnphpwnd99999@aliyun177,cntaobao0317liuxiang -cnphpwnd99999@aliyun178,cntaobao0317liwang -cnphpwnd99999@aliyun179,cntaobao0323liangzi -cnphpwnd99999@aliyun180,cntaobao0327abc -cnphpwnd99999@aliyun181,cntaobao034027250霹雳 -cnphpwnd99999@aliyun182,cntaobao0351yangbin -cnphpwnd99999@aliyun183,cntaobao0357a -cnphpwnd99999@aliyun184,cntaobao0378abc -cnphpwnd99999@aliyun185,cntaobao03_a -cnphpwnd99999@aliyun186,cntaobao03ad -cnphpwnd99999@aliyun187,cntaobao03auto-wx -cnphpwnd99999@aliyun188,cntaobao03ecyxxiao -cnphpwnd99999@aliyun189,cntaobao03å¹´çš„å°è´ -cnphpwnd99999@aliyun190,cntaobao040221xiaoxiao -cnphpwnd99999@aliyun191,cntaobao0402abc -cnphpwnd99999@aliyun192,cntaobao0408231ace -cnphpwnd99999@aliyun193,cntaobao0412wangwei -cnphpwnd99999@aliyun194,cntaobao0417hailang -cnphpwnd99999@aliyun195,cntaobao041banji -cnphpwnd99999@aliyun196,cntaobao0433xiaoning -cnphpwnd99999@aliyun197,cntaobao0452shuaige -cnphpwnd99999@aliyun198,cntaobao0453020fay -cnphpwnd99999@aliyun199,cntaobao04807zswad -cnphpwnd99999@aliyun200,cntaobao04_victoria -cnphpwnd99999@aliyun201,cntaobao04piaoxue -cnphpwnd99999@aliyun202,cntaobao0506onsale -cnphpwnd99999@aliyun203,cntaobao0509gao -cnphpwnd99999@aliyun204,cntaobao05102118612asd -cnphpwnd99999@aliyun205,cntaobao0513yuanzhong -cnphpwnd99999@aliyun206,cntaobao0518all -cnphpwnd99999@aliyun207,cntaobao0518dabi -cnphpwnd99999@aliyun208,cntaobao052010a -cnphpwnd99999@aliyun209,cntaobao0535huaguan -cnphpwnd99999@aliyun210,cntaobao0554kuangli -cnphpwnd99999@aliyun211,cntaobao0571lancome -cnphpwnd99999@aliyun212,cntaobao0574abs -cnphpwnd99999@aliyun213,cntaobao0577air -cnphpwnd99999@aliyun214,cntaobao0595binghuan -cnphpwnd99999@aliyun215,cntaobao05971001a -cnphpwnd99999@aliyun216,cntaobao05chan -cnphpwnd99999@aliyun217,cntaobao05easter -cnphpwnd99999@aliyun218,cntaobao05edgar -cnphpwnd99999@aliyun219,cntaobao05zhanghanling -cnphpwnd99999@aliyun220,cntaobao0629zhangqi -cnphpwnd99999@aliyun221,cntaobao0630zhuai1 -cnphpwnd99999@aliyun222,cntaobao0630zhuai5 -cnphpwnd99999@aliyun223,cntaobao0632caobingde -cnphpwnd99999@aliyun224,cntaobao0632dongqiang -cnphpwnd99999@aliyun225,cntaobao06501zhang -cnphpwnd99999@aliyun226,cntaobao0661cailigui -cnphpwnd99999@aliyun227,cntaobao0663xiaozhu -cnphpwnd99999@aliyun228,cntaobao0716kay -cnphpwnd99999@aliyun229,cntaobao0754jack888 -cnphpwnd99999@aliyun230,cntaobao0772ayu -cnphpwnd99999@aliyun231,cntaobao07a1s4jk -cnphpwnd99999@aliyun232,cntaobao07hack -cnphpwnd99999@aliyun233,cntaobao07zhanglei -cnphpwnd99999@aliyun234,cntaobao0801xiaofan -cnphpwnd99999@aliyun235,cntaobao0812alvin -cnphpwnd99999@aliyun236,cntaobao084samzeng -cnphpwnd99999@aliyun237,cntaobao0864aa -cnphpwnd99999@aliyun238,cntaobao08alan -cnphpwnd99999@aliyun239,cntaobao08atyliou -cnphpwnd99999@aliyun240,cntaobao08linqiang -cnphpwnd99999@aliyun241,cntaobao08woshishuaige -cnphpwnd99999@aliyun242,cntaobao0932313woaini -cnphpwnd99999@aliyun243,cntaobao0937ctgafmyruq -cnphpwnd99999@aliyun244,cntaobao09876123a -cnphpwnd99999@aliyun245,cntaobao0987oiuam -cnphpwnd99999@aliyun246,cntaobao098aua8 -cnphpwnd99999@aliyun247,cntaobao098lkjhgfdsa -cnphpwnd99999@aliyun248,cntaobao0998nijat -cnphpwnd99999@aliyun249,cntaobao09tianbo -cnphpwnd99999@aliyun250,cntaobao0_clamp_0 -cnphpwnd99999@aliyun251,cntaobao0a38317b -cnphpwnd99999@aliyun252,cntaobao0aa0 -cnphpwnd99999@aliyun253,cntaobao0aaaaa -cnphpwnd99999@aliyun254,cntaobao0aileen0 -cnphpwnd99999@aliyun255,cntaobao0aking -cnphpwnd99999@aliyun256,cntaobao0autumn0 -cnphpwnd99999@aliyun257,cntaobao0cat -cnphpwnd99999@aliyun258,cntaobao0ceanus -cnphpwnd99999@aliyun259,cntaobao0dongyuhua0 -cnphpwnd99999@aliyun260,cntaobao0enpast0 -cnphpwnd99999@aliyun261,cntaobao0euuyadfvqam4vbh7jz -cnphpwnd99999@aliyun262,cntaobao0fengtao0 -cnphpwnd99999@aliyun263,cntaobao0huan0 -cnphpwnd99999@aliyun264,cntaobao0huang520 -cnphpwnd99999@aliyun265,cntaobao0huaxiao0 -cnphpwnd99999@aliyun266,cntaobao0jayboy0 -cnphpwnd99999@aliyun267,cntaobao0lisa -cnphpwnd99999@aliyun268,cntaobao0livia -cnphpwnd99999@aliyun269,cntaobao0liwang0 -cnphpwnd99999@aliyun270,cntaobao0magician0 -cnphpwnd99999@aliyun271,cntaobao0mars -cnphpwnd99999@aliyun272,cntaobao0mianjiu0 -cnphpwnd99999@aliyun273,cntaobao0nancy111 -cnphpwnd99999@aliyun274,cntaobao0racky0 -cnphpwnd99999@aliyun275,cntaobao0rane -cnphpwnd99999@aliyun276,cntaobao0shark0 -cnphpwnd99999@aliyun277,cntaobao0start -cnphpwnd99999@aliyun278,cntaobao0t4dhlacz0 -cnphpwnd99999@aliyun279,cntaobao0tian0 -cnphpwnd99999@aliyun280,cntaobao0wangjian1 -cnphpwnd99999@aliyun281,cntaobao0wangyi0 -cnphpwnd99999@aliyun282,cntaobao0william01080553167 -cnphpwnd99999@aliyun283,cntaobao0yangzhao0 -cnphpwnd99999@aliyun284,cntaobao0zhan0 -cnphpwnd99999@aliyun285,cntaobao0zhangyan5 -cnphpwnd99999@aliyun286,cntaobao1-aaaa -cnphpwnd99999@aliyun287,cntaobao1-image -cnphpwnd99999@aliyun288,cntaobao1-one-man -cnphpwnd99999@aliyun289,cntaobao100000aaa -cnphpwnd99999@aliyun290,cntaobao1000abcd -cnphpwnd99999@aliyun291,cntaobao1000show -cnphpwnd99999@aliyun292,cntaobao1000wangtao -cnphpwnd99999@aliyun293,cntaobao1001han -cnphpwnd99999@aliyun294,cntaobao1001reason -cnphpwnd99999@aliyun295,cntaobao100432828a -cnphpwnd99999@aliyun296,cntaobao10080t -cnphpwnd99999@aliyun297,cntaobao1008_alon -cnphpwnd99999@aliyun298,cntaobao1008a1008b -cnphpwnd99999@aliyun299,cntaobao100aj200aj -cnphpwnd99999@aliyun300,cntaobao100asp -cnphpwnd99999@aliyun301,cntaobao100caoyang -cnphpwnd99999@aliyun302,cntaobao100cat -cnphpwnd99999@aliyun303,cntaobao100chao -cnphpwnd99999@aliyun304,cntaobao100fang -cnphpwnd99999@aliyun305,cntaobao100fun -cnphpwnd99999@aliyun306,cntaobao100idea -cnphpwnd99999@aliyun307,cntaobao100orange -cnphpwnd99999@aliyun308,cntaobao100roma -cnphpwnd99999@aliyun309,cntaobao100shuma -cnphpwnd99999@aliyun310,cntaobao100star -cnphpwnd99999@aliyun311,cntaobao10112355abc -cnphpwnd99999@aliyun312,cntaobao101209tian -cnphpwnd99999@aliyun313,cntaobao1013xiangkun -cnphpwnd99999@aliyun314,cntaobao1014huangyan -cnphpwnd99999@aliyun315,cntaobao1016angel -cnphpwnd99999@aliyun316,cntaobao1017hua -cnphpwnd99999@aliyun317,cntaobao1017pan -cnphpwnd99999@aliyun318,cntaobao1019yaner -cnphpwnd99999@aliyun319,cntaobao101amy -cnphpwnd99999@aliyun320,cntaobao101bandian -cnphpwnd99999@aliyun321,cntaobao101oscarwang -cnphpwnd99999@aliyun322,cntaobao101yan -cnphpwnd99999@aliyun323,cntaobao1021a -cnphpwnd99999@aliyun324,cntaobao1021rain -cnphpwnd99999@aliyun325,cntaobao1026yan -cnphpwnd99999@aliyun326,cntaobao102788yangyang -cnphpwnd99999@aliyun327,cntaobao1027dasha -cnphpwnd99999@aliyun328,cntaobao1028baojihe -cnphpwnd99999@aliyun329,cntaobao102baby -cnphpwnd99999@aliyun330,cntaobao102lan -cnphpwnd99999@aliyun331,cntaobao1031195a -cnphpwnd99999@aliyun332,cntaobao1031xiaoyang -cnphpwnd99999@aliyun333,cntaobao103_jacob -cnphpwnd99999@aliyun334,cntaobao103ajie -cnphpwnd99999@aliyun335,cntaobao103cagen -cnphpwnd99999@aliyun336,cntaobao103snake -cnphpwnd99999@aliyun337,cntaobao106016521zhaohua -cnphpwnd99999@aliyun338,cntaobao109608337tian -cnphpwnd99999@aliyun339,cntaobao109rao -cnphpwnd99999@aliyun340,cntaobao10bar -cnphpwnd99999@aliyun341,cntaobao10fish -cnphpwnd99999@aliyun342,cntaobao10haha -cnphpwnd99999@aliyun343,cntaobao10haoallan -cnphpwnd99999@aliyun344,cntaobao10jqka -cnphpwnd99999@aliyun345,cntaobao10paopaotang -cnphpwnd99999@aliyun346,cntaobao10star -cnphpwnd99999@aliyun347,cntaobao10totta -cnphpwnd99999@aliyun348,cntaobao110112119a -cnphpwnd99999@aliyun349,cntaobao110119chao -cnphpwnd99999@aliyun350,cntaobao1101qaz -cnphpwnd99999@aliyun351,cntaobao1104wawa -cnphpwnd99999@aliyun352,cntaobao110844095a -cnphpwnd99999@aliyun353,cntaobao110abc -cnphpwnd99999@aliyun354,cntaobao110palpalpal -cnphpwnd99999@aliyun355,cntaobao110tangxiaoxiao -cnphpwnd99999@aliyun356,cntaobao11111111aa -cnphpwnd99999@aliyun357,cntaobao111111aa1 -cnphpwnd99999@aliyun358,cntaobao111111aa67 -cnphpwnd99999@aliyun359,cntaobao111111as -cnphpwnd99999@aliyun360,cntaobao1111zhaojian -cnphpwnd99999@aliyun361,cntaobao111222aaasss -cnphpwnd99999@aliyun362,cntaobao11123huanxiang -cnphpwnd99999@aliyun363,cntaobao1112ha -cnphpwnd99999@aliyun364,cntaobao1112yy -cnphpwnd99999@aliyun365,cntaobao11150angel -cnphpwnd99999@aliyun366,cntaobao1115amy -cnphpwnd99999@aliyun367,cntaobao111a051010 -cnphpwnd99999@aliyun368,cntaobao111aa222bb -cnphpwnd99999@aliyun369,cntaobao111bao -cnphpwnd99999@aliyun370,cntaobao111jia -cnphpwnd99999@aliyun371,cntaobao111playingcards -cnphpwnd99999@aliyun372,cntaobao111wangjie -cnphpwnd99999@aliyun373,cntaobao111yuasnu -cnphpwnd99999@aliyun374,cntaobao1121prettycat -cnphpwnd99999@aliyun375,cntaobao112233asd -cnphpwnd99999@aliyun376,cntaobao1122axfc -cnphpwnd99999@aliyun377,cntaobao1122qwertyuiop007 -cnphpwnd99999@aliyun378,cntaobao1122qwertyuiop008 -cnphpwnd99999@aliyun379,cntaobao1123linda -cnphpwnd99999@aliyun380,cntaobao112488873zhao -cnphpwnd99999@aliyun381,cntaobao1126saw -cnphpwnd99999@aliyun382,cntaobao1128aniki -cnphpwnd99999@aliyun383,cntaobao1129qwertyuiop001 -cnphpwnd99999@aliyun384,cntaobao1129wukan -cnphpwnd99999@aliyun385,cntaobao112asda -cnphpwnd99999@aliyun386,cntaobao112huangcong -cnphpwnd99999@aliyun387,cntaobao112kang -cnphpwnd99999@aliyun388,cntaobao112vian -cnphpwnd99999@aliyun389,cntaobao1130sunday -cnphpwnd99999@aliyun390,cntaobao11323fan -cnphpwnd99999@aliyun391,cntaobao11334das -cnphpwnd99999@aliyun392,cntaobao113539127aa -cnphpwnd99999@aliyun393,cntaobao113542510a -cnphpwnd99999@aliyun394,cntaobao113711garfield -cnphpwnd99999@aliyun395,cntaobao114511201a -cnphpwnd99999@aliyun396,cntaobao114857484abc -cnphpwnd99999@aliyun397,cntaobao114ma -cnphpwnd99999@aliyun398,cntaobao114rachel -cnphpwnd99999@aliyun399,cntaobao11555yang -cnphpwnd99999@aliyun400,cntaobao1155saww -cnphpwnd99999@aliyun401,cntaobao115abc -cnphpwnd99999@aliyun402,cntaobao1168qianbin -cnphpwnd99999@aliyun403,cntaobao116heyao116 -cnphpwnd99999@aliyun404,cntaobao117520huangjuan -cnphpwnd99999@aliyun405,cntaobao117729177han -cnphpwnd99999@aliyun406,cntaobao117gaow -cnphpwnd99999@aliyun407,cntaobao117jack -cnphpwnd99999@aliyun408,cntaobao117sail -cnphpwnd99999@aliyun409,cntaobao117xiaodi -cnphpwnd99999@aliyun410,cntaobao1186899shanshan88 -cnphpwnd99999@aliyun411,cntaobao1188242a -cnphpwnd99999@aliyun412,cntaobao1188liufangzhou -cnphpwnd99999@aliyun413,cntaobao119-game -cnphpwnd99999@aliyun414,cntaobao1190803a -cnphpwnd99999@aliyun415,cntaobao1199368aw -cnphpwnd99999@aliyun416,cntaobao11999922qian -cnphpwnd99999@aliyun417,cntaobao119bearbear -cnphpwnd99999@aliyun418,cntaobao119swa -cnphpwnd99999@aliyun419,cntaobao11a22s -cnphpwnd99999@aliyun420,cntaobao11aabb -cnphpwnd99999@aliyun421,cntaobao11archer -cnphpwnd99999@aliyun422,cntaobao11chenyao11 -cnphpwnd99999@aliyun423,cntaobao11china -cnphpwnd99999@aliyun424,cntaobao11dian -cnphpwnd99999@aliyun425,cntaobao11gao11 -cnphpwnd99999@aliyun426,cntaobao11gnap -cnphpwnd99999@aliyun427,cntaobao11hao -cnphpwnd99999@aliyun428,cntaobao11heart -cnphpwnd99999@aliyun429,cntaobao11kaikaihua11 -cnphpwnd99999@aliyun430,cntaobao11lang -cnphpwnd99999@aliyun431,cntaobao11lanxin -cnphpwnd99999@aliyun432,cntaobao11liuyang6 -cnphpwnd99999@aliyun433,cntaobao11papa -cnphpwnd99999@aliyun434,cntaobao11pollyanna -cnphpwnd99999@aliyun435,cntaobao11tiansuai -cnphpwnd99999@aliyun436,cntaobao11uu -cnphpwnd99999@aliyun437,cntaobao11wangxing -cnphpwnd99999@aliyun438,cntaobao11wanwan -cnphpwnd99999@aliyun439,cntaobao11water -cnphpwnd99999@aliyun440,cntaobao11xxstar -cnphpwnd99999@aliyun441,cntaobao11yanglu -cnphpwnd99999@aliyun442,cntaobao11zax -cnphpwnd99999@aliyun443,cntaobao11zhao28 -cnphpwnd99999@aliyun444,cntaobao12-lay -cnphpwnd99999@aliyun445,cntaobao120106a -cnphpwnd99999@aliyun446,cntaobao1204abcd -cnphpwnd99999@aliyun447,cntaobao1205xiaoxin -cnphpwnd99999@aliyun448,cntaobao120614534abc -cnphpwnd99999@aliyun449,cntaobao120abc5550 -cnphpwnd99999@aliyun450,cntaobao120rainy -cnphpwnd99999@aliyun451,cntaobao12120012a -cnphpwnd99999@aliyun452,cntaobao1218bingshanxue -cnphpwnd99999@aliyun453,cntaobao1218oscar -cnphpwnd99999@aliyun454,cntaobao12195358abc -cnphpwnd99999@aliyun455,cntaobao12202qaz -cnphpwnd99999@aliyun456,cntaobao122108402a -cnphpwnd99999@aliyun457,cntaobao1223am -cnphpwnd99999@aliyun458,cntaobao122673536orange -cnphpwnd99999@aliyun459,cntaobao122709aflgg1 -cnphpwnd99999@aliyun460,cntaobao1227jiangy -cnphpwnd99999@aliyun461,cntaobao1227yangfeng -cnphpwnd99999@aliyun462,cntaobao1228linda -cnphpwnd99999@aliyun463,cntaobao1228yangshuai -cnphpwnd99999@aliyun464,cntaobao122a -cnphpwnd99999@aliyun465,cntaobao122abb -cnphpwnd99999@aliyun466,cntaobao122angle -cnphpwnd99999@aliyun467,cntaobao123-lina -cnphpwnd99999@aliyun468,cntaobao123033abcd -cnphpwnd99999@aliyun469,cntaobao123068asdfg -cnphpwnd99999@aliyun470,cntaobao1231213asd -cnphpwnd99999@aliyun471,cntaobao123123aa -cnphpwnd99999@aliyun472,cntaobao123123luziang -cnphpwnd99999@aliyun473,cntaobao123123pantao -cnphpwnd99999@aliyun474,cntaobao1231hamu -cnphpwnd99999@aliyun475,cntaobao123222 -cnphpwnd99999@aliyun476,cntaobao123222aaaaaaaaaaa -cnphpwnd99999@aliyun477,cntaobao123321a -cnphpwnd99999@aliyun478,cntaobao123321aaa1 -cnphpwnd99999@aliyun479,cntaobao12345-6a -cnphpwnd99999@aliyun480,cntaobao1234545a -cnphpwnd99999@aliyun481,cntaobao1234554321a -cnphpwnd99999@aliyun482,cntaobao1234562320 -cnphpwnd99999@aliyun483,cntaobao1234567 -cnphpwnd99999@aliyun484,cntaobao123456789 -cnphpwnd99999@aliyun485,cntaobao123456789000abc -cnphpwnd99999@aliyun486,cntaobao12345678945abc -cnphpwnd99999@aliyun487,cntaobao123456789_guan -cnphpwnd99999@aliyun488,cntaobao123456789aaa_007 -cnphpwnd99999@aliyun489,cntaobao123456789ab_2005 -cnphpwnd99999@aliyun490,cntaobao123456789abc -cnphpwnd99999@aliyun491,cntaobao123456789abc_007 -cnphpwnd99999@aliyun492,cntaobao123456789abcde -cnphpwnd99999@aliyun493,cntaobao123456789abcdefg -cnphpwnd99999@aliyun494,cntaobao123456789akk -cnphpwnd99999@aliyun495,cntaobao123456789amly -cnphpwnd99999@aliyun496,cntaobao123456789an -cnphpwnd99999@aliyun497,cntaobao123456789chenliang -cnphpwnd99999@aliyun498,cntaobao123456789hanyan -cnphpwnd99999@aliyun499,cntaobao123456789jane -cnphpwnd99999@aliyun500,cntaobao123456789lan -cnphpwnd99999@aliyun501,cntaobao123456789liqiang -cnphpwnd99999@aliyun502,cntaobao123456789wanglibin -cnphpwnd99999@aliyun503,cntaobao12345678a88 -cnphpwnd99999@aliyun504,cntaobao1234567abcd -cnphpwnd99999@aliyun505,cntaobao1234567abcdefg -cnphpwnd99999@aliyun506,cntaobao1234567danke -cnphpwnd99999@aliyun507,cntaobao123456_asd -cnphpwnd99999@aliyun508,cntaobao123456a388 -cnphpwnd99999@aliyun509,cntaobao123456abc007 -cnphpwnd99999@aliyun510,cntaobao123456abc51 -cnphpwnd99999@aliyun511,cntaobao123456amy -cnphpwnd99999@aliyun512,cntaobao123456asdfgh -cnphpwnd99999@aliyun513,cntaobao123456aw -cnphpwnd99999@aliyun514,cntaobao123456happy -cnphpwnd99999@aliyun515,cntaobao123456jiajia -cnphpwnd99999@aliyun516,cntaobao123456jiangbo -cnphpwnd99999@aliyun517,cntaobao123456nature607 -cnphpwnd99999@aliyun518,cntaobao123456san -cnphpwnd99999@aliyun519,cntaobao123456shang -cnphpwnd99999@aliyun520,cntaobao123456tian -cnphpwnd99999@aliyun521,cntaobao123456wan -cnphpwnd99999@aliyun522,cntaobao123456woai -cnphpwnd99999@aliyun523,cntaobao123456yanruyu -cnphpwnd99999@aliyun524,cntaobao123456zhangtao -cnphpwnd99999@aliyun525,cntaobao123456zhengjian -cnphpwnd99999@aliyun526,cntaobao123459haha -cnphpwnd99999@aliyun527,cntaobao12345abcdefghijkl -cnphpwnd99999@aliyun528,cntaobao12345abcdn -cnphpwnd99999@aliyun529,cntaobao12345huang -cnphpwnd99999@aliyun530,cntaobao12345hubao -cnphpwnd99999@aliyun531,cntaobao12345ladingxi -cnphpwnd99999@aliyun532,cntaobao12345slayer -cnphpwnd99999@aliyun533,cntaobao12345wang -cnphpwnd99999@aliyun534,cntaobao12345woshibaobao -cnphpwnd99999@aliyun535,cntaobao12345zaq -cnphpwnd99999@aliyun536,cntaobao1234_gaoyan -cnphpwnd99999@aliyun537,cntaobao1234abc88 -cnphpwnd99999@aliyun538,cntaobao1234alucard -cnphpwnd99999@aliyun539,cntaobao1234asdf -cnphpwnd99999@aliyun540,cntaobao1234ban -cnphpwnd99999@aliyun541,cntaobao1234caoyong -cnphpwnd99999@aliyun542,cntaobao1234guan -cnphpwnd99999@aliyun543,cntaobao1234haha -cnphpwnd99999@aliyun544,cntaobao1234kanung -cnphpwnd99999@aliyun545,cntaobao1234lisa -cnphpwnd99999@aliyun546,cntaobao1234player -cnphpwnd99999@aliyun547,cntaobao1234qazwsx -cnphpwnd99999@aliyun548,cntaobao1234ruhua -cnphpwnd99999@aliyun549,cntaobao1234sai -cnphpwnd99999@aliyun550,cntaobao1234xujianfeng -cnphpwnd99999@aliyun551,cntaobao1234zhao -cnphpwnd99999@aliyun552,cntaobao1235man -cnphpwnd99999@aliyun553,cntaobao123654a -cnphpwnd99999@aliyun554,cntaobao12369874a -cnphpwnd99999@aliyun555,cntaobao123798958malong -cnphpwnd99999@aliyun556,cntaobao123_abc456 -cnphpwnd99999@aliyun557,cntaobao123_duan -cnphpwnd99999@aliyun558,cntaobao123_sarah -cnphpwnd99999@aliyun559,cntaobao123_yayahoho -cnphpwnd99999@aliyun560,cntaobao123a007 -cnphpwnd99999@aliyun561,cntaobao123a123b -cnphpwnd99999@aliyun562,cntaobao123a16 -cnphpwnd99999@aliyun563,cntaobao123a456b78 -cnphpwnd99999@aliyun564,cntaobao123a456b789c -cnphpwnd99999@aliyun565,cntaobao123a456b789c1 -cnphpwnd99999@aliyun566,cntaobao123a4a -cnphpwnd99999@aliyun567,cntaobao123aa -cnphpwnd99999@aliyun568,cntaobao123aa2 -cnphpwnd99999@aliyun569,cntaobao123aaa -cnphpwnd99999@aliyun570,cntaobao123aaabbb -cnphpwnd99999@aliyun571,cntaobao123abc007 -cnphpwnd99999@aliyun572,cntaobao123abc11 -cnphpwnd99999@aliyun573,cntaobao123abc123abc2 -cnphpwnd99999@aliyun574,cntaobao123abc17 -cnphpwnd99999@aliyun575,cntaobao123abc188 -cnphpwnd99999@aliyun576,cntaobao123abc321 -cnphpwnd99999@aliyun577,cntaobao123abc373 -cnphpwnd99999@aliyun578,cntaobao123abcd000 -cnphpwnd99999@aliyun579,cntaobao123abcdef -cnphpwnd99999@aliyun580,cntaobao123abcp -cnphpwnd99999@aliyun581,cntaobao123abcxyz -cnphpwnd99999@aliyun582,cntaobao123abcz -cnphpwnd99999@aliyun583,cntaobao123aby_709 -cnphpwnd99999@aliyun584,cntaobao123angel00 -cnphpwnd99999@aliyun585,cntaobao123anjing -cnphpwnd99999@aliyun586,cntaobao123annie -cnphpwnd99999@aliyun587,cntaobao123as -cnphpwnd99999@aliyun588,cntaobao123ath -cnphpwnd99999@aliyun589,cntaobao123awang -cnphpwnd99999@aliyun590,cntaobao123axax456 -cnphpwnd99999@aliyun591,cntaobao123baobao123 -cnphpwnd99999@aliyun592,cntaobao123belinda -cnphpwnd99999@aliyun593,cntaobao123boboao -cnphpwnd99999@aliyun594,cntaobao123caofei -cnphpwnd99999@aliyun595,cntaobao123cxhuayu -cnphpwnd99999@aliyun596,cntaobao123dainty123 -cnphpwnd99999@aliyun597,cntaobao123dandan456 -cnphpwnd99999@aliyun598,cntaobao123dax520 -cnphpwnd99999@aliyun599,cntaobao123doublehappiness -cnphpwnd99999@aliyun600,cntaobao123fishhuang -cnphpwnd99999@aliyun601,cntaobao123ganjuan -cnphpwnd99999@aliyun602,cntaobao123gaoyang123 -cnphpwnd99999@aliyun603,cntaobao123gillian -cnphpwnd99999@aliyun604,cntaobao123gracie -cnphpwnd99999@aliyun605,cntaobao123guanheng -cnphpwnd99999@aliyun606,cntaobao123haha -cnphpwnd99999@aliyun607,cntaobao123hahao -cnphpwnd99999@aliyun608,cntaobao123haxiao -cnphpwnd99999@aliyun609,cntaobao123jacky111 -cnphpwnd99999@aliyun610,cntaobao123jade -cnphpwnd99999@aliyun611,cntaobao123jiajia -cnphpwnd99999@aliyun612,cntaobao123jiang -cnphpwnd99999@aliyun613,cntaobao123kaigongsi -cnphpwnd99999@aliyun614,cntaobao123karl -cnphpwnd99999@aliyun615,cntaobao123ketia -cnphpwnd99999@aliyun616,cntaobao123liangjing -cnphpwnd99999@aliyun617,cntaobao123lida -cnphpwnd99999@aliyun618,cntaobao123lihaihua -cnphpwnd99999@aliyun619,cntaobao123luan -cnphpwnd99999@aliyun620,cntaobao123mandy456 -cnphpwnd99999@aliyun621,cntaobao123mary889 -cnphpwnd99999@aliyun622,cntaobao123milan -cnphpwnd99999@aliyun623,cntaobao123nba -cnphpwnd99999@aliyun624,cntaobao123nbaabc -cnphpwnd99999@aliyun625,cntaobao123panfurong -cnphpwnd99999@aliyun626,cntaobao123qidai -cnphpwnd99999@aliyun627,cntaobao123sa324d -cnphpwnd99999@aliyun628,cntaobao123shguangzi -cnphpwnd99999@aliyun629,cntaobao123shifan -cnphpwnd99999@aliyun630,cntaobao123suoyuliang -cnphpwnd99999@aliyun631,cntaobao123tianqi -cnphpwnd99999@aliyun632,cntaobao123vickie -cnphpwnd99999@aliyun633,cntaobao123wangb -cnphpwnd99999@aliyun634,cntaobao123wangjie -cnphpwnd99999@aliyun635,cntaobao123wangju123 -cnphpwnd99999@aliyun636,cntaobao123woai123 -cnphpwnd99999@aliyun637,cntaobao123xiamin -cnphpwnd99999@aliyun638,cntaobao123xiao -cnphpwnd99999@aliyun639,cntaobao123xiaodao123 -cnphpwnd99999@aliyun640,cntaobao123xiaoxiao123 -cnphpwnd99999@aliyun641,cntaobao123xiaoxiao897 -cnphpwnd99999@aliyun642,cntaobao123xiaoyue -cnphpwnd99999@aliyun643,cntaobao123yang -cnphpwnd99999@aliyun644,cntaobao123yang8888 -cnphpwnd99999@aliyun645,cntaobao123yangxw -cnphpwnd99999@aliyun646,cntaobao123zhanght -cnphpwnd99999@aliyun647,cntaobao123zhangjia -cnphpwnd99999@aliyun648,cntaobao123zhaowei3166 -cnphpwnd99999@aliyun649,cntaobao123zhu_yan_ji -cnphpwnd99999@aliyun650,cntaobao124601alice -cnphpwnd99999@aliyun651,cntaobao125318884a -cnphpwnd99999@aliyun652,cntaobao125753284aa -cnphpwnd99999@aliyun653,cntaobao1257abcd -cnphpwnd99999@aliyun654,cntaobao12587951asd -cnphpwnd99999@aliyun655,cntaobao12589775ab -cnphpwnd99999@aliyun656,cntaobao125ga -cnphpwnd99999@aliyun657,cntaobao125t -cnphpwnd99999@aliyun658,cntaobao125yangbo5 -cnphpwnd99999@aliyun659,cntaobao1266aa -cnphpwnd99999@aliyun660,cntaobao126mao -cnphpwnd99999@aliyun661,cntaobao127091019aaa -cnphpwnd99999@aliyun662,cntaobao1283wang -cnphpwnd99999@aliyun663,cntaobao129380sai -cnphpwnd99999@aliyun664,cntaobao12ab34 -cnphpwnd99999@aliyun665,cntaobao12abmn -cnphpwnd99999@aliyun666,cntaobao12apples -cnphpwnd99999@aliyun667,cntaobao12chpao -cnphpwnd99999@aliyun668,cntaobao12dongyang -cnphpwnd99999@aliyun669,cntaobao12hehua -cnphpwnd99999@aliyun670,cntaobao12huanghui -cnphpwnd99999@aliyun671,cntaobao12ma -cnphpwnd99999@aliyun672,cntaobao12magic -cnphpwnd99999@aliyun673,cntaobao12orang -cnphpwnd99999@aliyun674,cntaobao12qaz12 -cnphpwnd99999@aliyun675,cntaobao12qwaszx3 -cnphpwnd99999@aliyun676,cntaobao12qwaszx34er -cnphpwnd99999@aliyun677,cntaobao12qwer12as -cnphpwnd99999@aliyun678,cntaobao12qwsa -cnphpwnd99999@aliyun679,cntaobao12xiao -cnphpwnd99999@aliyun680,cntaobao12xiaotian -cnphpwnd99999@aliyun681,cntaobao12yuan -cnphpwnd99999@aliyun682,cntaobao12zxcas -cnphpwnd99999@aliyun683,cntaobao130023asd -cnphpwnd99999@aliyun684,cntaobao13034771161gao -cnphpwnd99999@aliyun685,cntaobao131191aini -cnphpwnd99999@aliyun686,cntaobao131420520liao -cnphpwnd99999@aliyun687,cntaobao1314520bai -cnphpwnd99999@aliyun688,cntaobao1314520jacky -cnphpwnd99999@aliyun689,cntaobao1314520kangqin -cnphpwnd99999@aliyun690,cntaobao1314aipy -cnphpwnd99999@aliyun691,cntaobao1314asd -cnphpwnd99999@aliyun692,cntaobao1314da -cnphpwnd99999@aliyun693,cntaobao1314daiweshi -cnphpwnd99999@aliyun694,cntaobao1314jawm -cnphpwnd99999@aliyun695,cntaobao1314tanlili -cnphpwnd99999@aliyun696,cntaobao13153593717a -cnphpwnd99999@aliyun697,cntaobao1319502wang -cnphpwnd99999@aliyun698,cntaobao1323aa -cnphpwnd99999@aliyun699,cntaobao13246946466a -cnphpwnd99999@aliyun700,cntaobao132zaqwsx -cnphpwnd99999@aliyun701,cntaobao13301988010ang -cnphpwnd99999@aliyun702,cntaobao13308461750liaihui -cnphpwnd99999@aliyun703,cntaobao1331a85736 -cnphpwnd99999@aliyun704,cntaobao13321936441shanghai -cnphpwnd99999@aliyun705,cntaobao13353carry -cnphpwnd99999@aliyun706,cntaobao133abcdefgh -cnphpwnd99999@aliyun707,cntaobao133anson -cnphpwnd99999@aliyun708,cntaobao133ccfba -cnphpwnd99999@aliyun709,cntaobao133jason -cnphpwnd99999@aliyun710,cntaobao13476284458a -cnphpwnd99999@aliyun711,cntaobao135135abcd -cnphpwnd99999@aliyun712,cntaobao13520ar.rr -cnphpwnd99999@aliyun713,cntaobao135592aa -cnphpwnd99999@aliyun714,cntaobao13573149200aaa -cnphpwnd99999@aliyun715,cntaobao13579abcd -cnphpwnd99999@aliyun716,cntaobao13579cai -cnphpwnd99999@aliyun717,cntaobao1357liuyang -cnphpwnd99999@aliyun718,cntaobao13587509ab -cnphpwnd99999@aliyun719,cntaobao1358asd3 -cnphpwnd99999@aliyun720,cntaobao135aking -cnphpwnd99999@aliyun721,cntaobao13617486555wang -cnphpwnd99999@aliyun722,cntaobao13622786352abc -cnphpwnd99999@aliyun723,cntaobao1364maokai -cnphpwnd99999@aliyun724,cntaobao13670248749xukaikuo -cnphpwnd99999@aliyun725,cntaobao136abcd -cnphpwnd99999@aliyun726,cntaobao13715415078zhang -cnphpwnd99999@aliyun727,cntaobao13727702889aa -cnphpwnd99999@aliyun728,cntaobao137586abcd -cnphpwnd99999@aliyun729,cntaobao137bao -cnphpwnd99999@aliyun730,cntaobao138034397a -cnphpwnd99999@aliyun731,cntaobao13803767513aaaa -cnphpwnd99999@aliyun732,cntaobao13822471404aaa -cnphpwnd99999@aliyun733,cntaobao13828036393a -cnphpwnd99999@aliyun734,cntaobao1383900tang -cnphpwnd99999@aliyun735,cntaobao13843155225ai -cnphpwnd99999@aliyun736,cntaobao1385294aaaa -cnphpwnd99999@aliyun737,cntaobao138668a -cnphpwnd99999@aliyun738,cntaobao138mandy -cnphpwnd99999@aliyun739,cntaobao1390185aleck -cnphpwnd99999@aliyun740,cntaobao139362298961998111as -cnphpwnd99999@aliyun741,cntaobao1393xiaoxiao -cnphpwnd99999@aliyun742,cntaobao13969794906shandian -cnphpwnd99999@aliyun743,cntaobao139youkai -cnphpwnd99999@aliyun744,cntaobao13april -cnphpwnd99999@aliyun745,cntaobao13arr -cnphpwnd99999@aliyun746,cntaobao13daniel -cnphpwnd99999@aliyun747,cntaobao13day -cnphpwnd99999@aliyun748,cntaobao13dian10 -cnphpwnd99999@aliyun749,cntaobao13haoxi -cnphpwnd99999@aliyun750,cntaobao13qaz13 -cnphpwnd99999@aliyun751,cntaobao13randon -cnphpwnd99999@aliyun752,cntaobao13shao -cnphpwnd99999@aliyun753,cntaobao13xiaoqian -cnphpwnd99999@aliyun754,cntaobao13xiaoshizi -cnphpwnd99999@aliyun755,cntaobao13yuan -cnphpwnd99999@aliyun756,cntaobao141320a1 -cnphpwnd99999@aliyun757,cntaobao1414allan -cnphpwnd99999@aliyun758,cntaobao142327wan4012863 -cnphpwnd99999@aliyun759,cntaobao143988_conniexia -cnphpwnd99999@aliyun760,cntaobao1488366abc -cnphpwnd99999@aliyun761,cntaobao149802354a -cnphpwnd99999@aliyun762,cntaobao149albee -cnphpwnd99999@aliyun763,cntaobao14changhao -cnphpwnd99999@aliyun764,cntaobao150494a -cnphpwnd99999@aliyun765,cntaobao150792wang_2005 -cnphpwnd99999@aliyun766,cntaobao151aa151 -cnphpwnd99999@aliyun767,cntaobao1532119wiaini -cnphpwnd99999@aliyun768,cntaobao15439baby -cnphpwnd99999@aliyun769,cntaobao156494102fanng -cnphpwnd99999@aliyun770,cntaobao156711382sa -cnphpwnd99999@aliyun771,cntaobao156823818ade -cnphpwnd99999@aliyun772,cntaobao1568zhang -cnphpwnd99999@aliyun773,cntaobao156yanteng -cnphpwnd99999@aliyun774,cntaobao158jame -cnphpwnd99999@aliyun775,cntaobao159357aaa -cnphpwnd99999@aliyun776,cntaobao159357aby -cnphpwnd99999@aliyun777,cntaobao159357datc -cnphpwnd99999@aliyun778,cntaobao159753a3a3 -cnphpwnd99999@aliyun779,cntaobao159875321a -cnphpwnd99999@aliyun780,cntaobao159aaaaa -cnphpwnd99999@aliyun781,cntaobao15abc15 -cnphpwnd99999@aliyun782,cntaobao15aspirit -cnphpwnd99999@aliyun783,cntaobao15baobao -cnphpwnd99999@aliyun784,cntaobao15raytoy -cnphpwnd99999@aliyun785,cntaobao15year -cnphpwnd99999@aliyun786,cntaobao160zay17 -cnphpwnd99999@aliyun787,cntaobao1618tianshi -cnphpwnd99999@aliyun788,cntaobao1638888hao -cnphpwnd99999@aliyun789,cntaobao163888fans1 -cnphpwnd99999@aliyun790,cntaobao163_feimao -cnphpwnd99999@aliyun791,cntaobao163jinqiao -cnphpwnd99999@aliyun792,cntaobao163may -cnphpwnd99999@aliyun793,cntaobao163sha163 -cnphpwnd99999@aliyun794,cntaobao163smhag -cnphpwnd99999@aliyun795,cntaobao163wang -cnphpwnd99999@aliyun796,cntaobao163zaixian -cnphpwnd99999@aliyun797,cntaobao164168abc -cnphpwnd99999@aliyun798,cntaobao164974830a -cnphpwnd99999@aliyun799,cntaobao165532754a -cnphpwnd99999@aliyun800,cntaobao168_xiao -cnphpwnd99999@aliyun801,cntaobao168andrew -cnphpwnd99999@aliyun802,cntaobao168marcus -cnphpwnd99999@aliyun803,cntaobao168wanglong -cnphpwnd99999@aliyun804,cntaobao168wawa -cnphpwnd99999@aliyun805,cntaobao168wuhan -cnphpwnd99999@aliyun806,cntaobao16aping -cnphpwnd99999@aliyun807,cntaobao16doraemon -cnphpwnd99999@aliyun808,cntaobao16master -cnphpwnd99999@aliyun809,cntaobao170602ason88 -cnphpwnd99999@aliyun810,cntaobao1708apple -cnphpwnd99999@aliyun811,cntaobao170907asd -cnphpwnd99999@aliyun812,cntaobao17139381ag -cnphpwnd99999@aliyun813,cntaobao17140146jia -cnphpwnd99999@aliyun814,cntaobao17319284a -cnphpwnd99999@aliyun815,cntaobao1731laurence -cnphpwnd99999@aliyun816,cntaobao173640381a -cnphpwnd99999@aliyun817,cntaobao173games -cnphpwnd99999@aliyun818,cntaobao174487265abc -cnphpwnd99999@aliyun819,cntaobao1748521a -cnphpwnd99999@aliyun820,cntaobao174aaaa -cnphpwnd99999@aliyun821,cntaobao175853587zhang -cnphpwnd99999@aliyun822,cntaobao177106596yang -cnphpwnd99999@aliyun823,cntaobao178843165kao -cnphpwnd99999@aliyun824,cntaobao178_nial -cnphpwnd99999@aliyun825,cntaobao17angel -cnphpwnd99999@aliyun826,cntaobao17angel17 -cnphpwnd99999@aliyun827,cntaobao17bao -cnphpwnd99999@aliyun828,cntaobao17haha -cnphpwnd99999@aliyun829,cntaobao17start -cnphpwnd99999@aliyun830,cntaobao17thangel -cnphpwnd99999@aliyun831,cntaobao180in -cnphpwnd99999@aliyun832,cntaobao182018cac -cnphpwnd99999@aliyun833,cntaobao182247481zhang -cnphpwnd99999@aliyun834,cntaobao18241292maes -cnphpwnd99999@aliyun835,cntaobao183246143aa -cnphpwnd99999@aliyun836,cntaobao183_camille -cnphpwnd99999@aliyun837,cntaobao183_dahi -cnphpwnd99999@aliyun838,cntaobao184415001abc -cnphpwnd99999@aliyun839,cntaobao185366747abc -cnphpwnd99999@aliyun840,cntaobao185ecoflam111 -cnphpwnd99999@aliyun841,cntaobao186513raxc -cnphpwnd99999@aliyun842,cntaobao188han -cnphpwnd99999@aliyun843,cntaobao188melissa -cnphpwnd99999@aliyun844,cntaobao188za -cnphpwnd99999@aliyun845,cntaobao18ag -cnphpwnd99999@aliyun846,cntaobao18athlon -cnphpwnd99999@aliyun847,cntaobao18huangpan -cnphpwnd99999@aliyun848,cntaobao18kakaka -cnphpwnd99999@aliyun849,cntaobao18xiaodai -cnphpwnd99999@aliyun850,cntaobao18yearsold -cnphpwnd99999@aliyun851,cntaobao18zhuangyi -cnphpwnd99999@aliyun852,cntaobao1900001a -cnphpwnd99999@aliyun853,cntaobao1900adfa -cnphpwnd99999@aliyun854,cntaobao19045332mazhiqi -cnphpwnd99999@aliyun855,cntaobao191919ald -cnphpwnd99999@aliyun856,cntaobao191975566ya -cnphpwnd99999@aliyun857,cntaobao1919wangqian -cnphpwnd99999@aliyun858,cntaobao1919zhang -cnphpwnd99999@aliyun859,cntaobao193896magic -cnphpwnd99999@aliyun860,cntaobao1944an365 -cnphpwnd99999@aliyun861,cntaobao1945tiansh -cnphpwnd99999@aliyun862,cntaobao1949abxyz -cnphpwnd99999@aliyun863,cntaobao1949aihua -cnphpwnd99999@aliyun864,cntaobao1950_iisa -cnphpwnd99999@aliyun865,cntaobao1952miao -cnphpwnd99999@aliyun866,cntaobao1954_douglas -cnphpwnd99999@aliyun867,cntaobao1955ma306 -cnphpwnd99999@aliyun868,cntaobao1955martin -cnphpwnd99999@aliyun869,cntaobao19563804a -cnphpwnd99999@aliyun870,cntaobao1956_huai -cnphpwnd99999@aliyun871,cntaobao1957brant -cnphpwnd99999@aliyun872,cntaobao1959_anestasia -cnphpwnd99999@aliyun873,cntaobao195tanley -cnphpwnd99999@aliyun874,cntaobao1964stanley -cnphpwnd99999@aliyun875,cntaobao196688zhaosu -cnphpwnd99999@aliyun876,cntaobao1966_jia -cnphpwnd99999@aliyun877,cntaobao1970aigen -cnphpwnd99999@aliyun878,cntaobao1970jiena01 -cnphpwnd99999@aliyun879,cntaobao1970jieqia -cnphpwnd99999@aliyun880,cntaobao1971gaby -cnphpwnd99999@aliyun881,cntaobao1972_an -cnphpwnd99999@aliyun882,cntaobao1972cao -cnphpwnd99999@aliyun883,cntaobao1973ai -cnphpwnd99999@aliyun884,cntaobao19744370xiao -cnphpwnd99999@aliyun885,cntaobao1974xialin -cnphpwnd99999@aliyun886,cntaobao1975_tian -cnphpwnd99999@aliyun887,cntaobao1975xiao21 -cnphpwnd99999@aliyun888,cntaobao1976paul -cnphpwnd99999@aliyun889,cntaobao1976tang -cnphpwnd99999@aliyun890,cntaobao1976yuan -cnphpwnd99999@aliyun891,cntaobao197777cat -cnphpwnd99999@aliyun892,cntaobao1977friday -cnphpwnd99999@aliyun893,cntaobao1977katie -cnphpwnd99999@aliyun894,cntaobao1977xiaoxiao -cnphpwnd99999@aliyun895,cntaobao1978abc -cnphpwnd99999@aliyun896,cntaobao1978pianpian -cnphpwnd99999@aliyun897,cntaobao1978woshizhaodong -cnphpwnd99999@aliyun898,cntaobao1978yan -cnphpwnd99999@aliyun899,cntaobao19791110yangbin -cnphpwnd99999@aliyun900,cntaobao1979adad -cnphpwnd99999@aliyun901,cntaobao1979bao -cnphpwnd99999@aliyun902,cntaobao1979chenhao -cnphpwnd99999@aliyun903,cntaobao1979redapple -cnphpwnd99999@aliyun904,cntaobao19800616a25 -cnphpwnd99999@aliyun905,cntaobao1980abc -cnphpwnd99999@aliyun906,cntaobao1980baobao -cnphpwnd99999@aliyun907,cntaobao1980lixiang -cnphpwnd99999@aliyun908,cntaobao1980sai -cnphpwnd99999@aliyun909,cntaobao1980yaobin -cnphpwnd99999@aliyun910,cntaobao1980yiyuanyuan -cnphpwnd99999@aliyun911,cntaobao1980zhaoxue -cnphpwnd99999@aliyun912,cntaobao19810327a -cnphpwnd99999@aliyun913,cntaobao19810501annieguo -cnphpwnd99999@aliyun914,cntaobao19810625a -cnphpwnd99999@aliyun915,cntaobao19811018yan -cnphpwnd99999@aliyun916,cntaobao198137abc -cnphpwnd99999@aliyun917,cntaobao198181laohu -cnphpwnd99999@aliyun918,cntaobao1981chang -cnphpwnd99999@aliyun919,cntaobao1981huang1981tao -cnphpwnd99999@aliyun920,cntaobao1982-haifei -cnphpwnd99999@aliyun921,cntaobao198214abc -cnphpwnd99999@aliyun922,cntaobao198272alex -cnphpwnd99999@aliyun923,cntaobao198286abcdxyz -cnphpwnd99999@aliyun924,cntaobao1982_wanggang -cnphpwnd99999@aliyun925,cntaobao1982aqua -cnphpwnd99999@aliyun926,cntaobao1982gaobo -cnphpwnd99999@aliyun927,cntaobao1982guangyuan -cnphpwnd99999@aliyun928,cntaobao1982lanse -cnphpwnd99999@aliyun929,cntaobao1982panckratov -cnphpwnd99999@aliyun930,cntaobao1982twoaxin -cnphpwnd99999@aliyun931,cntaobao1982vivian -cnphpwnd99999@aliyun932,cntaobao1982xiaoxiao -cnphpwnd99999@aliyun933,cntaobao1982xiaozhu -cnphpwnd99999@aliyun934,cntaobao1982yashiro -cnphpwnd99999@aliyun935,cntaobao1982year -cnphpwnd99999@aliyun936,cntaobao19831017zhao -cnphpwnd99999@aliyun937,cntaobao1983913aiai -cnphpwnd99999@aliyun938,cntaobao1983asson -cnphpwnd99999@aliyun939,cntaobao1983dai66 -cnphpwnd99999@aliyun940,cntaobao1983ella -cnphpwnd99999@aliyun941,cntaobao1983geyang -cnphpwnd99999@aliyun942,cntaobao1983gunjack -cnphpwnd99999@aliyun943,cntaobao1983han -cnphpwnd99999@aliyun944,cntaobao1983harvey -cnphpwnd99999@aliyun945,cntaobao1983jake83 -cnphpwnd99999@aliyun946,cntaobao1983laobao -cnphpwnd99999@aliyun947,cntaobao1983shao -cnphpwnd99999@aliyun948,cntaobao1983silinhaimoli -cnphpwnd99999@aliyun949,cntaobao1983sunchao -cnphpwnd99999@aliyun950,cntaobao19840526aa -cnphpwnd99999@aliyun951,cntaobao19841005abc -cnphpwnd99999@aliyun952,cntaobao19841028chenyan3 -cnphpwnd99999@aliyun953,cntaobao198410a -cnphpwnd99999@aliyun954,cntaobao19841219yangfan -cnphpwnd99999@aliyun955,cntaobao1984baobaolan -cnphpwnd99999@aliyun956,cntaobao1984cai -cnphpwnd99999@aliyun957,cntaobao1984gaohai -cnphpwnd99999@aliyun958,cntaobao1984huang -cnphpwnd99999@aliyun959,cntaobao1984liangyan -cnphpwnd99999@aliyun960,cntaobao1984sbihawx -cnphpwnd99999@aliyun961,cntaobao1984xiayu -cnphpwnd99999@aliyun962,cntaobao1984zhuxihua -cnphpwnd99999@aliyun963,cntaobao19850211aa -cnphpwnd99999@aliyun964,cntaobao19850930a -cnphpwnd99999@aliyun965,cntaobao19851009wangji -cnphpwnd99999@aliyun966,cntaobao1985113chao -cnphpwnd99999@aliyun967,cntaobao1985810yang -cnphpwnd99999@aliyun968,cntaobao198588a -cnphpwnd99999@aliyun969,cntaobao1985944asdfghjkl -cnphpwnd99999@aliyun970,cntaobao1985_gaoyong -cnphpwnd99999@aliyun971,cntaobao1985woaini -cnphpwnd99999@aliyun972,cntaobao1985yuandong -cnphpwnd99999@aliyun973,cntaobao1985zhanghui -cnphpwnd99999@aliyun974,cntaobao1985zhaojuan -cnphpwnd99999@aliyun975,cntaobao19860909zhangjun -cnphpwnd99999@aliyun976,cntaobao198612345a -cnphpwnd99999@aliyun977,cntaobao19861301aimei -cnphpwnd99999@aliyun978,cntaobao1986audxo -cnphpwnd99999@aliyun979,cntaobao1986elian -cnphpwnd99999@aliyun980,cntaobao1986han -cnphpwnd99999@aliyun981,cntaobao1986liang0 -cnphpwnd99999@aliyun982,cntaobao1986life -cnphpwnd99999@aliyun983,cntaobao1986sea -cnphpwnd99999@aliyun984,cntaobao1986wdhao -cnphpwnd99999@aliyun985,cntaobao1987-zhao -cnphpwnd99999@aliyun986,cntaobao1987219qaz -cnphpwnd99999@aliyun987,cntaobao1987617happy -cnphpwnd99999@aliyun988,cntaobao1987817cal -cnphpwnd99999@aliyun989,cntaobao1987_jianfeng -cnphpwnd99999@aliyun990,cntaobao1987chao -cnphpwnd99999@aliyun991,cntaobao1987chinazys -cnphpwnd99999@aliyun992,cntaobao1987claudia -cnphpwnd99999@aliyun993,cntaobao19880310lydia -cnphpwnd99999@aliyun994,cntaobao19880604aa -cnphpwnd99999@aliyun995,cntaobao19881013zhoushihua -cnphpwnd99999@aliyun996,cntaobao1988327ma -cnphpwnd99999@aliyun997,cntaobao198870han -cnphpwnd99999@aliyun998,cntaobao1988ruan -cnphpwnd99999@aliyun999,cntaobao1988tian -cnphpwnd99999@aliyun1000,cntaobao1988zmsakura -cnphpwnd99999@aliyun1001,cntaobao19891117nan -cnphpwnd99999@aliyun1002,cntaobao19891989ma -cnphpwnd99999@aliyun1003,cntaobao1989529wang -cnphpwnd99999@aliyun1004,cntaobao1989_cai -cnphpwnd99999@aliyun1005,cntaobao19900116a -cnphpwnd99999@aliyun1006,cntaobao1990helena -cnphpwnd99999@aliyun1007,cntaobao19910516a88 -cnphpwnd99999@aliyun1008,cntaobao199189529_q -cnphpwnd99999@aliyun1009,cntaobao1991_leonard -cnphpwnd99999@aliyun1010,cntaobao1991cao2005 -cnphpwnd99999@aliyun1011,cntaobao19920420april -cnphpwnd99999@aliyun1012,cntaobao1992_sandra -cnphpwnd99999@aliyun1013,cntaobao1992hanyi -cnphpwnd99999@aliyun1014,cntaobao19930703a -cnphpwnd99999@aliyun1015,cntaobao1994amy -cnphpwnd99999@aliyun1016,cntaobao1999debra -cnphpwnd99999@aliyun1017,cntaobao1999happytime -cnphpwnd99999@aliyun1018,cntaobao1999miya -cnphpwnd99999@aliyun1019,cntaobao1999stephanie -cnphpwnd99999@aliyun1020,cntaobao19azaz -cnphpwnd99999@aliyun1021,cntaobao19dian -cnphpwnd99999@aliyun1022,cntaobao19yanlin -cnphpwnd99999@aliyun1023,cntaobao1a1a1a1a -cnphpwnd99999@aliyun1024,cntaobao1a239d456789 -cnphpwnd99999@aliyun1025,cntaobao1a2a3a4a5a -cnphpwnd99999@aliyun1026,cntaobao1a2a3a4a5a6a -cnphpwnd99999@aliyun1027,cntaobao1a2b3c4d5e -cnphpwnd99999@aliyun1028,cntaobao1a2b3c5566 -cnphpwnd99999@aliyun1029,cntaobao1a2b3c77 -cnphpwnd99999@aliyun1030,cntaobao1a2s3d -cnphpwnd99999@aliyun1031,cntaobao1aa11 -cnphpwnd99999@aliyun1032,cntaobao1aa22bb -cnphpwnd99999@aliyun1033,cntaobao1aabb -cnphpwnd99999@aliyun1034,cntaobao1angs -cnphpwnd99999@aliyun1035,cntaobao1apple -cnphpwnd99999@aliyun1036,cntaobao1as_2004 -cnphpwnd99999@aliyun1037,cntaobao1asdfg -cnphpwnd99999@aliyun1038,cntaobao1cao2dai -cnphpwnd99999@aliyun1039,cntaobao1crystal -cnphpwnd99999@aliyun1040,cntaobao1danying -cnphpwnd99999@aliyun1041,cntaobao1ddaajian -cnphpwnd99999@aliyun1042,cntaobao1dina1 -cnphpwnd99999@aliyun1043,cntaobao1e2b3c4d5a -cnphpwnd99999@aliyun1044,cntaobao1feidiao1 -cnphpwnd99999@aliyun1045,cntaobao1gaoxingjiuhao -cnphpwnd99999@aliyun1046,cntaobao1guai -cnphpwnd99999@aliyun1047,cntaobao1hanfei -cnphpwnd99999@aliyun1048,cntaobao1hanfeng1 -cnphpwnd99999@aliyun1049,cntaobao1hanyue2 -cnphpwnd99999@aliyun1050,cntaobao1haodian -cnphpwnd99999@aliyun1051,cntaobao1haotong -cnphpwnd99999@aliyun1052,cntaobao1huahua1 -cnphpwnd99999@aliyun1053,cntaobao1iangshen -cnphpwnd99999@aliyun1054,cntaobao1ittlebear -cnphpwnd99999@aliyun1055,cntaobao1jiangchen1 -cnphpwnd99999@aliyun1056,cntaobao1jianghua1 -cnphpwnd99999@aliyun1057,cntaobao1jiangnina -cnphpwnd99999@aliyun1058,cntaobao1kangmengshi -cnphpwnd99999@aliyun1059,cntaobao1kittymao1 -cnphpwnd99999@aliyun1060,cntaobao1kukugain -cnphpwnd99999@aliyun1061,cntaobao1lai -cnphpwnd99999@aliyun1062,cntaobao1liuyang6 -cnphpwnd99999@aliyun1063,cntaobao1lkjhgfdsa -cnphpwnd99999@aliyun1064,cntaobao1llihappy -cnphpwnd99999@aliyun1065,cntaobao1madai -cnphpwnd99999@aliyun1066,cntaobao1man -cnphpwnd99999@aliyun1067,cntaobao1merrynana -cnphpwnd99999@aliyun1068,cntaobao1mmaa -cnphpwnd99999@aliyun1069,cntaobao1paiwangzi66305 -cnphpwnd99999@aliyun1070,cntaobao1pppaaa1 -cnphpwnd99999@aliyun1071,cntaobao1q2a3zqaz -cnphpwnd99999@aliyun1072,cntaobao1qa2ws3ed -cnphpwnd99999@aliyun1073,cntaobao1qasz -cnphpwnd99999@aliyun1074,cntaobao1qaz1qaz -cnphpwnd99999@aliyun1075,cntaobao1qaz2345 -cnphpwnd99999@aliyun1076,cntaobao1qaz2wsx2005 -cnphpwnd99999@aliyun1077,cntaobao1qaz2wsx3edc -cnphpwnd99999@aliyun1078,cntaobao1qiaoqiao -cnphpwnd99999@aliyun1079,cntaobao1qiaowenhua -cnphpwnd99999@aliyun1080,cntaobao1rainbow -cnphpwnd99999@aliyun1081,cntaobao1sam1 -cnphpwnd99999@aliyun1082,cntaobao1san2shop -cnphpwnd99999@aliyun1083,cntaobao1staling -cnphpwnd99999@aliyun1084,cntaobao1station -cnphpwnd99999@aliyun1085,cntaobao1stpay -cnphpwnd99999@aliyun1086,cntaobao1tiancai1xp20045 -cnphpwnd99999@aliyun1087,cntaobao1tiantiandatian -cnphpwnd99999@aliyun1088,cntaobao1ucia -cnphpwnd99999@aliyun1089,cntaobao1wang2ming -cnphpwnd99999@aliyun1090,cntaobao1wangchen -cnphpwnd99999@aliyun1091,cntaobao1wangzhe1 -cnphpwnd99999@aliyun1092,cntaobao1yanmin1 -cnphpwnd99999@aliyun1093,cntaobao1yjd -cnphpwnd99999@aliyun1094,cntaobao1yuan -cnphpwnd99999@aliyun1095,cntaobao1zaa -cnphpwnd99999@aliyun1096,cntaobao1zhang -cnphpwnd99999@aliyun1097,cntaobao1zyaj -cnphpwnd99999@aliyun1098,cntaobao1å·çŒªçŒª -cnphpwnd99999@aliyun1099,cntaobao20000shisan -cnphpwnd99999@aliyun1100,cntaobao20000sunday -cnphpwnd99999@aliyun1101,cntaobao2000aiaiai -cnphpwnd99999@aliyun1102,cntaobao2000aj -cnphpwnd99999@aliyun1103,cntaobao2000alen -cnphpwnd99999@aliyun1104,cntaobao2000baal -cnphpwnd99999@aliyun1105,cntaobao2000bihai -cnphpwnd99999@aliyun1106,cntaobao2000cq -cnphpwnd99999@aliyun1107,cntaobao2000dragon -cnphpwnd99999@aliyun1108,cntaobao2000jackyson -cnphpwnd99999@aliyun1109,cntaobao2000kingcat -cnphpwnd99999@aliyun1110,cntaobao2000rida -cnphpwnd99999@aliyun1111,cntaobao2000tanghua -cnphpwnd99999@aliyun1112,cntaobao2000xiaowu2000 -cnphpwnd99999@aliyun1113,cntaobao2000yea -cnphpwnd99999@aliyun1114,cntaobao2000zhang2001 -cnphpwnd99999@aliyun1115,cntaobao200120045008a -cnphpwnd99999@aliyun1116,cntaobao2001akirabobo -cnphpwnd99999@aliyun1117,cntaobao2001jianxia -cnphpwnd99999@aliyun1118,cntaobao2001lingdang -cnphpwnd99999@aliyun1119,cntaobao2001newstar2002 -cnphpwnd99999@aliyun1120,cntaobao2001nian -cnphpwnd99999@aliyun1121,cntaobao2001yunxiao -cnphpwnd99999@aliyun1122,cntaobao2001zaq -cnphpwnd99999@aliyun1123,cntaobao20020201ma -cnphpwnd99999@aliyun1124,cntaobao200212052maggie -cnphpwnd99999@aliyun1125,cntaobao2002aiai -cnphpwnd99999@aliyun1126,cntaobao2002candy -cnphpwnd99999@aliyun1127,cntaobao2002laowei -cnphpwnd99999@aliyun1128,cntaobao2002lisa -cnphpwnd99999@aliyun1129,cntaobao2002wanfen -cnphpwnd99999@aliyun1130,cntaobao2002winterbaby -cnphpwnd99999@aliyun1131,cntaobao2002yun-talent -cnphpwnd99999@aliyun1132,cntaobao2003-juan -cnphpwnd99999@aliyun1133,cntaobao2003333aaa -cnphpwnd99999@aliyun1134,cntaobao2003abc -cnphpwnd99999@aliyun1135,cntaobao2003hai -cnphpwnd99999@aliyun1136,cntaobao2003happy -cnphpwnd99999@aliyun1137,cntaobao2003jiangxiaolin -cnphpwnd99999@aliyun1138,cntaobao2003lie -cnphpwnd99999@aliyun1139,cntaobao2003lvea -cnphpwnd99999@aliyun1140,cntaobao2003muyangren -cnphpwnd99999@aliyun1141,cntaobao2003tang -cnphpwnd99999@aliyun1142,cntaobao2003wangyan1080550960 -cnphpwnd99999@aliyun1143,cntaobao2003wxy -cnphpwnd99999@aliyun1144,cntaobao2003xuan -cnphpwnd99999@aliyun1145,cntaobao2003yuegang -cnphpwnd99999@aliyun1146,cntaobao2003胡雪岩 -cnphpwnd99999@aliyun1147,cntaobao20040520catherine -cnphpwnd99999@aliyun1148,cntaobao20042004a -cnphpwnd99999@aliyun1149,cntaobao2004_nvhai -cnphpwnd99999@aliyun1150,cntaobao2004aaa -cnphpwnd99999@aliyun1151,cntaobao2004abc -cnphpwnd99999@aliyun1152,cntaobao2004baby -cnphpwnd99999@aliyun1153,cntaobao2004fang -cnphpwnd99999@aliyun1154,cntaobao2004fantasy -cnphpwnd99999@aliyun1155,cntaobao2004goodman -cnphpwnd99999@aliyun1156,cntaobao2004happygirl -cnphpwnd99999@aliyun1157,cntaobao2004iceman -cnphpwnd99999@aliyun1158,cntaobao2004lisa -cnphpwnd99999@aliyun1159,cntaobao2004lizonghuistar -cnphpwnd99999@aliyun1160,cntaobao2004longxi -cnphpwnd99999@aliyun1161,cntaobao2004loveme -cnphpwnd99999@aliyun1162,cntaobao2004ly2004 -cnphpwnd99999@aliyun1163,cntaobao2004ma -cnphpwnd99999@aliyun1164,cntaobao2004magic -cnphpwnd99999@aliyun1165,cntaobao2004michael -cnphpwnd99999@aliyun1166,cntaobao2004shashou2004 -cnphpwnd99999@aliyun1167,cntaobao2004susan -cnphpwnd99999@aliyun1168,cntaobao2004susan2004 -cnphpwnd99999@aliyun1169,cntaobao2004visonzhang -cnphpwnd99999@aliyun1170,cntaobao2004wangyue -cnphpwnd99999@aliyun1171,cntaobao2004xiang -cnphpwnd99999@aliyun1172,cntaobao2004yuhuan -cnphpwnd99999@aliyun1173,cntaobao2004zhanghong -cnphpwnd99999@aliyun1174,cntaobao2005abc -cnphpwnd99999@aliyun1175,cntaobao2005caiyi -cnphpwnd99999@aliyun1176,cntaobao2005conan -cnphpwnd99999@aliyun1177,cntaobao2005coolmax -cnphpwnd99999@aliyun1178,cntaobao2005gaojianyes -cnphpwnd99999@aliyun1179,cntaobao2005hetian88 -cnphpwnd99999@aliyun1180,cntaobao2005liangli -cnphpwnd99999@aliyun1181,cntaobao2005liuyuan -cnphpwnd99999@aliyun1182,cntaobao2005quan -cnphpwnd99999@aliyun1183,cntaobao2005taojuan -cnphpwnd99999@aliyun1184,cntaobao2005wan -cnphpwnd99999@aliyun1185,cntaobao2005wander -cnphpwnd99999@aliyun1186,cntaobao2005xiangning -cnphpwnd99999@aliyun1187,cntaobao2005xiaohui -cnphpwnd99999@aliyun1188,cntaobao2005yanglan -cnphpwnd99999@aliyun1189,cntaobao2006army -cnphpwnd99999@aliyun1190,cntaobao2006zhang -cnphpwnd99999@aliyun1191,cntaobao200757yang -cnphpwnd99999@aliyun1192,cntaobao2008-hanhan -cnphpwnd99999@aliyun1193,cntaobao2008abc1 -cnphpwnd99999@aliyun1194,cntaobao2008baby -cnphpwnd99999@aliyun1195,cntaobao2008jack -cnphpwnd99999@aliyun1196,cntaobao2008jane -cnphpwnd99999@aliyun1197,cntaobao2008liangliang3 -cnphpwnd99999@aliyun1198,cntaobao2008lianxiang -cnphpwnd99999@aliyun1199,cntaobao2008maozedong -cnphpwnd99999@aliyun1200,cntaobao2008qiangzi -cnphpwnd99999@aliyun1201,cntaobao2008suyangdong -cnphpwnd99999@aliyun1202,cntaobao2008zhanghui2008 -cnphpwnd99999@aliyun1203,cntaobao2008zhangyang -cnphpwnd99999@aliyun1204,cntaobao2009apple -cnphpwnd99999@aliyun1205,cntaobao2009azsz -cnphpwnd99999@aliyun1206,cntaobao200yanyao -cnphpwnd99999@aliyun1207,cntaobao2010jiani -cnphpwnd99999@aliyun1208,cntaobao2010year -cnphpwnd99999@aliyun1209,cntaobao201314zhangya -cnphpwnd99999@aliyun1210,cntaobao201871210samsung -cnphpwnd99999@aliyun1211,cntaobao2025621anjing -cnphpwnd99999@aliyun1212,cntaobao2028964a -cnphpwnd99999@aliyun1213,cntaobao202panran -cnphpwnd99999@aliyun1214,cntaobao202puyang -cnphpwnd99999@aliyun1215,cntaobao203015baiwfn -cnphpwnd99999@aliyun1216,cntaobao203564hao -cnphpwnd99999@aliyun1217,cntaobao203base -cnphpwnd99999@aliyun1218,cntaobao203xiaoqiang -cnphpwnd99999@aliyun1219,cntaobao2046a -cnphpwnd99999@aliyun1220,cntaobao2046ad -cnphpwnd99999@aliyun1221,cntaobao2046candy -cnphpwnd99999@aliyun1222,cntaobao2046hacker -cnphpwnd99999@aliyun1223,cntaobao2046jackshen007 -cnphpwnd99999@aliyun1224,cntaobao2050yangyang -cnphpwnd99999@aliyun1225,cntaobao205class -cnphpwnd99999@aliyun1226,cntaobao205kaizi -cnphpwnd99999@aliyun1227,cntaobao2081sha -cnphpwnd99999@aliyun1228,cntaobao2094a -cnphpwnd99999@aliyun1229,cntaobao209manman -cnphpwnd99999@aliyun1230,cntaobao209yaya -cnphpwnd99999@aliyun1231,cntaobao20hujian02 -cnphpwnd99999@aliyun1232,cntaobao20wangjing08 -cnphpwnd99999@aliyun1233,cntaobao20wangqing -cnphpwnd99999@aliyun1234,cntaobao20yangyi -cnphpwnd99999@aliyun1235,cntaobao21105912a -cnphpwnd99999@aliyun1236,cntaobao211max -cnphpwnd99999@aliyun1237,cntaobao212chenxiang -cnphpwnd99999@aliyun1238,cntaobao212hao -cnphpwnd99999@aliyun1239,cntaobao213davis -cnphpwnd99999@aliyun1240,cntaobao21407915218wqa -cnphpwnd99999@aliyun1241,cntaobao2142ass -cnphpwnd99999@aliyun1242,cntaobao214lazy-bones -cnphpwnd99999@aliyun1243,cntaobao214pan -cnphpwnd99999@aliyun1244,cntaobao215104xiaoyuer -cnphpwnd99999@aliyun1245,cntaobao2152aaa -cnphpwnd99999@aliyun1246,cntaobao215358a -cnphpwnd99999@aliyun1247,cntaobao215725107wang -cnphpwnd99999@aliyun1248,cntaobao218cat -cnphpwnd99999@aliyun1249,cntaobao218guoshuaiqing -cnphpwnd99999@aliyun1250,cntaobao218shuiqiaoli -cnphpwnd99999@aliyun1251,cntaobao218zhangwenjun -cnphpwnd99999@aliyun1252,cntaobao2191942a -cnphpwnd99999@aliyun1253,cntaobao21a3i -cnphpwnd99999@aliyun1254,cntaobao21ahu -cnphpwnd99999@aliyun1255,cntaobao21aimar -cnphpwnd99999@aliyun1256,cntaobao21babyvox -cnphpwnd99999@aliyun1257,cntaobao21bao.com -cnphpwnd99999@aliyun1258,cntaobao21baobao -cnphpwnd99999@aliyun1259,cntaobao21cn_zhao -cnphpwnd99999@aliyun1260,cntaobao21cstar -cnphpwnd99999@aliyun1261,cntaobao21emba -cnphpwnd99999@aliyun1262,cntaobao21hanguo -cnphpwnd99999@aliyun1263,cntaobao21heima -cnphpwnd99999@aliyun1264,cntaobao21idea -cnphpwnd99999@aliyun1265,cntaobao21pai -cnphpwnd99999@aliyun1266,cntaobao21pay -cnphpwnd99999@aliyun1267,cntaobao21qqaa -cnphpwnd99999@aliyun1268,cntaobao21stboy -cnphpwnd99999@aliyun1269,cntaobao21suinansheng -cnphpwnd99999@aliyun1270,cntaobao21xiaoxuan -cnphpwnd99999@aliyun1271,cntaobao21xuyang -cnphpwnd99999@aliyun1272,cntaobao21世纪 -cnphpwnd99999@aliyun1273,cntaobao2211as -cnphpwnd99999@aliyun1274,cntaobao22121aq -cnphpwnd99999@aliyun1275,cntaobao2222wangjing -cnphpwnd99999@aliyun1276,cntaobao2223517a -cnphpwnd99999@aliyun1277,cntaobao2223a -cnphpwnd99999@aliyun1278,cntaobao222hacker -cnphpwnd99999@aliyun1279,cntaobao222jiangtian -cnphpwnd99999@aliyun1280,cntaobao222liangliang -cnphpwnd99999@aliyun1281,cntaobao22368095ass -cnphpwnd99999@aliyun1282,cntaobao223_gao -cnphpwnd99999@aliyun1283,cntaobao223_lawren -cnphpwnd99999@aliyun1284,cntaobao223emaly -cnphpwnd99999@aliyun1285,cntaobao224100abc -cnphpwnd99999@aliyun1286,cntaobao2277766asdf -cnphpwnd99999@aliyun1287,cntaobao2279734taofei -cnphpwnd99999@aliyun1288,cntaobao227mark -cnphpwnd99999@aliyun1289,cntaobao22813334a -cnphpwnd99999@aliyun1290,cntaobao2287201abc -cnphpwnd99999@aliyun1291,cntaobao22abc -cnphpwnd99999@aliyun1292,cntaobao22avl -cnphpwnd99999@aliyun1293,cntaobao22huang22 -cnphpwnd99999@aliyun1294,cntaobao22sanshi -cnphpwnd99999@aliyun1295,cntaobao22vdas897 -cnphpwnd99999@aliyun1296,cntaobao2305737hao -cnphpwnd99999@aliyun1297,cntaobao230laji -cnphpwnd99999@aliyun1298,cntaobao2317080pan -cnphpwnd99999@aliyun1299,cntaobao2317qiang -cnphpwnd99999@aliyun1300,cntaobao234173694shark -cnphpwnd99999@aliyun1301,cntaobao234445002a -cnphpwnd99999@aliyun1302,cntaobao2345happy -cnphpwnd99999@aliyun1303,cntaobao2346622abc -cnphpwnd99999@aliyun1304,cntaobao2347399abc -cnphpwnd99999@aliyun1305,cntaobao234yidabao -cnphpwnd99999@aliyun1306,cntaobao2351696sina -cnphpwnd99999@aliyun1307,cntaobao2353429baobei -cnphpwnd99999@aliyun1308,cntaobao23adil -cnphpwnd99999@aliyun1309,cntaobao23beckham7 -cnphpwnd99999@aliyun1310,cntaobao23black -cnphpwnd99999@aliyun1311,cntaobao23eileen -cnphpwnd99999@aliyun1312,cntaobao23flash -cnphpwnd99999@aliyun1313,cntaobao23kaka -cnphpwnd99999@aliyun1314,cntaobao23lang -cnphpwnd99999@aliyun1315,cntaobao23nihao -cnphpwnd99999@aliyun1316,cntaobao23xixihaha -cnphpwnd99999@aliyun1317,cntaobao23xuanxuan -cnphpwnd99999@aliyun1318,cntaobao23xujiajia -cnphpwnd99999@aliyun1319,cntaobao23yiangxiaofang -cnphpwnd99999@aliyun1320,cntaobao2409hua -cnphpwnd99999@aliyun1321,cntaobao24128938abq -cnphpwnd99999@aliyun1322,cntaobao243583144a -cnphpwnd99999@aliyun1323,cntaobao24374768aini -cnphpwnd99999@aliyun1324,cntaobao2454aa -cnphpwnd99999@aliyun1325,cntaobao249428780liujia -cnphpwnd99999@aliyun1326,cntaobao249723916bao -cnphpwnd99999@aliyun1327,cntaobao249892747aa -cnphpwnd99999@aliyun1328,cntaobao24apple -cnphpwnd99999@aliyun1329,cntaobao24baibai -cnphpwnd99999@aliyun1330,cntaobao24flower -cnphpwnd99999@aliyun1331,cntaobao24hour365days -cnphpwnd99999@aliyun1332,cntaobao24skincare -cnphpwnd99999@aliyun1333,cntaobao24tao -cnphpwnd99999@aliyun1334,cntaobao24year -cnphpwnd99999@aliyun1335,cntaobao2501051a -cnphpwnd99999@aliyun1336,cntaobao250244977a -cnphpwnd99999@aliyun1337,cntaobao2502aa -cnphpwnd99999@aliyun1338,cntaobao250970072lihuayun -cnphpwnd99999@aliyun1339,cntaobao251174886a -cnphpwnd99999@aliyun1340,cntaobao2512asd -cnphpwnd99999@aliyun1341,cntaobao251739147xiaolu -cnphpwnd99999@aliyun1342,cntaobao25257758a -cnphpwnd99999@aliyun1343,cntaobao25257765a -cnphpwnd99999@aliyun1344,cntaobao252627tangyuan -cnphpwnd99999@aliyun1345,cntaobao253100435daidai -cnphpwnd99999@aliyun1346,cntaobao255eva -cnphpwnd99999@aliyun1347,cntaobao258369a258 -cnphpwnd99999@aliyun1348,cntaobao258440340aa -cnphpwnd99999@aliyun1349,cntaobao258laoma -cnphpwnd99999@aliyun1350,cntaobao25jacky -cnphpwnd99999@aliyun1351,cntaobao25jdzhang -cnphpwnd99999@aliyun1352,cntaobao25lala25 -cnphpwnd99999@aliyun1353,cntaobao25pearl -cnphpwnd99999@aliyun1354,cntaobao25tianxia -cnphpwnd99999@aliyun1355,cntaobao264122223nba -cnphpwnd99999@aliyun1356,cntaobao2641713kang -cnphpwnd99999@aliyun1357,cntaobao26549290lilan -cnphpwnd99999@aliyun1358,cntaobao265za -cnphpwnd99999@aliyun1359,cntaobao26692669as -cnphpwnd99999@aliyun1360,cntaobao2689363a -cnphpwnd99999@aliyun1361,cntaobao26afgjh -cnphpwnd99999@aliyun1362,cntaobao26asdf26 -cnphpwnd99999@aliyun1363,cntaobao26chenjiahu -cnphpwnd99999@aliyun1364,cntaobao26day111 -cnphpwnd99999@aliyun1365,cntaobao2700968yaobao -cnphpwnd99999@aliyun1366,cntaobao271314.ak -cnphpwnd99999@aliyun1367,cntaobao271772765zhang -cnphpwnd99999@aliyun1368,cntaobao2729932aa -cnphpwnd99999@aliyun1369,cntaobao2732660zas -cnphpwnd99999@aliyun1370,cntaobao273_a -cnphpwnd99999@aliyun1371,cntaobao273_elsa -cnphpwnd99999@aliyun1372,cntaobao276217275wain937 -cnphpwnd99999@aliyun1373,cntaobao27858167aa -cnphpwnd99999@aliyun1374,cntaobao279925966a -cnphpwnd99999@aliyun1375,cntaobao281229716wang -cnphpwnd99999@aliyun1376,cntaobao281565770caoqikai -cnphpwnd99999@aliyun1377,cntaobao281chenhao_ -cnphpwnd99999@aliyun1378,cntaobao282-woainii -cnphpwnd99999@aliyun1379,cntaobao2823972aa -cnphpwnd99999@aliyun1380,cntaobao283306368liujia -cnphpwnd99999@aliyun1381,cntaobao284533361jia -cnphpwnd99999@aliyun1382,cntaobao284733743jiang -cnphpwnd99999@aliyun1383,cntaobao284767814fugang -cnphpwnd99999@aliyun1384,cntaobao285660556as -cnphpwnd99999@aliyun1385,cntaobao286550880a -cnphpwnd99999@aliyun1386,cntaobao28745668a -cnphpwnd99999@aliyun1387,cntaobao2879697a -cnphpwnd99999@aliyun1388,cntaobao287dengyang -cnphpwnd99999@aliyun1389,cntaobao28853929a -cnphpwnd99999@aliyun1390,cntaobao289983326lvdan -cnphpwnd99999@aliyun1391,cntaobao28_alva -cnphpwnd99999@aliyun1392,cntaobao28jacky -cnphpwnd99999@aliyun1393,cntaobao28liugang -cnphpwnd99999@aliyun1394,cntaobao28pingchangxin2004 -cnphpwnd99999@aliyun1395,cntaobao28tgwang -cnphpwnd99999@aliyun1396,cntaobao2943640aaaaa -cnphpwnd99999@aliyun1397,cntaobao2956216.liao -cnphpwnd99999@aliyun1398,cntaobao2977977zhangyuan -cnphpwnd99999@aliyun1399,cntaobao298399618huaguo -cnphpwnd99999@aliyun1400,cntaobao2a2bc -cnphpwnd99999@aliyun1401,cntaobao2a537 -cnphpwnd99999@aliyun1402,cntaobao2abc -cnphpwnd99999@aliyun1403,cntaobao2abrown -cnphpwnd99999@aliyun1404,cntaobao2ae2xa9 -cnphpwnd99999@aliyun1405,cntaobao2and3 -cnphpwnd99999@aliyun1406,cntaobao2ann8 -cnphpwnd99999@aliyun1407,cntaobao2asp -cnphpwnd99999@aliyun1408,cntaobao2baobei2 -cnphpwnd99999@aliyun1409,cntaobao2cafe -cnphpwnd99999@aliyun1410,cntaobao2cooldragon -cnphpwnd99999@aliyun1411,cntaobao2daye -cnphpwnd99999@aliyun1412,cntaobao2dazui2 -cnphpwnd99999@aliyun1413,cntaobao2fuliang -cnphpwnd99999@aliyun1414,cntaobao2han92ha0 -cnphpwnd99999@aliyun1415,cntaobao2hand -cnphpwnd99999@aliyun1416,cntaobao2happacarry -cnphpwnd99999@aliyun1417,cntaobao2hkyang -cnphpwnd99999@aliyun1418,cntaobao2hnb_cai -cnphpwnd99999@aliyun1419,cntaobao2huangchun -cnphpwnd99999@aliyun1420,cntaobao2jiayidianzi -cnphpwnd99999@aliyun1421,cntaobao2laopo1314 -cnphpwnd99999@aliyun1422,cntaobao2lian -cnphpwnd99999@aliyun1423,cntaobao2lovenba -cnphpwnd99999@aliyun1424,cntaobao2mao -cnphpwnd99999@aliyun1425,cntaobao2march -cnphpwnd99999@aliyun1426,cntaobao2muchheawven -cnphpwnd99999@aliyun1427,cntaobao2nature -cnphpwnd99999@aliyun1428,cntaobao2parv -cnphpwnd99999@aliyun1429,cntaobao2pengchuan -cnphpwnd99999@aliyun1430,cntaobao2qijian -cnphpwnd99999@aliyun1431,cntaobao2rainbow -cnphpwnd99999@aliyun1432,cntaobao2rave -cnphpwnd99999@aliyun1433,cntaobao2star -cnphpwnd99999@aliyun1434,cntaobao2superman0 -cnphpwnd99999@aliyun1435,cntaobao2tanya -cnphpwnd99999@aliyun1436,cntaobao2techerhappy -cnphpwnd99999@aliyun1437,cntaobao2wallj -cnphpwnd99999@aliyun1438,cntaobao2wawa -cnphpwnd99999@aliyun1439,cntaobao2wngjinfang -cnphpwnd99999@aliyun1440,cntaobao2woai -cnphpwnd99999@aliyun1441,cntaobao2xkeactyv8tc5ge -cnphpwnd99999@aliyun1442,cntaobao2yanggang -cnphpwnd99999@aliyun1443,cntaobao2yearslater -cnphpwnd99999@aliyun1444,cntaobao2zhaoxiang -cnphpwnd99999@aliyun1445,cntaobao2åˆ1 -cnphpwnd99999@aliyun1446,cntaobao2毛2 -cnphpwnd99999@aliyun1447,cntaobao30119388ab -cnphpwnd99999@aliyun1448,cntaobao3015997ab -cnphpwnd99999@aliyun1449,cntaobao301dalao -cnphpwnd99999@aliyun1450,cntaobao3022755a1 -cnphpwnd99999@aliyun1451,cntaobao30249194lanjing -cnphpwnd99999@aliyun1452,cntaobao303035642a -cnphpwnd99999@aliyun1453,cntaobao303088873haha -cnphpwnd99999@aliyun1454,cntaobao3036jaon3036 -cnphpwnd99999@aliyun1455,cntaobao304837290dai -cnphpwnd99999@aliyun1456,cntaobao3062623sang -cnphpwnd99999@aliyun1457,cntaobao307057891a -cnphpwnd99999@aliyun1458,cntaobao308230390yangshuo -cnphpwnd99999@aliyun1459,cntaobao308824911qzass -cnphpwnd99999@aliyun1460,cntaobao3089465a -cnphpwnd99999@aliyun1461,cntaobao308_miya -cnphpwnd99999@aliyun1462,cntaobao3090clamp -cnphpwnd99999@aliyun1463,cntaobao309531342ha -cnphpwnd99999@aliyun1464,cntaobao30cat -cnphpwnd99999@aliyun1465,cntaobao30jianglihong -cnphpwnd99999@aliyun1466,cntaobao30san -cnphpwnd99999@aliyun1467,cntaobao310230800316105a -cnphpwnd99999@aliyun1468,cntaobao310230zhoahuan -cnphpwnd99999@aliyun1469,cntaobao311212sally -cnphpwnd99999@aliyun1470,cntaobao311wang311 -cnphpwnd99999@aliyun1471,cntaobao312367988a -cnphpwnd99999@aliyun1472,cntaobao312cathryn -cnphpwnd99999@aliyun1473,cntaobao312xiaoxiao -cnphpwnd99999@aliyun1474,cntaobao313aaa -cnphpwnd99999@aliyun1475,cntaobao314159a -cnphpwnd99999@aliyun1476,cntaobao315376174luochao -cnphpwnd99999@aliyun1477,cntaobao31756407a -cnphpwnd99999@aliyun1478,cntaobao317hao -cnphpwnd99999@aliyun1479,cntaobao3185896a -cnphpwnd99999@aliyun1480,cntaobao318apple -cnphpwnd99999@aliyun1481,cntaobao31happy -cnphpwnd99999@aliyun1482,cntaobao320132a -cnphpwnd99999@aliyun1483,cntaobao3203393a -cnphpwnd99999@aliyun1484,cntaobao320724qaz -cnphpwnd99999@aliyun1485,cntaobao320superstar -cnphpwnd99999@aliyun1486,cntaobao3210abc0123 -cnphpwnd99999@aliyun1487,cntaobao321321wang -cnphpwnd99999@aliyun1488,cntaobao321a555 -cnphpwnd99999@aliyun1489,cntaobao321adws06 -cnphpwnd99999@aliyun1490,cntaobao321asdzxccai -cnphpwnd99999@aliyun1491,cntaobao321yangpb -cnphpwnd99999@aliyun1492,cntaobao3227832as -cnphpwnd99999@aliyun1493,cntaobao322jacky -cnphpwnd99999@aliyun1494,cntaobao323abc -cnphpwnd99999@aliyun1495,cntaobao325andycui -cnphpwnd99999@aliyun1496,cntaobao325maboan20 -cnphpwnd99999@aliyun1497,cntaobao3261253a -cnphpwnd99999@aliyun1498,cntaobao326ray -cnphpwnd99999@aliyun1499,cntaobao3272256qaz -cnphpwnd99999@aliyun1500,cntaobao3276520a -cnphpwnd99999@aliyun1501,cntaobao329abc -cnphpwnd99999@aliyun1502,cntaobao329zhao -cnphpwnd99999@aliyun1503,cntaobao32bage -cnphpwnd99999@aliyun1504,cntaobao32bian -cnphpwnd99999@aliyun1505,cntaobao32dandan -cnphpwnd99999@aliyun1506,cntaobao32haohao -cnphpwnd99999@aliyun1507,cntaobao32jason -cnphpwnd99999@aliyun1508,cntaobao33034shia -cnphpwnd99999@aliyun1509,cntaobao330xiaowei -cnphpwnd99999@aliyun1510,cntaobao3311222a -cnphpwnd99999@aliyun1511,cntaobao3317121a -cnphpwnd99999@aliyun1512,cntaobao331huangxiaohu -cnphpwnd99999@aliyun1513,cntaobao3322ada -cnphpwnd99999@aliyun1514,cntaobao332650wina -cnphpwnd99999@aliyun1515,cntaobao3327814a -cnphpwnd99999@aliyun1516,cntaobao3331234aaa -cnphpwnd99999@aliyun1517,cntaobao3333jaws -cnphpwnd99999@aliyun1518,cntaobao3339598a -cnphpwnd99999@aliyun1519,cntaobao333art -cnphpwnd99999@aliyun1520,cntaobao333dandan -cnphpwnd99999@aliyun1521,cntaobao333matrx -cnphpwnd99999@aliyun1522,cntaobao333star -cnphpwnd99999@aliyun1523,cntaobao3340abc -cnphpwnd99999@aliyun1524,cntaobao334452168ai -cnphpwnd99999@aliyun1525,cntaobao334560913wangjin -cnphpwnd99999@aliyun1526,cntaobao33669901a -cnphpwnd99999@aliyun1527,cntaobao336699aa -cnphpwnd99999@aliyun1528,cntaobao3392056abc -cnphpwnd99999@aliyun1529,cntaobao33aa66 -cnphpwnd99999@aliyun1530,cntaobao33ai66 -cnphpwnd99999@aliyun1531,cntaobao33angel -cnphpwnd99999@aliyun1532,cntaobao33dage -cnphpwnd99999@aliyun1533,cntaobao33dan -cnphpwnd99999@aliyun1534,cntaobao33gzhawk -cnphpwnd99999@aliyun1535,cntaobao33lanqiu -cnphpwnd99999@aliyun1536,cntaobao33sanjin -cnphpwnd99999@aliyun1537,cntaobao33snake33 -cnphpwnd99999@aliyun1538,cntaobao33xiaoying -cnphpwnd99999@aliyun1539,cntaobao342668270huang -cnphpwnd99999@aliyun1540,cntaobao3427646a -cnphpwnd99999@aliyun1541,cntaobao344485106a -cnphpwnd99999@aliyun1542,cntaobao344500a -cnphpwnd99999@aliyun1543,cntaobao344ddddka -cnphpwnd99999@aliyun1544,cntaobao345abc9528 -cnphpwnd99999@aliyun1545,cntaobao346783406aiai -cnphpwnd99999@aliyun1546,cntaobao3475550wangmeng -cnphpwnd99999@aliyun1547,cntaobao347andysj -cnphpwnd99999@aliyun1548,cntaobao349013352aa -cnphpwnd99999@aliyun1549,cntaobao3497688ma -cnphpwnd99999@aliyun1550,cntaobao349855664apple -cnphpwnd99999@aliyun1551,cntaobao34_yangyang -cnphpwnd99999@aliyun1552,cntaobao34tian -cnphpwnd99999@aliyun1553,cntaobao350110018lan -cnphpwnd99999@aliyun1554,cntaobao3501579a -cnphpwnd99999@aliyun1555,cntaobao350280905a -cnphpwnd99999@aliyun1556,cntaobao350dfans -cnphpwnd99999@aliyun1557,cntaobao3511438a -cnphpwnd99999@aliyun1558,cntaobao3516655asd -cnphpwnd99999@aliyun1559,cntaobao351aaa -cnphpwnd99999@aliyun1560,cntaobao35211325a -cnphpwnd99999@aliyun1561,cntaobao35326405wang -cnphpwnd99999@aliyun1562,cntaobao354268269abcde -cnphpwnd99999@aliyun1563,cntaobao355155409asd -cnphpwnd99999@aliyun1564,cntaobao3582han -cnphpwnd99999@aliyun1565,cntaobao359628781a -cnphpwnd99999@aliyun1566,cntaobao35hao -cnphpwnd99999@aliyun1567,cntaobao35kay -cnphpwnd99999@aliyun1568,cntaobao35mau -cnphpwnd99999@aliyun1569,cntaobao360122741asdfg -cnphpwnd99999@aliyun1570,cntaobao360850150zhouyang -cnphpwnd99999@aliyun1571,cntaobao360guojian -cnphpwnd99999@aliyun1572,cntaobao360hang -cnphpwnd99999@aliyun1573,cntaobao3624330shan520 -cnphpwnd99999@aliyun1574,cntaobao363993041yang -cnphpwnd99999@aliyun1575,cntaobao36448465wang -cnphpwnd99999@aliyun1576,cntaobao364647076a -cnphpwnd99999@aliyun1577,cntaobao365balancelife -cnphpwnd99999@aliyun1578,cntaobao365ca -cnphpwnd99999@aliyun1579,cntaobao365tian -cnphpwnd99999@aliyun1580,cntaobao365wangjia -cnphpwnd99999@aliyun1581,cntaobao365xiang -cnphpwnd99999@aliyun1582,cntaobao36838822hapl -cnphpwnd99999@aliyun1583,cntaobao369369qaz -cnphpwnd99999@aliyun1584,cntaobao369852147a -cnphpwnd99999@aliyun1585,cntaobao36987412a -cnphpwnd99999@aliyun1586,cntaobao369abc -cnphpwnd99999@aliyun1587,cntaobao369aszx -cnphpwnd99999@aliyun1588,cntaobao369mao -cnphpwnd99999@aliyun1589,cntaobao36oranges -cnphpwnd99999@aliyun1590,cntaobao3721haodong -cnphpwnd99999@aliyun1591,cntaobao3721mai -cnphpwnd99999@aliyun1592,cntaobao3721sina -cnphpwnd99999@aliyun1593,cntaobao373741554oka -cnphpwnd99999@aliyun1594,cntaobao373lance -cnphpwnd99999@aliyun1595,cntaobao3742haha -cnphpwnd99999@aliyun1596,cntaobao3772250fazi -cnphpwnd99999@aliyun1597,cntaobao378229678aa -cnphpwnd99999@aliyun1598,cntaobao378_hua -cnphpwnd99999@aliyun1599,cntaobao378xiao -cnphpwnd99999@aliyun1600,cntaobao379613721a -cnphpwnd99999@aliyun1601,cntaobao379871247ak -cnphpwnd99999@aliyun1602,cntaobao37a49b -cnphpwnd99999@aliyun1603,cntaobao3819031a -cnphpwnd99999@aliyun1604,cntaobao382165466abc -cnphpwnd99999@aliyun1605,cntaobao38384nima -cnphpwnd99999@aliyun1606,cntaobao385500a -cnphpwnd99999@aliyun1607,cntaobao3881988ab -cnphpwnd99999@aliyun1608,cntaobao38de1haolaogong -cnphpwnd99999@aliyun1609,cntaobao38qaz38 -cnphpwnd99999@aliyun1610,cntaobao38wentan -cnphpwnd99999@aliyun1611,cntaobao3911chao -cnphpwnd99999@aliyun1612,cntaobao39128huang -cnphpwnd99999@aliyun1613,cntaobao3915157abc -cnphpwnd99999@aliyun1614,cntaobao392233109yangjun -cnphpwnd99999@aliyun1615,cntaobao393382944liukang -cnphpwnd99999@aliyun1616,cntaobao394212406wang -cnphpwnd99999@aliyun1617,cntaobao395091500a -cnphpwnd99999@aliyun1618,cntaobao39532huang -cnphpwnd99999@aliyun1619,cntaobao3973016a -cnphpwnd99999@aliyun1620,cntaobao397963475aa -cnphpwnd99999@aliyun1621,cntaobao398120613ab -cnphpwnd99999@aliyun1622,cntaobao398904119tao -cnphpwnd99999@aliyun1623,cntaobao398969380wang -cnphpwnd99999@aliyun1624,cntaobao39rjsdrewmt -cnphpwnd99999@aliyun1625,cntaobao3a2bc -cnphpwnd99999@aliyun1626,cntaobao3a4b3c -cnphpwnd99999@aliyun1627,cntaobao3a6a3a8a5a0a7 -cnphpwnd99999@aliyun1628,cntaobao3afy800ceo -cnphpwnd99999@aliyun1629,cntaobao3ai99 -cnphpwnd99999@aliyun1630,cntaobao3aplus -cnphpwnd99999@aliyun1631,cntaobao3aqq -cnphpwnd99999@aliyun1632,cntaobao3ares -cnphpwnd99999@aliyun1633,cntaobao3avs235 -cnphpwnd99999@aliyun1634,cntaobao3ax31 -cnphpwnd99999@aliyun1635,cntaobao3beckham -cnphpwnd99999@aliyun1636,cntaobao3blacktea -cnphpwnd99999@aliyun1637,cntaobao3cai -cnphpwnd99999@aliyun1638,cntaobao3cat -cnphpwnd99999@aliyun1639,cntaobao3changjiang -cnphpwnd99999@aliyun1640,cntaobao3chuan -cnphpwnd99999@aliyun1641,cntaobao3dcao -cnphpwnd99999@aliyun1642,cntaobao3doumi -cnphpwnd99999@aliyun1643,cntaobao3dsmax1 -cnphpwnd99999@aliyun1644,cntaobao3dspace -cnphpwnd99999@aliyun1645,cntaobao3dylan7 -cnphpwnd99999@aliyun1646,cntaobao3ear -cnphpwnd99999@aliyun1647,cntaobao3eyouyang -cnphpwnd99999@aliyun1648,cntaobao3fatty -cnphpwnd99999@aliyun1649,cntaobao3gas -cnphpwnd99999@aliyun1650,cntaobao3hanbing -cnphpwnd99999@aliyun1651,cntaobao3have -cnphpwnd99999@aliyun1652,cntaobao3hdigital -cnphpwnd99999@aliyun1653,cntaobao3hehua -cnphpwnd99999@aliyun1654,cntaobao3hpm -cnphpwnd99999@aliyun1655,cntaobao3jiaomaoer -cnphpwnd99999@aliyun1656,cntaobao3lan3 -cnphpwnd99999@aliyun1657,cntaobao3lang1 -cnphpwnd99999@aliyun1658,cntaobao3liang -cnphpwnd99999@aliyun1659,cntaobao3manwalking -cnphpwnd99999@aliyun1660,cntaobao3nian -cnphpwnd99999@aliyun1661,cntaobao3panda3 -cnphpwnd99999@aliyun1662,cntaobao3qazwsx3qa -cnphpwnd99999@aliyun1663,cntaobao3san -cnphpwnd99999@aliyun1664,cntaobao3shan -cnphpwnd99999@aliyun1665,cntaobao3smaster -cnphpwnd99999@aliyun1666,cntaobao3squall -cnphpwnd99999@aliyun1667,cntaobao3tantantan -cnphpwnd99999@aliyun1668,cntaobao3w.ainiwe -cnphpwnd99999@aliyun1669,cntaobao3w.com -cnphpwnd99999@aliyun1670,cntaobao3wlubiao -cnphpwnd99999@aliyun1671,cntaobao3wzzy.china -cnphpwnd99999@aliyun1672,cntaobao3xinliangyi -cnphpwnd99999@aliyun1673,cntaobao3yatou -cnphpwnd99999@aliyun1674,cntaobao3years2004 -cnphpwnd99999@aliyun1675,cntaobao3yyang -cnphpwnd99999@aliyun1676,cntaobao3zhangchao -cnphpwnd99999@aliyun1677,cntaobao3zhanghai -cnphpwnd99999@aliyun1678,cntaobao3√17æ··è¡€ -cnphpwnd99999@aliyun1679,cntaobao4-degree -cnphpwnd99999@aliyun1680,cntaobao40110023baba -cnphpwnd99999@aliyun1681,cntaobao402252067_woaini -cnphpwnd99999@aliyun1682,cntaobao404322935aaaa -cnphpwnd99999@aliyun1683,cntaobao405123297a -cnphpwnd99999@aliyun1684,cntaobao405225392xiaoai -cnphpwnd99999@aliyun1685,cntaobao405763635yan -cnphpwnd99999@aliyun1686,cntaobao40596941a -cnphpwnd99999@aliyun1687,cntaobao407huasheng -cnphpwnd99999@aliyun1688,cntaobao407zhaaosheng -cnphpwnd99999@aliyun1689,cntaobao409760946wang -cnphpwnd99999@aliyun1690,cntaobao40dadao -cnphpwnd99999@aliyun1691,cntaobao413lena -cnphpwnd99999@aliyun1692,cntaobao41456268a -cnphpwnd99999@aliyun1693,cntaobao415067047rockmanx -cnphpwnd99999@aliyun1694,cntaobao415616925-zhang -cnphpwnd99999@aliyun1695,cntaobao41800132local -cnphpwnd99999@aliyun1696,cntaobao418apple -cnphpwnd99999@aliyun1697,cntaobao418zhanglin -cnphpwnd99999@aliyun1698,cntaobao41asb -cnphpwnd99999@aliyun1699,cntaobao42.zhal -cnphpwnd99999@aliyun1700,cntaobao420226887baiqing -cnphpwnd99999@aliyun1701,cntaobao4208huang -cnphpwnd99999@aliyun1702,cntaobao4210frank -cnphpwnd99999@aliyun1703,cntaobao421hanwei -cnphpwnd99999@aliyun1704,cntaobao422322asdf -cnphpwnd99999@aliyun1705,cntaobao4224866aa -cnphpwnd99999@aliyun1706,cntaobao4229100a -cnphpwnd99999@aliyun1707,cntaobao42469716as -cnphpwnd99999@aliyun1708,cntaobao424737601a -cnphpwnd99999@aliyun1709,cntaobao4254baby_ting -cnphpwnd99999@aliyun1710,cntaobao42568876chan -cnphpwnd99999@aliyun1711,cntaobao42692268w -cnphpwnd99999@aliyun1712,cntaobao426xiao -cnphpwnd99999@aliyun1713,cntaobao428abc -cnphpwnd99999@aliyun1714,cntaobao4293762113abcd -cnphpwnd99999@aliyun1715,cntaobao4298288yaoyuan -cnphpwnd99999@aliyun1716,cntaobao42iyan -cnphpwnd99999@aliyun1717,cntaobao4300526aa -cnphpwnd99999@aliyun1718,cntaobao4321asdf -cnphpwnd99999@aliyun1719,cntaobao432fang -cnphpwnd99999@aliyun1720,cntaobao434625974zhang -cnphpwnd99999@aliyun1721,cntaobao435673605_bacon -cnphpwnd99999@aliyun1722,cntaobao436wangzhiy -cnphpwnd99999@aliyun1723,cntaobao437091700happy -cnphpwnd99999@aliyun1724,cntaobao4400476tian -cnphpwnd99999@aliyun1725,cntaobao441315420a -cnphpwnd99999@aliyun1726,cntaobao4436315aaa -cnphpwnd99999@aliyun1727,cntaobao44444qa -cnphpwnd99999@aliyun1728,cntaobao4444aili -cnphpwnd99999@aliyun1729,cntaobao444aaa111 -cnphpwnd99999@aliyun1730,cntaobao445zhang -cnphpwnd99999@aliyun1731,cntaobao4488yjjatgss1080549782 -cnphpwnd99999@aliyun1732,cntaobao448xiang -cnphpwnd99999@aliyun1733,cntaobao44aa -cnphpwnd99999@aliyun1734,cntaobao4516300123zhang -cnphpwnd99999@aliyun1735,cntaobao453wodeai -cnphpwnd99999@aliyun1736,cntaobao45440058a -cnphpwnd99999@aliyun1737,cntaobao45454abc -cnphpwnd99999@aliyun1738,cntaobao456188876atxt -cnphpwnd99999@aliyun1739,cntaobao456789asc -cnphpwnd99999@aliyun1740,cntaobao456789qaz -cnphpwnd99999@aliyun1741,cntaobao456asdfgh -cnphpwnd99999@aliyun1742,cntaobao456wangxin -cnphpwnd99999@aliyun1743,cntaobao458huang -cnphpwnd99999@aliyun1744,cntaobao45afeng -cnphpwnd99999@aliyun1745,cntaobao462888414gaoyuan -cnphpwnd99999@aliyun1746,cntaobao468donna -cnphpwnd99999@aliyun1747,cntaobao468janet -cnphpwnd99999@aliyun1748,cntaobao468mu_keryan -cnphpwnd99999@aliyun1749,cntaobao469274554guan -cnphpwnd99999@aliyun1750,cntaobao4738240a -cnphpwnd99999@aliyun1751,cntaobao4784685a2 -cnphpwnd99999@aliyun1752,cntaobao47siqiban -cnphpwnd99999@aliyun1753,cntaobao4836abc -cnphpwnd99999@aliyun1754,cntaobao488_eilian -cnphpwnd99999@aliyun1755,cntaobao48days -cnphpwnd99999@aliyun1756,cntaobao48janet -cnphpwnd99999@aliyun1757,cntaobao49085572a -cnphpwnd99999@aliyun1758,cntaobao493qian -cnphpwnd99999@aliyun1759,cntaobao49664311a -cnphpwnd99999@aliyun1760,cntaobao498499wan -cnphpwnd99999@aliyun1761,cntaobao498_bian -cnphpwnd99999@aliyun1762,cntaobao49ak -cnphpwnd99999@aliyun1763,cntaobao4aaa -cnphpwnd99999@aliyun1764,cntaobao4aaaa -cnphpwnd99999@aliyun1765,cntaobao4achen -cnphpwnd99999@aliyun1766,cntaobao4andian -cnphpwnd99999@aliyun1767,cntaobao4dalin -cnphpwnd99999@aliyun1768,cntaobao4everjiajia -cnphpwnd99999@aliyun1769,cntaobao4everlucia -cnphpwnd99999@aliyun1770,cntaobao4glad -cnphpwnd99999@aliyun1771,cntaobao4hai8 -cnphpwnd99999@aliyun1772,cntaobao4halo4 -cnphpwnd99999@aliyun1773,cntaobao4kastor -cnphpwnd99999@aliyun1774,cntaobao4nai -cnphpwnd99999@aliyun1775,cntaobao4nianji -cnphpwnd99999@aliyun1776,cntaobao4oa_01 -cnphpwnd99999@aliyun1777,cntaobao4samuel -cnphpwnd99999@aliyun1778,cntaobao4sea -cnphpwnd99999@aliyun1779,cntaobao4uelva -cnphpwnd99999@aliyun1780,cntaobao4what -cnphpwnd99999@aliyun1781,cntaobao4year -cnphpwnd99999@aliyun1782,cntaobao5000wan -cnphpwnd99999@aliyun1783,cntaobao5009214yao -cnphpwnd99999@aliyun1784,cntaobao500wan -cnphpwnd99999@aliyun1785,cntaobao50181127930a -cnphpwnd99999@aliyun1786,cntaobao502305abcd -cnphpwnd99999@aliyun1787,cntaobao502zhuxiao -cnphpwnd99999@aliyun1788,cntaobao503allen -cnphpwnd99999@aliyun1789,cntaobao504suval -cnphpwnd99999@aliyun1790,cntaobao5050streetwear -cnphpwnd99999@aliyun1791,cntaobao505230b -cnphpwnd99999@aliyun1792,cntaobao5053920ab -cnphpwnd99999@aliyun1793,cntaobao5066wallyer -cnphpwnd99999@aliyun1794,cntaobao5081909a -cnphpwnd99999@aliyun1795,cntaobao508carrie -cnphpwnd99999@aliyun1796,cntaobao508fan -cnphpwnd99999@aliyun1797,cntaobao50centtimberlake -cnphpwnd99999@aliyun1798,cntaobao50guan -cnphpwnd99999@aliyun1799,cntaobao50yan -cnphpwnd99999@aliyun1800,cntaobao510000xiaoxiao -cnphpwnd99999@aliyun1801,cntaobao510abc -cnphpwnd99999@aliyun1802,cntaobao510xiongxiaomei -cnphpwnd99999@aliyun1803,cntaobao51131421adi -cnphpwnd99999@aliyun1804,cntaobao5117449wangpeng -cnphpwnd99999@aliyun1805,cntaobao511ac -cnphpwnd99999@aliyun1806,cntaobao51254766nihao -cnphpwnd99999@aliyun1807,cntaobao51288676a -cnphpwnd99999@aliyun1808,cntaobao512happy -cnphpwnd99999@aliyun1809,cntaobao512kason -cnphpwnd99999@aliyun1810,cntaobao512yangyang -cnphpwnd99999@aliyun1811,cntaobao513142adong -cnphpwnd99999@aliyun1812,cntaobao51410abc -cnphpwnd99999@aliyun1813,cntaobao514300zhangwei -cnphpwnd99999@aliyun1814,cntaobao514766857a -cnphpwnd99999@aliyun1815,cntaobao5151aya -cnphpwnd99999@aliyun1816,cntaobao5152tao -cnphpwnd99999@aliyun1817,cntaobao515952635a -cnphpwnd99999@aliyun1818,cntaobao515isfa -cnphpwnd99999@aliyun1819,cntaobao516692a -cnphpwnd99999@aliyun1820,cntaobao516aaa -cnphpwnd99999@aliyun1821,cntaobao516diamond -cnphpwnd99999@aliyun1822,cntaobao5175967qaz -cnphpwnd99999@aliyun1823,cntaobao5185168dragon -cnphpwnd99999@aliyun1824,cntaobao5188asd -cnphpwnd99999@aliyun1825,cntaobao5188yan -cnphpwnd99999@aliyun1826,cntaobao518glass -cnphpwnd99999@aliyun1827,cntaobao518lxay -cnphpwnd99999@aliyun1828,cntaobao518mail -cnphpwnd99999@aliyun1829,cntaobao5198a -cnphpwnd99999@aliyun1830,cntaobao51_baobao -cnphpwnd99999@aliyun1831,cntaobao51_liang -cnphpwnd99999@aliyun1832,cntaobao51ag -cnphpwnd99999@aliyun1833,cntaobao51ahbb -cnphpwnd99999@aliyun1834,cntaobao51apy -cnphpwnd99999@aliyun1835,cntaobao51augustine -cnphpwnd99999@aliyun1836,cntaobao51baobao -cnphpwnd99999@aliyun1837,cntaobao51baocou -cnphpwnd99999@aliyun1838,cntaobao51bargain -cnphpwnd99999@aliyun1839,cntaobao51daigou -cnphpwnd99999@aliyun1840,cntaobao51digital -cnphpwnd99999@aliyun1841,cntaobao51easy -cnphpwnd99999@aliyun1842,cntaobao51easy_soft -cnphpwnd99999@aliyun1843,cntaobao51fare -cnphpwnd99999@aliyun1844,cntaobao51fasd -cnphpwnd99999@aliyun1845,cntaobao51fashow -cnphpwnd99999@aliyun1846,cntaobao51haluo -cnphpwnd99999@aliyun1847,cntaobao51haobaobao -cnphpwnd99999@aliyun1848,cntaobao51happy -cnphpwnd99999@aliyun1849,cntaobao51hard -cnphpwnd99999@aliyun1850,cntaobao51huahua -cnphpwnd99999@aliyun1851,cntaobao51jackie -cnphpwnd99999@aliyun1852,cntaobao51jinbei -cnphpwnd99999@aliyun1853,cntaobao51jubao -cnphpwnd99999@aliyun1854,cntaobao51kaxiu -cnphpwnd99999@aliyun1855,cntaobao51maibaobei -cnphpwnd99999@aliyun1856,cntaobao51mybaby -cnphpwnd99999@aliyun1857,cntaobao51newsale -cnphpwnd99999@aliyun1858,cntaobao51play -cnphpwnd99999@aliyun1859,cntaobao51rain -cnphpwnd99999@aliyun1860,cntaobao51sakura88 -cnphpwnd99999@aliyun1861,cntaobao51sd-card -cnphpwnd99999@aliyun1862,cntaobao51sea -cnphpwnd99999@aliyun1863,cntaobao51shaw -cnphpwnd99999@aliyun1864,cntaobao51sunyanzi -cnphpwnd99999@aliyun1865,cntaobao51tango -cnphpwnd99999@aliyun1866,cntaobao51taobao -cnphpwnd99999@aliyun1867,cntaobao51warcraft -cnphpwnd99999@aliyun1868,cntaobao51watches.com -cnphpwnd99999@aliyun1869,cntaobao51woo -cnphpwnd99999@aliyun1870,cntaobao51yinshua -cnphpwnd99999@aliyun1871,cntaobao52007abc -cnphpwnd99999@aliyun1872,cntaobao5200aini -cnphpwnd99999@aliyun1873,cntaobao520123abc -cnphpwnd99999@aliyun1874,cntaobao5201314nzdmha -cnphpwnd99999@aliyun1875,cntaobao5201ssau -cnphpwnd99999@aliyun1876,cntaobao520520dna -cnphpwnd99999@aliyun1877,cntaobao520_aijie -cnphpwnd99999@aliyun1878,cntaobao520abcd1 -cnphpwnd99999@aliyun1879,cntaobao520aifei -cnphpwnd99999@aliyun1880,cntaobao520aiyantao -cnphpwnd99999@aliyun1881,cntaobao520ajjajj -cnphpwnd99999@aliyun1882,cntaobao520alice -cnphpwnd99999@aliyun1883,cntaobao520andyliu -cnphpwnd99999@aliyun1884,cntaobao520anson1314 -cnphpwnd99999@aliyun1885,cntaobao520apple2008 -cnphpwnd99999@aliyun1886,cntaobao520as -cnphpwnd99999@aliyun1887,cntaobao520axiao -cnphpwnd99999@aliyun1888,cntaobao520bailin -cnphpwnd99999@aliyun1889,cntaobao520baobao -cnphpwnd99999@aliyun1890,cntaobao520bar1 -cnphpwnd99999@aliyun1891,cntaobao520beckham -cnphpwnd99999@aliyun1892,cntaobao520biao -cnphpwnd99999@aliyun1893,cntaobao520carrie -cnphpwnd99999@aliyun1894,cntaobao520changzi -cnphpwnd99999@aliyun1895,cntaobao520chendechao -cnphpwnd99999@aliyun1896,cntaobao520dahai -cnphpwnd99999@aliyun1897,cntaobao520dina -cnphpwnd99999@aliyun1898,cntaobao520dugang -cnphpwnd99999@aliyun1899,cntaobao520fangfang -cnphpwnd99999@aliyun1900,cntaobao520fanghao -cnphpwnd99999@aliyun1901,cntaobao520gameboy3 -cnphpwnd99999@aliyun1902,cntaobao520guitar -cnphpwnd99999@aliyun1903,cntaobao520haha -cnphpwnd99999@aliyun1904,cntaobao520haining -cnphpwnd99999@aliyun1905,cntaobao520hang -cnphpwnd99999@aliyun1906,cntaobao520hotmail -cnphpwnd99999@aliyun1907,cntaobao520huashao -cnphpwnd99999@aliyun1908,cntaobao520jacky1314 -cnphpwnd99999@aliyun1909,cntaobao520jay1 -cnphpwnd99999@aliyun1910,cntaobao520jiangwenjing520 -cnphpwnd99999@aliyun1911,cntaobao520jinshaohua520 -cnphpwnd99999@aliyun1912,cntaobao520kangta -cnphpwnd99999@aliyun1913,cntaobao520karon -cnphpwnd99999@aliyun1914,cntaobao520liang -cnphpwnd99999@aliyun1915,cntaobao520liqianyi -cnphpwnd99999@aliyun1916,cntaobao520luoaiqing1314 -cnphpwnd99999@aliyun1917,cntaobao520mali -cnphpwnd99999@aliyun1918,cntaobao520mamin -cnphpwnd99999@aliyun1919,cntaobao520mawenxia -cnphpwnd99999@aliyun1920,cntaobao520nan -cnphpwnd99999@aliyun1921,cntaobao520qkhhafcu -cnphpwnd99999@aliyun1922,cntaobao520rainbow -cnphpwnd99999@aliyun1923,cntaobao520redapple -cnphpwnd99999@aliyun1924,cntaobao520romantic520 -cnphpwnd99999@aliyun1925,cntaobao520shan -cnphpwnd99999@aliyun1926,cntaobao520shangyajing -cnphpwnd99999@aliyun1927,cntaobao520shanhua -cnphpwnd99999@aliyun1928,cntaobao520shuai -cnphpwnd99999@aliyun1929,cntaobao520skjack -cnphpwnd99999@aliyun1930,cntaobao520skysea -cnphpwnd99999@aliyun1931,cntaobao520table -cnphpwnd99999@aliyun1932,cntaobao520tanghua -cnphpwnd99999@aliyun1933,cntaobao520tangtao -cnphpwnd99999@aliyun1934,cntaobao520tianxia -cnphpwnd99999@aliyun1935,cntaobao520wallace -cnphpwnd99999@aliyun1936,cntaobao520wanglei -cnphpwnd99999@aliyun1937,cntaobao520wangning520 -cnphpwnd99999@aliyun1938,cntaobao520wangyumeng -cnphpwnd99999@aliyun1939,cntaobao520wanwan -cnphpwnd99999@aliyun1940,cntaobao520waqp -cnphpwnd99999@aliyun1941,cntaobao520wengyuan -cnphpwnd99999@aliyun1942,cntaobao520xiangxiang -cnphpwnd99999@aliyun1943,cntaobao520xiaobudian -cnphpwnd99999@aliyun1944,cntaobao520xiaohai -cnphpwnd99999@aliyun1945,cntaobao520xiaohui -cnphpwnd99999@aliyun1946,cntaobao520xiatang -cnphpwnd99999@aliyun1947,cntaobao520xiayu -cnphpwnd99999@aliyun1948,cntaobao520xiehan520 -cnphpwnd99999@aliyun1949,cntaobao520xuewa -cnphpwnd99999@aliyun1950,cntaobao520yang520 -cnphpwnd99999@aliyun1951,cntaobao520yangyang -cnphpwnd99999@aliyun1952,cntaobao520yanhui -cnphpwnd99999@aliyun1953,cntaobao520yanjunxuan -cnphpwnd99999@aliyun1954,cntaobao520yaoyao -cnphpwnd99999@aliyun1955,cntaobao520yashi -cnphpwnd99999@aliyun1956,cntaobao520yuanfei -cnphpwnd99999@aliyun1957,cntaobao520zhangbing -cnphpwnd99999@aliyun1958,cntaobao520zhangfan -cnphpwnd99999@aliyun1959,cntaobao520zhanghao520 -cnphpwnd99999@aliyun1960,cntaobao520zhanglianhg -cnphpwnd99999@aliyun1961,cntaobao520雪人 -cnphpwnd99999@aliyun1962,cntaobao5211314az -cnphpwnd99999@aliyun1963,cntaobao5215717aa -cnphpwnd99999@aliyun1964,cntaobao5217go -cnphpwnd99999@aliyun1965,cntaobao52188mama521 -cnphpwnd99999@aliyun1966,cntaobao521_xiaoman -cnphpwnd99999@aliyun1967,cntaobao521aaawww -cnphpwnd99999@aliyun1968,cntaobao521alvin -cnphpwnd99999@aliyun1969,cntaobao521anan -cnphpwnd99999@aliyun1970,cntaobao521angel -cnphpwnd99999@aliyun1971,cntaobao521aqi -cnphpwnd99999@aliyun1972,cntaobao521caowenlong -cnphpwnd99999@aliyun1973,cntaobao521changjian -cnphpwnd99999@aliyun1974,cntaobao521china -cnphpwnd99999@aliyun1975,cntaobao521haha_2004 -cnphpwnd99999@aliyun1976,cntaobao521hanbing -cnphpwnd99999@aliyun1977,cntaobao521huaying -cnphpwnd99999@aliyun1978,cntaobao521laopo -cnphpwnd99999@aliyun1979,cntaobao521lian -cnphpwnd99999@aliyun1980,cntaobao521lijiang -cnphpwnd99999@aliyun1981,cntaobao521liningtao -cnphpwnd99999@aliyun1982,cntaobao521linjian -cnphpwnd99999@aliyun1983,cntaobao521lintao -cnphpwnd99999@aliyun1984,cntaobao521lishasha -cnphpwnd99999@aliyun1985,cntaobao521liujia -cnphpwnd99999@aliyun1986,cntaobao521liuna -cnphpwnd99999@aliyun1987,cntaobao521liuweilaopo -cnphpwnd99999@aliyun1988,cntaobao521liyangyang -cnphpwnd99999@aliyun1989,cntaobao521luodan -cnphpwnd99999@aliyun1990,cntaobao521maoying -cnphpwnd99999@aliyun1991,cntaobao521oyangmao -cnphpwnd99999@aliyun1992,cntaobao521sanfeng -cnphpwnd99999@aliyun1993,cntaobao521shanshan -cnphpwnd99999@aliyun1994,cntaobao521slwda -cnphpwnd99999@aliyun1995,cntaobao521tantan -cnphpwnd99999@aliyun1996,cntaobao521tianmeimei -cnphpwnd99999@aliyun1997,cntaobao521tianyu521 -cnphpwnd99999@aliyun1998,cntaobao521toya -cnphpwnd99999@aliyun1999,cntaobao521wangfei -cnphpwnd99999@aliyun2000,cntaobao521wangniou -cnphpwnd99999@aliyun2001,cntaobao521wangyu -cnphpwnd99999@aliyun2002,cntaobao521woaini -cnphpwnd99999@aliyun2003,cntaobao521xiaofei -cnphpwnd99999@aliyun2004,cntaobao521xiaomao -cnphpwnd99999@aliyun2005,cntaobao521xuejuan -cnphpwnd99999@aliyun2006,cntaobao521yad -cnphpwnd99999@aliyun2007,cntaobao521yaoqianfeng -cnphpwnd99999@aliyun2008,cntaobao5226280abc -cnphpwnd99999@aliyun2009,cntaobao5229957aa -cnphpwnd99999@aliyun2010,cntaobao5230aa -cnphpwnd99999@aliyun2011,cntaobao5236asc -cnphpwnd99999@aliyun2012,cntaobao52377403fish -cnphpwnd99999@aliyun2013,cntaobao5238987abc -cnphpwnd99999@aliyun2014,cntaobao523jia -cnphpwnd99999@aliyun2015,cntaobao523tanjing -cnphpwnd99999@aliyun2016,cntaobao5241xiaokeai -cnphpwnd99999@aliyun2017,cntaobao524wilma -cnphpwnd99999@aliyun2018,cntaobao5250_apple -cnphpwnd99999@aliyun2019,cntaobao525252bao -cnphpwnd99999@aliyun2020,cntaobao5252929a -cnphpwnd99999@aliyun2021,cntaobao5254a -cnphpwnd99999@aliyun2022,cntaobao525baby -cnphpwnd99999@aliyun2023,cntaobao525may -cnphpwnd99999@aliyun2024,cntaobao527jianannan -cnphpwnd99999@aliyun2025,cntaobao527muchuan -cnphpwnd99999@aliyun2026,cntaobao52811zhao -cnphpwnd99999@aliyun2027,cntaobao528491lishuai -cnphpwnd99999@aliyun2028,cntaobao528_zhao -cnphpwnd99999@aliyun2029,cntaobao52ab -cnphpwnd99999@aliyun2030,cntaobao52ace -cnphpwnd99999@aliyun2031,cntaobao52afm -cnphpwnd99999@aliyun2032,cntaobao52asp -cnphpwnd99999@aliyun2033,cntaobao52baby -cnphpwnd99999@aliyun2034,cntaobao52baby7 -cnphpwnd99999@aliyun2035,cntaobao52bailu -cnphpwnd99999@aliyun2036,cntaobao52boda -cnphpwnd99999@aliyun2037,cntaobao52cash -cnphpwnd99999@aliyun2038,cntaobao52cynthia -cnphpwnd99999@aliyun2039,cntaobao52dan57 -cnphpwnd99999@aliyun2040,cntaobao52daye -cnphpwnd99999@aliyun2041,cntaobao52dongman.net -cnphpwnd99999@aliyun2042,cntaobao52each -cnphpwnd99999@aliyun2043,cntaobao52gangpang -cnphpwnd99999@aliyun2044,cntaobao52hyacinth -cnphpwnd99999@aliyun2045,cntaobao52iruka -cnphpwnd99999@aliyun2046,cntaobao52janny -cnphpwnd99999@aliyun2047,cntaobao52jiayi -cnphpwnd99999@aliyun2048,cntaobao52joan -cnphpwnd99999@aliyun2049,cntaobao52mai -cnphpwnd99999@aliyun2050,cntaobao52maomao -cnphpwnd99999@aliyun2051,cntaobao52mary -cnphpwnd99999@aliyun2052,cntaobao52mianfei -cnphpwnd99999@aliyun2053,cntaobao52miyavi -cnphpwnd99999@aliyun2054,cntaobao52nicholas -cnphpwnd99999@aliyun2055,cntaobao52play -cnphpwnd99999@aliyun2056,cntaobao52qianlima -cnphpwnd99999@aliyun2057,cntaobao52quixtar -cnphpwnd99999@aliyun2058,cntaobao52radio -cnphpwnd99999@aliyun2059,cntaobao52rakey -cnphpwnd99999@aliyun2060,cntaobao52samsung129 -cnphpwnd99999@aliyun2061,cntaobao52sea -cnphpwnd99999@aliyun2062,cntaobao52shaw -cnphpwnd99999@aliyun2063,cntaobao52shuchang -cnphpwnd99999@aliyun2064,cntaobao52shuna1314 -cnphpwnd99999@aliyun2065,cntaobao52taotao -cnphpwnd99999@aliyun2066,cntaobao52tian -cnphpwnd99999@aliyun2067,cntaobao52tianyang -cnphpwnd99999@aliyun2068,cntaobao52twinssa -cnphpwnd99999@aliyun2069,cntaobao52vivian -cnphpwnd99999@aliyun2070,cntaobao52xia -cnphpwnd99999@aliyun2071,cntaobao52xianshuyi -cnphpwnd99999@aliyun2072,cntaobao52xiao -cnphpwnd99999@aliyun2073,cntaobao52xiaobai -cnphpwnd99999@aliyun2074,cntaobao52xiaofeng -cnphpwnd99999@aliyun2075,cntaobao52xiaogezi -cnphpwnd99999@aliyun2076,cntaobao52xiaoya -cnphpwnd99999@aliyun2077,cntaobao52xiasha -cnphpwnd99999@aliyun2078,cntaobao52xuancai -cnphpwnd99999@aliyun2079,cntaobao52yajuan -cnphpwnd99999@aliyun2080,cntaobao52yangtao -cnphpwnd99999@aliyun2081,cntaobao52yanxueying -cnphpwnd99999@aliyun2082,cntaobao52yuanqing -cnphpwnd99999@aliyun2083,cntaobao52yuchao -cnphpwnd99999@aliyun2084,cntaobao52zhaojie -cnphpwnd99999@aliyun2085,cntaobao52å°èˆž -cnphpwnd99999@aliyun2086,cntaobao530adidas -cnphpwnd99999@aliyun2087,cntaobao530chengang -cnphpwnd99999@aliyun2088,cntaobao530xiaofang -cnphpwnd99999@aliyun2089,cntaobao531525789woaiying -cnphpwnd99999@aliyun2090,cntaobao5325250malei -cnphpwnd99999@aliyun2091,cntaobao533-darkhorse -cnphpwnd99999@aliyun2092,cntaobao53467994zhang -cnphpwnd99999@aliyun2093,cntaobao53589370a -cnphpwnd99999@aliyun2094,cntaobao536happyhour -cnphpwnd99999@aliyun2095,cntaobao538_roxanne -cnphpwnd99999@aliyun2096,cntaobao53myflashsky -cnphpwnd99999@aliyun2097,cntaobao53trade -cnphpwnd99999@aliyun2098,cntaobao5400754007a -cnphpwnd99999@aliyun2099,cntaobao540asasas -cnphpwnd99999@aliyun2100,cntaobao540å°é“º -cnphpwnd99999@aliyun2101,cntaobao541788hao -cnphpwnd99999@aliyun2102,cntaobao54188wallyy -cnphpwnd99999@aliyun2103,cntaobao54188wan -cnphpwnd99999@aliyun2104,cntaobao541rainman -cnphpwnd99999@aliyun2105,cntaobao5420775a -cnphpwnd99999@aliyun2106,cntaobao543276spark -cnphpwnd99999@aliyun2107,cntaobao54384670wang -cnphpwnd99999@aliyun2108,cntaobao5444429jinhao -cnphpwnd99999@aliyun2109,cntaobao545dsafasf -cnphpwnd99999@aliyun2110,cntaobao5460baby -cnphpwnd99999@aliyun2111,cntaobao54_angel -cnphpwnd99999@aliyun2112,cntaobao54_sang -cnphpwnd99999@aliyun2113,cntaobao54ajr -cnphpwnd99999@aliyun2114,cntaobao54al -cnphpwnd99999@aliyun2115,cntaobao54angie -cnphpwnd99999@aliyun2116,cntaobao54anson -cnphpwnd99999@aliyun2117,cntaobao54asura -cnphpwnd99999@aliyun2118,cntaobao54babbyww -cnphpwnd99999@aliyun2119,cntaobao54badboy -cnphpwnd99999@aliyun2120,cntaobao54baidu -cnphpwnd99999@aliyun2121,cntaobao54bennvhai -cnphpwnd99999@aliyun2122,cntaobao54cashen -cnphpwnd99999@aliyun2123,cntaobao54chaojiwudilq -cnphpwnd99999@aliyun2124,cntaobao54dada -cnphpwnd99999@aliyun2125,cntaobao54e-fan -cnphpwnd99999@aliyun2126,cntaobao54fanrui -cnphpwnd99999@aliyun2127,cntaobao54fishman -cnphpwnd99999@aliyun2128,cntaobao54garyzhou -cnphpwnd99999@aliyun2129,cntaobao54hanchang -cnphpwnd99999@aliyun2130,cntaobao54happy1 -cnphpwnd99999@aliyun2131,cntaobao54iam -cnphpwnd99999@aliyun2132,cntaobao54lala -cnphpwnd99999@aliyun2133,cntaobao54laoyang -cnphpwnd99999@aliyun2134,cntaobao54maizi -cnphpwnd99999@aliyun2135,cntaobao54mama -cnphpwnd99999@aliyun2136,cntaobao54natalia -cnphpwnd99999@aliyun2137,cntaobao54pengxiaohua -cnphpwnd99999@aliyun2138,cntaobao54rainpoint -cnphpwnd99999@aliyun2139,cntaobao54sars -cnphpwnd99999@aliyun2140,cntaobao54tang -cnphpwnd99999@aliyun2141,cntaobao54tianmo -cnphpwnd99999@aliyun2142,cntaobao54tianzun -cnphpwnd99999@aliyun2143,cntaobao54xiaofei -cnphpwnd99999@aliyun2144,cntaobao54xiaoyun -cnphpwnd99999@aliyun2145,cntaobao54yanyan -cnphpwnd99999@aliyun2146,cntaobao54yuan -cnphpwnd99999@aliyun2147,cntaobao54zhangbo -cnphpwnd99999@aliyun2148,cntaobao54zhyan -cnphpwnd99999@aliyun2149,cntaobao54狼 -cnphpwnd99999@aliyun2150,cntaobao550wanting -cnphpwnd99999@aliyun2151,cntaobao5521t -cnphpwnd99999@aliyun2152,cntaobao5522384zhang -cnphpwnd99999@aliyun2153,cntaobao55256yangguang -cnphpwnd99999@aliyun2154,cntaobao555555aaaaaa88 -cnphpwnd99999@aliyun2155,cntaobao55555tao -cnphpwnd99999@aliyun2156,cntaobao555aispl -cnphpwnd99999@aliyun2157,cntaobao555fanny -cnphpwnd99999@aliyun2158,cntaobao555jacke -cnphpwnd99999@aliyun2159,cntaobao555jkyang -cnphpwnd99999@aliyun2160,cntaobao555xiaowei -cnphpwnd99999@aliyun2161,cntaobao5566334nba -cnphpwnd99999@aliyun2162,cntaobao5566_tian -cnphpwnd99999@aliyun2163,cntaobao5566a -cnphpwnd99999@aliyun2164,cntaobao5566a8 -cnphpwnd99999@aliyun2165,cntaobao5566angel -cnphpwnd99999@aliyun2166,cntaobao5566haihai -cnphpwnd99999@aliyun2167,cntaobao5567seal -cnphpwnd99999@aliyun2168,cntaobao5571497woaini -cnphpwnd99999@aliyun2169,cntaobao5575512a -cnphpwnd99999@aliyun2170,cntaobao5580830_tansai -cnphpwnd99999@aliyun2171,cntaobao5583908a -cnphpwnd99999@aliyun2172,cntaobao55887878aa -cnphpwnd99999@aliyun2173,cntaobao558aa6 -cnphpwnd99999@aliyun2174,cntaobao55909906bao -cnphpwnd99999@aliyun2175,cntaobao55963874sai -cnphpwnd99999@aliyun2176,cntaobao55aa -cnphpwnd99999@aliyun2177,cntaobao55adeline -cnphpwnd99999@aliyun2178,cntaobao55awslutdl -cnphpwnd99999@aliyun2179,cntaobao55babyblue55 -cnphpwnd99999@aliyun2180,cntaobao55canny -cnphpwnd99999@aliyun2181,cntaobao55chanel66 -cnphpwnd99999@aliyun2182,cntaobao55jiang -cnphpwnd99999@aliyun2183,cntaobao56087lan -cnphpwnd99999@aliyun2184,cntaobao5610asdf_120 -cnphpwnd99999@aliyun2185,cntaobao5618586abc -cnphpwnd99999@aliyun2186,cntaobao5636877a -cnphpwnd99999@aliyun2187,cntaobao5677apple -cnphpwnd99999@aliyun2188,cntaobao5678129tan -cnphpwnd99999@aliyun2189,cntaobao567babala21 -cnphpwnd99999@aliyun2190,cntaobao5697987a -cnphpwnd99999@aliyun2191,cntaobao5698abcd -cnphpwnd99999@aliyun2192,cntaobao56angel -cnphpwnd99999@aliyun2193,cntaobao56apples -cnphpwnd99999@aliyun2194,cntaobao56hlj -cnphpwnd99999@aliyun2195,cntaobao56nana -cnphpwnd99999@aliyun2196,cntaobao5719042cao -cnphpwnd99999@aliyun2197,cntaobao572013a -cnphpwnd99999@aliyun2198,cntaobao5732abc -cnphpwnd99999@aliyun2199,cntaobao573shawn -cnphpwnd99999@aliyun2200,cntaobao5746138abc -cnphpwnd99999@aliyun2201,cntaobao57527668a -cnphpwnd99999@aliyun2202,cntaobao5767560wangyonggang -cnphpwnd99999@aliyun2203,cntaobao578zao -cnphpwnd99999@aliyun2204,cntaobao5791885a -cnphpwnd99999@aliyun2205,cntaobao57game -cnphpwnd99999@aliyun2206,cntaobao57xiaoxiao -cnphpwnd99999@aliyun2207,cntaobao5801675abc -cnphpwnd99999@aliyun2208,cntaobao581239_papa -cnphpwnd99999@aliyun2209,cntaobao58222299faye -cnphpwnd99999@aliyun2210,cntaobao5826a -cnphpwnd99999@aliyun2211,cntaobao58336a -cnphpwnd99999@aliyun2212,cntaobao5835017daifei -cnphpwnd99999@aliyun2213,cntaobao583loribafeiyou -cnphpwnd99999@aliyun2214,cntaobao584cat -cnphpwnd99999@aliyun2215,cntaobao584woxiangni -cnphpwnd99999@aliyun2216,cntaobao5860wang -cnphpwnd99999@aliyun2217,cntaobao5861658aaa -cnphpwnd99999@aliyun2218,cntaobao58627cyhua -cnphpwnd99999@aliyun2219,cntaobao5868081a -cnphpwnd99999@aliyun2220,cntaobao5888122ab -cnphpwnd99999@aliyun2221,cntaobao589a42b -cnphpwnd99999@aliyun2222,cntaobao58_franklin -cnphpwnd99999@aliyun2223,cntaobao58a23 -cnphpwnd99999@aliyun2224,cntaobao58miao -cnphpwnd99999@aliyun2225,cntaobao5911861a -cnphpwnd99999@aliyun2226,cntaobao592cdma -cnphpwnd99999@aliyun2227,cntaobao5945taozi -cnphpwnd99999@aliyun2228,cntaobao594allan -cnphpwnd99999@aliyun2229,cntaobao59cai -cnphpwnd99999@aliyun2230,cntaobao5a888 -cnphpwnd99999@aliyun2231,cntaobao5aim -cnphpwnd99999@aliyun2232,cntaobao5aisha -cnphpwnd99999@aliyun2233,cntaobao5aishuaya -cnphpwnd99999@aliyun2234,cntaobao5aiwen -cnphpwnd99999@aliyun2235,cntaobao5aiyao -cnphpwnd99999@aliyun2236,cntaobao5aiyi -cnphpwnd99999@aliyun2237,cntaobao5aizb -cnphpwnd99999@aliyun2238,cntaobao5aizhlili520 -cnphpwnd99999@aliyun2239,cntaobao5ameman -cnphpwnd99999@aliyun2240,cntaobao5ang7ian -cnphpwnd99999@aliyun2241,cntaobao5asd -cnphpwnd99999@aliyun2242,cntaobao5att -cnphpwnd99999@aliyun2243,cntaobao5baichi -cnphpwnd99999@aliyun2244,cntaobao5bay -cnphpwnd99999@aliyun2245,cntaobao5c-trade -cnphpwnd99999@aliyun2246,cntaobao5caonimama -cnphpwnd99999@aliyun2247,cntaobao5demail -cnphpwnd99999@aliyun2248,cntaobao5dollar -cnphpwnd99999@aliyun2249,cntaobao5fiexiang -cnphpwnd99999@aliyun2250,cntaobao5game -cnphpwnd99999@aliyun2251,cntaobao5ht-auenue -cnphpwnd99999@aliyun2252,cntaobao5i0ai -cnphpwnd99999@aliyun2253,cntaobao5i5baby -cnphpwnd99999@aliyun2254,cntaobao5iangel -cnphpwnd99999@aliyun2255,cntaobao5icool -cnphpwnd99999@aliyun2256,cntaobao5idajia -cnphpwnd99999@aliyun2257,cntaobao5idea -cnphpwnd99999@aliyun2258,cntaobao5imybaby -cnphpwnd99999@aliyun2259,cntaobao5inamoto -cnphpwnd99999@aliyun2260,cntaobao5ipapa -cnphpwnd99999@aliyun2261,cntaobao5isam -cnphpwnd99999@aliyun2262,cntaobao5isamsung -cnphpwnd99999@aliyun2263,cntaobao5isean -cnphpwnd99999@aliyun2264,cntaobao5itravel -cnphpwnd99999@aliyun2265,cntaobao5iwoailuo -cnphpwnd99999@aliyun2266,cntaobao5j5i -cnphpwnd99999@aliyun2267,cntaobao5jaykon -cnphpwnd99999@aliyun2268,cntaobao5jbaby -cnphpwnd99999@aliyun2269,cntaobao5jiao -cnphpwnd99999@aliyun2270,cntaobao5koecat -cnphpwnd99999@aliyun2271,cntaobao5liao -cnphpwnd99999@aliyun2272,cntaobao5liaoyurong -cnphpwnd99999@aliyun2273,cntaobao5maifei -cnphpwnd99999@aliyun2274,cntaobao5mcar.com -cnphpwnd99999@aliyun2275,cntaobao5nanzu -cnphpwnd99999@aliyun2276,cntaobao5q3a1z7p9l -cnphpwnd99999@aliyun2277,cntaobao5rrgrdpa -cnphpwnd99999@aliyun2278,cntaobao5th_season -cnphpwnd99999@aliyun2279,cntaobao5thspace -cnphpwnd99999@aliyun2280,cntaobao5tianya -cnphpwnd99999@aliyun2281,cntaobao5to20 -cnphpwnd99999@aliyun2282,cntaobao5udnuce53563fa -cnphpwnd99999@aliyun2283,cntaobao5wan_1wan -cnphpwnd99999@aliyun2284,cntaobao5wangkai123 -cnphpwnd99999@aliyun2285,cntaobao5water -cnphpwnd99999@aliyun2286,cntaobao5xiang168 -cnphpwnd99999@aliyun2287,cntaobao5xiang2 -cnphpwnd99999@aliyun2288,cntaobao5xiaoqiang5 -cnphpwnd99999@aliyun2289,cntaobao5years -cnphpwnd99999@aliyun2290,cntaobao6-328man -cnphpwnd99999@aliyun2291,cntaobao601ashley -cnphpwnd99999@aliyun2292,cntaobao6032263abc -cnphpwnd99999@aliyun2293,cntaobao603_douglas -cnphpwnd99999@aliyun2294,cntaobao604bad -cnphpwnd99999@aliyun2295,cntaobao6060521hao -cnphpwnd99999@aliyun2296,cntaobao60dadao -cnphpwnd99999@aliyun2297,cntaobao60pamela -cnphpwnd99999@aliyun2298,cntaobao610000gongtao -cnphpwnd99999@aliyun2299,cntaobao610aaz -cnphpwnd99999@aliyun2300,cntaobao610tracy -cnphpwnd99999@aliyun2301,cntaobao611liuyaoyao -cnphpwnd99999@aliyun2302,cntaobao611sushewoai -cnphpwnd99999@aliyun2303,cntaobao613jason -cnphpwnd99999@aliyun2304,cntaobao614peach -cnphpwnd99999@aliyun2305,cntaobao618antony -cnphpwnd99999@aliyun2306,cntaobao618hao -cnphpwnd99999@aliyun2307,cntaobao619shangjiayu -cnphpwnd99999@aliyun2308,cntaobao61guitar -cnphpwnd99999@aliyun2309,cntaobao62077wang -cnphpwnd99999@aliyun2310,cntaobao620dragon -cnphpwnd99999@aliyun2311,cntaobao622290a -cnphpwnd99999@aliyun2312,cntaobao6222910abc -cnphpwnd99999@aliyun2313,cntaobao6229a -cnphpwnd99999@aliyun2314,cntaobao623omega -cnphpwnd99999@aliyun2315,cntaobao62567718a -cnphpwnd99999@aliyun2316,cntaobao62673210a -cnphpwnd99999@aliyun2317,cntaobao628a-tang -cnphpwnd99999@aliyun2318,cntaobao629shadow -cnphpwnd99999@aliyun2319,cntaobao63061259zaq -cnphpwnd99999@aliyun2320,cntaobao630625ab -cnphpwnd99999@aliyun2321,cntaobao63078118a -cnphpwnd99999@aliyun2322,cntaobao6351414a41 -cnphpwnd99999@aliyun2323,cntaobao6352670a -cnphpwnd99999@aliyun2324,cntaobao63578a -cnphpwnd99999@aliyun2325,cntaobao636_wang -cnphpwnd99999@aliyun2326,cntaobao6378695a -cnphpwnd99999@aliyun2327,cntaobao638_selma -cnphpwnd99999@aliyun2328,cntaobao6394935wang -cnphpwnd99999@aliyun2329,cntaobao63france -cnphpwnd99999@aliyun2330,cntaobao63guan -cnphpwnd99999@aliyun2331,cntaobao6401371qaz -cnphpwnd99999@aliyun2332,cntaobao640522yang -cnphpwnd99999@aliyun2333,cntaobao64061145a -cnphpwnd99999@aliyun2334,cntaobao6442182ya -cnphpwnd99999@aliyun2335,cntaobao6480081a -cnphpwnd99999@aliyun2336,cntaobao64822242wokao -cnphpwnd99999@aliyun2337,cntaobao64890204maomao -cnphpwnd99999@aliyun2338,cntaobao6507853a -cnphpwnd99999@aliyun2339,cntaobao6513546caui -cnphpwnd99999@aliyun2340,cntaobao65251210qaz -cnphpwnd99999@aliyun2341,cntaobao6531535mat -cnphpwnd99999@aliyun2342,cntaobao654654a -cnphpwnd99999@aliyun2343,cntaobao6549mai -cnphpwnd99999@aliyun2344,cntaobao654ak123 -cnphpwnd99999@aliyun2345,cntaobao654nana -cnphpwnd99999@aliyun2346,cntaobao6560702qazxsw9 -cnphpwnd99999@aliyun2347,cntaobao65726277ab -cnphpwnd99999@aliyun2348,cntaobao6574160aini -cnphpwnd99999@aliyun2349,cntaobao6591catherine -cnphpwnd99999@aliyun2350,cntaobao6635207as -cnphpwnd99999@aliyun2351,cntaobao6650460zhang -cnphpwnd99999@aliyun2352,cntaobao666018a -cnphpwnd99999@aliyun2353,cntaobao66618wan -cnphpwnd99999@aliyun2354,cntaobao6663626aa -cnphpwnd99999@aliyun2355,cntaobao66659968dai -cnphpwnd99999@aliyun2356,cntaobao666asdfghjkl -cnphpwnd99999@aliyun2357,cntaobao666fang -cnphpwnd99999@aliyun2358,cntaobao666jiangyue666 -cnphpwnd99999@aliyun2359,cntaobao666lzy -cnphpwnd99999@aliyun2360,cntaobao666seraph888 -cnphpwnd99999@aliyun2361,cntaobao666xiaomao -cnphpwnd99999@aliyun2362,cntaobao66708317a -cnphpwnd99999@aliyun2363,cntaobao66750188788178anlin -cnphpwnd99999@aliyun2364,cntaobao6677a -cnphpwnd99999@aliyun2365,cntaobao668866xian -cnphpwnd99999@aliyun2366,cntaobao6688801a1 -cnphpwnd99999@aliyun2367,cntaobao6688_qiang -cnphpwnd99999@aliyun2368,cntaobao668tianming -cnphpwnd99999@aliyun2369,cntaobao66983987a -cnphpwnd99999@aliyun2370,cntaobao6699as -cnphpwnd99999@aliyun2371,cntaobao66acl -cnphpwnd99999@aliyun2372,cntaobao66carol -cnphpwnd99999@aliyun2373,cntaobao66fanjingjing -cnphpwnd99999@aliyun2374,cntaobao66isabella -cnphpwnd99999@aliyun2375,cntaobao66ivywang -cnphpwnd99999@aliyun2376,cntaobao66jiankang -cnphpwnd99999@aliyun2377,cntaobao66linda -cnphpwnd99999@aliyun2378,cntaobao66liuyang -cnphpwnd99999@aliyun2379,cntaobao66qijiumao -cnphpwnd99999@aliyun2380,cntaobao66yuwentao88 -cnphpwnd99999@aliyun2381,cntaobao6711087aa -cnphpwnd99999@aliyun2382,cntaobao67170700a -cnphpwnd99999@aliyun2383,cntaobao67190780a_ -cnphpwnd99999@aliyun2384,cntaobao67454049aa -cnphpwnd99999@aliyun2385,cntaobao6753800xiao -cnphpwnd99999@aliyun2386,cntaobao6767ab -cnphpwnd99999@aliyun2387,cntaobao67830085a -cnphpwnd99999@aliyun2388,cntaobao678fang -cnphpwnd99999@aliyun2389,cntaobao67996221aa -cnphpwnd99999@aliyun2390,cntaobao68018829zhangwen -cnphpwnd99999@aliyun2391,cntaobao6863569zhang -cnphpwnd99999@aliyun2392,cntaobao6886woaini -cnphpwnd99999@aliyun2393,cntaobao6894355maqing -cnphpwnd99999@aliyun2394,cntaobao68984abc-c -cnphpwnd99999@aliyun2395,cntaobao6899728hao -cnphpwnd99999@aliyun2396,cntaobao68gao11 -cnphpwnd99999@aliyun2397,cntaobao690578caxx -cnphpwnd99999@aliyun2398,cntaobao6910151023lixiang -cnphpwnd99999@aliyun2399,cntaobao6983127aaa -cnphpwnd99999@aliyun2400,cntaobao69xianman -cnphpwnd99999@aliyun2401,cntaobao6_9s -cnphpwnd99999@aliyun2402,cntaobao6a69027156 -cnphpwnd99999@aliyun2403,cntaobao6angel -cnphpwnd99999@aliyun2404,cntaobao6auto2 -cnphpwnd99999@aliyun2405,cntaobao6dongangxm -cnphpwnd99999@aliyun2406,cntaobao6edward9 -cnphpwnd99999@aliyun2407,cntaobao6fansizhe -cnphpwnd99999@aliyun2408,cntaobao6flame -cnphpwnd99999@aliyun2409,cntaobao6gaoyun -cnphpwnd99999@aliyun2410,cntaobao6haiy -cnphpwnd99999@aliyun2411,cntaobao6hao -cnphpwnd99999@aliyun2412,cntaobao6ju2lc8jazru9z -cnphpwnd99999@aliyun2413,cntaobao6keapndv7e -cnphpwnd99999@aliyun2414,cntaobao6make -cnphpwnd99999@aliyun2415,cntaobao6mudan -cnphpwnd99999@aliyun2416,cntaobao6qw0tkbytatvtv4wdn -cnphpwnd99999@aliyun2417,cntaobao6unica -cnphpwnd99999@aliyun2418,cntaobao6vba133 -cnphpwnd99999@aliyun2419,cntaobao6vxe7 -cnphpwnd99999@aliyun2420,cntaobao6wangfang -cnphpwnd99999@aliyun2421,cntaobao6wayd5 -cnphpwnd99999@aliyun2422,cntaobao6xiaoyu -cnphpwnd99999@aliyun2423,cntaobao7-11-saler -cnphpwnd99999@aliyun2424,cntaobao7010302004aaaaaaaa -cnphpwnd99999@aliyun2425,cntaobao701217a5 -cnphpwnd99999@aliyun2426,cntaobao707zhangfengde -cnphpwnd99999@aliyun2427,cntaobao70ages -cnphpwnd99999@aliyun2428,cntaobao710600wozaishenbian -cnphpwnd99999@aliyun2429,cntaobao711215a -cnphpwnd99999@aliyun2430,cntaobao7119159xia -cnphpwnd99999@aliyun2431,cntaobao711crazy -cnphpwnd99999@aliyun2432,cntaobao715wangpan -cnphpwnd99999@aliyun2433,cntaobao7172191dxh -cnphpwnd99999@aliyun2434,cntaobao71834477_wang -cnphpwnd99999@aliyun2435,cntaobao718a -cnphpwnd99999@aliyun2436,cntaobao718grace -cnphpwnd99999@aliyun2437,cntaobao71chanqh -cnphpwnd99999@aliyun2438,cntaobao7213143a -cnphpwnd99999@aliyun2439,cntaobao721521dsa -cnphpwnd99999@aliyun2440,cntaobao7223827a -cnphpwnd99999@aliyun2441,cntaobao723_arthas -cnphpwnd99999@aliyun2442,cntaobao726changhong -cnphpwnd99999@aliyun2443,cntaobao727cat -cnphpwnd99999@aliyun2444,cntaobao7296676a -cnphpwnd99999@aliyun2445,cntaobao72bian -cnphpwnd99999@aliyun2446,cntaobao7315573a -cnphpwnd99999@aliyun2447,cntaobao7322299ai -cnphpwnd99999@aliyun2448,cntaobao733jacky -cnphpwnd99999@aliyun2449,cntaobao7390837abcd -cnphpwnd99999@aliyun2450,cntaobao73_qiang -cnphpwnd99999@aliyun2451,cntaobao73freeman -cnphpwnd99999@aliyun2452,cntaobao73menghuan4 -cnphpwnd99999@aliyun2453,cntaobao73wangfeng -cnphpwnd99999@aliyun2454,cntaobao7402903han -cnphpwnd99999@aliyun2455,cntaobao741105zhyao -cnphpwnd99999@aliyun2456,cntaobao74511940qiang -cnphpwnd99999@aliyun2457,cntaobao748carmen -cnphpwnd99999@aliyun2458,cntaobao748nihao -cnphpwnd99999@aliyun2459,cntaobao74xiaoma -cnphpwnd99999@aliyun2460,cntaobao74xunbao -cnphpwnd99999@aliyun2461,cntaobao750802abc -cnphpwnd99999@aliyun2462,cntaobao7519069a -cnphpwnd99999@aliyun2463,cntaobao752163emma -cnphpwnd99999@aliyun2464,cntaobao753951qa -cnphpwnd99999@aliyun2465,cntaobao75760885a -cnphpwnd99999@aliyun2466,cntaobao75anne -cnphpwnd99999@aliyun2467,cntaobao75ceciliar -cnphpwnd99999@aliyun2468,cntaobao75fans -cnphpwnd99999@aliyun2469,cntaobao75huang -cnphpwnd99999@aliyun2470,cntaobao75wwwtao -cnphpwnd99999@aliyun2471,cntaobao760202hegang -cnphpwnd99999@aliyun2472,cntaobao7614578able -cnphpwnd99999@aliyun2473,cntaobao763198weijia -cnphpwnd99999@aliyun2474,cntaobao76348348a -cnphpwnd99999@aliyun2475,cntaobao76406272yaoyayo -cnphpwnd99999@aliyun2476,cntaobao7666181ai -cnphpwnd99999@aliyun2477,cntaobao76bank -cnphpwnd99999@aliyun2478,cntaobao76ers -cnphpwnd99999@aliyun2479,cntaobao76ersac -cnphpwnd99999@aliyun2480,cntaobao76haoqiang -cnphpwnd99999@aliyun2481,cntaobao76jazz -cnphpwnd99999@aliyun2482,cntaobao76megan -cnphpwnd99999@aliyun2483,cntaobao7704432a -cnphpwnd99999@aliyun2484,cntaobao7706069a -cnphpwnd99999@aliyun2485,cntaobao770xiaoxin -cnphpwnd99999@aliyun2486,cntaobao77190237a -cnphpwnd99999@aliyun2487,cntaobao7728babyq -cnphpwnd99999@aliyun2488,cntaobao77307022a -cnphpwnd99999@aliyun2489,cntaobao77351946ba -cnphpwnd99999@aliyun2490,cntaobao7739665a -cnphpwnd99999@aliyun2491,cntaobao77521456wan -cnphpwnd99999@aliyun2492,cntaobao7754521asd -cnphpwnd99999@aliyun2493,cntaobao7758521abc88 -cnphpwnd99999@aliyun2494,cntaobao7758521aw -cnphpwnd99999@aliyun2495,cntaobao7758521tian -cnphpwnd99999@aliyun2496,cntaobao7758_abcd -cnphpwnd99999@aliyun2497,cntaobao7758woai -cnphpwnd99999@aliyun2498,cntaobao7777a -cnphpwnd99999@aliyun2499,cntaobao777_liao622 -cnphpwnd99999@aliyun2500,cntaobao777days -cnphpwnd99999@aliyun2501,cntaobao777jimmytan -cnphpwnd99999@aliyun2502,cntaobao7790013lanbobo -cnphpwnd99999@aliyun2503,cntaobao7791zhaa -cnphpwnd99999@aliyun2504,cntaobao77949570aa -cnphpwnd99999@aliyun2505,cntaobao779655545444 -cnphpwnd99999@aliyun2506,cntaobao7799fiona -cnphpwnd99999@aliyun2507,cntaobao77ba -cnphpwnd99999@aliyun2508,cntaobao77can -cnphpwnd99999@aliyun2509,cntaobao77jasmine -cnphpwnd99999@aliyun2510,cntaobao77taoxue -cnphpwnd99999@aliyun2511,cntaobao78123_fang -cnphpwnd99999@aliyun2512,cntaobao7813070adsl2 -cnphpwnd99999@aliyun2513,cntaobao7821993alag -cnphpwnd99999@aliyun2514,cntaobao7822day -cnphpwnd99999@aliyun2515,cntaobao7829545cl -cnphpwnd99999@aliyun2516,cntaobao783_fiona -cnphpwnd99999@aliyun2517,cntaobao7858647mai -cnphpwnd99999@aliyun2518,cntaobao7867tonyan -cnphpwnd99999@aliyun2519,cntaobao787459navy -cnphpwnd99999@aliyun2520,cntaobao78790561a -cnphpwnd99999@aliyun2521,cntaobao7894370ash -cnphpwnd99999@aliyun2522,cntaobao789456as -cnphpwnd99999@aliyun2523,cntaobao789456jiarui -cnphpwnd99999@aliyun2524,cntaobao789789aaaa -cnphpwnd99999@aliyun2525,cntaobao789789zhang -cnphpwnd99999@aliyun2526,cntaobao78993299nihao -cnphpwnd99999@aliyun2527,cntaobao789_asd_ok -cnphpwnd99999@aliyun2528,cntaobao789naitaix -cnphpwnd99999@aliyun2529,cntaobao789qweasd -cnphpwnd99999@aliyun2530,cntaobao789suhua -cnphpwnd99999@aliyun2531,cntaobao789zhaoze -cnphpwnd99999@aliyun2532,cntaobao78blackcat -cnphpwnd99999@aliyun2533,cntaobao78carol12 -cnphpwnd99999@aliyun2534,cntaobao78larry -cnphpwnd99999@aliyun2535,cntaobao7903837xiaoliang -cnphpwnd99999@aliyun2536,cntaobao7922105liao -cnphpwnd99999@aliyun2537,cntaobao79287928aa -cnphpwnd99999@aliyun2538,cntaobao794967a -cnphpwnd99999@aliyun2539,cntaobao7956fuqiang -cnphpwnd99999@aliyun2540,cntaobao7979787877a -cnphpwnd99999@aliyun2541,cntaobao79850873gao -cnphpwnd99999@aliyun2542,cntaobao798_sang -cnphpwnd99999@aliyun2543,cntaobao799-happy -cnphpwnd99999@aliyun2544,cntaobao79ivan -cnphpwnd99999@aliyun2545,cntaobao79xiaoxia -cnphpwnd99999@aliyun2546,cntaobao79zhangli -cnphpwnd99999@aliyun2547,cntaobao7allul -cnphpwnd99999@aliyun2548,cntaobao7and26 -cnphpwnd99999@aliyun2549,cntaobao7asis -cnphpwnd99999@aliyun2550,cntaobao7beckham -cnphpwnd99999@aliyun2551,cntaobao7cai -cnphpwnd99999@aliyun2552,cntaobao7cash -cnphpwnd99999@aliyun2553,cntaobao7danny -cnphpwnd99999@aliyun2554,cntaobao7dream -cnphpwnd99999@aliyun2555,cntaobao7gfang999 -cnphpwnd99999@aliyun2556,cntaobao7guai -cnphpwnd99999@aliyun2557,cntaobao7helan -cnphpwnd99999@aliyun2558,cntaobao7ie8na -cnphpwnd99999@aliyun2559,cntaobao7lrandy -cnphpwnd99999@aliyun2560,cntaobao7ocean -cnphpwnd99999@aliyun2561,cntaobao7rainbow -cnphpwnd99999@aliyun2562,cntaobao7ran7 -cnphpwnd99999@aliyun2563,cntaobao7rihai555 -cnphpwnd99999@aliyun2564,cntaobao7sam112 -cnphpwnd99999@aliyun2565,cntaobao7sheva -cnphpwnd99999@aliyun2566,cntaobao7si_com -cnphpwnd99999@aliyun2567,cntaobao7star -cnphpwnd99999@aliyun2568,cntaobao7sunday -cnphpwnd99999@aliyun2569,cntaobao7tea -cnphpwnd99999@aliyun2570,cntaobao7thwave -cnphpwnd99999@aliyun2571,cntaobao7upsoda -cnphpwnd99999@aliyun2572,cntaobao7wangzhe -cnphpwnd99999@aliyun2573,cntaobao7wolfyan -cnphpwnd99999@aliyun2574,cntaobao7ys8rhca1uzq4phd24f -cnphpwnd99999@aliyun2575,cntaobao8-ball -cnphpwnd99999@aliyun2576,cntaobao80000china -cnphpwnd99999@aliyun2577,cntaobao8000ad -cnphpwnd99999@aliyun2578,cntaobao800haishan -cnphpwnd99999@aliyun2579,cntaobao800xiaolei -cnphpwnd99999@aliyun2580,cntaobao801021252aaa -cnphpwnd99999@aliyun2581,cntaobao8013elva -cnphpwnd99999@aliyun2582,cntaobao80195299a -cnphpwnd99999@aliyun2583,cntaobao8023ambrose4ever -cnphpwnd99999@aliyun2584,cntaobao8023baby -cnphpwnd99999@aliyun2585,cntaobao803040a -cnphpwnd99999@aliyun2586,cntaobao8030a -cnphpwnd99999@aliyun2587,cntaobao8065264yuankai -cnphpwnd99999@aliyun2588,cntaobao8080asdf -cnphpwnd99999@aliyun2589,cntaobao80_linda -cnphpwnd99999@aliyun2590,cntaobao80after -cnphpwnd99999@aliyun2591,cntaobao80anastasia -cnphpwnd99999@aliyun2592,cntaobao80anita -cnphpwnd99999@aliyun2593,cntaobao80bar -cnphpwnd99999@aliyun2594,cntaobao80day -cnphpwnd99999@aliyun2595,cntaobao80niandai -cnphpwnd99999@aliyun2596,cntaobao80yangguang08 -cnphpwnd99999@aliyun2597,cntaobao81003liliang -cnphpwnd99999@aliyun2598,cntaobao810210wangli -cnphpwnd99999@aliyun2599,cntaobao810406abc -cnphpwnd99999@aliyun2600,cntaobao811029xiedandan -cnphpwnd99999@aliyun2601,cntaobao8118065a -cnphpwnd99999@aliyun2602,cntaobao81256069a -cnphpwnd99999@aliyun2603,cntaobao8155wang -cnphpwnd99999@aliyun2604,cntaobao8157andy -cnphpwnd99999@aliyun2605,cntaobao815abc815 -cnphpwnd99999@aliyun2606,cntaobao816apple -cnphpwnd99999@aliyun2607,cntaobao81724866aaa -cnphpwnd99999@aliyun2608,cntaobao8175733a -cnphpwnd99999@aliyun2609,cntaobao817814aaa -cnphpwnd99999@aliyun2610,cntaobao819liyang -cnphpwnd99999@aliyun2611,cntaobao81_susan -cnphpwnd99999@aliyun2612,cntaobao81cathy -cnphpwnd99999@aliyun2613,cntaobao81jijia -cnphpwnd99999@aliyun2614,cntaobao81nihao -cnphpwnd99999@aliyun2615,cntaobao81salem -cnphpwnd99999@aliyun2616,cntaobao8206nana -cnphpwnd99999@aliyun2617,cntaobao8208777a -cnphpwnd99999@aliyun2618,cntaobao821028vivian -cnphpwnd99999@aliyun2619,cntaobao8210lai -cnphpwnd99999@aliyun2620,cntaobao8218741a -cnphpwnd99999@aliyun2621,cntaobao821wang -cnphpwnd99999@aliyun2622,cntaobao823395xj34ac -cnphpwnd99999@aliyun2623,cntaobao8236909as -cnphpwnd99999@aliyun2624,cntaobao8239xiaocao -cnphpwnd99999@aliyun2625,cntaobao8246wsad -cnphpwnd99999@aliyun2626,cntaobao82557604a -cnphpwnd99999@aliyun2627,cntaobao8269abc -cnphpwnd99999@aliyun2628,cntaobao82719abcd -cnphpwnd99999@aliyun2629,cntaobao829113_jia -cnphpwnd99999@aliyun2630,cntaobao82wang -cnphpwnd99999@aliyun2631,cntaobao82yuhao -cnphpwnd99999@aliyun2632,cntaobao83065892a -cnphpwnd99999@aliyun2633,cntaobao831022baibai -cnphpwnd99999@aliyun2634,cntaobao831122lai_2005 -cnphpwnd99999@aliyun2635,cntaobao8316ac -cnphpwnd99999@aliyun2636,cntaobao83214836aa -cnphpwnd99999@aliyun2637,cntaobao83310956qa -cnphpwnd99999@aliyun2638,cntaobao8335340pan -cnphpwnd99999@aliyun2639,cntaobao833_lina -cnphpwnd99999@aliyun2640,cntaobao833_ma -cnphpwnd99999@aliyun2641,cntaobao83424963a -cnphpwnd99999@aliyun2642,cntaobao8353wang -cnphpwnd99999@aliyun2643,cntaobao8368865ai -cnphpwnd99999@aliyun2644,cntaobao8375013a -cnphpwnd99999@aliyun2645,cntaobao8375721as -cnphpwnd99999@aliyun2646,cntaobao8395436ka -cnphpwnd99999@aliyun2647,cntaobao83a96b -cnphpwnd99999@aliyun2648,cntaobao83fantasy57 -cnphpwnd99999@aliyun2649,cntaobao83huangrui -cnphpwnd99999@aliyun2650,cntaobao83liutao83 -cnphpwnd99999@aliyun2651,cntaobao83sally -cnphpwnd99999@aliyun2652,cntaobao83simiao -cnphpwnd99999@aliyun2653,cntaobao83tai -cnphpwnd99999@aliyun2654,cntaobao83tantan -cnphpwnd99999@aliyun2655,cntaobao83xhia -cnphpwnd99999@aliyun2656,cntaobao840552as -cnphpwnd99999@aliyun2657,cntaobao8410aa -cnphpwnd99999@aliyun2658,cntaobao8411782_lijia -cnphpwnd99999@aliyun2659,cntaobao84209163abc -cnphpwnd99999@aliyun2660,cntaobao84365858laifei -cnphpwnd99999@aliyun2661,cntaobao8442214a -cnphpwnd99999@aliyun2662,cntaobao8445230a -cnphpwnd99999@aliyun2663,cntaobao84597356a -cnphpwnd99999@aliyun2664,cntaobao8462asdrty -cnphpwnd99999@aliyun2665,cntaobao84dada84 -cnphpwnd99999@aliyun2666,cntaobao84langzi -cnphpwnd99999@aliyun2667,cntaobao84wanglei -cnphpwnd99999@aliyun2668,cntaobao850914tita -cnphpwnd99999@aliyun2669,cntaobao851105asdf -cnphpwnd99999@aliyun2670,cntaobao851227lijia -cnphpwnd99999@aliyun2671,cntaobao85217asdf -cnphpwnd99999@aliyun2672,cntaobao85311184a -cnphpwnd99999@aliyun2673,cntaobao85363010wang -cnphpwnd99999@aliyun2674,cntaobao8544013a -cnphpwnd99999@aliyun2675,cntaobao85675735xiaocuei -cnphpwnd99999@aliyun2676,cntaobao8588841a -cnphpwnd99999@aliyun2677,cntaobao85_darcy -cnphpwnd99999@aliyun2678,cntaobao85xiaxia -cnphpwnd99999@aliyun2679,cntaobao85xueyan -cnphpwnd99999@aliyun2680,cntaobao86036908pp -cnphpwnd99999@aliyun2681,cntaobao860928abc -cnphpwnd99999@aliyun2682,cntaobao862280hua -cnphpwnd99999@aliyun2683,cntaobao86254514an -cnphpwnd99999@aliyun2684,cntaobao86460wangying -cnphpwnd99999@aliyun2685,cntaobao86_fingal -cnphpwnd99999@aliyun2686,cntaobao86ba -cnphpwnd99999@aliyun2687,cntaobao86dabao2 -cnphpwnd99999@aliyun2688,cntaobao86flash -cnphpwnd99999@aliyun2689,cntaobao86laobing -cnphpwnd99999@aliyun2690,cntaobao86putao -cnphpwnd99999@aliyun2691,cntaobao8744yang -cnphpwnd99999@aliyun2692,cntaobao87663995abc -cnphpwnd99999@aliyun2693,cntaobao87682685aaa -cnphpwnd99999@aliyun2694,cntaobao87869039mail -cnphpwnd99999@aliyun2695,cntaobao87927wangzijun -cnphpwnd99999@aliyun2696,cntaobao87jacky -cnphpwnd99999@aliyun2697,cntaobao87liuchao -cnphpwnd99999@aliyun2698,cntaobao87maiyf -cnphpwnd99999@aliyun2699,cntaobao87wangzhch -cnphpwnd99999@aliyun2700,cntaobao87wangzhen -cnphpwnd99999@aliyun2701,cntaobao87william -cnphpwnd99999@aliyun2702,cntaobao87yan -cnphpwnd99999@aliyun2703,cntaobao8812370a -cnphpwnd99999@aliyun2704,cntaobao881880a -cnphpwnd99999@aliyun2705,cntaobao8819184akak -cnphpwnd99999@aliyun2706,cntaobao88273527a -cnphpwnd99999@aliyun2707,cntaobao8846984a -cnphpwnd99999@aliyun2708,cntaobao8848abcd -cnphpwnd99999@aliyun2709,cntaobao8857517yehaibo -cnphpwnd99999@aliyun2710,cntaobao88668abd -cnphpwnd99999@aliyun2711,cntaobao8881123zhang -cnphpwnd99999@aliyun2712,cntaobao8881abc_8881abc -cnphpwnd99999@aliyun2713,cntaobao88888888jason -cnphpwnd99999@aliyun2714,cntaobao88888ailinyuderen -cnphpwnd99999@aliyun2715,cntaobao8888yuanfa -cnphpwnd99999@aliyun2716,cntaobao888abcdefg -cnphpwnd99999@aliyun2717,cntaobao888fat -cnphpwnd99999@aliyun2718,cntaobao888hahaha -cnphpwnd99999@aliyun2719,cntaobao888huyuyang -cnphpwnd99999@aliyun2720,cntaobao888player -cnphpwnd99999@aliyun2721,cntaobao888tiancai -cnphpwnd99999@aliyun2722,cntaobao888vanking -cnphpwnd99999@aliyun2723,cntaobao888wayne -cnphpwnd99999@aliyun2724,cntaobao888wuchao -cnphpwnd99999@aliyun2725,cntaobao888yemao -cnphpwnd99999@aliyun2726,cntaobao8893zhangjie -cnphpwnd99999@aliyun2727,cntaobao8899amay -cnphpwnd99999@aliyun2728,cntaobao88alex -cnphpwnd99999@aliyun2729,cntaobao88aquan -cnphpwnd99999@aliyun2730,cntaobao88dad -cnphpwnd99999@aliyun2731,cntaobao88jiangtao -cnphpwnd99999@aliyun2732,cntaobao88jordan -cnphpwnd99999@aliyun2733,cntaobao88la -cnphpwnd99999@aliyun2734,cntaobao88liangfeng -cnphpwnd99999@aliyun2735,cntaobao88liuyang -cnphpwnd99999@aliyun2736,cntaobao88sawin -cnphpwnd99999@aliyun2737,cntaobao88sean8825 -cnphpwnd99999@aliyun2738,cntaobao88sunjian88 -cnphpwnd99999@aliyun2739,cntaobao88tao88bao88 -cnphpwnd99999@aliyun2740,cntaobao88tina -cnphpwnd99999@aliyun2741,cntaobao88wangban -cnphpwnd99999@aliyun2742,cntaobao88xiaogang88 -cnphpwnd99999@aliyun2743,cntaobao890808am -cnphpwnd99999@aliyun2744,cntaobao89090131as -cnphpwnd99999@aliyun2745,cntaobao8909yang -cnphpwnd99999@aliyun2746,cntaobao8910jqka -cnphpwnd99999@aliyun2747,cntaobao891118amg -cnphpwnd99999@aliyun2748,cntaobao8923022happy -cnphpwnd99999@aliyun2749,cntaobao89376cherryhuang -cnphpwnd99999@aliyun2750,cntaobao89513jack -cnphpwnd99999@aliyun2751,cntaobao89804987abc -cnphpwnd99999@aliyun2752,cntaobao8991liyan -cnphpwnd99999@aliyun2753,cntaobao8992156a_z -cnphpwnd99999@aliyun2754,cntaobao8992677abc -cnphpwnd99999@aliyun2755,cntaobao89sakura -cnphpwnd99999@aliyun2756,cntaobao89today -cnphpwnd99999@aliyun2757,cntaobao89yiqiwan -cnphpwnd99999@aliyun2758,cntaobao8a8a19 -cnphpwnd99999@aliyun2759,cntaobao8ao8ao -cnphpwnd99999@aliyun2760,cntaobao8aoxiang8 -cnphpwnd99999@aliyun2761,cntaobao8apples -cnphpwnd99999@aliyun2762,cntaobao8aybc -cnphpwnd99999@aliyun2763,cntaobao8daonline -cnphpwnd99999@aliyun2764,cntaobao8haorenmo -cnphpwnd99999@aliyun2765,cntaobao8huafei -cnphpwnd99999@aliyun2766,cntaobao8jacky -cnphpwnd99999@aliyun2767,cntaobao8l02mq7ae9bmh -cnphpwnd99999@aliyun2768,cntaobao8lijianbo -cnphpwnd99999@aliyun2769,cntaobao8luvpeach7 -cnphpwnd99999@aliyun2770,cntaobao8mait -cnphpwnd99999@aliyun2771,cntaobao8masheng8 -cnphpwnd99999@aliyun2772,cntaobao8miao -cnphpwnd99999@aliyun2773,cntaobao8page -cnphpwnd99999@aliyun2774,cntaobao8pizzahut -cnphpwnd99999@aliyun2775,cntaobao8rongliang8 -cnphpwnd99999@aliyun2776,cntaobao8tjat0kw1t -cnphpwnd99999@aliyun2777,cntaobao8wan -cnphpwnd99999@aliyun2778,cntaobao8wangsong8 -cnphpwnd99999@aliyun2779,cntaobao8wdmghbcaa -cnphpwnd99999@aliyun2780,cntaobao8xiaoxiao -cnphpwnd99999@aliyun2781,cntaobao8zhaozhao8 -cnphpwnd99999@aliyun2782,cntaobao900713a -cnphpwnd99999@aliyun2783,cntaobao9089zhangmeng -cnphpwnd99999@aliyun2784,cntaobao90999aaa -cnphpwnd99999@aliyun2785,cntaobao910jqka -cnphpwnd99999@aliyun2786,cntaobao911coco -cnphpwnd99999@aliyun2787,cntaobao911guaiguai -cnphpwnd99999@aliyun2788,cntaobao911saga -cnphpwnd99999@aliyun2789,cntaobao911zai -cnphpwnd99999@aliyun2790,cntaobao91225sai -cnphpwnd99999@aliyun2791,cntaobao913_vanessa -cnphpwnd99999@aliyun2792,cntaobao918alex -cnphpwnd99999@aliyun2793,cntaobao918asd -cnphpwnd99999@aliyun2794,cntaobao918garbo -cnphpwnd99999@aliyun2795,cntaobao919af -cnphpwnd99999@aliyun2796,cntaobao919yangyang -cnphpwnd99999@aliyun2797,cntaobao91baozi -cnphpwnd99999@aliyun2798,cntaobao91fan -cnphpwnd99999@aliyun2799,cntaobao91gou -cnphpwnd99999@aliyun2800,cntaobao91taotao -cnphpwnd99999@aliyun2801,cntaobao91xuan -cnphpwnd99999@aliyun2802,cntaobao9211921199a -cnphpwnd99999@aliyun2803,cntaobao925badboy -cnphpwnd99999@aliyun2804,cntaobao925tiffany -cnphpwnd99999@aliyun2805,cntaobao92baby -cnphpwnd99999@aliyun2806,cntaobao93665291yan -cnphpwnd99999@aliyun2807,cntaobao93_fang -cnphpwnd99999@aliyun2808,cntaobao9443ab -cnphpwnd99999@aliyun2809,cntaobao9458aabb -cnphpwnd99999@aliyun2810,cntaobao94ai1 -cnphpwnd99999@aliyun2811,cntaobao94game170 -cnphpwnd99999@aliyun2812,cntaobao94xieliang -cnphpwnd99999@aliyun2813,cntaobao951asd -cnphpwnd99999@aliyun2814,cntaobao951han22 -cnphpwnd99999@aliyun2815,cntaobao9527qaz -cnphpwnd99999@aliyun2816,cntaobao9527xia -cnphpwnd99999@aliyun2817,cntaobao9527yangjia -cnphpwnd99999@aliyun2818,cntaobao953_deborah -cnphpwnd99999@aliyun2819,cntaobao95zax -cnphpwnd99999@aliyun2820,cntaobao96066az -cnphpwnd99999@aliyun2821,cntaobao96321as -cnphpwnd99999@aliyun2822,cntaobao963852gang -cnphpwnd99999@aliyun2823,cntaobao963aaa -cnphpwnd99999@aliyun2824,cntaobao963qawse -cnphpwnd99999@aliyun2825,cntaobao96600m -cnphpwnd99999@aliyun2826,cntaobao96699aaa -cnphpwnd99999@aliyun2827,cntaobao9678042jian -cnphpwnd99999@aliyun2828,cntaobao967maomao -cnphpwnd99999@aliyun2829,cntaobao96liuxia -cnphpwnd99999@aliyun2830,cntaobao97067yya -cnphpwnd99999@aliyun2831,cntaobao9712520huang -cnphpwnd99999@aliyun2832,cntaobao97126a -cnphpwnd99999@aliyun2833,cntaobao977724aa -cnphpwnd99999@aliyun2834,cntaobao977977tat -cnphpwnd99999@aliyun2835,cntaobao9788zhang -cnphpwnd99999@aliyun2836,cntaobao9805daniel -cnphpwnd99999@aliyun2837,cntaobao9806caojin -cnphpwnd99999@aliyun2838,cntaobao98081036wang -cnphpwnd99999@aliyun2839,cntaobao98168cad -cnphpwnd99999@aliyun2840,cntaobao98335682as -cnphpwnd99999@aliyun2841,cntaobao984153a -cnphpwnd99999@aliyun2842,cntaobao98abc -cnphpwnd99999@aliyun2843,cntaobao98class4 -cnphpwnd99999@aliyun2844,cntaobao98dg -cnphpwnd99999@aliyun2845,cntaobao98handy -cnphpwnd99999@aliyun2846,cntaobao99022yuan -cnphpwnd99999@aliyun2847,cntaobao9902zhaojunxia -cnphpwnd99999@aliyun2848,cntaobao990987574a -cnphpwnd99999@aliyun2849,cntaobao9918jame -cnphpwnd99999@aliyun2850,cntaobao99233jiang -cnphpwnd99999@aliyun2851,cntaobao9942aa -cnphpwnd99999@aliyun2852,cntaobao994455-aa -cnphpwnd99999@aliyun2853,cntaobao99733958a -cnphpwnd99999@aliyun2854,cntaobao99808asd -cnphpwnd99999@aliyun2855,cntaobao99826937tantan -cnphpwnd99999@aliyun2856,cntaobao9988ak -cnphpwnd99999@aliyun2857,cntaobao9988read -cnphpwnd99999@aliyun2858,cntaobao999555aaa -cnphpwnd99999@aliyun2859,cntaobao9998bear -cnphpwnd99999@aliyun2860,cntaobao9999-david -cnphpwnd99999@aliyun2861,cntaobao999999man911 -cnphpwnd99999@aliyun2862,cntaobao999abc -cnphpwnd99999@aliyun2863,cntaobao999blade -cnphpwnd99999@aliyun2864,cntaobao999dada -cnphpwnd99999@aliyun2865,cntaobao999duan -cnphpwnd99999@aliyun2866,cntaobao999huang -cnphpwnd99999@aliyun2867,cntaobao999kuang -cnphpwnd99999@aliyun2868,cntaobao999laowu -cnphpwnd99999@aliyun2869,cntaobao999linda -cnphpwnd99999@aliyun2870,cntaobao999n -cnphpwnd99999@aliyun2871,cntaobao999wap -cnphpwnd99999@aliyun2872,cntaobao999yang -cnphpwnd99999@aliyun2873,cntaobao999yue -cnphpwnd99999@aliyun2874,cntaobao99aileen99 -cnphpwnd99999@aliyun2875,cntaobao99aini -cnphpwnd99999@aliyun2876,cntaobao99angel -cnphpwnd99999@aliyun2877,cntaobao99baba -cnphpwnd99999@aliyun2878,cntaobao99bianxiaodong -cnphpwnd99999@aliyun2879,cntaobao99changyuan -cnphpwnd99999@aliyun2880,cntaobao99chuans -cnphpwnd99999@aliyun2881,cntaobao99fafa -cnphpwnd99999@aliyun2882,cntaobao99fans -cnphpwnd99999@aliyun2883,cntaobao99hack -cnphpwnd99999@aliyun2884,cntaobao99jiajia -cnphpwnd99999@aliyun2885,cntaobao99maofei99 -cnphpwnd99999@aliyun2886,cntaobao99shapi -cnphpwnd99999@aliyun2887,cntaobao99xianggang -cnphpwnd99999@aliyun2888,cntaobao99xiaoming -cnphpwnd99999@aliyun2889,cntaobao99zhangyong -cnphpwnd99999@aliyun2890,cntaobao99zhaoycd -cnphpwnd99999@aliyun2891,cntaobao9_9asdfasdfasd -cnphpwnd99999@aliyun2892,cntaobao9_along_9 -cnphpwnd99999@aliyun2893,cntaobao9a6654928 -cnphpwnd99999@aliyun2894,cntaobao9abcd -cnphpwnd99999@aliyun2895,cntaobao9adrian -cnphpwnd99999@aliyun2896,cntaobao9bar -cnphpwnd99999@aliyun2897,cntaobao9bati -cnphpwnd99999@aliyun2898,cntaobao9bra -cnphpwnd99999@aliyun2899,cntaobao9dao -cnphpwnd99999@aliyun2900,cntaobao9day -cnphpwnd99999@aliyun2901,cntaobao9days -cnphpwnd99999@aliyun2902,cntaobao9dragon -cnphpwnd99999@aliyun2903,cntaobao9hyvc0x9nshseyead3y -cnphpwnd99999@aliyun2904,cntaobao9lane -cnphpwnd99999@aliyun2905,cntaobao9may.com -cnphpwnd99999@aliyun2906,cntaobao9mnancat -cnphpwnd99999@aliyun2907,cntaobao9rain -cnphpwnd99999@aliyun2908,cntaobao9t9t -cnphpwnd99999@aliyun2909,cntaobao9xia -cnphpwnd99999@aliyun2910,cntaobao9yan -cnphpwnd99999@aliyun2911,cntaobao9yao -cnphpwnd99999@aliyun2912,cntaobao9zhangxu9 -cnphpwnd99999@aliyun2913,cntaobao?????_58 -cnphpwnd99999@aliyun2914,cntaobaoAarom -cnphpwnd99999@aliyun2915,cntaobaoAliang0808 -cnphpwnd99999@aliyun2916,cntaobaoAngelclass -cnphpwnd99999@aliyun2917,cntaobaoAria1991 -cnphpwnd99999@aliyun2918,cntaobaoBaoBeiLonG -cnphpwnd99999@aliyun2919,cntaobaoBeautfulLife -cnphpwnd99999@aliyun2920,cntaobaoCarry1000 -cnphpwnd99999@aliyun2921,cntaobaoChristina0211 -cnphpwnd99999@aliyun2922,cntaobaoConanXiao -cnphpwnd99999@aliyun2923,cntaobaoDahai119 -cnphpwnd99999@aliyun2924,cntaobaoDaisy -cnphpwnd99999@aliyun2925,cntaobaoDaisy37 -cnphpwnd99999@aliyun2926,cntaobaoDan35 -cnphpwnd99999@aliyun2927,cntaobaoDavid2003 -cnphpwnd99999@aliyun2928,cntaobaoDavidLian -cnphpwnd99999@aliyun2929,cntaobaoDavidMacDonaldLiang -cnphpwnd99999@aliyun2930,cntaobaoDrak -cnphpwnd99999@aliyun2931,cntaobaoDuanHuaJie -cnphpwnd99999@aliyun2932,cntaobaoEaglewei -cnphpwnd99999@aliyun2933,cntaobaoEaling -cnphpwnd99999@aliyun2934,cntaobaoEased -cnphpwnd99999@aliyun2935,cntaobaoEmma22 -cnphpwnd99999@aliyun2936,cntaobaoEsala -cnphpwnd99999@aliyun2937,cntaobaoEugenia -cnphpwnd99999@aliyun2938,cntaobaoEvenfall -cnphpwnd99999@aliyun2939,cntaobaoFance463 -cnphpwnd99999@aliyun2940,cntaobaoFax13492 -cnphpwnd99999@aliyun2941,cntaobaoFleetAdmiral -cnphpwnd99999@aliyun2942,cntaobaoFortuna -cnphpwnd99999@aliyun2943,cntaobaoFrank99 -cnphpwnd99999@aliyun2944,cntaobaoFrankYan -cnphpwnd99999@aliyun2945,cntaobaoFunan2002 -cnphpwnd99999@aliyun2946,cntaobaoGOBnanhai -cnphpwnd99999@aliyun2947,cntaobaoGaoXiaona -cnphpwnd99999@aliyun2948,cntaobaoGarlio -cnphpwnd99999@aliyun2949,cntaobaoGuanlei -cnphpwnd99999@aliyun2950,cntaobaoHELLOabcd -cnphpwnd99999@aliyun2951,cntaobaoHaiTunhai -cnphpwnd99999@aliyun2952,cntaobaoHandsonlee -cnphpwnd99999@aliyun2953,cntaobaoHaqihaqi -cnphpwnd99999@aliyun2954,cntaobaoHayes1984 -cnphpwnd99999@aliyun2955,cntaobaoHbiao -cnphpwnd99999@aliyun2956,cntaobaoHeTal -cnphpwnd99999@aliyun2957,cntaobaoHeadsTool -cnphpwnd99999@aliyun2958,cntaobaoHikaru11 -cnphpwnd99999@aliyun2959,cntaobaoHuangYy2000 -cnphpwnd99999@aliyun2960,cntaobaoHuangyeguo -cnphpwnd99999@aliyun2961,cntaobaoIrislavender -cnphpwnd99999@aliyun2962,cntaobaoJXzhang -cnphpwnd99999@aliyun2963,cntaobaoJackeykk -cnphpwnd99999@aliyun2964,cntaobaoJackyLam -cnphpwnd99999@aliyun2965,cntaobaoJackySky -cnphpwnd99999@aliyun2966,cntaobaoJanhail -cnphpwnd99999@aliyun2967,cntaobaoJasonToo -cnphpwnd99999@aliyun2968,cntaobaoJay9527 -cnphpwnd99999@aliyun2969,cntaobaoJayChu -cnphpwnd99999@aliyun2970,cntaobaoJayHo -cnphpwnd99999@aliyun2971,cntaobaoJelena -cnphpwnd99999@aliyun2972,cntaobaoJirachi -cnphpwnd99999@aliyun2973,cntaobaoJordan530 -cnphpwnd99999@aliyun2974,cntaobaoKanBeckham -cnphpwnd99999@aliyun2975,cntaobaoKoreal -cnphpwnd99999@aliyun2976,cntaobaoLanEvo -cnphpwnd99999@aliyun2977,cntaobaoLansil -cnphpwnd99999@aliyun2978,cntaobaoLastSoft -cnphpwnd99999@aliyun2979,cntaobaoLawrenceLin -cnphpwnd99999@aliyun2980,cntaobaoLinda215 -cnphpwnd99999@aliyun2981,cntaobaoLyannier -cnphpwnd99999@aliyun2982,cntaobaoMoriRan -cnphpwnd99999@aliyun2983,cntaobaoNosaigo -cnphpwnd99999@aliyun2984,cntaobaoRicha -cnphpwnd99999@aliyun2985,cntaobaoSatan525 -cnphpwnd99999@aliyun2986,cntaobaoSebrasty -cnphpwnd99999@aliyun2987,cntaobaoShadow0705 -cnphpwnd99999@aliyun2988,cntaobaoSmallRat -cnphpwnd99999@aliyun2989,cntaobaoSunsmile -cnphpwnd99999@aliyun2990,cntaobaoSylviazzz -cnphpwnd99999@aliyun2991,cntaobaoTiyamo -cnphpwnd99999@aliyun2992,cntaobaoTwinsfan -cnphpwnd99999@aliyun2993,cntaobaoXYmark -cnphpwnd99999@aliyun2994,cntaobao[d]bravewind0269108 -cnphpwnd99999@aliyun2995,cntaobao[d]lanao -cnphpwnd99999@aliyun2996,cntaobao[d]mactom -cnphpwnd99999@aliyun2997,cntaobao[d]☆※景儿※☆ -cnphpwnd99999@aliyun2998,cntaobao_-tomcat-_ -cnphpwnd99999@aliyun2999,cntaobao_airman_ -cnphpwnd99999@aliyun3000,cntaobao_askyoo_ -cnphpwnd99999@aliyun3001,cntaobao_athlon -cnphpwnd99999@aliyun3002,cntaobao_avril_ -cnphpwnd99999@aliyun3003,cntaobao_babycat_ -cnphpwnd99999@aliyun3004,cntaobao_ceasar -cnphpwnd99999@aliyun3005,cntaobao_china -cnphpwnd99999@aliyun3006,cntaobao_cinderellla -cnphpwnd99999@aliyun3007,cntaobao_dada -cnphpwnd99999@aliyun3008,cntaobao_feiniao -cnphpwnd99999@aliyun3009,cntaobao_greensea_ -cnphpwnd99999@aliyun3010,cntaobao_happer -cnphpwnd99999@aliyun3011,cntaobao_insomnia -cnphpwnd99999@aliyun3012,cntaobao_laugh_ -cnphpwnd99999@aliyun3013,cntaobao_luai_ -cnphpwnd99999@aliyun3014,cntaobao_mafia -cnphpwnd99999@aliyun3015,cntaobao_qing_shang -cnphpwnd99999@aliyun3016,cntaobao_rachel_ -cnphpwnd99999@aliyun3017,cntaobao_sandy_ -cnphpwnd99999@aliyun3018,cntaobao_songlan_ -cnphpwnd99999@aliyun3019,cntaobao_tang2000 -cnphpwnd99999@aliyun3020,cntaobao_tianyahaijiao_ -cnphpwnd99999@aliyun3021,cntaobao_tiffany_ -cnphpwnd99999@aliyun3022,cntaobao_tomato_ -cnphpwnd99999@aliyun3023,cntaobao_victoria -cnphpwnd99999@aliyun3024,cntaobao_wangjing_ -cnphpwnd99999@aliyun3025,cntaobao_yuhao -cnphpwnd99999@aliyun3026,cntaobao_茗_ -cnphpwnd99999@aliyun3027,cntaobaoa-001226 -cnphpwnd99999@aliyun3028,cntaobaoa-02 -cnphpwnd99999@aliyun3029,cntaobaoa-a-a- -cnphpwnd99999@aliyun3030,cntaobaoa-a0000 -cnphpwnd99999@aliyun3031,cntaobaoa-b-c-789 -cnphpwnd99999@aliyun3032,cntaobaoa-b-c168 -cnphpwnd99999@aliyun3033,cntaobaoa-bay -cnphpwnd99999@aliyun3034,cntaobaoa-beautifulcat -cnphpwnd99999@aliyun3035,cntaobaoa-ben -cnphpwnd99999@aliyun3036,cntaobaoa-buy -cnphpwnd99999@aliyun3037,cntaobaoa-cong -cnphpwnd99999@aliyun3038,cntaobaoa-dai12345 -cnphpwnd99999@aliyun3039,cntaobaoa-daking -cnphpwnd99999@aliyun3040,cntaobaoa-do -cnphpwnd99999@aliyun3041,cntaobaoa-dudu -cnphpwnd99999@aliyun3042,cntaobaoa-element -cnphpwnd99999@aliyun3043,cntaobaoa-fang -cnphpwnd99999@aliyun3044,cntaobaoa-frend -cnphpwnd99999@aliyun3045,cntaobaoa-go2 -cnphpwnd99999@aliyun3046,cntaobaoa-gon -cnphpwnd99999@aliyun3047,cntaobaoa-good-man -cnphpwnd99999@aliyun3048,cntaobaoa-gump -cnphpwnd99999@aliyun3049,cntaobaoa-han-cat -cnphpwnd99999@aliyun3050,cntaobaoa-hi-adel -cnphpwnd99999@aliyun3051,cntaobaoa-hu-chen -cnphpwnd99999@aliyun3052,cntaobaoa-je -cnphpwnd99999@aliyun3053,cntaobaoa-jei -cnphpwnd99999@aliyun3054,cntaobaoa-jiango -cnphpwnd99999@aliyun3055,cntaobaoa-jiao -cnphpwnd99999@aliyun3056,cntaobaoa-joyo -cnphpwnd99999@aliyun3057,cntaobaoa-kay -cnphpwnd99999@aliyun3058,cntaobaoa-ken -cnphpwnd99999@aliyun3059,cntaobaoa-kid -cnphpwnd99999@aliyun3060,cntaobaoa-kuei -cnphpwnd99999@aliyun3061,cntaobaoa-kui-888 -cnphpwnd99999@aliyun3062,cntaobaoa-lei-lll -cnphpwnd99999@aliyun3063,cntaobaoa-lei006 -cnphpwnd99999@aliyun3064,cntaobaoa-letheia -cnphpwnd99999@aliyun3065,cntaobaoa-li -cnphpwnd99999@aliyun3066,cntaobaoa-lian -cnphpwnd99999@aliyun3067,cntaobaoa-linging -cnphpwnd99999@aliyun3068,cntaobaoa-lok -cnphpwnd99999@aliyun3069,cntaobaoa-lwb -cnphpwnd99999@aliyun3070,cntaobaoa-lxl -cnphpwnd99999@aliyun3071,cntaobaoa-maine -cnphpwnd99999@aliyun3072,cntaobaoa-mango -cnphpwnd99999@aliyun3073,cntaobaoa-mao2004 -cnphpwnd99999@aliyun3074,cntaobaoa-mei-ko -cnphpwnd99999@aliyun3075,cntaobaoa-meng -cnphpwnd99999@aliyun3076,cntaobaoa-meng-990 -cnphpwnd99999@aliyun3077,cntaobaoa-mingming457 -cnphpwnd99999@aliyun3078,cntaobaoa-moon -cnphpwnd99999@aliyun3079,cntaobaoa-mub -cnphpwnd99999@aliyun3080,cntaobaoa-n-d-y -cnphpwnd99999@aliyun3081,cntaobaoa-nan -cnphpwnd99999@aliyun3082,cntaobaoa-nan0508 -cnphpwnd99999@aliyun3083,cntaobaoa-one1021 -cnphpwnd99999@aliyun3084,cntaobaoa-pan -cnphpwnd99999@aliyun3085,cntaobaoa-qi -cnphpwnd99999@aliyun3086,cntaobaoa-quan -cnphpwnd99999@aliyun3087,cntaobaoa-rui -cnphpwnd99999@aliyun3088,cntaobaoa-show -cnphpwnd99999@aliyun3089,cntaobaoa-spec -cnphpwnd99999@aliyun3090,cntaobaoa-sue -cnphpwnd99999@aliyun3091,cntaobaoa-tang956 -cnphpwnd99999@aliyun3092,cntaobaoa-tian -cnphpwnd99999@aliyun3093,cntaobaoa-tong -cnphpwnd99999@aliyun3094,cntaobaoa-too -cnphpwnd99999@aliyun3095,cntaobaoa-wei -cnphpwnd99999@aliyun3096,cntaobaoa-wei666 -cnphpwnd99999@aliyun3097,cntaobaoa-wing -cnphpwnd99999@aliyun3098,cntaobaoa-xier -cnphpwnd99999@aliyun3099,cntaobaoa-yun03 -cnphpwnd99999@aliyun3100,cntaobaoa-zei -cnphpwnd99999@aliyun3101,cntaobaoa-zhe2003 -cnphpwnd99999@aliyun3102,cntaobaoa-zhi -cnphpwnd99999@aliyun3103,cntaobaoa.123 -cnphpwnd99999@aliyun3104,cntaobaoa.ban -cnphpwnd99999@aliyun3105,cntaobaoa.bin -cnphpwnd99999@aliyun3106,cntaobaoa.c.union -cnphpwnd99999@aliyun3107,cntaobaoa.d.jay4u -cnphpwnd99999@aliyun3108,cntaobaoa.dahua -cnphpwnd99999@aliyun3109,cntaobaoa.dmin -cnphpwnd99999@aliyun3110,cntaobaoa.fei.521 -cnphpwnd99999@aliyun3111,cntaobaoa.free -cnphpwnd99999@aliyun3112,cntaobaoa.hardaway -cnphpwnd99999@aliyun3113,cntaobaoa.j-like -cnphpwnd99999@aliyun3114,cntaobaoa.j.c -cnphpwnd99999@aliyun3115,cntaobaoa.j.tony -cnphpwnd99999@aliyun3116,cntaobaoa.j01 -cnphpwnd99999@aliyun3117,cntaobaoa.jake -cnphpwnd99999@aliyun3118,cntaobaoa.jia -cnphpwnd99999@aliyun3119,cntaobaoa.kin -cnphpwnd99999@aliyun3120,cntaobaoa.lv -cnphpwnd99999@aliyun3121,cntaobaoa.n.d.w -cnphpwnd99999@aliyun3122,cntaobaoa.o.u. -cnphpwnd99999@aliyun3123,cntaobaoa.paul -cnphpwnd99999@aliyun3124,cntaobaoa.pen -cnphpwnd99999@aliyun3125,cntaobaoa.phuang -cnphpwnd99999@aliyun3126,cntaobaoa.sasasa -cnphpwnd99999@aliyun3127,cntaobaoa.shell -cnphpwnd99999@aliyun3128,cntaobaoa.v.v -cnphpwnd99999@aliyun3129,cntaobaoa.vinni -cnphpwnd99999@aliyun3130,cntaobaoa.wu -cnphpwnd99999@aliyun3131,cntaobaoa.y. -cnphpwnd99999@aliyun3132,cntaobaoa.zan -cnphpwnd99999@aliyun3133,cntaobaoa0000005 -cnphpwnd99999@aliyun3134,cntaobaoa000001 -cnphpwnd99999@aliyun3135,cntaobaoa000015 -cnphpwnd99999@aliyun3136,cntaobaoa00001bn -cnphpwnd99999@aliyun3137,cntaobaoa0000a -cnphpwnd99999@aliyun3138,cntaobaoa00011006 -cnphpwnd99999@aliyun3139,cntaobaoa00012403 -cnphpwnd99999@aliyun3140,cntaobaoa000185 -cnphpwnd99999@aliyun3141,cntaobaoa00021848 -cnphpwnd99999@aliyun3142,cntaobaoa000641 -cnphpwnd99999@aliyun3143,cntaobaoa000731 -cnphpwnd99999@aliyun3144,cntaobaoa001 -cnphpwnd99999@aliyun3145,cntaobaoa00100010 -cnphpwnd99999@aliyun3146,cntaobaoa00105 -cnphpwnd99999@aliyun3147,cntaobaoa00118 -cnphpwnd99999@aliyun3148,cntaobaoa00145 -cnphpwnd99999@aliyun3149,cntaobaoa002138 -cnphpwnd99999@aliyun3150,cntaobaoa0037138 -cnphpwnd99999@aliyun3151,cntaobaoa00520 -cnphpwnd99999@aliyun3152,cntaobaoa0078 -cnphpwnd99999@aliyun3153,cntaobaoa00789bt -cnphpwnd99999@aliyun3154,cntaobaoa007_2005 -cnphpwnd99999@aliyun3155,cntaobaoa007x -cnphpwnd99999@aliyun3156,cntaobaoa0081369 -cnphpwnd99999@aliyun3157,cntaobaoa00jian -cnphpwnd99999@aliyun3158,cntaobaoa01010111_999 -cnphpwnd99999@aliyun3159,cntaobaoa0101115 -cnphpwnd99999@aliyun3160,cntaobaoa01012233 -cnphpwnd99999@aliyun3161,cntaobaoa010438 -cnphpwnd99999@aliyun3162,cntaobaoa0108128 -cnphpwnd99999@aliyun3163,cntaobaoa0122 -cnphpwnd99999@aliyun3164,cntaobaoa012235 -cnphpwnd99999@aliyun3165,cntaobaoa01230a -cnphpwnd99999@aliyun3166,cntaobaoa012345 -cnphpwnd99999@aliyun3167,cntaobaoa0123456 -cnphpwnd99999@aliyun3168,cntaobaoa01234567891 -cnphpwnd99999@aliyun3169,cntaobaoa01235789 -cnphpwnd99999@aliyun3170,cntaobaoa01483462 -cnphpwnd99999@aliyun3171,cntaobaoa0157833294 -cnphpwnd99999@aliyun3172,cntaobaoa0203016 -cnphpwnd99999@aliyun3173,cntaobaoa02040701 -cnphpwnd99999@aliyun3174,cntaobaoa020636 -cnphpwnd99999@aliyun3175,cntaobaoa020702 -cnphpwnd99999@aliyun3176,cntaobaoa021120a -cnphpwnd99999@aliyun3177,cntaobaoa02114122 -cnphpwnd99999@aliyun3178,cntaobaoa021771 -cnphpwnd99999@aliyun3179,cntaobaoa0231012054 -cnphpwnd99999@aliyun3180,cntaobaoa0289a -cnphpwnd99999@aliyun3181,cntaobaoa02aiai -cnphpwnd99999@aliyun3182,cntaobaoa030829 -cnphpwnd99999@aliyun3183,cntaobaoa03140201 -cnphpwnd99999@aliyun3184,cntaobaoa03316699 -cnphpwnd99999@aliyun3185,cntaobaoa033510 -cnphpwnd99999@aliyun3186,cntaobaoa0377 -cnphpwnd99999@aliyun3187,cntaobaoa0394366 -cnphpwnd99999@aliyun3188,cntaobaoa03a24 -cnphpwnd99999@aliyun3189,cntaobaoa040168 -cnphpwnd99999@aliyun3190,cntaobaoa041118 -cnphpwnd99999@aliyun3191,cntaobaoa0504003 -cnphpwnd99999@aliyun3192,cntaobaoa05132 -cnphpwnd99999@aliyun3193,cntaobaoa05146900907 -cnphpwnd99999@aliyun3194,cntaobaoa0556234 -cnphpwnd99999@aliyun3195,cntaobaoa055763635 -cnphpwnd99999@aliyun3196,cntaobaoa0577 -cnphpwnd99999@aliyun3197,cntaobaoa05995243 -cnphpwnd99999@aliyun3198,cntaobaoa06020313 -cnphpwnd99999@aliyun3199,cntaobaoa0636827 -cnphpwnd99999@aliyun3200,cntaobaoa065700 -cnphpwnd99999@aliyun3201,cntaobaoa0683 -cnphpwnd99999@aliyun3202,cntaobaoa06_e -cnphpwnd99999@aliyun3203,cntaobaoa0722098 -cnphpwnd99999@aliyun3204,cntaobaoa0743154 -cnphpwnd99999@aliyun3205,cntaobaoa0805 -cnphpwnd99999@aliyun3206,cntaobaoa08086154 -cnphpwnd99999@aliyun3207,cntaobaoa080z -cnphpwnd99999@aliyun3208,cntaobaoa0867 -cnphpwnd99999@aliyun3209,cntaobaoa088223 -cnphpwnd99999@aliyun3210,cntaobaoa0915723149 -cnphpwnd99999@aliyun3211,cntaobaoa09201017 -cnphpwnd99999@aliyun3212,cntaobaoa0925 -cnphpwnd99999@aliyun3213,cntaobaoa0a1a2 -cnphpwnd99999@aliyun3214,cntaobaoa0aaq4rz -cnphpwnd99999@aliyun3215,cntaobaoa0b8c6 -cnphpwnd99999@aliyun3216,cntaobaoa0x7at5lwx6dj0qnup -cnphpwnd99999@aliyun3217,cntaobaoa1-ring -cnphpwnd99999@aliyun3218,cntaobaoa1004 -cnphpwnd99999@aliyun3219,cntaobaoa101023 -cnphpwnd99999@aliyun3220,cntaobaoa101101 -cnphpwnd99999@aliyun3221,cntaobaoa101412001 -cnphpwnd99999@aliyun3222,cntaobaoa1019 -cnphpwnd99999@aliyun3223,cntaobaoa101chengzhang -cnphpwnd99999@aliyun3224,cntaobaoa102556798 -cnphpwnd99999@aliyun3225,cntaobaoa10270396 -cnphpwnd99999@aliyun3226,cntaobaoa102905862 -cnphpwnd99999@aliyun3227,cntaobaoa1031526 -cnphpwnd99999@aliyun3228,cntaobaoa1035422 -cnphpwnd99999@aliyun3229,cntaobaoa103822 -cnphpwnd99999@aliyun3230,cntaobaoa103879307 -cnphpwnd99999@aliyun3231,cntaobaoa106385080 -cnphpwnd99999@aliyun3232,cntaobaoa10670829 -cnphpwnd99999@aliyun3233,cntaobaoa106845346 -cnphpwnd99999@aliyun3234,cntaobaoa106952771 -cnphpwnd99999@aliyun3235,cntaobaoa108 -cnphpwnd99999@aliyun3236,cntaobaoa1082 -cnphpwnd99999@aliyun3237,cntaobaoa10871510 -cnphpwnd99999@aliyun3238,cntaobaoa108832881 -cnphpwnd99999@aliyun3239,cntaobaoa109 -cnphpwnd99999@aliyun3240,cntaobaoa109687120 -cnphpwnd99999@aliyun3241,cntaobaoa110064372 -cnphpwnd99999@aliyun3242,cntaobaoa110106 -cnphpwnd99999@aliyun3243,cntaobaoa110112010 -cnphpwnd99999@aliyun3244,cntaobaoa110662024 -cnphpwnd99999@aliyun3245,cntaobaoa110771110 -cnphpwnd99999@aliyun3246,cntaobaoa11090 -cnphpwnd99999@aliyun3247,cntaobaoa1110171693 -cnphpwnd99999@aliyun3248,cntaobaoa111111111 -cnphpwnd99999@aliyun3249,cntaobaoa111115 -cnphpwnd99999@aliyun3250,cntaobaoa111122 -cnphpwnd99999@aliyun3251,cntaobaoa1113088 -cnphpwnd99999@aliyun3252,cntaobaoa111333 -cnphpwnd99999@aliyun3253,cntaobaoa1114 -cnphpwnd99999@aliyun3254,cntaobaoa11168041 -cnphpwnd99999@aliyun3255,cntaobaoa111z -cnphpwnd99999@aliyun3256,cntaobaoa112040211 -cnphpwnd99999@aliyun3257,cntaobaoa1122119 -cnphpwnd99999@aliyun3258,cntaobaoa112233 -cnphpwnd99999@aliyun3259,cntaobaoa1123wolf -cnphpwnd99999@aliyun3260,cntaobaoa1124 -cnphpwnd99999@aliyun3261,cntaobaoa112575 -cnphpwnd99999@aliyun3262,cntaobaoa112642034 -cnphpwnd99999@aliyun3263,cntaobaoa11267378 -cnphpwnd99999@aliyun3264,cntaobaoa112799143 -cnphpwnd99999@aliyun3265,cntaobaoa113214 -cnphpwnd99999@aliyun3266,cntaobaoa113267556 -cnphpwnd99999@aliyun3267,cntaobaoa114221713 -cnphpwnd99999@aliyun3268,cntaobaoa114289734 -cnphpwnd99999@aliyun3269,cntaobaoa114941416 -cnphpwnd99999@aliyun3270,cntaobaoa115135869 -cnphpwnd99999@aliyun3271,cntaobaoa1155 -cnphpwnd99999@aliyun3272,cntaobaoa116313601 -cnphpwnd99999@aliyun3273,cntaobaoa11679 -cnphpwnd99999@aliyun3274,cntaobaoa117478431 -cnphpwnd99999@aliyun3275,cntaobaoa119050752 -cnphpwnd99999@aliyun3276,cntaobaoa119178 -cnphpwnd99999@aliyun3277,cntaobaoa119760932 -cnphpwnd99999@aliyun3278,cntaobaoa11990702 -cnphpwnd99999@aliyun3279,cntaobaoa11a11 -cnphpwnd99999@aliyun3280,cntaobaoa11adfa -cnphpwnd99999@aliyun3281,cntaobaoa11b -cnphpwnd99999@aliyun3282,cntaobaoa11b11c11 -cnphpwnd99999@aliyun3283,cntaobaoa11lg -cnphpwnd99999@aliyun3284,cntaobaoa11qaz -cnphpwnd99999@aliyun3285,cntaobaoa11s22 -cnphpwnd99999@aliyun3286,cntaobaoa11w22s33 -cnphpwnd99999@aliyun3287,cntaobaoa1201022222 -cnphpwnd99999@aliyun3288,cntaobaoa1201024444 -cnphpwnd99999@aliyun3289,cntaobaoa12061206 -cnphpwnd99999@aliyun3290,cntaobaoa120688 -cnphpwnd99999@aliyun3291,cntaobaoa120779844 -cnphpwnd99999@aliyun3292,cntaobaoa12111 -cnphpwnd99999@aliyun3293,cntaobaoa12113020 -cnphpwnd99999@aliyun3294,cntaobaoa121212 -cnphpwnd99999@aliyun3295,cntaobaoa12169811 -cnphpwnd99999@aliyun3296,cntaobaoa122008 -cnphpwnd99999@aliyun3297,cntaobaoa12211 -cnphpwnd99999@aliyun3298,cntaobaoa1223 -cnphpwnd99999@aliyun3299,cntaobaoa1225 -cnphpwnd99999@aliyun3300,cntaobaoa123051598 -cnphpwnd99999@aliyun3301,cntaobaoa123123 -cnphpwnd99999@aliyun3302,cntaobaoa12315 -cnphpwnd99999@aliyun3303,cntaobaoa123400 -cnphpwnd99999@aliyun3304,cntaobaoa1234040 -cnphpwnd99999@aliyun3305,cntaobaoa1234511 -cnphpwnd99999@aliyun3306,cntaobaoa1234556b -cnphpwnd99999@aliyun3307,cntaobaoa1234561 -cnphpwnd99999@aliyun3308,cntaobaoa12345618 -cnphpwnd99999@aliyun3309,cntaobaoa123456654321 -cnphpwnd99999@aliyun3310,cntaobaoa1234567890 -cnphpwnd99999@aliyun3311,cntaobaoa123456a88 -cnphpwnd99999@aliyun3312,cntaobaoa12345a -cnphpwnd99999@aliyun3313,cntaobaoa1234a -cnphpwnd99999@aliyun3314,cntaobaoa1234jb -cnphpwnd99999@aliyun3315,cntaobaoa123504 -cnphpwnd99999@aliyun3316,cntaobaoa123517 -cnphpwnd99999@aliyun3317,cntaobaoa12353 -cnphpwnd99999@aliyun3318,cntaobaoa12353a -cnphpwnd99999@aliyun3319,cntaobaoa123564138 -cnphpwnd99999@aliyun3320,cntaobaoa1235674 -cnphpwnd99999@aliyun3321,cntaobaoa123575380 -cnphpwnd99999@aliyun3322,cntaobaoa1235813 -cnphpwnd99999@aliyun3323,cntaobaoa1236598 -cnphpwnd99999@aliyun3324,cntaobaoa1236598th -cnphpwnd99999@aliyun3325,cntaobaoa123659p -cnphpwnd99999@aliyun3326,cntaobaoa123685381 -cnphpwnd99999@aliyun3327,cntaobaoa123792049 -cnphpwnd99999@aliyun3328,cntaobaoa123887456 -cnphpwnd99999@aliyun3329,cntaobaoa123_918 -cnphpwnd99999@aliyun3330,cntaobaoa123b123c123d123 -cnphpwnd99999@aliyun3331,cntaobaoa123b456c111 -cnphpwnd99999@aliyun3332,cntaobaoa124309335 -cnphpwnd99999@aliyun3333,cntaobaoa124578a -cnphpwnd99999@aliyun3334,cntaobaoa125374521 -cnphpwnd99999@aliyun3335,cntaobaoa125471572 -cnphpwnd99999@aliyun3336,cntaobaoa125646476 -cnphpwnd99999@aliyun3337,cntaobaoa125700321 -cnphpwnd99999@aliyun3338,cntaobaoa12587799 -cnphpwnd99999@aliyun3339,cntaobaoa126126 -cnphpwnd99999@aliyun3340,cntaobaoa12646986 -cnphpwnd99999@aliyun3341,cntaobaoa126hongfei -cnphpwnd99999@aliyun3342,cntaobaoa12752686 -cnphpwnd99999@aliyun3343,cntaobaoa12769286 -cnphpwnd99999@aliyun3344,cntaobaoa1283 -cnphpwnd99999@aliyun3345,cntaobaoa128664489 -cnphpwnd99999@aliyun3346,cntaobaoa129278a -cnphpwnd99999@aliyun3347,cntaobaoa1295534923 -cnphpwnd99999@aliyun3348,cntaobaoa12a3 -cnphpwnd99999@aliyun3349,cntaobaoa12bc -cnphpwnd99999@aliyun3350,cntaobaoa12hk -cnphpwnd99999@aliyun3351,cntaobaoa12jk -cnphpwnd99999@aliyun3352,cntaobaoa13023145125 -cnphpwnd99999@aliyun3353,cntaobaoa1306 -cnphpwnd99999@aliyun3354,cntaobaoa13065486855 -cnphpwnd99999@aliyun3355,cntaobaoa13066213 -cnphpwnd99999@aliyun3356,cntaobaoa130730 -cnphpwnd99999@aliyun3357,cntaobaoa131416822 -cnphpwnd99999@aliyun3358,cntaobaoa131425 -cnphpwnd99999@aliyun3359,cntaobaoa13164639131 -cnphpwnd99999@aliyun3360,cntaobaoa131671 -cnphpwnd99999@aliyun3361,cntaobaoa13173501 -cnphpwnd99999@aliyun3362,cntaobaoa1318145161 -cnphpwnd99999@aliyun3363,cntaobaoa1318510 -cnphpwnd99999@aliyun3364,cntaobaoa13186896902 -cnphpwnd99999@aliyun3365,cntaobaoa13188819765 -cnphpwnd99999@aliyun3366,cntaobaoa13305697733 -cnphpwnd99999@aliyun3367,cntaobaoa13379698 -cnphpwnd99999@aliyun3368,cntaobaoa134488 -cnphpwnd99999@aliyun3369,cntaobaoa13501 -cnphpwnd99999@aliyun3370,cntaobaoa13538889568 -cnphpwnd99999@aliyun3371,cntaobaoa13548898874 -cnphpwnd99999@aliyun3372,cntaobaoa1355667 -cnphpwnd99999@aliyun3373,cntaobaoa13579253474 -cnphpwnd99999@aliyun3374,cntaobaoa1359922 -cnphpwnd99999@aliyun3375,cntaobaoa13599276333 -cnphpwnd99999@aliyun3376,cntaobaoa13603060232 -cnphpwnd99999@aliyun3377,cntaobaoa13626061 -cnphpwnd99999@aliyun3378,cntaobaoa13634272232 -cnphpwnd99999@aliyun3379,cntaobaoa13635216469 -cnphpwnd99999@aliyun3380,cntaobaoa13636 -cnphpwnd99999@aliyun3381,cntaobaoa136400 -cnphpwnd99999@aliyun3382,cntaobaoa13650251 -cnphpwnd99999@aliyun3383,cntaobaoa13653003098 -cnphpwnd99999@aliyun3384,cntaobaoa1366624147 -cnphpwnd99999@aliyun3385,cntaobaoa13671194711 -cnphpwnd99999@aliyun3386,cntaobaoa1367468 -cnphpwnd99999@aliyun3387,cntaobaoa136800 -cnphpwnd99999@aliyun3388,cntaobaoa13705326565 -cnphpwnd99999@aliyun3389,cntaobaoa137300 -cnphpwnd99999@aliyun3390,cntaobaoa1375400170088 -cnphpwnd99999@aliyun3391,cntaobaoa13758199960 -cnphpwnd99999@aliyun3392,cntaobaoa1377498624 -cnphpwnd99999@aliyun3393,cntaobaoa13797130140 -cnphpwnd99999@aliyun3394,cntaobaoa13801168232 -cnphpwnd99999@aliyun3395,cntaobaoa1380775222 -cnphpwnd99999@aliyun3396,cntaobaoa138188 -cnphpwnd99999@aliyun3397,cntaobaoa13822461995 -cnphpwnd99999@aliyun3398,cntaobaoa1382335165 -cnphpwnd99999@aliyun3399,cntaobaoa13828670160 -cnphpwnd99999@aliyun3400,cntaobaoa13832721066 -cnphpwnd99999@aliyun3401,cntaobaoa138369 -cnphpwnd99999@aliyun3402,cntaobaoa13853 -cnphpwnd99999@aliyun3403,cntaobaoa13857636981 -cnphpwnd99999@aliyun3404,cntaobaoa1386968 -cnphpwnd99999@aliyun3405,cntaobaoa138s -cnphpwnd99999@aliyun3406,cntaobaoa13919860908 -cnphpwnd99999@aliyun3407,cntaobaoa1393803 -cnphpwnd99999@aliyun3408,cntaobaoa13971300 -cnphpwnd99999@aliyun3409,cntaobaoa13983725165 -cnphpwnd99999@aliyun3410,cntaobaoa13a13a13 -cnphpwnd99999@aliyun3411,cntaobaoa142753 -cnphpwnd99999@aliyun3412,cntaobaoa1460469081 -cnphpwnd99999@aliyun3413,cntaobaoa147 -cnphpwnd99999@aliyun3414,cntaobaoa147258369 -cnphpwnd99999@aliyun3415,cntaobaoa147369 -cnphpwnd99999@aliyun3416,cntaobaoa147402385 -cnphpwnd99999@aliyun3417,cntaobaoa14777511 -cnphpwnd99999@aliyun3418,cntaobaoa1478741 -cnphpwnd99999@aliyun3419,cntaobaoa147q -cnphpwnd99999@aliyun3420,cntaobaoa148100500 -cnphpwnd99999@aliyun3421,cntaobaoa148246772 -cnphpwnd99999@aliyun3422,cntaobaoa14841868 -cnphpwnd99999@aliyun3423,cntaobaoa149876984 -cnphpwnd99999@aliyun3424,cntaobaoa15053 -cnphpwnd99999@aliyun3425,cntaobaoa150559939 -cnphpwnd99999@aliyun3426,cntaobaoa1511821735 -cnphpwnd99999@aliyun3427,cntaobaoa15119 -cnphpwnd99999@aliyun3428,cntaobaoa151231301 -cnphpwnd99999@aliyun3429,cntaobaoa153577651 -cnphpwnd99999@aliyun3430,cntaobaoa154016895 -cnphpwnd99999@aliyun3431,cntaobaoa154666076 -cnphpwnd99999@aliyun3432,cntaobaoa15515090 -cnphpwnd99999@aliyun3433,cntaobaoa15547259 -cnphpwnd99999@aliyun3434,cntaobaoa1557743 -cnphpwnd99999@aliyun3435,cntaobaoa156152 -cnphpwnd99999@aliyun3436,cntaobaoa157144 -cnphpwnd99999@aliyun3437,cntaobaoa157953 -cnphpwnd99999@aliyun3438,cntaobaoa157990729 -cnphpwnd99999@aliyun3439,cntaobaoa158669841 -cnphpwnd99999@aliyun3440,cntaobaoa158680074 -cnphpwnd99999@aliyun3441,cntaobaoa159357b -cnphpwnd99999@aliyun3442,cntaobaoa159868971 -cnphpwnd99999@aliyun3443,cntaobaoa159872 -cnphpwnd99999@aliyun3444,cntaobaoa15past6 -cnphpwnd99999@aliyun3445,cntaobaoa160540985 -cnphpwnd99999@aliyun3446,cntaobaoa1616616 -cnphpwnd99999@aliyun3447,cntaobaoa162 -cnphpwnd99999@aliyun3448,cntaobaoa162163635 -cnphpwnd99999@aliyun3449,cntaobaoa1635520 -cnphpwnd99999@aliyun3450,cntaobaoa1644291212 -cnphpwnd99999@aliyun3451,cntaobaoa165403731 -cnphpwnd99999@aliyun3452,cntaobaoa165657597 -cnphpwnd99999@aliyun3453,cntaobaoa166632432 -cnphpwnd99999@aliyun3454,cntaobaoa1680 -cnphpwnd99999@aliyun3455,cntaobaoa16888 -cnphpwnd99999@aliyun3456,cntaobaoa16946573 -cnphpwnd99999@aliyun3457,cntaobaoa170125955 -cnphpwnd99999@aliyun3458,cntaobaoa17036534 -cnphpwnd99999@aliyun3459,cntaobaoa17050703 -cnphpwnd99999@aliyun3460,cntaobaoa170896345 -cnphpwnd99999@aliyun3461,cntaobaoa171498148 -cnphpwnd99999@aliyun3462,cntaobaoa171621908 -cnphpwnd99999@aliyun3463,cntaobaoa172354450 -cnphpwnd99999@aliyun3464,cntaobaoa17258066 -cnphpwnd99999@aliyun3465,cntaobaoa172866863 -cnphpwnd99999@aliyun3466,cntaobaoa173238860 -cnphpwnd99999@aliyun3467,cntaobaoa173421 -cnphpwnd99999@aliyun3468,cntaobaoa173557070 -cnphpwnd99999@aliyun3469,cntaobaoa173599691 -cnphpwnd99999@aliyun3470,cntaobaoa174300699 -cnphpwnd99999@aliyun3471,cntaobaoa1751 -cnphpwnd99999@aliyun3472,cntaobaoa175440217 -cnphpwnd99999@aliyun3473,cntaobaoa1774bo -cnphpwnd99999@aliyun3474,cntaobaoa178878787 -cnphpwnd99999@aliyun3475,cntaobaoa1794364 -cnphpwnd99999@aliyun3476,cntaobaoa17960 -cnphpwnd99999@aliyun3477,cntaobaoa179789500 -cnphpwnd99999@aliyun3478,cntaobaoa179840091 -cnphpwnd99999@aliyun3479,cntaobaoa179928919 -cnphpwnd99999@aliyun3480,cntaobaoa1799bo -cnphpwnd99999@aliyun3481,cntaobaoa18100255 -cnphpwnd99999@aliyun3482,cntaobaoa181404895 -cnphpwnd99999@aliyun3483,cntaobaoa181518863 -cnphpwnd99999@aliyun3484,cntaobaoa18181 -cnphpwnd99999@aliyun3485,cntaobaoa18181818 -cnphpwnd99999@aliyun3486,cntaobaoa181958702 -cnphpwnd99999@aliyun3487,cntaobaoa182409062 -cnphpwnd99999@aliyun3488,cntaobaoa18269 -cnphpwnd99999@aliyun3489,cntaobaoa182934414 -cnphpwnd99999@aliyun3490,cntaobaoa184404360 -cnphpwnd99999@aliyun3491,cntaobaoa184523 -cnphpwnd99999@aliyun3492,cntaobaoa185795683 -cnphpwnd99999@aliyun3493,cntaobaoa188 -cnphpwnd99999@aliyun3494,cntaobaoa188zk -cnphpwnd99999@aliyun3495,cntaobaoa189355 -cnphpwnd99999@aliyun3496,cntaobaoa190019 -cnphpwnd99999@aliyun3497,cntaobaoa1929 -cnphpwnd99999@aliyun3498,cntaobaoa193786425 -cnphpwnd99999@aliyun3499,cntaobaoa195210 -cnphpwnd99999@aliyun3500,cntaobaoa195258 -cnphpwnd99999@aliyun3501,cntaobaoa1953125 -cnphpwnd99999@aliyun3502,cntaobaoa19631208 -cnphpwnd99999@aliyun3503,cntaobaoa19730626 -cnphpwnd99999@aliyun3504,cntaobaoa19750101 -cnphpwnd99999@aliyun3505,cntaobaoa19770306 -cnphpwnd99999@aliyun3506,cntaobaoa197802 -cnphpwnd99999@aliyun3507,cntaobaoa19781010 -cnphpwnd99999@aliyun3508,cntaobaoa19790811 -cnphpwnd99999@aliyun3509,cntaobaoa19804865 -cnphpwnd99999@aliyun3510,cntaobaoa1981 -cnphpwnd99999@aliyun3511,cntaobaoa19810909 -cnphpwnd99999@aliyun3512,cntaobaoa19811206 -cnphpwnd99999@aliyun3513,cntaobaoa198155a -cnphpwnd99999@aliyun3514,cntaobaoa198206081852 -cnphpwnd99999@aliyun3515,cntaobaoa198208052003 -cnphpwnd99999@aliyun3516,cntaobaoa19821022 -cnphpwnd99999@aliyun3517,cntaobaoa1983 -cnphpwnd99999@aliyun3518,cntaobaoa19831030 -cnphpwnd99999@aliyun3519,cntaobaoa19831212 -cnphpwnd99999@aliyun3520,cntaobaoa1983anfei -cnphpwnd99999@aliyun3521,cntaobaoa1984 -cnphpwnd99999@aliyun3522,cntaobaoa19840209 -cnphpwnd99999@aliyun3523,cntaobaoa19840829 -cnphpwnd99999@aliyun3524,cntaobaoa1984101z -cnphpwnd99999@aliyun3525,cntaobaoa19841101 -cnphpwnd99999@aliyun3526,cntaobaoa198481 -cnphpwnd99999@aliyun3527,cntaobaoa19850529 -cnphpwnd99999@aliyun3528,cntaobaoa19850626 -cnphpwnd99999@aliyun3529,cntaobaoa19851010 -cnphpwnd99999@aliyun3530,cntaobaoa198524 -cnphpwnd99999@aliyun3531,cntaobaoa19861202 -cnphpwnd99999@aliyun3532,cntaobaoa1986804 -cnphpwnd99999@aliyun3533,cntaobaoa198701150 -cnphpwnd99999@aliyun3534,cntaobaoa19871017 -cnphpwnd99999@aliyun3535,cntaobaoa1987112 -cnphpwnd99999@aliyun3536,cntaobaoa1987927_2005 -cnphpwnd99999@aliyun3537,cntaobaoa19880807 -cnphpwnd99999@aliyun3538,cntaobaoa198811 -cnphpwnd99999@aliyun3539,cntaobaoa198888 -cnphpwnd99999@aliyun3540,cntaobaoa199025 -cnphpwnd99999@aliyun3541,cntaobaoa1990318 -cnphpwnd99999@aliyun3542,cntaobaoa1993925 -cnphpwnd99999@aliyun3543,cntaobaoa199601180 -cnphpwnd99999@aliyun3544,cntaobaoa199628321 -cnphpwnd99999@aliyun3545,cntaobaoa199799752 -cnphpwnd99999@aliyun3546,cntaobaoa19986b1984 -cnphpwnd99999@aliyun3547,cntaobaoa19cai -cnphpwnd99999@aliyun3548,cntaobaoa1_b1 -cnphpwnd99999@aliyun3549,cntaobaoa1a1 -cnphpwnd99999@aliyun3550,cntaobaoa1a11 -cnphpwnd99999@aliyun3551,cntaobaoa1a11a111 -cnphpwnd99999@aliyun3552,cntaobaoa1a1a1a188 -cnphpwnd99999@aliyun3553,cntaobaoa1a1a1a19 -cnphpwnd99999@aliyun3554,cntaobaoa1a1a1b22 -cnphpwnd99999@aliyun3555,cntaobaoa1a2a3 -cnphpwnd99999@aliyun3556,cntaobaoa1a2a31234 -cnphpwnd99999@aliyun3557,cntaobaoa1a2a3306 -cnphpwnd99999@aliyun3558,cntaobaoa1a2a3a1a2a3 -cnphpwnd99999@aliyun3559,cntaobaoa1a2s3 -cnphpwnd99999@aliyun3560,cntaobaoa1asd5722871 -cnphpwnd99999@aliyun3561,cntaobaoa1b1311 -cnphpwnd99999@aliyun3562,cntaobaoa1b2_002 -cnphpwnd99999@aliyun3563,cntaobaoa1b2c -cnphpwnd99999@aliyun3564,cntaobaoa1b2c1_311 -cnphpwnd99999@aliyun3565,cntaobaoa1b2c2 -cnphpwnd99999@aliyun3566,cntaobaoa1b2c3012 -cnphpwnd99999@aliyun3567,cntaobaoa1b2c3123 -cnphpwnd99999@aliyun3568,cntaobaoa1b2c322 -cnphpwnd99999@aliyun3569,cntaobaoa1b2c3770 -cnphpwnd99999@aliyun3570,cntaobaoa1b2c3abc -cnphpwnd99999@aliyun3571,cntaobaoa1b2c3c3c3001 -cnphpwnd99999@aliyun3572,cntaobaoa1b2c3c3c3007 -cnphpwnd99999@aliyun3573,cntaobaoa1b2c3d4888 -cnphpwnd99999@aliyun3574,cntaobaoa1b2c3d4_0071 -cnphpwnd99999@aliyun3575,cntaobaoa1b2c3d4lalala -cnphpwnd99999@aliyun3576,cntaobaoa1china -cnphpwnd99999@aliyun3577,cntaobaoa1ctidus -cnphpwnd99999@aliyun3578,cntaobaoa1d50ye -cnphpwnd99999@aliyun3579,cntaobaoa1eric -cnphpwnd99999@aliyun3580,cntaobaoa1fw -cnphpwnd99999@aliyun3581,cntaobaoa1g9ma -cnphpwnd99999@aliyun3582,cntaobaoa1man -cnphpwnd99999@aliyun3583,cntaobaoa1pioneer -cnphpwnd99999@aliyun3584,cntaobaoa1s1d1 -cnphpwnd99999@aliyun3585,cntaobaoa1s2_1234 -cnphpwnd99999@aliyun3586,cntaobaoa1s2c3e4f6 -cnphpwnd99999@aliyun3587,cntaobaoa1tommy731 -cnphpwnd99999@aliyun3588,cntaobaoa1wangjig -cnphpwnd99999@aliyun3589,cntaobaoa1xiaosong -cnphpwnd99999@aliyun3590,cntaobaoa2-21 -cnphpwnd99999@aliyun3591,cntaobaoa20000 -cnphpwnd99999@aliyun3592,cntaobaoa200000 -cnphpwnd99999@aliyun3593,cntaobaoa200001b -cnphpwnd99999@aliyun3594,cntaobaoa20011227 -cnphpwnd99999@aliyun3595,cntaobaoa200128313 -cnphpwnd99999@aliyun3596,cntaobaoa20017831 -cnphpwnd99999@aliyun3597,cntaobaoa20031010 -cnphpwnd99999@aliyun3598,cntaobaoa2004bcd -cnphpwnd99999@aliyun3599,cntaobaoa2004iceman -cnphpwnd99999@aliyun3600,cntaobaoa2005411 -cnphpwnd99999@aliyun3601,cntaobaoa2008a57506734 -cnphpwnd99999@aliyun3602,cntaobaoa200sc -cnphpwnd99999@aliyun3603,cntaobaoa2010725 -cnphpwnd99999@aliyun3604,cntaobaoa2011 -cnphpwnd99999@aliyun3605,cntaobaoa2013009 -cnphpwnd99999@aliyun3606,cntaobaoa2013685 -cnphpwnd99999@aliyun3607,cntaobaoa2021 -cnphpwnd99999@aliyun3608,cntaobaoa20302 -cnphpwnd99999@aliyun3609,cntaobaoa2031662 -cnphpwnd99999@aliyun3610,cntaobaoa20329213 -cnphpwnd99999@aliyun3611,cntaobaoa20538 -cnphpwnd99999@aliyun3612,cntaobaoa2056 -cnphpwnd99999@aliyun3613,cntaobaoa205918 -cnphpwnd99999@aliyun3614,cntaobaoa2067956 -cnphpwnd99999@aliyun3615,cntaobaoa2083119 -cnphpwnd99999@aliyun3616,cntaobaoa21011838 -cnphpwnd99999@aliyun3617,cntaobaoa2103 -cnphpwnd99999@aliyun3618,cntaobaoa2109966 -cnphpwnd99999@aliyun3619,cntaobaoa2111248 -cnphpwnd99999@aliyun3620,cntaobaoa2121079a -cnphpwnd99999@aliyun3621,cntaobaoa2121849 -cnphpwnd99999@aliyun3622,cntaobaoa212695 -cnphpwnd99999@aliyun3623,cntaobaoa213 -cnphpwnd99999@aliyun3624,cntaobaoa213312 -cnphpwnd99999@aliyun3625,cntaobaoa214071328 -cnphpwnd99999@aliyun3626,cntaobaoa214178065 -cnphpwnd99999@aliyun3627,cntaobaoa214452334 -cnphpwnd99999@aliyun3628,cntaobaoa21467641 -cnphpwnd99999@aliyun3629,cntaobaoa214872064 -cnphpwnd99999@aliyun3630,cntaobaoa2152116 -cnphpwnd99999@aliyun3631,cntaobaoa215955 -cnphpwnd99999@aliyun3632,cntaobaoa21693 -cnphpwnd99999@aliyun3633,cntaobaoa21729327 -cnphpwnd99999@aliyun3634,cntaobaoa21770980 -cnphpwnd99999@aliyun3635,cntaobaoa2190337 -cnphpwnd99999@aliyun3636,cntaobaoa2192502 -cnphpwnd99999@aliyun3637,cntaobaoa21a -cnphpwnd99999@aliyun3638,cntaobaoa2205889 -cnphpwnd99999@aliyun3639,cntaobaoa221144 -cnphpwnd99999@aliyun3640,cntaobaoa2213310 -cnphpwnd99999@aliyun3641,cntaobaoa2219684b -cnphpwnd99999@aliyun3642,cntaobaoa221a -cnphpwnd99999@aliyun3643,cntaobaoa2222a -cnphpwnd99999@aliyun3644,cntaobaoa222321111 -cnphpwnd99999@aliyun3645,cntaobaoa2224796 -cnphpwnd99999@aliyun3646,cntaobaoa222888 -cnphpwnd99999@aliyun3647,cntaobaoa2230436 -cnphpwnd99999@aliyun3648,cntaobaoa2233 -cnphpwnd99999@aliyun3649,cntaobaoa22333 -cnphpwnd99999@aliyun3650,cntaobaoa2235 -cnphpwnd99999@aliyun3651,cntaobaoa2238867 -cnphpwnd99999@aliyun3652,cntaobaoa223a -cnphpwnd99999@aliyun3653,cntaobaoa2244532 -cnphpwnd99999@aliyun3654,cntaobaoa22485060 -cnphpwnd99999@aliyun3655,cntaobaoa225434636 -cnphpwnd99999@aliyun3656,cntaobaoa225487 -cnphpwnd99999@aliyun3657,cntaobaoa225525 -cnphpwnd99999@aliyun3658,cntaobaoa22599509 -cnphpwnd99999@aliyun3659,cntaobaoa226044194 -cnphpwnd99999@aliyun3660,cntaobaoa2277 -cnphpwnd99999@aliyun3661,cntaobaoa22806690 -cnphpwnd99999@aliyun3662,cntaobaoa2290928 -cnphpwnd99999@aliyun3663,cntaobaoa229562254 -cnphpwnd99999@aliyun3664,cntaobaoa22p -cnphpwnd99999@aliyun3665,cntaobaoa23035 -cnphpwnd99999@aliyun3666,cntaobaoa23051886 -cnphpwnd99999@aliyun3667,cntaobaoa2310146 -cnphpwnd99999@aliyun3668,cntaobaoa23105921019 -cnphpwnd99999@aliyun3669,cntaobaoa2311130a -cnphpwnd99999@aliyun3670,cntaobaoa2311584 -cnphpwnd99999@aliyun3671,cntaobaoa2314011 -cnphpwnd99999@aliyun3672,cntaobaoa2315356 -cnphpwnd99999@aliyun3673,cntaobaoa2316117018 -cnphpwnd99999@aliyun3674,cntaobaoa2322345 -cnphpwnd99999@aliyun3675,cntaobaoa232873524 -cnphpwnd99999@aliyun3676,cntaobaoa23321 -cnphpwnd99999@aliyun3677,cntaobaoa233211792 -cnphpwnd99999@aliyun3678,cntaobaoa2333 -cnphpwnd99999@aliyun3679,cntaobaoa23436 -cnphpwnd99999@aliyun3680,cntaobaoa23456789 -cnphpwnd99999@aliyun3681,cntaobaoa234567890 -cnphpwnd99999@aliyun3682,cntaobaoa234590 -cnphpwnd99999@aliyun3683,cntaobaoa2346 -cnphpwnd99999@aliyun3684,cntaobaoa234827 -cnphpwnd99999@aliyun3685,cntaobaoa23539336 -cnphpwnd99999@aliyun3686,cntaobaoa235448758 -cnphpwnd99999@aliyun3687,cntaobaoa2359491aa -cnphpwnd99999@aliyun3688,cntaobaoa235bf -cnphpwnd99999@aliyun3689,cntaobaoa236711 -cnphpwnd99999@aliyun3690,cntaobaoa23673 -cnphpwnd99999@aliyun3691,cntaobaoa2369018 -cnphpwnd99999@aliyun3692,cntaobaoa237565854 -cnphpwnd99999@aliyun3693,cntaobaoa2401 -cnphpwnd99999@aliyun3694,cntaobaoa24027244 -cnphpwnd99999@aliyun3695,cntaobaoa240452406 -cnphpwnd99999@aliyun3696,cntaobaoa2417713 -cnphpwnd99999@aliyun3697,cntaobaoa2428485 -cnphpwnd99999@aliyun3698,cntaobaoa24513893 -cnphpwnd99999@aliyun3699,cntaobaoa2471917 -cnphpwnd99999@aliyun3700,cntaobaoa247356106 -cnphpwnd99999@aliyun3701,cntaobaoa24867325 -cnphpwnd99999@aliyun3702,cntaobaoa2490247 -cnphpwnd99999@aliyun3703,cntaobaoa249080426 -cnphpwnd99999@aliyun3704,cntaobaoa24989713 -cnphpwnd99999@aliyun3705,cntaobaoa24fg -cnphpwnd99999@aliyun3706,cntaobaoa250195053 -cnphpwnd99999@aliyun3707,cntaobaoa250609532 -cnphpwnd99999@aliyun3708,cntaobaoa250635642 -cnphpwnd99999@aliyun3709,cntaobaoa250684246 -cnphpwnd99999@aliyun3710,cntaobaoa250706273 -cnphpwnd99999@aliyun3711,cntaobaoa2507526 -cnphpwnd99999@aliyun3712,cntaobaoa25136641 -cnphpwnd99999@aliyun3713,cntaobaoa251542245 -cnphpwnd99999@aliyun3714,cntaobaoa25257758 -cnphpwnd99999@aliyun3715,cntaobaoa252694355 -cnphpwnd99999@aliyun3716,cntaobaoa25316435 -cnphpwnd99999@aliyun3717,cntaobaoa253416 -cnphpwnd99999@aliyun3718,cntaobaoa253717379 -cnphpwnd99999@aliyun3719,cntaobaoa25416 -cnphpwnd99999@aliyun3720,cntaobaoa254208883_ -cnphpwnd99999@aliyun3721,cntaobaoa254459775 -cnphpwnd99999@aliyun3722,cntaobaoa254644858 -cnphpwnd99999@aliyun3723,cntaobaoa2548 -cnphpwnd99999@aliyun3724,cntaobaoa254801182 -cnphpwnd99999@aliyun3725,cntaobaoa2552585 -cnphpwnd99999@aliyun3726,cntaobaoa2571036 -cnphpwnd99999@aliyun3727,cntaobaoa2576556 -cnphpwnd99999@aliyun3728,cntaobaoa257865 -cnphpwnd99999@aliyun3729,cntaobaoa258200510 -cnphpwnd99999@aliyun3730,cntaobaoa258421388 -cnphpwnd99999@aliyun3731,cntaobaoa258521 -cnphpwnd99999@aliyun3732,cntaobaoa258551007 -cnphpwnd99999@aliyun3733,cntaobaoa2587758 -cnphpwnd99999@aliyun3734,cntaobaoa258963 -cnphpwnd99999@aliyun3735,cntaobaoa260121526 -cnphpwnd99999@aliyun3736,cntaobaoa2601941 -cnphpwnd99999@aliyun3737,cntaobaoa26064019 -cnphpwnd99999@aliyun3738,cntaobaoa261033518 -cnphpwnd99999@aliyun3739,cntaobaoa261597859 -cnphpwnd99999@aliyun3740,cntaobaoa2623369 -cnphpwnd99999@aliyun3741,cntaobaoa2625647 -cnphpwnd99999@aliyun3742,cntaobaoa2630326 -cnphpwnd99999@aliyun3743,cntaobaoa263436980 -cnphpwnd99999@aliyun3744,cntaobaoa263768235 -cnphpwnd99999@aliyun3745,cntaobaoa263net -cnphpwnd99999@aliyun3746,cntaobaoa264299446 -cnphpwnd99999@aliyun3747,cntaobaoa264609550 -cnphpwnd99999@aliyun3748,cntaobaoa2661185 -cnphpwnd99999@aliyun3749,cntaobaoa26624456 -cnphpwnd99999@aliyun3750,cntaobaoa2664622 -cnphpwnd99999@aliyun3751,cntaobaoa2666106 -cnphpwnd99999@aliyun3752,cntaobaoa266731010 -cnphpwnd99999@aliyun3753,cntaobaoa26678472 -cnphpwnd99999@aliyun3754,cntaobaoa2676278 -cnphpwnd99999@aliyun3755,cntaobaoa2683013 -cnphpwnd99999@aliyun3756,cntaobaoa2689898 -cnphpwnd99999@aliyun3757,cntaobaoa269056327 -cnphpwnd99999@aliyun3758,cntaobaoa2692333 -cnphpwnd99999@aliyun3759,cntaobaoa269580442 -cnphpwnd99999@aliyun3760,cntaobaoa2701001 -cnphpwnd99999@aliyun3761,cntaobaoa270231337 -cnphpwnd99999@aliyun3762,cntaobaoa27044z -cnphpwnd99999@aliyun3763,cntaobaoa270636141 -cnphpwnd99999@aliyun3764,cntaobaoa271290 -cnphpwnd99999@aliyun3765,cntaobaoa271479776 -cnphpwnd99999@aliyun3766,cntaobaoa271686034 -cnphpwnd99999@aliyun3767,cntaobaoa272074 -cnphpwnd99999@aliyun3768,cntaobaoa2721110 -cnphpwnd99999@aliyun3769,cntaobaoa272121004 -cnphpwnd99999@aliyun3770,cntaobaoa27212443 -cnphpwnd99999@aliyun3771,cntaobaoa2733336 -cnphpwnd99999@aliyun3772,cntaobaoa2733528 -cnphpwnd99999@aliyun3773,cntaobaoa273875446 -cnphpwnd99999@aliyun3774,cntaobaoa274985451 -cnphpwnd99999@aliyun3775,cntaobaoa274ng7 -cnphpwnd99999@aliyun3776,cntaobaoa275200 -cnphpwnd99999@aliyun3777,cntaobaoa27572002 -cnphpwnd99999@aliyun3778,cntaobaoa27613468 -cnphpwnd99999@aliyun3779,cntaobaoa277264707 -cnphpwnd99999@aliyun3780,cntaobaoa277453391 -cnphpwnd99999@aliyun3781,cntaobaoa2777151 -cnphpwnd99999@aliyun3782,cntaobaoa279420951 -cnphpwnd99999@aliyun3783,cntaobaoa280568758 -cnphpwnd99999@aliyun3784,cntaobaoa280928685 -cnphpwnd99999@aliyun3785,cntaobaoa2809878 -cnphpwnd99999@aliyun3786,cntaobaoa281068472 -cnphpwnd99999@aliyun3787,cntaobaoa281473146 -cnphpwnd99999@aliyun3788,cntaobaoa2817390z -cnphpwnd99999@aliyun3789,cntaobaoa28176658 -cnphpwnd99999@aliyun3790,cntaobaoa2820965 -cnphpwnd99999@aliyun3791,cntaobaoa282354943 -cnphpwnd99999@aliyun3792,cntaobaoa2828125 -cnphpwnd99999@aliyun3793,cntaobaoa2837 -cnphpwnd99999@aliyun3794,cntaobaoa283703521 -cnphpwnd99999@aliyun3795,cntaobaoa283782725 -cnphpwnd99999@aliyun3796,cntaobaoa2838333 -cnphpwnd99999@aliyun3797,cntaobaoa28450378 -cnphpwnd99999@aliyun3798,cntaobaoa284675332 -cnphpwnd99999@aliyun3799,cntaobaoa2855555 -cnphpwnd99999@aliyun3800,cntaobaoa28562956 -cnphpwnd99999@aliyun3801,cntaobaoa28582427 -cnphpwnd99999@aliyun3802,cntaobaoa285900093 -cnphpwnd99999@aliyun3803,cntaobaoa286613000 -cnphpwnd99999@aliyun3804,cntaobaoa286651916 -cnphpwnd99999@aliyun3805,cntaobaoa2868658 -cnphpwnd99999@aliyun3806,cntaobaoa2877473 -cnphpwnd99999@aliyun3807,cntaobaoa289361719 -cnphpwnd99999@aliyun3808,cntaobaoa289708562 -cnphpwnd99999@aliyun3809,cntaobaoa290321767 -cnphpwnd99999@aliyun3810,cntaobaoa290633660 -cnphpwnd99999@aliyun3811,cntaobaoa290695841z -cnphpwnd99999@aliyun3812,cntaobaoa2909381 -cnphpwnd99999@aliyun3813,cntaobaoa2924 -cnphpwnd99999@aliyun3814,cntaobaoa2930709 -cnphpwnd99999@aliyun3815,cntaobaoa29380527 -cnphpwnd99999@aliyun3816,cntaobaoa2939229 -cnphpwnd99999@aliyun3817,cntaobaoa2955566 -cnphpwnd99999@aliyun3818,cntaobaoa29569295 -cnphpwnd99999@aliyun3819,cntaobaoa29701565 -cnphpwnd99999@aliyun3820,cntaobaoa2971082 -cnphpwnd99999@aliyun3821,cntaobaoa29825704 -cnphpwnd99999@aliyun3822,cntaobaoa2988651 -cnphpwnd99999@aliyun3823,cntaobaoa2999998 -cnphpwnd99999@aliyun3824,cntaobaoa2a251550 -cnphpwnd99999@aliyun3825,cntaobaoa2f4 -cnphpwnd99999@aliyun3826,cntaobaoa2go954_j -cnphpwnd99999@aliyun3827,cntaobaoa2harew -cnphpwnd99999@aliyun3828,cntaobaoa2hha2 -cnphpwnd99999@aliyun3829,cntaobaoa2lihong -cnphpwnd99999@aliyun3830,cntaobaoa2ming2004 -cnphpwnd99999@aliyun3831,cntaobaoa2mm -cnphpwnd99999@aliyun3832,cntaobaoa2q2 -cnphpwnd99999@aliyun3833,cntaobaoa2s3d4 -cnphpwnd99999@aliyun3834,cntaobaoa2yao -cnphpwnd99999@aliyun3835,cntaobaoa2zz -cnphpwnd99999@aliyun3836,cntaobaoa301_ann -cnphpwnd99999@aliyun3837,cntaobaoa3028522 -cnphpwnd99999@aliyun3838,cntaobaoa303204807 -cnphpwnd99999@aliyun3839,cntaobaoa303846302 -cnphpwnd99999@aliyun3840,cntaobaoa303963735 -cnphpwnd99999@aliyun3841,cntaobaoa3043713 -cnphpwnd99999@aliyun3842,cntaobaoa30485150 -cnphpwnd99999@aliyun3843,cntaobaoa30494746 -cnphpwnd99999@aliyun3844,cntaobaoa3056169 -cnphpwnd99999@aliyun3845,cntaobaoa305858389 -cnphpwnd99999@aliyun3846,cntaobaoa306806250 -cnphpwnd99999@aliyun3847,cntaobaoa306884327 -cnphpwnd99999@aliyun3848,cntaobaoa307137580 -cnphpwnd99999@aliyun3849,cntaobaoa30744288 -cnphpwnd99999@aliyun3850,cntaobaoa307972782 -cnphpwnd99999@aliyun3851,cntaobaoa308815428 -cnphpwnd99999@aliyun3852,cntaobaoa3093251783 -cnphpwnd99999@aliyun3853,cntaobaoa309567375 -cnphpwnd99999@aliyun3854,cntaobaoa31055 -cnphpwnd99999@aliyun3855,cntaobaoa3116396a -cnphpwnd99999@aliyun3856,cntaobaoa312085267 -cnphpwnd99999@aliyun3857,cntaobaoa312130207 -cnphpwnd99999@aliyun3858,cntaobaoa312228010 -cnphpwnd99999@aliyun3859,cntaobaoa312315 -cnphpwnd99999@aliyun3860,cntaobaoa31301646088 -cnphpwnd99999@aliyun3861,cntaobaoa313069054 -cnphpwnd99999@aliyun3862,cntaobaoa31331 -cnphpwnd99999@aliyun3863,cntaobaoa31415 -cnphpwnd99999@aliyun3864,cntaobaoa314159 -cnphpwnd99999@aliyun3865,cntaobaoa314174 -cnphpwnd99999@aliyun3866,cntaobaoa315013643 -cnphpwnd99999@aliyun3867,cntaobaoa316110960 -cnphpwnd99999@aliyun3868,cntaobaoa316478891 -cnphpwnd99999@aliyun3869,cntaobaoa316521667 -cnphpwnd99999@aliyun3870,cntaobaoa3170012 -cnphpwnd99999@aliyun3871,cntaobaoa31707 -cnphpwnd99999@aliyun3872,cntaobaoa3171208 -cnphpwnd99999@aliyun3873,cntaobaoa317173165 -cnphpwnd99999@aliyun3874,cntaobaoa317711687 -cnphpwnd99999@aliyun3875,cntaobaoa317773770 -cnphpwnd99999@aliyun3876,cntaobaoa3181427 -cnphpwnd99999@aliyun3877,cntaobaoa31899089 -cnphpwnd99999@aliyun3878,cntaobaoa319 -cnphpwnd99999@aliyun3879,cntaobaoa320a340 -cnphpwnd99999@aliyun3880,cntaobaoa3210315 -cnphpwnd99999@aliyun3881,cntaobaoa32107 -cnphpwnd99999@aliyun3882,cntaobaoa3213201 -cnphpwnd99999@aliyun3883,cntaobaoa321456 -cnphpwnd99999@aliyun3884,cntaobaoa3219491 -cnphpwnd99999@aliyun3885,cntaobaoa3224789 -cnphpwnd99999@aliyun3886,cntaobaoa3229846 -cnphpwnd99999@aliyun3887,cntaobaoa3232 -cnphpwnd99999@aliyun3888,cntaobaoa3232593 -cnphpwnd99999@aliyun3889,cntaobaoa323357921 -cnphpwnd99999@aliyun3890,cntaobaoa32570 -cnphpwnd99999@aliyun3891,cntaobaoa3260513 -cnphpwnd99999@aliyun3892,cntaobaoa326202 -cnphpwnd99999@aliyun3893,cntaobaoa3265446 -cnphpwnd99999@aliyun3894,cntaobaoa3297138 -cnphpwnd99999@aliyun3895,cntaobaoa32a123 -cnphpwnd99999@aliyun3896,cntaobaoa3302382 -cnphpwnd99999@aliyun3897,cntaobaoa330494541 -cnphpwnd99999@aliyun3898,cntaobaoa33108 -cnphpwnd99999@aliyun3899,cntaobaoa331703556 -cnphpwnd99999@aliyun3900,cntaobaoa3317325 -cnphpwnd99999@aliyun3901,cntaobaoa332363335 -cnphpwnd99999@aliyun3902,cntaobaoa3324466 -cnphpwnd99999@aliyun3903,cntaobaoa33320071 -cnphpwnd99999@aliyun3904,cntaobaoa3334 -cnphpwnd99999@aliyun3905,cntaobaoa333777w -cnphpwnd99999@aliyun3906,cntaobaoa3339923 -cnphpwnd99999@aliyun3907,cntaobaoa334132615 -cnphpwnd99999@aliyun3908,cntaobaoa334305755 -cnphpwnd99999@aliyun3909,cntaobaoa3344 -cnphpwnd99999@aliyun3910,cntaobaoa3347367 -cnphpwnd99999@aliyun3911,cntaobaoa3348226 -cnphpwnd99999@aliyun3912,cntaobaoa3355224 -cnphpwnd99999@aliyun3913,cntaobaoa335566 -cnphpwnd99999@aliyun3914,cntaobaoa3355721 -cnphpwnd99999@aliyun3915,cntaobaoa3356666 -cnphpwnd99999@aliyun3916,cntaobaoa3358001 -cnphpwnd99999@aliyun3917,cntaobaoa3365546 -cnphpwnd99999@aliyun3918,cntaobaoa3368 -cnphpwnd99999@aliyun3919,cntaobaoa3368621 -cnphpwnd99999@aliyun3920,cntaobaoa3369-2000 -cnphpwnd99999@aliyun3921,cntaobaoa3371250 -cnphpwnd99999@aliyun3922,cntaobaoa3374945 -cnphpwnd99999@aliyun3923,cntaobaoa33778749 -cnphpwnd99999@aliyun3924,cntaobaoa3387272 -cnphpwnd99999@aliyun3925,cntaobaoa339 -cnphpwnd99999@aliyun3926,cntaobaoa3390055 -cnphpwnd99999@aliyun3927,cntaobaoa339576383 -cnphpwnd99999@aliyun3928,cntaobaoa340203 -cnphpwnd99999@aliyun3929,cntaobaoa34022666 -cnphpwnd99999@aliyun3930,cntaobaoa34040443 -cnphpwnd99999@aliyun3931,cntaobaoa34058659b8 -cnphpwnd99999@aliyun3932,cntaobaoa3427006 -cnphpwnd99999@aliyun3933,cntaobaoa342707127 -cnphpwnd99999@aliyun3934,cntaobaoa342919403 -cnphpwnd99999@aliyun3935,cntaobaoa34294 -cnphpwnd99999@aliyun3936,cntaobaoa343610787 -cnphpwnd99999@aliyun3937,cntaobaoa344593281 -cnphpwnd99999@aliyun3938,cntaobaoa3451729 -cnphpwnd99999@aliyun3939,cntaobaoa345666817 -cnphpwnd99999@aliyun3940,cntaobaoa3456902a -cnphpwnd99999@aliyun3941,cntaobaoa34640782 -cnphpwnd99999@aliyun3942,cntaobaoa349704715 -cnphpwnd99999@aliyun3943,cntaobaoa349742234a -cnphpwnd99999@aliyun3944,cntaobaoa350282367 -cnphpwnd99999@aliyun3945,cntaobaoa351408899 -cnphpwnd99999@aliyun3946,cntaobaoa351471273 -cnphpwnd99999@aliyun3947,cntaobaoa3529 -cnphpwnd99999@aliyun3948,cntaobaoa3529566 -cnphpwnd99999@aliyun3949,cntaobaoa3536398 -cnphpwnd99999@aliyun3950,cntaobaoa3551405 -cnphpwnd99999@aliyun3951,cntaobaoa3572125 -cnphpwnd99999@aliyun3952,cntaobaoa357706648 -cnphpwnd99999@aliyun3953,cntaobaoa359000109 -cnphpwnd99999@aliyun3954,cntaobaoa35dfds -cnphpwnd99999@aliyun3955,cntaobaoa3601691 -cnphpwnd99999@aliyun3956,cntaobaoa360537291 -cnphpwnd99999@aliyun3957,cntaobaoa3607 -cnphpwnd99999@aliyun3958,cntaobaoa3617399 -cnphpwnd99999@aliyun3959,cntaobaoa3621231974 -cnphpwnd99999@aliyun3960,cntaobaoa362134320 -cnphpwnd99999@aliyun3961,cntaobaoa362230639 -cnphpwnd99999@aliyun3962,cntaobaoa362376297 -cnphpwnd99999@aliyun3963,cntaobaoa362580060 -cnphpwnd99999@aliyun3964,cntaobaoa363113064 -cnphpwnd99999@aliyun3965,cntaobaoa3635080 -cnphpwnd99999@aliyun3966,cntaobaoa363567714 -cnphpwnd99999@aliyun3967,cntaobaoa363636 -cnphpwnd99999@aliyun3968,cntaobaoa36370795 -cnphpwnd99999@aliyun3969,cntaobaoa363845677 -cnphpwnd99999@aliyun3970,cntaobaoa3648163 -cnphpwnd99999@aliyun3971,cntaobaoa36494940 -cnphpwnd99999@aliyun3972,cntaobaoa3650 -cnphpwnd99999@aliyun3973,cntaobaoa3651478 -cnphpwnd99999@aliyun3974,cntaobaoa3652057 -cnphpwnd99999@aliyun3975,cntaobaoa3656523 -cnphpwnd99999@aliyun3976,cntaobaoa366000 -cnphpwnd99999@aliyun3977,cntaobaoa366100 -cnphpwnd99999@aliyun3978,cntaobaoa3662077 -cnphpwnd99999@aliyun3979,cntaobaoa36629402 -cnphpwnd99999@aliyun3980,cntaobaoa36649274 -cnphpwnd99999@aliyun3981,cntaobaoa3698021 -cnphpwnd99999@aliyun3982,cntaobaoa369850777 -cnphpwnd99999@aliyun3983,cntaobaoa36995660 -cnphpwnd99999@aliyun3984,cntaobaoa371774998 -cnphpwnd99999@aliyun3985,cntaobaoa372260019 -cnphpwnd99999@aliyun3986,cntaobaoa372375162 -cnphpwnd99999@aliyun3987,cntaobaoa372808412 -cnphpwnd99999@aliyun3988,cntaobaoa373439 -cnphpwnd99999@aliyun3989,cntaobaoa37353735 -cnphpwnd99999@aliyun3990,cntaobaoa3747 -cnphpwnd99999@aliyun3991,cntaobaoa375577670 -cnphpwnd99999@aliyun3992,cntaobaoa3773 -cnphpwnd99999@aliyun3993,cntaobaoa3784565 -cnphpwnd99999@aliyun3994,cntaobaoa3788374m -cnphpwnd99999@aliyun3995,cntaobaoa379136031 -cnphpwnd99999@aliyun3996,cntaobaoa38019456 -cnphpwnd99999@aliyun3997,cntaobaoa3806033 -cnphpwnd99999@aliyun3998,cntaobaoa3822 -cnphpwnd99999@aliyun3999,cntaobaoa382422883 -cnphpwnd99999@aliyun4000,cntaobaoa38367571 -cnphpwnd99999@aliyun4001,cntaobaoa3842540 -cnphpwnd99999@aliyun4002,cntaobaoa3848655 -cnphpwnd99999@aliyun4003,cntaobaoa3854303 -cnphpwnd99999@aliyun4004,cntaobaoa38598745 -cnphpwnd99999@aliyun4005,cntaobaoa3863589 -cnphpwnd99999@aliyun4006,cntaobaoa3868562 -cnphpwnd99999@aliyun4007,cntaobaoa38726957 -cnphpwnd99999@aliyun4008,cntaobaoa387937730 -cnphpwnd99999@aliyun4009,cntaobaoa3903093 -cnphpwnd99999@aliyun4010,cntaobaoa390735695 -cnphpwnd99999@aliyun4011,cntaobaoa391825195 -cnphpwnd99999@aliyun4012,cntaobaoa39200 -cnphpwnd99999@aliyun4013,cntaobaoa395979884 -cnphpwnd99999@aliyun4014,cntaobaoa39682534 -cnphpwnd99999@aliyun4015,cntaobaoa397866551 -cnphpwnd99999@aliyun4016,cntaobaoa399 -cnphpwnd99999@aliyun4017,cntaobaoa3_b3 -cnphpwnd99999@aliyun4018,cntaobaoa3a2a1321 -cnphpwnd99999@aliyun4019,cntaobaoa3a4520 -cnphpwnd99999@aliyun4020,cntaobaoa3b46d -cnphpwnd99999@aliyun4021,cntaobaoa3d45s -cnphpwnd99999@aliyun4022,cntaobaoa3fei -cnphpwnd99999@aliyun4023,cntaobaoa3guoyan1 -cnphpwnd99999@aliyun4024,cntaobaoa3hikalu -cnphpwnd99999@aliyun4025,cntaobaoa3wind -cnphpwnd99999@aliyun4026,cntaobaoa3xx14 -cnphpwnd99999@aliyun4027,cntaobaoa40147281 -cnphpwnd99999@aliyun4028,cntaobaoa4023665 -cnphpwnd99999@aliyun4029,cntaobaoa402832903 -cnphpwnd99999@aliyun4030,cntaobaoa403 -cnphpwnd99999@aliyun4031,cntaobaoa403466681 -cnphpwnd99999@aliyun4032,cntaobaoa403917796 -cnphpwnd99999@aliyun4033,cntaobaoa40406520 -cnphpwnd99999@aliyun4034,cntaobaoa404801363 -cnphpwnd99999@aliyun4035,cntaobaoa408588316 -cnphpwnd99999@aliyun4036,cntaobaoa40900347 -cnphpwnd99999@aliyun4037,cntaobaoa409155816 -cnphpwnd99999@aliyun4038,cntaobaoa4097897 -cnphpwnd99999@aliyun4039,cntaobaoa4100099 -cnphpwnd99999@aliyun4040,cntaobaoa410868570 -cnphpwnd99999@aliyun4041,cntaobaoa410945676 -cnphpwnd99999@aliyun4042,cntaobaoa410998663 -cnphpwnd99999@aliyun4043,cntaobaoa411303 -cnphpwnd99999@aliyun4044,cntaobaoa4115bc22 -cnphpwnd99999@aliyun4045,cntaobaoa4121888 -cnphpwnd99999@aliyun4046,cntaobaoa412541137 -cnphpwnd99999@aliyun4047,cntaobaoa412b -cnphpwnd99999@aliyun4048,cntaobaoa41435845 -cnphpwnd99999@aliyun4049,cntaobaoa414721782 -cnphpwnd99999@aliyun4050,cntaobaoa415241 -cnphpwnd99999@aliyun4051,cntaobaoa415655788 -cnphpwnd99999@aliyun4052,cntaobaoa415883647 -cnphpwnd99999@aliyun4053,cntaobaoa4160194 -cnphpwnd99999@aliyun4054,cntaobaoa41602534 -cnphpwnd99999@aliyun4055,cntaobaoa41652874088 -cnphpwnd99999@aliyun4056,cntaobaoa416815088 -cnphpwnd99999@aliyun4057,cntaobaoa417239090 -cnphpwnd99999@aliyun4058,cntaobaoa417252307 -cnphpwnd99999@aliyun4059,cntaobaoa417257065 -cnphpwnd99999@aliyun4060,cntaobaoa41747960 -cnphpwnd99999@aliyun4061,cntaobaoa417800658 -cnphpwnd99999@aliyun4062,cntaobaoa41782503 -cnphpwnd99999@aliyun4063,cntaobaoa419668667 -cnphpwnd99999@aliyun4064,cntaobaoa420314295 -cnphpwnd99999@aliyun4065,cntaobaoa420788604 -cnphpwnd99999@aliyun4066,cntaobaoa4215654 -cnphpwnd99999@aliyun4067,cntaobaoa42166 -cnphpwnd99999@aliyun4068,cntaobaoa4221099 -cnphpwnd99999@aliyun4069,cntaobaoa42276090 -cnphpwnd99999@aliyun4070,cntaobaoa42295471 -cnphpwnd99999@aliyun4071,cntaobaoa423272630 -cnphpwnd99999@aliyun4072,cntaobaoa4233481 -cnphpwnd99999@aliyun4073,cntaobaoa423577 -cnphpwnd99999@aliyun4074,cntaobaoa4253004 -cnphpwnd99999@aliyun4075,cntaobaoa425788 -cnphpwnd99999@aliyun4076,cntaobaoa4258608 -cnphpwnd99999@aliyun4077,cntaobaoa42779265 -cnphpwnd99999@aliyun4078,cntaobaoa430210 -cnphpwnd99999@aliyun4079,cntaobaoa4314426 -cnphpwnd99999@aliyun4080,cntaobaoa4320826 -cnphpwnd99999@aliyun4081,cntaobaoa4321412 -cnphpwnd99999@aliyun4082,cntaobaoa4351005 -cnphpwnd99999@aliyun4083,cntaobaoa43571280 -cnphpwnd99999@aliyun4084,cntaobaoa4362968q -cnphpwnd99999@aliyun4085,cntaobaoa43649437 -cnphpwnd99999@aliyun4086,cntaobaoa43788962 -cnphpwnd99999@aliyun4087,cntaobaoa43v -cnphpwnd99999@aliyun4088,cntaobaoa44010 -cnphpwnd99999@aliyun4089,cntaobaoa44015 -cnphpwnd99999@aliyun4090,cntaobaoa44021 -cnphpwnd99999@aliyun4091,cntaobaoa4414815 -cnphpwnd99999@aliyun4092,cntaobaoa441a -cnphpwnd99999@aliyun4093,cntaobaoa442369500 -cnphpwnd99999@aliyun4094,cntaobaoa442481980 -cnphpwnd99999@aliyun4095,cntaobaoa443764595 -cnphpwnd99999@aliyun4096,cntaobaoa444302001 -cnphpwnd99999@aliyun4097,cntaobaoa4444148 -cnphpwnd99999@aliyun4098,cntaobaoa4450455 -cnphpwnd99999@aliyun4099,cntaobaoa4452449 -cnphpwnd99999@aliyun4100,cntaobaoa4477656 -cnphpwnd99999@aliyun4101,cntaobaoa450 -cnphpwnd99999@aliyun4102,cntaobaoa45065198 -cnphpwnd99999@aliyun4103,cntaobaoa4517320 -cnphpwnd99999@aliyun4104,cntaobaoa453519 -cnphpwnd99999@aliyun4105,cntaobaoa4545916 -cnphpwnd99999@aliyun4106,cntaobaoa4563828 -cnphpwnd99999@aliyun4107,cntaobaoa45644251 -cnphpwnd99999@aliyun4108,cntaobaoa4567890 -cnphpwnd99999@aliyun4109,cntaobaoa4577390 -cnphpwnd99999@aliyun4110,cntaobaoa45c -cnphpwnd99999@aliyun4111,cntaobaoa4610117 -cnphpwnd99999@aliyun4112,cntaobaoa4615309 -cnphpwnd99999@aliyun4113,cntaobaoa4632671 -cnphpwnd99999@aliyun4114,cntaobaoa464646 -cnphpwnd99999@aliyun4115,cntaobaoa46485136 -cnphpwnd99999@aliyun4116,cntaobaoa4661251 -cnphpwnd99999@aliyun4117,cntaobaoa4672030 -cnphpwnd99999@aliyun4118,cntaobaoa46722590 -cnphpwnd99999@aliyun4119,cntaobaoa4686728 -cnphpwnd99999@aliyun4120,cntaobaoa4712595 -cnphpwnd99999@aliyun4121,cntaobaoa474616255 -cnphpwnd99999@aliyun4122,cntaobaoa47550538 -cnphpwnd99999@aliyun4123,cntaobaoa47792908 -cnphpwnd99999@aliyun4124,cntaobaoa480624 -cnphpwnd99999@aliyun4125,cntaobaoa48103688 -cnphpwnd99999@aliyun4126,cntaobaoa4821462 -cnphpwnd99999@aliyun4127,cntaobaoa4826186 -cnphpwnd99999@aliyun4128,cntaobaoa4834134 -cnphpwnd99999@aliyun4129,cntaobaoa4855595 -cnphpwnd99999@aliyun4130,cntaobaoa48651865 -cnphpwnd99999@aliyun4131,cntaobaoa48802816 -cnphpwnd99999@aliyun4132,cntaobaoa48883 -cnphpwnd99999@aliyun4133,cntaobaoa48993743 -cnphpwnd99999@aliyun4134,cntaobaoa49421526 -cnphpwnd99999@aliyun4135,cntaobaoa49649549 -cnphpwnd99999@aliyun4136,cntaobaoa498685590 -cnphpwnd99999@aliyun4137,cntaobaoa4a123 -cnphpwnd99999@aliyun4138,cntaobaoa4a5a4a5 -cnphpwnd99999@aliyun4139,cntaobaoa4b6ebg -cnphpwnd99999@aliyun4140,cntaobaoa4dfw7ee -cnphpwnd99999@aliyun4141,cntaobaoa4mao -cnphpwnd99999@aliyun4142,cntaobaoa4nfei -cnphpwnd99999@aliyun4143,cntaobaoa4s4d44444 -cnphpwnd99999@aliyun4144,cntaobaoa4tech2005 -cnphpwnd99999@aliyun4145,cntaobaoa5010792 -cnphpwnd99999@aliyun4146,cntaobaoa5024610 -cnphpwnd99999@aliyun4147,cntaobaoa50291151 -cnphpwnd99999@aliyun4148,cntaobaoa502a -cnphpwnd99999@aliyun4149,cntaobaoa504404 -cnphpwnd99999@aliyun4150,cntaobaoa5053311 -cnphpwnd99999@aliyun4151,cntaobaoa50587411 -cnphpwnd99999@aliyun4152,cntaobaoa5101728 -cnphpwnd99999@aliyun4153,cntaobaoa51020 -cnphpwnd99999@aliyun4154,cntaobaoa510319629 -cnphpwnd99999@aliyun4155,cntaobaoa5109 -cnphpwnd99999@aliyun4156,cntaobaoa511681 -cnphpwnd99999@aliyun4157,cntaobaoa5117788 -cnphpwnd99999@aliyun4158,cntaobaoa512345 -cnphpwnd99999@aliyun4159,cntaobaoa5125016 -cnphpwnd99999@aliyun4160,cntaobaoa5127329 -cnphpwnd99999@aliyun4161,cntaobaoa5139398a -cnphpwnd99999@aliyun4162,cntaobaoa514374566 -cnphpwnd99999@aliyun4163,cntaobaoa514514 -cnphpwnd99999@aliyun4164,cntaobaoa5152139 -cnphpwnd99999@aliyun4165,cntaobaoa516302 -cnphpwnd99999@aliyun4166,cntaobaoa5164219 -cnphpwnd99999@aliyun4167,cntaobaoa5174 -cnphpwnd99999@aliyun4168,cntaobaoa51819701 -cnphpwnd99999@aliyun4169,cntaobaoa5191665 -cnphpwnd99999@aliyun4170,cntaobaoa51best -cnphpwnd99999@aliyun4171,cntaobaoa5201850 -cnphpwnd99999@aliyun4172,cntaobaoa520a520 -cnphpwnd99999@aliyun4173,cntaobaoa520bc -cnphpwnd99999@aliyun4174,cntaobaoa521 -cnphpwnd99999@aliyun4175,cntaobaoa5211314 -cnphpwnd99999@aliyun4176,cntaobaoa5212778 -cnphpwnd99999@aliyun4177,cntaobaoa521_521 -cnphpwnd99999@aliyun4178,cntaobaoa521aa -cnphpwnd99999@aliyun4179,cntaobaoa521z -cnphpwnd99999@aliyun4180,cntaobaoa522 -cnphpwnd99999@aliyun4181,cntaobaoa522121 -cnphpwnd99999@aliyun4182,cntaobaoa5227115 -cnphpwnd99999@aliyun4183,cntaobaoa5230518 -cnphpwnd99999@aliyun4184,cntaobaoa5231278 -cnphpwnd99999@aliyun4185,cntaobaoa5233599 -cnphpwnd99999@aliyun4186,cntaobaoa524559 -cnphpwnd99999@aliyun4187,cntaobaoa52529711z -cnphpwnd99999@aliyun4188,cntaobaoa5252987 -cnphpwnd99999@aliyun4189,cntaobaoa52543 -cnphpwnd99999@aliyun4190,cntaobaoa5258128 -cnphpwnd99999@aliyun4191,cntaobaoa526093710 -cnphpwnd99999@aliyun4192,cntaobaoa52609373 -cnphpwnd99999@aliyun4193,cntaobaoa52827922 -cnphpwnd99999@aliyun4194,cntaobaoa5287033 -cnphpwnd99999@aliyun4195,cntaobaoa5293938 -cnphpwnd99999@aliyun4196,cntaobaoa5294562 -cnphpwnd99999@aliyun4197,cntaobaoa529826 -cnphpwnd99999@aliyun4198,cntaobaoa5300144 -cnphpwnd99999@aliyun4199,cntaobaoa5323628 -cnphpwnd99999@aliyun4200,cntaobaoa53486 -cnphpwnd99999@aliyun4201,cntaobaoa53814432 -cnphpwnd99999@aliyun4202,cntaobaoa538916 -cnphpwnd99999@aliyun4203,cntaobaoa53903029 -cnphpwnd99999@aliyun4204,cntaobaoa5400754007 -cnphpwnd99999@aliyun4205,cntaobaoa54097b -cnphpwnd99999@aliyun4206,cntaobaoa5411698 -cnphpwnd99999@aliyun4207,cntaobaoa54165316 -cnphpwnd99999@aliyun4208,cntaobaoa541s1 -cnphpwnd99999@aliyun4209,cntaobaoa542276014 -cnphpwnd99999@aliyun4210,cntaobaoa543220 -cnphpwnd99999@aliyun4211,cntaobaoa5432356 -cnphpwnd99999@aliyun4212,cntaobaoa5457626 -cnphpwnd99999@aliyun4213,cntaobaoa54661 -cnphpwnd99999@aliyun4214,cntaobaoa5471 -cnphpwnd99999@aliyun4215,cntaobaoa5480 -cnphpwnd99999@aliyun4216,cntaobaoa54dfsd43 -cnphpwnd99999@aliyun4217,cntaobaoa5506022 -cnphpwnd99999@aliyun4218,cntaobaoa5512351 -cnphpwnd99999@aliyun4219,cntaobaoa5515310 -cnphpwnd99999@aliyun4220,cntaobaoa5516254a -cnphpwnd99999@aliyun4221,cntaobaoa5520399 -cnphpwnd99999@aliyun4222,cntaobaoa5523870 -cnphpwnd99999@aliyun4223,cntaobaoa55288395 -cnphpwnd99999@aliyun4224,cntaobaoa5529098 -cnphpwnd99999@aliyun4225,cntaobaoa5533290 -cnphpwnd99999@aliyun4226,cntaobaoa5534567 -cnphpwnd99999@aliyun4227,cntaobaoa5535097 -cnphpwnd99999@aliyun4228,cntaobaoa5535449 -cnphpwnd99999@aliyun4229,cntaobaoa5544324 -cnphpwnd99999@aliyun4230,cntaobaoa55545 -cnphpwnd99999@aliyun4231,cntaobaoa555666 -cnphpwnd99999@aliyun4232,cntaobaoa5562624 -cnphpwnd99999@aliyun4233,cntaobaoa5566_2005 -cnphpwnd99999@aliyun4234,cntaobaoa5566a -cnphpwnd99999@aliyun4235,cntaobaoa5575655 -cnphpwnd99999@aliyun4236,cntaobaoa55804845 -cnphpwnd99999@aliyun4237,cntaobaoa5581871 -cnphpwnd99999@aliyun4238,cntaobaoa5585519 -cnphpwnd99999@aliyun4239,cntaobaoa5587523 -cnphpwnd99999@aliyun4240,cntaobaoa5587546a -cnphpwnd99999@aliyun4241,cntaobaoa5612519 -cnphpwnd99999@aliyun4242,cntaobaoa5620296 -cnphpwnd99999@aliyun4243,cntaobaoa5626964 -cnphpwnd99999@aliyun4244,cntaobaoa5638845 -cnphpwnd99999@aliyun4245,cntaobaoa56432963 -cnphpwnd99999@aliyun4246,cntaobaoa56443467 -cnphpwnd99999@aliyun4247,cntaobaoa56456 -cnphpwnd99999@aliyun4248,cntaobaoa5650080 -cnphpwnd99999@aliyun4249,cntaobaoa56502650 -cnphpwnd99999@aliyun4250,cntaobaoa56567878 -cnphpwnd99999@aliyun4251,cntaobaoa5657799 -cnphpwnd99999@aliyun4252,cntaobaoa565883 -cnphpwnd99999@aliyun4253,cntaobaoa5660301 -cnphpwnd99999@aliyun4254,cntaobaoa56608884 -cnphpwnd99999@aliyun4255,cntaobaoa56698428 -cnphpwnd99999@aliyun4256,cntaobaoa5676981a -cnphpwnd99999@aliyun4257,cntaobaoa568024bb -cnphpwnd99999@aliyun4258,cntaobaoa56814331 -cnphpwnd99999@aliyun4259,cntaobaoa5685469 -cnphpwnd99999@aliyun4260,cntaobaoa56898702 -cnphpwnd99999@aliyun4261,cntaobaoa56905876 -cnphpwnd99999@aliyun4262,cntaobaoa5695010 -cnphpwnd99999@aliyun4263,cntaobaoa5702355 -cnphpwnd99999@aliyun4264,cntaobaoa5711473 -cnphpwnd99999@aliyun4265,cntaobaoa5740 -cnphpwnd99999@aliyun4266,cntaobaoa574hao -cnphpwnd99999@aliyun4267,cntaobaoa5756665 -cnphpwnd99999@aliyun4268,cntaobaoa57681952 -cnphpwnd99999@aliyun4269,cntaobaoa576b168 -cnphpwnd99999@aliyun4270,cntaobaoa579613 -cnphpwnd99999@aliyun4271,cntaobaoa57qr1yqhz0 -cnphpwnd99999@aliyun4272,cntaobaoa5802162 -cnphpwnd99999@aliyun4273,cntaobaoa58024911 -cnphpwnd99999@aliyun4274,cntaobaoa5803202_l -cnphpwnd99999@aliyun4275,cntaobaoa580818 -cnphpwnd99999@aliyun4276,cntaobaoa5808791 -cnphpwnd99999@aliyun4277,cntaobaoa581206 -cnphpwnd99999@aliyun4278,cntaobaoa5813163 -cnphpwnd99999@aliyun4279,cntaobaoa58136828 -cnphpwnd99999@aliyun4280,cntaobaoa58166061 -cnphpwnd99999@aliyun4281,cntaobaoa5823686 -cnphpwnd99999@aliyun4282,cntaobaoa58318722 -cnphpwnd99999@aliyun4283,cntaobaoa5832133 -cnphpwnd99999@aliyun4284,cntaobaoa5834 -cnphpwnd99999@aliyun4285,cntaobaoa58457471 -cnphpwnd99999@aliyun4286,cntaobaoa5846185 -cnphpwnd99999@aliyun4287,cntaobaoa585900 -cnphpwnd99999@aliyun4288,cntaobaoa58602538 -cnphpwnd99999@aliyun4289,cntaobaoa5869785 -cnphpwnd99999@aliyun4290,cntaobaoa58771009 -cnphpwnd99999@aliyun4291,cntaobaoa5879780 -cnphpwnd99999@aliyun4292,cntaobaoa58834880 -cnphpwnd99999@aliyun4293,cntaobaoa5885759 -cnphpwnd99999@aliyun4294,cntaobaoa5885908 -cnphpwnd99999@aliyun4295,cntaobaoa5888962 -cnphpwnd99999@aliyun4296,cntaobaoa5904 -cnphpwnd99999@aliyun4297,cntaobaoa5907 -cnphpwnd99999@aliyun4298,cntaobaoa59114972 -cnphpwnd99999@aliyun4299,cntaobaoa59625515 -cnphpwnd99999@aliyun4300,cntaobaoa5969622 -cnphpwnd99999@aliyun4301,cntaobaoa598753 -cnphpwnd99999@aliyun4302,cntaobaoa59897 -cnphpwnd99999@aliyun4303,cntaobaoa5998025 -cnphpwnd99999@aliyun4304,cntaobaoa599bnet -cnphpwnd99999@aliyun4305,cntaobaoa5a5a5s5s5s5 -cnphpwnd99999@aliyun4306,cntaobaoa5a7a9 -cnphpwnd99999@aliyun4307,cntaobaoa5aff -cnphpwnd99999@aliyun4308,cntaobaoa5b6c7ren -cnphpwnd99999@aliyun4309,cntaobaoa5enue -cnphpwnd99999@aliyun4310,cntaobaoa5j6kllkyelksd -cnphpwnd99999@aliyun4311,cntaobaoa5l5l5a5n -cnphpwnd99999@aliyun4312,cntaobaoa5u59ef0rce5 -cnphpwnd99999@aliyun4313,cntaobaoa6-6-6-6 -cnphpwnd99999@aliyun4314,cntaobaoa60056 -cnphpwnd99999@aliyun4315,cntaobaoa601019 -cnphpwnd99999@aliyun4316,cntaobaoa60171 -cnphpwnd99999@aliyun4317,cntaobaoa6026433 -cnphpwnd99999@aliyun4318,cntaobaoa6047504 -cnphpwnd99999@aliyun4319,cntaobaoa6050340 -cnphpwnd99999@aliyun4320,cntaobaoa6085881 -cnphpwnd99999@aliyun4321,cntaobaoa611118 -cnphpwnd99999@aliyun4322,cntaobaoa6120230 -cnphpwnd99999@aliyun4323,cntaobaoa612345 -cnphpwnd99999@aliyun4324,cntaobaoa612llw -cnphpwnd99999@aliyun4325,cntaobaoa61320314 -cnphpwnd99999@aliyun4326,cntaobaoa61349512 -cnphpwnd99999@aliyun4327,cntaobaoa614626 -cnphpwnd99999@aliyun4328,cntaobaoa6147531 -cnphpwnd99999@aliyun4329,cntaobaoa6156260 -cnphpwnd99999@aliyun4330,cntaobaoa61580181 -cnphpwnd99999@aliyun4331,cntaobaoa6161101 -cnphpwnd99999@aliyun4332,cntaobaoa616600 -cnphpwnd99999@aliyun4333,cntaobaoa61784115a -cnphpwnd99999@aliyun4334,cntaobaoa62007027 -cnphpwnd99999@aliyun4335,cntaobaoa6211320 -cnphpwnd99999@aliyun4336,cntaobaoa62116 -cnphpwnd99999@aliyun4337,cntaobaoa6214830 -cnphpwnd99999@aliyun4338,cntaobaoa62158713 -cnphpwnd99999@aliyun4339,cntaobaoa62171383 -cnphpwnd99999@aliyun4340,cntaobaoa62222157 -cnphpwnd99999@aliyun4341,cntaobaoa6222864 -cnphpwnd99999@aliyun4342,cntaobaoa6225613 -cnphpwnd99999@aliyun4343,cntaobaoa6229232 -cnphpwnd99999@aliyun4344,cntaobaoa6230191 -cnphpwnd99999@aliyun4345,cntaobaoa6231 -cnphpwnd99999@aliyun4346,cntaobaoa6232723 -cnphpwnd99999@aliyun4347,cntaobaoa62463717 -cnphpwnd99999@aliyun4348,cntaobaoa62525896 -cnphpwnd99999@aliyun4349,cntaobaoa6253587 -cnphpwnd99999@aliyun4350,cntaobaoa6254 -cnphpwnd99999@aliyun4351,cntaobaoa62600281 -cnphpwnd99999@aliyun4352,cntaobaoa6261211 -cnphpwnd99999@aliyun4353,cntaobaoa62776 -cnphpwnd99999@aliyun4354,cntaobaoa62831840 -cnphpwnd99999@aliyun4355,cntaobaoa6287536 -cnphpwnd99999@aliyun4356,cntaobaoa6292163 -cnphpwnd99999@aliyun4357,cntaobaoa6297821 -cnphpwnd99999@aliyun4358,cntaobaoa62b63c64 -cnphpwnd99999@aliyun4359,cntaobaoa6311679 -cnphpwnd99999@aliyun4360,cntaobaoa6320264 -cnphpwnd99999@aliyun4361,cntaobaoa63211811 -cnphpwnd99999@aliyun4362,cntaobaoa6325636 -cnphpwnd99999@aliyun4363,cntaobaoa6332710 -cnphpwnd99999@aliyun4364,cntaobaoa63449305 -cnphpwnd99999@aliyun4365,cntaobaoa63501513 -cnphpwnd99999@aliyun4366,cntaobaoa636034252 -cnphpwnd99999@aliyun4367,cntaobaoa63701749 -cnphpwnd99999@aliyun4368,cntaobaoa638139 -cnphpwnd99999@aliyun4369,cntaobaoa63831356 -cnphpwnd99999@aliyun4370,cntaobaoa6383150 -cnphpwnd99999@aliyun4371,cntaobaoa63850735 -cnphpwnd99999@aliyun4372,cntaobaoa639788 -cnphpwnd99999@aliyun4373,cntaobaoa640521 -cnphpwnd99999@aliyun4374,cntaobaoa6424325 -cnphpwnd99999@aliyun4375,cntaobaoa64255576 -cnphpwnd99999@aliyun4376,cntaobaoa64261895 -cnphpwnd99999@aliyun4377,cntaobaoa64502387 -cnphpwnd99999@aliyun4378,cntaobaoa64708643 -cnphpwnd99999@aliyun4379,cntaobaoa6480 -cnphpwnd99999@aliyun4380,cntaobaoa6505236 -cnphpwnd99999@aliyun4381,cntaobaoa6508142 -cnphpwnd99999@aliyun4382,cntaobaoa65185751 -cnphpwnd99999@aliyun4383,cntaobaoa6521522 -cnphpwnd99999@aliyun4384,cntaobaoa65273098 -cnphpwnd99999@aliyun4385,cntaobaoa6530023 -cnphpwnd99999@aliyun4386,cntaobaoa65338266 -cnphpwnd99999@aliyun4387,cntaobaoa65367286 -cnphpwnd99999@aliyun4388,cntaobaoa65423286 -cnphpwnd99999@aliyun4389,cntaobaoa654281788 -cnphpwnd99999@aliyun4390,cntaobaoa65468722 -cnphpwnd99999@aliyun4391,cntaobaoa65505711 -cnphpwnd99999@aliyun4392,cntaobaoa6551825 -cnphpwnd99999@aliyun4393,cntaobaoa65527891 -cnphpwnd99999@aliyun4394,cntaobaoa65530820 -cnphpwnd99999@aliyun4395,cntaobaoa6553969 -cnphpwnd99999@aliyun4396,cntaobaoa6559365 -cnphpwnd99999@aliyun4397,cntaobaoa6565585 -cnphpwnd99999@aliyun4398,cntaobaoa65656654 -cnphpwnd99999@aliyun4399,cntaobaoa65671149 -cnphpwnd99999@aliyun4400,cntaobaoa65820626 -cnphpwnd99999@aliyun4401,cntaobaoa65963958 -cnphpwnd99999@aliyun4402,cntaobaoa66031591 -cnphpwnd99999@aliyun4403,cntaobaoa66112313 -cnphpwnd99999@aliyun4404,cntaobaoa66186 -cnphpwnd99999@aliyun4405,cntaobaoa6619158 -cnphpwnd99999@aliyun4406,cntaobaoa6621729 -cnphpwnd99999@aliyun4407,cntaobaoa66245 -cnphpwnd99999@aliyun4408,cntaobaoa662697 -cnphpwnd99999@aliyun4409,cntaobaoa66311004 -cnphpwnd99999@aliyun4410,cntaobaoa6640213 -cnphpwnd99999@aliyun4411,cntaobaoa6640232 -cnphpwnd99999@aliyun4412,cntaobaoa66602093 -cnphpwnd99999@aliyun4413,cntaobaoa66638487 -cnphpwnd99999@aliyun4414,cntaobaoa66665198 -cnphpwnd99999@aliyun4415,cntaobaoa667 -cnphpwnd99999@aliyun4416,cntaobaoa6689 -cnphpwnd99999@aliyun4417,cntaobaoa6690692 -cnphpwnd99999@aliyun4418,cntaobaoa6694 -cnphpwnd99999@aliyun4419,cntaobaoa6695764 -cnphpwnd99999@aliyun4420,cntaobaoa669684855 -cnphpwnd99999@aliyun4421,cntaobaoa67458564 -cnphpwnd99999@aliyun4422,cntaobaoa6754518 -cnphpwnd99999@aliyun4423,cntaobaoa6761340 -cnphpwnd99999@aliyun4424,cntaobaoa67735645 -cnphpwnd99999@aliyun4425,cntaobaoa67863197 -cnphpwnd99999@aliyun4426,cntaobaoa6802213 -cnphpwnd99999@aliyun4427,cntaobaoa680563 -cnphpwnd99999@aliyun4428,cntaobaoa68182876_15 -cnphpwnd99999@aliyun4429,cntaobaoa6822678 -cnphpwnd99999@aliyun4430,cntaobaoa6831268 -cnphpwnd99999@aliyun4431,cntaobaoa6835720 -cnphpwnd99999@aliyun4432,cntaobaoa68432943 -cnphpwnd99999@aliyun4433,cntaobaoa68515197 -cnphpwnd99999@aliyun4434,cntaobaoa6868_0 -cnphpwnd99999@aliyun4435,cntaobaoa6869837 -cnphpwnd99999@aliyun4436,cntaobaoa68908957 -cnphpwnd99999@aliyun4437,cntaobaoa68a -cnphpwnd99999@aliyun4438,cntaobaoa6927337 -cnphpwnd99999@aliyun4439,cntaobaoa6964809 -cnphpwnd99999@aliyun4440,cntaobaoa6965288 -cnphpwnd99999@aliyun4441,cntaobaoa69666223 -cnphpwnd99999@aliyun4442,cntaobaoa6987869 -cnphpwnd99999@aliyun4443,cntaobaoa6_2005 -cnphpwnd99999@aliyun4444,cntaobaoa6a6a6a6a6a6 -cnphpwnd99999@aliyun4445,cntaobaoa6bm -cnphpwnd99999@aliyun4446,cntaobaoa6dj2j7g8 -cnphpwnd99999@aliyun4447,cntaobaoa6z8 -cnphpwnd99999@aliyun4448,cntaobaoa700108479 -cnphpwnd99999@aliyun4449,cntaobaoa7032034 -cnphpwnd99999@aliyun4450,cntaobaoa7051156 -cnphpwnd99999@aliyun4451,cntaobaoa7052203 -cnphpwnd99999@aliyun4452,cntaobaoa7063839 -cnphpwnd99999@aliyun4453,cntaobaoa70839098110 -cnphpwnd99999@aliyun4454,cntaobaoa7088 -cnphpwnd99999@aliyun4455,cntaobaoa70985132 -cnphpwnd99999@aliyun4456,cntaobaoa711828 -cnphpwnd99999@aliyun4457,cntaobaoa7123865 -cnphpwnd99999@aliyun4458,cntaobaoa71431710 -cnphpwnd99999@aliyun4459,cntaobaoa7148009 -cnphpwnd99999@aliyun4460,cntaobaoa71608public2 -cnphpwnd99999@aliyun4461,cntaobaoa716625 -cnphpwnd99999@aliyun4462,cntaobaoa7195813 -cnphpwnd99999@aliyun4463,cntaobaoa7204 -cnphpwnd99999@aliyun4464,cntaobaoa7204205 -cnphpwnd99999@aliyun4465,cntaobaoa7233610 -cnphpwnd99999@aliyun4466,cntaobaoa7235016 -cnphpwnd99999@aliyun4467,cntaobaoa7256506 -cnphpwnd99999@aliyun4468,cntaobaoa7285877 -cnphpwnd99999@aliyun4469,cntaobaoa7288486 -cnphpwnd99999@aliyun4470,cntaobaoa735907088 -cnphpwnd99999@aliyun4471,cntaobaoa736523263 -cnphpwnd99999@aliyun4472,cntaobaoa7372098 -cnphpwnd99999@aliyun4473,cntaobaoa7373 -cnphpwnd99999@aliyun4474,cntaobaoa7393768 -cnphpwnd99999@aliyun4475,cntaobaoa7398 -cnphpwnd99999@aliyun4476,cntaobaoa740911 -cnphpwnd99999@aliyun4477,cntaobaoa74122011 -cnphpwnd99999@aliyun4478,cntaobaoa7423344 -cnphpwnd99999@aliyun4479,cntaobaoa7444602 -cnphpwnd99999@aliyun4480,cntaobaoa7470002 -cnphpwnd99999@aliyun4481,cntaobaoa7493a -cnphpwnd99999@aliyun4482,cntaobaoa7516762 -cnphpwnd99999@aliyun4483,cntaobaoa753951852456 -cnphpwnd99999@aliyun4484,cntaobaoa7547232 -cnphpwnd99999@aliyun4485,cntaobaoa7551391 -cnphpwnd99999@aliyun4486,cntaobaoa7554815 -cnphpwnd99999@aliyun4487,cntaobaoa756740 -cnphpwnd99999@aliyun4488,cntaobaoa7578137 -cnphpwnd99999@aliyun4489,cntaobaoa75909015 -cnphpwnd99999@aliyun4490,cntaobaoa759166 -cnphpwnd99999@aliyun4491,cntaobaoa76031227 -cnphpwnd99999@aliyun4492,cntaobaoa760727.88 -cnphpwnd99999@aliyun4493,cntaobaoa761224 -cnphpwnd99999@aliyun4494,cntaobaoa7613898 -cnphpwnd99999@aliyun4495,cntaobaoa7627632 -cnphpwnd99999@aliyun4496,cntaobaoa7641034 -cnphpwnd99999@aliyun4497,cntaobaoa7641998 -cnphpwnd99999@aliyun4498,cntaobaoa7676413 -cnphpwnd99999@aliyun4499,cntaobaoa7685935 -cnphpwnd99999@aliyun4500,cntaobaoa7689281 -cnphpwnd99999@aliyun4501,cntaobaoa76b11c02 -cnphpwnd99999@aliyun4502,cntaobaoa770520 -cnphpwnd99999@aliyun4503,cntaobaoa77089 -cnphpwnd99999@aliyun4504,cntaobaoa7712805 -cnphpwnd99999@aliyun4505,cntaobaoa7712977 -cnphpwnd99999@aliyun4506,cntaobaoa77156078 -cnphpwnd99999@aliyun4507,cntaobaoa7720865 -cnphpwnd99999@aliyun4508,cntaobaoa772939 -cnphpwnd99999@aliyun4509,cntaobaoa77605492 -cnphpwnd99999@aliyun4510,cntaobaoa7762759 -cnphpwnd99999@aliyun4511,cntaobaoa7765002 -cnphpwnd99999@aliyun4512,cntaobaoa77707067 -cnphpwnd99999@aliyun4513,cntaobaoa7776700 -cnphpwnd99999@aliyun4514,cntaobaoa7788456108 -cnphpwnd99999@aliyun4515,cntaobaoa7788618 -cnphpwnd99999@aliyun4516,cntaobaoa7788kelly -cnphpwnd99999@aliyun4517,cntaobaoa7790955 -cnphpwnd99999@aliyun4518,cntaobaoa7796501 -cnphpwnd99999@aliyun4519,cntaobaoa77n6n26 -cnphpwnd99999@aliyun4520,cntaobaoa7803460 -cnphpwnd99999@aliyun4521,cntaobaoa78117 -cnphpwnd99999@aliyun4522,cntaobaoa7813312 -cnphpwnd99999@aliyun4523,cntaobaoa7822222 -cnphpwnd99999@aliyun4524,cntaobaoa785758 -cnphpwnd99999@aliyun4525,cntaobaoa786151 -cnphpwnd99999@aliyun4526,cntaobaoa7872991 -cnphpwnd99999@aliyun4527,cntaobaoa7875647 -cnphpwnd99999@aliyun4528,cntaobaoa78906105 -cnphpwnd99999@aliyun4529,cntaobaoa7899757 -cnphpwnd99999@aliyun4530,cntaobaoa79022553 -cnphpwnd99999@aliyun4531,cntaobaoa79022553o -cnphpwnd99999@aliyun4532,cntaobaoa790517 -cnphpwnd99999@aliyun4533,cntaobaoa79070020 -cnphpwnd99999@aliyun4534,cntaobaoa791127 -cnphpwnd99999@aliyun4535,cntaobaoa791206 -cnphpwnd99999@aliyun4536,cntaobaoa791223 -cnphpwnd99999@aliyun4537,cntaobaoa79245310 -cnphpwnd99999@aliyun4538,cntaobaoa7932789 -cnphpwnd99999@aliyun4539,cntaobaoa7958646 -cnphpwnd99999@aliyun4540,cntaobaoa7971377 -cnphpwnd99999@aliyun4541,cntaobaoa7984543 -cnphpwnd99999@aliyun4542,cntaobaoa79951100 -cnphpwnd99999@aliyun4543,cntaobaoa7b017 -cnphpwnd99999@aliyun4544,cntaobaoa7fly -cnphpwnd99999@aliyun4545,cntaobaoa7n8x -cnphpwnd99999@aliyun4546,cntaobaoa7v600 -cnphpwnd99999@aliyun4547,cntaobaoa7w_data4 -cnphpwnd99999@aliyun4548,cntaobaoa7ye16 -cnphpwnd99999@aliyun4549,cntaobaoa7zmf -cnphpwnd99999@aliyun4550,cntaobaoa80047044 -cnphpwnd99999@aliyun4551,cntaobaoa801120800 -cnphpwnd99999@aliyun4552,cntaobaoa80188 -cnphpwnd99999@aliyun4553,cntaobaoa8022022 -cnphpwnd99999@aliyun4554,cntaobaoa80221915 -cnphpwnd99999@aliyun4555,cntaobaoa8040540 -cnphpwnd99999@aliyun4556,cntaobaoa80411 -cnphpwnd99999@aliyun4557,cntaobaoa80548068 -cnphpwnd99999@aliyun4558,cntaobaoa80651332 -cnphpwnd99999@aliyun4559,cntaobaoa8096 -cnphpwnd99999@aliyun4560,cntaobaoa8097zxy -cnphpwnd99999@aliyun4561,cntaobaoa8100 -cnphpwnd99999@aliyun4562,cntaobaoa81027119 -cnphpwnd99999@aliyun4563,cntaobaoa8102926 -cnphpwnd99999@aliyun4564,cntaobaoa810316 -cnphpwnd99999@aliyun4565,cntaobaoa810527 -cnphpwnd99999@aliyun4566,cntaobaoa8108515 -cnphpwnd99999@aliyun4567,cntaobaoa811 -cnphpwnd99999@aliyun4568,cntaobaoa8110059 -cnphpwnd99999@aliyun4569,cntaobaoa81191457 -cnphpwnd99999@aliyun4570,cntaobaoa812345 -cnphpwnd99999@aliyun4571,cntaobaoa8154 -cnphpwnd99999@aliyun4572,cntaobaoa8181818 -cnphpwnd99999@aliyun4573,cntaobaoa8188 -cnphpwnd99999@aliyun4574,cntaobaoa818w -cnphpwnd99999@aliyun4575,cntaobaoa820010111 -cnphpwnd99999@aliyun4576,cntaobaoa8219912 -cnphpwnd99999@aliyun4577,cntaobaoa822323789 -cnphpwnd99999@aliyun4578,cntaobaoa8223279 -cnphpwnd99999@aliyun4579,cntaobaoa8230894 -cnphpwnd99999@aliyun4580,cntaobaoa8232266 -cnphpwnd99999@aliyun4581,cntaobaoa8243137 -cnphpwnd99999@aliyun4582,cntaobaoa82582233 -cnphpwnd99999@aliyun4583,cntaobaoa825825 -cnphpwnd99999@aliyun4584,cntaobaoa8282018 -cnphpwnd99999@aliyun4585,cntaobaoa82932876 -cnphpwnd99999@aliyun4586,cntaobaoa83058039 -cnphpwnd99999@aliyun4587,cntaobaoa8308353 -cnphpwnd99999@aliyun4588,cntaobaoa831021 -cnphpwnd99999@aliyun4589,cntaobaoa8313201 -cnphpwnd99999@aliyun4590,cntaobaoa8315413 -cnphpwnd99999@aliyun4591,cntaobaoa8329368 -cnphpwnd99999@aliyun4592,cntaobaoa8330523 -cnphpwnd99999@aliyun4593,cntaobaoa83326918 -cnphpwnd99999@aliyun4594,cntaobaoa83327159 -cnphpwnd99999@aliyun4595,cntaobaoa83388557 -cnphpwnd99999@aliyun4596,cntaobaoa8340584 -cnphpwnd99999@aliyun4597,cntaobaoa8345279 -cnphpwnd99999@aliyun4598,cntaobaoa834612 -cnphpwnd99999@aliyun4599,cntaobaoa8352672 -cnphpwnd99999@aliyun4600,cntaobaoa83627993 -cnphpwnd99999@aliyun4601,cntaobaoa83761205 -cnphpwnd99999@aliyun4602,cntaobaoa8382358 -cnphpwnd99999@aliyun4603,cntaobaoa8391658a -cnphpwnd99999@aliyun4604,cntaobaoa83944949 -cnphpwnd99999@aliyun4605,cntaobaoa8394b -cnphpwnd99999@aliyun4606,cntaobaoa840208 -cnphpwnd99999@aliyun4607,cntaobaoa840531 -cnphpwnd99999@aliyun4608,cntaobaoa840929 -cnphpwnd99999@aliyun4609,cntaobaoa84094440 -cnphpwnd99999@aliyun4610,cntaobaoa841009820617 -cnphpwnd99999@aliyun4611,cntaobaoa8413478 -cnphpwnd99999@aliyun4612,cntaobaoa8433571 -cnphpwnd99999@aliyun4613,cntaobaoa84494412 -cnphpwnd99999@aliyun4614,cntaobaoa8457 -cnphpwnd99999@aliyun4615,cntaobaoa84681256 -cnphpwnd99999@aliyun4616,cntaobaoa8476082 -cnphpwnd99999@aliyun4617,cntaobaoa84845343 -cnphpwnd99999@aliyun4618,cntaobaoa8511736 -cnphpwnd99999@aliyun4619,cntaobaoa8515470 -cnphpwnd99999@aliyun4620,cntaobaoa8515750 -cnphpwnd99999@aliyun4621,cntaobaoa85157880 -cnphpwnd99999@aliyun4622,cntaobaoa85195524 -cnphpwnd99999@aliyun4623,cntaobaoa8520 -cnphpwnd99999@aliyun4624,cntaobaoa8525075 -cnphpwnd99999@aliyun4625,cntaobaoa8525555 -cnphpwnd99999@aliyun4626,cntaobaoa8540237 -cnphpwnd99999@aliyun4627,cntaobaoa85551879 -cnphpwnd99999@aliyun4628,cntaobaoa85603100 -cnphpwnd99999@aliyun4629,cntaobaoa8565950 -cnphpwnd99999@aliyun4630,cntaobaoa85660207 -cnphpwnd99999@aliyun4631,cntaobaoa8581106 -cnphpwnd99999@aliyun4632,cntaobaoa85868532 -cnphpwnd99999@aliyun4633,cntaobaoa8588520 -cnphpwnd99999@aliyun4634,cntaobaoa8599590 -cnphpwnd99999@aliyun4635,cntaobaoa860110 -cnphpwnd99999@aliyun4636,cntaobaoa860601 -cnphpwnd99999@aliyun4637,cntaobaoa86067271 -cnphpwnd99999@aliyun4638,cntaobaoa8609650 -cnphpwnd99999@aliyun4639,cntaobaoa8610z -cnphpwnd99999@aliyun4640,cntaobaoa86132287 -cnphpwnd99999@aliyun4641,cntaobaoa86273675 -cnphpwnd99999@aliyun4642,cntaobaoa8627476 -cnphpwnd99999@aliyun4643,cntaobaoa8630129 -cnphpwnd99999@aliyun4644,cntaobaoa8630186 -cnphpwnd99999@aliyun4645,cntaobaoa86452078 -cnphpwnd99999@aliyun4646,cntaobaoa8673512 -cnphpwnd99999@aliyun4647,cntaobaoa86741002 -cnphpwnd99999@aliyun4648,cntaobaoa8681643 -cnphpwnd99999@aliyun4649,cntaobaoa8690182 -cnphpwnd99999@aliyun4650,cntaobaoa86920085 -cnphpwnd99999@aliyun4651,cntaobaoa86921790 -cnphpwnd99999@aliyun4652,cntaobaoa870505 -cnphpwnd99999@aliyun4653,cntaobaoa8711563 -cnphpwnd99999@aliyun4654,cntaobaoa8718439 -cnphpwnd99999@aliyun4655,cntaobaoa87263961 -cnphpwnd99999@aliyun4656,cntaobaoa872672 -cnphpwnd99999@aliyun4657,cntaobaoa874213 -cnphpwnd99999@aliyun4658,cntaobaoa8764 -cnphpwnd99999@aliyun4659,cntaobaoa8765678 -cnphpwnd99999@aliyun4660,cntaobaoa87658765 -cnphpwnd99999@aliyun4661,cntaobaoa8768899 -cnphpwnd99999@aliyun4662,cntaobaoa87728811 -cnphpwnd99999@aliyun4663,cntaobaoa87750530 -cnphpwnd99999@aliyun4664,cntaobaoa87811017 -cnphpwnd99999@aliyun4665,cntaobaoa87872629 -cnphpwnd99999@aliyun4666,cntaobaoa87873314 -cnphpwnd99999@aliyun4667,cntaobaoa8787683 -cnphpwnd99999@aliyun4668,cntaobaoa87955555 -cnphpwnd99999@aliyun4669,cntaobaoa87973603 -cnphpwnd99999@aliyun4670,cntaobaoa87bhga -cnphpwnd99999@aliyun4671,cntaobaoa881105 -cnphpwnd99999@aliyun4672,cntaobaoa88151812 -cnphpwnd99999@aliyun4673,cntaobaoa88163293 -cnphpwnd99999@aliyun4674,cntaobaoa8821520 -cnphpwnd99999@aliyun4675,cntaobaoa882660 -cnphpwnd99999@aliyun4676,cntaobaoa8848luo -cnphpwnd99999@aliyun4677,cntaobaoa8860667 -cnphpwnd99999@aliyun4678,cntaobaoa88661733 -cnphpwnd99999@aliyun4679,cntaobaoa88750966 -cnphpwnd99999@aliyun4680,cntaobaoa88776655 -cnphpwnd99999@aliyun4681,cntaobaoa8877888 -cnphpwnd99999@aliyun4682,cntaobaoa8888188 -cnphpwnd99999@aliyun4683,cntaobaoa88891 -cnphpwnd99999@aliyun4684,cntaobaoa88899901 -cnphpwnd99999@aliyun4685,cntaobaoa888a -cnphpwnd99999@aliyun4686,cntaobaoa8895610 -cnphpwnd99999@aliyun4687,cntaobaoa8895679 -cnphpwnd99999@aliyun4688,cntaobaoa8899b -cnphpwnd99999@aliyun4689,cntaobaoa89121306 -cnphpwnd99999@aliyun4690,cntaobaoa8930677 -cnphpwnd99999@aliyun4691,cntaobaoa8950393 -cnphpwnd99999@aliyun4692,cntaobaoa89658469 -cnphpwnd99999@aliyun4693,cntaobaoa89794014 -cnphpwnd99999@aliyun4694,cntaobaoa89867556 -cnphpwnd99999@aliyun4695,cntaobaoa8993435 -cnphpwnd99999@aliyun4696,cntaobaoa8_ch1 -cnphpwnd99999@aliyun4697,cntaobaoa8b8c888 -cnphpwnd99999@aliyun4698,cntaobaoa8zhang -cnphpwnd99999@aliyun4699,cntaobaoa900425 -cnphpwnd99999@aliyun4700,cntaobaoa90163 -cnphpwnd99999@aliyun4701,cntaobaoa9035411 -cnphpwnd99999@aliyun4702,cntaobaoa903683 -cnphpwnd99999@aliyun4703,cntaobaoa90528 -cnphpwnd99999@aliyun4704,cntaobaoa908 -cnphpwnd99999@aliyun4705,cntaobaoa9090452 -cnphpwnd99999@aliyun4706,cntaobaoa91036 -cnphpwnd99999@aliyun4707,cntaobaoa911aayang -cnphpwnd99999@aliyun4708,cntaobaoa912345 -cnphpwnd99999@aliyun4709,cntaobaoa918666 -cnphpwnd99999@aliyun4710,cntaobaoa919919 -cnphpwnd99999@aliyun4711,cntaobaoa91woodstock -cnphpwnd99999@aliyun4712,cntaobaoa922213 -cnphpwnd99999@aliyun4713,cntaobaoa924 -cnphpwnd99999@aliyun4714,cntaobaoa926232 -cnphpwnd99999@aliyun4715,cntaobaoa94445 -cnphpwnd99999@aliyun4716,cntaobaoa94456038 -cnphpwnd99999@aliyun4717,cntaobaoa95586116 -cnphpwnd99999@aliyun4718,cntaobaoa955888 -cnphpwnd99999@aliyun4719,cntaobaoa95678131 -cnphpwnd99999@aliyun4720,cntaobaoa95726612 -cnphpwnd99999@aliyun4721,cntaobaoa95894808 -cnphpwnd99999@aliyun4722,cntaobaoa96010242 -cnphpwnd99999@aliyun4723,cntaobaoa9604635 -cnphpwnd99999@aliyun4724,cntaobaoa961885 -cnphpwnd99999@aliyun4725,cntaobaoa96258 -cnphpwnd99999@aliyun4726,cntaobaoa963258741 -cnphpwnd99999@aliyun4727,cntaobaoa9640227 -cnphpwnd99999@aliyun4728,cntaobaoa9696966 -cnphpwnd99999@aliyun4729,cntaobaoa9699 -cnphpwnd99999@aliyun4730,cntaobaoa97770388 -cnphpwnd99999@aliyun4731,cntaobaoa97net -cnphpwnd99999@aliyun4732,cntaobaoa981003 -cnphpwnd99999@aliyun4733,cntaobaoa9812964 -cnphpwnd99999@aliyun4734,cntaobaoa983200 -cnphpwnd99999@aliyun4735,cntaobaoa984623 -cnphpwnd99999@aliyun4736,cntaobaoa98617 -cnphpwnd99999@aliyun4737,cntaobaoa9876jun -cnphpwnd99999@aliyun4738,cntaobaoa988520 -cnphpwnd99999@aliyun4739,cntaobaoa9898998m -cnphpwnd99999@aliyun4740,cntaobaoa990529 -cnphpwnd99999@aliyun4741,cntaobaoa9911103 -cnphpwnd99999@aliyun4742,cntaobaoa9912718 -cnphpwnd99999@aliyun4743,cntaobaoa9924185 -cnphpwnd99999@aliyun4744,cntaobaoa995030023 -cnphpwnd99999@aliyun4745,cntaobaoa99508 -cnphpwnd99999@aliyun4746,cntaobaoa995599 -cnphpwnd99999@aliyun4747,cntaobaoa9976099 -cnphpwnd99999@aliyun4748,cntaobaoa99858317 -cnphpwnd99999@aliyun4749,cntaobaoa9993094 -cnphpwnd99999@aliyun4750,cntaobaoa9999 -cnphpwnd99999@aliyun4751,cntaobaoa999999 -cnphpwnd99999@aliyun4752,cntaobaoa999a -cnphpwnd99999@aliyun4753,cntaobaoa9jg9g -cnphpwnd99999@aliyun4754,cntaobaoa9kiss -cnphpwnd99999@aliyun4755,cntaobaoa9wen -cnphpwnd99999@aliyun4756,cntaobaoaDan -cnphpwnd99999@aliyun4757,cntaobaoa_00028 -cnphpwnd99999@aliyun4758,cntaobaoa_0317 -cnphpwnd99999@aliyun4759,cntaobaoa_1301231982 -cnphpwnd99999@aliyun4760,cntaobaoa_163 -cnphpwnd99999@aliyun4761,cntaobaoa_181650998 -cnphpwnd99999@aliyun4762,cntaobaoa_1945 -cnphpwnd99999@aliyun4763,cntaobaoa_283130047 -cnphpwnd99999@aliyun4764,cntaobaoa_2890211 -cnphpwnd99999@aliyun4765,cntaobaoa_333a -cnphpwnd99999@aliyun4766,cntaobaoa_380 -cnphpwnd99999@aliyun4767,cntaobaoa_3x55oygmya -cnphpwnd99999@aliyun4768,cntaobaoa_5201314 -cnphpwnd99999@aliyun4769,cntaobaoa_741012 -cnphpwnd99999@aliyun4770,cntaobaoa_760102 -cnphpwnd99999@aliyun4771,cntaobaoa_7_l_63t2d6 -cnphpwnd99999@aliyun4772,cntaobaoa_86 -cnphpwnd99999@aliyun4773,cntaobaoa_a3378 -cnphpwnd99999@aliyun4774,cntaobaoa_a_a_a -cnphpwnd99999@aliyun4775,cntaobaoa_avril -cnphpwnd99999@aliyun4776,cntaobaoa_b0742 -cnphpwnd99999@aliyun4777,cntaobaoa_b522 -cnphpwnd99999@aliyun4778,cntaobaoa_b54 -cnphpwnd99999@aliyun4779,cntaobaoa_b_c0001 -cnphpwnd99999@aliyun4780,cntaobaoa_b_c_d_e -cnphpwnd99999@aliyun4781,cntaobaoa_baby -cnphpwnd99999@aliyun4782,cntaobaoa_badman -cnphpwnd99999@aliyun4783,cntaobaoa_ban_ccc -cnphpwnd99999@aliyun4784,cntaobaoa_bao -cnphpwnd99999@aliyun4785,cntaobaoa_beauty -cnphpwnd99999@aliyun4786,cntaobaoa_bee1 -cnphpwnd99999@aliyun4787,cntaobaoa_bj -cnphpwnd99999@aliyun4788,cntaobaoa_bu1009 -cnphpwnd99999@aliyun4789,cntaobaoa_bu55210280 -cnphpwnd99999@aliyun4790,cntaobaoa_cai_2005 -cnphpwnd99999@aliyun4791,cntaobaoa_d_921 -cnphpwnd99999@aliyun4792,cntaobaoa_dai -cnphpwnd99999@aliyun4793,cntaobaoa_deity0712 -cnphpwnd99999@aliyun4794,cntaobaoa_deng05 -cnphpwnd99999@aliyun4795,cntaobaoa_doll -cnphpwnd99999@aliyun4796,cntaobaoa_du168 -cnphpwnd99999@aliyun4797,cntaobaoa_eg428tdofht603n -cnphpwnd99999@aliyun4798,cntaobaoa_f5889 -cnphpwnd99999@aliyun4799,cntaobaoa_fei007 -cnphpwnd99999@aliyun4800,cntaobaoa_flysnow -cnphpwnd99999@aliyun4801,cntaobaoa_fu2001 -cnphpwnd99999@aliyun4802,cntaobaoa_gi -cnphpwnd99999@aliyun4803,cntaobaoa_gillian -cnphpwnd99999@aliyun4804,cntaobaoa_guan -cnphpwnd99999@aliyun4805,cntaobaoa_guang1 -cnphpwnd99999@aliyun4806,cntaobaoa_gui_henhao -cnphpwnd99999@aliyun4807,cntaobaoa_ha -cnphpwnd99999@aliyun4808,cntaobaoa_hjiang -cnphpwnd99999@aliyun4809,cntaobaoa_hu -cnphpwnd99999@aliyun4810,cntaobaoa_hu939 -cnphpwnd99999@aliyun4811,cntaobaoa_ik9_66vr44 -cnphpwnd99999@aliyun4812,cntaobaoa_inverson -cnphpwnd99999@aliyun4813,cntaobaoa_jason_young -cnphpwnd99999@aliyun4814,cntaobaoa_jin0248 -cnphpwnd99999@aliyun4815,cntaobaoa_jjing -cnphpwnd99999@aliyun4816,cntaobaoa_joy -cnphpwnd99999@aliyun4817,cntaobaoa_juan11 -cnphpwnd99999@aliyun4818,cntaobaoa_jue -cnphpwnd99999@aliyun4819,cntaobaoa_jun70 -cnphpwnd99999@aliyun4820,cntaobaoa_kan123 -cnphpwnd99999@aliyun4821,cntaobaoa_ke14 -cnphpwnd99999@aliyun4822,cntaobaoa_kent -cnphpwnd99999@aliyun4823,cntaobaoa_king1000 -cnphpwnd99999@aliyun4824,cntaobaoa_kingwen -cnphpwnd99999@aliyun4825,cntaobaoa_kun -cnphpwnd99999@aliyun4826,cntaobaoa_kwon -cnphpwnd99999@aliyun4827,cntaobaoa_l_i_v_e -cnphpwnd99999@aliyun4828,cntaobaoa_lang81 -cnphpwnd99999@aliyun4829,cntaobaoa_lean -cnphpwnd99999@aliyun4830,cntaobaoa_lei -cnphpwnd99999@aliyun4831,cntaobaoa_li88 -cnphpwnd99999@aliyun4832,cntaobaoa_ling52225 -cnphpwnd99999@aliyun4833,cntaobaoa_lio1982 -cnphpwnd99999@aliyun4834,cntaobaoa_littleboy -cnphpwnd99999@aliyun4835,cntaobaoa_liu1982 -cnphpwnd99999@aliyun4836,cntaobaoa_lj -cnphpwnd99999@aliyun4837,cntaobaoa_long_a12b3 -cnphpwnd99999@aliyun4838,cntaobaoa_lou -cnphpwnd99999@aliyun4839,cntaobaoa_lu -cnphpwnd99999@aliyun4840,cntaobaoa_m_chen -cnphpwnd99999@aliyun4841,cntaobaoa_m_y_yang -cnphpwnd99999@aliyun4842,cntaobaoa_man2004 -cnphpwnd99999@aliyun4843,cntaobaoa_man_da -cnphpwnd99999@aliyun4844,cntaobaoa_mandy -cnphpwnd99999@aliyun4845,cntaobaoa_mei_mei -cnphpwnd99999@aliyun4846,cntaobaoa_melody88 -cnphpwnd99999@aliyun4847,cntaobaoa_meng94_2 -cnphpwnd99999@aliyun4848,cntaobaoa_meng971119 -cnphpwnd99999@aliyun4849,cntaobaoa_miao -cnphpwnd99999@aliyun4850,cntaobaoa_miaocn -cnphpwnd99999@aliyun4851,cntaobaoa_milk -cnphpwnd99999@aliyun4852,cntaobaoa_mm -cnphpwnd99999@aliyun4853,cntaobaoa_moon_2005 -cnphpwnd99999@aliyun4854,cntaobaoa_mu -cnphpwnd99999@aliyun4855,cntaobaoa_mu_mu -cnphpwnd99999@aliyun4856,cntaobaoa_niceboy -cnphpwnd99999@aliyun4857,cntaobaoa_nin -cnphpwnd99999@aliyun4858,cntaobaoa_o_e -cnphpwnd99999@aliyun4859,cntaobaoa_one1986 -cnphpwnd99999@aliyun4860,cntaobaoa_one_costume -cnphpwnd99999@aliyun4861,cntaobaoa_ping -cnphpwnd99999@aliyun4862,cntaobaoa_qiao -cnphpwnd99999@aliyun4863,cntaobaoa_qiao1 -cnphpwnd99999@aliyun4864,cntaobaoa_qiming -cnphpwnd99999@aliyun4865,cntaobaoa_rain115 -cnphpwnd99999@aliyun4866,cntaobaoa_red_sky -cnphpwnd99999@aliyun4867,cntaobaoa_ren -cnphpwnd99999@aliyun4868,cntaobaoa_rock -cnphpwnd99999@aliyun4869,cntaobaoa_run79 -cnphpwnd99999@aliyun4870,cntaobaoa_sammi0823 -cnphpwnd99999@aliyun4871,cntaobaoa_sao -cnphpwnd99999@aliyun4872,cntaobaoa_shang -cnphpwnd99999@aliyun4873,cntaobaoa_shanren -cnphpwnd99999@aliyun4874,cntaobaoa_shen -cnphpwnd99999@aliyun4875,cntaobaoa_shi -cnphpwnd99999@aliyun4876,cntaobaoa_shmily -cnphpwnd99999@aliyun4877,cntaobaoa_shy_cat -cnphpwnd99999@aliyun4878,cntaobaoa_sir -cnphpwnd99999@aliyun4879,cntaobaoa_song1 -cnphpwnd99999@aliyun4880,cntaobaoa_star05 -cnphpwnd99999@aliyun4881,cntaobaoa_sue -cnphpwnd99999@aliyun4882,cntaobaoa_sue1984 -cnphpwnd99999@aliyun4883,cntaobaoa_t_f -cnphpwnd99999@aliyun4884,cntaobaoa_tao -cnphpwnd99999@aliyun4885,cntaobaoa_topy -cnphpwnd99999@aliyun4886,cntaobaoa_tu747 -cnphpwnd99999@aliyun4887,cntaobaoa_utumn -cnphpwnd99999@aliyun4888,cntaobaoa_way -cnphpwnd99999@aliyun4889,cntaobaoa_wei55665566 -cnphpwnd99999@aliyun4890,cntaobaoa_wei80 -cnphpwnd99999@aliyun4891,cntaobaoa_wei821205 -cnphpwnd99999@aliyun4892,cntaobaoa_wing_allen -cnphpwnd99999@aliyun4893,cntaobaoa_wyj -cnphpwnd99999@aliyun4894,cntaobaoa_xiao211840 -cnphpwnd99999@aliyun4895,cntaobaoa_xiaoaqi -cnphpwnd99999@aliyun4896,cntaobaoa_xiayuan -cnphpwnd99999@aliyun4897,cntaobaoa_xiba -cnphpwnd99999@aliyun4898,cntaobaoa_xing120 -cnphpwnd99999@aliyun4899,cntaobaoa_xixi -cnphpwnd99999@aliyun4900,cntaobaoa_xuanxuan -cnphpwnd99999@aliyun4901,cntaobaoa_xybb -cnphpwnd99999@aliyun4902,cntaobaoa_y1986 -cnphpwnd99999@aliyun4903,cntaobaoa_y3o26t74my -cnphpwnd99999@aliyun4904,cntaobaoa_ya -cnphpwnd99999@aliyun4905,cntaobaoa_yo -cnphpwnd99999@aliyun4906,cntaobaoa_yong -cnphpwnd99999@aliyun4907,cntaobaoa_yu0892 -cnphpwnd99999@aliyun4908,cntaobaoa_yuan6688 -cnphpwnd99999@aliyun4909,cntaobaoa_z3855160 -cnphpwnd99999@aliyun4910,cntaobaoa_z_1 -cnphpwnd99999@aliyun4911,cntaobaoa_zcg -cnphpwnd99999@aliyun4912,cntaobaoa_zhe1986727 -cnphpwnd99999@aliyun4913,cntaobaoa_zhe619 -cnphpwnd99999@aliyun4914,cntaobaoa_zheng09 -cnphpwnd99999@aliyun4915,cntaobaoa_zhoutao -cnphpwnd99999@aliyun4916,cntaobaoa_zhu12353 -cnphpwnd99999@aliyun4917,cntaobaoa_zi1106 -cnphpwnd99999@aliyun4918,cntaobaoa_zl1211 -cnphpwnd99999@aliyun4919,cntaobaoaa-joh -cnphpwnd99999@aliyun4920,cntaobaoaa-my -cnphpwnd99999@aliyun4921,cntaobaoaa-peace -cnphpwnd99999@aliyun4922,cntaobaoaa-rugee -cnphpwnd99999@aliyun4923,cntaobaoaa00000aa -cnphpwnd99999@aliyun4924,cntaobaoaa00112 -cnphpwnd99999@aliyun4925,cntaobaoaa0070 -cnphpwnd99999@aliyun4926,cntaobaoaa0072611 -cnphpwnd99999@aliyun4927,cntaobaoaa00788 -cnphpwnd99999@aliyun4928,cntaobaoaa01 -cnphpwnd99999@aliyun4929,cntaobaoaa0115 -cnphpwnd99999@aliyun4930,cntaobaoaa01262005 -cnphpwnd99999@aliyun4931,cntaobaoaa0128 -cnphpwnd99999@aliyun4932,cntaobaoaa0218 -cnphpwnd99999@aliyun4933,cntaobaoaa0505 -cnphpwnd99999@aliyun4934,cntaobaoaa0522 -cnphpwnd99999@aliyun4935,cntaobaoaa07290224 -cnphpwnd99999@aliyun4936,cntaobaoaa080aa -cnphpwnd99999@aliyun4937,cntaobaoaa0peng -cnphpwnd99999@aliyun4938,cntaobaoaa1.1bb -cnphpwnd99999@aliyun4939,cntaobaoaa10008 -cnphpwnd99999@aliyun4940,cntaobaoaa10101 -cnphpwnd99999@aliyun4941,cntaobaoaa1078xmh -cnphpwnd99999@aliyun4942,cntaobaoaa11-233 -cnphpwnd99999@aliyun4943,cntaobaoaa110055 -cnphpwnd99999@aliyun4944,cntaobaoaa111 -cnphpwnd99999@aliyun4945,cntaobaoaa1122qq -cnphpwnd99999@aliyun4946,cntaobaoaa1142aa -cnphpwnd99999@aliyun4947,cntaobaoaa115872114 -cnphpwnd99999@aliyun4948,cntaobaoaa11dd22 -cnphpwnd99999@aliyun4949,cntaobaoaa11xx22 -cnphpwnd99999@aliyun4950,cntaobaoaa121 -cnphpwnd99999@aliyun4951,cntaobaoaa1230 -cnphpwnd99999@aliyun4952,cntaobaoaa12332123 -cnphpwnd99999@aliyun4953,cntaobaoaa1234aa -cnphpwnd99999@aliyun4954,cntaobaoaa123zaa -cnphpwnd99999@aliyun4955,cntaobaoaa13013611778 -cnphpwnd99999@aliyun4956,cntaobaoaa13145200 -cnphpwnd99999@aliyun4957,cntaobaoaa13162549497 -cnphpwnd99999@aliyun4958,cntaobaoaa136508 -cnphpwnd99999@aliyun4959,cntaobaoaa1500 -cnphpwnd99999@aliyun4960,cntaobaoaa166 -cnphpwnd99999@aliyun4961,cntaobaoaa1688aa1 -cnphpwnd99999@aliyun4962,cntaobaoaa1973bb -cnphpwnd99999@aliyun4963,cntaobaoaa1976 -cnphpwnd99999@aliyun4964,cntaobaoaa19772005 -cnphpwnd99999@aliyun4965,cntaobaoaa198204 -cnphpwnd99999@aliyun4966,cntaobaoaa1984aa -cnphpwnd99999@aliyun4967,cntaobaoaa1984wy -cnphpwnd99999@aliyun4968,cntaobaoaa1987- -cnphpwnd99999@aliyun4969,cntaobaoaa198701150 -cnphpwnd99999@aliyun4970,cntaobaoaa198727 -cnphpwnd99999@aliyun4971,cntaobaoaa1997 -cnphpwnd99999@aliyun4972,cntaobaoaa1_a -cnphpwnd99999@aliyun4973,cntaobaoaa1bb2 -cnphpwnd99999@aliyun4974,cntaobaoaa20030101 -cnphpwnd99999@aliyun4975,cntaobaoaa2004974 -cnphpwnd99999@aliyun4976,cntaobaoaa2008 -cnphpwnd99999@aliyun4977,cntaobaoaa2030 -cnphpwnd99999@aliyun4978,cntaobaoaa2059_cn -cnphpwnd99999@aliyun4979,cntaobaoaa21232425 -cnphpwnd99999@aliyun4980,cntaobaoaa2188 -cnphpwnd99999@aliyun4981,cntaobaoaa22 -cnphpwnd99999@aliyun4982,cntaobaoaa25738393 -cnphpwnd99999@aliyun4983,cntaobaoaa2588aa -cnphpwnd99999@aliyun4984,cntaobaoaa2683013 -cnphpwnd99999@aliyun4985,cntaobaoaa2712144 -cnphpwnd99999@aliyun4986,cntaobaoaa271660960 -cnphpwnd99999@aliyun4987,cntaobaoaa271826518 -cnphpwnd99999@aliyun4988,cntaobaoaa2753110 -cnphpwnd99999@aliyun4989,cntaobaoaa277301826 -cnphpwnd99999@aliyun4990,cntaobaoaa283586714 -cnphpwnd99999@aliyun4991,cntaobaoaa2836726 -cnphpwnd99999@aliyun4992,cntaobaoaa2908 -cnphpwnd99999@aliyun4993,cntaobaoaa304041603 -cnphpwnd99999@aliyun4994,cntaobaoaa308124263 -cnphpwnd99999@aliyun4995,cntaobaoaa3100 -cnphpwnd99999@aliyun4996,cntaobaoaa311228 -cnphpwnd99999@aliyun4997,cntaobaoaa3211723 -cnphpwnd99999@aliyun4998,cntaobaoaa3282080 -cnphpwnd99999@aliyun4999,cntaobaoaa333 -cnphpwnd99999@aliyun5000,cntaobaoaa3339010 -cnphpwnd99999@aliyun5001,cntaobaoaa3523262 -cnphpwnd99999@aliyun5002,cntaobaoaa355400 -cnphpwnd99999@aliyun5003,cntaobaoaa362136 -cnphpwnd99999@aliyun5004,cntaobaoaa3721 -cnphpwnd99999@aliyun5005,cntaobaoaa3772 -cnphpwnd99999@aliyun5006,cntaobaoaa3aa3aa3 -cnphpwnd99999@aliyun5007,cntaobaoaa424 -cnphpwnd99999@aliyun5008,cntaobaoaa4311303 -cnphpwnd99999@aliyun5009,cntaobaoaa46 -cnphpwnd99999@aliyun5010,cntaobaoaa4612000 -cnphpwnd99999@aliyun5011,cntaobaoaa4958 -cnphpwnd99999@aliyun5012,cntaobaoaa500 -cnphpwnd99999@aliyun5013,cntaobaoaa511511 -cnphpwnd99999@aliyun5014,cntaobaoaa51385418 -cnphpwnd99999@aliyun5015,cntaobaoaa52 -cnphpwnd99999@aliyun5016,cntaobaoaa5207788 -cnphpwnd99999@aliyun5017,cntaobaoaa530 -cnphpwnd99999@aliyun5018,cntaobaoaa54188000 -cnphpwnd99999@aliyun5019,cntaobaoaa54446 -cnphpwnd99999@aliyun5020,cntaobaoaa5583338 -cnphpwnd99999@aliyun5021,cntaobaoaa56 -cnphpwnd99999@aliyun5022,cntaobaoaa5600955 -cnphpwnd99999@aliyun5023,cntaobaoaa56546464 -cnphpwnd99999@aliyun5024,cntaobaoaa5680209 -cnphpwnd99999@aliyun5025,cntaobaoaa5852799 -cnphpwnd99999@aliyun5026,cntaobaoaa6152 -cnphpwnd99999@aliyun5027,cntaobaoaa6228064 -cnphpwnd99999@aliyun5028,cntaobaoaa6445234 -cnphpwnd99999@aliyun5029,cntaobaoaa6654894 -cnphpwnd99999@aliyun5030,cntaobaoaa6682681 -cnphpwnd99999@aliyun5031,cntaobaoaa66bb66 -cnphpwnd99999@aliyun5032,cntaobaoaa6856284 -cnphpwnd99999@aliyun5033,cntaobaoaa70653130 -cnphpwnd99999@aliyun5034,cntaobaoaa72152177529911 -cnphpwnd99999@aliyun5035,cntaobaoaa731731 -cnphpwnd99999@aliyun5036,cntaobaoaa753753 -cnphpwnd99999@aliyun5037,cntaobaoaa7569889 -cnphpwnd99999@aliyun5038,cntaobaoaa7766310 -cnphpwnd99999@aliyun5039,cntaobaoaa7788 -cnphpwnd99999@aliyun5040,cntaobaoaa77905 -cnphpwnd99999@aliyun5041,cntaobaoaa77k -cnphpwnd99999@aliyun5042,cntaobaoaa780701 -cnphpwnd99999@aliyun5043,cntaobaoaa78421665 -cnphpwnd99999@aliyun5044,cntaobaoaa800208 -cnphpwnd99999@aliyun5045,cntaobaoaa8025 -cnphpwnd99999@aliyun5046,cntaobaoaa817 -cnphpwnd99999@aliyun5047,cntaobaoaa8196071 -cnphpwnd99999@aliyun5048,cntaobaoaa8295161 -cnphpwnd99999@aliyun5049,cntaobaoaa8369942 -cnphpwnd99999@aliyun5050,cntaobaoaa83886684 -cnphpwnd99999@aliyun5051,cntaobaoaa8466333 -cnphpwnd99999@aliyun5052,cntaobaoaa85954319 -cnphpwnd99999@aliyun5053,cntaobaoaa8633 -cnphpwnd99999@aliyun5054,cntaobaoaa8640 -cnphpwnd99999@aliyun5055,cntaobaoaa8685703 -cnphpwnd99999@aliyun5056,cntaobaoaa8801 -cnphpwnd99999@aliyun5057,cntaobaoaa882255h -cnphpwnd99999@aliyun5058,cntaobaoaa8843 -cnphpwnd99999@aliyun5059,cntaobaoaa88520 -cnphpwnd99999@aliyun5060,cntaobaoaa8859 -cnphpwnd99999@aliyun5061,cntaobaoaa8888888888 -cnphpwnd99999@aliyun5062,cntaobaoaa88990 -cnphpwnd99999@aliyun5063,cntaobaoaa8951 -cnphpwnd99999@aliyun5064,cntaobaoaa89813 -cnphpwnd99999@aliyun5065,cntaobaoaa92k -cnphpwnd99999@aliyun5066,cntaobaoaa9374 -cnphpwnd99999@aliyun5067,cntaobaoaa977173 -cnphpwnd99999@aliyun5068,cntaobaoaa983095 -cnphpwnd99999@aliyun5069,cntaobaoaa98585 -cnphpwnd99999@aliyun5070,cntaobaoaa989600 -cnphpwnd99999@aliyun5071,cntaobaoaa999 -cnphpwnd99999@aliyun5072,cntaobaoaa9bc2000 -cnphpwnd99999@aliyun5073,cntaobaoaa_2046 -cnphpwnd99999@aliyun5074,cntaobaoaa_831020 -cnphpwnd99999@aliyun5075,cntaobaoaa_aa_aa -cnphpwnd99999@aliyun5076,cntaobaoaa_angela -cnphpwnd99999@aliyun5077,cntaobaoaa_bb_cc -cnphpwnd99999@aliyun5078,cntaobaoaa_ling -cnphpwnd99999@aliyun5079,cntaobaoaa_niu -cnphpwnd99999@aliyun5080,cntaobaoaa_ssxw -cnphpwnd99999@aliyun5081,cntaobaoaa_x4x -cnphpwnd99999@aliyun5082,cntaobaoaa_zhang19850522 -cnphpwnd99999@aliyun5083,cntaobaoaaa-235 -cnphpwnd99999@aliyun5084,cntaobaoaaa-666 -cnphpwnd99999@aliyun5085,cntaobaoaaa-aaa- -cnphpwnd99999@aliyun5086,cntaobaoaaa-aaa-aaa -cnphpwnd99999@aliyun5087,cntaobaoaaa.ik8 -cnphpwnd99999@aliyun5088,cntaobaoaaa000 -cnphpwnd99999@aliyun5089,cntaobaoaaa0001 -cnphpwnd99999@aliyun5090,cntaobaoaaa006 -cnphpwnd99999@aliyun5091,cntaobaoaaa00aaa -cnphpwnd99999@aliyun5092,cntaobaoaaa019 -cnphpwnd99999@aliyun5093,cntaobaoaaa0359 -cnphpwnd99999@aliyun5094,cntaobaoaaa0398657 -cnphpwnd99999@aliyun5095,cntaobaoaaa050 -cnphpwnd99999@aliyun5096,cntaobaoaaa100520 -cnphpwnd99999@aliyun5097,cntaobaoaaa100839 -cnphpwnd99999@aliyun5098,cntaobaoaaa1015610156 -cnphpwnd99999@aliyun5099,cntaobaoaaa1105 -cnphpwnd99999@aliyun5100,cntaobaoaaa111bbb222 -cnphpwnd99999@aliyun5101,cntaobaoaaa111huihui -cnphpwnd99999@aliyun5102,cntaobaoaaa112236 -cnphpwnd99999@aliyun5103,cntaobaoaaa11_2005 -cnphpwnd99999@aliyun5104,cntaobaoaaa1212810716 -cnphpwnd99999@aliyun5105,cntaobaoaaa1215abcd -cnphpwnd99999@aliyun5106,cntaobaoaaa122 -cnphpwnd99999@aliyun5107,cntaobaoaaa122333 -cnphpwnd99999@aliyun5108,cntaobaoaaa122xx -cnphpwnd99999@aliyun5109,cntaobaoaaa123277 -cnphpwnd99999@aliyun5110,cntaobaoaaa1234 -cnphpwnd99999@aliyun5111,cntaobaoaaa1234567._ -cnphpwnd99999@aliyun5112,cntaobaoaaa123523848 -cnphpwnd99999@aliyun5113,cntaobaoaaa1236321 -cnphpwnd99999@aliyun5114,cntaobaoaaa127885 -cnphpwnd99999@aliyun5115,cntaobaoaaa1344431 -cnphpwnd99999@aliyun5116,cntaobaoaaa13517973020 -cnphpwnd99999@aliyun5117,cntaobaoaaa144509 -cnphpwnd99999@aliyun5118,cntaobaoaaa150442 -cnphpwnd99999@aliyun5119,cntaobaoaaa1520 -cnphpwnd99999@aliyun5120,cntaobaoaaa160 -cnphpwnd99999@aliyun5121,cntaobaoaaa163234 -cnphpwnd99999@aliyun5122,cntaobaoaaa1681 -cnphpwnd99999@aliyun5123,cntaobaoaaa1682004 -cnphpwnd99999@aliyun5124,cntaobaoaaa1688 -cnphpwnd99999@aliyun5125,cntaobaoaaa191330804 -cnphpwnd99999@aliyun5126,cntaobaoaaa1959bbb -cnphpwnd99999@aliyun5127,cntaobaoaaa1984aa -cnphpwnd99999@aliyun5128,cntaobaoaaa19850 -cnphpwnd99999@aliyun5129,cntaobaoaaa19861006 -cnphpwnd99999@aliyun5130,cntaobaoaaa2000 -cnphpwnd99999@aliyun5131,cntaobaoaaa20020816 -cnphpwnd99999@aliyun5132,cntaobaoaaa206054 -cnphpwnd99999@aliyun5133,cntaobaoaaa20688 -cnphpwnd99999@aliyun5134,cntaobaoaaa2685886 -cnphpwnd99999@aliyun5135,cntaobaoaaa2696 -cnphpwnd99999@aliyun5136,cntaobaoaaa2727 -cnphpwnd99999@aliyun5137,cntaobaoaaa2883616 -cnphpwnd99999@aliyun5138,cntaobaoaaa2902 -cnphpwnd99999@aliyun5139,cntaobaoaaa29683418 -cnphpwnd99999@aliyun5140,cntaobaoaaa3095 -cnphpwnd99999@aliyun5141,cntaobaoaaa313 -cnphpwnd99999@aliyun5142,cntaobaoaaa31577 -cnphpwnd99999@aliyun5143,cntaobaoaaa320320 -cnphpwnd99999@aliyun5144,cntaobaoaaa33867233 -cnphpwnd99999@aliyun5145,cntaobaoaaa34501 -cnphpwnd99999@aliyun5146,cntaobaoaaa3472 -cnphpwnd99999@aliyun5147,cntaobaoaaa3479035 -cnphpwnd99999@aliyun5148,cntaobaoaaa358813616 -cnphpwnd99999@aliyun5149,cntaobaoaaa3888 -cnphpwnd99999@aliyun5150,cntaobaoaaa3890 -cnphpwnd99999@aliyun5151,cntaobaoaaa398988966 -cnphpwnd99999@aliyun5152,cntaobaoaaa3a -cnphpwnd99999@aliyun5153,cntaobaoaaa44944 -cnphpwnd99999@aliyun5154,cntaobaoaaa4701 -cnphpwnd99999@aliyun5155,cntaobaoaaa5 -cnphpwnd99999@aliyun5156,cntaobaoaaa5050 -cnphpwnd99999@aliyun5157,cntaobaoaaa515 -cnphpwnd99999@aliyun5158,cntaobaoaaa519082005 -cnphpwnd99999@aliyun5159,cntaobaoaaa520365 -cnphpwnd99999@aliyun5160,cntaobaoaaa52063 -cnphpwnd99999@aliyun5161,cntaobaoaaa555168 -cnphpwnd99999@aliyun5162,cntaobaoaaa5610662 -cnphpwnd99999@aliyun5163,cntaobaoaaa5672853 -cnphpwnd99999@aliyun5164,cntaobaoaaa5851 -cnphpwnd99999@aliyun5165,cntaobaoaaa6565 -cnphpwnd99999@aliyun5166,cntaobaoaaa6625206 -cnphpwnd99999@aliyun5167,cntaobaoaaa666111 -cnphpwnd99999@aliyun5168,cntaobaoaaa6860633 -cnphpwnd99999@aliyun5169,cntaobaoaaa6969 -cnphpwnd99999@aliyun5170,cntaobaoaaa721239 -cnphpwnd99999@aliyun5171,cntaobaoaaa7232550 -cnphpwnd99999@aliyun5172,cntaobaoaaa7386556 -cnphpwnd99999@aliyun5173,cntaobaoaaa761215 -cnphpwnd99999@aliyun5174,cntaobaoaaa7614951 -cnphpwnd99999@aliyun5175,cntaobaoaaa7697877 -cnphpwnd99999@aliyun5176,cntaobaoaaa770113 -cnphpwnd99999@aliyun5177,cntaobaoaaa77970 -cnphpwnd99999@aliyun5178,cntaobaoaaa78987 -cnphpwnd99999@aliyun5179,cntaobaoaaa789aaa -cnphpwnd99999@aliyun5180,cntaobaoaaa790202 -cnphpwnd99999@aliyun5181,cntaobaoaaa803856 -cnphpwnd99999@aliyun5182,cntaobaoaaa825 -cnphpwnd99999@aliyun5183,cntaobaoaaa8324 -cnphpwnd99999@aliyun5184,cntaobaoaaa8365 -cnphpwnd99999@aliyun5185,cntaobaoaaa84 -cnphpwnd99999@aliyun5186,cntaobaoaaa870311 -cnphpwnd99999@aliyun5187,cntaobaoaaa87119734 -cnphpwnd99999@aliyun5188,cntaobaoaaa888 -cnphpwnd99999@aliyun5189,cntaobaoaaa888444 -cnphpwnd99999@aliyun5190,cntaobaoaaa8888 -cnphpwnd99999@aliyun5191,cntaobaoaaa88974597 -cnphpwnd99999@aliyun5192,cntaobaoaaa898 -cnphpwnd99999@aliyun5193,cntaobaoaaa904490 -cnphpwnd99999@aliyun5194,cntaobaoaaa988 -cnphpwnd99999@aliyun5195,cntaobaoaaa998 -cnphpwnd99999@aliyun5196,cntaobaoaaa99906 -cnphpwnd99999@aliyun5197,cntaobaoaaa9999 -cnphpwnd99999@aliyun5198,cntaobaoaaa999vvv -cnphpwnd99999@aliyun5199,cntaobaoaaa_002 -cnphpwnd99999@aliyun5200,cntaobaoaaa_06 -cnphpwnd99999@aliyun5201,cntaobaoaaa_111 -cnphpwnd99999@aliyun5202,cntaobaoaaa_1997a -cnphpwnd99999@aliyun5203,cntaobaoaaa_511_0 -cnphpwnd99999@aliyun5204,cntaobaoaaa_a_11 -cnphpwnd99999@aliyun5205,cntaobaoaaa_mm_ok2 -cnphpwnd99999@aliyun5206,cntaobaoaaa_mm_ok3 -cnphpwnd99999@aliyun5207,cntaobaoaaa_mm_ok4 -cnphpwnd99999@aliyun5208,cntaobaoaaa_song77 -cnphpwnd99999@aliyun5209,cntaobaoaaaa-e -cnphpwnd99999@aliyun5210,cntaobaoaaaa00001 -cnphpwnd99999@aliyun5211,cntaobaoaaaa008 -cnphpwnd99999@aliyun5212,cntaobaoaaaa04550946 -cnphpwnd99999@aliyun5213,cntaobaoaaaa1111aaaa1111 -cnphpwnd99999@aliyun5214,cntaobaoaaaa111876 -cnphpwnd99999@aliyun5215,cntaobaoaaaa112 -cnphpwnd99999@aliyun5216,cntaobaoaaaa1132 -cnphpwnd99999@aliyun5217,cntaobaoaaaa12 -cnphpwnd99999@aliyun5218,cntaobaoaaaa12345 -cnphpwnd99999@aliyun5219,cntaobaoaaaa1234561 -cnphpwnd99999@aliyun5220,cntaobaoaaaa123qew -cnphpwnd99999@aliyun5221,cntaobaoaaaa13083730089 -cnphpwnd99999@aliyun5222,cntaobaoaaaa1980 -cnphpwnd99999@aliyun5223,cntaobaoaaaa20042004 -cnphpwnd99999@aliyun5224,cntaobaoaaaa2295697 -cnphpwnd99999@aliyun5225,cntaobaoaaaa25845 -cnphpwnd99999@aliyun5226,cntaobaoaaaa2743634 -cnphpwnd99999@aliyun5227,cntaobaoaaaa2aaaa -cnphpwnd99999@aliyun5228,cntaobaoaaaa35 -cnphpwnd99999@aliyun5229,cntaobaoaaaa400 -cnphpwnd99999@aliyun5230,cntaobaoaaaa720115 -cnphpwnd99999@aliyun5231,cntaobaoaaaa7585 -cnphpwnd99999@aliyun5232,cntaobaoaaaa8016 -cnphpwnd99999@aliyun5233,cntaobaoaaaa8828018 -cnphpwnd99999@aliyun5234,cntaobaoaaaa888 -cnphpwnd99999@aliyun5235,cntaobaoaaaa999 -cnphpwnd99999@aliyun5236,cntaobaoaaaa_100 -cnphpwnd99999@aliyun5237,cntaobaoaaaa_918 -cnphpwnd99999@aliyun5238,cntaobaoaaaaa -cnphpwnd99999@aliyun5239,cntaobaoaaaaa00009 -cnphpwnd99999@aliyun5240,cntaobaoaaaaa0011_0 -cnphpwnd99999@aliyun5241,cntaobaoaaaaa1111111 -cnphpwnd99999@aliyun5242,cntaobaoaaaaa1141 -cnphpwnd99999@aliyun5243,cntaobaoaaaaa120 -cnphpwnd99999@aliyun5244,cntaobaoaaaaa12345 -cnphpwnd99999@aliyun5245,cntaobaoaaaaa12345_2005 -cnphpwnd99999@aliyun5246,cntaobaoaaaaa1938 -cnphpwnd99999@aliyun5247,cntaobaoaaaaa1aaaa -cnphpwnd99999@aliyun5248,cntaobaoaaaaa20 -cnphpwnd99999@aliyun5249,cntaobaoaaaaa222 -cnphpwnd99999@aliyun5250,cntaobaoaaaaa2288 -cnphpwnd99999@aliyun5251,cntaobaoaaaaa2b -cnphpwnd99999@aliyun5252,cntaobaoaaaaa308333 -cnphpwnd99999@aliyun5253,cntaobaoaaaaa696 -cnphpwnd99999@aliyun5254,cntaobaoaaaaa8423 -cnphpwnd99999@aliyun5255,cntaobaoaaaaa88 -cnphpwnd99999@aliyun5256,cntaobaoaaaaa89888 -cnphpwnd99999@aliyun5257,cntaobaoaaaaa911 -cnphpwnd99999@aliyun5258,cntaobaoaaaaa_2005_2005_2005 -cnphpwnd99999@aliyun5259,cntaobaoaaaaaa -cnphpwnd99999@aliyun5260,cntaobaoaaaaaa07 -cnphpwnd99999@aliyun5261,cntaobaoaaaaaa1011 -cnphpwnd99999@aliyun5262,cntaobaoaaaaaa110 -cnphpwnd99999@aliyun5263,cntaobaoaaaaaa1229 -cnphpwnd99999@aliyun5264,cntaobaoaaaaaa1_2000 -cnphpwnd99999@aliyun5265,cntaobaoaaaaaa2004 -cnphpwnd99999@aliyun5266,cntaobaoaaaaaa288 -cnphpwnd99999@aliyun5267,cntaobaoaaaaaa323 -cnphpwnd99999@aliyun5268,cntaobaoaaaaaa33 -cnphpwnd99999@aliyun5269,cntaobaoaaaaaa58 -cnphpwnd99999@aliyun5270,cntaobaoaaaaaa6 -cnphpwnd99999@aliyun5271,cntaobaoaaaaaa767 -cnphpwnd99999@aliyun5272,cntaobaoaaaaaa8881 -cnphpwnd99999@aliyun5273,cntaobaoaaaaaa_bbbbbb -cnphpwnd99999@aliyun5274,cntaobaoaaaaaaa -cnphpwnd99999@aliyun5275,cntaobaoaaaaaaa190 -cnphpwnd99999@aliyun5276,cntaobaoaaaaaaa2008 -cnphpwnd99999@aliyun5277,cntaobaoaaaaaaa81 -cnphpwnd99999@aliyun5278,cntaobaoaaaaaaaa0 -cnphpwnd99999@aliyun5279,cntaobaoaaaaaaaa1016 -cnphpwnd99999@aliyun5280,cntaobaoaaaaaaaa29 -cnphpwnd99999@aliyun5281,cntaobaoaaaaaaaa31 -cnphpwnd99999@aliyun5282,cntaobaoaaaaaaaa96 -cnphpwnd99999@aliyun5283,cntaobaoaaaaaaaa_2005 -cnphpwnd99999@aliyun5284,cntaobaoaaaaaaaaa000999 -cnphpwnd99999@aliyun5285,cntaobaoaaaaaaaaa88 -cnphpwnd99999@aliyun5286,cntaobaoaaaaaaaaaa -cnphpwnd99999@aliyun5287,cntaobaoaaaaaaaaaa123123 -cnphpwnd99999@aliyun5288,cntaobaoaaaaaaaaaa123456789 -cnphpwnd99999@aliyun5289,cntaobaoaaaaaaaaaa888888 -cnphpwnd99999@aliyun5290,cntaobaoaaaaaaaaaa_2005_2005 -cnphpwnd99999@aliyun5291,cntaobaoaaaaaaaaaa_www21 -cnphpwnd99999@aliyun5292,cntaobaoaaaaaaaaaaaaa -cnphpwnd99999@aliyun5293,cntaobaoaaaaaaaaaaaaa12345 -cnphpwnd99999@aliyun5294,cntaobaoaaaaaaaaaaaaaaaaaaal -cnphpwnd99999@aliyun5295,cntaobaoaaaaaaaaaas -cnphpwnd99999@aliyun5296,cntaobaoaaaaaaaacccccccc -cnphpwnd99999@aliyun5297,cntaobaoaaaaaaabb1 -cnphpwnd99999@aliyun5298,cntaobaoaaaaaaabemu -cnphpwnd99999@aliyun5299,cntaobaoaaaaaabcde -cnphpwnd99999@aliyun5300,cntaobaoaaaaaaddd -cnphpwnd99999@aliyun5301,cntaobaoaaaaaahhhh -cnphpwnd99999@aliyun5302,cntaobaoaaaaaak -cnphpwnd99999@aliyun5303,cntaobaoaaaaaasss -cnphpwnd99999@aliyun5304,cntaobaoaaaaabbbbbccccc -cnphpwnd99999@aliyun5305,cntaobaoaaaaabc21 -cnphpwnd99999@aliyun5306,cntaobaoaaaaacc -cnphpwnd99999@aliyun5307,cntaobaoaaaaaccccc -cnphpwnd99999@aliyun5308,cntaobaoaaaaadddddd -cnphpwnd99999@aliyun5309,cntaobaoaaaaajia -cnphpwnd99999@aliyun5310,cntaobaoaaaaajylcxw -cnphpwnd99999@aliyun5311,cntaobaoaaaaalichao -cnphpwnd99999@aliyun5312,cntaobaoaaaaaqqqqq -cnphpwnd99999@aliyun5313,cntaobaoaaaaasss88 -cnphpwnd99999@aliyun5314,cntaobaoaaaaassx1 -cnphpwnd99999@aliyun5315,cntaobaoaaaaaswed -cnphpwnd99999@aliyun5316,cntaobaoaaaaazlt -cnphpwnd99999@aliyun5317,cntaobaoaaaabbba -cnphpwnd99999@aliyun5318,cntaobaoaaaabbbbtaotao -cnphpwnd99999@aliyun5319,cntaobaoaaaacd -cnphpwnd99999@aliyun5320,cntaobaoaaaachentao -cnphpwnd99999@aliyun5321,cntaobaoaaaacopy -cnphpwnd99999@aliyun5322,cntaobaoaaaadddd987 -cnphpwnd99999@aliyun5323,cntaobaoaaaaddddd -cnphpwnd99999@aliyun5324,cntaobaoaaaaddddttttpppp -cnphpwnd99999@aliyun5325,cntaobaoaaaaghlai -cnphpwnd99999@aliyun5326,cntaobaoaaaahjl -cnphpwnd99999@aliyun5327,cntaobaoaaaahsh000 -cnphpwnd99999@aliyun5328,cntaobaoaaaahx -cnphpwnd99999@aliyun5329,cntaobaoaaaaid -cnphpwnd99999@aliyun5330,cntaobaoaaaais -cnphpwnd99999@aliyun5331,cntaobaoaaaajjsoijfd22441 -cnphpwnd99999@aliyun5332,cntaobaoaaaajun -cnphpwnd99999@aliyun5333,cntaobaoaaaakkkkawp -cnphpwnd99999@aliyun5334,cntaobaoaaaameimei -cnphpwnd99999@aliyun5335,cntaobaoaaaaname -cnphpwnd99999@aliyun5336,cntaobaoaaaandy -cnphpwnd99999@aliyun5337,cntaobaoaaaaning -cnphpwnd99999@aliyun5338,cntaobaoaaaasddsa -cnphpwnd99999@aliyun5339,cntaobaoaaaasdfghjkl -cnphpwnd99999@aliyun5340,cntaobaoaaaassleon -cnphpwnd99999@aliyun5341,cntaobaoaaaassss123456 -cnphpwnd99999@aliyun5342,cntaobaoaaaattpp -cnphpwnd99999@aliyun5343,cntaobaoaaaawang -cnphpwnd99999@aliyun5344,cntaobaoaaaawe -cnphpwnd99999@aliyun5345,cntaobaoaaaayinshuang -cnphpwnd99999@aliyun5346,cntaobaoaaaaz -cnphpwnd99999@aliyun5347,cntaobaoaaaazzzz98 -cnphpwnd99999@aliyun5348,cntaobaoaaab8190 -cnphpwnd99999@aliyun5349,cntaobaoaaabadboy -cnphpwnd99999@aliyun5350,cntaobaoaaabb532 -cnphpwnd99999@aliyun5351,cntaobaoaaabb882 -cnphpwnd99999@aliyun5352,cntaobaoaaabbb -cnphpwnd99999@aliyun5353,cntaobaoaaabbb1 -cnphpwnd99999@aliyun5354,cntaobaoaaabbb159 -cnphpwnd99999@aliyun5355,cntaobaoaaabbb2 -cnphpwnd99999@aliyun5356,cntaobaoaaabbb2004 -cnphpwnd99999@aliyun5357,cntaobaoaaabbb2228 -cnphpwnd99999@aliyun5358,cntaobaoaaabbb881 -cnphpwnd99999@aliyun5359,cntaobaoaaabbbbcccc -cnphpwnd99999@aliyun5360,cntaobaoaaabbbccc111222333 -cnphpwnd99999@aliyun5361,cntaobaoaaabbbccc12377 -cnphpwnd99999@aliyun5362,cntaobaoaaabbbcccddd -cnphpwnd99999@aliyun5363,cntaobaoaaabbbcccdddd1988 -cnphpwnd99999@aliyun5364,cntaobaoaaabbby -cnphpwnd99999@aliyun5365,cntaobaoaaabbc -cnphpwnd99999@aliyun5366,cntaobaoaaabccc1982 -cnphpwnd99999@aliyun5367,cntaobaoaaabcd456 -cnphpwnd99999@aliyun5368,cntaobaoaaabin -cnphpwnd99999@aliyun5369,cntaobaoaaabook -cnphpwnd99999@aliyun5370,cntaobaoaaabu -cnphpwnd99999@aliyun5371,cntaobaoaaac -cnphpwnd99999@aliyun5372,cntaobaoaaaccc299 -cnphpwnd99999@aliyun5373,cntaobaoaaachian -cnphpwnd99999@aliyun5374,cntaobaoaaacococo -cnphpwnd99999@aliyun5375,cntaobaoaaacomcn -cnphpwnd99999@aliyun5376,cntaobaoaaacw -cnphpwnd99999@aliyun5377,cntaobaoaaadi -cnphpwnd99999@aliyun5378,cntaobaoaaadwd -cnphpwnd99999@aliyun5379,cntaobaoaaafeng -cnphpwnd99999@aliyun5380,cntaobaoaaaffaaff -cnphpwnd99999@aliyun5381,cntaobaoaaafwg -cnphpwnd99999@aliyun5382,cntaobaoaaagj -cnphpwnd99999@aliyun5383,cntaobaoaaagksdj -cnphpwnd99999@aliyun5384,cntaobaoaaah -cnphpwnd99999@aliyun5385,cntaobaoaaaha -cnphpwnd99999@aliyun5386,cntaobaoaaahc -cnphpwnd99999@aliyun5387,cntaobaoaaahd -cnphpwnd99999@aliyun5388,cntaobaoaaahmj -cnphpwnd99999@aliyun5389,cntaobaoaaahot -cnphpwnd99999@aliyun5390,cntaobaoaaahtian -cnphpwnd99999@aliyun5391,cntaobaoaaahxdf0016 -cnphpwnd99999@aliyun5392,cntaobaoaaajedll -cnphpwnd99999@aliyun5393,cntaobaoaaajian999 -cnphpwnd99999@aliyun5394,cntaobaoaaajiong -cnphpwnd99999@aliyun5395,cntaobaoaaakelee -cnphpwnd99999@aliyun5396,cntaobaoaaakk -cnphpwnd99999@aliyun5397,cntaobaoaaakkk521 -cnphpwnd99999@aliyun5398,cntaobaoaaakkk_001 -cnphpwnd99999@aliyun5399,cntaobaoaaakkkeee -cnphpwnd99999@aliyun5400,cntaobaoaaakkkz -cnphpwnd99999@aliyun5401,cntaobaoaaalan -cnphpwnd99999@aliyun5402,cntaobaoaaalee -cnphpwnd99999@aliyun5403,cntaobaoaaalgg -cnphpwnd99999@aliyun5404,cntaobaoaaalh007 -cnphpwnd99999@aliyun5405,cntaobaoaaalidos522 -cnphpwnd99999@aliyun5406,cntaobaoaaaliuxin -cnphpwnd99999@aliyun5407,cntaobaoaaaliwei -cnphpwnd99999@aliyun5408,cntaobaoaaalll320 -cnphpwnd99999@aliyun5409,cntaobaoaaalllyyymmm -cnphpwnd99999@aliyun5410,cntaobaoaaalover -cnphpwnd99999@aliyun5411,cntaobaoaaamlj -cnphpwnd99999@aliyun5412,cntaobaoaaammm1234 -cnphpwnd99999@aliyun5413,cntaobaoaaammm15888 -cnphpwnd99999@aliyun5414,cntaobaoaaamp3 -cnphpwnd99999@aliyun5415,cntaobaoaaamu -cnphpwnd99999@aliyun5416,cntaobaoaaanew -cnphpwnd99999@aliyun5417,cntaobaoaaanight -cnphpwnd99999@aliyun5418,cntaobaoaaann -cnphpwnd99999@aliyun5419,cntaobaoaaaooo1974724 -cnphpwnd99999@aliyun5420,cntaobaoaaaoooyes -cnphpwnd99999@aliyun5421,cntaobaoaaapapa -cnphpwnd99999@aliyun5422,cntaobaoaaapapa88 -cnphpwnd99999@aliyun5423,cntaobaoaaapo -cnphpwnd99999@aliyun5424,cntaobaoaaapp147 -cnphpwnd99999@aliyun5425,cntaobaoaaappp666 -cnphpwnd99999@aliyun5426,cntaobaoaaaq2000 -cnphpwnd99999@aliyun5427,cntaobaoaaaqqq5117662 -cnphpwnd99999@aliyun5428,cntaobaoaaaqqqqa -cnphpwnd99999@aliyun5429,cntaobaoaaaqqqwww_007 -cnphpwnd99999@aliyun5430,cntaobaoaaaqzhaolao -cnphpwnd99999@aliyun5431,cntaobaoaaaren -cnphpwnd99999@aliyun5432,cntaobaoaaarongrong -cnphpwnd99999@aliyun5433,cntaobaoaaarrr -cnphpwnd99999@aliyun5434,cntaobaoaaarrrooonnn -cnphpwnd99999@aliyun5435,cntaobaoaaas9420 -cnphpwnd99999@aliyun5436,cntaobaoaaasaw -cnphpwnd99999@aliyun5437,cntaobaoaaasayok -cnphpwnd99999@aliyun5438,cntaobaoaaasdfghjk -cnphpwnd99999@aliyun5439,cntaobaoaaasi -cnphpwnd99999@aliyun5440,cntaobaoaaasky -cnphpwnd99999@aliyun5441,cntaobaoaaass00 -cnphpwnd99999@aliyun5442,cntaobaoaaassa12 -cnphpwnd99999@aliyun5443,cntaobaoaaassscs -cnphpwnd99999@aliyun5444,cntaobaoaaasssssss -cnphpwnd99999@aliyun5445,cntaobaoaaat -cnphpwnd99999@aliyun5446,cntaobaoaaatqs -cnphpwnd99999@aliyun5447,cntaobaoaaatu -cnphpwnd99999@aliyun5448,cntaobaoaaav -cnphpwnd99999@aliyun5449,cntaobaoaaawbbbbb -cnphpwnd99999@aliyun5450,cntaobaoaaawww -cnphpwnd99999@aliyun5451,cntaobaoaaawyuri -cnphpwnd99999@aliyun5452,cntaobaoaaaxajh -cnphpwnd99999@aliyun5453,cntaobaoaaaxx1984 -cnphpwnd99999@aliyun5454,cntaobaoaaayahoo -cnphpwnd99999@aliyun5455,cntaobaoaaaychm123 -cnphpwnd99999@aliyun5456,cntaobaoaaayu -cnphpwnd99999@aliyun5457,cntaobaoaaayzy -cnphpwnd99999@aliyun5458,cntaobaoaaazhangli -cnphpwnd99999@aliyun5459,cntaobaoaaazhangwenting -cnphpwnd99999@aliyun5460,cntaobaoaaazqx -cnphpwnd99999@aliyun5461,cntaobaoaaazsy -cnphpwnd99999@aliyun5462,cntaobaoaaazuoshou -cnphpwnd99999@aliyun5463,cntaobaoaaazzz321 -cnphpwnd99999@aliyun5464,cntaobaoaaazzzqqq -cnphpwnd99999@aliyun5465,cntaobaoaaazzzzzz -cnphpwnd99999@aliyun5466,cntaobaoaab729 -cnphpwnd99999@aliyun5467,cntaobaoaab8899 -cnphpwnd99999@aliyun5468,cntaobaoaaba44 -cnphpwnd99999@aliyun5469,cntaobaoaababc1111 -cnphpwnd99999@aliyun5470,cntaobaoaabao -cnphpwnd99999@aliyun5471,cntaobaoaabb -cnphpwnd99999@aliyun5472,cntaobaoaabb0414 -cnphpwnd99999@aliyun5473,cntaobaoaabb100200 -cnphpwnd99999@aliyun5474,cntaobaoaabb12 -cnphpwnd99999@aliyun5475,cntaobaoaabb2002 -cnphpwnd99999@aliyun5476,cntaobaoaabb2288_2005 -cnphpwnd99999@aliyun5477,cntaobaoaabb3633 -cnphpwnd99999@aliyun5478,cntaobaoaabb465 -cnphpwnd99999@aliyun5479,cntaobaoaabb686 -cnphpwnd99999@aliyun5480,cntaobaoaabb79 -cnphpwnd99999@aliyun5481,cntaobaoaabb8888 -cnphpwnd99999@aliyun5482,cntaobaoaabb9696 -cnphpwnd99999@aliyun5483,cntaobaoaabbaa -cnphpwnd99999@aliyun5484,cntaobaoaabbbbaa8711 -cnphpwnd99999@aliyun5485,cntaobaoaabbcc -cnphpwnd99999@aliyun5486,cntaobaoaabbcc-1 -cnphpwnd99999@aliyun5487,cntaobaoaabbcc1008 -cnphpwnd99999@aliyun5488,cntaobaoaabbcc12345 -cnphpwnd99999@aliyun5489,cntaobaoaabbcc188 -cnphpwnd99999@aliyun5490,cntaobaoaabbcc26 -cnphpwnd99999@aliyun5491,cntaobaoaabbcc622020 -cnphpwnd99999@aliyun5492,cntaobaoaabbcc771 -cnphpwnd99999@aliyun5493,cntaobaoaabbcc88 -cnphpwnd99999@aliyun5494,cntaobaoaabbcc_119 -cnphpwnd99999@aliyun5495,cntaobaoaabbccc -cnphpwnd99999@aliyun5496,cntaobaoaabbccd007 -cnphpwnd99999@aliyun5497,cntaobaoaabbccd_cn -cnphpwnd99999@aliyun5498,cntaobaoaabbccdd1 -cnphpwnd99999@aliyun5499,cntaobaoaabbccdd112233 -cnphpwnd99999@aliyun5500,cntaobaoaabbccdd212 -cnphpwnd99999@aliyun5501,cntaobaoaabbccdd999 -cnphpwnd99999@aliyun5502,cntaobaoaabbccdde5 -cnphpwnd99999@aliyun5503,cntaobaoaabbccguwei -cnphpwnd99999@aliyun5504,cntaobaoaabbce -cnphpwnd99999@aliyun5505,cntaobaoaabbddc -cnphpwnd99999@aliyun5506,cntaobaoaabbddzzaa -cnphpwnd99999@aliyun5507,cntaobaoaabbey317 -cnphpwnd99999@aliyun5508,cntaobaoaabbfgdhggf -cnphpwnd99999@aliyun5509,cntaobaoaabbg -cnphpwnd99999@aliyun5510,cntaobaoaabblwd -cnphpwnd99999@aliyun5511,cntaobaoaabbqwe -cnphpwnd99999@aliyun5512,cntaobaoaabbssq -cnphpwnd99999@aliyun5513,cntaobaoaabbxieyuan -cnphpwnd99999@aliyun5514,cntaobaoaabbzzz -cnphpwnd99999@aliyun5515,cntaobaoaabc125998364 -cnphpwnd99999@aliyun5516,cntaobaoaabc1957917 -cnphpwnd99999@aliyun5517,cntaobaoaabc1abc22 -cnphpwnd99999@aliyun5518,cntaobaoaabcc2005 -cnphpwnd99999@aliyun5519,cntaobaoaabcd -cnphpwnd99999@aliyun5520,cntaobaoaabcd1234 -cnphpwnd99999@aliyun5521,cntaobaoaabcdf -cnphpwnd99999@aliyun5522,cntaobaoaabnn -cnphpwnd99999@aliyun5523,cntaobaoaabout -cnphpwnd99999@aliyun5524,cntaobaoaabp108 -cnphpwnd99999@aliyun5525,cntaobaoaabss3ccd2 -cnphpwnd99999@aliyun5526,cntaobaoaabu -cnphpwnd99999@aliyun5527,cntaobaoaabw4 -cnphpwnd99999@aliyun5528,cntaobaoaac2000 -cnphpwnd99999@aliyun5529,cntaobaoaacat -cnphpwnd99999@aliyun5530,cntaobaoaacc2589 -cnphpwnd99999@aliyun5531,cntaobaoaaccbb -cnphpwnd99999@aliyun5532,cntaobaoaaccdd -cnphpwnd99999@aliyun5533,cntaobaoaaccdf -cnphpwnd99999@aliyun5534,cntaobaoaacceeqqaa -cnphpwnd99999@aliyun5535,cntaobaoaacck -cnphpwnd99999@aliyun5536,cntaobaoaaccpp -cnphpwnd99999@aliyun5537,cntaobaoaacd231 -cnphpwnd99999@aliyun5538,cntaobaoaacfj -cnphpwnd99999@aliyun5539,cntaobaoaach110 -cnphpwnd99999@aliyun5540,cntaobaoaacharlie -cnphpwnd99999@aliyun5541,cntaobaoaachenlin -cnphpwnd99999@aliyun5542,cntaobaoaachina -cnphpwnd99999@aliyun5543,cntaobaoaachong -cnphpwnd99999@aliyun5544,cntaobaoaacon -cnphpwnd99999@aliyun5545,cntaobaoaact3344 -cnphpwnd99999@aliyun5546,cntaobaoaacxg -cnphpwnd99999@aliyun5547,cntaobaoaacyg888 -cnphpwnd99999@aliyun5548,cntaobaoaacynical -cnphpwnd99999@aliyun5549,cntaobaoaad_110 -cnphpwnd99999@aliyun5550,cntaobaoaadd789 -cnphpwnd99999@aliyun5551,cntaobaoaadda -cnphpwnd99999@aliyun5552,cntaobaoaaddda -cnphpwnd99999@aliyun5553,cntaobaoaaddii -cnphpwnd99999@aliyun5554,cntaobaoaaddyyyyy -cnphpwnd99999@aliyun5555,cntaobaoaadfx -cnphpwnd99999@aliyun5556,cntaobaoaadfzd -cnphpwnd99999@aliyun5557,cntaobaoaadonis -cnphpwnd99999@aliyun5558,cntaobaoaadoo -cnphpwnd99999@aliyun5559,cntaobaoaadoy007 -cnphpwnd99999@aliyun5560,cntaobaoaadyon -cnphpwnd99999@aliyun5561,cntaobaoaaecn -cnphpwnd99999@aliyun5562,cntaobaoaaeeppoo -cnphpwnd99999@aliyun5563,cntaobaoaaehaae -cnphpwnd99999@aliyun5564,cntaobaoaaer2727 -cnphpwnd99999@aliyun5565,cntaobaoaaeve -cnphpwnd99999@aliyun5566,cntaobaoaaf2000 -cnphpwnd99999@aliyun5567,cntaobaoaafaso -cnphpwnd99999@aliyun5568,cntaobaoaafeng2004 -cnphpwnd99999@aliyun5569,cntaobaoaaff0127 -cnphpwnd99999@aliyun5570,cntaobaoaaffbbss -cnphpwnd99999@aliyun5571,cntaobaoaafffas -cnphpwnd99999@aliyun5572,cntaobaoaafhdf5 -cnphpwnd99999@aliyun5573,cntaobaoaafrm -cnphpwnd99999@aliyun5574,cntaobaoaafujy -cnphpwnd99999@aliyun5575,cntaobaoaagan -cnphpwnd99999@aliyun5576,cntaobaoaagg0099 -cnphpwnd99999@aliyun5577,cntaobaoaaggopk -cnphpwnd99999@aliyun5578,cntaobaoaagirl98 -cnphpwnd99999@aliyun5579,cntaobaoaaguoli -cnphpwnd99999@aliyun5580,cntaobaoaagust -cnphpwnd99999@aliyun5581,cntaobaoaagwq -cnphpwnd99999@aliyun5582,cntaobaoaaha -cnphpwnd99999@aliyun5583,cntaobaoaahai -cnphpwnd99999@aliyun5584,cntaobaoaaham -cnphpwnd99999@aliyun5585,cntaobaoaahao88 -cnphpwnd99999@aliyun5586,cntaobaoaahbb -cnphpwnd99999@aliyun5587,cntaobaoaahhh51 -cnphpwnd99999@aliyun5588,cntaobaoaahhxx -cnphpwnd99999@aliyun5589,cntaobaoaahksaa -cnphpwnd99999@aliyun5590,cntaobaoaahuang14 -cnphpwnd99999@aliyun5591,cntaobaoaahuishu -cnphpwnd99999@aliyun5592,cntaobaoaahyan -cnphpwnd99999@aliyun5593,cntaobaoaai0523 -cnphpwnd99999@aliyun5594,cntaobaoaai91 -cnphpwnd99999@aliyun5595,cntaobaoaaid -cnphpwnd99999@aliyun5596,cntaobaoaaiex -cnphpwnd99999@aliyun5597,cntaobaoaaihi -cnphpwnd99999@aliyun5598,cntaobaoaaillan -cnphpwnd99999@aliyun5599,cntaobaoaaimfk -cnphpwnd99999@aliyun5600,cntaobaoaaj_520_aaj -cnphpwnd99999@aliyun5601,cntaobaoaajake520 -cnphpwnd99999@aliyun5602,cntaobaoaajemy -cnphpwnd99999@aliyun5603,cntaobaoaajimmy -cnphpwnd99999@aliyun5604,cntaobaoaajing -cnphpwnd99999@aliyun5605,cntaobaoaajjkka -cnphpwnd99999@aliyun5606,cntaobaoaajs321 -cnphpwnd99999@aliyun5607,cntaobaoaajun -cnphpwnd99999@aliyun5608,cntaobaoaajy324520 -cnphpwnd99999@aliyun5609,cntaobaoaak47 -cnphpwnd99999@aliyun5610,cntaobaoaakaak -cnphpwnd99999@aliyun5611,cntaobaoaakashi -cnphpwnd99999@aliyun5612,cntaobaoaakdj -cnphpwnd99999@aliyun5613,cntaobaoaakeke -cnphpwnd99999@aliyun5614,cntaobaoaakfc -cnphpwnd99999@aliyun5615,cntaobaoaakillka -cnphpwnd99999@aliyun5616,cntaobaoaakk1 -cnphpwnd99999@aliyun5617,cntaobaoaakk101 -cnphpwnd99999@aliyun5618,cntaobaoaakkhjx -cnphpwnd99999@aliyun5619,cntaobaoaakkoo -cnphpwnd99999@aliyun5620,cntaobaoaakktt -cnphpwnd99999@aliyun5621,cntaobaoaakol18 -cnphpwnd99999@aliyun5622,cntaobaoaaks520 -cnphpwnd99999@aliyun5623,cntaobaoaalanxin8521 -cnphpwnd99999@aliyun5624,cntaobaoaaleafy -cnphpwnd99999@aliyun5625,cntaobaoaalez -cnphpwnd99999@aliyun5626,cntaobaoaalht80424 -cnphpwnd99999@aliyun5627,cntaobaoaalife -cnphpwnd99999@aliyun5628,cntaobaoaalijliang -cnphpwnd99999@aliyun5629,cntaobaoaalingming -cnphpwnd99999@aliyun5630,cntaobaoaalingtou -cnphpwnd99999@aliyun5631,cntaobaoaaliy -cnphpwnd99999@aliyun5632,cntaobaoaaliyah_ding -cnphpwnd99999@aliyun5633,cntaobaoaaliyahdorr -cnphpwnd99999@aliyun5634,cntaobaoaall99 -cnphpwnd99999@aliyun5635,cntaobaoaallaallsk -cnphpwnd99999@aliyun5636,cntaobaoaalliiaarr -cnphpwnd99999@aliyun5637,cntaobaoaallskdj -cnphpwnd99999@aliyun5638,cntaobaoaalonbao -cnphpwnd99999@aliyun5639,cntaobaoaalong1 -cnphpwnd99999@aliyun5640,cntaobaoaalonglong -cnphpwnd99999@aliyun5641,cntaobaoaalove520 -cnphpwnd99999@aliyun5642,cntaobaoaaloveway -cnphpwnd99999@aliyun5643,cntaobaoaalulu -cnphpwnd99999@aliyun5644,cntaobaoaalun88 -cnphpwnd99999@aliyun5645,cntaobaoaalupin -cnphpwnd99999@aliyun5646,cntaobaoaam-007 -cnphpwnd99999@aliyun5647,cntaobaoaam11687124 -cnphpwnd99999@aliyun5648,cntaobaoaam321 -cnphpwnd99999@aliyun5649,cntaobaoaam652 -cnphpwnd99999@aliyun5650,cntaobaoaam76 -cnphpwnd99999@aliyun5651,cntaobaoaamaomao -cnphpwnd99999@aliyun5652,cntaobaoaamd64 -cnphpwnd99999@aliyun5653,cntaobaoaameng -cnphpwnd99999@aliyun5654,cntaobaoaamm -cnphpwnd99999@aliyun5655,cntaobaoaammnb -cnphpwnd99999@aliyun5656,cntaobaoaammp88 -cnphpwnd99999@aliyun5657,cntaobaoaammqq123 -cnphpwnd99999@aliyun5658,cntaobaoaammzz -cnphpwnd99999@aliyun5659,cntaobaoaamojia -cnphpwnd99999@aliyun5660,cntaobaoaamonwy -cnphpwnd99999@aliyun5661,cntaobaoaamoon -cnphpwnd99999@aliyun5662,cntaobaoaamzlw -cnphpwnd99999@aliyun5663,cntaobaoaan-yy1314 -cnphpwnd99999@aliyun5664,cntaobaoaan007 -cnphpwnd99999@aliyun5665,cntaobaoaand -cnphpwnd99999@aliyun5666,cntaobaoaandy -cnphpwnd99999@aliyun5667,cntaobaoaandy889 -cnphpwnd99999@aliyun5668,cntaobaoaanee -cnphpwnd99999@aliyun5669,cntaobaoaanehziew -cnphpwnd99999@aliyun5670,cntaobaoaang007 -cnphpwnd99999@aliyun5671,cntaobaoaangel1124 -cnphpwnd99999@aliyun5672,cntaobaoaanily -cnphpwnd99999@aliyun5673,cntaobaoaanjw -cnphpwnd99999@aliyun5674,cntaobaoaanmaker -cnphpwnd99999@aliyun5675,cntaobaoaann654321 -cnphpwnd99999@aliyun5676,cntaobaoaannn -cnphpwnd99999@aliyun5677,cntaobaoaannyy5 -cnphpwnd99999@aliyun5678,cntaobaoaansun -cnphpwnd99999@aliyun5679,cntaobaoaanv -cnphpwnd99999@aliyun5680,cntaobaoaanz -cnphpwnd99999@aliyun5681,cntaobaoaao369 -cnphpwnd99999@aliyun5682,cntaobaoaaooaaoo -cnphpwnd99999@aliyun5683,cntaobaoaapg163 -cnphpwnd99999@aliyun5684,cntaobaoaapn -cnphpwnd99999@aliyun5685,cntaobaoaappdd -cnphpwnd99999@aliyun5686,cntaobaoaappss -cnphpwnd99999@aliyun5687,cntaobaoaapss -cnphpwnd99999@aliyun5688,cntaobaoaaq682 -cnphpwnd99999@aliyun5689,cntaobaoaaqa -cnphpwnd99999@aliyun5690,cntaobaoaaqaaq -cnphpwnd99999@aliyun5691,cntaobaoaaqhhj -cnphpwnd99999@aliyun5692,cntaobaoaaqingfen -cnphpwnd99999@aliyun5693,cntaobaoaaqiqi -cnphpwnd99999@aliyun5694,cntaobaoaaqiqiaa -cnphpwnd99999@aliyun5695,cntaobaoaaqq -cnphpwnd99999@aliyun5696,cntaobaoaaqq00 -cnphpwnd99999@aliyun5697,cntaobaoaaqq008 -cnphpwnd99999@aliyun5698,cntaobaoaaqyh_0169 -cnphpwnd99999@aliyun5699,cntaobaoaarbin -cnphpwnd99999@aliyun5700,cntaobaoaarchu -cnphpwnd99999@aliyun5701,cntaobaoaarikka -cnphpwnd99999@aliyun5702,cntaobaoaarly20000 -cnphpwnd99999@aliyun5703,cntaobaoaarmstrong -cnphpwnd99999@aliyun5704,cntaobaoaaron-gf -cnphpwnd99999@aliyun5705,cntaobaoaaron-ken -cnphpwnd99999@aliyun5706,cntaobaoaaron.gao -cnphpwnd99999@aliyun5707,cntaobaoaaron.s -cnphpwnd99999@aliyun5708,cntaobaoaaron.sky -cnphpwnd99999@aliyun5709,cntaobaoaaron.zhou -cnphpwnd99999@aliyun5710,cntaobaoaaron011 -cnphpwnd99999@aliyun5711,cntaobaoaaron0213 -cnphpwnd99999@aliyun5712,cntaobaoaaron0259 -cnphpwnd99999@aliyun5713,cntaobaoaaron0317 -cnphpwnd99999@aliyun5714,cntaobaoaaron036 -cnphpwnd99999@aliyun5715,cntaobaoaaron046 -cnphpwnd99999@aliyun5716,cntaobaoaaron05 -cnphpwnd99999@aliyun5717,cntaobaoaaron050 -cnphpwnd99999@aliyun5718,cntaobaoaaron0508 -cnphpwnd99999@aliyun5719,cntaobaoaaron0712 -cnphpwnd99999@aliyun5720,cntaobaoaaron0802 -cnphpwnd99999@aliyun5721,cntaobaoaaron116699 -cnphpwnd99999@aliyun5722,cntaobaoaaron12 -cnphpwnd99999@aliyun5723,cntaobaoaaron1205 -cnphpwnd99999@aliyun5724,cntaobaoaaron121 -cnphpwnd99999@aliyun5725,cntaobaoaaron1232826 -cnphpwnd99999@aliyun5726,cntaobaoaaron171 -cnphpwnd99999@aliyun5727,cntaobaoaaron19720609 -cnphpwnd99999@aliyun5728,cntaobaoaaron19821015 -cnphpwnd99999@aliyun5729,cntaobaoaaron1984 -cnphpwnd99999@aliyun5730,cntaobaoaaron1986 -cnphpwnd99999@aliyun5731,cntaobaoaaron1986426 -cnphpwnd99999@aliyun5732,cntaobaoaaron1e -cnphpwnd99999@aliyun5733,cntaobaoaaron203 -cnphpwnd99999@aliyun5734,cntaobaoaaron210 -cnphpwnd99999@aliyun5735,cntaobaoaaron25 -cnphpwnd99999@aliyun5736,cntaobaoaaron2mina -cnphpwnd99999@aliyun5737,cntaobaoaaron31 -cnphpwnd99999@aliyun5738,cntaobaoaaron32 -cnphpwnd99999@aliyun5739,cntaobaoaaron5 -cnphpwnd99999@aliyun5740,cntaobaoaaron543 -cnphpwnd99999@aliyun5741,cntaobaoaaron5799 -cnphpwnd99999@aliyun5742,cntaobaoaaron71 -cnphpwnd99999@aliyun5743,cntaobaoaaron7153 -cnphpwnd99999@aliyun5744,cntaobaoaaron7318 -cnphpwnd99999@aliyun5745,cntaobaoaaron76 -cnphpwnd99999@aliyun5746,cntaobaoaaron811015 -cnphpwnd99999@aliyun5747,cntaobaoaaron81815 -cnphpwnd99999@aliyun5748,cntaobaoaaron840731 -cnphpwnd99999@aliyun5749,cntaobaoaaron88 -cnphpwnd99999@aliyun5750,cntaobaoaaron911 -cnphpwnd99999@aliyun5751,cntaobaoaaron9527 -cnphpwnd99999@aliyun5752,cntaobaoaaron_007_2005 -cnphpwnd99999@aliyun5753,cntaobaoaaron_0211 -cnphpwnd99999@aliyun5754,cntaobaoaaron_0918 -cnphpwnd99999@aliyun5755,cntaobaoaaron_8188 -cnphpwnd99999@aliyun5756,cntaobaoaaron_cheng -cnphpwnd99999@aliyun5757,cntaobaoaaron_clz -cnphpwnd99999@aliyun5758,cntaobaoaaron_ding -cnphpwnd99999@aliyun5759,cntaobaoaaron_f1592 -cnphpwnd99999@aliyun5760,cntaobaoaaron_gao -cnphpwnd99999@aliyun5761,cntaobaoaaron_gj -cnphpwnd99999@aliyun5762,cntaobaoaaron_guo -cnphpwnd99999@aliyun5763,cntaobaoaaron_legend -cnphpwnd99999@aliyun5764,cntaobaoaaron_leo -cnphpwnd99999@aliyun5765,cntaobaoaaron_m -cnphpwnd99999@aliyun5766,cntaobaoaaron_n -cnphpwnd99999@aliyun5767,cntaobaoaaron_sunday -cnphpwnd99999@aliyun5768,cntaobaoaaron_usa -cnphpwnd99999@aliyun5769,cntaobaoaaron_why -cnphpwnd99999@aliyun5770,cntaobaoaaron_winner -cnphpwnd99999@aliyun5771,cntaobaoaaron_ying -cnphpwnd99999@aliyun5772,cntaobaoaaron_zhu -cnphpwnd99999@aliyun5773,cntaobaoaaron_zmz -cnphpwnd99999@aliyun5774,cntaobaoaarona -cnphpwnd99999@aliyun5775,cntaobaoaaronai -cnphpwnd99999@aliyun5776,cntaobaoaaronal -cnphpwnd99999@aliyun5777,cntaobaoaaronbaoxin -cnphpwnd99999@aliyun5778,cntaobaoaaroncande -cnphpwnd99999@aliyun5779,cntaobaoaaroncao -cnphpwnd99999@aliyun5780,cntaobaoaaroncarter -cnphpwnd99999@aliyun5781,cntaobaoaaroncarter123 -cnphpwnd99999@aliyun5782,cntaobaoaaroncater66 -cnphpwnd99999@aliyun5783,cntaobaoaaronchenjia -cnphpwnd99999@aliyun5784,cntaobaoaaronchenjun -cnphpwnd99999@aliyun5785,cntaobaoaaronchow -cnphpwnd99999@aliyun5786,cntaobaoaaroncitiz -cnphpwnd99999@aliyun5787,cntaobaoaaroncom_1 -cnphpwnd99999@aliyun5788,cntaobaoaarondown -cnphpwnd99999@aliyun5789,cntaobaoaarondsl -cnphpwnd99999@aliyun5790,cntaobaoaaronfang -cnphpwnd99999@aliyun5791,cntaobaoaaronfenglei -cnphpwnd99999@aliyun5792,cntaobaoaaronfu12 -cnphpwnd99999@aliyun5793,cntaobaoaarongrace -cnphpwnd99999@aliyun5794,cntaobaoaarongz -cnphpwnd99999@aliyun5795,cntaobaoaaronhill -cnphpwnd99999@aliyun5796,cntaobaoaaronhjf -cnphpwnd99999@aliyun5797,cntaobaoaaronhyp -cnphpwnd99999@aliyun5798,cntaobaoaaronjeanne -cnphpwnd99999@aliyun5799,cntaobaoaaronjob -cnphpwnd99999@aliyun5800,cntaobaoaaronjym -cnphpwnd99999@aliyun5801,cntaobaoaaronkiller -cnphpwnd99999@aliyun5802,cntaobaoaaronking -cnphpwnd99999@aliyun5803,cntaobaoaaronlau -cnphpwnd99999@aliyun5804,cntaobaoaaronlee -cnphpwnd99999@aliyun5805,cntaobaoaaronlewis -cnphpwnd99999@aliyun5806,cntaobaoaaronli31 -cnphpwnd99999@aliyun5807,cntaobaoaaronlingood -cnphpwnd99999@aliyun5808,cntaobaoaaronlinyx -cnphpwnd99999@aliyun5809,cntaobaoaaronliuxu -cnphpwnd99999@aliyun5810,cntaobaoaaronlv -cnphpwnd99999@aliyun5811,cntaobaoaaronlynn -cnphpwnd99999@aliyun5812,cntaobaoaaronmin -cnphpwnd99999@aliyun5813,cntaobaoaaronmrq -cnphpwnd99999@aliyun5814,cntaobaoaaronoyxoyx -cnphpwnd99999@aliyun5815,cntaobaoaaronpeng2002 -cnphpwnd99999@aliyun5816,cntaobaoaaronpx -cnphpwnd99999@aliyun5817,cntaobaoaaronqian -cnphpwnd99999@aliyun5818,cntaobaoaaronren616 -cnphpwnd99999@aliyun5819,cntaobaoaaronrime -cnphpwnd99999@aliyun5820,cntaobaoaaronriso -cnphpwnd99999@aliyun5821,cntaobaoaaronsong713 -cnphpwnd99999@aliyun5822,cntaobaoaaronsu -cnphpwnd99999@aliyun5823,cntaobaoaaronwang007 -cnphpwnd99999@aliyun5824,cntaobaoaaronwang1111 -cnphpwnd99999@aliyun5825,cntaobaoaaronwangjian -cnphpwnd99999@aliyun5826,cntaobaoaaronwg -cnphpwnd99999@aliyun5827,cntaobaoaaronwj21 -cnphpwnd99999@aliyun5828,cntaobaoaaronwoo -cnphpwnd99999@aliyun5829,cntaobaoaaronwuxinbin -cnphpwnd99999@aliyun5830,cntaobaoaaronx -cnphpwnd99999@aliyun5831,cntaobaoaaronxiang -cnphpwnd99999@aliyun5832,cntaobaoaaronxu -cnphpwnd99999@aliyun5833,cntaobaoaaronxulei -cnphpwnd99999@aliyun5834,cntaobaoaaronxz -cnphpwnd99999@aliyun5835,cntaobaoaaronyang1 -cnphpwnd99999@aliyun5836,cntaobaoaaronyu -cnphpwnd99999@aliyun5837,cntaobaoaaronyw -cnphpwnd99999@aliyun5838,cntaobaoaaronyy -cnphpwnd99999@aliyun5839,cntaobaoaaronzheng -cnphpwnd99999@aliyun5840,cntaobaoaaronzheng143 -cnphpwnd99999@aliyun5841,cntaobaoaaronzhj -cnphpwnd99999@aliyun5842,cntaobaoaarreess -cnphpwnd99999@aliyun5843,cntaobaoaarrkk -cnphpwnd99999@aliyun5844,cntaobaoaarryliu -cnphpwnd99999@aliyun5845,cntaobaoaarty -cnphpwnd99999@aliyun5846,cntaobaoaas18 -cnphpwnd99999@aliyun5847,cntaobaoaas2003 -cnphpwnd99999@aliyun5848,cntaobaoaas_00 -cnphpwnd99999@aliyun5849,cntaobaoaasa -cnphpwnd99999@aliyun5850,cntaobaoaasaay -cnphpwnd99999@aliyun5851,cntaobaoaasasa -cnphpwnd99999@aliyun5852,cntaobaoaasasaa -cnphpwnd99999@aliyun5853,cntaobaoaascr123 -cnphpwnd99999@aliyun5854,cntaobaoaascs001 -cnphpwnd99999@aliyun5855,cntaobaoaasd -cnphpwnd99999@aliyun5856,cntaobaoaasd1223 -cnphpwnd99999@aliyun5857,cntaobaoaasd123 -cnphpwnd99999@aliyun5858,cntaobaoaasdd4361 -cnphpwnd99999@aliyun5859,cntaobaoaasddfff -cnphpwnd99999@aliyun5860,cntaobaoaasdfghjkl -cnphpwnd99999@aliyun5861,cntaobaoaasdswear -cnphpwnd99999@aliyun5862,cntaobaoaasdzp -cnphpwnd99999@aliyun5863,cntaobaoaasee12 -cnphpwnd99999@aliyun5864,cntaobaoaasevend -cnphpwnd99999@aliyun5865,cntaobaoaasf -cnphpwnd99999@aliyun5866,cntaobaoaashi_dou -cnphpwnd99999@aliyun5867,cntaobaoaashihuiyi22 -cnphpwnd99999@aliyun5868,cntaobaoaashine_ren -cnphpwnd99999@aliyun5869,cntaobaoaasm8 -cnphpwnd99999@aliyun5870,cntaobaoaasnoopy -cnphpwnd99999@aliyun5871,cntaobaoaaso -cnphpwnd99999@aliyun5872,cntaobaoaason -cnphpwnd99999@aliyun5873,cntaobaoaason2008 -cnphpwnd99999@aliyun5874,cntaobaoaasquall -cnphpwnd99999@aliyun5875,cntaobaoaass -cnphpwnd99999@aliyun5876,cntaobaoaass01 -cnphpwnd99999@aliyun5877,cntaobaoaass02 -cnphpwnd99999@aliyun5878,cntaobaoaass09 -cnphpwnd99999@aliyun5879,cntaobaoaass12 -cnphpwnd99999@aliyun5880,cntaobaoaass190047 -cnphpwnd99999@aliyun5881,cntaobaoaass247608120 -cnphpwnd99999@aliyun5882,cntaobaoaass456 -cnphpwnd99999@aliyun5883,cntaobaoaass510 -cnphpwnd99999@aliyun5884,cntaobaoaass810 -cnphpwnd99999@aliyun5885,cntaobaoaass_3671578 -cnphpwnd99999@aliyun5886,cntaobaoaassaa11 -cnphpwnd99999@aliyun5887,cntaobaoaassaass123123 -cnphpwnd99999@aliyun5888,cntaobaoaassdd11 -cnphpwnd99999@aliyun5889,cntaobaoaassdd112233 -cnphpwnd99999@aliyun5890,cntaobaoaassdd12 -cnphpwnd99999@aliyun5891,cntaobaoaassdd15 -cnphpwnd99999@aliyun5892,cntaobaoaassdd6188286 -cnphpwnd99999@aliyun5893,cntaobaoaassddasd -cnphpwnd99999@aliyun5894,cntaobaoaassddeeff -cnphpwnd99999@aliyun5895,cntaobaoaassddff -cnphpwnd99999@aliyun5896,cntaobaoaassddff1984 -cnphpwnd99999@aliyun5897,cntaobaoaassddff3344 -cnphpwnd99999@aliyun5898,cntaobaoaassddffg -cnphpwnd99999@aliyun5899,cntaobaoaassf -cnphpwnd99999@aliyun5900,cntaobaoaassgs -cnphpwnd99999@aliyun5901,cntaobaoaassq369 -cnphpwnd99999@aliyun5902,cntaobaoaasstoo -cnphpwnd99999@aliyun5903,cntaobaoaasszzpp -cnphpwnd99999@aliyun5904,cntaobaoaasu -cnphpwnd99999@aliyun5905,cntaobaoaasvogel -cnphpwnd99999@aliyun5906,cntaobaoaasw12 -cnphpwnd99999@aliyun5907,cntaobaoaasy2000 -cnphpwnd99999@aliyun5908,cntaobaoaasyi -cnphpwnd99999@aliyun5909,cntaobaoaatandy -cnphpwnd99999@aliyun5910,cntaobaoaatd -cnphpwnd99999@aliyun5911,cntaobaoaatt06 -cnphpwnd99999@aliyun5912,cntaobaoaatt08 -cnphpwnd99999@aliyun5913,cntaobaoaatt11 -cnphpwnd99999@aliyun5914,cntaobaoaatt15 -cnphpwnd99999@aliyun5915,cntaobaoaattop -cnphpwnd99999@aliyun5916,cntaobaoaaul -cnphpwnd99999@aliyun5917,cntaobaoaaustty -cnphpwnd99999@aliyun5918,cntaobaoaauuyy1699 -cnphpwnd99999@aliyun5919,cntaobaoaaw880 -cnphpwnd99999@aliyun5920,cntaobaoaawei -cnphpwnd99999@aliyun5921,cntaobaoaawg2 -cnphpwnd99999@aliyun5922,cntaobaoaawgh31 -cnphpwnd99999@aliyun5923,cntaobaoaawin -cnphpwnd99999@aliyun5924,cntaobaoaawrad -cnphpwnd99999@aliyun5925,cntaobaoaawubb -cnphpwnd99999@aliyun5926,cntaobaoaaww2009 -cnphpwnd99999@aliyun5927,cntaobaoaaww222 -cnphpwnd99999@aliyun5928,cntaobaoaawwmm -cnphpwnd99999@aliyun5929,cntaobaoaawwww -cnphpwnd99999@aliyun5930,cntaobaoaax000 -cnphpwnd99999@aliyun5931,cntaobaoaaxiang -cnphpwnd99999@aliyun5932,cntaobaoaaxjp -cnphpwnd99999@aliyun5933,cntaobaoaaxln -cnphpwnd99999@aliyun5934,cntaobaoaaxx -cnphpwnd99999@aliyun5935,cntaobaoaaxx-2006 -cnphpwnd99999@aliyun5936,cntaobaoaaxx007 -cnphpwnd99999@aliyun5937,cntaobaoaaxy2 -cnphpwnd99999@aliyun5938,cntaobaoaayaa749 -cnphpwnd99999@aliyun5939,cntaobaoaayanglong88 -cnphpwnd99999@aliyun5940,cntaobaoaayatou -cnphpwnd99999@aliyun5941,cntaobaoaayaya -cnphpwnd99999@aliyun5942,cntaobaoaayes -cnphpwnd99999@aliyun5943,cntaobaoaayingying007 -cnphpwnd99999@aliyun5944,cntaobaoaayo -cnphpwnd99999@aliyun5945,cntaobaoaayon -cnphpwnd99999@aliyun5946,cntaobaoaaysbb -cnphpwnd99999@aliyun5947,cntaobaoaayy841201 -cnphpwnd99999@aliyun5948,cntaobaoaayyyyyy -cnphpwnd99999@aliyun5949,cntaobaoaaza1988 -cnphpwnd99999@aliyun5950,cntaobaoaazb123456 -cnphpwnd99999@aliyun5951,cntaobaoaazbzb -cnphpwnd99999@aliyun5952,cntaobaoaazhanghongtao -cnphpwnd99999@aliyun5953,cntaobaoaazhanzhan -cnphpwnd99999@aliyun5954,cntaobaoaazj -cnphpwnd99999@aliyun5955,cntaobaoaazsx -cnphpwnd99999@aliyun5956,cntaobaoaazwj -cnphpwnd99999@aliyun5957,cntaobaoaazxw -cnphpwnd99999@aliyun5958,cntaobaoaazz1122 -cnphpwnd99999@aliyun5959,cntaobaoaazz4139971 -cnphpwnd99999@aliyun5960,cntaobaoaazz566200 -cnphpwnd99999@aliyun5961,cntaobaoaazz781288 -cnphpwnd99999@aliyun5962,cntaobaoaazz9966 -cnphpwnd99999@aliyun5963,cntaobaoaazzqqasd -cnphpwnd99999@aliyun5964,cntaobaoaazzssxx -cnphpwnd99999@aliyun5965,cntaobaoaazzsx3 -cnphpwnd99999@aliyun5966,cntaobaoaazzw -cnphpwnd99999@aliyun5967,cntaobaoaazzy -cnphpwnd99999@aliyun5968,cntaobaoab-grace -cnphpwnd99999@aliyun5969,cntaobaoab.cai.haibo -cnphpwnd99999@aliyun5970,cntaobaoab000002 -cnphpwnd99999@aliyun5971,cntaobaoab000008 -cnphpwnd99999@aliyun5972,cntaobaoab0109 -cnphpwnd99999@aliyun5973,cntaobaoab040001 -cnphpwnd99999@aliyun5974,cntaobaoab054600 -cnphpwnd99999@aliyun5975,cntaobaoab06 -cnphpwnd99999@aliyun5976,cntaobaoab07137754669 -cnphpwnd99999@aliyun5977,cntaobaoab1001 -cnphpwnd99999@aliyun5978,cntaobaoab110001 -cnphpwnd99999@aliyun5979,cntaobaoab12 -cnphpwnd99999@aliyun5980,cntaobaoab120001 -cnphpwnd99999@aliyun5981,cntaobaoab12261024 -cnphpwnd99999@aliyun5982,cntaobaoab123456 -cnphpwnd99999@aliyun5983,cntaobaoab12347 -cnphpwnd99999@aliyun5984,cntaobaoab1234cde -cnphpwnd99999@aliyun5985,cntaobaoab123_b -cnphpwnd99999@aliyun5986,cntaobaoab123ab -cnphpwnd99999@aliyun5987,cntaobaoab123dd -cnphpwnd99999@aliyun5988,cntaobaoab12ab518 -cnphpwnd99999@aliyun5989,cntaobaoab12cd -cnphpwnd99999@aliyun5990,cntaobaoab14055256 -cnphpwnd99999@aliyun5991,cntaobaoab147852 -cnphpwnd99999@aliyun5992,cntaobaoab1696 -cnphpwnd99999@aliyun5993,cntaobaoab173 -cnphpwnd99999@aliyun5994,cntaobaoab1744 -cnphpwnd99999@aliyun5995,cntaobaoab1846 -cnphpwnd99999@aliyun5996,cntaobaoab1887010 -cnphpwnd99999@aliyun5997,cntaobaoab1981 -cnphpwnd99999@aliyun5998,cntaobaoab1983 -cnphpwnd99999@aliyun5999,cntaobaoab198608011 -cnphpwnd99999@aliyun6000,cntaobaoab1cd2de3 -cnphpwnd99999@aliyun6001,cntaobaoab1eric -cnphpwnd99999@aliyun6002,cntaobaoab20042004 -cnphpwnd99999@aliyun6003,cntaobaoab2005ab -cnphpwnd99999@aliyun6004,cntaobaoab20082005 -cnphpwnd99999@aliyun6005,cntaobaoab2046 -cnphpwnd99999@aliyun6006,cntaobaoab2059 -cnphpwnd99999@aliyun6007,cntaobaoab20cd04 -cnphpwnd99999@aliyun6008,cntaobaoab2171706 -cnphpwnd99999@aliyun6009,cntaobaoab220001 -cnphpwnd99999@aliyun6010,cntaobaoab2245708 -cnphpwnd99999@aliyun6011,cntaobaoab2410 -cnphpwnd99999@aliyun6012,cntaobaoab25168 -cnphpwnd99999@aliyun6013,cntaobaoab2612 -cnphpwnd99999@aliyun6014,cntaobaoab2783692 -cnphpwnd99999@aliyun6015,cntaobaoab30 -cnphpwnd99999@aliyun6016,cntaobaoab3158 -cnphpwnd99999@aliyun6017,cntaobaoab320001 -cnphpwnd99999@aliyun6018,cntaobaoab333767 -cnphpwnd99999@aliyun6019,cntaobaoab336798 -cnphpwnd99999@aliyun6020,cntaobaoab33cd -cnphpwnd99999@aliyun6021,cntaobaoab3570313 -cnphpwnd99999@aliyun6022,cntaobaoab3830 -cnphpwnd99999@aliyun6023,cntaobaoab3988199 -cnphpwnd99999@aliyun6024,cntaobaoab41000124 -cnphpwnd99999@aliyun6025,cntaobaoab4418880 -cnphpwnd99999@aliyun6026,cntaobaoab45869 -cnphpwnd99999@aliyun6027,cntaobaoab45874001 -cnphpwnd99999@aliyun6028,cntaobaoab490001 -cnphpwnd99999@aliyun6029,cntaobaoab500001 -cnphpwnd99999@aliyun6030,cntaobaoab50016068 -cnphpwnd99999@aliyun6031,cntaobaoab50528973 -cnphpwnd99999@aliyun6032,cntaobaoab5217 -cnphpwnd99999@aliyun6033,cntaobaoab5258388 -cnphpwnd99999@aliyun6034,cntaobaoab52789 -cnphpwnd99999@aliyun6035,cntaobaoab5632284 -cnphpwnd99999@aliyun6036,cntaobaoab5701314 -cnphpwnd99999@aliyun6037,cntaobaoab5869767 -cnphpwnd99999@aliyun6038,cntaobaoab590001 -cnphpwnd99999@aliyun6039,cntaobaoab5ramge -cnphpwnd99999@aliyun6040,cntaobaoab600000 -cnphpwnd99999@aliyun6041,cntaobaoab6057 -cnphpwnd99999@aliyun6042,cntaobaoab62328910 -cnphpwnd99999@aliyun6043,cntaobaoab6241809 -cnphpwnd99999@aliyun6044,cntaobaoab644916 -cnphpwnd99999@aliyun6045,cntaobaoab656126 -cnphpwnd99999@aliyun6046,cntaobaoab67905688 -cnphpwnd99999@aliyun6047,cntaobaoab680000 -cnphpwnd99999@aliyun6048,cntaobaoab700667 -cnphpwnd99999@aliyun6049,cntaobaoab7231526 -cnphpwnd99999@aliyun6050,cntaobaoab7310 -cnphpwnd99999@aliyun6051,cntaobaoab74 -cnphpwnd99999@aliyun6052,cntaobaoab740000 -cnphpwnd99999@aliyun6053,cntaobaoab7441414 -cnphpwnd99999@aliyun6054,cntaobaoab7519872 -cnphpwnd99999@aliyun6055,cntaobaoab7571155 -cnphpwnd99999@aliyun6056,cntaobaoab75hamc -cnphpwnd99999@aliyun6057,cntaobaoab7661912 -cnphpwnd99999@aliyun6058,cntaobaoab7677324 -cnphpwnd99999@aliyun6059,cntaobaoab7782 -cnphpwnd99999@aliyun6060,cntaobaoab790000 -cnphpwnd99999@aliyun6061,cntaobaoab79112 -cnphpwnd99999@aliyun6062,cntaobaoab801006119 -cnphpwnd99999@aliyun6063,cntaobaoab8291007 -cnphpwnd99999@aliyun6064,cntaobaoab830000 -cnphpwnd99999@aliyun6065,cntaobaoab8306 -cnphpwnd99999@aliyun6066,cntaobaoab831107 -cnphpwnd99999@aliyun6067,cntaobaoab83115415 -cnphpwnd99999@aliyun6068,cntaobaoab851011 -cnphpwnd99999@aliyun6069,cntaobaoab8556538 -cnphpwnd99999@aliyun6070,cntaobaoab8824397 -cnphpwnd99999@aliyun6071,cntaobaoab8870876 -cnphpwnd99999@aliyun6072,cntaobaoab8876 -cnphpwnd99999@aliyun6073,cntaobaoab8899 -cnphpwnd99999@aliyun6074,cntaobaoab890217 -cnphpwnd99999@aliyun6075,cntaobaoab8u8 -cnphpwnd99999@aliyun6076,cntaobaoab910108 -cnphpwnd99999@aliyun6077,cntaobaoab930520 -cnphpwnd99999@aliyun6078,cntaobaoab94784499 -cnphpwnd99999@aliyun6079,cntaobaoab9527 -cnphpwnd99999@aliyun6080,cntaobaoab96213 -cnphpwnd99999@aliyun6081,cntaobaoab_1jiangweiwei -cnphpwnd99999@aliyun6082,cntaobaoab_abjiaoyan -cnphpwnd99999@aliyun6083,cntaobaoab_ac -cnphpwnd99999@aliyun6084,cntaobaoab_jty -cnphpwnd99999@aliyun6085,cntaobaoaba000000 -cnphpwnd99999@aliyun6086,cntaobaoaba993620aba -cnphpwnd99999@aliyun6087,cntaobaoabaa -cnphpwnd99999@aliyun6088,cntaobaoabab -cnphpwnd99999@aliyun6089,cntaobaoabab0000 -cnphpwnd99999@aliyun6090,cntaobaoabab0101 -cnphpwnd99999@aliyun6091,cntaobaoabab123 -cnphpwnd99999@aliyun6092,cntaobaoabab13 -cnphpwnd99999@aliyun6093,cntaobaoabab2000 -cnphpwnd99999@aliyun6094,cntaobaoababa658 -cnphpwnd99999@aliyun6095,cntaobaoababab31 -cnphpwnd99999@aliyun6096,cntaobaoababab666 -cnphpwnd99999@aliyun6097,cntaobaoabababb -cnphpwnd99999@aliyun6098,cntaobaoabababdd -cnphpwnd99999@aliyun6099,cntaobaoabababffff -cnphpwnd99999@aliyun6100,cntaobaoababb -cnphpwnd99999@aliyun6101,cntaobaoababc002 -cnphpwnd99999@aliyun6102,cntaobaoababcd_jy -cnphpwnd99999@aliyun6103,cntaobaoababo56o -cnphpwnd99999@aliyun6104,cntaobaoababobob -cnphpwnd99999@aliyun6105,cntaobaoababy11198 -cnphpwnd99999@aliyun6106,cntaobaoabac222 -cnphpwnd99999@aliyun6107,cntaobaoabac851012 -cnphpwnd99999@aliyun6108,cntaobaoabaca -cnphpwnd99999@aliyun6109,cntaobaoaback -cnphpwnd99999@aliyun6110,cntaobaoaback2004 -cnphpwnd99999@aliyun6111,cntaobaoabacs -cnphpwnd99999@aliyun6112,cntaobaoabacus -cnphpwnd99999@aliyun6113,cntaobaoabacus123 -cnphpwnd99999@aliyun6114,cntaobaoabaddon-lg -cnphpwnd99999@aliyun6115,cntaobaoabadi -cnphpwnd99999@aliyun6116,cntaobaoabadian -cnphpwnd99999@aliyun6117,cntaobaoabadong -cnphpwnd99999@aliyun6118,cntaobaoabaffgga -cnphpwnd99999@aliyun6119,cntaobaoabagail -cnphpwnd99999@aliyun6120,cntaobaoabai2003 -cnphpwnd99999@aliyun6121,cntaobaoabaibba -cnphpwnd99999@aliyun6122,cntaobaoabaiyang -cnphpwnd99999@aliyun6123,cntaobaoabala -cnphpwnd99999@aliyun6124,cntaobaoabalone030 -cnphpwnd99999@aliyun6125,cntaobaoabamao -cnphpwnd99999@aliyun6126,cntaobaoaban1986 -cnphpwnd99999@aliyun6127,cntaobaoaban202 -cnphpwnd99999@aliyun6128,cntaobaoaban_cao -cnphpwnd99999@aliyun6129,cntaobaoabanban -cnphpwnd99999@aliyun6130,cntaobaoabanban_1978 -cnphpwnd99999@aliyun6131,cntaobaoabandoned -cnphpwnd99999@aliyun6132,cntaobaoabang-c -cnphpwnd99999@aliyun6133,cntaobaoabang8788 -cnphpwnd99999@aliyun6134,cntaobaoabangge -cnphpwnd99999@aliyun6135,cntaobaoabangtb -cnphpwnd99999@aliyun6136,cntaobaoabanlan -cnphpwnd99999@aliyun6137,cntaobaoabanny -cnphpwnd99999@aliyun6138,cntaobaoabanpar -cnphpwnd99999@aliyun6139,cntaobaoabao.zhang -cnphpwnd99999@aliyun6140,cntaobaoabao0453 -cnphpwnd99999@aliyun6141,cntaobaoabao0988 -cnphpwnd99999@aliyun6142,cntaobaoabao110 -cnphpwnd99999@aliyun6143,cntaobaoabao130 -cnphpwnd99999@aliyun6144,cntaobaoabao1975 -cnphpwnd99999@aliyun6145,cntaobaoabao19810904 -cnphpwnd99999@aliyun6146,cntaobaoabao2013 -cnphpwnd99999@aliyun6147,cntaobaoabao301 -cnphpwnd99999@aliyun6148,cntaobaoabao310 -cnphpwnd99999@aliyun6149,cntaobaoabao314 -cnphpwnd99999@aliyun6150,cntaobaoabao414 -cnphpwnd99999@aliyun6151,cntaobaoabao45 -cnphpwnd99999@aliyun6152,cntaobaoabao513 -cnphpwnd99999@aliyun6153,cntaobaoabao518_pla -cnphpwnd99999@aliyun6154,cntaobaoabao_13 -cnphpwnd99999@aliyun6155,cntaobaoabao_521 -cnphpwnd99999@aliyun6156,cntaobaoabao_87828 -cnphpwnd99999@aliyun6157,cntaobaoabaobaifan -cnphpwnd99999@aliyun6158,cntaobaoabaobao10 -cnphpwnd99999@aliyun6159,cntaobaoabaobao81385567 -cnphpwnd99999@aliyun6160,cntaobaoabaocn -cnphpwnd99999@aliyun6161,cntaobaoabaoer -cnphpwnd99999@aliyun6162,cntaobaoabaohome -cnphpwnd99999@aliyun6163,cntaobaoabaohuai -cnphpwnd99999@aliyun6164,cntaobaoabaok -cnphpwnd99999@aliyun6165,cntaobaoabaokeke -cnphpwnd99999@aliyun6166,cntaobaoabaolulu -cnphpwnd99999@aliyun6167,cntaobaoabaoni1 -cnphpwnd99999@aliyun6168,cntaobaoabaoo -cnphpwnd99999@aliyun6169,cntaobaoabaoone -cnphpwnd99999@aliyun6170,cntaobaoabaoooo0 -cnphpwnd99999@aliyun6171,cntaobaoabaoshan2000 -cnphpwnd99999@aliyun6172,cntaobaoabaoshiwo -cnphpwnd99999@aliyun6173,cntaobaoabaowuli -cnphpwnd99999@aliyun6174,cntaobaoabas -cnphpwnd99999@aliyun6175,cntaobaoabase_love -cnphpwnd99999@aliyun6176,cntaobaoabashed001012 -cnphpwnd99999@aliyun6177,cntaobaoabaubja -cnphpwnd99999@aliyun6178,cntaobaoabaw0705 -cnphpwnd99999@aliyun6179,cntaobaoabaw1601 -cnphpwnd99999@aliyun6180,cntaobaoabaw7410 -cnphpwnd99999@aliyun6181,cntaobaoabaya -cnphpwnd99999@aliyun6182,cntaobaoabazwb -cnphpwnd99999@aliyun6183,cntaobaoabb.chenmeng -cnphpwnd99999@aliyun6184,cntaobaoabb02141 -cnphpwnd99999@aliyun6185,cntaobaoabb2003 -cnphpwnd99999@aliyun6186,cntaobaoabb27808 -cnphpwnd99999@aliyun6187,cntaobaoabb321 -cnphpwnd99999@aliyun6188,cntaobaoabb662008 -cnphpwnd99999@aliyun6189,cntaobaoabb668 -cnphpwnd99999@aliyun6190,cntaobaoabb843300 -cnphpwnd99999@aliyun6191,cntaobaoabba0214 -cnphpwnd99999@aliyun6192,cntaobaoabba1 -cnphpwnd99999@aliyun6193,cntaobaoabba1231 -cnphpwnd99999@aliyun6194,cntaobaoabba25 -cnphpwnd99999@aliyun6195,cntaobaoabba_12 -cnphpwnd99999@aliyun6196,cntaobaoabba_jjz -cnphpwnd99999@aliyun6197,cntaobaoabbaaa -cnphpwnd99999@aliyun6198,cntaobaoabbabb456 -cnphpwnd99999@aliyun6199,cntaobaoabbachen -cnphpwnd99999@aliyun6200,cntaobaoabbafay -cnphpwnd99999@aliyun6201,cntaobaoabbanbts -cnphpwnd99999@aliyun6202,cntaobaoabbao -cnphpwnd99999@aliyun6203,cntaobaoabbaoble -cnphpwnd99999@aliyun6204,cntaobaoabbaok -cnphpwnd99999@aliyun6205,cntaobaoabbasi -cnphpwnd99999@aliyun6206,cntaobaoabbba -cnphpwnd99999@aliyun6207,cntaobaoabbbbbbbbbbbbbbbbbbb -cnphpwnd99999@aliyun6208,cntaobaoabbc123 -cnphpwnd99999@aliyun6209,cntaobaoabbcccdddd -cnphpwnd99999@aliyun6210,cntaobaoabbcccddddlu -cnphpwnd99999@aliyun6211,cntaobaoabbe -cnphpwnd99999@aliyun6212,cntaobaoabbend -cnphpwnd99999@aliyun6213,cntaobaoabbess -cnphpwnd99999@aliyun6214,cntaobaoabbessnet -cnphpwnd99999@aliyun6215,cntaobaoabbey-zheng -cnphpwnd99999@aliyun6216,cntaobaoabbey112534 -cnphpwnd99999@aliyun6217,cntaobaoabbey2004 -cnphpwnd99999@aliyun6218,cntaobaoabbey_0404 -cnphpwnd99999@aliyun6219,cntaobaoabbeyty -cnphpwnd99999@aliyun6220,cntaobaoabbie11 -cnphpwnd99999@aliyun6221,cntaobaoabbigale -cnphpwnd99999@aliyun6222,cntaobaoabbkaisa -cnphpwnd99999@aliyun6223,cntaobaoabbluo -cnphpwnd99999@aliyun6224,cntaobaoabbot_0000 -cnphpwnd99999@aliyun6225,cntaobaoabbottf -cnphpwnd99999@aliyun6226,cntaobaoabbottzz -cnphpwnd99999@aliyun6227,cntaobaoabbre -cnphpwnd99999@aliyun6228,cntaobaoabbs2000 -cnphpwnd99999@aliyun6229,cntaobaoabbs52951962 -cnphpwnd99999@aliyun6230,cntaobaoabbtt -cnphpwnd99999@aliyun6231,cntaobaoabbx -cnphpwnd99999@aliyun6232,cntaobaoabby-young -cnphpwnd99999@aliyun6233,cntaobaoabby.chen -cnphpwnd99999@aliyun6234,cntaobaoabby0214 -cnphpwnd99999@aliyun6235,cntaobaoabby0802 -cnphpwnd99999@aliyun6236,cntaobaoabby1102 -cnphpwnd99999@aliyun6237,cntaobaoabby1819 -cnphpwnd99999@aliyun6238,cntaobaoabby18891476 -cnphpwnd99999@aliyun6239,cntaobaoabby2004 -cnphpwnd99999@aliyun6240,cntaobaoabby2458 -cnphpwnd99999@aliyun6241,cntaobaoabby3388 -cnphpwnd99999@aliyun6242,cntaobaoabby411 -cnphpwnd99999@aliyun6243,cntaobaoabby61 -cnphpwnd99999@aliyun6244,cntaobaoabby633 -cnphpwnd99999@aliyun6245,cntaobaoabby7160 -cnphpwnd99999@aliyun6246,cntaobaoabby81 -cnphpwnd99999@aliyun6247,cntaobaoabby980650 -cnphpwnd99999@aliyun6248,cntaobaoabby_lee995 -cnphpwnd99999@aliyun6249,cntaobaoabbya -cnphpwnd99999@aliyun6250,cntaobaoabbyabbie_853 -cnphpwnd99999@aliyun6251,cntaobaoabbyabby -cnphpwnd99999@aliyun6252,cntaobaoabbychoi -cnphpwnd99999@aliyun6253,cntaobaoabbydu -cnphpwnd99999@aliyun6254,cntaobaoabbyhsu -cnphpwnd99999@aliyun6255,cntaobaoabbyii -cnphpwnd99999@aliyun6256,cntaobaoabbyjing -cnphpwnd99999@aliyun6257,cntaobaoabbykang -cnphpwnd99999@aliyun6258,cntaobaoabbylai -cnphpwnd99999@aliyun6259,cntaobaoabbyli_r -cnphpwnd99999@aliyun6260,cntaobaoabbylier -cnphpwnd99999@aliyun6261,cntaobaoabbyling -cnphpwnd99999@aliyun6262,cntaobaoabbylovelk -cnphpwnd99999@aliyun6263,cntaobaoabbyluyuan -cnphpwnd99999@aliyun6264,cntaobaoabbymaynell -cnphpwnd99999@aliyun6265,cntaobaoabbymm123 -cnphpwnd99999@aliyun6266,cntaobaoabbynannan -cnphpwnd99999@aliyun6267,cntaobaoabbyszgirl -cnphpwnd99999@aliyun6268,cntaobaoabbytang -cnphpwnd99999@aliyun6269,cntaobaoabbyu -cnphpwnd99999@aliyun6270,cntaobaoabbywa -cnphpwnd99999@aliyun6271,cntaobaoabbyxyzfengping -cnphpwnd99999@aliyun6272,cntaobaoabbyyc -cnphpwnd99999@aliyun6273,cntaobaoabbyzhou -cnphpwnd99999@aliyun6274,cntaobaoabc-123 -cnphpwnd99999@aliyun6275,cntaobaoabc-172302 -cnphpwnd99999@aliyun6276,cntaobaoabc-4321389 -cnphpwnd99999@aliyun6277,cntaobaoabc-9999 -cnphpwnd99999@aliyun6278,cntaobaoabc-boy -cnphpwnd99999@aliyun6279,cntaobaoabc-tan -cnphpwnd99999@aliyun6280,cntaobaoabc-yuagng -cnphpwnd99999@aliyun6281,cntaobaoabc.1.2.3 -cnphpwnd99999@aliyun6282,cntaobaoabc.jxm -cnphpwnd99999@aliyun6283,cntaobaoabc00 -cnphpwnd99999@aliyun6284,cntaobaoabc0000 -cnphpwnd99999@aliyun6285,cntaobaoabc00000 -cnphpwnd99999@aliyun6286,cntaobaoabc000099 -cnphpwnd99999@aliyun6287,cntaobaoabc0002 -cnphpwnd99999@aliyun6288,cntaobaoabc0006 -cnphpwnd99999@aliyun6289,cntaobaoabc00079 -cnphpwnd99999@aliyun6290,cntaobaoabc000_2005 -cnphpwnd99999@aliyun6291,cntaobaoabc000_2008 -cnphpwnd99999@aliyun6292,cntaobaoabc000abc88 -cnphpwnd99999@aliyun6293,cntaobaoabc000mei -cnphpwnd99999@aliyun6294,cntaobaoabc000qqq -cnphpwnd99999@aliyun6295,cntaobaoabc001 -cnphpwnd99999@aliyun6296,cntaobaoabc001001 -cnphpwnd99999@aliyun6297,cntaobaoabc0010011 -cnphpwnd99999@aliyun6298,cntaobaoabc0011 -cnphpwnd99999@aliyun6299,cntaobaoabc001110 -cnphpwnd99999@aliyun6300,cntaobaoabc001122 -cnphpwnd99999@aliyun6301,cntaobaoabc0012 -cnphpwnd99999@aliyun6302,cntaobaoabc00123 -cnphpwnd99999@aliyun6303,cntaobaoabc00191 -cnphpwnd99999@aliyun6304,cntaobaoabc001def001 -cnphpwnd99999@aliyun6305,cntaobaoabc001jx -cnphpwnd99999@aliyun6306,cntaobaoabc002 -cnphpwnd99999@aliyun6307,cntaobaoabc002:2 -cnphpwnd99999@aliyun6308,cntaobaoabc003500 -cnphpwnd99999@aliyun6309,cntaobaoabc00369 -cnphpwnd99999@aliyun6310,cntaobaoabc0036987 -cnphpwnd99999@aliyun6311,cntaobaoabc003_xie -cnphpwnd99999@aliyun6312,cntaobaoabc004 -cnphpwnd99999@aliyun6313,cntaobaoabc0046cn -cnphpwnd99999@aliyun6314,cntaobaoabc005 -cnphpwnd99999@aliyun6315,cntaobaoabc006 -cnphpwnd99999@aliyun6316,cntaobaoabc007 -cnphpwnd99999@aliyun6317,cntaobaoabc007000 -cnphpwnd99999@aliyun6318,cntaobaoabc0073 -cnphpwnd99999@aliyun6319,cntaobaoabc0073100 -cnphpwnd99999@aliyun6320,cntaobaoabc0076 -cnphpwnd99999@aliyun6321,cntaobaoabc007wlq -cnphpwnd99999@aliyun6322,cntaobaoabc0081 -cnphpwnd99999@aliyun6323,cntaobaoabc008_008 -cnphpwnd99999@aliyun6324,cntaobaoabc008kkk -cnphpwnd99999@aliyun6325,cntaobaoabc009 -cnphpwnd99999@aliyun6326,cntaobaoabc00922 -cnphpwnd99999@aliyun6327,cntaobaoabc0099 -cnphpwnd99999@aliyun6328,cntaobaoabc01 -cnphpwnd99999@aliyun6329,cntaobaoabc0101 -cnphpwnd99999@aliyun6330,cntaobaoabc0101def -cnphpwnd99999@aliyun6331,cntaobaoabc0110 -cnphpwnd99999@aliyun6332,cntaobaoabc011098 -cnphpwnd99999@aliyun6333,cntaobaoabc0112 -cnphpwnd99999@aliyun6334,cntaobaoabc01222 -cnphpwnd99999@aliyun6335,cntaobaoabc01230123 -cnphpwnd99999@aliyun6336,cntaobaoabc01230456 -cnphpwnd99999@aliyun6337,cntaobaoabc0123456a -cnphpwnd99999@aliyun6338,cntaobaoabc0125 -cnphpwnd99999@aliyun6339,cntaobaoabc0127 -cnphpwnd99999@aliyun6340,cntaobaoabc0150 -cnphpwnd99999@aliyun6341,cntaobaoabc0165 -cnphpwnd99999@aliyun6342,cntaobaoabc016501 -cnphpwnd99999@aliyun6343,cntaobaoabc02 -cnphpwnd99999@aliyun6344,cntaobaoabc020 -cnphpwnd99999@aliyun6345,cntaobaoabc0202 -cnphpwnd99999@aliyun6346,cntaobaoabc020409 -cnphpwnd99999@aliyun6347,cntaobaoabc021 -cnphpwnd99999@aliyun6348,cntaobaoabc0216789 -cnphpwnd99999@aliyun6349,cntaobaoabc023 -cnphpwnd99999@aliyun6350,cntaobaoabc0258520 -cnphpwnd99999@aliyun6351,cntaobaoabc027 -cnphpwnd99999@aliyun6352,cntaobaoabc027_2005 -cnphpwnd99999@aliyun6353,cntaobaoabc0311 -cnphpwnd99999@aliyun6354,cntaobaoabc0316 -cnphpwnd99999@aliyun6355,cntaobaoabc0316zk -cnphpwnd99999@aliyun6356,cntaobaoabc0318959 -cnphpwnd99999@aliyun6357,cntaobaoabc0350 -cnphpwnd99999@aliyun6358,cntaobaoabc03504 -cnphpwnd99999@aliyun6359,cntaobaoabc0351 -cnphpwnd99999@aliyun6360,cntaobaoabc035140129 -cnphpwnd99999@aliyun6361,cntaobaoabc0365 -cnphpwnd99999@aliyun6362,cntaobaoabc041208 -cnphpwnd99999@aliyun6363,cntaobaoabc0421 -cnphpwnd99999@aliyun6364,cntaobaoabc0426 -cnphpwnd99999@aliyun6365,cntaobaoabc042773 -cnphpwnd99999@aliyun6366,cntaobaoabc0429 -cnphpwnd99999@aliyun6367,cntaobaoabc04592 -cnphpwnd99999@aliyun6368,cntaobaoabc050300223 -cnphpwnd99999@aliyun6369,cntaobaoabc0512 -cnphpwnd99999@aliyun6370,cntaobaoabc0512888 -cnphpwnd99999@aliyun6371,cntaobaoabc0514 -cnphpwnd99999@aliyun6372,cntaobaoabc05169 -cnphpwnd99999@aliyun6373,cntaobaoabc0517 -cnphpwnd99999@aliyun6374,cntaobaoabc0517_cn -cnphpwnd99999@aliyun6375,cntaobaoabc0519 -cnphpwnd99999@aliyun6376,cntaobaoabc0520 -cnphpwnd99999@aliyun6377,cntaobaoabc0523 -cnphpwnd99999@aliyun6378,cntaobaoabc05300517 -cnphpwnd99999@aliyun6379,cntaobaoabc0531 -cnphpwnd99999@aliyun6380,cntaobaoabc05312 -cnphpwnd99999@aliyun6381,cntaobaoabc05321 -cnphpwnd99999@aliyun6382,cntaobaoabc05482 -cnphpwnd99999@aliyun6383,cntaobaoabc06 -cnphpwnd99999@aliyun6384,cntaobaoabc060214 -cnphpwnd99999@aliyun6385,cntaobaoabc0660 -cnphpwnd99999@aliyun6386,cntaobaoabc0666 -cnphpwnd99999@aliyun6387,cntaobaoabc070687abc -cnphpwnd99999@aliyun6388,cntaobaoabc07123 -cnphpwnd99999@aliyun6389,cntaobaoabc0724 -cnphpwnd99999@aliyun6390,cntaobaoabc0727 -cnphpwnd99999@aliyun6391,cntaobaoabc0728 -cnphpwnd99999@aliyun6392,cntaobaoabc0731 -cnphpwnd99999@aliyun6393,cntaobaoabc0797 -cnphpwnd99999@aliyun6394,cntaobaoabc0798 -cnphpwnd99999@aliyun6395,cntaobaoabc0810 -cnphpwnd99999@aliyun6396,cntaobaoabc0828 -cnphpwnd99999@aliyun6397,cntaobaoabc085123 -cnphpwnd99999@aliyun6398,cntaobaoabc0852 -cnphpwnd99999@aliyun6399,cntaobaoabc0863156 -cnphpwnd99999@aliyun6400,cntaobaoabc09070552 -cnphpwnd99999@aliyun6401,cntaobaoabc090705521 -cnphpwnd99999@aliyun6402,cntaobaoabc0909 -cnphpwnd99999@aliyun6403,cntaobaoabc092004 -cnphpwnd99999@aliyun6404,cntaobaoabc0987 -cnphpwnd99999@aliyun6405,cntaobaoabc0987654321_2005 -cnphpwnd99999@aliyun6406,cntaobaoabc0_0cba -cnphpwnd99999@aliyun6407,cntaobaoabc0abc0 -cnphpwnd99999@aliyun6408,cntaobaoabc0xx -cnphpwnd99999@aliyun6409,cntaobaoabc1.2.3 -cnphpwnd99999@aliyun6410,cntaobaoabc1000 -cnphpwnd99999@aliyun6411,cntaobaoabc1000000 -cnphpwnd99999@aliyun6412,cntaobaoabc10001 -cnphpwnd99999@aliyun6413,cntaobaoabc1000m -cnphpwnd99999@aliyun6414,cntaobaoabc100200321456 -cnphpwnd99999@aliyun6415,cntaobaoabc100326 -cnphpwnd99999@aliyun6416,cntaobaoabc10066 -cnphpwnd99999@aliyun6417,cntaobaoabc1008 -cnphpwnd99999@aliyun6418,cntaobaoabc100abc -cnphpwnd99999@aliyun6419,cntaobaoabc101010 -cnphpwnd99999@aliyun6420,cntaobaoabc101034 -cnphpwnd99999@aliyun6421,cntaobaoabc1013110910 -cnphpwnd99999@aliyun6422,cntaobaoabc1014119 -cnphpwnd99999@aliyun6423,cntaobaoabc1016 -cnphpwnd99999@aliyun6424,cntaobaoabc10188 -cnphpwnd99999@aliyun6425,cntaobaoabc1020 -cnphpwnd99999@aliyun6426,cntaobaoabc102080 -cnphpwnd99999@aliyun6427,cntaobaoabc102100188 -cnphpwnd99999@aliyun6428,cntaobaoabc1022 -cnphpwnd99999@aliyun6429,cntaobaoabc1025311 -cnphpwnd99999@aliyun6430,cntaobaoabc10282 -cnphpwnd99999@aliyun6431,cntaobaoabc1031 -cnphpwnd99999@aliyun6432,cntaobaoabc1035_yan -cnphpwnd99999@aliyun6433,cntaobaoabc103838 -cnphpwnd99999@aliyun6434,cntaobaoabc103abc -cnphpwnd99999@aliyun6435,cntaobaoabc104 -cnphpwnd99999@aliyun6436,cntaobaoabc104666124 -cnphpwnd99999@aliyun6437,cntaobaoabc1058 -cnphpwnd99999@aliyun6438,cntaobaoabc108888 -cnphpwnd99999@aliyun6439,cntaobaoabc109225 -cnphpwnd99999@aliyun6440,cntaobaoabc109488 -cnphpwnd99999@aliyun6441,cntaobaoabc10_10 -cnphpwnd99999@aliyun6442,cntaobaoabc110 -cnphpwnd99999@aliyun6443,cntaobaoabc110013368 -cnphpwnd99999@aliyun6444,cntaobaoabc1101 -cnphpwnd99999@aliyun6445,cntaobaoabc110119 -cnphpwnd99999@aliyun6446,cntaobaoabc1102 -cnphpwnd99999@aliyun6447,cntaobaoabc1104abc -cnphpwnd99999@aliyun6448,cntaobaoabc110abc -cnphpwnd99999@aliyun6449,cntaobaoabc110zhu -cnphpwnd99999@aliyun6450,cntaobaoabc111 -cnphpwnd99999@aliyun6451,cntaobaoabc111000 -cnphpwnd99999@aliyun6452,cntaobaoabc111222333 -cnphpwnd99999@aliyun6453,cntaobaoabc111312 -cnphpwnd99999@aliyun6454,cntaobaoabc111333555 -cnphpwnd99999@aliyun6455,cntaobaoabc111658 -cnphpwnd99999@aliyun6456,cntaobaoabc1117 -cnphpwnd99999@aliyun6457,cntaobaoabc111811 -cnphpwnd99999@aliyun6458,cntaobaoabc111abc -cnphpwnd99999@aliyun6459,cntaobaoabc112233abc -cnphpwnd99999@aliyun6460,cntaobaoabc112234501 -cnphpwnd99999@aliyun6461,cntaobaoabc112288 -cnphpwnd99999@aliyun6462,cntaobaoabc1126843 -cnphpwnd99999@aliyun6463,cntaobaoabc112_2005 -cnphpwnd99999@aliyun6464,cntaobaoabc113006431956 -cnphpwnd99999@aliyun6465,cntaobaoabc113511 -cnphpwnd99999@aliyun6466,cntaobaoabc114410 -cnphpwnd99999@aliyun6467,cntaobaoabc11571 -cnphpwnd99999@aliyun6468,cntaobaoabc116466123 -cnphpwnd99999@aliyun6469,cntaobaoabc116862 -cnphpwnd99999@aliyun6470,cntaobaoabc116_cn2 -cnphpwnd99999@aliyun6471,cntaobaoabc117 -cnphpwnd99999@aliyun6472,cntaobaoabc11722984 -cnphpwnd99999@aliyun6473,cntaobaoabc1178 -cnphpwnd99999@aliyun6474,cntaobaoabc118508 -cnphpwnd99999@aliyun6475,cntaobaoabc11888 -cnphpwnd99999@aliyun6476,cntaobaoabc11899168 -cnphpwnd99999@aliyun6477,cntaobaoabc119 -cnphpwnd99999@aliyun6478,cntaobaoabc1190313 -cnphpwnd99999@aliyun6479,cntaobaoabc1192 -cnphpwnd99999@aliyun6480,cntaobaoabc1192005 -cnphpwnd99999@aliyun6481,cntaobaoabc11938.m -cnphpwnd99999@aliyun6482,cntaobaoabc11lxl -cnphpwnd99999@aliyun6483,cntaobaoabc12 -cnphpwnd99999@aliyun6484,cntaobaoabc1200 -cnphpwnd99999@aliyun6485,cntaobaoabc12011 -cnphpwnd99999@aliyun6486,cntaobaoabc120436022 -cnphpwnd99999@aliyun6487,cntaobaoabc120947 -cnphpwnd99999@aliyun6488,cntaobaoabc12111 -cnphpwnd99999@aliyun6489,cntaobaoabc1212 -cnphpwnd99999@aliyun6490,cntaobaoabc1212123001 -cnphpwnd99999@aliyun6491,cntaobaoabc121212abc -cnphpwnd99999@aliyun6492,cntaobaoabc1215 -cnphpwnd99999@aliyun6493,cntaobaoabc1215_1109 -cnphpwnd99999@aliyun6494,cntaobaoabc1218 -cnphpwnd99999@aliyun6495,cntaobaoabc121ab -cnphpwnd99999@aliyun6496,cntaobaoabc122 -cnphpwnd99999@aliyun6497,cntaobaoabc1225 -cnphpwnd99999@aliyun6498,cntaobaoabc122600 -cnphpwnd99999@aliyun6499,cntaobaoabc1226zxm -cnphpwnd99999@aliyun6500,cntaobaoabc122_2005 -cnphpwnd99999@aliyun6501,cntaobaoabc123 -cnphpwnd99999@aliyun6502,cntaobaoabc1230 -cnphpwnd99999@aliyun6503,cntaobaoabc123101222 -cnphpwnd99999@aliyun6504,cntaobaoabc12311 -cnphpwnd99999@aliyun6505,cntaobaoabc123110 -cnphpwnd99999@aliyun6506,cntaobaoabc123111 -cnphpwnd99999@aliyun6507,cntaobaoabc123116 -cnphpwnd99999@aliyun6508,cntaobaoabc12311881 -cnphpwnd99999@aliyun6509,cntaobaoabc123123123 -cnphpwnd99999@aliyun6510,cntaobaoabc1231235 -cnphpwnd99999@aliyun6511,cntaobaoabc1231236 -cnphpwnd99999@aliyun6512,cntaobaoabc123124 -cnphpwnd99999@aliyun6513,cntaobaoabc123147 -cnphpwnd99999@aliyun6514,cntaobaoabc12315_007 -cnphpwnd99999@aliyun6515,cntaobaoabc1231970 -cnphpwnd99999@aliyun6516,cntaobaoabc123198522 -cnphpwnd99999@aliyun6517,cntaobaoabc1231abc -cnphpwnd99999@aliyun6518,cntaobaoabc12320052005 -cnphpwnd99999@aliyun6519,cntaobaoabc12321 -cnphpwnd99999@aliyun6520,cntaobaoabc1232321 -cnphpwnd99999@aliyun6521,cntaobaoabc123248 -cnphpwnd99999@aliyun6522,cntaobaoabc123264 -cnphpwnd99999@aliyun6523,cntaobaoabc123285969004 -cnphpwnd99999@aliyun6524,cntaobaoabc12330 -cnphpwnd99999@aliyun6525,cntaobaoabc123321 -cnphpwnd99999@aliyun6526,cntaobaoabc12332123 -cnphpwnd99999@aliyun6527,cntaobaoabc1233214 -cnphpwnd99999@aliyun6528,cntaobaoabc12332188 -cnphpwnd99999@aliyun6529,cntaobaoabc1233252 -cnphpwnd99999@aliyun6530,cntaobaoabc123345 -cnphpwnd99999@aliyun6531,cntaobaoabc12336 -cnphpwnd99999@aliyun6532,cntaobaoabc123369 -cnphpwnd99999@aliyun6533,cntaobaoabc123398717 -cnphpwnd99999@aliyun6534,cntaobaoabc1234 -cnphpwnd99999@aliyun6535,cntaobaoabc1234020 -cnphpwnd99999@aliyun6536,cntaobaoabc123412 -cnphpwnd99999@aliyun6537,cntaobaoabc12345 -cnphpwnd99999@aliyun6538,cntaobaoabc123456 -cnphpwnd99999@aliyun6539,cntaobaoabc1234566 -cnphpwnd99999@aliyun6540,cntaobaoabc123456654 -cnphpwnd99999@aliyun6541,cntaobaoabc12345678 -cnphpwnd99999@aliyun6542,cntaobaoabc12345678901 -cnphpwnd99999@aliyun6543,cntaobaoabc12345678903 -cnphpwnd99999@aliyun6544,cntaobaoabc1234567890_007 -cnphpwnd99999@aliyun6545,cntaobaoabc1234567abc88 -cnphpwnd99999@aliyun6546,cntaobaoabc123456ddd -cnphpwnd99999@aliyun6547,cntaobaoabc123456sdf -cnphpwnd99999@aliyun6548,cntaobaoabc12345888 -cnphpwnd99999@aliyun6549,cntaobaoabc12345de -cnphpwnd99999@aliyun6550,cntaobaoabc12345我的天 -cnphpwnd99999@aliyun6551,cntaobaoabc1234860 -cnphpwnd99999@aliyun6552,cntaobaoabc1234are -cnphpwnd99999@aliyun6553,cntaobaoabc12351 -cnphpwnd99999@aliyun6554,cntaobaoabc123520 -cnphpwnd99999@aliyun6555,cntaobaoabc123555 -cnphpwnd99999@aliyun6556,cntaobaoabc1235688 -cnphpwnd99999@aliyun6557,cntaobaoabc123588 -cnphpwnd99999@aliyun6558,cntaobaoabc123614 -cnphpwnd99999@aliyun6559,cntaobaoabc123623638 -cnphpwnd99999@aliyun6560,cntaobaoabc1236425 -cnphpwnd99999@aliyun6561,cntaobaoabc123654789 -cnphpwnd99999@aliyun6562,cntaobaoabc1236548 -cnphpwnd99999@aliyun6563,cntaobaoabc123678abc -cnphpwnd99999@aliyun6564,cntaobaoabc123688 -cnphpwnd99999@aliyun6565,cntaobaoabc123694631 -cnphpwnd99999@aliyun6566,cntaobaoabc1237887855 -cnphpwnd99999@aliyun6567,cntaobaoabc123789456 -cnphpwnd99999@aliyun6568,cntaobaoabc123828521 -cnphpwnd99999@aliyun6569,cntaobaoabc123853229 -cnphpwnd99999@aliyun6570,cntaobaoabc12388001 -cnphpwnd99999@aliyun6571,cntaobaoabc123881 -cnphpwnd99999@aliyun6572,cntaobaoabc123886 -cnphpwnd99999@aliyun6573,cntaobaoabc1238888 -cnphpwnd99999@aliyun6574,cntaobaoabc123890 -cnphpwnd99999@aliyun6575,cntaobaoabc123902 -cnphpwnd99999@aliyun6576,cntaobaoabc123988 -cnphpwnd99999@aliyun6577,cntaobaoabc123999 -cnphpwnd99999@aliyun6578,cntaobaoabc123_123456 -cnphpwnd99999@aliyun6579,cntaobaoabc123_2004 -cnphpwnd99999@aliyun6580,cntaobaoabc123_213 -cnphpwnd99999@aliyun6581,cntaobaoabc123_abc123 -cnphpwnd99999@aliyun6582,cntaobaoabc123_nie -cnphpwnd99999@aliyun6583,cntaobaoabc123_tb -cnphpwnd99999@aliyun6584,cntaobaoabc123_zhu -cnphpwnd99999@aliyun6585,cntaobaoabc123ab -cnphpwnd99999@aliyun6586,cntaobaoabc123abc -cnphpwnd99999@aliyun6587,cntaobaoabc123abc123abc -cnphpwnd99999@aliyun6588,cntaobaoabc123abc123abc123 -cnphpwnd99999@aliyun6589,cntaobaoabc123abc321 -cnphpwnd99999@aliyun6590,cntaobaoabc123abc456 -cnphpwnd99999@aliyun6591,cntaobaoabc123abc45611 -cnphpwnd99999@aliyun6592,cntaobaoabc123abc5 -cnphpwnd99999@aliyun6593,cntaobaoabc123abc789 -cnphpwnd99999@aliyun6594,cntaobaoabc123abx -cnphpwnd99999@aliyun6595,cntaobaoabc123acb -cnphpwnd99999@aliyun6596,cntaobaoabc123aoe -cnphpwnd99999@aliyun6597,cntaobaoabc123asd -cnphpwnd99999@aliyun6598,cntaobaoabc123boy -cnphpwnd99999@aliyun6599,cntaobaoabc123c -cnphpwnd99999@aliyun6600,cntaobaoabc123ccc -cnphpwnd99999@aliyun6601,cntaobaoabc123chen -cnphpwnd99999@aliyun6602,cntaobaoabc123cn -cnphpwnd99999@aliyun6603,cntaobaoabc123def456 -cnphpwnd99999@aliyun6604,cntaobaoabc123e -cnphpwnd99999@aliyun6605,cntaobaoabc123ee -cnphpwnd99999@aliyun6606,cntaobaoabc123ff -cnphpwnd99999@aliyun6607,cntaobaoabc123fgh -cnphpwnd99999@aliyun6608,cntaobaoabc123go -cnphpwnd99999@aliyun6609,cntaobaoabc123gwu -cnphpwnd99999@aliyun6610,cntaobaoabc123hjg -cnphpwnd99999@aliyun6611,cntaobaoabc123hope -cnphpwnd99999@aliyun6612,cntaobaoabc123hyf -cnphpwnd99999@aliyun6613,cntaobaoabc123jie88 -cnphpwnd99999@aliyun6614,cntaobaoabc123love -cnphpwnd99999@aliyun6615,cntaobaoabc123lxj -cnphpwnd99999@aliyun6616,cntaobaoabc123ma -cnphpwnd99999@aliyun6617,cntaobaoabc123may -cnphpwnd99999@aliyun6618,cntaobaoabc123mmm -cnphpwnd99999@aliyun6619,cntaobaoabc123qaz -cnphpwnd99999@aliyun6620,cntaobaoabc123syz -cnphpwnd99999@aliyun6621,cntaobaoabc123thw -cnphpwnd99999@aliyun6622,cntaobaoabc123tnt -cnphpwnd99999@aliyun6623,cntaobaoabc123wh -cnphpwnd99999@aliyun6624,cntaobaoabc123wm -cnphpwnd99999@aliyun6625,cntaobaoabc123x -cnphpwnd99999@aliyun6626,cntaobaoabc123xx_2006 -cnphpwnd99999@aliyun6627,cntaobaoabc123xyz -cnphpwnd99999@aliyun6628,cntaobaoabc123yan -cnphpwnd99999@aliyun6629,cntaobaoabc123yingxian -cnphpwnd99999@aliyun6630,cntaobaoabc123zangyan -cnphpwnd99999@aliyun6631,cntaobaoabc123zyf -cnphpwnd99999@aliyun6632,cntaobaoabc123俊明 -cnphpwnd99999@aliyun6633,cntaobaoabc123哈达 -cnphpwnd99999@aliyun6634,cntaobaoabc123å®è´ -cnphpwnd99999@aliyun6635,cntaobaoabc123家乡 -cnphpwnd99999@aliyun6636,cntaobaoabc123我爱你 -cnphpwnd99999@aliyun6637,cntaobaoabc123爱爱 -cnphpwnd99999@aliyun6638,cntaobaoabc123白云_ -cnphpwnd99999@aliyun6639,cntaobaoabc124567 -cnphpwnd99999@aliyun6640,cntaobaoabc124910 -cnphpwnd99999@aliyun6641,cntaobaoabc125512807 -cnphpwnd99999@aliyun6642,cntaobaoabc125977117 -cnphpwnd99999@aliyun6643,cntaobaoabc126163 -cnphpwnd99999@aliyun6644,cntaobaoabc12618706 -cnphpwnd99999@aliyun6645,cntaobaoabc126621 -cnphpwnd99999@aliyun6646,cntaobaoabc1288_2005 -cnphpwnd99999@aliyun6647,cntaobaoabc129 -cnphpwnd99999@aliyun6648,cntaobaoabc129238 -cnphpwnd99999@aliyun6649,cntaobaoabc129520 -cnphpwnd99999@aliyun6650,cntaobaoabc1295268273 -cnphpwnd99999@aliyun6651,cntaobaoabc12abc -cnphpwnd99999@aliyun6652,cntaobaoabc12f288 -cnphpwnd99999@aliyun6653,cntaobaoabc13004654 -cnphpwnd99999@aliyun6654,cntaobaoabc130198 -cnphpwnd99999@aliyun6655,cntaobaoabc131049 -cnphpwnd99999@aliyun6656,cntaobaoabc131138 -cnphpwnd99999@aliyun6657,cntaobaoabc13113900414 -cnphpwnd99999@aliyun6658,cntaobaoabc13115853959 -cnphpwnd99999@aliyun6659,cntaobaoabc1313221 -cnphpwnd99999@aliyun6660,cntaobaoabc1314025 -cnphpwnd99999@aliyun6661,cntaobaoabc1314_2006 -cnphpwnd99999@aliyun6662,cntaobaoabc131720 -cnphpwnd99999@aliyun6663,cntaobaoabc13173375577 -cnphpwnd99999@aliyun6664,cntaobaoabc13207877281 -cnphpwnd99999@aliyun6665,cntaobaoabc1321778611 -cnphpwnd99999@aliyun6666,cntaobaoabc1324 -cnphpwnd99999@aliyun6667,cntaobaoabc13244 -cnphpwnd99999@aliyun6668,cntaobaoabc13353611788 -cnphpwnd99999@aliyun6669,cntaobaoabc133661 -cnphpwnd99999@aliyun6670,cntaobaoabc1336617779 -cnphpwnd99999@aliyun6671,cntaobaoabc13450343369 -cnphpwnd99999@aliyun6672,cntaobaoabc1350 -cnphpwnd99999@aliyun6673,cntaobaoabc135135135 -cnphpwnd99999@aliyun6674,cntaobaoabc135399 -cnphpwnd99999@aliyun6675,cntaobaoabc13566699841 -cnphpwnd99999@aliyun6676,cntaobaoabc1357 -cnphpwnd99999@aliyun6677,cntaobaoabc13579 -cnphpwnd99999@aliyun6678,cntaobaoabc1359 -cnphpwnd99999@aliyun6679,cntaobaoabc13600175891 -cnphpwnd99999@aliyun6680,cntaobaoabc1361 -cnphpwnd99999@aliyun6681,cntaobaoabc136136136 -cnphpwnd99999@aliyun6682,cntaobaoabc13623353869 -cnphpwnd99999@aliyun6683,cntaobaoabc13625021721 -cnphpwnd99999@aliyun6684,cntaobaoabc136535 -cnphpwnd99999@aliyun6685,cntaobaoabc13751027428 -cnphpwnd99999@aliyun6686,cntaobaoabc13801 -cnphpwnd99999@aliyun6687,cntaobaoabc13802496481 -cnphpwnd99999@aliyun6688,cntaobaoabc13807858638 -cnphpwnd99999@aliyun6689,cntaobaoabc138139 -cnphpwnd99999@aliyun6690,cntaobaoabc138498 -cnphpwnd99999@aliyun6691,cntaobaoabc138499 -cnphpwnd99999@aliyun6692,cntaobaoabc1386285500 -cnphpwnd99999@aliyun6693,cntaobaoabc1394 -cnphpwnd99999@aliyun6694,cntaobaoabc1395240054 -cnphpwnd99999@aliyun6695,cntaobaoabc13968787 -cnphpwnd99999@aliyun6696,cntaobaoabc13987654321 -cnphpwnd99999@aliyun6697,cntaobaoabc139a -cnphpwnd99999@aliyun6698,cntaobaoabc142 -cnphpwnd99999@aliyun6699,cntaobaoabc142422 -cnphpwnd99999@aliyun6700,cntaobaoabc142737 -cnphpwnd99999@aliyun6701,cntaobaoabc1444433 -cnphpwnd99999@aliyun6702,cntaobaoabc14444444 -cnphpwnd99999@aliyun6703,cntaobaoabc145 -cnphpwnd99999@aliyun6704,cntaobaoabc14594632 -cnphpwnd99999@aliyun6705,cntaobaoabc14700 -cnphpwnd99999@aliyun6706,cntaobaoabc147258 -cnphpwnd99999@aliyun6707,cntaobaoabc1472581 -cnphpwnd99999@aliyun6708,cntaobaoabc147258159 -cnphpwnd99999@aliyun6709,cntaobaoabc147741 -cnphpwnd99999@aliyun6710,cntaobaoabc148 -cnphpwnd99999@aliyun6711,cntaobaoabc1481253 -cnphpwnd99999@aliyun6712,cntaobaoabc149212342 -cnphpwnd99999@aliyun6713,cntaobaoabc15 -cnphpwnd99999@aliyun6714,cntaobaoabc151378908 -cnphpwnd99999@aliyun6715,cntaobaoabc151514 -cnphpwnd99999@aliyun6716,cntaobaoabc152018000 -cnphpwnd99999@aliyun6717,cntaobaoabc152160 -cnphpwnd99999@aliyun6718,cntaobaoabc153601 -cnphpwnd99999@aliyun6719,cntaobaoabc153917049 -cnphpwnd99999@aliyun6720,cntaobaoabc155041731 -cnphpwnd99999@aliyun6721,cntaobaoabc157527 -cnphpwnd99999@aliyun6722,cntaobaoabc158149079 -cnphpwnd99999@aliyun6723,cntaobaoabc15848400 -cnphpwnd99999@aliyun6724,cntaobaoabc15932 -cnphpwnd99999@aliyun6725,cntaobaoabc159357 -cnphpwnd99999@aliyun6726,cntaobaoabc159357159357 -cnphpwnd99999@aliyun6727,cntaobaoabc159357abc -cnphpwnd99999@aliyun6728,cntaobaoabc1594823 -cnphpwnd99999@aliyun6729,cntaobaoabc159487 -cnphpwnd99999@aliyun6730,cntaobaoabc159951 -cnphpwnd99999@aliyun6731,cntaobaoabc160142 -cnphpwnd99999@aliyun6732,cntaobaoabc160358845 -cnphpwnd99999@aliyun6733,cntaobaoabc16100168 -cnphpwnd99999@aliyun6734,cntaobaoabc162 -cnphpwnd99999@aliyun6735,cntaobaoabc162245 -cnphpwnd99999@aliyun6736,cntaobaoabc163 -cnphpwnd99999@aliyun6737,cntaobaoabc163com -cnphpwnd99999@aliyun6738,cntaobaoabc1648 -cnphpwnd99999@aliyun6739,cntaobaoabc167 -cnphpwnd99999@aliyun6740,cntaobaoabc1685678 -cnphpwnd99999@aliyun6741,cntaobaoabc1688 -cnphpwnd99999@aliyun6742,cntaobaoabc168861abc -cnphpwnd99999@aliyun6743,cntaobaoabc1688752 -cnphpwnd99999@aliyun6744,cntaobaoabc168922 -cnphpwnd99999@aliyun6745,cntaobaoabc16897866 -cnphpwnd99999@aliyun6746,cntaobaoabc16899006 -cnphpwnd99999@aliyun6747,cntaobaoabc168_52077 -cnphpwnd99999@aliyun6748,cntaobaoabc168abc2000 -cnphpwnd99999@aliyun6749,cntaobaoabc168ll -cnphpwnd99999@aliyun6750,cntaobaoabc16_2005 -cnphpwnd99999@aliyun6751,cntaobaoabc16wjx -cnphpwnd99999@aliyun6752,cntaobaoabc17 -cnphpwnd99999@aliyun6753,cntaobaoabc1700 -cnphpwnd99999@aliyun6754,cntaobaoabc1717118 -cnphpwnd99999@aliyun6755,cntaobaoabc172 -cnphpwnd99999@aliyun6756,cntaobaoabc172968 -cnphpwnd99999@aliyun6757,cntaobaoabc174625781 -cnphpwnd99999@aliyun6758,cntaobaoabc1756 -cnphpwnd99999@aliyun6759,cntaobaoabc175753 -cnphpwnd99999@aliyun6760,cntaobaoabc175783700 -cnphpwnd99999@aliyun6761,cntaobaoabc177 -cnphpwnd99999@aliyun6762,cntaobaoabc1789 -cnphpwnd99999@aliyun6763,cntaobaoabc17896 -cnphpwnd99999@aliyun6764,cntaobaoabc17919 -cnphpwnd99999@aliyun6765,cntaobaoabc179794491 -cnphpwnd99999@aliyun6766,cntaobaoabc17_ -cnphpwnd99999@aliyun6767,cntaobaoabc18 -cnphpwnd99999@aliyun6768,cntaobaoabc180023 -cnphpwnd99999@aliyun6769,cntaobaoabc180095 -cnphpwnd99999@aliyun6770,cntaobaoabc181438425 -cnphpwnd99999@aliyun6771,cntaobaoabc18146a -cnphpwnd99999@aliyun6772,cntaobaoabc1819 -cnphpwnd99999@aliyun6773,cntaobaoabc18240545 -cnphpwnd99999@aliyun6774,cntaobaoabc183 -cnphpwnd99999@aliyun6775,cntaobaoabc18380 -cnphpwnd99999@aliyun6776,cntaobaoabc186000 -cnphpwnd99999@aliyun6777,cntaobaoabc1861 -cnphpwnd99999@aliyun6778,cntaobaoabc187 -cnphpwnd99999@aliyun6779,cntaobaoabc18718a -cnphpwnd99999@aliyun6780,cntaobaoabc18729922689013256 -cnphpwnd99999@aliyun6781,cntaobaoabc187c -cnphpwnd99999@aliyun6782,cntaobaoabc188169034 -cnphpwnd99999@aliyun6783,cntaobaoabc18881 -cnphpwnd99999@aliyun6784,cntaobaoabc18892123 -cnphpwnd99999@aliyun6785,cntaobaoabc188942216335 -cnphpwnd99999@aliyun6786,cntaobaoabc1891 -cnphpwnd99999@aliyun6787,cntaobaoabc189163 -cnphpwnd99999@aliyun6788,cntaobaoabc18958 -cnphpwnd99999@aliyun6789,cntaobaoabc18k -cnphpwnd99999@aliyun6790,cntaobaoabc190 -cnphpwnd99999@aliyun6791,cntaobaoabc190287064 -cnphpwnd99999@aliyun6792,cntaobaoabc1906 -cnphpwnd99999@aliyun6793,cntaobaoabc1932 -cnphpwnd99999@aliyun6794,cntaobaoabc1935 -cnphpwnd99999@aliyun6795,cntaobaoabc19351 -cnphpwnd99999@aliyun6796,cntaobaoabc1943 -cnphpwnd99999@aliyun6797,cntaobaoabc1949 -cnphpwnd99999@aliyun6798,cntaobaoabc1951_2002 -cnphpwnd99999@aliyun6799,cntaobaoabc195442 -cnphpwnd99999@aliyun6800,cntaobaoabc1955 -cnphpwnd99999@aliyun6801,cntaobaoabc195503 -cnphpwnd99999@aliyun6802,cntaobaoabc19551 -cnphpwnd99999@aliyun6803,cntaobaoabc195710 -cnphpwnd99999@aliyun6804,cntaobaoabc1957917 -cnphpwnd99999@aliyun6805,cntaobaoabc1961 -cnphpwnd99999@aliyun6806,cntaobaoabc1963424001 -cnphpwnd99999@aliyun6807,cntaobaoabc19641026 -cnphpwnd99999@aliyun6808,cntaobaoabc19660427 -cnphpwnd99999@aliyun6809,cntaobaoabc19661023 -cnphpwnd99999@aliyun6810,cntaobaoabc196688 -cnphpwnd99999@aliyun6811,cntaobaoabc1969 -cnphpwnd99999@aliyun6812,cntaobaoabc196957121 -cnphpwnd99999@aliyun6813,cntaobaoabc1969a -cnphpwnd99999@aliyun6814,cntaobaoabc1969abc -cnphpwnd99999@aliyun6815,cntaobaoabc1969abc8 -cnphpwnd99999@aliyun6816,cntaobaoabc1970 -cnphpwnd99999@aliyun6817,cntaobaoabc19710801 -cnphpwnd99999@aliyun6818,cntaobaoabc19721031 -cnphpwnd99999@aliyun6819,cntaobaoabc1973 -cnphpwnd99999@aliyun6820,cntaobaoabc19741221 -cnphpwnd99999@aliyun6821,cntaobaoabc19751979 -cnphpwnd99999@aliyun6822,cntaobaoabc19761161976 -cnphpwnd99999@aliyun6823,cntaobaoabc1977 -cnphpwnd99999@aliyun6824,cntaobaoabc1978222 -cnphpwnd99999@aliyun6825,cntaobaoabc197988 -cnphpwnd99999@aliyun6826,cntaobaoabc1980 -cnphpwnd99999@aliyun6827,cntaobaoabc19801050 -cnphpwnd99999@aliyun6828,cntaobaoabc198051988 -cnphpwnd99999@aliyun6829,cntaobaoabc1980756 -cnphpwnd99999@aliyun6830,cntaobaoabc198085 -cnphpwnd99999@aliyun6831,cntaobaoabc1980abc -cnphpwnd99999@aliyun6832,cntaobaoabc19810302 -cnphpwnd99999@aliyun6833,cntaobaoabc1981129 -cnphpwnd99999@aliyun6834,cntaobaoabc198181 -cnphpwnd99999@aliyun6835,cntaobaoabc198188 -cnphpwnd99999@aliyun6836,cntaobaoabc19821101 -cnphpwnd99999@aliyun6837,cntaobaoabc1982115 -cnphpwnd99999@aliyun6838,cntaobaoabc198234 -cnphpwnd99999@aliyun6839,cntaobaoabc198272 -cnphpwnd99999@aliyun6840,cntaobaoabc19830523 -cnphpwnd99999@aliyun6841,cntaobaoabc19830621 -cnphpwnd99999@aliyun6842,cntaobaoabc198364 -cnphpwnd99999@aliyun6843,cntaobaoabc1983718 -cnphpwnd99999@aliyun6844,cntaobaoabc1983926 -cnphpwnd99999@aliyun6845,cntaobaoabc19840311 -cnphpwnd99999@aliyun6846,cntaobaoabc19840604 -cnphpwnd99999@aliyun6847,cntaobaoabc19840818 -cnphpwnd99999@aliyun6848,cntaobaoabc1984211 -cnphpwnd99999@aliyun6849,cntaobaoabc19843150 -cnphpwnd99999@aliyun6850,cntaobaoabc19848911 -cnphpwnd99999@aliyun6851,cntaobaoabc19850112 -cnphpwnd99999@aliyun6852,cntaobaoabc19850124 -cnphpwnd99999@aliyun6853,cntaobaoabc19851 -cnphpwnd99999@aliyun6854,cntaobaoabc19851106 -cnphpwnd99999@aliyun6855,cntaobaoabc19851226 -cnphpwnd99999@aliyun6856,cntaobaoabc198518 -cnphpwnd99999@aliyun6857,cntaobaoabc198583 -cnphpwnd99999@aliyun6858,cntaobaoabc19860320 -cnphpwnd99999@aliyun6859,cntaobaoabc1986215 -cnphpwnd99999@aliyun6860,cntaobaoabc198668 -cnphpwnd99999@aliyun6861,cntaobaoabc1986711 -cnphpwnd99999@aliyun6862,cntaobaoabc1988055 -cnphpwnd99999@aliyun6863,cntaobaoabc19891110 -cnphpwnd99999@aliyun6864,cntaobaoabc1991111 -cnphpwnd99999@aliyun6865,cntaobaoabc1992 -cnphpwnd99999@aliyun6866,cntaobaoabc19970701 -cnphpwnd99999@aliyun6867,cntaobaoabc199806 -cnphpwnd99999@aliyun6868,cntaobaoabc1999 -cnphpwnd99999@aliyun6869,cntaobaoabc1def1 -cnphpwnd99999@aliyun6870,cntaobaoabc1zyb -cnphpwnd99999@aliyun6871,cntaobaoabc2000 -cnphpwnd99999@aliyun6872,cntaobaoabc2000tj -cnphpwnd99999@aliyun6873,cntaobaoabc2000xy -cnphpwnd99999@aliyun6874,cntaobaoabc2002 -cnphpwnd99999@aliyun6875,cntaobaoabc200200 -cnphpwnd99999@aliyun6876,cntaobaoabc2003 -cnphpwnd99999@aliyun6877,cntaobaoabc200406 -cnphpwnd99999@aliyun6878,cntaobaoabc20041222 -cnphpwnd99999@aliyun6879,cntaobaoabc2004520 -cnphpwnd99999@aliyun6880,cntaobaoabc200456 -cnphpwnd99999@aliyun6881,cntaobaoabc200488 -cnphpwnd99999@aliyun6882,cntaobaoabc2004k -cnphpwnd99999@aliyun6883,cntaobaoabc2004net10 -cnphpwnd99999@aliyun6884,cntaobaoabc2005121 -cnphpwnd99999@aliyun6885,cntaobaoabc20051218 -cnphpwnd99999@aliyun6886,cntaobaoabc2005123 -cnphpwnd99999@aliyun6887,cntaobaoabc20051235 -cnphpwnd99999@aliyun6888,cntaobaoabc200520041 -cnphpwnd99999@aliyun6889,cntaobaoabc200555 -cnphpwnd99999@aliyun6890,cntaobaoabc20056 -cnphpwnd99999@aliyun6891,cntaobaoabc2005_2005_2005 -cnphpwnd99999@aliyun6892,cntaobaoabc20060315 -cnphpwnd99999@aliyun6893,cntaobaoabc20060330 -cnphpwnd99999@aliyun6894,cntaobaoabc20060426 -cnphpwnd99999@aliyun6895,cntaobaoabc2006118 -cnphpwnd99999@aliyun6896,cntaobaoabc2006222 -cnphpwnd99999@aliyun6897,cntaobaoabc2006313 -cnphpwnd99999@aliyun6898,cntaobaoabc2006_abc -cnphpwnd99999@aliyun6899,cntaobaoabc2006tp -cnphpwnd99999@aliyun6900,cntaobaoabc20080101 -cnphpwnd99999@aliyun6901,cntaobaoabc20081 -cnphpwnd99999@aliyun6902,cntaobaoabc20086 -cnphpwnd99999@aliyun6903,cntaobaoabc200888 -cnphpwnd99999@aliyun6904,cntaobaoabc200897782 -cnphpwnd99999@aliyun6905,cntaobaoabc2008abc2008 -cnphpwnd99999@aliyun6906,cntaobaoabc201 -cnphpwnd99999@aliyun6907,cntaobaoabc201707 -cnphpwnd99999@aliyun6908,cntaobaoabc201817 -cnphpwnd99999@aliyun6909,cntaobaoabc20186 -cnphpwnd99999@aliyun6910,cntaobaoabc202401 -cnphpwnd99999@aliyun6911,cntaobaoabc20282008 -cnphpwnd99999@aliyun6912,cntaobaoabc20605_2006 -cnphpwnd99999@aliyun6913,cntaobaoabc2062874 -cnphpwnd99999@aliyun6914,cntaobaoabc2071721 -cnphpwnd99999@aliyun6915,cntaobaoabc2080 -cnphpwnd99999@aliyun6916,cntaobaoabc2090874 -cnphpwnd99999@aliyun6917,cntaobaoabc21.-.03 -cnphpwnd99999@aliyun6918,cntaobaoabc2108330 -cnphpwnd99999@aliyun6919,cntaobaoabc211 -cnphpwnd99999@aliyun6920,cntaobaoabc21121 -cnphpwnd99999@aliyun6921,cntaobaoabc2117 -cnphpwnd99999@aliyun6922,cntaobaoabc212 -cnphpwnd99999@aliyun6923,cntaobaoabc212121 -cnphpwnd99999@aliyun6924,cntaobaoabc2123695 -cnphpwnd99999@aliyun6925,cntaobaoabc21240288888 -cnphpwnd99999@aliyun6926,cntaobaoabc2127 -cnphpwnd99999@aliyun6927,cntaobaoabc213 -cnphpwnd99999@aliyun6928,cntaobaoabc213256213355 -cnphpwnd99999@aliyun6929,cntaobaoabc2137821 -cnphpwnd99999@aliyun6930,cntaobaoabc214081982 -cnphpwnd99999@aliyun6931,cntaobaoabc214486 -cnphpwnd99999@aliyun6932,cntaobaoabc2153 -cnphpwnd99999@aliyun6933,cntaobaoabc215500 -cnphpwnd99999@aliyun6934,cntaobaoabc215503775 -cnphpwnd99999@aliyun6935,cntaobaoabc2155086 -cnphpwnd99999@aliyun6936,cntaobaoabc216 -cnphpwnd99999@aliyun6937,cntaobaoabc217 -cnphpwnd99999@aliyun6938,cntaobaoabc2182343 -cnphpwnd99999@aliyun6939,cntaobaoabc2188 -cnphpwnd99999@aliyun6940,cntaobaoabc21999 -cnphpwnd99999@aliyun6941,cntaobaoabc21abc -cnphpwnd99999@aliyun6942,cntaobaoabc21love12 -cnphpwnd99999@aliyun6943,cntaobaoabc220 -cnphpwnd99999@aliyun6944,cntaobaoabc2200259 -cnphpwnd99999@aliyun6945,cntaobaoabc2202174 -cnphpwnd99999@aliyun6946,cntaobaoabc2210210 -cnphpwnd99999@aliyun6947,cntaobaoabc221410 -cnphpwnd99999@aliyun6948,cntaobaoabc221414 -cnphpwnd99999@aliyun6949,cntaobaoabc2218122 -cnphpwnd99999@aliyun6950,cntaobaoabc222 -cnphpwnd99999@aliyun6951,cntaobaoabc2222221 -cnphpwnd99999@aliyun6952,cntaobaoabc2223677 -cnphpwnd99999@aliyun6953,cntaobaoabc222wwj -cnphpwnd99999@aliyun6954,cntaobaoabc223719 -cnphpwnd99999@aliyun6955,cntaobaoabc224 -cnphpwnd99999@aliyun6956,cntaobaoabc224466 -cnphpwnd99999@aliyun6957,cntaobaoabc2244668 -cnphpwnd99999@aliyun6958,cntaobaoabc2251 -cnphpwnd99999@aliyun6959,cntaobaoabc225115 -cnphpwnd99999@aliyun6960,cntaobaoabc2253402 -cnphpwnd99999@aliyun6961,cntaobaoabc2256 -cnphpwnd99999@aliyun6962,cntaobaoabc2259 -cnphpwnd99999@aliyun6963,cntaobaoabc2261928 -cnphpwnd99999@aliyun6964,cntaobaoabc2262456 -cnphpwnd99999@aliyun6965,cntaobaoabc22828362 -cnphpwnd99999@aliyun6966,cntaobaoabc2286386 -cnphpwnd99999@aliyun6967,cntaobaoabc2287822 -cnphpwnd99999@aliyun6968,cntaobaoabc2288 -cnphpwnd99999@aliyun6969,cntaobaoabc2288492 -cnphpwnd99999@aliyun6970,cntaobaoabc229138704 -cnphpwnd99999@aliyun6971,cntaobaoabc229528622 -cnphpwnd99999@aliyun6972,cntaobaoabc22960743 -cnphpwnd99999@aliyun6973,cntaobaoabc2300907 -cnphpwnd99999@aliyun6974,cntaobaoabc2312326 -cnphpwnd99999@aliyun6975,cntaobaoabc2317559 -cnphpwnd99999@aliyun6976,cntaobaoabc2317627 -cnphpwnd99999@aliyun6977,cntaobaoabc23221320 -cnphpwnd99999@aliyun6978,cntaobaoabc2330771 -cnphpwnd99999@aliyun6979,cntaobaoabc2341 -cnphpwnd99999@aliyun6980,cntaobaoabc2345 -cnphpwnd99999@aliyun6981,cntaobaoabc23451 -cnphpwnd99999@aliyun6982,cntaobaoabc23456666 -cnphpwnd99999@aliyun6983,cntaobaoabc2347399 -cnphpwnd99999@aliyun6984,cntaobaoabc23513263 -cnphpwnd99999@aliyun6985,cntaobaoabc236 -cnphpwnd99999@aliyun6986,cntaobaoabc2364231 -cnphpwnd99999@aliyun6987,cntaobaoabc237001066 -cnphpwnd99999@aliyun6988,cntaobaoabc2378690 -cnphpwnd99999@aliyun6989,cntaobaoabc2388 -cnphpwnd99999@aliyun6990,cntaobaoabc2395 -cnphpwnd99999@aliyun6991,cntaobaoabc2396 -cnphpwnd99999@aliyun6992,cntaobaoabc23w -cnphpwnd99999@aliyun6993,cntaobaoabc240240 -cnphpwnd99999@aliyun6994,cntaobaoabc240322 -cnphpwnd99999@aliyun6995,cntaobaoabc2422973 -cnphpwnd99999@aliyun6996,cntaobaoabc2424582 -cnphpwnd99999@aliyun6997,cntaobaoabc2432299 -cnphpwnd99999@aliyun6998,cntaobaoabc2461 -cnphpwnd99999@aliyun6999,cntaobaoabc24680 -cnphpwnd99999@aliyun7000,cntaobaoabc246800 -cnphpwnd99999@aliyun7001,cntaobaoabc246801 -cnphpwnd99999@aliyun7002,cntaobaoabc246wx3245 -cnphpwnd99999@aliyun7003,cntaobaoabc248 -cnphpwnd99999@aliyun7004,cntaobaoabc249093698 -cnphpwnd99999@aliyun7005,cntaobaoabc250548444 -cnphpwnd99999@aliyun7006,cntaobaoabc250584307 -cnphpwnd99999@aliyun7007,cntaobaoabc2511 -cnphpwnd99999@aliyun7008,cntaobaoabc2521 -cnphpwnd99999@aliyun7009,cntaobaoabc25221462 -cnphpwnd99999@aliyun7010,cntaobaoabc2525255 -cnphpwnd99999@aliyun7011,cntaobaoabc25253 -cnphpwnd99999@aliyun7012,cntaobaoabc25257788 -cnphpwnd99999@aliyun7013,cntaobaoabc253139152 -cnphpwnd99999@aliyun7014,cntaobaoabc253803 -cnphpwnd99999@aliyun7015,cntaobaoabc2550229 -cnphpwnd99999@aliyun7016,cntaobaoabc25567882 -cnphpwnd99999@aliyun7017,cntaobaoabc258369 -cnphpwnd99999@aliyun7018,cntaobaoabc260643675 -cnphpwnd99999@aliyun7019,cntaobaoabc26234 -cnphpwnd99999@aliyun7020,cntaobaoabc2630976 -cnphpwnd99999@aliyun7021,cntaobaoabc2633141 -cnphpwnd99999@aliyun7022,cntaobaoabc263822 -cnphpwnd99999@aliyun7023,cntaobaoabc2651574 -cnphpwnd99999@aliyun7024,cntaobaoabc2652 -cnphpwnd99999@aliyun7025,cntaobaoabc26600 -cnphpwnd99999@aliyun7026,cntaobaoabc268 -cnphpwnd99999@aliyun7027,cntaobaoabc2680884 -cnphpwnd99999@aliyun7028,cntaobaoabc2688 -cnphpwnd99999@aliyun7029,cntaobaoabc2699979 -cnphpwnd99999@aliyun7030,cntaobaoabc27 -cnphpwnd99999@aliyun7031,cntaobaoabc27168 -cnphpwnd99999@aliyun7032,cntaobaoabc272229077 -cnphpwnd99999@aliyun7033,cntaobaoabc274222709 -cnphpwnd99999@aliyun7034,cntaobaoabc278142006 -cnphpwnd99999@aliyun7035,cntaobaoabc2788101 -cnphpwnd99999@aliyun7036,cntaobaoabc28 -cnphpwnd99999@aliyun7037,cntaobaoabc28108015 -cnphpwnd99999@aliyun7038,cntaobaoabc2811 -cnphpwnd99999@aliyun7039,cntaobaoabc28134 -cnphpwnd99999@aliyun7040,cntaobaoabc28145606 -cnphpwnd99999@aliyun7041,cntaobaoabc28173 -cnphpwnd99999@aliyun7042,cntaobaoabc2831478 -cnphpwnd99999@aliyun7043,cntaobaoabc2832244 -cnphpwnd99999@aliyun7044,cntaobaoabc283445413 -cnphpwnd99999@aliyun7045,cntaobaoabc28439989 -cnphpwnd99999@aliyun7046,cntaobaoabc28469201 -cnphpwnd99999@aliyun7047,cntaobaoabc2848820 -cnphpwnd99999@aliyun7048,cntaobaoabc2857281 -cnphpwnd99999@aliyun7049,cntaobaoabc287691109 -cnphpwnd99999@aliyun7050,cntaobaoabc28785508 -cnphpwnd99999@aliyun7051,cntaobaoabc28821847 -cnphpwnd99999@aliyun7052,cntaobaoabc288288 -cnphpwnd99999@aliyun7053,cntaobaoabc2910 -cnphpwnd99999@aliyun7054,cntaobaoabc294292530 -cnphpwnd99999@aliyun7055,cntaobaoabc295785109 -cnphpwnd99999@aliyun7056,cntaobaoabc296636244 -cnphpwnd99999@aliyun7057,cntaobaoabc297102732 -cnphpwnd99999@aliyun7058,cntaobaoabc299 -cnphpwnd99999@aliyun7059,cntaobaoabc2dz -cnphpwnd99999@aliyun7060,cntaobaoabc3 -cnphpwnd99999@aliyun7061,cntaobaoabc301124310 -cnphpwnd99999@aliyun7062,cntaobaoabc3052 -cnphpwnd99999@aliyun7063,cntaobaoabc305275726 -cnphpwnd99999@aliyun7064,cntaobaoabc3057957 -cnphpwnd99999@aliyun7065,cntaobaoabc306356390 -cnphpwnd99999@aliyun7066,cntaobaoabc307317967 -cnphpwnd99999@aliyun7067,cntaobaoabc307545280 -cnphpwnd99999@aliyun7068,cntaobaoabc308648279 -cnphpwnd99999@aliyun7069,cntaobaoabc30978437 -cnphpwnd99999@aliyun7070,cntaobaoabc31 -cnphpwnd99999@aliyun7071,cntaobaoabc311 -cnphpwnd99999@aliyun7072,cntaobaoabc312117349 -cnphpwnd99999@aliyun7073,cntaobaoabc3122775 -cnphpwnd99999@aliyun7074,cntaobaoabc312468553 -cnphpwnd99999@aliyun7075,cntaobaoabc314 -cnphpwnd99999@aliyun7076,cntaobaoabc314268 -cnphpwnd99999@aliyun7077,cntaobaoabc314408026 -cnphpwnd99999@aliyun7078,cntaobaoabc316 -cnphpwnd99999@aliyun7079,cntaobaoabc316249718 -cnphpwnd99999@aliyun7080,cntaobaoabc3163 -cnphpwnd99999@aliyun7081,cntaobaoabc316964624 -cnphpwnd99999@aliyun7082,cntaobaoabc317 -cnphpwnd99999@aliyun7083,cntaobaoabc31798 -cnphpwnd99999@aliyun7084,cntaobaoabc318020 -cnphpwnd99999@aliyun7085,cntaobaoabc32 -cnphpwnd99999@aliyun7086,cntaobaoabc320623 -cnphpwnd99999@aliyun7087,cntaobaoabc3211 -cnphpwnd99999@aliyun7088,cntaobaoabc321456789 -cnphpwnd99999@aliyun7089,cntaobaoabc321654 -cnphpwnd99999@aliyun7090,cntaobaoabc3219 -cnphpwnd99999@aliyun7091,cntaobaoabc321abc321 -cnphpwnd99999@aliyun7092,cntaobaoabc321cba -cnphpwnd99999@aliyun7093,cntaobaoabc3234 -cnphpwnd99999@aliyun7094,cntaobaoabc325 -cnphpwnd99999@aliyun7095,cntaobaoabc325147 -cnphpwnd99999@aliyun7096,cntaobaoabc325229 -cnphpwnd99999@aliyun7097,cntaobaoabc326 -cnphpwnd99999@aliyun7098,cntaobaoabc327 -cnphpwnd99999@aliyun7099,cntaobaoabc327964029 -cnphpwnd99999@aliyun7100,cntaobaoabc330250597 -cnphpwnd99999@aliyun7101,cntaobaoabc330403 -cnphpwnd99999@aliyun7102,cntaobaoabc331 -cnphpwnd99999@aliyun7103,cntaobaoabc331122200 -cnphpwnd99999@aliyun7104,cntaobaoabc331211 -cnphpwnd99999@aliyun7105,cntaobaoabc3312110 -cnphpwnd99999@aliyun7106,cntaobaoabc3312114 -cnphpwnd99999@aliyun7107,cntaobaoabc3312116 -cnphpwnd99999@aliyun7108,cntaobaoabc3312119 -cnphpwnd99999@aliyun7109,cntaobaoabc3312419 -cnphpwnd99999@aliyun7110,cntaobaoabc331289160 -cnphpwnd99999@aliyun7111,cntaobaoabc331331 -cnphpwnd99999@aliyun7112,cntaobaoabc3316 -cnphpwnd99999@aliyun7113,cntaobaoabc33191591 -cnphpwnd99999@aliyun7114,cntaobaoabc3322 -cnphpwnd99999@aliyun7115,cntaobaoabc332400 -cnphpwnd99999@aliyun7116,cntaobaoabc332708 -cnphpwnd99999@aliyun7117,cntaobaoabc3329554 -cnphpwnd99999@aliyun7118,cntaobaoabc333 -cnphpwnd99999@aliyun7119,cntaobaoabc3344520 -cnphpwnd99999@aliyun7120,cntaobaoabc336011 -cnphpwnd99999@aliyun7121,cntaobaoabc3369633 -cnphpwnd99999@aliyun7122,cntaobaoabc337759 -cnphpwnd99999@aliyun7123,cntaobaoabc3381894 -cnphpwnd99999@aliyun7124,cntaobaoabc3394365 -cnphpwnd99999@aliyun7125,cntaobaoabc3396386 -cnphpwnd99999@aliyun7126,cntaobaoabc339baby -cnphpwnd99999@aliyun7127,cntaobaoabc33qi -cnphpwnd99999@aliyun7128,cntaobaoabc341982829 -cnphpwnd99999@aliyun7129,cntaobaoabc3439 -cnphpwnd99999@aliyun7130,cntaobaoabc345678 -cnphpwnd99999@aliyun7131,cntaobaoabc34588 -cnphpwnd99999@aliyun7132,cntaobaoabc3466325 -cnphpwnd99999@aliyun7133,cntaobaoabc34831 -cnphpwnd99999@aliyun7134,cntaobaoabc349449441 -cnphpwnd99999@aliyun7135,cntaobaoabc350102 -cnphpwnd99999@aliyun7136,cntaobaoabc3515303 -cnphpwnd99999@aliyun7137,cntaobaoabc3517abc2000 -cnphpwnd99999@aliyun7138,cntaobaoabc352257346 -cnphpwnd99999@aliyun7139,cntaobaoabc3526 -cnphpwnd99999@aliyun7140,cntaobaoabc3543377 -cnphpwnd99999@aliyun7141,cntaobaoabc35601696 -cnphpwnd99999@aliyun7142,cntaobaoabc35781 -cnphpwnd99999@aliyun7143,cntaobaoabc3587 -cnphpwnd99999@aliyun7144,cntaobaoabc359 -cnphpwnd99999@aliyun7145,cntaobaoabc359422894 -cnphpwnd99999@aliyun7146,cntaobaoabc36180987 -cnphpwnd99999@aliyun7147,cntaobaoabc3620835 -cnphpwnd99999@aliyun7148,cntaobaoabc362100 -cnphpwnd99999@aliyun7149,cntaobaoabc362602916 -cnphpwnd99999@aliyun7150,cntaobaoabc363158715 -cnphpwnd99999@aliyun7151,cntaobaoabc36366636 -cnphpwnd99999@aliyun7152,cntaobaoabc364470424 -cnphpwnd99999@aliyun7153,cntaobaoabc365_0 -cnphpwnd99999@aliyun7154,cntaobaoabc3666 -cnphpwnd99999@aliyun7155,cntaobaoabc366888 -cnphpwnd99999@aliyun7156,cntaobaoabc36791836 -cnphpwnd99999@aliyun7157,cntaobaoabc368 -cnphpwnd99999@aliyun7158,cntaobaoabc36836868 -cnphpwnd99999@aliyun7159,cntaobaoabc3685 -cnphpwnd99999@aliyun7160,cntaobaoabc369678776 -cnphpwnd99999@aliyun7161,cntaobaoabc369_2005 -cnphpwnd99999@aliyun7162,cntaobaoabc369sh -cnphpwnd99999@aliyun7163,cntaobaoabc370601756 -cnphpwnd99999@aliyun7164,cntaobaoabc3721 -cnphpwnd99999@aliyun7165,cntaobaoabc37214832 -cnphpwnd99999@aliyun7166,cntaobaoabc3721abc -cnphpwnd99999@aliyun7167,cntaobaoabc372713352 -cnphpwnd99999@aliyun7168,cntaobaoabc373148645 -cnphpwnd99999@aliyun7169,cntaobaoabc3737122 -cnphpwnd99999@aliyun7170,cntaobaoabc3758588 -cnphpwnd99999@aliyun7171,cntaobaoabc37670 -cnphpwnd99999@aliyun7172,cntaobaoabc37678 -cnphpwnd99999@aliyun7173,cntaobaoabc378279829 -cnphpwnd99999@aliyun7174,cntaobaoabc37885321314 -cnphpwnd99999@aliyun7175,cntaobaoabc378888 -cnphpwnd99999@aliyun7176,cntaobaoabc37900 -cnphpwnd99999@aliyun7177,cntaobaoabc3791124 -cnphpwnd99999@aliyun7178,cntaobaoabc380624292 -cnphpwnd99999@aliyun7179,cntaobaoabc381031030 -cnphpwnd99999@aliyun7180,cntaobaoabc3837_2005 -cnphpwnd99999@aliyun7181,cntaobaoabc3838438 -cnphpwnd99999@aliyun7182,cntaobaoabc3867 -cnphpwnd99999@aliyun7183,cntaobaoabc3872315 -cnphpwnd99999@aliyun7184,cntaobaoabc39 -cnphpwnd99999@aliyun7185,cntaobaoabc3935 -cnphpwnd99999@aliyun7186,cntaobaoabc39406618 -cnphpwnd99999@aliyun7187,cntaobaoabc395584856 -cnphpwnd99999@aliyun7188,cntaobaoabc396463518 -cnphpwnd99999@aliyun7189,cntaobaoabc39722978 -cnphpwnd99999@aliyun7190,cntaobaoabc398698 -cnphpwnd99999@aliyun7191,cntaobaoabc3xyz -cnphpwnd99999@aliyun7192,cntaobaoabc4017408 -cnphpwnd99999@aliyun7193,cntaobaoabc40182003 -cnphpwnd99999@aliyun7194,cntaobaoabc404705962 -cnphpwnd99999@aliyun7195,cntaobaoabc405207761 -cnphpwnd99999@aliyun7196,cntaobaoabc40784 -cnphpwnd99999@aliyun7197,cntaobaoabc410105 -cnphpwnd99999@aliyun7198,cntaobaoabc411657591 -cnphpwnd99999@aliyun7199,cntaobaoabc415100 -cnphpwnd99999@aliyun7200,cntaobaoabc4155 -cnphpwnd99999@aliyun7201,cntaobaoabc416063244 -cnphpwnd99999@aliyun7202,cntaobaoabc418 -cnphpwnd99999@aliyun7203,cntaobaoabc419 -cnphpwnd99999@aliyun7204,cntaobaoabc4198967 -cnphpwnd99999@aliyun7205,cntaobaoabc41abc41 -cnphpwnd99999@aliyun7206,cntaobaoabc421000 -cnphpwnd99999@aliyun7207,cntaobaoabc4210591 -cnphpwnd99999@aliyun7208,cntaobaoabc42123 -cnphpwnd99999@aliyun7209,cntaobaoabc422 -cnphpwnd99999@aliyun7210,cntaobaoabc422659571 -cnphpwnd99999@aliyun7211,cntaobaoabc422930626 -cnphpwnd99999@aliyun7212,cntaobaoabc423 -cnphpwnd99999@aliyun7213,cntaobaoabc4236928 -cnphpwnd99999@aliyun7214,cntaobaoabc424520 -cnphpwnd99999@aliyun7215,cntaobaoabc4252394 -cnphpwnd99999@aliyun7216,cntaobaoabc4259058 -cnphpwnd99999@aliyun7217,cntaobaoabc4311956 -cnphpwnd99999@aliyun7218,cntaobaoabc4321 -cnphpwnd99999@aliyun7219,cntaobaoabc43217 -cnphpwnd99999@aliyun7220,cntaobaoabc4327052 -cnphpwnd99999@aliyun7221,cntaobaoabc43577452 -cnphpwnd99999@aliyun7222,cntaobaoabc43621 -cnphpwnd99999@aliyun7223,cntaobaoabc4368626 -cnphpwnd99999@aliyun7224,cntaobaoabc4387 -cnphpwnd99999@aliyun7225,cntaobaoabc441689356 -cnphpwnd99999@aliyun7226,cntaobaoabc4439239 -cnphpwnd99999@aliyun7227,cntaobaoabc444 -cnphpwnd99999@aliyun7228,cntaobaoabc4444 -cnphpwnd99999@aliyun7229,cntaobaoabc444488 -cnphpwnd99999@aliyun7230,cntaobaoabc445 -cnphpwnd99999@aliyun7231,cntaobaoabc4454123 -cnphpwnd99999@aliyun7232,cntaobaoabc4455 -cnphpwnd99999@aliyun7233,cntaobaoabc446927370 -cnphpwnd99999@aliyun7234,cntaobaoabc447540324 -cnphpwnd99999@aliyun7235,cntaobaoabc4480 -cnphpwnd99999@aliyun7236,cntaobaoabc4485158175489 -cnphpwnd99999@aliyun7237,cntaobaoabc4501897 -cnphpwnd99999@aliyun7238,cntaobaoabc451096697 -cnphpwnd99999@aliyun7239,cntaobaoabc4512776413 -cnphpwnd99999@aliyun7240,cntaobaoabc45184 -cnphpwnd99999@aliyun7241,cntaobaoabc453 -cnphpwnd99999@aliyun7242,cntaobaoabc453109975 -cnphpwnd99999@aliyun7243,cntaobaoabc453ww -cnphpwnd99999@aliyun7244,cntaobaoabc4545 -cnphpwnd99999@aliyun7245,cntaobaoabc455371506 -cnphpwnd99999@aliyun7246,cntaobaoabc4562 -cnphpwnd99999@aliyun7247,cntaobaoabc456761211 -cnphpwnd99999@aliyun7248,cntaobaoabc456789123 -cnphpwnd99999@aliyun7249,cntaobaoabc4568 -cnphpwnd99999@aliyun7250,cntaobaoabc456abc1 -cnphpwnd99999@aliyun7251,cntaobaoabc456abc789 -cnphpwnd99999@aliyun7252,cntaobaoabc456efg345 -cnphpwnd99999@aliyun7253,cntaobaoabc456ni -cnphpwnd99999@aliyun7254,cntaobaoabc457 -cnphpwnd99999@aliyun7255,cntaobaoabc4580307 -cnphpwnd99999@aliyun7256,cntaobaoabc4589 -cnphpwnd99999@aliyun7257,cntaobaoabc460411601 -cnphpwnd99999@aliyun7258,cntaobaoabc460685633 -cnphpwnd99999@aliyun7259,cntaobaoabc4610 -cnphpwnd99999@aliyun7260,cntaobaoabc461206 -cnphpwnd99999@aliyun7261,cntaobaoabc46536477 -cnphpwnd99999@aliyun7262,cntaobaoabc4654 -cnphpwnd99999@aliyun7263,cntaobaoabc468 -cnphpwnd99999@aliyun7264,cntaobaoabc4700 -cnphpwnd99999@aliyun7265,cntaobaoabc471219 -cnphpwnd99999@aliyun7266,cntaobaoabc4714562 -cnphpwnd99999@aliyun7267,cntaobaoabc472125 -cnphpwnd99999@aliyun7268,cntaobaoabc472384807 -cnphpwnd99999@aliyun7269,cntaobaoabc47409 -cnphpwnd99999@aliyun7270,cntaobaoabc474147 -cnphpwnd99999@aliyun7271,cntaobaoabc476356833 -cnphpwnd99999@aliyun7272,cntaobaoabc4766221 -cnphpwnd99999@aliyun7273,cntaobaoabc4782 -cnphpwnd99999@aliyun7274,cntaobaoabc48 -cnphpwnd99999@aliyun7275,cntaobaoabc4832 -cnphpwnd99999@aliyun7276,cntaobaoabc489529862 -cnphpwnd99999@aliyun7277,cntaobaoabc493346 -cnphpwnd99999@aliyun7278,cntaobaoabc4949 -cnphpwnd99999@aliyun7279,cntaobaoabc4wd -cnphpwnd99999@aliyun7280,cntaobaoabc500 -cnphpwnd99999@aliyun7281,cntaobaoabc5000 -cnphpwnd99999@aliyun7282,cntaobaoabc5002 -cnphpwnd99999@aliyun7283,cntaobaoabc502 -cnphpwnd99999@aliyun7284,cntaobaoabc506434487 -cnphpwnd99999@aliyun7285,cntaobaoabc5069 -cnphpwnd99999@aliyun7286,cntaobaoabc508 -cnphpwnd99999@aliyun7287,cntaobaoabc50953 -cnphpwnd99999@aliyun7288,cntaobaoabc5095776 -cnphpwnd99999@aliyun7289,cntaobaoabc510108 -cnphpwnd99999@aliyun7290,cntaobaoabc51097081 -cnphpwnd99999@aliyun7291,cntaobaoabc51188 -cnphpwnd99999@aliyun7292,cntaobaoabc5133 -cnphpwnd99999@aliyun7293,cntaobaoabc5151 -cnphpwnd99999@aliyun7294,cntaobaoabc5157 -cnphpwnd99999@aliyun7295,cntaobaoabc515768617 -cnphpwnd99999@aliyun7296,cntaobaoabc516 -cnphpwnd99999@aliyun7297,cntaobaoabc517523 -cnphpwnd99999@aliyun7298,cntaobaoabc518 -cnphpwnd99999@aliyun7299,cntaobaoabc5193065 -cnphpwnd99999@aliyun7300,cntaobaoabc5194599 -cnphpwnd99999@aliyun7301,cntaobaoabc519668 -cnphpwnd99999@aliyun7302,cntaobaoabc51bca -cnphpwnd99999@aliyun7303,cntaobaoabc520 -cnphpwnd99999@aliyun7304,cntaobaoabc5200 -cnphpwnd99999@aliyun7305,cntaobaoabc5201000abc -cnphpwnd99999@aliyun7306,cntaobaoabc52011 -cnphpwnd99999@aliyun7307,cntaobaoabc5201314 -cnphpwnd99999@aliyun7308,cntaobaoabc520168 -cnphpwnd99999@aliyun7309,cntaobaoabc520518 -cnphpwnd99999@aliyun7310,cntaobaoabc520584 -cnphpwnd99999@aliyun7311,cntaobaoabc520600 -cnphpwnd99999@aliyun7312,cntaobaoabc520618 -cnphpwnd99999@aliyun7313,cntaobaoabc520_tb -cnphpwnd99999@aliyun7314,cntaobaoabc520abc -cnphpwnd99999@aliyun7315,cntaobaoabc520bei -cnphpwnd99999@aliyun7316,cntaobaoabc520jjj -cnphpwnd99999@aliyun7317,cntaobaoabc520pb -cnphpwnd99999@aliyun7318,cntaobaoabc520qq -cnphpwnd99999@aliyun7319,cntaobaoabc520贺磊 -cnphpwnd99999@aliyun7320,cntaobaoabc5212 -cnphpwnd99999@aliyun7321,cntaobaoabc521202 -cnphpwnd99999@aliyun7322,cntaobaoabc521365 -cnphpwnd99999@aliyun7323,cntaobaoabc5215097 -cnphpwnd99999@aliyun7324,cntaobaoabc521521 -cnphpwnd99999@aliyun7325,cntaobaoabc5217890 -cnphpwnd99999@aliyun7326,cntaobaoabc523 -cnphpwnd99999@aliyun7327,cntaobaoabc5234286 -cnphpwnd99999@aliyun7328,cntaobaoabc5238285 -cnphpwnd99999@aliyun7329,cntaobaoabc525126256 -cnphpwnd99999@aliyun7330,cntaobaoabc52527924 -cnphpwnd99999@aliyun7331,cntaobaoabc5255329 -cnphpwnd99999@aliyun7332,cntaobaoabc5257 -cnphpwnd99999@aliyun7333,cntaobaoabc5258465 -cnphpwnd99999@aliyun7334,cntaobaoabc525s -cnphpwnd99999@aliyun7335,cntaobaoabc52710 -cnphpwnd99999@aliyun7336,cntaobaoabc5280 -cnphpwnd99999@aliyun7337,cntaobaoabc52801418 -cnphpwnd99999@aliyun7338,cntaobaoabc5281314 -cnphpwnd99999@aliyun7339,cntaobaoabc529895986 -cnphpwnd99999@aliyun7340,cntaobaoabc52abc -cnphpwnd99999@aliyun7341,cntaobaoabc53 -cnphpwnd99999@aliyun7342,cntaobaoabc5305319 -cnphpwnd99999@aliyun7343,cntaobaoabc53112311 -cnphpwnd99999@aliyun7344,cntaobaoabc53184 -cnphpwnd99999@aliyun7345,cntaobaoabc531938585 -cnphpwnd99999@aliyun7346,cntaobaoabc5327025 -cnphpwnd99999@aliyun7347,cntaobaoabc53343850 -cnphpwnd99999@aliyun7348,cntaobaoabc5372687 -cnphpwnd99999@aliyun7349,cntaobaoabc54288 -cnphpwnd99999@aliyun7350,cntaobaoabc544148314 -cnphpwnd99999@aliyun7351,cntaobaoabc546200 -cnphpwnd99999@aliyun7352,cntaobaoabc5500 -cnphpwnd99999@aliyun7353,cntaobaoabc55211 -cnphpwnd99999@aliyun7354,cntaobaoabc55380585 -cnphpwnd99999@aliyun7355,cntaobaoabc55388 -cnphpwnd99999@aliyun7356,cntaobaoabc5550111 -cnphpwnd99999@aliyun7357,cntaobaoabc555110 -cnphpwnd99999@aliyun7358,cntaobaoabc5552 -cnphpwnd99999@aliyun7359,cntaobaoabc55546555 -cnphpwnd99999@aliyun7360,cntaobaoabc55555 -cnphpwnd99999@aliyun7361,cntaobaoabc555777 -cnphpwnd99999@aliyun7362,cntaobaoabc55596 -cnphpwnd99999@aliyun7363,cntaobaoabc5563 -cnphpwnd99999@aliyun7364,cntaobaoabc5566 -cnphpwnd99999@aliyun7365,cntaobaoabc5566a -cnphpwnd99999@aliyun7366,cntaobaoabc5568441 -cnphpwnd99999@aliyun7367,cntaobaoabc5584570 -cnphpwnd99999@aliyun7368,cntaobaoabc55855 -cnphpwnd99999@aliyun7369,cntaobaoabc5590031 -cnphpwnd99999@aliyun7370,cntaobaoabc5590816 -cnphpwnd99999@aliyun7371,cntaobaoabc5599465 -cnphpwnd99999@aliyun7372,cntaobaoabc560 -cnphpwnd99999@aliyun7373,cntaobaoabc5600951 -cnphpwnd99999@aliyun7374,cntaobaoabc5621588 -cnphpwnd99999@aliyun7375,cntaobaoabc5623335 -cnphpwnd99999@aliyun7376,cntaobaoabc56265061 -cnphpwnd99999@aliyun7377,cntaobaoabc5628208 -cnphpwnd99999@aliyun7378,cntaobaoabc562825793 -cnphpwnd99999@aliyun7379,cntaobaoabc5630656 -cnphpwnd99999@aliyun7380,cntaobaoabc563238049 -cnphpwnd99999@aliyun7381,cntaobaoabc5653991 -cnphpwnd99999@aliyun7382,cntaobaoabc5655505 -cnphpwnd99999@aliyun7383,cntaobaoabc5663230 -cnphpwnd99999@aliyun7384,cntaobaoabc5672331 -cnphpwnd99999@aliyun7385,cntaobaoabc56729839 -cnphpwnd99999@aliyun7386,cntaobaoabc56773785 -cnphpwnd99999@aliyun7387,cntaobaoabc5678988 -cnphpwnd99999@aliyun7388,cntaobaoabc567899 -cnphpwnd99999@aliyun7389,cntaobaoabc56835867 -cnphpwnd99999@aliyun7390,cntaobaoabc568636842 -cnphpwnd99999@aliyun7391,cntaobaoabc5698828 -cnphpwnd99999@aliyun7392,cntaobaoabc5732311 -cnphpwnd99999@aliyun7393,cntaobaoabc5732562 -cnphpwnd99999@aliyun7394,cntaobaoabc5736 -cnphpwnd99999@aliyun7395,cntaobaoabc57369 -cnphpwnd99999@aliyun7396,cntaobaoabc58021172 -cnphpwnd99999@aliyun7397,cntaobaoabc5809511 -cnphpwnd99999@aliyun7398,cntaobaoabc5811196 -cnphpwnd99999@aliyun7399,cntaobaoabc58188 -cnphpwnd99999@aliyun7400,cntaobaoabc5823 -cnphpwnd99999@aliyun7401,cntaobaoabc5827 -cnphpwnd99999@aliyun7402,cntaobaoabc5857 -cnphpwnd99999@aliyun7403,cntaobaoabc5859566 -cnphpwnd99999@aliyun7404,cntaobaoabc58616 -cnphpwnd99999@aliyun7405,cntaobaoabc5866321 -cnphpwnd99999@aliyun7406,cntaobaoabc58823 -cnphpwnd99999@aliyun7407,cntaobaoabc58851234 -cnphpwnd99999@aliyun7408,cntaobaoabc590 -cnphpwnd99999@aliyun7409,cntaobaoabc5903295 -cnphpwnd99999@aliyun7410,cntaobaoabc590813 -cnphpwnd99999@aliyun7411,cntaobaoabc592317752 -cnphpwnd99999@aliyun7412,cntaobaoabc59239 -cnphpwnd99999@aliyun7413,cntaobaoabc5928 -cnphpwnd99999@aliyun7414,cntaobaoabc5929817 -cnphpwnd99999@aliyun7415,cntaobaoabc5946 -cnphpwnd99999@aliyun7416,cntaobaoabc595 -cnphpwnd99999@aliyun7417,cntaobaoabc5958 -cnphpwnd99999@aliyun7418,cntaobaoabc597856 -cnphpwnd99999@aliyun7419,cntaobaoabc598 -cnphpwnd99999@aliyun7420,cntaobaoabc5992169 -cnphpwnd99999@aliyun7421,cntaobaoabc6 -cnphpwnd99999@aliyun7422,cntaobaoabc600 -cnphpwnd99999@aliyun7423,cntaobaoabc6012 -cnphpwnd99999@aliyun7424,cntaobaoabc6017793 -cnphpwnd99999@aliyun7425,cntaobaoabc60491053 -cnphpwnd99999@aliyun7426,cntaobaoabc605992600 -cnphpwnd99999@aliyun7427,cntaobaoabc6060a -cnphpwnd99999@aliyun7428,cntaobaoabc606833 -cnphpwnd99999@aliyun7429,cntaobaoabc6120182 -cnphpwnd99999@aliyun7430,cntaobaoabc6121 -cnphpwnd99999@aliyun7431,cntaobaoabc612354 -cnphpwnd99999@aliyun7432,cntaobaoabc612888 -cnphpwnd99999@aliyun7433,cntaobaoabc6135 -cnphpwnd99999@aliyun7434,cntaobaoabc6158 -cnphpwnd99999@aliyun7435,cntaobaoabc617712621 -cnphpwnd99999@aliyun7436,cntaobaoabc618 -cnphpwnd99999@aliyun7437,cntaobaoabc6181 -cnphpwnd99999@aliyun7438,cntaobaoabc6184187187 -cnphpwnd99999@aliyun7439,cntaobaoabc619 -cnphpwnd99999@aliyun7440,cntaobaoabc620 -cnphpwnd99999@aliyun7441,cntaobaoabc620444 -cnphpwnd99999@aliyun7442,cntaobaoabc620xyz -cnphpwnd99999@aliyun7443,cntaobaoabc621107 -cnphpwnd99999@aliyun7444,cntaobaoabc622 -cnphpwnd99999@aliyun7445,cntaobaoabc6222305 -cnphpwnd99999@aliyun7446,cntaobaoabc6224 -cnphpwnd99999@aliyun7447,cntaobaoabc6226 -cnphpwnd99999@aliyun7448,cntaobaoabc625 -cnphpwnd99999@aliyun7449,cntaobaoabc6260582 -cnphpwnd99999@aliyun7450,cntaobaoabc62673188 -cnphpwnd99999@aliyun7451,cntaobaoabc62929467 -cnphpwnd99999@aliyun7452,cntaobaoabc6309 -cnphpwnd99999@aliyun7453,cntaobaoabc6325781 -cnphpwnd99999@aliyun7454,cntaobaoabc6333 -cnphpwnd99999@aliyun7455,cntaobaoabc635241abc -cnphpwnd99999@aliyun7456,cntaobaoabc636 -cnphpwnd99999@aliyun7457,cntaobaoabc63644638 -cnphpwnd99999@aliyun7458,cntaobaoabc6366 -cnphpwnd99999@aliyun7459,cntaobaoabc6368068 -cnphpwnd99999@aliyun7460,cntaobaoabc63718 -cnphpwnd99999@aliyun7461,cntaobaoabc6372006 -cnphpwnd99999@aliyun7462,cntaobaoabc6377702 -cnphpwnd99999@aliyun7463,cntaobaoabc637d -cnphpwnd99999@aliyun7464,cntaobaoabc6396581 -cnphpwnd99999@aliyun7465,cntaobaoabc6398297 -cnphpwnd99999@aliyun7466,cntaobaoabc6405 -cnphpwnd99999@aliyun7467,cntaobaoabc64123 -cnphpwnd99999@aliyun7468,cntaobaoabc642371 -cnphpwnd99999@aliyun7469,cntaobaoabc642543 -cnphpwnd99999@aliyun7470,cntaobaoabc64303236 -cnphpwnd99999@aliyun7471,cntaobaoabc643111 -cnphpwnd99999@aliyun7472,cntaobaoabc6439 -cnphpwnd99999@aliyun7473,cntaobaoabc6456 -cnphpwnd99999@aliyun7474,cntaobaoabc6481599 -cnphpwnd99999@aliyun7475,cntaobaoabc64824109 -cnphpwnd99999@aliyun7476,cntaobaoabc648288 -cnphpwnd99999@aliyun7477,cntaobaoabc6495 -cnphpwnd99999@aliyun7478,cntaobaoabc649946146 -cnphpwnd99999@aliyun7479,cntaobaoabc650813 -cnphpwnd99999@aliyun7480,cntaobaoabc65203778 -cnphpwnd99999@aliyun7481,cntaobaoabc6524286 -cnphpwnd99999@aliyun7482,cntaobaoabc6531607 -cnphpwnd99999@aliyun7483,cntaobaoabc6537333 -cnphpwnd99999@aliyun7484,cntaobaoabc6540 -cnphpwnd99999@aliyun7485,cntaobaoabc6543 -cnphpwnd99999@aliyun7486,cntaobaoabc6543213 -cnphpwnd99999@aliyun7487,cntaobaoabc65483426123 -cnphpwnd99999@aliyun7488,cntaobaoabc65506515 -cnphpwnd99999@aliyun7489,cntaobaoabc65717198 -cnphpwnd99999@aliyun7490,cntaobaoabc6587982 -cnphpwnd99999@aliyun7491,cntaobaoabc659997653 -cnphpwnd99999@aliyun7492,cntaobaoabc65ch -cnphpwnd99999@aliyun7493,cntaobaoabc660255 -cnphpwnd99999@aliyun7494,cntaobaoabc6623097 -cnphpwnd99999@aliyun7495,cntaobaoabc663 -cnphpwnd99999@aliyun7496,cntaobaoabc663427 -cnphpwnd99999@aliyun7497,cntaobaoabc66463580 -cnphpwnd99999@aliyun7498,cntaobaoabc6648838 -cnphpwnd99999@aliyun7499,cntaobaoabc66518 -cnphpwnd99999@aliyun7500,cntaobaoabc66542 -cnphpwnd99999@aliyun7501,cntaobaoabc665566 -cnphpwnd99999@aliyun7502,cntaobaoabc666 -cnphpwnd99999@aliyun7503,cntaobaoabc666521 -cnphpwnd99999@aliyun7504,cntaobaoabc666688 -cnphpwnd99999@aliyun7505,cntaobaoabc66688 -cnphpwnd99999@aliyun7506,cntaobaoabc66699 -cnphpwnd99999@aliyun7507,cntaobaoabc666bj -cnphpwnd99999@aliyun7508,cntaobaoabc666zp -cnphpwnd99999@aliyun7509,cntaobaoabc6672748 -cnphpwnd99999@aliyun7510,cntaobaoabc6674249 -cnphpwnd99999@aliyun7511,cntaobaoabc667788 -cnphpwnd99999@aliyun7512,cntaobaoabc668666 -cnphpwnd99999@aliyun7513,cntaobaoabc6688 -cnphpwnd99999@aliyun7514,cntaobaoabc6688-5 -cnphpwnd99999@aliyun7515,cntaobaoabc669558 -cnphpwnd99999@aliyun7516,cntaobaoabc66_ -cnphpwnd99999@aliyun7517,cntaobaoabc66efg -cnphpwnd99999@aliyun7518,cntaobaoabc6712917 -cnphpwnd99999@aliyun7519,cntaobaoabc6750 -cnphpwnd99999@aliyun7520,cntaobaoabc675365634 -cnphpwnd99999@aliyun7521,cntaobaoabc677 -cnphpwnd99999@aliyun7522,cntaobaoabc6789 -cnphpwnd99999@aliyun7523,cntaobaoabc6789045 -cnphpwnd99999@aliyun7524,cntaobaoabc6791731 -cnphpwnd99999@aliyun7525,cntaobaoabc67jerry -cnphpwnd99999@aliyun7526,cntaobaoabc680 -cnphpwnd99999@aliyun7527,cntaobaoabc6800798 -cnphpwnd99999@aliyun7528,cntaobaoabc6808 -cnphpwnd99999@aliyun7529,cntaobaoabc6815268 -cnphpwnd99999@aliyun7530,cntaobaoabc6828_cn -cnphpwnd99999@aliyun7531,cntaobaoabc6829111 -cnphpwnd99999@aliyun7532,cntaobaoabc6861410 -cnphpwnd99999@aliyun7533,cntaobaoabc68888 -cnphpwnd99999@aliyun7534,cntaobaoabc689121 -cnphpwnd99999@aliyun7535,cntaobaoabc6894634 -cnphpwnd99999@aliyun7536,cntaobaoabc6938622 -cnphpwnd99999@aliyun7537,cntaobaoabc6959 -cnphpwnd99999@aliyun7538,cntaobaoabc6969996 -cnphpwnd99999@aliyun7539,cntaobaoabc6982216 -cnphpwnd99999@aliyun7540,cntaobaoabc698411 -cnphpwnd99999@aliyun7541,cntaobaoabc6988707 -cnphpwnd99999@aliyun7542,cntaobaoabc70082000 -cnphpwnd99999@aliyun7543,cntaobaoabc7009 -cnphpwnd99999@aliyun7544,cntaobaoabc700909 -cnphpwnd99999@aliyun7545,cntaobaoabc702 -cnphpwnd99999@aliyun7546,cntaobaoabc7030507 -cnphpwnd99999@aliyun7547,cntaobaoabc7068930 -cnphpwnd99999@aliyun7548,cntaobaoabc7078 -cnphpwnd99999@aliyun7549,cntaobaoabc708290 -cnphpwnd99999@aliyun7550,cntaobaoabc7086 -cnphpwnd99999@aliyun7551,cntaobaoabc71007 -cnphpwnd99999@aliyun7552,cntaobaoabc710823 -cnphpwnd99999@aliyun7553,cntaobaoabc7142387 -cnphpwnd99999@aliyun7554,cntaobaoabc720 -cnphpwnd99999@aliyun7555,cntaobaoabc720122 -cnphpwnd99999@aliyun7556,cntaobaoabc7206659 -cnphpwnd99999@aliyun7557,cntaobaoabc720920 -cnphpwnd99999@aliyun7558,cntaobaoabc72171000 -cnphpwnd99999@aliyun7559,cntaobaoabc7233 -cnphpwnd99999@aliyun7560,cntaobaoabc7266291 -cnphpwnd99999@aliyun7561,cntaobaoabc7294 -cnphpwnd99999@aliyun7562,cntaobaoabc731109 -cnphpwnd99999@aliyun7563,cntaobaoabc731731 -cnphpwnd99999@aliyun7564,cntaobaoabc731899 -cnphpwnd99999@aliyun7565,cntaobaoabc73354210 -cnphpwnd99999@aliyun7566,cntaobaoabc7338 -cnphpwnd99999@aliyun7567,cntaobaoabc737 -cnphpwnd99999@aliyun7568,cntaobaoabc7372722 -cnphpwnd99999@aliyun7569,cntaobaoabc7377 -cnphpwnd99999@aliyun7570,cntaobaoabc740411 -cnphpwnd99999@aliyun7571,cntaobaoabc7407 -cnphpwnd99999@aliyun7572,cntaobaoabc741030 -cnphpwnd99999@aliyun7573,cntaobaoabc7411 -cnphpwnd99999@aliyun7574,cntaobaoabc7420076 -cnphpwnd99999@aliyun7575,cntaobaoabc74328 -cnphpwnd99999@aliyun7576,cntaobaoabc7474174 -cnphpwnd99999@aliyun7577,cntaobaoabc74744747 -cnphpwnd99999@aliyun7578,cntaobaoabc7483432 -cnphpwnd99999@aliyun7579,cntaobaoabc749129 -cnphpwnd99999@aliyun7580,cntaobaoabc7499 -cnphpwnd99999@aliyun7581,cntaobaoabc751023 -cnphpwnd99999@aliyun7582,cntaobaoabc751216 -cnphpwnd99999@aliyun7583,cntaobaoabc751416061 -cnphpwnd99999@aliyun7584,cntaobaoabc75440959 -cnphpwnd99999@aliyun7585,cntaobaoabc755 -cnphpwnd99999@aliyun7586,cntaobaoabc7550604123 -cnphpwnd99999@aliyun7587,cntaobaoabc7579642 -cnphpwnd99999@aliyun7588,cntaobaoabc7586932 -cnphpwnd99999@aliyun7589,cntaobaoabc75998080 -cnphpwnd99999@aliyun7590,cntaobaoabc75def -cnphpwnd99999@aliyun7591,cntaobaoabc760120 -cnphpwnd99999@aliyun7592,cntaobaoabc7617372 -cnphpwnd99999@aliyun7593,cntaobaoabc7617736200 -cnphpwnd99999@aliyun7594,cntaobaoabc7619 -cnphpwnd99999@aliyun7595,cntaobaoabc7651771 -cnphpwnd99999@aliyun7596,cntaobaoabc7679662 -cnphpwnd99999@aliyun7597,cntaobaoabc771008 -cnphpwnd99999@aliyun7598,cntaobaoabc7711048 -cnphpwnd99999@aliyun7599,cntaobaoabc7722168 -cnphpwnd99999@aliyun7600,cntaobaoabc7738464 -cnphpwnd99999@aliyun7601,cntaobaoabc77415 -cnphpwnd99999@aliyun7602,cntaobaoabc775200 -cnphpwnd99999@aliyun7603,cntaobaoabc7758532_yoyo -cnphpwnd99999@aliyun7604,cntaobaoabc7774777 -cnphpwnd99999@aliyun7605,cntaobaoabc777559 -cnphpwnd99999@aliyun7606,cntaobaoabc77770 -cnphpwnd99999@aliyun7607,cntaobaoabc777999 -cnphpwnd99999@aliyun7608,cntaobaoabc777xx -cnphpwnd99999@aliyun7609,cntaobaoabc778899 -cnphpwnd99999@aliyun7610,cntaobaoabc78099495 -cnphpwnd99999@aliyun7611,cntaobaoabc7810130 -cnphpwnd99999@aliyun7612,cntaobaoabc78123 -cnphpwnd99999@aliyun7613,cntaobaoabc78218 -cnphpwnd99999@aliyun7614,cntaobaoabc7849101 -cnphpwnd99999@aliyun7615,cntaobaoabc7878 -cnphpwnd99999@aliyun7616,cntaobaoabc7879 -cnphpwnd99999@aliyun7617,cntaobaoabc7890 -cnphpwnd99999@aliyun7618,cntaobaoabc789000 -cnphpwnd99999@aliyun7619,cntaobaoabc78911 -cnphpwnd99999@aliyun7620,cntaobaoabc789188 -cnphpwnd99999@aliyun7621,cntaobaoabc7892 -cnphpwnd99999@aliyun7622,cntaobaoabc7892925 -cnphpwnd99999@aliyun7623,cntaobaoabc789516 -cnphpwnd99999@aliyun7624,cntaobaoabc789789 -cnphpwnd99999@aliyun7625,cntaobaoabc789920 -cnphpwnd99999@aliyun7626,cntaobaoabc78999 -cnphpwnd99999@aliyun7627,cntaobaoabc789de456 -cnphpwnd99999@aliyun7628,cntaobaoabc790225 -cnphpwnd99999@aliyun7629,cntaobaoabc7908 -cnphpwnd99999@aliyun7630,cntaobaoabc79155 -cnphpwnd99999@aliyun7631,cntaobaoabc79238042 -cnphpwnd99999@aliyun7632,cntaobaoabc795000 -cnphpwnd99999@aliyun7633,cntaobaoabc79619 -cnphpwnd99999@aliyun7634,cntaobaoabc7968182 -cnphpwnd99999@aliyun7635,cntaobaoabc7971 -cnphpwnd99999@aliyun7636,cntaobaoabc797260 -cnphpwnd99999@aliyun7637,cntaobaoabc79864048 -cnphpwnd99999@aliyun7638,cntaobaoabc799700 -cnphpwnd99999@aliyun7639,cntaobaoabc8008 -cnphpwnd99999@aliyun7640,cntaobaoabc8010159 -cnphpwnd99999@aliyun7641,cntaobaoabc8018 -cnphpwnd99999@aliyun7642,cntaobaoabc8019 -cnphpwnd99999@aliyun7643,cntaobaoabc802 -cnphpwnd99999@aliyun7644,cntaobaoabc8022 -cnphpwnd99999@aliyun7645,cntaobaoabc804804 -cnphpwnd99999@aliyun7646,cntaobaoabc806 -cnphpwnd99999@aliyun7647,cntaobaoabc8075 -cnphpwnd99999@aliyun7648,cntaobaoabc8081699 -cnphpwnd99999@aliyun7649,cntaobaoabc8082311 -cnphpwnd99999@aliyun7650,cntaobaoabc8085 -cnphpwnd99999@aliyun7651,cntaobaoabc8088 -cnphpwnd99999@aliyun7652,cntaobaoabc80984 -cnphpwnd99999@aliyun7653,cntaobaoabc81 -cnphpwnd99999@aliyun7654,cntaobaoabc8103 -cnphpwnd99999@aliyun7655,cntaobaoabc811102 -cnphpwnd99999@aliyun7656,cntaobaoabc811129 -cnphpwnd99999@aliyun7657,cntaobaoabc81167 -cnphpwnd99999@aliyun7658,cntaobaoabc81223419 -cnphpwnd99999@aliyun7659,cntaobaoabc8127112 -cnphpwnd99999@aliyun7660,cntaobaoabc817 -cnphpwnd99999@aliyun7661,cntaobaoabc817419 -cnphpwnd99999@aliyun7662,cntaobaoabc81781 -cnphpwnd99999@aliyun7663,cntaobaoabc81801226 -cnphpwnd99999@aliyun7664,cntaobaoabc8183870 -cnphpwnd99999@aliyun7665,cntaobaoabc8190 -cnphpwnd99999@aliyun7666,cntaobaoabc8192979 -cnphpwnd99999@aliyun7667,cntaobaoabc82 -cnphpwnd99999@aliyun7668,cntaobaoabc820110 -cnphpwnd99999@aliyun7669,cntaobaoabc820121 -cnphpwnd99999@aliyun7670,cntaobaoabc8203 -cnphpwnd99999@aliyun7671,cntaobaoabc820822 -cnphpwnd99999@aliyun7672,cntaobaoabc821 -cnphpwnd99999@aliyun7673,cntaobaoabc821209 -cnphpwnd99999@aliyun7674,cntaobaoabc8223 -cnphpwnd99999@aliyun7675,cntaobaoabc822324 -cnphpwnd99999@aliyun7676,cntaobaoabc8234213 -cnphpwnd99999@aliyun7677,cntaobaoabc8235 -cnphpwnd99999@aliyun7678,cntaobaoabc8235135 -cnphpwnd99999@aliyun7679,cntaobaoabc82410 -cnphpwnd99999@aliyun7680,cntaobaoabc8252118 -cnphpwnd99999@aliyun7681,cntaobaoabc827 -cnphpwnd99999@aliyun7682,cntaobaoabc8270008 -cnphpwnd99999@aliyun7683,cntaobaoabc82782922 -cnphpwnd99999@aliyun7684,cntaobaoabc8286808 -cnphpwnd99999@aliyun7685,cntaobaoabc828788 -cnphpwnd99999@aliyun7686,cntaobaoabc8288 -cnphpwnd99999@aliyun7687,cntaobaoabc828886 -cnphpwnd99999@aliyun7688,cntaobaoabc829 -cnphpwnd99999@aliyun7689,cntaobaoabc8290656 -cnphpwnd99999@aliyun7690,cntaobaoabc82gogogo -cnphpwnd99999@aliyun7691,cntaobaoabc830107 -cnphpwnd99999@aliyun7692,cntaobaoabc8302 -cnphpwnd99999@aliyun7693,cntaobaoabc8304821110 -cnphpwnd99999@aliyun7694,cntaobaoabc830520 -cnphpwnd99999@aliyun7695,cntaobaoabc8306565 -cnphpwnd99999@aliyun7696,cntaobaoabc8308504 -cnphpwnd99999@aliyun7697,cntaobaoabc831019 -cnphpwnd99999@aliyun7698,cntaobaoabc83110060 -cnphpwnd99999@aliyun7699,cntaobaoabc831124abc -cnphpwnd99999@aliyun7700,cntaobaoabc8312886 -cnphpwnd99999@aliyun7701,cntaobaoabc83168666 -cnphpwnd99999@aliyun7702,cntaobaoabc8317578 -cnphpwnd99999@aliyun7703,cntaobaoabc832175 -cnphpwnd99999@aliyun7704,cntaobaoabc83658146 -cnphpwnd99999@aliyun7705,cntaobaoabc83808875 -cnphpwnd99999@aliyun7706,cntaobaoabc839ling -cnphpwnd99999@aliyun7707,cntaobaoabc840818 -cnphpwnd99999@aliyun7708,cntaobaoabc8410081 -cnphpwnd99999@aliyun7709,cntaobaoabc841017 -cnphpwnd99999@aliyun7710,cntaobaoabc8418 -cnphpwnd99999@aliyun7711,cntaobaoabc842 -cnphpwnd99999@aliyun7712,cntaobaoabc8424 -cnphpwnd99999@aliyun7713,cntaobaoabc8425 -cnphpwnd99999@aliyun7714,cntaobaoabc84303 -cnphpwnd99999@aliyun7715,cntaobaoabc845 -cnphpwnd99999@aliyun7716,cntaobaoabc8471 -cnphpwnd99999@aliyun7717,cntaobaoabc84943110 -cnphpwnd99999@aliyun7718,cntaobaoabc8501 -cnphpwnd99999@aliyun7719,cntaobaoabc850430 -cnphpwnd99999@aliyun7720,cntaobaoabc8507 -cnphpwnd99999@aliyun7721,cntaobaoabc8508243 -cnphpwnd99999@aliyun7722,cntaobaoabc8511242 -cnphpwnd99999@aliyun7723,cntaobaoabc8513039 -cnphpwnd99999@aliyun7724,cntaobaoabc8517465 -cnphpwnd99999@aliyun7725,cntaobaoabc85182546 -cnphpwnd99999@aliyun7726,cntaobaoabc8522 -cnphpwnd99999@aliyun7727,cntaobaoabc85233123 -cnphpwnd99999@aliyun7728,cntaobaoabc85315635 -cnphpwnd99999@aliyun7729,cntaobaoabc8542370 -cnphpwnd99999@aliyun7730,cntaobaoabc85468 -cnphpwnd99999@aliyun7731,cntaobaoabc8548 -cnphpwnd99999@aliyun7732,cntaobaoabc85535298 -cnphpwnd99999@aliyun7733,cntaobaoabc8565066 -cnphpwnd99999@aliyun7734,cntaobaoabc857406 -cnphpwnd99999@aliyun7735,cntaobaoabc8575 -cnphpwnd99999@aliyun7736,cntaobaoabc8579 -cnphpwnd99999@aliyun7737,cntaobaoabc858 -cnphpwnd99999@aliyun7738,cntaobaoabc8581168 -cnphpwnd99999@aliyun7739,cntaobaoabc858123 -cnphpwnd99999@aliyun7740,cntaobaoabc8582 -cnphpwnd99999@aliyun7741,cntaobaoabc85861263 -cnphpwnd99999@aliyun7742,cntaobaoabc85877107 -cnphpwnd99999@aliyun7743,cntaobaoabc8588630 -cnphpwnd99999@aliyun7744,cntaobaoabc859270 -cnphpwnd99999@aliyun7745,cntaobaoabc85961 -cnphpwnd99999@aliyun7746,cntaobaoabc8598156 -cnphpwnd99999@aliyun7747,cntaobaoabc85988 -cnphpwnd99999@aliyun7748,cntaobaoabc8601008 -cnphpwnd99999@aliyun7749,cntaobaoabc860222 -cnphpwnd99999@aliyun7750,cntaobaoabc86121719 -cnphpwnd99999@aliyun7751,cntaobaoabc8612272 -cnphpwnd99999@aliyun7752,cntaobaoabc861300 -cnphpwnd99999@aliyun7753,cntaobaoabc861808 -cnphpwnd99999@aliyun7754,cntaobaoabc8625969 -cnphpwnd99999@aliyun7755,cntaobaoabc86305703 -cnphpwnd99999@aliyun7756,cntaobaoabc863478 -cnphpwnd99999@aliyun7757,cntaobaoabc8666086 -cnphpwnd99999@aliyun7758,cntaobaoabc8677939 -cnphpwnd99999@aliyun7759,cntaobaoabc868 -cnphpwnd99999@aliyun7760,cntaobaoabc86826 -cnphpwnd99999@aliyun7761,cntaobaoabc8686 -cnphpwnd99999@aliyun7762,cntaobaoabc8688 -cnphpwnd99999@aliyun7763,cntaobaoabc8688755 -cnphpwnd99999@aliyun7764,cntaobaoabc871 -cnphpwnd99999@aliyun7765,cntaobaoabc8714454 -cnphpwnd99999@aliyun7766,cntaobaoabc8717 -cnphpwnd99999@aliyun7767,cntaobaoabc87184719 -cnphpwnd99999@aliyun7768,cntaobaoabc87222379 -cnphpwnd99999@aliyun7769,cntaobaoabc8726347 -cnphpwnd99999@aliyun7770,cntaobaoabc874 -cnphpwnd99999@aliyun7771,cntaobaoabc8749 -cnphpwnd99999@aliyun7772,cntaobaoabc87576380 -cnphpwnd99999@aliyun7773,cntaobaoabc8760 -cnphpwnd99999@aliyun7774,cntaobaoabc876558 -cnphpwnd99999@aliyun7775,cntaobaoabc878liu -cnphpwnd99999@aliyun7776,cntaobaoabc88 -cnphpwnd99999@aliyun7777,cntaobaoabc88023551 -cnphpwnd99999@aliyun7778,cntaobaoabc88123 -cnphpwnd99999@aliyun7779,cntaobaoabc8813 -cnphpwnd99999@aliyun7780,cntaobaoabc8816001 -cnphpwnd99999@aliyun7781,cntaobaoabc8820455 -cnphpwnd99999@aliyun7782,cntaobaoabc88225531abc -cnphpwnd99999@aliyun7783,cntaobaoabc8828 -cnphpwnd99999@aliyun7784,cntaobaoabc883331 -cnphpwnd99999@aliyun7785,cntaobaoabc88368 -cnphpwnd99999@aliyun7786,cntaobaoabc88423a -cnphpwnd99999@aliyun7787,cntaobaoabc8848 -cnphpwnd99999@aliyun7788,cntaobaoabc8848xyz -cnphpwnd99999@aliyun7789,cntaobaoabc88533796 -cnphpwnd99999@aliyun7790,cntaobaoabc886 -cnphpwnd99999@aliyun7791,cntaobaoabc8861 -cnphpwnd99999@aliyun7792,cntaobaoabc8861554 -cnphpwnd99999@aliyun7793,cntaobaoabc8866 -cnphpwnd99999@aliyun7794,cntaobaoabc8877 -cnphpwnd99999@aliyun7795,cntaobaoabc8885249 -cnphpwnd99999@aliyun7796,cntaobaoabc888666 -cnphpwnd99999@aliyun7797,cntaobaoabc8887 -cnphpwnd99999@aliyun7798,cntaobaoabc8888 -cnphpwnd99999@aliyun7799,cntaobaoabc888811 -cnphpwnd99999@aliyun7800,cntaobaoabc88886666 -cnphpwnd99999@aliyun7801,cntaobaoabc8888852abc -cnphpwnd99999@aliyun7802,cntaobaoabc888888188 -cnphpwnd99999@aliyun7803,cntaobaoabc88888888 -cnphpwnd99999@aliyun7804,cntaobaoabc8889842 -cnphpwnd99999@aliyun7805,cntaobaoabc888999111 -cnphpwnd99999@aliyun7806,cntaobaoabc888de -cnphpwnd99999@aliyun7807,cntaobaoabc888deg -cnphpwnd99999@aliyun7808,cntaobaoabc888ii -cnphpwnd99999@aliyun7809,cntaobaoabc888zjb -cnphpwnd99999@aliyun7810,cntaobaoabc889 -cnphpwnd99999@aliyun7811,cntaobaoabc8891 -cnphpwnd99999@aliyun7812,cntaobaoabc88988 -cnphpwnd99999@aliyun7813,cntaobaoabc8898888 -cnphpwnd99999@aliyun7814,cntaobaoabc889_9 -cnphpwnd99999@aliyun7815,cntaobaoabc88abc -cnphpwnd99999@aliyun7816,cntaobaoabc88ok -cnphpwnd99999@aliyun7817,cntaobaoabc88z1103 -cnphpwnd99999@aliyun7818,cntaobaoabc8906331 -cnphpwnd99999@aliyun7819,cntaobaoabc890821 -cnphpwnd99999@aliyun7820,cntaobaoabc891231 -cnphpwnd99999@aliyun7821,cntaobaoabc891241 -cnphpwnd99999@aliyun7822,cntaobaoabc8915123 -cnphpwnd99999@aliyun7823,cntaobaoabc8918958 -cnphpwnd99999@aliyun7824,cntaobaoabc8941 -cnphpwnd99999@aliyun7825,cntaobaoabc89571602 -cnphpwnd99999@aliyun7826,cntaobaoabc8970 -cnphpwnd99999@aliyun7827,cntaobaoabc8989799 -cnphpwnd99999@aliyun7828,cntaobaoabc8998 -cnphpwnd99999@aliyun7829,cntaobaoabc90082003 -cnphpwnd99999@aliyun7830,cntaobaoabc901204 -cnphpwnd99999@aliyun7831,cntaobaoabc90936 -cnphpwnd99999@aliyun7832,cntaobaoabc9111 -cnphpwnd99999@aliyun7833,cntaobaoabc911218 -cnphpwnd99999@aliyun7834,cntaobaoabc911711 -cnphpwnd99999@aliyun7835,cntaobaoabc911hf2006 -cnphpwnd99999@aliyun7836,cntaobaoabc9158 -cnphpwnd99999@aliyun7837,cntaobaoabc9158.m -cnphpwnd99999@aliyun7838,cntaobaoabc9188168 -cnphpwnd99999@aliyun7839,cntaobaoabc919 -cnphpwnd99999@aliyun7840,cntaobaoabc921379113 -cnphpwnd99999@aliyun7841,cntaobaoabc925 -cnphpwnd99999@aliyun7842,cntaobaoabc92889 -cnphpwnd99999@aliyun7843,cntaobaoabc929 -cnphpwnd99999@aliyun7844,cntaobaoabc9290 -cnphpwnd99999@aliyun7845,cntaobaoabc9339126 -cnphpwnd99999@aliyun7846,cntaobaoabc93939595 -cnphpwnd99999@aliyun7847,cntaobaoabc9415 -cnphpwnd99999@aliyun7848,cntaobaoabc9420 -cnphpwnd99999@aliyun7849,cntaobaoabc951680 -cnphpwnd99999@aliyun7850,cntaobaoabc951826 -cnphpwnd99999@aliyun7851,cntaobaoabc95204 -cnphpwnd99999@aliyun7852,cntaobaoabc95205 -cnphpwnd99999@aliyun7853,cntaobaoabc95411581 -cnphpwnd99999@aliyun7854,cntaobaoabc9555 -cnphpwnd99999@aliyun7855,cntaobaoabc95599 -cnphpwnd99999@aliyun7856,cntaobaoabc958 -cnphpwnd99999@aliyun7857,cntaobaoabc958613 -cnphpwnd99999@aliyun7858,cntaobaoabc96118 -cnphpwnd99999@aliyun7859,cntaobaoabc963258741 -cnphpwnd99999@aliyun7860,cntaobaoabc963741 -cnphpwnd99999@aliyun7861,cntaobaoabc967000abc -cnphpwnd99999@aliyun7862,cntaobaoabc9700 -cnphpwnd99999@aliyun7863,cntaobaoabc9703 -cnphpwnd99999@aliyun7864,cntaobaoabc970828 -cnphpwnd99999@aliyun7865,cntaobaoabc976 -cnphpwnd99999@aliyun7866,cntaobaoabc9785669 -cnphpwnd99999@aliyun7867,cntaobaoabc9790137 -cnphpwnd99999@aliyun7868,cntaobaoabc98011059 -cnphpwnd99999@aliyun7869,cntaobaoabc980228 -cnphpwnd99999@aliyun7870,cntaobaoabc981001 -cnphpwnd99999@aliyun7871,cntaobaoabc981679 -cnphpwnd99999@aliyun7872,cntaobaoabc981g35 -cnphpwnd99999@aliyun7873,cntaobaoabc98314 -cnphpwnd99999@aliyun7874,cntaobaoabc983229 -cnphpwnd99999@aliyun7875,cntaobaoabc98556 -cnphpwnd99999@aliyun7876,cntaobaoabc986 -cnphpwnd99999@aliyun7877,cntaobaoabc987 -cnphpwnd99999@aliyun7878,cntaobaoabc9876541 -cnphpwnd99999@aliyun7879,cntaobaoabc987654321088 -cnphpwnd99999@aliyun7880,cntaobaoabc987abc -cnphpwnd99999@aliyun7881,cntaobaoabc987cccddd -cnphpwnd99999@aliyun7882,cntaobaoabc988 -cnphpwnd99999@aliyun7883,cntaobaoabc988s -cnphpwnd99999@aliyun7884,cntaobaoabc989147 -cnphpwnd99999@aliyun7885,cntaobaoabc9898 -cnphpwnd99999@aliyun7886,cntaobaoabc989898 -cnphpwnd99999@aliyun7887,cntaobaoabc990181 -cnphpwnd99999@aliyun7888,cntaobaoabc990221 -cnphpwnd99999@aliyun7889,cntaobaoabc9905 -cnphpwnd99999@aliyun7890,cntaobaoabc99095 -cnphpwnd99999@aliyun7891,cntaobaoabc990990 -cnphpwnd99999@aliyun7892,cntaobaoabc991213 -cnphpwnd99999@aliyun7893,cntaobaoabc99170207 -cnphpwnd99999@aliyun7894,cntaobaoabc9932141 -cnphpwnd99999@aliyun7895,cntaobaoabc994102 -cnphpwnd99999@aliyun7896,cntaobaoabc99431 -cnphpwnd99999@aliyun7897,cntaobaoabc99445445 -cnphpwnd99999@aliyun7898,cntaobaoabc99450386 -cnphpwnd99999@aliyun7899,cntaobaoabc9968 -cnphpwnd99999@aliyun7900,cntaobaoabc99789978 -cnphpwnd99999@aliyun7901,cntaobaoabc9981 -cnphpwnd99999@aliyun7902,cntaobaoabc998877 -cnphpwnd99999@aliyun7903,cntaobaoabc998877111 -cnphpwnd99999@aliyun7904,cntaobaoabc9989 -cnphpwnd99999@aliyun7905,cntaobaoabc999 -cnphpwnd99999@aliyun7906,cntaobaoabc999456 -cnphpwnd99999@aliyun7907,cntaobaoabc99999999 -cnphpwnd99999@aliyun7908,cntaobaoabc999999999999 -cnphpwnd99999@aliyun7909,cntaobaoabc999good -cnphpwnd99999@aliyun7910,cntaobaoabc99abc88 -cnphpwnd99999@aliyun7911,cntaobaoabc99au -cnphpwnd99999@aliyun7912,cntaobaoabc9cba -cnphpwnd99999@aliyun7913,cntaobaoabc_00000 -cnphpwnd99999@aliyun7914,cntaobaoabc_000000 -cnphpwnd99999@aliyun7915,cntaobaoabc_0045 -cnphpwnd99999@aliyun7916,cntaobaoabc_007 -cnphpwnd99999@aliyun7917,cntaobaoabc_0135 -cnphpwnd99999@aliyun7918,cntaobaoabc_0512 -cnphpwnd99999@aliyun7919,cntaobaoabc_0619 -cnphpwnd99999@aliyun7920,cntaobaoabc_0729 -cnphpwnd99999@aliyun7921,cntaobaoabc_0_123 -cnphpwnd99999@aliyun7922,cntaobaoabc_1031 -cnphpwnd99999@aliyun7923,cntaobaoabc_111b -cnphpwnd99999@aliyun7924,cntaobaoabc_1120 -cnphpwnd99999@aliyun7925,cntaobaoabc_11878 -cnphpwnd99999@aliyun7926,cntaobaoabc_12 -cnphpwnd99999@aliyun7927,cntaobaoabc_1204 -cnphpwnd99999@aliyun7928,cntaobaoabc_121214348 -cnphpwnd99999@aliyun7929,cntaobaoabc_1213 -cnphpwnd99999@aliyun7930,cntaobaoabc_123 -cnphpwnd99999@aliyun7931,cntaobaoabc_12300 -cnphpwnd99999@aliyun7932,cntaobaoabc_123000 -cnphpwnd99999@aliyun7933,cntaobaoabc_12311 -cnphpwnd99999@aliyun7934,cntaobaoabc_123210 -cnphpwnd99999@aliyun7935,cntaobaoabc_1234568 -cnphpwnd99999@aliyun7936,cntaobaoabc_123_ -cnphpwnd99999@aliyun7937,cntaobaoabc_123_2005 -cnphpwnd99999@aliyun7938,cntaobaoabc_1251 -cnphpwnd99999@aliyun7939,cntaobaoabc_1361819 -cnphpwnd99999@aliyun7940,cntaobaoabc_138 -cnphpwnd99999@aliyun7941,cntaobaoabc_159 -cnphpwnd99999@aliyun7942,cntaobaoabc_168 -cnphpwnd99999@aliyun7943,cntaobaoabc_168kkk -cnphpwnd99999@aliyun7944,cntaobaoabc_182 -cnphpwnd99999@aliyun7945,cntaobaoabc_1972 -cnphpwnd99999@aliyun7946,cntaobaoabc_1998 -cnphpwnd99999@aliyun7947,cntaobaoabc_1999 -cnphpwnd99999@aliyun7948,cntaobaoabc_1_abc -cnphpwnd99999@aliyun7949,cntaobaoabc_2 -cnphpwnd99999@aliyun7950,cntaobaoabc_200100 -cnphpwnd99999@aliyun7951,cntaobaoabc_20010617 -cnphpwnd99999@aliyun7952,cntaobaoabc_20051 -cnphpwnd99999@aliyun7953,cntaobaoabc_200588 -cnphpwnd99999@aliyun7954,cntaobaoabc_200606 -cnphpwnd99999@aliyun7955,cntaobaoabc_2008_123 -cnphpwnd99999@aliyun7956,cntaobaoabc_223366 -cnphpwnd99999@aliyun7957,cntaobaoabc_226946 -cnphpwnd99999@aliyun7958,cntaobaoabc_2300082 -cnphpwnd99999@aliyun7959,cntaobaoabc_24474157 -cnphpwnd99999@aliyun7960,cntaobaoabc_24682468 -cnphpwnd99999@aliyun7961,cntaobaoabc_28 -cnphpwnd99999@aliyun7962,cntaobaoabc_2827548 -cnphpwnd99999@aliyun7963,cntaobaoabc_2840022 -cnphpwnd99999@aliyun7964,cntaobaoabc_299 -cnphpwnd99999@aliyun7965,cntaobaoabc_3 -cnphpwnd99999@aliyun7966,cntaobaoabc_3080 -cnphpwnd99999@aliyun7967,cntaobaoabc_3211 -cnphpwnd99999@aliyun7968,cntaobaoabc_331 -cnphpwnd99999@aliyun7969,cntaobaoabc_4116 -cnphpwnd99999@aliyun7970,cntaobaoabc_4545131 -cnphpwnd99999@aliyun7971,cntaobaoabc_4767675 -cnphpwnd99999@aliyun7972,cntaobaoabc_521 -cnphpwnd99999@aliyun7973,cntaobaoabc_5218 -cnphpwnd99999@aliyun7974,cntaobaoabc_52188888 -cnphpwnd99999@aliyun7975,cntaobaoabc_5377 -cnphpwnd99999@aliyun7976,cntaobaoabc_5516006 -cnphpwnd99999@aliyun7977,cntaobaoabc_607 -cnphpwnd99999@aliyun7978,cntaobaoabc_628 -cnphpwnd99999@aliyun7979,cntaobaoabc_630 -cnphpwnd99999@aliyun7980,cntaobaoabc_650 -cnphpwnd99999@aliyun7981,cntaobaoabc_6580358 -cnphpwnd99999@aliyun7982,cntaobaoabc_6611 -cnphpwnd99999@aliyun7983,cntaobaoabc_666666 -cnphpwnd99999@aliyun7984,cntaobaoabc_66666666 -cnphpwnd99999@aliyun7985,cntaobaoabc_712 -cnphpwnd99999@aliyun7986,cntaobaoabc_726 -cnphpwnd99999@aliyun7987,cntaobaoabc_7723003 -cnphpwnd99999@aliyun7988,cntaobaoabc_789 -cnphpwnd99999@aliyun7989,cntaobaoabc_790612 -cnphpwnd99999@aliyun7990,cntaobaoabc_8008 -cnphpwnd99999@aliyun7991,cntaobaoabc_810913 -cnphpwnd99999@aliyun7992,cntaobaoabc_820416 -cnphpwnd99999@aliyun7993,cntaobaoabc_84628462 -cnphpwnd99999@aliyun7994,cntaobaoabc_886 -cnphpwnd99999@aliyun7995,cntaobaoabc_91054 -cnphpwnd99999@aliyun7996,cntaobaoabc_998 -cnphpwnd99999@aliyun7997,cntaobaoabc_999china -cnphpwnd99999@aliyun7998,cntaobaoabc_abc123 -cnphpwnd99999@aliyun7999,cntaobaoabc_abc51 -cnphpwnd99999@aliyun8000,cntaobaoabc_abc777 -cnphpwnd99999@aliyun8001,cntaobaoabc_abc999 -cnphpwnd99999@aliyun8002,cntaobaoabc_abc_2004 -cnphpwnd99999@aliyun8003,cntaobaoabc_abc_abc -cnphpwnd99999@aliyun8004,cntaobaoabc_abcdefg -cnphpwnd99999@aliyun8005,cntaobaoabc_abclyf -cnphpwnd99999@aliyun8006,cntaobaoabc_amy -cnphpwnd99999@aliyun8007,cntaobaoabc_baby -cnphpwnd99999@aliyun8008,cntaobaoabc_bamboo -cnphpwnd99999@aliyun8009,cntaobaoabc_blue -cnphpwnd99999@aliyun8010,cntaobaoabc_card -cnphpwnd99999@aliyun8011,cntaobaoabc_cathy1013 -cnphpwnd99999@aliyun8012,cntaobaoabc_cba1 -cnphpwnd99999@aliyun8013,cntaobaoabc_cba88 -cnphpwnd99999@aliyun8014,cntaobaoabc_ch -cnphpwnd99999@aliyun8015,cntaobaoabc_chen -cnphpwnd99999@aliyun8016,cntaobaoabc_chp_001 -cnphpwnd99999@aliyun8017,cntaobaoabc_cola -cnphpwnd99999@aliyun8018,cntaobaoabc_cyh -cnphpwnd99999@aliyun8019,cntaobaoabc_dmn -cnphpwnd99999@aliyun8020,cntaobaoabc_fangfang -cnphpwnd99999@aliyun8021,cntaobaoabc_ggg -cnphpwnd99999@aliyun8022,cntaobaoabc_helene -cnphpwnd99999@aliyun8023,cntaobaoabc_hyq -cnphpwnd99999@aliyun8024,cntaobaoabc_leo -cnphpwnd99999@aliyun8025,cntaobaoabc_lg -cnphpwnd99999@aliyun8026,cntaobaoabc_lily -cnphpwnd99999@aliyun8027,cntaobaoabc_lingxian -cnphpwnd99999@aliyun8028,cntaobaoabc_litao -cnphpwnd99999@aliyun8029,cntaobaoabc_lmn_opq -cnphpwnd99999@aliyun8030,cntaobaoabc_luiying_abc -cnphpwnd99999@aliyun8031,cntaobaoabc_mm -cnphpwnd99999@aliyun8032,cntaobaoabc_nanjing -cnphpwnd99999@aliyun8033,cntaobaoabc_nh -cnphpwnd99999@aliyun8034,cntaobaoabc_nico -cnphpwnd99999@aliyun8035,cntaobaoabc_popboy -cnphpwnd99999@aliyun8036,cntaobaoabc_pzd -cnphpwnd99999@aliyun8037,cntaobaoabc_ren -cnphpwnd99999@aliyun8038,cntaobaoabc_simple -cnphpwnd99999@aliyun8039,cntaobaoabc_sin -cnphpwnd99999@aliyun8040,cntaobaoabc_sky -cnphpwnd99999@aliyun8041,cntaobaoabc_sun -cnphpwnd99999@aliyun8042,cntaobaoabc_tb -cnphpwnd99999@aliyun8043,cntaobaoabc_wanxinjia -cnphpwnd99999@aliyun8044,cntaobaoabc_wg -cnphpwnd99999@aliyun8045,cntaobaoabc_wtq888 -cnphpwnd99999@aliyun8046,cntaobaoabc_xi -cnphpwnd99999@aliyun8047,cntaobaoabc_xiaoli -cnphpwnd99999@aliyun8048,cntaobaoabc_yc -cnphpwnd99999@aliyun8049,cntaobaoabc_your -cnphpwnd99999@aliyun8050,cntaobaoabc_yuan -cnphpwnd99999@aliyun8051,cntaobaoabc_yuch -cnphpwnd99999@aliyun8052,cntaobaoabc_yuyan -cnphpwnd99999@aliyun8053,cntaobaoabc_我510623 -cnphpwnd99999@aliyun8054,cntaobaoabca -cnphpwnd99999@aliyun8055,cntaobaoabca021 -cnphpwnd99999@aliyun8056,cntaobaoabca199607 -cnphpwnd99999@aliyun8057,cntaobaoabca9 -cnphpwnd99999@aliyun8058,cntaobaoabcaa0906 -cnphpwnd99999@aliyun8059,cntaobaoabcaaa -cnphpwnd99999@aliyun8060,cntaobaoabcaaa2 -cnphpwnd99999@aliyun8061,cntaobaoabcaaaaaaaa -cnphpwnd99999@aliyun8062,cntaobaoabcaaabbb -cnphpwnd99999@aliyun8063,cntaobaoabcaaaccc -cnphpwnd99999@aliyun8064,cntaobaoabcaabbcc -cnphpwnd99999@aliyun8065,cntaobaoabcabc -cnphpwnd99999@aliyun8066,cntaobaoabcabc0919 -cnphpwnd99999@aliyun8067,cntaobaoabcabc1 -cnphpwnd99999@aliyun8068,cntaobaoabcabc1000 -cnphpwnd99999@aliyun8069,cntaobaoabcabc11119 -cnphpwnd99999@aliyun8070,cntaobaoabcabc119_2005 -cnphpwnd99999@aliyun8071,cntaobaoabcabc123 -cnphpwnd99999@aliyun8072,cntaobaoabcabc1231 -cnphpwnd99999@aliyun8073,cntaobaoabcabc1234 -cnphpwnd99999@aliyun8074,cntaobaoabcabc123456 -cnphpwnd99999@aliyun8075,cntaobaoabcabc12388 -cnphpwnd99999@aliyun8076,cntaobaoabcabc123_123 -cnphpwnd99999@aliyun8077,cntaobaoabcabc168168 -cnphpwnd99999@aliyun8078,cntaobaoabcabc21 -cnphpwnd99999@aliyun8079,cntaobaoabcabc3210 -cnphpwnd99999@aliyun8080,cntaobaoabcabc334499 -cnphpwnd99999@aliyun8081,cntaobaoabcabc3417 -cnphpwnd99999@aliyun8082,cntaobaoabcabc77885211 -cnphpwnd99999@aliyun8083,cntaobaoabcabc7878 -cnphpwnd99999@aliyun8084,cntaobaoabcabc888 -cnphpwnd99999@aliyun8085,cntaobaoabcabc90 -cnphpwnd99999@aliyun8086,cntaobaoabcabc9527 -cnphpwnd99999@aliyun8087,cntaobaoabcabc9988 -cnphpwnd99999@aliyun8088,cntaobaoabcabc_88101 -cnphpwnd99999@aliyun8089,cntaobaoabcabc_sh -cnphpwnd99999@aliyun8090,cntaobaoabcabcaa8818 -cnphpwnd99999@aliyun8091,cntaobaoabcabcab -cnphpwnd99999@aliyun8092,cntaobaoabcabcab88 -cnphpwnd99999@aliyun8093,cntaobaoabcabcabc -cnphpwnd99999@aliyun8094,cntaobaoabcabcabca -cnphpwnd99999@aliyun8095,cntaobaoabcabcabczz -cnphpwnd99999@aliyun8096,cntaobaoabcabcd1 -cnphpwnd99999@aliyun8097,cntaobaoabcabcde -cnphpwnd99999@aliyun8098,cntaobaoabcabce -cnphpwnd99999@aliyun8099,cntaobaoabcabcfly -cnphpwnd99999@aliyun8100,cntaobaoabcabcpen -cnphpwnd99999@aliyun8101,cntaobaoabcabcpw -cnphpwnd99999@aliyun8102,cntaobaoabcabcqwer -cnphpwnd99999@aliyun8103,cntaobaoabcabcqwert -cnphpwnd99999@aliyun8104,cntaobaoabcabcsz -cnphpwnd99999@aliyun8105,cntaobaoabcabcwww -cnphpwnd99999@aliyun8106,cntaobaoabcabcyuqun -cnphpwnd99999@aliyun8107,cntaobaoabcabczyy -cnphpwnd99999@aliyun8108,cntaobaoabcabczz -cnphpwnd99999@aliyun8109,cntaobaoabcabs -cnphpwnd99999@aliyun8110,cntaobaoabcabvlj -cnphpwnd99999@aliyun8111,cntaobaoabcadc23 -cnphpwnd99999@aliyun8112,cntaobaoabcade789 -cnphpwnd99999@aliyun8113,cntaobaoabcadr -cnphpwnd99999@aliyun8114,cntaobaoabcafhaohao -cnphpwnd99999@aliyun8115,cntaobaoabcai -cnphpwnd99999@aliyun8116,cntaobaoabcainio -cnphpwnd99999@aliyun8117,cntaobaoabcakang -cnphpwnd99999@aliyun8118,cntaobaoabcalex123 -cnphpwnd99999@aliyun8119,cntaobaoabcalid -cnphpwnd99999@aliyun8120,cntaobaoabcamayi -cnphpwnd99999@aliyun8121,cntaobaoabcamy -cnphpwnd99999@aliyun8122,cntaobaoabcandrea2002 -cnphpwnd99999@aliyun8123,cntaobaoabcandxyz -cnphpwnd99999@aliyun8124,cntaobaoabcang -cnphpwnd99999@aliyun8125,cntaobaoabcanna -cnphpwnd99999@aliyun8126,cntaobaoabcappejiang -cnphpwnd99999@aliyun8127,cntaobaoabcapple32 -cnphpwnd99999@aliyun8128,cntaobaoabcarol -cnphpwnd99999@aliyun8129,cntaobaoabcasd119 -cnphpwnd99999@aliyun8130,cntaobaoabcat -cnphpwnd99999@aliyun8131,cntaobaoabcat66 -cnphpwnd99999@aliyun8132,cntaobaoabcat83 -cnphpwnd99999@aliyun8133,cntaobaoabcaurora -cnphpwnd99999@aliyun8134,cntaobaoabcazm -cnphpwnd99999@aliyun8135,cntaobaoabcb -cnphpwnd99999@aliyun8136,cntaobaoabcb2ha -cnphpwnd99999@aliyun8137,cntaobaoabcba126 -cnphpwnd99999@aliyun8138,cntaobaoabcba2008 -cnphpwnd99999@aliyun8139,cntaobaoabcbaby -cnphpwnd99999@aliyun8140,cntaobaoabcbaby0000 -cnphpwnd99999@aliyun8141,cntaobaoabcbag -cnphpwnd99999@aliyun8142,cntaobaoabcbaiyu -cnphpwnd99999@aliyun8143,cntaobaoabcbaobao -cnphpwnd99999@aliyun8144,cntaobaoabcbb110 -cnphpwnd99999@aliyun8145,cntaobaoabcbb44 -cnphpwnd99999@aliyun8146,cntaobaoabcbb666 -cnphpwnd99999@aliyun8147,cntaobaoabcbbbaaa -cnphpwnd99999@aliyun8148,cntaobaoabcbbccd -cnphpwnd99999@aliyun8149,cntaobaoabcbbdfdgksllg0 -cnphpwnd99999@aliyun8150,cntaobaoabcbcdabcd -cnphpwnd99999@aliyun8151,cntaobaoabcbean -cnphpwnd99999@aliyun8152,cntaobaoabcbee1 -cnphpwnd99999@aliyun8153,cntaobaoabcbenggen -cnphpwnd99999@aliyun8154,cntaobaoabcbit -cnphpwnd99999@aliyun8155,cntaobaoabcbj2016 -cnphpwnd99999@aliyun8156,cntaobaoabcbkb -cnphpwnd99999@aliyun8157,cntaobaoabcbm5 -cnphpwnd99999@aliyun8158,cntaobaoabcbn -cnphpwnd99999@aliyun8159,cntaobaoabcbox -cnphpwnd99999@aliyun8160,cntaobaoabcboy76 -cnphpwnd99999@aliyun8161,cntaobaoabcboy_1981 -cnphpwnd99999@aliyun8162,cntaobaoabcboyu571 -cnphpwnd99999@aliyun8163,cntaobaoabcboyzl -cnphpwnd99999@aliyun8164,cntaobaoabcbug -cnphpwnd99999@aliyun8165,cntaobaoabcbus -cnphpwnd99999@aliyun8166,cntaobaoabcbush -cnphpwnd99999@aliyun8167,cntaobaoabcbuzhiming -cnphpwnd99999@aliyun8168,cntaobaoabcc.mm -cnphpwnd99999@aliyun8169,cntaobaoabcc22 -cnphpwnd99999@aliyun8170,cntaobaoabcc268 -cnphpwnd99999@aliyun8171,cntaobaoabcc_123_ -cnphpwnd99999@aliyun8172,cntaobaoabcc_com -cnphpwnd99999@aliyun8173,cntaobaoabcca -cnphpwnd99999@aliyun8174,cntaobaoabccaa -cnphpwnd99999@aliyun8175,cntaobaoabccao1975 -cnphpwnd99999@aliyun8176,cntaobaoabccar -cnphpwnd99999@aliyun8177,cntaobaoabccat -cnphpwnd99999@aliyun8178,cntaobaoabccba -cnphpwnd99999@aliyun8179,cntaobaoabccba09 -cnphpwnd99999@aliyun8180,cntaobaoabccba1 -cnphpwnd99999@aliyun8181,cntaobaoabccba1234561 -cnphpwnd99999@aliyun8182,cntaobaoabccba183 -cnphpwnd99999@aliyun8183,cntaobaoabccba2 -cnphpwnd99999@aliyun8184,cntaobaoabccba2004 -cnphpwnd99999@aliyun8185,cntaobaoabccba39 -cnphpwnd99999@aliyun8186,cntaobaoabccba4848 -cnphpwnd99999@aliyun8187,cntaobaoabccba5635 -cnphpwnd99999@aliyun8188,cntaobaoabccba567 -cnphpwnd99999@aliyun8189,cntaobaoabccba6688 -cnphpwnd99999@aliyun8190,cntaobaoabccba678 -cnphpwnd99999@aliyun8191,cntaobaoabccba881 -cnphpwnd99999@aliyun8192,cntaobaoabccba8888 -cnphpwnd99999@aliyun8193,cntaobaoabccba9889 -cnphpwnd99999@aliyun8194,cntaobaoabccba99 -cnphpwnd99999@aliyun8195,cntaobaoabccba9978 -cnphpwnd99999@aliyun8196,cntaobaoabccba_21 -cnphpwnd99999@aliyun8197,cntaobaoabccbahuangfeihu -cnphpwnd99999@aliyun8198,cntaobaoabccbanba -cnphpwnd99999@aliyun8199,cntaobaoabccbef -cnphpwnd99999@aliyun8200,cntaobaoabccbf -cnphpwnd99999@aliyun8201,cntaobaoabccc008 -cnphpwnd99999@aliyun8202,cntaobaoabccc2 -cnphpwnd99999@aliyun8203,cntaobaoabcccb -cnphpwnd99999@aliyun8204,cntaobaoabcccb1999 -cnphpwnd99999@aliyun8205,cntaobaoabcccc -cnphpwnd99999@aliyun8206,cntaobaoabccccaaa -cnphpwnd99999@aliyun8207,cntaobaoabccccbbb -cnphpwnd99999@aliyun8208,cntaobaoabcccce -cnphpwnd99999@aliyun8209,cntaobaoabcccd2010 -cnphpwnd99999@aliyun8210,cntaobaoabccch -cnphpwnd99999@aliyun8211,cntaobaoabcccna -cnphpwnd99999@aliyun8212,cntaobaoabcccs123 -cnphpwnd99999@aliyun8213,cntaobaoabccd -cnphpwnd99999@aliyun8214,cntaobaoabccd3 -cnphpwnd99999@aliyun8215,cntaobaoabccd5 -cnphpwnd99999@aliyun8216,cntaobaoabccd88 -cnphpwnd99999@aliyun8217,cntaobaoabccddddd -cnphpwnd99999@aliyun8218,cntaobaoabccddkk -cnphpwnd99999@aliyun8219,cntaobaoabccde81 -cnphpwnd99999@aliyun8220,cntaobaoabccdefgh -cnphpwnd99999@aliyun8221,cntaobaoabccdx -cnphpwnd99999@aliyun8222,cntaobaoabcce -cnphpwnd99999@aliyun8223,cntaobaoabcceo -cnphpwnd99999@aliyun8224,cntaobaoabccf -cnphpwnd99999@aliyun8225,cntaobaoabccfj -cnphpwnd99999@aliyun8226,cntaobaoabccg -cnphpwnd99999@aliyun8227,cntaobaoabcchan -cnphpwnd99999@aliyun8228,cntaobaoabcchao -cnphpwnd99999@aliyun8229,cntaobaoabcchen -cnphpwnd99999@aliyun8230,cntaobaoabcchen1 -cnphpwnd99999@aliyun8231,cntaobaoabcchen12 -cnphpwnd99999@aliyun8232,cntaobaoabcchenabcchen -cnphpwnd99999@aliyun8233,cntaobaoabcchina -cnphpwnd99999@aliyun8234,cntaobaoabcchj -cnphpwnd99999@aliyun8235,cntaobaoabcchristy -cnphpwnd99999@aliyun8236,cntaobaoabccissy -cnphpwnd99999@aliyun8237,cntaobaoabccjb -cnphpwnd99999@aliyun8238,cntaobaoabccjxh -cnphpwnd99999@aliyun8239,cntaobaoabccjyj -cnphpwnd99999@aliyun8240,cntaobaoabcclove -cnphpwnd99999@aliyun8241,cntaobaoabcclub -cnphpwnd99999@aliyun8242,cntaobaoabccmh123 -cnphpwnd99999@aliyun8243,cntaobaoabccmy123 -cnphpwnd99999@aliyun8244,cntaobaoabccnbcsbtlhy -cnphpwnd99999@aliyun8245,cntaobaoabcco -cnphpwnd99999@aliyun8246,cntaobaoabccom140285 -cnphpwnd99999@aliyun8247,cntaobaoabccom2003 -cnphpwnd99999@aliyun8248,cntaobaoabccom2004 -cnphpwnd99999@aliyun8249,cntaobaoabccomss -cnphpwnd99999@aliyun8250,cntaobaoabccsd -cnphpwnd99999@aliyun8251,cntaobaoabcct -cnphpwnd99999@aliyun8252,cntaobaoabcctv -cnphpwnd99999@aliyun8253,cntaobaoabcctvv -cnphpwnd99999@aliyun8254,cntaobaoabccx -cnphpwnd99999@aliyun8255,cntaobaoabccy -cnphpwnd99999@aliyun8256,cntaobaoabccy1967 -cnphpwnd99999@aliyun8257,cntaobaoabcczh -cnphpwnd99999@aliyun8258,cntaobaoabcczx -cnphpwnd99999@aliyun8259,cntaobaoabcd-01234 -cnphpwnd99999@aliyun8260,cntaobaoabcd-1981-1981 -cnphpwnd99999@aliyun8261,cntaobaoabcd-63438668 -cnphpwnd99999@aliyun8262,cntaobaoabcd-claire -cnphpwnd99999@aliyun8263,cntaobaoabcd-yuan -cnphpwnd99999@aliyun8264,cntaobaoabcd.1234 -cnphpwnd99999@aliyun8265,cntaobaoabcd.one -cnphpwnd99999@aliyun8266,cntaobaoabcd000000001 -cnphpwnd99999@aliyun8267,cntaobaoabcd00000001 -cnphpwnd99999@aliyun8268,cntaobaoabcd0000001 -cnphpwnd99999@aliyun8269,cntaobaoabcd00000088 -cnphpwnd99999@aliyun8270,cntaobaoabcd000001 -cnphpwnd99999@aliyun8271,cntaobaoabcd00009999 -cnphpwnd99999@aliyun8272,cntaobaoabcd0000abcd -cnphpwnd99999@aliyun8273,cntaobaoabcd00023 -cnphpwnd99999@aliyun8274,cntaobaoabcd0008abcd -cnphpwnd99999@aliyun8275,cntaobaoabcd0009 -cnphpwnd99999@aliyun8276,cntaobaoabcd000_2005 -cnphpwnd99999@aliyun8277,cntaobaoabcd001002 -cnphpwnd99999@aliyun8278,cntaobaoabcd0012300123 -cnphpwnd99999@aliyun8279,cntaobaoabcd001ice -cnphpwnd99999@aliyun8280,cntaobaoabcd002 -cnphpwnd99999@aliyun8281,cntaobaoabcd003ice -cnphpwnd99999@aliyun8282,cntaobaoabcd005 -cnphpwnd99999@aliyun8283,cntaobaoabcd0050 -cnphpwnd99999@aliyun8284,cntaobaoabcd00603131 -cnphpwnd99999@aliyun8285,cntaobaoabcd00700237 -cnphpwnd99999@aliyun8286,cntaobaoabcd007007 -cnphpwnd99999@aliyun8287,cntaobaoabcd0088 -cnphpwnd99999@aliyun8288,cntaobaoabcd0089 -cnphpwnd99999@aliyun8289,cntaobaoabcd00938 -cnphpwnd99999@aliyun8290,cntaobaoabcd00abcd -cnphpwnd99999@aliyun8291,cntaobaoabcd0101 -cnphpwnd99999@aliyun8292,cntaobaoabcd0107 -cnphpwnd99999@aliyun8293,cntaobaoabcd0115 -cnphpwnd99999@aliyun8294,cntaobaoabcd012 -cnphpwnd99999@aliyun8295,cntaobaoabcd012341234 -cnphpwnd99999@aliyun8296,cntaobaoabcd0123456789 -cnphpwnd99999@aliyun8297,cntaobaoabcd020 -cnphpwnd99999@aliyun8298,cntaobaoabcd0201 -cnphpwnd99999@aliyun8299,cntaobaoabcd0203 -cnphpwnd99999@aliyun8300,cntaobaoabcd0211 -cnphpwnd99999@aliyun8301,cntaobaoabcd0215 -cnphpwnd99999@aliyun8302,cntaobaoabcd0216 -cnphpwnd99999@aliyun8303,cntaobaoabcd0221 -cnphpwnd99999@aliyun8304,cntaobaoabcd0223 -cnphpwnd99999@aliyun8305,cntaobaoabcd0244151 -cnphpwnd99999@aliyun8306,cntaobaoabcd0248 -cnphpwnd99999@aliyun8307,cntaobaoabcd03 -cnphpwnd99999@aliyun8308,cntaobaoabcd0308 -cnphpwnd99999@aliyun8309,cntaobaoabcd0310 -cnphpwnd99999@aliyun8310,cntaobaoabcd0311 -cnphpwnd99999@aliyun8311,cntaobaoabcd031188 -cnphpwnd99999@aliyun8312,cntaobaoabcd0314 -cnphpwnd99999@aliyun8313,cntaobaoabcd0318 -cnphpwnd99999@aliyun8314,cntaobaoabcd0320sc88 -cnphpwnd99999@aliyun8315,cntaobaoabcd0324 -cnphpwnd99999@aliyun8316,cntaobaoabcd0334 -cnphpwnd99999@aliyun8317,cntaobaoabcd034 -cnphpwnd99999@aliyun8318,cntaobaoabcd03400523 -cnphpwnd99999@aliyun8319,cntaobaoabcd034151 -cnphpwnd99999@aliyun8320,cntaobaoabcd0369 -cnphpwnd99999@aliyun8321,cntaobaoabcd038 -cnphpwnd99999@aliyun8322,cntaobaoabcd0392 -cnphpwnd99999@aliyun8323,cntaobaoabcd03961999 -cnphpwnd99999@aliyun8324,cntaobaoabcd0406 -cnphpwnd99999@aliyun8325,cntaobaoabcd0409 -cnphpwnd99999@aliyun8326,cntaobaoabcd041178 -cnphpwnd99999@aliyun8327,cntaobaoabcd0414 -cnphpwnd99999@aliyun8328,cntaobaoabcd0427 -cnphpwnd99999@aliyun8329,cntaobaoabcd046 -cnphpwnd99999@aliyun8330,cntaobaoabcd0476 -cnphpwnd99999@aliyun8331,cntaobaoabcd0502 -cnphpwnd99999@aliyun8332,cntaobaoabcd0510 -cnphpwnd99999@aliyun8333,cntaobaoabcd0517 -cnphpwnd99999@aliyun8334,cntaobaoabcd0529 -cnphpwnd99999@aliyun8335,cntaobaoabcd0551 -cnphpwnd99999@aliyun8336,cntaobaoabcd056 -cnphpwnd99999@aliyun8337,cntaobaoabcd0577 -cnphpwnd99999@aliyun8338,cntaobaoabcd0587 -cnphpwnd99999@aliyun8339,cntaobaoabcd0617 -cnphpwnd99999@aliyun8340,cntaobaoabcd06219 -cnphpwnd99999@aliyun8341,cntaobaoabcd0623456 -cnphpwnd99999@aliyun8342,cntaobaoabcd0726abcd -cnphpwnd99999@aliyun8343,cntaobaoabcd07396522453 -cnphpwnd99999@aliyun8344,cntaobaoabcd0756 -cnphpwnd99999@aliyun8345,cntaobaoabcd0770 -cnphpwnd99999@aliyun8346,cntaobaoabcd0808 -cnphpwnd99999@aliyun8347,cntaobaoabcd0813 -cnphpwnd99999@aliyun8348,cntaobaoabcd08140814 -cnphpwnd99999@aliyun8349,cntaobaoabcd0886 -cnphpwnd99999@aliyun8350,cntaobaoabcd0890 -cnphpwnd99999@aliyun8351,cntaobaoabcd0975 -cnphpwnd99999@aliyun8352,cntaobaoabcd098765 -cnphpwnd99999@aliyun8353,cntaobaoabcd100200 -cnphpwnd99999@aliyun8354,cntaobaoabcd1010_2005 -cnphpwnd99999@aliyun8355,cntaobaoabcd1014 -cnphpwnd99999@aliyun8356,cntaobaoabcd1023a -cnphpwnd99999@aliyun8357,cntaobaoabcd1061 -cnphpwnd99999@aliyun8358,cntaobaoabcd1067 -cnphpwnd99999@aliyun8359,cntaobaoabcd110011 -cnphpwnd99999@aliyun8360,cntaobaoabcd11026 -cnphpwnd99999@aliyun8361,cntaobaoabcd1104 -cnphpwnd99999@aliyun8362,cntaobaoabcd1105104 -cnphpwnd99999@aliyun8363,cntaobaoabcd110521 -cnphpwnd99999@aliyun8364,cntaobaoabcd1108 -cnphpwnd99999@aliyun8365,cntaobaoabcd11088 -cnphpwnd99999@aliyun8366,cntaobaoabcd111 -cnphpwnd99999@aliyun8367,cntaobaoabcd11111 -cnphpwnd99999@aliyun8368,cntaobaoabcd1111_1111 -cnphpwnd99999@aliyun8369,cntaobaoabcd111222 -cnphpwnd99999@aliyun8370,cntaobaoabcd11123 -cnphpwnd99999@aliyun8371,cntaobaoabcd1116 -cnphpwnd99999@aliyun8372,cntaobaoabcd111_007 -cnphpwnd99999@aliyun8373,cntaobaoabcd111eee -cnphpwnd99999@aliyun8374,cntaobaoabcd111f -cnphpwnd99999@aliyun8375,cntaobaoabcd111kong -cnphpwnd99999@aliyun8376,cntaobaoabcd1128 -cnphpwnd99999@aliyun8377,cntaobaoabcd1136779 -cnphpwnd99999@aliyun8378,cntaobaoabcd115 -cnphpwnd99999@aliyun8379,cntaobaoabcd11510799 -cnphpwnd99999@aliyun8380,cntaobaoabcd1155 -cnphpwnd99999@aliyun8381,cntaobaoabcd1177 -cnphpwnd99999@aliyun8382,cntaobaoabcd11800 -cnphpwnd99999@aliyun8383,cntaobaoabcd1183 -cnphpwnd99999@aliyun8384,cntaobaoabcd11975 -cnphpwnd99999@aliyun8385,cntaobaoabcd120 -cnphpwnd99999@aliyun8386,cntaobaoabcd12004 -cnphpwnd99999@aliyun8387,cntaobaoabcd12121 -cnphpwnd99999@aliyun8388,cntaobaoabcd121212 -cnphpwnd99999@aliyun8389,cntaobaoabcd121280 -cnphpwnd99999@aliyun8390,cntaobaoabcd121938 -cnphpwnd99999@aliyun8391,cntaobaoabcd122 -cnphpwnd99999@aliyun8392,cntaobaoabcd123 -cnphpwnd99999@aliyun8393,cntaobaoabcd123012302 -cnphpwnd99999@aliyun8394,cntaobaoabcd1230789 -cnphpwnd99999@aliyun8395,cntaobaoabcd123099 -cnphpwnd99999@aliyun8396,cntaobaoabcd12311 -cnphpwnd99999@aliyun8397,cntaobaoabcd12312 -cnphpwnd99999@aliyun8398,cntaobaoabcd123121 -cnphpwnd99999@aliyun8399,cntaobaoabcd123168 -cnphpwnd99999@aliyun8400,cntaobaoabcd123188 -cnphpwnd99999@aliyun8401,cntaobaoabcd1232141 -cnphpwnd99999@aliyun8402,cntaobaoabcd12325963 -cnphpwnd99999@aliyun8403,cntaobaoabcd1232620 -cnphpwnd99999@aliyun8404,cntaobaoabcd123321123 -cnphpwnd99999@aliyun8405,cntaobaoabcd123321_tb -cnphpwnd99999@aliyun8406,cntaobaoabcd1233536 -cnphpwnd99999@aliyun8407,cntaobaoabcd1234 -cnphpwnd99999@aliyun8408,cntaobaoabcd1234110 -cnphpwnd99999@aliyun8409,cntaobaoabcd12341234 -cnphpwnd99999@aliyun8410,cntaobaoabcd1234164928 -cnphpwnd99999@aliyun8411,cntaobaoabcd1234168 -cnphpwnd99999@aliyun8412,cntaobaoabcd12343q -cnphpwnd99999@aliyun8413,cntaobaoabcd1234456 -cnphpwnd99999@aliyun8414,cntaobaoabcd12345323 -cnphpwnd99999@aliyun8415,cntaobaoabcd12345566 -cnphpwnd99999@aliyun8416,cntaobaoabcd1234562005 -cnphpwnd99999@aliyun8417,cntaobaoabcd1234567 -cnphpwnd99999@aliyun8418,cntaobaoabcd1234567222 -cnphpwnd99999@aliyun8419,cntaobaoabcd12345673 -cnphpwnd99999@aliyun8420,cntaobaoabcd1234567811 -cnphpwnd99999@aliyun8421,cntaobaoabcd12345678_2005 -cnphpwnd99999@aliyun8422,cntaobaoabcd12345678abcd -cnphpwnd99999@aliyun8423,cntaobaoabcd123456_2005_2005 -cnphpwnd99999@aliyun8424,cntaobaoabcd123456a -cnphpwnd99999@aliyun8425,cntaobaoabcd123456sf -cnphpwnd99999@aliyun8426,cntaobaoabcd123459 -cnphpwnd99999@aliyun8427,cntaobaoabcd12345_tb -cnphpwnd99999@aliyun8428,cntaobaoabcd123465 -cnphpwnd99999@aliyun8429,cntaobaoabcd12347788 -cnphpwnd99999@aliyun8430,cntaobaoabcd1234787 -cnphpwnd99999@aliyun8431,cntaobaoabcd12348274 -cnphpwnd99999@aliyun8432,cntaobaoabcd1234921 -cnphpwnd99999@aliyun8433,cntaobaoabcd12349211 -cnphpwnd99999@aliyun8434,cntaobaoabcd123492111 -cnphpwnd99999@aliyun8435,cntaobaoabcd1234998 -cnphpwnd99999@aliyun8436,cntaobaoabcd1234a0 -cnphpwnd99999@aliyun8437,cntaobaoabcd1234abcd -cnphpwnd99999@aliyun8438,cntaobaoabcd1234abcd1 -cnphpwnd99999@aliyun8439,cntaobaoabcd1234abcd2005 -cnphpwnd99999@aliyun8440,cntaobaoabcd1234abcd911 -cnphpwnd99999@aliyun8441,cntaobaoabcd1234elulu -cnphpwnd99999@aliyun8442,cntaobaoabcd1234lj -cnphpwnd99999@aliyun8443,cntaobaoabcd1234lq -cnphpwnd99999@aliyun8444,cntaobaoabcd123588 -cnphpwnd99999@aliyun8445,cntaobaoabcd123616 -cnphpwnd99999@aliyun8446,cntaobaoabcd12366 -cnphpwnd99999@aliyun8447,cntaobaoabcd123881 -cnphpwnd99999@aliyun8448,cntaobaoabcd1239007 -cnphpwnd99999@aliyun8449,cntaobaoabcd12391 -cnphpwnd99999@aliyun8450,cntaobaoabcd123945 -cnphpwnd99999@aliyun8451,cntaobaoabcd123abcd123 -cnphpwnd99999@aliyun8452,cntaobaoabcd123efghhh -cnphpwnd99999@aliyun8453,cntaobaoabcd123ro -cnphpwnd99999@aliyun8454,cntaobaoabcd123zxc123 -cnphpwnd99999@aliyun8455,cntaobaoabcd125 -cnphpwnd99999@aliyun8456,cntaobaoabcd12590 -cnphpwnd99999@aliyun8457,cntaobaoabcd129111 -cnphpwnd99999@aliyun8458,cntaobaoabcd12_3 -cnphpwnd99999@aliyun8459,cntaobaoabcd12ef -cnphpwnd99999@aliyun8460,cntaobaoabcd13107872322 -cnphpwnd99999@aliyun8461,cntaobaoabcd1314520 -cnphpwnd99999@aliyun8462,cntaobaoabcd1314_9950 -cnphpwnd99999@aliyun8463,cntaobaoabcd132 -cnphpwnd99999@aliyun8464,cntaobaoabcd13323363950 -cnphpwnd99999@aliyun8465,cntaobaoabcd1351 -cnphpwnd99999@aliyun8466,cntaobaoabcd135135 -cnphpwnd99999@aliyun8467,cntaobaoabcd135238 -cnphpwnd99999@aliyun8468,cntaobaoabcd1354997 -cnphpwnd99999@aliyun8469,cntaobaoabcd1357su -cnphpwnd99999@aliyun8470,cntaobaoabcd13647633 -cnphpwnd99999@aliyun8471,cntaobaoabcd13684877402 -cnphpwnd99999@aliyun8472,cntaobaoabcd1368888 -cnphpwnd99999@aliyun8473,cntaobaoabcd13833047095 -cnphpwnd99999@aliyun8474,cntaobaoabcd13860681081 -cnphpwnd99999@aliyun8475,cntaobaoabcd1390316 -cnphpwnd99999@aliyun8476,cntaobaoabcd13928381354 -cnphpwnd99999@aliyun8477,cntaobaoabcd13932972505 -cnphpwnd99999@aliyun8478,cntaobaoabcd139666 -cnphpwnd99999@aliyun8479,cntaobaoabcd140202 -cnphpwnd99999@aliyun8480,cntaobaoabcd1423 -cnphpwnd99999@aliyun8481,cntaobaoabcd144100 -cnphpwnd99999@aliyun8482,cntaobaoabcd1446 -cnphpwnd99999@aliyun8483,cntaobaoabcd146099 -cnphpwnd99999@aliyun8484,cntaobaoabcd1503 -cnphpwnd99999@aliyun8485,cntaobaoabcd1510 -cnphpwnd99999@aliyun8486,cntaobaoabcd1566 -cnphpwnd99999@aliyun8487,cntaobaoabcd1569 -cnphpwnd99999@aliyun8488,cntaobaoabcd1570 -cnphpwnd99999@aliyun8489,cntaobaoabcd15808239 -cnphpwnd99999@aliyun8490,cntaobaoabcd1586 -cnphpwnd99999@aliyun8491,cntaobaoabcd159456 -cnphpwnd99999@aliyun8492,cntaobaoabcd15999 -cnphpwnd99999@aliyun8493,cntaobaoabcd161918 -cnphpwnd99999@aliyun8494,cntaobaoabcd16321632 -cnphpwnd99999@aliyun8495,cntaobaoabcd165151 -cnphpwnd99999@aliyun8496,cntaobaoabcd1681 -cnphpwnd99999@aliyun8497,cntaobaoabcd1696 -cnphpwnd99999@aliyun8498,cntaobaoabcd1718 -cnphpwnd99999@aliyun8499,cntaobaoabcd1748 -cnphpwnd99999@aliyun8500,cntaobaoabcd1770008 -cnphpwnd99999@aliyun8501,cntaobaoabcd17931 -cnphpwnd99999@aliyun8502,cntaobaoabcd180076 -cnphpwnd99999@aliyun8503,cntaobaoabcd180856 -cnphpwnd99999@aliyun8504,cntaobaoabcd188 -cnphpwnd99999@aliyun8505,cntaobaoabcd189 -cnphpwnd99999@aliyun8506,cntaobaoabcd1892abcd -cnphpwnd99999@aliyun8507,cntaobaoabcd19 -cnphpwnd99999@aliyun8508,cntaobaoabcd1902 -cnphpwnd99999@aliyun8509,cntaobaoabcd1903 -cnphpwnd99999@aliyun8510,cntaobaoabcd1958 -cnphpwnd99999@aliyun8511,cntaobaoabcd1971 -cnphpwnd99999@aliyun8512,cntaobaoabcd1973122438401 -cnphpwnd99999@aliyun8513,cntaobaoabcd1974 -cnphpwnd99999@aliyun8514,cntaobaoabcd19750715 -cnphpwnd99999@aliyun8515,cntaobaoabcd1976abcd -cnphpwnd99999@aliyun8516,cntaobaoabcd1977 -cnphpwnd99999@aliyun8517,cntaobaoabcd1978 -cnphpwnd99999@aliyun8518,cntaobaoabcd19781012 -cnphpwnd99999@aliyun8519,cntaobaoabcd19791120 -cnphpwnd99999@aliyun8520,cntaobaoabcd1980 -cnphpwnd99999@aliyun8521,cntaobaoabcd1981 -cnphpwnd99999@aliyun8522,cntaobaoabcd198106 -cnphpwnd99999@aliyun8523,cntaobaoabcd198189 -cnphpwnd99999@aliyun8524,cntaobaoabcd1982312 -cnphpwnd99999@aliyun8525,cntaobaoabcd1983621 -cnphpwnd99999@aliyun8526,cntaobaoabcd198411423 -cnphpwnd99999@aliyun8527,cntaobaoabcd198414 -cnphpwnd99999@aliyun8528,cntaobaoabcd198491 -cnphpwnd99999@aliyun8529,cntaobaoabcd198541 -cnphpwnd99999@aliyun8530,cntaobaoabcd19861209 -cnphpwnd99999@aliyun8531,cntaobaoabcd19861224 -cnphpwnd99999@aliyun8532,cntaobaoabcd1986812 -cnphpwnd99999@aliyun8533,cntaobaoabcd198737 -cnphpwnd99999@aliyun8534,cntaobaoabcd1989_ -cnphpwnd99999@aliyun8535,cntaobaoabcd19991999 -cnphpwnd99999@aliyun8536,cntaobaoabcd19win -cnphpwnd99999@aliyun8537,cntaobaoabcd1abcd2 -cnphpwnd99999@aliyun8538,cntaobaoabcd1ren1 -cnphpwnd99999@aliyun8539,cntaobaoabcd2 -cnphpwnd99999@aliyun8540,cntaobaoabcd20008 -cnphpwnd99999@aliyun8541,cntaobaoabcd2000_007 -cnphpwnd99999@aliyun8542,cntaobaoabcd20022 -cnphpwnd99999@aliyun8543,cntaobaoabcd2003520 -cnphpwnd99999@aliyun8544,cntaobaoabcd2003k -cnphpwnd99999@aliyun8545,cntaobaoabcd200400 -cnphpwnd99999@aliyun8546,cntaobaoabcd200488 -cnphpwnd99999@aliyun8547,cntaobaoabcd2005 -cnphpwnd99999@aliyun8548,cntaobaoabcd200517 -cnphpwnd99999@aliyun8549,cntaobaoabcd2005888 -cnphpwnd99999@aliyun8550,cntaobaoabcd2005_007 -cnphpwnd99999@aliyun8551,cntaobaoabcd20060410 -cnphpwnd99999@aliyun8552,cntaobaoabcd20061 -cnphpwnd99999@aliyun8553,cntaobaoabcd2006_x -cnphpwnd99999@aliyun8554,cntaobaoabcd2008 -cnphpwnd99999@aliyun8555,cntaobaoabcd20080 -cnphpwnd99999@aliyun8556,cntaobaoabcd200801 -cnphpwnd99999@aliyun8557,cntaobaoabcd20082008 -cnphpwnd99999@aliyun8558,cntaobaoabcd20084121 -cnphpwnd99999@aliyun8559,cntaobaoabcd200844 -cnphpwnd99999@aliyun8560,cntaobaoabcd2008_tb -cnphpwnd99999@aliyun8561,cntaobaoabcd2011 -cnphpwnd99999@aliyun8562,cntaobaoabcd2046 -cnphpwnd99999@aliyun8563,cntaobaoabcd2059 -cnphpwnd99999@aliyun8564,cntaobaoabcd2126757 -cnphpwnd99999@aliyun8565,cntaobaoabcd213 -cnphpwnd99999@aliyun8566,cntaobaoabcd215520 -cnphpwnd99999@aliyun8567,cntaobaoabcd2163 -cnphpwnd99999@aliyun8568,cntaobaoabcd218218 -cnphpwnd99999@aliyun8569,cntaobaoabcd21967 -cnphpwnd99999@aliyun8570,cntaobaoabcd22 -cnphpwnd99999@aliyun8571,cntaobaoabcd2208 -cnphpwnd99999@aliyun8572,cntaobaoabcd2213000 -cnphpwnd99999@aliyun8573,cntaobaoabcd2234 -cnphpwnd99999@aliyun8574,cntaobaoabcd22486907 -cnphpwnd99999@aliyun8575,cntaobaoabcd22_a1 -cnphpwnd99999@aliyun8576,cntaobaoabcd232436 -cnphpwnd99999@aliyun8577,cntaobaoabcd23394073 -cnphpwnd99999@aliyun8578,cntaobaoabcd2345 -cnphpwnd99999@aliyun8579,cntaobaoabcd23456789 -cnphpwnd99999@aliyun8580,cntaobaoabcd234588 -cnphpwnd99999@aliyun8581,cntaobaoabcd2349538 -cnphpwnd99999@aliyun8582,cntaobaoabcd234zy -cnphpwnd99999@aliyun8583,cntaobaoabcd23992802 -cnphpwnd99999@aliyun8584,cntaobaoabcd23czy2 -cnphpwnd99999@aliyun8585,cntaobaoabcd23tl -cnphpwnd99999@aliyun8586,cntaobaoabcd2428 -cnphpwnd99999@aliyun8587,cntaobaoabcd2444 -cnphpwnd99999@aliyun8588,cntaobaoabcd246386 -cnphpwnd99999@aliyun8589,cntaobaoabcd2468 -cnphpwnd99999@aliyun8590,cntaobaoabcd2501648 -cnphpwnd99999@aliyun8591,cntaobaoabcd250569170 -cnphpwnd99999@aliyun8592,cntaobaoabcd251655 -cnphpwnd99999@aliyun8593,cntaobaoabcd2550359 -cnphpwnd99999@aliyun8594,cntaobaoabcd2580 -cnphpwnd99999@aliyun8595,cntaobaoabcd258258 -cnphpwnd99999@aliyun8596,cntaobaoabcd25_7 -cnphpwnd99999@aliyun8597,cntaobaoabcd2619 -cnphpwnd99999@aliyun8598,cntaobaoabcd2620 -cnphpwnd99999@aliyun8599,cntaobaoabcd263539 -cnphpwnd99999@aliyun8600,cntaobaoabcd26409647 -cnphpwnd99999@aliyun8601,cntaobaoabcd2740861 -cnphpwnd99999@aliyun8602,cntaobaoabcd275541392 -cnphpwnd99999@aliyun8603,cntaobaoabcd277327 -cnphpwnd99999@aliyun8604,cntaobaoabcd27880 -cnphpwnd99999@aliyun8605,cntaobaoabcd278930256 -cnphpwnd99999@aliyun8606,cntaobaoabcd2818 -cnphpwnd99999@aliyun8607,cntaobaoabcd2838 -cnphpwnd99999@aliyun8608,cntaobaoabcd288 -cnphpwnd99999@aliyun8609,cntaobaoabcd2881251 -cnphpwnd99999@aliyun8610,cntaobaoabcd2888 -cnphpwnd99999@aliyun8611,cntaobaoabcd292699248 -cnphpwnd99999@aliyun8612,cntaobaoabcd2999 -cnphpwnd99999@aliyun8613,cntaobaoabcd2dcba -cnphpwnd99999@aliyun8614,cntaobaoabcd305 -cnphpwnd99999@aliyun8615,cntaobaoabcd310478 -cnphpwnd99999@aliyun8616,cntaobaoabcd3136 -cnphpwnd99999@aliyun8617,cntaobaoabcd313944076 -cnphpwnd99999@aliyun8618,cntaobaoabcd319 -cnphpwnd99999@aliyun8619,cntaobaoabcd3199 -cnphpwnd99999@aliyun8620,cntaobaoabcd32016 -cnphpwnd99999@aliyun8621,cntaobaoabcd3203672 -cnphpwnd99999@aliyun8622,cntaobaoabcd3205 -cnphpwnd99999@aliyun8623,cntaobaoabcd321 -cnphpwnd99999@aliyun8624,cntaobaoabcd321we -cnphpwnd99999@aliyun8625,cntaobaoabcd3237 -cnphpwnd99999@aliyun8626,cntaobaoabcd3252721 -cnphpwnd99999@aliyun8627,cntaobaoabcd327148625 -cnphpwnd99999@aliyun8628,cntaobaoabcd3273243 -cnphpwnd99999@aliyun8629,cntaobaoabcd33 -cnphpwnd99999@aliyun8630,cntaobaoabcd330369 -cnphpwnd99999@aliyun8631,cntaobaoabcd3311 -cnphpwnd99999@aliyun8632,cntaobaoabcd3318 -cnphpwnd99999@aliyun8633,cntaobaoabcd3333 -cnphpwnd99999@aliyun8634,cntaobaoabcd33333 -cnphpwnd99999@aliyun8635,cntaobaoabcd33388 -cnphpwnd99999@aliyun8636,cntaobaoabcd33398 -cnphpwnd99999@aliyun8637,cntaobaoabcd333ff -cnphpwnd99999@aliyun8638,cntaobaoabcd335588 -cnphpwnd99999@aliyun8639,cntaobaoabcd336270 -cnphpwnd99999@aliyun8640,cntaobaoabcd3377 -cnphpwnd99999@aliyun8641,cntaobaoabcd3427 -cnphpwnd99999@aliyun8642,cntaobaoabcd351 -cnphpwnd99999@aliyun8643,cntaobaoabcd3510 -cnphpwnd99999@aliyun8644,cntaobaoabcd358040139 -cnphpwnd99999@aliyun8645,cntaobaoabcd3598 -cnphpwnd99999@aliyun8646,cntaobaoabcd360326207 -cnphpwnd99999@aliyun8647,cntaobaoabcd361265885 -cnphpwnd99999@aliyun8648,cntaobaoabcd366 -cnphpwnd99999@aliyun8649,cntaobaoabcd3668 -cnphpwnd99999@aliyun8650,cntaobaoabcd3680102 -cnphpwnd99999@aliyun8651,cntaobaoabcd39 -cnphpwnd99999@aliyun8652,cntaobaoabcd391 -cnphpwnd99999@aliyun8653,cntaobaoabcd393264638 -cnphpwnd99999@aliyun8654,cntaobaoabcd402496243 -cnphpwnd99999@aliyun8655,cntaobaoabcd4068 -cnphpwnd99999@aliyun8656,cntaobaoabcd407494896 -cnphpwnd99999@aliyun8657,cntaobaoabcd4100 -cnphpwnd99999@aliyun8658,cntaobaoabcd42027 -cnphpwnd99999@aliyun8659,cntaobaoabcd421 -cnphpwnd99999@aliyun8660,cntaobaoabcd4230268 -cnphpwnd99999@aliyun8661,cntaobaoabcd42364 -cnphpwnd99999@aliyun8662,cntaobaoabcd4273 -cnphpwnd99999@aliyun8663,cntaobaoabcd432100 -cnphpwnd99999@aliyun8664,cntaobaoabcd4321130019 -cnphpwnd99999@aliyun8665,cntaobaoabcd4321_2005 -cnphpwnd99999@aliyun8666,cntaobaoabcd4321a -cnphpwnd99999@aliyun8667,cntaobaoabcd444444 -cnphpwnd99999@aliyun8668,cntaobaoabcd4480071 -cnphpwnd99999@aliyun8669,cntaobaoabcd4535361 -cnphpwnd99999@aliyun8670,cntaobaoabcd455819550 -cnphpwnd99999@aliyun8671,cntaobaoabcd4586 -cnphpwnd99999@aliyun8672,cntaobaoabcd461600 -cnphpwnd99999@aliyun8673,cntaobaoabcd4634 -cnphpwnd99999@aliyun8674,cntaobaoabcd4638 -cnphpwnd99999@aliyun8675,cntaobaoabcd470824129 -cnphpwnd99999@aliyun8676,cntaobaoabcd502231 -cnphpwnd99999@aliyun8677,cntaobaoabcd511 -cnphpwnd99999@aliyun8678,cntaobaoabcd5123 -cnphpwnd99999@aliyun8679,cntaobaoabcd516 -cnphpwnd99999@aliyun8680,cntaobaoabcd518 -cnphpwnd99999@aliyun8681,cntaobaoabcd5187320 -cnphpwnd99999@aliyun8682,cntaobaoabcd518978 -cnphpwnd99999@aliyun8683,cntaobaoabcd520 -cnphpwnd99999@aliyun8684,cntaobaoabcd5201 -cnphpwnd99999@aliyun8685,cntaobaoabcd52012 -cnphpwnd99999@aliyun8686,cntaobaoabcd520152519 -cnphpwnd99999@aliyun8687,cntaobaoabcd520417 -cnphpwnd99999@aliyun8688,cntaobaoabcd520444 -cnphpwnd99999@aliyun8689,cntaobaoabcd520520 -cnphpwnd99999@aliyun8690,cntaobaoabcd52053088 -cnphpwnd99999@aliyun8691,cntaobaoabcd520699 -cnphpwnd99999@aliyun8692,cntaobaoabcd520813 -cnphpwnd99999@aliyun8693,cntaobaoabcd52099 -cnphpwnd99999@aliyun8694,cntaobaoabcd52125212 -cnphpwnd99999@aliyun8695,cntaobaoabcd52131 -cnphpwnd99999@aliyun8696,cntaobaoabcd521721 -cnphpwnd99999@aliyun8697,cntaobaoabcd52188 -cnphpwnd99999@aliyun8698,cntaobaoabcd521cn -cnphpwnd99999@aliyun8699,cntaobaoabcd522588 -cnphpwnd99999@aliyun8700,cntaobaoabcd529375 -cnphpwnd99999@aliyun8701,cntaobaoabcd5300307 -cnphpwnd99999@aliyun8702,cntaobaoabcd534265 -cnphpwnd99999@aliyun8703,cntaobaoabcd5350 -cnphpwnd99999@aliyun8704,cntaobaoabcd541510610 -cnphpwnd99999@aliyun8705,cntaobaoabcd545115 -cnphpwnd99999@aliyun8706,cntaobaoabcd550 -cnphpwnd99999@aliyun8707,cntaobaoabcd552211 -cnphpwnd99999@aliyun8708,cntaobaoabcd5566 -cnphpwnd99999@aliyun8709,cntaobaoabcd5590 -cnphpwnd99999@aliyun8710,cntaobaoabcd56200 -cnphpwnd99999@aliyun8711,cntaobaoabcd5656 -cnphpwnd99999@aliyun8712,cntaobaoabcd56623 -cnphpwnd99999@aliyun8713,cntaobaoabcd567 -cnphpwnd99999@aliyun8714,cntaobaoabcd5677 -cnphpwnd99999@aliyun8715,cntaobaoabcd5678 -cnphpwnd99999@aliyun8716,cntaobaoabcd56789 -cnphpwnd99999@aliyun8717,cntaobaoabcd5699151 -cnphpwnd99999@aliyun8718,cntaobaoabcd580608 -cnphpwnd99999@aliyun8719,cntaobaoabcd582920 -cnphpwnd99999@aliyun8720,cntaobaoabcd586889 -cnphpwnd99999@aliyun8721,cntaobaoabcd586889_2005 -cnphpwnd99999@aliyun8722,cntaobaoabcd6 -cnphpwnd99999@aliyun8723,cntaobaoabcd60080 -cnphpwnd99999@aliyun8724,cntaobaoabcd6286 -cnphpwnd99999@aliyun8725,cntaobaoabcd6289052 -cnphpwnd99999@aliyun8726,cntaobaoabcd630034304 -cnphpwnd99999@aliyun8727,cntaobaoabcd63379428 -cnphpwnd99999@aliyun8728,cntaobaoabcd6377323 -cnphpwnd99999@aliyun8729,cntaobaoabcd642804133 -cnphpwnd99999@aliyun8730,cntaobaoabcd6467 -cnphpwnd99999@aliyun8731,cntaobaoabcd6487163 -cnphpwnd99999@aliyun8732,cntaobaoabcd650 -cnphpwnd99999@aliyun8733,cntaobaoabcd65402888 -cnphpwnd99999@aliyun8734,cntaobaoabcd654123 -cnphpwnd99999@aliyun8735,cntaobaoabcd654321 -cnphpwnd99999@aliyun8736,cntaobaoabcd654534173 -cnphpwnd99999@aliyun8737,cntaobaoabcd65794201 -cnphpwnd99999@aliyun8738,cntaobaoabcd6598 -cnphpwnd99999@aliyun8739,cntaobaoabcd65p4 -cnphpwnd99999@aliyun8740,cntaobaoabcd66123905 -cnphpwnd99999@aliyun8741,cntaobaoabcd666 -cnphpwnd99999@aliyun8742,cntaobaoabcd6666 -cnphpwnd99999@aliyun8743,cntaobaoabcd666666 -cnphpwnd99999@aliyun8744,cntaobaoabcd66688 -cnphpwnd99999@aliyun8745,cntaobaoabcd6680 -cnphpwnd99999@aliyun8746,cntaobaoabcd6688668 -cnphpwnd99999@aliyun8747,cntaobaoabcd66_008 -cnphpwnd99999@aliyun8748,cntaobaoabcd6712 -cnphpwnd99999@aliyun8749,cntaobaoabcd673690606 -cnphpwnd99999@aliyun8750,cntaobaoabcd676 -cnphpwnd99999@aliyun8751,cntaobaoabcd6781 -cnphpwnd99999@aliyun8752,cntaobaoabcd6789 -cnphpwnd99999@aliyun8753,cntaobaoabcd68 -cnphpwnd99999@aliyun8754,cntaobaoabcd68122431 -cnphpwnd99999@aliyun8755,cntaobaoabcd6845521 -cnphpwnd99999@aliyun8756,cntaobaoabcd688 -cnphpwnd99999@aliyun8757,cntaobaoabcd6893599 -cnphpwnd99999@aliyun8758,cntaobaoabcd700822 -cnphpwnd99999@aliyun8759,cntaobaoabcd7072 -cnphpwnd99999@aliyun8760,cntaobaoabcd710043 -cnphpwnd99999@aliyun8761,cntaobaoabcd7114390 -cnphpwnd99999@aliyun8762,cntaobaoabcd716 -cnphpwnd99999@aliyun8763,cntaobaoabcd720 -cnphpwnd99999@aliyun8764,cntaobaoabcd728577 -cnphpwnd99999@aliyun8765,cntaobaoabcd7286234 -cnphpwnd99999@aliyun8766,cntaobaoabcd742 -cnphpwnd99999@aliyun8767,cntaobaoabcd745896 -cnphpwnd99999@aliyun8768,cntaobaoabcd75 -cnphpwnd99999@aliyun8769,cntaobaoabcd751130 -cnphpwnd99999@aliyun8770,cntaobaoabcd75170349 -cnphpwnd99999@aliyun8771,cntaobaoabcd7600 -cnphpwnd99999@aliyun8772,cntaobaoabcd761215 -cnphpwnd99999@aliyun8773,cntaobaoabcd7632560 -cnphpwnd99999@aliyun8774,cntaobaoabcd7661220 -cnphpwnd99999@aliyun8775,cntaobaoabcd77025989 -cnphpwnd99999@aliyun8776,cntaobaoabcd7710695 -cnphpwnd99999@aliyun8777,cntaobaoabcd7742 -cnphpwnd99999@aliyun8778,cntaobaoabcd7758521 -cnphpwnd99999@aliyun8779,cntaobaoabcd777c -cnphpwnd99999@aliyun8780,cntaobaoabcd7786 -cnphpwnd99999@aliyun8781,cntaobaoabcd778800 -cnphpwnd99999@aliyun8782,cntaobaoabcd780615 -cnphpwnd99999@aliyun8783,cntaobaoabcd781 -cnphpwnd99999@aliyun8784,cntaobaoabcd781212 -cnphpwnd99999@aliyun8785,cntaobaoabcd7881 -cnphpwnd99999@aliyun8786,cntaobaoabcd789456123 -cnphpwnd99999@aliyun8787,cntaobaoabcd789987 -cnphpwnd99999@aliyun8788,cntaobaoabcd79516 -cnphpwnd99999@aliyun8789,cntaobaoabcd7967 -cnphpwnd99999@aliyun8790,cntaobaoabcd8 -cnphpwnd99999@aliyun8791,cntaobaoabcd801005 -cnphpwnd99999@aliyun8792,cntaobaoabcd8049_dcba -cnphpwnd99999@aliyun8793,cntaobaoabcd8063986 -cnphpwnd99999@aliyun8794,cntaobaoabcd8080 -cnphpwnd99999@aliyun8795,cntaobaoabcd8087 -cnphpwnd99999@aliyun8796,cntaobaoabcd810518 -cnphpwnd99999@aliyun8797,cntaobaoabcd814817 -cnphpwnd99999@aliyun8798,cntaobaoabcd816 -cnphpwnd99999@aliyun8799,cntaobaoabcd81701107 -cnphpwnd99999@aliyun8800,cntaobaoabcd8172 -cnphpwnd99999@aliyun8801,cntaobaoabcd820 -cnphpwnd99999@aliyun8802,cntaobaoabcd820820 -cnphpwnd99999@aliyun8803,cntaobaoabcd821001 -cnphpwnd99999@aliyun8804,cntaobaoabcd8215333 -cnphpwnd99999@aliyun8805,cntaobaoabcd82155624 -cnphpwnd99999@aliyun8806,cntaobaoabcd8231 -cnphpwnd99999@aliyun8807,cntaobaoabcd82612178 -cnphpwnd99999@aliyun8808,cntaobaoabcd830817 -cnphpwnd99999@aliyun8809,cntaobaoabcd83210 -cnphpwnd99999@aliyun8810,cntaobaoabcd83_31 -cnphpwnd99999@aliyun8811,cntaobaoabcd841 -cnphpwnd99999@aliyun8812,cntaobaoabcd8452 -cnphpwnd99999@aliyun8813,cntaobaoabcd84528 -cnphpwnd99999@aliyun8814,cntaobaoabcd846 -cnphpwnd99999@aliyun8815,cntaobaoabcd8466 -cnphpwnd99999@aliyun8816,cntaobaoabcd8472768 -cnphpwnd99999@aliyun8817,cntaobaoabcd85 -cnphpwnd99999@aliyun8818,cntaobaoabcd850914 -cnphpwnd99999@aliyun8819,cntaobaoabcd8509140 -cnphpwnd99999@aliyun8820,cntaobaoabcd8567 -cnphpwnd99999@aliyun8821,cntaobaoabcd858 -cnphpwnd99999@aliyun8822,cntaobaoabcd85830039 -cnphpwnd99999@aliyun8823,cntaobaoabcd85851914 -cnphpwnd99999@aliyun8824,cntaobaoabcd858519141 -cnphpwnd99999@aliyun8825,cntaobaoabcd86588769 -cnphpwnd99999@aliyun8826,cntaobaoabcd86755908 -cnphpwnd99999@aliyun8827,cntaobaoabcd8682 -cnphpwnd99999@aliyun8828,cntaobaoabcd868565 -cnphpwnd99999@aliyun8829,cntaobaoabcd871 -cnphpwnd99999@aliyun8830,cntaobaoabcd875123 -cnphpwnd99999@aliyun8831,cntaobaoabcd8760 -cnphpwnd99999@aliyun8832,cntaobaoabcd87647029 -cnphpwnd99999@aliyun8833,cntaobaoabcd8807 -cnphpwnd99999@aliyun8834,cntaobaoabcd8818 -cnphpwnd99999@aliyun8835,cntaobaoabcd88207770 -cnphpwnd99999@aliyun8836,cntaobaoabcd8848 -cnphpwnd99999@aliyun8837,cntaobaoabcd8858 -cnphpwnd99999@aliyun8838,cntaobaoabcd886886886 -cnphpwnd99999@aliyun8839,cntaobaoabcd8886 -cnphpwnd99999@aliyun8840,cntaobaoabcd88885 -cnphpwnd99999@aliyun8841,cntaobaoabcd88888888 -cnphpwnd99999@aliyun8842,cntaobaoabcd8888_2005 -cnphpwnd99999@aliyun8843,cntaobaoabcd888919 -cnphpwnd99999@aliyun8844,cntaobaoabcd888abcd -cnphpwnd99999@aliyun8845,cntaobaoabcd888hb -cnphpwnd99999@aliyun8846,cntaobaoabcd8891 -cnphpwnd99999@aliyun8847,cntaobaoabcd889988 -cnphpwnd99999@aliyun8848,cntaobaoabcd88vv -cnphpwnd99999@aliyun8849,cntaobaoabcd890 -cnphpwnd99999@aliyun8850,cntaobaoabcd8900523 -cnphpwnd99999@aliyun8851,cntaobaoabcd8902 -cnphpwnd99999@aliyun8852,cntaobaoabcd8910 -cnphpwnd99999@aliyun8853,cntaobaoabcd8dy -cnphpwnd99999@aliyun8854,cntaobaoabcd90000 -cnphpwnd99999@aliyun8855,cntaobaoabcd900800 -cnphpwnd99999@aliyun8856,cntaobaoabcd901 -cnphpwnd99999@aliyun8857,cntaobaoabcd907 -cnphpwnd99999@aliyun8858,cntaobaoabcd91 -cnphpwnd99999@aliyun8859,cntaobaoabcd910291 -cnphpwnd99999@aliyun8860,cntaobaoabcd910571 -cnphpwnd99999@aliyun8861,cntaobaoabcd927 -cnphpwnd99999@aliyun8862,cntaobaoabcd9401 -cnphpwnd99999@aliyun8863,cntaobaoabcd94300 -cnphpwnd99999@aliyun8864,cntaobaoabcd94629 -cnphpwnd99999@aliyun8865,cntaobaoabcd95 -cnphpwnd99999@aliyun8866,cntaobaoabcd951 -cnphpwnd99999@aliyun8867,cntaobaoabcd9559 -cnphpwnd99999@aliyun8868,cntaobaoabcd9655 -cnphpwnd99999@aliyun8869,cntaobaoabcd9701338 -cnphpwnd99999@aliyun8870,cntaobaoabcd970408 -cnphpwnd99999@aliyun8871,cntaobaoabcd9757 -cnphpwnd99999@aliyun8872,cntaobaoabcd980301 -cnphpwnd99999@aliyun8873,cntaobaoabcd9845310 -cnphpwnd99999@aliyun8874,cntaobaoabcd987 -cnphpwnd99999@aliyun8875,cntaobaoabcd9876 -cnphpwnd99999@aliyun8876,cntaobaoabcd9876543210 -cnphpwnd99999@aliyun8877,cntaobaoabcd988 -cnphpwnd99999@aliyun8878,cntaobaoabcd990514 -cnphpwnd99999@aliyun8879,cntaobaoabcd9907 -cnphpwnd99999@aliyun8880,cntaobaoabcd99848078 -cnphpwnd99999@aliyun8881,cntaobaoabcd99933 -cnphpwnd99999@aliyun8882,cntaobaoabcd99988 -cnphpwnd99999@aliyun8883,cntaobaoabcd9999 -cnphpwnd99999@aliyun8884,cntaobaoabcd99abcd -cnphpwnd99999@aliyun8885,cntaobaoabcd_006009 -cnphpwnd99999@aliyun8886,cntaobaoabcd_0125 -cnphpwnd99999@aliyun8887,cntaobaoabcd_1026 -cnphpwnd99999@aliyun8888,cntaobaoabcd_123450 -cnphpwnd99999@aliyun8889,cntaobaoabcd_12345678 -cnphpwnd99999@aliyun8890,cntaobaoabcd_123_abcd -cnphpwnd99999@aliyun8891,cntaobaoabcd_128 -cnphpwnd99999@aliyun8892,cntaobaoabcd_1306325 -cnphpwnd99999@aliyun8893,cntaobaoabcd_1432 -cnphpwnd99999@aliyun8894,cntaobaoabcd_1589 -cnphpwnd99999@aliyun8895,cntaobaoabcd_168 -cnphpwnd99999@aliyun8896,cntaobaoabcd_17909 -cnphpwnd99999@aliyun8897,cntaobaoabcd_18189 -cnphpwnd99999@aliyun8898,cntaobaoabcd_1919 -cnphpwnd99999@aliyun8899,cntaobaoabcd_2005_ -cnphpwnd99999@aliyun8900,cntaobaoabcd_2006 -cnphpwnd99999@aliyun8901,cntaobaoabcd_2006_8_19 -cnphpwnd99999@aliyun8902,cntaobaoabcd_2008 -cnphpwnd99999@aliyun8903,cntaobaoabcd_2008_2005 -cnphpwnd99999@aliyun8904,cntaobaoabcd_3211 -cnphpwnd99999@aliyun8905,cntaobaoabcd_5177 -cnphpwnd99999@aliyun8906,cntaobaoabcd_530 -cnphpwnd99999@aliyun8907,cntaobaoabcd_7717 -cnphpwnd99999@aliyun8908,cntaobaoabcd_77829 -cnphpwnd99999@aliyun8909,cntaobaoabcd_80_923 -cnphpwnd99999@aliyun8910,cntaobaoabcd_826100 -cnphpwnd99999@aliyun8911,cntaobaoabcd_829 -cnphpwnd99999@aliyun8912,cntaobaoabcd_88 -cnphpwnd99999@aliyun8913,cntaobaoabcd_8_2005 -cnphpwnd99999@aliyun8914,cntaobaoabcd_99199 -cnphpwnd99999@aliyun8915,cntaobaoabcd_abc_930 -cnphpwnd99999@aliyun8916,cntaobaoabcd_abcd288 -cnphpwnd99999@aliyun8917,cntaobaoabcd_dcba -cnphpwnd99999@aliyun8918,cntaobaoabcd_defgh -cnphpwnd99999@aliyun8919,cntaobaoabcd_dz -cnphpwnd99999@aliyun8920,cntaobaoabcd_hong -cnphpwnd99999@aliyun8921,cntaobaoabcd_li_2005 -cnphpwnd99999@aliyun8922,cntaobaoabcd_man -cnphpwnd99999@aliyun8923,cntaobaoabcd_mt -cnphpwnd99999@aliyun8924,cntaobaoabcd_parade -cnphpwnd99999@aliyun8925,cntaobaoabcd_sophia -cnphpwnd99999@aliyun8926,cntaobaoabcd_wdxs_2008 -cnphpwnd99999@aliyun8927,cntaobaoabcd_wei -cnphpwnd99999@aliyun8928,cntaobaoabcd_wn -cnphpwnd99999@aliyun8929,cntaobaoabcd_wwwpx -cnphpwnd99999@aliyun8930,cntaobaoabcd_yaya -cnphpwnd99999@aliyun8931,cntaobaoabcd_z -cnphpwnd99999@aliyun8932,cntaobaoabcd_超八 -cnphpwnd99999@aliyun8933,cntaobaoabcda -cnphpwnd99999@aliyun8934,cntaobaoabcda56789 -cnphpwnd99999@aliyun8935,cntaobaoabcda777 -cnphpwnd99999@aliyun8936,cntaobaoabcda88 -cnphpwnd99999@aliyun8937,cntaobaoabcdabcd1111 -cnphpwnd99999@aliyun8938,cntaobaoabcdabcd123488 -cnphpwnd99999@aliyun8939,cntaobaoabcdabcd123_007 -cnphpwnd99999@aliyun8940,cntaobaoabcdabcd123ok -cnphpwnd99999@aliyun8941,cntaobaoabcdabcdcn -cnphpwnd99999@aliyun8942,cntaobaoabcdabcdhk -cnphpwnd99999@aliyun8943,cntaobaoabcdabcdyyy -cnphpwnd99999@aliyun8944,cntaobaoabcdabcl -cnphpwnd99999@aliyun8945,cntaobaoabcdahky -cnphpwnd99999@aliyun8946,cntaobaoabcdaibocai5 -cnphpwnd99999@aliyun8947,cntaobaoabcdala -cnphpwnd99999@aliyun8948,cntaobaoabcdandan -cnphpwnd99999@aliyun8949,cntaobaoabcdandyabc -cnphpwnd99999@aliyun8950,cntaobaoabcdaniu -cnphpwnd99999@aliyun8951,cntaobaoabcdanni -cnphpwnd99999@aliyun8952,cntaobaoabcdanqi -cnphpwnd99999@aliyun8953,cntaobaoabcdasd1 -cnphpwnd99999@aliyun8954,cntaobaoabcdav23 -cnphpwnd99999@aliyun8955,cntaobaoabcdb110 -cnphpwnd99999@aliyun8956,cntaobaoabcdbbs -cnphpwnd99999@aliyun8957,cntaobaoabcdbdj -cnphpwnd99999@aliyun8958,cntaobaoabcdbig -cnphpwnd99999@aliyun8959,cntaobaoabcdbig1 -cnphpwnd99999@aliyun8960,cntaobaoabcdbpmf -cnphpwnd99999@aliyun8961,cntaobaoabcdcba -cnphpwnd99999@aliyun8962,cntaobaoabcdcc88 -cnphpwnd99999@aliyun8963,cntaobaoabcdccc9 -cnphpwnd99999@aliyun8964,cntaobaoabcdcccc -cnphpwnd99999@aliyun8965,cntaobaoabcdcctv -cnphpwnd99999@aliyun8966,cntaobaoabcdcfg -cnphpwnd99999@aliyun8967,cntaobaoabcdcheng -cnphpwnd99999@aliyun8968,cntaobaoabcdchenxin -cnphpwnd99999@aliyun8969,cntaobaoabcdcoco -cnphpwnd99999@aliyun8970,cntaobaoabcdcold -cnphpwnd99999@aliyun8971,cntaobaoabcdcp -cnphpwnd99999@aliyun8972,cntaobaoabcdcq -cnphpwnd99999@aliyun8973,cntaobaoabcdcx -cnphpwnd99999@aliyun8974,cntaobaoabcdczj -cnphpwnd99999@aliyun8975,cntaobaoabcdd123 -cnphpwnd99999@aliyun8976,cntaobaoabcdd2004 -cnphpwnd99999@aliyun8977,cntaobaoabcdd258 -cnphpwnd99999@aliyun8978,cntaobaoabcdd325 -cnphpwnd99999@aliyun8979,cntaobaoabcdd5588 -cnphpwnd99999@aliyun8980,cntaobaoabcddbcd -cnphpwnd99999@aliyun8981,cntaobaoabcddcba001100 -cnphpwnd99999@aliyun8982,cntaobaoabcddcba113 -cnphpwnd99999@aliyun8983,cntaobaoabcddcba12345 -cnphpwnd99999@aliyun8984,cntaobaoabcddcba14998 -cnphpwnd99999@aliyun8985,cntaobaoabcddcba21 -cnphpwnd99999@aliyun8986,cntaobaoabcddcba321 -cnphpwnd99999@aliyun8987,cntaobaoabcddcbaabcd -cnphpwnd99999@aliyun8988,cntaobaoabcddd20082008 -cnphpwnd99999@aliyun8989,cntaobaoabcdddam -cnphpwnd99999@aliyun8990,cntaobaoabcddddd -cnphpwnd99999@aliyun8991,cntaobaoabcdddkio -cnphpwnd99999@aliyun8992,cntaobaoabcddef -cnphpwnd99999@aliyun8993,cntaobaoabcddefg -cnphpwnd99999@aliyun8994,cntaobaoabcddoremi -cnphpwnd99999@aliyun8995,cntaobaoabcddx -cnphpwnd99999@aliyun8996,cntaobaoabcddxy -cnphpwnd99999@aliyun8997,cntaobaoabcde -cnphpwnd99999@aliyun8998,cntaobaoabcde-edcba -cnphpwnd99999@aliyun8999,cntaobaoabcde0 -cnphpwnd99999@aliyun9000,cntaobaoabcde00001 -cnphpwnd99999@aliyun9001,cntaobaoabcde001 -cnphpwnd99999@aliyun9002,cntaobaoabcde0012 -cnphpwnd99999@aliyun9003,cntaobaoabcde00788 -cnphpwnd99999@aliyun9004,cntaobaoabcde0088 -cnphpwnd99999@aliyun9005,cntaobaoabcde00_2005 -cnphpwnd99999@aliyun9006,cntaobaoabcde010203 -cnphpwnd99999@aliyun9007,cntaobaoabcde0123 -cnphpwnd99999@aliyun9008,cntaobaoabcde016000 -cnphpwnd99999@aliyun9009,cntaobaoabcde0216898 -cnphpwnd99999@aliyun9010,cntaobaoabcde0220 -cnphpwnd99999@aliyun9011,cntaobaoabcde0286 -cnphpwnd99999@aliyun9012,cntaobaoabcde0315 -cnphpwnd99999@aliyun9013,cntaobaoabcde0320 -cnphpwnd99999@aliyun9014,cntaobaoabcde051223 -cnphpwnd99999@aliyun9015,cntaobaoabcde0537 -cnphpwnd99999@aliyun9016,cntaobaoabcde06 -cnphpwnd99999@aliyun9017,cntaobaoabcde0918 -cnphpwnd99999@aliyun9018,cntaobaoabcde0_2005 -cnphpwnd99999@aliyun9019,cntaobaoabcde1005 -cnphpwnd99999@aliyun9020,cntaobaoabcde10281 -cnphpwnd99999@aliyun9021,cntaobaoabcde10909 -cnphpwnd99999@aliyun9022,cntaobaoabcde110 -cnphpwnd99999@aliyun9023,cntaobaoabcde11111 -cnphpwnd99999@aliyun9024,cntaobaoabcde11111_2005 -cnphpwnd99999@aliyun9025,cntaobaoabcde112 -cnphpwnd99999@aliyun9026,cntaobaoabcde1122 -cnphpwnd99999@aliyun9027,cntaobaoabcde115 -cnphpwnd99999@aliyun9028,cntaobaoabcde118888 -cnphpwnd99999@aliyun9029,cntaobaoabcde11_007 -cnphpwnd99999@aliyun9030,cntaobaoabcde1211 -cnphpwnd99999@aliyun9031,cntaobaoabcde122333444455555 -cnphpwnd99999@aliyun9032,cntaobaoabcde123411 -cnphpwnd99999@aliyun9033,cntaobaoabcde12345 -cnphpwnd99999@aliyun9034,cntaobaoabcde123450123 -cnphpwnd99999@aliyun9035,cntaobaoabcde12345672 -cnphpwnd99999@aliyun9036,cntaobaoabcde12345678 -cnphpwnd99999@aliyun9037,cntaobaoabcde123456789 -cnphpwnd99999@aliyun9038,cntaobaoabcde1234567_007 -cnphpwnd99999@aliyun9039,cntaobaoabcde123456_2005 -cnphpwnd99999@aliyun9040,cntaobaoabcde123456sz -cnphpwnd99999@aliyun9041,cntaobaoabcde1234kkkl -cnphpwnd99999@aliyun9042,cntaobaoabcde123666 -cnphpwnd99999@aliyun9043,cntaobaoabcde1237891 -cnphpwnd99999@aliyun9044,cntaobaoabcde123kk -cnphpwnd99999@aliyun9045,cntaobaoabcde127 -cnphpwnd99999@aliyun9046,cntaobaoabcde1367513 -cnphpwnd99999@aliyun9047,cntaobaoabcde1546 -cnphpwnd99999@aliyun9048,cntaobaoabcde1588 -cnphpwnd99999@aliyun9049,cntaobaoabcde159357 -cnphpwnd99999@aliyun9050,cntaobaoabcde1748 -cnphpwnd99999@aliyun9051,cntaobaoabcde178178 -cnphpwnd99999@aliyun9052,cntaobaoabcde1884 -cnphpwnd99999@aliyun9053,cntaobaoabcde196311 -cnphpwnd99999@aliyun9054,cntaobaoabcde1971 -cnphpwnd99999@aliyun9055,cntaobaoabcde19771224 -cnphpwnd99999@aliyun9056,cntaobaoabcde1984 -cnphpwnd99999@aliyun9057,cntaobaoabcde19edcba -cnphpwnd99999@aliyun9058,cntaobaoabcde1_2005 -cnphpwnd99999@aliyun9059,cntaobaoabcde1fghijk -cnphpwnd99999@aliyun9060,cntaobaoabcde200090 -cnphpwnd99999@aliyun9061,cntaobaoabcde20051 -cnphpwnd99999@aliyun9062,cntaobaoabcde2008f -cnphpwnd99999@aliyun9063,cntaobaoabcde2008fg -cnphpwnd99999@aliyun9064,cntaobaoabcde222333444 -cnphpwnd99999@aliyun9065,cntaobaoabcde277 -cnphpwnd99999@aliyun9066,cntaobaoabcde2849 -cnphpwnd99999@aliyun9067,cntaobaoabcde3 -cnphpwnd99999@aliyun9068,cntaobaoabcde30 -cnphpwnd99999@aliyun9069,cntaobaoabcde3093 -cnphpwnd99999@aliyun9070,cntaobaoabcde33221 -cnphpwnd99999@aliyun9071,cntaobaoabcde333 -cnphpwnd99999@aliyun9072,cntaobaoabcde3399 -cnphpwnd99999@aliyun9073,cntaobaoabcde34511 -cnphpwnd99999@aliyun9074,cntaobaoabcde365 -cnphpwnd99999@aliyun9075,cntaobaoabcde367 -cnphpwnd99999@aliyun9076,cntaobaoabcde3700 -cnphpwnd99999@aliyun9077,cntaobaoabcde38 -cnphpwnd99999@aliyun9078,cntaobaoabcde4085 -cnphpwnd99999@aliyun9079,cntaobaoabcde4226009 -cnphpwnd99999@aliyun9080,cntaobaoabcde423 -cnphpwnd99999@aliyun9081,cntaobaoabcde455 -cnphpwnd99999@aliyun9082,cntaobaoabcde456 -cnphpwnd99999@aliyun9083,cntaobaoabcde456456 -cnphpwnd99999@aliyun9084,cntaobaoabcde5 -cnphpwnd99999@aliyun9085,cntaobaoabcde51666888 -cnphpwnd99999@aliyun9086,cntaobaoabcde520ok -cnphpwnd99999@aliyun9087,cntaobaoabcde52188 -cnphpwnd99999@aliyun9088,cntaobaoabcde529191328 -cnphpwnd99999@aliyun9089,cntaobaoabcde53 -cnphpwnd99999@aliyun9090,cntaobaoabcde530 -cnphpwnd99999@aliyun9091,cntaobaoabcde543210 -cnphpwnd99999@aliyun9092,cntaobaoabcde555 -cnphpwnd99999@aliyun9093,cntaobaoabcde5566 -cnphpwnd99999@aliyun9094,cntaobaoabcde5678 -cnphpwnd99999@aliyun9095,cntaobaoabcde586 -cnphpwnd99999@aliyun9096,cntaobaoabcde58823 -cnphpwnd99999@aliyun9097,cntaobaoabcde59 -cnphpwnd99999@aliyun9098,cntaobaoabcde60406 -cnphpwnd99999@aliyun9099,cntaobaoabcde668899 -cnphpwnd99999@aliyun9100,cntaobaoabcde6789012345 -cnphpwnd99999@aliyun9101,cntaobaoabcde682 -cnphpwnd99999@aliyun9102,cntaobaoabcde724 -cnphpwnd99999@aliyun9103,cntaobaoabcde7412 -cnphpwnd99999@aliyun9104,cntaobaoabcde780330 -cnphpwnd99999@aliyun9105,cntaobaoabcde781 -cnphpwnd99999@aliyun9106,cntaobaoabcde78966 -cnphpwnd99999@aliyun9107,cntaobaoabcde8300 -cnphpwnd99999@aliyun9108,cntaobaoabcde841204com -cnphpwnd99999@aliyun9109,cntaobaoabcde84942 -cnphpwnd99999@aliyun9110,cntaobaoabcde8800 -cnphpwnd99999@aliyun9111,cntaobaoabcde8810 -cnphpwnd99999@aliyun9112,cntaobaoabcde887 -cnphpwnd99999@aliyun9113,cntaobaoabcde88777 -cnphpwnd99999@aliyun9114,cntaobaoabcde8881 -cnphpwnd99999@aliyun9115,cntaobaoabcde88881 -cnphpwnd99999@aliyun9116,cntaobaoabcde88888 -cnphpwnd99999@aliyun9117,cntaobaoabcde911 -cnphpwnd99999@aliyun9118,cntaobaoabcde919 -cnphpwnd99999@aliyun9119,cntaobaoabcde95 -cnphpwnd99999@aliyun9120,cntaobaoabcde958 -cnphpwnd99999@aliyun9121,cntaobaoabcde978 -cnphpwnd99999@aliyun9122,cntaobaoabcde987 -cnphpwnd99999@aliyun9123,cntaobaoabcde9876543210 -cnphpwnd99999@aliyun9124,cntaobaoabcde989 -cnphpwnd99999@aliyun9125,cntaobaoabcde9999 -cnphpwnd99999@aliyun9126,cntaobaoabcde999_999 -cnphpwnd99999@aliyun9127,cntaobaoabcde_ -cnphpwnd99999@aliyun9128,cntaobaoabcde_0000 -cnphpwnd99999@aliyun9129,cntaobaoabcde_00007 -cnphpwnd99999@aliyun9130,cntaobaoabcde_0001 -cnphpwnd99999@aliyun9131,cntaobaoabcde_007_2005 -cnphpwnd99999@aliyun9132,cntaobaoabcde_007_tb -cnphpwnd99999@aliyun9133,cntaobaoabcde_01 -cnphpwnd99999@aliyun9134,cntaobaoabcde_11 -cnphpwnd99999@aliyun9135,cntaobaoabcde_1234566 -cnphpwnd99999@aliyun9136,cntaobaoabcde_12345_007 -cnphpwnd99999@aliyun9137,cntaobaoabcde_123_2005 -cnphpwnd99999@aliyun9138,cntaobaoabcde_168149 -cnphpwnd99999@aliyun9139,cntaobaoabcde_2005 -cnphpwnd99999@aliyun9140,cntaobaoabcde_4444_2005 -cnphpwnd99999@aliyun9141,cntaobaoabcde_abcdef -cnphpwnd99999@aliyun9142,cntaobaoabcde_cn -cnphpwnd99999@aliyun9143,cntaobaoabcde_qt -cnphpwnd99999@aliyun9144,cntaobaoabcde_qtds -cnphpwnd99999@aliyun9145,cntaobaoabcde_tb -cnphpwnd99999@aliyun9146,cntaobaoabcdea2005 -cnphpwnd99999@aliyun9147,cntaobaoabcdea520 -cnphpwnd99999@aliyun9148,cntaobaoabcdeab_2004 -cnphpwnd99999@aliyun9149,cntaobaoabcdeabbbc -cnphpwnd99999@aliyun9150,cntaobaoabcdeabcde01234 -cnphpwnd99999@aliyun9151,cntaobaoabcdeabcde9 -cnphpwnd99999@aliyun9152,cntaobaoabcdeabcdeabcde -cnphpwnd99999@aliyun9153,cntaobaoabcdeamwfn -cnphpwnd99999@aliyun9154,cntaobaoabcdebb88 -cnphpwnd99999@aliyun9155,cntaobaoabcdeda -cnphpwnd99999@aliyun9156,cntaobaoabcdedcba1223 -cnphpwnd99999@aliyun9157,cntaobaoabcdeddfdfdfdssd -cnphpwnd99999@aliyun9158,cntaobaoabcdediaodiao -cnphpwnd99999@aliyun9159,cntaobaoabcdedyl -cnphpwnd99999@aliyun9160,cntaobaoabcdeee3 -cnphpwnd99999@aliyun9161,cntaobaoabcdef -cnphpwnd99999@aliyun9162,cntaobaoabcdef-7788 -cnphpwnd99999@aliyun9163,cntaobaoabcdef00 -cnphpwnd99999@aliyun9164,cntaobaoabcdef000 -cnphpwnd99999@aliyun9165,cntaobaoabcdef0000 -cnphpwnd99999@aliyun9166,cntaobaoabcdef00123 -cnphpwnd99999@aliyun9167,cntaobaoabcdef008 -cnphpwnd99999@aliyun9168,cntaobaoabcdef0102 -cnphpwnd99999@aliyun9169,cntaobaoabcdef03500 -cnphpwnd99999@aliyun9170,cntaobaoabcdef0375 -cnphpwnd99999@aliyun9171,cntaobaoabcdef042 -cnphpwnd99999@aliyun9172,cntaobaoabcdef050 -cnphpwnd99999@aliyun9173,cntaobaoabcdef0545 -cnphpwnd99999@aliyun9174,cntaobaoabcdef0831 -cnphpwnd99999@aliyun9175,cntaobaoabcdef1 -cnphpwnd99999@aliyun9176,cntaobaoabcdef100 -cnphpwnd99999@aliyun9177,cntaobaoabcdef101202 -cnphpwnd99999@aliyun9178,cntaobaoabcdef1108 -cnphpwnd99999@aliyun9179,cntaobaoabcdef11111 -cnphpwnd99999@aliyun9180,cntaobaoabcdef11134 -cnphpwnd99999@aliyun9181,cntaobaoabcdef111343 -cnphpwnd99999@aliyun9182,cntaobaoabcdef111345 -cnphpwnd99999@aliyun9183,cntaobaoabcdef111346 -cnphpwnd99999@aliyun9184,cntaobaoabcdef1122ab -cnphpwnd99999@aliyun9185,cntaobaoabcdef1200 -cnphpwnd99999@aliyun9186,cntaobaoabcdef1203 -cnphpwnd99999@aliyun9187,cntaobaoabcdef1223456 -cnphpwnd99999@aliyun9188,cntaobaoabcdef123 -cnphpwnd99999@aliyun9189,cntaobaoabcdef1230123 -cnphpwnd99999@aliyun9190,cntaobaoabcdef123112 -cnphpwnd99999@aliyun9191,cntaobaoabcdef123123 -cnphpwnd99999@aliyun9192,cntaobaoabcdef1234 -cnphpwnd99999@aliyun9193,cntaobaoabcdef123455 -cnphpwnd99999@aliyun9194,cntaobaoabcdef123456 -cnphpwnd99999@aliyun9195,cntaobaoabcdef123456123 -cnphpwnd99999@aliyun9196,cntaobaoabcdef12345678 -cnphpwnd99999@aliyun9197,cntaobaoabcdef123_007 -cnphpwnd99999@aliyun9198,cntaobaoabcdef123aa -cnphpwnd99999@aliyun9199,cntaobaoabcdef123d -cnphpwnd99999@aliyun9200,cntaobaoabcdef123t -cnphpwnd99999@aliyun9201,cntaobaoabcdef128 -cnphpwnd99999@aliyun9202,cntaobaoabcdef129 -cnphpwnd99999@aliyun9203,cntaobaoabcdef168 -cnphpwnd99999@aliyun9204,cntaobaoabcdef18 -cnphpwnd99999@aliyun9205,cntaobaoabcdef180 -cnphpwnd99999@aliyun9206,cntaobaoabcdef1840 -cnphpwnd99999@aliyun9207,cntaobaoabcdef1969 -cnphpwnd99999@aliyun9208,cntaobaoabcdef1975 -cnphpwnd99999@aliyun9209,cntaobaoabcdef1985 -cnphpwnd99999@aliyun9210,cntaobaoabcdef198606 -cnphpwnd99999@aliyun9211,cntaobaoabcdef1987 -cnphpwnd99999@aliyun9212,cntaobaoabcdef199 -cnphpwnd99999@aliyun9213,cntaobaoabcdef1993 -cnphpwnd99999@aliyun9214,cntaobaoabcdef1_2005 -cnphpwnd99999@aliyun9215,cntaobaoabcdef20001976 -cnphpwnd99999@aliyun9216,cntaobaoabcdef2004 -cnphpwnd99999@aliyun9217,cntaobaoabcdef2005007 -cnphpwnd99999@aliyun9218,cntaobaoabcdef20061007 -cnphpwnd99999@aliyun9219,cntaobaoabcdef2008 -cnphpwnd99999@aliyun9220,cntaobaoabcdef212 -cnphpwnd99999@aliyun9221,cntaobaoabcdef212004 -cnphpwnd99999@aliyun9222,cntaobaoabcdef220330 -cnphpwnd99999@aliyun9223,cntaobaoabcdef2579 -cnphpwnd99999@aliyun9224,cntaobaoabcdef263 -cnphpwnd99999@aliyun9225,cntaobaoabcdef2801 -cnphpwnd99999@aliyun9226,cntaobaoabcdef2_2005 -cnphpwnd99999@aliyun9227,cntaobaoabcdef34011 -cnphpwnd99999@aliyun9228,cntaobaoabcdef4 -cnphpwnd99999@aliyun9229,cntaobaoabcdef40388 -cnphpwnd99999@aliyun9230,cntaobaoabcdef44 -cnphpwnd99999@aliyun9231,cntaobaoabcdef4561 -cnphpwnd99999@aliyun9232,cntaobaoabcdef4_car -cnphpwnd99999@aliyun9233,cntaobaoabcdef4jin -cnphpwnd99999@aliyun9234,cntaobaoabcdef5036152 -cnphpwnd99999@aliyun9235,cntaobaoabcdef53 -cnphpwnd99999@aliyun9236,cntaobaoabcdef55226677 -cnphpwnd99999@aliyun9237,cntaobaoabcdef6 -cnphpwnd99999@aliyun9238,cntaobaoabcdef622 -cnphpwnd99999@aliyun9239,cntaobaoabcdef63315 -cnphpwnd99999@aliyun9240,cntaobaoabcdef651015 -cnphpwnd99999@aliyun9241,cntaobaoabcdef6626 -cnphpwnd99999@aliyun9242,cntaobaoabcdef666666 -cnphpwnd99999@aliyun9243,cntaobaoabcdef6688 -cnphpwnd99999@aliyun9244,cntaobaoabcdef67 -cnphpwnd99999@aliyun9245,cntaobaoabcdef7 -cnphpwnd99999@aliyun9246,cntaobaoabcdef700 -cnphpwnd99999@aliyun9247,cntaobaoabcdef77 -cnphpwnd99999@aliyun9248,cntaobaoabcdef7891 -cnphpwnd99999@aliyun9249,cntaobaoabcdef828282 -cnphpwnd99999@aliyun9250,cntaobaoabcdef841019 -cnphpwnd99999@aliyun9251,cntaobaoabcdef8533 -cnphpwnd99999@aliyun9252,cntaobaoabcdef861 -cnphpwnd99999@aliyun9253,cntaobaoabcdef87 -cnphpwnd99999@aliyun9254,cntaobaoabcdef8746142 -cnphpwnd99999@aliyun9255,cntaobaoabcdef88 -cnphpwnd99999@aliyun9256,cntaobaoabcdef888888 -cnphpwnd99999@aliyun9257,cntaobaoabcdef9518 -cnphpwnd99999@aliyun9258,cntaobaoabcdef987_2005 -cnphpwnd99999@aliyun9259,cntaobaoabcdef993255123 -cnphpwnd99999@aliyun9260,cntaobaoabcdef99_2005 -cnphpwnd99999@aliyun9261,cntaobaoabcdef_01 -cnphpwnd99999@aliyun9262,cntaobaoabcdef_012345 -cnphpwnd99999@aliyun9263,cntaobaoabcdef_0451 -cnphpwnd99999@aliyun9264,cntaobaoabcdef_1234567 -cnphpwnd99999@aliyun9265,cntaobaoabcdef_200588 -cnphpwnd99999@aliyun9266,cntaobaoabcdef_5221ffff -cnphpwnd99999@aliyun9267,cntaobaoabcdef_long -cnphpwnd99999@aliyun9268,cntaobaoabcdef_qqak -cnphpwnd99999@aliyun9269,cntaobaoabcdefab -cnphpwnd99999@aliyun9270,cntaobaoabcdefabcde -cnphpwnd99999@aliyun9271,cntaobaoabcdefad -cnphpwnd99999@aliyun9272,cntaobaoabcdefah -cnphpwnd99999@aliyun9273,cntaobaoabcdefaq -cnphpwnd99999@aliyun9274,cntaobaoabcdefbi -cnphpwnd99999@aliyun9275,cntaobaoabcdefcat -cnphpwnd99999@aliyun9276,cntaobaoabcdefch -cnphpwnd99999@aliyun9277,cntaobaoabcdefcn224 -cnphpwnd99999@aliyun9278,cntaobaoabcdefe123 -cnphpwnd99999@aliyun9279,cntaobaoabcdeffj -cnphpwnd99999@aliyun9280,cntaobaoabcdeffly -cnphpwnd99999@aliyun9281,cntaobaoabcdeffox -cnphpwnd99999@aliyun9282,cntaobaoabcdeffyh -cnphpwnd99999@aliyun9283,cntaobaoabcdefg -cnphpwnd99999@aliyun9284,cntaobaoabcdefg-088 -cnphpwnd99999@aliyun9285,cntaobaoabcdefg0 -cnphpwnd99999@aliyun9286,cntaobaoabcdefg0000ppp -cnphpwnd99999@aliyun9287,cntaobaoabcdefg001 -cnphpwnd99999@aliyun9288,cntaobaoabcdefg001122 -cnphpwnd99999@aliyun9289,cntaobaoabcdefg0015 -cnphpwnd99999@aliyun9290,cntaobaoabcdefg007038 -cnphpwnd99999@aliyun9291,cntaobaoabcdefg008 -cnphpwnd99999@aliyun9292,cntaobaoabcdefg0107 -cnphpwnd99999@aliyun9293,cntaobaoabcdefg03 -cnphpwnd99999@aliyun9294,cntaobaoabcdefg030340129 -cnphpwnd99999@aliyun9295,cntaobaoabcdefg05 -cnphpwnd99999@aliyun9296,cntaobaoabcdefg0918 -cnphpwnd99999@aliyun9297,cntaobaoabcdefg100 -cnphpwnd99999@aliyun9298,cntaobaoabcdefg1102 -cnphpwnd99999@aliyun9299,cntaobaoabcdefg11088 -cnphpwnd99999@aliyun9300,cntaobaoabcdefg1111111 -cnphpwnd99999@aliyun9301,cntaobaoabcdefg1112 -cnphpwnd99999@aliyun9302,cntaobaoabcdefg114 -cnphpwnd99999@aliyun9303,cntaobaoabcdefg12 -cnphpwnd99999@aliyun9304,cntaobaoabcdefg1207 -cnphpwnd99999@aliyun9305,cntaobaoabcdefg123 -cnphpwnd99999@aliyun9306,cntaobaoabcdefg123000 -cnphpwnd99999@aliyun9307,cntaobaoabcdefg123123 -cnphpwnd99999@aliyun9308,cntaobaoabcdefg12312388 -cnphpwnd99999@aliyun9309,cntaobaoabcdefg12333 -cnphpwnd99999@aliyun9310,cntaobaoabcdefg12341 -cnphpwnd99999@aliyun9311,cntaobaoabcdefg1234509876 -cnphpwnd99999@aliyun9312,cntaobaoabcdefg12345677 -cnphpwnd99999@aliyun9313,cntaobaoabcdefg1234567_qq -cnphpwnd99999@aliyun9314,cntaobaoabcdefg12345699 -cnphpwnd99999@aliyun9315,cntaobaoabcdefg123456_7890 -cnphpwnd99999@aliyun9316,cntaobaoabcdefg123456fr -cnphpwnd99999@aliyun9317,cntaobaoabcdefg12348 -cnphpwnd99999@aliyun9318,cntaobaoabcdefg1234aaa -cnphpwnd99999@aliyun9319,cntaobaoabcdefg123654789 -cnphpwnd99999@aliyun9320,cntaobaoabcdefg12399 -cnphpwnd99999@aliyun9321,cntaobaoabcdefg12_007 -cnphpwnd99999@aliyun9322,cntaobaoabcdefg13074028594 -cnphpwnd99999@aliyun9323,cntaobaoabcdefg13724319131 -cnphpwnd99999@aliyun9324,cntaobaoabcdefg159357 -cnphpwnd99999@aliyun9325,cntaobaoabcdefg186 -cnphpwnd99999@aliyun9326,cntaobaoabcdefg1888888 -cnphpwnd99999@aliyun9327,cntaobaoabcdefg19771111 -cnphpwnd99999@aliyun9328,cntaobaoabcdefg19780629 -cnphpwnd99999@aliyun9329,cntaobaoabcdefg19780904 -cnphpwnd99999@aliyun9330,cntaobaoabcdefg19820824 -cnphpwnd99999@aliyun9331,cntaobaoabcdefg1986 -cnphpwnd99999@aliyun9332,cntaobaoabcdefg19881029 -cnphpwnd99999@aliyun9333,cntaobaoabcdefg1995 -cnphpwnd99999@aliyun9334,cntaobaoabcdefg20000720 -cnphpwnd99999@aliyun9335,cntaobaoabcdefg2002 -cnphpwnd99999@aliyun9336,cntaobaoabcdefg20052 -cnphpwnd99999@aliyun9337,cntaobaoabcdefg20052005 -cnphpwnd99999@aliyun9338,cntaobaoabcdefg20065 -cnphpwnd99999@aliyun9339,cntaobaoabcdefg20069 -cnphpwnd99999@aliyun9340,cntaobaoabcdefg200699 -cnphpwnd99999@aliyun9341,cntaobaoabcdefg2006_tb -cnphpwnd99999@aliyun9342,cntaobaoabcdefg20088 -cnphpwnd99999@aliyun9343,cntaobaoabcdefg2009 -cnphpwnd99999@aliyun9344,cntaobaoabcdefg202800 -cnphpwnd99999@aliyun9345,cntaobaoabcdefg2107 -cnphpwnd99999@aliyun9346,cntaobaoabcdefg23456 -cnphpwnd99999@aliyun9347,cntaobaoabcdefg2396 -cnphpwnd99999@aliyun9348,cntaobaoabcdefg23tl -cnphpwnd99999@aliyun9349,cntaobaoabcdefg25 -cnphpwnd99999@aliyun9350,cntaobaoabcdefg2697 -cnphpwnd99999@aliyun9351,cntaobaoabcdefg3215 -cnphpwnd99999@aliyun9352,cntaobaoabcdefg321678 -cnphpwnd99999@aliyun9353,cntaobaoabcdefg33 -cnphpwnd99999@aliyun9354,cntaobaoabcdefg3510 -cnphpwnd99999@aliyun9355,cntaobaoabcdefg365 -cnphpwnd99999@aliyun9356,cntaobaoabcdefg383838 -cnphpwnd99999@aliyun9357,cntaobaoabcdefg44445555 -cnphpwnd99999@aliyun9358,cntaobaoabcdefg4980 -cnphpwnd99999@aliyun9359,cntaobaoabcdefg518 -cnphpwnd99999@aliyun9360,cntaobaoabcdefg520 -cnphpwnd99999@aliyun9361,cntaobaoabcdefg52113 -cnphpwnd99999@aliyun9362,cntaobaoabcdefg5302 -cnphpwnd99999@aliyun9363,cntaobaoabcdefg555 -cnphpwnd99999@aliyun9364,cntaobaoabcdefg55806160 -cnphpwnd99999@aliyun9365,cntaobaoabcdefg5621890 -cnphpwnd99999@aliyun9366,cntaobaoabcdefg6 -cnphpwnd99999@aliyun9367,cntaobaoabcdefg6166 -cnphpwnd99999@aliyun9368,cntaobaoabcdefg721113 -cnphpwnd99999@aliyun9369,cntaobaoabcdefg726520 -cnphpwnd99999@aliyun9370,cntaobaoabcdefg74_79 -cnphpwnd99999@aliyun9371,cntaobaoabcdefg7654321 -cnphpwnd99999@aliyun9372,cntaobaoabcdefg780629 -cnphpwnd99999@aliyun9373,cntaobaoabcdefg800811 -cnphpwnd99999@aliyun9374,cntaobaoabcdefg81 -cnphpwnd99999@aliyun9375,cntaobaoabcdefg822222 -cnphpwnd99999@aliyun9376,cntaobaoabcdefg8310 -cnphpwnd99999@aliyun9377,cntaobaoabcdefg840916 -cnphpwnd99999@aliyun9378,cntaobaoabcdefg88 -cnphpwnd99999@aliyun9379,cntaobaoabcdefg881 -cnphpwnd99999@aliyun9380,cntaobaoabcdefg883 -cnphpwnd99999@aliyun9381,cntaobaoabcdefg8848 -cnphpwnd99999@aliyun9382,cntaobaoabcdefg8888 -cnphpwnd99999@aliyun9383,cntaobaoabcdefg88888 -cnphpwnd99999@aliyun9384,cntaobaoabcdefg8899 -cnphpwnd99999@aliyun9385,cntaobaoabcdefg88_007 -cnphpwnd99999@aliyun9386,cntaobaoabcdefg88_2005 -cnphpwnd99999@aliyun9387,cntaobaoabcdefg899 -cnphpwnd99999@aliyun9388,cntaobaoabcdefg89999 -cnphpwnd99999@aliyun9389,cntaobaoabcdefg9 -cnphpwnd99999@aliyun9390,cntaobaoabcdefg909 -cnphpwnd99999@aliyun9391,cntaobaoabcdefg9182736455 -cnphpwnd99999@aliyun9392,cntaobaoabcdefg9208 -cnphpwnd99999@aliyun9393,cntaobaoabcdefg923 -cnphpwnd99999@aliyun9394,cntaobaoabcdefg987 -cnphpwnd99999@aliyun9395,cntaobaoabcdefg_001 -cnphpwnd99999@aliyun9396,cntaobaoabcdefg_00456 -cnphpwnd99999@aliyun9397,cntaobaoabcdefg_008 -cnphpwnd99999@aliyun9398,cntaobaoabcdefg_1233 -cnphpwnd99999@aliyun9399,cntaobaoabcdefg_1234 -cnphpwnd99999@aliyun9400,cntaobaoabcdefg_1470 -cnphpwnd99999@aliyun9401,cntaobaoabcdefg_20056 -cnphpwnd99999@aliyun9402,cntaobaoabcdefg_20058 -cnphpwnd99999@aliyun9403,cntaobaoabcdefg_369369 -cnphpwnd99999@aliyun9404,cntaobaoabcdefg_6833 -cnphpwnd99999@aliyun9405,cntaobaoabcdefg_bt -cnphpwnd99999@aliyun9406,cntaobaoabcdefgabcdef -cnphpwnd99999@aliyun9407,cntaobaoabcdefgabcdefg_tb -cnphpwnd99999@aliyun9408,cntaobaoabcdefgbobo -cnphpwnd99999@aliyun9409,cntaobaoabcdefgciac -cnphpwnd99999@aliyun9410,cntaobaoabcdefgcn -cnphpwnd99999@aliyun9411,cntaobaoabcdefgd -cnphpwnd99999@aliyun9412,cntaobaoabcdefgefghij -cnphpwnd99999@aliyun9413,cntaobaoabcdefgf_007 -cnphpwnd99999@aliyun9414,cntaobaoabcdefgfedcba1 -cnphpwnd99999@aliyun9415,cntaobaoabcdefggfe521 -cnphpwnd99999@aliyun9416,cntaobaoabcdefggfedcba -cnphpwnd99999@aliyun9417,cntaobaoabcdefggfedcba_2005 -cnphpwnd99999@aliyun9418,cntaobaoabcdefgggg -cnphpwnd99999@aliyun9419,cntaobaoabcdefgguo -cnphpwnd99999@aliyun9420,cntaobaoabcdefgh -cnphpwnd99999@aliyun9421,cntaobaoabcdefgh-004 -cnphpwnd99999@aliyun9422,cntaobaoabcdefgh118 -cnphpwnd99999@aliyun9423,cntaobaoabcdefgh118501 -cnphpwnd99999@aliyun9424,cntaobaoabcdefgh12 -cnphpwnd99999@aliyun9425,cntaobaoabcdefgh123 -cnphpwnd99999@aliyun9426,cntaobaoabcdefgh1232 -cnphpwnd99999@aliyun9427,cntaobaoabcdefgh123321 -cnphpwnd99999@aliyun9428,cntaobaoabcdefgh1234 -cnphpwnd99999@aliyun9429,cntaobaoabcdefgh12345678 -cnphpwnd99999@aliyun9430,cntaobaoabcdefgh131731 -cnphpwnd99999@aliyun9431,cntaobaoabcdefgh15 -cnphpwnd99999@aliyun9432,cntaobaoabcdefgh2 -cnphpwnd99999@aliyun9433,cntaobaoabcdefgh200588 -cnphpwnd99999@aliyun9434,cntaobaoabcdefgh333 -cnphpwnd99999@aliyun9435,cntaobaoabcdefgh456 -cnphpwnd99999@aliyun9436,cntaobaoabcdefgh4561 -cnphpwnd99999@aliyun9437,cntaobaoabcdefgh51 -cnphpwnd99999@aliyun9438,cntaobaoabcdefgh6375175 -cnphpwnd99999@aliyun9439,cntaobaoabcdefgh777 -cnphpwnd99999@aliyun9440,cntaobaoabcdefgh88188 -cnphpwnd99999@aliyun9441,cntaobaoabcdefgh_2006 -cnphpwnd99999@aliyun9442,cntaobaoabcdefghabcdefgh -cnphpwnd99999@aliyun9443,cntaobaoabcdefghas -cnphpwnd99999@aliyun9444,cntaobaoabcdefghhaier -cnphpwnd99999@aliyun9445,cntaobaoabcdefghi10 -cnphpwnd99999@aliyun9446,cntaobaoabcdefghi12 -cnphpwnd99999@aliyun9447,cntaobaoabcdefghi121031 -cnphpwnd99999@aliyun9448,cntaobaoabcdefghi4549_cn -cnphpwnd99999@aliyun9449,cntaobaoabcdefghi6 -cnphpwnd99999@aliyun9450,cntaobaoabcdefghi99 -cnphpwnd99999@aliyun9451,cntaobaoabcdefghig1 -cnphpwnd99999@aliyun9452,cntaobaoabcdefghig3 -cnphpwnd99999@aliyun9453,cntaobaoabcdefghigk183434 -cnphpwnd99999@aliyun9454,cntaobaoabcdefghigklmn -cnphpwnd99999@aliyun9455,cntaobaoabcdefghij0909 -cnphpwnd99999@aliyun9456,cntaobaoabcdefghijf -cnphpwnd99999@aliyun9457,cntaobaoabcdefghijik -cnphpwnd99999@aliyun9458,cntaobaoabcdefghijj -cnphpwnd99999@aliyun9459,cntaobaoabcdefghijk1 -cnphpwnd99999@aliyun9460,cntaobaoabcdefghijk200588 -cnphpwnd99999@aliyun9461,cntaobaoabcdefghijk200888 -cnphpwnd99999@aliyun9462,cntaobaoabcdefghijk22 -cnphpwnd99999@aliyun9463,cntaobaoabcdefghijk321 -cnphpwnd99999@aliyun9464,cntaobaoabcdefghijk7 -cnphpwnd99999@aliyun9465,cntaobaoabcdefghijk88_2005 -cnphpwnd99999@aliyun9466,cntaobaoabcdefghijk9 -cnphpwnd99999@aliyun9467,cntaobaoabcdefghijki -cnphpwnd99999@aliyun9468,cntaobaoabcdefghijkl88 -cnphpwnd99999@aliyun9469,cntaobaoabcdefghijkl_007 -cnphpwnd99999@aliyun9470,cntaobaoabcdefghijkll35 -cnphpwnd99999@aliyun9471,cntaobaoabcdefghijklm6 -cnphpwnd99999@aliyun9472,cntaobaoabcdefghijklmn12 -cnphpwnd99999@aliyun9473,cntaobaoabcdefghijklmn1314 -cnphpwnd99999@aliyun9474,cntaobaoabcdefghijklmna88 -cnphpwnd99999@aliyun9475,cntaobaoabcdefghijklmnopq789 -cnphpwnd99999@aliyun9476,cntaobaoabcdefghijklmnopqrst -cnphpwnd99999@aliyun9477,cntaobaoabcdefghijklpopo -cnphpwnd99999@aliyun9478,cntaobaoabcdefghim -cnphpwnd99999@aliyun9479,cntaobaoabcdefghio -cnphpwnd99999@aliyun9480,cntaobaoabcdefghip -cnphpwnd99999@aliyun9481,cntaobaoabcdefghit -cnphpwnd99999@aliyun9482,cntaobaoabcdefghj11 -cnphpwnd99999@aliyun9483,cntaobaoabcdefghjk -cnphpwnd99999@aliyun9484,cntaobaoabcdefghjk_007 -cnphpwnd99999@aliyun9485,cntaobaoabcdefghjkil -cnphpwnd99999@aliyun9486,cntaobaoabcdefghjkl -cnphpwnd99999@aliyun9487,cntaobaoabcdefghjz_2008å«å†° -cnphpwnd99999@aliyun9488,cntaobaoabcdefghl -cnphpwnd99999@aliyun9489,cntaobaoabcdefghljkimn -cnphpwnd99999@aliyun9490,cntaobaoabcdefghlm -cnphpwnd99999@aliyun9491,cntaobaoabcdefghp -cnphpwnd99999@aliyun9492,cntaobaoabcdefghufo -cnphpwnd99999@aliyun9493,cntaobaoabcdefghxb -cnphpwnd99999@aliyun9494,cntaobaoabcdefghxyz -cnphpwnd99999@aliyun9495,cntaobaoabcdefghyjklmn88 -cnphpwnd99999@aliyun9496,cntaobaoabcdefgi -cnphpwnd99999@aliyun9497,cntaobaoabcdefgi88 -cnphpwnd99999@aliyun9498,cntaobaoabcdefgijklmn -cnphpwnd99999@aliyun9499,cntaobaoabcdefgjijk -cnphpwnd99999@aliyun9500,cntaobaoabcdefgjl112345 -cnphpwnd99999@aliyun9501,cntaobaoabcdefgk52 -cnphpwnd99999@aliyun9502,cntaobaoabcdefglan -cnphpwnd99999@aliyun9503,cntaobaoabcdefglkjh -cnphpwnd99999@aliyun9504,cntaobaoabcdefglove -cnphpwnd99999@aliyun9505,cntaobaoabcdefgmn -cnphpwnd99999@aliyun9506,cntaobaoabcdefgnm -cnphpwnd99999@aliyun9507,cntaobaoabcdefgq -cnphpwnd99999@aliyun9508,cntaobaoabcdefgq1234567 -cnphpwnd99999@aliyun9509,cntaobaoabcdefgq_tb -cnphpwnd99999@aliyun9510,cntaobaoabcdefgss -cnphpwnd99999@aliyun9511,cntaobaoabcdefgswd -cnphpwnd99999@aliyun9512,cntaobaoabcdefgtc -cnphpwnd99999@aliyun9513,cntaobaoabcdefgwhr -cnphpwnd99999@aliyun9514,cntaobaoabcdefgwjc -cnphpwnd99999@aliyun9515,cntaobaoabcdefgwm -cnphpwnd99999@aliyun9516,cntaobaoabcdefgxx -cnphpwnd99999@aliyun9517,cntaobaoabcdefgy -cnphpwnd99999@aliyun9518,cntaobaoabcdefgying -cnphpwnd99999@aliyun9519,cntaobaoabcdefgyo -cnphpwnd99999@aliyun9520,cntaobaoabcdefgyxb -cnphpwnd99999@aliyun9521,cntaobaoabcdefgz8 -cnphpwnd99999@aliyun9522,cntaobaoabcdefgzcm3651080546518 -cnphpwnd99999@aliyun9523,cntaobaoabcdefgzxq -cnphpwnd99999@aliyun9524,cntaobaoabcdefgzy -cnphpwnd99999@aliyun9525,cntaobaoabcdefh1 -cnphpwnd99999@aliyun9526,cntaobaoabcdefh2005 -cnphpwnd99999@aliyun9527,cntaobaoabcdefht -cnphpwnd99999@aliyun9528,cntaobaoabcdefigo -cnphpwnd99999@aliyun9529,cntaobaoabcdefj -cnphpwnd99999@aliyun9530,cntaobaoabcdefj001 -cnphpwnd99999@aliyun9531,cntaobaoabcdefj09 -cnphpwnd99999@aliyun9532,cntaobaoabcdefj123 -cnphpwnd99999@aliyun9533,cntaobaoabcdefj123456_2005 -cnphpwnd99999@aliyun9534,cntaobaoabcdefj13lian -cnphpwnd99999@aliyun9535,cntaobaoabcdefj5 -cnphpwnd99999@aliyun9536,cntaobaoabcdefj_2005 -cnphpwnd99999@aliyun9537,cntaobaoabcdefjay -cnphpwnd99999@aliyun9538,cntaobaoabcdefjh_xy -cnphpwnd99999@aliyun9539,cntaobaoabcdefjhi123456 -cnphpwnd99999@aliyun9540,cntaobaoabcdefjhijk -cnphpwnd99999@aliyun9541,cntaobaoabcdefjhijkk -cnphpwnd99999@aliyun9542,cntaobaoabcdefjhijklmn -cnphpwnd99999@aliyun9543,cntaobaoabcdefjhijklmn1 -cnphpwnd99999@aliyun9544,cntaobaoabcdefjk88 -cnphpwnd99999@aliyun9545,cntaobaoabcdefjkc -cnphpwnd99999@aliyun9546,cntaobaoabcdeflulu -cnphpwnd99999@aliyun9547,cntaobaoabcdeflzx -cnphpwnd99999@aliyun9548,cntaobaoabcdefmlh -cnphpwnd99999@aliyun9549,cntaobaoabcdefok88 -cnphpwnd99999@aliyun9550,cntaobaoabcdefqm -cnphpwnd99999@aliyun9551,cntaobaoabcdefr -cnphpwnd99999@aliyun9552,cntaobaoabcdefsnoopy -cnphpwnd99999@aliyun9553,cntaobaoabcdefsong -cnphpwnd99999@aliyun9554,cntaobaoabcdefu571 -cnphpwnd99999@aliyun9555,cntaobaoabcdefv6 -cnphpwnd99999@aliyun9556,cntaobaoabcdefwu -cnphpwnd99999@aliyun9557,cntaobaoabcdefx -cnphpwnd99999@aliyun9558,cntaobaoabcdefx1984 -cnphpwnd99999@aliyun9559,cntaobaoabcdefxyz1 -cnphpwnd99999@aliyun9560,cntaobaoabcdefz -cnphpwnd99999@aliyun9561,cntaobaoabcdefz1234567 -cnphpwnd99999@aliyun9562,cntaobaoabcdeg_2005 -cnphpwnd99999@aliyun9563,cntaobaoabcdegf200 -cnphpwnd99999@aliyun9564,cntaobaoabcdegwc -cnphpwnd99999@aliyun9565,cntaobaoabcdeh9898 -cnphpwnd99999@aliyun9566,cntaobaoabcdehappy -cnphpwnd99999@aliyun9567,cntaobaoabcdehhy -cnphpwnd99999@aliyun9568,cntaobaoabcdehijk -cnphpwnd99999@aliyun9569,cntaobaoabcdehj -cnphpwnd99999@aliyun9570,cntaobaoabcdehl -cnphpwnd99999@aliyun9571,cntaobaoabcdeht -cnphpwnd99999@aliyun9572,cntaobaoabcdehty -cnphpwnd99999@aliyun9573,cntaobaoabcdeiwing -cnphpwnd99999@aliyun9574,cntaobaoabcdej -cnphpwnd99999@aliyun9575,cntaobaoabcdejian -cnphpwnd99999@aliyun9576,cntaobaoabcdekk -cnphpwnd99999@aliyun9577,cntaobaoabcdekof -cnphpwnd99999@aliyun9578,cntaobaoabcdelang -cnphpwnd99999@aliyun9579,cntaobaoabcdelele -cnphpwnd99999@aliyun9580,cntaobaoabcdeliuqiang -cnphpwnd99999@aliyun9581,cntaobaoabcdelong -cnphpwnd99999@aliyun9582,cntaobaoabcdelw -cnphpwnd99999@aliyun9583,cntaobaoabcdely -cnphpwnd99999@aliyun9584,cntaobaoabcdely12345 -cnphpwnd99999@aliyun9585,cntaobaoabcden -cnphpwnd99999@aliyun9586,cntaobaoabcdend -cnphpwnd99999@aliyun9587,cntaobaoabcdenew -cnphpwnd99999@aliyun9588,cntaobaoabcdeone -cnphpwnd99999@aliyun9589,cntaobaoabcdepwq -cnphpwnd99999@aliyun9590,cntaobaoabcder -cnphpwnd99999@aliyun9591,cntaobaoabcder2320 -cnphpwnd99999@aliyun9592,cntaobaoabcder6 -cnphpwnd99999@aliyun9593,cntaobaoabcderg123 -cnphpwnd99999@aliyun9594,cntaobaoabcderoger -cnphpwnd99999@aliyun9595,cntaobaoabcdestar -cnphpwnd99999@aliyun9596,cntaobaoabcdett -cnphpwnd99999@aliyun9597,cntaobaoabcdewlwl -cnphpwnd99999@aliyun9598,cntaobaoabcdewn -cnphpwnd99999@aliyun9599,cntaobaoabcdewwww -cnphpwnd99999@aliyun9600,cntaobaoabcdewymh -cnphpwnd99999@aliyun9601,cntaobaoabcdext -cnphpwnd99999@aliyun9602,cntaobaoabcdeyanjun76 -cnphpwnd99999@aliyun9603,cntaobaoabcdeyexin -cnphpwnd99999@aliyun9604,cntaobaoabcdeyniwks1986 -cnphpwnd99999@aliyun9605,cntaobaoabcdezhouyuerude -cnphpwnd99999@aliyun9606,cntaobaoabcde胡柚昌 -cnphpwnd99999@aliyun9607,cntaobaoabcde金瓶 -cnphpwnd99999@aliyun9608,cntaobaoabcdf -cnphpwnd99999@aliyun9609,cntaobaoabcdf130 -cnphpwnd99999@aliyun9610,cntaobaoabcdf13822 -cnphpwnd99999@aliyun9611,cntaobaoabcdf233 -cnphpwnd99999@aliyun9612,cntaobaoabcdf278278 -cnphpwnd99999@aliyun9613,cntaobaoabcdf39867636 -cnphpwnd99999@aliyun9614,cntaobaoabcdf7762 -cnphpwnd99999@aliyun9615,cntaobaoabcdf_tb -cnphpwnd99999@aliyun9616,cntaobaoabcdfans -cnphpwnd99999@aliyun9617,cntaobaoabcdff -cnphpwnd99999@aliyun9618,cntaobaoabcdffr -cnphpwnd99999@aliyun9619,cntaobaoabcdfg1 -cnphpwnd99999@aliyun9620,cntaobaoabcdfg77 -cnphpwnd99999@aliyun9621,cntaobaoabcdfg_2005 -cnphpwnd99999@aliyun9622,cntaobaoabcdfg_tb -cnphpwnd99999@aliyun9623,cntaobaoabcdfggf -cnphpwnd99999@aliyun9624,cntaobaoabcdfgh328 -cnphpwnd99999@aliyun9625,cntaobaoabcdfgoooo -cnphpwnd99999@aliyun9626,cntaobaoabcdg0308 -cnphpwnd99999@aliyun9627,cntaobaoabcdgggg -cnphpwnd99999@aliyun9628,cntaobaoabcdgjl -cnphpwnd99999@aliyun9629,cntaobaoabcdgogo -cnphpwnd99999@aliyun9630,cntaobaoabcdguest -cnphpwnd99999@aliyun9631,cntaobaoabcdh003 -cnphpwnd99999@aliyun9632,cntaobaoabcdhao -cnphpwnd99999@aliyun9633,cntaobaoabcdhh -cnphpwnd99999@aliyun9634,cntaobaoabcdhhhh -cnphpwnd99999@aliyun9635,cntaobaoabcdhijkl -cnphpwnd99999@aliyun9636,cntaobaoabcdhl -cnphpwnd99999@aliyun9637,cntaobaoabcdhsc -cnphpwnd99999@aliyun9638,cntaobaoabcdianguang -cnphpwnd99999@aliyun9639,cntaobaoabcdilng -cnphpwnd99999@aliyun9640,cntaobaoabcdilove -cnphpwnd99999@aliyun9641,cntaobaoabcdiu -cnphpwnd99999@aliyun9642,cntaobaoabcdj -cnphpwnd99999@aliyun9643,cntaobaoabcdjack -cnphpwnd99999@aliyun9644,cntaobaoabcdji900 -cnphpwnd99999@aliyun9645,cntaobaoabcdjiabaobao -cnphpwnd99999@aliyun9646,cntaobaoabcdjin -cnphpwnd99999@aliyun9647,cntaobaoabcdjjj -cnphpwnd99999@aliyun9648,cntaobaoabcdjojo -cnphpwnd99999@aliyun9649,cntaobaoabcdjuan -cnphpwnd99999@aliyun9650,cntaobaoabcdjyh -cnphpwnd99999@aliyun9651,cntaobaoabcdkkk -cnphpwnd99999@aliyun9652,cntaobaoabcdkkk222 -cnphpwnd99999@aliyun9653,cntaobaoabcdkkk888 -cnphpwnd99999@aliyun9654,cntaobaoabcdlb8023 -cnphpwnd99999@aliyun9655,cntaobaoabcdld -cnphpwnd99999@aliyun9656,cntaobaoabcdleeren -cnphpwnd99999@aliyun9657,cntaobaoabcdli2728 -cnphpwnd99999@aliyun9658,cntaobaoabcdlilei -cnphpwnd99999@aliyun9659,cntaobaoabcdlk122 -cnphpwnd99999@aliyun9660,cntaobaoabcdlkj -cnphpwnd99999@aliyun9661,cntaobaoabcdll2005 -cnphpwnd99999@aliyun9662,cntaobaoabcdlly -cnphpwnd99999@aliyun9663,cntaobaoabcdlmk520 -cnphpwnd99999@aliyun9664,cntaobaoabcdlo520 -cnphpwnd99999@aliyun9665,cntaobaoabcdlq -cnphpwnd99999@aliyun9666,cntaobaoabcdlwy -cnphpwnd99999@aliyun9667,cntaobaoabcdlxc123 -cnphpwnd99999@aliyun9668,cntaobaoabcdlxj -cnphpwnd99999@aliyun9669,cntaobaoabcdlxy -cnphpwnd99999@aliyun9670,cntaobaoabcdlynnabcd -cnphpwnd99999@aliyun9671,cntaobaoabcdlyt -cnphpwnd99999@aliyun9672,cntaobaoabcdm54321 -cnphpwnd99999@aliyun9673,cntaobaoabcdmaomao -cnphpwnd99999@aliyun9674,cntaobaoabcdmn111 -cnphpwnd99999@aliyun9675,cntaobaoabcdmpv8 -cnphpwnd99999@aliyun9676,cntaobaoabcdmx -cnphpwnd99999@aliyun9677,cntaobaoabcdn -cnphpwnd99999@aliyun9678,cntaobaoabcdnerv -cnphpwnd99999@aliyun9679,cntaobaoabcdnima -cnphpwnd99999@aliyun9680,cntaobaoabcdnuaa -cnphpwnd99999@aliyun9681,cntaobaoabcdnuaa_nj -cnphpwnd99999@aliyun9682,cntaobaoabcdoe -cnphpwnd99999@aliyun9683,cntaobaoabcdog -cnphpwnd99999@aliyun9684,cntaobaoabcdogabc -cnphpwnd99999@aliyun9685,cntaobaoabcdok123 -cnphpwnd99999@aliyun9686,cntaobaoabcdongjun -cnphpwnd99999@aliyun9687,cntaobaoabcdonna -cnphpwnd99999@aliyun9688,cntaobaoabcdoo -cnphpwnd99999@aliyun9689,cntaobaoabcdoo09 -cnphpwnd99999@aliyun9690,cntaobaoabcdoooo -cnphpwnd99999@aliyun9691,cntaobaoabcdopm -cnphpwnd99999@aliyun9692,cntaobaoabcdopq123 -cnphpwnd99999@aliyun9693,cntaobaoabcdoty -cnphpwnd99999@aliyun9694,cntaobaoabcdp -cnphpwnd99999@aliyun9695,cntaobaoabcdpdp -cnphpwnd99999@aliyun9696,cntaobaoabcdpk -cnphpwnd99999@aliyun9697,cntaobaoabcdpk931 -cnphpwnd99999@aliyun9698,cntaobaoabcdpoy -cnphpwnd99999@aliyun9699,cntaobaoabcdpxy -cnphpwnd99999@aliyun9700,cntaobaoabcdpyj -cnphpwnd99999@aliyun9701,cntaobaoabcdqq123456789qq -cnphpwnd99999@aliyun9702,cntaobaoabcdqt -cnphpwnd99999@aliyun9703,cntaobaoabcdqwer -cnphpwnd99999@aliyun9704,cntaobaoabcdrfg -cnphpwnd99999@aliyun9705,cntaobaoabcdrl -cnphpwnd99999@aliyun9706,cntaobaoabcds -cnphpwnd99999@aliyun9707,cntaobaoabcds009 -cnphpwnd99999@aliyun9708,cntaobaoabcds8 -cnphpwnd99999@aliyun9709,cntaobaoabcdsegaa -cnphpwnd99999@aliyun9710,cntaobaoabcdsert -cnphpwnd99999@aliyun9711,cntaobaoabcdsetup -cnphpwnd99999@aliyun9712,cntaobaoabcdsf_2005 -cnphpwnd99999@aliyun9713,cntaobaoabcdsh -cnphpwnd99999@aliyun9714,cntaobaoabcdshock -cnphpwnd99999@aliyun9715,cntaobaoabcdshoot -cnphpwnd99999@aliyun9716,cntaobaoabcdsj199426 -cnphpwnd99999@aliyun9717,cntaobaoabcdsof -cnphpwnd99999@aliyun9718,cntaobaoabcdsof2000 -cnphpwnd99999@aliyun9719,cntaobaoabcdsof7688 -cnphpwnd99999@aliyun9720,cntaobaoabcdss -cnphpwnd99999@aliyun9721,cntaobaoabcdt131425 -cnphpwnd99999@aliyun9722,cntaobaoabcdtalk -cnphpwnd99999@aliyun9723,cntaobaoabcdtest -cnphpwnd99999@aliyun9724,cntaobaoabcdtfg -cnphpwnd99999@aliyun9725,cntaobaoabcdth2006 -cnphpwnd99999@aliyun9726,cntaobaoabcdthank -cnphpwnd99999@aliyun9727,cntaobaoabcdting -cnphpwnd99999@aliyun9728,cntaobaoabcdtom111 -cnphpwnd99999@aliyun9729,cntaobaoabcdtwins -cnphpwnd99999@aliyun9730,cntaobaoabcdtxyz -cnphpwnd99999@aliyun9731,cntaobaoabcdtyz000 -cnphpwnd99999@aliyun9732,cntaobaoabcdu -cnphpwnd99999@aliyun9733,cntaobaoabcduc123 -cnphpwnd99999@aliyun9734,cntaobaoabcdv2003 -cnphpwnd99999@aliyun9735,cntaobaoabcdv2555 -cnphpwnd99999@aliyun9736,cntaobaoabcdv2666 -cnphpwnd99999@aliyun9737,cntaobaoabcdv888 -cnphpwnd99999@aliyun9738,cntaobaoabcdvera -cnphpwnd99999@aliyun9739,cntaobaoabcdvking -cnphpwnd99999@aliyun9740,cntaobaoabcdvtok -cnphpwnd99999@aliyun9741,cntaobaoabcdvya -cnphpwnd99999@aliyun9742,cntaobaoabcdwc88 -cnphpwnd99999@aliyun9743,cntaobaoabcdwing -cnphpwnd99999@aliyun9744,cntaobaoabcdwjx -cnphpwnd99999@aliyun9745,cntaobaoabcdwml -cnphpwnd99999@aliyun9746,cntaobaoabcdwoailixia -cnphpwnd99999@aliyun9747,cntaobaoabcdworldton -cnphpwnd99999@aliyun9748,cntaobaoabcdwoshishei -cnphpwnd99999@aliyun9749,cntaobaoabcdwsm001 -cnphpwnd99999@aliyun9750,cntaobaoabcdwto -cnphpwnd99999@aliyun9751,cntaobaoabcdwtsnm -cnphpwnd99999@aliyun9752,cntaobaoabcdwxc -cnphpwnd99999@aliyun9753,cntaobaoabcdwxl -cnphpwnd99999@aliyun9754,cntaobaoabcdwxwx -cnphpwnd99999@aliyun9755,cntaobaoabcdwz -cnphpwnd99999@aliyun9756,cntaobaoabcdxd -cnphpwnd99999@aliyun9757,cntaobaoabcdxf -cnphpwnd99999@aliyun9758,cntaobaoabcdxfb -cnphpwnd99999@aliyun9759,cntaobaoabcdxfg -cnphpwnd99999@aliyun9760,cntaobaoabcdxin -cnphpwnd99999@aliyun9761,cntaobaoabcdxj -cnphpwnd99999@aliyun9762,cntaobaoabcdxw -cnphpwnd99999@aliyun9763,cntaobaoabcdxy -cnphpwnd99999@aliyun9764,cntaobaoabcdxy007 -cnphpwnd99999@aliyun9765,cntaobaoabcdxy1230 -cnphpwnd99999@aliyun9766,cntaobaoabcdxyz01 -cnphpwnd99999@aliyun9767,cntaobaoabcdxyz2004 -cnphpwnd99999@aliyun9768,cntaobaoabcdxyz321 -cnphpwnd99999@aliyun9769,cntaobaoabcdxyz_1994 -cnphpwnd99999@aliyun9770,cntaobaoabcdy -cnphpwnd99999@aliyun9771,cntaobaoabcdy-198102 -cnphpwnd99999@aliyun9772,cntaobaoabcdyancheng -cnphpwnd99999@aliyun9773,cntaobaoabcdyang -cnphpwnd99999@aliyun9774,cntaobaoabcdyangyang000999 -cnphpwnd99999@aliyun9775,cntaobaoabcdyby130 -cnphpwnd99999@aliyun9776,cntaobaoabcdyf -cnphpwnd99999@aliyun9777,cntaobaoabcdyf123456 -cnphpwnd99999@aliyun9778,cntaobaoabcdyhl -cnphpwnd99999@aliyun9779,cntaobaoabcdyjh -cnphpwnd99999@aliyun9780,cntaobaoabcdyjh123 -cnphpwnd99999@aliyun9781,cntaobaoabcdytu -cnphpwnd99999@aliyun9782,cntaobaoabcdyxzx -cnphpwnd99999@aliyun9783,cntaobaoabcdyyd -cnphpwnd99999@aliyun9784,cntaobaoabcdyyf -cnphpwnd99999@aliyun9785,cntaobaoabcdyz2000 -cnphpwnd99999@aliyun9786,cntaobaoabcdz -cnphpwnd99999@aliyun9787,cntaobaoabcdz000 -cnphpwnd99999@aliyun9788,cntaobaoabcdz09876 -cnphpwnd99999@aliyun9789,cntaobaoabcdz12345 -cnphpwnd99999@aliyun9790,cntaobaoabcdzaq -cnphpwnd99999@aliyun9791,cntaobaoabcdzhao -cnphpwnd99999@aliyun9792,cntaobaoabcdzhaohui -cnphpwnd99999@aliyun9793,cntaobaoabcdzjz -cnphpwnd99999@aliyun9794,cntaobaoabcdzk -cnphpwnd99999@aliyun9795,cntaobaoabcdzkw -cnphpwnd99999@aliyun9796,cntaobaoabcdzt -cnphpwnd99999@aliyun9797,cntaobaoabcdzyz_2005 -cnphpwnd99999@aliyun9798,cntaobaoabcdzzs -cnphpwnd99999@aliyun9799,cntaobaoabcdzzz000 -cnphpwnd99999@aliyun9800,cntaobaoabcdzzz001 -cnphpwnd99999@aliyun9801,cntaobaoabcdzzz3 -cnphpwnd99999@aliyun9802,cntaobaoabcd晕晕 -cnphpwnd99999@aliyun9803,cntaobaoabce163 -cnphpwnd99999@aliyun9804,cntaobaoabce180 -cnphpwnd99999@aliyun9805,cntaobaoabce20599 -cnphpwnd99999@aliyun9806,cntaobaoabce530 -cnphpwnd99999@aliyun9807,cntaobaoabce_1019 -cnphpwnd99999@aliyun9808,cntaobaoabceabce88 -cnphpwnd99999@aliyun9809,cntaobaoabceasy1 -cnphpwnd99999@aliyun9810,cntaobaoabcebuy -cnphpwnd99999@aliyun9811,cntaobaoabcedc -cnphpwnd99999@aliyun9812,cntaobaoabcedf333 -cnphpwnd99999@aliyun9813,cntaobaoabcedfg1122 -cnphpwnd99999@aliyun9814,cntaobaoabcedfghi -cnphpwnd99999@aliyun9815,cntaobaoabcedfgvin -cnphpwnd99999@aliyun9816,cntaobaoabcedfhe -cnphpwnd99999@aliyun9817,cntaobaoabcee -cnphpwnd99999@aliyun9818,cntaobaoabceecd -cnphpwnd99999@aliyun9819,cntaobaoabceefg -cnphpwnd99999@aliyun9820,cntaobaoabcef007 -cnphpwnd99999@aliyun9821,cntaobaoabcef5490042 -cnphpwnd99999@aliyun9822,cntaobaoabcefdj -cnphpwnd99999@aliyun9823,cntaobaoabcei -cnphpwnd99999@aliyun9824,cntaobaoabcemw21 -cnphpwnd99999@aliyun9825,cntaobaoabcencewu -cnphpwnd99999@aliyun9826,cntaobaoabceng -cnphpwnd99999@aliyun9827,cntaobaoabceov -cnphpwnd99999@aliyun9828,cntaobaoabcess -cnphpwnd99999@aliyun9829,cntaobaoabcever -cnphpwnd99999@aliyun9830,cntaobaoabcevonne -cnphpwnd99999@aliyun9831,cntaobaoabcexc -cnphpwnd99999@aliyun9832,cntaobaoabcf -cnphpwnd99999@aliyun9833,cntaobaoabcf88 -cnphpwnd99999@aliyun9834,cntaobaoabcfad -cnphpwnd99999@aliyun9835,cntaobaoabcfaj123 -cnphpwnd99999@aliyun9836,cntaobaoabcfan -cnphpwnd99999@aliyun9837,cntaobaoabcfang -cnphpwnd99999@aliyun9838,cntaobaoabcfanyy -cnphpwnd99999@aliyun9839,cntaobaoabcfcq -cnphpwnd99999@aliyun9840,cntaobaoabcfeeling -cnphpwnd99999@aliyun9841,cntaobaoabcfei123456 -cnphpwnd99999@aliyun9842,cntaobaoabcfeifei520 -cnphpwnd99999@aliyun9843,cntaobaoabcfeixing -cnphpwnd99999@aliyun9844,cntaobaoabcfeiying -cnphpwnd99999@aliyun9845,cntaobaoabcfenchun -cnphpwnd99999@aliyun9846,cntaobaoabcferry -cnphpwnd99999@aliyun9847,cntaobaoabcfg -cnphpwnd99999@aliyun9848,cntaobaoabcfgxyz -cnphpwnd99999@aliyun9849,cntaobaoabcfiner -cnphpwnd99999@aliyun9850,cntaobaoabcfisher1 -cnphpwnd99999@aliyun9851,cntaobaoabcflora -cnphpwnd99999@aliyun9852,cntaobaoabcfly2099 -cnphpwnd99999@aliyun9853,cntaobaoabcfon -cnphpwnd99999@aliyun9854,cntaobaoabcfr -cnphpwnd99999@aliyun9855,cntaobaoabcfwm -cnphpwnd99999@aliyun9856,cntaobaoabcfxzy -cnphpwnd99999@aliyun9857,cntaobaoabcfyh -cnphpwnd99999@aliyun9858,cntaobaoabcfzh888 -cnphpwnd99999@aliyun9859,cntaobaoabcg7mg -cnphpwnd99999@aliyun9860,cntaobaoabcg9716 -cnphpwnd99999@aliyun9861,cntaobaoabcg_12345 -cnphpwnd99999@aliyun9862,cntaobaoabcgang -cnphpwnd99999@aliyun9863,cntaobaoabcgaohuaabc -cnphpwnd99999@aliyun9864,cntaobaoabcgay -cnphpwnd99999@aliyun9865,cntaobaoabcgc000 -cnphpwnd99999@aliyun9866,cntaobaoabcgdsew -cnphpwnd99999@aliyun9867,cntaobaoabcgegeda -cnphpwnd99999@aliyun9868,cntaobaoabcgg -cnphpwnd99999@aliyun9869,cntaobaoabcggp -cnphpwnd99999@aliyun9870,cntaobaoabcgh123 -cnphpwnd99999@aliyun9871,cntaobaoabcghj -cnphpwnd99999@aliyun9872,cntaobaoabcgiles -cnphpwnd99999@aliyun9873,cntaobaoabcgill -cnphpwnd99999@aliyun9874,cntaobaoabcgirl1 -cnphpwnd99999@aliyun9875,cntaobaoabcgirl1982 -cnphpwnd99999@aliyun9876,cntaobaoabcgirl32 -cnphpwnd99999@aliyun9877,cntaobaoabcgl -cnphpwnd99999@aliyun9878,cntaobaoabcgl_cn1 -cnphpwnd99999@aliyun9879,cntaobaoabcgl_tb -cnphpwnd99999@aliyun9880,cntaobaoabcgm -cnphpwnd99999@aliyun9881,cntaobaoabcgo -cnphpwnd99999@aliyun9882,cntaobaoabcgq -cnphpwnd99999@aliyun9883,cntaobaoabcgty -cnphpwnd99999@aliyun9884,cntaobaoabcguodong -cnphpwnd99999@aliyun9885,cntaobaoabcguoyuan2 -cnphpwnd99999@aliyun9886,cntaobaoabcguyan -cnphpwnd99999@aliyun9887,cntaobaoabcguyaqing -cnphpwnd99999@aliyun9888,cntaobaoabcguyuan3 -cnphpwnd99999@aliyun9889,cntaobaoabcgwei -cnphpwnd99999@aliyun9890,cntaobaoabcgwh2001 -cnphpwnd99999@aliyun9891,cntaobaoabcgxby -cnphpwnd99999@aliyun9892,cntaobaoabcgyc458 -cnphpwnd99999@aliyun9893,cntaobaoabcgyh -cnphpwnd99999@aliyun9894,cntaobaoabcgyh88 -cnphpwnd99999@aliyun9895,cntaobaoabcgzwg -cnphpwnd99999@aliyun9896,cntaobaoabch123 -cnphpwnd99999@aliyun9897,cntaobaoabch175b -cnphpwnd99999@aliyun9898,cntaobaoabchai -cnphpwnd99999@aliyun9899,cntaobaoabchaitaoyin -cnphpwnd99999@aliyun9900,cntaobaoabchanziabc -cnphpwnd99999@aliyun9901,cntaobaoabchaodl -cnphpwnd99999@aliyun9902,cntaobaoabchappy -cnphpwnd99999@aliyun9903,cntaobaoabchappy_0 -cnphpwnd99999@aliyun9904,cntaobaoabchappys -cnphpwnd99999@aliyun9905,cntaobaoabcharen -cnphpwnd99999@aliyun9906,cntaobaoabchas -cnphpwnd99999@aliyun9907,cntaobaoabchcy -cnphpwnd99999@aliyun9908,cntaobaoabche1 -cnphpwnd99999@aliyun9909,cntaobaoabchecheng123 -cnphpwnd99999@aliyun9910,cntaobaoabcheima -cnphpwnd99999@aliyun9911,cntaobaoabchen -cnphpwnd99999@aliyun9912,cntaobaoabchen2001 -cnphpwnd99999@aliyun9913,cntaobaoabcheng_2005 -cnphpwnd99999@aliyun9914,cntaobaoabchengxue -cnphpwnd99999@aliyun9915,cntaobaoabchenjin0 -cnphpwnd99999@aliyun9916,cntaobaoabchero88 -cnphpwnd99999@aliyun9917,cntaobaoabcheyong -cnphpwnd99999@aliyun9918,cntaobaoabchhh1 -cnphpwnd99999@aliyun9919,cntaobaoabchhhooo -cnphpwnd99999@aliyun9920,cntaobaoabchhk -cnphpwnd99999@aliyun9921,cntaobaoabchhl001 -cnphpwnd99999@aliyun9922,cntaobaoabchhy -cnphpwnd99999@aliyun9923,cntaobaoabchina -cnphpwnd99999@aliyun9924,cntaobaoabchina_jgs -cnphpwnd99999@aliyun9925,cntaobaoabchinaliu -cnphpwnd99999@aliyun9926,cntaobaoabchinax -cnphpwnd99999@aliyun9927,cntaobaoabchjk -cnphpwnd99999@aliyun9928,cntaobaoabchl -cnphpwnd99999@aliyun9929,cntaobaoabchl229 -cnphpwnd99999@aliyun9930,cntaobaoabchlb -cnphpwnd99999@aliyun9931,cntaobaoabchluss -cnphpwnd99999@aliyun9932,cntaobaoabchnec -cnphpwnd99999@aliyun9933,cntaobaoabcholly88 -cnphpwnd99999@aliyun9934,cntaobaoabchonp -cnphpwnd99999@aliyun9935,cntaobaoabchope -cnphpwnd99999@aliyun9936,cntaobaoabchot -cnphpwnd99999@aliyun9937,cntaobaoabchppydl123 -cnphpwnd99999@aliyun9938,cntaobaoabchppydl123ww -cnphpwnd99999@aliyun9939,cntaobaoabchsunmin -cnphpwnd99999@aliyun9940,cntaobaoabchsy1 -cnphpwnd99999@aliyun9941,cntaobaoabcht -cnphpwnd99999@aliyun9942,cntaobaoabcht123 -cnphpwnd99999@aliyun9943,cntaobaoabchuchu -cnphpwnd99999@aliyun9944,cntaobaoabchuchu88 -cnphpwnd99999@aliyun9945,cntaobaoabchui -cnphpwnd99999@aliyun9946,cntaobaoabchuman -cnphpwnd99999@aliyun9947,cntaobaoabchuminmin -cnphpwnd99999@aliyun9948,cntaobaoabchuyan000 -cnphpwnd99999@aliyun9949,cntaobaoabchwj -cnphpwnd99999@aliyun9950,cntaobaoabchxxmn -cnphpwnd99999@aliyun9951,cntaobaoabchyfy -cnphpwnd99999@aliyun9952,cntaobaoabchyk -cnphpwnd99999@aliyun9953,cntaobaoabchyz333 -cnphpwnd99999@aliyun9954,cntaobaoabchyz888 -cnphpwnd99999@aliyun9955,cntaobaoabchz -cnphpwnd99999@aliyun9956,cntaobaoabci109 -cnphpwnd99999@aliyun9957,cntaobaoabci_oo -cnphpwnd99999@aliyun9958,cntaobaoabciaal123 -cnphpwnd99999@aliyun9959,cntaobaoabciamveryhappy -cnphpwnd99999@aliyun9960,cntaobaoabcici -cnphpwnd99999@aliyun9961,cntaobaoabcici1 -cnphpwnd99999@aliyun9962,cntaobaoabcide -cnphpwnd99999@aliyun9963,cntaobaoabcielo -cnphpwnd99999@aliyun9964,cntaobaoabcihc1 -cnphpwnd99999@aliyun9965,cntaobaoabcine -cnphpwnd99999@aliyun9966,cntaobaoabcino -cnphpwnd99999@aliyun9967,cntaobaoabcip1 -cnphpwnd99999@aliyun9968,cntaobaoabcisxyz -cnphpwnd99999@aliyun9969,cntaobaoabcivy123 -cnphpwnd99999@aliyun9970,cntaobaoabcivyliu -cnphpwnd99999@aliyun9971,cntaobaoabcj8848 -cnphpwnd99999@aliyun9972,cntaobaoabcj88481 -cnphpwnd99999@aliyun9973,cntaobaoabcj9s9tg00t2h7hv -cnphpwnd99999@aliyun9974,cntaobaoabcjack206 -cnphpwnd99999@aliyun9975,cntaobaoabcjackyt -cnphpwnd99999@aliyun9976,cntaobaoabcjake1 -cnphpwnd99999@aliyun9977,cntaobaoabcjaw -cnphpwnd99999@aliyun9978,cntaobaoabcjc -cnphpwnd99999@aliyun9979,cntaobaoabcjc110 -cnphpwnd99999@aliyun9980,cntaobaoabcjdk -cnphpwnd99999@aliyun9981,cntaobaoabcjdx123 -cnphpwnd99999@aliyun9982,cntaobaoabcjf -cnphpwnd99999@aliyun9983,cntaobaoabcji_li -cnphpwnd99999@aliyun9984,cntaobaoabcjiade -cnphpwnd99999@aliyun9985,cntaobaoabcjiangle -cnphpwnd99999@aliyun9986,cntaobaoabcjib -cnphpwnd99999@aliyun9987,cntaobaoabcjiejie -cnphpwnd99999@aliyun9988,cntaobaoabcjin520 -cnphpwnd99999@aliyun9989,cntaobaoabcjin88 -cnphpwnd99999@aliyun9990,cntaobaoabcjing -cnphpwnd99999@aliyun9991,cntaobaoabcjingcha -cnphpwnd99999@aliyun9992,cntaobaoabcjingjing -cnphpwnd99999@aliyun9993,cntaobaoabcjinning -cnphpwnd99999@aliyun9994,cntaobaoabcjj -cnphpwnd99999@aliyun9995,cntaobaoabcjj_2005 -cnphpwnd99999@aliyun9996,cntaobaoabcjja -cnphpwnd99999@aliyun9997,cntaobaoabcjjm -cnphpwnd99999@aliyun9998,cntaobaoabcjll -cnphpwnd99999@aliyun9999,cntaobaoabcjm diff --git a/features/aliww/data/cnalichn.csv b/features/aliww/data/cnalichn.csv deleted file mode 100644 index 105bd2d..0000000 --- a/features/aliww/data/cnalichn.csv +++ /dev/null @@ -1,2896 +0,0 @@ -cnalichn00120,1111112 -cnalichnolay4925,1111112 -cnalichnjknongye,1111112 -cnalichnaudousliu,1111112 -cnalichn8868478690,1111112 -cnalichnxzclc,1111112 -cnalichnkathy197961,1111112 -cnalichnszqihai,1111112 -cnalichnjuqiangtools,1111112 -cnalichnhengsheng701,1111112 -cnalichna7705347,1111112 -cnalichnjuanso,1111112 -cnalichnxwbll2004,1111112 -cnalichnchenlejia,1111112 -cnalichnxxf88198,1111112 -cnalichnzhucanfeng,1111112 -cnalichnfltech,1111112 -cnalichnedisonnet,1111112 -cnalichnmimo184,1111112 -cnalichndkchem,1111112 -cnalichnliangnb,1111112 -cnalichnhimageryan,1111112 -cnalichnhuhuimin,1111112 -cnalichnbjs134,1111112 -cnalichnngaikao,1111112 -cnalichnchinawares,1111112 -cnalichnjiason,1111112 -cnalichntyter,1111112 -cnalichnhhq1978,1111112 -cnalichnyyzbj,1111112 -cnalichnxintianyou,1111112 -cnalichncdscqh,1111112 -cnalichngzeptm,1111112 -cnalichnjsia,1111112 -cnalichnkmin973,1111112 -cnalichnlunie,1111112 -cnalichncnmnd,1111112 -cnalichnsmscol,1111112 -cnalichndavyisatech,1111112 -cnalichnklhw,1111112 -cnalichntanyiran01,1111112 -cnalichnqgmcsp,1111112 -cnalichnaliuser422,1111112 -cnalichnaliuser857,1111112 -cnalichntestyun01,1111112 -cnalichnaliuser1444,1111112 -cnalichnaliuser1121,1111112 -cnalichnaliuser845,1111112 -cnalichnaliuser841,1111112 -cnalichnaliuser170,1111112 -cnalichnaliuser935,1111112 -cnalichnfengfffy,1111112 -cnalichnchampionxuec,1111112 -cnalichnlucylly,1111112 -cnalichnxlgzh,1111112 -cnalichnwellway,1111112 -cnalichnmtct,1111112 -cnalichnlj113,1111112 -cnalichngxzh,1111112 -cnalichnsinboxie,1111112 -cnalichnankara7399,1111112 -cnalichnfss3,1111112 -cnalichnsyngeo,1111112 -cnalichnzxm9920,1111112 -cnalichnaxyj006,1111112 -cnalichnchrisx,1111112 -cnalichnnbfat,1111112 -cnalichnhyzy2003,1111112 -cnalichnliangguiying,1111112 -cnalichnruixiang518,1111112 -cnalichn123yuanhua,1111112 -cnalichnchaobo,1111112 -cnalichnpumeng,1111112 -cnalichnaliuser28,1111112 -cnalichnaliuser1276,1111112 -cnalichnaliuser1445,1111112 -cnalichnaliuser854,1111112 -cnalichnaliuser738,1111112 -cnalichnaliuser1094,1111112 -cnalichnaliuser1125,1111112 -cnalichnaliuser1448,1111112 -cnalichnaliuser1002,1111112 -cnalichnaliuser1235,1111112 -cnalichnaliuser1127,1111112 -cnalichnaliuser91,1111112 -cnalichnaliuser13,1111112 -cnalichnaliuser562,1111112 -cnalichnaliuser988,1111112 -cnalichnaliuser308,1111112 -cnalichnaliuser1116,1111112 -cnalichnaliuser1133,1111112 -cnalichnaliuser821,1111112 -cnalichnaliuser1080,1111112 -cnalichnyjcjk,1111112 -cnalichnsylvy,1111112 -cnalichnyouraledchew,1111112 -cnalichnyhqj,1111112 -cnalichnhzhuaan,1111112 -cnalichndct,1111112 -cnalichnzjwglg,1111112 -cnalichnshenggangshenggang,1111112 -cnalichnluoen,1111112 -cnalichnoliverlee66,1111112 -cnalichnsoxi9999,1111112 -cnalichn1370329,1111112 -cnalichn13307319078,1111112 -cnalichnqiuxiacx,1111112 -cnalichntoiking,1111112 -cnalichnrichway,1111112 -cnalichnyjje130,1111112 -cnalichnyhgtjxc,1111112 -cnalichnnaiba00,1111112 -cnalichnsyinfo,1111112 -cnalichnvtcshyu,1111112 -cnalichnbinbai,1111112 -cnalichncsash1,1111112 -cnalichnnooyo,1111112 -cnalichn2501,1111112 -cnalichnjuliasun,1111112 -cnalichnyyjql,1111112 -cnalichnkrick,1111112 -cnalichnmikezhangcn,1111112 -cnalichnfamingkuangren,1111112 -cnalichnlooove,1111112 -cnalichnbingo2003,1111112 -cnalichnnhnfnf,1111112 -cnalichnsusansg,1111112 -cnalichnsunnybattery,1111112 -cnalichnhanv,1111112 -cnalichnselong,1111112 -cnalichnyangpai777,1111112 -cnalichnatcp,1111112 -cnalichnhsddqgs,1111112 -cnalichngjlsimon,1111112 -cnalichnholinktj,1111112 -cnalichnccee,1111112 -cnalichnliangjh168,1111112 -cnalichnhstco,1111112 -cnalichnsxml,1111112 -cnalichndigao,1111112 -cnalichnku2592,1111112 -cnalichnzzdzy,1111112 -cnalichncbh666,1111112 -cnalichnwrinc,1111112 -cnalichnwhtianchi,1111112 -cnalichngemli,1111112 -cnalichnxiaobingt,1111112 -cnalichnwintonfeng,1111112 -cnalichnathena2002,1111112 -cnalichnhll61,1111112 -cnalichntititui,1111112 -cnalichnmotorola0607,1111112 -cnalichnmawey,1111112 -cnalichnwedoit2000,1111112 -cnalichnyanyaqui,1111112 -cnalichnwangzc0168,1111112 -cnalichnxiangmao2002,1111112 -cnalichnselenachen12,1111112 -cnalichnhswjming,1111112 -cnalichnssnngx,1111112 -cnalichnfengqihw,1111112 -cnalichnyqxiang,1111112 -cnalichngaden,1111112 -cnalichnabcdb,1111112 -cnalichnqmike001,1111112 -cnalichnzyldk,1111112 -cnalichnsichaowei,1111112 -cnalichnshuanglong3761673,1111112 -cnalichnxlzp,1111112 -cnalichnhulele,1111112 -cnalichnzzcraft,1111112 -cnalichnchobai,1111112 -cnalichnvivylu,1111112 -cnalichnfulei,1111112 -cnalichnwang518,1111112 -cnalichnlwmei,1111112 -cnalichnyangzhoushi,1111112 -cnalichngengyj999,1111112 -cnalichn007hyj,1111112 -cnalichnchenzhibin,1111112 -cnalichnyinjiaxin,1111112 -cnalichnszlzdz,1111112 -cnalichnqibcf,1111112 -cnalichnyhm2008,1111112 -cnalichnevanalu,1111112 -cnalichnsuenhk,1111112 -cnalichnaygh,1111112 -cnalichnjiangyunhu,1111112 -cnalichnyoungsuper,1111112 -cnalichnbellsky,1111112 -cnalichns678,1111112 -cnalichnzhaozaijia,1111112 -cnalichn66888866,1111112 -cnalichnminle66,1111112 -cnalichnaliuser202,1111112 -cnalichnjztaihe,1111112 -cnalichnbjrock,1111112 -cnalichnjzfada,1111112 -cnalichnhuaxinelectric,1111112 -cnalichncndg,1111112 -cnalichnzrt2008,1111112 -cnalichnkilleds,1111112 -cnalichnwsnbaba,1111112 -cnalichnasjc,1111112 -cnalichnwwqs,1111112 -cnalichnmingchun,1111112 -cnalichncad97,1111112 -cnalichnchpeiqi,1111112 -cnalichnxtjk,1111112 -cnalichnlapon,1111112 -cnalichndcei,1111112 -cnalichncsxtp,1111112 -cnalichnyzbt111,1111112 -cnalichnchoi96,1111112 -cnalichnqzhh2003,1111112 -cnalichnlessbao,1111112 -cnalichnzg2100,1111112 -cnalichnsym21,1111112 -cnalichnjunda1,1111112 -cnalichnbljn,1111112 -cnalichnyuenfungshing,1111112 -cnalichnchinaboy007,1111112 -cnalichn3388shen,1111112 -cnalichnhuairong,1111112 -cnalichnaliuser624,1111112 -cnalichnksdnksdn,1111112 -cnalichnlumber,1111112 -cnalichnyywf,1111112 -cnalichngapfood,1111112 -cnalichnclgssjg,1111112 -cnalichnsqhbf,1111112 -cnalichnhhlaaa,1111112 -cnalichnmrm888,1111112 -cnalichnhuaye2003,1111112 -cnalichnybmfgs,1111112 -cnalichnqingdaoyangguang2008,1111112 -cnalichnlikolee,1111112 -cnalichnxiangjiaming,1111112 -cnalichnchinastick,1111112 -cnalichnhuihai,1111112 -cnalichnsanleaf,1111112 -cnalichnhero66,1111112 -cnalichndaii,1111112 -cnalichntongwen0208,1111112 -cnalichngantech,1111112 -cnalichntopways,1111112 -cnalichnjapannakata,1111112 -cnalichnxubin620111,1111112 -cnalichnjy6688,1111112 -cnalichnhaohaipaperwang,1111112 -cnalichnlizhonghaimian,1111112 -cnalichnwuypn,1111112 -cnalichnzzmwin,1111112 -cnalichnxxth,1111112 -cnalichnzlida,1111112 -cnalichn123xjjl,1111112 -cnalichngell,1111112 -cnalichnyouzhong,1111112 -cnalichnsxlri,1111112 -cnalichngreenlite,1111112 -cnalichnccnzc,1111112 -cnalichnyp66,1111112 -cnalichnsallywangyt,1111112 -cnalichnfrank80,1111112 -cnalichnasddfghjkl123,1111112 -cnalichnjinyunhang,1111112 -cnalichnwzliu123,1111112 -cnalichnsfwj,1111112 -cnalichnwhy001,1111112 -cnalichnwanglin,1111112 -cnalichn999abc,1111112 -cnalichn0419hgj,1111112 -cnalichnnjqy,1111112 -cnalichnshanghaiyangchuang,1111112 -cnalichnaliuser1453,1111112 -cnalichnashes,1111112 -cnalichnkkong2000,1111112 -cnalichnalitalk,1111112 -cnalichnaliuser1166,1111112 -cnalichnjason,1111112 -cnalichnxboe,1111112 -cnalichnwwww522,1111112 -cnalichnkansion,1111112 -cnalichnnewever,1111112 -cnalichnmjw770611,1111112 -cnalichnwhd6789,1111112 -cnalichnwzmyx,1111112 -cnalichn3tech,1111112 -cnalichnfame1,1111112 -cnalichnsz99and1,1111112 -cnalichn00558800,1111112 -cnalichnxxxxxx88888888,1111112 -cnalichnyyyzs,1111112 -cnalichnaawwee,1111112 -cnalichnjennymao22,1111112 -cnalichnshengxiang888,1111112 -cnalichnddxx,1111112 -cnalichnwebname2003,1111112 -cnalichntdec,1111112 -cnalichnyingzida,1111112 -cnalichnlms02,1111112 -cnalichnvent88,1111112 -cnalichnxiqiwen,1111112 -cnalichnrdzx,1111112 -cnalichnjxandy,1111112 -cnalichnchupwo,1111112 -cnalichnunionstar,1111112 -cnalichnlgshw,1111112 -cnalichnzhxzh,1111112 -cnalichnzsdfzdfzx,1111112 -cnalichnshrrc,1111112 -cnalichnwxtgc,1111112 -cnalichnwaye,1111112 -cnalichnhchdp,1111112 -cnalichnudikiller,1111112 -cnalichnyangsean,1111112 -cnalichnhd16888,1111112 -cnalichnwdlgq,1111112 -cnalichngx1024,1111112 -cnalichnanuo1216,1111112 -cnalichngamst,1111112 -cnalichnuuchz,1111112 -cnalichnandrewsyb,1111112 -cnalichneastklp,1111112 -cnalichnguijin168,1111112 -cnalichnzhenlopo,1111112 -cnalichnyjjihc,1111112 -cnalichnqiuhe88,1111112 -cnalichnq7421,1111112 -cnalichnjyptx,1111112 -cnalichnsongshucan,1111112 -cnalichnliuyuantree,1111112 -cnalichnbsnewman,1111112 -cnalichnstarfang1234,1111112 -cnalichndahai511,1111112 -cnalichnaboveall,1111112 -cnalichnlinglingxiao,1111112 -cnalichnhongda120,1111112 -cnalichnfangsir,1111112 -cnalichnwxnakano,1111112 -cnalichncanshine,1111112 -cnalichnyingying2088,1111112 -cnalichnwzcaiping,1111112 -cnalichnlykk0123,1111112 -cnalichnmaoliwei,1111112 -cnalichnweptson,1111112 -cnalichnpracton,1111112 -cnalichnllczxy,1111112 -cnalichnzsqt2003,1111112 -cnalichntaylor1972,1111112 -cnalichngiantwaychina,1111112 -cnalichnacent,1111112 -cnalichnzaxin,1111112 -cnalichniamchenming,1111112 -cnalichncpxgz,1111112 -cnalichnjmdeng,1111112 -cnalichnryfs,1111112 -cnalichnwtx3500,1111112 -cnalichnbensonshen,1111112 -cnalichnouyada123,1111112 -cnalichnjdkqg,1111112 -cnalichnxingdaxm,1111112 -cnalichnkaichengpaper,1111112 -cnalichncnshijiao,1111112 -cnalichnzcs688,1111112 -cnalichnfrank_yu,1111112 -cnalichnreddlf,1111112 -cnalichnabc001,1111112 -cnalichn007mm700,1111112 -cnalichnhellohb,1111112 -cnalichnlhlt,1111112 -cnalichn000999,1111112 -cnalichnfuxlogytz,1111112 -cnalichnshbioc,1111112 -cnalichndingyuhang,1111112 -cnalichn1928yz86,1111112 -cnalichnsteel,1111112 -cnalichn007jessicawu,1111112 -cnalichn00012,1111112 -cnalichnwingoffire,1111112 -cnalichn231024651017371,1111112 -cnalichn006wxw,1111112 -cnalichnancrane,1111112 -cnalichnpwtest0010,1111112 -cnalichnandong,1111112 -cnalichn007711,1111112 -cnalichnibwy,1111112 -cnalichnlizzylu,1111112 -cnalichnjennie1010,1111112 -cnalichnjennywangforever,1111112 -cnalichn00000000000000000157,1111112 -cnalichn4554,1111112 -cnalichnhnjhgyyxzrgs2167,1111112 -cnalichnzhhong1579,1111112 -cnalichnmichael0203,1111112 -cnalichnctzl,1111112 -cnalichnsunbijun,1111112 -cnalichncjw1000,1111112 -cnalichndeng698,1111112 -cnalichndgymj,1111112 -cnalichndick2004,1111112 -cnalichnzybzt2004,1111112 -cnalichnmolei0742,1111112 -cnalichnbighezhi,1111112 -cnalichnwinhero521,1111112 -cnalichnbenchong1212,1111112 -cnalichndida911,1111112 -cnalichn007kj,1111112 -cnalichn4994,1111112 -cnalichnangelyeast,1111112 -cnalichn00000000114,1111112 -cnalichnphxs,1111112 -cnalichnslec,1111112 -cnalichnpb816,1111112 -cnalichn0002081,1111112 -cnalichn0000633157,1111112 -cnalichn0000410265,1111112 -cnalichn666666,1111112 -cnalichngoodnew,1111112 -cnalichn0000410265114570,1111112 -cnalichnhuaxue,1111112 -cnalichn00005221,1111112 -cnalichn01soft,1111112 -cnalichn0000000191,1111112 -cnalichn007huang,1111112 -cnalichn03126921691,1111112 -cnalichnwzhoo,1111112 -cnalichnqazwsxedc570,1111112 -cnalichn6885431,1111112 -cnalichn0040,1111112 -cnalichn000a1,1111112 -cnalichnsd,1111112 -cnalichnzhuguo75,1111112 -cnalichnlongyuanyinpin,1111112 -cnalichnwillis1881,1111112 -cnalichn00000000410,1111112 -cnalichn0000412,1111112 -cnalichnrobinsi,1111112 -cnalichnbrg21a,1111112 -cnalichncnptt,1111112 -cnalichnabc001123,1111112 -cnalichnaswby,1111112 -cnalichn01kaishan,1111112 -cnalichn0000414,1111112 -cnalichn00005410,1111112 -cnalichnkkong2001,1111112 -cnalichnalu800,1111112 -cnalichn0000000077,1111112 -cnalichnlongquanjidian,1111112 -cnalichnbiovalley,1111112 -cnalichnthesys,1111112 -cnalichnzqw666,1111112 -cnalichn020gungho,1111112 -cnalichnwelcomnip,1111112 -cnalichn13646_cn,1111112 -cnalichn0069003,1111112 -cnalichn031274,1111112 -cnalichnanhing,1111112 -cnalichnfujiep,1111112 -cnalichn1976214,1111112 -cnalichna00000633,1111112 -cnalichnkkong2002,1111112 -cnalichntreasure123,1111112 -cnalichnallfun,1111112 -cnalichnhotoy,1111112 -cnalichn00cew03,1111112 -cnalichn00209,1111112 -cnalichnszsjf,1111112 -cnalichn000038,1111112 -cnalichnwhdxgj,1111112 -cnalichnzx005,1111112 -cnalichnjennyyliu,1111112 -cnalichn00000114244,1111112 -cnalichnchenzejin,1111112 -cnalichnyanghongjun,1111112 -cnalichnifce,1111112 -cnalichnwslying,1111112 -cnalichn0000633157269,1111112 -cnalichn9t9t,1111112 -cnalichnjsdz999,1111112 -cnalichnyangdai,1111112 -cnalichn0312mengliqian,1111112 -cnalichn00521,1111112 -cnalichn00000000000000000230,1111112 -cnalichnkk2000,1111112 -cnalichnsmile520520,1111112 -cnalichnjinlihua,1111112 -cnalichnguofei,1111112 -cnalichnjennyzou0403,1111112 -cnalichnjenny001265,1111112 -cnalichnlhnm,1111112 -cnalichn123byy,1111112 -cnalichnwangxinlin,1111112 -cnalichn00000000633265,1111112 -cnalichnjennyzou32,1111112 -cnalichn07piaopiao,1111112 -cnalichn001haoya1618,1111112 -cnalichn04111217,1111112 -cnalichn000697,1111112 -cnalichna7505277,1111112 -cnalichnonoxu,1111112 -cnalichnyzqfzjj,1111112 -cnalichnhuamo,1111112 -cnalichnszqysm168,1111112 -cnalichn007lingcui,1111112 -cnalichnjennyou322,1111112 -cnalichnjenny001191,1111112 -cnalichn0000586,1111112 -cnalichngodwei,1111112 -cnalichncrystalcn,1111112 -cnalichnjenny1437,1111112 -cnalichnsb2829,1111112 -cnalichn0400,1111112 -cnalichn00000sb,1111112 -cnalichnlimosu,1111112 -cnalichnzjykjk,1111112 -cnalichnjiably88,1111112 -cnalichnfsyuekai,1111112 -cnalichnhuameispace,1111112 -cnalichnenshu98,1111112 -cnalichnpeierchen,1111112 -cnalichnboyllk,1111112 -cnalichn660726,1111112 -cnalichnjennie20,1111112 -cnalichn19810929,1111112 -cnalichnjenni37,1111112 -cnalichnmacsu0572,1111112 -cnalichn03128018,1111112 -cnalichnhuajing,1111112 -cnalichnreedli,1111112 -cnalichn001001aa,1111112 -cnalichn027dnnl,1111112 -cnalichnwjpwhy,1111112 -cnalichn01jhp,1111112 -cnalichnabc001504,1111112 -cnalichntongjun102,1111112 -cnalichnabc118,1111112 -cnalichnzzdd,1111112 -cnalichn01shth,1111112 -cnalichnbeckyff,1111112 -cnalichnxiachaodong,1111112 -cnalichn00005599,1111112 -cnalichnbulleta,1111112 -cnalichnjennyyibai,1111112 -cnalichn123dafang,1111112 -cnalichn0000000410265,1111112 -cnalichnagjwj,1111112 -cnalichnisland_lai,1111112 -cnalichnhm2008,1111112 -cnalichnifff,1111112 -cnalichnszhonex,1111112 -cnalichnwoodpeople,1111112 -cnalichn0126,1111112 -cnalichnwanfangranse,1111112 -cnalichnszzjgqzq,1111112 -cnalichnjennyzww,1111112 -cnalichn0000410269000,1111112 -cnalichnkangcheng,1111112 -cnalichn03124160281,1111112 -cnalichnaicxcx,1111112 -cnalichnf1shanghai,1111112 -cnalichnzj21,1111112 -cnalichn00001157,1111112 -cnalichnzc1001,1111112 -cnalichnboteman666,1111112 -cnalichnwearefriends633,1111112 -cnalichn03123,1111112 -cnalichnabc110abc,1111112 -cnalichnbzzz,1111112 -cnalichnsssic,1111112 -cnalichn0007falcon,1111112 -cnalichnalitest1001,1111112 -cnalichn00000002,1111112 -cnalichnsaiqi,1111112 -cnalichn000120,1111112 -cnalichnjenny00001,1111112 -cnalichnannal,1111112 -cnalichnjennyzn111,1111112 -cnalichn01huarui,1111112 -cnalichn000151,1111112 -cnalichnandufuse,1111112 -cnalichnjenny114244168,1111112 -cnalichn00004102651145701482,1111112 -cnalichn0000570,1111112 -cnalichn00000000000000000187,1111112 -cnalichn000001265,1111112 -cnalichnzc007,1111112 -cnalichncxgzgd,1111112 -cnalichnjiatao69,1111112 -cnalichnzzzheng,1111112 -cnalichn0519motor,1111112 -cnalichn2003dian9,1111112 -cnalichnkingbug,1111112 -cnalichndoulei,1111112 -cnalichn000000000010,1111112 -cnalichnxiaoxiong2527,1111112 -cnalichnzx5211234,1111112 -cnalichnxzg,1111112 -cnalichn0006abc,1111112 -cnalichnwjfdzz,1111112 -cnalichnabc000,1111112 -cnalichnlymei888,1111112 -cnalichn00000000410265114,1111112 -cnalichn01tian,1111112 -cnalichnsnakefkt,1111112 -cnalichn001foods,1111112 -cnalichntang777888,1111112 -cnalichn00099,1111112 -cnalichn1381513362,1111112 -cnalichntones,1111112 -cnalichnszxln,1111112 -cnalichn12monkey,1111112 -cnalichn00000000000000000232,1111112 -cnalichn000000,1111112 -cnalichnmandyleeqing,1111112 -cnalichna108,1111112 -cnalichn02zhxh,1111112 -cnalichnhxjhlj,1111112 -cnalichncxls66,1111112 -cnalichn2003dodo,1111112 -cnalichn0909yangb,1111112 -cnalichndywd,1111112 -cnalichnyangyi633191,1111112 -cnalichn00021,1111112 -cnalichn000055232,1111112 -cnalichnsflighting,1111112 -cnalichnjenny1001,1111112 -cnalichn8888,1111112 -cnalichnnpshunhua,1111112 -cnalichn001sz,1111112 -cnalichn0001gslzxd,1111112 -cnalichngucong,1111112 -cnalichnyzyssy,1111112 -cnalichn000520520,1111112 -cnalichn00005555,1111112 -cnalichn0000481,1111112 -cnalichn00000000009,1111112 -cnalichn0086toys,1111112 -cnalichn2004lhx,1111112 -cnalichnjxyefeng,1111112 -cnalichn4564weisumei,1111112 -cnalichn0042,1111112 -cnalichn123ef,1111112 -cnalichnjais,1111112 -cnalichn0123abcdefg,1111112 -cnalichn0019,1111112 -cnalichnpeipei111,1111112 -cnalichn123,1111112 -cnalichn01leofan,1111112 -cnalichnyxm2008,1111112 -cnalichnzc001,1111112 -cnalichnjennyzx,1111112 -cnalichnmengyina88,1111112 -cnalichnfuxing5,1111112 -cnalichnjenny114244232,1111112 -cnalichn00003384,1111112 -cnalichnydao,1111112 -cnalichnjennymeili,1111112 -cnalichn0000410265293,1111112 -cnalichnolsp,1111112 -cnalichnshunziqiye,1111112 -cnalichnibll,1111112 -cnalichnfenglsh,1111112 -cnalichn00051stock,1111112 -cnalichn0312699,1111112 -cnalichnlishenga,1111112 -cnalichnenjoywine,1111112 -cnalichnlinseylin,1111112 -cnalichntendywee,1111112 -cnalichnczbird,1111112 -cnalichn5831340,1111112 -cnalichnjennyyin118,1111112 -cnalichnwtall,1111112 -cnalichnjenni01,1111112 -cnalichn001hnyk,1111112 -cnalichnbreakjade,1111112 -cnalichnyichengxue,1111112 -cnalichnjennyzyh,1111112 -cnalichn10256312,1111112 -cnalichn01jinyuan,1111112 -cnalichn0001anxing,1111112 -cnalichn00088,1111112 -cnalichn000363636,1111112 -cnalichnjennyyl,1111112 -cnalichn000tttyyy293,1111112 -cnalichnsnake1981,1111112 -cnalichn0000000000996,1111112 -cnalichnwjwmh5,1111112 -cnalichnjennyyhw82,1111112 -cnalichn000l,1111112 -cnalichn03125503303,1111112 -cnalichnkingkangwt,1111112 -cnalichnsnake,1111112 -cnalichnicdc,1111112 -cnalichnwuchangxiao1001,1111112 -cnalichn4849,1111112 -cnalichnyabo88,1111112 -cnalichnif99,1111112 -cnalichnshhny22,1111112 -cnalichn0312lyhg,1111112 -cnalichniasp,1111112 -cnalichnyonghenglian,1111112 -cnalichn0488,1111112 -cnalichnabc0017,1111112 -cnalichnjennyzou123,1111112 -cnalichniexp,1111112 -cnalichn01sp,1111112 -cnalichnzbjincun,1111112 -cnalichn00000041019129328996,1111112 -cnalichnjason05,1111112 -cnalichnfddz889,1111112 -cnalichn01lizy,1111112 -cnalichn000mzx,1111112 -cnalichn000mzx191,1111112 -cnalichn0007269,1111112 -cnalichndisilinsh,1111112 -cnalichnjennyzou2664,1111112 -cnalichn0312mclh,1111112 -cnalichnivyyys,1111112 -cnalichnmerial,1111112 -cnalichn00201178,1111112 -cnalichnmaifq,1111112 -cnalichnshyxdj,1111112 -cnalichnradzzz,1111112 -cnalichnbobo8882,1111112 -cnalichn0001zxcv,1111112 -cnalichn00000003,1111112 -cnalichnjennyyiwu,1111112 -cnalichncnjoe1107,1111112 -cnalichn0000david,1111112 -cnalichn01jinin,1111112 -cnalichnhzwuce,1111112 -cnalichn000609,1111112 -cnalichnriverbirdok,1111112 -cnalichn00102978,1111112 -cnalichn0oo00ooo000oooo,1111112 -cnalichna00000157,1111112 -cnalichngzjuding,1111112 -cnalichn00124242kjhl,1111112 -cnalichnxxy100200,1111112 -cnalichn001huatai,1111112 -cnalichn0000410265114244168,1111112 -cnalichn01heping,1111112 -cnalichnjennyyjcn,1111112 -cnalichnjinyoumj,1111112 -cnalichn00ddvvbb,1111112 -cnalichn01tcvfdtt,1111112 -cnalichnchuangqiang,1111112 -cnalichnzjxiaorong,1111112 -cnalichn01jjhgtg,1111112 -cnalichn0000001244,1111112 -cnalichnyhuaxin509,1111112 -cnalichn111h6tryuhf,1111112 -cnalichn0004xiaolin,1111112 -cnalichnchenyuqing1985,1111112 -cnalichnabb004,1111112 -cnalichn00000000lijian,1111112 -cnalichn000000yu,1111112 -cnalichn000jiuxing,1111112 -cnalichn0312hqzy,1111112 -cnalichnacc059,1111112 -cnalichna0003774,1111112 -cnalichn0012zxz,1111112 -cnalichn52lhx,1111112 -cnalichnscottyoung,1111112 -cnalichnrfth,1111112 -cnalichnjennyylzh,1111112 -cnalichnzhejiangkjj,1111112 -cnalichn000000123123123123,1111112 -cnalichnckisimonyang,1111112 -cnalichnjasntao,1111112 -cnalichnabc000001,1111112 -cnalichnabc108,1111112 -cnalichn(sz)coljet,1111112 -cnalichnhuapu0703,1111112 -cnalichn8416068,1111112 -cnalichnjennicexu,1111112 -cnalichnruichida,1111112 -cnalichnjolan,1111112 -cnalichnjenny910,1111112 -cnalichn0005a,1111112 -cnalichnjasn3,1111112 -cnalichn00000000000000000217,1111112 -cnalichn000058,1111112 -cnalichnjasn4,1111112 -cnalichnjasn1,1111112 -cnalichnclotheshanger,1111112 -cnalichnjenny7401,1111112 -cnalichn001jack,1111112 -cnalichnjaymo,1111112 -cnalichnddlp,1111112 -cnalichnjasn8,1111112 -cnalichnszxlngs,1111112 -cnalichnjasn9,1111112 -cnalichnsunsunsunsunnnnnn888,1111112 -cnalichn03125063700,1111112 -cnalichnnjhafb,1111112 -cnalichnjenny1007,1111112 -cnalichnjasn7,1111112 -cnalichnjenny0811,1111112 -cnalichn00051,1111112 -cnalichna00000293,1111112 -cnalichnkk0000,1111112 -cnalichnabcd1278,1111112 -cnalichnjenny0722,1111112 -cnalichnabc11888,1111112 -cnalichnjenny84521,1111112 -cnalichn00002435,1111112 -cnalichngs02,1111112 -cnalichn031245zihe,1111112 -cnalichnalitest00003,1111112 -cnalichnclyjj012,1111112 -cnalichn9shenling,1111112 -cnalichn01lynn,1111112 -cnalichn02087216761,1111112 -cnalichn0000000000999999999,1111112 -cnalichn031227885,1111112 -cnalichna0118hh008,1111112 -cnalichna0118hh013,1111112 -cnalichn0020015123,1111112 -cnalichna0118hh007,1111112 -cnalichna0118hh001,1111112 -cnalichnjennymake,1111112 -cnalichn01dz,1111112 -cnalichn03127940370,1111112 -cnalichn03126588116,1111112 -cnalichn012008,1111112 -cnalichnb0018s,1111112 -cnalichn00119,1111112 -cnalichnsnakez,1111112 -cnalichn117,1111112 -cnalichn0000k,1111112 -cnalichn12564a,1111112 -cnalichnkilio,1111112 -cnalichnklkelec,1111112 -cnalichn0432zx,1111112 -cnalichnvivianqueen1990,1111112 -cnalichnjenny015,1111112 -cnalichncc0411cn,1111112 -cnalichnjennyyii,1111112 -cnalichna0000055,1111112 -cnalichnjingjia001,1111112 -cnalichnjingjia002,1111112 -cnalichnjingjia016,1111112 -cnalichnjingjia031,1111112 -cnalichnabc001227,1111112 -cnalichnjennyzsu,1111112 -cnalichn000367,1111112 -cnalichnhhq001,1111112 -cnalichnxinhongzheng,1111112 -cnalichnjennyyiling,1111112 -cnalichn000369000,1111112 -cnalichn0007y,1111112 -cnalichnzorozoe,1111112 -cnalichnjennyzsy,1111112 -cnalichnathena2006,1111112 -cnalichnmhkim,1111112 -cnalichnauction2008,1111112 -cnalichnxingxingzhang,1111112 -cnalichnjenny0656,1111112 -cnalichn01huyong,1111112 -cnalichn001ying,1111112 -cnalichnzhanghaojie12,1111112 -cnalichn01tree,1111112 -cnalichna7554815,1111112 -cnalichnalisoft,1111112 -cnalichnhmtest1,1111112 -cnalichnhmtest2,1111112 -cnalichnjxxgg2000,1111112 -cnalichn2233,1111112 -cnalichnmogoo,1111112 -cnalichnyangqi009,1111112 -cnalichnyanlan,1111112 -cnalichnjltest5,1111112 -cnalichntormoo,1111112 -cnalichnzhang8410,1111112 -cnalichnalisofttest01,1111112 -cnalichnfreeid01,1111112 -cnalichnazz310,1111112 -cnalichnrongyw7,1111112 -cnalichnqwertyuiop444403,1111112 -cnalichntesttm18,1111112 -cnalichncalayatoo,1111112 -cnalichntesttm7,1111112 -cnalichnhello,1111112 -cnalichnali1258,1111112 -cnalichnjasn6,1111112 -cnalichntesttm8,1111112 -cnalichnzxali,1111112 -cnalichntest1552,1111112 -cnalichnpwtest0022,1111112 -cnalichn197611,1111112 -cnalichnrongyw36,1111112 -cnalichnpwtest0003,1111112 -cnalichnabc123,1111112 -cnalichnyuxh73,1111112 -cnalichn13604290020,1111112 -cnalichnnewimtest01,1111112 -cnalichnrongyw1,1111112 -cnalichnrongyw2,1111112 -cnalichn1,1111112 -cnalichnrongyw5,1111112 -cnalichnrongyw9,1111112 -cnalichnabc,1111112 -cnalichnjasn5,1111112 -cnalichnrongyw45,1111112 -cnalichnrongyw34,1111112 -cnalichnzzheng,1111112 -cnalichn07cecilia,1111112 -cnalichncandytest007,1111112 -cnalichnxzlcl,1111112 -cnalichnabc002,1111112 -cnalichnpwtest0026,1111112 -cnalichnpwtest0007,1111112 -cnalichnarui,1111112 -cnalichnregfromchina,1111112 -cnalichnzhaoll116,1111112 -cnalichntestzw1001,1111112 -cnalichneoeo030,1111112 -cnalichnzccrm06,1111112 -cnalichntestgyp002,1111112 -cnalichnaoao011,1111112 -cnalichnfudakinindustry,1111112 -cnalichn123lijuqing,1111112 -cnalichn7296795,1111112 -cnalichn600621,1111112 -cnalichnpwtest0001,1111112 -cnalichntones004,1111112 -cnalichnsnakezhangw103,1111112 -cnalichnsnakezhangw110,1111112 -cnalichnzhaolll011,1111112 -cnalichnsalut002,1111112 -cnalichnzhaoll114,1111112 -cnalichn710627_cn,1111112 -cnalichn711213,1111112 -cnalichn19706819,1111112 -cnalichn1971927,1111112 -cnalichntest2008,1111112 -cnalichnpwtest0006,1111112 -cntaobaoP!9-Kd288,1111112 -cnalichn22709,1111112 -cnalimam1zzchn@qq.com,1111112 -cnalichn710708,1111112 -cnalichn4444,1111112 -cnalichnsnakezhangw108,1111112 -cnalichnthreego,1111112 -cnalichnalichn0002,1111112 -cnalichndaisy,1111112 -cnalichn1378970152,1111112 -cnalichnzhaoll011,1111112 -cnalichntest930,1111112 -cnalichn105yxyx,1111112 -cnalichn444444,1111112 -cnalichn729711,1111112 -cnalichnjiett005,1111112 -cnalichnleonard1,1111112 -cnalichnsnakezhangw101,1111112 -cnalichnpwtest0016,1111112 -cnalichnllll0002,1111112 -cnalichntones005,1111112 -cnalichntones007,1111112 -cnalichn710531,1111112 -cnalichnaoao018,1111112 -cnalichneoeo032,1111112 -cnalichnfire001,1111112 -cnalichnmsy1103,1111112 -cnalichnlauson,1111112 -cnalichn5023460hrc,1111112 -cnalichntestfree,1111112 -cnalichn1375811271,1111112 -cnalichnabc200,1111112 -cnalichntestzw011,1111112 -cnalichneoeo020,1111112 -cnalichn266032,1111112 -cnalichnzhaoll0001,1111112 -cnalichnhoneyfiga,1111112 -cnalichnkimizw000,1111112 -cnalichna900000001,1111112 -cnalichnaoao0014,1111112 -cnalichneoeo014,1111112 -cnalichn1977aaq,1111112 -cnalichnaaa0823,1111112 -cnalichnwhuifen256,1111112 -cnalichneoeo018,1111112 -cnalichncalayato86,1111112 -cnalichnpwtest0018,1111112 -cnalichnzlll003,1111112 -cnalichnzhangjieming001,1111112 -cnalichn13903355057,1111112 -cnalichnleonard2,1111112 -cnalichnleonardtest,1111112 -cnalichnzhaolll001,1111112 -cnalichntestzw019,1111112 -cnalichn961455316,1111112 -cnalichn19760210,1111112 -cnalichnabckkk118,1111112 -cnalichnrongyw40,1111112 -cnalichnkimizw001,1111112 -cnalichn265205,1111112 -cnalichn199066,1111112 -cnalichnzhaoll117,1111112 -cnalichnfire003,1111112 -cnalichn1970829,1111112 -cnalichn232425,1111112 -cnalichnaoao020,1111112 -cnalichneoeo017,1111112 -cnalichnkaka00001,1111112 -cnalichn197182_cn,1111112 -cnalichn7286,1111112 -cnalichnselc,1111112 -cnalichnkimizw006,1111112 -cnalichnzhangmin5,1111112 -cnalichntones001,1111112 -cnalichntones003,1111112 -cnalichnsnakezhangw102,1111112 -cnalichnsnakezhangw104,1111112 -cnalichnsnakezhangw120,1111112 -cnalichnsnakezhangw119,1111112 -cnalichnsnakezhangw900,1111112 -cnalichnsnakezhangw321,1111112 -cnalichnabc008,1111112 -cnalichntest0802,1111112 -cnalichnsohoe,1111112 -cnalichnwqhft,1111112 -cnalichnzz011,1111112 -cnalichn2829212_cn,1111112 -cnalichna00000151,1111112 -cnalichna910406476,1111112 -cnalichnzzhaol005,1111112 -cnalichntestzw020,1111112 -cnalichn000037,1111112 -cnalichneoeo013,1111112 -cnalichnzz013,1111112 -cnalichnzz014,1111112 -cnalichnsnaketest023,1111112 -cnalichnjxxggtest032,1111112 -cnalichnpwtest0013,1111112 -cnalichnllll0001,1111112 -cnalichn1981aaaa,1111112 -cnalichnzccrm08,1111112 -cnalichnzccrm04,1111112 -cnalichnafdsa0800,1111112 -cnalichnalitest001,1111112 -cnalichnwhuifen257,1111112 -cnalichntechina,1111112 -cnalichnpwtest0002,1111112 -cnalichnpwtest0005,1111112 -cnalichnfxxkit,1111112 -cnalichnnikeyshao002,1111112 -cnalichnbutter080309,1111112 -cnalichnali0002,1111112 -cnalichnzhaoll112,1111112 -cnalichn0933169138,1111112 -cnalichn911111113,1111112 -cnalichnaoao014,1111112 -cnalichnaoao015,1111112 -cnalichnzz012,1111112 -cnalichn19900802,1111112 -cnalichn225800,1111112 -cnalichnyouyou002,1111112 -cnalichnjxxggtest037,1111112 -cnalichnnikeyshao001,1111112 -wangwang000ccc,1111112 -cnalichndasiy,1111112 -cnalichn1367494259,1111112 -cnalichnaoao012,1111112 -cnalichnzz010,1111112 -cnalichnqtp320112714,1111112 -cnalichntestzw003,1111112 -cnalichnzlll0011,1111112 -cnalichnbackofficefree,1111112 -cnalichnpwtest0015,1111112 -cnalichncwj888,1111112 -cnalichnamy00121,1111112 -cnalichnaoao019,1111112 -cnalichncbsmy002,1111112 -cnalichntestzw001,1111112 -cnalichnzzl020,1111112 -cnalichnwlbt,1111112 -cnalichn031293,1111112 -cnalichnnhhlgy,1111112 -cnalichnsadsa,1111112 -cnalichn01jennywong,1111112 -cnalichn01jv0hxm,1111112 -cnalichndiamond9,1111112 -cnalichnjjtag00,1111112 -cnalichnwubo211014,1111112 -cnalichn01jr025,1111112 -cnalichnjchxchem,1111112 -cnalichnleizzo001,1111112 -cnalichnlqf7709,1111112 -cnalichnas12,1111112 -cnalichnmurongaddsun,1111112 -cnalichnlazycat,1111112 -cnalichnzhaoqiubao,1111112 -cnalichnxzsqq,1111112 -cnalichnzhaow0001,1111112 -cnalichn19711030,1111112 -cnalichn197118,1111112 -cnalichn0417fjk,1111112 -cnalichn75224xhmc,1111112 -cnalichn5127318,1111112 -cnalichn3twang,1111112 -cnalichn4016,1111112 -cnalichn4049193,1111112 -cnalichn5810993,1111112 -wangwang9411957,1111112 -cnalichncnems,1111112 -wangwang7093376,1111112 -cnalichnspjck,1111112 -cnalichnwhite_pigeon,1111112 -cnalichnlzhjy,1111112 -cnalichnluckyyoung,1111112 -cnalichnlike1999,1111112 -cnalichnjosiewp,1111112 -cnalichn001119,1111112 -cnalichngs07,1111112 -cnalichn197078,1111112 -cnalichn0432686171,1111112 -cnalichn123kid,1111112 -cnalichn660208712,1111112 -cnalichn3kgs,1111112 -cnalichn39980067,1111112 -cnalichn3953406,1111112 -cnalichn575677zhumin,1111112 -cnalichnsusanqd,1111112 -cnalichn3water,1111112 -cnalichn58129923,1111112 -cnalichnabcd1999,1111112 -cnalichn16000,1111112 -cnalichnjiezhou,1111112 -cnalichnye007,1111112 -cnalichnzhaoman29,1111112 -cnalichnxuke200,1111112 -cnalichnbaitfpdv,1111112 -cnalichnchbmimi,1111112 -cnalichnbaic,1111112 -cnalichnchbu,1111112 -cnalichncaiecgz,1111112 -cnalichncffm,1111112 -cnalichncfflk,1111112 -cnalichnjnjshjx,1111112 -cnalichnzzlizh,1111112 -cnalichnzzk,1111112 -wangwang7661942,1111112 -cnalichn197081,1111112 -cnalichn40073,1111112 -cnalichn401186,1111112 -cnalichn5858tw,1111112 -cnalichn586586,1111112 -cnalichnxboeie,1111112 -cnalichnpronghh,1111112 -cnalichnyq,1111112 -cnalichnsnakezhangw848,1111112 -cnalichnsnakezhangw306,1111112 -cnalichnxrlim2,1111112 -wangwang342342342342,1111112 -cnalichneoeo011,1111112 -cnalichnsnakezhangw112,1111112 -cnalichna910905597,1111112 -cnalichn0011,1111112 -cnalichntaigucui,1111112 -cnalichnman7000,1111112 -cnalichnzzmmh,1111112 -cnalichnyuanwb,1111112 -cnalichnyummyummyumm,1111112 -cnalichngordonc,1111112 -cnalichnzjxte,1111112 -cnalichnwujj,1111112 -cnalichnjuyy,1111112 -cnalichnlongxiangstone07,1111112 -cnalichnshlc18,1111112 -cnalichnxywlcb,1111112 -cnalichnxmjjgs,1111112 -cnalichnyoujj,1111112 -cnalichncharles8,1111112 -cnalichnhdfz,1111112 -cnalichnsnakezhangw115,1111112 -wangwang215135423234,1111112 -cnalichnsnakezhangw891,1111112 -cnalichnsnakezhangw444,1111112 -cnalichnsnakezhangw379,1111112 -cnalichnsnakezhangw360,1111112 -cnalichnsnakezhangw415,1111112 -cnalichnsnakezhangw435,1111112 -cnalichnbags,1111112 -cnalichn7269,1111112 -cnalichnlixiansheng001,1111112 -cnalichnwu102517,1111112 -cnalichnyw_wenyon,1111112 -cnalichnling4525,1111112 -cnalichnmdengyun,1111112 -cnalichnyuhai,1111112 -cnalichnyuhongrong,1111112 -cnalichnyuho,1111112 -cnalichnyuhao,1111112 -cnalichnystar,1111112 -cnalichnjenniezjydxm203,1111112 -cnalichnjenniezjydxm002,1111112 -cnalichnjenniezjydxm113,1111112 -cnalichn00008,1111112 -cnalichn0006,1111112 -cnalichnjenniezjydxm230,1111112 -cnalichnnarui,1111112 -cnalichnmojiangtao,1111112 -cnalichn200001,1111112 -cnalichnmctc,1111112 -cnalichnbootix,1111112 -cnalichnayee,1111112 -cnalichnxjlibing,1111112 -cnalichnlijiandai,1111112 -cnalichnzhengluguang,1111112 -cnalichnluancan,1111112 -cnalichnzjpoly,1111112 -cnalichnfcm822,1111112 -cnalichnredfir,1111112 -cnalichnliuh007,1111112 -cnalichntxlxr2008,1111112 -cnalichnjenny003,1111112 -cnalichnjenniezjydxm078,1111112 -cnalichnjenniezjydxm100,1111112 -cnalichnjenniezjydxm128,1111112 -wangwang9282223,1111112 -cnalichnysw,1111112 -cnalichnyp1000,1111112 -cnalichnhaoland,1111112 -cnalichnjeffcarry,1111112 -cnalichnyfzygarment,1111112 -cnalichnyoyeetest1212121,1111112 -cnalichnzhaozw001,1111112 -cnalichnsnakeztest08,1111112 -cnalichnouyangzhen,1111112 -cnalichnjason16,1111112 -cnalichnyib,1111112 -cnalichnsnakezhangw117,1111112 -wangwanghaha1234,1111112 -wangwang254234234234,1111112 -cnalichnsnakezhangw327,1111112 -cnalichnsnakezhangw372,1111112 -cnalichngcbdel,1111112 -cnalichnsnakezhangw896,1111112 -cnalichn108first,1111112 -cnalichnzzhaol008,1111112 -cnalichn000201,1111112 -cnalichn000221,1111112 -cnalichn000619,1111112 -cnalichn000830,1111112 -cnalichn000839,1111112 -cnalichn0036,1111112 -cnalichn000817,1111112 -cnalichnzoo3,1111112 -cnalichngugugu1234,1111112 -cnalichnfire004,1111112 -cnalichnzhanghyu,1111112 -cnalichnaxlzhao,1111112 -cnalichnfire005,1111112 -cnalichnsnakezhangw453,1111112 -cnalichnyangke,1111112 -cnalichnyunyun2345,1111112 -cnalichnchenwpemail,1111112 -cnalichnychxfchn,1111112 -cnalichnclone,1111112 -cnalichnailisi1234,1111112 -cnalichn0004,1111112 -cnalichnsetflag03,1111112 -cnalichnsdmsg06,1111112 -cnalichnaddbind16,1111112 -cnalichnaddbind05,1111112 -cnalichnjenniezjydxm277,1111112 -cnalichnjenniezjydxm288,1111112 -cnalichnjenniezjydxm089,1111112 -cnalichn000810,1111112 -cnalichnwaynew,1111112 -cnalichnzhanggw,1111112 -cnalichnsnakezhangw868,1111112 -cnalichnsnakezhangw571,1111112 -cnalichnsnakezhangw892,1111112 -cnalichnsnakezhangw447,1111112 -cnalichnsnakezhangw836,1111112 -cnalichnudb4,1111112 -cnalichnudb3,1111112 -cnalichn0021,1111112 -cnalichnsnakezhangw305,1111112 -cnalichneoeo015,1111112 -cnalichnxixixi,1111112 -cnalichnxiamengbing,1111112 -cnalichnwlchen,1111112 -cnalichnyangtze_co,1111112 -cnalichnyanguo,1111112 -wangwang9053928,1111112 -wangwang5456212,1111112 -cnalichnzxbs,1111112 -cnalichnsnakezhangw830,1111112 -cnalichneoeo16,1111112 -cnalichnybmichael,1111112 -cnalichn0033,1111112 -cnalichnzhuping888,1111112 -cnalichnsnakezhangw391,1111112 -cnalichnsnakezhangw499,1111112 -cnalichnlongwang2000,1111112 -cnalichnsnakezhangw585,1111112 -cnalichnjenniezjydxm017,1111112 -cnalichnsnakezhangw116,1111112 -cnalichnsnakezhangw113,1111112 -cnalichnsnakezhangw644,1111112 -cnalichnwangmali,1111112 -cnalichn5003760,1111112 -cnalichnhengkun,1111112 -cnalichnsnakezhangw551,1111112 -cnalichnsnakezhangw413,1111112 -cnalichnsnakezhangw414,1111112 -cnalichn44444,1111112 -cnalichn01zzzzz,1111112 -wangwang8114388,1111112 -cnalichn1970722,1111112 -cnalichn19710105,1111112 -cnalichn1971619,1111112 -cnalichn197175,1111112 -cnalichn197182,1111112 -cnalichn1971910,1111112 -cnalichn225939_cn,1111112 -cnalichn2312985,1111112 -cnalichn2315562,1111112 -cnalichn0435,1111112 -cnalichn123company,1111112 -cnalichn123dfgh78,1111112 -cnalichn6581294_cn,1111112 -cnalichn660421,1111112 -cnalichn660624,1111112 -cnalichn66088,1111112 -cnalichn7510000,1111112 -cnalichn751030,1111112 -cnalichn751109_cn,1111112 -cnalichn751120,1111112 -cnalichn3219901,1111112 -cnalichn321_sxf,1111112 -cnalichn3221373,1111112 -cnalichn328,1111112 -cnalichn32888,1111112 -cnalichn5116888,1111112 -cnalichn511n,1111112 -cnalichn5126,1111112 -cnalichnjxxggtest036,1111112 -cnalichn3921557,1111112 -cnalichn3l_inc,1111112 -cnalichn3ggg,1111112 -cnalichn3friends,1111112 -cnalichn3eee,1111112 -cnalichn3dfx,1111112 -cnalichn3dcc,1111112 -cnalichn3cons,1111112 -cnalichn3bm3bm,1111112 -cnalichn3987li,1111112 -cnalichn3939969,1111112 -cnalichn3931710,1111112 -cnalichn805fishman,1111112 -cnalichn80624,1111112 -cnalichn3you_cn,1111112 -cnalichn3z,1111112 -cnalichn4009,1111112 -cnalichn4012,1111112 -cnalichn4014748,1111112 -cnalichn4021,1111112 -cnalichn4023417_cn,1111112 -cnalichn40529han,1111112 -cnalichn581123,1111112 -cnalichnzhaoll115,1111112 -cnalichn000521,1111112 -cnalichnjenniezjydxm033,1111112 -cnalichnjenniezjydxm121,1111112 -wangwang345423423123,1111112 -cnalichnhh258369,1111112 -cnalichnsnakezhangw568,1111112 -cnalichnsnakezhangw411,1111112 -cnalichn5821215,1111112 -cnalichn58372690,1111112 -cnalichn585858,1111112 -cnalichn58609,1111112 -cnalichnabcd2000,1111112 -cnalichnabcd420,1111112 -cnalichnabcdaaaa,1111112 -cnalichnabcdabcd,1111112 -cnalichnabcde1,1111112 -cnalichnabcde1189336,1111112 -cnalichnabcdefg04312937287,1111112 -cnalichnabcdefgh,1111112 -cnalichnabcdefghi,1111112 -cnalichnabcdefghigklmn,1111112 -cnalichnchendu,1111112 -cnalichnchenshui,1111112 -cnalichnbbot,1111112 -cnalichnbodanet,1111112 -wangwang8741500,1111112 -wangwang5138963,1111112 -cnalichnbolifrist,1111112 -cnalichnyytea,1111112 -cnalichncandytest010,1111112 -cnalichn08lpaaaa,1111112 -cnalichnyanling,1111112 -wangwang9719952,1111112 -cnalichnsnakezhangw847,1111112 -cnalichnsnakezhangw449,1111112 -cnalichnsnakezhangw349,1111112 -cnalichnsnakezhangw416,1111112 -cnalichnsnakezhangw601,1111112 -cnalichnsnakezhangw500,1111112 -cnalichnsnakezhangw611,1111112 -cnalichnchenzhixia,1111112 -cnalichn085bbbb,1111112 -cnalichncsytwt,1111112 -cnalichn00004,1111112 -wangwang9908649,1111112 -wangwang6298570,1111112 -cnalichn1858888888,1111112 -wangwang7217284,1111112 -wangwang9131084,1111112 -wangwang9263464,1111112 -wangwang6503809,1111112 -wangwang6361006,1111112 -cnalichndavid_dw,1111112 -cnalichnliusike,1111112 -cnalichnjoycema,1111112 -wangwang9800792,1111112 -cnalichnfyg18,1111112 -cnalichncqamt,1111112 -cnalichneoeo016,1111112 -wangwang7381032,1111112 -cnalichncnapl,1111112 -cnalichnxianke,1111112 -cnalichnxtxml,1111112 -cnalichnxikai,1111112 -cnalichnxu725,1111112 -cnalichnydyckm,1111112 -cnalichnyunyun1234,1111112 -cnalichn40chieves,1111112 -wangwang9007775,1111112 -cnalichnyanguang,1111112 -wangwang5275297,1111112 -cnalichn660306,1111112 -cnalichn751112,1111112 -cnalichn321_cn,1111112 -cnalichnchunming,1111112 -cnalichn004343,1111112 -wangwang7364605,1111112 -cnalichn1100a,1111112 -cnalichnzhenhong,1111112 -cnalichnkpgs,1111112 -cnalichnyuanli,1111112 -cnalichnzhlimoto,1111112 -cnalichnsetflag02,1111112 -cnalichngetuserinfotest03,1111112 -cnalichnjenniezjydxm177,1111112 -cnalichn1977320_cn,1111112 -cnalichnxyd8,1111112 -cnalichnsnakezhangw341,1111112 -wangwang2355485343523,1111112 -cnalichnsnakezhangw373,1111112 -cnalichnsnakezhangw300,1111112 -wangwang5493814,1111112 -cnalichnyanan,1111112 -cnalichnyan1xiu2,1111112 -cnalichnzhmw,1111112 -cnalichnzhenan,1111112 -wangwang9935374,1111112 -wangwang6145697,1111112 -cnalichnzhenhao,1111112 -cnalichnxiaojingqin,1111112 -cnalichnzhuhaizhifenghuang,1111112 -cnalichnyuanjin,1111112 -cnalichnzhenan123,1111112 -cnalichnyuanlou,1111112 -cnalichnfanluo,1111112 -cnalichnyangjianfz,1111112 -cnalichncombotech,1111112 -cnalichnfortis,1111112 -cnalichndecorhome,1111112 -cnalichncalfornia,1111112 -cnalichnericsean,1111112 -cnalichndabin8,1111112 -cnalichnjerryen,1111112 -cnalichnmanye,1111112 -cnalichnhelendu,1111112 -cnalichnlishang,1111112 -cnalichnjunping,1111112 -cnalichngxazrr,1111112 -cnalichnhuangzhihua,1111112 -cnalichntank2000,1111112 -cnalichnzhfeng163,1111112 -cnalichnliulisheng,1111112 -cnalichngaoyimo,1111112 -cnalichnjenniezjydxm189,1111112 -cnalichnjenniezjydxm138,1111112 -cnalichnsnakezhangw346,1111112 -cnalichn00191,1111112 -cnalichnating,1111112 -cnalichnaobao,1111112 -cnalichnseeyu,1111112 -cnalichnwuzeyan,1111112 -cnalichnzhuhaiqing,1111112 -cnalichnyangqingemail,1111112 -cnalichnsyb825,1111112 -cnalichnuuiiuuii,1111112 -cnalichnkevien,1111112 -cnalichngengnong,1111112 -cnalichncandywong,1111112 -cnalichnnklaoyou,1111112 -cnalichnyangchuanzheng,1111112 -cnalichnjing218,1111112 -cnalichnfenghuibin,1111112 -cnalichnkotra,1111112 -cnalichnzhanghm,1111112 -cnalichnzhanghk,1111112 -cnalichnzhanghexun,1111112 -cnalichnzeling,1111112 -cnalichn00461,1111112 -cnalichn10012,1111112 -cnalichn0012,1111112 -cnalichnwuyu,1111112 -cnalichnwuyun,1111112 -cnalichnjenniezjydxm001,1111112 -cnalichnjenniezjydxm301,1111112 -cnalichnjenniezjydxm117,1111112 -cnalichnjenniezjydxm150,1111112 -cnalichnjenniezjydxm151,1111112 -wangwang892389889,1111112 -cnalichnyibang,1111112 -cnalichnsnakezhangw448,1111112 -cnalichnsnakezhangw899,1111112 -cnalichnabc00,1111112 -cnalichnsetflag05,1111112 -cnalichnsetflag07,1111112 -cnalichngs01,1111112 -cnalichngetuserinfotest01,1111112 -cnalichngs04,1111112 -cnalichnsdmsg01,1111112 -cnalichnsdmsg03,1111112 -cnalichnsdmsg04,1111112 -cnalichnsdmsg97,1111112 -cnalichnsdmsg99,1111112 -cnalichnsyncuser04,1111112 -cnalichnjasonabcdefghijkl04,1111112 -cnalichnjasonabcdefghijkl03,1111112 -cnalichngetuserinfotest02,1111112 -cnalichngetuserinfotest04,1111112 -cnalichnjenniezjydxm029,1111112 -cnalichnaddbind17,1111112 -cnalichnaddbind10,1111112 -cnalichnaddbind07,1111112 -cnalichnaddbind02,1111112 -cnalichnjenniezjydxm031,1111112 -cnalichnpinnettech,1111112 -cnalichnjenniezjydxm032,1111112 -cnalichnjenniezjydxm102,1111112 -cnalichnjenniezjydxm103,1111112 -cnalichnjasonabcdefghijkl01,1111112 -cnalichnjenniezjydxm186,1111112 -cnalichntonger,1111112 -cnalichn1977121_cn,1111112 -cnalichnbeiyangz,1111112 -cnalichndianjing,1111112 -cnalichnjenniezjydxm101,1111112 -cnalichnjenniezjydxm119,1111112 -cnalichnblinkday,1111112 -cnalichnsnakezhangw855,1111112 -cnalichnsnakezhangw114,1111112 -wangwang4543534534534,1111112 -wangwang423423412321,1111112 -cnalichnsnakezhangw816,1111112 -cnalichnsnakezhangw893,1111112 -cnalichnsnakezhangw412,1111112 -cnalichnsnakezhangw610,1111112 -cnalichnsnakezhangw622,1111112 -cnalichnjenniezjydxm047,1111112 -cnalichnjenniezjydxm120,1111112 -cnalichnjenniezjydxm200,1111112 -cnalichnjenniezjydxm235,1111112 -cnalichnjenniezjydxm236,1111112 -cnalichnjenniezjydxm123,1111112 -cnalichn19775314_cn,1111112 -cnalichnjenniezjydxm222,1111112 -cnalichnjenniezjydxm009,1111112 -cnalichnjenniezjydxm244,1111112 -cnalichnjenniezjydxm018,1111112 -cnalichnjenniezjydxm263,1111112 -cnalichnjenniezjydxm267,1111112 -cnalichnjenniezjydxm008,1111112 -cnalichnshatterwind,1111112 -cnalichnjenniezjydxm285,1111112 -cnalichnjenniezjydxm010,1111112 -cnalichnjenniezjydxm077,1111112 -cnalichnjenniezjydxm293,1111112 -cnalichnjenniezjydxm005,1111112 -cnalichnjenniezjydxm075,1111112 -cnalichnjenniezjydxm173,1111112 -cnalichnjenniezjydxm156,1111112 -cnalichnjenniezjydxm076,1111112 -cnalichnjenniezjydxm079,1111112 -cnalichnjenniezjydxm179,1111112 -cnalichnjenniezjydxm003,1111112 -cnalichnjenniezjydxm012,1111112 -cnalichnjenniezjydxm006,1111112 -cnalichnjenniezjydxm161,1111112 -cnalichnjenniezjydxm013,1111112 -cnalichnjenniezjydxm154,1111112 -cnalichnjenniezjydxm090,1111112 -cnalichnjenniezjydxm129,1111112 -cnalichnjenniezjydxm132,1111112 -cnalichnjenniezjydxm019,1111112 -cnalichnjenniezjydxm021,1111112 -cnalichnjenniezjydxm022,1111112 -cnalichnjenniezjydxm023,1111112 -cnalichnjenniezjydxm024,1111112 -cnalichnnjlmhg,1111112 -cnalichn741104,1111112 -wangwang7892383,1111112 -cnalichnbestco,1111112 -cnalichnnbtest1,1111112 -cnalichnsnakezhangw421,1111112 -cnalichnqiuautumn2003,1111112 -cnalichnjenniezjydxm015,1111112 -cnalichnjenniezjydxm152,1111112 -cnalichnjenniezjydxm014,1111112 -cnalichnjenniezjydxm016,1111112 -cnalichnjenniezjydxm004,1111112 -cnalichnjenniezjydxm088,1111112 -cnalichnjenniezjydxm153,1111112 -cnalichnjenniezjydxm071,1111112 -cnalichnjenniezjydxm104,1111112 -cnalichnjenniezjydxm135,1111112 -cnalichnjenniezjydxm074,1111112 -cnalichnjenniezjydxm105,1111112 -cnalichnjenniezjydxm073,1111112 -cnalichnjenniezjydxm133,1111112 -cnalichnjenniezjydxm110,1111112 -cnalichnjenniezjydxm239,1111112 -cnalichnjenniezjydxm124,1111112 -cnalichnjenniezjydxm122,1111112 -cnalichnjenniezjydxm125,1111112 -cnalichn01janewong,1111112 -cnalichnyvonne7889,1111112 -cnalichn00003,1111112 -cnalichn00006,1111112 -cnalichn00007,1111112 -cnalichn00009,1111112 -cnalichn00010,1111112 -cnalichn0002,1111112 -cnalichn0005,1111112 -cnalichn00063,1111112 -cnalichn00068,1111112 -cnalichn0007,1111112 -cnalichn00077,1111112 -wangwang8382204,1111112 -cnalichnwanglixin,1111112 -cnalichnjenniezjydxm127,1111112 -cnalichnjenniezjydxm130,1111112 -cnalichnjenniezjydxm266,1111112 -cnalichnjenniezjydxm131,1111112 -wangwang806474091,1111112 -cnalichnjenniezjydxm025,1111112 -cnalichnjenniezjydxm026,1111112 -cnalichnjenniezjydxm007,1111112 -cnalichnjenniezjydxm011,1111112 -cnalichnjason01,1111112 -cnalichnjenniezjydxm027,1111112 -cnalichnjenniezjydxm028,1111112 -cnalichnjenniezjydxm030,1111112 -cnalichnjason04,1111112 -cnalichnamychensh,1111112 -cnalichnjenniezjydxm037,1111112 -cnalichnjenniezjydxm038,1111112 -cnalichnjenniezjydxm043,1111112 -cnalichnjason06,1111112 -cnalichnjason09,1111112 -cnalichninter6,1111112 -cnalichnjenniezjydxm126,1111112 -cnalichnjenniezjydxm134,1111112 -wangwang6497565,1111112 -cnalichnjenniezjydxm136,1111112 -cnalichnjenniezjydxm137,1111112 -cnalichnjenniezjydxm139,1111112 -cnalichnjenniezjydxm141,1111112 -cnalichnjenniezjydxm142,1111112 -cnalichnname,1111112 -cnalichnjenniezjydxm143,1111112 -cnalichnwxmstar,1111112 -cnalichnwuwuj,1111112 -cnalichnxiangyun,1111112 -wangwang7287056,1111112 -cnalichnxydq,1111112 -cnalichnxyd1,1111112 -cnalichntsb9000,1111112 -cnalichnlouyuejun,1111112 -cnalichnaoao017,1111112 -cnalichn0003,1111112 -cnalichn0312map,1111112 -cnalichnwldboy,1111112 -cnalichn100020,1111112 -cnalichn100021,1111112 -cnalichn100022,1111112 -cnalichn100042,1111112 -cnalichndajiaoban77,1111112 -cnalichnjenniezjydxm106,1111112 -cnalichnhuabgzga,1111112 -cnalichncntaobao,1111112 -cnalichnhdcexmn,1111112 -cnalichnwshhz,1111112 -cnalichnjason12,1111112 -cnalichnsnakezhangw675,1111112 -cnalichn0081,1111112 -cnalichnxxlfree01,1111112 -cnalichnafafadfadf,1111112 -cnalichnelian955,1111112 -cnalichnjason03,1111112 -cnalichnzlx,1111112 -cnalichnabc009,1111112 -cnalichnsnakezhangw646,1111112 -cnalichngs03,1111112 -cnalichnwolongsxj005,1111112 -cnalichntestzw009,1111112 -cnalichntestzw010,1111112 -cnalichnhzjohn,1111112 -cnalichnabc003,1111112 -cnalichnetszs,1111112 -cnalichnxxletc020,1111112 -cnalichntptoictu004,1111112 -cnalichnzhanghaojie50,1111112 -cnalichnzhanghaojie41,1111112 -cnalichntones010,1111112 -cnalichnabcdefg1122,1111112 -cnalichntestzw007,1111112 -cnalichnsqftest055,1111112 -cnalichntestzw008,1111112 -cnalichnyuwen,1111112 -cnalichnlamber,1111112 -cnalichntestzjy10,1111112 -cnalichntones009,1111112 -cnalichntestzw018,1111112 -cnalichnsnakezhangw690,1111112 -cnalichnharveykwai,1111112 -cnalichntones006,1111112 -cnalichntones008,1111112 -cnalichnsqftest060,1111112 -cnalichnsnakezhangw660,1111112 -cnalichnczxtest20,1111112 -cnalichnczxtest42,1111112 -cnalichnfgift,1111112 -cnalichnsnakezhangw109,1111112 -cnalichnswfg,1111112 -cnalichnyanglixin,1111112 -cnalichntestzjy11,1111112 -cnalichnjenniezjydxm300,1111112 -cnalichnczxtest45,1111112 -cnalichnleding,1111112 -cnalichnxxlfree03,1111112 -cnalichnkelan23,1111112 -cnalichnetcptp019,1111112 -cnalichnetctest06,1111112 -cnalichnxxlfree06,1111112 -cnalichnczxtest21,1111112 -cnalichnczxtest41,1111112 -cnalichnwxukai,1111112 -cnalichnsnakezhangw645,1111112 -cnalichnczxtest1,1111112 -cnalichnsqftest052,1111112 -cnalichnsnakezhangw356,1111112 -cnalichnxiaolu333,1111112 -cnalichnbaobaobao,1111112 -cnalichnepop,1111112 -cnalichnetcptp018,1111112 -cnalichnzzdyjq,1111112 -cnalichnetctest2000,1111112 -cnalichnetcetp01,1111112 -cnalichnczxtest12,1111112 -cnalichnetcptp016,1111112 -cnalichnczxtest2,1111112 -cnalichnczxtest22,1111112 -cnalichnetctest07,1111112 -cnalichnzhouquanquantest1,1111112 -cnalichnjenniezjydxm072,1111112 -cnalichnsnakezhangw361,1111112 -cnalichnscottyeung,1111112 -cnalichnetcptp001,1111112 -cnalichnsnakezhangw107,1111112 -cnalichnetctest29,1111112 -cnalichnkelan2222,1111112 -cnalichnetcptp002,1111112 -cnalichnzhouquanquantest2,1111112 -cnalichnitbuqing001,1111112 -cnalichnsz99and2,1111112 -cnalichnetctest04,1111112 -cnalichnxxlfree09,1111112 -cnalichntestzjy13,1111112 -cnalichnkelan296,1111112 -cnalichnyuxh,1111112 -cnalichnxxlfree02,1111112 -cnalichnmengnica,1111112 -cnalichnxxletc015,1111112 -cnalichnxxletc019,1111112 -cnalichnkelan386,1111112 -cnalichnetctest09,1111112 -cnalichnetctest2010,1111112 -cnalichnswfj,1111112 -cnalichnalitest00001,1111112 -cnalichnetctest25,1111112 -cnalichntestzjy12,1111112 -cnalichnasec_caven_wu,1111112 -cnalichnbevin1,1111112 -cnalichnkelan299,1111112 -cnalichntestfree1,1111112 -cnalichnsnakezhangw200,1111112 -cnalichnxin02,1111112 -cnalichnphxx,1111112 -cnalichnetcptp006,1111112 -cnalichnczxtest32,1111112 -cnalichnczxtest36,1111112 -cnalichnetctest26,1111112 -cnalichnzhoulihuo888,1111112 -cnalichntestfree2,1111112 -cnalichnwolongsxj001,1111112 -cnalichnetcptp012,1111112 -cnalichnlujunying,1111112 -cnalichntptoictu018,1111112 -cnalichnzhanghaojie101,1111112 -cnalichnsnakezhangw208,1111112 -cnalichnsnakezhangw111,1111112 -cnalichnzztest,1111112 -cnalichntanbro,1111112 -cnalichnweixiaoyetp1,1111112 -cnalichn1976411,1111112 -cnalichnwh001,1111112 -cnalichngongxiaofeng,1111112 -cnalichn0419,1111112 -cnalichntptoictu005,1111112 -cnalichnzhanghaojie102,1111112 -cnalichnczxtest18,1111112 -cnalichnmakerweng,1111112 -cnalichntones002,1111112 -cnalichnjenniezjydxm045,1111112 -cnalichnjenniezjydxm046,1111112 -cnalichnjenniezjydxm233,1111112 -cnalichnoldversion01,1111112 -cnalichntest0001,1111112 -cnalichnsnakezhangw106,1111112 -cnalichnleonard3,1111112 -cnalichnbarneywang,1111112 -cnalichnyaoc,1111112 -cnalichnchance20100227181112,1111112 -cnalichnzhanghaojie120,1111112 -cnalichntptoictu015,1111112 -cnalichna0000015,1111112 -cnalichnetcptp011,1111112 -cnalichn000310,1111112 -cnalichn01shidai,1111112 -cnalichnjenniezjydxm036,1111112 -cnalichnjenniezjydxm044,1111112 -cnalichnwenzhu,1111112 -cnalichnjxxgg3025,1111112 -cnalichntpyeung,1111112 -cnalichnaliuser955,1111112 -cnalichn711030,1111112 -cnalichnyangzhq,1111112 -cnalichnhandbag_cangg,1111112 -cnalichncrmtest,1111112 -cnalichnjiett003,1111112 -cnalichneoeo031,1111112 -cnalichnzhaoll019,1111112 -cnalichnzhanghaojie25,1111112 -cnalichnchenyifan,1111112 -cnalichntptoictu009,1111112 -cnalichnzhaobarb,1111112 -cnalichnkelan156,1111112 -cnalichnsnakezhangw118,1111112 -cnalichnetcptp004,1111112 -cnalichnwangcunjiang,1111112 -cnalichnsnakezhangw105,1111112 -cnalichneyun2003,1111112 -cnalichnhslyg,1111112 -cnalichnxxlfree07,1111112 -cnalichnzxby,1111112 -cnalichn000725,1111112 -cnalichn0053,1111112 -cnalichngs06,1111112 -cnalichnsyncuser02,1111112 -cnalichnaddbind01,1111112 -cnalichnaddbind03,1111112 -cnalichnjenniezjydxm020,1111112 -cnalichnjenniezjydxm042,1111112 -cnalichnweizhu,1111112 -cnalichnjason10,1111112 -cnalichnloudsj,1111112 -cnalichnshanhaitao,1111112 -cnalichnjsxumin,1111112 -cnalichnsnakezhangw100,1111112 -cnalichnsnakezhangw894,1111112 -cnalichnlanber,1111112 -cnalichnczxtest7,1111112 -cnalichnczxtest8,1111112 -cnalichnczxtest4,1111112 -cnalichnczxtest3,1111112 -cnalichnczxtest5,1111112 -cnalichnczxtest26,1111112 -cnalichnczxtest38,1111112 -cnalichnczxtest44,1111112 -cnalichnczxtest60,1111112 -cnalichnczxtest58,1111112 -cnalichnczxtest43,1111112 -cnalichnalitestkb007,1111112 -cnalichnczxtest11,1111112 -cnalichnwebimtest000009,1111112 -cnalichnwebimtest000002,1111112 -cnalichnwebimtest000178,1111112 -cnalichnwebimtest000063,1111112 -cnalichnwebimtest000078,1111112 -cnalichnwebimtest000174,1111112 -cnalichnwebimtest000026,1111112 -cnalichnwebimtest000046,1111112 -cnalichnwebimtest000148,1111112 -cnalichnwebimtest000128,1111112 -cnalichnwebimtest000066,1111112 -cnalichnwebimtest000072,1111112 -cnalichnwebimtest000029,1111112 -cnalichnwebimtest000075,1111112 -cnalichnwebimtest000191,1111112 -cnalichnwebimtest000098,1111112 -cnalichnwebimtest000059,1111112 -cnalichnwebimtest000192,1111112 -cnalichnwebimtest000024,1111112 -cnalichnwebimtest000188,1111112 -cnalichnwebimtest000209,1111112 -cnalichnwebimtest000205,1111112 -cnalichnwebimtest000241,1111112 -cnalichnwebimtest000389,1111112 -cnalichnwebimtest000786,1111112 -cnalichnwebimtest000353,1111112 -cnalichnwebimtest000671,1111112 -cnalichnwebimtest000853,1111112 -cnalichnwebimtest001328,1111112 -cnalichnwebimtest000869,1111112 -cnalichnwebimtest001373,1111112 -cnalichnwebimtest000680,1111112 -cnalichnwebimtest000379,1111112 -cnalichnwebimtest000662,1111112 -cnalichnwebimtest001378,1111112 -cnalichnwebimtest000792,1111112 -cnalichnwebimtest001372,1111112 -cnalichnczxtest40,1111112 -cnalichnczxtest14,1111112 -cnalichnczxtest19,1111112 -cnalichnczxtest29,1111112 -cnalichnyangfei116,1111112 -cnalichnfengqin,1111112 -cnalichnczxtest13,1111112 -cnalichnczxtest25,1111112 -cnalichnczxtest46,1111112 -cnalichnczxtest35,1111112 -cnalichnczxtest57,1111112 -cnalichnjenniezjydxm091,1111112 -cnalichnwebimtest000323,1111112 -cnalichnwebimtest000371,1111112 -cnalichnwebimtest001407,1111112 -cnalichnwebimtest000350,1111112 -cnalichnwebimtest000703,1111112 -cnalichnwebimtest000938,1111112 -cnalichnwebimtest000492,1111112 -cnalichnwebimtest000597,1111112 -cnalichnwebimtest001479,1111112 -cnalichnwebimtest001919,1111112 -cnalichnwebimtest000836,1111112 -cnalichnwebimtest001459,1111112 -cnalichnwebimtest001165,1111112 -cnalichnwebimtest001094,1111112 -cnalichnwebimtest001120,1111112 -cnalichnwebimtest001200,1111112 -cnalichnwebimtest001195,1111112 -cnalichnwebimtest001251,1111112 -cnalichnwebimtest001087,1111112 -cnalichnwebimtest001052,1111112 -cnalichnwebimtest001092,1111112 -cnalichnwebimtest001115,1111112 -cnalichnwebimtest001211,1111112 -cnalichnwebimtest001223,1111112 -cnalichnwebimtest001594,1111112 -cnalichnwebimtest001485,1111112 -cnalichnwebimtest001585,1111112 -cnalichnwebimtest001879,1111112 -cnalichnwebimtest001969,1111112 -cnalichnwebimtest001548,1111112 -cnalichnwebimtest001871,1111112 -cnalichnwebimtest001884,1111112 -cnalichnwebimtest001883,1111112 -cnalichnwebimtest001992,1111112 -cnalichnwebimtest001906,1111112 -cnalichnwebimtest001540,1111112 -cnalichnwebimtest001800,1111112 -cnalichnwebimtest001873,1111112 -cnalichnwebimtest001936,1111112 -cnalichnwebimtest001990,1111112 -cnalichnwebimtest000388,1111112 -cnalichnwebimtest000630,1111112 -cnalichnwebimtest000645,1111112 -cnalichnwebimtest000643,1111112 -cnalichnwebimtest000496,1111112 -cnalichnczxtest10,1111112 -cnalichnczxtest31,1111112 -cnalichnwebimtest000004,1111112 -cnalichnyangfei300,1111112 -cnalichnwebimtest000011,1111112 -cnalichnwebimtest000014,1111112 -cnalichnwebimtest000053,1111112 -cnalichnwebimtest000048,1111112 -cnalichnwebimtest000086,1111112 -cnalichnwebimtest000157,1111112 -cnalichnwebimtest000091,1111112 -cnalichnwebimtest000134,1111112 -cnalichnwebimtest000199,1111112 -cnalichnwebimtest000034,1111112 -cnalichnwebimtest000074,1111112 -cnalichnwebimtest000122,1111112 -cnalichnwebimtest000211,1111112 -cnalichnwebimtest000233,1111112 -cnalichnwebimtest000300,1111112 -cnalichnwebimtest000375,1111112 -cnalichnwebimtest000308,1111112 -cnalichnwebimtest000364,1111112 -cnalichnwebimtest000380,1111112 -cnalichnwebimtest001306,1111112 -cnalichnwebimtest000873,1111112 -cnalichnwebimtest001405,1111112 -cnalichnwebimtest000781,1111112 -cnalichnwebimtest000374,1111112 -cnalichnwebimtest000887,1111112 -cnalichnwebimtest001384,1111112 -cnalichnwebimtest001323,1111112 -cnalichnwebimtest000249,1111112 -cnalichnwebimtest000260,1111112 -cnalichnwebimtest001498,1111112 -cnalichnwebimtest000442,1111112 -cnalichnwebimtest001702,1111112 -cnalichnwebimtest001517,1111112 -cnalichnwebimtest001446,1111112 -cnalichnwebimtest000042,1111112 -cnalichnwebimtest000052,1111112 -cnalichnwebimtest000057,1111112 -cnalichnwebimtest000107,1111112 -cnalichnwebimtest000085,1111112 -cnalichnwebimtest000050,1111112 -cnalichnwebimtest000159,1111112 -cnalichnwebimtest000041,1111112 -cnalichnwebimtest000182,1111112 -cnalichnwebimtest000058,1111112 -cnalichnwebimtest000200,1111112 -cnalichnwebimtest000204,1111112 -cnalichnwebimtest000217,1111112 -cnalichnwebimtest000304,1111112 -cnalichnwebimtest000705,1111112 -cnalichnwebimtest000268,1111112 -cnalichnwebimtest000349,1111112 -cnalichnwebimtest000817,1111112 -cnalichnwebimtest000806,1111112 -cnalichnwebimtest000702,1111112 -cnalichnwebimtest000875,1111112 -cnalichnwebimtest001318,1111112 -cnalichnjenniezjydxm093,1111112 -cnalichnwebimtest000016,1111112 -cnalichnwebimtest000131,1111112 -cnalichnwebimtest000155,1111112 -cnalichnwebimtest000153,1111112 -cnalichnwebimtest000185,1111112 -cnalichnwebimtest000142,1111112 -cnalichnwebimtest000061,1111112 -cnalichnwebimtest000105,1111112 -cnalichnwebimtest000104,1111112 -cnalichnwebimtest000124,1111112 -cnalichnwebimtest000271,1111112 -cnalichnwebimtest000256,1111112 -cnalichnwebimtest001340,1111112 -cnalichnwebimtest000707,1111112 -cnalichnwebimtest000347,1111112 -cnalichnwebimtest001338,1111112 -cnalichnwebimtest000687,1111112 -cnalichnwebimtest001310,1111112 -cnalichnwebimtest000654,1111112 -cnalichnwebimtest000352,1111112 -cnalichnwebimtest001062,1111112 -cnalichnwebimtest000789,1111112 -cnalichnczxtest9,1111112 -cnalichnczxtest56,1111112 -cnalichnjenniezjydxm049,1111112 -cnalichnwebimtest000008,1111112 -cnalichnwebimtest000018,1111112 -cnalichnwebimtest000015,1111112 -cnalichnwebimtest000038,1111112 -cnalichnwebimtest000172,1111112 -cnalichnwebimtest000130,1111112 -cnalichnwebimtest000035,1111112 -cnalichnwebimtest000139,1111112 -cnalichnwebimtest000088,1111112 -cnalichnwebimtest000133,1111112 -cnalichnwebimtest000168,1111112 -cnalichnwebimtest000110,1111112 -cnalichnwebimtest000125,1111112 -cnalichnwebimtest000113,1111112 -cnalichnwebimtest000073,1111112 -cnalichnwebimtest000100,1111112 -cnalichnwebimtest000120,1111112 -cnalichnwebimtest000591,1111112 -cnalichnwebimtest001206,1111112 -cnalichnwebimtest001219,1111112 -cnalichnwebimtest001069,1111112 -cnalichnwebimtest001042,1111112 -cnalichnwebimtest001353,1111112 -cnalichnwebimtest001170,1111112 -cnalichnwebimtest001240,1111112 -cnalichnwebimtest001168,1111112 -cnalichnwebimtest001124,1111112 -cnalichnwebimtest001045,1111112 -cnalichnwebimtest001556,1111112 -cnalichnwebimtest001787,1111112 -cnalichnwebimtest001840,1111112 -cnalichnwebimtest001829,1111112 -cnalichnwebimtest001948,1111112 -cnalichnwebimtest001513,1111112 -cnalichnwebimtest001886,1111112 -cnalichnwebimtest001914,1111112 -cnalichnwebimtest001694,1111112 -cnalichnwebimtest000655,1111112 -cnalichnwebimtest000395,1111112 -cnalichnwebimtest000929,1111112 -cnalichnwebimtest000926,1111112 -cnalichnwebimtest001104,1111112 -cnalichnwebimtest001247,1111112 -cnalichnwebimtest001106,1111112 -cnalichnwebimtest001029,1111112 -cnalichnwebimtest001254,1111112 -cnalichnwebimtest001167,1111112 -cnalichnwebimtest001268,1111112 -cnalichnwebimtest001093,1111112 -cnalichnwebimtest001255,1111112 -cnalichnwebimtest001290,1111112 -cnalichnwebimtest001209,1111112 -cnalichnwebimtest001171,1111112 -cnalichnwebimtest001266,1111112 -cnalichnwebimtest001270,1111112 -cnalichnwebimtest001253,1111112 -cnalichnwebimtest001287,1111112 -cnalichnwebimtest001349,1111112 -cnalichnwebimtest001356,1111112 -cnalichnwebimtest001216,1111112 -cnalichnwebimtest001363,1111112 -cnalichnwebimtest001284,1111112 -cnalichnwebimtest001197,1111112 -cnalichnwebimtest001138,1111112 -cnalichnwebimtest001103,1111112 -cnalichnwebimtest001129,1111112 -cnalichnwebimtest001099,1111112 -cnalichnwebimtest001208,1111112 -cnalichnwebimtest001176,1111112 -cnalichnwebimtest001277,1111112 -cnalichnwebimtest001828,1111112 -cnalichnwebimtest001789,1111112 -cnalichnwebimtest001986,1111112 -cnalichnwebimtest001916,1111112 -cnalichnwebimtest001870,1111112 -cnalichnwebimtest000657,1111112 -cnalichnwebimtest001044,1111112 -cnalichnwebimtest001173,1111112 -cnalichnwebimtest001066,1111112 -cnalichnwebimtest001330,1111112 -cnalichnwebimtest001350,1111112 -cnalichnwebimtest001348,1111112 -cnalichnwebimtest001344,1111112 -cnalichnwebimtest001574,1111112 -cnalichnwebimtest001701,1111112 -cnalichnwebimtest001283,1111112 -cnalichnwebimtest001590,1111112 -cnalichnwebimtest001598,1111112 -cnalichnwebimtest001596,1111112 -cnalichnwebimtest001424,1111112 -cnalichnwebimtest001552,1111112 -cnalichnwebimtest001862,1111112 -cnalichnwebimtest001698,1111112 -cnalichnwebimtest001909,1111112 -cnalichnwebimtest001839,1111112 -cnalichnwebimtest001858,1111112 -cnalichnwebimtest001785,1111112 -cnalichnwebimtest001820,1111112 -cnalichnwebimtest001799,1111112 -cnalichnwebimtest001793,1111112 -cnalichnwebimtest001929,1111112 -cnalichnwebimtest001911,1111112 -cnalichnwebimtest001951,1111112 -cnalichnwebimtest001953,1111112 -cnalichnwebimtest001952,1111112 -cnalichnwebimtest000950,1111112 -cnalichnwebimtest000997,1111112 -cnalichnzhmfreetest70,1111112 -cnalichnczxtest28,1111112 -cnalichnwebimtest000416,1111112 -cnalichnwebimtest000527,1111112 -cnalichnwebimtest001567,1111112 -cnalichnwebimtest000742,1111112 -cnalichnwebimtest001063,1111112 -cnalichnwebimtest001112,1111112 -cnalichnwebimtest001123,1111112 -cnalichnwebimtest001102,1111112 -cnalichnwebimtest001189,1111112 -cnalichnwebimtest001217,1111112 -cnalichnwebimtest001357,1111112 -cnalichnwebimtest001477,1111112 -cnalichnwebimtest001496,1111112 -cnalichnwebimtest001524,1111112 -cnalichnwebimtest001706,1111112 -cnalichnwebimtest001999,1111112 -cnalichnwebimtest002000,1111112 -cnalichnwebimtest001838,1111112 -cnalichnwebimtest001997,1111112 -cnalichnwebimtest000261,1111112 -cnalichnwebimtest001282,1111112 -cnalichnwebimtest001329,1111112 -cnalichnwebimtest001296,1111112 -cnalichnwebimtest001488,1111112 -cnalichnwebimtest001801,1111112 -cnalichnwebimtest001484,1111112 -cnalichnwebimtest001512,1111112 -cnalichnwebimtest001606,1111112 -cnalichnwebimtest001857,1111112 -cnalichnwebimtest001837,1111112 -cnalichnwebimtest001943,1111112 -cnalichnwebimtest001957,1111112 -cnalichnwebimtest001944,1111112 -cnalichnwebimtest000491,1111112 -cnalichnwebimtest000485,1111112 -cnalichnwebimtest000749,1111112 -cnalichnwebimtest001128,1111112 -cnalichnwebimtest001234,1111112 -cnalichnwebimtest001081,1111112 -cnalichnwebimtest001212,1111112 -cnalichnwebimtest001127,1111112 -cnalichnwebimtest001158,1111112 -cnalichnwebimtest001201,1111112 -cnalichnwebimtest001051,1111112 -cnalichnwebimtest001248,1111112 -cnalichnwebimtest001147,1111112 -cnalichnwebimtest001472,1111112 -cnalichnwebimtest001453,1111112 -cnalichnwebimtest001440,1111112 -cnalichnwebimtest001444,1111112 -cnalichnwebimtest001468,1111112 -cnalichnwebimtest001811,1111112 -cnalichnwebimtest001469,1111112 -cnalichnwebimtest001436,1111112 -cnalichnwebimtest001897,1111112 -cnalichnwebimtest001779,1111112 -cnalichnwebimtest001809,1111112 -cnalichnwebimtest001877,1111112 -cnalichnwebimtest001934,1111112 -cnalichnwebimtest001784,1111112 -cnalichnwebimtest001968,1111112 -cnalichnwebimtest001868,1111112 -cnalichnwebimtest000636,1111112 -cnalichnwebimtest000946,1111112 -cnalichnwebimtest001243,1111112 -cnalichnwebimtest001199,1111112 -cnalichnwebimtest001361,1111112 -cnalichnwebimtest001160,1111112 -cnalichnwebimtest001286,1111112 -cnalichnwebimtest001300,1111112 -cnalichnwebimtest001275,1111112 -cnalichnwebimtest001184,1111112 -cnalichnwebimtest001553,1111112 -cnalichnwebimtest001794,1111112 -cnalichnwebimtest001935,1111112 -cnalichnwebimtest001940,1111112 -cnalichnwebimtest000974,1111112 -cnalichnwebimtest000962,1111112 -cnalichnwebimtest000216,1111112 -cnalichnwebimtest000206,1111112 -cnalichnwebimtest000214,1111112 -cnalichnwebimtest000245,1111112 -cnalichnwebimtest000293,1111112 -cnalichnwebimtest000358,1111112 -cnalichnwebimtest000221,1111112 -cnalichnwebimtest000321,1111112 -cnalichnwebimtest000316,1111112 -cnalichnwebimtest000384,1111112 -cnalichnwebimtest000663,1111112 -cnalichnwebimtest000937,1111112 -cnalichnwebimtest000901,1111112 -cnalichnwebimtest001056,1111112 -cnalichnwebimtest000356,1111112 -cnalichnwebimtest000797,1111112 -cnalichnwebimtest000675,1111112 -cnalichnwebimtest000298,1111112 -cnalichnwebimtest000881,1111112 -cnalichnwebimtest000800,1111112 -cnalichnwebimtest000370,1111112 -cnalichnwebimtest000372,1111112 -cnalichnwebimtest000861,1111112 -cnalichnwebimtest001481,1111112 -cnalichnwebimtest001412,1111112 -cnalichnwebimtest001627,1111112 -cnalichnwebimtest000907,1111112 -cnalichnwebimtest001462,1111112 -cnalichnwebimtest001439,1111112 -cnalichnwebimtest001480,1111112 -cnalichnwebimtest001471,1111112 -cnalichnwebimtest001463,1111112 -cnalichnwebimtest001551,1111112 -cnalichnwebimtest001418,1111112 -cnalichnwebimtest000973,1111112 -cnalichnwebimtest000995,1111112 -cnalichnwebimtest001523,1111112 -cnalichnwebimtest001483,1111112 -cnalichnwebimtest001080,1111112 -cnalichnwebimtest001159,1111112 -cnalichnwebimtest001113,1111112 -cnalichnwebimtest001144,1111112 -cnalichnwebimtest001198,1111112 -cnalichnwebimtest001143,1111112 -cnalichnczxtest30,1111112 -cnalichnczxtest55,1111112 -cnalichnczxtest52,1111112 -cnalichncnalichn000000123123123123,1111112 -cnalichnczxtest48,1111112 -cnalichnwebimtest001445,1111112 -cnalichnwebimtest000958,1111112 -cnalichnwebimtest000954,1111112 -cnalichnwebimtest000728,1111112 -cnalichnwebimtest001049,1111112 -cnalichnwebimtest000964,1111112 -cnalichnwebimtest001847,1111112 -cnalichnwebimtest001121,1111112 -cnalichnwebimtest001207,1111112 -cnalichnwebimtest001135,1111112 -cnalichnwebimtest001126,1111112 -cnalichnwebimtest001096,1111112 -cnalichnwebimtest001352,1111112 -cnalichnwebimtest001142,1111112 -cnalichnwebimtest001175,1111112 -cnalichnwebimtest001130,1111112 -cnalichnwebimtest001214,1111112 -cnalichnwebimtest001131,1111112 -cnalichnwebimtest001084,1111112 -cnalichnwebimtest001256,1111112 -cnalichnwebimtest001185,1111112 -cnalichnwebimtest001090,1111112 -cnalichnwebimtest001116,1111112 -cnalichnwebimtest001155,1111112 -cnalichnwebimtest001241,1111112 -cnalichnwebimtest001265,1111112 -cnalichnwebimtest001355,1111112 -cnalichnwebimtest001202,1111112 -cnalichnwebimtest001027,1111112 -cnalichnwebimtest001295,1111112 -cnalichnwebimtest001525,1111112 -cnalichnwebimtest001465,1111112 -cnalichnwebimtest001577,1111112 -cnalichnwebimtest001589,1111112 -cnalichnwebimtest001529,1111112 -cnalichnwebimtest001497,1111112 -cnalichnwebimtest001428,1111112 -cnalichnwebimtest001817,1111112 -cnalichnwebimtest001861,1111112 -cnalichnwebimtest001824,1111112 -cnalichnwebimtest001788,1111112 -cnalichnwebimtest001449,1111112 -cnalichnwebimtest001504,1111112 -cnalichnczxtest15,1111112 -cnalichnczxtest16,1111112 -cnalichnczxtest23,1111112 -cnalichnczxtest24,1111112 -cnalichnczxtest27,1111112 -cnalichnczxtest59,1111112 -cnalichnczxtest51,1111112 -cnalichnwebimtest001930,1111112 -cnalichnwebimtest001849,1111112 -cnalichnwebimtest001008,1111112 -cnalichnwebimtest001010,1111112 -cnalichnwebimtest001009,1111112 -cnalichnwebimtest001018,1111112 -cnalichnwebimtest000981,1111112 -cnalichnwebimtest001013,1111112 -cnalichnwebimtest000961,1111112 -cnalichnwebimtest000968,1111112 -cnalichnwebimtest001443,1111112 -cnalichnwebimtest000331,1111112 -cnalichnwebimtest000328,1111112 -cnalichnwebimtest000333,1111112 -cnalichnwebimtest000367,1111112 -cnalichnwebimtest000329,1111112 -cnalichnwebimtest000412,1111112 -cnalichnwebimtest000481,1111112 -cnalichnwebimtest000441,1111112 -cnalichnwebimtest000557,1111112 -cnalichnwebimtest000417,1111112 -cnalichnwebimtest000710,1111112 -cnalichnwebimtest000429,1111112 -cnalichnwebimtest000558,1111112 -cnalichnwebimtest000402,1111112 -cnalichnwebimtest000390,1111112 -cnalichnwebimtest000960,1111112 -cnalichnwebimtest000996,1111112 -cnalichnwebimtest000972,1111112 -cnalichnwebimtest000534,1111112 -cnalichnwebimtest000450,1111112 -cnalichnwebimtest000224,1111112 -cnalichnwebimtest000255,1111112 -cnalichnwebimtest000226,1111112 -cnalichnwebimtest000269,1111112 -cnalichnwebimtest000239,1111112 -cnalichnwebimtest000240,1111112 -cnalichnwebimtest000252,1111112 -cnalichnwebimtest000264,1111112 -cnalichnwebimtest000280,1111112 -cnalichnwebimtest000311,1111112 -cnalichnwebimtest000236,1111112 -cnalichnwebimtest000278,1111112 -cnalichnjenniezjydxm094,1111112 -cnalichnwebimtest001040,1111112 -cnalichnwebimtest000976,1111112 -cnalichnwebimtest000992,1111112 -cnalichnwebimtest001054,1111112 -cnalichnwebimtest000991,1111112 -cnalichnwebimtest001006,1111112 -cnalichnwebimtest000965,1111112 -cnalichnwebimtest000373,1111112 -cnalichnwebimtest000337,1111112 -cnalichnwebimtest000344,1111112 -cnalichnwebimtest000377,1111112 -cnalichnwebimtest000387,1111112 -cnalichnwebimtest000330,1111112 -cnalichnwebimtest000421,1111112 -cnalichnwebimtest000628,1111112 -cnalichnwebimtest000409,1111112 -cnalichnwebimtest000443,1111112 -cnalichnwebimtest000407,1111112 -cnalichnwebimtest000988,1111112 -cnalichnwebimtest000479,1111112 -cnalichnwebimtest000440,1111112 -cnalichnwebimtest000461,1111112 -cnalichnwebimtest000418,1111112 -cnalichnwebimtest000411,1111112 -cnalichnwebimtest000405,1111112 -cnalichnwebimtest000466,1111112 -cnalichnwebimtest000434,1111112 -cnalichnwebimtest000297,1111112 -cnalichnwebimtest000286,1111112 -cnalichnwebimtest000288,1111112 -cnalichnwebimtest000313,1111112 -cnalichnwebimtest000227,1111112 -cnalichnwebimtest000314,1111112 -cnalichnwebimtest000302,1111112 -cnalichnwebimtest000561,1111112 -cnalichnwebimtest000498,1111112 -cnalichnwebimtest000562,1111112 -cnalichnwebimtest000697,1111112 -cnalichnwebimtest000579,1111112 -cnalichnwebimtest000785,1111112 -cnalichnwebimtest000791,1111112 -cnalichnwebimtest001125,1111112 -cnalichnwebimtest001088,1111112 -cnalichnwebimtest001218,1111112 -cnalichnwebimtest001082,1111112 -cnalichnwebimtest001297,1111112 -cnalichnwebimtest001105,1111112 -cnalichnwebimtest001067,1111112 -cnalichnwebimtest001162,1111112 -cnalichnwebimtest001182,1111112 -cnalichnwebimtest001203,1111112 -cnalichnwebimtest001043,1111112 -cnalichnwebimtest001280,1111112 -cnalichnwebimtest001213,1111112 -cnalichnwebimtest001228,1111112 -cnalichnwebimtest001035,1111112 -cnalichnwebimtest001210,1111112 -cnalichnwebimtest001085,1111112 -cnalichnwebimtest001351,1111112 -cnalichnwebimtest001192,1111112 -cnalichnwebimtest001448,1111112 -cnalichnwebimtest001516,1111112 -cnalichnwebimtest001452,1111112 -cnalichnwebimtest001489,1111112 -cnalichnwebimtest001834,1111112 -cnalichnwebimtest001586,1111112 -cnalichnwebimtest001576,1111112 -cnalichnwebimtest001819,1111112 -cnalichnwebimtest001900,1111112 -cnalichnwebimtest001456,1111112 -cnalichnwebimtest001798,1111112 -cnalichnwebimtest001860,1111112 -cnalichnwebimtest001955,1111112 -cnalichnwebimtest001866,1111112 -cnalichnwebimtest001644,1111112 -cnalichnwebimtest001695,1111112 -cnalichnwebimtest000594,1111112 -cnalichnwebimtest001464,1111112 -cnalichnwebimtest000924,1111112 -cnalichnwebimtest001653,1111112 -cnalichnwebimtest001244,1111112 -cnalichnwebimtest000733,1111112 -cnalichnwebimtest001169,1111112 -cnalichnwebimtest001364,1111112 -cnalichnwebimtest001285,1111112 -cnalichnczxtest47,1111112 -cnalichnwebimtest000021,1111112 -cnalichnwebimtest000102,1111112 -cnalichnwebimtest000162,1111112 -cnalichnwebimtest000084,1111112 -cnalichnwebimtest000143,1111112 -cnalichnwebimtest000037,1111112 -cnalichnwebimtest000193,1111112 -cnalichnwebimtest000097,1111112 -cnalichnwebimtest000196,1111112 -cnalichnwebimtest000215,1111112 -cnalichnwebimtest000210,1111112 -cnalichnwebimtest000290,1111112 -cnalichnwebimtest000876,1111112 -cnalichnwebimtest000234,1111112 -cnalichnwebimtest000320,1111112 -cnalichnwebimtest001375,1111112 -cnalichnwebimtest000366,1111112 -cnalichnwebimtest000793,1111112 -cnalichnwebimtest000886,1111112 -cnalichnwebimtest001342,1111112 -cnalichnwebimtest000860,1111112 -cnalichnwebimtest000855,1111112 -cnalichnwebimtest001313,1111112 -cnalichnwebimtest000296,1111112 -cnalichnwebimtest000524,1111112 -cnalichnwebimtest000533,1111112 -cnalichnwebimtest001000,1111112 -cnalichnwebimtest001605,1111112 -cnalichnwebimtest001095,1111112 -cnalichnwebimtest001226,1111112 -cnalichnwebimtest001220,1111112 -cnalichnwebimtest000007,1111112 -cnalichnwebimtest000003,1111112 -cnalichnwebimtest000030,1111112 -cnalichnwebimtest000022,1111112 -cnalichnwebimtest000165,1111112 -cnalichnwebimtest000044,1111112 -cnalichnwebimtest000170,1111112 -cnalichnwebimtest000087,1111112 -cnalichnwebimtest000177,1111112 -cnalichnwebimtest000190,1111112 -cnalichnwebimtest000195,1111112 -cnalichnwebimtest000094,1111112 -cnalichnwebimtest000181,1111112 -cnalichnwebimtest000180,1111112 -cnalichnwebimtest000213,1111112 -cnalichnwebimtest000318,1111112 -cnalichnwebimtest000218,1111112 -cnalichnwebimtest001177,1111112 -cnalichnwebimtest000354,1111112 -cnalichnwebimtest000400,1111112 -cnalichnwebimtest000393,1111112 -cnalichnwebimtest000864,1111112 -cnalichnwebimtest000287,1111112 -cnalichnwebimtest000419,1111112 -cnalichnwebimtest000465,1111112 -cnalichnwebimtest000712,1111112 -cnalichnwebimtest000613,1111112 -cnalichnwebimtest000677,1111112 -cnalichnwebimtest001422,1111112 -cnalichnwebimtest001925,1111112 -cnalichnwebimtest001001,1111112 -cnalichnxiaoxxbao202,1111112 -cnalichnwebimtest000005,1111112 -cnalichnwebimtest000006,1111112 -cnalichnwebimtest000020,1111112 -cnalichnwebimtest000013,1111112 -cnalichnwebimtest000051,1111112 -cnalichnwebimtest000118,1111112 -cnalichnwebimtest000033,1111112 -cnalichnwebimtest000176,1111112 -cnalichnwebimtest000154,1111112 -cnalichnwebimtest000092,1111112 -cnalichnwebimtest000064,1111112 -cnalichnwebimtest000077,1111112 -cnalichnwebimtest000070,1111112 -cnalichnwebimtest000187,1111112 -cnalichnwebimtest000040,1111112 -cnalichnwebimtest000114,1111112 -cnalichnwebimtest000054,1111112 -cnalichnwebimtest000117,1111112 -cnalichnwebimtest000127,1111112 -cnalichnwebimtest000198,1111112 -cnalichnwebimtest000183,1111112 -cnalichnczxtest50,1111112 -cnalichnjenniezjydxm095,1111112 -cnalichndsfs,1111112 -cnalichnwebimtest000108,1111112 -cnalichnwebimtest000135,1111112 -cnalichnwebimtest000039,1111112 -cnalichnwebimtest000156,1111112 -cnalichnwebimtest000112,1111112 -cnalichnwebimtest000083,1111112 -cnalichnwebimtest000067,1111112 -cnalichnwebimtest000186,1111112 -cnalichnwebimtest000121,1111112 -cnalichnwebimtest000295,1111112 -cnalichnwebimtest001341,1111112 -cnalichnwebimtest000324,1111112 -cnalichnwebimtest000856,1111112 -cnalichnwebimtest000900,1111112 -cnalichnwebimtest000653,1111112 -cnalichnwebimtest000885,1111112 -cnalichnwebimtest001312,1111112 -cnalichnwebimtest000639,1111112 -cnalichnwebimtest000508,1111112 -cnalichnwebimtest000253,1111112 -cnalichnwebimtest000590,1111112 -cnalichnwebimtest001546,1111112 -cnalichnwebimtest000437,1111112 -cnalichnwebimtest001775,1111112 -cnalichnwebimtest001076,1111112 -cnalichnwebimtest001237,1111112 -cnalichnjenniezjydxm092,1111112 -cnalichnwebimtest000010,1111112 -cnalichnwebimtest000019,1111112 -cnalichnwebimtest000023,1111112 -cnalichnwebimtest000031,1111112 -cnalichnwebimtest000043,1111112 -cnalichnwebimtest000032,1111112 -cnalichnwebimtest000060,1111112 -cnalichnwebimtest000069,1111112 -cnalichnwebimtest000149,1111112 -cnalichnwebimtest000132,1111112 -cnalichnwebimtest000169,1111112 -cnalichnwebimtest000160,1111112 -cnalichnwebimtest000150,1111112 -cnalichnwebimtest000089,1111112 -cnalichnwebimtest000065,1111112 -cnalichnwebimtest000173,1111112 -cnalichnwebimtest000140,1111112 -cnalichnwebimtest000137,1111112 -cnalichnwebimtest000146,1111112 -cnalichnwebimtest000175,1111112 -cnalichnwebimtest000082,1111112 -cnalichnwebimtest000164,1111112 -cnalichnwebimtest000152,1111112 -cnalichnwebimtest000071,1111112 -cnalichnwebimtest000049,1111112 -cnalichnwebimtest000167,1111112 -cnalichnwebimtest000062,1111112 -cnalichnwebimtest000025,1111112 -cnalichnwebimtest000101,1111112 -cnalichnwebimtest000197,1111112 -cnalichnwebimtest000068,1111112 -cnalichnwebimtest000126,1111112 -cnalichnwebimtest000103,1111112 -cnalichnwebimtest000036,1111112 -cnalichnwebimtest000080,1111112 -cnalichnwebimtest000136,1111112 -cnalichnwebimtest000055,1111112 -cnalichnczxtest37,1111112 -cnalichnczxtest53,1111112 -cnalichnwebimtest001441,1111112 -cnalichnwebimtest000342,1111112 -cnalichnwebimtest000361,1111112 -cnalichnwebimtest000464,1111112 -cnalichnwebimtest000403,1111112 -cnalichnwebimtest000459,1111112 -cnalichnwebimtest000456,1111112 -cnalichnwebimtest000420,1111112 -cnalichnwebimtest000414,1111112 -cnalichnwebimtest000458,1111112 -cnalichnwebimtest000257,1111112 -cnalichnwebimtest000259,1111112 -cnalichnwebimtest000250,1111112 -cnalichnwebimtest000805,1111112 -cnalichnwebimtest000760,1111112 -cnalichnwebimtest000544,1111112 -cnalichnwebimtest000569,1111112 -cnalichnwebimtest000516,1111112 -cnalichnwebimtest000743,1111112 -cnalichnwebimtest000772,1111112 -cnalichnwebimtest000668,1111112 -cnalichnwebimtest000507,1111112 -cnalichnwebimtest000506,1111112 -cnalichnwebimtest000568,1111112 -cnalichnwebimtest000741,1111112 -cnalichnwebimtest000672,1111112 -cnalichnwebimtest000773,1111112 -cnalichnwebimtest000536,1111112 -cnalichnwebimtest000550,1111112 -cnalichnwebimtest000670,1111112 -cnalichnwebimtest000659,1111112 -cnalichnwebimtest000567,1111112 -cnalichnwebimtest000747,1111112 -cnalichnwebimtest000970,1111112 -cnalichnwebimtest001004,1111112 -cnalichnwebimtest001048,1111112 -cnalichnwebimtest000953,1111112 -cnalichnwebimtest000993,1111112 -cnalichnwebimtest001039,1111112 -cnalichnwebimtest001426,1111112 -cnalichnwebimtest000382,1111112 -cnalichnwebimtest000345,1111112 -cnalichnwebimtest000369,1111112 -cnalichnwebimtest000385,1111112 -cnalichnwebimtest000336,1111112 -cnalichnwebimtest000322,1111112 -cnalichnwebimtest000332,1111112 -cnalichnwebimtest000462,1111112 -cnalichnwebimtest000415,1111112 -cnalichnwebimtest000433,1111112 -cnalichnwebimtest000426,1111112 -cnalichnwebimtest000404,1111112 -cnalichnwebimtest000444,1111112 -cnalichnwebimtest000463,1111112 -cnalichnwebimtest000436,1111112 -cnalichnwebimtest000432,1111112 -cnalichnwebimtest000272,1111112 -cnalichnwebimtest000266,1111112 -cnalichnwebimtest000243,1111112 -cnalichnwebimtest000242,1111112 -cnalichnwebimtest000913,1111112 -cnalichnwebimtest000835,1111112 -cnalichnwebimtest000813,1111112 -cnalichnwebimtest000642,1111112 -cnalichnwebimtest000685,1111112 -cnalichnwebimtest000757,1111112 -cnalichnwebimtest000545,1111112 -cnalichnwebimtest000633,1111112 -cnalichnwebimtest000632,1111112 -cnalichnwebimtest000617,1111112 -cnalichnwebimtest000734,1111112 -cnalichnwebimtest000604,1111112 -cnalichnwebimtest000669,1111112 -cnalichnwebimtest000658,1111112 -cnalichnwebimtest000552,1111112 -cnalichnwebimtest000644,1111112 -cnalichnwebimtest000718,1111112 -cnalichnwebimtest000001,1111112 -cnalichnwebimtest001156,1111112 -cnalichnwebimtest001263,1111112 -cnalichnwebimtest001117,1111112 -cnalichnwebimtest001299,1111112 -cnalichnwebimtest001360,1111112 -cnalichnwebimtest001294,1111112 -cnalichnwebimtest001573,1111112 -cnalichnwebimtest001222,1111112 -cnalichnwebimtest001599,1111112 -cnalichnwebimtest001786,1111112 -cnalichnwebimtest001945,1111112 -cnalichnwebimtest001939,1111112 -cnalichnwebimtest001915,1111112 -cnalichnwebimtest001950,1111112 -cnalichnwebimtest001921,1111112 -cnalichnwebimtest001918,1111112 -cnalichnwebimtest000985,1111112 -cnalichnwebimtest000956,1111112 -cnalichnwebimtest001015,1111112 -cnalichnwebimtest001025,1111112 -cnalichnwebimtest001021,1111112 -cnalichnwebimtest001016,1111112 -cnalichnwebimtest000948,1111112 -cnalichnwebimtest001012,1111112 -cnalichnwebimtest000983,1111112 -cnalichnwebimtest001011,1111112 -cnalichnwebimtest001019,1111112 -cnalichnwebimtest000980,1111112 -cnalichnwebimtest001086,1111112 -cnalichnwebimtest000994,1111112 -cnalichnwebimtest001022,1111112 -cnalichnwebimtest000969,1111112 -cnalichnwebimtest001026,1111112 -cnalichnwebimtest001005,1111112 -cnalichnwebimtest001024,1111112 -cnalichnwebimtest001033,1111112 -cnalichnwebimtest001047,1111112 -cnalichnwebimtest001046,1111112 -cnalichnwebimtest001031,1111112 -cnalichnwebimtest001041,1111112 -cnalichnwebimtest001427,1111112 -cnalichnczxtest39,1111112 -cnalichnczxtest17,1111112 -cnalichnczxtest49,1111112 -cnalichnwebimtest001233,1111112 -cnalichnwebimtest001224,1111112 -cnalichnwebimtest001924,1111112 -cnalichnwebimtest001461,1111112 -cnalichnwebimtest001865,1111112 -cnalichnwebimtest001174,1111112 -cnalichnwebimtest001279,1111112 -cnalichnwebimtest001187,1111112 -cnalichnwebimtest001262,1111112 -cnalichnwebimtest001354,1111112 -cnalichnwebimtest001856,1111112 -cnalichnwebimtest001460,1111112 -cnalichnwebimtest001928,1111112 -cnalichnwebimtest001003,1111112 -cnalichnwebimtest001072,1111112 -cnalichnwebimtest001007,1111112 -cnalichnwebimtest000975,1111112 -cnalichnwebimtest001038,1111112 -cnalichnwebimtest001273,1111112 -cnalichnczxtest33,1111112 -cnalichnwebimtest001887,1111112 -cnalichnwebimtest001984,1111112 -cnalichnwebimtest001966,1111112 -cnalichnwebimtest001971,1111112 -cnalichnwebimtest001664,1111112 -cnalichnwebimtest001912,1111112 -cnalichnwebimtest001852,1111112 -cnalichnwebimtest001745,1111112 -cnalichnwebimtest001746,1111112 -cnalichnwebimtest000274,1111112 -cnalichnwebimtest000635,1111112 -cnalichnwebimtest000595,1111112 -cnalichnwebimtest001137,1111112 -cnalichnwebimtest001157,1111112 -cnalichnwebimtest001172,1111112 -cnalichnwebimtest001257,1111112 -cnalichnwebimtest001134,1111112 -cnalichnwebimtest001331,1111112 -cnalichnwebimtest001362,1111112 -cnalichnwebimtest001246,1111112 -cnalichnwebimtest001232,1111112 -cnalichnwebimtest001140,1111112 -cnalichnwebimtest001148,1111112 -cnalichnwebimtest001193,1111112 -cnalichnayisha000,1111112 -cnalichnczxtest6,1111112 -cnalichnwebimtest000184,1111112 -cnalichnwebimtest000231,1111112 -cnalichnwebimtest000251,1111112 -cnalichnwebimtest000225,1111112 -cnalichnwebimtest000220,1111112 -cnalichnwebimtest000803,1111112 -cnalichnwebimtest000582,1111112 -cnalichnwebimtest000230,1111112 -cnalichnwebimtest000282,1111112 -cnalichnwebimtest000701,1111112 -cnalichnwebimtest000397,1111112 -cnalichnwebimtest000348,1111112 -cnalichnwebimtest001385,1111112 -cnalichnwebimtest001322,1111112 -cnalichnwebimtest001321,1111112 -cnalichnwebimtest001386,1111112 -cnalichnwebimtest000326,1111112 -cnalichnwebimtest001058,1111112 -cnalichnwebimtest000386,1111112 -cnalichnwebimtest000895,1111112 -cnalichnwebimtest001537,1111112 -cnalichnwebimtest000851,1111112 -cnalichnwebimtest000455,1111112 -cnalichnwebimtest001438,1111112 -cnalichnwebimtest000694,1111112 -cnalichnwebimtest001071,1111112 -cnalichnwebimtest001539,1111112 -cnalichnwebimtest001555,1111112 -cnalichnwebimtest001487,1111112 -cnalichnwebimtest001473,1111112 -cnalichnwebimtest001527,1111112 -cnalichnwebimtest001221,1111112 -cnalichnwebimtest001149,1111112 -cnalichnwebimtest001242,1111112 -cnalichnwebimtest001136,1111112 -cnalichnwebimtest001347,1111112 -cnalichnwebimtest001229,1111112 -cnalichnwebimtest001074,1111112 -cnalichnwebimtest001145,1111112 -cnalichnwebimtest001100,1111112 -cnalichnwebimtest001288,1111112 -cnalichnwebimtest001292,1111112 -cnalichnwebimtest001163,1111112 -cnalichnwebimtest001564,1111112 -cnalichnwebimtest001703,1111112 -cnalichnwebimtest001520,1111112 -cnalichnwebimtest001810,1111112 -cnalichnwebimtest001975,1111112 -cnalichnwebimtest001630,1111112 -cnalichnwebimtest001790,1111112 -cnalichnwebimtest001667,1111112 -cnalichnwebimtest001972,1111112 -cnalichnwebimtest000396,1111112 -cnalichnwebimtest000666,1111112 -cnalichnwebimtest001684,1111112 -cnalichnwebimtest001204,1111112 -cnalichnwebimtest001293,1111112 -cnalichnwebimtest001346,1111112 -cnalichnwebimtest001601,1111112 -cnalichnwebimtest001844,1111112 -cnalichnwebimtest001926,1111112 -cnalichnwebimtest001846,1111112 -cnalichnwebimtest000955,1111112 -cnalichnwebimtest000999,1111112 -cnalichnwebimtest000979,1111112 -cnalichnwebimtest001020,1111112 -cnalichnwebimtest001017,1111112 -cnalichnwebimtest000401,1111112 -cnalichnwebimtest000431,1111112 -cnalichnwebimtest000497,1111112 -cnalichnwebimtest000301,1111112 diff --git a/features/aliww/data/cntaobao.csv b/features/aliww/data/cntaobao.csv deleted file mode 100644 index 6204594..0000000 --- a/features/aliww/data/cntaobao.csv +++ /dev/null @@ -1,2038 +0,0 @@ -cntaobaoabc001,system -cntaobaojxxgg,system -cntaobaochmrwx,system -cntaobao@1=4,system -cntaobaoabc200:Ll2E,system -cntaobaocooldog,system -cntaobao2;6.,system -cntaobaoabcd002,system -cntaobaoabc502,system -cntaobaoevita,system -cntaobaocoffeechen,system -cntaobaostartan,system -cntaobaoA+V[,system -cntaobaoH}7a,system -cntaobaoviyamo,system -cntaobaomfrogc4,system -cntaobaoU}7g1,system -cntaobaoxiaobao,system -cntaobaoTFFk2bJTUJ:E10,system -cntaobaoabcR;P],system -cntaobaozizaitest10010,system -cntaobaosogood,system -cntaobaoabc2002,system -cntaobaoSq;*I=W/,system -cntaobaohellokityW(Bt5j,system -cntaobaoabctao,system -cntaobaoabcterence,system -cntaobaoabctjp,system -cntaobaoabc198234,system -cntaobaoabc198272,system -cntaobaoabc19830523,system -cntaobaoabc198364,system -cntaobaoabc1983718,system -cntaobaoabc1983926,system -cntaobaoabc19840311,system -cntaobaoabc19840604,system -cntaobaoabc19840818,system -cntaobaoabc19848911,system -cntaobaoabc19850112,system -cntaobaoabc19850124,system -cntaobaoabc19851226,system -cntaobaoabc198518,system -cntaobaoabc198583,system -cntaobaoabc198668,system -cntaobaoabc1986711,system -cntaobaoabc19891110,system -cntaobaoabc199806,system -cntaobaoabc1999,system -cntaobaoabc1_OtOt,system -cntaobaoabc1def1,system -cntaobaoabc6791731,system -cntaobaoabc67jerry,system -cntaobaoabc680,system -cntaobaoabc6800798,system -cntaobaoabc6815268,system -cntaobaoabc6828_cn,system -cntaobaoabc6829111,system -cntaobaoabc6861410,system -cntaobaoabc68888,system -cntaobaoabc689121,system -cntaobaoabc6894634,system -cntaobaoabc6969996,system -cntaobaoabc6982216,system -cntaobaoabc698411,system -cntaobaoabc7009,system -cntaobaoabc700909,system -cntaobaoabc702,system -cntaobaoabc708290,system -cntaobaoabc7086,system -cntaobaoabc71007,system -cntaobaoabc710424,system -cntaobaoabc720,system -cntaobaoabc720122,system -cntaobaoabc7206659,system -cntaobaoabc7233,system -cntaobaoabccba567,system -cntaobaoabccba678,system -cntaobaoabccba881,system -cntaobaoabccba8888,system -cntaobaoabccba9889,system -cntaobaoabccba99,system -cntaobaoabccba9978,system -cntaobaoabccbahuangfeihu,system -cntaobaoabccbanba,system -cntaobaoabccbef,system -cntaobaoabcccb1999,system -cntaobaoabcccc,system -cntaobaoabcccc1,system -cntaobaoabcccce,system -cntaobaoabcccd2010,system -cntaobaoabccch,system -cntaobaoabccd,system -cntaobaoabccd3,system -cntaobaoabccd5,system -cntaobaoabccde81,system -cntaobaoabccdeefg,system -cntaobaoabccdefgh,system -cntaobaoabccg,system -cntaobaoabcchan,system -cntaobaoabcchen12,system -cntaobaoabcchenabcchen,system -cntaobaoabcchina,system -cntaobaoabccissy,system -cntaobaoabcdabcd1111,system -cntaobaoabcdabcd123488,system -cntaobaoabcdabcd123_007,system -cntaobaoabcdabcd123ok,system -cntaobaoabcdabcdcn,system -cntaobaoabcdabcdhk,system -cntaobaoabcdabcdzxcvzxcv,system -cntaobaoabcdabcl,system -cntaobaoabcdac,system -cntaobaoabcdaibocai5,system -cntaobaoabcdandan,system -cntaobaoabcdandyabc,system -cntaobaoabcdanni,system -cntaobaoabcdanqi,system -cntaobaoabcdasd1,system -cntaobaoabcdbacd,system -cntaobaoabcdbbs,system -cntaobaoabcdbdj,system -cntaobaoabcdcc88,system -cntaobaoabcdcccc,system -cntaobaoabcdcfg,system -cntaobaoabcdcold,system -cntaobaoabcdcom,system -cntaobaoabcdcx,system -cntaobaoabcdczj,system -cntaobaoabcdd123,system -cntaobaoabcddbcd,system -cntaobaoabcddcba001100,system -cntaobaoabcdh003,system -cntaobaoabcdhao,system -cntaobaoabcdhh,system -cntaobaoabcdhhhh,system -cntaobaoabcdhijkl,system -cntaobaoabcdhl,system -cntaobaoabcdhsc,system -cntaobaoabcdianguang,system -cntaobaoabcdilng,system -cntaobaoabcdilove,system -cntaobaoabcdjack,system -cntaobaoabcdji900,system -cntaobaoabcdjjj,system -cntaobaoabcdkkk,system -cntaobaoabcdkkk888,system -cntaobaoabcdlb8023,system -cntaobaoabcdli2728,system -cntaobaoabcdlk122,system -cntaobaoabcdlxj,system -cntaobaoabcvisa,system -cntaobaoabc005,system -cntaobaogoogoo,system -cntaobao6`B!,system -cntaobaoabc1zyb,system -cntaobaoabc2000tj,system -cntaobaoabc2000x123,system -cntaobaoabc2000xy,system -cntaobaoabc200200,system -cntaobaoabc20041222,system -cntaobaoabc200456,system -cntaobaoabc200488,system -cntaobaoabc2004k,system -cntaobaoabc2004net10,system -cntaobaoabc2005121,system -cntaobaoabc20051218,system -cntaobaoabc200555,system -cntaobaoabc20056,system -cntaobaoabc20060330,system -cntaobaoabc20060426,system -cntaobaoabc2006118,system -cntaobaoabc2006313,system -cntaobaoabc2006_abc,system -cntaobaoabc2006tp,system -cntaobaoabc20086,system -cntaobaoabc200888,system -cntaobaoabc200897782,system -cntaobaoabc201707,system -cntaobaoabc201817,system -cntaobaoabc20186,system -cntaobaoabc7266291,system -cntaobaoabc7294,system -cntaobaoabc731109,system -cntaobaoabc731731,system -cntaobaoabc731899,system -cntaobaoabc73354210,system -cntaobaoabc7338,system -cntaobaoabc737,system -cntaobaoabc7377,system -cntaobaoabc740411,system -cntaobaoabc7407,system -cntaobaoabc741030,system -cntaobaoabc74328,system -cntaobaoabc74744747,system -cntaobaoabc749129,system -cntaobaoabc751416061,system -cntaobaoabc75440959,system -cntaobaoabc755,system -cntaobaoabc7586932,system -cntaobaoabc75998080,system -cntaobaoabc75def,system -cntaobaoabc7617736200,system -cntaobaoabc7651771,system -cntaobaoabc7679662,system -cntaobaoabc7722168,system -cntaobaoabc7738464,system -cntaobaoabc77415,system -cntaobaoabc777559,system -cntaobaoabc77770,system -cntaobaoabc777999,system -cntaobaoabccjb,system -cntaobaoabccjyj,system -cntaobaoabcclove,system -cntaobaoabcclub,system -cntaobaoabccmh123,system -cntaobaoabccmy123,system -cntaobaoabccnbcsbtlhy,system -cntaobaoabcco,system -cntaobaoabccomss,system -cntaobaoabccsd,system -cntaobaoabcct,system -cntaobaoabcctv,system -cntaobaoabccy,system -cntaobaoabccy1967,system -cntaobaoabcd-01234,system -cntaobaoabcd-1981-1981,system -cntaobaoabcd-63438668,system -cntaobaoabcd.1234,system -cntaobaoabcd.one,system -cntaobaoabcd000000001,system -cntaobaoabcd00000001,system -cntaobaoabcd000001,system -cntaobaoabcd00009999,system -cntaobaoabcd0000abcd,system -cntaobaoabcd000_2005,system -cntaobaoabcd001002,system -cntaobaoabcd0012300123,system -cntaobaoabcd005,system -cntaobaoabcd0050,system -cntaobaoabcd00603131,system -cntaobaoabcd0088,system -cntaobaoabcd0089,system -cntaobaoabcd00938,system -cntaobaoabcd0115,system -cntaobaoabcddcba12345,system -cntaobaoabcddcba14998,system -cntaobaoabcddcba21,system -cntaobaoabcddcba321,system -cntaobaoabcddd20082008,system -cntaobaoabcdddam,system -cntaobaoabcddddd,system -cntaobaoabcdddkio,system -cntaobaoabcddef,system -cntaobaoabcddefg,system -cntaobaoabcddoremi,system -cntaobaoabcde-edcba,system -cntaobaoabcde0,system -cntaobaoabcde001,system -cntaobaoabcde0088,system -cntaobaoabcde00_2005,system -cntaobaoabcde010203,system -cntaobaoabcde0286,system -cntaobaoabcde0315,system -cntaobaoabcde0320,system -cntaobaoabcde06,system -cntaobaoabcde0918,system -cntaobaoabcde1005,system -cntaobaoabcde112,system -cntaobaoabcde1122,system -cntaobaoabcde122333444455555,system -cntaobaoabcde123411,system -cntaobaoabcde123450123,system -cntaobaoabcde12345672,system -cntaobaoabcde123456_2005,system -cntaobaoabcdpyj,system -cntaobaoabcdqq123456789qq,system -cntaobaoabcdqwer,system -cntaobaoabcdrfg,system -cntaobaoabcdrl,system -cntaobaoabcds,system -cntaobaoabcds8,system -cntaobaoabcdsegaa,system -cntaobaoabcdsert,system -cntaobaoabcdsetup,system -cntaobaoabcdsh,system -cntaobaoabcdshock,system -cntaobaoabcdshoot,system -cntaobaoabcdsj199426,system -cntaobaoabcdsof,system -cntaobaoabcdss,system -cntaobaoabcdt131425,system -cntaobaoabcwwc,system -cntaobaoabcwxy,system -cntaobaoabcx,system -cntaobaoabcxf,system -cntaobao1122qwertyuiop007,system -cntaobaoabctb,system -cntaobaoP!1&,system -cntaobaoabc2071721,system -cntaobaoabc2080,system -cntaobaoabc2090874,system -cntaobaoabc21.-.03,system -cntaobaoabc2108330,system -cntaobaoabc21121,system -cntaobaoabc2117,system -cntaobaoabc212,system -cntaobaoabc212121,system -cntaobaoabc2123695,system -cntaobaoabc21240288888,system -cntaobaoabc2127,system -cntaobaoabc214081982,system -cntaobaoabc214486,system -cntaobaoabc2153,system -cntaobaoabc216,system -cntaobaoabc217,system -cntaobaoabc2182343,system -cntaobaoabc2210210,system -cntaobaoabc221410,system -cntaobaoabc221414,system -cntaobaoabc2223677,system -cntaobaoabc222wwj,system -cntaobaoabc223719,system -cntaobaoabc2251,system -cntaobaoabc225115,system -cntaobaoabc2259,system -cntaobaoabc2261928,system -cntaobaoabc2262456,system -cntaobaoabc2287822,system -cntaobaoabc2288,system -cntaobaoabc777xx,system -cntaobaoabc778899,system -cntaobaoabc78099495,system -cntaobaoabc7810130,system -cntaobaoabc78123,system -cntaobaoabc7849101,system -cntaobaoabc7879,system -cntaobaoabc7890,system -cntaobaoabc789000,system -cntaobaoabc789188,system -cntaobaoabc7892,system -cntaobaoabc789516,system -cntaobaoabc789920,system -cntaobaoabc7908,system -cntaobaoabc79155,system -cntaobaoabc79238042,system -cntaobaoabc7971,system -cntaobaoabc797260,system -cntaobaoabc79864048,system -cntaobaoabc8010159,system -cntaobaoabc8018,system -cntaobaoabc8019,system -cntaobaoabc802,system -cntaobaoabc806,system -cntaobaoabcd012341234,system -cntaobaoabcd0123456789,system -cntaobaoabcd020,system -cntaobaoabcd0201,system -cntaobaoabcd0216,system -cntaobaoabcd0244151,system -cntaobaoabcd0308,system -cntaobaoabcd0310,system -cntaobaoabcd0311,system -cntaobaoabcd031188,system -cntaobaoabcd0318,system -cntaobaoabcd0320sc88,system -cntaobaoabcd034151,system -cntaobaoabcd0369,system -cntaobaoabcd03961999,system -cntaobaoabcd0427,system -cntaobaoabcd0476,system -cntaobaoabcd0517,system -cntaobaoabcd0623456,system -cntaobaoabcd0726abcd,system -cntaobaoabcd0770,system -cntaobaoabcd0813,system -cntaobaoabcd08140814,system -cntaobaoabcd100200,system -cntaobaoabcd1010_2005,system -cntaobaoabcd1014,system -cntaobaoabcd110011,system -cntaobaoabcd11026,system -cntaobaoabcd1104,system -cntaobaoabcd11088,system -cntaobaoabcd111,system -cntaobaoabcd11111,system -cntaobaoabcde123456sz,system -cntaobaoabcde1234kkkl,system -cntaobaoabcde123666,system -cntaobaoabcde1237891,system -cntaobaoabcde123edbca,system -cntaobaoabcde127,system -cntaobaoabcde1314520,system -cntaobaoabcde1367513,system -cntaobaoabcde1546,system -cntaobaoabcde1588,system -cntaobaoabcde178178,system -cntaobaoabcde1884,system -cntaobaoabcde196311,system -cntaobaoabcde19edcba,system -cntaobaoabcde1_2005,system -cntaobaoabcde1fghijk,system -cntaobaoabcde2008fg,system -cntaobaoabcde222333444,system -cntaobaoabcde277,system -cntaobaoabcde30,system -cntaobaoabcde3093,system -cntaobaoabcde331188,system -cntaobaoabcde34511,system -cntaobaoabcdtfg,system -cntaobaoabcdth2006,system -cntaobaoabcdthank,system -cntaobaoabcdting,system -cntaobaoabcdtom111,system -cntaobaoabcdtwins,system -cntaobaoabcdtxyz,system -cntaobaoabcdu,system -cntaobaoabcduc123,system -cntaobaoabcdv2003,system -cntaobaoabcdv2555,system -cntaobaoabcdv2666,system -cntaobaoabcdv888,system -cntaobaoabcdvera,system -cntaobaoabcdvking,system -cntaobaoabcdvtok,system -cntaobaoabcdvya,system -cntaobaoabcdwc88,system -cntaobaoabcdwoailixia,system -cntaobaoabcdworldton,system -cntaobaoabcdwxl,system -cntaobaoabcdwxwx,system -cntaobaoabcdwz,system -cntaobaoabcdxfg,system -cntaobao3$?U,system -cntaobaoNR0.!nB|!n,system -cntaobaoabc2288492,system -cntaobaoabc229138704,system -cntaobaoabc229528622,system -cntaobaoabc22960743,system -cntaobaoabc2300907,system -cntaobaoabc2317559,system -cntaobaoabc2317627,system -cntaobaoabc23221320,system -cntaobaoabc2330771,system -cntaobaoabc2341,system -cntaobaoabc2345,system -cntaobaoabc23456666,system -cntaobaoabc2347399,system -cntaobaoabc2364231,system -cntaobaoabc237001066,system -cntaobaoabc2396,system -cntaobaoabc240240,system -cntaobaoabc240322,system -cntaobaoabc2424582,system -cntaobaoabc2461,system -cntaobaoabc24680,system -cntaobaoabc249093698,system -cntaobaoabc250548444,system -cntaobaoabc250584307,system -cntaobaoabc25221462,system -cntaobaoabc2525255,system -cntaobaoabc25253,system -cntaobaoabc253803,system -cntaobaoabc2550229,system -cntaobaoabc8081699,system -cntaobaoabc8082311,system -cntaobaoabc8085,system -cntaobaoabc8088,system -cntaobaoabc80984,system -cntaobaoabc8103,system -cntaobaoabc811102,system -cntaobaoabc811129,system -cntaobaoabc81167,system -cntaobaoabc81223419,system -cntaobaoabc8127112,system -cntaobaoabc817419,system -cntaobaoabc81781,system -cntaobaoabc81801226,system -cntaobaoabc8192979,system -cntaobaoabc82,system -cntaobaoabc820110,system -cntaobaoabc820121,system -cntaobaoabc8223,system -cntaobaoabc822324,system -cntaobaoabc8234213,system -cntaobaoabc82410,system -cntaobaoabc827,system -cntaobaoabc8270008,system -cntaobaoabc828788,system -cntaobaoabc8288,system -cntaobaoabc828886,system -cntaobaoabc8302,system -cntaobaoabc8304821110,system -cntaobaoabc8308504,system -cntaobaoabc831019,system -cntaobaoabc83110060,system -cntaobaoabcd111222,system -cntaobaoabcd11123,system -cntaobaoabcd1116,system -cntaobaoabcd111_007,system -cntaobaoabcd111eee,system -cntaobaoabcd111f,system -cntaobaoabcd111kong,system -cntaobaoabcd1128,system -cntaobaoabcd1155,system -cntaobaoabcd1177,system -cntaobaoabcd11800,system -cntaobaoabcd12004,system -cntaobaoabcd12121,system -cntaobaoabcd121212,system -cntaobaoabcd123012302,system -cntaobaoabcd1230789,system -cntaobaoabcd123121,system -cntaobaoabcd123168,system -cntaobaoabcd123188,system -cntaobaoabcd123321_tb,system -cntaobaoabcd1233536,system -cntaobaoabcd1234,system -cntaobaoabcd1234168,system -cntaobaoabcd12343q,system -cntaobaoabcd1234456,system -cntaobaoabcd1234567,system -cntaobaoabcd1234567222,system -cntaobaoabcd12345673,system -cntaobaoabcde58823,system -cntaobaoabcde6789012345,system -cntaobaoabcde682,system -cntaobaoabcde724,system -cntaobaoabcde780330,system -cntaobaoabcde781,system -cntaobaoabcde78966,system -cntaobaoabcde8300,system -cntaobaoabcde841204com,system -cntaobaoabcde84942,system -cntaobaoabcde8810,system -cntaobaoabcde887,system -cntaobaoabcde88777,system -cntaobaoabcde8881,system -cntaobaoabcde88881,system -cntaobaoabcde88888,system -cntaobaoabcde919,system -cntaobaoabcde95,system -cntaobaoabcde978,system -cntaobaoabcde9876543210,system -cntaobaoabcde989,system -cntaobaoabcde9999,system -cntaobaoabcde999_999,system -cntaobaoabcde_,system -cntaobaoabcde_00007,system -cntaobaoabcde_01,system -cntaobaoabcde_11,system -cntaobaoabcde_12345_007,system -cntaobaoabcdy-198102,system -cntaobaoabcdyyd,system -cntaobaoabcdzzz3,system -cntaobaoabcd4s06y!y!n,system -cntaobaotest2002,system -cntaobaoabc-9999,system -cntaobaoabc.1.2.3,system -cntaobaoabc0000,system -cntaobaoabc00079,system -cntaobaoabc000abc88,system -cntaobaoabc000qqq,system -cntaobaoabc0010011,system -cntaobaoabc0011,system -cntaobaoabc001110,system -cntaobaoabc00191,system -cntaobaoabc00369,system -cntaobaoabc0036987,system -cntaobaoabc006,system -cntaobaoabc007000,system -cntaobaoabc0073100,system -cntaobaoabc0076,system -cntaobaoabc007wlq,system -cntaobaoabc008_008,system -cntaobaoabc008kkk,system -cntaobao999abc,system -cntaobaoabc260643675,system -cntaobaoabc26234,system -cntaobaoabc2630976,system -cntaobaoabc2633141,system -cntaobaoabc2651574,system -cntaobaoabc2652,system -cntaobaoabc26600,system -cntaobaoabc268,system -cntaobaoabc2680884,system -cntaobaoabc2699979,system -cntaobaoabc27,system -cntaobaoabc274222709,system -cntaobaoabc278142006,system -cntaobaoabc2788101,system -cntaobaoabc2811,system -cntaobaoabc28145606,system -cntaobaoabc2832244,system -cntaobaoabc283445413,system -cntaobaoabc28439989,system -cntaobaoabc287691109,system -cntaobaoabc28785508,system -cntaobaoabc28821847,system -cntaobaoabc288288,system -cntaobaoabc295785109,system -cntaobaoabc296636244,system -cntaobaoabc297102732,system -cntaobaoabc831124abc,system -cntaobaoabc83168666,system -cntaobaoabc832175,system -cntaobaoabc83658146,system -cntaobaoabc8367157,system -cntaobaoabc83808875,system -cntaobaoabc839ling,system -cntaobaoabc840818,system -cntaobaoabc8410081,system -cntaobaoabc841017,system -cntaobaoabc8418,system -cntaobaoabc8425,system -cntaobaoabc84303,system -cntaobaoabc845,system -cntaobaoabc8471,system -cntaobaoabc850430,system -cntaobaoabc8508243,system -cntaobaoabc8511242,system -cntaobaoabc85182546,system -cntaobaoabc8522,system -cntaobaoabc85233123,system -cntaobaoabc85468,system -cntaobaoabc8548,system -cntaobaoabc85535298,system -cntaobaoabc8575,system -cntaobaoabc8579,system -cntaobaoabc858,system -cntaobaoabc8582,system -cntaobaoabc85861263,system -cntaobaoabc85961,system -cntaobaoabc8598156,system -cntaobaoabc85988,system -cntaobaoabcd12345678_2005,system -cntaobaoabcd12345678abcd,system -cntaobaoabcd123456a,system -cntaobaoabcd123456sf,system -cntaobaoabcd123459,system -cntaobaoabcd12345_tb,system -cntaobaoabcd1234787,system -cntaobaoabcd1234921,system -cntaobaoabcd12349211,system -cntaobaoabcd123492111,system -cntaobaoabcd1234998,system -cntaobaoabcd1234abcd2005,system -cntaobaoabcd1234abcd911,system -cntaobaoabcd1234elulu,system -cntaobaoabcd123588,system -cntaobaoabcd123616,system -cntaobaoabcd12366,system -cntaobaoabcd123945,system -cntaobaoabcd123abcd123,system -cntaobaoabcd123efghhh,system -cntaobaoabcd12590,system -cntaobaoabcd129111,system -cntaobaoabcd12_3,system -cntaobaoabcd1314520,system -cntaobaoabcd1314_9950,system -cntaobaoabcd132,system -cntaobaoabcd135238,system -cntaobaoabcd1354997,system -cntaobaoabcd1357su,system -cntaobaoabcd1368888,system -cntaobaoabcd13833047095,system -cntaobaoabcde_123_2005,system -cntaobaoabcde_168149,system -cntaobaoabcde_4444_2005,system -cntaobaoabcde_abcdef,system -cntaobaoabcde_cn,system -cntaobaoabcde_qt,system -cntaobaoabcde_qtds,system -cntaobaoabcde_tb,system -cntaobaoabcde_Q),system -cntaobaoabcdea520,system -cntaobaoabcdeabcde9,system -cntaobaoabcdeabcdeabcde,system -cntaobaoabcdeamwfn,system -cntaobaoabcdebb88,system -cntaobaoabcdeda,system -cntaobaoabcdedcba1223,system -cntaobaoabcdef,system -cntaobaoabcdef00123,system -cntaobaoabcdH%DjODLl,system -cntaobaoabcdI=Vq,system -cntaobaoabcdS(S(,system -cntaobaoabcdTNTN,system -cntaobaoabce163,system -cntaobaoabce180,system -cntaobaoabce20599,system -cntaobaoabce530,system -cntaobaoabce_1019,system -cntaobaoabceasy1,system -cntaobaoabcebuy,system -cntaobaoabcedc,system -cntaobaoabcedf333,system -cntaobaoabcedfg1122,system -cntaobaoabcedfghi,system -cntaobaoabcedfgvin,system -cntaobaoabceecd,system -cntaobaoabceefg,system -cntaobaoabcef007,system -cntaobaoabcef5490042,system -cntaobaoabcefdj,system -cntaobaoabcei,system -cntaobaoabceov,system -cntaobaoabcess,system -cntaobaoabcexc,system -cntaobaoabczhangjing,system -cntaobaoabczhiyinshe,system -cntaobaoabczm5278,system -cntaobaoabczn12345,system -cntaobaoabczoutao,system -cntaobaoabczxby5188,system -cntaobaoabczxc,system -cntaobaoabczxcasdq,system -cntaobaoabczxcvbnm88,system -cntaobaoabczxh123,system -cntaobaoabczxw72,system -cntaobaoabczxy11,system -cntaobaoabczxy310,system -cntaobaoabc010,system -cntaobaoabc011098,system -cntaobaoabc0112,system -cntaobaoabc01222,system -cntaobaoabc01230123,system -cntaobaoabc0127,system -cntaobaoabc0128,system -cntaobaoabc0165,system -cntaobaoabc016501,system -cntaobaoabc020409,system -cntaobaoabc021,system -cntaobaoabc0258520,system -cntaobaoabc0316zk,system -cntaobaoabc0318959,system -cntaobaoabc0350,system -cntaobaoabc03504,system -cntaobaoabc0365,system -cntaobaoabc041208,system -cntaobaoabc0421,system -cntaobaoabc0429,system -cntaobaoabc04592,system -cntaobaoabc050300223,system -cntaobaoabc0514,system -cntaobaoabc05169,system -cntaobaoabc0517_cn,system -cntaobaoabc0520,system -cntaobaoabc0523,system -cntaobaoabc05312,system -cntaobaoabc301124310,system -cntaobaoabc3052,system -cntaobaoabc3057957,system -cntaobaoabc306356390,system -cntaobaoabc307317967,system -cntaobaoabc307545280,system -cntaobaoabc308648279,system -cntaobaoabc30978437,system -cntaobaoabc31,system -cntaobaoabc312117349,system -cntaobaoabc314,system -cntaobaoabc314268,system -cntaobaoabc314408026,system -cntaobaoabc3163,system -cntaobaoabc316964624,system -cntaobaoabc317,system -cntaobaoabc32,system -cntaobaoabc320623,system -cntaobaoabc321654,system -cntaobaoabc3219,system -cntaobaoabc325,system -cntaobaoabc325147,system -cntaobaoabc326,system -cntaobaoabc327,system -cntaobaoabc330403,system -cntaobaoabc331,system -cntaobaoabc331122200,system -cntaobaoabc8601008,system -cntaobaoabc860222,system -cntaobaoabc86121719,system -cntaobaoabc8612272,system -cntaobaoabc861300,system -cntaobaoabc861808,system -cntaobaoabc8625969,system -cntaobaoabc86305703,system -cntaobaoabc8666086,system -cntaobaoabc8677939,system -cntaobaoabc868,system -cntaobaoabc86826,system -cntaobaoabc8688755,system -cntaobaoabc8717,system -cntaobaoabc87184719,system -cntaobaoabc874,system -cntaobaoabc8749,system -cntaobaoabc87576380,system -cntaobaoabc878liu,system -cntaobaoabc88,system -cntaobaoabc88023551,system -cntaobaoabc8816001,system -cntaobaoabc8820455,system -cntaobaoabc883331,system -cntaobaoabc88368,system -cntaobaoabc8848,system -cntaobaoabc886,system -cntaobaoabc8861,system -cntaobaoabcd1390316,system -cntaobaoabcd13928381354,system -cntaobaoabcd13932972505,system -cntaobaoabcd139666,system -cntaobaoabcd140202,system -cntaobaoabcd1423,system -cntaobaoabcd1446,system -cntaobaoabcd146099,system -cntaobaoabcd1503,system -cntaobaoabcd1510,system -cntaobaoabcd1566,system -cntaobaoabcd1569,system -cntaobaoabcd1586,system -cntaobaoabcd159456,system -cntaobaoabcd1681,system -cntaobaoabcd168520,system -cntaobaoabcd1696,system -cntaobaoabcd17931,system -cntaobaoabcd180076,system -cntaobaoabcd180856,system -cntaobaoabcd1892abcd,system -cntaobaoabcd19,system -cntaobaoabcd1902,system -cntaobaoabcd1971,system -cntaobaoabcd1973122438401,system -cntaobaoabcd1974,system -cntaobaoabcd1977,system -cntaobaoabcdef123456,system -cntaobaoabcdef12345678,system -cntaobaoabcdef123t,system -cntaobaoabcdef128,system -cntaobaoabcdef129,system -cntaobaoabcdef168,system -cntaobaoabcdef18,system -cntaobaoabcdef180,system -cntaobaoabcdef1840,system -cntaobaoabcdef1969,system -cntaobaoabcdef1975,system -cntaobaoabcdef198606,system -cntaobaoabcdef1987,system -cntaobaoabcdef199,system -cntaobaoabcdef1993,system -cntaobaoabcdef1_2005,system -cntaobaoabcdef20001976,system -cntaobaoabcdef2004,system -cntaobaoabcdef2005007,system -cntaobaoabcdef212,system -cntaobaogodbaby,system -cntaobaoabcdef220330,system -cntaobaoabcf88,system -cntaobaoabcfan,system -cntaobaoabcfang,system -cntaobaoabcfeeling,system -cntaobaoabcfei123456,system -cntaobaoabcfeixing,system -cntaobaoabcfly2099,system -cntaobaoabcfon,system -cntaobaoabcfr,system -cntaobaoabcfyh,system -cntaobaoabcfzh888,system -cntaobaoabczzc,system -cntaobaoabc1&1&123,system -cntaobaoabc1&14,system -cntaobaoabc2K2KWS,system -cntaobaoabc4sQ'3G-1,system -cntaobaoabc7=3LJ=,system -cntaobaoVPND0!VPND,system -cntaobaoabc05482,system -cntaobaoabc060214,system -cntaobaoabc0660,system -cntaobaoabc0666,system -cntaobaoabc070687abc,system -cntaobaoabc07123,system -cntaobaoabc0724,system -cntaobaoabc0727,system -cntaobaoabc0798,system -cntaobaoabc080808,system -cntaobaoabc0828,system -cntaobaoabc0863156,system -cntaobaoabc09070552,system -cntaobaoabc090705521,system -cntaobaoabc0987,system -cntaobaoabc0987654321_2005,system -cntaobaoabc0_0cba,system -cntaobaoabc0xx,system -cntaobaoabc1000000,system -cntaobaoabc1000m,system -cntaobaoabc100200321456,system -cntaobaoabc100326,system -cntaobaoabc101010,system -cntaobaoabc101034,system -cntaobaoabc1014119,system -cntaobaoabc1020,system -cntaobaoabc102080,system -cntaobaoabc102100188,system -cntaobaoabc1028,system -cntaobaoabc10282,system -cntaobaoabc1035_yan,system -cntaobaoabc3312110,system -cntaobaoabc3312114,system -cntaobaoabc3312116,system -cntaobaoabc3312119,system -cntaobaoabc3312419,system -cntaobaoabc331289160,system -cntaobaoabc331331,system -cntaobaoabc3316,system -cntaobaoabc33191591,system -cntaobaoabc3322,system -cntaobaoabc332400,system -cntaobaoabc3381894,system -cntaobaoabc3394365,system -cntaobaoabc3396386,system -cntaobaoabc3439,system -cntaobaoabc345678,system -cntaobaoabc34831,system -cntaobaoabc349449441,system -cntaobaoabc350102,system -cntaobaoabc3517abc2000,system -cntaobaoabc3543377,system -cntaobaoabc35601696,system -cntaobaoabc35781,system -cntaobaoabc36180987,system -cntaobaoabc362100,system -cntaobaoabc8861554,system -cntaobaoabc8866,system -cntaobaoabc8877,system -cntaobaoabc8885249,system -cntaobaoabc888666,system -cntaobaoabc8887,system -cntaobaoabc888811,system -cntaobaoabc88886666,system -cntaobaoabc8888852abc,system -cntaobaoabc888888188,system -cntaobaoabc888999111,system -cntaobaoabc888de,system -cntaobaoabc888deg,system -cntaobaoabc8891,system -cntaobaoabc88988,system -cntaobaoabc8898888,system -cntaobaoabc889_9,system -cntaobaoabc88z1103,system -cntaobaoabc8906331,system -cntaobaoabc890821,system -cntaobaoabc8915123,system -cntaobaoabc8918958,system -cntaobaoabc8970,system -cntaobaoabc8989799,system -cntaobaoabc8994572,system -cntaobaoabc90936,system -cntaobaoabc9111,system -cntaobaoabc911218,system -cntaobaoabc911hf2006,system -cntaobaoabcd1978,system -cntaobaoabcd19781012,system -cntaobaoabcd19791120,system -cntaobaoabcd198106,system -cntaobaoabcd198189,system -cntaobaoabcd1982312,system -cntaobaoabcd1983621,system -cntaobaoabcd198411423,system -cntaobaoabcd198414,system -cntaobaoabcd198491,system -cntaobaoabcd198541,system -cntaobaoabcd1986812,system -cntaobaoabcd198737,system -cntaobaoabcd19win,system -cntaobaoabcd1abcd2,system -cntaobaoabcd20008,system -cntaobaoabcd2000_007,system -cntaobaoabcd2003520,system -cntaobaoabcd2005,system -cntaobaoabcd200517,system -cntaobaoabcd2005888,system -cntaobaoabcd20061,system -cntaobaoabcd2006_x,system -cntaobaoabcd2008,system -cntaobaoabcd200844,system -cntaobaoabcd2008_tb,system -cntaobaoabcdef2579,system -cntaobaoabcdef263,system -cntaobaoabcdef2801,system -cntaobaoabcdef2_2005,system -cntaobaoabcdef34011,system -cntaobaoabcdef4,system -cntaobaoabcdef44,system -cntaobaoabcdef4561,system -cntaobaoabcdef4jin,system -cntaobaoabcdef53,system -cntaobaoabcdef55226677,system -cntaobaoabcdef6,system -cntaobaoabcdef622,system -cntaobaoabcdef63315,system -cntaobaoabcdef651015,system -cntaobaoabcdef6626,system -cntaobaoabcdef666666,system -cntaobaoabcdef7,system -cntaobaoabcdef700,system -cntaobaoabcdef77,system -cntaobaoabcdef828282,system -cntaobaoabcdef8746142,system -cntaobaoabcdef88,system -cntaobaoabcdef888888,system -cntaobaoabchanziabc,system -cntaobaoabchappy,system -cntaobaoabchappy_0,system -cntaobaoabchappys,system -cntaobaoabcharen,system -cntaobaoabchcy,system -cntaobaoabche1,system -cntaobaoabchecheng123,system -cntaobaoabcheima,system -cntaobaoabchen2001,system -cntaobaoabcheng_2005,system -cntaobaoabchengxue,system -cntaobaoabchenjin0,system -cntaobaoabchero88,system -cntaobaoabchhhooo,system -cntaobaoabchhk,system -cntaobaoabchhl001,system -cntaobaoabchina_jgs,system -cntaobaoabc:CDPHK,system -cntaobaoabc),system -cntaobaoabcVGD\,system -cntaobaoabcWTSI?Ug,system -cntaobaoxipol,system -cntaobaorainyzhou,system -cntaobao=>QtQ^Nh,system -cntaobao801229Mu,system -cntaobaoC+@2@2,system -cntaobaoUEGl@W,system -cntaobaoJ'Bd5DPD,system -cntaobaoabc123654789,system -cntaobaoabc1236548,system -cntaobaoabc123678abc,system -cntaobaoabc123688,system -cntaobaoabc123694631,system -cntaobaoabc123789456,system -cntaobaoabc12388001,system -cntaobaoabc123886,system -cntaobaoabc123890,system -cntaobaoabc123902,system -cntaobaoabc123_123456,system -cntaobaoabc123_2004,system -cntaobaoabc123_213,system -cntaobaoabc123_zhu,system -cntaobaoabc123_2(,system -cntaobaoabc123_KD<>,system -cntaobaoabc123_R;6~H}88,system -cntaobaoabc123ab,system -cntaobaoabc123abc,system -cntaobaoonlyjava,system -cntaobaoabc123abc5,system -cntaobaoabc123abc789,system -cntaobaoabc123abx,system -cntaobaoabc123boy,system -cntaobaoabc123ccc,system -cntaobaoabc123chen,system -cntaobaoabc123cn,system -cntaobaoabc493346,system -cntaobaoabc4949,system -cntaobaoabc4wd,system -cntaobaoabc500,system -cntaobaoabc5000,system -cntaobaoabc5002,system -cntaobaoabc506434487,system -cntaobaoabc5069,system -cntaobaoabc50953,system -cntaobaoabc5095776,system -cntaobaoabc510108,system -cntaobaoabc5133,system -cntaobaoabc5151,system -cntaobaoabc5157,system -cntaobaoabc517523,system -cntaobaoabc518,system -cntaobaoabc5193065,system -cntaobaoabc519668,system -cntaobaoabc520518,system -cntaobaoabc520584,system -cntaobaoabc520600,system -cntaobaoabc520abc,system -cntaobaoabc520bei,system -cntaobaoabc_607,system -cntaobaoabc_628,system -cntaobaoabc_650,system -cntaobaoabc_6580358,system -cntaobaoabc_666666,system -cntaobaoabc_66666666,system -cntaobaoabc_712,system -cntaobaoabc_726,system -cntaobaoabc_7723003,system -cntaobaoabc_790612,system -cntaobaoabc_810913,system -cntaobaoabc_820416,system -cntaobaoabc_998,system -cntaobaoabc_999china,system -cntaobaoabc_ab1998,system -cntaobaoabc_abc999,system -cntaobaoabc_abcdefg,system -cntaobaoabc_abclyf,system -cntaobaoabc_blue,system -cntaobaoabc_card,system -cntaobaoabc_cba88,system -cntaobaoabc_chen,system -cntaobaoabc_chp_001,system -cntaobaoabc_dmn,system -cntaobaoabc_fangfang,system -cntaobaoabc_ggg,system -cntaobaoabcd550,system -cntaobaoabcd552211,system -cntaobaoabcd5566,system -cntaobaoabcd5590,system -cntaobaoabcd56200,system -cntaobaoabcd5656,system -cntaobaoabcd56623,system -cntaobaoabcd567,system -cntaobaoabcd5677,system -cntaobaoabcd56789,system -cntaobaoabcd5699151,system -cntaobaoabcd582920,system -cntaobaoabcd586889,system -cntaobaoabcd60080,system -cntaobaoabcd6286,system -cntaobaoabcd6289052,system -cntaobaoabcd6377323,system -cntaobaoabcd642804133,system -cntaobaoabcd6467,system -cntaobaoabcd65402888,system -cntaobaoabcd654123,system -cntaobaoabcd6598,system -cntaobaoabcd65p4,system -cntaobaoabcd66123905,system -cntaobaoabcd66688,system -cntaobaoabcd6688668,system -cntaobaoabcd66_008,system -cntaobaoabcd676,system -cntaobaoabcdefg_20058,system -cntaobaoabcdefg_369369,system -cntaobaoabcdefg_6833,system -cntaobaoabcdefg_bt,system -cntaobaoabcdefgabcdef,system -cntaobaoabcdefgabcdefg_tb,system -cntaobaoabcdefgbobo,system -cntaobaoabcdefgciac,system -cntaobaoabcdefgd,system -cntaobaoabcdefgefghij,system -cntaobaoabcdefgf_007,system -cntaobaoabcdefgfedcba1,system -cntaobaoabcdefggfe521,system -cntaobaoabcdefggfedcba_2005,system -cntaobaoabcdefgggg,system -cntaobaoabcdefgh118,system -cntaobaoabcdefgh118501,system -cntaobaoabcdefgh1232,system -cntaobaoabcdefgh200588,system -cntaobaoabcdefgh333,system -cntaobaoabcdefgh456,system -cntaobaoabcdefgh777,system -cntaobaoabcdefgh_2006,system -cntaobaoabcdefghabcdefgh,system -cntaobaoabcdefghi12,system -cntaobaoabcdefghig1,system -cntaobaoabcdefghig3,system -cntaobaoabcdefghigklmn,system -cntaobao!nP!F$C(!n,system -cntaobao(t!nR0M^M^o0,system -cntaobaorongyw12,system -cntaobaoshujun1,system -cntaobao9~9~9~,system -cntaobaogeren1,system -"cntaobao2 -tlsSPDc",system -cntaobao!nLzCf9+Vw!n,system -cntaobao!n;n ,system -cntaobaoTB9bI3I3We,system -cntaobaosm777,system -cntaobaozizaitest10007,system -cntaobaoabc123e,system -cntaobaoabc123ee,system -cntaobaoabc123ff,system -cntaobaoabc123go,system -cntaobaoabc123gwu,system -cntaobaoabc123hjg,system -cntaobaoabc123jie88,system -cntaobaoabc123love,system -cntaobaoabc123lxj,system -cntaobaoabc123ma,system -cntaobaoabc123may,system -cntaobaoabc123tnt,system -cntaobaoabc123wm,system -cntaobaoabc123x,system -cntaobaoabc123xyz,system -cntaobaoabc123yingxian,system -cntaobaoabc123zangyan,system -cntaobaoabc1230.0.,system -cntaobaoabc1239~4o,system -cntaobaoabc123},system -cntaobaoabcdefgh12,system -cntaobaoabcghj,system -cntaobao1980abc,system -cntaobaoabc200,system -cntaobaomfrog,system -cntaobaoa_bao,system -cntaobaoabc002,system -cntaobaoR9TB,system -cntaobao1yTF,system -cntaobaofangyi,system -cntaobaozizaitest10008,system -cntaobaoa_tao,system -cntaobaoabc13801,system -cntaobaoabc13802496481,system -cntaobaoabc138139,system -cntaobaoabc138498,system -cntaobaoabc1394,system -cntaobaoabc1395240054,system -cntaobaoabc13968787,system -cntaobaoabc1414114abc,system -cntaobaoabc142,system -cntaobaoabc142422,system -cntaobaoabc142737,system -cntaobaoabc1444433,system -cntaobaoabc14444444,system -cntaobaoabc14700,system -cntaobaoabc147258159,system -cntaobaoabc147741,system -cntaobaoabc148,system -cntaobaoabc15,system -cntaobaoabc151378908,system -cntaobaoabc151514,system -cntaobaoabc152018000,system -cntaobaoabc153601,system -cntaobaoabc155041731,system -cntaobaoabc157527,system -cntaobaoabc159357,system -cntaobaoabc159357159357,system -cntaobaoabc159357abc,system -cntaobaoabc159951,system -cntaobao-2706H,system -cntaobaoabc57369,system -cntaobaoabc5797060W77g,system -cntaobaoabc58021172,system -cntaobaoabc5809511,system -cntaobaoabc5811196,system -cntaobaoabc58188,system -cntaobaoabc5823,system -cntaobaoabc5827,system -cntaobaoabc5857,system -cntaobaoabc5859566,system -cntaobaoabc58616,system -cntaobaoabc5866321,system -cntaobaoabc58823,system -cntaobaoabc58851234,system -cntaobaoabc590813,system -cntaobaoabc592317752,system -cntaobaoabc5929817,system -cntaobaoabc5946,system -cntaobaoabc595,system -cntaobaoabc598,system -cntaobaoabc5992169,system -cntaobaoabc6012,system -cntaobaoabc605992600,system -cntaobaoabc6060a,system -cntaobaoabc606833,system -cntaobaoabc612354,system -cntaobaoabc612888,system -cntaobaoabc6135,system -cntaobaoabc618,system -cntaobaoabcabce,system -cntaobaoabcabcfly,system -cntaobaoabcabcpen,system -cntaobaoabcabcqwer,system -cntaobaoabcabcqwert,system -cntaobaoabcabcwww,system -cntaobaoabcabcyuqun,system -cntaobaoabcabczyy,system -cntaobaoabcadc23,system -cntaobaoabcadr,system -cntaobaoabcafhaohao,system -cntaobaoabcai,system -cntaobaoabcakang,system -cntaobaoabcalex123,system -cntaobaoabcalid,system -cntaobaoabcamayi,system -cntaobaoabcandxyz,system -cntaobaoabcang,system -cntaobaoabcanna,system -cntaobaoabcapple32,system -cntaobaoabcasd119,system -cntaobaoabcat,system -cntaobaoabcaurora,system -cntaobaoabcba126,system -cntaobaoabcba2008,system -cntaobaoabcd88885,system -cntaobaoabcd88888888,system -cntaobaoabcd8888_2005,system -cntaobaoabcd888919,system -cntaobaoabcd888abcd,system -cntaobaoabcd888hb,system -cntaobaoabcd889988,system -cntaobaoabcd88vv,system -cntaobaoabcd890,system -cntaobaoabcd8900523,system -cntaobaoabcd8902,system -cntaobaoabcd8dy,system -cntaobaoabcd900800,system -cntaobaoabcd901,system -cntaobaoabcd910571,system -cntaobaoabcd94300,system -cntaobaoabcd94629,system -cntaobaoabcd95,system -cntaobaoabcd9655,system -cntaobaoabcd9701338,system -cntaobaoabcd970408,system -cntaobaoabcd9845310,system -cntaobaoabcd988,system -cntaobaoabcd990514,system -cntaobaoabcd9999,system -cntaobaoabcd99abcd,system -cntaobaoabcd_006009,system -cntaobaoabcd_123450,system -cntaobaoabcd_123_abcd,system -cntaobaoabcd_128,system -cntaobaoabcdefjk88,system -cntaobaoabcdeflulu,system -cntaobaoabcdeflzx,system -cntaobaoabcdefx,system -cntaobaoabcsa,system -cntaobaoabcd12325963,system -cntaobaoabcd1234abcd,system -cntaobaoabcd12391,system -cntaobaoabcd0009,system -cntaobaoabc009,system -cntaobaoabc162,system -cntaobaoabc162245,system -cntaobaoabc163com,system -cntaobaoabc167,system -cntaobaoabc167167,system -cntaobaoabc1685678,system -cntaobaoabc1688,system -cntaobaoabc168861abc,system -cntaobaoabc1688752,system -cntaobaoabc168922,system -cntaobaoabc16897866,system -cntaobaoabc168_52077,system -cntaobaoabc1683I3I,system -cntaobaoabc16_2005,system -cntaobaoabc17,system -cntaobaoabc1700,system -cntaobaoabc172968,system -cntaobaoabc174625781,system -cntaobaoabc1756,system -cntaobaoabc175753,system diff --git a/features/aliww/data/get_bind_list.dat b/features/aliww/data/get_bind_list.dat deleted file mode 100644 index d30100b..0000000 --- a/features/aliww/data/get_bind_list.dat +++ /dev/null @@ -1,1000 +0,0 @@ -cnphpwnd9999@aliyun0 -cnphpwnd9999@aliyun1 -cnphpwnd9999@aliyun2 -cnphpwnd9999@aliyun3 -cnphpwnd9999@aliyun4 -cnphpwnd9999@aliyun5 -cnphpwnd9999@aliyun6 -cnphpwnd9999@aliyun7 -cnphpwnd9999@aliyun8 -cnphpwnd9999@aliyun9 -cnphpwnd9999@aliyun10 -cnphpwnd9999@aliyun11 -cnphpwnd9999@aliyun12 -cnphpwnd9999@aliyun13 -cnphpwnd9999@aliyun14 -cnphpwnd9999@aliyun15 -cnphpwnd9999@aliyun16 -cnphpwnd9999@aliyun17 -cnphpwnd9999@aliyun18 -cnphpwnd9999@aliyun19 -cnphpwnd9999@aliyun20 -cnphpwnd9999@aliyun21 -cnphpwnd9999@aliyun22 -cnphpwnd9999@aliyun23 -cnphpwnd9999@aliyun24 -cnphpwnd9999@aliyun25 -cnphpwnd9999@aliyun26 -cnphpwnd9999@aliyun27 -cnphpwnd9999@aliyun28 -cnphpwnd9999@aliyun29 -cnphpwnd9999@aliyun30 -cnphpwnd9999@aliyun31 -cnphpwnd9999@aliyun32 -cnphpwnd9999@aliyun33 -cnphpwnd9999@aliyun34 -cnphpwnd9999@aliyun35 -cnphpwnd9999@aliyun36 -cnphpwnd9999@aliyun37 -cnphpwnd9999@aliyun38 -cnphpwnd9999@aliyun39 -cnphpwnd9999@aliyun40 -cnphpwnd9999@aliyun41 -cnphpwnd9999@aliyun42 -cnphpwnd9999@aliyun43 -cnphpwnd9999@aliyun44 -cnphpwnd9999@aliyun45 -cnphpwnd9999@aliyun46 -cnphpwnd9999@aliyun47 -cnphpwnd9999@aliyun48 -cnphpwnd9999@aliyun49 -cnphpwnd9999@aliyun50 -cnphpwnd9999@aliyun51 -cnphpwnd9999@aliyun52 -cnphpwnd9999@aliyun53 -cnphpwnd9999@aliyun54 -cnphpwnd9999@aliyun55 -cnphpwnd9999@aliyun56 -cnphpwnd9999@aliyun57 -cnphpwnd9999@aliyun58 -cnphpwnd9999@aliyun59 -cnphpwnd9999@aliyun60 -cnphpwnd9999@aliyun61 -cnphpwnd9999@aliyun62 -cnphpwnd9999@aliyun63 -cnphpwnd9999@aliyun64 -cnphpwnd9999@aliyun65 -cnphpwnd9999@aliyun66 -cnphpwnd9999@aliyun67 -cnphpwnd9999@aliyun68 -cnphpwnd9999@aliyun69 -cnphpwnd9999@aliyun70 -cnphpwnd9999@aliyun71 -cnphpwnd9999@aliyun72 -cnphpwnd9999@aliyun73 -cnphpwnd9999@aliyun74 -cnphpwnd9999@aliyun75 -cnphpwnd9999@aliyun76 -cnphpwnd9999@aliyun77 -cnphpwnd9999@aliyun78 -cnphpwnd9999@aliyun79 -cnphpwnd9999@aliyun80 -cnphpwnd9999@aliyun81 -cnphpwnd9999@aliyun82 -cnphpwnd9999@aliyun83 -cnphpwnd9999@aliyun84 -cnphpwnd9999@aliyun85 -cnphpwnd9999@aliyun86 -cnphpwnd9999@aliyun87 -cnphpwnd9999@aliyun88 -cnphpwnd9999@aliyun89 -cnphpwnd9999@aliyun90 -cnphpwnd9999@aliyun91 -cnphpwnd9999@aliyun92 -cnphpwnd9999@aliyun93 -cnphpwnd9999@aliyun94 -cnphpwnd9999@aliyun95 -cnphpwnd9999@aliyun96 -cnphpwnd9999@aliyun97 -cnphpwnd9999@aliyun98 -cnphpwnd9999@aliyun99 -cnphpwnd9999@aliyun100 -cnphpwnd9999@aliyun101 -cnphpwnd9999@aliyun102 -cnphpwnd9999@aliyun103 -cnphpwnd9999@aliyun104 -cnphpwnd9999@aliyun105 -cnphpwnd9999@aliyun106 -cnphpwnd9999@aliyun107 -cnphpwnd9999@aliyun108 -cnphpwnd9999@aliyun109 -cnphpwnd9999@aliyun110 -cnphpwnd9999@aliyun111 -cnphpwnd9999@aliyun112 -cnphpwnd9999@aliyun113 -cnphpwnd9999@aliyun114 -cnphpwnd9999@aliyun115 -cnphpwnd9999@aliyun116 -cnphpwnd9999@aliyun117 -cnphpwnd9999@aliyun118 -cnphpwnd9999@aliyun119 -cnphpwnd9999@aliyun120 -cnphpwnd9999@aliyun121 -cnphpwnd9999@aliyun122 -cnphpwnd9999@aliyun123 -cnphpwnd9999@aliyun124 -cnphpwnd9999@aliyun125 -cnphpwnd9999@aliyun126 -cnphpwnd9999@aliyun127 -cnphpwnd9999@aliyun128 -cnphpwnd9999@aliyun129 -cnphpwnd9999@aliyun130 -cnphpwnd9999@aliyun131 -cnphpwnd9999@aliyun132 -cnphpwnd9999@aliyun133 -cnphpwnd9999@aliyun134 -cnphpwnd9999@aliyun135 -cnphpwnd9999@aliyun136 -cnphpwnd9999@aliyun137 -cnphpwnd9999@aliyun138 -cnphpwnd9999@aliyun139 -cnphpwnd9999@aliyun140 -cnphpwnd9999@aliyun141 -cnphpwnd9999@aliyun142 -cnphpwnd9999@aliyun143 -cnphpwnd9999@aliyun144 -cnphpwnd9999@aliyun145 -cnphpwnd9999@aliyun146 -cnphpwnd9999@aliyun147 -cnphpwnd9999@aliyun148 -cnphpwnd9999@aliyun149 -cnphpwnd9999@aliyun150 -cnphpwnd9999@aliyun151 -cnphpwnd9999@aliyun152 -cnphpwnd9999@aliyun153 -cnphpwnd9999@aliyun154 -cnphpwnd9999@aliyun155 -cnphpwnd9999@aliyun156 -cnphpwnd9999@aliyun157 -cnphpwnd9999@aliyun158 -cnphpwnd9999@aliyun159 -cnphpwnd9999@aliyun160 -cnphpwnd9999@aliyun161 -cnphpwnd9999@aliyun162 -cnphpwnd9999@aliyun163 -cnphpwnd9999@aliyun164 -cnphpwnd9999@aliyun165 -cnphpwnd9999@aliyun166 -cnphpwnd9999@aliyun167 -cnphpwnd9999@aliyun168 -cnphpwnd9999@aliyun169 -cnphpwnd9999@aliyun170 -cnphpwnd9999@aliyun171 -cnphpwnd9999@aliyun172 -cnphpwnd9999@aliyun173 -cnphpwnd9999@aliyun174 -cnphpwnd9999@aliyun175 -cnphpwnd9999@aliyun176 -cnphpwnd9999@aliyun177 -cnphpwnd9999@aliyun178 -cnphpwnd9999@aliyun179 -cnphpwnd9999@aliyun180 -cnphpwnd9999@aliyun181 -cnphpwnd9999@aliyun182 -cnphpwnd9999@aliyun183 -cnphpwnd9999@aliyun184 -cnphpwnd9999@aliyun185 -cnphpwnd9999@aliyun186 -cnphpwnd9999@aliyun187 -cnphpwnd9999@aliyun188 -cnphpwnd9999@aliyun189 -cnphpwnd9999@aliyun190 -cnphpwnd9999@aliyun191 -cnphpwnd9999@aliyun192 -cnphpwnd9999@aliyun193 -cnphpwnd9999@aliyun194 -cnphpwnd9999@aliyun195 -cnphpwnd9999@aliyun196 -cnphpwnd9999@aliyun197 -cnphpwnd9999@aliyun198 -cnphpwnd9999@aliyun199 -cnphpwnd9999@aliyun200 -cnphpwnd9999@aliyun201 -cnphpwnd9999@aliyun202 -cnphpwnd9999@aliyun203 -cnphpwnd9999@aliyun204 -cnphpwnd9999@aliyun205 -cnphpwnd9999@aliyun206 -cnphpwnd9999@aliyun207 -cnphpwnd9999@aliyun208 -cnphpwnd9999@aliyun209 -cnphpwnd9999@aliyun210 -cnphpwnd9999@aliyun211 -cnphpwnd9999@aliyun212 -cnphpwnd9999@aliyun213 -cnphpwnd9999@aliyun214 -cnphpwnd9999@aliyun215 -cnphpwnd9999@aliyun216 -cnphpwnd9999@aliyun217 -cnphpwnd9999@aliyun218 -cnphpwnd9999@aliyun219 -cnphpwnd9999@aliyun220 -cnphpwnd9999@aliyun221 -cnphpwnd9999@aliyun222 -cnphpwnd9999@aliyun223 -cnphpwnd9999@aliyun224 -cnphpwnd9999@aliyun225 -cnphpwnd9999@aliyun226 -cnphpwnd9999@aliyun227 -cnphpwnd9999@aliyun228 -cnphpwnd9999@aliyun229 -cnphpwnd9999@aliyun230 -cnphpwnd9999@aliyun231 -cnphpwnd9999@aliyun232 -cnphpwnd9999@aliyun233 -cnphpwnd9999@aliyun234 -cnphpwnd9999@aliyun235 -cnphpwnd9999@aliyun236 -cnphpwnd9999@aliyun237 -cnphpwnd9999@aliyun238 -cnphpwnd9999@aliyun239 -cnphpwnd9999@aliyun240 -cnphpwnd9999@aliyun241 -cnphpwnd9999@aliyun242 -cnphpwnd9999@aliyun243 -cnphpwnd9999@aliyun244 -cnphpwnd9999@aliyun245 -cnphpwnd9999@aliyun246 -cnphpwnd9999@aliyun247 -cnphpwnd9999@aliyun248 -cnphpwnd9999@aliyun249 -cnphpwnd9999@aliyun250 -cnphpwnd9999@aliyun251 -cnphpwnd9999@aliyun252 -cnphpwnd9999@aliyun253 -cnphpwnd9999@aliyun254 -cnphpwnd9999@aliyun255 -cnphpwnd9999@aliyun256 -cnphpwnd9999@aliyun257 -cnphpwnd9999@aliyun258 -cnphpwnd9999@aliyun259 -cnphpwnd9999@aliyun260 -cnphpwnd9999@aliyun261 -cnphpwnd9999@aliyun262 -cnphpwnd9999@aliyun263 -cnphpwnd9999@aliyun264 -cnphpwnd9999@aliyun265 -cnphpwnd9999@aliyun266 -cnphpwnd9999@aliyun267 -cnphpwnd9999@aliyun268 -cnphpwnd9999@aliyun269 -cnphpwnd9999@aliyun270 -cnphpwnd9999@aliyun271 -cnphpwnd9999@aliyun272 -cnphpwnd9999@aliyun273 -cnphpwnd9999@aliyun274 -cnphpwnd9999@aliyun275 -cnphpwnd9999@aliyun276 -cnphpwnd9999@aliyun277 -cnphpwnd9999@aliyun278 -cnphpwnd9999@aliyun279 -cnphpwnd9999@aliyun280 -cnphpwnd9999@aliyun281 -cnphpwnd9999@aliyun282 -cnphpwnd9999@aliyun283 -cnphpwnd9999@aliyun284 -cnphpwnd9999@aliyun285 -cnphpwnd9999@aliyun286 -cnphpwnd9999@aliyun287 -cnphpwnd9999@aliyun288 -cnphpwnd9999@aliyun289 -cnphpwnd9999@aliyun290 -cnphpwnd9999@aliyun291 -cnphpwnd9999@aliyun292 -cnphpwnd9999@aliyun293 -cnphpwnd9999@aliyun294 -cnphpwnd9999@aliyun295 -cnphpwnd9999@aliyun296 -cnphpwnd9999@aliyun297 -cnphpwnd9999@aliyun298 -cnphpwnd9999@aliyun299 -cnphpwnd9999@aliyun300 -cnphpwnd9999@aliyun301 -cnphpwnd9999@aliyun302 -cnphpwnd9999@aliyun303 -cnphpwnd9999@aliyun304 -cnphpwnd9999@aliyun305 -cnphpwnd9999@aliyun306 -cnphpwnd9999@aliyun307 -cnphpwnd9999@aliyun308 -cnphpwnd9999@aliyun309 -cnphpwnd9999@aliyun310 -cnphpwnd9999@aliyun311 -cnphpwnd9999@aliyun312 -cnphpwnd9999@aliyun313 -cnphpwnd9999@aliyun314 -cnphpwnd9999@aliyun315 -cnphpwnd9999@aliyun316 -cnphpwnd9999@aliyun317 -cnphpwnd9999@aliyun318 -cnphpwnd9999@aliyun319 -cnphpwnd9999@aliyun320 -cnphpwnd9999@aliyun321 -cnphpwnd9999@aliyun322 -cnphpwnd9999@aliyun323 -cnphpwnd9999@aliyun324 -cnphpwnd9999@aliyun325 -cnphpwnd9999@aliyun326 -cnphpwnd9999@aliyun327 -cnphpwnd9999@aliyun328 -cnphpwnd9999@aliyun329 -cnphpwnd9999@aliyun330 -cnphpwnd9999@aliyun331 -cnphpwnd9999@aliyun332 -cnphpwnd9999@aliyun333 -cnphpwnd9999@aliyun334 -cnphpwnd9999@aliyun335 -cnphpwnd9999@aliyun336 -cnphpwnd9999@aliyun337 -cnphpwnd9999@aliyun338 -cnphpwnd9999@aliyun339 -cnphpwnd9999@aliyun340 -cnphpwnd9999@aliyun341 -cnphpwnd9999@aliyun342 -cnphpwnd9999@aliyun343 -cnphpwnd9999@aliyun344 -cnphpwnd9999@aliyun345 -cnphpwnd9999@aliyun346 -cnphpwnd9999@aliyun347 -cnphpwnd9999@aliyun348 -cnphpwnd9999@aliyun349 -cnphpwnd9999@aliyun350 -cnphpwnd9999@aliyun351 -cnphpwnd9999@aliyun352 -cnphpwnd9999@aliyun353 -cnphpwnd9999@aliyun354 -cnphpwnd9999@aliyun355 -cnphpwnd9999@aliyun356 -cnphpwnd9999@aliyun357 -cnphpwnd9999@aliyun358 -cnphpwnd9999@aliyun359 -cnphpwnd9999@aliyun360 -cnphpwnd9999@aliyun361 -cnphpwnd9999@aliyun362 -cnphpwnd9999@aliyun363 -cnphpwnd9999@aliyun364 -cnphpwnd9999@aliyun365 -cnphpwnd9999@aliyun366 -cnphpwnd9999@aliyun367 -cnphpwnd9999@aliyun368 -cnphpwnd9999@aliyun369 -cnphpwnd9999@aliyun370 -cnphpwnd9999@aliyun371 -cnphpwnd9999@aliyun372 -cnphpwnd9999@aliyun373 -cnphpwnd9999@aliyun374 -cnphpwnd9999@aliyun375 -cnphpwnd9999@aliyun376 -cnphpwnd9999@aliyun377 -cnphpwnd9999@aliyun378 -cnphpwnd9999@aliyun379 -cnphpwnd9999@aliyun380 -cnphpwnd9999@aliyun381 -cnphpwnd9999@aliyun382 -cnphpwnd9999@aliyun383 -cnphpwnd9999@aliyun384 -cnphpwnd9999@aliyun385 -cnphpwnd9999@aliyun386 -cnphpwnd9999@aliyun387 -cnphpwnd9999@aliyun388 -cnphpwnd9999@aliyun389 -cnphpwnd9999@aliyun390 -cnphpwnd9999@aliyun391 -cnphpwnd9999@aliyun392 -cnphpwnd9999@aliyun393 -cnphpwnd9999@aliyun394 -cnphpwnd9999@aliyun395 -cnphpwnd9999@aliyun396 -cnphpwnd9999@aliyun397 -cnphpwnd9999@aliyun398 -cnphpwnd9999@aliyun399 -cnphpwnd9999@aliyun400 -cnphpwnd9999@aliyun401 -cnphpwnd9999@aliyun402 -cnphpwnd9999@aliyun403 -cnphpwnd9999@aliyun404 -cnphpwnd9999@aliyun405 -cnphpwnd9999@aliyun406 -cnphpwnd9999@aliyun407 -cnphpwnd9999@aliyun408 -cnphpwnd9999@aliyun409 -cnphpwnd9999@aliyun410 -cnphpwnd9999@aliyun411 -cnphpwnd9999@aliyun412 -cnphpwnd9999@aliyun413 -cnphpwnd9999@aliyun414 -cnphpwnd9999@aliyun415 -cnphpwnd9999@aliyun416 -cnphpwnd9999@aliyun417 -cnphpwnd9999@aliyun418 -cnphpwnd9999@aliyun419 -cnphpwnd9999@aliyun420 -cnphpwnd9999@aliyun421 -cnphpwnd9999@aliyun422 -cnphpwnd9999@aliyun423 -cnphpwnd9999@aliyun424 -cnphpwnd9999@aliyun425 -cnphpwnd9999@aliyun426 -cnphpwnd9999@aliyun427 -cnphpwnd9999@aliyun428 -cnphpwnd9999@aliyun429 -cnphpwnd9999@aliyun430 -cnphpwnd9999@aliyun431 -cnphpwnd9999@aliyun432 -cnphpwnd9999@aliyun433 -cnphpwnd9999@aliyun434 -cnphpwnd9999@aliyun435 -cnphpwnd9999@aliyun436 -cnphpwnd9999@aliyun437 -cnphpwnd9999@aliyun438 -cnphpwnd9999@aliyun439 -cnphpwnd9999@aliyun440 -cnphpwnd9999@aliyun441 -cnphpwnd9999@aliyun442 -cnphpwnd9999@aliyun443 -cnphpwnd9999@aliyun444 -cnphpwnd9999@aliyun445 -cnphpwnd9999@aliyun446 -cnphpwnd9999@aliyun447 -cnphpwnd9999@aliyun448 -cnphpwnd9999@aliyun449 -cnphpwnd9999@aliyun450 -cnphpwnd9999@aliyun451 -cnphpwnd9999@aliyun452 -cnphpwnd9999@aliyun453 -cnphpwnd9999@aliyun454 -cnphpwnd9999@aliyun455 -cnphpwnd9999@aliyun456 -cnphpwnd9999@aliyun457 -cnphpwnd9999@aliyun458 -cnphpwnd9999@aliyun459 -cnphpwnd9999@aliyun460 -cnphpwnd9999@aliyun461 -cnphpwnd9999@aliyun462 -cnphpwnd9999@aliyun463 -cnphpwnd9999@aliyun464 -cnphpwnd9999@aliyun465 -cnphpwnd9999@aliyun466 -cnphpwnd9999@aliyun467 -cnphpwnd9999@aliyun468 -cnphpwnd9999@aliyun469 -cnphpwnd9999@aliyun470 -cnphpwnd9999@aliyun471 -cnphpwnd9999@aliyun472 -cnphpwnd9999@aliyun473 -cnphpwnd9999@aliyun474 -cnphpwnd9999@aliyun475 -cnphpwnd9999@aliyun476 -cnphpwnd9999@aliyun477 -cnphpwnd9999@aliyun478 -cnphpwnd9999@aliyun479 -cnphpwnd9999@aliyun480 -cnphpwnd9999@aliyun481 -cnphpwnd9999@aliyun482 -cnphpwnd9999@aliyun483 -cnphpwnd9999@aliyun484 -cnphpwnd9999@aliyun485 -cnphpwnd9999@aliyun486 -cnphpwnd9999@aliyun487 -cnphpwnd9999@aliyun488 -cnphpwnd9999@aliyun489 -cnphpwnd9999@aliyun490 -cnphpwnd9999@aliyun491 -cnphpwnd9999@aliyun492 -cnphpwnd9999@aliyun493 -cnphpwnd9999@aliyun494 -cnphpwnd9999@aliyun495 -cnphpwnd9999@aliyun496 -cnphpwnd9999@aliyun497 -cnphpwnd9999@aliyun498 -cnphpwnd9999@aliyun499 -cnphpwnd9999@aliyun500 -cnphpwnd9999@aliyun501 -cnphpwnd9999@aliyun502 -cnphpwnd9999@aliyun503 -cnphpwnd9999@aliyun504 -cnphpwnd9999@aliyun505 -cnphpwnd9999@aliyun506 -cnphpwnd9999@aliyun507 -cnphpwnd9999@aliyun508 -cnphpwnd9999@aliyun509 -cnphpwnd9999@aliyun510 -cnphpwnd9999@aliyun511 -cnphpwnd9999@aliyun512 -cnphpwnd9999@aliyun513 -cnphpwnd9999@aliyun514 -cnphpwnd9999@aliyun515 -cnphpwnd9999@aliyun516 -cnphpwnd9999@aliyun517 -cnphpwnd9999@aliyun518 -cnphpwnd9999@aliyun519 -cnphpwnd9999@aliyun520 -cnphpwnd9999@aliyun521 -cnphpwnd9999@aliyun522 -cnphpwnd9999@aliyun523 -cnphpwnd9999@aliyun524 -cnphpwnd9999@aliyun525 -cnphpwnd9999@aliyun526 -cnphpwnd9999@aliyun527 -cnphpwnd9999@aliyun528 -cnphpwnd9999@aliyun529 -cnphpwnd9999@aliyun530 -cnphpwnd9999@aliyun531 -cnphpwnd9999@aliyun532 -cnphpwnd9999@aliyun533 -cnphpwnd9999@aliyun534 -cnphpwnd9999@aliyun535 -cnphpwnd9999@aliyun536 -cnphpwnd9999@aliyun537 -cnphpwnd9999@aliyun538 -cnphpwnd9999@aliyun539 -cnphpwnd9999@aliyun540 -cnphpwnd9999@aliyun541 -cnphpwnd9999@aliyun542 -cnphpwnd9999@aliyun543 -cnphpwnd9999@aliyun544 -cnphpwnd9999@aliyun545 -cnphpwnd9999@aliyun546 -cnphpwnd9999@aliyun547 -cnphpwnd9999@aliyun548 -cnphpwnd9999@aliyun549 -cnphpwnd9999@aliyun550 -cnphpwnd9999@aliyun551 -cnphpwnd9999@aliyun552 -cnphpwnd9999@aliyun553 -cnphpwnd9999@aliyun554 -cnphpwnd9999@aliyun555 -cnphpwnd9999@aliyun556 -cnphpwnd9999@aliyun557 -cnphpwnd9999@aliyun558 -cnphpwnd9999@aliyun559 -cnphpwnd9999@aliyun560 -cnphpwnd9999@aliyun561 -cnphpwnd9999@aliyun562 -cnphpwnd9999@aliyun563 -cnphpwnd9999@aliyun564 -cnphpwnd9999@aliyun565 -cnphpwnd9999@aliyun566 -cnphpwnd9999@aliyun567 -cnphpwnd9999@aliyun568 -cnphpwnd9999@aliyun569 -cnphpwnd9999@aliyun570 -cnphpwnd9999@aliyun571 -cnphpwnd9999@aliyun572 -cnphpwnd9999@aliyun573 -cnphpwnd9999@aliyun574 -cnphpwnd9999@aliyun575 -cnphpwnd9999@aliyun576 -cnphpwnd9999@aliyun577 -cnphpwnd9999@aliyun578 -cnphpwnd9999@aliyun579 -cnphpwnd9999@aliyun580 -cnphpwnd9999@aliyun581 -cnphpwnd9999@aliyun582 -cnphpwnd9999@aliyun583 -cnphpwnd9999@aliyun584 -cnphpwnd9999@aliyun585 -cnphpwnd9999@aliyun586 -cnphpwnd9999@aliyun587 -cnphpwnd9999@aliyun588 -cnphpwnd9999@aliyun589 -cnphpwnd9999@aliyun590 -cnphpwnd9999@aliyun591 -cnphpwnd9999@aliyun592 -cnphpwnd9999@aliyun593 -cnphpwnd9999@aliyun594 -cnphpwnd9999@aliyun595 -cnphpwnd9999@aliyun596 -cnphpwnd9999@aliyun597 -cnphpwnd9999@aliyun598 -cnphpwnd9999@aliyun599 -cnphpwnd9999@aliyun600 -cnphpwnd9999@aliyun601 -cnphpwnd9999@aliyun602 -cnphpwnd9999@aliyun603 -cnphpwnd9999@aliyun604 -cnphpwnd9999@aliyun605 -cnphpwnd9999@aliyun606 -cnphpwnd9999@aliyun607 -cnphpwnd9999@aliyun608 -cnphpwnd9999@aliyun609 -cnphpwnd9999@aliyun610 -cnphpwnd9999@aliyun611 -cnphpwnd9999@aliyun612 -cnphpwnd9999@aliyun613 -cnphpwnd9999@aliyun614 -cnphpwnd9999@aliyun615 -cnphpwnd9999@aliyun616 -cnphpwnd9999@aliyun617 -cnphpwnd9999@aliyun618 -cnphpwnd9999@aliyun619 -cnphpwnd9999@aliyun620 -cnphpwnd9999@aliyun621 -cnphpwnd9999@aliyun622 -cnphpwnd9999@aliyun623 -cnphpwnd9999@aliyun624 -cnphpwnd9999@aliyun625 -cnphpwnd9999@aliyun626 -cnphpwnd9999@aliyun627 -cnphpwnd9999@aliyun628 -cnphpwnd9999@aliyun629 -cnphpwnd9999@aliyun630 -cnphpwnd9999@aliyun631 -cnphpwnd9999@aliyun632 -cnphpwnd9999@aliyun633 -cnphpwnd9999@aliyun634 -cnphpwnd9999@aliyun635 -cnphpwnd9999@aliyun636 -cnphpwnd9999@aliyun637 -cnphpwnd9999@aliyun638 -cnphpwnd9999@aliyun639 -cnphpwnd9999@aliyun640 -cnphpwnd9999@aliyun641 -cnphpwnd9999@aliyun642 -cnphpwnd9999@aliyun643 -cnphpwnd9999@aliyun644 -cnphpwnd9999@aliyun645 -cnphpwnd9999@aliyun646 -cnphpwnd9999@aliyun647 -cnphpwnd9999@aliyun648 -cnphpwnd9999@aliyun649 -cnphpwnd9999@aliyun650 -cnphpwnd9999@aliyun651 -cnphpwnd9999@aliyun652 -cnphpwnd9999@aliyun653 -cnphpwnd9999@aliyun654 -cnphpwnd9999@aliyun655 -cnphpwnd9999@aliyun656 -cnphpwnd9999@aliyun657 -cnphpwnd9999@aliyun658 -cnphpwnd9999@aliyun659 -cnphpwnd9999@aliyun660 -cnphpwnd9999@aliyun661 -cnphpwnd9999@aliyun662 -cnphpwnd9999@aliyun663 -cnphpwnd9999@aliyun664 -cnphpwnd9999@aliyun665 -cnphpwnd9999@aliyun666 -cnphpwnd9999@aliyun667 -cnphpwnd9999@aliyun668 -cnphpwnd9999@aliyun669 -cnphpwnd9999@aliyun670 -cnphpwnd9999@aliyun671 -cnphpwnd9999@aliyun672 -cnphpwnd9999@aliyun673 -cnphpwnd9999@aliyun674 -cnphpwnd9999@aliyun675 -cnphpwnd9999@aliyun676 -cnphpwnd9999@aliyun677 -cnphpwnd9999@aliyun678 -cnphpwnd9999@aliyun679 -cnphpwnd9999@aliyun680 -cnphpwnd9999@aliyun681 -cnphpwnd9999@aliyun682 -cnphpwnd9999@aliyun683 -cnphpwnd9999@aliyun684 -cnphpwnd9999@aliyun685 -cnphpwnd9999@aliyun686 -cnphpwnd9999@aliyun687 -cnphpwnd9999@aliyun688 -cnphpwnd9999@aliyun689 -cnphpwnd9999@aliyun690 -cnphpwnd9999@aliyun691 -cnphpwnd9999@aliyun692 -cnphpwnd9999@aliyun693 -cnphpwnd9999@aliyun694 -cnphpwnd9999@aliyun695 -cnphpwnd9999@aliyun696 -cnphpwnd9999@aliyun697 -cnphpwnd9999@aliyun698 -cnphpwnd9999@aliyun699 -cnphpwnd9999@aliyun700 -cnphpwnd9999@aliyun701 -cnphpwnd9999@aliyun702 -cnphpwnd9999@aliyun703 -cnphpwnd9999@aliyun704 -cnphpwnd9999@aliyun705 -cnphpwnd9999@aliyun706 -cnphpwnd9999@aliyun707 -cnphpwnd9999@aliyun708 -cnphpwnd9999@aliyun709 -cnphpwnd9999@aliyun710 -cnphpwnd9999@aliyun711 -cnphpwnd9999@aliyun712 -cnphpwnd9999@aliyun713 -cnphpwnd9999@aliyun714 -cnphpwnd9999@aliyun715 -cnphpwnd9999@aliyun716 -cnphpwnd9999@aliyun717 -cnphpwnd9999@aliyun718 -cnphpwnd9999@aliyun719 -cnphpwnd9999@aliyun720 -cnphpwnd9999@aliyun721 -cnphpwnd9999@aliyun722 -cnphpwnd9999@aliyun723 -cnphpwnd9999@aliyun724 -cnphpwnd9999@aliyun725 -cnphpwnd9999@aliyun726 -cnphpwnd9999@aliyun727 -cnphpwnd9999@aliyun728 -cnphpwnd9999@aliyun729 -cnphpwnd9999@aliyun730 -cnphpwnd9999@aliyun731 -cnphpwnd9999@aliyun732 -cnphpwnd9999@aliyun733 -cnphpwnd9999@aliyun734 -cnphpwnd9999@aliyun735 -cnphpwnd9999@aliyun736 -cnphpwnd9999@aliyun737 -cnphpwnd9999@aliyun738 -cnphpwnd9999@aliyun739 -cnphpwnd9999@aliyun740 -cnphpwnd9999@aliyun741 -cnphpwnd9999@aliyun742 -cnphpwnd9999@aliyun743 -cnphpwnd9999@aliyun744 -cnphpwnd9999@aliyun745 -cnphpwnd9999@aliyun746 -cnphpwnd9999@aliyun747 -cnphpwnd9999@aliyun748 -cnphpwnd9999@aliyun749 -cnphpwnd9999@aliyun750 -cnphpwnd9999@aliyun751 -cnphpwnd9999@aliyun752 -cnphpwnd9999@aliyun753 -cnphpwnd9999@aliyun754 -cnphpwnd9999@aliyun755 -cnphpwnd9999@aliyun756 -cnphpwnd9999@aliyun757 -cnphpwnd9999@aliyun758 -cnphpwnd9999@aliyun759 -cnphpwnd9999@aliyun760 -cnphpwnd9999@aliyun761 -cnphpwnd9999@aliyun762 -cnphpwnd9999@aliyun763 -cnphpwnd9999@aliyun764 -cnphpwnd9999@aliyun765 -cnphpwnd9999@aliyun766 -cnphpwnd9999@aliyun767 -cnphpwnd9999@aliyun768 -cnphpwnd9999@aliyun769 -cnphpwnd9999@aliyun770 -cnphpwnd9999@aliyun771 -cnphpwnd9999@aliyun772 -cnphpwnd9999@aliyun773 -cnphpwnd9999@aliyun774 -cnphpwnd9999@aliyun775 -cnphpwnd9999@aliyun776 -cnphpwnd9999@aliyun777 -cnphpwnd9999@aliyun778 -cnphpwnd9999@aliyun779 -cnphpwnd9999@aliyun780 -cnphpwnd9999@aliyun781 -cnphpwnd9999@aliyun782 -cnphpwnd9999@aliyun783 -cnphpwnd9999@aliyun784 -cnphpwnd9999@aliyun785 -cnphpwnd9999@aliyun786 -cnphpwnd9999@aliyun787 -cnphpwnd9999@aliyun788 -cnphpwnd9999@aliyun789 -cnphpwnd9999@aliyun790 -cnphpwnd9999@aliyun791 -cnphpwnd9999@aliyun792 -cnphpwnd9999@aliyun793 -cnphpwnd9999@aliyun794 -cnphpwnd9999@aliyun795 -cnphpwnd9999@aliyun796 -cnphpwnd9999@aliyun797 -cnphpwnd9999@aliyun798 -cnphpwnd9999@aliyun799 -cnphpwnd9999@aliyun800 -cnphpwnd9999@aliyun801 -cnphpwnd9999@aliyun802 -cnphpwnd9999@aliyun803 -cnphpwnd9999@aliyun804 -cnphpwnd9999@aliyun805 -cnphpwnd9999@aliyun806 -cnphpwnd9999@aliyun807 -cnphpwnd9999@aliyun808 -cnphpwnd9999@aliyun809 -cnphpwnd9999@aliyun810 -cnphpwnd9999@aliyun811 -cnphpwnd9999@aliyun812 -cnphpwnd9999@aliyun813 -cnphpwnd9999@aliyun814 -cnphpwnd9999@aliyun815 -cnphpwnd9999@aliyun816 -cnphpwnd9999@aliyun817 -cnphpwnd9999@aliyun818 -cnphpwnd9999@aliyun819 -cnphpwnd9999@aliyun820 -cnphpwnd9999@aliyun821 -cnphpwnd9999@aliyun822 -cnphpwnd9999@aliyun823 -cnphpwnd9999@aliyun824 -cnphpwnd9999@aliyun825 -cnphpwnd9999@aliyun826 -cnphpwnd9999@aliyun827 -cnphpwnd9999@aliyun828 -cnphpwnd9999@aliyun829 -cnphpwnd9999@aliyun830 -cnphpwnd9999@aliyun831 -cnphpwnd9999@aliyun832 -cnphpwnd9999@aliyun833 -cnphpwnd9999@aliyun834 -cnphpwnd9999@aliyun835 -cnphpwnd9999@aliyun836 -cnphpwnd9999@aliyun837 -cnphpwnd9999@aliyun838 -cnphpwnd9999@aliyun839 -cnphpwnd9999@aliyun840 -cnphpwnd9999@aliyun841 -cnphpwnd9999@aliyun842 -cnphpwnd9999@aliyun843 -cnphpwnd9999@aliyun844 -cnphpwnd9999@aliyun845 -cnphpwnd9999@aliyun846 -cnphpwnd9999@aliyun847 -cnphpwnd9999@aliyun848 -cnphpwnd9999@aliyun849 -cnphpwnd9999@aliyun850 -cnphpwnd9999@aliyun851 -cnphpwnd9999@aliyun852 -cnphpwnd9999@aliyun853 -cnphpwnd9999@aliyun854 -cnphpwnd9999@aliyun855 -cnphpwnd9999@aliyun856 -cnphpwnd9999@aliyun857 -cnphpwnd9999@aliyun858 -cnphpwnd9999@aliyun859 -cnphpwnd9999@aliyun860 -cnphpwnd9999@aliyun861 -cnphpwnd9999@aliyun862 -cnphpwnd9999@aliyun863 -cnphpwnd9999@aliyun864 -cnphpwnd9999@aliyun865 -cnphpwnd9999@aliyun866 -cnphpwnd9999@aliyun867 -cnphpwnd9999@aliyun868 -cnphpwnd9999@aliyun869 -cnphpwnd9999@aliyun870 -cnphpwnd9999@aliyun871 -cnphpwnd9999@aliyun872 -cnphpwnd9999@aliyun873 -cnphpwnd9999@aliyun874 -cnphpwnd9999@aliyun875 -cnphpwnd9999@aliyun876 -cnphpwnd9999@aliyun877 -cnphpwnd9999@aliyun878 -cnphpwnd9999@aliyun879 -cnphpwnd9999@aliyun880 -cnphpwnd9999@aliyun881 -cnphpwnd9999@aliyun882 -cnphpwnd9999@aliyun883 -cnphpwnd9999@aliyun884 -cnphpwnd9999@aliyun885 -cnphpwnd9999@aliyun886 -cnphpwnd9999@aliyun887 -cnphpwnd9999@aliyun888 -cnphpwnd9999@aliyun889 -cnphpwnd9999@aliyun890 -cnphpwnd9999@aliyun891 -cnphpwnd9999@aliyun892 -cnphpwnd9999@aliyun893 -cnphpwnd9999@aliyun894 -cnphpwnd9999@aliyun895 -cnphpwnd9999@aliyun896 -cnphpwnd9999@aliyun897 -cnphpwnd9999@aliyun898 -cnphpwnd9999@aliyun899 -cnphpwnd9999@aliyun900 -cnphpwnd9999@aliyun901 -cnphpwnd9999@aliyun902 -cnphpwnd9999@aliyun903 -cnphpwnd9999@aliyun904 -cnphpwnd9999@aliyun905 -cnphpwnd9999@aliyun906 -cnphpwnd9999@aliyun907 -cnphpwnd9999@aliyun908 -cnphpwnd9999@aliyun909 -cnphpwnd9999@aliyun910 -cnphpwnd9999@aliyun911 -cnphpwnd9999@aliyun912 -cnphpwnd9999@aliyun913 -cnphpwnd9999@aliyun914 -cnphpwnd9999@aliyun915 -cnphpwnd9999@aliyun916 -cnphpwnd9999@aliyun917 -cnphpwnd9999@aliyun918 -cnphpwnd9999@aliyun919 -cnphpwnd9999@aliyun920 -cnphpwnd9999@aliyun921 -cnphpwnd9999@aliyun922 -cnphpwnd9999@aliyun923 -cnphpwnd9999@aliyun924 -cnphpwnd9999@aliyun925 -cnphpwnd9999@aliyun926 -cnphpwnd9999@aliyun927 -cnphpwnd9999@aliyun928 -cnphpwnd9999@aliyun929 -cnphpwnd9999@aliyun930 -cnphpwnd9999@aliyun931 -cnphpwnd9999@aliyun932 -cnphpwnd9999@aliyun933 -cnphpwnd9999@aliyun934 -cnphpwnd9999@aliyun935 -cnphpwnd9999@aliyun936 -cnphpwnd9999@aliyun937 -cnphpwnd9999@aliyun938 -cnphpwnd9999@aliyun939 -cnphpwnd9999@aliyun940 -cnphpwnd9999@aliyun941 -cnphpwnd9999@aliyun942 -cnphpwnd9999@aliyun943 -cnphpwnd9999@aliyun944 -cnphpwnd9999@aliyun945 -cnphpwnd9999@aliyun946 -cnphpwnd9999@aliyun947 -cnphpwnd9999@aliyun948 -cnphpwnd9999@aliyun949 -cnphpwnd9999@aliyun950 -cnphpwnd9999@aliyun951 -cnphpwnd9999@aliyun952 -cnphpwnd9999@aliyun953 -cnphpwnd9999@aliyun954 -cnphpwnd9999@aliyun955 -cnphpwnd9999@aliyun956 -cnphpwnd9999@aliyun957 -cnphpwnd9999@aliyun958 -cnphpwnd9999@aliyun959 -cnphpwnd9999@aliyun960 -cnphpwnd9999@aliyun961 -cnphpwnd9999@aliyun962 -cnphpwnd9999@aliyun963 -cnphpwnd9999@aliyun964 -cnphpwnd9999@aliyun965 -cnphpwnd9999@aliyun966 -cnphpwnd9999@aliyun967 -cnphpwnd9999@aliyun968 -cnphpwnd9999@aliyun969 -cnphpwnd9999@aliyun970 -cnphpwnd9999@aliyun971 -cnphpwnd9999@aliyun972 -cnphpwnd9999@aliyun973 -cnphpwnd9999@aliyun974 -cnphpwnd9999@aliyun975 -cnphpwnd9999@aliyun976 -cnphpwnd9999@aliyun977 -cnphpwnd9999@aliyun978 -cnphpwnd9999@aliyun979 -cnphpwnd9999@aliyun980 -cnphpwnd9999@aliyun981 -cnphpwnd9999@aliyun982 -cnphpwnd9999@aliyun983 -cnphpwnd9999@aliyun984 -cnphpwnd9999@aliyun985 -cnphpwnd9999@aliyun986 -cnphpwnd9999@aliyun987 -cnphpwnd9999@aliyun988 -cnphpwnd9999@aliyun989 -cnphpwnd9999@aliyun990 -cnphpwnd9999@aliyun991 -cnphpwnd9999@aliyun992 -cnphpwnd9999@aliyun993 -cnphpwnd9999@aliyun994 -cnphpwnd9999@aliyun995 -cnphpwnd9999@aliyun996 -cnphpwnd9999@aliyun997 -cnphpwnd9999@aliyun998 -cnphpwnd9999@aliyun999 diff --git a/features/aliww/data/user b/features/aliww/data/user deleted file mode 100644 index 7c488d9..0000000 --- a/features/aliww/data/user +++ /dev/null @@ -1,1918 +0,0 @@ -cntaobao000000008c -cntaobao00000000hai -cntaobao00000abc -cntaobao00000yang -cntaobao00002009gxy -cntaobao000147land -cntaobao0001pan -cntaobao000700_cn1 -cntaobao000963as -cntaobao000js -cntaobao000liujun -cntaobao000lkx -cntaobao000maple -cntaobao000masca -cntaobao000milihua000 -cntaobao000miller -cntaobao000superman000 -cntaobao000woaini -cntaobao000ying -cntaobao000zero -cntaobao000zhaoxin -cntaobao000zhou000 -cntaobao001001001a -cntaobao00112233aabbccdd -cntaobao001127pan -cntaobao0015563qinyao -cntaobao00168zjp -cntaobao001afd -cntaobao001baby -cntaobao001dalong -cntaobao001happy -cntaobao001huangrong -cntaobao001nature -cntaobao001sina -cntaobao001wangjianqiang -cntaobao001zhangji -cntaobao0015Deva -cntaobao002angel -cntaobao003-sa -cntaobao0030013587152linjian -cntaobao003837xiang -cntaobao003jianglei -cntaobao003wang -cntaobao004-@O3f -cntaobao00544c -cntaobao00544wang -cntaobao0056yue -cntaobao00578_8_ -cntaobao005farmer005 -cntaobao007315ODQ) -cntaobao007321j38 -cntaobao00741840jj -cntaobao0075wenlin -cntaobao0079394y -cntaobao007_apple -cntaobao007_liujia -cntaobao007_terminator -cntaobao007_wangxu -cntaobao007ab -cntaobao007abc -cntaobao007angel -cntaobao007avril -cntaobao007bluesea -cntaobao007caih -cntaobao007chaochao -cntaobao007dragon -cntaobao007jamesjiang -cntaobao007love1&1& -cntaobao007playboy -cntaobao007shanghaichq -cntaobao007superman910 -cntaobao007w008 -cntaobao007xujiajun -cntaobao007P!@.0H -cntaobao008_angel -cntaobao008black -cntaobao008g -cntaobao008ganggang -cntaobao008shanhang -cntaobao008wangshuo -cntaobao008xiang -cntaobao0099aass -cntaobao009a1 -cntaobao009firedragon -cntaobao009hank -cntaobao009tang -cntaobao00a1a2a3a4 -cntaobao00a22 -cntaobao00atubo -cntaobao00baby -cntaobao00gaoxin00 -cntaobao00hai2004 -cntaobao00han1 -cntaobao00hanwei -cntaobao00i45hayj -cntaobao00jhyz -cntaobao00lalala00 -cntaobao00lang -cntaobao00love -cntaobao00mary -cntaobao00rainbow -cntaobao00range -cntaobao00susan -cntaobao00v00 -cntaobao00yan1982 -cntaobao00zhangrui00 -cntaobao00zhaoxin -cntaobao00zhaoyong -cntaobao0102jessica -cntaobao0109and1016 -cntaobao010zufang -cntaobao0111.wang -cntaobao0112244abe -cntaobao0122aa -cntaobao0123wangwentao -cntaobao0123zhanghaibin -cntaobao0123zhangzhi -cntaobao0124yuhoucaihong -cntaobao01311846abc -cntaobao0131aya -cntaobao016woaini -cntaobao0171206-a -cntaobao0175lan -cntaobao019cat -cntaobao01rainbowfox -cntaobao01sandy -cntaobao01tracy2005 -cntaobao01wangfeng -cntaobao01wanglin -cntaobao01TxR;Q8zyx -cntaobao02-yuan -cntaobao0201jian -cntaobao020lanlan -cntaobao02110huang -cntaobao0214jiajia -cntaobao021608huang -cntaobao0218tiandi -cntaobao021fang -cntaobao021tianzi -cntaobao021xianer -cntaobao022710naughtyqueen -cntaobao0229anddy -cntaobao022dandan -cntaobao022wanzhaoyi512 -cntaobao026china.com -cntaobao02dangzhibu -cntaobao02maggie -cntaobao02sea-c -cntaobao02xda -cntaobao03-abcpj -cntaobao0302vvc -cntaobao0317liuxiang -cntaobao0317liwang -cntaobao0323liangzi -cntaobao0327abc -cntaobao0351yangbin -cntaobao0357a -cntaobao0378abc -cntaobao0397886aa -cntaobao03_a -cntaobao03ad -cntaobao03auto-wx -cntaobao03ecyxxiao -cntaobao03Dj5DP!14 -cntaobao040221xiaoxiao -cntaobao0402abc -cntaobao0408231ace -cntaobao0412wangwei -cntaobao0417hailang -cntaobao041banji -cntaobao0433xiaoning -cntaobao0452shuaige -cntaobao0453020fay -cntaobao04807zswad -cntaobao04_victoria -cntaobao04piaoxue -cntaobao0506onsale -cntaobao0509gao -cntaobao05102118612asd -cntaobao0513yuanzhong -cntaobao0518all -cntaobao0518dabi -cntaobao052010a -cntaobao0535huaguan -cntaobao0554kuangli -cntaobao0571lancome -cntaobao0574abs -cntaobao0577air -cntaobao0595binghuan -cntaobao05971001a -cntaobao05chan -cntaobao05easter -cntaobao05edgar -cntaobao05zhanghanling -cntaobao0629zhangqi -cntaobao0630zhuai1 -cntaobao0630zhuai5 -cntaobao0632caobingde -cntaobao0632dongqiang -cntaobao06501zhang -cntaobao0661cailigui -cntaobao0663xiaozhu -cntaobao0708lc -cntaobao0708lc2 -cntaobao0716kay -cntaobao0754jack888 -cntaobao0772ayu -cntaobao07a1s4jk -cntaobao07hack -cntaobao07zhanglei -cntaobao0801xiaofan -cntaobao0812alvin -cntaobao084samzeng -cntaobao0864aa -cntaobao08alan -cntaobao08atyliou -cntaobao08linqiang -cntaobao08woshishuaige -cntaobao0929_v2 -cntaobao0932313woaini -cntaobao0937ctgafmyruq -cntaobao09876123a -cntaobao0987oiuam -cntaobao098aua8 -cntaobao098lkjhgfdsa -cntaobao0998nijat -cntaobao09tianbo -cntaobao0Ivank0 -cntaobao0_clamp_0 -cntaobao0a38317b -cntaobao0aa0 -cntaobao0aaaaa -cntaobao0aileen0 -cntaobao0aking -cntaobao0amtf -cntaobao0autumn0 -cntaobao0cat -cntaobao0ceanus -cntaobao0dongyuhua0 -cntaobao0enpast0 -cntaobao0euuyadfvqam4vbh7jz -cntaobao0fengtao0 -cntaobao0huan0 -cntaobao0huang520 -cntaobao0huaxiao0 -cntaobao0jayboy0 -cntaobao0lisa -cntaobao0livia -cntaobao0liwang0 -cntaobao0magician0 -cntaobao0mars -cntaobao0mianjiu0 -cntaobao0nancy111 -cntaobao0racky0 -cntaobao0rane -cntaobao0shannel0 -cntaobao0shark0 -cntaobao0small0 -cntaobao0start -cntaobao0t4dhlacz0 -cntaobao0tian0 -cntaobao0wangjian1 -cntaobao0wangyi0 -cntaobao0william01080553167 -cntaobao0yangzhao0 -cntaobao0zhan0 -cntaobao0zhangyan5 -cntaobao1 -cntaobao1-aaaa -cntaobao1-image -cntaobao1-one-man -cntaobao10 -cntaobao100 -cntaobao100000aaa -cntaobao1000abcd -cntaobao1000show -cntaobao1000wangtao -cntaobao1001han -cntaobao1001reason -cntaobao100432828a -cntaobao10063049abc -cntaobao1008_alon -cntaobao1008a1008b -cntaobao100aj200aj -cntaobao100asp -cntaobao100caoyang -cntaobao100cat -cntaobao100chao -cntaobao100fang -cntaobao100fun -cntaobao100idea -cntaobao100orange -cntaobao100roma -cntaobao100shuma -cntaobao100star -cntaobao10112355abc -cntaobao101209tian -cntaobao1013xiangkun -cntaobao1014huangyan -cntaobao1016angel -cntaobao1017hua -cntaobao1017pan -cntaobao1018_v2 -cntaobao1019yaner -cntaobao101amy -cntaobao101bandian -cntaobao101hao -cntaobao101oscarwang -cntaobao101yan -cntaobao1021a -cntaobao1021rain -cntaobao1026yan -cntaobao102788yangyang -cntaobao1027dasha -cntaobao1028baojihe -cntaobao1029vv -cntaobao102baby -cntaobao102lan -cntaobao1031195a -cntaobao1031xiaoyang -cntaobao103_jacob -cntaobao103ajie -cntaobao103cagen -cntaobao103snake -cntaobao106016521zhaohua -cntaobao109608337tian -cntaobao109rao -cntaobao10ac9 -cntaobao10bar -cntaobao10haha -cntaobao10haoallan -cntaobao10jqka -cntaobao10paopaotang -cntaobao10star -cntaobao10totta -cntaobao11 -cntaobao110112119a -cntaobao110119chao -cntaobao1101qaz -cntaobao1102vv -cntaobao1104wawa -cntaobao110844095a -cntaobao110abc -cntaobao110palpalpal -cntaobao110tangxiaoxiao -cntaobao1111 -cntaobao11111111aa -cntaobao111111aa1 -cntaobao111111aa67 -cntaobao111111as -cntaobao111112 -cntaobao11112 -cntaobao1111wayy -cntaobao1111zhaojian -cntaobao111222aaasss -cntaobao11123huanxiang -cntaobao1112ha -cntaobao1112yy -cntaobao11131312 -cntaobao11150angel -cntaobao1115amy -cntaobao111a051010 -cntaobao111aa222bb -cntaobao111aaabbbcccdddeeeff -cntaobao111bao -cntaobao111c -cntaobao111jia -cntaobao111playingcards -cntaobao111wangjie -cntaobao111yuasnu -cntaobao1121prettycat -cntaobao112233asd -cntaobao1122axfc -cntaobao1122qwertyuiop001 -cntaobao1122qwertyuiop002 -cntaobao1122qwertyuiop003 -cntaobao1122qwertyuiop004 -cntaobao1122qwertyuiop005 -cntaobao1122qwertyuiop006 -cntaobao1122qwertyuiop007 -cntaobao1122qwertyuiop007:1 -cntaobao1122qwertyuiop008 -cntaobao1123linda -cntaobao112488873zhao -cntaobao1126saw -cntaobao1128aniki -cntaobao1129qwertyuiop001 -cntaobao1129wukan -cntaobao112asda -cntaobao112huangcong -cntaobao112kang -cntaobao112vian -cntaobao1130sunday -cntaobao11323fan -cntaobao11334das -cntaobao113539127aa -cntaobao113542510a -cntaobao113711garfield -cntaobao114511201a -cntaobao114857484abc -cntaobao114ma -cntaobao114rachel -cntaobao11555yang -cntaobao1155saww -cntaobao115abc -cntaobao1168qianbin -cntaobao116heyao116 -cntaobao117520huangjuan -cntaobao117729177han -cntaobao117gaow -cntaobao117jack -cntaobao117sail -cntaobao117xiaodi -cntaobao1186899shanshan88 -cntaobao1188242a -cntaobao1188liufangzhou -cntaobao119-game -cntaobao1190803a -cntaobao1199368aw -cntaobao11999922qian -cntaobao119bearbear -cntaobao119swa -cntaobao11a22s -cntaobao11aabb -cntaobao11archer -cntaobao11ayz0000000002 -cntaobao11ayz0000000004 -cntaobao11ayz0000000006 -cntaobao11ayz0000000008 -cntaobao11ayz0000000010 -cntaobao11ayz0000000012 -cntaobao11ayz0000000014 -cntaobao11ayz0000000016 -cntaobao11ayz0000000018 -cntaobao11ayz0000000020 -cntaobao11ayz0000000022 -cntaobao11ayz0000000024 -cntaobao11ayz0000000026 -cntaobao11ayz0000000028 -cntaobao11ayz0000000030 -cntaobao11ayz0000000032 -cntaobao11ayz0000000034 -cntaobao11ayz0000000036 -cntaobao11ayz0000000038 -cntaobao11ayz0000000040 -cntaobao11ayz0000000042 -cntaobao11ayz0000000044 -cntaobao11ayz0000000046 -cntaobao11ayz0000000048 -cntaobao11ayz0000000050 -cntaobao11ayz0000000052 -cntaobao11ayz0000000054 -cntaobao11ayz0000000056 -cntaobao11ayz0000000058 -cntaobao11ayz0000000060 -cntaobao11ayz0000000062 -cntaobao11ayz0000000064 -cntaobao11ayz0000000066 -cntaobao11ayz0000000068 -cntaobao11ayz0000000070 -cntaobao11ayz0000000072 -cntaobao11ayz0000000074 -cntaobao11ayz0000000076 -cntaobao11ayz0000000078 -cntaobao11ayz0000000080 -cntaobao11ayz0000000082 -cntaobao11ayz0000000084 -cntaobao11ayz0000000086 -cntaobao11ayz0000000088 -cntaobao11ayz0000000090 -cntaobao11ayz0000000092 -cntaobao11ayz0000000094 -cntaobao11ayz0000000096 -cntaobao11ayz0000000098 -cntaobao11ayz0000000100 -cntaobao11ayz0000000102 -cntaobao11ayz0000000104 -cntaobao11ayz0000000106 -cntaobao11ayz0000000108 -cntaobao11ayz0000000110 -cntaobao11ayz0000000112 -cntaobao11ayz0000000114 -cntaobao11ayz0000000116 -cntaobao11ayz0000000118 -cntaobao11ayz0000000120 -cntaobao11ayz0000000122 -cntaobao11ayz0000000124 -cntaobao11ayz0000000126 -cntaobao11ayz0000000128 -cntaobao11ayz0000000130 -cntaobao11ayz0000000132 -cntaobao11ayz0000000134 -cntaobao11ayz0000000136 -cntaobao11ayz0000000138 -cntaobao11ayz0000000140 -cntaobao11ayz0000000142 -cntaobao11ayz0000000144 -cntaobao11ayz0000000146 -cntaobao11ayz0000000148 -cntaobao11ayz0000000150 -cntaobao11ayz0000000152 -cntaobao11ayz0000000154 -cntaobao11ayz0000000156 -cntaobao11ayz0000000158 -cntaobao11ayz0000000160 -cntaobao11ayz0000000162 -cntaobao11ayz0000000164 -cntaobao11ayz0000000166 -cntaobao11ayz0000000168 -cntaobao11ayz0000000170 -cntaobao11ayz0000000172 -cntaobao11ayz0000000174 -cntaobao11ayz0000000176 -cntaobao11ayz0000000178 -cntaobao11ayz0000000180 -cntaobao11ayz0000000182 -cntaobao11ayz0000000184 -cntaobao11ayz0000000186 -cntaobao11ayz0000000188 -cntaobao11ayz0000000190 -cntaobao11ayz0000000192 -cntaobao11ayz0000000194 -cntaobao11ayz0000000196 -cntaobao11ayz0000000198 -cntaobao11ayz0000000200 -cntaobao11ayz0000000202 -cntaobao11ayz0000000204 -cntaobao11ayz0000000206 -cntaobao11ayz0000000208 -cntaobao11ayz0000000210 -cntaobao11ayz0000000212 -cntaobao11ayz0000000214 -cntaobao11ayz0000000216 -cntaobao11ayz0000000218 -cntaobao11ayz0000000220 -cntaobao11ayz0000000222 -cntaobao11ayz0000000224 -cntaobao11ayz0000000226 -cntaobao11ayz0000000228 -cntaobao11ayz0000000230 -cntaobao11ayz0000000232 -cntaobao11ayz0000000234 -cntaobao11ayz0000000236 -cntaobao11ayz0000000238 -cntaobao11ayz0000000240 -cntaobao11ayz0000000242 -cntaobao11ayz0000000244 -cntaobao11ayz0000000246 -cntaobao11ayz0000000248 -cntaobao11ayz0000000250 -cntaobao11ayz0000000252 -cntaobao11ayz0000000254 -cntaobao11ayz0000000256 -cntaobao11ayz0000000258 -cntaobao11ayz0000000260 -cntaobao11ayz0000000262 -cntaobao11ayz0000000264 -cntaobao11ayz0000000266 -cntaobao11ayz0000000268 -cntaobao11ayz0000000270 -cntaobao11ayz0000000272 -cntaobao11ayz0000000274 -cntaobao11ayz0000000276 -cntaobao11ayz0000000278 -cntaobao11ayz0000000280 -cntaobao11ayz0000000282 -cntaobao11ayz0000000284 -cntaobao11ayz0000000286 -cntaobao11ayz0000000288 -cntaobao11ayz0000000290 -cntaobao11ayz0000000292 -cntaobao11ayz0000000294 -cntaobao11ayz0000000296 -cntaobao11ayz0000000298 -cntaobao11ayz0000000300 -cntaobao11ayz0000000302 -cntaobao11ayz0000000304 -cntaobao11ayz0000000306 -cntaobao11ayz0000000308 -cntaobao11ayz0000000310 -cntaobao11ayz0000000312 -cntaobao11ayz0000000314 -cntaobao11ayz0000000316 -cntaobao11ayz0000000318 -cntaobao11ayz0000000320 -cntaobao11ayz0000000322 -cntaobao11ayz0000000324 -cntaobao11ayz0000000326 -cntaobao11ayz0000000328 -cntaobao11ayz0000000330 -cntaobao11ayz0000000332 -cntaobao11ayz0000000334 -cntaobao11ayz0000000336 -cntaobao11ayz0000000338 -cntaobao11ayz0000000340 -cntaobao11ayz0000000342 -cntaobao11ayz0000000344 -cntaobao11ayz0000000346 -cntaobao11ayz0000000348 -cntaobao11ayz0000000350 -cntaobao11ayz0000000352 -cntaobao11ayz0000000354 -cntaobao11ayz0000000356 -cntaobao11ayz0000000358 -cntaobao11ayz0000000360 -cntaobao11ayz0000000362 -cntaobao11ayz0000000364 -cntaobao11ayz0000000366 -cntaobao11ayz0000000368 -cntaobao11ayz0000000370 -cntaobao11ayz0000000372 -cntaobao11ayz0000000374 -cntaobao11ayz0000000376 -cntaobao11ayz0000000378 -cntaobao11ayz0000000380 -cntaobao11ayz0000000382 -cntaobao11ayz0000000384 -cntaobao11ayz0000000386 -cntaobao11ayz0000000388 -cntaobao11ayz0000000390 -cntaobao11ayz0000000392 -cntaobao11ayz0000000394 -cntaobao11ayz0000000396 -cntaobao11ayz0000000398 -cntaobao11ayz0000000400 -cntaobao11ayz0000000402 -cntaobao11ayz0000000404 -cntaobao11ayz0000000406 -cntaobao11ayz0000000408 -cntaobao11ayz0000000410 -cntaobao11ayz0000000412 -cntaobao11ayz0000000414 -cntaobao11ayz0000000416 -cntaobao11ayz0000000418 -cntaobao11ayz0000000420 -cntaobao11ayz0000000424 -cntaobao11ayz0000000426 -cntaobao11ayz0000000428 -cntaobao11ayz0000000430 -cntaobao11ayz0000000432 -cntaobao11ayz0000000434 -cntaobao11ayz0000000438 -cntaobao11ayz0000000440 -cntaobao11ayz0000000442 -cntaobao11ayz0000000444 -cntaobao11ayz0000000446 -cntaobao11ayz0000000448 -cntaobao11ayz0000000450 -cntaobao11ayz0000000452 -cntaobao11ayz0000000454 -cntaobao11ayz0000000456 -cntaobao11ayz0000000458 -cntaobao11ayz0000000460 -cntaobao11ayz0000000462 -cntaobao11ayz0000000464 -cntaobao11ayz0000000466 -cntaobao11ayz0000000468 -cntaobao11ayz0000000470 -cntaobao11ayz0000000472 -cntaobao11ayz0000000474 -cntaobao11ayz0000000476 -cntaobao11ayz0000000478 -cntaobao11ayz0000000480 -cntaobao11ayz0000000482 -cntaobao11ayz0000000484 -cntaobao11ayz0000000486 -cntaobao11ayz0000000488 -cntaobao11ayz0000000490 -cntaobao11ayz0000000492 -cntaobao11ayz0000000494 -cntaobao11ayz0000000496 -cntaobao11ayz0000000498 -cntaobao11ayz0000000500 -cntaobao11ayz0000000502 -cntaobao11ayz0000000504 -cntaobao11ayz0000000506 -cntaobao11ayz0000000508 -cntaobao11ayz0000000510 -cntaobao11ayz0000000512 -cntaobao11ayz0000000514 -cntaobao11ayz0000000516 -cntaobao11ayz0000000518 -cntaobao11ayz0000000520 -cntaobao11ayz0000000522 -cntaobao11ayz0000000524 -cntaobao11ayz0000000526 -cntaobao11ayz0000000528 -cntaobao11ayz0000000532 -cntaobao11ayz0000000534 -cntaobao11ayz0000000536 -cntaobao11ayz0000000538 -cntaobao11ayz0000000540 -cntaobao11ayz0000000542 -cntaobao11ayz0000000544 -cntaobao11ayz0000000546 -cntaobao11ayz0000000550 -cntaobao11ayz0000000552 -cntaobao11ayz0000000554 -cntaobao11ayz0000000556 -cntaobao11ayz0000000558 -cntaobao11ayz0000000560 -cntaobao11ayz0000000562 -cntaobao11ayz0000000564 -cntaobao11ayz0000000566 -cntaobao11ayz0000000568 -cntaobao11ayz0000000570 -cntaobao11ayz0000000574 -cntaobao11ayz0000000576 -cntaobao11ayz0000000578 -cntaobao11ayz0000000580 -cntaobao11ayz0000000582 -cntaobao11ayz0000000584 -cntaobao11ayz0000000586 -cntaobao11ayz0000000588 -cntaobao11ayz0000000590 -cntaobao11ayz0000000592 -cntaobao11ayz0000000594 -cntaobao11ayz0000000596 -cntaobao11ayz0000000598 -cntaobao11ayz0000000600 -cntaobao11ayz0000000608 -cntaobao11ayz0000000610 -cntaobao11ayz0000000612 -cntaobao11ayz0000000616 -cntaobao11ayz0000000618 -cntaobao11ayz0000000620 -cntaobao11ayz0000000622 -cntaobao11ayz0000000624 -cntaobao11ayz0000000628 -cntaobao11ayz0000000630 -cntaobao11ayz0000000632 -cntaobao11ayz0000000634 -cntaobao11ayz0000000636 -cntaobao11ayz0000000646 -cntaobao11ayz0000000648 -cntaobao11ayz0000000652 -cntaobao11ayz0000000654 -cntaobao11ayz0000000658 -cntaobao11ayz0000000660 -cntaobao11ayz0000000662 -cntaobao11ayz0000000666 -cntaobao11ayz0000000668 -cntaobao11ayz0000000670 -cntaobao11ayz0000000672 -cntaobao11ayz0000000676 -cntaobao11ayz0000000678 -cntaobao11ayz0000000684 -cntaobao11ayz0000000690 -cntaobao11ayz0000000692 -cntaobao11ayz0000000698 -cntaobao11ayz0000000700 -cntaobao11ayz0000000702 -cntaobao11ayz0000000704 -cntaobao11ayz0000000706 -cntaobao11ayz0000000708 -cntaobao11ayz0000000710 -cntaobao11ayz0000000712 -cntaobao11ayz0000000716 -cntaobao11ayz0000000726 -cntaobao11ayz0000000730 -cntaobao11ayz0000000734 -cntaobao11ayz0000000736 -cntaobao11ayz0000000740 -cntaobao11ayz0000000746 -cntaobao11ayz0000000754 -cntaobao11ayz0000000760 -cntaobao11ayz0000000762 -cntaobao11ayz0000000766 -cntaobao11ayz0000000770 -cntaobao11ayz0000000772 -cntaobao11ayz0000000776 -cntaobao11ayz0000000786 -cntaobao11ayz0000000790 -cntaobao11ayz0000000792 -cntaobao11ayz0000000794 -cntaobao11ayz0000000796 -cntaobao11ayz0000000798 -cntaobao11ayz0000000802 -cntaobao11ayz0000000804 -cntaobao11ayz0000000806 -cntaobao11ayz0000000808 -cntaobao11ayz0000000810 -cntaobao11ayz0000000812 -cntaobao11ayz0000000816 -cntaobao11ayz0000000820 -cntaobao11ayz0000000822 -cntaobao11ayz0000000824 -cntaobao11ayz0000000826 -cntaobao11ayz0000000830 -cntaobao11ayz0000000832 -cntaobao11ayz0000000834 -cntaobao11ayz0000000836 -cntaobao11ayz0000000844 -cntaobao11ayz0000000846 -cntaobao11ayz0000000848 -cntaobao11ayz0000000850 -cntaobao11ayz0000000852 -cntaobao11ayz0000000858 -cntaobao11ayz0000000860 -cntaobao11ayz0000000862 -cntaobao11ayz0000000864 -cntaobao11ayz0000000872 -cntaobao11ayz0000000876 -cntaobao11ayz0000000878 -cntaobao11ayz0000000880 -cntaobao11ayz0000000884 -cntaobao11ayz0000000886 -cntaobao11ayz0000000888 -cntaobao11ayz0000000890 -cntaobao11ayz0000000892 -cntaobao11ayz0000000894 -cntaobao11ayz0000000904 -cntaobao11ayz0000000916 -cntaobao11ayz0000000922 -cntaobao11ayz0000000926 -cntaobao11ayz0000000928 -cntaobao11ayz0000000930 -cntaobao11ayz0000000932 -cntaobao11ayz0000000940 -cntaobao11ayz0000000946 -cntaobao11ayz0000000952 -cntaobao11ayz0000000958 -cntaobao11ayz0000000960 -cntaobao11ayz0000000970 -cntaobao11ayz0000000974 -cntaobao11ayz0000000976 -cntaobao11ayz0000000980 -cntaobao11ayz0000000982 -cntaobao11ayz0000000988 -cntaobao11ayz0000000998 -cntaobao11ayz0100000002 -cntaobao11ayz0100000004 -cntaobao11ayz0100000006 -cntaobao11ayz0100000008 -cntaobao11ayz0100000010 -cntaobao11ayz0100000012 -cntaobao11ayz0100000014 -cntaobao11ayz0100000016 -cntaobao11ayz0100000018 -cntaobao11ayz0100000020 -cntaobao11ayz0100000022 -cntaobao11ayz0100000024 -cntaobao11ayz0100000026 -cntaobao11ayz0100000028 -cntaobao11ayz0100000030 -cntaobao11ayz0100000032 -cntaobao11ayz0100000034 -cntaobao11ayz0100000036 -cntaobao11ayz0100000038 -cntaobao11ayz0100000040 -cntaobao11ayz0100000042 -cntaobao11ayz0100000044 -cntaobao11ayz0100000046 -cntaobao11ayz0100000048 -cntaobao11ayz0100000050 -cntaobao11ayz0100000052 -cntaobao11ayz0100000054 -cntaobao11ayz0100000056 -cntaobao11ayz0100000058 -cntaobao11ayz0100000060 -cntaobao11ayz0100000062 -cntaobao11ayz0100000064 -cntaobao11ayz0100000066 -cntaobao11ayz0100000068 -cntaobao11ayz0100000070 -cntaobao11ayz0100000072 -cntaobao11ayz0100000074 -cntaobao11ayz0100000076 -cntaobao11ayz0100000078 -cntaobao11ayz0100000080 -cntaobao11ayz0100000082 -cntaobao11ayz0100000084 -cntaobao11ayz0100000086 -cntaobao11ayz0100000088 -cntaobao11ayz0100000090 -cntaobao11ayz0100000092 -cntaobao11ayz0100000094 -cntaobao11ayz0100000096 -cntaobao11ayz0100000098 -cntaobao11ayz0100000100 -cntaobao11ayz0100000102 -cntaobao11ayz0100000104 -cntaobao11ayz0100000106 -cntaobao11ayz0100000108 -cntaobao11ayz0100000110 -cntaobao11ayz0100000112 -cntaobao11ayz0100000114 -cntaobao11ayz0100000116 -cntaobao11ayz0100000118 -cntaobao11ayz0100000120 -cntaobao11ayz0100000122 -cntaobao11ayz0100000124 -cntaobao11ayz0100000126 -cntaobao11ayz0100000128 -cntaobao11ayz0100000130 -cntaobao11ayz0100000132 -cntaobao11ayz0100000134 -cntaobao11ayz0100000136 -cntaobao11ayz0100000138 -cntaobao11ayz0100000140 -cntaobao11ayz0100000142 -cntaobao11ayz0100000144 -cntaobao11ayz0100000146 -cntaobao11ayz0100000148 -cntaobao11ayz0100000150 -cntaobao11ayz0100000152 -cntaobao11ayz0100000154 -cntaobao11ayz0100000156 -cntaobao11ayz0100000158 -cntaobao11ayz0100000160 -cntaobao11ayz0100000162 -cntaobao11ayz0100000164 -cntaobao11ayz0100000166 -cntaobao11ayz0100000168 -cntaobao11ayz0100000170 -cntaobao11ayz0100000172 -cntaobao11ayz0100000174 -cntaobao11ayz0100000176 -cntaobao11ayz0100000178 -cntaobao11ayz0100000180 -cntaobao11ayz0100000182 -cntaobao11ayz0100000184 -cntaobao11ayz0100000186 -cntaobao11ayz0100000188 -cntaobao11ayz0100000190 -cntaobao11ayz0100000192 -cntaobao11ayz0100000194 -cntaobao11ayz0100000196 -cntaobao11ayz0100000198 -cntaobao11ayz0100000200 -cntaobao11ayz0100000202 -cntaobao11ayz0100000204 -cntaobao11ayz0100000206 -cntaobao11ayz0100000208 -cntaobao11ayz0100000210 -cntaobao11ayz0100000212 -cntaobao11ayz0100000214 -cntaobao11ayz0100000216 -cntaobao11ayz0100000218 -cntaobao11ayz0100000220 -cntaobao11ayz0100000222 -cntaobao11ayz0100000224 -cntaobao11ayz0100000226 -cntaobao11ayz0100000228 -cntaobao11ayz0100000230 -cntaobao11ayz0100000232 -cntaobao11ayz0100000234 -cntaobao11ayz0100000236 -cntaobao11ayz0100000238 -cntaobao11ayz0100000240 -cntaobao11ayz0100000242 -cntaobao11ayz0100000244 -cntaobao11ayz0100000246 -cntaobao11ayz0100000248 -cntaobao11ayz0100000250 -cntaobao11ayz0100000252 -cntaobao11ayz0100000254 -cntaobao11ayz0100000256 -cntaobao11ayz0100000258 -cntaobao11ayz0100000260 -cntaobao11ayz0100000262 -cntaobao11ayz0100000264 -cntaobao11ayz0100000266 -cntaobao11ayz0100000268 -cntaobao11ayz0100000270 -cntaobao11ayz0100000272 -cntaobao11ayz0100000274 -cntaobao11ayz0100000276 -cntaobao11ayz0100000278 -cntaobao11ayz0100000280 -cntaobao11ayz0100000282 -cntaobao11ayz0100000284 -cntaobao11ayz0100000286 -cntaobao11ayz0100000288 -cntaobao11ayz0100000290 -cntaobao11ayz0100000292 -cntaobao11ayz0100000294 -cntaobao11ayz0100000296 -cntaobao11ayz0100000298 -cntaobao11ayz0100000300 -cntaobao11ayz0100000302 -cntaobao11ayz0100000304 -cntaobao11ayz0100000306 -cntaobao11ayz0100000308 -cntaobao11ayz0100000310 -cntaobao11ayz0100000312 -cntaobao11ayz0100000314 -cntaobao11ayz0100000316 -cntaobao11ayz0100000318 -cntaobao11ayz0100000320 -cntaobao11ayz0100000322 -cntaobao11ayz0100000324 -cntaobao11ayz0100000326 -cntaobao11ayz0100000328 -cntaobao11ayz0100000330 -cntaobao11ayz0100000332 -cntaobao11ayz0100000334 -cntaobao11ayz0100000336 -cntaobao11ayz0100000338 -cntaobao11ayz0100000340 -cntaobao11ayz0100000342 -cntaobao11ayz0100000344 -cntaobao11ayz0100000346 -cntaobao11ayz0100000348 -cntaobao11ayz0100000350 -cntaobao11ayz0100000352 -cntaobao11ayz0100000354 -cntaobao11ayz0100000356 -cntaobao11ayz0100000358 -cntaobao11ayz0100000360 -cntaobao11ayz0100000362 -cntaobao11ayz0100000364 -cntaobao11ayz0100000366 -cntaobao11ayz0100000368 -cntaobao11ayz0100000370 -cntaobao11ayz0100000372 -cntaobao11ayz0100000374 -cntaobao11ayz0100000376 -cntaobao11ayz0100000378 -cntaobao11ayz0100000380 -cntaobao11ayz0100000382 -cntaobao11ayz0100000384 -cntaobao11ayz0100000386 -cntaobao11ayz0100000388 -cntaobao11ayz0100000390 -cntaobao11ayz0100000392 -cntaobao11ayz0100000394 -cntaobao11ayz0100000396 -cntaobao11ayz0100000398 -cntaobao11ayz0100000400 -cntaobao11ayz0100000402 -cntaobao11ayz0100000404 -cntaobao11ayz0100000406 -cntaobao11ayz0100000408 -cntaobao11ayz0100000410 -cntaobao11ayz0100000412 -cntaobao11ayz0100000414 -cntaobao11ayz0100000416 -cntaobao11ayz0100000418 -cntaobao11ayz0100000420 -cntaobao11ayz0100000422 -cntaobao11ayz0100000424 -cntaobao11ayz0100000426 -cntaobao11ayz0100000428 -cntaobao11ayz0100000430 -cntaobao11ayz0100000432 -cntaobao11ayz0100000434 -cntaobao11ayz0100000436 -cntaobao11ayz0100000438 -cntaobao11ayz0100000440 -cntaobao11ayz0100000442 -cntaobao11ayz0100000444 -cntaobao11ayz0100000446 -cntaobao11ayz0100000448 -cntaobao11ayz0100000450 -cntaobao11ayz0100000452 -cntaobao11ayz0100000454 -cntaobao11ayz0100000456 -cntaobao11ayz0100000458 -cntaobao11ayz0100000460 -cntaobao11ayz0100000462 -cntaobao11ayz0100000464 -cntaobao11ayz0100000466 -cntaobao11ayz0100000468 -cntaobao11ayz0100000470 -cntaobao11ayz0100000472 -cntaobao11ayz0100000474 -cntaobao11ayz0100000476 -cntaobao11ayz0100000478 -cntaobao11ayz0100000480 -cntaobao11ayz0100000482 -cntaobao11ayz0100000484 -cntaobao11ayz0100000486 -cntaobao11ayz0100000488 -cntaobao11ayz0100000490 -cntaobao11ayz0100000492 -cntaobao11ayz0100000494 -cntaobao11ayz0100000496 -cntaobao11ayz0100000498 -cntaobao11ayz0100000500 -cntaobao11ayz0100000502 -cntaobao11ayz0100000504 -cntaobao11ayz0100000506 -cntaobao11ayz0100000508 -cntaobao11ayz0100000512 -cntaobao11ayz0100000514 -cntaobao11ayz0100000516 -cntaobao11ayz0100000518 -cntaobao11ayz0100000520 -cntaobao11ayz0100000522 -cntaobao11ayz0100000524 -cntaobao11ayz0100000526 -cntaobao11ayz0100000528 -cntaobao11ayz0100000530 -cntaobao11ayz0100000532 -cntaobao11ayz0100000534 -cntaobao11ayz0100000536 -cntaobao11ayz0100000538 -cntaobao11ayz0100000540 -cntaobao11ayz0100000542 -cntaobao11ayz0100000544 -cntaobao11ayz0100000546 -cntaobao11ayz0100000548 -cntaobao11ayz0100000550 -cntaobao11ayz0100000552 -cntaobao11ayz0100000554 -cntaobao11ayz0100000556 -cntaobao11ayz0100000558 -cntaobao11ayz0100000560 -cntaobao11ayz0100000562 -cntaobao11ayz0100000564 -cntaobao11ayz0100000566 -cntaobao11ayz0100000568 -cntaobao11ayz0100000570 -cntaobao11ayz0100000574 -cntaobao11ayz0100000576 -cntaobao11ayz0100000578 -cntaobao11ayz0100000580 -cntaobao11ayz0100000584 -cntaobao11ayz0100000588 -cntaobao11ayz0100000594 -cntaobao11ayz0100000596 -cntaobao11ayz0100000598 -cntaobao11ayz0100000600 -cntaobao11ayz0100000602 -cntaobao11ayz0100000604 -cntaobao11ayz0100000606 -cntaobao11ayz0100000610 -cntaobao11ayz0100000614 -cntaobao11ayz0100000616 -cntaobao11ayz0100000618 -cntaobao11ayz0100000620 -cntaobao11ayz0100000622 -cntaobao11ayz0100000624 -cntaobao11ayz0100000626 -cntaobao11ayz0100000628 -cntaobao11ayz0100000630 -cntaobao11ayz0100000632 -cntaobao11ayz0100000634 -cntaobao11ayz0100000638 -cntaobao11ayz0100000644 -cntaobao11ayz0100000648 -cntaobao11ayz0100000652 -cntaobao11ayz0100000656 -cntaobao11ayz0100000660 -cntaobao11ayz0100000662 -cntaobao11ayz0100000664 -cntaobao11ayz0100000672 -cntaobao11ayz0100000674 -cntaobao11ayz0100000676 -cntaobao11ayz0100000678 -cntaobao11ayz0100000686 -cntaobao11ayz0100000688 -cntaobao11ayz0100000694 -cntaobao11ayz0100000696 -cntaobao11ayz0100000698 -cntaobao11ayz0100000702 -cntaobao11ayz0100000706 -cntaobao11ayz0100000710 -cntaobao11ayz0100000712 -cntaobao11ayz0100000714 -cntaobao11ayz0100000716 -cntaobao11ayz0100000720 -cntaobao11ayz0100000724 -cntaobao11ayz0100000730 -cntaobao11ayz0100000732 -cntaobao11ayz0100000736 -cntaobao11ayz0100000738 -cntaobao11ayz0100000740 -cntaobao11ayz0100000742 -cntaobao11ayz0100000744 -cntaobao11ayz0100000746 -cntaobao11ayz0100000748 -cntaobao11ayz0100000750 -cntaobao11ayz0100000754 -cntaobao11ayz0100000758 -cntaobao11ayz0100000762 -cntaobao11ayz0100000764 -cntaobao11ayz0100000770 -cntaobao11ayz0100000780 -cntaobao11ayz0100000782 -cntaobao11ayz0100000784 -cntaobao11ayz0100000786 -cntaobao11ayz0100000788 -cntaobao11ayz0100000792 -cntaobao11ayz0100000794 -cntaobao11ayz0100000796 -cntaobao11ayz0100000798 -cntaobao11ayz0100000800 -cntaobao11ayz0100000802 -cntaobao11ayz0100000804 -cntaobao11ayz0100000812 -cntaobao11ayz0100000814 -cntaobao11ayz0100000816 -cntaobao11ayz0100000818 -cntaobao11ayz0100000822 -cntaobao11ayz0100000824 -cntaobao11ayz0100000826 -cntaobao11ayz0100000828 -cntaobao11ayz0100000834 -cntaobao11ayz0100000836 -cntaobao11ayz0100000838 -cntaobao11ayz0100000840 -cntaobao11ayz0100000842 -cntaobao11ayz0100000844 -cntaobao11ayz0100000846 -cntaobao11ayz0100000848 -cntaobao11ayz0100000850 -cntaobao11ayz0100000852 -cntaobao11ayz0100000854 -cntaobao11ayz0100000858 -cntaobao11ayz0100000860 -cntaobao11ayz0100000862 -cntaobao11ayz0100000864 -cntaobao11ayz0100000866 -cntaobao11ayz0100000868 -cntaobao11ayz0100000870 -cntaobao11ayz0100000872 -cntaobao11ayz0100000874 -cntaobao11ayz0100000876 -cntaobao11ayz0100000878 -cntaobao11ayz0100000880 -cntaobao11ayz0100000882 -cntaobao11ayz0100000884 -cntaobao11ayz0100000892 -cntaobao11ayz0100000898 -cntaobao11ayz0100000900 -cntaobao11ayz0100000902 -cntaobao11ayz0100000908 -cntaobao11ayz0100000916 -cntaobao11ayz0100000936 -cntaobao11ayz0100000938 -cntaobao11ayz0100000954 -cntaobao11ayz0100000960 -cntaobao11ayz0100000962 -cntaobao11ayz0100000988 -cntaobao11ayz0200000002 -cntaobao11ayz0200000004 -cntaobao11ayz0200000006 -cntaobao11ayz0200000008 -cntaobao11ayz0200000010 -cntaobao11ayz0200000012 -cntaobao11ayz0200000014 -cntaobao11ayz0200000016 -cntaobao11ayz0200000018 -cntaobao11ayz0200000020 -cntaobao11ayz0200000022 -cntaobao11ayz0200000024 -cntaobao11ayz0200000026 -cntaobao11ayz0200000028 -cntaobao11ayz0200000030 -cntaobao11ayz0200000032 -cntaobao11ayz0200000034 -cntaobao11ayz0200000036 -cntaobao11ayz0200000038 -cntaobao11ayz0200000040 -cntaobao11ayz0200000042 -cntaobao11ayz0200000044 -cntaobao11ayz0200000046 -cntaobao11ayz0200000048 -cntaobao11ayz0200000050 -cntaobao11ayz0200000052 -cntaobao11ayz0200000054 -cntaobao11ayz0200000056 -cntaobao11ayz0200000058 -cntaobao11ayz0200000060 -cntaobao11ayz0200000062 -cntaobao11ayz0200000064 -cntaobao11ayz0200000066 -cntaobao11ayz0200000068 -cntaobao11ayz0200000070 -cntaobao11ayz0200000072 -cntaobao11ayz0200000074 -cntaobao11ayz0200000076 -cntaobao11ayz0200000078 -cntaobao11ayz0200000080 -cntaobao11ayz0200000082 -cntaobao11ayz0200000084 -cntaobao11ayz0200000086 -cntaobao11ayz0200000088 -cntaobao11ayz0200000090 -cntaobao11ayz0200000092 -cntaobao11ayz0200000094 -cntaobao11ayz0200000096 -cntaobao11ayz0200000098 -cntaobao11ayz0200000100 -cntaobao11ayz0200000102 -cntaobao11ayz0200000104 -cntaobao11ayz0200000106 -cntaobao11ayz0200000108 -cntaobao11ayz0200000110 -cntaobao11ayz0200000112 -cntaobao11ayz0200000114 -cntaobao11ayz0200000116 -cntaobao11ayz0200000118 -cntaobao11ayz0200000120 -cntaobao11ayz0200000122 -cntaobao11ayz0200000124 -cntaobao11ayz0200000126 -cntaobao11ayz0200000128 -cntaobao11ayz0200000130 -cntaobao11ayz0200000132 -cntaobao11ayz0200000134 -cntaobao11ayz0200000136 -cntaobao11ayz0200000138 -cntaobao11ayz0200000140 -cntaobao11ayz0200000142 -cntaobao11ayz0200000144 -cntaobao11ayz0200000146 -cntaobao11ayz0200000148 -cntaobao11ayz0200000150 -cntaobao11ayz0200000152 -cntaobao11ayz0200000154 -cntaobao11ayz0200000156 -cntaobao11ayz0200000158 -cntaobao11ayz0200000160 -cntaobao11ayz0200000162 -cntaobao11ayz0200000164 -cntaobao11ayz0200000166 -cntaobao11ayz0200000168 -cntaobao11ayz0200000170 -cntaobao11ayz0200000172 -cntaobao11ayz0200000174 -cntaobao11ayz0200000176 -cntaobao11ayz0200000178 -cntaobao11ayz0200000180 -cntaobao11ayz0200000182 -cntaobao11ayz0200000184 -cntaobao11ayz0200000186 -cntaobao11ayz0200000188 -cntaobao11ayz0200000190 -cntaobao11ayz0200000192 -cntaobao11ayz0200000194 -cntaobao11ayz0200000196 -cntaobao11ayz0200000198 -cntaobao11ayz0200000200 -cntaobao11ayz0200000202 -cntaobao11ayz0200000204 -cntaobao11ayz0200000206 -cntaobao11ayz0200000208 -cntaobao11ayz0200000210 -cntaobao11ayz0200000212 -cntaobao11ayz0200000214 -cntaobao11ayz0200000216 -cntaobao11ayz0200000218 -cntaobao11ayz0200000220 -cntaobao11ayz0200000222 -cntaobao11ayz0200000224 -cntaobao11ayz0200000226 -cntaobao11ayz0200000228 -cntaobao11ayz0200000230 -cntaobao11ayz0200000232 -cntaobao11ayz0200000234 -cntaobao11ayz0200000236 -cntaobao11ayz0200000238 -cntaobao11ayz0200000240 -cntaobao11ayz0200000242 -cntaobao11ayz0200000244 -cntaobao11ayz0200000246 -cntaobao11ayz0200000248 -cntaobao11ayz0200000250 -cntaobao11ayz0200000252 -cntaobao11ayz0200000254 -cntaobao11ayz0200000256 -cntaobao11ayz0200000258 -cntaobao11ayz0200000260 -cntaobao11ayz0200000262 -cntaobao11ayz0200000264 -cntaobao11ayz0200000266 -cntaobao11ayz0200000268 -cntaobao11ayz0200000270 -cntaobao11ayz0200000272 -cntaobao11ayz0200000274 -cntaobao11ayz0200000276 -cntaobao11ayz0200000278 -cntaobao11ayz0200000280 -cntaobao11ayz0200000282 -cntaobao11ayz0200000284 -cntaobao11ayz0200000286 -cntaobao11ayz0200000288 -cntaobao11ayz0200000290 -cntaobao11ayz0200000292 -cntaobao11ayz0200000294 -cntaobao11ayz0200000296 -cntaobao11ayz0200000298 -cntaobao11ayz0200000300 -cntaobao11ayz0200000302 -cntaobao11ayz0200000304 -cntaobao11ayz0200000306 -cntaobao11ayz0200000308 -cntaobao11ayz0200000310 -cntaobao11ayz0200000312 -cntaobao11ayz0200000314 -cntaobao11ayz0200000316 -cntaobao11ayz0200000318 -cntaobao11ayz0200000320 -cntaobao11ayz0200000322 -cntaobao11ayz0200000324 -cntaobao11ayz0200000326 -cntaobao11ayz0200000328 -cntaobao11ayz0200000330 -cntaobao11ayz0200000332 -cntaobao11ayz0200000334 -cntaobao11ayz0200000336 -cntaobao11ayz0200000338 -cntaobao11ayz0200000340 -cntaobao11ayz0200000342 -cntaobao11ayz0200000344 -cntaobao11ayz0200000346 -cntaobao11ayz0200000348 -cntaobao11ayz0200000350 -cntaobao11ayz0200000352 -cntaobao11ayz0200000354 -cntaobao11ayz0200000356 -cntaobao11ayz0200000358 -cntaobao11ayz0200000360 -cntaobao11ayz0200000362 -cntaobao11ayz0200000364 -cntaobao11ayz0200000366 -cntaobao11ayz0200000368 -cntaobao11ayz0200000370 -cntaobao11ayz0200000372 -cntaobao11ayz0200000374 -cntaobao11ayz0200000376 -cntaobao11ayz0200000378 -cntaobao11ayz0200000380 -cntaobao11ayz0200000382 -cntaobao11ayz0200000384 -cntaobao11ayz0200000386 -cntaobao11ayz0200000388 -cntaobao11ayz0200000390 -cntaobao11ayz0200000392 -cntaobao11ayz0200000394 -cntaobao11ayz0200000396 -cntaobao11ayz0200000398 -cntaobao11ayz0200000400 -cntaobao11ayz0200000402 -cntaobao11ayz0200000404 -cntaobao11ayz0200000406 -cntaobao11ayz0200000408 -cntaobao11ayz0200000410 -cntaobao11ayz0200000412 -cntaobao11ayz0200000414 -cntaobao11ayz0200000416 -cntaobao11ayz0200000418 -cntaobao11ayz0200000420 -cntaobao11ayz0200000422 -cntaobao11ayz0200000424 -cntaobao11ayz0200000426 -cntaobao11ayz0200000428 -cntaobao11ayz0200000430 -cntaobao11ayz0200000432 -cntaobao11ayz0200000434 -cntaobao11ayz0200000436 -cntaobao11ayz0200000438 -cntaobao11ayz0200000440 -cntaobao11ayz0200000442 -cntaobao11ayz0200000444 -cntaobao11ayz0200000446 -cntaobao11ayz0200000448 -cntaobao11ayz0200000450 -cntaobao11ayz0200000452 -cntaobao11ayz0200000454 -cntaobao11ayz0200000456 -cntaobao11ayz0200000458 -cntaobao11ayz0200000460 -cntaobao11ayz0200000462 -cntaobao11ayz0200000464 -cntaobao11ayz0200000466 -cntaobao11ayz0200000468 -cntaobao11ayz0200000470 -cntaobao11ayz0200000472 -cntaobao11ayz0200000474 -cntaobao11ayz0200000476 -cntaobao11ayz0200000478 -cntaobao11ayz0200000480 -cntaobao11ayz0200000482 -cntaobao11ayz0200000484 -cntaobao11ayz0200000486 -cntaobao11ayz0200000488 -cntaobao11ayz0200000490 -cntaobao11ayz0200000492 -cntaobao11ayz0200000494 -cntaobao11ayz0200000496 -cntaobao11ayz0200000498 -cntaobao11ayz0200000500 -cntaobao11ayz0200000502 -cntaobao11ayz0200000504 -cntaobao11ayz0200000506 -cntaobao11ayz0200000508 -cntaobao11ayz0200000510 -cntaobao11ayz0200000512 -cntaobao11ayz0200000514 -cntaobao11ayz0200000516 -cntaobao11ayz0200000518 -cntaobao11ayz0200000520 -cntaobao11ayz0200000522 -cntaobao11ayz0200000524 -cntaobao11ayz0200000526 -cntaobao11ayz0200000528 -cntaobao11ayz0200000530 -cntaobao11ayz0200000532 -cntaobao11ayz0200000534 -cntaobao11ayz0200000536 -cntaobao11ayz0200000538 -cntaobao11ayz0200000540 -cntaobao11ayz0200000542 -cntaobao11ayz0200000544 -cntaobao11ayz0200000546 -cntaobao11ayz0200000548 -cntaobao11ayz0200000550 -cntaobao11ayz0200000552 -cntaobao11ayz0200000554 -cntaobao11ayz0200000556 -cntaobao11ayz0200000558 -cntaobao11ayz0200000560 -cntaobao11ayz0200000562 -cntaobao11ayz0200000564 -cntaobao11ayz0200000566 -cntaobao11ayz0200000570 -cntaobao11ayz0200000572 -cntaobao11ayz0200000574 -cntaobao11ayz0200000578 -cntaobao11ayz0200000580 -cntaobao11ayz0200000582 -cntaobao11ayz0200000584 -cntaobao11ayz0200000586 -cntaobao11ayz0200000588 -cntaobao11ayz0200000592 -cntaobao11ayz0200000596 -cntaobao11ayz0200000598 -cntaobao11ayz0200000608 -cntaobao11ayz0200000612 -cntaobao11ayz0200000614 -cntaobao11ayz0200000618 -cntaobao11ayz0200000620 -cntaobao11ayz0200000622 -cntaobao11ayz0200000624 -cntaobao11ayz0200000626 -cntaobao11ayz0200000630 -cntaobao11ayz0200000632 -cntaobao11ayz0200000636 -cntaobao11ayz0200000644 -cntaobao11ayz0200000648 -cntaobao11ayz0200000652 -cntaobao11ayz0200000654 -cntaobao11ayz0200000660 -cntaobao11ayz0200000662 -cntaobao11ayz0200000664 -cntaobao11ayz0200000672 -cntaobao11ayz0200000674 -cntaobao11ayz0200000676 -cntaobao11ayz0200000678 -cntaobao11ayz0200000682 -cntaobao11ayz0200000684 -cntaobao11ayz0200000686 -cntaobao11ayz0200000688 -cntaobao11ayz0200000692 -cntaobao11ayz0200000694 -cntaobao11ayz0200000698 -cntaobao11ayz0200000702 -cntaobao11ayz0200000704 -cntaobao11ayz0200000706 -cntaobao11ayz0200000708 -cntaobao11ayz0200000712 -cntaobao11ayz0200000716 -cntaobao11ayz0200000718 -cntaobao11ayz0200000720 -cntaobao11ayz0200000722 -cntaobao11ayz0200000728 -cntaobao11ayz0200000730 -cntaobao11ayz0200000732 -cntaobao11ayz0200000734 -cntaobao11ayz0200000742 -cntaobao11ayz0200000744 -cntaobao11ayz0200000746 -cntaobao11ayz0200000748 -cntaobao11ayz0200000750 -cntaobao11ayz0200000762 -cntaobao11ayz0200000768 -cntaobao11ayz0200000776 -cntaobao11ayz0200000778 -cntaobao11ayz0200000784 -cntaobao11ayz0200000788 -cntaobao11ayz0200000790 -cntaobao11ayz0200000798 -cntaobao11ayz0200000804 -cntaobao11ayz0200000806 -cntaobao11ayz0200000808 -cntaobao11ayz0200000812 -cntaobao11ayz0200000814 -cntaobao11ayz0200000818 -cntaobao11ayz0200000826 -cntaobao11ayz0200000830 -cntaobao11ayz0200000832 -cntaobao11ayz0200000834 -cntaobao11ayz0200000838 -cntaobao11ayz0200000840 -cntaobao11ayz0200000844 -cntaobao11ayz0200000850 -cntaobao11ayz0200000852 -cntaobao11ayz0200000854 -cntaobao11ayz0200000856 -cntaobao11ayz0200000860 -cntaobao11ayz0200000862 -cntaobao11ayz0200000864 -cntaobao11ayz0200000866 -cntaobao11ayz0200000868 -cntaobao11ayz0200000870 -cntaobao11ayz0200000872 -cntaobao11ayz0200000874 -cntaobao11ayz0200000878 -cntaobao11ayz0200000886 -cntaobao11ayz0200000890 -cntaobao11ayz0200000892 -cntaobao11ayz0200000896 -cntaobao11ayz0200000898 -cntaobao11ayz0200000904 -cntaobao11ayz0200000906 -cntaobao11ayz0200000912 -cntaobao11ayz0200000914 -cntaobao11ayz0200000918 -cntaobao11ayz0200000922 -cntaobao11ayz0200000926 -cntaobao11ayz0200000928 -cntaobao11ayz0200000938 -cntaobao11ayz0200000954 -cntaobao11ayz0200000962 -cntaobao11ayz0200000970 -cntaobao11ayz0200000978 -cntaobao11ayz0300000002 -cntaobao11ayz0300000004 -cntaobao11ayz0300000006 -cntaobao11ayz0300000008 -cntaobao11ayz0300000010 -cntaobao11ayz0300000012 -cntaobao11ayz0300000014 -cntaobao11ayz0300000016 -cntaobao11ayz0300000018 -cntaobao11ayz0300000020 -cntaobao11ayz0300000022 -cntaobao11ayz0300000024 -cntaobao11ayz0300000026 -cntaobao11ayz0300000028 -cntaobao11ayz0300000030 -cntaobao11ayz0300000032 -cntaobao11ayz0300000034 -cntaobao11ayz0300000036 -cntaobao11ayz0300000038 -cntaobao11ayz0300000040 -cntaobao11ayz0300000042 -cntaobao11ayz0300000044 -cntaobao11ayz0300000046 -cntaobao11ayz0300000048 -cntaobao11ayz0300000050 -cntaobao11ayz0300000052 -cntaobao11ayz0300000054 -cntaobao11ayz0300000056 -cntaobao11ayz0300000058 -cntaobao11ayz0300000060 -cntaobao11ayz0300000062 -cntaobao11ayz0300000064 -cntaobao11ayz0300000066 -cntaobao11ayz0300000068 -cntaobao11ayz0300000070 -cntaobao11ayz0300000072 -cntaobao11ayz0300000074 -cntaobao11ayz0300000076 -cntaobao11ayz0300000078 -cntaobao11ayz0300000080 -cntaobao11ayz0300000082 -cntaobao11ayz0300000084 -cntaobao11ayz0300000086 -cntaobao11ayz0300000088 -cntaobao11ayz0300000090 -cntaobao11ayz0300000092 -cntaobao11ayz0300000094 -cntaobao11ayz0300000096 -cntaobao11ayz0300000098 -cntaobao11ayz0300000100 -cntaobao11ayz0300000102 -cntaobao11ayz0300000104 -cntaobao11ayz0300000106 -cntaobao11ayz0300000108 -cntaobao11ayz0300000110 -cntaobao11ayz0300000112 -cntaobao11ayz0300000114 -cntaobao11ayz0300000116 -cntaobao11ayz0300000118 -cntaobao11ayz0300000120 -cntaobao11ayz0300000122 -cntaobao11ayz0300000124 -cntaobao11ayz0300000126 -cntaobao11ayz0300000128 -cntaobao11ayz0300000130 -cntaobao11ayz0300000132 -cntaobao11ayz0300000134 -cntaobao11ayz0300000136 -cntaobao11ayz0300000138 -cntaobao11ayz0300000140 -cntaobao11ayz0300000142 -cntaobao11ayz0300000144 -cntaobao11ayz0300000146 -cntaobao11ayz0300000148 -cntaobao11ayz0300000150 -cntaobao11ayz0300000152 -cntaobao11ayz0300000154 -cntaobao11ayz0300000156 -cntaobao11ayz0300000158 -cntaobao11ayz0300000160 -cntaobao11ayz0300000162 -cntaobao11ayz0300000164 -cntaobao11ayz0300000166 -cntaobao11ayz0300000168 -cntaobao11ayz0300000170 -cntaobao11ayz0300000172 -cntaobao11ayz0300000174 -cntaobao11ayz0300000176 -cntaobao11ayz0300000178 -cntaobao11ayz0300000180 -cntaobao11ayz0300000182 -cntaobao11ayz0300000184 -cntaobao11ayz0300000186 -cntaobao11ayz0300000188 -cntaobao11ayz0300000190 -cntaobao11ayz0300000192 -cntaobao11ayz0300000194 -cntaobao11ayz0300000196 -cntaobao11ayz0300000198 -cntaobao11ayz0300000200 -cntaobao11ayz0300000202 -cntaobao11ayz0300000204 -cntaobao11ayz0300000206 -cntaobao11ayz0300000208 -cntaobao11ayz0300000210 -cntaobao11ayz0300000212 -cntaobao11ayz0300000214 -cntaobao11ayz0300000216 -cntaobao11ayz0300000218 -cntaobao11ayz0300000220 -cntaobao11ayz0300000222 -cntaobao11ayz0300000224 -cntaobao11ayz0300000226 -cntaobao11ayz0300000228 -cntaobao11ayz0300000230 -cntaobao11ayz0300000232 -cntaobao11ayz0300000234 -cntaobao11ayz0300000236 -cntaobao11ayz0300000238 -cntaobao11ayz0300000240 -cntaobao11ayz0300000242 -cntaobao11ayz0300000244 -cntaobao11ayz0300000246 -cntaobao11ayz0300000248 -cntaobao11ayz0300000250 -cntaobao11ayz0300000252 -cntaobao11ayz0300000254 -cntaobao11ayz0300000256 -cntaobao11ayz0300000258 -cntaobao11ayz0300000260 -cntaobao11ayz0300000262 -cntaobao11ayz0300000264 -cntaobao11ayz0300000266 -cntaobao11ayz0300000268 -cntaobao11ayz0300000270 -cntaobao11ayz0300000272 -cntaobao11ayz0300000274 -cntaobao11ayz0300000276 -cntaobao11ayz0300000278 -cntaobao11ayz0300000280 -cntaobao11ayz0300000282 -cntaobao11ayz0300000284 -cntaobao11ayz0300000286 -cntaobao11ayz0300000288 -cntaobao11ayz0300000290 -cntaobao11ayz0300000292 -cntaobao11ayz0300000294 -cntaobao11ayz0300000296 -cntaobao11ayz0300000298 -cntaobao11ayz0300000300 -cntaobao11ayz0300000302 -cntaobao11ayz0300000304 -cntaobao11ayz0300000306 -cntaobao11ayz0300000308 -cntaobao11ayz0300000310 -cntaobao11ayz0300000312 -cntaobao11ayz0300000314 -cntaobao11ayz0300000316 -cntaobao11ayz0300000318 -cntaobao11ayz0300000320 -cntaobao11ayz0300000322 -cntaobao11ayz0300000324 -cntaobao11ayz0300000326 -cntaobao11ayz0300000328 -cntaobao11ayz0300000330 -cntaobao11ayz0300000332 -cntaobao11ayz0300000334 -cntaobao11ayz0300000336 -cntaobao11ayz0300000338 -cntaobao11ayz0300000340 -cntaobao11ayz0300000342 -cntaobao11ayz0300000344 -cntaobao11ayz0300000346 -cntaobao11ayz0300000348 -cntaobao11ayz0300000350 -cntaobao11ayz0300000352 -cntaobao11ayz0300000354 -cntaobao11ayz0300000356 -cntaobao11ayz0300000358 -cntaobao11ayz0300000360 -cntaobao11ayz0300000362 -cntaobao11ayz0300000364 -cntaobao11ayz0300000366 -cntaobao11ayz0300000368 -cntaobao11ayz0300000370 -cntaobao11ayz0300000372 -cntaobao11ayz0300000374 -cntaobao11ayz0300000376 -cntaobao11ayz0300000378 -cntaobao11ayz0300000380 -cntaobao11ayz0300000382 -cntaobao11ayz0300000384 -cntaobao11ayz0300000386 -cntaobao11ayz0300000388 -cntaobao11ayz0300000390 -cntaobao11ayz0300000392 -cntaobao11ayz0300000394 -cntaobao11ayz0300000398 -cntaobao11ayz0300000400 -cntaobao11ayz0300000402 -cntaobao11ayz0300000404 -cntaobao11ayz0300000406 -cntaobao11ayz0300000408 -cntaobao11ayz0300000410 -cntaobao11ayz0300000412 -cntaobao11ayz0300000414 -cntaobao11ayz0300000416 -cntaobao11ayz0300000418 -cntaobao11ayz0300000420 -cntaobao11ayz0300000422 -cntaobao11ayz0300000426 -cntaobao11ayz0300000428 -cntaobao11ayz0300000430 -cntaobao11ayz0300000432 -cntaobao11ayz0300000434 -cntaobao11ayz0300000438 -cntaobao11ayz0300000440 -cntaobao11ayz0300000442 -cntaobao11ayz0300000444 -cntaobao11ayz0300000446 -cntaobao11ayz0300000448 -cntaobao11ayz0300000450 -cntaobao11ayz0300000452 -cntaobao11ayz0300000454 -cntaobao11ayz0300000456 -cntaobao11ayz0300000458 -cntaobao11ayz0300000460 -cntaobao11ayz0300000462 -cntaobao11ayz0300000464 -cntaobao11ayz0300000466 -cntaobao11ayz0300000468 -cntaobao11ayz0300000470 -cntaobao11ayz0300000472 -cntaobao11ayz0300000474 -cntaobao11ayz0300000476 -cntaobao11ayz0300000478 -cntaobao11ayz0300000480 -cntaobao11ayz0300000482 -cntaobao11ayz0300000484 -cntaobao11ayz0300000486 -cntaobao11ayz0300000488 -cntaobao11ayz0300000490 -cntaobao11ayz0300000492 -cntaobao11ayz0300000494 -cntaobao11ayz0300000496 -cntaobao11ayz0300000498 -cntaobao11ayz0300000500 -cntaobao11ayz0300000502 -cntaobao11ayz0300000504 -cntaobao11ayz0300000506 -cntaobao11ayz0300000508 -cntaobao11ayz0300000510 -cntaobao11ayz0300000512 -cntaobao11ayz0300000514 -cntaobao11ayz0300000516 -cntaobao11ayz0300000518 -cntaobao11ayz0300000522 -cntaobao11ayz0300000524 -cntaobao11ayz0300000526 -cntaobao11ayz0300000528 -cntaobao11ayz0300000530 -cntaobao11ayz0300000532 -cntaobao11ayz0300000534 -cntaobao11ayz0300000536 -cntaobao11ayz0300000538 -cntaobao11ayz0300000540 -cntaobao11ayz0300000542 -cntaobao11ayz0300000544 -cntaobao11ayz0300000546 -cntaobao11ayz0300000548 -cntaobao11ayz0300000550 -cntaobao11ayz0300000552 -cntaobao11ayz0300000554 -cntaobao11ayz0300000556 -cntaobao11ayz0300000558 -cntaobao11ayz0300000560 -cntaobao11ayz0300000562 -cntaobao11ayz0300000564 -cntaobao11ayz0300000568 -cntaobao11ayz0300000570 -cntaobao11ayz0300000572 -cntaobao11ayz0300000576 -cntaobao11ayz0300000578 -cntaobao11ayz0300000580 -cntaobao11ayz0300000582 -cntaobao11ayz0300000584 -cntaobao11ayz0300000586 -cntaobao11ayz0300000588 diff --git a/features/aliww/data/user_passwd b/features/aliww/data/user_passwd deleted file mode 100644 index 82c3041..0000000 --- a/features/aliww/data/user_passwd +++ /dev/null @@ -1,1918 +0,0 @@ -cntaobao000000008c,system -cntaobao00000000hai,system -cntaobao00000abc,system -cntaobao00000yang,system -cntaobao00002009gxy,system -cntaobao000147land,system -cntaobao0001pan,system -cntaobao000700_cn1,system -cntaobao000963as,system -cntaobao000js,system -cntaobao000liujun,system -cntaobao000lkx,system -cntaobao000maple,system -cntaobao000masca,system -cntaobao000milihua000,system -cntaobao000miller,system -cntaobao000superman000,system -cntaobao000woaini,system -cntaobao000ying,system -cntaobao000zero,system -cntaobao000zhaoxin,system -cntaobao000zhou000,system -cntaobao001001001a,system -cntaobao00112233aabbccdd,system -cntaobao001127pan,system -cntaobao0015563qinyao,system -cntaobao00168zjp,system -cntaobao001afd,system -cntaobao001baby,system -cntaobao001dalong,system -cntaobao001happy,system -cntaobao001huangrong,system -cntaobao001nature,system -cntaobao001sina,system -cntaobao001wangjianqiang,system -cntaobao001zhangji,system -cntaobao0015Deva,system -cntaobao002angel,system -cntaobao003-sa,system -cntaobao0030013587152linjian,system -cntaobao003837xiang,system -cntaobao003jianglei,system -cntaobao003wang,system -cntaobao004-@O3f,system -cntaobao00544c,system -cntaobao00544wang,system -cntaobao0056yue,system -cntaobao00578_8_,system -cntaobao005farmer005,system -cntaobao007315ODQ),system -cntaobao007321j38,system -cntaobao00741840jj,system -cntaobao0075wenlin,system -cntaobao0079394y,system -cntaobao007_apple,system -cntaobao007_liujia,system -cntaobao007_terminator,system -cntaobao007_wangxu,system -cntaobao007ab,system -cntaobao007abc,system -cntaobao007angel,system -cntaobao007avril,system -cntaobao007bluesea,system -cntaobao007caih,system -cntaobao007chaochao,system -cntaobao007dragon,system -cntaobao007jamesjiang,system -cntaobao007love1&1&,system -cntaobao007playboy,system -cntaobao007shanghaichq,system -cntaobao007superman910,system -cntaobao007w008,system -cntaobao007xujiajun,system -cntaobao007P!@.0H,system -cntaobao008_angel,system -cntaobao008black,system -cntaobao008g,system -cntaobao008ganggang,system -cntaobao008shanhang,system -cntaobao008wangshuo,system -cntaobao008xiang,system -cntaobao0099aass,system -cntaobao009a1,system -cntaobao009firedragon,system -cntaobao009hank,system -cntaobao009tang,system -cntaobao00a1a2a3a4,system -cntaobao00a22,system -cntaobao00atubo,system -cntaobao00baby,system -cntaobao00gaoxin00,system -cntaobao00hai2004,system -cntaobao00han1,system -cntaobao00hanwei,system -cntaobao00i45hayj,system -cntaobao00jhyz,system -cntaobao00lalala00,system -cntaobao00lang,system -cntaobao00love,system -cntaobao00mary,system -cntaobao00rainbow,system -cntaobao00range,system -cntaobao00susan,system -cntaobao00v00,system -cntaobao00yan1982,system -cntaobao00zhangrui00,system -cntaobao00zhaoxin,system -cntaobao00zhaoyong,system -cntaobao0102jessica,system -cntaobao0109and1016,system -cntaobao010zufang,system -cntaobao0111.wang,system -cntaobao0112244abe,system -cntaobao0122aa,system -cntaobao0123wangwentao,system -cntaobao0123zhanghaibin,system -cntaobao0123zhangzhi,system -cntaobao0124yuhoucaihong,system -cntaobao01311846abc,system -cntaobao0131aya,system -cntaobao016woaini,system -cntaobao0171206-a,system -cntaobao0175lan,system -cntaobao019cat,system -cntaobao01rainbowfox,system -cntaobao01sandy,system -cntaobao01tracy2005,system -cntaobao01wangfeng,system -cntaobao01wanglin,system -cntaobao01TxR;Q8zyx,system -cntaobao02-yuan,system -cntaobao0201jian,system -cntaobao020lanlan,system -cntaobao02110huang,system -cntaobao0214jiajia,system -cntaobao021608huang,system -cntaobao0218tiandi,system -cntaobao021fang,system -cntaobao021tianzi,system -cntaobao021xianer,system -cntaobao022710naughtyqueen,system -cntaobao0229anddy,system -cntaobao022dandan,system -cntaobao022wanzhaoyi512,system -cntaobao026china.com,system -cntaobao02dangzhibu,system -cntaobao02maggie,system -cntaobao02sea-c,system -cntaobao02xda,system -cntaobao03-abcpj,system -cntaobao0302vvc,system -cntaobao0317liuxiang,system -cntaobao0317liwang,system -cntaobao0323liangzi,system -cntaobao0327abc,system -cntaobao0351yangbin,system -cntaobao0357a,system -cntaobao0378abc,system -cntaobao0397886aa,system -cntaobao03_a,system -cntaobao03ad,system -cntaobao03auto-wx,system -cntaobao03ecyxxiao,system -cntaobao03Dj5DP!14,system -cntaobao040221xiaoxiao,system -cntaobao0402abc,system -cntaobao0408231ace,system -cntaobao0412wangwei,system -cntaobao0417hailang,system -cntaobao041banji,system -cntaobao0433xiaoning,system -cntaobao0452shuaige,system -cntaobao0453020fay,system -cntaobao04807zswad,system -cntaobao04_victoria,system -cntaobao04piaoxue,system -cntaobao0506onsale,system -cntaobao0509gao,system -cntaobao05102118612asd,system -cntaobao0513yuanzhong,system -cntaobao0518all,system -cntaobao0518dabi,system -cntaobao052010a,system -cntaobao0535huaguan,system -cntaobao0554kuangli,system -cntaobao0571lancome,system -cntaobao0574abs,system -cntaobao0577air,system -cntaobao0595binghuan,system -cntaobao05971001a,system -cntaobao05chan,system -cntaobao05easter,system -cntaobao05edgar,system -cntaobao05zhanghanling,system -cntaobao0629zhangqi,system -cntaobao0630zhuai1,system -cntaobao0630zhuai5,system -cntaobao0632caobingde,system -cntaobao0632dongqiang,system -cntaobao06501zhang,system -cntaobao0661cailigui,system -cntaobao0663xiaozhu,system -cntaobao0708lc,system -cntaobao0708lc2,system -cntaobao0716kay,system -cntaobao0754jack888,system -cntaobao0772ayu,system -cntaobao07a1s4jk,system -cntaobao07hack,system -cntaobao07zhanglei,system -cntaobao0801xiaofan,system -cntaobao0812alvin,system -cntaobao084samzeng,system -cntaobao0864aa,system -cntaobao08alan,system -cntaobao08atyliou,system -cntaobao08linqiang,system -cntaobao08woshishuaige,system -cntaobao0929_v2,system -cntaobao0932313woaini,system -cntaobao0937ctgafmyruq,system -cntaobao09876123a,system -cntaobao0987oiuam,system -cntaobao098aua8,system -cntaobao098lkjhgfdsa,system -cntaobao0998nijat,system -cntaobao09tianbo,system -cntaobao0Ivank0,system -cntaobao0_clamp_0,system -cntaobao0a38317b,system -cntaobao0aa0,system -cntaobao0aaaaa,system -cntaobao0aileen0,system -cntaobao0aking,system -cntaobao0amtf,system -cntaobao0autumn0,system -cntaobao0cat,system -cntaobao0ceanus,system -cntaobao0dongyuhua0,system -cntaobao0enpast0,system -cntaobao0euuyadfvqam4vbh7jz,system -cntaobao0fengtao0,system -cntaobao0huan0,system -cntaobao0huang520,system -cntaobao0huaxiao0,system -cntaobao0jayboy0,system -cntaobao0lisa,system -cntaobao0livia,system -cntaobao0liwang0,system -cntaobao0magician0,system -cntaobao0mars,system -cntaobao0mianjiu0,system -cntaobao0nancy111,system -cntaobao0racky0,system -cntaobao0rane,system -cntaobao0shannel0,system -cntaobao0shark0,system -cntaobao0small0,system -cntaobao0start,system -cntaobao0t4dhlacz0,system -cntaobao0tian0,system -cntaobao0wangjian1,system -cntaobao0wangyi0,system -cntaobao0william01080553167,system -cntaobao0yangzhao0,system -cntaobao0zhan0,system -cntaobao0zhangyan5,system -cntaobao1,system -cntaobao1-aaaa,system -cntaobao1-image,system -cntaobao1-one-man,system -cntaobao10,system -cntaobao100,system -cntaobao100000aaa,system -cntaobao1000abcd,system -cntaobao1000show,system -cntaobao1000wangtao,system -cntaobao1001han,system -cntaobao1001reason,system -cntaobao100432828a,system -cntaobao10063049abc,system -cntaobao1008_alon,system -cntaobao1008a1008b,system -cntaobao100aj200aj,system -cntaobao100asp,system -cntaobao100caoyang,system -cntaobao100cat,system -cntaobao100chao,system -cntaobao100fang,system -cntaobao100fun,system -cntaobao100idea,system -cntaobao100orange,system -cntaobao100roma,system -cntaobao100shuma,system -cntaobao100star,system -cntaobao10112355abc,system -cntaobao101209tian,system -cntaobao1013xiangkun,system -cntaobao1014huangyan,system -cntaobao1016angel,system -cntaobao1017hua,system -cntaobao1017pan,system -cntaobao1018_v2,system -cntaobao1019yaner,system -cntaobao101amy,system -cntaobao101bandian,system -cntaobao101hao,system -cntaobao101oscarwang,system -cntaobao101yan,system -cntaobao1021a,system -cntaobao1021rain,system -cntaobao1026yan,system -cntaobao102788yangyang,system -cntaobao1027dasha,system -cntaobao1028baojihe,system -cntaobao1029vv,system -cntaobao102baby,system -cntaobao102lan,system -cntaobao1031195a,system -cntaobao1031xiaoyang,system -cntaobao103_jacob,system -cntaobao103ajie,system -cntaobao103cagen,system -cntaobao103snake,system -cntaobao106016521zhaohua,system -cntaobao109608337tian,system -cntaobao109rao,system -cntaobao10ac9,system -cntaobao10bar,system -cntaobao10haha,system -cntaobao10haoallan,system -cntaobao10jqka,system -cntaobao10paopaotang,system -cntaobao10star,system -cntaobao10totta,system -cntaobao11,system -cntaobao110112119a,system -cntaobao110119chao,system -cntaobao1101qaz,system -cntaobao1102vv,system -cntaobao1104wawa,system -cntaobao110844095a,system -cntaobao110abc,system -cntaobao110palpalpal,system -cntaobao110tangxiaoxiao,system -cntaobao1111,system -cntaobao11111111aa,system -cntaobao111111aa1,system -cntaobao111111aa67,system -cntaobao111111as,system -cntaobao111112,system -cntaobao11112,system -cntaobao1111wayy,system -cntaobao1111zhaojian,system -cntaobao111222aaasss,system -cntaobao11123huanxiang,system -cntaobao1112ha,system -cntaobao1112yy,system -cntaobao11131312,system -cntaobao11150angel,system -cntaobao1115amy,system -cntaobao111a051010,system -cntaobao111aa222bb,system -cntaobao111aaabbbcccdddeeeff,system -cntaobao111bao,system -cntaobao111c,system -cntaobao111jia,system -cntaobao111playingcards,system -cntaobao111wangjie,system -cntaobao111yuasnu,system -cntaobao1121prettycat,system -cntaobao112233asd,system -cntaobao1122axfc,system -cntaobao1122qwertyuiop001,system -cntaobao1122qwertyuiop002,system -cntaobao1122qwertyuiop003,system -cntaobao1122qwertyuiop004,system -cntaobao1122qwertyuiop005,system -cntaobao1122qwertyuiop006,system -cntaobao1122qwertyuiop007,system -cntaobao1122qwertyuiop007:1,system -cntaobao1122qwertyuiop008,system -cntaobao1123linda,system -cntaobao112488873zhao,system -cntaobao1126saw,system -cntaobao1128aniki,system -cntaobao1129qwertyuiop001,system -cntaobao1129wukan,system -cntaobao112asda,system -cntaobao112huangcong,system -cntaobao112kang,system -cntaobao112vian,system -cntaobao1130sunday,system -cntaobao11323fan,system -cntaobao11334das,system -cntaobao113539127aa,system -cntaobao113542510a,system -cntaobao113711garfield,system -cntaobao114511201a,system -cntaobao114857484abc,system -cntaobao114ma,system -cntaobao114rachel,system -cntaobao11555yang,system -cntaobao1155saww,system -cntaobao115abc,system -cntaobao1168qianbin,system -cntaobao116heyao116,system -cntaobao117520huangjuan,system -cntaobao117729177han,system -cntaobao117gaow,system -cntaobao117jack,system -cntaobao117sail,system -cntaobao117xiaodi,system -cntaobao1186899shanshan88,system -cntaobao1188242a,system -cntaobao1188liufangzhou,system -cntaobao119-game,system -cntaobao1190803a,system -cntaobao1199368aw,system -cntaobao11999922qian,system -cntaobao119bearbear,system -cntaobao119swa,system -cntaobao11a22s,system -cntaobao11aabb,system -cntaobao11archer,system -cntaobao11ayz0000000002,system -cntaobao11ayz0000000004,system -cntaobao11ayz0000000006,system -cntaobao11ayz0000000008,system -cntaobao11ayz0000000010,system -cntaobao11ayz0000000012,system -cntaobao11ayz0000000014,system -cntaobao11ayz0000000016,system -cntaobao11ayz0000000018,system -cntaobao11ayz0000000020,system -cntaobao11ayz0000000022,system -cntaobao11ayz0000000024,system -cntaobao11ayz0000000026,system -cntaobao11ayz0000000028,system -cntaobao11ayz0000000030,system -cntaobao11ayz0000000032,system -cntaobao11ayz0000000034,system -cntaobao11ayz0000000036,system -cntaobao11ayz0000000038,system -cntaobao11ayz0000000040,system -cntaobao11ayz0000000042,system -cntaobao11ayz0000000044,system -cntaobao11ayz0000000046,system -cntaobao11ayz0000000048,system -cntaobao11ayz0000000050,system -cntaobao11ayz0000000052,system -cntaobao11ayz0000000054,system -cntaobao11ayz0000000056,system -cntaobao11ayz0000000058,system -cntaobao11ayz0000000060,system -cntaobao11ayz0000000062,system -cntaobao11ayz0000000064,system -cntaobao11ayz0000000066,system -cntaobao11ayz0000000068,system -cntaobao11ayz0000000070,system -cntaobao11ayz0000000072,system -cntaobao11ayz0000000074,system -cntaobao11ayz0000000076,system -cntaobao11ayz0000000078,system -cntaobao11ayz0000000080,system -cntaobao11ayz0000000082,system -cntaobao11ayz0000000084,system -cntaobao11ayz0000000086,system -cntaobao11ayz0000000088,system -cntaobao11ayz0000000090,system -cntaobao11ayz0000000092,system -cntaobao11ayz0000000094,system -cntaobao11ayz0000000096,system -cntaobao11ayz0000000098,system -cntaobao11ayz0000000100,system -cntaobao11ayz0000000102,system -cntaobao11ayz0000000104,system -cntaobao11ayz0000000106,system -cntaobao11ayz0000000108,system -cntaobao11ayz0000000110,system -cntaobao11ayz0000000112,system -cntaobao11ayz0000000114,system -cntaobao11ayz0000000116,system -cntaobao11ayz0000000118,system -cntaobao11ayz0000000120,system -cntaobao11ayz0000000122,system -cntaobao11ayz0000000124,system -cntaobao11ayz0000000126,system -cntaobao11ayz0000000128,system -cntaobao11ayz0000000130,system -cntaobao11ayz0000000132,system -cntaobao11ayz0000000134,system -cntaobao11ayz0000000136,system -cntaobao11ayz0000000138,system -cntaobao11ayz0000000140,system -cntaobao11ayz0000000142,system -cntaobao11ayz0000000144,system -cntaobao11ayz0000000146,system -cntaobao11ayz0000000148,system -cntaobao11ayz0000000150,system -cntaobao11ayz0000000152,system -cntaobao11ayz0000000154,system -cntaobao11ayz0000000156,system -cntaobao11ayz0000000158,system -cntaobao11ayz0000000160,system -cntaobao11ayz0000000162,system -cntaobao11ayz0000000164,system -cntaobao11ayz0000000166,system -cntaobao11ayz0000000168,system -cntaobao11ayz0000000170,system -cntaobao11ayz0000000172,system -cntaobao11ayz0000000174,system -cntaobao11ayz0000000176,system -cntaobao11ayz0000000178,system -cntaobao11ayz0000000180,system -cntaobao11ayz0000000182,system -cntaobao11ayz0000000184,system -cntaobao11ayz0000000186,system -cntaobao11ayz0000000188,system -cntaobao11ayz0000000190,system -cntaobao11ayz0000000192,system -cntaobao11ayz0000000194,system -cntaobao11ayz0000000196,system -cntaobao11ayz0000000198,system -cntaobao11ayz0000000200,system -cntaobao11ayz0000000202,system -cntaobao11ayz0000000204,system -cntaobao11ayz0000000206,system -cntaobao11ayz0000000208,system -cntaobao11ayz0000000210,system -cntaobao11ayz0000000212,system -cntaobao11ayz0000000214,system -cntaobao11ayz0000000216,system -cntaobao11ayz0000000218,system -cntaobao11ayz0000000220,system -cntaobao11ayz0000000222,system -cntaobao11ayz0000000224,system -cntaobao11ayz0000000226,system -cntaobao11ayz0000000228,system -cntaobao11ayz0000000230,system -cntaobao11ayz0000000232,system -cntaobao11ayz0000000234,system -cntaobao11ayz0000000236,system -cntaobao11ayz0000000238,system -cntaobao11ayz0000000240,system -cntaobao11ayz0000000242,system -cntaobao11ayz0000000244,system -cntaobao11ayz0000000246,system -cntaobao11ayz0000000248,system -cntaobao11ayz0000000250,system -cntaobao11ayz0000000252,system -cntaobao11ayz0000000254,system -cntaobao11ayz0000000256,system -cntaobao11ayz0000000258,system -cntaobao11ayz0000000260,system -cntaobao11ayz0000000262,system -cntaobao11ayz0000000264,system -cntaobao11ayz0000000266,system -cntaobao11ayz0000000268,system -cntaobao11ayz0000000270,system -cntaobao11ayz0000000272,system -cntaobao11ayz0000000274,system -cntaobao11ayz0000000276,system -cntaobao11ayz0000000278,system -cntaobao11ayz0000000280,system -cntaobao11ayz0000000282,system -cntaobao11ayz0000000284,system -cntaobao11ayz0000000286,system -cntaobao11ayz0000000288,system -cntaobao11ayz0000000290,system -cntaobao11ayz0000000292,system -cntaobao11ayz0000000294,system -cntaobao11ayz0000000296,system -cntaobao11ayz0000000298,system -cntaobao11ayz0000000300,system -cntaobao11ayz0000000302,system -cntaobao11ayz0000000304,system -cntaobao11ayz0000000306,system -cntaobao11ayz0000000308,system -cntaobao11ayz0000000310,system -cntaobao11ayz0000000312,system -cntaobao11ayz0000000314,system -cntaobao11ayz0000000316,system -cntaobao11ayz0000000318,system -cntaobao11ayz0000000320,system -cntaobao11ayz0000000322,system -cntaobao11ayz0000000324,system -cntaobao11ayz0000000326,system -cntaobao11ayz0000000328,system -cntaobao11ayz0000000330,system -cntaobao11ayz0000000332,system -cntaobao11ayz0000000334,system -cntaobao11ayz0000000336,system -cntaobao11ayz0000000338,system -cntaobao11ayz0000000340,system -cntaobao11ayz0000000342,system -cntaobao11ayz0000000344,system -cntaobao11ayz0000000346,system -cntaobao11ayz0000000348,system -cntaobao11ayz0000000350,system -cntaobao11ayz0000000352,system -cntaobao11ayz0000000354,system -cntaobao11ayz0000000356,system -cntaobao11ayz0000000358,system -cntaobao11ayz0000000360,system -cntaobao11ayz0000000362,system -cntaobao11ayz0000000364,system -cntaobao11ayz0000000366,system -cntaobao11ayz0000000368,system -cntaobao11ayz0000000370,system -cntaobao11ayz0000000372,system -cntaobao11ayz0000000374,system -cntaobao11ayz0000000376,system -cntaobao11ayz0000000378,system -cntaobao11ayz0000000380,system -cntaobao11ayz0000000382,system -cntaobao11ayz0000000384,system -cntaobao11ayz0000000386,system -cntaobao11ayz0000000388,system -cntaobao11ayz0000000390,system -cntaobao11ayz0000000392,system -cntaobao11ayz0000000394,system -cntaobao11ayz0000000396,system -cntaobao11ayz0000000398,system -cntaobao11ayz0000000400,system -cntaobao11ayz0000000402,system -cntaobao11ayz0000000404,system -cntaobao11ayz0000000406,system -cntaobao11ayz0000000408,system -cntaobao11ayz0000000410,system -cntaobao11ayz0000000412,system -cntaobao11ayz0000000414,system -cntaobao11ayz0000000416,system -cntaobao11ayz0000000418,system -cntaobao11ayz0000000420,system -cntaobao11ayz0000000424,system -cntaobao11ayz0000000426,system -cntaobao11ayz0000000428,system -cntaobao11ayz0000000430,system -cntaobao11ayz0000000432,system -cntaobao11ayz0000000434,system -cntaobao11ayz0000000438,system -cntaobao11ayz0000000440,system -cntaobao11ayz0000000442,system -cntaobao11ayz0000000444,system -cntaobao11ayz0000000446,system -cntaobao11ayz0000000448,system -cntaobao11ayz0000000450,system -cntaobao11ayz0000000452,system -cntaobao11ayz0000000454,system -cntaobao11ayz0000000456,system -cntaobao11ayz0000000458,system -cntaobao11ayz0000000460,system -cntaobao11ayz0000000462,system -cntaobao11ayz0000000464,system -cntaobao11ayz0000000466,system -cntaobao11ayz0000000468,system -cntaobao11ayz0000000470,system -cntaobao11ayz0000000472,system -cntaobao11ayz0000000474,system -cntaobao11ayz0000000476,system -cntaobao11ayz0000000478,system -cntaobao11ayz0000000480,system -cntaobao11ayz0000000482,system -cntaobao11ayz0000000484,system -cntaobao11ayz0000000486,system -cntaobao11ayz0000000488,system -cntaobao11ayz0000000490,system -cntaobao11ayz0000000492,system -cntaobao11ayz0000000494,system -cntaobao11ayz0000000496,system -cntaobao11ayz0000000498,system -cntaobao11ayz0000000500,system -cntaobao11ayz0000000502,system -cntaobao11ayz0000000504,system -cntaobao11ayz0000000506,system -cntaobao11ayz0000000508,system -cntaobao11ayz0000000510,system -cntaobao11ayz0000000512,system -cntaobao11ayz0000000514,system -cntaobao11ayz0000000516,system -cntaobao11ayz0000000518,system -cntaobao11ayz0000000520,system -cntaobao11ayz0000000522,system -cntaobao11ayz0000000524,system -cntaobao11ayz0000000526,system -cntaobao11ayz0000000528,system -cntaobao11ayz0000000532,system -cntaobao11ayz0000000534,system -cntaobao11ayz0000000536,system -cntaobao11ayz0000000538,system -cntaobao11ayz0000000540,system -cntaobao11ayz0000000542,system -cntaobao11ayz0000000544,system -cntaobao11ayz0000000546,system -cntaobao11ayz0000000550,system -cntaobao11ayz0000000552,system -cntaobao11ayz0000000554,system -cntaobao11ayz0000000556,system -cntaobao11ayz0000000558,system -cntaobao11ayz0000000560,system -cntaobao11ayz0000000562,system -cntaobao11ayz0000000564,system -cntaobao11ayz0000000566,system -cntaobao11ayz0000000568,system -cntaobao11ayz0000000570,system -cntaobao11ayz0000000574,system -cntaobao11ayz0000000576,system -cntaobao11ayz0000000578,system -cntaobao11ayz0000000580,system -cntaobao11ayz0000000582,system -cntaobao11ayz0000000584,system -cntaobao11ayz0000000586,system -cntaobao11ayz0000000588,system -cntaobao11ayz0000000590,system -cntaobao11ayz0000000592,system -cntaobao11ayz0000000594,system -cntaobao11ayz0000000596,system -cntaobao11ayz0000000598,system -cntaobao11ayz0000000600,system -cntaobao11ayz0000000608,system -cntaobao11ayz0000000610,system -cntaobao11ayz0000000612,system -cntaobao11ayz0000000616,system -cntaobao11ayz0000000618,system -cntaobao11ayz0000000620,system -cntaobao11ayz0000000622,system -cntaobao11ayz0000000624,system -cntaobao11ayz0000000628,system -cntaobao11ayz0000000630,system -cntaobao11ayz0000000632,system -cntaobao11ayz0000000634,system -cntaobao11ayz0000000636,system -cntaobao11ayz0000000646,system -cntaobao11ayz0000000648,system -cntaobao11ayz0000000652,system -cntaobao11ayz0000000654,system -cntaobao11ayz0000000658,system -cntaobao11ayz0000000660,system -cntaobao11ayz0000000662,system -cntaobao11ayz0000000666,system -cntaobao11ayz0000000668,system -cntaobao11ayz0000000670,system -cntaobao11ayz0000000672,system -cntaobao11ayz0000000676,system -cntaobao11ayz0000000678,system -cntaobao11ayz0000000684,system -cntaobao11ayz0000000690,system -cntaobao11ayz0000000692,system -cntaobao11ayz0000000698,system -cntaobao11ayz0000000700,system -cntaobao11ayz0000000702,system -cntaobao11ayz0000000704,system -cntaobao11ayz0000000706,system -cntaobao11ayz0000000708,system -cntaobao11ayz0000000710,system -cntaobao11ayz0000000712,system -cntaobao11ayz0000000716,system -cntaobao11ayz0000000726,system -cntaobao11ayz0000000730,system -cntaobao11ayz0000000734,system -cntaobao11ayz0000000736,system -cntaobao11ayz0000000740,system -cntaobao11ayz0000000746,system -cntaobao11ayz0000000754,system -cntaobao11ayz0000000760,system -cntaobao11ayz0000000762,system -cntaobao11ayz0000000766,system -cntaobao11ayz0000000770,system -cntaobao11ayz0000000772,system -cntaobao11ayz0000000776,system -cntaobao11ayz0000000786,system -cntaobao11ayz0000000790,system -cntaobao11ayz0000000792,system -cntaobao11ayz0000000794,system -cntaobao11ayz0000000796,system -cntaobao11ayz0000000798,system -cntaobao11ayz0000000802,system -cntaobao11ayz0000000804,system -cntaobao11ayz0000000806,system -cntaobao11ayz0000000808,system -cntaobao11ayz0000000810,system -cntaobao11ayz0000000812,system -cntaobao11ayz0000000816,system -cntaobao11ayz0000000820,system -cntaobao11ayz0000000822,system -cntaobao11ayz0000000824,system -cntaobao11ayz0000000826,system -cntaobao11ayz0000000830,system -cntaobao11ayz0000000832,system -cntaobao11ayz0000000834,system -cntaobao11ayz0000000836,system -cntaobao11ayz0000000844,system -cntaobao11ayz0000000846,system -cntaobao11ayz0000000848,system -cntaobao11ayz0000000850,system -cntaobao11ayz0000000852,system -cntaobao11ayz0000000858,system -cntaobao11ayz0000000860,system -cntaobao11ayz0000000862,system -cntaobao11ayz0000000864,system -cntaobao11ayz0000000872,system -cntaobao11ayz0000000876,system -cntaobao11ayz0000000878,system -cntaobao11ayz0000000880,system -cntaobao11ayz0000000884,system -cntaobao11ayz0000000886,system -cntaobao11ayz0000000888,system -cntaobao11ayz0000000890,system -cntaobao11ayz0000000892,system -cntaobao11ayz0000000894,system -cntaobao11ayz0000000904,system -cntaobao11ayz0000000916,system -cntaobao11ayz0000000922,system -cntaobao11ayz0000000926,system -cntaobao11ayz0000000928,system -cntaobao11ayz0000000930,system -cntaobao11ayz0000000932,system -cntaobao11ayz0000000940,system -cntaobao11ayz0000000946,system -cntaobao11ayz0000000952,system -cntaobao11ayz0000000958,system -cntaobao11ayz0000000960,system -cntaobao11ayz0000000970,system -cntaobao11ayz0000000974,system -cntaobao11ayz0000000976,system -cntaobao11ayz0000000980,system -cntaobao11ayz0000000982,system -cntaobao11ayz0000000988,system -cntaobao11ayz0000000998,system -cntaobao11ayz0100000002,system -cntaobao11ayz0100000004,system -cntaobao11ayz0100000006,system -cntaobao11ayz0100000008,system -cntaobao11ayz0100000010,system -cntaobao11ayz0100000012,system -cntaobao11ayz0100000014,system -cntaobao11ayz0100000016,system -cntaobao11ayz0100000018,system -cntaobao11ayz0100000020,system -cntaobao11ayz0100000022,system -cntaobao11ayz0100000024,system -cntaobao11ayz0100000026,system -cntaobao11ayz0100000028,system -cntaobao11ayz0100000030,system -cntaobao11ayz0100000032,system -cntaobao11ayz0100000034,system -cntaobao11ayz0100000036,system -cntaobao11ayz0100000038,system -cntaobao11ayz0100000040,system -cntaobao11ayz0100000042,system -cntaobao11ayz0100000044,system -cntaobao11ayz0100000046,system -cntaobao11ayz0100000048,system -cntaobao11ayz0100000050,system -cntaobao11ayz0100000052,system -cntaobao11ayz0100000054,system -cntaobao11ayz0100000056,system -cntaobao11ayz0100000058,system -cntaobao11ayz0100000060,system -cntaobao11ayz0100000062,system -cntaobao11ayz0100000064,system -cntaobao11ayz0100000066,system -cntaobao11ayz0100000068,system -cntaobao11ayz0100000070,system -cntaobao11ayz0100000072,system -cntaobao11ayz0100000074,system -cntaobao11ayz0100000076,system -cntaobao11ayz0100000078,system -cntaobao11ayz0100000080,system -cntaobao11ayz0100000082,system -cntaobao11ayz0100000084,system -cntaobao11ayz0100000086,system -cntaobao11ayz0100000088,system -cntaobao11ayz0100000090,system -cntaobao11ayz0100000092,system -cntaobao11ayz0100000094,system -cntaobao11ayz0100000096,system -cntaobao11ayz0100000098,system -cntaobao11ayz0100000100,system -cntaobao11ayz0100000102,system -cntaobao11ayz0100000104,system -cntaobao11ayz0100000106,system -cntaobao11ayz0100000108,system -cntaobao11ayz0100000110,system -cntaobao11ayz0100000112,system -cntaobao11ayz0100000114,system -cntaobao11ayz0100000116,system -cntaobao11ayz0100000118,system -cntaobao11ayz0100000120,system -cntaobao11ayz0100000122,system -cntaobao11ayz0100000124,system -cntaobao11ayz0100000126,system -cntaobao11ayz0100000128,system -cntaobao11ayz0100000130,system -cntaobao11ayz0100000132,system -cntaobao11ayz0100000134,system -cntaobao11ayz0100000136,system -cntaobao11ayz0100000138,system -cntaobao11ayz0100000140,system -cntaobao11ayz0100000142,system -cntaobao11ayz0100000144,system -cntaobao11ayz0100000146,system -cntaobao11ayz0100000148,system -cntaobao11ayz0100000150,system -cntaobao11ayz0100000152,system -cntaobao11ayz0100000154,system -cntaobao11ayz0100000156,system -cntaobao11ayz0100000158,system -cntaobao11ayz0100000160,system -cntaobao11ayz0100000162,system -cntaobao11ayz0100000164,system -cntaobao11ayz0100000166,system -cntaobao11ayz0100000168,system -cntaobao11ayz0100000170,system -cntaobao11ayz0100000172,system -cntaobao11ayz0100000174,system -cntaobao11ayz0100000176,system -cntaobao11ayz0100000178,system -cntaobao11ayz0100000180,system -cntaobao11ayz0100000182,system -cntaobao11ayz0100000184,system -cntaobao11ayz0100000186,system -cntaobao11ayz0100000188,system -cntaobao11ayz0100000190,system -cntaobao11ayz0100000192,system -cntaobao11ayz0100000194,system -cntaobao11ayz0100000196,system -cntaobao11ayz0100000198,system -cntaobao11ayz0100000200,system -cntaobao11ayz0100000202,system -cntaobao11ayz0100000204,system -cntaobao11ayz0100000206,system -cntaobao11ayz0100000208,system -cntaobao11ayz0100000210,system -cntaobao11ayz0100000212,system -cntaobao11ayz0100000214,system -cntaobao11ayz0100000216,system -cntaobao11ayz0100000218,system -cntaobao11ayz0100000220,system -cntaobao11ayz0100000222,system -cntaobao11ayz0100000224,system -cntaobao11ayz0100000226,system -cntaobao11ayz0100000228,system -cntaobao11ayz0100000230,system -cntaobao11ayz0100000232,system -cntaobao11ayz0100000234,system -cntaobao11ayz0100000236,system -cntaobao11ayz0100000238,system -cntaobao11ayz0100000240,system -cntaobao11ayz0100000242,system -cntaobao11ayz0100000244,system -cntaobao11ayz0100000246,system -cntaobao11ayz0100000248,system -cntaobao11ayz0100000250,system -cntaobao11ayz0100000252,system -cntaobao11ayz0100000254,system -cntaobao11ayz0100000256,system -cntaobao11ayz0100000258,system -cntaobao11ayz0100000260,system -cntaobao11ayz0100000262,system -cntaobao11ayz0100000264,system -cntaobao11ayz0100000266,system -cntaobao11ayz0100000268,system -cntaobao11ayz0100000270,system -cntaobao11ayz0100000272,system -cntaobao11ayz0100000274,system -cntaobao11ayz0100000276,system -cntaobao11ayz0100000278,system -cntaobao11ayz0100000280,system -cntaobao11ayz0100000282,system -cntaobao11ayz0100000284,system -cntaobao11ayz0100000286,system -cntaobao11ayz0100000288,system -cntaobao11ayz0100000290,system -cntaobao11ayz0100000292,system -cntaobao11ayz0100000294,system -cntaobao11ayz0100000296,system -cntaobao11ayz0100000298,system -cntaobao11ayz0100000300,system -cntaobao11ayz0100000302,system -cntaobao11ayz0100000304,system -cntaobao11ayz0100000306,system -cntaobao11ayz0100000308,system -cntaobao11ayz0100000310,system -cntaobao11ayz0100000312,system -cntaobao11ayz0100000314,system -cntaobao11ayz0100000316,system -cntaobao11ayz0100000318,system -cntaobao11ayz0100000320,system -cntaobao11ayz0100000322,system -cntaobao11ayz0100000324,system -cntaobao11ayz0100000326,system -cntaobao11ayz0100000328,system -cntaobao11ayz0100000330,system -cntaobao11ayz0100000332,system -cntaobao11ayz0100000334,system -cntaobao11ayz0100000336,system -cntaobao11ayz0100000338,system -cntaobao11ayz0100000340,system -cntaobao11ayz0100000342,system -cntaobao11ayz0100000344,system -cntaobao11ayz0100000346,system -cntaobao11ayz0100000348,system -cntaobao11ayz0100000350,system -cntaobao11ayz0100000352,system -cntaobao11ayz0100000354,system -cntaobao11ayz0100000356,system -cntaobao11ayz0100000358,system -cntaobao11ayz0100000360,system -cntaobao11ayz0100000362,system -cntaobao11ayz0100000364,system -cntaobao11ayz0100000366,system -cntaobao11ayz0100000368,system -cntaobao11ayz0100000370,system -cntaobao11ayz0100000372,system -cntaobao11ayz0100000374,system -cntaobao11ayz0100000376,system -cntaobao11ayz0100000378,system -cntaobao11ayz0100000380,system -cntaobao11ayz0100000382,system -cntaobao11ayz0100000384,system -cntaobao11ayz0100000386,system -cntaobao11ayz0100000388,system -cntaobao11ayz0100000390,system -cntaobao11ayz0100000392,system -cntaobao11ayz0100000394,system -cntaobao11ayz0100000396,system -cntaobao11ayz0100000398,system -cntaobao11ayz0100000400,system -cntaobao11ayz0100000402,system -cntaobao11ayz0100000404,system -cntaobao11ayz0100000406,system -cntaobao11ayz0100000408,system -cntaobao11ayz0100000410,system -cntaobao11ayz0100000412,system -cntaobao11ayz0100000414,system -cntaobao11ayz0100000416,system -cntaobao11ayz0100000418,system -cntaobao11ayz0100000420,system -cntaobao11ayz0100000422,system -cntaobao11ayz0100000424,system -cntaobao11ayz0100000426,system -cntaobao11ayz0100000428,system -cntaobao11ayz0100000430,system -cntaobao11ayz0100000432,system -cntaobao11ayz0100000434,system -cntaobao11ayz0100000436,system -cntaobao11ayz0100000438,system -cntaobao11ayz0100000440,system -cntaobao11ayz0100000442,system -cntaobao11ayz0100000444,system -cntaobao11ayz0100000446,system -cntaobao11ayz0100000448,system -cntaobao11ayz0100000450,system -cntaobao11ayz0100000452,system -cntaobao11ayz0100000454,system -cntaobao11ayz0100000456,system -cntaobao11ayz0100000458,system -cntaobao11ayz0100000460,system -cntaobao11ayz0100000462,system -cntaobao11ayz0100000464,system -cntaobao11ayz0100000466,system -cntaobao11ayz0100000468,system -cntaobao11ayz0100000470,system -cntaobao11ayz0100000472,system -cntaobao11ayz0100000474,system -cntaobao11ayz0100000476,system -cntaobao11ayz0100000478,system -cntaobao11ayz0100000480,system -cntaobao11ayz0100000482,system -cntaobao11ayz0100000484,system -cntaobao11ayz0100000486,system -cntaobao11ayz0100000488,system -cntaobao11ayz0100000490,system -cntaobao11ayz0100000492,system -cntaobao11ayz0100000494,system -cntaobao11ayz0100000496,system -cntaobao11ayz0100000498,system -cntaobao11ayz0100000500,system -cntaobao11ayz0100000502,system -cntaobao11ayz0100000504,system -cntaobao11ayz0100000506,system -cntaobao11ayz0100000508,system -cntaobao11ayz0100000512,system -cntaobao11ayz0100000514,system -cntaobao11ayz0100000516,system -cntaobao11ayz0100000518,system -cntaobao11ayz0100000520,system -cntaobao11ayz0100000522,system -cntaobao11ayz0100000524,system -cntaobao11ayz0100000526,system -cntaobao11ayz0100000528,system -cntaobao11ayz0100000530,system -cntaobao11ayz0100000532,system -cntaobao11ayz0100000534,system -cntaobao11ayz0100000536,system -cntaobao11ayz0100000538,system -cntaobao11ayz0100000540,system -cntaobao11ayz0100000542,system -cntaobao11ayz0100000544,system -cntaobao11ayz0100000546,system -cntaobao11ayz0100000548,system -cntaobao11ayz0100000550,system -cntaobao11ayz0100000552,system -cntaobao11ayz0100000554,system -cntaobao11ayz0100000556,system -cntaobao11ayz0100000558,system -cntaobao11ayz0100000560,system -cntaobao11ayz0100000562,system -cntaobao11ayz0100000564,system -cntaobao11ayz0100000566,system -cntaobao11ayz0100000568,system -cntaobao11ayz0100000570,system -cntaobao11ayz0100000574,system -cntaobao11ayz0100000576,system -cntaobao11ayz0100000578,system -cntaobao11ayz0100000580,system -cntaobao11ayz0100000584,system -cntaobao11ayz0100000588,system -cntaobao11ayz0100000594,system -cntaobao11ayz0100000596,system -cntaobao11ayz0100000598,system -cntaobao11ayz0100000600,system -cntaobao11ayz0100000602,system -cntaobao11ayz0100000604,system -cntaobao11ayz0100000606,system -cntaobao11ayz0100000610,system -cntaobao11ayz0100000614,system -cntaobao11ayz0100000616,system -cntaobao11ayz0100000618,system -cntaobao11ayz0100000620,system -cntaobao11ayz0100000622,system -cntaobao11ayz0100000624,system -cntaobao11ayz0100000626,system -cntaobao11ayz0100000628,system -cntaobao11ayz0100000630,system -cntaobao11ayz0100000632,system -cntaobao11ayz0100000634,system -cntaobao11ayz0100000638,system -cntaobao11ayz0100000644,system -cntaobao11ayz0100000648,system -cntaobao11ayz0100000652,system -cntaobao11ayz0100000656,system -cntaobao11ayz0100000660,system -cntaobao11ayz0100000662,system -cntaobao11ayz0100000664,system -cntaobao11ayz0100000672,system -cntaobao11ayz0100000674,system -cntaobao11ayz0100000676,system -cntaobao11ayz0100000678,system -cntaobao11ayz0100000686,system -cntaobao11ayz0100000688,system -cntaobao11ayz0100000694,system -cntaobao11ayz0100000696,system -cntaobao11ayz0100000698,system -cntaobao11ayz0100000702,system -cntaobao11ayz0100000706,system -cntaobao11ayz0100000710,system -cntaobao11ayz0100000712,system -cntaobao11ayz0100000714,system -cntaobao11ayz0100000716,system -cntaobao11ayz0100000720,system -cntaobao11ayz0100000724,system -cntaobao11ayz0100000730,system -cntaobao11ayz0100000732,system -cntaobao11ayz0100000736,system -cntaobao11ayz0100000738,system -cntaobao11ayz0100000740,system -cntaobao11ayz0100000742,system -cntaobao11ayz0100000744,system -cntaobao11ayz0100000746,system -cntaobao11ayz0100000748,system -cntaobao11ayz0100000750,system -cntaobao11ayz0100000754,system -cntaobao11ayz0100000758,system -cntaobao11ayz0100000762,system -cntaobao11ayz0100000764,system -cntaobao11ayz0100000770,system -cntaobao11ayz0100000780,system -cntaobao11ayz0100000782,system -cntaobao11ayz0100000784,system -cntaobao11ayz0100000786,system -cntaobao11ayz0100000788,system -cntaobao11ayz0100000792,system -cntaobao11ayz0100000794,system -cntaobao11ayz0100000796,system -cntaobao11ayz0100000798,system -cntaobao11ayz0100000800,system -cntaobao11ayz0100000802,system -cntaobao11ayz0100000804,system -cntaobao11ayz0100000812,system -cntaobao11ayz0100000814,system -cntaobao11ayz0100000816,system -cntaobao11ayz0100000818,system -cntaobao11ayz0100000822,system -cntaobao11ayz0100000824,system -cntaobao11ayz0100000826,system -cntaobao11ayz0100000828,system -cntaobao11ayz0100000834,system -cntaobao11ayz0100000836,system -cntaobao11ayz0100000838,system -cntaobao11ayz0100000840,system -cntaobao11ayz0100000842,system -cntaobao11ayz0100000844,system -cntaobao11ayz0100000846,system -cntaobao11ayz0100000848,system -cntaobao11ayz0100000850,system -cntaobao11ayz0100000852,system -cntaobao11ayz0100000854,system -cntaobao11ayz0100000858,system -cntaobao11ayz0100000860,system -cntaobao11ayz0100000862,system -cntaobao11ayz0100000864,system -cntaobao11ayz0100000866,system -cntaobao11ayz0100000868,system -cntaobao11ayz0100000870,system -cntaobao11ayz0100000872,system -cntaobao11ayz0100000874,system -cntaobao11ayz0100000876,system -cntaobao11ayz0100000878,system -cntaobao11ayz0100000880,system -cntaobao11ayz0100000882,system -cntaobao11ayz0100000884,system -cntaobao11ayz0100000892,system -cntaobao11ayz0100000898,system -cntaobao11ayz0100000900,system -cntaobao11ayz0100000902,system -cntaobao11ayz0100000908,system -cntaobao11ayz0100000916,system -cntaobao11ayz0100000936,system -cntaobao11ayz0100000938,system -cntaobao11ayz0100000954,system -cntaobao11ayz0100000960,system -cntaobao11ayz0100000962,system -cntaobao11ayz0100000988,system -cntaobao11ayz0200000002,system -cntaobao11ayz0200000004,system -cntaobao11ayz0200000006,system -cntaobao11ayz0200000008,system -cntaobao11ayz0200000010,system -cntaobao11ayz0200000012,system -cntaobao11ayz0200000014,system -cntaobao11ayz0200000016,system -cntaobao11ayz0200000018,system -cntaobao11ayz0200000020,system -cntaobao11ayz0200000022,system -cntaobao11ayz0200000024,system -cntaobao11ayz0200000026,system -cntaobao11ayz0200000028,system -cntaobao11ayz0200000030,system -cntaobao11ayz0200000032,system -cntaobao11ayz0200000034,system -cntaobao11ayz0200000036,system -cntaobao11ayz0200000038,system -cntaobao11ayz0200000040,system -cntaobao11ayz0200000042,system -cntaobao11ayz0200000044,system -cntaobao11ayz0200000046,system -cntaobao11ayz0200000048,system -cntaobao11ayz0200000050,system -cntaobao11ayz0200000052,system -cntaobao11ayz0200000054,system -cntaobao11ayz0200000056,system -cntaobao11ayz0200000058,system -cntaobao11ayz0200000060,system -cntaobao11ayz0200000062,system -cntaobao11ayz0200000064,system -cntaobao11ayz0200000066,system -cntaobao11ayz0200000068,system -cntaobao11ayz0200000070,system -cntaobao11ayz0200000072,system -cntaobao11ayz0200000074,system -cntaobao11ayz0200000076,system -cntaobao11ayz0200000078,system -cntaobao11ayz0200000080,system -cntaobao11ayz0200000082,system -cntaobao11ayz0200000084,system -cntaobao11ayz0200000086,system -cntaobao11ayz0200000088,system -cntaobao11ayz0200000090,system -cntaobao11ayz0200000092,system -cntaobao11ayz0200000094,system -cntaobao11ayz0200000096,system -cntaobao11ayz0200000098,system -cntaobao11ayz0200000100,system -cntaobao11ayz0200000102,system -cntaobao11ayz0200000104,system -cntaobao11ayz0200000106,system -cntaobao11ayz0200000108,system -cntaobao11ayz0200000110,system -cntaobao11ayz0200000112,system -cntaobao11ayz0200000114,system -cntaobao11ayz0200000116,system -cntaobao11ayz0200000118,system -cntaobao11ayz0200000120,system -cntaobao11ayz0200000122,system -cntaobao11ayz0200000124,system -cntaobao11ayz0200000126,system -cntaobao11ayz0200000128,system -cntaobao11ayz0200000130,system -cntaobao11ayz0200000132,system -cntaobao11ayz0200000134,system -cntaobao11ayz0200000136,system -cntaobao11ayz0200000138,system -cntaobao11ayz0200000140,system -cntaobao11ayz0200000142,system -cntaobao11ayz0200000144,system -cntaobao11ayz0200000146,system -cntaobao11ayz0200000148,system -cntaobao11ayz0200000150,system -cntaobao11ayz0200000152,system -cntaobao11ayz0200000154,system -cntaobao11ayz0200000156,system -cntaobao11ayz0200000158,system -cntaobao11ayz0200000160,system -cntaobao11ayz0200000162,system -cntaobao11ayz0200000164,system -cntaobao11ayz0200000166,system -cntaobao11ayz0200000168,system -cntaobao11ayz0200000170,system -cntaobao11ayz0200000172,system -cntaobao11ayz0200000174,system -cntaobao11ayz0200000176,system -cntaobao11ayz0200000178,system -cntaobao11ayz0200000180,system -cntaobao11ayz0200000182,system -cntaobao11ayz0200000184,system -cntaobao11ayz0200000186,system -cntaobao11ayz0200000188,system -cntaobao11ayz0200000190,system -cntaobao11ayz0200000192,system -cntaobao11ayz0200000194,system -cntaobao11ayz0200000196,system -cntaobao11ayz0200000198,system -cntaobao11ayz0200000200,system -cntaobao11ayz0200000202,system -cntaobao11ayz0200000204,system -cntaobao11ayz0200000206,system -cntaobao11ayz0200000208,system -cntaobao11ayz0200000210,system -cntaobao11ayz0200000212,system -cntaobao11ayz0200000214,system -cntaobao11ayz0200000216,system -cntaobao11ayz0200000218,system -cntaobao11ayz0200000220,system -cntaobao11ayz0200000222,system -cntaobao11ayz0200000224,system -cntaobao11ayz0200000226,system -cntaobao11ayz0200000228,system -cntaobao11ayz0200000230,system -cntaobao11ayz0200000232,system -cntaobao11ayz0200000234,system -cntaobao11ayz0200000236,system -cntaobao11ayz0200000238,system -cntaobao11ayz0200000240,system -cntaobao11ayz0200000242,system -cntaobao11ayz0200000244,system -cntaobao11ayz0200000246,system -cntaobao11ayz0200000248,system -cntaobao11ayz0200000250,system -cntaobao11ayz0200000252,system -cntaobao11ayz0200000254,system -cntaobao11ayz0200000256,system -cntaobao11ayz0200000258,system -cntaobao11ayz0200000260,system -cntaobao11ayz0200000262,system -cntaobao11ayz0200000264,system -cntaobao11ayz0200000266,system -cntaobao11ayz0200000268,system -cntaobao11ayz0200000270,system -cntaobao11ayz0200000272,system -cntaobao11ayz0200000274,system -cntaobao11ayz0200000276,system -cntaobao11ayz0200000278,system -cntaobao11ayz0200000280,system -cntaobao11ayz0200000282,system -cntaobao11ayz0200000284,system -cntaobao11ayz0200000286,system -cntaobao11ayz0200000288,system -cntaobao11ayz0200000290,system -cntaobao11ayz0200000292,system -cntaobao11ayz0200000294,system -cntaobao11ayz0200000296,system -cntaobao11ayz0200000298,system -cntaobao11ayz0200000300,system -cntaobao11ayz0200000302,system -cntaobao11ayz0200000304,system -cntaobao11ayz0200000306,system -cntaobao11ayz0200000308,system -cntaobao11ayz0200000310,system -cntaobao11ayz0200000312,system -cntaobao11ayz0200000314,system -cntaobao11ayz0200000316,system -cntaobao11ayz0200000318,system -cntaobao11ayz0200000320,system -cntaobao11ayz0200000322,system -cntaobao11ayz0200000324,system -cntaobao11ayz0200000326,system -cntaobao11ayz0200000328,system -cntaobao11ayz0200000330,system -cntaobao11ayz0200000332,system -cntaobao11ayz0200000334,system -cntaobao11ayz0200000336,system -cntaobao11ayz0200000338,system -cntaobao11ayz0200000340,system -cntaobao11ayz0200000342,system -cntaobao11ayz0200000344,system -cntaobao11ayz0200000346,system -cntaobao11ayz0200000348,system -cntaobao11ayz0200000350,system -cntaobao11ayz0200000352,system -cntaobao11ayz0200000354,system -cntaobao11ayz0200000356,system -cntaobao11ayz0200000358,system -cntaobao11ayz0200000360,system -cntaobao11ayz0200000362,system -cntaobao11ayz0200000364,system -cntaobao11ayz0200000366,system -cntaobao11ayz0200000368,system -cntaobao11ayz0200000370,system -cntaobao11ayz0200000372,system -cntaobao11ayz0200000374,system -cntaobao11ayz0200000376,system -cntaobao11ayz0200000378,system -cntaobao11ayz0200000380,system -cntaobao11ayz0200000382,system -cntaobao11ayz0200000384,system -cntaobao11ayz0200000386,system -cntaobao11ayz0200000388,system -cntaobao11ayz0200000390,system -cntaobao11ayz0200000392,system -cntaobao11ayz0200000394,system -cntaobao11ayz0200000396,system -cntaobao11ayz0200000398,system -cntaobao11ayz0200000400,system -cntaobao11ayz0200000402,system -cntaobao11ayz0200000404,system -cntaobao11ayz0200000406,system -cntaobao11ayz0200000408,system -cntaobao11ayz0200000410,system -cntaobao11ayz0200000412,system -cntaobao11ayz0200000414,system -cntaobao11ayz0200000416,system -cntaobao11ayz0200000418,system -cntaobao11ayz0200000420,system -cntaobao11ayz0200000422,system -cntaobao11ayz0200000424,system -cntaobao11ayz0200000426,system -cntaobao11ayz0200000428,system -cntaobao11ayz0200000430,system -cntaobao11ayz0200000432,system -cntaobao11ayz0200000434,system -cntaobao11ayz0200000436,system -cntaobao11ayz0200000438,system -cntaobao11ayz0200000440,system -cntaobao11ayz0200000442,system -cntaobao11ayz0200000444,system -cntaobao11ayz0200000446,system -cntaobao11ayz0200000448,system -cntaobao11ayz0200000450,system -cntaobao11ayz0200000452,system -cntaobao11ayz0200000454,system -cntaobao11ayz0200000456,system -cntaobao11ayz0200000458,system -cntaobao11ayz0200000460,system -cntaobao11ayz0200000462,system -cntaobao11ayz0200000464,system -cntaobao11ayz0200000466,system -cntaobao11ayz0200000468,system -cntaobao11ayz0200000470,system -cntaobao11ayz0200000472,system -cntaobao11ayz0200000474,system -cntaobao11ayz0200000476,system -cntaobao11ayz0200000478,system -cntaobao11ayz0200000480,system -cntaobao11ayz0200000482,system -cntaobao11ayz0200000484,system -cntaobao11ayz0200000486,system -cntaobao11ayz0200000488,system -cntaobao11ayz0200000490,system -cntaobao11ayz0200000492,system -cntaobao11ayz0200000494,system -cntaobao11ayz0200000496,system -cntaobao11ayz0200000498,system -cntaobao11ayz0200000500,system -cntaobao11ayz0200000502,system -cntaobao11ayz0200000504,system -cntaobao11ayz0200000506,system -cntaobao11ayz0200000508,system -cntaobao11ayz0200000510,system -cntaobao11ayz0200000512,system -cntaobao11ayz0200000514,system -cntaobao11ayz0200000516,system -cntaobao11ayz0200000518,system -cntaobao11ayz0200000520,system -cntaobao11ayz0200000522,system -cntaobao11ayz0200000524,system -cntaobao11ayz0200000526,system -cntaobao11ayz0200000528,system -cntaobao11ayz0200000530,system -cntaobao11ayz0200000532,system -cntaobao11ayz0200000534,system -cntaobao11ayz0200000536,system -cntaobao11ayz0200000538,system -cntaobao11ayz0200000540,system -cntaobao11ayz0200000542,system -cntaobao11ayz0200000544,system -cntaobao11ayz0200000546,system -cntaobao11ayz0200000548,system -cntaobao11ayz0200000550,system -cntaobao11ayz0200000552,system -cntaobao11ayz0200000554,system -cntaobao11ayz0200000556,system -cntaobao11ayz0200000558,system -cntaobao11ayz0200000560,system -cntaobao11ayz0200000562,system -cntaobao11ayz0200000564,system -cntaobao11ayz0200000566,system -cntaobao11ayz0200000570,system -cntaobao11ayz0200000572,system -cntaobao11ayz0200000574,system -cntaobao11ayz0200000578,system -cntaobao11ayz0200000580,system -cntaobao11ayz0200000582,system -cntaobao11ayz0200000584,system -cntaobao11ayz0200000586,system -cntaobao11ayz0200000588,system -cntaobao11ayz0200000592,system -cntaobao11ayz0200000596,system -cntaobao11ayz0200000598,system -cntaobao11ayz0200000608,system -cntaobao11ayz0200000612,system -cntaobao11ayz0200000614,system -cntaobao11ayz0200000618,system -cntaobao11ayz0200000620,system -cntaobao11ayz0200000622,system -cntaobao11ayz0200000624,system -cntaobao11ayz0200000626,system -cntaobao11ayz0200000630,system -cntaobao11ayz0200000632,system -cntaobao11ayz0200000636,system -cntaobao11ayz0200000644,system -cntaobao11ayz0200000648,system -cntaobao11ayz0200000652,system -cntaobao11ayz0200000654,system -cntaobao11ayz0200000660,system -cntaobao11ayz0200000662,system -cntaobao11ayz0200000664,system -cntaobao11ayz0200000672,system -cntaobao11ayz0200000674,system -cntaobao11ayz0200000676,system -cntaobao11ayz0200000678,system -cntaobao11ayz0200000682,system -cntaobao11ayz0200000684,system -cntaobao11ayz0200000686,system -cntaobao11ayz0200000688,system -cntaobao11ayz0200000692,system -cntaobao11ayz0200000694,system -cntaobao11ayz0200000698,system -cntaobao11ayz0200000702,system -cntaobao11ayz0200000704,system -cntaobao11ayz0200000706,system -cntaobao11ayz0200000708,system -cntaobao11ayz0200000712,system -cntaobao11ayz0200000716,system -cntaobao11ayz0200000718,system -cntaobao11ayz0200000720,system -cntaobao11ayz0200000722,system -cntaobao11ayz0200000728,system -cntaobao11ayz0200000730,system -cntaobao11ayz0200000732,system -cntaobao11ayz0200000734,system -cntaobao11ayz0200000742,system -cntaobao11ayz0200000744,system -cntaobao11ayz0200000746,system -cntaobao11ayz0200000748,system -cntaobao11ayz0200000750,system -cntaobao11ayz0200000762,system -cntaobao11ayz0200000768,system -cntaobao11ayz0200000776,system -cntaobao11ayz0200000778,system -cntaobao11ayz0200000784,system -cntaobao11ayz0200000788,system -cntaobao11ayz0200000790,system -cntaobao11ayz0200000798,system -cntaobao11ayz0200000804,system -cntaobao11ayz0200000806,system -cntaobao11ayz0200000808,system -cntaobao11ayz0200000812,system -cntaobao11ayz0200000814,system -cntaobao11ayz0200000818,system -cntaobao11ayz0200000826,system -cntaobao11ayz0200000830,system -cntaobao11ayz0200000832,system -cntaobao11ayz0200000834,system -cntaobao11ayz0200000838,system -cntaobao11ayz0200000840,system -cntaobao11ayz0200000844,system -cntaobao11ayz0200000850,system -cntaobao11ayz0200000852,system -cntaobao11ayz0200000854,system -cntaobao11ayz0200000856,system -cntaobao11ayz0200000860,system -cntaobao11ayz0200000862,system -cntaobao11ayz0200000864,system -cntaobao11ayz0200000866,system -cntaobao11ayz0200000868,system -cntaobao11ayz0200000870,system -cntaobao11ayz0200000872,system -cntaobao11ayz0200000874,system -cntaobao11ayz0200000878,system -cntaobao11ayz0200000886,system -cntaobao11ayz0200000890,system -cntaobao11ayz0200000892,system -cntaobao11ayz0200000896,system -cntaobao11ayz0200000898,system -cntaobao11ayz0200000904,system -cntaobao11ayz0200000906,system -cntaobao11ayz0200000912,system -cntaobao11ayz0200000914,system -cntaobao11ayz0200000918,system -cntaobao11ayz0200000922,system -cntaobao11ayz0200000926,system -cntaobao11ayz0200000928,system -cntaobao11ayz0200000938,system -cntaobao11ayz0200000954,system -cntaobao11ayz0200000962,system -cntaobao11ayz0200000970,system -cntaobao11ayz0200000978,system -cntaobao11ayz0300000002,system -cntaobao11ayz0300000004,system -cntaobao11ayz0300000006,system -cntaobao11ayz0300000008,system -cntaobao11ayz0300000010,system -cntaobao11ayz0300000012,system -cntaobao11ayz0300000014,system -cntaobao11ayz0300000016,system -cntaobao11ayz0300000018,system -cntaobao11ayz0300000020,system -cntaobao11ayz0300000022,system -cntaobao11ayz0300000024,system -cntaobao11ayz0300000026,system -cntaobao11ayz0300000028,system -cntaobao11ayz0300000030,system -cntaobao11ayz0300000032,system -cntaobao11ayz0300000034,system -cntaobao11ayz0300000036,system -cntaobao11ayz0300000038,system -cntaobao11ayz0300000040,system -cntaobao11ayz0300000042,system -cntaobao11ayz0300000044,system -cntaobao11ayz0300000046,system -cntaobao11ayz0300000048,system -cntaobao11ayz0300000050,system -cntaobao11ayz0300000052,system -cntaobao11ayz0300000054,system -cntaobao11ayz0300000056,system -cntaobao11ayz0300000058,system -cntaobao11ayz0300000060,system -cntaobao11ayz0300000062,system -cntaobao11ayz0300000064,system -cntaobao11ayz0300000066,system -cntaobao11ayz0300000068,system -cntaobao11ayz0300000070,system -cntaobao11ayz0300000072,system -cntaobao11ayz0300000074,system -cntaobao11ayz0300000076,system -cntaobao11ayz0300000078,system -cntaobao11ayz0300000080,system -cntaobao11ayz0300000082,system -cntaobao11ayz0300000084,system -cntaobao11ayz0300000086,system -cntaobao11ayz0300000088,system -cntaobao11ayz0300000090,system -cntaobao11ayz0300000092,system -cntaobao11ayz0300000094,system -cntaobao11ayz0300000096,system -cntaobao11ayz0300000098,system -cntaobao11ayz0300000100,system -cntaobao11ayz0300000102,system -cntaobao11ayz0300000104,system -cntaobao11ayz0300000106,system -cntaobao11ayz0300000108,system -cntaobao11ayz0300000110,system -cntaobao11ayz0300000112,system -cntaobao11ayz0300000114,system -cntaobao11ayz0300000116,system -cntaobao11ayz0300000118,system -cntaobao11ayz0300000120,system -cntaobao11ayz0300000122,system -cntaobao11ayz0300000124,system -cntaobao11ayz0300000126,system -cntaobao11ayz0300000128,system -cntaobao11ayz0300000130,system -cntaobao11ayz0300000132,system -cntaobao11ayz0300000134,system -cntaobao11ayz0300000136,system -cntaobao11ayz0300000138,system -cntaobao11ayz0300000140,system -cntaobao11ayz0300000142,system -cntaobao11ayz0300000144,system -cntaobao11ayz0300000146,system -cntaobao11ayz0300000148,system -cntaobao11ayz0300000150,system -cntaobao11ayz0300000152,system -cntaobao11ayz0300000154,system -cntaobao11ayz0300000156,system -cntaobao11ayz0300000158,system -cntaobao11ayz0300000160,system -cntaobao11ayz0300000162,system -cntaobao11ayz0300000164,system -cntaobao11ayz0300000166,system -cntaobao11ayz0300000168,system -cntaobao11ayz0300000170,system -cntaobao11ayz0300000172,system -cntaobao11ayz0300000174,system -cntaobao11ayz0300000176,system -cntaobao11ayz0300000178,system -cntaobao11ayz0300000180,system -cntaobao11ayz0300000182,system -cntaobao11ayz0300000184,system -cntaobao11ayz0300000186,system -cntaobao11ayz0300000188,system -cntaobao11ayz0300000190,system -cntaobao11ayz0300000192,system -cntaobao11ayz0300000194,system -cntaobao11ayz0300000196,system -cntaobao11ayz0300000198,system -cntaobao11ayz0300000200,system -cntaobao11ayz0300000202,system -cntaobao11ayz0300000204,system -cntaobao11ayz0300000206,system -cntaobao11ayz0300000208,system -cntaobao11ayz0300000210,system -cntaobao11ayz0300000212,system -cntaobao11ayz0300000214,system -cntaobao11ayz0300000216,system -cntaobao11ayz0300000218,system -cntaobao11ayz0300000220,system -cntaobao11ayz0300000222,system -cntaobao11ayz0300000224,system -cntaobao11ayz0300000226,system -cntaobao11ayz0300000228,system -cntaobao11ayz0300000230,system -cntaobao11ayz0300000232,system -cntaobao11ayz0300000234,system -cntaobao11ayz0300000236,system -cntaobao11ayz0300000238,system -cntaobao11ayz0300000240,system -cntaobao11ayz0300000242,system -cntaobao11ayz0300000244,system -cntaobao11ayz0300000246,system -cntaobao11ayz0300000248,system -cntaobao11ayz0300000250,system -cntaobao11ayz0300000252,system -cntaobao11ayz0300000254,system -cntaobao11ayz0300000256,system -cntaobao11ayz0300000258,system -cntaobao11ayz0300000260,system -cntaobao11ayz0300000262,system -cntaobao11ayz0300000264,system -cntaobao11ayz0300000266,system -cntaobao11ayz0300000268,system -cntaobao11ayz0300000270,system -cntaobao11ayz0300000272,system -cntaobao11ayz0300000274,system -cntaobao11ayz0300000276,system -cntaobao11ayz0300000278,system -cntaobao11ayz0300000280,system -cntaobao11ayz0300000282,system -cntaobao11ayz0300000284,system -cntaobao11ayz0300000286,system -cntaobao11ayz0300000288,system -cntaobao11ayz0300000290,system -cntaobao11ayz0300000292,system -cntaobao11ayz0300000294,system -cntaobao11ayz0300000296,system -cntaobao11ayz0300000298,system -cntaobao11ayz0300000300,system -cntaobao11ayz0300000302,system -cntaobao11ayz0300000304,system -cntaobao11ayz0300000306,system -cntaobao11ayz0300000308,system -cntaobao11ayz0300000310,system -cntaobao11ayz0300000312,system -cntaobao11ayz0300000314,system -cntaobao11ayz0300000316,system -cntaobao11ayz0300000318,system -cntaobao11ayz0300000320,system -cntaobao11ayz0300000322,system -cntaobao11ayz0300000324,system -cntaobao11ayz0300000326,system -cntaobao11ayz0300000328,system -cntaobao11ayz0300000330,system -cntaobao11ayz0300000332,system -cntaobao11ayz0300000334,system -cntaobao11ayz0300000336,system -cntaobao11ayz0300000338,system -cntaobao11ayz0300000340,system -cntaobao11ayz0300000342,system -cntaobao11ayz0300000344,system -cntaobao11ayz0300000346,system -cntaobao11ayz0300000348,system -cntaobao11ayz0300000350,system -cntaobao11ayz0300000352,system -cntaobao11ayz0300000354,system -cntaobao11ayz0300000356,system -cntaobao11ayz0300000358,system -cntaobao11ayz0300000360,system -cntaobao11ayz0300000362,system -cntaobao11ayz0300000364,system -cntaobao11ayz0300000366,system -cntaobao11ayz0300000368,system -cntaobao11ayz0300000370,system -cntaobao11ayz0300000372,system -cntaobao11ayz0300000374,system -cntaobao11ayz0300000376,system -cntaobao11ayz0300000378,system -cntaobao11ayz0300000380,system -cntaobao11ayz0300000382,system -cntaobao11ayz0300000384,system -cntaobao11ayz0300000386,system -cntaobao11ayz0300000388,system -cntaobao11ayz0300000390,system -cntaobao11ayz0300000392,system -cntaobao11ayz0300000394,system -cntaobao11ayz0300000398,system -cntaobao11ayz0300000400,system -cntaobao11ayz0300000402,system -cntaobao11ayz0300000404,system -cntaobao11ayz0300000406,system -cntaobao11ayz0300000408,system -cntaobao11ayz0300000410,system -cntaobao11ayz0300000412,system -cntaobao11ayz0300000414,system -cntaobao11ayz0300000416,system -cntaobao11ayz0300000418,system -cntaobao11ayz0300000420,system -cntaobao11ayz0300000422,system -cntaobao11ayz0300000426,system -cntaobao11ayz0300000428,system -cntaobao11ayz0300000430,system -cntaobao11ayz0300000432,system -cntaobao11ayz0300000434,system -cntaobao11ayz0300000438,system -cntaobao11ayz0300000440,system -cntaobao11ayz0300000442,system -cntaobao11ayz0300000444,system -cntaobao11ayz0300000446,system -cntaobao11ayz0300000448,system -cntaobao11ayz0300000450,system -cntaobao11ayz0300000452,system -cntaobao11ayz0300000454,system -cntaobao11ayz0300000456,system -cntaobao11ayz0300000458,system -cntaobao11ayz0300000460,system -cntaobao11ayz0300000462,system -cntaobao11ayz0300000464,system -cntaobao11ayz0300000466,system -cntaobao11ayz0300000468,system -cntaobao11ayz0300000470,system -cntaobao11ayz0300000472,system -cntaobao11ayz0300000474,system -cntaobao11ayz0300000476,system -cntaobao11ayz0300000478,system -cntaobao11ayz0300000480,system -cntaobao11ayz0300000482,system -cntaobao11ayz0300000484,system -cntaobao11ayz0300000486,system -cntaobao11ayz0300000488,system -cntaobao11ayz0300000490,system -cntaobao11ayz0300000492,system -cntaobao11ayz0300000494,system -cntaobao11ayz0300000496,system -cntaobao11ayz0300000498,system -cntaobao11ayz0300000500,system -cntaobao11ayz0300000502,system -cntaobao11ayz0300000504,system -cntaobao11ayz0300000506,system -cntaobao11ayz0300000508,system -cntaobao11ayz0300000510,system -cntaobao11ayz0300000512,system -cntaobao11ayz0300000514,system -cntaobao11ayz0300000516,system -cntaobao11ayz0300000518,system -cntaobao11ayz0300000522,system -cntaobao11ayz0300000524,system -cntaobao11ayz0300000526,system -cntaobao11ayz0300000528,system -cntaobao11ayz0300000530,system -cntaobao11ayz0300000532,system -cntaobao11ayz0300000534,system -cntaobao11ayz0300000536,system -cntaobao11ayz0300000538,system -cntaobao11ayz0300000540,system -cntaobao11ayz0300000542,system -cntaobao11ayz0300000544,system -cntaobao11ayz0300000546,system -cntaobao11ayz0300000548,system -cntaobao11ayz0300000550,system -cntaobao11ayz0300000552,system -cntaobao11ayz0300000554,system -cntaobao11ayz0300000556,system -cntaobao11ayz0300000558,system -cntaobao11ayz0300000560,system -cntaobao11ayz0300000562,system -cntaobao11ayz0300000564,system -cntaobao11ayz0300000568,system -cntaobao11ayz0300000570,system -cntaobao11ayz0300000572,system -cntaobao11ayz0300000576,system -cntaobao11ayz0300000578,system -cntaobao11ayz0300000580,system -cntaobao11ayz0300000582,system -cntaobao11ayz0300000584,system -cntaobao11ayz0300000586,system -cntaobao11ayz0300000588,system diff --git a/features/aliww/include/.svn/entries b/features/aliww/include/.svn/entries deleted file mode 100644 index 7599c38..0000000 --- a/features/aliww/include/.svn/entries +++ /dev/null @@ -1,4142 +0,0 @@ -10 - -dir -46 -svn://cuiz.me/cbenchmark/trunk/cbenchmark/features/aliww/include -svn://cuiz.me - - - -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - -01675afb-4c4d-4bd7-85dd-1440927b3546 - -tbsc_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -2fba011e39bcab9c2c74d6361af06a4a -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -146715 - -recentCntdatadefine.h -file - - - - -2011-06-28T07:31:17.000000Z -b9c699ede247e2ef1f604cac43cce9d3 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2133 - -aepdbsadapter.h -file - - - - -2011-06-28T07:31:17.000000Z -592de0b8d858054178132f2591430f2a -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -25026 - -CWWSimulator.h -file - - - - -2011-06-28T07:31:17.000000Z -d04378acafa45cc0f4c1c82ade885e65 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -4066 - -ims_perf_test.h -file - - - - -2011-06-28T07:31:17.000000Z -8af30ce6fbb4dee1d3e4aed83f3eff03 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -818 - -tmpsession.h -file - - - - -2011-06-28T07:31:17.000000Z -180d3d91697ec3541858f5271d20ac30 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -6646 - -alliWebMember.h -file - - - - -2011-06-28T07:31:17.000000Z -0447d2bc189a74e1aaf2a4462565f4a9 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -9523 - -arcacheservice.h -file - - - - -2011-06-28T07:31:17.000000Z -b5e9548dfa80d9f8eaa3e07afef11108 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -16924 - -casc_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -293dfa2c7ada6f7157e3b07d5d9de44f -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -51324 - -aqsc_head.h -file - - - - -2011-06-28T07:31:17.000000Z -2bc56eb48fe4f82f037f6ca59fd59582 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2374 - -ngsInterface.h -file - - - - -2011-06-28T07:31:17.000000Z -e39af3cf99e90b8cccef7136c8a55448 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -5806 - -tbss_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -2009b77994dd35cdf81a5aaeea1c1b4e -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -189504 - -bind_unbind.h -file - - - - -2011-06-28T07:31:17.000000Z -500ce9b8e8667a17316751fac2e65c38 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -646 - -infoservice.h -file - - - - -2011-06-28T07:31:17.000000Z -c1e8fb45dda681f7d5afff041805c72d -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -20804 - -user_ice_service.h -file - - - - -2011-06-28T07:31:17.000000Z -34f88cc5f9897b9badd99bb806162d54 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -53936 - -contactdbservie.h -file - - - - -2011-06-28T07:31:17.000000Z -0c2581e65d0668d8c0ef36d5f680e5ae -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -65047 - -urlencode.h -file - - - - -2011-06-28T07:31:17.000000Z -c341ee9d1bc2a0ad148080df4d7d60ee -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -1337 - -snsscores.h -file - - - - -2011-06-28T07:31:17.000000Z -000d318f7d082342f6e75691f52a1a18 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -17271 - -login_info_center.h -file - - - - -2011-06-28T07:31:17.000000Z -97c753073ee2eb657ae02b5809686f0e -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -10025 - -aliww.h -file - - - - -2011-06-28T07:31:17.000000Z -4961d8ecb90c81ef879d76dfba37927c -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -794 - -RSAWrapper.h -file - - - - -2011-06-28T07:31:17.000000Z -3cc30e57c6cf854e4d73512b04eae78e -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -265 - -smsc_cmd.h -file - - - - -2011-06-28T07:31:17.000000Z -99cda2b793b8b58bcd6a4e96300f6c7d -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -1442 - -imsc_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -1aff374ea4cccb4db2057185322054ae -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -309783 - -dbsmsservice.h -file - - - - -2011-06-28T07:31:17.000000Z -9a0fd79ef8e466cc6a494e23d4aecbdd -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -55261 - -ftservice.h -file - - - - -2011-06-28T07:31:17.000000Z -e5a832a8418e31a4e6d7792f58a7cdeb -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -11765 - -udbservice.h -file - - - - -2011-06-28T07:31:17.000000Z -ba64fec34f4b22ba86d43f78cb6c0aaa -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -12180 - -dbtbsstructs60.h -file - - - - -2011-06-28T07:31:17.000000Z -a9ec3b04f0432f2907a51d5bee611903 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -18470 - -tgsc_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -0dfa50ffb93d0e7532ef13a4e849d8ba -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -62800 - -recentContactExternal.h -file - - - - -2011-06-28T07:31:17.000000Z -abf2c7655fa3048bc5d35e6111de212b -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -6837 - -sipsession.h -file - - - - -2011-06-28T07:31:17.000000Z -a4baacd3845fbec81e283866a56cfd5b -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -8457 - -dbsmsstructs.h -file - - - - -2011-06-28T07:31:17.000000Z -476e9836693220f8fbb424179c8de963 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -7540 - -cachss_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -6f8232beaaf06f80a1836cb97f4ff4b7 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2193 - -smssdk_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -d814639c8bface056855a32a95302adb -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -5541 - -EServiceRContact.h -file - - - - -2011-06-28T07:31:17.000000Z -aaf223d20f82737ffa077ae0b3471ecc -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -7050 - -smsc_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -f5c0e7f20b981e803ef37c931cd53307 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -36357 - -searchuser.h -file - - - - -2011-06-28T07:31:17.000000Z -f911e2950f0fd51c96fcfd5609ca00db -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -16187 - -get_bind_list.h -file - - - - -2011-06-28T07:31:17.000000Z -85670c296133f2550f61212ba2de8042 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -643 - -imicecommstruct.h -file - - - - -2011-06-28T07:31:17.000000Z -6c0193584940f3992cacf7c1911e9aeb -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -3561 - -spacecontact.h -file - - - - -2011-06-28T07:31:17.000000Z -6f5a029d41fd2e1a4cd5321590f8a246 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -29856 - -packdata.h -file - - - - -2011-06-28T07:31:17.000000Z -5729769fca1844b7fb18abc7c1d73c54 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -22910 - -sdkss_head.h -file - - - - -2011-06-28T07:31:17.000000Z -d6247d4966ae68942628627e0c467efa -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2215 - -smss_cmd.h -file - - - - -2011-06-28T07:31:17.000000Z -625855787170085d27755765430a8f25 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -992 - -imss_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -926504f68c95365a8e26e112e04e3503 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -60340 - -imsession.h -file - - - - -2011-06-28T07:31:17.000000Z -4da9931a35ff3986ab2f061b1c0965d1 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -9105 - -chkss_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -e8209a0624b046ede7fd543487e7599b -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2569 - -ridsrv.h -file - - - - -2011-06-28T07:31:17.000000Z -79ca311c400e7df7167e81d98309ae29 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -9073 - -scs_head.h -file - - - - -2011-06-28T07:31:17.000000Z -01efa1ea2c7356500bdb57b7e325bf8b -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2805 - -aliuidpsserv.h -file - - - - -2011-06-28T07:31:17.000000Z -954bce1e5606e298ec57733e9dd0fab5 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -47323 - -des.h -file - - - - -2011-06-28T07:31:17.000000Z -9113d254282916f02356977db954c3a2 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -924 - -datatype.h -file - - - - -2011-06-28T07:31:17.000000Z -7f6ba766d3ff5d579728e663f3bf227c -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -385 - -rgss_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -2d29c1f21adfa37f1ef7ddd7ba3f14d6 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -9859 - -ddbadmin_perf_test.h -file - - - - -2011-06-28T07:31:17.000000Z -d714b666ca2cc8a57d8a07ef806b04b2 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -679 - -tbsc_cmd.h -file - - - - -2011-06-28T07:31:17.000000Z -6638193bb70a0df947e0e8ffd1c139cf -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -4142 - -RSACipher.h -file - - - - -2011-06-28T07:31:17.000000Z -0b02a8007cc9fb41c924a69281a2c656 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2142 - -smsstrc_cmd.h -file - - - - -2011-06-28T07:31:17.000000Z -e94b47f5ff1e10fa319db1b2c9cb178a -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -683 - -smss_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -de1db3bbc4dc898ed415db0c6002fef4 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -21309 - -recentCnt.h -file - - - - -2011-06-28T07:31:17.000000Z -cc56c01d5776b4ef627f933e829ac1cb -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -9911 - -ims_ice_service.h -file - - - - -2011-06-28T07:31:17.000000Z -0c980700124542d3f34c4507614b677d -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -73532 - -script_consts.h -file - - - - -2011-06-28T07:31:17.000000Z -d5a3a7f2040c63d95422fd2b0a342535 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -723 - -tbsmsg_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -610127bf399cb68fb712b74088f25dc8 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -11474 - -es_eval_service.h -file - - - - -2011-06-28T07:31:17.000000Z -dcd10cdcb41fb14dcecd1c9fb6842283 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -18594 - -tbss_cmd.h -file - - - - -2011-06-28T07:31:17.000000Z -ad064880a56146f66b32095d8b6bda97 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -5447 - -aliyun.h -file - - - - -2011-06-28T07:31:17.000000Z -f04994725f71b5d4984c1aadecf01dfc -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -19699 - -dbss_v5_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -6e7a2f8829b8118245f5706ae28689e4 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2434 - -cow_container -file - - - - -2011-06-28T07:31:17.000000Z -8f57d94fe5d3c4e8d4e30c99b911e4fb -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -8639 - -WebMember.h -file - - - - -2011-06-28T07:31:17.000000Z -a7b101bbda3e7ed2a2972b3c70457df1 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -23579 - -dbspacedatadefine.h -file - - - - -2011-06-28T07:31:17.000000Z -442ad02756504327315b1939ade71436 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -3420 - -dbservice.h -file - - - - -2011-06-28T07:31:17.000000Z -a55223beec2f3cb2178152f97e226d54 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -453176 - -aliuidpsserv_sync.h -file - - - - -2011-06-28T07:31:17.000000Z -4b3452841acda3e1c49be68bcb32ae06 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -25551 - -atmMember.h -file - - - - -2011-06-28T07:31:17.000000Z -ea5747da0fb8500bcd86a87aaee2c385 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -12972 - -mos_perf_test.h -file - - - - -2011-06-28T07:31:17.000000Z -9c4f7d7e3644dc98a561e51d5443a2de -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -517 - -tpfs_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -b9b46c563a9fc3a979a67723e6fe7944 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -52960 - -monitorsc_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -e46f91e5b8b8b8be1b01544882edf996 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -9439 - -aliuidstruct.h -file - - - - -2011-06-28T07:31:17.000000Z -4d0c5021e88ef0433ac466385220f62f -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -5541 - -imsc_cmd.h -file - - - - -2011-06-28T07:31:17.000000Z -2d14edc584a978456e3146c66f500680 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -12087 - -es_expandarea_service.h -file - - - - -2011-06-28T07:31:17.000000Z -42b9beb1b33636efd0a08af92116efbf -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -11439 - -aqdispatch_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -25f6b7dc73603cc1a5962dcfc1efe822 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -10747 - -authservice.h -file - - - - -2011-06-28T07:31:17.000000Z -728a6c835def54289dada6e883abdb5e -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -9727 - -dbs_perf_test.h -file - - - - -2011-06-28T07:31:17.000000Z -8f5fece9d55ce33134ffe2850667e181 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -648 - -tradeCache.h -file - - - - -2011-06-28T07:31:17.000000Z -7bf034216d05e80d1e8a29d6213d7dca -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -6374 - -logss_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -aa94031d90de86ff54274f78962b79d2 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -3790 - -dbtbsservice60.h -file - - - - -2011-06-28T07:31:17.000000Z -fd0db8f066a9d1d5f4b54ffe35a661c7 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -83823 - -uss_perf_test.h -file - - - - -2011-06-28T07:31:17.000000Z -e8b32eb93877ba7dc89386460e371730 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -530 - -sc_head.h -file - - - - -2011-06-28T07:31:17.000000Z -8b092476dbddd4115a9620c6136dff61 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -5096 - -tpfs_perf_test.h -file - - - - -2011-06-28T07:31:17.000000Z -c3a47e52eaa3bd241f8ad46158fe2c73 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -829 - -md5hash.h -file - - - - -2011-06-28T07:31:17.000000Z -0be5b634317fd314b74176affa9cfdc0 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -1219 - -user_info.h -file - - - - -2011-06-28T07:31:17.000000Z -4fba093550efada40aa82d3a25e97b3d -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -14255 - -fdbrecent_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -ad8d27e3d5b77a4a148b2284416f7eda -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -3412 - -dbdatadefine.h -file - - - - -2011-06-28T07:31:17.000000Z -a4b39c249eceea090f370809e9e78a3a -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -64112 - -DBStruct.h -file - - - - -2011-06-28T07:31:17.000000Z -9832221547319cc623e0ca8f1747c2af -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2367 - -imcntlcacheservice.h -file - - - - -2011-06-28T07:31:17.000000Z -7f0dc465eaa0a0d8a770b79b0eb62d1a -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -11652 - -tbWebMember.h -file - - - - -2011-06-28T07:31:17.000000Z -7d6b83abad05139d30c15783db1d1af6 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -25507 - -smsstrc_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -c59aae48519834ac0c1bbe32bbdd7baa -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -7750 - -imss_cmd.h -file - - - - -2011-06-28T07:31:17.000000Z -6ec8b81381dc306178f7bde32514a3fa -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -3937 - -smsa_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -f507e39c56b8ed5257f531fcba86cafa -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -18408 - -mpcsc_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -b76a44e8f129571736f191447e65f997 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -23573 - -msc_head.h -file - - - - -2011-06-28T07:31:17.000000Z -ecc27aa4928baa1dd35be3b917502384 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2805 - -vendorchkservice.h -file - - - - -2011-06-28T07:31:17.000000Z -51989ed6391dd5c26ccf670d4bf50799 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -11349 - -webtcserv.h -file - - - - -2011-06-28T07:31:17.000000Z -92e8de98a5f0b2d50065a1c428af67df -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -20954 - -ss_head.h -file - - - - -2011-06-28T07:31:17.000000Z -221049e34ef75c9b577c9f8c51ee1030 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -6636 - -const_macro.h -file - - - - -2011-06-28T07:31:17.000000Z -af2e8e184d8d231a23a47a6458f055fd -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2497 - -user_statics.h -file - - - - -2011-06-28T07:31:17.000000Z -398f861ed13fb340817c678f51367155 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -6525 - -recentCntCache.h -file - - - - -2011-06-28T07:31:17.000000Z -37435f9aee96a5e79ee3997538c507ec -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -8002 - -aepcacheservice.h -file - - - - -2011-06-28T07:31:17.000000Z -d78a62ade2e0f9eca633c030bd5a3b1d -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -15067 - -DDBInterface.h -file - - - - -2011-06-28T07:31:17.000000Z -0ff73068058fb70ad4e486863c3d1cb2 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -25882 - -tbbdb_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -448ae62fed7c03846eeaa96bc5eb1986 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -9575 - -aas_perf_test.h -file - - - - -2011-06-28T07:31:17.000000Z -6a06ea794313f73ce504a2ef8a98ce1a -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -683 - -mosInterface.h -file - - - - -2011-06-28T07:31:17.000000Z -5ecf544568577bdd3fb14658d4ba01c3 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -26328 - -ss_v5_head.h -file - - - - -2011-06-28T07:31:17.000000Z -0193d34746e3baef82e8e9234b9f1799 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -3567 - -rmss_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -e50dc46e3e8c65526dee0eb3cca7e424 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -4105 - -tbsstrc_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -88e254fb1616621dc15b95cd5e42ad70 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -17575 - -Exhibitionservice.h -file - - - - -2011-06-28T07:31:17.000000Z -e761de2c064eb7c547615862d225154c -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -10260 - -mpcss_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -e1ed7a5b14b17436e794ef40d21026ae -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -11585 - -notifycontact.h -file - - - - -2011-06-28T07:31:17.000000Z -2657cda7f891ed12b01ad6153e5d1ce7 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -7583 - -struct.h -file - - - - -2011-06-28T07:31:17.000000Z -2fff10d117abc47eab59d8a880a348ba -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -1230 - -aasservice.h -file - - - - -2011-06-28T07:31:17.000000Z -38fff3ec49c989e452e31a9591fa5881 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -28434 - -imcontrol_service.h -file - - - - -2011-06-28T07:31:17.000000Z -0f16e76ad23d3e71b7ba1d90f8878a01 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -14999 - -tcservice.h -file - - - - -2011-06-28T07:31:17.000000Z -a99332a469ff752bf2d14c87abc4e531 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -24150 - -tgsstrc_pack.h -file - - - - -2011-06-28T07:31:17.000000Z -6d6fd871271b8c6a5142337f31ba50fb -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -1295 - -imsc_cmd_2Str.h -file - - - - -2011-06-28T07:31:17.000000Z -ee24d7a338010f1bf65bc209082f7a29 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -14680 - -crcservice.h -file - - - - -2011-06-28T07:31:17.000000Z -2b121a37fe68f39dc784e92975f16ca1 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -11279 - diff --git a/features/aliww/include/.svn/text-base/CWWSimulator.h.svn-base b/features/aliww/include/.svn/text-base/CWWSimulator.h.svn-base deleted file mode 100644 index 5f764e0..0000000 --- a/features/aliww/include/.svn/text-base/CWWSimulator.h.svn-base +++ /dev/null @@ -1,143 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: CWWSimulator.h - * - * Description: - * - * Version: 1.0 - * Created: 2010å¹´12月14æ—¥ 16æ—¶57分10秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ - -#ifndef __H__CWWSIMULATOR__H -#define __H__CWWSIMULATOR__H - -#include -#include -//#include -#include "RSAWrapper.h" -#include "md5hash.h" -#include "urlencode.h" -#include "datatype.h" - -#define RSPDATASIZE 10240 -#define MAXDATASIZE 10240 -using namespace std; - -/** - * @brief - * simulate a wangwang client. - */ -class CWWSimulator -{ - public: - CWWSimulator(); - CWWSimulator(string& username, string& password, string version = "6.18.09", string imServerIP = "110.75.161.9",uint16_t port = 16000); - ~CWWSimulator(); - - void SetUser(string& username, string& password); - void SetServerIP(string& imServerIP, uint16_t port); - void SetTpfsIP(string& imServerIP, uint16_t port); - void SetClient(string& version, uint32_t language); - void SetStatus(uint8_t tokenflag, int loginState); - void SetSessionNo(string& sessionNo); - - uint16_t login(string& msg); - uint16_t sendIMMessage(string& msg); - uint16_t createSession(string& msg); - uint16_t chatPidfy(string& msg); - uint16_t chatPutpic(const char* picdata, string& msg); - //uint16_t chatPutpic(const string& picdata, string& msg); - uint16_t chatGetpic(const char* picName, string& msg); - uint16_t chatGetcal(const char* fromid, const char* toid, const char* startDate, const char* endDate, string& msg); - uint16_t chatGettxt(const char* fromid, const char* toid, uint64_t startTime, uint64_t endTime, string& msg); - uint16_t chgStatus(int basicstatus, int predefstatus, std::string&msg); - uint16_t chgStatus_recieve(std::string&msg); - uint16_t updateUserprofile(const char * bloodType,const char * mobileno,string& msg); - //添加è”系人 type=0 ä¸éœ€è¦éªŒè¯ï¼Œtype=1 需è¦éªŒè¯ - uint16_t addcontactnew(const char * contactid,int type,string& msg); - //修改è”系人 - uint16_t chgcontact(const char * contactid,const char * nickname,string& msg); - //删除è”系人 - uint16_t delcontact(const char * contactid,string& msg); - //æœç´¢è”系人 - uint16_t searchcontact(const char * contactid,string& msg); - //添加分组 - uint16_t addgroup(const char * groupname,string& msg); - - public: - uint32_t UnPackhdr(string& pack); - void Commander(uint32_t cmd,...); - bool SendPack(string& pack); - bool SendPack(string& pack, uint32_t fd); - uint16_t HandlePack(string& pack, void** p); - bool Connect(void); - bool Connect(uint32_t& fd, string ip, uint16_t port); - bool ConnectTpfs(void); - void Detach(void); - bool StartReceiving(); - bool StartReceiving(uint32_t fd); - string ReceivePack(); - string ReceivePack(uint32_t fd); - char* GetRandStr(); - string GetUUID(); - - string m_version; - string m_username; - string m_password; - int m_nLoginState;//ç”¨æˆ·ç™»å½•çŠ¶æ€ - uint8_t m_tokenFlag; - uint32_t m_clientLanguage; - uint32_t m_dwTimeStampsFlag; - //å®¢æˆ·ç«¯è¿žæŽ¥ä¿¡æ¯ - uint32_t m_socketFD; - uint32_t m_tpfsFD; - bool m_bIsReceiving; - bool m_bIsConnected; - - //æœåŠ¡ç«¯ç›¸å…³ä¿¡æ¯ - string m_imServerIP; - uint16_t m_port; - string m_tpfsIP; - uint16_t m_tpfs_port; - //æœåŠ¡ç«¯è¿”å›žä¿¡æ¯ - uint32_t m_connectNO; - string m_pubkey; - string m_strStorage; - string m_pwtoken; - string m_rid; - string m_strkey; - string m_packRemark; - string m_login2token; - string m_serverTime; - string m_sessionno; - string m_randstr; - /* - * cuizheng - */ - uint32_t m_retcode; - string m_loginstr; - string m_usermd5str; - uint32_t m_tpfs_connectNO; - string m_tpfs_pubkey; - string m_tpfs_identifystr; - string m_verb_sessionid; - string m_aliuid; - string m_workkey; - string m_df; - VECTOR m_contactList; - VECTOR m_groupList; -}; - - - - -#endif //__H__CWWSIMULATOR__H - diff --git a/features/aliww/include/.svn/text-base/DBStruct.h.svn-base b/features/aliww/include/.svn/text-base/DBStruct.h.svn-base deleted file mode 100644 index 415f48a..0000000 --- a/features/aliww/include/.svn/text-base/DBStruct.h.svn-base +++ /dev/null @@ -1,85 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `DBStruct.ice' - -#ifndef __DBStruct_h__ -#define __DBStruct_h__ - -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace AliDDB -{ - -typedef ::std::map< ::std::string, ::std::string> KVMap; - -class __U__KVMap { }; -void __write(::IceInternal::BasicStream*, const KVMap&, __U__KVMap); -void __read(::IceInternal::BasicStream*, KVMap&, __U__KVMap); - -typedef ::std::vector< ::AliDDB::KVMap> KVMapSeq; - -class __U__KVMapSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliDDB::KVMap*, const ::AliDDB::KVMap*, __U__KVMapSeq); -void __read(::IceInternal::BasicStream*, KVMapSeq&, __U__KVMapSeq); - -struct DBRecord -{ - ::AliDDB::KVMap fields; - ::AliDDB::KVMapSeq blobField; - - bool operator==(const DBRecord&) const; - bool operator!=(const DBRecord&) const; - bool operator<(const DBRecord&) const; - bool operator<=(const DBRecord& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const DBRecord& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const DBRecord& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliDDB::DBRecord> DBRecordSeq; - -class __U__DBRecordSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliDDB::DBRecord*, const ::AliDDB::DBRecord*, __U__DBRecordSeq); -void __read(::IceInternal::BasicStream*, DBRecordSeq&, __U__DBRecordSeq); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/DDBInterface.h.svn-base b/features/aliww/include/.svn/text-base/DDBInterface.h.svn-base deleted file mode 100644 index 178b777..0000000 --- a/features/aliww/include/.svn/text-base/DDBInterface.h.svn-base +++ /dev/null @@ -1,581 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `DDBInterface.ice' - -#ifndef __DDBInterface_h__ -#define __DDBInterface_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliDDB -{ - -class AliDDBInterface; -bool operator==(const AliDDBInterface&, const AliDDBInterface&); -bool operator!=(const AliDDBInterface&, const AliDDBInterface&); -bool operator<(const AliDDBInterface&, const AliDDBInterface&); -bool operator<=(const AliDDBInterface&, const AliDDBInterface&); -bool operator>(const AliDDBInterface&, const AliDDBInterface&); -bool operator>=(const AliDDBInterface&, const AliDDBInterface&); - -} - -} - -namespace AliDDB -{ - -class AliDDBInterface; -bool operator==(const AliDDBInterface&, const AliDDBInterface&); -bool operator!=(const AliDDBInterface&, const AliDDBInterface&); -bool operator<(const AliDDBInterface&, const AliDDBInterface&); -bool operator<=(const AliDDBInterface&, const AliDDBInterface&); -bool operator>(const AliDDBInterface&, const AliDDBInterface&); -bool operator>=(const AliDDBInterface&, const AliDDBInterface&); - -} - -namespace IceInternal -{ - -void incRef(::AliDDB::AliDDBInterface*); -void decRef(::AliDDB::AliDDBInterface*); - -void incRef(::IceProxy::AliDDB::AliDDBInterface*); -void decRef(::IceProxy::AliDDB::AliDDBInterface*); - -} - -namespace AliDDB -{ - -typedef ::IceInternal::Handle< ::AliDDB::AliDDBInterface> AliDDBInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliDDB::AliDDBInterface> AliDDBInterfacePrx; - -void __write(::IceInternal::BasicStream*, const AliDDBInterfacePrx&); -void __read(::IceInternal::BasicStream*, AliDDBInterfacePrx&); -void __write(::IceInternal::BasicStream*, const AliDDBInterfacePtr&); -void __patch__AliDDBInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const AliDDBInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const AliDDBInterfacePtr&); -void __decRefUnsafe(const AliDDBInterfacePtr&); -void __clearHandleUnsafe(AliDDBInterfacePtr&); - -} - -namespace AliDDB -{ - -} - -namespace AliDDB -{ - -class AMD_AliDDBInterface_insertRecord : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliDDB::AMD_AliDDBInterface_insertRecord> AMD_AliDDBInterface_insertRecordPtr; - -class AMD_AliDDBInterface_updateRecord : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliDDB::AMD_AliDDBInterface_updateRecord> AMD_AliDDBInterface_updateRecordPtr; - -class AMD_AliDDBInterface_updateBlob : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliDDB::AMD_AliDDBInterface_updateBlob> AMD_AliDDBInterface_updateBlobPtr; - -class AMD_AliDDBInterface_deleteRecord : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliDDB::AMD_AliDDBInterface_deleteRecord> AMD_AliDDBInterface_deleteRecordPtr; - -} - -namespace IceAsync -{ - -namespace AliDDB -{ - -class AMD_AliDDBInterface_insertRecord : public ::AliDDB::AMD_AliDDBInterface_insertRecord, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AliDDBInterface_insertRecord(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_AliDDBInterface_updateRecord : public ::AliDDB::AMD_AliDDBInterface_updateRecord, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AliDDBInterface_updateRecord(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_AliDDBInterface_updateBlob : public ::AliDDB::AMD_AliDDBInterface_updateBlob, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AliDDBInterface_updateBlob(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_AliDDBInterface_deleteRecord : public ::AliDDB::AMD_AliDDBInterface_deleteRecord, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AliDDBInterface_deleteRecord(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -} - -} - -namespace IceProxy -{ - -namespace AliDDB -{ - -class AliDDBInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int insertRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::DBRecord& record) - { - return insertRecord(table, keys, record, 0); - } - ::Ice::Int insertRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::DBRecord& record, const ::Ice::Context& __ctx) - { - return insertRecord(table, keys, record, &__ctx); - } - -private: - - ::Ice::Int insertRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*); - -public: - - ::Ice::Int insertMultiRecords(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::AliDDB::DBRecord& record) - { - return insertMultiRecords(table, keys, record, 0); - } - ::Ice::Int insertMultiRecords(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::AliDDB::DBRecord& record, const ::Ice::Context& __ctx) - { - return insertMultiRecords(table, keys, record, &__ctx); - } - -private: - - ::Ice::Int insertMultiRecords(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::AliDDB::DBRecord&, const ::Ice::Context*); - -public: - - ::Ice::Int getRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::Ice::StringSeq& blobFields, ::AliDDB::DBRecord& record) - { - return getRecord(table, keys, fields, blobFields, record, 0); - } - ::Ice::Int getRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::Ice::StringSeq& blobFields, ::AliDDB::DBRecord& record, const ::Ice::Context& __ctx) - { - return getRecord(table, keys, fields, blobFields, record, &__ctx); - } - -private: - - ::Ice::Int getRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::Ice::StringSeq&, ::AliDDB::DBRecord&, const ::Ice::Context*); - -public: - - ::Ice::Int getRecords(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int num, ::AliDDB::DBRecord& record) - { - return getRecords(table, keys, fields, condition, orderFields, num, record, 0); - } - ::Ice::Int getRecords(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int num, ::AliDDB::DBRecord& record, const ::Ice::Context& __ctx) - { - return getRecords(table, keys, fields, condition, orderFields, num, record, &__ctx); - } - -private: - - ::Ice::Int getRecords(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::AliDDB::DBRecord&, const ::Ice::Context*); - -public: - - ::Ice::Int getRecordsCount(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::std::string& condition, ::Ice::Int& recordNum) - { - return getRecordsCount(table, keys, condition, recordNum, 0); - } - ::Ice::Int getRecordsCount(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::std::string& condition, ::Ice::Int& recordNum, const ::Ice::Context& __ctx) - { - return getRecordsCount(table, keys, condition, recordNum, &__ctx); - } - -private: - - ::Ice::Int getRecordsCount(const ::std::string&, const ::AliDDB::KVMap&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getRecordsByPage(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& total, ::AliDDB::DBRecord& record) - { - return getRecordsByPage(table, keys, fields, condition, orderFields, pageno, pagesize, total, record, 0); - } - ::Ice::Int getRecordsByPage(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& total, ::AliDDB::DBRecord& record, const ::Ice::Context& __ctx) - { - return getRecordsByPage(table, keys, fields, condition, orderFields, pageno, pagesize, total, record, &__ctx); - } - -private: - - ::Ice::Int getRecordsByPage(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliDDB::DBRecord&, const ::Ice::Context*); - -public: - - ::Ice::Int getMultiRecords(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int num, ::AliDDB::DBRecord& record) - { - return getMultiRecords(table, keys, fields, condition, orderFields, num, record, 0); - } - ::Ice::Int getMultiRecords(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int num, ::AliDDB::DBRecord& record, const ::Ice::Context& __ctx) - { - return getMultiRecords(table, keys, fields, condition, orderFields, num, record, &__ctx); - } - -private: - - ::Ice::Int getMultiRecords(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::AliDDB::DBRecord&, const ::Ice::Context*); - -public: - - ::Ice::Int getMultiRecordsByPage(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& total, ::AliDDB::DBRecord& record) - { - return getMultiRecordsByPage(table, keys, fields, condition, orderFields, pageno, pagesize, total, record, 0); - } - ::Ice::Int getMultiRecordsByPage(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& total, ::AliDDB::DBRecord& record, const ::Ice::Context& __ctx) - { - return getMultiRecordsByPage(table, keys, fields, condition, orderFields, pageno, pagesize, total, record, &__ctx); - } - -private: - - ::Ice::Int getMultiRecordsByPage(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliDDB::DBRecord&, const ::Ice::Context*); - -public: - - ::Ice::Int updateRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::KVMap& uniqKey, const ::AliDDB::DBRecord& record) - { - return updateRecord(table, keys, uniqKey, record, 0); - } - ::Ice::Int updateRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::KVMap& uniqKey, const ::AliDDB::DBRecord& record, const ::Ice::Context& __ctx) - { - return updateRecord(table, keys, uniqKey, record, &__ctx); - } - -private: - - ::Ice::Int updateRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*); - -public: - - ::Ice::Int updateBlob(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::DBRecord& record) - { - return updateBlob(table, keys, record, 0); - } - ::Ice::Int updateBlob(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::DBRecord& record, const ::Ice::Context& __ctx) - { - return updateBlob(table, keys, record, &__ctx); - } - -private: - - ::Ice::Int updateBlob(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*); - -public: - - ::Ice::Int deleteRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::KVMap& uniqKey) - { - return deleteRecord(table, keys, uniqKey, 0); - } - ::Ice::Int deleteRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::KVMap& uniqKey, const ::Ice::Context& __ctx) - { - return deleteRecord(table, keys, uniqKey, &__ctx); - } - -private: - - ::Ice::Int deleteRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::KVMap&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliDDB -{ - -class AliDDBInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int insertRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int insertMultiRecords(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::AliDDB::DBRecord&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::Ice::StringSeq&, ::AliDDB::DBRecord&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getRecords(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::AliDDB::DBRecord&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getRecordsCount(const ::std::string&, const ::AliDDB::KVMap&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getRecordsByPage(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliDDB::DBRecord&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getMultiRecords(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::AliDDB::DBRecord&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getMultiRecordsByPage(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliDDB::DBRecord&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateBlob(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int deleteRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::KVMap&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliDDB -{ - -class AliDDBInterface : virtual public ::IceDelegate::AliDDB::AliDDBInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int insertRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int insertMultiRecords(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int getRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::Ice::StringSeq&, ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int getRecords(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int getRecordsCount(const ::std::string&, const ::AliDDB::KVMap&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getRecordsByPage(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int getMultiRecords(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int getMultiRecordsByPage(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int updateRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int updateBlob(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int deleteRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::KVMap&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliDDB -{ - -class AliDDBInterface : virtual public ::IceDelegate::AliDDB::AliDDBInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int insertRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int insertMultiRecords(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int getRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::Ice::StringSeq&, ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int getRecords(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int getRecordsCount(const ::std::string&, const ::AliDDB::KVMap&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getRecordsByPage(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int getMultiRecords(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int getMultiRecordsByPage(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int updateRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int updateBlob(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int deleteRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::KVMap&, const ::Ice::Context*); -}; - -} - -} - -namespace AliDDB -{ - -class AliDDBInterface : virtual public ::Ice::Object -{ -public: - - typedef AliDDBInterfacePrx ProxyType; - typedef AliDDBInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual void insertRecord_async(const ::AliDDB::AMD_AliDDBInterface_insertRecordPtr&, const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___insertRecord(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int insertMultiRecords(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::AliDDB::DBRecord&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___insertMultiRecords(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::Ice::StringSeq&, ::AliDDB::DBRecord&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getRecord(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getRecords(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::AliDDB::DBRecord&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getRecords(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getRecordsCount(const ::std::string&, const ::AliDDB::KVMap&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getRecordsCount(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getRecordsByPage(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliDDB::DBRecord&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getRecordsByPage(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getMultiRecords(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::AliDDB::DBRecord&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getMultiRecords(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getMultiRecordsByPage(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliDDB::DBRecord&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getMultiRecordsByPage(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void updateRecord_async(const ::AliDDB::AMD_AliDDBInterface_updateRecordPtr&, const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateRecord(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void updateBlob_async(const ::AliDDB::AMD_AliDDBInterface_updateBlobPtr&, const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateBlob(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void deleteRecord_async(const ::AliDDB::AMD_AliDDBInterface_deleteRecordPtr&, const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::KVMap&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___deleteRecord(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__AliDDBInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/EServiceRContact.h.svn-base b/features/aliww/include/.svn/text-base/EServiceRContact.h.svn-base deleted file mode 100644 index 63508a2..0000000 --- a/features/aliww/include/.svn/text-base/EServiceRContact.h.svn-base +++ /dev/null @@ -1,253 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `EServiceRContact.ice' - -#ifndef __EServiceRContact_h__ -#define __EServiceRContact_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class EServiceRecentContact; -bool operator==(const EServiceRecentContact&, const EServiceRecentContact&); -bool operator!=(const EServiceRecentContact&, const EServiceRecentContact&); -bool operator<(const EServiceRecentContact&, const EServiceRecentContact&); -bool operator<=(const EServiceRecentContact&, const EServiceRecentContact&); -bool operator>(const EServiceRecentContact&, const EServiceRecentContact&); -bool operator>=(const EServiceRecentContact&, const EServiceRecentContact&); - -} - -} - -namespace AliIM -{ - -class EServiceRecentContact; -bool operator==(const EServiceRecentContact&, const EServiceRecentContact&); -bool operator!=(const EServiceRecentContact&, const EServiceRecentContact&); -bool operator<(const EServiceRecentContact&, const EServiceRecentContact&); -bool operator<=(const EServiceRecentContact&, const EServiceRecentContact&); -bool operator>(const EServiceRecentContact&, const EServiceRecentContact&); -bool operator>=(const EServiceRecentContact&, const EServiceRecentContact&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::EServiceRecentContact*); -void decRef(::AliIM::EServiceRecentContact*); - -void incRef(::IceProxy::AliIM::EServiceRecentContact*); -void decRef(::IceProxy::AliIM::EServiceRecentContact*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::EServiceRecentContact> EServiceRecentContactPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::EServiceRecentContact> EServiceRecentContactPrx; - -void __write(::IceInternal::BasicStream*, const EServiceRecentContactPrx&); -void __read(::IceInternal::BasicStream*, EServiceRecentContactPrx&); -void __write(::IceInternal::BasicStream*, const EServiceRecentContactPtr&); -void __patch__EServiceRecentContactPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const EServiceRecentContactPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const EServiceRecentContactPtr&); -void __decRefUnsafe(const EServiceRecentContactPtr&); -void __clearHandleUnsafe(EServiceRecentContactPtr&); - -} - -namespace AliIM -{ - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class EServiceRecentContact : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int checkRCnt(const ::std::string& uid, const ::std::string& cid) - { - return checkRCnt(uid, cid, 0); - } - ::Ice::Int checkRCnt(const ::std::string& uid, const ::std::string& cid, const ::Ice::Context& __ctx) - { - return checkRCnt(uid, cid, &__ctx); - } - -private: - - ::Ice::Int checkRCnt(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int addRcnt(const ::std::string& uid, const ::AliIM::SICERecentCnt& rcnt) - { - return addRcnt(uid, rcnt, 0); - } - ::Ice::Int addRcnt(const ::std::string& uid, const ::AliIM::SICERecentCnt& rcnt, const ::Ice::Context& __ctx) - { - return addRcnt(uid, rcnt, &__ctx); - } - -private: - - ::Ice::Int addRcnt(const ::std::string&, const ::AliIM::SICERecentCnt&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class EServiceRecentContact : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int checkRCnt(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int addRcnt(const ::std::string&, const ::AliIM::SICERecentCnt&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class EServiceRecentContact : virtual public ::IceDelegate::AliIM::EServiceRecentContact, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int checkRCnt(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int addRcnt(const ::std::string&, const ::AliIM::SICERecentCnt&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class EServiceRecentContact : virtual public ::IceDelegate::AliIM::EServiceRecentContact, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int checkRCnt(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int addRcnt(const ::std::string&, const ::AliIM::SICERecentCnt&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class EServiceRecentContact : virtual public ::Ice::Object -{ -public: - - typedef EServiceRecentContactPrx ProxyType; - typedef EServiceRecentContactPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int checkRCnt(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkRCnt(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int addRcnt(const ::std::string&, const ::AliIM::SICERecentCnt&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addRcnt(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__EServiceRecentContactPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/Exhibitionservice.h.svn-base b/features/aliww/include/.svn/text-base/Exhibitionservice.h.svn-base deleted file mode 100644 index dcb706d..0000000 --- a/features/aliww/include/.svn/text-base/Exhibitionservice.h.svn-base +++ /dev/null @@ -1,334 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `Exhibitionservice.ice' - -#ifndef __Exhibitionservice_h__ -#define __Exhibitionservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class ExhibitionInterface; -bool operator==(const ExhibitionInterface&, const ExhibitionInterface&); -bool operator!=(const ExhibitionInterface&, const ExhibitionInterface&); -bool operator<(const ExhibitionInterface&, const ExhibitionInterface&); -bool operator<=(const ExhibitionInterface&, const ExhibitionInterface&); -bool operator>(const ExhibitionInterface&, const ExhibitionInterface&); -bool operator>=(const ExhibitionInterface&, const ExhibitionInterface&); - -} - -} - -namespace AliIM -{ - -class ExhibitionInterface; -bool operator==(const ExhibitionInterface&, const ExhibitionInterface&); -bool operator!=(const ExhibitionInterface&, const ExhibitionInterface&); -bool operator<(const ExhibitionInterface&, const ExhibitionInterface&); -bool operator<=(const ExhibitionInterface&, const ExhibitionInterface&); -bool operator>(const ExhibitionInterface&, const ExhibitionInterface&); -bool operator>=(const ExhibitionInterface&, const ExhibitionInterface&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::ExhibitionInterface*); -void decRef(::AliIM::ExhibitionInterface*); - -void incRef(::IceProxy::AliIM::ExhibitionInterface*); -void decRef(::IceProxy::AliIM::ExhibitionInterface*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::ExhibitionInterface> ExhibitionInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::ExhibitionInterface> ExhibitionInterfacePrx; - -void __write(::IceInternal::BasicStream*, const ExhibitionInterfacePrx&); -void __read(::IceInternal::BasicStream*, ExhibitionInterfacePrx&); -void __write(::IceInternal::BasicStream*, const ExhibitionInterfacePtr&); -void __patch__ExhibitionInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const ExhibitionInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const ExhibitionInterfacePtr&); -void __decRefUnsafe(const ExhibitionInterfacePtr&); -void __clearHandleUnsafe(ExhibitionInterfacePtr&); - -} - -namespace AliIM -{ - -struct UserProfile -{ - ::std::string userId; - ::std::string userName; - ::std::string passport; - ::std::string isDeleted; - ::std::string gmtCreate; - ::std::string gmtModified; - ::std::string creator; - ::std::string Modifier; - ::std::string domainPrefix; - ::std::string loginId; - ::std::string longId; - ::std::string sourceType; - ::std::string gmtLogin; - ::std::string userStatus; - ::Ice::Int status; - ::std::string email; - ::std::string mobileNo; - ::std::string phoneNo; - ::std::string company; - ::std::string jobTitle; - ::std::string country; - ::std::string province; - ::std::string city; - ::std::string address; - ::std::string sex; - ::std::string birthday; - ::std::string zip; - ::std::string constellation; - ::std::string subCity; - ::std::string bloodType; - ::std::string shengXiao; - ::std::string career; - ::std::string degree; - ::std::string interest; - ::std::string personality; - ::std::string memo; - ::std::string finishSchool; - ::Ice::Int contactShowFlag; - ::std::string companyAddress; - ::std::string companyUrl; - ::std::string companyTel; - ::Ice::Int companyShowFlag; - ::std::string signature; - ::std::string companyZip; - ::std::string companyFax; - ::std::string moreInterest; - ::Ice::Int personalShowFlag; - ::std::string homePage; - ::std::string vocation; - ::std::string companyEmail; - ::std::string duty; - ::std::string department; - ::std::string purchase; - ::std::string sales; - ::Ice::Float finishedPercent; - ::Ice::Int imgType; - ::std::string imgHashCode; - ::std::string nickname; - ::std::string userLevel; - - bool operator==(const UserProfile&) const; - bool operator!=(const UserProfile&) const; - bool operator<(const UserProfile&) const; - bool operator<=(const UserProfile& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const UserProfile& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const UserProfile& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class ExhibitionInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int CheckUserWebPasswd(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& userId, const ::std::string& passwd) - { - return CheckUserWebPasswd(strCaller, strServiceType, userId, passwd, 0); - } - ::Ice::Int CheckUserWebPasswd(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& userId, const ::std::string& passwd, const ::Ice::Context& __ctx) - { - return CheckUserWebPasswd(strCaller, strServiceType, userId, passwd, &__ctx); - } - -private: - - ::Ice::Int CheckUserWebPasswd(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserProfileByLongId(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& longId, ::AliIM::UserProfile& userProfile) - { - return getUserProfileByLongId(strCaller, strServiceType, longId, userProfile, 0); - } - ::Ice::Int getUserProfileByLongId(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& longId, ::AliIM::UserProfile& userProfile, const ::Ice::Context& __ctx) - { - return getUserProfileByLongId(strCaller, strServiceType, longId, userProfile, &__ctx); - } - -private: - - ::Ice::Int getUserProfileByLongId(const ::std::string&, const ::std::string&, const ::std::string&, ::AliIM::UserProfile&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class ExhibitionInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int CheckUserWebPasswd(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserProfileByLongId(const ::std::string&, const ::std::string&, const ::std::string&, ::AliIM::UserProfile&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class ExhibitionInterface : virtual public ::IceDelegate::AliIM::ExhibitionInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int CheckUserWebPasswd(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfileByLongId(const ::std::string&, const ::std::string&, const ::std::string&, ::AliIM::UserProfile&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class ExhibitionInterface : virtual public ::IceDelegate::AliIM::ExhibitionInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int CheckUserWebPasswd(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfileByLongId(const ::std::string&, const ::std::string&, const ::std::string&, ::AliIM::UserProfile&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class ExhibitionInterface : virtual public ::Ice::Object -{ -public: - - typedef ExhibitionInterfacePrx ProxyType; - typedef ExhibitionInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int CheckUserWebPasswd(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUserWebPasswd(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserProfileByLongId(const ::std::string&, const ::std::string&, const ::std::string&, ::AliIM::UserProfile&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserProfileByLongId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__ExhibitionInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/RSACipher.h.svn-base b/features/aliww/include/.svn/text-base/RSACipher.h.svn-base deleted file mode 100644 index 7545e10..0000000 --- a/features/aliww/include/.svn/text-base/RSACipher.h.svn-base +++ /dev/null @@ -1,79 +0,0 @@ -#ifndef __H_ALIRSA_H__ -#define __H_ALIRSA_H__ - -#include -#include -#include - -#include -//#pragma comment(lib, "libeay32.lib") - -enum eKeyType -{ - KEY_PUB = 0, - KEY_PRI = 1, -}; - -enum EALIHASHALG -{ - ALI_NULL_ALG = 0, // Ëã·¨¿ªÊ¼±êʶ - ALI_HASH_ALG = ALI_NULL_ALG + 1 , // HASHÀàËã·¨¿ªÊ¼ - ALI_HASH_CRC_ALG = ALI_HASH_ALG + 2 , // CRC - ALI_HASH_MD5_ALG = ALI_HASH_ALG + 3 , // MD5 - ALI_HASH_SHA_ALG = ALI_HASH_ALG + 4 , // SHA - ALI_HASH_SHA1_ALG = ALI_HASH_ALG + 5 , // SHA1 - ALI_HASH_USER_ALG = ALI_HASH_ALG + 0x100 , // ×Ô¶¨ÒåhashËã·¨¿ªÊ¼Öµ - - -}; - -enum EALICIPHERALG -{ - ALI_CIPHER_ALG = 0x1000 ,// cipherÀàËã·¨¿ªÊ¼ - ALI_CIPHER_DES3_ALG = ALI_CIPHER_ALG + 1 , // DES3 - ALI_CIPHER_DES3_CBC_ALG = ALI_CIPHER_DES3_ALG + 1, - ALI_CIPHER_DES3_ECB_ALG = ALI_CIPHER_DES3_ALG + 2, - ALI_CIPHER_DES3_CFB_ALG = ALI_CIPHER_DES3_ALG + 3, - ALI_CIPHER_DES3_OFB_ALG = ALI_CIPHER_DES3_ALG + 4, - ALI_CIPHER_RC4_ALG = ALI_CIPHER_ALG + 6 , // RC4 - ALI_CIPHER_DES_ALG = ALI_CIPHER_ALG + 7 , // DES - ALI_CIPHER_DES_CBC_ALG = ALI_CIPHER_DES_ALG + 1, - ALI_CIPHER_DES_ECB_ALG = ALI_CIPHER_DES_ALG + 2, - ALI_CIPHER_DES_CFB_ALG = ALI_CIPHER_DES_ALG + 3, - ALI_CIPHER_DES_OFB_ALG = ALI_CIPHER_DES_ALG + 4, - ALI_CIPHER_USER_ALG = ALI_CIPHER_ALG + 0x100 , // ×Ô¶¨ÒåcipherËã·¨¿ªÊ¼Öµ -}; - - -class CRsaCipher -{ -public: - CRsaCipher(void); - ~CRsaCipher(void); - bool isKeyPresent(long type); - - int Initialize(long bits, EALICIPHERALG alg, const std::string privkeypass="testprivkeypass" ) - { - m_strPass =privkeypass; - return GenKey(bits,alg); - } - int GenKey(long bits , EALICIPHERALG alg ); - - int GetKey(enum eKeyType type , std::string& retKey); - //if source length ²»ÊÇ¿éµÄÕûÊý±¶£¬»á±»¼Ó0 - int RSAPublicEncrypt(std::string& source, std::string& to,int paddType); - - int RSAPrivDecrypt(const std::string& source, std::string& to,int paddType); - - int SetKey(enum eKeyType type ,const void* pKey, int nKeyLen, const std::string privkeypass="testprivkeypass" ); - -private: - EVP_CIPHER* GetInternalCipher(EALICIPHERALG alg ); - -private: - RSA* m_pRSA; - std::string m_strPass; - EALICIPHERALG m_alg; -}; - -#endif \ No newline at end of file diff --git a/features/aliww/include/.svn/text-base/RSAWrapper.h.svn-base b/features/aliww/include/.svn/text-base/RSAWrapper.h.svn-base deleted file mode 100644 index 1366604..0000000 --- a/features/aliww/include/.svn/text-base/RSAWrapper.h.svn-base +++ /dev/null @@ -1,11 +0,0 @@ -#ifndef _RSA_WRAPPER_H_ -#define _RSA_WRAPPER_H_ - -#include - -int RSA_PublicEncrypt(const char* szPubKey, - const int nPubKey, - const char* szOri, - const int nOriLen, - std::string& strResult); -#endif diff --git a/features/aliww/include/.svn/text-base/WebMember.h.svn-base b/features/aliww/include/.svn/text-base/WebMember.h.svn-base deleted file mode 100644 index 3506be7..0000000 --- a/features/aliww/include/.svn/text-base/WebMember.h.svn-base +++ /dev/null @@ -1,711 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `WebMember.ice' - -#ifndef __WebMember_h__ -#define __WebMember_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace WebMember -{ - -class UserProfile; -bool operator==(const UserProfile&, const UserProfile&); -bool operator!=(const UserProfile&, const UserProfile&); -bool operator<(const UserProfile&, const UserProfile&); -bool operator<=(const UserProfile&, const UserProfile&); -bool operator>(const UserProfile&, const UserProfile&); -bool operator>=(const UserProfile&, const UserProfile&); - -} - -} - -namespace WebMember -{ - -class UserProfile; -bool operator==(const UserProfile&, const UserProfile&); -bool operator!=(const UserProfile&, const UserProfile&); -bool operator<(const UserProfile&, const UserProfile&); -bool operator<=(const UserProfile&, const UserProfile&); -bool operator>(const UserProfile&, const UserProfile&); -bool operator>=(const UserProfile&, const UserProfile&); - -} - -namespace IceInternal -{ - -void incRef(::WebMember::UserProfile*); -void decRef(::WebMember::UserProfile*); - -void incRef(::IceProxy::WebMember::UserProfile*); -void decRef(::IceProxy::WebMember::UserProfile*); - -} - -namespace WebMember -{ - -typedef ::IceInternal::Handle< ::WebMember::UserProfile> UserProfilePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::WebMember::UserProfile> UserProfilePrx; - -void __write(::IceInternal::BasicStream*, const UserProfilePrx&); -void __read(::IceInternal::BasicStream*, UserProfilePrx&); -void __write(::IceInternal::BasicStream*, const UserProfilePtr&); -void __patch__UserProfilePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const UserProfilePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const UserProfilePtr&); -void __decRefUnsafe(const UserProfilePtr&); -void __clearHandleUnsafe(UserProfilePtr&); - -} - -namespace WebMember -{ - -struct SSimpleUserProfile -{ - ::std::string uid; - ::std::string password; - ::std::string status; - - bool operator==(const SSimpleUserProfile&) const; - bool operator!=(const SSimpleUserProfile&) const; - bool operator<(const SSimpleUserProfile&) const; - bool operator<=(const SSimpleUserProfile& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SSimpleUserProfile& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SSimpleUserProfile& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SHalfUserProfile -{ - ::std::string uid; - ::std::string password; - ::std::string status; - ::std::string realName; - ::std::string company; - ::std::string jobTitle; - ::std::string memberLevel; - ::std::string penName; - ::Ice::Int categoryId; - ::std::string phoneArea; - ::std::string phoneStatus; - ::std::string phone; - - bool operator==(const SHalfUserProfile&) const; - bool operator!=(const SHalfUserProfile&) const; - bool operator<(const SHalfUserProfile&) const; - bool operator<=(const SHalfUserProfile& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SHalfUserProfile& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SHalfUserProfile& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SFullUserProfile -{ - ::std::string uid; - ::std::string password; - ::std::string status; - ::std::string realName; - ::std::string company; - ::std::string jobTitle; - ::std::string memberLevel; - ::std::string penName; - ::Ice::Int categoryId; - ::std::string phoneArea; - ::std::string phoneStatus; - ::std::string phone; - ::std::string email; - ::std::string mobileNo; - ::Ice::Byte sex; - ::std::string address; - ::std::string buyKeywords; - ::std::string saleKeywords; - ::std::string faxNo; - ::std::string homepageUrl; - - bool operator==(const SFullUserProfile&) const; - bool operator!=(const SFullUserProfile&) const; - bool operator<(const SFullUserProfile&) const; - bool operator<=(const SFullUserProfile& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SFullUserProfile& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SFullUserProfile& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SUDBUserProfile -{ - ::std::string memberId; - ::std::string realName; - ::std::string password; - ::std::string status; - ::std::string email; - ::std::string mobileNo; - ::std::string phone; - ::std::string country; - ::std::string province; - ::std::string city; - ::std::string address; - ::std::string homepageUrl; - ::std::string memberLevel; - ::std::string penName; - ::std::string phoneStatus; - ::Ice::Byte sex; - ::std::string jobTitle; - ::std::string company; - ::std::string zip; - - bool operator==(const SUDBUserProfile&) const; - bool operator!=(const SUDBUserProfile&) const; - bool operator<(const SUDBUserProfile&) const; - bool operator<=(const SUDBUserProfile& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SUDBUserProfile& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SUDBUserProfile& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SUserLevel -{ - ::std::string memberId; - ::std::string memberLevel; - - bool operator==(const SUserLevel&) const; - bool operator!=(const SUserLevel&) const; - bool operator<(const SUserLevel&) const; - bool operator<=(const SUserLevel& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SUserLevel& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SUserLevel& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SHalfUserProfile2 -{ - ::std::string uid; - ::std::string password; - ::std::string status; - ::std::string realName; - ::std::string company; - ::std::string jobTitle; - ::std::string memberLevel; - ::std::string penName; - ::Ice::Int categoryId; - ::std::string phoneArea; - ::std::string phoneStatus; - ::std::string phone; - ::std::string communityLevel; - - bool operator==(const SHalfUserProfile2&) const; - bool operator!=(const SHalfUserProfile2&) const; - bool operator<(const SHalfUserProfile2&) const; - bool operator<=(const SHalfUserProfile2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SHalfUserProfile2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SHalfUserProfile2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SFullUserProfile2 -{ - ::std::string uid; - ::std::string password; - ::std::string status; - ::std::string realName; - ::std::string company; - ::std::string jobTitle; - ::std::string memberLevel; - ::std::string penName; - ::Ice::Int categoryId; - ::std::string phoneArea; - ::std::string phoneStatus; - ::std::string phone; - ::std::string email; - ::std::string mobileNo; - ::Ice::Byte sex; - ::std::string address; - ::std::string buyKeywords; - ::std::string saleKeywords; - ::std::string faxNo; - ::std::string homepageUrl; - ::std::string communityLevel; - - bool operator==(const SFullUserProfile2&) const; - bool operator!=(const SFullUserProfile2&) const; - bool operator<(const SFullUserProfile2&) const; - bool operator<=(const SFullUserProfile2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SFullUserProfile2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SFullUserProfile2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::std::string> UserIdSeq; - -class __U__UserIdSeq { }; - -typedef ::std::vector< ::WebMember::SSimpleUserProfile> SUserSeq; - -class __U__SUserSeq { }; -void __write(::IceInternal::BasicStream*, const ::WebMember::SSimpleUserProfile*, const ::WebMember::SSimpleUserProfile*, __U__SUserSeq); -void __read(::IceInternal::BasicStream*, SUserSeq&, __U__SUserSeq); - -typedef ::std::vector< ::WebMember::SHalfUserProfile> HUserSeq; - -class __U__HUserSeq { }; -void __write(::IceInternal::BasicStream*, const ::WebMember::SHalfUserProfile*, const ::WebMember::SHalfUserProfile*, __U__HUserSeq); -void __read(::IceInternal::BasicStream*, HUserSeq&, __U__HUserSeq); - -typedef ::std::vector< ::WebMember::SFullUserProfile> FUserSeq; - -class __U__FUserSeq { }; -void __write(::IceInternal::BasicStream*, const ::WebMember::SFullUserProfile*, const ::WebMember::SFullUserProfile*, __U__FUserSeq); -void __read(::IceInternal::BasicStream*, FUserSeq&, __U__FUserSeq); - -typedef ::std::vector< ::WebMember::SUserLevel> UserLevelSeq; - -class __U__UserLevelSeq { }; -void __write(::IceInternal::BasicStream*, const ::WebMember::SUserLevel*, const ::WebMember::SUserLevel*, __U__UserLevelSeq); -void __read(::IceInternal::BasicStream*, UserLevelSeq&, __U__UserLevelSeq); - -typedef ::std::vector< ::WebMember::SHalfUserProfile2> HUserSeq2; - -class __U__HUserSeq2 { }; -void __write(::IceInternal::BasicStream*, const ::WebMember::SHalfUserProfile2*, const ::WebMember::SHalfUserProfile2*, __U__HUserSeq2); -void __read(::IceInternal::BasicStream*, HUserSeq2&, __U__HUserSeq2); - -typedef ::std::vector< ::WebMember::SFullUserProfile2> FUserSeq2; - -class __U__FUserSeq2 { }; -void __write(::IceInternal::BasicStream*, const ::WebMember::SFullUserProfile2*, const ::WebMember::SFullUserProfile2*, __U__FUserSeq2); -void __read(::IceInternal::BasicStream*, FUserSeq2&, __U__FUserSeq2); - -} - -namespace IceProxy -{ - -namespace WebMember -{ - -class UserProfile : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int GetSimpleUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::SUserSeq& userProfiles) - { - return GetSimpleUserProfile(userIds, userProfiles, 0); - } - ::Ice::Int GetSimpleUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::SUserSeq& userProfiles, const ::Ice::Context& __ctx) - { - return GetSimpleUserProfile(userIds, userProfiles, &__ctx); - } - -private: - - ::Ice::Int GetSimpleUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::SUserSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetHalfUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::HUserSeq& userProfiles) - { - return GetHalfUserProfile(userIds, userProfiles, 0); - } - ::Ice::Int GetHalfUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::HUserSeq& userProfiles, const ::Ice::Context& __ctx) - { - return GetHalfUserProfile(userIds, userProfiles, &__ctx); - } - -private: - - ::Ice::Int GetHalfUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::HUserSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetFullUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::FUserSeq& userProfiles) - { - return GetFullUserProfile(userIds, userProfiles, 0); - } - ::Ice::Int GetFullUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::FUserSeq& userProfiles, const ::Ice::Context& __ctx) - { - return GetFullUserProfile(userIds, userProfiles, &__ctx); - } - -private: - - ::Ice::Int GetFullUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::FUserSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserLevels(const ::WebMember::UserIdSeq& userIds, ::WebMember::UserLevelSeq& userProfiles) - { - return GetUserLevels(userIds, userProfiles, 0); - } - ::Ice::Int GetUserLevels(const ::WebMember::UserIdSeq& userIds, ::WebMember::UserLevelSeq& userProfiles, const ::Ice::Context& __ctx) - { - return GetUserLevels(userIds, userProfiles, &__ctx); - } - -private: - - ::Ice::Int GetUserLevels(const ::WebMember::UserIdSeq&, ::WebMember::UserLevelSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUidByPenname(const ::std::string& penName, ::std::string& userId) - { - return GetUidByPenname(penName, userId, 0); - } - ::Ice::Int GetUidByPenname(const ::std::string& penName, ::std::string& userId, const ::Ice::Context& __ctx) - { - return GetUidByPenname(penName, userId, &__ctx); - } - -private: - - ::Ice::Int GetUidByPenname(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetPassword(const ::std::string& userId, ::std::string& password, ::std::string& status) - { - return GetPassword(userId, password, status, 0); - } - ::Ice::Int GetPassword(const ::std::string& userId, ::std::string& password, ::std::string& status, const ::Ice::Context& __ctx) - { - return GetPassword(userId, password, status, &__ctx); - } - -private: - - ::Ice::Int GetPassword(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUDBUserProfile(const ::std::string& userId, ::WebMember::SUDBUserProfile& udbProfile) - { - return GetUDBUserProfile(userId, udbProfile, 0); - } - ::Ice::Int GetUDBUserProfile(const ::std::string& userId, ::WebMember::SUDBUserProfile& udbProfile, const ::Ice::Context& __ctx) - { - return GetUDBUserProfile(userId, udbProfile, &__ctx); - } - -private: - - ::Ice::Int GetUDBUserProfile(const ::std::string&, ::WebMember::SUDBUserProfile&, const ::Ice::Context*); - -public: - - ::Ice::Int GetHalfUserProfile2(const ::WebMember::UserIdSeq& userIds, ::WebMember::HUserSeq2& userProfiles) - { - return GetHalfUserProfile2(userIds, userProfiles, 0); - } - ::Ice::Int GetHalfUserProfile2(const ::WebMember::UserIdSeq& userIds, ::WebMember::HUserSeq2& userProfiles, const ::Ice::Context& __ctx) - { - return GetHalfUserProfile2(userIds, userProfiles, &__ctx); - } - -private: - - ::Ice::Int GetHalfUserProfile2(const ::WebMember::UserIdSeq&, ::WebMember::HUserSeq2&, const ::Ice::Context*); - -public: - - ::Ice::Int GetFullUserProfile2(const ::WebMember::UserIdSeq& userIds, ::WebMember::FUserSeq2& userProfiles) - { - return GetFullUserProfile2(userIds, userProfiles, 0); - } - ::Ice::Int GetFullUserProfile2(const ::WebMember::UserIdSeq& userIds, ::WebMember::FUserSeq2& userProfiles, const ::Ice::Context& __ctx) - { - return GetFullUserProfile2(userIds, userProfiles, &__ctx); - } - -private: - - ::Ice::Int GetFullUserProfile2(const ::WebMember::UserIdSeq&, ::WebMember::FUserSeq2&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace WebMember -{ - -class UserProfile : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int GetSimpleUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::SUserSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetHalfUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::HUserSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetFullUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::FUserSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserLevels(const ::WebMember::UserIdSeq&, ::WebMember::UserLevelSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUidByPenname(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetPassword(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUDBUserProfile(const ::std::string&, ::WebMember::SUDBUserProfile&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetHalfUserProfile2(const ::WebMember::UserIdSeq&, ::WebMember::HUserSeq2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetFullUserProfile2(const ::WebMember::UserIdSeq&, ::WebMember::FUserSeq2&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace WebMember -{ - -class UserProfile : virtual public ::IceDelegate::WebMember::UserProfile, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int GetSimpleUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::SUserSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetHalfUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::HUserSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetFullUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::FUserSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserLevels(const ::WebMember::UserIdSeq&, ::WebMember::UserLevelSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUidByPenname(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetPassword(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUDBUserProfile(const ::std::string&, ::WebMember::SUDBUserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int GetHalfUserProfile2(const ::WebMember::UserIdSeq&, ::WebMember::HUserSeq2&, const ::Ice::Context*); - - virtual ::Ice::Int GetFullUserProfile2(const ::WebMember::UserIdSeq&, ::WebMember::FUserSeq2&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace WebMember -{ - -class UserProfile : virtual public ::IceDelegate::WebMember::UserProfile, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int GetSimpleUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::SUserSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetHalfUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::HUserSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetFullUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::FUserSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserLevels(const ::WebMember::UserIdSeq&, ::WebMember::UserLevelSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUidByPenname(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetPassword(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUDBUserProfile(const ::std::string&, ::WebMember::SUDBUserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int GetHalfUserProfile2(const ::WebMember::UserIdSeq&, ::WebMember::HUserSeq2&, const ::Ice::Context*); - - virtual ::Ice::Int GetFullUserProfile2(const ::WebMember::UserIdSeq&, ::WebMember::FUserSeq2&, const ::Ice::Context*); -}; - -} - -} - -namespace WebMember -{ - -class UserProfile : virtual public ::Ice::Object -{ -public: - - typedef UserProfilePrx ProxyType; - typedef UserProfilePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int GetSimpleUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::SUserSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetSimpleUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetHalfUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::HUserSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetHalfUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetFullUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::FUserSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetFullUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetUserLevels(const ::WebMember::UserIdSeq&, ::WebMember::UserLevelSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserLevels(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetUidByPenname(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUidByPenname(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetPassword(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetPassword(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetUDBUserProfile(const ::std::string&, ::WebMember::SUDBUserProfile&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUDBUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetHalfUserProfile2(const ::WebMember::UserIdSeq&, ::WebMember::HUserSeq2&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetHalfUserProfile2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetFullUserProfile2(const ::WebMember::UserIdSeq&, ::WebMember::FUserSeq2&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetFullUserProfile2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__UserProfilePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/aas_perf_test.h.svn-base b/features/aliww/include/.svn/text-base/aas_perf_test.h.svn-base deleted file mode 100644 index 569e832..0000000 --- a/features/aliww/include/.svn/text-base/aas_perf_test.h.svn-base +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef _AAS_PERF_TEST_H -#define _AAS_PERF_TEST_H - -#include "paramutil.h" -#include "cbenchmark.h" -#include -#include -#include -#include -#include "md5hash.h" - -using namespace std; -using namespace Ice; -using namespace AASSERVICE; - -typedef struct aas_t{ - AasInterfacePrx *aas; - Ice::CommunicatorPtr *ic; -}aas_st; - -#ifdef __cplusplus -extern "C" { -#endif - -void* aas_init(void *p); -void* aas_act(void *p); -void* aas_end(void *p); - -void* aas_textput(void *p); -void* aas_textgetput(void *p); -void* aas_picput(void *p); -void* aas_picputget(void *p); -void* aas_textget(void *p); -void* aas_picget(void *p); -#ifdef __cplusplus -} -#endif -#endif diff --git a/features/aliww/include/.svn/text-base/aasservice.h.svn-base b/features/aliww/include/.svn/text-base/aasservice.h.svn-base deleted file mode 100644 index 690aa30..0000000 --- a/features/aliww/include/.svn/text-base/aasservice.h.svn-base +++ /dev/null @@ -1,813 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aasservice.ice' - -#ifndef __aasservice_h__ -#define __aasservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AASSERVICE -{ - -class AasInterface; -bool operator==(const AasInterface&, const AasInterface&); -bool operator!=(const AasInterface&, const AasInterface&); -bool operator<(const AasInterface&, const AasInterface&); -bool operator<=(const AasInterface&, const AasInterface&); -bool operator>(const AasInterface&, const AasInterface&); -bool operator>=(const AasInterface&, const AasInterface&); - -} - -} - -namespace AASSERVICE -{ - -class AasInterface; -bool operator==(const AasInterface&, const AasInterface&); -bool operator!=(const AasInterface&, const AasInterface&); -bool operator<(const AasInterface&, const AasInterface&); -bool operator<=(const AasInterface&, const AasInterface&); -bool operator>(const AasInterface&, const AasInterface&); -bool operator>=(const AasInterface&, const AasInterface&); - -} - -namespace IceInternal -{ - -void incRef(::AASSERVICE::AasInterface*); -void decRef(::AASSERVICE::AasInterface*); - -void incRef(::IceProxy::AASSERVICE::AasInterface*); -void decRef(::IceProxy::AASSERVICE::AasInterface*); - -} - -namespace AASSERVICE -{ - -typedef ::IceInternal::Handle< ::AASSERVICE::AasInterface> AasInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AASSERVICE::AasInterface> AasInterfacePrx; - -void __write(::IceInternal::BasicStream*, const AasInterfacePrx&); -void __read(::IceInternal::BasicStream*, AasInterfacePrx&); -void __write(::IceInternal::BasicStream*, const AasInterfacePtr&); -void __patch__AasInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const AasInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const AasInterfacePtr&); -void __decRefUnsafe(const AasInterfacePtr&); -void __clearHandleUnsafe(AasInterfacePtr&); - -} - -namespace AASSERVICE -{ - -struct CChatRecord -{ - ::std::string userid; - ::std::string peeruid; - ::Ice::Long tm; - ::Ice::Int seq; - ::std::string msg; - - bool operator==(const CChatRecord&) const; - bool operator!=(const CChatRecord&) const; - bool operator<(const CChatRecord&) const; - bool operator<=(const CChatRecord& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const CChatRecord& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const CChatRecord& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct CChatRecordInfo -{ - ::Ice::Int dir; - ::Ice::Int seq; - ::Ice::Long tm; - ::std::string msg; - - bool operator==(const CChatRecordInfo&) const; - bool operator!=(const CChatRecordInfo&) const; - bool operator<(const CChatRecordInfo&) const; - bool operator<=(const CChatRecordInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const CChatRecordInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const CChatRecordInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct CChatRecordID -{ - ::std::string userid; - ::std::string peeruid; - ::Ice::Long tm; - ::Ice::Int seq; - ::Ice::Int dir; - - bool operator==(const CChatRecordID&) const; - bool operator!=(const CChatRecordID&) const; - bool operator<(const CChatRecordID&) const; - bool operator<=(const CChatRecordID& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const CChatRecordID& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const CChatRecordID& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AASSERVICE::CChatRecordInfo> ChatRecordInfoSeq; - -class __U__ChatRecordInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AASSERVICE::CChatRecordInfo*, const ::AASSERVICE::CChatRecordInfo*, __U__ChatRecordInfoSeq); -void __read(::IceInternal::BasicStream*, ChatRecordInfoSeq&, __U__ChatRecordInfoSeq); - -typedef ::std::vector< ::AASSERVICE::CChatRecordID> ChatRecordIDSeq; - -class __U__ChatRecordIDSeq { }; -void __write(::IceInternal::BasicStream*, const ::AASSERVICE::CChatRecordID*, const ::AASSERVICE::CChatRecordID*, __U__ChatRecordIDSeq); -void __read(::IceInternal::BasicStream*, ChatRecordIDSeq&, __U__ChatRecordIDSeq); - -typedef ::std::vector< ::std::string> ChatPicFileNameSeq; - -class __U__ChatPicFileNameSeq { }; - -typedef ::std::vector< ::Ice::Int> ChatRecordDeleteRespSeq; - -class __U__ChatRecordDeleteRespSeq { }; - -typedef ::std::vector< ::Ice::Byte> ByteSeq; - -class __U__ByteSeq { }; - -typedef ::std::vector< ::AASSERVICE::CChatRecord> ChatRecordSeq; - -class __U__ChatRecordSeq { }; -void __write(::IceInternal::BasicStream*, const ::AASSERVICE::CChatRecord*, const ::AASSERVICE::CChatRecord*, __U__ChatRecordSeq); -void __read(::IceInternal::BasicStream*, ChatRecordSeq&, __U__ChatRecordSeq); - -} - -namespace AASSERVICE -{ - -class AMD_AasInterface_textget : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AASSERVICE::ChatRecordInfoSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AASSERVICE::AMD_AasInterface_textget> AMD_AasInterface_textgetPtr; - -class AMD_AasInterface_textput : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AASSERVICE::AMD_AasInterface_textput> AMD_AasInterface_textputPtr; - -class AMD_AasInterface_textbatchput : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AASSERVICE::AMD_AasInterface_textbatchput> AMD_AasInterface_textbatchputPtr; - -class AMD_AasInterface_textupdate : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AASSERVICE::AMD_AasInterface_textupdate> AMD_AasInterface_textupdatePtr; - -class AMD_AasInterface_textdelete : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AASSERVICE::AMD_AasInterface_textdelete> AMD_AasInterface_textdeletePtr; - -class AMD_AasInterface_textbatchdelete : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AASSERVICE::ChatRecordIDSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AASSERVICE::AMD_AasInterface_textbatchdelete> AMD_AasInterface_textbatchdeletePtr; - -class AMD_AasInterface_picquery : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, bool) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AASSERVICE::AMD_AasInterface_picquery> AMD_AasInterface_picqueryPtr; - -class AMD_AasInterface_picbatchquery : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AASSERVICE::ChatPicFileNameSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AASSERVICE::AMD_AasInterface_picbatchquery> AMD_AasInterface_picbatchqueryPtr; - -class AMD_AasInterface_picget : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AASSERVICE::ByteSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AASSERVICE::AMD_AasInterface_picget> AMD_AasInterface_picgetPtr; - -class AMD_AasInterface_picput : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AASSERVICE::AMD_AasInterface_picput> AMD_AasInterface_picputPtr; - -} - -namespace IceAsync -{ - -namespace AASSERVICE -{ - -class AMD_AasInterface_textget : public ::AASSERVICE::AMD_AasInterface_textget, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AasInterface_textget(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AASSERVICE::ChatRecordInfoSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_AasInterface_textput : public ::AASSERVICE::AMD_AasInterface_textput, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AasInterface_textput(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_AasInterface_textbatchput : public ::AASSERVICE::AMD_AasInterface_textbatchput, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AasInterface_textbatchput(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_AasInterface_textupdate : public ::AASSERVICE::AMD_AasInterface_textupdate, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AasInterface_textupdate(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_AasInterface_textdelete : public ::AASSERVICE::AMD_AasInterface_textdelete, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AasInterface_textdelete(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_AasInterface_textbatchdelete : public ::AASSERVICE::AMD_AasInterface_textbatchdelete, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AasInterface_textbatchdelete(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AASSERVICE::ChatRecordIDSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_AasInterface_picquery : public ::AASSERVICE::AMD_AasInterface_picquery, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AasInterface_picquery(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, bool); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_AasInterface_picbatchquery : public ::AASSERVICE::AMD_AasInterface_picbatchquery, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AasInterface_picbatchquery(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AASSERVICE::ChatPicFileNameSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_AasInterface_picget : public ::AASSERVICE::AMD_AasInterface_picget, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AasInterface_picget(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AASSERVICE::ByteSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_AasInterface_picput : public ::AASSERVICE::AMD_AasInterface_picput, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AasInterface_picput(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -} - -} - -namespace IceProxy -{ - -namespace AASSERVICE -{ - -class AasInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int textget(const ::std::string& userid, const ::std::string& peeruid, ::Ice::Long begintime, ::Ice::Long endtime, ::Ice::Int maxret, ::AASSERVICE::ChatRecordInfoSeq& record) - { - return textget(userid, peeruid, begintime, endtime, maxret, record, 0); - } - ::Ice::Int textget(const ::std::string& userid, const ::std::string& peeruid, ::Ice::Long begintime, ::Ice::Long endtime, ::Ice::Int maxret, ::AASSERVICE::ChatRecordInfoSeq& record, const ::Ice::Context& __ctx) - { - return textget(userid, peeruid, begintime, endtime, maxret, record, &__ctx); - } - -private: - - ::Ice::Int textget(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int, ::AASSERVICE::ChatRecordInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int textput(const ::std::string& fromid, const ::std::string& toid, ::Ice::Long time, ::Ice::Int seq, const ::std::string& msg) - { - return textput(fromid, toid, time, seq, msg, 0); - } - ::Ice::Int textput(const ::std::string& fromid, const ::std::string& toid, ::Ice::Long time, ::Ice::Int seq, const ::std::string& msg, const ::Ice::Context& __ctx) - { - return textput(fromid, toid, time, seq, msg, &__ctx); - } - -private: - - ::Ice::Int textput(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int textbatchput(const ::AASSERVICE::ChatRecordSeq& seq) - { - return textbatchput(seq, 0); - } - ::Ice::Int textbatchput(const ::AASSERVICE::ChatRecordSeq& seq, const ::Ice::Context& __ctx) - { - return textbatchput(seq, &__ctx); - } - -private: - - ::Ice::Int textbatchput(const ::AASSERVICE::ChatRecordSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int textupdate(const ::std::string& fromid, const ::std::string& toid, ::Ice::Long time, ::Ice::Int seq, const ::std::string& msg) - { - return textupdate(fromid, toid, time, seq, msg, 0); - } - ::Ice::Int textupdate(const ::std::string& fromid, const ::std::string& toid, ::Ice::Long time, ::Ice::Int seq, const ::std::string& msg, const ::Ice::Context& __ctx) - { - return textupdate(fromid, toid, time, seq, msg, &__ctx); - } - -private: - - ::Ice::Int textupdate(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int textdelete(const ::std::string& userid, const ::std::string& peeruid, ::Ice::Long time, ::Ice::Int seq, ::Ice::Int direction) - { - return textdelete(userid, peeruid, time, seq, direction, 0); - } - ::Ice::Int textdelete(const ::std::string& userid, const ::std::string& peeruid, ::Ice::Long time, ::Ice::Int seq, ::Ice::Int direction, const ::Ice::Context& __ctx) - { - return textdelete(userid, peeruid, time, seq, direction, &__ctx); - } - -private: - - ::Ice::Int textdelete(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int textbatchdelete(const ::AASSERVICE::ChatRecordIDSeq& recordidseq, ::AASSERVICE::ChatRecordIDSeq& respseq) - { - return textbatchdelete(recordidseq, respseq, 0); - } - ::Ice::Int textbatchdelete(const ::AASSERVICE::ChatRecordIDSeq& recordidseq, ::AASSERVICE::ChatRecordIDSeq& respseq, const ::Ice::Context& __ctx) - { - return textbatchdelete(recordidseq, respseq, &__ctx); - } - -private: - - ::Ice::Int textbatchdelete(const ::AASSERVICE::ChatRecordIDSeq&, ::AASSERVICE::ChatRecordIDSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int picquery(const ::std::string& fileName, bool& exist) - { - return picquery(fileName, exist, 0); - } - ::Ice::Int picquery(const ::std::string& fileName, bool& exist, const ::Ice::Context& __ctx) - { - return picquery(fileName, exist, &__ctx); - } - -private: - - ::Ice::Int picquery(const ::std::string&, bool&, const ::Ice::Context*); - -public: - - ::Ice::Int picbatchquery(const ::AASSERVICE::ChatPicFileNameSeq& filenameseq, ::AASSERVICE::ChatPicFileNameSeq& respseq) - { - return picbatchquery(filenameseq, respseq, 0); - } - ::Ice::Int picbatchquery(const ::AASSERVICE::ChatPicFileNameSeq& filenameseq, ::AASSERVICE::ChatPicFileNameSeq& respseq, const ::Ice::Context& __ctx) - { - return picbatchquery(filenameseq, respseq, &__ctx); - } - -private: - - ::Ice::Int picbatchquery(const ::AASSERVICE::ChatPicFileNameSeq&, ::AASSERVICE::ChatPicFileNameSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int picget(const ::std::string& filename, ::AASSERVICE::ByteSeq& pic) - { - return picget(filename, pic, 0); - } - ::Ice::Int picget(const ::std::string& filename, ::AASSERVICE::ByteSeq& pic, const ::Ice::Context& __ctx) - { - return picget(filename, pic, &__ctx); - } - -private: - - ::Ice::Int picget(const ::std::string&, ::AASSERVICE::ByteSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int picput(const ::std::string& filename, const ::AASSERVICE::ByteSeq& pic) - { - return picput(filename, pic, 0); - } - ::Ice::Int picput(const ::std::string& filename, const ::AASSERVICE::ByteSeq& pic, const ::Ice::Context& __ctx) - { - return picput(filename, pic, &__ctx); - } - -private: - - ::Ice::Int picput(const ::std::string&, const ::AASSERVICE::ByteSeq&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AASSERVICE -{ - -class AasInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int textget(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int, ::AASSERVICE::ChatRecordInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int textput(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int textbatchput(const ::AASSERVICE::ChatRecordSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int textupdate(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int textdelete(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int textbatchdelete(const ::AASSERVICE::ChatRecordIDSeq&, ::AASSERVICE::ChatRecordIDSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int picquery(const ::std::string&, bool&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int picbatchquery(const ::AASSERVICE::ChatPicFileNameSeq&, ::AASSERVICE::ChatPicFileNameSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int picget(const ::std::string&, ::AASSERVICE::ByteSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int picput(const ::std::string&, const ::AASSERVICE::ByteSeq&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AASSERVICE -{ - -class AasInterface : virtual public ::IceDelegate::AASSERVICE::AasInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int textget(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int, ::AASSERVICE::ChatRecordInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int textput(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int textbatchput(const ::AASSERVICE::ChatRecordSeq&, const ::Ice::Context*); - - virtual ::Ice::Int textupdate(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int textdelete(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int textbatchdelete(const ::AASSERVICE::ChatRecordIDSeq&, ::AASSERVICE::ChatRecordIDSeq&, const ::Ice::Context*); - - virtual ::Ice::Int picquery(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int picbatchquery(const ::AASSERVICE::ChatPicFileNameSeq&, ::AASSERVICE::ChatPicFileNameSeq&, const ::Ice::Context*); - - virtual ::Ice::Int picget(const ::std::string&, ::AASSERVICE::ByteSeq&, const ::Ice::Context*); - - virtual ::Ice::Int picput(const ::std::string&, const ::AASSERVICE::ByteSeq&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AASSERVICE -{ - -class AasInterface : virtual public ::IceDelegate::AASSERVICE::AasInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int textget(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int, ::AASSERVICE::ChatRecordInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int textput(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int textbatchput(const ::AASSERVICE::ChatRecordSeq&, const ::Ice::Context*); - - virtual ::Ice::Int textupdate(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int textdelete(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int textbatchdelete(const ::AASSERVICE::ChatRecordIDSeq&, ::AASSERVICE::ChatRecordIDSeq&, const ::Ice::Context*); - - virtual ::Ice::Int picquery(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int picbatchquery(const ::AASSERVICE::ChatPicFileNameSeq&, ::AASSERVICE::ChatPicFileNameSeq&, const ::Ice::Context*); - - virtual ::Ice::Int picget(const ::std::string&, ::AASSERVICE::ByteSeq&, const ::Ice::Context*); - - virtual ::Ice::Int picput(const ::std::string&, const ::AASSERVICE::ByteSeq&, const ::Ice::Context*); -}; - -} - -} - -namespace AASSERVICE -{ - -class AasInterface : virtual public ::Ice::Object -{ -public: - - typedef AasInterfacePrx ProxyType; - typedef AasInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual void textget_async(const ::AASSERVICE::AMD_AasInterface_textgetPtr&, const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___textget(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void textput_async(const ::AASSERVICE::AMD_AasInterface_textputPtr&, const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___textput(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void textbatchput_async(const ::AASSERVICE::AMD_AasInterface_textbatchputPtr&, const ::AASSERVICE::ChatRecordSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___textbatchput(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void textupdate_async(const ::AASSERVICE::AMD_AasInterface_textupdatePtr&, const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___textupdate(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void textdelete_async(const ::AASSERVICE::AMD_AasInterface_textdeletePtr&, const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___textdelete(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void textbatchdelete_async(const ::AASSERVICE::AMD_AasInterface_textbatchdeletePtr&, const ::AASSERVICE::ChatRecordIDSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___textbatchdelete(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void picquery_async(const ::AASSERVICE::AMD_AasInterface_picqueryPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___picquery(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void picbatchquery_async(const ::AASSERVICE::AMD_AasInterface_picbatchqueryPtr&, const ::AASSERVICE::ChatPicFileNameSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___picbatchquery(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void picget_async(const ::AASSERVICE::AMD_AasInterface_picgetPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___picget(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void picput_async(const ::AASSERVICE::AMD_AasInterface_picputPtr&, const ::std::string&, const ::AASSERVICE::ByteSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___picput(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__AasInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/aepcacheservice.h.svn-base b/features/aliww/include/.svn/text-base/aepcacheservice.h.svn-base deleted file mode 100644 index f540198..0000000 --- a/features/aliww/include/.svn/text-base/aepcacheservice.h.svn-base +++ /dev/null @@ -1,450 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aepcacheservice.ice' - -#ifndef __aepcacheservice_h__ -#define __aepcacheservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class IAEPCacheService; -bool operator==(const IAEPCacheService&, const IAEPCacheService&); -bool operator!=(const IAEPCacheService&, const IAEPCacheService&); -bool operator<(const IAEPCacheService&, const IAEPCacheService&); -bool operator<=(const IAEPCacheService&, const IAEPCacheService&); -bool operator>(const IAEPCacheService&, const IAEPCacheService&); -bool operator>=(const IAEPCacheService&, const IAEPCacheService&); - -} - -} - -namespace AliIM -{ - -class IAEPCacheService; -bool operator==(const IAEPCacheService&, const IAEPCacheService&); -bool operator!=(const IAEPCacheService&, const IAEPCacheService&); -bool operator<(const IAEPCacheService&, const IAEPCacheService&); -bool operator<=(const IAEPCacheService&, const IAEPCacheService&); -bool operator>(const IAEPCacheService&, const IAEPCacheService&); -bool operator>=(const IAEPCacheService&, const IAEPCacheService&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::IAEPCacheService*); -void decRef(::AliIM::IAEPCacheService*); - -void incRef(::IceProxy::AliIM::IAEPCacheService*); -void decRef(::IceProxy::AliIM::IAEPCacheService*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::IAEPCacheService> IAEPCacheServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::IAEPCacheService> IAEPCacheServicePrx; - -void __write(::IceInternal::BasicStream*, const IAEPCacheServicePrx&); -void __read(::IceInternal::BasicStream*, IAEPCacheServicePrx&); -void __write(::IceInternal::BasicStream*, const IAEPCacheServicePtr&); -void __patch__IAEPCacheServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IAEPCacheServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IAEPCacheServicePtr&); -void __decRefUnsafe(const IAEPCacheServicePtr&); -void __clearHandleUnsafe(IAEPCacheServicePtr&); - -} - -namespace AliIM -{ - -struct SWanghaoInfoIce -{ - ::std::string uuid; - ::std::string whid; - ::std::string longuid; - ::std::string md5pw; - ::std::string imtoken; - ::Ice::Byte status; - - bool operator==(const SWanghaoInfoIce&) const; - bool operator!=(const SWanghaoInfoIce&) const; - bool operator<(const SWanghaoInfoIce&) const; - bool operator<=(const SWanghaoInfoIce& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SWanghaoInfoIce& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SWanghaoInfoIce& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class IAEPCacheService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int getWanghaoInfo(::Ice::Int idtype, const ::std::string& id, ::AliIM::SWanghaoInfoIce& info) - { - return getWanghaoInfo(idtype, id, info, 0); - } - ::Ice::Int getWanghaoInfo(::Ice::Int idtype, const ::std::string& id, ::AliIM::SWanghaoInfoIce& info, const ::Ice::Context& __ctx) - { - return getWanghaoInfo(idtype, id, info, &__ctx); - } - -private: - - ::Ice::Int getWanghaoInfo(::Ice::Int, const ::std::string&, ::AliIM::SWanghaoInfoIce&, const ::Ice::Context*); - -public: - - ::Ice::Int getBindlist(::Ice::Int idtype, const ::std::string& id, ::Ice::StringSeq& bindids) - { - return getBindlist(idtype, id, bindids, 0); - } - ::Ice::Int getBindlist(::Ice::Int idtype, const ::std::string& id, ::Ice::StringSeq& bindids, const ::Ice::Context& __ctx) - { - return getBindlist(idtype, id, bindids, &__ctx); - } - -private: - - ::Ice::Int getBindlist(::Ice::Int, const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int addWanghao(const ::AliIM::SWanghaoInfoIce& info) - { - return addWanghao(info, 0); - } - ::Ice::Int addWanghao(const ::AliIM::SWanghaoInfoIce& info, const ::Ice::Context& __ctx) - { - return addWanghao(info, &__ctx); - } - -private: - - ::Ice::Int addWanghao(const ::AliIM::SWanghaoInfoIce&, const ::Ice::Context*); - -public: - - ::Ice::Int setWanghaoStatus(::Ice::Int idtype, const ::std::string& id, ::Ice::Int status) - { - return setWanghaoStatus(idtype, id, status, 0); - } - ::Ice::Int setWanghaoStatus(::Ice::Int idtype, const ::std::string& id, ::Ice::Int status, const ::Ice::Context& __ctx) - { - return setWanghaoStatus(idtype, id, status, &__ctx); - } - -private: - - ::Ice::Int setWanghaoStatus(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int setBindlist(::Ice::Int idtype, const ::std::string& id, const ::Ice::StringSeq& bindids) - { - return setBindlist(idtype, id, bindids, 0); - } - ::Ice::Int setBindlist(::Ice::Int idtype, const ::std::string& id, const ::Ice::StringSeq& bindids, const ::Ice::Context& __ctx) - { - return setBindlist(idtype, id, bindids, &__ctx); - } - -private: - - ::Ice::Int setBindlist(::Ice::Int, const ::std::string&, const ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int addBindId(::Ice::Int idtype, const ::std::string& id, const ::std::string& weblongid) - { - return addBindId(idtype, id, weblongid, 0); - } - ::Ice::Int addBindId(::Ice::Int idtype, const ::std::string& id, const ::std::string& weblongid, const ::Ice::Context& __ctx) - { - return addBindId(idtype, id, weblongid, &__ctx); - } - -private: - - ::Ice::Int addBindId(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int delBindId(::Ice::Int idtype, const ::std::string& id, const ::std::string& weblongid) - { - return delBindId(idtype, id, weblongid, 0); - } - ::Ice::Int delBindId(::Ice::Int idtype, const ::std::string& id, const ::std::string& weblongid, const ::Ice::Context& __ctx) - { - return delBindId(idtype, id, weblongid, &__ctx); - } - -private: - - ::Ice::Int delBindId(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int removeCache(::Ice::Int idtype, const ::std::string& id) - { - return removeCache(idtype, id, 0); - } - ::Ice::Int removeCache(::Ice::Int idtype, const ::std::string& id, const ::Ice::Context& __ctx) - { - return removeCache(idtype, id, &__ctx); - } - -private: - - ::Ice::Int removeCache(::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int changeWanghaoPw(::Ice::Int idtype, const ::std::string& id, const ::std::string& newmd5pw) - { - return changeWanghaoPw(idtype, id, newmd5pw, 0); - } - ::Ice::Int changeWanghaoPw(::Ice::Int idtype, const ::std::string& id, const ::std::string& newmd5pw, const ::Ice::Context& __ctx) - { - return changeWanghaoPw(idtype, id, newmd5pw, &__ctx); - } - -private: - - ::Ice::Int changeWanghaoPw(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class IAEPCacheService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int getWanghaoInfo(::Ice::Int, const ::std::string&, ::AliIM::SWanghaoInfoIce&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getBindlist(::Ice::Int, const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int addWanghao(const ::AliIM::SWanghaoInfoIce&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setWanghaoStatus(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setBindlist(::Ice::Int, const ::std::string&, const ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int addBindId(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int delBindId(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int removeCache(::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int changeWanghaoPw(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class IAEPCacheService : virtual public ::IceDelegate::AliIM::IAEPCacheService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int getWanghaoInfo(::Ice::Int, const ::std::string&, ::AliIM::SWanghaoInfoIce&, const ::Ice::Context*); - - virtual ::Ice::Int getBindlist(::Ice::Int, const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int addWanghao(const ::AliIM::SWanghaoInfoIce&, const ::Ice::Context*); - - virtual ::Ice::Int setWanghaoStatus(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int setBindlist(::Ice::Int, const ::std::string&, const ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int addBindId(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int delBindId(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int removeCache(::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int changeWanghaoPw(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class IAEPCacheService : virtual public ::IceDelegate::AliIM::IAEPCacheService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int getWanghaoInfo(::Ice::Int, const ::std::string&, ::AliIM::SWanghaoInfoIce&, const ::Ice::Context*); - - virtual ::Ice::Int getBindlist(::Ice::Int, const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int addWanghao(const ::AliIM::SWanghaoInfoIce&, const ::Ice::Context*); - - virtual ::Ice::Int setWanghaoStatus(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int setBindlist(::Ice::Int, const ::std::string&, const ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int addBindId(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int delBindId(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int removeCache(::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int changeWanghaoPw(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class IAEPCacheService : virtual public ::Ice::Object -{ -public: - - typedef IAEPCacheServicePrx ProxyType; - typedef IAEPCacheServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int getWanghaoInfo(::Ice::Int, const ::std::string&, ::AliIM::SWanghaoInfoIce&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getWanghaoInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getBindlist(::Ice::Int, const ::std::string&, ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getBindlist(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int addWanghao(const ::AliIM::SWanghaoInfoIce&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addWanghao(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setWanghaoStatus(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setWanghaoStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setBindlist(::Ice::Int, const ::std::string&, const ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setBindlist(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int addBindId(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addBindId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int delBindId(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___delBindId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int removeCache(::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___removeCache(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int changeWanghaoPw(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___changeWanghaoPw(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IAEPCacheServicePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/aepdbsadapter.h.svn-base b/features/aliww/include/.svn/text-base/aepdbsadapter.h.svn-base deleted file mode 100644 index 5b7b8ca..0000000 --- a/features/aliww/include/.svn/text-base/aepdbsadapter.h.svn-base +++ /dev/null @@ -1,642 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aepdbsadapter.ice' - -#ifndef __aepdbsadapter_h__ -#define __aepdbsadapter_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIMInterface -{ - -class IAEPDBSAdapter; -bool operator==(const IAEPDBSAdapter&, const IAEPDBSAdapter&); -bool operator!=(const IAEPDBSAdapter&, const IAEPDBSAdapter&); -bool operator<(const IAEPDBSAdapter&, const IAEPDBSAdapter&); -bool operator<=(const IAEPDBSAdapter&, const IAEPDBSAdapter&); -bool operator>(const IAEPDBSAdapter&, const IAEPDBSAdapter&); -bool operator>=(const IAEPDBSAdapter&, const IAEPDBSAdapter&); - -} - -} - -namespace AliIMInterface -{ - -class IAEPDBSAdapter; -bool operator==(const IAEPDBSAdapter&, const IAEPDBSAdapter&); -bool operator!=(const IAEPDBSAdapter&, const IAEPDBSAdapter&); -bool operator<(const IAEPDBSAdapter&, const IAEPDBSAdapter&); -bool operator<=(const IAEPDBSAdapter&, const IAEPDBSAdapter&); -bool operator>(const IAEPDBSAdapter&, const IAEPDBSAdapter&); -bool operator>=(const IAEPDBSAdapter&, const IAEPDBSAdapter&); - -} - -namespace IceInternal -{ - -void incRef(::AliIMInterface::IAEPDBSAdapter*); -void decRef(::AliIMInterface::IAEPDBSAdapter*); - -void incRef(::IceProxy::AliIMInterface::IAEPDBSAdapter*); -void decRef(::IceProxy::AliIMInterface::IAEPDBSAdapter*); - -} - -namespace AliIMInterface -{ - -typedef ::IceInternal::Handle< ::AliIMInterface::IAEPDBSAdapter> IAEPDBSAdapterPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIMInterface::IAEPDBSAdapter> IAEPDBSAdapterPrx; - -void __write(::IceInternal::BasicStream*, const IAEPDBSAdapterPrx&); -void __read(::IceInternal::BasicStream*, IAEPDBSAdapterPrx&); -void __write(::IceInternal::BasicStream*, const IAEPDBSAdapterPtr&); -void __patch__IAEPDBSAdapterPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IAEPDBSAdapterPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IAEPDBSAdapterPtr&); -void __decRefUnsafe(const IAEPDBSAdapterPtr&); -void __clearHandleUnsafe(IAEPDBSAdapterPtr&); - -} - -namespace AliIMInterface -{ - -struct SWanghaoIMBind -{ - ::std::string uuid; - ::std::string whid; - ::std::string longuid; - ::std::string whmd5pw; - ::Ice::Int status; - ::std::string pwtoken; - - bool operator==(const SWanghaoIMBind&) const; - bool operator!=(const SWanghaoIMBind&) const; - bool operator<(const SWanghaoIMBind&) const; - bool operator<=(const SWanghaoIMBind& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SWanghaoIMBind& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SWanghaoIMBind& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -} - -namespace IceProxy -{ - -namespace AliIMInterface -{ - -class IAEPDBSAdapter : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int getBindedWebIdList(const ::Ice::StringSeq& uuid, ::AliIMInterface::SWanghaoWebBindIdSeq& webids) - { - return getBindedWebIdList(uuid, webids, 0); - } - ::Ice::Int getBindedWebIdList(const ::Ice::StringSeq& uuid, ::AliIMInterface::SWanghaoWebBindIdSeq& webids, const ::Ice::Context& __ctx) - { - return getBindedWebIdList(uuid, webids, &__ctx); - } - -private: - - ::Ice::Int getBindedWebIdList(const ::Ice::StringSeq&, ::AliIMInterface::SWanghaoWebBindIdSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getBindedWebId(const ::std::string& uuid, ::AliIMInterface::SWebBindIdSeq& webids) - { - return getBindedWebId(uuid, webids, 0); - } - ::Ice::Int getBindedWebId(const ::std::string& uuid, ::AliIMInterface::SWebBindIdSeq& webids, const ::Ice::Context& __ctx) - { - return getBindedWebId(uuid, webids, &__ctx); - } - -private: - - ::Ice::Int getBindedWebId(const ::std::string&, ::AliIMInterface::SWebBindIdSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int createWanghaoWebid(const ::std::string& uuid, const ::std::string& longuid) - { - return createWanghaoWebid(uuid, longuid, 0); - } - ::Ice::Int createWanghaoWebid(const ::std::string& uuid, const ::std::string& longuid, const ::Ice::Context& __ctx) - { - return createWanghaoWebid(uuid, longuid, &__ctx); - } - -private: - - ::Ice::Int createWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int deleteWanghaoWebid(const ::std::string& uuid, const ::std::string& longuid) - { - return deleteWanghaoWebid(uuid, longuid, 0); - } - ::Ice::Int deleteWanghaoWebid(const ::std::string& uuid, const ::std::string& longuid, const ::Ice::Context& __ctx) - { - return deleteWanghaoWebid(uuid, longuid, &__ctx); - } - -private: - - ::Ice::Int deleteWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int updateWanghaoLastLogintime(const ::std::string& uuid) - { - return updateWanghaoLastLogintime(uuid, 0); - } - ::Ice::Int updateWanghaoLastLogintime(const ::std::string& uuid, const ::Ice::Context& __ctx) - { - return updateWanghaoLastLogintime(uuid, &__ctx); - } - -private: - - ::Ice::Int updateWanghaoLastLogintime(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int changeWanghaoPw(const ::std::string& uuid, const ::std::string& newmd5pw, const ::std::string& imtoken) - { - return changeWanghaoPw(uuid, newmd5pw, imtoken, 0); - } - ::Ice::Int changeWanghaoPw(const ::std::string& uuid, const ::std::string& newmd5pw, const ::std::string& imtoken, const ::Ice::Context& __ctx) - { - return changeWanghaoPw(uuid, newmd5pw, imtoken, &__ctx); - } - -private: - - ::Ice::Int changeWanghaoPw(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int isChangableWanghao(const ::std::string& uuid) - { - return isChangableWanghao(uuid, 0); - } - ::Ice::Int isChangableWanghao(const ::std::string& uuid, const ::Ice::Context& __ctx) - { - return isChangableWanghao(uuid, &__ctx); - } - -private: - - ::Ice::Int isChangableWanghao(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int updateChangableWanghao(const ::std::string& uuid, bool bChangable) - { - return updateChangableWanghao(uuid, bChangable, 0); - } - ::Ice::Int updateChangableWanghao(const ::std::string& uuid, bool bChangable, const ::Ice::Context& __ctx) - { - return updateChangableWanghao(uuid, bChangable, &__ctx); - } - -private: - - ::Ice::Int updateChangableWanghao(const ::std::string&, bool, const ::Ice::Context*); - -public: - - ::Ice::Int registerWanghao(const ::std::string& newwhid, const ::std::string& longuid, const ::std::string& md5pw, const ::std::string& imtoken, const ::AliIMInterface::KVMAP& attrs, ::std::string& uuid) - { - return registerWanghao(newwhid, longuid, md5pw, imtoken, attrs, uuid, 0); - } - ::Ice::Int registerWanghao(const ::std::string& newwhid, const ::std::string& longuid, const ::std::string& md5pw, const ::std::string& imtoken, const ::AliIMInterface::KVMAP& attrs, ::std::string& uuid, const ::Ice::Context& __ctx) - { - return registerWanghao(newwhid, longuid, md5pw, imtoken, attrs, uuid, &__ctx); - } - -private: - - ::Ice::Int registerWanghao(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::AliIMInterface::KVMAP&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int prohibitWanghao(const ::std::string& optor, const ::std::string& whid) - { - return prohibitWanghao(optor, whid, 0); - } - ::Ice::Int prohibitWanghao(const ::std::string& optor, const ::std::string& whid, const ::Ice::Context& __ctx) - { - return prohibitWanghao(optor, whid, &__ctx); - } - -private: - - ::Ice::Int prohibitWanghao(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getWanghaoIMBind(const ::std::string& id, ::Ice::Int idtype, ::AliIMInterface::SWanghaoIMBind& whimbind) - { - return getWanghaoIMBind(id, idtype, whimbind, 0); - } - ::Ice::Int getWanghaoIMBind(const ::std::string& id, ::Ice::Int idtype, ::AliIMInterface::SWanghaoIMBind& whimbind, const ::Ice::Context& __ctx) - { - return getWanghaoIMBind(id, idtype, whimbind, &__ctx); - } - -private: - - ::Ice::Int getWanghaoIMBind(const ::std::string&, ::Ice::Int, ::AliIMInterface::SWanghaoIMBind&, const ::Ice::Context*); - -public: - - ::Ice::Int updateUserNameByUuid(const ::std::string& uuid, const ::std::string& username) - { - return updateUserNameByUuid(uuid, username, 0); - } - ::Ice::Int updateUserNameByUuid(const ::std::string& uuid, const ::std::string& username, const ::Ice::Context& __ctx) - { - return updateUserNameByUuid(uuid, username, &__ctx); - } - -private: - - ::Ice::Int updateUserNameByUuid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int updateWanghaoToken(const ::std::string& whid, const ::std::string& token) - { - return updateWanghaoToken(whid, token, 0); - } - ::Ice::Int updateWanghaoToken(const ::std::string& whid, const ::std::string& token, const ::Ice::Context& __ctx) - { - return updateWanghaoToken(whid, token, &__ctx); - } - -private: - - ::Ice::Int updateWanghaoToken(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int createWWWanghaoWebid(const ::std::string& whid, const ::std::string& longuid) - { - return createWWWanghaoWebid(whid, longuid, 0); - } - ::Ice::Int createWWWanghaoWebid(const ::std::string& whid, const ::std::string& longuid, const ::Ice::Context& __ctx) - { - return createWWWanghaoWebid(whid, longuid, &__ctx); - } - -private: - - ::Ice::Int createWWWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int deleteWWWanghaoWebid(const ::std::string& whid, const ::std::string& longuid) - { - return deleteWWWanghaoWebid(whid, longuid, 0); - } - ::Ice::Int deleteWWWanghaoWebid(const ::std::string& whid, const ::std::string& longuid, const ::Ice::Context& __ctx) - { - return deleteWWWanghaoWebid(whid, longuid, &__ctx); - } - -private: - - ::Ice::Int deleteWWWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getUUIDWanghaoByWebid(const ::std::string& luid, ::std::string& uuid, ::std::string& whid) - { - return getUUIDWanghaoByWebid(luid, uuid, whid, 0); - } - ::Ice::Int getUUIDWanghaoByWebid(const ::std::string& luid, ::std::string& uuid, ::std::string& whid, const ::Ice::Context& __ctx) - { - return getUUIDWanghaoByWebid(luid, uuid, whid, &__ctx); - } - -private: - - ::Ice::Int getUUIDWanghaoByWebid(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int changeIMLongid(::Ice::Int idtype, const ::std::string& id, const ::std::string& newlongid, ::std::string& retswitcheduuid, ::std::string& retoldlongid) - { - return changeIMLongid(idtype, id, newlongid, retswitcheduuid, retoldlongid, 0); - } - ::Ice::Int changeIMLongid(::Ice::Int idtype, const ::std::string& id, const ::std::string& newlongid, ::std::string& retswitcheduuid, ::std::string& retoldlongid, const ::Ice::Context& __ctx) - { - return changeIMLongid(idtype, id, newlongid, retswitcheduuid, retoldlongid, &__ctx); - } - -private: - - ::Ice::Int changeIMLongid(::Ice::Int, const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIMInterface -{ - -class IAEPDBSAdapter : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int getBindedWebIdList(const ::Ice::StringSeq&, ::AliIMInterface::SWanghaoWebBindIdSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getBindedWebId(const ::std::string&, ::AliIMInterface::SWebBindIdSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int createWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int deleteWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateWanghaoLastLogintime(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int changeWanghaoPw(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int isChangableWanghao(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateChangableWanghao(const ::std::string&, bool, const ::Ice::Context*) = 0; - - virtual ::Ice::Int registerWanghao(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::AliIMInterface::KVMAP&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int prohibitWanghao(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getWanghaoIMBind(const ::std::string&, ::Ice::Int, ::AliIMInterface::SWanghaoIMBind&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateUserNameByUuid(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateWanghaoToken(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int createWWWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int deleteWWWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUUIDWanghaoByWebid(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int changeIMLongid(::Ice::Int, const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIMInterface -{ - -class IAEPDBSAdapter : virtual public ::IceDelegate::AliIMInterface::IAEPDBSAdapter, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int getBindedWebIdList(const ::Ice::StringSeq&, ::AliIMInterface::SWanghaoWebBindIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getBindedWebId(const ::std::string&, ::AliIMInterface::SWebBindIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int createWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int deleteWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateWanghaoLastLogintime(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int changeWanghaoPw(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int isChangableWanghao(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateChangableWanghao(const ::std::string&, bool, const ::Ice::Context*); - - virtual ::Ice::Int registerWanghao(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::AliIMInterface::KVMAP&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int prohibitWanghao(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getWanghaoIMBind(const ::std::string&, ::Ice::Int, ::AliIMInterface::SWanghaoIMBind&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserNameByUuid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateWanghaoToken(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int createWWWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int deleteWWWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getUUIDWanghaoByWebid(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int changeIMLongid(::Ice::Int, const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIMInterface -{ - -class IAEPDBSAdapter : virtual public ::IceDelegate::AliIMInterface::IAEPDBSAdapter, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int getBindedWebIdList(const ::Ice::StringSeq&, ::AliIMInterface::SWanghaoWebBindIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getBindedWebId(const ::std::string&, ::AliIMInterface::SWebBindIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int createWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int deleteWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateWanghaoLastLogintime(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int changeWanghaoPw(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int isChangableWanghao(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateChangableWanghao(const ::std::string&, bool, const ::Ice::Context*); - - virtual ::Ice::Int registerWanghao(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::AliIMInterface::KVMAP&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int prohibitWanghao(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getWanghaoIMBind(const ::std::string&, ::Ice::Int, ::AliIMInterface::SWanghaoIMBind&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserNameByUuid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateWanghaoToken(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int createWWWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int deleteWWWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getUUIDWanghaoByWebid(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int changeIMLongid(::Ice::Int, const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIMInterface -{ - -class IAEPDBSAdapter : virtual public ::Ice::Object -{ -public: - - typedef IAEPDBSAdapterPrx ProxyType; - typedef IAEPDBSAdapterPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int getBindedWebIdList(const ::Ice::StringSeq&, ::AliIMInterface::SWanghaoWebBindIdSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getBindedWebIdList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getBindedWebId(const ::std::string&, ::AliIMInterface::SWebBindIdSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getBindedWebId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int createWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___createWanghaoWebid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int deleteWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___deleteWanghaoWebid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateWanghaoLastLogintime(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateWanghaoLastLogintime(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int changeWanghaoPw(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___changeWanghaoPw(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int isChangableWanghao(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___isChangableWanghao(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateChangableWanghao(const ::std::string&, bool, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateChangableWanghao(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int registerWanghao(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::AliIMInterface::KVMAP&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___registerWanghao(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int prohibitWanghao(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___prohibitWanghao(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getWanghaoIMBind(const ::std::string&, ::Ice::Int, ::AliIMInterface::SWanghaoIMBind&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getWanghaoIMBind(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateUserNameByUuid(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateUserNameByUuid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateWanghaoToken(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateWanghaoToken(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int createWWWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___createWWWanghaoWebid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int deleteWWWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___deleteWWWanghaoWebid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUUIDWanghaoByWebid(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUUIDWanghaoByWebid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int changeIMLongid(::Ice::Int, const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___changeIMLongid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IAEPDBSAdapterPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/aliuidpsserv.h.svn-base b/features/aliww/include/.svn/text-base/aliuidpsserv.h.svn-base deleted file mode 100644 index ec6b2e0..0000000 --- a/features/aliww/include/.svn/text-base/aliuidpsserv.h.svn-base +++ /dev/null @@ -1,1182 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aliuidpsserv.ice' - -#ifndef __aliuidpsserv_h__ -#define __aliuidpsserv_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliUID -{ - -class IAliUidPsMgr; -bool operator==(const IAliUidPsMgr&, const IAliUidPsMgr&); -bool operator!=(const IAliUidPsMgr&, const IAliUidPsMgr&); -bool operator<(const IAliUidPsMgr&, const IAliUidPsMgr&); -bool operator<=(const IAliUidPsMgr&, const IAliUidPsMgr&); -bool operator>(const IAliUidPsMgr&, const IAliUidPsMgr&); -bool operator>=(const IAliUidPsMgr&, const IAliUidPsMgr&); - -} - -} - -namespace AliUID -{ - -class IAliUidPsMgr; -bool operator==(const IAliUidPsMgr&, const IAliUidPsMgr&); -bool operator!=(const IAliUidPsMgr&, const IAliUidPsMgr&); -bool operator<(const IAliUidPsMgr&, const IAliUidPsMgr&); -bool operator<=(const IAliUidPsMgr&, const IAliUidPsMgr&); -bool operator>(const IAliUidPsMgr&, const IAliUidPsMgr&); -bool operator>=(const IAliUidPsMgr&, const IAliUidPsMgr&); - -} - -namespace IceInternal -{ - -void incRef(::AliUID::IAliUidPsMgr*); -void decRef(::AliUID::IAliUidPsMgr*); - -void incRef(::IceProxy::AliUID::IAliUidPsMgr*); -void decRef(::IceProxy::AliUID::IAliUidPsMgr*); - -} - -namespace AliUID -{ - -typedef ::IceInternal::Handle< ::AliUID::IAliUidPsMgr> IAliUidPsMgrPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliUID::IAliUidPsMgr> IAliUidPsMgrPrx; - -void __write(::IceInternal::BasicStream*, const IAliUidPsMgrPrx&); -void __read(::IceInternal::BasicStream*, IAliUidPsMgrPrx&); -void __write(::IceInternal::BasicStream*, const IAliUidPsMgrPtr&); -void __patch__IAliUidPsMgrPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IAliUidPsMgrPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IAliUidPsMgrPtr&); -void __decRefUnsafe(const IAliUidPsMgrPtr&); -void __clearHandleUnsafe(IAliUidPsMgrPtr&); - -} - -namespace AliUID -{ - -} - -namespace AliUID -{ - -class AMD_IAliUidPsMgr_RegisterPassport : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_RegisterPassport> AMD_IAliUidPsMgr_RegisterPassportPtr; - -class AMD_IAliUidPsMgr_AuthPassword : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Short) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_AuthPassword> AMD_IAliUidPsMgr_AuthPasswordPtr; - -class AMD_IAliUidPsMgr_AuthToken : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, ::Ice::Short) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_AuthToken> AMD_IAliUidPsMgr_AuthTokenPtr; - -class AMD_IAliUidPsMgr_GetAuidToken : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Short) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_GetAuidToken> AMD_IAliUidPsMgr_GetAuidTokenPtr; - -class AMD_IAliUidPsMgr_GetAccountInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliUID::SPassportAccount&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_GetAccountInfo> AMD_IAliUidPsMgr_GetAccountInfoPtr; - -class AMD_IAliUidPsMgr_ChangePassportLogin : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_ChangePassportLogin> AMD_IAliUidPsMgr_ChangePassportLoginPtr; - -class AMD_IAliUidPsMgr_GetProfileByPassport : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_GetProfileByPassport> AMD_IAliUidPsMgr_GetProfileByPassportPtr; - -class AMD_IAliUidPsMgr_UpdateProfileByPassport : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_UpdateProfileByPassport> AMD_IAliUidPsMgr_UpdateProfileByPassportPtr; - -class AMD_IAliUidPsMgr_SetPassportPassword : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_SetPassportPassword> AMD_IAliUidPsMgr_SetPassportPasswordPtr; - -class AMD_IAliUidPsMgr_SetPassportStatus : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_SetPassportStatus> AMD_IAliUidPsMgr_SetPassportStatusPtr; - -class AMD_IAliUidPsMgr_GetPassportStatus : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Short, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_GetPassportStatus> AMD_IAliUidPsMgr_GetPassportStatusPtr; - -class AMD_IAliUidPsMgr_GetAllService : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_GetAllService> AMD_IAliUidPsMgr_GetAllServicePtr; - -class AMD_IAliUidPsMgr_BindService : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_BindService> AMD_IAliUidPsMgr_BindServicePtr; - -class AMD_IAliUidPsMgr_UnbindService : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_UnbindService> AMD_IAliUidPsMgr_UnbindServicePtr; - -class AMD_IAliUidPsMgr_GetWebUserService : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::AliUID::SWebBindSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_GetWebUserService> AMD_IAliUidPsMgr_GetWebUserServicePtr; - -class AMD_IAliUidPsMgr_AddWebsite : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_AddWebsite> AMD_IAliUidPsMgr_AddWebsitePtr; - -class AMD_IAliUidPsMgr_DelWebsite : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_DelWebsite> AMD_IAliUidPsMgr_DelWebsitePtr; - -class AMD_IAliUidPsMgr_ChgWebsite : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_ChgWebsite> AMD_IAliUidPsMgr_ChgWebsitePtr; - -class AMD_IAliUidPsMgr_ChgWebsiteStatus : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_ChgWebsiteStatus> AMD_IAliUidPsMgr_ChgWebsiteStatusPtr; - -class AMD_IAliUidPsMgr_DoAuth : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_DoAuth> AMD_IAliUidPsMgr_DoAuthPtr; - -} - -namespace IceAsync -{ - -namespace AliUID -{ - -class AMD_IAliUidPsMgr_RegisterPassport : public ::AliUID::AMD_IAliUidPsMgr_RegisterPassport, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_RegisterPassport(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_AuthPassword : public ::AliUID::AMD_IAliUidPsMgr_AuthPassword, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_AuthPassword(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Short); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_AuthToken : public ::AliUID::AMD_IAliUidPsMgr_AuthToken, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_AuthToken(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, ::Ice::Short); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_GetAuidToken : public ::AliUID::AMD_IAliUidPsMgr_GetAuidToken, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_GetAuidToken(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Short); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_GetAccountInfo : public ::AliUID::AMD_IAliUidPsMgr_GetAccountInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_GetAccountInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliUID::SPassportAccount&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_ChangePassportLogin : public ::AliUID::AMD_IAliUidPsMgr_ChangePassportLogin, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_ChangePassportLogin(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_GetProfileByPassport : public ::AliUID::AMD_IAliUidPsMgr_GetProfileByPassport, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_GetProfileByPassport(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_UpdateProfileByPassport : public ::AliUID::AMD_IAliUidPsMgr_UpdateProfileByPassport, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_UpdateProfileByPassport(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_SetPassportPassword : public ::AliUID::AMD_IAliUidPsMgr_SetPassportPassword, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_SetPassportPassword(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_SetPassportStatus : public ::AliUID::AMD_IAliUidPsMgr_SetPassportStatus, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_SetPassportStatus(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_GetPassportStatus : public ::AliUID::AMD_IAliUidPsMgr_GetPassportStatus, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_GetPassportStatus(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Short, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_GetAllService : public ::AliUID::AMD_IAliUidPsMgr_GetAllService, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_GetAllService(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_BindService : public ::AliUID::AMD_IAliUidPsMgr_BindService, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_BindService(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_UnbindService : public ::AliUID::AMD_IAliUidPsMgr_UnbindService, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_UnbindService(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_GetWebUserService : public ::AliUID::AMD_IAliUidPsMgr_GetWebUserService, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_GetWebUserService(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::AliUID::SWebBindSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_AddWebsite : public ::AliUID::AMD_IAliUidPsMgr_AddWebsite, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_AddWebsite(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_DelWebsite : public ::AliUID::AMD_IAliUidPsMgr_DelWebsite, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_DelWebsite(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_ChgWebsite : public ::AliUID::AMD_IAliUidPsMgr_ChgWebsite, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_ChgWebsite(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_ChgWebsiteStatus : public ::AliUID::AMD_IAliUidPsMgr_ChgWebsiteStatus, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_ChgWebsiteStatus(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_DoAuth : public ::AliUID::AMD_IAliUidPsMgr_DoAuth, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_DoAuth(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -} - -} - -namespace IceProxy -{ - -namespace AliUID -{ - -class IAliUidPsMgr : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int RegisterPassport(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short status, ::std::string& aliuid) - { - return RegisterPassport(loginId, passwd, status, aliuid, 0); - } - ::Ice::Int RegisterPassport(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short status, ::std::string& aliuid, const ::Ice::Context& __ctx) - { - return RegisterPassport(loginId, passwd, status, aliuid, &__ctx); - } - -private: - - ::Ice::Int RegisterPassport(const ::std::string&, const ::std::string&, ::Ice::Short, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int AuthPassword(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short& userstatus) - { - return AuthPassword(loginId, passwd, userstatus, 0); - } - ::Ice::Int AuthPassword(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short& userstatus, const ::Ice::Context& __ctx) - { - return AuthPassword(loginId, passwd, userstatus, &__ctx); - } - -private: - - ::Ice::Int AuthPassword(const ::std::string&, const ::std::string&, ::Ice::Short&, const ::Ice::Context*); - -public: - - ::Ice::Int AuthToken(const ::std::string& loginId, const ::std::string& currToken, ::Ice::Long t, ::std::string& aliuid, ::Ice::Short& userstatus) - { - return AuthToken(loginId, currToken, t, aliuid, userstatus, 0); - } - ::Ice::Int AuthToken(const ::std::string& loginId, const ::std::string& currToken, ::Ice::Long t, ::std::string& aliuid, ::Ice::Short& userstatus, const ::Ice::Context& __ctx) - { - return AuthToken(loginId, currToken, t, aliuid, userstatus, &__ctx); - } - -private: - - ::Ice::Int AuthToken(const ::std::string&, const ::std::string&, ::Ice::Long, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - -public: - - ::Ice::Int GetAuidToken(const ::std::string& loginId, ::std::string& aliuid, ::std::string& auidToken, ::Ice::Short& userstatus) - { - return GetAuidToken(loginId, aliuid, auidToken, userstatus, 0); - } - ::Ice::Int GetAuidToken(const ::std::string& loginId, ::std::string& aliuid, ::std::string& auidToken, ::Ice::Short& userstatus, const ::Ice::Context& __ctx) - { - return GetAuidToken(loginId, aliuid, auidToken, userstatus, &__ctx); - } - -private: - - ::Ice::Int GetAuidToken(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - -public: - - ::Ice::Int GetAccountInfo(const ::std::string& loginId, ::AliUID::SPassportAccount& account) - { - return GetAccountInfo(loginId, account, 0); - } - ::Ice::Int GetAccountInfo(const ::std::string& loginId, ::AliUID::SPassportAccount& account, const ::Ice::Context& __ctx) - { - return GetAccountInfo(loginId, account, &__ctx); - } - -private: - - ::Ice::Int GetAccountInfo(const ::std::string&, ::AliUID::SPassportAccount&, const ::Ice::Context*); - -public: - - ::Ice::Int ChangePassportLogin(const ::std::string& loginId, const ::AliUID::SPassportAccount& account, ::Ice::Int action) - { - return ChangePassportLogin(loginId, account, action, 0); - } - ::Ice::Int ChangePassportLogin(const ::std::string& loginId, const ::AliUID::SPassportAccount& account, ::Ice::Int action, const ::Ice::Context& __ctx) - { - return ChangePassportLogin(loginId, account, action, &__ctx); - } - -private: - - ::Ice::Int ChangePassportLogin(const ::std::string&, const ::AliUID::SPassportAccount&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int GetProfileByPassport(const ::std::string& loginId, ::std::string& profile) - { - return GetProfileByPassport(loginId, profile, 0); - } - ::Ice::Int GetProfileByPassport(const ::std::string& loginId, ::std::string& profile, const ::Ice::Context& __ctx) - { - return GetProfileByPassport(loginId, profile, &__ctx); - } - -private: - - ::Ice::Int GetProfileByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateProfileByPassport(const ::std::string& loginId, const ::std::string& profile) - { - return UpdateProfileByPassport(loginId, profile, 0); - } - ::Ice::Int UpdateProfileByPassport(const ::std::string& loginId, const ::std::string& profile, const ::Ice::Context& __ctx) - { - return UpdateProfileByPassport(loginId, profile, &__ctx); - } - -private: - - ::Ice::Int UpdateProfileByPassport(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int SetPassportPassword(const ::std::string& loginId, const ::std::string& newPassword) - { - return SetPassportPassword(loginId, newPassword, 0); - } - ::Ice::Int SetPassportPassword(const ::std::string& loginId, const ::std::string& newPassword, const ::Ice::Context& __ctx) - { - return SetPassportPassword(loginId, newPassword, &__ctx); - } - -private: - - ::Ice::Int SetPassportPassword(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int SetPassportStatus(const ::std::string& loginId, ::Ice::Short userStatus, const ::std::string& userData) - { - return SetPassportStatus(loginId, userStatus, userData, 0); - } - ::Ice::Int SetPassportStatus(const ::std::string& loginId, ::Ice::Short userStatus, const ::std::string& userData, const ::Ice::Context& __ctx) - { - return SetPassportStatus(loginId, userStatus, userData, &__ctx); - } - -private: - - ::Ice::Int SetPassportStatus(const ::std::string&, ::Ice::Short, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetPassportStatus(const ::std::string& loginId, ::Ice::Short& userStatus, ::std::string& userData) - { - return GetPassportStatus(loginId, userStatus, userData, 0); - } - ::Ice::Int GetPassportStatus(const ::std::string& loginId, ::Ice::Short& userStatus, ::std::string& userData, const ::Ice::Context& __ctx) - { - return GetPassportStatus(loginId, userStatus, userData, &__ctx); - } - -private: - - ::Ice::Int GetPassportStatus(const ::std::string&, ::Ice::Short&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetAllService(::std::string& services) - { - return GetAllService(services, 0); - } - ::Ice::Int GetAllService(::std::string& services, const ::Ice::Context& __ctx) - { - return GetAllService(services, &__ctx); - } - -private: - - ::Ice::Int GetAllService(::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int BindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t) - { - return BindService(serviceId, webId, webUid, aliuid, currToken, t, 0); - } - ::Ice::Int BindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t, const ::Ice::Context& __ctx) - { - return BindService(serviceId, webId, webUid, aliuid, currToken, t, &__ctx); - } - -private: - - ::Ice::Int BindService(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long, const ::Ice::Context*); - -public: - - ::Ice::Int UnbindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& bindService, const ::std::string& loginId) - { - return UnbindService(serviceId, webId, webUid, bindService, loginId, 0); - } - ::Ice::Int UnbindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& bindService, const ::std::string& loginId, const ::Ice::Context& __ctx) - { - return UnbindService(serviceId, webId, webUid, bindService, loginId, &__ctx); - } - -private: - - ::Ice::Int UnbindService(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetWebUserService(const ::std::string& serviceId, const ::std::string& loginId, ::std::string& aliuid, ::std::string& token, ::AliUID::SWebBindSeq& webBinds) - { - return GetWebUserService(serviceId, loginId, aliuid, token, webBinds, 0); - } - ::Ice::Int GetWebUserService(const ::std::string& serviceId, const ::std::string& loginId, ::std::string& aliuid, ::std::string& token, ::AliUID::SWebBindSeq& webBinds, const ::Ice::Context& __ctx) - { - return GetWebUserService(serviceId, loginId, aliuid, token, webBinds, &__ctx); - } - -private: - - ::Ice::Int GetWebUserService(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::AliUID::SWebBindSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::AliUID::SUrlInfoSeq& webUrl) - { - return AddWebsite(serviceId, webId, name, webUrl, 0); - } - ::Ice::Int AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::AliUID::SUrlInfoSeq& webUrl, const ::Ice::Context& __ctx) - { - return AddWebsite(serviceId, webId, name, webUrl, &__ctx); - } - -private: - - ::Ice::Int AddWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::AliUID::SUrlInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DelWebsite(const ::std::string& serviceId, const ::std::string& webId) - { - return DelWebsite(serviceId, webId, 0); - } - ::Ice::Int DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context& __ctx) - { - return DelWebsite(serviceId, webId, &__ctx); - } - -private: - - ::Ice::Int DelWebsite(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::AliUID::SUrlInfoSeq& webUrl) - { - return ChgWebsite(serviceId, webId, name, webUrl, 0); - } - ::Ice::Int ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::AliUID::SUrlInfoSeq& webUrl, const ::Ice::Context& __ctx) - { - return ChgWebsite(serviceId, webId, name, webUrl, &__ctx); - } - -private: - - ::Ice::Int ChgWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::AliUID::SUrlInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status) - { - return ChgWebsiteStatus(serviceId, webId, status, 0); - } - ::Ice::Int ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context& __ctx) - { - return ChgWebsiteStatus(serviceId, webId, status, &__ctx); - } - -private: - - ::Ice::Int ChgWebsiteStatus(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DoAuth(const ::std::string& serviceId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, ::Ice::Int mode, ::std::string& buid) - { - return DoAuth(serviceId, aliuid, token, t, mode, buid, 0); - } - ::Ice::Int DoAuth(const ::std::string& serviceId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, ::Ice::Int mode, ::std::string& buid, const ::Ice::Context& __ctx) - { - return DoAuth(serviceId, aliuid, token, t, mode, buid, &__ctx); - } - -private: - - ::Ice::Int DoAuth(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliUID -{ - -class IAliUidPsMgr : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int RegisterPassport(const ::std::string&, const ::std::string&, ::Ice::Short, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AuthPassword(const ::std::string&, const ::std::string&, ::Ice::Short&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AuthToken(const ::std::string&, const ::std::string&, ::Ice::Long, ::std::string&, ::Ice::Short&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAuidToken(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAccountInfo(const ::std::string&, ::AliUID::SPassportAccount&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ChangePassportLogin(const ::std::string&, const ::AliUID::SPassportAccount&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetProfileByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateProfileByPassport(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int SetPassportPassword(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int SetPassportStatus(const ::std::string&, ::Ice::Short, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetPassportStatus(const ::std::string&, ::Ice::Short&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAllService(::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int BindService(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UnbindService(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetWebUserService(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::AliUID::SWebBindSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::AliUID::SUrlInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelWebsite(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ChgWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::AliUID::SUrlInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ChgWebsiteStatus(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DoAuth(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliUID -{ - -class IAliUidPsMgr : virtual public ::IceDelegate::AliUID::IAliUidPsMgr, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int RegisterPassport(const ::std::string&, const ::std::string&, ::Ice::Short, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AuthPassword(const ::std::string&, const ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int AuthToken(const ::std::string&, const ::std::string&, ::Ice::Long, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int GetAuidToken(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int GetAccountInfo(const ::std::string&, ::AliUID::SPassportAccount&, const ::Ice::Context*); - - virtual ::Ice::Int ChangePassportLogin(const ::std::string&, const ::AliUID::SPassportAccount&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetProfileByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateProfileByPassport(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int SetPassportPassword(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int SetPassportStatus(const ::std::string&, ::Ice::Short, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetPassportStatus(const ::std::string&, ::Ice::Short&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllService(::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int BindService(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int UnbindService(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetWebUserService(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::AliUID::SWebBindSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::AliUID::SUrlInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DelWebsite(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ChgWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::AliUID::SUrlInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int ChgWebsiteStatus(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DoAuth(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliUID -{ - -class IAliUidPsMgr : virtual public ::IceDelegate::AliUID::IAliUidPsMgr, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int RegisterPassport(const ::std::string&, const ::std::string&, ::Ice::Short, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AuthPassword(const ::std::string&, const ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int AuthToken(const ::std::string&, const ::std::string&, ::Ice::Long, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int GetAuidToken(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int GetAccountInfo(const ::std::string&, ::AliUID::SPassportAccount&, const ::Ice::Context*); - - virtual ::Ice::Int ChangePassportLogin(const ::std::string&, const ::AliUID::SPassportAccount&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetProfileByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateProfileByPassport(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int SetPassportPassword(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int SetPassportStatus(const ::std::string&, ::Ice::Short, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetPassportStatus(const ::std::string&, ::Ice::Short&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllService(::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int BindService(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int UnbindService(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetWebUserService(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::AliUID::SWebBindSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::AliUID::SUrlInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DelWebsite(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ChgWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::AliUID::SUrlInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int ChgWebsiteStatus(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DoAuth(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace AliUID -{ - -class IAliUidPsMgr : virtual public ::Ice::Object -{ -public: - - typedef IAliUidPsMgrPrx ProxyType; - typedef IAliUidPsMgrPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual void RegisterPassport_async(const ::AliUID::AMD_IAliUidPsMgr_RegisterPassportPtr&, const ::std::string&, const ::std::string&, ::Ice::Short, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RegisterPassport(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AuthPassword_async(const ::AliUID::AMD_IAliUidPsMgr_AuthPasswordPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AuthPassword(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AuthToken_async(const ::AliUID::AMD_IAliUidPsMgr_AuthTokenPtr&, const ::std::string&, const ::std::string&, ::Ice::Long, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AuthToken(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetAuidToken_async(const ::AliUID::AMD_IAliUidPsMgr_GetAuidTokenPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAuidToken(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetAccountInfo_async(const ::AliUID::AMD_IAliUidPsMgr_GetAccountInfoPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAccountInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void ChangePassportLogin_async(const ::AliUID::AMD_IAliUidPsMgr_ChangePassportLoginPtr&, const ::std::string&, const ::AliUID::SPassportAccount&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ChangePassportLogin(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetProfileByPassport_async(const ::AliUID::AMD_IAliUidPsMgr_GetProfileByPassportPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetProfileByPassport(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateProfileByPassport_async(const ::AliUID::AMD_IAliUidPsMgr_UpdateProfileByPassportPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateProfileByPassport(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void SetPassportPassword_async(const ::AliUID::AMD_IAliUidPsMgr_SetPassportPasswordPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___SetPassportPassword(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void SetPassportStatus_async(const ::AliUID::AMD_IAliUidPsMgr_SetPassportStatusPtr&, const ::std::string&, ::Ice::Short, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___SetPassportStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetPassportStatus_async(const ::AliUID::AMD_IAliUidPsMgr_GetPassportStatusPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetPassportStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetAllService_async(const ::AliUID::AMD_IAliUidPsMgr_GetAllServicePtr&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAllService(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void BindService_async(const ::AliUID::AMD_IAliUidPsMgr_BindServicePtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___BindService(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UnbindService_async(const ::AliUID::AMD_IAliUidPsMgr_UnbindServicePtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UnbindService(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetWebUserService_async(const ::AliUID::AMD_IAliUidPsMgr_GetWebUserServicePtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetWebUserService(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddWebsite_async(const ::AliUID::AMD_IAliUidPsMgr_AddWebsitePtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::AliUID::SUrlInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddWebsite(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void DelWebsite_async(const ::AliUID::AMD_IAliUidPsMgr_DelWebsitePtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelWebsite(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void ChgWebsite_async(const ::AliUID::AMD_IAliUidPsMgr_ChgWebsitePtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::AliUID::SUrlInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ChgWebsite(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void ChgWebsiteStatus_async(const ::AliUID::AMD_IAliUidPsMgr_ChgWebsiteStatusPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ChgWebsiteStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void DoAuth_async(const ::AliUID::AMD_IAliUidPsMgr_DoAuthPtr&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DoAuth(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IAliUidPsMgrPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/aliuidpsserv_sync.h.svn-base b/features/aliww/include/.svn/text-base/aliuidpsserv_sync.h.svn-base deleted file mode 100644 index e247985..0000000 --- a/features/aliww/include/.svn/text-base/aliuidpsserv_sync.h.svn-base +++ /dev/null @@ -1,614 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aliuidpsserv_sync.ice' - -#ifndef __aliuidpsserv_sync_h__ -#define __aliuidpsserv_sync_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliUID -{ - -class IAliUidPsMgrSync; -bool operator==(const IAliUidPsMgrSync&, const IAliUidPsMgrSync&); -bool operator!=(const IAliUidPsMgrSync&, const IAliUidPsMgrSync&); -bool operator<(const IAliUidPsMgrSync&, const IAliUidPsMgrSync&); -bool operator<=(const IAliUidPsMgrSync&, const IAliUidPsMgrSync&); -bool operator>(const IAliUidPsMgrSync&, const IAliUidPsMgrSync&); -bool operator>=(const IAliUidPsMgrSync&, const IAliUidPsMgrSync&); - -} - -} - -namespace AliUID -{ - -class IAliUidPsMgrSync; -bool operator==(const IAliUidPsMgrSync&, const IAliUidPsMgrSync&); -bool operator!=(const IAliUidPsMgrSync&, const IAliUidPsMgrSync&); -bool operator<(const IAliUidPsMgrSync&, const IAliUidPsMgrSync&); -bool operator<=(const IAliUidPsMgrSync&, const IAliUidPsMgrSync&); -bool operator>(const IAliUidPsMgrSync&, const IAliUidPsMgrSync&); -bool operator>=(const IAliUidPsMgrSync&, const IAliUidPsMgrSync&); - -} - -namespace IceInternal -{ - -void incRef(::AliUID::IAliUidPsMgrSync*); -void decRef(::AliUID::IAliUidPsMgrSync*); - -void incRef(::IceProxy::AliUID::IAliUidPsMgrSync*); -void decRef(::IceProxy::AliUID::IAliUidPsMgrSync*); - -} - -namespace AliUID -{ - -typedef ::IceInternal::Handle< ::AliUID::IAliUidPsMgrSync> IAliUidPsMgrSyncPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliUID::IAliUidPsMgrSync> IAliUidPsMgrSyncPrx; - -void __write(::IceInternal::BasicStream*, const IAliUidPsMgrSyncPrx&); -void __read(::IceInternal::BasicStream*, IAliUidPsMgrSyncPrx&); -void __write(::IceInternal::BasicStream*, const IAliUidPsMgrSyncPtr&); -void __patch__IAliUidPsMgrSyncPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IAliUidPsMgrSyncPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IAliUidPsMgrSyncPtr&); -void __decRefUnsafe(const IAliUidPsMgrSyncPtr&); -void __clearHandleUnsafe(IAliUidPsMgrSyncPtr&); - -} - -namespace AliUID -{ - -} - -namespace IceProxy -{ - -namespace AliUID -{ - -class IAliUidPsMgrSync : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int RegisterPassport(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short status, ::std::string& aliuid) - { - return RegisterPassport(loginId, passwd, status, aliuid, 0); - } - ::Ice::Int RegisterPassport(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short status, ::std::string& aliuid, const ::Ice::Context& __ctx) - { - return RegisterPassport(loginId, passwd, status, aliuid, &__ctx); - } - -private: - - ::Ice::Int RegisterPassport(const ::std::string&, const ::std::string&, ::Ice::Short, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int AuthPassword(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short& userstatus) - { - return AuthPassword(loginId, passwd, userstatus, 0); - } - ::Ice::Int AuthPassword(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short& userstatus, const ::Ice::Context& __ctx) - { - return AuthPassword(loginId, passwd, userstatus, &__ctx); - } - -private: - - ::Ice::Int AuthPassword(const ::std::string&, const ::std::string&, ::Ice::Short&, const ::Ice::Context*); - -public: - - ::Ice::Int AuthToken(const ::std::string& loginId, const ::std::string& currToken, ::Ice::Long t, ::std::string& aliuid, ::Ice::Short& userstatus) - { - return AuthToken(loginId, currToken, t, aliuid, userstatus, 0); - } - ::Ice::Int AuthToken(const ::std::string& loginId, const ::std::string& currToken, ::Ice::Long t, ::std::string& aliuid, ::Ice::Short& userstatus, const ::Ice::Context& __ctx) - { - return AuthToken(loginId, currToken, t, aliuid, userstatus, &__ctx); - } - -private: - - ::Ice::Int AuthToken(const ::std::string&, const ::std::string&, ::Ice::Long, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - -public: - - ::Ice::Int GetAuidToken(const ::std::string& loginId, ::std::string& aliuid, ::std::string& auidToken, ::Ice::Short& userstatus) - { - return GetAuidToken(loginId, aliuid, auidToken, userstatus, 0); - } - ::Ice::Int GetAuidToken(const ::std::string& loginId, ::std::string& aliuid, ::std::string& auidToken, ::Ice::Short& userstatus, const ::Ice::Context& __ctx) - { - return GetAuidToken(loginId, aliuid, auidToken, userstatus, &__ctx); - } - -private: - - ::Ice::Int GetAuidToken(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - -public: - - ::Ice::Int GetAccountInfo(const ::std::string& loginId, ::AliUID::SPassportAccount& account) - { - return GetAccountInfo(loginId, account, 0); - } - ::Ice::Int GetAccountInfo(const ::std::string& loginId, ::AliUID::SPassportAccount& account, const ::Ice::Context& __ctx) - { - return GetAccountInfo(loginId, account, &__ctx); - } - -private: - - ::Ice::Int GetAccountInfo(const ::std::string&, ::AliUID::SPassportAccount&, const ::Ice::Context*); - -public: - - ::Ice::Int ChangePassportLogin(const ::std::string& loginId, const ::AliUID::SPassportAccount& account, ::Ice::Int action) - { - return ChangePassportLogin(loginId, account, action, 0); - } - ::Ice::Int ChangePassportLogin(const ::std::string& loginId, const ::AliUID::SPassportAccount& account, ::Ice::Int action, const ::Ice::Context& __ctx) - { - return ChangePassportLogin(loginId, account, action, &__ctx); - } - -private: - - ::Ice::Int ChangePassportLogin(const ::std::string&, const ::AliUID::SPassportAccount&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int GetProfileByPassport(const ::std::string& loginId, ::std::string& profile) - { - return GetProfileByPassport(loginId, profile, 0); - } - ::Ice::Int GetProfileByPassport(const ::std::string& loginId, ::std::string& profile, const ::Ice::Context& __ctx) - { - return GetProfileByPassport(loginId, profile, &__ctx); - } - -private: - - ::Ice::Int GetProfileByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateProfileByPassport(const ::std::string& loginId, const ::std::string& profile) - { - return UpdateProfileByPassport(loginId, profile, 0); - } - ::Ice::Int UpdateProfileByPassport(const ::std::string& loginId, const ::std::string& profile, const ::Ice::Context& __ctx) - { - return UpdateProfileByPassport(loginId, profile, &__ctx); - } - -private: - - ::Ice::Int UpdateProfileByPassport(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int SetPassportPassword(const ::std::string& loginId, const ::std::string& newPassword) - { - return SetPassportPassword(loginId, newPassword, 0); - } - ::Ice::Int SetPassportPassword(const ::std::string& loginId, const ::std::string& newPassword, const ::Ice::Context& __ctx) - { - return SetPassportPassword(loginId, newPassword, &__ctx); - } - -private: - - ::Ice::Int SetPassportPassword(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int SetPassportStatus(const ::std::string& loginId, ::Ice::Short userStatus, const ::std::string& userData) - { - return SetPassportStatus(loginId, userStatus, userData, 0); - } - ::Ice::Int SetPassportStatus(const ::std::string& loginId, ::Ice::Short userStatus, const ::std::string& userData, const ::Ice::Context& __ctx) - { - return SetPassportStatus(loginId, userStatus, userData, &__ctx); - } - -private: - - ::Ice::Int SetPassportStatus(const ::std::string&, ::Ice::Short, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetPassportStatus(const ::std::string& loginId, ::Ice::Short& userStatus, ::std::string& userData) - { - return GetPassportStatus(loginId, userStatus, userData, 0); - } - ::Ice::Int GetPassportStatus(const ::std::string& loginId, ::Ice::Short& userStatus, ::std::string& userData, const ::Ice::Context& __ctx) - { - return GetPassportStatus(loginId, userStatus, userData, &__ctx); - } - -private: - - ::Ice::Int GetPassportStatus(const ::std::string&, ::Ice::Short&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetAllService(::std::string& services) - { - return GetAllService(services, 0); - } - ::Ice::Int GetAllService(::std::string& services, const ::Ice::Context& __ctx) - { - return GetAllService(services, &__ctx); - } - -private: - - ::Ice::Int GetAllService(::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetWebUserService(const ::std::string& serviceId, const ::std::string& loginId, ::std::string& aliuid, ::std::string& token, ::AliUID::SWebBindSeq& webBinds) - { - return GetWebUserService(serviceId, loginId, aliuid, token, webBinds, 0); - } - ::Ice::Int GetWebUserService(const ::std::string& serviceId, const ::std::string& loginId, ::std::string& aliuid, ::std::string& token, ::AliUID::SWebBindSeq& webBinds, const ::Ice::Context& __ctx) - { - return GetWebUserService(serviceId, loginId, aliuid, token, webBinds, &__ctx); - } - -private: - - ::Ice::Int GetWebUserService(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::AliUID::SWebBindSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::std::string& baseUrl, const ::std::string& trustUrl) - { - return AddWebsite(serviceId, webId, name, baseUrl, trustUrl, 0); - } - ::Ice::Int AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::std::string& baseUrl, const ::std::string& trustUrl, const ::Ice::Context& __ctx) - { - return AddWebsite(serviceId, webId, name, baseUrl, trustUrl, &__ctx); - } - -private: - - ::Ice::Int AddWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DelWebsite(const ::std::string& serviceId, const ::std::string& webId) - { - return DelWebsite(serviceId, webId, 0); - } - ::Ice::Int DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context& __ctx) - { - return DelWebsite(serviceId, webId, &__ctx); - } - -private: - - ::Ice::Int DelWebsite(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::std::string& baseUrl, const ::std::string& trustUrl) - { - return ChgWebsite(serviceId, webId, name, baseUrl, trustUrl, 0); - } - ::Ice::Int ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::std::string& baseUrl, const ::std::string& trustUrl, const ::Ice::Context& __ctx) - { - return ChgWebsite(serviceId, webId, name, baseUrl, trustUrl, &__ctx); - } - -private: - - ::Ice::Int ChgWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status) - { - return ChgWebsiteStatus(serviceId, webId, status, 0); - } - ::Ice::Int ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context& __ctx) - { - return ChgWebsiteStatus(serviceId, webId, status, &__ctx); - } - -private: - - ::Ice::Int ChgWebsiteStatus(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliUID -{ - -class IAliUidPsMgrSync : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int RegisterPassport(const ::std::string&, const ::std::string&, ::Ice::Short, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AuthPassword(const ::std::string&, const ::std::string&, ::Ice::Short&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AuthToken(const ::std::string&, const ::std::string&, ::Ice::Long, ::std::string&, ::Ice::Short&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAuidToken(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAccountInfo(const ::std::string&, ::AliUID::SPassportAccount&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ChangePassportLogin(const ::std::string&, const ::AliUID::SPassportAccount&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetProfileByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateProfileByPassport(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int SetPassportPassword(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int SetPassportStatus(const ::std::string&, ::Ice::Short, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetPassportStatus(const ::std::string&, ::Ice::Short&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAllService(::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetWebUserService(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::AliUID::SWebBindSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelWebsite(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ChgWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ChgWebsiteStatus(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliUID -{ - -class IAliUidPsMgrSync : virtual public ::IceDelegate::AliUID::IAliUidPsMgrSync, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int RegisterPassport(const ::std::string&, const ::std::string&, ::Ice::Short, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AuthPassword(const ::std::string&, const ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int AuthToken(const ::std::string&, const ::std::string&, ::Ice::Long, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int GetAuidToken(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int GetAccountInfo(const ::std::string&, ::AliUID::SPassportAccount&, const ::Ice::Context*); - - virtual ::Ice::Int ChangePassportLogin(const ::std::string&, const ::AliUID::SPassportAccount&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetProfileByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateProfileByPassport(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int SetPassportPassword(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int SetPassportStatus(const ::std::string&, ::Ice::Short, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetPassportStatus(const ::std::string&, ::Ice::Short&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllService(::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetWebUserService(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::AliUID::SWebBindSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DelWebsite(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ChgWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ChgWebsiteStatus(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliUID -{ - -class IAliUidPsMgrSync : virtual public ::IceDelegate::AliUID::IAliUidPsMgrSync, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int RegisterPassport(const ::std::string&, const ::std::string&, ::Ice::Short, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AuthPassword(const ::std::string&, const ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int AuthToken(const ::std::string&, const ::std::string&, ::Ice::Long, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int GetAuidToken(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int GetAccountInfo(const ::std::string&, ::AliUID::SPassportAccount&, const ::Ice::Context*); - - virtual ::Ice::Int ChangePassportLogin(const ::std::string&, const ::AliUID::SPassportAccount&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetProfileByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateProfileByPassport(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int SetPassportPassword(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int SetPassportStatus(const ::std::string&, ::Ice::Short, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetPassportStatus(const ::std::string&, ::Ice::Short&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllService(::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetWebUserService(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::AliUID::SWebBindSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DelWebsite(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ChgWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ChgWebsiteStatus(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace AliUID -{ - -class IAliUidPsMgrSync : virtual public ::Ice::Object -{ -public: - - typedef IAliUidPsMgrSyncPrx ProxyType; - typedef IAliUidPsMgrSyncPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int RegisterPassport(const ::std::string&, const ::std::string&, ::Ice::Short, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RegisterPassport(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AuthPassword(const ::std::string&, const ::std::string&, ::Ice::Short&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AuthPassword(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AuthToken(const ::std::string&, const ::std::string&, ::Ice::Long, ::std::string&, ::Ice::Short&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AuthToken(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetAuidToken(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAuidToken(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetAccountInfo(const ::std::string&, ::AliUID::SPassportAccount&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAccountInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int ChangePassportLogin(const ::std::string&, const ::AliUID::SPassportAccount&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ChangePassportLogin(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetProfileByPassport(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetProfileByPassport(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateProfileByPassport(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateProfileByPassport(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int SetPassportPassword(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___SetPassportPassword(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int SetPassportStatus(const ::std::string&, ::Ice::Short, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___SetPassportStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetPassportStatus(const ::std::string&, ::Ice::Short&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetPassportStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetAllService(::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAllService(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetWebUserService(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::AliUID::SWebBindSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetWebUserService(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddWebsite(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DelWebsite(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelWebsite(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int ChgWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ChgWebsite(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int ChgWebsiteStatus(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ChgWebsiteStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IAliUidPsMgrSyncPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/aliuidstruct.h.svn-base b/features/aliww/include/.svn/text-base/aliuidstruct.h.svn-base deleted file mode 100644 index 941ef0b..0000000 --- a/features/aliww/include/.svn/text-base/aliuidstruct.h.svn-base +++ /dev/null @@ -1,199 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aliuidstruct.ice' - -#ifndef __aliuidstruct_h__ -#define __aliuidstruct_h__ - -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace AliUID -{ - -struct SMobileUserInfo -{ - ::std::string aliuid; - ::std::string mobileNo; - ::std::string mkey1; - ::std::string mkey2; - ::std::string clientKey; - ::std::string wkey1; - ::std::string wkey2; - ::std::string token; - ::Ice::StringSeq authServices; - - bool operator==(const SMobileUserInfo&) const; - bool operator!=(const SMobileUserInfo&) const; - bool operator<(const SMobileUserInfo&) const; - bool operator<=(const SMobileUserInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SMobileUserInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SMobileUserInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SServiceUser -{ - ::std::string serviceId; - ::std::string buid; - ::std::string buToken; - ::Ice::Short status; - - bool operator==(const SServiceUser&) const; - bool operator!=(const SServiceUser&) const; - bool operator<(const SServiceUser&) const; - bool operator<=(const SServiceUser& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SServiceUser& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SServiceUser& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliUID::SServiceUser> SServiceUserSeq; - -class __U__SServiceUserSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliUID::SServiceUser*, const ::AliUID::SServiceUser*, __U__SServiceUserSeq); -void __read(::IceInternal::BasicStream*, SServiceUserSeq&, __U__SServiceUserSeq); - -struct SPassportAccount -{ - ::std::string aliuid; - ::std::string email; - ::std::string mobile; - ::AliUID::SServiceUserSeq buids; - - bool operator==(const SPassportAccount&) const; - bool operator!=(const SPassportAccount&) const; - bool operator<(const SPassportAccount&) const; - bool operator<=(const SPassportAccount& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SPassportAccount& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SPassportAccount& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SUrlInfo -{ - ::std::string baseUrl; - ::std::string trustUrl; - - bool operator==(const SUrlInfo&) const; - bool operator!=(const SUrlInfo&) const; - bool operator<(const SUrlInfo&) const; - bool operator<=(const SUrlInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SUrlInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SUrlInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliUID::SUrlInfo> SUrlInfoSeq; - -class __U__SUrlInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliUID::SUrlInfo*, const ::AliUID::SUrlInfo*, __U__SUrlInfoSeq); -void __read(::IceInternal::BasicStream*, SUrlInfoSeq&, __U__SUrlInfoSeq); - -struct SWebBind -{ - ::std::string serviceId; - ::std::string siteId; - ::std::string webId; - ::std::string webUid; - ::Ice::StringSeq webUrl; - - bool operator==(const SWebBind&) const; - bool operator!=(const SWebBind&) const; - bool operator<(const SWebBind&) const; - bool operator<=(const SWebBind& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SWebBind& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SWebBind& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliUID::SWebBind> SWebBindSeq; - -class __U__SWebBindSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliUID::SWebBind*, const ::AliUID::SWebBind*, __U__SWebBindSeq); -void __read(::IceInternal::BasicStream*, SWebBindSeq&, __U__SWebBindSeq); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/aliww.h.svn-base b/features/aliww/include/.svn/text-base/aliww.h.svn-base deleted file mode 100644 index f67fda3..0000000 --- a/features/aliww/include/.svn/text-base/aliww.h.svn-base +++ /dev/null @@ -1,33 +0,0 @@ -/* * ===================================================================================== - * - * Filename: aliww.h - * - * Dealiwwion: - * - * Version: 1.0 - * Created: 2011å¹´01月07æ—¥ 15æ—¶44分43秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ - -#ifndef __ALIWW__H_ -#define __ALIWW__H_ - -#include "cbenchmark.h" -#include "paramutil.h" -#include "tpfs_perf_test.h" -#include "aas_perf_test.h" -#include "ims_perf_test.h" -#include "mos_perf_test.h" -#include "dbs_perf_test.h" -#include "ddbadmin_perf_test.h" -#include "uss_perf_test.h" -#include "ims_mos_perf_test.h" - -extern "C" void* initialize(void *p); -#endif diff --git a/features/aliww/include/.svn/text-base/aliyun.h.svn-base b/features/aliww/include/.svn/text-base/aliyun.h.svn-base deleted file mode 100644 index e8a87e4..0000000 --- a/features/aliww/include/.svn/text-base/aliyun.h.svn-base +++ /dev/null @@ -1,502 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aliyun.ice' - -#ifndef __aliyun_h__ -#define __aliyun_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliYun -{ - -class accountInterface; -bool operator==(const accountInterface&, const accountInterface&); -bool operator!=(const accountInterface&, const accountInterface&); -bool operator<(const accountInterface&, const accountInterface&); -bool operator<=(const accountInterface&, const accountInterface&); -bool operator>(const accountInterface&, const accountInterface&); -bool operator>=(const accountInterface&, const accountInterface&); - -} - -} - -namespace AliYun -{ - -class accountInterface; -bool operator==(const accountInterface&, const accountInterface&); -bool operator!=(const accountInterface&, const accountInterface&); -bool operator<(const accountInterface&, const accountInterface&); -bool operator<=(const accountInterface&, const accountInterface&); -bool operator>(const accountInterface&, const accountInterface&); -bool operator>=(const accountInterface&, const accountInterface&); - -} - -namespace IceInternal -{ - -void incRef(::AliYun::accountInterface*); -void decRef(::AliYun::accountInterface*); - -void incRef(::IceProxy::AliYun::accountInterface*); -void decRef(::IceProxy::AliYun::accountInterface*); - -} - -namespace AliYun -{ - -typedef ::IceInternal::Handle< ::AliYun::accountInterface> accountInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliYun::accountInterface> accountInterfacePrx; - -void __write(::IceInternal::BasicStream*, const accountInterfacePrx&); -void __read(::IceInternal::BasicStream*, accountInterfacePrx&); -void __write(::IceInternal::BasicStream*, const accountInterfacePtr&); -void __patch__accountInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const accountInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const accountInterfacePtr&); -void __decRefUnsafe(const accountInterfacePtr&); -void __clearHandleUnsafe(accountInterfacePtr&); - -} - -namespace AliYun -{ - -typedef ::std::map< ::std::string, ::std::string> KVMap; - -class __U__KVMap { }; -void __write(::IceInternal::BasicStream*, const KVMap&, __U__KVMap); -void __read(::IceInternal::BasicStream*, KVMap&, __U__KVMap); - -struct callerInfo -{ - ::std::string callId; - ::std::string passwd; - ::Ice::Int version; - ::std::string encode; - - bool operator==(const callerInfo&) const; - bool operator!=(const callerInfo&) const; - bool operator<(const callerInfo&) const; - bool operator<=(const callerInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const callerInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const callerInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -} - -namespace IceProxy -{ - -namespace AliYun -{ - -class accountInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int registerMember(const ::AliYun::callerInfo& caller, const ::std::string& email, const ::std::string& mobileNo, const ::std::string& passwd, ::std::string& udbUserId) - { - return registerMember(caller, email, mobileNo, passwd, udbUserId, 0); - } - ::Ice::Int registerMember(const ::AliYun::callerInfo& caller, const ::std::string& email, const ::std::string& mobileNo, const ::std::string& passwd, ::std::string& udbUserId, const ::Ice::Context& __ctx) - { - return registerMember(caller, email, mobileNo, passwd, udbUserId, &__ctx); - } - -private: - - ::Ice::Int registerMember(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int checkExist(const ::AliYun::callerInfo& caller, const ::std::string& email, const ::std::string& mobileNo) - { - return checkExist(caller, email, mobileNo, 0); - } - ::Ice::Int checkExist(const ::AliYun::callerInfo& caller, const ::std::string& email, const ::std::string& mobileNo, const ::Ice::Context& __ctx) - { - return checkExist(caller, email, mobileNo, &__ctx); - } - -private: - - ::Ice::Int checkExist(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int chgLoginMail(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& email) - { - return chgLoginMail(caller, loginId, email, 0); - } - ::Ice::Int chgLoginMail(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& email, const ::Ice::Context& __ctx) - { - return chgLoginMail(caller, loginId, email, &__ctx); - } - -private: - - ::Ice::Int chgLoginMail(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int chgLoginMobile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& mobileNo) - { - return chgLoginMobile(caller, loginId, mobileNo, 0); - } - ::Ice::Int chgLoginMobile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& mobileNo, const ::Ice::Context& __ctx) - { - return chgLoginMobile(caller, loginId, mobileNo, &__ctx); - } - -private: - - ::Ice::Int chgLoginMobile(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int removeUser(const ::AliYun::callerInfo& caller, const ::std::string& loginId) - { - return removeUser(caller, loginId, 0); - } - ::Ice::Int removeUser(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::Ice::Context& __ctx) - { - return removeUser(caller, loginId, &__ctx); - } - -private: - - ::Ice::Int removeUser(const ::AliYun::callerInfo&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int checkUser(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& passwd) - { - return checkUser(caller, loginId, passwd, 0); - } - ::Ice::Int checkUser(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& passwd, const ::Ice::Context& __ctx) - { - return checkUser(caller, loginId, passwd, &__ctx); - } - -private: - - ::Ice::Int checkUser(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserProfile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::AliYun::KVMap& userProfile) - { - return getUserProfile(caller, loginId, userProfile, 0); - } - ::Ice::Int getUserProfile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::AliYun::KVMap& userProfile, const ::Ice::Context& __ctx) - { - return getUserProfile(caller, loginId, userProfile, &__ctx); - } - -private: - - ::Ice::Int getUserProfile(const ::AliYun::callerInfo&, const ::std::string&, ::AliYun::KVMap&, const ::Ice::Context*); - -public: - - ::Ice::Int setUserProfile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::AliYun::KVMap& userProfile) - { - return setUserProfile(caller, loginId, userProfile, 0); - } - ::Ice::Int setUserProfile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::AliYun::KVMap& userProfile, const ::Ice::Context& __ctx) - { - return setUserProfile(caller, loginId, userProfile, &__ctx); - } - -private: - - ::Ice::Int setUserProfile(const ::AliYun::callerInfo&, const ::std::string&, const ::AliYun::KVMap&, const ::Ice::Context*); - -public: - - ::Ice::Int setUserPasswd(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& passwd) - { - return setUserPasswd(caller, loginId, passwd, 0); - } - ::Ice::Int setUserPasswd(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& passwd, const ::Ice::Context& __ctx) - { - return setUserPasswd(caller, loginId, passwd, &__ctx); - } - -private: - - ::Ice::Int setUserPasswd(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int setUserStatus(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::Ice::Int status) - { - return setUserStatus(caller, loginId, status, 0); - } - ::Ice::Int setUserStatus(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::Ice::Int status, const ::Ice::Context& __ctx) - { - return setUserStatus(caller, loginId, status, &__ctx); - } - -private: - - ::Ice::Int setUserStatus(const ::AliYun::callerInfo&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int GetLoginInfo(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::std::string& passwd, ::Ice::Int& status, ::std::string& userdata) - { - return GetLoginInfo(caller, loginId, passwd, status, userdata, 0); - } - ::Ice::Int GetLoginInfo(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::std::string& passwd, ::Ice::Int& status, ::std::string& userdata, const ::Ice::Context& __ctx) - { - return GetLoginInfo(caller, loginId, passwd, status, userdata, &__ctx); - } - -private: - - ::Ice::Int GetLoginInfo(const ::AliYun::callerInfo&, const ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliYun -{ - -class accountInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int registerMember(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkExist(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int chgLoginMail(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int chgLoginMobile(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int removeUser(const ::AliYun::callerInfo&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkUser(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserProfile(const ::AliYun::callerInfo&, const ::std::string&, ::AliYun::KVMap&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setUserProfile(const ::AliYun::callerInfo&, const ::std::string&, const ::AliYun::KVMap&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setUserPasswd(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setUserStatus(const ::AliYun::callerInfo&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetLoginInfo(const ::AliYun::callerInfo&, const ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliYun -{ - -class accountInterface : virtual public ::IceDelegate::AliYun::accountInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int registerMember(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int checkExist(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int chgLoginMail(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int chgLoginMobile(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int removeUser(const ::AliYun::callerInfo&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int checkUser(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfile(const ::AliYun::callerInfo&, const ::std::string&, ::AliYun::KVMap&, const ::Ice::Context*); - - virtual ::Ice::Int setUserProfile(const ::AliYun::callerInfo&, const ::std::string&, const ::AliYun::KVMap&, const ::Ice::Context*); - - virtual ::Ice::Int setUserPasswd(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setUserStatus(const ::AliYun::callerInfo&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetLoginInfo(const ::AliYun::callerInfo&, const ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliYun -{ - -class accountInterface : virtual public ::IceDelegate::AliYun::accountInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int registerMember(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int checkExist(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int chgLoginMail(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int chgLoginMobile(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int removeUser(const ::AliYun::callerInfo&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int checkUser(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfile(const ::AliYun::callerInfo&, const ::std::string&, ::AliYun::KVMap&, const ::Ice::Context*); - - virtual ::Ice::Int setUserProfile(const ::AliYun::callerInfo&, const ::std::string&, const ::AliYun::KVMap&, const ::Ice::Context*); - - virtual ::Ice::Int setUserPasswd(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setUserStatus(const ::AliYun::callerInfo&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetLoginInfo(const ::AliYun::callerInfo&, const ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace AliYun -{ - -class accountInterface : virtual public ::Ice::Object -{ -public: - - typedef accountInterfacePrx ProxyType; - typedef accountInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int registerMember(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___registerMember(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int checkExist(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkExist(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int chgLoginMail(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___chgLoginMail(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int chgLoginMobile(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___chgLoginMobile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int removeUser(const ::AliYun::callerInfo&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___removeUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int checkUser(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserProfile(const ::AliYun::callerInfo&, const ::std::string&, ::AliYun::KVMap&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setUserProfile(const ::AliYun::callerInfo&, const ::std::string&, const ::AliYun::KVMap&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setUserPasswd(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setUserPasswd(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setUserStatus(const ::AliYun::callerInfo&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setUserStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetLoginInfo(const ::AliYun::callerInfo&, const ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetLoginInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__accountInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/alliWebMember.h.svn-base b/features/aliww/include/.svn/text-base/alliWebMember.h.svn-base deleted file mode 100644 index ce418f7..0000000 --- a/features/aliww/include/.svn/text-base/alliWebMember.h.svn-base +++ /dev/null @@ -1,320 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `alliWebMember.ice' - -#ifndef __alliWebMember_h__ -#define __alliWebMember_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace alliWebMember -{ - -class UserProfile; -bool operator==(const UserProfile&, const UserProfile&); -bool operator!=(const UserProfile&, const UserProfile&); -bool operator<(const UserProfile&, const UserProfile&); -bool operator<=(const UserProfile&, const UserProfile&); -bool operator>(const UserProfile&, const UserProfile&); -bool operator>=(const UserProfile&, const UserProfile&); - -} - -} - -namespace alliWebMember -{ - -class UserProfile; -bool operator==(const UserProfile&, const UserProfile&); -bool operator!=(const UserProfile&, const UserProfile&); -bool operator<(const UserProfile&, const UserProfile&); -bool operator<=(const UserProfile&, const UserProfile&); -bool operator>(const UserProfile&, const UserProfile&); -bool operator>=(const UserProfile&, const UserProfile&); - -} - -namespace IceInternal -{ - -void incRef(::alliWebMember::UserProfile*); -void decRef(::alliWebMember::UserProfile*); - -void incRef(::IceProxy::alliWebMember::UserProfile*); -void decRef(::IceProxy::alliWebMember::UserProfile*); - -} - -namespace alliWebMember -{ - -typedef ::IceInternal::Handle< ::alliWebMember::UserProfile> UserProfilePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::alliWebMember::UserProfile> UserProfilePrx; - -void __write(::IceInternal::BasicStream*, const UserProfilePrx&); -void __read(::IceInternal::BasicStream*, UserProfilePrx&); -void __write(::IceInternal::BasicStream*, const UserProfilePtr&); -void __patch__UserProfilePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const UserProfilePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const UserProfilePtr&); -void __decRefUnsafe(const UserProfilePtr&); -void __clearHandleUnsafe(UserProfilePtr&); - -} - -namespace alliWebMember -{ - -struct SWebUserInfo -{ - ::std::string uid; - ::std::string name; - ::std::string rawpasswd; - ::std::string md5passwd; - ::std::string email; - ::std::string mobileno; - ::std::string phoneno; - ::std::string company; - ::std::string jobtitle; - ::std::string birthday; - ::std::string sex; - ::std::string country; - ::std::string province; - ::std::string city; - ::std::string address; - - bool operator==(const SWebUserInfo&) const; - bool operator!=(const SWebUserInfo&) const; - bool operator<(const SWebUserInfo&) const; - bool operator<=(const SWebUserInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SWebUserInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SWebUserInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::alliWebMember::SWebUserInfo> SUserSeq; - -class __U__SUserSeq { }; -void __write(::IceInternal::BasicStream*, const ::alliWebMember::SWebUserInfo*, const ::alliWebMember::SWebUserInfo*, __U__SUserSeq); -void __read(::IceInternal::BasicStream*, SUserSeq&, __U__SUserSeq); - -} - -namespace IceProxy -{ - -namespace alliWebMember -{ - -class UserProfile : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int GetWebMemberInfo(const ::std::string& uid, ::alliWebMember::SWebUserInfo& userInfo) - { - return GetWebMemberInfo(uid, userInfo, 0); - } - ::Ice::Int GetWebMemberInfo(const ::std::string& uid, ::alliWebMember::SWebUserInfo& userInfo, const ::Ice::Context& __ctx) - { - return GetWebMemberInfo(uid, userInfo, &__ctx); - } - -private: - - ::Ice::Int GetWebMemberInfo(const ::std::string&, ::alliWebMember::SWebUserInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int getWanghaoBindedWebId(const ::std::string& passportid, ::std::string& webloginId) - { - return getWanghaoBindedWebId(passportid, webloginId, 0); - } - ::Ice::Int getWanghaoBindedWebId(const ::std::string& passportid, ::std::string& webloginId, const ::Ice::Context& __ctx) - { - return getWanghaoBindedWebId(passportid, webloginId, &__ctx); - } - -private: - - ::Ice::Int getWanghaoBindedWebId(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckWebMemberPWInfo(const ::std::string& uid, const ::std::string& password, ::std::string& retmd5pw, ::std::string& rettoken) - { - return CheckWebMemberPWInfo(uid, password, retmd5pw, rettoken, 0); - } - ::Ice::Int CheckWebMemberPWInfo(const ::std::string& uid, const ::std::string& password, ::std::string& retmd5pw, ::std::string& rettoken, const ::Ice::Context& __ctx) - { - return CheckWebMemberPWInfo(uid, password, retmd5pw, rettoken, &__ctx); - } - -private: - - ::Ice::Int CheckWebMemberPWInfo(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace alliWebMember -{ - -class UserProfile : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int GetWebMemberInfo(const ::std::string&, ::alliWebMember::SWebUserInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getWanghaoBindedWebId(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckWebMemberPWInfo(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace alliWebMember -{ - -class UserProfile : virtual public ::IceDelegate::alliWebMember::UserProfile, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int GetWebMemberInfo(const ::std::string&, ::alliWebMember::SWebUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int getWanghaoBindedWebId(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckWebMemberPWInfo(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace alliWebMember -{ - -class UserProfile : virtual public ::IceDelegate::alliWebMember::UserProfile, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int GetWebMemberInfo(const ::std::string&, ::alliWebMember::SWebUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int getWanghaoBindedWebId(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckWebMemberPWInfo(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace alliWebMember -{ - -class UserProfile : virtual public ::Ice::Object -{ -public: - - typedef UserProfilePrx ProxyType; - typedef UserProfilePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int GetWebMemberInfo(const ::std::string&, ::alliWebMember::SWebUserInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetWebMemberInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getWanghaoBindedWebId(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getWanghaoBindedWebId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int CheckWebMemberPWInfo(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckWebMemberPWInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__UserProfilePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/aqdispatch_pack.h.svn-base b/features/aliww/include/.svn/text-base/aqdispatch_pack.h.svn-base deleted file mode 100644 index 5ade463..0000000 --- a/features/aliww/include/.svn/text-base/aqdispatch_pack.h.svn-base +++ /dev/null @@ -1,437 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: aqdispatch_pack.h -// Date: 2011-01-30 12:50:19 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __AQDISPATCH_PACK_H__ -#define __AQDISPATCH_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "aqsc_head.h" - -using namespace std; - -enum AQDISPATCH_CMD -{ - AQSC_NOTIFY_DATA = 0x2000, - AQSC_REQ_SUBSCRIBE_DATA = 0x2001, - AQSC_RSP_SUBSCRIBE_DATA = 0x2002, - AQSC_REQ_UNSUBSCRIBE_DATA = 0x2003, - AQSC_RSP_UNSUBSCRIBE_DATA = 0x2004, - AQSC_REQ_HEALTH_CHECK = 0x1001, - AQSC_RSP_HEALTH_CHECK = 0x1002, -}; - -struct SAqkvpair -{ -public: - SAqkvpair() - { - } - - ~SAqkvpair() { } - SAqkvpair(const string& strKey, const string& strValue) - { - m_key = strKey; - m_value = strValue; - } - SAqkvpair& operator=( const SAqkvpair& sAqkvpair ) - { - m_key = sAqkvpair.m_key; - m_value = sAqkvpair.m_value; - return *this; - } - - string m_key; - string m_value; - -public: - uint32_t Size() const; -}; - -inline uint32_t SAqkvpair::Size() const -{ - uint32_t nSize = 5; - nSize += m_key.length(); - nSize += m_value.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SAqkvpair& sAqkvpair ); -CPackData& operator>> ( CPackData& cPackData, SAqkvpair& sAqkvpair ); - -class CAqscNotifyData : public CPackData -{ -public: - enum - { - CMD_ID = AQSC_NOTIFY_DATA - }; - CAqscNotifyData() - { - } - - ~CAqscNotifyData() { } - CAqscNotifyData(const uint16_t& wServerId, const uint16_t& wDataType, const VECTOR< SAqkvpair >& vecKvList) - { - m_serverId = wServerId; - m_dataType = wDataType; - m_kvList = vecKvList; - } - CAqscNotifyData& operator=( const CAqscNotifyData& cAqscNotifyData ) - { - m_serverId = cAqscNotifyData.m_serverId; - m_dataType = cAqscNotifyData.m_dataType; - m_kvList = cAqscNotifyData.m_kvList; - return *this; - } - - const uint16_t& GetServerId () const { return m_serverId; } - bool SetServerId ( const uint16_t& wServerId ) - { - m_serverId = wServerId; - return true; - } - const uint16_t& GetDataType () const { return m_dataType; } - bool SetDataType ( const uint16_t& wDataType ) - { - m_dataType = wDataType; - return true; - } - const VECTOR< SAqkvpair >& GetKvList () const { return m_kvList; } - bool SetKvList ( const VECTOR< SAqkvpair >& vecKvList ) - { - m_kvList = vecKvList; - return true; - } -private: - uint16_t m_serverId; - uint16_t m_dataType; - VECTOR< SAqkvpair > m_kvList; - -public: - CAqscHead m_aqscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CAqscNotifyData::Size() const -{ - uint32_t nSize = 8; - for(uint32_t i = 0; i < m_kvList.size(); i++) - { - nSize += m_kvList[i].Size(); - } - return nSize; -} - -class CAqscReqSubscribeData : public CPackData -{ -public: - enum - { - CMD_ID = AQSC_REQ_SUBSCRIBE_DATA - }; - CAqscReqSubscribeData() - { - } - - ~CAqscReqSubscribeData() { } - CAqscReqSubscribeData(const string& strAppid, const VECTOR< uint16_t >& vecSubscribeList) - { - m_appid = strAppid; - m_subscribeList = vecSubscribeList; - } - CAqscReqSubscribeData& operator=( const CAqscReqSubscribeData& cAqscReqSubscribeData ) - { - m_appid = cAqscReqSubscribeData.m_appid; - m_subscribeList = cAqscReqSubscribeData.m_subscribeList; - return *this; - } - - const string& GetAppid () const { return m_appid; } - bool SetAppid ( const string& strAppid ) - { - m_appid = strAppid; - return true; - } - const VECTOR< uint16_t >& GetSubscribeList () const { return m_subscribeList; } - bool SetSubscribeList ( const VECTOR< uint16_t >& vecSubscribeList ) - { - m_subscribeList = vecSubscribeList; - return true; - } -private: - string m_appid; - VECTOR< uint16_t > m_subscribeList; - -public: - CAqscHead m_aqscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CAqscReqSubscribeData::Size() const -{ - uint32_t nSize = 8; - nSize += m_appid.length(); - nSize += m_subscribeList.size() * 2; - return nSize; -} - -class CAqscRspSubscribeData : public CPackData -{ -public: - enum - { - CMD_ID = AQSC_RSP_SUBSCRIBE_DATA - }; - CAqscRspSubscribeData() - { - } - - ~CAqscRspSubscribeData() { } - CAqscRspSubscribeData(const uint16_t& wStatus, const string& strErrorCode) - { - m_status = wStatus; - m_errorCode = strErrorCode; - } - CAqscRspSubscribeData& operator=( const CAqscRspSubscribeData& cAqscRspSubscribeData ) - { - m_status = cAqscRspSubscribeData.m_status; - m_errorCode = cAqscRspSubscribeData.m_errorCode; - return *this; - } - - const uint16_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint16_t& wStatus ) - { - m_status = wStatus; - return true; - } - const string& GetErrorCode () const { return m_errorCode; } - bool SetErrorCode ( const string& strErrorCode ) - { - m_errorCode = strErrorCode; - return true; - } -private: - uint16_t m_status; - string m_errorCode; - -public: - CAqscHead m_aqscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CAqscRspSubscribeData::Size() const -{ - uint32_t nSize = 6; - nSize += m_errorCode.length(); - return nSize; -} - -class CAqscReqUnsubscribeData : public CPackData -{ -public: - enum - { - CMD_ID = AQSC_REQ_UNSUBSCRIBE_DATA - }; - CAqscReqUnsubscribeData() - { - } - - ~CAqscReqUnsubscribeData() { } - CAqscReqUnsubscribeData(const string& strAppid, const VECTOR< uint16_t >& vecUnsubscribeList) - { - m_appid = strAppid; - m_unsubscribeList = vecUnsubscribeList; - } - CAqscReqUnsubscribeData& operator=( const CAqscReqUnsubscribeData& cAqscReqUnsubscribeData ) - { - m_appid = cAqscReqUnsubscribeData.m_appid; - m_unsubscribeList = cAqscReqUnsubscribeData.m_unsubscribeList; - return *this; - } - - const string& GetAppid () const { return m_appid; } - bool SetAppid ( const string& strAppid ) - { - m_appid = strAppid; - return true; - } - const VECTOR< uint16_t >& GetUnsubscribeList () const { return m_unsubscribeList; } - bool SetUnsubscribeList ( const VECTOR< uint16_t >& vecUnsubscribeList ) - { - m_unsubscribeList = vecUnsubscribeList; - return true; - } -private: - string m_appid; - VECTOR< uint16_t > m_unsubscribeList; - -public: - CAqscHead m_aqscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CAqscReqUnsubscribeData::Size() const -{ - uint32_t nSize = 8; - nSize += m_appid.length(); - nSize += m_unsubscribeList.size() * 2; - return nSize; -} - -class CAqscRspUnsubscribeData : public CPackData -{ -public: - enum - { - CMD_ID = AQSC_RSP_UNSUBSCRIBE_DATA - }; - CAqscRspUnsubscribeData() - { - } - - ~CAqscRspUnsubscribeData() { } - CAqscRspUnsubscribeData(const uint16_t& wStatus, const string& strErrorCode) - { - m_status = wStatus; - m_errorCode = strErrorCode; - } - CAqscRspUnsubscribeData& operator=( const CAqscRspUnsubscribeData& cAqscRspUnsubscribeData ) - { - m_status = cAqscRspUnsubscribeData.m_status; - m_errorCode = cAqscRspUnsubscribeData.m_errorCode; - return *this; - } - - const uint16_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint16_t& wStatus ) - { - m_status = wStatus; - return true; - } - const string& GetErrorCode () const { return m_errorCode; } - bool SetErrorCode ( const string& strErrorCode ) - { - m_errorCode = strErrorCode; - return true; - } -private: - uint16_t m_status; - string m_errorCode; - -public: - CAqscHead m_aqscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CAqscRspUnsubscribeData::Size() const -{ - uint32_t nSize = 6; - nSize += m_errorCode.length(); - return nSize; -} - -class CAqscReqHealthCheck : public CPackData -{ -public: - enum - { - CMD_ID = AQSC_REQ_HEALTH_CHECK - }; - CAqscReqHealthCheck() - { - } - - ~CAqscReqHealthCheck() { } - CAqscReqHealthCheck(const string& strAppid) - { - m_appid = strAppid; - } - CAqscReqHealthCheck& operator=( const CAqscReqHealthCheck& cAqscReqHealthCheck ) - { - m_appid = cAqscReqHealthCheck.m_appid; - return *this; - } - - const string& GetAppid () const { return m_appid; } - bool SetAppid ( const string& strAppid ) - { - m_appid = strAppid; - return true; - } -private: - string m_appid; - -public: - CAqscHead m_aqscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CAqscReqHealthCheck::Size() const -{ - uint32_t nSize = 4; - nSize += m_appid.length(); - return nSize; -} - -class CAqscRspHealthCheck : public CPackData -{ -public: - enum - { - CMD_ID = AQSC_RSP_HEALTH_CHECK - }; - ~CAqscRspHealthCheck() { } -public: - CAqscHead m_aqscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CAqscRspHealthCheck::Size() const -{ - return 0; -} -#endif diff --git a/features/aliww/include/.svn/text-base/aqsc_head.h.svn-base b/features/aliww/include/.svn/text-base/aqsc_head.h.svn-base deleted file mode 100644 index 73ce02b..0000000 --- a/features/aliww/include/.svn/text-base/aqsc_head.h.svn-base +++ /dev/null @@ -1,102 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: aqsc_head.h -// Date: 2011-01-30 12:50:18 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __AQSC_HEAD_H__ -#define __AQSC_HEAD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -#ifndef COMPRESS_THRESHOLD -#define COMPRESS_THRESHOLD 10240 -#endif - -class CAqscHead : public CPackData -{ -public: - ~CAqscHead() { } - CAqscHead(const uint8_t& chStarter= 0x88, const uint8_t& chVersion= 0x01, const uint32_t& dwSeq= 0, const uint32_t& dwLen= 0, const uint32_t& dwCmd= 0, const uint16_t& wCc= 0) - { - m_starter = chStarter; - m_version = chVersion; - m_seq = dwSeq; - m_len = dwLen; - m_cmd = dwCmd; - m_cc = wCc; - } - CAqscHead& operator=( const CAqscHead& cAqscHead ) - { - m_starter = cAqscHead.m_starter; - m_version = cAqscHead.m_version; - m_seq = cAqscHead.m_seq; - m_len = cAqscHead.m_len; - m_cmd = cAqscHead.m_cmd; - m_cc = cAqscHead.m_cc; - return *this; - } - -public: - uint8_t m_starter; - uint8_t m_version; - uint32_t m_seq; - uint32_t m_len; - uint32_t m_cmd; - uint16_t m_cc; - -public: - void PackData(string& strData); - PACKRETCODE UnpackData(const string& strData); - uint32_t Size() const { return 16; } - uint8_t PeekStarter() - { - uint8_t chStarter; - SetInCursor(0); - *this >> chStarter; - return chStarter; - } - uint8_t PeekVersion() - { - uint8_t chVersion; - SetInCursor(1); - *this >> chVersion; - return chVersion; - } - uint32_t PeekSeq() - { - uint32_t dwSeq; - SetInCursor(2); - *this >> dwSeq; - return dwSeq; - } - uint32_t PeekLen() - { - uint32_t dwLen; - SetInCursor(6); - *this >> dwLen; - return dwLen; - } - uint32_t PeekCmd() - { - uint32_t dwCmd; - SetInCursor(10); - *this >> dwCmd; - return dwCmd; - } - uint16_t PeekCc() - { - uint16_t wCc; - SetInCursor(14); - *this >> wCc; - return wCc; - } -}; - -#endif diff --git a/features/aliww/include/.svn/text-base/arcacheservice.h.svn-base b/features/aliww/include/.svn/text-base/arcacheservice.h.svn-base deleted file mode 100644 index b43aad3..0000000 --- a/features/aliww/include/.svn/text-base/arcacheservice.h.svn-base +++ /dev/null @@ -1,512 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `arcacheservice.ice' - -#ifndef __arcacheservice_h__ -#define __arcacheservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class IARCacheService; -bool operator==(const IARCacheService&, const IARCacheService&); -bool operator!=(const IARCacheService&, const IARCacheService&); -bool operator<(const IARCacheService&, const IARCacheService&); -bool operator<=(const IARCacheService&, const IARCacheService&); -bool operator>(const IARCacheService&, const IARCacheService&); -bool operator>=(const IARCacheService&, const IARCacheService&); - -} - -} - -namespace AliIM -{ - -class IARCacheService; -bool operator==(const IARCacheService&, const IARCacheService&); -bool operator!=(const IARCacheService&, const IARCacheService&); -bool operator<(const IARCacheService&, const IARCacheService&); -bool operator<=(const IARCacheService&, const IARCacheService&); -bool operator>(const IARCacheService&, const IARCacheService&); -bool operator>=(const IARCacheService&, const IARCacheService&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::IARCacheService*); -void decRef(::AliIM::IARCacheService*); - -void incRef(::IceProxy::AliIM::IARCacheService*); -void decRef(::IceProxy::AliIM::IARCacheService*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::IARCacheService> IARCacheServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::IARCacheService> IARCacheServicePrx; - -void __write(::IceInternal::BasicStream*, const IARCacheServicePrx&); -void __read(::IceInternal::BasicStream*, IARCacheServicePrx&); -void __write(::IceInternal::BasicStream*, const IARCacheServicePtr&); -void __patch__IARCacheServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IARCacheServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IARCacheServicePtr&); -void __decRefUnsafe(const IARCacheServicePtr&); -void __clearHandleUnsafe(IARCacheServicePtr&); - -} - -namespace AliIM -{ - -struct ARUSERINFO -{ - ::Ice::Int strangerMsgCount; - ::Ice::Int addContactCount; - ::Ice::Int reqContactCount; - ::Ice::Int addTribeCount; - ::Ice::Int lastLogonTime; - ::Ice::Int sysMsgId; - ::Ice::Int onlineTime; - ::std::string loginIp; - - bool operator==(const ARUSERINFO&) const; - bool operator!=(const ARUSERINFO&) const; - bool operator<(const ARUSERINFO&) const; - bool operator<=(const ARUSERINFO& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const ARUSERINFO& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const ARUSERINFO& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct ARUSERCONTROLINFO -{ - ::Ice::Int strangerMsgCount; - ::Ice::Int addContactCount; - ::Ice::Int reqContactCount; - ::Ice::Int addTribeCount; - - bool operator==(const ARUSERCONTROLINFO&) const; - bool operator!=(const ARUSERCONTROLINFO&) const; - bool operator<(const ARUSERCONTROLINFO&) const; - bool operator<=(const ARUSERCONTROLINFO& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const ARUSERCONTROLINFO& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const ARUSERCONTROLINFO& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::map< ::Ice::Int, ::Ice::Int> RIGHTTABLE; - -class __U__RIGHTTABLE { }; -void __write(::IceInternal::BasicStream*, const RIGHTTABLE&, __U__RIGHTTABLE); -void __read(::IceInternal::BasicStream*, RIGHTTABLE&, __U__RIGHTTABLE); - -struct ARUSERINFO2 -{ - ::AliIM::RIGHTTABLE rightMap; - ::Ice::Int lastLogonTime; - ::Ice::Int sysMsgId; - ::Ice::Int onlineTime; - ::std::string loginIp; - - bool operator==(const ARUSERINFO2&) const; - bool operator!=(const ARUSERINFO2&) const; - bool operator<(const ARUSERINFO2&) const; - bool operator<=(const ARUSERINFO2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const ARUSERINFO2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const ARUSERINFO2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct ARUSERCONTROLINFO2 -{ - ::AliIM::RIGHTTABLE rightMap; - - bool operator==(const ARUSERCONTROLINFO2&) const; - bool operator!=(const ARUSERCONTROLINFO2&) const; - bool operator<(const ARUSERCONTROLINFO2&) const; - bool operator<=(const ARUSERCONTROLINFO2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const ARUSERCONTROLINFO2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const ARUSERCONTROLINFO2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class IARCacheService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int getUserInfo(const ::std::string& uid, ::AliIM::ARUSERINFO& userInfo) - { - return getUserInfo(uid, userInfo, 0); - } - ::Ice::Int getUserInfo(const ::std::string& uid, ::AliIM::ARUSERINFO& userInfo, const ::Ice::Context& __ctx) - { - return getUserInfo(uid, userInfo, &__ctx); - } - -private: - - ::Ice::Int getUserInfo(const ::std::string&, ::AliIM::ARUSERINFO&, const ::Ice::Context*); - -public: - - ::Ice::Int updateUserLoginEx(const ::std::string& uid, ::Ice::Int sysMsgId, const ::std::string& loginIp) - { - return updateUserLoginEx(uid, sysMsgId, loginIp, 0); - } - ::Ice::Int updateUserLoginEx(const ::std::string& uid, ::Ice::Int sysMsgId, const ::std::string& loginIp, const ::Ice::Context& __ctx) - { - return updateUserLoginEx(uid, sysMsgId, loginIp, &__ctx); - } - -private: - - ::Ice::Int updateUserLoginEx(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int updateUserLoginEx2(const ::std::string& uid, ::Ice::Int sysMsgId, const ::std::string& loginIp) - { - return updateUserLoginEx2(uid, sysMsgId, loginIp, 0); - } - ::Ice::Int updateUserLoginEx2(const ::std::string& uid, ::Ice::Int sysMsgId, const ::std::string& loginIp, const ::Ice::Context& __ctx) - { - return updateUserLoginEx2(uid, sysMsgId, loginIp, &__ctx); - } - -private: - - ::Ice::Int updateUserLoginEx2(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int updateUserLastLoginTime(const ::std::string& uid, ::Ice::Int lastLoginTime) - { - return updateUserLastLoginTime(uid, lastLoginTime, 0); - } - ::Ice::Int updateUserLastLoginTime(const ::std::string& uid, ::Ice::Int lastLoginTime, const ::Ice::Context& __ctx) - { - return updateUserLastLoginTime(uid, lastLoginTime, &__ctx); - } - -private: - - ::Ice::Int updateUserLastLoginTime(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int updateSysMsgId(const ::std::string& uid, ::Ice::Int sysMsgId) - { - return updateSysMsgId(uid, sysMsgId, 0); - } - ::Ice::Int updateSysMsgId(const ::std::string& uid, ::Ice::Int sysMsgId, const ::Ice::Context& __ctx) - { - return updateSysMsgId(uid, sysMsgId, &__ctx); - } - -private: - - ::Ice::Int updateSysMsgId(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int updateUserDataInfo(const ::std::string& uid, const ::AliIM::ARUSERCONTROLINFO& controlInfo, ::Ice::Int onlineTime) - { - return updateUserDataInfo(uid, controlInfo, onlineTime, 0); - } - ::Ice::Int updateUserDataInfo(const ::std::string& uid, const ::AliIM::ARUSERCONTROLINFO& controlInfo, ::Ice::Int onlineTime, const ::Ice::Context& __ctx) - { - return updateUserDataInfo(uid, controlInfo, onlineTime, &__ctx); - } - -private: - - ::Ice::Int updateUserDataInfo(const ::std::string&, const ::AliIM::ARUSERCONTROLINFO&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int getUserInfo2(const ::std::string& uid, ::AliIM::ARUSERINFO2& userInfo) - { - return getUserInfo2(uid, userInfo, 0); - } - ::Ice::Int getUserInfo2(const ::std::string& uid, ::AliIM::ARUSERINFO2& userInfo, const ::Ice::Context& __ctx) - { - return getUserInfo2(uid, userInfo, &__ctx); - } - -private: - - ::Ice::Int getUserInfo2(const ::std::string&, ::AliIM::ARUSERINFO2&, const ::Ice::Context*); - -public: - - ::Ice::Int updateUserDataInfo2(const ::std::string& uid, const ::AliIM::ARUSERCONTROLINFO2& controlInfo, ::Ice::Int onlineTime) - { - return updateUserDataInfo2(uid, controlInfo, onlineTime, 0); - } - ::Ice::Int updateUserDataInfo2(const ::std::string& uid, const ::AliIM::ARUSERCONTROLINFO2& controlInfo, ::Ice::Int onlineTime, const ::Ice::Context& __ctx) - { - return updateUserDataInfo2(uid, controlInfo, onlineTime, &__ctx); - } - -private: - - ::Ice::Int updateUserDataInfo2(const ::std::string&, const ::AliIM::ARUSERCONTROLINFO2&, ::Ice::Int, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class IARCacheService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int getUserInfo(const ::std::string&, ::AliIM::ARUSERINFO&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateUserLoginEx(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateUserLoginEx2(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateUserLastLoginTime(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateSysMsgId(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateUserDataInfo(const ::std::string&, const ::AliIM::ARUSERCONTROLINFO&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserInfo2(const ::std::string&, ::AliIM::ARUSERINFO2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateUserDataInfo2(const ::std::string&, const ::AliIM::ARUSERCONTROLINFO2&, ::Ice::Int, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class IARCacheService : virtual public ::IceDelegate::AliIM::IARCacheService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int getUserInfo(const ::std::string&, ::AliIM::ARUSERINFO&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserLoginEx(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserLoginEx2(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserLastLoginTime(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int updateSysMsgId(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int updateUserDataInfo(const ::std::string&, const ::AliIM::ARUSERCONTROLINFO&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int getUserInfo2(const ::std::string&, ::AliIM::ARUSERINFO2&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserDataInfo2(const ::std::string&, const ::AliIM::ARUSERCONTROLINFO2&, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class IARCacheService : virtual public ::IceDelegate::AliIM::IARCacheService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int getUserInfo(const ::std::string&, ::AliIM::ARUSERINFO&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserLoginEx(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserLoginEx2(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserLastLoginTime(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int updateSysMsgId(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int updateUserDataInfo(const ::std::string&, const ::AliIM::ARUSERCONTROLINFO&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int getUserInfo2(const ::std::string&, ::AliIM::ARUSERINFO2&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserDataInfo2(const ::std::string&, const ::AliIM::ARUSERCONTROLINFO2&, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class IARCacheService : virtual public ::Ice::Object -{ -public: - - typedef IARCacheServicePrx ProxyType; - typedef IARCacheServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int getUserInfo(const ::std::string&, ::AliIM::ARUSERINFO&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateUserLoginEx(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateUserLoginEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateUserLoginEx2(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateUserLoginEx2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateUserLastLoginTime(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateUserLastLoginTime(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateSysMsgId(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateSysMsgId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateUserDataInfo(const ::std::string&, const ::AliIM::ARUSERCONTROLINFO&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateUserDataInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserInfo2(const ::std::string&, ::AliIM::ARUSERINFO2&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserInfo2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateUserDataInfo2(const ::std::string&, const ::AliIM::ARUSERCONTROLINFO2&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateUserDataInfo2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IARCacheServicePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/atmMember.h.svn-base b/features/aliww/include/.svn/text-base/atmMember.h.svn-base deleted file mode 100644 index a5b0033..0000000 --- a/features/aliww/include/.svn/text-base/atmMember.h.svn-base +++ /dev/null @@ -1,455 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `atmMember.ice' - -#ifndef __atmMember_h__ -#define __atmMember_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace atmWebMember -{ - -class UserProfile; -bool operator==(const UserProfile&, const UserProfile&); -bool operator!=(const UserProfile&, const UserProfile&); -bool operator<(const UserProfile&, const UserProfile&); -bool operator<=(const UserProfile&, const UserProfile&); -bool operator>(const UserProfile&, const UserProfile&); -bool operator>=(const UserProfile&, const UserProfile&); - -} - -} - -namespace atmWebMember -{ - -class UserProfile; -bool operator==(const UserProfile&, const UserProfile&); -bool operator!=(const UserProfile&, const UserProfile&); -bool operator<(const UserProfile&, const UserProfile&); -bool operator<=(const UserProfile&, const UserProfile&); -bool operator>(const UserProfile&, const UserProfile&); -bool operator>=(const UserProfile&, const UserProfile&); - -} - -namespace IceInternal -{ - -void incRef(::atmWebMember::UserProfile*); -void decRef(::atmWebMember::UserProfile*); - -void incRef(::IceProxy::atmWebMember::UserProfile*); -void decRef(::IceProxy::atmWebMember::UserProfile*); - -} - -namespace atmWebMember -{ - -typedef ::IceInternal::Handle< ::atmWebMember::UserProfile> UserProfilePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::atmWebMember::UserProfile> UserProfilePrx; - -void __write(::IceInternal::BasicStream*, const UserProfilePrx&); -void __read(::IceInternal::BasicStream*, UserProfilePrx&); -void __write(::IceInternal::BasicStream*, const UserProfilePtr&); -void __patch__UserProfilePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const UserProfilePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const UserProfilePtr&); -void __decRefUnsafe(const UserProfilePtr&); -void __clearHandleUnsafe(UserProfilePtr&); - -} - -namespace atmWebMember -{ - -struct sBasicProfile -{ - ::std::string longid; - ::Ice::Int isExist; - ::std::string status; - ::std::string username; - ::std::string password; - ::std::string companyname; - ::std::string jobTitle; - ::std::string oldOverseaLevel; - ::std::string oldGslevel; - ::std::string memberLevel; - ::Ice::Int categoryids; - ::std::string area; - ::std::string country; - ::Ice::Int companyId; - - bool operator==(const sBasicProfile&) const; - bool operator!=(const sBasicProfile&) const; - bool operator<(const sBasicProfile&) const; - bool operator<=(const sBasicProfile& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const sBasicProfile& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const sBasicProfile& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct sUdbData -{ - ::std::string longid; - ::Ice::Int isExist; - ::std::string status; - ::std::string password; - ::std::string username; - ::std::string country; - ::std::string companyname; - ::std::string jobTitle; - ::std::string email; - ::std::string zip; - ::std::string address; - ::std::string phone; - ::std::string mobilephone; - ::std::string prov; - ::std::string city; - ::std::string usergender; - ::std::string companyaddress; - ::std::string companyfax; - ::std::string companyzip; - ::std::string companyemail; - ::std::string companyurl; - ::std::string purchase; - ::std::string provide; - ::std::string department; - - bool operator==(const sUdbData&) const; - bool operator!=(const sUdbData&) const; - bool operator<(const sUdbData&) const; - bool operator<=(const sUdbData& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const sUdbData& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const sUdbData& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct sContactInfo -{ - ::std::string longid; - ::Ice::Int isExist; - ::std::string firstname; - ::std::string lastname; - ::std::string country; - ::Ice::Int companyId; - ::std::string companyname; - ::std::string companyaddress; - ::std::string companyZip; - ::std::string homepageUrl; - ::std::string bizType; - ::std::string provideProducts; - ::std::string jobTitle; - ::Ice::Int categoryids; - ::std::string email; - ::std::string phone; - ::std::string faxNumber; - ::std::string mobilephone; - ::std::string usergender; - - bool operator==(const sContactInfo&) const; - bool operator!=(const sContactInfo&) const; - bool operator<(const sContactInfo&) const; - bool operator<=(const sContactInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const sContactInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const sContactInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SBLoginInfo -{ - ::std::string longid; - ::Ice::Int isExist; - ::std::string status; - ::std::string passwd; - ::std::string email; - ::std::string seq; - - bool operator==(const SBLoginInfo&) const; - bool operator!=(const SBLoginInfo&) const; - bool operator<(const SBLoginInfo&) const; - bool operator<=(const SBLoginInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SBLoginInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SBLoginInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -} - -namespace IceProxy -{ - -namespace atmWebMember -{ - -class UserProfile : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int GetUserPwd(const ::std::string& uid, ::atmWebMember::SBLoginInfo& pwdinfo) - { - return GetUserPwd(uid, pwdinfo, 0); - } - ::Ice::Int GetUserPwd(const ::std::string& uid, ::atmWebMember::SBLoginInfo& pwdinfo, const ::Ice::Context& __ctx) - { - return GetUserPwd(uid, pwdinfo, &__ctx); - } - -private: - - ::Ice::Int GetUserPwd(const ::std::string&, ::atmWebMember::SBLoginInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUDBData(const ::std::string& uid, ::atmWebMember::sUdbData& udbInfo) - { - return GetUDBData(uid, udbInfo, 0); - } - ::Ice::Int GetUDBData(const ::std::string& uid, ::atmWebMember::sUdbData& udbInfo, const ::Ice::Context& __ctx) - { - return GetUDBData(uid, udbInfo, &__ctx); - } - -private: - - ::Ice::Int GetUDBData(const ::std::string&, ::atmWebMember::sUdbData&, const ::Ice::Context*); - -public: - - ::Ice::Int GetBasicProfile(const ::std::string& uid, ::atmWebMember::sBasicProfile& info) - { - return GetBasicProfile(uid, info, 0); - } - ::Ice::Int GetBasicProfile(const ::std::string& uid, ::atmWebMember::sBasicProfile& info, const ::Ice::Context& __ctx) - { - return GetBasicProfile(uid, info, &__ctx); - } - -private: - - ::Ice::Int GetBasicProfile(const ::std::string&, ::atmWebMember::sBasicProfile&, const ::Ice::Context*); - -public: - - ::Ice::Int GetContactInfo(const ::std::string& uid, ::atmWebMember::sContactInfo& cinfo) - { - return GetContactInfo(uid, cinfo, 0); - } - ::Ice::Int GetContactInfo(const ::std::string& uid, ::atmWebMember::sContactInfo& cinfo, const ::Ice::Context& __ctx) - { - return GetContactInfo(uid, cinfo, &__ctx); - } - -private: - - ::Ice::Int GetContactInfo(const ::std::string&, ::atmWebMember::sContactInfo&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace atmWebMember -{ - -class UserProfile : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int GetUserPwd(const ::std::string&, ::atmWebMember::SBLoginInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUDBData(const ::std::string&, ::atmWebMember::sUdbData&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetBasicProfile(const ::std::string&, ::atmWebMember::sBasicProfile&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetContactInfo(const ::std::string&, ::atmWebMember::sContactInfo&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace atmWebMember -{ - -class UserProfile : virtual public ::IceDelegate::atmWebMember::UserProfile, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int GetUserPwd(const ::std::string&, ::atmWebMember::SBLoginInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetUDBData(const ::std::string&, ::atmWebMember::sUdbData&, const ::Ice::Context*); - - virtual ::Ice::Int GetBasicProfile(const ::std::string&, ::atmWebMember::sBasicProfile&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactInfo(const ::std::string&, ::atmWebMember::sContactInfo&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace atmWebMember -{ - -class UserProfile : virtual public ::IceDelegate::atmWebMember::UserProfile, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int GetUserPwd(const ::std::string&, ::atmWebMember::SBLoginInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetUDBData(const ::std::string&, ::atmWebMember::sUdbData&, const ::Ice::Context*); - - virtual ::Ice::Int GetBasicProfile(const ::std::string&, ::atmWebMember::sBasicProfile&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactInfo(const ::std::string&, ::atmWebMember::sContactInfo&, const ::Ice::Context*); -}; - -} - -} - -namespace atmWebMember -{ - -class UserProfile : virtual public ::Ice::Object -{ -public: - - typedef UserProfilePrx ProxyType; - typedef UserProfilePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int GetUserPwd(const ::std::string&, ::atmWebMember::SBLoginInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserPwd(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetUDBData(const ::std::string&, ::atmWebMember::sUdbData&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUDBData(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetBasicProfile(const ::std::string&, ::atmWebMember::sBasicProfile&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetBasicProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetContactInfo(const ::std::string&, ::atmWebMember::sContactInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetContactInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__UserProfilePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/authservice.h.svn-base b/features/aliww/include/.svn/text-base/authservice.h.svn-base deleted file mode 100644 index 52fccf5..0000000 --- a/features/aliww/include/.svn/text-base/authservice.h.svn-base +++ /dev/null @@ -1,348 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `authservice.ice' - -#ifndef __authservice_h__ -#define __authservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AuthService -{ - -class AuthSrvMgr; -bool operator==(const AuthSrvMgr&, const AuthSrvMgr&); -bool operator!=(const AuthSrvMgr&, const AuthSrvMgr&); -bool operator<(const AuthSrvMgr&, const AuthSrvMgr&); -bool operator<=(const AuthSrvMgr&, const AuthSrvMgr&); -bool operator>(const AuthSrvMgr&, const AuthSrvMgr&); -bool operator>=(const AuthSrvMgr&, const AuthSrvMgr&); - -} - -} - -namespace AuthService -{ - -class AuthSrvMgr; -bool operator==(const AuthSrvMgr&, const AuthSrvMgr&); -bool operator!=(const AuthSrvMgr&, const AuthSrvMgr&); -bool operator<(const AuthSrvMgr&, const AuthSrvMgr&); -bool operator<=(const AuthSrvMgr&, const AuthSrvMgr&); -bool operator>(const AuthSrvMgr&, const AuthSrvMgr&); -bool operator>=(const AuthSrvMgr&, const AuthSrvMgr&); - -} - -namespace IceInternal -{ - -void incRef(::AuthService::AuthSrvMgr*); -void decRef(::AuthService::AuthSrvMgr*); - -void incRef(::IceProxy::AuthService::AuthSrvMgr*); -void decRef(::IceProxy::AuthService::AuthSrvMgr*); - -} - -namespace AuthService -{ - -typedef ::IceInternal::Handle< ::AuthService::AuthSrvMgr> AuthSrvMgrPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AuthService::AuthSrvMgr> AuthSrvMgrPrx; - -void __write(::IceInternal::BasicStream*, const AuthSrvMgrPrx&); -void __read(::IceInternal::BasicStream*, AuthSrvMgrPrx&); -void __write(::IceInternal::BasicStream*, const AuthSrvMgrPtr&); -void __patch__AuthSrvMgrPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const AuthSrvMgrPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const AuthSrvMgrPtr&); -void __decRefUnsafe(const AuthSrvMgrPtr&); -void __clearHandleUnsafe(AuthSrvMgrPtr&); - -} - -namespace AuthService -{ - -} - -namespace IceProxy -{ - -namespace AuthService -{ - -class AuthSrvMgr : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int AddUser(const ::std::string& userId) - { - return AddUser(userId, 0); - } - ::Ice::Int AddUser(const ::std::string& userId, const ::Ice::Context& __ctx) - { - return AddUser(userId, &__ctx); - } - -private: - - ::Ice::Int AddUser(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DelUser(const ::std::string& userId) - { - return DelUser(userId, 0); - } - ::Ice::Int DelUser(const ::std::string& userId, const ::Ice::Context& __ctx) - { - return DelUser(userId, &__ctx); - } - -private: - - ::Ice::Int DelUser(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckUser(const ::std::string& userId) - { - return CheckUser(userId, 0); - } - ::Ice::Int CheckUser(const ::std::string& userId, const ::Ice::Context& __ctx) - { - return CheckUser(userId, &__ctx); - } - -private: - - ::Ice::Int CheckUser(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int ForbiddenUser(const ::std::string& userId, ::Ice::Int interval) - { - return ForbiddenUser(userId, interval, 0); - } - ::Ice::Int ForbiddenUser(const ::std::string& userId, ::Ice::Int interval, const ::Ice::Context& __ctx) - { - return ForbiddenUser(userId, interval, &__ctx); - } - -private: - - ::Ice::Int ForbiddenUser(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int PermitUser(const ::std::string& userId) - { - return PermitUser(userId, 0); - } - ::Ice::Int PermitUser(const ::std::string& userId, const ::Ice::Context& __ctx) - { - return PermitUser(userId, &__ctx); - } - -private: - - ::Ice::Int PermitUser(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetForbiddenUser(const ::std::string& userId, ::Ice::Int& begin, ::Ice::Int& interval) - { - return GetForbiddenUser(userId, begin, interval, 0); - } - ::Ice::Int GetForbiddenUser(const ::std::string& userId, ::Ice::Int& begin, ::Ice::Int& interval, const ::Ice::Context& __ctx) - { - return GetForbiddenUser(userId, begin, interval, &__ctx); - } - -private: - - ::Ice::Int GetForbiddenUser(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AuthService -{ - -class AuthSrvMgr : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int AddUser(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelUser(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckUser(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ForbiddenUser(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int PermitUser(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetForbiddenUser(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AuthService -{ - -class AuthSrvMgr : virtual public ::IceDelegate::AuthService::AuthSrvMgr, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int AddUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DelUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ForbiddenUser(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int PermitUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetForbiddenUser(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AuthService -{ - -class AuthSrvMgr : virtual public ::IceDelegate::AuthService::AuthSrvMgr, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int AddUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DelUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ForbiddenUser(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int PermitUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetForbiddenUser(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); -}; - -} - -} - -namespace AuthService -{ - -class AuthSrvMgr : virtual public ::Ice::Object -{ -public: - - typedef AuthSrvMgrPrx ProxyType; - typedef AuthSrvMgrPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int AddUser(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DelUser(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int CheckUser(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int ForbiddenUser(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ForbiddenUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int PermitUser(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___PermitUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetForbiddenUser(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetForbiddenUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__AuthSrvMgrPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/bind_unbind.h.svn-base b/features/aliww/include/.svn/text-base/bind_unbind.h.svn-base deleted file mode 100644 index bcac3cc..0000000 --- a/features/aliww/include/.svn/text-base/bind_unbind.h.svn-base +++ /dev/null @@ -1,28 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: bind_unbind.h - * - * Description: - * - * Version: 1.0 - * Created: 2011å¹´01月07æ—¥ 15æ—¶44分43秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ - -#ifndef BIND_UNBIND_H -#define BIND_UNBIND_H -#include -using namespace std; - -void *bind_unbind_init(void* p); -void *bind_unbind_act(void* p); -void *bind_unbind_end(void* p); - -#endif//BIND_UNBIND_H diff --git a/features/aliww/include/.svn/text-base/cachss_pack.h.svn-base b/features/aliww/include/.svn/text-base/cachss_pack.h.svn-base deleted file mode 100644 index 90632a2..0000000 --- a/features/aliww/include/.svn/text-base/cachss_pack.h.svn-base +++ /dev/null @@ -1,92 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: cachss_pack.h -// Date: 2011-01-30 12:50:08 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __CACHSS_PACK_H__ -#define __CACHSS_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "ss_head.h" -#include "const_macro.h" - -using namespace std; - -enum CACHSS_NOTIFY -{ - SS_CA_NOTIFY = 0x7f020001, - -}; - -class CSsCaNotify : public CPackData -{ -public: - enum - { - CMD_ID = SS_CA_NOTIFY - }; - CSsCaNotify() - { - } - - ~CSsCaNotify() { } - CSsCaNotify(const string& strOpname, const map< string,string >& mapAttrs) - { - m_opname = strOpname; - m_attrs = mapAttrs; - } - CSsCaNotify& operator=( const CSsCaNotify& cSsCaNotify ) - { - m_opname = cSsCaNotify.m_opname; - m_attrs = cSsCaNotify.m_attrs; - return *this; - } - - const string& GetOpname () const { return m_opname; } - bool SetOpname ( const string& strOpname ) - { - m_opname = strOpname; - return true; - } - const map< string,string >& GetAttrs () const { return m_attrs; } - bool SetAttrs ( const map< string,string >& mapAttrs ) - { - m_attrs = mapAttrs; - return true; - } -private: - string m_opname; - map< string,string > m_attrs; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsCaNotify::Size() const -{ - uint32_t nSize = 10; - nSize += m_opname.length(); - nSize += m_attrs.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_attrs.begin(); itr != m_attrs.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -#endif diff --git a/features/aliww/include/.svn/text-base/casc_pack.h.svn-base b/features/aliww/include/.svn/text-base/casc_pack.h.svn-base deleted file mode 100644 index 4b4c175..0000000 --- a/features/aliww/include/.svn/text-base/casc_pack.h.svn-base +++ /dev/null @@ -1,2055 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: casc_pack.h -// Date: 2011-02-22 11:43:08 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __CASC_PACK_H__ -#define __CASC_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "des.h" -#include -#include "sc_head.h" -#include "imsc_cmd.h" -#include "const_macro.h" - -using namespace std; - -struct SGoodsInfo -{ -public: - SGoodsInfo() - { - } - - ~SGoodsInfo() { } - SGoodsInfo(const string& strName, const uint32_t& dwCount) - { - m_name = strName; - m_count = dwCount; - } - SGoodsInfo& operator=( const SGoodsInfo& sGoodsInfo ) - { - m_name = sGoodsInfo.m_name; - m_count = sGoodsInfo.m_count; - return *this; - } - - string m_name; - uint32_t m_count; - -public: - uint32_t Size() const; -}; - -inline uint32_t SGoodsInfo::Size() const -{ - uint32_t nSize = 11; - nSize += m_name.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SGoodsInfo& sGoodsInfo ); -CPackData& operator>> ( CPackData& cPackData, SGoodsInfo& sGoodsInfo ); - -struct SGoodsInfoEx -{ -public: - SGoodsInfoEx() - { - } - - ~SGoodsInfoEx() { } - SGoodsInfoEx(const string& strName, const string& strInfo, const string& strUrl) - { - m_name = strName; - m_info = strInfo; - m_url = strUrl; - } - SGoodsInfoEx& operator=( const SGoodsInfoEx& sGoodsInfoEx ) - { - m_name = sGoodsInfoEx.m_name; - m_info = sGoodsInfoEx.m_info; - m_url = sGoodsInfoEx.m_url; - return *this; - } - - string m_name; - string m_info; - string m_url; - -public: - uint32_t Size() const; -}; - -inline uint32_t SGoodsInfoEx::Size() const -{ - uint32_t nSize = 16; - nSize += m_name.length(); - nSize += m_info.length(); - nSize += m_url.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SGoodsInfoEx& sGoodsInfoEx ); -CPackData& operator>> ( CPackData& cPackData, SGoodsInfoEx& sGoodsInfoEx ); - -class CCascReqGoodssearch : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_GOODSSEARCH - }; - CCascReqGoodssearch() - { - } - - ~CCascReqGoodssearch() { } - CCascReqGoodssearch(const string& strKeyword) - { - m_keyword = strKeyword; - } - CCascReqGoodssearch& operator=( const CCascReqGoodssearch& cCascReqGoodssearch ) - { - m_keyword = cCascReqGoodssearch.m_keyword; - return *this; - } - - const string& GetKeyword () const { return m_keyword; } - bool SetKeyword ( const string& strKeyword ) - { - m_keyword = strKeyword; - return true; - } -private: - string m_keyword; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqGoodssearch::Size() const -{ - uint32_t nSize = 6; - nSize += m_keyword.length(); - return nSize; -} - -class CCascRspGoodssearch : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_GOODSSEARCH - }; - CCascRspGoodssearch() - { - } - - ~CCascRspGoodssearch() { } - CCascRspGoodssearch(const uint8_t& chRetcode, const string& strKeyword, const VECTOR< SGoodsInfo >& vecGoods) - { - m_retcode = chRetcode; - m_keyword = strKeyword; - m_goods = vecGoods; - } - CCascRspGoodssearch& operator=( const CCascRspGoodssearch& cCascRspGoodssearch ) - { - m_retcode = cCascRspGoodssearch.m_retcode; - m_keyword = cCascRspGoodssearch.m_keyword; - m_goods = cCascRspGoodssearch.m_goods; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetKeyword () const { return m_keyword; } - bool SetKeyword ( const string& strKeyword ) - { - m_keyword = strKeyword; - return true; - } - const VECTOR< SGoodsInfo >& GetGoods () const { return m_goods; } - bool SetGoods ( const VECTOR< SGoodsInfo >& vecGoods ) - { - m_goods = vecGoods; - return true; - } -private: - uint8_t m_retcode; - string m_keyword; - VECTOR< SGoodsInfo > m_goods; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspGoodssearch::Size() const -{ - uint32_t nSize = 14; - nSize += m_keyword.length(); - for(uint32_t i = 0; i < m_goods.size(); i++) - { - nSize += m_goods[i].Size(); - } - return nSize; -} - -class CCascReqGoodssearchex : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_GOODSSEARCHEX - }; - CCascReqGoodssearchex() - { - } - - ~CCascReqGoodssearchex() { } - CCascReqGoodssearchex(const string& strKeyword) - { - m_keyword = strKeyword; - } - CCascReqGoodssearchex& operator=( const CCascReqGoodssearchex& cCascReqGoodssearchex ) - { - m_keyword = cCascReqGoodssearchex.m_keyword; - return *this; - } - - const string& GetKeyword () const { return m_keyword; } - bool SetKeyword ( const string& strKeyword ) - { - m_keyword = strKeyword; - return true; - } -private: - string m_keyword; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqGoodssearchex::Size() const -{ - uint32_t nSize = 6; - nSize += m_keyword.length(); - return nSize; -} - -class CCascRspGoodssearchex : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_GOODSSEARCHEX - }; - CCascRspGoodssearchex() - { - } - - ~CCascRspGoodssearchex() { } - CCascRspGoodssearchex(const uint8_t& chRetcode, const string& strKeyword, const VECTOR< SGoodsInfoEx >& vecGoods) - { - m_retcode = chRetcode; - m_keyword = strKeyword; - m_goods = vecGoods; - } - CCascRspGoodssearchex& operator=( const CCascRspGoodssearchex& cCascRspGoodssearchex ) - { - m_retcode = cCascRspGoodssearchex.m_retcode; - m_keyword = cCascRspGoodssearchex.m_keyword; - m_goods = cCascRspGoodssearchex.m_goods; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetKeyword () const { return m_keyword; } - bool SetKeyword ( const string& strKeyword ) - { - m_keyword = strKeyword; - return true; - } - const VECTOR< SGoodsInfoEx >& GetGoods () const { return m_goods; } - bool SetGoods ( const VECTOR< SGoodsInfoEx >& vecGoods ) - { - m_goods = vecGoods; - return true; - } -private: - uint8_t m_retcode; - string m_keyword; - VECTOR< SGoodsInfoEx > m_goods; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspGoodssearchex::Size() const -{ - uint32_t nSize = 14; - nSize += m_keyword.length(); - for(uint32_t i = 0; i < m_goods.size(); i++) - { - nSize += m_goods[i].Size(); - } - return nSize; -} - -class CCascReqWwcardInfo : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_WWCARD_INFO - }; - CCascReqWwcardInfo() - { - } - - ~CCascReqWwcardInfo() { } - CCascReqWwcardInfo(const uint8_t& chType, const string& strUid) - { - m_type = chType; - m_uid = strUid; - } - CCascReqWwcardInfo& operator=( const CCascReqWwcardInfo& cCascReqWwcardInfo ) - { - m_type = cCascReqWwcardInfo.m_type; - m_uid = cCascReqWwcardInfo.m_uid; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } -private: - uint8_t m_type; - string m_uid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqWwcardInfo::Size() const -{ - uint32_t nSize = 8; - nSize += m_uid.length(); - return nSize; -} - -class CCascRspWwcardInfo : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_WWCARD_INFO - }; - CCascRspWwcardInfo() - { - } - - ~CCascRspWwcardInfo() { } - CCascRspWwcardInfo(const uint8_t& chRetcode, const string& strUid, const uint8_t& chType, const string& strXmlstring, const string& strExtinfo) - { - m_retcode = chRetcode; - m_uid = strUid; - m_type = chType; - m_xmlstring = strXmlstring; - m_extinfo = strExtinfo; - } - CCascRspWwcardInfo& operator=( const CCascRspWwcardInfo& cCascRspWwcardInfo ) - { - m_retcode = cCascRspWwcardInfo.m_retcode; - m_uid = cCascRspWwcardInfo.m_uid; - m_type = cCascRspWwcardInfo.m_type; - m_xmlstring = cCascRspWwcardInfo.m_xmlstring; - m_extinfo = cCascRspWwcardInfo.m_extinfo; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetXmlstring () const { return m_xmlstring; } - bool SetXmlstring ( const string& strXmlstring ) - { - m_xmlstring = strXmlstring; - return true; - } - const string& GetExtinfo () const { return m_extinfo; } - bool SetExtinfo ( const string& strExtinfo ) - { - m_extinfo = strExtinfo; - return true; - } -private: - uint8_t m_retcode; - string m_uid; - uint8_t m_type; - string m_xmlstring; - string m_extinfo; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspWwcardInfo::Size() const -{ - uint32_t nSize = 20; - nSize += m_uid.length(); - nSize += m_xmlstring.length(); - nSize += m_extinfo.length(); - return nSize; -} - -class CCascReqWwcardLevel : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_WWCARD_LEVEL - }; - CCascReqWwcardLevel() - { - } - - ~CCascReqWwcardLevel() { } - CCascReqWwcardLevel(const string& strUid) - { - m_uid = strUid; - } - CCascReqWwcardLevel& operator=( const CCascReqWwcardLevel& cCascReqWwcardLevel ) - { - m_uid = cCascReqWwcardLevel.m_uid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } -private: - string m_uid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqWwcardLevel::Size() const -{ - uint32_t nSize = 6; - nSize += m_uid.length(); - return nSize; -} - -class CCascRspWwcardLevel : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_WWCARD_LEVEL - }; - CCascRspWwcardLevel() - { - } - - ~CCascRspWwcardLevel() { } - CCascRspWwcardLevel(const uint8_t& chRetcode, const string& strUid, const uint32_t& dwUserLevel, const uint32_t& dwTotalDegree, const uint32_t& dwNeedDegree, const VECTOR< uint8_t >& vecShowCount) - { - m_retcode = chRetcode; - m_uid = strUid; - m_userLevel = dwUserLevel; - m_totalDegree = dwTotalDegree; - m_needDegree = dwNeedDegree; - m_showCount = vecShowCount; - } - CCascRspWwcardLevel& operator=( const CCascRspWwcardLevel& cCascRspWwcardLevel ) - { - m_retcode = cCascRspWwcardLevel.m_retcode; - m_uid = cCascRspWwcardLevel.m_uid; - m_userLevel = cCascRspWwcardLevel.m_userLevel; - m_totalDegree = cCascRspWwcardLevel.m_totalDegree; - m_needDegree = cCascRspWwcardLevel.m_needDegree; - m_showCount = cCascRspWwcardLevel.m_showCount; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - const uint32_t& GetUserLevel () const { return m_userLevel; } - bool SetUserLevel ( const uint32_t& dwUserLevel ) - { - m_userLevel = dwUserLevel; - return true; - } - const uint32_t& GetTotalDegree () const { return m_totalDegree; } - bool SetTotalDegree ( const uint32_t& dwTotalDegree ) - { - m_totalDegree = dwTotalDegree; - return true; - } - const uint32_t& GetNeedDegree () const { return m_needDegree; } - bool SetNeedDegree ( const uint32_t& dwNeedDegree ) - { - m_needDegree = dwNeedDegree; - return true; - } - const VECTOR< uint8_t >& GetShowCount () const { return m_showCount; } - bool SetShowCount ( const VECTOR< uint8_t >& vecShowCount ) - { - m_showCount = vecShowCount; - return true; - } -private: - uint8_t m_retcode; - string m_uid; - uint32_t m_userLevel; - uint32_t m_totalDegree; - uint32_t m_needDegree; - VECTOR< uint8_t > m_showCount; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspWwcardLevel::Size() const -{ - uint32_t nSize = 29; - nSize += m_uid.length(); - nSize += m_showCount.size() * 1; - return nSize; -} - -class CCascReqWwcardSns : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_WWCARD_SNS - }; - CCascReqWwcardSns() - { - } - - ~CCascReqWwcardSns() { } - CCascReqWwcardSns(const string& strUid) - { - m_uid = strUid; - } - CCascReqWwcardSns& operator=( const CCascReqWwcardSns& cCascReqWwcardSns ) - { - m_uid = cCascReqWwcardSns.m_uid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } -private: - string m_uid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqWwcardSns::Size() const -{ - uint32_t nSize = 6; - nSize += m_uid.length(); - return nSize; -} - -class CCascRspWwcardSns : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_WWCARD_SNS - }; - CCascRspWwcardSns() - { - } - - ~CCascRspWwcardSns() { } - CCascRspWwcardSns(const uint8_t& chRetcode, const string& strUid, const string& strXmlstring) - { - m_retcode = chRetcode; - m_uid = strUid; - m_xmlstring = strXmlstring; - } - CCascRspWwcardSns& operator=( const CCascRspWwcardSns& cCascRspWwcardSns ) - { - m_retcode = cCascRspWwcardSns.m_retcode; - m_uid = cCascRspWwcardSns.m_uid; - m_xmlstring = cCascRspWwcardSns.m_xmlstring; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - const string& GetXmlstring () const { return m_xmlstring; } - bool SetXmlstring ( const string& strXmlstring ) - { - m_xmlstring = strXmlstring; - return true; - } -private: - uint8_t m_retcode; - string m_uid; - string m_xmlstring; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspWwcardSns::Size() const -{ - uint32_t nSize = 13; - nSize += m_uid.length(); - nSize += m_xmlstring.length(); - return nSize; -} - -class CCascReqWwcardEvaluate : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_WWCARD_EVALUATE - }; - CCascReqWwcardEvaluate() - { - } - - ~CCascReqWwcardEvaluate() { } - CCascReqWwcardEvaluate(const string& strUid) - { - m_uid = strUid; - } - CCascReqWwcardEvaluate& operator=( const CCascReqWwcardEvaluate& cCascReqWwcardEvaluate ) - { - m_uid = cCascReqWwcardEvaluate.m_uid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } -private: - string m_uid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqWwcardEvaluate::Size() const -{ - uint32_t nSize = 6; - nSize += m_uid.length(); - return nSize; -} - -class CCascRspWwcardEvaluate : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_WWCARD_EVALUATE - }; - CCascRspWwcardEvaluate() - { - } - - ~CCascRspWwcardEvaluate() { } - CCascRspWwcardEvaluate(const uint8_t& chRetcode, const string& strUid, const string& strXmlstring, const string& strExt) - { - m_retcode = chRetcode; - m_uid = strUid; - m_xmlstring = strXmlstring; - m_ext = strExt; - } - CCascRspWwcardEvaluate& operator=( const CCascRspWwcardEvaluate& cCascRspWwcardEvaluate ) - { - m_retcode = cCascRspWwcardEvaluate.m_retcode; - m_uid = cCascRspWwcardEvaluate.m_uid; - m_xmlstring = cCascRspWwcardEvaluate.m_xmlstring; - m_ext = cCascRspWwcardEvaluate.m_ext; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - const string& GetXmlstring () const { return m_xmlstring; } - bool SetXmlstring ( const string& strXmlstring ) - { - m_xmlstring = strXmlstring; - return true; - } - const string& GetExt () const { return m_ext; } - bool SetExt ( const string& strExt ) - { - m_ext = strExt; - return true; - } -private: - uint8_t m_retcode; - string m_uid; - string m_xmlstring; - string m_ext; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspWwcardEvaluate::Size() const -{ - uint32_t nSize = 18; - nSize += m_uid.length(); - nSize += m_xmlstring.length(); - nSize += m_ext.length(); - return nSize; -} - -class CCascReqWwcardFavorite : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_WWCARD_FAVORITE - }; - CCascReqWwcardFavorite() - { - } - - ~CCascReqWwcardFavorite() { } - CCascReqWwcardFavorite(const string& strUid) - { - m_uid = strUid; - } - CCascReqWwcardFavorite& operator=( const CCascReqWwcardFavorite& cCascReqWwcardFavorite ) - { - m_uid = cCascReqWwcardFavorite.m_uid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } -private: - string m_uid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqWwcardFavorite::Size() const -{ - uint32_t nSize = 6; - nSize += m_uid.length(); - return nSize; -} - -class CCascRspWwcardFavorite : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_WWCARD_FAVORITE - }; - CCascRspWwcardFavorite() - { - } - - ~CCascRspWwcardFavorite() { } - CCascRspWwcardFavorite(const uint8_t& chRetcode, const string& strUid, const string& strXmlstring) - { - m_retcode = chRetcode; - m_uid = strUid; - m_xmlstring = strXmlstring; - } - CCascRspWwcardFavorite& operator=( const CCascRspWwcardFavorite& cCascRspWwcardFavorite ) - { - m_retcode = cCascRspWwcardFavorite.m_retcode; - m_uid = cCascRspWwcardFavorite.m_uid; - m_xmlstring = cCascRspWwcardFavorite.m_xmlstring; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - const string& GetXmlstring () const { return m_xmlstring; } - bool SetXmlstring ( const string& strXmlstring ) - { - m_xmlstring = strXmlstring; - return true; - } -private: - uint8_t m_retcode; - string m_uid; - string m_xmlstring; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspWwcardFavorite::Size() const -{ - uint32_t nSize = 13; - nSize += m_uid.length(); - nSize += m_xmlstring.length(); - return nSize; -} - -class CCascReqTradeList : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_TRADE_LIST - }; - CCascReqTradeList() - { - } - - ~CCascReqTradeList() { } - CCascReqTradeList(const string& strReqstring) - { - m_reqstring = strReqstring; - } - CCascReqTradeList& operator=( const CCascReqTradeList& cCascReqTradeList ) - { - m_reqstring = cCascReqTradeList.m_reqstring; - return *this; - } - - const string& GetReqstring () const { return m_reqstring; } - bool SetReqstring ( const string& strReqstring ) - { - m_reqstring = strReqstring; - return true; - } -private: - string m_reqstring; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqTradeList::Size() const -{ - uint32_t nSize = 6; - nSize += m_reqstring.length(); - return nSize; -} - -class CCascRspTradeList : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_TRADE_LIST - }; - CCascRspTradeList() - { - } - - ~CCascRspTradeList() { } - CCascRspTradeList(const uint8_t& chRetcode, const string& strXmlstring) - { - m_retcode = chRetcode; - m_xmlstring = strXmlstring; - } - CCascRspTradeList& operator=( const CCascRspTradeList& cCascRspTradeList ) - { - m_retcode = cCascRspTradeList.m_retcode; - m_xmlstring = cCascRspTradeList.m_xmlstring; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetXmlstring () const { return m_xmlstring; } - bool SetXmlstring ( const string& strXmlstring ) - { - m_xmlstring = strXmlstring; - return true; - } -private: - uint8_t m_retcode; - string m_xmlstring; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspTradeList::Size() const -{ - uint32_t nSize = 8; - nSize += m_xmlstring.length(); - return nSize; -} - -class CCascRspTradeInfo : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_TRADE_INFO - }; - CCascRspTradeInfo() - { - } - - ~CCascRspTradeInfo() { } - CCascRspTradeInfo(const uint8_t& chRetcode, const string& strXmlstring) - { - m_retcode = chRetcode; - m_xmlstring = strXmlstring; - } - CCascRspTradeInfo& operator=( const CCascRspTradeInfo& cCascRspTradeInfo ) - { - m_retcode = cCascRspTradeInfo.m_retcode; - m_xmlstring = cCascRspTradeInfo.m_xmlstring; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetXmlstring () const { return m_xmlstring; } - bool SetXmlstring ( const string& strXmlstring ) - { - m_xmlstring = strXmlstring; - return true; - } -private: - uint8_t m_retcode; - string m_xmlstring; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspTradeInfo::Size() const -{ - uint32_t nSize = 8; - nSize += m_xmlstring.length(); - return nSize; -} - -class CCascReqEsexpandtab : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_ESEXPANDTAB - }; - CCascReqEsexpandtab() - { - } - - ~CCascReqEsexpandtab() { } - CCascReqEsexpandtab(const string& strReserve) - { - m_reserve = strReserve; - } - CCascReqEsexpandtab& operator=( const CCascReqEsexpandtab& cCascReqEsexpandtab ) - { - m_reserve = cCascReqEsexpandtab.m_reserve; - return *this; - } - - const string& GetReserve () const { return m_reserve; } - bool SetReserve ( const string& strReserve ) - { - m_reserve = strReserve; - return true; - } -private: - string m_reserve; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqEsexpandtab::Size() const -{ - uint32_t nSize = 6; - nSize += m_reserve.length(); - return nSize; -} - -struct SExpandinfo -{ -public: - SExpandinfo() - { - } - - ~SExpandinfo() { } - SExpandinfo(const string& strName, const string& strUrl, const string& strPicpath) - { - m_name = strName; - m_url = strUrl; - m_picpath = strPicpath; - } - SExpandinfo& operator=( const SExpandinfo& sExpandinfo ) - { - m_name = sExpandinfo.m_name; - m_url = sExpandinfo.m_url; - m_picpath = sExpandinfo.m_picpath; - return *this; - } - - string m_name; - string m_url; - string m_picpath; - -public: - uint32_t Size() const; -}; - -inline uint32_t SExpandinfo::Size() const -{ - uint32_t nSize = 16; - nSize += m_name.length(); - nSize += m_url.length(); - nSize += m_picpath.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SExpandinfo& sExpandinfo ); -CPackData& operator>> ( CPackData& cPackData, SExpandinfo& sExpandinfo ); - -class CCascRspEsexpandtab : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_ESEXPANDTAB - }; - CCascRspEsexpandtab() - { - } - - ~CCascRspEsexpandtab() { } - CCascRspEsexpandtab(const VECTOR< SExpandinfo >& vecExpandtabs) - { - m_expandtabs = vecExpandtabs; - } - CCascRspEsexpandtab& operator=( const CCascRspEsexpandtab& cCascRspEsexpandtab ) - { - m_expandtabs = cCascRspEsexpandtab.m_expandtabs; - return *this; - } - - const VECTOR< SExpandinfo >& GetExpandtabs () const { return m_expandtabs; } - bool SetExpandtabs ( const VECTOR< SExpandinfo >& vecExpandtabs ) - { - m_expandtabs = vecExpandtabs; - return true; - } -private: - VECTOR< SExpandinfo > m_expandtabs; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspEsexpandtab::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_expandtabs.size(); i++) - { - nSize += m_expandtabs[i].Size(); - } - return nSize; -} - -class CCascReqSendEseval : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_SEND_ESEVAL - }; - CCascReqSendEseval() - { - } - - ~CCascReqSendEseval() { } - CCascReqSendEseval(const string& strTargetuid) - { - m_targetuid = strTargetuid; - } - CCascReqSendEseval& operator=( const CCascReqSendEseval& cCascReqSendEseval ) - { - m_targetuid = cCascReqSendEseval.m_targetuid; - return *this; - } - - const string& GetTargetuid () const { return m_targetuid; } - bool SetTargetuid ( const string& strTargetuid ) - { - m_targetuid = strTargetuid; - return true; - } -private: - string m_targetuid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqSendEseval::Size() const -{ - uint32_t nSize = 6; - nSize += m_targetuid.length(); - return nSize; -} - -class CCascRspSendEseval : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_SEND_ESEVAL - }; - CCascRspSendEseval() : m_reserve("") - { - } - - ~CCascRspSendEseval() { } - CCascRspSendEseval(const string& strTargetuid, const uint8_t& chRet, const string& strReserve= "") - { - m_targetuid = strTargetuid; - m_ret = chRet; - m_reserve = strReserve; - } - CCascRspSendEseval& operator=( const CCascRspSendEseval& cCascRspSendEseval ) - { - m_targetuid = cCascRspSendEseval.m_targetuid; - m_ret = cCascRspSendEseval.m_ret; - m_reserve = cCascRspSendEseval.m_reserve; - return *this; - } - - const string& GetTargetuid () const { return m_targetuid; } - bool SetTargetuid ( const string& strTargetuid ) - { - m_targetuid = strTargetuid; - return true; - } - const uint8_t& GetRet () const { return m_ret; } - bool SetRet ( const uint8_t& chRet ) - { - m_ret = chRet; - return true; - } - const string& GetReserve () const { return m_reserve; } - bool SetReserve ( const string& strReserve ) - { - m_reserve = strReserve; - return true; - } -private: - string m_targetuid; - uint8_t m_ret; - string m_reserve; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspSendEseval::Size() const -{ - uint32_t nSize = 13; - nSize += m_targetuid.length(); - nSize += m_reserve.length(); - return nSize; -} - -class CCascReqGetcntlist : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_GETCNTLIST - }; - CCascReqGetcntlist() - { - } - - ~CCascReqGetcntlist() { } - CCascReqGetcntlist(const uint8_t& chType) - { - m_type = chType; - } - CCascReqGetcntlist& operator=( const CCascReqGetcntlist& cCascReqGetcntlist ) - { - m_type = cCascReqGetcntlist.m_type; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } -private: - uint8_t m_type; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqGetcntlist::Size() const -{ - return 3; -} -struct SCntinfo -{ -public: - SCntinfo() - { - } - - ~SCntinfo() { } - SCntinfo(const string& strContactid, const string& strNickname, const string& strGroupname, const string& strPrelogintime, const string& strCreatetime) - { - m_contactid = strContactid; - m_nickname = strNickname; - m_groupname = strGroupname; - m_prelogintime = strPrelogintime; - m_createtime = strCreatetime; - } - SCntinfo& operator=( const SCntinfo& sCntinfo ) - { - m_contactid = sCntinfo.m_contactid; - m_nickname = sCntinfo.m_nickname; - m_groupname = sCntinfo.m_groupname; - m_prelogintime = sCntinfo.m_prelogintime; - m_createtime = sCntinfo.m_createtime; - return *this; - } - - string m_contactid; - string m_nickname; - string m_groupname; - string m_prelogintime; - string m_createtime; - -public: - uint32_t Size() const; -}; - -inline uint32_t SCntinfo::Size() const -{ - uint32_t nSize = 26; - nSize += m_contactid.length(); - nSize += m_nickname.length(); - nSize += m_groupname.length(); - nSize += m_prelogintime.length(); - nSize += m_createtime.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SCntinfo& sCntinfo ); -CPackData& operator>> ( CPackData& cPackData, SCntinfo& sCntinfo ); - -class CCascRspGetcntlist : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_GETCNTLIST - }; - CCascRspGetcntlist() - { - } - - ~CCascRspGetcntlist() { } - CCascRspGetcntlist(const VECTOR< SCntinfo >& vecCntlist) - { - m_cntlist = vecCntlist; - } - CCascRspGetcntlist& operator=( const CCascRspGetcntlist& cCascRspGetcntlist ) - { - m_cntlist = cCascRspGetcntlist.m_cntlist; - return *this; - } - - const VECTOR< SCntinfo >& GetCntlist () const { return m_cntlist; } - bool SetCntlist ( const VECTOR< SCntinfo >& vecCntlist ) - { - m_cntlist = vecCntlist; - return true; - } -private: - VECTOR< SCntinfo > m_cntlist; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspGetcntlist::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_cntlist.size(); i++) - { - nSize += m_cntlist[i].Size(); - } - return nSize; -} - -class CCascReqAuthShellcmd : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_AUTH_SHELLCMD - }; - CCascReqAuthShellcmd() - { - } - - ~CCascReqAuthShellcmd() { } - CCascReqAuthShellcmd(const string& strCmdData, const string& strSign) - { - m_cmdData = strCmdData; - m_sign = strSign; - } - CCascReqAuthShellcmd& operator=( const CCascReqAuthShellcmd& cCascReqAuthShellcmd ) - { - m_cmdData = cCascReqAuthShellcmd.m_cmdData; - m_sign = cCascReqAuthShellcmd.m_sign; - return *this; - } - - const string& GetCmdData () const { return m_cmdData; } - bool SetCmdData ( const string& strCmdData ) - { - m_cmdData = strCmdData; - return true; - } - const string& GetSign () const { return m_sign; } - bool SetSign ( const string& strSign ) - { - m_sign = strSign; - return true; - } -private: - string m_cmdData; - string m_sign; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqAuthShellcmd::Size() const -{ - uint32_t nSize = 11; - nSize += m_cmdData.length(); - nSize += m_sign.length(); - return nSize; -} - -class CCascRspAuthShellcmd : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_AUTH_SHELLCMD - }; - CCascRspAuthShellcmd() - { - } - - ~CCascRspAuthShellcmd() { } - CCascRspAuthShellcmd(const uint8_t& chRetcode, const string& strCmdData) - { - m_retcode = chRetcode; - m_cmdData = strCmdData; - } - CCascRspAuthShellcmd& operator=( const CCascRspAuthShellcmd& cCascRspAuthShellcmd ) - { - m_retcode = cCascRspAuthShellcmd.m_retcode; - m_cmdData = cCascRspAuthShellcmd.m_cmdData; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetCmdData () const { return m_cmdData; } - bool SetCmdData ( const string& strCmdData ) - { - m_cmdData = strCmdData; - return true; - } -private: - uint8_t m_retcode; - string m_cmdData; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspAuthShellcmd::Size() const -{ - uint32_t nSize = 8; - nSize += m_cmdData.length(); - return nSize; -} - -class CCascReqWwMainsearch : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_WW_MAINSEARCH - }; - CCascReqWwMainsearch() - { - } - - ~CCascReqWwMainsearch() { } - CCascReqWwMainsearch(const string& strReqData) - { - m_reqData = strReqData; - } - CCascReqWwMainsearch& operator=( const CCascReqWwMainsearch& cCascReqWwMainsearch ) - { - m_reqData = cCascReqWwMainsearch.m_reqData; - return *this; - } - - const string& GetReqData () const { return m_reqData; } - bool SetReqData ( const string& strReqData ) - { - m_reqData = strReqData; - return true; - } -private: - string m_reqData; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqWwMainsearch::Size() const -{ - uint32_t nSize = 6; - nSize += m_reqData.length(); - return nSize; -} - -class CCascRspWwMainsearch : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_WW_MAINSEARCH - }; - CCascRspWwMainsearch() - { - } - - ~CCascRspWwMainsearch() { } - CCascRspWwMainsearch(const uint8_t& chRetcode, const string& strRspData) - { - m_retcode = chRetcode; - m_rspData = strRspData; - } - CCascRspWwMainsearch& operator=( const CCascRspWwMainsearch& cCascRspWwMainsearch ) - { - m_retcode = cCascRspWwMainsearch.m_retcode; - m_rspData = cCascRspWwMainsearch.m_rspData; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetRspData () const { return m_rspData; } - bool SetRspData ( const string& strRspData ) - { - m_rspData = strRspData; - return true; - } -private: - uint8_t m_retcode; - string m_rspData; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspWwMainsearch::Size() const -{ - uint32_t nSize = 8; - nSize += m_rspData.length(); - return nSize; -} - -class CCascReqGetUsercrinfo : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_GET_USERCRINFO - }; - CCascReqGetUsercrinfo() - { - } - - ~CCascReqGetUsercrinfo() { } - CCascReqGetUsercrinfo(const string& strUid, const string& strVersion) - { - m_uid = strUid; - m_version = strVersion; - } - CCascReqGetUsercrinfo& operator=( const CCascReqGetUsercrinfo& cCascReqGetUsercrinfo ) - { - m_uid = cCascReqGetUsercrinfo.m_uid; - m_version = cCascReqGetUsercrinfo.m_version; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - m_version = strVersion; - return true; - } -private: - string m_uid; - string m_version; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqGetUsercrinfo::Size() const -{ - uint32_t nSize = 11; - nSize += m_uid.length(); - nSize += m_version.length(); - return nSize; -} - -class CCascRspGetUsercrinfo : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_GET_USERCRINFO - }; - CCascRspGetUsercrinfo() - { - } - - ~CCascRspGetUsercrinfo() { } - CCascRspGetUsercrinfo(const uint32_t& dwRetcode, const uint8_t& chCrstate, const uint32_t& dwBegtime, const uint32_t& dwCrdays, const string& strExtmsg) - { - m_retcode = dwRetcode; - m_crstate = chCrstate; - m_begtime = dwBegtime; - m_crdays = dwCrdays; - m_extmsg = strExtmsg; - } - CCascRspGetUsercrinfo& operator=( const CCascRspGetUsercrinfo& cCascRspGetUsercrinfo ) - { - m_retcode = cCascRspGetUsercrinfo.m_retcode; - m_crstate = cCascRspGetUsercrinfo.m_crstate; - m_begtime = cCascRspGetUsercrinfo.m_begtime; - m_crdays = cCascRspGetUsercrinfo.m_crdays; - m_extmsg = cCascRspGetUsercrinfo.m_extmsg; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint8_t& GetCrstate () const { return m_crstate; } - bool SetCrstate ( const uint8_t& chCrstate ) - { - m_crstate = chCrstate; - return true; - } - const uint32_t& GetBegtime () const { return m_begtime; } - bool SetBegtime ( const uint32_t& dwBegtime ) - { - m_begtime = dwBegtime; - return true; - } - const uint32_t& GetCrdays () const { return m_crdays; } - bool SetCrdays ( const uint32_t& dwCrdays ) - { - m_crdays = dwCrdays; - return true; - } - const string& GetExtmsg () const { return m_extmsg; } - bool SetExtmsg ( const string& strExtmsg ) - { - m_extmsg = strExtmsg; - return true; - } -private: - uint32_t m_retcode; - uint8_t m_crstate; - uint32_t m_begtime; - uint32_t m_crdays; - string m_extmsg; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspGetUsercrinfo::Size() const -{ - uint32_t nSize = 23; - nSize += m_extmsg.length(); - return nSize; -} - -class CCascReqSetUsercrinfo : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_SET_USERCRINFO - }; - CCascReqSetUsercrinfo() - { - } - - ~CCascReqSetUsercrinfo() { } - CCascReqSetUsercrinfo(const string& strUid, const string& strVersion, const uint8_t& chCrstate) - { - m_uid = strUid; - m_version = strVersion; - m_crstate = chCrstate; - } - CCascReqSetUsercrinfo& operator=( const CCascReqSetUsercrinfo& cCascReqSetUsercrinfo ) - { - m_uid = cCascReqSetUsercrinfo.m_uid; - m_version = cCascReqSetUsercrinfo.m_version; - m_crstate = cCascReqSetUsercrinfo.m_crstate; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - m_version = strVersion; - return true; - } - const uint8_t& GetCrstate () const { return m_crstate; } - bool SetCrstate ( const uint8_t& chCrstate ) - { - m_crstate = chCrstate; - return true; - } -private: - string m_uid; - string m_version; - uint8_t m_crstate; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqSetUsercrinfo::Size() const -{ - uint32_t nSize = 13; - nSize += m_uid.length(); - nSize += m_version.length(); - return nSize; -} - -class CCascRspSetUsercrinfo : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_SET_USERCRINFO - }; - CCascRspSetUsercrinfo() - { - } - - ~CCascRspSetUsercrinfo() { } - CCascRspSetUsercrinfo(const uint32_t& dwRetcode, const uint8_t& chCrstate, const uint32_t& dwBegtime, const uint32_t& dwCrdays, const string& strExtmsg) - { - m_retcode = dwRetcode; - m_crstate = chCrstate; - m_begtime = dwBegtime; - m_crdays = dwCrdays; - m_extmsg = strExtmsg; - } - CCascRspSetUsercrinfo& operator=( const CCascRspSetUsercrinfo& cCascRspSetUsercrinfo ) - { - m_retcode = cCascRspSetUsercrinfo.m_retcode; - m_crstate = cCascRspSetUsercrinfo.m_crstate; - m_begtime = cCascRspSetUsercrinfo.m_begtime; - m_crdays = cCascRspSetUsercrinfo.m_crdays; - m_extmsg = cCascRspSetUsercrinfo.m_extmsg; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint8_t& GetCrstate () const { return m_crstate; } - bool SetCrstate ( const uint8_t& chCrstate ) - { - m_crstate = chCrstate; - return true; - } - const uint32_t& GetBegtime () const { return m_begtime; } - bool SetBegtime ( const uint32_t& dwBegtime ) - { - m_begtime = dwBegtime; - return true; - } - const uint32_t& GetCrdays () const { return m_crdays; } - bool SetCrdays ( const uint32_t& dwCrdays ) - { - m_crdays = dwCrdays; - return true; - } - const string& GetExtmsg () const { return m_extmsg; } - bool SetExtmsg ( const string& strExtmsg ) - { - m_extmsg = strExtmsg; - return true; - } -private: - uint32_t m_retcode; - uint8_t m_crstate; - uint32_t m_begtime; - uint32_t m_crdays; - string m_extmsg; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspSetUsercrinfo::Size() const -{ - uint32_t nSize = 23; - nSize += m_extmsg.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/.svn/text-base/chkss_pack.h.svn-base b/features/aliww/include/.svn/text-base/chkss_pack.h.svn-base deleted file mode 100644 index d9ee82c..0000000 --- a/features/aliww/include/.svn/text-base/chkss_pack.h.svn-base +++ /dev/null @@ -1,101 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: chkss_pack.h -// Date: 2011-01-30 12:49:12 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __CHKSS_PACK_H__ -#define __CHKSS_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "ss_head.h" -#include "const_macro.h" - -using namespace std; - -enum CHKSS_REQUEST -{ - SS_HEALTH_CHECK = 0x1, - -}; - -class CSsHealthCheck : public CPackData -{ -public: - enum - { - CMD_ID = SS_HEALTH_CHECK - }; - CSsHealthCheck() - { - } - - ~CSsHealthCheck() { } - CSsHealthCheck(const uint8_t& chSrvstatus, const string& strSrvip, const uint16_t& wSrvport, const uint64_t& ullAppBitmap) - { - m_srvstatus = chSrvstatus; - m_srvip = strSrvip; - m_srvport = wSrvport; - m_appBitmap = ullAppBitmap; - } - CSsHealthCheck& operator=( const CSsHealthCheck& cSsHealthCheck ) - { - m_srvstatus = cSsHealthCheck.m_srvstatus; - m_srvip = cSsHealthCheck.m_srvip; - m_srvport = cSsHealthCheck.m_srvport; - m_appBitmap = cSsHealthCheck.m_appBitmap; - return *this; - } - - const uint8_t& GetSrvstatus () const { return m_srvstatus; } - bool SetSrvstatus ( const uint8_t& chSrvstatus ) - { - m_srvstatus = chSrvstatus; - return true; - } - const string& GetSrvip () const { return m_srvip; } - bool SetSrvip ( const string& strSrvip ) - { - m_srvip = strSrvip; - return true; - } - const uint16_t& GetSrvport () const { return m_srvport; } - bool SetSrvport ( const uint16_t& wSrvport ) - { - m_srvport = wSrvport; - return true; - } - const uint64_t& GetAppBitmap () const { return m_appBitmap; } - bool SetAppBitmap ( const uint64_t& ullAppBitmap ) - { - m_appBitmap = ullAppBitmap; - return true; - } -private: - uint8_t m_srvstatus; - string m_srvip; - uint16_t m_srvport; - uint64_t m_appBitmap; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsHealthCheck::Size() const -{ - uint32_t nSize = 20; - nSize += m_srvip.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/.svn/text-base/const_macro.h.svn-base b/features/aliww/include/.svn/text-base/const_macro.h.svn-base deleted file mode 100644 index 7372044..0000000 --- a/features/aliww/include/.svn/text-base/const_macro.h.svn-base +++ /dev/null @@ -1,151 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: const_macro.h -// Date: 2011-02-22 11:43:26 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __CONST_MACRO_H__ -#define __CONST_MACRO_H__ - -#ifndef VERSION_LENGTH -#define VERSION_LENGTH 128 -#endif - -#ifndef LANG_LENGTH -#define LANG_LENGTH 32 -#endif - -#ifndef REMARK_LENGTH -#define REMARK_LENGTH 256 -#endif - -#ifndef UID_LENGTH -#define UID_LENGTH 64 -#endif - -#ifndef PWD_LENGTH -#define PWD_LENGTH 48 -#endif - -#ifndef KEY_LENGTH -#define KEY_LENGTH 16 -#endif - -#ifndef NICKNAME_LENGTH -#define NICKNAME_LENGTH 32 -#endif - -#ifndef MAXSEQID_LENGTH -#define MAXSEQID_LENGTH 20 -#endif - -#ifndef VERIFY_LENGTH -#define VERIFY_LENGTH 256 -#endif - -#ifndef SIGN_LENGTH -#define SIGN_LENGTH 1024 -#endif - -#ifndef IP_LENGTH -#define IP_LENGTH 15 -#endif - -#ifndef FILENAME_LENGTH -#define FILENAME_LENGTH 256 -#endif - -#ifndef SESSION_LENGTH -#define SESSION_LENGTH 64 -#endif - -#ifndef CONTENT_LENGTH -#define CONTENT_LENGTH 4000 -#endif - -#ifndef UID_PREFIX_LENGTH -#define UID_PREFIX_LENGTH 8 -#endif - -#ifndef TID_LENGTH -#define TID_LENGTH 20 -#endif - -#ifndef TBS_NAME_LENGTH -#define TBS_NAME_LENGTH 64 -#endif - -#ifndef TBS_MSG_LENGTH -#define TBS_MSG_LENGTH 512 -#endif - -#ifndef TBS_DATE_LEN -#define TBS_DATE_LEN 20 -#endif - -#ifndef TBS_PASS_LEN -#define TBS_PASS_LEN 20 -#endif - -#ifndef TBS_VALID_LEN -#define TBS_VALID_LEN 32 -#endif - -#ifndef TBS_KEYWORD_LEN -#define TBS_KEYWORD_LEN 64 -#endif - -#ifndef TBS_EXTSIGN_LEN -#define TBS_EXTSIGN_LEN 64 -#endif - -#ifndef SC_PROTOCOL_STARTER -#define SC_PROTOCOL_STARTER 0x88 -#endif - -#ifndef SS_PROTOCOL_STARTER -#define SS_PROTOCOL_STARTER 0xDA -#endif - -#ifndef SS_HEAD_CMD_POS -#define SS_HEAD_CMD_POS 0x08 -#endif - -#ifndef SS_HEAD_LEN_POS -#define SS_HEAD_LEN_POS 0x10 -#endif - -#ifndef MOBILE_LENGTH -#define MOBILE_LENGTH 16 -#endif - -#ifndef SMS_VALICODE_LENGTH -#define SMS_VALICODE_LENGTH 8 -#endif - -#ifndef SMS_ACCOUNT_LENGTH -#define SMS_ACCOUNT_LENGTH 64 -#endif - -#ifndef SMS_PASSWORD_LENGTH -#define SMS_PASSWORD_LENGTH 16 -#endif - -#ifndef SMS_TRANSACTION_ID_LENGTH -#define SMS_TRANSACTION_ID_LENGTH 32 -#endif - -#ifndef TIME_MAX_LENGTH -#define TIME_MAX_LENGTH 20 -#endif - -#ifndef DISCOUNT_LENGTH -#define DISCOUNT_LENGTH 4 -#endif - -#ifndef PASSWORD_LENGTH -#define PASSWORD_LENGTH 48 -#endif - -#endif diff --git a/features/aliww/include/.svn/text-base/contactdbservie.h.svn-base b/features/aliww/include/.svn/text-base/contactdbservie.h.svn-base deleted file mode 100644 index e4745cf..0000000 --- a/features/aliww/include/.svn/text-base/contactdbservie.h.svn-base +++ /dev/null @@ -1,1286 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `contactdbservie.ice' - -#ifndef __contactdbservie_h__ -#define __contactdbservie_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIMDBBase -{ - -class IContactIMDBService; -bool operator==(const IContactIMDBService&, const IContactIMDBService&); -bool operator!=(const IContactIMDBService&, const IContactIMDBService&); -bool operator<(const IContactIMDBService&, const IContactIMDBService&); -bool operator<=(const IContactIMDBService&, const IContactIMDBService&); -bool operator>(const IContactIMDBService&, const IContactIMDBService&); -bool operator>=(const IContactIMDBService&, const IContactIMDBService&); - -} - -} - -namespace AliIMDBBase -{ - -class IContactIMDBService; -bool operator==(const IContactIMDBService&, const IContactIMDBService&); -bool operator!=(const IContactIMDBService&, const IContactIMDBService&); -bool operator<(const IContactIMDBService&, const IContactIMDBService&); -bool operator<=(const IContactIMDBService&, const IContactIMDBService&); -bool operator>(const IContactIMDBService&, const IContactIMDBService&); -bool operator>=(const IContactIMDBService&, const IContactIMDBService&); - -} - -namespace IceInternal -{ - -void incRef(::AliIMDBBase::IContactIMDBService*); -void decRef(::AliIMDBBase::IContactIMDBService*); - -void incRef(::IceProxy::AliIMDBBase::IContactIMDBService*); -void decRef(::IceProxy::AliIMDBBase::IContactIMDBService*); - -} - -namespace AliIMDBBase -{ - -typedef ::IceInternal::Handle< ::AliIMDBBase::IContactIMDBService> IContactIMDBServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIMDBBase::IContactIMDBService> IContactIMDBServicePrx; - -void __write(::IceInternal::BasicStream*, const IContactIMDBServicePrx&); -void __read(::IceInternal::BasicStream*, IContactIMDBServicePrx&); -void __write(::IceInternal::BasicStream*, const IContactIMDBServicePtr&); -void __patch__IContactIMDBServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IContactIMDBServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IContactIMDBServicePtr&); -void __decRefUnsafe(const IContactIMDBServicePtr&); -void __clearHandleUnsafe(IContactIMDBServicePtr&); - -} - -namespace AliIMDBBase -{ - -} - -namespace IceProxy -{ - -namespace AliIMDBBase -{ - -class IContactIMDBService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int CheckCanAddContact(const ::std::string& userId, const ::std::string& buddyId) - { - return CheckCanAddContact(userId, buddyId, 0); - } - ::Ice::Int CheckCanAddContact(const ::std::string& userId, const ::std::string& buddyId, const ::Ice::Context& __ctx) - { - return CheckCanAddContact(userId, buddyId, &__ctx); - } - -private: - - ::Ice::Int CheckCanAddContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactWebInfo(const ::std::string& userId, const ::std::string& buddyId, const ::AliIMDBBase::SUserWebBasicProfile& cntWebInfo) - { - return UpdateContactWebInfo(userId, buddyId, cntWebInfo, 0); - } - ::Ice::Int UpdateContactWebInfo(const ::std::string& userId, const ::std::string& buddyId, const ::AliIMDBBase::SUserWebBasicProfile& cntWebInfo, const ::Ice::Context& __ctx) - { - return UpdateContactWebInfo(userId, buddyId, cntWebInfo, &__ctx); - } - -private: - - ::Ice::Int UpdateContactWebInfo(const ::std::string&, const ::std::string&, const ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*); - -public: - - ::Ice::Int GetGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, ::Ice::Int& groupTimes) - { - return GetGroupList(userId, groupList, groupTimes, 0); - } - ::Ice::Int GetGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return GetGroupList(userId, groupList, groupTimes, &__ctx); - } - -private: - - ::Ice::Int GetGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetGroupListEx(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoExSeq& groupList, ::Ice::Int& groupTimes) - { - return GetGroupListEx(userId, groupList, groupTimes, 0); - } - ::Ice::Int GetGroupListEx(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoExSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return GetGroupListEx(userId, groupList, groupTimes, &__ctx); - } - -private: - - ::Ice::Int GetGroupListEx(const ::std::string&, ::AliIMDBBase::SICEGroupInfoExSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetContactList(const ::std::string& userId, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes) - { - return GetContactList(userId, getFlag, contactList, contactTimes, 0); - } - ::Ice::Int GetContactList(const ::std::string& userId, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return GetContactList(userId, getFlag, contactList, contactTimes, &__ctx); - } - -private: - - ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetBlackList(const ::std::string& userId, ::Ice::StringSeq& blackList, ::Ice::Int& blacklistTimes) - { - return GetBlackList(userId, blackList, blacklistTimes, 0); - } - ::Ice::Int GetBlackList(const ::std::string& userId, ::Ice::StringSeq& blackList, ::Ice::Int& blacklistTimes, const ::Ice::Context& __ctx) - { - return GetBlackList(userId, blackList, blacklistTimes, &__ctx); - } - -private: - - ::Ice::Int GetBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetReverseBlackList(const ::std::string& userId, ::Ice::StringSeq& reverseBlackList, ::Ice::Int& reverseBlacklistTimes) - { - return GetReverseBlackList(userId, reverseBlackList, reverseBlacklistTimes, 0); - } - ::Ice::Int GetReverseBlackList(const ::std::string& userId, ::Ice::StringSeq& reverseBlackList, ::Ice::Int& reverseBlacklistTimes, const ::Ice::Context& __ctx) - { - return GetReverseBlackList(userId, reverseBlackList, reverseBlacklistTimes, &__ctx); - } - -private: - - ::Ice::Int GetReverseBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetContactInfo(const ::std::string& userId, const ::std::string& contactId, ::AliIMDBBase::SICEContactInfo& contactInfo) - { - return GetContactInfo(userId, contactId, contactInfo, 0); - } - ::Ice::Int GetContactInfo(const ::std::string& userId, const ::std::string& contactId, ::AliIMDBBase::SICEContactInfo& contactInfo, const ::Ice::Context& __ctx) - { - return GetContactInfo(userId, contactId, contactInfo, &__ctx); - } - -private: - - ::Ice::Int GetContactInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEContactInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int AddGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, ::Ice::Int& groupTimes) - { - return AddGroup(userId, groupName, groupId, groupTimes, 0); - } - ::Ice::Int AddGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return AddGroup(userId, groupName, groupId, groupTimes, &__ctx); - } - -private: - - ::Ice::Int AddGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int AddGroupEx(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int parentId, ::Ice::Int& groupId, ::Ice::Int& groupTimes) - { - return AddGroupEx(userId, groupName, parentId, groupId, groupTimes, 0); - } - ::Ice::Int AddGroupEx(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int parentId, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return AddGroupEx(userId, groupName, parentId, groupId, groupTimes, &__ctx); - } - -private: - - ::Ice::Int AddGroupEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int AddBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes) - { - return AddBlackList(userId, blackId, blackListTimes, 0); - } - ::Ice::Int AddBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context& __ctx) - { - return AddBlackList(userId, blackId, blackListTimes, &__ctx); - } - -private: - - ::Ice::Int AddBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, ::Ice::Int& groupTimes) - { - return UpdateGroup(userId, groupName, groupId, groupTimes, 0); - } - ::Ice::Int UpdateGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return UpdateGroup(userId, groupName, groupId, groupTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int MoveGroup(const ::std::string& userId, ::Ice::Long groupId, ::Ice::Long newparentgid, ::Ice::Int& groupTimes) - { - return MoveGroup(userId, groupId, newparentgid, groupTimes, 0); - } - ::Ice::Int MoveGroup(const ::std::string& userId, ::Ice::Long groupId, ::Ice::Long newparentgid, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return MoveGroup(userId, groupId, newparentgid, groupTimes, &__ctx); - } - -private: - - ::Ice::Int MoveGroup(const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactNickName(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int& contactTimes) - { - return UpdateContactNickName(userId, contactId, nickName, contactTimes, 0); - } - ::Ice::Int UpdateContactNickName(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return UpdateContactNickName(userId, contactId, nickName, contactTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes) - { - return UpdateContactGroup(userId, contactId, srcGroupId, dstGroupId, contactTimes, 0); - } - ::Ice::Int UpdateContactGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return UpdateContactGroup(userId, contactId, srcGroupId, dstGroupId, contactTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateContactGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactStatus(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int status, ::Ice::Int& contactTimes) - { - return UpdateContactStatus(userId, contactId, status, contactTimes, 0); - } - ::Ice::Int UpdateContactStatus(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int status, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return UpdateContactStatus(userId, contactId, status, contactTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateContactStatus(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveGroup(const ::std::string& userId, ::Ice::Int groupId, ::Ice::Int& groupTimes) - { - return RemoveGroup(userId, groupId, groupTimes, 0); - } - ::Ice::Int RemoveGroup(const ::std::string& userId, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return RemoveGroup(userId, groupId, groupTimes, &__ctx); - } - -private: - - ::Ice::Int RemoveGroup(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes) - { - return RemoveContact(userId, contactId, contactTimes, 0); - } - ::Ice::Int RemoveContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return RemoveContact(userId, contactId, contactTimes, &__ctx); - } - -private: - - ::Ice::Int RemoveContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveInverfiedContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes) - { - return RemoveInverfiedContact(userId, contactId, contactTimes, 0); - } - ::Ice::Int RemoveInverfiedContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return RemoveInverfiedContact(userId, contactId, contactTimes, &__ctx); - } - -private: - - ::Ice::Int RemoveInverfiedContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes) - { - return RemoveBlackList(userId, blackId, blackListTimes, 0); - } - ::Ice::Int RemoveBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context& __ctx) - { - return RemoveBlackList(userId, blackId, blackListTimes, &__ctx); - } - -private: - - ::Ice::Int RemoveBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int IsBlackedByOther(const ::std::string& userId, const ::std::string& otheruid, bool& bBlacked) - { - return IsBlackedByOther(userId, otheruid, bBlacked, 0); - } - ::Ice::Int IsBlackedByOther(const ::std::string& userId, const ::std::string& otheruid, bool& bBlacked, const ::Ice::Context& __ctx) - { - return IsBlackedByOther(userId, otheruid, bBlacked, &__ctx); - } - -private: - - ::Ice::Int IsBlackedByOther(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveBatchContacts(const ::std::string& userId, const ::Ice::StringSeq& cids, ::Ice::StringSeq& retVect, ::Ice::Int& modifyCntTimes, ::Ice::Int& modifyGenCntTime) - { - return RemoveBatchContacts(userId, cids, retVect, modifyCntTimes, modifyGenCntTime, 0); - } - ::Ice::Int RemoveBatchContacts(const ::std::string& userId, const ::Ice::StringSeq& cids, ::Ice::StringSeq& retVect, ::Ice::Int& modifyCntTimes, ::Ice::Int& modifyGenCntTime, const ::Ice::Context& __ctx) - { - return RemoveBatchContacts(userId, cids, retVect, modifyCntTimes, modifyGenCntTime, &__ctx); - } - -private: - - ::Ice::Int RemoveBatchContacts(const ::std::string&, const ::Ice::StringSeq&, ::Ice::StringSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetAllContactList(const ::std::string& uid, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, ::Ice::Int& gencontacttimes) - { - return GetAllContactList(uid, getFlag, contactList, contactTimes, gencontacttimes, 0); - } - ::Ice::Int GetAllContactList(const ::std::string& uid, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, ::Ice::Int& gencontacttimes, const ::Ice::Context& __ctx) - { - return GetAllContactList(uid, getFlag, contactList, contactTimes, gencontacttimes, &__ctx); - } - -private: - - ::Ice::Int GetAllContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int AddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::AliIMDBBase::SUserWebBasicProfile& cntInfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid) - { - return AddContact(userId, contactId, nickName, groupId, status, cntInfo, contactTimes, retcid, retmodseqid, 0); - } - ::Ice::Int AddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::AliIMDBBase::SUserWebBasicProfile& cntInfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid, const ::Ice::Context& __ctx) - { - return AddContact(userId, contactId, nickName, groupId, status, cntInfo, contactTimes, retcid, retmodseqid, &__ctx); - } - -private: - - ::Ice::Int AddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int ModifyCntMemo(const ::std::string& uid, const ::std::string& cntid, const ::std::string& memo) - { - return ModifyCntMemo(uid, cntid, memo, 0); - } - ::Ice::Int ModifyCntMemo(const ::std::string& uid, const ::std::string& cntid, const ::std::string& memo, const ::Ice::Context& __ctx) - { - return ModifyCntMemo(uid, cntid, memo, &__ctx); - } - -private: - - ::Ice::Int ModifyCntMemo(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetCntMemo(const ::std::string& uid, const ::std::string& cntid, ::std::string& memo) - { - return GetCntMemo(uid, cntid, memo, 0); - } - ::Ice::Int GetCntMemo(const ::std::string& uid, const ::std::string& cntid, ::std::string& memo, const ::Ice::Context& __ctx) - { - return GetCntMemo(uid, cntid, memo, &__ctx); - } - -private: - - ::Ice::Int GetCntMemo(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int updateContactClientInfo(const ::std::string& uid, const ::std::string& cid, const ::std::string& data, ::Ice::Int& contactTimes) - { - return updateContactClientInfo(uid, cid, data, contactTimes, 0); - } - ::Ice::Int updateContactClientInfo(const ::std::string& uid, const ::std::string& cid, const ::std::string& data, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return updateContactClientInfo(uid, cid, data, contactTimes, &__ctx); - } - -private: - - ::Ice::Int updateContactClientInfo(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int checkContact(const ::std::string& uid, const ::std::string& contactId) - { - return checkContact(uid, contactId, 0); - } - ::Ice::Int checkContact(const ::std::string& uid, const ::std::string& contactId, const ::Ice::Context& __ctx) - { - return checkContact(uid, contactId, &__ctx); - } - -private: - - ::Ice::Int checkContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetContactDetailByUid(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail) - { - return GetContactDetailByUid(uid, cid, detail, 0); - } - ::Ice::Int GetContactDetailByUid(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context& __ctx) - { - return GetContactDetailByUid(uid, cid, detail, &__ctx); - } - -private: - - ::Ice::Int GetContactDetailByUid(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*); - -public: - - ::Ice::Int GetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail) - { - return GetContactDetail(uid, cid, detail, 0); - } - ::Ice::Int GetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context& __ctx) - { - return GetContactDetail(uid, cid, detail, &__ctx); - } - -private: - - ::Ice::Int GetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*); - -public: - - ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull& detail, ::std::string& retscid, ::std::string& retsmodseqid, ::Ice::Long& timeStamps) - { - return AddGenContactFull(detail, retscid, retsmodseqid, timeStamps, 0); - } - ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull& detail, ::std::string& retscid, ::std::string& retsmodseqid, ::Ice::Long& timeStamps, const ::Ice::Context& __ctx) - { - return AddGenContactFull(detail, retscid, retsmodseqid, timeStamps, &__ctx); - } - -private: - - ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull&, ::std::string&, ::std::string&, ::Ice::Long&, const ::Ice::Context*); - -public: - - ::Ice::Int DelGenContact(const ::std::string& uid, const ::std::string& cid, ::Ice::Long& contactTimes) - { - return DelGenContact(uid, cid, contactTimes, 0); - } - ::Ice::Int DelGenContact(const ::std::string& uid, const ::std::string& cid, ::Ice::Long& contactTimes, const ::Ice::Context& __ctx) - { - return DelGenContact(uid, cid, contactTimes, &__ctx); - } - -private: - - ::Ice::Int DelGenContact(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckUpgradeGenCnt(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId) - { - return CheckUpgradeGenCnt(uid, cid, contactId, 0); - } - ::Ice::Int CheckUpgradeGenCnt(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, const ::Ice::Context& __ctx) - { - return CheckUpgradeGenCnt(uid, cid, contactId, &__ctx); - } - -private: - - ::Ice::Int CheckUpgradeGenCnt(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpgradeGenContact(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& modseqid) - { - return UpgradeGenContact(uid, cid, contactId, cntstamp, gencntstamp, modseqid, 0); - } - ::Ice::Int UpgradeGenContact(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& modseqid, const ::Ice::Context& __ctx) - { - return UpgradeGenContact(uid, cid, contactId, cntstamp, gencntstamp, modseqid, &__ctx); - } - -private: - - ::Ice::Int UpgradeGenContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUpdatedUserInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& retcid, ::std::string& modseqid, ::Ice::Long& groupid, ::std::string& nickname) - { - return GetUpdatedUserInfo(uid, contactId, cntstamp, gencntstamp, retcid, modseqid, groupid, nickname, 0); - } - ::Ice::Int GetUpdatedUserInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& retcid, ::std::string& modseqid, ::Ice::Long& groupid, ::std::string& nickname, const ::Ice::Context& __ctx) - { - return GetUpdatedUserInfo(uid, contactId, cntstamp, gencntstamp, retcid, modseqid, groupid, nickname, &__ctx); - } - -private: - - ::Ice::Int GetUpdatedUserInfo(const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, ::std::string&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid) - { - return ModifyContactDetail(detail, gencntmodifyVersion, modseqid, 0); - } - ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid, const ::Ice::Context& __ctx) - { - return ModifyContactDetail(detail, gencntmodifyVersion, modseqid, &__ctx); - } - -private: - - ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactGroupByCid(const ::std::string& userId, const ::std::string& cid, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes) - { - return UpdateContactGroupByCid(userId, cid, srcGroupId, dstGroupId, contactTimes, 0); - } - ::Ice::Int UpdateContactGroupByCid(const ::std::string& userId, const ::std::string& cid, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return UpdateContactGroupByCid(userId, cid, srcGroupId, dstGroupId, contactTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateContactGroupByCid(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactNickNameByCid(const ::std::string& userId, const ::std::string& cid, const ::std::string& nickName, ::Ice::Int& contactTimes) - { - return UpdateContactNickNameByCid(userId, cid, nickName, contactTimes, 0); - } - ::Ice::Int UpdateContactNickNameByCid(const ::std::string& userId, const ::std::string& cid, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return UpdateContactNickNameByCid(userId, cid, nickName, contactTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateContactNickNameByCid(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetCntModifyList(::Ice::Int getFlag, const ::std::string& uid, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntCidModPairSeq& cntList) - { - return GetCntModifyList(getFlag, uid, sMaxSeqId, cntList, 0); - } - ::Ice::Int GetCntModifyList(::Ice::Int getFlag, const ::std::string& uid, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntCidModPairSeq& cntList, const ::Ice::Context& __ctx) - { - return GetCntModifyList(getFlag, uid, sMaxSeqId, cntList, &__ctx); - } - -private: - - ::Ice::Int GetCntModifyList(::Ice::Int, const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntCidModPairSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int addUser(const ::std::string& uid) - { - return addUser(uid, 0); - } - ::Ice::Int addUser(const ::std::string& uid, const ::Ice::Context& __ctx) - { - return addUser(uid, &__ctx); - } - -private: - - ::Ice::Int addUser(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int addChildUser(const ::std::string& uid) - { - return addChildUser(uid, 0); - } - ::Ice::Int addChildUser(const ::std::string& uid, const ::Ice::Context& __ctx) - { - return addChildUser(uid, &__ctx); - } - -private: - - ::Ice::Int addChildUser(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetMultiAccountContactList(const ::std::string& uid, ::AliIMDBBase::SICEContactInfoSeq& contactIdList) - { - return GetMultiAccountContactList(uid, contactIdList, 0); - } - ::Ice::Int GetMultiAccountContactList(const ::std::string& uid, ::AliIMDBBase::SICEContactInfoSeq& contactIdList, const ::Ice::Context& __ctx) - { - return GetMultiAccountContactList(uid, contactIdList, &__ctx); - } - -private: - - ::Ice::Int GetMultiAccountContactList(const ::std::string&, ::AliIMDBBase::SICEContactInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int atmAddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::atmWebMember::sContactInfo& cinfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid) - { - return atmAddContact(userId, contactId, nickName, groupId, status, cinfo, contactTimes, retcid, retmodseqid, 0); - } - ::Ice::Int atmAddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::atmWebMember::sContactInfo& cinfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid, const ::Ice::Context& __ctx) - { - return atmAddContact(userId, contactId, nickName, groupId, status, cinfo, contactTimes, retcid, retmodseqid, &__ctx); - } - -private: - - ::Ice::Int atmAddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::atmWebMember::sContactInfo&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int atmGetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEATMGenContactFull& detail) - { - return atmGetContactDetail(uid, cid, detail, 0); - } - ::Ice::Int atmGetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEATMGenContactFull& detail, const ::Ice::Context& __ctx) - { - return atmGetContactDetail(uid, cid, detail, &__ctx); - } - -private: - - ::Ice::Int atmGetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEATMGenContactFull&, const ::Ice::Context*); - -public: - - ::Ice::Int atmModifyContactDetail(const ::AliIMDBBase::SICEATMGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid) - { - return atmModifyContactDetail(detail, gencntmodifyVersion, modseqid, 0); - } - ::Ice::Int atmModifyContactDetail(const ::AliIMDBBase::SICEATMGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid, const ::Ice::Context& __ctx) - { - return atmModifyContactDetail(detail, gencntmodifyVersion, modseqid, &__ctx); - } - -private: - - ::Ice::Int atmModifyContactDetail(const ::AliIMDBBase::SICEATMGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIMDBBase -{ - -class IContactIMDBService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int CheckCanAddContact(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactWebInfo(const ::std::string&, const ::std::string&, const ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetGroupListEx(const ::std::string&, ::AliIMDBBase::SICEGroupInfoExSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetReverseBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetContactInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEContactInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddGroupEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int MoveGroup(const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactStatus(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveGroup(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveInverfiedContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int IsBlackedByOther(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveBatchContacts(const ::std::string&, const ::Ice::StringSeq&, ::Ice::StringSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAllContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ModifyCntMemo(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetCntMemo(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateContactClientInfo(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkContact(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetContactDetailByUid(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull&, ::std::string&, ::std::string&, ::Ice::Long&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelGenContact(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckUpgradeGenCnt(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpgradeGenContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUpdatedUserInfo(const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, ::std::string&, ::Ice::Long&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactGroupByCid(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactNickNameByCid(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetCntModifyList(::Ice::Int, const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntCidModPairSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int addUser(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int addChildUser(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetMultiAccountContactList(const ::std::string&, ::AliIMDBBase::SICEContactInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int atmAddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::atmWebMember::sContactInfo&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int atmGetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEATMGenContactFull&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int atmModifyContactDetail(const ::AliIMDBBase::SICEATMGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIMDBBase -{ - -class IContactIMDBService : virtual public ::IceDelegate::AliIMDBBase::IContactIMDBService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int CheckCanAddContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactWebInfo(const ::std::string&, const ::std::string&, const ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*); - - virtual ::Ice::Int GetGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetGroupListEx(const ::std::string&, ::AliIMDBBase::SICEGroupInfoExSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetReverseBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEContactInfo&, const ::Ice::Context*); - - virtual ::Ice::Int AddGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddGroupEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int MoveGroup(const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactStatus(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveGroup(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveInverfiedContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int IsBlackedByOther(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveBatchContacts(const ::std::string&, const ::Ice::StringSeq&, ::Ice::StringSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ModifyCntMemo(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetCntMemo(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateContactClientInfo(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int checkContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactDetailByUid(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*); - - virtual ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull&, ::std::string&, ::std::string&, ::Ice::Long&, const ::Ice::Context*); - - virtual ::Ice::Int DelGenContact(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUpgradeGenCnt(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpgradeGenContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUpdatedUserInfo(const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, ::std::string&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactGroupByCid(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactNickNameByCid(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetCntModifyList(::Ice::Int, const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntCidModPairSeq&, const ::Ice::Context*); - - virtual ::Ice::Int addUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int addChildUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetMultiAccountContactList(const ::std::string&, ::AliIMDBBase::SICEContactInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int atmAddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::atmWebMember::sContactInfo&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int atmGetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEATMGenContactFull&, const ::Ice::Context*); - - virtual ::Ice::Int atmModifyContactDetail(const ::AliIMDBBase::SICEATMGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIMDBBase -{ - -class IContactIMDBService : virtual public ::IceDelegate::AliIMDBBase::IContactIMDBService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int CheckCanAddContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactWebInfo(const ::std::string&, const ::std::string&, const ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*); - - virtual ::Ice::Int GetGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetGroupListEx(const ::std::string&, ::AliIMDBBase::SICEGroupInfoExSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetReverseBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEContactInfo&, const ::Ice::Context*); - - virtual ::Ice::Int AddGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddGroupEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int MoveGroup(const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactStatus(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveGroup(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveInverfiedContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int IsBlackedByOther(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveBatchContacts(const ::std::string&, const ::Ice::StringSeq&, ::Ice::StringSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ModifyCntMemo(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetCntMemo(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateContactClientInfo(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int checkContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactDetailByUid(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*); - - virtual ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull&, ::std::string&, ::std::string&, ::Ice::Long&, const ::Ice::Context*); - - virtual ::Ice::Int DelGenContact(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUpgradeGenCnt(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpgradeGenContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUpdatedUserInfo(const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, ::std::string&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactGroupByCid(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactNickNameByCid(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetCntModifyList(::Ice::Int, const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntCidModPairSeq&, const ::Ice::Context*); - - virtual ::Ice::Int addUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int addChildUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetMultiAccountContactList(const ::std::string&, ::AliIMDBBase::SICEContactInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int atmAddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::atmWebMember::sContactInfo&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int atmGetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEATMGenContactFull&, const ::Ice::Context*); - - virtual ::Ice::Int atmModifyContactDetail(const ::AliIMDBBase::SICEATMGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIMDBBase -{ - -class IContactIMDBService : virtual public ::Ice::Object -{ -public: - - typedef IContactIMDBServicePrx ProxyType; - typedef IContactIMDBServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int CheckCanAddContact(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckCanAddContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateContactWebInfo(const ::std::string&, const ::std::string&, const ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactWebInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetGroupList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetGroupListEx(const ::std::string&, ::AliIMDBBase::SICEGroupInfoExSeq&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetGroupListEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetContactList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetBlackList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetReverseBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetReverseBlackList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetContactInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEContactInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetContactInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddGroupEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddGroupEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddBlackList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int MoveGroup(const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___MoveGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactNickName(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateContactGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateContactStatus(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int RemoveGroup(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int RemoveContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int RemoveInverfiedContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveInverfiedContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int RemoveBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveBlackList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int IsBlackedByOther(const ::std::string&, const ::std::string&, bool&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___IsBlackedByOther(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int RemoveBatchContacts(const ::std::string&, const ::Ice::StringSeq&, ::Ice::StringSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveBatchContacts(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetAllContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAllContactList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int ModifyCntMemo(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ModifyCntMemo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetCntMemo(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetCntMemo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateContactClientInfo(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateContactClientInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int checkContact(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetContactDetailByUid(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetContactDetailByUid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetContactDetail(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull&, ::std::string&, ::std::string&, ::Ice::Long&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddGenContactFull(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DelGenContact(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelGenContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int CheckUpgradeGenCnt(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUpgradeGenCnt(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpgradeGenContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpgradeGenContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetUpdatedUserInfo(const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, ::std::string&, ::Ice::Long&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUpdatedUserInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ModifyContactDetail(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateContactGroupByCid(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactGroupByCid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateContactNickNameByCid(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactNickNameByCid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetCntModifyList(::Ice::Int, const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntCidModPairSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetCntModifyList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int addUser(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int addChildUser(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addChildUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetMultiAccountContactList(const ::std::string&, ::AliIMDBBase::SICEContactInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetMultiAccountContactList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int atmAddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::atmWebMember::sContactInfo&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___atmAddContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int atmGetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEATMGenContactFull&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___atmGetContactDetail(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int atmModifyContactDetail(const ::AliIMDBBase::SICEATMGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___atmModifyContactDetail(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IContactIMDBServicePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/cow_container.svn-base b/features/aliww/include/.svn/text-base/cow_container.svn-base deleted file mode 100644 index 8d0ce5a..0000000 --- a/features/aliww/include/.svn/text-base/cow_container.svn-base +++ /dev/null @@ -1,387 +0,0 @@ -#ifndef _COW_CONTAINER_ -#define _COW_CONTAINER_ - -#ifdef _WIN32 -#include -#else -#include -#endif -#include -#include -#include - -using namespace __gnu_cxx; -template -class cow_struct -{ -public: - cow_struct() - { - m_pCowNode = new cow_node; - m_pCowNode->m_refCount = 0; - } - cow_struct(const cow_struct& __cc) - { - m_pCowNode = __cc.m_pCowNode; -#ifdef _WIN32 - _InterlockedIncrement(&m_pCowNode->m_refCount); -#else - __atomic_add(&m_pCowNode->m_refCount, 1); -#endif - } - cow_struct(const _Tp& __cc) - { - m_pCowNode = new cow_node; - m_pCowNode->m_refCount = 0; - m_pCowNode->m_data = __cc; - } - ~cow_struct() - { -#ifdef _WIN32 - if(_InterlockedDecrement(&m_pCowNode->m_refCount) < 0) -#else - if(__exchange_and_add(&m_pCowNode->m_refCount, -1) <= 0) -#endif - delete m_pCowNode; - } - cow_struct &operator=(const cow_struct& __cc) - { - if(m_pCowNode != __cc.m_pCowNode) { -#ifdef _WIN32 - if(_InterlockedDecrement(&m_pCowNode->m_refCount) < 0) -#else - if(__exchange_and_add(&m_pCowNode->m_refCount, -1) <= 0) -#endif - delete m_pCowNode; - m_pCowNode = __cc.m_pCowNode; -#ifdef _WIN32 - _InterlockedIncrement(&m_pCowNode->m_refCount); -#else - __atomic_add(&m_pCowNode->m_refCount, 1); -#endif - } - return *this; - } - cow_struct &operator=(const _Tp& __cc) - { -#ifdef _WIN32 - if(_InterlockedDecrement(&m_pCowNode->m_refCount) < 0) -#else - if(__exchange_and_add(&m_pCowNode->m_refCount, -1) <= 0) -#endif - delete m_pCowNode; - m_pCowNode = new cow_node; - m_pCowNode->m_refCount = 0; - m_pCowNode->m_data = __cc; - return *this; - } - const _Tp& data() const - { - return m_pCowNode->m_data; - } -protected: - struct cow_node - { -#ifdef _WIN32 - long m_refCount; -#else - int m_refCount; -#endif - _Tp m_data; - }; - cow_node *m_pCowNode; -protected: - void do_copy() - { - if(m_pCowNode->m_refCount > 0) - { - cow_node* newNode = new cow_node; - newNode->m_refCount = 0; - newNode->m_data = m_pCowNode->m_data; -#ifdef _WIN32 - if(_InterlockedDecrement(&m_pCowNode->m_refCount) < 0) -#else - if(__exchange_and_add(&m_pCowNode->m_refCount, -1) <= 0) -#endif - delete m_pCowNode; - m_pCowNode = newNode; - } - } -}; - -template -class cow_container : public cow_struct<_Tp> -{ -protected: - typedef cow_struct<_Tp> _BaseStruct; - using _BaseStruct::do_copy; - using _BaseStruct::m_pCowNode; - -public: - typedef typename _Tp::value_type value_type; - typedef typename _Tp::reference reference; - typedef typename _Tp::const_reference const_reference; - typedef typename _Tp::iterator iterator; - typedef typename _Tp::const_iterator const_iterator; - typedef typename _Tp::size_type size_type; - typedef std::reverse_iterator const_reverse_iterator; - typedef std::reverse_iterator reverse_iterator; - typedef typename _BaseStruct::cow_node cow_node; - - using _BaseStruct::operator=; - - cow_container() : cow_struct<_Tp>() { }; - cow_container(const _Tp& _v) - { - *this = _v; - } - cow_container(const_iterator _begin, const_iterator _end) - { - m_pCowNode = new cow_node; - m_pCowNode->m_refCount = 0; - const_iterator itr; - for(itr = _begin(); itr != _end; ++itr) { - m_pCowNode->m_data.push_back(*itr); - } - } - cow_container(const_iterator _begin, size_t _n) - { - m_pCowNode = new cow_node; - m_pCowNode->m_refCount = 0; - const_iterator itr; - for(itr = _begin(); itr < _begin + _n; ++itr) { - m_pCowNode->m_data.push_back(*itr); - } - } - const_iterator begin() const - { - return m_pCowNode->m_data.begin(); - } - const_iterator end() const - { - return m_pCowNode->m_data.end(); - } - const_iterator cbegin() const - { - return m_pCowNode->m_data.begin(); - } - const_iterator cend() const - { - return m_pCowNode->m_data.end(); - } - const_reverse_iterator rbegin() const - { - return m_pCowNode->m_data.rbegin(); - } - const_reverse_iterator rend() const - { - return m_pCowNode->m_data.rend(); - } - const_reverse_iterator crbegin() - { - return m_pCowNode->m_data.rbegin(); - } - const_reverse_iterator crend() - { - return m_pCowNode->m_data.rend(); - } - iterator begin() - { - do_copy(); - return m_pCowNode->m_data.begin(); - } - iterator end() - { - do_copy(); - return m_pCowNode->m_data.end(); - } - reverse_iterator rbegin() - { - do_copy(); - return m_pCowNode->m_data.rbegin(); - } - reverse_iterator rend() - { - do_copy(); - return m_pCowNode->m_data.rend(); - } - bool empty() const - { - return m_pCowNode->m_data.empty(); - } - size_type size() const - { - return m_pCowNode->m_data.size(); - } - const_reference front() const - { - return m_pCowNode->m_data.front(); - } - const_reference back() const - { - return m_pCowNode->m_data.back(); - } - const_reference cfront() const - { - return m_pCowNode->m_data.front(); - } - const_reference cback() const - { - return m_pCowNode->m_data.back(); - } - reference front() - { - do_copy(); - return m_pCowNode->m_data.front(); - } - reference back() - { - do_copy(); - return m_pCowNode->m_data.back(); - } - void push_back(const value_type& _val) - { - do_copy(); - m_pCowNode->m_data.push_back(_val); - } - void pop_back() - { - do_copy(); - m_pCowNode->m_data.pop_back(); - } - iterator insert(iterator __position, const value_type& __x) - { - do_copy(); - return m_pCowNode->m_data.insert(__position, __x); - } - iterator insert(iterator __position, const_iterator __first, const_iterator __last) - { - do_copy(); - return m_pCowNode->m_data.insert(__position, __first, __last); - } - iterator erase(iterator __position) - { - do_copy(); - return m_pCowNode->m_data.erase(__position); - } - iterator erase(iterator __first, iterator __last) - { - do_copy(); - return m_pCowNode->m_data.erase(__first, __last); - } - void clear() - { - do_copy(); - m_pCowNode->m_data.clear(); - } -}; - -template -class VECTOR : public cow_container< std::vector<_Tp> > -{ - typedef _Tp& reference; - typedef const _Tp& const_reference; - typedef typename std::vector<_Tp>::size_type size_type; - using cow_container< std::vector<_Tp> >::m_pCowNode; - using cow_container< std::vector<_Tp> >::do_copy; - -public: - using cow_container< std::vector<_Tp> >::operator=; - VECTOR<_Tp>() : cow_container< std::vector<_Tp> >() { } - VECTOR<_Tp> (const std::vector<_Tp>& _v) - { - *this = _v; - } - const_reference operator[](size_type _n) const - { - return m_pCowNode->m_data[_n]; - } - reference operator[](size_type _n) - { - do_copy(); - return m_pCowNode->m_data[_n]; - } - void reserve(size_type _n) - { - do_copy(); - m_pCowNode->m_data.reserve(_n); - } - void resize(size_type _n) - { - do_copy(); - m_pCowNode->m_data.resize(_n); - } -}; - -template -class CLIST : public cow_container< std::list<_Tp> > -{ - typedef _Tp& reference; - typedef const _Tp& const_reference; - using cow_container< std::list<_Tp> >::m_pCowNode; - using cow_container< std::list<_Tp> >::do_copy; -public: - using cow_container< std::list<_Tp> >::operator=; - CLIST<_Tp>() : cow_container< std::list<_Tp> >() { } - CLIST<_Tp> (const std::list<_Tp>& _v) - { - *this = _v; - } - - void push_front(const_reference _val) - { - do_copy(); - m_pCowNode->m_data.push_front(_val); - } - void pop_front() - { - do_copy(); - m_pCowNode->m_data.pop_front(); - } -}; - -template -class CDEQUE : public cow_container< std::deque<_Tp> > -{ - typedef _Tp& reference; - typedef const _Tp& const_reference; - typedef typename std::deque<_Tp>::size_type size_type; - using cow_container< std::deque<_Tp> >::m_pCowNode; - using cow_container< std::deque<_Tp> >::do_copy; - -public: - using cow_container< std::deque<_Tp> >::operator=; - CDEQUE<_Tp>() : cow_container< std::deque<_Tp> >() { } - CDEQUE<_Tp> (const std::deque<_Tp>& _v) - { - *this = _v; - } - const_reference operator[](size_type _n) const - { - return m_pCowNode->m_data[_n]; - } - reference operator[](size_type _n) - { - do_copy(); - return m_pCowNode->m_data[_n]; - } - - void push_front(const_reference _val) - { - do_copy(); - m_pCowNode->m_data.push_front(_val); - } - void pop_front() - { - do_copy(); - m_pCowNode->m_data.pop_front(); - } - void resize(size_type _n) - { - do_copy(); - m_pCowNode->m_data.resize(_n); - } -}; - -#endif - diff --git a/features/aliww/include/.svn/text-base/crcservice.h.svn-base b/features/aliww/include/.svn/text-base/crcservice.h.svn-base deleted file mode 100644 index 2651f77..0000000 --- a/features/aliww/include/.svn/text-base/crcservice.h.svn-base +++ /dev/null @@ -1,374 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `crcservice.ice' - -#ifndef __crcservice_h__ -#define __crcservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace CRCSERVICE -{ - -class CRCSInterface; -bool operator==(const CRCSInterface&, const CRCSInterface&); -bool operator!=(const CRCSInterface&, const CRCSInterface&); -bool operator<(const CRCSInterface&, const CRCSInterface&); -bool operator<=(const CRCSInterface&, const CRCSInterface&); -bool operator>(const CRCSInterface&, const CRCSInterface&); -bool operator>=(const CRCSInterface&, const CRCSInterface&); - -} - -} - -namespace CRCSERVICE -{ - -class CRCSInterface; -bool operator==(const CRCSInterface&, const CRCSInterface&); -bool operator!=(const CRCSInterface&, const CRCSInterface&); -bool operator<(const CRCSInterface&, const CRCSInterface&); -bool operator<=(const CRCSInterface&, const CRCSInterface&); -bool operator>(const CRCSInterface&, const CRCSInterface&); -bool operator>=(const CRCSInterface&, const CRCSInterface&); - -} - -namespace IceInternal -{ - -void incRef(::CRCSERVICE::CRCSInterface*); -void decRef(::CRCSERVICE::CRCSInterface*); - -void incRef(::IceProxy::CRCSERVICE::CRCSInterface*); -void decRef(::IceProxy::CRCSERVICE::CRCSInterface*); - -} - -namespace CRCSERVICE -{ - -typedef ::IceInternal::Handle< ::CRCSERVICE::CRCSInterface> CRCSInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::CRCSERVICE::CRCSInterface> CRCSInterfacePrx; - -void __write(::IceInternal::BasicStream*, const CRCSInterfacePrx&); -void __read(::IceInternal::BasicStream*, CRCSInterfacePrx&); -void __write(::IceInternal::BasicStream*, const CRCSInterfacePtr&); -void __patch__CRCSInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const CRCSInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const CRCSInterfacePtr&); -void __decRefUnsafe(const CRCSInterfacePtr&); -void __clearHandleUnsafe(CRCSInterfacePtr&); - -} - -namespace CRCSERVICE -{ - -struct CRDateInfo -{ - ::Ice::Int beginDay; - ::Ice::Int dayCount; - - bool operator==(const CRDateInfo&) const; - bool operator!=(const CRDateInfo&) const; - bool operator<(const CRDateInfo&) const; - bool operator<=(const CRDateInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const CRDateInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const CRDateInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct UserCRInfo -{ - ::Ice::Int cmdID; - ::Ice::Int beginTime; - - bool operator==(const UserCRInfo&) const; - bool operator!=(const UserCRInfo&) const; - bool operator<(const UserCRInfo&) const; - bool operator<=(const UserCRInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const UserCRInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const UserCRInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -} - -namespace IceProxy -{ - -namespace CRCSERVICE -{ - -class CRCSInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int GetChatRoamingServiceState() - { - return GetChatRoamingServiceState(0); - } - ::Ice::Int GetChatRoamingServiceState(const ::Ice::Context& __ctx) - { - return GetChatRoamingServiceState(&__ctx); - } - -private: - - ::Ice::Int GetChatRoamingServiceState(const ::Ice::Context*); - -public: - - ::Ice::Int GetCRDays(const ::std::string& id, const ::std::string& version, ::CRCSERVICE::CRDateInfo& info) - { - return GetCRDays(id, version, info, 0); - } - ::Ice::Int GetCRDays(const ::std::string& id, const ::std::string& version, ::CRCSERVICE::CRDateInfo& info, const ::Ice::Context& __ctx) - { - return GetCRDays(id, version, info, &__ctx); - } - -private: - - ::Ice::Int GetCRDays(const ::std::string&, const ::std::string&, ::CRCSERVICE::CRDateInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckUserInfo(const ::std::string& id, const ::std::string& version) - { - return CheckUserInfo(id, version, 0); - } - ::Ice::Int CheckUserInfo(const ::std::string& id, const ::std::string& version, const ::Ice::Context& __ctx) - { - return CheckUserInfo(id, version, &__ctx); - } - -private: - - ::Ice::Int CheckUserInfo(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserCRState(const ::std::string& id, const ::std::string& version, ::CRCSERVICE::UserCRInfo& crinfo) - { - return GetUserCRState(id, version, crinfo, 0); - } - ::Ice::Int GetUserCRState(const ::std::string& id, const ::std::string& version, ::CRCSERVICE::UserCRInfo& crinfo, const ::Ice::Context& __ctx) - { - return GetUserCRState(id, version, crinfo, &__ctx); - } - -private: - - ::Ice::Int GetUserCRState(const ::std::string&, const ::std::string&, ::CRCSERVICE::UserCRInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int SetUserCRState(const ::std::string& id, const ::std::string& version, ::Ice::Int cmdId) - { - return SetUserCRState(id, version, cmdId, 0); - } - ::Ice::Int SetUserCRState(const ::std::string& id, const ::std::string& version, ::Ice::Int cmdId, const ::Ice::Context& __ctx) - { - return SetUserCRState(id, version, cmdId, &__ctx); - } - -private: - - ::Ice::Int SetUserCRState(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace CRCSERVICE -{ - -class CRCSInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int GetChatRoamingServiceState(const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetCRDays(const ::std::string&, const ::std::string&, ::CRCSERVICE::CRDateInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckUserInfo(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserCRState(const ::std::string&, const ::std::string&, ::CRCSERVICE::UserCRInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int SetUserCRState(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace CRCSERVICE -{ - -class CRCSInterface : virtual public ::IceDelegate::CRCSERVICE::CRCSInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int GetChatRoamingServiceState(const ::Ice::Context*); - - virtual ::Ice::Int GetCRDays(const ::std::string&, const ::std::string&, ::CRCSERVICE::CRDateInfo&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserInfo(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserCRState(const ::std::string&, const ::std::string&, ::CRCSERVICE::UserCRInfo&, const ::Ice::Context*); - - virtual ::Ice::Int SetUserCRState(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace CRCSERVICE -{ - -class CRCSInterface : virtual public ::IceDelegate::CRCSERVICE::CRCSInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int GetChatRoamingServiceState(const ::Ice::Context*); - - virtual ::Ice::Int GetCRDays(const ::std::string&, const ::std::string&, ::CRCSERVICE::CRDateInfo&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserInfo(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserCRState(const ::std::string&, const ::std::string&, ::CRCSERVICE::UserCRInfo&, const ::Ice::Context*); - - virtual ::Ice::Int SetUserCRState(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace CRCSERVICE -{ - -class CRCSInterface : virtual public ::Ice::Object -{ -public: - - typedef CRCSInterfacePrx ProxyType; - typedef CRCSInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int GetChatRoamingServiceState(const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetChatRoamingServiceState(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetCRDays(const ::std::string&, const ::std::string&, ::CRCSERVICE::CRDateInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetCRDays(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int CheckUserInfo(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUserInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetUserCRState(const ::std::string&, const ::std::string&, ::CRCSERVICE::UserCRInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserCRState(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int SetUserCRState(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___SetUserCRState(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__CRCSInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/datatype.h.svn-base b/features/aliww/include/.svn/text-base/datatype.h.svn-base deleted file mode 100644 index 96a6083..0000000 --- a/features/aliww/include/.svn/text-base/datatype.h.svn-base +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef __DATA_TYPE_H_ -#define __DATA_TYPE_H_ - -#ifdef _WIN32 -typedef signed char int8_t; -typedef unsigned char uint8_t; -typedef short int int16_t; -typedef unsigned short uint16_t; -typedef int int32_t; -typedef unsigned int uint32_t; -typedef int int32_t; -typedef unsigned int uint32_t; -typedef __int64 int64_t; -typedef unsigned __int64 uint64_t; -#else -#include -#endif - -#endif diff --git a/features/aliww/include/.svn/text-base/dbdatadefine.h.svn-base b/features/aliww/include/.svn/text-base/dbdatadefine.h.svn-base deleted file mode 100644 index 3721c87..0000000 --- a/features/aliww/include/.svn/text-base/dbdatadefine.h.svn-base +++ /dev/null @@ -1,2095 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbdatadefine.ice' - -#ifndef __dbdatadefine_h__ -#define __dbdatadefine_h__ - -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace AliIMDBBase -{ - -struct SICEMemberInfo -{ - ::std::string memberId; - ::std::string password; - ::std::string status; - ::std::string realname; - ::std::string company; - ::std::string jobtitle; - ::Ice::Int memberlevel; - ::Ice::Int industry; - ::Ice::Int area; - ::std::string penName; - ::Ice::Int phoneStatus; - ::Ice::Byte title; - ::std::string country; - - bool operator==(const SICEMemberInfo&) const; - bool operator!=(const SICEMemberInfo&) const; - bool operator<(const SICEMemberInfo&) const; - bool operator<=(const SICEMemberInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEMemberInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEMemberInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SExICESysMessage -{ - ::Ice::Int msgId; - ::Ice::Int type; - ::std::string expireTime; - ::Ice::Int industry; - ::Ice::Int area; - ::Ice::Int rank; - ::std::string message; - ::std::string site; - - bool operator==(const SExICESysMessage&) const; - bool operator!=(const SExICESysMessage&) const; - bool operator<(const SExICESysMessage&) const; - bool operator<=(const SExICESysMessage& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SExICESysMessage& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SExICESysMessage& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICESysMessage -{ - ::Ice::Int msgId; - ::Ice::Int type; - ::std::string expireTime; - ::Ice::Int industry; - ::Ice::Int area; - ::Ice::Int rank; - ::std::string message; - - bool operator==(const SICESysMessage&) const; - bool operator!=(const SICESysMessage&) const; - bool operator<(const SICESysMessage&) const; - bool operator<=(const SICESysMessage& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICESysMessage& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICESysMessage& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEVersion -{ - ::std::string version; - ::Ice::Byte status; - ::std::string remark; - - bool operator==(const SICEVersion&) const; - bool operator!=(const SICEVersion&) const; - bool operator<(const SICEVersion&) const; - bool operator<=(const SICEVersion& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEVersion& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEVersion& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEUserInfo -{ - ::std::string uid; - ::Ice::Int picId; - ::Ice::Int sysMsgId; - ::std::string lastLoginTime; - ::Ice::Int strangerMsgCount; - ::Ice::Int loginCount; - ::Ice::Int onlineTimes; - ::Ice::Int addContactCount; - ::Ice::Int addTribeCount; - ::Ice::Int activeDegree; - ::Ice::Int groupTimes; - ::Ice::Int contactTimes; - ::Ice::Int blacklistTimes; - ::Ice::Int reverseBlacklistTimes; - ::Ice::Int offlinemsgTimes; - ::Ice::Int addContactVerify; - ::Ice::Int sendMsgVerify; - ::Ice::Int userStatus; - ::Ice::Int userLevel; - ::Ice::Float newActDgree; - ::Ice::Int gencontacttimes; - ::Ice::Float rewardActDegree; - ::Ice::Float onlineActDegree; - ::Ice::Int createTime; - ::Ice::Int accounttype; - - bool operator==(const SICEUserInfo&) const; - bool operator!=(const SICEUserInfo&) const; - bool operator<(const SICEUserInfo&) const; - bool operator<=(const SICEUserInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEUserInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEUserInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEUserInfo2 -{ - ::std::string uid; - ::Ice::Int picId; - ::Ice::Int sysMsgId; - ::std::string lastLoginTime; - ::Ice::Int strangerMsgCount; - ::Ice::Int loginCount; - ::Ice::Int onlineTimes; - ::Ice::Int addContactCount; - ::Ice::Int addTribeCount; - ::Ice::Int activeDegree; - ::Ice::Int groupTimes; - ::Ice::Int contactTimes; - ::Ice::Int blacklistTimes; - ::Ice::Int reverseBlacklistTimes; - ::Ice::Int offlinemsgTimes; - ::Ice::Int addContactVerify; - ::Ice::Int sendMsgVerify; - ::Ice::Int userStatus; - ::Ice::Int userLevel; - ::Ice::Float newActDgree; - ::Ice::Int gencontacttimes; - ::Ice::Float rewardActDegree; - ::Ice::Float onlineActDegree; - ::Ice::Int createTime; - ::Ice::Int accounttype; - ::std::string userfunctions; - - bool operator==(const SICEUserInfo2&) const; - bool operator!=(const SICEUserInfo2&) const; - bool operator<(const SICEUserInfo2&) const; - bool operator<=(const SICEUserInfo2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEUserInfo2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEUserInfo2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEUserInfoEx -{ - ::std::string uid; - ::Ice::Int picId; - ::Ice::Int sysMsgId; - ::Ice::Int lastLoginTime; - ::Ice::Int loginCount; - ::Ice::Int strangerMsgCount; - ::Ice::Int addContactCount; - ::Ice::Int addTribeCount; - ::Ice::Int groupTimes; - ::Ice::Int contactTimes; - ::Ice::Int blacklistTimes; - ::Ice::Int reverseBlacklistTimes; - ::Ice::Int offlinemsgTimes; - ::Ice::Int gencontacttimes; - ::Ice::Int toolprofiletimes; - ::Ice::Int addContactVerify; - ::Ice::Int sendMsgVerify; - ::Ice::Int userStatus; - ::Ice::Int userLevel; - ::Ice::Float totalActDegree; - ::Ice::Int createTime; - ::Ice::Int accounttype; - ::std::string loginIp; - ::std::string userfunctions; - - bool operator==(const SICEUserInfoEx&) const; - bool operator!=(const SICEUserInfoEx&) const; - bool operator<(const SICEUserInfoEx&) const; - bool operator<=(const SICEUserInfoEx& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEUserInfoEx& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEUserInfoEx& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEUserInfoNew -{ - ::std::string uid; - ::Ice::Int picId; - ::Ice::Int sysMsgId; - ::std::string lastLoginTime; - ::Ice::Int strangerMsgCount; - ::Ice::Int loginCount; - ::Ice::Int onlineTimes; - ::Ice::Int addContactCount; - ::Ice::Int addTribeCount; - ::Ice::Int activeDegree; - ::Ice::Int groupTimes; - ::Ice::Int contactTimes; - ::Ice::Int blacklistTimes; - ::Ice::Int reverseBlacklistTimes; - ::Ice::Int offlinemsgTimes; - ::Ice::Int addContactVerify; - ::Ice::Int sendMsgVerify; - ::Ice::Int userStatus; - ::Ice::Int userLevel; - ::Ice::Float newActDgree; - ::Ice::Int gencontacttimes; - ::Ice::Float rewardActDegree; - ::Ice::Float onlineActDegree; - ::Ice::Int createTime; - ::Ice::Int accounttype; - ::Ice::Int reqAddContactCount; - - bool operator==(const SICEUserInfoNew&) const; - bool operator!=(const SICEUserInfoNew&) const; - bool operator<(const SICEUserInfoNew&) const; - bool operator<=(const SICEUserInfoNew& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEUserInfoNew& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEUserInfoNew& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEUserInfo2New -{ - ::std::string uid; - ::Ice::Int picId; - ::Ice::Int sysMsgId; - ::std::string lastLoginTime; - ::Ice::Int strangerMsgCount; - ::Ice::Int loginCount; - ::Ice::Int onlineTimes; - ::Ice::Int addContactCount; - ::Ice::Int addTribeCount; - ::Ice::Int activeDegree; - ::Ice::Int groupTimes; - ::Ice::Int contactTimes; - ::Ice::Int blacklistTimes; - ::Ice::Int reverseBlacklistTimes; - ::Ice::Int offlinemsgTimes; - ::Ice::Int addContactVerify; - ::Ice::Int sendMsgVerify; - ::Ice::Int userStatus; - ::Ice::Int userLevel; - ::Ice::Float newActDgree; - ::Ice::Int gencontacttimes; - ::Ice::Float rewardActDegree; - ::Ice::Float onlineActDegree; - ::Ice::Int createTime; - ::Ice::Int accounttype; - ::std::string userfunctions; - ::Ice::Int reqAddContactCount; - - bool operator==(const SICEUserInfo2New&) const; - bool operator!=(const SICEUserInfo2New&) const; - bool operator<(const SICEUserInfo2New&) const; - bool operator<=(const SICEUserInfo2New& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEUserInfo2New& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEUserInfo2New& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEUserInfoExNew -{ - ::std::string uid; - ::Ice::Int picId; - ::Ice::Int sysMsgId; - ::Ice::Int lastLoginTime; - ::Ice::Int loginCount; - ::Ice::Int strangerMsgCount; - ::Ice::Int addContactCount; - ::Ice::Int addTribeCount; - ::Ice::Int groupTimes; - ::Ice::Int contactTimes; - ::Ice::Int blacklistTimes; - ::Ice::Int reverseBlacklistTimes; - ::Ice::Int offlinemsgTimes; - ::Ice::Int gencontacttimes; - ::Ice::Int toolprofiletimes; - ::Ice::Int addContactVerify; - ::Ice::Int sendMsgVerify; - ::Ice::Int userStatus; - ::Ice::Int userLevel; - ::Ice::Float totalActDegree; - ::Ice::Int createTime; - ::Ice::Int accounttype; - ::std::string loginIp; - ::std::string userfunctions; - ::Ice::Int reqAddContactCount; - - bool operator==(const SICEUserInfoExNew&) const; - bool operator!=(const SICEUserInfoExNew&) const; - bool operator<(const SICEUserInfoExNew&) const; - bool operator<=(const SICEUserInfoExNew& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEUserInfoExNew& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEUserInfoExNew& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEUserInfoExNew2 -{ - ::std::string uid; - ::Ice::Int picId; - ::Ice::Int sysMsgId; - ::Ice::Int lastLoginTime; - ::Ice::Int loginCount; - ::Ice::Int strangerMsgCount; - ::Ice::Int addContactCount; - ::Ice::Int addTribeCount; - ::Ice::Int groupTimes; - ::Ice::Int contactTimes; - ::Ice::Int blacklistTimes; - ::Ice::Int reverseBlacklistTimes; - ::Ice::Int offlinemsgTimes; - ::Ice::Int gencontacttimes; - ::Ice::Int toolprofiletimes; - ::Ice::Int addContactVerify; - ::Ice::Int sendMsgVerify; - ::Ice::Int userStatus; - ::Ice::Int userLevel; - ::Ice::Float totalActDegree; - ::Ice::Int createTime; - ::Ice::Int accounttype; - ::std::string loginIp; - ::std::string userfunctions; - ::Ice::Int reqAddContactCount; - ::Ice::Int userValue; - - bool operator==(const SICEUserInfoExNew2&) const; - bool operator!=(const SICEUserInfoExNew2&) const; - bool operator<(const SICEUserInfoExNew2&) const; - bool operator<=(const SICEUserInfoExNew2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEUserInfoExNew2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEUserInfoExNew2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::map< ::Ice::Int, ::Ice::Int> RIGHTTABLE; - -class __U__RIGHTTABLE { }; -void __write(::IceInternal::BasicStream*, const RIGHTTABLE&, __U__RIGHTTABLE); -void __read(::IceInternal::BasicStream*, RIGHTTABLE&, __U__RIGHTTABLE); - -struct SICEUserInfoExNew3 -{ - ::std::string uid; - ::Ice::Int picId; - ::Ice::Int sysMsgId; - ::Ice::Int lastLoginTime; - ::Ice::Int loginCount; - ::Ice::Int groupTimes; - ::Ice::Int contactTimes; - ::Ice::Int blacklistTimes; - ::Ice::Int reverseBlacklistTimes; - ::Ice::Int offlinemsgTimes; - ::Ice::Int gencontacttimes; - ::Ice::Int toolprofiletimes; - ::Ice::Int addContactVerify; - ::Ice::Int sendMsgVerify; - ::Ice::Int userStatus; - ::Ice::Int userLevel; - ::Ice::Float totalActDegree; - ::Ice::Int createTime; - ::Ice::Int accounttype; - ::std::string loginIp; - ::std::string userfunctions; - ::Ice::Int userValue; - ::AliIMDBBase::RIGHTTABLE rightMap; - - bool operator==(const SICEUserInfoExNew3&) const; - bool operator!=(const SICEUserInfoExNew3&) const; - bool operator<(const SICEUserInfoExNew3&) const; - bool operator<=(const SICEUserInfoExNew3& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEUserInfoExNew3& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEUserInfoExNew3& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEUserInfoExNew4 -{ - ::std::string uid; - ::Ice::Int picId; - ::Ice::Int sysMsgId; - ::Ice::Int lastLoginTime; - ::Ice::Int loginCount; - ::Ice::Int strangerMsgCount; - ::Ice::Int addContactCount; - ::Ice::Int addTribeCount; - ::Ice::Int groupTimes; - ::Ice::Int contactTimes; - ::Ice::Int blacklistTimes; - ::Ice::Int reverseBlacklistTimes; - ::Ice::Int offlinemsgTimes; - ::Ice::Int gencontacttimes; - ::Ice::Int toolprofiletimes; - ::Ice::Int addContactVerify; - ::Ice::Int sendMsgVerify; - ::Ice::Int userStatus; - ::Ice::Int userLevel; - ::Ice::Float totalActDegree; - ::Ice::Int createTime; - ::Ice::Int accounttype; - ::std::string loginIp; - ::std::string userfunctions; - ::Ice::Int userValue; - ::AliIMDBBase::RIGHTTABLE rightMap; - ::std::string question; - ::std::string answer; - - bool operator==(const SICEUserInfoExNew4&) const; - bool operator!=(const SICEUserInfoExNew4&) const; - bool operator<(const SICEUserInfoExNew4&) const; - bool operator<=(const SICEUserInfoExNew4& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEUserInfoExNew4& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEUserInfoExNew4& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEGroupInfo -{ - ::Ice::Int groupId; - ::std::string groupName; - - bool operator==(const SICEGroupInfo&) const; - bool operator!=(const SICEGroupInfo&) const; - bool operator<(const SICEGroupInfo&) const; - bool operator<=(const SICEGroupInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEGroupInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEGroupInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEGroupInfoEx -{ - ::Ice::Long groupId; - ::Ice::Long parentId; - ::std::string groupName; - - bool operator==(const SICEGroupInfoEx&) const; - bool operator!=(const SICEGroupInfoEx&) const; - bool operator<(const SICEGroupInfoEx&) const; - bool operator<=(const SICEGroupInfoEx& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEGroupInfoEx& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEGroupInfoEx& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEContactInfo -{ - ::std::string contactId; - ::Ice::Int groupId; - ::std::string nickName; - ::Ice::Int status; - ::std::string cid; - ::Ice::Short cnttype; - ::std::string clientInfo; - - bool operator==(const SICEContactInfo&) const; - bool operator!=(const SICEContactInfo&) const; - bool operator<(const SICEContactInfo&) const; - bool operator<=(const SICEContactInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEContactInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEContactInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEUserId -{ - ::std::string uid; - - bool operator==(const SICEUserId&) const; - bool operator!=(const SICEUserId&) const; - bool operator<(const SICEUserId&) const; - bool operator<=(const SICEUserId& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEUserId& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEUserId& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEOffLineMessege -{ - ::std::string createTime; - ::Ice::Int type; - ::std::string fromId; - ::std::string content; - - bool operator==(const SICEOffLineMessege&) const; - bool operator!=(const SICEOffLineMessege&) const; - bool operator<(const SICEOffLineMessege&) const; - bool operator<=(const SICEOffLineMessege& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEOffLineMessege& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEOffLineMessege& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEOffLineMessegeEx -{ - ::Ice::Int sendTime; - ::Ice::Int type; - ::std::string fromId; - ::std::string content; - - bool operator==(const SICEOffLineMessegeEx&) const; - bool operator!=(const SICEOffLineMessegeEx&) const; - bool operator<(const SICEOffLineMessegeEx&) const; - bool operator<=(const SICEOffLineMessegeEx& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEOffLineMessegeEx& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEOffLineMessegeEx& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEUserDStatus -{ - ::Ice::Int statusId; - ::std::string statusInfo; - - bool operator==(const SICEUserDStatus&) const; - bool operator!=(const SICEUserDStatus&) const; - bool operator<(const SICEUserDStatus&) const; - bool operator<=(const SICEUserDStatus& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEUserDStatus& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEUserDStatus& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICECntCidModPair -{ - ::std::string cid; - ::std::string modSeqId; - - bool operator==(const SICECntCidModPair&) const; - bool operator!=(const SICECntCidModPair&) const; - bool operator<(const SICECntCidModPair&) const; - bool operator<=(const SICECntCidModPair& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICECntCidModPair& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICECntCidModPair& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICECRMContactDetail -{ - ::std::string cntname; - ::std::string email; - ::std::string phoneno; - ::std::string mobileno; - ::std::string company; - ::Ice::Byte sex; - ::std::string jobtitle; - ::std::string compaddr; - ::Ice::Int bizcatid; - ::std::string buykeys; - ::std::string salekeys; - ::std::string faxnumber; - ::std::string penname; - - bool operator==(const SICECRMContactDetail&) const; - bool operator!=(const SICECRMContactDetail&) const; - bool operator<(const SICECRMContactDetail&) const; - bool operator<=(const SICECRMContactDetail& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICECRMContactDetail& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICECRMContactDetail& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICESeqId -{ - ::std::string seqId; - - bool operator==(const SICESeqId&) const; - bool operator!=(const SICESeqId&) const; - bool operator<(const SICESeqId&) const; - bool operator<=(const SICESeqId& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICESeqId& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICESeqId& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICENetPhoneChargeInfo -{ - ::std::string chargeseqid; - ::std::string payseqid; - ::std::string chargebegintime; - ::Ice::Int denomination; - ::Ice::Int payrealmoney; - ::Ice::Int chargestatus; - ::Ice::Int paystatus; - - bool operator==(const SICENetPhoneChargeInfo&) const; - bool operator!=(const SICENetPhoneChargeInfo&) const; - bool operator<(const SICENetPhoneChargeInfo&) const; - bool operator<=(const SICENetPhoneChargeInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICENetPhoneChargeInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICENetPhoneChargeInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEGenContactFull -{ - ::std::string uid; - ::std::string cid; - ::std::string cntid; - ::std::string nickname; - ::std::string seqid; - ::Ice::Int groupId; - ::Ice::Byte showflag; - ::std::string sex; - ::Ice::Byte cnttype; - ::Ice::Int bizcatid; - ::std::string realname; - ::std::string email1; - ::std::string cphoneno1; - ::std::string hphoneno1; - ::std::string mobileno1; - ::std::string alitalkid; - ::std::string companyname; - ::std::string email2; - ::std::string email3; - ::std::string cphoneno2; - ::std::string cphoneno3; - ::std::string mobileno2; - ::std::string mobileno3; - ::std::string buykeys; - ::std::string salekeys; - ::std::string jobtitle; - ::std::string compaddr; - ::std::string homeaddr; - ::std::string compzip; - ::std::string homezip; - ::std::string cntpicid; - ::std::string compurl; - ::std::string homeurl; - ::std::string wwangid; - ::std::string yahooid; - ::std::string msnid; - ::std::string qqid; - ::std::string deptname; - ::std::string managername; - ::std::string idnumber; - ::std::string workidno; - ::std::string faxnumber; - ::std::string penname; - ::std::string engname; - ::std::string consortname; - ::std::string avocation; - ::std::string assistname; - ::std::string childname; - ::std::string birthday; - ::std::string memo; - ::std::string firstname; - ::std::string lastname; - - bool operator==(const SICEGenContactFull&) const; - bool operator!=(const SICEGenContactFull&) const; - bool operator<(const SICEGenContactFull&) const; - bool operator<=(const SICEGenContactFull& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEGenContactFull& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEGenContactFull& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEATMGenContactFull -{ - ::std::string uid; - ::std::string cid; - ::std::string cntid; - ::std::string nickname; - ::std::string seqid; - ::Ice::Int groupId; - ::Ice::Byte showflag; - ::std::string sex; - ::Ice::Byte cnttype; - ::Ice::Int bizcatid; - ::std::string realname; - ::std::string email1; - ::std::string cphoneno1; - ::std::string hphoneno1; - ::std::string mobileno1; - ::std::string alitalkid; - ::std::string companyname; - ::std::string email2; - ::std::string email3; - ::std::string cphoneno2; - ::std::string cphoneno3; - ::std::string mobileno2; - ::std::string mobileno3; - ::std::string buykeys; - ::std::string salekeys; - ::std::string jobtitle; - ::std::string compaddr; - ::std::string homeaddr; - ::std::string compzip; - ::std::string homezip; - ::std::string cntpicid; - ::std::string compurl; - ::std::string homeurl; - ::std::string wwangid; - ::std::string yahooid; - ::std::string msnid; - ::std::string qqid; - ::std::string deptname; - ::std::string managername; - ::std::string idnumber; - ::std::string workidno; - ::std::string faxnumber; - ::std::string penname; - ::std::string engname; - ::std::string consortname; - ::std::string avocation; - ::std::string assistname; - ::std::string childname; - ::std::string birthday; - ::std::string memo; - ::Ice::Int companyid; - ::Ice::Int cntlevel; - ::std::string country; - ::std::string productService; - ::std::string firstname; - ::std::string lastname; - ::std::string biztype; - ::Ice::Int preRegister; - - bool operator==(const SICEATMGenContactFull&) const; - bool operator!=(const SICEATMGenContactFull&) const; - bool operator<(const SICEATMGenContactFull&) const; - bool operator<=(const SICEATMGenContactFull& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEATMGenContactFull& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEATMGenContactFull& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICECntOtherModInfo -{ - ::std::string cid; - ::std::string modSeqId; - ::Ice::Int memberLevel; - ::Ice::Int smsbindflag; - ::Ice::Int smsmobileonlineflag; - ::std::string smsbindmobile; - - bool operator==(const SICECntOtherModInfo&) const; - bool operator!=(const SICECntOtherModInfo&) const; - bool operator<(const SICECntOtherModInfo&) const; - bool operator<=(const SICECntOtherModInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICECntOtherModInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICECntOtherModInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICESmsUserInfo -{ - ::std::string uid; - ::Ice::Int bindFlag; - ::Ice::Int mobileOnlineFlag; - ::std::string account; - ::std::string password; - ::std::string mobileNo; - ::Ice::Int balance; - - bool operator==(const SICESmsUserInfo&) const; - bool operator!=(const SICESmsUserInfo&) const; - bool operator<(const SICESmsUserInfo&) const; - bool operator<=(const SICESmsUserInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICESmsUserInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICESmsUserInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEAMOSUserInfo -{ - ::std::string uid; - ::std::string lastLoginTime; - ::Ice::Int mobileOnlineFlag; - - bool operator==(const SICEAMOSUserInfo&) const; - bool operator!=(const SICEAMOSUserInfo&) const; - bool operator<(const SICEAMOSUserInfo&) const; - bool operator<=(const SICEAMOSUserInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEAMOSUserInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEAMOSUserInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SMemberPWInfo -{ - ::std::string md5passwd; - bool bcanlogon; - - bool operator==(const SMemberPWInfo&) const; - bool operator!=(const SMemberPWInfo&) const; - bool operator<(const SMemberPWInfo&) const; - bool operator<=(const SMemberPWInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SMemberPWInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SMemberPWInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SMemberPWInfoEx -{ - ::std::string md5passwd; - bool bcanlogon; - ::Ice::Int activeState; - - bool operator==(const SMemberPWInfoEx&) const; - bool operator!=(const SMemberPWInfoEx&) const; - bool operator<(const SMemberPWInfoEx&) const; - bool operator<=(const SMemberPWInfoEx& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SMemberPWInfoEx& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SMemberPWInfoEx& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SUserWebBasicProfile -{ - ::std::string uid; - ::std::string nickname; - ::std::string realname; - ::std::string email; - ::std::string phoneno; - ::std::string mobileno; - ::std::string company; - ::std::string jobtitle; - ::std::string address; - ::Ice::Int catid; - ::std::string buykeyws; - ::std::string salekeyws; - ::std::string faxno; - ::std::string penname; - ::std::string country; - ::Ice::Int memberlevel; - ::Ice::Int industry; - ::Ice::Int area; - ::Ice::Int phoneStatus; - ::Ice::Int activestat; - ::std::string extraInfo; - ::std::string zip; - ::std::string birthday; - ::std::string password; - ::std::string prov; - ::std::string city; - ::std::string usergender; - ::std::string birthdate; - ::std::string status; - ::std::string province; - ::Ice::Int webLevel; - - bool operator==(const SUserWebBasicProfile&) const; - bool operator!=(const SUserWebBasicProfile&) const; - bool operator<(const SUserWebBasicProfile&) const; - bool operator<=(const SUserWebBasicProfile& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SUserWebBasicProfile& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SUserWebBasicProfile& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SUserWebBasicProfile2 -{ - ::std::string uid; - ::std::string nickname; - ::std::string realname; - ::std::string email; - ::std::string phoneno; - ::std::string mobileno; - ::std::string company; - ::std::string jobtitle; - ::std::string address; - ::Ice::Int catid; - ::std::string buykeyws; - ::std::string salekeyws; - ::std::string faxno; - ::std::string penname; - ::std::string country; - ::Ice::Int memberlevel; - ::Ice::Int industry; - ::Ice::Int area; - ::Ice::Int phoneStatus; - ::Ice::Int activestat; - ::std::string extraInfo; - ::std::string zip; - ::std::string birthday; - ::std::string password; - ::std::string prov; - ::std::string city; - ::std::string usergender; - ::std::string birthdate; - ::std::string status; - ::std::string province; - ::Ice::Int webLevel; - ::std::string subcity; - ::std::string homepage; - ::std::string interest; - - bool operator==(const SUserWebBasicProfile2&) const; - bool operator!=(const SUserWebBasicProfile2&) const; - bool operator<(const SUserWebBasicProfile2&) const; - bool operator<=(const SUserWebBasicProfile2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SUserWebBasicProfile2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SUserWebBasicProfile2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SMatchedUserIdInfo -{ - ::std::string userId; - ::std::string name; - ::Ice::Byte validateflag; - - bool operator==(const SMatchedUserIdInfo&) const; - bool operator!=(const SMatchedUserIdInfo&) const; - bool operator<(const SMatchedUserIdInfo&) const; - bool operator<=(const SMatchedUserIdInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SMatchedUserIdInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SMatchedUserIdInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SUdbUserInfo -{ - ::std::string uid; - ::std::string name; - ::std::string rawpasswd; - ::std::string md5passwd; - ::std::string email; - ::std::string mobileno; - ::std::string phoneno; - ::std::string company; - ::std::string jobtitle; - ::std::string birthday; - ::std::string sex; - ::std::string country; - ::std::string province; - ::std::string city; - ::std::string address; - ::std::string zip; - - bool operator==(const SUdbUserInfo&) const; - bool operator!=(const SUdbUserInfo&) const; - bool operator<(const SUdbUserInfo&) const; - bool operator<=(const SUdbUserInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SUdbUserInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SUdbUserInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SChildUserInfo -{ - ::std::string uid; - ::std::string nikename; - ::std::string password; - ::std::string parentId; - ::Ice::Int suspended; - ::Ice::Int expirtTime; - ::Ice::Int OpenTime; - ::Ice::Int type; - ::Ice::Int groupId; - ::Ice::Int receptionNum; - ::Ice::Int priority; - ::Ice::Int recvOffMsg; - ::std::string needuseonline; - ::std::string userflag; - - bool operator==(const SChildUserInfo&) const; - bool operator!=(const SChildUserInfo&) const; - bool operator<(const SChildUserInfo&) const; - bool operator<=(const SChildUserInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SChildUserInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SChildUserInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SChildUserInfo2 -{ - ::std::string uid; - ::std::string nikename; - ::std::string password; - ::std::string parentId; - ::Ice::Int suspended; - ::Ice::Int expirtTime; - ::Ice::Int OpenTime; - ::Ice::Int type; - ::Ice::Int groupId; - ::Ice::Int receptionNum; - ::Ice::Int priority; - ::Ice::Int recvOffMsg; - - bool operator==(const SChildUserInfo2&) const; - bool operator!=(const SChildUserInfo2&) const; - bool operator<(const SChildUserInfo2&) const; - bool operator<=(const SChildUserInfo2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SChildUserInfo2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SChildUserInfo2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SB2BChildUserInfo -{ - ::std::string uid; - ::std::string parentId; - ::std::string userflag; - - bool operator==(const SB2BChildUserInfo&) const; - bool operator!=(const SB2BChildUserInfo&) const; - bool operator<(const SB2BChildUserInfo&) const; - bool operator<=(const SB2BChildUserInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SB2BChildUserInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SB2BChildUserInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEToolProfile -{ - ::Ice::Int type; - ::std::string profile; - - bool operator==(const SICEToolProfile&) const; - bool operator!=(const SICEToolProfile&) const; - bool operator<(const SICEToolProfile&) const; - bool operator<=(const SICEToolProfile& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEToolProfile& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEToolProfile& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEKvPair -{ - ::std::string key; - ::std::string value; - - bool operator==(const SICEKvPair&) const; - bool operator!=(const SICEKvPair&) const; - bool operator<(const SICEKvPair&) const; - bool operator<=(const SICEKvPair& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEKvPair& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEKvPair& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SImPrefix -{ - ::std::string prefix; - ::std::string name; - - bool operator==(const SImPrefix&) const; - bool operator!=(const SImPrefix&) const; - bool operator<(const SImPrefix&) const; - bool operator<=(const SImPrefix& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SImPrefix& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SImPrefix& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMDBBase::SICEMemberInfo> SICEMemberInfoSeq; - -class __U__SICEMemberInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEMemberInfo*, const ::AliIMDBBase::SICEMemberInfo*, __U__SICEMemberInfoSeq); -void __read(::IceInternal::BasicStream*, SICEMemberInfoSeq&, __U__SICEMemberInfoSeq); - -typedef ::std::vector< ::AliIMDBBase::SICESysMessage> SICESysMessageSeq; - -class __U__SICESysMessageSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICESysMessage*, const ::AliIMDBBase::SICESysMessage*, __U__SICESysMessageSeq); -void __read(::IceInternal::BasicStream*, SICESysMessageSeq&, __U__SICESysMessageSeq); - -typedef ::std::vector< ::AliIMDBBase::SExICESysMessage> SExICESysMessageSeq; - -class __U__SExICESysMessageSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SExICESysMessage*, const ::AliIMDBBase::SExICESysMessage*, __U__SExICESysMessageSeq); -void __read(::IceInternal::BasicStream*, SExICESysMessageSeq&, __U__SExICESysMessageSeq); - -typedef ::std::vector< ::AliIMDBBase::SICEVersion> SICEVersionSeq; - -class __U__SICEVersionSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEVersion*, const ::AliIMDBBase::SICEVersion*, __U__SICEVersionSeq); -void __read(::IceInternal::BasicStream*, SICEVersionSeq&, __U__SICEVersionSeq); - -typedef ::std::vector< ::AliIMDBBase::SICEUserInfo> SICEUserInfoSeq; - -class __U__SICEUserInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEUserInfo*, const ::AliIMDBBase::SICEUserInfo*, __U__SICEUserInfoSeq); -void __read(::IceInternal::BasicStream*, SICEUserInfoSeq&, __U__SICEUserInfoSeq); - -typedef ::std::vector< ::AliIMDBBase::SICEUserInfoEx> SICEUserInfoExSeq; - -class __U__SICEUserInfoExSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEUserInfoEx*, const ::AliIMDBBase::SICEUserInfoEx*, __U__SICEUserInfoExSeq); -void __read(::IceInternal::BasicStream*, SICEUserInfoExSeq&, __U__SICEUserInfoExSeq); - -typedef ::std::vector< ::AliIMDBBase::SICEGroupInfo> SICEGroupInfoSeq; - -class __U__SICEGroupInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEGroupInfo*, const ::AliIMDBBase::SICEGroupInfo*, __U__SICEGroupInfoSeq); -void __read(::IceInternal::BasicStream*, SICEGroupInfoSeq&, __U__SICEGroupInfoSeq); - -typedef ::std::vector< ::AliIMDBBase::SICEGroupInfoEx> SICEGroupInfoExSeq; - -class __U__SICEGroupInfoExSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEGroupInfoEx*, const ::AliIMDBBase::SICEGroupInfoEx*, __U__SICEGroupInfoExSeq); -void __read(::IceInternal::BasicStream*, SICEGroupInfoExSeq&, __U__SICEGroupInfoExSeq); - -typedef ::std::vector< ::AliIMDBBase::SICEContactInfo> SICEContactInfoSeq; - -class __U__SICEContactInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEContactInfo*, const ::AliIMDBBase::SICEContactInfo*, __U__SICEContactInfoSeq); -void __read(::IceInternal::BasicStream*, SICEContactInfoSeq&, __U__SICEContactInfoSeq); - -typedef ::std::vector< ::AliIMDBBase::SICEOffLineMessege> SICEOffLineMessegeSeq; - -class __U__SICEOffLineMessegeSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEOffLineMessege*, const ::AliIMDBBase::SICEOffLineMessege*, __U__SICEOffLineMessegeSeq); -void __read(::IceInternal::BasicStream*, SICEOffLineMessegeSeq&, __U__SICEOffLineMessegeSeq); - -typedef ::std::vector< ::AliIMDBBase::SICEOffLineMessegeEx> SICEOffLineMessegeExSeq; - -class __U__SICEOffLineMessegeExSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEOffLineMessegeEx*, const ::AliIMDBBase::SICEOffLineMessegeEx*, __U__SICEOffLineMessegeExSeq); -void __read(::IceInternal::BasicStream*, SICEOffLineMessegeExSeq&, __U__SICEOffLineMessegeExSeq); - -typedef ::std::vector< ::AliIMDBBase::SICECntCidModPair> SICECntCidModPairSeq; - -class __U__SICECntCidModPairSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICECntCidModPair*, const ::AliIMDBBase::SICECntCidModPair*, __U__SICECntCidModPairSeq); -void __read(::IceInternal::BasicStream*, SICECntCidModPairSeq&, __U__SICECntCidModPairSeq); - -typedef ::std::vector< ::AliIMDBBase::SICEUserDStatus> SICEUserDStatusSeq; - -class __U__SICEUserDStatusSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEUserDStatus*, const ::AliIMDBBase::SICEUserDStatus*, __U__SICEUserDStatusSeq); -void __read(::IceInternal::BasicStream*, SICEUserDStatusSeq&, __U__SICEUserDStatusSeq); - -typedef ::std::vector< ::AliIMDBBase::SICENetPhoneChargeInfo> SICENetPhoneChargeInfoSeq; - -class __U__SICENetPhoneChargeInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICENetPhoneChargeInfo*, const ::AliIMDBBase::SICENetPhoneChargeInfo*, __U__SICENetPhoneChargeInfoSeq); -void __read(::IceInternal::BasicStream*, SICENetPhoneChargeInfoSeq&, __U__SICENetPhoneChargeInfoSeq); - -typedef ::std::vector< ::AliIMDBBase::SICEGenContactFull> SICEGenContactFullSeq; - -class __U__SICEGenContactFullSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEGenContactFull*, const ::AliIMDBBase::SICEGenContactFull*, __U__SICEGenContactFullSeq); -void __read(::IceInternal::BasicStream*, SICEGenContactFullSeq&, __U__SICEGenContactFullSeq); - -typedef ::std::vector< ::AliIMDBBase::SICECntOtherModInfo> SICECntOtherModInfoSeq; - -class __U__SICECntOtherModInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICECntOtherModInfo*, const ::AliIMDBBase::SICECntOtherModInfo*, __U__SICECntOtherModInfoSeq); -void __read(::IceInternal::BasicStream*, SICECntOtherModInfoSeq&, __U__SICECntOtherModInfoSeq); - -typedef ::std::vector< ::AliIMDBBase::SICEAMOSUserInfo> SICEAMOSUserInfoSeq; - -class __U__SICEAMOSUserInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEAMOSUserInfo*, const ::AliIMDBBase::SICEAMOSUserInfo*, __U__SICEAMOSUserInfoSeq); -void __read(::IceInternal::BasicStream*, SICEAMOSUserInfoSeq&, __U__SICEAMOSUserInfoSeq); - -typedef ::std::vector< ::AliIMDBBase::SMatchedUserIdInfo> SMatchedUserIdInfoSeq; - -class __U__SMatchedUserIdInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SMatchedUserIdInfo*, const ::AliIMDBBase::SMatchedUserIdInfo*, __U__SMatchedUserIdInfoSeq); -void __read(::IceInternal::BasicStream*, SMatchedUserIdInfoSeq&, __U__SMatchedUserIdInfoSeq); - -typedef ::std::vector< ::AliIMDBBase::SUdbUserInfo> SUdbUserInfoSeq; - -class __U__SUdbUserInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SUdbUserInfo*, const ::AliIMDBBase::SUdbUserInfo*, __U__SUdbUserInfoSeq); -void __read(::IceInternal::BasicStream*, SUdbUserInfoSeq&, __U__SUdbUserInfoSeq); - -typedef ::std::vector< ::AliIMDBBase::SChildUserInfo> SChildUserInfoSeq; - -class __U__SChildUserInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SChildUserInfo*, const ::AliIMDBBase::SChildUserInfo*, __U__SChildUserInfoSeq); -void __read(::IceInternal::BasicStream*, SChildUserInfoSeq&, __U__SChildUserInfoSeq); - -typedef ::std::vector< ::AliIMDBBase::SB2BChildUserInfo> SB2BChildUserInfoSeq; - -class __U__SB2BChildUserInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SB2BChildUserInfo*, const ::AliIMDBBase::SB2BChildUserInfo*, __U__SB2BChildUserInfoSeq); -void __read(::IceInternal::BasicStream*, SB2BChildUserInfoSeq&, __U__SB2BChildUserInfoSeq); - -typedef ::std::vector< ::AliIMDBBase::SChildUserInfo2> SChildUserInfoSeq2; - -class __U__SChildUserInfoSeq2 { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SChildUserInfo2*, const ::AliIMDBBase::SChildUserInfo2*, __U__SChildUserInfoSeq2); -void __read(::IceInternal::BasicStream*, SChildUserInfoSeq2&, __U__SChildUserInfoSeq2); - -typedef ::std::vector< ::AliIMDBBase::SICEToolProfile> SICEToolProfileSeq; - -class __U__SICEToolProfileSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEToolProfile*, const ::AliIMDBBase::SICEToolProfile*, __U__SICEToolProfileSeq); -void __read(::IceInternal::BasicStream*, SICEToolProfileSeq&, __U__SICEToolProfileSeq); - -typedef ::std::vector< ::AliIMDBBase::SICEKvPair> SICEKvPairSeq; - -class __U__SICEKvPairSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEKvPair*, const ::AliIMDBBase::SICEKvPair*, __U__SICEKvPairSeq); -void __read(::IceInternal::BasicStream*, SICEKvPairSeq&, __U__SICEKvPairSeq); - -typedef ::std::vector< ::AliIMDBBase::SImPrefix> SImPrefixSeq; - -class __U__SImPrefixSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SImPrefix*, const ::AliIMDBBase::SImPrefix*, __U__SImPrefixSeq); -void __read(::IceInternal::BasicStream*, SImPrefixSeq&, __U__SImPrefixSeq); - -typedef ::std::map< ::std::string, ::std::string> SICEKVMap; - -class __U__SICEKVMap { }; -void __write(::IceInternal::BasicStream*, const SICEKVMap&, __U__SICEKVMap); -void __read(::IceInternal::BasicStream*, SICEKVMap&, __U__SICEKVMap); - -struct SICEReceptNum -{ - ::std::string eserviceid; - ::Ice::Int receptnum; - - bool operator==(const SICEReceptNum&) const; - bool operator!=(const SICEReceptNum&) const; - bool operator<(const SICEReceptNum&) const; - bool operator<=(const SICEReceptNum& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEReceptNum& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEReceptNum& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMDBBase::SICEReceptNum> SICEReceptNumSeq; - -class __U__SICEReceptNumSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEReceptNum*, const ::AliIMDBBase::SICEReceptNum*, __U__SICEReceptNumSeq); -void __read(::IceInternal::BasicStream*, SICEReceptNumSeq&, __U__SICEReceptNumSeq); - -struct SICEReceptPriority -{ - ::std::string eserviceid; - ::Ice::Int receptpriority; - - bool operator==(const SICEReceptPriority&) const; - bool operator!=(const SICEReceptPriority&) const; - bool operator<(const SICEReceptPriority&) const; - bool operator<=(const SICEReceptPriority& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEReceptPriority& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEReceptPriority& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMDBBase::SICEReceptPriority> SICEReceptPrioritySeq; - -class __U__SICEReceptPrioritySeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEReceptPriority*, const ::AliIMDBBase::SICEReceptPriority*, __U__SICEReceptPrioritySeq); -void __read(::IceInternal::BasicStream*, SICEReceptPrioritySeq&, __U__SICEReceptPrioritySeq); - -struct SICERecvOffMsg -{ - ::std::string eserviceid; - ::Ice::Int recvoffmsg; - - bool operator==(const SICERecvOffMsg&) const; - bool operator!=(const SICERecvOffMsg&) const; - bool operator<(const SICERecvOffMsg&) const; - bool operator<=(const SICERecvOffMsg& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICERecvOffMsg& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICERecvOffMsg& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMDBBase::SICERecvOffMsg> SICERecvOffMsgSeq; - -class __U__SICERecvOffMsgSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICERecvOffMsg*, const ::AliIMDBBase::SICERecvOffMsg*, __U__SICERecvOffMsgSeq); -void __read(::IceInternal::BasicStream*, SICERecvOffMsgSeq&, __U__SICERecvOffMsgSeq); - -struct SICEESGroupInfo -{ - ::std::string groupName; - ::Ice::Int groupId; - ::std::string adminId; - ::Ice::StringSeq eservicelist; - - bool operator==(const SICEESGroupInfo&) const; - bool operator!=(const SICEESGroupInfo&) const; - bool operator<(const SICEESGroupInfo&) const; - bool operator<=(const SICEESGroupInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEESGroupInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEESGroupInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMDBBase::SICEESGroupInfo> SICEESGroupInfoSeq; - -class __U__SICEESGroupInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEESGroupInfo*, const ::AliIMDBBase::SICEESGroupInfo*, __U__SICEESGroupInfoSeq); -void __read(::IceInternal::BasicStream*, SICEESGroupInfoSeq&, __U__SICEESGroupInfoSeq); - -struct SICEESBaseGroupInfo -{ - ::std::string groupName; - ::Ice::Int groupId; - ::std::string adminId; - - bool operator==(const SICEESBaseGroupInfo&) const; - bool operator!=(const SICEESBaseGroupInfo&) const; - bool operator<(const SICEESBaseGroupInfo&) const; - bool operator<=(const SICEESBaseGroupInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEESBaseGroupInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEESBaseGroupInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEExpandArea -{ - ::Ice::Int id; - ::std::string areaname; - ::std::string url; - ::std::string picpath; - ::std::string createtime; - - bool operator==(const SICEExpandArea&) const; - bool operator!=(const SICEExpandArea&) const; - bool operator<(const SICEExpandArea&) const; - bool operator<=(const SICEExpandArea& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEExpandArea& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEExpandArea& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMDBBase::SICEExpandArea> SICEExpandAreaSeq; - -class __U__SICEExpandAreaSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEExpandArea*, const ::AliIMDBBase::SICEExpandArea*, __U__SICEExpandAreaSeq); -void __read(::IceInternal::BasicStream*, SICEExpandAreaSeq&, __U__SICEExpandAreaSeq); - -struct SICEESEval -{ - ::Ice::Int code; - ::std::string codename; - ::std::string welcome; - - bool operator==(const SICEESEval&) const; - bool operator!=(const SICEESEval&) const; - bool operator<(const SICEESEval&) const; - bool operator<=(const SICEESEval& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEESEval& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEESEval& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMDBBase::SICEESEval> SICEESEvalSeq; - -class __U__SICEESEvalSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEESEval*, const ::AliIMDBBase::SICEESEval*, __U__SICEESEvalSeq); -void __read(::IceInternal::BasicStream*, SICEESEvalSeq&, __U__SICEESEvalSeq); - -struct SICEESCode -{ - ::Ice::Int code; - ::std::string codename; - ::Ice::Int num; - - bool operator==(const SICEESCode&) const; - bool operator!=(const SICEESCode&) const; - bool operator<(const SICEESCode&) const; - bool operator<=(const SICEESCode& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEESCode& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEESCode& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMDBBase::SICEESCode> SICEESCodeSeq; - -class __U__SICEESCodeSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEESCode*, const ::AliIMDBBase::SICEESCode*, __U__SICEESCodeSeq); -void __read(::IceInternal::BasicStream*, SICEESCodeSeq&, __U__SICEESCodeSeq); - -struct SICEESEvalResult -{ - ::std::string uid; - ::Ice::Int sendNum; - ::Ice::Int receNum; - ::AliIMDBBase::SICEESCodeSeq codes; - - bool operator==(const SICEESEvalResult&) const; - bool operator!=(const SICEESEvalResult&) const; - bool operator<(const SICEESEvalResult&) const; - bool operator<=(const SICEESEvalResult& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEESEvalResult& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEESEvalResult& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMDBBase::SICEESEvalResult> SICEESEvalResultSeq; - -class __U__SICEESEvalResultSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEESEvalResult*, const ::AliIMDBBase::SICEESEvalResult*, __U__SICEESEvalResultSeq); -void __read(::IceInternal::BasicStream*, SICEESEvalResultSeq&, __U__SICEESEvalResultSeq); - -struct SICEESEvalResultEx -{ - ::std::string uid; - ::Ice::Int sendNum; - ::Ice::Int receNum; - ::AliIMDBBase::SICEESCodeSeq codes; - ::std::string evalTime; - - bool operator==(const SICEESEvalResultEx&) const; - bool operator!=(const SICEESEvalResultEx&) const; - bool operator<(const SICEESEvalResultEx&) const; - bool operator<=(const SICEESEvalResultEx& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEESEvalResultEx& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEESEvalResultEx& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMDBBase::SICEESEvalResultEx> SICEESEvalResultExSeq; - -class __U__SICEESEvalResultExSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEESEvalResultEx*, const ::AliIMDBBase::SICEESEvalResultEx*, __U__SICEESEvalResultExSeq); -void __read(::IceInternal::BasicStream*, SICEESEvalResultExSeq&, __U__SICEESEvalResultExSeq); - -struct SICESqlItem -{ - ::Ice::Int type; - ::std::string name; - ::std::string value; - - bool operator==(const SICESqlItem&) const; - bool operator!=(const SICESqlItem&) const; - bool operator<(const SICESqlItem&) const; - bool operator<=(const SICESqlItem& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICESqlItem& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICESqlItem& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMDBBase::SICESqlItem> SICESqlItemSeq; - -class __U__SICESqlItemSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICESqlItem*, const ::AliIMDBBase::SICESqlItem*, __U__SICESqlItemSeq); -void __read(::IceInternal::BasicStream*, SICESqlItemSeq&, __U__SICESqlItemSeq); - -struct UserStatics -{ - ::Ice::Int type; - ::std::string loginId; - ::Ice::Int totalDegree; - ::Ice::Int userValue; - ::Ice::Int dailyAction; - ::Ice::Int phoneAuth; - ::Ice::Int emailAuth; - ::Ice::Int identityAuth; - ::Ice::Int tpAuth; - ::Ice::Int tpFee; - ::Ice::Int alipayAuth; - ::Ice::Int buyCredit; - ::Ice::Int sellCredit; - - bool operator==(const UserStatics&) const; - bool operator!=(const UserStatics&) const; - bool operator<(const UserStatics&) const; - bool operator<=(const UserStatics& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const UserStatics& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const UserStatics& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMDBBase::UserStatics> UserStaticsSeq; - -class __U__UserStaticsSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::UserStatics*, const ::AliIMDBBase::UserStatics*, __U__UserStaticsSeq); -void __read(::IceInternal::BasicStream*, UserStaticsSeq&, __U__UserStaticsSeq); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/dbs_perf_test.h.svn-base b/features/aliww/include/.svn/text-base/dbs_perf_test.h.svn-base deleted file mode 100644 index ad46a5f..0000000 --- a/features/aliww/include/.svn/text-base/dbs_perf_test.h.svn-base +++ /dev/null @@ -1,34 +0,0 @@ -#ifndef _DBS_PERF_TEST_H -#define _DBS_PERF_TEST_H - -#include "paramutil.h" -#include "cbenchmark.h" -#include "dbservice.h" -#include -#include - -using namespace std; -using namespace Ice; -using namespace AliIMDBBase; - -typedef struct dbs_t{ - IMDBProxyMgrPrx *dbs; - Ice::CommunicatorPtr *ic; -}dbs_st; - -#ifdef __cplusplus -extern "C" { -#endif - -void* dbs_init(void *p); -void* dbs_end(void *p); - -void* dbs_CheckUserTokenExtra(void *p); -void* dbs_CheckWebWWPasswd(void *p); -void* dbs_CheckUserWebPasswdExtra(void *p); -void* dbs_GetUserInfoExNew4(void *p); -void* dbs_UpdateUserDataInfo3(void *p); -#ifdef __cplusplus -} -#endif -#endif diff --git a/features/aliww/include/.svn/text-base/dbservice.h.svn-base b/features/aliww/include/.svn/text-base/dbservice.h.svn-base deleted file mode 100644 index 67d8b84..0000000 --- a/features/aliww/include/.svn/text-base/dbservice.h.svn-base +++ /dev/null @@ -1,10304 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbservice.ice' - -#ifndef __dbservice_h__ -#define __dbservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIMDBBase -{ - -class IMDBProxyMgr; -bool operator==(const IMDBProxyMgr&, const IMDBProxyMgr&); -bool operator!=(const IMDBProxyMgr&, const IMDBProxyMgr&); -bool operator<(const IMDBProxyMgr&, const IMDBProxyMgr&); -bool operator<=(const IMDBProxyMgr&, const IMDBProxyMgr&); -bool operator>(const IMDBProxyMgr&, const IMDBProxyMgr&); -bool operator>=(const IMDBProxyMgr&, const IMDBProxyMgr&); - -} - -} - -namespace AliIMDBBase -{ - -class IMDBProxyMgr; -bool operator==(const IMDBProxyMgr&, const IMDBProxyMgr&); -bool operator!=(const IMDBProxyMgr&, const IMDBProxyMgr&); -bool operator<(const IMDBProxyMgr&, const IMDBProxyMgr&); -bool operator<=(const IMDBProxyMgr&, const IMDBProxyMgr&); -bool operator>(const IMDBProxyMgr&, const IMDBProxyMgr&); -bool operator>=(const IMDBProxyMgr&, const IMDBProxyMgr&); - -} - -namespace IceInternal -{ - -void incRef(::AliIMDBBase::IMDBProxyMgr*); -void decRef(::AliIMDBBase::IMDBProxyMgr*); - -void incRef(::IceProxy::AliIMDBBase::IMDBProxyMgr*); -void decRef(::IceProxy::AliIMDBBase::IMDBProxyMgr*); - -} - -namespace AliIMDBBase -{ - -typedef ::IceInternal::Handle< ::AliIMDBBase::IMDBProxyMgr> IMDBProxyMgrPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIMDBBase::IMDBProxyMgr> IMDBProxyMgrPrx; - -void __write(::IceInternal::BasicStream*, const IMDBProxyMgrPrx&); -void __read(::IceInternal::BasicStream*, IMDBProxyMgrPrx&); -void __write(::IceInternal::BasicStream*, const IMDBProxyMgrPtr&); -void __patch__IMDBProxyMgrPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IMDBProxyMgrPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IMDBProxyMgrPtr&); -void __decRefUnsafe(const IMDBProxyMgrPtr&); -void __clearHandleUnsafe(IMDBProxyMgrPtr&); - -} - -namespace AliIMDBBase -{ - -} - -namespace AliIMDBBase -{ - -class AMD_IMDBProxyMgr_sayhello : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_sayhello> AMD_IMDBProxyMgr_sayhelloPtr; - -class AMD_IMDBProxyMgr_CheckUserToken : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserToken> AMD_IMDBProxyMgr_CheckUserTokenPtr; - -class AMD_IMDBProxyMgr_CheckTmpSession : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckTmpSession> AMD_IMDBProxyMgr_CheckTmpSessionPtr; - -class AMD_IMDBProxyMgr_CheckUserWebPasswd : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswd> AMD_IMDBProxyMgr_CheckUserWebPasswdPtr; - -class AMD_IMDBProxyMgr_CheckUserPasswd : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserPasswd> AMD_IMDBProxyMgr_CheckUserPasswdPtr; - -class AMD_IMDBProxyMgr_CheckUserWebToken : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebToken> AMD_IMDBProxyMgr_CheckUserWebTokenPtr; - -class AMD_IMDBProxyMgr_GetAtmLongid : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetAtmLongid> AMD_IMDBProxyMgr_GetAtmLongidPtr; - -class AMD_IMDBProxyMgr_AddUser60 : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddUser60> AMD_IMDBProxyMgr_AddUser60Ptr; - -class AMD_IMDBProxyMgr_GetWebMemberPWInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SMemberPWInfo&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfo> AMD_IMDBProxyMgr_GetWebMemberPWInfoPtr; - -class AMD_IMDBProxyMgr_GetWebMemberPWInfoEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SMemberPWInfoEx&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfoEx> AMD_IMDBProxyMgr_GetWebMemberPWInfoExPtr; - -class AMD_IMDBProxyMgr_GetUserWebBasicProfile : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserWebBasicProfile> AMD_IMDBProxyMgr_GetUserWebBasicProfilePtr; - -class AMD_IMDBProxyMgr_CheckCanAddContact : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckCanAddContact> AMD_IMDBProxyMgr_CheckCanAddContactPtr; - -class AMD_IMDBProxyMgr_QueryMatchedUserIds : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SMatchedUserIdInfoSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_QueryMatchedUserIds> AMD_IMDBProxyMgr_QueryMatchedUserIdsPtr; - -class AMD_IMDBProxyMgr_UpdateContactWebInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactWebInfo> AMD_IMDBProxyMgr_UpdateContactWebInfoPtr; - -class AMD_IMDBProxyMgr_DelTaobaoUser : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_DelTaobaoUser> AMD_IMDBProxyMgr_DelTaobaoUserPtr; - -class AMD_IMDBProxyMgr_DelAnyUser : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_DelAnyUser> AMD_IMDBProxyMgr_DelAnyUserPtr; - -class AMD_IMDBProxyMgr_AddUserKeyWord : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddUserKeyWord> AMD_IMDBProxyMgr_AddUserKeyWordPtr; - -class AMD_IMDBProxyMgr_UpdateUserKeyWord : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserKeyWord> AMD_IMDBProxyMgr_UpdateUserKeyWordPtr; - -class AMD_IMDBProxyMgr_GetUserKeyWord : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWord> AMD_IMDBProxyMgr_GetUserKeyWordPtr; - -class AMD_IMDBProxyMgr_QueryUserIdsByKeyWord : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SMatchedUserIdInfoSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_QueryUserIdsByKeyWord> AMD_IMDBProxyMgr_QueryUserIdsByKeyWordPtr; - -class AMD_IMDBProxyMgr_GetBatchMemberInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEMemberInfoSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetBatchMemberInfo> AMD_IMDBProxyMgr_GetBatchMemberInfoPtr; - -class AMD_IMDBProxyMgr_GetAllVersion : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEVersionSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllVersion> AMD_IMDBProxyMgr_GetAllVersionPtr; - -class AMD_IMDBProxyMgr_GetAllSysMsg : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICESysMessageSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllSysMsg> AMD_IMDBProxyMgr_GetAllSysMsgPtr; - -class AMD_IMDBProxyMgr_GetAllExSysMsg : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SExICESysMessageSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllExSysMsg> AMD_IMDBProxyMgr_GetAllExSysMsgPtr; - -class AMD_IMDBProxyMgr_GetUserInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfo&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo> AMD_IMDBProxyMgr_GetUserInfoPtr; - -class AMD_IMDBProxyMgr_GetUserInfo2 : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfo2&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2> AMD_IMDBProxyMgr_GetUserInfo2Ptr; - -class AMD_IMDBProxyMgr_GetUserInfoEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfoEx&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoEx> AMD_IMDBProxyMgr_GetUserInfoExPtr; - -class AMD_IMDBProxyMgr_GetUserInfoNew : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfoNew&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoNew> AMD_IMDBProxyMgr_GetUserInfoNewPtr; - -class AMD_IMDBProxyMgr_GetUserInfo2New : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfo2New&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2New> AMD_IMDBProxyMgr_GetUserInfo2NewPtr; - -class AMD_IMDBProxyMgr_GetUserInfoExNew : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfoExNew&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew> AMD_IMDBProxyMgr_GetUserInfoExNewPtr; - -class AMD_IMDBProxyMgr_GetUserInfoExNew2 : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfoExNew2&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew2> AMD_IMDBProxyMgr_GetUserInfoExNew2Ptr; - -class AMD_IMDBProxyMgr_GetUserInfoExNew3 : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfoExNew3&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew3> AMD_IMDBProxyMgr_GetUserInfoExNew3Ptr; - -class AMD_IMDBProxyMgr_GetUserInfoExNew4 : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfoExNew4&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew4> AMD_IMDBProxyMgr_GetUserInfoExNew4Ptr; - -class AMD_IMDBProxyMgr_GetUserVerifyInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Byte, ::Ice::Byte) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfo> AMD_IMDBProxyMgr_GetUserVerifyInfoPtr; - -class AMD_IMDBProxyMgr_GetUserVerifyInfoEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Byte, ::Ice::Byte, ::Ice::Byte) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoEx> AMD_IMDBProxyMgr_GetUserVerifyInfoExPtr; - -class AMD_IMDBProxyMgr_GetUserVerifyInfoQuestion : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Byte, ::Ice::Byte, ::Ice::Byte, const ::std::string&, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoQuestion> AMD_IMDBProxyMgr_GetUserVerifyInfoQuestionPtr; - -class AMD_IMDBProxyMgr_GetGroupList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEGroupInfoSeq&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupList> AMD_IMDBProxyMgr_GetGroupListPtr; - -class AMD_IMDBProxyMgr_GetGroupListEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEGroupInfoExSeq&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupListEx> AMD_IMDBProxyMgr_GetGroupListExPtr; - -class AMD_IMDBProxyMgr_GetContactList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactList> AMD_IMDBProxyMgr_GetContactListPtr; - -class AMD_IMDBProxyMgr_GetBlackList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetBlackList> AMD_IMDBProxyMgr_GetBlackListPtr; - -class AMD_IMDBProxyMgr_GetReverseBlackList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetReverseBlackList> AMD_IMDBProxyMgr_GetReverseBlackListPtr; - -class AMD_IMDBProxyMgr_GetOfflineMsg : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEOffLineMessegeSeq&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsg> AMD_IMDBProxyMgr_GetOfflineMsgPtr; - -class AMD_IMDBProxyMgr_GetOfflineMsgEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEOffLineMessegeExSeq&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgEx> AMD_IMDBProxyMgr_GetOfflineMsgExPtr; - -class AMD_IMDBProxyMgr_GetOfflineMsgCount : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgCount> AMD_IMDBProxyMgr_GetOfflineMsgCountPtr; - -class AMD_IMDBProxyMgr_GetEnetOfflineMsgNum : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetEnetOfflineMsgNum> AMD_IMDBProxyMgr_GetEnetOfflineMsgNumPtr; - -class AMD_IMDBProxyMgr_GetContactInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEContactInfo&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactInfo> AMD_IMDBProxyMgr_GetContactInfoPtr; - -class AMD_IMDBProxyMgr_GetOfflineMsgNum : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgNum> AMD_IMDBProxyMgr_GetOfflineMsgNumPtr; - -class AMD_IMDBProxyMgr_GetToolProfiles : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfiles> AMD_IMDBProxyMgr_GetToolProfilesPtr; - -class AMD_IMDBProxyMgr_GetToolProfilesEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEToolProfileSeq&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfilesEx> AMD_IMDBProxyMgr_GetToolProfilesExPtr; - -class AMD_IMDBProxyMgr_GetSysMsg : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICESysMessage&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetSysMsg> AMD_IMDBProxyMgr_GetSysMsgPtr; - -class AMD_IMDBProxyMgr_AddUser : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddUser> AMD_IMDBProxyMgr_AddUserPtr; - -class AMD_IMDBProxyMgr_AddGroup : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddGroup> AMD_IMDBProxyMgr_AddGroupPtr; - -class AMD_IMDBProxyMgr_AddGroupEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddGroupEx> AMD_IMDBProxyMgr_AddGroupExPtr; - -class AMD_IMDBProxyMgr_AddBlackList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddBlackList> AMD_IMDBProxyMgr_AddBlackListPtr; - -class AMD_IMDBProxyMgr_AddOfflineMsg : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsg> AMD_IMDBProxyMgr_AddOfflineMsgPtr; - -class AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsg : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsg> AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsgPtr; - -class AMD_IMDBProxyMgr_AddOfflineMsgNoSMS : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgNoSMS> AMD_IMDBProxyMgr_AddOfflineMsgNoSMSPtr; - -class AMD_IMDBProxyMgr_AddOfflineMsgEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgEx> AMD_IMDBProxyMgr_AddOfflineMsgExPtr; - -class AMD_IMDBProxyMgr_UpdateUserLogin : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLogin> AMD_IMDBProxyMgr_UpdateUserLoginPtr; - -class AMD_IMDBProxyMgr_UpdateUserLoginEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginEx> AMD_IMDBProxyMgr_UpdateUserLoginExPtr; - -class AMD_IMDBProxyMgr_UpdateUserLoginDataInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfo> AMD_IMDBProxyMgr_UpdateUserLoginDataInfoPtr; - -class AMD_IMDBProxyMgr_UpdateUserLoginDataInfoEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoEx> AMD_IMDBProxyMgr_UpdateUserLoginDataInfoExPtr; - -class AMD_IMDBProxyMgr_UpdateUserSysMsgId : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserSysMsgId> AMD_IMDBProxyMgr_UpdateUserSysMsgIdPtr; - -class AMD_IMDBProxyMgr_UpdateUserDataInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo> AMD_IMDBProxyMgr_UpdateUserDataInfoPtr; - -class AMD_IMDBProxyMgr_UpdateUserDataInfo2 : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo2> AMD_IMDBProxyMgr_UpdateUserDataInfo2Ptr; - -class AMD_IMDBProxyMgr_UpdateUserDataInfo3 : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo3> AMD_IMDBProxyMgr_UpdateUserDataInfo3Ptr; - -class AMD_IMDBProxyMgr_UpdateUserVerifySet : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySet> AMD_IMDBProxyMgr_UpdateUserVerifySetPtr; - -class AMD_IMDBProxyMgr_UpdateUserVerifySetEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetEx> AMD_IMDBProxyMgr_UpdateUserVerifySetExPtr; - -class AMD_IMDBProxyMgr_UpdateUserVerifySetQuestion : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetQuestion> AMD_IMDBProxyMgr_UpdateUserVerifySetQuestionPtr; - -class AMD_IMDBProxyMgr_UpdateGroup : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateGroup> AMD_IMDBProxyMgr_UpdateGroupPtr; - -class AMD_IMDBProxyMgr_MoveGroup : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_MoveGroup> AMD_IMDBProxyMgr_MoveGroupPtr; - -class AMD_IMDBProxyMgr_UpdateContactNickName : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickName> AMD_IMDBProxyMgr_UpdateContactNickNamePtr; - -class AMD_IMDBProxyMgr_UpdateContactGroup : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroup> AMD_IMDBProxyMgr_UpdateContactGroupPtr; - -class AMD_IMDBProxyMgr_UpdateContactStatus : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactStatus> AMD_IMDBProxyMgr_UpdateContactStatusPtr; - -class AMD_IMDBProxyMgr_UpdateNotifyMessage : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateNotifyMessage> AMD_IMDBProxyMgr_UpdateNotifyMessagePtr; - -class AMD_IMDBProxyMgr_UpdateToolProfiles : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfiles> AMD_IMDBProxyMgr_UpdateToolProfilesPtr; - -class AMD_IMDBProxyMgr_UpdateToolProfilesEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfilesEx> AMD_IMDBProxyMgr_UpdateToolProfilesExPtr; - -class AMD_IMDBProxyMgr_RemoveGroup : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveGroup> AMD_IMDBProxyMgr_RemoveGroupPtr; - -class AMD_IMDBProxyMgr_RemoveContact : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveContact> AMD_IMDBProxyMgr_RemoveContactPtr; - -class AMD_IMDBProxyMgr_RemoveInverfiedContact : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveInverfiedContact> AMD_IMDBProxyMgr_RemoveInverfiedContactPtr; - -class AMD_IMDBProxyMgr_RemoveBlackList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBlackList> AMD_IMDBProxyMgr_RemoveBlackListPtr; - -class AMD_IMDBProxyMgr_IsBlackedByOther : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, bool) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_IsBlackedByOther> AMD_IMDBProxyMgr_IsBlackedByOtherPtr; - -class AMD_IMDBProxyMgr_RemoveBatchContacts : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBatchContacts> AMD_IMDBProxyMgr_RemoveBatchContactsPtr; - -class AMD_IMDBProxyMgr_GetUserDStatus : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserDStatusSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserDStatus> AMD_IMDBProxyMgr_GetUserDStatusPtr; - -class AMD_IMDBProxyMgr_AddUserDStatus : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddUserDStatus> AMD_IMDBProxyMgr_AddUserDStatusPtr; - -class AMD_IMDBProxyMgr_RemoveUserDStatus : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveUserDStatus> AMD_IMDBProxyMgr_RemoveUserDStatusPtr; - -class AMD_IMDBProxyMgr_GetAllContactList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllContactList> AMD_IMDBProxyMgr_GetAllContactListPtr; - -class AMD_IMDBProxyMgr_GetCntModifyList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICECntCidModPairSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntModifyList> AMD_IMDBProxyMgr_GetCntModifyListPtr; - -class AMD_IMDBProxyMgr_AddGenContactFull : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Long) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddGenContactFull> AMD_IMDBProxyMgr_AddGenContactFullPtr; - -class AMD_IMDBProxyMgr_GetContactDetail : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEGenContactFull&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetail> AMD_IMDBProxyMgr_GetContactDetailPtr; - -class AMD_IMDBProxyMgr_DelGenContact : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Long) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_DelGenContact> AMD_IMDBProxyMgr_DelGenContactPtr; - -class AMD_IMDBProxyMgr_AddContact : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddContact> AMD_IMDBProxyMgr_AddContactPtr; - -class AMD_IMDBProxyMgr_CheckUpgradeGenCnt : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUpgradeGenCnt> AMD_IMDBProxyMgr_CheckUpgradeGenCntPtr; - -class AMD_IMDBProxyMgr_ModifyGenCntID : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyGenCntID> AMD_IMDBProxyMgr_ModifyGenCntIDPtr; - -class AMD_IMDBProxyMgr_UpgradeGenContact : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Long, ::Ice::Long, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpgradeGenContact> AMD_IMDBProxyMgr_UpgradeGenContactPtr; - -class AMD_IMDBProxyMgr_GetUpdatedUserInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Long, ::Ice::Long, const ::std::string&, const ::std::string&, ::Ice::Long, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUpdatedUserInfo> AMD_IMDBProxyMgr_GetUpdatedUserInfoPtr; - -class AMD_IMDBProxyMgr_ModifyContactDetail : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Long, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyContactDetail> AMD_IMDBProxyMgr_ModifyContactDetailPtr; - -class AMD_IMDBProxyMgr_UpdateContactGroupByCid : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroupByCid> AMD_IMDBProxyMgr_UpdateContactGroupByCidPtr; - -class AMD_IMDBProxyMgr_UpdateContactNickNameByCid : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickNameByCid> AMD_IMDBProxyMgr_UpdateContactNickNameByCidPtr; - -class AMD_IMDBProxyMgr_GetCRMContactDetail : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICECRMContactDetail&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetCRMContactDetail> AMD_IMDBProxyMgr_GetCRMContactDetailPtr; - -class AMD_IMDBProxyMgr_GetHardCodeIds : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetHardCodeIds> AMD_IMDBProxyMgr_GetHardCodeIdsPtr; - -class AMD_IMDBProxyMgr_UpdateHardCodeIds : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateHardCodeIds> AMD_IMDBProxyMgr_UpdateHardCodeIdsPtr; - -class AMD_IMDBProxyMgr_GetCntOtherModifyList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICECntOtherModInfoSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyList> AMD_IMDBProxyMgr_GetCntOtherModifyListPtr; - -class AMD_IMDBProxyMgr_GetCntOtherModifyInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICECntOtherModInfo&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyInfo> AMD_IMDBProxyMgr_GetCntOtherModifyInfoPtr; - -class AMD_IMDBProxyMgr_GetUserCRInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserCRInfo> AMD_IMDBProxyMgr_GetUserCRInfoPtr; - -class AMD_IMDBProxyMgr_SetUserCRInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_SetUserCRInfo> AMD_IMDBProxyMgr_SetUserCRInfoPtr; - -class AMD_IMDBProxyMgr_GetSmsUserInfoByUid : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICESmsUserInfo&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserInfoByUid> AMD_IMDBProxyMgr_GetSmsUserInfoByUidPtr; - -class AMD_IMDBProxyMgr_GetSmsUserMsgInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserMsgInfo> AMD_IMDBProxyMgr_GetSmsUserMsgInfoPtr; - -class AMD_IMDBProxyMgr_DelOfflineMsg : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsg> AMD_IMDBProxyMgr_DelOfflineMsgPtr; - -class AMD_IMDBProxyMgr_DelOfflineMsgEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsgEx> AMD_IMDBProxyMgr_DelOfflineMsgExPtr; - -class AMD_IMDBProxyMgr_DelWapOfflineMsg : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_DelWapOfflineMsg> AMD_IMDBProxyMgr_DelWapOfflineMsgPtr; - -class AMD_IMDBProxyMgr_ModifyCntMemo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyCntMemo> AMD_IMDBProxyMgr_ModifyCntMemoPtr; - -class AMD_IMDBProxyMgr_GetCntMemo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntMemo> AMD_IMDBProxyMgr_GetCntMemoPtr; - -class AMD_IMDBProxyMgr_GetUserTribe : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::ALiIMDBTribe::STribeIdDbSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribe> AMD_IMDBProxyMgr_GetUserTribePtr; - -class AMD_IMDBProxyMgr_GetUserTribeConfig : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribeConfig> AMD_IMDBProxyMgr_GetUserTribeConfigPtr; - -class AMD_IMDBProxyMgr_UpdateUserTribeConfig : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserTribeConfig> AMD_IMDBProxyMgr_UpdateUserTribeConfigPtr; - -class AMD_IMDBProxyMgr_GetTribeOffMngMsg : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::ALiIMDBTribe::STribeOfflineMsgSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetTribeOffMngMsg> AMD_IMDBProxyMgr_GetTribeOffMngMsgPtr; - -class AMD_IMDBProxyMgr_DelTribeOffMngMsg : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_DelTribeOffMngMsg> AMD_IMDBProxyMgr_DelTribeOffMngMsgPtr; - -class AMD_IMDBProxyMgr_ModifyPersonalShow : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyPersonalShow> AMD_IMDBProxyMgr_ModifyPersonalShowPtr; - -class AMD_IMDBProxyMgr_GetPersonalShow : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetPersonalShow> AMD_IMDBProxyMgr_GetPersonalShowPtr; - -class AMD_IMDBProxyMgr_GetAllOnlineSmsUser : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllOnlineSmsUser> AMD_IMDBProxyMgr_GetAllOnlineSmsUserPtr; - -class AMD_IMDBProxyMgr_GetUserKeyWordDegree : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Float) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWordDegree> AMD_IMDBProxyMgr_GetUserKeyWordDegreePtr; - -class AMD_IMDBProxyMgr_GetUserValue : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserValue> AMD_IMDBProxyMgr_GetUserValuePtr; - -class AMD_IMDBProxyMgr_UpdateUserMd5Password : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserMd5Password> AMD_IMDBProxyMgr_UpdateUserMd5PasswordPtr; - -class AMD_IMDBProxyMgr_InsertYahooUser : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_InsertYahooUser> AMD_IMDBProxyMgr_InsertYahooUserPtr; - -class AMD_IMDBProxyMgr_GetContactDetailByUid : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEGenContactFull&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetailByUid> AMD_IMDBProxyMgr_GetContactDetailByUidPtr; - -class AMD_IMDBProxyMgr_GetChildTeamList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SChildUserInfoSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList> AMD_IMDBProxyMgr_GetChildTeamListPtr; - -class AMD_IMDBProxyMgr_GetChildTeamList2 : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SChildUserInfoSeq2&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList2> AMD_IMDBProxyMgr_GetChildTeamList2Ptr; - -class AMD_IMDBProxyMgr_GetChildUserInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SChildUserInfo&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo> AMD_IMDBProxyMgr_GetChildUserInfoPtr; - -class AMD_IMDBProxyMgr_GetChildUserInfo2 : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SChildUserInfo2&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo2> AMD_IMDBProxyMgr_GetChildUserInfo2Ptr; - -class AMD_IMDBProxyMgr_GetShareContactList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetShareContactList> AMD_IMDBProxyMgr_GetShareContactListPtr; - -class AMD_IMDBProxyMgr_GetContactShareInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactShareInfo> AMD_IMDBProxyMgr_GetContactShareInfoPtr; - -class AMD_IMDBProxyMgr_SetContactShareInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_SetContactShareInfo> AMD_IMDBProxyMgr_SetContactShareInfoPtr; - -class AMD_IMDBProxyMgr_GetMultiAccountContactList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEContactInfoSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiAccountContactList> AMD_IMDBProxyMgr_GetMultiAccountContactListPtr; - -class AMD_IMDBProxyMgr_GetMultiServiceList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::Ice::IntSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiServiceList> AMD_IMDBProxyMgr_GetMultiServiceListPtr; - -class AMD_IMDBProxyMgr_GetMultiBindToUser : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiBindToUser> AMD_IMDBProxyMgr_GetMultiBindToUserPtr; - -class AMD_IMDBProxyMgr_GetWebBinds : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEKvPairSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetWebBinds> AMD_IMDBProxyMgr_GetWebBindsPtr; - -class AMD_IMDBProxyMgr_AddWebBind : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddWebBind> AMD_IMDBProxyMgr_AddWebBindPtr; - -class AMD_IMDBProxyMgr_ChangeWebBind : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_ChangeWebBind> AMD_IMDBProxyMgr_ChangeWebBindPtr; - -class AMD_IMDBProxyMgr_DelWebBind : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_DelWebBind> AMD_IMDBProxyMgr_DelWebBindPtr; - -class AMD_IMDBProxyMgr_getUserSession : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIM::SIceSession&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getUserSession> AMD_IMDBProxyMgr_getUserSessionPtr; - -class AMD_IMDBProxyMgr_checkUserSession : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_checkUserSession> AMD_IMDBProxyMgr_checkUserSessionPtr; - -class AMD_IMDBProxyMgr_removeSession : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_removeSession> AMD_IMDBProxyMgr_removeSessionPtr; - -class AMD_IMDBProxyMgr_UpdateSignature : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSignature> AMD_IMDBProxyMgr_UpdateSignaturePtr; - -class AMD_IMDBProxyMgr_updateContactClientInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_updateContactClientInfo> AMD_IMDBProxyMgr_updateContactClientInfoPtr; - -class AMD_IMDBProxyMgr_getUserProfile : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEKVMap&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getUserProfile> AMD_IMDBProxyMgr_getUserProfilePtr; - -class AMD_IMDBProxyMgr_getPeerVerifyFlag : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlag> AMD_IMDBProxyMgr_getPeerVerifyFlagPtr; - -class AMD_IMDBProxyMgr_getPeerVerifyFlagQuestion : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlagQuestion> AMD_IMDBProxyMgr_getPeerVerifyFlagQuestionPtr; - -class AMD_IMDBProxyMgr_getNickName : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getNickName> AMD_IMDBProxyMgr_getNickNamePtr; - -class AMD_IMDBProxyMgr_getFTServiceInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, ::Ice::Short) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getFTServiceInfo> AMD_IMDBProxyMgr_getFTServiceInfoPtr; - -class AMD_IMDBProxyMgr_getTietuServiceInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Short) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getTietuServiceInfo> AMD_IMDBProxyMgr_getTietuServiceInfoPtr; - -class AMD_IMDBProxyMgr_getFTSAddr : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Long, const ::std::string&, ::Ice::Short) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getFTSAddr> AMD_IMDBProxyMgr_getFTSAddrPtr; - -class AMD_IMDBProxyMgr_registerWanghao : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_registerWanghao> AMD_IMDBProxyMgr_registerWanghaoPtr; - -class AMD_IMDBProxyMgr_updateUserProfile : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_updateUserProfile> AMD_IMDBProxyMgr_updateUserProfilePtr; - -class AMD_IMDBProxyMgr_loadSitePrefix : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SImPrefixSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_loadSitePrefix> AMD_IMDBProxyMgr_loadSitePrefixPtr; - -class AMD_IMDBProxyMgr_updateAepUserId : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_updateAepUserId> AMD_IMDBProxyMgr_updateAepUserIdPtr; - -class AMD_IMDBProxyMgr_updateVipflag : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_updateVipflag> AMD_IMDBProxyMgr_updateVipflagPtr; - -class AMD_IMDBProxyMgr_checkWangHaoPwd : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_checkWangHaoPwd> AMD_IMDBProxyMgr_checkWangHaoPwdPtr; - -class AMD_IMDBProxyMgr_checkCanLogin : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_checkCanLogin> AMD_IMDBProxyMgr_checkCanLoginPtr; - -class AMD_IMDBProxyMgr_GetSIPSessionId : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetSIPSessionId> AMD_IMDBProxyMgr_GetSIPSessionIdPtr; - -class AMD_IMDBProxyMgr_CheckGsContact : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckGsContact> AMD_IMDBProxyMgr_CheckGsContactPtr; - -class AMD_IMDBProxyMgr_UpdateSmsAuthCode : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSmsAuthCode> AMD_IMDBProxyMgr_UpdateSmsAuthCodePtr; - -class AMD_IMDBProxyMgr_CheckSmsAuthCode : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthCode> AMD_IMDBProxyMgr_CheckSmsAuthCodePtr; - -class AMD_IMDBProxyMgr_UpdateUserValueBySmsAuth : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserValueBySmsAuth> AMD_IMDBProxyMgr_UpdateUserValueBySmsAuthPtr; - -class AMD_IMDBProxyMgr_CheckSmsAuthStatus : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthStatus> AMD_IMDBProxyMgr_CheckSmsAuthStatusPtr; - -class AMD_IMDBProxyMgr_CheckUserTokenExtra : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserTokenExtra> AMD_IMDBProxyMgr_CheckUserTokenExtraPtr; - -class AMD_IMDBProxyMgr_CheckUserWebPasswdExtra : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswdExtra> AMD_IMDBProxyMgr_CheckUserWebPasswdExtraPtr; - -class AMD_IMDBProxyMgr_getESShuntStatus : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESShuntStatus> AMD_IMDBProxyMgr_getESShuntStatusPtr; - -class AMD_IMDBProxyMgr_setESShuntStatus : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_setESShuntStatus> AMD_IMDBProxyMgr_setESShuntStatusPtr; - -class AMD_IMDBProxyMgr_getMaxESReceptNum : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEReceptNumSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getMaxESReceptNum> AMD_IMDBProxyMgr_getMaxESReceptNumPtr; - -class AMD_IMDBProxyMgr_setMaxESReceptNum : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_setMaxESReceptNum> AMD_IMDBProxyMgr_setMaxESReceptNumPtr; - -class AMD_IMDBProxyMgr_getESPriority : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEReceptPrioritySeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESPriority> AMD_IMDBProxyMgr_getESPriorityPtr; - -class AMD_IMDBProxyMgr_setESPriority : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_setESPriority> AMD_IMDBProxyMgr_setESPriorityPtr; - -class AMD_IMDBProxyMgr_getESRecvOffMsg : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICERecvOffMsgSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESRecvOffMsg> AMD_IMDBProxyMgr_getESRecvOffMsgPtr; - -class AMD_IMDBProxyMgr_setESRecvOffMsg : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_setESRecvOffMsg> AMD_IMDBProxyMgr_setESRecvOffMsgPtr; - -class AMD_IMDBProxyMgr_getESGroupList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::Ice::IntSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupList> AMD_IMDBProxyMgr_getESGroupListPtr; - -class AMD_IMDBProxyMgr_insertESGroupInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_insertESGroupInfo> AMD_IMDBProxyMgr_insertESGroupInfoPtr; - -class AMD_IMDBProxyMgr_updateESGroupInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_updateESGroupInfo> AMD_IMDBProxyMgr_updateESGroupInfoPtr; - -class AMD_IMDBProxyMgr_delESGroup : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_delESGroup> AMD_IMDBProxyMgr_delESGroupPtr; - -class AMD_IMDBProxyMgr_getESGroupInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEESGroupInfoSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfo> AMD_IMDBProxyMgr_getESGroupInfoPtr; - -class AMD_IMDBProxyMgr_getESGroupInfoByID : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEESGroupInfo&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfoByID> AMD_IMDBProxyMgr_getESGroupInfoByIDPtr; - -class AMD_IMDBProxyMgr_getESUserFunc : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESUserFunc> AMD_IMDBProxyMgr_getESUserFuncPtr; - -class AMD_IMDBProxyMgr_getESUnJoinGroup : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESUnJoinGroup> AMD_IMDBProxyMgr_getESUnJoinGroupPtr; - -class AMD_IMDBProxyMgr_checkESRole : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_checkESRole> AMD_IMDBProxyMgr_checkESRolePtr; - -class AMD_IMDBProxyMgr_CheckWebWWPasswd : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckWebWWPasswd> AMD_IMDBProxyMgr_CheckWebWWPasswdPtr; - -class AMD_IMDBProxyMgr_getESExpandArea : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEExpandAreaSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandArea> AMD_IMDBProxyMgr_getESExpandAreaPtr; - -class AMD_IMDBProxyMgr_getESExpandAreaById : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEExpandArea&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandAreaById> AMD_IMDBProxyMgr_getESExpandAreaByIdPtr; - -class AMD_IMDBProxyMgr_addESExpandArea : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_addESExpandArea> AMD_IMDBProxyMgr_addESExpandAreaPtr; - -class AMD_IMDBProxyMgr_updateESExpandArea : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_updateESExpandArea> AMD_IMDBProxyMgr_updateESExpandAreaPtr; - -class AMD_IMDBProxyMgr_delESExpandArea : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_delESExpandArea> AMD_IMDBProxyMgr_delESExpandAreaPtr; - -class AMD_IMDBProxyMgr_setESEval : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_setESEval> AMD_IMDBProxyMgr_setESEvalPtr; - -class AMD_IMDBProxyMgr_getESEval : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESEval> AMD_IMDBProxyMgr_getESEvalPtr; - -class AMD_IMDBProxyMgr_sendESEvalResult : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_sendESEvalResult> AMD_IMDBProxyMgr_sendESEvalResultPtr; - -class AMD_IMDBProxyMgr_setESEvalResult : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_setESEvalResult> AMD_IMDBProxyMgr_setESEvalResultPtr; - -class AMD_IMDBProxyMgr_getESEvalResult : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResult> AMD_IMDBProxyMgr_getESEvalResultPtr; - -class AMD_IMDBProxyMgr_getESEvalResultToday : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEESEvalResultSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultToday> AMD_IMDBProxyMgr_getESEvalResultTodayPtr; - -class AMD_IMDBProxyMgr_getESEvalResultHistory : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEESEvalResultSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistory> AMD_IMDBProxyMgr_getESEvalResultHistoryPtr; - -class AMD_IMDBProxyMgr_getESEvalResultHistorybypage : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SICEESEvalResultExSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistorybypage> AMD_IMDBProxyMgr_getESEvalResultHistorybypagePtr; - -class AMD_IMDBProxyMgr_getLastLoginTime : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getLastLoginTime> AMD_IMDBProxyMgr_getLastLoginTimePtr; - -class AMD_IMDBProxyMgr_getChildShuntInfos : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SChildUserInfoSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getChildShuntInfos> AMD_IMDBProxyMgr_getChildShuntInfosPtr; - -class AMD_IMDBProxyMgr_setChildShuntInfos : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_setChildShuntInfos> AMD_IMDBProxyMgr_setChildShuntInfosPtr; - -class AMD_IMDBProxyMgr_getAgentChild : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getAgentChild> AMD_IMDBProxyMgr_getAgentChildPtr; - -class AMD_IMDBProxyMgr_setAgentChild : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_setAgentChild> AMD_IMDBProxyMgr_setAgentChildPtr; - -class AMD_IMDBProxyMgr_getAgentList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getAgentList> AMD_IMDBProxyMgr_getAgentListPtr; - -class AMD_IMDBProxyMgr_getB2BChildTeamList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SB2BChildUserInfoSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildTeamList> AMD_IMDBProxyMgr_getB2BChildTeamListPtr; - -class AMD_IMDBProxyMgr_getB2BChildInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SB2BChildUserInfo&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildInfo> AMD_IMDBProxyMgr_getB2BChildInfoPtr; - -class AMD_IMDBProxyMgr_getB2BChildParentId : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildParentId> AMD_IMDBProxyMgr_getB2BChildParentIdPtr; - -class AMD_IMDBProxyMgr_addB2BChild : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_addB2BChild> AMD_IMDBProxyMgr_addB2BChildPtr; - -class AMD_IMDBProxyMgr_updateB2BChild : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_updateB2BChild> AMD_IMDBProxyMgr_updateB2BChildPtr; - -class AMD_IMDBProxyMgr_deleteB2BChild : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_deleteB2BChild> AMD_IMDBProxyMgr_deleteB2BChildPtr; - -} - -namespace IceAsync -{ - -namespace AliIMDBBase -{ - -class AMD_IMDBProxyMgr_sayhello : public ::AliIMDBBase::AMD_IMDBProxyMgr_sayhello, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_sayhello(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckUserToken : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserToken, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckUserToken(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckTmpSession : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckTmpSession, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckTmpSession(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckUserWebPasswd : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswd, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckUserWebPasswd(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckUserPasswd : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserPasswd, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckUserPasswd(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckUserWebToken : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebToken, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckUserWebToken(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetAtmLongid : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetAtmLongid, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetAtmLongid(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddUser60 : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddUser60, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddUser60(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetWebMemberPWInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetWebMemberPWInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SMemberPWInfo&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetWebMemberPWInfoEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfoEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetWebMemberPWInfoEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SMemberPWInfoEx&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserWebBasicProfile : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserWebBasicProfile, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserWebBasicProfile(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckCanAddContact : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckCanAddContact, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckCanAddContact(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_QueryMatchedUserIds : public ::AliIMDBBase::AMD_IMDBProxyMgr_QueryMatchedUserIds, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_QueryMatchedUserIds(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SMatchedUserIdInfoSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateContactWebInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactWebInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateContactWebInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_DelTaobaoUser : public ::AliIMDBBase::AMD_IMDBProxyMgr_DelTaobaoUser, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_DelTaobaoUser(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_DelAnyUser : public ::AliIMDBBase::AMD_IMDBProxyMgr_DelAnyUser, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_DelAnyUser(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddUserKeyWord : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddUserKeyWord, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddUserKeyWord(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserKeyWord : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserKeyWord, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserKeyWord(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserKeyWord : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWord, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserKeyWord(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_QueryUserIdsByKeyWord : public ::AliIMDBBase::AMD_IMDBProxyMgr_QueryUserIdsByKeyWord, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_QueryUserIdsByKeyWord(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SMatchedUserIdInfoSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetBatchMemberInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetBatchMemberInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetBatchMemberInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEMemberInfoSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetAllVersion : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllVersion, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetAllVersion(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEVersionSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetAllSysMsg : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllSysMsg, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetAllSysMsg(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICESysMessageSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetAllExSysMsg : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllExSysMsg, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetAllExSysMsg(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SExICESysMessageSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfo&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserInfo2 : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserInfo2(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfo2&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserInfoEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserInfoEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfoEx&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserInfoNew : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoNew, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserInfoNew(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfoNew&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserInfo2New : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2New, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserInfo2New(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfo2New&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserInfoExNew : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserInfoExNew(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfoExNew&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserInfoExNew2 : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew2, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserInfoExNew2(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfoExNew2&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserInfoExNew3 : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew3, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserInfoExNew3(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfoExNew3&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserInfoExNew4 : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew4, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserInfoExNew4(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfoExNew4&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserVerifyInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserVerifyInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Byte, ::Ice::Byte); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserVerifyInfoEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserVerifyInfoEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Byte, ::Ice::Byte, ::Ice::Byte); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserVerifyInfoQuestion : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoQuestion, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserVerifyInfoQuestion(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Byte, ::Ice::Byte, ::Ice::Byte, const ::std::string&, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetGroupList : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetGroupList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEGroupInfoSeq&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetGroupListEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupListEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetGroupListEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEGroupInfoExSeq&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetContactList : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetContactList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetBlackList : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetBlackList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetBlackList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetReverseBlackList : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetReverseBlackList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetReverseBlackList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetOfflineMsg : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsg, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetOfflineMsg(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEOffLineMessegeSeq&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetOfflineMsgEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetOfflineMsgEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEOffLineMessegeExSeq&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetOfflineMsgCount : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgCount, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetOfflineMsgCount(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetEnetOfflineMsgNum : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetEnetOfflineMsgNum, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetEnetOfflineMsgNum(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetContactInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetContactInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEContactInfo&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetOfflineMsgNum : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgNum, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetOfflineMsgNum(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetToolProfiles : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfiles, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetToolProfiles(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetToolProfilesEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfilesEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetToolProfilesEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEToolProfileSeq&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetSysMsg : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetSysMsg, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetSysMsg(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICESysMessage&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddUser : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddUser, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddUser(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddGroup : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddGroup, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddGroup(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddGroupEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddGroupEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddGroupEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddBlackList : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddBlackList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddBlackList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddOfflineMsg : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsg, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddOfflineMsg(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsg : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsg, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsg(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddOfflineMsgNoSMS : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgNoSMS, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddOfflineMsgNoSMS(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddOfflineMsgEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddOfflineMsgEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserLogin : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLogin, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserLogin(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserLoginEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserLoginEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserLoginDataInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserLoginDataInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserLoginDataInfoEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserLoginDataInfoEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserSysMsgId : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserSysMsgId, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserSysMsgId(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserDataInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserDataInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserDataInfo2 : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo2, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserDataInfo2(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserDataInfo3 : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo3, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserDataInfo3(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserVerifySet : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySet, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserVerifySet(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserVerifySetEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserVerifySetEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserVerifySetQuestion : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetQuestion, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserVerifySetQuestion(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateGroup : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateGroup, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateGroup(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_MoveGroup : public ::AliIMDBBase::AMD_IMDBProxyMgr_MoveGroup, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_MoveGroup(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateContactNickName : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickName, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateContactNickName(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateContactGroup : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroup, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateContactGroup(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateContactStatus : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactStatus, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateContactStatus(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateNotifyMessage : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateNotifyMessage, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateNotifyMessage(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateToolProfiles : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfiles, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateToolProfiles(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateToolProfilesEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfilesEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateToolProfilesEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_RemoveGroup : public ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveGroup, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_RemoveGroup(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_RemoveContact : public ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveContact, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_RemoveContact(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_RemoveInverfiedContact : public ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveInverfiedContact, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_RemoveInverfiedContact(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_RemoveBlackList : public ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBlackList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_RemoveBlackList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_IsBlackedByOther : public ::AliIMDBBase::AMD_IMDBProxyMgr_IsBlackedByOther, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_IsBlackedByOther(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, bool); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_RemoveBatchContacts : public ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBatchContacts, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_RemoveBatchContacts(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserDStatus : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserDStatus, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserDStatus(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserDStatusSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddUserDStatus : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddUserDStatus, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddUserDStatus(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_RemoveUserDStatus : public ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveUserDStatus, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_RemoveUserDStatus(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetAllContactList : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllContactList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetAllContactList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetCntModifyList : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntModifyList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetCntModifyList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICECntCidModPairSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddGenContactFull : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddGenContactFull, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddGenContactFull(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Long); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetContactDetail : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetail, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetContactDetail(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEGenContactFull&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_DelGenContact : public ::AliIMDBBase::AMD_IMDBProxyMgr_DelGenContact, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_DelGenContact(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Long); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddContact : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddContact, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddContact(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckUpgradeGenCnt : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUpgradeGenCnt, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckUpgradeGenCnt(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_ModifyGenCntID : public ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyGenCntID, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_ModifyGenCntID(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpgradeGenContact : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpgradeGenContact, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpgradeGenContact(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Long, ::Ice::Long, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUpdatedUserInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUpdatedUserInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUpdatedUserInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Long, ::Ice::Long, const ::std::string&, const ::std::string&, ::Ice::Long, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_ModifyContactDetail : public ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyContactDetail, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_ModifyContactDetail(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Long, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateContactGroupByCid : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroupByCid, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateContactGroupByCid(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateContactNickNameByCid : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickNameByCid, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateContactNickNameByCid(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetCRMContactDetail : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetCRMContactDetail, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetCRMContactDetail(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICECRMContactDetail&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetHardCodeIds : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetHardCodeIds, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetHardCodeIds(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateHardCodeIds : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateHardCodeIds, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateHardCodeIds(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetCntOtherModifyList : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetCntOtherModifyList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICECntOtherModInfoSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetCntOtherModifyInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetCntOtherModifyInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICECntOtherModInfo&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserCRInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserCRInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserCRInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_SetUserCRInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_SetUserCRInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_SetUserCRInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetSmsUserInfoByUid : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserInfoByUid, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetSmsUserInfoByUid(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICESmsUserInfo&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetSmsUserMsgInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserMsgInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetSmsUserMsgInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_DelOfflineMsg : public ::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsg, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_DelOfflineMsg(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_DelOfflineMsgEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsgEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_DelOfflineMsgEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_DelWapOfflineMsg : public ::AliIMDBBase::AMD_IMDBProxyMgr_DelWapOfflineMsg, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_DelWapOfflineMsg(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_ModifyCntMemo : public ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyCntMemo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_ModifyCntMemo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetCntMemo : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntMemo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetCntMemo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserTribe : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribe, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserTribe(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::ALiIMDBTribe::STribeIdDbSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserTribeConfig : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribeConfig, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserTribeConfig(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserTribeConfig : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserTribeConfig, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserTribeConfig(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetTribeOffMngMsg : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetTribeOffMngMsg, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetTribeOffMngMsg(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::ALiIMDBTribe::STribeOfflineMsgSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_DelTribeOffMngMsg : public ::AliIMDBBase::AMD_IMDBProxyMgr_DelTribeOffMngMsg, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_DelTribeOffMngMsg(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_ModifyPersonalShow : public ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyPersonalShow, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_ModifyPersonalShow(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetPersonalShow : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetPersonalShow, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetPersonalShow(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetAllOnlineSmsUser : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllOnlineSmsUser, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetAllOnlineSmsUser(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserKeyWordDegree : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWordDegree, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserKeyWordDegree(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Float); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserValue : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserValue, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserValue(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserMd5Password : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserMd5Password, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserMd5Password(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_InsertYahooUser : public ::AliIMDBBase::AMD_IMDBProxyMgr_InsertYahooUser, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_InsertYahooUser(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetContactDetailByUid : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetailByUid, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetContactDetailByUid(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEGenContactFull&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetChildTeamList : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetChildTeamList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SChildUserInfoSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetChildTeamList2 : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList2, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetChildTeamList2(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SChildUserInfoSeq2&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetChildUserInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetChildUserInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SChildUserInfo&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetChildUserInfo2 : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo2, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetChildUserInfo2(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SChildUserInfo2&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetShareContactList : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetShareContactList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetShareContactList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetContactShareInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactShareInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetContactShareInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_SetContactShareInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_SetContactShareInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_SetContactShareInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetMultiAccountContactList : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiAccountContactList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetMultiAccountContactList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEContactInfoSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetMultiServiceList : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiServiceList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetMultiServiceList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::Ice::IntSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetMultiBindToUser : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiBindToUser, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetMultiBindToUser(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetWebBinds : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetWebBinds, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetWebBinds(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEKvPairSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddWebBind : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddWebBind, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddWebBind(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_ChangeWebBind : public ::AliIMDBBase::AMD_IMDBProxyMgr_ChangeWebBind, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_ChangeWebBind(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_DelWebBind : public ::AliIMDBBase::AMD_IMDBProxyMgr_DelWebBind, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_DelWebBind(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getUserSession : public ::AliIMDBBase::AMD_IMDBProxyMgr_getUserSession, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getUserSession(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIM::SIceSession&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_checkUserSession : public ::AliIMDBBase::AMD_IMDBProxyMgr_checkUserSession, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_checkUserSession(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_removeSession : public ::AliIMDBBase::AMD_IMDBProxyMgr_removeSession, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_removeSession(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateSignature : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSignature, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateSignature(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_updateContactClientInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_updateContactClientInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_updateContactClientInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getUserProfile : public ::AliIMDBBase::AMD_IMDBProxyMgr_getUserProfile, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getUserProfile(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEKVMap&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getPeerVerifyFlag : public ::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlag, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getPeerVerifyFlag(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getPeerVerifyFlagQuestion : public ::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlagQuestion, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getPeerVerifyFlagQuestion(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getNickName : public ::AliIMDBBase::AMD_IMDBProxyMgr_getNickName, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getNickName(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getFTServiceInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_getFTServiceInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getFTServiceInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, ::Ice::Short); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getTietuServiceInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_getTietuServiceInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getTietuServiceInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Short); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getFTSAddr : public ::AliIMDBBase::AMD_IMDBProxyMgr_getFTSAddr, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getFTSAddr(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Long, const ::std::string&, ::Ice::Short); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_registerWanghao : public ::AliIMDBBase::AMD_IMDBProxyMgr_registerWanghao, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_registerWanghao(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_updateUserProfile : public ::AliIMDBBase::AMD_IMDBProxyMgr_updateUserProfile, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_updateUserProfile(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_loadSitePrefix : public ::AliIMDBBase::AMD_IMDBProxyMgr_loadSitePrefix, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_loadSitePrefix(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SImPrefixSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_updateAepUserId : public ::AliIMDBBase::AMD_IMDBProxyMgr_updateAepUserId, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_updateAepUserId(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_updateVipflag : public ::AliIMDBBase::AMD_IMDBProxyMgr_updateVipflag, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_updateVipflag(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_checkWangHaoPwd : public ::AliIMDBBase::AMD_IMDBProxyMgr_checkWangHaoPwd, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_checkWangHaoPwd(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_checkCanLogin : public ::AliIMDBBase::AMD_IMDBProxyMgr_checkCanLogin, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_checkCanLogin(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetSIPSessionId : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetSIPSessionId, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetSIPSessionId(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckGsContact : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckGsContact, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckGsContact(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateSmsAuthCode : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSmsAuthCode, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateSmsAuthCode(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckSmsAuthCode : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthCode, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckSmsAuthCode(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserValueBySmsAuth : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserValueBySmsAuth, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserValueBySmsAuth(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckSmsAuthStatus : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthStatus, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckSmsAuthStatus(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckUserTokenExtra : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserTokenExtra, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckUserTokenExtra(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckUserWebPasswdExtra : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswdExtra, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckUserWebPasswdExtra(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESShuntStatus : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESShuntStatus, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESShuntStatus(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_setESShuntStatus : public ::AliIMDBBase::AMD_IMDBProxyMgr_setESShuntStatus, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_setESShuntStatus(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getMaxESReceptNum : public ::AliIMDBBase::AMD_IMDBProxyMgr_getMaxESReceptNum, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getMaxESReceptNum(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEReceptNumSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_setMaxESReceptNum : public ::AliIMDBBase::AMD_IMDBProxyMgr_setMaxESReceptNum, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_setMaxESReceptNum(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESPriority : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESPriority, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESPriority(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEReceptPrioritySeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_setESPriority : public ::AliIMDBBase::AMD_IMDBProxyMgr_setESPriority, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_setESPriority(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESRecvOffMsg : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESRecvOffMsg, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESRecvOffMsg(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICERecvOffMsgSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_setESRecvOffMsg : public ::AliIMDBBase::AMD_IMDBProxyMgr_setESRecvOffMsg, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_setESRecvOffMsg(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESGroupList : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESGroupList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::Ice::IntSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_insertESGroupInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_insertESGroupInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_insertESGroupInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_updateESGroupInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_updateESGroupInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_updateESGroupInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_delESGroup : public ::AliIMDBBase::AMD_IMDBProxyMgr_delESGroup, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_delESGroup(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESGroupInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESGroupInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEESGroupInfoSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESGroupInfoByID : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfoByID, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESGroupInfoByID(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEESGroupInfo&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESUserFunc : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESUserFunc, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESUserFunc(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESUnJoinGroup : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESUnJoinGroup, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESUnJoinGroup(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_checkESRole : public ::AliIMDBBase::AMD_IMDBProxyMgr_checkESRole, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_checkESRole(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckWebWWPasswd : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckWebWWPasswd, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckWebWWPasswd(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESExpandArea : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandArea, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESExpandArea(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEExpandAreaSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESExpandAreaById : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandAreaById, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESExpandAreaById(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEExpandArea&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_addESExpandArea : public ::AliIMDBBase::AMD_IMDBProxyMgr_addESExpandArea, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_addESExpandArea(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_updateESExpandArea : public ::AliIMDBBase::AMD_IMDBProxyMgr_updateESExpandArea, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_updateESExpandArea(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_delESExpandArea : public ::AliIMDBBase::AMD_IMDBProxyMgr_delESExpandArea, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_delESExpandArea(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_setESEval : public ::AliIMDBBase::AMD_IMDBProxyMgr_setESEval, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_setESEval(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESEval : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESEval, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESEval(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_sendESEvalResult : public ::AliIMDBBase::AMD_IMDBProxyMgr_sendESEvalResult, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_sendESEvalResult(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_setESEvalResult : public ::AliIMDBBase::AMD_IMDBProxyMgr_setESEvalResult, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_setESEvalResult(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESEvalResult : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResult, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESEvalResult(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESEvalResultToday : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultToday, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESEvalResultToday(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEESEvalResultSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESEvalResultHistory : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistory, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESEvalResultHistory(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEESEvalResultSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESEvalResultHistorybypage : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistorybypage, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESEvalResultHistorybypage(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SICEESEvalResultExSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getLastLoginTime : public ::AliIMDBBase::AMD_IMDBProxyMgr_getLastLoginTime, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getLastLoginTime(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getChildShuntInfos : public ::AliIMDBBase::AMD_IMDBProxyMgr_getChildShuntInfos, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getChildShuntInfos(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SChildUserInfoSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_setChildShuntInfos : public ::AliIMDBBase::AMD_IMDBProxyMgr_setChildShuntInfos, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_setChildShuntInfos(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getAgentChild : public ::AliIMDBBase::AMD_IMDBProxyMgr_getAgentChild, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getAgentChild(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_setAgentChild : public ::AliIMDBBase::AMD_IMDBProxyMgr_setAgentChild, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_setAgentChild(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getAgentList : public ::AliIMDBBase::AMD_IMDBProxyMgr_getAgentList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getAgentList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getB2BChildTeamList : public ::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildTeamList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getB2BChildTeamList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SB2BChildUserInfoSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getB2BChildInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getB2BChildInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SB2BChildUserInfo&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getB2BChildParentId : public ::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildParentId, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getB2BChildParentId(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_addB2BChild : public ::AliIMDBBase::AMD_IMDBProxyMgr_addB2BChild, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_addB2BChild(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_updateB2BChild : public ::AliIMDBBase::AMD_IMDBProxyMgr_updateB2BChild, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_updateB2BChild(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_deleteB2BChild : public ::AliIMDBBase::AMD_IMDBProxyMgr_deleteB2BChild, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_deleteB2BChild(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -} - -} - -namespace IceProxy -{ - -namespace AliIMDBBase -{ - -class IMDBProxyMgr : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int sayhello(const ::std::string& userId, ::std::string& helloword) - { - return sayhello(userId, helloword, 0); - } - ::Ice::Int sayhello(const ::std::string& userId, ::std::string& helloword, const ::Ice::Context& __ctx) - { - return sayhello(userId, helloword, &__ctx); - } - -private: - - ::Ice::Int sayhello(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckUserToken(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat) - { - return CheckUserToken(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, 0); - } - ::Ice::Int CheckUserToken(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context& __ctx) - { - return CheckUserToken(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, &__ctx); - } - -private: - - ::Ice::Int CheckUserToken(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckTmpSession(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat) - { - return CheckTmpSession(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, 0); - } - ::Ice::Int CheckTmpSession(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context& __ctx) - { - return CheckTmpSession(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, &__ctx); - } - -private: - - ::Ice::Int CheckTmpSession(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckUserWebPasswd(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat) - { - return CheckUserWebPasswd(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, 0); - } - ::Ice::Int CheckUserWebPasswd(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context& __ctx) - { - return CheckUserWebPasswd(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, &__ctx); - } - -private: - - ::Ice::Int CheckUserWebPasswd(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckUserPasswd(const ::std::string& userId, bool btokenpw, const ::std::string& passwd, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat) - { - return CheckUserPasswd(userId, btokenpw, passwd, retuidtokenpw, retmd5passwd, activeStat, 0); - } - ::Ice::Int CheckUserPasswd(const ::std::string& userId, bool btokenpw, const ::std::string& passwd, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context& __ctx) - { - return CheckUserPasswd(userId, btokenpw, passwd, retuidtokenpw, retmd5passwd, activeStat, &__ctx); - } - -private: - - ::Ice::Int CheckUserPasswd(const ::std::string&, bool, const ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckUserWebToken(const ::std::string& userId, const ::std::string& token, ::std::string& reason) - { - return CheckUserWebToken(userId, token, reason, 0); - } - ::Ice::Int CheckUserWebToken(const ::std::string& userId, const ::std::string& token, ::std::string& reason, const ::Ice::Context& __ctx) - { - return CheckUserWebToken(userId, token, reason, &__ctx); - } - -private: - - ::Ice::Int CheckUserWebToken(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetAtmLongid(const ::std::string& userId, ::std::string& longId) - { - return GetAtmLongid(userId, longId, 0); - } - ::Ice::Int GetAtmLongid(const ::std::string& userId, ::std::string& longId, const ::Ice::Context& __ctx) - { - return GetAtmLongid(userId, longId, &__ctx); - } - -private: - - ::Ice::Int GetAtmLongid(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int AddUser60(const ::std::string& userId, const ::std::string& md5passwd, const ::std::string& tokenpw, ::Ice::Int languageid) - { - return AddUser60(userId, md5passwd, tokenpw, languageid, 0); - } - ::Ice::Int AddUser60(const ::std::string& userId, const ::std::string& md5passwd, const ::std::string& tokenpw, ::Ice::Int languageid, const ::Ice::Context& __ctx) - { - return AddUser60(userId, md5passwd, tokenpw, languageid, &__ctx); - } - -private: - - ::Ice::Int AddUser60(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int GetWebMemberPWInfo(const ::std::string& userId, ::AliIMDBBase::SMemberPWInfo& pwInfo) - { - return GetWebMemberPWInfo(userId, pwInfo, 0); - } - ::Ice::Int GetWebMemberPWInfo(const ::std::string& userId, ::AliIMDBBase::SMemberPWInfo& pwInfo, const ::Ice::Context& __ctx) - { - return GetWebMemberPWInfo(userId, pwInfo, &__ctx); - } - -private: - - ::Ice::Int GetWebMemberPWInfo(const ::std::string&, ::AliIMDBBase::SMemberPWInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int GetWebMemberPWInfoEx(const ::std::string& userId, ::AliIMDBBase::SMemberPWInfoEx& pwInfo) - { - return GetWebMemberPWInfoEx(userId, pwInfo, 0); - } - ::Ice::Int GetWebMemberPWInfoEx(const ::std::string& userId, ::AliIMDBBase::SMemberPWInfoEx& pwInfo, const ::Ice::Context& __ctx) - { - return GetWebMemberPWInfoEx(userId, pwInfo, &__ctx); - } - -private: - - ::Ice::Int GetWebMemberPWInfoEx(const ::std::string&, ::AliIMDBBase::SMemberPWInfoEx&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserWebBasicProfile(const ::std::string& userId, ::AliIMDBBase::SUserWebBasicProfile& profile) - { - return GetUserWebBasicProfile(userId, profile, 0); - } - ::Ice::Int GetUserWebBasicProfile(const ::std::string& userId, ::AliIMDBBase::SUserWebBasicProfile& profile, const ::Ice::Context& __ctx) - { - return GetUserWebBasicProfile(userId, profile, &__ctx); - } - -private: - - ::Ice::Int GetUserWebBasicProfile(const ::std::string&, ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckCanAddContact(const ::std::string& userId, const ::std::string& buddyId) - { - return CheckCanAddContact(userId, buddyId, 0); - } - ::Ice::Int CheckCanAddContact(const ::std::string& userId, const ::std::string& buddyId, const ::Ice::Context& __ctx) - { - return CheckCanAddContact(userId, buddyId, &__ctx); - } - -private: - - ::Ice::Int CheckCanAddContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int QueryMatchedUserIds(const ::std::string& finduid, const ::std::string& shortId, ::AliIMDBBase::SMatchedUserIdInfoSeq& matchedIds) - { - return QueryMatchedUserIds(finduid, shortId, matchedIds, 0); - } - ::Ice::Int QueryMatchedUserIds(const ::std::string& finduid, const ::std::string& shortId, ::AliIMDBBase::SMatchedUserIdInfoSeq& matchedIds, const ::Ice::Context& __ctx) - { - return QueryMatchedUserIds(finduid, shortId, matchedIds, &__ctx); - } - -private: - - ::Ice::Int QueryMatchedUserIds(const ::std::string&, const ::std::string&, ::AliIMDBBase::SMatchedUserIdInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactWebInfo(const ::std::string& userId, const ::std::string& buddyId, const ::AliIMDBBase::SUserWebBasicProfile& cntWebInfo) - { - return UpdateContactWebInfo(userId, buddyId, cntWebInfo, 0); - } - ::Ice::Int UpdateContactWebInfo(const ::std::string& userId, const ::std::string& buddyId, const ::AliIMDBBase::SUserWebBasicProfile& cntWebInfo, const ::Ice::Context& __ctx) - { - return UpdateContactWebInfo(userId, buddyId, cntWebInfo, &__ctx); - } - -private: - - ::Ice::Int UpdateContactWebInfo(const ::std::string&, const ::std::string&, const ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*); - -public: - - ::Ice::Int DelTaobaoUser(const ::std::string& webId) - { - return DelTaobaoUser(webId, 0); - } - ::Ice::Int DelTaobaoUser(const ::std::string& webId, const ::Ice::Context& __ctx) - { - return DelTaobaoUser(webId, &__ctx); - } - -private: - - ::Ice::Int DelTaobaoUser(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DelAnyUser(const ::std::string& imuserId) - { - return DelAnyUser(imuserId, 0); - } - ::Ice::Int DelAnyUser(const ::std::string& imuserId, const ::Ice::Context& __ctx) - { - return DelAnyUser(imuserId, &__ctx); - } - -private: - - ::Ice::Int DelAnyUser(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int AddUserKeyWord(const ::std::string& userId, const ::std::string& keyword, ::Ice::Int flag) - { - return AddUserKeyWord(userId, keyword, flag, 0); - } - ::Ice::Int AddUserKeyWord(const ::std::string& userId, const ::std::string& keyword, ::Ice::Int flag, const ::Ice::Context& __ctx) - { - return AddUserKeyWord(userId, keyword, flag, &__ctx); - } - -private: - - ::Ice::Int AddUserKeyWord(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserKeyWord(const ::std::string& userId, const ::std::string& keyword, ::Ice::Int flag) - { - return UpdateUserKeyWord(userId, keyword, flag, 0); - } - ::Ice::Int UpdateUserKeyWord(const ::std::string& userId, const ::std::string& keyword, ::Ice::Int flag, const ::Ice::Context& __ctx) - { - return UpdateUserKeyWord(userId, keyword, flag, &__ctx); - } - -private: - - ::Ice::Int UpdateUserKeyWord(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserKeyWord(const ::std::string& userId, ::std::string& keyword, ::Ice::Int& flag) - { - return GetUserKeyWord(userId, keyword, flag, 0); - } - ::Ice::Int GetUserKeyWord(const ::std::string& userId, ::std::string& keyword, ::Ice::Int& flag, const ::Ice::Context& __ctx) - { - return GetUserKeyWord(userId, keyword, flag, &__ctx); - } - -private: - - ::Ice::Int GetUserKeyWord(const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int QueryUserIdsByKeyWord(const ::std::string& keyword, ::AliIMDBBase::SMatchedUserIdInfoSeq& matchedIds) - { - return QueryUserIdsByKeyWord(keyword, matchedIds, 0); - } - ::Ice::Int QueryUserIdsByKeyWord(const ::std::string& keyword, ::AliIMDBBase::SMatchedUserIdInfoSeq& matchedIds, const ::Ice::Context& __ctx) - { - return QueryUserIdsByKeyWord(keyword, matchedIds, &__ctx); - } - -private: - - ::Ice::Int QueryUserIdsByKeyWord(const ::std::string&, ::AliIMDBBase::SMatchedUserIdInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetBatchMemberInfo(const ::Ice::StringSeq& userIds, ::AliIMDBBase::SICEMemberInfoSeq& memberInfoList) - { - return GetBatchMemberInfo(userIds, memberInfoList, 0); - } - ::Ice::Int GetBatchMemberInfo(const ::Ice::StringSeq& userIds, ::AliIMDBBase::SICEMemberInfoSeq& memberInfoList, const ::Ice::Context& __ctx) - { - return GetBatchMemberInfo(userIds, memberInfoList, &__ctx); - } - -private: - - ::Ice::Int GetBatchMemberInfo(const ::Ice::StringSeq&, ::AliIMDBBase::SICEMemberInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetAllVersion(::AliIMDBBase::SICEVersionSeq& versionList) - { - return GetAllVersion(versionList, 0); - } - ::Ice::Int GetAllVersion(::AliIMDBBase::SICEVersionSeq& versionList, const ::Ice::Context& __ctx) - { - return GetAllVersion(versionList, &__ctx); - } - -private: - - ::Ice::Int GetAllVersion(::AliIMDBBase::SICEVersionSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetAllSysMsg(::AliIMDBBase::SICESysMessageSeq& sysMsgList) - { - return GetAllSysMsg(sysMsgList, 0); - } - ::Ice::Int GetAllSysMsg(::AliIMDBBase::SICESysMessageSeq& sysMsgList, const ::Ice::Context& __ctx) - { - return GetAllSysMsg(sysMsgList, &__ctx); - } - -private: - - ::Ice::Int GetAllSysMsg(::AliIMDBBase::SICESysMessageSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetAllExSysMsg(::AliIMDBBase::SExICESysMessageSeq& sysMsgList) - { - return GetAllExSysMsg(sysMsgList, 0); - } - ::Ice::Int GetAllExSysMsg(::AliIMDBBase::SExICESysMessageSeq& sysMsgList, const ::Ice::Context& __ctx) - { - return GetAllExSysMsg(sysMsgList, &__ctx); - } - -private: - - ::Ice::Int GetAllExSysMsg(::AliIMDBBase::SExICESysMessageSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserInfo(const ::std::string& userId, ::AliIMDBBase::SICEUserInfo& userInfo) - { - return GetUserInfo(userId, userInfo, 0); - } - ::Ice::Int GetUserInfo(const ::std::string& userId, ::AliIMDBBase::SICEUserInfo& userInfo, const ::Ice::Context& __ctx) - { - return GetUserInfo(userId, userInfo, &__ctx); - } - -private: - - ::Ice::Int GetUserInfo(const ::std::string&, ::AliIMDBBase::SICEUserInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserInfo2(const ::std::string& userId, ::AliIMDBBase::SICEUserInfo2& userInfo) - { - return GetUserInfo2(userId, userInfo, 0); - } - ::Ice::Int GetUserInfo2(const ::std::string& userId, ::AliIMDBBase::SICEUserInfo2& userInfo, const ::Ice::Context& __ctx) - { - return GetUserInfo2(userId, userInfo, &__ctx); - } - -private: - - ::Ice::Int GetUserInfo2(const ::std::string&, ::AliIMDBBase::SICEUserInfo2&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserInfoEx(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoEx& userInfo) - { - return GetUserInfoEx(userId, userInfo, 0); - } - ::Ice::Int GetUserInfoEx(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoEx& userInfo, const ::Ice::Context& __ctx) - { - return GetUserInfoEx(userId, userInfo, &__ctx); - } - -private: - - ::Ice::Int GetUserInfoEx(const ::std::string&, ::AliIMDBBase::SICEUserInfoEx&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserInfoNew(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoNew& userInfo) - { - return GetUserInfoNew(userId, userInfo, 0); - } - ::Ice::Int GetUserInfoNew(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoNew& userInfo, const ::Ice::Context& __ctx) - { - return GetUserInfoNew(userId, userInfo, &__ctx); - } - -private: - - ::Ice::Int GetUserInfoNew(const ::std::string&, ::AliIMDBBase::SICEUserInfoNew&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserInfo2New(const ::std::string& userId, ::AliIMDBBase::SICEUserInfo2New& userInfo) - { - return GetUserInfo2New(userId, userInfo, 0); - } - ::Ice::Int GetUserInfo2New(const ::std::string& userId, ::AliIMDBBase::SICEUserInfo2New& userInfo, const ::Ice::Context& __ctx) - { - return GetUserInfo2New(userId, userInfo, &__ctx); - } - -private: - - ::Ice::Int GetUserInfo2New(const ::std::string&, ::AliIMDBBase::SICEUserInfo2New&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserInfoExNew(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew& userInfo) - { - return GetUserInfoExNew(userId, userInfo, 0); - } - ::Ice::Int GetUserInfoExNew(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew& userInfo, const ::Ice::Context& __ctx) - { - return GetUserInfoExNew(userId, userInfo, &__ctx); - } - -private: - - ::Ice::Int GetUserInfoExNew(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserInfoExNew2(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew2& userInfo) - { - return GetUserInfoExNew2(userId, userInfo, 0); - } - ::Ice::Int GetUserInfoExNew2(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew2& userInfo, const ::Ice::Context& __ctx) - { - return GetUserInfoExNew2(userId, userInfo, &__ctx); - } - -private: - - ::Ice::Int GetUserInfoExNew2(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew2&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserInfoExNew3(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew3& userInfo) - { - return GetUserInfoExNew3(userId, userInfo, 0); - } - ::Ice::Int GetUserInfoExNew3(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew3& userInfo, const ::Ice::Context& __ctx) - { - return GetUserInfoExNew3(userId, userInfo, &__ctx); - } - -private: - - ::Ice::Int GetUserInfoExNew3(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew3&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserInfoExNew4(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew4& userInfo) - { - return GetUserInfoExNew4(userId, userInfo, 0); - } - ::Ice::Int GetUserInfoExNew4(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew4& userInfo, const ::Ice::Context& __ctx) - { - return GetUserInfoExNew4(userId, userInfo, &__ctx); - } - -private: - - ::Ice::Int GetUserInfoExNew4(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew4&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserVerifyInfo(const ::std::string& userId, ::Ice::Byte& addcontactverify, ::Ice::Byte& sendmsgverify) - { - return GetUserVerifyInfo(userId, addcontactverify, sendmsgverify, 0); - } - ::Ice::Int GetUserVerifyInfo(const ::std::string& userId, ::Ice::Byte& addcontactverify, ::Ice::Byte& sendmsgverify, const ::Ice::Context& __ctx) - { - return GetUserVerifyInfo(userId, addcontactverify, sendmsgverify, &__ctx); - } - -private: - - ::Ice::Int GetUserVerifyInfo(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserVerifyInfoEx(const ::std::string& userId, ::Ice::Byte& addcontactverify, ::Ice::Byte& sendmsgverify, ::Ice::Byte& enableSearchFlag) - { - return GetUserVerifyInfoEx(userId, addcontactverify, sendmsgverify, enableSearchFlag, 0); - } - ::Ice::Int GetUserVerifyInfoEx(const ::std::string& userId, ::Ice::Byte& addcontactverify, ::Ice::Byte& sendmsgverify, ::Ice::Byte& enableSearchFlag, const ::Ice::Context& __ctx) - { - return GetUserVerifyInfoEx(userId, addcontactverify, sendmsgverify, enableSearchFlag, &__ctx); - } - -private: - - ::Ice::Int GetUserVerifyInfoEx(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, ::Ice::Byte&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserVerifyInfoQuestion(const ::std::string& userId, ::Ice::Byte& addcontactverify, ::Ice::Byte& sendmsgverify, ::Ice::Byte& enableSearchFlag, ::std::string& question, ::std::string& answer) - { - return GetUserVerifyInfoQuestion(userId, addcontactverify, sendmsgverify, enableSearchFlag, question, answer, 0); - } - ::Ice::Int GetUserVerifyInfoQuestion(const ::std::string& userId, ::Ice::Byte& addcontactverify, ::Ice::Byte& sendmsgverify, ::Ice::Byte& enableSearchFlag, ::std::string& question, ::std::string& answer, const ::Ice::Context& __ctx) - { - return GetUserVerifyInfoQuestion(userId, addcontactverify, sendmsgverify, enableSearchFlag, question, answer, &__ctx); - } - -private: - - ::Ice::Int GetUserVerifyInfoQuestion(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, ::Ice::Byte&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, ::Ice::Int& groupTimes) - { - return GetGroupList(userId, groupList, groupTimes, 0); - } - ::Ice::Int GetGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return GetGroupList(userId, groupList, groupTimes, &__ctx); - } - -private: - - ::Ice::Int GetGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetGroupListEx(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoExSeq& groupList, ::Ice::Int& groupTimes) - { - return GetGroupListEx(userId, groupList, groupTimes, 0); - } - ::Ice::Int GetGroupListEx(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoExSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return GetGroupListEx(userId, groupList, groupTimes, &__ctx); - } - -private: - - ::Ice::Int GetGroupListEx(const ::std::string&, ::AliIMDBBase::SICEGroupInfoExSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetContactList(const ::std::string& userId, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes) - { - return GetContactList(userId, getFlag, contactList, contactTimes, 0); - } - ::Ice::Int GetContactList(const ::std::string& userId, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return GetContactList(userId, getFlag, contactList, contactTimes, &__ctx); - } - -private: - - ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetBlackList(const ::std::string& userId, ::Ice::StringSeq& blackList, ::Ice::Int& blacklistTimes) - { - return GetBlackList(userId, blackList, blacklistTimes, 0); - } - ::Ice::Int GetBlackList(const ::std::string& userId, ::Ice::StringSeq& blackList, ::Ice::Int& blacklistTimes, const ::Ice::Context& __ctx) - { - return GetBlackList(userId, blackList, blacklistTimes, &__ctx); - } - -private: - - ::Ice::Int GetBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetReverseBlackList(const ::std::string& userId, ::Ice::StringSeq& reverseBlackList, ::Ice::Int& reverseBlacklistTimes) - { - return GetReverseBlackList(userId, reverseBlackList, reverseBlacklistTimes, 0); - } - ::Ice::Int GetReverseBlackList(const ::std::string& userId, ::Ice::StringSeq& reverseBlackList, ::Ice::Int& reverseBlacklistTimes, const ::Ice::Context& __ctx) - { - return GetReverseBlackList(userId, reverseBlackList, reverseBlacklistTimes, &__ctx); - } - -private: - - ::Ice::Int GetReverseBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetOfflineMsg(const ::std::string& userId, ::AliIMDBBase::SICEOffLineMessegeSeq& offlineMsgList, ::Ice::Int& offlinemsgTimes) - { - return GetOfflineMsg(userId, offlineMsgList, offlinemsgTimes, 0); - } - ::Ice::Int GetOfflineMsg(const ::std::string& userId, ::AliIMDBBase::SICEOffLineMessegeSeq& offlineMsgList, ::Ice::Int& offlinemsgTimes, const ::Ice::Context& __ctx) - { - return GetOfflineMsg(userId, offlineMsgList, offlinemsgTimes, &__ctx); - } - -private: - - ::Ice::Int GetOfflineMsg(const ::std::string&, ::AliIMDBBase::SICEOffLineMessegeSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetOfflineMsgEx(const ::std::string& userId, ::AliIMDBBase::SICEOffLineMessegeExSeq& offlineMsgList, ::Ice::Int& offlinemsgTimes) - { - return GetOfflineMsgEx(userId, offlineMsgList, offlinemsgTimes, 0); - } - ::Ice::Int GetOfflineMsgEx(const ::std::string& userId, ::AliIMDBBase::SICEOffLineMessegeExSeq& offlineMsgList, ::Ice::Int& offlinemsgTimes, const ::Ice::Context& __ctx) - { - return GetOfflineMsgEx(userId, offlineMsgList, offlinemsgTimes, &__ctx); - } - -private: - - ::Ice::Int GetOfflineMsgEx(const ::std::string&, ::AliIMDBBase::SICEOffLineMessegeExSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetOfflineMsgCount(const ::std::string& uid, ::Ice::Int& chatMsgNum, ::Ice::Int& sysMsgNum) - { - return GetOfflineMsgCount(uid, chatMsgNum, sysMsgNum, 0); - } - ::Ice::Int GetOfflineMsgCount(const ::std::string& uid, ::Ice::Int& chatMsgNum, ::Ice::Int& sysMsgNum, const ::Ice::Context& __ctx) - { - return GetOfflineMsgCount(uid, chatMsgNum, sysMsgNum, &__ctx); - } - -private: - - ::Ice::Int GetOfflineMsgCount(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetEnetOfflineMsgNum(const ::std::string& toId, const ::std::string& fromId, const ::Ice::IntSeq& types, ::Ice::Int& msgNum) - { - return GetEnetOfflineMsgNum(toId, fromId, types, msgNum, 0); - } - ::Ice::Int GetEnetOfflineMsgNum(const ::std::string& toId, const ::std::string& fromId, const ::Ice::IntSeq& types, ::Ice::Int& msgNum, const ::Ice::Context& __ctx) - { - return GetEnetOfflineMsgNum(toId, fromId, types, msgNum, &__ctx); - } - -private: - - ::Ice::Int GetEnetOfflineMsgNum(const ::std::string&, const ::std::string&, const ::Ice::IntSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetContactInfo(const ::std::string& userId, const ::std::string& contactId, ::AliIMDBBase::SICEContactInfo& contactInfo) - { - return GetContactInfo(userId, contactId, contactInfo, 0); - } - ::Ice::Int GetContactInfo(const ::std::string& userId, const ::std::string& contactId, ::AliIMDBBase::SICEContactInfo& contactInfo, const ::Ice::Context& __ctx) - { - return GetContactInfo(userId, contactId, contactInfo, &__ctx); - } - -private: - - ::Ice::Int GetContactInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEContactInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int GetOfflineMsgNum(const ::std::string& userId, ::Ice::Int& msgNum) - { - return GetOfflineMsgNum(userId, msgNum, 0); - } - ::Ice::Int GetOfflineMsgNum(const ::std::string& userId, ::Ice::Int& msgNum, const ::Ice::Context& __ctx) - { - return GetOfflineMsgNum(userId, msgNum, &__ctx); - } - -private: - - ::Ice::Int GetOfflineMsgNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetToolProfiles(const ::std::string& userId, ::Ice::Int type, ::Ice::Int nowTimes, ::Ice::StringSeq& toolProfilesList, ::Ice::Int& toolTimes) - { - return GetToolProfiles(userId, type, nowTimes, toolProfilesList, toolTimes, 0); - } - ::Ice::Int GetToolProfiles(const ::std::string& userId, ::Ice::Int type, ::Ice::Int nowTimes, ::Ice::StringSeq& toolProfilesList, ::Ice::Int& toolTimes, const ::Ice::Context& __ctx) - { - return GetToolProfiles(userId, type, nowTimes, toolProfilesList, toolTimes, &__ctx); - } - -private: - - ::Ice::Int GetToolProfiles(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetToolProfilesEx(const ::std::string& userId, ::Ice::Int nowTimes, ::AliIMDBBase::SICEToolProfileSeq& toolProfilesList, ::Ice::Int& toolTimes) - { - return GetToolProfilesEx(userId, nowTimes, toolProfilesList, toolTimes, 0); - } - ::Ice::Int GetToolProfilesEx(const ::std::string& userId, ::Ice::Int nowTimes, ::AliIMDBBase::SICEToolProfileSeq& toolProfilesList, ::Ice::Int& toolTimes, const ::Ice::Context& __ctx) - { - return GetToolProfilesEx(userId, nowTimes, toolProfilesList, toolTimes, &__ctx); - } - -private: - - ::Ice::Int GetToolProfilesEx(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEToolProfileSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetSysMsg(::Ice::Int sysId, ::AliIMDBBase::SICESysMessage& sysMsg) - { - return GetSysMsg(sysId, sysMsg, 0); - } - ::Ice::Int GetSysMsg(::Ice::Int sysId, ::AliIMDBBase::SICESysMessage& sysMsg, const ::Ice::Context& __ctx) - { - return GetSysMsg(sysId, sysMsg, &__ctx); - } - -private: - - ::Ice::Int GetSysMsg(::Ice::Int, ::AliIMDBBase::SICESysMessage&, const ::Ice::Context*); - -public: - - ::Ice::Int AddUser(const ::std::string& userId) - { - return AddUser(userId, 0); - } - ::Ice::Int AddUser(const ::std::string& userId, const ::Ice::Context& __ctx) - { - return AddUser(userId, &__ctx); - } - -private: - - ::Ice::Int AddUser(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int AddGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, ::Ice::Int& groupTimes) - { - return AddGroup(userId, groupName, groupId, groupTimes, 0); - } - ::Ice::Int AddGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return AddGroup(userId, groupName, groupId, groupTimes, &__ctx); - } - -private: - - ::Ice::Int AddGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int AddGroupEx(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int parentId, ::Ice::Int& groupId, ::Ice::Int& groupTimes) - { - return AddGroupEx(userId, groupName, parentId, groupId, groupTimes, 0); - } - ::Ice::Int AddGroupEx(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int parentId, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return AddGroupEx(userId, groupName, parentId, groupId, groupTimes, &__ctx); - } - -private: - - ::Ice::Int AddGroupEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int AddBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes) - { - return AddBlackList(userId, blackId, blackListTimes, 0); - } - ::Ice::Int AddBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context& __ctx) - { - return AddBlackList(userId, blackId, blackListTimes, &__ctx); - } - -private: - - ::Ice::Int AddBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int AddOfflineMsg(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content) - { - return AddOfflineMsg(fromId, toId, type, content, 0); - } - ::Ice::Int AddOfflineMsg(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, const ::Ice::Context& __ctx) - { - return AddOfflineMsg(fromId, toId, type, content, &__ctx); - } - -private: - - ::Ice::Int AddOfflineMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int AddExpriteTimeOfflineMsg(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, const ::std::string& expireTime) - { - return AddExpriteTimeOfflineMsg(fromId, toId, type, content, expireTime, 0); - } - ::Ice::Int AddExpriteTimeOfflineMsg(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, const ::std::string& expireTime, const ::Ice::Context& __ctx) - { - return AddExpriteTimeOfflineMsg(fromId, toId, type, content, expireTime, &__ctx); - } - -private: - - ::Ice::Int AddExpriteTimeOfflineMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int AddOfflineMsgNoSMS(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content) - { - return AddOfflineMsgNoSMS(fromId, toId, type, content, 0); - } - ::Ice::Int AddOfflineMsgNoSMS(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, const ::Ice::Context& __ctx) - { - return AddOfflineMsgNoSMS(fromId, toId, type, content, &__ctx); - } - -private: - - ::Ice::Int AddOfflineMsgNoSMS(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int AddOfflineMsgEx(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, ::Ice::Long uniqueMsgTime) - { - return AddOfflineMsgEx(fromId, toId, type, content, uniqueMsgTime, 0); - } - ::Ice::Int AddOfflineMsgEx(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, ::Ice::Long uniqueMsgTime, const ::Ice::Context& __ctx) - { - return AddOfflineMsgEx(fromId, toId, type, content, uniqueMsgTime, &__ctx); - } - -private: - - ::Ice::Int AddOfflineMsgEx(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Long, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserLogin(const ::std::string& userId, ::Ice::Int sysMsgId) - { - return UpdateUserLogin(userId, sysMsgId, 0); - } - ::Ice::Int UpdateUserLogin(const ::std::string& userId, ::Ice::Int sysMsgId, const ::Ice::Context& __ctx) - { - return UpdateUserLogin(userId, sysMsgId, &__ctx); - } - -private: - - ::Ice::Int UpdateUserLogin(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserLoginEx(const ::std::string& userId, ::Ice::Int sysMsgId, const ::std::string& loginIp) - { - return UpdateUserLoginEx(userId, sysMsgId, loginIp, 0); - } - ::Ice::Int UpdateUserLoginEx(const ::std::string& userId, ::Ice::Int sysMsgId, const ::std::string& loginIp, const ::Ice::Context& __ctx) - { - return UpdateUserLoginEx(userId, sysMsgId, loginIp, &__ctx); - } - -private: - - ::Ice::Int UpdateUserLoginEx(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserLoginDataInfo(const ::std::string& userId, ::Ice::Int sysMsgId, const ::std::string& loginIp, ::Ice::Int onlineTimes, ::Ice::Int lastLoginTime) - { - return UpdateUserLoginDataInfo(userId, sysMsgId, loginIp, onlineTimes, lastLoginTime, 0); - } - ::Ice::Int UpdateUserLoginDataInfo(const ::std::string& userId, ::Ice::Int sysMsgId, const ::std::string& loginIp, ::Ice::Int onlineTimes, ::Ice::Int lastLoginTime, const ::Ice::Context& __ctx) - { - return UpdateUserLoginDataInfo(userId, sysMsgId, loginIp, onlineTimes, lastLoginTime, &__ctx); - } - -private: - - ::Ice::Int UpdateUserLoginDataInfo(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserLoginDataInfoEx(const ::std::string& userId, ::Ice::Int sysMsgId, const ::std::string& loginIp, ::Ice::Int onlineTimes, ::Ice::Int lastLoginTime, ::Ice::Int isNeedToUpdate) - { - return UpdateUserLoginDataInfoEx(userId, sysMsgId, loginIp, onlineTimes, lastLoginTime, isNeedToUpdate, 0); - } - ::Ice::Int UpdateUserLoginDataInfoEx(const ::std::string& userId, ::Ice::Int sysMsgId, const ::std::string& loginIp, ::Ice::Int onlineTimes, ::Ice::Int lastLoginTime, ::Ice::Int isNeedToUpdate, const ::Ice::Context& __ctx) - { - return UpdateUserLoginDataInfoEx(userId, sysMsgId, loginIp, onlineTimes, lastLoginTime, isNeedToUpdate, &__ctx); - } - -private: - - ::Ice::Int UpdateUserLoginDataInfoEx(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserSysMsgId(const ::std::string& userId, ::Ice::Int sysMsgId) - { - return UpdateUserSysMsgId(userId, sysMsgId, 0); - } - ::Ice::Int UpdateUserSysMsgId(const ::std::string& userId, ::Ice::Int sysMsgId, const ::Ice::Context& __ctx) - { - return UpdateUserSysMsgId(userId, sysMsgId, &__ctx); - } - -private: - - ::Ice::Int UpdateUserSysMsgId(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserDataInfo(const ::std::string& userId, ::Ice::Int strangerMsgCount, ::Ice::Int onlineTimes, ::Ice::Int addContactCount, ::Ice::Int activeDegree, ::Ice::Float rewardActDegree, ::Ice::Float onlineActDegree, ::Ice::Int addTribeCount) - { - return UpdateUserDataInfo(userId, strangerMsgCount, onlineTimes, addContactCount, activeDegree, rewardActDegree, onlineActDegree, addTribeCount, 0); - } - ::Ice::Int UpdateUserDataInfo(const ::std::string& userId, ::Ice::Int strangerMsgCount, ::Ice::Int onlineTimes, ::Ice::Int addContactCount, ::Ice::Int activeDegree, ::Ice::Float rewardActDegree, ::Ice::Float onlineActDegree, ::Ice::Int addTribeCount, const ::Ice::Context& __ctx) - { - return UpdateUserDataInfo(userId, strangerMsgCount, onlineTimes, addContactCount, activeDegree, rewardActDegree, onlineActDegree, addTribeCount, &__ctx); - } - -private: - - ::Ice::Int UpdateUserDataInfo(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserDataInfo2(const ::std::string& userId, ::Ice::Int strangerMsgCount, ::Ice::Int onlineTimes, ::Ice::Int addContactCount, ::Ice::Int activeDegree, ::Ice::Float rewardActDegree, ::Ice::Float onlineActDegree, ::Ice::Int addTribeCount, ::Ice::Int reqAddContactCount) - { - return UpdateUserDataInfo2(userId, strangerMsgCount, onlineTimes, addContactCount, activeDegree, rewardActDegree, onlineActDegree, addTribeCount, reqAddContactCount, 0); - } - ::Ice::Int UpdateUserDataInfo2(const ::std::string& userId, ::Ice::Int strangerMsgCount, ::Ice::Int onlineTimes, ::Ice::Int addContactCount, ::Ice::Int activeDegree, ::Ice::Float rewardActDegree, ::Ice::Float onlineActDegree, ::Ice::Int addTribeCount, ::Ice::Int reqAddContactCount, const ::Ice::Context& __ctx) - { - return UpdateUserDataInfo2(userId, strangerMsgCount, onlineTimes, addContactCount, activeDegree, rewardActDegree, onlineActDegree, addTribeCount, reqAddContactCount, &__ctx); - } - -private: - - ::Ice::Int UpdateUserDataInfo2(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserDataInfo3(const ::std::string& userId, const ::AliIMDBBase::RIGHTTABLE& rightMap, ::Ice::Int onlineTimes, ::Ice::Int activeDegree, ::Ice::Float rewardActDegree, ::Ice::Float onlineActDegree) - { - return UpdateUserDataInfo3(userId, rightMap, onlineTimes, activeDegree, rewardActDegree, onlineActDegree, 0); - } - ::Ice::Int UpdateUserDataInfo3(const ::std::string& userId, const ::AliIMDBBase::RIGHTTABLE& rightMap, ::Ice::Int onlineTimes, ::Ice::Int activeDegree, ::Ice::Float rewardActDegree, ::Ice::Float onlineActDegree, const ::Ice::Context& __ctx) - { - return UpdateUserDataInfo3(userId, rightMap, onlineTimes, activeDegree, rewardActDegree, onlineActDegree, &__ctx); - } - -private: - - ::Ice::Int UpdateUserDataInfo3(const ::std::string&, const ::AliIMDBBase::RIGHTTABLE&, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserVerifySet(const ::std::string& userId, ::Ice::Int addContactVerify, ::Ice::Int sendMsgVerify) - { - return UpdateUserVerifySet(userId, addContactVerify, sendMsgVerify, 0); - } - ::Ice::Int UpdateUserVerifySet(const ::std::string& userId, ::Ice::Int addContactVerify, ::Ice::Int sendMsgVerify, const ::Ice::Context& __ctx) - { - return UpdateUserVerifySet(userId, addContactVerify, sendMsgVerify, &__ctx); - } - -private: - - ::Ice::Int UpdateUserVerifySet(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserVerifySetEx(const ::std::string& userId, ::Ice::Int addContactVerify, ::Ice::Int sendMsgVerify, ::Ice::Int enbleSearchFlag) - { - return UpdateUserVerifySetEx(userId, addContactVerify, sendMsgVerify, enbleSearchFlag, 0); - } - ::Ice::Int UpdateUserVerifySetEx(const ::std::string& userId, ::Ice::Int addContactVerify, ::Ice::Int sendMsgVerify, ::Ice::Int enbleSearchFlag, const ::Ice::Context& __ctx) - { - return UpdateUserVerifySetEx(userId, addContactVerify, sendMsgVerify, enbleSearchFlag, &__ctx); - } - -private: - - ::Ice::Int UpdateUserVerifySetEx(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserVerifySetQuestion(const ::std::string& userId, ::Ice::Int addContactVerify, ::Ice::Int sendMsgVerify, ::Ice::Int enbleSearchFlag, const ::std::string& question, const ::std::string& answer) - { - return UpdateUserVerifySetQuestion(userId, addContactVerify, sendMsgVerify, enbleSearchFlag, question, answer, 0); - } - ::Ice::Int UpdateUserVerifySetQuestion(const ::std::string& userId, ::Ice::Int addContactVerify, ::Ice::Int sendMsgVerify, ::Ice::Int enbleSearchFlag, const ::std::string& question, const ::std::string& answer, const ::Ice::Context& __ctx) - { - return UpdateUserVerifySetQuestion(userId, addContactVerify, sendMsgVerify, enbleSearchFlag, question, answer, &__ctx); - } - -private: - - ::Ice::Int UpdateUserVerifySetQuestion(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, ::Ice::Int& groupTimes) - { - return UpdateGroup(userId, groupName, groupId, groupTimes, 0); - } - ::Ice::Int UpdateGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return UpdateGroup(userId, groupName, groupId, groupTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int MoveGroup(const ::std::string& userId, ::Ice::Long groupId, ::Ice::Long newparentgid, ::Ice::Int& groupTimes) - { - return MoveGroup(userId, groupId, newparentgid, groupTimes, 0); - } - ::Ice::Int MoveGroup(const ::std::string& userId, ::Ice::Long groupId, ::Ice::Long newparentgid, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return MoveGroup(userId, groupId, newparentgid, groupTimes, &__ctx); - } - -private: - - ::Ice::Int MoveGroup(const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactNickName(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int& contactTimes) - { - return UpdateContactNickName(userId, contactId, nickName, contactTimes, 0); - } - ::Ice::Int UpdateContactNickName(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return UpdateContactNickName(userId, contactId, nickName, contactTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes) - { - return UpdateContactGroup(userId, contactId, srcGroupId, dstGroupId, contactTimes, 0); - } - ::Ice::Int UpdateContactGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return UpdateContactGroup(userId, contactId, srcGroupId, dstGroupId, contactTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateContactGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactStatus(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int status, ::Ice::Int& contactTimes) - { - return UpdateContactStatus(userId, contactId, status, contactTimes, 0); - } - ::Ice::Int UpdateContactStatus(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int status, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return UpdateContactStatus(userId, contactId, status, contactTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateContactStatus(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateNotifyMessage(::Ice::Int msgId, ::Ice::Int status) - { - return UpdateNotifyMessage(msgId, status, 0); - } - ::Ice::Int UpdateNotifyMessage(::Ice::Int msgId, ::Ice::Int status, const ::Ice::Context& __ctx) - { - return UpdateNotifyMessage(msgId, status, &__ctx); - } - -private: - - ::Ice::Int UpdateNotifyMessage(::Ice::Int, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateToolProfiles(const ::std::string& userId, ::Ice::Int type, const ::Ice::StringSeq& toolProfilsList, ::Ice::Int& toolTimes) - { - return UpdateToolProfiles(userId, type, toolProfilsList, toolTimes, 0); - } - ::Ice::Int UpdateToolProfiles(const ::std::string& userId, ::Ice::Int type, const ::Ice::StringSeq& toolProfilsList, ::Ice::Int& toolTimes, const ::Ice::Context& __ctx) - { - return UpdateToolProfiles(userId, type, toolProfilsList, toolTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateToolProfiles(const ::std::string&, ::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateToolProfilesEx(const ::std::string& userId, const ::AliIMDBBase::SICEToolProfileSeq& toolProfilsList, ::Ice::Int& toolTimes) - { - return UpdateToolProfilesEx(userId, toolProfilsList, toolTimes, 0); - } - ::Ice::Int UpdateToolProfilesEx(const ::std::string& userId, const ::AliIMDBBase::SICEToolProfileSeq& toolProfilsList, ::Ice::Int& toolTimes, const ::Ice::Context& __ctx) - { - return UpdateToolProfilesEx(userId, toolProfilsList, toolTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateToolProfilesEx(const ::std::string&, const ::AliIMDBBase::SICEToolProfileSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveGroup(const ::std::string& userId, ::Ice::Int groupId, ::Ice::Int& groupTimes) - { - return RemoveGroup(userId, groupId, groupTimes, 0); - } - ::Ice::Int RemoveGroup(const ::std::string& userId, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return RemoveGroup(userId, groupId, groupTimes, &__ctx); - } - -private: - - ::Ice::Int RemoveGroup(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes) - { - return RemoveContact(userId, contactId, contactTimes, 0); - } - ::Ice::Int RemoveContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return RemoveContact(userId, contactId, contactTimes, &__ctx); - } - -private: - - ::Ice::Int RemoveContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveInverfiedContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes) - { - return RemoveInverfiedContact(userId, contactId, contactTimes, 0); - } - ::Ice::Int RemoveInverfiedContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return RemoveInverfiedContact(userId, contactId, contactTimes, &__ctx); - } - -private: - - ::Ice::Int RemoveInverfiedContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes) - { - return RemoveBlackList(userId, blackId, blackListTimes, 0); - } - ::Ice::Int RemoveBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context& __ctx) - { - return RemoveBlackList(userId, blackId, blackListTimes, &__ctx); - } - -private: - - ::Ice::Int RemoveBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int IsBlackedByOther(const ::std::string& userId, const ::std::string& otheruid, bool& bBlacked) - { - return IsBlackedByOther(userId, otheruid, bBlacked, 0); - } - ::Ice::Int IsBlackedByOther(const ::std::string& userId, const ::std::string& otheruid, bool& bBlacked, const ::Ice::Context& __ctx) - { - return IsBlackedByOther(userId, otheruid, bBlacked, &__ctx); - } - -private: - - ::Ice::Int IsBlackedByOther(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveBatchContacts(const ::std::string& userId, const ::Ice::StringSeq& cids, ::Ice::StringSeq& retVect, ::Ice::Int& modifyCntTimes, ::Ice::Int& modifyGenCntTime) - { - return RemoveBatchContacts(userId, cids, retVect, modifyCntTimes, modifyGenCntTime, 0); - } - ::Ice::Int RemoveBatchContacts(const ::std::string& userId, const ::Ice::StringSeq& cids, ::Ice::StringSeq& retVect, ::Ice::Int& modifyCntTimes, ::Ice::Int& modifyGenCntTime, const ::Ice::Context& __ctx) - { - return RemoveBatchContacts(userId, cids, retVect, modifyCntTimes, modifyGenCntTime, &__ctx); - } - -private: - - ::Ice::Int RemoveBatchContacts(const ::std::string&, const ::Ice::StringSeq&, ::Ice::StringSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserDStatus(const ::std::string& userId, ::AliIMDBBase::SICEUserDStatusSeq& userDStatusList) - { - return GetUserDStatus(userId, userDStatusList, 0); - } - ::Ice::Int GetUserDStatus(const ::std::string& userId, ::AliIMDBBase::SICEUserDStatusSeq& userDStatusList, const ::Ice::Context& __ctx) - { - return GetUserDStatus(userId, userDStatusList, &__ctx); - } - -private: - - ::Ice::Int GetUserDStatus(const ::std::string&, ::AliIMDBBase::SICEUserDStatusSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int AddUserDStatus(const ::std::string& userId, const ::std::string& userDStatus, ::Ice::Int& statusId) - { - return AddUserDStatus(userId, userDStatus, statusId, 0); - } - ::Ice::Int AddUserDStatus(const ::std::string& userId, const ::std::string& userDStatus, ::Ice::Int& statusId, const ::Ice::Context& __ctx) - { - return AddUserDStatus(userId, userDStatus, statusId, &__ctx); - } - -private: - - ::Ice::Int AddUserDStatus(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveUserDStatus(const ::std::string& userId, ::Ice::Int statusId) - { - return RemoveUserDStatus(userId, statusId, 0); - } - ::Ice::Int RemoveUserDStatus(const ::std::string& userId, ::Ice::Int statusId, const ::Ice::Context& __ctx) - { - return RemoveUserDStatus(userId, statusId, &__ctx); - } - -private: - - ::Ice::Int RemoveUserDStatus(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int GetAllContactList(const ::std::string& uid, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, ::Ice::Int& gencontacttimes) - { - return GetAllContactList(uid, getFlag, contactList, contactTimes, gencontacttimes, 0); - } - ::Ice::Int GetAllContactList(const ::std::string& uid, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, ::Ice::Int& gencontacttimes, const ::Ice::Context& __ctx) - { - return GetAllContactList(uid, getFlag, contactList, contactTimes, gencontacttimes, &__ctx); - } - -private: - - ::Ice::Int GetAllContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetCntModifyList(::Ice::Int getFlag, const ::std::string& uid, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntCidModPairSeq& cntList) - { - return GetCntModifyList(getFlag, uid, sMaxSeqId, cntList, 0); - } - ::Ice::Int GetCntModifyList(::Ice::Int getFlag, const ::std::string& uid, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntCidModPairSeq& cntList, const ::Ice::Context& __ctx) - { - return GetCntModifyList(getFlag, uid, sMaxSeqId, cntList, &__ctx); - } - -private: - - ::Ice::Int GetCntModifyList(::Ice::Int, const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntCidModPairSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull& detail, ::std::string& retscid, ::std::string& retsmodseqid, ::Ice::Long& timeStamps) - { - return AddGenContactFull(detail, retscid, retsmodseqid, timeStamps, 0); - } - ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull& detail, ::std::string& retscid, ::std::string& retsmodseqid, ::Ice::Long& timeStamps, const ::Ice::Context& __ctx) - { - return AddGenContactFull(detail, retscid, retsmodseqid, timeStamps, &__ctx); - } - -private: - - ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull&, ::std::string&, ::std::string&, ::Ice::Long&, const ::Ice::Context*); - -public: - - ::Ice::Int GetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail) - { - return GetContactDetail(uid, cid, detail, 0); - } - ::Ice::Int GetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context& __ctx) - { - return GetContactDetail(uid, cid, detail, &__ctx); - } - -private: - - ::Ice::Int GetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*); - -public: - - ::Ice::Int DelGenContact(const ::std::string& uid, const ::std::string& cid, ::Ice::Long& contactTimes) - { - return DelGenContact(uid, cid, contactTimes, 0); - } - ::Ice::Int DelGenContact(const ::std::string& uid, const ::std::string& cid, ::Ice::Long& contactTimes, const ::Ice::Context& __ctx) - { - return DelGenContact(uid, cid, contactTimes, &__ctx); - } - -private: - - ::Ice::Int DelGenContact(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*); - -public: - - ::Ice::Int AddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::AliIMDBBase::SUserWebBasicProfile& cntInfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid) - { - return AddContact(userId, contactId, nickName, groupId, status, cntInfo, contactTimes, retcid, retmodseqid, 0); - } - ::Ice::Int AddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::AliIMDBBase::SUserWebBasicProfile& cntInfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid, const ::Ice::Context& __ctx) - { - return AddContact(userId, contactId, nickName, groupId, status, cntInfo, contactTimes, retcid, retmodseqid, &__ctx); - } - -private: - - ::Ice::Int AddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckUpgradeGenCnt(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId) - { - return CheckUpgradeGenCnt(uid, cid, contactId, 0); - } - ::Ice::Int CheckUpgradeGenCnt(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, const ::Ice::Context& __ctx) - { - return CheckUpgradeGenCnt(uid, cid, contactId, &__ctx); - } - -private: - - ::Ice::Int CheckUpgradeGenCnt(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int ModifyGenCntID(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::std::string& modseqid) - { - return ModifyGenCntID(uid, cid, contactId, modseqid, 0); - } - ::Ice::Int ModifyGenCntID(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::std::string& modseqid, const ::Ice::Context& __ctx) - { - return ModifyGenCntID(uid, cid, contactId, modseqid, &__ctx); - } - -private: - - ::Ice::Int ModifyGenCntID(const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpgradeGenContact(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& modseqid) - { - return UpgradeGenContact(uid, cid, contactId, cntstamp, gencntstamp, modseqid, 0); - } - ::Ice::Int UpgradeGenContact(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& modseqid, const ::Ice::Context& __ctx) - { - return UpgradeGenContact(uid, cid, contactId, cntstamp, gencntstamp, modseqid, &__ctx); - } - -private: - - ::Ice::Int UpgradeGenContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUpdatedUserInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& retcid, ::std::string& modseqid, ::Ice::Long& groupid, ::std::string& nickname) - { - return GetUpdatedUserInfo(uid, contactId, cntstamp, gencntstamp, retcid, modseqid, groupid, nickname, 0); - } - ::Ice::Int GetUpdatedUserInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& retcid, ::std::string& modseqid, ::Ice::Long& groupid, ::std::string& nickname, const ::Ice::Context& __ctx) - { - return GetUpdatedUserInfo(uid, contactId, cntstamp, gencntstamp, retcid, modseqid, groupid, nickname, &__ctx); - } - -private: - - ::Ice::Int GetUpdatedUserInfo(const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, ::std::string&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid) - { - return ModifyContactDetail(detail, gencntmodifyVersion, modseqid, 0); - } - ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid, const ::Ice::Context& __ctx) - { - return ModifyContactDetail(detail, gencntmodifyVersion, modseqid, &__ctx); - } - -private: - - ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactGroupByCid(const ::std::string& userId, const ::std::string& cid, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes) - { - return UpdateContactGroupByCid(userId, cid, srcGroupId, dstGroupId, contactTimes, 0); - } - ::Ice::Int UpdateContactGroupByCid(const ::std::string& userId, const ::std::string& cid, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return UpdateContactGroupByCid(userId, cid, srcGroupId, dstGroupId, contactTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateContactGroupByCid(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactNickNameByCid(const ::std::string& userId, const ::std::string& cid, const ::std::string& nickName, ::Ice::Int& contactTimes) - { - return UpdateContactNickNameByCid(userId, cid, nickName, contactTimes, 0); - } - ::Ice::Int UpdateContactNickNameByCid(const ::std::string& userId, const ::std::string& cid, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return UpdateContactNickNameByCid(userId, cid, nickName, contactTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateContactNickNameByCid(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetCRMContactDetail(const ::std::string& userId, const ::std::string& cntid, ::AliIMDBBase::SICECRMContactDetail& cntDetail) - { - return GetCRMContactDetail(userId, cntid, cntDetail, 0); - } - ::Ice::Int GetCRMContactDetail(const ::std::string& userId, const ::std::string& cntid, ::AliIMDBBase::SICECRMContactDetail& cntDetail, const ::Ice::Context& __ctx) - { - return GetCRMContactDetail(userId, cntid, cntDetail, &__ctx); - } - -private: - - ::Ice::Int GetCRMContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECRMContactDetail&, const ::Ice::Context*); - -public: - - ::Ice::Int GetHardCodeIds(const ::std::string& uuid, ::Ice::Int& count, ::std::string& allids) - { - return GetHardCodeIds(uuid, count, allids, 0); - } - ::Ice::Int GetHardCodeIds(const ::std::string& uuid, ::Ice::Int& count, ::std::string& allids, const ::Ice::Context& __ctx) - { - return GetHardCodeIds(uuid, count, allids, &__ctx); - } - -private: - - ::Ice::Int GetHardCodeIds(const ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateHardCodeIds(const ::std::string& uuid, const ::std::string& id) - { - return UpdateHardCodeIds(uuid, id, 0); - } - ::Ice::Int UpdateHardCodeIds(const ::std::string& uuid, const ::std::string& id, const ::Ice::Context& __ctx) - { - return UpdateHardCodeIds(uuid, id, &__ctx); - } - -private: - - ::Ice::Int UpdateHardCodeIds(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetCntOtherModifyList(const ::std::string& userId, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntOtherModInfoSeq& cntList) - { - return GetCntOtherModifyList(userId, sMaxSeqId, cntList, 0); - } - ::Ice::Int GetCntOtherModifyList(const ::std::string& userId, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntOtherModInfoSeq& cntList, const ::Ice::Context& __ctx) - { - return GetCntOtherModifyList(userId, sMaxSeqId, cntList, &__ctx); - } - -private: - - ::Ice::Int GetCntOtherModifyList(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntOtherModInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetCntOtherModifyInfo(const ::std::string& userId, ::AliIMDBBase::SICECntOtherModInfo& cntOtherModInfo) - { - return GetCntOtherModifyInfo(userId, cntOtherModInfo, 0); - } - ::Ice::Int GetCntOtherModifyInfo(const ::std::string& userId, ::AliIMDBBase::SICECntOtherModInfo& cntOtherModInfo, const ::Ice::Context& __ctx) - { - return GetCntOtherModifyInfo(userId, cntOtherModInfo, &__ctx); - } - -private: - - ::Ice::Int GetCntOtherModifyInfo(const ::std::string&, ::AliIMDBBase::SICECntOtherModInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserCRInfo(const ::std::string& uid, ::Ice::Int& crState, ::Ice::Int& begTime, ::Ice::Int& activeDegree) - { - return GetUserCRInfo(uid, crState, begTime, activeDegree, 0); - } - ::Ice::Int GetUserCRInfo(const ::std::string& uid, ::Ice::Int& crState, ::Ice::Int& begTime, ::Ice::Int& activeDegree, const ::Ice::Context& __ctx) - { - return GetUserCRInfo(uid, crState, begTime, activeDegree, &__ctx); - } - -private: - - ::Ice::Int GetUserCRInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int SetUserCRInfo(const ::std::string& uid, ::Ice::Int crState, ::Ice::Int& begTime) - { - return SetUserCRInfo(uid, crState, begTime, 0); - } - ::Ice::Int SetUserCRInfo(const ::std::string& uid, ::Ice::Int crState, ::Ice::Int& begTime, const ::Ice::Context& __ctx) - { - return SetUserCRInfo(uid, crState, begTime, &__ctx); - } - -private: - - ::Ice::Int SetUserCRInfo(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetSmsUserInfoByUid(const ::std::string& userId, ::AliIMDBBase::SICESmsUserInfo& smsUserInfo) - { - return GetSmsUserInfoByUid(userId, smsUserInfo, 0); - } - ::Ice::Int GetSmsUserInfoByUid(const ::std::string& userId, ::AliIMDBBase::SICESmsUserInfo& smsUserInfo, const ::Ice::Context& __ctx) - { - return GetSmsUserInfoByUid(userId, smsUserInfo, &__ctx); - } - -private: - - ::Ice::Int GetSmsUserInfoByUid(const ::std::string&, ::AliIMDBBase::SICESmsUserInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int GetSmsUserMsgInfo(const ::std::string& userId, ::Ice::Int& todaySmsCount, ::Ice::Int& yesterdaySmsCount) - { - return GetSmsUserMsgInfo(userId, todaySmsCount, yesterdaySmsCount, 0); - } - ::Ice::Int GetSmsUserMsgInfo(const ::std::string& userId, ::Ice::Int& todaySmsCount, ::Ice::Int& yesterdaySmsCount, const ::Ice::Context& __ctx) - { - return GetSmsUserMsgInfo(userId, todaySmsCount, yesterdaySmsCount, &__ctx); - } - -private: - - ::Ice::Int GetSmsUserMsgInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DelOfflineMsg(const ::std::string& uid, const ::std::string& date) - { - return DelOfflineMsg(uid, date, 0); - } - ::Ice::Int DelOfflineMsg(const ::std::string& uid, const ::std::string& date, const ::Ice::Context& __ctx) - { - return DelOfflineMsg(uid, date, &__ctx); - } - -private: - - ::Ice::Int DelOfflineMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DelOfflineMsgEx(const ::std::string& uid, ::Ice::Int date) - { - return DelOfflineMsgEx(uid, date, 0); - } - ::Ice::Int DelOfflineMsgEx(const ::std::string& uid, ::Ice::Int date, const ::Ice::Context& __ctx) - { - return DelOfflineMsgEx(uid, date, &__ctx); - } - -private: - - ::Ice::Int DelOfflineMsgEx(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DelWapOfflineMsg(const ::std::string& uid, const ::std::string& date) - { - return DelWapOfflineMsg(uid, date, 0); - } - ::Ice::Int DelWapOfflineMsg(const ::std::string& uid, const ::std::string& date, const ::Ice::Context& __ctx) - { - return DelWapOfflineMsg(uid, date, &__ctx); - } - -private: - - ::Ice::Int DelWapOfflineMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int ModifyCntMemo(const ::std::string& uid, const ::std::string& cntid, const ::std::string& memo) - { - return ModifyCntMemo(uid, cntid, memo, 0); - } - ::Ice::Int ModifyCntMemo(const ::std::string& uid, const ::std::string& cntid, const ::std::string& memo, const ::Ice::Context& __ctx) - { - return ModifyCntMemo(uid, cntid, memo, &__ctx); - } - -private: - - ::Ice::Int ModifyCntMemo(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetCntMemo(const ::std::string& uid, const ::std::string& cntid, ::std::string& memo) - { - return GetCntMemo(uid, cntid, memo, 0); - } - ::Ice::Int GetCntMemo(const ::std::string& uid, const ::std::string& cntid, ::std::string& memo, const ::Ice::Context& __ctx) - { - return GetCntMemo(uid, cntid, memo, &__ctx); - } - -private: - - ::Ice::Int GetCntMemo(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserTribe(const ::std::string& userId, ::ALiIMDBTribe::STribeIdDbSeq& tribeIdList) - { - return GetUserTribe(userId, tribeIdList, 0); - } - ::Ice::Int GetUserTribe(const ::std::string& userId, ::ALiIMDBTribe::STribeIdDbSeq& tribeIdList, const ::Ice::Context& __ctx) - { - return GetUserTribe(userId, tribeIdList, &__ctx); - } - -private: - - ::Ice::Int GetUserTribe(const ::std::string&, ::ALiIMDBTribe::STribeIdDbSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserTribeConfig(const ::std::string& userId, ::Ice::Int& addVerify) - { - return GetUserTribeConfig(userId, addVerify, 0); - } - ::Ice::Int GetUserTribeConfig(const ::std::string& userId, ::Ice::Int& addVerify, const ::Ice::Context& __ctx) - { - return GetUserTribeConfig(userId, addVerify, &__ctx); - } - -private: - - ::Ice::Int GetUserTribeConfig(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserTribeConfig(const ::std::string& userId, ::Ice::Int addVerify) - { - return UpdateUserTribeConfig(userId, addVerify, 0); - } - ::Ice::Int UpdateUserTribeConfig(const ::std::string& userId, ::Ice::Int addVerify, const ::Ice::Context& __ctx) - { - return UpdateUserTribeConfig(userId, addVerify, &__ctx); - } - -private: - - ::Ice::Int UpdateUserTribeConfig(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int GetTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList) - { - return GetTribeOffMngMsg(tribeId, memberId, offlineMsgList, 0); - } - ::Ice::Int GetTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList, const ::Ice::Context& __ctx) - { - return GetTribeOffMngMsg(tribeId, memberId, offlineMsgList, &__ctx); - } - -private: - - ::Ice::Int GetTribeOffMngMsg(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DelTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId) - { - return DelTribeOffMngMsg(tribeId, memberId, 0); - } - ::Ice::Int DelTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context& __ctx) - { - return DelTribeOffMngMsg(tribeId, memberId, &__ctx); - } - -private: - - ::Ice::Int DelTribeOffMngMsg(::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int ModifyPersonalShow(const ::std::string& uid, const ::std::string& newshow) - { - return ModifyPersonalShow(uid, newshow, 0); - } - ::Ice::Int ModifyPersonalShow(const ::std::string& uid, const ::std::string& newshow, const ::Ice::Context& __ctx) - { - return ModifyPersonalShow(uid, newshow, &__ctx); - } - -private: - - ::Ice::Int ModifyPersonalShow(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetPersonalShow(const ::std::string& uid, ::std::string& show) - { - return GetPersonalShow(uid, show, 0); - } - ::Ice::Int GetPersonalShow(const ::std::string& uid, ::std::string& show, const ::Ice::Context& __ctx) - { - return GetPersonalShow(uid, show, &__ctx); - } - -private: - - ::Ice::Int GetPersonalShow(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetAllOnlineSmsUser(::Ice::StringSeq& userList) - { - return GetAllOnlineSmsUser(userList, 0); - } - ::Ice::Int GetAllOnlineSmsUser(::Ice::StringSeq& userList, const ::Ice::Context& __ctx) - { - return GetAllOnlineSmsUser(userList, &__ctx); - } - -private: - - ::Ice::Int GetAllOnlineSmsUser(::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserKeyWordDegree(const ::std::string& userId, ::std::string& keyword, ::Ice::Int& flag, ::Ice::Float& degree) - { - return GetUserKeyWordDegree(userId, keyword, flag, degree, 0); - } - ::Ice::Int GetUserKeyWordDegree(const ::std::string& userId, ::std::string& keyword, ::Ice::Int& flag, ::Ice::Float& degree, const ::Ice::Context& __ctx) - { - return GetUserKeyWordDegree(userId, keyword, flag, degree, &__ctx); - } - -private: - - ::Ice::Int GetUserKeyWordDegree(const ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Float&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserValue(const ::std::string& userId, ::Ice::Int& uservalue) - { - return GetUserValue(userId, uservalue, 0); - } - ::Ice::Int GetUserValue(const ::std::string& userId, ::Ice::Int& uservalue, const ::Ice::Context& __ctx) - { - return GetUserValue(userId, uservalue, &__ctx); - } - -private: - - ::Ice::Int GetUserValue(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserMd5Password(const ::std::string& userId, const ::std::string& password) - { - return UpdateUserMd5Password(userId, password, 0); - } - ::Ice::Int UpdateUserMd5Password(const ::std::string& userId, const ::std::string& password, const ::Ice::Context& __ctx) - { - return UpdateUserMd5Password(userId, password, &__ctx); - } - -private: - - ::Ice::Int UpdateUserMd5Password(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int InsertYahooUser(const ::AliIMDBBase::SUdbUserInfo& userInfo, ::Ice::Int activeDegree, const ::AliIMDBBase::SICEGenContactFullSeq& contactList) - { - return InsertYahooUser(userInfo, activeDegree, contactList, 0); - } - ::Ice::Int InsertYahooUser(const ::AliIMDBBase::SUdbUserInfo& userInfo, ::Ice::Int activeDegree, const ::AliIMDBBase::SICEGenContactFullSeq& contactList, const ::Ice::Context& __ctx) - { - return InsertYahooUser(userInfo, activeDegree, contactList, &__ctx); - } - -private: - - ::Ice::Int InsertYahooUser(const ::AliIMDBBase::SUdbUserInfo&, ::Ice::Int, const ::AliIMDBBase::SICEGenContactFullSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetContactDetailByUid(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail) - { - return GetContactDetailByUid(uid, cid, detail, 0); - } - ::Ice::Int GetContactDetailByUid(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context& __ctx) - { - return GetContactDetailByUid(uid, cid, detail, &__ctx); - } - -private: - - ::Ice::Int GetContactDetailByUid(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*); - -public: - - ::Ice::Int GetChildTeamList(const ::std::string& parentId, ::AliIMDBBase::SChildUserInfoSeq& childTeamList) - { - return GetChildTeamList(parentId, childTeamList, 0); - } - ::Ice::Int GetChildTeamList(const ::std::string& parentId, ::AliIMDBBase::SChildUserInfoSeq& childTeamList, const ::Ice::Context& __ctx) - { - return GetChildTeamList(parentId, childTeamList, &__ctx); - } - -private: - - ::Ice::Int GetChildTeamList(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetChildTeamList2(const ::std::string& parentId, ::AliIMDBBase::SChildUserInfoSeq2& childTeamList) - { - return GetChildTeamList2(parentId, childTeamList, 0); - } - ::Ice::Int GetChildTeamList2(const ::std::string& parentId, ::AliIMDBBase::SChildUserInfoSeq2& childTeamList, const ::Ice::Context& __ctx) - { - return GetChildTeamList2(parentId, childTeamList, &__ctx); - } - -private: - - ::Ice::Int GetChildTeamList2(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq2&, const ::Ice::Context*); - -public: - - ::Ice::Int GetChildUserInfo(const ::std::string& childId, ::AliIMDBBase::SChildUserInfo& childInfo) - { - return GetChildUserInfo(childId, childInfo, 0); - } - ::Ice::Int GetChildUserInfo(const ::std::string& childId, ::AliIMDBBase::SChildUserInfo& childInfo, const ::Ice::Context& __ctx) - { - return GetChildUserInfo(childId, childInfo, &__ctx); - } - -private: - - ::Ice::Int GetChildUserInfo(const ::std::string&, ::AliIMDBBase::SChildUserInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int GetChildUserInfo2(const ::std::string& childId, ::AliIMDBBase::SChildUserInfo2& childInfo) - { - return GetChildUserInfo2(childId, childInfo, 0); - } - ::Ice::Int GetChildUserInfo2(const ::std::string& childId, ::AliIMDBBase::SChildUserInfo2& childInfo, const ::Ice::Context& __ctx) - { - return GetChildUserInfo2(childId, childInfo, &__ctx); - } - -private: - - ::Ice::Int GetChildUserInfo2(const ::std::string&, ::AliIMDBBase::SChildUserInfo2&, const ::Ice::Context*); - -public: - - ::Ice::Int GetShareContactList(const ::std::string& uid, ::Ice::StringSeq& shareContactIdList) - { - return GetShareContactList(uid, shareContactIdList, 0); - } - ::Ice::Int GetShareContactList(const ::std::string& uid, ::Ice::StringSeq& shareContactIdList, const ::Ice::Context& __ctx) - { - return GetShareContactList(uid, shareContactIdList, &__ctx); - } - -private: - - ::Ice::Int GetShareContactList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetContactShareInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int& value) - { - return GetContactShareInfo(uid, contactId, type, value, 0); - } - ::Ice::Int GetContactShareInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int& value, const ::Ice::Context& __ctx) - { - return GetContactShareInfo(uid, contactId, type, value, &__ctx); - } - -private: - - ::Ice::Int GetContactShareInfo(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int SetContactShareInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int value) - { - return SetContactShareInfo(uid, contactId, type, value, 0); - } - ::Ice::Int SetContactShareInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int value, const ::Ice::Context& __ctx) - { - return SetContactShareInfo(uid, contactId, type, value, &__ctx); - } - -private: - - ::Ice::Int SetContactShareInfo(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int GetMultiAccountContactList(const ::std::string& uid, ::AliIMDBBase::SICEContactInfoSeq& contactIdList) - { - return GetMultiAccountContactList(uid, contactIdList, 0); - } - ::Ice::Int GetMultiAccountContactList(const ::std::string& uid, ::AliIMDBBase::SICEContactInfoSeq& contactIdList, const ::Ice::Context& __ctx) - { - return GetMultiAccountContactList(uid, contactIdList, &__ctx); - } - -private: - - ::Ice::Int GetMultiAccountContactList(const ::std::string&, ::AliIMDBBase::SICEContactInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetMultiServiceList(const ::std::string& uid, ::Ice::IntSeq& ServiceList) - { - return GetMultiServiceList(uid, ServiceList, 0); - } - ::Ice::Int GetMultiServiceList(const ::std::string& uid, ::Ice::IntSeq& ServiceList, const ::Ice::Context& __ctx) - { - return GetMultiServiceList(uid, ServiceList, &__ctx); - } - -private: - - ::Ice::Int GetMultiServiceList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetMultiBindToUser(const ::std::string& uid, ::std::string& bindToUser) - { - return GetMultiBindToUser(uid, bindToUser, 0); - } - ::Ice::Int GetMultiBindToUser(const ::std::string& uid, ::std::string& bindToUser, const ::Ice::Context& __ctx) - { - return GetMultiBindToUser(uid, bindToUser, &__ctx); - } - -private: - - ::Ice::Int GetMultiBindToUser(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetWebBinds(const ::std::string& uid, ::AliIMDBBase::SICEKvPairSeq& binds) - { - return GetWebBinds(uid, binds, 0); - } - ::Ice::Int GetWebBinds(const ::std::string& uid, ::AliIMDBBase::SICEKvPairSeq& binds, const ::Ice::Context& __ctx) - { - return GetWebBinds(uid, binds, &__ctx); - } - -private: - - ::Ice::Int GetWebBinds(const ::std::string&, ::AliIMDBBase::SICEKvPairSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int AddWebBind(const ::std::string& uid, const ::AliIMDBBase::SICEKvPair& bind, ::std::string& webmd5pw) - { - return AddWebBind(uid, bind, webmd5pw, 0); - } - ::Ice::Int AddWebBind(const ::std::string& uid, const ::AliIMDBBase::SICEKvPair& bind, ::std::string& webmd5pw, const ::Ice::Context& __ctx) - { - return AddWebBind(uid, bind, webmd5pw, &__ctx); - } - -private: - - ::Ice::Int AddWebBind(const ::std::string&, const ::AliIMDBBase::SICEKvPair&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int ChangeWebBind(const ::std::string& uid, const ::AliIMDBBase::SICEKvPair& newbind, ::std::string& webmd5pw) - { - return ChangeWebBind(uid, newbind, webmd5pw, 0); - } - ::Ice::Int ChangeWebBind(const ::std::string& uid, const ::AliIMDBBase::SICEKvPair& newbind, ::std::string& webmd5pw, const ::Ice::Context& __ctx) - { - return ChangeWebBind(uid, newbind, webmd5pw, &__ctx); - } - -private: - - ::Ice::Int ChangeWebBind(const ::std::string&, const ::AliIMDBBase::SICEKvPair&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DelWebBind(const ::std::string& uid, const ::std::string& binduid) - { - return DelWebBind(uid, binduid, 0); - } - ::Ice::Int DelWebBind(const ::std::string& uid, const ::std::string& binduid, const ::Ice::Context& __ctx) - { - return DelWebBind(uid, binduid, &__ctx); - } - -private: - - ::Ice::Int DelWebBind(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserSession(const ::std::string& uid, ::AliIM::SIceSession& retsession) - { - return getUserSession(uid, retsession, 0); - } - ::Ice::Int getUserSession(const ::std::string& uid, ::AliIM::SIceSession& retsession, const ::Ice::Context& __ctx) - { - return getUserSession(uid, retsession, &__ctx); - } - -private: - - ::Ice::Int getUserSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*); - -public: - - ::Ice::Int checkUserSession(const ::std::string& uid, const ::std::string& sessionNo) - { - return checkUserSession(uid, sessionNo, 0); - } - ::Ice::Int checkUserSession(const ::std::string& uid, const ::std::string& sessionNo, const ::Ice::Context& __ctx) - { - return checkUserSession(uid, sessionNo, &__ctx); - } - -private: - - ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int removeSession(const ::std::string& uid) - { - return removeSession(uid, 0); - } - ::Ice::Int removeSession(const ::std::string& uid, const ::Ice::Context& __ctx) - { - return removeSession(uid, &__ctx); - } - -private: - - ::Ice::Int removeSession(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateSignature(const ::std::string& uid, const ::std::string& signature) - { - return UpdateSignature(uid, signature, 0); - } - ::Ice::Int UpdateSignature(const ::std::string& uid, const ::std::string& signature, const ::Ice::Context& __ctx) - { - return UpdateSignature(uid, signature, &__ctx); - } - -private: - - ::Ice::Int UpdateSignature(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int updateContactClientInfo(const ::std::string& uid, const ::std::string& cid, const ::std::string& data, ::Ice::Int& contactTimes) - { - return updateContactClientInfo(uid, cid, data, contactTimes, 0); - } - ::Ice::Int updateContactClientInfo(const ::std::string& uid, const ::std::string& cid, const ::std::string& data, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return updateContactClientInfo(uid, cid, data, contactTimes, &__ctx); - } - -private: - - ::Ice::Int updateContactClientInfo(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserProfile(const ::std::string& uid, ::AliIMDBBase::SICEKVMap& profilemap) - { - return getUserProfile(uid, profilemap, 0); - } - ::Ice::Int getUserProfile(const ::std::string& uid, ::AliIMDBBase::SICEKVMap& profilemap, const ::Ice::Context& __ctx) - { - return getUserProfile(uid, profilemap, &__ctx); - } - -private: - - ::Ice::Int getUserProfile(const ::std::string&, ::AliIMDBBase::SICEKVMap&, const ::Ice::Context*); - -public: - - ::Ice::Int getPeerVerifyFlag(const ::std::string& uid, const ::std::string& cid, ::Ice::Int& flag) - { - return getPeerVerifyFlag(uid, cid, flag, 0); - } - ::Ice::Int getPeerVerifyFlag(const ::std::string& uid, const ::std::string& cid, ::Ice::Int& flag, const ::Ice::Context& __ctx) - { - return getPeerVerifyFlag(uid, cid, flag, &__ctx); - } - -private: - - ::Ice::Int getPeerVerifyFlag(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getPeerVerifyFlagQuestion(const ::std::string& uid, const ::std::string& cid, ::Ice::Int& flag, ::std::string& question, ::std::string& answer) - { - return getPeerVerifyFlagQuestion(uid, cid, flag, question, answer, 0); - } - ::Ice::Int getPeerVerifyFlagQuestion(const ::std::string& uid, const ::std::string& cid, ::Ice::Int& flag, ::std::string& question, ::std::string& answer, const ::Ice::Context& __ctx) - { - return getPeerVerifyFlagQuestion(uid, cid, flag, question, answer, &__ctx); - } - -private: - - ::Ice::Int getPeerVerifyFlagQuestion(const ::std::string&, const ::std::string&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getNickName(const ::std::string& uid, ::std::string& nickname) - { - return getNickName(uid, nickname, 0); - } - ::Ice::Int getNickName(const ::std::string& uid, ::std::string& nickname, const ::Ice::Context& __ctx) - { - return getNickName(uid, nickname, &__ctx); - } - -private: - - ::Ice::Int getNickName(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getFTServiceInfo(const ::std::string& senduid, const ::std::string& touid, ::std::string& srvIp, ::Ice::Short& srvPort) - { - return getFTServiceInfo(senduid, touid, srvIp, srvPort, 0); - } - ::Ice::Int getFTServiceInfo(const ::std::string& senduid, const ::std::string& touid, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context& __ctx) - { - return getFTServiceInfo(senduid, touid, srvIp, srvPort, &__ctx); - } - -private: - - ::Ice::Int getFTServiceInfo(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - -public: - - ::Ice::Int getTietuServiceInfo(const ::std::string& senduid, ::Ice::Int& sessionSum, ::std::string& srvIp, ::Ice::Short& srvPort) - { - return getTietuServiceInfo(senduid, sessionSum, srvIp, srvPort, 0); - } - ::Ice::Int getTietuServiceInfo(const ::std::string& senduid, ::Ice::Int& sessionSum, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context& __ctx) - { - return getTietuServiceInfo(senduid, sessionSum, srvIp, srvPort, &__ctx); - } - -private: - - ::Ice::Int getTietuServiceInfo(const ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - -public: - - ::Ice::Int getFTSAddr(::Ice::Short type, const ::std::string& senduid, ::Ice::Long& ftsid, ::std::string& srvIp, ::Ice::Short& srvPort) - { - return getFTSAddr(type, senduid, ftsid, srvIp, srvPort, 0); - } - ::Ice::Int getFTSAddr(::Ice::Short type, const ::std::string& senduid, ::Ice::Long& ftsid, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context& __ctx) - { - return getFTSAddr(type, senduid, ftsid, srvIp, srvPort, &__ctx); - } - -private: - - ::Ice::Int getFTSAddr(::Ice::Short, const ::std::string&, ::Ice::Long&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - -public: - - ::Ice::Int registerWanghao(const ::std::string& longuid, const ::AliIMInterface::KVMAP& attrs) - { - return registerWanghao(longuid, attrs, 0); - } - ::Ice::Int registerWanghao(const ::std::string& longuid, const ::AliIMInterface::KVMAP& attrs, const ::Ice::Context& __ctx) - { - return registerWanghao(longuid, attrs, &__ctx); - } - -private: - - ::Ice::Int registerWanghao(const ::std::string&, const ::AliIMInterface::KVMAP&, const ::Ice::Context*); - -public: - - ::Ice::Int updateUserProfile(const ::std::string& longuid, const ::AliIMInterface::KVMAP& newattrs) - { - return updateUserProfile(longuid, newattrs, 0); - } - ::Ice::Int updateUserProfile(const ::std::string& longuid, const ::AliIMInterface::KVMAP& newattrs, const ::Ice::Context& __ctx) - { - return updateUserProfile(longuid, newattrs, &__ctx); - } - -private: - - ::Ice::Int updateUserProfile(const ::std::string&, const ::AliIMInterface::KVMAP&, const ::Ice::Context*); - -public: - - ::Ice::Int loadSitePrefix(::AliIMDBBase::SImPrefixSeq& pv) - { - return loadSitePrefix(pv, 0); - } - ::Ice::Int loadSitePrefix(::AliIMDBBase::SImPrefixSeq& pv, const ::Ice::Context& __ctx) - { - return loadSitePrefix(pv, &__ctx); - } - -private: - - ::Ice::Int loadSitePrefix(::AliIMDBBase::SImPrefixSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int updateAepUserId(const ::std::string& longuid, const ::std::string& aepuserid) - { - return updateAepUserId(longuid, aepuserid, 0); - } - ::Ice::Int updateAepUserId(const ::std::string& longuid, const ::std::string& aepuserid, const ::Ice::Context& __ctx) - { - return updateAepUserId(longuid, aepuserid, &__ctx); - } - -private: - - ::Ice::Int updateAepUserId(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int updateVipflag(const ::std::string& uid, ::Ice::Int flag) - { - return updateVipflag(uid, flag, 0); - } - ::Ice::Int updateVipflag(const ::std::string& uid, ::Ice::Int flag, const ::Ice::Context& __ctx) - { - return updateVipflag(uid, flag, &__ctx); - } - -private: - - ::Ice::Int updateVipflag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int checkWangHaoPwd(const ::std::string& longuid, bool btokenpw, const ::std::string& pw, ::std::string& retluid, ::std::string& retPwToken, ::std::string& retmd5passwd, ::Ice::Int& activeState) - { - return checkWangHaoPwd(longuid, btokenpw, pw, retluid, retPwToken, retmd5passwd, activeState, 0); - } - ::Ice::Int checkWangHaoPwd(const ::std::string& longuid, bool btokenpw, const ::std::string& pw, ::std::string& retluid, ::std::string& retPwToken, ::std::string& retmd5passwd, ::Ice::Int& activeState, const ::Ice::Context& __ctx) - { - return checkWangHaoPwd(longuid, btokenpw, pw, retluid, retPwToken, retmd5passwd, activeState, &__ctx); - } - -private: - - ::Ice::Int checkWangHaoPwd(const ::std::string&, bool, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int checkCanLogin(const ::std::string& uid, ::Ice::Int version, const ::std::string& extrainfo) - { - return checkCanLogin(uid, version, extrainfo, 0); - } - ::Ice::Int checkCanLogin(const ::std::string& uid, ::Ice::Int version, const ::std::string& extrainfo, const ::Ice::Context& __ctx) - { - return checkCanLogin(uid, version, extrainfo, &__ctx); - } - -private: - - ::Ice::Int checkCanLogin(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetSIPSessionId(const ::std::string& uid, const ::std::string& appid, const ::std::string& type, ::std::string& sessionId) - { - return GetSIPSessionId(uid, appid, type, sessionId, 0); - } - ::Ice::Int GetSIPSessionId(const ::std::string& uid, const ::std::string& appid, const ::std::string& type, ::std::string& sessionId, const ::Ice::Context& __ctx) - { - return GetSIPSessionId(uid, appid, type, sessionId, &__ctx); - } - -private: - - ::Ice::Int GetSIPSessionId(const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckGsContact(const ::std::string& uid, const ::std::string& contactid, ::Ice::Int& flag) - { - return CheckGsContact(uid, contactid, flag, 0); - } - ::Ice::Int CheckGsContact(const ::std::string& uid, const ::std::string& contactid, ::Ice::Int& flag, const ::Ice::Context& __ctx) - { - return CheckGsContact(uid, contactid, flag, &__ctx); - } - -private: - - ::Ice::Int CheckGsContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateSmsAuthCode(const ::std::string& uid, const ::std::string& phoneNo, const ::std::string& code) - { - return UpdateSmsAuthCode(uid, phoneNo, code, 0); - } - ::Ice::Int UpdateSmsAuthCode(const ::std::string& uid, const ::std::string& phoneNo, const ::std::string& code, const ::Ice::Context& __ctx) - { - return UpdateSmsAuthCode(uid, phoneNo, code, &__ctx); - } - -private: - - ::Ice::Int UpdateSmsAuthCode(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckSmsAuthCode(const ::std::string& uid, const ::std::string& phoneNo, const ::std::string& code) - { - return CheckSmsAuthCode(uid, phoneNo, code, 0); - } - ::Ice::Int CheckSmsAuthCode(const ::std::string& uid, const ::std::string& phoneNo, const ::std::string& code, const ::Ice::Context& __ctx) - { - return CheckSmsAuthCode(uid, phoneNo, code, &__ctx); - } - -private: - - ::Ice::Int CheckSmsAuthCode(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserValueBySmsAuth(const ::std::string& uid) - { - return UpdateUserValueBySmsAuth(uid, 0); - } - ::Ice::Int UpdateUserValueBySmsAuth(const ::std::string& uid, const ::Ice::Context& __ctx) - { - return UpdateUserValueBySmsAuth(uid, &__ctx); - } - -private: - - ::Ice::Int UpdateUserValueBySmsAuth(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckSmsAuthStatus(const ::std::string& uid, ::Ice::Int& status) - { - return CheckSmsAuthStatus(uid, status, 0); - } - ::Ice::Int CheckSmsAuthStatus(const ::std::string& uid, ::Ice::Int& status, const ::Ice::Context& __ctx) - { - return CheckSmsAuthStatus(uid, status, &__ctx); - } - -private: - - ::Ice::Int CheckSmsAuthStatus(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckUserTokenExtra(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, ::Ice::Int& webdata) - { - return CheckUserTokenExtra(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, webdata, 0); - } - ::Ice::Int CheckUserTokenExtra(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, ::Ice::Int& webdata, const ::Ice::Context& __ctx) - { - return CheckUserTokenExtra(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, webdata, &__ctx); - } - -private: - - ::Ice::Int CheckUserTokenExtra(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckUserWebPasswdExtra(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, ::Ice::Int& webdata) - { - return CheckUserWebPasswdExtra(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, webdata, 0); - } - ::Ice::Int CheckUserWebPasswdExtra(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, ::Ice::Int& webdata, const ::Ice::Context& __ctx) - { - return CheckUserWebPasswdExtra(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, webdata, &__ctx); - } - -private: - - ::Ice::Int CheckUserWebPasswdExtra(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getESShuntStatus(const ::std::string& uid, ::std::string& shunt) - { - return getESShuntStatus(uid, shunt, 0); - } - ::Ice::Int getESShuntStatus(const ::std::string& uid, ::std::string& shunt, const ::Ice::Context& __ctx) - { - return getESShuntStatus(uid, shunt, &__ctx); - } - -private: - - ::Ice::Int getESShuntStatus(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int setESShuntStatus(const ::std::string& uid, const ::std::string& shunt) - { - return setESShuntStatus(uid, shunt, 0); - } - ::Ice::Int setESShuntStatus(const ::std::string& uid, const ::std::string& shunt, const ::Ice::Context& __ctx) - { - return setESShuntStatus(uid, shunt, &__ctx); - } - -private: - - ::Ice::Int setESShuntStatus(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICEReceptNumSeq& eserviceList) - { - return getMaxESReceptNum(uid, groupId, eserviceList, 0); - } - ::Ice::Int getMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICEReceptNumSeq& eserviceList, const ::Ice::Context& __ctx) - { - return getMaxESReceptNum(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int getMaxESReceptNum(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEReceptNumSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int setMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, const ::AliIMDBBase::SICEReceptNumSeq& eserviceList) - { - return setMaxESReceptNum(uid, groupId, eserviceList, 0); - } - ::Ice::Int setMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, const ::AliIMDBBase::SICEReceptNumSeq& eserviceList, const ::Ice::Context& __ctx) - { - return setMaxESReceptNum(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int setMaxESReceptNum(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICEReceptNumSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESPriority(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICEReceptPrioritySeq& eserviceList) - { - return getESPriority(uid, groupId, eserviceList, 0); - } - ::Ice::Int getESPriority(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context& __ctx) - { - return getESPriority(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int getESPriority(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEReceptPrioritySeq&, const ::Ice::Context*); - -public: - - ::Ice::Int setESPriority(const ::std::string& uid, ::Ice::Int groupId, const ::AliIMDBBase::SICEReceptPrioritySeq& eserviceList) - { - return setESPriority(uid, groupId, eserviceList, 0); - } - ::Ice::Int setESPriority(const ::std::string& uid, ::Ice::Int groupId, const ::AliIMDBBase::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context& __ctx) - { - return setESPriority(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int setESPriority(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICEReceptPrioritySeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICERecvOffMsgSeq& eserviceList) - { - return getESRecvOffMsg(uid, groupId, eserviceList, 0); - } - ::Ice::Int getESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context& __ctx) - { - return getESRecvOffMsg(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int getESRecvOffMsg(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICERecvOffMsgSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int setESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, const ::AliIMDBBase::SICERecvOffMsgSeq& eserviceList) - { - return setESRecvOffMsg(uid, groupId, eserviceList, 0); - } - ::Ice::Int setESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, const ::AliIMDBBase::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context& __ctx) - { - return setESRecvOffMsg(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int setESRecvOffMsg(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICERecvOffMsgSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESGroupList(const ::std::string& uid, ::Ice::IntSeq& groupList) - { - return getESGroupList(uid, groupList, 0); - } - ::Ice::Int getESGroupList(const ::std::string& uid, ::Ice::IntSeq& groupList, const ::Ice::Context& __ctx) - { - return getESGroupList(uid, groupList, &__ctx); - } - -private: - - ::Ice::Int getESGroupList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int insertESGroupInfo(const ::std::string& uid, const ::AliIMDBBase::SICEESGroupInfo& groupInfo, ::Ice::Int& groupId) - { - return insertESGroupInfo(uid, groupInfo, groupId, 0); - } - ::Ice::Int insertESGroupInfo(const ::std::string& uid, const ::AliIMDBBase::SICEESGroupInfo& groupInfo, ::Ice::Int& groupId, const ::Ice::Context& __ctx) - { - return insertESGroupInfo(uid, groupInfo, groupId, &__ctx); - } - -private: - - ::Ice::Int insertESGroupInfo(const ::std::string&, const ::AliIMDBBase::SICEESGroupInfo&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int updateESGroupInfo(const ::std::string& uid, const ::AliIMDBBase::SICEESGroupInfo& group) - { - return updateESGroupInfo(uid, group, 0); - } - ::Ice::Int updateESGroupInfo(const ::std::string& uid, const ::AliIMDBBase::SICEESGroupInfo& group, const ::Ice::Context& __ctx) - { - return updateESGroupInfo(uid, group, &__ctx); - } - -private: - - ::Ice::Int updateESGroupInfo(const ::std::string&, const ::AliIMDBBase::SICEESGroupInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int delESGroup(const ::std::string& uid, ::Ice::Int groupid) - { - return delESGroup(uid, groupid, 0); - } - ::Ice::Int delESGroup(const ::std::string& uid, ::Ice::Int groupid, const ::Ice::Context& __ctx) - { - return delESGroup(uid, groupid, &__ctx); - } - -private: - - ::Ice::Int delESGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int getESGroupInfo(const ::std::string& uid, ::AliIMDBBase::SICEESGroupInfoSeq& groupList) - { - return getESGroupInfo(uid, groupList, 0); - } - ::Ice::Int getESGroupInfo(const ::std::string& uid, ::AliIMDBBase::SICEESGroupInfoSeq& groupList, const ::Ice::Context& __ctx) - { - return getESGroupInfo(uid, groupList, &__ctx); - } - -private: - - ::Ice::Int getESGroupInfo(const ::std::string&, ::AliIMDBBase::SICEESGroupInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESGroupInfoByID(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICEESGroupInfo& groupInfo) - { - return getESGroupInfoByID(uid, groupId, groupInfo, 0); - } - ::Ice::Int getESGroupInfoByID(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICEESGroupInfo& groupInfo, const ::Ice::Context& __ctx) - { - return getESGroupInfoByID(uid, groupId, groupInfo, &__ctx); - } - -private: - - ::Ice::Int getESGroupInfoByID(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEESGroupInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int getESUserFunc(const ::std::string& uid, const ::std::string& childid, ::std::string& userflag, ::Ice::Int& groupId) - { - return getESUserFunc(uid, childid, userflag, groupId, 0); - } - ::Ice::Int getESUserFunc(const ::std::string& uid, const ::std::string& childid, ::std::string& userflag, ::Ice::Int& groupId, const ::Ice::Context& __ctx) - { - return getESUserFunc(uid, childid, userflag, groupId, &__ctx); - } - -private: - - ::Ice::Int getESUserFunc(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getESUnJoinGroup(const ::std::string& uid, ::Ice::StringSeq& eserviceList) - { - return getESUnJoinGroup(uid, eserviceList, 0); - } - ::Ice::Int getESUnJoinGroup(const ::std::string& uid, ::Ice::StringSeq& eserviceList, const ::Ice::Context& __ctx) - { - return getESUnJoinGroup(uid, eserviceList, &__ctx); - } - -private: - - ::Ice::Int getESUnJoinGroup(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int checkESRole(const ::std::string& uid, ::Ice::Int& groupId) - { - return checkESRole(uid, groupId, 0); - } - ::Ice::Int checkESRole(const ::std::string& uid, ::Ice::Int& groupId, const ::Ice::Context& __ctx) - { - return checkESRole(uid, groupId, &__ctx); - } - -private: - - ::Ice::Int checkESRole(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckWebWWPasswd(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat) - { - return CheckWebWWPasswd(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, 0); - } - ::Ice::Int CheckWebWWPasswd(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context& __ctx) - { - return CheckWebWWPasswd(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, &__ctx); - } - -private: - - ::Ice::Int CheckWebWWPasswd(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getESExpandArea(const ::std::string& uid, ::AliIMDBBase::SICEExpandAreaSeq& areaInfos) - { - return getESExpandArea(uid, areaInfos, 0); - } - ::Ice::Int getESExpandArea(const ::std::string& uid, ::AliIMDBBase::SICEExpandAreaSeq& areaInfos, const ::Ice::Context& __ctx) - { - return getESExpandArea(uid, areaInfos, &__ctx); - } - -private: - - ::Ice::Int getESExpandArea(const ::std::string&, ::AliIMDBBase::SICEExpandAreaSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESExpandAreaById(const ::std::string& uid, ::Ice::Int id, ::AliIMDBBase::SICEExpandArea& areaInfos) - { - return getESExpandAreaById(uid, id, areaInfos, 0); - } - ::Ice::Int getESExpandAreaById(const ::std::string& uid, ::Ice::Int id, ::AliIMDBBase::SICEExpandArea& areaInfos, const ::Ice::Context& __ctx) - { - return getESExpandAreaById(uid, id, areaInfos, &__ctx); - } - -private: - - ::Ice::Int getESExpandAreaById(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*); - -public: - - ::Ice::Int addESExpandArea(const ::std::string& uid, const ::AliIMDBBase::SICEExpandArea& areaInfo) - { - return addESExpandArea(uid, areaInfo, 0); - } - ::Ice::Int addESExpandArea(const ::std::string& uid, const ::AliIMDBBase::SICEExpandArea& areaInfo, const ::Ice::Context& __ctx) - { - return addESExpandArea(uid, areaInfo, &__ctx); - } - -private: - - ::Ice::Int addESExpandArea(const ::std::string&, const ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*); - -public: - - ::Ice::Int updateESExpandArea(const ::std::string& uid, const ::AliIMDBBase::SICEExpandArea& areaInfo) - { - return updateESExpandArea(uid, areaInfo, 0); - } - ::Ice::Int updateESExpandArea(const ::std::string& uid, const ::AliIMDBBase::SICEExpandArea& areaInfo, const ::Ice::Context& __ctx) - { - return updateESExpandArea(uid, areaInfo, &__ctx); - } - -private: - - ::Ice::Int updateESExpandArea(const ::std::string&, const ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*); - -public: - - ::Ice::Int delESExpandArea(const ::std::string& uid, ::Ice::Int id) - { - return delESExpandArea(uid, id, 0); - } - ::Ice::Int delESExpandArea(const ::std::string& uid, ::Ice::Int id, const ::Ice::Context& __ctx) - { - return delESExpandArea(uid, id, &__ctx); - } - -private: - - ::Ice::Int delESExpandArea(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int setESEval(const ::std::string& uid, const ::std::string& evalcontent, const ::std::string& welcome) - { - return setESEval(uid, evalcontent, welcome, 0); - } - ::Ice::Int setESEval(const ::std::string& uid, const ::std::string& evalcontent, const ::std::string& welcome, const ::Ice::Context& __ctx) - { - return setESEval(uid, evalcontent, welcome, &__ctx); - } - -private: - - ::Ice::Int setESEval(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getESEval(const ::std::string& uid, ::std::string& evalcontent, ::std::string& welcome) - { - return getESEval(uid, evalcontent, welcome, 0); - } - ::Ice::Int getESEval(const ::std::string& uid, ::std::string& evalcontent, ::std::string& welcome, const ::Ice::Context& __ctx) - { - return getESEval(uid, evalcontent, welcome, &__ctx); - } - -private: - - ::Ice::Int getESEval(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int sendESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int& evalId) - { - return sendESEvalResult(uid, buyerid, evalId, 0); - } - ::Ice::Int sendESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int& evalId, const ::Ice::Context& __ctx) - { - return sendESEvalResult(uid, buyerid, evalId, &__ctx); - } - -private: - - ::Ice::Int sendESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int setESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, const ::std::string& evalresult) - { - return setESEvalResult(uid, buyerid, evalId, evalresult, 0); - } - ::Ice::Int setESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, const ::std::string& evalresult, const ::Ice::Context& __ctx) - { - return setESEvalResult(uid, buyerid, evalId, evalresult, &__ctx); - } - -private: - - ::Ice::Int setESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, ::std::string& evalresult, ::std::string& gmtcreate, ::std::string& gmtmodify) - { - return getESEvalResult(uid, buyerid, evalId, evalresult, gmtcreate, gmtmodify, 0); - } - ::Ice::Int getESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, ::std::string& evalresult, ::std::string& gmtcreate, ::std::string& gmtmodify, const ::Ice::Context& __ctx) - { - return getESEvalResult(uid, buyerid, evalId, evalresult, gmtcreate, gmtmodify, &__ctx); - } - -private: - - ::Ice::Int getESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getESEvalResultToday(const ::std::string& uid, ::AliIMDBBase::SICEESEvalResultSeq& evalInfos) - { - return getESEvalResultToday(uid, evalInfos, 0); - } - ::Ice::Int getESEvalResultToday(const ::std::string& uid, ::AliIMDBBase::SICEESEvalResultSeq& evalInfos, const ::Ice::Context& __ctx) - { - return getESEvalResultToday(uid, evalInfos, &__ctx); - } - -private: - - ::Ice::Int getESEvalResultToday(const ::std::string&, ::AliIMDBBase::SICEESEvalResultSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESEvalResultHistory(const ::std::string& uid, const ::std::string& querytime, ::AliIMDBBase::SICEESEvalResultSeq& evalInfos) - { - return getESEvalResultHistory(uid, querytime, evalInfos, 0); - } - ::Ice::Int getESEvalResultHistory(const ::std::string& uid, const ::std::string& querytime, ::AliIMDBBase::SICEESEvalResultSeq& evalInfos, const ::Ice::Context& __ctx) - { - return getESEvalResultHistory(uid, querytime, evalInfos, &__ctx); - } - -private: - - ::Ice::Int getESEvalResultHistory(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEESEvalResultSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESEvalResultHistorybypage(const ::std::string& uid, const ::std::string& childid, const ::std::string& begindate, const ::std::string& enddate, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& pagecount, ::AliIMDBBase::SICEESEvalResultExSeq& evalInfos) - { - return getESEvalResultHistorybypage(uid, childid, begindate, enddate, pageno, pagesize, pagecount, evalInfos, 0); - } - ::Ice::Int getESEvalResultHistorybypage(const ::std::string& uid, const ::std::string& childid, const ::std::string& begindate, const ::std::string& enddate, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& pagecount, ::AliIMDBBase::SICEESEvalResultExSeq& evalInfos, const ::Ice::Context& __ctx) - { - return getESEvalResultHistorybypage(uid, childid, begindate, enddate, pageno, pagesize, pagecount, evalInfos, &__ctx); - } - -private: - - ::Ice::Int getESEvalResultHistorybypage(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliIMDBBase::SICEESEvalResultExSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getLastLoginTime(const ::Ice::StringSeq& loginids, ::Ice::StringSeq& loginTimes) - { - return getLastLoginTime(loginids, loginTimes, 0); - } - ::Ice::Int getLastLoginTime(const ::Ice::StringSeq& loginids, ::Ice::StringSeq& loginTimes, const ::Ice::Context& __ctx) - { - return getLastLoginTime(loginids, loginTimes, &__ctx); - } - -private: - - ::Ice::Int getLastLoginTime(const ::Ice::StringSeq&, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getChildShuntInfos(const ::std::string& uid, ::AliIMDBBase::SChildUserInfoSeq& childInfos) - { - return getChildShuntInfos(uid, childInfos, 0); - } - ::Ice::Int getChildShuntInfos(const ::std::string& uid, ::AliIMDBBase::SChildUserInfoSeq& childInfos, const ::Ice::Context& __ctx) - { - return getChildShuntInfos(uid, childInfos, &__ctx); - } - -private: - - ::Ice::Int getChildShuntInfos(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int setChildShuntInfos(const ::std::string& uid, const ::AliIMDBBase::SChildUserInfoSeq& childinfos) - { - return setChildShuntInfos(uid, childinfos, 0); - } - ::Ice::Int setChildShuntInfos(const ::std::string& uid, const ::AliIMDBBase::SChildUserInfoSeq& childinfos, const ::Ice::Context& __ctx) - { - return setChildShuntInfos(uid, childinfos, &__ctx); - } - -private: - - ::Ice::Int setChildShuntInfos(const ::std::string&, const ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getAgentChild(const ::std::string& uid, ::std::string& agentId) - { - return getAgentChild(uid, agentId, 0); - } - ::Ice::Int getAgentChild(const ::std::string& uid, ::std::string& agentId, const ::Ice::Context& __ctx) - { - return getAgentChild(uid, agentId, &__ctx); - } - -private: - - ::Ice::Int getAgentChild(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int setAgentChild(const ::std::string& uid, const ::std::string& agentId) - { - return setAgentChild(uid, agentId, 0); - } - ::Ice::Int setAgentChild(const ::std::string& uid, const ::std::string& agentId, const ::Ice::Context& __ctx) - { - return setAgentChild(uid, agentId, &__ctx); - } - -private: - - ::Ice::Int setAgentChild(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getAgentList(const ::std::string& uid, ::Ice::StringSeq& agentIds) - { - return getAgentList(uid, agentIds, 0); - } - ::Ice::Int getAgentList(const ::std::string& uid, ::Ice::StringSeq& agentIds, const ::Ice::Context& __ctx) - { - return getAgentList(uid, agentIds, &__ctx); - } - -private: - - ::Ice::Int getAgentList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getB2BChildTeamList(const ::std::string& parentId, ::AliIMDBBase::SB2BChildUserInfoSeq& childTeamList) - { - return getB2BChildTeamList(parentId, childTeamList, 0); - } - ::Ice::Int getB2BChildTeamList(const ::std::string& parentId, ::AliIMDBBase::SB2BChildUserInfoSeq& childTeamList, const ::Ice::Context& __ctx) - { - return getB2BChildTeamList(parentId, childTeamList, &__ctx); - } - -private: - - ::Ice::Int getB2BChildTeamList(const ::std::string&, ::AliIMDBBase::SB2BChildUserInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getB2BChildInfo(const ::std::string& parentId, const ::std::string& childid, ::AliIMDBBase::SB2BChildUserInfo& childInfo) - { - return getB2BChildInfo(parentId, childid, childInfo, 0); - } - ::Ice::Int getB2BChildInfo(const ::std::string& parentId, const ::std::string& childid, ::AliIMDBBase::SB2BChildUserInfo& childInfo, const ::Ice::Context& __ctx) - { - return getB2BChildInfo(parentId, childid, childInfo, &__ctx); - } - -private: - - ::Ice::Int getB2BChildInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SB2BChildUserInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int getB2BChildParentId(const ::std::string& childId, ::std::string& fid) - { - return getB2BChildParentId(childId, fid, 0); - } - ::Ice::Int getB2BChildParentId(const ::std::string& childId, ::std::string& fid, const ::Ice::Context& __ctx) - { - return getB2BChildParentId(childId, fid, &__ctx); - } - -private: - - ::Ice::Int getB2BChildParentId(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int addB2BChild(const ::std::string& fid, const ::std::string& childId, const ::std::string& userflag) - { - return addB2BChild(fid, childId, userflag, 0); - } - ::Ice::Int addB2BChild(const ::std::string& fid, const ::std::string& childId, const ::std::string& userflag, const ::Ice::Context& __ctx) - { - return addB2BChild(fid, childId, userflag, &__ctx); - } - -private: - - ::Ice::Int addB2BChild(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int updateB2BChild(const ::std::string& fid, const ::std::string& childId, const ::std::string& userflag) - { - return updateB2BChild(fid, childId, userflag, 0); - } - ::Ice::Int updateB2BChild(const ::std::string& fid, const ::std::string& childId, const ::std::string& userflag, const ::Ice::Context& __ctx) - { - return updateB2BChild(fid, childId, userflag, &__ctx); - } - -private: - - ::Ice::Int updateB2BChild(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int deleteB2BChild(const ::std::string& fid, const ::std::string& childId) - { - return deleteB2BChild(fid, childId, 0); - } - ::Ice::Int deleteB2BChild(const ::std::string& fid, const ::std::string& childId, const ::Ice::Context& __ctx) - { - return deleteB2BChild(fid, childId, &__ctx); - } - -private: - - ::Ice::Int deleteB2BChild(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIMDBBase -{ - -class IMDBProxyMgr : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int sayhello(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckUserToken(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckTmpSession(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckUserWebPasswd(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckUserPasswd(const ::std::string&, bool, const ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckUserWebToken(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAtmLongid(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddUser60(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetWebMemberPWInfo(const ::std::string&, ::AliIMDBBase::SMemberPWInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetWebMemberPWInfoEx(const ::std::string&, ::AliIMDBBase::SMemberPWInfoEx&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserWebBasicProfile(const ::std::string&, ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckCanAddContact(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int QueryMatchedUserIds(const ::std::string&, const ::std::string&, ::AliIMDBBase::SMatchedUserIdInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactWebInfo(const ::std::string&, const ::std::string&, const ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelTaobaoUser(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelAnyUser(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddUserKeyWord(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserKeyWord(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserKeyWord(const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int QueryUserIdsByKeyWord(const ::std::string&, ::AliIMDBBase::SMatchedUserIdInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetBatchMemberInfo(const ::Ice::StringSeq&, ::AliIMDBBase::SICEMemberInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAllVersion(::AliIMDBBase::SICEVersionSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAllSysMsg(::AliIMDBBase::SICESysMessageSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAllExSysMsg(::AliIMDBBase::SExICESysMessageSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserInfo(const ::std::string&, ::AliIMDBBase::SICEUserInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserInfo2(const ::std::string&, ::AliIMDBBase::SICEUserInfo2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserInfoEx(const ::std::string&, ::AliIMDBBase::SICEUserInfoEx&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserInfoNew(const ::std::string&, ::AliIMDBBase::SICEUserInfoNew&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserInfo2New(const ::std::string&, ::AliIMDBBase::SICEUserInfo2New&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserInfoExNew(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserInfoExNew2(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserInfoExNew3(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew3&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserInfoExNew4(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew4&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserVerifyInfo(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserVerifyInfoEx(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, ::Ice::Byte&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserVerifyInfoQuestion(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, ::Ice::Byte&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetGroupListEx(const ::std::string&, ::AliIMDBBase::SICEGroupInfoExSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetReverseBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetOfflineMsg(const ::std::string&, ::AliIMDBBase::SICEOffLineMessegeSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetOfflineMsgEx(const ::std::string&, ::AliIMDBBase::SICEOffLineMessegeExSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetOfflineMsgCount(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetEnetOfflineMsgNum(const ::std::string&, const ::std::string&, const ::Ice::IntSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetContactInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEContactInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetOfflineMsgNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetToolProfiles(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetToolProfilesEx(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEToolProfileSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetSysMsg(::Ice::Int, ::AliIMDBBase::SICESysMessage&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddUser(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddGroupEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddOfflineMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddExpriteTimeOfflineMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddOfflineMsgNoSMS(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddOfflineMsgEx(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Long, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserLogin(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserLoginEx(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserLoginDataInfo(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserLoginDataInfoEx(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserSysMsgId(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserDataInfo(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserDataInfo2(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserDataInfo3(const ::std::string&, const ::AliIMDBBase::RIGHTTABLE&, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserVerifySet(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserVerifySetEx(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserVerifySetQuestion(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int MoveGroup(const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactStatus(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateNotifyMessage(::Ice::Int, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateToolProfiles(const ::std::string&, ::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateToolProfilesEx(const ::std::string&, const ::AliIMDBBase::SICEToolProfileSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveGroup(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveInverfiedContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int IsBlackedByOther(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveBatchContacts(const ::std::string&, const ::Ice::StringSeq&, ::Ice::StringSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserDStatus(const ::std::string&, ::AliIMDBBase::SICEUserDStatusSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddUserDStatus(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveUserDStatus(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAllContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetCntModifyList(::Ice::Int, const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntCidModPairSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull&, ::std::string&, ::std::string&, ::Ice::Long&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelGenContact(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckUpgradeGenCnt(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ModifyGenCntID(const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpgradeGenContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUpdatedUserInfo(const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, ::std::string&, ::Ice::Long&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactGroupByCid(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactNickNameByCid(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetCRMContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECRMContactDetail&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetHardCodeIds(const ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateHardCodeIds(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetCntOtherModifyList(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntOtherModInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetCntOtherModifyInfo(const ::std::string&, ::AliIMDBBase::SICECntOtherModInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserCRInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int SetUserCRInfo(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetSmsUserInfoByUid(const ::std::string&, ::AliIMDBBase::SICESmsUserInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetSmsUserMsgInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelOfflineMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelOfflineMsgEx(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelWapOfflineMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ModifyCntMemo(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetCntMemo(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserTribe(const ::std::string&, ::ALiIMDBTribe::STribeIdDbSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserTribeConfig(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserTribeConfig(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetTribeOffMngMsg(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelTribeOffMngMsg(::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ModifyPersonalShow(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetPersonalShow(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAllOnlineSmsUser(::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserKeyWordDegree(const ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Float&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserValue(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserMd5Password(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int InsertYahooUser(const ::AliIMDBBase::SUdbUserInfo&, ::Ice::Int, const ::AliIMDBBase::SICEGenContactFullSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetContactDetailByUid(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetChildTeamList(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetChildTeamList2(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetChildUserInfo(const ::std::string&, ::AliIMDBBase::SChildUserInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetChildUserInfo2(const ::std::string&, ::AliIMDBBase::SChildUserInfo2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetShareContactList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetContactShareInfo(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int SetContactShareInfo(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetMultiAccountContactList(const ::std::string&, ::AliIMDBBase::SICEContactInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetMultiServiceList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetMultiBindToUser(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetWebBinds(const ::std::string&, ::AliIMDBBase::SICEKvPairSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddWebBind(const ::std::string&, const ::AliIMDBBase::SICEKvPair&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ChangeWebBind(const ::std::string&, const ::AliIMDBBase::SICEKvPair&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelWebBind(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int removeSession(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateSignature(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateContactClientInfo(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserProfile(const ::std::string&, ::AliIMDBBase::SICEKVMap&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getPeerVerifyFlag(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getPeerVerifyFlagQuestion(const ::std::string&, const ::std::string&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getNickName(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getFTServiceInfo(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getTietuServiceInfo(const ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Short&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getFTSAddr(::Ice::Short, const ::std::string&, ::Ice::Long&, ::std::string&, ::Ice::Short&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int registerWanghao(const ::std::string&, const ::AliIMInterface::KVMAP&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateUserProfile(const ::std::string&, const ::AliIMInterface::KVMAP&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int loadSitePrefix(::AliIMDBBase::SImPrefixSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateAepUserId(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateVipflag(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkWangHaoPwd(const ::std::string&, bool, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkCanLogin(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetSIPSessionId(const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckGsContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateSmsAuthCode(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckSmsAuthCode(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserValueBySmsAuth(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckSmsAuthStatus(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckUserTokenExtra(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckUserWebPasswdExtra(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESShuntStatus(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setESShuntStatus(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getMaxESReceptNum(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEReceptNumSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setMaxESReceptNum(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICEReceptNumSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESPriority(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEReceptPrioritySeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setESPriority(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICEReceptPrioritySeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESRecvOffMsg(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICERecvOffMsgSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setESRecvOffMsg(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICERecvOffMsgSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESGroupList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int insertESGroupInfo(const ::std::string&, const ::AliIMDBBase::SICEESGroupInfo&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateESGroupInfo(const ::std::string&, const ::AliIMDBBase::SICEESGroupInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int delESGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESGroupInfo(const ::std::string&, ::AliIMDBBase::SICEESGroupInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESGroupInfoByID(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEESGroupInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESUserFunc(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESUnJoinGroup(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkESRole(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckWebWWPasswd(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESExpandArea(const ::std::string&, ::AliIMDBBase::SICEExpandAreaSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESExpandAreaById(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int addESExpandArea(const ::std::string&, const ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateESExpandArea(const ::std::string&, const ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int delESExpandArea(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setESEval(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESEval(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int sendESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESEvalResultToday(const ::std::string&, ::AliIMDBBase::SICEESEvalResultSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESEvalResultHistory(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEESEvalResultSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESEvalResultHistorybypage(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliIMDBBase::SICEESEvalResultExSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getLastLoginTime(const ::Ice::StringSeq&, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getChildShuntInfos(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setChildShuntInfos(const ::std::string&, const ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getAgentChild(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setAgentChild(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getAgentList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getB2BChildTeamList(const ::std::string&, ::AliIMDBBase::SB2BChildUserInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getB2BChildInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SB2BChildUserInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getB2BChildParentId(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int addB2BChild(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateB2BChild(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int deleteB2BChild(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIMDBBase -{ - -class IMDBProxyMgr : virtual public ::IceDelegate::AliIMDBBase::IMDBProxyMgr, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int sayhello(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserToken(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckTmpSession(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserWebPasswd(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserPasswd(const ::std::string&, bool, const ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserWebToken(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetAtmLongid(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AddUser60(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetWebMemberPWInfo(const ::std::string&, ::AliIMDBBase::SMemberPWInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetWebMemberPWInfoEx(const ::std::string&, ::AliIMDBBase::SMemberPWInfoEx&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserWebBasicProfile(const ::std::string&, ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*); - - virtual ::Ice::Int CheckCanAddContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int QueryMatchedUserIds(const ::std::string&, const ::std::string&, ::AliIMDBBase::SMatchedUserIdInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactWebInfo(const ::std::string&, const ::std::string&, const ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*); - - virtual ::Ice::Int DelTaobaoUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DelAnyUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserKeyWord(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserKeyWord(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetUserKeyWord(const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int QueryUserIdsByKeyWord(const ::std::string&, ::AliIMDBBase::SMatchedUserIdInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetBatchMemberInfo(const ::Ice::StringSeq&, ::AliIMDBBase::SICEMemberInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllVersion(::AliIMDBBase::SICEVersionSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllSysMsg(::AliIMDBBase::SICESysMessageSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllExSysMsg(::AliIMDBBase::SExICESysMessageSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfo(const ::std::string&, ::AliIMDBBase::SICEUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfo2(const ::std::string&, ::AliIMDBBase::SICEUserInfo2&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfoEx(const ::std::string&, ::AliIMDBBase::SICEUserInfoEx&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfoNew(const ::std::string&, ::AliIMDBBase::SICEUserInfoNew&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfo2New(const ::std::string&, ::AliIMDBBase::SICEUserInfo2New&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfoExNew(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfoExNew2(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew2&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfoExNew3(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew3&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfoExNew4(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew4&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserVerifyInfo(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserVerifyInfoEx(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, ::Ice::Byte&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserVerifyInfoQuestion(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, ::Ice::Byte&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetGroupListEx(const ::std::string&, ::AliIMDBBase::SICEGroupInfoExSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetReverseBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetOfflineMsg(const ::std::string&, ::AliIMDBBase::SICEOffLineMessegeSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetOfflineMsgEx(const ::std::string&, ::AliIMDBBase::SICEOffLineMessegeExSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetOfflineMsgCount(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetEnetOfflineMsgNum(const ::std::string&, const ::std::string&, const ::Ice::IntSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEContactInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetOfflineMsgNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetToolProfiles(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetToolProfilesEx(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEToolProfileSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetSysMsg(::Ice::Int, ::AliIMDBBase::SICESysMessage&, const ::Ice::Context*); - - virtual ::Ice::Int AddUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AddGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddGroupEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddOfflineMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AddExpriteTimeOfflineMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AddOfflineMsgNoSMS(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AddOfflineMsgEx(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserLogin(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserLoginEx(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserLoginDataInfo(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserLoginDataInfoEx(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserSysMsgId(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserDataInfo(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserDataInfo2(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserDataInfo3(const ::std::string&, const ::AliIMDBBase::RIGHTTABLE&, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserVerifySet(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserVerifySetEx(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserVerifySetQuestion(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int MoveGroup(const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactStatus(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateNotifyMessage(::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateToolProfiles(const ::std::string&, ::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateToolProfilesEx(const ::std::string&, const ::AliIMDBBase::SICEToolProfileSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveGroup(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveInverfiedContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int IsBlackedByOther(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveBatchContacts(const ::std::string&, const ::Ice::StringSeq&, ::Ice::StringSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserDStatus(const ::std::string&, ::AliIMDBBase::SICEUserDStatusSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserDStatus(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveUserDStatus(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetAllContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetCntModifyList(::Ice::Int, const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntCidModPairSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull&, ::std::string&, ::std::string&, ::Ice::Long&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*); - - virtual ::Ice::Int DelGenContact(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*); - - virtual ::Ice::Int AddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUpgradeGenCnt(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ModifyGenCntID(const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpgradeGenContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUpdatedUserInfo(const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, ::std::string&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactGroupByCid(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactNickNameByCid(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetCRMContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECRMContactDetail&, const ::Ice::Context*); - - virtual ::Ice::Int GetHardCodeIds(const ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateHardCodeIds(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetCntOtherModifyList(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntOtherModInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetCntOtherModifyInfo(const ::std::string&, ::AliIMDBBase::SICECntOtherModInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserCRInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int SetUserCRInfo(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetSmsUserInfoByUid(const ::std::string&, ::AliIMDBBase::SICESmsUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetSmsUserMsgInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DelOfflineMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DelOfflineMsgEx(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DelWapOfflineMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ModifyCntMemo(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetCntMemo(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserTribe(const ::std::string&, ::ALiIMDBTribe::STribeIdDbSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserTribeConfig(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserTribeConfig(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetTribeOffMngMsg(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DelTribeOffMngMsg(::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ModifyPersonalShow(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetPersonalShow(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllOnlineSmsUser(::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserKeyWordDegree(const ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Float&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserValue(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserMd5Password(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int InsertYahooUser(const ::AliIMDBBase::SUdbUserInfo&, ::Ice::Int, const ::AliIMDBBase::SICEGenContactFullSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactDetailByUid(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*); - - virtual ::Ice::Int GetChildTeamList(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetChildTeamList2(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq2&, const ::Ice::Context*); - - virtual ::Ice::Int GetChildUserInfo(const ::std::string&, ::AliIMDBBase::SChildUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetChildUserInfo2(const ::std::string&, ::AliIMDBBase::SChildUserInfo2&, const ::Ice::Context*); - - virtual ::Ice::Int GetShareContactList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactShareInfo(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int SetContactShareInfo(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetMultiAccountContactList(const ::std::string&, ::AliIMDBBase::SICEContactInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetMultiServiceList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetMultiBindToUser(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetWebBinds(const ::std::string&, ::AliIMDBBase::SICEKvPairSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddWebBind(const ::std::string&, const ::AliIMDBBase::SICEKvPair&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ChangeWebBind(const ::std::string&, const ::AliIMDBBase::SICEKvPair&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DelWebBind(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getUserSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*); - - virtual ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int removeSession(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateSignature(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateContactClientInfo(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfile(const ::std::string&, ::AliIMDBBase::SICEKVMap&, const ::Ice::Context*); - - virtual ::Ice::Int getPeerVerifyFlag(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getPeerVerifyFlagQuestion(const ::std::string&, const ::std::string&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getNickName(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getFTServiceInfo(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int getTietuServiceInfo(const ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int getFTSAddr(::Ice::Short, const ::std::string&, ::Ice::Long&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int registerWanghao(const ::std::string&, const ::AliIMInterface::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserProfile(const ::std::string&, const ::AliIMInterface::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int loadSitePrefix(::AliIMDBBase::SImPrefixSeq&, const ::Ice::Context*); - - virtual ::Ice::Int updateAepUserId(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateVipflag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int checkWangHaoPwd(const ::std::string&, bool, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int checkCanLogin(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetSIPSessionId(const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckGsContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateSmsAuthCode(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckSmsAuthCode(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserValueBySmsAuth(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckSmsAuthStatus(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserTokenExtra(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserWebPasswdExtra(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getESShuntStatus(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setESShuntStatus(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getMaxESReceptNum(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEReceptNumSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setMaxESReceptNum(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICEReceptNumSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESPriority(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEReceptPrioritySeq&, const ::Ice::Context*); - - virtual ::Ice::Int setESPriority(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICEReceptPrioritySeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESRecvOffMsg(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICERecvOffMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setESRecvOffMsg(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICERecvOffMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESGroupList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int insertESGroupInfo(const ::std::string&, const ::AliIMDBBase::SICEESGroupInfo&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int updateESGroupInfo(const ::std::string&, const ::AliIMDBBase::SICEESGroupInfo&, const ::Ice::Context*); - - virtual ::Ice::Int delESGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int getESGroupInfo(const ::std::string&, ::AliIMDBBase::SICEESGroupInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESGroupInfoByID(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEESGroupInfo&, const ::Ice::Context*); - - virtual ::Ice::Int getESUserFunc(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getESUnJoinGroup(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int checkESRole(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckWebWWPasswd(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getESExpandArea(const ::std::string&, ::AliIMDBBase::SICEExpandAreaSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESExpandAreaById(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*); - - virtual ::Ice::Int addESExpandArea(const ::std::string&, const ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*); - - virtual ::Ice::Int updateESExpandArea(const ::std::string&, const ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*); - - virtual ::Ice::Int delESExpandArea(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int setESEval(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getESEval(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int sendESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int setESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResultToday(const ::std::string&, ::AliIMDBBase::SICEESEvalResultSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResultHistory(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEESEvalResultSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResultHistorybypage(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliIMDBBase::SICEESEvalResultExSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getLastLoginTime(const ::Ice::StringSeq&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getChildShuntInfos(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setChildShuntInfos(const ::std::string&, const ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getAgentChild(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setAgentChild(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getAgentList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getB2BChildTeamList(const ::std::string&, ::AliIMDBBase::SB2BChildUserInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getB2BChildInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SB2BChildUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int getB2BChildParentId(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int addB2BChild(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateB2BChild(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int deleteB2BChild(const ::std::string&, const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIMDBBase -{ - -class IMDBProxyMgr : virtual public ::IceDelegate::AliIMDBBase::IMDBProxyMgr, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int sayhello(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserToken(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckTmpSession(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserWebPasswd(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserPasswd(const ::std::string&, bool, const ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserWebToken(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetAtmLongid(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AddUser60(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetWebMemberPWInfo(const ::std::string&, ::AliIMDBBase::SMemberPWInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetWebMemberPWInfoEx(const ::std::string&, ::AliIMDBBase::SMemberPWInfoEx&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserWebBasicProfile(const ::std::string&, ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*); - - virtual ::Ice::Int CheckCanAddContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int QueryMatchedUserIds(const ::std::string&, const ::std::string&, ::AliIMDBBase::SMatchedUserIdInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactWebInfo(const ::std::string&, const ::std::string&, const ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*); - - virtual ::Ice::Int DelTaobaoUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DelAnyUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserKeyWord(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserKeyWord(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetUserKeyWord(const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int QueryUserIdsByKeyWord(const ::std::string&, ::AliIMDBBase::SMatchedUserIdInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetBatchMemberInfo(const ::Ice::StringSeq&, ::AliIMDBBase::SICEMemberInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllVersion(::AliIMDBBase::SICEVersionSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllSysMsg(::AliIMDBBase::SICESysMessageSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllExSysMsg(::AliIMDBBase::SExICESysMessageSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfo(const ::std::string&, ::AliIMDBBase::SICEUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfo2(const ::std::string&, ::AliIMDBBase::SICEUserInfo2&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfoEx(const ::std::string&, ::AliIMDBBase::SICEUserInfoEx&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfoNew(const ::std::string&, ::AliIMDBBase::SICEUserInfoNew&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfo2New(const ::std::string&, ::AliIMDBBase::SICEUserInfo2New&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfoExNew(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfoExNew2(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew2&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfoExNew3(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew3&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfoExNew4(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew4&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserVerifyInfo(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserVerifyInfoEx(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, ::Ice::Byte&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserVerifyInfoQuestion(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, ::Ice::Byte&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetGroupListEx(const ::std::string&, ::AliIMDBBase::SICEGroupInfoExSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetReverseBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetOfflineMsg(const ::std::string&, ::AliIMDBBase::SICEOffLineMessegeSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetOfflineMsgEx(const ::std::string&, ::AliIMDBBase::SICEOffLineMessegeExSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetOfflineMsgCount(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetEnetOfflineMsgNum(const ::std::string&, const ::std::string&, const ::Ice::IntSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEContactInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetOfflineMsgNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetToolProfiles(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetToolProfilesEx(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEToolProfileSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetSysMsg(::Ice::Int, ::AliIMDBBase::SICESysMessage&, const ::Ice::Context*); - - virtual ::Ice::Int AddUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AddGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddGroupEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddOfflineMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AddExpriteTimeOfflineMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AddOfflineMsgNoSMS(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AddOfflineMsgEx(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserLogin(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserLoginEx(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserLoginDataInfo(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserLoginDataInfoEx(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserSysMsgId(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserDataInfo(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserDataInfo2(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserDataInfo3(const ::std::string&, const ::AliIMDBBase::RIGHTTABLE&, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserVerifySet(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserVerifySetEx(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserVerifySetQuestion(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int MoveGroup(const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactStatus(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateNotifyMessage(::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateToolProfiles(const ::std::string&, ::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateToolProfilesEx(const ::std::string&, const ::AliIMDBBase::SICEToolProfileSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveGroup(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveInverfiedContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int IsBlackedByOther(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveBatchContacts(const ::std::string&, const ::Ice::StringSeq&, ::Ice::StringSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserDStatus(const ::std::string&, ::AliIMDBBase::SICEUserDStatusSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserDStatus(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveUserDStatus(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetAllContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetCntModifyList(::Ice::Int, const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntCidModPairSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull&, ::std::string&, ::std::string&, ::Ice::Long&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*); - - virtual ::Ice::Int DelGenContact(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*); - - virtual ::Ice::Int AddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUpgradeGenCnt(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ModifyGenCntID(const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpgradeGenContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUpdatedUserInfo(const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, ::std::string&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactGroupByCid(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactNickNameByCid(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetCRMContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECRMContactDetail&, const ::Ice::Context*); - - virtual ::Ice::Int GetHardCodeIds(const ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateHardCodeIds(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetCntOtherModifyList(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntOtherModInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetCntOtherModifyInfo(const ::std::string&, ::AliIMDBBase::SICECntOtherModInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserCRInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int SetUserCRInfo(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetSmsUserInfoByUid(const ::std::string&, ::AliIMDBBase::SICESmsUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetSmsUserMsgInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DelOfflineMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DelOfflineMsgEx(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DelWapOfflineMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ModifyCntMemo(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetCntMemo(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserTribe(const ::std::string&, ::ALiIMDBTribe::STribeIdDbSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserTribeConfig(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserTribeConfig(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetTribeOffMngMsg(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DelTribeOffMngMsg(::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ModifyPersonalShow(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetPersonalShow(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllOnlineSmsUser(::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserKeyWordDegree(const ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Float&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserValue(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserMd5Password(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int InsertYahooUser(const ::AliIMDBBase::SUdbUserInfo&, ::Ice::Int, const ::AliIMDBBase::SICEGenContactFullSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactDetailByUid(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*); - - virtual ::Ice::Int GetChildTeamList(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetChildTeamList2(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq2&, const ::Ice::Context*); - - virtual ::Ice::Int GetChildUserInfo(const ::std::string&, ::AliIMDBBase::SChildUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetChildUserInfo2(const ::std::string&, ::AliIMDBBase::SChildUserInfo2&, const ::Ice::Context*); - - virtual ::Ice::Int GetShareContactList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactShareInfo(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int SetContactShareInfo(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetMultiAccountContactList(const ::std::string&, ::AliIMDBBase::SICEContactInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetMultiServiceList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetMultiBindToUser(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetWebBinds(const ::std::string&, ::AliIMDBBase::SICEKvPairSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddWebBind(const ::std::string&, const ::AliIMDBBase::SICEKvPair&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ChangeWebBind(const ::std::string&, const ::AliIMDBBase::SICEKvPair&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DelWebBind(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getUserSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*); - - virtual ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int removeSession(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateSignature(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateContactClientInfo(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfile(const ::std::string&, ::AliIMDBBase::SICEKVMap&, const ::Ice::Context*); - - virtual ::Ice::Int getPeerVerifyFlag(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getPeerVerifyFlagQuestion(const ::std::string&, const ::std::string&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getNickName(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getFTServiceInfo(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int getTietuServiceInfo(const ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int getFTSAddr(::Ice::Short, const ::std::string&, ::Ice::Long&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int registerWanghao(const ::std::string&, const ::AliIMInterface::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserProfile(const ::std::string&, const ::AliIMInterface::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int loadSitePrefix(::AliIMDBBase::SImPrefixSeq&, const ::Ice::Context*); - - virtual ::Ice::Int updateAepUserId(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateVipflag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int checkWangHaoPwd(const ::std::string&, bool, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int checkCanLogin(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetSIPSessionId(const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckGsContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateSmsAuthCode(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckSmsAuthCode(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserValueBySmsAuth(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckSmsAuthStatus(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserTokenExtra(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserWebPasswdExtra(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getESShuntStatus(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setESShuntStatus(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getMaxESReceptNum(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEReceptNumSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setMaxESReceptNum(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICEReceptNumSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESPriority(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEReceptPrioritySeq&, const ::Ice::Context*); - - virtual ::Ice::Int setESPriority(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICEReceptPrioritySeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESRecvOffMsg(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICERecvOffMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setESRecvOffMsg(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICERecvOffMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESGroupList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int insertESGroupInfo(const ::std::string&, const ::AliIMDBBase::SICEESGroupInfo&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int updateESGroupInfo(const ::std::string&, const ::AliIMDBBase::SICEESGroupInfo&, const ::Ice::Context*); - - virtual ::Ice::Int delESGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int getESGroupInfo(const ::std::string&, ::AliIMDBBase::SICEESGroupInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESGroupInfoByID(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEESGroupInfo&, const ::Ice::Context*); - - virtual ::Ice::Int getESUserFunc(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getESUnJoinGroup(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int checkESRole(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckWebWWPasswd(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getESExpandArea(const ::std::string&, ::AliIMDBBase::SICEExpandAreaSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESExpandAreaById(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*); - - virtual ::Ice::Int addESExpandArea(const ::std::string&, const ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*); - - virtual ::Ice::Int updateESExpandArea(const ::std::string&, const ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*); - - virtual ::Ice::Int delESExpandArea(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int setESEval(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getESEval(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int sendESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int setESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResultToday(const ::std::string&, ::AliIMDBBase::SICEESEvalResultSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResultHistory(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEESEvalResultSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResultHistorybypage(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliIMDBBase::SICEESEvalResultExSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getLastLoginTime(const ::Ice::StringSeq&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getChildShuntInfos(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setChildShuntInfos(const ::std::string&, const ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getAgentChild(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setAgentChild(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getAgentList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getB2BChildTeamList(const ::std::string&, ::AliIMDBBase::SB2BChildUserInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getB2BChildInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SB2BChildUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int getB2BChildParentId(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int addB2BChild(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateB2BChild(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int deleteB2BChild(const ::std::string&, const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIMDBBase -{ - -class IMDBProxyMgr : virtual public ::Ice::Object -{ -public: - - typedef IMDBProxyMgrPrx ProxyType; - typedef IMDBProxyMgrPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual void sayhello_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_sayhelloPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___sayhello(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckUserToken_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserTokenPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUserToken(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckTmpSession_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckTmpSessionPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckTmpSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckUserWebPasswd_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswdPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUserWebPasswd(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckUserPasswd_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserPasswdPtr&, const ::std::string&, bool, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUserPasswd(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckUserWebToken_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebTokenPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUserWebToken(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetAtmLongid_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetAtmLongidPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAtmLongid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddUser60_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddUser60Ptr&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddUser60(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetWebMemberPWInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfoPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetWebMemberPWInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetWebMemberPWInfoEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfoExPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetWebMemberPWInfoEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserWebBasicProfile_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserWebBasicProfilePtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserWebBasicProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckCanAddContact_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckCanAddContactPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckCanAddContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void QueryMatchedUserIds_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_QueryMatchedUserIdsPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___QueryMatchedUserIds(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateContactWebInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactWebInfoPtr&, const ::std::string&, const ::std::string&, const ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactWebInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void DelTaobaoUser_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_DelTaobaoUserPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelTaobaoUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void DelAnyUser_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_DelAnyUserPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelAnyUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddUserKeyWord_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddUserKeyWordPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddUserKeyWord(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserKeyWord_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserKeyWordPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserKeyWord(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserKeyWord_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWordPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserKeyWord(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void QueryUserIdsByKeyWord_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_QueryUserIdsByKeyWordPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___QueryUserIdsByKeyWord(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetBatchMemberInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetBatchMemberInfoPtr&, const ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetBatchMemberInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetAllVersion_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllVersionPtr&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAllVersion(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetAllSysMsg_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllSysMsgPtr&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAllSysMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetAllExSysMsg_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllExSysMsgPtr&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAllExSysMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserInfo2_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2Ptr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserInfo2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserInfoEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserInfoEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserInfoNew_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoNewPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserInfoNew(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserInfo2New_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2NewPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserInfo2New(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserInfoExNew_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNewPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserInfoExNew(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserInfoExNew2_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew2Ptr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserInfoExNew2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserInfoExNew3_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew3Ptr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserInfoExNew3(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserInfoExNew4_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew4Ptr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserInfoExNew4(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserVerifyInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserVerifyInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserVerifyInfoEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoExPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserVerifyInfoEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserVerifyInfoQuestion_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoQuestionPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserVerifyInfoQuestion(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetGroupList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupListPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetGroupList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetGroupListEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupListExPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetGroupListEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetContactList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactListPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetContactList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetBlackList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetBlackListPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetBlackList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetReverseBlackList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetReverseBlackListPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetReverseBlackList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetOfflineMsg_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetOfflineMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetOfflineMsgEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgExPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetOfflineMsgEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetOfflineMsgCount_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgCountPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetOfflineMsgCount(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetEnetOfflineMsgNum_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetEnetOfflineMsgNumPtr&, const ::std::string&, const ::std::string&, const ::Ice::IntSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetEnetOfflineMsgNum(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetContactInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactInfoPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetContactInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetOfflineMsgNum_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgNumPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetOfflineMsgNum(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetToolProfiles_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfilesPtr&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetToolProfiles(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetToolProfilesEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfilesExPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetToolProfilesEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetSysMsg_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetSysMsgPtr&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetSysMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddUser_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddUserPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddGroup_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddGroupPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddGroupEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddGroupExPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddGroupEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddBlackList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddBlackListPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddBlackList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddOfflineMsg_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddOfflineMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddExpriteTimeOfflineMsg_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsgPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddExpriteTimeOfflineMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddOfflineMsgNoSMS_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgNoSMSPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddOfflineMsgNoSMS(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddOfflineMsgEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgExPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Long, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddOfflineMsgEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserLogin_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserLogin(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserLoginEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginExPtr&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserLoginEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserLoginDataInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoPtr&, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserLoginDataInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserLoginDataInfoEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoExPtr&, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserLoginDataInfoEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserSysMsgId_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserSysMsgIdPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserSysMsgId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserDataInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfoPtr&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserDataInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserDataInfo2_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo2Ptr&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserDataInfo2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserDataInfo3_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo3Ptr&, const ::std::string&, const ::AliIMDBBase::RIGHTTABLE&, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserDataInfo3(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserVerifySet_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetPtr&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserVerifySet(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserVerifySetEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetExPtr&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserVerifySetEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserVerifySetQuestion_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetQuestionPtr&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserVerifySetQuestion(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateGroup_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateGroupPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void MoveGroup_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_MoveGroupPtr&, const ::std::string&, ::Ice::Long, ::Ice::Long, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___MoveGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateContactNickName_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickNamePtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactNickName(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateContactGroup_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroupPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateContactStatus_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactStatusPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateNotifyMessage_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateNotifyMessagePtr&, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateNotifyMessage(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateToolProfiles_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfilesPtr&, const ::std::string&, ::Ice::Int, const ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateToolProfiles(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateToolProfilesEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfilesExPtr&, const ::std::string&, const ::AliIMDBBase::SICEToolProfileSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateToolProfilesEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void RemoveGroup_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveGroupPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void RemoveContact_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveContactPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void RemoveInverfiedContact_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveInverfiedContactPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveInverfiedContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void RemoveBlackList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBlackListPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveBlackList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void IsBlackedByOther_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_IsBlackedByOtherPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___IsBlackedByOther(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void RemoveBatchContacts_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBatchContactsPtr&, const ::std::string&, const ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveBatchContacts(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserDStatus_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserDStatusPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserDStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddUserDStatus_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddUserDStatusPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddUserDStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void RemoveUserDStatus_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveUserDStatusPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveUserDStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetAllContactList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllContactListPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAllContactList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetCntModifyList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntModifyListPtr&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetCntModifyList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddGenContactFull_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddGenContactFullPtr&, const ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddGenContactFull(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetContactDetail_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetailPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetContactDetail(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void DelGenContact_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_DelGenContactPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelGenContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddContact_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddContactPtr&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckUpgradeGenCnt_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUpgradeGenCntPtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUpgradeGenCnt(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void ModifyGenCntID_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyGenCntIDPtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ModifyGenCntID(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpgradeGenContact_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpgradeGenContactPtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpgradeGenContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUpdatedUserInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUpdatedUserInfoPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUpdatedUserInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void ModifyContactDetail_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyContactDetailPtr&, const ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ModifyContactDetail(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateContactGroupByCid_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroupByCidPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactGroupByCid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateContactNickNameByCid_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickNameByCidPtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactNickNameByCid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetCRMContactDetail_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetCRMContactDetailPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetCRMContactDetail(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetHardCodeIds_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetHardCodeIdsPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetHardCodeIds(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateHardCodeIds_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateHardCodeIdsPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateHardCodeIds(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetCntOtherModifyList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyListPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetCntOtherModifyList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetCntOtherModifyInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyInfoPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetCntOtherModifyInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserCRInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserCRInfoPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserCRInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void SetUserCRInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_SetUserCRInfoPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___SetUserCRInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetSmsUserInfoByUid_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserInfoByUidPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetSmsUserInfoByUid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetSmsUserMsgInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserMsgInfoPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetSmsUserMsgInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void DelOfflineMsg_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsgPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelOfflineMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void DelOfflineMsgEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsgExPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelOfflineMsgEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void DelWapOfflineMsg_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_DelWapOfflineMsgPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelWapOfflineMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void ModifyCntMemo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyCntMemoPtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ModifyCntMemo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetCntMemo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntMemoPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetCntMemo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserTribe_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribePtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserTribeConfig_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribeConfigPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserTribeConfig(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserTribeConfig_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserTribeConfigPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserTribeConfig(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetTribeOffMngMsg_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetTribeOffMngMsgPtr&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetTribeOffMngMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void DelTribeOffMngMsg_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_DelTribeOffMngMsgPtr&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelTribeOffMngMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void ModifyPersonalShow_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyPersonalShowPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ModifyPersonalShow(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetPersonalShow_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetPersonalShowPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetPersonalShow(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetAllOnlineSmsUser_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllOnlineSmsUserPtr&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAllOnlineSmsUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserKeyWordDegree_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWordDegreePtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserKeyWordDegree(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserValue_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserValuePtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserValue(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserMd5Password_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserMd5PasswordPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserMd5Password(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void InsertYahooUser_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_InsertYahooUserPtr&, const ::AliIMDBBase::SUdbUserInfo&, ::Ice::Int, const ::AliIMDBBase::SICEGenContactFullSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___InsertYahooUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetContactDetailByUid_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetailByUidPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetContactDetailByUid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetChildTeamList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamListPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetChildTeamList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetChildTeamList2_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList2Ptr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetChildTeamList2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetChildUserInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfoPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetChildUserInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetChildUserInfo2_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo2Ptr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetChildUserInfo2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetShareContactList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetShareContactListPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetShareContactList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetContactShareInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactShareInfoPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetContactShareInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void SetContactShareInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_SetContactShareInfoPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___SetContactShareInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetMultiAccountContactList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiAccountContactListPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetMultiAccountContactList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetMultiServiceList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiServiceListPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetMultiServiceList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetMultiBindToUser_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiBindToUserPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetMultiBindToUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetWebBinds_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetWebBindsPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetWebBinds(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddWebBind_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddWebBindPtr&, const ::std::string&, const ::AliIMDBBase::SICEKvPair&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddWebBind(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void ChangeWebBind_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_ChangeWebBindPtr&, const ::std::string&, const ::AliIMDBBase::SICEKvPair&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ChangeWebBind(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void DelWebBind_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_DelWebBindPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelWebBind(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getUserSession_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getUserSessionPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void checkUserSession_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_checkUserSessionPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkUserSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void removeSession_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_removeSessionPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___removeSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateSignature_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSignaturePtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateSignature(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void updateContactClientInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_updateContactClientInfoPtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateContactClientInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getUserProfile_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getUserProfilePtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getPeerVerifyFlag_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlagPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getPeerVerifyFlag(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getPeerVerifyFlagQuestion_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlagQuestionPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getPeerVerifyFlagQuestion(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getNickName_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getNickNamePtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getNickName(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getFTServiceInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getFTServiceInfoPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getFTServiceInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getTietuServiceInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getTietuServiceInfoPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getTietuServiceInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getFTSAddr_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getFTSAddrPtr&, ::Ice::Short, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getFTSAddr(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void registerWanghao_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_registerWanghaoPtr&, const ::std::string&, const ::AliIMInterface::KVMAP&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___registerWanghao(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void updateUserProfile_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_updateUserProfilePtr&, const ::std::string&, const ::AliIMInterface::KVMAP&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void loadSitePrefix_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_loadSitePrefixPtr&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___loadSitePrefix(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void updateAepUserId_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_updateAepUserIdPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateAepUserId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void updateVipflag_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_updateVipflagPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateVipflag(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void checkWangHaoPwd_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_checkWangHaoPwdPtr&, const ::std::string&, bool, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkWangHaoPwd(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void checkCanLogin_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_checkCanLoginPtr&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkCanLogin(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetSIPSessionId_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetSIPSessionIdPtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetSIPSessionId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckGsContact_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckGsContactPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckGsContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateSmsAuthCode_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSmsAuthCodePtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateSmsAuthCode(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckSmsAuthCode_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthCodePtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckSmsAuthCode(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserValueBySmsAuth_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserValueBySmsAuthPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserValueBySmsAuth(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckSmsAuthStatus_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthStatusPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckSmsAuthStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckUserTokenExtra_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserTokenExtraPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUserTokenExtra(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckUserWebPasswdExtra_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswdExtraPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUserWebPasswdExtra(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESShuntStatus_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESShuntStatusPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESShuntStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void setESShuntStatus_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_setESShuntStatusPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setESShuntStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getMaxESReceptNum_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getMaxESReceptNumPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getMaxESReceptNum(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void setMaxESReceptNum_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_setMaxESReceptNumPtr&, const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICEReceptNumSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setMaxESReceptNum(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESPriority_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESPriorityPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESPriority(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void setESPriority_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_setESPriorityPtr&, const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICEReceptPrioritySeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setESPriority(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESRecvOffMsg_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESRecvOffMsgPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESRecvOffMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void setESRecvOffMsg_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_setESRecvOffMsgPtr&, const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICERecvOffMsgSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setESRecvOffMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESGroupList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupListPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESGroupList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void insertESGroupInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_insertESGroupInfoPtr&, const ::std::string&, const ::AliIMDBBase::SICEESGroupInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___insertESGroupInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void updateESGroupInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_updateESGroupInfoPtr&, const ::std::string&, const ::AliIMDBBase::SICEESGroupInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateESGroupInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void delESGroup_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_delESGroupPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___delESGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESGroupInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfoPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESGroupInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESGroupInfoByID_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfoByIDPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESGroupInfoByID(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESUserFunc_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESUserFuncPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESUserFunc(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESUnJoinGroup_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESUnJoinGroupPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESUnJoinGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void checkESRole_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_checkESRolePtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkESRole(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckWebWWPasswd_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckWebWWPasswdPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckWebWWPasswd(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESExpandArea_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandAreaPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESExpandArea(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESExpandAreaById_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandAreaByIdPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESExpandAreaById(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void addESExpandArea_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_addESExpandAreaPtr&, const ::std::string&, const ::AliIMDBBase::SICEExpandArea&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addESExpandArea(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void updateESExpandArea_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_updateESExpandAreaPtr&, const ::std::string&, const ::AliIMDBBase::SICEExpandArea&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateESExpandArea(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void delESExpandArea_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_delESExpandAreaPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___delESExpandArea(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void setESEval_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_setESEvalPtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setESEval(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESEval_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESEval(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void sendESEvalResult_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_sendESEvalResultPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___sendESEvalResult(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void setESEvalResult_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_setESEvalResultPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setESEvalResult(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESEvalResult_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESEvalResult(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESEvalResultToday_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultTodayPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESEvalResultToday(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESEvalResultHistory_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistoryPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESEvalResultHistory(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESEvalResultHistorybypage_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistorybypagePtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESEvalResultHistorybypage(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getLastLoginTime_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getLastLoginTimePtr&, const ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getLastLoginTime(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getChildShuntInfos_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getChildShuntInfosPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getChildShuntInfos(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void setChildShuntInfos_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_setChildShuntInfosPtr&, const ::std::string&, const ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setChildShuntInfos(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getAgentChild_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getAgentChildPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getAgentChild(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void setAgentChild_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_setAgentChildPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setAgentChild(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getAgentList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getAgentListPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getAgentList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getB2BChildTeamList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildTeamListPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getB2BChildTeamList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getB2BChildInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildInfoPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getB2BChildInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getB2BChildParentId_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildParentIdPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getB2BChildParentId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void addB2BChild_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_addB2BChildPtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addB2BChild(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void updateB2BChild_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_updateB2BChildPtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateB2BChild(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void deleteB2BChild_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_deleteB2BChildPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___deleteB2BChild(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IMDBProxyMgrPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/dbsmsservice.h.svn-base b/features/aliww/include/.svn/text-base/dbsmsservice.h.svn-base deleted file mode 100644 index 8406a5d..0000000 --- a/features/aliww/include/.svn/text-base/dbsmsservice.h.svn-base +++ /dev/null @@ -1,1213 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbsmsservice.ice' - -#ifndef __dbsmsservice_h__ -#define __dbsmsservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace ALiIMDBSms -{ - -class SmsDBProxyMgr; -bool operator==(const SmsDBProxyMgr&, const SmsDBProxyMgr&); -bool operator!=(const SmsDBProxyMgr&, const SmsDBProxyMgr&); -bool operator<(const SmsDBProxyMgr&, const SmsDBProxyMgr&); -bool operator<=(const SmsDBProxyMgr&, const SmsDBProxyMgr&); -bool operator>(const SmsDBProxyMgr&, const SmsDBProxyMgr&); -bool operator>=(const SmsDBProxyMgr&, const SmsDBProxyMgr&); - -} - -} - -namespace ALiIMDBSms -{ - -class SmsDBProxyMgr; -bool operator==(const SmsDBProxyMgr&, const SmsDBProxyMgr&); -bool operator!=(const SmsDBProxyMgr&, const SmsDBProxyMgr&); -bool operator<(const SmsDBProxyMgr&, const SmsDBProxyMgr&); -bool operator<=(const SmsDBProxyMgr&, const SmsDBProxyMgr&); -bool operator>(const SmsDBProxyMgr&, const SmsDBProxyMgr&); -bool operator>=(const SmsDBProxyMgr&, const SmsDBProxyMgr&); - -} - -namespace IceInternal -{ - -void incRef(::ALiIMDBSms::SmsDBProxyMgr*); -void decRef(::ALiIMDBSms::SmsDBProxyMgr*); - -void incRef(::IceProxy::ALiIMDBSms::SmsDBProxyMgr*); -void decRef(::IceProxy::ALiIMDBSms::SmsDBProxyMgr*); - -} - -namespace ALiIMDBSms -{ - -typedef ::IceInternal::Handle< ::ALiIMDBSms::SmsDBProxyMgr> SmsDBProxyMgrPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::ALiIMDBSms::SmsDBProxyMgr> SmsDBProxyMgrPrx; - -void __write(::IceInternal::BasicStream*, const SmsDBProxyMgrPrx&); -void __read(::IceInternal::BasicStream*, SmsDBProxyMgrPrx&); -void __write(::IceInternal::BasicStream*, const SmsDBProxyMgrPtr&); -void __patch__SmsDBProxyMgrPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const SmsDBProxyMgrPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const SmsDBProxyMgrPtr&); -void __decRefUnsafe(const SmsDBProxyMgrPtr&); -void __clearHandleUnsafe(SmsDBProxyMgrPtr&); - -} - -namespace ALiIMDBSms -{ - -} - -namespace IceProxy -{ - -namespace ALiIMDBSms -{ - -class SmsDBProxyMgr : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int DBAddValidate(const ::std::string& userId, ::Ice::Int type, const ::std::string& mobileNo, const ::std::string& validateCode) - { - return DBAddValidate(userId, type, mobileNo, validateCode, 0); - } - ::Ice::Int DBAddValidate(const ::std::string& userId, ::Ice::Int type, const ::std::string& mobileNo, const ::std::string& validateCode, const ::Ice::Context& __ctx) - { - return DBAddValidate(userId, type, mobileNo, validateCode, &__ctx); - } - -private: - - ::Ice::Int DBAddValidate(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetValidateInfoWithUpdate(const ::std::string& userId, ::Ice::Int type, ::Ice::Int updateFlag, ::std::string& validateCode, ::std::string& mobileNo, ::Ice::Int& sendTimes, ::Ice::Int& validateTimes) - { - return DBGetValidateInfoWithUpdate(userId, type, updateFlag, validateCode, mobileNo, sendTimes, validateTimes, 0); - } - ::Ice::Int DBGetValidateInfoWithUpdate(const ::std::string& userId, ::Ice::Int type, ::Ice::Int updateFlag, ::std::string& validateCode, ::std::string& mobileNo, ::Ice::Int& sendTimes, ::Ice::Int& validateTimes, const ::Ice::Context& __ctx) - { - return DBGetValidateInfoWithUpdate(userId, type, updateFlag, validateCode, mobileNo, sendTimes, validateTimes, &__ctx); - } - -private: - - ::Ice::Int DBGetValidateInfoWithUpdate(const ::std::string&, ::Ice::Int, ::Ice::Int, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBRemoveValidate(const ::std::string& userId, ::Ice::Int type) - { - return DBRemoveValidate(userId, type, 0); - } - ::Ice::Int DBRemoveValidate(const ::std::string& userId, ::Ice::Int type, const ::Ice::Context& __ctx) - { - return DBRemoveValidate(userId, type, &__ctx); - } - -private: - - ::Ice::Int DBRemoveValidate(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateValidateMobile(const ::std::string& userId, ::Ice::Int type, const ::std::string& mobileNo, const ::std::string& validatecode) - { - return DBUpdateValidateMobile(userId, type, mobileNo, validatecode, 0); - } - ::Ice::Int DBUpdateValidateMobile(const ::std::string& userId, ::Ice::Int type, const ::std::string& mobileNo, const ::std::string& validatecode, const ::Ice::Context& __ctx) - { - return DBUpdateValidateMobile(userId, type, mobileNo, validatecode, &__ctx); - } - -private: - - ::Ice::Int DBUpdateValidateMobile(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddSmsUser(const ::std::string& userId, const ::std::string& mobileNo, ::std::string& account) - { - return DBAddSmsUser(userId, mobileNo, account, 0); - } - ::Ice::Int DBAddSmsUser(const ::std::string& userId, const ::std::string& mobileNo, ::std::string& account, const ::Ice::Context& __ctx) - { - return DBAddSmsUser(userId, mobileNo, account, &__ctx); - } - -private: - - ::Ice::Int DBAddSmsUser(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBBindMobile(const ::std::string& userId, const ::std::string& mobileNo, ::Ice::Int balance) - { - return DBBindMobile(userId, mobileNo, balance, 0); - } - ::Ice::Int DBBindMobile(const ::std::string& userId, const ::std::string& mobileNo, ::Ice::Int balance, const ::Ice::Context& __ctx) - { - return DBBindMobile(userId, mobileNo, balance, &__ctx); - } - -private: - - ::Ice::Int DBBindMobile(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsUserInfoByUid(const ::std::string& userId, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo) - { - return DBGetSmsUserInfoByUid(userId, smsUserInfo, 0); - } - ::Ice::Int DBGetSmsUserInfoByUid(const ::std::string& userId, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo, const ::Ice::Context& __ctx) - { - return DBGetSmsUserInfoByUid(userId, smsUserInfo, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsUserInfoByUid(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsUserInfoByAccount(const ::std::string& account, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo) - { - return DBGetSmsUserInfoByAccount(account, smsUserInfo, 0); - } - ::Ice::Int DBGetSmsUserInfoByAccount(const ::std::string& account, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo, const ::Ice::Context& __ctx) - { - return DBGetSmsUserInfoByAccount(account, smsUserInfo, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsUserInfoByAccount(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsUserInfoByMobile(const ::std::string& mobileNo, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo) - { - return DBGetSmsUserInfoByMobile(mobileNo, smsUserInfo, 0); - } - ::Ice::Int DBGetSmsUserInfoByMobile(const ::std::string& mobileNo, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo, const ::Ice::Context& __ctx) - { - return DBGetSmsUserInfoByMobile(mobileNo, smsUserInfo, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsUserInfoByMobile(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsUserMsgInfo(const ::std::string& userId, ::Ice::Int& todaySmsCount, ::Ice::Int& yesterdaySmsCount) - { - return DBGetSmsUserMsgInfo(userId, todaySmsCount, yesterdaySmsCount, 0); - } - ::Ice::Int DBGetSmsUserMsgInfo(const ::std::string& userId, ::Ice::Int& todaySmsCount, ::Ice::Int& yesterdaySmsCount, const ::Ice::Context& __ctx) - { - return DBGetSmsUserMsgInfo(userId, todaySmsCount, yesterdaySmsCount, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsUserMsgInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddSmsFunctionLog(const ::std::string& userId, ::Ice::Int functionType, ::Ice::Int action, const ::std::string& mobileNo, ::Ice::Int status, ::Ice::Int fromType, const ::std::string& errorDesc) - { - return DBAddSmsFunctionLog(userId, functionType, action, mobileNo, status, fromType, errorDesc, 0); - } - ::Ice::Int DBAddSmsFunctionLog(const ::std::string& userId, ::Ice::Int functionType, ::Ice::Int action, const ::std::string& mobileNo, ::Ice::Int status, ::Ice::Int fromType, const ::std::string& errorDesc, const ::Ice::Context& __ctx) - { - return DBAddSmsFunctionLog(userId, functionType, action, mobileNo, status, fromType, errorDesc, &__ctx); - } - -private: - - ::Ice::Int DBAddSmsFunctionLog(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBSetMobileOnlineFlag(const ::std::string& userId, ::Ice::Int onlineFlag) - { - return DBSetMobileOnlineFlag(userId, onlineFlag, 0); - } - ::Ice::Int DBSetMobileOnlineFlag(const ::std::string& userId, ::Ice::Int onlineFlag, const ::Ice::Context& __ctx) - { - return DBSetMobileOnlineFlag(userId, onlineFlag, &__ctx); - } - -private: - - ::Ice::Int DBSetMobileOnlineFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBSetMobileBindFlag(const ::std::string& userId, ::Ice::Int bindFlag) - { - return DBSetMobileBindFlag(userId, bindFlag, 0); - } - ::Ice::Int DBSetMobileBindFlag(const ::std::string& userId, ::Ice::Int bindFlag, const ::Ice::Context& __ctx) - { - return DBSetMobileBindFlag(userId, bindFlag, &__ctx); - } - -private: - - ::Ice::Int DBSetMobileBindFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBSetMessageRevFlag(const ::std::string& userId, ::Ice::Int revFlag) - { - return DBSetMessageRevFlag(userId, revFlag, 0); - } - ::Ice::Int DBSetMessageRevFlag(const ::std::string& userId, ::Ice::Int revFlag, const ::Ice::Context& __ctx) - { - return DBSetMessageRevFlag(userId, revFlag, &__ctx); - } - -private: - - ::Ice::Int DBSetMessageRevFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBSetSmsRebind(const ::std::string& userId, const ::std::string& mobileNo) - { - return DBSetSmsRebind(userId, mobileNo, 0); - } - ::Ice::Int DBSetSmsRebind(const ::std::string& userId, const ::std::string& mobileNo, const ::Ice::Context& __ctx) - { - return DBSetSmsRebind(userId, mobileNo, &__ctx); - } - -private: - - ::Ice::Int DBSetSmsRebind(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddSmsMessage(const ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, ::std::string& msgId) - { - return DBAddSmsMessage(smsMsgInfo, msgId, 0); - } - ::Ice::Int DBAddSmsMessage(const ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, ::std::string& msgId, const ::Ice::Context& __ctx) - { - return DBAddSmsMessage(smsMsgInfo, msgId, &__ctx); - } - -private: - - ::Ice::Int DBAddSmsMessage(const ::ALiIMDBSms::SSmsMsgInfo&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsMessage(const ::std::string& msgId, ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo) - { - return DBGetSmsMessage(msgId, smsMsgInfo, 0); - } - ::Ice::Int DBGetSmsMessage(const ::std::string& msgId, ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, const ::Ice::Context& __ctx) - { - return DBGetSmsMessage(msgId, smsMsgInfo, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsMessage(const ::std::string&, ::ALiIMDBSms::SSmsMsgInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsMessage2(const ::std::string& transId, ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo) - { - return DBGetSmsMessage2(transId, smsMsgInfo, 0); - } - ::Ice::Int DBGetSmsMessage2(const ::std::string& transId, ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, const ::Ice::Context& __ctx) - { - return DBGetSmsMessage2(transId, smsMsgInfo, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsMessage2(const ::std::string&, ::ALiIMDBSms::SSmsMsgInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateSmsMsgStatus(const ::std::string& msgId, ::Ice::Int status, const ::std::string& errorDesc) - { - return DBUpdateSmsMsgStatus(msgId, status, errorDesc, 0); - } - ::Ice::Int DBUpdateSmsMsgStatus(const ::std::string& msgId, ::Ice::Int status, const ::std::string& errorDesc, const ::Ice::Context& __ctx) - { - return DBUpdateSmsMsgStatus(msgId, status, errorDesc, &__ctx); - } - -private: - - ::Ice::Int DBUpdateSmsMsgStatus(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateSmsMsgStatus2(const ::std::string& transId, ::Ice::Int status, const ::std::string& errorDesc) - { - return DBUpdateSmsMsgStatus2(transId, status, errorDesc, 0); - } - ::Ice::Int DBUpdateSmsMsgStatus2(const ::std::string& transId, ::Ice::Int status, const ::std::string& errorDesc, const ::Ice::Context& __ctx) - { - return DBUpdateSmsMsgStatus2(transId, status, errorDesc, &__ctx); - } - -private: - - ::Ice::Int DBUpdateSmsMsgStatus2(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsMailing(const ::std::string& userId, ::Ice::Int& flag, ::std::string& address) - { - return DBGetSmsMailing(userId, flag, address, 0); - } - ::Ice::Int DBGetSmsMailing(const ::std::string& userId, ::Ice::Int& flag, ::std::string& address, const ::Ice::Context& __ctx) - { - return DBGetSmsMailing(userId, flag, address, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsMailing(const ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateSmsMailing(const ::std::string& userId, ::Ice::Int flag, const ::std::string& address) - { - return DBUpdateSmsMailing(userId, flag, address, 0); - } - ::Ice::Int DBUpdateSmsMailing(const ::std::string& userId, ::Ice::Int flag, const ::std::string& address, const ::Ice::Context& __ctx) - { - return DBUpdateSmsMailing(userId, flag, address, &__ctx); - } - -private: - - ::Ice::Int DBUpdateSmsMailing(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsDiscount(const ::std::string& userId, ::Ice::Float& discount) - { - return DBGetSmsDiscount(userId, discount, 0); - } - ::Ice::Int DBGetSmsDiscount(const ::std::string& userId, ::Ice::Float& discount, const ::Ice::Context& __ctx) - { - return DBGetSmsDiscount(userId, discount, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsDiscount(const ::std::string&, ::Ice::Float&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsNeedChargeRecord(::Ice::Int inmins, ::Ice::Int type, ::std::string& seqid, ::std::string& account, ::std::string& passwd, ::Ice::Int& denomination, ::std::string& uid, ::Ice::Int& trytime, ::std::string& payId) - { - return DBGetSmsNeedChargeRecord(inmins, type, seqid, account, passwd, denomination, uid, trytime, payId, 0); - } - ::Ice::Int DBGetSmsNeedChargeRecord(::Ice::Int inmins, ::Ice::Int type, ::std::string& seqid, ::std::string& account, ::std::string& passwd, ::Ice::Int& denomination, ::std::string& uid, ::Ice::Int& trytime, ::std::string& payId, const ::Ice::Context& __ctx) - { - return DBGetSmsNeedChargeRecord(inmins, type, seqid, account, passwd, denomination, uid, trytime, payId, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsNeedChargeRecord(::Ice::Int, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsChargeRecordInfo(const ::std::string& seqid, ::std::string& account, ::std::string& passwd, ::Ice::Int& denomination, ::std::string& uid, ::Ice::Int& status) - { - return DBGetSmsChargeRecordInfo(seqid, account, passwd, denomination, uid, status, 0); - } - ::Ice::Int DBGetSmsChargeRecordInfo(const ::std::string& seqid, ::std::string& account, ::std::string& passwd, ::Ice::Int& denomination, ::std::string& uid, ::Ice::Int& status, const ::Ice::Context& __ctx) - { - return DBGetSmsChargeRecordInfo(seqid, account, passwd, denomination, uid, status, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsChargeRecordInfo(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsChargeRecords(const ::std::string& uid, const ::std::string& beginTime, const ::std::string& endTime, ::ALiIMDBSms::SChargeInfoSeq& chargeRecordList) - { - return DBGetSmsChargeRecords(uid, beginTime, endTime, chargeRecordList, 0); - } - ::Ice::Int DBGetSmsChargeRecords(const ::std::string& uid, const ::std::string& beginTime, const ::std::string& endTime, ::ALiIMDBSms::SChargeInfoSeq& chargeRecordList, const ::Ice::Context& __ctx) - { - return DBGetSmsChargeRecords(uid, beginTime, endTime, chargeRecordList, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsChargeRecords(const ::std::string&, const ::std::string&, const ::std::string&, ::ALiIMDBSms::SChargeInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddSmsChargeRecord(const ::std::string& userId, ::Ice::Int type, const ::std::string& account, const ::std::string& password, ::Ice::Int denomination, ::Ice::Int money, const ::std::string& payId, ::std::string& chargeId) - { - return DBAddSmsChargeRecord(userId, type, account, password, denomination, money, payId, chargeId, 0); - } - ::Ice::Int DBAddSmsChargeRecord(const ::std::string& userId, ::Ice::Int type, const ::std::string& account, const ::std::string& password, ::Ice::Int denomination, ::Ice::Int money, const ::std::string& payId, ::std::string& chargeId, const ::Ice::Context& __ctx) - { - return DBAddSmsChargeRecord(userId, type, account, password, denomination, money, payId, chargeId, &__ctx); - } - -private: - - ::Ice::Int DBAddSmsChargeRecord(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateSmsChargeRecordStatus(const ::std::string& seqId, ::Ice::Int status, const ::std::string& desc) - { - return DBUpdateSmsChargeRecordStatus(seqId, status, desc, 0); - } - ::Ice::Int DBUpdateSmsChargeRecordStatus(const ::std::string& seqId, ::Ice::Int status, const ::std::string& desc, const ::Ice::Context& __ctx) - { - return DBUpdateSmsChargeRecordStatus(seqId, status, desc, &__ctx); - } - -private: - - ::Ice::Int DBUpdateSmsChargeRecordStatus(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsBlacks(const ::std::string& mobileNo, ::Ice::StringSeq& blackNoList) - { - return DBGetSmsBlacks(mobileNo, blackNoList, 0); - } - ::Ice::Int DBGetSmsBlacks(const ::std::string& mobileNo, ::Ice::StringSeq& blackNoList, const ::Ice::Context& __ctx) - { - return DBGetSmsBlacks(mobileNo, blackNoList, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsBlacks(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddSmsBlack(const ::std::string& mobileNo, const ::std::string& blackNo) - { - return DBAddSmsBlack(mobileNo, blackNo, 0); - } - ::Ice::Int DBAddSmsBlack(const ::std::string& mobileNo, const ::std::string& blackNo, const ::Ice::Context& __ctx) - { - return DBAddSmsBlack(mobileNo, blackNo, &__ctx); - } - -private: - - ::Ice::Int DBAddSmsBlack(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBCheckSmsBlack(const ::std::string& fromMobile, const ::std::string& toMobile, ::Ice::Int& blackFlag) - { - return DBCheckSmsBlack(fromMobile, toMobile, blackFlag, 0); - } - ::Ice::Int DBCheckSmsBlack(const ::std::string& fromMobile, const ::std::string& toMobile, ::Ice::Int& blackFlag, const ::Ice::Context& __ctx) - { - return DBCheckSmsBlack(fromMobile, toMobile, blackFlag, &__ctx); - } - -private: - - ::Ice::Int DBCheckSmsBlack(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBDelSmsBlack(const ::std::string& mobileNo, const ::std::string& blackNo, const ::std::string& userId) - { - return DBDelSmsBlack(mobileNo, blackNo, userId, 0); - } - ::Ice::Int DBDelSmsBlack(const ::std::string& mobileNo, const ::std::string& blackNo, const ::std::string& userId, const ::Ice::Context& __ctx) - { - return DBDelSmsBlack(mobileNo, blackNo, userId, &__ctx); - } - -private: - - ::Ice::Int DBDelSmsBlack(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetRemindTime(const ::std::string& mobileNo, ::std::string& remindTime) - { - return DBGetRemindTime(mobileNo, remindTime, 0); - } - ::Ice::Int DBGetRemindTime(const ::std::string& mobileNo, ::std::string& remindTime, const ::Ice::Context& __ctx) - { - return DBGetRemindTime(mobileNo, remindTime, &__ctx); - } - -private: - - ::Ice::Int DBGetRemindTime(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateRemindTime(const ::std::string& mobileNo, const ::std::string& remindTime) - { - return DBUpdateRemindTime(mobileNo, remindTime, 0); - } - ::Ice::Int DBUpdateRemindTime(const ::std::string& mobileNo, const ::std::string& remindTime, const ::Ice::Context& __ctx) - { - return DBUpdateRemindTime(mobileNo, remindTime, &__ctx); - } - -private: - - ::Ice::Int DBUpdateRemindTime(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetAllMsgRevUser(::ALiIMDBSms::SSmsRevUserSeq& smsRevUserList) - { - return DBGetAllMsgRevUser(smsRevUserList, 0); - } - ::Ice::Int DBGetAllMsgRevUser(::ALiIMDBSms::SSmsRevUserSeq& smsRevUserList, const ::Ice::Context& __ctx) - { - return DBGetAllMsgRevUser(smsRevUserList, &__ctx); - } - -private: - - ::Ice::Int DBGetAllMsgRevUser(::ALiIMDBSms::SSmsRevUserSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsTempUsers(::ALiIMDBSms::SSmsTempUserSeq& smsTempUserList) - { - return DBGetSmsTempUsers(smsTempUserList, 0); - } - ::Ice::Int DBGetSmsTempUsers(::ALiIMDBSms::SSmsTempUserSeq& smsTempUserList, const ::Ice::Context& __ctx) - { - return DBGetSmsTempUsers(smsTempUserList, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsTempUsers(::ALiIMDBSms::SSmsTempUserSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddSmsTempUser(const ::ALiIMDBSms::SSmsTempUser& smsTempUser) - { - return DBAddSmsTempUser(smsTempUser, 0); - } - ::Ice::Int DBAddSmsTempUser(const ::ALiIMDBSms::SSmsTempUser& smsTempUser, const ::Ice::Context& __ctx) - { - return DBAddSmsTempUser(smsTempUser, &__ctx); - } - -private: - - ::Ice::Int DBAddSmsTempUser(const ::ALiIMDBSms::SSmsTempUser&, const ::Ice::Context*); - -public: - - ::Ice::Int DBDelSmsTempUser(const ::std::string& account) - { - return DBDelSmsTempUser(account, 0); - } - ::Ice::Int DBDelSmsTempUser(const ::std::string& account, const ::Ice::Context& __ctx) - { - return DBDelSmsTempUser(account, &__ctx); - } - -private: - - ::Ice::Int DBDelSmsTempUser(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetUserBaseInfo(const ::std::string& userId, ::ALiIMDBSms::SUserBaseInfo& userInfo) - { - return DBGetUserBaseInfo(userId, userInfo, 0); - } - ::Ice::Int DBGetUserBaseInfo(const ::std::string& userId, ::ALiIMDBSms::SUserBaseInfo& userInfo, const ::Ice::Context& __ctx) - { - return DBGetUserBaseInfo(userId, userInfo, &__ctx); - } - -private: - - ::Ice::Int DBGetUserBaseInfo(const ::std::string&, ::ALiIMDBSms::SUserBaseInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsUserBalance(const ::std::string& userId, ::ALiIMDBSms::SSmsUserBalance& balanceInfo) - { - return DBGetSmsUserBalance(userId, balanceInfo, 0); - } - ::Ice::Int DBGetSmsUserBalance(const ::std::string& userId, ::ALiIMDBSms::SSmsUserBalance& balanceInfo, const ::Ice::Context& __ctx) - { - return DBGetSmsUserBalance(userId, balanceInfo, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsUserBalance(const ::std::string&, ::ALiIMDBSms::SSmsUserBalance&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdatePresentRemindFlag(const ::std::string& userId, ::Ice::Int flag) - { - return DBUpdatePresentRemindFlag(userId, flag, 0); - } - ::Ice::Int DBUpdatePresentRemindFlag(const ::std::string& userId, ::Ice::Int flag, const ::Ice::Context& __ctx) - { - return DBUpdatePresentRemindFlag(userId, flag, &__ctx); - } - -private: - - ::Ice::Int DBUpdatePresentRemindFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBFeedBack(const ::std::string& beginTime, const ::std::string& endTime, ::Ice::Int& feeNum, ::Ice::Int& presentNum) - { - return DBFeedBack(beginTime, endTime, feeNum, presentNum, 0); - } - ::Ice::Int DBFeedBack(const ::std::string& beginTime, const ::std::string& endTime, ::Ice::Int& feeNum, ::Ice::Int& presentNum, const ::Ice::Context& __ctx) - { - return DBFeedBack(beginTime, endTime, feeNum, presentNum, &__ctx); - } - -private: - - ::Ice::Int DBFeedBack(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace ALiIMDBSms -{ - -class SmsDBProxyMgr : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int DBAddValidate(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetValidateInfoWithUpdate(const ::std::string&, ::Ice::Int, ::Ice::Int, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBRemoveValidate(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateValidateMobile(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddSmsUser(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBBindMobile(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsUserInfoByUid(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsUserInfoByAccount(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsUserInfoByMobile(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsUserMsgInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddSmsFunctionLog(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBSetMobileOnlineFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBSetMobileBindFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBSetMessageRevFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBSetSmsRebind(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddSmsMessage(const ::ALiIMDBSms::SSmsMsgInfo&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsMessage(const ::std::string&, ::ALiIMDBSms::SSmsMsgInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsMessage2(const ::std::string&, ::ALiIMDBSms::SSmsMsgInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateSmsMsgStatus(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateSmsMsgStatus2(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsMailing(const ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateSmsMailing(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsDiscount(const ::std::string&, ::Ice::Float&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsNeedChargeRecord(::Ice::Int, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsChargeRecordInfo(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsChargeRecords(const ::std::string&, const ::std::string&, const ::std::string&, ::ALiIMDBSms::SChargeInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddSmsChargeRecord(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateSmsChargeRecordStatus(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsBlacks(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddSmsBlack(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBCheckSmsBlack(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBDelSmsBlack(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetRemindTime(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateRemindTime(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetAllMsgRevUser(::ALiIMDBSms::SSmsRevUserSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsTempUsers(::ALiIMDBSms::SSmsTempUserSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddSmsTempUser(const ::ALiIMDBSms::SSmsTempUser&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBDelSmsTempUser(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetUserBaseInfo(const ::std::string&, ::ALiIMDBSms::SUserBaseInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsUserBalance(const ::std::string&, ::ALiIMDBSms::SSmsUserBalance&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdatePresentRemindFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBFeedBack(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace ALiIMDBSms -{ - -class SmsDBProxyMgr : virtual public ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int DBAddValidate(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetValidateInfoWithUpdate(const ::std::string&, ::Ice::Int, ::Ice::Int, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBRemoveValidate(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateValidateMobile(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddSmsUser(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBBindMobile(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsUserInfoByUid(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsUserInfoByAccount(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsUserInfoByMobile(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsUserMsgInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddSmsFunctionLog(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBSetMobileOnlineFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBSetMobileBindFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBSetMessageRevFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBSetSmsRebind(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddSmsMessage(const ::ALiIMDBSms::SSmsMsgInfo&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsMessage(const ::std::string&, ::ALiIMDBSms::SSmsMsgInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsMessage2(const ::std::string&, ::ALiIMDBSms::SSmsMsgInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateSmsMsgStatus(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateSmsMsgStatus2(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsMailing(const ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateSmsMailing(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsDiscount(const ::std::string&, ::Ice::Float&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsNeedChargeRecord(::Ice::Int, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsChargeRecordInfo(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsChargeRecords(const ::std::string&, const ::std::string&, const ::std::string&, ::ALiIMDBSms::SChargeInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddSmsChargeRecord(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateSmsChargeRecordStatus(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsBlacks(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddSmsBlack(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBCheckSmsBlack(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelSmsBlack(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetRemindTime(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateRemindTime(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetAllMsgRevUser(::ALiIMDBSms::SSmsRevUserSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsTempUsers(::ALiIMDBSms::SSmsTempUserSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddSmsTempUser(const ::ALiIMDBSms::SSmsTempUser&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelSmsTempUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserBaseInfo(const ::std::string&, ::ALiIMDBSms::SUserBaseInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsUserBalance(const ::std::string&, ::ALiIMDBSms::SSmsUserBalance&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdatePresentRemindFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBFeedBack(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace ALiIMDBSms -{ - -class SmsDBProxyMgr : virtual public ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int DBAddValidate(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetValidateInfoWithUpdate(const ::std::string&, ::Ice::Int, ::Ice::Int, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBRemoveValidate(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateValidateMobile(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddSmsUser(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBBindMobile(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsUserInfoByUid(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsUserInfoByAccount(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsUserInfoByMobile(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsUserMsgInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddSmsFunctionLog(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBSetMobileOnlineFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBSetMobileBindFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBSetMessageRevFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBSetSmsRebind(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddSmsMessage(const ::ALiIMDBSms::SSmsMsgInfo&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsMessage(const ::std::string&, ::ALiIMDBSms::SSmsMsgInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsMessage2(const ::std::string&, ::ALiIMDBSms::SSmsMsgInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateSmsMsgStatus(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateSmsMsgStatus2(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsMailing(const ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateSmsMailing(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsDiscount(const ::std::string&, ::Ice::Float&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsNeedChargeRecord(::Ice::Int, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsChargeRecordInfo(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsChargeRecords(const ::std::string&, const ::std::string&, const ::std::string&, ::ALiIMDBSms::SChargeInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddSmsChargeRecord(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateSmsChargeRecordStatus(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsBlacks(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddSmsBlack(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBCheckSmsBlack(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelSmsBlack(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetRemindTime(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateRemindTime(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetAllMsgRevUser(::ALiIMDBSms::SSmsRevUserSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsTempUsers(::ALiIMDBSms::SSmsTempUserSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddSmsTempUser(const ::ALiIMDBSms::SSmsTempUser&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelSmsTempUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserBaseInfo(const ::std::string&, ::ALiIMDBSms::SUserBaseInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsUserBalance(const ::std::string&, ::ALiIMDBSms::SSmsUserBalance&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdatePresentRemindFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBFeedBack(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); -}; - -} - -} - -namespace ALiIMDBSms -{ - -class SmsDBProxyMgr : virtual public ::Ice::Object -{ -public: - - typedef SmsDBProxyMgrPrx ProxyType; - typedef SmsDBProxyMgrPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int DBAddValidate(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddValidate(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetValidateInfoWithUpdate(const ::std::string&, ::Ice::Int, ::Ice::Int, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetValidateInfoWithUpdate(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBRemoveValidate(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBRemoveValidate(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateValidateMobile(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateValidateMobile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddSmsUser(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddSmsUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBBindMobile(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBBindMobile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsUserInfoByUid(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsUserInfoByUid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsUserInfoByAccount(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsUserInfoByAccount(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsUserInfoByMobile(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsUserInfoByMobile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsUserMsgInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsUserMsgInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddSmsFunctionLog(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddSmsFunctionLog(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBSetMobileOnlineFlag(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBSetMobileOnlineFlag(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBSetMobileBindFlag(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBSetMobileBindFlag(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBSetMessageRevFlag(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBSetMessageRevFlag(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBSetSmsRebind(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBSetSmsRebind(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddSmsMessage(const ::ALiIMDBSms::SSmsMsgInfo&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddSmsMessage(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsMessage(const ::std::string&, ::ALiIMDBSms::SSmsMsgInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsMessage(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsMessage2(const ::std::string&, ::ALiIMDBSms::SSmsMsgInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsMessage2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateSmsMsgStatus(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateSmsMsgStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateSmsMsgStatus2(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateSmsMsgStatus2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsMailing(const ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsMailing(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateSmsMailing(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateSmsMailing(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsDiscount(const ::std::string&, ::Ice::Float&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsDiscount(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsNeedChargeRecord(::Ice::Int, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsNeedChargeRecord(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsChargeRecordInfo(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsChargeRecordInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsChargeRecords(const ::std::string&, const ::std::string&, const ::std::string&, ::ALiIMDBSms::SChargeInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsChargeRecords(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddSmsChargeRecord(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddSmsChargeRecord(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateSmsChargeRecordStatus(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateSmsChargeRecordStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsBlacks(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsBlacks(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddSmsBlack(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddSmsBlack(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBCheckSmsBlack(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBCheckSmsBlack(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBDelSmsBlack(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBDelSmsBlack(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetRemindTime(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetRemindTime(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateRemindTime(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateRemindTime(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetAllMsgRevUser(::ALiIMDBSms::SSmsRevUserSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetAllMsgRevUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsTempUsers(::ALiIMDBSms::SSmsTempUserSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsTempUsers(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddSmsTempUser(const ::ALiIMDBSms::SSmsTempUser&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddSmsTempUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBDelSmsTempUser(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBDelSmsTempUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetUserBaseInfo(const ::std::string&, ::ALiIMDBSms::SUserBaseInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetUserBaseInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsUserBalance(const ::std::string&, ::ALiIMDBSms::SSmsUserBalance&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsUserBalance(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdatePresentRemindFlag(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdatePresentRemindFlag(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBFeedBack(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBFeedBack(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__SmsDBProxyMgrPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/dbsmsstructs.h.svn-base b/features/aliww/include/.svn/text-base/dbsmsstructs.h.svn-base deleted file mode 100644 index 9cc0585..0000000 --- a/features/aliww/include/.svn/text-base/dbsmsstructs.h.svn-base +++ /dev/null @@ -1,257 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbsmsstructs.ice' - -#ifndef __dbsmsstructs_h__ -#define __dbsmsstructs_h__ - -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace ALiIMDBSms -{ - -struct SSmsUserInfo -{ - ::std::string userId; - ::Ice::Int bindFlag; - ::Ice::Int mobileOnlineFlag; - ::Ice::Int revFlag; - ::std::string account; - ::std::string password; - ::std::string mobileNo; - ::Ice::Int balance; - - bool operator==(const SSmsUserInfo&) const; - bool operator!=(const SSmsUserInfo&) const; - bool operator<(const SSmsUserInfo&) const; - bool operator<=(const SSmsUserInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SSmsUserInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SSmsUserInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SSmsMsgInfo -{ - ::std::string msgId; - ::Ice::Int inoutType; - ::Ice::Int infoType; - ::Ice::Int payType; - ::std::string fromId; - ::std::string fromMobile; - ::std::string toId; - ::std::string toMobile; - ::std::string content; - ::Ice::Int status; - ::std::string errorDesc; - ::std::string transId; - ::std::string sendTime; - - bool operator==(const SSmsMsgInfo&) const; - bool operator!=(const SSmsMsgInfo&) const; - bool operator<(const SSmsMsgInfo&) const; - bool operator<=(const SSmsMsgInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SSmsMsgInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SSmsMsgInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SChargeInfo -{ - ::std::string chargeSeqId; - ::std::string paySeqId; - ::std::string chargeBeginTime; - ::Ice::Int denomination; - ::Ice::Int payRealMoney; - ::Ice::Int chargeStatus; - ::Ice::Int payStatus; - - bool operator==(const SChargeInfo&) const; - bool operator!=(const SChargeInfo&) const; - bool operator<(const SChargeInfo&) const; - bool operator<=(const SChargeInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SChargeInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SChargeInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SSmsTempUser -{ - ::std::string account; - ::std::string password; - ::std::string userId; - ::std::string addTime; - - bool operator==(const SSmsTempUser&) const; - bool operator!=(const SSmsTempUser&) const; - bool operator<(const SSmsTempUser&) const; - bool operator<=(const SSmsTempUser& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SSmsTempUser& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SSmsTempUser& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SUserBaseInfo -{ - ::std::string userId; - ::std::string userName; - ::std::string email; - ::std::string company; - ::std::string jobtitle; - ::std::string address; - - bool operator==(const SUserBaseInfo&) const; - bool operator!=(const SUserBaseInfo&) const; - bool operator<(const SUserBaseInfo&) const; - bool operator<=(const SUserBaseInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SUserBaseInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SUserBaseInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SSmsUserBalance -{ - ::std::string userId; - ::Ice::Int balance; - ::Ice::Int presentBalance; - ::std::string presentExpireTime; - ::Ice::Int presentRemindFlag; - - bool operator==(const SSmsUserBalance&) const; - bool operator!=(const SSmsUserBalance&) const; - bool operator<(const SSmsUserBalance&) const; - bool operator<=(const SSmsUserBalance& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SSmsUserBalance& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SSmsUserBalance& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::ALiIMDBSms::SSmsUserInfo> SSmsUserInfoSeq; - -class __U__SSmsUserInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBSms::SSmsUserInfo*, const ::ALiIMDBSms::SSmsUserInfo*, __U__SSmsUserInfoSeq); -void __read(::IceInternal::BasicStream*, SSmsUserInfoSeq&, __U__SSmsUserInfoSeq); - -typedef ::std::vector< ::ALiIMDBSms::SSmsMsgInfo> SSmsMsgInfoSeq; - -class __U__SSmsMsgInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBSms::SSmsMsgInfo*, const ::ALiIMDBSms::SSmsMsgInfo*, __U__SSmsMsgInfoSeq); -void __read(::IceInternal::BasicStream*, SSmsMsgInfoSeq&, __U__SSmsMsgInfoSeq); - -typedef ::std::vector< ::ALiIMDBSms::SChargeInfo> SChargeInfoSeq; - -class __U__SChargeInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBSms::SChargeInfo*, const ::ALiIMDBSms::SChargeInfo*, __U__SChargeInfoSeq); -void __read(::IceInternal::BasicStream*, SChargeInfoSeq&, __U__SChargeInfoSeq); - -typedef ::std::vector< ::ALiIMDBSms::SSmsTempUser> SSmsTempUserSeq; - -class __U__SSmsTempUserSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBSms::SSmsTempUser*, const ::ALiIMDBSms::SSmsTempUser*, __U__SSmsTempUserSeq); -void __read(::IceInternal::BasicStream*, SSmsTempUserSeq&, __U__SSmsTempUserSeq); - -typedef ::std::vector< ::ALiIMDBSms::SSmsUserBalance> SSmsUserBalanceSeq; - -class __U__SSmsUserBalanceSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBSms::SSmsUserBalance*, const ::ALiIMDBSms::SSmsUserBalance*, __U__SSmsUserBalanceSeq); -void __read(::IceInternal::BasicStream*, SSmsUserBalanceSeq&, __U__SSmsUserBalanceSeq); - -typedef ::std::vector< ::std::string> SSmsRevUserSeq; - -class __U__SSmsRevUserSeq { }; - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/dbspacedatadefine.h.svn-base b/features/aliww/include/.svn/text-base/dbspacedatadefine.h.svn-base deleted file mode 100644 index b3b7096..0000000 --- a/features/aliww/include/.svn/text-base/dbspacedatadefine.h.svn-base +++ /dev/null @@ -1,112 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbspacedatadefine.ice' - -#ifndef __dbspacedatadefine_h__ -#define __dbspacedatadefine_h__ - -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace spaceContact -{ - -struct SICESpaceContactInfo -{ - ::std::string contactId; - ::Ice::Int groupId; - ::std::string nickName; - ::Ice::Int status; - ::std::string spaceCreateTime; - ::std::string cid; - ::Ice::Short spacecnttype; - ::std::string modseqid; - - bool operator==(const SICESpaceContactInfo&) const; - bool operator!=(const SICESpaceContactInfo&) const; - bool operator<(const SICESpaceContactInfo&) const; - bool operator<=(const SICESpaceContactInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICESpaceContactInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICESpaceContactInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICESpaceGroupInfo -{ - ::Ice::Long groupId; - ::Ice::Long parentId; - ::std::string groupName; - ::Ice::Int cntNum; - - bool operator==(const SICESpaceGroupInfo&) const; - bool operator!=(const SICESpaceGroupInfo&) const; - bool operator<(const SICESpaceGroupInfo&) const; - bool operator<=(const SICESpaceGroupInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICESpaceGroupInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICESpaceGroupInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::spaceContact::SICESpaceGroupInfo> SICESpaceGroupInfoSeq; - -class __U__SICESpaceGroupInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::spaceContact::SICESpaceGroupInfo*, const ::spaceContact::SICESpaceGroupInfo*, __U__SICESpaceGroupInfoSeq); -void __read(::IceInternal::BasicStream*, SICESpaceGroupInfoSeq&, __U__SICESpaceGroupInfoSeq); - -typedef ::std::vector< ::spaceContact::SICESpaceContactInfo> SICESpaceContactInfoSeq; - -class __U__SICESpaceContactInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::spaceContact::SICESpaceContactInfo*, const ::spaceContact::SICESpaceContactInfo*, __U__SICESpaceContactInfoSeq); -void __read(::IceInternal::BasicStream*, SICESpaceContactInfoSeq&, __U__SICESpaceContactInfoSeq); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/dbss_v5_pack.h.svn-base b/features/aliww/include/.svn/text-base/dbss_v5_pack.h.svn-base deleted file mode 100644 index f342b65..0000000 --- a/features/aliww/include/.svn/text-base/dbss_v5_pack.h.svn-base +++ /dev/null @@ -1,100 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: dbss_v5_pack.h -// Date: 2011-01-30 12:50:05 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __DBSS_V5_PACK_H__ -#define __DBSS_V5_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "ss_v5_head.h" - -using namespace std; - -#ifndef UID_LENGTH -#define UID_LENGTH 64 -#endif - -enum DBSS_V5_CMD -{ - SS_REQ_SMS_REVIMMSG = 0x858, -}; - -class CSsReqSmsRevimmsg : public CPackData -{ -public: - enum - { - CMD_ID = SS_REQ_SMS_REVIMMSG - }; - CSsReqSmsRevimmsg() - { - } - - ~CSsReqSmsRevimmsg() { } - CSsReqSmsRevimmsg(const string& strFromId, const string& strToId, const string& strMessage) - { - m_fromId = strFromId; - m_toId = strToId; - m_message = strMessage; - } - CSsReqSmsRevimmsg& operator=( const CSsReqSmsRevimmsg& cSsReqSmsRevimmsg ) - { - m_fromId = cSsReqSmsRevimmsg.m_fromId; - m_toId = cSsReqSmsRevimmsg.m_toId; - m_message = cSsReqSmsRevimmsg.m_message; - return *this; - } - - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const string& GetToId () const { return m_toId; } - bool SetToId ( const string& strToId ) - { - if(strToId.size() > 64) - return false; - m_toId = strToId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_fromId; - string m_toId; - string m_message; - -public: - CSsV5Head m_ssV5Head; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsReqSmsRevimmsg::Size() const -{ - uint32_t nSize = 12; - nSize += m_fromId.length(); - nSize += m_toId.length(); - nSize += m_message.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/.svn/text-base/dbtbsservice60.h.svn-base b/features/aliww/include/.svn/text-base/dbtbsservice60.h.svn-base deleted file mode 100644 index 22d7f44..0000000 --- a/features/aliww/include/.svn/text-base/dbtbsservice60.h.svn-base +++ /dev/null @@ -1,1837 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbtbsservice60.ice' - -#ifndef __dbtbsservice60_h__ -#define __dbtbsservice60_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace ALiIMDBTribe -{ - -class TribeDBProxyMgr; -bool operator==(const TribeDBProxyMgr&, const TribeDBProxyMgr&); -bool operator!=(const TribeDBProxyMgr&, const TribeDBProxyMgr&); -bool operator<(const TribeDBProxyMgr&, const TribeDBProxyMgr&); -bool operator<=(const TribeDBProxyMgr&, const TribeDBProxyMgr&); -bool operator>(const TribeDBProxyMgr&, const TribeDBProxyMgr&); -bool operator>=(const TribeDBProxyMgr&, const TribeDBProxyMgr&); - -} - -} - -namespace ALiIMDBTribe -{ - -class TribeDBProxyMgr; -bool operator==(const TribeDBProxyMgr&, const TribeDBProxyMgr&); -bool operator!=(const TribeDBProxyMgr&, const TribeDBProxyMgr&); -bool operator<(const TribeDBProxyMgr&, const TribeDBProxyMgr&); -bool operator<=(const TribeDBProxyMgr&, const TribeDBProxyMgr&); -bool operator>(const TribeDBProxyMgr&, const TribeDBProxyMgr&); -bool operator>=(const TribeDBProxyMgr&, const TribeDBProxyMgr&); - -} - -namespace IceInternal -{ - -void incRef(::ALiIMDBTribe::TribeDBProxyMgr*); -void decRef(::ALiIMDBTribe::TribeDBProxyMgr*); - -void incRef(::IceProxy::ALiIMDBTribe::TribeDBProxyMgr*); -void decRef(::IceProxy::ALiIMDBTribe::TribeDBProxyMgr*); - -} - -namespace ALiIMDBTribe -{ - -typedef ::IceInternal::Handle< ::ALiIMDBTribe::TribeDBProxyMgr> TribeDBProxyMgrPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr> TribeDBProxyMgrPrx; - -void __write(::IceInternal::BasicStream*, const TribeDBProxyMgrPrx&); -void __read(::IceInternal::BasicStream*, TribeDBProxyMgrPrx&); -void __write(::IceInternal::BasicStream*, const TribeDBProxyMgrPtr&); -void __patch__TribeDBProxyMgrPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const TribeDBProxyMgrPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const TribeDBProxyMgrPtr&); -void __decRefUnsafe(const TribeDBProxyMgrPtr&); -void __clearHandleUnsafe(TribeDBProxyMgrPtr&); - -} - -namespace ALiIMDBTribe -{ - -} - -namespace IceProxy -{ - -namespace ALiIMDBTribe -{ - -class TribeDBProxyMgr : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int DBStartTribe(const ::ALiIMDBTribe::STribeInfo& tribeInfo) - { - return DBStartTribe(tribeInfo, 0); - } - ::Ice::Int DBStartTribe(const ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context& __ctx) - { - return DBStartTribe(tribeInfo, &__ctx); - } - -private: - - ::Ice::Int DBStartTribe(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeInfo(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo& tribeInfo) - { - return DBGetTribeInfo(tribeId, tribeInfo, 0); - } - ::Ice::Int DBGetTribeInfo(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context& __ctx) - { - return DBGetTribeInfo(tribeId, tribeInfo, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeInfo(::Ice::Int, ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateTribeInfo(const ::ALiIMDBTribe::STribeInfo& tribeInfo) - { - return DBUpdateTribeInfo(tribeInfo, 0); - } - ::Ice::Int DBUpdateTribeInfo(const ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context& __ctx) - { - return DBUpdateTribeInfo(tribeInfo, &__ctx); - } - -private: - - ::Ice::Int DBUpdateTribeInfo(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateTribeMaster(::Ice::Int tribeId, const ::std::string& masterId) - { - return DBUpdateTribeMaster(tribeId, masterId, 0); - } - ::Ice::Int DBUpdateTribeMaster(::Ice::Int tribeId, const ::std::string& masterId, const ::Ice::Context& __ctx) - { - return DBUpdateTribeMaster(tribeId, masterId, &__ctx); - } - -private: - - ::Ice::Int DBUpdateTribeMaster(::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeActiveDegree(::Ice::Int tribeId, ::Ice::Int& onlineTimes, ::Ice::Double& onlineDegree, ::Ice::Int& discussDegree, ::Ice::Double& rewardDegree, ::Ice::Int& masterOffer, ::Ice::Double& totalDegree) - { - return DBGetTribeActiveDegree(tribeId, onlineTimes, onlineDegree, discussDegree, rewardDegree, masterOffer, totalDegree, 0); - } - ::Ice::Int DBGetTribeActiveDegree(::Ice::Int tribeId, ::Ice::Int& onlineTimes, ::Ice::Double& onlineDegree, ::Ice::Int& discussDegree, ::Ice::Double& rewardDegree, ::Ice::Int& masterOffer, ::Ice::Double& totalDegree, const ::Ice::Context& __ctx) - { - return DBGetTribeActiveDegree(tribeId, onlineTimes, onlineDegree, discussDegree, rewardDegree, masterOffer, totalDegree, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeActiveDegree(::Ice::Int, ::Ice::Int&, ::Ice::Double&, ::Ice::Int&, ::Ice::Double&, ::Ice::Int&, ::Ice::Double&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateTribeActDegree(::Ice::Int tribeId, ::Ice::Double onlineDegree, ::Ice::Int discussDegree, ::Ice::Double rewardDegree, ::Ice::Double totalDegree) - { - return DBUpdateTribeActDegree(tribeId, onlineDegree, discussDegree, rewardDegree, totalDegree, 0); - } - ::Ice::Int DBUpdateTribeActDegree(::Ice::Int tribeId, ::Ice::Double onlineDegree, ::Ice::Int discussDegree, ::Ice::Double rewardDegree, ::Ice::Double totalDegree, const ::Ice::Context& __ctx) - { - return DBUpdateTribeActDegree(tribeId, onlineDegree, discussDegree, rewardDegree, totalDegree, &__ctx); - } - -private: - - ::Ice::Int DBUpdateTribeActDegree(::Ice::Int, ::Ice::Double, ::Ice::Int, ::Ice::Double, ::Ice::Double, const ::Ice::Context*); - -public: - - ::Ice::Int DBDeleteTribe(::Ice::Int tribeId) - { - return DBDeleteTribe(tribeId, 0); - } - ::Ice::Int DBDeleteTribe(::Ice::Int tribeId, const ::Ice::Context& __ctx) - { - return DBDeleteTribe(tribeId, &__ctx); - } - -private: - - ::Ice::Int DBDeleteTribe(::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetAddedTribeNum(const ::std::string& userId, ::Ice::Int& tribeNum) - { - return DBGetAddedTribeNum(userId, tribeNum, 0); - } - ::Ice::Int DBGetAddedTribeNum(const ::std::string& userId, ::Ice::Int& tribeNum, const ::Ice::Context& __ctx) - { - return DBGetAddedTribeNum(userId, tribeNum, &__ctx); - } - -private: - - ::Ice::Int DBGetAddedTribeNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBCheckAddedTribeFull(const ::std::string& userId) - { - return DBCheckAddedTribeFull(userId, 0); - } - ::Ice::Int DBCheckAddedTribeFull(const ::std::string& userId, const ::Ice::Context& __ctx) - { - return DBCheckAddedTribeFull(userId, &__ctx); - } - -private: - - ::Ice::Int DBCheckAddedTribeFull(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeMemberNum(::Ice::Int tribeId, ::Ice::Int level, ::Ice::Int& memberNum) - { - return DBGetTribeMemberNum(tribeId, level, memberNum, 0); - } - ::Ice::Int DBGetTribeMemberNum(::Ice::Int tribeId, ::Ice::Int level, ::Ice::Int& memberNum, const ::Ice::Context& __ctx) - { - return DBGetTribeMemberNum(tribeId, level, memberNum, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeMemberNum(::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, const ::std::string& operId, ::Ice::Long groupId, ::Ice::Int& blackStamp) - { - return DBAddTribeMember(tribeId, memberId, level, operId, groupId, blackStamp, 0); - } - ::Ice::Int DBAddTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, const ::std::string& operId, ::Ice::Long groupId, ::Ice::Int& blackStamp, const ::Ice::Context& __ctx) - { - return DBAddTribeMember(tribeId, memberId, level, operId, groupId, blackStamp, &__ctx); - } - -private: - - ::Ice::Int DBAddTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int TCAddTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Short openFlag) - { - return TCAddTribeMember(tribeId, memberId, level, openFlag, 0); - } - ::Ice::Int TCAddTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Short openFlag, const ::Ice::Context& __ctx) - { - return TCAddTribeMember(tribeId, memberId, level, openFlag, &__ctx); - } - -private: - - ::Ice::Int TCAddTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Short, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::ALiIMDBTribe::STribeMemberSeq& tribeMemberList) - { - return DBGetTribeMember(tribeId, memberId, level, tribeMemberList, 0); - } - ::Ice::Int DBGetTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::ALiIMDBTribe::STribeMemberSeq& tribeMemberList, const ::Ice::Context& __ctx) - { - return DBGetTribeMember(tribeId, memberId, level, tribeMemberList, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::ALiIMDBTribe::STribeMemberSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeMemberInfo(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeMemberInfoSeq& tribeMemberInfoList) - { - return DBGetTribeMemberInfo(tribeId, memberId, tribeMemberInfoList, 0); - } - ::Ice::Int DBGetTribeMemberInfo(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeMemberInfoSeq& tribeMemberInfoList, const ::Ice::Context& __ctx) - { - return DBGetTribeMemberInfo(tribeId, memberId, tribeMemberInfoList, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeMemberInfo(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeMemberInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeMemberInfo2(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeMemberInfoSeq2& tribeMemberInfoList) - { - return DBGetTribeMemberInfo2(tribeId, memberId, tribeMemberInfoList, 0); - } - ::Ice::Int DBGetTribeMemberInfo2(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeMemberInfoSeq2& tribeMemberInfoList, const ::Ice::Context& __ctx) - { - return DBGetTribeMemberInfo2(tribeId, memberId, tribeMemberInfoList, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeMemberInfo2(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeMemberInfoSeq2&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetUserTribe(const ::std::string& userId, ::ALiIMDBTribe::STribeIdSeq& tribeIdList) - { - return DBGetUserTribe(userId, tribeIdList, 0); - } - ::Ice::Int DBGetUserTribe(const ::std::string& userId, ::ALiIMDBTribe::STribeIdSeq& tribeIdList, const ::Ice::Context& __ctx) - { - return DBGetUserTribe(userId, tribeIdList, &__ctx); - } - -private: - - ::Ice::Int DBGetUserTribe(const ::std::string&, ::ALiIMDBTribe::STribeIdSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetUserTribe2(const ::std::string& userId, ::ALiIMDBTribe::STribeIdSeq2& tribeIdList) - { - return DBGetUserTribe2(userId, tribeIdList, 0); - } - ::Ice::Int DBGetUserTribe2(const ::std::string& userId, ::ALiIMDBTribe::STribeIdSeq2& tribeIdList, const ::Ice::Context& __ctx) - { - return DBGetUserTribe2(userId, tribeIdList, &__ctx); - } - -private: - - ::Ice::Int DBGetUserTribe2(const ::std::string&, ::ALiIMDBTribe::STribeIdSeq2&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateMemberLevel(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level) - { - return DBUpdateMemberLevel(tribeId, memberId, level, 0); - } - ::Ice::Int DBUpdateMemberLevel(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, const ::Ice::Context& __ctx) - { - return DBUpdateMemberLevel(tribeId, memberId, level, &__ctx); - } - -private: - - ::Ice::Int DBUpdateMemberLevel(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateLastMsgId(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int msgId) - { - return DBUpdateLastMsgId(tribeId, memberId, msgId, 0); - } - ::Ice::Int DBUpdateLastMsgId(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int msgId, const ::Ice::Context& __ctx) - { - return DBUpdateLastMsgId(tribeId, memberId, msgId, &__ctx); - } - -private: - - ::Ice::Int DBUpdateLastMsgId(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBDeleteMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Int& blackStamp) - { - return DBDeleteMember(tribeId, memberId, level, blackStamp, 0); - } - ::Ice::Int DBDeleteMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Int& blackStamp, const ::Ice::Context& __ctx) - { - return DBDeleteMember(tribeId, memberId, level, blackStamp, &__ctx); - } - -private: - - ::Ice::Int DBDeleteMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddTribeOfflineMsg(::Ice::Int tribeId, const ::std::string& fromId, ::Ice::Int type, const ::std::string& message, ::Ice::Int sendTime) - { - return DBAddTribeOfflineMsg(tribeId, fromId, type, message, sendTime, 0); - } - ::Ice::Int DBAddTribeOfflineMsg(::Ice::Int tribeId, const ::std::string& fromId, ::Ice::Int type, const ::std::string& message, ::Ice::Int sendTime, const ::Ice::Context& __ctx) - { - return DBAddTribeOfflineMsg(tribeId, fromId, type, message, sendTime, &__ctx); - } - -private: - - ::Ice::Int DBAddTribeOfflineMsg(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeOfflineMsg(::Ice::Int tribeId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList) - { - return DBGetTribeOfflineMsg(tribeId, offlineMsgList, 0); - } - ::Ice::Int DBGetTribeOfflineMsg(::Ice::Int tribeId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList, const ::Ice::Context& __ctx) - { - return DBGetTribeOfflineMsg(tribeId, offlineMsgList, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeOfflineMsg(::Ice::Int, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBDelTribeOfflineMsg(::Ice::Int tribeId) - { - return DBDelTribeOfflineMsg(tribeId, 0); - } - ::Ice::Int DBDelTribeOfflineMsg(::Ice::Int tribeId, const ::Ice::Context& __ctx) - { - return DBDelTribeOfflineMsg(tribeId, &__ctx); - } - -private: - - ::Ice::Int DBDelTribeOfflineMsg(::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& toId, ::Ice::Int type, const ::std::string& message, ::Ice::Int sendTime) - { - return DBAddTribeOffMngMsg(tribeId, toId, type, message, sendTime, 0); - } - ::Ice::Int DBAddTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& toId, ::Ice::Int type, const ::std::string& message, ::Ice::Int sendTime, const ::Ice::Context& __ctx) - { - return DBAddTribeOffMngMsg(tribeId, toId, type, message, sendTime, &__ctx); - } - -private: - - ::Ice::Int DBAddTribeOffMngMsg(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList) - { - return DBGetTribeOffMngMsg(tribeId, memberId, offlineMsgList, 0); - } - ::Ice::Int DBGetTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList, const ::Ice::Context& __ctx) - { - return DBGetTribeOffMngMsg(tribeId, memberId, offlineMsgList, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeOffMngMsg(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBDelTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId) - { - return DBDelTribeOffMngMsg(tribeId, memberId, 0); - } - ::Ice::Int DBDelTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context& __ctx) - { - return DBDelTribeOffMngMsg(tribeId, memberId, &__ctx); - } - -private: - - ::Ice::Int DBDelTribeOffMngMsg(::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetUserTribeConfig(const ::std::string& userId, ::Ice::Int& addVerify) - { - return DBGetUserTribeConfig(userId, addVerify, 0); - } - ::Ice::Int DBGetUserTribeConfig(const ::std::string& userId, ::Ice::Int& addVerify, const ::Ice::Context& __ctx) - { - return DBGetUserTribeConfig(userId, addVerify, &__ctx); - } - -private: - - ::Ice::Int DBGetUserTribeConfig(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateUserTribeConfig(const ::std::string& userId, ::Ice::Int addVerify) - { - return DBUpdateUserTribeConfig(userId, addVerify, 0); - } - ::Ice::Int DBUpdateUserTribeConfig(const ::std::string& userId, ::Ice::Int addVerify, const ::Ice::Context& __ctx) - { - return DBUpdateUserTribeConfig(userId, addVerify, &__ctx); - } - -private: - - ::Ice::Int DBUpdateUserTribeConfig(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateTribeCard(::Ice::Int tribeId, const ::std::string& memberId, const ::ALiIMDBTribe::STribeCard& tribeCard) - { - return DBUpdateTribeCard(tribeId, memberId, tribeCard, 0); - } - ::Ice::Int DBUpdateTribeCard(::Ice::Int tribeId, const ::std::string& memberId, const ::ALiIMDBTribe::STribeCard& tribeCard, const ::Ice::Context& __ctx) - { - return DBUpdateTribeCard(tribeId, memberId, tribeCard, &__ctx); - } - -private: - - ::Ice::Int DBUpdateTribeCard(::Ice::Int, const ::std::string&, const ::ALiIMDBTribe::STribeCard&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeCard(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeCard& tribeCard) - { - return DBGetTribeCard(tribeId, memberId, tribeCard, 0); - } - ::Ice::Int DBGetTribeCard(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeCard& tribeCard, const ::Ice::Context& __ctx) - { - return DBGetTribeCard(tribeId, memberId, tribeCard, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeCard(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeCard&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateMemberActDegree(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Double onlineActDegree, ::Ice::Int chatActDegree, ::Ice::Double rewardActDegree, ::Ice::Double totalActDegree, ::Ice::Int lastMsgid) - { - return DBUpdateMemberActDegree(tribeId, memberId, onlineActDegree, chatActDegree, rewardActDegree, totalActDegree, lastMsgid, 0); - } - ::Ice::Int DBUpdateMemberActDegree(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Double onlineActDegree, ::Ice::Int chatActDegree, ::Ice::Double rewardActDegree, ::Ice::Double totalActDegree, ::Ice::Int lastMsgid, const ::Ice::Context& __ctx) - { - return DBUpdateMemberActDegree(tribeId, memberId, onlineActDegree, chatActDegree, rewardActDegree, totalActDegree, lastMsgid, &__ctx); - } - -private: - - ::Ice::Int DBUpdateMemberActDegree(::Ice::Int, const ::std::string&, ::Ice::Double, ::Ice::Int, ::Ice::Double, ::Ice::Double, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeGroup(::Ice::Int tribeId, ::ALiIMDBTribe::STribeGroupSeq& tribeGroupList) - { - return DBGetTribeGroup(tribeId, tribeGroupList, 0); - } - ::Ice::Int DBGetTribeGroup(::Ice::Int tribeId, ::ALiIMDBTribe::STribeGroupSeq& tribeGroupList, const ::Ice::Context& __ctx) - { - return DBGetTribeGroup(tribeId, tribeGroupList, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeGroup(::Ice::Int, ::ALiIMDBTribe::STribeGroupSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddTribeGroup(::Ice::Int tribeId, const ::std::string& groupName, ::Ice::Long parentId, ::Ice::Long& groupId, ::Ice::Int& groupStamp) - { - return DBAddTribeGroup(tribeId, groupName, parentId, groupId, groupStamp, 0); - } - ::Ice::Int DBAddTribeGroup(::Ice::Int tribeId, const ::std::string& groupName, ::Ice::Long parentId, ::Ice::Long& groupId, ::Ice::Int& groupStamp, const ::Ice::Context& __ctx) - { - return DBAddTribeGroup(tribeId, groupName, parentId, groupId, groupStamp, &__ctx); - } - -private: - - ::Ice::Int DBAddTribeGroup(::Ice::Int, const ::std::string&, ::Ice::Long, ::Ice::Long&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateTribeGroup(::Ice::Int tribeId, ::Ice::Long groupId, const ::std::string& groupName, ::Ice::Int& groupStamp) - { - return DBUpdateTribeGroup(tribeId, groupId, groupName, groupStamp, 0); - } - ::Ice::Int DBUpdateTribeGroup(::Ice::Int tribeId, ::Ice::Long groupId, const ::std::string& groupName, ::Ice::Int& groupStamp, const ::Ice::Context& __ctx) - { - return DBUpdateTribeGroup(tribeId, groupId, groupName, groupStamp, &__ctx); - } - -private: - - ::Ice::Int DBUpdateTribeGroup(::Ice::Int, ::Ice::Long, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBDelTribeGroup(::Ice::Int tribeId, ::Ice::Long groupId, ::Ice::Int& groupStamp) - { - return DBDelTribeGroup(tribeId, groupId, groupStamp, 0); - } - ::Ice::Int DBDelTribeGroup(::Ice::Int tribeId, ::Ice::Long groupId, ::Ice::Int& groupStamp, const ::Ice::Context& __ctx) - { - return DBDelTribeGroup(tribeId, groupId, groupStamp, &__ctx); - } - -private: - - ::Ice::Int DBDelTribeGroup(::Ice::Int, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateUserGroup(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Long groupId) - { - return DBUpdateUserGroup(tribeId, memberId, groupId, 0); - } - ::Ice::Int DBUpdateUserGroup(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Long groupId, const ::Ice::Context& __ctx) - { - return DBUpdateUserGroup(tribeId, memberId, groupId, &__ctx); - } - -private: - - ::Ice::Int DBUpdateUserGroup(::Ice::Int, const ::std::string&, ::Ice::Long, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddStarMember(::Ice::Int tribeId, const ::std::string& memberId) - { - return DBAddStarMember(tribeId, memberId, 0); - } - ::Ice::Int DBAddStarMember(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context& __ctx) - { - return DBAddStarMember(tribeId, memberId, &__ctx); - } - -private: - - ::Ice::Int DBAddStarMember(::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBDelStarMember(::Ice::Int tribeId, const ::std::string& memberId) - { - return DBDelStarMember(tribeId, memberId, 0); - } - ::Ice::Int DBDelStarMember(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context& __ctx) - { - return DBDelStarMember(tribeId, memberId, &__ctx); - } - -private: - - ::Ice::Int DBDelStarMember(::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateOpenTribe(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Short openFlag) - { - return DBUpdateOpenTribe(tribeId, memberId, openFlag, 0); - } - ::Ice::Int DBUpdateOpenTribe(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Short openFlag, const ::Ice::Context& __ctx) - { - return DBUpdateOpenTribe(tribeId, memberId, openFlag, &__ctx); - } - -private: - - ::Ice::Int DBUpdateOpenTribe(::Ice::Int, const ::std::string&, ::Ice::Short, const ::Ice::Context*); - -public: - - ::Ice::Int DBNotifyTribeInfo(const ::ALiIMDBTribe::STribeInfo& tribeInfo) - { - return DBNotifyTribeInfo(tribeInfo, 0); - } - ::Ice::Int DBNotifyTribeInfo(const ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context& __ctx) - { - return DBNotifyTribeInfo(tribeInfo, &__ctx); - } - -private: - - ::Ice::Int DBNotifyTribeInfo(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeInfo2(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo2& tribeInfo) - { - return DBGetTribeInfo2(tribeId, tribeInfo, 0); - } - ::Ice::Int DBGetTribeInfo2(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::Ice::Context& __ctx) - { - return DBGetTribeInfo2(tribeId, tribeInfo, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeInfo2(::Ice::Int, ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeInfo3(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo3& tribeInfo) - { - return DBGetTribeInfo3(tribeId, tribeInfo, 0); - } - ::Ice::Int DBGetTribeInfo3(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo3& tribeInfo, const ::Ice::Context& __ctx) - { - return DBGetTribeInfo3(tribeId, tribeInfo, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeInfo3(::Ice::Int, ::ALiIMDBTribe::STribeInfo3&, const ::Ice::Context*); - -public: - - ::Ice::Int DBCreateTribe(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, ::Ice::Int& tribeId) - { - return DBCreateTribe(tribeInfo, tribeId, 0); - } - ::Ice::Int DBCreateTribe(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, ::Ice::Int& tribeId, const ::Ice::Context& __ctx) - { - return DBCreateTribe(tribeInfo, tribeId, &__ctx); - } - -private: - - ::Ice::Int DBCreateTribe(const ::ALiIMDBTribe::STribeInfo2&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeIdByWebId(const ::std::string& serviceId, const ::std::string& webid, const ::std::string& webtid, ::Ice::Int& tribeId) - { - return DBGetTribeIdByWebId(serviceId, webid, webtid, tribeId, 0); - } - ::Ice::Int DBGetTribeIdByWebId(const ::std::string& serviceId, const ::std::string& webid, const ::std::string& webtid, ::Ice::Int& tribeId, const ::Ice::Context& __ctx) - { - return DBGetTribeIdByWebId(serviceId, webid, webtid, tribeId, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeIdByWebId(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddWebTribeMember(const ::ALiIMDBTribe::STribeMember2& memberInfo, ::Ice::Int& blackStamp) - { - return DBAddWebTribeMember(memberInfo, blackStamp, 0); - } - ::Ice::Int DBAddWebTribeMember(const ::ALiIMDBTribe::STribeMember2& memberInfo, ::Ice::Int& blackStamp, const ::Ice::Context& __ctx) - { - return DBAddWebTribeMember(memberInfo, blackStamp, &__ctx); - } - -private: - - ::Ice::Int DBAddWebTribeMember(const ::ALiIMDBTribe::STribeMember2&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBDeleteWebMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Int& blackStamp) - { - return DBDeleteWebMember(tribeId, memberId, level, blackStamp, 0); - } - ::Ice::Int DBDeleteWebMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Int& blackStamp, const ::Ice::Context& __ctx) - { - return DBDeleteWebMember(tribeId, memberId, level, blackStamp, &__ctx); - } - -private: - - ::Ice::Int DBDeleteWebMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetAllWebTribeGroup(::ALiIMDBTribe::SWebTribeGroupSeq& groupList) - { - return DBGetAllWebTribeGroup(groupList, 0); - } - ::Ice::Int DBGetAllWebTribeGroup(::ALiIMDBTribe::SWebTribeGroupSeq& groupList, const ::Ice::Context& __ctx) - { - return DBGetAllWebTribeGroup(groupList, &__ctx); - } - -private: - - ::Ice::Int DBGetAllWebTribeGroup(::ALiIMDBTribe::SWebTribeGroupSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetWebTribeGroup(const ::std::string& serviceId, const ::std::string& webId, ::ALiIMDBTribe::SWebTribeGroup& groupInfo) - { - return DBGetWebTribeGroup(serviceId, webId, groupInfo, 0); - } - ::Ice::Int DBGetWebTribeGroup(const ::std::string& serviceId, const ::std::string& webId, ::ALiIMDBTribe::SWebTribeGroup& groupInfo, const ::Ice::Context& __ctx) - { - return DBGetWebTribeGroup(serviceId, webId, groupInfo, &__ctx); - } - -private: - - ::Ice::Int DBGetWebTribeGroup(const ::std::string&, const ::std::string&, ::ALiIMDBTribe::SWebTribeGroup&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetWebTribeGroupById(::Ice::Long groupId, ::ALiIMDBTribe::SWebTribeGroup& groupInfo) - { - return DBGetWebTribeGroupById(groupId, groupInfo, 0); - } - ::Ice::Int DBGetWebTribeGroupById(::Ice::Long groupId, ::ALiIMDBTribe::SWebTribeGroup& groupInfo, const ::Ice::Context& __ctx) - { - return DBGetWebTribeGroupById(groupId, groupInfo, &__ctx); - } - -private: - - ::Ice::Int DBGetWebTribeGroupById(::Ice::Long, ::ALiIMDBTribe::SWebTribeGroup&, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddWebTribeGroup(const ::ALiIMDBTribe::SWebTribeGroup& groupInfo, ::Ice::Long& groupId) - { - return DBAddWebTribeGroup(groupInfo, groupId, 0); - } - ::Ice::Int DBAddWebTribeGroup(const ::ALiIMDBTribe::SWebTribeGroup& groupInfo, ::Ice::Long& groupId, const ::Ice::Context& __ctx) - { - return DBAddWebTribeGroup(groupInfo, groupId, &__ctx); - } - -private: - - ::Ice::Int DBAddWebTribeGroup(const ::ALiIMDBTribe::SWebTribeGroup&, ::Ice::Long&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateWebTribeGroupName(::Ice::Long groupId, const ::std::string& name) - { - return DBUpdateWebTribeGroupName(groupId, name, 0); - } - ::Ice::Int DBUpdateWebTribeGroupName(::Ice::Long groupId, const ::std::string& name, const ::Ice::Context& __ctx) - { - return DBUpdateWebTribeGroupName(groupId, name, &__ctx); - } - -private: - - ::Ice::Int DBUpdateWebTribeGroupName(::Ice::Long, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBDelWebTribeGroup(::Ice::Long groupId) - { - return DBDelWebTribeGroup(groupId, 0); - } - ::Ice::Int DBDelWebTribeGroup(::Ice::Long groupId, const ::Ice::Context& __ctx) - { - return DBDelWebTribeGroup(groupId, &__ctx); - } - -private: - - ::Ice::Int DBDelWebTribeGroup(::Ice::Long, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetUserWebTribeGroup(const ::std::string& userId, ::ALiIMDBTribe::SWebTribeGroupSeq& groupList) - { - return DBGetUserWebTribeGroup(userId, groupList, 0); - } - ::Ice::Int DBGetUserWebTribeGroup(const ::std::string& userId, ::ALiIMDBTribe::SWebTribeGroupSeq& groupList, const ::Ice::Context& __ctx) - { - return DBGetUserWebTribeGroup(userId, groupList, &__ctx); - } - -private: - - ::Ice::Int DBGetUserWebTribeGroup(const ::std::string&, ::ALiIMDBTribe::SWebTribeGroupSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetUserWebTribe(const ::std::string& userId, ::ALiIMDBTribe::SWebTribeIdSeq& tribeList) - { - return DBGetUserWebTribe(userId, tribeList, 0); - } - ::Ice::Int DBGetUserWebTribe(const ::std::string& userId, ::ALiIMDBTribe::SWebTribeIdSeq& tribeList, const ::Ice::Context& __ctx) - { - return DBGetUserWebTribe(userId, tribeList, &__ctx); - } - -private: - - ::Ice::Int DBGetUserWebTribe(const ::std::string&, ::ALiIMDBTribe::SWebTribeIdSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateTribeInfo2(const ::ALiIMDBTribe::STribeInfo2& tribeInfo) - { - return DBUpdateTribeInfo2(tribeInfo, 0); - } - ::Ice::Int DBUpdateTribeInfo2(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::Ice::Context& __ctx) - { - return DBUpdateTribeInfo2(tribeInfo, &__ctx); - } - -private: - - ::Ice::Int DBUpdateTribeInfo2(const ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Context*); - -public: - - ::Ice::Int DBNotifyWebTribeInfo(const ::ALiIMDBTribe::STribeInfo2& tribeInfo) - { - return DBNotifyWebTribeInfo(tribeInfo, 0); - } - ::Ice::Int DBNotifyWebTribeInfo(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::Ice::Context& __ctx) - { - return DBNotifyWebTribeInfo(tribeInfo, &__ctx); - } - -private: - - ::Ice::Int DBNotifyWebTribeInfo(const ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Context*); - -public: - - ::Ice::Int DBSyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::ALiIMDBTribe::STribeMember2Seq& memberList, ::Ice::Int& tribeId) - { - return DBSyncWebTribe(serviceId, webId, tribeInfo, memberList, tribeId, 0); - } - ::Ice::Int DBSyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::ALiIMDBTribe::STribeMember2Seq& memberList, ::Ice::Int& tribeId, const ::Ice::Context& __ctx) - { - return DBSyncWebTribe(serviceId, webId, tribeInfo, memberList, tribeId, &__ctx); - } - -private: - - ::Ice::Int DBSyncWebTribe(const ::std::string&, const ::std::string&, const ::ALiIMDBTribe::STribeInfo2&, const ::ALiIMDBTribe::STribeMember2Seq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetWebUserDisactiveTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, ::Ice::IntSeq& tribeList) - { - return DBGetWebUserDisactiveTribe(serviceId, webId, webUid, tribeList, 0); - } - ::Ice::Int DBGetWebUserDisactiveTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, ::Ice::IntSeq& tribeList, const ::Ice::Context& __ctx) - { - return DBGetWebUserDisactiveTribe(serviceId, webId, webUid, tribeList, &__ctx); - } - -private: - - ::Ice::Int DBGetWebUserDisactiveTribe(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetWebUserActiveTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& userId, ::Ice::IntSeq& tribeList) - { - return DBGetWebUserActiveTribe(serviceId, webId, userId, tribeList, 0); - } - ::Ice::Int DBGetWebUserActiveTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& userId, ::Ice::IntSeq& tribeList, const ::Ice::Context& __ctx) - { - return DBGetWebUserActiveTribe(serviceId, webId, userId, tribeList, &__ctx); - } - -private: - - ::Ice::Int DBGetWebUserActiveTribe(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBActiveTribeWebMember(::Ice::Int tribeId, const ::std::string& webuid, const ::std::string& memberId) - { - return DBActiveTribeWebMember(tribeId, webuid, memberId, 0); - } - ::Ice::Int DBActiveTribeWebMember(::Ice::Int tribeId, const ::std::string& webuid, const ::std::string& memberId, const ::Ice::Context& __ctx) - { - return DBActiveTribeWebMember(tribeId, webuid, memberId, &__ctx); - } - -private: - - ::Ice::Int DBActiveTribeWebMember(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBDisactiveTribeWebMember(::Ice::Int tribeId, const ::std::string& webuid, const ::std::string& memberId) - { - return DBDisactiveTribeWebMember(tribeId, webuid, memberId, 0); - } - ::Ice::Int DBDisactiveTribeWebMember(::Ice::Int tribeId, const ::std::string& webuid, const ::std::string& memberId, const ::Ice::Context& __ctx) - { - return DBDisactiveTribeWebMember(tribeId, webuid, memberId, &__ctx); - } - -private: - - ::Ice::Int DBDisactiveTribeWebMember(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBDeleteWebTribe(::Ice::Int tribeId) - { - return DBDeleteWebTribe(tribeId, 0); - } - ::Ice::Int DBDeleteWebTribe(::Ice::Int tribeId, const ::Ice::Context& __ctx) - { - return DBDeleteWebTribe(tribeId, &__ctx); - } - -private: - - ::Ice::Int DBDeleteWebTribe(::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateTribeMsgSetting(::Ice::Int tribeId, const ::std::string& userId, ::Ice::Short popflag) - { - return DBUpdateTribeMsgSetting(tribeId, userId, popflag, 0); - } - ::Ice::Int DBUpdateTribeMsgSetting(::Ice::Int tribeId, const ::std::string& userId, ::Ice::Short popflag, const ::Ice::Context& __ctx) - { - return DBUpdateTribeMsgSetting(tribeId, userId, popflag, &__ctx); - } - -private: - - ::Ice::Int DBUpdateTribeMsgSetting(::Ice::Int, const ::std::string&, ::Ice::Short, const ::Ice::Context*); - -public: - - ::Ice::Int DBTransferTribe(::Ice::Int tribeId, const ::std::string& userId, const ::std::string& transferId, ::std::string& vacantId) - { - return DBTransferTribe(tribeId, userId, transferId, vacantId, 0); - } - ::Ice::Int DBTransferTribe(::Ice::Int tribeId, const ::std::string& userId, const ::std::string& transferId, ::std::string& vacantId, const ::Ice::Context& __ctx) - { - return DBTransferTribe(tribeId, userId, transferId, vacantId, &__ctx); - } - -private: - - ::Ice::Int DBTransferTribe(::Ice::Int, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBCheckAddedTribeFull2(const ::std::string& userId, bool& limit) - { - return DBCheckAddedTribeFull2(userId, limit, 0); - } - ::Ice::Int DBCheckAddedTribeFull2(const ::std::string& userId, bool& limit, const ::Ice::Context& __ctx) - { - return DBCheckAddedTribeFull2(userId, limit, &__ctx); - } - -private: - - ::Ice::Int DBCheckAddedTribeFull2(const ::std::string&, bool&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateTribeLimit(::Ice::Int tribeId, ::Ice::Int limit) - { - return DBUpdateTribeLimit(tribeId, limit, 0); - } - ::Ice::Int DBUpdateTribeLimit(::Ice::Int tribeId, ::Ice::Int limit, const ::Ice::Context& __ctx) - { - return DBUpdateTribeLimit(tribeId, limit, &__ctx); - } - -private: - - ::Ice::Int DBUpdateTribeLimit(::Ice::Int, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBIncrUserTribes(const ::std::string& userId, ::Ice::Int tribeNum) - { - return DBIncrUserTribes(userId, tribeNum, 0); - } - ::Ice::Int DBIncrUserTribes(const ::std::string& userId, ::Ice::Int tribeNum, const ::Ice::Context& __ctx) - { - return DBIncrUserTribes(userId, tribeNum, &__ctx); - } - -private: - - ::Ice::Int DBIncrUserTribes(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetUserTribeNum(const ::std::string& userId, ::Ice::Int& tribeNum) - { - return DBGetUserTribeNum(userId, tribeNum, 0); - } - ::Ice::Int DBGetUserTribeNum(const ::std::string& userId, ::Ice::Int& tribeNum, const ::Ice::Context& __ctx) - { - return DBGetUserTribeNum(userId, tribeNum, &__ctx); - } - -private: - - ::Ice::Int DBGetUserTribeNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace ALiIMDBTribe -{ - -class TribeDBProxyMgr : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int DBStartTribe(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeInfo(::Ice::Int, ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateTribeInfo(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateTribeMaster(::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeActiveDegree(::Ice::Int, ::Ice::Int&, ::Ice::Double&, ::Ice::Int&, ::Ice::Double&, ::Ice::Int&, ::Ice::Double&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateTribeActDegree(::Ice::Int, ::Ice::Double, ::Ice::Int, ::Ice::Double, ::Ice::Double, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBDeleteTribe(::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetAddedTribeNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBCheckAddedTribeFull(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeMemberNum(::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int TCAddTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Short, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::ALiIMDBTribe::STribeMemberSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeMemberInfo(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeMemberInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeMemberInfo2(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeMemberInfoSeq2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetUserTribe(const ::std::string&, ::ALiIMDBTribe::STribeIdSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetUserTribe2(const ::std::string&, ::ALiIMDBTribe::STribeIdSeq2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateMemberLevel(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateLastMsgId(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBDeleteMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddTribeOfflineMsg(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeOfflineMsg(::Ice::Int, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBDelTribeOfflineMsg(::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddTribeOffMngMsg(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeOffMngMsg(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBDelTribeOffMngMsg(::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetUserTribeConfig(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateUserTribeConfig(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateTribeCard(::Ice::Int, const ::std::string&, const ::ALiIMDBTribe::STribeCard&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeCard(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeCard&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateMemberActDegree(::Ice::Int, const ::std::string&, ::Ice::Double, ::Ice::Int, ::Ice::Double, ::Ice::Double, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeGroup(::Ice::Int, ::ALiIMDBTribe::STribeGroupSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddTribeGroup(::Ice::Int, const ::std::string&, ::Ice::Long, ::Ice::Long&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateTribeGroup(::Ice::Int, ::Ice::Long, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBDelTribeGroup(::Ice::Int, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateUserGroup(::Ice::Int, const ::std::string&, ::Ice::Long, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddStarMember(::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBDelStarMember(::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateOpenTribe(::Ice::Int, const ::std::string&, ::Ice::Short, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBNotifyTribeInfo(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeInfo2(::Ice::Int, ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeInfo3(::Ice::Int, ::ALiIMDBTribe::STribeInfo3&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBCreateTribe(const ::ALiIMDBTribe::STribeInfo2&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeIdByWebId(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddWebTribeMember(const ::ALiIMDBTribe::STribeMember2&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBDeleteWebMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetAllWebTribeGroup(::ALiIMDBTribe::SWebTribeGroupSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetWebTribeGroup(const ::std::string&, const ::std::string&, ::ALiIMDBTribe::SWebTribeGroup&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetWebTribeGroupById(::Ice::Long, ::ALiIMDBTribe::SWebTribeGroup&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddWebTribeGroup(const ::ALiIMDBTribe::SWebTribeGroup&, ::Ice::Long&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateWebTribeGroupName(::Ice::Long, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBDelWebTribeGroup(::Ice::Long, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetUserWebTribeGroup(const ::std::string&, ::ALiIMDBTribe::SWebTribeGroupSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetUserWebTribe(const ::std::string&, ::ALiIMDBTribe::SWebTribeIdSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateTribeInfo2(const ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBNotifyWebTribeInfo(const ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBSyncWebTribe(const ::std::string&, const ::std::string&, const ::ALiIMDBTribe::STribeInfo2&, const ::ALiIMDBTribe::STribeMember2Seq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetWebUserDisactiveTribe(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetWebUserActiveTribe(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBActiveTribeWebMember(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBDisactiveTribeWebMember(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBDeleteWebTribe(::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateTribeMsgSetting(::Ice::Int, const ::std::string&, ::Ice::Short, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBTransferTribe(::Ice::Int, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBCheckAddedTribeFull2(const ::std::string&, bool&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateTribeLimit(::Ice::Int, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBIncrUserTribes(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetUserTribeNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace ALiIMDBTribe -{ - -class TribeDBProxyMgr : virtual public ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int DBStartTribe(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeInfo(::Ice::Int, ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeInfo(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeMaster(::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeActiveDegree(::Ice::Int, ::Ice::Int&, ::Ice::Double&, ::Ice::Int&, ::Ice::Double&, ::Ice::Int&, ::Ice::Double&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeActDegree(::Ice::Int, ::Ice::Double, ::Ice::Int, ::Ice::Double, ::Ice::Double, const ::Ice::Context*); - - virtual ::Ice::Int DBDeleteTribe(::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBGetAddedTribeNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBCheckAddedTribeFull(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeMemberNum(::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int TCAddTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Short, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::ALiIMDBTribe::STribeMemberSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeMemberInfo(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeMemberInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeMemberInfo2(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeMemberInfoSeq2&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserTribe(const ::std::string&, ::ALiIMDBTribe::STribeIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserTribe2(const ::std::string&, ::ALiIMDBTribe::STribeIdSeq2&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateMemberLevel(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateLastMsgId(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBDeleteMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddTribeOfflineMsg(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeOfflineMsg(::Ice::Int, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelTribeOfflineMsg(::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBAddTribeOffMngMsg(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeOffMngMsg(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelTribeOffMngMsg(::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserTribeConfig(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateUserTribeConfig(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeCard(::Ice::Int, const ::std::string&, const ::ALiIMDBTribe::STribeCard&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeCard(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeCard&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateMemberActDegree(::Ice::Int, const ::std::string&, ::Ice::Double, ::Ice::Int, ::Ice::Double, ::Ice::Double, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeGroup(::Ice::Int, ::ALiIMDBTribe::STribeGroupSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddTribeGroup(::Ice::Int, const ::std::string&, ::Ice::Long, ::Ice::Long&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeGroup(::Ice::Int, ::Ice::Long, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelTribeGroup(::Ice::Int, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateUserGroup(::Ice::Int, const ::std::string&, ::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int DBAddStarMember(::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelStarMember(::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateOpenTribe(::Ice::Int, const ::std::string&, ::Ice::Short, const ::Ice::Context*); - - virtual ::Ice::Int DBNotifyTribeInfo(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeInfo2(::Ice::Int, ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeInfo3(::Ice::Int, ::ALiIMDBTribe::STribeInfo3&, const ::Ice::Context*); - - virtual ::Ice::Int DBCreateTribe(const ::ALiIMDBTribe::STribeInfo2&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeIdByWebId(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddWebTribeMember(const ::ALiIMDBTribe::STribeMember2&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBDeleteWebMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetAllWebTribeGroup(::ALiIMDBTribe::SWebTribeGroupSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetWebTribeGroup(const ::std::string&, const ::std::string&, ::ALiIMDBTribe::SWebTribeGroup&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetWebTribeGroupById(::Ice::Long, ::ALiIMDBTribe::SWebTribeGroup&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddWebTribeGroup(const ::ALiIMDBTribe::SWebTribeGroup&, ::Ice::Long&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateWebTribeGroupName(::Ice::Long, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelWebTribeGroup(::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserWebTribeGroup(const ::std::string&, ::ALiIMDBTribe::SWebTribeGroupSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserWebTribe(const ::std::string&, ::ALiIMDBTribe::SWebTribeIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeInfo2(const ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Context*); - - virtual ::Ice::Int DBNotifyWebTribeInfo(const ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Context*); - - virtual ::Ice::Int DBSyncWebTribe(const ::std::string&, const ::std::string&, const ::ALiIMDBTribe::STribeInfo2&, const ::ALiIMDBTribe::STribeMember2Seq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetWebUserDisactiveTribe(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetWebUserActiveTribe(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBActiveTribeWebMember(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBDisactiveTribeWebMember(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBDeleteWebTribe(::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeMsgSetting(::Ice::Int, const ::std::string&, ::Ice::Short, const ::Ice::Context*); - - virtual ::Ice::Int DBTransferTribe(::Ice::Int, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBCheckAddedTribeFull2(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeLimit(::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBIncrUserTribes(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserTribeNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace ALiIMDBTribe -{ - -class TribeDBProxyMgr : virtual public ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int DBStartTribe(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeInfo(::Ice::Int, ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeInfo(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeMaster(::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeActiveDegree(::Ice::Int, ::Ice::Int&, ::Ice::Double&, ::Ice::Int&, ::Ice::Double&, ::Ice::Int&, ::Ice::Double&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeActDegree(::Ice::Int, ::Ice::Double, ::Ice::Int, ::Ice::Double, ::Ice::Double, const ::Ice::Context*); - - virtual ::Ice::Int DBDeleteTribe(::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBGetAddedTribeNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBCheckAddedTribeFull(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeMemberNum(::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int TCAddTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Short, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::ALiIMDBTribe::STribeMemberSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeMemberInfo(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeMemberInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeMemberInfo2(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeMemberInfoSeq2&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserTribe(const ::std::string&, ::ALiIMDBTribe::STribeIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserTribe2(const ::std::string&, ::ALiIMDBTribe::STribeIdSeq2&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateMemberLevel(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateLastMsgId(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBDeleteMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddTribeOfflineMsg(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeOfflineMsg(::Ice::Int, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelTribeOfflineMsg(::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBAddTribeOffMngMsg(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeOffMngMsg(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelTribeOffMngMsg(::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserTribeConfig(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateUserTribeConfig(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeCard(::Ice::Int, const ::std::string&, const ::ALiIMDBTribe::STribeCard&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeCard(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeCard&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateMemberActDegree(::Ice::Int, const ::std::string&, ::Ice::Double, ::Ice::Int, ::Ice::Double, ::Ice::Double, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeGroup(::Ice::Int, ::ALiIMDBTribe::STribeGroupSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddTribeGroup(::Ice::Int, const ::std::string&, ::Ice::Long, ::Ice::Long&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeGroup(::Ice::Int, ::Ice::Long, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelTribeGroup(::Ice::Int, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateUserGroup(::Ice::Int, const ::std::string&, ::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int DBAddStarMember(::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelStarMember(::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateOpenTribe(::Ice::Int, const ::std::string&, ::Ice::Short, const ::Ice::Context*); - - virtual ::Ice::Int DBNotifyTribeInfo(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeInfo2(::Ice::Int, ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeInfo3(::Ice::Int, ::ALiIMDBTribe::STribeInfo3&, const ::Ice::Context*); - - virtual ::Ice::Int DBCreateTribe(const ::ALiIMDBTribe::STribeInfo2&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeIdByWebId(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddWebTribeMember(const ::ALiIMDBTribe::STribeMember2&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBDeleteWebMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetAllWebTribeGroup(::ALiIMDBTribe::SWebTribeGroupSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetWebTribeGroup(const ::std::string&, const ::std::string&, ::ALiIMDBTribe::SWebTribeGroup&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetWebTribeGroupById(::Ice::Long, ::ALiIMDBTribe::SWebTribeGroup&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddWebTribeGroup(const ::ALiIMDBTribe::SWebTribeGroup&, ::Ice::Long&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateWebTribeGroupName(::Ice::Long, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelWebTribeGroup(::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserWebTribeGroup(const ::std::string&, ::ALiIMDBTribe::SWebTribeGroupSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserWebTribe(const ::std::string&, ::ALiIMDBTribe::SWebTribeIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeInfo2(const ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Context*); - - virtual ::Ice::Int DBNotifyWebTribeInfo(const ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Context*); - - virtual ::Ice::Int DBSyncWebTribe(const ::std::string&, const ::std::string&, const ::ALiIMDBTribe::STribeInfo2&, const ::ALiIMDBTribe::STribeMember2Seq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetWebUserDisactiveTribe(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetWebUserActiveTribe(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBActiveTribeWebMember(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBDisactiveTribeWebMember(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBDeleteWebTribe(::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeMsgSetting(::Ice::Int, const ::std::string&, ::Ice::Short, const ::Ice::Context*); - - virtual ::Ice::Int DBTransferTribe(::Ice::Int, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBCheckAddedTribeFull2(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeLimit(::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBIncrUserTribes(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserTribeNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); -}; - -} - -} - -namespace ALiIMDBTribe -{ - -class TribeDBProxyMgr : virtual public ::Ice::Object -{ -public: - - typedef TribeDBProxyMgrPrx ProxyType; - typedef TribeDBProxyMgrPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int DBStartTribe(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBStartTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeInfo(::Ice::Int, ::ALiIMDBTribe::STribeInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateTribeInfo(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateTribeInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateTribeMaster(::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateTribeMaster(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeActiveDegree(::Ice::Int, ::Ice::Int&, ::Ice::Double&, ::Ice::Int&, ::Ice::Double&, ::Ice::Int&, ::Ice::Double&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeActiveDegree(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateTribeActDegree(::Ice::Int, ::Ice::Double, ::Ice::Int, ::Ice::Double, ::Ice::Double, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateTribeActDegree(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBDeleteTribe(::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBDeleteTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetAddedTribeNum(const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetAddedTribeNum(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBCheckAddedTribeFull(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBCheckAddedTribeFull(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeMemberNum(::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeMemberNum(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Long, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddTribeMember(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int TCAddTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Short, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___TCAddTribeMember(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::ALiIMDBTribe::STribeMemberSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeMember(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeMemberInfo(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeMemberInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeMemberInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeMemberInfo2(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeMemberInfoSeq2&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeMemberInfo2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetUserTribe(const ::std::string&, ::ALiIMDBTribe::STribeIdSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetUserTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetUserTribe2(const ::std::string&, ::ALiIMDBTribe::STribeIdSeq2&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetUserTribe2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateMemberLevel(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateMemberLevel(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateLastMsgId(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateLastMsgId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBDeleteMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBDeleteMember(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddTribeOfflineMsg(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddTribeOfflineMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeOfflineMsg(::Ice::Int, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeOfflineMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBDelTribeOfflineMsg(::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBDelTribeOfflineMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddTribeOffMngMsg(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddTribeOffMngMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeOffMngMsg(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeOffMngMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBDelTribeOffMngMsg(::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBDelTribeOffMngMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetUserTribeConfig(const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetUserTribeConfig(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateUserTribeConfig(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateUserTribeConfig(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateTribeCard(::Ice::Int, const ::std::string&, const ::ALiIMDBTribe::STribeCard&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateTribeCard(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeCard(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeCard&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeCard(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateMemberActDegree(::Ice::Int, const ::std::string&, ::Ice::Double, ::Ice::Int, ::Ice::Double, ::Ice::Double, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateMemberActDegree(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeGroup(::Ice::Int, ::ALiIMDBTribe::STribeGroupSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddTribeGroup(::Ice::Int, const ::std::string&, ::Ice::Long, ::Ice::Long&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddTribeGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateTribeGroup(::Ice::Int, ::Ice::Long, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateTribeGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBDelTribeGroup(::Ice::Int, ::Ice::Long, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBDelTribeGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateUserGroup(::Ice::Int, const ::std::string&, ::Ice::Long, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateUserGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddStarMember(::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddStarMember(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBDelStarMember(::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBDelStarMember(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateOpenTribe(::Ice::Int, const ::std::string&, ::Ice::Short, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateOpenTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBNotifyTribeInfo(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBNotifyTribeInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeInfo2(::Ice::Int, ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeInfo2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeInfo3(::Ice::Int, ::ALiIMDBTribe::STribeInfo3&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeInfo3(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBCreateTribe(const ::ALiIMDBTribe::STribeInfo2&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBCreateTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeIdByWebId(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeIdByWebId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddWebTribeMember(const ::ALiIMDBTribe::STribeMember2&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddWebTribeMember(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBDeleteWebMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBDeleteWebMember(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetAllWebTribeGroup(::ALiIMDBTribe::SWebTribeGroupSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetAllWebTribeGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetWebTribeGroup(const ::std::string&, const ::std::string&, ::ALiIMDBTribe::SWebTribeGroup&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetWebTribeGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetWebTribeGroupById(::Ice::Long, ::ALiIMDBTribe::SWebTribeGroup&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetWebTribeGroupById(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddWebTribeGroup(const ::ALiIMDBTribe::SWebTribeGroup&, ::Ice::Long&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddWebTribeGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateWebTribeGroupName(::Ice::Long, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateWebTribeGroupName(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBDelWebTribeGroup(::Ice::Long, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBDelWebTribeGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetUserWebTribeGroup(const ::std::string&, ::ALiIMDBTribe::SWebTribeGroupSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetUserWebTribeGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetUserWebTribe(const ::std::string&, ::ALiIMDBTribe::SWebTribeIdSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetUserWebTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateTribeInfo2(const ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateTribeInfo2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBNotifyWebTribeInfo(const ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBNotifyWebTribeInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBSyncWebTribe(const ::std::string&, const ::std::string&, const ::ALiIMDBTribe::STribeInfo2&, const ::ALiIMDBTribe::STribeMember2Seq&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBSyncWebTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetWebUserDisactiveTribe(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::IntSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetWebUserDisactiveTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetWebUserActiveTribe(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::IntSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetWebUserActiveTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBActiveTribeWebMember(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBActiveTribeWebMember(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBDisactiveTribeWebMember(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBDisactiveTribeWebMember(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBDeleteWebTribe(::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBDeleteWebTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateTribeMsgSetting(::Ice::Int, const ::std::string&, ::Ice::Short, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateTribeMsgSetting(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBTransferTribe(::Ice::Int, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBTransferTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBCheckAddedTribeFull2(const ::std::string&, bool&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBCheckAddedTribeFull2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateTribeLimit(::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateTribeLimit(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBIncrUserTribes(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBIncrUserTribes(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetUserTribeNum(const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetUserTribeNum(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__TribeDBProxyMgrPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/dbtbsstructs60.h.svn-base b/features/aliww/include/.svn/text-base/dbtbsstructs60.h.svn-base deleted file mode 100644 index 6794204..0000000 --- a/features/aliww/include/.svn/text-base/dbtbsstructs60.h.svn-base +++ /dev/null @@ -1,624 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbtbsstructs60.ice' - -#ifndef __dbtbsstructs60_h__ -#define __dbtbsstructs60_h__ - -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace ALiIMDBTribe -{ - -struct STribeInfo -{ - ::Ice::Long tribeId; - ::std::string name; - ::std::string masterId; - ::std::string createrId; - ::Ice::Int tribeclass; - ::std::string describe; - ::std::string bulletin; - ::Ice::Short checkMode; - ::std::string password; - ::std::string validateCode; - ::Ice::Int lastMsgid; - ::Ice::Int memberTimes; - ::Ice::Int onlineTimes; - ::Ice::Double onlineDegree; - ::Ice::Int discussDegree; - ::Ice::Double rewardDegree; - ::Ice::Int masterOffer; - ::Ice::Double totalDegree; - ::std::string keyword; - ::Ice::Short allowVisitor; - ::Ice::Short forbidSearch; - ::std::string extSign; - ::Ice::Int groupStamp; - ::Ice::Int blackStamp; - - bool operator==(const STribeInfo&) const; - bool operator!=(const STribeInfo&) const; - bool operator<(const STribeInfo&) const; - bool operator<=(const STribeInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct STribeOfflineMsg -{ - ::Ice::Long tribeId; - ::std::string memberId; - ::Ice::Short type; - ::std::string message; - ::Ice::Int sendTime; - - bool operator==(const STribeOfflineMsg&) const; - bool operator!=(const STribeOfflineMsg&) const; - bool operator<(const STribeOfflineMsg&) const; - bool operator<=(const STribeOfflineMsg& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeOfflineMsg& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeOfflineMsg& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct STribeMemberInfo -{ - ::std::string userId; - ::std::string name; - ::Ice::Short memberLevel; - ::Ice::Short tribeLevel; - ::Ice::Short mobileBindFlag; - ::std::string mobileNo; - ::std::string bindMobile; - ::Ice::Int lastMsgid; - ::Ice::Double onlineDegree; - ::Ice::Int discussDegree; - ::Ice::Double rewardDegree; - ::Ice::Double totalDegree; - ::Ice::Long groupId; - ::Ice::Short starMember; - ::Ice::Short openFlag; - - bool operator==(const STribeMemberInfo&) const; - bool operator!=(const STribeMemberInfo&) const; - bool operator<(const STribeMemberInfo&) const; - bool operator<=(const STribeMemberInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeMemberInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeMemberInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct STribeMemberInfo2 -{ - ::std::string userId; - ::std::string name; - ::Ice::Short memberLevel; - ::Ice::Short tribeLevel; - ::Ice::Short mobileBindFlag; - ::std::string mobileNo; - ::std::string bindMobile; - ::Ice::Int lastMsgid; - ::Ice::Double onlineDegree; - ::Ice::Int discussDegree; - ::Ice::Double rewardDegree; - ::Ice::Double totalDegree; - ::Ice::Long groupId; - ::Ice::Short starMember; - ::Ice::Short openFlag; - ::Ice::Int popupFlag; - - bool operator==(const STribeMemberInfo2&) const; - bool operator!=(const STribeMemberInfo2&) const; - bool operator<(const STribeMemberInfo2&) const; - bool operator<=(const STribeMemberInfo2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeMemberInfo2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeMemberInfo2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct STribeMember -{ - ::Ice::Long tribeId; - ::std::string memberId; - ::Ice::Int level; - ::Ice::Int lastMsgid; - ::std::string operId; - ::Ice::Long groupId; - - bool operator==(const STribeMember&) const; - bool operator!=(const STribeMember&) const; - bool operator<(const STribeMember&) const; - bool operator<=(const STribeMember& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeMember& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeMember& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct STribeId -{ - ::Ice::Long tribeId; - ::std::string name; - ::Ice::Short tribeLevel; - ::Ice::Short tribeStatus; - ::std::string extSign; - ::Ice::Int groupStamp; - ::Ice::Short openTribe; - - bool operator==(const STribeId&) const; - bool operator!=(const STribeId&) const; - bool operator<(const STribeId&) const; - bool operator<=(const STribeId& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeId& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeId& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct STribeId2 -{ - ::Ice::Long tribeId; - ::std::string name; - ::Ice::Short tribeLevel; - ::Ice::Short tribeStatus; - ::std::string extSign; - ::Ice::Int groupStamp; - ::Ice::Short openTribe; - ::Ice::Short popupFlag; - - bool operator==(const STribeId2&) const; - bool operator!=(const STribeId2&) const; - bool operator<(const STribeId2&) const; - bool operator<=(const STribeId2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeId2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeId2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct STribeIdDb -{ - ::Ice::Long tribeId; - ::std::string name; - ::Ice::Short tribeLevel; - ::Ice::Short tribeStatus; - - bool operator==(const STribeIdDb&) const; - bool operator!=(const STribeIdDb&) const; - bool operator<(const STribeIdDb&) const; - bool operator<=(const STribeIdDb& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeIdDb& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeIdDb& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct STribeGroup -{ - ::Ice::Long tribeId; - ::Ice::Long groupId; - ::std::string groupName; - ::Ice::Long parentId; - - bool operator==(const STribeGroup&) const; - bool operator!=(const STribeGroup&) const; - bool operator<(const STribeGroup&) const; - bool operator<=(const STribeGroup& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeGroup& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeGroup& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::ALiIMDBTribe::STribeMemberInfo> STribeMemberInfoSeq; - -class __U__STribeMemberInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBTribe::STribeMemberInfo*, const ::ALiIMDBTribe::STribeMemberInfo*, __U__STribeMemberInfoSeq); -void __read(::IceInternal::BasicStream*, STribeMemberInfoSeq&, __U__STribeMemberInfoSeq); - -typedef ::std::vector< ::ALiIMDBTribe::STribeMemberInfo2> STribeMemberInfoSeq2; - -class __U__STribeMemberInfoSeq2 { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBTribe::STribeMemberInfo2*, const ::ALiIMDBTribe::STribeMemberInfo2*, __U__STribeMemberInfoSeq2); -void __read(::IceInternal::BasicStream*, STribeMemberInfoSeq2&, __U__STribeMemberInfoSeq2); - -typedef ::std::vector< ::ALiIMDBTribe::STribeOfflineMsg> STribeOfflineMsgSeq; - -class __U__STribeOfflineMsgSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBTribe::STribeOfflineMsg*, const ::ALiIMDBTribe::STribeOfflineMsg*, __U__STribeOfflineMsgSeq); -void __read(::IceInternal::BasicStream*, STribeOfflineMsgSeq&, __U__STribeOfflineMsgSeq); - -typedef ::std::vector< ::ALiIMDBTribe::STribeMember> STribeMemberSeq; - -class __U__STribeMemberSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBTribe::STribeMember*, const ::ALiIMDBTribe::STribeMember*, __U__STribeMemberSeq); -void __read(::IceInternal::BasicStream*, STribeMemberSeq&, __U__STribeMemberSeq); - -typedef ::std::vector< ::ALiIMDBTribe::STribeId> STribeIdSeq; - -class __U__STribeIdSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBTribe::STribeId*, const ::ALiIMDBTribe::STribeId*, __U__STribeIdSeq); -void __read(::IceInternal::BasicStream*, STribeIdSeq&, __U__STribeIdSeq); - -typedef ::std::vector< ::ALiIMDBTribe::STribeId2> STribeIdSeq2; - -class __U__STribeIdSeq2 { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBTribe::STribeId2*, const ::ALiIMDBTribe::STribeId2*, __U__STribeIdSeq2); -void __read(::IceInternal::BasicStream*, STribeIdSeq2&, __U__STribeIdSeq2); - -typedef ::std::vector< ::ALiIMDBTribe::STribeIdDb> STribeIdDbSeq; - -class __U__STribeIdDbSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBTribe::STribeIdDb*, const ::ALiIMDBTribe::STribeIdDb*, __U__STribeIdDbSeq); -void __read(::IceInternal::BasicStream*, STribeIdDbSeq&, __U__STribeIdDbSeq); - -typedef ::std::vector< ::ALiIMDBTribe::STribeGroup> STribeGroupSeq; - -class __U__STribeGroupSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBTribe::STribeGroup*, const ::ALiIMDBTribe::STribeGroup*, __U__STribeGroupSeq); -void __read(::IceInternal::BasicStream*, STribeGroupSeq&, __U__STribeGroupSeq); - -struct STribeCard -{ - ::Ice::Long tribeId; - ::std::string memberId; - ::std::string realName; - ::std::string phoneNum; - ::std::string mobileNum; - ::std::string email; - ::std::string address; - ::std::string memo; - - bool operator==(const STribeCard&) const; - bool operator!=(const STribeCard&) const; - bool operator<(const STribeCard&) const; - bool operator<=(const STribeCard& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeCard& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeCard& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct STribeInfo2 -{ - ::Ice::Long tribeId; - ::std::string name; - ::std::string masterId; - ::std::string createrId; - ::Ice::Int tribeclass; - ::std::string describe; - ::std::string bulletin; - ::Ice::Short checkMode; - ::std::string password; - ::std::string validateCode; - ::Ice::Int lastMsgid; - ::Ice::Int memberTimes; - ::Ice::Int onlineTimes; - ::Ice::Double onlineDegree; - ::Ice::Int discussDegree; - ::Ice::Double rewardDegree; - ::Ice::Int masterOffer; - ::Ice::Double totalDegree; - ::std::string keyword; - ::Ice::Short allowVisitor; - ::Ice::Short forbidSearch; - ::std::string extSign; - ::Ice::Int groupStamp; - ::Ice::Int blackStamp; - ::std::string webTid; - ::Ice::Long groupId; - - bool operator==(const STribeInfo2&) const; - bool operator!=(const STribeInfo2&) const; - bool operator<(const STribeInfo2&) const; - bool operator<=(const STribeInfo2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeInfo2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeInfo2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct STribeMember2 -{ - ::Ice::Long tribeId; - ::std::string memberId; - ::std::string name; - ::Ice::Int level; - ::Ice::Int lastMsgid; - ::std::string operId; - ::Ice::Long groupId; - - bool operator==(const STribeMember2&) const; - bool operator!=(const STribeMember2&) const; - bool operator<(const STribeMember2&) const; - bool operator<=(const STribeMember2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeMember2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeMember2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::ALiIMDBTribe::STribeMember2> STribeMember2Seq; - -class __U__STribeMember2Seq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBTribe::STribeMember2*, const ::ALiIMDBTribe::STribeMember2*, __U__STribeMember2Seq); -void __read(::IceInternal::BasicStream*, STribeMember2Seq&, __U__STribeMember2Seq); - -struct STribeInfo3 -{ - ::Ice::Long tribeId; - ::std::string name; - ::std::string masterId; - ::std::string createrId; - ::Ice::Int tribeclass; - ::std::string describe; - ::std::string bulletin; - ::Ice::Short checkMode; - ::std::string password; - ::std::string validateCode; - ::Ice::Int lastMsgid; - ::Ice::Int memberTimes; - ::Ice::Int onlineTimes; - ::Ice::Double onlineDegree; - ::Ice::Int discussDegree; - ::Ice::Double rewardDegree; - ::Ice::Int masterOffer; - ::Ice::Double totalDegree; - ::std::string keyword; - ::Ice::Short allowVisitor; - ::Ice::Short forbidSearch; - ::std::string extSign; - ::Ice::Int groupStamp; - ::Ice::Int blackStamp; - ::std::string webTid; - ::Ice::Long groupId; - ::Ice::Int tribeLimit; - - bool operator==(const STribeInfo3&) const; - bool operator!=(const STribeInfo3&) const; - bool operator<(const STribeInfo3&) const; - bool operator<=(const STribeInfo3& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeInfo3& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeInfo3& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SWebTribeGroup -{ - ::Ice::Long groupId; - ::std::string groupName; - ::std::string serviceId; - ::std::string siteId; - ::std::string webId; - - bool operator==(const SWebTribeGroup&) const; - bool operator!=(const SWebTribeGroup&) const; - bool operator<(const SWebTribeGroup&) const; - bool operator<=(const SWebTribeGroup& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SWebTribeGroup& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SWebTribeGroup& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::ALiIMDBTribe::SWebTribeGroup> SWebTribeGroupSeq; - -class __U__SWebTribeGroupSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBTribe::SWebTribeGroup*, const ::ALiIMDBTribe::SWebTribeGroup*, __U__SWebTribeGroupSeq); -void __read(::IceInternal::BasicStream*, SWebTribeGroupSeq&, __U__SWebTribeGroupSeq); - -struct SWebTribeId -{ - ::Ice::Long tribeId; - ::std::string name; - ::Ice::Short tribeLevel; - ::Ice::Short tribeStatus; - ::std::string extSign; - ::Ice::Int groupStamp; - ::Ice::Short openTribe; - ::std::string webTid; - ::Ice::Long groupId; - - bool operator==(const SWebTribeId&) const; - bool operator!=(const SWebTribeId&) const; - bool operator<(const SWebTribeId&) const; - bool operator<=(const SWebTribeId& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SWebTribeId& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SWebTribeId& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::ALiIMDBTribe::SWebTribeId> SWebTribeIdSeq; - -class __U__SWebTribeIdSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBTribe::SWebTribeId*, const ::ALiIMDBTribe::SWebTribeId*, __U__SWebTribeIdSeq); -void __read(::IceInternal::BasicStream*, SWebTribeIdSeq&, __U__SWebTribeIdSeq); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/ddbadmin_perf_test.h.svn-base b/features/aliww/include/.svn/text-base/ddbadmin_perf_test.h.svn-base deleted file mode 100644 index dbf4b17..0000000 --- a/features/aliww/include/.svn/text-base/ddbadmin_perf_test.h.svn-base +++ /dev/null @@ -1,34 +0,0 @@ -#ifndef _DDBAdmin_PERF_TEST_H -#define _DDBAdmin_PERF_TEST_H - -#include "paramutil.h" -#include "cbenchmark.h" -#include "DDBInterface.h" -#include -#include - -using namespace std; -using namespace Ice; -using namespace AliDDB; - -typedef struct ddbadmin_t{ - AliDDBInterfacePrx *ddbadmin; - Ice::CommunicatorPtr *ic; -}ddbadmin_st; - -#ifdef __cplusplus -extern "C" { -#endif - -void* ddbadmin_init(void *p); -void* ddbadmin_end(void *p); - -void* ddbadmin_insertRecord(void *p); -void* ddbadmin_getRecord(void *p); -void* ddbadmin_updateRecord(void *p); -void* ddbadmin_deleteRecord(void *p); -void* ddbadmin_insertRecord_delete(void *p); -#ifdef __cplusplus -} -#endif -#endif diff --git a/features/aliww/include/.svn/text-base/des.h.svn-base b/features/aliww/include/.svn/text-base/des.h.svn-base deleted file mode 100644 index 0849923..0000000 --- a/features/aliww/include/.svn/text-base/des.h.svn-base +++ /dev/null @@ -1,36 +0,0 @@ -// DES function prototypes - -#ifndef __DES_H_ -#define __DES_H_ - -#include - -class CDesEncrypt -{ -public: -//mode == 0: standard Data Encryption Algorithm -//mode == 1: DEA without initial and final permutations for speed -//mode == 2: DEA without permutations and with 128-byte key (completely -// independent subkeys for each round) - CDesEncrypt(int mode = 0) : m_mode(mode) { }; - ~CDesEncrypt() { } - - void SetMode(int mode) - { - m_mode = mode; - } - - std::string SetKey(const std::string& key); - - std::string Encrypt(const std::string& data, const std::string& desKey); - - std::string Decrypt(const std::string& data, const std::string& desKey); - - void Encrypt(std::string& data, const std::string& desKey, std::string::size_type offset); - - void Decrypt(std::string& data, const std::string& desKey, std::string::size_type offset); -private: - int m_mode; -}; - -#endif //__DES_H diff --git a/features/aliww/include/.svn/text-base/es_eval_service.h.svn-base b/features/aliww/include/.svn/text-base/es_eval_service.h.svn-base deleted file mode 100644 index 4a82db4..0000000 --- a/features/aliww/include/.svn/text-base/es_eval_service.h.svn-base +++ /dev/null @@ -1,504 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `es_eval_service.ice' - -#ifndef __es_eval_service_h__ -#define __es_eval_service_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace IMSINNER -{ - -class ESICEEval; -bool operator==(const ESICEEval&, const ESICEEval&); -bool operator!=(const ESICEEval&, const ESICEEval&); -bool operator<(const ESICEEval&, const ESICEEval&); -bool operator<=(const ESICEEval&, const ESICEEval&); -bool operator>(const ESICEEval&, const ESICEEval&); -bool operator>=(const ESICEEval&, const ESICEEval&); - -} - -} - -namespace IMSINNER -{ - -class ESICEEval; -bool operator==(const ESICEEval&, const ESICEEval&); -bool operator!=(const ESICEEval&, const ESICEEval&); -bool operator<(const ESICEEval&, const ESICEEval&); -bool operator<=(const ESICEEval&, const ESICEEval&); -bool operator>(const ESICEEval&, const ESICEEval&); -bool operator>=(const ESICEEval&, const ESICEEval&); - -} - -namespace IceInternal -{ - -void incRef(::IMSINNER::ESICEEval*); -void decRef(::IMSINNER::ESICEEval*); - -void incRef(::IceProxy::IMSINNER::ESICEEval*); -void decRef(::IceProxy::IMSINNER::ESICEEval*); - -} - -namespace IMSINNER -{ - -typedef ::IceInternal::Handle< ::IMSINNER::ESICEEval> ESICEEvalPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::IMSINNER::ESICEEval> ESICEEvalPrx; - -void __write(::IceInternal::BasicStream*, const ESICEEvalPrx&); -void __read(::IceInternal::BasicStream*, ESICEEvalPrx&); -void __write(::IceInternal::BasicStream*, const ESICEEvalPtr&); -void __patch__ESICEEvalPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const ESICEEvalPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const ESICEEvalPtr&); -void __decRefUnsafe(const ESICEEvalPtr&); -void __clearHandleUnsafe(ESICEEvalPtr&); - -} - -namespace IMSINNER -{ - -struct SICEESEval -{ - ::Ice::Int code; - ::std::string codename; - ::std::string welcome; - - bool operator==(const SICEESEval&) const; - bool operator!=(const SICEESEval&) const; - bool operator<(const SICEESEval&) const; - bool operator<=(const SICEESEval& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEESEval& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEESEval& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMSINNER::SICEESEval> SICEESEvalSeq; - -class __U__SICEESEvalSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SICEESEval*, const ::IMSINNER::SICEESEval*, __U__SICEESEvalSeq); -void __read(::IceInternal::BasicStream*, SICEESEvalSeq&, __U__SICEESEvalSeq); - -struct SICEESCode -{ - ::Ice::Int code; - ::std::string codename; - ::Ice::Int num; - - bool operator==(const SICEESCode&) const; - bool operator!=(const SICEESCode&) const; - bool operator<(const SICEESCode&) const; - bool operator<=(const SICEESCode& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEESCode& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEESCode& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMSINNER::SICEESCode> SICEESCodeSeq; - -class __U__SICEESCodeSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SICEESCode*, const ::IMSINNER::SICEESCode*, __U__SICEESCodeSeq); -void __read(::IceInternal::BasicStream*, SICEESCodeSeq&, __U__SICEESCodeSeq); - -struct SICEESEvalResult -{ - ::std::string uid; - ::Ice::Int sendNum; - ::Ice::Int receNum; - ::IMSINNER::SICEESCodeSeq codes; - - bool operator==(const SICEESEvalResult&) const; - bool operator!=(const SICEESEvalResult&) const; - bool operator<(const SICEESEvalResult&) const; - bool operator<=(const SICEESEvalResult& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEESEvalResult& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEESEvalResult& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMSINNER::SICEESEvalResult> SICEESEvalResultSeq; - -class __U__SICEESEvalResultSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SICEESEvalResult*, const ::IMSINNER::SICEESEvalResult*, __U__SICEESEvalResultSeq); -void __read(::IceInternal::BasicStream*, SICEESEvalResultSeq&, __U__SICEESEvalResultSeq); - -struct SICEESEvalResultEx -{ - ::std::string uid; - ::Ice::Int sendNum; - ::Ice::Int receNum; - ::IMSINNER::SICEESCodeSeq codes; - ::std::string evalDate; - - bool operator==(const SICEESEvalResultEx&) const; - bool operator!=(const SICEESEvalResultEx&) const; - bool operator<(const SICEESEvalResultEx&) const; - bool operator<=(const SICEESEvalResultEx& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEESEvalResultEx& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEESEvalResultEx& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMSINNER::SICEESEvalResultEx> SICEESEvalResultExSeq; - -class __U__SICEESEvalResultExSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SICEESEvalResultEx*, const ::IMSINNER::SICEESEvalResultEx*, __U__SICEESEvalResultExSeq); -void __read(::IceInternal::BasicStream*, SICEESEvalResultExSeq&, __U__SICEESEvalResultExSeq); - -} - -namespace IceProxy -{ - -namespace IMSINNER -{ - -class ESICEEval : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int setESEval(const ::std::string& uid, const ::std::string& evalcontent, const ::std::string& welcome) - { - return setESEval(uid, evalcontent, welcome, 0); - } - ::Ice::Int setESEval(const ::std::string& uid, const ::std::string& evalcontent, const ::std::string& welcome, const ::Ice::Context& __ctx) - { - return setESEval(uid, evalcontent, welcome, &__ctx); - } - -private: - - ::Ice::Int setESEval(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getESEval(const ::std::string& uid, ::std::string& evalcontent, ::std::string& welcome) - { - return getESEval(uid, evalcontent, welcome, 0); - } - ::Ice::Int getESEval(const ::std::string& uid, ::std::string& evalcontent, ::std::string& welcome, const ::Ice::Context& __ctx) - { - return getESEval(uid, evalcontent, welcome, &__ctx); - } - -private: - - ::Ice::Int getESEval(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int setESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, const ::std::string& evalresult) - { - return setESEvalResult(uid, buyerid, evalId, evalresult, 0); - } - ::Ice::Int setESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, const ::std::string& evalresult, const ::Ice::Context& __ctx) - { - return setESEvalResult(uid, buyerid, evalId, evalresult, &__ctx); - } - -private: - - ::Ice::Int setESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, ::std::string& evalresult, ::std::string& gmtcreate, ::std::string& gmtmodify) - { - return getESEvalResult(uid, buyerid, evalId, evalresult, gmtcreate, gmtmodify, 0); - } - ::Ice::Int getESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, ::std::string& evalresult, ::std::string& gmtcreate, ::std::string& gmtmodify, const ::Ice::Context& __ctx) - { - return getESEvalResult(uid, buyerid, evalId, evalresult, gmtcreate, gmtmodify, &__ctx); - } - -private: - - ::Ice::Int getESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getESEvalResultToday(const ::std::string& uid, ::IMSINNER::SICEESEvalResultSeq& evalInfos) - { - return getESEvalResultToday(uid, evalInfos, 0); - } - ::Ice::Int getESEvalResultToday(const ::std::string& uid, ::IMSINNER::SICEESEvalResultSeq& evalInfos, const ::Ice::Context& __ctx) - { - return getESEvalResultToday(uid, evalInfos, &__ctx); - } - -private: - - ::Ice::Int getESEvalResultToday(const ::std::string&, ::IMSINNER::SICEESEvalResultSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESEvalResultHistory(const ::std::string& uid, const ::std::string& querytime, ::IMSINNER::SICEESEvalResultSeq& evalInfos) - { - return getESEvalResultHistory(uid, querytime, evalInfos, 0); - } - ::Ice::Int getESEvalResultHistory(const ::std::string& uid, const ::std::string& querytime, ::IMSINNER::SICEESEvalResultSeq& evalInfos, const ::Ice::Context& __ctx) - { - return getESEvalResultHistory(uid, querytime, evalInfos, &__ctx); - } - -private: - - ::Ice::Int getESEvalResultHistory(const ::std::string&, const ::std::string&, ::IMSINNER::SICEESEvalResultSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESEvalResultHistorybypage(const ::std::string& uid, const ::std::string& childid, const ::std::string& begindate, const ::std::string& enddate, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& pagecount, ::IMSINNER::SICEESEvalResultExSeq& evalInfos) - { - return getESEvalResultHistorybypage(uid, childid, begindate, enddate, pageno, pagesize, pagecount, evalInfos, 0); - } - ::Ice::Int getESEvalResultHistorybypage(const ::std::string& uid, const ::std::string& childid, const ::std::string& begindate, const ::std::string& enddate, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& pagecount, ::IMSINNER::SICEESEvalResultExSeq& evalInfos, const ::Ice::Context& __ctx) - { - return getESEvalResultHistorybypage(uid, childid, begindate, enddate, pageno, pagesize, pagecount, evalInfos, &__ctx); - } - -private: - - ::Ice::Int getESEvalResultHistorybypage(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::IMSINNER::SICEESEvalResultExSeq&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace IMSINNER -{ - -class ESICEEval : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int setESEval(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESEval(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESEvalResultToday(const ::std::string&, ::IMSINNER::SICEESEvalResultSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESEvalResultHistory(const ::std::string&, const ::std::string&, ::IMSINNER::SICEESEvalResultSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESEvalResultHistorybypage(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::IMSINNER::SICEESEvalResultExSeq&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace IMSINNER -{ - -class ESICEEval : virtual public ::IceDelegate::IMSINNER::ESICEEval, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int setESEval(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getESEval(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResultToday(const ::std::string&, ::IMSINNER::SICEESEvalResultSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResultHistory(const ::std::string&, const ::std::string&, ::IMSINNER::SICEESEvalResultSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResultHistorybypage(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::IMSINNER::SICEESEvalResultExSeq&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace IMSINNER -{ - -class ESICEEval : virtual public ::IceDelegate::IMSINNER::ESICEEval, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int setESEval(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getESEval(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResultToday(const ::std::string&, ::IMSINNER::SICEESEvalResultSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResultHistory(const ::std::string&, const ::std::string&, ::IMSINNER::SICEESEvalResultSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResultHistorybypage(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::IMSINNER::SICEESEvalResultExSeq&, const ::Ice::Context*); -}; - -} - -} - -namespace IMSINNER -{ - -class ESICEEval : virtual public ::Ice::Object -{ -public: - - typedef ESICEEvalPrx ProxyType; - typedef ESICEEvalPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int setESEval(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setESEval(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESEval(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESEval(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setESEvalResult(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESEvalResult(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESEvalResultToday(const ::std::string&, ::IMSINNER::SICEESEvalResultSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESEvalResultToday(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESEvalResultHistory(const ::std::string&, const ::std::string&, ::IMSINNER::SICEESEvalResultSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESEvalResultHistory(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESEvalResultHistorybypage(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::IMSINNER::SICEESEvalResultExSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESEvalResultHistorybypage(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__ESICEEvalPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/es_expandarea_service.h.svn-base b/features/aliww/include/.svn/text-base/es_expandarea_service.h.svn-base deleted file mode 100644 index 66e993d..0000000 --- a/features/aliww/include/.svn/text-base/es_expandarea_service.h.svn-base +++ /dev/null @@ -1,359 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `es_expandarea_service.ice' - -#ifndef __es_expandarea_service_h__ -#define __es_expandarea_service_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace IMSINNER -{ - -class ESICEExpandArea; -bool operator==(const ESICEExpandArea&, const ESICEExpandArea&); -bool operator!=(const ESICEExpandArea&, const ESICEExpandArea&); -bool operator<(const ESICEExpandArea&, const ESICEExpandArea&); -bool operator<=(const ESICEExpandArea&, const ESICEExpandArea&); -bool operator>(const ESICEExpandArea&, const ESICEExpandArea&); -bool operator>=(const ESICEExpandArea&, const ESICEExpandArea&); - -} - -} - -namespace IMSINNER -{ - -class ESICEExpandArea; -bool operator==(const ESICEExpandArea&, const ESICEExpandArea&); -bool operator!=(const ESICEExpandArea&, const ESICEExpandArea&); -bool operator<(const ESICEExpandArea&, const ESICEExpandArea&); -bool operator<=(const ESICEExpandArea&, const ESICEExpandArea&); -bool operator>(const ESICEExpandArea&, const ESICEExpandArea&); -bool operator>=(const ESICEExpandArea&, const ESICEExpandArea&); - -} - -namespace IceInternal -{ - -void incRef(::IMSINNER::ESICEExpandArea*); -void decRef(::IMSINNER::ESICEExpandArea*); - -void incRef(::IceProxy::IMSINNER::ESICEExpandArea*); -void decRef(::IceProxy::IMSINNER::ESICEExpandArea*); - -} - -namespace IMSINNER -{ - -typedef ::IceInternal::Handle< ::IMSINNER::ESICEExpandArea> ESICEExpandAreaPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::IMSINNER::ESICEExpandArea> ESICEExpandAreaPrx; - -void __write(::IceInternal::BasicStream*, const ESICEExpandAreaPrx&); -void __read(::IceInternal::BasicStream*, ESICEExpandAreaPrx&); -void __write(::IceInternal::BasicStream*, const ESICEExpandAreaPtr&); -void __patch__ESICEExpandAreaPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const ESICEExpandAreaPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const ESICEExpandAreaPtr&); -void __decRefUnsafe(const ESICEExpandAreaPtr&); -void __clearHandleUnsafe(ESICEExpandAreaPtr&); - -} - -namespace IMSINNER -{ - -struct SICEExpandArea -{ - ::Ice::Int id; - ::std::string areaname; - ::std::string url; - ::std::string picpath; - ::std::string createtime; - - bool operator==(const SICEExpandArea&) const; - bool operator!=(const SICEExpandArea&) const; - bool operator<(const SICEExpandArea&) const; - bool operator<=(const SICEExpandArea& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEExpandArea& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEExpandArea& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMSINNER::SICEExpandArea> SICEExpandAreaSeq; - -class __U__SICEExpandAreaSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SICEExpandArea*, const ::IMSINNER::SICEExpandArea*, __U__SICEExpandAreaSeq); -void __read(::IceInternal::BasicStream*, SICEExpandAreaSeq&, __U__SICEExpandAreaSeq); - -} - -namespace IceProxy -{ - -namespace IMSINNER -{ - -class ESICEExpandArea : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int getESExpandArea(const ::std::string& uid, ::IMSINNER::SICEExpandAreaSeq& areaInfos) - { - return getESExpandArea(uid, areaInfos, 0); - } - ::Ice::Int getESExpandArea(const ::std::string& uid, ::IMSINNER::SICEExpandAreaSeq& areaInfos, const ::Ice::Context& __ctx) - { - return getESExpandArea(uid, areaInfos, &__ctx); - } - -private: - - ::Ice::Int getESExpandArea(const ::std::string&, ::IMSINNER::SICEExpandAreaSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESExpandAreaById(const ::std::string& uid, ::Ice::Int id, ::IMSINNER::SICEExpandArea& areaInfos) - { - return getESExpandAreaById(uid, id, areaInfos, 0); - } - ::Ice::Int getESExpandAreaById(const ::std::string& uid, ::Ice::Int id, ::IMSINNER::SICEExpandArea& areaInfos, const ::Ice::Context& __ctx) - { - return getESExpandAreaById(uid, id, areaInfos, &__ctx); - } - -private: - - ::Ice::Int getESExpandAreaById(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEExpandArea&, const ::Ice::Context*); - -public: - - ::Ice::Int addESExpandArea(const ::std::string& uid, const ::IMSINNER::SICEExpandArea& areaInfo) - { - return addESExpandArea(uid, areaInfo, 0); - } - ::Ice::Int addESExpandArea(const ::std::string& uid, const ::IMSINNER::SICEExpandArea& areaInfo, const ::Ice::Context& __ctx) - { - return addESExpandArea(uid, areaInfo, &__ctx); - } - -private: - - ::Ice::Int addESExpandArea(const ::std::string&, const ::IMSINNER::SICEExpandArea&, const ::Ice::Context*); - -public: - - ::Ice::Int updateESExpandArea(const ::std::string& uid, const ::IMSINNER::SICEExpandArea& areaInfo) - { - return updateESExpandArea(uid, areaInfo, 0); - } - ::Ice::Int updateESExpandArea(const ::std::string& uid, const ::IMSINNER::SICEExpandArea& areaInfo, const ::Ice::Context& __ctx) - { - return updateESExpandArea(uid, areaInfo, &__ctx); - } - -private: - - ::Ice::Int updateESExpandArea(const ::std::string&, const ::IMSINNER::SICEExpandArea&, const ::Ice::Context*); - -public: - - ::Ice::Int delESExpandArea(const ::std::string& uid, ::Ice::Int id) - { - return delESExpandArea(uid, id, 0); - } - ::Ice::Int delESExpandArea(const ::std::string& uid, ::Ice::Int id, const ::Ice::Context& __ctx) - { - return delESExpandArea(uid, id, &__ctx); - } - -private: - - ::Ice::Int delESExpandArea(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace IMSINNER -{ - -class ESICEExpandArea : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int getESExpandArea(const ::std::string&, ::IMSINNER::SICEExpandAreaSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESExpandAreaById(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEExpandArea&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int addESExpandArea(const ::std::string&, const ::IMSINNER::SICEExpandArea&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateESExpandArea(const ::std::string&, const ::IMSINNER::SICEExpandArea&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int delESExpandArea(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace IMSINNER -{ - -class ESICEExpandArea : virtual public ::IceDelegate::IMSINNER::ESICEExpandArea, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int getESExpandArea(const ::std::string&, ::IMSINNER::SICEExpandAreaSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESExpandAreaById(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEExpandArea&, const ::Ice::Context*); - - virtual ::Ice::Int addESExpandArea(const ::std::string&, const ::IMSINNER::SICEExpandArea&, const ::Ice::Context*); - - virtual ::Ice::Int updateESExpandArea(const ::std::string&, const ::IMSINNER::SICEExpandArea&, const ::Ice::Context*); - - virtual ::Ice::Int delESExpandArea(const ::std::string&, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace IMSINNER -{ - -class ESICEExpandArea : virtual public ::IceDelegate::IMSINNER::ESICEExpandArea, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int getESExpandArea(const ::std::string&, ::IMSINNER::SICEExpandAreaSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESExpandAreaById(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEExpandArea&, const ::Ice::Context*); - - virtual ::Ice::Int addESExpandArea(const ::std::string&, const ::IMSINNER::SICEExpandArea&, const ::Ice::Context*); - - virtual ::Ice::Int updateESExpandArea(const ::std::string&, const ::IMSINNER::SICEExpandArea&, const ::Ice::Context*); - - virtual ::Ice::Int delESExpandArea(const ::std::string&, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace IMSINNER -{ - -class ESICEExpandArea : virtual public ::Ice::Object -{ -public: - - typedef ESICEExpandAreaPrx ProxyType; - typedef ESICEExpandAreaPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int getESExpandArea(const ::std::string&, ::IMSINNER::SICEExpandAreaSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESExpandArea(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESExpandAreaById(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEExpandArea&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESExpandAreaById(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int addESExpandArea(const ::std::string&, const ::IMSINNER::SICEExpandArea&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addESExpandArea(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateESExpandArea(const ::std::string&, const ::IMSINNER::SICEExpandArea&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateESExpandArea(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int delESExpandArea(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___delESExpandArea(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__ESICEExpandAreaPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/fdbrecent_pack.h.svn-base b/features/aliww/include/.svn/text-base/fdbrecent_pack.h.svn-base deleted file mode 100644 index e2fad5b..0000000 --- a/features/aliww/include/.svn/text-base/fdbrecent_pack.h.svn-base +++ /dev/null @@ -1,119 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: fdbrecent_pack.h -// Date: 2011-01-30 12:48:58 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __FDBRECENT_PACK_H__ -#define __FDBRECENT_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "ss_head.h" -#include "const_macro.h" - -using namespace std; - -struct SFdbRecentNode -{ -public: - ~SFdbRecentNode() { } - SFdbRecentNode(const uint32_t& dwSendTime= 0, const uint32_t& dwRecvTime= 0, const uint32_t& dwValidTime= 0, const uint32_t& dwSendFlag= 0, const uint32_t& dwRecvFlag= 0, const uint32_t& dwStrangerflag= 0) - { - m_sendTime = dwSendTime; - m_recvTime = dwRecvTime; - m_validTime = dwValidTime; - m_sendFlag = dwSendFlag; - m_recvFlag = dwRecvFlag; - m_strangerflag = dwStrangerflag; - } - SFdbRecentNode& operator=( const SFdbRecentNode& sFdbRecentNode ) - { - m_sendTime = sFdbRecentNode.m_sendTime; - m_recvTime = sFdbRecentNode.m_recvTime; - m_validTime = sFdbRecentNode.m_validTime; - m_sendFlag = sFdbRecentNode.m_sendFlag; - m_recvFlag = sFdbRecentNode.m_recvFlag; - m_strangerflag = sFdbRecentNode.m_strangerflag; - return *this; - } - - uint32_t m_sendTime; - uint32_t m_recvTime; - uint32_t m_validTime; - uint32_t m_sendFlag; - uint32_t m_recvFlag; - uint32_t m_strangerflag; - -public: - uint32_t Size() const; -}; - -inline uint32_t SFdbRecentNode::Size() const -{ - return 31; -} -CPackData& operator<< ( CPackData& cPackData, const SFdbRecentNode& sFdbRecentNode ); -CPackData& operator>> ( CPackData& cPackData, SFdbRecentNode& sFdbRecentNode ); - -struct SFdbRecentMap -{ -public: - SFdbRecentMap() : m_ip(0), - m_chgTime(0), - m_loadTime(0) - { - } - - ~SFdbRecentMap() { } - SFdbRecentMap(const string& strPcid, const uint32_t& dwIp, const uint32_t& dwChgTime, const uint32_t& dwLoadTime, const map< string,SFdbRecentNode >& mapNodes) - { - m_pcid = strPcid; - m_ip = dwIp; - m_chgTime = dwChgTime; - m_loadTime = dwLoadTime; - m_nodes = mapNodes; - } - SFdbRecentMap& operator=( const SFdbRecentMap& sFdbRecentMap ) - { - m_pcid = sFdbRecentMap.m_pcid; - m_ip = sFdbRecentMap.m_ip; - m_chgTime = sFdbRecentMap.m_chgTime; - m_loadTime = sFdbRecentMap.m_loadTime; - m_nodes = sFdbRecentMap.m_nodes; - return *this; - } - - string m_pcid; - uint32_t m_ip; - uint32_t m_chgTime; - uint32_t m_loadTime; - map< string,SFdbRecentNode > m_nodes; - -public: - uint32_t Size() const; -}; - -inline uint32_t SFdbRecentMap::Size() const -{ - uint32_t nSize = 25; - nSize += m_pcid.length(); - nSize += m_nodes.size() * 4; - { - map< string,SFdbRecentNode >::const_iterator itr; - for(itr = m_nodes.begin(); itr != m_nodes.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.Size(); - } - } - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SFdbRecentMap& sFdbRecentMap ); -CPackData& operator>> ( CPackData& cPackData, SFdbRecentMap& sFdbRecentMap ); - -#endif diff --git a/features/aliww/include/.svn/text-base/ftservice.h.svn-base b/features/aliww/include/.svn/text-base/ftservice.h.svn-base deleted file mode 100644 index 862a6f1..0000000 --- a/features/aliww/include/.svn/text-base/ftservice.h.svn-base +++ /dev/null @@ -1,364 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `ftservice.ice' - -#ifndef __ftservice_h__ -#define __ftservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace alliFTServer -{ - -class IFTService; -bool operator==(const IFTService&, const IFTService&); -bool operator!=(const IFTService&, const IFTService&); -bool operator<(const IFTService&, const IFTService&); -bool operator<=(const IFTService&, const IFTService&); -bool operator>(const IFTService&, const IFTService&); -bool operator>=(const IFTService&, const IFTService&); - -class IFTNewService; -bool operator==(const IFTNewService&, const IFTNewService&); -bool operator!=(const IFTNewService&, const IFTNewService&); -bool operator<(const IFTNewService&, const IFTNewService&); -bool operator<=(const IFTNewService&, const IFTNewService&); -bool operator>(const IFTNewService&, const IFTNewService&); -bool operator>=(const IFTNewService&, const IFTNewService&); - -} - -} - -namespace alliFTServer -{ - -class IFTService; -bool operator==(const IFTService&, const IFTService&); -bool operator!=(const IFTService&, const IFTService&); -bool operator<(const IFTService&, const IFTService&); -bool operator<=(const IFTService&, const IFTService&); -bool operator>(const IFTService&, const IFTService&); -bool operator>=(const IFTService&, const IFTService&); - -class IFTNewService; -bool operator==(const IFTNewService&, const IFTNewService&); -bool operator!=(const IFTNewService&, const IFTNewService&); -bool operator<(const IFTNewService&, const IFTNewService&); -bool operator<=(const IFTNewService&, const IFTNewService&); -bool operator>(const IFTNewService&, const IFTNewService&); -bool operator>=(const IFTNewService&, const IFTNewService&); - -} - -namespace IceInternal -{ - -void incRef(::alliFTServer::IFTService*); -void decRef(::alliFTServer::IFTService*); - -void incRef(::IceProxy::alliFTServer::IFTService*); -void decRef(::IceProxy::alliFTServer::IFTService*); - -void incRef(::alliFTServer::IFTNewService*); -void decRef(::alliFTServer::IFTNewService*); - -void incRef(::IceProxy::alliFTServer::IFTNewService*); -void decRef(::IceProxy::alliFTServer::IFTNewService*); - -} - -namespace alliFTServer -{ - -typedef ::IceInternal::Handle< ::alliFTServer::IFTService> IFTServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::alliFTServer::IFTService> IFTServicePrx; - -void __write(::IceInternal::BasicStream*, const IFTServicePrx&); -void __read(::IceInternal::BasicStream*, IFTServicePrx&); -void __write(::IceInternal::BasicStream*, const IFTServicePtr&); -void __patch__IFTServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IFTServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IFTServicePtr&); -void __decRefUnsafe(const IFTServicePtr&); -void __clearHandleUnsafe(IFTServicePtr&); - -typedef ::IceInternal::Handle< ::alliFTServer::IFTNewService> IFTNewServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::alliFTServer::IFTNewService> IFTNewServicePrx; - -void __write(::IceInternal::BasicStream*, const IFTNewServicePrx&); -void __read(::IceInternal::BasicStream*, IFTNewServicePrx&); -void __write(::IceInternal::BasicStream*, const IFTNewServicePtr&); -void __patch__IFTNewServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IFTNewServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IFTNewServicePtr&); -void __decRefUnsafe(const IFTNewServicePtr&); -void __clearHandleUnsafe(IFTNewServicePtr&); - -} - -namespace alliFTServer -{ - -} - -namespace IceProxy -{ - -namespace alliFTServer -{ - -class IFTService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int getServiceInfo(const ::std::string& senduid, const ::std::string& touid, ::std::string& srvIp, ::Ice::Short& srvPort) - { - return getServiceInfo(senduid, touid, srvIp, srvPort, 0); - } - ::Ice::Int getServiceInfo(const ::std::string& senduid, const ::std::string& touid, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context& __ctx) - { - return getServiceInfo(senduid, touid, srvIp, srvPort, &__ctx); - } - -private: - - ::Ice::Int getServiceInfo(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - -public: - - ::Ice::Int getTietuServiceInfo(const ::std::string& senduid, ::Ice::Int& sessionSum, ::std::string& srvIp, ::Ice::Short& srvPort) - { - return getTietuServiceInfo(senduid, sessionSum, srvIp, srvPort, 0); - } - ::Ice::Int getTietuServiceInfo(const ::std::string& senduid, ::Ice::Int& sessionSum, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context& __ctx) - { - return getTietuServiceInfo(senduid, sessionSum, srvIp, srvPort, &__ctx); - } - -private: - - ::Ice::Int getTietuServiceInfo(const ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -class IFTNewService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int getAddr(::Ice::Short _cpp_typeid, const ::std::string& senduid, ::Ice::Long& ftsid, ::std::string& srvIp, ::Ice::Short& srvProt) - { - return getAddr(_cpp_typeid, senduid, ftsid, srvIp, srvProt, 0); - } - ::Ice::Int getAddr(::Ice::Short _cpp_typeid, const ::std::string& senduid, ::Ice::Long& ftsid, ::std::string& srvIp, ::Ice::Short& srvProt, const ::Ice::Context& __ctx) - { - return getAddr(_cpp_typeid, senduid, ftsid, srvIp, srvProt, &__ctx); - } - -private: - - ::Ice::Int getAddr(::Ice::Short, const ::std::string&, ::Ice::Long&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace alliFTServer -{ - -class IFTService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int getServiceInfo(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getTietuServiceInfo(const ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Short&, const ::Ice::Context*) = 0; -}; - -class IFTNewService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int getAddr(::Ice::Short, const ::std::string&, ::Ice::Long&, ::std::string&, ::Ice::Short&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace alliFTServer -{ - -class IFTService : virtual public ::IceDelegate::alliFTServer::IFTService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int getServiceInfo(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int getTietuServiceInfo(const ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); -}; - -class IFTNewService : virtual public ::IceDelegate::alliFTServer::IFTNewService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int getAddr(::Ice::Short, const ::std::string&, ::Ice::Long&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace alliFTServer -{ - -class IFTService : virtual public ::IceDelegate::alliFTServer::IFTService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int getServiceInfo(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int getTietuServiceInfo(const ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); -}; - -class IFTNewService : virtual public ::IceDelegate::alliFTServer::IFTNewService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int getAddr(::Ice::Short, const ::std::string&, ::Ice::Long&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); -}; - -} - -} - -namespace alliFTServer -{ - -class IFTService : virtual public ::Ice::Object -{ -public: - - typedef IFTServicePrx ProxyType; - typedef IFTServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int getServiceInfo(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getServiceInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getTietuServiceInfo(const ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Short&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getTietuServiceInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IFTServicePtr(void*, ::Ice::ObjectPtr&); - -class IFTNewService : virtual public ::Ice::Object -{ -public: - - typedef IFTNewServicePrx ProxyType; - typedef IFTNewServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int getAddr(::Ice::Short, const ::std::string&, ::Ice::Long&, ::std::string&, ::Ice::Short&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getAddr(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IFTNewServicePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/get_bind_list.h.svn-base b/features/aliww/include/.svn/text-base/get_bind_list.h.svn-base deleted file mode 100644 index ffc5fd3..0000000 --- a/features/aliww/include/.svn/text-base/get_bind_list.h.svn-base +++ /dev/null @@ -1,28 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: get_bind_list.h - * - * Description: - * - * Version: 1.0 - * Created: 2011年01月07日 15时44分43秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ - -#ifndef GET_BIND_LIST_H -#define GET_BIND_LIST_H -#include -using namespace std; - -void *get_bind_list_init(void* p); -void *get_bind_list_act(void* p); -void *get_bind_list_end(void* p); - -#endif diff --git a/features/aliww/include/.svn/text-base/imcntlcacheservice.h.svn-base b/features/aliww/include/.svn/text-base/imcntlcacheservice.h.svn-base deleted file mode 100644 index 9729662..0000000 --- a/features/aliww/include/.svn/text-base/imcntlcacheservice.h.svn-base +++ /dev/null @@ -1,349 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `imcntlcacheservice.ice' - -#ifndef __imcntlcacheservice_h__ -#define __imcntlcacheservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class IUserCntLCacheService; -bool operator==(const IUserCntLCacheService&, const IUserCntLCacheService&); -bool operator!=(const IUserCntLCacheService&, const IUserCntLCacheService&); -bool operator<(const IUserCntLCacheService&, const IUserCntLCacheService&); -bool operator<=(const IUserCntLCacheService&, const IUserCntLCacheService&); -bool operator>(const IUserCntLCacheService&, const IUserCntLCacheService&); -bool operator>=(const IUserCntLCacheService&, const IUserCntLCacheService&); - -} - -} - -namespace AliIM -{ - -class IUserCntLCacheService; -bool operator==(const IUserCntLCacheService&, const IUserCntLCacheService&); -bool operator!=(const IUserCntLCacheService&, const IUserCntLCacheService&); -bool operator<(const IUserCntLCacheService&, const IUserCntLCacheService&); -bool operator<=(const IUserCntLCacheService&, const IUserCntLCacheService&); -bool operator>(const IUserCntLCacheService&, const IUserCntLCacheService&); -bool operator>=(const IUserCntLCacheService&, const IUserCntLCacheService&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::IUserCntLCacheService*); -void decRef(::AliIM::IUserCntLCacheService*); - -void incRef(::IceProxy::AliIM::IUserCntLCacheService*); -void decRef(::IceProxy::AliIM::IUserCntLCacheService*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::IUserCntLCacheService> IUserCntLCacheServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::IUserCntLCacheService> IUserCntLCacheServicePrx; - -void __write(::IceInternal::BasicStream*, const IUserCntLCacheServicePrx&); -void __read(::IceInternal::BasicStream*, IUserCntLCacheServicePrx&); -void __write(::IceInternal::BasicStream*, const IUserCntLCacheServicePtr&); -void __patch__IUserCntLCacheServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IUserCntLCacheServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IUserCntLCacheServicePtr&); -void __decRefUnsafe(const IUserCntLCacheServicePtr&); -void __clearHandleUnsafe(IUserCntLCacheServicePtr&); - -} - -namespace AliIM -{ - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class IUserCntLCacheService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int getUserCntTimeStamps(const ::std::string& longuid, ::Ice::Int& cnttimes) - { - return getUserCntTimeStamps(longuid, cnttimes, 0); - } - ::Ice::Int getUserCntTimeStamps(const ::std::string& longuid, ::Ice::Int& cnttimes, const ::Ice::Context& __ctx) - { - return getUserCntTimeStamps(longuid, cnttimes, &__ctx); - } - -private: - - ::Ice::Int getUserCntTimeStamps(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int removeUser(const ::std::string& longuid) - { - return removeUser(longuid, 0); - } - ::Ice::Int removeUser(const ::std::string& longuid, const ::Ice::Context& __ctx) - { - return removeUser(longuid, &__ctx); - } - -private: - - ::Ice::Int removeUser(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int backupUserContacts(const ::std::string& longuid, ::Ice::Int cnttimes, const ::Ice::StringSeq& cntids) - { - return backupUserContacts(longuid, cnttimes, cntids, 0); - } - ::Ice::Int backupUserContacts(const ::std::string& longuid, ::Ice::Int cnttimes, const ::Ice::StringSeq& cntids, const ::Ice::Context& __ctx) - { - return backupUserContacts(longuid, cnttimes, cntids, &__ctx); - } - -private: - - ::Ice::Int backupUserContacts(const ::std::string&, ::Ice::Int, const ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getBackupedUserContacts(const ::std::string& longuid, ::Ice::Int& cnttimes, ::Ice::StringSeq& cntids) - { - return getBackupedUserContacts(longuid, cnttimes, cntids, 0); - } - ::Ice::Int getBackupedUserContacts(const ::std::string& longuid, ::Ice::Int& cnttimes, ::Ice::StringSeq& cntids, const ::Ice::Context& __ctx) - { - return getBackupedUserContacts(longuid, cnttimes, cntids, &__ctx); - } - -private: - - ::Ice::Int getBackupedUserContacts(const ::std::string&, ::Ice::Int&, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int addUserContact(const ::std::string& longuid, ::Ice::Int cnttimes, const ::std::string& cntid) - { - return addUserContact(longuid, cnttimes, cntid, 0); - } - ::Ice::Int addUserContact(const ::std::string& longuid, ::Ice::Int cnttimes, const ::std::string& cntid, const ::Ice::Context& __ctx) - { - return addUserContact(longuid, cnttimes, cntid, &__ctx); - } - -private: - - ::Ice::Int addUserContact(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int delUserContact(const ::std::string& longuid, ::Ice::Int cnttimes, const ::std::string& cntid) - { - return delUserContact(longuid, cnttimes, cntid, 0); - } - ::Ice::Int delUserContact(const ::std::string& longuid, ::Ice::Int cnttimes, const ::std::string& cntid, const ::Ice::Context& __ctx) - { - return delUserContact(longuid, cnttimes, cntid, &__ctx); - } - -private: - - ::Ice::Int delUserContact(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class IUserCntLCacheService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int getUserCntTimeStamps(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int removeUser(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int backupUserContacts(const ::std::string&, ::Ice::Int, const ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getBackupedUserContacts(const ::std::string&, ::Ice::Int&, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int addUserContact(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int delUserContact(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class IUserCntLCacheService : virtual public ::IceDelegate::AliIM::IUserCntLCacheService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int getUserCntTimeStamps(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int removeUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int backupUserContacts(const ::std::string&, ::Ice::Int, const ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getBackupedUserContacts(const ::std::string&, ::Ice::Int&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int addUserContact(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int delUserContact(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class IUserCntLCacheService : virtual public ::IceDelegate::AliIM::IUserCntLCacheService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int getUserCntTimeStamps(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int removeUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int backupUserContacts(const ::std::string&, ::Ice::Int, const ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getBackupedUserContacts(const ::std::string&, ::Ice::Int&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int addUserContact(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int delUserContact(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class IUserCntLCacheService : virtual public ::Ice::Object -{ -public: - - typedef IUserCntLCacheServicePrx ProxyType; - typedef IUserCntLCacheServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int getUserCntTimeStamps(const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserCntTimeStamps(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int removeUser(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___removeUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int backupUserContacts(const ::std::string&, ::Ice::Int, const ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___backupUserContacts(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getBackupedUserContacts(const ::std::string&, ::Ice::Int&, ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getBackupedUserContacts(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int addUserContact(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addUserContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int delUserContact(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___delUserContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IUserCntLCacheServicePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/imcontrol_service.h.svn-base b/features/aliww/include/.svn/text-base/imcontrol_service.h.svn-base deleted file mode 100644 index 10c9e88..0000000 --- a/features/aliww/include/.svn/text-base/imcontrol_service.h.svn-base +++ /dev/null @@ -1,354 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `imcontrol_service.ice' - -#ifndef __imcontrol_service_h__ -#define __imcontrol_service_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace IMCoreControlService -{ - -class IMSecControlService; -bool operator==(const IMSecControlService&, const IMSecControlService&); -bool operator!=(const IMSecControlService&, const IMSecControlService&); -bool operator<(const IMSecControlService&, const IMSecControlService&); -bool operator<=(const IMSecControlService&, const IMSecControlService&); -bool operator>(const IMSecControlService&, const IMSecControlService&); -bool operator>=(const IMSecControlService&, const IMSecControlService&); - -} - -} - -namespace IMCoreControlService -{ - -class IMSecControlService; -bool operator==(const IMSecControlService&, const IMSecControlService&); -bool operator!=(const IMSecControlService&, const IMSecControlService&); -bool operator<(const IMSecControlService&, const IMSecControlService&); -bool operator<=(const IMSecControlService&, const IMSecControlService&); -bool operator>(const IMSecControlService&, const IMSecControlService&); -bool operator>=(const IMSecControlService&, const IMSecControlService&); - -} - -namespace IceInternal -{ - -void incRef(::IMCoreControlService::IMSecControlService*); -void decRef(::IMCoreControlService::IMSecControlService*); - -void incRef(::IceProxy::IMCoreControlService::IMSecControlService*); -void decRef(::IceProxy::IMCoreControlService::IMSecControlService*); - -} - -namespace IMCoreControlService -{ - -typedef ::IceInternal::Handle< ::IMCoreControlService::IMSecControlService> IMSecControlServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::IMCoreControlService::IMSecControlService> IMSecControlServicePrx; - -void __write(::IceInternal::BasicStream*, const IMSecControlServicePrx&); -void __read(::IceInternal::BasicStream*, IMSecControlServicePrx&); -void __write(::IceInternal::BasicStream*, const IMSecControlServicePtr&); -void __patch__IMSecControlServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IMSecControlServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IMSecControlServicePtr&); -void __decRefUnsafe(const IMSecControlServicePtr&); -void __clearHandleUnsafe(IMSecControlServicePtr&); - -} - -namespace IMCoreControlService -{ - -typedef ::std::map< ::std::string, ::std::string> KVPair; - -class __U__KVPair { }; -void __write(::IceInternal::BasicStream*, const KVPair&, __U__KVPair); -void __read(::IceInternal::BasicStream*, KVPair&, __U__KVPair); - -} - -namespace IceProxy -{ - -namespace IMCoreControlService -{ - -class IMSecControlService : virtual public ::IceProxy::Ice::Object -{ -public: - - bool filterMsg(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs) - { - return filterMsg(fromid, toid, actdgree, ip, msg, extraattrs, 0); - } - bool filterMsg(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, const ::Ice::Context& __ctx) - { - return filterMsg(fromid, toid, actdgree, ip, msg, extraattrs, &__ctx); - } - -private: - - bool filterMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::Ice::Context*); - -public: - - bool filterMsg2(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, ::std::string& newmsg) - { - return filterMsg2(fromid, toid, actdgree, ip, msg, extraattrs, newmsg, 0); - } - bool filterMsg2(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, ::std::string& newmsg, const ::Ice::Context& __ctx) - { - return filterMsg2(fromid, toid, actdgree, ip, msg, extraattrs, newmsg, &__ctx); - } - -private: - - bool filterMsg2(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, ::std::string&, const ::Ice::Context*); - -public: - - bool filterMsgByFlag(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, const ::std::string& checkmap) - { - return filterMsgByFlag(fromid, toid, actdgree, ip, msg, extraattrs, checkmap, 0); - } - bool filterMsgByFlag(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, const ::std::string& checkmap, const ::Ice::Context& __ctx) - { - return filterMsgByFlag(fromid, toid, actdgree, ip, msg, extraattrs, checkmap, &__ctx); - } - -private: - - bool filterMsgByFlag(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::std::string&, const ::Ice::Context*); - -public: - - bool checkOPAccess(const ::std::string& uid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& packdata, const ::IMCoreControlService::KVPair& extraattrs) - { - return checkOPAccess(uid, actdgree, ip, packdata, extraattrs, 0); - } - bool checkOPAccess(const ::std::string& uid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& packdata, const ::IMCoreControlService::KVPair& extraattrs, const ::Ice::Context& __ctx) - { - return checkOPAccess(uid, actdgree, ip, packdata, extraattrs, &__ctx); - } - -private: - - bool checkOPAccess(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::Ice::Context*); - -public: - - void writeAQLog(const ::std::string& data) - { - writeAQLog(data, 0); - } - void writeAQLog(const ::std::string& data, const ::Ice::Context& __ctx) - { - writeAQLog(data, &__ctx); - } - -private: - - void writeAQLog(const ::std::string&, const ::Ice::Context*); - -public: - - bool checkControlAccess(const ::std::string& uid, ::Ice::Int actdegree, const ::std::string& ip, const ::std::string& version, ::Ice::Int checktype, const ::IMCoreControlService::KVPair& extraattrs) - { - return checkControlAccess(uid, actdegree, ip, version, checktype, extraattrs, 0); - } - bool checkControlAccess(const ::std::string& uid, ::Ice::Int actdegree, const ::std::string& ip, const ::std::string& version, ::Ice::Int checktype, const ::IMCoreControlService::KVPair& extraattrs, const ::Ice::Context& __ctx) - { - return checkControlAccess(uid, actdegree, ip, version, checktype, extraattrs, &__ctx); - } - -private: - - bool checkControlAccess(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int, const ::IMCoreControlService::KVPair&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace IMCoreControlService -{ - -class IMSecControlService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual bool filterMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::Ice::Context*) = 0; - - virtual bool filterMsg2(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, ::std::string&, const ::Ice::Context*) = 0; - - virtual bool filterMsgByFlag(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual bool checkOPAccess(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::Ice::Context*) = 0; - - virtual void writeAQLog(const ::std::string&, const ::Ice::Context*) = 0; - - virtual bool checkControlAccess(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int, const ::IMCoreControlService::KVPair&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace IMCoreControlService -{ - -class IMSecControlService : virtual public ::IceDelegate::IMCoreControlService::IMSecControlService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual bool filterMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::Ice::Context*); - - virtual bool filterMsg2(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, ::std::string&, const ::Ice::Context*); - - virtual bool filterMsgByFlag(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::std::string&, const ::Ice::Context*); - - virtual bool checkOPAccess(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::Ice::Context*); - - virtual void writeAQLog(const ::std::string&, const ::Ice::Context*); - - virtual bool checkControlAccess(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int, const ::IMCoreControlService::KVPair&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace IMCoreControlService -{ - -class IMSecControlService : virtual public ::IceDelegate::IMCoreControlService::IMSecControlService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual bool filterMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::Ice::Context*); - - virtual bool filterMsg2(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, ::std::string&, const ::Ice::Context*); - - virtual bool filterMsgByFlag(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::std::string&, const ::Ice::Context*); - - virtual bool checkOPAccess(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::Ice::Context*); - - virtual void writeAQLog(const ::std::string&, const ::Ice::Context*); - - virtual bool checkControlAccess(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int, const ::IMCoreControlService::KVPair&, const ::Ice::Context*); -}; - -} - -} - -namespace IMCoreControlService -{ - -class IMSecControlService : virtual public ::Ice::Object -{ -public: - - typedef IMSecControlServicePrx ProxyType; - typedef IMSecControlServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual bool filterMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___filterMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual bool filterMsg2(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___filterMsg2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual bool filterMsgByFlag(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___filterMsgByFlag(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual bool checkOPAccess(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkOPAccess(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void writeAQLog(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___writeAQLog(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual bool checkControlAccess(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int, const ::IMCoreControlService::KVPair&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkControlAccess(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IMSecControlServicePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/imicecommstruct.h.svn-base b/features/aliww/include/.svn/text-base/imicecommstruct.h.svn-base deleted file mode 100644 index 0b6901e..0000000 --- a/features/aliww/include/.svn/text-base/imicecommstruct.h.svn-base +++ /dev/null @@ -1,117 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `imicecommstruct.ice' - -#ifndef __imicecommstruct_h__ -#define __imicecommstruct_h__ - -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace AliIMInterface -{ - -typedef ::std::map< ::std::string, ::std::string> KVMAP; - -class __U__KVMAP { }; -void __write(::IceInternal::BasicStream*, const KVMAP&, __U__KVMAP); -void __read(::IceInternal::BasicStream*, KVMAP&, __U__KVMAP); - -struct SWebBindId -{ - ::std::string prefix; - ::std::string webid; - bool bIMBind; - - bool operator==(const SWebBindId&) const; - bool operator!=(const SWebBindId&) const; - bool operator<(const SWebBindId&) const; - bool operator<=(const SWebBindId& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SWebBindId& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SWebBindId& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMInterface::SWebBindId> SWebBindIdSeq; - -class __U__SWebBindIdSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMInterface::SWebBindId*, const ::AliIMInterface::SWebBindId*, __U__SWebBindIdSeq); -void __read(::IceInternal::BasicStream*, SWebBindIdSeq&, __U__SWebBindIdSeq); - -struct SWanghaoWebBindId -{ - ::std::string id; - ::AliIMInterface::SWebBindIdSeq webids; - - bool operator==(const SWanghaoWebBindId&) const; - bool operator!=(const SWanghaoWebBindId&) const; - bool operator<(const SWanghaoWebBindId&) const; - bool operator<=(const SWanghaoWebBindId& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SWanghaoWebBindId& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SWanghaoWebBindId& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMInterface::SWanghaoWebBindId> SWanghaoWebBindIdSeq; - -class __U__SWanghaoWebBindIdSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMInterface::SWanghaoWebBindId*, const ::AliIMInterface::SWanghaoWebBindId*, __U__SWanghaoWebBindIdSeq); -void __read(::IceInternal::BasicStream*, SWanghaoWebBindIdSeq&, __U__SWanghaoWebBindIdSeq); - -typedef ::std::vector< ::AliIMInterface::KVMAP> KVMAPSeq; - -class __U__KVMAPSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMInterface::KVMAP*, const ::AliIMInterface::KVMAP*, __U__KVMAPSeq); -void __read(::IceInternal::BasicStream*, KVMAPSeq&, __U__KVMAPSeq); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/ims_ice_service.h.svn-base b/features/aliww/include/.svn/text-base/ims_ice_service.h.svn-base deleted file mode 100644 index 898c089..0000000 --- a/features/aliww/include/.svn/text-base/ims_ice_service.h.svn-base +++ /dev/null @@ -1,1744 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `ims_ice_service.ice' - -#ifndef __ims_ice_service_h__ -#define __ims_ice_service_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace IMSINNER -{ - -class IMSICEService; -bool operator==(const IMSICEService&, const IMSICEService&); -bool operator!=(const IMSICEService&, const IMSICEService&); -bool operator<(const IMSICEService&, const IMSICEService&); -bool operator<=(const IMSICEService&, const IMSICEService&); -bool operator>(const IMSICEService&, const IMSICEService&); -bool operator>=(const IMSICEService&, const IMSICEService&); - -} - -} - -namespace IMSINNER -{ - -class IMSICEService; -bool operator==(const IMSICEService&, const IMSICEService&); -bool operator!=(const IMSICEService&, const IMSICEService&); -bool operator<(const IMSICEService&, const IMSICEService&); -bool operator<=(const IMSICEService&, const IMSICEService&); -bool operator>(const IMSICEService&, const IMSICEService&); -bool operator>=(const IMSICEService&, const IMSICEService&); - -} - -namespace IceInternal -{ - -void incRef(::IMSINNER::IMSICEService*); -void decRef(::IMSINNER::IMSICEService*); - -void incRef(::IceProxy::IMSINNER::IMSICEService*); -void decRef(::IceProxy::IMSINNER::IMSICEService*); - -} - -namespace IMSINNER -{ - -typedef ::IceInternal::Handle< ::IMSINNER::IMSICEService> IMSICEServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::IMSINNER::IMSICEService> IMSICEServicePrx; - -void __write(::IceInternal::BasicStream*, const IMSICEServicePrx&); -void __read(::IceInternal::BasicStream*, IMSICEServicePrx&); -void __write(::IceInternal::BasicStream*, const IMSICEServicePtr&); -void __patch__IMSICEServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IMSICEServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IMSICEServicePtr&); -void __decRefUnsafe(const IMSICEServicePtr&); -void __clearHandleUnsafe(IMSICEServicePtr&); - -} - -namespace IMSINNER -{ - -struct SHMSBuddyStatus -{ - ::std::string uid; - ::Ice::Short onlinestatus; - ::Ice::Short servicestatus; - ::Ice::Int status; - ::Ice::Int totalnum; - ::Ice::Int daynum; - - bool operator==(const SHMSBuddyStatus&) const; - bool operator!=(const SHMSBuddyStatus&) const; - bool operator<(const SHMSBuddyStatus&) const; - bool operator<=(const SHMSBuddyStatus& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SHMSBuddyStatus& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SHMSBuddyStatus& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SHMSBuddyStatus6 -{ - ::std::string childid; - ::std::string childnick; - ::Ice::Short basicstatus; - ::Ice::Short predefstatus; - ::Ice::Short servicestatus; - ::Ice::Int maxservice; - ::Ice::Int curservice; - ::Ice::Int version; - - bool operator==(const SHMSBuddyStatus6&) const; - bool operator!=(const SHMSBuddyStatus6&) const; - bool operator<(const SHMSBuddyStatus6&) const; - bool operator<=(const SHMSBuddyStatus6& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SHMSBuddyStatus6& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SHMSBuddyStatus6& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEReceptNum -{ - ::std::string eserviceid; - ::Ice::Int receptnum; - - bool operator==(const SICEReceptNum&) const; - bool operator!=(const SICEReceptNum&) const; - bool operator<(const SICEReceptNum&) const; - bool operator<=(const SICEReceptNum& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEReceptNum& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEReceptNum& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMSINNER::SICEReceptNum> SICEReceptNumSeq; - -class __U__SICEReceptNumSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SICEReceptNum*, const ::IMSINNER::SICEReceptNum*, __U__SICEReceptNumSeq); -void __read(::IceInternal::BasicStream*, SICEReceptNumSeq&, __U__SICEReceptNumSeq); - -struct SICEReceptStatus -{ - ::std::string eserviceid; - ::Ice::Int receptnumNow; - ::Ice::Int receptnumMax; - ::Ice::Int receptnumDaily; - - bool operator==(const SICEReceptStatus&) const; - bool operator!=(const SICEReceptStatus&) const; - bool operator<(const SICEReceptStatus&) const; - bool operator<=(const SICEReceptStatus& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEReceptStatus& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEReceptStatus& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMSINNER::SICEReceptStatus> SICEReceptStatusSeq; - -class __U__SICEReceptStatusSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SICEReceptStatus*, const ::IMSINNER::SICEReceptStatus*, __U__SICEReceptStatusSeq); -void __read(::IceInternal::BasicStream*, SICEReceptStatusSeq&, __U__SICEReceptStatusSeq); - -struct SICEReceptPriority -{ - ::std::string eserviceid; - ::Ice::Int receptpriority; - - bool operator==(const SICEReceptPriority&) const; - bool operator!=(const SICEReceptPriority&) const; - bool operator<(const SICEReceptPriority&) const; - bool operator<=(const SICEReceptPriority& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEReceptPriority& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEReceptPriority& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMSINNER::SICEReceptPriority> SICEReceptPrioritySeq; - -class __U__SICEReceptPrioritySeq { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SICEReceptPriority*, const ::IMSINNER::SICEReceptPriority*, __U__SICEReceptPrioritySeq); -void __read(::IceInternal::BasicStream*, SICEReceptPrioritySeq&, __U__SICEReceptPrioritySeq); - -struct SICERecvOffMsg -{ - ::std::string eserviceid; - ::Ice::Int recvoffmsg; - - bool operator==(const SICERecvOffMsg&) const; - bool operator!=(const SICERecvOffMsg&) const; - bool operator<(const SICERecvOffMsg&) const; - bool operator<=(const SICERecvOffMsg& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICERecvOffMsg& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICERecvOffMsg& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMSINNER::SICERecvOffMsg> SICERecvOffMsgSeq; - -class __U__SICERecvOffMsgSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SICERecvOffMsg*, const ::IMSINNER::SICERecvOffMsg*, __U__SICERecvOffMsgSeq); -void __read(::IceInternal::BasicStream*, SICERecvOffMsgSeq&, __U__SICERecvOffMsgSeq); - -struct SICEESGroupInfo -{ - ::std::string groupName; - ::Ice::Int groupId; - ::std::string adminId; - ::Ice::StringSeq eservicelist; - - bool operator==(const SICEESGroupInfo&) const; - bool operator!=(const SICEESGroupInfo&) const; - bool operator<(const SICEESGroupInfo&) const; - bool operator<=(const SICEESGroupInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEESGroupInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEESGroupInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMSINNER::SICEESGroupInfo> SICEESGroupInfoSeq; - -class __U__SICEESGroupInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SICEESGroupInfo*, const ::IMSINNER::SICEESGroupInfo*, __U__SICEESGroupInfoSeq); -void __read(::IceInternal::BasicStream*, SICEESGroupInfoSeq&, __U__SICEESGroupInfoSeq); - -struct SICEBaseGroupInfo -{ - ::std::string groupName; - ::Ice::Int groupId; - ::std::string adminId; - - bool operator==(const SICEBaseGroupInfo&) const; - bool operator!=(const SICEBaseGroupInfo&) const; - bool operator<(const SICEBaseGroupInfo&) const; - bool operator<=(const SICEBaseGroupInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEBaseGroupInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEBaseGroupInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMSINNER::SHMSBuddyStatus> SHMSBuddyStatusSeq; - -class __U__SHMSBuddyStatusSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SHMSBuddyStatus*, const ::IMSINNER::SHMSBuddyStatus*, __U__SHMSBuddyStatusSeq); -void __read(::IceInternal::BasicStream*, SHMSBuddyStatusSeq&, __U__SHMSBuddyStatusSeq); - -struct SICEChildShuntInfo -{ - ::std::string childId; - ::std::string groupName; - ::Ice::Int groupId; - ::std::string needUseOnline; - ::std::string shuntInfo; - - bool operator==(const SICEChildShuntInfo&) const; - bool operator!=(const SICEChildShuntInfo&) const; - bool operator<(const SICEChildShuntInfo&) const; - bool operator<=(const SICEChildShuntInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEChildShuntInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEChildShuntInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMSINNER::SICEChildShuntInfo> SICEChildShuntInfoSeq; - -class __U__SICEChildShuntInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SICEChildShuntInfo*, const ::IMSINNER::SICEChildShuntInfo*, __U__SICEChildShuntInfoSeq); -void __read(::IceInternal::BasicStream*, SICEChildShuntInfoSeq&, __U__SICEChildShuntInfoSeq); - -typedef ::std::vector< ::IMSINNER::SHMSBuddyStatus6> SHMSBuddyStatusSeq6; - -class __U__SHMSBuddyStatusSeq6 { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SHMSBuddyStatus6*, const ::IMSINNER::SHMSBuddyStatus6*, __U__SHMSBuddyStatusSeq6); -void __read(::IceInternal::BasicStream*, SHMSBuddyStatusSeq6&, __U__SHMSBuddyStatusSeq6); - -} - -namespace IceProxy -{ - -namespace IMSINNER -{ - -class IMSICEService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int getLastVisit(const ::std::string& host, const ::std::string& visitor, ::std::string& hostess) - { - return getLastVisit(host, visitor, hostess, 0); - } - ::Ice::Int getLastVisit(const ::std::string& host, const ::std::string& visitor, ::std::string& hostess, const ::Ice::Context& __ctx) - { - return getLastVisit(host, visitor, hostess, &__ctx); - } - -private: - - ::Ice::Int getLastVisit(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int setShareContact(const ::std::string& uid, const ::Ice::StringSeq& cids, ::Ice::Int value) - { - return setShareContact(uid, cids, value, 0); - } - ::Ice::Int setShareContact(const ::std::string& uid, const ::Ice::StringSeq& cids, ::Ice::Int value, const ::Ice::Context& __ctx) - { - return setShareContact(uid, cids, value, &__ctx); - } - -private: - - ::Ice::Int setShareContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int clearLastVisit(const ::std::string& host, const ::std::string& visitor) - { - return clearLastVisit(host, visitor, 0); - } - ::Ice::Int clearLastVisit(const ::std::string& host, const ::std::string& visitor, const ::Ice::Context& __ctx) - { - return clearLastVisit(host, visitor, &__ctx); - } - -private: - - ::Ice::Int clearLastVisit(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getLastVisitEx(const ::std::string& host, const ::std::string& visitor, ::Ice::Int groupId, ::Ice::Int addServiceNum, ::IMSINNER::SHMSBuddyStatus6& hostess) - { - return getLastVisitEx(host, visitor, groupId, addServiceNum, hostess, 0); - } - ::Ice::Int getLastVisitEx(const ::std::string& host, const ::std::string& visitor, ::Ice::Int groupId, ::Ice::Int addServiceNum, ::IMSINNER::SHMSBuddyStatus6& hostess, const ::Ice::Context& __ctx) - { - return getLastVisitEx(host, visitor, groupId, addServiceNum, hostess, &__ctx); - } - -private: - - ::Ice::Int getLastVisitEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::IMSINNER::SHMSBuddyStatus6&, const ::Ice::Context*); - -public: - - ::Ice::Int HmsLogin(const ::std::string& uid, ::Ice::StringSeq& cids) - { - return HmsLogin(uid, cids, 0); - } - ::Ice::Int HmsLogin(const ::std::string& uid, ::Ice::StringSeq& cids, const ::Ice::Context& __ctx) - { - return HmsLogin(uid, cids, &__ctx); - } - -private: - - ::Ice::Int HmsLogin(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getWorkingBuddy(const ::std::string& uid, ::Ice::StringSeq& cids) - { - return getWorkingBuddy(uid, cids, 0); - } - ::Ice::Int getWorkingBuddy(const ::std::string& uid, ::Ice::StringSeq& cids, const ::Ice::Context& __ctx) - { - return getWorkingBuddy(uid, cids, &__ctx); - } - -private: - - ::Ice::Int getWorkingBuddy(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int setWaiterDenyService(const ::std::string& uid, ::Ice::Int status) - { - return setWaiterDenyService(uid, status, 0); - } - ::Ice::Int setWaiterDenyService(const ::std::string& uid, ::Ice::Int status, const ::Ice::Context& __ctx) - { - return setWaiterDenyService(uid, status, &__ctx); - } - -private: - - ::Ice::Int setWaiterDenyService(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int setLastVisit(const ::std::string& host, const ::std::string& visitor) - { - return setLastVisit(host, visitor, 0); - } - ::Ice::Int setLastVisit(const ::std::string& host, const ::std::string& visitor, const ::Ice::Context& __ctx) - { - return setLastVisit(host, visitor, &__ctx); - } - -private: - - ::Ice::Int setLastVisit(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int setLastVisitandSrvnum(const ::std::string& host, const ::std::string& visitor, ::Ice::Int srvnum) - { - return setLastVisitandSrvnum(host, visitor, srvnum, 0); - } - ::Ice::Int setLastVisitandSrvnum(const ::std::string& host, const ::std::string& visitor, ::Ice::Int srvnum, const ::Ice::Context& __ctx) - { - return setLastVisitandSrvnum(host, visitor, srvnum, &__ctx); - } - -private: - - ::Ice::Int setLastVisitandSrvnum(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int HmsLogin6(const ::std::string& uid, ::Ice::Int imsid, ::Ice::StringSeq& cids) - { - return HmsLogin6(uid, imsid, cids, 0); - } - ::Ice::Int HmsLogin6(const ::std::string& uid, ::Ice::Int imsid, ::Ice::StringSeq& cids, const ::Ice::Context& __ctx) - { - return HmsLogin6(uid, imsid, cids, &__ctx); - } - -private: - - ::Ice::Int HmsLogin6(const ::std::string&, ::Ice::Int, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int setWaiterServerID(const ::std::string& uid, ::Ice::Int status) - { - return setWaiterServerID(uid, status, 0); - } - ::Ice::Int setWaiterServerID(const ::std::string& uid, ::Ice::Int status, const ::Ice::Context& __ctx) - { - return setWaiterServerID(uid, status, &__ctx); - } - -private: - - ::Ice::Int setWaiterServerID(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int isFakeOnline(const ::std::string& uid, bool& status) - { - return isFakeOnline(uid, status, 0); - } - ::Ice::Int isFakeOnline(const ::std::string& uid, bool& status, const ::Ice::Context& __ctx) - { - return isFakeOnline(uid, status, &__ctx); - } - -private: - - ::Ice::Int isFakeOnline(const ::std::string&, bool&, const ::Ice::Context*); - -public: - - ::Ice::Int setWaiterStatus(const ::std::string& uid, ::Ice::Int status, ::Ice::Int imsid, bool& bneedsendfakestatus, ::Ice::Int& before, ::Ice::Int& afteronlinestatus) - { - return setWaiterStatus(uid, status, imsid, bneedsendfakestatus, before, afteronlinestatus, 0); - } - ::Ice::Int setWaiterStatus(const ::std::string& uid, ::Ice::Int status, ::Ice::Int imsid, bool& bneedsendfakestatus, ::Ice::Int& before, ::Ice::Int& afteronlinestatus, const ::Ice::Context& __ctx) - { - return setWaiterStatus(uid, status, imsid, bneedsendfakestatus, before, afteronlinestatus, &__ctx); - } - -private: - - ::Ice::Int setWaiterStatus(const ::std::string&, ::Ice::Int, ::Ice::Int, bool&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getHelperstatus(const ::std::string& uid) - { - return getHelperstatus(uid, 0); - } - ::Ice::Int getHelperstatus(const ::std::string& uid, const ::Ice::Context& __ctx) - { - return getHelperstatus(uid, &__ctx); - } - -private: - - ::Ice::Int getHelperstatus(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getOfflineHelpers(const ::std::string& uid, ::Ice::StringSeq& childs, ::Ice::IntSeq& childsimsids) - { - return getOfflineHelpers(uid, childs, childsimsids, 0); - } - ::Ice::Int getOfflineHelpers(const ::std::string& uid, ::Ice::StringSeq& childs, ::Ice::IntSeq& childsimsids, const ::Ice::Context& __ctx) - { - return getOfflineHelpers(uid, childs, childsimsids, &__ctx); - } - -private: - - ::Ice::Int getOfflineHelpers(const ::std::string&, ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getAllOtherHelpers(const ::std::string& uid, ::Ice::StringSeq& childs, ::Ice::IntSeq& childsimsids) - { - return getAllOtherHelpers(uid, childs, childsimsids, 0); - } - ::Ice::Int getAllOtherHelpers(const ::std::string& uid, ::Ice::StringSeq& childs, ::Ice::IntSeq& childsimsids, const ::Ice::Context& __ctx) - { - return getAllOtherHelpers(uid, childs, childsimsids, &__ctx); - } - -private: - - ::Ice::Int getAllOtherHelpers(const ::std::string&, ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int setMaxServiceNum(const ::std::string& uid, const ::std::string& childid, ::Ice::Int num) - { - return setMaxServiceNum(uid, childid, num, 0); - } - ::Ice::Int setMaxServiceNum(const ::std::string& uid, const ::std::string& childid, ::Ice::Int num, const ::Ice::Context& __ctx) - { - return setMaxServiceNum(uid, childid, num, &__ctx); - } - -private: - - ::Ice::Int setMaxServiceNum(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int chgATMHelpersServiceNum(const ::std::string& uid, const ::std::string& childid, const ::std::string& contactid, ::Ice::Int type) - { - return chgATMHelpersServiceNum(uid, childid, contactid, type, 0); - } - ::Ice::Int chgATMHelpersServiceNum(const ::std::string& uid, const ::std::string& childid, const ::std::string& contactid, ::Ice::Int type, const ::Ice::Context& __ctx) - { - return chgATMHelpersServiceNum(uid, childid, contactid, type, &__ctx); - } - -private: - - ::Ice::Int chgATMHelpersServiceNum(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int HmsLoginOff(const ::std::string& uid, const ::std::string& childid) - { - return HmsLoginOff(uid, childid, 0); - } - ::Ice::Int HmsLoginOff(const ::std::string& uid, const ::std::string& childid, const ::Ice::Context& __ctx) - { - return HmsLoginOff(uid, childid, &__ctx); - } - -private: - - ::Ice::Int HmsLoginOff(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int HmsLoginOff6(const ::std::string& uid, const ::std::string& childid, ::Ice::Int imsid) - { - return HmsLoginOff6(uid, childid, imsid, 0); - } - ::Ice::Int HmsLoginOff6(const ::std::string& uid, const ::std::string& childid, ::Ice::Int imsid, const ::Ice::Context& __ctx) - { - return HmsLoginOff6(uid, childid, imsid, &__ctx); - } - -private: - - ::Ice::Int HmsLoginOff6(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int getBuddyStatus(const ::std::string& uid, ::IMSINNER::SHMSBuddyStatusSeq& buddystatus) - { - return getBuddyStatus(uid, buddystatus, 0); - } - ::Ice::Int getBuddyStatus(const ::std::string& uid, ::IMSINNER::SHMSBuddyStatusSeq& buddystatus, const ::Ice::Context& __ctx) - { - return getBuddyStatus(uid, buddystatus, &__ctx); - } - -private: - - ::Ice::Int getBuddyStatus(const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int EHmsLogin6(const ::std::string& uid, const ::std::string& fid, ::Ice::Int imsid, ::Ice::Int logintype) - { - return EHmsLogin6(uid, fid, imsid, logintype, 0); - } - ::Ice::Int EHmsLogin6(const ::std::string& uid, const ::std::string& fid, ::Ice::Int imsid, ::Ice::Int logintype, const ::Ice::Context& __ctx) - { - return EHmsLogin6(uid, fid, imsid, logintype, &__ctx); - } - -private: - - ::Ice::Int EHmsLogin6(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int getBuddyStatus6(const ::std::string& uid, const ::std::string& fid, ::IMSINNER::SHMSBuddyStatusSeq6& buddystatus) - { - return getBuddyStatus6(uid, fid, buddystatus, 0); - } - ::Ice::Int getBuddyStatus6(const ::std::string& uid, const ::std::string& fid, ::IMSINNER::SHMSBuddyStatusSeq6& buddystatus, const ::Ice::Context& __ctx) - { - return getBuddyStatus6(uid, fid, buddystatus, &__ctx); - } - -private: - - ::Ice::Int getBuddyStatus6(const ::std::string&, const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq6&, const ::Ice::Context*); - -public: - - ::Ice::Int getForWardList(const ::std::string& uid, const ::std::string& fid, ::IMSINNER::SHMSBuddyStatusSeq6& buddystatus) - { - return getForWardList(uid, fid, buddystatus, 0); - } - ::Ice::Int getForWardList(const ::std::string& uid, const ::std::string& fid, ::IMSINNER::SHMSBuddyStatusSeq6& buddystatus, const ::Ice::Context& __ctx) - { - return getForWardList(uid, fid, buddystatus, &__ctx); - } - -private: - - ::Ice::Int getForWardList(const ::std::string&, const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq6&, const ::Ice::Context*); - -public: - - ::Ice::Int forWardServiceUser(const ::std::string& uid, const ::std::string& fid, const ::std::string& conatctid, const ::std::string& tochildid) - { - return forWardServiceUser(uid, fid, conatctid, tochildid, 0); - } - ::Ice::Int forWardServiceUser(const ::std::string& uid, const ::std::string& fid, const ::std::string& conatctid, const ::std::string& tochildid, const ::Ice::Context& __ctx) - { - return forWardServiceUser(uid, fid, conatctid, tochildid, &__ctx); - } - -private: - - ::Ice::Int forWardServiceUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int closeHMSSession(const ::std::string& uid, const ::std::string& fid, const ::std::string& conatctid, ::Ice::Int type) - { - return closeHMSSession(uid, fid, conatctid, type, 0); - } - ::Ice::Int closeHMSSession(const ::std::string& uid, const ::std::string& fid, const ::std::string& conatctid, ::Ice::Int type, const ::Ice::Context& __ctx) - { - return closeHMSSession(uid, fid, conatctid, type, &__ctx); - } - -private: - - ::Ice::Int closeHMSSession(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int NotifyHMSMsg(const ::std::string& fromid, const ::std::string& uid, ::Ice::Int srvid, ::Ice::Int type, const ::std::string& msg) - { - return NotifyHMSMsg(fromid, uid, srvid, type, msg, 0); - } - ::Ice::Int NotifyHMSMsg(const ::std::string& fromid, const ::std::string& uid, ::Ice::Int srvid, ::Ice::Int type, const ::std::string& msg, const ::Ice::Context& __ctx) - { - return NotifyHMSMsg(fromid, uid, srvid, type, msg, &__ctx); - } - -private: - - ::Ice::Int NotifyHMSMsg(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int SendHMSMsg(const ::std::string& fid, const ::std::string& uid, const ::std::string& conatctid, ::Ice::Int srvid, ::Ice::Int type, const ::std::string& msg) - { - return SendHMSMsg(fid, uid, conatctid, srvid, type, msg, 0); - } - ::Ice::Int SendHMSMsg(const ::std::string& fid, const ::std::string& uid, const ::std::string& conatctid, ::Ice::Int srvid, ::Ice::Int type, const ::std::string& msg, const ::Ice::Context& __ctx) - { - return SendHMSMsg(fid, uid, conatctid, srvid, type, msg, &__ctx); - } - -private: - - ::Ice::Int SendHMSMsg(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int changeUserStatus(const ::std::string& uid, ::Ice::Int Stauts) - { - return changeUserStatus(uid, Stauts, 0); - } - ::Ice::Int changeUserStatus(const ::std::string& uid, ::Ice::Int Stauts, const ::Ice::Context& __ctx) - { - return changeUserStatus(uid, Stauts, &__ctx); - } - -private: - - ::Ice::Int changeUserStatus(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int getESShuntStatus(const ::std::string& uid, ::std::string& shunt) - { - return getESShuntStatus(uid, shunt, 0); - } - ::Ice::Int getESShuntStatus(const ::std::string& uid, ::std::string& shunt, const ::Ice::Context& __ctx) - { - return getESShuntStatus(uid, shunt, &__ctx); - } - -private: - - ::Ice::Int getESShuntStatus(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int setESShuntStatus(const ::std::string& uid, const ::std::string& shunt) - { - return setESShuntStatus(uid, shunt, 0); - } - ::Ice::Int setESShuntStatus(const ::std::string& uid, const ::std::string& shunt, const ::Ice::Context& __ctx) - { - return setESShuntStatus(uid, shunt, &__ctx); - } - -private: - - ::Ice::Int setESShuntStatus(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptNumSeq& eserviceList) - { - return getMaxESReceptNum(uid, groupId, eserviceList, 0); - } - ::Ice::Int getMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptNumSeq& eserviceList, const ::Ice::Context& __ctx) - { - return getMaxESReceptNum(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int getMaxESReceptNum(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptNumSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int setMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICEReceptNumSeq& eserviceList) - { - return setMaxESReceptNum(uid, groupId, eserviceList, 0); - } - ::Ice::Int setMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICEReceptNumSeq& eserviceList, const ::Ice::Context& __ctx) - { - return setMaxESReceptNum(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int setMaxESReceptNum(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICEReceptNumSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESPriority(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptPrioritySeq& eserviceList) - { - return getESPriority(uid, groupId, eserviceList, 0); - } - ::Ice::Int getESPriority(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context& __ctx) - { - return getESPriority(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int getESPriority(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptPrioritySeq&, const ::Ice::Context*); - -public: - - ::Ice::Int setESPriority(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICEReceptPrioritySeq& eserviceList) - { - return setESPriority(uid, groupId, eserviceList, 0); - } - ::Ice::Int setESPriority(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context& __ctx) - { - return setESPriority(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int setESPriority(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICEReceptPrioritySeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICERecvOffMsgSeq& eserviceList) - { - return getESRecvOffMsg(uid, groupId, eserviceList, 0); - } - ::Ice::Int getESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context& __ctx) - { - return getESRecvOffMsg(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int getESRecvOffMsg(const ::std::string&, ::Ice::Int, ::IMSINNER::SICERecvOffMsgSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int setESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICERecvOffMsgSeq& eserviceList) - { - return setESRecvOffMsg(uid, groupId, eserviceList, 0); - } - ::Ice::Int setESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context& __ctx) - { - return setESRecvOffMsg(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int setESRecvOffMsg(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICERecvOffMsgSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESGroupList(const ::std::string& uid, ::Ice::IntSeq& groupList) - { - return getESGroupList(uid, groupList, 0); - } - ::Ice::Int getESGroupList(const ::std::string& uid, ::Ice::IntSeq& groupList, const ::Ice::Context& __ctx) - { - return getESGroupList(uid, groupList, &__ctx); - } - -private: - - ::Ice::Int getESGroupList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int insertESGroupInfo(const ::std::string& uid, const ::IMSINNER::SICEESGroupInfo& groupInfo) - { - return insertESGroupInfo(uid, groupInfo, 0); - } - ::Ice::Int insertESGroupInfo(const ::std::string& uid, const ::IMSINNER::SICEESGroupInfo& groupInfo, const ::Ice::Context& __ctx) - { - return insertESGroupInfo(uid, groupInfo, &__ctx); - } - -private: - - ::Ice::Int insertESGroupInfo(const ::std::string&, const ::IMSINNER::SICEESGroupInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int updateESGroupInfo(const ::std::string& uid, const ::IMSINNER::SICEESGroupInfo& group) - { - return updateESGroupInfo(uid, group, 0); - } - ::Ice::Int updateESGroupInfo(const ::std::string& uid, const ::IMSINNER::SICEESGroupInfo& group, const ::Ice::Context& __ctx) - { - return updateESGroupInfo(uid, group, &__ctx); - } - -private: - - ::Ice::Int updateESGroupInfo(const ::std::string&, const ::IMSINNER::SICEESGroupInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int delESGroup(const ::std::string& uid, ::Ice::Int groupid) - { - return delESGroup(uid, groupid, 0); - } - ::Ice::Int delESGroup(const ::std::string& uid, ::Ice::Int groupid, const ::Ice::Context& __ctx) - { - return delESGroup(uid, groupid, &__ctx); - } - -private: - - ::Ice::Int delESGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int getESGroupInfo(const ::std::string& uid, ::IMSINNER::SICEESGroupInfoSeq& groupList) - { - return getESGroupInfo(uid, groupList, 0); - } - ::Ice::Int getESGroupInfo(const ::std::string& uid, ::IMSINNER::SICEESGroupInfoSeq& groupList, const ::Ice::Context& __ctx) - { - return getESGroupInfo(uid, groupList, &__ctx); - } - -private: - - ::Ice::Int getESGroupInfo(const ::std::string&, ::IMSINNER::SICEESGroupInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESGroupInfoByID(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEESGroupInfo& groupInfo) - { - return getESGroupInfoByID(uid, groupId, groupInfo, 0); - } - ::Ice::Int getESGroupInfoByID(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEESGroupInfo& groupInfo, const ::Ice::Context& __ctx) - { - return getESGroupInfoByID(uid, groupId, groupInfo, &__ctx); - } - -private: - - ::Ice::Int getESGroupInfoByID(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEESGroupInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int getESUnJoinGroup(const ::std::string& uid, ::Ice::StringSeq& eserviceList) - { - return getESUnJoinGroup(uid, eserviceList, 0); - } - ::Ice::Int getESUnJoinGroup(const ::std::string& uid, ::Ice::StringSeq& eserviceList, const ::Ice::Context& __ctx) - { - return getESUnJoinGroup(uid, eserviceList, &__ctx); - } - -private: - - ::Ice::Int getESUnJoinGroup(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESReceptList(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptStatusSeq& eserviceList) - { - return getESReceptList(uid, groupId, eserviceList, 0); - } - ::Ice::Int getESReceptList(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptStatusSeq& eserviceList, const ::Ice::Context& __ctx) - { - return getESReceptList(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int getESReceptList(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptStatusSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int checkESRole(const ::std::string& uid, ::Ice::Int& groupId) - { - return checkESRole(uid, groupId, 0); - } - ::Ice::Int checkESRole(const ::std::string& uid, ::Ice::Int& groupId, const ::Ice::Context& __ctx) - { - return checkESRole(uid, groupId, &__ctx); - } - -private: - - ::Ice::Int checkESRole(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getChildShuntInfos(const ::std::string& uid, ::IMSINNER::SICEChildShuntInfoSeq& childInfos) - { - return getChildShuntInfos(uid, childInfos, 0); - } - ::Ice::Int getChildShuntInfos(const ::std::string& uid, ::IMSINNER::SICEChildShuntInfoSeq& childInfos, const ::Ice::Context& __ctx) - { - return getChildShuntInfos(uid, childInfos, &__ctx); - } - -private: - - ::Ice::Int getChildShuntInfos(const ::std::string&, ::IMSINNER::SICEChildShuntInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int setChildShuntInfos(const ::std::string& uid, const ::IMSINNER::SICEChildShuntInfoSeq& childInfos) - { - return setChildShuntInfos(uid, childInfos, 0); - } - ::Ice::Int setChildShuntInfos(const ::std::string& uid, const ::IMSINNER::SICEChildShuntInfoSeq& childInfos, const ::Ice::Context& __ctx) - { - return setChildShuntInfos(uid, childInfos, &__ctx); - } - -private: - - ::Ice::Int setChildShuntInfos(const ::std::string&, const ::IMSINNER::SICEChildShuntInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getAgentChild(const ::std::string& uid, ::std::string& agentId) - { - return getAgentChild(uid, agentId, 0); - } - ::Ice::Int getAgentChild(const ::std::string& uid, ::std::string& agentId, const ::Ice::Context& __ctx) - { - return getAgentChild(uid, agentId, &__ctx); - } - -private: - - ::Ice::Int getAgentChild(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int setAgentChild(const ::std::string& uid, const ::std::string& agentId) - { - return setAgentChild(uid, agentId, 0); - } - ::Ice::Int setAgentChild(const ::std::string& uid, const ::std::string& agentId, const ::Ice::Context& __ctx) - { - return setAgentChild(uid, agentId, &__ctx); - } - -private: - - ::Ice::Int setAgentChild(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getAgentList(const ::std::string& uid, ::Ice::StringSeq& agentIds) - { - return getAgentList(uid, agentIds, 0); - } - ::Ice::Int getAgentList(const ::std::string& uid, ::Ice::StringSeq& agentIds, const ::Ice::Context& __ctx) - { - return getAgentList(uid, agentIds, &__ctx); - } - -private: - - ::Ice::Int getAgentList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int helperMsg(const ::std::string& uid, const ::std::string& targetUid, const ::std::string& message, ::Ice::Int originalSid) - { - return helperMsg(uid, targetUid, message, originalSid, 0); - } - ::Ice::Int helperMsg(const ::std::string& uid, const ::std::string& targetUid, const ::std::string& message, ::Ice::Int originalSid, const ::Ice::Context& __ctx) - { - return helperMsg(uid, targetUid, message, originalSid, &__ctx); - } - -private: - - ::Ice::Int helperMsg(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace IMSINNER -{ - -class IMSICEService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int getLastVisit(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setShareContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int clearLastVisit(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getLastVisitEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::IMSINNER::SHMSBuddyStatus6&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int HmsLogin(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getWorkingBuddy(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setWaiterDenyService(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setLastVisit(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setLastVisitandSrvnum(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int HmsLogin6(const ::std::string&, ::Ice::Int, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setWaiterServerID(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int isFakeOnline(const ::std::string&, bool&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setWaiterStatus(const ::std::string&, ::Ice::Int, ::Ice::Int, bool&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getHelperstatus(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getOfflineHelpers(const ::std::string&, ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getAllOtherHelpers(const ::std::string&, ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setMaxServiceNum(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int chgATMHelpersServiceNum(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int HmsLoginOff(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int HmsLoginOff6(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getBuddyStatus(const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int EHmsLogin6(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getBuddyStatus6(const ::std::string&, const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq6&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getForWardList(const ::std::string&, const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq6&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int forWardServiceUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int closeHMSSession(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int NotifyHMSMsg(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int SendHMSMsg(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int changeUserStatus(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESShuntStatus(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setESShuntStatus(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getMaxESReceptNum(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptNumSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setMaxESReceptNum(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICEReceptNumSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESPriority(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptPrioritySeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setESPriority(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICEReceptPrioritySeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESRecvOffMsg(const ::std::string&, ::Ice::Int, ::IMSINNER::SICERecvOffMsgSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setESRecvOffMsg(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICERecvOffMsgSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESGroupList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int insertESGroupInfo(const ::std::string&, const ::IMSINNER::SICEESGroupInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateESGroupInfo(const ::std::string&, const ::IMSINNER::SICEESGroupInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int delESGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESGroupInfo(const ::std::string&, ::IMSINNER::SICEESGroupInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESGroupInfoByID(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEESGroupInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESUnJoinGroup(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESReceptList(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptStatusSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkESRole(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getChildShuntInfos(const ::std::string&, ::IMSINNER::SICEChildShuntInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setChildShuntInfos(const ::std::string&, const ::IMSINNER::SICEChildShuntInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getAgentChild(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setAgentChild(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getAgentList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int helperMsg(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace IMSINNER -{ - -class IMSICEService : virtual public ::IceDelegate::IMSINNER::IMSICEService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int getLastVisit(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setShareContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int clearLastVisit(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getLastVisitEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::IMSINNER::SHMSBuddyStatus6&, const ::Ice::Context*); - - virtual ::Ice::Int HmsLogin(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getWorkingBuddy(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setWaiterDenyService(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int setLastVisit(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setLastVisitandSrvnum(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int HmsLogin6(const ::std::string&, ::Ice::Int, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setWaiterServerID(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int isFakeOnline(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int setWaiterStatus(const ::std::string&, ::Ice::Int, ::Ice::Int, bool&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getHelperstatus(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getOfflineHelpers(const ::std::string&, ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getAllOtherHelpers(const ::std::string&, ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setMaxServiceNum(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int chgATMHelpersServiceNum(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int HmsLoginOff(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int HmsLoginOff6(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int getBuddyStatus(const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq&, const ::Ice::Context*); - - virtual ::Ice::Int EHmsLogin6(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int getBuddyStatus6(const ::std::string&, const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq6&, const ::Ice::Context*); - - virtual ::Ice::Int getForWardList(const ::std::string&, const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq6&, const ::Ice::Context*); - - virtual ::Ice::Int forWardServiceUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int closeHMSSession(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int NotifyHMSMsg(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int SendHMSMsg(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int changeUserStatus(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int getESShuntStatus(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setESShuntStatus(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getMaxESReceptNum(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptNumSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setMaxESReceptNum(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICEReceptNumSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESPriority(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptPrioritySeq&, const ::Ice::Context*); - - virtual ::Ice::Int setESPriority(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICEReceptPrioritySeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESRecvOffMsg(const ::std::string&, ::Ice::Int, ::IMSINNER::SICERecvOffMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setESRecvOffMsg(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICERecvOffMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESGroupList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int insertESGroupInfo(const ::std::string&, const ::IMSINNER::SICEESGroupInfo&, const ::Ice::Context*); - - virtual ::Ice::Int updateESGroupInfo(const ::std::string&, const ::IMSINNER::SICEESGroupInfo&, const ::Ice::Context*); - - virtual ::Ice::Int delESGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int getESGroupInfo(const ::std::string&, ::IMSINNER::SICEESGroupInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESGroupInfoByID(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEESGroupInfo&, const ::Ice::Context*); - - virtual ::Ice::Int getESUnJoinGroup(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESReceptList(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptStatusSeq&, const ::Ice::Context*); - - virtual ::Ice::Int checkESRole(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getChildShuntInfos(const ::std::string&, ::IMSINNER::SICEChildShuntInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setChildShuntInfos(const ::std::string&, const ::IMSINNER::SICEChildShuntInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getAgentChild(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setAgentChild(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getAgentList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int helperMsg(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace IMSINNER -{ - -class IMSICEService : virtual public ::IceDelegate::IMSINNER::IMSICEService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int getLastVisit(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setShareContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int clearLastVisit(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getLastVisitEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::IMSINNER::SHMSBuddyStatus6&, const ::Ice::Context*); - - virtual ::Ice::Int HmsLogin(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getWorkingBuddy(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setWaiterDenyService(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int setLastVisit(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setLastVisitandSrvnum(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int HmsLogin6(const ::std::string&, ::Ice::Int, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setWaiterServerID(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int isFakeOnline(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int setWaiterStatus(const ::std::string&, ::Ice::Int, ::Ice::Int, bool&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getHelperstatus(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getOfflineHelpers(const ::std::string&, ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getAllOtherHelpers(const ::std::string&, ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setMaxServiceNum(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int chgATMHelpersServiceNum(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int HmsLoginOff(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int HmsLoginOff6(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int getBuddyStatus(const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq&, const ::Ice::Context*); - - virtual ::Ice::Int EHmsLogin6(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int getBuddyStatus6(const ::std::string&, const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq6&, const ::Ice::Context*); - - virtual ::Ice::Int getForWardList(const ::std::string&, const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq6&, const ::Ice::Context*); - - virtual ::Ice::Int forWardServiceUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int closeHMSSession(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int NotifyHMSMsg(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int SendHMSMsg(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int changeUserStatus(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int getESShuntStatus(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setESShuntStatus(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getMaxESReceptNum(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptNumSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setMaxESReceptNum(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICEReceptNumSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESPriority(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptPrioritySeq&, const ::Ice::Context*); - - virtual ::Ice::Int setESPriority(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICEReceptPrioritySeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESRecvOffMsg(const ::std::string&, ::Ice::Int, ::IMSINNER::SICERecvOffMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setESRecvOffMsg(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICERecvOffMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESGroupList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int insertESGroupInfo(const ::std::string&, const ::IMSINNER::SICEESGroupInfo&, const ::Ice::Context*); - - virtual ::Ice::Int updateESGroupInfo(const ::std::string&, const ::IMSINNER::SICEESGroupInfo&, const ::Ice::Context*); - - virtual ::Ice::Int delESGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int getESGroupInfo(const ::std::string&, ::IMSINNER::SICEESGroupInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESGroupInfoByID(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEESGroupInfo&, const ::Ice::Context*); - - virtual ::Ice::Int getESUnJoinGroup(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESReceptList(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptStatusSeq&, const ::Ice::Context*); - - virtual ::Ice::Int checkESRole(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getChildShuntInfos(const ::std::string&, ::IMSINNER::SICEChildShuntInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setChildShuntInfos(const ::std::string&, const ::IMSINNER::SICEChildShuntInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getAgentChild(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setAgentChild(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getAgentList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int helperMsg(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace IMSINNER -{ - -class IMSICEService : virtual public ::Ice::Object -{ -public: - - typedef IMSICEServicePrx ProxyType; - typedef IMSICEServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int getLastVisit(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getLastVisit(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setShareContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setShareContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int clearLastVisit(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___clearLastVisit(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getLastVisitEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::IMSINNER::SHMSBuddyStatus6&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getLastVisitEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int HmsLogin(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___HmsLogin(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getWorkingBuddy(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getWorkingBuddy(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setWaiterDenyService(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setWaiterDenyService(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setLastVisit(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setLastVisit(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setLastVisitandSrvnum(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setLastVisitandSrvnum(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int HmsLogin6(const ::std::string&, ::Ice::Int, ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___HmsLogin6(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setWaiterServerID(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setWaiterServerID(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int isFakeOnline(const ::std::string&, bool&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___isFakeOnline(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setWaiterStatus(const ::std::string&, ::Ice::Int, ::Ice::Int, bool&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setWaiterStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getHelperstatus(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getHelperstatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getOfflineHelpers(const ::std::string&, ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getOfflineHelpers(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getAllOtherHelpers(const ::std::string&, ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getAllOtherHelpers(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setMaxServiceNum(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setMaxServiceNum(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int chgATMHelpersServiceNum(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___chgATMHelpersServiceNum(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int HmsLoginOff(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___HmsLoginOff(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int HmsLoginOff6(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___HmsLoginOff6(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getBuddyStatus(const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getBuddyStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int EHmsLogin6(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___EHmsLogin6(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getBuddyStatus6(const ::std::string&, const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq6&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getBuddyStatus6(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getForWardList(const ::std::string&, const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq6&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getForWardList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int forWardServiceUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___forWardServiceUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int closeHMSSession(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___closeHMSSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int NotifyHMSMsg(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___NotifyHMSMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int SendHMSMsg(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___SendHMSMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int changeUserStatus(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___changeUserStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESShuntStatus(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESShuntStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setESShuntStatus(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setESShuntStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getMaxESReceptNum(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptNumSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getMaxESReceptNum(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setMaxESReceptNum(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICEReceptNumSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setMaxESReceptNum(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESPriority(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptPrioritySeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESPriority(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setESPriority(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICEReceptPrioritySeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setESPriority(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESRecvOffMsg(const ::std::string&, ::Ice::Int, ::IMSINNER::SICERecvOffMsgSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESRecvOffMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setESRecvOffMsg(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICERecvOffMsgSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setESRecvOffMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESGroupList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESGroupList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int insertESGroupInfo(const ::std::string&, const ::IMSINNER::SICEESGroupInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___insertESGroupInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateESGroupInfo(const ::std::string&, const ::IMSINNER::SICEESGroupInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateESGroupInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int delESGroup(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___delESGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESGroupInfo(const ::std::string&, ::IMSINNER::SICEESGroupInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESGroupInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESGroupInfoByID(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEESGroupInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESGroupInfoByID(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESUnJoinGroup(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESUnJoinGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESReceptList(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptStatusSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESReceptList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int checkESRole(const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkESRole(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getChildShuntInfos(const ::std::string&, ::IMSINNER::SICEChildShuntInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getChildShuntInfos(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setChildShuntInfos(const ::std::string&, const ::IMSINNER::SICEChildShuntInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setChildShuntInfos(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getAgentChild(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getAgentChild(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setAgentChild(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setAgentChild(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getAgentList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getAgentList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int helperMsg(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___helperMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IMSICEServicePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/ims_perf_test.h.svn-base b/features/aliww/include/.svn/text-base/ims_perf_test.h.svn-base deleted file mode 100644 index 83fe24d..0000000 --- a/features/aliww/include/.svn/text-base/ims_perf_test.h.svn-base +++ /dev/null @@ -1,37 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: ims_perf_test.h - * - * Description: - * - * Version: 1.0 - * Created: 2011年01月07日 15时44分43秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ - -#ifndef IMS_PERF_TEST_H -#define IMS_PERF_TEST_H -#include -using namespace std; - -#ifdef __cplusplus -extern "C" { -#endif -void *ims_init(void* p); -void *ims_login(void* p); -void *ims_login_with_token(void* p); -void *ims_updateUserProfile(void* p); -void *ims_chgStatus(void *p); -void *ims_storm_login(void* p); -void *ims_end(void* p); -#ifdef __cplusplus -} -#endif -#endif diff --git a/features/aliww/include/.svn/text-base/imsc_cmd.h.svn-base b/features/aliww/include/.svn/text-base/imsc_cmd.h.svn-base deleted file mode 100644 index 81b523b..0000000 --- a/features/aliww/include/.svn/text-base/imsc_cmd.h.svn-base +++ /dev/null @@ -1,298 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: imsc_cmd.h -// Date: 2011-04-27 13:36:21 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __IMSC_CMD_H__ -#define __IMSC_CMD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -enum IMSC_REQUEST -{ - IM_HELTH_CHECK = 0x1000001, - IM_REQ_CHECKVERSION = 0x1000002, - IM_REQ_LOGIN = 0x1000003, - IM_REQ_LOGIN_AGAIN = 0x1000004, - IM_REQ_POSTLOGIN = 0x1000005, - IM_REQ_RELOGIN = 0x1000006, - IM_REQ_LOGOFF = 0x1000007, - IM_REQ_GETGROUP = 0x1000008, - IM_REQ_ADDGROUP = 0x1000009, - IM_REQ_CHGGROUP = 0x100000a, - IM_REQ_DELGROUP = 0x100000b, - IM_REQ_CHGUSERVERIFY = 0x100000c, - IM_REQ_GETCONTACT = 0x100000d, - IM_REQ_ADDCONTACT = 0x100000e, - IM_REQ_CHGCONTACT = 0x100000f, - IM_REQ_DELCONTACT = 0x1000010, - IM_REQ_ADDCNTACK = 0x1000011, - IM_REQ_GETCNTDETAIL = 0x1000012, - IM_REQ_CHGUSERDETAIL = 0x1000013, - IM_REQ_GETCNTMEMO = 0x1000014, - IM_REQ_CHGCNTMEMO = 0x1000015, - IM_REQ_GETBLACK = 0x1000016, - IM_REQ_ADDBLACK = 0x1000017, - IM_REQ_DELBLACK = 0x1000018, - IM_REQ_GETREVBLACK = 0x1000019, - IM_REQ_GETUSERINFO = 0x100001a, - IM_REQ_GETCNTSTATUS = 0x100001b, - IM_REQ_CHGSTATUS = 0x100001c, - IM_REQ_GETOFFLINEMSG = 0x100001d, - IM_REQ_ADDOFFLINEMSG = 0x100001e, - IM_REQ_DELOFFLINEMSG = 0x100001f, - IM_REQ_GETSYSTEMMSG = 0x1000020, - IM_REQ_SENDIMMESSAGE = 0x1000021, - IM_REQ_SENDMULTIUSERMSG = 0x1000022, - IM_REQ_UPGGENERALCONTACT = 0x1000023, - IM_REQ_GETTOOLSPROFILE = 0x1000024, - IM_REQ_CHGTOOLSPROFILE = 0x1000025, - IM_REQ_PEERINFO = 0x1000026, - IM_REQ_SUBSCRIBE_INFO = 0x1000027, - IM_REQ_DISUBSCRIBE_INFO = 0x1000028, - IM_REQ_CHGPORTRAIT = 0x1000029, - IM_REQ_CHGSIGNATURE = 0x100002a, - IM_REQ_ADDBINDING = 0x100002b, - IM_REQ_CHGBINDING = 0x100002c, - IM_REQ_DELBINDING = 0x100002d, - IM_REQ_GETBINDING = 0x100002e, - IM_REQ_CANKEYSEARCH = 0x100002f, - IM_REQ_GETFTSADDR = 0x1000030, - IM_REQ_GETUSERSSTATUS = 0x1000031, - IM_REQ_PRELOGIN = 0x1000032, - IM_REQ_PRELOGIN_AGAIN = 0x1000033, - IM_REQ_GETWEB_SESSION = 0x1000034, - IM_REQ_USERUDBPROFILE = 0x1000035, - IM_REQ_PEER_VERIFY_CONFIG = 0x1000036, - IM_REQ_GET_PWDTOKEN = 0x1000037, - IM_REQ_UPDATE_UDBPROFILE = 0x1000038, - IM_REQ_GET_DEGREE = 0x1000039, - IM_REQ_CHECK_AUTHCODE = 0x1000040, - IM_REQ_PRELOGIN1 = 0x1000041, - IM_REQ_LOGIN2 = 0x1000042, - IM_REQ_ADDCONTACT_NEW = 0x1000050, - IM_REQ_ADDCNTACK_NEW = 0x1000051, - IM_REQ_HELP_LOGIN_V5 = 0x1001001, - IM_REQ_HELP_CHG_SRV_MODE_V5 = 0x1001002, - IM_REQ_HELP_GET_CHILDS_V5 = 0x1001006, - IM_REQ_HELP_LOGIN = 0x1001041, - IM_REQ_HELP_CHG_SRV_MODE = 0x1001042, - IM_REQ_HELP_SET_SHARE_CID = 0x1001043, - IM_REQ_HELP_GET_SHARE_CID = 0x1001044, - IM_REQ_HELP_GET_CHILD_ONLINE= 0x1001045, - IM_REQ_HELP_GET_ONLINECHILDS= 0x1001046, - IM_REQ_HELP_GET_SERVICES = 0x1001047, - IM_REQ_HELP_GET_BIND_TO = 0x1001048, - IM_REQ_HELP_CHG_SERVICE_NUM = 0x1001049, - IM_REQ_HELP_GET_BUDDY_STATUS= 0x1001050, - IM_REQ_SEND_WATCH_INFO = 0x100005e, - IM_REQ_GET_SIP_SESSIONID = 0x1000060, - IM_REQ_SEARCHUSER = 0x1000061, - IM_REQ_SEARCHUSEREX = 0x1000062, - CASC_REQ_GOODSSEARCH = 0x12000001, - CASC_REQ_GOODSSEARCHEX = 0x12000002, - CASC_REQ_WW_MAINSEARCH = 0x12000003, - CASC_REQ_ESEXPANDTAB = 0x12000101, - CASC_REQ_SEND_ESEVAL = 0x12000102, - CASC_REQ_GETCNTLIST = 0x12000103, - CASC_REQ_WWCARD_INFO = 0x12000201, - CASC_REQ_WWCARD_LEVEL = 0x12000202, - CASC_REQ_WWCARD_SNS = 0x12000203, - CASC_REQ_WWCARD_EVALUATE = 0x12000204, - CASC_REQ_WWCARD_FAVORITE = 0x12000205, - CASC_REQ_WWCARD_XML = 0x12000206, - CASC_REQ_TRADE_LIST = 0x12000301, - CASC_REQ_TRADE_INFO = 0x12000302, - CASC_REQ_AUTH_SHELLCMD = 0x12000401, - CASC_REQ_SITE_APP = 0x12000601, - CASC_REQ_GET_USERCRINFO = 0x12000701, - CASC_REQ_SET_USERCRINFO = 0x12000702, - IM_REQ_EHELP_LOGIN = 0x1000070, - IM_REQ_EHELP_GET_BUDDYS = 0x1000071, - IM_REQ_EHELP_SEND_MSG = 0x1000072, - IM_REQ_EHELP_SEND_CMD = 0x1000073, - IM_REQ_EHELP_CHG_SRV_MODE = 0x1000074, - IM_REQ_EHELP_FORWARD_USER = 0x1000075, - IM_REQ_EHELP_CLOSE_SESSION = 0x1000076, - IM_REQ_EHELP_MSG_LOG = 0x1000077, - IM_REQ_EHELP_GET_FORWARD = 0x1000078, - IM_REQ_EHELP_DUNNY = 0x1000079, - IM_REQ_GETAPPADDR = 0x1000090, - IM_REQ_CHAT_IDENTIFY = 0x1000200, - IM_REQ_CHAT_CLOSE = 0x1000201, - IM_REQ_CHAT_DELTEXT = 0x1000202, - IM_REQ_CHAT_GETTXT = 0x1000203, - IM_REQ_CHAT_QUERYPICS = 0x1000204, - IM_REQ_CHAT_PUTPIC = 0x1000205, - IM_REQ_CHAT_GETPIC = 0x1000206, - IM_REQ_CHAT_GETCAL = 0x1000207, - IM_REQ_CHAT_SETTXT = 0x1000208, - IM_REQ_CHAT_CHKVER = 0x1000209, - IM_REQ_CHAT_PREIDENTIFY = 0x1000210, - -}; - -enum IMSC_RESPONSE -{ - IM_RSP_CHECKVERSION = 0x1010002, - IM_RSP_LOGIN = 0x1010003, - IM_RSP_LOGIN_AGAIN = 0x1010004, - IM_RSP_RELOGIN = 0x1010006, - IM_RSP_LOGOFF = 0x1010007, - IM_RSP_GETGROUP = 0x1010008, - IM_RSP_ADDGROUP = 0x1010009, - IM_RSP_CHGGROUP = 0x101000a, - IM_RSP_DELGROUP = 0x101000b, - IM_RSP_CHGUSERVERIFY = 0x101000c, - IM_RSP_GETCONTACT = 0x101000d, - IM_RSP_ADDCONTACT = 0x101000e, - IM_RSP_CHGCONTACT = 0x101000f, - IM_RSP_DELCONTACT = 0x1010010, - IM_RSP_ADDCNTACK = 0x1010011, - IM_RSP_GETCNTDETAIL = 0x1010012, - IM_RSP_CHGUSERDETAIL = 0x1010013, - IM_RSP_GETCNTMEMO = 0x1010014, - IM_RSP_CHGCNTMEMO = 0x1010015, - IM_RSP_GETBLACK = 0x1010016, - IM_RSP_ADDBLACK = 0x1010017, - IM_RSP_DELBLACK = 0x1010018, - IM_RSP_GETREVBLACK = 0x1010019, - IM_RSP_GETUSERINFO = 0x101001a, - IM_RSP_GETCNTSTATUS = 0x101001b, - IM_RSP_GETOFFLINEMSG = 0x101001d, - IM_RSP_DELOFFLINEMSG = 0x101001f, - IM_RSP_GETSYSTEMMSG = 0x1010020, - IM_RSP_UPGGENERALCONTACT = 0x1010023, - IM_RSP_GETTOOLSPROFILE = 0x1010024, - IM_RSP_CHGTOOLSPROFILE = 0x1010025, - IM_RSP_PEERINFO = 0x1010026, - IM_RSP_SUBSCRIBE_INFO = 0x1010027, - IM_RSP_CHGSIGNATURE = 0x101002a, - IM_RSP_ADDBINDING = 0x101002b, - IM_RSP_CHGBINDING = 0x101002c, - IM_RSP_DELBINDING = 0x101002d, - IM_RSP_GETBINDING = 0x101002e, - IM_RSP_GETFTSADDR = 0x1010030, - IM_RSP_GETUSERSSTATUS = 0x1010031, - IM_RSP_GETWEB_SESSION = 0x1010034, - IM_RSP_USERUDBPROFILE = 0x1010035, - IM_RSP_PEER_VERIFY_CONFIG = 0x1010036, - IM_RSP_GET_PWDTOKEN = 0x1010037, - IM_RSP_UPDATE_UDBPROFILE = 0x1010038, - IM_RSP_GET_DEGREE = 0x1010039, - IM_RSP_CHECK_AUTHCODE = 0x1010040, - IM_RSP_LOGIN2 = 0x1010042, - IM_RSP_ADDCONTACT_NEW = 0x1010050, - IM_RSP_ADDCNTACK_NEW = 0x1010051, - IM_RSP_HELP_LOGIN_V5 = 0x1010001, - IM_RSP_HELP_CHG_SRV_MODE_V5 = 0x1010002, - IM_RSP_HELP_GET_CHILDS_V5 = 0x1010006, - IM_RSP_HELP_LOGIN = 0x1010041, - IM_RSP_HELP_CHG_SRV_MODE = 0x1010042, - IM_RSP_HELP_SET_SHARE_CID = 0x1010043, - IM_RSP_HELP_GET_SHARE_CID = 0x1010044, - IM_RSP_HELP_GET_CHILD_ONLINE= 0x1010045, - IM_RSP_HELP_GET_ONLINECHILDS= 0x1010046, - IM_RSP_HELP_GET_SERVICES = 0x1010047, - IM_RSP_HELP_GET_BIND_TO = 0x1010048, - IM_RSP_HELP_CHG_SERVICE_NUM = 0x1010049, - IM_RSP_HELP_GET_BUDDY_STATUS= 0x1010050, - IM_RSP_GET_SIP_SESSIONID = 0x1010060, - IM_RSP_SEARCHUSER = 0x1010061, - IM_RSP_SEARCHUSEREX = 0x1010062, - CASC_RSP_GOODSSEARCH = 0x12010001, - CASC_RSP_GOODSSEARCHEX = 0x12010002, - CASC_RSP_WW_MAINSEARCH = 0x12010003, - CASC_RSP_ESEXPANDTAB = 0x12010101, - CASC_RSP_SEND_ESEVAL = 0x12010102, - CASC_RSP_GETCNTLIST = 0x12010103, - CASC_RSP_WWCARD_INFO = 0x12010201, - CASC_RSP_WWCARD_LEVEL = 0x12010202, - CASC_RSP_WWCARD_SNS = 0x12010203, - CASC_RSP_WWCARD_EVALUATE = 0x12010204, - CASC_RSP_WWCARD_FAVORITE = 0x12010205, - CASC_RSP_WWCARD_XML = 0x12010206, - CASC_RSP_TRADE_LIST = 0x12010301, - CASC_RSP_TRADE_INFO = 0x12010302, - CASC_RSP_AUTH_SHELLCMD = 0x12010401, - CASC_RSP_SITE_APP = 0x12010601, - CASC_RSP_GET_USERCRINFO = 0x12010701, - CASC_RSP_SET_USERCRINFO = 0x12010702, - IM_RSP_EHELP_LOGIN = 0x1010070, - IM_RSP_EHELP_GET_BUDDYS = 0x1010071, - IM_RSP_EHELP_SEND_MSG = 0x1010072, - IM_RSP_EHELP_SEND_CMD = 0x1010073, - IM_RSP_EHELP_CHG_SRV_MODE = 0x1010074, - IM_RSP_EHELP_FORWARD_USER = 0x1010075, - IM_RSP_EHELP_CLOSE_SESSION = 0x1010076, - IM_RSP_EHELP_MSG_LOG = 0x1010077, - IM_RSP_EHELP_GET_FORWARD = 0x1010078, - IM_RSP_EHELP_NOTIFY_MSG = 0x1010079, - IM_RSP_GETAPPADDR = 0x1010090, - IM_RSP_CHAT_IDENTIFY = 0x1010200, - IM_RSP_CHAT_CLOSE = 0x1010201, - IM_RSP_CHAT_DELTEXT = 0x1010202, - IM_RSP_CHAT_GETTXT = 0x1010203, - IM_RSP_CHAT_QUERYPICS = 0x1010204, - IM_RSP_CHAT_PUTPIC = 0x1010205, - IM_RSP_CHAT_GETPIC = 0x1010206, - IM_RSP_CHAT_GETCAL = 0x1010207, - IM_RSP_CHAT_SETTXT = 0x1010208, - IM_RSP_CHAT_CHKVER = 0x1010209, - IM_RSP_CHAT_PREIDENTIFY = 0x1010210, - -}; - -enum IMSC_NOTIFY -{ - IM_NTF_LOGIN_AGAIN = 0x1020004, - IM_NTF_FORCEDISCONNECT = 0x1020005, - IM_NTF_STATUS = 0x102000f, - IM_NTF_IMMESSAGE = 0x1020010, - IM_NTF_SYSTEMMESSAGE = 0x1020011, - IM_NTF_OPERATIONTIP = 0x102002b, - IM_NTF_UPDATE_USREXTINFO = 0x102002c, - IM_NTF_SUBCRIBE_MSG = 0x102002d, - IM_NTF_REFRESH_CONTACT = 0x1020030, - IM_NTF_FEEDS = 0x1020031, - IM_NTF_USER_SNSINFO = 0x1020032, - IM_NTF_RECENT = 0x1020033, - IM_NTF_NEED_AUTHCODE = 0x1020040, - IM_NTF_EXTINFO_MSG = 0x102005d, - IM_NTF_WATCH_INFO = 0x102005e, - IM_NTF_SYSTEMMAPMESSAGE = 0x1020012, - -}; - -enum ALI_IM_P2P_MSG_TYPE -{ - ALI_IM_TEXT = 0, - ALI_IM_BUZZ = 0x1, - ALI_IM_P2P = 0x2, - ALI_IM_AUTO_REPLY = 0x3, - ALI_IM_MSG_ACK = 0x4, - ALI_IM_CONTACT = 0x5, - ALI_IM_TYPING_NOTIFY = 0x6, - ALI_IM_GROUP_BROADCAST = 0x7, - -}; - -enum ADDCONTACT_OPERATE -{ - IMM_CONTACT_ADDED = 0x301, - IMM_CONTACT_IGNOREUSER_ADDED= 0x302, - IMM_CONTACT_IGNOREUSER_DELED= 0x303, - IMM_CONTACT_ASKADD_REQ = 0x310, - IMM_CONTACT_ASKADD_NO = 0x311, - IMM_CONTACT_ASKADD_YES = 0x312, - -}; - -#endif diff --git a/features/aliww/include/.svn/text-base/imsc_cmd_2Str.h.svn-base b/features/aliww/include/.svn/text-base/imsc_cmd_2Str.h.svn-base deleted file mode 100644 index 35eeae7..0000000 --- a/features/aliww/include/.svn/text-base/imsc_cmd_2Str.h.svn-base +++ /dev/null @@ -1,312 +0,0 @@ -#ifndef __IMSC_CMD_2STR_H__ -#define __IMSC_CMD_2STR_H__ - -#include -#include - -using namespace std; - -namespace IMSC_cmd2STR -{ - inline string IMSC_REQUEST_2STR(uint32_t cmd) - { - switch(cmd) - { - case 0x1000001: return "IM_HELTH_CHECK "; - case 0x1000002: return "IM_REQ_CHECKVERSION "; - case 0x1000003: return "IM_REQ_LOGIN "; - case 0x1000004: return "IM_REQ_LOGIN_AGAIN "; - case 0x1000005: return "IM_REQ_POSTLOGIN "; - case 0x1000006: return "IM_REQ_RELOGIN "; - case 0x1000007: return "IM_REQ_LOGOFF "; - case 0x1000008: return "IM_REQ_GETGROUP "; - case 0x1000009: return "IM_REQ_ADDGROUP "; - case 0x100000a: return "IM_REQ_CHGGROUP "; - case 0x100000b: return "IM_REQ_DELGROUP "; - case 0x100000c: return "IM_REQ_CHGUSERVERIFY "; - case 0x100000d: return "IM_REQ_GETCONTACT "; - case 0x100000e: return "IM_REQ_ADDCONTACT "; - case 0x100000f: return "IM_REQ_CHGCONTACT "; - case 0x1000010: return "IM_REQ_DELCONTACT "; - case 0x1000011: return "IM_REQ_ADDCNTACK "; - case 0x1000012: return "IM_REQ_GETCNTDETAIL "; - case 0x1000013: return "IM_REQ_CHGUSERDETAIL "; - case 0x1000014: return "IM_REQ_GETCNTMEMO "; - case 0x1000015: return "IM_REQ_CHGCNTMEMO "; - case 0x1000016: return "IM_REQ_GETBLACK "; - case 0x1000017: return "IM_REQ_ADDBLACK "; - case 0x1000018: return "IM_REQ_DELBLACK "; - case 0x1000019: return "IM_REQ_GETREVBLACK "; - case 0x100001a: return "IM_REQ_GETUSERINFO "; - case 0x100001b: return "IM_REQ_GETCNTSTATUS "; - case 0x100001c: return "IM_REQ_CHGSTATUS "; - case 0x100001d: return "IM_REQ_GETOFFLINEMSG "; - case 0x100001e: return "IM_REQ_ADDOFFLINEMSG "; - case 0x100001f: return "IM_REQ_DELOFFLINEMSG "; - case 0x1000020: return "IM_REQ_GETSYSTEMMSG "; - case 0x1000021: return "IM_REQ_SENDIMMESSAGE "; - case 0x1000022: return "IM_REQ_SENDMULTIUSERMSG "; - case 0x1000023: return "IM_REQ_UPGGENERALCONTACT "; - case 0x1000024: return "IM_REQ_GETTOOLSPROFILE "; - case 0x1000025: return "IM_REQ_CHGTOOLSPROFILE "; - case 0x1000026: return "IM_REQ_PEERINFO "; - case 0x1000027: return "IM_REQ_SUBSCRIBE_INFO "; - case 0x1000028: return "IM_REQ_DISUBSCRIBE_INFO "; - case 0x1000029: return "IM_REQ_CHGPORTRAIT "; - case 0x100002a: return "IM_REQ_CHGSIGNATURE "; - case 0x100002b: return "IM_REQ_ADDBINDING "; - case 0x100002c: return "IM_REQ_CHGBINDING "; - case 0x100002d: return "IM_REQ_DELBINDING "; - case 0x100002e: return "IM_REQ_GETBINDING "; - case 0x100002f: return "IM_REQ_CANKEYSEARCH "; - case 0x1000030: return "IM_REQ_GETFTSADDR "; - case 0x1000031: return "IM_REQ_GETUSERSSTATUS "; - case 0x1000032: return "IM_REQ_PRELOGIN "; - case 0x1000033: return "IM_REQ_PRELOGIN_AGAIN "; - case 0x1000034: return "IM_REQ_GETWEB_SESSION "; - case 0x1000035: return "IM_REQ_USERUDBPROFILE "; - case 0x1000036: return "IM_REQ_PEER_VERIFY_CONFIG "; - case 0x1000037: return "IM_REQ_GET_PWDTOKEN "; - case 0x1000038: return "IM_REQ_UPDATE_UDBPROFILE "; - case 0x1000039: return "IM_REQ_GET_DEGREE "; - case 0x1000040: return "IM_REQ_CHECK_AUTHCODE "; - case 0x1000041: return "IM_REQ_PRELOGIN1 "; - case 0x1000042: return "IM_REQ_LOGIN2 "; - case 0x1000050: return "IM_REQ_ADDCONTACT_NEW "; - case 0x1000051: return "IM_REQ_ADDCNTACK_NEW "; - case 0x1001001: return "IM_REQ_HELP_LOGIN_V5 "; - case 0x1001002: return "IM_REQ_HELP_CHG_SRV_MODE_V5 "; - case 0x1001006: return "IM_REQ_HELP_GET_CHILDS_V5 "; - case 0x1001041: return "IM_REQ_HELP_LOGIN "; - case 0x1001042: return "IM_REQ_HELP_CHG_SRV_MODE "; - case 0x1001043: return "IM_REQ_HELP_SET_SHARE_CID "; - case 0x1001044: return "IM_REQ_HELP_GET_SHARE_CID "; - case 0x1001045: return "IM_REQ_HELP_GET_CHILD_ONLINE "; - case 0x1001046: return "IM_REQ_HELP_GET_ONLINECHILDS "; - case 0x1001047: return "IM_REQ_HELP_GET_SERVICES "; - case 0x1001048: return "IM_REQ_HELP_GET_BIND_TO "; - case 0x1001049: return "IM_REQ_HELP_CHG_SERVICE_NUM "; - case 0x1001050: return "IM_REQ_HELP_GET_BUDDY_STATUS "; - case 0x100005e: return "IM_REQ_SEND_WATCH_INFO "; - case 0x1000060: return "IM_REQ_GET_SIP_SESSIONID "; - case 0x1000061: return "IM_REQ_SEARCHUSER "; - case 0x1000062: return "IM_REQ_SEARCHUSEREX "; - case 0x1200000: return "CASC_REQ_GOODSSEARCH "; - case 0x1000070: return "IM_REQ_EHELP_LOGIN "; - case 0x1000071: return "IM_REQ_EHELP_GET_BUDDYS "; - case 0x1000072: return "IM_REQ_EHELP_SEND_MSG "; - case 0x1000073: return "IM_REQ_EHELP_SEND_CMD "; - case 0x1000074: return "IM_REQ_EHELP_CHG_SRV_MODE "; - case 0x1000075: return "IM_REQ_EHELP_FORWARD_USER "; - case 0x1000076: return "IM_REQ_EHELP_CLOSE_SESSION "; - case 0x1000077: return "IM_REQ_EHELP_MSG_LOG "; - case 0x1000078: return "IM_REQ_EHELP_GET_FORWARD "; - case 0x1000079: return "IM_REQ_EHELP_DUNNY "; - case 0x1000090: return "IM_REQ_GETAPPADDR "; - case 0x1000100: return "IM_REQ_GETWEBBINDING "; - case 0x1000101: return "IM_REQ_LOGIN_OPENIM "; - case 0x1000102: return "IM_REQ_SETBINDING "; - case 0x1000103: return "IM_REQ_UNBIND "; - case 0x1000200: return "IM_REQ_CHAT_IDENTIFY "; - case 0x1000201: return "IM_REQ_CHAT_CLOSE "; - case 0x1000202: return "IM_REQ_CHAT_DELTEXT "; - case 0x1000203: return "IM_REQ_CHAT_GETTXT "; - case 0x1000204: return "IM_REQ_CHAT_QUERYPICS "; - case 0x1000205: return "IM_REQ_CHAT_PUTPIC "; - case 0x1000206: return "IM_REQ_CHAT_GETPIC "; - case 0x1000207: return "IM_REQ_CHAT_GETCAL "; - case 0x1000208: return "IM_REQ_CHAT_SETTXT "; - case 0x1000209: return "IM_REQ_CHAT_CHKVER "; - case 0x1000210: return "IM_REQ_CHAT_PREIDENTIFY "; - default: return ""; - - } - } - - inline string IMSC_RESPONSE_2STR(uint32_t cmd) - { - switch(cmd) - { - case 0x1010002: return "IM_RSP_CHECKVERSION "; - case 0x1010003: return "IM_RSP_LOGIN "; - case 0x1010004: return "IM_RSP_LOGIN_AGAIN "; - case 0x1010006: return "IM_RSP_RELOGIN "; - case 0x1010007: return "IM_RSP_LOGOFF "; - case 0x1010008: return "IM_RSP_GETGROUP "; - case 0x1010009: return "IM_RSP_ADDGROUP "; - case 0x101000a: return "IM_RSP_CHGGROUP "; - case 0x101000b: return "IM_RSP_DELGROUP "; - case 0x101000c: return "IM_RSP_CHGUSERVERIFY "; - case 0x101000d: return "IM_RSP_GETCONTACT "; - case 0x101000e: return "IM_RSP_ADDCONTACT "; - case 0x101000f: return "IM_RSP_CHGCONTACT "; - case 0x1010010: return "IM_RSP_DELCONTACT "; - case 0x1010011: return "IM_RSP_ADDCNTACK "; - case 0x1010012: return "IM_RSP_GETCNTDETAIL "; - case 0x1010013: return "IM_RSP_CHGUSERDETAIL "; - case 0x1010014: return "IM_RSP_GETCNTMEMO "; - case 0x1010015: return "IM_RSP_CHGCNTMEMO "; - case 0x1010016: return "IM_RSP_GETBLACK "; - case 0x1010017: return "IM_RSP_ADDBLACK "; - case 0x1010018: return "IM_RSP_DELBLACK "; - case 0x1010019: return "IM_RSP_GETREVBLACK "; - case 0x101001a: return "IM_RSP_GETUSERINFO "; - case 0x101001b: return "IM_RSP_GETCNTSTATUS "; - case 0x101001d: return "IM_RSP_GETOFFLINEMSG "; - case 0x101001f: return "IM_RSP_DELOFFLINEMSG "; - case 0x1010020: return "IM_RSP_GETSYSTEMMSG "; - case 0x1010023: return "IM_RSP_UPGGENERALCONTACT "; - case 0x1010024: return "IM_RSP_GETTOOLSPROFILE "; - case 0x1010025: return "IM_RSP_CHGTOOLSPROFILE "; - case 0x1010026: return "IM_RSP_PEERINFO "; - case 0x1010027: return "IM_RSP_SUBSCRIBE_INFO "; - case 0x101002a: return "IM_RSP_CHGSIGNATURE "; - case 0x101002b: return "IM_RSP_ADDBINDING "; - case 0x101002c: return "IM_RSP_CHGBINDING "; - case 0x101002d: return "IM_RSP_DELBINDING "; - case 0x101002e: return "IM_RSP_GETBINDING "; - case 0x1010030: return "IM_RSP_GETFTSADDR "; - case 0x1010031: return "IM_RSP_GETUSERSSTATUS "; - case 0x1010034: return "IM_RSP_GETWEB_SESSION "; - case 0x1010035: return "IM_RSP_USERUDBPROFILE "; - case 0x1010036: return "IM_RSP_PEER_VERIFY_CONFIG "; - case 0x1010037: return "IM_RSP_GET_PWDTOKEN "; - case 0x1010038: return "IM_RSP_UPDATE_UDBPROFILE "; - case 0x1010039: return "IM_RSP_GET_DEGREE "; - case 0x1010040: return "IM_RSP_CHECK_AUTHCODE "; - case 0x1010042: return "IM_RSP_LOGIN2 "; - case 0x1010050: return "IM_RSP_ADDCONTACT_NEW "; - case 0x1010051: return "IM_RSP_ADDCNTACK_NEW "; - case 0x1010001: return "IM_RSP_HELP_LOGIN_V5 "; - //case 0x1010002: return "IM_RSP_HELP_CHG_SRV_MODE_V5 "; - //case 0x1010006: return "IM_RSP_HELP_GET_CHILDS_V5 "; - case 0x1010041: return "IM_RSP_HELP_LOGIN "; - //case 0x1010042: return "IM_RSP_HELP_CHG_SRV_MODE "; - case 0x1010043: return "IM_RSP_HELP_SET_SHARE_CID "; - case 0x1010044: return "IM_RSP_HELP_GET_SHARE_CID "; - case 0x1010045: return "IM_RSP_HELP_GET_CHILD_ONLINE"; - case 0x1010046: return "IM_RSP_HELP_GET_ONLINECHILDS"; - case 0x1010047: return "IM_RSP_HELP_GET_SERVICES "; - case 0x1010048: return "IM_RSP_HELP_GET_BIND_TO "; - case 0x1010049: return "IM_RSP_HELP_CHG_SERVICE_NUM "; - //case 0x1010050: return "IM_RSP_HELP_GET_BUDDY_STATUS"; - case 0x1010060: return "IM_RSP_GET_SIP_SESSIONID "; - case 0x1010061: return "IM_RSP_SEARCHUSER "; - case 0x1010062: return "IM_RSP_SEARCHUSEREX "; - case 0x1201000: return "CASC_RSP_GOODSSEARCH "; - case 0x1010070: return "IM_RSP_EHELP_LOGIN "; - case 0x1010071: return "IM_RSP_EHELP_GET_BUDDYS "; - case 0x1010072: return "IM_RSP_EHELP_SEND_MSG "; - case 0x1010073: return "IM_RSP_EHELP_SEND_CMD "; - case 0x1010074: return "IM_RSP_EHELP_CHG_SRV_MODE "; - case 0x1010075: return "IM_RSP_EHELP_FORWARD_USER "; - case 0x1010076: return "IM_RSP_EHELP_CLOSE_SESSION "; - case 0x1010077: return "IM_RSP_EHELP_MSG_LOG "; - case 0x1010078: return "IM_RSP_EHELP_GET_FORWARD "; - case 0x1010079: return "IM_RSP_EHELP_NOTIFY_MSG "; - case 0x1010090: return "IM_RSP_GETAPPADDR "; - case 0x1010100: return "IM_RSP_GETWEBBINDING "; - case 0x1010101: return "IM_RSP_LOGIN_OPENIM "; - case 0x1010102: return "IM_RSP_SETBINDING "; - case 0x1010103: return "IM_RSP_UNBIND "; - case 0x1010200: return "IM_RSP_CHAT_IDENTIFY "; - case 0x1010201: return "IM_RSP_CHAT_CLOSE "; - case 0x1010202: return "IM_RSP_CHAT_DELTEXT "; - case 0x1010203: return "IM_RSP_CHAT_GETTXT "; - case 0x1010204: return "IM_RSP_CHAT_QUERYPICS "; - case 0x1010205: return "IM_RSP_CHAT_PUTPIC "; - case 0x1010206: return "IM_RSP_CHAT_GETPIC "; - case 0x1010207: return "IM_RSP_CHAT_GETCAL "; - case 0x1010208: return "IM_RSP_CHAT_SETTXT "; - case 0x1010209: return "IM_RSP_CHAT_CHKVER "; - case 0x1010210: return "IM_RSP_CHAT_PREIDENTIFY "; - default: return ""; - } - } - - inline string IMSC_NOTIF_2STR(uint32_t cmd) - { - switch(cmd) - { - case 0x1020004: return "IM_NTF_LOGIN_AGAIN "; - case 0x1020005: return "IM_NTF_FORCEDISCONNECT "; - case 0x102000f: return "IM_NTF_STATUS "; - case 0x1020010: return "IM_NTF_IMMESSAGE "; - case 0x1020011: return "IM_NTF_SYSTEMMESSAGE "; - case 0x102002b: return "IM_NTF_OPERATIONTIP "; - case 0x102002c: return "IM_NTF_UPDATE_USREXTINFO"; - case 0x102002d: return "IM_NTF_SUBCRIBE_MSG "; - case 0x1020030: return "IM_NTF_REFRESH_CONTACT "; - case 0x1020031: return "IM_NTF_FEEDS "; - case 0x1020032: return "IM_NTF_USER_SNSINFO "; - case 0x1020033: return "IM_NTF_RECENT "; - case 0x1020040: return "IM_NTF_NEED_AUTHCODE "; - case 0x102005d: return "IM_NTF_EXTINFO_MSG "; - case 0x102005e: return "IM_NTF_WATCH_INFO "; - case 0x1020012: return "IM_NTF_SYSTEMMAPMESSAGE "; - case 0x1020100: return "IM_NTF_WEBSYSMESSAGE "; - case 0x1020101: return "IM_NTF_WEBUSERMESSAGE "; - case 0x1020105: return "IM_NTF_UNBIND_DISCONNECT"; - case 0x1020106: return "IM_NTF_TAOBAOID_KICKED "; - - default: return ""; - } - } - - inline string ALI_IM_P2P_MSG_TYPE_2STR(uint32_t cmd) - { - switch(cmd) - { - case 0 : return "ALI_IM_TEXT "; - case 0x1: return "ALI_IM_BUZZ "; - case 0x2: return "ALI_IM_P2P "; - case 0x3: return "ALI_IM_AUTO_REPLY "; - case 0x4: return "ALI_IM_MSG_ACK "; - case 0x5: return "ALI_IM_CONTACT "; - case 0x6: return "ALI_IM_TYPING_NOTIFY "; - case 0x7: return "ALI_IM_GROUP_BROADCAST"; - default: return ""; - } - } - - - inline string ADDCONTACT_OPERATE_2STR(uint32_t cmd) - { - switch(cmd) - { - case 0x301: return "IMM_CONTACT_ADDED "; - case 0x302: return "IMM_CONTACT_IGNOREUSER_ADDED"; - case 0x303: return "IMM_CONTACT_IGNOREUSER_DELED"; - case 0x310: return "IMM_CONTACT_ASKADD_REQ "; - case 0x311: return "IMM_CONTACT_ASKADD_NO "; - case 0x312: return "IMM_CONTACT_ASKADD_YES "; - default: return ""; - } - } - - inline string IMSC_CMD_2STR(uint32_t cmd) - { - string str; - str = IMSC_REQUEST_2STR(cmd); - if(!str.empty()) return str; - str = IMSC_RESPONSE_2STR(cmd); - if(!str.empty()) return str; - str = IMSC_NOTIF_2STR(cmd); - if(!str.empty()) return str; - str = ALI_IM_P2P_MSG_TYPE_2STR(cmd); - if(!str.empty()) return str; - str = ADDCONTACT_OPERATE_2STR(cmd); - if(!str.empty()) - { - return str; - } - else - { - ostringstream ss; - ss << std::hex<< std::showbase<< cmd; - string strcmd = ss.str(); - return strcmd; - } - } -} -#endif diff --git a/features/aliww/include/.svn/text-base/imsc_pack.h.svn-base b/features/aliww/include/.svn/text-base/imsc_pack.h.svn-base deleted file mode 100644 index f16494e..0000000 --- a/features/aliww/include/.svn/text-base/imsc_pack.h.svn-base +++ /dev/null @@ -1,11670 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: imsc_pack.h -// Date: 2011-04-27 13:35:59 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __IMSC_PACK_H__ -#define __IMSC_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "des.h" -#include -#include "sc_head.h" -#include "const_macro.h" -#include "imsc_cmd.h" - -using namespace std; - -#ifndef STATUSDEF_LENGTH -#define STATUSDEF_LENGTH 64 -#endif - -class CImHelthCheck : public CPackData -{ -public: - enum - { - CMD_ID = IM_HELTH_CHECK - }; - ~CImHelthCheck() { } -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImHelthCheck::Size() const -{ - return 1; -} -class CImReqCheckversion : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHECKVERSION - }; - CImReqCheckversion() - { - } - - ~CImReqCheckversion() { } - CImReqCheckversion(const string& strVersion) - { - m_version = strVersion; - } - CImReqCheckversion& operator=( const CImReqCheckversion& cImReqCheckversion ) - { - m_version = cImReqCheckversion.m_version; - return *this; - } - - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - if(strVersion.size() > 128) - return false; - m_version = strVersion; - return true; - } -private: - string m_version; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqCheckversion::Size() const -{ - uint32_t nSize = 6; - nSize += m_version.length(); - return nSize; -} - -class CImRspCheckversion : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHECKVERSION - }; - CImRspCheckversion() - { - } - - ~CImRspCheckversion() { } - CImRspCheckversion(const uint32_t& dwRetcode, const string& strRemark, const uint32_t& dwConnectNo, const string& strPubkey) - { - m_retcode = dwRetcode; - m_remark = strRemark; - m_connectNo = dwConnectNo; - m_pubkey = strPubkey; - } - CImRspCheckversion& operator=( const CImRspCheckversion& cImRspCheckversion ) - { - m_retcode = cImRspCheckversion.m_retcode; - m_remark = cImRspCheckversion.m_remark; - m_connectNo = cImRspCheckversion.m_connectNo; - m_pubkey = cImRspCheckversion.m_pubkey; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - if(strRemark.size() > 256) - return false; - m_remark = strRemark; - return true; - } - const uint32_t& GetConnectNo () const { return m_connectNo; } - bool SetConnectNo ( const uint32_t& dwConnectNo ) - { - m_connectNo = dwConnectNo; - return true; - } - const string& GetPubkey () const { return m_pubkey; } - bool SetPubkey ( const string& strPubkey ) - { - m_pubkey = strPubkey; - return true; - } -private: - uint32_t m_retcode; - string m_remark; - uint32_t m_connectNo; - string m_pubkey; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspCheckversion::Size() const -{ - uint32_t nSize = 21; - nSize += m_remark.length(); - nSize += m_pubkey.length(); - return nSize; -} - -class CImReqPrelogin : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_PRELOGIN - }; - CImReqPrelogin() - { - } - - ~CImReqPrelogin() { } - CImReqPrelogin(const uint32_t& dwConnectNo, const string& strWorkKey, const string& strStrlogin) - { - m_connectNo = dwConnectNo; - m_workKey = strWorkKey; - m_strlogin = strStrlogin; - } - CImReqPrelogin& operator=( const CImReqPrelogin& cImReqPrelogin ) - { - m_connectNo = cImReqPrelogin.m_connectNo; - m_workKey = cImReqPrelogin.m_workKey; - m_strlogin = cImReqPrelogin.m_strlogin; - return *this; - } - - const uint32_t& GetConnectNo () const { return m_connectNo; } - bool SetConnectNo ( const uint32_t& dwConnectNo ) - { - m_connectNo = dwConnectNo; - return true; - } - const string& GetWorkKey () const { return m_workKey; } - bool SetWorkKey ( const string& strWorkKey ) - { - if(strWorkKey.size() > 128) - return false; - m_workKey = strWorkKey; - return true; - } - const string& GetStrlogin () const { return m_strlogin; } - bool SetStrlogin ( const string& strStrlogin ) - { - m_strlogin = strStrlogin; - return true; - } -private: - uint32_t m_connectNo; - string m_workKey; - string m_strlogin; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqPrelogin::Size() const -{ - uint32_t nSize = 16; - nSize += m_workKey.length(); - nSize += m_strlogin.length(); - return nSize; -} - -class CImReqLogin : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_LOGIN - }; - CImReqLogin() : m_rid("magic") - { - } - - ~CImReqLogin() { } - CImReqLogin(const uint8_t& chTokenFlag, const uint32_t& dwConnectNo, const string& strPassword, const string& strVersion, const uint32_t& dwLanguage, const uint32_t& dwTimestampFlag, const VECTOR< uint32_t >& vecTimestampList, const VECTOR< string >& vecHardcode, const string& strHardcheck, const string& strRid= "magic") - { - m_tokenFlag = chTokenFlag; - m_connectNo = dwConnectNo; - m_password = strPassword; - m_version = strVersion; - m_language = dwLanguage; - m_timestampFlag = dwTimestampFlag; - m_timestampList = vecTimestampList; - m_hardcode = vecHardcode; - m_hardcheck = strHardcheck; - m_rid = strRid; - } - CImReqLogin& operator=( const CImReqLogin& cImReqLogin ) - { - m_tokenFlag = cImReqLogin.m_tokenFlag; - m_connectNo = cImReqLogin.m_connectNo; - m_password = cImReqLogin.m_password; - m_version = cImReqLogin.m_version; - m_language = cImReqLogin.m_language; - m_timestampFlag = cImReqLogin.m_timestampFlag; - m_timestampList = cImReqLogin.m_timestampList; - m_hardcode = cImReqLogin.m_hardcode; - m_hardcheck = cImReqLogin.m_hardcheck; - m_rid = cImReqLogin.m_rid; - return *this; - } - - const uint8_t& GetTokenFlag () const { return m_tokenFlag; } - bool SetTokenFlag ( const uint8_t& chTokenFlag ) - { - m_tokenFlag = chTokenFlag; - return true; - } - const uint32_t& GetConnectNo () const { return m_connectNo; } - bool SetConnectNo ( const uint32_t& dwConnectNo ) - { - m_connectNo = dwConnectNo; - return true; - } - const string& GetPassword () const { return m_password; } - bool SetPassword ( const string& strPassword ) - { - if(strPassword.size() > 48) - return false; - m_password = strPassword; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - if(strVersion.size() > 128) - return false; - m_version = strVersion; - return true; - } - const uint32_t& GetLanguage () const { return m_language; } - bool SetLanguage ( const uint32_t& dwLanguage ) - { - m_language = dwLanguage; - return true; - } - const uint32_t& GetTimestampFlag () const { return m_timestampFlag; } - bool SetTimestampFlag ( const uint32_t& dwTimestampFlag ) - { - m_timestampFlag = dwTimestampFlag; - return true; - } - const VECTOR< uint32_t >& GetTimestampList () const { return m_timestampList; } - bool SetTimestampList ( const VECTOR< uint32_t >& vecTimestampList ) - { - m_timestampList = vecTimestampList; - return true; - } - const VECTOR< string >& GetHardcode () const { return m_hardcode; } - bool SetHardcode ( const VECTOR< string >& vecHardcode ) - { - m_hardcode = vecHardcode; - return true; - } - const string& GetHardcheck () const { return m_hardcheck; } - bool SetHardcheck ( const string& strHardcheck ) - { - m_hardcheck = strHardcheck; - return true; - } - const string& GetRid () const { return m_rid; } - bool SetRid ( const string& strRid ) - { - m_rid = strRid; - return true; - } -private: - uint8_t m_tokenFlag; - uint32_t m_connectNo; - string m_password; - string m_version; - uint32_t m_language; - uint32_t m_timestampFlag; - VECTOR< uint32_t > m_timestampList; - VECTOR< string > m_hardcode; - string m_hardcheck; - string m_rid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqLogin::Size() const -{ - uint32_t nSize = 50; - nSize += m_password.length(); - nSize += m_version.length(); - nSize += m_timestampList.size() * 4; - nSize += m_hardcode.size() * 4; - for(uint32_t i = 0; i < m_hardcode.size(); i++) - { - nSize += m_hardcode[i].length(); - } - nSize += m_hardcheck.length(); - nSize += m_rid.length(); - return nSize; -} - -class CImReqPrelogin1 : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_PRELOGIN1 - }; - CImReqPrelogin1() - { - } - - ~CImReqPrelogin1() { } - CImReqPrelogin1(const uint32_t& dwConnectNo, const string& strWorkKey, const string& strStrlogin) - { - m_connectNo = dwConnectNo; - m_workKey = strWorkKey; - m_strlogin = strStrlogin; - } - CImReqPrelogin1& operator=( const CImReqPrelogin1& cImReqPrelogin1 ) - { - m_connectNo = cImReqPrelogin1.m_connectNo; - m_workKey = cImReqPrelogin1.m_workKey; - m_strlogin = cImReqPrelogin1.m_strlogin; - return *this; - } - - const uint32_t& GetConnectNo () const { return m_connectNo; } - bool SetConnectNo ( const uint32_t& dwConnectNo ) - { - m_connectNo = dwConnectNo; - return true; - } - const string& GetWorkKey () const { return m_workKey; } - bool SetWorkKey ( const string& strWorkKey ) - { - if(strWorkKey.size() > 128) - return false; - m_workKey = strWorkKey; - return true; - } - const string& GetStrlogin () const { return m_strlogin; } - bool SetStrlogin ( const string& strStrlogin ) - { - m_strlogin = strStrlogin; - return true; - } -private: - uint32_t m_connectNo; - string m_workKey; - string m_strlogin; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqPrelogin1::Size() const -{ - uint32_t nSize = 16; - nSize += m_workKey.length(); - nSize += m_strlogin.length(); - return nSize; -} - -class CImRspLogin : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_LOGIN - }; - CImRspLogin() : m_lastLogintime(0) - { - } - - ~CImRspLogin() { } - CImRspLogin(const uint32_t& dwRetcode, const uint32_t& dwTimestampFlag, const uint32_t& dwClientIp, const uint32_t& dwServerTime, const string& strWorkKey, const string& strPwtoken, const string& strRemark, const string& strWebmd5pw, const uint32_t& dwLastClientip, const string& strBindid, const string& strRid, const uint32_t& dwLastLogintime= 0) - { - m_retcode = dwRetcode; - m_timestampFlag = dwTimestampFlag; - m_clientIp = dwClientIp; - m_serverTime = dwServerTime; - m_workKey = strWorkKey; - m_pwtoken = strPwtoken; - m_remark = strRemark; - m_webmd5pw = strWebmd5pw; - m_lastClientip = dwLastClientip; - m_bindid = strBindid; - m_rid = strRid; - m_lastLogintime = dwLastLogintime; - } - CImRspLogin& operator=( const CImRspLogin& cImRspLogin ) - { - m_retcode = cImRspLogin.m_retcode; - m_timestampFlag = cImRspLogin.m_timestampFlag; - m_clientIp = cImRspLogin.m_clientIp; - m_serverTime = cImRspLogin.m_serverTime; - m_workKey = cImRspLogin.m_workKey; - m_pwtoken = cImRspLogin.m_pwtoken; - m_remark = cImRspLogin.m_remark; - m_webmd5pw = cImRspLogin.m_webmd5pw; - m_lastClientip = cImRspLogin.m_lastClientip; - m_bindid = cImRspLogin.m_bindid; - m_rid = cImRspLogin.m_rid; - m_lastLogintime = cImRspLogin.m_lastLogintime; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint32_t& GetTimestampFlag () const { return m_timestampFlag; } - bool SetTimestampFlag ( const uint32_t& dwTimestampFlag ) - { - m_timestampFlag = dwTimestampFlag; - return true; - } - const uint32_t& GetClientIp () const { return m_clientIp; } - bool SetClientIp ( const uint32_t& dwClientIp ) - { - m_clientIp = dwClientIp; - return true; - } - const uint32_t& GetServerTime () const { return m_serverTime; } - bool SetServerTime ( const uint32_t& dwServerTime ) - { - m_serverTime = dwServerTime; - return true; - } - const string& GetWorkKey () const { return m_workKey; } - bool SetWorkKey ( const string& strWorkKey ) - { - m_workKey = strWorkKey; - return true; - } - const string& GetPwtoken () const { return m_pwtoken; } - bool SetPwtoken ( const string& strPwtoken ) - { - m_pwtoken = strPwtoken; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - if(strRemark.size() > 256) - return false; - m_remark = strRemark; - return true; - } - const string& GetWebmd5pw () const { return m_webmd5pw; } - bool SetWebmd5pw ( const string& strWebmd5pw ) - { - m_webmd5pw = strWebmd5pw; - return true; - } - const uint32_t& GetLastClientip () const { return m_lastClientip; } - bool SetLastClientip ( const uint32_t& dwLastClientip ) - { - m_lastClientip = dwLastClientip; - return true; - } - const string& GetBindid () const { return m_bindid; } - bool SetBindid ( const string& strBindid ) - { - m_bindid = strBindid; - return true; - } - const string& GetRid () const { return m_rid; } - bool SetRid ( const string& strRid ) - { - m_rid = strRid; - return true; - } - const uint32_t& GetLastLogintime () const { return m_lastLogintime; } - bool SetLastLogintime ( const uint32_t& dwLastLogintime ) - { - m_lastLogintime = dwLastLogintime; - return true; - } -private: - uint32_t m_retcode; - uint32_t m_timestampFlag; - uint32_t m_clientIp; - uint32_t m_serverTime; - string m_workKey; - string m_pwtoken; - string m_remark; - string m_webmd5pw; - uint32_t m_lastClientip; - string m_bindid; - string m_rid; - uint32_t m_lastLogintime; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspLogin::Size() const -{ - uint32_t nSize = 61; - nSize += m_workKey.length(); - nSize += m_pwtoken.length(); - nSize += m_remark.length(); - nSize += m_webmd5pw.length(); - nSize += m_bindid.length(); - nSize += m_rid.length(); - return nSize; -} - -class CImReqLogin2 : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_LOGIN2 - }; - CImReqLogin2() - { - } - - ~CImReqLogin2() { } - CImReqLogin2(const uint32_t& dwTimestampFlag, const VECTOR< uint32_t >& vecTimestampList, const string& strLoginToken) - { - m_timestampFlag = dwTimestampFlag; - m_timestampList = vecTimestampList; - m_loginToken = strLoginToken; - } - CImReqLogin2& operator=( const CImReqLogin2& cImReqLogin2 ) - { - m_timestampFlag = cImReqLogin2.m_timestampFlag; - m_timestampList = cImReqLogin2.m_timestampList; - m_loginToken = cImReqLogin2.m_loginToken; - return *this; - } - - const uint32_t& GetTimestampFlag () const { return m_timestampFlag; } - bool SetTimestampFlag ( const uint32_t& dwTimestampFlag ) - { - m_timestampFlag = dwTimestampFlag; - return true; - } - const VECTOR< uint32_t >& GetTimestampList () const { return m_timestampList; } - bool SetTimestampList ( const VECTOR< uint32_t >& vecTimestampList ) - { - m_timestampList = vecTimestampList; - return true; - } - const string& GetLoginToken () const { return m_loginToken; } - bool SetLoginToken ( const string& strLoginToken ) - { - m_loginToken = strLoginToken; - return true; - } -private: - uint32_t m_timestampFlag; - VECTOR< uint32_t > m_timestampList; - string m_loginToken; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqLogin2::Size() const -{ - uint32_t nSize = 17; - nSize += m_timestampList.size() * 4; - nSize += m_loginToken.length(); - return nSize; -} - -class CImRspLogin2 : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_LOGIN2 - }; - CImRspLogin2() - { - } - - ~CImRspLogin2() { } - CImRspLogin2(const uint32_t& dwRetcode, const uint32_t& dwTimestampFlag, const string& strRemark) - { - m_retcode = dwRetcode; - m_timestampFlag = dwTimestampFlag; - m_remark = strRemark; - } - CImRspLogin2& operator=( const CImRspLogin2& cImRspLogin2 ) - { - m_retcode = cImRspLogin2.m_retcode; - m_timestampFlag = cImRspLogin2.m_timestampFlag; - m_remark = cImRspLogin2.m_remark; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint32_t& GetTimestampFlag () const { return m_timestampFlag; } - bool SetTimestampFlag ( const uint32_t& dwTimestampFlag ) - { - m_timestampFlag = dwTimestampFlag; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - if(strRemark.size() > 256) - return false; - m_remark = strRemark; - return true; - } -private: - uint32_t m_retcode; - uint32_t m_timestampFlag; - string m_remark; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspLogin2::Size() const -{ - uint32_t nSize = 16; - nSize += m_remark.length(); - return nSize; -} - -class CImReqPreloginAgain : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_PRELOGIN_AGAIN - }; - CImReqPreloginAgain() - { - } - - ~CImReqPreloginAgain() { } - CImReqPreloginAgain(const uint32_t& dwConnectNo, const string& strWorkKey, const string& strStrloginagin) - { - m_connectNo = dwConnectNo; - m_workKey = strWorkKey; - m_strloginagin = strStrloginagin; - } - CImReqPreloginAgain& operator=( const CImReqPreloginAgain& cImReqPreloginAgain ) - { - m_connectNo = cImReqPreloginAgain.m_connectNo; - m_workKey = cImReqPreloginAgain.m_workKey; - m_strloginagin = cImReqPreloginAgain.m_strloginagin; - return *this; - } - - const uint32_t& GetConnectNo () const { return m_connectNo; } - bool SetConnectNo ( const uint32_t& dwConnectNo ) - { - m_connectNo = dwConnectNo; - return true; - } - const string& GetWorkKey () const { return m_workKey; } - bool SetWorkKey ( const string& strWorkKey ) - { - if(strWorkKey.size() > 128) - return false; - m_workKey = strWorkKey; - return true; - } - const string& GetStrloginagin () const { return m_strloginagin; } - bool SetStrloginagin ( const string& strStrloginagin ) - { - m_strloginagin = strStrloginagin; - return true; - } -private: - uint32_t m_connectNo; - string m_workKey; - string m_strloginagin; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqPreloginAgain::Size() const -{ - uint32_t nSize = 16; - nSize += m_workKey.length(); - nSize += m_strloginagin.length(); - return nSize; -} - -class CImReqLoginAgain : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_LOGIN_AGAIN - }; - CImReqLoginAgain() - { - } - - ~CImReqLoginAgain() { } - CImReqLoginAgain(const uint8_t& chTokenFlag, const uint32_t& dwConnectNo, const string& strPassword, const string& strVersion, const uint32_t& dwLanguage, const VECTOR< string >& vecHardcode, const string& strHardcheck, const uint8_t& chBasicStatus, const uint8_t& chPredefStatus, const string& strPwcode) - { - m_tokenFlag = chTokenFlag; - m_connectNo = dwConnectNo; - m_password = strPassword; - m_version = strVersion; - m_language = dwLanguage; - m_hardcode = vecHardcode; - m_hardcheck = strHardcheck; - m_basicStatus = chBasicStatus; - m_predefStatus = chPredefStatus; - m_pwcode = strPwcode; - } - CImReqLoginAgain& operator=( const CImReqLoginAgain& cImReqLoginAgain ) - { - m_tokenFlag = cImReqLoginAgain.m_tokenFlag; - m_connectNo = cImReqLoginAgain.m_connectNo; - m_password = cImReqLoginAgain.m_password; - m_version = cImReqLoginAgain.m_version; - m_language = cImReqLoginAgain.m_language; - m_hardcode = cImReqLoginAgain.m_hardcode; - m_hardcheck = cImReqLoginAgain.m_hardcheck; - m_basicStatus = cImReqLoginAgain.m_basicStatus; - m_predefStatus = cImReqLoginAgain.m_predefStatus; - m_pwcode = cImReqLoginAgain.m_pwcode; - return *this; - } - - const uint8_t& GetTokenFlag () const { return m_tokenFlag; } - bool SetTokenFlag ( const uint8_t& chTokenFlag ) - { - m_tokenFlag = chTokenFlag; - return true; - } - const uint32_t& GetConnectNo () const { return m_connectNo; } - bool SetConnectNo ( const uint32_t& dwConnectNo ) - { - m_connectNo = dwConnectNo; - return true; - } - const string& GetPassword () const { return m_password; } - bool SetPassword ( const string& strPassword ) - { - if(strPassword.size() > 48) - return false; - m_password = strPassword; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - if(strVersion.size() > 128) - return false; - m_version = strVersion; - return true; - } - const uint32_t& GetLanguage () const { return m_language; } - bool SetLanguage ( const uint32_t& dwLanguage ) - { - m_language = dwLanguage; - return true; - } - const VECTOR< string >& GetHardcode () const { return m_hardcode; } - bool SetHardcode ( const VECTOR< string >& vecHardcode ) - { - m_hardcode = vecHardcode; - return true; - } - const string& GetHardcheck () const { return m_hardcheck; } - bool SetHardcheck ( const string& strHardcheck ) - { - m_hardcheck = strHardcheck; - return true; - } - const uint8_t& GetBasicStatus () const { return m_basicStatus; } - bool SetBasicStatus ( const uint8_t& chBasicStatus ) - { - m_basicStatus = chBasicStatus; - return true; - } - const uint8_t& GetPredefStatus () const { return m_predefStatus; } - bool SetPredefStatus ( const uint8_t& chPredefStatus ) - { - m_predefStatus = chPredefStatus; - return true; - } - const string& GetPwcode () const { return m_pwcode; } - bool SetPwcode ( const string& strPwcode ) - { - m_pwcode = strPwcode; - return true; - } -private: - uint8_t m_tokenFlag; - uint32_t m_connectNo; - string m_password; - string m_version; - uint32_t m_language; - VECTOR< string > m_hardcode; - string m_hardcheck; - uint8_t m_basicStatus; - uint8_t m_predefStatus; - string m_pwcode; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqLoginAgain::Size() const -{ - uint32_t nSize = 43; - nSize += m_password.length(); - nSize += m_version.length(); - nSize += m_hardcode.size() * 4; - for(uint32_t i = 0; i < m_hardcode.size(); i++) - { - nSize += m_hardcode[i].length(); - } - nSize += m_hardcheck.length(); - nSize += m_pwcode.length(); - return nSize; -} - -class CImRspLoginAgain : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_LOGIN_AGAIN - }; - CImRspLoginAgain() - { - } - - ~CImRspLoginAgain() { } - CImRspLoginAgain(const uint32_t& dwRetcode, const string& strWorkKey, const string& strRemark) - { - m_retcode = dwRetcode; - m_workKey = strWorkKey; - m_remark = strRemark; - } - CImRspLoginAgain& operator=( const CImRspLoginAgain& cImRspLoginAgain ) - { - m_retcode = cImRspLoginAgain.m_retcode; - m_workKey = cImRspLoginAgain.m_workKey; - m_remark = cImRspLoginAgain.m_remark; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetWorkKey () const { return m_workKey; } - bool SetWorkKey ( const string& strWorkKey ) - { - m_workKey = strWorkKey; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - if(strRemark.size() > 256) - return false; - m_remark = strRemark; - return true; - } -private: - uint32_t m_retcode; - string m_workKey; - string m_remark; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspLoginAgain::Size() const -{ - uint32_t nSize = 16; - nSize += m_workKey.length(); - nSize += m_remark.length(); - return nSize; -} - -class CImNtfLoginAgain : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_LOGIN_AGAIN - }; - CImNtfLoginAgain() - { - } - - ~CImNtfLoginAgain() { } - CImNtfLoginAgain(const string& strPwcode) - { - m_pwcode = strPwcode; - } - CImNtfLoginAgain& operator=( const CImNtfLoginAgain& cImNtfLoginAgain ) - { - m_pwcode = cImNtfLoginAgain.m_pwcode; - return *this; - } - - const string& GetPwcode () const { return m_pwcode; } - bool SetPwcode ( const string& strPwcode ) - { - m_pwcode = strPwcode; - return true; - } -private: - string m_pwcode; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfLoginAgain::Size() const -{ - uint32_t nSize = 6; - nSize += m_pwcode.length(); - return nSize; -} - -class CImReqPostlogin : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_POSTLOGIN - }; - CImReqPostlogin() - { - } - - ~CImReqPostlogin() { } - CImReqPostlogin(const uint8_t& chBasicStatus, const uint8_t& chPredefStatus) - { - m_basicStatus = chBasicStatus; - m_predefStatus = chPredefStatus; - } - CImReqPostlogin& operator=( const CImReqPostlogin& cImReqPostlogin ) - { - m_basicStatus = cImReqPostlogin.m_basicStatus; - m_predefStatus = cImReqPostlogin.m_predefStatus; - return *this; - } - - const uint8_t& GetBasicStatus () const { return m_basicStatus; } - bool SetBasicStatus ( const uint8_t& chBasicStatus ) - { - m_basicStatus = chBasicStatus; - return true; - } - const uint8_t& GetPredefStatus () const { return m_predefStatus; } - bool SetPredefStatus ( const uint8_t& chPredefStatus ) - { - m_predefStatus = chPredefStatus; - return true; - } -private: - uint8_t m_basicStatus; - uint8_t m_predefStatus; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqPostlogin::Size() const -{ - return 5; -} -class CImReqRelogin : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_RELOGIN - }; - CImReqRelogin() - { - } - - ~CImReqRelogin() { } - CImReqRelogin(const string& strPassword, const string& strVersion, const uint32_t& dwConnectNo, const uint8_t& chBasicStatus, const uint8_t& chPredefStatus) - { - m_password = strPassword; - m_version = strVersion; - m_connectNo = dwConnectNo; - m_basicStatus = chBasicStatus; - m_predefStatus = chPredefStatus; - } - CImReqRelogin& operator=( const CImReqRelogin& cImReqRelogin ) - { - m_password = cImReqRelogin.m_password; - m_version = cImReqRelogin.m_version; - m_connectNo = cImReqRelogin.m_connectNo; - m_basicStatus = cImReqRelogin.m_basicStatus; - m_predefStatus = cImReqRelogin.m_predefStatus; - return *this; - } - - const string& GetPassword () const { return m_password; } - bool SetPassword ( const string& strPassword ) - { - if(strPassword.size() > 48) - return false; - m_password = strPassword; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - if(strVersion.size() > 128) - return false; - m_version = strVersion; - return true; - } - const uint32_t& GetConnectNo () const { return m_connectNo; } - bool SetConnectNo ( const uint32_t& dwConnectNo ) - { - m_connectNo = dwConnectNo; - return true; - } - const uint8_t& GetBasicStatus () const { return m_basicStatus; } - bool SetBasicStatus ( const uint8_t& chBasicStatus ) - { - m_basicStatus = chBasicStatus; - return true; - } - const uint8_t& GetPredefStatus () const { return m_predefStatus; } - bool SetPredefStatus ( const uint8_t& chPredefStatus ) - { - m_predefStatus = chPredefStatus; - return true; - } -private: - string m_password; - string m_version; - uint32_t m_connectNo; - uint8_t m_basicStatus; - uint8_t m_predefStatus; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqRelogin::Size() const -{ - uint32_t nSize = 20; - nSize += m_password.length(); - nSize += m_version.length(); - return nSize; -} - -class CImRspRelogin : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_RELOGIN - }; - CImRspRelogin() - { - } - - ~CImRspRelogin() { } - CImRspRelogin(const uint32_t& dwRetcode, const uint32_t& dwConnectNo, const string& strRemark) - { - m_retcode = dwRetcode; - m_connectNo = dwConnectNo; - m_remark = strRemark; - } - CImRspRelogin& operator=( const CImRspRelogin& cImRspRelogin ) - { - m_retcode = cImRspRelogin.m_retcode; - m_connectNo = cImRspRelogin.m_connectNo; - m_remark = cImRspRelogin.m_remark; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint32_t& GetConnectNo () const { return m_connectNo; } - bool SetConnectNo ( const uint32_t& dwConnectNo ) - { - m_connectNo = dwConnectNo; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - if(strRemark.size() > 256) - return false; - m_remark = strRemark; - return true; - } -private: - uint32_t m_retcode; - uint32_t m_connectNo; - string m_remark; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspRelogin::Size() const -{ - uint32_t nSize = 16; - nSize += m_remark.length(); - return nSize; -} - -class CImReqLogoff : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_LOGOFF - }; - ~CImReqLogoff() { } -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqLogoff::Size() const -{ - return 1; -} -class CImRspLogoff : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_LOGOFF - }; - CImRspLogoff() - { - } - - ~CImRspLogoff() { } - CImRspLogoff(const uint32_t& dwRetcode, const string& strRemark) - { - m_retcode = dwRetcode; - m_remark = strRemark; - } - CImRspLogoff& operator=( const CImRspLogoff& cImRspLogoff ) - { - m_retcode = cImRspLogoff.m_retcode; - m_remark = cImRspLogoff.m_remark; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - if(strRemark.size() > 256) - return false; - m_remark = strRemark; - return true; - } -private: - uint32_t m_retcode; - string m_remark; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspLogoff::Size() const -{ - uint32_t nSize = 11; - nSize += m_remark.length(); - return nSize; -} - -class CImNtfForcedisconnect : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_FORCEDISCONNECT - }; - CImNtfForcedisconnect() - { - } - - ~CImNtfForcedisconnect() { } - CImNtfForcedisconnect(const uint8_t& chType, const string& strRemark) - { - m_type = chType; - m_remark = strRemark; - } - CImNtfForcedisconnect& operator=( const CImNtfForcedisconnect& cImNtfForcedisconnect ) - { - m_type = cImNtfForcedisconnect.m_type; - m_remark = cImNtfForcedisconnect.m_remark; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - if(strRemark.size() > 256) - return false; - m_remark = strRemark; - return true; - } -private: - uint8_t m_type; - string m_remark; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfForcedisconnect::Size() const -{ - uint32_t nSize = 8; - nSize += m_remark.length(); - return nSize; -} - -struct SUserGroup -{ -public: - SUserGroup() - { - } - - ~SUserGroup() { } - SUserGroup(const int64_t& llGroupId, const int64_t& llParentId, const string& strGroupName) - { - m_groupId = llGroupId; - m_parentId = llParentId; - m_groupName = strGroupName; - } - SUserGroup& operator=( const SUserGroup& sUserGroup ) - { - m_groupId = sUserGroup.m_groupId; - m_parentId = sUserGroup.m_parentId; - m_groupName = sUserGroup.m_groupName; - return *this; - } - - int64_t m_groupId; - int64_t m_parentId; - string m_groupName; - -public: - uint32_t Size() const; -}; - -inline uint32_t SUserGroup::Size() const -{ - uint32_t nSize = 24; - nSize += m_groupName.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SUserGroup& sUserGroup ); -CPackData& operator>> ( CPackData& cPackData, SUserGroup& sUserGroup ); - -class CImReqGetgroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GETGROUP - }; - CImReqGetgroup() - { - } - - ~CImReqGetgroup() { } - CImReqGetgroup(const uint32_t& dwTimestamp) - { - m_timestamp = dwTimestamp; - } - CImReqGetgroup& operator=( const CImReqGetgroup& cImReqGetgroup ) - { - m_timestamp = cImReqGetgroup.m_timestamp; - return *this; - } - - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetgroup::Size() const -{ - return 6; -} -class CImRspGetgroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETGROUP - }; - CImRspGetgroup() - { - } - - ~CImRspGetgroup() { } - CImRspGetgroup(const uint32_t& dwRetcode, const VECTOR< SUserGroup >& vecGroupList, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_groupList = vecGroupList; - m_timestamp = dwTimestamp; - } - CImRspGetgroup& operator=( const CImRspGetgroup& cImRspGetgroup ) - { - m_retcode = cImRspGetgroup.m_retcode; - m_groupList = cImRspGetgroup.m_groupList; - m_timestamp = cImRspGetgroup.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< SUserGroup >& GetGroupList () const { return m_groupList; } - bool SetGroupList ( const VECTOR< SUserGroup >& vecGroupList ) - { - m_groupList = vecGroupList; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - VECTOR< SUserGroup > m_groupList; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetgroup::Size() const -{ - uint32_t nSize = 17; - for(uint32_t i = 0; i < m_groupList.size(); i++) - { - nSize += m_groupList[i].Size(); - } - return nSize; -} - -class CImReqAddgroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ADDGROUP - }; - CImReqAddgroup() - { - } - - ~CImReqAddgroup() { } - CImReqAddgroup(const string& strGroupName, const int64_t& llParentId) - { - m_groupName = strGroupName; - m_parentId = llParentId; - } - CImReqAddgroup& operator=( const CImReqAddgroup& cImReqAddgroup ) - { - m_groupName = cImReqAddgroup.m_groupName; - m_parentId = cImReqAddgroup.m_parentId; - return *this; - } - - const string& GetGroupName () const { return m_groupName; } - bool SetGroupName ( const string& strGroupName ) - { - m_groupName = strGroupName; - return true; - } - const int64_t& GetParentId () const { return m_parentId; } - bool SetParentId ( const int64_t& llParentId ) - { - m_parentId = llParentId; - return true; - } -private: - string m_groupName; - int64_t m_parentId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAddgroup::Size() const -{ - uint32_t nSize = 15; - nSize += m_groupName.length(); - return nSize; -} - -class CImRspAddgroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_ADDGROUP - }; - CImRspAddgroup() - { - } - - ~CImRspAddgroup() { } - CImRspAddgroup(const uint32_t& dwRetcode, const SUserGroup& sGroupInfo, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_groupInfo = sGroupInfo; - m_timestamp = dwTimestamp; - } - CImRspAddgroup& operator=( const CImRspAddgroup& cImRspAddgroup ) - { - m_retcode = cImRspAddgroup.m_retcode; - m_groupInfo = cImRspAddgroup.m_groupInfo; - m_timestamp = cImRspAddgroup.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const SUserGroup& GetGroupInfo () const { return m_groupInfo; } - bool SetGroupInfo ( const SUserGroup& sGroupInfo ) - { - m_groupInfo = sGroupInfo; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - SUserGroup m_groupInfo; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspAddgroup::Size() const -{ - uint32_t nSize = 12; - nSize += m_groupInfo.Size(); - return nSize; -} - -enum GROUP_OPERATE -{ - CHGGROUP_NAME = 0x1, - MOVE_GROUP = 0x2, - -}; - -struct SUserChggroup -{ -public: - SUserChggroup() - { - } - - ~SUserChggroup() { } - SUserChggroup(const uint64_t& ullMask, const int64_t& llGroupId, const int64_t& llParentId, const string& strGroupName) - { - m_mask = ullMask; - m_groupId = llGroupId; - m_parentId = llParentId; - m_groupName = strGroupName; - } - SUserChggroup& operator=( const SUserChggroup& sUserChggroup ) - { - m_mask = sUserChggroup.m_mask; - m_groupId = sUserChggroup.m_groupId; - m_parentId = sUserChggroup.m_parentId; - m_groupName = sUserChggroup.m_groupName; - return *this; - } - - uint64_t m_mask; - int64_t m_groupId; - int64_t m_parentId; - string m_groupName; - -public: - uint32_t Size() const; -}; - -inline uint32_t SUserChggroup::Size() const -{ - uint32_t nSize = 33; - nSize += m_groupName.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SUserChggroup& sUserChggroup ); -CPackData& operator>> ( CPackData& cPackData, SUserChggroup& sUserChggroup ); - -class CImReqChggroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHGGROUP - }; - CImReqChggroup() - { - } - - ~CImReqChggroup() { } - CImReqChggroup(const VECTOR< SUserChggroup >& vecGroupInfo) - { - m_groupInfo = vecGroupInfo; - } - CImReqChggroup& operator=( const CImReqChggroup& cImReqChggroup ) - { - m_groupInfo = cImReqChggroup.m_groupInfo; - return *this; - } - - const VECTOR< SUserChggroup >& GetGroupInfo () const { return m_groupInfo; } - bool SetGroupInfo ( const VECTOR< SUserChggroup >& vecGroupInfo ) - { - m_groupInfo = vecGroupInfo; - return true; - } -private: - VECTOR< SUserChggroup > m_groupInfo; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChggroup::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_groupInfo.size(); i++) - { - nSize += m_groupInfo[i].Size(); - } - return nSize; -} - -class CImRspChggroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHGGROUP - }; - CImRspChggroup() - { - } - - ~CImRspChggroup() { } - CImRspChggroup(const uint32_t& dwRetcode, const VECTOR< SUserChggroup >& vecGroupInfo, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_groupInfo = vecGroupInfo; - m_timestamp = dwTimestamp; - } - CImRspChggroup& operator=( const CImRspChggroup& cImRspChggroup ) - { - m_retcode = cImRspChggroup.m_retcode; - m_groupInfo = cImRspChggroup.m_groupInfo; - m_timestamp = cImRspChggroup.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< SUserChggroup >& GetGroupInfo () const { return m_groupInfo; } - bool SetGroupInfo ( const VECTOR< SUserChggroup >& vecGroupInfo ) - { - m_groupInfo = vecGroupInfo; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - VECTOR< SUserChggroup > m_groupInfo; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChggroup::Size() const -{ - uint32_t nSize = 17; - for(uint32_t i = 0; i < m_groupInfo.size(); i++) - { - nSize += m_groupInfo[i].Size(); - } - return nSize; -} - -class CImReqDelgroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_DELGROUP - }; - CImReqDelgroup() - { - } - - ~CImReqDelgroup() { } - CImReqDelgroup(const VECTOR< int64_t >& vecGroupId) - { - m_groupId = vecGroupId; - } - CImReqDelgroup& operator=( const CImReqDelgroup& cImReqDelgroup ) - { - m_groupId = cImReqDelgroup.m_groupId; - return *this; - } - - const VECTOR< int64_t >& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const VECTOR< int64_t >& vecGroupId ) - { - m_groupId = vecGroupId; - return true; - } -private: - VECTOR< int64_t > m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqDelgroup::Size() const -{ - uint32_t nSize = 7; - nSize += m_groupId.size() * 8; - return nSize; -} - -struct SDelGroup -{ -public: - SDelGroup() - { - } - - ~SDelGroup() { } - SDelGroup(const uint32_t& dwRetcode, const int64_t& llGroupId) - { - m_retcode = dwRetcode; - m_groupId = llGroupId; - } - SDelGroup& operator=( const SDelGroup& sDelGroup ) - { - m_retcode = sDelGroup.m_retcode; - m_groupId = sDelGroup.m_groupId; - return *this; - } - - uint32_t m_retcode; - int64_t m_groupId; - -public: - uint32_t Size() const; -}; - -inline uint32_t SDelGroup::Size() const -{ - return 15; -} -CPackData& operator<< ( CPackData& cPackData, const SDelGroup& sDelGroup ); -CPackData& operator>> ( CPackData& cPackData, SDelGroup& sDelGroup ); - -class CImRspDelgroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_DELGROUP - }; - CImRspDelgroup() - { - } - - ~CImRspDelgroup() { } - CImRspDelgroup(const uint32_t& dwRetcode, const VECTOR< SDelGroup >& vecGroupInfo, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_groupInfo = vecGroupInfo; - m_timestamp = dwTimestamp; - } - CImRspDelgroup& operator=( const CImRspDelgroup& cImRspDelgroup ) - { - m_retcode = cImRspDelgroup.m_retcode; - m_groupInfo = cImRspDelgroup.m_groupInfo; - m_timestamp = cImRspDelgroup.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< SDelGroup >& GetGroupInfo () const { return m_groupInfo; } - bool SetGroupInfo ( const VECTOR< SDelGroup >& vecGroupInfo ) - { - m_groupInfo = vecGroupInfo; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - VECTOR< SDelGroup > m_groupInfo; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspDelgroup::Size() const -{ - uint32_t nSize = 17; - for(uint32_t i = 0; i < m_groupInfo.size(); i++) - { - nSize += m_groupInfo[i].Size(); - } - return nSize; -} - -class CImReqChguserverify : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHGUSERVERIFY - }; - CImReqChguserverify() : m_question(""), - m_answer("") - { - } - - ~CImReqChguserverify() { } - CImReqChguserverify(const uint8_t& chAddcontactFlag, const uint8_t& chSendmsgFlag, const uint8_t& chEnableSearch, const string& strQuestion= "", const string& strAnswer= "") - { - m_addcontactFlag = chAddcontactFlag; - m_sendmsgFlag = chSendmsgFlag; - m_enableSearch = chEnableSearch; - m_question = strQuestion; - m_answer = strAnswer; - } - CImReqChguserverify& operator=( const CImReqChguserverify& cImReqChguserverify ) - { - m_addcontactFlag = cImReqChguserverify.m_addcontactFlag; - m_sendmsgFlag = cImReqChguserverify.m_sendmsgFlag; - m_enableSearch = cImReqChguserverify.m_enableSearch; - m_question = cImReqChguserverify.m_question; - m_answer = cImReqChguserverify.m_answer; - return *this; - } - - const uint8_t& GetAddcontactFlag () const { return m_addcontactFlag; } - bool SetAddcontactFlag ( const uint8_t& chAddcontactFlag ) - { - m_addcontactFlag = chAddcontactFlag; - return true; - } - const uint8_t& GetSendmsgFlag () const { return m_sendmsgFlag; } - bool SetSendmsgFlag ( const uint8_t& chSendmsgFlag ) - { - m_sendmsgFlag = chSendmsgFlag; - return true; - } - const uint8_t& GetEnableSearch () const { return m_enableSearch; } - bool SetEnableSearch ( const uint8_t& chEnableSearch ) - { - m_enableSearch = chEnableSearch; - return true; - } - const string& GetQuestion () const { return m_question; } - bool SetQuestion ( const string& strQuestion ) - { - m_question = strQuestion; - return true; - } - const string& GetAnswer () const { return m_answer; } - bool SetAnswer ( const string& strAnswer ) - { - m_answer = strAnswer; - return true; - } -private: - uint8_t m_addcontactFlag; - uint8_t m_sendmsgFlag; - uint8_t m_enableSearch; - string m_question; - string m_answer; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChguserverify::Size() const -{ - uint32_t nSize = 17; - nSize += m_question.length(); - nSize += m_answer.length(); - return nSize; -} - -class CImRspChguserverify : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHGUSERVERIFY - }; - CImRspChguserverify() : m_question(""), - m_answer("") - { - } - - ~CImRspChguserverify() { } - CImRspChguserverify(const uint32_t& dwRetcode, const uint8_t& chAddcontactFlag, const uint8_t& chSendmsgFlag, const uint8_t& chEnableSearch, const string& strQuestion= "", const string& strAnswer= "") - { - m_retcode = dwRetcode; - m_addcontactFlag = chAddcontactFlag; - m_sendmsgFlag = chSendmsgFlag; - m_enableSearch = chEnableSearch; - m_question = strQuestion; - m_answer = strAnswer; - } - CImRspChguserverify& operator=( const CImRspChguserverify& cImRspChguserverify ) - { - m_retcode = cImRspChguserverify.m_retcode; - m_addcontactFlag = cImRspChguserverify.m_addcontactFlag; - m_sendmsgFlag = cImRspChguserverify.m_sendmsgFlag; - m_enableSearch = cImRspChguserverify.m_enableSearch; - m_question = cImRspChguserverify.m_question; - m_answer = cImRspChguserverify.m_answer; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint8_t& GetAddcontactFlag () const { return m_addcontactFlag; } - bool SetAddcontactFlag ( const uint8_t& chAddcontactFlag ) - { - m_addcontactFlag = chAddcontactFlag; - return true; - } - const uint8_t& GetSendmsgFlag () const { return m_sendmsgFlag; } - bool SetSendmsgFlag ( const uint8_t& chSendmsgFlag ) - { - m_sendmsgFlag = chSendmsgFlag; - return true; - } - const uint8_t& GetEnableSearch () const { return m_enableSearch; } - bool SetEnableSearch ( const uint8_t& chEnableSearch ) - { - m_enableSearch = chEnableSearch; - return true; - } - const string& GetQuestion () const { return m_question; } - bool SetQuestion ( const string& strQuestion ) - { - m_question = strQuestion; - return true; - } - const string& GetAnswer () const { return m_answer; } - bool SetAnswer ( const string& strAnswer ) - { - m_answer = strAnswer; - return true; - } -private: - uint32_t m_retcode; - uint8_t m_addcontactFlag; - uint8_t m_sendmsgFlag; - uint8_t m_enableSearch; - string m_question; - string m_answer; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChguserverify::Size() const -{ - uint32_t nSize = 22; - nSize += m_question.length(); - nSize += m_answer.length(); - return nSize; -} - -enum CONTACT_OPERATE -{ - CHGNICK_NAME = 0x1, - MOVE_CONTACT = 0x2, - CHG_IMPORTANCE = 0x4, - -}; - -struct SChgContactInfo -{ -public: - SChgContactInfo() - { - } - - ~SChgContactInfo() { } - SChgContactInfo(const int64_t& llMask, const string& strContactId, const string& strNickName, const string& strImportance, const int64_t& llGroupId) - { - m_mask = llMask; - m_contactId = strContactId; - m_nickName = strNickName; - m_importance = strImportance; - m_groupId = llGroupId; - } - SChgContactInfo& operator=( const SChgContactInfo& sChgContactInfo ) - { - m_mask = sChgContactInfo.m_mask; - m_contactId = sChgContactInfo.m_contactId; - m_nickName = sChgContactInfo.m_nickName; - m_importance = sChgContactInfo.m_importance; - m_groupId = sChgContactInfo.m_groupId; - return *this; - } - - int64_t m_mask; - string m_contactId; - string m_nickName; - string m_importance; - int64_t m_groupId; - -public: - uint32_t Size() const; -}; - -inline uint32_t SChgContactInfo::Size() const -{ - uint32_t nSize = 34; - nSize += m_contactId.length(); - nSize += m_nickName.length(); - nSize += m_importance.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SChgContactInfo& sChgContactInfo ); -CPackData& operator>> ( CPackData& cPackData, SChgContactInfo& sChgContactInfo ); - -struct SContactInfo -{ -public: - SContactInfo() - { - } - - ~SContactInfo() { } - SContactInfo(const string& strContactId, const string& strNickName, const string& strImportance, const int64_t& llGroupId) - { - m_contactId = strContactId; - m_nickName = strNickName; - m_importance = strImportance; - m_groupId = llGroupId; - } - SContactInfo& operator=( const SContactInfo& sContactInfo ) - { - m_contactId = sContactInfo.m_contactId; - m_nickName = sContactInfo.m_nickName; - m_importance = sContactInfo.m_importance; - m_groupId = sContactInfo.m_groupId; - return *this; - } - - string m_contactId; - string m_nickName; - string m_importance; - int64_t m_groupId; - -public: - uint32_t Size() const; -}; - -inline uint32_t SContactInfo::Size() const -{ - uint32_t nSize = 25; - nSize += m_contactId.length(); - nSize += m_nickName.length(); - nSize += m_importance.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SContactInfo& sContactInfo ); -CPackData& operator>> ( CPackData& cPackData, SContactInfo& sContactInfo ); - -class CImReqGetcontact : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GETCONTACT - }; - CImReqGetcontact() - { - } - - ~CImReqGetcontact() { } - CImReqGetcontact(const uint32_t& dwTimestamp) - { - m_timestamp = dwTimestamp; - } - CImReqGetcontact& operator=( const CImReqGetcontact& cImReqGetcontact ) - { - m_timestamp = cImReqGetcontact.m_timestamp; - return *this; - } - - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetcontact::Size() const -{ - return 6; -} -class CImRspGetcontact : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETCONTACT - }; - CImRspGetcontact() - { - } - - ~CImRspGetcontact() { } - CImRspGetcontact(const uint32_t& dwRetcode, const VECTOR< SContactInfo >& vecContactList, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_contactList = vecContactList; - m_timestamp = dwTimestamp; - } - CImRspGetcontact& operator=( const CImRspGetcontact& cImRspGetcontact ) - { - m_retcode = cImRspGetcontact.m_retcode; - m_contactList = cImRspGetcontact.m_contactList; - m_timestamp = cImRspGetcontact.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< SContactInfo >& GetContactList () const { return m_contactList; } - bool SetContactList ( const VECTOR< SContactInfo >& vecContactList ) - { - m_contactList = vecContactList; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - VECTOR< SContactInfo > m_contactList; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetcontact::Size() const -{ - uint32_t nSize = 17; - for(uint32_t i = 0; i < m_contactList.size(); i++) - { - nSize += m_contactList[i].Size(); - } - return nSize; -} - -class CImReqAddcontact : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ADDCONTACT - }; - CImReqAddcontact() - { - } - - ~CImReqAddcontact() { } - CImReqAddcontact(const SContactInfo& sContact, const uint8_t& chType) - { - m_contact = sContact; - m_type = chType; - } - CImReqAddcontact& operator=( const CImReqAddcontact& cImReqAddcontact ) - { - m_contact = cImReqAddcontact.m_contact; - m_type = cImReqAddcontact.m_type; - return *this; - } - - const SContactInfo& GetContact () const { return m_contact; } - bool SetContact ( const SContactInfo& sContact ) - { - m_contact = sContact; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } -private: - SContactInfo m_contact; - uint8_t m_type; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAddcontact::Size() const -{ - uint32_t nSize = 4; - nSize += m_contact.Size(); - return nSize; -} - -class CImRspAddcontact : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_ADDCONTACT - }; - CImRspAddcontact() - { - } - - ~CImRspAddcontact() { } - CImRspAddcontact(const uint32_t& dwRetcode, const uint8_t& chType, const SContactInfo& sContact, const uint32_t& dwTimestamp, const string& strCompanyname) - { - m_retcode = dwRetcode; - m_type = chType; - m_contact = sContact; - m_timestamp = dwTimestamp; - m_companyname = strCompanyname; - } - CImRspAddcontact& operator=( const CImRspAddcontact& cImRspAddcontact ) - { - m_retcode = cImRspAddcontact.m_retcode; - m_type = cImRspAddcontact.m_type; - m_contact = cImRspAddcontact.m_contact; - m_timestamp = cImRspAddcontact.m_timestamp; - m_companyname = cImRspAddcontact.m_companyname; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const SContactInfo& GetContact () const { return m_contact; } - bool SetContact ( const SContactInfo& sContact ) - { - m_contact = sContact; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } - const string& GetCompanyname () const { return m_companyname; } - bool SetCompanyname ( const string& strCompanyname ) - { - m_companyname = strCompanyname; - return true; - } -private: - uint32_t m_retcode; - uint8_t m_type; - SContactInfo m_contact; - uint32_t m_timestamp; - string m_companyname; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspAddcontact::Size() const -{ - uint32_t nSize = 19; - nSize += m_contact.Size(); - nSize += m_companyname.length(); - return nSize; -} - -class CImReqChgcontact : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHGCONTACT - }; - CImReqChgcontact() - { - } - - ~CImReqChgcontact() { } - CImReqChgcontact(const VECTOR< SChgContactInfo >& vecContactList) - { - m_contactList = vecContactList; - } - CImReqChgcontact& operator=( const CImReqChgcontact& cImReqChgcontact ) - { - m_contactList = cImReqChgcontact.m_contactList; - return *this; - } - - const VECTOR< SChgContactInfo >& GetContactList () const { return m_contactList; } - bool SetContactList ( const VECTOR< SChgContactInfo >& vecContactList ) - { - m_contactList = vecContactList; - return true; - } -private: - VECTOR< SChgContactInfo > m_contactList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChgcontact::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_contactList.size(); i++) - { - nSize += m_contactList[i].Size(); - } - return nSize; -} - -class CImRspChgcontact : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHGCONTACT - }; - CImRspChgcontact() - { - } - - ~CImRspChgcontact() { } - CImRspChgcontact(const uint32_t& dwRetcode, const VECTOR< SChgContactInfo >& vecContactList, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_contactList = vecContactList; - m_timestamp = dwTimestamp; - } - CImRspChgcontact& operator=( const CImRspChgcontact& cImRspChgcontact ) - { - m_retcode = cImRspChgcontact.m_retcode; - m_contactList = cImRspChgcontact.m_contactList; - m_timestamp = cImRspChgcontact.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< SChgContactInfo >& GetContactList () const { return m_contactList; } - bool SetContactList ( const VECTOR< SChgContactInfo >& vecContactList ) - { - m_contactList = vecContactList; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - VECTOR< SChgContactInfo > m_contactList; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChgcontact::Size() const -{ - uint32_t nSize = 17; - for(uint32_t i = 0; i < m_contactList.size(); i++) - { - nSize += m_contactList[i].Size(); - } - return nSize; -} - -class CImReqDelcontact : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_DELCONTACT - }; - CImReqDelcontact() - { - } - - ~CImReqDelcontact() { } - CImReqDelcontact(const VECTOR< string >& vecContactList) - { - m_contactList = vecContactList; - } - CImReqDelcontact& operator=( const CImReqDelcontact& cImReqDelcontact ) - { - m_contactList = cImReqDelcontact.m_contactList; - return *this; - } - - const VECTOR< string >& GetContactList () const { return m_contactList; } - bool SetContactList ( const VECTOR< string >& vecContactList ) - { - m_contactList = vecContactList; - return true; - } -private: - VECTOR< string > m_contactList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqDelcontact::Size() const -{ - uint32_t nSize = 7; - nSize += m_contactList.size() * 4; - for(uint32_t i = 0; i < m_contactList.size(); i++) - { - nSize += m_contactList[i].length(); - } - return nSize; -} - -class CImRspDelcontact : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_DELCONTACT - }; - CImRspDelcontact() - { - } - - ~CImRspDelcontact() { } - CImRspDelcontact(const uint32_t& dwRetcode, const VECTOR< string >& vecContactList, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_contactList = vecContactList; - m_timestamp = dwTimestamp; - } - CImRspDelcontact& operator=( const CImRspDelcontact& cImRspDelcontact ) - { - m_retcode = cImRspDelcontact.m_retcode; - m_contactList = cImRspDelcontact.m_contactList; - m_timestamp = cImRspDelcontact.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< string >& GetContactList () const { return m_contactList; } - bool SetContactList ( const VECTOR< string >& vecContactList ) - { - m_contactList = vecContactList; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - VECTOR< string > m_contactList; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspDelcontact::Size() const -{ - uint32_t nSize = 17; - nSize += m_contactList.size() * 4; - for(uint32_t i = 0; i < m_contactList.size(); i++) - { - nSize += m_contactList[i].length(); - } - return nSize; -} - -class CImReqAddcntack : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ADDCNTACK - }; - CImReqAddcntack() - { - } - - ~CImReqAddcntack() { } - CImReqAddcntack(const uint8_t& chOpcode, const string& strContactId, const int64_t& llGroupId) - { - m_opcode = chOpcode; - m_contactId = strContactId; - m_groupId = llGroupId; - } - CImReqAddcntack& operator=( const CImReqAddcntack& cImReqAddcntack ) - { - m_opcode = cImReqAddcntack.m_opcode; - m_contactId = cImReqAddcntack.m_contactId; - m_groupId = cImReqAddcntack.m_groupId; - return *this; - } - - const uint8_t& GetOpcode () const { return m_opcode; } - bool SetOpcode ( const uint8_t& chOpcode ) - { - m_opcode = chOpcode; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_opcode; - string m_contactId; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAddcntack::Size() const -{ - uint32_t nSize = 17; - nSize += m_contactId.length(); - return nSize; -} - -class CImRspAddcntack : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_ADDCNTACK - }; - CImRspAddcntack() - { - } - - ~CImRspAddcntack() { } - CImRspAddcntack(const uint32_t& dwRetcode, const uint8_t& chOpcode, const int64_t& llGroupId, const uint32_t& dwTimestamp, const string& strContactId) - { - m_retcode = dwRetcode; - m_opcode = chOpcode; - m_groupId = llGroupId; - m_timestamp = dwTimestamp; - m_contactId = strContactId; - } - CImRspAddcntack& operator=( const CImRspAddcntack& cImRspAddcntack ) - { - m_retcode = cImRspAddcntack.m_retcode; - m_opcode = cImRspAddcntack.m_opcode; - m_groupId = cImRspAddcntack.m_groupId; - m_timestamp = cImRspAddcntack.m_timestamp; - m_contactId = cImRspAddcntack.m_contactId; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint8_t& GetOpcode () const { return m_opcode; } - bool SetOpcode ( const uint8_t& chOpcode ) - { - m_opcode = chOpcode; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } -private: - uint32_t m_retcode; - uint8_t m_opcode; - int64_t m_groupId; - uint32_t m_timestamp; - string m_contactId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspAddcntack::Size() const -{ - uint32_t nSize = 27; - nSize += m_contactId.length(); - return nSize; -} - -struct SContactDetailGetter -{ -public: - SContactDetailGetter() - { - } - - ~SContactDetailGetter() { } - SContactDetailGetter(const string& strContactId, const uint32_t& dwTimestamp) - { - m_contactId = strContactId; - m_timestamp = dwTimestamp; - } - SContactDetailGetter& operator=( const SContactDetailGetter& sContactDetailGetter ) - { - m_contactId = sContactDetailGetter.m_contactId; - m_timestamp = sContactDetailGetter.m_timestamp; - return *this; - } - - string m_contactId; - uint32_t m_timestamp; - -public: - uint32_t Size() const; -}; - -inline uint32_t SContactDetailGetter::Size() const -{ - uint32_t nSize = 11; - nSize += m_contactId.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SContactDetailGetter& sContactDetailGetter ); -CPackData& operator>> ( CPackData& cPackData, SContactDetailGetter& sContactDetailGetter ); - -class CImReqGetcntdetail : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GETCNTDETAIL - }; - CImReqGetcntdetail() - { - } - - ~CImReqGetcntdetail() { } - CImReqGetcntdetail(const VECTOR< SContactDetailGetter >& vecContacts) - { - m_contacts = vecContacts; - } - CImReqGetcntdetail& operator=( const CImReqGetcntdetail& cImReqGetcntdetail ) - { - m_contacts = cImReqGetcntdetail.m_contacts; - return *this; - } - - const VECTOR< SContactDetailGetter >& GetContacts () const { return m_contacts; } - bool SetContacts ( const VECTOR< SContactDetailGetter >& vecContacts ) - { - m_contacts = vecContacts; - return true; - } -private: - VECTOR< SContactDetailGetter > m_contacts; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetcntdetail::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_contacts.size(); i++) - { - nSize += m_contacts[i].Size(); - } - return nSize; -} - -struct SContactDetail -{ -public: - SContactDetail() - { - } - - ~SContactDetail() { } - SContactDetail(const map< string,string >& mapContactDetail, const uint32_t& dwTimestamp) - { - m_contactDetail = mapContactDetail; - m_timestamp = dwTimestamp; - } - SContactDetail& operator=( const SContactDetail& sContactDetail ) - { - m_contactDetail = sContactDetail.m_contactDetail; - m_timestamp = sContactDetail.m_timestamp; - return *this; - } - - map< string,string > m_contactDetail; - uint32_t m_timestamp; - -public: - uint32_t Size() const; -}; - -inline uint32_t SContactDetail::Size() const -{ - uint32_t nSize = 10; - nSize += m_contactDetail.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_contactDetail.begin(); itr != m_contactDetail.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SContactDetail& sContactDetail ); -CPackData& operator>> ( CPackData& cPackData, SContactDetail& sContactDetail ); - -class CImRspGetcntdetail : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETCNTDETAIL - }; - CImRspGetcntdetail() - { - } - - ~CImRspGetcntdetail() { } - CImRspGetcntdetail(const uint32_t& dwRetcode, const VECTOR< SContactDetail >& vecDetailList) - { - m_retcode = dwRetcode; - m_detailList = vecDetailList; - } - CImRspGetcntdetail& operator=( const CImRspGetcntdetail& cImRspGetcntdetail ) - { - m_retcode = cImRspGetcntdetail.m_retcode; - m_detailList = cImRspGetcntdetail.m_detailList; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< SContactDetail >& GetDetailList () const { return m_detailList; } - bool SetDetailList ( const VECTOR< SContactDetail >& vecDetailList ) - { - m_detailList = vecDetailList; - return true; - } -private: - uint32_t m_retcode; - VECTOR< SContactDetail > m_detailList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetcntdetail::Size() const -{ - uint32_t nSize = 12; - for(uint32_t i = 0; i < m_detailList.size(); i++) - { - nSize += m_detailList[i].Size(); - } - return nSize; -} - -class CImReqChguserdetail : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHGUSERDETAIL - }; - CImReqChguserdetail() - { - } - - ~CImReqChguserdetail() { } - CImReqChguserdetail(const map< string,string >& mapUserDetail) - { - m_userDetail = mapUserDetail; - } - CImReqChguserdetail& operator=( const CImReqChguserdetail& cImReqChguserdetail ) - { - m_userDetail = cImReqChguserdetail.m_userDetail; - return *this; - } - - const map< string,string >& GetUserDetail () const { return m_userDetail; } - bool SetUserDetail ( const map< string,string >& mapUserDetail ) - { - m_userDetail = mapUserDetail; - return true; - } -private: - map< string,string > m_userDetail; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChguserdetail::Size() const -{ - uint32_t nSize = 5; - nSize += m_userDetail.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_userDetail.begin(); itr != m_userDetail.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CImRspChguserdetail : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHGUSERDETAIL - }; - CImRspChguserdetail() - { - } - - ~CImRspChguserdetail() { } - CImRspChguserdetail(const uint32_t& dwRetcode, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_timestamp = dwTimestamp; - } - CImRspChguserdetail& operator=( const CImRspChguserdetail& cImRspChguserdetail ) - { - m_retcode = cImRspChguserdetail.m_retcode; - m_timestamp = cImRspChguserdetail.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChguserdetail::Size() const -{ - return 11; -} -class CImReqGetcntmemo : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GETCNTMEMO - }; - CImReqGetcntmemo() - { - } - - ~CImReqGetcntmemo() { } - CImReqGetcntmemo(const string& strContactId) - { - m_contactId = strContactId; - } - CImReqGetcntmemo& operator=( const CImReqGetcntmemo& cImReqGetcntmemo ) - { - m_contactId = cImReqGetcntmemo.m_contactId; - return *this; - } - - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } -private: - string m_contactId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetcntmemo::Size() const -{ - uint32_t nSize = 6; - nSize += m_contactId.length(); - return nSize; -} - -class CImRspGetcntmemo : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETCNTMEMO - }; - CImRspGetcntmemo() - { - } - - ~CImRspGetcntmemo() { } - CImRspGetcntmemo(const uint32_t& dwRetcode, const string& strContactId, const string& strMemo) - { - m_retcode = dwRetcode; - m_contactId = strContactId; - m_memo = strMemo; - } - CImRspGetcntmemo& operator=( const CImRspGetcntmemo& cImRspGetcntmemo ) - { - m_retcode = cImRspGetcntmemo.m_retcode; - m_contactId = cImRspGetcntmemo.m_contactId; - m_memo = cImRspGetcntmemo.m_memo; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const string& GetMemo () const { return m_memo; } - bool SetMemo ( const string& strMemo ) - { - m_memo = strMemo; - return true; - } -private: - uint32_t m_retcode; - string m_contactId; - string m_memo; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetcntmemo::Size() const -{ - uint32_t nSize = 16; - nSize += m_contactId.length(); - nSize += m_memo.length(); - return nSize; -} - -class CImReqChgcntmemo : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHGCNTMEMO - }; - CImReqChgcntmemo() - { - } - - ~CImReqChgcntmemo() { } - CImReqChgcntmemo(const string& strContactId, const string& strMemo) - { - m_contactId = strContactId; - m_memo = strMemo; - } - CImReqChgcntmemo& operator=( const CImReqChgcntmemo& cImReqChgcntmemo ) - { - m_contactId = cImReqChgcntmemo.m_contactId; - m_memo = cImReqChgcntmemo.m_memo; - return *this; - } - - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const string& GetMemo () const { return m_memo; } - bool SetMemo ( const string& strMemo ) - { - m_memo = strMemo; - return true; - } -private: - string m_contactId; - string m_memo; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChgcntmemo::Size() const -{ - uint32_t nSize = 11; - nSize += m_contactId.length(); - nSize += m_memo.length(); - return nSize; -} - -class CImRspChgcntmemo : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHGCNTMEMO - }; - CImRspChgcntmemo() - { - } - - ~CImRspChgcntmemo() { } - CImRspChgcntmemo(const uint32_t& dwRetcode, const string& strContactId, const string& strMemo) - { - m_retcode = dwRetcode; - m_contactId = strContactId; - m_memo = strMemo; - } - CImRspChgcntmemo& operator=( const CImRspChgcntmemo& cImRspChgcntmemo ) - { - m_retcode = cImRspChgcntmemo.m_retcode; - m_contactId = cImRspChgcntmemo.m_contactId; - m_memo = cImRspChgcntmemo.m_memo; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const string& GetMemo () const { return m_memo; } - bool SetMemo ( const string& strMemo ) - { - m_memo = strMemo; - return true; - } -private: - uint32_t m_retcode; - string m_contactId; - string m_memo; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChgcntmemo::Size() const -{ - uint32_t nSize = 16; - nSize += m_contactId.length(); - nSize += m_memo.length(); - return nSize; -} - -class CImRspGetblack : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETBLACK - }; - CImRspGetblack() - { - } - - ~CImRspGetblack() { } - CImRspGetblack(const uint32_t& dwRetcode, const VECTOR< string >& vecBlackList, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_blackList = vecBlackList; - m_timestamp = dwTimestamp; - } - CImRspGetblack& operator=( const CImRspGetblack& cImRspGetblack ) - { - m_retcode = cImRspGetblack.m_retcode; - m_blackList = cImRspGetblack.m_blackList; - m_timestamp = cImRspGetblack.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< string >& GetBlackList () const { return m_blackList; } - bool SetBlackList ( const VECTOR< string >& vecBlackList ) - { - m_blackList = vecBlackList; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - VECTOR< string > m_blackList; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetblack::Size() const -{ - uint32_t nSize = 17; - nSize += m_blackList.size() * 4; - for(uint32_t i = 0; i < m_blackList.size(); i++) - { - nSize += m_blackList[i].length(); - } - return nSize; -} - -class CImReqAddblack : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ADDBLACK - }; - CImReqAddblack() - { - } - - ~CImReqAddblack() { } - CImReqAddblack(const string& strBlackId) - { - m_blackId = strBlackId; - } - CImReqAddblack& operator=( const CImReqAddblack& cImReqAddblack ) - { - m_blackId = cImReqAddblack.m_blackId; - return *this; - } - - const string& GetBlackId () const { return m_blackId; } - bool SetBlackId ( const string& strBlackId ) - { - if(strBlackId.size() > 64) - return false; - m_blackId = strBlackId; - return true; - } -private: - string m_blackId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAddblack::Size() const -{ - uint32_t nSize = 6; - nSize += m_blackId.length(); - return nSize; -} - -class CImRspAddblack : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_ADDBLACK - }; - CImRspAddblack() - { - } - - ~CImRspAddblack() { } - CImRspAddblack(const uint32_t& dwRetcode, const string& strBlackId, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_blackId = strBlackId; - m_timestamp = dwTimestamp; - } - CImRspAddblack& operator=( const CImRspAddblack& cImRspAddblack ) - { - m_retcode = cImRspAddblack.m_retcode; - m_blackId = cImRspAddblack.m_blackId; - m_timestamp = cImRspAddblack.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetBlackId () const { return m_blackId; } - bool SetBlackId ( const string& strBlackId ) - { - if(strBlackId.size() > 64) - return false; - m_blackId = strBlackId; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - string m_blackId; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspAddblack::Size() const -{ - uint32_t nSize = 16; - nSize += m_blackId.length(); - return nSize; -} - -class CImRspDelblack : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_DELBLACK - }; - CImRspDelblack() - { - } - - ~CImRspDelblack() { } - CImRspDelblack(const uint32_t& dwRetcode, const string& strBlackId, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_blackId = strBlackId; - m_timestamp = dwTimestamp; - } - CImRspDelblack& operator=( const CImRspDelblack& cImRspDelblack ) - { - m_retcode = cImRspDelblack.m_retcode; - m_blackId = cImRspDelblack.m_blackId; - m_timestamp = cImRspDelblack.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetBlackId () const { return m_blackId; } - bool SetBlackId ( const string& strBlackId ) - { - if(strBlackId.size() > 64) - return false; - m_blackId = strBlackId; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - string m_blackId; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspDelblack::Size() const -{ - uint32_t nSize = 16; - nSize += m_blackId.length(); - return nSize; -} - -class CImReqDelblack : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_DELBLACK - }; - CImReqDelblack() - { - } - - ~CImReqDelblack() { } - CImReqDelblack(const uint32_t& dwRetcode, const string& strBlackId, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_blackId = strBlackId; - m_timestamp = dwTimestamp; - } - CImReqDelblack& operator=( const CImReqDelblack& cImReqDelblack ) - { - m_retcode = cImReqDelblack.m_retcode; - m_blackId = cImReqDelblack.m_blackId; - m_timestamp = cImReqDelblack.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetBlackId () const { return m_blackId; } - bool SetBlackId ( const string& strBlackId ) - { - if(strBlackId.size() > 64) - return false; - m_blackId = strBlackId; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - string m_blackId; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqDelblack::Size() const -{ - uint32_t nSize = 16; - nSize += m_blackId.length(); - return nSize; -} - -class CImRspGetrevblack : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETREVBLACK - }; - CImRspGetrevblack() - { - } - - ~CImRspGetrevblack() { } - CImRspGetrevblack(const uint32_t& dwRetcode, const VECTOR< string >& vecBlackList, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_blackList = vecBlackList; - m_timestamp = dwTimestamp; - } - CImRspGetrevblack& operator=( const CImRspGetrevblack& cImRspGetrevblack ) - { - m_retcode = cImRspGetrevblack.m_retcode; - m_blackList = cImRspGetrevblack.m_blackList; - m_timestamp = cImRspGetrevblack.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< string >& GetBlackList () const { return m_blackList; } - bool SetBlackList ( const VECTOR< string >& vecBlackList ) - { - m_blackList = vecBlackList; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - VECTOR< string > m_blackList; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetrevblack::Size() const -{ - uint32_t nSize = 17; - nSize += m_blackList.size() * 4; - for(uint32_t i = 0; i < m_blackList.size(); i++) - { - nSize += m_blackList[i].length(); - } - return nSize; -} - -class CImRspGetuserinfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETUSERINFO - }; - CImRspGetuserinfo() : m_question(""), - m_answer("") - { - } - - ~CImRspGetuserinfo() { } - CImRspGetuserinfo(const uint32_t& dwRetcode, const uint8_t& chAddcontactFlag, const uint8_t& chSendmsgFlag, const uint32_t& dwActivity, const uint8_t& chActLevel, const uint32_t& dwNeedNextlevel, const uint8_t& chImlevel, const uint8_t& chMulsendflag, const uint32_t& dwWebinfo, const string& strQuestion= "", const string& strAnswer= "") - { - m_retcode = dwRetcode; - m_addcontactFlag = chAddcontactFlag; - m_sendmsgFlag = chSendmsgFlag; - m_activity = dwActivity; - m_actLevel = chActLevel; - m_needNextlevel = dwNeedNextlevel; - m_imlevel = chImlevel; - m_mulsendflag = chMulsendflag; - m_webinfo = dwWebinfo; - m_question = strQuestion; - m_answer = strAnswer; - } - CImRspGetuserinfo& operator=( const CImRspGetuserinfo& cImRspGetuserinfo ) - { - m_retcode = cImRspGetuserinfo.m_retcode; - m_addcontactFlag = cImRspGetuserinfo.m_addcontactFlag; - m_sendmsgFlag = cImRspGetuserinfo.m_sendmsgFlag; - m_activity = cImRspGetuserinfo.m_activity; - m_actLevel = cImRspGetuserinfo.m_actLevel; - m_needNextlevel = cImRspGetuserinfo.m_needNextlevel; - m_imlevel = cImRspGetuserinfo.m_imlevel; - m_mulsendflag = cImRspGetuserinfo.m_mulsendflag; - m_webinfo = cImRspGetuserinfo.m_webinfo; - m_question = cImRspGetuserinfo.m_question; - m_answer = cImRspGetuserinfo.m_answer; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint8_t& GetAddcontactFlag () const { return m_addcontactFlag; } - bool SetAddcontactFlag ( const uint8_t& chAddcontactFlag ) - { - m_addcontactFlag = chAddcontactFlag; - return true; - } - const uint8_t& GetSendmsgFlag () const { return m_sendmsgFlag; } - bool SetSendmsgFlag ( const uint8_t& chSendmsgFlag ) - { - m_sendmsgFlag = chSendmsgFlag; - return true; - } - const uint32_t& GetActivity () const { return m_activity; } - bool SetActivity ( const uint32_t& dwActivity ) - { - m_activity = dwActivity; - return true; - } - const uint8_t& GetActLevel () const { return m_actLevel; } - bool SetActLevel ( const uint8_t& chActLevel ) - { - m_actLevel = chActLevel; - return true; - } - const uint32_t& GetNeedNextlevel () const { return m_needNextlevel; } - bool SetNeedNextlevel ( const uint32_t& dwNeedNextlevel ) - { - m_needNextlevel = dwNeedNextlevel; - return true; - } - const uint8_t& GetImlevel () const { return m_imlevel; } - bool SetImlevel ( const uint8_t& chImlevel ) - { - m_imlevel = chImlevel; - return true; - } - const uint8_t& GetMulsendflag () const { return m_mulsendflag; } - bool SetMulsendflag ( const uint8_t& chMulsendflag ) - { - m_mulsendflag = chMulsendflag; - return true; - } - const uint32_t& GetWebinfo () const { return m_webinfo; } - bool SetWebinfo ( const uint32_t& dwWebinfo ) - { - m_webinfo = dwWebinfo; - return true; - } - const string& GetQuestion () const { return m_question; } - bool SetQuestion ( const string& strQuestion ) - { - m_question = strQuestion; - return true; - } - const string& GetAnswer () const { return m_answer; } - bool SetAnswer ( const string& strAnswer ) - { - m_answer = strAnswer; - return true; - } -private: - uint32_t m_retcode; - uint8_t m_addcontactFlag; - uint8_t m_sendmsgFlag; - uint32_t m_activity; - uint8_t m_actLevel; - uint32_t m_needNextlevel; - uint8_t m_imlevel; - uint8_t m_mulsendflag; - uint32_t m_webinfo; - string m_question; - string m_answer; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetuserinfo::Size() const -{ - uint32_t nSize = 41; - nSize += m_question.length(); - nSize += m_answer.length(); - return nSize; -} - -struct SUserStatus -{ -public: - SUserStatus() - { - } - - ~SUserStatus() { } - SUserStatus(const string& strUserId, const uint8_t& chBasicStatus, const uint8_t& chPredefStatus) - { - m_userId = strUserId; - m_basicStatus = chBasicStatus; - m_predefStatus = chPredefStatus; - } - SUserStatus& operator=( const SUserStatus& sUserStatus ) - { - m_userId = sUserStatus.m_userId; - m_basicStatus = sUserStatus.m_basicStatus; - m_predefStatus = sUserStatus.m_predefStatus; - return *this; - } - - string m_userId; - uint8_t m_basicStatus; - uint8_t m_predefStatus; - -public: - uint32_t Size() const; -}; - -inline uint32_t SUserStatus::Size() const -{ - uint32_t nSize = 10; - nSize += m_userId.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SUserStatus& sUserStatus ); -CPackData& operator>> ( CPackData& cPackData, SUserStatus& sUserStatus ); - -class CImRspGetcntstatus : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETCNTSTATUS - }; - CImRspGetcntstatus() - { - } - - ~CImRspGetcntstatus() { } - CImRspGetcntstatus(const uint32_t& dwRetcode, const VECTOR< SUserStatus >& vecContactStatus) - { - m_retcode = dwRetcode; - m_contactStatus = vecContactStatus; - } - CImRspGetcntstatus& operator=( const CImRspGetcntstatus& cImRspGetcntstatus ) - { - m_retcode = cImRspGetcntstatus.m_retcode; - m_contactStatus = cImRspGetcntstatus.m_contactStatus; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< SUserStatus >& GetContactStatus () const { return m_contactStatus; } - bool SetContactStatus ( const VECTOR< SUserStatus >& vecContactStatus ) - { - m_contactStatus = vecContactStatus; - return true; - } -private: - uint32_t m_retcode; - VECTOR< SUserStatus > m_contactStatus; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetcntstatus::Size() const -{ - uint32_t nSize = 12; - for(uint32_t i = 0; i < m_contactStatus.size(); i++) - { - nSize += m_contactStatus[i].Size(); - } - return nSize; -} - -class CImReqChgstatus : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHGSTATUS - }; - CImReqChgstatus() - { - } - - ~CImReqChgstatus() { } - CImReqChgstatus(const uint8_t& chBasicStatus, const uint8_t& chPredefStatus) - { - m_basicStatus = chBasicStatus; - m_predefStatus = chPredefStatus; - } - CImReqChgstatus& operator=( const CImReqChgstatus& cImReqChgstatus ) - { - m_basicStatus = cImReqChgstatus.m_basicStatus; - m_predefStatus = cImReqChgstatus.m_predefStatus; - return *this; - } - - const uint8_t& GetBasicStatus () const { return m_basicStatus; } - bool SetBasicStatus ( const uint8_t& chBasicStatus ) - { - m_basicStatus = chBasicStatus; - return true; - } - const uint8_t& GetPredefStatus () const { return m_predefStatus; } - bool SetPredefStatus ( const uint8_t& chPredefStatus ) - { - m_predefStatus = chPredefStatus; - return true; - } -private: - uint8_t m_basicStatus; - uint8_t m_predefStatus; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChgstatus::Size() const -{ - return 5; -} -class CImNtfStatus : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_STATUS - }; - CImNtfStatus() - { - } - - ~CImNtfStatus() { } - CImNtfStatus(const VECTOR< SUserStatus >& vecUserStatusList) - { - m_userStatusList = vecUserStatusList; - } - CImNtfStatus& operator=( const CImNtfStatus& cImNtfStatus ) - { - m_userStatusList = cImNtfStatus.m_userStatusList; - return *this; - } - - const VECTOR< SUserStatus >& GetUserStatusList () const { return m_userStatusList; } - bool SetUserStatusList ( const VECTOR< SUserStatus >& vecUserStatusList ) - { - m_userStatusList = vecUserStatusList; - return true; - } -private: - VECTOR< SUserStatus > m_userStatusList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfStatus::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_userStatusList.size(); i++) - { - nSize += m_userStatusList[i].Size(); - } - return nSize; -} - -struct SOfflineMessage -{ -public: - SOfflineMessage() : m_serverType(0) - { - } - - ~SOfflineMessage() { } - SOfflineMessage(const string& strFromId, const uint8_t& chType, const uint32_t& dwSendTime, const string& strMessage, const uint8_t& chServerType= 0) - { - m_fromId = strFromId; - m_type = chType; - m_sendTime = dwSendTime; - m_message = strMessage; - m_serverType = chServerType; - } - SOfflineMessage& operator=( const SOfflineMessage& sOfflineMessage ) - { - m_fromId = sOfflineMessage.m_fromId; - m_type = sOfflineMessage.m_type; - m_sendTime = sOfflineMessage.m_sendTime; - m_message = sOfflineMessage.m_message; - m_serverType = sOfflineMessage.m_serverType; - return *this; - } - - string m_fromId; - uint8_t m_type; - uint32_t m_sendTime; - string m_message; - uint8_t m_serverType; - -public: - uint32_t Size() const; -}; - -inline uint32_t SOfflineMessage::Size() const -{ - uint32_t nSize = 20; - nSize += m_fromId.length(); - nSize += m_message.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SOfflineMessage& sOfflineMessage ); -CPackData& operator>> ( CPackData& cPackData, SOfflineMessage& sOfflineMessage ); - -class CImRspGetofflinemsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETOFFLINEMSG - }; - CImRspGetofflinemsg() - { - } - - ~CImRspGetofflinemsg() { } - CImRspGetofflinemsg(const uint32_t& dwRetcode, const VECTOR< SOfflineMessage >& vecMessageList, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_messageList = vecMessageList; - m_timestamp = dwTimestamp; - } - CImRspGetofflinemsg& operator=( const CImRspGetofflinemsg& cImRspGetofflinemsg ) - { - m_retcode = cImRspGetofflinemsg.m_retcode; - m_messageList = cImRspGetofflinemsg.m_messageList; - m_timestamp = cImRspGetofflinemsg.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< SOfflineMessage >& GetMessageList () const { return m_messageList; } - bool SetMessageList ( const VECTOR< SOfflineMessage >& vecMessageList ) - { - m_messageList = vecMessageList; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - VECTOR< SOfflineMessage > m_messageList; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetofflinemsg::Size() const -{ - uint32_t nSize = 17; - for(uint32_t i = 0; i < m_messageList.size(); i++) - { - nSize += m_messageList[i].Size(); - } - return nSize; -} - -class CImReqAddofflinemsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ADDOFFLINEMSG - }; - CImReqAddofflinemsg() - { - } - - ~CImReqAddofflinemsg() { } - CImReqAddofflinemsg(const VECTOR< SOfflineMessage >& vecMessageList) - { - m_messageList = vecMessageList; - } - CImReqAddofflinemsg& operator=( const CImReqAddofflinemsg& cImReqAddofflinemsg ) - { - m_messageList = cImReqAddofflinemsg.m_messageList; - return *this; - } - - const VECTOR< SOfflineMessage >& GetMessageList () const { return m_messageList; } - bool SetMessageList ( const VECTOR< SOfflineMessage >& vecMessageList ) - { - m_messageList = vecMessageList; - return true; - } -private: - VECTOR< SOfflineMessage > m_messageList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAddofflinemsg::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_messageList.size(); i++) - { - nSize += m_messageList[i].Size(); - } - return nSize; -} - -class CImReqDelofflinemsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_DELOFFLINEMSG - }; - CImReqDelofflinemsg() - { - } - - ~CImReqDelofflinemsg() { } - CImReqDelofflinemsg(const uint32_t& dwLastTime) - { - m_lastTime = dwLastTime; - } - CImReqDelofflinemsg& operator=( const CImReqDelofflinemsg& cImReqDelofflinemsg ) - { - m_lastTime = cImReqDelofflinemsg.m_lastTime; - return *this; - } - - const uint32_t& GetLastTime () const { return m_lastTime; } - bool SetLastTime ( const uint32_t& dwLastTime ) - { - m_lastTime = dwLastTime; - return true; - } -private: - uint32_t m_lastTime; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqDelofflinemsg::Size() const -{ - return 6; -} -class CImRspGetsystemmsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETSYSTEMMSG - }; - CImRspGetsystemmsg() - { - } - - ~CImRspGetsystemmsg() { } - CImRspGetsystemmsg(const VECTOR< string >& vecMessageList) - { - m_messageList = vecMessageList; - } - CImRspGetsystemmsg& operator=( const CImRspGetsystemmsg& cImRspGetsystemmsg ) - { - m_messageList = cImRspGetsystemmsg.m_messageList; - return *this; - } - - const VECTOR< string >& GetMessageList () const { return m_messageList; } - bool SetMessageList ( const VECTOR< string >& vecMessageList ) - { - m_messageList = vecMessageList; - return true; - } -private: - VECTOR< string > m_messageList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetsystemmsg::Size() const -{ - uint32_t nSize = 7; - nSize += m_messageList.size() * 4; - for(uint32_t i = 0; i < m_messageList.size(); i++) - { - nSize += m_messageList[i].length(); - } - return nSize; -} - -class CImReqSendimmessage : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SENDIMMESSAGE - }; - CImReqSendimmessage() - { - } - - ~CImReqSendimmessage() { } - CImReqSendimmessage(const string& strTargetId, const uint8_t& chType, const string& strMessage) - { - m_targetId = strTargetId; - m_type = chType; - m_message = strMessage; - } - CImReqSendimmessage& operator=( const CImReqSendimmessage& cImReqSendimmessage ) - { - m_targetId = cImReqSendimmessage.m_targetId; - m_type = cImReqSendimmessage.m_type; - m_message = cImReqSendimmessage.m_message; - return *this; - } - - const string& GetTargetId () const { return m_targetId; } - bool SetTargetId ( const string& strTargetId ) - { - if(strTargetId.size() > 64) - return false; - m_targetId = strTargetId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_targetId; - uint8_t m_type; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSendimmessage::Size() const -{ - uint32_t nSize = 13; - nSize += m_targetId.length(); - nSize += m_message.length(); - return nSize; -} - -class CImReqSendmultiusermsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SENDMULTIUSERMSG - }; - CImReqSendmultiusermsg() - { - } - - ~CImReqSendmultiusermsg() { } - CImReqSendmultiusermsg(const VECTOR< string >& vecTargetList, const uint8_t& chType, const string& strMessage) - { - m_targetList = vecTargetList; - m_type = chType; - m_message = strMessage; - } - CImReqSendmultiusermsg& operator=( const CImReqSendmultiusermsg& cImReqSendmultiusermsg ) - { - m_targetList = cImReqSendmultiusermsg.m_targetList; - m_type = cImReqSendmultiusermsg.m_type; - m_message = cImReqSendmultiusermsg.m_message; - return *this; - } - - const VECTOR< string >& GetTargetList () const { return m_targetList; } - bool SetTargetList ( const VECTOR< string >& vecTargetList ) - { - m_targetList = vecTargetList; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - VECTOR< string > m_targetList; - uint8_t m_type; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSendmultiusermsg::Size() const -{ - uint32_t nSize = 14; - nSize += m_targetList.size() * 4; - for(uint32_t i = 0; i < m_targetList.size(); i++) - { - nSize += m_targetList[i].length(); - } - nSize += m_message.length(); - return nSize; -} - -class CImNtfImmessage : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_IMMESSAGE - }; - CImNtfImmessage() : m_serverType(0), - m_mShiftflag(0) - { - } - - ~CImNtfImmessage() { } - CImNtfImmessage(const string& strSendId, const uint32_t& dwSendTime, const string& strMessage, const uint8_t& chServerType= 0, const uint8_t& chMShiftflag= 0) - { - m_sendId = strSendId; - m_sendTime = dwSendTime; - m_message = strMessage; - m_serverType = chServerType; - m_mShiftflag = chMShiftflag; - } - CImNtfImmessage& operator=( const CImNtfImmessage& cImNtfImmessage ) - { - m_sendId = cImNtfImmessage.m_sendId; - m_sendTime = cImNtfImmessage.m_sendTime; - m_message = cImNtfImmessage.m_message; - m_serverType = cImNtfImmessage.m_serverType; - m_mShiftflag = cImNtfImmessage.m_mShiftflag; - return *this; - } - - const string& GetSendId () const { return m_sendId; } - bool SetSendId ( const string& strSendId ) - { - if(strSendId.size() > 64) - return false; - m_sendId = strSendId; - return true; - } - const uint32_t& GetSendTime () const { return m_sendTime; } - bool SetSendTime ( const uint32_t& dwSendTime ) - { - m_sendTime = dwSendTime; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const uint8_t& GetServerType () const { return m_serverType; } - bool SetServerType ( const uint8_t& chServerType ) - { - m_serverType = chServerType; - return true; - } - const uint8_t& GetMShiftflag () const { return m_mShiftflag; } - bool SetMShiftflag ( const uint8_t& chMShiftflag ) - { - m_mShiftflag = chMShiftflag; - return true; - } -private: - string m_sendId; - uint32_t m_sendTime; - string m_message; - uint8_t m_serverType; - uint8_t m_mShiftflag; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfImmessage::Size() const -{ - uint32_t nSize = 20; - nSize += m_sendId.length(); - nSize += m_message.length(); - return nSize; -} - -class CImNtfSystemmessage : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_SYSTEMMESSAGE - }; - CImNtfSystemmessage() - { - } - - ~CImNtfSystemmessage() { } - CImNtfSystemmessage(const uint16_t& wCmdId, const string& strStyle, const string& strMessage) - { - m_cmdId = wCmdId; - m_style = strStyle; - m_message = strMessage; - } - CImNtfSystemmessage& operator=( const CImNtfSystemmessage& cImNtfSystemmessage ) - { - m_cmdId = cImNtfSystemmessage.m_cmdId; - m_style = cImNtfSystemmessage.m_style; - m_message = cImNtfSystemmessage.m_message; - return *this; - } - - const uint16_t& GetCmdId () const { return m_cmdId; } - bool SetCmdId ( const uint16_t& wCmdId ) - { - m_cmdId = wCmdId; - return true; - } - const string& GetStyle () const { return m_style; } - bool SetStyle ( const string& strStyle ) - { - m_style = strStyle; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - uint16_t m_cmdId; - string m_style; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfSystemmessage::Size() const -{ - uint32_t nSize = 14; - nSize += m_style.length(); - nSize += m_message.length(); - return nSize; -} - -class CImNtfSubcribeMsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_SUBCRIBE_MSG - }; - CImNtfSubcribeMsg() - { - } - - ~CImNtfSubcribeMsg() { } - CImNtfSubcribeMsg(const string& strMessage, const map< string,string >& mapHtmlMsg) - { - m_message = strMessage; - m_htmlMsg = mapHtmlMsg; - } - CImNtfSubcribeMsg& operator=( const CImNtfSubcribeMsg& cImNtfSubcribeMsg ) - { - m_message = cImNtfSubcribeMsg.m_message; - m_htmlMsg = cImNtfSubcribeMsg.m_htmlMsg; - return *this; - } - - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const map< string,string >& GetHtmlMsg () const { return m_htmlMsg; } - bool SetHtmlMsg ( const map< string,string >& mapHtmlMsg ) - { - m_htmlMsg = mapHtmlMsg; - return true; - } -private: - string m_message; - map< string,string > m_htmlMsg; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfSubcribeMsg::Size() const -{ - uint32_t nSize = 10; - nSize += m_message.length(); - nSize += m_htmlMsg.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_htmlMsg.begin(); itr != m_htmlMsg.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CImNtfExtinfoMsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_EXTINFO_MSG - }; - CImNtfExtinfoMsg() - { - } - - ~CImNtfExtinfoMsg() { } - CImNtfExtinfoMsg(const uint16_t& wType, const string& strContactId, const string& strMessage) - { - m_type = wType; - m_contactId = strContactId; - m_message = strMessage; - } - CImNtfExtinfoMsg& operator=( const CImNtfExtinfoMsg& cImNtfExtinfoMsg ) - { - m_type = cImNtfExtinfoMsg.m_type; - m_contactId = cImNtfExtinfoMsg.m_contactId; - m_message = cImNtfExtinfoMsg.m_message; - return *this; - } - - const uint16_t& GetType () const { return m_type; } - bool SetType ( const uint16_t& wType ) - { - m_type = wType; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - uint16_t m_type; - string m_contactId; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfExtinfoMsg::Size() const -{ - uint32_t nSize = 14; - nSize += m_contactId.length(); - nSize += m_message.length(); - return nSize; -} - -class CImReqGettoolsprofile : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GETTOOLSPROFILE - }; - CImReqGettoolsprofile() - { - } - - ~CImReqGettoolsprofile() { } - CImReqGettoolsprofile(const VECTOR< uint8_t >& vecToolTypes, const uint32_t& dwTimestamp) - { - m_toolTypes = vecToolTypes; - m_timestamp = dwTimestamp; - } - CImReqGettoolsprofile& operator=( const CImReqGettoolsprofile& cImReqGettoolsprofile ) - { - m_toolTypes = cImReqGettoolsprofile.m_toolTypes; - m_timestamp = cImReqGettoolsprofile.m_timestamp; - return *this; - } - - const VECTOR< uint8_t >& GetToolTypes () const { return m_toolTypes; } - bool SetToolTypes ( const VECTOR< uint8_t >& vecToolTypes ) - { - m_toolTypes = vecToolTypes; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - VECTOR< uint8_t > m_toolTypes; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGettoolsprofile::Size() const -{ - uint32_t nSize = 12; - nSize += m_toolTypes.size() * 1; - return nSize; -} - -struct SToolProfile -{ -public: - SToolProfile() - { - } - - ~SToolProfile() { } - SToolProfile(const uint8_t& chToolType, const string& strProfile) - { - m_toolType = chToolType; - m_profile = strProfile; - } - SToolProfile& operator=( const SToolProfile& sToolProfile ) - { - m_toolType = sToolProfile.m_toolType; - m_profile = sToolProfile.m_profile; - return *this; - } - - uint8_t m_toolType; - string m_profile; - -public: - uint32_t Size() const; -}; - -inline uint32_t SToolProfile::Size() const -{ - uint32_t nSize = 8; - nSize += m_profile.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SToolProfile& sToolProfile ); -CPackData& operator>> ( CPackData& cPackData, SToolProfile& sToolProfile ); - -class CImRspGettoolsprofile : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETTOOLSPROFILE - }; - CImRspGettoolsprofile() - { - } - - ~CImRspGettoolsprofile() { } - CImRspGettoolsprofile(const uint32_t& dwRetcode, const VECTOR< SToolProfile >& vecProfileList, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_profileList = vecProfileList; - m_timestamp = dwTimestamp; - } - CImRspGettoolsprofile& operator=( const CImRspGettoolsprofile& cImRspGettoolsprofile ) - { - m_retcode = cImRspGettoolsprofile.m_retcode; - m_profileList = cImRspGettoolsprofile.m_profileList; - m_timestamp = cImRspGettoolsprofile.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< SToolProfile >& GetProfileList () const { return m_profileList; } - bool SetProfileList ( const VECTOR< SToolProfile >& vecProfileList ) - { - m_profileList = vecProfileList; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - VECTOR< SToolProfile > m_profileList; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGettoolsprofile::Size() const -{ - uint32_t nSize = 17; - for(uint32_t i = 0; i < m_profileList.size(); i++) - { - nSize += m_profileList[i].Size(); - } - return nSize; -} - -class CImReqChgtoolsprofile : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHGTOOLSPROFILE - }; - CImReqChgtoolsprofile() - { - } - - ~CImReqChgtoolsprofile() { } - CImReqChgtoolsprofile(const VECTOR< SToolProfile >& vecProfileList) - { - m_profileList = vecProfileList; - } - CImReqChgtoolsprofile& operator=( const CImReqChgtoolsprofile& cImReqChgtoolsprofile ) - { - m_profileList = cImReqChgtoolsprofile.m_profileList; - return *this; - } - - const VECTOR< SToolProfile >& GetProfileList () const { return m_profileList; } - bool SetProfileList ( const VECTOR< SToolProfile >& vecProfileList ) - { - m_profileList = vecProfileList; - return true; - } -private: - VECTOR< SToolProfile > m_profileList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChgtoolsprofile::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_profileList.size(); i++) - { - nSize += m_profileList[i].Size(); - } - return nSize; -} - -class CImRspChgtoolsprofile : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHGTOOLSPROFILE - }; - CImRspChgtoolsprofile() - { - } - - ~CImRspChgtoolsprofile() { } - CImRspChgtoolsprofile(const uint32_t& dwRetcode, const VECTOR< uint8_t >& vecToolTypes, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_toolTypes = vecToolTypes; - m_timestamp = dwTimestamp; - } - CImRspChgtoolsprofile& operator=( const CImRspChgtoolsprofile& cImRspChgtoolsprofile ) - { - m_retcode = cImRspChgtoolsprofile.m_retcode; - m_toolTypes = cImRspChgtoolsprofile.m_toolTypes; - m_timestamp = cImRspChgtoolsprofile.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< uint8_t >& GetToolTypes () const { return m_toolTypes; } - bool SetToolTypes ( const VECTOR< uint8_t >& vecToolTypes ) - { - m_toolTypes = vecToolTypes; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - VECTOR< uint8_t > m_toolTypes; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChgtoolsprofile::Size() const -{ - uint32_t nSize = 17; - nSize += m_toolTypes.size() * 1; - return nSize; -} - -class CImReqPeerinfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_PEERINFO - }; - CImReqPeerinfo() - { - } - - ~CImReqPeerinfo() { } - CImReqPeerinfo(const string& strTargetId) - { - m_targetId = strTargetId; - } - CImReqPeerinfo& operator=( const CImReqPeerinfo& cImReqPeerinfo ) - { - m_targetId = cImReqPeerinfo.m_targetId; - return *this; - } - - const string& GetTargetId () const { return m_targetId; } - bool SetTargetId ( const string& strTargetId ) - { - if(strTargetId.size() > 64) - return false; - m_targetId = strTargetId; - return true; - } -private: - string m_targetId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqPeerinfo::Size() const -{ - uint32_t nSize = 6; - nSize += m_targetId.length(); - return nSize; -} - -class CImRspPeerinfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_PEERINFO - }; - CImRspPeerinfo() - { - } - - ~CImRspPeerinfo() { } - CImRspPeerinfo(const uint32_t& dwRetcode, const string& strTargetId, const uint32_t& dwClinetip, const string& strVersion, const uint8_t& chBasicStatus, const uint8_t& chPredefStatus, const uint8_t& chAddcontactFlag, const uint8_t& chSendmsgFlag, const uint8_t& chReverseContact) - { - m_retcode = dwRetcode; - m_targetId = strTargetId; - m_clinetip = dwClinetip; - m_version = strVersion; - m_basicStatus = chBasicStatus; - m_predefStatus = chPredefStatus; - m_addcontactFlag = chAddcontactFlag; - m_sendmsgFlag = chSendmsgFlag; - m_reverseContact = chReverseContact; - } - CImRspPeerinfo& operator=( const CImRspPeerinfo& cImRspPeerinfo ) - { - m_retcode = cImRspPeerinfo.m_retcode; - m_targetId = cImRspPeerinfo.m_targetId; - m_clinetip = cImRspPeerinfo.m_clinetip; - m_version = cImRspPeerinfo.m_version; - m_basicStatus = cImRspPeerinfo.m_basicStatus; - m_predefStatus = cImRspPeerinfo.m_predefStatus; - m_addcontactFlag = cImRspPeerinfo.m_addcontactFlag; - m_sendmsgFlag = cImRspPeerinfo.m_sendmsgFlag; - m_reverseContact = cImRspPeerinfo.m_reverseContact; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetTargetId () const { return m_targetId; } - bool SetTargetId ( const string& strTargetId ) - { - if(strTargetId.size() > 64) - return false; - m_targetId = strTargetId; - return true; - } - const uint32_t& GetClinetip () const { return m_clinetip; } - bool SetClinetip ( const uint32_t& dwClinetip ) - { - m_clinetip = dwClinetip; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - if(strVersion.size() > 128) - return false; - m_version = strVersion; - return true; - } - const uint8_t& GetBasicStatus () const { return m_basicStatus; } - bool SetBasicStatus ( const uint8_t& chBasicStatus ) - { - m_basicStatus = chBasicStatus; - return true; - } - const uint8_t& GetPredefStatus () const { return m_predefStatus; } - bool SetPredefStatus ( const uint8_t& chPredefStatus ) - { - m_predefStatus = chPredefStatus; - return true; - } - const uint8_t& GetAddcontactFlag () const { return m_addcontactFlag; } - bool SetAddcontactFlag ( const uint8_t& chAddcontactFlag ) - { - m_addcontactFlag = chAddcontactFlag; - return true; - } - const uint8_t& GetSendmsgFlag () const { return m_sendmsgFlag; } - bool SetSendmsgFlag ( const uint8_t& chSendmsgFlag ) - { - m_sendmsgFlag = chSendmsgFlag; - return true; - } - const uint8_t& GetReverseContact () const { return m_reverseContact; } - bool SetReverseContact ( const uint8_t& chReverseContact ) - { - m_reverseContact = chReverseContact; - return true; - } -private: - uint32_t m_retcode; - string m_targetId; - uint32_t m_clinetip; - string m_version; - uint8_t m_basicStatus; - uint8_t m_predefStatus; - uint8_t m_addcontactFlag; - uint8_t m_sendmsgFlag; - uint8_t m_reverseContact; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspPeerinfo::Size() const -{ - uint32_t nSize = 31; - nSize += m_targetId.length(); - nSize += m_version.length(); - return nSize; -} - -class CImReqSubscribeInfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SUBSCRIBE_INFO - }; - CImReqSubscribeInfo() - { - } - - ~CImReqSubscribeInfo() { } - CImReqSubscribeInfo(const VECTOR< string >& vecTargetList) - { - m_targetList = vecTargetList; - } - CImReqSubscribeInfo& operator=( const CImReqSubscribeInfo& cImReqSubscribeInfo ) - { - m_targetList = cImReqSubscribeInfo.m_targetList; - return *this; - } - - const VECTOR< string >& GetTargetList () const { return m_targetList; } - bool SetTargetList ( const VECTOR< string >& vecTargetList ) - { - m_targetList = vecTargetList; - return true; - } -private: - VECTOR< string > m_targetList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSubscribeInfo::Size() const -{ - uint32_t nSize = 7; - nSize += m_targetList.size() * 4; - for(uint32_t i = 0; i < m_targetList.size(); i++) - { - nSize += m_targetList[i].length(); - } - return nSize; -} - -class CImRspSubscribeInfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SUBSCRIBE_INFO - }; - CImRspSubscribeInfo() - { - } - - ~CImRspSubscribeInfo() { } - CImRspSubscribeInfo(const uint32_t& dwRetcode, const VECTOR< SUserStatus >& vecStatusList) - { - m_retcode = dwRetcode; - m_statusList = vecStatusList; - } - CImRspSubscribeInfo& operator=( const CImRspSubscribeInfo& cImRspSubscribeInfo ) - { - m_retcode = cImRspSubscribeInfo.m_retcode; - m_statusList = cImRspSubscribeInfo.m_statusList; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< SUserStatus >& GetStatusList () const { return m_statusList; } - bool SetStatusList ( const VECTOR< SUserStatus >& vecStatusList ) - { - m_statusList = vecStatusList; - return true; - } -private: - uint32_t m_retcode; - VECTOR< SUserStatus > m_statusList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSubscribeInfo::Size() const -{ - uint32_t nSize = 12; - for(uint32_t i = 0; i < m_statusList.size(); i++) - { - nSize += m_statusList[i].Size(); - } - return nSize; -} - -class CImReqDisubscribeInfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_DISUBSCRIBE_INFO - }; - CImReqDisubscribeInfo() - { - } - - ~CImReqDisubscribeInfo() { } - CImReqDisubscribeInfo(const VECTOR< string >& vecTargets) - { - m_targets = vecTargets; - } - CImReqDisubscribeInfo& operator=( const CImReqDisubscribeInfo& cImReqDisubscribeInfo ) - { - m_targets = cImReqDisubscribeInfo.m_targets; - return *this; - } - - const VECTOR< string >& GetTargets () const { return m_targets; } - bool SetTargets ( const VECTOR< string >& vecTargets ) - { - m_targets = vecTargets; - return true; - } -private: - VECTOR< string > m_targets; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqDisubscribeInfo::Size() const -{ - uint32_t nSize = 7; - nSize += m_targets.size() * 4; - for(uint32_t i = 0; i < m_targets.size(); i++) - { - nSize += m_targets[i].length(); - } - return nSize; -} - -class CImReqGetftsaddr : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GETFTSADDR - }; - CImReqGetftsaddr() - { - } - - ~CImReqGetftsaddr() { } - CImReqGetftsaddr(const string& strSessionId, const uint16_t& wType) - { - m_sessionId = strSessionId; - m_type = wType; - } - CImReqGetftsaddr& operator=( const CImReqGetftsaddr& cImReqGetftsaddr ) - { - m_sessionId = cImReqGetftsaddr.m_sessionId; - m_type = cImReqGetftsaddr.m_type; - return *this; - } - - const string& GetSessionId () const { return m_sessionId; } - bool SetSessionId ( const string& strSessionId ) - { - if(strSessionId.size() > 64) - return false; - m_sessionId = strSessionId; - return true; - } - const uint16_t& GetType () const { return m_type; } - bool SetType ( const uint16_t& wType ) - { - m_type = wType; - return true; - } -private: - string m_sessionId; - uint16_t m_type; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetftsaddr::Size() const -{ - uint32_t nSize = 9; - nSize += m_sessionId.length(); - return nSize; -} - -class CImReqGetappaddr : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GETAPPADDR - }; - CImReqGetappaddr() - { - } - - ~CImReqGetappaddr() { } - CImReqGetappaddr(const string& strSessionId, const uint16_t& wAppType, const uint16_t& wSubType, const uint64_t& ullObjId) - { - m_sessionId = strSessionId; - m_appType = wAppType; - m_subType = wSubType; - m_objId = ullObjId; - } - CImReqGetappaddr& operator=( const CImReqGetappaddr& cImReqGetappaddr ) - { - m_sessionId = cImReqGetappaddr.m_sessionId; - m_appType = cImReqGetappaddr.m_appType; - m_subType = cImReqGetappaddr.m_subType; - m_objId = cImReqGetappaddr.m_objId; - return *this; - } - - const string& GetSessionId () const { return m_sessionId; } - bool SetSessionId ( const string& strSessionId ) - { - if(strSessionId.size() > 64) - return false; - m_sessionId = strSessionId; - return true; - } - const uint16_t& GetAppType () const { return m_appType; } - bool SetAppType ( const uint16_t& wAppType ) - { - m_appType = wAppType; - return true; - } - const uint16_t& GetSubType () const { return m_subType; } - bool SetSubType ( const uint16_t& wSubType ) - { - m_subType = wSubType; - return true; - } - const uint64_t& GetObjId () const { return m_objId; } - bool SetObjId ( const uint64_t& ullObjId ) - { - m_objId = ullObjId; - return true; - } -private: - string m_sessionId; - uint16_t m_appType; - uint16_t m_subType; - uint64_t m_objId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetappaddr::Size() const -{ - uint32_t nSize = 21; - nSize += m_sessionId.length(); - return nSize; -} - -class CImRspGetappaddr : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETAPPADDR - }; - CImRspGetappaddr() - { - } - - ~CImRspGetappaddr() { } - CImRspGetappaddr(const uint32_t& dwRetcode, const string& strServerAddr, const uint16_t& wServerPort, const string& strSessionId, const uint16_t& wAppType, const uint16_t& wSubType, const uint64_t& ullObjId) - { - m_retcode = dwRetcode; - m_serverAddr = strServerAddr; - m_serverPort = wServerPort; - m_sessionId = strSessionId; - m_appType = wAppType; - m_subType = wSubType; - m_objId = ullObjId; - } - CImRspGetappaddr& operator=( const CImRspGetappaddr& cImRspGetappaddr ) - { - m_retcode = cImRspGetappaddr.m_retcode; - m_serverAddr = cImRspGetappaddr.m_serverAddr; - m_serverPort = cImRspGetappaddr.m_serverPort; - m_sessionId = cImRspGetappaddr.m_sessionId; - m_appType = cImRspGetappaddr.m_appType; - m_subType = cImRspGetappaddr.m_subType; - m_objId = cImRspGetappaddr.m_objId; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetServerAddr () const { return m_serverAddr; } - bool SetServerAddr ( const string& strServerAddr ) - { - if(strServerAddr.size() > 32) - return false; - m_serverAddr = strServerAddr; - return true; - } - const uint16_t& GetServerPort () const { return m_serverPort; } - bool SetServerPort ( const uint16_t& wServerPort ) - { - m_serverPort = wServerPort; - return true; - } - const string& GetSessionId () const { return m_sessionId; } - bool SetSessionId ( const string& strSessionId ) - { - if(strSessionId.size() > 64) - return false; - m_sessionId = strSessionId; - return true; - } - const uint16_t& GetAppType () const { return m_appType; } - bool SetAppType ( const uint16_t& wAppType ) - { - m_appType = wAppType; - return true; - } - const uint16_t& GetSubType () const { return m_subType; } - bool SetSubType ( const uint16_t& wSubType ) - { - m_subType = wSubType; - return true; - } - const uint64_t& GetObjId () const { return m_objId; } - bool SetObjId ( const uint64_t& ullObjId ) - { - m_objId = ullObjId; - return true; - } -private: - uint32_t m_retcode; - string m_serverAddr; - uint16_t m_serverPort; - string m_sessionId; - uint16_t m_appType; - uint16_t m_subType; - uint64_t m_objId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetappaddr::Size() const -{ - uint32_t nSize = 34; - nSize += m_serverAddr.length(); - nSize += m_sessionId.length(); - return nSize; -} - -class CImRspGetftsaddr : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETFTSADDR - }; - CImRspGetftsaddr() - { - } - - ~CImRspGetftsaddr() { } - CImRspGetftsaddr(const uint32_t& dwRetcode, const string& strServerIp, const uint16_t& wServerPort, const string& strSessionId, const uint16_t& wType, const uint32_t& dwSessionsum) - { - m_retcode = dwRetcode; - m_serverIp = strServerIp; - m_serverPort = wServerPort; - m_sessionId = strSessionId; - m_type = wType; - m_sessionsum = dwSessionsum; - } - CImRspGetftsaddr& operator=( const CImRspGetftsaddr& cImRspGetftsaddr ) - { - m_retcode = cImRspGetftsaddr.m_retcode; - m_serverIp = cImRspGetftsaddr.m_serverIp; - m_serverPort = cImRspGetftsaddr.m_serverPort; - m_sessionId = cImRspGetftsaddr.m_sessionId; - m_type = cImRspGetftsaddr.m_type; - m_sessionsum = cImRspGetftsaddr.m_sessionsum; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetServerIp () const { return m_serverIp; } - bool SetServerIp ( const string& strServerIp ) - { - if(strServerIp.size() > 15) - return false; - m_serverIp = strServerIp; - return true; - } - const uint16_t& GetServerPort () const { return m_serverPort; } - bool SetServerPort ( const uint16_t& wServerPort ) - { - m_serverPort = wServerPort; - return true; - } - const string& GetSessionId () const { return m_sessionId; } - bool SetSessionId ( const string& strSessionId ) - { - if(strSessionId.size() > 64) - return false; - m_sessionId = strSessionId; - return true; - } - const uint16_t& GetType () const { return m_type; } - bool SetType ( const uint16_t& wType ) - { - m_type = wType; - return true; - } - const uint32_t& GetSessionsum () const { return m_sessionsum; } - bool SetSessionsum ( const uint32_t& dwSessionsum ) - { - m_sessionsum = dwSessionsum; - return true; - } -private: - uint32_t m_retcode; - string m_serverIp; - uint16_t m_serverPort; - string m_sessionId; - uint16_t m_type; - uint32_t m_sessionsum; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetftsaddr::Size() const -{ - uint32_t nSize = 27; - nSize += m_serverIp.length(); - nSize += m_sessionId.length(); - return nSize; -} - -class CImReqChgportrait : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHGPORTRAIT - }; - CImReqChgportrait() - { - } - - ~CImReqChgportrait() { } - CImReqChgportrait(const string& strPortraitid) - { - m_portraitid = strPortraitid; - } - CImReqChgportrait& operator=( const CImReqChgportrait& cImReqChgportrait ) - { - m_portraitid = cImReqChgportrait.m_portraitid; - return *this; - } - - const string& GetPortraitid () const { return m_portraitid; } - bool SetPortraitid ( const string& strPortraitid ) - { - m_portraitid = strPortraitid; - return true; - } -private: - string m_portraitid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChgportrait::Size() const -{ - uint32_t nSize = 6; - nSize += m_portraitid.length(); - return nSize; -} - -class CImReqChgsignature : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHGSIGNATURE - }; - CImReqChgsignature() - { - } - - ~CImReqChgsignature() { } - CImReqChgsignature(const string& strSignature) - { - m_signature = strSignature; - } - CImReqChgsignature& operator=( const CImReqChgsignature& cImReqChgsignature ) - { - m_signature = cImReqChgsignature.m_signature; - return *this; - } - - const string& GetSignature () const { return m_signature; } - bool SetSignature ( const string& strSignature ) - { - if(strSignature.size() > 1024) - return false; - m_signature = strSignature; - return true; - } -private: - string m_signature; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChgsignature::Size() const -{ - uint32_t nSize = 6; - nSize += m_signature.length(); - return nSize; -} - -class CImRspChgsignature : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHGSIGNATURE - }; - CImRspChgsignature() - { - } - - ~CImRspChgsignature() { } - CImRspChgsignature(const string& strSignature, const uint32_t& dwRetcode) - { - m_signature = strSignature; - m_retcode = dwRetcode; - } - CImRspChgsignature& operator=( const CImRspChgsignature& cImRspChgsignature ) - { - m_signature = cImRspChgsignature.m_signature; - m_retcode = cImRspChgsignature.m_retcode; - return *this; - } - - const string& GetSignature () const { return m_signature; } - bool SetSignature ( const string& strSignature ) - { - if(strSignature.size() > 1024) - return false; - m_signature = strSignature; - return true; - } - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } -private: - string m_signature; - uint32_t m_retcode; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChgsignature::Size() const -{ - uint32_t nSize = 11; - nSize += m_signature.length(); - return nSize; -} - -class CImNtfOperationtip : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_OPERATIONTIP - }; - CImNtfOperationtip() - { - } - - ~CImNtfOperationtip() { } - CImNtfOperationtip(const string& strContactId, const string& strNtfmessage, const uint32_t& dwNtftime) - { - m_contactId = strContactId; - m_ntfmessage = strNtfmessage; - m_ntftime = dwNtftime; - } - CImNtfOperationtip& operator=( const CImNtfOperationtip& cImNtfOperationtip ) - { - m_contactId = cImNtfOperationtip.m_contactId; - m_ntfmessage = cImNtfOperationtip.m_ntfmessage; - m_ntftime = cImNtfOperationtip.m_ntftime; - return *this; - } - - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - m_contactId = strContactId; - return true; - } - const string& GetNtfmessage () const { return m_ntfmessage; } - bool SetNtfmessage ( const string& strNtfmessage ) - { - m_ntfmessage = strNtfmessage; - return true; - } - const uint32_t& GetNtftime () const { return m_ntftime; } - bool SetNtftime ( const uint32_t& dwNtftime ) - { - m_ntftime = dwNtftime; - return true; - } -private: - string m_contactId; - string m_ntfmessage; - uint32_t m_ntftime; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfOperationtip::Size() const -{ - uint32_t nSize = 16; - nSize += m_contactId.length(); - nSize += m_ntfmessage.length(); - return nSize; -} - -struct SBindingInfo -{ -public: - SBindingInfo() - { - } - - ~SBindingInfo() { } - SBindingInfo(const string& strUserId, const string& strPassword) - { - m_userId = strUserId; - m_password = strPassword; - } - SBindingInfo& operator=( const SBindingInfo& sBindingInfo ) - { - m_userId = sBindingInfo.m_userId; - m_password = sBindingInfo.m_password; - return *this; - } - - string m_userId; - string m_password; - -public: - uint32_t Size() const; -}; - -inline uint32_t SBindingInfo::Size() const -{ - uint32_t nSize = 11; - nSize += m_userId.length(); - nSize += m_password.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SBindingInfo& sBindingInfo ); -CPackData& operator>> ( CPackData& cPackData, SBindingInfo& sBindingInfo ); - -class CImReqAddbinding : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ADDBINDING - }; - CImReqAddbinding() - { - } - - ~CImReqAddbinding() { } - CImReqAddbinding(const uint32_t& dwAddflag, const SBindingInfo& sBinding) - { - m_addflag = dwAddflag; - m_binding = sBinding; - } - CImReqAddbinding& operator=( const CImReqAddbinding& cImReqAddbinding ) - { - m_addflag = cImReqAddbinding.m_addflag; - m_binding = cImReqAddbinding.m_binding; - return *this; - } - - const uint32_t& GetAddflag () const { return m_addflag; } - bool SetAddflag ( const uint32_t& dwAddflag ) - { - m_addflag = dwAddflag; - return true; - } - const SBindingInfo& GetBinding () const { return m_binding; } - bool SetBinding ( const SBindingInfo& sBinding ) - { - m_binding = sBinding; - return true; - } -private: - uint32_t m_addflag; - SBindingInfo m_binding; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAddbinding::Size() const -{ - uint32_t nSize = 7; - nSize += m_binding.Size(); - return nSize; -} - -class CImRspAddbinding : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_ADDBINDING - }; - CImRspAddbinding() - { - } - - ~CImRspAddbinding() { } - CImRspAddbinding(const uint32_t& dwRetcode, const string& strUid, const string& strWebmd5pw) - { - m_retcode = dwRetcode; - m_uid = strUid; - m_webmd5pw = strWebmd5pw; - } - CImRspAddbinding& operator=( const CImRspAddbinding& cImRspAddbinding ) - { - m_retcode = cImRspAddbinding.m_retcode; - m_uid = cImRspAddbinding.m_uid; - m_webmd5pw = cImRspAddbinding.m_webmd5pw; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - const string& GetWebmd5pw () const { return m_webmd5pw; } - bool SetWebmd5pw ( const string& strWebmd5pw ) - { - if(strWebmd5pw.size() > 48) - return false; - m_webmd5pw = strWebmd5pw; - return true; - } -private: - uint32_t m_retcode; - string m_uid; - string m_webmd5pw; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspAddbinding::Size() const -{ - uint32_t nSize = 16; - nSize += m_uid.length(); - nSize += m_webmd5pw.length(); - return nSize; -} - -class CImReqChgbinding : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHGBINDING - }; - CImReqChgbinding() - { - } - - ~CImReqChgbinding() { } - CImReqChgbinding(const SBindingInfo& sBinding) - { - m_binding = sBinding; - } - CImReqChgbinding& operator=( const CImReqChgbinding& cImReqChgbinding ) - { - m_binding = cImReqChgbinding.m_binding; - return *this; - } - - const SBindingInfo& GetBinding () const { return m_binding; } - bool SetBinding ( const SBindingInfo& sBinding ) - { - m_binding = sBinding; - return true; - } -private: - SBindingInfo m_binding; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChgbinding::Size() const -{ - uint32_t nSize = 2; - nSize += m_binding.Size(); - return nSize; -} - -class CImRspChgbinding : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHGBINDING - }; - CImRspChgbinding() - { - } - - ~CImRspChgbinding() { } - CImRspChgbinding(const uint32_t& dwRetcode, const string& strWebmd5pw) - { - m_retcode = dwRetcode; - m_webmd5pw = strWebmd5pw; - } - CImRspChgbinding& operator=( const CImRspChgbinding& cImRspChgbinding ) - { - m_retcode = cImRspChgbinding.m_retcode; - m_webmd5pw = cImRspChgbinding.m_webmd5pw; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetWebmd5pw () const { return m_webmd5pw; } - bool SetWebmd5pw ( const string& strWebmd5pw ) - { - if(strWebmd5pw.size() > 48) - return false; - m_webmd5pw = strWebmd5pw; - return true; - } -private: - uint32_t m_retcode; - string m_webmd5pw; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChgbinding::Size() const -{ - uint32_t nSize = 11; - nSize += m_webmd5pw.length(); - return nSize; -} - -class CImReqDelbinding : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_DELBINDING - }; - CImReqDelbinding() - { - } - - ~CImReqDelbinding() { } - CImReqDelbinding(const string& strUserId) - { - m_userId = strUserId; - } - CImReqDelbinding& operator=( const CImReqDelbinding& cImReqDelbinding ) - { - m_userId = cImReqDelbinding.m_userId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } -private: - string m_userId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqDelbinding::Size() const -{ - uint32_t nSize = 6; - nSize += m_userId.length(); - return nSize; -} - -class CImRspDelbinding : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_DELBINDING - }; - CImRspDelbinding() - { - } - - ~CImRspDelbinding() { } - CImRspDelbinding(const uint32_t& dwRetcode) - { - m_retcode = dwRetcode; - } - CImRspDelbinding& operator=( const CImRspDelbinding& cImRspDelbinding ) - { - m_retcode = cImRspDelbinding.m_retcode; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } -private: - uint32_t m_retcode; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspDelbinding::Size() const -{ - return 6; -} -class CImReqGetbinding : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GETBINDING - }; - ~CImReqGetbinding() { } -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetbinding::Size() const -{ - return 1; -} -class CImRspGetbinding : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETBINDING - }; - CImRspGetbinding() - { - } - - ~CImRspGetbinding() { } - CImRspGetbinding(const uint32_t& dwRetcode, const VECTOR< SBindingInfo >& vecBindingList) - { - m_retcode = dwRetcode; - m_bindingList = vecBindingList; - } - CImRspGetbinding& operator=( const CImRspGetbinding& cImRspGetbinding ) - { - m_retcode = cImRspGetbinding.m_retcode; - m_bindingList = cImRspGetbinding.m_bindingList; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< SBindingInfo >& GetBindingList () const { return m_bindingList; } - bool SetBindingList ( const VECTOR< SBindingInfo >& vecBindingList ) - { - m_bindingList = vecBindingList; - return true; - } -private: - uint32_t m_retcode; - VECTOR< SBindingInfo > m_bindingList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetbinding::Size() const -{ - uint32_t nSize = 12; - for(uint32_t i = 0; i < m_bindingList.size(); i++) - { - nSize += m_bindingList[i].Size(); - } - return nSize; -} - -class CImReqGetPwdtoken : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GET_PWDTOKEN - }; - CImReqGetPwdtoken() - { - } - - ~CImReqGetPwdtoken() { } - CImReqGetPwdtoken(const string& strUid) - { - m_uid = strUid; - } - CImReqGetPwdtoken& operator=( const CImReqGetPwdtoken& cImReqGetPwdtoken ) - { - m_uid = cImReqGetPwdtoken.m_uid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } -private: - string m_uid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetPwdtoken::Size() const -{ - uint32_t nSize = 6; - nSize += m_uid.length(); - return nSize; -} - -class CImRspGetPwdtoken : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GET_PWDTOKEN - }; - CImRspGetPwdtoken() - { - } - - ~CImRspGetPwdtoken() { } - CImRspGetPwdtoken(const uint32_t& dwRetcode, const string& strUid, const string& strToken) - { - m_retcode = dwRetcode; - m_uid = strUid; - m_token = strToken; - } - CImRspGetPwdtoken& operator=( const CImRspGetPwdtoken& cImRspGetPwdtoken ) - { - m_retcode = cImRspGetPwdtoken.m_retcode; - m_uid = cImRspGetPwdtoken.m_uid; - m_token = cImRspGetPwdtoken.m_token; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - const string& GetToken () const { return m_token; } - bool SetToken ( const string& strToken ) - { - m_token = strToken; - return true; - } -private: - uint32_t m_retcode; - string m_uid; - string m_token; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetPwdtoken::Size() const -{ - uint32_t nSize = 16; - nSize += m_uid.length(); - nSize += m_token.length(); - return nSize; -} - -class CImReqCankeysearch : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CANKEYSEARCH - }; - CImReqCankeysearch() - { - } - - ~CImReqCankeysearch() { } - CImReqCankeysearch(const uint8_t& chEnabled) - { - m_enabled = chEnabled; - } - CImReqCankeysearch& operator=( const CImReqCankeysearch& cImReqCankeysearch ) - { - m_enabled = cImReqCankeysearch.m_enabled; - return *this; - } - - const uint8_t& GetEnabled () const { return m_enabled; } - bool SetEnabled ( const uint8_t& chEnabled ) - { - m_enabled = chEnabled; - return true; - } -private: - uint8_t m_enabled; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqCankeysearch::Size() const -{ - return 3; -} -class CImReqGetwebSession : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GETWEB_SESSION - }; - ~CImReqGetwebSession() { } -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetwebSession::Size() const -{ - return 1; -} -class CImRspGetwebSession : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETWEB_SESSION - }; - CImRspGetwebSession() - { - } - - ~CImRspGetwebSession() { } - CImRspGetwebSession(const uint32_t& dwRetcode, const uint32_t& dwExpiretime, const string& strSessionNo) - { - m_retcode = dwRetcode; - m_expiretime = dwExpiretime; - m_sessionNo = strSessionNo; - } - CImRspGetwebSession& operator=( const CImRspGetwebSession& cImRspGetwebSession ) - { - m_retcode = cImRspGetwebSession.m_retcode; - m_expiretime = cImRspGetwebSession.m_expiretime; - m_sessionNo = cImRspGetwebSession.m_sessionNo; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint32_t& GetExpiretime () const { return m_expiretime; } - bool SetExpiretime ( const uint32_t& dwExpiretime ) - { - m_expiretime = dwExpiretime; - return true; - } - const string& GetSessionNo () const { return m_sessionNo; } - bool SetSessionNo ( const string& strSessionNo ) - { - m_sessionNo = strSessionNo; - return true; - } -private: - uint32_t m_retcode; - uint32_t m_expiretime; - string m_sessionNo; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetwebSession::Size() const -{ - uint32_t nSize = 16; - nSize += m_sessionNo.length(); - return nSize; -} - -class CImNtfUpdateUsrextinfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_UPDATE_USREXTINFO - }; - CImNtfUpdateUsrextinfo() - { - } - - ~CImNtfUpdateUsrextinfo() { } - CImNtfUpdateUsrextinfo(const string& strContactId, const string& strType, const string& strValue) - { - m_contactId = strContactId; - m_type = strType; - m_value = strValue; - } - CImNtfUpdateUsrextinfo& operator=( const CImNtfUpdateUsrextinfo& cImNtfUpdateUsrextinfo ) - { - m_contactId = cImNtfUpdateUsrextinfo.m_contactId; - m_type = cImNtfUpdateUsrextinfo.m_type; - m_value = cImNtfUpdateUsrextinfo.m_value; - return *this; - } - - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - m_contactId = strContactId; - return true; - } - const string& GetType () const { return m_type; } - bool SetType ( const string& strType ) - { - m_type = strType; - return true; - } - const string& GetValue () const { return m_value; } - bool SetValue ( const string& strValue ) - { - m_value = strValue; - return true; - } -private: - string m_contactId; - string m_type; - string m_value; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfUpdateUsrextinfo::Size() const -{ - uint32_t nSize = 16; - nSize += m_contactId.length(); - nSize += m_type.length(); - nSize += m_value.length(); - return nSize; -} - -class CImReqUserudbprofile : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_USERUDBPROFILE - }; - ~CImReqUserudbprofile() { } - CImReqUserudbprofile(const string& strUid= "magic") - { - m_uid = strUid; - } - CImReqUserudbprofile& operator=( const CImReqUserudbprofile& cImReqUserudbprofile ) - { - m_uid = cImReqUserudbprofile.m_uid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } -private: - string m_uid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqUserudbprofile::Size() const -{ - uint32_t nSize = 6; - nSize += m_uid.length(); - return nSize; -} - -class CImRspUserudbprofile : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_USERUDBPROFILE - }; - CImRspUserudbprofile() - { - } - - ~CImRspUserudbprofile() { } - CImRspUserudbprofile(const uint32_t& dwRetcode, const map< string,string >& mapProfilelist, const string& strUid) - { - m_retcode = dwRetcode; - m_profilelist = mapProfilelist; - m_uid = strUid; - } - CImRspUserudbprofile& operator=( const CImRspUserudbprofile& cImRspUserudbprofile ) - { - m_retcode = cImRspUserudbprofile.m_retcode; - m_profilelist = cImRspUserudbprofile.m_profilelist; - m_uid = cImRspUserudbprofile.m_uid; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const map< string,string >& GetProfilelist () const { return m_profilelist; } - bool SetProfilelist ( const map< string,string >& mapProfilelist ) - { - m_profilelist = mapProfilelist; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } -private: - uint32_t m_retcode; - map< string,string > m_profilelist; - string m_uid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspUserudbprofile::Size() const -{ - uint32_t nSize = 15; - nSize += m_profilelist.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_profilelist.begin(); itr != m_profilelist.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - nSize += m_uid.length(); - return nSize; -} - -class CImReqUpdateUdbprofile : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_UPDATE_UDBPROFILE - }; - CImReqUpdateUdbprofile() - { - } - - ~CImReqUpdateUdbprofile() { } - CImReqUpdateUdbprofile(const map< string,string >& mapProfilelist) - { - m_profilelist = mapProfilelist; - } - CImReqUpdateUdbprofile& operator=( const CImReqUpdateUdbprofile& cImReqUpdateUdbprofile ) - { - m_profilelist = cImReqUpdateUdbprofile.m_profilelist; - return *this; - } - - const map< string,string >& GetProfilelist () const { return m_profilelist; } - bool SetProfilelist ( const map< string,string >& mapProfilelist ) - { - m_profilelist = mapProfilelist; - return true; - } -private: - map< string,string > m_profilelist; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqUpdateUdbprofile::Size() const -{ - uint32_t nSize = 5; - nSize += m_profilelist.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_profilelist.begin(); itr != m_profilelist.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CImRspUpdateUdbprofile : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_UPDATE_UDBPROFILE - }; - CImRspUpdateUdbprofile() - { - } - - ~CImRspUpdateUdbprofile() { } - CImRspUpdateUdbprofile(const uint32_t& dwRetcode, const string& strUid) - { - m_retcode = dwRetcode; - m_uid = strUid; - } - CImRspUpdateUdbprofile& operator=( const CImRspUpdateUdbprofile& cImRspUpdateUdbprofile ) - { - m_retcode = cImRspUpdateUdbprofile.m_retcode; - m_uid = cImRspUpdateUdbprofile.m_uid; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } -private: - uint32_t m_retcode; - string m_uid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspUpdateUdbprofile::Size() const -{ - uint32_t nSize = 11; - nSize += m_uid.length(); - return nSize; -} - -class CImReqGetDegree : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GET_DEGREE - }; - CImReqGetDegree() - { - } - - ~CImReqGetDegree() { } - CImReqGetDegree(const string& strUid) - { - m_uid = strUid; - } - CImReqGetDegree& operator=( const CImReqGetDegree& cImReqGetDegree ) - { - m_uid = cImReqGetDegree.m_uid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } -private: - string m_uid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetDegree::Size() const -{ - return 66; -} -class CImRspGetDegree : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GET_DEGREE - }; - CImRspGetDegree() - { - } - - ~CImRspGetDegree() { } - CImRspGetDegree(const string& strUid, const uint32_t& dwRetcode, const uint32_t& dwUserLevel, const uint32_t& dwTotalDegree, const uint32_t& dwNeedDegree, const VECTOR< uint8_t >& vecShowCount) - { - m_uid = strUid; - m_retcode = dwRetcode; - m_userLevel = dwUserLevel; - m_totalDegree = dwTotalDegree; - m_needDegree = dwNeedDegree; - m_showCount = vecShowCount; - } - CImRspGetDegree& operator=( const CImRspGetDegree& cImRspGetDegree ) - { - m_uid = cImRspGetDegree.m_uid; - m_retcode = cImRspGetDegree.m_retcode; - m_userLevel = cImRspGetDegree.m_userLevel; - m_totalDegree = cImRspGetDegree.m_totalDegree; - m_needDegree = cImRspGetDegree.m_needDegree; - m_showCount = cImRspGetDegree.m_showCount; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint32_t& GetUserLevel () const { return m_userLevel; } - bool SetUserLevel ( const uint32_t& dwUserLevel ) - { - m_userLevel = dwUserLevel; - return true; - } - const uint32_t& GetTotalDegree () const { return m_totalDegree; } - bool SetTotalDegree ( const uint32_t& dwTotalDegree ) - { - m_totalDegree = dwTotalDegree; - return true; - } - const uint32_t& GetNeedDegree () const { return m_needDegree; } - bool SetNeedDegree ( const uint32_t& dwNeedDegree ) - { - m_needDegree = dwNeedDegree; - return true; - } - const VECTOR< uint8_t >& GetShowCount () const { return m_showCount; } - bool SetShowCount ( const VECTOR< uint8_t >& vecShowCount ) - { - m_showCount = vecShowCount; - return true; - } -private: - string m_uid; - uint32_t m_retcode; - uint32_t m_userLevel; - uint32_t m_totalDegree; - uint32_t m_needDegree; - VECTOR< uint8_t > m_showCount; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetDegree::Size() const -{ - uint32_t nSize = 32; - nSize += m_uid.length(); - nSize += m_showCount.size() * 1; - return nSize; -} - -class CImReqPeerVerifyConfig : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_PEER_VERIFY_CONFIG - }; - CImReqPeerVerifyConfig() : m_supportFlag(0) - { - } - - ~CImReqPeerVerifyConfig() { } - CImReqPeerVerifyConfig(const uint8_t& chClientid, const string& strContactId, const uint32_t& dwSupportFlag= 0) - { - m_clientid = chClientid; - m_contactId = strContactId; - m_supportFlag = dwSupportFlag; - } - CImReqPeerVerifyConfig& operator=( const CImReqPeerVerifyConfig& cImReqPeerVerifyConfig ) - { - m_clientid = cImReqPeerVerifyConfig.m_clientid; - m_contactId = cImReqPeerVerifyConfig.m_contactId; - m_supportFlag = cImReqPeerVerifyConfig.m_supportFlag; - return *this; - } - - const uint8_t& GetClientid () const { return m_clientid; } - bool SetClientid ( const uint8_t& chClientid ) - { - m_clientid = chClientid; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - m_contactId = strContactId; - return true; - } - const uint32_t& GetSupportFlag () const { return m_supportFlag; } - bool SetSupportFlag ( const uint32_t& dwSupportFlag ) - { - m_supportFlag = dwSupportFlag; - return true; - } -private: - uint8_t m_clientid; - string m_contactId; - uint32_t m_supportFlag; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqPeerVerifyConfig::Size() const -{ - uint32_t nSize = 13; - nSize += m_contactId.length(); - return nSize; -} - -enum VERIFY_FLAG -{ - ADDCNT_OK = 0, - ADDCNT_VERIFY = 0x1, - ADDCNT_DENY = 0x2, - ADDCNT_NOUID = 0x3, - ADDCNT_UNKNOWN = 0x4, - ADDCNT_QUESTION = 0x10, - -}; - -enum SUPPORT_FLAG -{ - SPADDCNT_QUESTION = 0x1, - SPADDCNT_BUYERVERSION = 0x2, - SPADDCNT_SELLERVERSION = 0x4, - -}; - -class CImRspPeerVerifyConfig : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_PEER_VERIFY_CONFIG - }; - CImRspPeerVerifyConfig() : m_question("") - { - } - - ~CImRspPeerVerifyConfig() { } - CImRspPeerVerifyConfig(const uint8_t& chClientid, const string& strContactId, const uint32_t& dwRetcode, const string& strRetlongid, const string& strRetshowname, const string& strQuestion= "") - { - m_clientid = chClientid; - m_contactId = strContactId; - m_retcode = dwRetcode; - m_retlongid = strRetlongid; - m_retshowname = strRetshowname; - m_question = strQuestion; - } - CImRspPeerVerifyConfig& operator=( const CImRspPeerVerifyConfig& cImRspPeerVerifyConfig ) - { - m_clientid = cImRspPeerVerifyConfig.m_clientid; - m_contactId = cImRspPeerVerifyConfig.m_contactId; - m_retcode = cImRspPeerVerifyConfig.m_retcode; - m_retlongid = cImRspPeerVerifyConfig.m_retlongid; - m_retshowname = cImRspPeerVerifyConfig.m_retshowname; - m_question = cImRspPeerVerifyConfig.m_question; - return *this; - } - - const uint8_t& GetClientid () const { return m_clientid; } - bool SetClientid ( const uint8_t& chClientid ) - { - m_clientid = chClientid; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - m_contactId = strContactId; - return true; - } - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetRetlongid () const { return m_retlongid; } - bool SetRetlongid ( const string& strRetlongid ) - { - m_retlongid = strRetlongid; - return true; - } - const string& GetRetshowname () const { return m_retshowname; } - bool SetRetshowname ( const string& strRetshowname ) - { - m_retshowname = strRetshowname; - return true; - } - const string& GetQuestion () const { return m_question; } - bool SetQuestion ( const string& strQuestion ) - { - m_question = strQuestion; - return true; - } -private: - uint8_t m_clientid; - string m_contactId; - uint32_t m_retcode; - string m_retlongid; - string m_retshowname; - string m_question; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspPeerVerifyConfig::Size() const -{ - uint32_t nSize = 28; - nSize += m_contactId.length(); - nSize += m_retlongid.length(); - nSize += m_retshowname.length(); - nSize += m_question.length(); - return nSize; -} - -class CImReqCheckAuthcode : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHECK_AUTHCODE - }; - CImReqCheckAuthcode() : m_mode(0) - { - } - - ~CImReqCheckAuthcode() { } - CImReqCheckAuthcode(const string& strSessionId, const string& strAuthCode, const uint8_t& chMode= 0) - { - m_sessionId = strSessionId; - m_authCode = strAuthCode; - m_mode = chMode; - } - CImReqCheckAuthcode& operator=( const CImReqCheckAuthcode& cImReqCheckAuthcode ) - { - m_sessionId = cImReqCheckAuthcode.m_sessionId; - m_authCode = cImReqCheckAuthcode.m_authCode; - m_mode = cImReqCheckAuthcode.m_mode; - return *this; - } - - const string& GetSessionId () const { return m_sessionId; } - bool SetSessionId ( const string& strSessionId ) - { - m_sessionId = strSessionId; - return true; - } - const string& GetAuthCode () const { return m_authCode; } - bool SetAuthCode ( const string& strAuthCode ) - { - m_authCode = strAuthCode; - return true; - } - const uint8_t& GetMode () const { return m_mode; } - bool SetMode ( const uint8_t& chMode ) - { - m_mode = chMode; - return true; - } -private: - string m_sessionId; - string m_authCode; - uint8_t m_mode; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqCheckAuthcode::Size() const -{ - uint32_t nSize = 13; - nSize += m_sessionId.length(); - nSize += m_authCode.length(); - return nSize; -} - -class CImRspCheckAuthcode : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHECK_AUTHCODE - }; - CImRspCheckAuthcode() - { - } - - ~CImRspCheckAuthcode() { } - CImRspCheckAuthcode(const uint8_t& chRetcode, const string& strSessionId, const string& strAuthCode) - { - m_retcode = chRetcode; - m_sessionId = strSessionId; - m_authCode = strAuthCode; - } - CImRspCheckAuthcode& operator=( const CImRspCheckAuthcode& cImRspCheckAuthcode ) - { - m_retcode = cImRspCheckAuthcode.m_retcode; - m_sessionId = cImRspCheckAuthcode.m_sessionId; - m_authCode = cImRspCheckAuthcode.m_authCode; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetSessionId () const { return m_sessionId; } - bool SetSessionId ( const string& strSessionId ) - { - m_sessionId = strSessionId; - return true; - } - const string& GetAuthCode () const { return m_authCode; } - bool SetAuthCode ( const string& strAuthCode ) - { - m_authCode = strAuthCode; - return true; - } -private: - uint8_t m_retcode; - string m_sessionId; - string m_authCode; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspCheckAuthcode::Size() const -{ - uint32_t nSize = 13; - nSize += m_sessionId.length(); - nSize += m_authCode.length(); - return nSize; -} - -class CImNtfNeedAuthcode : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_NEED_AUTHCODE - }; - CImNtfNeedAuthcode() - { - } - - ~CImNtfNeedAuthcode() { } - CImNtfNeedAuthcode(const string& strOrigPacket) - { - m_origPacket = strOrigPacket; - } - CImNtfNeedAuthcode& operator=( const CImNtfNeedAuthcode& cImNtfNeedAuthcode ) - { - m_origPacket = cImNtfNeedAuthcode.m_origPacket; - return *this; - } - - const string& GetOrigPacket () const { return m_origPacket; } - bool SetOrigPacket ( const string& strOrigPacket ) - { - m_origPacket = strOrigPacket; - return true; - } -private: - string m_origPacket; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfNeedAuthcode::Size() const -{ - uint32_t nSize = 6; - nSize += m_origPacket.length(); - return nSize; -} - -class CImReqHelpLogin : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_HELP_LOGIN - }; - CImReqHelpLogin() - { - } - - ~CImReqHelpLogin() { } - CImReqHelpLogin(const string& strUid, const uint8_t& chStatus) - { - m_uid = strUid; - m_status = chStatus; - } - CImReqHelpLogin& operator=( const CImReqHelpLogin& cImReqHelpLogin ) - { - m_uid = cImReqHelpLogin.m_uid; - m_status = cImReqHelpLogin.m_status; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } -private: - string m_uid; - uint8_t m_status; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqHelpLogin::Size() const -{ - return 68; -} -struct SRecChildId -{ -public: - SRecChildId() - { - } - - ~SRecChildId() { } - SRecChildId(const string& strChildId, const string& strChildNick) - { - m_childId = strChildId; - m_childNick = strChildNick; - } - SRecChildId& operator=( const SRecChildId& sRecChildId ) - { - m_childId = sRecChildId.m_childId; - m_childNick = sRecChildId.m_childNick; - return *this; - } - - string m_childId; - string m_childNick; - -public: - uint32_t Size() const; -}; - -inline uint32_t SRecChildId::Size() const -{ - return 99; -} -CPackData& operator<< ( CPackData& cPackData, const SRecChildId& sRecChildId ); -CPackData& operator>> ( CPackData& cPackData, SRecChildId& sRecChildId ); - -class CImRspHelpLogin : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_HELP_LOGIN - }; - CImRspHelpLogin() - { - } - - ~CImRspHelpLogin() { } - CImRspHelpLogin(const uint8_t& chRetcode, const uint8_t& chMulStatus, const string& strParentUid, const VECTOR< SRecChildId >& vecChildList) - { - m_retcode = chRetcode; - m_mulStatus = chMulStatus; - m_parentUid = strParentUid; - m_childList = vecChildList; - } - CImRspHelpLogin& operator=( const CImRspHelpLogin& cImRspHelpLogin ) - { - m_retcode = cImRspHelpLogin.m_retcode; - m_mulStatus = cImRspHelpLogin.m_mulStatus; - m_parentUid = cImRspHelpLogin.m_parentUid; - m_childList = cImRspHelpLogin.m_childList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint8_t& GetMulStatus () const { return m_mulStatus; } - bool SetMulStatus ( const uint8_t& chMulStatus ) - { - m_mulStatus = chMulStatus; - return true; - } - const string& GetParentUid () const { return m_parentUid; } - bool SetParentUid ( const string& strParentUid ) - { - if(strParentUid.size() > 64) - return false; - m_parentUid = strParentUid; - return true; - } - const VECTOR< SRecChildId >& GetChildList () const { return m_childList; } - bool SetChildList ( const VECTOR< SRecChildId >& vecChildList ) - { - m_childList = vecChildList; - return true; - } -private: - uint8_t m_retcode; - uint8_t m_mulStatus; - string m_parentUid; - VECTOR< SRecChildId > m_childList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspHelpLogin::Size() const -{ - uint32_t nSize = 74; - for(uint32_t i = 0; i < m_childList.size(); i++) - { - nSize += m_childList[i].Size(); - } - return nSize; -} - -class CImReqHelpChgSrvMode : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_HELP_CHG_SRV_MODE - }; - CImReqHelpChgSrvMode() - { - } - - ~CImReqHelpChgSrvMode() { } - CImReqHelpChgSrvMode(const string& strUid, const uint8_t& chStatus) - { - m_uid = strUid; - m_status = chStatus; - } - CImReqHelpChgSrvMode& operator=( const CImReqHelpChgSrvMode& cImReqHelpChgSrvMode ) - { - m_uid = cImReqHelpChgSrvMode.m_uid; - m_status = cImReqHelpChgSrvMode.m_status; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } -private: - string m_uid; - uint8_t m_status; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqHelpChgSrvMode::Size() const -{ - return 68; -} -class CImRspHelpChgSrvMode : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_HELP_CHG_SRV_MODE - }; - CImRspHelpChgSrvMode() - { - } - - ~CImRspHelpChgSrvMode() { } - CImRspHelpChgSrvMode(const string& strUid, const uint8_t& chRetcode) - { - m_uid = strUid; - m_retcode = chRetcode; - } - CImRspHelpChgSrvMode& operator=( const CImRspHelpChgSrvMode& cImRspHelpChgSrvMode ) - { - m_uid = cImRspHelpChgSrvMode.m_uid; - m_retcode = cImRspHelpChgSrvMode.m_retcode; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } -private: - string m_uid; - uint8_t m_retcode; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspHelpChgSrvMode::Size() const -{ - return 68; -} -class CImReqHelpSetShareCid : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_HELP_SET_SHARE_CID - }; - CImReqHelpSetShareCid() - { - } - - ~CImReqHelpSetShareCid() { } - CImReqHelpSetShareCid(const string& strUid, const string& strCid, const uint8_t& chType) - { - m_uid = strUid; - m_cid = strCid; - m_type = chType; - } - CImReqHelpSetShareCid& operator=( const CImReqHelpSetShareCid& cImReqHelpSetShareCid ) - { - m_uid = cImReqHelpSetShareCid.m_uid; - m_cid = cImReqHelpSetShareCid.m_cid; - m_type = cImReqHelpSetShareCid.m_type; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetCid () const { return m_cid; } - bool SetCid ( const string& strCid ) - { - if(strCid.size() > 64) - return false; - m_cid = strCid; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } -private: - string m_uid; - string m_cid; - uint8_t m_type; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqHelpSetShareCid::Size() const -{ - return 133; -} -class CImRspHelpSetShareCid : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_HELP_SET_SHARE_CID - }; - CImRspHelpSetShareCid() - { - } - - ~CImRspHelpSetShareCid() { } - CImRspHelpSetShareCid(const string& strUid, const uint8_t& chRetcode) - { - m_uid = strUid; - m_retcode = chRetcode; - } - CImRspHelpSetShareCid& operator=( const CImRspHelpSetShareCid& cImRspHelpSetShareCid ) - { - m_uid = cImRspHelpSetShareCid.m_uid; - m_retcode = cImRspHelpSetShareCid.m_retcode; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } -private: - string m_uid; - uint8_t m_retcode; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspHelpSetShareCid::Size() const -{ - return 68; -} -class CImReqHelpGetShareCid : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_HELP_GET_SHARE_CID - }; - CImReqHelpGetShareCid() - { - } - - ~CImReqHelpGetShareCid() { } - CImReqHelpGetShareCid(const string& strUid, const string& strCid, const uint8_t& chType) - { - m_uid = strUid; - m_cid = strCid; - m_type = chType; - } - CImReqHelpGetShareCid& operator=( const CImReqHelpGetShareCid& cImReqHelpGetShareCid ) - { - m_uid = cImReqHelpGetShareCid.m_uid; - m_cid = cImReqHelpGetShareCid.m_cid; - m_type = cImReqHelpGetShareCid.m_type; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetCid () const { return m_cid; } - bool SetCid ( const string& strCid ) - { - if(strCid.size() > 64) - return false; - m_cid = strCid; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } -private: - string m_uid; - string m_cid; - uint8_t m_type; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqHelpGetShareCid::Size() const -{ - return 133; -} -class CImRspHelpGetShareCid : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_HELP_GET_SHARE_CID - }; - CImRspHelpGetShareCid() - { - } - - ~CImRspHelpGetShareCid() { } - CImRspHelpGetShareCid(const string& strUid, const string& strCid, const uint8_t& chRetcode, const uint8_t& chShared) - { - m_uid = strUid; - m_cid = strCid; - m_retcode = chRetcode; - m_shared = chShared; - } - CImRspHelpGetShareCid& operator=( const CImRspHelpGetShareCid& cImRspHelpGetShareCid ) - { - m_uid = cImRspHelpGetShareCid.m_uid; - m_cid = cImRspHelpGetShareCid.m_cid; - m_retcode = cImRspHelpGetShareCid.m_retcode; - m_shared = cImRspHelpGetShareCid.m_shared; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetCid () const { return m_cid; } - bool SetCid ( const string& strCid ) - { - if(strCid.size() > 64) - return false; - m_cid = strCid; - return true; - } - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint8_t& GetShared () const { return m_shared; } - bool SetShared ( const uint8_t& chShared ) - { - m_shared = chShared; - return true; - } -private: - string m_uid; - string m_cid; - uint8_t m_retcode; - uint8_t m_shared; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspHelpGetShareCid::Size() const -{ - return 135; -} -class CImReqHelpGetChildOnline : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_HELP_GET_CHILD_ONLINE - }; - CImReqHelpGetChildOnline() - { - } - - ~CImReqHelpGetChildOnline() { } - CImReqHelpGetChildOnline(const string& strUid, const string& strCid) - { - m_uid = strUid; - m_cid = strCid; - } - CImReqHelpGetChildOnline& operator=( const CImReqHelpGetChildOnline& cImReqHelpGetChildOnline ) - { - m_uid = cImReqHelpGetChildOnline.m_uid; - m_cid = cImReqHelpGetChildOnline.m_cid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetCid () const { return m_cid; } - bool SetCid ( const string& strCid ) - { - if(strCid.size() > 64) - return false; - m_cid = strCid; - return true; - } -private: - string m_uid; - string m_cid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqHelpGetChildOnline::Size() const -{ - return 131; -} -class CImRspHelpGetChildOnline : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_HELP_GET_CHILD_ONLINE - }; - CImRspHelpGetChildOnline() - { - } - - ~CImRspHelpGetChildOnline() { } - CImRspHelpGetChildOnline(const string& strUid, const string& strCid, const uint8_t& chRetcode, const uint8_t& chBasic, const string& strStatusdef) - { - m_uid = strUid; - m_cid = strCid; - m_retcode = chRetcode; - m_basic = chBasic; - m_statusdef = strStatusdef; - } - CImRspHelpGetChildOnline& operator=( const CImRspHelpGetChildOnline& cImRspHelpGetChildOnline ) - { - m_uid = cImRspHelpGetChildOnline.m_uid; - m_cid = cImRspHelpGetChildOnline.m_cid; - m_retcode = cImRspHelpGetChildOnline.m_retcode; - m_basic = cImRspHelpGetChildOnline.m_basic; - m_statusdef = cImRspHelpGetChildOnline.m_statusdef; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetCid () const { return m_cid; } - bool SetCid ( const string& strCid ) - { - if(strCid.size() > 64) - return false; - m_cid = strCid; - return true; - } - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint8_t& GetBasic () const { return m_basic; } - bool SetBasic ( const uint8_t& chBasic ) - { - m_basic = chBasic; - return true; - } - const string& GetStatusdef () const { return m_statusdef; } - bool SetStatusdef ( const string& strStatusdef ) - { - if(strStatusdef.size() > 64) - return false; - m_statusdef = strStatusdef; - return true; - } -private: - string m_uid; - string m_cid; - uint8_t m_retcode; - uint8_t m_basic; - string m_statusdef; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspHelpGetChildOnline::Size() const -{ - return 200; -} -class CImReqHelpGetOnlinechilds : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_HELP_GET_ONLINECHILDS - }; - CImReqHelpGetOnlinechilds() - { - } - - ~CImReqHelpGetOnlinechilds() { } - CImReqHelpGetOnlinechilds(const string& strUid, const uint8_t& chStatus) - { - m_uid = strUid; - m_status = chStatus; - } - CImReqHelpGetOnlinechilds& operator=( const CImReqHelpGetOnlinechilds& cImReqHelpGetOnlinechilds ) - { - m_uid = cImReqHelpGetOnlinechilds.m_uid; - m_status = cImReqHelpGetOnlinechilds.m_status; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } -private: - string m_uid; - uint8_t m_status; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqHelpGetOnlinechilds::Size() const -{ - return 68; -} -class CImRspHelpGetOnlinechilds : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_HELP_GET_ONLINECHILDS - }; - CImRspHelpGetOnlinechilds() - { - } - - ~CImRspHelpGetOnlinechilds() { } - CImRspHelpGetOnlinechilds(const uint8_t& chRetcode, const VECTOR< SRecChildId >& vecChildList) - { - m_retcode = chRetcode; - m_childList = vecChildList; - } - CImRspHelpGetOnlinechilds& operator=( const CImRspHelpGetOnlinechilds& cImRspHelpGetOnlinechilds ) - { - m_retcode = cImRspHelpGetOnlinechilds.m_retcode; - m_childList = cImRspHelpGetOnlinechilds.m_childList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const VECTOR< SRecChildId >& GetChildList () const { return m_childList; } - bool SetChildList ( const VECTOR< SRecChildId >& vecChildList ) - { - m_childList = vecChildList; - return true; - } -private: - uint8_t m_retcode; - VECTOR< SRecChildId > m_childList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspHelpGetOnlinechilds::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_childList.size(); i++) - { - nSize += m_childList[i].Size(); - } - return nSize; -} - -class CImReqHelpGetServices : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_HELP_GET_SERVICES - }; - CImReqHelpGetServices() - { - } - - ~CImReqHelpGetServices() { } - CImReqHelpGetServices(const string& strUid, const string& strFid) - { - m_uid = strUid; - m_fid = strFid; - } - CImReqHelpGetServices& operator=( const CImReqHelpGetServices& cImReqHelpGetServices ) - { - m_uid = cImReqHelpGetServices.m_uid; - m_fid = cImReqHelpGetServices.m_fid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetFid () const { return m_fid; } - bool SetFid ( const string& strFid ) - { - if(strFid.size() > 64) - return false; - m_fid = strFid; - return true; - } -private: - string m_uid; - string m_fid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqHelpGetServices::Size() const -{ - return 131; -} -class CImRspHelpGetServices : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_HELP_GET_SERVICES - }; - CImRspHelpGetServices() - { - } - - ~CImRspHelpGetServices() { } - CImRspHelpGetServices(const uint8_t& chRetcode, const VECTOR< uint32_t >& vecServiceList) - { - m_retcode = chRetcode; - m_serviceList = vecServiceList; - } - CImRspHelpGetServices& operator=( const CImRspHelpGetServices& cImRspHelpGetServices ) - { - m_retcode = cImRspHelpGetServices.m_retcode; - m_serviceList = cImRspHelpGetServices.m_serviceList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const VECTOR< uint32_t >& GetServiceList () const { return m_serviceList; } - bool SetServiceList ( const VECTOR< uint32_t >& vecServiceList ) - { - m_serviceList = vecServiceList; - return true; - } -private: - uint8_t m_retcode; - VECTOR< uint32_t > m_serviceList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspHelpGetServices::Size() const -{ - uint32_t nSize = 9; - nSize += m_serviceList.size() * 4; - return nSize; -} - -class CImReqHelpGetBindTo : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_HELP_GET_BIND_TO - }; - CImReqHelpGetBindTo() - { - } - - ~CImReqHelpGetBindTo() { } - CImReqHelpGetBindTo(const string& strUid) - { - m_uid = strUid; - } - CImReqHelpGetBindTo& operator=( const CImReqHelpGetBindTo& cImReqHelpGetBindTo ) - { - m_uid = cImReqHelpGetBindTo.m_uid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } -private: - string m_uid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqHelpGetBindTo::Size() const -{ - return 66; -} -class CImRspHelpGetBindTo : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_HELP_GET_BIND_TO - }; - CImRspHelpGetBindTo() - { - } - - ~CImRspHelpGetBindTo() { } - CImRspHelpGetBindTo(const uint8_t& chRetcode, const string& strUidBinded) - { - m_retcode = chRetcode; - m_uidBinded = strUidBinded; - } - CImRspHelpGetBindTo& operator=( const CImRspHelpGetBindTo& cImRspHelpGetBindTo ) - { - m_retcode = cImRspHelpGetBindTo.m_retcode; - m_uidBinded = cImRspHelpGetBindTo.m_uidBinded; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetUidBinded () const { return m_uidBinded; } - bool SetUidBinded ( const string& strUidBinded ) - { - if(strUidBinded.size() > 64) - return false; - m_uidBinded = strUidBinded; - return true; - } -private: - uint8_t m_retcode; - string m_uidBinded; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspHelpGetBindTo::Size() const -{ - return 68; -} -class CImReqHelpChgServiceNum : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_HELP_CHG_SERVICE_NUM - }; - CImReqHelpChgServiceNum() - { - } - - ~CImReqHelpChgServiceNum() { } - CImReqHelpChgServiceNum(const string& strUid, const string& strChildId, const string& strContactId, const uint8_t& chType, const uint8_t& chLocalNum, const uint32_t& dwLocalTime) - { - m_uid = strUid; - m_childId = strChildId; - m_contactId = strContactId; - m_type = chType; - m_localNum = chLocalNum; - m_localTime = dwLocalTime; - } - CImReqHelpChgServiceNum& operator=( const CImReqHelpChgServiceNum& cImReqHelpChgServiceNum ) - { - m_uid = cImReqHelpChgServiceNum.m_uid; - m_childId = cImReqHelpChgServiceNum.m_childId; - m_contactId = cImReqHelpChgServiceNum.m_contactId; - m_type = cImReqHelpChgServiceNum.m_type; - m_localNum = cImReqHelpChgServiceNum.m_localNum; - m_localTime = cImReqHelpChgServiceNum.m_localTime; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetChildId () const { return m_childId; } - bool SetChildId ( const string& strChildId ) - { - if(strChildId.size() > 64) - return false; - m_childId = strChildId; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const uint8_t& GetLocalNum () const { return m_localNum; } - bool SetLocalNum ( const uint8_t& chLocalNum ) - { - m_localNum = chLocalNum; - return true; - } - const uint32_t& GetLocalTime () const { return m_localTime; } - bool SetLocalTime ( const uint32_t& dwLocalTime ) - { - m_localTime = dwLocalTime; - return true; - } -private: - string m_uid; - string m_childId; - string m_contactId; - uint8_t m_type; - uint8_t m_localNum; - uint32_t m_localTime; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqHelpChgServiceNum::Size() const -{ - return 205; -} -class CImRspHelpChgServiceNum : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_HELP_CHG_SERVICE_NUM - }; - CImRspHelpChgServiceNum() - { - } - - ~CImRspHelpChgServiceNum() { } - CImRspHelpChgServiceNum(const uint8_t& chStatus, const string& strMessage, const string& strUid, const string& strChildId, const string& strContactId, const uint8_t& chServiceNum, const uint32_t& dwServiceTime) - { - m_status = chStatus; - m_message = strMessage; - m_uid = strUid; - m_childId = strChildId; - m_contactId = strContactId; - m_serviceNum = chServiceNum; - m_serviceTime = dwServiceTime; - } - CImRspHelpChgServiceNum& operator=( const CImRspHelpChgServiceNum& cImRspHelpChgServiceNum ) - { - m_status = cImRspHelpChgServiceNum.m_status; - m_message = cImRspHelpChgServiceNum.m_message; - m_uid = cImRspHelpChgServiceNum.m_uid; - m_childId = cImRspHelpChgServiceNum.m_childId; - m_contactId = cImRspHelpChgServiceNum.m_contactId; - m_serviceNum = cImRspHelpChgServiceNum.m_serviceNum; - m_serviceTime = cImRspHelpChgServiceNum.m_serviceTime; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetChildId () const { return m_childId; } - bool SetChildId ( const string& strChildId ) - { - if(strChildId.size() > 64) - return false; - m_childId = strChildId; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const uint8_t& GetServiceNum () const { return m_serviceNum; } - bool SetServiceNum ( const uint8_t& chServiceNum ) - { - m_serviceNum = chServiceNum; - return true; - } - const uint32_t& GetServiceTime () const { return m_serviceTime; } - bool SetServiceTime ( const uint32_t& dwServiceTime ) - { - m_serviceTime = dwServiceTime; - return true; - } -private: - uint8_t m_status; - string m_message; - string m_uid; - string m_childId; - string m_contactId; - uint8_t m_serviceNum; - uint32_t m_serviceTime; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspHelpChgServiceNum::Size() const -{ - uint32_t nSize = 210; - nSize += m_message.length(); - return nSize; -} - -class CImReqSendWatchInfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SEND_WATCH_INFO - }; - CImReqSendWatchInfo() - { - } - - ~CImReqSendWatchInfo() { } - CImReqSendWatchInfo(const uint8_t& chType, const string& strMessage) - { - m_type = chType; - m_message = strMessage; - } - CImReqSendWatchInfo& operator=( const CImReqSendWatchInfo& cImReqSendWatchInfo ) - { - m_type = cImReqSendWatchInfo.m_type; - m_message = cImReqSendWatchInfo.m_message; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - uint8_t m_type; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSendWatchInfo::Size() const -{ - uint32_t nSize = 8; - nSize += m_message.length(); - return nSize; -} - -class CImNtfWatchInfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_WATCH_INFO - }; - CImNtfWatchInfo() - { - } - - ~CImNtfWatchInfo() { } - CImNtfWatchInfo(const string& strUserId, const uint8_t& chType, const string& strMessage) - { - m_userId = strUserId; - m_type = chType; - m_message = strMessage; - } - CImNtfWatchInfo& operator=( const CImNtfWatchInfo& cImNtfWatchInfo ) - { - m_userId = cImNtfWatchInfo.m_userId; - m_type = cImNtfWatchInfo.m_type; - m_message = cImNtfWatchInfo.m_message; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - m_userId = strUserId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_userId; - uint8_t m_type; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfWatchInfo::Size() const -{ - uint32_t nSize = 13; - nSize += m_userId.length(); - nSize += m_message.length(); - return nSize; -} - -class CImNtfRefreshContact : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_REFRESH_CONTACT - }; - CImNtfRefreshContact() : m_groupId(0) - { - } - - ~CImNtfRefreshContact() { } - CImNtfRefreshContact(const uint8_t& chType, const string& strContactId, const string& strNickName, const int64_t& llGroupId= 0) - { - m_type = chType; - m_contactId = strContactId; - m_nickName = strNickName; - m_groupId = llGroupId; - } - CImNtfRefreshContact& operator=( const CImNtfRefreshContact& cImNtfRefreshContact ) - { - m_type = cImNtfRefreshContact.m_type; - m_contactId = cImNtfRefreshContact.m_contactId; - m_nickName = cImNtfRefreshContact.m_nickName; - m_groupId = cImNtfRefreshContact.m_groupId; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const string& GetNickName () const { return m_nickName; } - bool SetNickName ( const string& strNickName ) - { - if(strNickName.size() > 32) - return false; - m_nickName = strNickName; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_type; - string m_contactId; - string m_nickName; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfRefreshContact::Size() const -{ - uint32_t nSize = 22; - nSize += m_contactId.length(); - nSize += m_nickName.length(); - return nSize; -} - -class CImNtfFeeds : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_FEEDS - }; - CImNtfFeeds() - { - } - - ~CImNtfFeeds() { } - CImNtfFeeds(const string& strSite, const string& strFromId, const uint32_t& dwCreateTime, const string& strContent) - { - m_site = strSite; - m_fromId = strFromId; - m_createTime = dwCreateTime; - m_content = strContent; - } - CImNtfFeeds& operator=( const CImNtfFeeds& cImNtfFeeds ) - { - m_site = cImNtfFeeds.m_site; - m_fromId = cImNtfFeeds.m_fromId; - m_createTime = cImNtfFeeds.m_createTime; - m_content = cImNtfFeeds.m_content; - return *this; - } - - const string& GetSite () const { return m_site; } - bool SetSite ( const string& strSite ) - { - if(strSite.size() > 8) - return false; - m_site = strSite; - return true; - } - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const uint32_t& GetCreateTime () const { return m_createTime; } - bool SetCreateTime ( const uint32_t& dwCreateTime ) - { - m_createTime = dwCreateTime; - return true; - } - const string& GetContent () const { return m_content; } - bool SetContent ( const string& strContent ) - { - m_content = strContent; - return true; - } -private: - string m_site; - string m_fromId; - uint32_t m_createTime; - string m_content; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfFeeds::Size() const -{ - uint32_t nSize = 25; - nSize += m_fromId.length(); - nSize += m_content.length(); - return nSize; -} - -class CImNtfUserSnsinfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_USER_SNSINFO - }; - CImNtfUserSnsinfo() - { - } - - ~CImNtfUserSnsinfo() { } - CImNtfUserSnsinfo(const string& strFromId, const uint8_t& chType, const map< string,string >& mapInfo) - { - m_fromId = strFromId; - m_type = chType; - m_info = mapInfo; - } - CImNtfUserSnsinfo& operator=( const CImNtfUserSnsinfo& cImNtfUserSnsinfo ) - { - m_fromId = cImNtfUserSnsinfo.m_fromId; - m_type = cImNtfUserSnsinfo.m_type; - m_info = cImNtfUserSnsinfo.m_info; - return *this; - } - - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const map< string,string >& GetInfo () const { return m_info; } - bool SetInfo ( const map< string,string >& mapInfo ) - { - m_info = mapInfo; - return true; - } -private: - string m_fromId; - uint8_t m_type; - map< string,string > m_info; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfUserSnsinfo::Size() const -{ - uint32_t nSize = 12; - nSize += m_fromId.length(); - nSize += m_info.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_info.begin(); itr != m_info.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CImReqGetSipSessionid : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GET_SIP_SESSIONID - }; - CImReqGetSipSessionid() - { - } - - ~CImReqGetSipSessionid() { } - CImReqGetSipSessionid(const string& strAppId, const string& strType) - { - m_appId = strAppId; - m_type = strType; - } - CImReqGetSipSessionid& operator=( const CImReqGetSipSessionid& cImReqGetSipSessionid ) - { - m_appId = cImReqGetSipSessionid.m_appId; - m_type = cImReqGetSipSessionid.m_type; - return *this; - } - - const string& GetAppId () const { return m_appId; } - bool SetAppId ( const string& strAppId ) - { - m_appId = strAppId; - return true; - } - const string& GetType () const { return m_type; } - bool SetType ( const string& strType ) - { - m_type = strType; - return true; - } -private: - string m_appId; - string m_type; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetSipSessionid::Size() const -{ - uint32_t nSize = 11; - nSize += m_appId.length(); - nSize += m_type.length(); - return nSize; -} - -class CImRspGetSipSessionid : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GET_SIP_SESSIONID - }; - CImRspGetSipSessionid() - { - } - - ~CImRspGetSipSessionid() { } - CImRspGetSipSessionid(const uint32_t& dwRetcode, const string& strAppId, const string& strType, const string& strUserId, const string& strSessionId) - { - m_retcode = dwRetcode; - m_appId = strAppId; - m_type = strType; - m_userId = strUserId; - m_sessionId = strSessionId; - } - CImRspGetSipSessionid& operator=( const CImRspGetSipSessionid& cImRspGetSipSessionid ) - { - m_retcode = cImRspGetSipSessionid.m_retcode; - m_appId = cImRspGetSipSessionid.m_appId; - m_type = cImRspGetSipSessionid.m_type; - m_userId = cImRspGetSipSessionid.m_userId; - m_sessionId = cImRspGetSipSessionid.m_sessionId; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetAppId () const { return m_appId; } - bool SetAppId ( const string& strAppId ) - { - m_appId = strAppId; - return true; - } - const string& GetType () const { return m_type; } - bool SetType ( const string& strType ) - { - m_type = strType; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetSessionId () const { return m_sessionId; } - bool SetSessionId ( const string& strSessionId ) - { - m_sessionId = strSessionId; - return true; - } -private: - uint32_t m_retcode; - string m_appId; - string m_type; - string m_userId; - string m_sessionId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetSipSessionid::Size() const -{ - uint32_t nSize = 26; - nSize += m_appId.length(); - nSize += m_type.length(); - nSize += m_userId.length(); - nSize += m_sessionId.length(); - return nSize; -} - -class CImReqHelpGetBuddyStatus : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_HELP_GET_BUDDY_STATUS - }; - CImReqHelpGetBuddyStatus() - { - } - - ~CImReqHelpGetBuddyStatus() { } - CImReqHelpGetBuddyStatus(const string& strUid, const uint8_t& chStatus) - { - m_uid = strUid; - m_status = chStatus; - } - CImReqHelpGetBuddyStatus& operator=( const CImReqHelpGetBuddyStatus& cImReqHelpGetBuddyStatus ) - { - m_uid = cImReqHelpGetBuddyStatus.m_uid; - m_status = cImReqHelpGetBuddyStatus.m_status; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } -private: - string m_uid; - uint8_t m_status; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqHelpGetBuddyStatus::Size() const -{ - return 68; -} -struct SRecChildIdStatus -{ -public: - SRecChildIdStatus() - { - } - - ~SRecChildIdStatus() { } - SRecChildIdStatus(const string& strChildId, const uint8_t& chOnlineStatus, const uint8_t& chServiceStatus, const uint16_t& wReserved1, const uint16_t& wReserved2, const uint16_t& wReserved3) - { - m_childId = strChildId; - m_onlineStatus = chOnlineStatus; - m_serviceStatus = chServiceStatus; - m_reserved1 = wReserved1; - m_reserved2 = wReserved2; - m_reserved3 = wReserved3; - } - SRecChildIdStatus& operator=( const SRecChildIdStatus& sRecChildIdStatus ) - { - m_childId = sRecChildIdStatus.m_childId; - m_onlineStatus = sRecChildIdStatus.m_onlineStatus; - m_serviceStatus = sRecChildIdStatus.m_serviceStatus; - m_reserved1 = sRecChildIdStatus.m_reserved1; - m_reserved2 = sRecChildIdStatus.m_reserved2; - m_reserved3 = sRecChildIdStatus.m_reserved3; - return *this; - } - - string m_childId; - uint8_t m_onlineStatus; - uint8_t m_serviceStatus; - uint16_t m_reserved1; - uint16_t m_reserved2; - uint16_t m_reserved3; - -public: - uint32_t Size() const; -}; - -inline uint32_t SRecChildIdStatus::Size() const -{ - return 79; -} -CPackData& operator<< ( CPackData& cPackData, const SRecChildIdStatus& sRecChildIdStatus ); -CPackData& operator>> ( CPackData& cPackData, SRecChildIdStatus& sRecChildIdStatus ); - -class CImRspHelpGetBuddyStatus : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_HELP_GET_BUDDY_STATUS - }; - CImRspHelpGetBuddyStatus() - { - } - - ~CImRspHelpGetBuddyStatus() { } - CImRspHelpGetBuddyStatus(const uint8_t& chRetcode, const VECTOR< SRecChildIdStatus >& vecChildList) - { - m_retcode = chRetcode; - m_childList = vecChildList; - } - CImRspHelpGetBuddyStatus& operator=( const CImRspHelpGetBuddyStatus& cImRspHelpGetBuddyStatus ) - { - m_retcode = cImRspHelpGetBuddyStatus.m_retcode; - m_childList = cImRspHelpGetBuddyStatus.m_childList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const VECTOR< SRecChildIdStatus >& GetChildList () const { return m_childList; } - bool SetChildList ( const VECTOR< SRecChildIdStatus >& vecChildList ) - { - m_childList = vecChildList; - return true; - } -private: - uint8_t m_retcode; - VECTOR< SRecChildIdStatus > m_childList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspHelpGetBuddyStatus::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_childList.size(); i++) - { - nSize += m_childList[i].Size(); - } - return nSize; -} - -struct SRecentNode -{ -public: - SRecentNode() - { - } - - ~SRecentNode() { } - SRecentNode(const string& strContactId, const uint32_t& dwSendTime, const uint32_t& dwRecvTime, const uint32_t& dwRecvFlag, const uint32_t& dwSendFlag) - { - m_contactId = strContactId; - m_sendTime = dwSendTime; - m_recvTime = dwRecvTime; - m_recvFlag = dwRecvFlag; - m_sendFlag = dwSendFlag; - } - SRecentNode& operator=( const SRecentNode& sRecentNode ) - { - m_contactId = sRecentNode.m_contactId; - m_sendTime = sRecentNode.m_sendTime; - m_recvTime = sRecentNode.m_recvTime; - m_recvFlag = sRecentNode.m_recvFlag; - m_sendFlag = sRecentNode.m_sendFlag; - return *this; - } - - string m_contactId; - uint32_t m_sendTime; - uint32_t m_recvTime; - uint32_t m_recvFlag; - uint32_t m_sendFlag; - -public: - uint32_t Size() const; -}; - -inline uint32_t SRecentNode::Size() const -{ - uint32_t nSize = 26; - nSize += m_contactId.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SRecentNode& sRecentNode ); -CPackData& operator>> ( CPackData& cPackData, SRecentNode& sRecentNode ); - -class CImNtfRecent : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_RECENT - }; - CImNtfRecent() - { - } - - ~CImNtfRecent() { } - CImNtfRecent(const uint32_t& dwTimeStamp, const uint32_t& dwOpType, const VECTOR< SRecentNode >& vecRecentList) - { - m_timeStamp = dwTimeStamp; - m_opType = dwOpType; - m_recentList = vecRecentList; - } - CImNtfRecent& operator=( const CImNtfRecent& cImNtfRecent ) - { - m_timeStamp = cImNtfRecent.m_timeStamp; - m_opType = cImNtfRecent.m_opType; - m_recentList = cImNtfRecent.m_recentList; - return *this; - } - - const uint32_t& GetTimeStamp () const { return m_timeStamp; } - bool SetTimeStamp ( const uint32_t& dwTimeStamp ) - { - m_timeStamp = dwTimeStamp; - return true; - } - const uint32_t& GetOpType () const { return m_opType; } - bool SetOpType ( const uint32_t& dwOpType ) - { - m_opType = dwOpType; - return true; - } - const VECTOR< SRecentNode >& GetRecentList () const { return m_recentList; } - bool SetRecentList ( const VECTOR< SRecentNode >& vecRecentList ) - { - m_recentList = vecRecentList; - return true; - } -private: - uint32_t m_timeStamp; - uint32_t m_opType; - VECTOR< SRecentNode > m_recentList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfRecent::Size() const -{ - uint32_t nSize = 17; - for(uint32_t i = 0; i < m_recentList.size(); i++) - { - nSize += m_recentList[i].Size(); - } - return nSize; -} - -class CImReqAddcontactNew : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ADDCONTACT_NEW - }; - CImReqAddcontactNew() : m_supportFlag(0) - { - } - - ~CImReqAddcontactNew() { } - CImReqAddcontactNew(const SContactInfo& sContact, const uint8_t& chType, const string& strMessage, const uint32_t& dwSupportFlag= 0) - { - m_contact = sContact; - m_type = chType; - m_message = strMessage; - m_supportFlag = dwSupportFlag; - } - CImReqAddcontactNew& operator=( const CImReqAddcontactNew& cImReqAddcontactNew ) - { - m_contact = cImReqAddcontactNew.m_contact; - m_type = cImReqAddcontactNew.m_type; - m_message = cImReqAddcontactNew.m_message; - m_supportFlag = cImReqAddcontactNew.m_supportFlag; - return *this; - } - - const SContactInfo& GetContact () const { return m_contact; } - bool SetContact ( const SContactInfo& sContact ) - { - m_contact = sContact; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const uint32_t& GetSupportFlag () const { return m_supportFlag; } - bool SetSupportFlag ( const uint32_t& dwSupportFlag ) - { - m_supportFlag = dwSupportFlag; - return true; - } -private: - SContactInfo m_contact; - uint8_t m_type; - string m_message; - uint32_t m_supportFlag; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAddcontactNew::Size() const -{ - uint32_t nSize = 14; - nSize += m_contact.Size(); - nSize += m_message.length(); - return nSize; -} - -class CImRspAddcontactNew : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_ADDCONTACT_NEW - }; - CImRspAddcontactNew() : m_question(""), - m_answer("") - { - } - - ~CImRspAddcontactNew() { } - CImRspAddcontactNew(const uint32_t& dwRetcode, const uint8_t& chType, const SContactInfo& sContact, const uint32_t& dwTimestamp, const string& strCompanyname, const string& strQuestion= "", const string& strAnswer= "") - { - m_retcode = dwRetcode; - m_type = chType; - m_contact = sContact; - m_timestamp = dwTimestamp; - m_companyname = strCompanyname; - m_question = strQuestion; - m_answer = strAnswer; - } - CImRspAddcontactNew& operator=( const CImRspAddcontactNew& cImRspAddcontactNew ) - { - m_retcode = cImRspAddcontactNew.m_retcode; - m_type = cImRspAddcontactNew.m_type; - m_contact = cImRspAddcontactNew.m_contact; - m_timestamp = cImRspAddcontactNew.m_timestamp; - m_companyname = cImRspAddcontactNew.m_companyname; - m_question = cImRspAddcontactNew.m_question; - m_answer = cImRspAddcontactNew.m_answer; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const SContactInfo& GetContact () const { return m_contact; } - bool SetContact ( const SContactInfo& sContact ) - { - m_contact = sContact; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } - const string& GetCompanyname () const { return m_companyname; } - bool SetCompanyname ( const string& strCompanyname ) - { - m_companyname = strCompanyname; - return true; - } - const string& GetQuestion () const { return m_question; } - bool SetQuestion ( const string& strQuestion ) - { - m_question = strQuestion; - return true; - } - const string& GetAnswer () const { return m_answer; } - bool SetAnswer ( const string& strAnswer ) - { - m_answer = strAnswer; - return true; - } -private: - uint32_t m_retcode; - uint8_t m_type; - SContactInfo m_contact; - uint32_t m_timestamp; - string m_companyname; - string m_question; - string m_answer; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspAddcontactNew::Size() const -{ - uint32_t nSize = 29; - nSize += m_contact.Size(); - nSize += m_companyname.length(); - nSize += m_question.length(); - nSize += m_answer.length(); - return nSize; -} - -class CImReqAddcntackNew : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ADDCNTACK_NEW - }; - CImReqAddcntackNew() - { - } - - ~CImReqAddcntackNew() { } - CImReqAddcntackNew(const uint8_t& chOpcode, const string& strContactId, const int64_t& llGroupId, const string& strNickName, const string& strMessage) - { - m_opcode = chOpcode; - m_contactId = strContactId; - m_groupId = llGroupId; - m_nickName = strNickName; - m_message = strMessage; - } - CImReqAddcntackNew& operator=( const CImReqAddcntackNew& cImReqAddcntackNew ) - { - m_opcode = cImReqAddcntackNew.m_opcode; - m_contactId = cImReqAddcntackNew.m_contactId; - m_groupId = cImReqAddcntackNew.m_groupId; - m_nickName = cImReqAddcntackNew.m_nickName; - m_message = cImReqAddcntackNew.m_message; - return *this; - } - - const uint8_t& GetOpcode () const { return m_opcode; } - bool SetOpcode ( const uint8_t& chOpcode ) - { - m_opcode = chOpcode; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } - const string& GetNickName () const { return m_nickName; } - bool SetNickName ( const string& strNickName ) - { - m_nickName = strNickName; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - uint8_t m_opcode; - string m_contactId; - int64_t m_groupId; - string m_nickName; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAddcntackNew::Size() const -{ - uint32_t nSize = 27; - nSize += m_contactId.length(); - nSize += m_nickName.length(); - nSize += m_message.length(); - return nSize; -} - -class CImRspAddcntackNew : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_ADDCNTACK_NEW - }; - CImRspAddcntackNew() - { - } - - ~CImRspAddcntackNew() { } - CImRspAddcntackNew(const uint32_t& dwRetcode, const uint8_t& chOpcode, const int64_t& llGroupId, const uint32_t& dwTimestamp, const string& strContactId) - { - m_retcode = dwRetcode; - m_opcode = chOpcode; - m_groupId = llGroupId; - m_timestamp = dwTimestamp; - m_contactId = strContactId; - } - CImRspAddcntackNew& operator=( const CImRspAddcntackNew& cImRspAddcntackNew ) - { - m_retcode = cImRspAddcntackNew.m_retcode; - m_opcode = cImRspAddcntackNew.m_opcode; - m_groupId = cImRspAddcntackNew.m_groupId; - m_timestamp = cImRspAddcntackNew.m_timestamp; - m_contactId = cImRspAddcntackNew.m_contactId; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint8_t& GetOpcode () const { return m_opcode; } - bool SetOpcode ( const uint8_t& chOpcode ) - { - m_opcode = chOpcode; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } -private: - uint32_t m_retcode; - uint8_t m_opcode; - int64_t m_groupId; - uint32_t m_timestamp; - string m_contactId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspAddcntackNew::Size() const -{ - uint32_t nSize = 27; - nSize += m_contactId.length(); - return nSize; -} - -class CImReqSearchuser : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SEARCHUSER - }; - CImReqSearchuser() : m_reserve("") - { - } - - ~CImReqSearchuser() { } - CImReqSearchuser(const uint32_t& dwTimestamp, const uint8_t& chType, const string& strUid, const uint8_t& chSyncacc, const string& strReserve= "") - { - m_timestamp = dwTimestamp; - m_type = chType; - m_uid = strUid; - m_syncacc = chSyncacc; - m_reserve = strReserve; - } - CImReqSearchuser& operator=( const CImReqSearchuser& cImReqSearchuser ) - { - m_timestamp = cImReqSearchuser.m_timestamp; - m_type = cImReqSearchuser.m_type; - m_uid = cImReqSearchuser.m_uid; - m_syncacc = cImReqSearchuser.m_syncacc; - m_reserve = cImReqSearchuser.m_reserve; - return *this; - } - - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const uint8_t& GetSyncacc () const { return m_syncacc; } - bool SetSyncacc ( const uint8_t& chSyncacc ) - { - m_syncacc = chSyncacc; - return true; - } - const string& GetReserve () const { return m_reserve; } - bool SetReserve ( const string& strReserve ) - { - m_reserve = strReserve; - return true; - } -private: - uint32_t m_timestamp; - uint8_t m_type; - string m_uid; - uint8_t m_syncacc; - string m_reserve; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSearchuser::Size() const -{ - uint32_t nSize = 20; - nSize += m_uid.length(); - nSize += m_reserve.length(); - return nSize; -} - -struct SSearchUserinfo -{ -public: - SSearchUserinfo() - { - } - - ~SSearchUserinfo() { } - SSearchUserinfo(const string& strContactId, const string& strNickName, const uint8_t& chAge, const uint8_t& chGender, const string& strCity, const uint8_t& chBasicStatus) - { - m_contactId = strContactId; - m_nickName = strNickName; - m_age = chAge; - m_gender = chGender; - m_city = strCity; - m_basicStatus = chBasicStatus; - } - SSearchUserinfo& operator=( const SSearchUserinfo& sSearchUserinfo ) - { - m_contactId = sSearchUserinfo.m_contactId; - m_nickName = sSearchUserinfo.m_nickName; - m_age = sSearchUserinfo.m_age; - m_gender = sSearchUserinfo.m_gender; - m_city = sSearchUserinfo.m_city; - m_basicStatus = sSearchUserinfo.m_basicStatus; - return *this; - } - - string m_contactId; - string m_nickName; - uint8_t m_age; - uint8_t m_gender; - string m_city; - uint8_t m_basicStatus; - -public: - uint32_t Size() const; -}; - -inline uint32_t SSearchUserinfo::Size() const -{ - uint32_t nSize = 22; - nSize += m_contactId.length(); - nSize += m_nickName.length(); - nSize += m_city.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SSearchUserinfo& sSearchUserinfo ); -CPackData& operator>> ( CPackData& cPackData, SSearchUserinfo& sSearchUserinfo ); - -class CImRspSearchuser : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SEARCHUSER - }; - CImRspSearchuser() - { - } - - ~CImRspSearchuser() { } - CImRspSearchuser(const uint32_t& dwRetcode, const VECTOR< SSearchUserinfo >& vecUserList, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_userList = vecUserList; - m_timestamp = dwTimestamp; - } - CImRspSearchuser& operator=( const CImRspSearchuser& cImRspSearchuser ) - { - m_retcode = cImRspSearchuser.m_retcode; - m_userList = cImRspSearchuser.m_userList; - m_timestamp = cImRspSearchuser.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< SSearchUserinfo >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< SSearchUserinfo >& vecUserList ) - { - m_userList = vecUserList; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - VECTOR< SSearchUserinfo > m_userList; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSearchuser::Size() const -{ - uint32_t nSize = 17; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].Size(); - } - return nSize; -} - -class CImReqSearchuserex : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SEARCHUSEREX - }; - CImReqSearchuserex() - { - } - - ~CImReqSearchuserex() { } - CImReqSearchuserex(const uint32_t& dwTimestamp, const string& strSite, const string& strCountry, const string& strProvince, const string& strCity, const uint8_t& chGender, const uint32_t& dwAge, const string& strJob) - { - m_timestamp = dwTimestamp; - m_site = strSite; - m_country = strCountry; - m_province = strProvince; - m_city = strCity; - m_gender = chGender; - m_age = dwAge; - m_job = strJob; - } - CImReqSearchuserex& operator=( const CImReqSearchuserex& cImReqSearchuserex ) - { - m_timestamp = cImReqSearchuserex.m_timestamp; - m_site = cImReqSearchuserex.m_site; - m_country = cImReqSearchuserex.m_country; - m_province = cImReqSearchuserex.m_province; - m_city = cImReqSearchuserex.m_city; - m_gender = cImReqSearchuserex.m_gender; - m_age = cImReqSearchuserex.m_age; - m_job = cImReqSearchuserex.m_job; - return *this; - } - - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } - const string& GetSite () const { return m_site; } - bool SetSite ( const string& strSite ) - { - if(strSite.size() > 64) - return false; - m_site = strSite; - return true; - } - const string& GetCountry () const { return m_country; } - bool SetCountry ( const string& strCountry ) - { - m_country = strCountry; - return true; - } - const string& GetProvince () const { return m_province; } - bool SetProvince ( const string& strProvince ) - { - m_province = strProvince; - return true; - } - const string& GetCity () const { return m_city; } - bool SetCity ( const string& strCity ) - { - m_city = strCity; - return true; - } - const uint8_t& GetGender () const { return m_gender; } - bool SetGender ( const uint8_t& chGender ) - { - m_gender = chGender; - return true; - } - const uint32_t& GetAge () const { return m_age; } - bool SetAge ( const uint32_t& dwAge ) - { - m_age = dwAge; - return true; - } - const string& GetJob () const { return m_job; } - bool SetJob ( const string& strJob ) - { - m_job = strJob; - return true; - } -private: - uint32_t m_timestamp; - string m_site; - string m_country; - string m_province; - string m_city; - uint8_t m_gender; - uint32_t m_age; - string m_job; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSearchuserex::Size() const -{ - uint32_t nSize = 38; - nSize += m_site.length(); - nSize += m_country.length(); - nSize += m_province.length(); - nSize += m_city.length(); - nSize += m_job.length(); - return nSize; -} - -struct SEChildId -{ -public: - SEChildId() - { - } - - ~SEChildId() { } - SEChildId(const string& strChildId, const string& strChildNick, const uint8_t& chBasicStatus, const uint8_t& chPredefStatus, const uint8_t& chOnServer, const uint16_t& wMaxService, const uint16_t& wCurService, const uint16_t& wReserved) - { - m_childId = strChildId; - m_childNick = strChildNick; - m_basicStatus = chBasicStatus; - m_predefStatus = chPredefStatus; - m_onServer = chOnServer; - m_maxService = wMaxService; - m_curService = wCurService; - m_reserved = wReserved; - } - SEChildId& operator=( const SEChildId& sEChildId ) - { - m_childId = sEChildId.m_childId; - m_childNick = sEChildId.m_childNick; - m_basicStatus = sEChildId.m_basicStatus; - m_predefStatus = sEChildId.m_predefStatus; - m_onServer = sEChildId.m_onServer; - m_maxService = sEChildId.m_maxService; - m_curService = sEChildId.m_curService; - m_reserved = sEChildId.m_reserved; - return *this; - } - - string m_childId; - string m_childNick; - uint8_t m_basicStatus; - uint8_t m_predefStatus; - uint8_t m_onServer; - uint16_t m_maxService; - uint16_t m_curService; - uint16_t m_reserved; - -public: - uint32_t Size() const; -}; - -inline uint32_t SEChildId::Size() const -{ - return 114; -} -CPackData& operator<< ( CPackData& cPackData, const SEChildId& sEChildId ); -CPackData& operator>> ( CPackData& cPackData, SEChildId& sEChildId ); - -class CImReqEhelpLogin : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_EHELP_LOGIN - }; - CImReqEhelpLogin() - { - } - - ~CImReqEhelpLogin() { } - CImReqEhelpLogin(const string& strUid, const string& strFid, const uint8_t& chReserved, const uint8_t& chStatus) - { - m_uid = strUid; - m_fid = strFid; - m_reserved = chReserved; - m_status = chStatus; - } - CImReqEhelpLogin& operator=( const CImReqEhelpLogin& cImReqEhelpLogin ) - { - m_uid = cImReqEhelpLogin.m_uid; - m_fid = cImReqEhelpLogin.m_fid; - m_reserved = cImReqEhelpLogin.m_reserved; - m_status = cImReqEhelpLogin.m_status; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetFid () const { return m_fid; } - bool SetFid ( const string& strFid ) - { - if(strFid.size() > 64) - return false; - m_fid = strFid; - return true; - } - const uint8_t& GetReserved () const { return m_reserved; } - bool SetReserved ( const uint8_t& chReserved ) - { - m_reserved = chReserved; - return true; - } - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } -private: - string m_uid; - string m_fid; - uint8_t m_reserved; - uint8_t m_status; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqEhelpLogin::Size() const -{ - return 135; -} -class CImRspEhelpLogin : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_EHELP_LOGIN - }; - CImRspEhelpLogin() - { - } - - ~CImRspEhelpLogin() { } - CImRspEhelpLogin(const uint8_t& chRetcode, const uint8_t& chMulStatus, const string& strParentUid) - { - m_retcode = chRetcode; - m_mulStatus = chMulStatus; - m_parentUid = strParentUid; - } - CImRspEhelpLogin& operator=( const CImRspEhelpLogin& cImRspEhelpLogin ) - { - m_retcode = cImRspEhelpLogin.m_retcode; - m_mulStatus = cImRspEhelpLogin.m_mulStatus; - m_parentUid = cImRspEhelpLogin.m_parentUid; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint8_t& GetMulStatus () const { return m_mulStatus; } - bool SetMulStatus ( const uint8_t& chMulStatus ) - { - m_mulStatus = chMulStatus; - return true; - } - const string& GetParentUid () const { return m_parentUid; } - bool SetParentUid ( const string& strParentUid ) - { - if(strParentUid.size() > 64) - return false; - m_parentUid = strParentUid; - return true; - } -private: - uint8_t m_retcode; - uint8_t m_mulStatus; - string m_parentUid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspEhelpLogin::Size() const -{ - return 70; -} -class CImReqEhelpGetBuddys : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_EHELP_GET_BUDDYS - }; - CImReqEhelpGetBuddys() - { - } - - ~CImReqEhelpGetBuddys() { } - CImReqEhelpGetBuddys(const string& strUid, const string& strFid) - { - m_uid = strUid; - m_fid = strFid; - } - CImReqEhelpGetBuddys& operator=( const CImReqEhelpGetBuddys& cImReqEhelpGetBuddys ) - { - m_uid = cImReqEhelpGetBuddys.m_uid; - m_fid = cImReqEhelpGetBuddys.m_fid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetFid () const { return m_fid; } - bool SetFid ( const string& strFid ) - { - if(strFid.size() > 64) - return false; - m_fid = strFid; - return true; - } -private: - string m_uid; - string m_fid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqEhelpGetBuddys::Size() const -{ - return 131; -} -class CImRspEhelpGetBuddys : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_EHELP_GET_BUDDYS - }; - CImRspEhelpGetBuddys() - { - } - - ~CImRspEhelpGetBuddys() { } - CImRspEhelpGetBuddys(const uint8_t& chRetcode, const VECTOR< SEChildId >& vecChildList) - { - m_retcode = chRetcode; - m_childList = vecChildList; - } - CImRspEhelpGetBuddys& operator=( const CImRspEhelpGetBuddys& cImRspEhelpGetBuddys ) - { - m_retcode = cImRspEhelpGetBuddys.m_retcode; - m_childList = cImRspEhelpGetBuddys.m_childList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const VECTOR< SEChildId >& GetChildList () const { return m_childList; } - bool SetChildList ( const VECTOR< SEChildId >& vecChildList ) - { - m_childList = vecChildList; - return true; - } -private: - uint8_t m_retcode; - VECTOR< SEChildId > m_childList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspEhelpGetBuddys::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_childList.size(); i++) - { - nSize += m_childList[i].Size(); - } - return nSize; -} - -class CImReqEhelpSendMsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_EHELP_SEND_MSG - }; - CImReqEhelpSendMsg() - { - } - - ~CImReqEhelpSendMsg() { } - CImReqEhelpSendMsg(const string& strUid, const string& strFid, const string& strTargetId, const uint8_t& chType, const string& strMessage, const uint16_t& wCmdType, const uint32_t& dwServNum) - { - m_uid = strUid; - m_fid = strFid; - m_targetId = strTargetId; - m_type = chType; - m_message = strMessage; - m_cmdType = wCmdType; - m_servNum = dwServNum; - } - CImReqEhelpSendMsg& operator=( const CImReqEhelpSendMsg& cImReqEhelpSendMsg ) - { - m_uid = cImReqEhelpSendMsg.m_uid; - m_fid = cImReqEhelpSendMsg.m_fid; - m_targetId = cImReqEhelpSendMsg.m_targetId; - m_type = cImReqEhelpSendMsg.m_type; - m_message = cImReqEhelpSendMsg.m_message; - m_cmdType = cImReqEhelpSendMsg.m_cmdType; - m_servNum = cImReqEhelpSendMsg.m_servNum; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetFid () const { return m_fid; } - bool SetFid ( const string& strFid ) - { - if(strFid.size() > 64) - return false; - m_fid = strFid; - return true; - } - const string& GetTargetId () const { return m_targetId; } - bool SetTargetId ( const string& strTargetId ) - { - if(strTargetId.size() > 64) - return false; - m_targetId = strTargetId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const uint16_t& GetCmdType () const { return m_cmdType; } - bool SetCmdType ( const uint16_t& wCmdType ) - { - m_cmdType = wCmdType; - return true; - } - const uint32_t& GetServNum () const { return m_servNum; } - bool SetServNum ( const uint32_t& dwServNum ) - { - m_servNum = dwServNum; - return true; - } -private: - string m_uid; - string m_fid; - string m_targetId; - uint8_t m_type; - string m_message; - uint16_t m_cmdType; - uint32_t m_servNum; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqEhelpSendMsg::Size() const -{ - uint32_t nSize = 211; - nSize += m_message.length(); - return nSize; -} - -class CImRspEhelpSendMsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_EHELP_SEND_MSG - }; - ~CImRspEhelpSendMsg() { } -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspEhelpSendMsg::Size() const -{ - return 1; -} -class CImReqEhelpSendCmd : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_EHELP_SEND_CMD - }; - CImReqEhelpSendCmd() - { - } - - ~CImReqEhelpSendCmd() { } - CImReqEhelpSendCmd(const string& strUid, const string& strFid, const string& strTargetId, const uint8_t& chType, const uint8_t& chCmdId, const string& strXmlCmd) - { - m_uid = strUid; - m_fid = strFid; - m_targetId = strTargetId; - m_type = chType; - m_cmdId = chCmdId; - m_xmlCmd = strXmlCmd; - } - CImReqEhelpSendCmd& operator=( const CImReqEhelpSendCmd& cImReqEhelpSendCmd ) - { - m_uid = cImReqEhelpSendCmd.m_uid; - m_fid = cImReqEhelpSendCmd.m_fid; - m_targetId = cImReqEhelpSendCmd.m_targetId; - m_type = cImReqEhelpSendCmd.m_type; - m_cmdId = cImReqEhelpSendCmd.m_cmdId; - m_xmlCmd = cImReqEhelpSendCmd.m_xmlCmd; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetFid () const { return m_fid; } - bool SetFid ( const string& strFid ) - { - if(strFid.size() > 64) - return false; - m_fid = strFid; - return true; - } - const string& GetTargetId () const { return m_targetId; } - bool SetTargetId ( const string& strTargetId ) - { - if(strTargetId.size() > 64) - return false; - m_targetId = strTargetId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const uint8_t& GetCmdId () const { return m_cmdId; } - bool SetCmdId ( const uint8_t& chCmdId ) - { - m_cmdId = chCmdId; - return true; - } - const string& GetXmlCmd () const { return m_xmlCmd; } - bool SetXmlCmd ( const string& strXmlCmd ) - { - m_xmlCmd = strXmlCmd; - return true; - } -private: - string m_uid; - string m_fid; - string m_targetId; - uint8_t m_type; - uint8_t m_cmdId; - string m_xmlCmd; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqEhelpSendCmd::Size() const -{ - uint32_t nSize = 205; - nSize += m_xmlCmd.length(); - return nSize; -} - -class CImRspEhelpSendCmd : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_EHELP_SEND_CMD - }; - CImRspEhelpSendCmd() - { - } - - ~CImRspEhelpSendCmd() { } - CImRspEhelpSendCmd(const uint8_t& chRetcode) - { - m_retcode = chRetcode; - } - CImRspEhelpSendCmd& operator=( const CImRspEhelpSendCmd& cImRspEhelpSendCmd ) - { - m_retcode = cImRspEhelpSendCmd.m_retcode; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } -private: - uint8_t m_retcode; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspEhelpSendCmd::Size() const -{ - return 3; -} -class CImReqEhelpChgSrvMode : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_EHELP_CHG_SRV_MODE - }; - CImReqEhelpChgSrvMode() - { - } - - ~CImReqEhelpChgSrvMode() { } - CImReqEhelpChgSrvMode(const string& strUid, const string& strFid, const uint8_t& chStatus) - { - m_uid = strUid; - m_fid = strFid; - m_status = chStatus; - } - CImReqEhelpChgSrvMode& operator=( const CImReqEhelpChgSrvMode& cImReqEhelpChgSrvMode ) - { - m_uid = cImReqEhelpChgSrvMode.m_uid; - m_fid = cImReqEhelpChgSrvMode.m_fid; - m_status = cImReqEhelpChgSrvMode.m_status; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetFid () const { return m_fid; } - bool SetFid ( const string& strFid ) - { - if(strFid.size() > 64) - return false; - m_fid = strFid; - return true; - } - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } -private: - string m_uid; - string m_fid; - uint8_t m_status; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqEhelpChgSrvMode::Size() const -{ - return 133; -} -class CImRspEhelpChgSrvMode : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_EHELP_CHG_SRV_MODE - }; - CImRspEhelpChgSrvMode() - { - } - - ~CImRspEhelpChgSrvMode() { } - CImRspEhelpChgSrvMode(const string& strUid, const string& strFid, const uint8_t& chRetcode) - { - m_uid = strUid; - m_fid = strFid; - m_retcode = chRetcode; - } - CImRspEhelpChgSrvMode& operator=( const CImRspEhelpChgSrvMode& cImRspEhelpChgSrvMode ) - { - m_uid = cImRspEhelpChgSrvMode.m_uid; - m_fid = cImRspEhelpChgSrvMode.m_fid; - m_retcode = cImRspEhelpChgSrvMode.m_retcode; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetFid () const { return m_fid; } - bool SetFid ( const string& strFid ) - { - if(strFid.size() > 64) - return false; - m_fid = strFid; - return true; - } - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } -private: - string m_uid; - string m_fid; - uint8_t m_retcode; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspEhelpChgSrvMode::Size() const -{ - return 133; -} -class CImReqEhelpForwardUser : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_EHELP_FORWARD_USER - }; - CImReqEhelpForwardUser() - { - } - - ~CImReqEhelpForwardUser() { } - CImReqEhelpForwardUser(const string& strUid, const string& strFid, const string& strContactId, const string& strToChildId, const uint8_t& chType) - { - m_uid = strUid; - m_fid = strFid; - m_contactId = strContactId; - m_toChildId = strToChildId; - m_type = chType; - } - CImReqEhelpForwardUser& operator=( const CImReqEhelpForwardUser& cImReqEhelpForwardUser ) - { - m_uid = cImReqEhelpForwardUser.m_uid; - m_fid = cImReqEhelpForwardUser.m_fid; - m_contactId = cImReqEhelpForwardUser.m_contactId; - m_toChildId = cImReqEhelpForwardUser.m_toChildId; - m_type = cImReqEhelpForwardUser.m_type; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetFid () const { return m_fid; } - bool SetFid ( const string& strFid ) - { - if(strFid.size() > 64) - return false; - m_fid = strFid; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const string& GetToChildId () const { return m_toChildId; } - bool SetToChildId ( const string& strToChildId ) - { - if(strToChildId.size() > 64) - return false; - m_toChildId = strToChildId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } -private: - string m_uid; - string m_fid; - string m_contactId; - string m_toChildId; - uint8_t m_type; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqEhelpForwardUser::Size() const -{ - return 263; -} -class CImRspEhelpForwardUser : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_EHELP_FORWARD_USER - }; - CImRspEhelpForwardUser() - { - } - - ~CImRspEhelpForwardUser() { } - CImRspEhelpForwardUser(const uint8_t& chRetcode) - { - m_retcode = chRetcode; - } - CImRspEhelpForwardUser& operator=( const CImRspEhelpForwardUser& cImRspEhelpForwardUser ) - { - m_retcode = cImRspEhelpForwardUser.m_retcode; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } -private: - uint8_t m_retcode; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspEhelpForwardUser::Size() const -{ - return 3; -} -class CImReqEhelpCloseSession : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_EHELP_CLOSE_SESSION - }; - CImReqEhelpCloseSession() - { - } - - ~CImReqEhelpCloseSession() { } - CImReqEhelpCloseSession(const string& strUid, const string& strFid, const string& strContactId, const uint8_t& chType, const uint8_t& chLocalNum, const uint32_t& dwLocalTime) - { - m_uid = strUid; - m_fid = strFid; - m_contactId = strContactId; - m_type = chType; - m_localNum = chLocalNum; - m_localTime = dwLocalTime; - } - CImReqEhelpCloseSession& operator=( const CImReqEhelpCloseSession& cImReqEhelpCloseSession ) - { - m_uid = cImReqEhelpCloseSession.m_uid; - m_fid = cImReqEhelpCloseSession.m_fid; - m_contactId = cImReqEhelpCloseSession.m_contactId; - m_type = cImReqEhelpCloseSession.m_type; - m_localNum = cImReqEhelpCloseSession.m_localNum; - m_localTime = cImReqEhelpCloseSession.m_localTime; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetFid () const { return m_fid; } - bool SetFid ( const string& strFid ) - { - if(strFid.size() > 64) - return false; - m_fid = strFid; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const uint8_t& GetLocalNum () const { return m_localNum; } - bool SetLocalNum ( const uint8_t& chLocalNum ) - { - m_localNum = chLocalNum; - return true; - } - const uint32_t& GetLocalTime () const { return m_localTime; } - bool SetLocalTime ( const uint32_t& dwLocalTime ) - { - m_localTime = dwLocalTime; - return true; - } -private: - string m_uid; - string m_fid; - string m_contactId; - uint8_t m_type; - uint8_t m_localNum; - uint32_t m_localTime; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqEhelpCloseSession::Size() const -{ - return 205; -} -class CImRspEhelpCloseSession : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_EHELP_CLOSE_SESSION - }; - CImRspEhelpCloseSession() - { - } - - ~CImRspEhelpCloseSession() { } - CImRspEhelpCloseSession(const uint8_t& chRetcode, const string& strMessage, const string& strUid, const string& strFid, const string& strContactId, const uint8_t& chServiceNum, const uint32_t& dwServiceTime) - { - m_retcode = chRetcode; - m_message = strMessage; - m_uid = strUid; - m_fid = strFid; - m_contactId = strContactId; - m_serviceNum = chServiceNum; - m_serviceTime = dwServiceTime; - } - CImRspEhelpCloseSession& operator=( const CImRspEhelpCloseSession& cImRspEhelpCloseSession ) - { - m_retcode = cImRspEhelpCloseSession.m_retcode; - m_message = cImRspEhelpCloseSession.m_message; - m_uid = cImRspEhelpCloseSession.m_uid; - m_fid = cImRspEhelpCloseSession.m_fid; - m_contactId = cImRspEhelpCloseSession.m_contactId; - m_serviceNum = cImRspEhelpCloseSession.m_serviceNum; - m_serviceTime = cImRspEhelpCloseSession.m_serviceTime; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetFid () const { return m_fid; } - bool SetFid ( const string& strFid ) - { - if(strFid.size() > 64) - return false; - m_fid = strFid; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const uint8_t& GetServiceNum () const { return m_serviceNum; } - bool SetServiceNum ( const uint8_t& chServiceNum ) - { - m_serviceNum = chServiceNum; - return true; - } - const uint32_t& GetServiceTime () const { return m_serviceTime; } - bool SetServiceTime ( const uint32_t& dwServiceTime ) - { - m_serviceTime = dwServiceTime; - return true; - } -private: - uint8_t m_retcode; - string m_message; - string m_uid; - string m_fid; - string m_contactId; - uint8_t m_serviceNum; - uint32_t m_serviceTime; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspEhelpCloseSession::Size() const -{ - uint32_t nSize = 210; - nSize += m_message.length(); - return nSize; -} - -class CImReqEhelpGetForward : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_EHELP_GET_FORWARD - }; - CImReqEhelpGetForward() - { - } - - ~CImReqEhelpGetForward() { } - CImReqEhelpGetForward(const string& strUid, const string& strFid) - { - m_uid = strUid; - m_fid = strFid; - } - CImReqEhelpGetForward& operator=( const CImReqEhelpGetForward& cImReqEhelpGetForward ) - { - m_uid = cImReqEhelpGetForward.m_uid; - m_fid = cImReqEhelpGetForward.m_fid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetFid () const { return m_fid; } - bool SetFid ( const string& strFid ) - { - if(strFid.size() > 64) - return false; - m_fid = strFid; - return true; - } -private: - string m_uid; - string m_fid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqEhelpGetForward::Size() const -{ - return 131; -} -class CImRspEhelpGetForward : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_EHELP_GET_FORWARD - }; - CImRspEhelpGetForward() - { - } - - ~CImRspEhelpGetForward() { } - CImRspEhelpGetForward(const uint8_t& chRetcode, const VECTOR< SEChildId >& vecChildList) - { - m_retcode = chRetcode; - m_childList = vecChildList; - } - CImRspEhelpGetForward& operator=( const CImRspEhelpGetForward& cImRspEhelpGetForward ) - { - m_retcode = cImRspEhelpGetForward.m_retcode; - m_childList = cImRspEhelpGetForward.m_childList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const VECTOR< SEChildId >& GetChildList () const { return m_childList; } - bool SetChildList ( const VECTOR< SEChildId >& vecChildList ) - { - m_childList = vecChildList; - return true; - } -private: - uint8_t m_retcode; - VECTOR< SEChildId > m_childList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspEhelpGetForward::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_childList.size(); i++) - { - nSize += m_childList[i].Size(); - } - return nSize; -} - -class CImRspEhelpNotifyMsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_EHELP_NOTIFY_MSG - }; - CImRspEhelpNotifyMsg() : m_serverType(0), - m_cmdType(0) - { - } - - ~CImRspEhelpNotifyMsg() { } - CImRspEhelpNotifyMsg(const string& strFId, const string& strSendId, const uint32_t& dwSendTime, const string& strMessage, const uint8_t& chServerType= 0, const uint16_t& wCmdType= 0) - { - m_fId = strFId; - m_sendId = strSendId; - m_sendTime = dwSendTime; - m_message = strMessage; - m_serverType = chServerType; - m_cmdType = wCmdType; - } - CImRspEhelpNotifyMsg& operator=( const CImRspEhelpNotifyMsg& cImRspEhelpNotifyMsg ) - { - m_fId = cImRspEhelpNotifyMsg.m_fId; - m_sendId = cImRspEhelpNotifyMsg.m_sendId; - m_sendTime = cImRspEhelpNotifyMsg.m_sendTime; - m_message = cImRspEhelpNotifyMsg.m_message; - m_serverType = cImRspEhelpNotifyMsg.m_serverType; - m_cmdType = cImRspEhelpNotifyMsg.m_cmdType; - return *this; - } - - const string& GetFId () const { return m_fId; } - bool SetFId ( const string& strFId ) - { - if(strFId.size() > 64) - return false; - m_fId = strFId; - return true; - } - const string& GetSendId () const { return m_sendId; } - bool SetSendId ( const string& strSendId ) - { - if(strSendId.size() > 64) - return false; - m_sendId = strSendId; - return true; - } - const uint32_t& GetSendTime () const { return m_sendTime; } - bool SetSendTime ( const uint32_t& dwSendTime ) - { - m_sendTime = dwSendTime; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const uint8_t& GetServerType () const { return m_serverType; } - bool SetServerType ( const uint8_t& chServerType ) - { - m_serverType = chServerType; - return true; - } - const uint16_t& GetCmdType () const { return m_cmdType; } - bool SetCmdType ( const uint16_t& wCmdType ) - { - m_cmdType = wCmdType; - return true; - } -private: - string m_fId; - string m_sendId; - uint32_t m_sendTime; - string m_message; - uint8_t m_serverType; - uint16_t m_cmdType; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspEhelpNotifyMsg::Size() const -{ - uint32_t nSize = 26; - nSize += m_fId.length(); - nSize += m_sendId.length(); - nSize += m_message.length(); - return nSize; -} - -class CImNtfSystemmapmessage : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_SYSTEMMAPMESSAGE - }; - CImNtfSystemmapmessage() - { - } - - ~CImNtfSystemmapmessage() { } - CImNtfSystemmapmessage(const uint32_t& dwSysId, const map< string,string >& mapMessage, const string& strExtmessage) - { - m_sysId = dwSysId; - m_message = mapMessage; - m_extmessage = strExtmessage; - } - CImNtfSystemmapmessage& operator=( const CImNtfSystemmapmessage& cImNtfSystemmapmessage ) - { - m_sysId = cImNtfSystemmapmessage.m_sysId; - m_message = cImNtfSystemmapmessage.m_message; - m_extmessage = cImNtfSystemmapmessage.m_extmessage; - return *this; - } - - const uint32_t& GetSysId () const { return m_sysId; } - bool SetSysId ( const uint32_t& dwSysId ) - { - m_sysId = dwSysId; - return true; - } - const map< string,string >& GetMessage () const { return m_message; } - bool SetMessage ( const map< string,string >& mapMessage ) - { - m_message = mapMessage; - return true; - } - const string& GetExtmessage () const { return m_extmessage; } - bool SetExtmessage ( const string& strExtmessage ) - { - m_extmessage = strExtmessage; - return true; - } -private: - uint32_t m_sysId; - map< string,string > m_message; - string m_extmessage; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfSystemmapmessage::Size() const -{ - uint32_t nSize = 15; - nSize += m_message.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_message.begin(); itr != m_message.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - nSize += m_extmessage.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/.svn/text-base/imsession.h.svn-base b/features/aliww/include/.svn/text-base/imsession.h.svn-base deleted file mode 100644 index 7d90a7a..0000000 --- a/features/aliww/include/.svn/text-base/imsession.h.svn-base +++ /dev/null @@ -1,326 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `imsession.ice' - -#ifndef __imsession_h__ -#define __imsession_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class SessionMgr; -bool operator==(const SessionMgr&, const SessionMgr&); -bool operator!=(const SessionMgr&, const SessionMgr&); -bool operator<(const SessionMgr&, const SessionMgr&); -bool operator<=(const SessionMgr&, const SessionMgr&); -bool operator>(const SessionMgr&, const SessionMgr&); -bool operator>=(const SessionMgr&, const SessionMgr&); - -} - -} - -namespace AliIM -{ - -class SessionMgr; -bool operator==(const SessionMgr&, const SessionMgr&); -bool operator!=(const SessionMgr&, const SessionMgr&); -bool operator<(const SessionMgr&, const SessionMgr&); -bool operator<=(const SessionMgr&, const SessionMgr&); -bool operator>(const SessionMgr&, const SessionMgr&); -bool operator>=(const SessionMgr&, const SessionMgr&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::SessionMgr*); -void decRef(::AliIM::SessionMgr*); - -void incRef(::IceProxy::AliIM::SessionMgr*); -void decRef(::IceProxy::AliIM::SessionMgr*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::SessionMgr> SessionMgrPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::SessionMgr> SessionMgrPrx; - -void __write(::IceInternal::BasicStream*, const SessionMgrPrx&); -void __read(::IceInternal::BasicStream*, SessionMgrPrx&); -void __write(::IceInternal::BasicStream*, const SessionMgrPtr&); -void __patch__SessionMgrPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const SessionMgrPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const SessionMgrPtr&); -void __decRefUnsafe(const SessionMgrPtr&); -void __clearHandleUnsafe(SessionMgrPtr&); - -} - -namespace AliIM -{ - -struct SIceSession -{ - ::std::string uid; - ::std::string sessionNo; - ::Ice::Int expiretime; - - bool operator==(const SIceSession&) const; - bool operator!=(const SIceSession&) const; - bool operator<(const SIceSession&) const; - bool operator<=(const SIceSession& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SIceSession& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SIceSession& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class SessionMgr : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int getUserSession(const ::std::string& uid, ::AliIM::SIceSession& retsession) - { - return getUserSession(uid, retsession, 0); - } - ::Ice::Int getUserSession(const ::std::string& uid, ::AliIM::SIceSession& retsession, const ::Ice::Context& __ctx) - { - return getUserSession(uid, retsession, &__ctx); - } - -private: - - ::Ice::Int getUserSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*); - -public: - - ::Ice::Int checkUserSession(const ::std::string& uid, const ::std::string& sessionNo) - { - return checkUserSession(uid, sessionNo, 0); - } - ::Ice::Int checkUserSession(const ::std::string& uid, const ::std::string& sessionNo, const ::Ice::Context& __ctx) - { - return checkUserSession(uid, sessionNo, &__ctx); - } - -private: - - ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int removeSession(const ::std::string& uid) - { - return removeSession(uid, 0); - } - ::Ice::Int removeSession(const ::std::string& uid, const ::Ice::Context& __ctx) - { - return removeSession(uid, &__ctx); - } - -private: - - ::Ice::Int removeSession(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserExistSession(const ::std::string& uid, ::AliIM::SIceSession& retsession) - { - return getUserExistSession(uid, retsession, 0); - } - ::Ice::Int getUserExistSession(const ::std::string& uid, ::AliIM::SIceSession& retsession, const ::Ice::Context& __ctx) - { - return getUserExistSession(uid, retsession, &__ctx); - } - -private: - - ::Ice::Int getUserExistSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class SessionMgr : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int getUserSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int removeSession(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserExistSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class SessionMgr : virtual public ::IceDelegate::AliIM::SessionMgr, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int getUserSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*); - - virtual ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int removeSession(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getUserExistSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class SessionMgr : virtual public ::IceDelegate::AliIM::SessionMgr, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int getUserSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*); - - virtual ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int removeSession(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getUserExistSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class SessionMgr : virtual public ::Ice::Object -{ -public: - - typedef SessionMgrPrx ProxyType; - typedef SessionMgrPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int getUserSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkUserSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int removeSession(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___removeSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserExistSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserExistSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__SessionMgrPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/imss_cmd.h.svn-base b/features/aliww/include/.svn/text-base/imss_cmd.h.svn-base deleted file mode 100644 index 55002d2..0000000 --- a/features/aliww/include/.svn/text-base/imss_cmd.h.svn-base +++ /dev/null @@ -1,107 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: imss_cmd.h -// Date: 2011-01-30 12:49:18 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __IMSS_CMD_H__ -#define __IMSS_CMD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -enum IMSS_REQUEST -{ - SS_HELTH_CHECK = 0x1, - SS_REQ_GETALLUSERSTS = 0x2, - SS_REQ_GETUSERSTATUS = 0x1000001, - IM_SS_SENDIMMSG = 0x1000002, - IM_SS_REQ_PEERINFO = 0x1000003, - IM_SS_REQ_FTSADDR = 0x1000005, - IM_SS_REQ_SUBCRIBE_MSG = 0x1000006, - IM_REQ_SYSTEMMESSAGE = 0x1000007, - SS_REQ_GETALLEHMSGRPSTS = 0x1000008, - IM_SS_SEND_HMSMSG = 0x1000011, - CASS_REQ_GOODSSEARCH = 0x12100001, - CASS_REQ_GOODSSEARCHEX = 0x12100002, - CASS_REQ_WW_MAINSEARCH = 0x12100003, - IM_REQ_SYSTEMMAPMESSAGE = 0x1120012, - CASS_REQ_ESEXPANDTAB = 0x12100101, - CASS_REQ_SEND_ESEVAL = 0x12100102, - CASS_REQ_GETCNTLIST = 0x12100103, - CASS_REQ_WWCARD_INFO = 0x12100201, - CASS_REQ_WWCARD_LEVEL = 0x12100202, - CASS_REQ_WWCARD_SNS = 0x12100203, - CASS_REQ_WWCARD_EVALUATE = 0x12100204, - CASS_REQ_WWCARD_FAVORITE = 0x12100205, - CASS_REQ_TRADE_LIST = 0x12100301, - CASS_REQ_TRADE_INFO = 0x12100302, - CASS_REQ_AUTH_SHELLCMD = 0x12100401, - CASS_REQ_CHECK_LOGINIP = 0x12000501, - CASS_REQ_GET_USERCRINFO = 0x12100701, - CASS_REQ_SET_USERCRINFO = 0x12100702, - -}; - -enum IMSS_RESPONSE -{ - SS_RSP_GETALLUSERSTS = 0x10002, - SS_RSP_GETUSERSTATUS = 0x1010001, - IM_SS_RSP_PEERINFO = 0x1010003, - SS_RSP_REPORTUSERPOS = 0x1010004, - IM_SS_RSP_FTSADDR = 0x1010005, - IM_SS_RSP_SUBCRIBE_MSG = 0x1010006, - IM_RSP_SYSTEMMESSAGE = 0x1010007, - SS_RSP_GETALLEHMSGRPSTS = 0x1010008, - CASS_RSP_GOODSSEARCH = 0x12110001, - CASS_RSP_GOODSSEARCHEX = 0x12110002, - CASS_RSP_WW_MAINSEARCH = 0x12110003, - IM_RSP_SYSTEMMAPMESSAGE = 0x1110012, - CASS_RSP_ESEXPANDTAB = 0x12110101, - CASS_RSP_SEND_ESEVAL = 0x12110102, - CASS_RSP_GETCNTLIST = 0x12110103, - CASS_RSP_WWCARD_INFO = 0x12110201, - CASS_RSP_WWCARD_LEVEL = 0x12110202, - CASS_RSP_WWCARD_SNS = 0x12110203, - CASS_RSP_WWCARD_EVALUATE = 0x12110204, - CASS_RSP_WWCARD_FAVORITE = 0x12110205, - CASS_RSP_TRADE_LIST = 0x12110301, - CASS_RSP_TRADE_INFO = 0x12110302, - CASS_RSP_AUTH_SHELLCMD = 0x12110401, - CASS_RSP_CHECK_LOGINIP = 0x12110501, - CASS_RSP_GET_USERCRINFO = 0x12110701, - CASS_RSP_SET_USERCRINFO = 0x12110702, - -}; - -enum IMSS_NOTIFY -{ - IM_SS_FORCEDISCONNECT = 0x1020001, - IM_SS_NTFUSRSTATUS = 0x1020002, - IM_SS_NTFUSERPOS_ERROR = 0x1020003, - IM_SS_NTFUSREXTINFOUP = 0x1020004, - EXT_SS_NTFUSERINFOUP = 0x1020005, - IM_RSP_SIGNATURE = 0x1020006, - IM_SS_NTFADDACCEPT = 0x1020007, - IM_SS_NTFFORBIDIP = 0x1020008, - IM_SS_NTF_OPERATIONTIP = 0x112002b, - IM_SS_NTF_WATCH_INFO = 0x102005e, - SS_NTF_REFRESH_CONTACT = 0x1120030, - SS_NTF_FEEDS = 0x1120031, - SS_NTF_USER_SNSINFO = 0x1120032, - SS_NTF_ADD_RCNT = 0x1120033, - SS_NTF_EHMS_GROUPSTS = 0x1120040, - SS_NTF_EHMS_LOGIN = 0x1120041, - SS_NTF_VERSION_MESSAGE = 0x11200ff, - IM_SS_NTF_WEBSYSMESSAGE = 0x1020101, - IM_SS_NTF_WEBUSERMESSAGE = 0x1020102, - SS_NTF_UNBIND_DISCONNECT = 0x1120105, - -}; - -#endif diff --git a/features/aliww/include/.svn/text-base/imss_pack.h.svn-base b/features/aliww/include/.svn/text-base/imss_pack.h.svn-base deleted file mode 100644 index 323d6d6..0000000 --- a/features/aliww/include/.svn/text-base/imss_pack.h.svn-base +++ /dev/null @@ -1,2318 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: imss_pack.h -// Date: 2011-01-30 12:49:14 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __IMSS_PACK_H__ -#define __IMSS_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "ss_head.h" -#include "const_macro.h" -#include "imss_cmd.h" - -using namespace std; - -struct SImMsg -{ -public: - SImMsg() : m_len(8), - m_flag(0), - m_seqid(0) - { - } - - ~SImMsg() { } - SImMsg(const uint8_t& chLen, const uint8_t& chFlag, const uint16_t& wCmdid, const uint32_t& dwSeqid, const string& strMessage) - { - m_len = chLen; - m_flag = chFlag; - m_cmdid = wCmdid; - m_seqid = dwSeqid; - m_message = strMessage; - } - SImMsg& operator=( const SImMsg& sImMsg ) - { - m_len = sImMsg.m_len; - m_flag = sImMsg.m_flag; - m_cmdid = sImMsg.m_cmdid; - m_seqid = sImMsg.m_seqid; - m_message = sImMsg.m_message; - return *this; - } - - uint8_t m_len; - uint8_t m_flag; - uint16_t m_cmdid; - uint32_t m_seqid; - string m_message; - -public: - uint32_t Size() const; -}; - -inline uint32_t SImMsg::Size() const -{ - uint32_t nSize = 8; - nSize += m_message.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SImMsg& sImMsg ); -CPackData& operator>> ( CPackData& cPackData, SImMsg& sImMsg ); - -struct SIpBlackSs -{ -public: - SIpBlackSs() - { - } - - ~SIpBlackSs() { } - SIpBlackSs(const uint32_t& dwIp, const uint32_t& dwStarttime, const uint32_t& dwLasttime, const uint32_t& dwNetmask) - { - m_ip = dwIp; - m_starttime = dwStarttime; - m_lasttime = dwLasttime; - m_netmask = dwNetmask; - } - SIpBlackSs& operator=( const SIpBlackSs& sIpBlackSs ) - { - m_ip = sIpBlackSs.m_ip; - m_starttime = sIpBlackSs.m_starttime; - m_lasttime = sIpBlackSs.m_lasttime; - m_netmask = sIpBlackSs.m_netmask; - return *this; - } - - uint32_t m_ip; - uint32_t m_starttime; - uint32_t m_lasttime; - uint32_t m_netmask; - -public: - uint32_t Size() const; -}; - -inline uint32_t SIpBlackSs::Size() const -{ - return 21; -} -CPackData& operator<< ( CPackData& cPackData, const SIpBlackSs& sIpBlackSs ); -CPackData& operator>> ( CPackData& cPackData, SIpBlackSs& sIpBlackSs ); - -struct SEhmsGroupStatus -{ -public: - SEhmsGroupStatus() : m_groupId(0), - m_status(0), - m_predefsts(0) - { - } - - ~SEhmsGroupStatus() { } - SEhmsGroupStatus(const string& strUserId, const string& strGroupName, const uint32_t& dwGroupId= 0, const uint8_t& chStatus= 0, const uint8_t& chPredefsts= 0) - { - m_userId = strUserId; - m_groupName = strGroupName; - m_groupId = dwGroupId; - m_status = chStatus; - m_predefsts = chPredefsts; - } - SEhmsGroupStatus& operator=( const SEhmsGroupStatus& sEhmsGroupStatus ) - { - m_userId = sEhmsGroupStatus.m_userId; - m_groupName = sEhmsGroupStatus.m_groupName; - m_groupId = sEhmsGroupStatus.m_groupId; - m_status = sEhmsGroupStatus.m_status; - m_predefsts = sEhmsGroupStatus.m_predefsts; - return *this; - } - - string m_userId; - string m_groupName; - uint32_t m_groupId; - uint8_t m_status; - uint8_t m_predefsts; - -public: - uint32_t Size() const; -}; - -inline uint32_t SEhmsGroupStatus::Size() const -{ - uint32_t nSize = 20; - nSize += m_userId.length(); - nSize += m_groupName.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SEhmsGroupStatus& sEhmsGroupStatus ); -CPackData& operator>> ( CPackData& cPackData, SEhmsGroupStatus& sEhmsGroupStatus ); - -class CImSsSendimmsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_SENDIMMSG - }; - CImSsSendimmsg() : m_esshiftflag(0), - m_relationship(0), - m_uniqtime(0) - { - } - - ~CImSsSendimmsg() { } - CImSsSendimmsg(const string& strSenduid, const string& strTouid, const uint8_t& chType, const string& strMessage, const uint8_t& chEsshiftflag= 0, const uint8_t& chRelationship= 0, const uint32_t& dwUniqtime= 0) - { - m_senduid = strSenduid; - m_touid = strTouid; - m_type = chType; - m_message = strMessage; - m_esshiftflag = chEsshiftflag; - m_relationship = chRelationship; - m_uniqtime = dwUniqtime; - } - CImSsSendimmsg& operator=( const CImSsSendimmsg& cImSsSendimmsg ) - { - m_senduid = cImSsSendimmsg.m_senduid; - m_touid = cImSsSendimmsg.m_touid; - m_type = cImSsSendimmsg.m_type; - m_message = cImSsSendimmsg.m_message; - m_esshiftflag = cImSsSendimmsg.m_esshiftflag; - m_relationship = cImSsSendimmsg.m_relationship; - m_uniqtime = cImSsSendimmsg.m_uniqtime; - return *this; - } - - const string& GetSenduid () const { return m_senduid; } - bool SetSenduid ( const string& strSenduid ) - { - m_senduid = strSenduid; - return true; - } - const string& GetTouid () const { return m_touid; } - bool SetTouid ( const string& strTouid ) - { - m_touid = strTouid; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const uint8_t& GetEsshiftflag () const { return m_esshiftflag; } - bool SetEsshiftflag ( const uint8_t& chEsshiftflag ) - { - m_esshiftflag = chEsshiftflag; - return true; - } - const uint8_t& GetRelationship () const { return m_relationship; } - bool SetRelationship ( const uint8_t& chRelationship ) - { - m_relationship = chRelationship; - return true; - } - const uint32_t& GetUniqtime () const { return m_uniqtime; } - bool SetUniqtime ( const uint32_t& dwUniqtime ) - { - m_uniqtime = dwUniqtime; - return true; - } -private: - string m_senduid; - string m_touid; - uint8_t m_type; - string m_message; - uint8_t m_esshiftflag; - uint8_t m_relationship; - uint32_t m_uniqtime; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsSendimmsg::Size() const -{ - uint32_t nSize = 27; - nSize += m_senduid.length(); - nSize += m_touid.length(); - nSize += m_message.length(); - return nSize; -} - -class CImSsForcedisconnect : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_FORCEDISCONNECT - }; - CImSsForcedisconnect() - { - } - - ~CImSsForcedisconnect() { } - CImSsForcedisconnect(const string& strUid, const uint8_t& chType) - { - m_uid = strUid; - m_type = chType; - } - CImSsForcedisconnect& operator=( const CImSsForcedisconnect& cImSsForcedisconnect ) - { - m_uid = cImSsForcedisconnect.m_uid; - m_type = cImSsForcedisconnect.m_type; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } -private: - string m_uid; - uint8_t m_type; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsForcedisconnect::Size() const -{ - uint32_t nSize = 8; - nSize += m_uid.length(); - return nSize; -} - -class CImSsNtfusrstatus : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_NTFUSRSTATUS - }; - CImSsNtfusrstatus() - { - } - - ~CImSsNtfusrstatus() { } - CImSsNtfusrstatus(const string& strUid, const uint8_t& chBasicstatus, const uint8_t& chPredefstatus, const uint32_t& dwClinetip, const string& strVersion) - { - m_uid = strUid; - m_basicstatus = chBasicstatus; - m_predefstatus = chPredefstatus; - m_clinetip = dwClinetip; - m_version = strVersion; - } - CImSsNtfusrstatus& operator=( const CImSsNtfusrstatus& cImSsNtfusrstatus ) - { - m_uid = cImSsNtfusrstatus.m_uid; - m_basicstatus = cImSsNtfusrstatus.m_basicstatus; - m_predefstatus = cImSsNtfusrstatus.m_predefstatus; - m_clinetip = cImSsNtfusrstatus.m_clinetip; - m_version = cImSsNtfusrstatus.m_version; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - const uint8_t& GetBasicstatus () const { return m_basicstatus; } - bool SetBasicstatus ( const uint8_t& chBasicstatus ) - { - m_basicstatus = chBasicstatus; - return true; - } - const uint8_t& GetPredefstatus () const { return m_predefstatus; } - bool SetPredefstatus ( const uint8_t& chPredefstatus ) - { - m_predefstatus = chPredefstatus; - return true; - } - const uint32_t& GetClinetip () const { return m_clinetip; } - bool SetClinetip ( const uint32_t& dwClinetip ) - { - m_clinetip = dwClinetip; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - m_version = strVersion; - return true; - } -private: - string m_uid; - uint8_t m_basicstatus; - uint8_t m_predefstatus; - uint32_t m_clinetip; - string m_version; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsNtfusrstatus::Size() const -{ - uint32_t nSize = 20; - nSize += m_uid.length(); - nSize += m_version.length(); - return nSize; -} - -class CImSsReqPeerinfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_REQ_PEERINFO - }; - CImSsReqPeerinfo() - { - } - - ~CImSsReqPeerinfo() { } - CImSsReqPeerinfo(const string& strTargetUid) - { - m_targetUid = strTargetUid; - } - CImSsReqPeerinfo& operator=( const CImSsReqPeerinfo& cImSsReqPeerinfo ) - { - m_targetUid = cImSsReqPeerinfo.m_targetUid; - return *this; - } - - const string& GetTargetUid () const { return m_targetUid; } - bool SetTargetUid ( const string& strTargetUid ) - { - m_targetUid = strTargetUid; - return true; - } -private: - string m_targetUid; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsReqPeerinfo::Size() const -{ - uint32_t nSize = 6; - nSize += m_targetUid.length(); - return nSize; -} - -class CImSsRspPeerinfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_RSP_PEERINFO - }; - CImSsRspPeerinfo() - { - } - - ~CImSsRspPeerinfo() { } - CImSsRspPeerinfo(const uint8_t& chRetcode, const string& strTargetId, const uint32_t& dwClinetip, const string& strVersion, const uint8_t& chBasicStatus, const uint8_t& chPredefStatus, const uint8_t& chAddcontactFlag, const uint8_t& chSendmsgFlag, const uint8_t& chReverseContact) - { - m_retcode = chRetcode; - m_targetId = strTargetId; - m_clinetip = dwClinetip; - m_version = strVersion; - m_basicStatus = chBasicStatus; - m_predefStatus = chPredefStatus; - m_addcontactFlag = chAddcontactFlag; - m_sendmsgFlag = chSendmsgFlag; - m_reverseContact = chReverseContact; - } - CImSsRspPeerinfo& operator=( const CImSsRspPeerinfo& cImSsRspPeerinfo ) - { - m_retcode = cImSsRspPeerinfo.m_retcode; - m_targetId = cImSsRspPeerinfo.m_targetId; - m_clinetip = cImSsRspPeerinfo.m_clinetip; - m_version = cImSsRspPeerinfo.m_version; - m_basicStatus = cImSsRspPeerinfo.m_basicStatus; - m_predefStatus = cImSsRspPeerinfo.m_predefStatus; - m_addcontactFlag = cImSsRspPeerinfo.m_addcontactFlag; - m_sendmsgFlag = cImSsRspPeerinfo.m_sendmsgFlag; - m_reverseContact = cImSsRspPeerinfo.m_reverseContact; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTargetId () const { return m_targetId; } - bool SetTargetId ( const string& strTargetId ) - { - if(strTargetId.size() > 64) - return false; - m_targetId = strTargetId; - return true; - } - const uint32_t& GetClinetip () const { return m_clinetip; } - bool SetClinetip ( const uint32_t& dwClinetip ) - { - m_clinetip = dwClinetip; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - if(strVersion.size() > 128) - return false; - m_version = strVersion; - return true; - } - const uint8_t& GetBasicStatus () const { return m_basicStatus; } - bool SetBasicStatus ( const uint8_t& chBasicStatus ) - { - m_basicStatus = chBasicStatus; - return true; - } - const uint8_t& GetPredefStatus () const { return m_predefStatus; } - bool SetPredefStatus ( const uint8_t& chPredefStatus ) - { - m_predefStatus = chPredefStatus; - return true; - } - const uint8_t& GetAddcontactFlag () const { return m_addcontactFlag; } - bool SetAddcontactFlag ( const uint8_t& chAddcontactFlag ) - { - m_addcontactFlag = chAddcontactFlag; - return true; - } - const uint8_t& GetSendmsgFlag () const { return m_sendmsgFlag; } - bool SetSendmsgFlag ( const uint8_t& chSendmsgFlag ) - { - m_sendmsgFlag = chSendmsgFlag; - return true; - } - const uint8_t& GetReverseContact () const { return m_reverseContact; } - bool SetReverseContact ( const uint8_t& chReverseContact ) - { - m_reverseContact = chReverseContact; - return true; - } -private: - uint8_t m_retcode; - string m_targetId; - uint32_t m_clinetip; - string m_version; - uint8_t m_basicStatus; - uint8_t m_predefStatus; - uint8_t m_addcontactFlag; - uint8_t m_sendmsgFlag; - uint8_t m_reverseContact; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsRspPeerinfo::Size() const -{ - uint32_t nSize = 28; - nSize += m_targetId.length(); - nSize += m_version.length(); - return nSize; -} - -class CImSsNtfusrextinfoup : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_NTFUSREXTINFOUP - }; - CImSsNtfusrextinfoup() - { - } - - ~CImSsNtfusrextinfoup() { } - CImSsNtfusrextinfoup(const string& strExtType, const string& strExtInfo) - { - m_extType = strExtType; - m_extInfo = strExtInfo; - } - CImSsNtfusrextinfoup& operator=( const CImSsNtfusrextinfoup& cImSsNtfusrextinfoup ) - { - m_extType = cImSsNtfusrextinfoup.m_extType; - m_extInfo = cImSsNtfusrextinfoup.m_extInfo; - return *this; - } - - const string& GetExtType () const { return m_extType; } - bool SetExtType ( const string& strExtType ) - { - m_extType = strExtType; - return true; - } - const string& GetExtInfo () const { return m_extInfo; } - bool SetExtInfo ( const string& strExtInfo ) - { - m_extInfo = strExtInfo; - return true; - } -private: - string m_extType; - string m_extInfo; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsNtfusrextinfoup::Size() const -{ - uint32_t nSize = 11; - nSize += m_extType.length(); - nSize += m_extInfo.length(); - return nSize; -} - -class CImSsReqFtsaddr : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_REQ_FTSADDR - }; - CImSsReqFtsaddr() - { - } - - ~CImSsReqFtsaddr() { } - CImSsReqFtsaddr(const string& strSessionId, const uint16_t& wType) - { - m_sessionId = strSessionId; - m_type = wType; - } - CImSsReqFtsaddr& operator=( const CImSsReqFtsaddr& cImSsReqFtsaddr ) - { - m_sessionId = cImSsReqFtsaddr.m_sessionId; - m_type = cImSsReqFtsaddr.m_type; - return *this; - } - - const string& GetSessionId () const { return m_sessionId; } - bool SetSessionId ( const string& strSessionId ) - { - if(strSessionId.size() > 64) - return false; - m_sessionId = strSessionId; - return true; - } - const uint16_t& GetType () const { return m_type; } - bool SetType ( const uint16_t& wType ) - { - m_type = wType; - return true; - } -private: - string m_sessionId; - uint16_t m_type; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsReqFtsaddr::Size() const -{ - uint32_t nSize = 9; - nSize += m_sessionId.length(); - return nSize; -} - -class CImSsRspFtsaddr : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_RSP_FTSADDR - }; - CImSsRspFtsaddr() - { - } - - ~CImSsRspFtsaddr() { } - CImSsRspFtsaddr(const uint8_t& chRetcode, const string& strServerIp, const uint16_t& wServerPort, const string& strSessionId) - { - m_retcode = chRetcode; - m_serverIp = strServerIp; - m_serverPort = wServerPort; - m_sessionId = strSessionId; - } - CImSsRspFtsaddr& operator=( const CImSsRspFtsaddr& cImSsRspFtsaddr ) - { - m_retcode = cImSsRspFtsaddr.m_retcode; - m_serverIp = cImSsRspFtsaddr.m_serverIp; - m_serverPort = cImSsRspFtsaddr.m_serverPort; - m_sessionId = cImSsRspFtsaddr.m_sessionId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetServerIp () const { return m_serverIp; } - bool SetServerIp ( const string& strServerIp ) - { - if(strServerIp.size() > 15) - return false; - m_serverIp = strServerIp; - return true; - } - const uint16_t& GetServerPort () const { return m_serverPort; } - bool SetServerPort ( const uint16_t& wServerPort ) - { - m_serverPort = wServerPort; - return true; - } - const string& GetSessionId () const { return m_sessionId; } - bool SetSessionId ( const string& strSessionId ) - { - if(strSessionId.size() > 64) - return false; - m_sessionId = strSessionId; - return true; - } -private: - uint8_t m_retcode; - string m_serverIp; - uint16_t m_serverPort; - string m_sessionId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsRspFtsaddr::Size() const -{ - uint32_t nSize = 16; - nSize += m_serverIp.length(); - nSize += m_sessionId.length(); - return nSize; -} - -class CImSsReqSubcribeMsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_REQ_SUBCRIBE_MSG - }; - CImSsReqSubcribeMsg() - { - } - - ~CImSsReqSubcribeMsg() { } - CImSsReqSubcribeMsg(const string& strMsg, const map< string,string >& mapHtmlMsg) - { - m_msg = strMsg; - m_htmlMsg = mapHtmlMsg; - } - CImSsReqSubcribeMsg& operator=( const CImSsReqSubcribeMsg& cImSsReqSubcribeMsg ) - { - m_msg = cImSsReqSubcribeMsg.m_msg; - m_htmlMsg = cImSsReqSubcribeMsg.m_htmlMsg; - return *this; - } - - const string& GetMsg () const { return m_msg; } - bool SetMsg ( const string& strMsg ) - { - m_msg = strMsg; - return true; - } - const map< string,string >& GetHtmlMsg () const { return m_htmlMsg; } - bool SetHtmlMsg ( const map< string,string >& mapHtmlMsg ) - { - m_htmlMsg = mapHtmlMsg; - return true; - } -private: - string m_msg; - map< string,string > m_htmlMsg; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsReqSubcribeMsg::Size() const -{ - uint32_t nSize = 10; - nSize += m_msg.length(); - nSize += m_htmlMsg.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_htmlMsg.begin(); itr != m_htmlMsg.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CImSsRspSubcribeMsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_RSP_SUBCRIBE_MSG - }; - CImSsRspSubcribeMsg() - { - } - - ~CImSsRspSubcribeMsg() { } - CImSsRspSubcribeMsg(const uint8_t& chStatus) - { - m_status = chStatus; - } - CImSsRspSubcribeMsg& operator=( const CImSsRspSubcribeMsg& cImSsRspSubcribeMsg ) - { - m_status = cImSsRspSubcribeMsg.m_status; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } -private: - uint8_t m_status; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsRspSubcribeMsg::Size() const -{ - return 3; -} -class CImReqSystemmessage : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SYSTEMMESSAGE - }; - CImReqSystemmessage() - { - } - - ~CImReqSystemmessage() { } - CImReqSystemmessage(const string& strTouid, const uint8_t& chSaveflag, const uint32_t& dwSysid, const uint16_t& wCmdId, const string& strStyle, const string& strMessage) - { - m_touid = strTouid; - m_saveflag = chSaveflag; - m_sysid = dwSysid; - m_cmdId = wCmdId; - m_style = strStyle; - m_message = strMessage; - } - CImReqSystemmessage& operator=( const CImReqSystemmessage& cImReqSystemmessage ) - { - m_touid = cImReqSystemmessage.m_touid; - m_saveflag = cImReqSystemmessage.m_saveflag; - m_sysid = cImReqSystemmessage.m_sysid; - m_cmdId = cImReqSystemmessage.m_cmdId; - m_style = cImReqSystemmessage.m_style; - m_message = cImReqSystemmessage.m_message; - return *this; - } - - const string& GetTouid () const { return m_touid; } - bool SetTouid ( const string& strTouid ) - { - m_touid = strTouid; - return true; - } - const uint8_t& GetSaveflag () const { return m_saveflag; } - bool SetSaveflag ( const uint8_t& chSaveflag ) - { - m_saveflag = chSaveflag; - return true; - } - const uint32_t& GetSysid () const { return m_sysid; } - bool SetSysid ( const uint32_t& dwSysid ) - { - m_sysid = dwSysid; - return true; - } - const uint16_t& GetCmdId () const { return m_cmdId; } - bool SetCmdId ( const uint16_t& wCmdId ) - { - m_cmdId = wCmdId; - return true; - } - const string& GetStyle () const { return m_style; } - bool SetStyle ( const string& strStyle ) - { - m_style = strStyle; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_touid; - uint8_t m_saveflag; - uint32_t m_sysid; - uint16_t m_cmdId; - string m_style; - string m_message; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImReqSystemmessage::Size() const -{ - uint32_t nSize = 26; - nSize += m_touid.length(); - nSize += m_style.length(); - nSize += m_message.length(); - return nSize; -} - -class CImRspSystemmessage : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SYSTEMMESSAGE - }; - CImRspSystemmessage() - { - } - - ~CImRspSystemmessage() { } - CImRspSystemmessage(const string& strTouid) - { - m_touid = strTouid; - } - CImRspSystemmessage& operator=( const CImRspSystemmessage& cImRspSystemmessage ) - { - m_touid = cImRspSystemmessage.m_touid; - return *this; - } - - const string& GetTouid () const { return m_touid; } - bool SetTouid ( const string& strTouid ) - { - m_touid = strTouid; - return true; - } -private: - string m_touid; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImRspSystemmessage::Size() const -{ - uint32_t nSize = 6; - nSize += m_touid.length(); - return nSize; -} - -class CImSsNtfaddaccept : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_NTFADDACCEPT - }; - CImSsNtfaddaccept() - { - } - - ~CImSsNtfaddaccept() { } - CImSsNtfaddaccept(const string& strLoginid, const string& strContactid, const uint8_t& chStatus) - { - m_loginid = strLoginid; - m_contactid = strContactid; - m_status = chStatus; - } - CImSsNtfaddaccept& operator=( const CImSsNtfaddaccept& cImSsNtfaddaccept ) - { - m_loginid = cImSsNtfaddaccept.m_loginid; - m_contactid = cImSsNtfaddaccept.m_contactid; - m_status = cImSsNtfaddaccept.m_status; - return *this; - } - - const string& GetLoginid () const { return m_loginid; } - bool SetLoginid ( const string& strLoginid ) - { - m_loginid = strLoginid; - return true; - } - const string& GetContactid () const { return m_contactid; } - bool SetContactid ( const string& strContactid ) - { - m_contactid = strContactid; - return true; - } - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } -private: - string m_loginid; - string m_contactid; - uint8_t m_status; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsNtfaddaccept::Size() const -{ - uint32_t nSize = 13; - nSize += m_loginid.length(); - nSize += m_contactid.length(); - return nSize; -} - -class CImSsNtfforbidip : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_NTFFORBIDIP - }; - CImSsNtfforbidip() - { - } - - ~CImSsNtfforbidip() { } - CImSsNtfforbidip(const uint8_t& chType, const VECTOR< SIpBlackSs >& vecBlackIpList) - { - m_type = chType; - m_blackIpList = vecBlackIpList; - } - CImSsNtfforbidip& operator=( const CImSsNtfforbidip& cImSsNtfforbidip ) - { - m_type = cImSsNtfforbidip.m_type; - m_blackIpList = cImSsNtfforbidip.m_blackIpList; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const VECTOR< SIpBlackSs >& GetBlackIpList () const { return m_blackIpList; } - bool SetBlackIpList ( const VECTOR< SIpBlackSs >& vecBlackIpList ) - { - m_blackIpList = vecBlackIpList; - return true; - } -private: - uint8_t m_type; - VECTOR< SIpBlackSs > m_blackIpList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsNtfforbidip::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_blackIpList.size(); i++) - { - nSize += m_blackIpList[i].Size(); - } - return nSize; -} - -class CImSsNtfWatchInfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_NTF_WATCH_INFO - }; - CImSsNtfWatchInfo() : m_site("") - { - } - - ~CImSsNtfWatchInfo() { } - CImSsNtfWatchInfo(const uint8_t& chType, const string& strMessage, const string& strSite= "") - { - m_type = chType; - m_message = strMessage; - m_site = strSite; - } - CImSsNtfWatchInfo& operator=( const CImSsNtfWatchInfo& cImSsNtfWatchInfo ) - { - m_type = cImSsNtfWatchInfo.m_type; - m_message = cImSsNtfWatchInfo.m_message; - m_site = cImSsNtfWatchInfo.m_site; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const string& GetSite () const { return m_site; } - bool SetSite ( const string& strSite ) - { - m_site = strSite; - return true; - } -private: - uint8_t m_type; - string m_message; - string m_site; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsNtfWatchInfo::Size() const -{ - uint32_t nSize = 13; - nSize += m_message.length(); - nSize += m_site.length(); - return nSize; -} - -class CSsNtfRefreshContact : public CPackData -{ -public: - enum - { - CMD_ID = SS_NTF_REFRESH_CONTACT - }; - CSsNtfRefreshContact() : m_groupId(0) - { - } - - ~CSsNtfRefreshContact() { } - CSsNtfRefreshContact(const uint8_t& chType, const string& strContactId, const string& strNickName, const int64_t& llGroupId= 0) - { - m_type = chType; - m_contactId = strContactId; - m_nickName = strNickName; - m_groupId = llGroupId; - } - CSsNtfRefreshContact& operator=( const CSsNtfRefreshContact& cSsNtfRefreshContact ) - { - m_type = cSsNtfRefreshContact.m_type; - m_contactId = cSsNtfRefreshContact.m_contactId; - m_nickName = cSsNtfRefreshContact.m_nickName; - m_groupId = cSsNtfRefreshContact.m_groupId; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const string& GetNickName () const { return m_nickName; } - bool SetNickName ( const string& strNickName ) - { - if(strNickName.size() > 32) - return false; - m_nickName = strNickName; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_type; - string m_contactId; - string m_nickName; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsNtfRefreshContact::Size() const -{ - uint32_t nSize = 22; - nSize += m_contactId.length(); - nSize += m_nickName.length(); - return nSize; -} - -class CSsNtfFeeds : public CPackData -{ -public: - enum - { - CMD_ID = SS_NTF_FEEDS - }; - CSsNtfFeeds() - { - } - - ~CSsNtfFeeds() { } - CSsNtfFeeds(const string& strSite, const string& strFromId, const uint32_t& dwCreateTime, const string& strContent) - { - m_site = strSite; - m_fromId = strFromId; - m_createTime = dwCreateTime; - m_content = strContent; - } - CSsNtfFeeds& operator=( const CSsNtfFeeds& cSsNtfFeeds ) - { - m_site = cSsNtfFeeds.m_site; - m_fromId = cSsNtfFeeds.m_fromId; - m_createTime = cSsNtfFeeds.m_createTime; - m_content = cSsNtfFeeds.m_content; - return *this; - } - - const string& GetSite () const { return m_site; } - bool SetSite ( const string& strSite ) - { - if(strSite.size() > 8) - return false; - m_site = strSite; - return true; - } - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const uint32_t& GetCreateTime () const { return m_createTime; } - bool SetCreateTime ( const uint32_t& dwCreateTime ) - { - m_createTime = dwCreateTime; - return true; - } - const string& GetContent () const { return m_content; } - bool SetContent ( const string& strContent ) - { - m_content = strContent; - return true; - } -private: - string m_site; - string m_fromId; - uint32_t m_createTime; - string m_content; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsNtfFeeds::Size() const -{ - uint32_t nSize = 25; - nSize += m_fromId.length(); - nSize += m_content.length(); - return nSize; -} - -class CSsNtfUserSnsinfo : public CPackData -{ -public: - enum - { - CMD_ID = SS_NTF_USER_SNSINFO - }; - CSsNtfUserSnsinfo() - { - } - - ~CSsNtfUserSnsinfo() { } - CSsNtfUserSnsinfo(const string& strFromId, const uint8_t& chType, const map< string,string >& mapInfo) - { - m_fromId = strFromId; - m_type = chType; - m_info = mapInfo; - } - CSsNtfUserSnsinfo& operator=( const CSsNtfUserSnsinfo& cSsNtfUserSnsinfo ) - { - m_fromId = cSsNtfUserSnsinfo.m_fromId; - m_type = cSsNtfUserSnsinfo.m_type; - m_info = cSsNtfUserSnsinfo.m_info; - return *this; - } - - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const map< string,string >& GetInfo () const { return m_info; } - bool SetInfo ( const map< string,string >& mapInfo ) - { - m_info = mapInfo; - return true; - } -private: - string m_fromId; - uint8_t m_type; - map< string,string > m_info; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsNtfUserSnsinfo::Size() const -{ - uint32_t nSize = 12; - nSize += m_fromId.length(); - nSize += m_info.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_info.begin(); itr != m_info.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CSsNtfAddRcnt : public CPackData -{ -public: - enum - { - CMD_ID = SS_NTF_ADD_RCNT - }; - CSsNtfAddRcnt() - { - } - - ~CSsNtfAddRcnt() { } - CSsNtfAddRcnt(const string& strFromId, const string& strContactId, const uint8_t& chOptime, const uint8_t& chType, const string& strSite) - { - m_fromId = strFromId; - m_contactId = strContactId; - m_optime = chOptime; - m_type = chType; - m_site = strSite; - } - CSsNtfAddRcnt& operator=( const CSsNtfAddRcnt& cSsNtfAddRcnt ) - { - m_fromId = cSsNtfAddRcnt.m_fromId; - m_contactId = cSsNtfAddRcnt.m_contactId; - m_optime = cSsNtfAddRcnt.m_optime; - m_type = cSsNtfAddRcnt.m_type; - m_site = cSsNtfAddRcnt.m_site; - return *this; - } - - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const uint8_t& GetOptime () const { return m_optime; } - bool SetOptime ( const uint8_t& chOptime ) - { - m_optime = chOptime; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetSite () const { return m_site; } - bool SetSite ( const string& strSite ) - { - m_site = strSite; - return true; - } -private: - string m_fromId; - string m_contactId; - uint8_t m_optime; - uint8_t m_type; - string m_site; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsNtfAddRcnt::Size() const -{ - uint32_t nSize = 20; - nSize += m_fromId.length(); - nSize += m_contactId.length(); - nSize += m_site.length(); - return nSize; -} - -class CImSsNtfOperationtip : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_NTF_OPERATIONTIP - }; - CImSsNtfOperationtip() - { - } - - ~CImSsNtfOperationtip() { } - CImSsNtfOperationtip(const string& strContactId, const string& strNtfmessage, const uint32_t& dwNtftime) - { - m_contactId = strContactId; - m_ntfmessage = strNtfmessage; - m_ntftime = dwNtftime; - } - CImSsNtfOperationtip& operator=( const CImSsNtfOperationtip& cImSsNtfOperationtip ) - { - m_contactId = cImSsNtfOperationtip.m_contactId; - m_ntfmessage = cImSsNtfOperationtip.m_ntfmessage; - m_ntftime = cImSsNtfOperationtip.m_ntftime; - return *this; - } - - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - m_contactId = strContactId; - return true; - } - const string& GetNtfmessage () const { return m_ntfmessage; } - bool SetNtfmessage ( const string& strNtfmessage ) - { - m_ntfmessage = strNtfmessage; - return true; - } - const uint32_t& GetNtftime () const { return m_ntftime; } - bool SetNtftime ( const uint32_t& dwNtftime ) - { - m_ntftime = dwNtftime; - return true; - } -private: - string m_contactId; - string m_ntfmessage; - uint32_t m_ntftime; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsNtfOperationtip::Size() const -{ - uint32_t nSize = 16; - nSize += m_contactId.length(); - nSize += m_ntfmessage.length(); - return nSize; -} - -class CSsNtfEhmsGroupsts : public CPackData -{ -public: - enum - { - CMD_ID = SS_NTF_EHMS_GROUPSTS - }; - CSsNtfEhmsGroupsts() - { - } - - ~CSsNtfEhmsGroupsts() { } - CSsNtfEhmsGroupsts(const SEhmsGroupStatus& sGroupSts) - { - m_groupSts = sGroupSts; - } - CSsNtfEhmsGroupsts& operator=( const CSsNtfEhmsGroupsts& cSsNtfEhmsGroupsts ) - { - m_groupSts = cSsNtfEhmsGroupsts.m_groupSts; - return *this; - } - - const SEhmsGroupStatus& GetGroupSts () const { return m_groupSts; } - bool SetGroupSts ( const SEhmsGroupStatus& sGroupSts ) - { - m_groupSts = sGroupSts; - return true; - } -private: - SEhmsGroupStatus m_groupSts; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsNtfEhmsGroupsts::Size() const -{ - uint32_t nSize = 2; - nSize += m_groupSts.Size(); - return nSize; -} - -class CSsNtfEhmsLogin : public CPackData -{ -public: - enum - { - CMD_ID = SS_NTF_EHMS_LOGIN - }; - CSsNtfEhmsLogin() - { - } - - ~CSsNtfEhmsLogin() { } - CSsNtfEhmsLogin(const string& strUid) - { - m_uid = strUid; - } - CSsNtfEhmsLogin& operator=( const CSsNtfEhmsLogin& cSsNtfEhmsLogin ) - { - m_uid = cSsNtfEhmsLogin.m_uid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } -private: - string m_uid; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsNtfEhmsLogin::Size() const -{ - uint32_t nSize = 6; - nSize += m_uid.length(); - return nSize; -} - -class CSsReqGetallehmsgrpsts : public CPackData -{ -public: - enum - { - CMD_ID = SS_REQ_GETALLEHMSGRPSTS - }; - ~CSsReqGetallehmsgrpsts() { } -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsReqGetallehmsgrpsts::Size() const -{ - return 1; -} -class CSsRspGetallehmsgrpsts : public CPackData -{ -public: - enum - { - CMD_ID = SS_RSP_GETALLEHMSGRPSTS - }; - CSsRspGetallehmsgrpsts() - { - } - - ~CSsRspGetallehmsgrpsts() { } - CSsRspGetallehmsgrpsts(const uint8_t& chRetcode, const VECTOR< SEhmsGroupStatus >& vecGroupStsList) - { - m_retcode = chRetcode; - m_groupStsList = vecGroupStsList; - } - CSsRspGetallehmsgrpsts& operator=( const CSsRspGetallehmsgrpsts& cSsRspGetallehmsgrpsts ) - { - m_retcode = cSsRspGetallehmsgrpsts.m_retcode; - m_groupStsList = cSsRspGetallehmsgrpsts.m_groupStsList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const VECTOR< SEhmsGroupStatus >& GetGroupStsList () const { return m_groupStsList; } - bool SetGroupStsList ( const VECTOR< SEhmsGroupStatus >& vecGroupStsList ) - { - m_groupStsList = vecGroupStsList; - return true; - } -private: - uint8_t m_retcode; - VECTOR< SEhmsGroupStatus > m_groupStsList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsRspGetallehmsgrpsts::Size() const -{ - uint32_t nSize = 9; - for(uint32_t i = 0; i < m_groupStsList.size(); i++) - { - nSize += m_groupStsList[i].Size(); - } - return nSize; -} - -class CImSsSendHmsmsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_SEND_HMSMSG - }; - CImSsSendHmsmsg() : m_cmdType(0) - { - } - - ~CImSsSendHmsmsg() { } - CImSsSendHmsmsg(const string& strSenduid, const string& strTargetfid, const string& strTouid, const uint8_t& chType, const string& strMessage, const uint16_t& wActionType, const uint16_t& wCmdType, const uint32_t& dwReserved, const uint32_t& dwUniqtime) - { - m_senduid = strSenduid; - m_targetfid = strTargetfid; - m_touid = strTouid; - m_type = chType; - m_message = strMessage; - m_actionType = wActionType; - m_cmdType = wCmdType; - m_reserved = dwReserved; - m_uniqtime = dwUniqtime; - } - CImSsSendHmsmsg& operator=( const CImSsSendHmsmsg& cImSsSendHmsmsg ) - { - m_senduid = cImSsSendHmsmsg.m_senduid; - m_targetfid = cImSsSendHmsmsg.m_targetfid; - m_touid = cImSsSendHmsmsg.m_touid; - m_type = cImSsSendHmsmsg.m_type; - m_message = cImSsSendHmsmsg.m_message; - m_actionType = cImSsSendHmsmsg.m_actionType; - m_cmdType = cImSsSendHmsmsg.m_cmdType; - m_reserved = cImSsSendHmsmsg.m_reserved; - m_uniqtime = cImSsSendHmsmsg.m_uniqtime; - return *this; - } - - const string& GetSenduid () const { return m_senduid; } - bool SetSenduid ( const string& strSenduid ) - { - m_senduid = strSenduid; - return true; - } - const string& GetTargetfid () const { return m_targetfid; } - bool SetTargetfid ( const string& strTargetfid ) - { - m_targetfid = strTargetfid; - return true; - } - const string& GetTouid () const { return m_touid; } - bool SetTouid ( const string& strTouid ) - { - m_touid = strTouid; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const uint16_t& GetActionType () const { return m_actionType; } - bool SetActionType ( const uint16_t& wActionType ) - { - m_actionType = wActionType; - return true; - } - const uint16_t& GetCmdType () const { return m_cmdType; } - bool SetCmdType ( const uint16_t& wCmdType ) - { - m_cmdType = wCmdType; - return true; - } - const uint32_t& GetReserved () const { return m_reserved; } - bool SetReserved ( const uint32_t& dwReserved ) - { - m_reserved = dwReserved; - return true; - } - const uint32_t& GetUniqtime () const { return m_uniqtime; } - bool SetUniqtime ( const uint32_t& dwUniqtime ) - { - m_uniqtime = dwUniqtime; - return true; - } -private: - string m_senduid; - string m_targetfid; - string m_touid; - uint8_t m_type; - string m_message; - uint16_t m_actionType; - uint16_t m_cmdType; - uint32_t m_reserved; - uint32_t m_uniqtime; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsSendHmsmsg::Size() const -{ - uint32_t nSize = 39; - nSize += m_senduid.length(); - nSize += m_targetfid.length(); - nSize += m_touid.length(); - nSize += m_message.length(); - return nSize; -} - -class CImReqSystemmapmessage : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SYSTEMMAPMESSAGE - }; - CImReqSystemmapmessage() - { - } - - ~CImReqSystemmapmessage() { } - CImReqSystemmapmessage(const uint32_t& dwSysId, const map< string,string >& mapMapmessage, const string& strExtmessage) - { - m_sysId = dwSysId; - m_mapmessage = mapMapmessage; - m_extmessage = strExtmessage; - } - CImReqSystemmapmessage& operator=( const CImReqSystemmapmessage& cImReqSystemmapmessage ) - { - m_sysId = cImReqSystemmapmessage.m_sysId; - m_mapmessage = cImReqSystemmapmessage.m_mapmessage; - m_extmessage = cImReqSystemmapmessage.m_extmessage; - return *this; - } - - const uint32_t& GetSysId () const { return m_sysId; } - bool SetSysId ( const uint32_t& dwSysId ) - { - m_sysId = dwSysId; - return true; - } - const map< string,string >& GetMapmessage () const { return m_mapmessage; } - bool SetMapmessage ( const map< string,string >& mapMapmessage ) - { - m_mapmessage = mapMapmessage; - return true; - } - const string& GetExtmessage () const { return m_extmessage; } - bool SetExtmessage ( const string& strExtmessage ) - { - m_extmessage = strExtmessage; - return true; - } -private: - uint32_t m_sysId; - map< string,string > m_mapmessage; - string m_extmessage; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImReqSystemmapmessage::Size() const -{ - uint32_t nSize = 15; - nSize += m_mapmessage.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_mapmessage.begin(); itr != m_mapmessage.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - nSize += m_extmessage.length(); - return nSize; -} - -class CImRspSystemmapmessage : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SYSTEMMAPMESSAGE - }; - CImRspSystemmapmessage() - { - } - - ~CImRspSystemmapmessage() { } - CImRspSystemmapmessage(const uint32_t& dwSysId, const uint32_t& dwStatus) - { - m_sysId = dwSysId; - m_status = dwStatus; - } - CImRspSystemmapmessage& operator=( const CImRspSystemmapmessage& cImRspSystemmapmessage ) - { - m_sysId = cImRspSystemmapmessage.m_sysId; - m_status = cImRspSystemmapmessage.m_status; - return *this; - } - - const uint32_t& GetSysId () const { return m_sysId; } - bool SetSysId ( const uint32_t& dwSysId ) - { - m_sysId = dwSysId; - return true; - } - const uint32_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint32_t& dwStatus ) - { - m_status = dwStatus; - return true; - } -private: - uint32_t m_sysId; - uint32_t m_status; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImRspSystemmapmessage::Size() const -{ - return 11; -} -class CImSsNtfWebsysmessage : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_NTF_WEBSYSMESSAGE - }; - CImSsNtfWebsysmessage() - { - } - - ~CImSsNtfWebsysmessage() { } - CImSsNtfWebsysmessage(const string& strCreateid, const int32_t& lCmdid, const string& strStyle, const string& strMessage, const string& strServiceid, const string& strWebid, const uint16_t& wSaveflag, const string& strExpiretime) - { - m_createid = strCreateid; - m_cmdid = lCmdid; - m_style = strStyle; - m_message = strMessage; - m_serviceid = strServiceid; - m_webid = strWebid; - m_saveflag = wSaveflag; - m_expiretime = strExpiretime; - } - CImSsNtfWebsysmessage& operator=( const CImSsNtfWebsysmessage& cImSsNtfWebsysmessage ) - { - m_createid = cImSsNtfWebsysmessage.m_createid; - m_cmdid = cImSsNtfWebsysmessage.m_cmdid; - m_style = cImSsNtfWebsysmessage.m_style; - m_message = cImSsNtfWebsysmessage.m_message; - m_serviceid = cImSsNtfWebsysmessage.m_serviceid; - m_webid = cImSsNtfWebsysmessage.m_webid; - m_saveflag = cImSsNtfWebsysmessage.m_saveflag; - m_expiretime = cImSsNtfWebsysmessage.m_expiretime; - return *this; - } - - const string& GetCreateid () const { return m_createid; } - bool SetCreateid ( const string& strCreateid ) - { - m_createid = strCreateid; - return true; - } - const int32_t& GetCmdid () const { return m_cmdid; } - bool SetCmdid ( const int32_t& lCmdid ) - { - m_cmdid = lCmdid; - return true; - } - const string& GetStyle () const { return m_style; } - bool SetStyle ( const string& strStyle ) - { - m_style = strStyle; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const string& GetServiceid () const { return m_serviceid; } - bool SetServiceid ( const string& strServiceid ) - { - m_serviceid = strServiceid; - return true; - } - const string& GetWebid () const { return m_webid; } - bool SetWebid ( const string& strWebid ) - { - m_webid = strWebid; - return true; - } - const uint16_t& GetSaveflag () const { return m_saveflag; } - bool SetSaveflag ( const uint16_t& wSaveflag ) - { - m_saveflag = wSaveflag; - return true; - } - const string& GetExpiretime () const { return m_expiretime; } - bool SetExpiretime ( const string& strExpiretime ) - { - m_expiretime = strExpiretime; - return true; - } -private: - string m_createid; - int32_t m_cmdid; - string m_style; - string m_message; - string m_serviceid; - string m_webid; - uint16_t m_saveflag; - string m_expiretime; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsNtfWebsysmessage::Size() const -{ - uint32_t nSize = 39; - nSize += m_createid.length(); - nSize += m_style.length(); - nSize += m_message.length(); - nSize += m_serviceid.length(); - nSize += m_webid.length(); - nSize += m_expiretime.length(); - return nSize; -} - -class CImSsNtfWebusermessage : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_NTF_WEBUSERMESSAGE - }; - CImSsNtfWebusermessage() - { - } - - ~CImSsNtfWebusermessage() { } - CImSsNtfWebusermessage(const string& strFromId, const int32_t& lCmdId, const map< string,string >& mapInfo, const string& strServiceid, const string& strWebid) - { - m_fromId = strFromId; - m_cmdId = lCmdId; - m_info = mapInfo; - m_serviceid = strServiceid; - m_webid = strWebid; - } - CImSsNtfWebusermessage& operator=( const CImSsNtfWebusermessage& cImSsNtfWebusermessage ) - { - m_fromId = cImSsNtfWebusermessage.m_fromId; - m_cmdId = cImSsNtfWebusermessage.m_cmdId; - m_info = cImSsNtfWebusermessage.m_info; - m_serviceid = cImSsNtfWebusermessage.m_serviceid; - m_webid = cImSsNtfWebusermessage.m_webid; - return *this; - } - - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - m_fromId = strFromId; - return true; - } - const int32_t& GetCmdId () const { return m_cmdId; } - bool SetCmdId ( const int32_t& lCmdId ) - { - m_cmdId = lCmdId; - return true; - } - const map< string,string >& GetInfo () const { return m_info; } - bool SetInfo ( const map< string,string >& mapInfo ) - { - m_info = mapInfo; - return true; - } - const string& GetServiceid () const { return m_serviceid; } - bool SetServiceid ( const string& strServiceid ) - { - m_serviceid = strServiceid; - return true; - } - const string& GetWebid () const { return m_webid; } - bool SetWebid ( const string& strWebid ) - { - m_webid = strWebid; - return true; - } -private: - string m_fromId; - int32_t m_cmdId; - map< string,string > m_info; - string m_serviceid; - string m_webid; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsNtfWebusermessage::Size() const -{ - uint32_t nSize = 25; - nSize += m_fromId.length(); - nSize += m_info.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_info.begin(); itr != m_info.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - nSize += m_serviceid.length(); - nSize += m_webid.length(); - return nSize; -} - -class CSsNtfUnbindDisconnect : public CPackData -{ -public: - enum - { - CMD_ID = SS_NTF_UNBIND_DISCONNECT - }; - CSsNtfUnbindDisconnect() - { - } - - ~CSsNtfUnbindDisconnect() { } - CSsNtfUnbindDisconnect(const uint8_t& chType, const string& strRemark) - { - m_type = chType; - m_remark = strRemark; - } - CSsNtfUnbindDisconnect& operator=( const CSsNtfUnbindDisconnect& cSsNtfUnbindDisconnect ) - { - m_type = cSsNtfUnbindDisconnect.m_type; - m_remark = cSsNtfUnbindDisconnect.m_remark; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - if(strRemark.size() > 256) - return false; - m_remark = strRemark; - return true; - } -private: - uint8_t m_type; - string m_remark; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsNtfUnbindDisconnect::Size() const -{ - uint32_t nSize = 8; - nSize += m_remark.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/.svn/text-base/infoservice.h.svn-base b/features/aliww/include/.svn/text-base/infoservice.h.svn-base deleted file mode 100644 index 9238449..0000000 --- a/features/aliww/include/.svn/text-base/infoservice.h.svn-base +++ /dev/null @@ -1,554 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `infoservice.ice' - -#ifndef __infoservice_h__ -#define __infoservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class IUserExtInfoService; -bool operator==(const IUserExtInfoService&, const IUserExtInfoService&); -bool operator!=(const IUserExtInfoService&, const IUserExtInfoService&); -bool operator<(const IUserExtInfoService&, const IUserExtInfoService&); -bool operator<=(const IUserExtInfoService&, const IUserExtInfoService&); -bool operator>(const IUserExtInfoService&, const IUserExtInfoService&); -bool operator>=(const IUserExtInfoService&, const IUserExtInfoService&); - -} - -} - -namespace AliIM -{ - -class IUserExtInfoService; -bool operator==(const IUserExtInfoService&, const IUserExtInfoService&); -bool operator!=(const IUserExtInfoService&, const IUserExtInfoService&); -bool operator<(const IUserExtInfoService&, const IUserExtInfoService&); -bool operator<=(const IUserExtInfoService&, const IUserExtInfoService&); -bool operator>(const IUserExtInfoService&, const IUserExtInfoService&); -bool operator>=(const IUserExtInfoService&, const IUserExtInfoService&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::IUserExtInfoService*); -void decRef(::AliIM::IUserExtInfoService*); - -void incRef(::IceProxy::AliIM::IUserExtInfoService*); -void decRef(::IceProxy::AliIM::IUserExtInfoService*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::IUserExtInfoService> IUserExtInfoServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::IUserExtInfoService> IUserExtInfoServicePrx; - -void __write(::IceInternal::BasicStream*, const IUserExtInfoServicePrx&); -void __read(::IceInternal::BasicStream*, IUserExtInfoServicePrx&); -void __write(::IceInternal::BasicStream*, const IUserExtInfoServicePtr&); -void __patch__IUserExtInfoServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IUserExtInfoServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IUserExtInfoServicePtr&); -void __decRefUnsafe(const IUserExtInfoServicePtr&); -void __clearHandleUnsafe(IUserExtInfoServicePtr&); - -} - -namespace AliIM -{ - -typedef ::std::map< ::std::string, ::std::string> KVMAP; - -class __U__KVMAP { }; -void __write(::IceInternal::BasicStream*, const KVMAP&, __U__KVMAP); -void __read(::IceInternal::BasicStream*, KVMAP&, __U__KVMAP); - -struct SImSign -{ - ::std::string longuid; - ::std::string sign; - - bool operator==(const SImSign&) const; - bool operator!=(const SImSign&) const; - bool operator<(const SImSign&) const; - bool operator<=(const SImSign& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SImSign& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SImSign& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIM::SImSign> SIMSignSeq; - -class __U__SIMSignSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIM::SImSign*, const ::AliIM::SImSign*, __U__SIMSignSeq); -void __read(::IceInternal::BasicStream*, SIMSignSeq&, __U__SIMSignSeq); - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class IUserExtInfoService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int getUserExtInfo(::Ice::Int srvid, const ::std::string& longuid, ::AliIM::KVMAP& attrs) - { - return getUserExtInfo(srvid, longuid, attrs, 0); - } - ::Ice::Int getUserExtInfo(::Ice::Int srvid, const ::std::string& longuid, ::AliIM::KVMAP& attrs, const ::Ice::Context& __ctx) - { - return getUserExtInfo(srvid, longuid, attrs, &__ctx); - } - -private: - - ::Ice::Int getUserExtInfo(::Ice::Int, const ::std::string&, ::AliIM::KVMAP&, const ::Ice::Context*); - -public: - - ::Ice::Int updateUserExtInfo(::Ice::Int srvid, const ::std::string& longuid, ::Ice::Int reserved, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs) - { - return updateUserExtInfo(srvid, longuid, reserved, neednotify, attrs, 0); - } - ::Ice::Int updateUserExtInfo(::Ice::Int srvid, const ::std::string& longuid, ::Ice::Int reserved, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context& __ctx) - { - return updateUserExtInfo(srvid, longuid, reserved, neednotify, attrs, &__ctx); - } - -private: - - ::Ice::Int updateUserExtInfo(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - -public: - - ::Ice::Int notifySpaceOpen(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs) - { - return notifySpaceOpen(longuid, neednotify, attrs, 0); - } - ::Ice::Int notifySpaceOpen(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context& __ctx) - { - return notifySpaceOpen(longuid, neednotify, attrs, &__ctx); - } - -private: - - ::Ice::Int notifySpaceOpen(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - -public: - - ::Ice::Int addBlogSign(const ::std::string& longuid, const ::std::string& text) - { - return addBlogSign(longuid, text, 0); - } - ::Ice::Int addBlogSign(const ::std::string& longuid, const ::std::string& text, const ::Ice::Context& __ctx) - { - return addBlogSign(longuid, text, &__ctx); - } - -private: - - ::Ice::Int addBlogSign(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int NotifyPluginMsg(const ::std::string& longuid, const ::std::string& xmltext) - { - return NotifyPluginMsg(longuid, xmltext, 0); - } - ::Ice::Int NotifyPluginMsg(const ::std::string& longuid, const ::std::string& xmltext, const ::Ice::Context& __ctx) - { - return NotifyPluginMsg(longuid, xmltext, &__ctx); - } - -private: - - ::Ice::Int NotifyPluginMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateSignature(const ::std::string& uid, const ::std::string& xmlsignature) - { - return UpdateSignature(uid, xmlsignature, 0); - } - ::Ice::Int UpdateSignature(const ::std::string& uid, const ::std::string& xmlsignature, const ::Ice::Context& __ctx) - { - return UpdateSignature(uid, xmlsignature, &__ctx); - } - -private: - - ::Ice::Int UpdateSignature(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getBatchSignature(const ::Ice::StringSeq& uids, ::AliIM::SIMSignSeq& signlist) - { - return getBatchSignature(uids, signlist, 0); - } - ::Ice::Int getBatchSignature(const ::Ice::StringSeq& uids, ::AliIM::SIMSignSeq& signlist, const ::Ice::Context& __ctx) - { - return getBatchSignature(uids, signlist, &__ctx); - } - -private: - - ::Ice::Int getBatchSignature(const ::Ice::StringSeq&, ::AliIM::SIMSignSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int NotifyUserDoings(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs) - { - return NotifyUserDoings(longuid, neednotify, attrs, 0); - } - ::Ice::Int NotifyUserDoings(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context& __ctx) - { - return NotifyUserDoings(longuid, neednotify, attrs, &__ctx); - } - -private: - - ::Ice::Int NotifyUserDoings(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - -public: - - ::Ice::Int NotifyUserDoingsClose(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs) - { - return NotifyUserDoingsClose(longuid, neednotify, attrs, 0); - } - ::Ice::Int NotifyUserDoingsClose(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context& __ctx) - { - return NotifyUserDoingsClose(longuid, neednotify, attrs, &__ctx); - } - -private: - - ::Ice::Int NotifyUserDoingsClose(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - -public: - - ::Ice::Int NotifyPluginMsg2(const ::std::string& longuid, const ::std::string& xmltext, const ::AliIM::KVMAP& attrs) - { - return NotifyPluginMsg2(longuid, xmltext, attrs, 0); - } - ::Ice::Int NotifyPluginMsg2(const ::std::string& longuid, const ::std::string& xmltext, const ::AliIM::KVMAP& attrs, const ::Ice::Context& __ctx) - { - return NotifyPluginMsg2(longuid, xmltext, attrs, &__ctx); - } - -private: - - ::Ice::Int NotifyPluginMsg2(const ::std::string&, const ::std::string&, const ::AliIM::KVMAP&, const ::Ice::Context*); - -public: - - ::Ice::Int getSpaceOpen(const ::std::string& longuid) - { - return getSpaceOpen(longuid, 0); - } - ::Ice::Int getSpaceOpen(const ::std::string& longuid, const ::Ice::Context& __ctx) - { - return getSpaceOpen(longuid, &__ctx); - } - -private: - - ::Ice::Int getSpaceOpen(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int NotifyUserVip(const ::std::string& longuid, ::Ice::Int viplevel, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs) - { - return NotifyUserVip(longuid, viplevel, neednotify, attrs, 0); - } - ::Ice::Int NotifyUserVip(const ::std::string& longuid, ::Ice::Int viplevel, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context& __ctx) - { - return NotifyUserVip(longuid, viplevel, neednotify, attrs, &__ctx); - } - -private: - - ::Ice::Int NotifyUserVip(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - -public: - - ::Ice::Int NotifyAppMsg(const ::std::string& longUid, const ::std::string& xmlstr, const ::AliIM::KVMAP& attrs) - { - return NotifyAppMsg(longUid, xmlstr, attrs, 0); - } - ::Ice::Int NotifyAppMsg(const ::std::string& longUid, const ::std::string& xmlstr, const ::AliIM::KVMAP& attrs, const ::Ice::Context& __ctx) - { - return NotifyAppMsg(longUid, xmlstr, attrs, &__ctx); - } - -private: - - ::Ice::Int NotifyAppMsg(const ::std::string&, const ::std::string&, const ::AliIM::KVMAP&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class IUserExtInfoService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int getUserExtInfo(::Ice::Int, const ::std::string&, ::AliIM::KVMAP&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateUserExtInfo(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int notifySpaceOpen(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int addBlogSign(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int NotifyPluginMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateSignature(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getBatchSignature(const ::Ice::StringSeq&, ::AliIM::SIMSignSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int NotifyUserDoings(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int NotifyUserDoingsClose(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int NotifyPluginMsg2(const ::std::string&, const ::std::string&, const ::AliIM::KVMAP&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getSpaceOpen(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int NotifyUserVip(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int NotifyAppMsg(const ::std::string&, const ::std::string&, const ::AliIM::KVMAP&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class IUserExtInfoService : virtual public ::IceDelegate::AliIM::IUserExtInfoService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int getUserExtInfo(::Ice::Int, const ::std::string&, ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserExtInfo(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int notifySpaceOpen(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int addBlogSign(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyPluginMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateSignature(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getBatchSignature(const ::Ice::StringSeq&, ::AliIM::SIMSignSeq&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyUserDoings(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyUserDoingsClose(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyPluginMsg2(const ::std::string&, const ::std::string&, const ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int getSpaceOpen(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyUserVip(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyAppMsg(const ::std::string&, const ::std::string&, const ::AliIM::KVMAP&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class IUserExtInfoService : virtual public ::IceDelegate::AliIM::IUserExtInfoService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int getUserExtInfo(::Ice::Int, const ::std::string&, ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserExtInfo(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int notifySpaceOpen(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int addBlogSign(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyPluginMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateSignature(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getBatchSignature(const ::Ice::StringSeq&, ::AliIM::SIMSignSeq&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyUserDoings(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyUserDoingsClose(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyPluginMsg2(const ::std::string&, const ::std::string&, const ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int getSpaceOpen(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyUserVip(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyAppMsg(const ::std::string&, const ::std::string&, const ::AliIM::KVMAP&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class IUserExtInfoService : virtual public ::Ice::Object -{ -public: - - typedef IUserExtInfoServicePrx ProxyType; - typedef IUserExtInfoServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int getUserExtInfo(::Ice::Int, const ::std::string&, ::AliIM::KVMAP&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserExtInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateUserExtInfo(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateUserExtInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int notifySpaceOpen(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___notifySpaceOpen(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int addBlogSign(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addBlogSign(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int NotifyPluginMsg(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___NotifyPluginMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateSignature(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateSignature(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getBatchSignature(const ::Ice::StringSeq&, ::AliIM::SIMSignSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getBatchSignature(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int NotifyUserDoings(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___NotifyUserDoings(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int NotifyUserDoingsClose(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___NotifyUserDoingsClose(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int NotifyPluginMsg2(const ::std::string&, const ::std::string&, const ::AliIM::KVMAP&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___NotifyPluginMsg2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getSpaceOpen(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getSpaceOpen(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int NotifyUserVip(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___NotifyUserVip(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int NotifyAppMsg(const ::std::string&, const ::std::string&, const ::AliIM::KVMAP&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___NotifyAppMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IUserExtInfoServicePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/login_info_center.h.svn-base b/features/aliww/include/.svn/text-base/login_info_center.h.svn-base deleted file mode 100644 index 27e719b..0000000 --- a/features/aliww/include/.svn/text-base/login_info_center.h.svn-base +++ /dev/null @@ -1,337 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `login_info_center.ice' - -#ifndef __login_info_center_h__ -#define __login_info_center_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace LoginInfoCenter -{ - -class LoginInfoInterface; -bool operator==(const LoginInfoInterface&, const LoginInfoInterface&); -bool operator!=(const LoginInfoInterface&, const LoginInfoInterface&); -bool operator<(const LoginInfoInterface&, const LoginInfoInterface&); -bool operator<=(const LoginInfoInterface&, const LoginInfoInterface&); -bool operator>(const LoginInfoInterface&, const LoginInfoInterface&); -bool operator>=(const LoginInfoInterface&, const LoginInfoInterface&); - -} - -} - -namespace LoginInfoCenter -{ - -class LoginInfoInterface; -bool operator==(const LoginInfoInterface&, const LoginInfoInterface&); -bool operator!=(const LoginInfoInterface&, const LoginInfoInterface&); -bool operator<(const LoginInfoInterface&, const LoginInfoInterface&); -bool operator<=(const LoginInfoInterface&, const LoginInfoInterface&); -bool operator>(const LoginInfoInterface&, const LoginInfoInterface&); -bool operator>=(const LoginInfoInterface&, const LoginInfoInterface&); - -} - -namespace IceInternal -{ - -void incRef(::LoginInfoCenter::LoginInfoInterface*); -void decRef(::LoginInfoCenter::LoginInfoInterface*); - -void incRef(::IceProxy::LoginInfoCenter::LoginInfoInterface*); -void decRef(::IceProxy::LoginInfoCenter::LoginInfoInterface*); - -} - -namespace LoginInfoCenter -{ - -typedef ::IceInternal::Handle< ::LoginInfoCenter::LoginInfoInterface> LoginInfoInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::LoginInfoCenter::LoginInfoInterface> LoginInfoInterfacePrx; - -void __write(::IceInternal::BasicStream*, const LoginInfoInterfacePrx&); -void __read(::IceInternal::BasicStream*, LoginInfoInterfacePrx&); -void __write(::IceInternal::BasicStream*, const LoginInfoInterfacePtr&); -void __patch__LoginInfoInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const LoginInfoInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const LoginInfoInterfacePtr&); -void __decRefUnsafe(const LoginInfoInterfacePtr&); -void __clearHandleUnsafe(LoginInfoInterfacePtr&); - -} - -namespace LoginInfoCenter -{ - -struct SICELoginInfo -{ - ::Ice::Int clifd; - ::Ice::Int cliip; - ::Ice::Int onlineTime; - ::Ice::Int sysMsgId; - ::Ice::Int language; - ::Ice::Short activeState; - ::Ice::Short userLevel; - ::Ice::Short userType; - ::Ice::Short vipType; - ::Ice::Short mulMsgFlag; - ::Ice::Float totalActDegree; - ::std::string uid; - ::std::string deskey; - ::std::string version; - - bool operator==(const SICELoginInfo&) const; - bool operator!=(const SICELoginInfo&) const; - bool operator<(const SICELoginInfo&) const; - bool operator<=(const SICELoginInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICELoginInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICELoginInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -} - -namespace IceProxy -{ - -namespace LoginInfoCenter -{ - -class LoginInfoInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int SetLoginInfo(const ::std::string& uid, const ::LoginInfoCenter::SICELoginInfo& info) - { - return SetLoginInfo(uid, info, 0); - } - ::Ice::Int SetLoginInfo(const ::std::string& uid, const ::LoginInfoCenter::SICELoginInfo& info, const ::Ice::Context& __ctx) - { - return SetLoginInfo(uid, info, &__ctx); - } - -private: - - ::Ice::Int SetLoginInfo(const ::std::string&, const ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateLoginInfo(const ::LoginInfoCenter::SICELoginInfo& info) - { - return UpdateLoginInfo(info, 0); - } - ::Ice::Int UpdateLoginInfo(const ::LoginInfoCenter::SICELoginInfo& info, const ::Ice::Context& __ctx) - { - return UpdateLoginInfo(info, &__ctx); - } - -private: - - ::Ice::Int UpdateLoginInfo(const ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DelLoginInfo(const ::std::string& uid) - { - return DelLoginInfo(uid, 0); - } - ::Ice::Int DelLoginInfo(const ::std::string& uid, const ::Ice::Context& __ctx) - { - return DelLoginInfo(uid, &__ctx); - } - -private: - - ::Ice::Int DelLoginInfo(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetLoginInfo(const ::std::string& uid, ::LoginInfoCenter::SICELoginInfo& obj) - { - return GetLoginInfo(uid, obj, 0); - } - ::Ice::Int GetLoginInfo(const ::std::string& uid, ::LoginInfoCenter::SICELoginInfo& obj, const ::Ice::Context& __ctx) - { - return GetLoginInfo(uid, obj, &__ctx); - } - -private: - - ::Ice::Int GetLoginInfo(const ::std::string&, ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace LoginInfoCenter -{ - -class LoginInfoInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int SetLoginInfo(const ::std::string&, const ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateLoginInfo(const ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelLoginInfo(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetLoginInfo(const ::std::string&, ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace LoginInfoCenter -{ - -class LoginInfoInterface : virtual public ::IceDelegate::LoginInfoCenter::LoginInfoInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int SetLoginInfo(const ::std::string&, const ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateLoginInfo(const ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DelLoginInfo(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetLoginInfo(const ::std::string&, ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace LoginInfoCenter -{ - -class LoginInfoInterface : virtual public ::IceDelegate::LoginInfoCenter::LoginInfoInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int SetLoginInfo(const ::std::string&, const ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateLoginInfo(const ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DelLoginInfo(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetLoginInfo(const ::std::string&, ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Context*); -}; - -} - -} - -namespace LoginInfoCenter -{ - -class LoginInfoInterface : virtual public ::Ice::Object -{ -public: - - typedef LoginInfoInterfacePrx ProxyType; - typedef LoginInfoInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int SetLoginInfo(const ::std::string&, const ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___SetLoginInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateLoginInfo(const ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateLoginInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DelLoginInfo(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelLoginInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetLoginInfo(const ::std::string&, ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetLoginInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__LoginInfoInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/logss_pack.h.svn-base b/features/aliww/include/.svn/text-base/logss_pack.h.svn-base deleted file mode 100644 index 0a85134..0000000 --- a/features/aliww/include/.svn/text-base/logss_pack.h.svn-base +++ /dev/null @@ -1,176 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: logss_pack.h -// Date: 2011-01-30 12:49:51 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __LOGSS_PACK_H__ -#define __LOGSS_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "ss_head.h" -#include "const_macro.h" - -using namespace std; - -enum LOG_REQUEST -{ - SS_REQ_LOG = 0x2, - -}; - -enum LOG_RESPONSE -{ - SS_RSP_LOG = 0x1, - -}; - -struct SLogServerInfo -{ -public: - SLogServerInfo() - { - } - - ~SLogServerInfo() { } - SLogServerInfo(const string& strMachineInfo, const string& strType) - { - m_machineInfo = strMachineInfo; - m_type = strType; - } - SLogServerInfo& operator=( const SLogServerInfo& sLogServerInfo ) - { - m_machineInfo = sLogServerInfo.m_machineInfo; - m_type = sLogServerInfo.m_type; - return *this; - } - - string m_machineInfo; - string m_type; - -public: - uint32_t Size() const; -}; - -inline uint32_t SLogServerInfo::Size() const -{ - uint32_t nSize = 11; - nSize += m_machineInfo.length(); - nSize += m_type.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SLogServerInfo& sLogServerInfo ); -CPackData& operator>> ( CPackData& cPackData, SLogServerInfo& sLogServerInfo ); - -class CSsReqLog : public CPackData -{ -public: - enum - { - CMD_ID = SS_REQ_LOG - }; - CSsReqLog() - { - } - - ~CSsReqLog() { } - CSsReqLog(const SLogServerInfo& sHostInfo, const string& strWarnInfo) - { - m_hostInfo = sHostInfo; - m_warnInfo = strWarnInfo; - } - CSsReqLog& operator=( const CSsReqLog& cSsReqLog ) - { - m_hostInfo = cSsReqLog.m_hostInfo; - m_warnInfo = cSsReqLog.m_warnInfo; - return *this; - } - - const SLogServerInfo& GetHostInfo () const { return m_hostInfo; } - bool SetHostInfo ( const SLogServerInfo& sHostInfo ) - { - m_hostInfo = sHostInfo; - return true; - } - const string& GetWarnInfo () const { return m_warnInfo; } - bool SetWarnInfo ( const string& strWarnInfo ) - { - m_warnInfo = strWarnInfo; - return true; - } -private: - SLogServerInfo m_hostInfo; - string m_warnInfo; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsReqLog::Size() const -{ - uint32_t nSize = 7; - nSize += m_hostInfo.Size(); - nSize += m_warnInfo.length(); - return nSize; -} - -class CSsRspLog : public CPackData -{ -public: - enum - { - CMD_ID = SS_RSP_LOG - }; - CSsRspLog() - { - } - - ~CSsRspLog() { } - CSsRspLog(const string& strInfo) - { - m_info = strInfo; - } - CSsRspLog& operator=( const CSsRspLog& cSsRspLog ) - { - m_info = cSsRspLog.m_info; - return *this; - } - - const string& GetInfo () const { return m_info; } - bool SetInfo ( const string& strInfo ) - { - m_info = strInfo; - return true; - } -private: - string m_info; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsRspLog::Size() const -{ - uint32_t nSize = 6; - nSize += m_info.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/.svn/text-base/md5hash.h.svn-base b/features/aliww/include/.svn/text-base/md5hash.h.svn-base deleted file mode 100644 index 52bfe25..0000000 --- a/features/aliww/include/.svn/text-base/md5hash.h.svn-base +++ /dev/null @@ -1,34 +0,0 @@ -#pragma once -#include -#include - -class Md5Hash -{ -public: - Md5Hash(void); - ~Md5Hash(void); - static std::string GetMD5(const std::string& buf,bool bHex = false); - - - //RSA MD5 implementation - void Transform(const unsigned char Block[64]); - void Update( const unsigned char* Input, unsigned nInputLen); - std::string Final(bool bHex = false); - - inline unsigned RotateLeft(unsigned x, int n); - inline void FF( unsigned& A, unsigned B, unsigned C, unsigned D, unsigned X, unsigned S, unsigned T); - inline void GG( unsigned& A, unsigned B, unsigned C, unsigned D, unsigned X, unsigned S, unsigned T); - inline void HH( unsigned& A, unsigned B, unsigned C, unsigned D, unsigned X, unsigned S, unsigned T); - inline void II( unsigned& A, unsigned B, unsigned C, unsigned D, unsigned X, unsigned S, unsigned T); - //utility functions - void DWordToByte(unsigned char* Output, const unsigned* Input, unsigned nLength); - void ByteToDWord(unsigned* Output, const unsigned char* Input, unsigned nLength); - -private: -private: - unsigned char m_lpszBuffer[64]; //input buffer - unsigned m_nCount[2]; //number of bits, modulo 2^64 (lsb first) - unsigned m_lMD5[4]; //MD5 checksum - -}; - diff --git a/features/aliww/include/.svn/text-base/monitorsc_pack.h.svn-base b/features/aliww/include/.svn/text-base/monitorsc_pack.h.svn-base deleted file mode 100644 index 77bd098..0000000 --- a/features/aliww/include/.svn/text-base/monitorsc_pack.h.svn-base +++ /dev/null @@ -1,376 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: monitorsc_pack.h -// Date: 2011-01-30 12:49:47 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __MONITORSC_PACK_H__ -#define __MONITORSC_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "des.h" -#include -#include "sc_head.h" -#include "const_macro.h" - -using namespace std; - -enum MONITOR_CMD -{ - SC_REQ_REGISTER = 0x1, - SC_RSP_REGISTER = 0x2, - SC_REQ_CANCEL_REGISTER = 0x3, - SC_RSP_CANCEL_REGISTER = 0x4, - SC_REQ_SVR_STATUS = 0x5, - -}; - -struct SAppServerInfo -{ -public: - SAppServerInfo() - { - } - - ~SAppServerInfo() { } - SAppServerInfo(const uint32_t& dwId, const string& strIdcname, const string& strIp, const string& strApptype, const string& strProcessname, const string& strMachineinfo, const string& strMonitortype, const uint32_t& dwInterval, const string& strVersion) - { - m_id = dwId; - m_idcname = strIdcname; - m_ip = strIp; - m_apptype = strApptype; - m_processname = strProcessname; - m_machineinfo = strMachineinfo; - m_monitortype = strMonitortype; - m_interval = dwInterval; - m_version = strVersion; - } - SAppServerInfo& operator=( const SAppServerInfo& sAppServerInfo ) - { - m_id = sAppServerInfo.m_id; - m_idcname = sAppServerInfo.m_idcname; - m_ip = sAppServerInfo.m_ip; - m_apptype = sAppServerInfo.m_apptype; - m_processname = sAppServerInfo.m_processname; - m_machineinfo = sAppServerInfo.m_machineinfo; - m_monitortype = sAppServerInfo.m_monitortype; - m_interval = sAppServerInfo.m_interval; - m_version = sAppServerInfo.m_version; - return *this; - } - - uint32_t m_id; - string m_idcname; - string m_ip; - string m_apptype; - string m_processname; - string m_machineinfo; - string m_monitortype; - uint32_t m_interval; - string m_version; - -public: - uint32_t Size() const; -}; - -inline uint32_t SAppServerInfo::Size() const -{ - uint32_t nSize = 46; - nSize += m_idcname.length(); - nSize += m_ip.length(); - nSize += m_apptype.length(); - nSize += m_processname.length(); - nSize += m_machineinfo.length(); - nSize += m_monitortype.length(); - nSize += m_version.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SAppServerInfo& sAppServerInfo ); -CPackData& operator>> ( CPackData& cPackData, SAppServerInfo& sAppServerInfo ); - -class CScReqRegister : public CPackData -{ -public: - enum - { - CMD_ID = SC_REQ_REGISTER - }; - CScReqRegister() - { - } - - ~CScReqRegister() { } - CScReqRegister(const SAppServerInfo& sInfo) - { - m_info = sInfo; - } - CScReqRegister& operator=( const CScReqRegister& cScReqRegister ) - { - m_info = cScReqRegister.m_info; - return *this; - } - - const SAppServerInfo& GetInfo () const { return m_info; } - bool SetInfo ( const SAppServerInfo& sInfo ) - { - m_info = sInfo; - return true; - } -private: - SAppServerInfo m_info; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CScReqRegister::Size() const -{ - uint32_t nSize = 2; - nSize += m_info.Size(); - return nSize; -} - -class CScRspRegister : public CPackData -{ -public: - enum - { - CMD_ID = SC_RSP_REGISTER - }; - CScRspRegister() - { - } - - ~CScRspRegister() { } - CScRspRegister(const uint32_t& dwRetcode, const uint32_t& dwId) - { - m_retcode = dwRetcode; - m_id = dwId; - } - CScRspRegister& operator=( const CScRspRegister& cScRspRegister ) - { - m_retcode = cScRspRegister.m_retcode; - m_id = cScRspRegister.m_id; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint32_t& GetId () const { return m_id; } - bool SetId ( const uint32_t& dwId ) - { - m_id = dwId; - return true; - } -private: - uint32_t m_retcode; - uint32_t m_id; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CScRspRegister::Size() const -{ - return 11; -} -class CScReqCancelRegister : public CPackData -{ -public: - enum - { - CMD_ID = SC_REQ_CANCEL_REGISTER - }; - CScReqCancelRegister() - { - } - - ~CScReqCancelRegister() { } - CScReqCancelRegister(const SAppServerInfo& sInfo) - { - m_info = sInfo; - } - CScReqCancelRegister& operator=( const CScReqCancelRegister& cScReqCancelRegister ) - { - m_info = cScReqCancelRegister.m_info; - return *this; - } - - const SAppServerInfo& GetInfo () const { return m_info; } - bool SetInfo ( const SAppServerInfo& sInfo ) - { - m_info = sInfo; - return true; - } -private: - SAppServerInfo m_info; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CScReqCancelRegister::Size() const -{ - uint32_t nSize = 2; - nSize += m_info.Size(); - return nSize; -} - -class CScRspCancelRegister : public CPackData -{ -public: - enum - { - CMD_ID = SC_RSP_CANCEL_REGISTER - }; - CScRspCancelRegister() - { - } - - ~CScRspCancelRegister() { } - CScRspCancelRegister(const uint32_t& dwRetcode) - { - m_retcode = dwRetcode; - } - CScRspCancelRegister& operator=( const CScRspCancelRegister& cScRspCancelRegister ) - { - m_retcode = cScRspCancelRegister.m_retcode; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } -private: - uint32_t m_retcode; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CScRspCancelRegister::Size() const -{ - return 6; -} -class CScReqSvrStatus : public CPackData -{ -public: - enum - { - CMD_ID = SC_REQ_SVR_STATUS - }; - CScReqSvrStatus() - { - } - - ~CScReqSvrStatus() { } - CScReqSvrStatus(const uint32_t& dwId, const uint32_t& dwStatus, const string& strDetail, const string& strExt, const uint32_t& dwTimeelapsed) - { - m_id = dwId; - m_status = dwStatus; - m_detail = strDetail; - m_ext = strExt; - m_timeelapsed = dwTimeelapsed; - } - CScReqSvrStatus& operator=( const CScReqSvrStatus& cScReqSvrStatus ) - { - m_id = cScReqSvrStatus.m_id; - m_status = cScReqSvrStatus.m_status; - m_detail = cScReqSvrStatus.m_detail; - m_ext = cScReqSvrStatus.m_ext; - m_timeelapsed = cScReqSvrStatus.m_timeelapsed; - return *this; - } - - const uint32_t& GetId () const { return m_id; } - bool SetId ( const uint32_t& dwId ) - { - m_id = dwId; - return true; - } - const uint32_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint32_t& dwStatus ) - { - m_status = dwStatus; - return true; - } - const string& GetDetail () const { return m_detail; } - bool SetDetail ( const string& strDetail ) - { - m_detail = strDetail; - return true; - } - const string& GetExt () const { return m_ext; } - bool SetExt ( const string& strExt ) - { - m_ext = strExt; - return true; - } - const uint32_t& GetTimeelapsed () const { return m_timeelapsed; } - bool SetTimeelapsed ( const uint32_t& dwTimeelapsed ) - { - m_timeelapsed = dwTimeelapsed; - return true; - } -private: - uint32_t m_id; - uint32_t m_status; - string m_detail; - string m_ext; - uint32_t m_timeelapsed; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CScReqSvrStatus::Size() const -{ - uint32_t nSize = 26; - nSize += m_detail.length(); - nSize += m_ext.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/.svn/text-base/mosInterface.h.svn-base b/features/aliww/include/.svn/text-base/mosInterface.h.svn-base deleted file mode 100644 index 194743b..0000000 --- a/features/aliww/include/.svn/text-base/mosInterface.h.svn-base +++ /dev/null @@ -1,716 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `mosInterface.ice' - -#ifndef __mosInterface_h__ -#define __mosInterface_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AMOServer -{ - -class MOSInterface; -bool operator==(const MOSInterface&, const MOSInterface&); -bool operator!=(const MOSInterface&, const MOSInterface&); -bool operator<(const MOSInterface&, const MOSInterface&); -bool operator<=(const MOSInterface&, const MOSInterface&); -bool operator>(const MOSInterface&, const MOSInterface&); -bool operator>=(const MOSInterface&, const MOSInterface&); - -} - -} - -namespace AMOServer -{ - -class MOSInterface; -bool operator==(const MOSInterface&, const MOSInterface&); -bool operator!=(const MOSInterface&, const MOSInterface&); -bool operator<(const MOSInterface&, const MOSInterface&); -bool operator<=(const MOSInterface&, const MOSInterface&); -bool operator>(const MOSInterface&, const MOSInterface&); -bool operator>=(const MOSInterface&, const MOSInterface&); - -} - -namespace IceInternal -{ - -void incRef(::AMOServer::MOSInterface*); -void decRef(::AMOServer::MOSInterface*); - -void incRef(::IceProxy::AMOServer::MOSInterface*); -void decRef(::IceProxy::AMOServer::MOSInterface*); - -} - -namespace AMOServer -{ - -typedef ::IceInternal::Handle< ::AMOServer::MOSInterface> MOSInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AMOServer::MOSInterface> MOSInterfacePrx; - -void __write(::IceInternal::BasicStream*, const MOSInterfacePrx&); -void __read(::IceInternal::BasicStream*, MOSInterfacePrx&); -void __write(::IceInternal::BasicStream*, const MOSInterfacePtr&); -void __patch__MOSInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const MOSInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const MOSInterfacePtr&); -void __decRefUnsafe(const MOSInterfacePtr&); -void __clearHandleUnsafe(MOSInterfacePtr&); - -} - -namespace AMOServer -{ - -struct MosStatusIp -{ - ::std::string userId; - ::Ice::Short status; - ::Ice::Long ip; - - bool operator==(const MosStatusIp&) const; - bool operator!=(const MosStatusIp&) const; - bool operator<(const MosStatusIp&) const; - bool operator<=(const MosStatusIp& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const MosStatusIp& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const MosStatusIp& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct MosStatus -{ - ::std::string userId; - ::Ice::Short status; - - bool operator==(const MosStatus&) const; - bool operator!=(const MosStatus&) const; - bool operator<(const MosStatus&) const; - bool operator<=(const MosStatus& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const MosStatus& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const MosStatus& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct LoginTime -{ - ::std::string userId; - ::std::string time; - - bool operator==(const LoginTime&) const; - bool operator!=(const LoginTime&) const; - bool operator<(const LoginTime&) const; - bool operator<=(const LoginTime& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const LoginTime& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const LoginTime& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct UserInfo -{ - ::std::string userId; - ::std::string version; - ::Ice::Short status; - ::Ice::Long ip; - - bool operator==(const UserInfo&) const; - bool operator!=(const UserInfo&) const; - bool operator<(const UserInfo&) const; - bool operator<=(const UserInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const UserInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const UserInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct UserInfoEx -{ - ::std::string userId; - ::Ice::Short srvId; - ::Ice::Short status; - ::Ice::Short predefSts; - bool mobileOnlineFlag; - bool recvFlag; - ::Ice::Long ip; - ::Ice::Int lastLoginTime; - ::std::string version; - - bool operator==(const UserInfoEx&) const; - bool operator!=(const UserInfoEx&) const; - bool operator<(const UserInfoEx&) const; - bool operator<=(const UserInfoEx& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const UserInfoEx& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const UserInfoEx& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct GrpInfo -{ - ::std::string uid; - ::std::string groupName; - ::Ice::Int groupId; - ::Ice::Short status; - - bool operator==(const GrpInfo&) const; - bool operator!=(const GrpInfo&) const; - bool operator<(const GrpInfo&) const; - bool operator<=(const GrpInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const GrpInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const GrpInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::std::string> SICEUserIdSeq; - -class __U__SICEUserIdSeq { }; - -typedef ::std::vector< ::AMOServer::MosStatus> SICEMosStatusSeq; - -class __U__SICEMosStatusSeq { }; -void __write(::IceInternal::BasicStream*, const ::AMOServer::MosStatus*, const ::AMOServer::MosStatus*, __U__SICEMosStatusSeq); -void __read(::IceInternal::BasicStream*, SICEMosStatusSeq&, __U__SICEMosStatusSeq); - -typedef ::std::vector< ::AMOServer::MosStatusIp> SICEMosStatusIpSeq; - -class __U__SICEMosStatusIpSeq { }; -void __write(::IceInternal::BasicStream*, const ::AMOServer::MosStatusIp*, const ::AMOServer::MosStatusIp*, __U__SICEMosStatusIpSeq); -void __read(::IceInternal::BasicStream*, SICEMosStatusIpSeq&, __U__SICEMosStatusIpSeq); - -typedef ::std::vector< ::AMOServer::LoginTime> SICELoginTimeSeq; - -class __U__SICELoginTimeSeq { }; -void __write(::IceInternal::BasicStream*, const ::AMOServer::LoginTime*, const ::AMOServer::LoginTime*, __U__SICELoginTimeSeq); -void __read(::IceInternal::BasicStream*, SICELoginTimeSeq&, __U__SICELoginTimeSeq); - -typedef ::std::vector< ::AMOServer::UserInfo> SICEUserInfoSeq; - -class __U__SICEUserInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AMOServer::UserInfo*, const ::AMOServer::UserInfo*, __U__SICEUserInfoSeq); -void __read(::IceInternal::BasicStream*, SICEUserInfoSeq&, __U__SICEUserInfoSeq); - -typedef ::std::vector< ::Ice::Int> SICEGrpIdSeq; - -class __U__SICEGrpIdSeq { }; - -typedef ::std::vector< ::AMOServer::GrpInfo> SICEGrpInfoSeq; - -class __U__SICEGrpInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AMOServer::GrpInfo*, const ::AMOServer::GrpInfo*, __U__SICEGrpInfoSeq); -void __read(::IceInternal::BasicStream*, SICEGrpInfoSeq&, __U__SICEGrpInfoSeq); - -} - -namespace IceProxy -{ - -namespace AMOServer -{ - -class MOSInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int getUserStatus(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusSeq& mosStatusList) - { - return getUserStatus(userList, mosStatusList, 0); - } - ::Ice::Int getUserStatus(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusSeq& mosStatusList, const ::Ice::Context& __ctx) - { - return getUserStatus(userList, mosStatusList, &__ctx); - } - -private: - - ::Ice::Int getUserStatus(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserStatusIp(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusIpSeq& mosStatusList) - { - return getUserStatusIp(userList, mosStatusList, 0); - } - ::Ice::Int getUserStatusIp(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusIpSeq& mosStatusList, const ::Ice::Context& __ctx) - { - return getUserStatusIp(userList, mosStatusList, &__ctx); - } - -private: - - ::Ice::Int getUserStatusIp(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusIpSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserRealStatus(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusSeq& mosStatusList) - { - return getUserRealStatus(userList, mosStatusList, 0); - } - ::Ice::Int getUserRealStatus(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusSeq& mosStatusList, const ::Ice::Context& __ctx) - { - return getUserRealStatus(userList, mosStatusList, &__ctx); - } - -private: - - ::Ice::Int getUserRealStatus(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserRealStatusIp(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusIpSeq& mosStatusList) - { - return getUserRealStatusIp(userList, mosStatusList, 0); - } - ::Ice::Int getUserRealStatusIp(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusIpSeq& mosStatusList, const ::Ice::Context& __ctx) - { - return getUserRealStatusIp(userList, mosStatusList, &__ctx); - } - -private: - - ::Ice::Int getUserRealStatusIp(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusIpSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserLastLoginTime(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICELoginTimeSeq& loginTimeList) - { - return getUserLastLoginTime(userList, loginTimeList, 0); - } - ::Ice::Int getUserLastLoginTime(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICELoginTimeSeq& loginTimeList, const ::Ice::Context& __ctx) - { - return getUserLastLoginTime(userList, loginTimeList, &__ctx); - } - -private: - - ::Ice::Int getUserLastLoginTime(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICELoginTimeSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserCount(::Ice::Short type, ::Ice::Long arg1, const ::std::string& arg2, ::Ice::Long& count) - { - return getUserCount(type, arg1, arg2, count, 0); - } - ::Ice::Int getUserCount(::Ice::Short type, ::Ice::Long arg1, const ::std::string& arg2, ::Ice::Long& count, const ::Ice::Context& __ctx) - { - return getUserCount(type, arg1, arg2, count, &__ctx); - } - -private: - - ::Ice::Int getUserCount(::Ice::Short, ::Ice::Long, const ::std::string&, ::Ice::Long&, const ::Ice::Context*); - -public: - - ::Ice::Int getIpUsers(::Ice::Long ip, ::Ice::Long count, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList) - { - return getIpUsers(ip, count, allCount, uidList, 0); - } - ::Ice::Int getIpUsers(::Ice::Long ip, ::Ice::Long count, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList, const ::Ice::Context& __ctx) - { - return getIpUsers(ip, count, allCount, uidList, &__ctx); - } - -private: - - ::Ice::Int getIpUsers(::Ice::Long, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getIpUsersEx(::Ice::Long ip, ::Ice::Long count, ::Ice::Long netcode, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList) - { - return getIpUsersEx(ip, count, netcode, allCount, uidList, 0); - } - ::Ice::Int getIpUsersEx(::Ice::Long ip, ::Ice::Long count, ::Ice::Long netcode, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList, const ::Ice::Context& __ctx) - { - return getIpUsersEx(ip, count, netcode, allCount, uidList, &__ctx); - } - -private: - - ::Ice::Int getIpUsersEx(::Ice::Long, ::Ice::Long, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getSameIpSiteUsers(const ::std::string& uid, ::Ice::Long count, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList) - { - return getSameIpSiteUsers(uid, count, allCount, uidList, 0); - } - ::Ice::Int getSameIpSiteUsers(const ::std::string& uid, ::Ice::Long count, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList, const ::Ice::Context& __ctx) - { - return getSameIpSiteUsers(uid, count, allCount, uidList, &__ctx); - } - -private: - - ::Ice::Int getSameIpSiteUsers(const ::std::string&, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getOnlineUsers(::Ice::Short netcode, ::Ice::Short onlineType, ::AMOServer::SICEUserInfoSeq& userlist) - { - return getOnlineUsers(netcode, onlineType, userlist, 0); - } - ::Ice::Int getOnlineUsers(::Ice::Short netcode, ::Ice::Short onlineType, ::AMOServer::SICEUserInfoSeq& userlist, const ::Ice::Context& __ctx) - { - return getOnlineUsers(netcode, onlineType, userlist, &__ctx); - } - -private: - - ::Ice::Int getOnlineUsers(::Ice::Short, ::Ice::Short, ::AMOServer::SICEUserInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getOnlineUser(const ::std::string& uid, ::AMOServer::UserInfo& ui) - { - return getOnlineUser(uid, ui, 0); - } - ::Ice::Int getOnlineUser(const ::std::string& uid, ::AMOServer::UserInfo& ui, const ::Ice::Context& __ctx) - { - return getOnlineUser(uid, ui, &__ctx); - } - -private: - - ::Ice::Int getOnlineUser(const ::std::string&, ::AMOServer::UserInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int getOnlineUserEx(const ::std::string& uid, ::AMOServer::UserInfoEx& ui) - { - return getOnlineUserEx(uid, ui, 0); - } - ::Ice::Int getOnlineUserEx(const ::std::string& uid, ::AMOServer::UserInfoEx& ui, const ::Ice::Context& __ctx) - { - return getOnlineUserEx(uid, ui, &__ctx); - } - -private: - - ::Ice::Int getOnlineUserEx(const ::std::string&, ::AMOServer::UserInfoEx&, const ::Ice::Context*); - -public: - - ::Ice::Int getEhmsGrpSts(const ::std::string& uid, const ::AMOServer::SICEGrpIdSeq& grpIds, ::AMOServer::SICEGrpInfoSeq& grpList) - { - return getEhmsGrpSts(uid, grpIds, grpList, 0); - } - ::Ice::Int getEhmsGrpSts(const ::std::string& uid, const ::AMOServer::SICEGrpIdSeq& grpIds, ::AMOServer::SICEGrpInfoSeq& grpList, const ::Ice::Context& __ctx) - { - return getEhmsGrpSts(uid, grpIds, grpList, &__ctx); - } - -private: - - ::Ice::Int getEhmsGrpSts(const ::std::string&, const ::AMOServer::SICEGrpIdSeq&, ::AMOServer::SICEGrpInfoSeq&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AMOServer -{ - -class MOSInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int getUserStatus(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserStatusIp(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusIpSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserRealStatus(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserRealStatusIp(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusIpSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserLastLoginTime(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICELoginTimeSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserCount(::Ice::Short, ::Ice::Long, const ::std::string&, ::Ice::Long&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getIpUsers(::Ice::Long, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getIpUsersEx(::Ice::Long, ::Ice::Long, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getSameIpSiteUsers(const ::std::string&, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getOnlineUsers(::Ice::Short, ::Ice::Short, ::AMOServer::SICEUserInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getOnlineUser(const ::std::string&, ::AMOServer::UserInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getOnlineUserEx(const ::std::string&, ::AMOServer::UserInfoEx&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getEhmsGrpSts(const ::std::string&, const ::AMOServer::SICEGrpIdSeq&, ::AMOServer::SICEGrpInfoSeq&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AMOServer -{ - -class MOSInterface : virtual public ::IceDelegate::AMOServer::MOSInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int getUserStatus(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserStatusIp(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusIpSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserRealStatus(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserRealStatusIp(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusIpSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserLastLoginTime(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICELoginTimeSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserCount(::Ice::Short, ::Ice::Long, const ::std::string&, ::Ice::Long&, const ::Ice::Context*); - - virtual ::Ice::Int getIpUsers(::Ice::Long, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getIpUsersEx(::Ice::Long, ::Ice::Long, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getSameIpSiteUsers(const ::std::string&, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getOnlineUsers(::Ice::Short, ::Ice::Short, ::AMOServer::SICEUserInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getOnlineUser(const ::std::string&, ::AMOServer::UserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int getOnlineUserEx(const ::std::string&, ::AMOServer::UserInfoEx&, const ::Ice::Context*); - - virtual ::Ice::Int getEhmsGrpSts(const ::std::string&, const ::AMOServer::SICEGrpIdSeq&, ::AMOServer::SICEGrpInfoSeq&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AMOServer -{ - -class MOSInterface : virtual public ::IceDelegate::AMOServer::MOSInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int getUserStatus(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserStatusIp(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusIpSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserRealStatus(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserRealStatusIp(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusIpSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserLastLoginTime(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICELoginTimeSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserCount(::Ice::Short, ::Ice::Long, const ::std::string&, ::Ice::Long&, const ::Ice::Context*); - - virtual ::Ice::Int getIpUsers(::Ice::Long, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getIpUsersEx(::Ice::Long, ::Ice::Long, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getSameIpSiteUsers(const ::std::string&, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getOnlineUsers(::Ice::Short, ::Ice::Short, ::AMOServer::SICEUserInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getOnlineUser(const ::std::string&, ::AMOServer::UserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int getOnlineUserEx(const ::std::string&, ::AMOServer::UserInfoEx&, const ::Ice::Context*); - - virtual ::Ice::Int getEhmsGrpSts(const ::std::string&, const ::AMOServer::SICEGrpIdSeq&, ::AMOServer::SICEGrpInfoSeq&, const ::Ice::Context*); -}; - -} - -} - -namespace AMOServer -{ - -class MOSInterface : virtual public ::Ice::Object -{ -public: - - typedef MOSInterfacePrx ProxyType; - typedef MOSInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int getUserStatus(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserStatusIp(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusIpSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserStatusIp(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserRealStatus(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserRealStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserRealStatusIp(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusIpSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserRealStatusIp(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserLastLoginTime(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICELoginTimeSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserLastLoginTime(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserCount(::Ice::Short, ::Ice::Long, const ::std::string&, ::Ice::Long&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserCount(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getIpUsers(::Ice::Long, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getIpUsers(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getIpUsersEx(::Ice::Long, ::Ice::Long, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getIpUsersEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getSameIpSiteUsers(const ::std::string&, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getSameIpSiteUsers(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getOnlineUsers(::Ice::Short, ::Ice::Short, ::AMOServer::SICEUserInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getOnlineUsers(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getOnlineUser(const ::std::string&, ::AMOServer::UserInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getOnlineUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getOnlineUserEx(const ::std::string&, ::AMOServer::UserInfoEx&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getOnlineUserEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getEhmsGrpSts(const ::std::string&, const ::AMOServer::SICEGrpIdSeq&, ::AMOServer::SICEGrpInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getEhmsGrpSts(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__MOSInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/mos_perf_test.h.svn-base b/features/aliww/include/.svn/text-base/mos_perf_test.h.svn-base deleted file mode 100644 index 404dd0f..0000000 --- a/features/aliww/include/.svn/text-base/mos_perf_test.h.svn-base +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef _MOS_PERF_TEST_H -#define _MOS_PERF_TEST_H - -#include "paramutil.h" -#include "cbenchmark.h" -#include "mosInterface.h" -#include -#include - -using namespace std; -using namespace Ice; -using namespace AMOServer; - -typedef struct mos_t{ - MOSInterfacePrx *mos; - Ice::CommunicatorPtr *ic; -}mos_st; - -#ifdef __cplusplus -extern "C" { -#endif - -void* mos_init(void *p); -void* mos_end(void *p); - -void* mos_getUserStatus(void *p); -void* mos_getUserCount(void *p); -#ifdef __cplusplus -} -#endif -#endif diff --git a/features/aliww/include/.svn/text-base/mpcsc_pack.h.svn-base b/features/aliww/include/.svn/text-base/mpcsc_pack.h.svn-base deleted file mode 100644 index ec98733..0000000 --- a/features/aliww/include/.svn/text-base/mpcsc_pack.h.svn-base +++ /dev/null @@ -1,898 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: mpcsc_pack.h -// Date: 2011-01-30 12:50:22 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __MPCSC_PACK_H__ -#define __MPCSC_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "des.h" -#include -#include "sc_head.h" -#include "const_macro.h" - -using namespace std; - -enum MPCSC_REQUEST -{ - IM_REQ_CREATECHATROOM = 0xd000001, - MPCS_REQ_JOINCHATROOM = 0xd000002, - MPCS_REQ_EXITCHATROOM = 0xd000003, - MPCS_REQ_GETCHATROOMUSERS = 0xd000004, - MPCS_REQ_SEND_MPCMSG = 0xd000005, - -}; - -enum MPCSC_RESPONSE -{ - IM_RSP_CREATECHATROOM = 0xd010001, - MPCS_RSP_JOINCHATROOM = 0xd010002, - MPCS_RSP_EXITCHATROOM = 0xd010003, - MPCS_RSP_GETCHATROOMUSERS = 0xd010004, - MPCS_RSP_SEND_MPCMSG = 0xd010005, - -}; - -enum MPCSC_NOTIFY -{ - MPCS_NTF_MPCMSG = 0xd020005, - MPCS_NTF_CHATROOMSTATUS = 0xd020006, - MPCS_NTF_FORCEDISCONNECT = 0xd020007, - -}; - -class CImReqCreatechatroom : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CREATECHATROOM - }; - ~CImReqCreatechatroom() { } -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqCreatechatroom::Size() const -{ - return 1; -} -class CImRspCreatechatroom : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CREATECHATROOM - }; - CImRspCreatechatroom() - { - } - - ~CImRspCreatechatroom() { } - CImRspCreatechatroom(const uint8_t& chRetcode, const uint32_t& dwRoomId, const string& strPassword, const string& strMpcsIp, const uint16_t& wPort) - { - m_retcode = chRetcode; - m_roomId = dwRoomId; - m_password = strPassword; - m_mpcsIp = strMpcsIp; - m_port = wPort; - } - CImRspCreatechatroom& operator=( const CImRspCreatechatroom& cImRspCreatechatroom ) - { - m_retcode = cImRspCreatechatroom.m_retcode; - m_roomId = cImRspCreatechatroom.m_roomId; - m_password = cImRspCreatechatroom.m_password; - m_mpcsIp = cImRspCreatechatroom.m_mpcsIp; - m_port = cImRspCreatechatroom.m_port; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint32_t& GetRoomId () const { return m_roomId; } - bool SetRoomId ( const uint32_t& dwRoomId ) - { - m_roomId = dwRoomId; - return true; - } - const string& GetPassword () const { return m_password; } - bool SetPassword ( const string& strPassword ) - { - m_password = strPassword; - return true; - } - const string& GetMpcsIp () const { return m_mpcsIp; } - bool SetMpcsIp ( const string& strMpcsIp ) - { - m_mpcsIp = strMpcsIp; - return true; - } - const uint16_t& GetPort () const { return m_port; } - bool SetPort ( const uint16_t& wPort ) - { - m_port = wPort; - return true; - } -private: - uint8_t m_retcode; - uint32_t m_roomId; - string m_password; - string m_mpcsIp; - uint16_t m_port; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspCreatechatroom::Size() const -{ - uint32_t nSize = 21; - nSize += m_password.length(); - nSize += m_mpcsIp.length(); - return nSize; -} - -class CMpcsReqJoinchatroom : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_REQ_JOINCHATROOM - }; - CMpcsReqJoinchatroom() : m_fromId("") - { - } - - ~CMpcsReqJoinchatroom() { } - CMpcsReqJoinchatroom(const string& strUserId, const string& strPassword, const string& strVersion, const string& strFromId= "") - { - m_userId = strUserId; - m_password = strPassword; - m_version = strVersion; - m_fromId = strFromId; - } - CMpcsReqJoinchatroom& operator=( const CMpcsReqJoinchatroom& cMpcsReqJoinchatroom ) - { - m_userId = cMpcsReqJoinchatroom.m_userId; - m_password = cMpcsReqJoinchatroom.m_password; - m_version = cMpcsReqJoinchatroom.m_version; - m_fromId = cMpcsReqJoinchatroom.m_fromId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - m_userId = strUserId; - return true; - } - const string& GetPassword () const { return m_password; } - bool SetPassword ( const string& strPassword ) - { - m_password = strPassword; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - m_version = strVersion; - return true; - } - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - m_fromId = strFromId; - return true; - } -private: - string m_userId; - string m_password; - string m_version; - string m_fromId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CMpcsReqJoinchatroom::Size() const -{ - uint32_t nSize = 21; - nSize += m_userId.length(); - nSize += m_password.length(); - nSize += m_version.length(); - nSize += m_fromId.length(); - return nSize; -} - -class CMpcsRspJoinchatroom : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_RSP_JOINCHATROOM - }; - CMpcsRspJoinchatroom() - { - } - - ~CMpcsRspJoinchatroom() { } - CMpcsRspJoinchatroom(const uint8_t& chRetcode, const uint32_t& dwRoomId, const uint32_t& dwMaxMember) - { - m_retcode = chRetcode; - m_roomId = dwRoomId; - m_maxMember = dwMaxMember; - } - CMpcsRspJoinchatroom& operator=( const CMpcsRspJoinchatroom& cMpcsRspJoinchatroom ) - { - m_retcode = cMpcsRspJoinchatroom.m_retcode; - m_roomId = cMpcsRspJoinchatroom.m_roomId; - m_maxMember = cMpcsRspJoinchatroom.m_maxMember; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint32_t& GetRoomId () const { return m_roomId; } - bool SetRoomId ( const uint32_t& dwRoomId ) - { - m_roomId = dwRoomId; - return true; - } - const uint32_t& GetMaxMember () const { return m_maxMember; } - bool SetMaxMember ( const uint32_t& dwMaxMember ) - { - m_maxMember = dwMaxMember; - return true; - } -private: - uint8_t m_retcode; - uint32_t m_roomId; - uint32_t m_maxMember; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CMpcsRspJoinchatroom::Size() const -{ - return 13; -} -class CMpcsReqExitchatroom : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_REQ_EXITCHATROOM - }; - CMpcsReqExitchatroom() - { - } - - ~CMpcsReqExitchatroom() { } - CMpcsReqExitchatroom(const string& strUserId) - { - m_userId = strUserId; - } - CMpcsReqExitchatroom& operator=( const CMpcsReqExitchatroom& cMpcsReqExitchatroom ) - { - m_userId = cMpcsReqExitchatroom.m_userId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - m_userId = strUserId; - return true; - } -private: - string m_userId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CMpcsReqExitchatroom::Size() const -{ - uint32_t nSize = 6; - nSize += m_userId.length(); - return nSize; -} - -class CMpcsRspExitchatroom : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_RSP_EXITCHATROOM - }; - CMpcsRspExitchatroom() - { - } - - ~CMpcsRspExitchatroom() { } - CMpcsRspExitchatroom(const uint8_t& chRetcode, const uint32_t& dwRoomId) - { - m_retcode = chRetcode; - m_roomId = dwRoomId; - } - CMpcsRspExitchatroom& operator=( const CMpcsRspExitchatroom& cMpcsRspExitchatroom ) - { - m_retcode = cMpcsRspExitchatroom.m_retcode; - m_roomId = cMpcsRspExitchatroom.m_roomId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint32_t& GetRoomId () const { return m_roomId; } - bool SetRoomId ( const uint32_t& dwRoomId ) - { - m_roomId = dwRoomId; - return true; - } -private: - uint8_t m_retcode; - uint32_t m_roomId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CMpcsRspExitchatroom::Size() const -{ - return 8; -} -class CMpcsReqGetchatroomusers : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_REQ_GETCHATROOMUSERS - }; - CMpcsReqGetchatroomusers() - { - } - - ~CMpcsReqGetchatroomusers() { } - CMpcsReqGetchatroomusers(const string& strUserId) - { - m_userId = strUserId; - } - CMpcsReqGetchatroomusers& operator=( const CMpcsReqGetchatroomusers& cMpcsReqGetchatroomusers ) - { - m_userId = cMpcsReqGetchatroomusers.m_userId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - m_userId = strUserId; - return true; - } -private: - string m_userId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CMpcsReqGetchatroomusers::Size() const -{ - uint32_t nSize = 6; - nSize += m_userId.length(); - return nSize; -} - -class CMpcsRspGetchatroomusers : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_RSP_GETCHATROOMUSERS - }; - CMpcsRspGetchatroomusers() - { - } - - ~CMpcsRspGetchatroomusers() { } - CMpcsRspGetchatroomusers(const uint8_t& chRetcode, const uint32_t& dwRoomId, const VECTOR< string >& vecUserList) - { - m_retcode = chRetcode; - m_roomId = dwRoomId; - m_userList = vecUserList; - } - CMpcsRspGetchatroomusers& operator=( const CMpcsRspGetchatroomusers& cMpcsRspGetchatroomusers ) - { - m_retcode = cMpcsRspGetchatroomusers.m_retcode; - m_roomId = cMpcsRspGetchatroomusers.m_roomId; - m_userList = cMpcsRspGetchatroomusers.m_userList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint32_t& GetRoomId () const { return m_roomId; } - bool SetRoomId ( const uint32_t& dwRoomId ) - { - m_roomId = dwRoomId; - return true; - } - const VECTOR< string >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< string >& vecUserList ) - { - m_userList = vecUserList; - return true; - } -private: - uint8_t m_retcode; - uint32_t m_roomId; - VECTOR< string > m_userList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CMpcsRspGetchatroomusers::Size() const -{ - uint32_t nSize = 14; - nSize += m_userList.size() * 4; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].length(); - } - return nSize; -} - -class CMpcsReqSendMpcmsg : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_REQ_SEND_MPCMSG - }; - CMpcsReqSendMpcmsg() - { - } - - ~CMpcsReqSendMpcmsg() { } - CMpcsReqSendMpcmsg(const string& strUserId, const uint8_t& chType, const string& strTargetId, const string& strMessage) - { - m_userId = strUserId; - m_type = chType; - m_targetId = strTargetId; - m_message = strMessage; - } - CMpcsReqSendMpcmsg& operator=( const CMpcsReqSendMpcmsg& cMpcsReqSendMpcmsg ) - { - m_userId = cMpcsReqSendMpcmsg.m_userId; - m_type = cMpcsReqSendMpcmsg.m_type; - m_targetId = cMpcsReqSendMpcmsg.m_targetId; - m_message = cMpcsReqSendMpcmsg.m_message; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - m_userId = strUserId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetTargetId () const { return m_targetId; } - bool SetTargetId ( const string& strTargetId ) - { - m_targetId = strTargetId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_userId; - uint8_t m_type; - string m_targetId; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CMpcsReqSendMpcmsg::Size() const -{ - uint32_t nSize = 18; - nSize += m_userId.length(); - nSize += m_targetId.length(); - nSize += m_message.length(); - return nSize; -} - -class CMpcsRspSendMpcmsg : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_RSP_SEND_MPCMSG - }; - CMpcsRspSendMpcmsg() - { - } - - ~CMpcsRspSendMpcmsg() { } - CMpcsRspSendMpcmsg(const uint8_t& chRetcode, const uint32_t& dwRoomId, const uint8_t& chType, const string& strTargetId, const string& strMessage) - { - m_retcode = chRetcode; - m_roomId = dwRoomId; - m_type = chType; - m_targetId = strTargetId; - m_message = strMessage; - } - CMpcsRspSendMpcmsg& operator=( const CMpcsRspSendMpcmsg& cMpcsRspSendMpcmsg ) - { - m_retcode = cMpcsRspSendMpcmsg.m_retcode; - m_roomId = cMpcsRspSendMpcmsg.m_roomId; - m_type = cMpcsRspSendMpcmsg.m_type; - m_targetId = cMpcsRspSendMpcmsg.m_targetId; - m_message = cMpcsRspSendMpcmsg.m_message; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint32_t& GetRoomId () const { return m_roomId; } - bool SetRoomId ( const uint32_t& dwRoomId ) - { - m_roomId = dwRoomId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetTargetId () const { return m_targetId; } - bool SetTargetId ( const string& strTargetId ) - { - m_targetId = strTargetId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - uint8_t m_retcode; - uint32_t m_roomId; - uint8_t m_type; - string m_targetId; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CMpcsRspSendMpcmsg::Size() const -{ - uint32_t nSize = 20; - nSize += m_targetId.length(); - nSize += m_message.length(); - return nSize; -} - -class CMpcsNtfMpcmsg : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_NTF_MPCMSG - }; - CMpcsNtfMpcmsg() - { - } - - ~CMpcsNtfMpcmsg() { } - CMpcsNtfMpcmsg(const string& strUserId, const uint32_t& dwRoomId, const uint8_t& chType, const string& strTargetId, const string& strMessage) - { - m_userId = strUserId; - m_roomId = dwRoomId; - m_type = chType; - m_targetId = strTargetId; - m_message = strMessage; - } - CMpcsNtfMpcmsg& operator=( const CMpcsNtfMpcmsg& cMpcsNtfMpcmsg ) - { - m_userId = cMpcsNtfMpcmsg.m_userId; - m_roomId = cMpcsNtfMpcmsg.m_roomId; - m_type = cMpcsNtfMpcmsg.m_type; - m_targetId = cMpcsNtfMpcmsg.m_targetId; - m_message = cMpcsNtfMpcmsg.m_message; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - m_userId = strUserId; - return true; - } - const uint32_t& GetRoomId () const { return m_roomId; } - bool SetRoomId ( const uint32_t& dwRoomId ) - { - m_roomId = dwRoomId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetTargetId () const { return m_targetId; } - bool SetTargetId ( const string& strTargetId ) - { - m_targetId = strTargetId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_userId; - uint32_t m_roomId; - uint8_t m_type; - string m_targetId; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CMpcsNtfMpcmsg::Size() const -{ - uint32_t nSize = 23; - nSize += m_userId.length(); - nSize += m_targetId.length(); - nSize += m_message.length(); - return nSize; -} - -class CMpcsNtfChatroomstatus : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_NTF_CHATROOMSTATUS - }; - CMpcsNtfChatroomstatus() - { - } - - ~CMpcsNtfChatroomstatus() { } - CMpcsNtfChatroomstatus(const uint32_t& dwRoomId, const uint8_t& chType, const string& strUserId) - { - m_roomId = dwRoomId; - m_type = chType; - m_userId = strUserId; - } - CMpcsNtfChatroomstatus& operator=( const CMpcsNtfChatroomstatus& cMpcsNtfChatroomstatus ) - { - m_roomId = cMpcsNtfChatroomstatus.m_roomId; - m_type = cMpcsNtfChatroomstatus.m_type; - m_userId = cMpcsNtfChatroomstatus.m_userId; - return *this; - } - - const uint32_t& GetRoomId () const { return m_roomId; } - bool SetRoomId ( const uint32_t& dwRoomId ) - { - m_roomId = dwRoomId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - m_userId = strUserId; - return true; - } -private: - uint32_t m_roomId; - uint8_t m_type; - string m_userId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CMpcsNtfChatroomstatus::Size() const -{ - uint32_t nSize = 13; - nSize += m_userId.length(); - return nSize; -} - -class CMpcsNtfForcedisconnect : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_NTF_FORCEDISCONNECT - }; - CMpcsNtfForcedisconnect() - { - } - - ~CMpcsNtfForcedisconnect() { } - CMpcsNtfForcedisconnect(const uint32_t& dwRoomId, const uint8_t& chType, const string& strRemark) - { - m_roomId = dwRoomId; - m_type = chType; - m_remark = strRemark; - } - CMpcsNtfForcedisconnect& operator=( const CMpcsNtfForcedisconnect& cMpcsNtfForcedisconnect ) - { - m_roomId = cMpcsNtfForcedisconnect.m_roomId; - m_type = cMpcsNtfForcedisconnect.m_type; - m_remark = cMpcsNtfForcedisconnect.m_remark; - return *this; - } - - const uint32_t& GetRoomId () const { return m_roomId; } - bool SetRoomId ( const uint32_t& dwRoomId ) - { - m_roomId = dwRoomId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - m_remark = strRemark; - return true; - } -private: - uint32_t m_roomId; - uint8_t m_type; - string m_remark; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CMpcsNtfForcedisconnect::Size() const -{ - uint32_t nSize = 13; - nSize += m_remark.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/.svn/text-base/mpcss_pack.h.svn-base b/features/aliww/include/.svn/text-base/mpcss_pack.h.svn-base deleted file mode 100644 index 41cba81..0000000 --- a/features/aliww/include/.svn/text-base/mpcss_pack.h.svn-base +++ /dev/null @@ -1,465 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: mpcss_pack.h -// Date: 2011-01-30 12:50:24 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __MPCSS_PACK_H__ -#define __MPCSS_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "ss_head.h" -#include "const_macro.h" - -using namespace std; - -enum MPCSS_REQUEST -{ - MPCS_SS_REQ_CREATECHATROOM = 0xd100001, - MPCS_SS_REQ_TRANSMSG = 0xd100010, - -}; - -enum MPCSS_RESPONSE -{ - MPCS_SS_RSP_CREATECHATROOM = 0xd110001, - MPCS_SS_RSP_TRANSMSG = 0xd110010, - -}; - -enum MPCSS_NOTIFY -{ - MPCS_SS_NTF_EXITCHATROOM = 0xd110003, - MPCS_SS_NTF_FORCEDISCONNECT = 0xd110007, - MPCS_SS_NTF_ROOMUSERINFO = 0xd110008, - -}; - -class CMpcsSsReqCreatechatroom : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_SS_REQ_CREATECHATROOM - }; - ~CMpcsSsReqCreatechatroom() { } -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CMpcsSsReqCreatechatroom::Size() const -{ - return 1; -} -class CMpcsSsRspCreatechatroom : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_SS_RSP_CREATECHATROOM - }; - CMpcsSsRspCreatechatroom() - { - } - - ~CMpcsSsRspCreatechatroom() { } - CMpcsSsRspCreatechatroom(const uint8_t& chRetcode, const uint32_t& dwRoomId, const string& strPassword, const string& strMpcsIp, const uint16_t& wPort) - { - m_retcode = chRetcode; - m_roomId = dwRoomId; - m_password = strPassword; - m_mpcsIp = strMpcsIp; - m_port = wPort; - } - CMpcsSsRspCreatechatroom& operator=( const CMpcsSsRspCreatechatroom& cMpcsSsRspCreatechatroom ) - { - m_retcode = cMpcsSsRspCreatechatroom.m_retcode; - m_roomId = cMpcsSsRspCreatechatroom.m_roomId; - m_password = cMpcsSsRspCreatechatroom.m_password; - m_mpcsIp = cMpcsSsRspCreatechatroom.m_mpcsIp; - m_port = cMpcsSsRspCreatechatroom.m_port; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint32_t& GetRoomId () const { return m_roomId; } - bool SetRoomId ( const uint32_t& dwRoomId ) - { - m_roomId = dwRoomId; - return true; - } - const string& GetPassword () const { return m_password; } - bool SetPassword ( const string& strPassword ) - { - m_password = strPassword; - return true; - } - const string& GetMpcsIp () const { return m_mpcsIp; } - bool SetMpcsIp ( const string& strMpcsIp ) - { - m_mpcsIp = strMpcsIp; - return true; - } - const uint16_t& GetPort () const { return m_port; } - bool SetPort ( const uint16_t& wPort ) - { - m_port = wPort; - return true; - } -private: - uint8_t m_retcode; - uint32_t m_roomId; - string m_password; - string m_mpcsIp; - uint16_t m_port; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CMpcsSsRspCreatechatroom::Size() const -{ - uint32_t nSize = 21; - nSize += m_password.length(); - nSize += m_mpcsIp.length(); - return nSize; -} - -class CMpcsSsNtfExitchatroom : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_SS_NTF_EXITCHATROOM - }; - CMpcsSsNtfExitchatroom() - { - } - - ~CMpcsSsNtfExitchatroom() { } - CMpcsSsNtfExitchatroom(const string& strUserId, const VECTOR< uint32_t >& vecRoomList) - { - m_userId = strUserId; - m_roomList = vecRoomList; - } - CMpcsSsNtfExitchatroom& operator=( const CMpcsSsNtfExitchatroom& cMpcsSsNtfExitchatroom ) - { - m_userId = cMpcsSsNtfExitchatroom.m_userId; - m_roomList = cMpcsSsNtfExitchatroom.m_roomList; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - m_userId = strUserId; - return true; - } - const VECTOR< uint32_t >& GetRoomList () const { return m_roomList; } - bool SetRoomList ( const VECTOR< uint32_t >& vecRoomList ) - { - m_roomList = vecRoomList; - return true; - } -private: - string m_userId; - VECTOR< uint32_t > m_roomList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CMpcsSsNtfExitchatroom::Size() const -{ - uint32_t nSize = 12; - nSize += m_userId.length(); - nSize += m_roomList.size() * 4; - return nSize; -} - -class CMpcsSsReqTransmsg : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_SS_REQ_TRANSMSG - }; - CMpcsSsReqTransmsg() - { - } - - ~CMpcsSsReqTransmsg() { } - CMpcsSsReqTransmsg(const uint32_t& dwRoomId, const int32_t& lFd, const string& strPacket) - { - m_roomId = dwRoomId; - m_fd = lFd; - m_packet = strPacket; - } - CMpcsSsReqTransmsg& operator=( const CMpcsSsReqTransmsg& cMpcsSsReqTransmsg ) - { - m_roomId = cMpcsSsReqTransmsg.m_roomId; - m_fd = cMpcsSsReqTransmsg.m_fd; - m_packet = cMpcsSsReqTransmsg.m_packet; - return *this; - } - - const uint32_t& GetRoomId () const { return m_roomId; } - bool SetRoomId ( const uint32_t& dwRoomId ) - { - m_roomId = dwRoomId; - return true; - } - const int32_t& GetFd () const { return m_fd; } - bool SetFd ( const int32_t& lFd ) - { - m_fd = lFd; - return true; - } - const string& GetPacket () const { return m_packet; } - bool SetPacket ( const string& strPacket ) - { - m_packet = strPacket; - return true; - } -private: - uint32_t m_roomId; - int32_t m_fd; - string m_packet; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CMpcsSsReqTransmsg::Size() const -{ - uint32_t nSize = 16; - nSize += m_packet.length(); - return nSize; -} - -class CMpcsSsRspTransmsg : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_SS_RSP_TRANSMSG - }; - CMpcsSsRspTransmsg() - { - } - - ~CMpcsSsRspTransmsg() { } - CMpcsSsRspTransmsg(const string& strUserId, const string& strDeskey, const string& strPacket) - { - m_userId = strUserId; - m_deskey = strDeskey; - m_packet = strPacket; - } - CMpcsSsRspTransmsg& operator=( const CMpcsSsRspTransmsg& cMpcsSsRspTransmsg ) - { - m_userId = cMpcsSsRspTransmsg.m_userId; - m_deskey = cMpcsSsRspTransmsg.m_deskey; - m_packet = cMpcsSsRspTransmsg.m_packet; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - m_userId = strUserId; - return true; - } - const string& GetDeskey () const { return m_deskey; } - bool SetDeskey ( const string& strDeskey ) - { - m_deskey = strDeskey; - return true; - } - const string& GetPacket () const { return m_packet; } - bool SetPacket ( const string& strPacket ) - { - m_packet = strPacket; - return true; - } -private: - string m_userId; - string m_deskey; - string m_packet; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CMpcsSsRspTransmsg::Size() const -{ - uint32_t nSize = 16; - nSize += m_userId.length(); - nSize += m_deskey.length(); - nSize += m_packet.length(); - return nSize; -} - -class CMpcsSsNtfForcedisconnect : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_SS_NTF_FORCEDISCONNECT - }; - CMpcsSsNtfForcedisconnect() - { - } - - ~CMpcsSsNtfForcedisconnect() { } - CMpcsSsNtfForcedisconnect(const string& strUserId) - { - m_userId = strUserId; - } - CMpcsSsNtfForcedisconnect& operator=( const CMpcsSsNtfForcedisconnect& cMpcsSsNtfForcedisconnect ) - { - m_userId = cMpcsSsNtfForcedisconnect.m_userId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - m_userId = strUserId; - return true; - } -private: - string m_userId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CMpcsSsNtfForcedisconnect::Size() const -{ - uint32_t nSize = 6; - nSize += m_userId.length(); - return nSize; -} - -class CMpcsSsNtfRoomuserinfo : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_SS_NTF_ROOMUSERINFO - }; - CMpcsSsNtfRoomuserinfo() - { - } - - ~CMpcsSsNtfRoomuserinfo() { } - CMpcsSsNtfRoomuserinfo(const string& strUserId, const uint32_t& dwRoomId, const int32_t& lFd, const string& strVersion) - { - m_userId = strUserId; - m_roomId = dwRoomId; - m_fd = lFd; - m_version = strVersion; - } - CMpcsSsNtfRoomuserinfo& operator=( const CMpcsSsNtfRoomuserinfo& cMpcsSsNtfRoomuserinfo ) - { - m_userId = cMpcsSsNtfRoomuserinfo.m_userId; - m_roomId = cMpcsSsNtfRoomuserinfo.m_roomId; - m_fd = cMpcsSsNtfRoomuserinfo.m_fd; - m_version = cMpcsSsNtfRoomuserinfo.m_version; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - m_userId = strUserId; - return true; - } - const uint32_t& GetRoomId () const { return m_roomId; } - bool SetRoomId ( const uint32_t& dwRoomId ) - { - m_roomId = dwRoomId; - return true; - } - const int32_t& GetFd () const { return m_fd; } - bool SetFd ( const int32_t& lFd ) - { - m_fd = lFd; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - m_version = strVersion; - return true; - } -private: - string m_userId; - uint32_t m_roomId; - int32_t m_fd; - string m_version; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CMpcsSsNtfRoomuserinfo::Size() const -{ - uint32_t nSize = 21; - nSize += m_userId.length(); - nSize += m_version.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/.svn/text-base/msc_head.h.svn-base b/features/aliww/include/.svn/text-base/msc_head.h.svn-base deleted file mode 100644 index 489d8ec..0000000 --- a/features/aliww/include/.svn/text-base/msc_head.h.svn-base +++ /dev/null @@ -1,118 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: msc_head.h -// Date: 2011-01-30 12:49:57 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __MSC_HEAD_H__ -#define __MSC_HEAD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -class CMscHead : public CPackData -{ -public: - ~CMscHead() { } - CMscHead(const uint8_t& chStarter= 0x8f, const uint16_t& wVersion= 0x0101, const uint8_t& chFlag= 0, const uint16_t& wCmd= 0, const uint32_t& dwSeq= 0, const uint16_t& wCc= 0, const uint32_t& dwLen= 0, const uint32_t& dwReserved= 0) - { - m_starter = chStarter; - m_version = wVersion; - m_flag = chFlag; - m_cmd = wCmd; - m_seq = dwSeq; - m_cc = wCc; - m_len = dwLen; - m_reserved = dwReserved; - } - CMscHead& operator=( const CMscHead& cMscHead ) - { - m_starter = cMscHead.m_starter; - m_version = cMscHead.m_version; - m_flag = cMscHead.m_flag; - m_cmd = cMscHead.m_cmd; - m_seq = cMscHead.m_seq; - m_cc = cMscHead.m_cc; - m_len = cMscHead.m_len; - m_reserved = cMscHead.m_reserved; - return *this; - } - -public: - uint8_t m_starter; - uint16_t m_version; - uint8_t m_flag; - uint16_t m_cmd; - uint32_t m_seq; - uint16_t m_cc; - uint32_t m_len; - uint32_t m_reserved; - -public: - void PackData(string& strData); - PACKRETCODE UnpackData(const string& strData); - uint32_t Size() const { return 20; } - uint8_t PeekStarter() - { - uint8_t chStarter; - SetInCursor(0); - *this >> chStarter; - return chStarter; - } - uint16_t PeekVersion() - { - uint16_t wVersion; - SetInCursor(1); - *this >> wVersion; - return wVersion; - } - uint8_t PeekFlag() - { - uint8_t chFlag; - SetInCursor(3); - *this >> chFlag; - return chFlag; - } - uint16_t PeekCmd() - { - uint16_t wCmd; - SetInCursor(4); - *this >> wCmd; - return wCmd; - } - uint32_t PeekSeq() - { - uint32_t dwSeq; - SetInCursor(6); - *this >> dwSeq; - return dwSeq; - } - uint16_t PeekCc() - { - uint16_t wCc; - SetInCursor(10); - *this >> wCc; - return wCc; - } - uint32_t PeekLen() - { - uint32_t dwLen; - SetInCursor(12); - *this >> dwLen; - return dwLen; - } - uint32_t PeekReserved() - { - uint32_t dwReserved; - SetInCursor(16); - *this >> dwReserved; - return dwReserved; - } -}; - -#endif diff --git a/features/aliww/include/.svn/text-base/ngsInterface.h.svn-base b/features/aliww/include/.svn/text-base/ngsInterface.h.svn-base deleted file mode 100644 index 4528feb..0000000 --- a/features/aliww/include/.svn/text-base/ngsInterface.h.svn-base +++ /dev/null @@ -1,228 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `ngsInterface.ice' - -#ifndef __ngsInterface_h__ -#define __ngsInterface_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class NGSInterface; -bool operator==(const NGSInterface&, const NGSInterface&); -bool operator!=(const NGSInterface&, const NGSInterface&); -bool operator<(const NGSInterface&, const NGSInterface&); -bool operator<=(const NGSInterface&, const NGSInterface&); -bool operator>(const NGSInterface&, const NGSInterface&); -bool operator>=(const NGSInterface&, const NGSInterface&); - -} - -} - -namespace AliIM -{ - -class NGSInterface; -bool operator==(const NGSInterface&, const NGSInterface&); -bool operator!=(const NGSInterface&, const NGSInterface&); -bool operator<(const NGSInterface&, const NGSInterface&); -bool operator<=(const NGSInterface&, const NGSInterface&); -bool operator>(const NGSInterface&, const NGSInterface&); -bool operator>=(const NGSInterface&, const NGSInterface&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::NGSInterface*); -void decRef(::AliIM::NGSInterface*); - -void incRef(::IceProxy::AliIM::NGSInterface*); -void decRef(::IceProxy::AliIM::NGSInterface*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::NGSInterface> NGSInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::NGSInterface> NGSInterfacePrx; - -void __write(::IceInternal::BasicStream*, const NGSInterfacePrx&); -void __read(::IceInternal::BasicStream*, NGSInterfacePrx&); -void __write(::IceInternal::BasicStream*, const NGSInterfacePtr&); -void __patch__NGSInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const NGSInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const NGSInterfacePtr&); -void __decRefUnsafe(const NGSInterfacePtr&); -void __clearHandleUnsafe(NGSInterfacePtr&); - -} - -namespace AliIM -{ - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class NGSInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int notifyOperationTip(const ::std::string& uid, const ::std::string& cid, const ::std::string& message) - { - return notifyOperationTip(uid, cid, message, 0); - } - ::Ice::Int notifyOperationTip(const ::std::string& uid, const ::std::string& cid, const ::std::string& message, const ::Ice::Context& __ctx) - { - return notifyOperationTip(uid, cid, message, &__ctx); - } - -private: - - ::Ice::Int notifyOperationTip(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class NGSInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int notifyOperationTip(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class NGSInterface : virtual public ::IceDelegate::AliIM::NGSInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int notifyOperationTip(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class NGSInterface : virtual public ::IceDelegate::AliIM::NGSInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int notifyOperationTip(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class NGSInterface : virtual public ::Ice::Object -{ -public: - - typedef NGSInterfacePrx ProxyType; - typedef NGSInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int notifyOperationTip(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___notifyOperationTip(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__NGSInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/notifycontact.h.svn-base b/features/aliww/include/.svn/text-base/notifycontact.h.svn-base deleted file mode 100644 index 2fa3ddd..0000000 --- a/features/aliww/include/.svn/text-base/notifycontact.h.svn-base +++ /dev/null @@ -1,253 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `notifycontact.ice' - -#ifndef __notifycontact_h__ -#define __notifycontact_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class NotifyContactInterface; -bool operator==(const NotifyContactInterface&, const NotifyContactInterface&); -bool operator!=(const NotifyContactInterface&, const NotifyContactInterface&); -bool operator<(const NotifyContactInterface&, const NotifyContactInterface&); -bool operator<=(const NotifyContactInterface&, const NotifyContactInterface&); -bool operator>(const NotifyContactInterface&, const NotifyContactInterface&); -bool operator>=(const NotifyContactInterface&, const NotifyContactInterface&); - -} - -} - -namespace AliIM -{ - -class NotifyContactInterface; -bool operator==(const NotifyContactInterface&, const NotifyContactInterface&); -bool operator!=(const NotifyContactInterface&, const NotifyContactInterface&); -bool operator<(const NotifyContactInterface&, const NotifyContactInterface&); -bool operator<=(const NotifyContactInterface&, const NotifyContactInterface&); -bool operator>(const NotifyContactInterface&, const NotifyContactInterface&); -bool operator>=(const NotifyContactInterface&, const NotifyContactInterface&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::NotifyContactInterface*); -void decRef(::AliIM::NotifyContactInterface*); - -void incRef(::IceProxy::AliIM::NotifyContactInterface*); -void decRef(::IceProxy::AliIM::NotifyContactInterface*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::NotifyContactInterface> NotifyContactInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::NotifyContactInterface> NotifyContactInterfacePrx; - -void __write(::IceInternal::BasicStream*, const NotifyContactInterfacePrx&); -void __read(::IceInternal::BasicStream*, NotifyContactInterfacePrx&); -void __write(::IceInternal::BasicStream*, const NotifyContactInterfacePtr&); -void __patch__NotifyContactInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const NotifyContactInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const NotifyContactInterfacePtr&); -void __decRefUnsafe(const NotifyContactInterfacePtr&); -void __clearHandleUnsafe(NotifyContactInterfacePtr&); - -} - -namespace AliIM -{ - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class NotifyContactInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int NotifyDelContact(const ::std::string& loginId, const ::std::string& contactId) - { - return NotifyDelContact(loginId, contactId, 0); - } - ::Ice::Int NotifyDelContact(const ::std::string& loginId, const ::std::string& contactId, const ::Ice::Context& __ctx) - { - return NotifyDelContact(loginId, contactId, &__ctx); - } - -private: - - ::Ice::Int NotifyDelContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int NotifyAddContact(const ::std::string& loginId, const ::std::string& contactId, const ::std::string& groupName, ::Ice::Int groupId) - { - return NotifyAddContact(loginId, contactId, groupName, groupId, 0); - } - ::Ice::Int NotifyAddContact(const ::std::string& loginId, const ::std::string& contactId, const ::std::string& groupName, ::Ice::Int groupId, const ::Ice::Context& __ctx) - { - return NotifyAddContact(loginId, contactId, groupName, groupId, &__ctx); - } - -private: - - ::Ice::Int NotifyAddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class NotifyContactInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int NotifyDelContact(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int NotifyAddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class NotifyContactInterface : virtual public ::IceDelegate::AliIM::NotifyContactInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int NotifyDelContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyAddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class NotifyContactInterface : virtual public ::IceDelegate::AliIM::NotifyContactInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int NotifyDelContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyAddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class NotifyContactInterface : virtual public ::Ice::Object -{ -public: - - typedef NotifyContactInterfacePrx ProxyType; - typedef NotifyContactInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int NotifyDelContact(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___NotifyDelContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int NotifyAddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___NotifyAddContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__NotifyContactInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/packdata.h.svn-base b/features/aliww/include/.svn/text-base/packdata.h.svn-base deleted file mode 100644 index 6d81d08..0000000 --- a/features/aliww/include/.svn/text-base/packdata.h.svn-base +++ /dev/null @@ -1,856 +0,0 @@ -#ifndef __PACKDATA_H -#define __PACKDATA_H - -#include -#include -#include -#ifdef _WIN32 -#include -#include "zlib.h" -#else -#include -#include -#endif -#include "datatype.h" -#include "cow_container" - -#define MAX_RECORD_SIZE (10 * 1024 * 1024) -enum PACKRETCODE -{ - PACK_RIGHT=0, - - PACK_STARTER_ERROR, - PACK_VERSION_ERROR, - PACK_LENGTH_ERROR, - PACK_CHECKCODE_ERROR, - PACK_TYPEMATCH_ERROR, - PACK_INVALID, - PACK_SYSTEM_ERROR -}; - -enum FIELDTYPE -{ - FT_PACK = 0, - FT_INT8, - FT_UINT8, - FT_INT16, - FT_UINT16, - FT_INT32, - FT_UINT32, - FT_INT64, - FT_UINT64, - FT_STRUCT, - FT_MAP, - FT_STRING = 0x40, - FT_VECTOR = 0x50, -}; - -struct CFieldType -{ - FIELDTYPE m_baseType; - int m_packMode; - std::vector m_subType; -}; - -class CPackData -{ -public: - uint8_t CalcLrc(const std::string& data, uint32_t len) - { - if(data.length() < len) throw PACK_LENGTH_ERROR; - uint8_t lrc = 0; - for (std::string::size_type i = 0; i < len; i++) - { - lrc ^= (uint8_t)data[i]; - } - return lrc; - } - - static bool CompressData1(std::string& strData, uint32_t nHeadLen) - { - uLongf falllen = strData.size() - nHeadLen; - Bytef *buffer = new Bytef[falllen]; - uLongf bufflen = falllen; - bool ret = false; - const Bytef *src = (const Bytef *)(strData.data() + nHeadLen); - int zret = compress(buffer, &bufflen, src, falllen); - if(zret == Z_OK) - { - strData.resize(nHeadLen + bufflen); - strData.replace(nHeadLen, bufflen, (char *)buffer, bufflen); - ret = true; - } - - delete[] buffer; - return ret; - } - - static bool UncompressData1(std::string& strData, uint32_t nHeadLen, uint32_t offset) - { - uLongf bufflen = 8 * (strData.size() - nHeadLen); - const Bytef *src = (const Bytef *)strData.data() + nHeadLen; - uLongf srcLen = strData.size() - nHeadLen - offset; - int zret; - bool ret = false; - do{ - Bytef *buffer = new Bytef[bufflen]; - zret = uncompress(buffer, &bufflen, src, srcLen); - if(zret == Z_OK) - { - strData.resize(nHeadLen + bufflen); - strData.replace(nHeadLen, bufflen, (char *)buffer, bufflen); - ret = true; - } - bufflen <<= 1; - delete[] buffer; - } - while(zret == -5); - return ret; - } - - static bool CompressData2(std::string& strData, uint32_t nHeadLen) - { - uLongf falllen = strData.size() - nHeadLen; - Bytef *buffer = new Bytef[falllen]; - uLongf bufflen = falllen; - bool ret = false; - const Bytef *src = (const Bytef *)(strData.data() + nHeadLen); - int zret = compress(buffer, &bufflen, src, falllen); - if(zret == Z_OK) - { - strData.resize(nHeadLen + 4 + bufflen); - uint32_t nTmp = htonl((uint32_t)falllen); - strData.replace(nHeadLen, 4, (char *)&nTmp, 4); - strData.replace(nHeadLen + 4, bufflen, (char *)buffer, bufflen); - ret = true; - } - - delete[] buffer; - return ret; - } - - static bool UncompressData2(std::string& strData, uint32_t nHeadLen) - { - uint32_t nSize = ntohl(*(uint32_t *)(strData.c_str() + nHeadLen)); - uLongf buffLen = nSize + 100; - Bytef *buffer = new Bytef[buffLen]; - bool ret = false; - const Bytef *src = (const Bytef *)strData.data() + nHeadLen + 4; - uLongf srcLen = strData.size() - nHeadLen - 4; - int zret = uncompress(buffer, &buffLen, src, srcLen); - if(zret == Z_OK) - { - strData.replace(nHeadLen, buffLen, (char *)buffer, buffLen); - ret = true; - } - delete[] buffer; - return ret; - } - - static uint16_t CalcCheckCode(const std::string& data, uint32_t begin) - { - uint16_t nCheckCode = 0; - for (std::string::size_type i=begin; i < data.length(); i++) - { - nCheckCode += (uint8_t)data[i]; - } - return nCheckCode; - } - -protected: - uint32_t PeekField(CFieldType field) - { - switch(field.m_baseType) - { - case FT_INT8: - case FT_UINT8: - if (m_inCursor + 1 <= m_inPtr->length()) - m_inCursor++; - else - throw PACK_LENGTH_ERROR; - return 1; - case FT_INT16: - case FT_UINT16: - if (m_inCursor + 2 <= m_inPtr->length()) - m_inCursor += 2; - else - throw PACK_LENGTH_ERROR; - return 2; - case FT_INT32: - case FT_UINT32: - if (m_inCursor + 4 <= m_inPtr->length()) - m_inCursor += 4; - else - throw PACK_LENGTH_ERROR; - return 4; - case FT_INT64: - case FT_UINT64: - if (m_inCursor + 8 <= m_inPtr->length()) - m_inCursor += 8; - else - throw PACK_LENGTH_ERROR; - return 8; - case FT_STRING: - { - uint32_t nLen, nFieldLen; - if(field.m_packMode == 1) - { - uint8_t len; - (*this) >> len; - nLen = len; - nFieldLen = nLen + 1; - } - else if(field.m_packMode == 2) - { - uint16_t len; - (*this) >> len; - nLen = len; - nFieldLen = nLen + 2; - } - else - { - (*this) >> nLen; - nFieldLen = nLen + 4; - } - if (m_inCursor + nLen <= m_inPtr->length()) - m_inCursor += nLen; - else - throw PACK_LENGTH_ERROR; - return nFieldLen; - } - case FT_VECTOR: - { - if(field.m_subType.size() != 1) throw PACK_INVALID; - uint32_t nLen, nFieldLen; - if(field.m_packMode == 1) - { - uint8_t len; - (*this) >> len; - nLen = len; - nFieldLen = 1; - } - else if(field.m_packMode == 2) - { - uint16_t len; - (*this) >> len; - nLen = len; - nFieldLen = 2; - } - else - { - (*this) >> nLen; - nFieldLen = 4; - } - for(uint32_t i = 0; i < nLen; i++) - nFieldLen += PeekField(field.m_subType[0]); - return nFieldLen; - } - case FT_MAP: - { - if(field.m_subType.size() != 2) throw PACK_INVALID; - uint8_t nLen; - uint32_t nFieldLen = 1; - (*this) >> nLen; - for(int i = 0; i < nLen; i++) - { - nFieldLen += PeekField(field.m_subType[0]); - nFieldLen += PeekField(field.m_subType[1]); - } - return nFieldLen; - } - case FT_STRUCT: - { - uint8_t nLen; - (*this) >> nLen; - for(int i = 0; i < nLen; i++) - PeekField(); - return 0; - } - default: - throw PACK_INVALID; - } - } - -public: - void PeekField() - { - CFieldType field; - (*this) >> field; - PeekField(field); - } - - CPackData() : m_inCursor(0),m_inPtr(&m_in), m_outCursor(0), m_outPtr(&m_out) { } - void ResetInBuff(const std::string& data) - { - m_inPtr = &data; - m_inCursor = 0; - } - - void SetInCursor(uint32_t cursor = 0) - { - m_inCursor = cursor; - } - - CPackData &operator >> (char& chVal) - { - if (m_inCursor + 1 <= m_inPtr->length()) - { - chVal = (*m_inPtr)[m_inCursor++]; - } - else - { - throw PACK_LENGTH_ERROR; - } - return *this; - } - - CPackData &operator >> (uint8_t& chVal) - { - if (m_inCursor + 1 <= m_inPtr->length()) - { - chVal = (*m_inPtr)[m_inCursor++]; - } - else - { - throw PACK_LENGTH_ERROR; - } - return *this; - } - - CPackData &operator >> (CFieldType& field) - { - uint8_t type; - (*this) >> type; - if(type >= 0x40) - { - field.m_baseType = (FIELDTYPE)(type & 0xf0); - field.m_packMode = type & 0x0f; - } - else - { - field.m_baseType = (FIELDTYPE)(type); - field.m_packMode = 0; - } - switch(field.m_baseType) - { - case FT_VECTOR: - { - field.m_subType.clear(); - CFieldType subtype; - (*this) >> subtype; - field.m_subType.push_back(subtype); - break; - } - case FT_MAP: - { - field.m_subType.clear(); - CFieldType subtype; - (*this) >> subtype; - field.m_subType.push_back(subtype); - (*this) >> subtype; - field.m_subType.push_back(subtype); - break; - } - default: - break; - } - return *this; - } - - CPackData &operator >> (int16_t& nVal) - { - if (m_inCursor + 2 <= m_inPtr->length()) - { - int16_t nTmp; - m_inPtr->copy((char *)&nTmp, 2, m_inCursor); - m_inCursor += 2; - nVal = ntohs(nTmp); - } - else - { - throw PACK_LENGTH_ERROR; - } - return *this; - } - - CPackData &operator >> (uint16_t& wVal) - { - if (m_inCursor + 2 <= m_inPtr->length()) - { - uint16_t nTmp; - m_inPtr->copy((char *)&nTmp, 2, m_inCursor); - m_inCursor += 2; - wVal = ntohs(nTmp); - } - else - { - throw PACK_LENGTH_ERROR; - } - return *this; - } - - CPackData &operator >> (int32_t& lVal) - { - if (m_inCursor + 4 <= m_inPtr->length()) - { - int32_t lTmp; - m_inPtr->copy((char *)&lTmp, 4, m_inCursor); - m_inCursor += 4; - lVal = ntohl(lTmp); - } - else - { - throw PACK_LENGTH_ERROR; - } - return *this; - } - - CPackData &operator >> (uint32_t& dwVal) - { - if (m_inCursor + 4 <= m_inPtr->length()) - { - int32_t dwTmp; - m_inPtr->copy((char *)&dwTmp, 4, m_inCursor); - m_inCursor += 4; - dwVal = ntohl(dwTmp); - } - else - { - throw PACK_LENGTH_ERROR; - } - return *this; - } - - CPackData &operator >> (int64_t& llVal) - { - if (m_inCursor + 8 <= m_inPtr->length()) - { - uint32_t dwTmp; - m_inPtr->copy((char *)&dwTmp, 4, m_inCursor); - m_inCursor += 4; - llVal = ntohl(dwTmp); - m_inPtr->copy((char *)&dwTmp, 4, m_inCursor); - m_inCursor += 4; - llVal = (llVal << 32) + ntohl(dwTmp); - } - else - { - throw PACK_LENGTH_ERROR; - } - return *this; - } - - CPackData &operator >> (uint64_t& ullVal) - { - if (m_inCursor + 8 <= m_inPtr->length()) - { - uint32_t dwTmp; - m_inPtr->copy((char *)&dwTmp, 4, m_inCursor); - m_inCursor += 4; - ullVal = ntohl(dwTmp); - m_inPtr->copy((char *)&dwTmp, 4, m_inCursor); - ullVal = (ullVal << 32) + ntohl(dwTmp); - m_inCursor += 4; - } - else - { - throw PACK_LENGTH_ERROR; - } - return *this; - } - - CPackData &operator >> (std::string& strVal) - { - uint32_t dwLen; - (*this) >> dwLen; - if (m_inCursor + dwLen <= m_inPtr->length()) - { - strVal.assign(*m_inPtr, m_inCursor, dwLen); - m_inCursor += dwLen; - } - else - { - throw PACK_LENGTH_ERROR; - } - return *this; - } - - bool ReadData (std::string& strVal, uint32_t nMaxLen, int nMode) - { - uint32_t nLen, nSize; - switch(nMode) - { - case 0: - if(nMaxLen == 0) - { - nSize = nMaxLen = nLen = m_inPtr->length() - m_inCursor; - break; - } - if(m_inCursor + nMaxLen > m_inPtr->length()) - throw PACK_LENGTH_ERROR; - for(nLen = 0; nLen < nMaxLen && (*m_inPtr)[m_inCursor + nLen] != 0; nLen++); - nSize = nMaxLen; - break; - case 1: - { - uint8_t len; - *this >> len; - nSize = nLen = len; - if(nMaxLen == 0) nMaxLen = len; - } - break; - case 2: - { - uint16_t len; - *this >> len; - nSize = nLen = len; - if(nMaxLen == 0) nMaxLen = len; - } - break; - default: - { - uint32_t len; - *this >> len; - nSize = nLen = len; - if(nMaxLen == 0) nMaxLen = len; - } - } - if(nSize <= nMaxLen && m_inCursor + nLen <= m_inPtr->length()) - { - strVal.assign(*m_inPtr, m_inCursor, nLen); - m_inCursor += nSize; - } - else - { - throw PACK_LENGTH_ERROR; - } - return true; - } - - template - CPackData &operator>> (std::vector<_Tp>& aryVal) - { - uint32_t dwLen; - *this >> dwLen; - - _Tp tmpVal; - aryVal.reserve(dwLen); - for(uint32_t i=0; i < dwLen; i++) - { - *this >> tmpVal; - aryVal.push_back(tmpVal); - } - return *this; - } - - template - bool ReadData (std::vector<_Tp>& aryVal, int nMode) - { - uint32_t nLen; - switch(nMode) { - case 1: - { - uint8_t len; - *this >> len; - nLen = len; - } - break; - case 2: - { - uint16_t len; - *this >> len; - nLen = len; - } - break; - default: - { - *this >> aryVal; - return true; - } - } - aryVal.reserve(nLen); - _Tp tmpVal; - for(uint32_t i=0; i < nLen; i++) - { - *this >> tmpVal; - aryVal.push_back(tmpVal); - } - return true; - } - - void ResetOutBuff() - { - m_outCursor = 0; - } - - void ResetOutBuff(std::string& strData) - { - m_outPtr = &strData; - m_outCursor = 0; - } - - void SetOutCursor(uint32_t cursor = 0) - { - if(m_outPtr->length() < cursor) - m_outPtr->resize(cursor); - m_outCursor = cursor; - } - - CPackData &operator << (const char chVal) - { - if(m_outCursor < m_outPtr->length()) - (*m_outPtr)[m_outCursor] = chVal; - else - (*m_outPtr) += chVal; - m_outCursor++; - return *this; - } - - CPackData &operator << (const uint8_t chVal) - { - if(m_outCursor < m_outPtr->length()) - (*m_outPtr)[m_outCursor] = (char)chVal; - else - (*m_outPtr) += (char)chVal; - m_outCursor++; - return *this; - } - - CPackData &operator << (FIELDTYPE ftType) - { - uint8_t type = (uint8_t)ftType; - (*this) << type; - return *this; - } - - CPackData &operator << (const CFieldType& field) - { - uint8_t type; - if(field.m_baseType >= 0x40) - { - if(field.m_packMode == 1 || field.m_packMode == 2) - type = (uint8_t)(field.m_baseType + field.m_packMode); - else - type = field.m_baseType; - } - (*this) << type; - switch(field.m_baseType) - { - case FT_VECTOR: - { - (*this) << field.m_subType[0]; - break; - } - case FT_MAP: - { - (*this) << field.m_subType[0]; - (*this) << field.m_subType[1]; - break; - } - default: - break; - } - return *this; - } - - CPackData &operator << (const int16_t nVal) - { - uint16_t nTmp = htons(nVal); - (*m_outPtr).replace(m_outCursor, 2, (char *)&nTmp, 2); - m_outCursor += 2; - return *this; - } - - CPackData &operator << (const uint16_t wVal) - { - uint16_t nTmp = htons(wVal); - m_outPtr->replace(m_outCursor, 2, (char *)&nTmp, 2); - m_outCursor += 2; - return *this; - } - - CPackData &operator << (const int32_t lVal) - { - uint32_t nTmp = htonl(lVal); - m_outPtr->replace(m_outCursor, 4, (char *)&nTmp, 4); - m_outCursor += 4; - return *this; - } - - CPackData &operator << (const uint32_t dwVal) - { - uint32_t nTmp = htonl(dwVal); - m_outPtr->replace(m_outCursor, 4, (char *)&nTmp, 4); - m_outCursor += 4; - return *this; - } - - CPackData &operator << (const int64_t llVal) - { - uint32_t dwTmp = (uint32_t)((uint64_t) llVal >> 32); - (*this) << dwTmp; - dwTmp = (uint32_t)((uint64_t) llVal & 0xffffffff); - (*this) << dwTmp; - return *this; - } - - CPackData &operator << (const uint64_t ullVal) - { - uint32_t dwTmp = (uint32_t)(ullVal >> 32); - (*this) << dwTmp; - dwTmp = (uint32_t)(ullVal & 0xffffffff); - (*this) << dwTmp; - return *this; - } - - CPackData &operator << (const std::string& strVal) - { - (*this) << (uint32_t) strVal.length(); - m_outPtr->replace(m_outCursor, strVal.length(), strVal); - m_outCursor += strVal.length(); - return *this; - } - - bool WriteData (const std::string& strVal, int nMode, uint32_t nMaxLen = 0, char chFill = 0) - { - switch(nMode) { - case 0: - if(strVal.length() < nMaxLen) - { - m_outPtr->replace(m_outCursor, strVal.length(), strVal); - m_outPtr->replace(m_outCursor + strVal.length(), nMaxLen - strVal.length(), nMaxLen - strVal.length(), chFill); - } - else - m_outPtr->replace(m_outCursor, nMaxLen, strVal); - m_outCursor += nMaxLen; - return true; - case 1: - { - uint8_t len = (uint8_t) strVal.length(); - (*this) << len; - break; - } - case 2: - { - uint16_t len = (uint16_t) strVal.length(); - (*this) << len; - break; - } - default: - { - uint32_t len = (uint32_t) strVal.length(); - (*this) << len; - break; - } - } - m_outPtr->replace(m_outCursor, strVal.length(), strVal); - m_outCursor += strVal.length(); - return true; - } - - bool WriteRawData(const uint8_t* pBuffer, uint32_t nLen) - { - m_outPtr->replace(m_outCursor, nLen, (const char*)pBuffer, nLen); - m_outCursor += nLen; - return true; - } - - template - CPackData &operator<< (const std::vector<_Tp>& aryVal) - { - uint32_t dwLen = aryVal.size(); - (*this) << dwLen; - - for(uint32_t i=0; i < dwLen; i++) - *this << aryVal[i]; - - return *this; - } - CPackData &operator<< (const std::map& attrs) - { - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = attrs.size(); - (*this) << nSize; - std::map< std::string,std::string >::const_iterator itr; - for(itr = attrs.begin(); itr != attrs.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - return *this; - } - CPackData &operator>> (std::map& attrs) - { - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_MAP) throw PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - std::string key; - std::string value; - (*this) >> key; - (*this) >> value; - attrs[key] = value; - } - } - return *this; - } - template - bool WriteData (const std::vector<_Tp>& aryVal, int nMode) - { - switch(nMode) { - case 1: - { - uint8_t len = aryVal.size(); - (*this) << len; - break; - } - case 2: - { - uint16_t len = aryVal.size(); - (*this) << len; - break; - } - default: - { - uint32_t len = aryVal.size(); - (*this) << len; - break; - } - } - for(uint32_t i=0; i < aryVal.size(); i++) - (*this) << aryVal[i]; - - return true; - } - - void FormData(uint32_t offset) - { - uint32_t len = m_outPtr->length() - offset; - if(len % 8 != 0) - { - m_outPtr->append(8 - len % 8, '\0'); - } - } - - const std::string& GetData() const - { - return *m_outPtr; - } -private: - std::string m_in; - std::string::size_type m_inCursor; - const std::string *m_inPtr; - std::string m_out; - std::string::size_type m_outCursor; - std::string *m_outPtr; -}; - -#endif //__PACKDATA_H diff --git a/features/aliww/include/.svn/text-base/recentCnt.h.svn-base b/features/aliww/include/.svn/text-base/recentCnt.h.svn-base deleted file mode 100644 index e72f0c6..0000000 --- a/features/aliww/include/.svn/text-base/recentCnt.h.svn-base +++ /dev/null @@ -1,301 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `recentCnt.ice' - -#ifndef __recentCnt_h__ -#define __recentCnt_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class RecentCntService; -bool operator==(const RecentCntService&, const RecentCntService&); -bool operator!=(const RecentCntService&, const RecentCntService&); -bool operator<(const RecentCntService&, const RecentCntService&); -bool operator<=(const RecentCntService&, const RecentCntService&); -bool operator>(const RecentCntService&, const RecentCntService&); -bool operator>=(const RecentCntService&, const RecentCntService&); - -} - -} - -namespace AliIM -{ - -class RecentCntService; -bool operator==(const RecentCntService&, const RecentCntService&); -bool operator!=(const RecentCntService&, const RecentCntService&); -bool operator<(const RecentCntService&, const RecentCntService&); -bool operator<=(const RecentCntService&, const RecentCntService&); -bool operator>(const RecentCntService&, const RecentCntService&); -bool operator>=(const RecentCntService&, const RecentCntService&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::RecentCntService*); -void decRef(::AliIM::RecentCntService*); - -void incRef(::IceProxy::AliIM::RecentCntService*); -void decRef(::IceProxy::AliIM::RecentCntService*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::RecentCntService> RecentCntServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::RecentCntService> RecentCntServicePrx; - -void __write(::IceInternal::BasicStream*, const RecentCntServicePrx&); -void __read(::IceInternal::BasicStream*, RecentCntServicePrx&); -void __write(::IceInternal::BasicStream*, const RecentCntServicePtr&); -void __patch__RecentCntServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const RecentCntServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const RecentCntServicePtr&); -void __decRefUnsafe(const RecentCntServicePtr&); -void __clearHandleUnsafe(RecentCntServicePtr&); - -} - -namespace AliIM -{ - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class RecentCntService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int updateRcnt(const ::std::string& loginId, ::Ice::Int pretimestamp, ::Ice::Int curtimestamp, const ::std::string& pcid, ::Ice::Int ip, const ::AliIM::SICERecentCntSeq& rcntlist) - { - return updateRcnt(loginId, pretimestamp, curtimestamp, pcid, ip, rcntlist, 0); - } - ::Ice::Int updateRcnt(const ::std::string& loginId, ::Ice::Int pretimestamp, ::Ice::Int curtimestamp, const ::std::string& pcid, ::Ice::Int ip, const ::AliIM::SICERecentCntSeq& rcntlist, const ::Ice::Context& __ctx) - { - return updateRcnt(loginId, pretimestamp, curtimestamp, pcid, ip, rcntlist, &__ctx); - } - -private: - - ::Ice::Int updateRcnt(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::AliIM::SICERecentCntSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getRcntList(const ::std::string& loginId, ::Ice::Int num, const ::std::string& orderby, ::AliIM::SICERecentCntSeq& rcntlist, ::Ice::Int& timestamp) - { - return getRcntList(loginId, num, orderby, rcntlist, timestamp, 0); - } - ::Ice::Int getRcntList(const ::std::string& loginId, ::Ice::Int num, const ::std::string& orderby, ::AliIM::SICERecentCntSeq& rcntlist, ::Ice::Int& timestamp, const ::Ice::Context& __ctx) - { - return getRcntList(loginId, num, orderby, rcntlist, timestamp, &__ctx); - } - -private: - - ::Ice::Int getRcntList(const ::std::string&, ::Ice::Int, const ::std::string&, ::AliIM::SICERecentCntSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserInfo(const ::std::string& loginId, ::std::string& pcid, ::Ice::Int& ip, ::Ice::Int& timestamp) - { - return getUserInfo(loginId, pcid, ip, timestamp, 0); - } - ::Ice::Int getUserInfo(const ::std::string& loginId, ::std::string& pcid, ::Ice::Int& ip, ::Ice::Int& timestamp, const ::Ice::Context& __ctx) - { - return getUserInfo(loginId, pcid, ip, timestamp, &__ctx); - } - -private: - - ::Ice::Int getUserInfo(const ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getRcntCount(const ::std::string& loginId) - { - return getRcntCount(loginId, 0); - } - ::Ice::Int getRcntCount(const ::std::string& loginId, const ::Ice::Context& __ctx) - { - return getRcntCount(loginId, &__ctx); - } - -private: - - ::Ice::Int getRcntCount(const ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class RecentCntService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int updateRcnt(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::AliIM::SICERecentCntSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getRcntList(const ::std::string&, ::Ice::Int, const ::std::string&, ::AliIM::SICERecentCntSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserInfo(const ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getRcntCount(const ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class RecentCntService : virtual public ::IceDelegate::AliIM::RecentCntService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int updateRcnt(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::AliIM::SICERecentCntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getRcntList(const ::std::string&, ::Ice::Int, const ::std::string&, ::AliIM::SICERecentCntSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getUserInfo(const ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getRcntCount(const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class RecentCntService : virtual public ::IceDelegate::AliIM::RecentCntService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int updateRcnt(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::AliIM::SICERecentCntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getRcntList(const ::std::string&, ::Ice::Int, const ::std::string&, ::AliIM::SICERecentCntSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getUserInfo(const ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getRcntCount(const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class RecentCntService : virtual public ::Ice::Object -{ -public: - - typedef RecentCntServicePrx ProxyType; - typedef RecentCntServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int updateRcnt(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::AliIM::SICERecentCntSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateRcnt(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getRcntList(const ::std::string&, ::Ice::Int, const ::std::string&, ::AliIM::SICERecentCntSeq&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getRcntList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserInfo(const ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getRcntCount(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getRcntCount(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__RecentCntServicePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/recentCntCache.h.svn-base b/features/aliww/include/.svn/text-base/recentCntCache.h.svn-base deleted file mode 100644 index 05f0d09..0000000 --- a/features/aliww/include/.svn/text-base/recentCntCache.h.svn-base +++ /dev/null @@ -1,253 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `recentCntCache.ice' - -#ifndef __recentCntCache_h__ -#define __recentCntCache_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class RecentCntCacheService; -bool operator==(const RecentCntCacheService&, const RecentCntCacheService&); -bool operator!=(const RecentCntCacheService&, const RecentCntCacheService&); -bool operator<(const RecentCntCacheService&, const RecentCntCacheService&); -bool operator<=(const RecentCntCacheService&, const RecentCntCacheService&); -bool operator>(const RecentCntCacheService&, const RecentCntCacheService&); -bool operator>=(const RecentCntCacheService&, const RecentCntCacheService&); - -} - -} - -namespace AliIM -{ - -class RecentCntCacheService; -bool operator==(const RecentCntCacheService&, const RecentCntCacheService&); -bool operator!=(const RecentCntCacheService&, const RecentCntCacheService&); -bool operator<(const RecentCntCacheService&, const RecentCntCacheService&); -bool operator<=(const RecentCntCacheService&, const RecentCntCacheService&); -bool operator>(const RecentCntCacheService&, const RecentCntCacheService&); -bool operator>=(const RecentCntCacheService&, const RecentCntCacheService&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::RecentCntCacheService*); -void decRef(::AliIM::RecentCntCacheService*); - -void incRef(::IceProxy::AliIM::RecentCntCacheService*); -void decRef(::IceProxy::AliIM::RecentCntCacheService*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::RecentCntCacheService> RecentCntCacheServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::RecentCntCacheService> RecentCntCacheServicePrx; - -void __write(::IceInternal::BasicStream*, const RecentCntCacheServicePrx&); -void __read(::IceInternal::BasicStream*, RecentCntCacheServicePrx&); -void __write(::IceInternal::BasicStream*, const RecentCntCacheServicePtr&); -void __patch__RecentCntCacheServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const RecentCntCacheServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const RecentCntCacheServicePtr&); -void __decRefUnsafe(const RecentCntCacheServicePtr&); -void __clearHandleUnsafe(RecentCntCacheServicePtr&); - -} - -namespace AliIM -{ - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class RecentCntCacheService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int updateRcnt(const ::std::string& loginId, ::Ice::Int curtimestamp, const ::std::string& pcid, ::Ice::Int ip, const ::AliIM::SICERecentCntSeq& rcntlist) - { - return updateRcnt(loginId, curtimestamp, pcid, ip, rcntlist, 0); - } - ::Ice::Int updateRcnt(const ::std::string& loginId, ::Ice::Int curtimestamp, const ::std::string& pcid, ::Ice::Int ip, const ::AliIM::SICERecentCntSeq& rcntlist, const ::Ice::Context& __ctx) - { - return updateRcnt(loginId, curtimestamp, pcid, ip, rcntlist, &__ctx); - } - -private: - - ::Ice::Int updateRcnt(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::AliIM::SICERecentCntSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getRcntList(const ::std::string& loginId, ::Ice::Int timestamp, ::AliIM::SICERecentCntSeq& rcntlist, ::Ice::Int& ip, ::std::string& pcid) - { - return getRcntList(loginId, timestamp, rcntlist, ip, pcid, 0); - } - ::Ice::Int getRcntList(const ::std::string& loginId, ::Ice::Int timestamp, ::AliIM::SICERecentCntSeq& rcntlist, ::Ice::Int& ip, ::std::string& pcid, const ::Ice::Context& __ctx) - { - return getRcntList(loginId, timestamp, rcntlist, ip, pcid, &__ctx); - } - -private: - - ::Ice::Int getRcntList(const ::std::string&, ::Ice::Int, ::AliIM::SICERecentCntSeq&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class RecentCntCacheService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int updateRcnt(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::AliIM::SICERecentCntSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getRcntList(const ::std::string&, ::Ice::Int, ::AliIM::SICERecentCntSeq&, ::Ice::Int&, ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class RecentCntCacheService : virtual public ::IceDelegate::AliIM::RecentCntCacheService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int updateRcnt(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::AliIM::SICERecentCntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getRcntList(const ::std::string&, ::Ice::Int, ::AliIM::SICERecentCntSeq&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class RecentCntCacheService : virtual public ::IceDelegate::AliIM::RecentCntCacheService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int updateRcnt(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::AliIM::SICERecentCntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getRcntList(const ::std::string&, ::Ice::Int, ::AliIM::SICERecentCntSeq&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class RecentCntCacheService : virtual public ::Ice::Object -{ -public: - - typedef RecentCntCacheServicePrx ProxyType; - typedef RecentCntCacheServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int updateRcnt(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::AliIM::SICERecentCntSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateRcnt(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getRcntList(const ::std::string&, ::Ice::Int, ::AliIM::SICERecentCntSeq&, ::Ice::Int&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getRcntList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__RecentCntCacheServicePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/recentCntdatadefine.h.svn-base b/features/aliww/include/.svn/text-base/recentCntdatadefine.h.svn-base deleted file mode 100644 index 8fea140..0000000 --- a/features/aliww/include/.svn/text-base/recentCntdatadefine.h.svn-base +++ /dev/null @@ -1,78 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `recentCntdatadefine.ice' - -#ifndef __recentCntdatadefine_h__ -#define __recentCntdatadefine_h__ - -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace AliIM -{ - -struct SICERecentCnt -{ - ::std::string contactId; - ::Ice::Long cntmsgSnd; - ::Ice::Long cntmsgRcv; - ::Ice::Long validTime; - ::Ice::Int sndflag; - ::Ice::Int revflag; - ::Ice::Int strangerflag; - - bool operator==(const SICERecentCnt&) const; - bool operator!=(const SICERecentCnt&) const; - bool operator<(const SICERecentCnt&) const; - bool operator<=(const SICERecentCnt& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICERecentCnt& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICERecentCnt& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIM::SICERecentCnt> SICERecentCntSeq; - -class __U__SICERecentCntSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIM::SICERecentCnt*, const ::AliIM::SICERecentCnt*, __U__SICERecentCntSeq); -void __read(::IceInternal::BasicStream*, SICERecentCntSeq&, __U__SICERecentCntSeq); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/recentContactExternal.h.svn-base b/features/aliww/include/.svn/text-base/recentContactExternal.h.svn-base deleted file mode 100644 index e99a547..0000000 --- a/features/aliww/include/.svn/text-base/recentContactExternal.h.svn-base +++ /dev/null @@ -1,228 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `recentContactExternal.ice' - -#ifndef __recentContactExternal_h__ -#define __recentContactExternal_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class IRecentContactExternal; -bool operator==(const IRecentContactExternal&, const IRecentContactExternal&); -bool operator!=(const IRecentContactExternal&, const IRecentContactExternal&); -bool operator<(const IRecentContactExternal&, const IRecentContactExternal&); -bool operator<=(const IRecentContactExternal&, const IRecentContactExternal&); -bool operator>(const IRecentContactExternal&, const IRecentContactExternal&); -bool operator>=(const IRecentContactExternal&, const IRecentContactExternal&); - -} - -} - -namespace AliIM -{ - -class IRecentContactExternal; -bool operator==(const IRecentContactExternal&, const IRecentContactExternal&); -bool operator!=(const IRecentContactExternal&, const IRecentContactExternal&); -bool operator<(const IRecentContactExternal&, const IRecentContactExternal&); -bool operator<=(const IRecentContactExternal&, const IRecentContactExternal&); -bool operator>(const IRecentContactExternal&, const IRecentContactExternal&); -bool operator>=(const IRecentContactExternal&, const IRecentContactExternal&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::IRecentContactExternal*); -void decRef(::AliIM::IRecentContactExternal*); - -void incRef(::IceProxy::AliIM::IRecentContactExternal*); -void decRef(::IceProxy::AliIM::IRecentContactExternal*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::IRecentContactExternal> IRecentContactExternalPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::IRecentContactExternal> IRecentContactExternalPrx; - -void __write(::IceInternal::BasicStream*, const IRecentContactExternalPrx&); -void __read(::IceInternal::BasicStream*, IRecentContactExternalPrx&); -void __write(::IceInternal::BasicStream*, const IRecentContactExternalPtr&); -void __patch__IRecentContactExternalPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IRecentContactExternalPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IRecentContactExternalPtr&); -void __decRefUnsafe(const IRecentContactExternalPtr&); -void __clearHandleUnsafe(IRecentContactExternalPtr&); - -} - -namespace AliIM -{ - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class IRecentContactExternal : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int addRecentContact(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& loginId, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int optime) - { - return addRecentContact(strCaller, strServiceType, loginId, contactId, type, optime, 0); - } - ::Ice::Int addRecentContact(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& loginId, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int optime, const ::Ice::Context& __ctx) - { - return addRecentContact(strCaller, strServiceType, loginId, contactId, type, optime, &__ctx); - } - -private: - - ::Ice::Int addRecentContact(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class IRecentContactExternal : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int addRecentContact(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class IRecentContactExternal : virtual public ::IceDelegate::AliIM::IRecentContactExternal, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int addRecentContact(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class IRecentContactExternal : virtual public ::IceDelegate::AliIM::IRecentContactExternal, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int addRecentContact(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class IRecentContactExternal : virtual public ::Ice::Object -{ -public: - - typedef IRecentContactExternalPrx ProxyType; - typedef IRecentContactExternalPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int addRecentContact(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addRecentContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IRecentContactExternalPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/rgss_pack.h.svn-base b/features/aliww/include/.svn/text-base/rgss_pack.h.svn-base deleted file mode 100644 index 610f1e8..0000000 --- a/features/aliww/include/.svn/text-base/rgss_pack.h.svn-base +++ /dev/null @@ -1,402 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: rgss_pack.h -// Date: 2011-01-30 12:49:18 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __RGSS_PACK_H__ -#define __RGSS_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "ss_head.h" -#include "const_macro.h" -#include "imss_cmd.h" - -using namespace std; - -struct SSsuserStatus -{ -public: - SSsuserStatus() - { - } - - ~SSsuserStatus() { } - SSsuserStatus(const string& strUserId, const uint16_t& wServId, const uint8_t& chBasicStatus, const uint8_t& chPredefStatus, const uint32_t& dwIp, const string& strVersion) - { - m_userId = strUserId; - m_servId = wServId; - m_basicStatus = chBasicStatus; - m_predefStatus = chPredefStatus; - m_ip = dwIp; - m_version = strVersion; - } - SSsuserStatus& operator=( const SSsuserStatus& sSsuserStatus ) - { - m_userId = sSsuserStatus.m_userId; - m_servId = sSsuserStatus.m_servId; - m_basicStatus = sSsuserStatus.m_basicStatus; - m_predefStatus = sSsuserStatus.m_predefStatus; - m_ip = sSsuserStatus.m_ip; - m_version = sSsuserStatus.m_version; - return *this; - } - - string m_userId; - uint16_t m_servId; - uint8_t m_basicStatus; - uint8_t m_predefStatus; - uint32_t m_ip; - string m_version; - -public: - uint32_t Size() const; -}; - -inline uint32_t SSsuserStatus::Size() const -{ - uint32_t nSize = 23; - nSize += m_userId.length(); - nSize += m_version.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SSsuserStatus& sSsuserStatus ); -CPackData& operator>> ( CPackData& cPackData, SSsuserStatus& sSsuserStatus ); - -class CSsReqGetallusersts : public CPackData -{ -public: - enum - { - CMD_ID = SS_REQ_GETALLUSERSTS - }; - ~CSsReqGetallusersts() { } -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsReqGetallusersts::Size() const -{ - return 1; -} -class CSsRspGetallusersts : public CPackData -{ -public: - enum - { - CMD_ID = SS_RSP_GETALLUSERSTS - }; - CSsRspGetallusersts() - { - } - - ~CSsRspGetallusersts() { } - CSsRspGetallusersts(const VECTOR< SSsuserStatus >& vecUserStsList) - { - m_userStsList = vecUserStsList; - } - CSsRspGetallusersts& operator=( const CSsRspGetallusersts& cSsRspGetallusersts ) - { - m_userStsList = cSsRspGetallusersts.m_userStsList; - return *this; - } - - const VECTOR< SSsuserStatus >& GetUserStsList () const { return m_userStsList; } - bool SetUserStsList ( const VECTOR< SSsuserStatus >& vecUserStsList ) - { - m_userStsList = vecUserStsList; - return true; - } -private: - VECTOR< SSsuserStatus > m_userStsList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsRspGetallusersts::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_userStsList.size(); i++) - { - nSize += m_userStsList[i].Size(); - } - return nSize; -} - -class CSsReqGetuserstatus : public CPackData -{ -public: - enum - { - CMD_ID = SS_REQ_GETUSERSTATUS - }; - CSsReqGetuserstatus() - { - } - - ~CSsReqGetuserstatus() { } - CSsReqGetuserstatus(const uint8_t& chType, const VECTOR< string >& vecUserList) - { - m_type = chType; - m_userList = vecUserList; - } - CSsReqGetuserstatus& operator=( const CSsReqGetuserstatus& cSsReqGetuserstatus ) - { - m_type = cSsReqGetuserstatus.m_type; - m_userList = cSsReqGetuserstatus.m_userList; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const VECTOR< string >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< string >& vecUserList ) - { - m_userList = vecUserList; - return true; - } -private: - uint8_t m_type; - VECTOR< string > m_userList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsReqGetuserstatus::Size() const -{ - uint32_t nSize = 9; - nSize += m_userList.size() * 4; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].length(); - } - return nSize; -} - -class CSsRspGetuserstatus : public CPackData -{ -public: - enum - { - CMD_ID = SS_RSP_GETUSERSTATUS - }; - CSsRspGetuserstatus() - { - } - - ~CSsRspGetuserstatus() { } - CSsRspGetuserstatus(const uint8_t& chType, const VECTOR< SSsuserStatus >& vecUserStsList) - { - m_type = chType; - m_userStsList = vecUserStsList; - } - CSsRspGetuserstatus& operator=( const CSsRspGetuserstatus& cSsRspGetuserstatus ) - { - m_type = cSsRspGetuserstatus.m_type; - m_userStsList = cSsRspGetuserstatus.m_userStsList; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const VECTOR< SSsuserStatus >& GetUserStsList () const { return m_userStsList; } - bool SetUserStsList ( const VECTOR< SSsuserStatus >& vecUserStsList ) - { - m_userStsList = vecUserStsList; - return true; - } -private: - uint8_t m_type; - VECTOR< SSsuserStatus > m_userStsList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsRspGetuserstatus::Size() const -{ - uint32_t nSize = 9; - for(uint32_t i = 0; i < m_userStsList.size(); i++) - { - nSize += m_userStsList[i].Size(); - } - return nSize; -} - -class CImSsNtfuserposError : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_NTFUSERPOS_ERROR - }; - ~CImSsNtfuserposError() { } -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsNtfuserposError::Size() const -{ - return 1; -} -class CSsRspReportuserpos : public CPackData -{ -public: - enum - { - CMD_ID = SS_RSP_REPORTUSERPOS - }; - CSsRspReportuserpos() - { - } - - ~CSsRspReportuserpos() { } - CSsRspReportuserpos(const SSsuserStatus& sUserSts) - { - m_userSts = sUserSts; - } - CSsRspReportuserpos& operator=( const CSsRspReportuserpos& cSsRspReportuserpos ) - { - m_userSts = cSsRspReportuserpos.m_userSts; - return *this; - } - - const SSsuserStatus& GetUserSts () const { return m_userSts; } - bool SetUserSts ( const SSsuserStatus& sUserSts ) - { - m_userSts = sUserSts; - return true; - } -private: - SSsuserStatus m_userSts; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsRspReportuserpos::Size() const -{ - uint32_t nSize = 2; - nSize += m_userSts.Size(); - return nSize; -} - -class CSsNtfVersionMessage : public CPackData -{ -public: - enum - { - CMD_ID = SS_NTF_VERSION_MESSAGE - }; - CSsNtfVersionMessage() - { - } - - ~CSsNtfVersionMessage() { } - CSsNtfVersionMessage(const uint8_t& chType, const string& strVersion, const string& strPacket) - { - m_type = chType; - m_version = strVersion; - m_packet = strPacket; - } - CSsNtfVersionMessage& operator=( const CSsNtfVersionMessage& cSsNtfVersionMessage ) - { - m_type = cSsNtfVersionMessage.m_type; - m_version = cSsNtfVersionMessage.m_version; - m_packet = cSsNtfVersionMessage.m_packet; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - m_version = strVersion; - return true; - } - const string& GetPacket () const { return m_packet; } - bool SetPacket ( const string& strPacket ) - { - m_packet = strPacket; - return true; - } -private: - uint8_t m_type; - string m_version; - string m_packet; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsNtfVersionMessage::Size() const -{ - uint32_t nSize = 13; - nSize += m_version.length(); - nSize += m_packet.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/.svn/text-base/ridsrv.h.svn-base b/features/aliww/include/.svn/text-base/ridsrv.h.svn-base deleted file mode 100644 index 966ca61..0000000 --- a/features/aliww/include/.svn/text-base/ridsrv.h.svn-base +++ /dev/null @@ -1,324 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `ridsrv.ice' - -#ifndef __ridsrv_h__ -#define __ridsrv_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace ridService -{ - -class ridSrvMgr; -bool operator==(const ridSrvMgr&, const ridSrvMgr&); -bool operator!=(const ridSrvMgr&, const ridSrvMgr&); -bool operator<(const ridSrvMgr&, const ridSrvMgr&); -bool operator<=(const ridSrvMgr&, const ridSrvMgr&); -bool operator>(const ridSrvMgr&, const ridSrvMgr&); -bool operator>=(const ridSrvMgr&, const ridSrvMgr&); - -} - -} - -namespace ridService -{ - -class ridSrvMgr; -bool operator==(const ridSrvMgr&, const ridSrvMgr&); -bool operator!=(const ridSrvMgr&, const ridSrvMgr&); -bool operator<(const ridSrvMgr&, const ridSrvMgr&); -bool operator<=(const ridSrvMgr&, const ridSrvMgr&); -bool operator>(const ridSrvMgr&, const ridSrvMgr&); -bool operator>=(const ridSrvMgr&, const ridSrvMgr&); - -} - -namespace IceInternal -{ - -void incRef(::ridService::ridSrvMgr*); -void decRef(::ridService::ridSrvMgr*); - -void incRef(::IceProxy::ridService::ridSrvMgr*); -void decRef(::IceProxy::ridService::ridSrvMgr*); - -} - -namespace ridService -{ - -typedef ::IceInternal::Handle< ::ridService::ridSrvMgr> ridSrvMgrPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::ridService::ridSrvMgr> ridSrvMgrPrx; - -void __write(::IceInternal::BasicStream*, const ridSrvMgrPrx&); -void __read(::IceInternal::BasicStream*, ridSrvMgrPrx&); -void __write(::IceInternal::BasicStream*, const ridSrvMgrPtr&); -void __patch__ridSrvMgrPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const ridSrvMgrPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const ridSrvMgrPtr&); -void __decRefUnsafe(const ridSrvMgrPtr&); -void __clearHandleUnsafe(ridSrvMgrPtr&); - -} - -namespace ridService -{ - -} - -namespace IceProxy -{ - -namespace ridService -{ - -class ridSrvMgr : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int CheckUser(const ::std::string& userId, ::Ice::Int ip, const ::std::string& srid, ::std::string& drid) - { - return CheckUser(userId, ip, srid, drid, 0); - } - ::Ice::Int CheckUser(const ::std::string& userId, ::Ice::Int ip, const ::std::string& srid, ::std::string& drid, const ::Ice::Context& __ctx) - { - return CheckUser(userId, ip, srid, drid, &__ctx); - } - -private: - - ::Ice::Int CheckUser(const ::std::string&, ::Ice::Int, const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int Forbiddenpcid(const ::std::string& pcid, ::Ice::Int interval) - { - return Forbiddenpcid(pcid, interval, 0); - } - ::Ice::Int Forbiddenpcid(const ::std::string& pcid, ::Ice::Int interval, const ::Ice::Context& __ctx) - { - return Forbiddenpcid(pcid, interval, &__ctx); - } - -private: - - ::Ice::Int Forbiddenpcid(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int Permitpcid(const ::std::string& pcid) - { - return Permitpcid(pcid, 0); - } - ::Ice::Int Permitpcid(const ::std::string& pcid, const ::Ice::Context& __ctx) - { - return Permitpcid(pcid, &__ctx); - } - -private: - - ::Ice::Int Permitpcid(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int ForbiddenIp(const ::std::string& ip, ::Ice::Int interval) - { - return ForbiddenIp(ip, interval, 0); - } - ::Ice::Int ForbiddenIp(const ::std::string& ip, ::Ice::Int interval, const ::Ice::Context& __ctx) - { - return ForbiddenIp(ip, interval, &__ctx); - } - -private: - - ::Ice::Int ForbiddenIp(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int Permitip(const ::std::string& ip) - { - return Permitip(ip, 0); - } - ::Ice::Int Permitip(const ::std::string& ip, const ::Ice::Context& __ctx) - { - return Permitip(ip, &__ctx); - } - -private: - - ::Ice::Int Permitip(const ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace ridService -{ - -class ridSrvMgr : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int CheckUser(const ::std::string&, ::Ice::Int, const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int Forbiddenpcid(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int Permitpcid(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ForbiddenIp(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int Permitip(const ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace ridService -{ - -class ridSrvMgr : virtual public ::IceDelegate::ridService::ridSrvMgr, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int CheckUser(const ::std::string&, ::Ice::Int, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int Forbiddenpcid(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int Permitpcid(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ForbiddenIp(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int Permitip(const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace ridService -{ - -class ridSrvMgr : virtual public ::IceDelegate::ridService::ridSrvMgr, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int CheckUser(const ::std::string&, ::Ice::Int, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int Forbiddenpcid(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int Permitpcid(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ForbiddenIp(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int Permitip(const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace ridService -{ - -class ridSrvMgr : virtual public ::Ice::Object -{ -public: - - typedef ridSrvMgrPrx ProxyType; - typedef ridSrvMgrPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int CheckUser(const ::std::string&, ::Ice::Int, const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int Forbiddenpcid(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___Forbiddenpcid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int Permitpcid(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___Permitpcid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int ForbiddenIp(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ForbiddenIp(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int Permitip(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___Permitip(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__ridSrvMgrPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/rmss_pack.h.svn-base b/features/aliww/include/.svn/text-base/rmss_pack.h.svn-base deleted file mode 100644 index dab8000..0000000 --- a/features/aliww/include/.svn/text-base/rmss_pack.h.svn-base +++ /dev/null @@ -1,180 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: rmss_pack.h -// Date: 2011-01-30 12:49:21 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __RMSS_PACK_H__ -#define __RMSS_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "ss_head.h" -#include "const_macro.h" - -using namespace std; - -enum RMSS_REQUEST -{ - SS_REQ_RGSREGISTER = 0x2, - -}; - -enum RMSS_RESPONSE -{ - SS_RSP_RGSREGISTER = 0x10002, - -}; - -struct SServerInfo -{ -public: - SServerInfo() - { - } - - ~SServerInfo() { } - SServerInfo(const uint16_t& wServId, const string& strHostIp, const uint16_t& wHostPort) - { - m_servId = wServId; - m_hostIp = strHostIp; - m_hostPort = wHostPort; - } - SServerInfo& operator=( const SServerInfo& sServerInfo ) - { - m_servId = sServerInfo.m_servId; - m_hostIp = sServerInfo.m_hostIp; - m_hostPort = sServerInfo.m_hostPort; - return *this; - } - - uint16_t m_servId; - string m_hostIp; - uint16_t m_hostPort; - -public: - uint32_t Size() const; -}; - -inline uint32_t SServerInfo::Size() const -{ - uint32_t nSize = 12; - nSize += m_hostIp.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SServerInfo& sServerInfo ); -CPackData& operator>> ( CPackData& cPackData, SServerInfo& sServerInfo ); - -class CSsReqRgsregister : public CPackData -{ -public: - enum - { - CMD_ID = SS_REQ_RGSREGISTER - }; - CSsReqRgsregister() - { - } - - ~CSsReqRgsregister() { } - CSsReqRgsregister(const SServerInfo& sHostInfo) - { - m_hostInfo = sHostInfo; - } - CSsReqRgsregister& operator=( const CSsReqRgsregister& cSsReqRgsregister ) - { - m_hostInfo = cSsReqRgsregister.m_hostInfo; - return *this; - } - - const SServerInfo& GetHostInfo () const { return m_hostInfo; } - bool SetHostInfo ( const SServerInfo& sHostInfo ) - { - m_hostInfo = sHostInfo; - return true; - } -private: - SServerInfo m_hostInfo; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsReqRgsregister::Size() const -{ - uint32_t nSize = 2; - nSize += m_hostInfo.Size(); - return nSize; -} - -class CSsRspRgsregister : public CPackData -{ -public: - enum - { - CMD_ID = SS_RSP_RGSREGISTER - }; - CSsRspRgsregister() - { - } - - ~CSsRspRgsregister() { } - CSsRspRgsregister(const uint8_t& chRetcode, const VECTOR< SServerInfo >& vecRgsList) - { - m_retcode = chRetcode; - m_rgsList = vecRgsList; - } - CSsRspRgsregister& operator=( const CSsRspRgsregister& cSsRspRgsregister ) - { - m_retcode = cSsRspRgsregister.m_retcode; - m_rgsList = cSsRspRgsregister.m_rgsList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const VECTOR< SServerInfo >& GetRgsList () const { return m_rgsList; } - bool SetRgsList ( const VECTOR< SServerInfo >& vecRgsList ) - { - m_rgsList = vecRgsList; - return true; - } -private: - uint8_t m_retcode; - VECTOR< SServerInfo > m_rgsList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsRspRgsregister::Size() const -{ - uint32_t nSize = 9; - for(uint32_t i = 0; i < m_rgsList.size(); i++) - { - nSize += m_rgsList[i].Size(); - } - return nSize; -} - -#endif diff --git a/features/aliww/include/.svn/text-base/sc_head.h.svn-base b/features/aliww/include/.svn/text-base/sc_head.h.svn-base deleted file mode 100644 index 2c18450..0000000 --- a/features/aliww/include/.svn/text-base/sc_head.h.svn-base +++ /dev/null @@ -1,216 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: sc_head.h -// Date: 2011-04-27 13:36:55 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SC_HEAD_H__ -#define __SC_HEAD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -#ifndef COMPRESS_THRESHOLD -#define COMPRESS_THRESHOLD 10240 -#endif - -class CScHead : public CPackData -{ -public: - CScHead() : m_starter(0x88), - m_major(0x06), - m_minor(0x00), - m_msgtype(0), - m_encrypt(0x01), - m_compress(0), - m_encode(0), - m_lrc(0), - m_seq(0), - m_len(0), - m_cmd(0), - m_cc(0), - m_reserved(0) - { - } - - ~CScHead() { } - CScHead(const uint8_t& chStarter, const uint8_t& chMajor, const uint8_t& chMinor, const uint8_t& chMsgtype, const uint8_t& chEncrypt, const uint8_t& chCompress, const uint8_t& chEncode, const uint8_t& chLrc, const uint32_t& dwSeq, const uint32_t& dwLen, const uint32_t& dwCmd, const uint16_t& wCc, const uint16_t& wReserved, const string& strExtdata) - { - m_starter = chStarter; - m_major = chMajor; - m_minor = chMinor; - m_msgtype = chMsgtype; - m_encrypt = chEncrypt; - m_compress = chCompress; - m_encode = chEncode; - m_lrc = chLrc; - m_seq = dwSeq; - m_len = dwLen; - m_cmd = dwCmd; - m_cc = wCc; - m_reserved = wReserved; - m_extdata = strExtdata; - } - CScHead& operator=( const CScHead& cScHead ) - { - m_starter = cScHead.m_starter; - m_major = cScHead.m_major; - m_minor = cScHead.m_minor; - m_msgtype = cScHead.m_msgtype; - m_encrypt = cScHead.m_encrypt; - m_compress = cScHead.m_compress; - m_encode = cScHead.m_encode; - m_lrc = cScHead.m_lrc; - m_seq = cScHead.m_seq; - m_len = cScHead.m_len; - m_cmd = cScHead.m_cmd; - m_cc = cScHead.m_cc; - m_reserved = cScHead.m_reserved; - m_extdata = cScHead.m_extdata; - return *this; - } - -public: - uint8_t m_starter; - uint8_t m_major; - uint8_t m_minor; - uint8_t m_msgtype; - uint8_t m_encrypt; - uint8_t m_compress; - uint8_t m_encode; - uint8_t m_lrc; - uint32_t m_seq; - uint32_t m_len; - uint32_t m_cmd; - uint16_t m_cc; - uint16_t m_reserved; - string m_extdata; - -public: - void PackData(string& strData); - PACKRETCODE UnpackData(const string& strData); - uint32_t SizeExt() const - { - if((m_reserved & 0x01) == 1) - { - uint32_t nSize = 28; - nSize += m_extdata.length(); - return nSize; - } - else - return 24; - } - uint32_t PeekSize() - { - uint32_t nSize = 24; - if((PeekReserved() & 0x01) == 1) - { - { - SetInCursor(nSize); - uint32_t len; - (*this) >> len; - nSize += len + 4; - } - } - return nSize; - } - uint32_t Size() const { return 24; } - uint8_t PeekStarter() - { - uint8_t chStarter; - SetInCursor(0); - *this >> chStarter; - return chStarter; - } - uint8_t PeekMajor() - { - uint8_t chMajor; - SetInCursor(1); - *this >> chMajor; - return chMajor; - } - uint8_t PeekMinor() - { - uint8_t chMinor; - SetInCursor(2); - *this >> chMinor; - return chMinor; - } - uint8_t PeekMsgtype() - { - uint8_t chMsgtype; - SetInCursor(3); - *this >> chMsgtype; - return chMsgtype; - } - uint8_t PeekEncrypt() - { - uint8_t chEncrypt; - SetInCursor(4); - *this >> chEncrypt; - return chEncrypt; - } - uint8_t PeekCompress() - { - uint8_t chCompress; - SetInCursor(5); - *this >> chCompress; - return chCompress; - } - uint8_t PeekEncode() - { - uint8_t chEncode; - SetInCursor(6); - *this >> chEncode; - return chEncode; - } - uint8_t PeekLrc() - { - uint8_t chLrc; - SetInCursor(7); - *this >> chLrc; - return chLrc; - } - uint32_t PeekSeq() - { - uint32_t dwSeq; - SetInCursor(8); - *this >> dwSeq; - return dwSeq; - } - uint32_t PeekLen() - { - uint32_t dwLen; - SetInCursor(12); - *this >> dwLen; - return dwLen; - } - uint32_t PeekCmd() - { - uint32_t dwCmd; - SetInCursor(16); - *this >> dwCmd; - return dwCmd; - } - uint16_t PeekCc() - { - uint16_t wCc; - SetInCursor(20); - *this >> wCc; - return wCc; - } - uint16_t PeekReserved() - { - uint16_t wReserved; - SetInCursor(22); - *this >> wReserved; - return wReserved; - } -}; - -#endif diff --git a/features/aliww/include/.svn/text-base/script_consts.h.svn-base b/features/aliww/include/.svn/text-base/script_consts.h.svn-base deleted file mode 100644 index a3b55b5..0000000 --- a/features/aliww/include/.svn/text-base/script_consts.h.svn-base +++ /dev/null @@ -1,24 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: script_consts.h - * - * Description: - * - * Version: 1.0 - * Created: 01/14/2011 11:41:09 AM - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ -#ifndef SCRIPT_CONSTS_H -#define SCRIPT_CONSTS_H -static string DEFAULT_CLIENTVERSION = "6.50.01A"; -static uint32_t DEFAULT_CLIENTLANGUAGE = 0x804; -static int DEFAULT_LOGINSTAT = 65537;//在线,有空,1,1 -static uint8_t TOKEN_FLAG = 0;//默认用真实密ç ç™»å½• -#endif //SCRIPT_CONSTS_H diff --git a/features/aliww/include/.svn/text-base/scs_head.h.svn-base b/features/aliww/include/.svn/text-base/scs_head.h.svn-base deleted file mode 100644 index 10e4db4..0000000 --- a/features/aliww/include/.svn/text-base/scs_head.h.svn-base +++ /dev/null @@ -1,118 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: scs_head.h -// Date: 2011-01-30 12:50:13 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SCS_HEAD_H__ -#define __SCS_HEAD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -class CScsHead : public CPackData -{ -public: - ~CScsHead() { } - CScsHead(const uint8_t& chStarter= 0xDA, const uint16_t& wVersion= 0x0600, const uint8_t& chFlag= 0, const uint32_t& dwCmd= 0, const uint32_t& dwSeq= 0, const uint16_t& wCc= 0, const uint32_t& dwLen= 0, const uint16_t& wReserved= 0) - { - m_starter = chStarter; - m_version = wVersion; - m_flag = chFlag; - m_cmd = dwCmd; - m_seq = dwSeq; - m_cc = wCc; - m_len = dwLen; - m_reserved = wReserved; - } - CScsHead& operator=( const CScsHead& cScsHead ) - { - m_starter = cScsHead.m_starter; - m_version = cScsHead.m_version; - m_flag = cScsHead.m_flag; - m_cmd = cScsHead.m_cmd; - m_seq = cScsHead.m_seq; - m_cc = cScsHead.m_cc; - m_len = cScsHead.m_len; - m_reserved = cScsHead.m_reserved; - return *this; - } - -public: - uint8_t m_starter; - uint16_t m_version; - uint8_t m_flag; - uint32_t m_cmd; - uint32_t m_seq; - uint16_t m_cc; - uint32_t m_len; - uint16_t m_reserved; - -public: - void PackData(string& strData); - PACKRETCODE UnpackData(const string& strData); - uint32_t Size() const { return 20; } - uint8_t PeekStarter() - { - uint8_t chStarter; - SetInCursor(0); - *this >> chStarter; - return chStarter; - } - uint16_t PeekVersion() - { - uint16_t wVersion; - SetInCursor(1); - *this >> wVersion; - return wVersion; - } - uint8_t PeekFlag() - { - uint8_t chFlag; - SetInCursor(3); - *this >> chFlag; - return chFlag; - } - uint32_t PeekCmd() - { - uint32_t dwCmd; - SetInCursor(4); - *this >> dwCmd; - return dwCmd; - } - uint32_t PeekSeq() - { - uint32_t dwSeq; - SetInCursor(8); - *this >> dwSeq; - return dwSeq; - } - uint16_t PeekCc() - { - uint16_t wCc; - SetInCursor(12); - *this >> wCc; - return wCc; - } - uint32_t PeekLen() - { - uint32_t dwLen; - SetInCursor(14); - *this >> dwLen; - return dwLen; - } - uint16_t PeekReserved() - { - uint16_t wReserved; - SetInCursor(18); - *this >> wReserved; - return wReserved; - } -}; - -#endif diff --git a/features/aliww/include/.svn/text-base/sdkss_head.h.svn-base b/features/aliww/include/.svn/text-base/sdkss_head.h.svn-base deleted file mode 100644 index fc685c7..0000000 --- a/features/aliww/include/.svn/text-base/sdkss_head.h.svn-base +++ /dev/null @@ -1,94 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: sdkss_head.h -// Date: 2011-01-30 12:49:54 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SDKSS_HEAD_H__ -#define __SDKSS_HEAD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -class CSdkssHead : public CPackData -{ -public: - CSdkssHead() : m_starter(0x8f), - m_cmd(0), - m_len(0) - { - } - - ~CSdkssHead() { } - CSdkssHead(const uint8_t& chStarter, const uint16_t& wCmd, const uint32_t& dwLen, const string& strSerialNo, const string& strAccount) - { - m_starter = chStarter; - m_cmd = wCmd; - m_len = dwLen; - m_serialNo = strSerialNo; - m_account = strAccount; - } - CSdkssHead& operator=( const CSdkssHead& cSdkssHead ) - { - m_starter = cSdkssHead.m_starter; - m_cmd = cSdkssHead.m_cmd; - m_len = cSdkssHead.m_len; - m_serialNo = cSdkssHead.m_serialNo; - m_account = cSdkssHead.m_account; - return *this; - } - -public: - uint8_t m_starter; - uint16_t m_cmd; - uint32_t m_len; - string m_serialNo; - string m_account; - -public: - void PackData(string& strData); - PACKRETCODE UnpackData(const string& strData); - uint32_t Size() const { return 27; } - uint8_t PeekStarter() - { - uint8_t chStarter; - SetInCursor(0); - *this >> chStarter; - return chStarter; - } - uint16_t PeekCmd() - { - uint16_t wCmd; - SetInCursor(1); - *this >> wCmd; - return wCmd; - } - uint32_t PeekLen() - { - uint32_t dwLen; - SetInCursor(3); - *this >> dwLen; - return dwLen; - } - string PeekSerialNo() - { - string strSerialNo; - SetInCursor(7); - *this >> strSerialNo; - return strSerialNo; - } - string PeekAccount() - { - string strAccount; - SetInCursor(17); - *this >> strAccount; - return strAccount; - } -}; - -#endif diff --git a/features/aliww/include/.svn/text-base/searchuser.h.svn-base b/features/aliww/include/.svn/text-base/searchuser.h.svn-base deleted file mode 100644 index 630ea1d..0000000 --- a/features/aliww/include/.svn/text-base/searchuser.h.svn-base +++ /dev/null @@ -1,422 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `searchuser.ice' - -#ifndef __searchuser_h__ -#define __searchuser_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class SearchUserInterface; -bool operator==(const SearchUserInterface&, const SearchUserInterface&); -bool operator!=(const SearchUserInterface&, const SearchUserInterface&); -bool operator<(const SearchUserInterface&, const SearchUserInterface&); -bool operator<=(const SearchUserInterface&, const SearchUserInterface&); -bool operator>(const SearchUserInterface&, const SearchUserInterface&); -bool operator>=(const SearchUserInterface&, const SearchUserInterface&); - -} - -} - -namespace AliIM -{ - -class SearchUserInterface; -bool operator==(const SearchUserInterface&, const SearchUserInterface&); -bool operator!=(const SearchUserInterface&, const SearchUserInterface&); -bool operator<(const SearchUserInterface&, const SearchUserInterface&); -bool operator<=(const SearchUserInterface&, const SearchUserInterface&); -bool operator>(const SearchUserInterface&, const SearchUserInterface&); -bool operator>=(const SearchUserInterface&, const SearchUserInterface&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::SearchUserInterface*); -void decRef(::AliIM::SearchUserInterface*); - -void incRef(::IceProxy::AliIM::SearchUserInterface*); -void decRef(::IceProxy::AliIM::SearchUserInterface*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::SearchUserInterface> SearchUserInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::SearchUserInterface> SearchUserInterfacePrx; - -void __write(::IceInternal::BasicStream*, const SearchUserInterfacePrx&); -void __read(::IceInternal::BasicStream*, SearchUserInterfacePrx&); -void __write(::IceInternal::BasicStream*, const SearchUserInterfacePtr&); -void __patch__SearchUserInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const SearchUserInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const SearchUserInterfacePtr&); -void __decRefUnsafe(const SearchUserInterfacePtr&); -void __clearHandleUnsafe(SearchUserInterfacePtr&); - -} - -namespace AliIM -{ - -struct SSearchUserRes -{ - ::std::string contactid; - ::std::string nickname; - ::std::string site; - ::Ice::Int age; - ::Ice::Int gender; - ::std::string city; - ::Ice::Int basicStatus; - - bool operator==(const SSearchUserRes&) const; - bool operator!=(const SSearchUserRes&) const; - bool operator<(const SSearchUserRes&) const; - bool operator<=(const SSearchUserRes& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SSearchUserRes& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SSearchUserRes& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct STribeInfo -{ - ::std::string tribeid; - ::std::string tribename; - ::std::string masterId; - ::Ice::Int tribeclass; - ::std::string describe; - ::std::string bulletin; - ::Ice::Int checkmode; - ::std::string password; - ::std::string keyword; - ::Ice::Int allowvisitor; - ::Ice::Int forbidsearch; - ::std::string extsign; - ::Ice::Int opentribe; - ::Ice::Int maxmembers; - - bool operator==(const STribeInfo&) const; - bool operator!=(const STribeInfo&) const; - bool operator<(const STribeInfo&) const; - bool operator<=(const STribeInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIM::SSearchUserRes> SearchuserResSeq; - -class __U__SearchuserResSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIM::SSearchUserRes*, const ::AliIM::SSearchUserRes*, __U__SearchuserResSeq); -void __read(::IceInternal::BasicStream*, SearchuserResSeq&, __U__SearchuserResSeq); - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class SearchUserInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int searchUser(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal) - { - return searchUser(uid, targetUid, retCode, retVal, 0); - } - ::Ice::Int searchUser(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context& __ctx) - { - return searchUser(uid, targetUid, retCode, retVal, &__ctx); - } - -private: - - ::Ice::Int searchUser(const ::std::string&, const ::std::string&, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int searchUserB2BFuzzy(const ::std::string& uid, const ::std::string& targetUid, const ::std::string& reserve, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal) - { - return searchUserB2BFuzzy(uid, targetUid, reserve, retCode, retVal, 0); - } - ::Ice::Int searchUserB2BFuzzy(const ::std::string& uid, const ::std::string& targetUid, const ::std::string& reserve, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context& __ctx) - { - return searchUserB2BFuzzy(uid, targetUid, reserve, retCode, retVal, &__ctx); - } - -private: - - ::Ice::Int searchUserB2BFuzzy(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getRecommendUser(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int syncUser, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal) - { - return getRecommendUser(uid, targetUid, syncUser, retCode, retVal, 0); - } - ::Ice::Int getRecommendUser(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int syncUser, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context& __ctx) - { - return getRecommendUser(uid, targetUid, syncUser, retCode, retVal, &__ctx); - } - -private: - - ::Ice::Int getRecommendUser(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getUsersByName(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int syncUser, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal) - { - return getUsersByName(uid, targetUid, syncUser, retCode, retVal, 0); - } - ::Ice::Int getUsersByName(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int syncUser, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context& __ctx) - { - return getUsersByName(uid, targetUid, syncUser, retCode, retVal, &__ctx); - } - -private: - - ::Ice::Int getUsersByName(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getTribeInfo(const ::std::string& tribeId, ::AliIM::STribeInfo& tribeInfo) - { - return getTribeInfo(tribeId, tribeInfo, 0); - } - ::Ice::Int getTribeInfo(const ::std::string& tribeId, ::AliIM::STribeInfo& tribeInfo, const ::Ice::Context& __ctx) - { - return getTribeInfo(tribeId, tribeInfo, &__ctx); - } - -private: - - ::Ice::Int getTribeInfo(const ::std::string&, ::AliIM::STribeInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int advancedSearchUser(const ::std::string& site, const ::std::string& country, const ::std::string& province, const ::std::string& city, ::Ice::Int gender, ::Ice::Int age, const ::std::string& job, ::Ice::Int timestamp, ::AliIM::SearchuserResSeq& retVal) - { - return advancedSearchUser(site, country, province, city, gender, age, job, timestamp, retVal, 0); - } - ::Ice::Int advancedSearchUser(const ::std::string& site, const ::std::string& country, const ::std::string& province, const ::std::string& city, ::Ice::Int gender, ::Ice::Int age, const ::std::string& job, ::Ice::Int timestamp, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context& __ctx) - { - return advancedSearchUser(site, country, province, city, gender, age, job, timestamp, retVal, &__ctx); - } - -private: - - ::Ice::Int advancedSearchUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class SearchUserInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int searchUser(const ::std::string&, const ::std::string&, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int searchUserB2BFuzzy(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getRecommendUser(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUsersByName(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getTribeInfo(const ::std::string&, ::AliIM::STribeInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int advancedSearchUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, ::AliIM::SearchuserResSeq&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class SearchUserInterface : virtual public ::IceDelegate::AliIM::SearchUserInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int searchUser(const ::std::string&, const ::std::string&, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - - virtual ::Ice::Int searchUserB2BFuzzy(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getRecommendUser(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUsersByName(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getTribeInfo(const ::std::string&, ::AliIM::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int advancedSearchUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class SearchUserInterface : virtual public ::IceDelegate::AliIM::SearchUserInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int searchUser(const ::std::string&, const ::std::string&, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - - virtual ::Ice::Int searchUserB2BFuzzy(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getRecommendUser(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUsersByName(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getTribeInfo(const ::std::string&, ::AliIM::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int advancedSearchUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class SearchUserInterface : virtual public ::Ice::Object -{ -public: - - typedef SearchUserInterfacePrx ProxyType; - typedef SearchUserInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int searchUser(const ::std::string&, const ::std::string&, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___searchUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int searchUserB2BFuzzy(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___searchUserB2BFuzzy(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getRecommendUser(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getRecommendUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUsersByName(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUsersByName(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getTribeInfo(const ::std::string&, ::AliIM::STribeInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getTribeInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int advancedSearchUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, ::AliIM::SearchuserResSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___advancedSearchUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__SearchUserInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/sipsession.h.svn-base b/features/aliww/include/.svn/text-base/sipsession.h.svn-base deleted file mode 100644 index 6979129..0000000 --- a/features/aliww/include/.svn/text-base/sipsession.h.svn-base +++ /dev/null @@ -1,527 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `sipsession.ice' - -#ifndef __sipsession_h__ -#define __sipsession_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace sns -{ - -namespace session -{ - -class sessionService; -bool operator==(const sessionService&, const sessionService&); -bool operator!=(const sessionService&, const sessionService&); -bool operator<(const sessionService&, const sessionService&); -bool operator<=(const sessionService&, const sessionService&); -bool operator>(const sessionService&, const sessionService&); -bool operator>=(const sessionService&, const sessionService&); - -} - -} - -} - -} - -} - -} - -} - -} - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace sns -{ - -namespace session -{ - -class sessionService; -bool operator==(const sessionService&, const sessionService&); -bool operator!=(const sessionService&, const sessionService&); -bool operator<(const sessionService&, const sessionService&); -bool operator<=(const sessionService&, const sessionService&); -bool operator>(const sessionService&, const sessionService&); -bool operator>=(const sessionService&, const sessionService&); - -} - -} - -} - -} - -} - -} - -} - -namespace IceInternal -{ - -void incRef(::com::alisoft::member::udb::api::sns::session::sessionService*); -void decRef(::com::alisoft::member::udb::api::sns::session::sessionService*); - -void incRef(::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService*); -void decRef(::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService*); - -} - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace sns -{ - -namespace session -{ - -typedef ::IceInternal::Handle< ::com::alisoft::member::udb::api::sns::session::sessionService> sessionServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService> sessionServicePrx; - -void __write(::IceInternal::BasicStream*, const sessionServicePrx&); -void __read(::IceInternal::BasicStream*, sessionServicePrx&); -void __write(::IceInternal::BasicStream*, const sessionServicePtr&); -void __patch__sessionServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const sessionServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const sessionServicePtr&); -void __decRefUnsafe(const sessionServicePtr&); -void __clearHandleUnsafe(sessionServicePtr&); - -} - -} - -} - -} - -} - -} - -} - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace sns -{ - -namespace model -{ - -struct SessionInfo -{ - ::std::string sessionId; - - bool operator==(const SessionInfo&) const; - bool operator!=(const SessionInfo&) const; - bool operator<(const SessionInfo&) const; - bool operator<=(const SessionInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SessionInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SessionInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -} - -namespace session -{ - -} - -} - -} - -} - -} - -} - -} - -namespace IceProxy -{ - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace sns -{ - -namespace session -{ - -class sessionService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int bindSession(const ::std::string& appId, const ::std::string& userLongId, const ::std::string& type, ::com::alisoft::member::udb::api::sns::model::SessionInfo& sessionInfo) - { - return bindSession(appId, userLongId, type, sessionInfo, 0); - } - ::Ice::Int bindSession(const ::std::string& appId, const ::std::string& userLongId, const ::std::string& type, ::com::alisoft::member::udb::api::sns::model::SessionInfo& sessionInfo, const ::Ice::Context& __ctx) - { - return bindSession(appId, userLongId, type, sessionInfo, &__ctx); - } - -private: - - ::Ice::Int bindSession(const ::std::string&, const ::std::string&, const ::std::string&, ::com::alisoft::member::udb::api::sns::model::SessionInfo&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -} - -} - -} - -} - -} - -} - -namespace IceDelegate -{ - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace sns -{ - -namespace session -{ - -class sessionService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int bindSession(const ::std::string&, const ::std::string&, const ::std::string&, ::com::alisoft::member::udb::api::sns::model::SessionInfo&, const ::Ice::Context*) = 0; -}; - -} - -} - -} - -} - -} - -} - -} - -} - -namespace IceDelegateM -{ - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace sns -{ - -namespace session -{ - -class sessionService : virtual public ::IceDelegate::com::alisoft::member::udb::api::sns::session::sessionService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int bindSession(const ::std::string&, const ::std::string&, const ::std::string&, ::com::alisoft::member::udb::api::sns::model::SessionInfo&, const ::Ice::Context*); -}; - -} - -} - -} - -} - -} - -} - -} - -} - -namespace IceDelegateD -{ - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace sns -{ - -namespace session -{ - -class sessionService : virtual public ::IceDelegate::com::alisoft::member::udb::api::sns::session::sessionService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int bindSession(const ::std::string&, const ::std::string&, const ::std::string&, ::com::alisoft::member::udb::api::sns::model::SessionInfo&, const ::Ice::Context*); -}; - -} - -} - -} - -} - -} - -} - -} - -} - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace sns -{ - -namespace session -{ - -class sessionService : virtual public ::Ice::Object -{ -public: - - typedef sessionServicePrx ProxyType; - typedef sessionServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int bindSession(const ::std::string&, const ::std::string&, const ::std::string&, ::com::alisoft::member::udb::api::sns::model::SessionInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___bindSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__sessionServicePtr(void*, ::Ice::ObjectPtr&); - -} - -} - -} - -} - -} - -} - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/smsa_pack.h.svn-base b/features/aliww/include/.svn/text-base/smsa_pack.h.svn-base deleted file mode 100644 index 4d0ef56..0000000 --- a/features/aliww/include/.svn/text-base/smsa_pack.h.svn-base +++ /dev/null @@ -1,693 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smsa_pack.h -// Date: 2011-01-30 12:49:59 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SMSA_PACK_H__ -#define __SMSA_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "msc_head.h" - -using namespace std; - -#ifndef UID_LENGTH -#define UID_LENGTH 64 -#endif - -#ifndef MOBILE_LENGTH -#define MOBILE_LENGTH 16 -#endif - -enum SMSA_CMD -{ - SC_SMS_NOTIFY_UPLOADMSG = 0x2000, - SC_REQ_SMS_SEND_MESSAGE = 0x2001, - SC_RSP_SMS_SEND_MESSAGE = 0x2002, - SC_NOTIFY_SMS_MOBILEONLINE = 0x2003, - SC_RSP_SMS_MOBILEONLINE = 0x2004, - SC_NOTIFY_SMS_MOBILEBIND = 0x2005, - SC_CONFIRM_SMS_MOBILEBIND = 0x2006, - SC_NOTIFY_SMS_MODIFYBLACKLIST = 0x2007, -}; - -struct SWebSmsUser -{ -public: - SWebSmsUser() - { - } - - ~SWebSmsUser() { } - SWebSmsUser(const string& strUserId, const string& strMobileNo) - { - m_userId = strUserId; - m_mobileNo = strMobileNo; - } - SWebSmsUser& operator=( const SWebSmsUser& sWebSmsUser ) - { - m_userId = sWebSmsUser.m_userId; - m_mobileNo = sWebSmsUser.m_mobileNo; - return *this; - } - - string m_userId; - string m_mobileNo; - -public: - uint32_t Size() const; -}; - -inline uint32_t SWebSmsUser::Size() const -{ - return 80; -} -CPackData& operator<< ( CPackData& cPackData, const SWebSmsUser& sWebSmsUser ); -CPackData& operator>> ( CPackData& cPackData, SWebSmsUser& sWebSmsUser ); - -class CScNotifySmsModifyblacklist : public CPackData -{ -public: - enum - { - CMD_ID = SC_NOTIFY_SMS_MODIFYBLACKLIST - }; - CScNotifySmsModifyblacklist() - { - } - - ~CScNotifySmsModifyblacklist() { } - CScNotifySmsModifyblacklist(const uint8_t& chFlag, const VECTOR< SWebSmsUser >& vecUserList) - { - m_flag = chFlag; - m_userList = vecUserList; - } - CScNotifySmsModifyblacklist& operator=( const CScNotifySmsModifyblacklist& cScNotifySmsModifyblacklist ) - { - m_flag = cScNotifySmsModifyblacklist.m_flag; - m_userList = cScNotifySmsModifyblacklist.m_userList; - return *this; - } - - const uint8_t& GetFlag () const { return m_flag; } - bool SetFlag ( const uint8_t& chFlag ) - { - m_flag = chFlag; - return true; - } - const VECTOR< SWebSmsUser >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< SWebSmsUser >& vecUserList ) - { - m_userList = vecUserList; - return true; - } -private: - uint8_t m_flag; - VECTOR< SWebSmsUser > m_userList; - -public: - CMscHead m_mscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CScNotifySmsModifyblacklist::Size() const -{ - uint32_t nSize = 5; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].Size(); - } - return nSize; -} - -class CScSmsNotifyUploadmsg : public CPackData -{ -public: - enum - { - CMD_ID = SC_SMS_NOTIFY_UPLOADMSG - }; - CScSmsNotifyUploadmsg() - { - } - - ~CScSmsNotifyUploadmsg() { } - CScSmsNotifyUploadmsg(const string& strFromId, const string& strFromMobile, const uint8_t& chBindFlag, const string& strToId, const string& strToMobile, const uint8_t& chCmd, const string& strMessage) - { - m_fromId = strFromId; - m_fromMobile = strFromMobile; - m_bindFlag = chBindFlag; - m_toId = strToId; - m_toMobile = strToMobile; - m_cmd = chCmd; - m_message = strMessage; - } - CScSmsNotifyUploadmsg& operator=( const CScSmsNotifyUploadmsg& cScSmsNotifyUploadmsg ) - { - m_fromId = cScSmsNotifyUploadmsg.m_fromId; - m_fromMobile = cScSmsNotifyUploadmsg.m_fromMobile; - m_bindFlag = cScSmsNotifyUploadmsg.m_bindFlag; - m_toId = cScSmsNotifyUploadmsg.m_toId; - m_toMobile = cScSmsNotifyUploadmsg.m_toMobile; - m_cmd = cScSmsNotifyUploadmsg.m_cmd; - m_message = cScSmsNotifyUploadmsg.m_message; - return *this; - } - - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const string& GetFromMobile () const { return m_fromMobile; } - bool SetFromMobile ( const string& strFromMobile ) - { - if(strFromMobile.size() > 16) - return false; - m_fromMobile = strFromMobile; - return true; - } - const uint8_t& GetBindFlag () const { return m_bindFlag; } - bool SetBindFlag ( const uint8_t& chBindFlag ) - { - m_bindFlag = chBindFlag; - return true; - } - const string& GetToId () const { return m_toId; } - bool SetToId ( const string& strToId ) - { - if(strToId.size() > 64) - return false; - m_toId = strToId; - return true; - } - const string& GetToMobile () const { return m_toMobile; } - bool SetToMobile ( const string& strToMobile ) - { - if(strToMobile.size() > 16) - return false; - m_toMobile = strToMobile; - return true; - } - const uint8_t& GetCmd () const { return m_cmd; } - bool SetCmd ( const uint8_t& chCmd ) - { - m_cmd = chCmd; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_fromId; - string m_fromMobile; - uint8_t m_bindFlag; - string m_toId; - string m_toMobile; - uint8_t m_cmd; - string m_message; - -public: - CMscHead m_mscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CScSmsNotifyUploadmsg::Size() const -{ - uint32_t nSize = 154; - nSize += m_fromMobile.length(); - nSize += m_message.length(); - return nSize; -} - -class CScReqSmsSendMessage : public CPackData -{ -public: - enum - { - CMD_ID = SC_REQ_SMS_SEND_MESSAGE - }; - CScReqSmsSendMessage() - { - } - - ~CScReqSmsSendMessage() { } - CScReqSmsSendMessage(const string& strFromId, const string& strToId, const string& strToMobile, const string& strMessage, const uint8_t& chType) - { - m_fromId = strFromId; - m_toId = strToId; - m_toMobile = strToMobile; - m_message = strMessage; - m_type = chType; - } - CScReqSmsSendMessage& operator=( const CScReqSmsSendMessage& cScReqSmsSendMessage ) - { - m_fromId = cScReqSmsSendMessage.m_fromId; - m_toId = cScReqSmsSendMessage.m_toId; - m_toMobile = cScReqSmsSendMessage.m_toMobile; - m_message = cScReqSmsSendMessage.m_message; - m_type = cScReqSmsSendMessage.m_type; - return *this; - } - - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const string& GetToId () const { return m_toId; } - bool SetToId ( const string& strToId ) - { - if(strToId.size() > 64) - return false; - m_toId = strToId; - return true; - } - const string& GetToMobile () const { return m_toMobile; } - bool SetToMobile ( const string& strToMobile ) - { - if(strToMobile.size() > 16) - return false; - m_toMobile = strToMobile; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } -private: - string m_fromId; - string m_toId; - string m_toMobile; - string m_message; - uint8_t m_type; - -public: - CMscHead m_mscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CScReqSmsSendMessage::Size() const -{ - uint32_t nSize = 149; - nSize += m_message.length(); - return nSize; -} - -class CScRspSmsSendMessage : public CPackData -{ -public: - enum - { - CMD_ID = SC_RSP_SMS_SEND_MESSAGE - }; - CScRspSmsSendMessage() - { - } - - ~CScRspSmsSendMessage() { } - CScRspSmsSendMessage(const uint8_t& chStatus, const string& strFromId, const string& strToId, const string& strToMobile, const string& strMessage, const uint8_t& chType) - { - m_status = chStatus; - m_fromId = strFromId; - m_toId = strToId; - m_toMobile = strToMobile; - m_message = strMessage; - m_type = chType; - } - CScRspSmsSendMessage& operator=( const CScRspSmsSendMessage& cScRspSmsSendMessage ) - { - m_status = cScRspSmsSendMessage.m_status; - m_fromId = cScRspSmsSendMessage.m_fromId; - m_toId = cScRspSmsSendMessage.m_toId; - m_toMobile = cScRspSmsSendMessage.m_toMobile; - m_message = cScRspSmsSendMessage.m_message; - m_type = cScRspSmsSendMessage.m_type; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const string& GetToId () const { return m_toId; } - bool SetToId ( const string& strToId ) - { - if(strToId.size() > 64) - return false; - m_toId = strToId; - return true; - } - const string& GetToMobile () const { return m_toMobile; } - bool SetToMobile ( const string& strToMobile ) - { - if(strToMobile.size() > 16) - return false; - m_toMobile = strToMobile; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } -private: - uint8_t m_status; - string m_fromId; - string m_toId; - string m_toMobile; - string m_message; - uint8_t m_type; - -public: - CMscHead m_mscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CScRspSmsSendMessage::Size() const -{ - uint32_t nSize = 150; - nSize += m_message.length(); - return nSize; -} - -class CScNotifySmsMobileonline : public CPackData -{ -public: - enum - { - CMD_ID = SC_NOTIFY_SMS_MOBILEONLINE - }; - CScNotifySmsMobileonline() - { - } - - ~CScNotifySmsMobileonline() { } - CScNotifySmsMobileonline(const string& strUserId, const uint8_t& chOnlineFlag, const uint8_t& chRevFlag) - { - m_userId = strUserId; - m_onlineFlag = chOnlineFlag; - m_revFlag = chRevFlag; - } - CScNotifySmsMobileonline& operator=( const CScNotifySmsMobileonline& cScNotifySmsMobileonline ) - { - m_userId = cScNotifySmsMobileonline.m_userId; - m_onlineFlag = cScNotifySmsMobileonline.m_onlineFlag; - m_revFlag = cScNotifySmsMobileonline.m_revFlag; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetOnlineFlag () const { return m_onlineFlag; } - bool SetOnlineFlag ( const uint8_t& chOnlineFlag ) - { - m_onlineFlag = chOnlineFlag; - return true; - } - const uint8_t& GetRevFlag () const { return m_revFlag; } - bool SetRevFlag ( const uint8_t& chRevFlag ) - { - m_revFlag = chRevFlag; - return true; - } -private: - string m_userId; - uint8_t m_onlineFlag; - uint8_t m_revFlag; - -public: - CMscHead m_mscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CScNotifySmsMobileonline::Size() const -{ - return 66; -} -class CScRspSmsMobileonline : public CPackData -{ -public: - enum - { - CMD_ID = SC_RSP_SMS_MOBILEONLINE - }; - CScRspSmsMobileonline() - { - } - - ~CScRspSmsMobileonline() { } - CScRspSmsMobileonline(const uint8_t& chStatus, const string& strUserId, const uint8_t& chOnlineFlag, const uint8_t& chRevFlag) - { - m_status = chStatus; - m_userId = strUserId; - m_onlineFlag = chOnlineFlag; - m_revFlag = chRevFlag; - } - CScRspSmsMobileonline& operator=( const CScRspSmsMobileonline& cScRspSmsMobileonline ) - { - m_status = cScRspSmsMobileonline.m_status; - m_userId = cScRspSmsMobileonline.m_userId; - m_onlineFlag = cScRspSmsMobileonline.m_onlineFlag; - m_revFlag = cScRspSmsMobileonline.m_revFlag; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetOnlineFlag () const { return m_onlineFlag; } - bool SetOnlineFlag ( const uint8_t& chOnlineFlag ) - { - m_onlineFlag = chOnlineFlag; - return true; - } - const uint8_t& GetRevFlag () const { return m_revFlag; } - bool SetRevFlag ( const uint8_t& chRevFlag ) - { - m_revFlag = chRevFlag; - return true; - } -private: - uint8_t m_status; - string m_userId; - uint8_t m_onlineFlag; - uint8_t m_revFlag; - -public: - CMscHead m_mscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CScRspSmsMobileonline::Size() const -{ - return 67; -} -class CScNotifySmsMobilebind : public CPackData -{ -public: - enum - { - CMD_ID = SC_NOTIFY_SMS_MOBILEBIND - }; - CScNotifySmsMobilebind() - { - } - - ~CScNotifySmsMobilebind() { } - CScNotifySmsMobilebind(const string& strUserId, const uint8_t& chBindFlag) - { - m_userId = strUserId; - m_bindFlag = chBindFlag; - } - CScNotifySmsMobilebind& operator=( const CScNotifySmsMobilebind& cScNotifySmsMobilebind ) - { - m_userId = cScNotifySmsMobilebind.m_userId; - m_bindFlag = cScNotifySmsMobilebind.m_bindFlag; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetBindFlag () const { return m_bindFlag; } - bool SetBindFlag ( const uint8_t& chBindFlag ) - { - m_bindFlag = chBindFlag; - return true; - } -private: - string m_userId; - uint8_t m_bindFlag; - -public: - CMscHead m_mscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CScNotifySmsMobilebind::Size() const -{ - return 65; -} -class CScConfirmSmsMobilebind : public CPackData -{ -public: - enum - { - CMD_ID = SC_CONFIRM_SMS_MOBILEBIND - }; - CScConfirmSmsMobilebind() - { - } - - ~CScConfirmSmsMobilebind() { } - CScConfirmSmsMobilebind(const uint8_t& chStatus, const string& strUserId, const uint8_t& chBindFlag) - { - m_status = chStatus; - m_userId = strUserId; - m_bindFlag = chBindFlag; - } - CScConfirmSmsMobilebind& operator=( const CScConfirmSmsMobilebind& cScConfirmSmsMobilebind ) - { - m_status = cScConfirmSmsMobilebind.m_status; - m_userId = cScConfirmSmsMobilebind.m_userId; - m_bindFlag = cScConfirmSmsMobilebind.m_bindFlag; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetBindFlag () const { return m_bindFlag; } - bool SetBindFlag ( const uint8_t& chBindFlag ) - { - m_bindFlag = chBindFlag; - return true; - } -private: - uint8_t m_status; - string m_userId; - uint8_t m_bindFlag; - -public: - CMscHead m_mscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CScConfirmSmsMobilebind::Size() const -{ - return 66; -} -#endif diff --git a/features/aliww/include/.svn/text-base/smsc_cmd.h.svn-base b/features/aliww/include/.svn/text-base/smsc_cmd.h.svn-base deleted file mode 100644 index ba7b07c..0000000 --- a/features/aliww/include/.svn/text-base/smsc_cmd.h.svn-base +++ /dev/null @@ -1,52 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smsc_cmd.h -// Date: 2011-01-30 12:48:52 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SMSC_CMD_H__ -#define __SMSC_CMD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -enum SMSC_REQUEST -{ - IM_REQ_SMS_GET_ACCOUNT = 0x9000001, - IM_REQ_SMS_SENDMSG = 0x9000002, - IM_REQ_SMS_GETUSERMSGINFO = 0x9000003, - IM_REQ_SMS_GET_BLACKLIST = 0x9000004, - IM_REQ_SMS_GET_ACCOUNT2 = 0x9000005, - IM_REQ_SMS_GET_MULTIMSGLEN = 0x9000006, - -}; - -enum SMSC_RESPONSE -{ - IM_RSP_SMS_GET_ACCOUNT = 0x9010001, - IM_RSP_SMS_SENDMSG = 0x9010002, - IM_RSP_SMS_GETUSERMSGINFO = 0x9010003, - IM_RSP_SMS_GET_BLACKLIST = 0x9010004, - IM_RSP_SMS_GET_ACCOUNT2 = 0x9010005, - IM_RSP_SMS_GETUSERCONFIG = 0x9010006, - IM_RSP_SMS_GET_MULTIMSGLEN = 0x9010007, - -}; - -enum SMSC_NOTIFY -{ - IM_NTF_SMS_SENDSTATUS = 0x9020001, - IM_NTF_SMS_RCVMSG = 0x9020002, - IM_NTF_SMS_CHARGESTATUS = 0x9020003, - IM_NTF_SMS_MOBILEONLINE = 0x9020004, - IM_NTF_SMS_MOBILEBIND = 0x9020005, - IM_NTF_SMS_REVFLAG = 0x9020006, - -}; - -#endif diff --git a/features/aliww/include/.svn/text-base/smsc_pack.h.svn-base b/features/aliww/include/.svn/text-base/smsc_pack.h.svn-base deleted file mode 100644 index 8199d08..0000000 --- a/features/aliww/include/.svn/text-base/smsc_pack.h.svn-base +++ /dev/null @@ -1,1336 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smsc_pack.h -// Date: 2011-01-30 12:48:52 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SMSC_PACK_H__ -#define __SMSC_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "des.h" -#include -#include "sc_head.h" -#include "const_macro.h" -#include "smsc_cmd.h" -#include "smsstrc_pack.h" - -using namespace std; - -class CImReqSmsSendmsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SMS_SENDMSG - }; - CImReqSmsSendmsg() - { - } - - ~CImReqSmsSendmsg() { } - CImReqSmsSendmsg(const string& strFromId, const VECTOR< SSmsUser >& vecToUserList, const string& strMessage) - { - m_fromId = strFromId; - m_toUserList = vecToUserList; - m_message = strMessage; - } - CImReqSmsSendmsg& operator=( const CImReqSmsSendmsg& cImReqSmsSendmsg ) - { - m_fromId = cImReqSmsSendmsg.m_fromId; - m_toUserList = cImReqSmsSendmsg.m_toUserList; - m_message = cImReqSmsSendmsg.m_message; - return *this; - } - - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const VECTOR< SSmsUser >& GetToUserList () const { return m_toUserList; } - bool SetToUserList ( const VECTOR< SSmsUser >& vecToUserList ) - { - m_toUserList = vecToUserList; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_fromId; - VECTOR< SSmsUser > m_toUserList; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSmsSendmsg::Size() const -{ - uint32_t nSize = 17; - nSize += m_fromId.length(); - for(uint32_t i = 0; i < m_toUserList.size(); i++) - { - nSize += m_toUserList[i].Size(); - } - nSize += m_message.length(); - return nSize; -} - -class CImRspSmsSendmsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SMS_SENDMSG - }; - CImRspSmsSendmsg() - { - } - - ~CImRspSmsSendmsg() { } - CImRspSmsSendmsg(const uint8_t& chStatus, const string& strFromId, const VECTOR< SSmsUser >& vecToUserList, const string& strMessage) - { - m_status = chStatus; - m_fromId = strFromId; - m_toUserList = vecToUserList; - m_message = strMessage; - } - CImRspSmsSendmsg& operator=( const CImRspSmsSendmsg& cImRspSmsSendmsg ) - { - m_status = cImRspSmsSendmsg.m_status; - m_fromId = cImRspSmsSendmsg.m_fromId; - m_toUserList = cImRspSmsSendmsg.m_toUserList; - m_message = cImRspSmsSendmsg.m_message; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const VECTOR< SSmsUser >& GetToUserList () const { return m_toUserList; } - bool SetToUserList ( const VECTOR< SSmsUser >& vecToUserList ) - { - m_toUserList = vecToUserList; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - uint8_t m_status; - string m_fromId; - VECTOR< SSmsUser > m_toUserList; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSmsSendmsg::Size() const -{ - uint32_t nSize = 19; - nSize += m_fromId.length(); - for(uint32_t i = 0; i < m_toUserList.size(); i++) - { - nSize += m_toUserList[i].Size(); - } - nSize += m_message.length(); - return nSize; -} - -class CImNtfSmsSendstatus : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_SMS_SENDSTATUS - }; - CImNtfSmsSendstatus() - { - } - - ~CImNtfSmsSendstatus() { } - CImNtfSmsSendstatus(const uint8_t& chStatus, const string& strFromId, const VECTOR< SSmsUser >& vecToUserList, const string& strMessage, const string& strErrorDesc) - { - m_status = chStatus; - m_fromId = strFromId; - m_toUserList = vecToUserList; - m_message = strMessage; - m_errorDesc = strErrorDesc; - } - CImNtfSmsSendstatus& operator=( const CImNtfSmsSendstatus& cImNtfSmsSendstatus ) - { - m_status = cImNtfSmsSendstatus.m_status; - m_fromId = cImNtfSmsSendstatus.m_fromId; - m_toUserList = cImNtfSmsSendstatus.m_toUserList; - m_message = cImNtfSmsSendstatus.m_message; - m_errorDesc = cImNtfSmsSendstatus.m_errorDesc; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const VECTOR< SSmsUser >& GetToUserList () const { return m_toUserList; } - bool SetToUserList ( const VECTOR< SSmsUser >& vecToUserList ) - { - m_toUserList = vecToUserList; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const string& GetErrorDesc () const { return m_errorDesc; } - bool SetErrorDesc ( const string& strErrorDesc ) - { - m_errorDesc = strErrorDesc; - return true; - } -private: - uint8_t m_status; - string m_fromId; - VECTOR< SSmsUser > m_toUserList; - string m_message; - string m_errorDesc; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfSmsSendstatus::Size() const -{ - uint32_t nSize = 24; - nSize += m_fromId.length(); - for(uint32_t i = 0; i < m_toUserList.size(); i++) - { - nSize += m_toUserList[i].Size(); - } - nSize += m_message.length(); - nSize += m_errorDesc.length(); - return nSize; -} - -class CImNtfSmsRcvmsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_SMS_RCVMSG - }; - CImNtfSmsRcvmsg() - { - } - - ~CImNtfSmsRcvmsg() { } - CImNtfSmsRcvmsg(const SSmsUser& sFromUser, const string& strToId, const string& strMessage) - { - m_fromUser = sFromUser; - m_toId = strToId; - m_message = strMessage; - } - CImNtfSmsRcvmsg& operator=( const CImNtfSmsRcvmsg& cImNtfSmsRcvmsg ) - { - m_fromUser = cImNtfSmsRcvmsg.m_fromUser; - m_toId = cImNtfSmsRcvmsg.m_toId; - m_message = cImNtfSmsRcvmsg.m_message; - return *this; - } - - const SSmsUser& GetFromUser () const { return m_fromUser; } - bool SetFromUser ( const SSmsUser& sFromUser ) - { - m_fromUser = sFromUser; - return true; - } - const string& GetToId () const { return m_toId; } - bool SetToId ( const string& strToId ) - { - if(strToId.size() > 64) - return false; - m_toId = strToId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - SSmsUser m_fromUser; - string m_toId; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfSmsRcvmsg::Size() const -{ - uint32_t nSize = 12; - nSize += m_fromUser.Size(); - nSize += m_toId.length(); - nSize += m_message.length(); - return nSize; -} - -class CImNtfSmsChargestatus : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_SMS_CHARGESTATUS - }; - CImNtfSmsChargestatus() - { - } - - ~CImNtfSmsChargestatus() { } - CImNtfSmsChargestatus(const uint8_t& chStatus, const string& strUserId, const string& strChargeId, const uint8_t& chChargeType, const uint32_t& dwDenomination, const uint32_t& dwBalance, const uint32_t& dwCount) - { - m_status = chStatus; - m_userId = strUserId; - m_chargeId = strChargeId; - m_chargeType = chChargeType; - m_denomination = dwDenomination; - m_balance = dwBalance; - m_count = dwCount; - } - CImNtfSmsChargestatus& operator=( const CImNtfSmsChargestatus& cImNtfSmsChargestatus ) - { - m_status = cImNtfSmsChargestatus.m_status; - m_userId = cImNtfSmsChargestatus.m_userId; - m_chargeId = cImNtfSmsChargestatus.m_chargeId; - m_chargeType = cImNtfSmsChargestatus.m_chargeType; - m_denomination = cImNtfSmsChargestatus.m_denomination; - m_balance = cImNtfSmsChargestatus.m_balance; - m_count = cImNtfSmsChargestatus.m_count; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetChargeId () const { return m_chargeId; } - bool SetChargeId ( const string& strChargeId ) - { - if(strChargeId.size() > 20) - return false; - m_chargeId = strChargeId; - return true; - } - const uint8_t& GetChargeType () const { return m_chargeType; } - bool SetChargeType ( const uint8_t& chChargeType ) - { - m_chargeType = chChargeType; - return true; - } - const uint32_t& GetDenomination () const { return m_denomination; } - bool SetDenomination ( const uint32_t& dwDenomination ) - { - m_denomination = dwDenomination; - return true; - } - const uint32_t& GetBalance () const { return m_balance; } - bool SetBalance ( const uint32_t& dwBalance ) - { - m_balance = dwBalance; - return true; - } - const uint32_t& GetCount () const { return m_count; } - bool SetCount ( const uint32_t& dwCount ) - { - m_count = dwCount; - return true; - } -private: - uint8_t m_status; - string m_userId; - string m_chargeId; - uint8_t m_chargeType; - uint32_t m_denomination; - uint32_t m_balance; - uint32_t m_count; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfSmsChargestatus::Size() const -{ - uint32_t nSize = 30; - nSize += m_userId.length(); - nSize += m_chargeId.length(); - return nSize; -} - -class CImNtfSmsMobileonline : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_SMS_MOBILEONLINE - }; - CImNtfSmsMobileonline() - { - } - - ~CImNtfSmsMobileonline() { } - CImNtfSmsMobileonline(const string& strUserId, const uint8_t& chOnlineFlag) - { - m_userId = strUserId; - m_onlineFlag = chOnlineFlag; - } - CImNtfSmsMobileonline& operator=( const CImNtfSmsMobileonline& cImNtfSmsMobileonline ) - { - m_userId = cImNtfSmsMobileonline.m_userId; - m_onlineFlag = cImNtfSmsMobileonline.m_onlineFlag; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetOnlineFlag () const { return m_onlineFlag; } - bool SetOnlineFlag ( const uint8_t& chOnlineFlag ) - { - m_onlineFlag = chOnlineFlag; - return true; - } -private: - string m_userId; - uint8_t m_onlineFlag; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfSmsMobileonline::Size() const -{ - uint32_t nSize = 8; - nSize += m_userId.length(); - return nSize; -} - -class CImReqSmsGetusermsginfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SMS_GETUSERMSGINFO - }; - CImReqSmsGetusermsginfo() - { - } - - ~CImReqSmsGetusermsginfo() { } - CImReqSmsGetusermsginfo(const string& strUserId) - { - m_userId = strUserId; - } - CImReqSmsGetusermsginfo& operator=( const CImReqSmsGetusermsginfo& cImReqSmsGetusermsginfo ) - { - m_userId = cImReqSmsGetusermsginfo.m_userId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } -private: - string m_userId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSmsGetusermsginfo::Size() const -{ - uint32_t nSize = 6; - nSize += m_userId.length(); - return nSize; -} - -class CImRspSmsGetusermsginfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SMS_GETUSERMSGINFO - }; - CImRspSmsGetusermsginfo() - { - } - - ~CImRspSmsGetusermsginfo() { } - CImRspSmsGetusermsginfo(const uint8_t& chStatus, const uint32_t& dwYesterdayMsgCount, const uint32_t& dwTodayMsgCount, const uint32_t& dwMaxMsgCount, const uint32_t& dwBalance, const uint32_t& dwPrice, const uint32_t& dwCount, const uint32_t& dwMsgMaxLen) - { - m_status = chStatus; - m_yesterdayMsgCount = dwYesterdayMsgCount; - m_todayMsgCount = dwTodayMsgCount; - m_maxMsgCount = dwMaxMsgCount; - m_balance = dwBalance; - m_price = dwPrice; - m_count = dwCount; - m_msgMaxLen = dwMsgMaxLen; - } - CImRspSmsGetusermsginfo& operator=( const CImRspSmsGetusermsginfo& cImRspSmsGetusermsginfo ) - { - m_status = cImRspSmsGetusermsginfo.m_status; - m_yesterdayMsgCount = cImRspSmsGetusermsginfo.m_yesterdayMsgCount; - m_todayMsgCount = cImRspSmsGetusermsginfo.m_todayMsgCount; - m_maxMsgCount = cImRspSmsGetusermsginfo.m_maxMsgCount; - m_balance = cImRspSmsGetusermsginfo.m_balance; - m_price = cImRspSmsGetusermsginfo.m_price; - m_count = cImRspSmsGetusermsginfo.m_count; - m_msgMaxLen = cImRspSmsGetusermsginfo.m_msgMaxLen; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const uint32_t& GetYesterdayMsgCount () const { return m_yesterdayMsgCount; } - bool SetYesterdayMsgCount ( const uint32_t& dwYesterdayMsgCount ) - { - m_yesterdayMsgCount = dwYesterdayMsgCount; - return true; - } - const uint32_t& GetTodayMsgCount () const { return m_todayMsgCount; } - bool SetTodayMsgCount ( const uint32_t& dwTodayMsgCount ) - { - m_todayMsgCount = dwTodayMsgCount; - return true; - } - const uint32_t& GetMaxMsgCount () const { return m_maxMsgCount; } - bool SetMaxMsgCount ( const uint32_t& dwMaxMsgCount ) - { - m_maxMsgCount = dwMaxMsgCount; - return true; - } - const uint32_t& GetBalance () const { return m_balance; } - bool SetBalance ( const uint32_t& dwBalance ) - { - m_balance = dwBalance; - return true; - } - const uint32_t& GetPrice () const { return m_price; } - bool SetPrice ( const uint32_t& dwPrice ) - { - m_price = dwPrice; - return true; - } - const uint32_t& GetCount () const { return m_count; } - bool SetCount ( const uint32_t& dwCount ) - { - m_count = dwCount; - return true; - } - const uint32_t& GetMsgMaxLen () const { return m_msgMaxLen; } - bool SetMsgMaxLen ( const uint32_t& dwMsgMaxLen ) - { - m_msgMaxLen = dwMsgMaxLen; - return true; - } -private: - uint8_t m_status; - uint32_t m_yesterdayMsgCount; - uint32_t m_todayMsgCount; - uint32_t m_maxMsgCount; - uint32_t m_balance; - uint32_t m_price; - uint32_t m_count; - uint32_t m_msgMaxLen; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSmsGetusermsginfo::Size() const -{ - return 38; -} -class CImReqSmsGetAccount : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SMS_GET_ACCOUNT - }; - CImReqSmsGetAccount() - { - } - - ~CImReqSmsGetAccount() { } - CImReqSmsGetAccount(const string& strUserId) - { - m_userId = strUserId; - } - CImReqSmsGetAccount& operator=( const CImReqSmsGetAccount& cImReqSmsGetAccount ) - { - m_userId = cImReqSmsGetAccount.m_userId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } -private: - string m_userId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSmsGetAccount::Size() const -{ - uint32_t nSize = 6; - nSize += m_userId.length(); - return nSize; -} - -class CImRspSmsGetAccount : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SMS_GET_ACCOUNT - }; - CImRspSmsGetAccount() - { - } - - ~CImRspSmsGetAccount() { } - CImRspSmsGetAccount(const uint8_t& chStatus, const string& strUserId, const uint8_t& chBindFlag, const uint8_t& chOnlineFlag, const string& strMobileNo, const uint8_t& chRevFlag) - { - m_status = chStatus; - m_userId = strUserId; - m_bindFlag = chBindFlag; - m_onlineFlag = chOnlineFlag; - m_mobileNo = strMobileNo; - m_revFlag = chRevFlag; - } - CImRspSmsGetAccount& operator=( const CImRspSmsGetAccount& cImRspSmsGetAccount ) - { - m_status = cImRspSmsGetAccount.m_status; - m_userId = cImRspSmsGetAccount.m_userId; - m_bindFlag = cImRspSmsGetAccount.m_bindFlag; - m_onlineFlag = cImRspSmsGetAccount.m_onlineFlag; - m_mobileNo = cImRspSmsGetAccount.m_mobileNo; - m_revFlag = cImRspSmsGetAccount.m_revFlag; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetBindFlag () const { return m_bindFlag; } - bool SetBindFlag ( const uint8_t& chBindFlag ) - { - m_bindFlag = chBindFlag; - return true; - } - const uint8_t& GetOnlineFlag () const { return m_onlineFlag; } - bool SetOnlineFlag ( const uint8_t& chOnlineFlag ) - { - m_onlineFlag = chOnlineFlag; - return true; - } - const string& GetMobileNo () const { return m_mobileNo; } - bool SetMobileNo ( const string& strMobileNo ) - { - if(strMobileNo.size() > 16) - return false; - m_mobileNo = strMobileNo; - return true; - } - const uint8_t& GetRevFlag () const { return m_revFlag; } - bool SetRevFlag ( const uint8_t& chRevFlag ) - { - m_revFlag = chRevFlag; - return true; - } -private: - uint8_t m_status; - string m_userId; - uint8_t m_bindFlag; - uint8_t m_onlineFlag; - string m_mobileNo; - uint8_t m_revFlag; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSmsGetAccount::Size() const -{ - uint32_t nSize = 19; - nSize += m_userId.length(); - nSize += m_mobileNo.length(); - return nSize; -} - -class CImReqSmsGetAccount2 : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SMS_GET_ACCOUNT2 - }; - CImReqSmsGetAccount2() - { - } - - ~CImReqSmsGetAccount2() { } - CImReqSmsGetAccount2(const string& strUserId) - { - m_userId = strUserId; - } - CImReqSmsGetAccount2& operator=( const CImReqSmsGetAccount2& cImReqSmsGetAccount2 ) - { - m_userId = cImReqSmsGetAccount2.m_userId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } -private: - string m_userId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSmsGetAccount2::Size() const -{ - uint32_t nSize = 6; - nSize += m_userId.length(); - return nSize; -} - -class CImRspSmsGetAccount2 : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SMS_GET_ACCOUNT2 - }; - CImRspSmsGetAccount2() - { - } - - ~CImRspSmsGetAccount2() { } - CImRspSmsGetAccount2(const uint8_t& chStatus, const string& strUserId, const uint8_t& chBindFlag, const uint8_t& chOnlineFlag, const uint8_t& chRevFlag) - { - m_status = chStatus; - m_userId = strUserId; - m_bindFlag = chBindFlag; - m_onlineFlag = chOnlineFlag; - m_revFlag = chRevFlag; - } - CImRspSmsGetAccount2& operator=( const CImRspSmsGetAccount2& cImRspSmsGetAccount2 ) - { - m_status = cImRspSmsGetAccount2.m_status; - m_userId = cImRspSmsGetAccount2.m_userId; - m_bindFlag = cImRspSmsGetAccount2.m_bindFlag; - m_onlineFlag = cImRspSmsGetAccount2.m_onlineFlag; - m_revFlag = cImRspSmsGetAccount2.m_revFlag; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetBindFlag () const { return m_bindFlag; } - bool SetBindFlag ( const uint8_t& chBindFlag ) - { - m_bindFlag = chBindFlag; - return true; - } - const uint8_t& GetOnlineFlag () const { return m_onlineFlag; } - bool SetOnlineFlag ( const uint8_t& chOnlineFlag ) - { - m_onlineFlag = chOnlineFlag; - return true; - } - const uint8_t& GetRevFlag () const { return m_revFlag; } - bool SetRevFlag ( const uint8_t& chRevFlag ) - { - m_revFlag = chRevFlag; - return true; - } -private: - uint8_t m_status; - string m_userId; - uint8_t m_bindFlag; - uint8_t m_onlineFlag; - uint8_t m_revFlag; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSmsGetAccount2::Size() const -{ - uint32_t nSize = 14; - nSize += m_userId.length(); - return nSize; -} - -class CImNtfSmsMobilebind : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_SMS_MOBILEBIND - }; - CImNtfSmsMobilebind() - { - } - - ~CImNtfSmsMobilebind() { } - CImNtfSmsMobilebind(const string& strUserId, const uint8_t& chBindFlag) - { - m_userId = strUserId; - m_bindFlag = chBindFlag; - } - CImNtfSmsMobilebind& operator=( const CImNtfSmsMobilebind& cImNtfSmsMobilebind ) - { - m_userId = cImNtfSmsMobilebind.m_userId; - m_bindFlag = cImNtfSmsMobilebind.m_bindFlag; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetBindFlag () const { return m_bindFlag; } - bool SetBindFlag ( const uint8_t& chBindFlag ) - { - m_bindFlag = chBindFlag; - return true; - } -private: - string m_userId; - uint8_t m_bindFlag; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfSmsMobilebind::Size() const -{ - uint32_t nSize = 8; - nSize += m_userId.length(); - return nSize; -} - -class CImNtfSmsRevflag : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_SMS_REVFLAG - }; - CImNtfSmsRevflag() - { - } - - ~CImNtfSmsRevflag() { } - CImNtfSmsRevflag(const string& strUserId, const uint8_t& chRevFlag) - { - m_userId = strUserId; - m_revFlag = chRevFlag; - } - CImNtfSmsRevflag& operator=( const CImNtfSmsRevflag& cImNtfSmsRevflag ) - { - m_userId = cImNtfSmsRevflag.m_userId; - m_revFlag = cImNtfSmsRevflag.m_revFlag; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetRevFlag () const { return m_revFlag; } - bool SetRevFlag ( const uint8_t& chRevFlag ) - { - m_revFlag = chRevFlag; - return true; - } -private: - string m_userId; - uint8_t m_revFlag; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfSmsRevflag::Size() const -{ - uint32_t nSize = 8; - nSize += m_userId.length(); - return nSize; -} - -class CImReqSmsGetBlacklist : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SMS_GET_BLACKLIST - }; - CImReqSmsGetBlacklist() - { - } - - ~CImReqSmsGetBlacklist() { } - CImReqSmsGetBlacklist(const string& strUserId) - { - m_userId = strUserId; - } - CImReqSmsGetBlacklist& operator=( const CImReqSmsGetBlacklist& cImReqSmsGetBlacklist ) - { - m_userId = cImReqSmsGetBlacklist.m_userId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } -private: - string m_userId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSmsGetBlacklist::Size() const -{ - return 66; -} -class CImRspSmsGetBlacklist : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SMS_GET_BLACKLIST - }; - CImRspSmsGetBlacklist() - { - } - - ~CImRspSmsGetBlacklist() { } - CImRspSmsGetBlacklist(const uint8_t& chStatus, const VECTOR< SSmsUser >& vecBlackList) - { - m_status = chStatus; - m_blackList = vecBlackList; - } - CImRspSmsGetBlacklist& operator=( const CImRspSmsGetBlacklist& cImRspSmsGetBlacklist ) - { - m_status = cImRspSmsGetBlacklist.m_status; - m_blackList = cImRspSmsGetBlacklist.m_blackList; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const VECTOR< SSmsUser >& GetBlackList () const { return m_blackList; } - bool SetBlackList ( const VECTOR< SSmsUser >& vecBlackList ) - { - m_blackList = vecBlackList; - return true; - } -private: - uint8_t m_status; - VECTOR< SSmsUser > m_blackList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSmsGetBlacklist::Size() const -{ - uint32_t nSize = 9; - for(uint32_t i = 0; i < m_blackList.size(); i++) - { - nSize += m_blackList[i].Size(); - } - return nSize; -} - -class CImRspSmsGetuserconfig : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SMS_GETUSERCONFIG - }; - CImRspSmsGetuserconfig() - { - } - - ~CImRspSmsGetuserconfig() { } - CImRspSmsGetuserconfig(const uint8_t& chStatus, const uint8_t& chOnlineFlag, const uint8_t& chRevFlag) - { - m_status = chStatus; - m_onlineFlag = chOnlineFlag; - m_revFlag = chRevFlag; - } - CImRspSmsGetuserconfig& operator=( const CImRspSmsGetuserconfig& cImRspSmsGetuserconfig ) - { - m_status = cImRspSmsGetuserconfig.m_status; - m_onlineFlag = cImRspSmsGetuserconfig.m_onlineFlag; - m_revFlag = cImRspSmsGetuserconfig.m_revFlag; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const uint8_t& GetOnlineFlag () const { return m_onlineFlag; } - bool SetOnlineFlag ( const uint8_t& chOnlineFlag ) - { - m_onlineFlag = chOnlineFlag; - return true; - } - const uint8_t& GetRevFlag () const { return m_revFlag; } - bool SetRevFlag ( const uint8_t& chRevFlag ) - { - m_revFlag = chRevFlag; - return true; - } -private: - uint8_t m_status; - uint8_t m_onlineFlag; - uint8_t m_revFlag; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSmsGetuserconfig::Size() const -{ - return 7; -} -class CImReqSmsGetMultimsglen : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SMS_GET_MULTIMSGLEN - }; - ~CImReqSmsGetMultimsglen() { } -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSmsGetMultimsglen::Size() const -{ - return 1; -} -class CImRspSmsGetMultimsglen : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SMS_GET_MULTIMSGLEN - }; - CImRspSmsGetMultimsglen() - { - } - - ~CImRspSmsGetMultimsglen() { } - CImRspSmsGetMultimsglen(const uint32_t& dwMsgLen, const uint32_t& dwMaxUser, const uint32_t& dwU32Reserve, const string& strStrReserve) - { - m_msgLen = dwMsgLen; - m_maxUser = dwMaxUser; - m_u32Reserve = dwU32Reserve; - m_strReserve = strStrReserve; - } - CImRspSmsGetMultimsglen& operator=( const CImRspSmsGetMultimsglen& cImRspSmsGetMultimsglen ) - { - m_msgLen = cImRspSmsGetMultimsglen.m_msgLen; - m_maxUser = cImRspSmsGetMultimsglen.m_maxUser; - m_u32Reserve = cImRspSmsGetMultimsglen.m_u32Reserve; - m_strReserve = cImRspSmsGetMultimsglen.m_strReserve; - return *this; - } - - const uint32_t& GetMsgLen () const { return m_msgLen; } - bool SetMsgLen ( const uint32_t& dwMsgLen ) - { - m_msgLen = dwMsgLen; - return true; - } - const uint32_t& GetMaxUser () const { return m_maxUser; } - bool SetMaxUser ( const uint32_t& dwMaxUser ) - { - m_maxUser = dwMaxUser; - return true; - } - const uint32_t& GetU32Reserve () const { return m_u32Reserve; } - bool SetU32Reserve ( const uint32_t& dwU32Reserve ) - { - m_u32Reserve = dwU32Reserve; - return true; - } - const string& GetStrReserve () const { return m_strReserve; } - bool SetStrReserve ( const string& strStrReserve ) - { - if(strStrReserve.size() > 256) - return false; - m_strReserve = strStrReserve; - return true; - } -private: - uint32_t m_msgLen; - uint32_t m_maxUser; - uint32_t m_u32Reserve; - string m_strReserve; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSmsGetMultimsglen::Size() const -{ - uint32_t nSize = 21; - nSize += m_strReserve.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/.svn/text-base/smss_cmd.h.svn-base b/features/aliww/include/.svn/text-base/smss_cmd.h.svn-base deleted file mode 100644 index b9e5c51..0000000 --- a/features/aliww/include/.svn/text-base/smss_cmd.h.svn-base +++ /dev/null @@ -1,42 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smss_cmd.h -// Date: 2011-01-30 12:49:34 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SMSS_CMD_H__ -#define __SMSS_CMD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -enum SMSS_REQUEST -{ - SS_SMS_SENDMSG = 0x9000001, - SS_REQ_SMS_GETUSERMSGINFO = 0x9000002, - SS_REQ_SMS_GET_MULTIMSGLEN = 0x9000003, - -}; - -enum SMSS_RESPONSE -{ - SS_RSP_SMS_GETUSERMSGINFO = 0x9010001, - SS_RSP_SMS_GET_MULTIMSGLEN = 0x9010002, - -}; - -enum SMSS_NOTIFY -{ - BC_NOTIFY_SMS_SENDSTATUS = 0x9020001, - BC_NOTIFY_SMS_MESSAGE = 0x9020002, - BC_NOTIFY_SMS_CHARGESTATUS = 0x9020003, - BC_NOTIFY_SMS_REVFLAG = 0x9020004, - -}; - -#endif diff --git a/features/aliww/include/.svn/text-base/smss_pack.h.svn-base b/features/aliww/include/.svn/text-base/smss_pack.h.svn-base deleted file mode 100644 index f810309..0000000 --- a/features/aliww/include/.svn/text-base/smss_pack.h.svn-base +++ /dev/null @@ -1,765 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smss_pack.h -// Date: 2011-01-30 12:49:34 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SMSS_PACK_H__ -#define __SMSS_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "ss_head.h" -#include "const_macro.h" -#include "smss_cmd.h" -#include "smsstrc_pack.h" - -using namespace std; - -class CSsSmsSendmsg : public CPackData -{ -public: - enum - { - CMD_ID = SS_SMS_SENDMSG - }; - CSsSmsSendmsg() - { - } - - ~CSsSmsSendmsg() { } - CSsSmsSendmsg(const uint8_t& chType, const SSmsUser& sFromUser, const string& strAccount, const string& strPassword, const VECTOR< SSmsUser >& vecToUserList, const string& strMessage) - { - m_type = chType; - m_fromUser = sFromUser; - m_account = strAccount; - m_password = strPassword; - m_toUserList = vecToUserList; - m_message = strMessage; - } - CSsSmsSendmsg& operator=( const CSsSmsSendmsg& cSsSmsSendmsg ) - { - m_type = cSsSmsSendmsg.m_type; - m_fromUser = cSsSmsSendmsg.m_fromUser; - m_account = cSsSmsSendmsg.m_account; - m_password = cSsSmsSendmsg.m_password; - m_toUserList = cSsSmsSendmsg.m_toUserList; - m_message = cSsSmsSendmsg.m_message; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const SSmsUser& GetFromUser () const { return m_fromUser; } - bool SetFromUser ( const SSmsUser& sFromUser ) - { - m_fromUser = sFromUser; - return true; - } - const string& GetAccount () const { return m_account; } - bool SetAccount ( const string& strAccount ) - { - if(strAccount.size() > 64) - return false; - m_account = strAccount; - return true; - } - const string& GetPassword () const { return m_password; } - bool SetPassword ( const string& strPassword ) - { - if(strPassword.size() > 16) - return false; - m_password = strPassword; - return true; - } - const VECTOR< SSmsUser >& GetToUserList () const { return m_toUserList; } - bool SetToUserList ( const VECTOR< SSmsUser >& vecToUserList ) - { - m_toUserList = vecToUserList; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - uint8_t m_type; - SSmsUser m_fromUser; - string m_account; - string m_password; - VECTOR< SSmsUser > m_toUserList; - string m_message; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsSmsSendmsg::Size() const -{ - uint32_t nSize = 25; - nSize += m_fromUser.Size(); - nSize += m_account.length(); - nSize += m_password.length(); - for(uint32_t i = 0; i < m_toUserList.size(); i++) - { - nSize += m_toUserList[i].Size(); - } - nSize += m_message.length(); - return nSize; -} - -class CSsReqSmsGetusermsginfo : public CPackData -{ -public: - enum - { - CMD_ID = SS_REQ_SMS_GETUSERMSGINFO - }; - CSsReqSmsGetusermsginfo() - { - } - - ~CSsReqSmsGetusermsginfo() { } - CSsReqSmsGetusermsginfo(const string& strUserId) - { - m_userId = strUserId; - } - CSsReqSmsGetusermsginfo& operator=( const CSsReqSmsGetusermsginfo& cSsReqSmsGetusermsginfo ) - { - m_userId = cSsReqSmsGetusermsginfo.m_userId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } -private: - string m_userId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsReqSmsGetusermsginfo::Size() const -{ - uint32_t nSize = 6; - nSize += m_userId.length(); - return nSize; -} - -class CSsRspSmsGetusermsginfo : public CPackData -{ -public: - enum - { - CMD_ID = SS_RSP_SMS_GETUSERMSGINFO - }; - CSsRspSmsGetusermsginfo() - { - } - - ~CSsRspSmsGetusermsginfo() { } - CSsRspSmsGetusermsginfo(const uint8_t& chStatus, const string& strUserId, const uint32_t& dwYesterdayMsgCount, const uint32_t& dwTodayMsgCount, const uint32_t& dwMaxMsgCount, const uint32_t& dwBalance, const uint32_t& dwPrice, const uint32_t& dwCount, const uint32_t& dwMsgMaxLen) - { - m_status = chStatus; - m_userId = strUserId; - m_yesterdayMsgCount = dwYesterdayMsgCount; - m_todayMsgCount = dwTodayMsgCount; - m_maxMsgCount = dwMaxMsgCount; - m_balance = dwBalance; - m_price = dwPrice; - m_count = dwCount; - m_msgMaxLen = dwMsgMaxLen; - } - CSsRspSmsGetusermsginfo& operator=( const CSsRspSmsGetusermsginfo& cSsRspSmsGetusermsginfo ) - { - m_status = cSsRspSmsGetusermsginfo.m_status; - m_userId = cSsRspSmsGetusermsginfo.m_userId; - m_yesterdayMsgCount = cSsRspSmsGetusermsginfo.m_yesterdayMsgCount; - m_todayMsgCount = cSsRspSmsGetusermsginfo.m_todayMsgCount; - m_maxMsgCount = cSsRspSmsGetusermsginfo.m_maxMsgCount; - m_balance = cSsRspSmsGetusermsginfo.m_balance; - m_price = cSsRspSmsGetusermsginfo.m_price; - m_count = cSsRspSmsGetusermsginfo.m_count; - m_msgMaxLen = cSsRspSmsGetusermsginfo.m_msgMaxLen; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint32_t& GetYesterdayMsgCount () const { return m_yesterdayMsgCount; } - bool SetYesterdayMsgCount ( const uint32_t& dwYesterdayMsgCount ) - { - m_yesterdayMsgCount = dwYesterdayMsgCount; - return true; - } - const uint32_t& GetTodayMsgCount () const { return m_todayMsgCount; } - bool SetTodayMsgCount ( const uint32_t& dwTodayMsgCount ) - { - m_todayMsgCount = dwTodayMsgCount; - return true; - } - const uint32_t& GetMaxMsgCount () const { return m_maxMsgCount; } - bool SetMaxMsgCount ( const uint32_t& dwMaxMsgCount ) - { - m_maxMsgCount = dwMaxMsgCount; - return true; - } - const uint32_t& GetBalance () const { return m_balance; } - bool SetBalance ( const uint32_t& dwBalance ) - { - m_balance = dwBalance; - return true; - } - const uint32_t& GetPrice () const { return m_price; } - bool SetPrice ( const uint32_t& dwPrice ) - { - m_price = dwPrice; - return true; - } - const uint32_t& GetCount () const { return m_count; } - bool SetCount ( const uint32_t& dwCount ) - { - m_count = dwCount; - return true; - } - const uint32_t& GetMsgMaxLen () const { return m_msgMaxLen; } - bool SetMsgMaxLen ( const uint32_t& dwMsgMaxLen ) - { - m_msgMaxLen = dwMsgMaxLen; - return true; - } -private: - uint8_t m_status; - string m_userId; - uint32_t m_yesterdayMsgCount; - uint32_t m_todayMsgCount; - uint32_t m_maxMsgCount; - uint32_t m_balance; - uint32_t m_price; - uint32_t m_count; - uint32_t m_msgMaxLen; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsRspSmsGetusermsginfo::Size() const -{ - uint32_t nSize = 43; - nSize += m_userId.length(); - return nSize; -} - -class CBcNotifySmsSendstatus : public CPackData -{ -public: - enum - { - CMD_ID = BC_NOTIFY_SMS_SENDSTATUS - }; - CBcNotifySmsSendstatus() - { - } - - ~CBcNotifySmsSendstatus() { } - CBcNotifySmsSendstatus(const uint8_t& chStatus, const string& strFromId, const VECTOR< SSmsUser >& vecToUserList, const string& strMessage, const string& strErrorDesc) - { - m_status = chStatus; - m_fromId = strFromId; - m_toUserList = vecToUserList; - m_message = strMessage; - m_errorDesc = strErrorDesc; - } - CBcNotifySmsSendstatus& operator=( const CBcNotifySmsSendstatus& cBcNotifySmsSendstatus ) - { - m_status = cBcNotifySmsSendstatus.m_status; - m_fromId = cBcNotifySmsSendstatus.m_fromId; - m_toUserList = cBcNotifySmsSendstatus.m_toUserList; - m_message = cBcNotifySmsSendstatus.m_message; - m_errorDesc = cBcNotifySmsSendstatus.m_errorDesc; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const VECTOR< SSmsUser >& GetToUserList () const { return m_toUserList; } - bool SetToUserList ( const VECTOR< SSmsUser >& vecToUserList ) - { - m_toUserList = vecToUserList; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const string& GetErrorDesc () const { return m_errorDesc; } - bool SetErrorDesc ( const string& strErrorDesc ) - { - m_errorDesc = strErrorDesc; - return true; - } -private: - uint8_t m_status; - string m_fromId; - VECTOR< SSmsUser > m_toUserList; - string m_message; - string m_errorDesc; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CBcNotifySmsSendstatus::Size() const -{ - uint32_t nSize = 24; - nSize += m_fromId.length(); - for(uint32_t i = 0; i < m_toUserList.size(); i++) - { - nSize += m_toUserList[i].Size(); - } - nSize += m_message.length(); - nSize += m_errorDesc.length(); - return nSize; -} - -class CBcNotifySmsMessage : public CPackData -{ -public: - enum - { - CMD_ID = BC_NOTIFY_SMS_MESSAGE - }; - CBcNotifySmsMessage() - { - } - - ~CBcNotifySmsMessage() { } - CBcNotifySmsMessage(const SSmsUser& sFromUser, const string& strToId, const string& strMessage) - { - m_fromUser = sFromUser; - m_toId = strToId; - m_message = strMessage; - } - CBcNotifySmsMessage& operator=( const CBcNotifySmsMessage& cBcNotifySmsMessage ) - { - m_fromUser = cBcNotifySmsMessage.m_fromUser; - m_toId = cBcNotifySmsMessage.m_toId; - m_message = cBcNotifySmsMessage.m_message; - return *this; - } - - const SSmsUser& GetFromUser () const { return m_fromUser; } - bool SetFromUser ( const SSmsUser& sFromUser ) - { - m_fromUser = sFromUser; - return true; - } - const string& GetToId () const { return m_toId; } - bool SetToId ( const string& strToId ) - { - if(strToId.size() > 64) - return false; - m_toId = strToId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - SSmsUser m_fromUser; - string m_toId; - string m_message; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CBcNotifySmsMessage::Size() const -{ - uint32_t nSize = 12; - nSize += m_fromUser.Size(); - nSize += m_toId.length(); - nSize += m_message.length(); - return nSize; -} - -class CBcNotifySmsChargestatus : public CPackData -{ -public: - enum - { - CMD_ID = BC_NOTIFY_SMS_CHARGESTATUS - }; - CBcNotifySmsChargestatus() - { - } - - ~CBcNotifySmsChargestatus() { } - CBcNotifySmsChargestatus(const string& strUserId, const string& strChargeId, const uint8_t& chChargeStatus, const uint8_t& chChargeType, const uint32_t& dwDenomination, const uint32_t& dwBalance, const uint32_t& dwCount) - { - m_userId = strUserId; - m_chargeId = strChargeId; - m_chargeStatus = chChargeStatus; - m_chargeType = chChargeType; - m_denomination = dwDenomination; - m_balance = dwBalance; - m_count = dwCount; - } - CBcNotifySmsChargestatus& operator=( const CBcNotifySmsChargestatus& cBcNotifySmsChargestatus ) - { - m_userId = cBcNotifySmsChargestatus.m_userId; - m_chargeId = cBcNotifySmsChargestatus.m_chargeId; - m_chargeStatus = cBcNotifySmsChargestatus.m_chargeStatus; - m_chargeType = cBcNotifySmsChargestatus.m_chargeType; - m_denomination = cBcNotifySmsChargestatus.m_denomination; - m_balance = cBcNotifySmsChargestatus.m_balance; - m_count = cBcNotifySmsChargestatus.m_count; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetChargeId () const { return m_chargeId; } - bool SetChargeId ( const string& strChargeId ) - { - if(strChargeId.size() > 20) - return false; - m_chargeId = strChargeId; - return true; - } - const uint8_t& GetChargeStatus () const { return m_chargeStatus; } - bool SetChargeStatus ( const uint8_t& chChargeStatus ) - { - m_chargeStatus = chChargeStatus; - return true; - } - const uint8_t& GetChargeType () const { return m_chargeType; } - bool SetChargeType ( const uint8_t& chChargeType ) - { - m_chargeType = chChargeType; - return true; - } - const uint32_t& GetDenomination () const { return m_denomination; } - bool SetDenomination ( const uint32_t& dwDenomination ) - { - m_denomination = dwDenomination; - return true; - } - const uint32_t& GetBalance () const { return m_balance; } - bool SetBalance ( const uint32_t& dwBalance ) - { - m_balance = dwBalance; - return true; - } - const uint32_t& GetCount () const { return m_count; } - bool SetCount ( const uint32_t& dwCount ) - { - m_count = dwCount; - return true; - } -private: - string m_userId; - string m_chargeId; - uint8_t m_chargeStatus; - uint8_t m_chargeType; - uint32_t m_denomination; - uint32_t m_balance; - uint32_t m_count; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CBcNotifySmsChargestatus::Size() const -{ - uint32_t nSize = 30; - nSize += m_userId.length(); - nSize += m_chargeId.length(); - return nSize; -} - -class CBcNotifySmsRevflag : public CPackData -{ -public: - enum - { - CMD_ID = BC_NOTIFY_SMS_REVFLAG - }; - CBcNotifySmsRevflag() - { - } - - ~CBcNotifySmsRevflag() { } - CBcNotifySmsRevflag(const string& strUserId, const uint8_t& chRevFlag) - { - m_userId = strUserId; - m_revFlag = chRevFlag; - } - CBcNotifySmsRevflag& operator=( const CBcNotifySmsRevflag& cBcNotifySmsRevflag ) - { - m_userId = cBcNotifySmsRevflag.m_userId; - m_revFlag = cBcNotifySmsRevflag.m_revFlag; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetRevFlag () const { return m_revFlag; } - bool SetRevFlag ( const uint8_t& chRevFlag ) - { - m_revFlag = chRevFlag; - return true; - } -private: - string m_userId; - uint8_t m_revFlag; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CBcNotifySmsRevflag::Size() const -{ - uint32_t nSize = 8; - nSize += m_userId.length(); - return nSize; -} - -class CSsReqSmsGetMultimsglen : public CPackData -{ -public: - enum - { - CMD_ID = SS_REQ_SMS_GET_MULTIMSGLEN - }; - CSsReqSmsGetMultimsglen() - { - } - - ~CSsReqSmsGetMultimsglen() { } - CSsReqSmsGetMultimsglen(const string& strUserId) - { - m_userId = strUserId; - } - CSsReqSmsGetMultimsglen& operator=( const CSsReqSmsGetMultimsglen& cSsReqSmsGetMultimsglen ) - { - m_userId = cSsReqSmsGetMultimsglen.m_userId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } -private: - string m_userId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsReqSmsGetMultimsglen::Size() const -{ - uint32_t nSize = 6; - nSize += m_userId.length(); - return nSize; -} - -class CSsRspSmsGetMultimsglen : public CPackData -{ -public: - enum - { - CMD_ID = SS_RSP_SMS_GET_MULTIMSGLEN - }; - CSsRspSmsGetMultimsglen() - { - } - - ~CSsRspSmsGetMultimsglen() { } - CSsRspSmsGetMultimsglen(const uint32_t& dwMsgLen, const uint32_t& dwMaxUser, const string& strUserId, const uint32_t& dwU32Reserve, const string& strStrReserve) - { - m_msgLen = dwMsgLen; - m_maxUser = dwMaxUser; - m_userId = strUserId; - m_u32Reserve = dwU32Reserve; - m_strReserve = strStrReserve; - } - CSsRspSmsGetMultimsglen& operator=( const CSsRspSmsGetMultimsglen& cSsRspSmsGetMultimsglen ) - { - m_msgLen = cSsRspSmsGetMultimsglen.m_msgLen; - m_maxUser = cSsRspSmsGetMultimsglen.m_maxUser; - m_userId = cSsRspSmsGetMultimsglen.m_userId; - m_u32Reserve = cSsRspSmsGetMultimsglen.m_u32Reserve; - m_strReserve = cSsRspSmsGetMultimsglen.m_strReserve; - return *this; - } - - const uint32_t& GetMsgLen () const { return m_msgLen; } - bool SetMsgLen ( const uint32_t& dwMsgLen ) - { - m_msgLen = dwMsgLen; - return true; - } - const uint32_t& GetMaxUser () const { return m_maxUser; } - bool SetMaxUser ( const uint32_t& dwMaxUser ) - { - m_maxUser = dwMaxUser; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint32_t& GetU32Reserve () const { return m_u32Reserve; } - bool SetU32Reserve ( const uint32_t& dwU32Reserve ) - { - m_u32Reserve = dwU32Reserve; - return true; - } - const string& GetStrReserve () const { return m_strReserve; } - bool SetStrReserve ( const string& strStrReserve ) - { - if(strStrReserve.size() > 256) - return false; - m_strReserve = strStrReserve; - return true; - } -private: - uint32_t m_msgLen; - uint32_t m_maxUser; - string m_userId; - uint32_t m_u32Reserve; - string m_strReserve; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsRspSmsGetMultimsglen::Size() const -{ - uint32_t nSize = 26; - nSize += m_userId.length(); - nSize += m_strReserve.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/.svn/text-base/smssdk_pack.h.svn-base b/features/aliww/include/.svn/text-base/smssdk_pack.h.svn-base deleted file mode 100644 index 963e179..0000000 --- a/features/aliww/include/.svn/text-base/smssdk_pack.h.svn-base +++ /dev/null @@ -1,222 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smssdk_pack.h -// Date: 2011-01-30 12:49:55 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SMSSDK_PACK_H__ -#define __SMSSDK_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "sdkss_head.h" - -using namespace std; - -#ifndef SEQID_LENGTH -#define SEQID_LENGTH 16 -#endif - -#ifndef ERRDESC_LENGTH -#define ERRDESC_LENGTH 64 -#endif - -#ifndef MOBILE_LENGTH -#define MOBILE_LENGTH 32 -#endif - -#ifndef ACCOUNT_LENGTH -#define ACCOUNT_LENGTH 64 -#endif - -#ifndef TRANSID_LENGTH -#define TRANSID_LENGTH 32 -#endif - -#ifndef CONTENT_LENGTH -#define CONTENT_LENGTH 256 -#endif - -#ifndef TIME_MAX_LENGTH -#define TIME_MAX_LENGTH 20 -#endif - -enum SMSSDK_CMD -{ - SMS_UPLOAD_MESSAGE = 0x1, - SMS_REPORT_ERROR = 0x2, -}; - -class CSmsUploadMessage : public CPackData -{ -public: - enum - { - CMD_ID = SMS_UPLOAD_MESSAGE - }; - CSmsUploadMessage() - { - } - - ~CSmsUploadMessage() { } - CSmsUploadMessage(const string& strTransId, const string& strFromMobile, const string& strToAccount, const string& strSendTime, const string& strMessage) - { - m_transId = strTransId; - m_fromMobile = strFromMobile; - m_toAccount = strToAccount; - m_sendTime = strSendTime; - m_message = strMessage; - } - CSmsUploadMessage& operator=( const CSmsUploadMessage& cSmsUploadMessage ) - { - m_transId = cSmsUploadMessage.m_transId; - m_fromMobile = cSmsUploadMessage.m_fromMobile; - m_toAccount = cSmsUploadMessage.m_toAccount; - m_sendTime = cSmsUploadMessage.m_sendTime; - m_message = cSmsUploadMessage.m_message; - return *this; - } - - const string& GetTransId () const { return m_transId; } - bool SetTransId ( const string& strTransId ) - { - if(strTransId.size() > 32) - return false; - m_transId = strTransId; - return true; - } - const string& GetFromMobile () const { return m_fromMobile; } - bool SetFromMobile ( const string& strFromMobile ) - { - if(strFromMobile.size() > 32) - return false; - m_fromMobile = strFromMobile; - return true; - } - const string& GetToAccount () const { return m_toAccount; } - bool SetToAccount ( const string& strToAccount ) - { - if(strToAccount.size() > 64) - return false; - m_toAccount = strToAccount; - return true; - } - const string& GetSendTime () const { return m_sendTime; } - bool SetSendTime ( const string& strSendTime ) - { - if(strSendTime.size() > 20) - return false; - m_sendTime = strSendTime; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - if(strMessage.size() > 256) - return false; - m_message = strMessage; - return true; - } -private: - string m_transId; - string m_fromMobile; - string m_toAccount; - string m_sendTime; - string m_message; - -public: - CSdkssHead m_sdkssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSmsUploadMessage::Size() const -{ - uint32_t nSize = 20; - nSize += m_transId.length(); - nSize += m_fromMobile.length(); - nSize += m_toAccount.length(); - nSize += m_sendTime.length(); - nSize += m_message.length(); - return nSize; -} - -class CSmsReportError : public CPackData -{ -public: - enum - { - CMD_ID = SMS_REPORT_ERROR - }; - CSmsReportError() - { - } - - ~CSmsReportError() { } - CSmsReportError(const uint32_t& dwStatus, const string& strTransId, const string& strDesc) - { - m_status = dwStatus; - m_transId = strTransId; - m_desc = strDesc; - } - CSmsReportError& operator=( const CSmsReportError& cSmsReportError ) - { - m_status = cSmsReportError.m_status; - m_transId = cSmsReportError.m_transId; - m_desc = cSmsReportError.m_desc; - return *this; - } - - const uint32_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint32_t& dwStatus ) - { - m_status = dwStatus; - return true; - } - const string& GetTransId () const { return m_transId; } - bool SetTransId ( const string& strTransId ) - { - if(strTransId.size() > 32) - return false; - m_transId = strTransId; - return true; - } - const string& GetDesc () const { return m_desc; } - bool SetDesc ( const string& strDesc ) - { - if(strDesc.size() > 64) - return false; - m_desc = strDesc; - return true; - } -private: - uint32_t m_status; - string m_transId; - string m_desc; - -public: - CSdkssHead m_sdkssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSmsReportError::Size() const -{ - uint32_t nSize = 12; - nSize += m_transId.length(); - nSize += m_desc.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/.svn/text-base/smsstrc_cmd.h.svn-base b/features/aliww/include/.svn/text-base/smsstrc_cmd.h.svn-base deleted file mode 100644 index 855f0ba..0000000 --- a/features/aliww/include/.svn/text-base/smsstrc_cmd.h.svn-base +++ /dev/null @@ -1,26 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smsstrc_cmd.h -// Date: 2011-01-30 12:49:34 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SMSSTRC_CMD_H__ -#define __SMSSTRC_CMD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -enum SMSSTRC_NOTIFY -{ - BC_NOTIFY_SMS_MOBILEONLINE = 0x9021001, - BC_NOTIFY_SMS_USERINFO = 0x9021002, - BC_NOTIFY_SMS_USERCONFIG = 0x9021003, - -}; - -#endif diff --git a/features/aliww/include/.svn/text-base/smsstrc_pack.h.svn-base b/features/aliww/include/.svn/text-base/smsstrc_pack.h.svn-base deleted file mode 100644 index 4324487..0000000 --- a/features/aliww/include/.svn/text-base/smsstrc_pack.h.svn-base +++ /dev/null @@ -1,293 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smsstrc_pack.h -// Date: 2011-01-30 12:49:34 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SMSSTRC_PACK_H__ -#define __SMSSTRC_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "const_macro.h" -#include "ss_head.h" -#include "smsstrc_cmd.h" - -using namespace std; - -struct SSmsUser -{ -public: - SSmsUser() - { - } - - ~SSmsUser() { } - SSmsUser(const string& strUserId, const string& strMobileNo) - { - m_userId = strUserId; - m_mobileNo = strMobileNo; - } - SSmsUser& operator=( const SSmsUser& sSmsUser ) - { - m_userId = sSmsUser.m_userId; - m_mobileNo = sSmsUser.m_mobileNo; - return *this; - } - - string m_userId; - string m_mobileNo; - -public: - uint32_t Size() const; -}; - -inline uint32_t SSmsUser::Size() const -{ - uint32_t nSize = 11; - nSize += m_userId.length(); - nSize += m_mobileNo.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SSmsUser& sSmsUser ); -CPackData& operator>> ( CPackData& cPackData, SSmsUser& sSmsUser ); - -class CBcNotifySmsMobileonline : public CPackData -{ -public: - enum - { - CMD_ID = BC_NOTIFY_SMS_MOBILEONLINE - }; - CBcNotifySmsMobileonline() - { - } - - ~CBcNotifySmsMobileonline() { } - CBcNotifySmsMobileonline(const string& strUserId, const uint8_t& chOnlineFlag) - { - m_userId = strUserId; - m_onlineFlag = chOnlineFlag; - } - CBcNotifySmsMobileonline& operator=( const CBcNotifySmsMobileonline& cBcNotifySmsMobileonline ) - { - m_userId = cBcNotifySmsMobileonline.m_userId; - m_onlineFlag = cBcNotifySmsMobileonline.m_onlineFlag; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetOnlineFlag () const { return m_onlineFlag; } - bool SetOnlineFlag ( const uint8_t& chOnlineFlag ) - { - m_onlineFlag = chOnlineFlag; - return true; - } -private: - string m_userId; - uint8_t m_onlineFlag; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CBcNotifySmsMobileonline::Size() const -{ - uint32_t nSize = 8; - nSize += m_userId.length(); - return nSize; -} - -class CBcNotifySmsUserinfo : public CPackData -{ -public: - enum - { - CMD_ID = BC_NOTIFY_SMS_USERINFO - }; - CBcNotifySmsUserinfo() - { - } - - ~CBcNotifySmsUserinfo() { } - CBcNotifySmsUserinfo(const string& strUserId, const uint8_t& chBindFlag, const uint8_t& chOnlineFlag, const uint8_t& chRevFlag, const string& strMobileNo, const uint32_t& dwBalance, const uint32_t& dwPrice) - { - m_userId = strUserId; - m_bindFlag = chBindFlag; - m_onlineFlag = chOnlineFlag; - m_revFlag = chRevFlag; - m_mobileNo = strMobileNo; - m_balance = dwBalance; - m_price = dwPrice; - } - CBcNotifySmsUserinfo& operator=( const CBcNotifySmsUserinfo& cBcNotifySmsUserinfo ) - { - m_userId = cBcNotifySmsUserinfo.m_userId; - m_bindFlag = cBcNotifySmsUserinfo.m_bindFlag; - m_onlineFlag = cBcNotifySmsUserinfo.m_onlineFlag; - m_revFlag = cBcNotifySmsUserinfo.m_revFlag; - m_mobileNo = cBcNotifySmsUserinfo.m_mobileNo; - m_balance = cBcNotifySmsUserinfo.m_balance; - m_price = cBcNotifySmsUserinfo.m_price; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetBindFlag () const { return m_bindFlag; } - bool SetBindFlag ( const uint8_t& chBindFlag ) - { - m_bindFlag = chBindFlag; - return true; - } - const uint8_t& GetOnlineFlag () const { return m_onlineFlag; } - bool SetOnlineFlag ( const uint8_t& chOnlineFlag ) - { - m_onlineFlag = chOnlineFlag; - return true; - } - const uint8_t& GetRevFlag () const { return m_revFlag; } - bool SetRevFlag ( const uint8_t& chRevFlag ) - { - m_revFlag = chRevFlag; - return true; - } - const string& GetMobileNo () const { return m_mobileNo; } - bool SetMobileNo ( const string& strMobileNo ) - { - if(strMobileNo.size() > 16) - return false; - m_mobileNo = strMobileNo; - return true; - } - const uint32_t& GetBalance () const { return m_balance; } - bool SetBalance ( const uint32_t& dwBalance ) - { - m_balance = dwBalance; - return true; - } - const uint32_t& GetPrice () const { return m_price; } - bool SetPrice ( const uint32_t& dwPrice ) - { - m_price = dwPrice; - return true; - } -private: - string m_userId; - uint8_t m_bindFlag; - uint8_t m_onlineFlag; - uint8_t m_revFlag; - string m_mobileNo; - uint32_t m_balance; - uint32_t m_price; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CBcNotifySmsUserinfo::Size() const -{ - uint32_t nSize = 27; - nSize += m_userId.length(); - nSize += m_mobileNo.length(); - return nSize; -} - -class CBcNotifySmsUserconfig : public CPackData -{ -public: - enum - { - CMD_ID = BC_NOTIFY_SMS_USERCONFIG - }; - CBcNotifySmsUserconfig() - { - } - - ~CBcNotifySmsUserconfig() { } - CBcNotifySmsUserconfig(const string& strUserId, const uint8_t& chOnlineFlag, const uint8_t& chRevFlag) - { - m_userId = strUserId; - m_onlineFlag = chOnlineFlag; - m_revFlag = chRevFlag; - } - CBcNotifySmsUserconfig& operator=( const CBcNotifySmsUserconfig& cBcNotifySmsUserconfig ) - { - m_userId = cBcNotifySmsUserconfig.m_userId; - m_onlineFlag = cBcNotifySmsUserconfig.m_onlineFlag; - m_revFlag = cBcNotifySmsUserconfig.m_revFlag; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetOnlineFlag () const { return m_onlineFlag; } - bool SetOnlineFlag ( const uint8_t& chOnlineFlag ) - { - m_onlineFlag = chOnlineFlag; - return true; - } - const uint8_t& GetRevFlag () const { return m_revFlag; } - bool SetRevFlag ( const uint8_t& chRevFlag ) - { - m_revFlag = chRevFlag; - return true; - } -private: - string m_userId; - uint8_t m_onlineFlag; - uint8_t m_revFlag; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CBcNotifySmsUserconfig::Size() const -{ - uint32_t nSize = 10; - nSize += m_userId.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/.svn/text-base/snsscores.h.svn-base b/features/aliww/include/.svn/text-base/snsscores.h.svn-base deleted file mode 100644 index 46f1299..0000000 --- a/features/aliww/include/.svn/text-base/snsscores.h.svn-base +++ /dev/null @@ -1,447 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `snsscores.ice' - -#ifndef __snsscores_h__ -#define __snsscores_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace ALISNS -{ - -class ScoreInterface; -bool operator==(const ScoreInterface&, const ScoreInterface&); -bool operator!=(const ScoreInterface&, const ScoreInterface&); -bool operator<(const ScoreInterface&, const ScoreInterface&); -bool operator<=(const ScoreInterface&, const ScoreInterface&); -bool operator>(const ScoreInterface&, const ScoreInterface&); -bool operator>=(const ScoreInterface&, const ScoreInterface&); - -} - -} - -namespace ALISNS -{ - -class ScoreInterface; -bool operator==(const ScoreInterface&, const ScoreInterface&); -bool operator!=(const ScoreInterface&, const ScoreInterface&); -bool operator<(const ScoreInterface&, const ScoreInterface&); -bool operator<=(const ScoreInterface&, const ScoreInterface&); -bool operator>(const ScoreInterface&, const ScoreInterface&); -bool operator>=(const ScoreInterface&, const ScoreInterface&); - -} - -namespace IceInternal -{ - -void incRef(::ALISNS::ScoreInterface*); -void decRef(::ALISNS::ScoreInterface*); - -void incRef(::IceProxy::ALISNS::ScoreInterface*); -void decRef(::IceProxy::ALISNS::ScoreInterface*); - -} - -namespace ALISNS -{ - -typedef ::IceInternal::Handle< ::ALISNS::ScoreInterface> ScoreInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::ALISNS::ScoreInterface> ScoreInterfacePrx; - -void __write(::IceInternal::BasicStream*, const ScoreInterfacePrx&); -void __read(::IceInternal::BasicStream*, ScoreInterfacePrx&); -void __write(::IceInternal::BasicStream*, const ScoreInterfacePtr&); -void __patch__ScoreInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const ScoreInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const ScoreInterfacePtr&); -void __decRefUnsafe(const ScoreInterfacePtr&); -void __clearHandleUnsafe(ScoreInterfacePtr&); - -} - -namespace ALISNS -{ - -struct ScoreFlowUnit -{ - ::Ice::Int flowID; - ::std::string gmtCreate; - ::std::string gmtModified; - ::std::string userLongId; - ::std::string behaviorId; - ::std::string behaviorName; - ::Ice::Int score; - ::std::string note; - - bool operator==(const ScoreFlowUnit&) const; - bool operator!=(const ScoreFlowUnit&) const; - bool operator<(const ScoreFlowUnit&) const; - bool operator<=(const ScoreFlowUnit& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const ScoreFlowUnit& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const ScoreFlowUnit& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct BidConfigInfo -{ - ::std::string sBid; - ::std::string sName; - ::std::string sAppId; - ::Ice::Int iTimesLimit; - ::Ice::Int iScoreLimit; - ::Ice::Int iDayTimesLimit; - ::Ice::Int iDayScoreLimit; - ::Ice::Int iPersonTimesLimit; - ::Ice::Int iPersonScoreLimit; - ::Ice::Int iPersonDayTimesLimit; - ::Ice::Int iPersonDayScoreLimit; - ::Ice::Int iScoreType; - ::Ice::Int iScore; - ::Ice::Int iStatus; - - bool operator==(const BidConfigInfo&) const; - bool operator!=(const BidConfigInfo&) const; - bool operator<(const BidConfigInfo&) const; - bool operator<=(const BidConfigInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const BidConfigInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const BidConfigInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::ALISNS::ScoreFlowUnit> ScoreFlows; - -class __U__ScoreFlows { }; -void __write(::IceInternal::BasicStream*, const ::ALISNS::ScoreFlowUnit*, const ::ALISNS::ScoreFlowUnit*, __U__ScoreFlows); -void __read(::IceInternal::BasicStream*, ScoreFlows&, __U__ScoreFlows); - -} - -namespace IceProxy -{ - -namespace ALISNS -{ - -class ScoreInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int addBehaviorScore(const ::std::string& userLongId, const ::std::string& behaviorId, const ::std::string& note, ::Ice::Int& behaviorScore, ::Ice::Int& userScore) - { - return addBehaviorScore(userLongId, behaviorId, note, behaviorScore, userScore, 0); - } - ::Ice::Int addBehaviorScore(const ::std::string& userLongId, const ::std::string& behaviorId, const ::std::string& note, ::Ice::Int& behaviorScore, ::Ice::Int& userScore, const ::Ice::Context& __ctx) - { - return addBehaviorScore(userLongId, behaviorId, note, behaviorScore, userScore, &__ctx); - } - -private: - - ::Ice::Int addBehaviorScore(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int updateScore(const ::std::string& userLongId, const ::std::string& behaviorId, const ::std::string& note, ::Ice::Int score, ::Ice::Int& userScore) - { - return updateScore(userLongId, behaviorId, note, score, userScore, 0); - } - ::Ice::Int updateScore(const ::std::string& userLongId, const ::std::string& behaviorId, const ::std::string& note, ::Ice::Int score, ::Ice::Int& userScore, const ::Ice::Context& __ctx) - { - return updateScore(userLongId, behaviorId, note, score, userScore, &__ctx); - } - -private: - - ::Ice::Int updateScore(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserTotalScore(const ::std::string& userLongId, ::Ice::Int& userScore) - { - return getUserTotalScore(userLongId, userScore, 0); - } - ::Ice::Int getUserTotalScore(const ::std::string& userLongId, ::Ice::Int& userScore, const ::Ice::Context& __ctx) - { - return getUserTotalScore(userLongId, userScore, &__ctx); - } - -private: - - ::Ice::Int getUserTotalScore(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserScoreFlows(const ::std::string& userLongId, const ::std::string& beginDate, const ::std::string& endDate, ::Ice::Int start, ::Ice::Int pageCount, ::Ice::Int& totalNum, ::ALISNS::ScoreFlows& flows) - { - return getUserScoreFlows(userLongId, beginDate, endDate, start, pageCount, totalNum, flows, 0); - } - ::Ice::Int getUserScoreFlows(const ::std::string& userLongId, const ::std::string& beginDate, const ::std::string& endDate, ::Ice::Int start, ::Ice::Int pageCount, ::Ice::Int& totalNum, ::ALISNS::ScoreFlows& flows, const ::Ice::Context& __ctx) - { - return getUserScoreFlows(userLongId, beginDate, endDate, start, pageCount, totalNum, flows, &__ctx); - } - -private: - - ::Ice::Int getUserScoreFlows(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::ALISNS::ScoreFlows&, const ::Ice::Context*); - -public: - - ::Ice::Int getBidConfig(const ::std::string& sBid, ::ALISNS::BidConfigInfo& conf) - { - return getBidConfig(sBid, conf, 0); - } - ::Ice::Int getBidConfig(const ::std::string& sBid, ::ALISNS::BidConfigInfo& conf, const ::Ice::Context& __ctx) - { - return getBidConfig(sBid, conf, &__ctx); - } - -private: - - ::Ice::Int getBidConfig(const ::std::string&, ::ALISNS::BidConfigInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int getBidScoreInfo(const ::std::string& sBid, ::Ice::Int& iScoreTimes, ::Ice::Int& iTotalScore, ::Ice::Int& iDayScoreTimes, ::Ice::Int& iDayTotalScore) - { - return getBidScoreInfo(sBid, iScoreTimes, iTotalScore, iDayScoreTimes, iDayTotalScore, 0); - } - ::Ice::Int getBidScoreInfo(const ::std::string& sBid, ::Ice::Int& iScoreTimes, ::Ice::Int& iTotalScore, ::Ice::Int& iDayScoreTimes, ::Ice::Int& iDayTotalScore, const ::Ice::Context& __ctx) - { - return getBidScoreInfo(sBid, iScoreTimes, iTotalScore, iDayScoreTimes, iDayTotalScore, &__ctx); - } - -private: - - ::Ice::Int getBidScoreInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserBidScoreInfo(const ::std::string& userLongId, const ::std::string& behaviorId, ::Ice::Int& iPersonTotalScore, ::Ice::Int& iPersonAwardScore, ::Ice::Int& iPersonBidTotalTimes, ::Ice::Int& iPersonBidTotalScore, ::Ice::Int& iPersonDayBidTotalTimes, ::Ice::Int& iPersonDayBidTotalScore) - { - return getUserBidScoreInfo(userLongId, behaviorId, iPersonTotalScore, iPersonAwardScore, iPersonBidTotalTimes, iPersonBidTotalScore, iPersonDayBidTotalTimes, iPersonDayBidTotalScore, 0); - } - ::Ice::Int getUserBidScoreInfo(const ::std::string& userLongId, const ::std::string& behaviorId, ::Ice::Int& iPersonTotalScore, ::Ice::Int& iPersonAwardScore, ::Ice::Int& iPersonBidTotalTimes, ::Ice::Int& iPersonBidTotalScore, ::Ice::Int& iPersonDayBidTotalTimes, ::Ice::Int& iPersonDayBidTotalScore, const ::Ice::Context& __ctx) - { - return getUserBidScoreInfo(userLongId, behaviorId, iPersonTotalScore, iPersonAwardScore, iPersonBidTotalTimes, iPersonBidTotalScore, iPersonDayBidTotalTimes, iPersonDayBidTotalScore, &__ctx); - } - -private: - - ::Ice::Int getUserBidScoreInfo(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace ALISNS -{ - -class ScoreInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int addBehaviorScore(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateScore(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserTotalScore(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserScoreFlows(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::ALISNS::ScoreFlows&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getBidConfig(const ::std::string&, ::ALISNS::BidConfigInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getBidScoreInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserBidScoreInfo(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace ALISNS -{ - -class ScoreInterface : virtual public ::IceDelegate::ALISNS::ScoreInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int addBehaviorScore(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int updateScore(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getUserTotalScore(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getUserScoreFlows(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::ALISNS::ScoreFlows&, const ::Ice::Context*); - - virtual ::Ice::Int getBidConfig(const ::std::string&, ::ALISNS::BidConfigInfo&, const ::Ice::Context*); - - virtual ::Ice::Int getBidScoreInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getUserBidScoreInfo(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace ALISNS -{ - -class ScoreInterface : virtual public ::IceDelegate::ALISNS::ScoreInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int addBehaviorScore(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int updateScore(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getUserTotalScore(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getUserScoreFlows(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::ALISNS::ScoreFlows&, const ::Ice::Context*); - - virtual ::Ice::Int getBidConfig(const ::std::string&, ::ALISNS::BidConfigInfo&, const ::Ice::Context*); - - virtual ::Ice::Int getBidScoreInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getUserBidScoreInfo(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); -}; - -} - -} - -namespace ALISNS -{ - -class ScoreInterface : virtual public ::Ice::Object -{ -public: - - typedef ScoreInterfacePrx ProxyType; - typedef ScoreInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int addBehaviorScore(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addBehaviorScore(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateScore(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateScore(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserTotalScore(const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserTotalScore(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserScoreFlows(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::ALISNS::ScoreFlows&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserScoreFlows(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getBidConfig(const ::std::string&, ::ALISNS::BidConfigInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getBidConfig(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getBidScoreInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getBidScoreInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserBidScoreInfo(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserBidScoreInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__ScoreInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/spacecontact.h.svn-base b/features/aliww/include/.svn/text-base/spacecontact.h.svn-base deleted file mode 100644 index cd0c749..0000000 --- a/features/aliww/include/.svn/text-base/spacecontact.h.svn-base +++ /dev/null @@ -1,668 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `spacecontact.ice' - -#ifndef __spacecontact_h__ -#define __spacecontact_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIMDBBase -{ - -class SpaceGroupInterface; -bool operator==(const SpaceGroupInterface&, const SpaceGroupInterface&); -bool operator!=(const SpaceGroupInterface&, const SpaceGroupInterface&); -bool operator<(const SpaceGroupInterface&, const SpaceGroupInterface&); -bool operator<=(const SpaceGroupInterface&, const SpaceGroupInterface&); -bool operator>(const SpaceGroupInterface&, const SpaceGroupInterface&); -bool operator>=(const SpaceGroupInterface&, const SpaceGroupInterface&); - -} - -} - -namespace AliIMDBBase -{ - -class SpaceGroupInterface; -bool operator==(const SpaceGroupInterface&, const SpaceGroupInterface&); -bool operator!=(const SpaceGroupInterface&, const SpaceGroupInterface&); -bool operator<(const SpaceGroupInterface&, const SpaceGroupInterface&); -bool operator<=(const SpaceGroupInterface&, const SpaceGroupInterface&); -bool operator>(const SpaceGroupInterface&, const SpaceGroupInterface&); -bool operator>=(const SpaceGroupInterface&, const SpaceGroupInterface&); - -} - -namespace IceInternal -{ - -void incRef(::AliIMDBBase::SpaceGroupInterface*); -void decRef(::AliIMDBBase::SpaceGroupInterface*); - -void incRef(::IceProxy::AliIMDBBase::SpaceGroupInterface*); -void decRef(::IceProxy::AliIMDBBase::SpaceGroupInterface*); - -} - -namespace AliIMDBBase -{ - -typedef ::IceInternal::Handle< ::AliIMDBBase::SpaceGroupInterface> SpaceGroupInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIMDBBase::SpaceGroupInterface> SpaceGroupInterfacePrx; - -void __write(::IceInternal::BasicStream*, const SpaceGroupInterfacePrx&); -void __read(::IceInternal::BasicStream*, SpaceGroupInterfacePrx&); -void __write(::IceInternal::BasicStream*, const SpaceGroupInterfacePtr&); -void __patch__SpaceGroupInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const SpaceGroupInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const SpaceGroupInterfacePtr&); -void __decRefUnsafe(const SpaceGroupInterfacePtr&); -void __clearHandleUnsafe(SpaceGroupInterfacePtr&); - -} - -namespace AliIMDBBase -{ - -typedef ::std::map< ::std::string, ::std::string> StrKVMap; - -class __U__StrKVMap { }; -void __write(::IceInternal::BasicStream*, const StrKVMap&, __U__StrKVMap); -void __read(::IceInternal::BasicStream*, StrKVMap&, __U__StrKVMap); - -} - -namespace IceProxy -{ - -namespace AliIMDBBase -{ - -class SpaceGroupInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int GetContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList) - { - return GetContactList(userId, pageno, pageSize, totalNum, contactList, 0); - } - ::Ice::Int GetContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context& __ctx) - { - return GetContactList(userId, pageno, pageSize, totalNum, contactList, &__ctx); - } - -private: - - ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetSpaceContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList) - { - return GetSpaceContactList(userId, pageno, pageSize, totalNum, contactList, 0); - } - ::Ice::Int GetSpaceContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context& __ctx) - { - return GetSpaceContactList(userId, pageno, pageSize, totalNum, contactList, &__ctx); - } - -private: - - ::Ice::Int GetSpaceContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetNotSpaceContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList) - { - return GetNotSpaceContactList(userId, pageno, pageSize, totalNum, contactList, 0); - } - ::Ice::Int GetNotSpaceContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context& __ctx) - { - return GetNotSpaceContactList(userId, pageno, pageSize, totalNum, contactList, &__ctx); - } - -private: - - ::Ice::Int GetNotSpaceContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetContactListCount(const ::std::string& userId, ::Ice::Int& recordNum) - { - return GetContactListCount(userId, recordNum, 0); - } - ::Ice::Int GetContactListCount(const ::std::string& userId, ::Ice::Int& recordNum, const ::Ice::Context& __ctx) - { - return GetContactListCount(userId, recordNum, &__ctx); - } - -private: - - ::Ice::Int GetContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetSpaceContactListCount(const ::std::string& userId, ::Ice::Int& recordNum) - { - return GetSpaceContactListCount(userId, recordNum, 0); - } - ::Ice::Int GetSpaceContactListCount(const ::std::string& userId, ::Ice::Int& recordNum, const ::Ice::Context& __ctx) - { - return GetSpaceContactListCount(userId, recordNum, &__ctx); - } - -private: - - ::Ice::Int GetSpaceContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetNotSpaceContactListCount(const ::std::string& userId, ::Ice::Int& recordNum) - { - return GetNotSpaceContactListCount(userId, recordNum, 0); - } - ::Ice::Int GetNotSpaceContactListCount(const ::std::string& userId, ::Ice::Int& recordNum, const ::Ice::Context& __ctx) - { - return GetNotSpaceContactListCount(userId, recordNum, &__ctx); - } - -private: - - ::Ice::Int GetNotSpaceContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int AddSpaceContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int groupId, ::Ice::Int cntgroupId, const ::std::string& userNickname, const ::std::string& contactNickname, ::Ice::Int& friendnum, ::Ice::Int& blacklist, ::Ice::Int& verify) - { - return AddSpaceContact(userId, contactId, groupId, cntgroupId, userNickname, contactNickname, friendnum, blacklist, verify, 0); - } - ::Ice::Int AddSpaceContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int groupId, ::Ice::Int cntgroupId, const ::std::string& userNickname, const ::std::string& contactNickname, ::Ice::Int& friendnum, ::Ice::Int& blacklist, ::Ice::Int& verify, const ::Ice::Context& __ctx) - { - return AddSpaceContact(userId, contactId, groupId, cntgroupId, userNickname, contactNickname, friendnum, blacklist, verify, &__ctx); - } - -private: - - ::Ice::Int AddSpaceContact(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DeleteSpaceContact(const ::std::string& userId, const ::std::string& contactId) - { - return DeleteSpaceContact(userId, contactId, 0); - } - ::Ice::Int DeleteSpaceContact(const ::std::string& userId, const ::std::string& contactId, const ::Ice::Context& __ctx) - { - return DeleteSpaceContact(userId, contactId, &__ctx); - } - -private: - - ::Ice::Int DeleteSpaceContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetSpaceGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList) - { - return GetSpaceGroupList(userId, groupList, 0); - } - ::Ice::Int GetSpaceGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, const ::Ice::Context& __ctx) - { - return GetSpaceGroupList(userId, groupList, &__ctx); - } - -private: - - ::Ice::Int GetSpaceGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetSpaceGroupListEx(const ::std::string& userId, ::spaceContact::SICESpaceGroupInfoSeq& groupList) - { - return GetSpaceGroupListEx(userId, groupList, 0); - } - ::Ice::Int GetSpaceGroupListEx(const ::std::string& userId, ::spaceContact::SICESpaceGroupInfoSeq& groupList, const ::Ice::Context& __ctx) - { - return GetSpaceGroupListEx(userId, groupList, &__ctx); - } - -private: - - ::Ice::Int GetSpaceGroupListEx(const ::std::string&, ::spaceContact::SICESpaceGroupInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int AddSpaceGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId) - { - return AddSpaceGroup(userId, groupName, groupId, 0); - } - ::Ice::Int AddSpaceGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, const ::Ice::Context& __ctx) - { - return AddSpaceGroup(userId, groupName, groupId, &__ctx); - } - -private: - - ::Ice::Int AddSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateSpaceGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId) - { - return UpdateSpaceGroup(userId, groupName, groupId, 0); - } - ::Ice::Int UpdateSpaceGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, const ::Ice::Context& __ctx) - { - return UpdateSpaceGroup(userId, groupName, groupId, &__ctx); - } - -private: - - ::Ice::Int UpdateSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactSpaceGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId) - { - return UpdateContactSpaceGroup(userId, contactId, srcGroupId, dstGroupId, 0); - } - ::Ice::Int UpdateContactSpaceGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, const ::Ice::Context& __ctx) - { - return UpdateContactSpaceGroup(userId, contactId, srcGroupId, dstGroupId, &__ctx); - } - -private: - - ::Ice::Int UpdateContactSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveSpaceGroup(const ::std::string& userId, ::Ice::Int groupId) - { - return RemoveSpaceGroup(userId, groupId, 0); - } - ::Ice::Int RemoveSpaceGroup(const ::std::string& userId, ::Ice::Int groupId, const ::Ice::Context& __ctx) - { - return RemoveSpaceGroup(userId, groupId, &__ctx); - } - -private: - - ::Ice::Int RemoveSpaceGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int GetSpaceGroupContactList(const ::std::string& userId, ::Ice::Int groupId, ::spaceContact::SICESpaceContactInfoSeq& contactList) - { - return GetSpaceGroupContactList(userId, groupId, contactList, 0); - } - ::Ice::Int GetSpaceGroupContactList(const ::std::string& userId, ::Ice::Int groupId, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context& __ctx) - { - return GetSpaceGroupContactList(userId, groupId, contactList, &__ctx); - } - -private: - - ::Ice::Int GetSpaceGroupContactList(const ::std::string&, ::Ice::Int, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactNickName(const ::std::string& userId, const ::std::string& contactid, const ::std::string& nickname) - { - return UpdateContactNickName(userId, contactid, nickname, 0); - } - ::Ice::Int UpdateContactNickName(const ::std::string& userId, const ::std::string& contactid, const ::std::string& nickname, const ::Ice::Context& __ctx) - { - return UpdateContactNickName(userId, contactid, nickname, &__ctx); - } - -private: - - ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int checkContact(const ::std::string& uid, const ::Ice::StringSeq& contactId, ::Ice::IntSeq& result) - { - return checkContact(uid, contactId, result, 0); - } - ::Ice::Int checkContact(const ::std::string& uid, const ::Ice::StringSeq& contactId, ::Ice::IntSeq& result, const ::Ice::Context& __ctx) - { - return checkContact(uid, contactId, result, &__ctx); - } - -private: - - ::Ice::Int checkContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int checkSpaceContact(const ::std::string& uid, const ::Ice::StringSeq& contactId, ::Ice::IntSeq& result) - { - return checkSpaceContact(uid, contactId, result, 0); - } - ::Ice::Int checkSpaceContact(const ::std::string& uid, const ::Ice::StringSeq& contactId, ::Ice::IntSeq& result, const ::Ice::Context& __ctx) - { - return checkSpaceContact(uid, contactId, result, &__ctx); - } - -private: - - ::Ice::Int checkSpaceContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int checkCanAddContact(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int checkType, ::Ice::Int& errorCode) - { - return checkCanAddContact(uid, contactId, checkType, errorCode, 0); - } - ::Ice::Int checkCanAddContact(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int checkType, ::Ice::Int& errorCode, const ::Ice::Context& __ctx) - { - return checkCanAddContact(uid, contactId, checkType, errorCode, &__ctx); - } - -private: - - ::Ice::Int checkCanAddContact(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIMDBBase -{ - -class SpaceGroupInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetSpaceContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetNotSpaceContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetSpaceContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetNotSpaceContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddSpaceContact(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DeleteSpaceContact(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetSpaceGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetSpaceGroupListEx(const ::std::string&, ::spaceContact::SICESpaceGroupInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveSpaceGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetSpaceGroupContactList(const ::std::string&, ::Ice::Int, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkSpaceContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkCanAddContact(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIMDBBase -{ - -class SpaceGroupInterface : virtual public ::IceDelegate::AliIMDBBase::SpaceGroupInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetSpaceContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetNotSpaceContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetSpaceContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetNotSpaceContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddSpaceContact(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DeleteSpaceContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetSpaceGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetSpaceGroupListEx(const ::std::string&, ::spaceContact::SICESpaceGroupInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int RemoveSpaceGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetSpaceGroupContactList(const ::std::string&, ::Ice::Int, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int checkContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int checkSpaceContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int checkCanAddContact(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIMDBBase -{ - -class SpaceGroupInterface : virtual public ::IceDelegate::AliIMDBBase::SpaceGroupInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetSpaceContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetNotSpaceContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetSpaceContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetNotSpaceContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddSpaceContact(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DeleteSpaceContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetSpaceGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetSpaceGroupListEx(const ::std::string&, ::spaceContact::SICESpaceGroupInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int RemoveSpaceGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetSpaceGroupContactList(const ::std::string&, ::Ice::Int, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int checkContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int checkSpaceContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int checkCanAddContact(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIMDBBase -{ - -class SpaceGroupInterface : virtual public ::Ice::Object -{ -public: - - typedef SpaceGroupInterfacePrx ProxyType; - typedef SpaceGroupInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetContactList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetSpaceContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetSpaceContactList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetNotSpaceContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetNotSpaceContactList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetContactListCount(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetSpaceContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetSpaceContactListCount(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetNotSpaceContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetNotSpaceContactListCount(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddSpaceContact(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddSpaceContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DeleteSpaceContact(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DeleteSpaceContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetSpaceGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetSpaceGroupList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetSpaceGroupListEx(const ::std::string&, ::spaceContact::SICESpaceGroupInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetSpaceGroupListEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddSpaceGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateSpaceGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateContactSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactSpaceGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int RemoveSpaceGroup(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveSpaceGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetSpaceGroupContactList(const ::std::string&, ::Ice::Int, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetSpaceGroupContactList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactNickName(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int checkContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int checkSpaceContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkSpaceContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int checkCanAddContact(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkCanAddContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__SpaceGroupInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/ss_head.h.svn-base b/features/aliww/include/.svn/text-base/ss_head.h.svn-base deleted file mode 100644 index fc6db1c..0000000 --- a/features/aliww/include/.svn/text-base/ss_head.h.svn-base +++ /dev/null @@ -1,284 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: ss_head.h -// Date: 2011-01-30 12:50:24 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SS_HEAD_H__ -#define __SS_HEAD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -struct SUserSid -{ -public: - SUserSid() - { - } - - ~SUserSid() { } - SUserSid(const string& strUserId, const uint16_t& wServId) - { - m_userId = strUserId; - m_servId = wServId; - } - SUserSid& operator=( const SUserSid& sUserSid ) - { - m_userId = sUserSid.m_userId; - m_servId = sUserSid.m_servId; - return *this; - } - - string m_userId; - uint16_t m_servId; - -public: - uint32_t Size() const; -}; - -inline uint32_t SUserSid::Size() const -{ - uint32_t nSize = 6; - nSize += m_userId.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SUserSid& sUserSid ); -CPackData& operator>> ( CPackData& cPackData, SUserSid& sUserSid ); - -struct SUserCommInfo -{ -public: - SUserCommInfo() - { - } - - ~SUserCommInfo() { } - SUserCommInfo(const string& strFromId, const VECTOR< SUserSid >& vecReceiverList) - { - m_fromId = strFromId; - m_receiverList = vecReceiverList; - } - SUserCommInfo& operator=( const SUserCommInfo& sUserCommInfo ) - { - m_fromId = sUserCommInfo.m_fromId; - m_receiverList = sUserCommInfo.m_receiverList; - return *this; - } - - string m_fromId; - VECTOR< SUserSid > m_receiverList; - -public: - uint32_t Size() const; -}; - -inline uint32_t SUserCommInfo::Size() const -{ - uint32_t nSize = 8; - nSize += m_fromId.length(); - for(uint32_t i = 0; i < m_receiverList.size(); i++) - { - nSize += m_receiverList[i].Size(); - } - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SUserCommInfo& sUserCommInfo ); -CPackData& operator>> ( CPackData& cPackData, SUserCommInfo& sUserCommInfo ); - -class CSsHead : public CPackData -{ -public: - CSsHead() : m_starter(0xDA), - m_msgtype(0), - m_ttl(64), - m_lrc(0), - m_version(0x0600), - m_cmd(0), - m_seq(0), - m_len(0), - m_cc(0), - m_reserved(1) - { - } - - ~CSsHead() { } - CSsHead(const uint8_t& chStarter, const uint8_t& chMsgtype, const uint8_t& chTtl, const uint8_t& chLrc, const uint16_t& wVersion, const uint16_t& wOrigsid, const uint32_t& dwCmd, const uint32_t& dwSeq, const uint32_t& dwLen, const uint16_t& wCc, const uint16_t& wReserved, const SUserCommInfo& sUserInfo) - { - m_starter = chStarter; - m_msgtype = chMsgtype; - m_ttl = chTtl; - m_lrc = chLrc; - m_version = wVersion; - m_origsid = wOrigsid; - m_cmd = dwCmd; - m_seq = dwSeq; - m_len = dwLen; - m_cc = wCc; - m_reserved = wReserved; - m_userInfo = sUserInfo; - } - CSsHead& operator=( const CSsHead& cSsHead ) - { - m_starter = cSsHead.m_starter; - m_msgtype = cSsHead.m_msgtype; - m_ttl = cSsHead.m_ttl; - m_lrc = cSsHead.m_lrc; - m_version = cSsHead.m_version; - m_origsid = cSsHead.m_origsid; - m_cmd = cSsHead.m_cmd; - m_seq = cSsHead.m_seq; - m_len = cSsHead.m_len; - m_cc = cSsHead.m_cc; - m_reserved = cSsHead.m_reserved; - m_userInfo = cSsHead.m_userInfo; - return *this; - } - -public: - uint8_t m_starter; - uint8_t m_msgtype; - uint8_t m_ttl; - uint8_t m_lrc; - uint16_t m_version; - uint16_t m_origsid; - uint32_t m_cmd; - uint32_t m_seq; - uint32_t m_len; - uint16_t m_cc; - uint16_t m_reserved; - SUserCommInfo m_userInfo; - -public: - void PackData(string& strData); - PACKRETCODE UnpackData(const string& strData); - uint32_t SizeExt() const - { - if((m_reserved & 0x01) == 1) - { - uint32_t nSize = 24; - nSize += m_userInfo.Size(); - return nSize; - } - else - return 24; - } - uint32_t PeekSize() - { - uint32_t nSize = 24; - if((PeekReserved() & 0x01) == 1) - { - { - SetInCursor(nSize); - uint32_t len; - (*this) >> len; - nSize += len + 4; - } - { - SetInCursor(nSize); - uint32_t len; - (*this) >> len; - nSize += 4; - for(uint32_t i = 0; i < len; i++) - { - SetInCursor(nSize); - { - SetInCursor(nSize); - uint32_t len; - (*this) >> len; - nSize += len + 4; - } - nSize += 2; - } - } - } - return nSize; - } - uint32_t Size() const { return 24; } - uint8_t PeekStarter() - { - uint8_t chStarter; - SetInCursor(0); - *this >> chStarter; - return chStarter; - } - uint8_t PeekMsgtype() - { - uint8_t chMsgtype; - SetInCursor(1); - *this >> chMsgtype; - return chMsgtype; - } - uint8_t PeekTtl() - { - uint8_t chTtl; - SetInCursor(2); - *this >> chTtl; - return chTtl; - } - uint8_t PeekLrc() - { - uint8_t chLrc; - SetInCursor(3); - *this >> chLrc; - return chLrc; - } - uint16_t PeekVersion() - { - uint16_t wVersion; - SetInCursor(4); - *this >> wVersion; - return wVersion; - } - uint16_t PeekOrigsid() - { - uint16_t wOrigsid; - SetInCursor(6); - *this >> wOrigsid; - return wOrigsid; - } - uint32_t PeekCmd() - { - uint32_t dwCmd; - SetInCursor(8); - *this >> dwCmd; - return dwCmd; - } - uint32_t PeekSeq() - { - uint32_t dwSeq; - SetInCursor(12); - *this >> dwSeq; - return dwSeq; - } - uint32_t PeekLen() - { - uint32_t dwLen; - SetInCursor(16); - *this >> dwLen; - return dwLen; - } - uint16_t PeekCc() - { - uint16_t wCc; - SetInCursor(20); - *this >> wCc; - return wCc; - } - uint16_t PeekReserved() - { - uint16_t wReserved; - SetInCursor(22); - *this >> wReserved; - return wReserved; - } -}; - -#endif diff --git a/features/aliww/include/.svn/text-base/ss_v5_head.h.svn-base b/features/aliww/include/.svn/text-base/ss_v5_head.h.svn-base deleted file mode 100644 index 8414c8a..0000000 --- a/features/aliww/include/.svn/text-base/ss_v5_head.h.svn-base +++ /dev/null @@ -1,170 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: ss_v5_head.h -// Date: 2011-01-30 12:50:03 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SS_V5_HEAD_H__ -#define __SS_V5_HEAD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -#ifndef UID_LENGTH -#define UID_LENGTH 64 -#endif - -#ifndef TID_LENGTH -#define TID_LENGTH 20 -#endif - -#ifndef TBS_NAME_LENGTH -#define TBS_NAME_LENGTH 64 -#endif - -#ifndef TBS_MSG_LENGTH -#define TBS_MSG_LENGTH 512 -#endif - -#ifndef TBS_DATE_LEN -#define TBS_DATE_LEN 20 -#endif - -#ifndef TBS_VALID_LEN -#define TBS_VALID_LEN 32 -#endif - -#ifndef TBS_PASS_LEN -#define TBS_PASS_LEN 20 -#endif - -#ifndef STATUSDEF_LENGTH -#define STATUSDEF_LENGTH 64 -#endif - -#ifndef MOBILENO_LEN -#define MOBILENO_LEN 20 -#endif - -#ifndef VERSION_LENGTH -#define VERSION_LENGTH 128 -#endif - -#ifndef TBS_KEYWORD_LEN -#define TBS_KEYWORD_LEN 64 -#endif - -#ifndef SESSION_LENGTH -#define SESSION_LENGTH 16 -#endif - -#ifndef IPADDR_LENGTH -#define IPADDR_LENGTH 15 -#endif - -class CSsV5Head : public CPackData -{ -public: - ~CSsV5Head() { } - CSsV5Head(const uint8_t& chStarter= 0x8f, const uint16_t& wVersion= 0x0100, const uint32_t& dwReserved= 0, const uint8_t& chImsId= 0, const uint16_t& wCmd= 0, const uint32_t& dwSeq= 0, const uint16_t& wCc= 0, const uint32_t& dwLen= 0) - { - m_starter = chStarter; - m_version = wVersion; - m_reserved = dwReserved; - m_imsId = chImsId; - m_cmd = wCmd; - m_seq = dwSeq; - m_cc = wCc; - m_len = dwLen; - } - CSsV5Head& operator=( const CSsV5Head& cSsV5Head ) - { - m_starter = cSsV5Head.m_starter; - m_version = cSsV5Head.m_version; - m_reserved = cSsV5Head.m_reserved; - m_imsId = cSsV5Head.m_imsId; - m_cmd = cSsV5Head.m_cmd; - m_seq = cSsV5Head.m_seq; - m_cc = cSsV5Head.m_cc; - m_len = cSsV5Head.m_len; - return *this; - } - -public: - uint8_t m_starter; - uint16_t m_version; - uint32_t m_reserved; - uint8_t m_imsId; - uint16_t m_cmd; - uint32_t m_seq; - uint16_t m_cc; - uint32_t m_len; - -public: - void PackData(string& strData); - PACKRETCODE UnpackData(const string& strData); - uint32_t Size() const { return 20; } - uint8_t PeekStarter() - { - uint8_t chStarter; - SetInCursor(0); - *this >> chStarter; - return chStarter; - } - uint16_t PeekVersion() - { - uint16_t wVersion; - SetInCursor(1); - *this >> wVersion; - return wVersion; - } - uint32_t PeekReserved() - { - uint32_t dwReserved; - SetInCursor(3); - *this >> dwReserved; - return dwReserved; - } - uint8_t PeekImsId() - { - uint8_t chImsId; - SetInCursor(7); - *this >> chImsId; - return chImsId; - } - uint16_t PeekCmd() - { - uint16_t wCmd; - SetInCursor(8); - *this >> wCmd; - return wCmd; - } - uint32_t PeekSeq() - { - uint32_t dwSeq; - SetInCursor(10); - *this >> dwSeq; - return dwSeq; - } - uint16_t PeekCc() - { - uint16_t wCc; - SetInCursor(14); - *this >> wCc; - return wCc; - } - uint32_t PeekLen() - { - uint32_t dwLen; - SetInCursor(16); - *this >> dwLen; - return dwLen; - } -}; - -#endif diff --git a/features/aliww/include/.svn/text-base/struct.h.svn-base b/features/aliww/include/.svn/text-base/struct.h.svn-base deleted file mode 100644 index e7eb63e..0000000 --- a/features/aliww/include/.svn/text-base/struct.h.svn-base +++ /dev/null @@ -1,71 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `struct.ice' - -#ifndef __struct_h__ -#define __struct_h__ - -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace model -{ - -typedef ::std::map< ::std::string, ::std::string> Map; - -class __U__Map { }; -void __write(::IceInternal::BasicStream*, const Map&, __U__Map); -void __read(::IceInternal::BasicStream*, Map&, __U__Map); - -} - -} - -} - -} - -} - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/tbWebMember.h.svn-base b/features/aliww/include/.svn/text-base/tbWebMember.h.svn-base deleted file mode 100644 index 24d3fca..0000000 --- a/features/aliww/include/.svn/text-base/tbWebMember.h.svn-base +++ /dev/null @@ -1,790 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `tbWebMember.ice' - -#ifndef __tbWebMember_h__ -#define __tbWebMember_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace tbWebMember -{ - -class UserProfile; -bool operator==(const UserProfile&, const UserProfile&); -bool operator!=(const UserProfile&, const UserProfile&); -bool operator<(const UserProfile&, const UserProfile&); -bool operator<=(const UserProfile&, const UserProfile&); -bool operator>(const UserProfile&, const UserProfile&); -bool operator>=(const UserProfile&, const UserProfile&); - -} - -} - -namespace tbWebMember -{ - -class UserProfile; -bool operator==(const UserProfile&, const UserProfile&); -bool operator!=(const UserProfile&, const UserProfile&); -bool operator<(const UserProfile&, const UserProfile&); -bool operator<=(const UserProfile&, const UserProfile&); -bool operator>(const UserProfile&, const UserProfile&); -bool operator>=(const UserProfile&, const UserProfile&); - -} - -namespace IceInternal -{ - -void incRef(::tbWebMember::UserProfile*); -void decRef(::tbWebMember::UserProfile*); - -void incRef(::IceProxy::tbWebMember::UserProfile*); -void decRef(::IceProxy::tbWebMember::UserProfile*); - -} - -namespace tbWebMember -{ - -typedef ::IceInternal::Handle< ::tbWebMember::UserProfile> UserProfilePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::tbWebMember::UserProfile> UserProfilePrx; - -void __write(::IceInternal::BasicStream*, const UserProfilePrx&); -void __read(::IceInternal::BasicStream*, UserProfilePrx&); -void __write(::IceInternal::BasicStream*, const UserProfilePtr&); -void __patch__UserProfilePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const UserProfilePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const UserProfilePtr&); -void __decRefUnsafe(const UserProfilePtr&); -void __clearHandleUnsafe(UserProfilePtr&); - -} - -namespace tbWebMember -{ - -struct stbuserStatus -{ - ::std::string uid; - ::std::string id; - ::Ice::Int exists; - ::Ice::Int status; - - bool operator==(const stbuserStatus&) const; - bool operator!=(const stbuserStatus&) const; - bool operator<(const stbuserStatus&) const; - bool operator<=(const stbuserStatus& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const stbuserStatus& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const stbuserStatus& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct stbuserPwd -{ - ::std::string uid; - ::std::string passwd; - ::Ice::Int status; - - bool operator==(const stbuserPwd&) const; - bool operator!=(const stbuserPwd&) const; - bool operator<(const stbuserPwd&) const; - bool operator<=(const stbuserPwd& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const stbuserPwd& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const stbuserPwd& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct stbuserInfo -{ - ::std::string uid; - ::Ice::Int ratesum; - ::Ice::Int userLevel; - ::Ice::Int promotedtype; - ::Ice::Int active; - ::std::string id; - - bool operator==(const stbuserInfo&) const; - bool operator!=(const stbuserInfo&) const; - bool operator<(const stbuserInfo&) const; - bool operator<=(const stbuserInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const stbuserInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const stbuserInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SSimpleUserProfile -{ - ::std::string uid; - ::std::string password; - ::std::string status; - - bool operator==(const SSimpleUserProfile&) const; - bool operator!=(const SSimpleUserProfile&) const; - bool operator<(const SSimpleUserProfile&) const; - bool operator<=(const SSimpleUserProfile& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SSimpleUserProfile& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SSimpleUserProfile& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SHalfUserProfile -{ - ::std::string uid; - ::std::string password; - ::std::string status; - ::std::string realName; - ::std::string company; - ::std::string jobTitle; - ::std::string memberLevel; - ::std::string penName; - ::Ice::Int categoryId; - ::std::string phoneArea; - ::std::string phoneStatus; - ::std::string phone; - - bool operator==(const SHalfUserProfile&) const; - bool operator!=(const SHalfUserProfile&) const; - bool operator<(const SHalfUserProfile&) const; - bool operator<=(const SHalfUserProfile& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SHalfUserProfile& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SHalfUserProfile& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct StbFullUserProfile -{ - ::std::string uid; - ::std::string address; - ::std::string zip; - ::std::string email; - ::std::string birthdate; - ::Ice::Int activated; - ::std::string id; - - bool operator==(const StbFullUserProfile&) const; - bool operator!=(const StbFullUserProfile&) const; - bool operator<(const StbFullUserProfile&) const; - bool operator<=(const StbFullUserProfile& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const StbFullUserProfile& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const StbFullUserProfile& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct sUdbData -{ - ::std::string id; - ::std::string nick; - ::std::string fullname; - ::std::string password; - ::std::string email; - ::std::string zip; - ::std::string address; - ::std::string phone; - ::std::string mobilephone; - ::std::string prov; - ::std::string city; - ::std::string usergender; - ::std::string birthdate; - - bool operator==(const sUdbData&) const; - bool operator!=(const sUdbData&) const; - bool operator<(const sUdbData&) const; - bool operator<=(const sUdbData& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const sUdbData& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const sUdbData& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SExUdbData -{ - ::std::string id; - ::std::string nick; - ::std::string fullname; - ::std::string password; - ::std::string email; - ::std::string zip; - ::std::string address; - ::std::string phone; - ::std::string mobilephone; - ::std::string prov; - ::std::string city; - ::std::string usergender; - ::std::string birthdate; - ::std::string district; - ::std::string website; - ::std::string interesting; - - bool operator==(const SExUdbData&) const; - bool operator!=(const SExUdbData&) const; - bool operator<(const SExUdbData&) const; - bool operator<=(const SExUdbData& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SExUdbData& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SExUdbData& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SBLoginInfo -{ - ::std::string uid; - ::std::string passwd; - ::Ice::Int actived; - ::std::string status; - ::std::string extraInfo; - - bool operator==(const SBLoginInfo&) const; - bool operator!=(const SBLoginInfo&) const; - bool operator<(const SBLoginInfo&) const; - bool operator<=(const SBLoginInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SBLoginInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SBLoginInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::std::string> UserIdSeq; - -class __U__UserIdSeq { }; - -typedef ::std::vector< ::tbWebMember::SSimpleUserProfile> SUserSeq; - -class __U__SUserSeq { }; -void __write(::IceInternal::BasicStream*, const ::tbWebMember::SSimpleUserProfile*, const ::tbWebMember::SSimpleUserProfile*, __U__SUserSeq); -void __read(::IceInternal::BasicStream*, SUserSeq&, __U__SUserSeq); - -typedef ::std::vector< ::tbWebMember::SHalfUserProfile> HUserSeq; - -class __U__HUserSeq { }; -void __write(::IceInternal::BasicStream*, const ::tbWebMember::SHalfUserProfile*, const ::tbWebMember::SHalfUserProfile*, __U__HUserSeq); -void __read(::IceInternal::BasicStream*, HUserSeq&, __U__HUserSeq); - -typedef ::std::vector< ::tbWebMember::StbFullUserProfile> tbFUserSeq; - -class __U__tbFUserSeq { }; -void __write(::IceInternal::BasicStream*, const ::tbWebMember::StbFullUserProfile*, const ::tbWebMember::StbFullUserProfile*, __U__tbFUserSeq); -void __read(::IceInternal::BasicStream*, tbFUserSeq&, __U__tbFUserSeq); - -} - -namespace IceProxy -{ - -namespace tbWebMember -{ - -class UserProfile : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int GetSimpleUserProfile(const ::std::string& uid, ::tbWebMember::SSimpleUserProfile& userProfiles) - { - return GetSimpleUserProfile(uid, userProfiles, 0); - } - ::Ice::Int GetSimpleUserProfile(const ::std::string& uid, ::tbWebMember::SSimpleUserProfile& userProfiles, const ::Ice::Context& __ctx) - { - return GetSimpleUserProfile(uid, userProfiles, &__ctx); - } - -private: - - ::Ice::Int GetSimpleUserProfile(const ::std::string&, ::tbWebMember::SSimpleUserProfile&, const ::Ice::Context*); - -public: - - ::Ice::Int GetFullUserProfile(const ::std::string& uid, ::tbWebMember::StbFullUserProfile& userProfiles) - { - return GetFullUserProfile(uid, userProfiles, 0); - } - ::Ice::Int GetFullUserProfile(const ::std::string& uid, ::tbWebMember::StbFullUserProfile& userProfiles, const ::Ice::Context& __ctx) - { - return GetFullUserProfile(uid, userProfiles, &__ctx); - } - -private: - - ::Ice::Int GetFullUserProfile(const ::std::string&, ::tbWebMember::StbFullUserProfile&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUidByPenname(const ::std::string& penName, ::std::string& userId) - { - return GetUidByPenname(penName, userId, 0); - } - ::Ice::Int GetUidByPenname(const ::std::string& penName, ::std::string& userId, const ::Ice::Context& __ctx) - { - return GetUidByPenname(penName, userId, &__ctx); - } - -private: - - ::Ice::Int GetUidByPenname(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserPwd(const ::std::string& uid, ::tbWebMember::stbuserPwd& pwd) - { - return GetUserPwd(uid, pwd, 0); - } - ::Ice::Int GetUserPwd(const ::std::string& uid, ::tbWebMember::stbuserPwd& pwd, const ::Ice::Context& __ctx) - { - return GetUserPwd(uid, pwd, &__ctx); - } - -private: - - ::Ice::Int GetUserPwd(const ::std::string&, ::tbWebMember::stbuserPwd&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckUser(const ::std::string& uid, ::tbWebMember::stbuserStatus& st) - { - return CheckUser(uid, st, 0); - } - ::Ice::Int CheckUser(const ::std::string& uid, ::tbWebMember::stbuserStatus& st, const ::Ice::Context& __ctx) - { - return CheckUser(uid, st, &__ctx); - } - -private: - - ::Ice::Int CheckUser(const ::std::string&, ::tbWebMember::stbuserStatus&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserInfo(const ::std::string& uid, ::tbWebMember::stbuserInfo& info) - { - return GetUserInfo(uid, info, 0); - } - ::Ice::Int GetUserInfo(const ::std::string& uid, ::tbWebMember::stbuserInfo& info, const ::Ice::Context& __ctx) - { - return GetUserInfo(uid, info, &__ctx); - } - -private: - - ::Ice::Int GetUserInfo(const ::std::string&, ::tbWebMember::stbuserInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int GetTName(const ::std::string& uid, ::std::string& tname) - { - return GetTName(uid, tname, 0); - } - ::Ice::Int GetTName(const ::std::string& uid, ::std::string& tname, const ::Ice::Context& __ctx) - { - return GetTName(uid, tname, &__ctx); - } - -private: - - ::Ice::Int GetTName(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUDBData(const ::std::string& uid, ::tbWebMember::sUdbData& udbInfo) - { - return GetUDBData(uid, udbInfo, 0); - } - ::Ice::Int GetUDBData(const ::std::string& uid, ::tbWebMember::sUdbData& udbInfo, const ::Ice::Context& __ctx) - { - return GetUDBData(uid, udbInfo, &__ctx); - } - -private: - - ::Ice::Int GetUDBData(const ::std::string&, ::tbWebMember::sUdbData&, const ::Ice::Context*); - -public: - - ::Ice::Int GetExUDBData(const ::std::string& uid, ::tbWebMember::SExUdbData& exudbInfo) - { - return GetExUDBData(uid, exudbInfo, 0); - } - ::Ice::Int GetExUDBData(const ::std::string& uid, ::tbWebMember::SExUdbData& exudbInfo, const ::Ice::Context& __ctx) - { - return GetExUDBData(uid, exudbInfo, &__ctx); - } - -private: - - ::Ice::Int GetExUDBData(const ::std::string&, ::tbWebMember::SExUdbData&, const ::Ice::Context*); - -public: - - ::Ice::Int GetRates(const ::std::string& uid, ::Ice::Int& buyrates, ::Ice::Int& sellrates) - { - return GetRates(uid, buyrates, sellrates, 0); - } - ::Ice::Int GetRates(const ::std::string& uid, ::Ice::Int& buyrates, ::Ice::Int& sellrates, const ::Ice::Context& __ctx) - { - return GetRates(uid, buyrates, sellrates, &__ctx); - } - -private: - - ::Ice::Int GetRates(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetBasicLoginInfo(const ::std::string& uid, ::tbWebMember::SBLoginInfo& info) - { - return GetBasicLoginInfo(uid, info, 0); - } - ::Ice::Int GetBasicLoginInfo(const ::std::string& uid, ::tbWebMember::SBLoginInfo& info, const ::Ice::Context& __ctx) - { - return GetBasicLoginInfo(uid, info, &__ctx); - } - -private: - - ::Ice::Int GetBasicLoginInfo(const ::std::string&, ::tbWebMember::SBLoginInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckUserWebToken(const ::std::string& uid, const ::std::string& token, ::std::string& reason) - { - return CheckUserWebToken(uid, token, reason, 0); - } - ::Ice::Int CheckUserWebToken(const ::std::string& uid, const ::std::string& token, ::std::string& reason, const ::Ice::Context& __ctx) - { - return CheckUserWebToken(uid, token, reason, &__ctx); - } - -private: - - ::Ice::Int CheckUserWebToken(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace tbWebMember -{ - -class UserProfile : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int GetSimpleUserProfile(const ::std::string&, ::tbWebMember::SSimpleUserProfile&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetFullUserProfile(const ::std::string&, ::tbWebMember::StbFullUserProfile&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUidByPenname(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserPwd(const ::std::string&, ::tbWebMember::stbuserPwd&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckUser(const ::std::string&, ::tbWebMember::stbuserStatus&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserInfo(const ::std::string&, ::tbWebMember::stbuserInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetTName(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUDBData(const ::std::string&, ::tbWebMember::sUdbData&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetExUDBData(const ::std::string&, ::tbWebMember::SExUdbData&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetRates(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetBasicLoginInfo(const ::std::string&, ::tbWebMember::SBLoginInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckUserWebToken(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace tbWebMember -{ - -class UserProfile : virtual public ::IceDelegate::tbWebMember::UserProfile, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int GetSimpleUserProfile(const ::std::string&, ::tbWebMember::SSimpleUserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int GetFullUserProfile(const ::std::string&, ::tbWebMember::StbFullUserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int GetUidByPenname(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserPwd(const ::std::string&, ::tbWebMember::stbuserPwd&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUser(const ::std::string&, ::tbWebMember::stbuserStatus&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfo(const ::std::string&, ::tbWebMember::stbuserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetTName(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUDBData(const ::std::string&, ::tbWebMember::sUdbData&, const ::Ice::Context*); - - virtual ::Ice::Int GetExUDBData(const ::std::string&, ::tbWebMember::SExUdbData&, const ::Ice::Context*); - - virtual ::Ice::Int GetRates(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetBasicLoginInfo(const ::std::string&, ::tbWebMember::SBLoginInfo&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserWebToken(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace tbWebMember -{ - -class UserProfile : virtual public ::IceDelegate::tbWebMember::UserProfile, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int GetSimpleUserProfile(const ::std::string&, ::tbWebMember::SSimpleUserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int GetFullUserProfile(const ::std::string&, ::tbWebMember::StbFullUserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int GetUidByPenname(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserPwd(const ::std::string&, ::tbWebMember::stbuserPwd&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUser(const ::std::string&, ::tbWebMember::stbuserStatus&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfo(const ::std::string&, ::tbWebMember::stbuserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetTName(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUDBData(const ::std::string&, ::tbWebMember::sUdbData&, const ::Ice::Context*); - - virtual ::Ice::Int GetExUDBData(const ::std::string&, ::tbWebMember::SExUdbData&, const ::Ice::Context*); - - virtual ::Ice::Int GetRates(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetBasicLoginInfo(const ::std::string&, ::tbWebMember::SBLoginInfo&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserWebToken(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace tbWebMember -{ - -class UserProfile : virtual public ::Ice::Object -{ -public: - - typedef UserProfilePrx ProxyType; - typedef UserProfilePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int GetSimpleUserProfile(const ::std::string&, ::tbWebMember::SSimpleUserProfile&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetSimpleUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetFullUserProfile(const ::std::string&, ::tbWebMember::StbFullUserProfile&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetFullUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetUidByPenname(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUidByPenname(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetUserPwd(const ::std::string&, ::tbWebMember::stbuserPwd&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserPwd(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int CheckUser(const ::std::string&, ::tbWebMember::stbuserStatus&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetUserInfo(const ::std::string&, ::tbWebMember::stbuserInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetTName(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetTName(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetUDBData(const ::std::string&, ::tbWebMember::sUdbData&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUDBData(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetExUDBData(const ::std::string&, ::tbWebMember::SExUdbData&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetExUDBData(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetRates(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetRates(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetBasicLoginInfo(const ::std::string&, ::tbWebMember::SBLoginInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetBasicLoginInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int CheckUserWebToken(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUserWebToken(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__UserProfilePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/tbbdb_pack.h.svn-base b/features/aliww/include/.svn/text-base/tbbdb_pack.h.svn-base deleted file mode 100644 index 202f430..0000000 --- a/features/aliww/include/.svn/text-base/tbbdb_pack.h.svn-base +++ /dev/null @@ -1,269 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tbbdb_pack.h -// Date: 2011-01-30 12:50:11 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __TBBDB_PACK_H__ -#define __TBBDB_PACK_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -struct SBdbtribe -{ -public: - SBdbtribe() : m_webTid(""), - m_groupId(0), - m_memberLimit(200) - { - } - - ~SBdbtribe() { } - SBdbtribe(const uint32_t& dwTribeid, const uint32_t& dwCatid, const uint32_t& dwMembertimes, const uint16_t& wCheckmode, const uint8_t& chAllowvisitor, const uint8_t& chForbidsearch, const uint32_t& dwGroupstamp, const uint32_t& dwBlackstamp, const uint32_t& dwBlacknum, const uint32_t& dwOnlinetime, const uint32_t& dwOnlineactdegree, const uint32_t& dwChatactdegree, const uint32_t& dwRewardactdegree, const uint32_t& dwTotalactdegree, const string& strName, const string& strOwner, const string& strDesc, const string& strBulletin, const string& strPassword, const string& strValidcode, const string& strKeyword, const string& strExtsign, const string& strWebTid= "", const uint32_t& dwGroupId= 0, const uint32_t& dwMemberLimit= 200) - { - m_tribeid = dwTribeid; - m_catid = dwCatid; - m_membertimes = dwMembertimes; - m_checkmode = wCheckmode; - m_allowvisitor = chAllowvisitor; - m_forbidsearch = chForbidsearch; - m_groupstamp = dwGroupstamp; - m_blackstamp = dwBlackstamp; - m_blacknum = dwBlacknum; - m_onlinetime = dwOnlinetime; - m_onlineactdegree = dwOnlineactdegree; - m_chatactdegree = dwChatactdegree; - m_rewardactdegree = dwRewardactdegree; - m_totalactdegree = dwTotalactdegree; - m_name = strName; - m_owner = strOwner; - m_desc = strDesc; - m_bulletin = strBulletin; - m_password = strPassword; - m_validcode = strValidcode; - m_keyword = strKeyword; - m_extsign = strExtsign; - m_webTid = strWebTid; - m_groupId = dwGroupId; - m_memberLimit = dwMemberLimit; - } - SBdbtribe& operator=( const SBdbtribe& sBdbtribe ) - { - m_tribeid = sBdbtribe.m_tribeid; - m_catid = sBdbtribe.m_catid; - m_membertimes = sBdbtribe.m_membertimes; - m_checkmode = sBdbtribe.m_checkmode; - m_allowvisitor = sBdbtribe.m_allowvisitor; - m_forbidsearch = sBdbtribe.m_forbidsearch; - m_groupstamp = sBdbtribe.m_groupstamp; - m_blackstamp = sBdbtribe.m_blackstamp; - m_blacknum = sBdbtribe.m_blacknum; - m_onlinetime = sBdbtribe.m_onlinetime; - m_onlineactdegree = sBdbtribe.m_onlineactdegree; - m_chatactdegree = sBdbtribe.m_chatactdegree; - m_rewardactdegree = sBdbtribe.m_rewardactdegree; - m_totalactdegree = sBdbtribe.m_totalactdegree; - m_name = sBdbtribe.m_name; - m_owner = sBdbtribe.m_owner; - m_desc = sBdbtribe.m_desc; - m_bulletin = sBdbtribe.m_bulletin; - m_password = sBdbtribe.m_password; - m_validcode = sBdbtribe.m_validcode; - m_keyword = sBdbtribe.m_keyword; - m_extsign = sBdbtribe.m_extsign; - m_webTid = sBdbtribe.m_webTid; - m_groupId = sBdbtribe.m_groupId; - m_memberLimit = sBdbtribe.m_memberLimit; - return *this; - } - - uint32_t m_tribeid; - uint32_t m_catid; - uint32_t m_membertimes; - uint16_t m_checkmode; - uint8_t m_allowvisitor; - uint8_t m_forbidsearch; - uint32_t m_groupstamp; - uint32_t m_blackstamp; - uint32_t m_blacknum; - uint32_t m_onlinetime; - uint32_t m_onlineactdegree; - uint32_t m_chatactdegree; - uint32_t m_rewardactdegree; - uint32_t m_totalactdegree; - string m_name; - string m_owner; - string m_desc; - string m_bulletin; - string m_password; - string m_validcode; - string m_keyword; - string m_extsign; - string m_webTid; - uint32_t m_groupId; - uint32_t m_memberLimit; - -public: - uint32_t Size() const; -}; - -inline uint32_t SBdbtribe::Size() const -{ - uint32_t nSize = 118; - nSize += m_name.length(); - nSize += m_owner.length(); - nSize += m_desc.length(); - nSize += m_bulletin.length(); - nSize += m_password.length(); - nSize += m_validcode.length(); - nSize += m_keyword.length(); - nSize += m_extsign.length(); - nSize += m_webTid.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SBdbtribe& sBdbtribe ); -CPackData& operator>> ( CPackData& cPackData, SBdbtribe& sBdbtribe ); - -struct SBdbtribemembernode -{ -public: - SBdbtribemembernode() : m_popupflag(0) - { - } - - ~SBdbtribemembernode() { } - SBdbtribemembernode(const uint8_t& chTribelevel, const uint8_t& chTrbstatus, const uint32_t& dwLastmsgid, const uint32_t& dwLogontime, const string& strUserid, const string& strUsername, const uint8_t& chMobilebindflag, const string& strMobileno, const string& strBindmobile, const uint32_t& dwLastchattime, const uint32_t& dwOnlinetime, const uint32_t& dwOnlineactive, const uint32_t& dwChatactive, const uint32_t& dwRewardactive, const uint32_t& dwTotalactive, const uint32_t& dwAddtimes, const string& strVersion, const uint64_t& ullGroupid, const uint8_t& chStarmember, const uint8_t& chOpenflag, const uint8_t& chPopupflag= 0) - { - m_tribelevel = chTribelevel; - m_trbstatus = chTrbstatus; - m_lastmsgid = dwLastmsgid; - m_logontime = dwLogontime; - m_userid = strUserid; - m_username = strUsername; - m_mobilebindflag = chMobilebindflag; - m_mobileno = strMobileno; - m_bindmobile = strBindmobile; - m_lastchattime = dwLastchattime; - m_onlinetime = dwOnlinetime; - m_onlineactive = dwOnlineactive; - m_chatactive = dwChatactive; - m_rewardactive = dwRewardactive; - m_totalactive = dwTotalactive; - m_addtimes = dwAddtimes; - m_version = strVersion; - m_groupid = ullGroupid; - m_starmember = chStarmember; - m_openflag = chOpenflag; - m_popupflag = chPopupflag; - } - SBdbtribemembernode& operator=( const SBdbtribemembernode& sBdbtribemembernode ) - { - m_tribelevel = sBdbtribemembernode.m_tribelevel; - m_trbstatus = sBdbtribemembernode.m_trbstatus; - m_lastmsgid = sBdbtribemembernode.m_lastmsgid; - m_logontime = sBdbtribemembernode.m_logontime; - m_userid = sBdbtribemembernode.m_userid; - m_username = sBdbtribemembernode.m_username; - m_mobilebindflag = sBdbtribemembernode.m_mobilebindflag; - m_mobileno = sBdbtribemembernode.m_mobileno; - m_bindmobile = sBdbtribemembernode.m_bindmobile; - m_lastchattime = sBdbtribemembernode.m_lastchattime; - m_onlinetime = sBdbtribemembernode.m_onlinetime; - m_onlineactive = sBdbtribemembernode.m_onlineactive; - m_chatactive = sBdbtribemembernode.m_chatactive; - m_rewardactive = sBdbtribemembernode.m_rewardactive; - m_totalactive = sBdbtribemembernode.m_totalactive; - m_addtimes = sBdbtribemembernode.m_addtimes; - m_version = sBdbtribemembernode.m_version; - m_groupid = sBdbtribemembernode.m_groupid; - m_starmember = sBdbtribemembernode.m_starmember; - m_openflag = sBdbtribemembernode.m_openflag; - m_popupflag = sBdbtribemembernode.m_popupflag; - return *this; - } - - uint8_t m_tribelevel; - uint8_t m_trbstatus; - uint32_t m_lastmsgid; - uint32_t m_logontime; - string m_userid; - string m_username; - uint8_t m_mobilebindflag; - string m_mobileno; - string m_bindmobile; - uint32_t m_lastchattime; - uint32_t m_onlinetime; - uint32_t m_onlineactive; - uint32_t m_chatactive; - uint32_t m_rewardactive; - uint32_t m_totalactive; - uint32_t m_addtimes; - string m_version; - uint64_t m_groupid; - uint8_t m_starmember; - uint8_t m_openflag; - uint8_t m_popupflag; - -public: - uint32_t Size() const; -}; - -inline uint32_t SBdbtribemembernode::Size() const -{ - uint32_t nSize = 92; - nSize += m_userid.length(); - nSize += m_username.length(); - nSize += m_mobileno.length(); - nSize += m_bindmobile.length(); - nSize += m_version.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SBdbtribemembernode& sBdbtribemembernode ); -CPackData& operator>> ( CPackData& cPackData, SBdbtribemembernode& sBdbtribemembernode ); - -struct SBdbtribemembernodevector -{ -public: - SBdbtribemembernodevector() - { - } - - ~SBdbtribemembernodevector() { } - SBdbtribemembernodevector(const VECTOR< SBdbtribemembernode >& vecNodes) - { - m_nodes = vecNodes; - } - SBdbtribemembernodevector& operator=( const SBdbtribemembernodevector& sBdbtribemembernodevector ) - { - m_nodes = sBdbtribemembernodevector.m_nodes; - return *this; - } - - VECTOR< SBdbtribemembernode > m_nodes; - -public: - uint32_t Size() const; -}; - -inline uint32_t SBdbtribemembernodevector::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_nodes.size(); i++) - { - nSize += m_nodes[i].Size(); - } - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SBdbtribemembernodevector& sBdbtribemembernodevector ); -CPackData& operator>> ( CPackData& cPackData, SBdbtribemembernodevector& sBdbtribemembernodevector ); - -#endif diff --git a/features/aliww/include/.svn/text-base/tbsc_cmd.h.svn-base b/features/aliww/include/.svn/text-base/tbsc_cmd.h.svn-base deleted file mode 100644 index b9fe2a1..0000000 --- a/features/aliww/include/.svn/text-base/tbsc_cmd.h.svn-base +++ /dev/null @@ -1,112 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tbsc_cmd.h -// Date: 2011-01-30 12:48:44 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __TBSC_CMD_H__ -#define __TBSC_CMD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -enum TBSC_REQUEST -{ - IM_REQ_GET_TRIBEGROUP = 0x6000001, - IM_REQ_ADD_TRIBEGROUP = 0x6000002, - IM_REQ_UPDATE_TRIBEGROUP = 0x6000003, - IM_REQ_DEL_TRIBEGROUP = 0x6000004, - IM_REQ_SHALLOW_LOGINTRIBE = 0x6000005, - IM_REQ_DEEP_LOGINTRIBE = 0x6000006, - IM_REQ_INVITE_TRIBE = 0x6000007, - IM_REQ_ONINVITE_JOINTRIBE = 0x6000008, - IM_REQ_ASK_JOINTRIBE = 0x6000009, - IM_REQ_EXAM_ASKJOINTRIBE = 0x600000a, - IM_REQ_CHGLEVEL_TRIBEMEMBER = 0x600000b, - IM_REQ_CHG_TRIBEGROUP = 0x600000c, - IM_REQ_ADD_STARMEMBER = 0x600000d, - IM_REQ_DEL_STARMEMBER = 0x600000e, - IM_REQ_DEL_TRIBEMEMBER = 0x600000f, - IM_REQ_GET_TRIBEBLACK = 0x6000010, - IM_REQ_ADD_TRIBEBLACK = 0x6000011, - IM_REQ_DEL_TRIBEBLACK = 0x6000012, - IM_REQ_QUIT_TRIBE = 0x6000013, - IM_REQ_CLOSE_TRIBE = 0x6000014, - IM_REQ_GET_TRIBEINFO = 0x6000015, - IM_REQ_MODIFY_TRIBE = 0x6000016, - IM_REQ_GET_TRIBEMEMBERINFO = 0x6000017, - IM_REQ_SEND_TRIBEMSG = 0x6000018, - IM_REQ_GET_TRIBE_CONFIG = 0x6000019, - IM_REQ_SET_TRIBE_CONFIG = 0x600001a, - IM_REQ_SET_OPEN_TRIBE = 0x600001b, - IM_REQ_VISIT_TRIBE = 0x600001c, - IM_REQ_CLEAR_VISITOR = 0x600001d, - IM_REQ_START_TRIBE = 0x600001e, - IM_REQ_RECOMMEND_TRIBE = 0x6000024, - IM_REQ_AUTH_RECOMMEND = 0x6000025, - IM_REQ_UPDATE_TRIBECARD = 0x600003b, - IM_REQ_WEB_LOGINTRIBE = 0x6000040, - IM_REQ_SET_TRIBE_MSG_POPUP = 0x6000041, - IM_REQ_TRANSFER_TRIBE = 0x6000042, - -}; - -enum TBSC_RESPONSE -{ - IM_RSP_GET_TRIBEGROUP = 0x6010001, - IM_RSP_ADD_TRIBEGROUP = 0x6010002, - IM_RSP_UPDATE_TRIBEGROUP = 0x6010003, - IM_RSP_DEL_TRIBEGROUP = 0x6010004, - IM_RSP_SHALLOW_LOGINTRIBE = 0x6010005, - IM_RSP_DEEP_LOGINTRIBE = 0x6010006, - IM_RSP_INVITE_TRIBE = 0x6010007, - IM_RSP_ONINVITE_JOINTRIBE = 0x6010008, - IM_RSP_ASK_JOINTRIBE = 0x6010009, - IM_RSP_EXAM_ASKJOINTRIBE = 0x601000a, - IM_RSP_CHGLEVEL_TRIBEMEMBER = 0x601000b, - IM_RSP_CHG_TRIBEGROUP = 0x601000c, - IM_RSP_ADD_STARMEMBER = 0x601000d, - IM_RSP_DEL_STARMEMBER = 0x601000e, - IM_RSP_DEL_TRIBEMEMBER = 0x601000f, - IM_RSP_GET_TRIBEBLACK = 0x6010010, - IM_RSP_ADD_TRIBEBLACK = 0x6010011, - IM_RSP_DEL_TRIBEBLACK = 0x6010012, - IM_RSP_QUIT_TRIBE = 0x6010013, - IM_RSP_CLOSE_TRIBE = 0x6010014, - IM_RSP_GET_TRIBEINFO = 0x6010015, - IM_RSP_MODIFY_TRIBE = 0x6010016, - IM_RSP_GET_TRIBEMEMBERINFO = 0x6010017, - IM_RSP_SEND_TRIBEMSG = 0x6010018, - IM_RSP_GET_TRIBE_CONFIG = 0x6010019, - IM_RSP_SET_TRIBE_CONFIG = 0x601001a, - IM_RSP_SET_OPEN_TRIBE = 0x601001b, - IM_RSP_VISIT_TRIBE = 0x601001c, - IM_RSP_CLEAR_VISITOR = 0x601001d, - IM_RSP_START_TRIBE = 0x601001e, - IM_RSP_RECOMMEND_TRIBE = 0x6010024, - IM_RSP_AUTH_RECOMMEND = 0x6010025, - IM_RSP_UPDATE_TRIBECARD = 0x6010035, - IM_RSP_WEB_LOGINTRIBE = 0x6010040, - IM_RSP_SET_TRIBE_MSG_POPUP = 0x6010041, - IM_RSP_TRANSFER_TRIBE = 0x6010042, - -}; - -enum TBSC_NOTIFY -{ - IM_NTF_INVITE_TRIBE = 0x6020007, - IM_NTF_ASK_JOINTRIBE = 0x6020009, - IM_NTF_TRIBEMSG = 0x6020015, - IM_NTF_TRIBE_SYSMSG = 0x6020017, - IM_NTF_RECOMMEND_TRIBE = 0x6020024, - IM_NTF_TRANSFER_TRIBE = 0x6020025, - IM_NTF_TRANSFER_TRIBE_SYS = 0x6020026, - -}; - -#endif diff --git a/features/aliww/include/.svn/text-base/tbsc_pack.h.svn-base b/features/aliww/include/.svn/text-base/tbsc_pack.h.svn-base deleted file mode 100644 index 7b9d7a6..0000000 --- a/features/aliww/include/.svn/text-base/tbsc_pack.h.svn-base +++ /dev/null @@ -1,5450 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tbsc_pack.h -// Date: 2011-01-30 12:48:44 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __TBSC_PACK_H__ -#define __TBSC_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "des.h" -#include -#include "sc_head.h" -#include "const_macro.h" -#include "tbsc_cmd.h" -#include "tbsstrc_pack.h" - -using namespace std; - -class CImReqGetTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GET_TRIBEGROUP - }; - CImReqGetTribegroup() - { - } - - ~CImReqGetTribegroup() { } - CImReqGetTribegroup(const VECTOR< string >& vecTribeIdList) - { - m_tribeIdList = vecTribeIdList; - } - CImReqGetTribegroup& operator=( const CImReqGetTribegroup& cImReqGetTribegroup ) - { - m_tribeIdList = cImReqGetTribegroup.m_tribeIdList; - return *this; - } - - const VECTOR< string >& GetTribeIdList () const { return m_tribeIdList; } - bool SetTribeIdList ( const VECTOR< string >& vecTribeIdList ) - { - m_tribeIdList = vecTribeIdList; - return true; - } -private: - VECTOR< string > m_tribeIdList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetTribegroup::Size() const -{ - uint32_t nSize = 7; - nSize += m_tribeIdList.size() * 4; - for(uint32_t i = 0; i < m_tribeIdList.size(); i++) - { - nSize += m_tribeIdList[i].length(); - } - return nSize; -} - -class CImRspGetTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GET_TRIBEGROUP - }; - CImRspGetTribegroup() - { - } - - ~CImRspGetTribegroup() { } - CImRspGetTribegroup(const uint8_t& chRetcode, const VECTOR< SMemberGroup >& vecMemberGroupList) - { - m_retcode = chRetcode; - m_memberGroupList = vecMemberGroupList; - } - CImRspGetTribegroup& operator=( const CImRspGetTribegroup& cImRspGetTribegroup ) - { - m_retcode = cImRspGetTribegroup.m_retcode; - m_memberGroupList = cImRspGetTribegroup.m_memberGroupList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const VECTOR< SMemberGroup >& GetMemberGroupList () const { return m_memberGroupList; } - bool SetMemberGroupList ( const VECTOR< SMemberGroup >& vecMemberGroupList ) - { - m_memberGroupList = vecMemberGroupList; - return true; - } -private: - uint8_t m_retcode; - VECTOR< SMemberGroup > m_memberGroupList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetTribegroup::Size() const -{ - uint32_t nSize = 9; - for(uint32_t i = 0; i < m_memberGroupList.size(); i++) - { - nSize += m_memberGroupList[i].Size(); - } - return nSize; -} - -class CImReqAddTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ADD_TRIBEGROUP - }; - CImReqAddTribegroup() - { - } - - ~CImReqAddTribegroup() { } - CImReqAddTribegroup(const string& strTribeId, const string& strGroupName, const int64_t& llParentId) - { - m_tribeId = strTribeId; - m_groupName = strGroupName; - m_parentId = llParentId; - } - CImReqAddTribegroup& operator=( const CImReqAddTribegroup& cImReqAddTribegroup ) - { - m_tribeId = cImReqAddTribegroup.m_tribeId; - m_groupName = cImReqAddTribegroup.m_groupName; - m_parentId = cImReqAddTribegroup.m_parentId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetGroupName () const { return m_groupName; } - bool SetGroupName ( const string& strGroupName ) - { - m_groupName = strGroupName; - return true; - } - const int64_t& GetParentId () const { return m_parentId; } - bool SetParentId ( const int64_t& llParentId ) - { - m_parentId = llParentId; - return true; - } -private: - string m_tribeId; - string m_groupName; - int64_t m_parentId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAddTribegroup::Size() const -{ - uint32_t nSize = 20; - nSize += m_tribeId.length(); - nSize += m_groupName.length(); - return nSize; -} - -class CImRspAddTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_ADD_TRIBEGROUP - }; - CImRspAddTribegroup() - { - } - - ~CImRspAddTribegroup() { } - CImRspAddTribegroup(const uint8_t& chRetcode, const string& strTribeId, const SGroupInfo& sMemberGroup, const uint32_t& dwGroupStamp) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberGroup = sMemberGroup; - m_groupStamp = dwGroupStamp; - } - CImRspAddTribegroup& operator=( const CImRspAddTribegroup& cImRspAddTribegroup ) - { - m_retcode = cImRspAddTribegroup.m_retcode; - m_tribeId = cImRspAddTribegroup.m_tribeId; - m_memberGroup = cImRspAddTribegroup.m_memberGroup; - m_groupStamp = cImRspAddTribegroup.m_groupStamp; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const SGroupInfo& GetMemberGroup () const { return m_memberGroup; } - bool SetMemberGroup ( const SGroupInfo& sMemberGroup ) - { - m_memberGroup = sMemberGroup; - return true; - } - const uint32_t& GetGroupStamp () const { return m_groupStamp; } - bool SetGroupStamp ( const uint32_t& dwGroupStamp ) - { - m_groupStamp = dwGroupStamp; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - SGroupInfo m_memberGroup; - uint32_t m_groupStamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspAddTribegroup::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - nSize += m_memberGroup.Size(); - return nSize; -} - -class CImReqUpdateTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_UPDATE_TRIBEGROUP - }; - CImReqUpdateTribegroup() - { - } - - ~CImReqUpdateTribegroup() { } - CImReqUpdateTribegroup(const string& strTribeId, const int64_t& llGroupId, const string& strGroupName) - { - m_tribeId = strTribeId; - m_groupId = llGroupId; - m_groupName = strGroupName; - } - CImReqUpdateTribegroup& operator=( const CImReqUpdateTribegroup& cImReqUpdateTribegroup ) - { - m_tribeId = cImReqUpdateTribegroup.m_tribeId; - m_groupId = cImReqUpdateTribegroup.m_groupId; - m_groupName = cImReqUpdateTribegroup.m_groupName; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } - const string& GetGroupName () const { return m_groupName; } - bool SetGroupName ( const string& strGroupName ) - { - m_groupName = strGroupName; - return true; - } -private: - string m_tribeId; - int64_t m_groupId; - string m_groupName; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqUpdateTribegroup::Size() const -{ - uint32_t nSize = 20; - nSize += m_tribeId.length(); - nSize += m_groupName.length(); - return nSize; -} - -class CImRspUpdateTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_UPDATE_TRIBEGROUP - }; - CImRspUpdateTribegroup() - { - } - - ~CImRspUpdateTribegroup() { } - CImRspUpdateTribegroup(const uint8_t& chRetcode, const string& strTribeId, const SGroupInfo& sMemberGroup, const uint32_t& dwGroupStamp) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberGroup = sMemberGroup; - m_groupStamp = dwGroupStamp; - } - CImRspUpdateTribegroup& operator=( const CImRspUpdateTribegroup& cImRspUpdateTribegroup ) - { - m_retcode = cImRspUpdateTribegroup.m_retcode; - m_tribeId = cImRspUpdateTribegroup.m_tribeId; - m_memberGroup = cImRspUpdateTribegroup.m_memberGroup; - m_groupStamp = cImRspUpdateTribegroup.m_groupStamp; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const SGroupInfo& GetMemberGroup () const { return m_memberGroup; } - bool SetMemberGroup ( const SGroupInfo& sMemberGroup ) - { - m_memberGroup = sMemberGroup; - return true; - } - const uint32_t& GetGroupStamp () const { return m_groupStamp; } - bool SetGroupStamp ( const uint32_t& dwGroupStamp ) - { - m_groupStamp = dwGroupStamp; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - SGroupInfo m_memberGroup; - uint32_t m_groupStamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspUpdateTribegroup::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - nSize += m_memberGroup.Size(); - return nSize; -} - -class CImReqDelTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_DEL_TRIBEGROUP - }; - CImReqDelTribegroup() - { - } - - ~CImReqDelTribegroup() { } - CImReqDelTribegroup(const string& strTribeId, const int64_t& llGroupId) - { - m_tribeId = strTribeId; - m_groupId = llGroupId; - } - CImReqDelTribegroup& operator=( const CImReqDelTribegroup& cImReqDelTribegroup ) - { - m_tribeId = cImReqDelTribegroup.m_tribeId; - m_groupId = cImReqDelTribegroup.m_groupId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - string m_tribeId; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqDelTribegroup::Size() const -{ - uint32_t nSize = 15; - nSize += m_tribeId.length(); - return nSize; -} - -class CImRspDelTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_DEL_TRIBEGROUP - }; - CImRspDelTribegroup() - { - } - - ~CImRspDelTribegroup() { } - CImRspDelTribegroup(const uint8_t& chRetcode, const string& strTribeId, const int64_t& llGroupId, const uint32_t& dwGroupStamp) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_groupId = llGroupId; - m_groupStamp = dwGroupStamp; - } - CImRspDelTribegroup& operator=( const CImRspDelTribegroup& cImRspDelTribegroup ) - { - m_retcode = cImRspDelTribegroup.m_retcode; - m_tribeId = cImRspDelTribegroup.m_tribeId; - m_groupId = cImRspDelTribegroup.m_groupId; - m_groupStamp = cImRspDelTribegroup.m_groupStamp; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } - const uint32_t& GetGroupStamp () const { return m_groupStamp; } - bool SetGroupStamp ( const uint32_t& dwGroupStamp ) - { - m_groupStamp = dwGroupStamp; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - int64_t m_groupId; - uint32_t m_groupStamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspDelTribegroup::Size() const -{ - uint32_t nSize = 22; - nSize += m_tribeId.length(); - return nSize; -} - -class CImReqShallowLogintribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SHALLOW_LOGINTRIBE - }; - ~CImReqShallowLogintribe() { } -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqShallowLogintribe::Size() const -{ - return 1; -} -class CImRspShallowLogintribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SHALLOW_LOGINTRIBE - }; - CImRspShallowLogintribe() - { - } - - ~CImRspShallowLogintribe() { } - CImRspShallowLogintribe(const uint8_t& chRetcode, const VECTOR< STribeId >& vecTribeIdList) - { - m_retcode = chRetcode; - m_tribeIdList = vecTribeIdList; - } - CImRspShallowLogintribe& operator=( const CImRspShallowLogintribe& cImRspShallowLogintribe ) - { - m_retcode = cImRspShallowLogintribe.m_retcode; - m_tribeIdList = cImRspShallowLogintribe.m_tribeIdList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const VECTOR< STribeId >& GetTribeIdList () const { return m_tribeIdList; } - bool SetTribeIdList ( const VECTOR< STribeId >& vecTribeIdList ) - { - m_tribeIdList = vecTribeIdList; - return true; - } -private: - uint8_t m_retcode; - VECTOR< STribeId > m_tribeIdList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspShallowLogintribe::Size() const -{ - uint32_t nSize = 9; - for(uint32_t i = 0; i < m_tribeIdList.size(); i++) - { - nSize += m_tribeIdList[i].Size(); - } - return nSize; -} - -class CImReqDeepLogintribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_DEEP_LOGINTRIBE - }; - CImReqDeepLogintribe() - { - } - - ~CImReqDeepLogintribe() { } - CImReqDeepLogintribe(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CImReqDeepLogintribe& operator=( const CImReqDeepLogintribe& cImReqDeepLogintribe ) - { - m_tribeId = cImReqDeepLogintribe.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqDeepLogintribe::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CImRspDeepLogintribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_DEEP_LOGINTRIBE - }; - CImRspDeepLogintribe() - { - } - - ~CImRspDeepLogintribe() { } - CImRspDeepLogintribe(const uint8_t& chRetcode, const string& strTribeId, const STribeInfo& sTribeInfo, const VECTOR< STmStatus >& vecTmStatusList, const uint32_t& dwMemberStamp, const STribeExtInfo& sExtInfo) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeInfo = sTribeInfo; - m_tmStatusList = vecTmStatusList; - m_memberStamp = dwMemberStamp; - m_extInfo = sExtInfo; - } - CImRspDeepLogintribe& operator=( const CImRspDeepLogintribe& cImRspDeepLogintribe ) - { - m_retcode = cImRspDeepLogintribe.m_retcode; - m_tribeId = cImRspDeepLogintribe.m_tribeId; - m_tribeInfo = cImRspDeepLogintribe.m_tribeInfo; - m_tmStatusList = cImRspDeepLogintribe.m_tmStatusList; - m_memberStamp = cImRspDeepLogintribe.m_memberStamp; - m_extInfo = cImRspDeepLogintribe.m_extInfo; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const STribeInfo& GetTribeInfo () const { return m_tribeInfo; } - bool SetTribeInfo ( const STribeInfo& sTribeInfo ) - { - m_tribeInfo = sTribeInfo; - return true; - } - const VECTOR< STmStatus >& GetTmStatusList () const { return m_tmStatusList; } - bool SetTmStatusList ( const VECTOR< STmStatus >& vecTmStatusList ) - { - m_tmStatusList = vecTmStatusList; - return true; - } - const uint32_t& GetMemberStamp () const { return m_memberStamp; } - bool SetMemberStamp ( const uint32_t& dwMemberStamp ) - { - m_memberStamp = dwMemberStamp; - return true; - } - const STribeExtInfo& GetExtInfo () const { return m_extInfo; } - bool SetExtInfo ( const STribeExtInfo& sExtInfo ) - { - m_extInfo = sExtInfo; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - STribeInfo m_tribeInfo; - VECTOR< STmStatus > m_tmStatusList; - uint32_t m_memberStamp; - STribeExtInfo m_extInfo; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspDeepLogintribe::Size() const -{ - uint32_t nSize = 21; - nSize += m_tribeId.length(); - nSize += m_tribeInfo.Size(); - for(uint32_t i = 0; i < m_tmStatusList.size(); i++) - { - nSize += m_tmStatusList[i].Size(); - } - nSize += m_extInfo.Size(); - return nSize; -} - -class CImReqInviteTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_INVITE_TRIBE - }; - CImReqInviteTribe() - { - } - - ~CImReqInviteTribe() { } - CImReqInviteTribe(const string& strTribeId, const string& strUserId, const string& strMessage, const int64_t& llGroupId) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_message = strMessage; - m_groupId = llGroupId; - } - CImReqInviteTribe& operator=( const CImReqInviteTribe& cImReqInviteTribe ) - { - m_tribeId = cImReqInviteTribe.m_tribeId; - m_userId = cImReqInviteTribe.m_userId; - m_message = cImReqInviteTribe.m_message; - m_groupId = cImReqInviteTribe.m_groupId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - string m_tribeId; - string m_userId; - string m_message; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqInviteTribe::Size() const -{ - uint32_t nSize = 25; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_message.length(); - return nSize; -} - -class CImRspInviteTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_INVITE_TRIBE - }; - CImRspInviteTribe() - { - } - - ~CImRspInviteTribe() { } - CImRspInviteTribe(const uint8_t& chRetcode, const string& strTribeId, const string& strUserId, const int64_t& llGroupId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_userId = strUserId; - m_groupId = llGroupId; - } - CImRspInviteTribe& operator=( const CImRspInviteTribe& cImRspInviteTribe ) - { - m_retcode = cImRspInviteTribe.m_retcode; - m_tribeId = cImRspInviteTribe.m_tribeId; - m_userId = cImRspInviteTribe.m_userId; - m_groupId = cImRspInviteTribe.m_groupId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_userId; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspInviteTribe::Size() const -{ - uint32_t nSize = 22; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - return nSize; -} - -class CImNtfInviteTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_INVITE_TRIBE - }; - CImNtfInviteTribe() : m_flag(0) - { - } - - ~CImNtfInviteTribe() { } - CImNtfInviteTribe(const string& strTribeId, const string& strManagerId, const string& strValidateCode, const string& strName, const string& strMessage, const int64_t& llGroupId, const uint8_t& chFlag= 0) - { - m_tribeId = strTribeId; - m_managerId = strManagerId; - m_validateCode = strValidateCode; - m_name = strName; - m_message = strMessage; - m_groupId = llGroupId; - m_flag = chFlag; - } - CImNtfInviteTribe& operator=( const CImNtfInviteTribe& cImNtfInviteTribe ) - { - m_tribeId = cImNtfInviteTribe.m_tribeId; - m_managerId = cImNtfInviteTribe.m_managerId; - m_validateCode = cImNtfInviteTribe.m_validateCode; - m_name = cImNtfInviteTribe.m_name; - m_message = cImNtfInviteTribe.m_message; - m_groupId = cImNtfInviteTribe.m_groupId; - m_flag = cImNtfInviteTribe.m_flag; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetManagerId () const { return m_managerId; } - bool SetManagerId ( const string& strManagerId ) - { - if(strManagerId.size() > 64) - return false; - m_managerId = strManagerId; - return true; - } - const string& GetValidateCode () const { return m_validateCode; } - bool SetValidateCode ( const string& strValidateCode ) - { - if(strValidateCode.size() > 32) - return false; - m_validateCode = strValidateCode; - return true; - } - const string& GetName () const { return m_name; } - bool SetName ( const string& strName ) - { - if(strName.size() > 64) - return false; - m_name = strName; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } - const uint8_t& GetFlag () const { return m_flag; } - bool SetFlag ( const uint8_t& chFlag ) - { - m_flag = chFlag; - return true; - } -private: - string m_tribeId; - string m_managerId; - string m_validateCode; - string m_name; - string m_message; - int64_t m_groupId; - uint8_t m_flag; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfInviteTribe::Size() const -{ - uint32_t nSize = 37; - nSize += m_tribeId.length(); - nSize += m_managerId.length(); - nSize += m_validateCode.length(); - nSize += m_name.length(); - nSize += m_message.length(); - return nSize; -} - -class CImReqOninviteJointribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ONINVITE_JOINTRIBE - }; - CImReqOninviteJointribe() : m_type(0), - m_recommendId("") - { - } - - ~CImReqOninviteJointribe() { } - CImReqOninviteJointribe(const string& strTribeId, const string& strManagerId, const string& strValidateCode, const int64_t& llGroupId, const uint8_t& chType= 0, const string& strRecommendId= "") - { - m_tribeId = strTribeId; - m_managerId = strManagerId; - m_validateCode = strValidateCode; - m_groupId = llGroupId; - m_type = chType; - m_recommendId = strRecommendId; - } - CImReqOninviteJointribe& operator=( const CImReqOninviteJointribe& cImReqOninviteJointribe ) - { - m_tribeId = cImReqOninviteJointribe.m_tribeId; - m_managerId = cImReqOninviteJointribe.m_managerId; - m_validateCode = cImReqOninviteJointribe.m_validateCode; - m_groupId = cImReqOninviteJointribe.m_groupId; - m_type = cImReqOninviteJointribe.m_type; - m_recommendId = cImReqOninviteJointribe.m_recommendId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetManagerId () const { return m_managerId; } - bool SetManagerId ( const string& strManagerId ) - { - if(strManagerId.size() > 64) - return false; - m_managerId = strManagerId; - return true; - } - const string& GetValidateCode () const { return m_validateCode; } - bool SetValidateCode ( const string& strValidateCode ) - { - if(strValidateCode.size() > 32) - return false; - m_validateCode = strValidateCode; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetRecommendId () const { return m_recommendId; } - bool SetRecommendId ( const string& strRecommendId ) - { - if(strRecommendId.size() > 64) - return false; - m_recommendId = strRecommendId; - return true; - } -private: - string m_tribeId; - string m_managerId; - string m_validateCode; - int64_t m_groupId; - uint8_t m_type; - string m_recommendId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqOninviteJointribe::Size() const -{ - uint32_t nSize = 32; - nSize += m_tribeId.length(); - nSize += m_managerId.length(); - nSize += m_validateCode.length(); - nSize += m_recommendId.length(); - return nSize; -} - -class CImRspOninviteJointribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_ONINVITE_JOINTRIBE - }; - CImRspOninviteJointribe() - { - } - - ~CImRspOninviteJointribe() { } - CImRspOninviteJointribe(const uint8_t& chRetcode, const string& strTribeId, const int64_t& llGroupId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_groupId = llGroupId; - } - CImRspOninviteJointribe& operator=( const CImRspOninviteJointribe& cImRspOninviteJointribe ) - { - m_retcode = cImRspOninviteJointribe.m_retcode; - m_tribeId = cImRspOninviteJointribe.m_tribeId; - m_groupId = cImRspOninviteJointribe.m_groupId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspOninviteJointribe::Size() const -{ - uint32_t nSize = 17; - nSize += m_tribeId.length(); - return nSize; -} - -class CImReqAskJointribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ASK_JOINTRIBE - }; - CImReqAskJointribe() - { - } - - ~CImReqAskJointribe() { } - CImReqAskJointribe(const string& strTribeId, const uint8_t& chType, const string& strInfo) - { - m_tribeId = strTribeId; - m_type = chType; - m_info = strInfo; - } - CImReqAskJointribe& operator=( const CImReqAskJointribe& cImReqAskJointribe ) - { - m_tribeId = cImReqAskJointribe.m_tribeId; - m_type = cImReqAskJointribe.m_type; - m_info = cImReqAskJointribe.m_info; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetInfo () const { return m_info; } - bool SetInfo ( const string& strInfo ) - { - m_info = strInfo; - return true; - } -private: - string m_tribeId; - uint8_t m_type; - string m_info; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAskJointribe::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_info.length(); - return nSize; -} - -class CImRspAskJointribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_ASK_JOINTRIBE - }; - CImRspAskJointribe() - { - } - - ~CImRspAskJointribe() { } - CImRspAskJointribe(const uint8_t& chRetcode, const string& strTribeId, const string& strTribeName, const string& strExtSign, const int64_t& llGroupId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeName = strTribeName; - m_extSign = strExtSign; - m_groupId = llGroupId; - } - CImRspAskJointribe& operator=( const CImRspAskJointribe& cImRspAskJointribe ) - { - m_retcode = cImRspAskJointribe.m_retcode; - m_tribeId = cImRspAskJointribe.m_tribeId; - m_tribeName = cImRspAskJointribe.m_tribeName; - m_extSign = cImRspAskJointribe.m_extSign; - m_groupId = cImRspAskJointribe.m_groupId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetTribeName () const { return m_tribeName; } - bool SetTribeName ( const string& strTribeName ) - { - m_tribeName = strTribeName; - return true; - } - const string& GetExtSign () const { return m_extSign; } - bool SetExtSign ( const string& strExtSign ) - { - if(strExtSign.size() > 64) - return false; - m_extSign = strExtSign; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_tribeName; - string m_extSign; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspAskJointribe::Size() const -{ - uint32_t nSize = 27; - nSize += m_tribeId.length(); - nSize += m_tribeName.length(); - nSize += m_extSign.length(); - return nSize; -} - -class CImNtfAskJointribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_ASK_JOINTRIBE - }; - CImNtfAskJointribe() - { - } - - ~CImNtfAskJointribe() { } - CImNtfAskJointribe(const string& strTribeId, const string& strUserId, const uint8_t& chType, const string& strInfo) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_type = chType; - m_info = strInfo; - } - CImNtfAskJointribe& operator=( const CImNtfAskJointribe& cImNtfAskJointribe ) - { - m_tribeId = cImNtfAskJointribe.m_tribeId; - m_userId = cImNtfAskJointribe.m_userId; - m_type = cImNtfAskJointribe.m_type; - m_info = cImNtfAskJointribe.m_info; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetInfo () const { return m_info; } - bool SetInfo ( const string& strInfo ) - { - m_info = strInfo; - return true; - } -private: - string m_tribeId; - string m_userId; - uint8_t m_type; - string m_info; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfAskJointribe::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_info.length(); - return nSize; -} - -class CImReqExamAskjointribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_EXAM_ASKJOINTRIBE - }; - CImReqExamAskjointribe() - { - } - - ~CImReqExamAskjointribe() { } - CImReqExamAskjointribe(const string& strTribeId, const string& strUserId, const uint8_t& chType, const string& strInfo, const int64_t& llGroupId) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_type = chType; - m_info = strInfo; - m_groupId = llGroupId; - } - CImReqExamAskjointribe& operator=( const CImReqExamAskjointribe& cImReqExamAskjointribe ) - { - m_tribeId = cImReqExamAskjointribe.m_tribeId; - m_userId = cImReqExamAskjointribe.m_userId; - m_type = cImReqExamAskjointribe.m_type; - m_info = cImReqExamAskjointribe.m_info; - m_groupId = cImReqExamAskjointribe.m_groupId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetInfo () const { return m_info; } - bool SetInfo ( const string& strInfo ) - { - m_info = strInfo; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - string m_tribeId; - string m_userId; - uint8_t m_type; - string m_info; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqExamAskjointribe::Size() const -{ - uint32_t nSize = 27; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_info.length(); - return nSize; -} - -class CImRspExamAskjointribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_EXAM_ASKJOINTRIBE - }; - CImRspExamAskjointribe() - { - } - - ~CImRspExamAskjointribe() { } - CImRspExamAskjointribe(const uint8_t& chRetcode, const string& strTribeId, const string& strUserId, const uint8_t& chType, const int64_t& llGroupId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_userId = strUserId; - m_type = chType; - m_groupId = llGroupId; - } - CImRspExamAskjointribe& operator=( const CImRspExamAskjointribe& cImRspExamAskjointribe ) - { - m_retcode = cImRspExamAskjointribe.m_retcode; - m_tribeId = cImRspExamAskjointribe.m_tribeId; - m_userId = cImRspExamAskjointribe.m_userId; - m_type = cImRspExamAskjointribe.m_type; - m_groupId = cImRspExamAskjointribe.m_groupId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_userId; - uint8_t m_type; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspExamAskjointribe::Size() const -{ - uint32_t nSize = 24; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - return nSize; -} - -class CImReqChglevelTribemember : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHGLEVEL_TRIBEMEMBER - }; - CImReqChglevelTribemember() - { - } - - ~CImReqChglevelTribemember() { } - CImReqChglevelTribemember(const string& strTribeId, const string& strMemberId, const uint8_t& chLevel) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_level = chLevel; - } - CImReqChglevelTribemember& operator=( const CImReqChglevelTribemember& cImReqChglevelTribemember ) - { - m_tribeId = cImReqChglevelTribemember.m_tribeId; - m_memberId = cImReqChglevelTribemember.m_memberId; - m_level = cImReqChglevelTribemember.m_level; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const uint8_t& GetLevel () const { return m_level; } - bool SetLevel ( const uint8_t& chLevel ) - { - m_level = chLevel; - return true; - } -private: - string m_tribeId; - string m_memberId; - uint8_t m_level; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChglevelTribemember::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CImRspChglevelTribemember : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHGLEVEL_TRIBEMEMBER - }; - CImRspChglevelTribemember() - { - } - - ~CImRspChglevelTribemember() { } - CImRspChglevelTribemember(const uint8_t& chRetcode, const string& strTribeId, const string& strMemberId, const uint8_t& chLevel) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_level = chLevel; - } - CImRspChglevelTribemember& operator=( const CImRspChglevelTribemember& cImRspChglevelTribemember ) - { - m_retcode = cImRspChglevelTribemember.m_retcode; - m_tribeId = cImRspChglevelTribemember.m_tribeId; - m_memberId = cImRspChglevelTribemember.m_memberId; - m_level = cImRspChglevelTribemember.m_level; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const uint8_t& GetLevel () const { return m_level; } - bool SetLevel ( const uint8_t& chLevel ) - { - m_level = chLevel; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_memberId; - uint8_t m_level; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChglevelTribemember::Size() const -{ - uint32_t nSize = 15; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CImReqChgTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHG_TRIBEGROUP - }; - CImReqChgTribegroup() - { - } - - ~CImReqChgTribegroup() { } - CImReqChgTribegroup(const string& strTribeId, const string& strMemberId, const int64_t& llGroupId) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_groupId = llGroupId; - } - CImReqChgTribegroup& operator=( const CImReqChgTribegroup& cImReqChgTribegroup ) - { - m_tribeId = cImReqChgTribegroup.m_tribeId; - m_memberId = cImReqChgTribegroup.m_memberId; - m_groupId = cImReqChgTribegroup.m_groupId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - string m_tribeId; - string m_memberId; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChgTribegroup::Size() const -{ - uint32_t nSize = 20; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CImRspChgTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHG_TRIBEGROUP - }; - CImRspChgTribegroup() - { - } - - ~CImRspChgTribegroup() { } - CImRspChgTribegroup(const uint8_t& chRetcode, const string& strTribeId, const string& strMemberId, const int64_t& llGroupId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_groupId = llGroupId; - } - CImRspChgTribegroup& operator=( const CImRspChgTribegroup& cImRspChgTribegroup ) - { - m_retcode = cImRspChgTribegroup.m_retcode; - m_tribeId = cImRspChgTribegroup.m_tribeId; - m_memberId = cImRspChgTribegroup.m_memberId; - m_groupId = cImRspChgTribegroup.m_groupId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_memberId; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChgTribegroup::Size() const -{ - uint32_t nSize = 22; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CImReqAddStarmember : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ADD_STARMEMBER - }; - CImReqAddStarmember() - { - } - - ~CImReqAddStarmember() { } - CImReqAddStarmember(const string& strTribeId, const string& strMemberId) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - } - CImReqAddStarmember& operator=( const CImReqAddStarmember& cImReqAddStarmember ) - { - m_tribeId = cImReqAddStarmember.m_tribeId; - m_memberId = cImReqAddStarmember.m_memberId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } -private: - string m_tribeId; - string m_memberId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAddStarmember::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CImRspAddStarmember : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_ADD_STARMEMBER - }; - CImRspAddStarmember() - { - } - - ~CImRspAddStarmember() { } - CImRspAddStarmember(const uint8_t& chRetcode, const string& strTribeId, const string& strMemberId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberId = strMemberId; - } - CImRspAddStarmember& operator=( const CImRspAddStarmember& cImRspAddStarmember ) - { - m_retcode = cImRspAddStarmember.m_retcode; - m_tribeId = cImRspAddStarmember.m_tribeId; - m_memberId = cImRspAddStarmember.m_memberId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_memberId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspAddStarmember::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CImReqDelStarmember : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_DEL_STARMEMBER - }; - CImReqDelStarmember() - { - } - - ~CImReqDelStarmember() { } - CImReqDelStarmember(const string& strTribeId, const string& strMemberId) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - } - CImReqDelStarmember& operator=( const CImReqDelStarmember& cImReqDelStarmember ) - { - m_tribeId = cImReqDelStarmember.m_tribeId; - m_memberId = cImReqDelStarmember.m_memberId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } -private: - string m_tribeId; - string m_memberId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqDelStarmember::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CImRspDelStarmember : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_DEL_STARMEMBER - }; - CImRspDelStarmember() - { - } - - ~CImRspDelStarmember() { } - CImRspDelStarmember(const uint8_t& chRetcode, const string& strTribeId, const string& strMemberId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberId = strMemberId; - } - CImRspDelStarmember& operator=( const CImRspDelStarmember& cImRspDelStarmember ) - { - m_retcode = cImRspDelStarmember.m_retcode; - m_tribeId = cImRspDelStarmember.m_tribeId; - m_memberId = cImRspDelStarmember.m_memberId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_memberId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspDelStarmember::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CImReqDelTribemember : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_DEL_TRIBEMEMBER - }; - CImReqDelTribemember() - { - } - - ~CImReqDelTribemember() { } - CImReqDelTribemember(const string& strTribeId, const string& strMemberId, const string& strRemark) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_remark = strRemark; - } - CImReqDelTribemember& operator=( const CImReqDelTribemember& cImReqDelTribemember ) - { - m_tribeId = cImReqDelTribemember.m_tribeId; - m_memberId = cImReqDelTribemember.m_memberId; - m_remark = cImReqDelTribemember.m_remark; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - m_remark = strRemark; - return true; - } -private: - string m_tribeId; - string m_memberId; - string m_remark; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqDelTribemember::Size() const -{ - uint32_t nSize = 16; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - nSize += m_remark.length(); - return nSize; -} - -class CImRspDelTribemember : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_DEL_TRIBEMEMBER - }; - CImRspDelTribemember() - { - } - - ~CImRspDelTribemember() { } - CImRspDelTribemember(const uint8_t& chRetcode, const string& strTribeId, const string& strMemberId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberId = strMemberId; - } - CImRspDelTribemember& operator=( const CImRspDelTribemember& cImRspDelTribemember ) - { - m_retcode = cImRspDelTribemember.m_retcode; - m_tribeId = cImRspDelTribemember.m_tribeId; - m_memberId = cImRspDelTribemember.m_memberId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_memberId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspDelTribemember::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CImReqGetTribeblack : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GET_TRIBEBLACK - }; - CImReqGetTribeblack() - { - } - - ~CImReqGetTribeblack() { } - CImReqGetTribeblack(const string& strTribeId, const uint32_t& dwBlackStamp) - { - m_tribeId = strTribeId; - m_blackStamp = dwBlackStamp; - } - CImReqGetTribeblack& operator=( const CImReqGetTribeblack& cImReqGetTribeblack ) - { - m_tribeId = cImReqGetTribeblack.m_tribeId; - m_blackStamp = cImReqGetTribeblack.m_blackStamp; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint32_t& GetBlackStamp () const { return m_blackStamp; } - bool SetBlackStamp ( const uint32_t& dwBlackStamp ) - { - m_blackStamp = dwBlackStamp; - return true; - } -private: - string m_tribeId; - uint32_t m_blackStamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetTribeblack::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - return nSize; -} - -class CImRspGetTribeblack : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GET_TRIBEBLACK - }; - CImRspGetTribeblack() - { - } - - ~CImRspGetTribeblack() { } - CImRspGetTribeblack(const uint8_t& chRetcode, const string& strTribeId, const VECTOR< STribeBlack >& vecBlackIdList, const uint32_t& dwBlackStamp) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_blackIdList = vecBlackIdList; - m_blackStamp = dwBlackStamp; - } - CImRspGetTribeblack& operator=( const CImRspGetTribeblack& cImRspGetTribeblack ) - { - m_retcode = cImRspGetTribeblack.m_retcode; - m_tribeId = cImRspGetTribeblack.m_tribeId; - m_blackIdList = cImRspGetTribeblack.m_blackIdList; - m_blackStamp = cImRspGetTribeblack.m_blackStamp; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< STribeBlack >& GetBlackIdList () const { return m_blackIdList; } - bool SetBlackIdList ( const VECTOR< STribeBlack >& vecBlackIdList ) - { - m_blackIdList = vecBlackIdList; - return true; - } - const uint32_t& GetBlackStamp () const { return m_blackStamp; } - bool SetBlackStamp ( const uint32_t& dwBlackStamp ) - { - m_blackStamp = dwBlackStamp; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - VECTOR< STribeBlack > m_blackIdList; - uint32_t m_blackStamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetTribeblack::Size() const -{ - uint32_t nSize = 19; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_blackIdList.size(); i++) - { - nSize += m_blackIdList[i].Size(); - } - return nSize; -} - -class CImReqAddTribeblack : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ADD_TRIBEBLACK - }; - CImReqAddTribeblack() - { - } - - ~CImReqAddTribeblack() { } - CImReqAddTribeblack(const string& strTribeId, const string& strBlackUid, const string& strRemark) - { - m_tribeId = strTribeId; - m_blackUid = strBlackUid; - m_remark = strRemark; - } - CImReqAddTribeblack& operator=( const CImReqAddTribeblack& cImReqAddTribeblack ) - { - m_tribeId = cImReqAddTribeblack.m_tribeId; - m_blackUid = cImReqAddTribeblack.m_blackUid; - m_remark = cImReqAddTribeblack.m_remark; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetBlackUid () const { return m_blackUid; } - bool SetBlackUid ( const string& strBlackUid ) - { - if(strBlackUid.size() > 64) - return false; - m_blackUid = strBlackUid; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - m_remark = strRemark; - return true; - } -private: - string m_tribeId; - string m_blackUid; - string m_remark; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAddTribeblack::Size() const -{ - uint32_t nSize = 16; - nSize += m_tribeId.length(); - nSize += m_blackUid.length(); - nSize += m_remark.length(); - return nSize; -} - -class CImRspAddTribeblack : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_ADD_TRIBEBLACK - }; - CImRspAddTribeblack() - { - } - - ~CImRspAddTribeblack() { } - CImRspAddTribeblack(const uint8_t& chRetcode, const string& strTribeId, const string& strBlackUid, const uint32_t& dwBlackStamp) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_blackUid = strBlackUid; - m_blackStamp = dwBlackStamp; - } - CImRspAddTribeblack& operator=( const CImRspAddTribeblack& cImRspAddTribeblack ) - { - m_retcode = cImRspAddTribeblack.m_retcode; - m_tribeId = cImRspAddTribeblack.m_tribeId; - m_blackUid = cImRspAddTribeblack.m_blackUid; - m_blackStamp = cImRspAddTribeblack.m_blackStamp; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetBlackUid () const { return m_blackUid; } - bool SetBlackUid ( const string& strBlackUid ) - { - if(strBlackUid.size() > 64) - return false; - m_blackUid = strBlackUid; - return true; - } - const uint32_t& GetBlackStamp () const { return m_blackStamp; } - bool SetBlackStamp ( const uint32_t& dwBlackStamp ) - { - m_blackStamp = dwBlackStamp; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_blackUid; - uint32_t m_blackStamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspAddTribeblack::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_blackUid.length(); - return nSize; -} - -class CImReqDelTribeblack : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_DEL_TRIBEBLACK - }; - CImReqDelTribeblack() - { - } - - ~CImReqDelTribeblack() { } - CImReqDelTribeblack(const string& strTribeId, const string& strBlackUid, const string& strRemark) - { - m_tribeId = strTribeId; - m_blackUid = strBlackUid; - m_remark = strRemark; - } - CImReqDelTribeblack& operator=( const CImReqDelTribeblack& cImReqDelTribeblack ) - { - m_tribeId = cImReqDelTribeblack.m_tribeId; - m_blackUid = cImReqDelTribeblack.m_blackUid; - m_remark = cImReqDelTribeblack.m_remark; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetBlackUid () const { return m_blackUid; } - bool SetBlackUid ( const string& strBlackUid ) - { - if(strBlackUid.size() > 64) - return false; - m_blackUid = strBlackUid; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - m_remark = strRemark; - return true; - } -private: - string m_tribeId; - string m_blackUid; - string m_remark; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqDelTribeblack::Size() const -{ - uint32_t nSize = 16; - nSize += m_tribeId.length(); - nSize += m_blackUid.length(); - nSize += m_remark.length(); - return nSize; -} - -class CImRspDelTribeblack : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_DEL_TRIBEBLACK - }; - CImRspDelTribeblack() - { - } - - ~CImRspDelTribeblack() { } - CImRspDelTribeblack(const uint8_t& chRetcode, const string& strTribeId, const string& strBlackUid, const uint32_t& dwBlackStamp) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_blackUid = strBlackUid; - m_blackStamp = dwBlackStamp; - } - CImRspDelTribeblack& operator=( const CImRspDelTribeblack& cImRspDelTribeblack ) - { - m_retcode = cImRspDelTribeblack.m_retcode; - m_tribeId = cImRspDelTribeblack.m_tribeId; - m_blackUid = cImRspDelTribeblack.m_blackUid; - m_blackStamp = cImRspDelTribeblack.m_blackStamp; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetBlackUid () const { return m_blackUid; } - bool SetBlackUid ( const string& strBlackUid ) - { - if(strBlackUid.size() > 64) - return false; - m_blackUid = strBlackUid; - return true; - } - const uint32_t& GetBlackStamp () const { return m_blackStamp; } - bool SetBlackStamp ( const uint32_t& dwBlackStamp ) - { - m_blackStamp = dwBlackStamp; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_blackUid; - uint32_t m_blackStamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspDelTribeblack::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_blackUid.length(); - return nSize; -} - -class CImReqQuitTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_QUIT_TRIBE - }; - CImReqQuitTribe() - { - } - - ~CImReqQuitTribe() { } - CImReqQuitTribe(const string& strTribeId, const string& strRemark) - { - m_tribeId = strTribeId; - m_remark = strRemark; - } - CImReqQuitTribe& operator=( const CImReqQuitTribe& cImReqQuitTribe ) - { - m_tribeId = cImReqQuitTribe.m_tribeId; - m_remark = cImReqQuitTribe.m_remark; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - m_remark = strRemark; - return true; - } -private: - string m_tribeId; - string m_remark; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqQuitTribe::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - nSize += m_remark.length(); - return nSize; -} - -class CImRspQuitTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_QUIT_TRIBE - }; - CImRspQuitTribe() - { - } - - ~CImRspQuitTribe() { } - CImRspQuitTribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CImRspQuitTribe& operator=( const CImRspQuitTribe& cImRspQuitTribe ) - { - m_retcode = cImRspQuitTribe.m_retcode; - m_tribeId = cImRspQuitTribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspQuitTribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CImReqCloseTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CLOSE_TRIBE - }; - CImReqCloseTribe() - { - } - - ~CImReqCloseTribe() { } - CImReqCloseTribe(const string& strTribeId, const string& strRemark) - { - m_tribeId = strTribeId; - m_remark = strRemark; - } - CImReqCloseTribe& operator=( const CImReqCloseTribe& cImReqCloseTribe ) - { - m_tribeId = cImReqCloseTribe.m_tribeId; - m_remark = cImReqCloseTribe.m_remark; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - m_remark = strRemark; - return true; - } -private: - string m_tribeId; - string m_remark; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqCloseTribe::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - nSize += m_remark.length(); - return nSize; -} - -class CImRspCloseTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CLOSE_TRIBE - }; - CImRspCloseTribe() - { - } - - ~CImRspCloseTribe() { } - CImRspCloseTribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CImRspCloseTribe& operator=( const CImRspCloseTribe& cImRspCloseTribe ) - { - m_retcode = cImRspCloseTribe.m_retcode; - m_tribeId = cImRspCloseTribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspCloseTribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CImReqGetTribeinfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GET_TRIBEINFO - }; - CImReqGetTribeinfo() - { - } - - ~CImReqGetTribeinfo() { } - CImReqGetTribeinfo(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CImReqGetTribeinfo& operator=( const CImReqGetTribeinfo& cImReqGetTribeinfo ) - { - m_tribeId = cImReqGetTribeinfo.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetTribeinfo::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CImRspGetTribeinfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GET_TRIBEINFO - }; - CImRspGetTribeinfo() - { - } - - ~CImRspGetTribeinfo() { } - CImRspGetTribeinfo(const uint8_t& chRetcode, const string& strTribeId, const STribeInfo& sTribeInfo, const STribeExtInfo& sExtInfo) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeInfo = sTribeInfo; - m_extInfo = sExtInfo; - } - CImRspGetTribeinfo& operator=( const CImRspGetTribeinfo& cImRspGetTribeinfo ) - { - m_retcode = cImRspGetTribeinfo.m_retcode; - m_tribeId = cImRspGetTribeinfo.m_tribeId; - m_tribeInfo = cImRspGetTribeinfo.m_tribeInfo; - m_extInfo = cImRspGetTribeinfo.m_extInfo; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const STribeInfo& GetTribeInfo () const { return m_tribeInfo; } - bool SetTribeInfo ( const STribeInfo& sTribeInfo ) - { - m_tribeInfo = sTribeInfo; - return true; - } - const STribeExtInfo& GetExtInfo () const { return m_extInfo; } - bool SetExtInfo ( const STribeExtInfo& sExtInfo ) - { - m_extInfo = sExtInfo; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - STribeInfo m_tribeInfo; - STribeExtInfo m_extInfo; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetTribeinfo::Size() const -{ - uint32_t nSize = 10; - nSize += m_tribeId.length(); - nSize += m_tribeInfo.Size(); - nSize += m_extInfo.Size(); - return nSize; -} - -class CImReqModifyTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_MODIFY_TRIBE - }; - CImReqModifyTribe() - { - } - - ~CImReqModifyTribe() { } - CImReqModifyTribe(const string& strTribeId, const map< string,string >& mapItems) - { - m_tribeId = strTribeId; - m_items = mapItems; - } - CImReqModifyTribe& operator=( const CImReqModifyTribe& cImReqModifyTribe ) - { - m_tribeId = cImReqModifyTribe.m_tribeId; - m_items = cImReqModifyTribe.m_items; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const map< string,string >& GetItems () const { return m_items; } - bool SetItems ( const map< string,string >& mapItems ) - { - m_items = mapItems; - return true; - } -private: - string m_tribeId; - map< string,string > m_items; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqModifyTribe::Size() const -{ - uint32_t nSize = 10; - nSize += m_tribeId.length(); - nSize += m_items.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CImRspModifyTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_MODIFY_TRIBE - }; - CImRspModifyTribe() - { - } - - ~CImRspModifyTribe() { } - CImRspModifyTribe(const uint8_t& chRetcode, const string& strTribeId, const map< string,string >& mapItems) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_items = mapItems; - } - CImRspModifyTribe& operator=( const CImRspModifyTribe& cImRspModifyTribe ) - { - m_retcode = cImRspModifyTribe.m_retcode; - m_tribeId = cImRspModifyTribe.m_tribeId; - m_items = cImRspModifyTribe.m_items; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const map< string,string >& GetItems () const { return m_items; } - bool SetItems ( const map< string,string >& mapItems ) - { - m_items = mapItems; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - map< string,string > m_items; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspModifyTribe::Size() const -{ - uint32_t nSize = 12; - nSize += m_tribeId.length(); - nSize += m_items.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CImReqGetTribememberinfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GET_TRIBEMEMBERINFO - }; - CImReqGetTribememberinfo() - { - } - - ~CImReqGetTribememberinfo() { } - CImReqGetTribememberinfo(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CImReqGetTribememberinfo& operator=( const CImReqGetTribememberinfo& cImReqGetTribememberinfo ) - { - m_tribeId = cImReqGetTribememberinfo.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetTribememberinfo::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CImRspGetTribememberinfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GET_TRIBEMEMBERINFO - }; - CImRspGetTribememberinfo() - { - } - - ~CImRspGetTribememberinfo() { } - CImRspGetTribememberinfo(const uint8_t& chRetcode, const string& strTribeId, const VECTOR< STmInfo >& vecTmInfoList) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tmInfoList = vecTmInfoList; - } - CImRspGetTribememberinfo& operator=( const CImRspGetTribememberinfo& cImRspGetTribememberinfo ) - { - m_retcode = cImRspGetTribememberinfo.m_retcode; - m_tribeId = cImRspGetTribememberinfo.m_tribeId; - m_tmInfoList = cImRspGetTribememberinfo.m_tmInfoList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< STmInfo >& GetTmInfoList () const { return m_tmInfoList; } - bool SetTmInfoList ( const VECTOR< STmInfo >& vecTmInfoList ) - { - m_tmInfoList = vecTmInfoList; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - VECTOR< STmInfo > m_tmInfoList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetTribememberinfo::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_tmInfoList.size(); i++) - { - nSize += m_tmInfoList[i].Size(); - } - return nSize; -} - -class CImReqSendTribemsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SEND_TRIBEMSG - }; - CImReqSendTribemsg() - { - } - - ~CImReqSendTribemsg() { } - CImReqSendTribemsg(const string& strTribeId, const uint8_t& chMsgType, const string& strMessage) - { - m_tribeId = strTribeId; - m_msgType = chMsgType; - m_message = strMessage; - } - CImReqSendTribemsg& operator=( const CImReqSendTribemsg& cImReqSendTribemsg ) - { - m_tribeId = cImReqSendTribemsg.m_tribeId; - m_msgType = cImReqSendTribemsg.m_msgType; - m_message = cImReqSendTribemsg.m_message; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetMsgType () const { return m_msgType; } - bool SetMsgType ( const uint8_t& chMsgType ) - { - m_msgType = chMsgType; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_tribeId; - uint8_t m_msgType; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSendTribemsg::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_message.length(); - return nSize; -} - -class CImRspSendTribemsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SEND_TRIBEMSG - }; - CImRspSendTribemsg() - { - } - - ~CImRspSendTribemsg() { } - CImRspSendTribemsg(const uint8_t& chRetcode, const string& strTribeId, const string& strMessage) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_message = strMessage; - } - CImRspSendTribemsg& operator=( const CImRspSendTribemsg& cImRspSendTribemsg ) - { - m_retcode = cImRspSendTribemsg.m_retcode; - m_tribeId = cImRspSendTribemsg.m_tribeId; - m_message = cImRspSendTribemsg.m_message; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSendTribemsg::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_message.length(); - return nSize; -} - -class CImNtfTribemsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_TRIBEMSG - }; - CImNtfTribemsg() - { - } - - ~CImNtfTribemsg() { } - CImNtfTribemsg(const string& strTribeId, const uint8_t& chOfflineFlag, const VECTOR< STribeMsg >& vecTribeMsgList) - { - m_tribeId = strTribeId; - m_offlineFlag = chOfflineFlag; - m_tribeMsgList = vecTribeMsgList; - } - CImNtfTribemsg& operator=( const CImNtfTribemsg& cImNtfTribemsg ) - { - m_tribeId = cImNtfTribemsg.m_tribeId; - m_offlineFlag = cImNtfTribemsg.m_offlineFlag; - m_tribeMsgList = cImNtfTribemsg.m_tribeMsgList; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetOfflineFlag () const { return m_offlineFlag; } - bool SetOfflineFlag ( const uint8_t& chOfflineFlag ) - { - m_offlineFlag = chOfflineFlag; - return true; - } - const VECTOR< STribeMsg >& GetTribeMsgList () const { return m_tribeMsgList; } - bool SetTribeMsgList ( const VECTOR< STribeMsg >& vecTribeMsgList ) - { - m_tribeMsgList = vecTribeMsgList; - return true; - } -private: - string m_tribeId; - uint8_t m_offlineFlag; - VECTOR< STribeMsg > m_tribeMsgList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfTribemsg::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_tribeMsgList.size(); i++) - { - nSize += m_tribeMsgList[i].Size(); - } - return nSize; -} - -class CImNtfTribeSysmsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_TRIBE_SYSMSG - }; - CImNtfTribeSysmsg() - { - } - - ~CImNtfTribeSysmsg() { } - CImNtfTribeSysmsg(const string& strTribeId, const uint8_t& chOfflineFlag, const VECTOR< STribeSysmsg >& vecTribeSysmsgList) - { - m_tribeId = strTribeId; - m_offlineFlag = chOfflineFlag; - m_tribeSysmsgList = vecTribeSysmsgList; - } - CImNtfTribeSysmsg& operator=( const CImNtfTribeSysmsg& cImNtfTribeSysmsg ) - { - m_tribeId = cImNtfTribeSysmsg.m_tribeId; - m_offlineFlag = cImNtfTribeSysmsg.m_offlineFlag; - m_tribeSysmsgList = cImNtfTribeSysmsg.m_tribeSysmsgList; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetOfflineFlag () const { return m_offlineFlag; } - bool SetOfflineFlag ( const uint8_t& chOfflineFlag ) - { - m_offlineFlag = chOfflineFlag; - return true; - } - const VECTOR< STribeSysmsg >& GetTribeSysmsgList () const { return m_tribeSysmsgList; } - bool SetTribeSysmsgList ( const VECTOR< STribeSysmsg >& vecTribeSysmsgList ) - { - m_tribeSysmsgList = vecTribeSysmsgList; - return true; - } -private: - string m_tribeId; - uint8_t m_offlineFlag; - VECTOR< STribeSysmsg > m_tribeSysmsgList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfTribeSysmsg::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_tribeSysmsgList.size(); i++) - { - nSize += m_tribeSysmsgList[i].Size(); - } - return nSize; -} - -class CImReqGetTribeConfig : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GET_TRIBE_CONFIG - }; - ~CImReqGetTribeConfig() { } -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetTribeConfig::Size() const -{ - return 1; -} -class CImRspGetTribeConfig : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GET_TRIBE_CONFIG - }; - CImRspGetTribeConfig() - { - } - - ~CImRspGetTribeConfig() { } - CImRspGetTribeConfig(const uint8_t& chRetcode, const uint8_t& chAddTribeVerify) - { - m_retcode = chRetcode; - m_addTribeVerify = chAddTribeVerify; - } - CImRspGetTribeConfig& operator=( const CImRspGetTribeConfig& cImRspGetTribeConfig ) - { - m_retcode = cImRspGetTribeConfig.m_retcode; - m_addTribeVerify = cImRspGetTribeConfig.m_addTribeVerify; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint8_t& GetAddTribeVerify () const { return m_addTribeVerify; } - bool SetAddTribeVerify ( const uint8_t& chAddTribeVerify ) - { - m_addTribeVerify = chAddTribeVerify; - return true; - } -private: - uint8_t m_retcode; - uint8_t m_addTribeVerify; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetTribeConfig::Size() const -{ - return 5; -} -class CImReqSetTribeConfig : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SET_TRIBE_CONFIG - }; - CImReqSetTribeConfig() - { - } - - ~CImReqSetTribeConfig() { } - CImReqSetTribeConfig(const uint8_t& chAddTribeVerify) - { - m_addTribeVerify = chAddTribeVerify; - } - CImReqSetTribeConfig& operator=( const CImReqSetTribeConfig& cImReqSetTribeConfig ) - { - m_addTribeVerify = cImReqSetTribeConfig.m_addTribeVerify; - return *this; - } - - const uint8_t& GetAddTribeVerify () const { return m_addTribeVerify; } - bool SetAddTribeVerify ( const uint8_t& chAddTribeVerify ) - { - m_addTribeVerify = chAddTribeVerify; - return true; - } -private: - uint8_t m_addTribeVerify; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSetTribeConfig::Size() const -{ - return 3; -} -class CImRspSetTribeConfig : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SET_TRIBE_CONFIG - }; - CImRspSetTribeConfig() - { - } - - ~CImRspSetTribeConfig() { } - CImRspSetTribeConfig(const uint8_t& chRetcode, const uint8_t& chAddTribeVerify) - { - m_retcode = chRetcode; - m_addTribeVerify = chAddTribeVerify; - } - CImRspSetTribeConfig& operator=( const CImRspSetTribeConfig& cImRspSetTribeConfig ) - { - m_retcode = cImRspSetTribeConfig.m_retcode; - m_addTribeVerify = cImRspSetTribeConfig.m_addTribeVerify; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint8_t& GetAddTribeVerify () const { return m_addTribeVerify; } - bool SetAddTribeVerify ( const uint8_t& chAddTribeVerify ) - { - m_addTribeVerify = chAddTribeVerify; - return true; - } -private: - uint8_t m_retcode; - uint8_t m_addTribeVerify; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSetTribeConfig::Size() const -{ - return 5; -} -class CImReqSetOpenTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SET_OPEN_TRIBE - }; - CImReqSetOpenTribe() - { - } - - ~CImReqSetOpenTribe() { } - CImReqSetOpenTribe(const VECTOR< string >& vecTribeIdList, const uint8_t& chOpenTribe) - { - m_tribeIdList = vecTribeIdList; - m_openTribe = chOpenTribe; - } - CImReqSetOpenTribe& operator=( const CImReqSetOpenTribe& cImReqSetOpenTribe ) - { - m_tribeIdList = cImReqSetOpenTribe.m_tribeIdList; - m_openTribe = cImReqSetOpenTribe.m_openTribe; - return *this; - } - - const VECTOR< string >& GetTribeIdList () const { return m_tribeIdList; } - bool SetTribeIdList ( const VECTOR< string >& vecTribeIdList ) - { - m_tribeIdList = vecTribeIdList; - return true; - } - const uint8_t& GetOpenTribe () const { return m_openTribe; } - bool SetOpenTribe ( const uint8_t& chOpenTribe ) - { - m_openTribe = chOpenTribe; - return true; - } -private: - VECTOR< string > m_tribeIdList; - uint8_t m_openTribe; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSetOpenTribe::Size() const -{ - uint32_t nSize = 9; - nSize += m_tribeIdList.size() * 4; - for(uint32_t i = 0; i < m_tribeIdList.size(); i++) - { - nSize += m_tribeIdList[i].length(); - } - return nSize; -} - -class CImRspSetOpenTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SET_OPEN_TRIBE - }; - CImRspSetOpenTribe() - { - } - - ~CImRspSetOpenTribe() { } - CImRspSetOpenTribe(const uint8_t& chRetcode, const VECTOR< string >& vecTribeIdList, const uint8_t& chOpenTribe) - { - m_retcode = chRetcode; - m_tribeIdList = vecTribeIdList; - m_openTribe = chOpenTribe; - } - CImRspSetOpenTribe& operator=( const CImRspSetOpenTribe& cImRspSetOpenTribe ) - { - m_retcode = cImRspSetOpenTribe.m_retcode; - m_tribeIdList = cImRspSetOpenTribe.m_tribeIdList; - m_openTribe = cImRspSetOpenTribe.m_openTribe; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const VECTOR< string >& GetTribeIdList () const { return m_tribeIdList; } - bool SetTribeIdList ( const VECTOR< string >& vecTribeIdList ) - { - m_tribeIdList = vecTribeIdList; - return true; - } - const uint8_t& GetOpenTribe () const { return m_openTribe; } - bool SetOpenTribe ( const uint8_t& chOpenTribe ) - { - m_openTribe = chOpenTribe; - return true; - } -private: - uint8_t m_retcode; - VECTOR< string > m_tribeIdList; - uint8_t m_openTribe; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSetOpenTribe::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeIdList.size() * 4; - for(uint32_t i = 0; i < m_tribeIdList.size(); i++) - { - nSize += m_tribeIdList[i].length(); - } - return nSize; -} - -class CImReqVisitTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_VISIT_TRIBE - }; - CImReqVisitTribe() - { - } - - ~CImReqVisitTribe() { } - CImReqVisitTribe(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CImReqVisitTribe& operator=( const CImReqVisitTribe& cImReqVisitTribe ) - { - m_tribeId = cImReqVisitTribe.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqVisitTribe::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CImRspVisitTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_VISIT_TRIBE - }; - CImRspVisitTribe() - { - } - - ~CImRspVisitTribe() { } - CImRspVisitTribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CImRspVisitTribe& operator=( const CImRspVisitTribe& cImRspVisitTribe ) - { - m_retcode = cImRspVisitTribe.m_retcode; - m_tribeId = cImRspVisitTribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspVisitTribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CImReqClearVisitor : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CLEAR_VISITOR - }; - CImReqClearVisitor() - { - } - - ~CImReqClearVisitor() { } - CImReqClearVisitor(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CImReqClearVisitor& operator=( const CImReqClearVisitor& cImReqClearVisitor ) - { - m_tribeId = cImReqClearVisitor.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqClearVisitor::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CImRspClearVisitor : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CLEAR_VISITOR - }; - CImRspClearVisitor() - { - } - - ~CImRspClearVisitor() { } - CImRspClearVisitor(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CImRspClearVisitor& operator=( const CImRspClearVisitor& cImRspClearVisitor ) - { - m_retcode = cImRspClearVisitor.m_retcode; - m_tribeId = cImRspClearVisitor.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspClearVisitor::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CImReqStartTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_START_TRIBE - }; - CImReqStartTribe() - { - } - - ~CImReqStartTribe() { } - CImReqStartTribe(const string& strTribeId, const map< string,string >& mapItems) - { - m_tribeId = strTribeId; - m_items = mapItems; - } - CImReqStartTribe& operator=( const CImReqStartTribe& cImReqStartTribe ) - { - m_tribeId = cImReqStartTribe.m_tribeId; - m_items = cImReqStartTribe.m_items; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const map< string,string >& GetItems () const { return m_items; } - bool SetItems ( const map< string,string >& mapItems ) - { - m_items = mapItems; - return true; - } -private: - string m_tribeId; - map< string,string > m_items; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqStartTribe::Size() const -{ - uint32_t nSize = 10; - nSize += m_tribeId.length(); - nSize += m_items.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CImRspStartTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_START_TRIBE - }; - CImRspStartTribe() - { - } - - ~CImRspStartTribe() { } - CImRspStartTribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CImRspStartTribe& operator=( const CImRspStartTribe& cImRspStartTribe ) - { - m_retcode = cImRspStartTribe.m_retcode; - m_tribeId = cImRspStartTribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspStartTribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CImReqUpdateTribecard : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_UPDATE_TRIBECARD - }; - CImReqUpdateTribecard() - { - } - - ~CImReqUpdateTribecard() { } - CImReqUpdateTribecard(const string& strTribeId, const string& strMemberId, const map< string,string >& mapItems) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_items = mapItems; - } - CImReqUpdateTribecard& operator=( const CImReqUpdateTribecard& cImReqUpdateTribecard ) - { - m_tribeId = cImReqUpdateTribecard.m_tribeId; - m_memberId = cImReqUpdateTribecard.m_memberId; - m_items = cImReqUpdateTribecard.m_items; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const map< string,string >& GetItems () const { return m_items; } - bool SetItems ( const map< string,string >& mapItems ) - { - m_items = mapItems; - return true; - } -private: - string m_tribeId; - string m_memberId; - map< string,string > m_items; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqUpdateTribecard::Size() const -{ - uint32_t nSize = 15; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - nSize += m_items.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CImRspUpdateTribecard : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_UPDATE_TRIBECARD - }; - CImRspUpdateTribecard() - { - } - - ~CImRspUpdateTribecard() { } - CImRspUpdateTribecard(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CImRspUpdateTribecard& operator=( const CImRspUpdateTribecard& cImRspUpdateTribecard ) - { - m_retcode = cImRspUpdateTribecard.m_retcode; - m_tribeId = cImRspUpdateTribecard.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspUpdateTribecard::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CImReqRecommendTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_RECOMMEND_TRIBE - }; - CImReqRecommendTribe() - { - } - - ~CImReqRecommendTribe() { } - CImReqRecommendTribe(const string& strTribeId, const VECTOR< string >& vecUserList, const string& strMessage) - { - m_tribeId = strTribeId; - m_userList = vecUserList; - m_message = strMessage; - } - CImReqRecommendTribe& operator=( const CImReqRecommendTribe& cImReqRecommendTribe ) - { - m_tribeId = cImReqRecommendTribe.m_tribeId; - m_userList = cImReqRecommendTribe.m_userList; - m_message = cImReqRecommendTribe.m_message; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< string >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< string >& vecUserList ) - { - m_userList = vecUserList; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_tribeId; - VECTOR< string > m_userList; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqRecommendTribe::Size() const -{ - uint32_t nSize = 17; - nSize += m_tribeId.length(); - nSize += m_userList.size() * 4; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].length(); - } - nSize += m_message.length(); - return nSize; -} - -class CImRspRecommendTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_RECOMMEND_TRIBE - }; - CImRspRecommendTribe() - { - } - - ~CImRspRecommendTribe() { } - CImRspRecommendTribe(const uint8_t& chRetcode, const string& strTribeId, const VECTOR< string >& vecUserList) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_userList = vecUserList; - } - CImRspRecommendTribe& operator=( const CImRspRecommendTribe& cImRspRecommendTribe ) - { - m_retcode = cImRspRecommendTribe.m_retcode; - m_tribeId = cImRspRecommendTribe.m_tribeId; - m_userList = cImRspRecommendTribe.m_userList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< string >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< string >& vecUserList ) - { - m_userList = vecUserList; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - VECTOR< string > m_userList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspRecommendTribe::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - nSize += m_userList.size() * 4; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].length(); - } - return nSize; -} - -class CImNtfRecommendTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_RECOMMEND_TRIBE - }; - CImNtfRecommendTribe() - { - } - - ~CImNtfRecommendTribe() { } - CImNtfRecommendTribe(const string& strTribeId, const string& strMemberId, const VECTOR< string >& vecUserList, const string& strMessage) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_userList = vecUserList; - m_message = strMessage; - } - CImNtfRecommendTribe& operator=( const CImNtfRecommendTribe& cImNtfRecommendTribe ) - { - m_tribeId = cImNtfRecommendTribe.m_tribeId; - m_memberId = cImNtfRecommendTribe.m_memberId; - m_userList = cImNtfRecommendTribe.m_userList; - m_message = cImNtfRecommendTribe.m_message; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const VECTOR< string >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< string >& vecUserList ) - { - m_userList = vecUserList; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_tribeId; - string m_memberId; - VECTOR< string > m_userList; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfRecommendTribe::Size() const -{ - uint32_t nSize = 22; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - nSize += m_userList.size() * 4; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].length(); - } - nSize += m_message.length(); - return nSize; -} - -class CImReqAuthRecommend : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_AUTH_RECOMMEND - }; - CImReqAuthRecommend() - { - } - - ~CImReqAuthRecommend() { } - CImReqAuthRecommend(const string& strTribeId, const string& strMemberId, const VECTOR< string >& vecUserList, const int64_t& llGroupId) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_userList = vecUserList; - m_groupId = llGroupId; - } - CImReqAuthRecommend& operator=( const CImReqAuthRecommend& cImReqAuthRecommend ) - { - m_tribeId = cImReqAuthRecommend.m_tribeId; - m_memberId = cImReqAuthRecommend.m_memberId; - m_userList = cImReqAuthRecommend.m_userList; - m_groupId = cImReqAuthRecommend.m_groupId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const VECTOR< string >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< string >& vecUserList ) - { - m_userList = vecUserList; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - string m_tribeId; - string m_memberId; - VECTOR< string > m_userList; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAuthRecommend::Size() const -{ - uint32_t nSize = 26; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - nSize += m_userList.size() * 4; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].length(); - } - return nSize; -} - -class CImRspAuthRecommend : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_AUTH_RECOMMEND - }; - CImRspAuthRecommend() - { - } - - ~CImRspAuthRecommend() { } - CImRspAuthRecommend(const uint8_t& chRetcode, const string& strTribeId, const string& strMemberId, const VECTOR< string >& vecUserList, const int64_t& llGroupId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_userList = vecUserList; - m_groupId = llGroupId; - } - CImRspAuthRecommend& operator=( const CImRspAuthRecommend& cImRspAuthRecommend ) - { - m_retcode = cImRspAuthRecommend.m_retcode; - m_tribeId = cImRspAuthRecommend.m_tribeId; - m_memberId = cImRspAuthRecommend.m_memberId; - m_userList = cImRspAuthRecommend.m_userList; - m_groupId = cImRspAuthRecommend.m_groupId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const VECTOR< string >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< string >& vecUserList ) - { - m_userList = vecUserList; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_memberId; - VECTOR< string > m_userList; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspAuthRecommend::Size() const -{ - uint32_t nSize = 28; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - nSize += m_userList.size() * 4; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].length(); - } - return nSize; -} - -class CImReqWebLogintribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_WEB_LOGINTRIBE - }; - ~CImReqWebLogintribe() { } -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqWebLogintribe::Size() const -{ - return 1; -} -class CImRspWebLogintribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_WEB_LOGINTRIBE - }; - CImRspWebLogintribe() - { - } - - ~CImRspWebLogintribe() { } - CImRspWebLogintribe(const uint8_t& chRetcode, const VECTOR< SWebGroup >& vecGroupList, const VECTOR< STribeId >& vecTribeIdList) - { - m_retcode = chRetcode; - m_groupList = vecGroupList; - m_tribeIdList = vecTribeIdList; - } - CImRspWebLogintribe& operator=( const CImRspWebLogintribe& cImRspWebLogintribe ) - { - m_retcode = cImRspWebLogintribe.m_retcode; - m_groupList = cImRspWebLogintribe.m_groupList; - m_tribeIdList = cImRspWebLogintribe.m_tribeIdList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const VECTOR< SWebGroup >& GetGroupList () const { return m_groupList; } - bool SetGroupList ( const VECTOR< SWebGroup >& vecGroupList ) - { - m_groupList = vecGroupList; - return true; - } - const VECTOR< STribeId >& GetTribeIdList () const { return m_tribeIdList; } - bool SetTribeIdList ( const VECTOR< STribeId >& vecTribeIdList ) - { - m_tribeIdList = vecTribeIdList; - return true; - } -private: - uint8_t m_retcode; - VECTOR< SWebGroup > m_groupList; - VECTOR< STribeId > m_tribeIdList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspWebLogintribe::Size() const -{ - uint32_t nSize = 15; - for(uint32_t i = 0; i < m_groupList.size(); i++) - { - nSize += m_groupList[i].Size(); - } - for(uint32_t i = 0; i < m_tribeIdList.size(); i++) - { - nSize += m_tribeIdList[i].Size(); - } - return nSize; -} - -class CImReqSetTribeMsgPopup : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SET_TRIBE_MSG_POPUP - }; - CImReqSetTribeMsgPopup() - { - } - - ~CImReqSetTribeMsgPopup() { } - CImReqSetTribeMsgPopup(const string& strTribeId, const uint8_t& chMsgPopup) - { - m_tribeId = strTribeId; - m_msgPopup = chMsgPopup; - } - CImReqSetTribeMsgPopup& operator=( const CImReqSetTribeMsgPopup& cImReqSetTribeMsgPopup ) - { - m_tribeId = cImReqSetTribeMsgPopup.m_tribeId; - m_msgPopup = cImReqSetTribeMsgPopup.m_msgPopup; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetMsgPopup () const { return m_msgPopup; } - bool SetMsgPopup ( const uint8_t& chMsgPopup ) - { - m_msgPopup = chMsgPopup; - return true; - } -private: - string m_tribeId; - uint8_t m_msgPopup; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSetTribeMsgPopup::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CImRspSetTribeMsgPopup : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SET_TRIBE_MSG_POPUP - }; - CImRspSetTribeMsgPopup() - { - } - - ~CImRspSetTribeMsgPopup() { } - CImRspSetTribeMsgPopup(const uint8_t& chRetcode, const string& strTribeId, const uint8_t& chMsgPopup) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_msgPopup = chMsgPopup; - } - CImRspSetTribeMsgPopup& operator=( const CImRspSetTribeMsgPopup& cImRspSetTribeMsgPopup ) - { - m_retcode = cImRspSetTribeMsgPopup.m_retcode; - m_tribeId = cImRspSetTribeMsgPopup.m_tribeId; - m_msgPopup = cImRspSetTribeMsgPopup.m_msgPopup; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetMsgPopup () const { return m_msgPopup; } - bool SetMsgPopup ( const uint8_t& chMsgPopup ) - { - m_msgPopup = chMsgPopup; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - uint8_t m_msgPopup; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSetTribeMsgPopup::Size() const -{ - uint32_t nSize = 10; - nSize += m_tribeId.length(); - return nSize; -} - -class CImReqTransferTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_TRANSFER_TRIBE - }; - CImReqTransferTribe() - { - } - - ~CImReqTransferTribe() { } - CImReqTransferTribe(const string& strTribeId, const string& strTransferId) - { - m_tribeId = strTribeId; - m_transferId = strTransferId; - } - CImReqTransferTribe& operator=( const CImReqTransferTribe& cImReqTransferTribe ) - { - m_tribeId = cImReqTransferTribe.m_tribeId; - m_transferId = cImReqTransferTribe.m_transferId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetTransferId () const { return m_transferId; } - bool SetTransferId ( const string& strTransferId ) - { - if(strTransferId.size() > 64) - return false; - m_transferId = strTransferId; - return true; - } -private: - string m_tribeId; - string m_transferId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqTransferTribe::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - nSize += m_transferId.length(); - return nSize; -} - -class CImRspTransferTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_TRANSFER_TRIBE - }; - CImRspTransferTribe() - { - } - - ~CImRspTransferTribe() { } - CImRspTransferTribe(const uint8_t& chRetcode, const string& strTribeId, const string& strAltTribeId, const string& strRctOwnerId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_altTribeId = strAltTribeId; - m_rctOwnerId = strRctOwnerId; - } - CImRspTransferTribe& operator=( const CImRspTransferTribe& cImRspTransferTribe ) - { - m_retcode = cImRspTransferTribe.m_retcode; - m_tribeId = cImRspTransferTribe.m_tribeId; - m_altTribeId = cImRspTransferTribe.m_altTribeId; - m_rctOwnerId = cImRspTransferTribe.m_rctOwnerId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetAltTribeId () const { return m_altTribeId; } - bool SetAltTribeId ( const string& strAltTribeId ) - { - if(strAltTribeId.size() > 20) - return false; - m_altTribeId = strAltTribeId; - return true; - } - const string& GetRctOwnerId () const { return m_rctOwnerId; } - bool SetRctOwnerId ( const string& strRctOwnerId ) - { - if(strRctOwnerId.size() > 64) - return false; - m_rctOwnerId = strRctOwnerId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_altTribeId; - string m_rctOwnerId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspTransferTribe::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_altTribeId.length(); - nSize += m_rctOwnerId.length(); - return nSize; -} - -class CImNtfTransferTribeSys : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_TRANSFER_TRIBE_SYS - }; - CImNtfTransferTribeSys() - { - } - - ~CImNtfTransferTribeSys() { } - CImNtfTransferTribeSys(const string& strOwner, const string& strTribeId, const string& strTribeInfo) - { - m_owner = strOwner; - m_tribeId = strTribeId; - m_tribeInfo = strTribeInfo; - } - CImNtfTransferTribeSys& operator=( const CImNtfTransferTribeSys& cImNtfTransferTribeSys ) - { - m_owner = cImNtfTransferTribeSys.m_owner; - m_tribeId = cImNtfTransferTribeSys.m_tribeId; - m_tribeInfo = cImNtfTransferTribeSys.m_tribeInfo; - return *this; - } - - const string& GetOwner () const { return m_owner; } - bool SetOwner ( const string& strOwner ) - { - if(strOwner.size() > 64) - return false; - m_owner = strOwner; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetTribeInfo () const { return m_tribeInfo; } - bool SetTribeInfo ( const string& strTribeInfo ) - { - m_tribeInfo = strTribeInfo; - return true; - } -private: - string m_owner; - string m_tribeId; - string m_tribeInfo; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfTransferTribeSys::Size() const -{ - uint32_t nSize = 16; - nSize += m_owner.length(); - nSize += m_tribeId.length(); - nSize += m_tribeInfo.length(); - return nSize; -} - -class CImNtfTransferTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_TRANSFER_TRIBE - }; - CImNtfTransferTribe() - { - } - - ~CImNtfTransferTribe() { } - CImNtfTransferTribe(const string& strTribeId, const string& strOccupiedTribeId, const string& strTribeInfo) - { - m_tribeId = strTribeId; - m_occupiedTribeId = strOccupiedTribeId; - m_tribeInfo = strTribeInfo; - } - CImNtfTransferTribe& operator=( const CImNtfTransferTribe& cImNtfTransferTribe ) - { - m_tribeId = cImNtfTransferTribe.m_tribeId; - m_occupiedTribeId = cImNtfTransferTribe.m_occupiedTribeId; - m_tribeInfo = cImNtfTransferTribe.m_tribeInfo; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetOccupiedTribeId () const { return m_occupiedTribeId; } - bool SetOccupiedTribeId ( const string& strOccupiedTribeId ) - { - if(strOccupiedTribeId.size() > 20) - return false; - m_occupiedTribeId = strOccupiedTribeId; - return true; - } - const string& GetTribeInfo () const { return m_tribeInfo; } - bool SetTribeInfo ( const string& strTribeInfo ) - { - m_tribeInfo = strTribeInfo; - return true; - } -private: - string m_tribeId; - string m_occupiedTribeId; - string m_tribeInfo; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfTransferTribe::Size() const -{ - uint32_t nSize = 16; - nSize += m_tribeId.length(); - nSize += m_occupiedTribeId.length(); - nSize += m_tribeInfo.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/.svn/text-base/tbsmsg_pack.h.svn-base b/features/aliww/include/.svn/text-base/tbsmsg_pack.h.svn-base deleted file mode 100644 index 5dfed9b..0000000 --- a/features/aliww/include/.svn/text-base/tbsmsg_pack.h.svn-base +++ /dev/null @@ -1,437 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tbsmsg_pack.h -// Date: 2011-01-30 12:50:13 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __TBSMSG_PACK_H__ -#define __TBSMSG_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "const_macro.h" -#include "scs_head.h" -#include "tbsstrc_pack.h" - -using namespace std; - -enum TBSMSG_REQUEST -{ - TBSC_REQ_LOAD_OFFLINEMSG = 0x6300031, - TBSC_REQ_UNLOAD_OFFLINEMSG = 0x6300032, - TBSC_REQ_ADD_OFFLINEMSG = 0x6300033, - TBSC_REQ_GET_FILTERMSG = 0x6300034, - -}; - -enum TBSMSG_RESPONSE -{ - TBSC_RSP_UNLOAD_OFFLINEMSG = 0x6310031, - TBSC_RSP_GET_FILTERMSG = 0x6300034, - -}; - -class CTbscReqLoadOfflinemsg : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_LOAD_OFFLINEMSG - }; - CTbscReqLoadOfflinemsg() - { - } - - ~CTbscReqLoadOfflinemsg() { } - CTbscReqLoadOfflinemsg(const string& strTribeId, const VECTOR< STribeMsg >& vecTribeMsgList) - { - m_tribeId = strTribeId; - m_tribeMsgList = vecTribeMsgList; - } - CTbscReqLoadOfflinemsg& operator=( const CTbscReqLoadOfflinemsg& cTbscReqLoadOfflinemsg ) - { - m_tribeId = cTbscReqLoadOfflinemsg.m_tribeId; - m_tribeMsgList = cTbscReqLoadOfflinemsg.m_tribeMsgList; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< STribeMsg >& GetTribeMsgList () const { return m_tribeMsgList; } - bool SetTribeMsgList ( const VECTOR< STribeMsg >& vecTribeMsgList ) - { - m_tribeMsgList = vecTribeMsgList; - return true; - } -private: - string m_tribeId; - VECTOR< STribeMsg > m_tribeMsgList; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqLoadOfflinemsg::Size() const -{ - uint32_t nSize = 12; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_tribeMsgList.size(); i++) - { - nSize += m_tribeMsgList[i].Size(); - } - return nSize; -} - -class CTbscReqUnloadOfflinemsg : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_UNLOAD_OFFLINEMSG - }; - CTbscReqUnloadOfflinemsg() - { - } - - ~CTbscReqUnloadOfflinemsg() { } - CTbscReqUnloadOfflinemsg(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbscReqUnloadOfflinemsg& operator=( const CTbscReqUnloadOfflinemsg& cTbscReqUnloadOfflinemsg ) - { - m_tribeId = cTbscReqUnloadOfflinemsg.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqUnloadOfflinemsg::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbscRspUnloadOfflinemsg : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_UNLOAD_OFFLINEMSG - }; - CTbscRspUnloadOfflinemsg() - { - } - - ~CTbscRspUnloadOfflinemsg() { } - CTbscRspUnloadOfflinemsg(const uint8_t& chRetcode, const string& strTribeId, const VECTOR< STribeMsg >& vecTribeMsgList) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeMsgList = vecTribeMsgList; - } - CTbscRspUnloadOfflinemsg& operator=( const CTbscRspUnloadOfflinemsg& cTbscRspUnloadOfflinemsg ) - { - m_retcode = cTbscRspUnloadOfflinemsg.m_retcode; - m_tribeId = cTbscRspUnloadOfflinemsg.m_tribeId; - m_tribeMsgList = cTbscRspUnloadOfflinemsg.m_tribeMsgList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< STribeMsg >& GetTribeMsgList () const { return m_tribeMsgList; } - bool SetTribeMsgList ( const VECTOR< STribeMsg >& vecTribeMsgList ) - { - m_tribeMsgList = vecTribeMsgList; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - VECTOR< STribeMsg > m_tribeMsgList; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspUnloadOfflinemsg::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_tribeMsgList.size(); i++) - { - nSize += m_tribeMsgList[i].Size(); - } - return nSize; -} - -class CTbscReqAddOfflinemsg : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_ADD_OFFLINEMSG - }; - CTbscReqAddOfflinemsg() - { - } - - ~CTbscReqAddOfflinemsg() { } - CTbscReqAddOfflinemsg(const string& strTribeId, const STribeMsg& sTribeMsg) - { - m_tribeId = strTribeId; - m_tribeMsg = sTribeMsg; - } - CTbscReqAddOfflinemsg& operator=( const CTbscReqAddOfflinemsg& cTbscReqAddOfflinemsg ) - { - m_tribeId = cTbscReqAddOfflinemsg.m_tribeId; - m_tribeMsg = cTbscReqAddOfflinemsg.m_tribeMsg; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const STribeMsg& GetTribeMsg () const { return m_tribeMsg; } - bool SetTribeMsg ( const STribeMsg& sTribeMsg ) - { - m_tribeMsg = sTribeMsg; - return true; - } -private: - string m_tribeId; - STribeMsg m_tribeMsg; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqAddOfflinemsg::Size() const -{ - uint32_t nSize = 7; - nSize += m_tribeId.length(); - nSize += m_tribeMsg.Size(); - return nSize; -} - -class CTbscReqGetFiltermsg : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_GET_FILTERMSG - }; - CTbscReqGetFiltermsg() - { - } - - ~CTbscReqGetFiltermsg() { } - CTbscReqGetFiltermsg(const string& strTribeId, const string& strUserId, const uint32_t& dwLastMsgid) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_lastMsgid = dwLastMsgid; - } - CTbscReqGetFiltermsg& operator=( const CTbscReqGetFiltermsg& cTbscReqGetFiltermsg ) - { - m_tribeId = cTbscReqGetFiltermsg.m_tribeId; - m_userId = cTbscReqGetFiltermsg.m_userId; - m_lastMsgid = cTbscReqGetFiltermsg.m_lastMsgid; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint32_t& GetLastMsgid () const { return m_lastMsgid; } - bool SetLastMsgid ( const uint32_t& dwLastMsgid ) - { - m_lastMsgid = dwLastMsgid; - return true; - } -private: - string m_tribeId; - string m_userId; - uint32_t m_lastMsgid; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqGetFiltermsg::Size() const -{ - uint32_t nSize = 16; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - return nSize; -} - -class CTbscRspGetFiltermsg : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_GET_FILTERMSG - }; - CTbscRspGetFiltermsg() - { - } - - ~CTbscRspGetFiltermsg() { } - CTbscRspGetFiltermsg(const uint8_t& chRetcode, const string& strTribeId, const string& strUserId, const VECTOR< STribeMsg >& vecTribeMsgList) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_userId = strUserId; - m_tribeMsgList = vecTribeMsgList; - } - CTbscRspGetFiltermsg& operator=( const CTbscRspGetFiltermsg& cTbscRspGetFiltermsg ) - { - m_retcode = cTbscRspGetFiltermsg.m_retcode; - m_tribeId = cTbscRspGetFiltermsg.m_tribeId; - m_userId = cTbscRspGetFiltermsg.m_userId; - m_tribeMsgList = cTbscRspGetFiltermsg.m_tribeMsgList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const VECTOR< STribeMsg >& GetTribeMsgList () const { return m_tribeMsgList; } - bool SetTribeMsgList ( const VECTOR< STribeMsg >& vecTribeMsgList ) - { - m_tribeMsgList = vecTribeMsgList; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_userId; - VECTOR< STribeMsg > m_tribeMsgList; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspGetFiltermsg::Size() const -{ - uint32_t nSize = 19; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - for(uint32_t i = 0; i < m_tribeMsgList.size(); i++) - { - nSize += m_tribeMsgList[i].Size(); - } - return nSize; -} - -#endif diff --git a/features/aliww/include/.svn/text-base/tbss_cmd.h.svn-base b/features/aliww/include/.svn/text-base/tbss_cmd.h.svn-base deleted file mode 100644 index d89cf57..0000000 --- a/features/aliww/include/.svn/text-base/tbss_cmd.h.svn-base +++ /dev/null @@ -1,141 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tbss_cmd.h -// Date: 2011-01-30 12:49:26 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __TBSS_CMD_H__ -#define __TBSS_CMD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -enum TBSS_REQUEST -{ - TBS_REQ_GET_TRIBEGROUP = 0x6100001, - TBS_REQ_ADD_TRIBEGROUP = 0x6100002, - TBS_REQ_UPDATE_TRIBEGROUP = 0x6100003, - TBS_REQ_DEL_TRIBEGROUP = 0x6100004, - TBS_REQ_SHALLOW_LOGINTRIBE = 0x6100005, - TBS_REQ_DEEP_LOGINTRIBE = 0x6100006, - TBS_REQ_INVITE_TRIBE = 0x6100007, - TBS_REQ_ONINVITE_JOINTRIBE = 0x6100008, - TBS_REQ_ASK_JOINTRIBE = 0x6100009, - TBS_REQ_EXAM_ASKJOINTRIBE = 0x610000a, - TBS_REQ_CHGLEVEL_TRIBEMEMBER= 0x610000b, - TBS_REQ_CHG_TRIBEGROUP = 0x610000c, - TBS_REQ_ADD_STARMEMBER = 0x610000d, - TBS_REQ_DEL_STARMEMBER = 0x610000e, - TBS_REQ_DEL_TRIBEMEMBER = 0x610000f, - TBS_REQ_GET_TRIBEBLACK = 0x6100010, - TBS_REQ_ADD_TRIBEBLACK = 0x6100011, - TBS_REQ_DEL_TRIBEBLACK = 0x6100012, - TBS_REQ_QUIT_TRIBE = 0x6100013, - TBS_REQ_CLOSE_TRIBE = 0x6100014, - TBS_REQ_GET_TRIBEINFO = 0x6100015, - TBS_REQ_MODIFY_TRIBE = 0x6100016, - TBS_REQ_GET_TRIBEMEMBERINFO = 0x6100017, - TBS_REQ_SEND_TRIBEMSG = 0x6100018, - TBS_REQ_SET_OPEN_TRIBE = 0x610001b, - TBS_REQ_VISIT_TRIBE = 0x610001c, - TBS_REQ_CLEAR_VISITOR = 0x610001d, - TBS_REQ_START_TRIBE = 0x610001e, - TBS_REQ_RECOMMEND_TRIBE = 0x6100024, - TBS_REQ_AUTH_RECOMMEND = 0x6100025, - TBS_REQ_GET_ONLINEINFO = 0x6100031, - TBS_REQ_NTF_MODIFYTRIBE = 0x6100032, - TBS_REQ_UNLOADTRIBE = 0x6100033, - TBS_REQ_GET_TRIBECARD = 0x6100034, - TBS_REQ_UPDATE_TRIBECARD = 0x6100035, - TBS_REQ_UPDATE_TRIBECARD2 = 0x610003b, - TBS_REQ_GET_MEMBERINFO = 0x6100036, - TBS_REQ_GET_TRIBEMANAGER = 0x6100037, - TBS_REQ_GET_USERTRIBE = 0x6100038, - TBS_REQ_POST_TRIBEMSG = 0x6100039, - TBS_REQ_GET_ACTLEVEL = 0x610003a, - TBS_REQ_ACTIVE_USER = 0x6100100, - TBS_REQ_DISACTIVE_USER = 0x6100101, - TBS_REQ_STOP_TRIBE = 0x6100102, - TBS_REQ_ADD_TRIBE_MEMBER = 0x6100103, - TBS_REQ_DEL_TRIBE_MEMBER = 0x6100104, - TBS_REQ_SET_TRIBE_MSG_POPUP = 0x6100041, - TBS_REQ_TRANSFER_TRIBE = 0x6100042, - -}; - -enum TBSS_RESPONSE -{ - TBS_RSP_GET_TRIBEGROUP = 0x6110001, - TBS_RSP_ADD_TRIBEGROUP = 0x6110002, - TBS_RSP_UPDATE_TRIBEGROUP = 0x6110003, - TBS_RSP_DEL_TRIBEGROUP = 0x6110004, - TBS_RSP_SHALLOW_LOGINTRIBE = 0x6110005, - TBS_RSP_DEEP_LOGINTRIBE = 0x6110006, - TBS_RSP_INVITE_TRIBE = 0x6110007, - TBS_RSP_ONINVITE_JOINTRIBE = 0x6110008, - TBS_RSP_ASK_JOINTRIBE = 0x6110009, - TBS_RSP_EXAM_ASKJOINTRIBE = 0x611000a, - TBS_RSP_CHGLEVEL_TRIBEMEMBER= 0x611000b, - TBS_RSP_CHG_TRIBEGROUP = 0x611000c, - TBS_RSP_ADD_STARMEMBER = 0x611000d, - TBS_RSP_DEL_STARMEMBER = 0x611000e, - TBS_RSP_DEL_TRIBEMEMBER = 0x611000f, - TBS_RSP_GET_TRIBEBLACK = 0x6110010, - TBS_RSP_ADD_TRIBEBLACK = 0x6110011, - TBS_RSP_DEL_TRIBEBLACK = 0x6110012, - TBS_RSP_QUIT_TRIBE = 0x6110013, - TBS_RSP_CLOSE_TRIBE = 0x6110014, - TBS_RSP_GET_TRIBEINFO = 0x6110015, - TBS_RSP_MODIFY_TRIBE = 0x6110016, - TBS_RSP_GET_TRIBEMEMBERINFO = 0x6110017, - TBS_RSP_SEND_TRIBEMSG = 0x6110018, - TBS_RSP_SET_OPEN_TRIBE = 0x611001b, - TBS_RSP_VISIT_TRIBE = 0x611001c, - TBS_RSP_CLEAR_VISITOR = 0x611001d, - TBS_RSP_START_TRIBE = 0x611001e, - TBS_RSP_ALL_TRIBELIST = 0x6110020, - TBS_RSP_RECOMMEND_TRIBE = 0x6110024, - TBS_RSP_AUTH_RECOMMEND = 0x6110025, - TBS_RSP_GET_ONLINEINFO = 0x6110031, - TBS_RSP_NTF_MODIFYTRIBE = 0x6110032, - TBS_RSP_UNLOADTRIBE = 0x6110033, - TBS_RSP_GET_TRIBECARD = 0x6110034, - TBS_RSP_UPDATE_TRIBECARD = 0x6110035, - TBS_RSP_GET_MEMBERINFO = 0x6110036, - TBS_RSP_GET_TRIBEMANAGER = 0x6110037, - TBS_RSP_GET_USERTRIBE = 0x6110038, - TBS_RSP_POST_TRIBEMSG = 0x6110039, - TBS_RSP_GET_ACTLEVEL = 0x611003a, - TBS_RSP_ACTIVE_USER = 0x6110100, - TBS_RSP_DISACTIVE_USER = 0x6110101, - TBS_RSP_STOP_TRIBE = 0x6110102, - TBS_RSP_ADD_TRIBE_MEMBER = 0x6110103, - TBS_RSP_DEL_TRIBE_MEMBER = 0x6110104, - TBS_RSP_SET_TRIBE_MSG_POPUP = 0x6110041, - TBS_RSP_TRANSFER_TRIBE = 0x6110042, - -}; - -enum TBSS_NOTIFY -{ - TBS_NTF_INVITE_TRIBE = 0x6120007, - TBS_NTF_ASK_JOINTRIBE = 0x6120009, - TBS_NTF_TRIBEMSG = 0x6120015, - TBS_NTF_TRIBE_SYSMSG = 0x6120017, - TBS_NTF_VERSION = 0x612001f, - TBS_GET_ALL_TRIBELIST = 0x6120020, - TBS_NTF_LOADTRIBE = 0x6120021, - TBS_NTF_UNLOADTRIBE = 0x6120022, - TBS_NTF_OFFLINE_MSG = 0x6120023, - TBS_NTF_RECOMMEND_TRIBE = 0x6120024, - TBS_NTF_TRANSFER_TRIBE = 0x6120025, - TBS_NTF_TRANSFER_TRIBE_SYS = 0x6120026, - -}; - -#endif diff --git a/features/aliww/include/.svn/text-base/tbss_pack.h.svn-base b/features/aliww/include/.svn/text-base/tbss_pack.h.svn-base deleted file mode 100644 index 8bf664e..0000000 --- a/features/aliww/include/.svn/text-base/tbss_pack.h.svn-base +++ /dev/null @@ -1,7264 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tbss_pack.h -// Date: 2011-01-30 12:49:26 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __TBSS_PACK_H__ -#define __TBSS_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "ss_head.h" -#include "const_macro.h" -#include "tbss_cmd.h" -#include "tbsstrc_pack.h" -#include "tgsstrc_pack.h" - -using namespace std; - -class CTbsReqGetTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_GET_TRIBEGROUP - }; - ~CTbsReqGetTribegroup() { } -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqGetTribegroup::Size() const -{ - return 1; -} -class CTbsRspGetTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_GET_TRIBEGROUP - }; - CTbsRspGetTribegroup() - { - } - - ~CTbsRspGetTribegroup() { } - CTbsRspGetTribegroup(const uint8_t& chRetcode, const VECTOR< SMemberGroup >& vecMemberGroupList) - { - m_retcode = chRetcode; - m_memberGroupList = vecMemberGroupList; - } - CTbsRspGetTribegroup& operator=( const CTbsRspGetTribegroup& cTbsRspGetTribegroup ) - { - m_retcode = cTbsRspGetTribegroup.m_retcode; - m_memberGroupList = cTbsRspGetTribegroup.m_memberGroupList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const VECTOR< SMemberGroup >& GetMemberGroupList () const { return m_memberGroupList; } - bool SetMemberGroupList ( const VECTOR< SMemberGroup >& vecMemberGroupList ) - { - m_memberGroupList = vecMemberGroupList; - return true; - } -private: - uint8_t m_retcode; - VECTOR< SMemberGroup > m_memberGroupList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspGetTribegroup::Size() const -{ - uint32_t nSize = 9; - for(uint32_t i = 0; i < m_memberGroupList.size(); i++) - { - nSize += m_memberGroupList[i].Size(); - } - return nSize; -} - -class CTbsReqAddTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_ADD_TRIBEGROUP - }; - CTbsReqAddTribegroup() - { - } - - ~CTbsReqAddTribegroup() { } - CTbsReqAddTribegroup(const string& strTribeId, const string& strGroupName, const int64_t& llParentId) - { - m_tribeId = strTribeId; - m_groupName = strGroupName; - m_parentId = llParentId; - } - CTbsReqAddTribegroup& operator=( const CTbsReqAddTribegroup& cTbsReqAddTribegroup ) - { - m_tribeId = cTbsReqAddTribegroup.m_tribeId; - m_groupName = cTbsReqAddTribegroup.m_groupName; - m_parentId = cTbsReqAddTribegroup.m_parentId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetGroupName () const { return m_groupName; } - bool SetGroupName ( const string& strGroupName ) - { - m_groupName = strGroupName; - return true; - } - const int64_t& GetParentId () const { return m_parentId; } - bool SetParentId ( const int64_t& llParentId ) - { - m_parentId = llParentId; - return true; - } -private: - string m_tribeId; - string m_groupName; - int64_t m_parentId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqAddTribegroup::Size() const -{ - uint32_t nSize = 20; - nSize += m_tribeId.length(); - nSize += m_groupName.length(); - return nSize; -} - -class CTbsRspAddTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_ADD_TRIBEGROUP - }; - CTbsRspAddTribegroup() - { - } - - ~CTbsRspAddTribegroup() { } - CTbsRspAddTribegroup(const uint8_t& chRetcode, const string& strTribeId, const SGroupInfo& sMemberGroup, const uint32_t& dwGroupStamp) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberGroup = sMemberGroup; - m_groupStamp = dwGroupStamp; - } - CTbsRspAddTribegroup& operator=( const CTbsRspAddTribegroup& cTbsRspAddTribegroup ) - { - m_retcode = cTbsRspAddTribegroup.m_retcode; - m_tribeId = cTbsRspAddTribegroup.m_tribeId; - m_memberGroup = cTbsRspAddTribegroup.m_memberGroup; - m_groupStamp = cTbsRspAddTribegroup.m_groupStamp; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const SGroupInfo& GetMemberGroup () const { return m_memberGroup; } - bool SetMemberGroup ( const SGroupInfo& sMemberGroup ) - { - m_memberGroup = sMemberGroup; - return true; - } - const uint32_t& GetGroupStamp () const { return m_groupStamp; } - bool SetGroupStamp ( const uint32_t& dwGroupStamp ) - { - m_groupStamp = dwGroupStamp; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - SGroupInfo m_memberGroup; - uint32_t m_groupStamp; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspAddTribegroup::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - nSize += m_memberGroup.Size(); - return nSize; -} - -class CTbsReqUpdateTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_UPDATE_TRIBEGROUP - }; - CTbsReqUpdateTribegroup() - { - } - - ~CTbsReqUpdateTribegroup() { } - CTbsReqUpdateTribegroup(const string& strTribeId, const int64_t& llGroupId, const string& strGroupName) - { - m_tribeId = strTribeId; - m_groupId = llGroupId; - m_groupName = strGroupName; - } - CTbsReqUpdateTribegroup& operator=( const CTbsReqUpdateTribegroup& cTbsReqUpdateTribegroup ) - { - m_tribeId = cTbsReqUpdateTribegroup.m_tribeId; - m_groupId = cTbsReqUpdateTribegroup.m_groupId; - m_groupName = cTbsReqUpdateTribegroup.m_groupName; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } - const string& GetGroupName () const { return m_groupName; } - bool SetGroupName ( const string& strGroupName ) - { - m_groupName = strGroupName; - return true; - } -private: - string m_tribeId; - int64_t m_groupId; - string m_groupName; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqUpdateTribegroup::Size() const -{ - uint32_t nSize = 20; - nSize += m_tribeId.length(); - nSize += m_groupName.length(); - return nSize; -} - -class CTbsRspUpdateTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_UPDATE_TRIBEGROUP - }; - CTbsRspUpdateTribegroup() - { - } - - ~CTbsRspUpdateTribegroup() { } - CTbsRspUpdateTribegroup(const uint8_t& chRetcode, const string& strTribeId, const SGroupInfo& sMemberGroup, const uint32_t& dwGroupStamp) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberGroup = sMemberGroup; - m_groupStamp = dwGroupStamp; - } - CTbsRspUpdateTribegroup& operator=( const CTbsRspUpdateTribegroup& cTbsRspUpdateTribegroup ) - { - m_retcode = cTbsRspUpdateTribegroup.m_retcode; - m_tribeId = cTbsRspUpdateTribegroup.m_tribeId; - m_memberGroup = cTbsRspUpdateTribegroup.m_memberGroup; - m_groupStamp = cTbsRspUpdateTribegroup.m_groupStamp; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const SGroupInfo& GetMemberGroup () const { return m_memberGroup; } - bool SetMemberGroup ( const SGroupInfo& sMemberGroup ) - { - m_memberGroup = sMemberGroup; - return true; - } - const uint32_t& GetGroupStamp () const { return m_groupStamp; } - bool SetGroupStamp ( const uint32_t& dwGroupStamp ) - { - m_groupStamp = dwGroupStamp; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - SGroupInfo m_memberGroup; - uint32_t m_groupStamp; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspUpdateTribegroup::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - nSize += m_memberGroup.Size(); - return nSize; -} - -class CTbsReqDelTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_DEL_TRIBEGROUP - }; - CTbsReqDelTribegroup() - { - } - - ~CTbsReqDelTribegroup() { } - CTbsReqDelTribegroup(const string& strTribeId, const int64_t& llGroupId) - { - m_tribeId = strTribeId; - m_groupId = llGroupId; - } - CTbsReqDelTribegroup& operator=( const CTbsReqDelTribegroup& cTbsReqDelTribegroup ) - { - m_tribeId = cTbsReqDelTribegroup.m_tribeId; - m_groupId = cTbsReqDelTribegroup.m_groupId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - string m_tribeId; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqDelTribegroup::Size() const -{ - uint32_t nSize = 15; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsRspDelTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_DEL_TRIBEGROUP - }; - CTbsRspDelTribegroup() - { - } - - ~CTbsRspDelTribegroup() { } - CTbsRspDelTribegroup(const uint8_t& chRetcode, const string& strTribeId, const int64_t& llGroupId, const uint32_t& dwGroupStamp) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_groupId = llGroupId; - m_groupStamp = dwGroupStamp; - } - CTbsRspDelTribegroup& operator=( const CTbsRspDelTribegroup& cTbsRspDelTribegroup ) - { - m_retcode = cTbsRspDelTribegroup.m_retcode; - m_tribeId = cTbsRspDelTribegroup.m_tribeId; - m_groupId = cTbsRspDelTribegroup.m_groupId; - m_groupStamp = cTbsRspDelTribegroup.m_groupStamp; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } - const uint32_t& GetGroupStamp () const { return m_groupStamp; } - bool SetGroupStamp ( const uint32_t& dwGroupStamp ) - { - m_groupStamp = dwGroupStamp; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - int64_t m_groupId; - uint32_t m_groupStamp; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspDelTribegroup::Size() const -{ - uint32_t nSize = 22; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsReqShallowLogintribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_SHALLOW_LOGINTRIBE - }; - CTbsReqShallowLogintribe() : m_language(0x804) - { - } - - ~CTbsReqShallowLogintribe() { } - CTbsReqShallowLogintribe(const uint8_t& chBasicSts, const uint8_t& chPredefSts, const string& strVersion, const uint32_t& dwLanguage= 0x804) - { - m_basicSts = chBasicSts; - m_predefSts = chPredefSts; - m_version = strVersion; - m_language = dwLanguage; - } - CTbsReqShallowLogintribe& operator=( const CTbsReqShallowLogintribe& cTbsReqShallowLogintribe ) - { - m_basicSts = cTbsReqShallowLogintribe.m_basicSts; - m_predefSts = cTbsReqShallowLogintribe.m_predefSts; - m_version = cTbsReqShallowLogintribe.m_version; - m_language = cTbsReqShallowLogintribe.m_language; - return *this; - } - - const uint8_t& GetBasicSts () const { return m_basicSts; } - bool SetBasicSts ( const uint8_t& chBasicSts ) - { - m_basicSts = chBasicSts; - return true; - } - const uint8_t& GetPredefSts () const { return m_predefSts; } - bool SetPredefSts ( const uint8_t& chPredefSts ) - { - m_predefSts = chPredefSts; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - m_version = strVersion; - return true; - } - const uint32_t& GetLanguage () const { return m_language; } - bool SetLanguage ( const uint32_t& dwLanguage ) - { - m_language = dwLanguage; - return true; - } -private: - uint8_t m_basicSts; - uint8_t m_predefSts; - string m_version; - uint32_t m_language; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqShallowLogintribe::Size() const -{ - uint32_t nSize = 15; - nSize += m_version.length(); - return nSize; -} - -class CTbsReqDeepLogintribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_DEEP_LOGINTRIBE - }; - ~CTbsReqDeepLogintribe() { } - CTbsReqDeepLogintribe(const uint32_t& dwLanguage= 0x804) - { - m_language = dwLanguage; - } - CTbsReqDeepLogintribe& operator=( const CTbsReqDeepLogintribe& cTbsReqDeepLogintribe ) - { - m_language = cTbsReqDeepLogintribe.m_language; - return *this; - } - - const uint32_t& GetLanguage () const { return m_language; } - bool SetLanguage ( const uint32_t& dwLanguage ) - { - m_language = dwLanguage; - return true; - } -private: - uint32_t m_language; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqDeepLogintribe::Size() const -{ - return 6; -} -class CTbsRspDeepLogintribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_DEEP_LOGINTRIBE - }; - CTbsRspDeepLogintribe() - { - } - - ~CTbsRspDeepLogintribe() { } - CTbsRspDeepLogintribe(const uint8_t& chRetcode, const string& strTribeId, const STribeInfo& sTribeInfo, const VECTOR< STmStatus >& vecTmStatusList, const uint32_t& dwMemberStamp, const STribeExtInfo& sExtInfo) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeInfo = sTribeInfo; - m_tmStatusList = vecTmStatusList; - m_memberStamp = dwMemberStamp; - m_extInfo = sExtInfo; - } - CTbsRspDeepLogintribe& operator=( const CTbsRspDeepLogintribe& cTbsRspDeepLogintribe ) - { - m_retcode = cTbsRspDeepLogintribe.m_retcode; - m_tribeId = cTbsRspDeepLogintribe.m_tribeId; - m_tribeInfo = cTbsRspDeepLogintribe.m_tribeInfo; - m_tmStatusList = cTbsRspDeepLogintribe.m_tmStatusList; - m_memberStamp = cTbsRspDeepLogintribe.m_memberStamp; - m_extInfo = cTbsRspDeepLogintribe.m_extInfo; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const STribeInfo& GetTribeInfo () const { return m_tribeInfo; } - bool SetTribeInfo ( const STribeInfo& sTribeInfo ) - { - m_tribeInfo = sTribeInfo; - return true; - } - const VECTOR< STmStatus >& GetTmStatusList () const { return m_tmStatusList; } - bool SetTmStatusList ( const VECTOR< STmStatus >& vecTmStatusList ) - { - m_tmStatusList = vecTmStatusList; - return true; - } - const uint32_t& GetMemberStamp () const { return m_memberStamp; } - bool SetMemberStamp ( const uint32_t& dwMemberStamp ) - { - m_memberStamp = dwMemberStamp; - return true; - } - const STribeExtInfo& GetExtInfo () const { return m_extInfo; } - bool SetExtInfo ( const STribeExtInfo& sExtInfo ) - { - m_extInfo = sExtInfo; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - STribeInfo m_tribeInfo; - VECTOR< STmStatus > m_tmStatusList; - uint32_t m_memberStamp; - STribeExtInfo m_extInfo; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspDeepLogintribe::Size() const -{ - uint32_t nSize = 21; - nSize += m_tribeId.length(); - nSize += m_tribeInfo.Size(); - for(uint32_t i = 0; i < m_tmStatusList.size(); i++) - { - nSize += m_tmStatusList[i].Size(); - } - nSize += m_extInfo.Size(); - return nSize; -} - -class CTbsReqInviteTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_INVITE_TRIBE - }; - CTbsReqInviteTribe() : m_groupId(0) - { - } - - ~CTbsReqInviteTribe() { } - CTbsReqInviteTribe(const string& strTribeId, const string& strUserId, const string& strMessage, const int64_t& llGroupId= 0) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_message = strMessage; - m_groupId = llGroupId; - } - CTbsReqInviteTribe& operator=( const CTbsReqInviteTribe& cTbsReqInviteTribe ) - { - m_tribeId = cTbsReqInviteTribe.m_tribeId; - m_userId = cTbsReqInviteTribe.m_userId; - m_message = cTbsReqInviteTribe.m_message; - m_groupId = cTbsReqInviteTribe.m_groupId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - string m_tribeId; - string m_userId; - string m_message; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqInviteTribe::Size() const -{ - uint32_t nSize = 25; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_message.length(); - return nSize; -} - -class CTbsRspInviteTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_INVITE_TRIBE - }; - CTbsRspInviteTribe() : m_groupId(0) - { - } - - ~CTbsRspInviteTribe() { } - CTbsRspInviteTribe(const uint8_t& chRetcode, const string& strTribeId, const string& strUserId, const int64_t& llGroupId= 0) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_userId = strUserId; - m_groupId = llGroupId; - } - CTbsRspInviteTribe& operator=( const CTbsRspInviteTribe& cTbsRspInviteTribe ) - { - m_retcode = cTbsRspInviteTribe.m_retcode; - m_tribeId = cTbsRspInviteTribe.m_tribeId; - m_userId = cTbsRspInviteTribe.m_userId; - m_groupId = cTbsRspInviteTribe.m_groupId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_userId; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspInviteTribe::Size() const -{ - uint32_t nSize = 22; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - return nSize; -} - -class CTbsNtfInviteTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_NTF_INVITE_TRIBE - }; - CTbsNtfInviteTribe() : m_groupId(0) - { - } - - ~CTbsNtfInviteTribe() { } - CTbsNtfInviteTribe(const string& strTribeId, const string& strManagerId, const string& strValidateCode, const string& strName, const string& strMessage, const int64_t& llGroupId= 0) - { - m_tribeId = strTribeId; - m_managerId = strManagerId; - m_validateCode = strValidateCode; - m_name = strName; - m_message = strMessage; - m_groupId = llGroupId; - } - CTbsNtfInviteTribe& operator=( const CTbsNtfInviteTribe& cTbsNtfInviteTribe ) - { - m_tribeId = cTbsNtfInviteTribe.m_tribeId; - m_managerId = cTbsNtfInviteTribe.m_managerId; - m_validateCode = cTbsNtfInviteTribe.m_validateCode; - m_name = cTbsNtfInviteTribe.m_name; - m_message = cTbsNtfInviteTribe.m_message; - m_groupId = cTbsNtfInviteTribe.m_groupId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetManagerId () const { return m_managerId; } - bool SetManagerId ( const string& strManagerId ) - { - if(strManagerId.size() > 64) - return false; - m_managerId = strManagerId; - return true; - } - const string& GetValidateCode () const { return m_validateCode; } - bool SetValidateCode ( const string& strValidateCode ) - { - if(strValidateCode.size() > 32) - return false; - m_validateCode = strValidateCode; - return true; - } - const string& GetName () const { return m_name; } - bool SetName ( const string& strName ) - { - if(strName.size() > 64) - return false; - m_name = strName; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - string m_tribeId; - string m_managerId; - string m_validateCode; - string m_name; - string m_message; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsNtfInviteTribe::Size() const -{ - uint32_t nSize = 35; - nSize += m_tribeId.length(); - nSize += m_managerId.length(); - nSize += m_validateCode.length(); - nSize += m_name.length(); - nSize += m_message.length(); - return nSize; -} - -class CTbsReqOninviteJointribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_ONINVITE_JOINTRIBE - }; - CTbsReqOninviteJointribe() : m_groupId(0), - m_type(0), - m_recommendId("") - { - } - - ~CTbsReqOninviteJointribe() { } - CTbsReqOninviteJointribe(const string& strTribeId, const string& strManagerId, const string& strValidateCode, const int64_t& llGroupId= 0, const uint8_t& chType= 0, const string& strRecommendId= "") - { - m_tribeId = strTribeId; - m_managerId = strManagerId; - m_validateCode = strValidateCode; - m_groupId = llGroupId; - m_type = chType; - m_recommendId = strRecommendId; - } - CTbsReqOninviteJointribe& operator=( const CTbsReqOninviteJointribe& cTbsReqOninviteJointribe ) - { - m_tribeId = cTbsReqOninviteJointribe.m_tribeId; - m_managerId = cTbsReqOninviteJointribe.m_managerId; - m_validateCode = cTbsReqOninviteJointribe.m_validateCode; - m_groupId = cTbsReqOninviteJointribe.m_groupId; - m_type = cTbsReqOninviteJointribe.m_type; - m_recommendId = cTbsReqOninviteJointribe.m_recommendId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetManagerId () const { return m_managerId; } - bool SetManagerId ( const string& strManagerId ) - { - if(strManagerId.size() > 64) - return false; - m_managerId = strManagerId; - return true; - } - const string& GetValidateCode () const { return m_validateCode; } - bool SetValidateCode ( const string& strValidateCode ) - { - if(strValidateCode.size() > 32) - return false; - m_validateCode = strValidateCode; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetRecommendId () const { return m_recommendId; } - bool SetRecommendId ( const string& strRecommendId ) - { - if(strRecommendId.size() > 64) - return false; - m_recommendId = strRecommendId; - return true; - } -private: - string m_tribeId; - string m_managerId; - string m_validateCode; - int64_t m_groupId; - uint8_t m_type; - string m_recommendId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqOninviteJointribe::Size() const -{ - uint32_t nSize = 32; - nSize += m_tribeId.length(); - nSize += m_managerId.length(); - nSize += m_validateCode.length(); - nSize += m_recommendId.length(); - return nSize; -} - -class CTbsRspOninviteJointribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_ONINVITE_JOINTRIBE - }; - CTbsRspOninviteJointribe() : m_groupId(0) - { - } - - ~CTbsRspOninviteJointribe() { } - CTbsRspOninviteJointribe(const uint8_t& chRetcode, const string& strTribeId, const int64_t& llGroupId= 0) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_groupId = llGroupId; - } - CTbsRspOninviteJointribe& operator=( const CTbsRspOninviteJointribe& cTbsRspOninviteJointribe ) - { - m_retcode = cTbsRspOninviteJointribe.m_retcode; - m_tribeId = cTbsRspOninviteJointribe.m_tribeId; - m_groupId = cTbsRspOninviteJointribe.m_groupId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspOninviteJointribe::Size() const -{ - uint32_t nSize = 17; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsReqAskJointribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_ASK_JOINTRIBE - }; - CTbsReqAskJointribe() - { - } - - ~CTbsReqAskJointribe() { } - CTbsReqAskJointribe(const string& strTribeId, const uint8_t& chType, const string& strInfo) - { - m_tribeId = strTribeId; - m_type = chType; - m_info = strInfo; - } - CTbsReqAskJointribe& operator=( const CTbsReqAskJointribe& cTbsReqAskJointribe ) - { - m_tribeId = cTbsReqAskJointribe.m_tribeId; - m_type = cTbsReqAskJointribe.m_type; - m_info = cTbsReqAskJointribe.m_info; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetInfo () const { return m_info; } - bool SetInfo ( const string& strInfo ) - { - m_info = strInfo; - return true; - } -private: - string m_tribeId; - uint8_t m_type; - string m_info; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqAskJointribe::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_info.length(); - return nSize; -} - -class CTbsRspAskJointribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_ASK_JOINTRIBE - }; - CTbsRspAskJointribe() : m_groupId(0) - { - } - - ~CTbsRspAskJointribe() { } - CTbsRspAskJointribe(const uint8_t& chRetcode, const string& strTribeId, const string& strTribeName, const string& strExtSign, const int64_t& llGroupId= 0) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeName = strTribeName; - m_extSign = strExtSign; - m_groupId = llGroupId; - } - CTbsRspAskJointribe& operator=( const CTbsRspAskJointribe& cTbsRspAskJointribe ) - { - m_retcode = cTbsRspAskJointribe.m_retcode; - m_tribeId = cTbsRspAskJointribe.m_tribeId; - m_tribeName = cTbsRspAskJointribe.m_tribeName; - m_extSign = cTbsRspAskJointribe.m_extSign; - m_groupId = cTbsRspAskJointribe.m_groupId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetTribeName () const { return m_tribeName; } - bool SetTribeName ( const string& strTribeName ) - { - m_tribeName = strTribeName; - return true; - } - const string& GetExtSign () const { return m_extSign; } - bool SetExtSign ( const string& strExtSign ) - { - if(strExtSign.size() > 64) - return false; - m_extSign = strExtSign; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_tribeName; - string m_extSign; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspAskJointribe::Size() const -{ - uint32_t nSize = 27; - nSize += m_tribeId.length(); - nSize += m_tribeName.length(); - nSize += m_extSign.length(); - return nSize; -} - -class CTbsNtfAskJointribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_NTF_ASK_JOINTRIBE - }; - CTbsNtfAskJointribe() - { - } - - ~CTbsNtfAskJointribe() { } - CTbsNtfAskJointribe(const string& strTribeId, const string& strUserId, const uint8_t& chType, const string& strInfo) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_type = chType; - m_info = strInfo; - } - CTbsNtfAskJointribe& operator=( const CTbsNtfAskJointribe& cTbsNtfAskJointribe ) - { - m_tribeId = cTbsNtfAskJointribe.m_tribeId; - m_userId = cTbsNtfAskJointribe.m_userId; - m_type = cTbsNtfAskJointribe.m_type; - m_info = cTbsNtfAskJointribe.m_info; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetInfo () const { return m_info; } - bool SetInfo ( const string& strInfo ) - { - m_info = strInfo; - return true; - } -private: - string m_tribeId; - string m_userId; - uint8_t m_type; - string m_info; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsNtfAskJointribe::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_info.length(); - return nSize; -} - -class CTbsReqExamAskjointribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_EXAM_ASKJOINTRIBE - }; - CTbsReqExamAskjointribe() : m_groupId(0) - { - } - - ~CTbsReqExamAskjointribe() { } - CTbsReqExamAskjointribe(const string& strTribeId, const string& strUserId, const uint8_t& chType, const string& strInfo, const int64_t& llGroupId= 0) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_type = chType; - m_info = strInfo; - m_groupId = llGroupId; - } - CTbsReqExamAskjointribe& operator=( const CTbsReqExamAskjointribe& cTbsReqExamAskjointribe ) - { - m_tribeId = cTbsReqExamAskjointribe.m_tribeId; - m_userId = cTbsReqExamAskjointribe.m_userId; - m_type = cTbsReqExamAskjointribe.m_type; - m_info = cTbsReqExamAskjointribe.m_info; - m_groupId = cTbsReqExamAskjointribe.m_groupId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetInfo () const { return m_info; } - bool SetInfo ( const string& strInfo ) - { - m_info = strInfo; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - string m_tribeId; - string m_userId; - uint8_t m_type; - string m_info; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqExamAskjointribe::Size() const -{ - uint32_t nSize = 27; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_info.length(); - return nSize; -} - -class CTbsRspExamAskjointribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_EXAM_ASKJOINTRIBE - }; - CTbsRspExamAskjointribe() : m_groupId(0) - { - } - - ~CTbsRspExamAskjointribe() { } - CTbsRspExamAskjointribe(const uint8_t& chRetcode, const string& strTribeId, const string& strUserId, const uint8_t& chType, const int64_t& llGroupId= 0) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_userId = strUserId; - m_type = chType; - m_groupId = llGroupId; - } - CTbsRspExamAskjointribe& operator=( const CTbsRspExamAskjointribe& cTbsRspExamAskjointribe ) - { - m_retcode = cTbsRspExamAskjointribe.m_retcode; - m_tribeId = cTbsRspExamAskjointribe.m_tribeId; - m_userId = cTbsRspExamAskjointribe.m_userId; - m_type = cTbsRspExamAskjointribe.m_type; - m_groupId = cTbsRspExamAskjointribe.m_groupId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_userId; - uint8_t m_type; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspExamAskjointribe::Size() const -{ - uint32_t nSize = 24; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - return nSize; -} - -class CTbsReqChglevelTribemember : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_CHGLEVEL_TRIBEMEMBER - }; - CTbsReqChglevelTribemember() - { - } - - ~CTbsReqChglevelTribemember() { } - CTbsReqChglevelTribemember(const string& strTribeId, const string& strMemberId, const uint8_t& chLevel) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_level = chLevel; - } - CTbsReqChglevelTribemember& operator=( const CTbsReqChglevelTribemember& cTbsReqChglevelTribemember ) - { - m_tribeId = cTbsReqChglevelTribemember.m_tribeId; - m_memberId = cTbsReqChglevelTribemember.m_memberId; - m_level = cTbsReqChglevelTribemember.m_level; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const uint8_t& GetLevel () const { return m_level; } - bool SetLevel ( const uint8_t& chLevel ) - { - m_level = chLevel; - return true; - } -private: - string m_tribeId; - string m_memberId; - uint8_t m_level; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqChglevelTribemember::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CTbsRspChglevelTribemember : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_CHGLEVEL_TRIBEMEMBER - }; - CTbsRspChglevelTribemember() - { - } - - ~CTbsRspChglevelTribemember() { } - CTbsRspChglevelTribemember(const uint8_t& chRetcode, const string& strTribeId, const string& strMemberId, const uint8_t& chLevel) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_level = chLevel; - } - CTbsRspChglevelTribemember& operator=( const CTbsRspChglevelTribemember& cTbsRspChglevelTribemember ) - { - m_retcode = cTbsRspChglevelTribemember.m_retcode; - m_tribeId = cTbsRspChglevelTribemember.m_tribeId; - m_memberId = cTbsRspChglevelTribemember.m_memberId; - m_level = cTbsRspChglevelTribemember.m_level; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const uint8_t& GetLevel () const { return m_level; } - bool SetLevel ( const uint8_t& chLevel ) - { - m_level = chLevel; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_memberId; - uint8_t m_level; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspChglevelTribemember::Size() const -{ - uint32_t nSize = 15; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CTbsReqChgTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_CHG_TRIBEGROUP - }; - CTbsReqChgTribegroup() - { - } - - ~CTbsReqChgTribegroup() { } - CTbsReqChgTribegroup(const string& strTribeId, const string& strMemberId, const int64_t& llGroupId) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_groupId = llGroupId; - } - CTbsReqChgTribegroup& operator=( const CTbsReqChgTribegroup& cTbsReqChgTribegroup ) - { - m_tribeId = cTbsReqChgTribegroup.m_tribeId; - m_memberId = cTbsReqChgTribegroup.m_memberId; - m_groupId = cTbsReqChgTribegroup.m_groupId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - string m_tribeId; - string m_memberId; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqChgTribegroup::Size() const -{ - uint32_t nSize = 20; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CTbsRspChgTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_CHG_TRIBEGROUP - }; - CTbsRspChgTribegroup() - { - } - - ~CTbsRspChgTribegroup() { } - CTbsRspChgTribegroup(const uint8_t& chRetcode, const string& strTribeId, const string& strMemberId, const int64_t& llGroupId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_groupId = llGroupId; - } - CTbsRspChgTribegroup& operator=( const CTbsRspChgTribegroup& cTbsRspChgTribegroup ) - { - m_retcode = cTbsRspChgTribegroup.m_retcode; - m_tribeId = cTbsRspChgTribegroup.m_tribeId; - m_memberId = cTbsRspChgTribegroup.m_memberId; - m_groupId = cTbsRspChgTribegroup.m_groupId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_memberId; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspChgTribegroup::Size() const -{ - uint32_t nSize = 22; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CTbsReqAddStarmember : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_ADD_STARMEMBER - }; - CTbsReqAddStarmember() - { - } - - ~CTbsReqAddStarmember() { } - CTbsReqAddStarmember(const string& strTribeId, const string& strMemberId) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - } - CTbsReqAddStarmember& operator=( const CTbsReqAddStarmember& cTbsReqAddStarmember ) - { - m_tribeId = cTbsReqAddStarmember.m_tribeId; - m_memberId = cTbsReqAddStarmember.m_memberId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } -private: - string m_tribeId; - string m_memberId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqAddStarmember::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CTbsRspAddStarmember : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_ADD_STARMEMBER - }; - CTbsRspAddStarmember() - { - } - - ~CTbsRspAddStarmember() { } - CTbsRspAddStarmember(const uint8_t& chRetcode, const string& strTribeId, const string& strMemberId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberId = strMemberId; - } - CTbsRspAddStarmember& operator=( const CTbsRspAddStarmember& cTbsRspAddStarmember ) - { - m_retcode = cTbsRspAddStarmember.m_retcode; - m_tribeId = cTbsRspAddStarmember.m_tribeId; - m_memberId = cTbsRspAddStarmember.m_memberId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_memberId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspAddStarmember::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CTbsReqDelStarmember : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_DEL_STARMEMBER - }; - CTbsReqDelStarmember() - { - } - - ~CTbsReqDelStarmember() { } - CTbsReqDelStarmember(const string& strTribeId, const string& strMemberId) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - } - CTbsReqDelStarmember& operator=( const CTbsReqDelStarmember& cTbsReqDelStarmember ) - { - m_tribeId = cTbsReqDelStarmember.m_tribeId; - m_memberId = cTbsReqDelStarmember.m_memberId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } -private: - string m_tribeId; - string m_memberId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqDelStarmember::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CTbsRspDelStarmember : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_DEL_STARMEMBER - }; - CTbsRspDelStarmember() - { - } - - ~CTbsRspDelStarmember() { } - CTbsRspDelStarmember(const uint8_t& chRetcode, const string& strTribeId, const string& strMemberId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberId = strMemberId; - } - CTbsRspDelStarmember& operator=( const CTbsRspDelStarmember& cTbsRspDelStarmember ) - { - m_retcode = cTbsRspDelStarmember.m_retcode; - m_tribeId = cTbsRspDelStarmember.m_tribeId; - m_memberId = cTbsRspDelStarmember.m_memberId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_memberId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspDelStarmember::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CTbsReqDelTribemember : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_DEL_TRIBEMEMBER - }; - CTbsReqDelTribemember() - { - } - - ~CTbsReqDelTribemember() { } - CTbsReqDelTribemember(const string& strTribeId, const string& strMemberId, const string& strRemark) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_remark = strRemark; - } - CTbsReqDelTribemember& operator=( const CTbsReqDelTribemember& cTbsReqDelTribemember ) - { - m_tribeId = cTbsReqDelTribemember.m_tribeId; - m_memberId = cTbsReqDelTribemember.m_memberId; - m_remark = cTbsReqDelTribemember.m_remark; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - m_remark = strRemark; - return true; - } -private: - string m_tribeId; - string m_memberId; - string m_remark; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqDelTribemember::Size() const -{ - uint32_t nSize = 16; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - nSize += m_remark.length(); - return nSize; -} - -class CTbsRspDelTribemember : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_DEL_TRIBEMEMBER - }; - CTbsRspDelTribemember() - { - } - - ~CTbsRspDelTribemember() { } - CTbsRspDelTribemember(const uint8_t& chRetcode, const string& strTribeId, const string& strMemberId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberId = strMemberId; - } - CTbsRspDelTribemember& operator=( const CTbsRspDelTribemember& cTbsRspDelTribemember ) - { - m_retcode = cTbsRspDelTribemember.m_retcode; - m_tribeId = cTbsRspDelTribemember.m_tribeId; - m_memberId = cTbsRspDelTribemember.m_memberId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_memberId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspDelTribemember::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CTbsReqGetTribeblack : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_GET_TRIBEBLACK - }; - CTbsReqGetTribeblack() - { - } - - ~CTbsReqGetTribeblack() { } - CTbsReqGetTribeblack(const string& strTribeId, const uint32_t& dwBlackStamp) - { - m_tribeId = strTribeId; - m_blackStamp = dwBlackStamp; - } - CTbsReqGetTribeblack& operator=( const CTbsReqGetTribeblack& cTbsReqGetTribeblack ) - { - m_tribeId = cTbsReqGetTribeblack.m_tribeId; - m_blackStamp = cTbsReqGetTribeblack.m_blackStamp; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint32_t& GetBlackStamp () const { return m_blackStamp; } - bool SetBlackStamp ( const uint32_t& dwBlackStamp ) - { - m_blackStamp = dwBlackStamp; - return true; - } -private: - string m_tribeId; - uint32_t m_blackStamp; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqGetTribeblack::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsRspGetTribeblack : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_GET_TRIBEBLACK - }; - CTbsRspGetTribeblack() - { - } - - ~CTbsRspGetTribeblack() { } - CTbsRspGetTribeblack(const uint8_t& chRetcode, const string& strTribeId, const VECTOR< STribeBlack >& vecBlackIdList, const uint32_t& dwBlackStamp) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_blackIdList = vecBlackIdList; - m_blackStamp = dwBlackStamp; - } - CTbsRspGetTribeblack& operator=( const CTbsRspGetTribeblack& cTbsRspGetTribeblack ) - { - m_retcode = cTbsRspGetTribeblack.m_retcode; - m_tribeId = cTbsRspGetTribeblack.m_tribeId; - m_blackIdList = cTbsRspGetTribeblack.m_blackIdList; - m_blackStamp = cTbsRspGetTribeblack.m_blackStamp; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< STribeBlack >& GetBlackIdList () const { return m_blackIdList; } - bool SetBlackIdList ( const VECTOR< STribeBlack >& vecBlackIdList ) - { - m_blackIdList = vecBlackIdList; - return true; - } - const uint32_t& GetBlackStamp () const { return m_blackStamp; } - bool SetBlackStamp ( const uint32_t& dwBlackStamp ) - { - m_blackStamp = dwBlackStamp; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - VECTOR< STribeBlack > m_blackIdList; - uint32_t m_blackStamp; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspGetTribeblack::Size() const -{ - uint32_t nSize = 19; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_blackIdList.size(); i++) - { - nSize += m_blackIdList[i].Size(); - } - return nSize; -} - -class CTbsReqAddTribeblack : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_ADD_TRIBEBLACK - }; - CTbsReqAddTribeblack() - { - } - - ~CTbsReqAddTribeblack() { } - CTbsReqAddTribeblack(const string& strTribeId, const string& strBlackUid, const string& strRemark) - { - m_tribeId = strTribeId; - m_blackUid = strBlackUid; - m_remark = strRemark; - } - CTbsReqAddTribeblack& operator=( const CTbsReqAddTribeblack& cTbsReqAddTribeblack ) - { - m_tribeId = cTbsReqAddTribeblack.m_tribeId; - m_blackUid = cTbsReqAddTribeblack.m_blackUid; - m_remark = cTbsReqAddTribeblack.m_remark; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetBlackUid () const { return m_blackUid; } - bool SetBlackUid ( const string& strBlackUid ) - { - if(strBlackUid.size() > 64) - return false; - m_blackUid = strBlackUid; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - m_remark = strRemark; - return true; - } -private: - string m_tribeId; - string m_blackUid; - string m_remark; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqAddTribeblack::Size() const -{ - uint32_t nSize = 16; - nSize += m_tribeId.length(); - nSize += m_blackUid.length(); - nSize += m_remark.length(); - return nSize; -} - -class CTbsRspAddTribeblack : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_ADD_TRIBEBLACK - }; - CTbsRspAddTribeblack() - { - } - - ~CTbsRspAddTribeblack() { } - CTbsRspAddTribeblack(const uint8_t& chRetcode, const string& strTribeId, const string& strBlackUid, const uint32_t& dwBlackStamp) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_blackUid = strBlackUid; - m_blackStamp = dwBlackStamp; - } - CTbsRspAddTribeblack& operator=( const CTbsRspAddTribeblack& cTbsRspAddTribeblack ) - { - m_retcode = cTbsRspAddTribeblack.m_retcode; - m_tribeId = cTbsRspAddTribeblack.m_tribeId; - m_blackUid = cTbsRspAddTribeblack.m_blackUid; - m_blackStamp = cTbsRspAddTribeblack.m_blackStamp; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetBlackUid () const { return m_blackUid; } - bool SetBlackUid ( const string& strBlackUid ) - { - if(strBlackUid.size() > 64) - return false; - m_blackUid = strBlackUid; - return true; - } - const uint32_t& GetBlackStamp () const { return m_blackStamp; } - bool SetBlackStamp ( const uint32_t& dwBlackStamp ) - { - m_blackStamp = dwBlackStamp; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_blackUid; - uint32_t m_blackStamp; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspAddTribeblack::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_blackUid.length(); - return nSize; -} - -class CTbsReqDelTribeblack : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_DEL_TRIBEBLACK - }; - CTbsReqDelTribeblack() - { - } - - ~CTbsReqDelTribeblack() { } - CTbsReqDelTribeblack(const string& strTribeId, const string& strBlackUid, const string& strRemark) - { - m_tribeId = strTribeId; - m_blackUid = strBlackUid; - m_remark = strRemark; - } - CTbsReqDelTribeblack& operator=( const CTbsReqDelTribeblack& cTbsReqDelTribeblack ) - { - m_tribeId = cTbsReqDelTribeblack.m_tribeId; - m_blackUid = cTbsReqDelTribeblack.m_blackUid; - m_remark = cTbsReqDelTribeblack.m_remark; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetBlackUid () const { return m_blackUid; } - bool SetBlackUid ( const string& strBlackUid ) - { - if(strBlackUid.size() > 64) - return false; - m_blackUid = strBlackUid; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - m_remark = strRemark; - return true; - } -private: - string m_tribeId; - string m_blackUid; - string m_remark; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqDelTribeblack::Size() const -{ - uint32_t nSize = 16; - nSize += m_tribeId.length(); - nSize += m_blackUid.length(); - nSize += m_remark.length(); - return nSize; -} - -class CTbsRspDelTribeblack : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_DEL_TRIBEBLACK - }; - CTbsRspDelTribeblack() - { - } - - ~CTbsRspDelTribeblack() { } - CTbsRspDelTribeblack(const uint8_t& chRetcode, const string& strTribeId, const string& strBlackUid, const uint32_t& dwBlackStamp) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_blackUid = strBlackUid; - m_blackStamp = dwBlackStamp; - } - CTbsRspDelTribeblack& operator=( const CTbsRspDelTribeblack& cTbsRspDelTribeblack ) - { - m_retcode = cTbsRspDelTribeblack.m_retcode; - m_tribeId = cTbsRspDelTribeblack.m_tribeId; - m_blackUid = cTbsRspDelTribeblack.m_blackUid; - m_blackStamp = cTbsRspDelTribeblack.m_blackStamp; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetBlackUid () const { return m_blackUid; } - bool SetBlackUid ( const string& strBlackUid ) - { - if(strBlackUid.size() > 64) - return false; - m_blackUid = strBlackUid; - return true; - } - const uint32_t& GetBlackStamp () const { return m_blackStamp; } - bool SetBlackStamp ( const uint32_t& dwBlackStamp ) - { - m_blackStamp = dwBlackStamp; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_blackUid; - uint32_t m_blackStamp; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspDelTribeblack::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_blackUid.length(); - return nSize; -} - -class CTbsReqQuitTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_QUIT_TRIBE - }; - CTbsReqQuitTribe() - { - } - - ~CTbsReqQuitTribe() { } - CTbsReqQuitTribe(const string& strTribeId, const string& strRemark) - { - m_tribeId = strTribeId; - m_remark = strRemark; - } - CTbsReqQuitTribe& operator=( const CTbsReqQuitTribe& cTbsReqQuitTribe ) - { - m_tribeId = cTbsReqQuitTribe.m_tribeId; - m_remark = cTbsReqQuitTribe.m_remark; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - m_remark = strRemark; - return true; - } -private: - string m_tribeId; - string m_remark; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqQuitTribe::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - nSize += m_remark.length(); - return nSize; -} - -class CTbsRspQuitTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_QUIT_TRIBE - }; - CTbsRspQuitTribe() - { - } - - ~CTbsRspQuitTribe() { } - CTbsRspQuitTribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CTbsRspQuitTribe& operator=( const CTbsRspQuitTribe& cTbsRspQuitTribe ) - { - m_retcode = cTbsRspQuitTribe.m_retcode; - m_tribeId = cTbsRspQuitTribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspQuitTribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsReqCloseTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_CLOSE_TRIBE - }; - CTbsReqCloseTribe() - { - } - - ~CTbsReqCloseTribe() { } - CTbsReqCloseTribe(const string& strTribeId, const string& strRemark) - { - m_tribeId = strTribeId; - m_remark = strRemark; - } - CTbsReqCloseTribe& operator=( const CTbsReqCloseTribe& cTbsReqCloseTribe ) - { - m_tribeId = cTbsReqCloseTribe.m_tribeId; - m_remark = cTbsReqCloseTribe.m_remark; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - m_remark = strRemark; - return true; - } -private: - string m_tribeId; - string m_remark; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqCloseTribe::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - nSize += m_remark.length(); - return nSize; -} - -class CTbsRspCloseTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_CLOSE_TRIBE - }; - CTbsRspCloseTribe() - { - } - - ~CTbsRspCloseTribe() { } - CTbsRspCloseTribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CTbsRspCloseTribe& operator=( const CTbsRspCloseTribe& cTbsRspCloseTribe ) - { - m_retcode = cTbsRspCloseTribe.m_retcode; - m_tribeId = cTbsRspCloseTribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspCloseTribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsReqGetTribeinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_GET_TRIBEINFO - }; - CTbsReqGetTribeinfo() - { - } - - ~CTbsReqGetTribeinfo() { } - CTbsReqGetTribeinfo(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbsReqGetTribeinfo& operator=( const CTbsReqGetTribeinfo& cTbsReqGetTribeinfo ) - { - m_tribeId = cTbsReqGetTribeinfo.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqGetTribeinfo::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsRspGetTribeinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_GET_TRIBEINFO - }; - CTbsRspGetTribeinfo() - { - } - - ~CTbsRspGetTribeinfo() { } - CTbsRspGetTribeinfo(const uint8_t& chRetcode, const string& strTribeId, const STribeInfo& sTribeInfo, const STribeExtInfo& sExtInfo) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeInfo = sTribeInfo; - m_extInfo = sExtInfo; - } - CTbsRspGetTribeinfo& operator=( const CTbsRspGetTribeinfo& cTbsRspGetTribeinfo ) - { - m_retcode = cTbsRspGetTribeinfo.m_retcode; - m_tribeId = cTbsRspGetTribeinfo.m_tribeId; - m_tribeInfo = cTbsRspGetTribeinfo.m_tribeInfo; - m_extInfo = cTbsRspGetTribeinfo.m_extInfo; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const STribeInfo& GetTribeInfo () const { return m_tribeInfo; } - bool SetTribeInfo ( const STribeInfo& sTribeInfo ) - { - m_tribeInfo = sTribeInfo; - return true; - } - const STribeExtInfo& GetExtInfo () const { return m_extInfo; } - bool SetExtInfo ( const STribeExtInfo& sExtInfo ) - { - m_extInfo = sExtInfo; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - STribeInfo m_tribeInfo; - STribeExtInfo m_extInfo; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspGetTribeinfo::Size() const -{ - uint32_t nSize = 10; - nSize += m_tribeId.length(); - nSize += m_tribeInfo.Size(); - nSize += m_extInfo.Size(); - return nSize; -} - -class CTbsReqModifyTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_MODIFY_TRIBE - }; - CTbsReqModifyTribe() - { - } - - ~CTbsReqModifyTribe() { } - CTbsReqModifyTribe(const string& strTribeId, const map< string,string >& mapItems) - { - m_tribeId = strTribeId; - m_items = mapItems; - } - CTbsReqModifyTribe& operator=( const CTbsReqModifyTribe& cTbsReqModifyTribe ) - { - m_tribeId = cTbsReqModifyTribe.m_tribeId; - m_items = cTbsReqModifyTribe.m_items; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const map< string,string >& GetItems () const { return m_items; } - bool SetItems ( const map< string,string >& mapItems ) - { - m_items = mapItems; - return true; - } -private: - string m_tribeId; - map< string,string > m_items; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqModifyTribe::Size() const -{ - uint32_t nSize = 10; - nSize += m_tribeId.length(); - nSize += m_items.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CTbsRspModifyTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_MODIFY_TRIBE - }; - CTbsRspModifyTribe() - { - } - - ~CTbsRspModifyTribe() { } - CTbsRspModifyTribe(const uint8_t& chRetcode, const string& strTribeId, const map< string,string >& mapItems) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_items = mapItems; - } - CTbsRspModifyTribe& operator=( const CTbsRspModifyTribe& cTbsRspModifyTribe ) - { - m_retcode = cTbsRspModifyTribe.m_retcode; - m_tribeId = cTbsRspModifyTribe.m_tribeId; - m_items = cTbsRspModifyTribe.m_items; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const map< string,string >& GetItems () const { return m_items; } - bool SetItems ( const map< string,string >& mapItems ) - { - m_items = mapItems; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - map< string,string > m_items; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspModifyTribe::Size() const -{ - uint32_t nSize = 12; - nSize += m_tribeId.length(); - nSize += m_items.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CTbsReqGetTribememberinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_GET_TRIBEMEMBERINFO - }; - CTbsReqGetTribememberinfo() - { - } - - ~CTbsReqGetTribememberinfo() { } - CTbsReqGetTribememberinfo(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbsReqGetTribememberinfo& operator=( const CTbsReqGetTribememberinfo& cTbsReqGetTribememberinfo ) - { - m_tribeId = cTbsReqGetTribememberinfo.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqGetTribememberinfo::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsRspGetTribememberinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_GET_TRIBEMEMBERINFO - }; - CTbsRspGetTribememberinfo() - { - } - - ~CTbsRspGetTribememberinfo() { } - CTbsRspGetTribememberinfo(const uint8_t& chRetcode, const string& strTribeId, const VECTOR< STmInfo >& vecTmInfoList) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tmInfoList = vecTmInfoList; - } - CTbsRspGetTribememberinfo& operator=( const CTbsRspGetTribememberinfo& cTbsRspGetTribememberinfo ) - { - m_retcode = cTbsRspGetTribememberinfo.m_retcode; - m_tribeId = cTbsRspGetTribememberinfo.m_tribeId; - m_tmInfoList = cTbsRspGetTribememberinfo.m_tmInfoList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< STmInfo >& GetTmInfoList () const { return m_tmInfoList; } - bool SetTmInfoList ( const VECTOR< STmInfo >& vecTmInfoList ) - { - m_tmInfoList = vecTmInfoList; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - VECTOR< STmInfo > m_tmInfoList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspGetTribememberinfo::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_tmInfoList.size(); i++) - { - nSize += m_tmInfoList[i].Size(); - } - return nSize; -} - -class CTbsReqSendTribemsg : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_SEND_TRIBEMSG - }; - CTbsReqSendTribemsg() - { - } - - ~CTbsReqSendTribemsg() { } - CTbsReqSendTribemsg(const string& strTribeId, const uint8_t& chMsgType, const string& strMessage) - { - m_tribeId = strTribeId; - m_msgType = chMsgType; - m_message = strMessage; - } - CTbsReqSendTribemsg& operator=( const CTbsReqSendTribemsg& cTbsReqSendTribemsg ) - { - m_tribeId = cTbsReqSendTribemsg.m_tribeId; - m_msgType = cTbsReqSendTribemsg.m_msgType; - m_message = cTbsReqSendTribemsg.m_message; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetMsgType () const { return m_msgType; } - bool SetMsgType ( const uint8_t& chMsgType ) - { - m_msgType = chMsgType; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_tribeId; - uint8_t m_msgType; - string m_message; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqSendTribemsg::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_message.length(); - return nSize; -} - -class CTbsRspSendTribemsg : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_SEND_TRIBEMSG - }; - CTbsRspSendTribemsg() - { - } - - ~CTbsRspSendTribemsg() { } - CTbsRspSendTribemsg(const uint8_t& chRetcode, const string& strTribeId, const string& strMessage) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_message = strMessage; - } - CTbsRspSendTribemsg& operator=( const CTbsRspSendTribemsg& cTbsRspSendTribemsg ) - { - m_retcode = cTbsRspSendTribemsg.m_retcode; - m_tribeId = cTbsRspSendTribemsg.m_tribeId; - m_message = cTbsRspSendTribemsg.m_message; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_message; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspSendTribemsg::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_message.length(); - return nSize; -} - -class CTbsNtfTribemsg : public CPackData -{ -public: - enum - { - CMD_ID = TBS_NTF_TRIBEMSG - }; - CTbsNtfTribemsg() - { - } - - ~CTbsNtfTribemsg() { } - CTbsNtfTribemsg(const string& strTribeId, const uint8_t& chOfflineFlag, const VECTOR< STribeMsg >& vecTribeMsgList) - { - m_tribeId = strTribeId; - m_offlineFlag = chOfflineFlag; - m_tribeMsgList = vecTribeMsgList; - } - CTbsNtfTribemsg& operator=( const CTbsNtfTribemsg& cTbsNtfTribemsg ) - { - m_tribeId = cTbsNtfTribemsg.m_tribeId; - m_offlineFlag = cTbsNtfTribemsg.m_offlineFlag; - m_tribeMsgList = cTbsNtfTribemsg.m_tribeMsgList; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetOfflineFlag () const { return m_offlineFlag; } - bool SetOfflineFlag ( const uint8_t& chOfflineFlag ) - { - m_offlineFlag = chOfflineFlag; - return true; - } - const VECTOR< STribeMsg >& GetTribeMsgList () const { return m_tribeMsgList; } - bool SetTribeMsgList ( const VECTOR< STribeMsg >& vecTribeMsgList ) - { - m_tribeMsgList = vecTribeMsgList; - return true; - } -private: - string m_tribeId; - uint8_t m_offlineFlag; - VECTOR< STribeMsg > m_tribeMsgList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsNtfTribemsg::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_tribeMsgList.size(); i++) - { - nSize += m_tribeMsgList[i].Size(); - } - return nSize; -} - -class CTbsNtfTribeSysmsg : public CPackData -{ -public: - enum - { - CMD_ID = TBS_NTF_TRIBE_SYSMSG - }; - CTbsNtfTribeSysmsg() - { - } - - ~CTbsNtfTribeSysmsg() { } - CTbsNtfTribeSysmsg(const string& strTribeId, const uint8_t& chOfflineFlag, const VECTOR< STribeSysmsg >& vecTribeSysmsgList) - { - m_tribeId = strTribeId; - m_offlineFlag = chOfflineFlag; - m_tribeSysmsgList = vecTribeSysmsgList; - } - CTbsNtfTribeSysmsg& operator=( const CTbsNtfTribeSysmsg& cTbsNtfTribeSysmsg ) - { - m_tribeId = cTbsNtfTribeSysmsg.m_tribeId; - m_offlineFlag = cTbsNtfTribeSysmsg.m_offlineFlag; - m_tribeSysmsgList = cTbsNtfTribeSysmsg.m_tribeSysmsgList; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetOfflineFlag () const { return m_offlineFlag; } - bool SetOfflineFlag ( const uint8_t& chOfflineFlag ) - { - m_offlineFlag = chOfflineFlag; - return true; - } - const VECTOR< STribeSysmsg >& GetTribeSysmsgList () const { return m_tribeSysmsgList; } - bool SetTribeSysmsgList ( const VECTOR< STribeSysmsg >& vecTribeSysmsgList ) - { - m_tribeSysmsgList = vecTribeSysmsgList; - return true; - } -private: - string m_tribeId; - uint8_t m_offlineFlag; - VECTOR< STribeSysmsg > m_tribeSysmsgList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsNtfTribeSysmsg::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_tribeSysmsgList.size(); i++) - { - nSize += m_tribeSysmsgList[i].Size(); - } - return nSize; -} - -class CTbsReqSetOpenTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_SET_OPEN_TRIBE - }; - CTbsReqSetOpenTribe() - { - } - - ~CTbsReqSetOpenTribe() { } - CTbsReqSetOpenTribe(const uint8_t& chOpenTribe) - { - m_openTribe = chOpenTribe; - } - CTbsReqSetOpenTribe& operator=( const CTbsReqSetOpenTribe& cTbsReqSetOpenTribe ) - { - m_openTribe = cTbsReqSetOpenTribe.m_openTribe; - return *this; - } - - const uint8_t& GetOpenTribe () const { return m_openTribe; } - bool SetOpenTribe ( const uint8_t& chOpenTribe ) - { - m_openTribe = chOpenTribe; - return true; - } -private: - uint8_t m_openTribe; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqSetOpenTribe::Size() const -{ - return 3; -} -class CTbsRspSetOpenTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_SET_OPEN_TRIBE - }; - CTbsRspSetOpenTribe() - { - } - - ~CTbsRspSetOpenTribe() { } - CTbsRspSetOpenTribe(const uint8_t& chRetcode, const uint8_t& chOpenTribe) - { - m_retcode = chRetcode; - m_openTribe = chOpenTribe; - } - CTbsRspSetOpenTribe& operator=( const CTbsRspSetOpenTribe& cTbsRspSetOpenTribe ) - { - m_retcode = cTbsRspSetOpenTribe.m_retcode; - m_openTribe = cTbsRspSetOpenTribe.m_openTribe; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint8_t& GetOpenTribe () const { return m_openTribe; } - bool SetOpenTribe ( const uint8_t& chOpenTribe ) - { - m_openTribe = chOpenTribe; - return true; - } -private: - uint8_t m_retcode; - uint8_t m_openTribe; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspSetOpenTribe::Size() const -{ - return 5; -} -class CTbsReqVisitTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_VISIT_TRIBE - }; - CTbsReqVisitTribe() : m_language(0x804) - { - } - - ~CTbsReqVisitTribe() { } - CTbsReqVisitTribe(const string& strTribeId, const uint32_t& dwLanguage= 0x804) - { - m_tribeId = strTribeId; - m_language = dwLanguage; - } - CTbsReqVisitTribe& operator=( const CTbsReqVisitTribe& cTbsReqVisitTribe ) - { - m_tribeId = cTbsReqVisitTribe.m_tribeId; - m_language = cTbsReqVisitTribe.m_language; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint32_t& GetLanguage () const { return m_language; } - bool SetLanguage ( const uint32_t& dwLanguage ) - { - m_language = dwLanguage; - return true; - } -private: - string m_tribeId; - uint32_t m_language; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqVisitTribe::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsRspVisitTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_VISIT_TRIBE - }; - CTbsRspVisitTribe() - { - } - - ~CTbsRspVisitTribe() { } - CTbsRspVisitTribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CTbsRspVisitTribe& operator=( const CTbsRspVisitTribe& cTbsRspVisitTribe ) - { - m_retcode = cTbsRspVisitTribe.m_retcode; - m_tribeId = cTbsRspVisitTribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspVisitTribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsReqClearVisitor : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_CLEAR_VISITOR - }; - CTbsReqClearVisitor() - { - } - - ~CTbsReqClearVisitor() { } - CTbsReqClearVisitor(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbsReqClearVisitor& operator=( const CTbsReqClearVisitor& cTbsReqClearVisitor ) - { - m_tribeId = cTbsReqClearVisitor.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqClearVisitor::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsRspClearVisitor : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_CLEAR_VISITOR - }; - CTbsRspClearVisitor() - { - } - - ~CTbsRspClearVisitor() { } - CTbsRspClearVisitor(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CTbsRspClearVisitor& operator=( const CTbsRspClearVisitor& cTbsRspClearVisitor ) - { - m_retcode = cTbsRspClearVisitor.m_retcode; - m_tribeId = cTbsRspClearVisitor.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspClearVisitor::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsReqStartTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_START_TRIBE - }; - CTbsReqStartTribe() - { - } - - ~CTbsReqStartTribe() { } - CTbsReqStartTribe(const string& strTribeId, const map< string,string >& mapItems) - { - m_tribeId = strTribeId; - m_items = mapItems; - } - CTbsReqStartTribe& operator=( const CTbsReqStartTribe& cTbsReqStartTribe ) - { - m_tribeId = cTbsReqStartTribe.m_tribeId; - m_items = cTbsReqStartTribe.m_items; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const map< string,string >& GetItems () const { return m_items; } - bool SetItems ( const map< string,string >& mapItems ) - { - m_items = mapItems; - return true; - } -private: - string m_tribeId; - map< string,string > m_items; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqStartTribe::Size() const -{ - uint32_t nSize = 10; - nSize += m_tribeId.length(); - nSize += m_items.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CTbsRspStartTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_START_TRIBE - }; - CTbsRspStartTribe() - { - } - - ~CTbsRspStartTribe() { } - CTbsRspStartTribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CTbsRspStartTribe& operator=( const CTbsRspStartTribe& cTbsRspStartTribe ) - { - m_retcode = cTbsRspStartTribe.m_retcode; - m_tribeId = cTbsRspStartTribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspStartTribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsGetAllTribelist : public CPackData -{ -public: - enum - { - CMD_ID = TBS_GET_ALL_TRIBELIST - }; - ~CTbsGetAllTribelist() { } -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsGetAllTribelist::Size() const -{ - return 1; -} -class CTbsRspAllTribelist : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_ALL_TRIBELIST - }; - CTbsRspAllTribelist() - { - } - - ~CTbsRspAllTribelist() { } - CTbsRspAllTribelist(const VECTOR< uint32_t >& vecTribeIdList) - { - m_tribeIdList = vecTribeIdList; - } - CTbsRspAllTribelist& operator=( const CTbsRspAllTribelist& cTbsRspAllTribelist ) - { - m_tribeIdList = cTbsRspAllTribelist.m_tribeIdList; - return *this; - } - - const VECTOR< uint32_t >& GetTribeIdList () const { return m_tribeIdList; } - bool SetTribeIdList ( const VECTOR< uint32_t >& vecTribeIdList ) - { - m_tribeIdList = vecTribeIdList; - return true; - } -private: - VECTOR< uint32_t > m_tribeIdList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspAllTribelist::Size() const -{ - uint32_t nSize = 7; - nSize += m_tribeIdList.size() * 4; - return nSize; -} - -class CTbsNtfLoadtribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_NTF_LOADTRIBE - }; - CTbsNtfLoadtribe() - { - } - - ~CTbsNtfLoadtribe() { } - CTbsNtfLoadtribe(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbsNtfLoadtribe& operator=( const CTbsNtfLoadtribe& cTbsNtfLoadtribe ) - { - m_tribeId = cTbsNtfLoadtribe.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsNtfLoadtribe::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsNtfUnloadtribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_NTF_UNLOADTRIBE - }; - CTbsNtfUnloadtribe() - { - } - - ~CTbsNtfUnloadtribe() { } - CTbsNtfUnloadtribe(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbsNtfUnloadtribe& operator=( const CTbsNtfUnloadtribe& cTbsNtfUnloadtribe ) - { - m_tribeId = cTbsNtfUnloadtribe.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsNtfUnloadtribe::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsReqGetOnlineinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_GET_ONLINEINFO - }; - CTbsReqGetOnlineinfo() - { - } - - ~CTbsReqGetOnlineinfo() { } - CTbsReqGetOnlineinfo(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbsReqGetOnlineinfo& operator=( const CTbsReqGetOnlineinfo& cTbsReqGetOnlineinfo ) - { - m_tribeId = cTbsReqGetOnlineinfo.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqGetOnlineinfo::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsRspGetOnlineinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_GET_ONLINEINFO - }; - CTbsRspGetOnlineinfo() - { - } - - ~CTbsRspGetOnlineinfo() { } - CTbsRspGetOnlineinfo(const uint8_t& chRetcode, const string& strTribeId, const uint32_t& dwMemberNum, const uint32_t& dwVisitorNum) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberNum = dwMemberNum; - m_visitorNum = dwVisitorNum; - } - CTbsRspGetOnlineinfo& operator=( const CTbsRspGetOnlineinfo& cTbsRspGetOnlineinfo ) - { - m_retcode = cTbsRspGetOnlineinfo.m_retcode; - m_tribeId = cTbsRspGetOnlineinfo.m_tribeId; - m_memberNum = cTbsRspGetOnlineinfo.m_memberNum; - m_visitorNum = cTbsRspGetOnlineinfo.m_visitorNum; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint32_t& GetMemberNum () const { return m_memberNum; } - bool SetMemberNum ( const uint32_t& dwMemberNum ) - { - m_memberNum = dwMemberNum; - return true; - } - const uint32_t& GetVisitorNum () const { return m_visitorNum; } - bool SetVisitorNum ( const uint32_t& dwVisitorNum ) - { - m_visitorNum = dwVisitorNum; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - uint32_t m_memberNum; - uint32_t m_visitorNum; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspGetOnlineinfo::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsReqNtfModifytribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_NTF_MODIFYTRIBE - }; - CTbsReqNtfModifytribe() - { - } - - ~CTbsReqNtfModifytribe() { } - CTbsReqNtfModifytribe(const string& strTribeId, const string& strUserId, const VECTOR< SModifyItem >& vecItemList) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_itemList = vecItemList; - } - CTbsReqNtfModifytribe& operator=( const CTbsReqNtfModifytribe& cTbsReqNtfModifytribe ) - { - m_tribeId = cTbsReqNtfModifytribe.m_tribeId; - m_userId = cTbsReqNtfModifytribe.m_userId; - m_itemList = cTbsReqNtfModifytribe.m_itemList; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const VECTOR< SModifyItem >& GetItemList () const { return m_itemList; } - bool SetItemList ( const VECTOR< SModifyItem >& vecItemList ) - { - m_itemList = vecItemList; - return true; - } -private: - string m_tribeId; - string m_userId; - VECTOR< SModifyItem > m_itemList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqNtfModifytribe::Size() const -{ - uint32_t nSize = 17; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - for(uint32_t i = 0; i < m_itemList.size(); i++) - { - nSize += m_itemList[i].Size(); - } - return nSize; -} - -class CTbsRspNtfModifytribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_NTF_MODIFYTRIBE - }; - CTbsRspNtfModifytribe() - { - } - - ~CTbsRspNtfModifytribe() { } - CTbsRspNtfModifytribe(const uint8_t& chRetcode, const string& strTribeId, const string& strUserId, const VECTOR< SModifyItem >& vecItemList) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_userId = strUserId; - m_itemList = vecItemList; - } - CTbsRspNtfModifytribe& operator=( const CTbsRspNtfModifytribe& cTbsRspNtfModifytribe ) - { - m_retcode = cTbsRspNtfModifytribe.m_retcode; - m_tribeId = cTbsRspNtfModifytribe.m_tribeId; - m_userId = cTbsRspNtfModifytribe.m_userId; - m_itemList = cTbsRspNtfModifytribe.m_itemList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const VECTOR< SModifyItem >& GetItemList () const { return m_itemList; } - bool SetItemList ( const VECTOR< SModifyItem >& vecItemList ) - { - m_itemList = vecItemList; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_userId; - VECTOR< SModifyItem > m_itemList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspNtfModifytribe::Size() const -{ - uint32_t nSize = 19; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - for(uint32_t i = 0; i < m_itemList.size(); i++) - { - nSize += m_itemList[i].Size(); - } - return nSize; -} - -class CTbsReqUnloadtribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_UNLOADTRIBE - }; - CTbsReqUnloadtribe() - { - } - - ~CTbsReqUnloadtribe() { } - CTbsReqUnloadtribe(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbsReqUnloadtribe& operator=( const CTbsReqUnloadtribe& cTbsReqUnloadtribe ) - { - m_tribeId = cTbsReqUnloadtribe.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqUnloadtribe::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsRspUnloadtribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_UNLOADTRIBE - }; - CTbsRspUnloadtribe() - { - } - - ~CTbsRspUnloadtribe() { } - CTbsRspUnloadtribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CTbsRspUnloadtribe& operator=( const CTbsRspUnloadtribe& cTbsRspUnloadtribe ) - { - m_retcode = cTbsRspUnloadtribe.m_retcode; - m_tribeId = cTbsRspUnloadtribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspUnloadtribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -struct STribeCard -{ -public: - STribeCard() - { - } - - ~STribeCard() { } - STribeCard(const string& strRealName, const string& strPhone, const string& strMobile, const string& strEmail, const string& strAddr, const string& strMemo) - { - m_realName = strRealName; - m_phone = strPhone; - m_mobile = strMobile; - m_email = strEmail; - m_addr = strAddr; - m_memo = strMemo; - } - STribeCard& operator=( const STribeCard& sTribeCard ) - { - m_realName = sTribeCard.m_realName; - m_phone = sTribeCard.m_phone; - m_mobile = sTribeCard.m_mobile; - m_email = sTribeCard.m_email; - m_addr = sTribeCard.m_addr; - m_memo = sTribeCard.m_memo; - return *this; - } - - string m_realName; - string m_phone; - string m_mobile; - string m_email; - string m_addr; - string m_memo; - -public: - uint32_t Size() const; -}; - -inline uint32_t STribeCard::Size() const -{ - uint32_t nSize = 31; - nSize += m_realName.length(); - nSize += m_phone.length(); - nSize += m_mobile.length(); - nSize += m_email.length(); - nSize += m_addr.length(); - nSize += m_memo.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeCard& sTribeCard ); -CPackData& operator>> ( CPackData& cPackData, STribeCard& sTribeCard ); - -class CTbsReqGetTribecard : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_GET_TRIBECARD - }; - ~CTbsReqGetTribecard() { } -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqGetTribecard::Size() const -{ - return 1; -} -class CTbsRspGetTribecard : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_GET_TRIBECARD - }; - CTbsRspGetTribecard() - { - } - - ~CTbsRspGetTribecard() { } - CTbsRspGetTribecard(const uint8_t& chRetcode, const string& strTribeId, const STribeCard& sTribeCard) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeCard = sTribeCard; - } - CTbsRspGetTribecard& operator=( const CTbsRspGetTribecard& cTbsRspGetTribecard ) - { - m_retcode = cTbsRspGetTribecard.m_retcode; - m_tribeId = cTbsRspGetTribecard.m_tribeId; - m_tribeCard = cTbsRspGetTribecard.m_tribeCard; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const STribeCard& GetTribeCard () const { return m_tribeCard; } - bool SetTribeCard ( const STribeCard& sTribeCard ) - { - m_tribeCard = sTribeCard; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - STribeCard m_tribeCard; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspGetTribecard::Size() const -{ - uint32_t nSize = 9; - nSize += m_tribeId.length(); - nSize += m_tribeCard.Size(); - return nSize; -} - -class CTbsReqUpdateTribecard : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_UPDATE_TRIBECARD - }; - CTbsReqUpdateTribecard() - { - } - - ~CTbsReqUpdateTribecard() { } - CTbsReqUpdateTribecard(const map< string,string >& mapItems) - { - m_items = mapItems; - } - CTbsReqUpdateTribecard& operator=( const CTbsReqUpdateTribecard& cTbsReqUpdateTribecard ) - { - m_items = cTbsReqUpdateTribecard.m_items; - return *this; - } - - const map< string,string >& GetItems () const { return m_items; } - bool SetItems ( const map< string,string >& mapItems ) - { - m_items = mapItems; - return true; - } -private: - map< string,string > m_items; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqUpdateTribecard::Size() const -{ - uint32_t nSize = 5; - nSize += m_items.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CTbsReqUpdateTribecard2 : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_UPDATE_TRIBECARD2 - }; - CTbsReqUpdateTribecard2() - { - } - - ~CTbsReqUpdateTribecard2() { } - CTbsReqUpdateTribecard2(const string& strTribeId, const string& strMemberId, const map< string,string >& mapItems) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_items = mapItems; - } - CTbsReqUpdateTribecard2& operator=( const CTbsReqUpdateTribecard2& cTbsReqUpdateTribecard2 ) - { - m_tribeId = cTbsReqUpdateTribecard2.m_tribeId; - m_memberId = cTbsReqUpdateTribecard2.m_memberId; - m_items = cTbsReqUpdateTribecard2.m_items; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const map< string,string >& GetItems () const { return m_items; } - bool SetItems ( const map< string,string >& mapItems ) - { - m_items = mapItems; - return true; - } -private: - string m_tribeId; - string m_memberId; - map< string,string > m_items; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqUpdateTribecard2::Size() const -{ - uint32_t nSize = 15; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - nSize += m_items.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CTbsRspUpdateTribecard : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_UPDATE_TRIBECARD - }; - CTbsRspUpdateTribecard() - { - } - - ~CTbsRspUpdateTribecard() { } - CTbsRspUpdateTribecard(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CTbsRspUpdateTribecard& operator=( const CTbsRspUpdateTribecard& cTbsRspUpdateTribecard ) - { - m_retcode = cTbsRspUpdateTribecard.m_retcode; - m_tribeId = cTbsRspUpdateTribecard.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspUpdateTribecard::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsReqGetMemberinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_GET_MEMBERINFO - }; - CTbsReqGetMemberinfo() - { - } - - ~CTbsReqGetMemberinfo() { } - CTbsReqGetMemberinfo(const string& strTribeId, const string& strUserId) - { - m_tribeId = strTribeId; - m_userId = strUserId; - } - CTbsReqGetMemberinfo& operator=( const CTbsReqGetMemberinfo& cTbsReqGetMemberinfo ) - { - m_tribeId = cTbsReqGetMemberinfo.m_tribeId; - m_userId = cTbsReqGetMemberinfo.m_userId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } -private: - string m_tribeId; - string m_userId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqGetMemberinfo::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - return nSize; -} - -class CTbsRspGetMemberinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_GET_MEMBERINFO - }; - CTbsRspGetMemberinfo() - { - } - - ~CTbsRspGetMemberinfo() { } - CTbsRspGetMemberinfo(const uint8_t& chRetcode, const string& strTribeId, const string& strUserId, const STmInfo& sMemberInfo) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_userId = strUserId; - m_memberInfo = sMemberInfo; - } - CTbsRspGetMemberinfo& operator=( const CTbsRspGetMemberinfo& cTbsRspGetMemberinfo ) - { - m_retcode = cTbsRspGetMemberinfo.m_retcode; - m_tribeId = cTbsRspGetMemberinfo.m_tribeId; - m_userId = cTbsRspGetMemberinfo.m_userId; - m_memberInfo = cTbsRspGetMemberinfo.m_memberInfo; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const STmInfo& GetMemberInfo () const { return m_memberInfo; } - bool SetMemberInfo ( const STmInfo& sMemberInfo ) - { - m_memberInfo = sMemberInfo; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_userId; - STmInfo m_memberInfo; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspGetMemberinfo::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_memberInfo.Size(); - return nSize; -} - -class CTbsReqGetTribemanager : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_GET_TRIBEMANAGER - }; - CTbsReqGetTribemanager() - { - } - - ~CTbsReqGetTribemanager() { } - CTbsReqGetTribemanager(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbsReqGetTribemanager& operator=( const CTbsReqGetTribemanager& cTbsReqGetTribemanager ) - { - m_tribeId = cTbsReqGetTribemanager.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqGetTribemanager::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsRspGetTribemanager : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_GET_TRIBEMANAGER - }; - CTbsRspGetTribemanager() - { - } - - ~CTbsRspGetTribemanager() { } - CTbsRspGetTribemanager(const uint8_t& chRetcode, const string& strTribeId, const VECTOR< string >& vecManagerList) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_managerList = vecManagerList; - } - CTbsRspGetTribemanager& operator=( const CTbsRspGetTribemanager& cTbsRspGetTribemanager ) - { - m_retcode = cTbsRspGetTribemanager.m_retcode; - m_tribeId = cTbsRspGetTribemanager.m_tribeId; - m_managerList = cTbsRspGetTribemanager.m_managerList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< string >& GetManagerList () const { return m_managerList; } - bool SetManagerList ( const VECTOR< string >& vecManagerList ) - { - m_managerList = vecManagerList; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - VECTOR< string > m_managerList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspGetTribemanager::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - nSize += m_managerList.size() * 4; - for(uint32_t i = 0; i < m_managerList.size(); i++) - { - nSize += m_managerList[i].length(); - } - return nSize; -} - -class CTbsReqGetUsertribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_GET_USERTRIBE - }; - CTbsReqGetUsertribe() - { - } - - ~CTbsReqGetUsertribe() { } - CTbsReqGetUsertribe(const string& strUserId) - { - m_userId = strUserId; - } - CTbsReqGetUsertribe& operator=( const CTbsReqGetUsertribe& cTbsReqGetUsertribe ) - { - m_userId = cTbsReqGetUsertribe.m_userId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } -private: - string m_userId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqGetUsertribe::Size() const -{ - uint32_t nSize = 6; - nSize += m_userId.length(); - return nSize; -} - -class CTbsRspGetUsertribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_GET_USERTRIBE - }; - CTbsRspGetUsertribe() - { - } - - ~CTbsRspGetUsertribe() { } - CTbsRspGetUsertribe(const uint8_t& chRetcode, const string& strUserId, const VECTOR< STribeId >& vecTribeList) - { - m_retcode = chRetcode; - m_userId = strUserId; - m_tribeList = vecTribeList; - } - CTbsRspGetUsertribe& operator=( const CTbsRspGetUsertribe& cTbsRspGetUsertribe ) - { - m_retcode = cTbsRspGetUsertribe.m_retcode; - m_userId = cTbsRspGetUsertribe.m_userId; - m_tribeList = cTbsRspGetUsertribe.m_tribeList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const VECTOR< STribeId >& GetTribeList () const { return m_tribeList; } - bool SetTribeList ( const VECTOR< STribeId >& vecTribeList ) - { - m_tribeList = vecTribeList; - return true; - } -private: - uint8_t m_retcode; - string m_userId; - VECTOR< STribeId > m_tribeList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspGetUsertribe::Size() const -{ - uint32_t nSize = 14; - nSize += m_userId.length(); - for(uint32_t i = 0; i < m_tribeList.size(); i++) - { - nSize += m_tribeList[i].Size(); - } - return nSize; -} - -class CTbsReqPostTribemsg : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_POST_TRIBEMSG - }; - CTbsReqPostTribemsg() : m_msgType(1) - { - } - - ~CTbsReqPostTribemsg() { } - CTbsReqPostTribemsg(const string& strTribeId, const string& strUserId, const string& strMessage, const uint8_t& chMsgType= 1) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_message = strMessage; - m_msgType = chMsgType; - } - CTbsReqPostTribemsg& operator=( const CTbsReqPostTribemsg& cTbsReqPostTribemsg ) - { - m_tribeId = cTbsReqPostTribemsg.m_tribeId; - m_userId = cTbsReqPostTribemsg.m_userId; - m_message = cTbsReqPostTribemsg.m_message; - m_msgType = cTbsReqPostTribemsg.m_msgType; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const uint8_t& GetMsgType () const { return m_msgType; } - bool SetMsgType ( const uint8_t& chMsgType ) - { - m_msgType = chMsgType; - return true; - } -private: - string m_tribeId; - string m_userId; - string m_message; - uint8_t m_msgType; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqPostTribemsg::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_message.length(); - return nSize; -} - -class CTbsRspPostTribemsg : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_POST_TRIBEMSG - }; - CTbsRspPostTribemsg() : m_msgType(1) - { - } - - ~CTbsRspPostTribemsg() { } - CTbsRspPostTribemsg(const uint8_t& chRetcode, const string& strTribeId, const string& strUserId, const string& strMessage, const uint8_t& chMsgType= 1) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_userId = strUserId; - m_message = strMessage; - m_msgType = chMsgType; - } - CTbsRspPostTribemsg& operator=( const CTbsRspPostTribemsg& cTbsRspPostTribemsg ) - { - m_retcode = cTbsRspPostTribemsg.m_retcode; - m_tribeId = cTbsRspPostTribemsg.m_tribeId; - m_userId = cTbsRspPostTribemsg.m_userId; - m_message = cTbsRspPostTribemsg.m_message; - m_msgType = cTbsRspPostTribemsg.m_msgType; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const uint8_t& GetMsgType () const { return m_msgType; } - bool SetMsgType ( const uint8_t& chMsgType ) - { - m_msgType = chMsgType; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_userId; - string m_message; - uint8_t m_msgType; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspPostTribemsg::Size() const -{ - uint32_t nSize = 20; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_message.length(); - return nSize; -} - -class CTbsReqGetActlevel : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_GET_ACTLEVEL - }; - CTbsReqGetActlevel() - { - } - - ~CTbsReqGetActlevel() { } - CTbsReqGetActlevel(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbsReqGetActlevel& operator=( const CTbsReqGetActlevel& cTbsReqGetActlevel ) - { - m_tribeId = cTbsReqGetActlevel.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqGetActlevel::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsRspGetActlevel : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_GET_ACTLEVEL - }; - CTbsRspGetActlevel() - { - } - - ~CTbsRspGetActlevel() { } - CTbsRspGetActlevel(const uint8_t& chRetcode, const string& strTribeId, const uint32_t& dwActiveLevel) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_activeLevel = dwActiveLevel; - } - CTbsRspGetActlevel& operator=( const CTbsRspGetActlevel& cTbsRspGetActlevel ) - { - m_retcode = cTbsRspGetActlevel.m_retcode; - m_tribeId = cTbsRspGetActlevel.m_tribeId; - m_activeLevel = cTbsRspGetActlevel.m_activeLevel; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint32_t& GetActiveLevel () const { return m_activeLevel; } - bool SetActiveLevel ( const uint32_t& dwActiveLevel ) - { - m_activeLevel = dwActiveLevel; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - uint32_t m_activeLevel; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspGetActlevel::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsNtfOfflineMsg : public CPackData -{ -public: - enum - { - CMD_ID = TBS_NTF_OFFLINE_MSG - }; - CTbsNtfOfflineMsg() - { - } - - ~CTbsNtfOfflineMsg() { } - CTbsNtfOfflineMsg(const string& strTribeId, const VECTOR< STribeMsg >& vecOfflineMsgList, const VECTOR< STmMsgid >& vecMemberMsgid) - { - m_tribeId = strTribeId; - m_offlineMsgList = vecOfflineMsgList; - m_memberMsgid = vecMemberMsgid; - } - CTbsNtfOfflineMsg& operator=( const CTbsNtfOfflineMsg& cTbsNtfOfflineMsg ) - { - m_tribeId = cTbsNtfOfflineMsg.m_tribeId; - m_offlineMsgList = cTbsNtfOfflineMsg.m_offlineMsgList; - m_memberMsgid = cTbsNtfOfflineMsg.m_memberMsgid; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< STribeMsg >& GetOfflineMsgList () const { return m_offlineMsgList; } - bool SetOfflineMsgList ( const VECTOR< STribeMsg >& vecOfflineMsgList ) - { - m_offlineMsgList = vecOfflineMsgList; - return true; - } - const VECTOR< STmMsgid >& GetMemberMsgid () const { return m_memberMsgid; } - bool SetMemberMsgid ( const VECTOR< STmMsgid >& vecMemberMsgid ) - { - m_memberMsgid = vecMemberMsgid; - return true; - } -private: - string m_tribeId; - VECTOR< STribeMsg > m_offlineMsgList; - VECTOR< STmMsgid > m_memberMsgid; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsNtfOfflineMsg::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_offlineMsgList.size(); i++) - { - nSize += m_offlineMsgList[i].Size(); - } - for(uint32_t i = 0; i < m_memberMsgid.size(); i++) - { - nSize += m_memberMsgid[i].Size(); - } - return nSize; -} - -class CTbsReqRecommendTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_RECOMMEND_TRIBE - }; - CTbsReqRecommendTribe() - { - } - - ~CTbsReqRecommendTribe() { } - CTbsReqRecommendTribe(const string& strTribeId, const VECTOR< string >& vecUserList, const string& strMessage) - { - m_tribeId = strTribeId; - m_userList = vecUserList; - m_message = strMessage; - } - CTbsReqRecommendTribe& operator=( const CTbsReqRecommendTribe& cTbsReqRecommendTribe ) - { - m_tribeId = cTbsReqRecommendTribe.m_tribeId; - m_userList = cTbsReqRecommendTribe.m_userList; - m_message = cTbsReqRecommendTribe.m_message; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< string >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< string >& vecUserList ) - { - m_userList = vecUserList; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_tribeId; - VECTOR< string > m_userList; - string m_message; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqRecommendTribe::Size() const -{ - uint32_t nSize = 17; - nSize += m_tribeId.length(); - nSize += m_userList.size() * 4; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].length(); - } - nSize += m_message.length(); - return nSize; -} - -class CTbsRspRecommendTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_RECOMMEND_TRIBE - }; - CTbsRspRecommendTribe() - { - } - - ~CTbsRspRecommendTribe() { } - CTbsRspRecommendTribe(const uint8_t& chRetcode, const string& strTribeId, const VECTOR< string >& vecUserList) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_userList = vecUserList; - } - CTbsRspRecommendTribe& operator=( const CTbsRspRecommendTribe& cTbsRspRecommendTribe ) - { - m_retcode = cTbsRspRecommendTribe.m_retcode; - m_tribeId = cTbsRspRecommendTribe.m_tribeId; - m_userList = cTbsRspRecommendTribe.m_userList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< string >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< string >& vecUserList ) - { - m_userList = vecUserList; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - VECTOR< string > m_userList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspRecommendTribe::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - nSize += m_userList.size() * 4; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].length(); - } - return nSize; -} - -class CTbsNtfRecommendTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_NTF_RECOMMEND_TRIBE - }; - CTbsNtfRecommendTribe() - { - } - - ~CTbsNtfRecommendTribe() { } - CTbsNtfRecommendTribe(const string& strTribeId, const string& strMemberId, const VECTOR< string >& vecUserList, const string& strMessage) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_userList = vecUserList; - m_message = strMessage; - } - CTbsNtfRecommendTribe& operator=( const CTbsNtfRecommendTribe& cTbsNtfRecommendTribe ) - { - m_tribeId = cTbsNtfRecommendTribe.m_tribeId; - m_memberId = cTbsNtfRecommendTribe.m_memberId; - m_userList = cTbsNtfRecommendTribe.m_userList; - m_message = cTbsNtfRecommendTribe.m_message; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const VECTOR< string >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< string >& vecUserList ) - { - m_userList = vecUserList; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_tribeId; - string m_memberId; - VECTOR< string > m_userList; - string m_message; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsNtfRecommendTribe::Size() const -{ - uint32_t nSize = 22; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - nSize += m_userList.size() * 4; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].length(); - } - nSize += m_message.length(); - return nSize; -} - -class CTbsReqAuthRecommend : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_AUTH_RECOMMEND - }; - CTbsReqAuthRecommend() - { - } - - ~CTbsReqAuthRecommend() { } - CTbsReqAuthRecommend(const string& strTribeId, const string& strMemberId, const VECTOR< string >& vecUserList, const int64_t& llGroupId) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_userList = vecUserList; - m_groupId = llGroupId; - } - CTbsReqAuthRecommend& operator=( const CTbsReqAuthRecommend& cTbsReqAuthRecommend ) - { - m_tribeId = cTbsReqAuthRecommend.m_tribeId; - m_memberId = cTbsReqAuthRecommend.m_memberId; - m_userList = cTbsReqAuthRecommend.m_userList; - m_groupId = cTbsReqAuthRecommend.m_groupId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const VECTOR< string >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< string >& vecUserList ) - { - m_userList = vecUserList; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - string m_tribeId; - string m_memberId; - VECTOR< string > m_userList; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqAuthRecommend::Size() const -{ - uint32_t nSize = 26; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - nSize += m_userList.size() * 4; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].length(); - } - return nSize; -} - -class CTbsRspAuthRecommend : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_AUTH_RECOMMEND - }; - CTbsRspAuthRecommend() - { - } - - ~CTbsRspAuthRecommend() { } - CTbsRspAuthRecommend(const uint8_t& chRetcode, const string& strTribeId, const string& strMemberId, const VECTOR< string >& vecUserList, const int64_t& llGroupId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_userList = vecUserList; - m_groupId = llGroupId; - } - CTbsRspAuthRecommend& operator=( const CTbsRspAuthRecommend& cTbsRspAuthRecommend ) - { - m_retcode = cTbsRspAuthRecommend.m_retcode; - m_tribeId = cTbsRspAuthRecommend.m_tribeId; - m_memberId = cTbsRspAuthRecommend.m_memberId; - m_userList = cTbsRspAuthRecommend.m_userList; - m_groupId = cTbsRspAuthRecommend.m_groupId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const VECTOR< string >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< string >& vecUserList ) - { - m_userList = vecUserList; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_memberId; - VECTOR< string > m_userList; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspAuthRecommend::Size() const -{ - uint32_t nSize = 28; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - nSize += m_userList.size() * 4; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].length(); - } - return nSize; -} - -class CTbsNtfVersion : public CPackData -{ -public: - enum - { - CMD_ID = TBS_NTF_VERSION - }; - CTbsNtfVersion() - { - } - - ~CTbsNtfVersion() { } - CTbsNtfVersion(const string& strVersion) - { - m_version = strVersion; - } - CTbsNtfVersion& operator=( const CTbsNtfVersion& cTbsNtfVersion ) - { - m_version = cTbsNtfVersion.m_version; - return *this; - } - - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - m_version = strVersion; - return true; - } -private: - string m_version; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsNtfVersion::Size() const -{ - uint32_t nSize = 6; - nSize += m_version.length(); - return nSize; -} - -class CTbsReqActiveUser : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_ACTIVE_USER - }; - CTbsReqActiveUser() - { - } - - ~CTbsReqActiveUser() { } - CTbsReqActiveUser(const string& strTribeId, const string& strUserId, const string& strWebUid) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_webUid = strWebUid; - } - CTbsReqActiveUser& operator=( const CTbsReqActiveUser& cTbsReqActiveUser ) - { - m_tribeId = cTbsReqActiveUser.m_tribeId; - m_userId = cTbsReqActiveUser.m_userId; - m_webUid = cTbsReqActiveUser.m_webUid; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetWebUid () const { return m_webUid; } - bool SetWebUid ( const string& strWebUid ) - { - m_webUid = strWebUid; - return true; - } -private: - string m_tribeId; - string m_userId; - string m_webUid; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqActiveUser::Size() const -{ - uint32_t nSize = 16; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_webUid.length(); - return nSize; -} - -class CTbsReqDisactiveUser : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_DISACTIVE_USER - }; - CTbsReqDisactiveUser() - { - } - - ~CTbsReqDisactiveUser() { } - CTbsReqDisactiveUser(const string& strTribeId, const string& strUserId, const string& strWebUid) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_webUid = strWebUid; - } - CTbsReqDisactiveUser& operator=( const CTbsReqDisactiveUser& cTbsReqDisactiveUser ) - { - m_tribeId = cTbsReqDisactiveUser.m_tribeId; - m_userId = cTbsReqDisactiveUser.m_userId; - m_webUid = cTbsReqDisactiveUser.m_webUid; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetWebUid () const { return m_webUid; } - bool SetWebUid ( const string& strWebUid ) - { - m_webUid = strWebUid; - return true; - } -private: - string m_tribeId; - string m_userId; - string m_webUid; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqDisactiveUser::Size() const -{ - uint32_t nSize = 16; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_webUid.length(); - return nSize; -} - -class CTbsReqStopTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_STOP_TRIBE - }; - CTbsReqStopTribe() - { - } - - ~CTbsReqStopTribe() { } - CTbsReqStopTribe(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbsReqStopTribe& operator=( const CTbsReqStopTribe& cTbsReqStopTribe ) - { - m_tribeId = cTbsReqStopTribe.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqStopTribe::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsRspStopTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_STOP_TRIBE - }; - CTbsRspStopTribe() - { - } - - ~CTbsRspStopTribe() { } - CTbsRspStopTribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CTbsRspStopTribe& operator=( const CTbsRspStopTribe& cTbsRspStopTribe ) - { - m_retcode = cTbsRspStopTribe.m_retcode; - m_tribeId = cTbsRspStopTribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspStopTribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsReqAddTribeMember : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_ADD_TRIBE_MEMBER - }; - CTbsReqAddTribeMember() - { - } - - ~CTbsReqAddTribeMember() { } - CTbsReqAddTribeMember(const string& strTribeId, const uint8_t& chTribeLevel, const string& strUserId, const string& strName) - { - m_tribeId = strTribeId; - m_tribeLevel = chTribeLevel; - m_userId = strUserId; - m_name = strName; - } - CTbsReqAddTribeMember& operator=( const CTbsReqAddTribeMember& cTbsReqAddTribeMember ) - { - m_tribeId = cTbsReqAddTribeMember.m_tribeId; - m_tribeLevel = cTbsReqAddTribeMember.m_tribeLevel; - m_userId = cTbsReqAddTribeMember.m_userId; - m_name = cTbsReqAddTribeMember.m_name; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetTribeLevel () const { return m_tribeLevel; } - bool SetTribeLevel ( const uint8_t& chTribeLevel ) - { - m_tribeLevel = chTribeLevel; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetName () const { return m_name; } - bool SetName ( const string& strName ) - { - m_name = strName; - return true; - } -private: - string m_tribeId; - uint8_t m_tribeLevel; - string m_userId; - string m_name; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqAddTribeMember::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_name.length(); - return nSize; -} - -class CTbsRspAddTribeMember : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_ADD_TRIBE_MEMBER - }; - CTbsRspAddTribeMember() - { - } - - ~CTbsRspAddTribeMember() { } - CTbsRspAddTribeMember(const uint8_t& chRetcode, const string& strTribeId, const uint8_t& chTribeLevel, const string& strUserId, const string& strName) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeLevel = chTribeLevel; - m_userId = strUserId; - m_name = strName; - } - CTbsRspAddTribeMember& operator=( const CTbsRspAddTribeMember& cTbsRspAddTribeMember ) - { - m_retcode = cTbsRspAddTribeMember.m_retcode; - m_tribeId = cTbsRspAddTribeMember.m_tribeId; - m_tribeLevel = cTbsRspAddTribeMember.m_tribeLevel; - m_userId = cTbsRspAddTribeMember.m_userId; - m_name = cTbsRspAddTribeMember.m_name; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetTribeLevel () const { return m_tribeLevel; } - bool SetTribeLevel ( const uint8_t& chTribeLevel ) - { - m_tribeLevel = chTribeLevel; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetName () const { return m_name; } - bool SetName ( const string& strName ) - { - m_name = strName; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - uint8_t m_tribeLevel; - string m_userId; - string m_name; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspAddTribeMember::Size() const -{ - uint32_t nSize = 20; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_name.length(); - return nSize; -} - -class CTbsReqDelTribeMember : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_DEL_TRIBE_MEMBER - }; - CTbsReqDelTribeMember() - { - } - - ~CTbsReqDelTribeMember() { } - CTbsReqDelTribeMember(const string& strTribeId, const uint8_t& chTribeLevel, const string& strUserId, const string& strOperId) - { - m_tribeId = strTribeId; - m_tribeLevel = chTribeLevel; - m_userId = strUserId; - m_operId = strOperId; - } - CTbsReqDelTribeMember& operator=( const CTbsReqDelTribeMember& cTbsReqDelTribeMember ) - { - m_tribeId = cTbsReqDelTribeMember.m_tribeId; - m_tribeLevel = cTbsReqDelTribeMember.m_tribeLevel; - m_userId = cTbsReqDelTribeMember.m_userId; - m_operId = cTbsReqDelTribeMember.m_operId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetTribeLevel () const { return m_tribeLevel; } - bool SetTribeLevel ( const uint8_t& chTribeLevel ) - { - m_tribeLevel = chTribeLevel; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetOperId () const { return m_operId; } - bool SetOperId ( const string& strOperId ) - { - m_operId = strOperId; - return true; - } -private: - string m_tribeId; - uint8_t m_tribeLevel; - string m_userId; - string m_operId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqDelTribeMember::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_operId.length(); - return nSize; -} - -class CTbsRspDelTribeMember : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_DEL_TRIBE_MEMBER - }; - CTbsRspDelTribeMember() - { - } - - ~CTbsRspDelTribeMember() { } - CTbsRspDelTribeMember(const uint8_t& chRetcode, const string& strTribeId, const uint8_t& chTribeLevel, const string& strUserId, const string& strOperId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeLevel = chTribeLevel; - m_userId = strUserId; - m_operId = strOperId; - } - CTbsRspDelTribeMember& operator=( const CTbsRspDelTribeMember& cTbsRspDelTribeMember ) - { - m_retcode = cTbsRspDelTribeMember.m_retcode; - m_tribeId = cTbsRspDelTribeMember.m_tribeId; - m_tribeLevel = cTbsRspDelTribeMember.m_tribeLevel; - m_userId = cTbsRspDelTribeMember.m_userId; - m_operId = cTbsRspDelTribeMember.m_operId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetTribeLevel () const { return m_tribeLevel; } - bool SetTribeLevel ( const uint8_t& chTribeLevel ) - { - m_tribeLevel = chTribeLevel; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetOperId () const { return m_operId; } - bool SetOperId ( const string& strOperId ) - { - m_operId = strOperId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - uint8_t m_tribeLevel; - string m_userId; - string m_operId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspDelTribeMember::Size() const -{ - uint32_t nSize = 20; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_operId.length(); - return nSize; -} - -class CTbsReqSetTribeMsgPopup : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_SET_TRIBE_MSG_POPUP - }; - CTbsReqSetTribeMsgPopup() - { - } - - ~CTbsReqSetTribeMsgPopup() { } - CTbsReqSetTribeMsgPopup(const string& strTribeId, const uint8_t& chMsgPopup) - { - m_tribeId = strTribeId; - m_msgPopup = chMsgPopup; - } - CTbsReqSetTribeMsgPopup& operator=( const CTbsReqSetTribeMsgPopup& cTbsReqSetTribeMsgPopup ) - { - m_tribeId = cTbsReqSetTribeMsgPopup.m_tribeId; - m_msgPopup = cTbsReqSetTribeMsgPopup.m_msgPopup; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetMsgPopup () const { return m_msgPopup; } - bool SetMsgPopup ( const uint8_t& chMsgPopup ) - { - m_msgPopup = chMsgPopup; - return true; - } -private: - string m_tribeId; - uint8_t m_msgPopup; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqSetTribeMsgPopup::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsRspSetTribeMsgPopup : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_SET_TRIBE_MSG_POPUP - }; - CTbsRspSetTribeMsgPopup() - { - } - - ~CTbsRspSetTribeMsgPopup() { } - CTbsRspSetTribeMsgPopup(const uint8_t& chRetcode, const string& strTribeId, const uint8_t& chMsgPopup) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_msgPopup = chMsgPopup; - } - CTbsRspSetTribeMsgPopup& operator=( const CTbsRspSetTribeMsgPopup& cTbsRspSetTribeMsgPopup ) - { - m_retcode = cTbsRspSetTribeMsgPopup.m_retcode; - m_tribeId = cTbsRspSetTribeMsgPopup.m_tribeId; - m_msgPopup = cTbsRspSetTribeMsgPopup.m_msgPopup; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetMsgPopup () const { return m_msgPopup; } - bool SetMsgPopup ( const uint8_t& chMsgPopup ) - { - m_msgPopup = chMsgPopup; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - uint8_t m_msgPopup; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspSetTribeMsgPopup::Size() const -{ - uint32_t nSize = 10; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsReqTransferTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_TRANSFER_TRIBE - }; - CTbsReqTransferTribe() - { - } - - ~CTbsReqTransferTribe() { } - CTbsReqTransferTribe(const string& strTribeId, const string& strTransferId) - { - m_tribeId = strTribeId; - m_transferId = strTransferId; - } - CTbsReqTransferTribe& operator=( const CTbsReqTransferTribe& cTbsReqTransferTribe ) - { - m_tribeId = cTbsReqTransferTribe.m_tribeId; - m_transferId = cTbsReqTransferTribe.m_transferId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetTransferId () const { return m_transferId; } - bool SetTransferId ( const string& strTransferId ) - { - if(strTransferId.size() > 64) - return false; - m_transferId = strTransferId; - return true; - } -private: - string m_tribeId; - string m_transferId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqTransferTribe::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - nSize += m_transferId.length(); - return nSize; -} - -class CTbsRspTransferTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_TRANSFER_TRIBE - }; - CTbsRspTransferTribe() - { - } - - ~CTbsRspTransferTribe() { } - CTbsRspTransferTribe(const uint8_t& chRetcode, const string& strTribeId, const string& strAltTribeId, const string& strRctOwnerId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_altTribeId = strAltTribeId; - m_rctOwnerId = strRctOwnerId; - } - CTbsRspTransferTribe& operator=( const CTbsRspTransferTribe& cTbsRspTransferTribe ) - { - m_retcode = cTbsRspTransferTribe.m_retcode; - m_tribeId = cTbsRspTransferTribe.m_tribeId; - m_altTribeId = cTbsRspTransferTribe.m_altTribeId; - m_rctOwnerId = cTbsRspTransferTribe.m_rctOwnerId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetAltTribeId () const { return m_altTribeId; } - bool SetAltTribeId ( const string& strAltTribeId ) - { - if(strAltTribeId.size() > 20) - return false; - m_altTribeId = strAltTribeId; - return true; - } - const string& GetRctOwnerId () const { return m_rctOwnerId; } - bool SetRctOwnerId ( const string& strRctOwnerId ) - { - if(strRctOwnerId.size() > 64) - return false; - m_rctOwnerId = strRctOwnerId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_altTribeId; - string m_rctOwnerId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspTransferTribe::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_altTribeId.length(); - nSize += m_rctOwnerId.length(); - return nSize; -} - -class CTbsNtfTransferTribeSys : public CPackData -{ -public: - enum - { - CMD_ID = TBS_NTF_TRANSFER_TRIBE_SYS - }; - CTbsNtfTransferTribeSys() - { - } - - ~CTbsNtfTransferTribeSys() { } - CTbsNtfTransferTribeSys(const string& strOwner, const string& strTribeId, const string& strTribeInfo) - { - m_owner = strOwner; - m_tribeId = strTribeId; - m_tribeInfo = strTribeInfo; - } - CTbsNtfTransferTribeSys& operator=( const CTbsNtfTransferTribeSys& cTbsNtfTransferTribeSys ) - { - m_owner = cTbsNtfTransferTribeSys.m_owner; - m_tribeId = cTbsNtfTransferTribeSys.m_tribeId; - m_tribeInfo = cTbsNtfTransferTribeSys.m_tribeInfo; - return *this; - } - - const string& GetOwner () const { return m_owner; } - bool SetOwner ( const string& strOwner ) - { - if(strOwner.size() > 64) - return false; - m_owner = strOwner; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetTribeInfo () const { return m_tribeInfo; } - bool SetTribeInfo ( const string& strTribeInfo ) - { - m_tribeInfo = strTribeInfo; - return true; - } -private: - string m_owner; - string m_tribeId; - string m_tribeInfo; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsNtfTransferTribeSys::Size() const -{ - uint32_t nSize = 16; - nSize += m_owner.length(); - nSize += m_tribeId.length(); - nSize += m_tribeInfo.length(); - return nSize; -} - -class CTbsNtfTransferTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_NTF_TRANSFER_TRIBE - }; - CTbsNtfTransferTribe() - { - } - - ~CTbsNtfTransferTribe() { } - CTbsNtfTransferTribe(const string& strTribeId, const string& strOccupiedTribeId, const string& strTribeInfo) - { - m_tribeId = strTribeId; - m_occupiedTribeId = strOccupiedTribeId; - m_tribeInfo = strTribeInfo; - } - CTbsNtfTransferTribe& operator=( const CTbsNtfTransferTribe& cTbsNtfTransferTribe ) - { - m_tribeId = cTbsNtfTransferTribe.m_tribeId; - m_occupiedTribeId = cTbsNtfTransferTribe.m_occupiedTribeId; - m_tribeInfo = cTbsNtfTransferTribe.m_tribeInfo; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetOccupiedTribeId () const { return m_occupiedTribeId; } - bool SetOccupiedTribeId ( const string& strOccupiedTribeId ) - { - if(strOccupiedTribeId.size() > 20) - return false; - m_occupiedTribeId = strOccupiedTribeId; - return true; - } - const string& GetTribeInfo () const { return m_tribeInfo; } - bool SetTribeInfo ( const string& strTribeInfo ) - { - m_tribeInfo = strTribeInfo; - return true; - } -private: - string m_tribeId; - string m_occupiedTribeId; - string m_tribeInfo; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsNtfTransferTribe::Size() const -{ - uint32_t nSize = 16; - nSize += m_tribeId.length(); - nSize += m_occupiedTribeId.length(); - nSize += m_tribeInfo.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/.svn/text-base/tbsstrc_pack.h.svn-base b/features/aliww/include/.svn/text-base/tbsstrc_pack.h.svn-base deleted file mode 100644 index 336a7df..0000000 --- a/features/aliww/include/.svn/text-base/tbsstrc_pack.h.svn-base +++ /dev/null @@ -1,644 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tbsstrc_pack.h -// Date: 2011-01-30 12:50:13 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __TBSSTRC_PACK_H__ -#define __TBSSTRC_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "const_macro.h" - -using namespace std; - -struct SGroupInfo -{ -public: - SGroupInfo() - { - } - - ~SGroupInfo() { } - SGroupInfo(const int64_t& llGroupId, const int64_t& llParentId, const string& strGroupName) - { - m_groupId = llGroupId; - m_parentId = llParentId; - m_groupName = strGroupName; - } - SGroupInfo& operator=( const SGroupInfo& sGroupInfo ) - { - m_groupId = sGroupInfo.m_groupId; - m_parentId = sGroupInfo.m_parentId; - m_groupName = sGroupInfo.m_groupName; - return *this; - } - - int64_t m_groupId; - int64_t m_parentId; - string m_groupName; - -public: - uint32_t Size() const; -}; - -inline uint32_t SGroupInfo::Size() const -{ - uint32_t nSize = 24; - nSize += m_groupName.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SGroupInfo& sGroupInfo ); -CPackData& operator>> ( CPackData& cPackData, SGroupInfo& sGroupInfo ); - -struct SMemberGroup -{ -public: - SMemberGroup() - { - } - - ~SMemberGroup() { } - SMemberGroup(const string& strTribeId, const VECTOR< SGroupInfo >& vecGroupList, const uint32_t& dwGroupStamp) - { - m_tribeId = strTribeId; - m_groupList = vecGroupList; - m_groupStamp = dwGroupStamp; - } - SMemberGroup& operator=( const SMemberGroup& sMemberGroup ) - { - m_tribeId = sMemberGroup.m_tribeId; - m_groupList = sMemberGroup.m_groupList; - m_groupStamp = sMemberGroup.m_groupStamp; - return *this; - } - - string m_tribeId; - VECTOR< SGroupInfo > m_groupList; - uint32_t m_groupStamp; - -public: - uint32_t Size() const; -}; - -inline uint32_t SMemberGroup::Size() const -{ - uint32_t nSize = 17; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_groupList.size(); i++) - { - nSize += m_groupList[i].Size(); - } - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SMemberGroup& sMemberGroup ); -CPackData& operator>> ( CPackData& cPackData, SMemberGroup& sMemberGroup ); - -struct STribeInfo -{ -public: - STribeInfo() : m_maxMembers(300), - m_webTribeId("") - { - } - - ~STribeInfo() { } - STribeInfo(const string& strTribeId, const string& strTribeName, const string& strMasterid, const uint8_t& chClass, const string& strDescribe, const string& strBulletin, const uint8_t& chCheckMode, const string& strPassword, const string& strKeyword, const uint8_t& chAllowVisitor, const uint8_t& chForbidSearch, const string& strExtSign, const uint8_t& chOpenTribe, const uint32_t& dwMaxMembers= 300, const string& strWebTribeId= "") - { - m_tribeId = strTribeId; - m_tribeName = strTribeName; - m_masterid = strMasterid; - m_class = chClass; - m_describe = strDescribe; - m_bulletin = strBulletin; - m_checkMode = chCheckMode; - m_password = strPassword; - m_keyword = strKeyword; - m_allowVisitor = chAllowVisitor; - m_forbidSearch = chForbidSearch; - m_extSign = strExtSign; - m_openTribe = chOpenTribe; - m_maxMembers = dwMaxMembers; - m_webTribeId = strWebTribeId; - } - STribeInfo& operator=( const STribeInfo& sTribeInfo ) - { - m_tribeId = sTribeInfo.m_tribeId; - m_tribeName = sTribeInfo.m_tribeName; - m_masterid = sTribeInfo.m_masterid; - m_class = sTribeInfo.m_class; - m_describe = sTribeInfo.m_describe; - m_bulletin = sTribeInfo.m_bulletin; - m_checkMode = sTribeInfo.m_checkMode; - m_password = sTribeInfo.m_password; - m_keyword = sTribeInfo.m_keyword; - m_allowVisitor = sTribeInfo.m_allowVisitor; - m_forbidSearch = sTribeInfo.m_forbidSearch; - m_extSign = sTribeInfo.m_extSign; - m_openTribe = sTribeInfo.m_openTribe; - m_maxMembers = sTribeInfo.m_maxMembers; - m_webTribeId = sTribeInfo.m_webTribeId; - return *this; - } - - string m_tribeId; - string m_tribeName; - string m_masterid; - uint8_t m_class; - string m_describe; - string m_bulletin; - uint8_t m_checkMode; - string m_password; - string m_keyword; - uint8_t m_allowVisitor; - uint8_t m_forbidSearch; - string m_extSign; - uint8_t m_openTribe; - uint32_t m_maxMembers; - string m_webTribeId; - -public: - uint32_t Size() const; -}; - -inline uint32_t STribeInfo::Size() const -{ - uint32_t nSize = 61; - nSize += m_tribeId.length(); - nSize += m_tribeName.length(); - nSize += m_masterid.length(); - nSize += m_describe.length(); - nSize += m_bulletin.length(); - nSize += m_password.length(); - nSize += m_keyword.length(); - nSize += m_extSign.length(); - nSize += m_webTribeId.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeInfo& sTribeInfo ); -CPackData& operator>> ( CPackData& cPackData, STribeInfo& sTribeInfo ); - -struct STribeExtInfo -{ -public: - ~STribeExtInfo() { } - STribeExtInfo(const uint8_t& chTribeLevel= 0, const uint32_t& dwActiveDegree= 0, const string& strTitle= "", const string& strUrl= "", const uint8_t& chMsgPopup= 0) - { - m_tribeLevel = chTribeLevel; - m_activeDegree = dwActiveDegree; - m_title = strTitle; - m_url = strUrl; - m_msgPopup = chMsgPopup; - } - STribeExtInfo& operator=( const STribeExtInfo& sTribeExtInfo ) - { - m_tribeLevel = sTribeExtInfo.m_tribeLevel; - m_activeDegree = sTribeExtInfo.m_activeDegree; - m_title = sTribeExtInfo.m_title; - m_url = sTribeExtInfo.m_url; - m_msgPopup = sTribeExtInfo.m_msgPopup; - return *this; - } - - uint8_t m_tribeLevel; - uint32_t m_activeDegree; - string m_title; - string m_url; - uint8_t m_msgPopup; - -public: - uint32_t Size() const; -}; - -inline uint32_t STribeExtInfo::Size() const -{ - uint32_t nSize = 20; - nSize += m_title.length(); - nSize += m_url.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeExtInfo& sTribeExtInfo ); -CPackData& operator>> ( CPackData& cPackData, STribeExtInfo& sTribeExtInfo ); - -struct STmStatus -{ -public: - STmStatus() : m_name("") - { - } - - ~STmStatus() { } - STmStatus(const string& strMemberId, const uint8_t& chBasicSts, const uint8_t& chPredefSts, const uint8_t& chTribeLevel, const string& strName= "") - { - m_memberId = strMemberId; - m_basicSts = chBasicSts; - m_predefSts = chPredefSts; - m_tribeLevel = chTribeLevel; - m_name = strName; - } - STmStatus& operator=( const STmStatus& sTmStatus ) - { - m_memberId = sTmStatus.m_memberId; - m_basicSts = sTmStatus.m_basicSts; - m_predefSts = sTmStatus.m_predefSts; - m_tribeLevel = sTmStatus.m_tribeLevel; - m_name = sTmStatus.m_name; - return *this; - } - - string m_memberId; - uint8_t m_basicSts; - uint8_t m_predefSts; - uint8_t m_tribeLevel; - string m_name; - -public: - uint32_t Size() const; -}; - -inline uint32_t STmStatus::Size() const -{ - uint32_t nSize = 17; - nSize += m_memberId.length(); - nSize += m_name.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const STmStatus& sTmStatus ); -CPackData& operator>> ( CPackData& cPackData, STmStatus& sTmStatus ); - -struct STmMsgid -{ -public: - STmMsgid() - { - } - - ~STmMsgid() { } - STmMsgid(const string& strMemberId, const uint8_t& chBasicSts, const uint8_t& chPredefSts, const uint32_t& dwLastMsgid) - { - m_memberId = strMemberId; - m_basicSts = chBasicSts; - m_predefSts = chPredefSts; - m_lastMsgid = dwLastMsgid; - } - STmMsgid& operator=( const STmMsgid& sTmMsgid ) - { - m_memberId = sTmMsgid.m_memberId; - m_basicSts = sTmMsgid.m_basicSts; - m_predefSts = sTmMsgid.m_predefSts; - m_lastMsgid = sTmMsgid.m_lastMsgid; - return *this; - } - - string m_memberId; - uint8_t m_basicSts; - uint8_t m_predefSts; - uint32_t m_lastMsgid; - -public: - uint32_t Size() const; -}; - -inline uint32_t STmMsgid::Size() const -{ - uint32_t nSize = 15; - nSize += m_memberId.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const STmMsgid& sTmMsgid ); -CPackData& operator>> ( CPackData& cPackData, STmMsgid& sTmMsgid ); - -struct STribeBlack -{ -public: - STribeBlack() - { - } - - ~STribeBlack() { } - STribeBlack(const string& strUserId, const string& strManagerId, const string& strAddDate, const string& strRemark) - { - m_userId = strUserId; - m_managerId = strManagerId; - m_addDate = strAddDate; - m_remark = strRemark; - } - STribeBlack& operator=( const STribeBlack& sTribeBlack ) - { - m_userId = sTribeBlack.m_userId; - m_managerId = sTribeBlack.m_managerId; - m_addDate = sTribeBlack.m_addDate; - m_remark = sTribeBlack.m_remark; - return *this; - } - - string m_userId; - string m_managerId; - string m_addDate; - string m_remark; - -public: - uint32_t Size() const; -}; - -inline uint32_t STribeBlack::Size() const -{ - uint32_t nSize = 21; - nSize += m_userId.length(); - nSize += m_managerId.length(); - nSize += m_addDate.length(); - nSize += m_remark.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeBlack& sTribeBlack ); -CPackData& operator>> ( CPackData& cPackData, STribeBlack& sTribeBlack ); - -struct STmInfo -{ -public: - STmInfo() - { - } - - ~STmInfo() { } - STmInfo(const string& strMemberId, const string& strName, const uint8_t& chBasicSts, const uint8_t& chPredefSts, const uint8_t& chTribeLevel, const uint8_t& chActiveLevel, const uint32_t& dwLastmsgTime, const int64_t& llGroupId, const uint8_t& chMobileBindflag, const string& strMobileNo) - { - m_memberId = strMemberId; - m_name = strName; - m_basicSts = chBasicSts; - m_predefSts = chPredefSts; - m_tribeLevel = chTribeLevel; - m_activeLevel = chActiveLevel; - m_lastmsgTime = dwLastmsgTime; - m_groupId = llGroupId; - m_mobileBindflag = chMobileBindflag; - m_mobileNo = strMobileNo; - } - STmInfo& operator=( const STmInfo& sTmInfo ) - { - m_memberId = sTmInfo.m_memberId; - m_name = sTmInfo.m_name; - m_basicSts = sTmInfo.m_basicSts; - m_predefSts = sTmInfo.m_predefSts; - m_tribeLevel = sTmInfo.m_tribeLevel; - m_activeLevel = sTmInfo.m_activeLevel; - m_lastmsgTime = sTmInfo.m_lastmsgTime; - m_groupId = sTmInfo.m_groupId; - m_mobileBindflag = sTmInfo.m_mobileBindflag; - m_mobileNo = sTmInfo.m_mobileNo; - return *this; - } - - string m_memberId; - string m_name; - uint8_t m_basicSts; - uint8_t m_predefSts; - uint8_t m_tribeLevel; - uint8_t m_activeLevel; - uint32_t m_lastmsgTime; - int64_t m_groupId; - uint8_t m_mobileBindflag; - string m_mobileNo; - -public: - uint32_t Size() const; -}; - -inline uint32_t STmInfo::Size() const -{ - uint32_t nSize = 40; - nSize += m_memberId.length(); - nSize += m_name.length(); - nSize += m_mobileNo.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const STmInfo& sTmInfo ); -CPackData& operator>> ( CPackData& cPackData, STmInfo& sTmInfo ); - -struct STribeMsg -{ -public: - STribeMsg() - { - } - - ~STribeMsg() { } - STribeMsg(const string& strFromId, const uint8_t& chMsgType, const string& strMessage, const uint32_t& dwSendTime) - { - m_fromId = strFromId; - m_msgType = chMsgType; - m_message = strMessage; - m_sendTime = dwSendTime; - } - STribeMsg& operator=( const STribeMsg& sTribeMsg ) - { - m_fromId = sTribeMsg.m_fromId; - m_msgType = sTribeMsg.m_msgType; - m_message = sTribeMsg.m_message; - m_sendTime = sTribeMsg.m_sendTime; - return *this; - } - - string m_fromId; - uint8_t m_msgType; - string m_message; - uint32_t m_sendTime; - -public: - uint32_t Size() const; -}; - -inline uint32_t STribeMsg::Size() const -{ - uint32_t nSize = 18; - nSize += m_fromId.length(); - nSize += m_message.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeMsg& sTribeMsg ); -CPackData& operator>> ( CPackData& cPackData, STribeMsg& sTribeMsg ); - -struct STribeSysmsg -{ -public: - STribeSysmsg() : m_format(0), - m_title("ϵͳÌáʾ"), - m_stayTime(10000), - m_showBottom(1) - { - } - - ~STribeSysmsg() { } - STribeSysmsg(const uint8_t& chMsgType, const string& strMessage, const uint32_t& dwSendTime, const uint8_t& chFormat, const string& strContent, const string& strTitle= "ϵͳÌáʾ", const uint32_t& dwStayTime= 10000, const int32_t& lShowBottom= 1) - { - m_msgType = chMsgType; - m_message = strMessage; - m_sendTime = dwSendTime; - m_format = chFormat; - m_content = strContent; - m_title = strTitle; - m_stayTime = dwStayTime; - m_showBottom = lShowBottom; - } - STribeSysmsg& operator=( const STribeSysmsg& sTribeSysmsg ) - { - m_msgType = sTribeSysmsg.m_msgType; - m_message = sTribeSysmsg.m_message; - m_sendTime = sTribeSysmsg.m_sendTime; - m_format = sTribeSysmsg.m_format; - m_content = sTribeSysmsg.m_content; - m_title = sTribeSysmsg.m_title; - m_stayTime = sTribeSysmsg.m_stayTime; - m_showBottom = sTribeSysmsg.m_showBottom; - return *this; - } - - uint8_t m_msgType; - string m_message; - uint32_t m_sendTime; - uint8_t m_format; - string m_content; - string m_title; - uint32_t m_stayTime; - int32_t m_showBottom; - -public: - uint32_t Size() const; -}; - -inline uint32_t STribeSysmsg::Size() const -{ - uint32_t nSize = 35; - nSize += m_message.length(); - nSize += m_content.length(); - nSize += m_title.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeSysmsg& sTribeSysmsg ); -CPackData& operator>> ( CPackData& cPackData, STribeSysmsg& sTribeSysmsg ); - -struct SWebGroup -{ -public: - SWebGroup() - { - } - - ~SWebGroup() { } - SWebGroup(const uint32_t& dwGroupId, const string& strGroupName, const string& strServiceId, const string& strSiteId, const string& strWebId) - { - m_groupId = dwGroupId; - m_groupName = strGroupName; - m_serviceId = strServiceId; - m_siteId = strSiteId; - m_webId = strWebId; - } - SWebGroup& operator=( const SWebGroup& sWebGroup ) - { - m_groupId = sWebGroup.m_groupId; - m_groupName = sWebGroup.m_groupName; - m_serviceId = sWebGroup.m_serviceId; - m_siteId = sWebGroup.m_siteId; - m_webId = sWebGroup.m_webId; - return *this; - } - - uint32_t m_groupId; - string m_groupName; - string m_serviceId; - string m_siteId; - string m_webId; - -public: - uint32_t Size() const; -}; - -inline uint32_t SWebGroup::Size() const -{ - uint32_t nSize = 26; - nSize += m_groupName.length(); - nSize += m_serviceId.length(); - nSize += m_siteId.length(); - nSize += m_webId.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SWebGroup& sWebGroup ); -CPackData& operator>> ( CPackData& cPackData, SWebGroup& sWebGroup ); - -struct STribeId -{ -public: - STribeId() : m_groupId(0), - m_msgPopup(0) - { - } - - ~STribeId() { } - STribeId(const string& strTribeId, const string& strTribeName, const uint8_t& chTribeLevel, const uint8_t& chTribeStatus, const string& strExtSign, const uint32_t& dwGroupStamp, const uint8_t& chOpenTribe, const uint32_t& dwGroupId= 0, const uint8_t& chMsgPopup= 0) - { - m_tribeId = strTribeId; - m_tribeName = strTribeName; - m_tribeLevel = chTribeLevel; - m_tribeStatus = chTribeStatus; - m_extSign = strExtSign; - m_groupStamp = dwGroupStamp; - m_openTribe = chOpenTribe; - m_groupId = dwGroupId; - m_msgPopup = chMsgPopup; - } - STribeId& operator=( const STribeId& sTribeId ) - { - m_tribeId = sTribeId.m_tribeId; - m_tribeName = sTribeId.m_tribeName; - m_tribeLevel = sTribeId.m_tribeLevel; - m_tribeStatus = sTribeId.m_tribeStatus; - m_extSign = sTribeId.m_extSign; - m_groupStamp = sTribeId.m_groupStamp; - m_openTribe = sTribeId.m_openTribe; - m_groupId = sTribeId.m_groupId; - m_msgPopup = sTribeId.m_msgPopup; - return *this; - } - - string m_tribeId; - string m_tribeName; - uint8_t m_tribeLevel; - uint8_t m_tribeStatus; - string m_extSign; - uint32_t m_groupStamp; - uint8_t m_openTribe; - uint32_t m_groupId; - uint8_t m_msgPopup; - -public: - uint32_t Size() const; -}; - -inline uint32_t STribeId::Size() const -{ - uint32_t nSize = 34; - nSize += m_tribeId.length(); - nSize += m_tribeName.length(); - nSize += m_extSign.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeId& sTribeId ); -CPackData& operator>> ( CPackData& cPackData, STribeId& sTribeId ); - -#endif diff --git a/features/aliww/include/.svn/text-base/tcservice.h.svn-base b/features/aliww/include/.svn/text-base/tcservice.h.svn-base deleted file mode 100644 index 79f35a9..0000000 --- a/features/aliww/include/.svn/text-base/tcservice.h.svn-base +++ /dev/null @@ -1,647 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `tcservice.ice' - -#ifndef __tcservice_h__ -#define __tcservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace TribeCacheService -{ - -class TCSrvMgr; -bool operator==(const TCSrvMgr&, const TCSrvMgr&); -bool operator!=(const TCSrvMgr&, const TCSrvMgr&); -bool operator<(const TCSrvMgr&, const TCSrvMgr&); -bool operator<=(const TCSrvMgr&, const TCSrvMgr&); -bool operator>(const TCSrvMgr&, const TCSrvMgr&); -bool operator>=(const TCSrvMgr&, const TCSrvMgr&); - -} - -} - -namespace TribeCacheService -{ - -class TCSrvMgr; -bool operator==(const TCSrvMgr&, const TCSrvMgr&); -bool operator!=(const TCSrvMgr&, const TCSrvMgr&); -bool operator<(const TCSrvMgr&, const TCSrvMgr&); -bool operator<=(const TCSrvMgr&, const TCSrvMgr&); -bool operator>(const TCSrvMgr&, const TCSrvMgr&); -bool operator>=(const TCSrvMgr&, const TCSrvMgr&); - -} - -namespace IceInternal -{ - -void incRef(::TribeCacheService::TCSrvMgr*); -void decRef(::TribeCacheService::TCSrvMgr*); - -void incRef(::IceProxy::TribeCacheService::TCSrvMgr*); -void decRef(::IceProxy::TribeCacheService::TCSrvMgr*); - -} - -namespace TribeCacheService -{ - -typedef ::IceInternal::Handle< ::TribeCacheService::TCSrvMgr> TCSrvMgrPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::TribeCacheService::TCSrvMgr> TCSrvMgrPrx; - -void __write(::IceInternal::BasicStream*, const TCSrvMgrPrx&); -void __read(::IceInternal::BasicStream*, TCSrvMgrPrx&); -void __write(::IceInternal::BasicStream*, const TCSrvMgrPtr&); -void __patch__TCSrvMgrPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const TCSrvMgrPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const TCSrvMgrPtr&); -void __decRefUnsafe(const TCSrvMgrPtr&); -void __clearHandleUnsafe(TCSrvMgrPtr&); - -} - -namespace TribeCacheService -{ - -struct STribeInfo -{ - ::Ice::Long tribeId; - ::std::string name; - ::Ice::Short tribeLevel; - ::Ice::Short tribeStatus; - ::std::string extSign; - ::Ice::Int groupStamp; - ::Ice::Short openTribe; - - bool operator==(const STribeInfo&) const; - bool operator!=(const STribeInfo&) const; - bool operator<(const STribeInfo&) const; - bool operator<=(const STribeInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::TribeCacheService::STribeInfo> STribeInfoSeq; - -class __U__STribeInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::TribeCacheService::STribeInfo*, const ::TribeCacheService::STribeInfo*, __U__STribeInfoSeq); -void __read(::IceInternal::BasicStream*, STribeInfoSeq&, __U__STribeInfoSeq); - -struct STribeInfo2 -{ - ::Ice::Long tribeId; - ::std::string name; - ::Ice::Short tribeLevel; - ::Ice::Short tribeStatus; - ::std::string extSign; - ::Ice::Int groupStamp; - ::Ice::Short openTribe; - ::Ice::Short popupFlag; - - bool operator==(const STribeInfo2&) const; - bool operator!=(const STribeInfo2&) const; - bool operator<(const STribeInfo2&) const; - bool operator<=(const STribeInfo2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeInfo2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeInfo2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::TribeCacheService::STribeInfo2> STribeInfoSeq2; - -class __U__STribeInfoSeq2 { }; -void __write(::IceInternal::BasicStream*, const ::TribeCacheService::STribeInfo2*, const ::TribeCacheService::STribeInfo2*, __U__STribeInfoSeq2); -void __read(::IceInternal::BasicStream*, STribeInfoSeq2&, __U__STribeInfoSeq2); - -struct STribeOffMngMsg -{ - ::Ice::Long tribeId; - ::std::string memberId; - ::Ice::Short type; - ::std::string message; - ::Ice::Int sendTime; - - bool operator==(const STribeOffMngMsg&) const; - bool operator!=(const STribeOffMngMsg&) const; - bool operator<(const STribeOffMngMsg&) const; - bool operator<=(const STribeOffMngMsg& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeOffMngMsg& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeOffMngMsg& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::TribeCacheService::STribeOffMngMsg> STribeOffMngMsgSeq; - -class __U__STribeOffMngMsgSeq { }; -void __write(::IceInternal::BasicStream*, const ::TribeCacheService::STribeOffMngMsg*, const ::TribeCacheService::STribeOffMngMsg*, __U__STribeOffMngMsgSeq); -void __read(::IceInternal::BasicStream*, STribeOffMngMsgSeq&, __U__STribeOffMngMsgSeq); - -} - -namespace IceProxy -{ - -namespace TribeCacheService -{ - -class TCSrvMgr : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int GetUserTribe(const ::std::string& userId, ::TribeCacheService::STribeInfoSeq& tribeList) - { - return GetUserTribe(userId, tribeList, 0); - } - ::Ice::Int GetUserTribe(const ::std::string& userId, ::TribeCacheService::STribeInfoSeq& tribeList, const ::Ice::Context& __ctx) - { - return GetUserTribe(userId, tribeList, &__ctx); - } - -private: - - ::Ice::Int GetUserTribe(const ::std::string&, ::TribeCacheService::STribeInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserTribe2(const ::std::string& userId, ::TribeCacheService::STribeInfoSeq2& tribeList) - { - return GetUserTribe2(userId, tribeList, 0); - } - ::Ice::Int GetUserTribe2(const ::std::string& userId, ::TribeCacheService::STribeInfoSeq2& tribeList, const ::Ice::Context& __ctx) - { - return GetUserTribe2(userId, tribeList, &__ctx); - } - -private: - - ::Ice::Int GetUserTribe2(const ::std::string&, ::TribeCacheService::STribeInfoSeq2&, const ::Ice::Context*); - -public: - - ::Ice::Int AddUserTribes(const ::std::string& userId, const ::TribeCacheService::STribeInfoSeq& tribeList, const ::TribeCacheService::STribeOffMngMsgSeq& offMngMsg) - { - return AddUserTribes(userId, tribeList, offMngMsg, 0); - } - ::Ice::Int AddUserTribes(const ::std::string& userId, const ::TribeCacheService::STribeInfoSeq& tribeList, const ::TribeCacheService::STribeOffMngMsgSeq& offMngMsg, const ::Ice::Context& __ctx) - { - return AddUserTribes(userId, tribeList, offMngMsg, &__ctx); - } - -private: - - ::Ice::Int AddUserTribes(const ::std::string&, const ::TribeCacheService::STribeInfoSeq&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int AddUserTribes2(const ::std::string& userId, const ::TribeCacheService::STribeInfoSeq2& tribeList, const ::TribeCacheService::STribeOffMngMsgSeq& offMngMsg) - { - return AddUserTribes2(userId, tribeList, offMngMsg, 0); - } - ::Ice::Int AddUserTribes2(const ::std::string& userId, const ::TribeCacheService::STribeInfoSeq2& tribeList, const ::TribeCacheService::STribeOffMngMsgSeq& offMngMsg, const ::Ice::Context& __ctx) - { - return AddUserTribes2(userId, tribeList, offMngMsg, &__ctx); - } - -private: - - ::Ice::Int AddUserTribes2(const ::std::string&, const ::TribeCacheService::STribeInfoSeq2&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int AddUserTribe(const ::std::string& userId, const ::TribeCacheService::STribeInfo& tribeInfo) - { - return AddUserTribe(userId, tribeInfo, 0); - } - ::Ice::Int AddUserTribe(const ::std::string& userId, const ::TribeCacheService::STribeInfo& tribeInfo, const ::Ice::Context& __ctx) - { - return AddUserTribe(userId, tribeInfo, &__ctx); - } - -private: - - ::Ice::Int AddUserTribe(const ::std::string&, const ::TribeCacheService::STribeInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DelUserTribe(const ::std::string& userId, ::Ice::Long tribeId) - { - return DelUserTribe(userId, tribeId, 0); - } - ::Ice::Int DelUserTribe(const ::std::string& userId, ::Ice::Long tribeId, const ::Ice::Context& __ctx) - { - return DelUserTribe(userId, tribeId, &__ctx); - } - -private: - - ::Ice::Int DelUserTribe(const ::std::string&, ::Ice::Long, const ::Ice::Context*); - -public: - - ::Ice::Int ChgUserTribe(const ::std::string& userId, const ::TribeCacheService::STribeInfo& tribeInfo) - { - return ChgUserTribe(userId, tribeInfo, 0); - } - ::Ice::Int ChgUserTribe(const ::std::string& userId, const ::TribeCacheService::STribeInfo& tribeInfo, const ::Ice::Context& __ctx) - { - return ChgUserTribe(userId, tribeInfo, &__ctx); - } - -private: - - ::Ice::Int ChgUserTribe(const ::std::string&, const ::TribeCacheService::STribeInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int ChgUserTribe2(const ::std::string& userId, const ::TribeCacheService::STribeInfo2& tribeInfo) - { - return ChgUserTribe2(userId, tribeInfo, 0); - } - ::Ice::Int ChgUserTribe2(const ::std::string& userId, const ::TribeCacheService::STribeInfo2& tribeInfo, const ::Ice::Context& __ctx) - { - return ChgUserTribe2(userId, tribeInfo, &__ctx); - } - -private: - - ::Ice::Int ChgUserTribe2(const ::std::string&, const ::TribeCacheService::STribeInfo2&, const ::Ice::Context*); - -public: - - ::Ice::Int GetOffMngMsg(const ::std::string& userId, ::Ice::Long tribeId, ::TribeCacheService::STribeOffMngMsgSeq& offMngMsgList) - { - return GetOffMngMsg(userId, tribeId, offMngMsgList, 0); - } - ::Ice::Int GetOffMngMsg(const ::std::string& userId, ::Ice::Long tribeId, ::TribeCacheService::STribeOffMngMsgSeq& offMngMsgList, const ::Ice::Context& __ctx) - { - return GetOffMngMsg(userId, tribeId, offMngMsgList, &__ctx); - } - -private: - - ::Ice::Int GetOffMngMsg(const ::std::string&, ::Ice::Long, ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int AddOffMngMsg(const ::std::string& userId, const ::TribeCacheService::STribeOffMngMsg& offMngMsg) - { - return AddOffMngMsg(userId, offMngMsg, 0); - } - ::Ice::Int AddOffMngMsg(const ::std::string& userId, const ::TribeCacheService::STribeOffMngMsg& offMngMsg, const ::Ice::Context& __ctx) - { - return AddOffMngMsg(userId, offMngMsg, &__ctx); - } - -private: - - ::Ice::Int AddOffMngMsg(const ::std::string&, const ::TribeCacheService::STribeOffMngMsg&, const ::Ice::Context*); - -public: - - ::Ice::Int AddMsgList(const ::std::string& userId, const ::TribeCacheService::STribeOffMngMsgSeq& msgList) - { - return AddMsgList(userId, msgList, 0); - } - ::Ice::Int AddMsgList(const ::std::string& userId, const ::TribeCacheService::STribeOffMngMsgSeq& msgList, const ::Ice::Context& __ctx) - { - return AddMsgList(userId, msgList, &__ctx); - } - -private: - - ::Ice::Int AddMsgList(const ::std::string&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateTribe(const ::TribeCacheService::STribeInfo& tribeInfo) - { - return UpdateTribe(tribeInfo, 0); - } - ::Ice::Int UpdateTribe(const ::TribeCacheService::STribeInfo& tribeInfo, const ::Ice::Context& __ctx) - { - return UpdateTribe(tribeInfo, &__ctx); - } - -private: - - ::Ice::Int UpdateTribe(const ::TribeCacheService::STribeInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveTribe(::Ice::Long tribeId) - { - return RemoveTribe(tribeId, 0); - } - ::Ice::Int RemoveTribe(::Ice::Long tribeId, const ::Ice::Context& __ctx) - { - return RemoveTribe(tribeId, &__ctx); - } - -private: - - ::Ice::Int RemoveTribe(::Ice::Long, const ::Ice::Context*); - -public: - - ::Ice::Int GetOfflineMsg(const ::std::string& userId, ::TribeCacheService::STribeOffMngMsgSeq& offMngMsgList) - { - return GetOfflineMsg(userId, offMngMsgList, 0); - } - ::Ice::Int GetOfflineMsg(const ::std::string& userId, ::TribeCacheService::STribeOffMngMsgSeq& offMngMsgList, const ::Ice::Context& __ctx) - { - return GetOfflineMsg(userId, offMngMsgList, &__ctx); - } - -private: - - ::Ice::Int GetOfflineMsg(const ::std::string&, ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace TribeCacheService -{ - -class TCSrvMgr : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int GetUserTribe(const ::std::string&, ::TribeCacheService::STribeInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserTribe2(const ::std::string&, ::TribeCacheService::STribeInfoSeq2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddUserTribes(const ::std::string&, const ::TribeCacheService::STribeInfoSeq&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddUserTribes2(const ::std::string&, const ::TribeCacheService::STribeInfoSeq2&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddUserTribe(const ::std::string&, const ::TribeCacheService::STribeInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelUserTribe(const ::std::string&, ::Ice::Long, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ChgUserTribe(const ::std::string&, const ::TribeCacheService::STribeInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ChgUserTribe2(const ::std::string&, const ::TribeCacheService::STribeInfo2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetOffMngMsg(const ::std::string&, ::Ice::Long, ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddOffMngMsg(const ::std::string&, const ::TribeCacheService::STribeOffMngMsg&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddMsgList(const ::std::string&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateTribe(const ::TribeCacheService::STribeInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveTribe(::Ice::Long, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetOfflineMsg(const ::std::string&, ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace TribeCacheService -{ - -class TCSrvMgr : virtual public ::IceDelegate::TribeCacheService::TCSrvMgr, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int GetUserTribe(const ::std::string&, ::TribeCacheService::STribeInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserTribe2(const ::std::string&, ::TribeCacheService::STribeInfoSeq2&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserTribes(const ::std::string&, const ::TribeCacheService::STribeInfoSeq&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserTribes2(const ::std::string&, const ::TribeCacheService::STribeInfoSeq2&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserTribe(const ::std::string&, const ::TribeCacheService::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DelUserTribe(const ::std::string&, ::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int ChgUserTribe(const ::std::string&, const ::TribeCacheService::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int ChgUserTribe2(const ::std::string&, const ::TribeCacheService::STribeInfo2&, const ::Ice::Context*); - - virtual ::Ice::Int GetOffMngMsg(const ::std::string&, ::Ice::Long, ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddOffMngMsg(const ::std::string&, const ::TribeCacheService::STribeOffMngMsg&, const ::Ice::Context*); - - virtual ::Ice::Int AddMsgList(const ::std::string&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateTribe(const ::TribeCacheService::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveTribe(::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int GetOfflineMsg(const ::std::string&, ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace TribeCacheService -{ - -class TCSrvMgr : virtual public ::IceDelegate::TribeCacheService::TCSrvMgr, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int GetUserTribe(const ::std::string&, ::TribeCacheService::STribeInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserTribe2(const ::std::string&, ::TribeCacheService::STribeInfoSeq2&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserTribes(const ::std::string&, const ::TribeCacheService::STribeInfoSeq&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserTribes2(const ::std::string&, const ::TribeCacheService::STribeInfoSeq2&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserTribe(const ::std::string&, const ::TribeCacheService::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DelUserTribe(const ::std::string&, ::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int ChgUserTribe(const ::std::string&, const ::TribeCacheService::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int ChgUserTribe2(const ::std::string&, const ::TribeCacheService::STribeInfo2&, const ::Ice::Context*); - - virtual ::Ice::Int GetOffMngMsg(const ::std::string&, ::Ice::Long, ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddOffMngMsg(const ::std::string&, const ::TribeCacheService::STribeOffMngMsg&, const ::Ice::Context*); - - virtual ::Ice::Int AddMsgList(const ::std::string&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateTribe(const ::TribeCacheService::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveTribe(::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int GetOfflineMsg(const ::std::string&, ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); -}; - -} - -} - -namespace TribeCacheService -{ - -class TCSrvMgr : virtual public ::Ice::Object -{ -public: - - typedef TCSrvMgrPrx ProxyType; - typedef TCSrvMgrPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int GetUserTribe(const ::std::string&, ::TribeCacheService::STribeInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetUserTribe2(const ::std::string&, ::TribeCacheService::STribeInfoSeq2&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserTribe2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddUserTribes(const ::std::string&, const ::TribeCacheService::STribeInfoSeq&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddUserTribes(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddUserTribes2(const ::std::string&, const ::TribeCacheService::STribeInfoSeq2&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddUserTribes2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddUserTribe(const ::std::string&, const ::TribeCacheService::STribeInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddUserTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DelUserTribe(const ::std::string&, ::Ice::Long, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelUserTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int ChgUserTribe(const ::std::string&, const ::TribeCacheService::STribeInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ChgUserTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int ChgUserTribe2(const ::std::string&, const ::TribeCacheService::STribeInfo2&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ChgUserTribe2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetOffMngMsg(const ::std::string&, ::Ice::Long, ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetOffMngMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddOffMngMsg(const ::std::string&, const ::TribeCacheService::STribeOffMngMsg&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddOffMngMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddMsgList(const ::std::string&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddMsgList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateTribe(const ::TribeCacheService::STribeInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int RemoveTribe(::Ice::Long, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetOfflineMsg(const ::std::string&, ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetOfflineMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__TCSrvMgrPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/tgsc_pack.h.svn-base b/features/aliww/include/.svn/text-base/tgsc_pack.h.svn-base deleted file mode 100644 index 715db21..0000000 --- a/features/aliww/include/.svn/text-base/tgsc_pack.h.svn-base +++ /dev/null @@ -1,2407 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tgsc_pack.h -// Date: 2011-01-30 12:49:42 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __TGSC_PACK_H__ -#define __TGSC_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "const_macro.h" -#include "scs_head.h" -#include "tgsstrc_pack.h" -#include "tbsstrc_pack.h" - -using namespace std; - -enum TGSC_REQUEST -{ - TBSC_REQ_GET_ONLINEINFO = 0x6300001, - TBSC_REQ_NTF_MODIFYTRIBE = 0x6300002, - TBSC_REQ_GET_TRIBEMEMBER = 0x6300003, - TBSC_REQ_GET_MEMBERINFO = 0x6300004, - TBSC_REQ_GET_TRIBEMANAGER = 0x6300005, - TBSC_REQ_GET_USERTRIBE = 0x6300006, - TBSC_REQ_SEND_TRIBEMSG = 0x6300007, - TBSC_REQ_GET_TRIBEINFO = 0x6300008, - TBSC_REQ_GET_ACTLEVEL = 0x6300009, - TBSC_REQ_UNLOADTRIBE = 0x6300010, - TBSC_REQ_ACTIVE_USER = 0x6300100, - TBSC_REQ_DISACTIVE_USER = 0x6300101, - TBSC_REQ_STOP_TRIBE = 0x6300102, - TBSC_REQ_MODIFY_TRIBE = 0x6300103, - TBSC_REQ_ADD_TRIBE_MEMBER = 0x6300104, - TBSC_REQ_DEL_TRIBE_MEMBER = 0x6300105, - TBSC_REQ_QUIT_TRIBE = 0x6300106, - -}; - -enum TGSC_RESPONSE -{ - TBSC_RSP_GET_ONLINEINFO = 0x6310001, - TBSC_RSP_NTF_MODIFYTRIBE = 0x6310002, - TBSC_RSP_GET_TRIBEMEMBER = 0x6310003, - TBSC_RSP_GET_MEMBERINFO = 0x6310004, - TBSC_RSP_GET_TRIBEMANAGER = 0x6310005, - TBSC_RSP_GET_USERTRIBE = 0x6310006, - TBSC_RSP_SEND_TRIBEMSG = 0x6310007, - TBSC_RSP_GET_TRIBEINFO = 0x6310008, - TBSC_RSP_GET_ACTLEVEL = 0x6310009, - TBSC_RSP_UNLOADTRIBE = 0x6310010, - TBSC_RSP_ACTIVE_USER = 0x6310100, - TBSC_RSP_DISACTIVE_USER = 0x6310101, - TBSC_RSP_STOP_TRIBE = 0x6310102, - TBSC_RSP_MODIFY_TRIBE = 0x6310103, - TBSC_RSP_ADD_TRIBE_MEMBER = 0x6310104, - TBSC_RSP_DEL_TRIBE_MEMBER = 0x6310105, - TBSC_RSP_QUIT_TRIBE = 0x6310106, - -}; - -class CTbscReqGetOnlineinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_GET_ONLINEINFO - }; - CTbscReqGetOnlineinfo() - { - } - - ~CTbscReqGetOnlineinfo() { } - CTbscReqGetOnlineinfo(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbscReqGetOnlineinfo& operator=( const CTbscReqGetOnlineinfo& cTbscReqGetOnlineinfo ) - { - m_tribeId = cTbscReqGetOnlineinfo.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqGetOnlineinfo::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbscRspGetOnlineinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_GET_ONLINEINFO - }; - CTbscRspGetOnlineinfo() - { - } - - ~CTbscRspGetOnlineinfo() { } - CTbscRspGetOnlineinfo(const uint8_t& chRetcode, const string& strTribeId, const uint32_t& dwMemberNum, const uint32_t& dwVisitorNum) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberNum = dwMemberNum; - m_visitorNum = dwVisitorNum; - } - CTbscRspGetOnlineinfo& operator=( const CTbscRspGetOnlineinfo& cTbscRspGetOnlineinfo ) - { - m_retcode = cTbscRspGetOnlineinfo.m_retcode; - m_tribeId = cTbscRspGetOnlineinfo.m_tribeId; - m_memberNum = cTbscRspGetOnlineinfo.m_memberNum; - m_visitorNum = cTbscRspGetOnlineinfo.m_visitorNum; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint32_t& GetMemberNum () const { return m_memberNum; } - bool SetMemberNum ( const uint32_t& dwMemberNum ) - { - m_memberNum = dwMemberNum; - return true; - } - const uint32_t& GetVisitorNum () const { return m_visitorNum; } - bool SetVisitorNum ( const uint32_t& dwVisitorNum ) - { - m_visitorNum = dwVisitorNum; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - uint32_t m_memberNum; - uint32_t m_visitorNum; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspGetOnlineinfo::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbscReqNtfModifytribe : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_NTF_MODIFYTRIBE - }; - CTbscReqNtfModifytribe() - { - } - - ~CTbscReqNtfModifytribe() { } - CTbscReqNtfModifytribe(const string& strTribeId, const string& strUserId, const VECTOR< SModifyItem >& vecItemList) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_itemList = vecItemList; - } - CTbscReqNtfModifytribe& operator=( const CTbscReqNtfModifytribe& cTbscReqNtfModifytribe ) - { - m_tribeId = cTbscReqNtfModifytribe.m_tribeId; - m_userId = cTbscReqNtfModifytribe.m_userId; - m_itemList = cTbscReqNtfModifytribe.m_itemList; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const VECTOR< SModifyItem >& GetItemList () const { return m_itemList; } - bool SetItemList ( const VECTOR< SModifyItem >& vecItemList ) - { - m_itemList = vecItemList; - return true; - } -private: - string m_tribeId; - string m_userId; - VECTOR< SModifyItem > m_itemList; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqNtfModifytribe::Size() const -{ - uint32_t nSize = 17; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - for(uint32_t i = 0; i < m_itemList.size(); i++) - { - nSize += m_itemList[i].Size(); - } - return nSize; -} - -class CTbscRspNtfModifytribe : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_NTF_MODIFYTRIBE - }; - CTbscRspNtfModifytribe() - { - } - - ~CTbscRspNtfModifytribe() { } - CTbscRspNtfModifytribe(const uint8_t& chRetcode, const string& strTribeId, const string& strUserId, const VECTOR< SModifyItem >& vecItemList) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_userId = strUserId; - m_itemList = vecItemList; - } - CTbscRspNtfModifytribe& operator=( const CTbscRspNtfModifytribe& cTbscRspNtfModifytribe ) - { - m_retcode = cTbscRspNtfModifytribe.m_retcode; - m_tribeId = cTbscRspNtfModifytribe.m_tribeId; - m_userId = cTbscRspNtfModifytribe.m_userId; - m_itemList = cTbscRspNtfModifytribe.m_itemList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const VECTOR< SModifyItem >& GetItemList () const { return m_itemList; } - bool SetItemList ( const VECTOR< SModifyItem >& vecItemList ) - { - m_itemList = vecItemList; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_userId; - VECTOR< SModifyItem > m_itemList; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspNtfModifytribe::Size() const -{ - uint32_t nSize = 19; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - for(uint32_t i = 0; i < m_itemList.size(); i++) - { - nSize += m_itemList[i].Size(); - } - return nSize; -} - -class CTbscReqGetTribemember : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_GET_TRIBEMEMBER - }; - CTbscReqGetTribemember() - { - } - - ~CTbscReqGetTribemember() { } - CTbscReqGetTribemember(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbscReqGetTribemember& operator=( const CTbscReqGetTribemember& cTbscReqGetTribemember ) - { - m_tribeId = cTbscReqGetTribemember.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqGetTribemember::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbscRspGetTribemember : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_GET_TRIBEMEMBER - }; - CTbscRspGetTribemember() - { - } - - ~CTbscRspGetTribemember() { } - CTbscRspGetTribemember(const uint8_t& chRetcode, const string& strTribeId, const VECTOR< STmInfo >& vecMemberList) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberList = vecMemberList; - } - CTbscRspGetTribemember& operator=( const CTbscRspGetTribemember& cTbscRspGetTribemember ) - { - m_retcode = cTbscRspGetTribemember.m_retcode; - m_tribeId = cTbscRspGetTribemember.m_tribeId; - m_memberList = cTbscRspGetTribemember.m_memberList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< STmInfo >& GetMemberList () const { return m_memberList; } - bool SetMemberList ( const VECTOR< STmInfo >& vecMemberList ) - { - m_memberList = vecMemberList; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - VECTOR< STmInfo > m_memberList; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspGetTribemember::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_memberList.size(); i++) - { - nSize += m_memberList[i].Size(); - } - return nSize; -} - -class CTbscReqGetMemberinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_GET_MEMBERINFO - }; - CTbscReqGetMemberinfo() - { - } - - ~CTbscReqGetMemberinfo() { } - CTbscReqGetMemberinfo(const string& strTribeId, const string& strUserId) - { - m_tribeId = strTribeId; - m_userId = strUserId; - } - CTbscReqGetMemberinfo& operator=( const CTbscReqGetMemberinfo& cTbscReqGetMemberinfo ) - { - m_tribeId = cTbscReqGetMemberinfo.m_tribeId; - m_userId = cTbscReqGetMemberinfo.m_userId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } -private: - string m_tribeId; - string m_userId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqGetMemberinfo::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - return nSize; -} - -class CTbscRspGetMemberinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_GET_MEMBERINFO - }; - CTbscRspGetMemberinfo() - { - } - - ~CTbscRspGetMemberinfo() { } - CTbscRspGetMemberinfo(const uint8_t& chRetcode, const string& strTribeId, const string& strUserId, const STmInfo& sMemberInfo) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_userId = strUserId; - m_memberInfo = sMemberInfo; - } - CTbscRspGetMemberinfo& operator=( const CTbscRspGetMemberinfo& cTbscRspGetMemberinfo ) - { - m_retcode = cTbscRspGetMemberinfo.m_retcode; - m_tribeId = cTbscRspGetMemberinfo.m_tribeId; - m_userId = cTbscRspGetMemberinfo.m_userId; - m_memberInfo = cTbscRspGetMemberinfo.m_memberInfo; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const STmInfo& GetMemberInfo () const { return m_memberInfo; } - bool SetMemberInfo ( const STmInfo& sMemberInfo ) - { - m_memberInfo = sMemberInfo; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_userId; - STmInfo m_memberInfo; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspGetMemberinfo::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_memberInfo.Size(); - return nSize; -} - -class CTbscReqGetTribemanager : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_GET_TRIBEMANAGER - }; - CTbscReqGetTribemanager() - { - } - - ~CTbscReqGetTribemanager() { } - CTbscReqGetTribemanager(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbscReqGetTribemanager& operator=( const CTbscReqGetTribemanager& cTbscReqGetTribemanager ) - { - m_tribeId = cTbscReqGetTribemanager.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqGetTribemanager::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbscRspGetTribemanager : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_GET_TRIBEMANAGER - }; - CTbscRspGetTribemanager() - { - } - - ~CTbscRspGetTribemanager() { } - CTbscRspGetTribemanager(const uint8_t& chRetcode, const string& strTribeId, const VECTOR< string >& vecManagerList) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_managerList = vecManagerList; - } - CTbscRspGetTribemanager& operator=( const CTbscRspGetTribemanager& cTbscRspGetTribemanager ) - { - m_retcode = cTbscRspGetTribemanager.m_retcode; - m_tribeId = cTbscRspGetTribemanager.m_tribeId; - m_managerList = cTbscRspGetTribemanager.m_managerList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< string >& GetManagerList () const { return m_managerList; } - bool SetManagerList ( const VECTOR< string >& vecManagerList ) - { - m_managerList = vecManagerList; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - VECTOR< string > m_managerList; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspGetTribemanager::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - nSize += m_managerList.size() * 4; - for(uint32_t i = 0; i < m_managerList.size(); i++) - { - nSize += m_managerList[i].length(); - } - return nSize; -} - -class CTbscReqGetUsertribe : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_GET_USERTRIBE - }; - CTbscReqGetUsertribe() - { - } - - ~CTbscReqGetUsertribe() { } - CTbscReqGetUsertribe(const string& strUserId) - { - m_userId = strUserId; - } - CTbscReqGetUsertribe& operator=( const CTbscReqGetUsertribe& cTbscReqGetUsertribe ) - { - m_userId = cTbscReqGetUsertribe.m_userId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } -private: - string m_userId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqGetUsertribe::Size() const -{ - uint32_t nSize = 6; - nSize += m_userId.length(); - return nSize; -} - -class CTbscRspGetUsertribe : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_GET_USERTRIBE - }; - CTbscRspGetUsertribe() - { - } - - ~CTbscRspGetUsertribe() { } - CTbscRspGetUsertribe(const uint8_t& chRetcode, const string& strUserId, const VECTOR< STribeId >& vecTribeList) - { - m_retcode = chRetcode; - m_userId = strUserId; - m_tribeList = vecTribeList; - } - CTbscRspGetUsertribe& operator=( const CTbscRspGetUsertribe& cTbscRspGetUsertribe ) - { - m_retcode = cTbscRspGetUsertribe.m_retcode; - m_userId = cTbscRspGetUsertribe.m_userId; - m_tribeList = cTbscRspGetUsertribe.m_tribeList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const VECTOR< STribeId >& GetTribeList () const { return m_tribeList; } - bool SetTribeList ( const VECTOR< STribeId >& vecTribeList ) - { - m_tribeList = vecTribeList; - return true; - } -private: - uint8_t m_retcode; - string m_userId; - VECTOR< STribeId > m_tribeList; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspGetUsertribe::Size() const -{ - uint32_t nSize = 14; - nSize += m_userId.length(); - for(uint32_t i = 0; i < m_tribeList.size(); i++) - { - nSize += m_tribeList[i].Size(); - } - return nSize; -} - -class CTbscReqSendTribemsg : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_SEND_TRIBEMSG - }; - CTbscReqSendTribemsg() : m_msgType(1) - { - } - - ~CTbscReqSendTribemsg() { } - CTbscReqSendTribemsg(const string& strTribeId, const string& strUserId, const string& strMessage, const uint8_t& chMsgType= 1) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_message = strMessage; - m_msgType = chMsgType; - } - CTbscReqSendTribemsg& operator=( const CTbscReqSendTribemsg& cTbscReqSendTribemsg ) - { - m_tribeId = cTbscReqSendTribemsg.m_tribeId; - m_userId = cTbscReqSendTribemsg.m_userId; - m_message = cTbscReqSendTribemsg.m_message; - m_msgType = cTbscReqSendTribemsg.m_msgType; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const uint8_t& GetMsgType () const { return m_msgType; } - bool SetMsgType ( const uint8_t& chMsgType ) - { - m_msgType = chMsgType; - return true; - } -private: - string m_tribeId; - string m_userId; - string m_message; - uint8_t m_msgType; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqSendTribemsg::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_message.length(); - return nSize; -} - -class CTbscRspSendTribemsg : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_SEND_TRIBEMSG - }; - CTbscRspSendTribemsg() : m_msgType(1) - { - } - - ~CTbscRspSendTribemsg() { } - CTbscRspSendTribemsg(const uint8_t& chRetcode, const string& strTribeId, const string& strMessage, const uint8_t& chMsgType= 1) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_message = strMessage; - m_msgType = chMsgType; - } - CTbscRspSendTribemsg& operator=( const CTbscRspSendTribemsg& cTbscRspSendTribemsg ) - { - m_retcode = cTbscRspSendTribemsg.m_retcode; - m_tribeId = cTbscRspSendTribemsg.m_tribeId; - m_message = cTbscRspSendTribemsg.m_message; - m_msgType = cTbscRspSendTribemsg.m_msgType; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const uint8_t& GetMsgType () const { return m_msgType; } - bool SetMsgType ( const uint8_t& chMsgType ) - { - m_msgType = chMsgType; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_message; - uint8_t m_msgType; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspSendTribemsg::Size() const -{ - uint32_t nSize = 15; - nSize += m_tribeId.length(); - nSize += m_message.length(); - return nSize; -} - -class CTbscReqGetTribeinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_GET_TRIBEINFO - }; - CTbscReqGetTribeinfo() - { - } - - ~CTbscReqGetTribeinfo() { } - CTbscReqGetTribeinfo(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbscReqGetTribeinfo& operator=( const CTbscReqGetTribeinfo& cTbscReqGetTribeinfo ) - { - m_tribeId = cTbscReqGetTribeinfo.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqGetTribeinfo::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbscRspGetTribeinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_GET_TRIBEINFO - }; - CTbscRspGetTribeinfo() - { - } - - ~CTbscRspGetTribeinfo() { } - CTbscRspGetTribeinfo(const uint8_t& chRetcode, const string& strTribeId, const STribeInfo& sTribeInfo) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeInfo = sTribeInfo; - } - CTbscRspGetTribeinfo& operator=( const CTbscRspGetTribeinfo& cTbscRspGetTribeinfo ) - { - m_retcode = cTbscRspGetTribeinfo.m_retcode; - m_tribeId = cTbscRspGetTribeinfo.m_tribeId; - m_tribeInfo = cTbscRspGetTribeinfo.m_tribeInfo; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const STribeInfo& GetTribeInfo () const { return m_tribeInfo; } - bool SetTribeInfo ( const STribeInfo& sTribeInfo ) - { - m_tribeInfo = sTribeInfo; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - STribeInfo m_tribeInfo; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspGetTribeinfo::Size() const -{ - uint32_t nSize = 9; - nSize += m_tribeId.length(); - nSize += m_tribeInfo.Size(); - return nSize; -} - -class CTbscReqGetActlevel : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_GET_ACTLEVEL - }; - CTbscReqGetActlevel() - { - } - - ~CTbscReqGetActlevel() { } - CTbscReqGetActlevel(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbscReqGetActlevel& operator=( const CTbscReqGetActlevel& cTbscReqGetActlevel ) - { - m_tribeId = cTbscReqGetActlevel.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqGetActlevel::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbscRspGetActlevel : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_GET_ACTLEVEL - }; - CTbscRspGetActlevel() - { - } - - ~CTbscRspGetActlevel() { } - CTbscRspGetActlevel(const uint8_t& chRetcode, const string& strTribeId, const uint32_t& dwActiveLevel) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_activeLevel = dwActiveLevel; - } - CTbscRspGetActlevel& operator=( const CTbscRspGetActlevel& cTbscRspGetActlevel ) - { - m_retcode = cTbscRspGetActlevel.m_retcode; - m_tribeId = cTbscRspGetActlevel.m_tribeId; - m_activeLevel = cTbscRspGetActlevel.m_activeLevel; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint32_t& GetActiveLevel () const { return m_activeLevel; } - bool SetActiveLevel ( const uint32_t& dwActiveLevel ) - { - m_activeLevel = dwActiveLevel; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - uint32_t m_activeLevel; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspGetActlevel::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbscReqUnloadtribe : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_UNLOADTRIBE - }; - CTbscReqUnloadtribe() - { - } - - ~CTbscReqUnloadtribe() { } - CTbscReqUnloadtribe(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbscReqUnloadtribe& operator=( const CTbscReqUnloadtribe& cTbscReqUnloadtribe ) - { - m_tribeId = cTbscReqUnloadtribe.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqUnloadtribe::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbscRspUnloadtribe : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_UNLOADTRIBE - }; - CTbscRspUnloadtribe() - { - } - - ~CTbscRspUnloadtribe() { } - CTbscRspUnloadtribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CTbscRspUnloadtribe& operator=( const CTbscRspUnloadtribe& cTbscRspUnloadtribe ) - { - m_retcode = cTbscRspUnloadtribe.m_retcode; - m_tribeId = cTbscRspUnloadtribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspUnloadtribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbscReqActiveUser : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_ACTIVE_USER - }; - CTbscReqActiveUser() - { - } - - ~CTbscReqActiveUser() { } - CTbscReqActiveUser(const string& strUserId, const string& strWebUid, const VECTOR< string >& vecTribeList) - { - m_userId = strUserId; - m_webUid = strWebUid; - m_tribeList = vecTribeList; - } - CTbscReqActiveUser& operator=( const CTbscReqActiveUser& cTbscReqActiveUser ) - { - m_userId = cTbscReqActiveUser.m_userId; - m_webUid = cTbscReqActiveUser.m_webUid; - m_tribeList = cTbscReqActiveUser.m_tribeList; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetWebUid () const { return m_webUid; } - bool SetWebUid ( const string& strWebUid ) - { - m_webUid = strWebUid; - return true; - } - const VECTOR< string >& GetTribeList () const { return m_tribeList; } - bool SetTribeList ( const VECTOR< string >& vecTribeList ) - { - m_tribeList = vecTribeList; - return true; - } -private: - string m_userId; - string m_webUid; - VECTOR< string > m_tribeList; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqActiveUser::Size() const -{ - uint32_t nSize = 17; - nSize += m_userId.length(); - nSize += m_webUid.length(); - nSize += m_tribeList.size() * 4; - for(uint32_t i = 0; i < m_tribeList.size(); i++) - { - nSize += m_tribeList[i].length(); - } - return nSize; -} - -class CTbscRspActiveUser : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_ACTIVE_USER - }; - CTbscRspActiveUser() - { - } - - ~CTbscRspActiveUser() { } - CTbscRspActiveUser(const uint8_t& chRetcode, const string& strUserId, const string& strWebUid, const VECTOR< string >& vecTribeList) - { - m_retcode = chRetcode; - m_userId = strUserId; - m_webUid = strWebUid; - m_tribeList = vecTribeList; - } - CTbscRspActiveUser& operator=( const CTbscRspActiveUser& cTbscRspActiveUser ) - { - m_retcode = cTbscRspActiveUser.m_retcode; - m_userId = cTbscRspActiveUser.m_userId; - m_webUid = cTbscRspActiveUser.m_webUid; - m_tribeList = cTbscRspActiveUser.m_tribeList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetWebUid () const { return m_webUid; } - bool SetWebUid ( const string& strWebUid ) - { - m_webUid = strWebUid; - return true; - } - const VECTOR< string >& GetTribeList () const { return m_tribeList; } - bool SetTribeList ( const VECTOR< string >& vecTribeList ) - { - m_tribeList = vecTribeList; - return true; - } -private: - uint8_t m_retcode; - string m_userId; - string m_webUid; - VECTOR< string > m_tribeList; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspActiveUser::Size() const -{ - uint32_t nSize = 19; - nSize += m_userId.length(); - nSize += m_webUid.length(); - nSize += m_tribeList.size() * 4; - for(uint32_t i = 0; i < m_tribeList.size(); i++) - { - nSize += m_tribeList[i].length(); - } - return nSize; -} - -class CTbscReqDisactiveUser : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_DISACTIVE_USER - }; - CTbscReqDisactiveUser() - { - } - - ~CTbscReqDisactiveUser() { } - CTbscReqDisactiveUser(const string& strUserId, const string& strWebUid, const VECTOR< string >& vecTribeList) - { - m_userId = strUserId; - m_webUid = strWebUid; - m_tribeList = vecTribeList; - } - CTbscReqDisactiveUser& operator=( const CTbscReqDisactiveUser& cTbscReqDisactiveUser ) - { - m_userId = cTbscReqDisactiveUser.m_userId; - m_webUid = cTbscReqDisactiveUser.m_webUid; - m_tribeList = cTbscReqDisactiveUser.m_tribeList; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetWebUid () const { return m_webUid; } - bool SetWebUid ( const string& strWebUid ) - { - m_webUid = strWebUid; - return true; - } - const VECTOR< string >& GetTribeList () const { return m_tribeList; } - bool SetTribeList ( const VECTOR< string >& vecTribeList ) - { - m_tribeList = vecTribeList; - return true; - } -private: - string m_userId; - string m_webUid; - VECTOR< string > m_tribeList; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqDisactiveUser::Size() const -{ - uint32_t nSize = 17; - nSize += m_userId.length(); - nSize += m_webUid.length(); - nSize += m_tribeList.size() * 4; - for(uint32_t i = 0; i < m_tribeList.size(); i++) - { - nSize += m_tribeList[i].length(); - } - return nSize; -} - -class CTbscRspDisactiveUser : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_DISACTIVE_USER - }; - CTbscRspDisactiveUser() - { - } - - ~CTbscRspDisactiveUser() { } - CTbscRspDisactiveUser(const uint8_t& chRetcode, const string& strUserId, const string& strWebUid, const VECTOR< string >& vecTribeList) - { - m_retcode = chRetcode; - m_userId = strUserId; - m_webUid = strWebUid; - m_tribeList = vecTribeList; - } - CTbscRspDisactiveUser& operator=( const CTbscRspDisactiveUser& cTbscRspDisactiveUser ) - { - m_retcode = cTbscRspDisactiveUser.m_retcode; - m_userId = cTbscRspDisactiveUser.m_userId; - m_webUid = cTbscRspDisactiveUser.m_webUid; - m_tribeList = cTbscRspDisactiveUser.m_tribeList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetWebUid () const { return m_webUid; } - bool SetWebUid ( const string& strWebUid ) - { - m_webUid = strWebUid; - return true; - } - const VECTOR< string >& GetTribeList () const { return m_tribeList; } - bool SetTribeList ( const VECTOR< string >& vecTribeList ) - { - m_tribeList = vecTribeList; - return true; - } -private: - uint8_t m_retcode; - string m_userId; - string m_webUid; - VECTOR< string > m_tribeList; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspDisactiveUser::Size() const -{ - uint32_t nSize = 19; - nSize += m_userId.length(); - nSize += m_webUid.length(); - nSize += m_tribeList.size() * 4; - for(uint32_t i = 0; i < m_tribeList.size(); i++) - { - nSize += m_tribeList[i].length(); - } - return nSize; -} - -class CTbscReqStopTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_STOP_TRIBE - }; - CTbscReqStopTribe() - { - } - - ~CTbscReqStopTribe() { } - CTbscReqStopTribe(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbscReqStopTribe& operator=( const CTbscReqStopTribe& cTbscReqStopTribe ) - { - m_tribeId = cTbscReqStopTribe.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqStopTribe::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbscRspStopTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_STOP_TRIBE - }; - CTbscRspStopTribe() - { - } - - ~CTbscRspStopTribe() { } - CTbscRspStopTribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CTbscRspStopTribe& operator=( const CTbscRspStopTribe& cTbscRspStopTribe ) - { - m_retcode = cTbscRspStopTribe.m_retcode; - m_tribeId = cTbscRspStopTribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspStopTribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbscReqModifyTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_MODIFY_TRIBE - }; - CTbscReqModifyTribe() - { - } - - ~CTbscReqModifyTribe() { } - CTbscReqModifyTribe(const string& strTribeId, const map< string,string >& mapItems) - { - m_tribeId = strTribeId; - m_items = mapItems; - } - CTbscReqModifyTribe& operator=( const CTbscReqModifyTribe& cTbscReqModifyTribe ) - { - m_tribeId = cTbscReqModifyTribe.m_tribeId; - m_items = cTbscReqModifyTribe.m_items; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const map< string,string >& GetItems () const { return m_items; } - bool SetItems ( const map< string,string >& mapItems ) - { - m_items = mapItems; - return true; - } -private: - string m_tribeId; - map< string,string > m_items; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqModifyTribe::Size() const -{ - uint32_t nSize = 10; - nSize += m_tribeId.length(); - nSize += m_items.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CTbscRspModifyTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_MODIFY_TRIBE - }; - CTbscRspModifyTribe() - { - } - - ~CTbscRspModifyTribe() { } - CTbscRspModifyTribe(const uint8_t& chRetcode, const string& strTribeId, const map< string,string >& mapItems) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_items = mapItems; - } - CTbscRspModifyTribe& operator=( const CTbscRspModifyTribe& cTbscRspModifyTribe ) - { - m_retcode = cTbscRspModifyTribe.m_retcode; - m_tribeId = cTbscRspModifyTribe.m_tribeId; - m_items = cTbscRspModifyTribe.m_items; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const map< string,string >& GetItems () const { return m_items; } - bool SetItems ( const map< string,string >& mapItems ) - { - m_items = mapItems; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - map< string,string > m_items; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspModifyTribe::Size() const -{ - uint32_t nSize = 12; - nSize += m_tribeId.length(); - nSize += m_items.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CTbscReqAddTribeMember : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_ADD_TRIBE_MEMBER - }; - CTbscReqAddTribeMember() - { - } - - ~CTbscReqAddTribeMember() { } - CTbscReqAddTribeMember(const string& strTribeId, const uint8_t& chTribeLevel, const string& strUserId, const string& strName) - { - m_tribeId = strTribeId; - m_tribeLevel = chTribeLevel; - m_userId = strUserId; - m_name = strName; - } - CTbscReqAddTribeMember& operator=( const CTbscReqAddTribeMember& cTbscReqAddTribeMember ) - { - m_tribeId = cTbscReqAddTribeMember.m_tribeId; - m_tribeLevel = cTbscReqAddTribeMember.m_tribeLevel; - m_userId = cTbscReqAddTribeMember.m_userId; - m_name = cTbscReqAddTribeMember.m_name; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetTribeLevel () const { return m_tribeLevel; } - bool SetTribeLevel ( const uint8_t& chTribeLevel ) - { - m_tribeLevel = chTribeLevel; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetName () const { return m_name; } - bool SetName ( const string& strName ) - { - m_name = strName; - return true; - } -private: - string m_tribeId; - uint8_t m_tribeLevel; - string m_userId; - string m_name; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqAddTribeMember::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_name.length(); - return nSize; -} - -class CTbscRspAddTribeMember : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_ADD_TRIBE_MEMBER - }; - CTbscRspAddTribeMember() - { - } - - ~CTbscRspAddTribeMember() { } - CTbscRspAddTribeMember(const uint8_t& chRetcode, const string& strTribeId, const uint8_t& chTribeLevel, const string& strUserId, const string& strName) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeLevel = chTribeLevel; - m_userId = strUserId; - m_name = strName; - } - CTbscRspAddTribeMember& operator=( const CTbscRspAddTribeMember& cTbscRspAddTribeMember ) - { - m_retcode = cTbscRspAddTribeMember.m_retcode; - m_tribeId = cTbscRspAddTribeMember.m_tribeId; - m_tribeLevel = cTbscRspAddTribeMember.m_tribeLevel; - m_userId = cTbscRspAddTribeMember.m_userId; - m_name = cTbscRspAddTribeMember.m_name; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetTribeLevel () const { return m_tribeLevel; } - bool SetTribeLevel ( const uint8_t& chTribeLevel ) - { - m_tribeLevel = chTribeLevel; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetName () const { return m_name; } - bool SetName ( const string& strName ) - { - m_name = strName; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - uint8_t m_tribeLevel; - string m_userId; - string m_name; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspAddTribeMember::Size() const -{ - uint32_t nSize = 20; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_name.length(); - return nSize; -} - -class CTbscReqDelTribeMember : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_DEL_TRIBE_MEMBER - }; - CTbscReqDelTribeMember() - { - } - - ~CTbscReqDelTribeMember() { } - CTbscReqDelTribeMember(const string& strTribeId, const uint8_t& chTribeLevel, const string& strUserId, const string& strOperId) - { - m_tribeId = strTribeId; - m_tribeLevel = chTribeLevel; - m_userId = strUserId; - m_operId = strOperId; - } - CTbscReqDelTribeMember& operator=( const CTbscReqDelTribeMember& cTbscReqDelTribeMember ) - { - m_tribeId = cTbscReqDelTribeMember.m_tribeId; - m_tribeLevel = cTbscReqDelTribeMember.m_tribeLevel; - m_userId = cTbscReqDelTribeMember.m_userId; - m_operId = cTbscReqDelTribeMember.m_operId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetTribeLevel () const { return m_tribeLevel; } - bool SetTribeLevel ( const uint8_t& chTribeLevel ) - { - m_tribeLevel = chTribeLevel; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetOperId () const { return m_operId; } - bool SetOperId ( const string& strOperId ) - { - m_operId = strOperId; - return true; - } -private: - string m_tribeId; - uint8_t m_tribeLevel; - string m_userId; - string m_operId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqDelTribeMember::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_operId.length(); - return nSize; -} - -class CTbscRspDelTribeMember : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_DEL_TRIBE_MEMBER - }; - CTbscRspDelTribeMember() - { - } - - ~CTbscRspDelTribeMember() { } - CTbscRspDelTribeMember(const uint8_t& chRetcode, const string& strTribeId, const uint8_t& chTribeLevel, const string& strUserId, const string& strOperId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeLevel = chTribeLevel; - m_userId = strUserId; - m_operId = strOperId; - } - CTbscRspDelTribeMember& operator=( const CTbscRspDelTribeMember& cTbscRspDelTribeMember ) - { - m_retcode = cTbscRspDelTribeMember.m_retcode; - m_tribeId = cTbscRspDelTribeMember.m_tribeId; - m_tribeLevel = cTbscRspDelTribeMember.m_tribeLevel; - m_userId = cTbscRspDelTribeMember.m_userId; - m_operId = cTbscRspDelTribeMember.m_operId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetTribeLevel () const { return m_tribeLevel; } - bool SetTribeLevel ( const uint8_t& chTribeLevel ) - { - m_tribeLevel = chTribeLevel; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetOperId () const { return m_operId; } - bool SetOperId ( const string& strOperId ) - { - m_operId = strOperId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - uint8_t m_tribeLevel; - string m_userId; - string m_operId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspDelTribeMember::Size() const -{ - uint32_t nSize = 20; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_operId.length(); - return nSize; -} - -class CTbscReqQuitTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_QUIT_TRIBE - }; - CTbscReqQuitTribe() - { - } - - ~CTbscReqQuitTribe() { } - CTbscReqQuitTribe(const string& strTribeId, const uint8_t& chTribeLevel, const string& strUserId) - { - m_tribeId = strTribeId; - m_tribeLevel = chTribeLevel; - m_userId = strUserId; - } - CTbscReqQuitTribe& operator=( const CTbscReqQuitTribe& cTbscReqQuitTribe ) - { - m_tribeId = cTbscReqQuitTribe.m_tribeId; - m_tribeLevel = cTbscReqQuitTribe.m_tribeLevel; - m_userId = cTbscReqQuitTribe.m_userId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetTribeLevel () const { return m_tribeLevel; } - bool SetTribeLevel ( const uint8_t& chTribeLevel ) - { - m_tribeLevel = chTribeLevel; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } -private: - string m_tribeId; - uint8_t m_tribeLevel; - string m_userId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqQuitTribe::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - return nSize; -} - -class CTbscRspQuitTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_QUIT_TRIBE - }; - CTbscRspQuitTribe() - { - } - - ~CTbscRspQuitTribe() { } - CTbscRspQuitTribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CTbscRspQuitTribe& operator=( const CTbscRspQuitTribe& cTbscRspQuitTribe ) - { - m_retcode = cTbscRspQuitTribe.m_retcode; - m_tribeId = cTbscRspQuitTribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspQuitTribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/.svn/text-base/tgsstrc_pack.h.svn-base b/features/aliww/include/.svn/text-base/tgsstrc_pack.h.svn-base deleted file mode 100644 index 4817108..0000000 --- a/features/aliww/include/.svn/text-base/tgsstrc_pack.h.svn-base +++ /dev/null @@ -1,56 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tgsstrc_pack.h -// Date: 2011-01-30 12:49:42 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __TGSSTRC_PACK_H__ -#define __TGSSTRC_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "const_macro.h" - -using namespace std; - -struct SModifyItem -{ -public: - SModifyItem() - { - } - - ~SModifyItem() { } - SModifyItem(const uint8_t& chId, const string& strContent) - { - m_id = chId; - m_content = strContent; - } - SModifyItem& operator=( const SModifyItem& sModifyItem ) - { - m_id = sModifyItem.m_id; - m_content = sModifyItem.m_content; - return *this; - } - - uint8_t m_id; - string m_content; - -public: - uint32_t Size() const; -}; - -inline uint32_t SModifyItem::Size() const -{ - uint32_t nSize = 8; - nSize += m_content.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SModifyItem& sModifyItem ); -CPackData& operator>> ( CPackData& cPackData, SModifyItem& sModifyItem ); - -#endif diff --git a/features/aliww/include/.svn/text-base/tmpsession.h.svn-base b/features/aliww/include/.svn/text-base/tmpsession.h.svn-base deleted file mode 100644 index c7bbdcb..0000000 --- a/features/aliww/include/.svn/text-base/tmpsession.h.svn-base +++ /dev/null @@ -1,252 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `tmpsession.ice' - -#ifndef __tmpsession_h__ -#define __tmpsession_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class TmpSessionMgr; -bool operator==(const TmpSessionMgr&, const TmpSessionMgr&); -bool operator!=(const TmpSessionMgr&, const TmpSessionMgr&); -bool operator<(const TmpSessionMgr&, const TmpSessionMgr&); -bool operator<=(const TmpSessionMgr&, const TmpSessionMgr&); -bool operator>(const TmpSessionMgr&, const TmpSessionMgr&); -bool operator>=(const TmpSessionMgr&, const TmpSessionMgr&); - -} - -} - -namespace AliIM -{ - -class TmpSessionMgr; -bool operator==(const TmpSessionMgr&, const TmpSessionMgr&); -bool operator!=(const TmpSessionMgr&, const TmpSessionMgr&); -bool operator<(const TmpSessionMgr&, const TmpSessionMgr&); -bool operator<=(const TmpSessionMgr&, const TmpSessionMgr&); -bool operator>(const TmpSessionMgr&, const TmpSessionMgr&); -bool operator>=(const TmpSessionMgr&, const TmpSessionMgr&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::TmpSessionMgr*); -void decRef(::AliIM::TmpSessionMgr*); - -void incRef(::IceProxy::AliIM::TmpSessionMgr*); -void decRef(::IceProxy::AliIM::TmpSessionMgr*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::TmpSessionMgr> TmpSessionMgrPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::TmpSessionMgr> TmpSessionMgrPrx; - -void __write(::IceInternal::BasicStream*, const TmpSessionMgrPrx&); -void __read(::IceInternal::BasicStream*, TmpSessionMgrPrx&); -void __write(::IceInternal::BasicStream*, const TmpSessionMgrPtr&); -void __patch__TmpSessionMgrPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const TmpSessionMgrPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const TmpSessionMgrPtr&); -void __decRefUnsafe(const TmpSessionMgrPtr&); -void __clearHandleUnsafe(TmpSessionMgrPtr&); - -} - -namespace AliIM -{ - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class TmpSessionMgr : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int getUserSession(const ::std::string& uid, ::std::string& sessionNo) - { - return getUserSession(uid, sessionNo, 0); - } - ::Ice::Int getUserSession(const ::std::string& uid, ::std::string& sessionNo, const ::Ice::Context& __ctx) - { - return getUserSession(uid, sessionNo, &__ctx); - } - -private: - - ::Ice::Int getUserSession(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int checkUserSession(const ::std::string& uid, const ::std::string& sessionNo) - { - return checkUserSession(uid, sessionNo, 0); - } - ::Ice::Int checkUserSession(const ::std::string& uid, const ::std::string& sessionNo, const ::Ice::Context& __ctx) - { - return checkUserSession(uid, sessionNo, &__ctx); - } - -private: - - ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class TmpSessionMgr : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int getUserSession(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class TmpSessionMgr : virtual public ::IceDelegate::AliIM::TmpSessionMgr, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int getUserSession(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class TmpSessionMgr : virtual public ::IceDelegate::AliIM::TmpSessionMgr, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int getUserSession(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class TmpSessionMgr : virtual public ::Ice::Object -{ -public: - - typedef TmpSessionMgrPrx ProxyType; - typedef TmpSessionMgrPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int getUserSession(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkUserSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__TmpSessionMgrPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/tpfs_pack.h.svn-base b/features/aliww/include/.svn/text-base/tpfs_pack.h.svn-base deleted file mode 100644 index 3780f8b..0000000 --- a/features/aliww/include/.svn/text-base/tpfs_pack.h.svn-base +++ /dev/null @@ -1,1982 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tpfs_pack.h -// Date: 2011-03-09 14:14:03 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __TPFS_PACK_H__ -#define __TPFS_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "des.h" -#include -#include "sc_head.h" -#include "const_macro.h" -#include "imsc_cmd.h" - -using namespace std; - -class CImReqChatChkver : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHAT_CHKVER - }; - CImReqChatChkver() - { - } - - ~CImReqChatChkver() { } - CImReqChatChkver(const string& strVersion) - { - m_version = strVersion; - } - CImReqChatChkver& operator=( const CImReqChatChkver& cImReqChatChkver ) - { - m_version = cImReqChatChkver.m_version; - return *this; - } - - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - if(strVersion.size() > 128) - return false; - m_version = strVersion; - return true; - } -private: - string m_version; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChatChkver::Size() const -{ - uint32_t nSize = 6; - nSize += m_version.length(); - return nSize; -} - -class CImRspChatChkver : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHAT_CHKVER - }; - CImRspChatChkver() - { - } - - ~CImRspChatChkver() { } - CImRspChatChkver(const uint32_t& dwRetcode, const string& strRemark, const uint32_t& dwConnectNo, const string& strPubkey) - { - m_retcode = dwRetcode; - m_remark = strRemark; - m_connectNo = dwConnectNo; - m_pubkey = strPubkey; - } - CImRspChatChkver& operator=( const CImRspChatChkver& cImRspChatChkver ) - { - m_retcode = cImRspChatChkver.m_retcode; - m_remark = cImRspChatChkver.m_remark; - m_connectNo = cImRspChatChkver.m_connectNo; - m_pubkey = cImRspChatChkver.m_pubkey; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - if(strRemark.size() > 256) - return false; - m_remark = strRemark; - return true; - } - const uint32_t& GetConnectNo () const { return m_connectNo; } - bool SetConnectNo ( const uint32_t& dwConnectNo ) - { - m_connectNo = dwConnectNo; - return true; - } - const string& GetPubkey () const { return m_pubkey; } - bool SetPubkey ( const string& strPubkey ) - { - m_pubkey = strPubkey; - return true; - } -private: - uint32_t m_retcode; - string m_remark; - uint32_t m_connectNo; - string m_pubkey; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChatChkver::Size() const -{ - uint32_t nSize = 21; - nSize += m_remark.length(); - nSize += m_pubkey.length(); - return nSize; -} - -class CImReqChatPreidentify : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHAT_PREIDENTIFY - }; - CImReqChatPreidentify() - { - } - - ~CImReqChatPreidentify() { } - CImReqChatPreidentify(const uint32_t& dwConnectNo, const string& strWorkKey, const string& strStrlogin) - { - m_connectNo = dwConnectNo; - m_workKey = strWorkKey; - m_strlogin = strStrlogin; - } - CImReqChatPreidentify& operator=( const CImReqChatPreidentify& cImReqChatPreidentify ) - { - m_connectNo = cImReqChatPreidentify.m_connectNo; - m_workKey = cImReqChatPreidentify.m_workKey; - m_strlogin = cImReqChatPreidentify.m_strlogin; - return *this; - } - - const uint32_t& GetConnectNo () const { return m_connectNo; } - bool SetConnectNo ( const uint32_t& dwConnectNo ) - { - m_connectNo = dwConnectNo; - return true; - } - const string& GetWorkKey () const { return m_workKey; } - bool SetWorkKey ( const string& strWorkKey ) - { - if(strWorkKey.size() > 128) - return false; - m_workKey = strWorkKey; - return true; - } - const string& GetStrlogin () const { return m_strlogin; } - bool SetStrlogin ( const string& strStrlogin ) - { - m_strlogin = strStrlogin; - return true; - } -private: - uint32_t m_connectNo; - string m_workKey; - string m_strlogin; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChatPreidentify::Size() const -{ - uint32_t nSize = 16; - nSize += m_workKey.length(); - nSize += m_strlogin.length(); - return nSize; -} - -class CImReqChatIdentify : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHAT_IDENTIFY - }; - CImReqChatIdentify() - { - } - - ~CImReqChatIdentify() { } - CImReqChatIdentify(const string& strUid, const string& strSessionkey, const string& strVersion) - { - m_uid = strUid; - m_sessionkey = strSessionkey; - m_version = strVersion; - } - CImReqChatIdentify& operator=( const CImReqChatIdentify& cImReqChatIdentify ) - { - m_uid = cImReqChatIdentify.m_uid; - m_sessionkey = cImReqChatIdentify.m_sessionkey; - m_version = cImReqChatIdentify.m_version; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetSessionkey () const { return m_sessionkey; } - bool SetSessionkey ( const string& strSessionkey ) - { - m_sessionkey = strSessionkey; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - m_version = strVersion; - return true; - } -private: - string m_uid; - string m_sessionkey; - string m_version; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChatIdentify::Size() const -{ - uint32_t nSize = 16; - nSize += m_uid.length(); - nSize += m_sessionkey.length(); - nSize += m_version.length(); - return nSize; -} - -class CImRspChatIdentify : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHAT_IDENTIFY - }; - CImRspChatIdentify() - { - } - - ~CImRspChatIdentify() { } - CImRspChatIdentify(const string& strVersion, const uint16_t& wRetcode, const string& strMsg, const string& strSessionid) - { - m_version = strVersion; - m_retcode = wRetcode; - m_msg = strMsg; - m_sessionid = strSessionid; - } - CImRspChatIdentify& operator=( const CImRspChatIdentify& cImRspChatIdentify ) - { - m_version = cImRspChatIdentify.m_version; - m_retcode = cImRspChatIdentify.m_retcode; - m_msg = cImRspChatIdentify.m_msg; - m_sessionid = cImRspChatIdentify.m_sessionid; - return *this; - } - - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - m_version = strVersion; - return true; - } - const uint16_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint16_t& wRetcode ) - { - m_retcode = wRetcode; - return true; - } - const string& GetMsg () const { return m_msg; } - bool SetMsg ( const string& strMsg ) - { - m_msg = strMsg; - return true; - } - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } -private: - string m_version; - uint16_t m_retcode; - string m_msg; - string m_sessionid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChatIdentify::Size() const -{ - uint32_t nSize = 19; - nSize += m_version.length(); - nSize += m_msg.length(); - nSize += m_sessionid.length(); - return nSize; -} - -class CImReqChatClose : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHAT_CLOSE - }; - CImReqChatClose() - { - } - - ~CImReqChatClose() { } - CImReqChatClose(const string& strSessionid) - { - m_sessionid = strSessionid; - } - CImReqChatClose& operator=( const CImReqChatClose& cImReqChatClose ) - { - m_sessionid = cImReqChatClose.m_sessionid; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } -private: - string m_sessionid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChatClose::Size() const -{ - uint32_t nSize = 6; - nSize += m_sessionid.length(); - return nSize; -} - -class CImRspChatClose : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHAT_CLOSE - }; - CImRspChatClose() - { - } - - ~CImRspChatClose() { } - CImRspChatClose(const string& strSessionid, const uint16_t& wType, const uint16_t& wRetcode, const string& strMsg) - { - m_sessionid = strSessionid; - m_type = wType; - m_retcode = wRetcode; - m_msg = strMsg; - } - CImRspChatClose& operator=( const CImRspChatClose& cImRspChatClose ) - { - m_sessionid = cImRspChatClose.m_sessionid; - m_type = cImRspChatClose.m_type; - m_retcode = cImRspChatClose.m_retcode; - m_msg = cImRspChatClose.m_msg; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const uint16_t& GetType () const { return m_type; } - bool SetType ( const uint16_t& wType ) - { - m_type = wType; - return true; - } - const uint16_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint16_t& wRetcode ) - { - m_retcode = wRetcode; - return true; - } - const string& GetMsg () const { return m_msg; } - bool SetMsg ( const string& strMsg ) - { - m_msg = strMsg; - return true; - } -private: - string m_sessionid; - uint16_t m_type; - uint16_t m_retcode; - string m_msg; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChatClose::Size() const -{ - uint32_t nSize = 17; - nSize += m_sessionid.length(); - nSize += m_msg.length(); - return nSize; -} - -struct SCchatindexid -{ -public: - SCchatindexid() - { - } - - ~SCchatindexid() { } - SCchatindexid(const string& strUserid, const string& strPeeruid, const uint64_t& ullTm, const uint64_t& ullSeq, const uint8_t& chDir) - { - m_userid = strUserid; - m_peeruid = strPeeruid; - m_tm = ullTm; - m_seq = ullSeq; - m_dir = chDir; - } - SCchatindexid& operator=( const SCchatindexid& sCchatindexid ) - { - m_userid = sCchatindexid.m_userid; - m_peeruid = sCchatindexid.m_peeruid; - m_tm = sCchatindexid.m_tm; - m_seq = sCchatindexid.m_seq; - m_dir = sCchatindexid.m_dir; - return *this; - } - - string m_userid; - string m_peeruid; - uint64_t m_tm; - uint64_t m_seq; - uint8_t m_dir; - -public: - uint32_t Size() const; -}; - -inline uint32_t SCchatindexid::Size() const -{ - uint32_t nSize = 31; - nSize += m_userid.length(); - nSize += m_peeruid.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SCchatindexid& sCchatindexid ); -CPackData& operator>> ( CPackData& cPackData, SCchatindexid& sCchatindexid ); - -class CImReqChatDeltext : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHAT_DELTEXT - }; - CImReqChatDeltext() - { - } - - ~CImReqChatDeltext() { } - CImReqChatDeltext(const string& strSessionid, const VECTOR< SCchatindexid >& vecKeyseq) - { - m_sessionid = strSessionid; - m_keyseq = vecKeyseq; - } - CImReqChatDeltext& operator=( const CImReqChatDeltext& cImReqChatDeltext ) - { - m_sessionid = cImReqChatDeltext.m_sessionid; - m_keyseq = cImReqChatDeltext.m_keyseq; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const VECTOR< SCchatindexid >& GetKeyseq () const { return m_keyseq; } - bool SetKeyseq ( const VECTOR< SCchatindexid >& vecKeyseq ) - { - m_keyseq = vecKeyseq; - return true; - } -private: - string m_sessionid; - VECTOR< SCchatindexid > m_keyseq; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChatDeltext::Size() const -{ - uint32_t nSize = 12; - nSize += m_sessionid.length(); - for(uint32_t i = 0; i < m_keyseq.size(); i++) - { - nSize += m_keyseq[i].Size(); - } - return nSize; -} - -class CImRspChatDeltext : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHAT_DELTEXT - }; - CImRspChatDeltext() - { - } - - ~CImRspChatDeltext() { } - CImRspChatDeltext(const string& strSessionid, const VECTOR< SCchatindexid >& vecKeyseq, const uint16_t& wRetcode, const string& strMsg) - { - m_sessionid = strSessionid; - m_keyseq = vecKeyseq; - m_retcode = wRetcode; - m_msg = strMsg; - } - CImRspChatDeltext& operator=( const CImRspChatDeltext& cImRspChatDeltext ) - { - m_sessionid = cImRspChatDeltext.m_sessionid; - m_keyseq = cImRspChatDeltext.m_keyseq; - m_retcode = cImRspChatDeltext.m_retcode; - m_msg = cImRspChatDeltext.m_msg; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const VECTOR< SCchatindexid >& GetKeyseq () const { return m_keyseq; } - bool SetKeyseq ( const VECTOR< SCchatindexid >& vecKeyseq ) - { - m_keyseq = vecKeyseq; - return true; - } - const uint16_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint16_t& wRetcode ) - { - m_retcode = wRetcode; - return true; - } - const string& GetMsg () const { return m_msg; } - bool SetMsg ( const string& strMsg ) - { - m_msg = strMsg; - return true; - } -private: - string m_sessionid; - VECTOR< SCchatindexid > m_keyseq; - uint16_t m_retcode; - string m_msg; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChatDeltext::Size() const -{ - uint32_t nSize = 20; - nSize += m_sessionid.length(); - for(uint32_t i = 0; i < m_keyseq.size(); i++) - { - nSize += m_keyseq[i].Size(); - } - nSize += m_msg.length(); - return nSize; -} - -class CImReqChatGettxt : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHAT_GETTXT - }; - CImReqChatGettxt() - { - } - - ~CImReqChatGettxt() { } - CImReqChatGettxt(const string& strSessionid, const string& strFromid, const string& strToid, const uint64_t& ullBegtime, const uint64_t& ullEndtime, const uint64_t& ullMinbegtime, const uint32_t& dwMsgnum, const uint8_t& chGetall) - { - m_sessionid = strSessionid; - m_fromid = strFromid; - m_toid = strToid; - m_begtime = ullBegtime; - m_endtime = ullEndtime; - m_minbegtime = ullMinbegtime; - m_msgnum = dwMsgnum; - m_getall = chGetall; - } - CImReqChatGettxt& operator=( const CImReqChatGettxt& cImReqChatGettxt ) - { - m_sessionid = cImReqChatGettxt.m_sessionid; - m_fromid = cImReqChatGettxt.m_fromid; - m_toid = cImReqChatGettxt.m_toid; - m_begtime = cImReqChatGettxt.m_begtime; - m_endtime = cImReqChatGettxt.m_endtime; - m_minbegtime = cImReqChatGettxt.m_minbegtime; - m_msgnum = cImReqChatGettxt.m_msgnum; - m_getall = cImReqChatGettxt.m_getall; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const string& GetFromid () const { return m_fromid; } - bool SetFromid ( const string& strFromid ) - { - if(strFromid.size() > 64) - return false; - m_fromid = strFromid; - return true; - } - const string& GetToid () const { return m_toid; } - bool SetToid ( const string& strToid ) - { - if(strToid.size() > 64) - return false; - m_toid = strToid; - return true; - } - const uint64_t& GetBegtime () const { return m_begtime; } - bool SetBegtime ( const uint64_t& ullBegtime ) - { - m_begtime = ullBegtime; - return true; - } - const uint64_t& GetEndtime () const { return m_endtime; } - bool SetEndtime ( const uint64_t& ullEndtime ) - { - m_endtime = ullEndtime; - return true; - } - const uint64_t& GetMinbegtime () const { return m_minbegtime; } - bool SetMinbegtime ( const uint64_t& ullMinbegtime ) - { - m_minbegtime = ullMinbegtime; - return true; - } - const uint32_t& GetMsgnum () const { return m_msgnum; } - bool SetMsgnum ( const uint32_t& dwMsgnum ) - { - m_msgnum = dwMsgnum; - return true; - } - const uint8_t& GetGetall () const { return m_getall; } - bool SetGetall ( const uint8_t& chGetall ) - { - m_getall = chGetall; - return true; - } -private: - string m_sessionid; - string m_fromid; - string m_toid; - uint64_t m_begtime; - uint64_t m_endtime; - uint64_t m_minbegtime; - uint32_t m_msgnum; - uint8_t m_getall; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChatGettxt::Size() const -{ - uint32_t nSize = 50; - nSize += m_sessionid.length(); - nSize += m_fromid.length(); - nSize += m_toid.length(); - return nSize; -} - -struct STextlogitem -{ -public: - STextlogitem() - { - } - - ~STextlogitem() { } - STextlogitem(const uint8_t& chDir, const uint64_t& ullSeq, const uint64_t& ullTm, const string& strMsg) - { - m_dir = chDir; - m_seq = ullSeq; - m_tm = ullTm; - m_msg = strMsg; - } - STextlogitem& operator=( const STextlogitem& sTextlogitem ) - { - m_dir = sTextlogitem.m_dir; - m_seq = sTextlogitem.m_seq; - m_tm = sTextlogitem.m_tm; - m_msg = sTextlogitem.m_msg; - return *this; - } - - uint8_t m_dir; - uint64_t m_seq; - uint64_t m_tm; - string m_msg; - -public: - uint32_t Size() const; -}; - -inline uint32_t STextlogitem::Size() const -{ - uint32_t nSize = 26; - nSize += m_msg.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const STextlogitem& sTextlogitem ); -CPackData& operator>> ( CPackData& cPackData, STextlogitem& sTextlogitem ); - -class CImRspChatGettxt : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHAT_GETTXT - }; - CImRspChatGettxt() - { - } - - ~CImRspChatGettxt() { } - CImRspChatGettxt(const string& strSessionid, const string& strFromid, const string& strToid, const VECTOR< STextlogitem >& vecMsgseq, const uint64_t& ullNewbegtime, const uint64_t& ullNewendtime, const uint64_t& ullNextbegtime, const uint8_t& chGetall, const uint8_t& chIslast, const uint16_t& wRetcode, const string& strMsg) - { - m_sessionid = strSessionid; - m_fromid = strFromid; - m_toid = strToid; - m_msgseq = vecMsgseq; - m_newbegtime = ullNewbegtime; - m_newendtime = ullNewendtime; - m_nextbegtime = ullNextbegtime; - m_getall = chGetall; - m_islast = chIslast; - m_retcode = wRetcode; - m_msg = strMsg; - } - CImRspChatGettxt& operator=( const CImRspChatGettxt& cImRspChatGettxt ) - { - m_sessionid = cImRspChatGettxt.m_sessionid; - m_fromid = cImRspChatGettxt.m_fromid; - m_toid = cImRspChatGettxt.m_toid; - m_msgseq = cImRspChatGettxt.m_msgseq; - m_newbegtime = cImRspChatGettxt.m_newbegtime; - m_newendtime = cImRspChatGettxt.m_newendtime; - m_nextbegtime = cImRspChatGettxt.m_nextbegtime; - m_getall = cImRspChatGettxt.m_getall; - m_islast = cImRspChatGettxt.m_islast; - m_retcode = cImRspChatGettxt.m_retcode; - m_msg = cImRspChatGettxt.m_msg; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const string& GetFromid () const { return m_fromid; } - bool SetFromid ( const string& strFromid ) - { - if(strFromid.size() > 64) - return false; - m_fromid = strFromid; - return true; - } - const string& GetToid () const { return m_toid; } - bool SetToid ( const string& strToid ) - { - if(strToid.size() > 64) - return false; - m_toid = strToid; - return true; - } - const VECTOR< STextlogitem >& GetMsgseq () const { return m_msgseq; } - bool SetMsgseq ( const VECTOR< STextlogitem >& vecMsgseq ) - { - m_msgseq = vecMsgseq; - return true; - } - const uint64_t& GetNewbegtime () const { return m_newbegtime; } - bool SetNewbegtime ( const uint64_t& ullNewbegtime ) - { - m_newbegtime = ullNewbegtime; - return true; - } - const uint64_t& GetNewendtime () const { return m_newendtime; } - bool SetNewendtime ( const uint64_t& ullNewendtime ) - { - m_newendtime = ullNewendtime; - return true; - } - const uint64_t& GetNextbegtime () const { return m_nextbegtime; } - bool SetNextbegtime ( const uint64_t& ullNextbegtime ) - { - m_nextbegtime = ullNextbegtime; - return true; - } - const uint8_t& GetGetall () const { return m_getall; } - bool SetGetall ( const uint8_t& chGetall ) - { - m_getall = chGetall; - return true; - } - const uint8_t& GetIslast () const { return m_islast; } - bool SetIslast ( const uint8_t& chIslast ) - { - m_islast = chIslast; - return true; - } - const uint16_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint16_t& wRetcode ) - { - m_retcode = wRetcode; - return true; - } - const string& GetMsg () const { return m_msg; } - bool SetMsg ( const string& strMsg ) - { - m_msg = strMsg; - return true; - } -private: - string m_sessionid; - string m_fromid; - string m_toid; - VECTOR< STextlogitem > m_msgseq; - uint64_t m_newbegtime; - uint64_t m_newendtime; - uint64_t m_nextbegtime; - uint8_t m_getall; - uint8_t m_islast; - uint16_t m_retcode; - string m_msg; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChatGettxt::Size() const -{ - uint32_t nSize = 61; - nSize += m_sessionid.length(); - nSize += m_fromid.length(); - nSize += m_toid.length(); - for(uint32_t i = 0; i < m_msgseq.size(); i++) - { - nSize += m_msgseq[i].Size(); - } - nSize += m_msg.length(); - return nSize; -} - -class CImReqChatSettxt : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHAT_SETTXT - }; - CImReqChatSettxt() - { - } - - ~CImReqChatSettxt() { } - CImReqChatSettxt(const string& strSessionid, const string& strFromid, const string& strToid, const uint64_t& ullTm, const uint64_t& ullSeq, const uint8_t& chDir, const string& strChatmsg) - { - m_sessionid = strSessionid; - m_fromid = strFromid; - m_toid = strToid; - m_tm = ullTm; - m_seq = ullSeq; - m_dir = chDir; - m_chatmsg = strChatmsg; - } - CImReqChatSettxt& operator=( const CImReqChatSettxt& cImReqChatSettxt ) - { - m_sessionid = cImReqChatSettxt.m_sessionid; - m_fromid = cImReqChatSettxt.m_fromid; - m_toid = cImReqChatSettxt.m_toid; - m_tm = cImReqChatSettxt.m_tm; - m_seq = cImReqChatSettxt.m_seq; - m_dir = cImReqChatSettxt.m_dir; - m_chatmsg = cImReqChatSettxt.m_chatmsg; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const string& GetFromid () const { return m_fromid; } - bool SetFromid ( const string& strFromid ) - { - if(strFromid.size() > 64) - return false; - m_fromid = strFromid; - return true; - } - const string& GetToid () const { return m_toid; } - bool SetToid ( const string& strToid ) - { - if(strToid.size() > 64) - return false; - m_toid = strToid; - return true; - } - const uint64_t& GetTm () const { return m_tm; } - bool SetTm ( const uint64_t& ullTm ) - { - m_tm = ullTm; - return true; - } - const uint64_t& GetSeq () const { return m_seq; } - bool SetSeq ( const uint64_t& ullSeq ) - { - m_seq = ullSeq; - return true; - } - const uint8_t& GetDir () const { return m_dir; } - bool SetDir ( const uint8_t& chDir ) - { - m_dir = chDir; - return true; - } - const string& GetChatmsg () const { return m_chatmsg; } - bool SetChatmsg ( const string& strChatmsg ) - { - m_chatmsg = strChatmsg; - return true; - } -private: - string m_sessionid; - string m_fromid; - string m_toid; - uint64_t m_tm; - uint64_t m_seq; - uint8_t m_dir; - string m_chatmsg; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChatSettxt::Size() const -{ - uint32_t nSize = 41; - nSize += m_sessionid.length(); - nSize += m_fromid.length(); - nSize += m_toid.length(); - nSize += m_chatmsg.length(); - return nSize; -} - -class CImRspChatSettxt : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHAT_SETTXT - }; - CImRspChatSettxt() - { - } - - ~CImRspChatSettxt() { } - CImRspChatSettxt(const string& strSessionid, const string& strFromid, const string& strToid, const uint64_t& ullTm, const uint64_t& ullSeq, const uint8_t& chDir, const uint16_t& wRetcode, const string& strMsg) - { - m_sessionid = strSessionid; - m_fromid = strFromid; - m_toid = strToid; - m_tm = ullTm; - m_seq = ullSeq; - m_dir = chDir; - m_retcode = wRetcode; - m_msg = strMsg; - } - CImRspChatSettxt& operator=( const CImRspChatSettxt& cImRspChatSettxt ) - { - m_sessionid = cImRspChatSettxt.m_sessionid; - m_fromid = cImRspChatSettxt.m_fromid; - m_toid = cImRspChatSettxt.m_toid; - m_tm = cImRspChatSettxt.m_tm; - m_seq = cImRspChatSettxt.m_seq; - m_dir = cImRspChatSettxt.m_dir; - m_retcode = cImRspChatSettxt.m_retcode; - m_msg = cImRspChatSettxt.m_msg; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const string& GetFromid () const { return m_fromid; } - bool SetFromid ( const string& strFromid ) - { - if(strFromid.size() > 64) - return false; - m_fromid = strFromid; - return true; - } - const string& GetToid () const { return m_toid; } - bool SetToid ( const string& strToid ) - { - if(strToid.size() > 64) - return false; - m_toid = strToid; - return true; - } - const uint64_t& GetTm () const { return m_tm; } - bool SetTm ( const uint64_t& ullTm ) - { - m_tm = ullTm; - return true; - } - const uint64_t& GetSeq () const { return m_seq; } - bool SetSeq ( const uint64_t& ullSeq ) - { - m_seq = ullSeq; - return true; - } - const uint8_t& GetDir () const { return m_dir; } - bool SetDir ( const uint8_t& chDir ) - { - m_dir = chDir; - return true; - } - const uint16_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint16_t& wRetcode ) - { - m_retcode = wRetcode; - return true; - } - const string& GetMsg () const { return m_msg; } - bool SetMsg ( const string& strMsg ) - { - m_msg = strMsg; - return true; - } -private: - string m_sessionid; - string m_fromid; - string m_toid; - uint64_t m_tm; - uint64_t m_seq; - uint8_t m_dir; - uint16_t m_retcode; - string m_msg; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChatSettxt::Size() const -{ - uint32_t nSize = 44; - nSize += m_sessionid.length(); - nSize += m_fromid.length(); - nSize += m_toid.length(); - nSize += m_msg.length(); - return nSize; -} - -class CImReqChatQuerypics : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHAT_QUERYPICS - }; - CImReqChatQuerypics() - { - } - - ~CImReqChatQuerypics() { } - CImReqChatQuerypics(const string& strSessionid, const VECTOR< string >& vecFilenameseq) - { - m_sessionid = strSessionid; - m_filenameseq = vecFilenameseq; - } - CImReqChatQuerypics& operator=( const CImReqChatQuerypics& cImReqChatQuerypics ) - { - m_sessionid = cImReqChatQuerypics.m_sessionid; - m_filenameseq = cImReqChatQuerypics.m_filenameseq; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const VECTOR< string >& GetFilenameseq () const { return m_filenameseq; } - bool SetFilenameseq ( const VECTOR< string >& vecFilenameseq ) - { - m_filenameseq = vecFilenameseq; - return true; - } -private: - string m_sessionid; - VECTOR< string > m_filenameseq; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChatQuerypics::Size() const -{ - uint32_t nSize = 12; - nSize += m_sessionid.length(); - nSize += m_filenameseq.size() * 4; - for(uint32_t i = 0; i < m_filenameseq.size(); i++) - { - nSize += m_filenameseq[i].length(); - } - return nSize; -} - -struct SKeypicseqidex -{ -public: - SKeypicseqidex() - { - } - - ~SKeypicseqidex() { } - SKeypicseqidex(const string& strKey, const uint8_t& chCode) - { - m_key = strKey; - m_code = chCode; - } - SKeypicseqidex& operator=( const SKeypicseqidex& sKeypicseqidex ) - { - m_key = sKeypicseqidex.m_key; - m_code = sKeypicseqidex.m_code; - return *this; - } - - string m_key; - uint8_t m_code; - -public: - uint32_t Size() const; -}; - -inline uint32_t SKeypicseqidex::Size() const -{ - uint32_t nSize = 8; - nSize += m_key.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SKeypicseqidex& sKeypicseqidex ); -CPackData& operator>> ( CPackData& cPackData, SKeypicseqidex& sKeypicseqidex ); - -class CImRspChatQuerypics : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHAT_QUERYPICS - }; - CImRspChatQuerypics() - { - } - - ~CImRspChatQuerypics() { } - CImRspChatQuerypics(const string& strSessionid, const VECTOR< SKeypicseqidex >& vecFilenameseq, const uint16_t& wRetcode, const string& strMsg, const uint8_t& chIslast) - { - m_sessionid = strSessionid; - m_filenameseq = vecFilenameseq; - m_retcode = wRetcode; - m_msg = strMsg; - m_islast = chIslast; - } - CImRspChatQuerypics& operator=( const CImRspChatQuerypics& cImRspChatQuerypics ) - { - m_sessionid = cImRspChatQuerypics.m_sessionid; - m_filenameseq = cImRspChatQuerypics.m_filenameseq; - m_retcode = cImRspChatQuerypics.m_retcode; - m_msg = cImRspChatQuerypics.m_msg; - m_islast = cImRspChatQuerypics.m_islast; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const VECTOR< SKeypicseqidex >& GetFilenameseq () const { return m_filenameseq; } - bool SetFilenameseq ( const VECTOR< SKeypicseqidex >& vecFilenameseq ) - { - m_filenameseq = vecFilenameseq; - return true; - } - const uint16_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint16_t& wRetcode ) - { - m_retcode = wRetcode; - return true; - } - const string& GetMsg () const { return m_msg; } - bool SetMsg ( const string& strMsg ) - { - m_msg = strMsg; - return true; - } - const uint8_t& GetIslast () const { return m_islast; } - bool SetIslast ( const uint8_t& chIslast ) - { - m_islast = chIslast; - return true; - } -private: - string m_sessionid; - VECTOR< SKeypicseqidex > m_filenameseq; - uint16_t m_retcode; - string m_msg; - uint8_t m_islast; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChatQuerypics::Size() const -{ - uint32_t nSize = 22; - nSize += m_sessionid.length(); - for(uint32_t i = 0; i < m_filenameseq.size(); i++) - { - nSize += m_filenameseq[i].Size(); - } - nSize += m_msg.length(); - return nSize; -} - -class CImReqChatPutpic : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHAT_PUTPIC - }; - CImReqChatPutpic() - { - } - - ~CImReqChatPutpic() { } - CImReqChatPutpic(const string& strSessionid, const string& strPickey, const string& strData, const uint64_t& ullSize, const uint64_t& ullOffset) - { - m_sessionid = strSessionid; - m_pickey = strPickey; - m_data = strData; - m_size = ullSize; - m_offset = ullOffset; - } - CImReqChatPutpic& operator=( const CImReqChatPutpic& cImReqChatPutpic ) - { - m_sessionid = cImReqChatPutpic.m_sessionid; - m_pickey = cImReqChatPutpic.m_pickey; - m_data = cImReqChatPutpic.m_data; - m_size = cImReqChatPutpic.m_size; - m_offset = cImReqChatPutpic.m_offset; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const string& GetPickey () const { return m_pickey; } - bool SetPickey ( const string& strPickey ) - { - m_pickey = strPickey; - return true; - } - const string& GetData () const { return m_data; } - bool SetData ( const string& strData ) - { - m_data = strData; - return true; - } - const uint64_t& GetSize () const { return m_size; } - bool SetSize ( const uint64_t& ullSize ) - { - m_size = ullSize; - return true; - } - const uint64_t& GetOffset () const { return m_offset; } - bool SetOffset ( const uint64_t& ullOffset ) - { - m_offset = ullOffset; - return true; - } -private: - string m_sessionid; - string m_pickey; - string m_data; - uint64_t m_size; - uint64_t m_offset; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChatPutpic::Size() const -{ - uint32_t nSize = 34; - nSize += m_sessionid.length(); - nSize += m_pickey.length(); - nSize += m_data.length(); - return nSize; -} - -class CImRspChatPutpic : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHAT_PUTPIC - }; - CImRspChatPutpic() - { - } - - ~CImRspChatPutpic() { } - CImRspChatPutpic(const string& strSessionid, const string& strPickey, const uint64_t& ullSize, const uint64_t& ullOffset, const uint16_t& wRetcode, const string& strMsg) - { - m_sessionid = strSessionid; - m_pickey = strPickey; - m_size = ullSize; - m_offset = ullOffset; - m_retcode = wRetcode; - m_msg = strMsg; - } - CImRspChatPutpic& operator=( const CImRspChatPutpic& cImRspChatPutpic ) - { - m_sessionid = cImRspChatPutpic.m_sessionid; - m_pickey = cImRspChatPutpic.m_pickey; - m_size = cImRspChatPutpic.m_size; - m_offset = cImRspChatPutpic.m_offset; - m_retcode = cImRspChatPutpic.m_retcode; - m_msg = cImRspChatPutpic.m_msg; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const string& GetPickey () const { return m_pickey; } - bool SetPickey ( const string& strPickey ) - { - m_pickey = strPickey; - return true; - } - const uint64_t& GetSize () const { return m_size; } - bool SetSize ( const uint64_t& ullSize ) - { - m_size = ullSize; - return true; - } - const uint64_t& GetOffset () const { return m_offset; } - bool SetOffset ( const uint64_t& ullOffset ) - { - m_offset = ullOffset; - return true; - } - const uint16_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint16_t& wRetcode ) - { - m_retcode = wRetcode; - return true; - } - const string& GetMsg () const { return m_msg; } - bool SetMsg ( const string& strMsg ) - { - m_msg = strMsg; - return true; - } -private: - string m_sessionid; - string m_pickey; - uint64_t m_size; - uint64_t m_offset; - uint16_t m_retcode; - string m_msg; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChatPutpic::Size() const -{ - uint32_t nSize = 37; - nSize += m_sessionid.length(); - nSize += m_pickey.length(); - nSize += m_msg.length(); - return nSize; -} - -struct SKeypicseq -{ -public: - SKeypicseq() - { - } - - ~SKeypicseq() { } - SKeypicseq(const string& strKey, const string& strContent) - { - m_key = strKey; - m_content = strContent; - } - SKeypicseq& operator=( const SKeypicseq& sKeypicseq ) - { - m_key = sKeypicseq.m_key; - m_content = sKeypicseq.m_content; - return *this; - } - - string m_key; - string m_content; - -public: - uint32_t Size() const; -}; - -inline uint32_t SKeypicseq::Size() const -{ - uint32_t nSize = 11; - nSize += m_key.length(); - nSize += m_content.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SKeypicseq& sKeypicseq ); -CPackData& operator>> ( CPackData& cPackData, SKeypicseq& sKeypicseq ); - -class CImReqChatGetpic : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHAT_GETPIC - }; - CImReqChatGetpic() - { - } - - ~CImReqChatGetpic() { } - CImReqChatGetpic(const string& strSessionid, const string& strPickey) - { - m_sessionid = strSessionid; - m_pickey = strPickey; - } - CImReqChatGetpic& operator=( const CImReqChatGetpic& cImReqChatGetpic ) - { - m_sessionid = cImReqChatGetpic.m_sessionid; - m_pickey = cImReqChatGetpic.m_pickey; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const string& GetPickey () const { return m_pickey; } - bool SetPickey ( const string& strPickey ) - { - m_pickey = strPickey; - return true; - } -private: - string m_sessionid; - string m_pickey; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChatGetpic::Size() const -{ - uint32_t nSize = 11; - nSize += m_sessionid.length(); - nSize += m_pickey.length(); - return nSize; -} - -class CImRspChatGetpic : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHAT_GETPIC - }; - CImRspChatGetpic() - { - } - - ~CImRspChatGetpic() { } - CImRspChatGetpic(const string& strSessionid, const string& strPickey, const string& strData, const uint64_t& ullSize, const uint64_t& ullOffset, const uint16_t& wRetcode, const string& strMsg) - { - m_sessionid = strSessionid; - m_pickey = strPickey; - m_data = strData; - m_size = ullSize; - m_offset = ullOffset; - m_retcode = wRetcode; - m_msg = strMsg; - } - CImRspChatGetpic& operator=( const CImRspChatGetpic& cImRspChatGetpic ) - { - m_sessionid = cImRspChatGetpic.m_sessionid; - m_pickey = cImRspChatGetpic.m_pickey; - m_data = cImRspChatGetpic.m_data; - m_size = cImRspChatGetpic.m_size; - m_offset = cImRspChatGetpic.m_offset; - m_retcode = cImRspChatGetpic.m_retcode; - m_msg = cImRspChatGetpic.m_msg; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const string& GetPickey () const { return m_pickey; } - bool SetPickey ( const string& strPickey ) - { - m_pickey = strPickey; - return true; - } - const string& GetData () const { return m_data; } - bool SetData ( const string& strData ) - { - m_data = strData; - return true; - } - const uint64_t& GetSize () const { return m_size; } - bool SetSize ( const uint64_t& ullSize ) - { - m_size = ullSize; - return true; - } - const uint64_t& GetOffset () const { return m_offset; } - bool SetOffset ( const uint64_t& ullOffset ) - { - m_offset = ullOffset; - return true; - } - const uint16_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint16_t& wRetcode ) - { - m_retcode = wRetcode; - return true; - } - const string& GetMsg () const { return m_msg; } - bool SetMsg ( const string& strMsg ) - { - m_msg = strMsg; - return true; - } -private: - string m_sessionid; - string m_pickey; - string m_data; - uint64_t m_size; - uint64_t m_offset; - uint16_t m_retcode; - string m_msg; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChatGetpic::Size() const -{ - uint32_t nSize = 42; - nSize += m_sessionid.length(); - nSize += m_pickey.length(); - nSize += m_data.length(); - nSize += m_msg.length(); - return nSize; -} - -class CImReqChatGetcal : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHAT_GETCAL - }; - CImReqChatGetcal() - { - } - - ~CImReqChatGetcal() { } - CImReqChatGetcal(const string& strSessionid, const string& strUid, const string& strToid, const string& strStartdate, const string& strEnddate) - { - m_sessionid = strSessionid; - m_uid = strUid; - m_toid = strToid; - m_startdate = strStartdate; - m_enddate = strEnddate; - } - CImReqChatGetcal& operator=( const CImReqChatGetcal& cImReqChatGetcal ) - { - m_sessionid = cImReqChatGetcal.m_sessionid; - m_uid = cImReqChatGetcal.m_uid; - m_toid = cImReqChatGetcal.m_toid; - m_startdate = cImReqChatGetcal.m_startdate; - m_enddate = cImReqChatGetcal.m_enddate; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetToid () const { return m_toid; } - bool SetToid ( const string& strToid ) - { - if(strToid.size() > 64) - return false; - m_toid = strToid; - return true; - } - const string& GetStartdate () const { return m_startdate; } - bool SetStartdate ( const string& strStartdate ) - { - m_startdate = strStartdate; - return true; - } - const string& GetEnddate () const { return m_enddate; } - bool SetEnddate ( const string& strEnddate ) - { - m_enddate = strEnddate; - return true; - } -private: - string m_sessionid; - string m_uid; - string m_toid; - string m_startdate; - string m_enddate; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChatGetcal::Size() const -{ - uint32_t nSize = 26; - nSize += m_sessionid.length(); - nSize += m_uid.length(); - nSize += m_toid.length(); - nSize += m_startdate.length(); - nSize += m_enddate.length(); - return nSize; -} - -class CImRspChatGetcal : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHAT_GETCAL - }; - CImRspChatGetcal() - { - } - - ~CImRspChatGetcal() { } - CImRspChatGetcal(const string& strSessionid, const string& strUid, const string& strToid, const VECTOR< string >& vecDateseq, const uint16_t& wRetcode, const string& strMsg) - { - m_sessionid = strSessionid; - m_uid = strUid; - m_toid = strToid; - m_dateseq = vecDateseq; - m_retcode = wRetcode; - m_msg = strMsg; - } - CImRspChatGetcal& operator=( const CImRspChatGetcal& cImRspChatGetcal ) - { - m_sessionid = cImRspChatGetcal.m_sessionid; - m_uid = cImRspChatGetcal.m_uid; - m_toid = cImRspChatGetcal.m_toid; - m_dateseq = cImRspChatGetcal.m_dateseq; - m_retcode = cImRspChatGetcal.m_retcode; - m_msg = cImRspChatGetcal.m_msg; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetToid () const { return m_toid; } - bool SetToid ( const string& strToid ) - { - if(strToid.size() > 64) - return false; - m_toid = strToid; - return true; - } - const VECTOR< string >& GetDateseq () const { return m_dateseq; } - bool SetDateseq ( const VECTOR< string >& vecDateseq ) - { - m_dateseq = vecDateseq; - return true; - } - const uint16_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint16_t& wRetcode ) - { - m_retcode = wRetcode; - return true; - } - const string& GetMsg () const { return m_msg; } - bool SetMsg ( const string& strMsg ) - { - m_msg = strMsg; - return true; - } -private: - string m_sessionid; - string m_uid; - string m_toid; - VECTOR< string > m_dateseq; - uint16_t m_retcode; - string m_msg; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChatGetcal::Size() const -{ - uint32_t nSize = 30; - nSize += m_sessionid.length(); - nSize += m_uid.length(); - nSize += m_toid.length(); - nSize += m_dateseq.size() * 4; - for(uint32_t i = 0; i < m_dateseq.size(); i++) - { - nSize += m_dateseq[i].length(); - } - nSize += m_msg.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/.svn/text-base/tpfs_perf_test.h.svn-base b/features/aliww/include/.svn/text-base/tpfs_perf_test.h.svn-base deleted file mode 100644 index 118f78e..0000000 --- a/features/aliww/include/.svn/text-base/tpfs_perf_test.h.svn-base +++ /dev/null @@ -1,39 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: get_bind_list.h - * - * Description: - * - * Version: 1.0 - * Created: 2011å¹´01月07æ—¥ 15æ—¶44分43秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ - -#ifndef TPFS_PERF_TEST_H -#define TPFS_PERF_TEST_H -#include -using namespace std; - -#ifdef __cplusplus -extern "C" { -#endif -void *tpfs_init(void* p); -void *tpfs_act(void* p); -void *tpfs_end(void* p); -void *tpfs_getcal(void* p); -void *tpfs_gettext(void* p); -void *tpfs_getpic(void* p); -void *tpfs_putpic(void* p); -void *tpfs_putgetpic(void* p); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/features/aliww/include/.svn/text-base/tradeCache.h.svn-base b/features/aliww/include/.svn/text-base/tradeCache.h.svn-base deleted file mode 100644 index 65adaa4..0000000 --- a/features/aliww/include/.svn/text-base/tradeCache.h.svn-base +++ /dev/null @@ -1,252 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `tradeCache.ice' - -#ifndef __tradeCache_h__ -#define __tradeCache_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class TradeCache; -bool operator==(const TradeCache&, const TradeCache&); -bool operator!=(const TradeCache&, const TradeCache&); -bool operator<(const TradeCache&, const TradeCache&); -bool operator<=(const TradeCache&, const TradeCache&); -bool operator>(const TradeCache&, const TradeCache&); -bool operator>=(const TradeCache&, const TradeCache&); - -} - -} - -namespace AliIM -{ - -class TradeCache; -bool operator==(const TradeCache&, const TradeCache&); -bool operator!=(const TradeCache&, const TradeCache&); -bool operator<(const TradeCache&, const TradeCache&); -bool operator<=(const TradeCache&, const TradeCache&); -bool operator>(const TradeCache&, const TradeCache&); -bool operator>=(const TradeCache&, const TradeCache&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::TradeCache*); -void decRef(::AliIM::TradeCache*); - -void incRef(::IceProxy::AliIM::TradeCache*); -void decRef(::IceProxy::AliIM::TradeCache*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::TradeCache> TradeCachePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::TradeCache> TradeCachePrx; - -void __write(::IceInternal::BasicStream*, const TradeCachePrx&); -void __read(::IceInternal::BasicStream*, TradeCachePrx&); -void __write(::IceInternal::BasicStream*, const TradeCachePtr&); -void __patch__TradeCachePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const TradeCachePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const TradeCachePtr&); -void __decRefUnsafe(const TradeCachePtr&); -void __clearHandleUnsafe(TradeCachePtr&); - -} - -namespace AliIM -{ - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class TradeCache : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int checkTrade(const ::std::string& uid1, const ::std::string& uid2) - { - return checkTrade(uid1, uid2, 0); - } - ::Ice::Int checkTrade(const ::std::string& uid1, const ::std::string& uid2, const ::Ice::Context& __ctx) - { - return checkTrade(uid1, uid2, &__ctx); - } - -private: - - ::Ice::Int checkTrade(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int addTrade(const ::std::string& uid1, const ::std::string& uid2) - { - return addTrade(uid1, uid2, 0); - } - ::Ice::Int addTrade(const ::std::string& uid1, const ::std::string& uid2, const ::Ice::Context& __ctx) - { - return addTrade(uid1, uid2, &__ctx); - } - -private: - - ::Ice::Int addTrade(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class TradeCache : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int checkTrade(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int addTrade(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class TradeCache : virtual public ::IceDelegate::AliIM::TradeCache, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int checkTrade(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int addTrade(const ::std::string&, const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class TradeCache : virtual public ::IceDelegate::AliIM::TradeCache, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int checkTrade(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int addTrade(const ::std::string&, const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class TradeCache : virtual public ::Ice::Object -{ -public: - - typedef TradeCachePrx ProxyType; - typedef TradeCachePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int checkTrade(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkTrade(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int addTrade(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addTrade(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__TradeCachePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/udbservice.h.svn-base b/features/aliww/include/.svn/text-base/udbservice.h.svn-base deleted file mode 100644 index 2c25da7..0000000 --- a/features/aliww/include/.svn/text-base/udbservice.h.svn-base +++ /dev/null @@ -1,394 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `udbservice.ice' - -#ifndef __udbservice_h__ -#define __udbservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliICEUDB -{ - -class IUDBService; -bool operator==(const IUDBService&, const IUDBService&); -bool operator!=(const IUDBService&, const IUDBService&); -bool operator<(const IUDBService&, const IUDBService&); -bool operator<=(const IUDBService&, const IUDBService&); -bool operator>(const IUDBService&, const IUDBService&); -bool operator>=(const IUDBService&, const IUDBService&); - -class IUDBInfo; -bool operator==(const IUDBInfo&, const IUDBInfo&); -bool operator!=(const IUDBInfo&, const IUDBInfo&); -bool operator<(const IUDBInfo&, const IUDBInfo&); -bool operator<=(const IUDBInfo&, const IUDBInfo&); -bool operator>(const IUDBInfo&, const IUDBInfo&); -bool operator>=(const IUDBInfo&, const IUDBInfo&); - -} - -} - -namespace AliICEUDB -{ - -class IUDBService; -bool operator==(const IUDBService&, const IUDBService&); -bool operator!=(const IUDBService&, const IUDBService&); -bool operator<(const IUDBService&, const IUDBService&); -bool operator<=(const IUDBService&, const IUDBService&); -bool operator>(const IUDBService&, const IUDBService&); -bool operator>=(const IUDBService&, const IUDBService&); - -class IUDBInfo; -bool operator==(const IUDBInfo&, const IUDBInfo&); -bool operator!=(const IUDBInfo&, const IUDBInfo&); -bool operator<(const IUDBInfo&, const IUDBInfo&); -bool operator<=(const IUDBInfo&, const IUDBInfo&); -bool operator>(const IUDBInfo&, const IUDBInfo&); -bool operator>=(const IUDBInfo&, const IUDBInfo&); - -} - -namespace IceInternal -{ - -void incRef(::AliICEUDB::IUDBService*); -void decRef(::AliICEUDB::IUDBService*); - -void incRef(::IceProxy::AliICEUDB::IUDBService*); -void decRef(::IceProxy::AliICEUDB::IUDBService*); - -void incRef(::AliICEUDB::IUDBInfo*); -void decRef(::AliICEUDB::IUDBInfo*); - -void incRef(::IceProxy::AliICEUDB::IUDBInfo*); -void decRef(::IceProxy::AliICEUDB::IUDBInfo*); - -} - -namespace AliICEUDB -{ - -typedef ::IceInternal::Handle< ::AliICEUDB::IUDBService> IUDBServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliICEUDB::IUDBService> IUDBServicePrx; - -void __write(::IceInternal::BasicStream*, const IUDBServicePrx&); -void __read(::IceInternal::BasicStream*, IUDBServicePrx&); -void __write(::IceInternal::BasicStream*, const IUDBServicePtr&); -void __patch__IUDBServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IUDBServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IUDBServicePtr&); -void __decRefUnsafe(const IUDBServicePtr&); -void __clearHandleUnsafe(IUDBServicePtr&); - -typedef ::IceInternal::Handle< ::AliICEUDB::IUDBInfo> IUDBInfoPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliICEUDB::IUDBInfo> IUDBInfoPrx; - -void __write(::IceInternal::BasicStream*, const IUDBInfoPrx&); -void __read(::IceInternal::BasicStream*, IUDBInfoPrx&); -void __write(::IceInternal::BasicStream*, const IUDBInfoPtr&); -void __patch__IUDBInfoPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IUDBInfoPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IUDBInfoPtr&); -void __decRefUnsafe(const IUDBInfoPtr&); -void __clearHandleUnsafe(IUDBInfoPtr&); - -} - -namespace AliICEUDB -{ - -typedef ::std::map< ::std::string, ::std::string> KVMap; - -class __U__KVMap { }; -void __write(::IceInternal::BasicStream*, const KVMap&, __U__KVMap); -void __read(::IceInternal::BasicStream*, KVMap&, __U__KVMap); - -} - -namespace IceProxy -{ - -namespace AliICEUDB -{ - -class IUDBService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int validateUDBUser(const ::std::string& site, const ::std::string& siteid, const ::std::string& sitemd5pw) - { - return validateUDBUser(site, siteid, sitemd5pw, 0); - } - ::Ice::Int validateUDBUser(const ::std::string& site, const ::std::string& siteid, const ::std::string& sitemd5pw, const ::Ice::Context& __ctx) - { - return validateUDBUser(site, siteid, sitemd5pw, &__ctx); - } - -private: - - ::Ice::Int validateUDBUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -class IUDBInfo : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int addUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs) - { - return addUserProfile(lid, kvMapArgs, 0); - } - ::Ice::Int addUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs, const ::Ice::Context& __ctx) - { - return addUserProfile(lid, kvMapArgs, &__ctx); - } - -private: - - ::Ice::Int addUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs) - { - return getUserProfile(lid, kvMapArgs, 0); - } - ::Ice::Int getUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs, const ::Ice::Context& __ctx) - { - return getUserProfile(lid, kvMapArgs, &__ctx); - } - -private: - - ::Ice::Int getUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Context*); - -public: - - ::Ice::Int updateUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs) - { - return updateUserProfile(lid, kvMapArgs, 0); - } - ::Ice::Int updateUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs, const ::Ice::Context& __ctx) - { - return updateUserProfile(lid, kvMapArgs, &__ctx); - } - -private: - - ::Ice::Int updateUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliICEUDB -{ - -class IUDBService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int validateUDBUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; -}; - -class IUDBInfo : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int addUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliICEUDB -{ - -class IUDBService : virtual public ::IceDelegate::AliICEUDB::IUDBService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int validateUDBUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); -}; - -class IUDBInfo : virtual public ::IceDelegate::AliICEUDB::IUDBInfo, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int addUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliICEUDB -{ - -class IUDBService : virtual public ::IceDelegate::AliICEUDB::IUDBService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int validateUDBUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); -}; - -class IUDBInfo : virtual public ::IceDelegate::AliICEUDB::IUDBInfo, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int addUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Context*); -}; - -} - -} - -namespace AliICEUDB -{ - -class IUDBService : virtual public ::Ice::Object -{ -public: - - typedef IUDBServicePrx ProxyType; - typedef IUDBServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int validateUDBUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___validateUDBUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IUDBServicePtr(void*, ::Ice::ObjectPtr&); - -class IUDBInfo : virtual public ::Ice::Object -{ -public: - - typedef IUDBInfoPrx ProxyType; - typedef IUDBInfoPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int addUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IUDBInfoPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/urlencode.h.svn-base b/features/aliww/include/.svn/text-base/urlencode.h.svn-base deleted file mode 100644 index 84a4f62..0000000 --- a/features/aliww/include/.svn/text-base/urlencode.h.svn-base +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef __H_CURL_ENCODE_H__ -#define __H_CURL_ENCODE_H__ -/* - URLEncode是这样编ç çš„ - 1。数字和字æ¯ä¸å˜ã€‚ - 2。空格å˜ä¸º"+"å·ã€‚ - 3。其他被编ç æˆ"%"加上他们的asciiçš„å六进制,规律是这样的 - 比如“啊â€å­— Asciiçš„å六进制是B0A1——>%B0%A1(Note:它是æ¯ä¸ªå­—节å‰åŠ ä¸ª%)。 - */ - -#include -#include -#include -#include -#include - -using namespace std; - -namespace ctool -{ - - typedef unsigned char BYTE; - - inline BYTE toHex(const BYTE &x) - { - return x > 9 ? x + 55: x + 48; - } - - inline string URLEncode(const string &sIn) - { - // cout << "size: " << sIn.size() << endl; - string sOut; - for( size_t ix = 0; ix < sIn.size(); ix++ ) - { - BYTE buf[4]; - memset( buf, 0, 4 ); - if( isalnum( (BYTE)sIn[ix] ) ) - { - buf[0] = sIn[ix]; - } - else if ( isspace( (BYTE)sIn[ix] ) ) - { - buf[0] = '+'; - } - else - { - buf[0] = '%'; - buf[1] = toHex( (BYTE)sIn[ix] >> 4 ); - buf[2] = toHex( (BYTE)sIn[ix] % 16); - } - sOut += (char *)buf; - } - return sOut; - }; -} -#endif diff --git a/features/aliww/include/.svn/text-base/user_ice_service.h.svn-base b/features/aliww/include/.svn/text-base/user_ice_service.h.svn-base deleted file mode 100644 index 45a41b8..0000000 --- a/features/aliww/include/.svn/text-base/user_ice_service.h.svn-base +++ /dev/null @@ -1,1480 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `user_ice_service.ice' - -#ifndef __user_ice_service_h__ -#define __user_ice_service_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace user -{ - -class UserService; -bool operator==(const UserService&, const UserService&); -bool operator!=(const UserService&, const UserService&); -bool operator<(const UserService&, const UserService&); -bool operator<=(const UserService&, const UserService&); -bool operator>(const UserService&, const UserService&); -bool operator>=(const UserService&, const UserService&); - -} - -} - -} - -} - -} - -} - -} - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace user -{ - -class UserService; -bool operator==(const UserService&, const UserService&); -bool operator!=(const UserService&, const UserService&); -bool operator<(const UserService&, const UserService&); -bool operator<=(const UserService&, const UserService&); -bool operator>(const UserService&, const UserService&); -bool operator>=(const UserService&, const UserService&); - -} - -} - -} - -} - -} - -} - -namespace IceInternal -{ - -void incRef(::com::alisoft::member::udb::api::user::UserService*); -void decRef(::com::alisoft::member::udb::api::user::UserService*); - -void incRef(::IceProxy::com::alisoft::member::udb::api::user::UserService*); -void decRef(::IceProxy::com::alisoft::member::udb::api::user::UserService*); - -} - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace user -{ - -typedef ::IceInternal::Handle< ::com::alisoft::member::udb::api::user::UserService> UserServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::com::alisoft::member::udb::api::user::UserService> UserServicePrx; - -void __write(::IceInternal::BasicStream*, const UserServicePrx&); -void __read(::IceInternal::BasicStream*, UserServicePrx&); -void __write(::IceInternal::BasicStream*, const UserServicePtr&); -void __patch__UserServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const UserServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const UserServicePtr&); -void __decRefUnsafe(const UserServicePtr&); -void __clearHandleUnsafe(UserServicePtr&); - -} - -} - -} - -} - -} - -} - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace model -{ - -struct Domain -{ - ::std::string domainId; - ::std::string name; - ::std::string domainPrefix; - ::std::string canLogin; - - bool operator==(const Domain&) const; - bool operator!=(const Domain&) const; - bool operator<(const Domain&) const; - bool operator<=(const Domain& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const Domain& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const Domain& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct UserProfile -{ - ::std::string userId; - ::std::string userName; - ::std::string passport; - ::std::string isDeleted; - ::std::string gmtCreate; - ::std::string gmtModified; - ::std::string creator; - ::std::string Modifier; - ::std::string domainPrefix; - ::std::string loginId; - ::std::string longId; - ::std::string sourceType; - ::std::string gmtLogin; - ::std::string userStatus; - ::Ice::Int status; - ::std::string email; - ::std::string mobileNo; - ::std::string phoneNo; - ::std::string company; - ::std::string jobTitle; - ::std::string country; - ::std::string province; - ::std::string city; - ::std::string address; - ::std::string sex; - ::std::string birthday; - ::std::string zip; - ::std::string constellation; - ::std::string subCity; - ::std::string bloodType; - ::std::string shengXiao; - ::std::string career; - ::std::string degree; - ::std::string interest; - ::std::string personality; - ::std::string memo; - ::std::string finishSchool; - ::Ice::Int contactShowFlag; - ::std::string companyAddress; - ::std::string companyUrl; - ::std::string companyTel; - ::Ice::Int companyShowFlag; - ::std::string signature; - ::std::string companyZip; - ::std::string companyFax; - ::std::string moreInterest; - ::Ice::Int personalShowFlag; - ::std::string homePage; - ::std::string vocation; - ::std::string companyEmail; - ::std::string duty; - ::std::string department; - ::std::string purchase; - ::std::string sales; - ::Ice::Float finishedPercent; - ::Ice::Int imgType; - ::std::string imgHashCode; - ::std::string nickname; - ::std::string userLevel; - - bool operator==(const UserProfile&) const; - bool operator!=(const UserProfile&) const; - bool operator<(const UserProfile&) const; - bool operator<=(const UserProfile& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const UserProfile& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const UserProfile& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::com::alisoft::member::udb::api::model::UserProfile> UserProfileSeq; - -class __U__UserProfileSeq { }; -void __write(::IceInternal::BasicStream*, const ::com::alisoft::member::udb::api::model::UserProfile*, const ::com::alisoft::member::udb::api::model::UserProfile*, __U__UserProfileSeq); -void __read(::IceInternal::BasicStream*, UserProfileSeq&, __U__UserProfileSeq); - -typedef ::std::vector< ::std::string> StringSeq; - -class __U__StringSeq { }; - -struct MatchedUserInfo -{ - ::std::string longId; - ::std::string name; - bool activeState; - - bool operator==(const MatchedUserInfo&) const; - bool operator!=(const MatchedUserInfo&) const; - bool operator<(const MatchedUserInfo&) const; - bool operator<=(const MatchedUserInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const MatchedUserInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const MatchedUserInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::com::alisoft::member::udb::api::model::MatchedUserInfo> MatchedUserInfoSeq; - -class __U__MatchedUserInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::com::alisoft::member::udb::api::model::MatchedUserInfo*, const ::com::alisoft::member::udb::api::model::MatchedUserInfo*, __U__MatchedUserInfoSeq); -void __read(::IceInternal::BasicStream*, MatchedUserInfoSeq&, __U__MatchedUserInfoSeq); - -typedef ::std::vector< ::com::alisoft::member::udb::api::model::Domain> DomainSeq; - -class __U__DomainSeq { }; -void __write(::IceInternal::BasicStream*, const ::com::alisoft::member::udb::api::model::Domain*, const ::com::alisoft::member::udb::api::model::Domain*, __U__DomainSeq); -void __read(::IceInternal::BasicStream*, DomainSeq&, __U__DomainSeq); - -} - -namespace user -{ - -} - -} - -} - -} - -} - -} - -namespace IceProxy -{ - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace user -{ - -class UserService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int registerUser(const ::com::alisoft::member::udb::api::model::Map& registerInfo, ::std::string& userId) - { - return registerUser(registerInfo, userId, 0); - } - ::Ice::Int registerUser(const ::com::alisoft::member::udb::api::model::Map& registerInfo, ::std::string& userId, const ::Ice::Context& __ctx) - { - return registerUser(registerInfo, userId, &__ctx); - } - -private: - - ::Ice::Int registerUser(const ::com::alisoft::member::udb::api::model::Map&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int registerAlisoft(const ::com::alisoft::member::udb::api::model::Map& registerInfo, ::std::string& userId) - { - return registerAlisoft(registerInfo, userId, 0); - } - ::Ice::Int registerAlisoft(const ::com::alisoft::member::udb::api::model::Map& registerInfo, ::std::string& userId, const ::Ice::Context& __ctx) - { - return registerAlisoft(registerInfo, userId, &__ctx); - } - -private: - - ::Ice::Int registerAlisoft(const ::com::alisoft::member::udb::api::model::Map&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int isCanRegister(const ::std::string& passport, bool& isCan) - { - return isCanRegister(passport, isCan, 0); - } - ::Ice::Int isCanRegister(const ::std::string& passport, bool& isCan, const ::Ice::Context& __ctx) - { - return isCanRegister(passport, isCan, &__ctx); - } - -private: - - ::Ice::Int isCanRegister(const ::std::string&, bool&, const ::Ice::Context*); - -public: - - ::Ice::Int modifyUserInfo(const ::com::alisoft::member::udb::api::model::Map& updateInfo) - { - return modifyUserInfo(updateInfo, 0); - } - ::Ice::Int modifyUserInfo(const ::com::alisoft::member::udb::api::model::Map& updateInfo, const ::Ice::Context& __ctx) - { - return modifyUserInfo(updateInfo, &__ctx); - } - -private: - - ::Ice::Int modifyUserInfo(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*); - -public: - - ::Ice::Int modifyImToken(const ::std::string& longId, const ::std::string& imToken) - { - return modifyImToken(longId, imToken, 0); - } - ::Ice::Int modifyImToken(const ::std::string& longId, const ::std::string& imToken, const ::Ice::Context& __ctx) - { - return modifyImToken(longId, imToken, &__ctx); - } - -private: - - ::Ice::Int modifyImToken(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int modifyAepImToken(const ::std::string& longId, const ::std::string& imToken) - { - return modifyAepImToken(longId, imToken, 0); - } - ::Ice::Int modifyAepImToken(const ::std::string& longId, const ::std::string& imToken, const ::Ice::Context& __ctx) - { - return modifyAepImToken(longId, imToken, &__ctx); - } - -private: - - ::Ice::Int modifyAepImToken(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getAepImToken(const ::std::string& longId, ::std::string& imToken, ::std::string& md5pwd, ::std::string& userStatus) - { - return getAepImToken(longId, imToken, md5pwd, userStatus, 0); - } - ::Ice::Int getAepImToken(const ::std::string& longId, ::std::string& imToken, ::std::string& md5pwd, ::std::string& userStatus, const ::Ice::Context& __ctx) - { - return getAepImToken(longId, imToken, md5pwd, userStatus, &__ctx); - } - -private: - - ::Ice::Int getAepImToken(const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int validateUser(const ::std::string& longId, const ::std::string& password, ::std::string& passport, ::std::string& retLongId, ::std::string& userId) - { - return validateUser(longId, password, passport, retLongId, userId, 0); - } - ::Ice::Int validateUser(const ::std::string& longId, const ::std::string& password, ::std::string& passport, ::std::string& retLongId, ::std::string& userId, const ::Ice::Context& __ctx) - { - return validateUser(longId, password, passport, retLongId, userId, &__ctx); - } - -private: - - ::Ice::Int validateUser(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int validatePassport(const ::std::string& passport, const ::std::string& password, ::std::string& longId, ::std::string& userId, ::std::string& md5pw) - { - return validatePassport(passport, password, longId, userId, md5pw, 0); - } - ::Ice::Int validatePassport(const ::std::string& passport, const ::std::string& password, ::std::string& longId, ::std::string& userId, ::std::string& md5pw, const ::Ice::Context& __ctx) - { - return validatePassport(passport, password, longId, userId, md5pw, &__ctx); - } - -private: - - ::Ice::Int validatePassport(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int loginNotify(const ::std::string& longId) - { - return loginNotify(longId, 0); - } - ::Ice::Int loginNotify(const ::std::string& longId, const ::Ice::Context& __ctx) - { - return loginNotify(longId, &__ctx); - } - -private: - - ::Ice::Int loginNotify(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int recordCTULog(const ::com::alisoft::member::udb::api::model::Map& ctuLogInfo) - { - return recordCTULog(ctuLogInfo, 0); - } - ::Ice::Int recordCTULog(const ::com::alisoft::member::udb::api::model::Map& ctuLogInfo, const ::Ice::Context& __ctx) - { - return recordCTULog(ctuLogInfo, &__ctx); - } - -private: - - ::Ice::Int recordCTULog(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*); - -public: - - ::Ice::Int saveWebUserProfile(const ::com::alisoft::member::udb::api::model::Map& userBaseProfile) - { - return saveWebUserProfile(userBaseProfile, 0); - } - ::Ice::Int saveWebUserProfile(const ::com::alisoft::member::udb::api::model::Map& userBaseProfile, const ::Ice::Context& __ctx) - { - return saveWebUserProfile(userBaseProfile, &__ctx); - } - -private: - - ::Ice::Int saveWebUserProfile(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*); - -public: - - ::Ice::Int deleteUser(const ::std::string& longId, bool& success) - { - return deleteUser(longId, success, 0); - } - ::Ice::Int deleteUser(const ::std::string& longId, bool& success, const ::Ice::Context& __ctx) - { - return deleteUser(longId, success, &__ctx); - } - -private: - - ::Ice::Int deleteUser(const ::std::string&, bool&, const ::Ice::Context*); - -public: - - ::Ice::Int prohibitUser(const ::std::string& longId, bool& success) - { - return prohibitUser(longId, success, 0); - } - ::Ice::Int prohibitUser(const ::std::string& longId, bool& success, const ::Ice::Context& __ctx) - { - return prohibitUser(longId, success, &__ctx); - } - -private: - - ::Ice::Int prohibitUser(const ::std::string&, bool&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserBaseProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::Map& userBaseProfile) - { - return getUserBaseProfile(longId, userBaseProfile, 0); - } - ::Ice::Int getUserBaseProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::Map& userBaseProfile, const ::Ice::Context& __ctx) - { - return getUserBaseProfile(longId, userBaseProfile, &__ctx); - } - -private: - - ::Ice::Int getUserBaseProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserWebProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile) - { - return getUserWebProfile(longId, userProfile, 0); - } - ::Ice::Int getUserWebProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context& __ctx) - { - return getUserWebProfile(longId, userProfile, &__ctx); - } - -private: - - ::Ice::Int getUserWebProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserWebBaseProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile) - { - return getUserWebBaseProfile(longId, userProfile, 0); - } - ::Ice::Int getUserWebBaseProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context& __ctx) - { - return getUserWebBaseProfile(longId, userProfile, &__ctx); - } - -private: - - ::Ice::Int getUserWebBaseProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserProfileByLongId(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile) - { - return getUserProfileByLongId(longId, userProfile, 0); - } - ::Ice::Int getUserProfileByLongId(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context& __ctx) - { - return getUserProfileByLongId(longId, userProfile, &__ctx); - } - -private: - - ::Ice::Int getUserProfileByLongId(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserProfileListByLongId(const ::com::alisoft::member::udb::api::model::StringSeq& longIds, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq) - { - return getUserProfileListByLongId(longIds, userProfileSeq, 0); - } - ::Ice::Int getUserProfileListByLongId(const ::com::alisoft::member::udb::api::model::StringSeq& longIds, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq, const ::Ice::Context& __ctx) - { - return getUserProfileListByLongId(longIds, userProfileSeq, &__ctx); - } - -private: - - ::Ice::Int getUserProfileListByLongId(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserProfileListByEmail(const ::com::alisoft::member::udb::api::model::StringSeq& emails, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq) - { - return getUserProfileListByEmail(emails, userProfileSeq, 0); - } - ::Ice::Int getUserProfileListByEmail(const ::com::alisoft::member::udb::api::model::StringSeq& emails, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq, const ::Ice::Context& __ctx) - { - return getUserProfileListByEmail(emails, userProfileSeq, &__ctx); - } - -private: - - ::Ice::Int getUserProfileListByEmail(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserProfileByUserId(const ::std::string& userId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile) - { - return getUserProfileByUserId(userId, userProfile, 0); - } - ::Ice::Int getUserProfileByUserId(const ::std::string& userId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context& __ctx) - { - return getUserProfileByUserId(userId, userProfile, &__ctx); - } - -private: - - ::Ice::Int getUserProfileByUserId(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserProfileListByUserId(const ::com::alisoft::member::udb::api::model::StringSeq& userIds, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq) - { - return getUserProfileListByUserId(userIds, userProfileSeq, 0); - } - ::Ice::Int getUserProfileListByUserId(const ::com::alisoft::member::udb::api::model::StringSeq& userIds, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq, const ::Ice::Context& __ctx) - { - return getUserProfileListByUserId(userIds, userProfileSeq, &__ctx); - } - -private: - - ::Ice::Int getUserProfileListByUserId(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserIdByPassport(const ::std::string& passport, ::std::string& userId) - { - return getUserIdByPassport(passport, userId, 0); - } - ::Ice::Int getUserIdByPassport(const ::std::string& passport, ::std::string& userId, const ::Ice::Context& __ctx) - { - return getUserIdByPassport(passport, userId, &__ctx); - } - -private: - - ::Ice::Int getUserIdByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getLongIdByPassport(const ::std::string& passport, ::std::string& longId) - { - return getLongIdByPassport(passport, longId, 0); - } - ::Ice::Int getLongIdByPassport(const ::std::string& passport, ::std::string& longId, const ::Ice::Context& __ctx) - { - return getLongIdByPassport(passport, longId, &__ctx); - } - -private: - - ::Ice::Int getLongIdByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserIdByLongId(const ::std::string& longId, ::std::string& userId) - { - return getUserIdByLongId(longId, userId, 0); - } - ::Ice::Int getUserIdByLongId(const ::std::string& longId, ::std::string& userId, const ::Ice::Context& __ctx) - { - return getUserIdByLongId(longId, userId, &__ctx); - } - -private: - - ::Ice::Int getUserIdByLongId(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int isLongIdExist(const ::std::string& longId, bool& isExist) - { - return isLongIdExist(longId, isExist, 0); - } - ::Ice::Int isLongIdExist(const ::std::string& longId, bool& isExist, const ::Ice::Context& __ctx) - { - return isLongIdExist(longId, isExist, &__ctx); - } - -private: - - ::Ice::Int isLongIdExist(const ::std::string&, bool&, const ::Ice::Context*); - -public: - - ::Ice::Int getMD5PasswordByLongId(const ::std::string& longId, ::std::string& md5pwd, ::Ice::Int& status) - { - return getMD5PasswordByLongId(longId, md5pwd, status, 0); - } - ::Ice::Int getMD5PasswordByLongId(const ::std::string& longId, ::std::string& md5pwd, ::Ice::Int& status, const ::Ice::Context& __ctx) - { - return getMD5PasswordByLongId(longId, md5pwd, status, &__ctx); - } - -private: - - ::Ice::Int getMD5PasswordByLongId(const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getMatchedUserInfoList(const ::std::string& loginId, ::com::alisoft::member::udb::api::model::MatchedUserInfoSeq& matchedUserInfoSeq) - { - return getMatchedUserInfoList(loginId, matchedUserInfoSeq, 0); - } - ::Ice::Int getMatchedUserInfoList(const ::std::string& loginId, ::com::alisoft::member::udb::api::model::MatchedUserInfoSeq& matchedUserInfoSeq, const ::Ice::Context& __ctx) - { - return getMatchedUserInfoList(loginId, matchedUserInfoSeq, &__ctx); - } - -private: - - ::Ice::Int getMatchedUserInfoList(const ::std::string&, ::com::alisoft::member::udb::api::model::MatchedUserInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int checkSession(const ::std::string& longId, const ::std::string& sessionNo, bool& isRight) - { - return checkSession(longId, sessionNo, isRight, 0); - } - ::Ice::Int checkSession(const ::std::string& longId, const ::std::string& sessionNo, bool& isRight, const ::Ice::Context& __ctx) - { - return checkSession(longId, sessionNo, isRight, &__ctx); - } - -private: - - ::Ice::Int checkSession(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*); - -public: - - ::Ice::Int changePasswordByUserId(const ::std::string& userId, const ::std::string& md5Password) - { - return changePasswordByUserId(userId, md5Password, 0); - } - ::Ice::Int changePasswordByUserId(const ::std::string& userId, const ::std::string& md5Password, const ::Ice::Context& __ctx) - { - return changePasswordByUserId(userId, md5Password, &__ctx); - } - -private: - - ::Ice::Int changePasswordByUserId(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int changePasswordByLongId(const ::std::string& longId, const ::std::string& md5Password) - { - return changePasswordByLongId(longId, md5Password, 0); - } - ::Ice::Int changePasswordByLongId(const ::std::string& longId, const ::std::string& md5Password, const ::Ice::Context& __ctx) - { - return changePasswordByLongId(longId, md5Password, &__ctx); - } - -private: - - ::Ice::Int changePasswordByLongId(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int updateLastLoginTime(const ::std::string& userId) - { - return updateLastLoginTime(userId, 0); - } - ::Ice::Int updateLastLoginTime(const ::std::string& userId, const ::Ice::Context& __ctx) - { - return updateLastLoginTime(userId, &__ctx); - } - -private: - - ::Ice::Int updateLastLoginTime(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int changeImBinding(const ::std::string& userId, const ::std::string& newLongId) - { - return changeImBinding(userId, newLongId, 0); - } - ::Ice::Int changeImBinding(const ::std::string& userId, const ::std::string& newLongId, const ::Ice::Context& __ctx) - { - return changeImBinding(userId, newLongId, &__ctx); - } - -private: - - ::Ice::Int changeImBinding(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getImBinding(const ::std::string& userId, ::std::string& longId) - { - return getImBinding(userId, longId, 0); - } - ::Ice::Int getImBinding(const ::std::string& userId, ::std::string& longId, const ::Ice::Context& __ctx) - { - return getImBinding(userId, longId, &__ctx); - } - -private: - - ::Ice::Int getImBinding(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getRandomPassports(::Ice::Long min, ::Ice::Long max, ::Ice::Int amount, ::com::alisoft::member::udb::api::model::StringSeq& passports) - { - return getRandomPassports(min, max, amount, passports, 0); - } - ::Ice::Int getRandomPassports(::Ice::Long min, ::Ice::Long max, ::Ice::Int amount, ::com::alisoft::member::udb::api::model::StringSeq& passports, const ::Ice::Context& __ctx) - { - return getRandomPassports(min, max, amount, passports, &__ctx); - } - -private: - - ::Ice::Int getRandomPassports(::Ice::Long, ::Ice::Long, ::Ice::Int, ::com::alisoft::member::udb::api::model::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int isPassportHold(const ::std::string& passort, bool& isHold) - { - return isPassportHold(passort, isHold, 0); - } - ::Ice::Int isPassportHold(const ::std::string& passort, bool& isHold, const ::Ice::Context& __ctx) - { - return isPassportHold(passort, isHold, &__ctx); - } - -private: - - ::Ice::Int isPassportHold(const ::std::string&, bool&, const ::Ice::Context*); - -public: - - ::Ice::Int getDomainList(::com::alisoft::member::udb::api::model::DomainSeq& domainSeq) - { - return getDomainList(domainSeq, 0); - } - ::Ice::Int getDomainList(::com::alisoft::member::udb::api::model::DomainSeq& domainSeq, const ::Ice::Context& __ctx) - { - return getDomainList(domainSeq, &__ctx); - } - -private: - - ::Ice::Int getDomainList(::com::alisoft::member::udb::api::model::DomainSeq&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -} - -} - -} - -} - -} - -namespace IceDelegate -{ - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace user -{ - -class UserService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int registerUser(const ::com::alisoft::member::udb::api::model::Map&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int registerAlisoft(const ::com::alisoft::member::udb::api::model::Map&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int isCanRegister(const ::std::string&, bool&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int modifyUserInfo(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int modifyImToken(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int modifyAepImToken(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getAepImToken(const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int validateUser(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int validatePassport(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int loginNotify(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int recordCTULog(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int saveWebUserProfile(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int deleteUser(const ::std::string&, bool&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int prohibitUser(const ::std::string&, bool&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserBaseProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserWebProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserWebBaseProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserProfileByLongId(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserProfileListByLongId(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserProfileListByEmail(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserProfileByUserId(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserProfileListByUserId(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserIdByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getLongIdByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserIdByLongId(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int isLongIdExist(const ::std::string&, bool&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getMD5PasswordByLongId(const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getMatchedUserInfoList(const ::std::string&, ::com::alisoft::member::udb::api::model::MatchedUserInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkSession(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int changePasswordByUserId(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int changePasswordByLongId(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateLastLoginTime(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int changeImBinding(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getImBinding(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getRandomPassports(::Ice::Long, ::Ice::Long, ::Ice::Int, ::com::alisoft::member::udb::api::model::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int isPassportHold(const ::std::string&, bool&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getDomainList(::com::alisoft::member::udb::api::model::DomainSeq&, const ::Ice::Context*) = 0; -}; - -} - -} - -} - -} - -} - -} - -} - -namespace IceDelegateM -{ - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace user -{ - -class UserService : virtual public ::IceDelegate::com::alisoft::member::udb::api::user::UserService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int registerUser(const ::com::alisoft::member::udb::api::model::Map&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int registerAlisoft(const ::com::alisoft::member::udb::api::model::Map&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int isCanRegister(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int modifyUserInfo(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*); - - virtual ::Ice::Int modifyImToken(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int modifyAepImToken(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getAepImToken(const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int validateUser(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int validatePassport(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int loginNotify(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int recordCTULog(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*); - - virtual ::Ice::Int saveWebUserProfile(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*); - - virtual ::Ice::Int deleteUser(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int prohibitUser(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int getUserBaseProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*); - - virtual ::Ice::Int getUserWebProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int getUserWebBaseProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfileByLongId(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfileListByLongId(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfileListByEmail(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfileByUserId(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfileListByUserId(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserIdByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getLongIdByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getUserIdByLongId(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int isLongIdExist(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int getMD5PasswordByLongId(const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getMatchedUserInfoList(const ::std::string&, ::com::alisoft::member::udb::api::model::MatchedUserInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int checkSession(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int changePasswordByUserId(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int changePasswordByLongId(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateLastLoginTime(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int changeImBinding(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getImBinding(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getRandomPassports(::Ice::Long, ::Ice::Long, ::Ice::Int, ::com::alisoft::member::udb::api::model::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int isPassportHold(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int getDomainList(::com::alisoft::member::udb::api::model::DomainSeq&, const ::Ice::Context*); -}; - -} - -} - -} - -} - -} - -} - -} - -namespace IceDelegateD -{ - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace user -{ - -class UserService : virtual public ::IceDelegate::com::alisoft::member::udb::api::user::UserService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int registerUser(const ::com::alisoft::member::udb::api::model::Map&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int registerAlisoft(const ::com::alisoft::member::udb::api::model::Map&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int isCanRegister(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int modifyUserInfo(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*); - - virtual ::Ice::Int modifyImToken(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int modifyAepImToken(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getAepImToken(const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int validateUser(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int validatePassport(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int loginNotify(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int recordCTULog(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*); - - virtual ::Ice::Int saveWebUserProfile(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*); - - virtual ::Ice::Int deleteUser(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int prohibitUser(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int getUserBaseProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*); - - virtual ::Ice::Int getUserWebProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int getUserWebBaseProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfileByLongId(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfileListByLongId(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfileListByEmail(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfileByUserId(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfileListByUserId(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserIdByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getLongIdByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getUserIdByLongId(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int isLongIdExist(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int getMD5PasswordByLongId(const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getMatchedUserInfoList(const ::std::string&, ::com::alisoft::member::udb::api::model::MatchedUserInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int checkSession(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int changePasswordByUserId(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int changePasswordByLongId(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateLastLoginTime(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int changeImBinding(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getImBinding(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getRandomPassports(::Ice::Long, ::Ice::Long, ::Ice::Int, ::com::alisoft::member::udb::api::model::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int isPassportHold(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int getDomainList(::com::alisoft::member::udb::api::model::DomainSeq&, const ::Ice::Context*); -}; - -} - -} - -} - -} - -} - -} - -} - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace user -{ - -class UserService : virtual public ::Ice::Object -{ -public: - - typedef UserServicePrx ProxyType; - typedef UserServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int registerUser(const ::com::alisoft::member::udb::api::model::Map&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___registerUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int registerAlisoft(const ::com::alisoft::member::udb::api::model::Map&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___registerAlisoft(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int isCanRegister(const ::std::string&, bool&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___isCanRegister(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int modifyUserInfo(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___modifyUserInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int modifyImToken(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___modifyImToken(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int modifyAepImToken(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___modifyAepImToken(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getAepImToken(const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getAepImToken(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int validateUser(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___validateUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int validatePassport(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___validatePassport(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int loginNotify(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___loginNotify(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int recordCTULog(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___recordCTULog(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int saveWebUserProfile(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___saveWebUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int deleteUser(const ::std::string&, bool&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___deleteUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int prohibitUser(const ::std::string&, bool&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___prohibitUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserBaseProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserBaseProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserWebProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserWebProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserWebBaseProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserWebBaseProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserProfileByLongId(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserProfileByLongId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserProfileListByLongId(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserProfileListByLongId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserProfileListByEmail(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserProfileListByEmail(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserProfileByUserId(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserProfileByUserId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserProfileListByUserId(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserProfileListByUserId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserIdByPassport(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserIdByPassport(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getLongIdByPassport(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getLongIdByPassport(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserIdByLongId(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserIdByLongId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int isLongIdExist(const ::std::string&, bool&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___isLongIdExist(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getMD5PasswordByLongId(const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getMD5PasswordByLongId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getMatchedUserInfoList(const ::std::string&, ::com::alisoft::member::udb::api::model::MatchedUserInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getMatchedUserInfoList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int checkSession(const ::std::string&, const ::std::string&, bool&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int changePasswordByUserId(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___changePasswordByUserId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int changePasswordByLongId(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___changePasswordByLongId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateLastLoginTime(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateLastLoginTime(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int changeImBinding(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___changeImBinding(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getImBinding(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getImBinding(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getRandomPassports(::Ice::Long, ::Ice::Long, ::Ice::Int, ::com::alisoft::member::udb::api::model::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getRandomPassports(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int isPassportHold(const ::std::string&, bool&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___isPassportHold(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getDomainList(::com::alisoft::member::udb::api::model::DomainSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getDomainList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__UserServicePtr(void*, ::Ice::ObjectPtr&); - -} - -} - -} - -} - -} - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/user_info.h.svn-base b/features/aliww/include/.svn/text-base/user_info.h.svn-base deleted file mode 100644 index 90ba9ba..0000000 --- a/features/aliww/include/.svn/text-base/user_info.h.svn-base +++ /dev/null @@ -1,463 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `user_info.ice' - -#ifndef __user_info_h__ -#define __user_info_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace IMServerData -{ - -class UserInfoI; -bool operator==(const UserInfoI&, const UserInfoI&); -bool operator!=(const UserInfoI&, const UserInfoI&); -bool operator<(const UserInfoI&, const UserInfoI&); -bool operator<=(const UserInfoI&, const UserInfoI&); -bool operator>(const UserInfoI&, const UserInfoI&); -bool operator>=(const UserInfoI&, const UserInfoI&); - -} - -} - -namespace IMServerData -{ - -class UserInfoI; -bool operator==(const UserInfoI&, const UserInfoI&); -bool operator!=(const UserInfoI&, const UserInfoI&); -bool operator<(const UserInfoI&, const UserInfoI&); -bool operator<=(const UserInfoI&, const UserInfoI&); -bool operator>(const UserInfoI&, const UserInfoI&); -bool operator>=(const UserInfoI&, const UserInfoI&); - -} - -namespace IceInternal -{ - -void incRef(::IMServerData::UserInfoI*); -void decRef(::IMServerData::UserInfoI*); - -void incRef(::IceProxy::IMServerData::UserInfoI*); -void decRef(::IceProxy::IMServerData::UserInfoI*); - -} - -namespace IMServerData -{ - -typedef ::IceInternal::Handle< ::IMServerData::UserInfoI> UserInfoIPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::IMServerData::UserInfoI> UserInfoIPrx; - -void __write(::IceInternal::BasicStream*, const UserInfoIPrx&); -void __read(::IceInternal::BasicStream*, UserInfoIPrx&); -void __write(::IceInternal::BasicStream*, const UserInfoIPtr&); -void __patch__UserInfoIPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const UserInfoIPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const UserInfoIPtr&); -void __decRefUnsafe(const UserInfoIPtr&); -void __clearHandleUnsafe(UserInfoIPtr&); - -} - -namespace IMServerData -{ - -struct SWebBind -{ - ::std::string serviceId; - ::std::string siteId; - ::std::string webId; - ::std::string webUid; - ::Ice::StringSeq webUrl; - - bool operator==(const SWebBind&) const; - bool operator!=(const SWebBind&) const; - bool operator<(const SWebBind&) const; - bool operator<=(const SWebBind& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SWebBind& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SWebBind& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMServerData::SWebBind> SWebBindSeq; - -class __U__SWebBindSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMServerData::SWebBind*, const ::IMServerData::SWebBind*, __U__SWebBindSeq); -void __read(::IceInternal::BasicStream*, SWebBindSeq&, __U__SWebBindSeq); - -struct Statics -{ - ::std::string servicId; - ::std::string webId; - ::Ice::Long count; - - bool operator==(const Statics&) const; - bool operator!=(const Statics&) const; - bool operator<(const Statics&) const; - bool operator<=(const Statics& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const Statics& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const Statics& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMServerData::Statics> StaticsSeq; - -class __U__StaticsSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMServerData::Statics*, const ::IMServerData::Statics*, __U__StaticsSeq); -void __read(::IceInternal::BasicStream*, StaticsSeq&, __U__StaticsSeq); - -} - -namespace IceProxy -{ - -namespace IMServerData -{ - -class UserInfoI : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int query(const ::std::string& id, ::IMServerData::SWebBindSeq& binds) - { - return query(id, binds, 0); - } - ::Ice::Int query(const ::std::string& id, ::IMServerData::SWebBindSeq& binds, const ::Ice::Context& __ctx) - { - return query(id, binds, &__ctx); - } - -private: - - ::Ice::Int query(const ::std::string&, ::IMServerData::SWebBindSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int insert(const ::std::string& id, const ::IMServerData::SWebBindSeq& binds) - { - return insert(id, binds, 0); - } - ::Ice::Int insert(const ::std::string& id, const ::IMServerData::SWebBindSeq& binds, const ::Ice::Context& __ctx) - { - return insert(id, binds, &__ctx); - } - -private: - - ::Ice::Int insert(const ::std::string&, const ::IMServerData::SWebBindSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int remove(const ::std::string& id) - { - return remove(id, 0); - } - ::Ice::Int remove(const ::std::string& id, const ::Ice::Context& __ctx) - { - return remove(id, &__ctx); - } - -private: - - ::Ice::Int remove(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int loginNtfy(const ::std::string& id) - { - return loginNtfy(id, 0); - } - ::Ice::Int loginNtfy(const ::std::string& id, const ::Ice::Context& __ctx) - { - return loginNtfy(id, &__ctx); - } - -private: - - ::Ice::Int loginNtfy(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int gettLoginNumBySite(::IMServerData::StaticsSeq& lognum) - { - return gettLoginNumBySite(lognum, 0); - } - ::Ice::Int gettLoginNumBySite(::IMServerData::StaticsSeq& lognum, const ::Ice::Context& __ctx) - { - return gettLoginNumBySite(lognum, &__ctx); - } - -private: - - ::Ice::Int gettLoginNumBySite(::IMServerData::StaticsSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getSiteIds(const ::std::string& serviceid, const ::std::string& siteid, ::Ice::StringSeq& loginid) - { - return getSiteIds(serviceid, siteid, loginid, 0); - } - ::Ice::Int getSiteIds(const ::std::string& serviceid, const ::std::string& siteid, ::Ice::StringSeq& loginid, const ::Ice::Context& __ctx) - { - return getSiteIds(serviceid, siteid, loginid, &__ctx); - } - -private: - - ::Ice::Int getSiteIds(const ::std::string&, const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getOnlineCountBySite(::IMServerData::StaticsSeq& statics) - { - return getOnlineCountBySite(statics, 0); - } - ::Ice::Int getOnlineCountBySite(::IMServerData::StaticsSeq& statics, const ::Ice::Context& __ctx) - { - return getOnlineCountBySite(statics, &__ctx); - } - -private: - - ::Ice::Int getOnlineCountBySite(::IMServerData::StaticsSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getOneSiteOnlineStatus(const ::std::string& serviceId, const ::std::string& siteid, ::Ice::Long& count) - { - return getOneSiteOnlineStatus(serviceId, siteid, count, 0); - } - ::Ice::Int getOneSiteOnlineStatus(const ::std::string& serviceId, const ::std::string& siteid, ::Ice::Long& count, const ::Ice::Context& __ctx) - { - return getOneSiteOnlineStatus(serviceId, siteid, count, &__ctx); - } - -private: - - ::Ice::Int getOneSiteOnlineStatus(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace IMServerData -{ - -class UserInfoI : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int query(const ::std::string&, ::IMServerData::SWebBindSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int insert(const ::std::string&, const ::IMServerData::SWebBindSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int remove(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int loginNtfy(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int gettLoginNumBySite(::IMServerData::StaticsSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getSiteIds(const ::std::string&, const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getOnlineCountBySite(::IMServerData::StaticsSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getOneSiteOnlineStatus(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace IMServerData -{ - -class UserInfoI : virtual public ::IceDelegate::IMServerData::UserInfoI, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int query(const ::std::string&, ::IMServerData::SWebBindSeq&, const ::Ice::Context*); - - virtual ::Ice::Int insert(const ::std::string&, const ::IMServerData::SWebBindSeq&, const ::Ice::Context*); - - virtual ::Ice::Int remove(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int loginNtfy(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int gettLoginNumBySite(::IMServerData::StaticsSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getSiteIds(const ::std::string&, const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getOnlineCountBySite(::IMServerData::StaticsSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getOneSiteOnlineStatus(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace IMServerData -{ - -class UserInfoI : virtual public ::IceDelegate::IMServerData::UserInfoI, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int query(const ::std::string&, ::IMServerData::SWebBindSeq&, const ::Ice::Context*); - - virtual ::Ice::Int insert(const ::std::string&, const ::IMServerData::SWebBindSeq&, const ::Ice::Context*); - - virtual ::Ice::Int remove(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int loginNtfy(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int gettLoginNumBySite(::IMServerData::StaticsSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getSiteIds(const ::std::string&, const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getOnlineCountBySite(::IMServerData::StaticsSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getOneSiteOnlineStatus(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*); -}; - -} - -} - -namespace IMServerData -{ - -class UserInfoI : virtual public ::Ice::Object -{ -public: - - typedef UserInfoIPrx ProxyType; - typedef UserInfoIPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int query(const ::std::string&, ::IMServerData::SWebBindSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___query(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int insert(const ::std::string&, const ::IMServerData::SWebBindSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___insert(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int remove(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___remove(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int loginNtfy(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___loginNtfy(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int gettLoginNumBySite(::IMServerData::StaticsSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___gettLoginNumBySite(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getSiteIds(const ::std::string&, const ::std::string&, ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getSiteIds(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getOnlineCountBySite(::IMServerData::StaticsSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getOnlineCountBySite(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getOneSiteOnlineStatus(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getOneSiteOnlineStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__UserInfoIPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/user_statics.h.svn-base b/features/aliww/include/.svn/text-base/user_statics.h.svn-base deleted file mode 100644 index f7dd85a..0000000 --- a/features/aliww/include/.svn/text-base/user_statics.h.svn-base +++ /dev/null @@ -1,254 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `user_statics.ice' - -#ifndef __user_statics_h__ -#define __user_statics_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace UserStaticsX -{ - -class UserStaticsI; -bool operator==(const UserStaticsI&, const UserStaticsI&); -bool operator!=(const UserStaticsI&, const UserStaticsI&); -bool operator<(const UserStaticsI&, const UserStaticsI&); -bool operator<=(const UserStaticsI&, const UserStaticsI&); -bool operator>(const UserStaticsI&, const UserStaticsI&); -bool operator>=(const UserStaticsI&, const UserStaticsI&); - -} - -} - -namespace UserStaticsX -{ - -class UserStaticsI; -bool operator==(const UserStaticsI&, const UserStaticsI&); -bool operator!=(const UserStaticsI&, const UserStaticsI&); -bool operator<(const UserStaticsI&, const UserStaticsI&); -bool operator<=(const UserStaticsI&, const UserStaticsI&); -bool operator>(const UserStaticsI&, const UserStaticsI&); -bool operator>=(const UserStaticsI&, const UserStaticsI&); - -} - -namespace IceInternal -{ - -void incRef(::UserStaticsX::UserStaticsI*); -void decRef(::UserStaticsX::UserStaticsI*); - -void incRef(::IceProxy::UserStaticsX::UserStaticsI*); -void decRef(::IceProxy::UserStaticsX::UserStaticsI*); - -} - -namespace UserStaticsX -{ - -typedef ::IceInternal::Handle< ::UserStaticsX::UserStaticsI> UserStaticsIPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::UserStaticsX::UserStaticsI> UserStaticsIPrx; - -void __write(::IceInternal::BasicStream*, const UserStaticsIPrx&); -void __read(::IceInternal::BasicStream*, UserStaticsIPrx&); -void __write(::IceInternal::BasicStream*, const UserStaticsIPtr&); -void __patch__UserStaticsIPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const UserStaticsIPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const UserStaticsIPtr&); -void __decRefUnsafe(const UserStaticsIPtr&); -void __clearHandleUnsafe(UserStaticsIPtr&); - -} - -namespace UserStaticsX -{ - -} - -namespace IceProxy -{ - -namespace UserStaticsX -{ - -class UserStaticsI : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int insert(const ::AliIMDBBase::UserStatics& delta) - { - return insert(delta, 0); - } - ::Ice::Int insert(const ::AliIMDBBase::UserStatics& delta, const ::Ice::Context& __ctx) - { - return insert(delta, &__ctx); - } - -private: - - ::Ice::Int insert(const ::AliIMDBBase::UserStatics&, const ::Ice::Context*); - -public: - - ::Ice::Int get(const ::std::string& id, ::AliIMDBBase::UserStatics& s) - { - return get(id, s, 0); - } - ::Ice::Int get(const ::std::string& id, ::AliIMDBBase::UserStatics& s, const ::Ice::Context& __ctx) - { - return get(id, s, &__ctx); - } - -private: - - ::Ice::Int get(const ::std::string&, ::AliIMDBBase::UserStatics&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace UserStaticsX -{ - -class UserStaticsI : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int insert(const ::AliIMDBBase::UserStatics&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int get(const ::std::string&, ::AliIMDBBase::UserStatics&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace UserStaticsX -{ - -class UserStaticsI : virtual public ::IceDelegate::UserStaticsX::UserStaticsI, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int insert(const ::AliIMDBBase::UserStatics&, const ::Ice::Context*); - - virtual ::Ice::Int get(const ::std::string&, ::AliIMDBBase::UserStatics&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace UserStaticsX -{ - -class UserStaticsI : virtual public ::IceDelegate::UserStaticsX::UserStaticsI, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int insert(const ::AliIMDBBase::UserStatics&, const ::Ice::Context*); - - virtual ::Ice::Int get(const ::std::string&, ::AliIMDBBase::UserStatics&, const ::Ice::Context*); -}; - -} - -} - -namespace UserStaticsX -{ - -class UserStaticsI : virtual public ::Ice::Object -{ -public: - - typedef UserStaticsIPrx ProxyType; - typedef UserStaticsIPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int insert(const ::AliIMDBBase::UserStatics&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___insert(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int get(const ::std::string&, ::AliIMDBBase::UserStatics&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___get(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__UserStaticsIPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/uss_perf_test.h.svn-base b/features/aliww/include/.svn/text-base/uss_perf_test.h.svn-base deleted file mode 100644 index 8d500ed..0000000 --- a/features/aliww/include/.svn/text-base/uss_perf_test.h.svn-base +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef _USS_PERF_TEST_H -#define _USS_PERF_TEST_H - -#include "paramutil.h" -#include "cbenchmark.h" -#include "dbdatadefine.h" -#include "user_statics.h" -#include -#include - -using namespace std; -using namespace Ice; -using namespace UserStaticsX; - -typedef struct uss_t{ - UserStaticsIPrx *uss; - Ice::CommunicatorPtr *ic; -}uss_st; - -#ifdef __cplusplus -extern "C" { -#endif - -void* uss_init(void *p); -void* uss_end(void *p); - -void* uss_insert(void *p); -void* uss_get(void *p); -#ifdef __cplusplus -} -#endif -#endif diff --git a/features/aliww/include/.svn/text-base/vendorchkservice.h.svn-base b/features/aliww/include/.svn/text-base/vendorchkservice.h.svn-base deleted file mode 100644 index 207094b..0000000 --- a/features/aliww/include/.svn/text-base/vendorchkservice.h.svn-base +++ /dev/null @@ -1,348 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `vendorchkservice.ice' - -#ifndef __vendorchkservice_h__ -#define __vendorchkservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace VendorCheckService -{ - -class VendorCheckInterface; -bool operator==(const VendorCheckInterface&, const VendorCheckInterface&); -bool operator!=(const VendorCheckInterface&, const VendorCheckInterface&); -bool operator<(const VendorCheckInterface&, const VendorCheckInterface&); -bool operator<=(const VendorCheckInterface&, const VendorCheckInterface&); -bool operator>(const VendorCheckInterface&, const VendorCheckInterface&); -bool operator>=(const VendorCheckInterface&, const VendorCheckInterface&); - -} - -} - -namespace VendorCheckService -{ - -class VendorCheckInterface; -bool operator==(const VendorCheckInterface&, const VendorCheckInterface&); -bool operator!=(const VendorCheckInterface&, const VendorCheckInterface&); -bool operator<(const VendorCheckInterface&, const VendorCheckInterface&); -bool operator<=(const VendorCheckInterface&, const VendorCheckInterface&); -bool operator>(const VendorCheckInterface&, const VendorCheckInterface&); -bool operator>=(const VendorCheckInterface&, const VendorCheckInterface&); - -} - -namespace IceInternal -{ - -void incRef(::VendorCheckService::VendorCheckInterface*); -void decRef(::VendorCheckService::VendorCheckInterface*); - -void incRef(::IceProxy::VendorCheckService::VendorCheckInterface*); -void decRef(::IceProxy::VendorCheckService::VendorCheckInterface*); - -} - -namespace VendorCheckService -{ - -typedef ::IceInternal::Handle< ::VendorCheckService::VendorCheckInterface> VendorCheckInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::VendorCheckService::VendorCheckInterface> VendorCheckInterfacePrx; - -void __write(::IceInternal::BasicStream*, const VendorCheckInterfacePrx&); -void __read(::IceInternal::BasicStream*, VendorCheckInterfacePrx&); -void __write(::IceInternal::BasicStream*, const VendorCheckInterfacePtr&); -void __patch__VendorCheckInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const VendorCheckInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const VendorCheckInterfacePtr&); -void __decRefUnsafe(const VendorCheckInterfacePtr&); -void __clearHandleUnsafe(VendorCheckInterfacePtr&); - -} - -namespace VendorCheckService -{ - -} - -namespace IceProxy -{ - -namespace VendorCheckService -{ - -class VendorCheckInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int checkVendor(const ::std::string& uid, ::Ice::Int& flag) - { - return checkVendor(uid, flag, 0); - } - ::Ice::Int checkVendor(const ::std::string& uid, ::Ice::Int& flag, const ::Ice::Context& __ctx) - { - return checkVendor(uid, flag, &__ctx); - } - -private: - - ::Ice::Int checkVendor(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int checkEmployee(const ::std::string& uid, ::Ice::Int& flag) - { - return checkEmployee(uid, flag, 0); - } - ::Ice::Int checkEmployee(const ::std::string& uid, ::Ice::Int& flag, const ::Ice::Context& __ctx) - { - return checkEmployee(uid, flag, &__ctx); - } - -private: - - ::Ice::Int checkEmployee(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int checkMsgPass(const ::std::string& from, const ::std::string& to, ::Ice::Int& flag) - { - return checkMsgPass(from, to, flag, 0); - } - ::Ice::Int checkMsgPass(const ::std::string& from, const ::std::string& to, ::Ice::Int& flag, const ::Ice::Context& __ctx) - { - return checkMsgPass(from, to, flag, &__ctx); - } - -private: - - ::Ice::Int checkMsgPass(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int isTaoJianghu(const ::std::string& uid1, const ::std::string& uid2, ::Ice::Int& flag) - { - return isTaoJianghu(uid1, uid2, flag, 0); - } - ::Ice::Int isTaoJianghu(const ::std::string& uid1, const ::std::string& uid2, ::Ice::Int& flag, const ::Ice::Context& __ctx) - { - return isTaoJianghu(uid1, uid2, flag, &__ctx); - } - -private: - - ::Ice::Int isTaoJianghu(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int isAllowP2p(const ::std::string& uid, ::Ice::Int& flag) - { - return isAllowP2p(uid, flag, 0); - } - ::Ice::Int isAllowP2p(const ::std::string& uid, ::Ice::Int& flag, const ::Ice::Context& __ctx) - { - return isAllowP2p(uid, flag, &__ctx); - } - -private: - - ::Ice::Int isAllowP2p(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int isUidValidWithVersion(const ::std::string& uid, const ::std::string& version, ::Ice::Int& flag) - { - return isUidValidWithVersion(uid, version, flag, 0); - } - ::Ice::Int isUidValidWithVersion(const ::std::string& uid, const ::std::string& version, ::Ice::Int& flag, const ::Ice::Context& __ctx) - { - return isUidValidWithVersion(uid, version, flag, &__ctx); - } - -private: - - ::Ice::Int isUidValidWithVersion(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace VendorCheckService -{ - -class VendorCheckInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int checkVendor(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkEmployee(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkMsgPass(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int isTaoJianghu(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int isAllowP2p(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int isUidValidWithVersion(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace VendorCheckService -{ - -class VendorCheckInterface : virtual public ::IceDelegate::VendorCheckService::VendorCheckInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int checkVendor(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int checkEmployee(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int checkMsgPass(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int isTaoJianghu(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int isAllowP2p(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int isUidValidWithVersion(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace VendorCheckService -{ - -class VendorCheckInterface : virtual public ::IceDelegate::VendorCheckService::VendorCheckInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int checkVendor(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int checkEmployee(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int checkMsgPass(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int isTaoJianghu(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int isAllowP2p(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int isUidValidWithVersion(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); -}; - -} - -} - -namespace VendorCheckService -{ - -class VendorCheckInterface : virtual public ::Ice::Object -{ -public: - - typedef VendorCheckInterfacePrx ProxyType; - typedef VendorCheckInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int checkVendor(const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkVendor(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int checkEmployee(const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkEmployee(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int checkMsgPass(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkMsgPass(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int isTaoJianghu(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___isTaoJianghu(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int isAllowP2p(const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___isAllowP2p(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int isUidValidWithVersion(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___isUidValidWithVersion(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__VendorCheckInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/.svn/text-base/webtcserv.h.svn-base b/features/aliww/include/.svn/text-base/webtcserv.h.svn-base deleted file mode 100644 index 490b559..0000000 --- a/features/aliww/include/.svn/text-base/webtcserv.h.svn-base +++ /dev/null @@ -1,588 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `webtcserv.ice' - -#ifndef __webtcserv_h__ -#define __webtcserv_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace WebTribeCacheService -{ - -class WebTCSrvMgr; -bool operator==(const WebTCSrvMgr&, const WebTCSrvMgr&); -bool operator!=(const WebTCSrvMgr&, const WebTCSrvMgr&); -bool operator<(const WebTCSrvMgr&, const WebTCSrvMgr&); -bool operator<=(const WebTCSrvMgr&, const WebTCSrvMgr&); -bool operator>(const WebTCSrvMgr&, const WebTCSrvMgr&); -bool operator>=(const WebTCSrvMgr&, const WebTCSrvMgr&); - -} - -} - -namespace WebTribeCacheService -{ - -class WebTCSrvMgr; -bool operator==(const WebTCSrvMgr&, const WebTCSrvMgr&); -bool operator!=(const WebTCSrvMgr&, const WebTCSrvMgr&); -bool operator<(const WebTCSrvMgr&, const WebTCSrvMgr&); -bool operator<=(const WebTCSrvMgr&, const WebTCSrvMgr&); -bool operator>(const WebTCSrvMgr&, const WebTCSrvMgr&); -bool operator>=(const WebTCSrvMgr&, const WebTCSrvMgr&); - -} - -namespace IceInternal -{ - -void incRef(::WebTribeCacheService::WebTCSrvMgr*); -void decRef(::WebTribeCacheService::WebTCSrvMgr*); - -void incRef(::IceProxy::WebTribeCacheService::WebTCSrvMgr*); -void decRef(::IceProxy::WebTribeCacheService::WebTCSrvMgr*); - -} - -namespace WebTribeCacheService -{ - -typedef ::IceInternal::Handle< ::WebTribeCacheService::WebTCSrvMgr> WebTCSrvMgrPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::WebTribeCacheService::WebTCSrvMgr> WebTCSrvMgrPrx; - -void __write(::IceInternal::BasicStream*, const WebTCSrvMgrPrx&); -void __read(::IceInternal::BasicStream*, WebTCSrvMgrPrx&); -void __write(::IceInternal::BasicStream*, const WebTCSrvMgrPtr&); -void __patch__WebTCSrvMgrPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const WebTCSrvMgrPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const WebTCSrvMgrPtr&); -void __decRefUnsafe(const WebTCSrvMgrPtr&); -void __clearHandleUnsafe(WebTCSrvMgrPtr&); - -} - -namespace WebTribeCacheService -{ - -struct SWebTribeInfo -{ - ::Ice::Long tribeId; - ::std::string name; - ::Ice::Short tribeLevel; - ::Ice::Short tribeStatus; - ::std::string extSign; - ::Ice::Int groupStamp; - ::Ice::Short openTribe; - ::Ice::Long groupId; - - bool operator==(const SWebTribeInfo&) const; - bool operator!=(const SWebTribeInfo&) const; - bool operator<(const SWebTribeInfo&) const; - bool operator<=(const SWebTribeInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SWebTribeInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SWebTribeInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::WebTribeCacheService::SWebTribeInfo> SWebTribeInfoSeq; - -class __U__SWebTribeInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::WebTribeCacheService::SWebTribeInfo*, const ::WebTribeCacheService::SWebTribeInfo*, __U__SWebTribeInfoSeq); -void __read(::IceInternal::BasicStream*, SWebTribeInfoSeq&, __U__SWebTribeInfoSeq); - -struct SWebTribeGroup -{ - ::Ice::Long groupId; - ::std::string groupName; - ::std::string serviceId; - ::std::string siteId; - ::std::string webId; - - bool operator==(const SWebTribeGroup&) const; - bool operator!=(const SWebTribeGroup&) const; - bool operator<(const SWebTribeGroup&) const; - bool operator<=(const SWebTribeGroup& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SWebTribeGroup& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SWebTribeGroup& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::WebTribeCacheService::SWebTribeGroup> SWebTribeGroupSeq; - -class __U__SWebTribeGroupSeq { }; -void __write(::IceInternal::BasicStream*, const ::WebTribeCacheService::SWebTribeGroup*, const ::WebTribeCacheService::SWebTribeGroup*, __U__SWebTribeGroupSeq); -void __read(::IceInternal::BasicStream*, SWebTribeGroupSeq&, __U__SWebTribeGroupSeq); - -} - -namespace IceProxy -{ - -namespace WebTribeCacheService -{ - -class WebTCSrvMgr : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int GetUserTribe(const ::std::string& userId, ::WebTribeCacheService::SWebTribeInfoSeq& tribeList) - { - return GetUserTribe(userId, tribeList, 0); - } - ::Ice::Int GetUserTribe(const ::std::string& userId, ::WebTribeCacheService::SWebTribeInfoSeq& tribeList, const ::Ice::Context& __ctx) - { - return GetUserTribe(userId, tribeList, &__ctx); - } - -private: - - ::Ice::Int GetUserTribe(const ::std::string&, ::WebTribeCacheService::SWebTribeInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int AddUserTribes(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfoSeq& tribeList) - { - return AddUserTribes(userId, tribeList, 0); - } - ::Ice::Int AddUserTribes(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfoSeq& tribeList, const ::Ice::Context& __ctx) - { - return AddUserTribes(userId, tribeList, &__ctx); - } - -private: - - ::Ice::Int AddUserTribes(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int AddUserTribe(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfo& tribeInfo) - { - return AddUserTribe(userId, tribeInfo, 0); - } - ::Ice::Int AddUserTribe(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfo& tribeInfo, const ::Ice::Context& __ctx) - { - return AddUserTribe(userId, tribeInfo, &__ctx); - } - -private: - - ::Ice::Int AddUserTribe(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DelUserTribe(const ::std::string& userId, ::Ice::Long tribeId) - { - return DelUserTribe(userId, tribeId, 0); - } - ::Ice::Int DelUserTribe(const ::std::string& userId, ::Ice::Long tribeId, const ::Ice::Context& __ctx) - { - return DelUserTribe(userId, tribeId, &__ctx); - } - -private: - - ::Ice::Int DelUserTribe(const ::std::string&, ::Ice::Long, const ::Ice::Context*); - -public: - - ::Ice::Int ChgUserTribe(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfo& tribeInfo) - { - return ChgUserTribe(userId, tribeInfo, 0); - } - ::Ice::Int ChgUserTribe(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfo& tribeInfo, const ::Ice::Context& __ctx) - { - return ChgUserTribe(userId, tribeInfo, &__ctx); - } - -private: - - ::Ice::Int ChgUserTribe(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateTribe(const ::WebTribeCacheService::SWebTribeInfo& tribeInfo) - { - return UpdateTribe(tribeInfo, 0); - } - ::Ice::Int UpdateTribe(const ::WebTribeCacheService::SWebTribeInfo& tribeInfo, const ::Ice::Context& __ctx) - { - return UpdateTribe(tribeInfo, &__ctx); - } - -private: - - ::Ice::Int UpdateTribe(const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveTribe(::Ice::Long tribeId) - { - return RemoveTribe(tribeId, 0); - } - ::Ice::Int RemoveTribe(::Ice::Long tribeId, const ::Ice::Context& __ctx) - { - return RemoveTribe(tribeId, &__ctx); - } - -private: - - ::Ice::Int RemoveTribe(::Ice::Long, const ::Ice::Context*); - -public: - - ::Ice::Int AddWebTribeGroup(const ::WebTribeCacheService::SWebTribeGroup& webGroup) - { - return AddWebTribeGroup(webGroup, 0); - } - ::Ice::Int AddWebTribeGroup(const ::WebTribeCacheService::SWebTribeGroup& webGroup, const ::Ice::Context& __ctx) - { - return AddWebTribeGroup(webGroup, &__ctx); - } - -private: - - ::Ice::Int AddWebTribeGroup(const ::WebTribeCacheService::SWebTribeGroup&, const ::Ice::Context*); - -public: - - ::Ice::Int ChgWebTribeGroupName(::Ice::Long groupId, const ::std::string& groupName) - { - return ChgWebTribeGroupName(groupId, groupName, 0); - } - ::Ice::Int ChgWebTribeGroupName(::Ice::Long groupId, const ::std::string& groupName, const ::Ice::Context& __ctx) - { - return ChgWebTribeGroupName(groupId, groupName, &__ctx); - } - -private: - - ::Ice::Int ChgWebTribeGroupName(::Ice::Long, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DelWebTribeGroup(::Ice::Long groupId) - { - return DelWebTribeGroup(groupId, 0); - } - ::Ice::Int DelWebTribeGroup(::Ice::Long groupId, const ::Ice::Context& __ctx) - { - return DelWebTribeGroup(groupId, &__ctx); - } - -private: - - ::Ice::Int DelWebTribeGroup(::Ice::Long, const ::Ice::Context*); - -public: - - ::Ice::Int GetWebTribeGroup(::Ice::Long groupId, ::WebTribeCacheService::SWebTribeGroup& groupInfo) - { - return GetWebTribeGroup(groupId, groupInfo, 0); - } - ::Ice::Int GetWebTribeGroup(::Ice::Long groupId, ::WebTribeCacheService::SWebTribeGroup& groupInfo, const ::Ice::Context& __ctx) - { - return GetWebTribeGroup(groupId, groupInfo, &__ctx); - } - -private: - - ::Ice::Int GetWebTribeGroup(::Ice::Long, ::WebTribeCacheService::SWebTribeGroup&, const ::Ice::Context*); - -public: - - ::Ice::Int GetServiceWebGroup(const ::Ice::StringSeq& webServices, ::WebTribeCacheService::SWebTribeGroupSeq& groupList) - { - return GetServiceWebGroup(webServices, groupList, 0); - } - ::Ice::Int GetServiceWebGroup(const ::Ice::StringSeq& webServices, ::WebTribeCacheService::SWebTribeGroupSeq& groupList, const ::Ice::Context& __ctx) - { - return GetServiceWebGroup(webServices, groupList, &__ctx); - } - -private: - - ::Ice::Int GetServiceWebGroup(const ::Ice::StringSeq&, ::WebTribeCacheService::SWebTribeGroupSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserWebGroup(const ::std::string& userId, ::WebTribeCacheService::SWebTribeGroupSeq& groupList) - { - return GetUserWebGroup(userId, groupList, 0); - } - ::Ice::Int GetUserWebGroup(const ::std::string& userId, ::WebTribeCacheService::SWebTribeGroupSeq& groupList, const ::Ice::Context& __ctx) - { - return GetUserWebGroup(userId, groupList, &__ctx); - } - -private: - - ::Ice::Int GetUserWebGroup(const ::std::string&, ::WebTribeCacheService::SWebTribeGroupSeq&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace WebTribeCacheService -{ - -class WebTCSrvMgr : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int GetUserTribe(const ::std::string&, ::WebTribeCacheService::SWebTribeInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddUserTribes(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddUserTribe(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelUserTribe(const ::std::string&, ::Ice::Long, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ChgUserTribe(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateTribe(const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveTribe(::Ice::Long, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddWebTribeGroup(const ::WebTribeCacheService::SWebTribeGroup&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ChgWebTribeGroupName(::Ice::Long, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelWebTribeGroup(::Ice::Long, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetWebTribeGroup(::Ice::Long, ::WebTribeCacheService::SWebTribeGroup&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetServiceWebGroup(const ::Ice::StringSeq&, ::WebTribeCacheService::SWebTribeGroupSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserWebGroup(const ::std::string&, ::WebTribeCacheService::SWebTribeGroupSeq&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace WebTribeCacheService -{ - -class WebTCSrvMgr : virtual public ::IceDelegate::WebTribeCacheService::WebTCSrvMgr, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int GetUserTribe(const ::std::string&, ::WebTribeCacheService::SWebTribeInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserTribes(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserTribe(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DelUserTribe(const ::std::string&, ::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int ChgUserTribe(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateTribe(const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveTribe(::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int AddWebTribeGroup(const ::WebTribeCacheService::SWebTribeGroup&, const ::Ice::Context*); - - virtual ::Ice::Int ChgWebTribeGroupName(::Ice::Long, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DelWebTribeGroup(::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int GetWebTribeGroup(::Ice::Long, ::WebTribeCacheService::SWebTribeGroup&, const ::Ice::Context*); - - virtual ::Ice::Int GetServiceWebGroup(const ::Ice::StringSeq&, ::WebTribeCacheService::SWebTribeGroupSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserWebGroup(const ::std::string&, ::WebTribeCacheService::SWebTribeGroupSeq&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace WebTribeCacheService -{ - -class WebTCSrvMgr : virtual public ::IceDelegate::WebTribeCacheService::WebTCSrvMgr, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int GetUserTribe(const ::std::string&, ::WebTribeCacheService::SWebTribeInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserTribes(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserTribe(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DelUserTribe(const ::std::string&, ::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int ChgUserTribe(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateTribe(const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveTribe(::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int AddWebTribeGroup(const ::WebTribeCacheService::SWebTribeGroup&, const ::Ice::Context*); - - virtual ::Ice::Int ChgWebTribeGroupName(::Ice::Long, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DelWebTribeGroup(::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int GetWebTribeGroup(::Ice::Long, ::WebTribeCacheService::SWebTribeGroup&, const ::Ice::Context*); - - virtual ::Ice::Int GetServiceWebGroup(const ::Ice::StringSeq&, ::WebTribeCacheService::SWebTribeGroupSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserWebGroup(const ::std::string&, ::WebTribeCacheService::SWebTribeGroupSeq&, const ::Ice::Context*); -}; - -} - -} - -namespace WebTribeCacheService -{ - -class WebTCSrvMgr : virtual public ::Ice::Object -{ -public: - - typedef WebTCSrvMgrPrx ProxyType; - typedef WebTCSrvMgrPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int GetUserTribe(const ::std::string&, ::WebTribeCacheService::SWebTribeInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddUserTribes(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddUserTribes(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddUserTribe(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddUserTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DelUserTribe(const ::std::string&, ::Ice::Long, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelUserTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int ChgUserTribe(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ChgUserTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateTribe(const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int RemoveTribe(::Ice::Long, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddWebTribeGroup(const ::WebTribeCacheService::SWebTribeGroup&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddWebTribeGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int ChgWebTribeGroupName(::Ice::Long, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ChgWebTribeGroupName(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DelWebTribeGroup(::Ice::Long, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelWebTribeGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetWebTribeGroup(::Ice::Long, ::WebTribeCacheService::SWebTribeGroup&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetWebTribeGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetServiceWebGroup(const ::Ice::StringSeq&, ::WebTribeCacheService::SWebTribeGroupSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetServiceWebGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetUserWebGroup(const ::std::string&, ::WebTribeCacheService::SWebTribeGroupSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserWebGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__WebTCSrvMgrPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/CWWSimulator.h b/features/aliww/include/CWWSimulator.h deleted file mode 100644 index 5f764e0..0000000 --- a/features/aliww/include/CWWSimulator.h +++ /dev/null @@ -1,143 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: CWWSimulator.h - * - * Description: - * - * Version: 1.0 - * Created: 2010å¹´12月14æ—¥ 16æ—¶57分10秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ - -#ifndef __H__CWWSIMULATOR__H -#define __H__CWWSIMULATOR__H - -#include -#include -//#include -#include "RSAWrapper.h" -#include "md5hash.h" -#include "urlencode.h" -#include "datatype.h" - -#define RSPDATASIZE 10240 -#define MAXDATASIZE 10240 -using namespace std; - -/** - * @brief - * simulate a wangwang client. - */ -class CWWSimulator -{ - public: - CWWSimulator(); - CWWSimulator(string& username, string& password, string version = "6.18.09", string imServerIP = "110.75.161.9",uint16_t port = 16000); - ~CWWSimulator(); - - void SetUser(string& username, string& password); - void SetServerIP(string& imServerIP, uint16_t port); - void SetTpfsIP(string& imServerIP, uint16_t port); - void SetClient(string& version, uint32_t language); - void SetStatus(uint8_t tokenflag, int loginState); - void SetSessionNo(string& sessionNo); - - uint16_t login(string& msg); - uint16_t sendIMMessage(string& msg); - uint16_t createSession(string& msg); - uint16_t chatPidfy(string& msg); - uint16_t chatPutpic(const char* picdata, string& msg); - //uint16_t chatPutpic(const string& picdata, string& msg); - uint16_t chatGetpic(const char* picName, string& msg); - uint16_t chatGetcal(const char* fromid, const char* toid, const char* startDate, const char* endDate, string& msg); - uint16_t chatGettxt(const char* fromid, const char* toid, uint64_t startTime, uint64_t endTime, string& msg); - uint16_t chgStatus(int basicstatus, int predefstatus, std::string&msg); - uint16_t chgStatus_recieve(std::string&msg); - uint16_t updateUserprofile(const char * bloodType,const char * mobileno,string& msg); - //添加è”系人 type=0 ä¸éœ€è¦éªŒè¯ï¼Œtype=1 需è¦éªŒè¯ - uint16_t addcontactnew(const char * contactid,int type,string& msg); - //修改è”系人 - uint16_t chgcontact(const char * contactid,const char * nickname,string& msg); - //删除è”系人 - uint16_t delcontact(const char * contactid,string& msg); - //æœç´¢è”系人 - uint16_t searchcontact(const char * contactid,string& msg); - //添加分组 - uint16_t addgroup(const char * groupname,string& msg); - - public: - uint32_t UnPackhdr(string& pack); - void Commander(uint32_t cmd,...); - bool SendPack(string& pack); - bool SendPack(string& pack, uint32_t fd); - uint16_t HandlePack(string& pack, void** p); - bool Connect(void); - bool Connect(uint32_t& fd, string ip, uint16_t port); - bool ConnectTpfs(void); - void Detach(void); - bool StartReceiving(); - bool StartReceiving(uint32_t fd); - string ReceivePack(); - string ReceivePack(uint32_t fd); - char* GetRandStr(); - string GetUUID(); - - string m_version; - string m_username; - string m_password; - int m_nLoginState;//ç”¨æˆ·ç™»å½•çŠ¶æ€ - uint8_t m_tokenFlag; - uint32_t m_clientLanguage; - uint32_t m_dwTimeStampsFlag; - //å®¢æˆ·ç«¯è¿žæŽ¥ä¿¡æ¯ - uint32_t m_socketFD; - uint32_t m_tpfsFD; - bool m_bIsReceiving; - bool m_bIsConnected; - - //æœåŠ¡ç«¯ç›¸å…³ä¿¡æ¯ - string m_imServerIP; - uint16_t m_port; - string m_tpfsIP; - uint16_t m_tpfs_port; - //æœåŠ¡ç«¯è¿”å›žä¿¡æ¯ - uint32_t m_connectNO; - string m_pubkey; - string m_strStorage; - string m_pwtoken; - string m_rid; - string m_strkey; - string m_packRemark; - string m_login2token; - string m_serverTime; - string m_sessionno; - string m_randstr; - /* - * cuizheng - */ - uint32_t m_retcode; - string m_loginstr; - string m_usermd5str; - uint32_t m_tpfs_connectNO; - string m_tpfs_pubkey; - string m_tpfs_identifystr; - string m_verb_sessionid; - string m_aliuid; - string m_workkey; - string m_df; - VECTOR m_contactList; - VECTOR m_groupList; -}; - - - - -#endif //__H__CWWSIMULATOR__H - diff --git a/features/aliww/include/DBStruct.h b/features/aliww/include/DBStruct.h deleted file mode 100644 index 415f48a..0000000 --- a/features/aliww/include/DBStruct.h +++ /dev/null @@ -1,85 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `DBStruct.ice' - -#ifndef __DBStruct_h__ -#define __DBStruct_h__ - -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace AliDDB -{ - -typedef ::std::map< ::std::string, ::std::string> KVMap; - -class __U__KVMap { }; -void __write(::IceInternal::BasicStream*, const KVMap&, __U__KVMap); -void __read(::IceInternal::BasicStream*, KVMap&, __U__KVMap); - -typedef ::std::vector< ::AliDDB::KVMap> KVMapSeq; - -class __U__KVMapSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliDDB::KVMap*, const ::AliDDB::KVMap*, __U__KVMapSeq); -void __read(::IceInternal::BasicStream*, KVMapSeq&, __U__KVMapSeq); - -struct DBRecord -{ - ::AliDDB::KVMap fields; - ::AliDDB::KVMapSeq blobField; - - bool operator==(const DBRecord&) const; - bool operator!=(const DBRecord&) const; - bool operator<(const DBRecord&) const; - bool operator<=(const DBRecord& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const DBRecord& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const DBRecord& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliDDB::DBRecord> DBRecordSeq; - -class __U__DBRecordSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliDDB::DBRecord*, const ::AliDDB::DBRecord*, __U__DBRecordSeq); -void __read(::IceInternal::BasicStream*, DBRecordSeq&, __U__DBRecordSeq); - -} - -#endif diff --git a/features/aliww/include/DDBInterface.h b/features/aliww/include/DDBInterface.h deleted file mode 100644 index 178b777..0000000 --- a/features/aliww/include/DDBInterface.h +++ /dev/null @@ -1,581 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `DDBInterface.ice' - -#ifndef __DDBInterface_h__ -#define __DDBInterface_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliDDB -{ - -class AliDDBInterface; -bool operator==(const AliDDBInterface&, const AliDDBInterface&); -bool operator!=(const AliDDBInterface&, const AliDDBInterface&); -bool operator<(const AliDDBInterface&, const AliDDBInterface&); -bool operator<=(const AliDDBInterface&, const AliDDBInterface&); -bool operator>(const AliDDBInterface&, const AliDDBInterface&); -bool operator>=(const AliDDBInterface&, const AliDDBInterface&); - -} - -} - -namespace AliDDB -{ - -class AliDDBInterface; -bool operator==(const AliDDBInterface&, const AliDDBInterface&); -bool operator!=(const AliDDBInterface&, const AliDDBInterface&); -bool operator<(const AliDDBInterface&, const AliDDBInterface&); -bool operator<=(const AliDDBInterface&, const AliDDBInterface&); -bool operator>(const AliDDBInterface&, const AliDDBInterface&); -bool operator>=(const AliDDBInterface&, const AliDDBInterface&); - -} - -namespace IceInternal -{ - -void incRef(::AliDDB::AliDDBInterface*); -void decRef(::AliDDB::AliDDBInterface*); - -void incRef(::IceProxy::AliDDB::AliDDBInterface*); -void decRef(::IceProxy::AliDDB::AliDDBInterface*); - -} - -namespace AliDDB -{ - -typedef ::IceInternal::Handle< ::AliDDB::AliDDBInterface> AliDDBInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliDDB::AliDDBInterface> AliDDBInterfacePrx; - -void __write(::IceInternal::BasicStream*, const AliDDBInterfacePrx&); -void __read(::IceInternal::BasicStream*, AliDDBInterfacePrx&); -void __write(::IceInternal::BasicStream*, const AliDDBInterfacePtr&); -void __patch__AliDDBInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const AliDDBInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const AliDDBInterfacePtr&); -void __decRefUnsafe(const AliDDBInterfacePtr&); -void __clearHandleUnsafe(AliDDBInterfacePtr&); - -} - -namespace AliDDB -{ - -} - -namespace AliDDB -{ - -class AMD_AliDDBInterface_insertRecord : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliDDB::AMD_AliDDBInterface_insertRecord> AMD_AliDDBInterface_insertRecordPtr; - -class AMD_AliDDBInterface_updateRecord : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliDDB::AMD_AliDDBInterface_updateRecord> AMD_AliDDBInterface_updateRecordPtr; - -class AMD_AliDDBInterface_updateBlob : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliDDB::AMD_AliDDBInterface_updateBlob> AMD_AliDDBInterface_updateBlobPtr; - -class AMD_AliDDBInterface_deleteRecord : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliDDB::AMD_AliDDBInterface_deleteRecord> AMD_AliDDBInterface_deleteRecordPtr; - -} - -namespace IceAsync -{ - -namespace AliDDB -{ - -class AMD_AliDDBInterface_insertRecord : public ::AliDDB::AMD_AliDDBInterface_insertRecord, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AliDDBInterface_insertRecord(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_AliDDBInterface_updateRecord : public ::AliDDB::AMD_AliDDBInterface_updateRecord, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AliDDBInterface_updateRecord(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_AliDDBInterface_updateBlob : public ::AliDDB::AMD_AliDDBInterface_updateBlob, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AliDDBInterface_updateBlob(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_AliDDBInterface_deleteRecord : public ::AliDDB::AMD_AliDDBInterface_deleteRecord, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AliDDBInterface_deleteRecord(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -} - -} - -namespace IceProxy -{ - -namespace AliDDB -{ - -class AliDDBInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int insertRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::DBRecord& record) - { - return insertRecord(table, keys, record, 0); - } - ::Ice::Int insertRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::DBRecord& record, const ::Ice::Context& __ctx) - { - return insertRecord(table, keys, record, &__ctx); - } - -private: - - ::Ice::Int insertRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*); - -public: - - ::Ice::Int insertMultiRecords(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::AliDDB::DBRecord& record) - { - return insertMultiRecords(table, keys, record, 0); - } - ::Ice::Int insertMultiRecords(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::AliDDB::DBRecord& record, const ::Ice::Context& __ctx) - { - return insertMultiRecords(table, keys, record, &__ctx); - } - -private: - - ::Ice::Int insertMultiRecords(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::AliDDB::DBRecord&, const ::Ice::Context*); - -public: - - ::Ice::Int getRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::Ice::StringSeq& blobFields, ::AliDDB::DBRecord& record) - { - return getRecord(table, keys, fields, blobFields, record, 0); - } - ::Ice::Int getRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::Ice::StringSeq& blobFields, ::AliDDB::DBRecord& record, const ::Ice::Context& __ctx) - { - return getRecord(table, keys, fields, blobFields, record, &__ctx); - } - -private: - - ::Ice::Int getRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::Ice::StringSeq&, ::AliDDB::DBRecord&, const ::Ice::Context*); - -public: - - ::Ice::Int getRecords(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int num, ::AliDDB::DBRecord& record) - { - return getRecords(table, keys, fields, condition, orderFields, num, record, 0); - } - ::Ice::Int getRecords(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int num, ::AliDDB::DBRecord& record, const ::Ice::Context& __ctx) - { - return getRecords(table, keys, fields, condition, orderFields, num, record, &__ctx); - } - -private: - - ::Ice::Int getRecords(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::AliDDB::DBRecord&, const ::Ice::Context*); - -public: - - ::Ice::Int getRecordsCount(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::std::string& condition, ::Ice::Int& recordNum) - { - return getRecordsCount(table, keys, condition, recordNum, 0); - } - ::Ice::Int getRecordsCount(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::std::string& condition, ::Ice::Int& recordNum, const ::Ice::Context& __ctx) - { - return getRecordsCount(table, keys, condition, recordNum, &__ctx); - } - -private: - - ::Ice::Int getRecordsCount(const ::std::string&, const ::AliDDB::KVMap&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getRecordsByPage(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& total, ::AliDDB::DBRecord& record) - { - return getRecordsByPage(table, keys, fields, condition, orderFields, pageno, pagesize, total, record, 0); - } - ::Ice::Int getRecordsByPage(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& total, ::AliDDB::DBRecord& record, const ::Ice::Context& __ctx) - { - return getRecordsByPage(table, keys, fields, condition, orderFields, pageno, pagesize, total, record, &__ctx); - } - -private: - - ::Ice::Int getRecordsByPage(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliDDB::DBRecord&, const ::Ice::Context*); - -public: - - ::Ice::Int getMultiRecords(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int num, ::AliDDB::DBRecord& record) - { - return getMultiRecords(table, keys, fields, condition, orderFields, num, record, 0); - } - ::Ice::Int getMultiRecords(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int num, ::AliDDB::DBRecord& record, const ::Ice::Context& __ctx) - { - return getMultiRecords(table, keys, fields, condition, orderFields, num, record, &__ctx); - } - -private: - - ::Ice::Int getMultiRecords(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::AliDDB::DBRecord&, const ::Ice::Context*); - -public: - - ::Ice::Int getMultiRecordsByPage(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& total, ::AliDDB::DBRecord& record) - { - return getMultiRecordsByPage(table, keys, fields, condition, orderFields, pageno, pagesize, total, record, 0); - } - ::Ice::Int getMultiRecordsByPage(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& total, ::AliDDB::DBRecord& record, const ::Ice::Context& __ctx) - { - return getMultiRecordsByPage(table, keys, fields, condition, orderFields, pageno, pagesize, total, record, &__ctx); - } - -private: - - ::Ice::Int getMultiRecordsByPage(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliDDB::DBRecord&, const ::Ice::Context*); - -public: - - ::Ice::Int updateRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::KVMap& uniqKey, const ::AliDDB::DBRecord& record) - { - return updateRecord(table, keys, uniqKey, record, 0); - } - ::Ice::Int updateRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::KVMap& uniqKey, const ::AliDDB::DBRecord& record, const ::Ice::Context& __ctx) - { - return updateRecord(table, keys, uniqKey, record, &__ctx); - } - -private: - - ::Ice::Int updateRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*); - -public: - - ::Ice::Int updateBlob(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::DBRecord& record) - { - return updateBlob(table, keys, record, 0); - } - ::Ice::Int updateBlob(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::DBRecord& record, const ::Ice::Context& __ctx) - { - return updateBlob(table, keys, record, &__ctx); - } - -private: - - ::Ice::Int updateBlob(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*); - -public: - - ::Ice::Int deleteRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::KVMap& uniqKey) - { - return deleteRecord(table, keys, uniqKey, 0); - } - ::Ice::Int deleteRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::KVMap& uniqKey, const ::Ice::Context& __ctx) - { - return deleteRecord(table, keys, uniqKey, &__ctx); - } - -private: - - ::Ice::Int deleteRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::KVMap&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliDDB -{ - -class AliDDBInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int insertRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int insertMultiRecords(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::AliDDB::DBRecord&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::Ice::StringSeq&, ::AliDDB::DBRecord&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getRecords(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::AliDDB::DBRecord&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getRecordsCount(const ::std::string&, const ::AliDDB::KVMap&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getRecordsByPage(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliDDB::DBRecord&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getMultiRecords(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::AliDDB::DBRecord&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getMultiRecordsByPage(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliDDB::DBRecord&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateBlob(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int deleteRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::KVMap&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliDDB -{ - -class AliDDBInterface : virtual public ::IceDelegate::AliDDB::AliDDBInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int insertRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int insertMultiRecords(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int getRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::Ice::StringSeq&, ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int getRecords(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int getRecordsCount(const ::std::string&, const ::AliDDB::KVMap&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getRecordsByPage(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int getMultiRecords(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int getMultiRecordsByPage(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int updateRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int updateBlob(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int deleteRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::KVMap&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliDDB -{ - -class AliDDBInterface : virtual public ::IceDelegate::AliDDB::AliDDBInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int insertRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int insertMultiRecords(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int getRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::Ice::StringSeq&, ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int getRecords(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int getRecordsCount(const ::std::string&, const ::AliDDB::KVMap&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getRecordsByPage(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int getMultiRecords(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int getMultiRecordsByPage(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int updateRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int updateBlob(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*); - - virtual ::Ice::Int deleteRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::KVMap&, const ::Ice::Context*); -}; - -} - -} - -namespace AliDDB -{ - -class AliDDBInterface : virtual public ::Ice::Object -{ -public: - - typedef AliDDBInterfacePrx ProxyType; - typedef AliDDBInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual void insertRecord_async(const ::AliDDB::AMD_AliDDBInterface_insertRecordPtr&, const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___insertRecord(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int insertMultiRecords(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::AliDDB::DBRecord&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___insertMultiRecords(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::Ice::StringSeq&, ::AliDDB::DBRecord&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getRecord(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getRecords(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::AliDDB::DBRecord&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getRecords(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getRecordsCount(const ::std::string&, const ::AliDDB::KVMap&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getRecordsCount(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getRecordsByPage(const ::std::string&, const ::AliDDB::KVMap&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliDDB::DBRecord&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getRecordsByPage(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getMultiRecords(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::AliDDB::DBRecord&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getMultiRecords(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getMultiRecordsByPage(const ::std::string&, const ::AliDDB::KVMapSeq&, const ::Ice::StringSeq&, const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliDDB::DBRecord&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getMultiRecordsByPage(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void updateRecord_async(const ::AliDDB::AMD_AliDDBInterface_updateRecordPtr&, const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateRecord(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void updateBlob_async(const ::AliDDB::AMD_AliDDBInterface_updateBlobPtr&, const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateBlob(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void deleteRecord_async(const ::AliDDB::AMD_AliDDBInterface_deleteRecordPtr&, const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::KVMap&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___deleteRecord(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__AliDDBInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/EServiceRContact.h b/features/aliww/include/EServiceRContact.h deleted file mode 100644 index 63508a2..0000000 --- a/features/aliww/include/EServiceRContact.h +++ /dev/null @@ -1,253 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `EServiceRContact.ice' - -#ifndef __EServiceRContact_h__ -#define __EServiceRContact_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class EServiceRecentContact; -bool operator==(const EServiceRecentContact&, const EServiceRecentContact&); -bool operator!=(const EServiceRecentContact&, const EServiceRecentContact&); -bool operator<(const EServiceRecentContact&, const EServiceRecentContact&); -bool operator<=(const EServiceRecentContact&, const EServiceRecentContact&); -bool operator>(const EServiceRecentContact&, const EServiceRecentContact&); -bool operator>=(const EServiceRecentContact&, const EServiceRecentContact&); - -} - -} - -namespace AliIM -{ - -class EServiceRecentContact; -bool operator==(const EServiceRecentContact&, const EServiceRecentContact&); -bool operator!=(const EServiceRecentContact&, const EServiceRecentContact&); -bool operator<(const EServiceRecentContact&, const EServiceRecentContact&); -bool operator<=(const EServiceRecentContact&, const EServiceRecentContact&); -bool operator>(const EServiceRecentContact&, const EServiceRecentContact&); -bool operator>=(const EServiceRecentContact&, const EServiceRecentContact&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::EServiceRecentContact*); -void decRef(::AliIM::EServiceRecentContact*); - -void incRef(::IceProxy::AliIM::EServiceRecentContact*); -void decRef(::IceProxy::AliIM::EServiceRecentContact*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::EServiceRecentContact> EServiceRecentContactPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::EServiceRecentContact> EServiceRecentContactPrx; - -void __write(::IceInternal::BasicStream*, const EServiceRecentContactPrx&); -void __read(::IceInternal::BasicStream*, EServiceRecentContactPrx&); -void __write(::IceInternal::BasicStream*, const EServiceRecentContactPtr&); -void __patch__EServiceRecentContactPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const EServiceRecentContactPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const EServiceRecentContactPtr&); -void __decRefUnsafe(const EServiceRecentContactPtr&); -void __clearHandleUnsafe(EServiceRecentContactPtr&); - -} - -namespace AliIM -{ - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class EServiceRecentContact : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int checkRCnt(const ::std::string& uid, const ::std::string& cid) - { - return checkRCnt(uid, cid, 0); - } - ::Ice::Int checkRCnt(const ::std::string& uid, const ::std::string& cid, const ::Ice::Context& __ctx) - { - return checkRCnt(uid, cid, &__ctx); - } - -private: - - ::Ice::Int checkRCnt(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int addRcnt(const ::std::string& uid, const ::AliIM::SICERecentCnt& rcnt) - { - return addRcnt(uid, rcnt, 0); - } - ::Ice::Int addRcnt(const ::std::string& uid, const ::AliIM::SICERecentCnt& rcnt, const ::Ice::Context& __ctx) - { - return addRcnt(uid, rcnt, &__ctx); - } - -private: - - ::Ice::Int addRcnt(const ::std::string&, const ::AliIM::SICERecentCnt&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class EServiceRecentContact : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int checkRCnt(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int addRcnt(const ::std::string&, const ::AliIM::SICERecentCnt&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class EServiceRecentContact : virtual public ::IceDelegate::AliIM::EServiceRecentContact, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int checkRCnt(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int addRcnt(const ::std::string&, const ::AliIM::SICERecentCnt&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class EServiceRecentContact : virtual public ::IceDelegate::AliIM::EServiceRecentContact, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int checkRCnt(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int addRcnt(const ::std::string&, const ::AliIM::SICERecentCnt&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class EServiceRecentContact : virtual public ::Ice::Object -{ -public: - - typedef EServiceRecentContactPrx ProxyType; - typedef EServiceRecentContactPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int checkRCnt(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkRCnt(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int addRcnt(const ::std::string&, const ::AliIM::SICERecentCnt&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addRcnt(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__EServiceRecentContactPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/Exhibitionservice.h b/features/aliww/include/Exhibitionservice.h deleted file mode 100644 index dcb706d..0000000 --- a/features/aliww/include/Exhibitionservice.h +++ /dev/null @@ -1,334 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `Exhibitionservice.ice' - -#ifndef __Exhibitionservice_h__ -#define __Exhibitionservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class ExhibitionInterface; -bool operator==(const ExhibitionInterface&, const ExhibitionInterface&); -bool operator!=(const ExhibitionInterface&, const ExhibitionInterface&); -bool operator<(const ExhibitionInterface&, const ExhibitionInterface&); -bool operator<=(const ExhibitionInterface&, const ExhibitionInterface&); -bool operator>(const ExhibitionInterface&, const ExhibitionInterface&); -bool operator>=(const ExhibitionInterface&, const ExhibitionInterface&); - -} - -} - -namespace AliIM -{ - -class ExhibitionInterface; -bool operator==(const ExhibitionInterface&, const ExhibitionInterface&); -bool operator!=(const ExhibitionInterface&, const ExhibitionInterface&); -bool operator<(const ExhibitionInterface&, const ExhibitionInterface&); -bool operator<=(const ExhibitionInterface&, const ExhibitionInterface&); -bool operator>(const ExhibitionInterface&, const ExhibitionInterface&); -bool operator>=(const ExhibitionInterface&, const ExhibitionInterface&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::ExhibitionInterface*); -void decRef(::AliIM::ExhibitionInterface*); - -void incRef(::IceProxy::AliIM::ExhibitionInterface*); -void decRef(::IceProxy::AliIM::ExhibitionInterface*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::ExhibitionInterface> ExhibitionInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::ExhibitionInterface> ExhibitionInterfacePrx; - -void __write(::IceInternal::BasicStream*, const ExhibitionInterfacePrx&); -void __read(::IceInternal::BasicStream*, ExhibitionInterfacePrx&); -void __write(::IceInternal::BasicStream*, const ExhibitionInterfacePtr&); -void __patch__ExhibitionInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const ExhibitionInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const ExhibitionInterfacePtr&); -void __decRefUnsafe(const ExhibitionInterfacePtr&); -void __clearHandleUnsafe(ExhibitionInterfacePtr&); - -} - -namespace AliIM -{ - -struct UserProfile -{ - ::std::string userId; - ::std::string userName; - ::std::string passport; - ::std::string isDeleted; - ::std::string gmtCreate; - ::std::string gmtModified; - ::std::string creator; - ::std::string Modifier; - ::std::string domainPrefix; - ::std::string loginId; - ::std::string longId; - ::std::string sourceType; - ::std::string gmtLogin; - ::std::string userStatus; - ::Ice::Int status; - ::std::string email; - ::std::string mobileNo; - ::std::string phoneNo; - ::std::string company; - ::std::string jobTitle; - ::std::string country; - ::std::string province; - ::std::string city; - ::std::string address; - ::std::string sex; - ::std::string birthday; - ::std::string zip; - ::std::string constellation; - ::std::string subCity; - ::std::string bloodType; - ::std::string shengXiao; - ::std::string career; - ::std::string degree; - ::std::string interest; - ::std::string personality; - ::std::string memo; - ::std::string finishSchool; - ::Ice::Int contactShowFlag; - ::std::string companyAddress; - ::std::string companyUrl; - ::std::string companyTel; - ::Ice::Int companyShowFlag; - ::std::string signature; - ::std::string companyZip; - ::std::string companyFax; - ::std::string moreInterest; - ::Ice::Int personalShowFlag; - ::std::string homePage; - ::std::string vocation; - ::std::string companyEmail; - ::std::string duty; - ::std::string department; - ::std::string purchase; - ::std::string sales; - ::Ice::Float finishedPercent; - ::Ice::Int imgType; - ::std::string imgHashCode; - ::std::string nickname; - ::std::string userLevel; - - bool operator==(const UserProfile&) const; - bool operator!=(const UserProfile&) const; - bool operator<(const UserProfile&) const; - bool operator<=(const UserProfile& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const UserProfile& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const UserProfile& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class ExhibitionInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int CheckUserWebPasswd(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& userId, const ::std::string& passwd) - { - return CheckUserWebPasswd(strCaller, strServiceType, userId, passwd, 0); - } - ::Ice::Int CheckUserWebPasswd(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& userId, const ::std::string& passwd, const ::Ice::Context& __ctx) - { - return CheckUserWebPasswd(strCaller, strServiceType, userId, passwd, &__ctx); - } - -private: - - ::Ice::Int CheckUserWebPasswd(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserProfileByLongId(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& longId, ::AliIM::UserProfile& userProfile) - { - return getUserProfileByLongId(strCaller, strServiceType, longId, userProfile, 0); - } - ::Ice::Int getUserProfileByLongId(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& longId, ::AliIM::UserProfile& userProfile, const ::Ice::Context& __ctx) - { - return getUserProfileByLongId(strCaller, strServiceType, longId, userProfile, &__ctx); - } - -private: - - ::Ice::Int getUserProfileByLongId(const ::std::string&, const ::std::string&, const ::std::string&, ::AliIM::UserProfile&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class ExhibitionInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int CheckUserWebPasswd(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserProfileByLongId(const ::std::string&, const ::std::string&, const ::std::string&, ::AliIM::UserProfile&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class ExhibitionInterface : virtual public ::IceDelegate::AliIM::ExhibitionInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int CheckUserWebPasswd(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfileByLongId(const ::std::string&, const ::std::string&, const ::std::string&, ::AliIM::UserProfile&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class ExhibitionInterface : virtual public ::IceDelegate::AliIM::ExhibitionInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int CheckUserWebPasswd(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfileByLongId(const ::std::string&, const ::std::string&, const ::std::string&, ::AliIM::UserProfile&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class ExhibitionInterface : virtual public ::Ice::Object -{ -public: - - typedef ExhibitionInterfacePrx ProxyType; - typedef ExhibitionInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int CheckUserWebPasswd(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUserWebPasswd(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserProfileByLongId(const ::std::string&, const ::std::string&, const ::std::string&, ::AliIM::UserProfile&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserProfileByLongId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__ExhibitionInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/RSACipher.h b/features/aliww/include/RSACipher.h deleted file mode 100644 index 7545e10..0000000 --- a/features/aliww/include/RSACipher.h +++ /dev/null @@ -1,79 +0,0 @@ -#ifndef __H_ALIRSA_H__ -#define __H_ALIRSA_H__ - -#include -#include -#include - -#include -//#pragma comment(lib, "libeay32.lib") - -enum eKeyType -{ - KEY_PUB = 0, - KEY_PRI = 1, -}; - -enum EALIHASHALG -{ - ALI_NULL_ALG = 0, // Ëã·¨¿ªÊ¼±êʶ - ALI_HASH_ALG = ALI_NULL_ALG + 1 , // HASHÀàËã·¨¿ªÊ¼ - ALI_HASH_CRC_ALG = ALI_HASH_ALG + 2 , // CRC - ALI_HASH_MD5_ALG = ALI_HASH_ALG + 3 , // MD5 - ALI_HASH_SHA_ALG = ALI_HASH_ALG + 4 , // SHA - ALI_HASH_SHA1_ALG = ALI_HASH_ALG + 5 , // SHA1 - ALI_HASH_USER_ALG = ALI_HASH_ALG + 0x100 , // ×Ô¶¨ÒåhashËã·¨¿ªÊ¼Öµ - - -}; - -enum EALICIPHERALG -{ - ALI_CIPHER_ALG = 0x1000 ,// cipherÀàËã·¨¿ªÊ¼ - ALI_CIPHER_DES3_ALG = ALI_CIPHER_ALG + 1 , // DES3 - ALI_CIPHER_DES3_CBC_ALG = ALI_CIPHER_DES3_ALG + 1, - ALI_CIPHER_DES3_ECB_ALG = ALI_CIPHER_DES3_ALG + 2, - ALI_CIPHER_DES3_CFB_ALG = ALI_CIPHER_DES3_ALG + 3, - ALI_CIPHER_DES3_OFB_ALG = ALI_CIPHER_DES3_ALG + 4, - ALI_CIPHER_RC4_ALG = ALI_CIPHER_ALG + 6 , // RC4 - ALI_CIPHER_DES_ALG = ALI_CIPHER_ALG + 7 , // DES - ALI_CIPHER_DES_CBC_ALG = ALI_CIPHER_DES_ALG + 1, - ALI_CIPHER_DES_ECB_ALG = ALI_CIPHER_DES_ALG + 2, - ALI_CIPHER_DES_CFB_ALG = ALI_CIPHER_DES_ALG + 3, - ALI_CIPHER_DES_OFB_ALG = ALI_CIPHER_DES_ALG + 4, - ALI_CIPHER_USER_ALG = ALI_CIPHER_ALG + 0x100 , // ×Ô¶¨ÒåcipherËã·¨¿ªÊ¼Öµ -}; - - -class CRsaCipher -{ -public: - CRsaCipher(void); - ~CRsaCipher(void); - bool isKeyPresent(long type); - - int Initialize(long bits, EALICIPHERALG alg, const std::string privkeypass="testprivkeypass" ) - { - m_strPass =privkeypass; - return GenKey(bits,alg); - } - int GenKey(long bits , EALICIPHERALG alg ); - - int GetKey(enum eKeyType type , std::string& retKey); - //if source length ²»ÊÇ¿éµÄÕûÊý±¶£¬»á±»¼Ó0 - int RSAPublicEncrypt(std::string& source, std::string& to,int paddType); - - int RSAPrivDecrypt(const std::string& source, std::string& to,int paddType); - - int SetKey(enum eKeyType type ,const void* pKey, int nKeyLen, const std::string privkeypass="testprivkeypass" ); - -private: - EVP_CIPHER* GetInternalCipher(EALICIPHERALG alg ); - -private: - RSA* m_pRSA; - std::string m_strPass; - EALICIPHERALG m_alg; -}; - -#endif \ No newline at end of file diff --git a/features/aliww/include/RSAWrapper.h b/features/aliww/include/RSAWrapper.h deleted file mode 100644 index 1366604..0000000 --- a/features/aliww/include/RSAWrapper.h +++ /dev/null @@ -1,11 +0,0 @@ -#ifndef _RSA_WRAPPER_H_ -#define _RSA_WRAPPER_H_ - -#include - -int RSA_PublicEncrypt(const char* szPubKey, - const int nPubKey, - const char* szOri, - const int nOriLen, - std::string& strResult); -#endif diff --git a/features/aliww/include/WebMember.h b/features/aliww/include/WebMember.h deleted file mode 100644 index 3506be7..0000000 --- a/features/aliww/include/WebMember.h +++ /dev/null @@ -1,711 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `WebMember.ice' - -#ifndef __WebMember_h__ -#define __WebMember_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace WebMember -{ - -class UserProfile; -bool operator==(const UserProfile&, const UserProfile&); -bool operator!=(const UserProfile&, const UserProfile&); -bool operator<(const UserProfile&, const UserProfile&); -bool operator<=(const UserProfile&, const UserProfile&); -bool operator>(const UserProfile&, const UserProfile&); -bool operator>=(const UserProfile&, const UserProfile&); - -} - -} - -namespace WebMember -{ - -class UserProfile; -bool operator==(const UserProfile&, const UserProfile&); -bool operator!=(const UserProfile&, const UserProfile&); -bool operator<(const UserProfile&, const UserProfile&); -bool operator<=(const UserProfile&, const UserProfile&); -bool operator>(const UserProfile&, const UserProfile&); -bool operator>=(const UserProfile&, const UserProfile&); - -} - -namespace IceInternal -{ - -void incRef(::WebMember::UserProfile*); -void decRef(::WebMember::UserProfile*); - -void incRef(::IceProxy::WebMember::UserProfile*); -void decRef(::IceProxy::WebMember::UserProfile*); - -} - -namespace WebMember -{ - -typedef ::IceInternal::Handle< ::WebMember::UserProfile> UserProfilePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::WebMember::UserProfile> UserProfilePrx; - -void __write(::IceInternal::BasicStream*, const UserProfilePrx&); -void __read(::IceInternal::BasicStream*, UserProfilePrx&); -void __write(::IceInternal::BasicStream*, const UserProfilePtr&); -void __patch__UserProfilePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const UserProfilePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const UserProfilePtr&); -void __decRefUnsafe(const UserProfilePtr&); -void __clearHandleUnsafe(UserProfilePtr&); - -} - -namespace WebMember -{ - -struct SSimpleUserProfile -{ - ::std::string uid; - ::std::string password; - ::std::string status; - - bool operator==(const SSimpleUserProfile&) const; - bool operator!=(const SSimpleUserProfile&) const; - bool operator<(const SSimpleUserProfile&) const; - bool operator<=(const SSimpleUserProfile& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SSimpleUserProfile& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SSimpleUserProfile& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SHalfUserProfile -{ - ::std::string uid; - ::std::string password; - ::std::string status; - ::std::string realName; - ::std::string company; - ::std::string jobTitle; - ::std::string memberLevel; - ::std::string penName; - ::Ice::Int categoryId; - ::std::string phoneArea; - ::std::string phoneStatus; - ::std::string phone; - - bool operator==(const SHalfUserProfile&) const; - bool operator!=(const SHalfUserProfile&) const; - bool operator<(const SHalfUserProfile&) const; - bool operator<=(const SHalfUserProfile& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SHalfUserProfile& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SHalfUserProfile& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SFullUserProfile -{ - ::std::string uid; - ::std::string password; - ::std::string status; - ::std::string realName; - ::std::string company; - ::std::string jobTitle; - ::std::string memberLevel; - ::std::string penName; - ::Ice::Int categoryId; - ::std::string phoneArea; - ::std::string phoneStatus; - ::std::string phone; - ::std::string email; - ::std::string mobileNo; - ::Ice::Byte sex; - ::std::string address; - ::std::string buyKeywords; - ::std::string saleKeywords; - ::std::string faxNo; - ::std::string homepageUrl; - - bool operator==(const SFullUserProfile&) const; - bool operator!=(const SFullUserProfile&) const; - bool operator<(const SFullUserProfile&) const; - bool operator<=(const SFullUserProfile& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SFullUserProfile& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SFullUserProfile& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SUDBUserProfile -{ - ::std::string memberId; - ::std::string realName; - ::std::string password; - ::std::string status; - ::std::string email; - ::std::string mobileNo; - ::std::string phone; - ::std::string country; - ::std::string province; - ::std::string city; - ::std::string address; - ::std::string homepageUrl; - ::std::string memberLevel; - ::std::string penName; - ::std::string phoneStatus; - ::Ice::Byte sex; - ::std::string jobTitle; - ::std::string company; - ::std::string zip; - - bool operator==(const SUDBUserProfile&) const; - bool operator!=(const SUDBUserProfile&) const; - bool operator<(const SUDBUserProfile&) const; - bool operator<=(const SUDBUserProfile& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SUDBUserProfile& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SUDBUserProfile& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SUserLevel -{ - ::std::string memberId; - ::std::string memberLevel; - - bool operator==(const SUserLevel&) const; - bool operator!=(const SUserLevel&) const; - bool operator<(const SUserLevel&) const; - bool operator<=(const SUserLevel& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SUserLevel& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SUserLevel& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SHalfUserProfile2 -{ - ::std::string uid; - ::std::string password; - ::std::string status; - ::std::string realName; - ::std::string company; - ::std::string jobTitle; - ::std::string memberLevel; - ::std::string penName; - ::Ice::Int categoryId; - ::std::string phoneArea; - ::std::string phoneStatus; - ::std::string phone; - ::std::string communityLevel; - - bool operator==(const SHalfUserProfile2&) const; - bool operator!=(const SHalfUserProfile2&) const; - bool operator<(const SHalfUserProfile2&) const; - bool operator<=(const SHalfUserProfile2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SHalfUserProfile2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SHalfUserProfile2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SFullUserProfile2 -{ - ::std::string uid; - ::std::string password; - ::std::string status; - ::std::string realName; - ::std::string company; - ::std::string jobTitle; - ::std::string memberLevel; - ::std::string penName; - ::Ice::Int categoryId; - ::std::string phoneArea; - ::std::string phoneStatus; - ::std::string phone; - ::std::string email; - ::std::string mobileNo; - ::Ice::Byte sex; - ::std::string address; - ::std::string buyKeywords; - ::std::string saleKeywords; - ::std::string faxNo; - ::std::string homepageUrl; - ::std::string communityLevel; - - bool operator==(const SFullUserProfile2&) const; - bool operator!=(const SFullUserProfile2&) const; - bool operator<(const SFullUserProfile2&) const; - bool operator<=(const SFullUserProfile2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SFullUserProfile2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SFullUserProfile2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::std::string> UserIdSeq; - -class __U__UserIdSeq { }; - -typedef ::std::vector< ::WebMember::SSimpleUserProfile> SUserSeq; - -class __U__SUserSeq { }; -void __write(::IceInternal::BasicStream*, const ::WebMember::SSimpleUserProfile*, const ::WebMember::SSimpleUserProfile*, __U__SUserSeq); -void __read(::IceInternal::BasicStream*, SUserSeq&, __U__SUserSeq); - -typedef ::std::vector< ::WebMember::SHalfUserProfile> HUserSeq; - -class __U__HUserSeq { }; -void __write(::IceInternal::BasicStream*, const ::WebMember::SHalfUserProfile*, const ::WebMember::SHalfUserProfile*, __U__HUserSeq); -void __read(::IceInternal::BasicStream*, HUserSeq&, __U__HUserSeq); - -typedef ::std::vector< ::WebMember::SFullUserProfile> FUserSeq; - -class __U__FUserSeq { }; -void __write(::IceInternal::BasicStream*, const ::WebMember::SFullUserProfile*, const ::WebMember::SFullUserProfile*, __U__FUserSeq); -void __read(::IceInternal::BasicStream*, FUserSeq&, __U__FUserSeq); - -typedef ::std::vector< ::WebMember::SUserLevel> UserLevelSeq; - -class __U__UserLevelSeq { }; -void __write(::IceInternal::BasicStream*, const ::WebMember::SUserLevel*, const ::WebMember::SUserLevel*, __U__UserLevelSeq); -void __read(::IceInternal::BasicStream*, UserLevelSeq&, __U__UserLevelSeq); - -typedef ::std::vector< ::WebMember::SHalfUserProfile2> HUserSeq2; - -class __U__HUserSeq2 { }; -void __write(::IceInternal::BasicStream*, const ::WebMember::SHalfUserProfile2*, const ::WebMember::SHalfUserProfile2*, __U__HUserSeq2); -void __read(::IceInternal::BasicStream*, HUserSeq2&, __U__HUserSeq2); - -typedef ::std::vector< ::WebMember::SFullUserProfile2> FUserSeq2; - -class __U__FUserSeq2 { }; -void __write(::IceInternal::BasicStream*, const ::WebMember::SFullUserProfile2*, const ::WebMember::SFullUserProfile2*, __U__FUserSeq2); -void __read(::IceInternal::BasicStream*, FUserSeq2&, __U__FUserSeq2); - -} - -namespace IceProxy -{ - -namespace WebMember -{ - -class UserProfile : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int GetSimpleUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::SUserSeq& userProfiles) - { - return GetSimpleUserProfile(userIds, userProfiles, 0); - } - ::Ice::Int GetSimpleUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::SUserSeq& userProfiles, const ::Ice::Context& __ctx) - { - return GetSimpleUserProfile(userIds, userProfiles, &__ctx); - } - -private: - - ::Ice::Int GetSimpleUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::SUserSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetHalfUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::HUserSeq& userProfiles) - { - return GetHalfUserProfile(userIds, userProfiles, 0); - } - ::Ice::Int GetHalfUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::HUserSeq& userProfiles, const ::Ice::Context& __ctx) - { - return GetHalfUserProfile(userIds, userProfiles, &__ctx); - } - -private: - - ::Ice::Int GetHalfUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::HUserSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetFullUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::FUserSeq& userProfiles) - { - return GetFullUserProfile(userIds, userProfiles, 0); - } - ::Ice::Int GetFullUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::FUserSeq& userProfiles, const ::Ice::Context& __ctx) - { - return GetFullUserProfile(userIds, userProfiles, &__ctx); - } - -private: - - ::Ice::Int GetFullUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::FUserSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserLevels(const ::WebMember::UserIdSeq& userIds, ::WebMember::UserLevelSeq& userProfiles) - { - return GetUserLevels(userIds, userProfiles, 0); - } - ::Ice::Int GetUserLevels(const ::WebMember::UserIdSeq& userIds, ::WebMember::UserLevelSeq& userProfiles, const ::Ice::Context& __ctx) - { - return GetUserLevels(userIds, userProfiles, &__ctx); - } - -private: - - ::Ice::Int GetUserLevels(const ::WebMember::UserIdSeq&, ::WebMember::UserLevelSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUidByPenname(const ::std::string& penName, ::std::string& userId) - { - return GetUidByPenname(penName, userId, 0); - } - ::Ice::Int GetUidByPenname(const ::std::string& penName, ::std::string& userId, const ::Ice::Context& __ctx) - { - return GetUidByPenname(penName, userId, &__ctx); - } - -private: - - ::Ice::Int GetUidByPenname(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetPassword(const ::std::string& userId, ::std::string& password, ::std::string& status) - { - return GetPassword(userId, password, status, 0); - } - ::Ice::Int GetPassword(const ::std::string& userId, ::std::string& password, ::std::string& status, const ::Ice::Context& __ctx) - { - return GetPassword(userId, password, status, &__ctx); - } - -private: - - ::Ice::Int GetPassword(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUDBUserProfile(const ::std::string& userId, ::WebMember::SUDBUserProfile& udbProfile) - { - return GetUDBUserProfile(userId, udbProfile, 0); - } - ::Ice::Int GetUDBUserProfile(const ::std::string& userId, ::WebMember::SUDBUserProfile& udbProfile, const ::Ice::Context& __ctx) - { - return GetUDBUserProfile(userId, udbProfile, &__ctx); - } - -private: - - ::Ice::Int GetUDBUserProfile(const ::std::string&, ::WebMember::SUDBUserProfile&, const ::Ice::Context*); - -public: - - ::Ice::Int GetHalfUserProfile2(const ::WebMember::UserIdSeq& userIds, ::WebMember::HUserSeq2& userProfiles) - { - return GetHalfUserProfile2(userIds, userProfiles, 0); - } - ::Ice::Int GetHalfUserProfile2(const ::WebMember::UserIdSeq& userIds, ::WebMember::HUserSeq2& userProfiles, const ::Ice::Context& __ctx) - { - return GetHalfUserProfile2(userIds, userProfiles, &__ctx); - } - -private: - - ::Ice::Int GetHalfUserProfile2(const ::WebMember::UserIdSeq&, ::WebMember::HUserSeq2&, const ::Ice::Context*); - -public: - - ::Ice::Int GetFullUserProfile2(const ::WebMember::UserIdSeq& userIds, ::WebMember::FUserSeq2& userProfiles) - { - return GetFullUserProfile2(userIds, userProfiles, 0); - } - ::Ice::Int GetFullUserProfile2(const ::WebMember::UserIdSeq& userIds, ::WebMember::FUserSeq2& userProfiles, const ::Ice::Context& __ctx) - { - return GetFullUserProfile2(userIds, userProfiles, &__ctx); - } - -private: - - ::Ice::Int GetFullUserProfile2(const ::WebMember::UserIdSeq&, ::WebMember::FUserSeq2&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace WebMember -{ - -class UserProfile : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int GetSimpleUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::SUserSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetHalfUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::HUserSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetFullUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::FUserSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserLevels(const ::WebMember::UserIdSeq&, ::WebMember::UserLevelSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUidByPenname(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetPassword(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUDBUserProfile(const ::std::string&, ::WebMember::SUDBUserProfile&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetHalfUserProfile2(const ::WebMember::UserIdSeq&, ::WebMember::HUserSeq2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetFullUserProfile2(const ::WebMember::UserIdSeq&, ::WebMember::FUserSeq2&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace WebMember -{ - -class UserProfile : virtual public ::IceDelegate::WebMember::UserProfile, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int GetSimpleUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::SUserSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetHalfUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::HUserSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetFullUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::FUserSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserLevels(const ::WebMember::UserIdSeq&, ::WebMember::UserLevelSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUidByPenname(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetPassword(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUDBUserProfile(const ::std::string&, ::WebMember::SUDBUserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int GetHalfUserProfile2(const ::WebMember::UserIdSeq&, ::WebMember::HUserSeq2&, const ::Ice::Context*); - - virtual ::Ice::Int GetFullUserProfile2(const ::WebMember::UserIdSeq&, ::WebMember::FUserSeq2&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace WebMember -{ - -class UserProfile : virtual public ::IceDelegate::WebMember::UserProfile, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int GetSimpleUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::SUserSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetHalfUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::HUserSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetFullUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::FUserSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserLevels(const ::WebMember::UserIdSeq&, ::WebMember::UserLevelSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUidByPenname(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetPassword(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUDBUserProfile(const ::std::string&, ::WebMember::SUDBUserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int GetHalfUserProfile2(const ::WebMember::UserIdSeq&, ::WebMember::HUserSeq2&, const ::Ice::Context*); - - virtual ::Ice::Int GetFullUserProfile2(const ::WebMember::UserIdSeq&, ::WebMember::FUserSeq2&, const ::Ice::Context*); -}; - -} - -} - -namespace WebMember -{ - -class UserProfile : virtual public ::Ice::Object -{ -public: - - typedef UserProfilePrx ProxyType; - typedef UserProfilePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int GetSimpleUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::SUserSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetSimpleUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetHalfUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::HUserSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetHalfUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetFullUserProfile(const ::WebMember::UserIdSeq&, ::WebMember::FUserSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetFullUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetUserLevels(const ::WebMember::UserIdSeq&, ::WebMember::UserLevelSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserLevels(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetUidByPenname(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUidByPenname(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetPassword(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetPassword(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetUDBUserProfile(const ::std::string&, ::WebMember::SUDBUserProfile&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUDBUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetHalfUserProfile2(const ::WebMember::UserIdSeq&, ::WebMember::HUserSeq2&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetHalfUserProfile2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetFullUserProfile2(const ::WebMember::UserIdSeq&, ::WebMember::FUserSeq2&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetFullUserProfile2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__UserProfilePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/aas_perf_test.h b/features/aliww/include/aas_perf_test.h deleted file mode 100644 index 569e832..0000000 --- a/features/aliww/include/aas_perf_test.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef _AAS_PERF_TEST_H -#define _AAS_PERF_TEST_H - -#include "paramutil.h" -#include "cbenchmark.h" -#include -#include -#include -#include -#include "md5hash.h" - -using namespace std; -using namespace Ice; -using namespace AASSERVICE; - -typedef struct aas_t{ - AasInterfacePrx *aas; - Ice::CommunicatorPtr *ic; -}aas_st; - -#ifdef __cplusplus -extern "C" { -#endif - -void* aas_init(void *p); -void* aas_act(void *p); -void* aas_end(void *p); - -void* aas_textput(void *p); -void* aas_textgetput(void *p); -void* aas_picput(void *p); -void* aas_picputget(void *p); -void* aas_textget(void *p); -void* aas_picget(void *p); -#ifdef __cplusplus -} -#endif -#endif diff --git a/features/aliww/include/aasservice.h b/features/aliww/include/aasservice.h deleted file mode 100644 index 690aa30..0000000 --- a/features/aliww/include/aasservice.h +++ /dev/null @@ -1,813 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aasservice.ice' - -#ifndef __aasservice_h__ -#define __aasservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AASSERVICE -{ - -class AasInterface; -bool operator==(const AasInterface&, const AasInterface&); -bool operator!=(const AasInterface&, const AasInterface&); -bool operator<(const AasInterface&, const AasInterface&); -bool operator<=(const AasInterface&, const AasInterface&); -bool operator>(const AasInterface&, const AasInterface&); -bool operator>=(const AasInterface&, const AasInterface&); - -} - -} - -namespace AASSERVICE -{ - -class AasInterface; -bool operator==(const AasInterface&, const AasInterface&); -bool operator!=(const AasInterface&, const AasInterface&); -bool operator<(const AasInterface&, const AasInterface&); -bool operator<=(const AasInterface&, const AasInterface&); -bool operator>(const AasInterface&, const AasInterface&); -bool operator>=(const AasInterface&, const AasInterface&); - -} - -namespace IceInternal -{ - -void incRef(::AASSERVICE::AasInterface*); -void decRef(::AASSERVICE::AasInterface*); - -void incRef(::IceProxy::AASSERVICE::AasInterface*); -void decRef(::IceProxy::AASSERVICE::AasInterface*); - -} - -namespace AASSERVICE -{ - -typedef ::IceInternal::Handle< ::AASSERVICE::AasInterface> AasInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AASSERVICE::AasInterface> AasInterfacePrx; - -void __write(::IceInternal::BasicStream*, const AasInterfacePrx&); -void __read(::IceInternal::BasicStream*, AasInterfacePrx&); -void __write(::IceInternal::BasicStream*, const AasInterfacePtr&); -void __patch__AasInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const AasInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const AasInterfacePtr&); -void __decRefUnsafe(const AasInterfacePtr&); -void __clearHandleUnsafe(AasInterfacePtr&); - -} - -namespace AASSERVICE -{ - -struct CChatRecord -{ - ::std::string userid; - ::std::string peeruid; - ::Ice::Long tm; - ::Ice::Int seq; - ::std::string msg; - - bool operator==(const CChatRecord&) const; - bool operator!=(const CChatRecord&) const; - bool operator<(const CChatRecord&) const; - bool operator<=(const CChatRecord& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const CChatRecord& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const CChatRecord& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct CChatRecordInfo -{ - ::Ice::Int dir; - ::Ice::Int seq; - ::Ice::Long tm; - ::std::string msg; - - bool operator==(const CChatRecordInfo&) const; - bool operator!=(const CChatRecordInfo&) const; - bool operator<(const CChatRecordInfo&) const; - bool operator<=(const CChatRecordInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const CChatRecordInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const CChatRecordInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct CChatRecordID -{ - ::std::string userid; - ::std::string peeruid; - ::Ice::Long tm; - ::Ice::Int seq; - ::Ice::Int dir; - - bool operator==(const CChatRecordID&) const; - bool operator!=(const CChatRecordID&) const; - bool operator<(const CChatRecordID&) const; - bool operator<=(const CChatRecordID& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const CChatRecordID& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const CChatRecordID& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AASSERVICE::CChatRecordInfo> ChatRecordInfoSeq; - -class __U__ChatRecordInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AASSERVICE::CChatRecordInfo*, const ::AASSERVICE::CChatRecordInfo*, __U__ChatRecordInfoSeq); -void __read(::IceInternal::BasicStream*, ChatRecordInfoSeq&, __U__ChatRecordInfoSeq); - -typedef ::std::vector< ::AASSERVICE::CChatRecordID> ChatRecordIDSeq; - -class __U__ChatRecordIDSeq { }; -void __write(::IceInternal::BasicStream*, const ::AASSERVICE::CChatRecordID*, const ::AASSERVICE::CChatRecordID*, __U__ChatRecordIDSeq); -void __read(::IceInternal::BasicStream*, ChatRecordIDSeq&, __U__ChatRecordIDSeq); - -typedef ::std::vector< ::std::string> ChatPicFileNameSeq; - -class __U__ChatPicFileNameSeq { }; - -typedef ::std::vector< ::Ice::Int> ChatRecordDeleteRespSeq; - -class __U__ChatRecordDeleteRespSeq { }; - -typedef ::std::vector< ::Ice::Byte> ByteSeq; - -class __U__ByteSeq { }; - -typedef ::std::vector< ::AASSERVICE::CChatRecord> ChatRecordSeq; - -class __U__ChatRecordSeq { }; -void __write(::IceInternal::BasicStream*, const ::AASSERVICE::CChatRecord*, const ::AASSERVICE::CChatRecord*, __U__ChatRecordSeq); -void __read(::IceInternal::BasicStream*, ChatRecordSeq&, __U__ChatRecordSeq); - -} - -namespace AASSERVICE -{ - -class AMD_AasInterface_textget : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AASSERVICE::ChatRecordInfoSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AASSERVICE::AMD_AasInterface_textget> AMD_AasInterface_textgetPtr; - -class AMD_AasInterface_textput : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AASSERVICE::AMD_AasInterface_textput> AMD_AasInterface_textputPtr; - -class AMD_AasInterface_textbatchput : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AASSERVICE::AMD_AasInterface_textbatchput> AMD_AasInterface_textbatchputPtr; - -class AMD_AasInterface_textupdate : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AASSERVICE::AMD_AasInterface_textupdate> AMD_AasInterface_textupdatePtr; - -class AMD_AasInterface_textdelete : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AASSERVICE::AMD_AasInterface_textdelete> AMD_AasInterface_textdeletePtr; - -class AMD_AasInterface_textbatchdelete : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AASSERVICE::ChatRecordIDSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AASSERVICE::AMD_AasInterface_textbatchdelete> AMD_AasInterface_textbatchdeletePtr; - -class AMD_AasInterface_picquery : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, bool) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AASSERVICE::AMD_AasInterface_picquery> AMD_AasInterface_picqueryPtr; - -class AMD_AasInterface_picbatchquery : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AASSERVICE::ChatPicFileNameSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AASSERVICE::AMD_AasInterface_picbatchquery> AMD_AasInterface_picbatchqueryPtr; - -class AMD_AasInterface_picget : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AASSERVICE::ByteSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AASSERVICE::AMD_AasInterface_picget> AMD_AasInterface_picgetPtr; - -class AMD_AasInterface_picput : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AASSERVICE::AMD_AasInterface_picput> AMD_AasInterface_picputPtr; - -} - -namespace IceAsync -{ - -namespace AASSERVICE -{ - -class AMD_AasInterface_textget : public ::AASSERVICE::AMD_AasInterface_textget, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AasInterface_textget(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AASSERVICE::ChatRecordInfoSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_AasInterface_textput : public ::AASSERVICE::AMD_AasInterface_textput, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AasInterface_textput(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_AasInterface_textbatchput : public ::AASSERVICE::AMD_AasInterface_textbatchput, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AasInterface_textbatchput(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_AasInterface_textupdate : public ::AASSERVICE::AMD_AasInterface_textupdate, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AasInterface_textupdate(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_AasInterface_textdelete : public ::AASSERVICE::AMD_AasInterface_textdelete, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AasInterface_textdelete(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_AasInterface_textbatchdelete : public ::AASSERVICE::AMD_AasInterface_textbatchdelete, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AasInterface_textbatchdelete(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AASSERVICE::ChatRecordIDSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_AasInterface_picquery : public ::AASSERVICE::AMD_AasInterface_picquery, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AasInterface_picquery(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, bool); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_AasInterface_picbatchquery : public ::AASSERVICE::AMD_AasInterface_picbatchquery, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AasInterface_picbatchquery(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AASSERVICE::ChatPicFileNameSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_AasInterface_picget : public ::AASSERVICE::AMD_AasInterface_picget, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AasInterface_picget(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AASSERVICE::ByteSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_AasInterface_picput : public ::AASSERVICE::AMD_AasInterface_picput, public ::IceInternal::IncomingAsync -{ -public: - - AMD_AasInterface_picput(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -} - -} - -namespace IceProxy -{ - -namespace AASSERVICE -{ - -class AasInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int textget(const ::std::string& userid, const ::std::string& peeruid, ::Ice::Long begintime, ::Ice::Long endtime, ::Ice::Int maxret, ::AASSERVICE::ChatRecordInfoSeq& record) - { - return textget(userid, peeruid, begintime, endtime, maxret, record, 0); - } - ::Ice::Int textget(const ::std::string& userid, const ::std::string& peeruid, ::Ice::Long begintime, ::Ice::Long endtime, ::Ice::Int maxret, ::AASSERVICE::ChatRecordInfoSeq& record, const ::Ice::Context& __ctx) - { - return textget(userid, peeruid, begintime, endtime, maxret, record, &__ctx); - } - -private: - - ::Ice::Int textget(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int, ::AASSERVICE::ChatRecordInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int textput(const ::std::string& fromid, const ::std::string& toid, ::Ice::Long time, ::Ice::Int seq, const ::std::string& msg) - { - return textput(fromid, toid, time, seq, msg, 0); - } - ::Ice::Int textput(const ::std::string& fromid, const ::std::string& toid, ::Ice::Long time, ::Ice::Int seq, const ::std::string& msg, const ::Ice::Context& __ctx) - { - return textput(fromid, toid, time, seq, msg, &__ctx); - } - -private: - - ::Ice::Int textput(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int textbatchput(const ::AASSERVICE::ChatRecordSeq& seq) - { - return textbatchput(seq, 0); - } - ::Ice::Int textbatchput(const ::AASSERVICE::ChatRecordSeq& seq, const ::Ice::Context& __ctx) - { - return textbatchput(seq, &__ctx); - } - -private: - - ::Ice::Int textbatchput(const ::AASSERVICE::ChatRecordSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int textupdate(const ::std::string& fromid, const ::std::string& toid, ::Ice::Long time, ::Ice::Int seq, const ::std::string& msg) - { - return textupdate(fromid, toid, time, seq, msg, 0); - } - ::Ice::Int textupdate(const ::std::string& fromid, const ::std::string& toid, ::Ice::Long time, ::Ice::Int seq, const ::std::string& msg, const ::Ice::Context& __ctx) - { - return textupdate(fromid, toid, time, seq, msg, &__ctx); - } - -private: - - ::Ice::Int textupdate(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int textdelete(const ::std::string& userid, const ::std::string& peeruid, ::Ice::Long time, ::Ice::Int seq, ::Ice::Int direction) - { - return textdelete(userid, peeruid, time, seq, direction, 0); - } - ::Ice::Int textdelete(const ::std::string& userid, const ::std::string& peeruid, ::Ice::Long time, ::Ice::Int seq, ::Ice::Int direction, const ::Ice::Context& __ctx) - { - return textdelete(userid, peeruid, time, seq, direction, &__ctx); - } - -private: - - ::Ice::Int textdelete(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int textbatchdelete(const ::AASSERVICE::ChatRecordIDSeq& recordidseq, ::AASSERVICE::ChatRecordIDSeq& respseq) - { - return textbatchdelete(recordidseq, respseq, 0); - } - ::Ice::Int textbatchdelete(const ::AASSERVICE::ChatRecordIDSeq& recordidseq, ::AASSERVICE::ChatRecordIDSeq& respseq, const ::Ice::Context& __ctx) - { - return textbatchdelete(recordidseq, respseq, &__ctx); - } - -private: - - ::Ice::Int textbatchdelete(const ::AASSERVICE::ChatRecordIDSeq&, ::AASSERVICE::ChatRecordIDSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int picquery(const ::std::string& fileName, bool& exist) - { - return picquery(fileName, exist, 0); - } - ::Ice::Int picquery(const ::std::string& fileName, bool& exist, const ::Ice::Context& __ctx) - { - return picquery(fileName, exist, &__ctx); - } - -private: - - ::Ice::Int picquery(const ::std::string&, bool&, const ::Ice::Context*); - -public: - - ::Ice::Int picbatchquery(const ::AASSERVICE::ChatPicFileNameSeq& filenameseq, ::AASSERVICE::ChatPicFileNameSeq& respseq) - { - return picbatchquery(filenameseq, respseq, 0); - } - ::Ice::Int picbatchquery(const ::AASSERVICE::ChatPicFileNameSeq& filenameseq, ::AASSERVICE::ChatPicFileNameSeq& respseq, const ::Ice::Context& __ctx) - { - return picbatchquery(filenameseq, respseq, &__ctx); - } - -private: - - ::Ice::Int picbatchquery(const ::AASSERVICE::ChatPicFileNameSeq&, ::AASSERVICE::ChatPicFileNameSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int picget(const ::std::string& filename, ::AASSERVICE::ByteSeq& pic) - { - return picget(filename, pic, 0); - } - ::Ice::Int picget(const ::std::string& filename, ::AASSERVICE::ByteSeq& pic, const ::Ice::Context& __ctx) - { - return picget(filename, pic, &__ctx); - } - -private: - - ::Ice::Int picget(const ::std::string&, ::AASSERVICE::ByteSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int picput(const ::std::string& filename, const ::AASSERVICE::ByteSeq& pic) - { - return picput(filename, pic, 0); - } - ::Ice::Int picput(const ::std::string& filename, const ::AASSERVICE::ByteSeq& pic, const ::Ice::Context& __ctx) - { - return picput(filename, pic, &__ctx); - } - -private: - - ::Ice::Int picput(const ::std::string&, const ::AASSERVICE::ByteSeq&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AASSERVICE -{ - -class AasInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int textget(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int, ::AASSERVICE::ChatRecordInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int textput(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int textbatchput(const ::AASSERVICE::ChatRecordSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int textupdate(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int textdelete(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int textbatchdelete(const ::AASSERVICE::ChatRecordIDSeq&, ::AASSERVICE::ChatRecordIDSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int picquery(const ::std::string&, bool&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int picbatchquery(const ::AASSERVICE::ChatPicFileNameSeq&, ::AASSERVICE::ChatPicFileNameSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int picget(const ::std::string&, ::AASSERVICE::ByteSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int picput(const ::std::string&, const ::AASSERVICE::ByteSeq&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AASSERVICE -{ - -class AasInterface : virtual public ::IceDelegate::AASSERVICE::AasInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int textget(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int, ::AASSERVICE::ChatRecordInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int textput(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int textbatchput(const ::AASSERVICE::ChatRecordSeq&, const ::Ice::Context*); - - virtual ::Ice::Int textupdate(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int textdelete(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int textbatchdelete(const ::AASSERVICE::ChatRecordIDSeq&, ::AASSERVICE::ChatRecordIDSeq&, const ::Ice::Context*); - - virtual ::Ice::Int picquery(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int picbatchquery(const ::AASSERVICE::ChatPicFileNameSeq&, ::AASSERVICE::ChatPicFileNameSeq&, const ::Ice::Context*); - - virtual ::Ice::Int picget(const ::std::string&, ::AASSERVICE::ByteSeq&, const ::Ice::Context*); - - virtual ::Ice::Int picput(const ::std::string&, const ::AASSERVICE::ByteSeq&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AASSERVICE -{ - -class AasInterface : virtual public ::IceDelegate::AASSERVICE::AasInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int textget(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int, ::AASSERVICE::ChatRecordInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int textput(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int textbatchput(const ::AASSERVICE::ChatRecordSeq&, const ::Ice::Context*); - - virtual ::Ice::Int textupdate(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int textdelete(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int textbatchdelete(const ::AASSERVICE::ChatRecordIDSeq&, ::AASSERVICE::ChatRecordIDSeq&, const ::Ice::Context*); - - virtual ::Ice::Int picquery(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int picbatchquery(const ::AASSERVICE::ChatPicFileNameSeq&, ::AASSERVICE::ChatPicFileNameSeq&, const ::Ice::Context*); - - virtual ::Ice::Int picget(const ::std::string&, ::AASSERVICE::ByteSeq&, const ::Ice::Context*); - - virtual ::Ice::Int picput(const ::std::string&, const ::AASSERVICE::ByteSeq&, const ::Ice::Context*); -}; - -} - -} - -namespace AASSERVICE -{ - -class AasInterface : virtual public ::Ice::Object -{ -public: - - typedef AasInterfacePrx ProxyType; - typedef AasInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual void textget_async(const ::AASSERVICE::AMD_AasInterface_textgetPtr&, const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___textget(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void textput_async(const ::AASSERVICE::AMD_AasInterface_textputPtr&, const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___textput(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void textbatchput_async(const ::AASSERVICE::AMD_AasInterface_textbatchputPtr&, const ::AASSERVICE::ChatRecordSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___textbatchput(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void textupdate_async(const ::AASSERVICE::AMD_AasInterface_textupdatePtr&, const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___textupdate(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void textdelete_async(const ::AASSERVICE::AMD_AasInterface_textdeletePtr&, const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___textdelete(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void textbatchdelete_async(const ::AASSERVICE::AMD_AasInterface_textbatchdeletePtr&, const ::AASSERVICE::ChatRecordIDSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___textbatchdelete(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void picquery_async(const ::AASSERVICE::AMD_AasInterface_picqueryPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___picquery(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void picbatchquery_async(const ::AASSERVICE::AMD_AasInterface_picbatchqueryPtr&, const ::AASSERVICE::ChatPicFileNameSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___picbatchquery(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void picget_async(const ::AASSERVICE::AMD_AasInterface_picgetPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___picget(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void picput_async(const ::AASSERVICE::AMD_AasInterface_picputPtr&, const ::std::string&, const ::AASSERVICE::ByteSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___picput(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__AasInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/aepcacheservice.h b/features/aliww/include/aepcacheservice.h deleted file mode 100644 index f540198..0000000 --- a/features/aliww/include/aepcacheservice.h +++ /dev/null @@ -1,450 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aepcacheservice.ice' - -#ifndef __aepcacheservice_h__ -#define __aepcacheservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class IAEPCacheService; -bool operator==(const IAEPCacheService&, const IAEPCacheService&); -bool operator!=(const IAEPCacheService&, const IAEPCacheService&); -bool operator<(const IAEPCacheService&, const IAEPCacheService&); -bool operator<=(const IAEPCacheService&, const IAEPCacheService&); -bool operator>(const IAEPCacheService&, const IAEPCacheService&); -bool operator>=(const IAEPCacheService&, const IAEPCacheService&); - -} - -} - -namespace AliIM -{ - -class IAEPCacheService; -bool operator==(const IAEPCacheService&, const IAEPCacheService&); -bool operator!=(const IAEPCacheService&, const IAEPCacheService&); -bool operator<(const IAEPCacheService&, const IAEPCacheService&); -bool operator<=(const IAEPCacheService&, const IAEPCacheService&); -bool operator>(const IAEPCacheService&, const IAEPCacheService&); -bool operator>=(const IAEPCacheService&, const IAEPCacheService&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::IAEPCacheService*); -void decRef(::AliIM::IAEPCacheService*); - -void incRef(::IceProxy::AliIM::IAEPCacheService*); -void decRef(::IceProxy::AliIM::IAEPCacheService*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::IAEPCacheService> IAEPCacheServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::IAEPCacheService> IAEPCacheServicePrx; - -void __write(::IceInternal::BasicStream*, const IAEPCacheServicePrx&); -void __read(::IceInternal::BasicStream*, IAEPCacheServicePrx&); -void __write(::IceInternal::BasicStream*, const IAEPCacheServicePtr&); -void __patch__IAEPCacheServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IAEPCacheServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IAEPCacheServicePtr&); -void __decRefUnsafe(const IAEPCacheServicePtr&); -void __clearHandleUnsafe(IAEPCacheServicePtr&); - -} - -namespace AliIM -{ - -struct SWanghaoInfoIce -{ - ::std::string uuid; - ::std::string whid; - ::std::string longuid; - ::std::string md5pw; - ::std::string imtoken; - ::Ice::Byte status; - - bool operator==(const SWanghaoInfoIce&) const; - bool operator!=(const SWanghaoInfoIce&) const; - bool operator<(const SWanghaoInfoIce&) const; - bool operator<=(const SWanghaoInfoIce& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SWanghaoInfoIce& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SWanghaoInfoIce& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class IAEPCacheService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int getWanghaoInfo(::Ice::Int idtype, const ::std::string& id, ::AliIM::SWanghaoInfoIce& info) - { - return getWanghaoInfo(idtype, id, info, 0); - } - ::Ice::Int getWanghaoInfo(::Ice::Int idtype, const ::std::string& id, ::AliIM::SWanghaoInfoIce& info, const ::Ice::Context& __ctx) - { - return getWanghaoInfo(idtype, id, info, &__ctx); - } - -private: - - ::Ice::Int getWanghaoInfo(::Ice::Int, const ::std::string&, ::AliIM::SWanghaoInfoIce&, const ::Ice::Context*); - -public: - - ::Ice::Int getBindlist(::Ice::Int idtype, const ::std::string& id, ::Ice::StringSeq& bindids) - { - return getBindlist(idtype, id, bindids, 0); - } - ::Ice::Int getBindlist(::Ice::Int idtype, const ::std::string& id, ::Ice::StringSeq& bindids, const ::Ice::Context& __ctx) - { - return getBindlist(idtype, id, bindids, &__ctx); - } - -private: - - ::Ice::Int getBindlist(::Ice::Int, const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int addWanghao(const ::AliIM::SWanghaoInfoIce& info) - { - return addWanghao(info, 0); - } - ::Ice::Int addWanghao(const ::AliIM::SWanghaoInfoIce& info, const ::Ice::Context& __ctx) - { - return addWanghao(info, &__ctx); - } - -private: - - ::Ice::Int addWanghao(const ::AliIM::SWanghaoInfoIce&, const ::Ice::Context*); - -public: - - ::Ice::Int setWanghaoStatus(::Ice::Int idtype, const ::std::string& id, ::Ice::Int status) - { - return setWanghaoStatus(idtype, id, status, 0); - } - ::Ice::Int setWanghaoStatus(::Ice::Int idtype, const ::std::string& id, ::Ice::Int status, const ::Ice::Context& __ctx) - { - return setWanghaoStatus(idtype, id, status, &__ctx); - } - -private: - - ::Ice::Int setWanghaoStatus(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int setBindlist(::Ice::Int idtype, const ::std::string& id, const ::Ice::StringSeq& bindids) - { - return setBindlist(idtype, id, bindids, 0); - } - ::Ice::Int setBindlist(::Ice::Int idtype, const ::std::string& id, const ::Ice::StringSeq& bindids, const ::Ice::Context& __ctx) - { - return setBindlist(idtype, id, bindids, &__ctx); - } - -private: - - ::Ice::Int setBindlist(::Ice::Int, const ::std::string&, const ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int addBindId(::Ice::Int idtype, const ::std::string& id, const ::std::string& weblongid) - { - return addBindId(idtype, id, weblongid, 0); - } - ::Ice::Int addBindId(::Ice::Int idtype, const ::std::string& id, const ::std::string& weblongid, const ::Ice::Context& __ctx) - { - return addBindId(idtype, id, weblongid, &__ctx); - } - -private: - - ::Ice::Int addBindId(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int delBindId(::Ice::Int idtype, const ::std::string& id, const ::std::string& weblongid) - { - return delBindId(idtype, id, weblongid, 0); - } - ::Ice::Int delBindId(::Ice::Int idtype, const ::std::string& id, const ::std::string& weblongid, const ::Ice::Context& __ctx) - { - return delBindId(idtype, id, weblongid, &__ctx); - } - -private: - - ::Ice::Int delBindId(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int removeCache(::Ice::Int idtype, const ::std::string& id) - { - return removeCache(idtype, id, 0); - } - ::Ice::Int removeCache(::Ice::Int idtype, const ::std::string& id, const ::Ice::Context& __ctx) - { - return removeCache(idtype, id, &__ctx); - } - -private: - - ::Ice::Int removeCache(::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int changeWanghaoPw(::Ice::Int idtype, const ::std::string& id, const ::std::string& newmd5pw) - { - return changeWanghaoPw(idtype, id, newmd5pw, 0); - } - ::Ice::Int changeWanghaoPw(::Ice::Int idtype, const ::std::string& id, const ::std::string& newmd5pw, const ::Ice::Context& __ctx) - { - return changeWanghaoPw(idtype, id, newmd5pw, &__ctx); - } - -private: - - ::Ice::Int changeWanghaoPw(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class IAEPCacheService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int getWanghaoInfo(::Ice::Int, const ::std::string&, ::AliIM::SWanghaoInfoIce&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getBindlist(::Ice::Int, const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int addWanghao(const ::AliIM::SWanghaoInfoIce&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setWanghaoStatus(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setBindlist(::Ice::Int, const ::std::string&, const ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int addBindId(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int delBindId(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int removeCache(::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int changeWanghaoPw(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class IAEPCacheService : virtual public ::IceDelegate::AliIM::IAEPCacheService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int getWanghaoInfo(::Ice::Int, const ::std::string&, ::AliIM::SWanghaoInfoIce&, const ::Ice::Context*); - - virtual ::Ice::Int getBindlist(::Ice::Int, const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int addWanghao(const ::AliIM::SWanghaoInfoIce&, const ::Ice::Context*); - - virtual ::Ice::Int setWanghaoStatus(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int setBindlist(::Ice::Int, const ::std::string&, const ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int addBindId(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int delBindId(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int removeCache(::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int changeWanghaoPw(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class IAEPCacheService : virtual public ::IceDelegate::AliIM::IAEPCacheService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int getWanghaoInfo(::Ice::Int, const ::std::string&, ::AliIM::SWanghaoInfoIce&, const ::Ice::Context*); - - virtual ::Ice::Int getBindlist(::Ice::Int, const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int addWanghao(const ::AliIM::SWanghaoInfoIce&, const ::Ice::Context*); - - virtual ::Ice::Int setWanghaoStatus(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int setBindlist(::Ice::Int, const ::std::string&, const ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int addBindId(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int delBindId(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int removeCache(::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int changeWanghaoPw(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class IAEPCacheService : virtual public ::Ice::Object -{ -public: - - typedef IAEPCacheServicePrx ProxyType; - typedef IAEPCacheServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int getWanghaoInfo(::Ice::Int, const ::std::string&, ::AliIM::SWanghaoInfoIce&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getWanghaoInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getBindlist(::Ice::Int, const ::std::string&, ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getBindlist(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int addWanghao(const ::AliIM::SWanghaoInfoIce&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addWanghao(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setWanghaoStatus(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setWanghaoStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setBindlist(::Ice::Int, const ::std::string&, const ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setBindlist(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int addBindId(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addBindId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int delBindId(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___delBindId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int removeCache(::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___removeCache(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int changeWanghaoPw(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___changeWanghaoPw(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IAEPCacheServicePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/aepdbsadapter.h b/features/aliww/include/aepdbsadapter.h deleted file mode 100644 index 5b7b8ca..0000000 --- a/features/aliww/include/aepdbsadapter.h +++ /dev/null @@ -1,642 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aepdbsadapter.ice' - -#ifndef __aepdbsadapter_h__ -#define __aepdbsadapter_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIMInterface -{ - -class IAEPDBSAdapter; -bool operator==(const IAEPDBSAdapter&, const IAEPDBSAdapter&); -bool operator!=(const IAEPDBSAdapter&, const IAEPDBSAdapter&); -bool operator<(const IAEPDBSAdapter&, const IAEPDBSAdapter&); -bool operator<=(const IAEPDBSAdapter&, const IAEPDBSAdapter&); -bool operator>(const IAEPDBSAdapter&, const IAEPDBSAdapter&); -bool operator>=(const IAEPDBSAdapter&, const IAEPDBSAdapter&); - -} - -} - -namespace AliIMInterface -{ - -class IAEPDBSAdapter; -bool operator==(const IAEPDBSAdapter&, const IAEPDBSAdapter&); -bool operator!=(const IAEPDBSAdapter&, const IAEPDBSAdapter&); -bool operator<(const IAEPDBSAdapter&, const IAEPDBSAdapter&); -bool operator<=(const IAEPDBSAdapter&, const IAEPDBSAdapter&); -bool operator>(const IAEPDBSAdapter&, const IAEPDBSAdapter&); -bool operator>=(const IAEPDBSAdapter&, const IAEPDBSAdapter&); - -} - -namespace IceInternal -{ - -void incRef(::AliIMInterface::IAEPDBSAdapter*); -void decRef(::AliIMInterface::IAEPDBSAdapter*); - -void incRef(::IceProxy::AliIMInterface::IAEPDBSAdapter*); -void decRef(::IceProxy::AliIMInterface::IAEPDBSAdapter*); - -} - -namespace AliIMInterface -{ - -typedef ::IceInternal::Handle< ::AliIMInterface::IAEPDBSAdapter> IAEPDBSAdapterPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIMInterface::IAEPDBSAdapter> IAEPDBSAdapterPrx; - -void __write(::IceInternal::BasicStream*, const IAEPDBSAdapterPrx&); -void __read(::IceInternal::BasicStream*, IAEPDBSAdapterPrx&); -void __write(::IceInternal::BasicStream*, const IAEPDBSAdapterPtr&); -void __patch__IAEPDBSAdapterPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IAEPDBSAdapterPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IAEPDBSAdapterPtr&); -void __decRefUnsafe(const IAEPDBSAdapterPtr&); -void __clearHandleUnsafe(IAEPDBSAdapterPtr&); - -} - -namespace AliIMInterface -{ - -struct SWanghaoIMBind -{ - ::std::string uuid; - ::std::string whid; - ::std::string longuid; - ::std::string whmd5pw; - ::Ice::Int status; - ::std::string pwtoken; - - bool operator==(const SWanghaoIMBind&) const; - bool operator!=(const SWanghaoIMBind&) const; - bool operator<(const SWanghaoIMBind&) const; - bool operator<=(const SWanghaoIMBind& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SWanghaoIMBind& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SWanghaoIMBind& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -} - -namespace IceProxy -{ - -namespace AliIMInterface -{ - -class IAEPDBSAdapter : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int getBindedWebIdList(const ::Ice::StringSeq& uuid, ::AliIMInterface::SWanghaoWebBindIdSeq& webids) - { - return getBindedWebIdList(uuid, webids, 0); - } - ::Ice::Int getBindedWebIdList(const ::Ice::StringSeq& uuid, ::AliIMInterface::SWanghaoWebBindIdSeq& webids, const ::Ice::Context& __ctx) - { - return getBindedWebIdList(uuid, webids, &__ctx); - } - -private: - - ::Ice::Int getBindedWebIdList(const ::Ice::StringSeq&, ::AliIMInterface::SWanghaoWebBindIdSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getBindedWebId(const ::std::string& uuid, ::AliIMInterface::SWebBindIdSeq& webids) - { - return getBindedWebId(uuid, webids, 0); - } - ::Ice::Int getBindedWebId(const ::std::string& uuid, ::AliIMInterface::SWebBindIdSeq& webids, const ::Ice::Context& __ctx) - { - return getBindedWebId(uuid, webids, &__ctx); - } - -private: - - ::Ice::Int getBindedWebId(const ::std::string&, ::AliIMInterface::SWebBindIdSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int createWanghaoWebid(const ::std::string& uuid, const ::std::string& longuid) - { - return createWanghaoWebid(uuid, longuid, 0); - } - ::Ice::Int createWanghaoWebid(const ::std::string& uuid, const ::std::string& longuid, const ::Ice::Context& __ctx) - { - return createWanghaoWebid(uuid, longuid, &__ctx); - } - -private: - - ::Ice::Int createWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int deleteWanghaoWebid(const ::std::string& uuid, const ::std::string& longuid) - { - return deleteWanghaoWebid(uuid, longuid, 0); - } - ::Ice::Int deleteWanghaoWebid(const ::std::string& uuid, const ::std::string& longuid, const ::Ice::Context& __ctx) - { - return deleteWanghaoWebid(uuid, longuid, &__ctx); - } - -private: - - ::Ice::Int deleteWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int updateWanghaoLastLogintime(const ::std::string& uuid) - { - return updateWanghaoLastLogintime(uuid, 0); - } - ::Ice::Int updateWanghaoLastLogintime(const ::std::string& uuid, const ::Ice::Context& __ctx) - { - return updateWanghaoLastLogintime(uuid, &__ctx); - } - -private: - - ::Ice::Int updateWanghaoLastLogintime(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int changeWanghaoPw(const ::std::string& uuid, const ::std::string& newmd5pw, const ::std::string& imtoken) - { - return changeWanghaoPw(uuid, newmd5pw, imtoken, 0); - } - ::Ice::Int changeWanghaoPw(const ::std::string& uuid, const ::std::string& newmd5pw, const ::std::string& imtoken, const ::Ice::Context& __ctx) - { - return changeWanghaoPw(uuid, newmd5pw, imtoken, &__ctx); - } - -private: - - ::Ice::Int changeWanghaoPw(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int isChangableWanghao(const ::std::string& uuid) - { - return isChangableWanghao(uuid, 0); - } - ::Ice::Int isChangableWanghao(const ::std::string& uuid, const ::Ice::Context& __ctx) - { - return isChangableWanghao(uuid, &__ctx); - } - -private: - - ::Ice::Int isChangableWanghao(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int updateChangableWanghao(const ::std::string& uuid, bool bChangable) - { - return updateChangableWanghao(uuid, bChangable, 0); - } - ::Ice::Int updateChangableWanghao(const ::std::string& uuid, bool bChangable, const ::Ice::Context& __ctx) - { - return updateChangableWanghao(uuid, bChangable, &__ctx); - } - -private: - - ::Ice::Int updateChangableWanghao(const ::std::string&, bool, const ::Ice::Context*); - -public: - - ::Ice::Int registerWanghao(const ::std::string& newwhid, const ::std::string& longuid, const ::std::string& md5pw, const ::std::string& imtoken, const ::AliIMInterface::KVMAP& attrs, ::std::string& uuid) - { - return registerWanghao(newwhid, longuid, md5pw, imtoken, attrs, uuid, 0); - } - ::Ice::Int registerWanghao(const ::std::string& newwhid, const ::std::string& longuid, const ::std::string& md5pw, const ::std::string& imtoken, const ::AliIMInterface::KVMAP& attrs, ::std::string& uuid, const ::Ice::Context& __ctx) - { - return registerWanghao(newwhid, longuid, md5pw, imtoken, attrs, uuid, &__ctx); - } - -private: - - ::Ice::Int registerWanghao(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::AliIMInterface::KVMAP&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int prohibitWanghao(const ::std::string& optor, const ::std::string& whid) - { - return prohibitWanghao(optor, whid, 0); - } - ::Ice::Int prohibitWanghao(const ::std::string& optor, const ::std::string& whid, const ::Ice::Context& __ctx) - { - return prohibitWanghao(optor, whid, &__ctx); - } - -private: - - ::Ice::Int prohibitWanghao(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getWanghaoIMBind(const ::std::string& id, ::Ice::Int idtype, ::AliIMInterface::SWanghaoIMBind& whimbind) - { - return getWanghaoIMBind(id, idtype, whimbind, 0); - } - ::Ice::Int getWanghaoIMBind(const ::std::string& id, ::Ice::Int idtype, ::AliIMInterface::SWanghaoIMBind& whimbind, const ::Ice::Context& __ctx) - { - return getWanghaoIMBind(id, idtype, whimbind, &__ctx); - } - -private: - - ::Ice::Int getWanghaoIMBind(const ::std::string&, ::Ice::Int, ::AliIMInterface::SWanghaoIMBind&, const ::Ice::Context*); - -public: - - ::Ice::Int updateUserNameByUuid(const ::std::string& uuid, const ::std::string& username) - { - return updateUserNameByUuid(uuid, username, 0); - } - ::Ice::Int updateUserNameByUuid(const ::std::string& uuid, const ::std::string& username, const ::Ice::Context& __ctx) - { - return updateUserNameByUuid(uuid, username, &__ctx); - } - -private: - - ::Ice::Int updateUserNameByUuid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int updateWanghaoToken(const ::std::string& whid, const ::std::string& token) - { - return updateWanghaoToken(whid, token, 0); - } - ::Ice::Int updateWanghaoToken(const ::std::string& whid, const ::std::string& token, const ::Ice::Context& __ctx) - { - return updateWanghaoToken(whid, token, &__ctx); - } - -private: - - ::Ice::Int updateWanghaoToken(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int createWWWanghaoWebid(const ::std::string& whid, const ::std::string& longuid) - { - return createWWWanghaoWebid(whid, longuid, 0); - } - ::Ice::Int createWWWanghaoWebid(const ::std::string& whid, const ::std::string& longuid, const ::Ice::Context& __ctx) - { - return createWWWanghaoWebid(whid, longuid, &__ctx); - } - -private: - - ::Ice::Int createWWWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int deleteWWWanghaoWebid(const ::std::string& whid, const ::std::string& longuid) - { - return deleteWWWanghaoWebid(whid, longuid, 0); - } - ::Ice::Int deleteWWWanghaoWebid(const ::std::string& whid, const ::std::string& longuid, const ::Ice::Context& __ctx) - { - return deleteWWWanghaoWebid(whid, longuid, &__ctx); - } - -private: - - ::Ice::Int deleteWWWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getUUIDWanghaoByWebid(const ::std::string& luid, ::std::string& uuid, ::std::string& whid) - { - return getUUIDWanghaoByWebid(luid, uuid, whid, 0); - } - ::Ice::Int getUUIDWanghaoByWebid(const ::std::string& luid, ::std::string& uuid, ::std::string& whid, const ::Ice::Context& __ctx) - { - return getUUIDWanghaoByWebid(luid, uuid, whid, &__ctx); - } - -private: - - ::Ice::Int getUUIDWanghaoByWebid(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int changeIMLongid(::Ice::Int idtype, const ::std::string& id, const ::std::string& newlongid, ::std::string& retswitcheduuid, ::std::string& retoldlongid) - { - return changeIMLongid(idtype, id, newlongid, retswitcheduuid, retoldlongid, 0); - } - ::Ice::Int changeIMLongid(::Ice::Int idtype, const ::std::string& id, const ::std::string& newlongid, ::std::string& retswitcheduuid, ::std::string& retoldlongid, const ::Ice::Context& __ctx) - { - return changeIMLongid(idtype, id, newlongid, retswitcheduuid, retoldlongid, &__ctx); - } - -private: - - ::Ice::Int changeIMLongid(::Ice::Int, const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIMInterface -{ - -class IAEPDBSAdapter : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int getBindedWebIdList(const ::Ice::StringSeq&, ::AliIMInterface::SWanghaoWebBindIdSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getBindedWebId(const ::std::string&, ::AliIMInterface::SWebBindIdSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int createWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int deleteWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateWanghaoLastLogintime(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int changeWanghaoPw(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int isChangableWanghao(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateChangableWanghao(const ::std::string&, bool, const ::Ice::Context*) = 0; - - virtual ::Ice::Int registerWanghao(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::AliIMInterface::KVMAP&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int prohibitWanghao(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getWanghaoIMBind(const ::std::string&, ::Ice::Int, ::AliIMInterface::SWanghaoIMBind&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateUserNameByUuid(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateWanghaoToken(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int createWWWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int deleteWWWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUUIDWanghaoByWebid(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int changeIMLongid(::Ice::Int, const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIMInterface -{ - -class IAEPDBSAdapter : virtual public ::IceDelegate::AliIMInterface::IAEPDBSAdapter, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int getBindedWebIdList(const ::Ice::StringSeq&, ::AliIMInterface::SWanghaoWebBindIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getBindedWebId(const ::std::string&, ::AliIMInterface::SWebBindIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int createWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int deleteWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateWanghaoLastLogintime(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int changeWanghaoPw(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int isChangableWanghao(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateChangableWanghao(const ::std::string&, bool, const ::Ice::Context*); - - virtual ::Ice::Int registerWanghao(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::AliIMInterface::KVMAP&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int prohibitWanghao(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getWanghaoIMBind(const ::std::string&, ::Ice::Int, ::AliIMInterface::SWanghaoIMBind&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserNameByUuid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateWanghaoToken(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int createWWWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int deleteWWWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getUUIDWanghaoByWebid(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int changeIMLongid(::Ice::Int, const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIMInterface -{ - -class IAEPDBSAdapter : virtual public ::IceDelegate::AliIMInterface::IAEPDBSAdapter, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int getBindedWebIdList(const ::Ice::StringSeq&, ::AliIMInterface::SWanghaoWebBindIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getBindedWebId(const ::std::string&, ::AliIMInterface::SWebBindIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int createWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int deleteWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateWanghaoLastLogintime(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int changeWanghaoPw(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int isChangableWanghao(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateChangableWanghao(const ::std::string&, bool, const ::Ice::Context*); - - virtual ::Ice::Int registerWanghao(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::AliIMInterface::KVMAP&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int prohibitWanghao(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getWanghaoIMBind(const ::std::string&, ::Ice::Int, ::AliIMInterface::SWanghaoIMBind&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserNameByUuid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateWanghaoToken(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int createWWWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int deleteWWWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getUUIDWanghaoByWebid(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int changeIMLongid(::Ice::Int, const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIMInterface -{ - -class IAEPDBSAdapter : virtual public ::Ice::Object -{ -public: - - typedef IAEPDBSAdapterPrx ProxyType; - typedef IAEPDBSAdapterPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int getBindedWebIdList(const ::Ice::StringSeq&, ::AliIMInterface::SWanghaoWebBindIdSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getBindedWebIdList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getBindedWebId(const ::std::string&, ::AliIMInterface::SWebBindIdSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getBindedWebId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int createWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___createWanghaoWebid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int deleteWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___deleteWanghaoWebid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateWanghaoLastLogintime(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateWanghaoLastLogintime(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int changeWanghaoPw(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___changeWanghaoPw(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int isChangableWanghao(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___isChangableWanghao(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateChangableWanghao(const ::std::string&, bool, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateChangableWanghao(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int registerWanghao(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::AliIMInterface::KVMAP&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___registerWanghao(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int prohibitWanghao(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___prohibitWanghao(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getWanghaoIMBind(const ::std::string&, ::Ice::Int, ::AliIMInterface::SWanghaoIMBind&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getWanghaoIMBind(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateUserNameByUuid(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateUserNameByUuid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateWanghaoToken(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateWanghaoToken(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int createWWWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___createWWWanghaoWebid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int deleteWWWanghaoWebid(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___deleteWWWanghaoWebid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUUIDWanghaoByWebid(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUUIDWanghaoByWebid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int changeIMLongid(::Ice::Int, const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___changeIMLongid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IAEPDBSAdapterPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/aliuidpsserv.h b/features/aliww/include/aliuidpsserv.h deleted file mode 100644 index ec6b2e0..0000000 --- a/features/aliww/include/aliuidpsserv.h +++ /dev/null @@ -1,1182 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aliuidpsserv.ice' - -#ifndef __aliuidpsserv_h__ -#define __aliuidpsserv_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliUID -{ - -class IAliUidPsMgr; -bool operator==(const IAliUidPsMgr&, const IAliUidPsMgr&); -bool operator!=(const IAliUidPsMgr&, const IAliUidPsMgr&); -bool operator<(const IAliUidPsMgr&, const IAliUidPsMgr&); -bool operator<=(const IAliUidPsMgr&, const IAliUidPsMgr&); -bool operator>(const IAliUidPsMgr&, const IAliUidPsMgr&); -bool operator>=(const IAliUidPsMgr&, const IAliUidPsMgr&); - -} - -} - -namespace AliUID -{ - -class IAliUidPsMgr; -bool operator==(const IAliUidPsMgr&, const IAliUidPsMgr&); -bool operator!=(const IAliUidPsMgr&, const IAliUidPsMgr&); -bool operator<(const IAliUidPsMgr&, const IAliUidPsMgr&); -bool operator<=(const IAliUidPsMgr&, const IAliUidPsMgr&); -bool operator>(const IAliUidPsMgr&, const IAliUidPsMgr&); -bool operator>=(const IAliUidPsMgr&, const IAliUidPsMgr&); - -} - -namespace IceInternal -{ - -void incRef(::AliUID::IAliUidPsMgr*); -void decRef(::AliUID::IAliUidPsMgr*); - -void incRef(::IceProxy::AliUID::IAliUidPsMgr*); -void decRef(::IceProxy::AliUID::IAliUidPsMgr*); - -} - -namespace AliUID -{ - -typedef ::IceInternal::Handle< ::AliUID::IAliUidPsMgr> IAliUidPsMgrPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliUID::IAliUidPsMgr> IAliUidPsMgrPrx; - -void __write(::IceInternal::BasicStream*, const IAliUidPsMgrPrx&); -void __read(::IceInternal::BasicStream*, IAliUidPsMgrPrx&); -void __write(::IceInternal::BasicStream*, const IAliUidPsMgrPtr&); -void __patch__IAliUidPsMgrPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IAliUidPsMgrPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IAliUidPsMgrPtr&); -void __decRefUnsafe(const IAliUidPsMgrPtr&); -void __clearHandleUnsafe(IAliUidPsMgrPtr&); - -} - -namespace AliUID -{ - -} - -namespace AliUID -{ - -class AMD_IAliUidPsMgr_RegisterPassport : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_RegisterPassport> AMD_IAliUidPsMgr_RegisterPassportPtr; - -class AMD_IAliUidPsMgr_AuthPassword : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Short) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_AuthPassword> AMD_IAliUidPsMgr_AuthPasswordPtr; - -class AMD_IAliUidPsMgr_AuthToken : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, ::Ice::Short) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_AuthToken> AMD_IAliUidPsMgr_AuthTokenPtr; - -class AMD_IAliUidPsMgr_GetAuidToken : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Short) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_GetAuidToken> AMD_IAliUidPsMgr_GetAuidTokenPtr; - -class AMD_IAliUidPsMgr_GetAccountInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliUID::SPassportAccount&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_GetAccountInfo> AMD_IAliUidPsMgr_GetAccountInfoPtr; - -class AMD_IAliUidPsMgr_ChangePassportLogin : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_ChangePassportLogin> AMD_IAliUidPsMgr_ChangePassportLoginPtr; - -class AMD_IAliUidPsMgr_GetProfileByPassport : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_GetProfileByPassport> AMD_IAliUidPsMgr_GetProfileByPassportPtr; - -class AMD_IAliUidPsMgr_UpdateProfileByPassport : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_UpdateProfileByPassport> AMD_IAliUidPsMgr_UpdateProfileByPassportPtr; - -class AMD_IAliUidPsMgr_SetPassportPassword : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_SetPassportPassword> AMD_IAliUidPsMgr_SetPassportPasswordPtr; - -class AMD_IAliUidPsMgr_SetPassportStatus : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_SetPassportStatus> AMD_IAliUidPsMgr_SetPassportStatusPtr; - -class AMD_IAliUidPsMgr_GetPassportStatus : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Short, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_GetPassportStatus> AMD_IAliUidPsMgr_GetPassportStatusPtr; - -class AMD_IAliUidPsMgr_GetAllService : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_GetAllService> AMD_IAliUidPsMgr_GetAllServicePtr; - -class AMD_IAliUidPsMgr_BindService : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_BindService> AMD_IAliUidPsMgr_BindServicePtr; - -class AMD_IAliUidPsMgr_UnbindService : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_UnbindService> AMD_IAliUidPsMgr_UnbindServicePtr; - -class AMD_IAliUidPsMgr_GetWebUserService : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::AliUID::SWebBindSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_GetWebUserService> AMD_IAliUidPsMgr_GetWebUserServicePtr; - -class AMD_IAliUidPsMgr_AddWebsite : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_AddWebsite> AMD_IAliUidPsMgr_AddWebsitePtr; - -class AMD_IAliUidPsMgr_DelWebsite : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_DelWebsite> AMD_IAliUidPsMgr_DelWebsitePtr; - -class AMD_IAliUidPsMgr_ChgWebsite : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_ChgWebsite> AMD_IAliUidPsMgr_ChgWebsitePtr; - -class AMD_IAliUidPsMgr_ChgWebsiteStatus : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_ChgWebsiteStatus> AMD_IAliUidPsMgr_ChgWebsiteStatusPtr; - -class AMD_IAliUidPsMgr_DoAuth : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliUID::AMD_IAliUidPsMgr_DoAuth> AMD_IAliUidPsMgr_DoAuthPtr; - -} - -namespace IceAsync -{ - -namespace AliUID -{ - -class AMD_IAliUidPsMgr_RegisterPassport : public ::AliUID::AMD_IAliUidPsMgr_RegisterPassport, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_RegisterPassport(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_AuthPassword : public ::AliUID::AMD_IAliUidPsMgr_AuthPassword, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_AuthPassword(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Short); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_AuthToken : public ::AliUID::AMD_IAliUidPsMgr_AuthToken, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_AuthToken(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, ::Ice::Short); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_GetAuidToken : public ::AliUID::AMD_IAliUidPsMgr_GetAuidToken, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_GetAuidToken(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Short); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_GetAccountInfo : public ::AliUID::AMD_IAliUidPsMgr_GetAccountInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_GetAccountInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliUID::SPassportAccount&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_ChangePassportLogin : public ::AliUID::AMD_IAliUidPsMgr_ChangePassportLogin, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_ChangePassportLogin(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_GetProfileByPassport : public ::AliUID::AMD_IAliUidPsMgr_GetProfileByPassport, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_GetProfileByPassport(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_UpdateProfileByPassport : public ::AliUID::AMD_IAliUidPsMgr_UpdateProfileByPassport, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_UpdateProfileByPassport(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_SetPassportPassword : public ::AliUID::AMD_IAliUidPsMgr_SetPassportPassword, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_SetPassportPassword(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_SetPassportStatus : public ::AliUID::AMD_IAliUidPsMgr_SetPassportStatus, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_SetPassportStatus(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_GetPassportStatus : public ::AliUID::AMD_IAliUidPsMgr_GetPassportStatus, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_GetPassportStatus(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Short, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_GetAllService : public ::AliUID::AMD_IAliUidPsMgr_GetAllService, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_GetAllService(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_BindService : public ::AliUID::AMD_IAliUidPsMgr_BindService, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_BindService(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_UnbindService : public ::AliUID::AMD_IAliUidPsMgr_UnbindService, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_UnbindService(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_GetWebUserService : public ::AliUID::AMD_IAliUidPsMgr_GetWebUserService, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_GetWebUserService(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::AliUID::SWebBindSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_AddWebsite : public ::AliUID::AMD_IAliUidPsMgr_AddWebsite, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_AddWebsite(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_DelWebsite : public ::AliUID::AMD_IAliUidPsMgr_DelWebsite, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_DelWebsite(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_ChgWebsite : public ::AliUID::AMD_IAliUidPsMgr_ChgWebsite, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_ChgWebsite(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_ChgWebsiteStatus : public ::AliUID::AMD_IAliUidPsMgr_ChgWebsiteStatus, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_ChgWebsiteStatus(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IAliUidPsMgr_DoAuth : public ::AliUID::AMD_IAliUidPsMgr_DoAuth, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IAliUidPsMgr_DoAuth(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -} - -} - -namespace IceProxy -{ - -namespace AliUID -{ - -class IAliUidPsMgr : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int RegisterPassport(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short status, ::std::string& aliuid) - { - return RegisterPassport(loginId, passwd, status, aliuid, 0); - } - ::Ice::Int RegisterPassport(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short status, ::std::string& aliuid, const ::Ice::Context& __ctx) - { - return RegisterPassport(loginId, passwd, status, aliuid, &__ctx); - } - -private: - - ::Ice::Int RegisterPassport(const ::std::string&, const ::std::string&, ::Ice::Short, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int AuthPassword(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short& userstatus) - { - return AuthPassword(loginId, passwd, userstatus, 0); - } - ::Ice::Int AuthPassword(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short& userstatus, const ::Ice::Context& __ctx) - { - return AuthPassword(loginId, passwd, userstatus, &__ctx); - } - -private: - - ::Ice::Int AuthPassword(const ::std::string&, const ::std::string&, ::Ice::Short&, const ::Ice::Context*); - -public: - - ::Ice::Int AuthToken(const ::std::string& loginId, const ::std::string& currToken, ::Ice::Long t, ::std::string& aliuid, ::Ice::Short& userstatus) - { - return AuthToken(loginId, currToken, t, aliuid, userstatus, 0); - } - ::Ice::Int AuthToken(const ::std::string& loginId, const ::std::string& currToken, ::Ice::Long t, ::std::string& aliuid, ::Ice::Short& userstatus, const ::Ice::Context& __ctx) - { - return AuthToken(loginId, currToken, t, aliuid, userstatus, &__ctx); - } - -private: - - ::Ice::Int AuthToken(const ::std::string&, const ::std::string&, ::Ice::Long, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - -public: - - ::Ice::Int GetAuidToken(const ::std::string& loginId, ::std::string& aliuid, ::std::string& auidToken, ::Ice::Short& userstatus) - { - return GetAuidToken(loginId, aliuid, auidToken, userstatus, 0); - } - ::Ice::Int GetAuidToken(const ::std::string& loginId, ::std::string& aliuid, ::std::string& auidToken, ::Ice::Short& userstatus, const ::Ice::Context& __ctx) - { - return GetAuidToken(loginId, aliuid, auidToken, userstatus, &__ctx); - } - -private: - - ::Ice::Int GetAuidToken(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - -public: - - ::Ice::Int GetAccountInfo(const ::std::string& loginId, ::AliUID::SPassportAccount& account) - { - return GetAccountInfo(loginId, account, 0); - } - ::Ice::Int GetAccountInfo(const ::std::string& loginId, ::AliUID::SPassportAccount& account, const ::Ice::Context& __ctx) - { - return GetAccountInfo(loginId, account, &__ctx); - } - -private: - - ::Ice::Int GetAccountInfo(const ::std::string&, ::AliUID::SPassportAccount&, const ::Ice::Context*); - -public: - - ::Ice::Int ChangePassportLogin(const ::std::string& loginId, const ::AliUID::SPassportAccount& account, ::Ice::Int action) - { - return ChangePassportLogin(loginId, account, action, 0); - } - ::Ice::Int ChangePassportLogin(const ::std::string& loginId, const ::AliUID::SPassportAccount& account, ::Ice::Int action, const ::Ice::Context& __ctx) - { - return ChangePassportLogin(loginId, account, action, &__ctx); - } - -private: - - ::Ice::Int ChangePassportLogin(const ::std::string&, const ::AliUID::SPassportAccount&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int GetProfileByPassport(const ::std::string& loginId, ::std::string& profile) - { - return GetProfileByPassport(loginId, profile, 0); - } - ::Ice::Int GetProfileByPassport(const ::std::string& loginId, ::std::string& profile, const ::Ice::Context& __ctx) - { - return GetProfileByPassport(loginId, profile, &__ctx); - } - -private: - - ::Ice::Int GetProfileByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateProfileByPassport(const ::std::string& loginId, const ::std::string& profile) - { - return UpdateProfileByPassport(loginId, profile, 0); - } - ::Ice::Int UpdateProfileByPassport(const ::std::string& loginId, const ::std::string& profile, const ::Ice::Context& __ctx) - { - return UpdateProfileByPassport(loginId, profile, &__ctx); - } - -private: - - ::Ice::Int UpdateProfileByPassport(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int SetPassportPassword(const ::std::string& loginId, const ::std::string& newPassword) - { - return SetPassportPassword(loginId, newPassword, 0); - } - ::Ice::Int SetPassportPassword(const ::std::string& loginId, const ::std::string& newPassword, const ::Ice::Context& __ctx) - { - return SetPassportPassword(loginId, newPassword, &__ctx); - } - -private: - - ::Ice::Int SetPassportPassword(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int SetPassportStatus(const ::std::string& loginId, ::Ice::Short userStatus, const ::std::string& userData) - { - return SetPassportStatus(loginId, userStatus, userData, 0); - } - ::Ice::Int SetPassportStatus(const ::std::string& loginId, ::Ice::Short userStatus, const ::std::string& userData, const ::Ice::Context& __ctx) - { - return SetPassportStatus(loginId, userStatus, userData, &__ctx); - } - -private: - - ::Ice::Int SetPassportStatus(const ::std::string&, ::Ice::Short, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetPassportStatus(const ::std::string& loginId, ::Ice::Short& userStatus, ::std::string& userData) - { - return GetPassportStatus(loginId, userStatus, userData, 0); - } - ::Ice::Int GetPassportStatus(const ::std::string& loginId, ::Ice::Short& userStatus, ::std::string& userData, const ::Ice::Context& __ctx) - { - return GetPassportStatus(loginId, userStatus, userData, &__ctx); - } - -private: - - ::Ice::Int GetPassportStatus(const ::std::string&, ::Ice::Short&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetAllService(::std::string& services) - { - return GetAllService(services, 0); - } - ::Ice::Int GetAllService(::std::string& services, const ::Ice::Context& __ctx) - { - return GetAllService(services, &__ctx); - } - -private: - - ::Ice::Int GetAllService(::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int BindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t) - { - return BindService(serviceId, webId, webUid, aliuid, currToken, t, 0); - } - ::Ice::Int BindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t, const ::Ice::Context& __ctx) - { - return BindService(serviceId, webId, webUid, aliuid, currToken, t, &__ctx); - } - -private: - - ::Ice::Int BindService(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long, const ::Ice::Context*); - -public: - - ::Ice::Int UnbindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& bindService, const ::std::string& loginId) - { - return UnbindService(serviceId, webId, webUid, bindService, loginId, 0); - } - ::Ice::Int UnbindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& bindService, const ::std::string& loginId, const ::Ice::Context& __ctx) - { - return UnbindService(serviceId, webId, webUid, bindService, loginId, &__ctx); - } - -private: - - ::Ice::Int UnbindService(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetWebUserService(const ::std::string& serviceId, const ::std::string& loginId, ::std::string& aliuid, ::std::string& token, ::AliUID::SWebBindSeq& webBinds) - { - return GetWebUserService(serviceId, loginId, aliuid, token, webBinds, 0); - } - ::Ice::Int GetWebUserService(const ::std::string& serviceId, const ::std::string& loginId, ::std::string& aliuid, ::std::string& token, ::AliUID::SWebBindSeq& webBinds, const ::Ice::Context& __ctx) - { - return GetWebUserService(serviceId, loginId, aliuid, token, webBinds, &__ctx); - } - -private: - - ::Ice::Int GetWebUserService(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::AliUID::SWebBindSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::AliUID::SUrlInfoSeq& webUrl) - { - return AddWebsite(serviceId, webId, name, webUrl, 0); - } - ::Ice::Int AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::AliUID::SUrlInfoSeq& webUrl, const ::Ice::Context& __ctx) - { - return AddWebsite(serviceId, webId, name, webUrl, &__ctx); - } - -private: - - ::Ice::Int AddWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::AliUID::SUrlInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DelWebsite(const ::std::string& serviceId, const ::std::string& webId) - { - return DelWebsite(serviceId, webId, 0); - } - ::Ice::Int DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context& __ctx) - { - return DelWebsite(serviceId, webId, &__ctx); - } - -private: - - ::Ice::Int DelWebsite(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::AliUID::SUrlInfoSeq& webUrl) - { - return ChgWebsite(serviceId, webId, name, webUrl, 0); - } - ::Ice::Int ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::AliUID::SUrlInfoSeq& webUrl, const ::Ice::Context& __ctx) - { - return ChgWebsite(serviceId, webId, name, webUrl, &__ctx); - } - -private: - - ::Ice::Int ChgWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::AliUID::SUrlInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status) - { - return ChgWebsiteStatus(serviceId, webId, status, 0); - } - ::Ice::Int ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context& __ctx) - { - return ChgWebsiteStatus(serviceId, webId, status, &__ctx); - } - -private: - - ::Ice::Int ChgWebsiteStatus(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DoAuth(const ::std::string& serviceId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, ::Ice::Int mode, ::std::string& buid) - { - return DoAuth(serviceId, aliuid, token, t, mode, buid, 0); - } - ::Ice::Int DoAuth(const ::std::string& serviceId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, ::Ice::Int mode, ::std::string& buid, const ::Ice::Context& __ctx) - { - return DoAuth(serviceId, aliuid, token, t, mode, buid, &__ctx); - } - -private: - - ::Ice::Int DoAuth(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliUID -{ - -class IAliUidPsMgr : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int RegisterPassport(const ::std::string&, const ::std::string&, ::Ice::Short, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AuthPassword(const ::std::string&, const ::std::string&, ::Ice::Short&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AuthToken(const ::std::string&, const ::std::string&, ::Ice::Long, ::std::string&, ::Ice::Short&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAuidToken(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAccountInfo(const ::std::string&, ::AliUID::SPassportAccount&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ChangePassportLogin(const ::std::string&, const ::AliUID::SPassportAccount&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetProfileByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateProfileByPassport(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int SetPassportPassword(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int SetPassportStatus(const ::std::string&, ::Ice::Short, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetPassportStatus(const ::std::string&, ::Ice::Short&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAllService(::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int BindService(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UnbindService(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetWebUserService(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::AliUID::SWebBindSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::AliUID::SUrlInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelWebsite(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ChgWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::AliUID::SUrlInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ChgWebsiteStatus(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DoAuth(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliUID -{ - -class IAliUidPsMgr : virtual public ::IceDelegate::AliUID::IAliUidPsMgr, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int RegisterPassport(const ::std::string&, const ::std::string&, ::Ice::Short, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AuthPassword(const ::std::string&, const ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int AuthToken(const ::std::string&, const ::std::string&, ::Ice::Long, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int GetAuidToken(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int GetAccountInfo(const ::std::string&, ::AliUID::SPassportAccount&, const ::Ice::Context*); - - virtual ::Ice::Int ChangePassportLogin(const ::std::string&, const ::AliUID::SPassportAccount&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetProfileByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateProfileByPassport(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int SetPassportPassword(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int SetPassportStatus(const ::std::string&, ::Ice::Short, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetPassportStatus(const ::std::string&, ::Ice::Short&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllService(::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int BindService(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int UnbindService(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetWebUserService(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::AliUID::SWebBindSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::AliUID::SUrlInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DelWebsite(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ChgWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::AliUID::SUrlInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int ChgWebsiteStatus(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DoAuth(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliUID -{ - -class IAliUidPsMgr : virtual public ::IceDelegate::AliUID::IAliUidPsMgr, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int RegisterPassport(const ::std::string&, const ::std::string&, ::Ice::Short, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AuthPassword(const ::std::string&, const ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int AuthToken(const ::std::string&, const ::std::string&, ::Ice::Long, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int GetAuidToken(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int GetAccountInfo(const ::std::string&, ::AliUID::SPassportAccount&, const ::Ice::Context*); - - virtual ::Ice::Int ChangePassportLogin(const ::std::string&, const ::AliUID::SPassportAccount&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetProfileByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateProfileByPassport(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int SetPassportPassword(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int SetPassportStatus(const ::std::string&, ::Ice::Short, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetPassportStatus(const ::std::string&, ::Ice::Short&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllService(::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int BindService(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int UnbindService(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetWebUserService(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::AliUID::SWebBindSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::AliUID::SUrlInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DelWebsite(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ChgWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::AliUID::SUrlInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int ChgWebsiteStatus(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DoAuth(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace AliUID -{ - -class IAliUidPsMgr : virtual public ::Ice::Object -{ -public: - - typedef IAliUidPsMgrPrx ProxyType; - typedef IAliUidPsMgrPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual void RegisterPassport_async(const ::AliUID::AMD_IAliUidPsMgr_RegisterPassportPtr&, const ::std::string&, const ::std::string&, ::Ice::Short, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RegisterPassport(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AuthPassword_async(const ::AliUID::AMD_IAliUidPsMgr_AuthPasswordPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AuthPassword(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AuthToken_async(const ::AliUID::AMD_IAliUidPsMgr_AuthTokenPtr&, const ::std::string&, const ::std::string&, ::Ice::Long, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AuthToken(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetAuidToken_async(const ::AliUID::AMD_IAliUidPsMgr_GetAuidTokenPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAuidToken(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetAccountInfo_async(const ::AliUID::AMD_IAliUidPsMgr_GetAccountInfoPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAccountInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void ChangePassportLogin_async(const ::AliUID::AMD_IAliUidPsMgr_ChangePassportLoginPtr&, const ::std::string&, const ::AliUID::SPassportAccount&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ChangePassportLogin(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetProfileByPassport_async(const ::AliUID::AMD_IAliUidPsMgr_GetProfileByPassportPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetProfileByPassport(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateProfileByPassport_async(const ::AliUID::AMD_IAliUidPsMgr_UpdateProfileByPassportPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateProfileByPassport(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void SetPassportPassword_async(const ::AliUID::AMD_IAliUidPsMgr_SetPassportPasswordPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___SetPassportPassword(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void SetPassportStatus_async(const ::AliUID::AMD_IAliUidPsMgr_SetPassportStatusPtr&, const ::std::string&, ::Ice::Short, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___SetPassportStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetPassportStatus_async(const ::AliUID::AMD_IAliUidPsMgr_GetPassportStatusPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetPassportStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetAllService_async(const ::AliUID::AMD_IAliUidPsMgr_GetAllServicePtr&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAllService(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void BindService_async(const ::AliUID::AMD_IAliUidPsMgr_BindServicePtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___BindService(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UnbindService_async(const ::AliUID::AMD_IAliUidPsMgr_UnbindServicePtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UnbindService(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetWebUserService_async(const ::AliUID::AMD_IAliUidPsMgr_GetWebUserServicePtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetWebUserService(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddWebsite_async(const ::AliUID::AMD_IAliUidPsMgr_AddWebsitePtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::AliUID::SUrlInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddWebsite(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void DelWebsite_async(const ::AliUID::AMD_IAliUidPsMgr_DelWebsitePtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelWebsite(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void ChgWebsite_async(const ::AliUID::AMD_IAliUidPsMgr_ChgWebsitePtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::AliUID::SUrlInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ChgWebsite(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void ChgWebsiteStatus_async(const ::AliUID::AMD_IAliUidPsMgr_ChgWebsiteStatusPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ChgWebsiteStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void DoAuth_async(const ::AliUID::AMD_IAliUidPsMgr_DoAuthPtr&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DoAuth(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IAliUidPsMgrPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/aliuidpsserv_sync.h b/features/aliww/include/aliuidpsserv_sync.h deleted file mode 100644 index e247985..0000000 --- a/features/aliww/include/aliuidpsserv_sync.h +++ /dev/null @@ -1,614 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aliuidpsserv_sync.ice' - -#ifndef __aliuidpsserv_sync_h__ -#define __aliuidpsserv_sync_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliUID -{ - -class IAliUidPsMgrSync; -bool operator==(const IAliUidPsMgrSync&, const IAliUidPsMgrSync&); -bool operator!=(const IAliUidPsMgrSync&, const IAliUidPsMgrSync&); -bool operator<(const IAliUidPsMgrSync&, const IAliUidPsMgrSync&); -bool operator<=(const IAliUidPsMgrSync&, const IAliUidPsMgrSync&); -bool operator>(const IAliUidPsMgrSync&, const IAliUidPsMgrSync&); -bool operator>=(const IAliUidPsMgrSync&, const IAliUidPsMgrSync&); - -} - -} - -namespace AliUID -{ - -class IAliUidPsMgrSync; -bool operator==(const IAliUidPsMgrSync&, const IAliUidPsMgrSync&); -bool operator!=(const IAliUidPsMgrSync&, const IAliUidPsMgrSync&); -bool operator<(const IAliUidPsMgrSync&, const IAliUidPsMgrSync&); -bool operator<=(const IAliUidPsMgrSync&, const IAliUidPsMgrSync&); -bool operator>(const IAliUidPsMgrSync&, const IAliUidPsMgrSync&); -bool operator>=(const IAliUidPsMgrSync&, const IAliUidPsMgrSync&); - -} - -namespace IceInternal -{ - -void incRef(::AliUID::IAliUidPsMgrSync*); -void decRef(::AliUID::IAliUidPsMgrSync*); - -void incRef(::IceProxy::AliUID::IAliUidPsMgrSync*); -void decRef(::IceProxy::AliUID::IAliUidPsMgrSync*); - -} - -namespace AliUID -{ - -typedef ::IceInternal::Handle< ::AliUID::IAliUidPsMgrSync> IAliUidPsMgrSyncPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliUID::IAliUidPsMgrSync> IAliUidPsMgrSyncPrx; - -void __write(::IceInternal::BasicStream*, const IAliUidPsMgrSyncPrx&); -void __read(::IceInternal::BasicStream*, IAliUidPsMgrSyncPrx&); -void __write(::IceInternal::BasicStream*, const IAliUidPsMgrSyncPtr&); -void __patch__IAliUidPsMgrSyncPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IAliUidPsMgrSyncPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IAliUidPsMgrSyncPtr&); -void __decRefUnsafe(const IAliUidPsMgrSyncPtr&); -void __clearHandleUnsafe(IAliUidPsMgrSyncPtr&); - -} - -namespace AliUID -{ - -} - -namespace IceProxy -{ - -namespace AliUID -{ - -class IAliUidPsMgrSync : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int RegisterPassport(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short status, ::std::string& aliuid) - { - return RegisterPassport(loginId, passwd, status, aliuid, 0); - } - ::Ice::Int RegisterPassport(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short status, ::std::string& aliuid, const ::Ice::Context& __ctx) - { - return RegisterPassport(loginId, passwd, status, aliuid, &__ctx); - } - -private: - - ::Ice::Int RegisterPassport(const ::std::string&, const ::std::string&, ::Ice::Short, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int AuthPassword(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short& userstatus) - { - return AuthPassword(loginId, passwd, userstatus, 0); - } - ::Ice::Int AuthPassword(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short& userstatus, const ::Ice::Context& __ctx) - { - return AuthPassword(loginId, passwd, userstatus, &__ctx); - } - -private: - - ::Ice::Int AuthPassword(const ::std::string&, const ::std::string&, ::Ice::Short&, const ::Ice::Context*); - -public: - - ::Ice::Int AuthToken(const ::std::string& loginId, const ::std::string& currToken, ::Ice::Long t, ::std::string& aliuid, ::Ice::Short& userstatus) - { - return AuthToken(loginId, currToken, t, aliuid, userstatus, 0); - } - ::Ice::Int AuthToken(const ::std::string& loginId, const ::std::string& currToken, ::Ice::Long t, ::std::string& aliuid, ::Ice::Short& userstatus, const ::Ice::Context& __ctx) - { - return AuthToken(loginId, currToken, t, aliuid, userstatus, &__ctx); - } - -private: - - ::Ice::Int AuthToken(const ::std::string&, const ::std::string&, ::Ice::Long, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - -public: - - ::Ice::Int GetAuidToken(const ::std::string& loginId, ::std::string& aliuid, ::std::string& auidToken, ::Ice::Short& userstatus) - { - return GetAuidToken(loginId, aliuid, auidToken, userstatus, 0); - } - ::Ice::Int GetAuidToken(const ::std::string& loginId, ::std::string& aliuid, ::std::string& auidToken, ::Ice::Short& userstatus, const ::Ice::Context& __ctx) - { - return GetAuidToken(loginId, aliuid, auidToken, userstatus, &__ctx); - } - -private: - - ::Ice::Int GetAuidToken(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - -public: - - ::Ice::Int GetAccountInfo(const ::std::string& loginId, ::AliUID::SPassportAccount& account) - { - return GetAccountInfo(loginId, account, 0); - } - ::Ice::Int GetAccountInfo(const ::std::string& loginId, ::AliUID::SPassportAccount& account, const ::Ice::Context& __ctx) - { - return GetAccountInfo(loginId, account, &__ctx); - } - -private: - - ::Ice::Int GetAccountInfo(const ::std::string&, ::AliUID::SPassportAccount&, const ::Ice::Context*); - -public: - - ::Ice::Int ChangePassportLogin(const ::std::string& loginId, const ::AliUID::SPassportAccount& account, ::Ice::Int action) - { - return ChangePassportLogin(loginId, account, action, 0); - } - ::Ice::Int ChangePassportLogin(const ::std::string& loginId, const ::AliUID::SPassportAccount& account, ::Ice::Int action, const ::Ice::Context& __ctx) - { - return ChangePassportLogin(loginId, account, action, &__ctx); - } - -private: - - ::Ice::Int ChangePassportLogin(const ::std::string&, const ::AliUID::SPassportAccount&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int GetProfileByPassport(const ::std::string& loginId, ::std::string& profile) - { - return GetProfileByPassport(loginId, profile, 0); - } - ::Ice::Int GetProfileByPassport(const ::std::string& loginId, ::std::string& profile, const ::Ice::Context& __ctx) - { - return GetProfileByPassport(loginId, profile, &__ctx); - } - -private: - - ::Ice::Int GetProfileByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateProfileByPassport(const ::std::string& loginId, const ::std::string& profile) - { - return UpdateProfileByPassport(loginId, profile, 0); - } - ::Ice::Int UpdateProfileByPassport(const ::std::string& loginId, const ::std::string& profile, const ::Ice::Context& __ctx) - { - return UpdateProfileByPassport(loginId, profile, &__ctx); - } - -private: - - ::Ice::Int UpdateProfileByPassport(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int SetPassportPassword(const ::std::string& loginId, const ::std::string& newPassword) - { - return SetPassportPassword(loginId, newPassword, 0); - } - ::Ice::Int SetPassportPassword(const ::std::string& loginId, const ::std::string& newPassword, const ::Ice::Context& __ctx) - { - return SetPassportPassword(loginId, newPassword, &__ctx); - } - -private: - - ::Ice::Int SetPassportPassword(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int SetPassportStatus(const ::std::string& loginId, ::Ice::Short userStatus, const ::std::string& userData) - { - return SetPassportStatus(loginId, userStatus, userData, 0); - } - ::Ice::Int SetPassportStatus(const ::std::string& loginId, ::Ice::Short userStatus, const ::std::string& userData, const ::Ice::Context& __ctx) - { - return SetPassportStatus(loginId, userStatus, userData, &__ctx); - } - -private: - - ::Ice::Int SetPassportStatus(const ::std::string&, ::Ice::Short, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetPassportStatus(const ::std::string& loginId, ::Ice::Short& userStatus, ::std::string& userData) - { - return GetPassportStatus(loginId, userStatus, userData, 0); - } - ::Ice::Int GetPassportStatus(const ::std::string& loginId, ::Ice::Short& userStatus, ::std::string& userData, const ::Ice::Context& __ctx) - { - return GetPassportStatus(loginId, userStatus, userData, &__ctx); - } - -private: - - ::Ice::Int GetPassportStatus(const ::std::string&, ::Ice::Short&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetAllService(::std::string& services) - { - return GetAllService(services, 0); - } - ::Ice::Int GetAllService(::std::string& services, const ::Ice::Context& __ctx) - { - return GetAllService(services, &__ctx); - } - -private: - - ::Ice::Int GetAllService(::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetWebUserService(const ::std::string& serviceId, const ::std::string& loginId, ::std::string& aliuid, ::std::string& token, ::AliUID::SWebBindSeq& webBinds) - { - return GetWebUserService(serviceId, loginId, aliuid, token, webBinds, 0); - } - ::Ice::Int GetWebUserService(const ::std::string& serviceId, const ::std::string& loginId, ::std::string& aliuid, ::std::string& token, ::AliUID::SWebBindSeq& webBinds, const ::Ice::Context& __ctx) - { - return GetWebUserService(serviceId, loginId, aliuid, token, webBinds, &__ctx); - } - -private: - - ::Ice::Int GetWebUserService(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::AliUID::SWebBindSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::std::string& baseUrl, const ::std::string& trustUrl) - { - return AddWebsite(serviceId, webId, name, baseUrl, trustUrl, 0); - } - ::Ice::Int AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::std::string& baseUrl, const ::std::string& trustUrl, const ::Ice::Context& __ctx) - { - return AddWebsite(serviceId, webId, name, baseUrl, trustUrl, &__ctx); - } - -private: - - ::Ice::Int AddWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DelWebsite(const ::std::string& serviceId, const ::std::string& webId) - { - return DelWebsite(serviceId, webId, 0); - } - ::Ice::Int DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context& __ctx) - { - return DelWebsite(serviceId, webId, &__ctx); - } - -private: - - ::Ice::Int DelWebsite(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::std::string& baseUrl, const ::std::string& trustUrl) - { - return ChgWebsite(serviceId, webId, name, baseUrl, trustUrl, 0); - } - ::Ice::Int ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::std::string& baseUrl, const ::std::string& trustUrl, const ::Ice::Context& __ctx) - { - return ChgWebsite(serviceId, webId, name, baseUrl, trustUrl, &__ctx); - } - -private: - - ::Ice::Int ChgWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status) - { - return ChgWebsiteStatus(serviceId, webId, status, 0); - } - ::Ice::Int ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context& __ctx) - { - return ChgWebsiteStatus(serviceId, webId, status, &__ctx); - } - -private: - - ::Ice::Int ChgWebsiteStatus(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliUID -{ - -class IAliUidPsMgrSync : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int RegisterPassport(const ::std::string&, const ::std::string&, ::Ice::Short, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AuthPassword(const ::std::string&, const ::std::string&, ::Ice::Short&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AuthToken(const ::std::string&, const ::std::string&, ::Ice::Long, ::std::string&, ::Ice::Short&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAuidToken(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAccountInfo(const ::std::string&, ::AliUID::SPassportAccount&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ChangePassportLogin(const ::std::string&, const ::AliUID::SPassportAccount&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetProfileByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateProfileByPassport(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int SetPassportPassword(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int SetPassportStatus(const ::std::string&, ::Ice::Short, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetPassportStatus(const ::std::string&, ::Ice::Short&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAllService(::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetWebUserService(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::AliUID::SWebBindSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelWebsite(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ChgWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ChgWebsiteStatus(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliUID -{ - -class IAliUidPsMgrSync : virtual public ::IceDelegate::AliUID::IAliUidPsMgrSync, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int RegisterPassport(const ::std::string&, const ::std::string&, ::Ice::Short, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AuthPassword(const ::std::string&, const ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int AuthToken(const ::std::string&, const ::std::string&, ::Ice::Long, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int GetAuidToken(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int GetAccountInfo(const ::std::string&, ::AliUID::SPassportAccount&, const ::Ice::Context*); - - virtual ::Ice::Int ChangePassportLogin(const ::std::string&, const ::AliUID::SPassportAccount&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetProfileByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateProfileByPassport(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int SetPassportPassword(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int SetPassportStatus(const ::std::string&, ::Ice::Short, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetPassportStatus(const ::std::string&, ::Ice::Short&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllService(::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetWebUserService(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::AliUID::SWebBindSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DelWebsite(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ChgWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ChgWebsiteStatus(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliUID -{ - -class IAliUidPsMgrSync : virtual public ::IceDelegate::AliUID::IAliUidPsMgrSync, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int RegisterPassport(const ::std::string&, const ::std::string&, ::Ice::Short, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AuthPassword(const ::std::string&, const ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int AuthToken(const ::std::string&, const ::std::string&, ::Ice::Long, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int GetAuidToken(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int GetAccountInfo(const ::std::string&, ::AliUID::SPassportAccount&, const ::Ice::Context*); - - virtual ::Ice::Int ChangePassportLogin(const ::std::string&, const ::AliUID::SPassportAccount&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetProfileByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateProfileByPassport(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int SetPassportPassword(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int SetPassportStatus(const ::std::string&, ::Ice::Short, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetPassportStatus(const ::std::string&, ::Ice::Short&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllService(::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetWebUserService(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::AliUID::SWebBindSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DelWebsite(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ChgWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ChgWebsiteStatus(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace AliUID -{ - -class IAliUidPsMgrSync : virtual public ::Ice::Object -{ -public: - - typedef IAliUidPsMgrSyncPrx ProxyType; - typedef IAliUidPsMgrSyncPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int RegisterPassport(const ::std::string&, const ::std::string&, ::Ice::Short, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RegisterPassport(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AuthPassword(const ::std::string&, const ::std::string&, ::Ice::Short&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AuthPassword(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AuthToken(const ::std::string&, const ::std::string&, ::Ice::Long, ::std::string&, ::Ice::Short&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AuthToken(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetAuidToken(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAuidToken(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetAccountInfo(const ::std::string&, ::AliUID::SPassportAccount&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAccountInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int ChangePassportLogin(const ::std::string&, const ::AliUID::SPassportAccount&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ChangePassportLogin(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetProfileByPassport(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetProfileByPassport(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateProfileByPassport(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateProfileByPassport(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int SetPassportPassword(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___SetPassportPassword(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int SetPassportStatus(const ::std::string&, ::Ice::Short, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___SetPassportStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetPassportStatus(const ::std::string&, ::Ice::Short&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetPassportStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetAllService(::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAllService(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetWebUserService(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::AliUID::SWebBindSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetWebUserService(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddWebsite(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DelWebsite(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelWebsite(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int ChgWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ChgWebsite(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int ChgWebsiteStatus(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ChgWebsiteStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IAliUidPsMgrSyncPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/aliuidstruct.h b/features/aliww/include/aliuidstruct.h deleted file mode 100644 index 941ef0b..0000000 --- a/features/aliww/include/aliuidstruct.h +++ /dev/null @@ -1,199 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aliuidstruct.ice' - -#ifndef __aliuidstruct_h__ -#define __aliuidstruct_h__ - -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace AliUID -{ - -struct SMobileUserInfo -{ - ::std::string aliuid; - ::std::string mobileNo; - ::std::string mkey1; - ::std::string mkey2; - ::std::string clientKey; - ::std::string wkey1; - ::std::string wkey2; - ::std::string token; - ::Ice::StringSeq authServices; - - bool operator==(const SMobileUserInfo&) const; - bool operator!=(const SMobileUserInfo&) const; - bool operator<(const SMobileUserInfo&) const; - bool operator<=(const SMobileUserInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SMobileUserInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SMobileUserInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SServiceUser -{ - ::std::string serviceId; - ::std::string buid; - ::std::string buToken; - ::Ice::Short status; - - bool operator==(const SServiceUser&) const; - bool operator!=(const SServiceUser&) const; - bool operator<(const SServiceUser&) const; - bool operator<=(const SServiceUser& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SServiceUser& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SServiceUser& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliUID::SServiceUser> SServiceUserSeq; - -class __U__SServiceUserSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliUID::SServiceUser*, const ::AliUID::SServiceUser*, __U__SServiceUserSeq); -void __read(::IceInternal::BasicStream*, SServiceUserSeq&, __U__SServiceUserSeq); - -struct SPassportAccount -{ - ::std::string aliuid; - ::std::string email; - ::std::string mobile; - ::AliUID::SServiceUserSeq buids; - - bool operator==(const SPassportAccount&) const; - bool operator!=(const SPassportAccount&) const; - bool operator<(const SPassportAccount&) const; - bool operator<=(const SPassportAccount& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SPassportAccount& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SPassportAccount& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SUrlInfo -{ - ::std::string baseUrl; - ::std::string trustUrl; - - bool operator==(const SUrlInfo&) const; - bool operator!=(const SUrlInfo&) const; - bool operator<(const SUrlInfo&) const; - bool operator<=(const SUrlInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SUrlInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SUrlInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliUID::SUrlInfo> SUrlInfoSeq; - -class __U__SUrlInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliUID::SUrlInfo*, const ::AliUID::SUrlInfo*, __U__SUrlInfoSeq); -void __read(::IceInternal::BasicStream*, SUrlInfoSeq&, __U__SUrlInfoSeq); - -struct SWebBind -{ - ::std::string serviceId; - ::std::string siteId; - ::std::string webId; - ::std::string webUid; - ::Ice::StringSeq webUrl; - - bool operator==(const SWebBind&) const; - bool operator!=(const SWebBind&) const; - bool operator<(const SWebBind&) const; - bool operator<=(const SWebBind& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SWebBind& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SWebBind& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliUID::SWebBind> SWebBindSeq; - -class __U__SWebBindSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliUID::SWebBind*, const ::AliUID::SWebBind*, __U__SWebBindSeq); -void __read(::IceInternal::BasicStream*, SWebBindSeq&, __U__SWebBindSeq); - -} - -#endif diff --git a/features/aliww/include/aliww.h b/features/aliww/include/aliww.h deleted file mode 100644 index f67fda3..0000000 --- a/features/aliww/include/aliww.h +++ /dev/null @@ -1,33 +0,0 @@ -/* * ===================================================================================== - * - * Filename: aliww.h - * - * Dealiwwion: - * - * Version: 1.0 - * Created: 2011å¹´01月07æ—¥ 15æ—¶44分43秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ - -#ifndef __ALIWW__H_ -#define __ALIWW__H_ - -#include "cbenchmark.h" -#include "paramutil.h" -#include "tpfs_perf_test.h" -#include "aas_perf_test.h" -#include "ims_perf_test.h" -#include "mos_perf_test.h" -#include "dbs_perf_test.h" -#include "ddbadmin_perf_test.h" -#include "uss_perf_test.h" -#include "ims_mos_perf_test.h" - -extern "C" void* initialize(void *p); -#endif diff --git a/features/aliww/include/aliyun.h b/features/aliww/include/aliyun.h deleted file mode 100644 index e8a87e4..0000000 --- a/features/aliww/include/aliyun.h +++ /dev/null @@ -1,502 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aliyun.ice' - -#ifndef __aliyun_h__ -#define __aliyun_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliYun -{ - -class accountInterface; -bool operator==(const accountInterface&, const accountInterface&); -bool operator!=(const accountInterface&, const accountInterface&); -bool operator<(const accountInterface&, const accountInterface&); -bool operator<=(const accountInterface&, const accountInterface&); -bool operator>(const accountInterface&, const accountInterface&); -bool operator>=(const accountInterface&, const accountInterface&); - -} - -} - -namespace AliYun -{ - -class accountInterface; -bool operator==(const accountInterface&, const accountInterface&); -bool operator!=(const accountInterface&, const accountInterface&); -bool operator<(const accountInterface&, const accountInterface&); -bool operator<=(const accountInterface&, const accountInterface&); -bool operator>(const accountInterface&, const accountInterface&); -bool operator>=(const accountInterface&, const accountInterface&); - -} - -namespace IceInternal -{ - -void incRef(::AliYun::accountInterface*); -void decRef(::AliYun::accountInterface*); - -void incRef(::IceProxy::AliYun::accountInterface*); -void decRef(::IceProxy::AliYun::accountInterface*); - -} - -namespace AliYun -{ - -typedef ::IceInternal::Handle< ::AliYun::accountInterface> accountInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliYun::accountInterface> accountInterfacePrx; - -void __write(::IceInternal::BasicStream*, const accountInterfacePrx&); -void __read(::IceInternal::BasicStream*, accountInterfacePrx&); -void __write(::IceInternal::BasicStream*, const accountInterfacePtr&); -void __patch__accountInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const accountInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const accountInterfacePtr&); -void __decRefUnsafe(const accountInterfacePtr&); -void __clearHandleUnsafe(accountInterfacePtr&); - -} - -namespace AliYun -{ - -typedef ::std::map< ::std::string, ::std::string> KVMap; - -class __U__KVMap { }; -void __write(::IceInternal::BasicStream*, const KVMap&, __U__KVMap); -void __read(::IceInternal::BasicStream*, KVMap&, __U__KVMap); - -struct callerInfo -{ - ::std::string callId; - ::std::string passwd; - ::Ice::Int version; - ::std::string encode; - - bool operator==(const callerInfo&) const; - bool operator!=(const callerInfo&) const; - bool operator<(const callerInfo&) const; - bool operator<=(const callerInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const callerInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const callerInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -} - -namespace IceProxy -{ - -namespace AliYun -{ - -class accountInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int registerMember(const ::AliYun::callerInfo& caller, const ::std::string& email, const ::std::string& mobileNo, const ::std::string& passwd, ::std::string& udbUserId) - { - return registerMember(caller, email, mobileNo, passwd, udbUserId, 0); - } - ::Ice::Int registerMember(const ::AliYun::callerInfo& caller, const ::std::string& email, const ::std::string& mobileNo, const ::std::string& passwd, ::std::string& udbUserId, const ::Ice::Context& __ctx) - { - return registerMember(caller, email, mobileNo, passwd, udbUserId, &__ctx); - } - -private: - - ::Ice::Int registerMember(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int checkExist(const ::AliYun::callerInfo& caller, const ::std::string& email, const ::std::string& mobileNo) - { - return checkExist(caller, email, mobileNo, 0); - } - ::Ice::Int checkExist(const ::AliYun::callerInfo& caller, const ::std::string& email, const ::std::string& mobileNo, const ::Ice::Context& __ctx) - { - return checkExist(caller, email, mobileNo, &__ctx); - } - -private: - - ::Ice::Int checkExist(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int chgLoginMail(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& email) - { - return chgLoginMail(caller, loginId, email, 0); - } - ::Ice::Int chgLoginMail(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& email, const ::Ice::Context& __ctx) - { - return chgLoginMail(caller, loginId, email, &__ctx); - } - -private: - - ::Ice::Int chgLoginMail(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int chgLoginMobile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& mobileNo) - { - return chgLoginMobile(caller, loginId, mobileNo, 0); - } - ::Ice::Int chgLoginMobile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& mobileNo, const ::Ice::Context& __ctx) - { - return chgLoginMobile(caller, loginId, mobileNo, &__ctx); - } - -private: - - ::Ice::Int chgLoginMobile(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int removeUser(const ::AliYun::callerInfo& caller, const ::std::string& loginId) - { - return removeUser(caller, loginId, 0); - } - ::Ice::Int removeUser(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::Ice::Context& __ctx) - { - return removeUser(caller, loginId, &__ctx); - } - -private: - - ::Ice::Int removeUser(const ::AliYun::callerInfo&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int checkUser(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& passwd) - { - return checkUser(caller, loginId, passwd, 0); - } - ::Ice::Int checkUser(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& passwd, const ::Ice::Context& __ctx) - { - return checkUser(caller, loginId, passwd, &__ctx); - } - -private: - - ::Ice::Int checkUser(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserProfile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::AliYun::KVMap& userProfile) - { - return getUserProfile(caller, loginId, userProfile, 0); - } - ::Ice::Int getUserProfile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::AliYun::KVMap& userProfile, const ::Ice::Context& __ctx) - { - return getUserProfile(caller, loginId, userProfile, &__ctx); - } - -private: - - ::Ice::Int getUserProfile(const ::AliYun::callerInfo&, const ::std::string&, ::AliYun::KVMap&, const ::Ice::Context*); - -public: - - ::Ice::Int setUserProfile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::AliYun::KVMap& userProfile) - { - return setUserProfile(caller, loginId, userProfile, 0); - } - ::Ice::Int setUserProfile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::AliYun::KVMap& userProfile, const ::Ice::Context& __ctx) - { - return setUserProfile(caller, loginId, userProfile, &__ctx); - } - -private: - - ::Ice::Int setUserProfile(const ::AliYun::callerInfo&, const ::std::string&, const ::AliYun::KVMap&, const ::Ice::Context*); - -public: - - ::Ice::Int setUserPasswd(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& passwd) - { - return setUserPasswd(caller, loginId, passwd, 0); - } - ::Ice::Int setUserPasswd(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& passwd, const ::Ice::Context& __ctx) - { - return setUserPasswd(caller, loginId, passwd, &__ctx); - } - -private: - - ::Ice::Int setUserPasswd(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int setUserStatus(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::Ice::Int status) - { - return setUserStatus(caller, loginId, status, 0); - } - ::Ice::Int setUserStatus(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::Ice::Int status, const ::Ice::Context& __ctx) - { - return setUserStatus(caller, loginId, status, &__ctx); - } - -private: - - ::Ice::Int setUserStatus(const ::AliYun::callerInfo&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int GetLoginInfo(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::std::string& passwd, ::Ice::Int& status, ::std::string& userdata) - { - return GetLoginInfo(caller, loginId, passwd, status, userdata, 0); - } - ::Ice::Int GetLoginInfo(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::std::string& passwd, ::Ice::Int& status, ::std::string& userdata, const ::Ice::Context& __ctx) - { - return GetLoginInfo(caller, loginId, passwd, status, userdata, &__ctx); - } - -private: - - ::Ice::Int GetLoginInfo(const ::AliYun::callerInfo&, const ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliYun -{ - -class accountInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int registerMember(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkExist(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int chgLoginMail(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int chgLoginMobile(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int removeUser(const ::AliYun::callerInfo&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkUser(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserProfile(const ::AliYun::callerInfo&, const ::std::string&, ::AliYun::KVMap&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setUserProfile(const ::AliYun::callerInfo&, const ::std::string&, const ::AliYun::KVMap&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setUserPasswd(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setUserStatus(const ::AliYun::callerInfo&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetLoginInfo(const ::AliYun::callerInfo&, const ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliYun -{ - -class accountInterface : virtual public ::IceDelegate::AliYun::accountInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int registerMember(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int checkExist(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int chgLoginMail(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int chgLoginMobile(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int removeUser(const ::AliYun::callerInfo&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int checkUser(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfile(const ::AliYun::callerInfo&, const ::std::string&, ::AliYun::KVMap&, const ::Ice::Context*); - - virtual ::Ice::Int setUserProfile(const ::AliYun::callerInfo&, const ::std::string&, const ::AliYun::KVMap&, const ::Ice::Context*); - - virtual ::Ice::Int setUserPasswd(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setUserStatus(const ::AliYun::callerInfo&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetLoginInfo(const ::AliYun::callerInfo&, const ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliYun -{ - -class accountInterface : virtual public ::IceDelegate::AliYun::accountInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int registerMember(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int checkExist(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int chgLoginMail(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int chgLoginMobile(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int removeUser(const ::AliYun::callerInfo&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int checkUser(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfile(const ::AliYun::callerInfo&, const ::std::string&, ::AliYun::KVMap&, const ::Ice::Context*); - - virtual ::Ice::Int setUserProfile(const ::AliYun::callerInfo&, const ::std::string&, const ::AliYun::KVMap&, const ::Ice::Context*); - - virtual ::Ice::Int setUserPasswd(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setUserStatus(const ::AliYun::callerInfo&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetLoginInfo(const ::AliYun::callerInfo&, const ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace AliYun -{ - -class accountInterface : virtual public ::Ice::Object -{ -public: - - typedef accountInterfacePrx ProxyType; - typedef accountInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int registerMember(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___registerMember(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int checkExist(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkExist(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int chgLoginMail(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___chgLoginMail(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int chgLoginMobile(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___chgLoginMobile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int removeUser(const ::AliYun::callerInfo&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___removeUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int checkUser(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserProfile(const ::AliYun::callerInfo&, const ::std::string&, ::AliYun::KVMap&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setUserProfile(const ::AliYun::callerInfo&, const ::std::string&, const ::AliYun::KVMap&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setUserPasswd(const ::AliYun::callerInfo&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setUserPasswd(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setUserStatus(const ::AliYun::callerInfo&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setUserStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetLoginInfo(const ::AliYun::callerInfo&, const ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetLoginInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__accountInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/alliWebMember.h b/features/aliww/include/alliWebMember.h deleted file mode 100644 index ce418f7..0000000 --- a/features/aliww/include/alliWebMember.h +++ /dev/null @@ -1,320 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `alliWebMember.ice' - -#ifndef __alliWebMember_h__ -#define __alliWebMember_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace alliWebMember -{ - -class UserProfile; -bool operator==(const UserProfile&, const UserProfile&); -bool operator!=(const UserProfile&, const UserProfile&); -bool operator<(const UserProfile&, const UserProfile&); -bool operator<=(const UserProfile&, const UserProfile&); -bool operator>(const UserProfile&, const UserProfile&); -bool operator>=(const UserProfile&, const UserProfile&); - -} - -} - -namespace alliWebMember -{ - -class UserProfile; -bool operator==(const UserProfile&, const UserProfile&); -bool operator!=(const UserProfile&, const UserProfile&); -bool operator<(const UserProfile&, const UserProfile&); -bool operator<=(const UserProfile&, const UserProfile&); -bool operator>(const UserProfile&, const UserProfile&); -bool operator>=(const UserProfile&, const UserProfile&); - -} - -namespace IceInternal -{ - -void incRef(::alliWebMember::UserProfile*); -void decRef(::alliWebMember::UserProfile*); - -void incRef(::IceProxy::alliWebMember::UserProfile*); -void decRef(::IceProxy::alliWebMember::UserProfile*); - -} - -namespace alliWebMember -{ - -typedef ::IceInternal::Handle< ::alliWebMember::UserProfile> UserProfilePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::alliWebMember::UserProfile> UserProfilePrx; - -void __write(::IceInternal::BasicStream*, const UserProfilePrx&); -void __read(::IceInternal::BasicStream*, UserProfilePrx&); -void __write(::IceInternal::BasicStream*, const UserProfilePtr&); -void __patch__UserProfilePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const UserProfilePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const UserProfilePtr&); -void __decRefUnsafe(const UserProfilePtr&); -void __clearHandleUnsafe(UserProfilePtr&); - -} - -namespace alliWebMember -{ - -struct SWebUserInfo -{ - ::std::string uid; - ::std::string name; - ::std::string rawpasswd; - ::std::string md5passwd; - ::std::string email; - ::std::string mobileno; - ::std::string phoneno; - ::std::string company; - ::std::string jobtitle; - ::std::string birthday; - ::std::string sex; - ::std::string country; - ::std::string province; - ::std::string city; - ::std::string address; - - bool operator==(const SWebUserInfo&) const; - bool operator!=(const SWebUserInfo&) const; - bool operator<(const SWebUserInfo&) const; - bool operator<=(const SWebUserInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SWebUserInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SWebUserInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::alliWebMember::SWebUserInfo> SUserSeq; - -class __U__SUserSeq { }; -void __write(::IceInternal::BasicStream*, const ::alliWebMember::SWebUserInfo*, const ::alliWebMember::SWebUserInfo*, __U__SUserSeq); -void __read(::IceInternal::BasicStream*, SUserSeq&, __U__SUserSeq); - -} - -namespace IceProxy -{ - -namespace alliWebMember -{ - -class UserProfile : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int GetWebMemberInfo(const ::std::string& uid, ::alliWebMember::SWebUserInfo& userInfo) - { - return GetWebMemberInfo(uid, userInfo, 0); - } - ::Ice::Int GetWebMemberInfo(const ::std::string& uid, ::alliWebMember::SWebUserInfo& userInfo, const ::Ice::Context& __ctx) - { - return GetWebMemberInfo(uid, userInfo, &__ctx); - } - -private: - - ::Ice::Int GetWebMemberInfo(const ::std::string&, ::alliWebMember::SWebUserInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int getWanghaoBindedWebId(const ::std::string& passportid, ::std::string& webloginId) - { - return getWanghaoBindedWebId(passportid, webloginId, 0); - } - ::Ice::Int getWanghaoBindedWebId(const ::std::string& passportid, ::std::string& webloginId, const ::Ice::Context& __ctx) - { - return getWanghaoBindedWebId(passportid, webloginId, &__ctx); - } - -private: - - ::Ice::Int getWanghaoBindedWebId(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckWebMemberPWInfo(const ::std::string& uid, const ::std::string& password, ::std::string& retmd5pw, ::std::string& rettoken) - { - return CheckWebMemberPWInfo(uid, password, retmd5pw, rettoken, 0); - } - ::Ice::Int CheckWebMemberPWInfo(const ::std::string& uid, const ::std::string& password, ::std::string& retmd5pw, ::std::string& rettoken, const ::Ice::Context& __ctx) - { - return CheckWebMemberPWInfo(uid, password, retmd5pw, rettoken, &__ctx); - } - -private: - - ::Ice::Int CheckWebMemberPWInfo(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace alliWebMember -{ - -class UserProfile : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int GetWebMemberInfo(const ::std::string&, ::alliWebMember::SWebUserInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getWanghaoBindedWebId(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckWebMemberPWInfo(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace alliWebMember -{ - -class UserProfile : virtual public ::IceDelegate::alliWebMember::UserProfile, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int GetWebMemberInfo(const ::std::string&, ::alliWebMember::SWebUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int getWanghaoBindedWebId(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckWebMemberPWInfo(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace alliWebMember -{ - -class UserProfile : virtual public ::IceDelegate::alliWebMember::UserProfile, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int GetWebMemberInfo(const ::std::string&, ::alliWebMember::SWebUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int getWanghaoBindedWebId(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckWebMemberPWInfo(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace alliWebMember -{ - -class UserProfile : virtual public ::Ice::Object -{ -public: - - typedef UserProfilePrx ProxyType; - typedef UserProfilePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int GetWebMemberInfo(const ::std::string&, ::alliWebMember::SWebUserInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetWebMemberInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getWanghaoBindedWebId(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getWanghaoBindedWebId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int CheckWebMemberPWInfo(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckWebMemberPWInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__UserProfilePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/aqdispatch_pack.h b/features/aliww/include/aqdispatch_pack.h deleted file mode 100644 index 5ade463..0000000 --- a/features/aliww/include/aqdispatch_pack.h +++ /dev/null @@ -1,437 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: aqdispatch_pack.h -// Date: 2011-01-30 12:50:19 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __AQDISPATCH_PACK_H__ -#define __AQDISPATCH_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "aqsc_head.h" - -using namespace std; - -enum AQDISPATCH_CMD -{ - AQSC_NOTIFY_DATA = 0x2000, - AQSC_REQ_SUBSCRIBE_DATA = 0x2001, - AQSC_RSP_SUBSCRIBE_DATA = 0x2002, - AQSC_REQ_UNSUBSCRIBE_DATA = 0x2003, - AQSC_RSP_UNSUBSCRIBE_DATA = 0x2004, - AQSC_REQ_HEALTH_CHECK = 0x1001, - AQSC_RSP_HEALTH_CHECK = 0x1002, -}; - -struct SAqkvpair -{ -public: - SAqkvpair() - { - } - - ~SAqkvpair() { } - SAqkvpair(const string& strKey, const string& strValue) - { - m_key = strKey; - m_value = strValue; - } - SAqkvpair& operator=( const SAqkvpair& sAqkvpair ) - { - m_key = sAqkvpair.m_key; - m_value = sAqkvpair.m_value; - return *this; - } - - string m_key; - string m_value; - -public: - uint32_t Size() const; -}; - -inline uint32_t SAqkvpair::Size() const -{ - uint32_t nSize = 5; - nSize += m_key.length(); - nSize += m_value.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SAqkvpair& sAqkvpair ); -CPackData& operator>> ( CPackData& cPackData, SAqkvpair& sAqkvpair ); - -class CAqscNotifyData : public CPackData -{ -public: - enum - { - CMD_ID = AQSC_NOTIFY_DATA - }; - CAqscNotifyData() - { - } - - ~CAqscNotifyData() { } - CAqscNotifyData(const uint16_t& wServerId, const uint16_t& wDataType, const VECTOR< SAqkvpair >& vecKvList) - { - m_serverId = wServerId; - m_dataType = wDataType; - m_kvList = vecKvList; - } - CAqscNotifyData& operator=( const CAqscNotifyData& cAqscNotifyData ) - { - m_serverId = cAqscNotifyData.m_serverId; - m_dataType = cAqscNotifyData.m_dataType; - m_kvList = cAqscNotifyData.m_kvList; - return *this; - } - - const uint16_t& GetServerId () const { return m_serverId; } - bool SetServerId ( const uint16_t& wServerId ) - { - m_serverId = wServerId; - return true; - } - const uint16_t& GetDataType () const { return m_dataType; } - bool SetDataType ( const uint16_t& wDataType ) - { - m_dataType = wDataType; - return true; - } - const VECTOR< SAqkvpair >& GetKvList () const { return m_kvList; } - bool SetKvList ( const VECTOR< SAqkvpair >& vecKvList ) - { - m_kvList = vecKvList; - return true; - } -private: - uint16_t m_serverId; - uint16_t m_dataType; - VECTOR< SAqkvpair > m_kvList; - -public: - CAqscHead m_aqscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CAqscNotifyData::Size() const -{ - uint32_t nSize = 8; - for(uint32_t i = 0; i < m_kvList.size(); i++) - { - nSize += m_kvList[i].Size(); - } - return nSize; -} - -class CAqscReqSubscribeData : public CPackData -{ -public: - enum - { - CMD_ID = AQSC_REQ_SUBSCRIBE_DATA - }; - CAqscReqSubscribeData() - { - } - - ~CAqscReqSubscribeData() { } - CAqscReqSubscribeData(const string& strAppid, const VECTOR< uint16_t >& vecSubscribeList) - { - m_appid = strAppid; - m_subscribeList = vecSubscribeList; - } - CAqscReqSubscribeData& operator=( const CAqscReqSubscribeData& cAqscReqSubscribeData ) - { - m_appid = cAqscReqSubscribeData.m_appid; - m_subscribeList = cAqscReqSubscribeData.m_subscribeList; - return *this; - } - - const string& GetAppid () const { return m_appid; } - bool SetAppid ( const string& strAppid ) - { - m_appid = strAppid; - return true; - } - const VECTOR< uint16_t >& GetSubscribeList () const { return m_subscribeList; } - bool SetSubscribeList ( const VECTOR< uint16_t >& vecSubscribeList ) - { - m_subscribeList = vecSubscribeList; - return true; - } -private: - string m_appid; - VECTOR< uint16_t > m_subscribeList; - -public: - CAqscHead m_aqscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CAqscReqSubscribeData::Size() const -{ - uint32_t nSize = 8; - nSize += m_appid.length(); - nSize += m_subscribeList.size() * 2; - return nSize; -} - -class CAqscRspSubscribeData : public CPackData -{ -public: - enum - { - CMD_ID = AQSC_RSP_SUBSCRIBE_DATA - }; - CAqscRspSubscribeData() - { - } - - ~CAqscRspSubscribeData() { } - CAqscRspSubscribeData(const uint16_t& wStatus, const string& strErrorCode) - { - m_status = wStatus; - m_errorCode = strErrorCode; - } - CAqscRspSubscribeData& operator=( const CAqscRspSubscribeData& cAqscRspSubscribeData ) - { - m_status = cAqscRspSubscribeData.m_status; - m_errorCode = cAqscRspSubscribeData.m_errorCode; - return *this; - } - - const uint16_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint16_t& wStatus ) - { - m_status = wStatus; - return true; - } - const string& GetErrorCode () const { return m_errorCode; } - bool SetErrorCode ( const string& strErrorCode ) - { - m_errorCode = strErrorCode; - return true; - } -private: - uint16_t m_status; - string m_errorCode; - -public: - CAqscHead m_aqscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CAqscRspSubscribeData::Size() const -{ - uint32_t nSize = 6; - nSize += m_errorCode.length(); - return nSize; -} - -class CAqscReqUnsubscribeData : public CPackData -{ -public: - enum - { - CMD_ID = AQSC_REQ_UNSUBSCRIBE_DATA - }; - CAqscReqUnsubscribeData() - { - } - - ~CAqscReqUnsubscribeData() { } - CAqscReqUnsubscribeData(const string& strAppid, const VECTOR< uint16_t >& vecUnsubscribeList) - { - m_appid = strAppid; - m_unsubscribeList = vecUnsubscribeList; - } - CAqscReqUnsubscribeData& operator=( const CAqscReqUnsubscribeData& cAqscReqUnsubscribeData ) - { - m_appid = cAqscReqUnsubscribeData.m_appid; - m_unsubscribeList = cAqscReqUnsubscribeData.m_unsubscribeList; - return *this; - } - - const string& GetAppid () const { return m_appid; } - bool SetAppid ( const string& strAppid ) - { - m_appid = strAppid; - return true; - } - const VECTOR< uint16_t >& GetUnsubscribeList () const { return m_unsubscribeList; } - bool SetUnsubscribeList ( const VECTOR< uint16_t >& vecUnsubscribeList ) - { - m_unsubscribeList = vecUnsubscribeList; - return true; - } -private: - string m_appid; - VECTOR< uint16_t > m_unsubscribeList; - -public: - CAqscHead m_aqscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CAqscReqUnsubscribeData::Size() const -{ - uint32_t nSize = 8; - nSize += m_appid.length(); - nSize += m_unsubscribeList.size() * 2; - return nSize; -} - -class CAqscRspUnsubscribeData : public CPackData -{ -public: - enum - { - CMD_ID = AQSC_RSP_UNSUBSCRIBE_DATA - }; - CAqscRspUnsubscribeData() - { - } - - ~CAqscRspUnsubscribeData() { } - CAqscRspUnsubscribeData(const uint16_t& wStatus, const string& strErrorCode) - { - m_status = wStatus; - m_errorCode = strErrorCode; - } - CAqscRspUnsubscribeData& operator=( const CAqscRspUnsubscribeData& cAqscRspUnsubscribeData ) - { - m_status = cAqscRspUnsubscribeData.m_status; - m_errorCode = cAqscRspUnsubscribeData.m_errorCode; - return *this; - } - - const uint16_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint16_t& wStatus ) - { - m_status = wStatus; - return true; - } - const string& GetErrorCode () const { return m_errorCode; } - bool SetErrorCode ( const string& strErrorCode ) - { - m_errorCode = strErrorCode; - return true; - } -private: - uint16_t m_status; - string m_errorCode; - -public: - CAqscHead m_aqscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CAqscRspUnsubscribeData::Size() const -{ - uint32_t nSize = 6; - nSize += m_errorCode.length(); - return nSize; -} - -class CAqscReqHealthCheck : public CPackData -{ -public: - enum - { - CMD_ID = AQSC_REQ_HEALTH_CHECK - }; - CAqscReqHealthCheck() - { - } - - ~CAqscReqHealthCheck() { } - CAqscReqHealthCheck(const string& strAppid) - { - m_appid = strAppid; - } - CAqscReqHealthCheck& operator=( const CAqscReqHealthCheck& cAqscReqHealthCheck ) - { - m_appid = cAqscReqHealthCheck.m_appid; - return *this; - } - - const string& GetAppid () const { return m_appid; } - bool SetAppid ( const string& strAppid ) - { - m_appid = strAppid; - return true; - } -private: - string m_appid; - -public: - CAqscHead m_aqscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CAqscReqHealthCheck::Size() const -{ - uint32_t nSize = 4; - nSize += m_appid.length(); - return nSize; -} - -class CAqscRspHealthCheck : public CPackData -{ -public: - enum - { - CMD_ID = AQSC_RSP_HEALTH_CHECK - }; - ~CAqscRspHealthCheck() { } -public: - CAqscHead m_aqscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CAqscRspHealthCheck::Size() const -{ - return 0; -} -#endif diff --git a/features/aliww/include/aqsc_head.h b/features/aliww/include/aqsc_head.h deleted file mode 100644 index 73ce02b..0000000 --- a/features/aliww/include/aqsc_head.h +++ /dev/null @@ -1,102 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: aqsc_head.h -// Date: 2011-01-30 12:50:18 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __AQSC_HEAD_H__ -#define __AQSC_HEAD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -#ifndef COMPRESS_THRESHOLD -#define COMPRESS_THRESHOLD 10240 -#endif - -class CAqscHead : public CPackData -{ -public: - ~CAqscHead() { } - CAqscHead(const uint8_t& chStarter= 0x88, const uint8_t& chVersion= 0x01, const uint32_t& dwSeq= 0, const uint32_t& dwLen= 0, const uint32_t& dwCmd= 0, const uint16_t& wCc= 0) - { - m_starter = chStarter; - m_version = chVersion; - m_seq = dwSeq; - m_len = dwLen; - m_cmd = dwCmd; - m_cc = wCc; - } - CAqscHead& operator=( const CAqscHead& cAqscHead ) - { - m_starter = cAqscHead.m_starter; - m_version = cAqscHead.m_version; - m_seq = cAqscHead.m_seq; - m_len = cAqscHead.m_len; - m_cmd = cAqscHead.m_cmd; - m_cc = cAqscHead.m_cc; - return *this; - } - -public: - uint8_t m_starter; - uint8_t m_version; - uint32_t m_seq; - uint32_t m_len; - uint32_t m_cmd; - uint16_t m_cc; - -public: - void PackData(string& strData); - PACKRETCODE UnpackData(const string& strData); - uint32_t Size() const { return 16; } - uint8_t PeekStarter() - { - uint8_t chStarter; - SetInCursor(0); - *this >> chStarter; - return chStarter; - } - uint8_t PeekVersion() - { - uint8_t chVersion; - SetInCursor(1); - *this >> chVersion; - return chVersion; - } - uint32_t PeekSeq() - { - uint32_t dwSeq; - SetInCursor(2); - *this >> dwSeq; - return dwSeq; - } - uint32_t PeekLen() - { - uint32_t dwLen; - SetInCursor(6); - *this >> dwLen; - return dwLen; - } - uint32_t PeekCmd() - { - uint32_t dwCmd; - SetInCursor(10); - *this >> dwCmd; - return dwCmd; - } - uint16_t PeekCc() - { - uint16_t wCc; - SetInCursor(14); - *this >> wCc; - return wCc; - } -}; - -#endif diff --git a/features/aliww/include/arcacheservice.h b/features/aliww/include/arcacheservice.h deleted file mode 100644 index b43aad3..0000000 --- a/features/aliww/include/arcacheservice.h +++ /dev/null @@ -1,512 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `arcacheservice.ice' - -#ifndef __arcacheservice_h__ -#define __arcacheservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class IARCacheService; -bool operator==(const IARCacheService&, const IARCacheService&); -bool operator!=(const IARCacheService&, const IARCacheService&); -bool operator<(const IARCacheService&, const IARCacheService&); -bool operator<=(const IARCacheService&, const IARCacheService&); -bool operator>(const IARCacheService&, const IARCacheService&); -bool operator>=(const IARCacheService&, const IARCacheService&); - -} - -} - -namespace AliIM -{ - -class IARCacheService; -bool operator==(const IARCacheService&, const IARCacheService&); -bool operator!=(const IARCacheService&, const IARCacheService&); -bool operator<(const IARCacheService&, const IARCacheService&); -bool operator<=(const IARCacheService&, const IARCacheService&); -bool operator>(const IARCacheService&, const IARCacheService&); -bool operator>=(const IARCacheService&, const IARCacheService&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::IARCacheService*); -void decRef(::AliIM::IARCacheService*); - -void incRef(::IceProxy::AliIM::IARCacheService*); -void decRef(::IceProxy::AliIM::IARCacheService*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::IARCacheService> IARCacheServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::IARCacheService> IARCacheServicePrx; - -void __write(::IceInternal::BasicStream*, const IARCacheServicePrx&); -void __read(::IceInternal::BasicStream*, IARCacheServicePrx&); -void __write(::IceInternal::BasicStream*, const IARCacheServicePtr&); -void __patch__IARCacheServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IARCacheServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IARCacheServicePtr&); -void __decRefUnsafe(const IARCacheServicePtr&); -void __clearHandleUnsafe(IARCacheServicePtr&); - -} - -namespace AliIM -{ - -struct ARUSERINFO -{ - ::Ice::Int strangerMsgCount; - ::Ice::Int addContactCount; - ::Ice::Int reqContactCount; - ::Ice::Int addTribeCount; - ::Ice::Int lastLogonTime; - ::Ice::Int sysMsgId; - ::Ice::Int onlineTime; - ::std::string loginIp; - - bool operator==(const ARUSERINFO&) const; - bool operator!=(const ARUSERINFO&) const; - bool operator<(const ARUSERINFO&) const; - bool operator<=(const ARUSERINFO& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const ARUSERINFO& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const ARUSERINFO& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct ARUSERCONTROLINFO -{ - ::Ice::Int strangerMsgCount; - ::Ice::Int addContactCount; - ::Ice::Int reqContactCount; - ::Ice::Int addTribeCount; - - bool operator==(const ARUSERCONTROLINFO&) const; - bool operator!=(const ARUSERCONTROLINFO&) const; - bool operator<(const ARUSERCONTROLINFO&) const; - bool operator<=(const ARUSERCONTROLINFO& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const ARUSERCONTROLINFO& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const ARUSERCONTROLINFO& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::map< ::Ice::Int, ::Ice::Int> RIGHTTABLE; - -class __U__RIGHTTABLE { }; -void __write(::IceInternal::BasicStream*, const RIGHTTABLE&, __U__RIGHTTABLE); -void __read(::IceInternal::BasicStream*, RIGHTTABLE&, __U__RIGHTTABLE); - -struct ARUSERINFO2 -{ - ::AliIM::RIGHTTABLE rightMap; - ::Ice::Int lastLogonTime; - ::Ice::Int sysMsgId; - ::Ice::Int onlineTime; - ::std::string loginIp; - - bool operator==(const ARUSERINFO2&) const; - bool operator!=(const ARUSERINFO2&) const; - bool operator<(const ARUSERINFO2&) const; - bool operator<=(const ARUSERINFO2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const ARUSERINFO2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const ARUSERINFO2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct ARUSERCONTROLINFO2 -{ - ::AliIM::RIGHTTABLE rightMap; - - bool operator==(const ARUSERCONTROLINFO2&) const; - bool operator!=(const ARUSERCONTROLINFO2&) const; - bool operator<(const ARUSERCONTROLINFO2&) const; - bool operator<=(const ARUSERCONTROLINFO2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const ARUSERCONTROLINFO2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const ARUSERCONTROLINFO2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class IARCacheService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int getUserInfo(const ::std::string& uid, ::AliIM::ARUSERINFO& userInfo) - { - return getUserInfo(uid, userInfo, 0); - } - ::Ice::Int getUserInfo(const ::std::string& uid, ::AliIM::ARUSERINFO& userInfo, const ::Ice::Context& __ctx) - { - return getUserInfo(uid, userInfo, &__ctx); - } - -private: - - ::Ice::Int getUserInfo(const ::std::string&, ::AliIM::ARUSERINFO&, const ::Ice::Context*); - -public: - - ::Ice::Int updateUserLoginEx(const ::std::string& uid, ::Ice::Int sysMsgId, const ::std::string& loginIp) - { - return updateUserLoginEx(uid, sysMsgId, loginIp, 0); - } - ::Ice::Int updateUserLoginEx(const ::std::string& uid, ::Ice::Int sysMsgId, const ::std::string& loginIp, const ::Ice::Context& __ctx) - { - return updateUserLoginEx(uid, sysMsgId, loginIp, &__ctx); - } - -private: - - ::Ice::Int updateUserLoginEx(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int updateUserLoginEx2(const ::std::string& uid, ::Ice::Int sysMsgId, const ::std::string& loginIp) - { - return updateUserLoginEx2(uid, sysMsgId, loginIp, 0); - } - ::Ice::Int updateUserLoginEx2(const ::std::string& uid, ::Ice::Int sysMsgId, const ::std::string& loginIp, const ::Ice::Context& __ctx) - { - return updateUserLoginEx2(uid, sysMsgId, loginIp, &__ctx); - } - -private: - - ::Ice::Int updateUserLoginEx2(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int updateUserLastLoginTime(const ::std::string& uid, ::Ice::Int lastLoginTime) - { - return updateUserLastLoginTime(uid, lastLoginTime, 0); - } - ::Ice::Int updateUserLastLoginTime(const ::std::string& uid, ::Ice::Int lastLoginTime, const ::Ice::Context& __ctx) - { - return updateUserLastLoginTime(uid, lastLoginTime, &__ctx); - } - -private: - - ::Ice::Int updateUserLastLoginTime(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int updateSysMsgId(const ::std::string& uid, ::Ice::Int sysMsgId) - { - return updateSysMsgId(uid, sysMsgId, 0); - } - ::Ice::Int updateSysMsgId(const ::std::string& uid, ::Ice::Int sysMsgId, const ::Ice::Context& __ctx) - { - return updateSysMsgId(uid, sysMsgId, &__ctx); - } - -private: - - ::Ice::Int updateSysMsgId(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int updateUserDataInfo(const ::std::string& uid, const ::AliIM::ARUSERCONTROLINFO& controlInfo, ::Ice::Int onlineTime) - { - return updateUserDataInfo(uid, controlInfo, onlineTime, 0); - } - ::Ice::Int updateUserDataInfo(const ::std::string& uid, const ::AliIM::ARUSERCONTROLINFO& controlInfo, ::Ice::Int onlineTime, const ::Ice::Context& __ctx) - { - return updateUserDataInfo(uid, controlInfo, onlineTime, &__ctx); - } - -private: - - ::Ice::Int updateUserDataInfo(const ::std::string&, const ::AliIM::ARUSERCONTROLINFO&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int getUserInfo2(const ::std::string& uid, ::AliIM::ARUSERINFO2& userInfo) - { - return getUserInfo2(uid, userInfo, 0); - } - ::Ice::Int getUserInfo2(const ::std::string& uid, ::AliIM::ARUSERINFO2& userInfo, const ::Ice::Context& __ctx) - { - return getUserInfo2(uid, userInfo, &__ctx); - } - -private: - - ::Ice::Int getUserInfo2(const ::std::string&, ::AliIM::ARUSERINFO2&, const ::Ice::Context*); - -public: - - ::Ice::Int updateUserDataInfo2(const ::std::string& uid, const ::AliIM::ARUSERCONTROLINFO2& controlInfo, ::Ice::Int onlineTime) - { - return updateUserDataInfo2(uid, controlInfo, onlineTime, 0); - } - ::Ice::Int updateUserDataInfo2(const ::std::string& uid, const ::AliIM::ARUSERCONTROLINFO2& controlInfo, ::Ice::Int onlineTime, const ::Ice::Context& __ctx) - { - return updateUserDataInfo2(uid, controlInfo, onlineTime, &__ctx); - } - -private: - - ::Ice::Int updateUserDataInfo2(const ::std::string&, const ::AliIM::ARUSERCONTROLINFO2&, ::Ice::Int, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class IARCacheService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int getUserInfo(const ::std::string&, ::AliIM::ARUSERINFO&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateUserLoginEx(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateUserLoginEx2(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateUserLastLoginTime(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateSysMsgId(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateUserDataInfo(const ::std::string&, const ::AliIM::ARUSERCONTROLINFO&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserInfo2(const ::std::string&, ::AliIM::ARUSERINFO2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateUserDataInfo2(const ::std::string&, const ::AliIM::ARUSERCONTROLINFO2&, ::Ice::Int, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class IARCacheService : virtual public ::IceDelegate::AliIM::IARCacheService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int getUserInfo(const ::std::string&, ::AliIM::ARUSERINFO&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserLoginEx(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserLoginEx2(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserLastLoginTime(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int updateSysMsgId(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int updateUserDataInfo(const ::std::string&, const ::AliIM::ARUSERCONTROLINFO&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int getUserInfo2(const ::std::string&, ::AliIM::ARUSERINFO2&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserDataInfo2(const ::std::string&, const ::AliIM::ARUSERCONTROLINFO2&, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class IARCacheService : virtual public ::IceDelegate::AliIM::IARCacheService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int getUserInfo(const ::std::string&, ::AliIM::ARUSERINFO&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserLoginEx(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserLoginEx2(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserLastLoginTime(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int updateSysMsgId(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int updateUserDataInfo(const ::std::string&, const ::AliIM::ARUSERCONTROLINFO&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int getUserInfo2(const ::std::string&, ::AliIM::ARUSERINFO2&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserDataInfo2(const ::std::string&, const ::AliIM::ARUSERCONTROLINFO2&, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class IARCacheService : virtual public ::Ice::Object -{ -public: - - typedef IARCacheServicePrx ProxyType; - typedef IARCacheServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int getUserInfo(const ::std::string&, ::AliIM::ARUSERINFO&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateUserLoginEx(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateUserLoginEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateUserLoginEx2(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateUserLoginEx2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateUserLastLoginTime(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateUserLastLoginTime(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateSysMsgId(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateSysMsgId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateUserDataInfo(const ::std::string&, const ::AliIM::ARUSERCONTROLINFO&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateUserDataInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserInfo2(const ::std::string&, ::AliIM::ARUSERINFO2&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserInfo2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateUserDataInfo2(const ::std::string&, const ::AliIM::ARUSERCONTROLINFO2&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateUserDataInfo2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IARCacheServicePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/atmMember.h b/features/aliww/include/atmMember.h deleted file mode 100644 index a5b0033..0000000 --- a/features/aliww/include/atmMember.h +++ /dev/null @@ -1,455 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `atmMember.ice' - -#ifndef __atmMember_h__ -#define __atmMember_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace atmWebMember -{ - -class UserProfile; -bool operator==(const UserProfile&, const UserProfile&); -bool operator!=(const UserProfile&, const UserProfile&); -bool operator<(const UserProfile&, const UserProfile&); -bool operator<=(const UserProfile&, const UserProfile&); -bool operator>(const UserProfile&, const UserProfile&); -bool operator>=(const UserProfile&, const UserProfile&); - -} - -} - -namespace atmWebMember -{ - -class UserProfile; -bool operator==(const UserProfile&, const UserProfile&); -bool operator!=(const UserProfile&, const UserProfile&); -bool operator<(const UserProfile&, const UserProfile&); -bool operator<=(const UserProfile&, const UserProfile&); -bool operator>(const UserProfile&, const UserProfile&); -bool operator>=(const UserProfile&, const UserProfile&); - -} - -namespace IceInternal -{ - -void incRef(::atmWebMember::UserProfile*); -void decRef(::atmWebMember::UserProfile*); - -void incRef(::IceProxy::atmWebMember::UserProfile*); -void decRef(::IceProxy::atmWebMember::UserProfile*); - -} - -namespace atmWebMember -{ - -typedef ::IceInternal::Handle< ::atmWebMember::UserProfile> UserProfilePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::atmWebMember::UserProfile> UserProfilePrx; - -void __write(::IceInternal::BasicStream*, const UserProfilePrx&); -void __read(::IceInternal::BasicStream*, UserProfilePrx&); -void __write(::IceInternal::BasicStream*, const UserProfilePtr&); -void __patch__UserProfilePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const UserProfilePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const UserProfilePtr&); -void __decRefUnsafe(const UserProfilePtr&); -void __clearHandleUnsafe(UserProfilePtr&); - -} - -namespace atmWebMember -{ - -struct sBasicProfile -{ - ::std::string longid; - ::Ice::Int isExist; - ::std::string status; - ::std::string username; - ::std::string password; - ::std::string companyname; - ::std::string jobTitle; - ::std::string oldOverseaLevel; - ::std::string oldGslevel; - ::std::string memberLevel; - ::Ice::Int categoryids; - ::std::string area; - ::std::string country; - ::Ice::Int companyId; - - bool operator==(const sBasicProfile&) const; - bool operator!=(const sBasicProfile&) const; - bool operator<(const sBasicProfile&) const; - bool operator<=(const sBasicProfile& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const sBasicProfile& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const sBasicProfile& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct sUdbData -{ - ::std::string longid; - ::Ice::Int isExist; - ::std::string status; - ::std::string password; - ::std::string username; - ::std::string country; - ::std::string companyname; - ::std::string jobTitle; - ::std::string email; - ::std::string zip; - ::std::string address; - ::std::string phone; - ::std::string mobilephone; - ::std::string prov; - ::std::string city; - ::std::string usergender; - ::std::string companyaddress; - ::std::string companyfax; - ::std::string companyzip; - ::std::string companyemail; - ::std::string companyurl; - ::std::string purchase; - ::std::string provide; - ::std::string department; - - bool operator==(const sUdbData&) const; - bool operator!=(const sUdbData&) const; - bool operator<(const sUdbData&) const; - bool operator<=(const sUdbData& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const sUdbData& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const sUdbData& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct sContactInfo -{ - ::std::string longid; - ::Ice::Int isExist; - ::std::string firstname; - ::std::string lastname; - ::std::string country; - ::Ice::Int companyId; - ::std::string companyname; - ::std::string companyaddress; - ::std::string companyZip; - ::std::string homepageUrl; - ::std::string bizType; - ::std::string provideProducts; - ::std::string jobTitle; - ::Ice::Int categoryids; - ::std::string email; - ::std::string phone; - ::std::string faxNumber; - ::std::string mobilephone; - ::std::string usergender; - - bool operator==(const sContactInfo&) const; - bool operator!=(const sContactInfo&) const; - bool operator<(const sContactInfo&) const; - bool operator<=(const sContactInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const sContactInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const sContactInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SBLoginInfo -{ - ::std::string longid; - ::Ice::Int isExist; - ::std::string status; - ::std::string passwd; - ::std::string email; - ::std::string seq; - - bool operator==(const SBLoginInfo&) const; - bool operator!=(const SBLoginInfo&) const; - bool operator<(const SBLoginInfo&) const; - bool operator<=(const SBLoginInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SBLoginInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SBLoginInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -} - -namespace IceProxy -{ - -namespace atmWebMember -{ - -class UserProfile : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int GetUserPwd(const ::std::string& uid, ::atmWebMember::SBLoginInfo& pwdinfo) - { - return GetUserPwd(uid, pwdinfo, 0); - } - ::Ice::Int GetUserPwd(const ::std::string& uid, ::atmWebMember::SBLoginInfo& pwdinfo, const ::Ice::Context& __ctx) - { - return GetUserPwd(uid, pwdinfo, &__ctx); - } - -private: - - ::Ice::Int GetUserPwd(const ::std::string&, ::atmWebMember::SBLoginInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUDBData(const ::std::string& uid, ::atmWebMember::sUdbData& udbInfo) - { - return GetUDBData(uid, udbInfo, 0); - } - ::Ice::Int GetUDBData(const ::std::string& uid, ::atmWebMember::sUdbData& udbInfo, const ::Ice::Context& __ctx) - { - return GetUDBData(uid, udbInfo, &__ctx); - } - -private: - - ::Ice::Int GetUDBData(const ::std::string&, ::atmWebMember::sUdbData&, const ::Ice::Context*); - -public: - - ::Ice::Int GetBasicProfile(const ::std::string& uid, ::atmWebMember::sBasicProfile& info) - { - return GetBasicProfile(uid, info, 0); - } - ::Ice::Int GetBasicProfile(const ::std::string& uid, ::atmWebMember::sBasicProfile& info, const ::Ice::Context& __ctx) - { - return GetBasicProfile(uid, info, &__ctx); - } - -private: - - ::Ice::Int GetBasicProfile(const ::std::string&, ::atmWebMember::sBasicProfile&, const ::Ice::Context*); - -public: - - ::Ice::Int GetContactInfo(const ::std::string& uid, ::atmWebMember::sContactInfo& cinfo) - { - return GetContactInfo(uid, cinfo, 0); - } - ::Ice::Int GetContactInfo(const ::std::string& uid, ::atmWebMember::sContactInfo& cinfo, const ::Ice::Context& __ctx) - { - return GetContactInfo(uid, cinfo, &__ctx); - } - -private: - - ::Ice::Int GetContactInfo(const ::std::string&, ::atmWebMember::sContactInfo&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace atmWebMember -{ - -class UserProfile : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int GetUserPwd(const ::std::string&, ::atmWebMember::SBLoginInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUDBData(const ::std::string&, ::atmWebMember::sUdbData&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetBasicProfile(const ::std::string&, ::atmWebMember::sBasicProfile&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetContactInfo(const ::std::string&, ::atmWebMember::sContactInfo&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace atmWebMember -{ - -class UserProfile : virtual public ::IceDelegate::atmWebMember::UserProfile, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int GetUserPwd(const ::std::string&, ::atmWebMember::SBLoginInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetUDBData(const ::std::string&, ::atmWebMember::sUdbData&, const ::Ice::Context*); - - virtual ::Ice::Int GetBasicProfile(const ::std::string&, ::atmWebMember::sBasicProfile&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactInfo(const ::std::string&, ::atmWebMember::sContactInfo&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace atmWebMember -{ - -class UserProfile : virtual public ::IceDelegate::atmWebMember::UserProfile, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int GetUserPwd(const ::std::string&, ::atmWebMember::SBLoginInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetUDBData(const ::std::string&, ::atmWebMember::sUdbData&, const ::Ice::Context*); - - virtual ::Ice::Int GetBasicProfile(const ::std::string&, ::atmWebMember::sBasicProfile&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactInfo(const ::std::string&, ::atmWebMember::sContactInfo&, const ::Ice::Context*); -}; - -} - -} - -namespace atmWebMember -{ - -class UserProfile : virtual public ::Ice::Object -{ -public: - - typedef UserProfilePrx ProxyType; - typedef UserProfilePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int GetUserPwd(const ::std::string&, ::atmWebMember::SBLoginInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserPwd(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetUDBData(const ::std::string&, ::atmWebMember::sUdbData&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUDBData(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetBasicProfile(const ::std::string&, ::atmWebMember::sBasicProfile&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetBasicProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetContactInfo(const ::std::string&, ::atmWebMember::sContactInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetContactInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__UserProfilePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/authservice.h b/features/aliww/include/authservice.h deleted file mode 100644 index 52fccf5..0000000 --- a/features/aliww/include/authservice.h +++ /dev/null @@ -1,348 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `authservice.ice' - -#ifndef __authservice_h__ -#define __authservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AuthService -{ - -class AuthSrvMgr; -bool operator==(const AuthSrvMgr&, const AuthSrvMgr&); -bool operator!=(const AuthSrvMgr&, const AuthSrvMgr&); -bool operator<(const AuthSrvMgr&, const AuthSrvMgr&); -bool operator<=(const AuthSrvMgr&, const AuthSrvMgr&); -bool operator>(const AuthSrvMgr&, const AuthSrvMgr&); -bool operator>=(const AuthSrvMgr&, const AuthSrvMgr&); - -} - -} - -namespace AuthService -{ - -class AuthSrvMgr; -bool operator==(const AuthSrvMgr&, const AuthSrvMgr&); -bool operator!=(const AuthSrvMgr&, const AuthSrvMgr&); -bool operator<(const AuthSrvMgr&, const AuthSrvMgr&); -bool operator<=(const AuthSrvMgr&, const AuthSrvMgr&); -bool operator>(const AuthSrvMgr&, const AuthSrvMgr&); -bool operator>=(const AuthSrvMgr&, const AuthSrvMgr&); - -} - -namespace IceInternal -{ - -void incRef(::AuthService::AuthSrvMgr*); -void decRef(::AuthService::AuthSrvMgr*); - -void incRef(::IceProxy::AuthService::AuthSrvMgr*); -void decRef(::IceProxy::AuthService::AuthSrvMgr*); - -} - -namespace AuthService -{ - -typedef ::IceInternal::Handle< ::AuthService::AuthSrvMgr> AuthSrvMgrPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AuthService::AuthSrvMgr> AuthSrvMgrPrx; - -void __write(::IceInternal::BasicStream*, const AuthSrvMgrPrx&); -void __read(::IceInternal::BasicStream*, AuthSrvMgrPrx&); -void __write(::IceInternal::BasicStream*, const AuthSrvMgrPtr&); -void __patch__AuthSrvMgrPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const AuthSrvMgrPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const AuthSrvMgrPtr&); -void __decRefUnsafe(const AuthSrvMgrPtr&); -void __clearHandleUnsafe(AuthSrvMgrPtr&); - -} - -namespace AuthService -{ - -} - -namespace IceProxy -{ - -namespace AuthService -{ - -class AuthSrvMgr : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int AddUser(const ::std::string& userId) - { - return AddUser(userId, 0); - } - ::Ice::Int AddUser(const ::std::string& userId, const ::Ice::Context& __ctx) - { - return AddUser(userId, &__ctx); - } - -private: - - ::Ice::Int AddUser(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DelUser(const ::std::string& userId) - { - return DelUser(userId, 0); - } - ::Ice::Int DelUser(const ::std::string& userId, const ::Ice::Context& __ctx) - { - return DelUser(userId, &__ctx); - } - -private: - - ::Ice::Int DelUser(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckUser(const ::std::string& userId) - { - return CheckUser(userId, 0); - } - ::Ice::Int CheckUser(const ::std::string& userId, const ::Ice::Context& __ctx) - { - return CheckUser(userId, &__ctx); - } - -private: - - ::Ice::Int CheckUser(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int ForbiddenUser(const ::std::string& userId, ::Ice::Int interval) - { - return ForbiddenUser(userId, interval, 0); - } - ::Ice::Int ForbiddenUser(const ::std::string& userId, ::Ice::Int interval, const ::Ice::Context& __ctx) - { - return ForbiddenUser(userId, interval, &__ctx); - } - -private: - - ::Ice::Int ForbiddenUser(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int PermitUser(const ::std::string& userId) - { - return PermitUser(userId, 0); - } - ::Ice::Int PermitUser(const ::std::string& userId, const ::Ice::Context& __ctx) - { - return PermitUser(userId, &__ctx); - } - -private: - - ::Ice::Int PermitUser(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetForbiddenUser(const ::std::string& userId, ::Ice::Int& begin, ::Ice::Int& interval) - { - return GetForbiddenUser(userId, begin, interval, 0); - } - ::Ice::Int GetForbiddenUser(const ::std::string& userId, ::Ice::Int& begin, ::Ice::Int& interval, const ::Ice::Context& __ctx) - { - return GetForbiddenUser(userId, begin, interval, &__ctx); - } - -private: - - ::Ice::Int GetForbiddenUser(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AuthService -{ - -class AuthSrvMgr : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int AddUser(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelUser(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckUser(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ForbiddenUser(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int PermitUser(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetForbiddenUser(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AuthService -{ - -class AuthSrvMgr : virtual public ::IceDelegate::AuthService::AuthSrvMgr, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int AddUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DelUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ForbiddenUser(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int PermitUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetForbiddenUser(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AuthService -{ - -class AuthSrvMgr : virtual public ::IceDelegate::AuthService::AuthSrvMgr, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int AddUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DelUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ForbiddenUser(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int PermitUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetForbiddenUser(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); -}; - -} - -} - -namespace AuthService -{ - -class AuthSrvMgr : virtual public ::Ice::Object -{ -public: - - typedef AuthSrvMgrPrx ProxyType; - typedef AuthSrvMgrPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int AddUser(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DelUser(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int CheckUser(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int ForbiddenUser(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ForbiddenUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int PermitUser(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___PermitUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetForbiddenUser(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetForbiddenUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__AuthSrvMgrPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/bind_unbind.h b/features/aliww/include/bind_unbind.h deleted file mode 100644 index bcac3cc..0000000 --- a/features/aliww/include/bind_unbind.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: bind_unbind.h - * - * Description: - * - * Version: 1.0 - * Created: 2011å¹´01月07æ—¥ 15æ—¶44分43秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ - -#ifndef BIND_UNBIND_H -#define BIND_UNBIND_H -#include -using namespace std; - -void *bind_unbind_init(void* p); -void *bind_unbind_act(void* p); -void *bind_unbind_end(void* p); - -#endif//BIND_UNBIND_H diff --git a/features/aliww/include/cachss_pack.h b/features/aliww/include/cachss_pack.h deleted file mode 100644 index 90632a2..0000000 --- a/features/aliww/include/cachss_pack.h +++ /dev/null @@ -1,92 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: cachss_pack.h -// Date: 2011-01-30 12:50:08 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __CACHSS_PACK_H__ -#define __CACHSS_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "ss_head.h" -#include "const_macro.h" - -using namespace std; - -enum CACHSS_NOTIFY -{ - SS_CA_NOTIFY = 0x7f020001, - -}; - -class CSsCaNotify : public CPackData -{ -public: - enum - { - CMD_ID = SS_CA_NOTIFY - }; - CSsCaNotify() - { - } - - ~CSsCaNotify() { } - CSsCaNotify(const string& strOpname, const map< string,string >& mapAttrs) - { - m_opname = strOpname; - m_attrs = mapAttrs; - } - CSsCaNotify& operator=( const CSsCaNotify& cSsCaNotify ) - { - m_opname = cSsCaNotify.m_opname; - m_attrs = cSsCaNotify.m_attrs; - return *this; - } - - const string& GetOpname () const { return m_opname; } - bool SetOpname ( const string& strOpname ) - { - m_opname = strOpname; - return true; - } - const map< string,string >& GetAttrs () const { return m_attrs; } - bool SetAttrs ( const map< string,string >& mapAttrs ) - { - m_attrs = mapAttrs; - return true; - } -private: - string m_opname; - map< string,string > m_attrs; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsCaNotify::Size() const -{ - uint32_t nSize = 10; - nSize += m_opname.length(); - nSize += m_attrs.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_attrs.begin(); itr != m_attrs.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -#endif diff --git a/features/aliww/include/casc_pack.h b/features/aliww/include/casc_pack.h deleted file mode 100644 index 4b4c175..0000000 --- a/features/aliww/include/casc_pack.h +++ /dev/null @@ -1,2055 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: casc_pack.h -// Date: 2011-02-22 11:43:08 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __CASC_PACK_H__ -#define __CASC_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "des.h" -#include -#include "sc_head.h" -#include "imsc_cmd.h" -#include "const_macro.h" - -using namespace std; - -struct SGoodsInfo -{ -public: - SGoodsInfo() - { - } - - ~SGoodsInfo() { } - SGoodsInfo(const string& strName, const uint32_t& dwCount) - { - m_name = strName; - m_count = dwCount; - } - SGoodsInfo& operator=( const SGoodsInfo& sGoodsInfo ) - { - m_name = sGoodsInfo.m_name; - m_count = sGoodsInfo.m_count; - return *this; - } - - string m_name; - uint32_t m_count; - -public: - uint32_t Size() const; -}; - -inline uint32_t SGoodsInfo::Size() const -{ - uint32_t nSize = 11; - nSize += m_name.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SGoodsInfo& sGoodsInfo ); -CPackData& operator>> ( CPackData& cPackData, SGoodsInfo& sGoodsInfo ); - -struct SGoodsInfoEx -{ -public: - SGoodsInfoEx() - { - } - - ~SGoodsInfoEx() { } - SGoodsInfoEx(const string& strName, const string& strInfo, const string& strUrl) - { - m_name = strName; - m_info = strInfo; - m_url = strUrl; - } - SGoodsInfoEx& operator=( const SGoodsInfoEx& sGoodsInfoEx ) - { - m_name = sGoodsInfoEx.m_name; - m_info = sGoodsInfoEx.m_info; - m_url = sGoodsInfoEx.m_url; - return *this; - } - - string m_name; - string m_info; - string m_url; - -public: - uint32_t Size() const; -}; - -inline uint32_t SGoodsInfoEx::Size() const -{ - uint32_t nSize = 16; - nSize += m_name.length(); - nSize += m_info.length(); - nSize += m_url.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SGoodsInfoEx& sGoodsInfoEx ); -CPackData& operator>> ( CPackData& cPackData, SGoodsInfoEx& sGoodsInfoEx ); - -class CCascReqGoodssearch : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_GOODSSEARCH - }; - CCascReqGoodssearch() - { - } - - ~CCascReqGoodssearch() { } - CCascReqGoodssearch(const string& strKeyword) - { - m_keyword = strKeyword; - } - CCascReqGoodssearch& operator=( const CCascReqGoodssearch& cCascReqGoodssearch ) - { - m_keyword = cCascReqGoodssearch.m_keyword; - return *this; - } - - const string& GetKeyword () const { return m_keyword; } - bool SetKeyword ( const string& strKeyword ) - { - m_keyword = strKeyword; - return true; - } -private: - string m_keyword; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqGoodssearch::Size() const -{ - uint32_t nSize = 6; - nSize += m_keyword.length(); - return nSize; -} - -class CCascRspGoodssearch : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_GOODSSEARCH - }; - CCascRspGoodssearch() - { - } - - ~CCascRspGoodssearch() { } - CCascRspGoodssearch(const uint8_t& chRetcode, const string& strKeyword, const VECTOR< SGoodsInfo >& vecGoods) - { - m_retcode = chRetcode; - m_keyword = strKeyword; - m_goods = vecGoods; - } - CCascRspGoodssearch& operator=( const CCascRspGoodssearch& cCascRspGoodssearch ) - { - m_retcode = cCascRspGoodssearch.m_retcode; - m_keyword = cCascRspGoodssearch.m_keyword; - m_goods = cCascRspGoodssearch.m_goods; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetKeyword () const { return m_keyword; } - bool SetKeyword ( const string& strKeyword ) - { - m_keyword = strKeyword; - return true; - } - const VECTOR< SGoodsInfo >& GetGoods () const { return m_goods; } - bool SetGoods ( const VECTOR< SGoodsInfo >& vecGoods ) - { - m_goods = vecGoods; - return true; - } -private: - uint8_t m_retcode; - string m_keyword; - VECTOR< SGoodsInfo > m_goods; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspGoodssearch::Size() const -{ - uint32_t nSize = 14; - nSize += m_keyword.length(); - for(uint32_t i = 0; i < m_goods.size(); i++) - { - nSize += m_goods[i].Size(); - } - return nSize; -} - -class CCascReqGoodssearchex : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_GOODSSEARCHEX - }; - CCascReqGoodssearchex() - { - } - - ~CCascReqGoodssearchex() { } - CCascReqGoodssearchex(const string& strKeyword) - { - m_keyword = strKeyword; - } - CCascReqGoodssearchex& operator=( const CCascReqGoodssearchex& cCascReqGoodssearchex ) - { - m_keyword = cCascReqGoodssearchex.m_keyword; - return *this; - } - - const string& GetKeyword () const { return m_keyword; } - bool SetKeyword ( const string& strKeyword ) - { - m_keyword = strKeyword; - return true; - } -private: - string m_keyword; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqGoodssearchex::Size() const -{ - uint32_t nSize = 6; - nSize += m_keyword.length(); - return nSize; -} - -class CCascRspGoodssearchex : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_GOODSSEARCHEX - }; - CCascRspGoodssearchex() - { - } - - ~CCascRspGoodssearchex() { } - CCascRspGoodssearchex(const uint8_t& chRetcode, const string& strKeyword, const VECTOR< SGoodsInfoEx >& vecGoods) - { - m_retcode = chRetcode; - m_keyword = strKeyword; - m_goods = vecGoods; - } - CCascRspGoodssearchex& operator=( const CCascRspGoodssearchex& cCascRspGoodssearchex ) - { - m_retcode = cCascRspGoodssearchex.m_retcode; - m_keyword = cCascRspGoodssearchex.m_keyword; - m_goods = cCascRspGoodssearchex.m_goods; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetKeyword () const { return m_keyword; } - bool SetKeyword ( const string& strKeyword ) - { - m_keyword = strKeyword; - return true; - } - const VECTOR< SGoodsInfoEx >& GetGoods () const { return m_goods; } - bool SetGoods ( const VECTOR< SGoodsInfoEx >& vecGoods ) - { - m_goods = vecGoods; - return true; - } -private: - uint8_t m_retcode; - string m_keyword; - VECTOR< SGoodsInfoEx > m_goods; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspGoodssearchex::Size() const -{ - uint32_t nSize = 14; - nSize += m_keyword.length(); - for(uint32_t i = 0; i < m_goods.size(); i++) - { - nSize += m_goods[i].Size(); - } - return nSize; -} - -class CCascReqWwcardInfo : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_WWCARD_INFO - }; - CCascReqWwcardInfo() - { - } - - ~CCascReqWwcardInfo() { } - CCascReqWwcardInfo(const uint8_t& chType, const string& strUid) - { - m_type = chType; - m_uid = strUid; - } - CCascReqWwcardInfo& operator=( const CCascReqWwcardInfo& cCascReqWwcardInfo ) - { - m_type = cCascReqWwcardInfo.m_type; - m_uid = cCascReqWwcardInfo.m_uid; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } -private: - uint8_t m_type; - string m_uid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqWwcardInfo::Size() const -{ - uint32_t nSize = 8; - nSize += m_uid.length(); - return nSize; -} - -class CCascRspWwcardInfo : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_WWCARD_INFO - }; - CCascRspWwcardInfo() - { - } - - ~CCascRspWwcardInfo() { } - CCascRspWwcardInfo(const uint8_t& chRetcode, const string& strUid, const uint8_t& chType, const string& strXmlstring, const string& strExtinfo) - { - m_retcode = chRetcode; - m_uid = strUid; - m_type = chType; - m_xmlstring = strXmlstring; - m_extinfo = strExtinfo; - } - CCascRspWwcardInfo& operator=( const CCascRspWwcardInfo& cCascRspWwcardInfo ) - { - m_retcode = cCascRspWwcardInfo.m_retcode; - m_uid = cCascRspWwcardInfo.m_uid; - m_type = cCascRspWwcardInfo.m_type; - m_xmlstring = cCascRspWwcardInfo.m_xmlstring; - m_extinfo = cCascRspWwcardInfo.m_extinfo; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetXmlstring () const { return m_xmlstring; } - bool SetXmlstring ( const string& strXmlstring ) - { - m_xmlstring = strXmlstring; - return true; - } - const string& GetExtinfo () const { return m_extinfo; } - bool SetExtinfo ( const string& strExtinfo ) - { - m_extinfo = strExtinfo; - return true; - } -private: - uint8_t m_retcode; - string m_uid; - uint8_t m_type; - string m_xmlstring; - string m_extinfo; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspWwcardInfo::Size() const -{ - uint32_t nSize = 20; - nSize += m_uid.length(); - nSize += m_xmlstring.length(); - nSize += m_extinfo.length(); - return nSize; -} - -class CCascReqWwcardLevel : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_WWCARD_LEVEL - }; - CCascReqWwcardLevel() - { - } - - ~CCascReqWwcardLevel() { } - CCascReqWwcardLevel(const string& strUid) - { - m_uid = strUid; - } - CCascReqWwcardLevel& operator=( const CCascReqWwcardLevel& cCascReqWwcardLevel ) - { - m_uid = cCascReqWwcardLevel.m_uid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } -private: - string m_uid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqWwcardLevel::Size() const -{ - uint32_t nSize = 6; - nSize += m_uid.length(); - return nSize; -} - -class CCascRspWwcardLevel : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_WWCARD_LEVEL - }; - CCascRspWwcardLevel() - { - } - - ~CCascRspWwcardLevel() { } - CCascRspWwcardLevel(const uint8_t& chRetcode, const string& strUid, const uint32_t& dwUserLevel, const uint32_t& dwTotalDegree, const uint32_t& dwNeedDegree, const VECTOR< uint8_t >& vecShowCount) - { - m_retcode = chRetcode; - m_uid = strUid; - m_userLevel = dwUserLevel; - m_totalDegree = dwTotalDegree; - m_needDegree = dwNeedDegree; - m_showCount = vecShowCount; - } - CCascRspWwcardLevel& operator=( const CCascRspWwcardLevel& cCascRspWwcardLevel ) - { - m_retcode = cCascRspWwcardLevel.m_retcode; - m_uid = cCascRspWwcardLevel.m_uid; - m_userLevel = cCascRspWwcardLevel.m_userLevel; - m_totalDegree = cCascRspWwcardLevel.m_totalDegree; - m_needDegree = cCascRspWwcardLevel.m_needDegree; - m_showCount = cCascRspWwcardLevel.m_showCount; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - const uint32_t& GetUserLevel () const { return m_userLevel; } - bool SetUserLevel ( const uint32_t& dwUserLevel ) - { - m_userLevel = dwUserLevel; - return true; - } - const uint32_t& GetTotalDegree () const { return m_totalDegree; } - bool SetTotalDegree ( const uint32_t& dwTotalDegree ) - { - m_totalDegree = dwTotalDegree; - return true; - } - const uint32_t& GetNeedDegree () const { return m_needDegree; } - bool SetNeedDegree ( const uint32_t& dwNeedDegree ) - { - m_needDegree = dwNeedDegree; - return true; - } - const VECTOR< uint8_t >& GetShowCount () const { return m_showCount; } - bool SetShowCount ( const VECTOR< uint8_t >& vecShowCount ) - { - m_showCount = vecShowCount; - return true; - } -private: - uint8_t m_retcode; - string m_uid; - uint32_t m_userLevel; - uint32_t m_totalDegree; - uint32_t m_needDegree; - VECTOR< uint8_t > m_showCount; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspWwcardLevel::Size() const -{ - uint32_t nSize = 29; - nSize += m_uid.length(); - nSize += m_showCount.size() * 1; - return nSize; -} - -class CCascReqWwcardSns : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_WWCARD_SNS - }; - CCascReqWwcardSns() - { - } - - ~CCascReqWwcardSns() { } - CCascReqWwcardSns(const string& strUid) - { - m_uid = strUid; - } - CCascReqWwcardSns& operator=( const CCascReqWwcardSns& cCascReqWwcardSns ) - { - m_uid = cCascReqWwcardSns.m_uid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } -private: - string m_uid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqWwcardSns::Size() const -{ - uint32_t nSize = 6; - nSize += m_uid.length(); - return nSize; -} - -class CCascRspWwcardSns : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_WWCARD_SNS - }; - CCascRspWwcardSns() - { - } - - ~CCascRspWwcardSns() { } - CCascRspWwcardSns(const uint8_t& chRetcode, const string& strUid, const string& strXmlstring) - { - m_retcode = chRetcode; - m_uid = strUid; - m_xmlstring = strXmlstring; - } - CCascRspWwcardSns& operator=( const CCascRspWwcardSns& cCascRspWwcardSns ) - { - m_retcode = cCascRspWwcardSns.m_retcode; - m_uid = cCascRspWwcardSns.m_uid; - m_xmlstring = cCascRspWwcardSns.m_xmlstring; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - const string& GetXmlstring () const { return m_xmlstring; } - bool SetXmlstring ( const string& strXmlstring ) - { - m_xmlstring = strXmlstring; - return true; - } -private: - uint8_t m_retcode; - string m_uid; - string m_xmlstring; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspWwcardSns::Size() const -{ - uint32_t nSize = 13; - nSize += m_uid.length(); - nSize += m_xmlstring.length(); - return nSize; -} - -class CCascReqWwcardEvaluate : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_WWCARD_EVALUATE - }; - CCascReqWwcardEvaluate() - { - } - - ~CCascReqWwcardEvaluate() { } - CCascReqWwcardEvaluate(const string& strUid) - { - m_uid = strUid; - } - CCascReqWwcardEvaluate& operator=( const CCascReqWwcardEvaluate& cCascReqWwcardEvaluate ) - { - m_uid = cCascReqWwcardEvaluate.m_uid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } -private: - string m_uid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqWwcardEvaluate::Size() const -{ - uint32_t nSize = 6; - nSize += m_uid.length(); - return nSize; -} - -class CCascRspWwcardEvaluate : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_WWCARD_EVALUATE - }; - CCascRspWwcardEvaluate() - { - } - - ~CCascRspWwcardEvaluate() { } - CCascRspWwcardEvaluate(const uint8_t& chRetcode, const string& strUid, const string& strXmlstring, const string& strExt) - { - m_retcode = chRetcode; - m_uid = strUid; - m_xmlstring = strXmlstring; - m_ext = strExt; - } - CCascRspWwcardEvaluate& operator=( const CCascRspWwcardEvaluate& cCascRspWwcardEvaluate ) - { - m_retcode = cCascRspWwcardEvaluate.m_retcode; - m_uid = cCascRspWwcardEvaluate.m_uid; - m_xmlstring = cCascRspWwcardEvaluate.m_xmlstring; - m_ext = cCascRspWwcardEvaluate.m_ext; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - const string& GetXmlstring () const { return m_xmlstring; } - bool SetXmlstring ( const string& strXmlstring ) - { - m_xmlstring = strXmlstring; - return true; - } - const string& GetExt () const { return m_ext; } - bool SetExt ( const string& strExt ) - { - m_ext = strExt; - return true; - } -private: - uint8_t m_retcode; - string m_uid; - string m_xmlstring; - string m_ext; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspWwcardEvaluate::Size() const -{ - uint32_t nSize = 18; - nSize += m_uid.length(); - nSize += m_xmlstring.length(); - nSize += m_ext.length(); - return nSize; -} - -class CCascReqWwcardFavorite : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_WWCARD_FAVORITE - }; - CCascReqWwcardFavorite() - { - } - - ~CCascReqWwcardFavorite() { } - CCascReqWwcardFavorite(const string& strUid) - { - m_uid = strUid; - } - CCascReqWwcardFavorite& operator=( const CCascReqWwcardFavorite& cCascReqWwcardFavorite ) - { - m_uid = cCascReqWwcardFavorite.m_uid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } -private: - string m_uid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqWwcardFavorite::Size() const -{ - uint32_t nSize = 6; - nSize += m_uid.length(); - return nSize; -} - -class CCascRspWwcardFavorite : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_WWCARD_FAVORITE - }; - CCascRspWwcardFavorite() - { - } - - ~CCascRspWwcardFavorite() { } - CCascRspWwcardFavorite(const uint8_t& chRetcode, const string& strUid, const string& strXmlstring) - { - m_retcode = chRetcode; - m_uid = strUid; - m_xmlstring = strXmlstring; - } - CCascRspWwcardFavorite& operator=( const CCascRspWwcardFavorite& cCascRspWwcardFavorite ) - { - m_retcode = cCascRspWwcardFavorite.m_retcode; - m_uid = cCascRspWwcardFavorite.m_uid; - m_xmlstring = cCascRspWwcardFavorite.m_xmlstring; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - const string& GetXmlstring () const { return m_xmlstring; } - bool SetXmlstring ( const string& strXmlstring ) - { - m_xmlstring = strXmlstring; - return true; - } -private: - uint8_t m_retcode; - string m_uid; - string m_xmlstring; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspWwcardFavorite::Size() const -{ - uint32_t nSize = 13; - nSize += m_uid.length(); - nSize += m_xmlstring.length(); - return nSize; -} - -class CCascReqTradeList : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_TRADE_LIST - }; - CCascReqTradeList() - { - } - - ~CCascReqTradeList() { } - CCascReqTradeList(const string& strReqstring) - { - m_reqstring = strReqstring; - } - CCascReqTradeList& operator=( const CCascReqTradeList& cCascReqTradeList ) - { - m_reqstring = cCascReqTradeList.m_reqstring; - return *this; - } - - const string& GetReqstring () const { return m_reqstring; } - bool SetReqstring ( const string& strReqstring ) - { - m_reqstring = strReqstring; - return true; - } -private: - string m_reqstring; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqTradeList::Size() const -{ - uint32_t nSize = 6; - nSize += m_reqstring.length(); - return nSize; -} - -class CCascRspTradeList : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_TRADE_LIST - }; - CCascRspTradeList() - { - } - - ~CCascRspTradeList() { } - CCascRspTradeList(const uint8_t& chRetcode, const string& strXmlstring) - { - m_retcode = chRetcode; - m_xmlstring = strXmlstring; - } - CCascRspTradeList& operator=( const CCascRspTradeList& cCascRspTradeList ) - { - m_retcode = cCascRspTradeList.m_retcode; - m_xmlstring = cCascRspTradeList.m_xmlstring; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetXmlstring () const { return m_xmlstring; } - bool SetXmlstring ( const string& strXmlstring ) - { - m_xmlstring = strXmlstring; - return true; - } -private: - uint8_t m_retcode; - string m_xmlstring; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspTradeList::Size() const -{ - uint32_t nSize = 8; - nSize += m_xmlstring.length(); - return nSize; -} - -class CCascRspTradeInfo : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_TRADE_INFO - }; - CCascRspTradeInfo() - { - } - - ~CCascRspTradeInfo() { } - CCascRspTradeInfo(const uint8_t& chRetcode, const string& strXmlstring) - { - m_retcode = chRetcode; - m_xmlstring = strXmlstring; - } - CCascRspTradeInfo& operator=( const CCascRspTradeInfo& cCascRspTradeInfo ) - { - m_retcode = cCascRspTradeInfo.m_retcode; - m_xmlstring = cCascRspTradeInfo.m_xmlstring; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetXmlstring () const { return m_xmlstring; } - bool SetXmlstring ( const string& strXmlstring ) - { - m_xmlstring = strXmlstring; - return true; - } -private: - uint8_t m_retcode; - string m_xmlstring; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspTradeInfo::Size() const -{ - uint32_t nSize = 8; - nSize += m_xmlstring.length(); - return nSize; -} - -class CCascReqEsexpandtab : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_ESEXPANDTAB - }; - CCascReqEsexpandtab() - { - } - - ~CCascReqEsexpandtab() { } - CCascReqEsexpandtab(const string& strReserve) - { - m_reserve = strReserve; - } - CCascReqEsexpandtab& operator=( const CCascReqEsexpandtab& cCascReqEsexpandtab ) - { - m_reserve = cCascReqEsexpandtab.m_reserve; - return *this; - } - - const string& GetReserve () const { return m_reserve; } - bool SetReserve ( const string& strReserve ) - { - m_reserve = strReserve; - return true; - } -private: - string m_reserve; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqEsexpandtab::Size() const -{ - uint32_t nSize = 6; - nSize += m_reserve.length(); - return nSize; -} - -struct SExpandinfo -{ -public: - SExpandinfo() - { - } - - ~SExpandinfo() { } - SExpandinfo(const string& strName, const string& strUrl, const string& strPicpath) - { - m_name = strName; - m_url = strUrl; - m_picpath = strPicpath; - } - SExpandinfo& operator=( const SExpandinfo& sExpandinfo ) - { - m_name = sExpandinfo.m_name; - m_url = sExpandinfo.m_url; - m_picpath = sExpandinfo.m_picpath; - return *this; - } - - string m_name; - string m_url; - string m_picpath; - -public: - uint32_t Size() const; -}; - -inline uint32_t SExpandinfo::Size() const -{ - uint32_t nSize = 16; - nSize += m_name.length(); - nSize += m_url.length(); - nSize += m_picpath.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SExpandinfo& sExpandinfo ); -CPackData& operator>> ( CPackData& cPackData, SExpandinfo& sExpandinfo ); - -class CCascRspEsexpandtab : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_ESEXPANDTAB - }; - CCascRspEsexpandtab() - { - } - - ~CCascRspEsexpandtab() { } - CCascRspEsexpandtab(const VECTOR< SExpandinfo >& vecExpandtabs) - { - m_expandtabs = vecExpandtabs; - } - CCascRspEsexpandtab& operator=( const CCascRspEsexpandtab& cCascRspEsexpandtab ) - { - m_expandtabs = cCascRspEsexpandtab.m_expandtabs; - return *this; - } - - const VECTOR< SExpandinfo >& GetExpandtabs () const { return m_expandtabs; } - bool SetExpandtabs ( const VECTOR< SExpandinfo >& vecExpandtabs ) - { - m_expandtabs = vecExpandtabs; - return true; - } -private: - VECTOR< SExpandinfo > m_expandtabs; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspEsexpandtab::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_expandtabs.size(); i++) - { - nSize += m_expandtabs[i].Size(); - } - return nSize; -} - -class CCascReqSendEseval : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_SEND_ESEVAL - }; - CCascReqSendEseval() - { - } - - ~CCascReqSendEseval() { } - CCascReqSendEseval(const string& strTargetuid) - { - m_targetuid = strTargetuid; - } - CCascReqSendEseval& operator=( const CCascReqSendEseval& cCascReqSendEseval ) - { - m_targetuid = cCascReqSendEseval.m_targetuid; - return *this; - } - - const string& GetTargetuid () const { return m_targetuid; } - bool SetTargetuid ( const string& strTargetuid ) - { - m_targetuid = strTargetuid; - return true; - } -private: - string m_targetuid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqSendEseval::Size() const -{ - uint32_t nSize = 6; - nSize += m_targetuid.length(); - return nSize; -} - -class CCascRspSendEseval : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_SEND_ESEVAL - }; - CCascRspSendEseval() : m_reserve("") - { - } - - ~CCascRspSendEseval() { } - CCascRspSendEseval(const string& strTargetuid, const uint8_t& chRet, const string& strReserve= "") - { - m_targetuid = strTargetuid; - m_ret = chRet; - m_reserve = strReserve; - } - CCascRspSendEseval& operator=( const CCascRspSendEseval& cCascRspSendEseval ) - { - m_targetuid = cCascRspSendEseval.m_targetuid; - m_ret = cCascRspSendEseval.m_ret; - m_reserve = cCascRspSendEseval.m_reserve; - return *this; - } - - const string& GetTargetuid () const { return m_targetuid; } - bool SetTargetuid ( const string& strTargetuid ) - { - m_targetuid = strTargetuid; - return true; - } - const uint8_t& GetRet () const { return m_ret; } - bool SetRet ( const uint8_t& chRet ) - { - m_ret = chRet; - return true; - } - const string& GetReserve () const { return m_reserve; } - bool SetReserve ( const string& strReserve ) - { - m_reserve = strReserve; - return true; - } -private: - string m_targetuid; - uint8_t m_ret; - string m_reserve; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspSendEseval::Size() const -{ - uint32_t nSize = 13; - nSize += m_targetuid.length(); - nSize += m_reserve.length(); - return nSize; -} - -class CCascReqGetcntlist : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_GETCNTLIST - }; - CCascReqGetcntlist() - { - } - - ~CCascReqGetcntlist() { } - CCascReqGetcntlist(const uint8_t& chType) - { - m_type = chType; - } - CCascReqGetcntlist& operator=( const CCascReqGetcntlist& cCascReqGetcntlist ) - { - m_type = cCascReqGetcntlist.m_type; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } -private: - uint8_t m_type; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqGetcntlist::Size() const -{ - return 3; -} -struct SCntinfo -{ -public: - SCntinfo() - { - } - - ~SCntinfo() { } - SCntinfo(const string& strContactid, const string& strNickname, const string& strGroupname, const string& strPrelogintime, const string& strCreatetime) - { - m_contactid = strContactid; - m_nickname = strNickname; - m_groupname = strGroupname; - m_prelogintime = strPrelogintime; - m_createtime = strCreatetime; - } - SCntinfo& operator=( const SCntinfo& sCntinfo ) - { - m_contactid = sCntinfo.m_contactid; - m_nickname = sCntinfo.m_nickname; - m_groupname = sCntinfo.m_groupname; - m_prelogintime = sCntinfo.m_prelogintime; - m_createtime = sCntinfo.m_createtime; - return *this; - } - - string m_contactid; - string m_nickname; - string m_groupname; - string m_prelogintime; - string m_createtime; - -public: - uint32_t Size() const; -}; - -inline uint32_t SCntinfo::Size() const -{ - uint32_t nSize = 26; - nSize += m_contactid.length(); - nSize += m_nickname.length(); - nSize += m_groupname.length(); - nSize += m_prelogintime.length(); - nSize += m_createtime.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SCntinfo& sCntinfo ); -CPackData& operator>> ( CPackData& cPackData, SCntinfo& sCntinfo ); - -class CCascRspGetcntlist : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_GETCNTLIST - }; - CCascRspGetcntlist() - { - } - - ~CCascRspGetcntlist() { } - CCascRspGetcntlist(const VECTOR< SCntinfo >& vecCntlist) - { - m_cntlist = vecCntlist; - } - CCascRspGetcntlist& operator=( const CCascRspGetcntlist& cCascRspGetcntlist ) - { - m_cntlist = cCascRspGetcntlist.m_cntlist; - return *this; - } - - const VECTOR< SCntinfo >& GetCntlist () const { return m_cntlist; } - bool SetCntlist ( const VECTOR< SCntinfo >& vecCntlist ) - { - m_cntlist = vecCntlist; - return true; - } -private: - VECTOR< SCntinfo > m_cntlist; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspGetcntlist::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_cntlist.size(); i++) - { - nSize += m_cntlist[i].Size(); - } - return nSize; -} - -class CCascReqAuthShellcmd : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_AUTH_SHELLCMD - }; - CCascReqAuthShellcmd() - { - } - - ~CCascReqAuthShellcmd() { } - CCascReqAuthShellcmd(const string& strCmdData, const string& strSign) - { - m_cmdData = strCmdData; - m_sign = strSign; - } - CCascReqAuthShellcmd& operator=( const CCascReqAuthShellcmd& cCascReqAuthShellcmd ) - { - m_cmdData = cCascReqAuthShellcmd.m_cmdData; - m_sign = cCascReqAuthShellcmd.m_sign; - return *this; - } - - const string& GetCmdData () const { return m_cmdData; } - bool SetCmdData ( const string& strCmdData ) - { - m_cmdData = strCmdData; - return true; - } - const string& GetSign () const { return m_sign; } - bool SetSign ( const string& strSign ) - { - m_sign = strSign; - return true; - } -private: - string m_cmdData; - string m_sign; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqAuthShellcmd::Size() const -{ - uint32_t nSize = 11; - nSize += m_cmdData.length(); - nSize += m_sign.length(); - return nSize; -} - -class CCascRspAuthShellcmd : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_AUTH_SHELLCMD - }; - CCascRspAuthShellcmd() - { - } - - ~CCascRspAuthShellcmd() { } - CCascRspAuthShellcmd(const uint8_t& chRetcode, const string& strCmdData) - { - m_retcode = chRetcode; - m_cmdData = strCmdData; - } - CCascRspAuthShellcmd& operator=( const CCascRspAuthShellcmd& cCascRspAuthShellcmd ) - { - m_retcode = cCascRspAuthShellcmd.m_retcode; - m_cmdData = cCascRspAuthShellcmd.m_cmdData; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetCmdData () const { return m_cmdData; } - bool SetCmdData ( const string& strCmdData ) - { - m_cmdData = strCmdData; - return true; - } -private: - uint8_t m_retcode; - string m_cmdData; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspAuthShellcmd::Size() const -{ - uint32_t nSize = 8; - nSize += m_cmdData.length(); - return nSize; -} - -class CCascReqWwMainsearch : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_WW_MAINSEARCH - }; - CCascReqWwMainsearch() - { - } - - ~CCascReqWwMainsearch() { } - CCascReqWwMainsearch(const string& strReqData) - { - m_reqData = strReqData; - } - CCascReqWwMainsearch& operator=( const CCascReqWwMainsearch& cCascReqWwMainsearch ) - { - m_reqData = cCascReqWwMainsearch.m_reqData; - return *this; - } - - const string& GetReqData () const { return m_reqData; } - bool SetReqData ( const string& strReqData ) - { - m_reqData = strReqData; - return true; - } -private: - string m_reqData; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqWwMainsearch::Size() const -{ - uint32_t nSize = 6; - nSize += m_reqData.length(); - return nSize; -} - -class CCascRspWwMainsearch : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_WW_MAINSEARCH - }; - CCascRspWwMainsearch() - { - } - - ~CCascRspWwMainsearch() { } - CCascRspWwMainsearch(const uint8_t& chRetcode, const string& strRspData) - { - m_retcode = chRetcode; - m_rspData = strRspData; - } - CCascRspWwMainsearch& operator=( const CCascRspWwMainsearch& cCascRspWwMainsearch ) - { - m_retcode = cCascRspWwMainsearch.m_retcode; - m_rspData = cCascRspWwMainsearch.m_rspData; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetRspData () const { return m_rspData; } - bool SetRspData ( const string& strRspData ) - { - m_rspData = strRspData; - return true; - } -private: - uint8_t m_retcode; - string m_rspData; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspWwMainsearch::Size() const -{ - uint32_t nSize = 8; - nSize += m_rspData.length(); - return nSize; -} - -class CCascReqGetUsercrinfo : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_GET_USERCRINFO - }; - CCascReqGetUsercrinfo() - { - } - - ~CCascReqGetUsercrinfo() { } - CCascReqGetUsercrinfo(const string& strUid, const string& strVersion) - { - m_uid = strUid; - m_version = strVersion; - } - CCascReqGetUsercrinfo& operator=( const CCascReqGetUsercrinfo& cCascReqGetUsercrinfo ) - { - m_uid = cCascReqGetUsercrinfo.m_uid; - m_version = cCascReqGetUsercrinfo.m_version; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - m_version = strVersion; - return true; - } -private: - string m_uid; - string m_version; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqGetUsercrinfo::Size() const -{ - uint32_t nSize = 11; - nSize += m_uid.length(); - nSize += m_version.length(); - return nSize; -} - -class CCascRspGetUsercrinfo : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_GET_USERCRINFO - }; - CCascRspGetUsercrinfo() - { - } - - ~CCascRspGetUsercrinfo() { } - CCascRspGetUsercrinfo(const uint32_t& dwRetcode, const uint8_t& chCrstate, const uint32_t& dwBegtime, const uint32_t& dwCrdays, const string& strExtmsg) - { - m_retcode = dwRetcode; - m_crstate = chCrstate; - m_begtime = dwBegtime; - m_crdays = dwCrdays; - m_extmsg = strExtmsg; - } - CCascRspGetUsercrinfo& operator=( const CCascRspGetUsercrinfo& cCascRspGetUsercrinfo ) - { - m_retcode = cCascRspGetUsercrinfo.m_retcode; - m_crstate = cCascRspGetUsercrinfo.m_crstate; - m_begtime = cCascRspGetUsercrinfo.m_begtime; - m_crdays = cCascRspGetUsercrinfo.m_crdays; - m_extmsg = cCascRspGetUsercrinfo.m_extmsg; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint8_t& GetCrstate () const { return m_crstate; } - bool SetCrstate ( const uint8_t& chCrstate ) - { - m_crstate = chCrstate; - return true; - } - const uint32_t& GetBegtime () const { return m_begtime; } - bool SetBegtime ( const uint32_t& dwBegtime ) - { - m_begtime = dwBegtime; - return true; - } - const uint32_t& GetCrdays () const { return m_crdays; } - bool SetCrdays ( const uint32_t& dwCrdays ) - { - m_crdays = dwCrdays; - return true; - } - const string& GetExtmsg () const { return m_extmsg; } - bool SetExtmsg ( const string& strExtmsg ) - { - m_extmsg = strExtmsg; - return true; - } -private: - uint32_t m_retcode; - uint8_t m_crstate; - uint32_t m_begtime; - uint32_t m_crdays; - string m_extmsg; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspGetUsercrinfo::Size() const -{ - uint32_t nSize = 23; - nSize += m_extmsg.length(); - return nSize; -} - -class CCascReqSetUsercrinfo : public CPackData -{ -public: - enum - { - CMD_ID = CASC_REQ_SET_USERCRINFO - }; - CCascReqSetUsercrinfo() - { - } - - ~CCascReqSetUsercrinfo() { } - CCascReqSetUsercrinfo(const string& strUid, const string& strVersion, const uint8_t& chCrstate) - { - m_uid = strUid; - m_version = strVersion; - m_crstate = chCrstate; - } - CCascReqSetUsercrinfo& operator=( const CCascReqSetUsercrinfo& cCascReqSetUsercrinfo ) - { - m_uid = cCascReqSetUsercrinfo.m_uid; - m_version = cCascReqSetUsercrinfo.m_version; - m_crstate = cCascReqSetUsercrinfo.m_crstate; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - m_version = strVersion; - return true; - } - const uint8_t& GetCrstate () const { return m_crstate; } - bool SetCrstate ( const uint8_t& chCrstate ) - { - m_crstate = chCrstate; - return true; - } -private: - string m_uid; - string m_version; - uint8_t m_crstate; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascReqSetUsercrinfo::Size() const -{ - uint32_t nSize = 13; - nSize += m_uid.length(); - nSize += m_version.length(); - return nSize; -} - -class CCascRspSetUsercrinfo : public CPackData -{ -public: - enum - { - CMD_ID = CASC_RSP_SET_USERCRINFO - }; - CCascRspSetUsercrinfo() - { - } - - ~CCascRspSetUsercrinfo() { } - CCascRspSetUsercrinfo(const uint32_t& dwRetcode, const uint8_t& chCrstate, const uint32_t& dwBegtime, const uint32_t& dwCrdays, const string& strExtmsg) - { - m_retcode = dwRetcode; - m_crstate = chCrstate; - m_begtime = dwBegtime; - m_crdays = dwCrdays; - m_extmsg = strExtmsg; - } - CCascRspSetUsercrinfo& operator=( const CCascRspSetUsercrinfo& cCascRspSetUsercrinfo ) - { - m_retcode = cCascRspSetUsercrinfo.m_retcode; - m_crstate = cCascRspSetUsercrinfo.m_crstate; - m_begtime = cCascRspSetUsercrinfo.m_begtime; - m_crdays = cCascRspSetUsercrinfo.m_crdays; - m_extmsg = cCascRspSetUsercrinfo.m_extmsg; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint8_t& GetCrstate () const { return m_crstate; } - bool SetCrstate ( const uint8_t& chCrstate ) - { - m_crstate = chCrstate; - return true; - } - const uint32_t& GetBegtime () const { return m_begtime; } - bool SetBegtime ( const uint32_t& dwBegtime ) - { - m_begtime = dwBegtime; - return true; - } - const uint32_t& GetCrdays () const { return m_crdays; } - bool SetCrdays ( const uint32_t& dwCrdays ) - { - m_crdays = dwCrdays; - return true; - } - const string& GetExtmsg () const { return m_extmsg; } - bool SetExtmsg ( const string& strExtmsg ) - { - m_extmsg = strExtmsg; - return true; - } -private: - uint32_t m_retcode; - uint8_t m_crstate; - uint32_t m_begtime; - uint32_t m_crdays; - string m_extmsg; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CCascRspSetUsercrinfo::Size() const -{ - uint32_t nSize = 23; - nSize += m_extmsg.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/chkss_pack.h b/features/aliww/include/chkss_pack.h deleted file mode 100644 index d9ee82c..0000000 --- a/features/aliww/include/chkss_pack.h +++ /dev/null @@ -1,101 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: chkss_pack.h -// Date: 2011-01-30 12:49:12 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __CHKSS_PACK_H__ -#define __CHKSS_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "ss_head.h" -#include "const_macro.h" - -using namespace std; - -enum CHKSS_REQUEST -{ - SS_HEALTH_CHECK = 0x1, - -}; - -class CSsHealthCheck : public CPackData -{ -public: - enum - { - CMD_ID = SS_HEALTH_CHECK - }; - CSsHealthCheck() - { - } - - ~CSsHealthCheck() { } - CSsHealthCheck(const uint8_t& chSrvstatus, const string& strSrvip, const uint16_t& wSrvport, const uint64_t& ullAppBitmap) - { - m_srvstatus = chSrvstatus; - m_srvip = strSrvip; - m_srvport = wSrvport; - m_appBitmap = ullAppBitmap; - } - CSsHealthCheck& operator=( const CSsHealthCheck& cSsHealthCheck ) - { - m_srvstatus = cSsHealthCheck.m_srvstatus; - m_srvip = cSsHealthCheck.m_srvip; - m_srvport = cSsHealthCheck.m_srvport; - m_appBitmap = cSsHealthCheck.m_appBitmap; - return *this; - } - - const uint8_t& GetSrvstatus () const { return m_srvstatus; } - bool SetSrvstatus ( const uint8_t& chSrvstatus ) - { - m_srvstatus = chSrvstatus; - return true; - } - const string& GetSrvip () const { return m_srvip; } - bool SetSrvip ( const string& strSrvip ) - { - m_srvip = strSrvip; - return true; - } - const uint16_t& GetSrvport () const { return m_srvport; } - bool SetSrvport ( const uint16_t& wSrvport ) - { - m_srvport = wSrvport; - return true; - } - const uint64_t& GetAppBitmap () const { return m_appBitmap; } - bool SetAppBitmap ( const uint64_t& ullAppBitmap ) - { - m_appBitmap = ullAppBitmap; - return true; - } -private: - uint8_t m_srvstatus; - string m_srvip; - uint16_t m_srvport; - uint64_t m_appBitmap; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsHealthCheck::Size() const -{ - uint32_t nSize = 20; - nSize += m_srvip.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/const_macro.h b/features/aliww/include/const_macro.h deleted file mode 100644 index 7372044..0000000 --- a/features/aliww/include/const_macro.h +++ /dev/null @@ -1,151 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: const_macro.h -// Date: 2011-02-22 11:43:26 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __CONST_MACRO_H__ -#define __CONST_MACRO_H__ - -#ifndef VERSION_LENGTH -#define VERSION_LENGTH 128 -#endif - -#ifndef LANG_LENGTH -#define LANG_LENGTH 32 -#endif - -#ifndef REMARK_LENGTH -#define REMARK_LENGTH 256 -#endif - -#ifndef UID_LENGTH -#define UID_LENGTH 64 -#endif - -#ifndef PWD_LENGTH -#define PWD_LENGTH 48 -#endif - -#ifndef KEY_LENGTH -#define KEY_LENGTH 16 -#endif - -#ifndef NICKNAME_LENGTH -#define NICKNAME_LENGTH 32 -#endif - -#ifndef MAXSEQID_LENGTH -#define MAXSEQID_LENGTH 20 -#endif - -#ifndef VERIFY_LENGTH -#define VERIFY_LENGTH 256 -#endif - -#ifndef SIGN_LENGTH -#define SIGN_LENGTH 1024 -#endif - -#ifndef IP_LENGTH -#define IP_LENGTH 15 -#endif - -#ifndef FILENAME_LENGTH -#define FILENAME_LENGTH 256 -#endif - -#ifndef SESSION_LENGTH -#define SESSION_LENGTH 64 -#endif - -#ifndef CONTENT_LENGTH -#define CONTENT_LENGTH 4000 -#endif - -#ifndef UID_PREFIX_LENGTH -#define UID_PREFIX_LENGTH 8 -#endif - -#ifndef TID_LENGTH -#define TID_LENGTH 20 -#endif - -#ifndef TBS_NAME_LENGTH -#define TBS_NAME_LENGTH 64 -#endif - -#ifndef TBS_MSG_LENGTH -#define TBS_MSG_LENGTH 512 -#endif - -#ifndef TBS_DATE_LEN -#define TBS_DATE_LEN 20 -#endif - -#ifndef TBS_PASS_LEN -#define TBS_PASS_LEN 20 -#endif - -#ifndef TBS_VALID_LEN -#define TBS_VALID_LEN 32 -#endif - -#ifndef TBS_KEYWORD_LEN -#define TBS_KEYWORD_LEN 64 -#endif - -#ifndef TBS_EXTSIGN_LEN -#define TBS_EXTSIGN_LEN 64 -#endif - -#ifndef SC_PROTOCOL_STARTER -#define SC_PROTOCOL_STARTER 0x88 -#endif - -#ifndef SS_PROTOCOL_STARTER -#define SS_PROTOCOL_STARTER 0xDA -#endif - -#ifndef SS_HEAD_CMD_POS -#define SS_HEAD_CMD_POS 0x08 -#endif - -#ifndef SS_HEAD_LEN_POS -#define SS_HEAD_LEN_POS 0x10 -#endif - -#ifndef MOBILE_LENGTH -#define MOBILE_LENGTH 16 -#endif - -#ifndef SMS_VALICODE_LENGTH -#define SMS_VALICODE_LENGTH 8 -#endif - -#ifndef SMS_ACCOUNT_LENGTH -#define SMS_ACCOUNT_LENGTH 64 -#endif - -#ifndef SMS_PASSWORD_LENGTH -#define SMS_PASSWORD_LENGTH 16 -#endif - -#ifndef SMS_TRANSACTION_ID_LENGTH -#define SMS_TRANSACTION_ID_LENGTH 32 -#endif - -#ifndef TIME_MAX_LENGTH -#define TIME_MAX_LENGTH 20 -#endif - -#ifndef DISCOUNT_LENGTH -#define DISCOUNT_LENGTH 4 -#endif - -#ifndef PASSWORD_LENGTH -#define PASSWORD_LENGTH 48 -#endif - -#endif diff --git a/features/aliww/include/contactdbservie.h b/features/aliww/include/contactdbservie.h deleted file mode 100644 index e4745cf..0000000 --- a/features/aliww/include/contactdbservie.h +++ /dev/null @@ -1,1286 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `contactdbservie.ice' - -#ifndef __contactdbservie_h__ -#define __contactdbservie_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIMDBBase -{ - -class IContactIMDBService; -bool operator==(const IContactIMDBService&, const IContactIMDBService&); -bool operator!=(const IContactIMDBService&, const IContactIMDBService&); -bool operator<(const IContactIMDBService&, const IContactIMDBService&); -bool operator<=(const IContactIMDBService&, const IContactIMDBService&); -bool operator>(const IContactIMDBService&, const IContactIMDBService&); -bool operator>=(const IContactIMDBService&, const IContactIMDBService&); - -} - -} - -namespace AliIMDBBase -{ - -class IContactIMDBService; -bool operator==(const IContactIMDBService&, const IContactIMDBService&); -bool operator!=(const IContactIMDBService&, const IContactIMDBService&); -bool operator<(const IContactIMDBService&, const IContactIMDBService&); -bool operator<=(const IContactIMDBService&, const IContactIMDBService&); -bool operator>(const IContactIMDBService&, const IContactIMDBService&); -bool operator>=(const IContactIMDBService&, const IContactIMDBService&); - -} - -namespace IceInternal -{ - -void incRef(::AliIMDBBase::IContactIMDBService*); -void decRef(::AliIMDBBase::IContactIMDBService*); - -void incRef(::IceProxy::AliIMDBBase::IContactIMDBService*); -void decRef(::IceProxy::AliIMDBBase::IContactIMDBService*); - -} - -namespace AliIMDBBase -{ - -typedef ::IceInternal::Handle< ::AliIMDBBase::IContactIMDBService> IContactIMDBServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIMDBBase::IContactIMDBService> IContactIMDBServicePrx; - -void __write(::IceInternal::BasicStream*, const IContactIMDBServicePrx&); -void __read(::IceInternal::BasicStream*, IContactIMDBServicePrx&); -void __write(::IceInternal::BasicStream*, const IContactIMDBServicePtr&); -void __patch__IContactIMDBServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IContactIMDBServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IContactIMDBServicePtr&); -void __decRefUnsafe(const IContactIMDBServicePtr&); -void __clearHandleUnsafe(IContactIMDBServicePtr&); - -} - -namespace AliIMDBBase -{ - -} - -namespace IceProxy -{ - -namespace AliIMDBBase -{ - -class IContactIMDBService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int CheckCanAddContact(const ::std::string& userId, const ::std::string& buddyId) - { - return CheckCanAddContact(userId, buddyId, 0); - } - ::Ice::Int CheckCanAddContact(const ::std::string& userId, const ::std::string& buddyId, const ::Ice::Context& __ctx) - { - return CheckCanAddContact(userId, buddyId, &__ctx); - } - -private: - - ::Ice::Int CheckCanAddContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactWebInfo(const ::std::string& userId, const ::std::string& buddyId, const ::AliIMDBBase::SUserWebBasicProfile& cntWebInfo) - { - return UpdateContactWebInfo(userId, buddyId, cntWebInfo, 0); - } - ::Ice::Int UpdateContactWebInfo(const ::std::string& userId, const ::std::string& buddyId, const ::AliIMDBBase::SUserWebBasicProfile& cntWebInfo, const ::Ice::Context& __ctx) - { - return UpdateContactWebInfo(userId, buddyId, cntWebInfo, &__ctx); - } - -private: - - ::Ice::Int UpdateContactWebInfo(const ::std::string&, const ::std::string&, const ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*); - -public: - - ::Ice::Int GetGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, ::Ice::Int& groupTimes) - { - return GetGroupList(userId, groupList, groupTimes, 0); - } - ::Ice::Int GetGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return GetGroupList(userId, groupList, groupTimes, &__ctx); - } - -private: - - ::Ice::Int GetGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetGroupListEx(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoExSeq& groupList, ::Ice::Int& groupTimes) - { - return GetGroupListEx(userId, groupList, groupTimes, 0); - } - ::Ice::Int GetGroupListEx(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoExSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return GetGroupListEx(userId, groupList, groupTimes, &__ctx); - } - -private: - - ::Ice::Int GetGroupListEx(const ::std::string&, ::AliIMDBBase::SICEGroupInfoExSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetContactList(const ::std::string& userId, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes) - { - return GetContactList(userId, getFlag, contactList, contactTimes, 0); - } - ::Ice::Int GetContactList(const ::std::string& userId, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return GetContactList(userId, getFlag, contactList, contactTimes, &__ctx); - } - -private: - - ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetBlackList(const ::std::string& userId, ::Ice::StringSeq& blackList, ::Ice::Int& blacklistTimes) - { - return GetBlackList(userId, blackList, blacklistTimes, 0); - } - ::Ice::Int GetBlackList(const ::std::string& userId, ::Ice::StringSeq& blackList, ::Ice::Int& blacklistTimes, const ::Ice::Context& __ctx) - { - return GetBlackList(userId, blackList, blacklistTimes, &__ctx); - } - -private: - - ::Ice::Int GetBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetReverseBlackList(const ::std::string& userId, ::Ice::StringSeq& reverseBlackList, ::Ice::Int& reverseBlacklistTimes) - { - return GetReverseBlackList(userId, reverseBlackList, reverseBlacklistTimes, 0); - } - ::Ice::Int GetReverseBlackList(const ::std::string& userId, ::Ice::StringSeq& reverseBlackList, ::Ice::Int& reverseBlacklistTimes, const ::Ice::Context& __ctx) - { - return GetReverseBlackList(userId, reverseBlackList, reverseBlacklistTimes, &__ctx); - } - -private: - - ::Ice::Int GetReverseBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetContactInfo(const ::std::string& userId, const ::std::string& contactId, ::AliIMDBBase::SICEContactInfo& contactInfo) - { - return GetContactInfo(userId, contactId, contactInfo, 0); - } - ::Ice::Int GetContactInfo(const ::std::string& userId, const ::std::string& contactId, ::AliIMDBBase::SICEContactInfo& contactInfo, const ::Ice::Context& __ctx) - { - return GetContactInfo(userId, contactId, contactInfo, &__ctx); - } - -private: - - ::Ice::Int GetContactInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEContactInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int AddGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, ::Ice::Int& groupTimes) - { - return AddGroup(userId, groupName, groupId, groupTimes, 0); - } - ::Ice::Int AddGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return AddGroup(userId, groupName, groupId, groupTimes, &__ctx); - } - -private: - - ::Ice::Int AddGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int AddGroupEx(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int parentId, ::Ice::Int& groupId, ::Ice::Int& groupTimes) - { - return AddGroupEx(userId, groupName, parentId, groupId, groupTimes, 0); - } - ::Ice::Int AddGroupEx(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int parentId, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return AddGroupEx(userId, groupName, parentId, groupId, groupTimes, &__ctx); - } - -private: - - ::Ice::Int AddGroupEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int AddBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes) - { - return AddBlackList(userId, blackId, blackListTimes, 0); - } - ::Ice::Int AddBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context& __ctx) - { - return AddBlackList(userId, blackId, blackListTimes, &__ctx); - } - -private: - - ::Ice::Int AddBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, ::Ice::Int& groupTimes) - { - return UpdateGroup(userId, groupName, groupId, groupTimes, 0); - } - ::Ice::Int UpdateGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return UpdateGroup(userId, groupName, groupId, groupTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int MoveGroup(const ::std::string& userId, ::Ice::Long groupId, ::Ice::Long newparentgid, ::Ice::Int& groupTimes) - { - return MoveGroup(userId, groupId, newparentgid, groupTimes, 0); - } - ::Ice::Int MoveGroup(const ::std::string& userId, ::Ice::Long groupId, ::Ice::Long newparentgid, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return MoveGroup(userId, groupId, newparentgid, groupTimes, &__ctx); - } - -private: - - ::Ice::Int MoveGroup(const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactNickName(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int& contactTimes) - { - return UpdateContactNickName(userId, contactId, nickName, contactTimes, 0); - } - ::Ice::Int UpdateContactNickName(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return UpdateContactNickName(userId, contactId, nickName, contactTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes) - { - return UpdateContactGroup(userId, contactId, srcGroupId, dstGroupId, contactTimes, 0); - } - ::Ice::Int UpdateContactGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return UpdateContactGroup(userId, contactId, srcGroupId, dstGroupId, contactTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateContactGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactStatus(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int status, ::Ice::Int& contactTimes) - { - return UpdateContactStatus(userId, contactId, status, contactTimes, 0); - } - ::Ice::Int UpdateContactStatus(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int status, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return UpdateContactStatus(userId, contactId, status, contactTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateContactStatus(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveGroup(const ::std::string& userId, ::Ice::Int groupId, ::Ice::Int& groupTimes) - { - return RemoveGroup(userId, groupId, groupTimes, 0); - } - ::Ice::Int RemoveGroup(const ::std::string& userId, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return RemoveGroup(userId, groupId, groupTimes, &__ctx); - } - -private: - - ::Ice::Int RemoveGroup(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes) - { - return RemoveContact(userId, contactId, contactTimes, 0); - } - ::Ice::Int RemoveContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return RemoveContact(userId, contactId, contactTimes, &__ctx); - } - -private: - - ::Ice::Int RemoveContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveInverfiedContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes) - { - return RemoveInverfiedContact(userId, contactId, contactTimes, 0); - } - ::Ice::Int RemoveInverfiedContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return RemoveInverfiedContact(userId, contactId, contactTimes, &__ctx); - } - -private: - - ::Ice::Int RemoveInverfiedContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes) - { - return RemoveBlackList(userId, blackId, blackListTimes, 0); - } - ::Ice::Int RemoveBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context& __ctx) - { - return RemoveBlackList(userId, blackId, blackListTimes, &__ctx); - } - -private: - - ::Ice::Int RemoveBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int IsBlackedByOther(const ::std::string& userId, const ::std::string& otheruid, bool& bBlacked) - { - return IsBlackedByOther(userId, otheruid, bBlacked, 0); - } - ::Ice::Int IsBlackedByOther(const ::std::string& userId, const ::std::string& otheruid, bool& bBlacked, const ::Ice::Context& __ctx) - { - return IsBlackedByOther(userId, otheruid, bBlacked, &__ctx); - } - -private: - - ::Ice::Int IsBlackedByOther(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveBatchContacts(const ::std::string& userId, const ::Ice::StringSeq& cids, ::Ice::StringSeq& retVect, ::Ice::Int& modifyCntTimes, ::Ice::Int& modifyGenCntTime) - { - return RemoveBatchContacts(userId, cids, retVect, modifyCntTimes, modifyGenCntTime, 0); - } - ::Ice::Int RemoveBatchContacts(const ::std::string& userId, const ::Ice::StringSeq& cids, ::Ice::StringSeq& retVect, ::Ice::Int& modifyCntTimes, ::Ice::Int& modifyGenCntTime, const ::Ice::Context& __ctx) - { - return RemoveBatchContacts(userId, cids, retVect, modifyCntTimes, modifyGenCntTime, &__ctx); - } - -private: - - ::Ice::Int RemoveBatchContacts(const ::std::string&, const ::Ice::StringSeq&, ::Ice::StringSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetAllContactList(const ::std::string& uid, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, ::Ice::Int& gencontacttimes) - { - return GetAllContactList(uid, getFlag, contactList, contactTimes, gencontacttimes, 0); - } - ::Ice::Int GetAllContactList(const ::std::string& uid, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, ::Ice::Int& gencontacttimes, const ::Ice::Context& __ctx) - { - return GetAllContactList(uid, getFlag, contactList, contactTimes, gencontacttimes, &__ctx); - } - -private: - - ::Ice::Int GetAllContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int AddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::AliIMDBBase::SUserWebBasicProfile& cntInfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid) - { - return AddContact(userId, contactId, nickName, groupId, status, cntInfo, contactTimes, retcid, retmodseqid, 0); - } - ::Ice::Int AddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::AliIMDBBase::SUserWebBasicProfile& cntInfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid, const ::Ice::Context& __ctx) - { - return AddContact(userId, contactId, nickName, groupId, status, cntInfo, contactTimes, retcid, retmodseqid, &__ctx); - } - -private: - - ::Ice::Int AddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int ModifyCntMemo(const ::std::string& uid, const ::std::string& cntid, const ::std::string& memo) - { - return ModifyCntMemo(uid, cntid, memo, 0); - } - ::Ice::Int ModifyCntMemo(const ::std::string& uid, const ::std::string& cntid, const ::std::string& memo, const ::Ice::Context& __ctx) - { - return ModifyCntMemo(uid, cntid, memo, &__ctx); - } - -private: - - ::Ice::Int ModifyCntMemo(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetCntMemo(const ::std::string& uid, const ::std::string& cntid, ::std::string& memo) - { - return GetCntMemo(uid, cntid, memo, 0); - } - ::Ice::Int GetCntMemo(const ::std::string& uid, const ::std::string& cntid, ::std::string& memo, const ::Ice::Context& __ctx) - { - return GetCntMemo(uid, cntid, memo, &__ctx); - } - -private: - - ::Ice::Int GetCntMemo(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int updateContactClientInfo(const ::std::string& uid, const ::std::string& cid, const ::std::string& data, ::Ice::Int& contactTimes) - { - return updateContactClientInfo(uid, cid, data, contactTimes, 0); - } - ::Ice::Int updateContactClientInfo(const ::std::string& uid, const ::std::string& cid, const ::std::string& data, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return updateContactClientInfo(uid, cid, data, contactTimes, &__ctx); - } - -private: - - ::Ice::Int updateContactClientInfo(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int checkContact(const ::std::string& uid, const ::std::string& contactId) - { - return checkContact(uid, contactId, 0); - } - ::Ice::Int checkContact(const ::std::string& uid, const ::std::string& contactId, const ::Ice::Context& __ctx) - { - return checkContact(uid, contactId, &__ctx); - } - -private: - - ::Ice::Int checkContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetContactDetailByUid(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail) - { - return GetContactDetailByUid(uid, cid, detail, 0); - } - ::Ice::Int GetContactDetailByUid(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context& __ctx) - { - return GetContactDetailByUid(uid, cid, detail, &__ctx); - } - -private: - - ::Ice::Int GetContactDetailByUid(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*); - -public: - - ::Ice::Int GetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail) - { - return GetContactDetail(uid, cid, detail, 0); - } - ::Ice::Int GetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context& __ctx) - { - return GetContactDetail(uid, cid, detail, &__ctx); - } - -private: - - ::Ice::Int GetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*); - -public: - - ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull& detail, ::std::string& retscid, ::std::string& retsmodseqid, ::Ice::Long& timeStamps) - { - return AddGenContactFull(detail, retscid, retsmodseqid, timeStamps, 0); - } - ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull& detail, ::std::string& retscid, ::std::string& retsmodseqid, ::Ice::Long& timeStamps, const ::Ice::Context& __ctx) - { - return AddGenContactFull(detail, retscid, retsmodseqid, timeStamps, &__ctx); - } - -private: - - ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull&, ::std::string&, ::std::string&, ::Ice::Long&, const ::Ice::Context*); - -public: - - ::Ice::Int DelGenContact(const ::std::string& uid, const ::std::string& cid, ::Ice::Long& contactTimes) - { - return DelGenContact(uid, cid, contactTimes, 0); - } - ::Ice::Int DelGenContact(const ::std::string& uid, const ::std::string& cid, ::Ice::Long& contactTimes, const ::Ice::Context& __ctx) - { - return DelGenContact(uid, cid, contactTimes, &__ctx); - } - -private: - - ::Ice::Int DelGenContact(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckUpgradeGenCnt(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId) - { - return CheckUpgradeGenCnt(uid, cid, contactId, 0); - } - ::Ice::Int CheckUpgradeGenCnt(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, const ::Ice::Context& __ctx) - { - return CheckUpgradeGenCnt(uid, cid, contactId, &__ctx); - } - -private: - - ::Ice::Int CheckUpgradeGenCnt(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpgradeGenContact(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& modseqid) - { - return UpgradeGenContact(uid, cid, contactId, cntstamp, gencntstamp, modseqid, 0); - } - ::Ice::Int UpgradeGenContact(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& modseqid, const ::Ice::Context& __ctx) - { - return UpgradeGenContact(uid, cid, contactId, cntstamp, gencntstamp, modseqid, &__ctx); - } - -private: - - ::Ice::Int UpgradeGenContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUpdatedUserInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& retcid, ::std::string& modseqid, ::Ice::Long& groupid, ::std::string& nickname) - { - return GetUpdatedUserInfo(uid, contactId, cntstamp, gencntstamp, retcid, modseqid, groupid, nickname, 0); - } - ::Ice::Int GetUpdatedUserInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& retcid, ::std::string& modseqid, ::Ice::Long& groupid, ::std::string& nickname, const ::Ice::Context& __ctx) - { - return GetUpdatedUserInfo(uid, contactId, cntstamp, gencntstamp, retcid, modseqid, groupid, nickname, &__ctx); - } - -private: - - ::Ice::Int GetUpdatedUserInfo(const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, ::std::string&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid) - { - return ModifyContactDetail(detail, gencntmodifyVersion, modseqid, 0); - } - ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid, const ::Ice::Context& __ctx) - { - return ModifyContactDetail(detail, gencntmodifyVersion, modseqid, &__ctx); - } - -private: - - ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactGroupByCid(const ::std::string& userId, const ::std::string& cid, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes) - { - return UpdateContactGroupByCid(userId, cid, srcGroupId, dstGroupId, contactTimes, 0); - } - ::Ice::Int UpdateContactGroupByCid(const ::std::string& userId, const ::std::string& cid, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return UpdateContactGroupByCid(userId, cid, srcGroupId, dstGroupId, contactTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateContactGroupByCid(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactNickNameByCid(const ::std::string& userId, const ::std::string& cid, const ::std::string& nickName, ::Ice::Int& contactTimes) - { - return UpdateContactNickNameByCid(userId, cid, nickName, contactTimes, 0); - } - ::Ice::Int UpdateContactNickNameByCid(const ::std::string& userId, const ::std::string& cid, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return UpdateContactNickNameByCid(userId, cid, nickName, contactTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateContactNickNameByCid(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetCntModifyList(::Ice::Int getFlag, const ::std::string& uid, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntCidModPairSeq& cntList) - { - return GetCntModifyList(getFlag, uid, sMaxSeqId, cntList, 0); - } - ::Ice::Int GetCntModifyList(::Ice::Int getFlag, const ::std::string& uid, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntCidModPairSeq& cntList, const ::Ice::Context& __ctx) - { - return GetCntModifyList(getFlag, uid, sMaxSeqId, cntList, &__ctx); - } - -private: - - ::Ice::Int GetCntModifyList(::Ice::Int, const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntCidModPairSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int addUser(const ::std::string& uid) - { - return addUser(uid, 0); - } - ::Ice::Int addUser(const ::std::string& uid, const ::Ice::Context& __ctx) - { - return addUser(uid, &__ctx); - } - -private: - - ::Ice::Int addUser(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int addChildUser(const ::std::string& uid) - { - return addChildUser(uid, 0); - } - ::Ice::Int addChildUser(const ::std::string& uid, const ::Ice::Context& __ctx) - { - return addChildUser(uid, &__ctx); - } - -private: - - ::Ice::Int addChildUser(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetMultiAccountContactList(const ::std::string& uid, ::AliIMDBBase::SICEContactInfoSeq& contactIdList) - { - return GetMultiAccountContactList(uid, contactIdList, 0); - } - ::Ice::Int GetMultiAccountContactList(const ::std::string& uid, ::AliIMDBBase::SICEContactInfoSeq& contactIdList, const ::Ice::Context& __ctx) - { - return GetMultiAccountContactList(uid, contactIdList, &__ctx); - } - -private: - - ::Ice::Int GetMultiAccountContactList(const ::std::string&, ::AliIMDBBase::SICEContactInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int atmAddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::atmWebMember::sContactInfo& cinfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid) - { - return atmAddContact(userId, contactId, nickName, groupId, status, cinfo, contactTimes, retcid, retmodseqid, 0); - } - ::Ice::Int atmAddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::atmWebMember::sContactInfo& cinfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid, const ::Ice::Context& __ctx) - { - return atmAddContact(userId, contactId, nickName, groupId, status, cinfo, contactTimes, retcid, retmodseqid, &__ctx); - } - -private: - - ::Ice::Int atmAddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::atmWebMember::sContactInfo&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int atmGetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEATMGenContactFull& detail) - { - return atmGetContactDetail(uid, cid, detail, 0); - } - ::Ice::Int atmGetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEATMGenContactFull& detail, const ::Ice::Context& __ctx) - { - return atmGetContactDetail(uid, cid, detail, &__ctx); - } - -private: - - ::Ice::Int atmGetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEATMGenContactFull&, const ::Ice::Context*); - -public: - - ::Ice::Int atmModifyContactDetail(const ::AliIMDBBase::SICEATMGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid) - { - return atmModifyContactDetail(detail, gencntmodifyVersion, modseqid, 0); - } - ::Ice::Int atmModifyContactDetail(const ::AliIMDBBase::SICEATMGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid, const ::Ice::Context& __ctx) - { - return atmModifyContactDetail(detail, gencntmodifyVersion, modseqid, &__ctx); - } - -private: - - ::Ice::Int atmModifyContactDetail(const ::AliIMDBBase::SICEATMGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIMDBBase -{ - -class IContactIMDBService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int CheckCanAddContact(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactWebInfo(const ::std::string&, const ::std::string&, const ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetGroupListEx(const ::std::string&, ::AliIMDBBase::SICEGroupInfoExSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetReverseBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetContactInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEContactInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddGroupEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int MoveGroup(const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactStatus(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveGroup(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveInverfiedContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int IsBlackedByOther(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveBatchContacts(const ::std::string&, const ::Ice::StringSeq&, ::Ice::StringSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAllContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ModifyCntMemo(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetCntMemo(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateContactClientInfo(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkContact(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetContactDetailByUid(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull&, ::std::string&, ::std::string&, ::Ice::Long&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelGenContact(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckUpgradeGenCnt(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpgradeGenContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUpdatedUserInfo(const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, ::std::string&, ::Ice::Long&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactGroupByCid(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactNickNameByCid(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetCntModifyList(::Ice::Int, const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntCidModPairSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int addUser(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int addChildUser(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetMultiAccountContactList(const ::std::string&, ::AliIMDBBase::SICEContactInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int atmAddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::atmWebMember::sContactInfo&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int atmGetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEATMGenContactFull&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int atmModifyContactDetail(const ::AliIMDBBase::SICEATMGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIMDBBase -{ - -class IContactIMDBService : virtual public ::IceDelegate::AliIMDBBase::IContactIMDBService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int CheckCanAddContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactWebInfo(const ::std::string&, const ::std::string&, const ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*); - - virtual ::Ice::Int GetGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetGroupListEx(const ::std::string&, ::AliIMDBBase::SICEGroupInfoExSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetReverseBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEContactInfo&, const ::Ice::Context*); - - virtual ::Ice::Int AddGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddGroupEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int MoveGroup(const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactStatus(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveGroup(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveInverfiedContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int IsBlackedByOther(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveBatchContacts(const ::std::string&, const ::Ice::StringSeq&, ::Ice::StringSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ModifyCntMemo(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetCntMemo(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateContactClientInfo(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int checkContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactDetailByUid(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*); - - virtual ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull&, ::std::string&, ::std::string&, ::Ice::Long&, const ::Ice::Context*); - - virtual ::Ice::Int DelGenContact(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUpgradeGenCnt(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpgradeGenContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUpdatedUserInfo(const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, ::std::string&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactGroupByCid(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactNickNameByCid(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetCntModifyList(::Ice::Int, const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntCidModPairSeq&, const ::Ice::Context*); - - virtual ::Ice::Int addUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int addChildUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetMultiAccountContactList(const ::std::string&, ::AliIMDBBase::SICEContactInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int atmAddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::atmWebMember::sContactInfo&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int atmGetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEATMGenContactFull&, const ::Ice::Context*); - - virtual ::Ice::Int atmModifyContactDetail(const ::AliIMDBBase::SICEATMGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIMDBBase -{ - -class IContactIMDBService : virtual public ::IceDelegate::AliIMDBBase::IContactIMDBService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int CheckCanAddContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactWebInfo(const ::std::string&, const ::std::string&, const ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*); - - virtual ::Ice::Int GetGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetGroupListEx(const ::std::string&, ::AliIMDBBase::SICEGroupInfoExSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetReverseBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEContactInfo&, const ::Ice::Context*); - - virtual ::Ice::Int AddGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddGroupEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int MoveGroup(const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactStatus(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveGroup(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveInverfiedContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int IsBlackedByOther(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveBatchContacts(const ::std::string&, const ::Ice::StringSeq&, ::Ice::StringSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ModifyCntMemo(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetCntMemo(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateContactClientInfo(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int checkContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactDetailByUid(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*); - - virtual ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull&, ::std::string&, ::std::string&, ::Ice::Long&, const ::Ice::Context*); - - virtual ::Ice::Int DelGenContact(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUpgradeGenCnt(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpgradeGenContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUpdatedUserInfo(const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, ::std::string&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactGroupByCid(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactNickNameByCid(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetCntModifyList(::Ice::Int, const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntCidModPairSeq&, const ::Ice::Context*); - - virtual ::Ice::Int addUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int addChildUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetMultiAccountContactList(const ::std::string&, ::AliIMDBBase::SICEContactInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int atmAddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::atmWebMember::sContactInfo&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int atmGetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEATMGenContactFull&, const ::Ice::Context*); - - virtual ::Ice::Int atmModifyContactDetail(const ::AliIMDBBase::SICEATMGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIMDBBase -{ - -class IContactIMDBService : virtual public ::Ice::Object -{ -public: - - typedef IContactIMDBServicePrx ProxyType; - typedef IContactIMDBServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int CheckCanAddContact(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckCanAddContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateContactWebInfo(const ::std::string&, const ::std::string&, const ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactWebInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetGroupList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetGroupListEx(const ::std::string&, ::AliIMDBBase::SICEGroupInfoExSeq&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetGroupListEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetContactList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetBlackList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetReverseBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetReverseBlackList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetContactInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEContactInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetContactInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddGroupEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddGroupEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddBlackList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int MoveGroup(const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___MoveGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactNickName(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateContactGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateContactStatus(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int RemoveGroup(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int RemoveContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int RemoveInverfiedContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveInverfiedContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int RemoveBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveBlackList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int IsBlackedByOther(const ::std::string&, const ::std::string&, bool&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___IsBlackedByOther(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int RemoveBatchContacts(const ::std::string&, const ::Ice::StringSeq&, ::Ice::StringSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveBatchContacts(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetAllContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAllContactList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int ModifyCntMemo(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ModifyCntMemo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetCntMemo(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetCntMemo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateContactClientInfo(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateContactClientInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int checkContact(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetContactDetailByUid(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetContactDetailByUid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetContactDetail(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull&, ::std::string&, ::std::string&, ::Ice::Long&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddGenContactFull(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DelGenContact(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelGenContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int CheckUpgradeGenCnt(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUpgradeGenCnt(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpgradeGenContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpgradeGenContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetUpdatedUserInfo(const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, ::std::string&, ::Ice::Long&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUpdatedUserInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ModifyContactDetail(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateContactGroupByCid(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactGroupByCid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateContactNickNameByCid(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactNickNameByCid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetCntModifyList(::Ice::Int, const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntCidModPairSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetCntModifyList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int addUser(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int addChildUser(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addChildUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetMultiAccountContactList(const ::std::string&, ::AliIMDBBase::SICEContactInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetMultiAccountContactList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int atmAddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::atmWebMember::sContactInfo&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___atmAddContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int atmGetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEATMGenContactFull&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___atmGetContactDetail(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int atmModifyContactDetail(const ::AliIMDBBase::SICEATMGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___atmModifyContactDetail(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IContactIMDBServicePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/cow_container b/features/aliww/include/cow_container deleted file mode 100644 index 8d0ce5a..0000000 --- a/features/aliww/include/cow_container +++ /dev/null @@ -1,387 +0,0 @@ -#ifndef _COW_CONTAINER_ -#define _COW_CONTAINER_ - -#ifdef _WIN32 -#include -#else -#include -#endif -#include -#include -#include - -using namespace __gnu_cxx; -template -class cow_struct -{ -public: - cow_struct() - { - m_pCowNode = new cow_node; - m_pCowNode->m_refCount = 0; - } - cow_struct(const cow_struct& __cc) - { - m_pCowNode = __cc.m_pCowNode; -#ifdef _WIN32 - _InterlockedIncrement(&m_pCowNode->m_refCount); -#else - __atomic_add(&m_pCowNode->m_refCount, 1); -#endif - } - cow_struct(const _Tp& __cc) - { - m_pCowNode = new cow_node; - m_pCowNode->m_refCount = 0; - m_pCowNode->m_data = __cc; - } - ~cow_struct() - { -#ifdef _WIN32 - if(_InterlockedDecrement(&m_pCowNode->m_refCount) < 0) -#else - if(__exchange_and_add(&m_pCowNode->m_refCount, -1) <= 0) -#endif - delete m_pCowNode; - } - cow_struct &operator=(const cow_struct& __cc) - { - if(m_pCowNode != __cc.m_pCowNode) { -#ifdef _WIN32 - if(_InterlockedDecrement(&m_pCowNode->m_refCount) < 0) -#else - if(__exchange_and_add(&m_pCowNode->m_refCount, -1) <= 0) -#endif - delete m_pCowNode; - m_pCowNode = __cc.m_pCowNode; -#ifdef _WIN32 - _InterlockedIncrement(&m_pCowNode->m_refCount); -#else - __atomic_add(&m_pCowNode->m_refCount, 1); -#endif - } - return *this; - } - cow_struct &operator=(const _Tp& __cc) - { -#ifdef _WIN32 - if(_InterlockedDecrement(&m_pCowNode->m_refCount) < 0) -#else - if(__exchange_and_add(&m_pCowNode->m_refCount, -1) <= 0) -#endif - delete m_pCowNode; - m_pCowNode = new cow_node; - m_pCowNode->m_refCount = 0; - m_pCowNode->m_data = __cc; - return *this; - } - const _Tp& data() const - { - return m_pCowNode->m_data; - } -protected: - struct cow_node - { -#ifdef _WIN32 - long m_refCount; -#else - int m_refCount; -#endif - _Tp m_data; - }; - cow_node *m_pCowNode; -protected: - void do_copy() - { - if(m_pCowNode->m_refCount > 0) - { - cow_node* newNode = new cow_node; - newNode->m_refCount = 0; - newNode->m_data = m_pCowNode->m_data; -#ifdef _WIN32 - if(_InterlockedDecrement(&m_pCowNode->m_refCount) < 0) -#else - if(__exchange_and_add(&m_pCowNode->m_refCount, -1) <= 0) -#endif - delete m_pCowNode; - m_pCowNode = newNode; - } - } -}; - -template -class cow_container : public cow_struct<_Tp> -{ -protected: - typedef cow_struct<_Tp> _BaseStruct; - using _BaseStruct::do_copy; - using _BaseStruct::m_pCowNode; - -public: - typedef typename _Tp::value_type value_type; - typedef typename _Tp::reference reference; - typedef typename _Tp::const_reference const_reference; - typedef typename _Tp::iterator iterator; - typedef typename _Tp::const_iterator const_iterator; - typedef typename _Tp::size_type size_type; - typedef std::reverse_iterator const_reverse_iterator; - typedef std::reverse_iterator reverse_iterator; - typedef typename _BaseStruct::cow_node cow_node; - - using _BaseStruct::operator=; - - cow_container() : cow_struct<_Tp>() { }; - cow_container(const _Tp& _v) - { - *this = _v; - } - cow_container(const_iterator _begin, const_iterator _end) - { - m_pCowNode = new cow_node; - m_pCowNode->m_refCount = 0; - const_iterator itr; - for(itr = _begin(); itr != _end; ++itr) { - m_pCowNode->m_data.push_back(*itr); - } - } - cow_container(const_iterator _begin, size_t _n) - { - m_pCowNode = new cow_node; - m_pCowNode->m_refCount = 0; - const_iterator itr; - for(itr = _begin(); itr < _begin + _n; ++itr) { - m_pCowNode->m_data.push_back(*itr); - } - } - const_iterator begin() const - { - return m_pCowNode->m_data.begin(); - } - const_iterator end() const - { - return m_pCowNode->m_data.end(); - } - const_iterator cbegin() const - { - return m_pCowNode->m_data.begin(); - } - const_iterator cend() const - { - return m_pCowNode->m_data.end(); - } - const_reverse_iterator rbegin() const - { - return m_pCowNode->m_data.rbegin(); - } - const_reverse_iterator rend() const - { - return m_pCowNode->m_data.rend(); - } - const_reverse_iterator crbegin() - { - return m_pCowNode->m_data.rbegin(); - } - const_reverse_iterator crend() - { - return m_pCowNode->m_data.rend(); - } - iterator begin() - { - do_copy(); - return m_pCowNode->m_data.begin(); - } - iterator end() - { - do_copy(); - return m_pCowNode->m_data.end(); - } - reverse_iterator rbegin() - { - do_copy(); - return m_pCowNode->m_data.rbegin(); - } - reverse_iterator rend() - { - do_copy(); - return m_pCowNode->m_data.rend(); - } - bool empty() const - { - return m_pCowNode->m_data.empty(); - } - size_type size() const - { - return m_pCowNode->m_data.size(); - } - const_reference front() const - { - return m_pCowNode->m_data.front(); - } - const_reference back() const - { - return m_pCowNode->m_data.back(); - } - const_reference cfront() const - { - return m_pCowNode->m_data.front(); - } - const_reference cback() const - { - return m_pCowNode->m_data.back(); - } - reference front() - { - do_copy(); - return m_pCowNode->m_data.front(); - } - reference back() - { - do_copy(); - return m_pCowNode->m_data.back(); - } - void push_back(const value_type& _val) - { - do_copy(); - m_pCowNode->m_data.push_back(_val); - } - void pop_back() - { - do_copy(); - m_pCowNode->m_data.pop_back(); - } - iterator insert(iterator __position, const value_type& __x) - { - do_copy(); - return m_pCowNode->m_data.insert(__position, __x); - } - iterator insert(iterator __position, const_iterator __first, const_iterator __last) - { - do_copy(); - return m_pCowNode->m_data.insert(__position, __first, __last); - } - iterator erase(iterator __position) - { - do_copy(); - return m_pCowNode->m_data.erase(__position); - } - iterator erase(iterator __first, iterator __last) - { - do_copy(); - return m_pCowNode->m_data.erase(__first, __last); - } - void clear() - { - do_copy(); - m_pCowNode->m_data.clear(); - } -}; - -template -class VECTOR : public cow_container< std::vector<_Tp> > -{ - typedef _Tp& reference; - typedef const _Tp& const_reference; - typedef typename std::vector<_Tp>::size_type size_type; - using cow_container< std::vector<_Tp> >::m_pCowNode; - using cow_container< std::vector<_Tp> >::do_copy; - -public: - using cow_container< std::vector<_Tp> >::operator=; - VECTOR<_Tp>() : cow_container< std::vector<_Tp> >() { } - VECTOR<_Tp> (const std::vector<_Tp>& _v) - { - *this = _v; - } - const_reference operator[](size_type _n) const - { - return m_pCowNode->m_data[_n]; - } - reference operator[](size_type _n) - { - do_copy(); - return m_pCowNode->m_data[_n]; - } - void reserve(size_type _n) - { - do_copy(); - m_pCowNode->m_data.reserve(_n); - } - void resize(size_type _n) - { - do_copy(); - m_pCowNode->m_data.resize(_n); - } -}; - -template -class CLIST : public cow_container< std::list<_Tp> > -{ - typedef _Tp& reference; - typedef const _Tp& const_reference; - using cow_container< std::list<_Tp> >::m_pCowNode; - using cow_container< std::list<_Tp> >::do_copy; -public: - using cow_container< std::list<_Tp> >::operator=; - CLIST<_Tp>() : cow_container< std::list<_Tp> >() { } - CLIST<_Tp> (const std::list<_Tp>& _v) - { - *this = _v; - } - - void push_front(const_reference _val) - { - do_copy(); - m_pCowNode->m_data.push_front(_val); - } - void pop_front() - { - do_copy(); - m_pCowNode->m_data.pop_front(); - } -}; - -template -class CDEQUE : public cow_container< std::deque<_Tp> > -{ - typedef _Tp& reference; - typedef const _Tp& const_reference; - typedef typename std::deque<_Tp>::size_type size_type; - using cow_container< std::deque<_Tp> >::m_pCowNode; - using cow_container< std::deque<_Tp> >::do_copy; - -public: - using cow_container< std::deque<_Tp> >::operator=; - CDEQUE<_Tp>() : cow_container< std::deque<_Tp> >() { } - CDEQUE<_Tp> (const std::deque<_Tp>& _v) - { - *this = _v; - } - const_reference operator[](size_type _n) const - { - return m_pCowNode->m_data[_n]; - } - reference operator[](size_type _n) - { - do_copy(); - return m_pCowNode->m_data[_n]; - } - - void push_front(const_reference _val) - { - do_copy(); - m_pCowNode->m_data.push_front(_val); - } - void pop_front() - { - do_copy(); - m_pCowNode->m_data.pop_front(); - } - void resize(size_type _n) - { - do_copy(); - m_pCowNode->m_data.resize(_n); - } -}; - -#endif - diff --git a/features/aliww/include/crcservice.h b/features/aliww/include/crcservice.h deleted file mode 100644 index 2651f77..0000000 --- a/features/aliww/include/crcservice.h +++ /dev/null @@ -1,374 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `crcservice.ice' - -#ifndef __crcservice_h__ -#define __crcservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace CRCSERVICE -{ - -class CRCSInterface; -bool operator==(const CRCSInterface&, const CRCSInterface&); -bool operator!=(const CRCSInterface&, const CRCSInterface&); -bool operator<(const CRCSInterface&, const CRCSInterface&); -bool operator<=(const CRCSInterface&, const CRCSInterface&); -bool operator>(const CRCSInterface&, const CRCSInterface&); -bool operator>=(const CRCSInterface&, const CRCSInterface&); - -} - -} - -namespace CRCSERVICE -{ - -class CRCSInterface; -bool operator==(const CRCSInterface&, const CRCSInterface&); -bool operator!=(const CRCSInterface&, const CRCSInterface&); -bool operator<(const CRCSInterface&, const CRCSInterface&); -bool operator<=(const CRCSInterface&, const CRCSInterface&); -bool operator>(const CRCSInterface&, const CRCSInterface&); -bool operator>=(const CRCSInterface&, const CRCSInterface&); - -} - -namespace IceInternal -{ - -void incRef(::CRCSERVICE::CRCSInterface*); -void decRef(::CRCSERVICE::CRCSInterface*); - -void incRef(::IceProxy::CRCSERVICE::CRCSInterface*); -void decRef(::IceProxy::CRCSERVICE::CRCSInterface*); - -} - -namespace CRCSERVICE -{ - -typedef ::IceInternal::Handle< ::CRCSERVICE::CRCSInterface> CRCSInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::CRCSERVICE::CRCSInterface> CRCSInterfacePrx; - -void __write(::IceInternal::BasicStream*, const CRCSInterfacePrx&); -void __read(::IceInternal::BasicStream*, CRCSInterfacePrx&); -void __write(::IceInternal::BasicStream*, const CRCSInterfacePtr&); -void __patch__CRCSInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const CRCSInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const CRCSInterfacePtr&); -void __decRefUnsafe(const CRCSInterfacePtr&); -void __clearHandleUnsafe(CRCSInterfacePtr&); - -} - -namespace CRCSERVICE -{ - -struct CRDateInfo -{ - ::Ice::Int beginDay; - ::Ice::Int dayCount; - - bool operator==(const CRDateInfo&) const; - bool operator!=(const CRDateInfo&) const; - bool operator<(const CRDateInfo&) const; - bool operator<=(const CRDateInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const CRDateInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const CRDateInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct UserCRInfo -{ - ::Ice::Int cmdID; - ::Ice::Int beginTime; - - bool operator==(const UserCRInfo&) const; - bool operator!=(const UserCRInfo&) const; - bool operator<(const UserCRInfo&) const; - bool operator<=(const UserCRInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const UserCRInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const UserCRInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -} - -namespace IceProxy -{ - -namespace CRCSERVICE -{ - -class CRCSInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int GetChatRoamingServiceState() - { - return GetChatRoamingServiceState(0); - } - ::Ice::Int GetChatRoamingServiceState(const ::Ice::Context& __ctx) - { - return GetChatRoamingServiceState(&__ctx); - } - -private: - - ::Ice::Int GetChatRoamingServiceState(const ::Ice::Context*); - -public: - - ::Ice::Int GetCRDays(const ::std::string& id, const ::std::string& version, ::CRCSERVICE::CRDateInfo& info) - { - return GetCRDays(id, version, info, 0); - } - ::Ice::Int GetCRDays(const ::std::string& id, const ::std::string& version, ::CRCSERVICE::CRDateInfo& info, const ::Ice::Context& __ctx) - { - return GetCRDays(id, version, info, &__ctx); - } - -private: - - ::Ice::Int GetCRDays(const ::std::string&, const ::std::string&, ::CRCSERVICE::CRDateInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckUserInfo(const ::std::string& id, const ::std::string& version) - { - return CheckUserInfo(id, version, 0); - } - ::Ice::Int CheckUserInfo(const ::std::string& id, const ::std::string& version, const ::Ice::Context& __ctx) - { - return CheckUserInfo(id, version, &__ctx); - } - -private: - - ::Ice::Int CheckUserInfo(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserCRState(const ::std::string& id, const ::std::string& version, ::CRCSERVICE::UserCRInfo& crinfo) - { - return GetUserCRState(id, version, crinfo, 0); - } - ::Ice::Int GetUserCRState(const ::std::string& id, const ::std::string& version, ::CRCSERVICE::UserCRInfo& crinfo, const ::Ice::Context& __ctx) - { - return GetUserCRState(id, version, crinfo, &__ctx); - } - -private: - - ::Ice::Int GetUserCRState(const ::std::string&, const ::std::string&, ::CRCSERVICE::UserCRInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int SetUserCRState(const ::std::string& id, const ::std::string& version, ::Ice::Int cmdId) - { - return SetUserCRState(id, version, cmdId, 0); - } - ::Ice::Int SetUserCRState(const ::std::string& id, const ::std::string& version, ::Ice::Int cmdId, const ::Ice::Context& __ctx) - { - return SetUserCRState(id, version, cmdId, &__ctx); - } - -private: - - ::Ice::Int SetUserCRState(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace CRCSERVICE -{ - -class CRCSInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int GetChatRoamingServiceState(const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetCRDays(const ::std::string&, const ::std::string&, ::CRCSERVICE::CRDateInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckUserInfo(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserCRState(const ::std::string&, const ::std::string&, ::CRCSERVICE::UserCRInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int SetUserCRState(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace CRCSERVICE -{ - -class CRCSInterface : virtual public ::IceDelegate::CRCSERVICE::CRCSInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int GetChatRoamingServiceState(const ::Ice::Context*); - - virtual ::Ice::Int GetCRDays(const ::std::string&, const ::std::string&, ::CRCSERVICE::CRDateInfo&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserInfo(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserCRState(const ::std::string&, const ::std::string&, ::CRCSERVICE::UserCRInfo&, const ::Ice::Context*); - - virtual ::Ice::Int SetUserCRState(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace CRCSERVICE -{ - -class CRCSInterface : virtual public ::IceDelegate::CRCSERVICE::CRCSInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int GetChatRoamingServiceState(const ::Ice::Context*); - - virtual ::Ice::Int GetCRDays(const ::std::string&, const ::std::string&, ::CRCSERVICE::CRDateInfo&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserInfo(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserCRState(const ::std::string&, const ::std::string&, ::CRCSERVICE::UserCRInfo&, const ::Ice::Context*); - - virtual ::Ice::Int SetUserCRState(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace CRCSERVICE -{ - -class CRCSInterface : virtual public ::Ice::Object -{ -public: - - typedef CRCSInterfacePrx ProxyType; - typedef CRCSInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int GetChatRoamingServiceState(const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetChatRoamingServiceState(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetCRDays(const ::std::string&, const ::std::string&, ::CRCSERVICE::CRDateInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetCRDays(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int CheckUserInfo(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUserInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetUserCRState(const ::std::string&, const ::std::string&, ::CRCSERVICE::UserCRInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserCRState(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int SetUserCRState(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___SetUserCRState(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__CRCSInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/datatype.h b/features/aliww/include/datatype.h deleted file mode 100644 index 96a6083..0000000 --- a/features/aliww/include/datatype.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef __DATA_TYPE_H_ -#define __DATA_TYPE_H_ - -#ifdef _WIN32 -typedef signed char int8_t; -typedef unsigned char uint8_t; -typedef short int int16_t; -typedef unsigned short uint16_t; -typedef int int32_t; -typedef unsigned int uint32_t; -typedef int int32_t; -typedef unsigned int uint32_t; -typedef __int64 int64_t; -typedef unsigned __int64 uint64_t; -#else -#include -#endif - -#endif diff --git a/features/aliww/include/dbdatadefine.h b/features/aliww/include/dbdatadefine.h deleted file mode 100644 index 3721c87..0000000 --- a/features/aliww/include/dbdatadefine.h +++ /dev/null @@ -1,2095 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbdatadefine.ice' - -#ifndef __dbdatadefine_h__ -#define __dbdatadefine_h__ - -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace AliIMDBBase -{ - -struct SICEMemberInfo -{ - ::std::string memberId; - ::std::string password; - ::std::string status; - ::std::string realname; - ::std::string company; - ::std::string jobtitle; - ::Ice::Int memberlevel; - ::Ice::Int industry; - ::Ice::Int area; - ::std::string penName; - ::Ice::Int phoneStatus; - ::Ice::Byte title; - ::std::string country; - - bool operator==(const SICEMemberInfo&) const; - bool operator!=(const SICEMemberInfo&) const; - bool operator<(const SICEMemberInfo&) const; - bool operator<=(const SICEMemberInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEMemberInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEMemberInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SExICESysMessage -{ - ::Ice::Int msgId; - ::Ice::Int type; - ::std::string expireTime; - ::Ice::Int industry; - ::Ice::Int area; - ::Ice::Int rank; - ::std::string message; - ::std::string site; - - bool operator==(const SExICESysMessage&) const; - bool operator!=(const SExICESysMessage&) const; - bool operator<(const SExICESysMessage&) const; - bool operator<=(const SExICESysMessage& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SExICESysMessage& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SExICESysMessage& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICESysMessage -{ - ::Ice::Int msgId; - ::Ice::Int type; - ::std::string expireTime; - ::Ice::Int industry; - ::Ice::Int area; - ::Ice::Int rank; - ::std::string message; - - bool operator==(const SICESysMessage&) const; - bool operator!=(const SICESysMessage&) const; - bool operator<(const SICESysMessage&) const; - bool operator<=(const SICESysMessage& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICESysMessage& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICESysMessage& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEVersion -{ - ::std::string version; - ::Ice::Byte status; - ::std::string remark; - - bool operator==(const SICEVersion&) const; - bool operator!=(const SICEVersion&) const; - bool operator<(const SICEVersion&) const; - bool operator<=(const SICEVersion& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEVersion& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEVersion& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEUserInfo -{ - ::std::string uid; - ::Ice::Int picId; - ::Ice::Int sysMsgId; - ::std::string lastLoginTime; - ::Ice::Int strangerMsgCount; - ::Ice::Int loginCount; - ::Ice::Int onlineTimes; - ::Ice::Int addContactCount; - ::Ice::Int addTribeCount; - ::Ice::Int activeDegree; - ::Ice::Int groupTimes; - ::Ice::Int contactTimes; - ::Ice::Int blacklistTimes; - ::Ice::Int reverseBlacklistTimes; - ::Ice::Int offlinemsgTimes; - ::Ice::Int addContactVerify; - ::Ice::Int sendMsgVerify; - ::Ice::Int userStatus; - ::Ice::Int userLevel; - ::Ice::Float newActDgree; - ::Ice::Int gencontacttimes; - ::Ice::Float rewardActDegree; - ::Ice::Float onlineActDegree; - ::Ice::Int createTime; - ::Ice::Int accounttype; - - bool operator==(const SICEUserInfo&) const; - bool operator!=(const SICEUserInfo&) const; - bool operator<(const SICEUserInfo&) const; - bool operator<=(const SICEUserInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEUserInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEUserInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEUserInfo2 -{ - ::std::string uid; - ::Ice::Int picId; - ::Ice::Int sysMsgId; - ::std::string lastLoginTime; - ::Ice::Int strangerMsgCount; - ::Ice::Int loginCount; - ::Ice::Int onlineTimes; - ::Ice::Int addContactCount; - ::Ice::Int addTribeCount; - ::Ice::Int activeDegree; - ::Ice::Int groupTimes; - ::Ice::Int contactTimes; - ::Ice::Int blacklistTimes; - ::Ice::Int reverseBlacklistTimes; - ::Ice::Int offlinemsgTimes; - ::Ice::Int addContactVerify; - ::Ice::Int sendMsgVerify; - ::Ice::Int userStatus; - ::Ice::Int userLevel; - ::Ice::Float newActDgree; - ::Ice::Int gencontacttimes; - ::Ice::Float rewardActDegree; - ::Ice::Float onlineActDegree; - ::Ice::Int createTime; - ::Ice::Int accounttype; - ::std::string userfunctions; - - bool operator==(const SICEUserInfo2&) const; - bool operator!=(const SICEUserInfo2&) const; - bool operator<(const SICEUserInfo2&) const; - bool operator<=(const SICEUserInfo2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEUserInfo2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEUserInfo2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEUserInfoEx -{ - ::std::string uid; - ::Ice::Int picId; - ::Ice::Int sysMsgId; - ::Ice::Int lastLoginTime; - ::Ice::Int loginCount; - ::Ice::Int strangerMsgCount; - ::Ice::Int addContactCount; - ::Ice::Int addTribeCount; - ::Ice::Int groupTimes; - ::Ice::Int contactTimes; - ::Ice::Int blacklistTimes; - ::Ice::Int reverseBlacklistTimes; - ::Ice::Int offlinemsgTimes; - ::Ice::Int gencontacttimes; - ::Ice::Int toolprofiletimes; - ::Ice::Int addContactVerify; - ::Ice::Int sendMsgVerify; - ::Ice::Int userStatus; - ::Ice::Int userLevel; - ::Ice::Float totalActDegree; - ::Ice::Int createTime; - ::Ice::Int accounttype; - ::std::string loginIp; - ::std::string userfunctions; - - bool operator==(const SICEUserInfoEx&) const; - bool operator!=(const SICEUserInfoEx&) const; - bool operator<(const SICEUserInfoEx&) const; - bool operator<=(const SICEUserInfoEx& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEUserInfoEx& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEUserInfoEx& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEUserInfoNew -{ - ::std::string uid; - ::Ice::Int picId; - ::Ice::Int sysMsgId; - ::std::string lastLoginTime; - ::Ice::Int strangerMsgCount; - ::Ice::Int loginCount; - ::Ice::Int onlineTimes; - ::Ice::Int addContactCount; - ::Ice::Int addTribeCount; - ::Ice::Int activeDegree; - ::Ice::Int groupTimes; - ::Ice::Int contactTimes; - ::Ice::Int blacklistTimes; - ::Ice::Int reverseBlacklistTimes; - ::Ice::Int offlinemsgTimes; - ::Ice::Int addContactVerify; - ::Ice::Int sendMsgVerify; - ::Ice::Int userStatus; - ::Ice::Int userLevel; - ::Ice::Float newActDgree; - ::Ice::Int gencontacttimes; - ::Ice::Float rewardActDegree; - ::Ice::Float onlineActDegree; - ::Ice::Int createTime; - ::Ice::Int accounttype; - ::Ice::Int reqAddContactCount; - - bool operator==(const SICEUserInfoNew&) const; - bool operator!=(const SICEUserInfoNew&) const; - bool operator<(const SICEUserInfoNew&) const; - bool operator<=(const SICEUserInfoNew& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEUserInfoNew& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEUserInfoNew& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEUserInfo2New -{ - ::std::string uid; - ::Ice::Int picId; - ::Ice::Int sysMsgId; - ::std::string lastLoginTime; - ::Ice::Int strangerMsgCount; - ::Ice::Int loginCount; - ::Ice::Int onlineTimes; - ::Ice::Int addContactCount; - ::Ice::Int addTribeCount; - ::Ice::Int activeDegree; - ::Ice::Int groupTimes; - ::Ice::Int contactTimes; - ::Ice::Int blacklistTimes; - ::Ice::Int reverseBlacklistTimes; - ::Ice::Int offlinemsgTimes; - ::Ice::Int addContactVerify; - ::Ice::Int sendMsgVerify; - ::Ice::Int userStatus; - ::Ice::Int userLevel; - ::Ice::Float newActDgree; - ::Ice::Int gencontacttimes; - ::Ice::Float rewardActDegree; - ::Ice::Float onlineActDegree; - ::Ice::Int createTime; - ::Ice::Int accounttype; - ::std::string userfunctions; - ::Ice::Int reqAddContactCount; - - bool operator==(const SICEUserInfo2New&) const; - bool operator!=(const SICEUserInfo2New&) const; - bool operator<(const SICEUserInfo2New&) const; - bool operator<=(const SICEUserInfo2New& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEUserInfo2New& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEUserInfo2New& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEUserInfoExNew -{ - ::std::string uid; - ::Ice::Int picId; - ::Ice::Int sysMsgId; - ::Ice::Int lastLoginTime; - ::Ice::Int loginCount; - ::Ice::Int strangerMsgCount; - ::Ice::Int addContactCount; - ::Ice::Int addTribeCount; - ::Ice::Int groupTimes; - ::Ice::Int contactTimes; - ::Ice::Int blacklistTimes; - ::Ice::Int reverseBlacklistTimes; - ::Ice::Int offlinemsgTimes; - ::Ice::Int gencontacttimes; - ::Ice::Int toolprofiletimes; - ::Ice::Int addContactVerify; - ::Ice::Int sendMsgVerify; - ::Ice::Int userStatus; - ::Ice::Int userLevel; - ::Ice::Float totalActDegree; - ::Ice::Int createTime; - ::Ice::Int accounttype; - ::std::string loginIp; - ::std::string userfunctions; - ::Ice::Int reqAddContactCount; - - bool operator==(const SICEUserInfoExNew&) const; - bool operator!=(const SICEUserInfoExNew&) const; - bool operator<(const SICEUserInfoExNew&) const; - bool operator<=(const SICEUserInfoExNew& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEUserInfoExNew& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEUserInfoExNew& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEUserInfoExNew2 -{ - ::std::string uid; - ::Ice::Int picId; - ::Ice::Int sysMsgId; - ::Ice::Int lastLoginTime; - ::Ice::Int loginCount; - ::Ice::Int strangerMsgCount; - ::Ice::Int addContactCount; - ::Ice::Int addTribeCount; - ::Ice::Int groupTimes; - ::Ice::Int contactTimes; - ::Ice::Int blacklistTimes; - ::Ice::Int reverseBlacklistTimes; - ::Ice::Int offlinemsgTimes; - ::Ice::Int gencontacttimes; - ::Ice::Int toolprofiletimes; - ::Ice::Int addContactVerify; - ::Ice::Int sendMsgVerify; - ::Ice::Int userStatus; - ::Ice::Int userLevel; - ::Ice::Float totalActDegree; - ::Ice::Int createTime; - ::Ice::Int accounttype; - ::std::string loginIp; - ::std::string userfunctions; - ::Ice::Int reqAddContactCount; - ::Ice::Int userValue; - - bool operator==(const SICEUserInfoExNew2&) const; - bool operator!=(const SICEUserInfoExNew2&) const; - bool operator<(const SICEUserInfoExNew2&) const; - bool operator<=(const SICEUserInfoExNew2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEUserInfoExNew2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEUserInfoExNew2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::map< ::Ice::Int, ::Ice::Int> RIGHTTABLE; - -class __U__RIGHTTABLE { }; -void __write(::IceInternal::BasicStream*, const RIGHTTABLE&, __U__RIGHTTABLE); -void __read(::IceInternal::BasicStream*, RIGHTTABLE&, __U__RIGHTTABLE); - -struct SICEUserInfoExNew3 -{ - ::std::string uid; - ::Ice::Int picId; - ::Ice::Int sysMsgId; - ::Ice::Int lastLoginTime; - ::Ice::Int loginCount; - ::Ice::Int groupTimes; - ::Ice::Int contactTimes; - ::Ice::Int blacklistTimes; - ::Ice::Int reverseBlacklistTimes; - ::Ice::Int offlinemsgTimes; - ::Ice::Int gencontacttimes; - ::Ice::Int toolprofiletimes; - ::Ice::Int addContactVerify; - ::Ice::Int sendMsgVerify; - ::Ice::Int userStatus; - ::Ice::Int userLevel; - ::Ice::Float totalActDegree; - ::Ice::Int createTime; - ::Ice::Int accounttype; - ::std::string loginIp; - ::std::string userfunctions; - ::Ice::Int userValue; - ::AliIMDBBase::RIGHTTABLE rightMap; - - bool operator==(const SICEUserInfoExNew3&) const; - bool operator!=(const SICEUserInfoExNew3&) const; - bool operator<(const SICEUserInfoExNew3&) const; - bool operator<=(const SICEUserInfoExNew3& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEUserInfoExNew3& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEUserInfoExNew3& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEUserInfoExNew4 -{ - ::std::string uid; - ::Ice::Int picId; - ::Ice::Int sysMsgId; - ::Ice::Int lastLoginTime; - ::Ice::Int loginCount; - ::Ice::Int strangerMsgCount; - ::Ice::Int addContactCount; - ::Ice::Int addTribeCount; - ::Ice::Int groupTimes; - ::Ice::Int contactTimes; - ::Ice::Int blacklistTimes; - ::Ice::Int reverseBlacklistTimes; - ::Ice::Int offlinemsgTimes; - ::Ice::Int gencontacttimes; - ::Ice::Int toolprofiletimes; - ::Ice::Int addContactVerify; - ::Ice::Int sendMsgVerify; - ::Ice::Int userStatus; - ::Ice::Int userLevel; - ::Ice::Float totalActDegree; - ::Ice::Int createTime; - ::Ice::Int accounttype; - ::std::string loginIp; - ::std::string userfunctions; - ::Ice::Int userValue; - ::AliIMDBBase::RIGHTTABLE rightMap; - ::std::string question; - ::std::string answer; - - bool operator==(const SICEUserInfoExNew4&) const; - bool operator!=(const SICEUserInfoExNew4&) const; - bool operator<(const SICEUserInfoExNew4&) const; - bool operator<=(const SICEUserInfoExNew4& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEUserInfoExNew4& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEUserInfoExNew4& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEGroupInfo -{ - ::Ice::Int groupId; - ::std::string groupName; - - bool operator==(const SICEGroupInfo&) const; - bool operator!=(const SICEGroupInfo&) const; - bool operator<(const SICEGroupInfo&) const; - bool operator<=(const SICEGroupInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEGroupInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEGroupInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEGroupInfoEx -{ - ::Ice::Long groupId; - ::Ice::Long parentId; - ::std::string groupName; - - bool operator==(const SICEGroupInfoEx&) const; - bool operator!=(const SICEGroupInfoEx&) const; - bool operator<(const SICEGroupInfoEx&) const; - bool operator<=(const SICEGroupInfoEx& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEGroupInfoEx& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEGroupInfoEx& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEContactInfo -{ - ::std::string contactId; - ::Ice::Int groupId; - ::std::string nickName; - ::Ice::Int status; - ::std::string cid; - ::Ice::Short cnttype; - ::std::string clientInfo; - - bool operator==(const SICEContactInfo&) const; - bool operator!=(const SICEContactInfo&) const; - bool operator<(const SICEContactInfo&) const; - bool operator<=(const SICEContactInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEContactInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEContactInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEUserId -{ - ::std::string uid; - - bool operator==(const SICEUserId&) const; - bool operator!=(const SICEUserId&) const; - bool operator<(const SICEUserId&) const; - bool operator<=(const SICEUserId& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEUserId& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEUserId& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEOffLineMessege -{ - ::std::string createTime; - ::Ice::Int type; - ::std::string fromId; - ::std::string content; - - bool operator==(const SICEOffLineMessege&) const; - bool operator!=(const SICEOffLineMessege&) const; - bool operator<(const SICEOffLineMessege&) const; - bool operator<=(const SICEOffLineMessege& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEOffLineMessege& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEOffLineMessege& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEOffLineMessegeEx -{ - ::Ice::Int sendTime; - ::Ice::Int type; - ::std::string fromId; - ::std::string content; - - bool operator==(const SICEOffLineMessegeEx&) const; - bool operator!=(const SICEOffLineMessegeEx&) const; - bool operator<(const SICEOffLineMessegeEx&) const; - bool operator<=(const SICEOffLineMessegeEx& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEOffLineMessegeEx& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEOffLineMessegeEx& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEUserDStatus -{ - ::Ice::Int statusId; - ::std::string statusInfo; - - bool operator==(const SICEUserDStatus&) const; - bool operator!=(const SICEUserDStatus&) const; - bool operator<(const SICEUserDStatus&) const; - bool operator<=(const SICEUserDStatus& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEUserDStatus& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEUserDStatus& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICECntCidModPair -{ - ::std::string cid; - ::std::string modSeqId; - - bool operator==(const SICECntCidModPair&) const; - bool operator!=(const SICECntCidModPair&) const; - bool operator<(const SICECntCidModPair&) const; - bool operator<=(const SICECntCidModPair& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICECntCidModPair& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICECntCidModPair& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICECRMContactDetail -{ - ::std::string cntname; - ::std::string email; - ::std::string phoneno; - ::std::string mobileno; - ::std::string company; - ::Ice::Byte sex; - ::std::string jobtitle; - ::std::string compaddr; - ::Ice::Int bizcatid; - ::std::string buykeys; - ::std::string salekeys; - ::std::string faxnumber; - ::std::string penname; - - bool operator==(const SICECRMContactDetail&) const; - bool operator!=(const SICECRMContactDetail&) const; - bool operator<(const SICECRMContactDetail&) const; - bool operator<=(const SICECRMContactDetail& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICECRMContactDetail& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICECRMContactDetail& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICESeqId -{ - ::std::string seqId; - - bool operator==(const SICESeqId&) const; - bool operator!=(const SICESeqId&) const; - bool operator<(const SICESeqId&) const; - bool operator<=(const SICESeqId& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICESeqId& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICESeqId& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICENetPhoneChargeInfo -{ - ::std::string chargeseqid; - ::std::string payseqid; - ::std::string chargebegintime; - ::Ice::Int denomination; - ::Ice::Int payrealmoney; - ::Ice::Int chargestatus; - ::Ice::Int paystatus; - - bool operator==(const SICENetPhoneChargeInfo&) const; - bool operator!=(const SICENetPhoneChargeInfo&) const; - bool operator<(const SICENetPhoneChargeInfo&) const; - bool operator<=(const SICENetPhoneChargeInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICENetPhoneChargeInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICENetPhoneChargeInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEGenContactFull -{ - ::std::string uid; - ::std::string cid; - ::std::string cntid; - ::std::string nickname; - ::std::string seqid; - ::Ice::Int groupId; - ::Ice::Byte showflag; - ::std::string sex; - ::Ice::Byte cnttype; - ::Ice::Int bizcatid; - ::std::string realname; - ::std::string email1; - ::std::string cphoneno1; - ::std::string hphoneno1; - ::std::string mobileno1; - ::std::string alitalkid; - ::std::string companyname; - ::std::string email2; - ::std::string email3; - ::std::string cphoneno2; - ::std::string cphoneno3; - ::std::string mobileno2; - ::std::string mobileno3; - ::std::string buykeys; - ::std::string salekeys; - ::std::string jobtitle; - ::std::string compaddr; - ::std::string homeaddr; - ::std::string compzip; - ::std::string homezip; - ::std::string cntpicid; - ::std::string compurl; - ::std::string homeurl; - ::std::string wwangid; - ::std::string yahooid; - ::std::string msnid; - ::std::string qqid; - ::std::string deptname; - ::std::string managername; - ::std::string idnumber; - ::std::string workidno; - ::std::string faxnumber; - ::std::string penname; - ::std::string engname; - ::std::string consortname; - ::std::string avocation; - ::std::string assistname; - ::std::string childname; - ::std::string birthday; - ::std::string memo; - ::std::string firstname; - ::std::string lastname; - - bool operator==(const SICEGenContactFull&) const; - bool operator!=(const SICEGenContactFull&) const; - bool operator<(const SICEGenContactFull&) const; - bool operator<=(const SICEGenContactFull& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEGenContactFull& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEGenContactFull& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEATMGenContactFull -{ - ::std::string uid; - ::std::string cid; - ::std::string cntid; - ::std::string nickname; - ::std::string seqid; - ::Ice::Int groupId; - ::Ice::Byte showflag; - ::std::string sex; - ::Ice::Byte cnttype; - ::Ice::Int bizcatid; - ::std::string realname; - ::std::string email1; - ::std::string cphoneno1; - ::std::string hphoneno1; - ::std::string mobileno1; - ::std::string alitalkid; - ::std::string companyname; - ::std::string email2; - ::std::string email3; - ::std::string cphoneno2; - ::std::string cphoneno3; - ::std::string mobileno2; - ::std::string mobileno3; - ::std::string buykeys; - ::std::string salekeys; - ::std::string jobtitle; - ::std::string compaddr; - ::std::string homeaddr; - ::std::string compzip; - ::std::string homezip; - ::std::string cntpicid; - ::std::string compurl; - ::std::string homeurl; - ::std::string wwangid; - ::std::string yahooid; - ::std::string msnid; - ::std::string qqid; - ::std::string deptname; - ::std::string managername; - ::std::string idnumber; - ::std::string workidno; - ::std::string faxnumber; - ::std::string penname; - ::std::string engname; - ::std::string consortname; - ::std::string avocation; - ::std::string assistname; - ::std::string childname; - ::std::string birthday; - ::std::string memo; - ::Ice::Int companyid; - ::Ice::Int cntlevel; - ::std::string country; - ::std::string productService; - ::std::string firstname; - ::std::string lastname; - ::std::string biztype; - ::Ice::Int preRegister; - - bool operator==(const SICEATMGenContactFull&) const; - bool operator!=(const SICEATMGenContactFull&) const; - bool operator<(const SICEATMGenContactFull&) const; - bool operator<=(const SICEATMGenContactFull& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEATMGenContactFull& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEATMGenContactFull& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICECntOtherModInfo -{ - ::std::string cid; - ::std::string modSeqId; - ::Ice::Int memberLevel; - ::Ice::Int smsbindflag; - ::Ice::Int smsmobileonlineflag; - ::std::string smsbindmobile; - - bool operator==(const SICECntOtherModInfo&) const; - bool operator!=(const SICECntOtherModInfo&) const; - bool operator<(const SICECntOtherModInfo&) const; - bool operator<=(const SICECntOtherModInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICECntOtherModInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICECntOtherModInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICESmsUserInfo -{ - ::std::string uid; - ::Ice::Int bindFlag; - ::Ice::Int mobileOnlineFlag; - ::std::string account; - ::std::string password; - ::std::string mobileNo; - ::Ice::Int balance; - - bool operator==(const SICESmsUserInfo&) const; - bool operator!=(const SICESmsUserInfo&) const; - bool operator<(const SICESmsUserInfo&) const; - bool operator<=(const SICESmsUserInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICESmsUserInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICESmsUserInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEAMOSUserInfo -{ - ::std::string uid; - ::std::string lastLoginTime; - ::Ice::Int mobileOnlineFlag; - - bool operator==(const SICEAMOSUserInfo&) const; - bool operator!=(const SICEAMOSUserInfo&) const; - bool operator<(const SICEAMOSUserInfo&) const; - bool operator<=(const SICEAMOSUserInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEAMOSUserInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEAMOSUserInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SMemberPWInfo -{ - ::std::string md5passwd; - bool bcanlogon; - - bool operator==(const SMemberPWInfo&) const; - bool operator!=(const SMemberPWInfo&) const; - bool operator<(const SMemberPWInfo&) const; - bool operator<=(const SMemberPWInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SMemberPWInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SMemberPWInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SMemberPWInfoEx -{ - ::std::string md5passwd; - bool bcanlogon; - ::Ice::Int activeState; - - bool operator==(const SMemberPWInfoEx&) const; - bool operator!=(const SMemberPWInfoEx&) const; - bool operator<(const SMemberPWInfoEx&) const; - bool operator<=(const SMemberPWInfoEx& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SMemberPWInfoEx& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SMemberPWInfoEx& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SUserWebBasicProfile -{ - ::std::string uid; - ::std::string nickname; - ::std::string realname; - ::std::string email; - ::std::string phoneno; - ::std::string mobileno; - ::std::string company; - ::std::string jobtitle; - ::std::string address; - ::Ice::Int catid; - ::std::string buykeyws; - ::std::string salekeyws; - ::std::string faxno; - ::std::string penname; - ::std::string country; - ::Ice::Int memberlevel; - ::Ice::Int industry; - ::Ice::Int area; - ::Ice::Int phoneStatus; - ::Ice::Int activestat; - ::std::string extraInfo; - ::std::string zip; - ::std::string birthday; - ::std::string password; - ::std::string prov; - ::std::string city; - ::std::string usergender; - ::std::string birthdate; - ::std::string status; - ::std::string province; - ::Ice::Int webLevel; - - bool operator==(const SUserWebBasicProfile&) const; - bool operator!=(const SUserWebBasicProfile&) const; - bool operator<(const SUserWebBasicProfile&) const; - bool operator<=(const SUserWebBasicProfile& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SUserWebBasicProfile& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SUserWebBasicProfile& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SUserWebBasicProfile2 -{ - ::std::string uid; - ::std::string nickname; - ::std::string realname; - ::std::string email; - ::std::string phoneno; - ::std::string mobileno; - ::std::string company; - ::std::string jobtitle; - ::std::string address; - ::Ice::Int catid; - ::std::string buykeyws; - ::std::string salekeyws; - ::std::string faxno; - ::std::string penname; - ::std::string country; - ::Ice::Int memberlevel; - ::Ice::Int industry; - ::Ice::Int area; - ::Ice::Int phoneStatus; - ::Ice::Int activestat; - ::std::string extraInfo; - ::std::string zip; - ::std::string birthday; - ::std::string password; - ::std::string prov; - ::std::string city; - ::std::string usergender; - ::std::string birthdate; - ::std::string status; - ::std::string province; - ::Ice::Int webLevel; - ::std::string subcity; - ::std::string homepage; - ::std::string interest; - - bool operator==(const SUserWebBasicProfile2&) const; - bool operator!=(const SUserWebBasicProfile2&) const; - bool operator<(const SUserWebBasicProfile2&) const; - bool operator<=(const SUserWebBasicProfile2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SUserWebBasicProfile2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SUserWebBasicProfile2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SMatchedUserIdInfo -{ - ::std::string userId; - ::std::string name; - ::Ice::Byte validateflag; - - bool operator==(const SMatchedUserIdInfo&) const; - bool operator!=(const SMatchedUserIdInfo&) const; - bool operator<(const SMatchedUserIdInfo&) const; - bool operator<=(const SMatchedUserIdInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SMatchedUserIdInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SMatchedUserIdInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SUdbUserInfo -{ - ::std::string uid; - ::std::string name; - ::std::string rawpasswd; - ::std::string md5passwd; - ::std::string email; - ::std::string mobileno; - ::std::string phoneno; - ::std::string company; - ::std::string jobtitle; - ::std::string birthday; - ::std::string sex; - ::std::string country; - ::std::string province; - ::std::string city; - ::std::string address; - ::std::string zip; - - bool operator==(const SUdbUserInfo&) const; - bool operator!=(const SUdbUserInfo&) const; - bool operator<(const SUdbUserInfo&) const; - bool operator<=(const SUdbUserInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SUdbUserInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SUdbUserInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SChildUserInfo -{ - ::std::string uid; - ::std::string nikename; - ::std::string password; - ::std::string parentId; - ::Ice::Int suspended; - ::Ice::Int expirtTime; - ::Ice::Int OpenTime; - ::Ice::Int type; - ::Ice::Int groupId; - ::Ice::Int receptionNum; - ::Ice::Int priority; - ::Ice::Int recvOffMsg; - ::std::string needuseonline; - ::std::string userflag; - - bool operator==(const SChildUserInfo&) const; - bool operator!=(const SChildUserInfo&) const; - bool operator<(const SChildUserInfo&) const; - bool operator<=(const SChildUserInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SChildUserInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SChildUserInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SChildUserInfo2 -{ - ::std::string uid; - ::std::string nikename; - ::std::string password; - ::std::string parentId; - ::Ice::Int suspended; - ::Ice::Int expirtTime; - ::Ice::Int OpenTime; - ::Ice::Int type; - ::Ice::Int groupId; - ::Ice::Int receptionNum; - ::Ice::Int priority; - ::Ice::Int recvOffMsg; - - bool operator==(const SChildUserInfo2&) const; - bool operator!=(const SChildUserInfo2&) const; - bool operator<(const SChildUserInfo2&) const; - bool operator<=(const SChildUserInfo2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SChildUserInfo2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SChildUserInfo2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SB2BChildUserInfo -{ - ::std::string uid; - ::std::string parentId; - ::std::string userflag; - - bool operator==(const SB2BChildUserInfo&) const; - bool operator!=(const SB2BChildUserInfo&) const; - bool operator<(const SB2BChildUserInfo&) const; - bool operator<=(const SB2BChildUserInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SB2BChildUserInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SB2BChildUserInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEToolProfile -{ - ::Ice::Int type; - ::std::string profile; - - bool operator==(const SICEToolProfile&) const; - bool operator!=(const SICEToolProfile&) const; - bool operator<(const SICEToolProfile&) const; - bool operator<=(const SICEToolProfile& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEToolProfile& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEToolProfile& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEKvPair -{ - ::std::string key; - ::std::string value; - - bool operator==(const SICEKvPair&) const; - bool operator!=(const SICEKvPair&) const; - bool operator<(const SICEKvPair&) const; - bool operator<=(const SICEKvPair& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEKvPair& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEKvPair& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SImPrefix -{ - ::std::string prefix; - ::std::string name; - - bool operator==(const SImPrefix&) const; - bool operator!=(const SImPrefix&) const; - bool operator<(const SImPrefix&) const; - bool operator<=(const SImPrefix& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SImPrefix& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SImPrefix& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMDBBase::SICEMemberInfo> SICEMemberInfoSeq; - -class __U__SICEMemberInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEMemberInfo*, const ::AliIMDBBase::SICEMemberInfo*, __U__SICEMemberInfoSeq); -void __read(::IceInternal::BasicStream*, SICEMemberInfoSeq&, __U__SICEMemberInfoSeq); - -typedef ::std::vector< ::AliIMDBBase::SICESysMessage> SICESysMessageSeq; - -class __U__SICESysMessageSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICESysMessage*, const ::AliIMDBBase::SICESysMessage*, __U__SICESysMessageSeq); -void __read(::IceInternal::BasicStream*, SICESysMessageSeq&, __U__SICESysMessageSeq); - -typedef ::std::vector< ::AliIMDBBase::SExICESysMessage> SExICESysMessageSeq; - -class __U__SExICESysMessageSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SExICESysMessage*, const ::AliIMDBBase::SExICESysMessage*, __U__SExICESysMessageSeq); -void __read(::IceInternal::BasicStream*, SExICESysMessageSeq&, __U__SExICESysMessageSeq); - -typedef ::std::vector< ::AliIMDBBase::SICEVersion> SICEVersionSeq; - -class __U__SICEVersionSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEVersion*, const ::AliIMDBBase::SICEVersion*, __U__SICEVersionSeq); -void __read(::IceInternal::BasicStream*, SICEVersionSeq&, __U__SICEVersionSeq); - -typedef ::std::vector< ::AliIMDBBase::SICEUserInfo> SICEUserInfoSeq; - -class __U__SICEUserInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEUserInfo*, const ::AliIMDBBase::SICEUserInfo*, __U__SICEUserInfoSeq); -void __read(::IceInternal::BasicStream*, SICEUserInfoSeq&, __U__SICEUserInfoSeq); - -typedef ::std::vector< ::AliIMDBBase::SICEUserInfoEx> SICEUserInfoExSeq; - -class __U__SICEUserInfoExSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEUserInfoEx*, const ::AliIMDBBase::SICEUserInfoEx*, __U__SICEUserInfoExSeq); -void __read(::IceInternal::BasicStream*, SICEUserInfoExSeq&, __U__SICEUserInfoExSeq); - -typedef ::std::vector< ::AliIMDBBase::SICEGroupInfo> SICEGroupInfoSeq; - -class __U__SICEGroupInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEGroupInfo*, const ::AliIMDBBase::SICEGroupInfo*, __U__SICEGroupInfoSeq); -void __read(::IceInternal::BasicStream*, SICEGroupInfoSeq&, __U__SICEGroupInfoSeq); - -typedef ::std::vector< ::AliIMDBBase::SICEGroupInfoEx> SICEGroupInfoExSeq; - -class __U__SICEGroupInfoExSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEGroupInfoEx*, const ::AliIMDBBase::SICEGroupInfoEx*, __U__SICEGroupInfoExSeq); -void __read(::IceInternal::BasicStream*, SICEGroupInfoExSeq&, __U__SICEGroupInfoExSeq); - -typedef ::std::vector< ::AliIMDBBase::SICEContactInfo> SICEContactInfoSeq; - -class __U__SICEContactInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEContactInfo*, const ::AliIMDBBase::SICEContactInfo*, __U__SICEContactInfoSeq); -void __read(::IceInternal::BasicStream*, SICEContactInfoSeq&, __U__SICEContactInfoSeq); - -typedef ::std::vector< ::AliIMDBBase::SICEOffLineMessege> SICEOffLineMessegeSeq; - -class __U__SICEOffLineMessegeSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEOffLineMessege*, const ::AliIMDBBase::SICEOffLineMessege*, __U__SICEOffLineMessegeSeq); -void __read(::IceInternal::BasicStream*, SICEOffLineMessegeSeq&, __U__SICEOffLineMessegeSeq); - -typedef ::std::vector< ::AliIMDBBase::SICEOffLineMessegeEx> SICEOffLineMessegeExSeq; - -class __U__SICEOffLineMessegeExSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEOffLineMessegeEx*, const ::AliIMDBBase::SICEOffLineMessegeEx*, __U__SICEOffLineMessegeExSeq); -void __read(::IceInternal::BasicStream*, SICEOffLineMessegeExSeq&, __U__SICEOffLineMessegeExSeq); - -typedef ::std::vector< ::AliIMDBBase::SICECntCidModPair> SICECntCidModPairSeq; - -class __U__SICECntCidModPairSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICECntCidModPair*, const ::AliIMDBBase::SICECntCidModPair*, __U__SICECntCidModPairSeq); -void __read(::IceInternal::BasicStream*, SICECntCidModPairSeq&, __U__SICECntCidModPairSeq); - -typedef ::std::vector< ::AliIMDBBase::SICEUserDStatus> SICEUserDStatusSeq; - -class __U__SICEUserDStatusSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEUserDStatus*, const ::AliIMDBBase::SICEUserDStatus*, __U__SICEUserDStatusSeq); -void __read(::IceInternal::BasicStream*, SICEUserDStatusSeq&, __U__SICEUserDStatusSeq); - -typedef ::std::vector< ::AliIMDBBase::SICENetPhoneChargeInfo> SICENetPhoneChargeInfoSeq; - -class __U__SICENetPhoneChargeInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICENetPhoneChargeInfo*, const ::AliIMDBBase::SICENetPhoneChargeInfo*, __U__SICENetPhoneChargeInfoSeq); -void __read(::IceInternal::BasicStream*, SICENetPhoneChargeInfoSeq&, __U__SICENetPhoneChargeInfoSeq); - -typedef ::std::vector< ::AliIMDBBase::SICEGenContactFull> SICEGenContactFullSeq; - -class __U__SICEGenContactFullSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEGenContactFull*, const ::AliIMDBBase::SICEGenContactFull*, __U__SICEGenContactFullSeq); -void __read(::IceInternal::BasicStream*, SICEGenContactFullSeq&, __U__SICEGenContactFullSeq); - -typedef ::std::vector< ::AliIMDBBase::SICECntOtherModInfo> SICECntOtherModInfoSeq; - -class __U__SICECntOtherModInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICECntOtherModInfo*, const ::AliIMDBBase::SICECntOtherModInfo*, __U__SICECntOtherModInfoSeq); -void __read(::IceInternal::BasicStream*, SICECntOtherModInfoSeq&, __U__SICECntOtherModInfoSeq); - -typedef ::std::vector< ::AliIMDBBase::SICEAMOSUserInfo> SICEAMOSUserInfoSeq; - -class __U__SICEAMOSUserInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEAMOSUserInfo*, const ::AliIMDBBase::SICEAMOSUserInfo*, __U__SICEAMOSUserInfoSeq); -void __read(::IceInternal::BasicStream*, SICEAMOSUserInfoSeq&, __U__SICEAMOSUserInfoSeq); - -typedef ::std::vector< ::AliIMDBBase::SMatchedUserIdInfo> SMatchedUserIdInfoSeq; - -class __U__SMatchedUserIdInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SMatchedUserIdInfo*, const ::AliIMDBBase::SMatchedUserIdInfo*, __U__SMatchedUserIdInfoSeq); -void __read(::IceInternal::BasicStream*, SMatchedUserIdInfoSeq&, __U__SMatchedUserIdInfoSeq); - -typedef ::std::vector< ::AliIMDBBase::SUdbUserInfo> SUdbUserInfoSeq; - -class __U__SUdbUserInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SUdbUserInfo*, const ::AliIMDBBase::SUdbUserInfo*, __U__SUdbUserInfoSeq); -void __read(::IceInternal::BasicStream*, SUdbUserInfoSeq&, __U__SUdbUserInfoSeq); - -typedef ::std::vector< ::AliIMDBBase::SChildUserInfo> SChildUserInfoSeq; - -class __U__SChildUserInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SChildUserInfo*, const ::AliIMDBBase::SChildUserInfo*, __U__SChildUserInfoSeq); -void __read(::IceInternal::BasicStream*, SChildUserInfoSeq&, __U__SChildUserInfoSeq); - -typedef ::std::vector< ::AliIMDBBase::SB2BChildUserInfo> SB2BChildUserInfoSeq; - -class __U__SB2BChildUserInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SB2BChildUserInfo*, const ::AliIMDBBase::SB2BChildUserInfo*, __U__SB2BChildUserInfoSeq); -void __read(::IceInternal::BasicStream*, SB2BChildUserInfoSeq&, __U__SB2BChildUserInfoSeq); - -typedef ::std::vector< ::AliIMDBBase::SChildUserInfo2> SChildUserInfoSeq2; - -class __U__SChildUserInfoSeq2 { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SChildUserInfo2*, const ::AliIMDBBase::SChildUserInfo2*, __U__SChildUserInfoSeq2); -void __read(::IceInternal::BasicStream*, SChildUserInfoSeq2&, __U__SChildUserInfoSeq2); - -typedef ::std::vector< ::AliIMDBBase::SICEToolProfile> SICEToolProfileSeq; - -class __U__SICEToolProfileSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEToolProfile*, const ::AliIMDBBase::SICEToolProfile*, __U__SICEToolProfileSeq); -void __read(::IceInternal::BasicStream*, SICEToolProfileSeq&, __U__SICEToolProfileSeq); - -typedef ::std::vector< ::AliIMDBBase::SICEKvPair> SICEKvPairSeq; - -class __U__SICEKvPairSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEKvPair*, const ::AliIMDBBase::SICEKvPair*, __U__SICEKvPairSeq); -void __read(::IceInternal::BasicStream*, SICEKvPairSeq&, __U__SICEKvPairSeq); - -typedef ::std::vector< ::AliIMDBBase::SImPrefix> SImPrefixSeq; - -class __U__SImPrefixSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SImPrefix*, const ::AliIMDBBase::SImPrefix*, __U__SImPrefixSeq); -void __read(::IceInternal::BasicStream*, SImPrefixSeq&, __U__SImPrefixSeq); - -typedef ::std::map< ::std::string, ::std::string> SICEKVMap; - -class __U__SICEKVMap { }; -void __write(::IceInternal::BasicStream*, const SICEKVMap&, __U__SICEKVMap); -void __read(::IceInternal::BasicStream*, SICEKVMap&, __U__SICEKVMap); - -struct SICEReceptNum -{ - ::std::string eserviceid; - ::Ice::Int receptnum; - - bool operator==(const SICEReceptNum&) const; - bool operator!=(const SICEReceptNum&) const; - bool operator<(const SICEReceptNum&) const; - bool operator<=(const SICEReceptNum& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEReceptNum& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEReceptNum& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMDBBase::SICEReceptNum> SICEReceptNumSeq; - -class __U__SICEReceptNumSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEReceptNum*, const ::AliIMDBBase::SICEReceptNum*, __U__SICEReceptNumSeq); -void __read(::IceInternal::BasicStream*, SICEReceptNumSeq&, __U__SICEReceptNumSeq); - -struct SICEReceptPriority -{ - ::std::string eserviceid; - ::Ice::Int receptpriority; - - bool operator==(const SICEReceptPriority&) const; - bool operator!=(const SICEReceptPriority&) const; - bool operator<(const SICEReceptPriority&) const; - bool operator<=(const SICEReceptPriority& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEReceptPriority& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEReceptPriority& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMDBBase::SICEReceptPriority> SICEReceptPrioritySeq; - -class __U__SICEReceptPrioritySeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEReceptPriority*, const ::AliIMDBBase::SICEReceptPriority*, __U__SICEReceptPrioritySeq); -void __read(::IceInternal::BasicStream*, SICEReceptPrioritySeq&, __U__SICEReceptPrioritySeq); - -struct SICERecvOffMsg -{ - ::std::string eserviceid; - ::Ice::Int recvoffmsg; - - bool operator==(const SICERecvOffMsg&) const; - bool operator!=(const SICERecvOffMsg&) const; - bool operator<(const SICERecvOffMsg&) const; - bool operator<=(const SICERecvOffMsg& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICERecvOffMsg& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICERecvOffMsg& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMDBBase::SICERecvOffMsg> SICERecvOffMsgSeq; - -class __U__SICERecvOffMsgSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICERecvOffMsg*, const ::AliIMDBBase::SICERecvOffMsg*, __U__SICERecvOffMsgSeq); -void __read(::IceInternal::BasicStream*, SICERecvOffMsgSeq&, __U__SICERecvOffMsgSeq); - -struct SICEESGroupInfo -{ - ::std::string groupName; - ::Ice::Int groupId; - ::std::string adminId; - ::Ice::StringSeq eservicelist; - - bool operator==(const SICEESGroupInfo&) const; - bool operator!=(const SICEESGroupInfo&) const; - bool operator<(const SICEESGroupInfo&) const; - bool operator<=(const SICEESGroupInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEESGroupInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEESGroupInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMDBBase::SICEESGroupInfo> SICEESGroupInfoSeq; - -class __U__SICEESGroupInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEESGroupInfo*, const ::AliIMDBBase::SICEESGroupInfo*, __U__SICEESGroupInfoSeq); -void __read(::IceInternal::BasicStream*, SICEESGroupInfoSeq&, __U__SICEESGroupInfoSeq); - -struct SICEESBaseGroupInfo -{ - ::std::string groupName; - ::Ice::Int groupId; - ::std::string adminId; - - bool operator==(const SICEESBaseGroupInfo&) const; - bool operator!=(const SICEESBaseGroupInfo&) const; - bool operator<(const SICEESBaseGroupInfo&) const; - bool operator<=(const SICEESBaseGroupInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEESBaseGroupInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEESBaseGroupInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEExpandArea -{ - ::Ice::Int id; - ::std::string areaname; - ::std::string url; - ::std::string picpath; - ::std::string createtime; - - bool operator==(const SICEExpandArea&) const; - bool operator!=(const SICEExpandArea&) const; - bool operator<(const SICEExpandArea&) const; - bool operator<=(const SICEExpandArea& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEExpandArea& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEExpandArea& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMDBBase::SICEExpandArea> SICEExpandAreaSeq; - -class __U__SICEExpandAreaSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEExpandArea*, const ::AliIMDBBase::SICEExpandArea*, __U__SICEExpandAreaSeq); -void __read(::IceInternal::BasicStream*, SICEExpandAreaSeq&, __U__SICEExpandAreaSeq); - -struct SICEESEval -{ - ::Ice::Int code; - ::std::string codename; - ::std::string welcome; - - bool operator==(const SICEESEval&) const; - bool operator!=(const SICEESEval&) const; - bool operator<(const SICEESEval&) const; - bool operator<=(const SICEESEval& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEESEval& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEESEval& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMDBBase::SICEESEval> SICEESEvalSeq; - -class __U__SICEESEvalSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEESEval*, const ::AliIMDBBase::SICEESEval*, __U__SICEESEvalSeq); -void __read(::IceInternal::BasicStream*, SICEESEvalSeq&, __U__SICEESEvalSeq); - -struct SICEESCode -{ - ::Ice::Int code; - ::std::string codename; - ::Ice::Int num; - - bool operator==(const SICEESCode&) const; - bool operator!=(const SICEESCode&) const; - bool operator<(const SICEESCode&) const; - bool operator<=(const SICEESCode& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEESCode& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEESCode& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMDBBase::SICEESCode> SICEESCodeSeq; - -class __U__SICEESCodeSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEESCode*, const ::AliIMDBBase::SICEESCode*, __U__SICEESCodeSeq); -void __read(::IceInternal::BasicStream*, SICEESCodeSeq&, __U__SICEESCodeSeq); - -struct SICEESEvalResult -{ - ::std::string uid; - ::Ice::Int sendNum; - ::Ice::Int receNum; - ::AliIMDBBase::SICEESCodeSeq codes; - - bool operator==(const SICEESEvalResult&) const; - bool operator!=(const SICEESEvalResult&) const; - bool operator<(const SICEESEvalResult&) const; - bool operator<=(const SICEESEvalResult& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEESEvalResult& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEESEvalResult& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMDBBase::SICEESEvalResult> SICEESEvalResultSeq; - -class __U__SICEESEvalResultSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEESEvalResult*, const ::AliIMDBBase::SICEESEvalResult*, __U__SICEESEvalResultSeq); -void __read(::IceInternal::BasicStream*, SICEESEvalResultSeq&, __U__SICEESEvalResultSeq); - -struct SICEESEvalResultEx -{ - ::std::string uid; - ::Ice::Int sendNum; - ::Ice::Int receNum; - ::AliIMDBBase::SICEESCodeSeq codes; - ::std::string evalTime; - - bool operator==(const SICEESEvalResultEx&) const; - bool operator!=(const SICEESEvalResultEx&) const; - bool operator<(const SICEESEvalResultEx&) const; - bool operator<=(const SICEESEvalResultEx& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEESEvalResultEx& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEESEvalResultEx& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMDBBase::SICEESEvalResultEx> SICEESEvalResultExSeq; - -class __U__SICEESEvalResultExSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICEESEvalResultEx*, const ::AliIMDBBase::SICEESEvalResultEx*, __U__SICEESEvalResultExSeq); -void __read(::IceInternal::BasicStream*, SICEESEvalResultExSeq&, __U__SICEESEvalResultExSeq); - -struct SICESqlItem -{ - ::Ice::Int type; - ::std::string name; - ::std::string value; - - bool operator==(const SICESqlItem&) const; - bool operator!=(const SICESqlItem&) const; - bool operator<(const SICESqlItem&) const; - bool operator<=(const SICESqlItem& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICESqlItem& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICESqlItem& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMDBBase::SICESqlItem> SICESqlItemSeq; - -class __U__SICESqlItemSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::SICESqlItem*, const ::AliIMDBBase::SICESqlItem*, __U__SICESqlItemSeq); -void __read(::IceInternal::BasicStream*, SICESqlItemSeq&, __U__SICESqlItemSeq); - -struct UserStatics -{ - ::Ice::Int type; - ::std::string loginId; - ::Ice::Int totalDegree; - ::Ice::Int userValue; - ::Ice::Int dailyAction; - ::Ice::Int phoneAuth; - ::Ice::Int emailAuth; - ::Ice::Int identityAuth; - ::Ice::Int tpAuth; - ::Ice::Int tpFee; - ::Ice::Int alipayAuth; - ::Ice::Int buyCredit; - ::Ice::Int sellCredit; - - bool operator==(const UserStatics&) const; - bool operator!=(const UserStatics&) const; - bool operator<(const UserStatics&) const; - bool operator<=(const UserStatics& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const UserStatics& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const UserStatics& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMDBBase::UserStatics> UserStaticsSeq; - -class __U__UserStaticsSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMDBBase::UserStatics*, const ::AliIMDBBase::UserStatics*, __U__UserStaticsSeq); -void __read(::IceInternal::BasicStream*, UserStaticsSeq&, __U__UserStaticsSeq); - -} - -#endif diff --git a/features/aliww/include/dbs_perf_test.h b/features/aliww/include/dbs_perf_test.h deleted file mode 100644 index ad46a5f..0000000 --- a/features/aliww/include/dbs_perf_test.h +++ /dev/null @@ -1,34 +0,0 @@ -#ifndef _DBS_PERF_TEST_H -#define _DBS_PERF_TEST_H - -#include "paramutil.h" -#include "cbenchmark.h" -#include "dbservice.h" -#include -#include - -using namespace std; -using namespace Ice; -using namespace AliIMDBBase; - -typedef struct dbs_t{ - IMDBProxyMgrPrx *dbs; - Ice::CommunicatorPtr *ic; -}dbs_st; - -#ifdef __cplusplus -extern "C" { -#endif - -void* dbs_init(void *p); -void* dbs_end(void *p); - -void* dbs_CheckUserTokenExtra(void *p); -void* dbs_CheckWebWWPasswd(void *p); -void* dbs_CheckUserWebPasswdExtra(void *p); -void* dbs_GetUserInfoExNew4(void *p); -void* dbs_UpdateUserDataInfo3(void *p); -#ifdef __cplusplus -} -#endif -#endif diff --git a/features/aliww/include/dbservice.h b/features/aliww/include/dbservice.h deleted file mode 100644 index 67d8b84..0000000 --- a/features/aliww/include/dbservice.h +++ /dev/null @@ -1,10304 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbservice.ice' - -#ifndef __dbservice_h__ -#define __dbservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIMDBBase -{ - -class IMDBProxyMgr; -bool operator==(const IMDBProxyMgr&, const IMDBProxyMgr&); -bool operator!=(const IMDBProxyMgr&, const IMDBProxyMgr&); -bool operator<(const IMDBProxyMgr&, const IMDBProxyMgr&); -bool operator<=(const IMDBProxyMgr&, const IMDBProxyMgr&); -bool operator>(const IMDBProxyMgr&, const IMDBProxyMgr&); -bool operator>=(const IMDBProxyMgr&, const IMDBProxyMgr&); - -} - -} - -namespace AliIMDBBase -{ - -class IMDBProxyMgr; -bool operator==(const IMDBProxyMgr&, const IMDBProxyMgr&); -bool operator!=(const IMDBProxyMgr&, const IMDBProxyMgr&); -bool operator<(const IMDBProxyMgr&, const IMDBProxyMgr&); -bool operator<=(const IMDBProxyMgr&, const IMDBProxyMgr&); -bool operator>(const IMDBProxyMgr&, const IMDBProxyMgr&); -bool operator>=(const IMDBProxyMgr&, const IMDBProxyMgr&); - -} - -namespace IceInternal -{ - -void incRef(::AliIMDBBase::IMDBProxyMgr*); -void decRef(::AliIMDBBase::IMDBProxyMgr*); - -void incRef(::IceProxy::AliIMDBBase::IMDBProxyMgr*); -void decRef(::IceProxy::AliIMDBBase::IMDBProxyMgr*); - -} - -namespace AliIMDBBase -{ - -typedef ::IceInternal::Handle< ::AliIMDBBase::IMDBProxyMgr> IMDBProxyMgrPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIMDBBase::IMDBProxyMgr> IMDBProxyMgrPrx; - -void __write(::IceInternal::BasicStream*, const IMDBProxyMgrPrx&); -void __read(::IceInternal::BasicStream*, IMDBProxyMgrPrx&); -void __write(::IceInternal::BasicStream*, const IMDBProxyMgrPtr&); -void __patch__IMDBProxyMgrPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IMDBProxyMgrPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IMDBProxyMgrPtr&); -void __decRefUnsafe(const IMDBProxyMgrPtr&); -void __clearHandleUnsafe(IMDBProxyMgrPtr&); - -} - -namespace AliIMDBBase -{ - -} - -namespace AliIMDBBase -{ - -class AMD_IMDBProxyMgr_sayhello : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_sayhello> AMD_IMDBProxyMgr_sayhelloPtr; - -class AMD_IMDBProxyMgr_CheckUserToken : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserToken> AMD_IMDBProxyMgr_CheckUserTokenPtr; - -class AMD_IMDBProxyMgr_CheckTmpSession : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckTmpSession> AMD_IMDBProxyMgr_CheckTmpSessionPtr; - -class AMD_IMDBProxyMgr_CheckUserWebPasswd : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswd> AMD_IMDBProxyMgr_CheckUserWebPasswdPtr; - -class AMD_IMDBProxyMgr_CheckUserPasswd : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserPasswd> AMD_IMDBProxyMgr_CheckUserPasswdPtr; - -class AMD_IMDBProxyMgr_CheckUserWebToken : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebToken> AMD_IMDBProxyMgr_CheckUserWebTokenPtr; - -class AMD_IMDBProxyMgr_GetAtmLongid : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetAtmLongid> AMD_IMDBProxyMgr_GetAtmLongidPtr; - -class AMD_IMDBProxyMgr_AddUser60 : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddUser60> AMD_IMDBProxyMgr_AddUser60Ptr; - -class AMD_IMDBProxyMgr_GetWebMemberPWInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SMemberPWInfo&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfo> AMD_IMDBProxyMgr_GetWebMemberPWInfoPtr; - -class AMD_IMDBProxyMgr_GetWebMemberPWInfoEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SMemberPWInfoEx&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfoEx> AMD_IMDBProxyMgr_GetWebMemberPWInfoExPtr; - -class AMD_IMDBProxyMgr_GetUserWebBasicProfile : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserWebBasicProfile> AMD_IMDBProxyMgr_GetUserWebBasicProfilePtr; - -class AMD_IMDBProxyMgr_CheckCanAddContact : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckCanAddContact> AMD_IMDBProxyMgr_CheckCanAddContactPtr; - -class AMD_IMDBProxyMgr_QueryMatchedUserIds : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SMatchedUserIdInfoSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_QueryMatchedUserIds> AMD_IMDBProxyMgr_QueryMatchedUserIdsPtr; - -class AMD_IMDBProxyMgr_UpdateContactWebInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactWebInfo> AMD_IMDBProxyMgr_UpdateContactWebInfoPtr; - -class AMD_IMDBProxyMgr_DelTaobaoUser : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_DelTaobaoUser> AMD_IMDBProxyMgr_DelTaobaoUserPtr; - -class AMD_IMDBProxyMgr_DelAnyUser : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_DelAnyUser> AMD_IMDBProxyMgr_DelAnyUserPtr; - -class AMD_IMDBProxyMgr_AddUserKeyWord : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddUserKeyWord> AMD_IMDBProxyMgr_AddUserKeyWordPtr; - -class AMD_IMDBProxyMgr_UpdateUserKeyWord : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserKeyWord> AMD_IMDBProxyMgr_UpdateUserKeyWordPtr; - -class AMD_IMDBProxyMgr_GetUserKeyWord : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWord> AMD_IMDBProxyMgr_GetUserKeyWordPtr; - -class AMD_IMDBProxyMgr_QueryUserIdsByKeyWord : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SMatchedUserIdInfoSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_QueryUserIdsByKeyWord> AMD_IMDBProxyMgr_QueryUserIdsByKeyWordPtr; - -class AMD_IMDBProxyMgr_GetBatchMemberInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEMemberInfoSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetBatchMemberInfo> AMD_IMDBProxyMgr_GetBatchMemberInfoPtr; - -class AMD_IMDBProxyMgr_GetAllVersion : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEVersionSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllVersion> AMD_IMDBProxyMgr_GetAllVersionPtr; - -class AMD_IMDBProxyMgr_GetAllSysMsg : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICESysMessageSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllSysMsg> AMD_IMDBProxyMgr_GetAllSysMsgPtr; - -class AMD_IMDBProxyMgr_GetAllExSysMsg : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SExICESysMessageSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllExSysMsg> AMD_IMDBProxyMgr_GetAllExSysMsgPtr; - -class AMD_IMDBProxyMgr_GetUserInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfo&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo> AMD_IMDBProxyMgr_GetUserInfoPtr; - -class AMD_IMDBProxyMgr_GetUserInfo2 : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfo2&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2> AMD_IMDBProxyMgr_GetUserInfo2Ptr; - -class AMD_IMDBProxyMgr_GetUserInfoEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfoEx&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoEx> AMD_IMDBProxyMgr_GetUserInfoExPtr; - -class AMD_IMDBProxyMgr_GetUserInfoNew : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfoNew&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoNew> AMD_IMDBProxyMgr_GetUserInfoNewPtr; - -class AMD_IMDBProxyMgr_GetUserInfo2New : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfo2New&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2New> AMD_IMDBProxyMgr_GetUserInfo2NewPtr; - -class AMD_IMDBProxyMgr_GetUserInfoExNew : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfoExNew&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew> AMD_IMDBProxyMgr_GetUserInfoExNewPtr; - -class AMD_IMDBProxyMgr_GetUserInfoExNew2 : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfoExNew2&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew2> AMD_IMDBProxyMgr_GetUserInfoExNew2Ptr; - -class AMD_IMDBProxyMgr_GetUserInfoExNew3 : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfoExNew3&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew3> AMD_IMDBProxyMgr_GetUserInfoExNew3Ptr; - -class AMD_IMDBProxyMgr_GetUserInfoExNew4 : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfoExNew4&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew4> AMD_IMDBProxyMgr_GetUserInfoExNew4Ptr; - -class AMD_IMDBProxyMgr_GetUserVerifyInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Byte, ::Ice::Byte) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfo> AMD_IMDBProxyMgr_GetUserVerifyInfoPtr; - -class AMD_IMDBProxyMgr_GetUserVerifyInfoEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Byte, ::Ice::Byte, ::Ice::Byte) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoEx> AMD_IMDBProxyMgr_GetUserVerifyInfoExPtr; - -class AMD_IMDBProxyMgr_GetUserVerifyInfoQuestion : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Byte, ::Ice::Byte, ::Ice::Byte, const ::std::string&, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoQuestion> AMD_IMDBProxyMgr_GetUserVerifyInfoQuestionPtr; - -class AMD_IMDBProxyMgr_GetGroupList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEGroupInfoSeq&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupList> AMD_IMDBProxyMgr_GetGroupListPtr; - -class AMD_IMDBProxyMgr_GetGroupListEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEGroupInfoExSeq&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupListEx> AMD_IMDBProxyMgr_GetGroupListExPtr; - -class AMD_IMDBProxyMgr_GetContactList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactList> AMD_IMDBProxyMgr_GetContactListPtr; - -class AMD_IMDBProxyMgr_GetBlackList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetBlackList> AMD_IMDBProxyMgr_GetBlackListPtr; - -class AMD_IMDBProxyMgr_GetReverseBlackList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetReverseBlackList> AMD_IMDBProxyMgr_GetReverseBlackListPtr; - -class AMD_IMDBProxyMgr_GetOfflineMsg : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEOffLineMessegeSeq&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsg> AMD_IMDBProxyMgr_GetOfflineMsgPtr; - -class AMD_IMDBProxyMgr_GetOfflineMsgEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEOffLineMessegeExSeq&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgEx> AMD_IMDBProxyMgr_GetOfflineMsgExPtr; - -class AMD_IMDBProxyMgr_GetOfflineMsgCount : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgCount> AMD_IMDBProxyMgr_GetOfflineMsgCountPtr; - -class AMD_IMDBProxyMgr_GetEnetOfflineMsgNum : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetEnetOfflineMsgNum> AMD_IMDBProxyMgr_GetEnetOfflineMsgNumPtr; - -class AMD_IMDBProxyMgr_GetContactInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEContactInfo&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactInfo> AMD_IMDBProxyMgr_GetContactInfoPtr; - -class AMD_IMDBProxyMgr_GetOfflineMsgNum : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgNum> AMD_IMDBProxyMgr_GetOfflineMsgNumPtr; - -class AMD_IMDBProxyMgr_GetToolProfiles : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfiles> AMD_IMDBProxyMgr_GetToolProfilesPtr; - -class AMD_IMDBProxyMgr_GetToolProfilesEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEToolProfileSeq&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfilesEx> AMD_IMDBProxyMgr_GetToolProfilesExPtr; - -class AMD_IMDBProxyMgr_GetSysMsg : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICESysMessage&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetSysMsg> AMD_IMDBProxyMgr_GetSysMsgPtr; - -class AMD_IMDBProxyMgr_AddUser : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddUser> AMD_IMDBProxyMgr_AddUserPtr; - -class AMD_IMDBProxyMgr_AddGroup : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddGroup> AMD_IMDBProxyMgr_AddGroupPtr; - -class AMD_IMDBProxyMgr_AddGroupEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddGroupEx> AMD_IMDBProxyMgr_AddGroupExPtr; - -class AMD_IMDBProxyMgr_AddBlackList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddBlackList> AMD_IMDBProxyMgr_AddBlackListPtr; - -class AMD_IMDBProxyMgr_AddOfflineMsg : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsg> AMD_IMDBProxyMgr_AddOfflineMsgPtr; - -class AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsg : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsg> AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsgPtr; - -class AMD_IMDBProxyMgr_AddOfflineMsgNoSMS : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgNoSMS> AMD_IMDBProxyMgr_AddOfflineMsgNoSMSPtr; - -class AMD_IMDBProxyMgr_AddOfflineMsgEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgEx> AMD_IMDBProxyMgr_AddOfflineMsgExPtr; - -class AMD_IMDBProxyMgr_UpdateUserLogin : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLogin> AMD_IMDBProxyMgr_UpdateUserLoginPtr; - -class AMD_IMDBProxyMgr_UpdateUserLoginEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginEx> AMD_IMDBProxyMgr_UpdateUserLoginExPtr; - -class AMD_IMDBProxyMgr_UpdateUserLoginDataInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfo> AMD_IMDBProxyMgr_UpdateUserLoginDataInfoPtr; - -class AMD_IMDBProxyMgr_UpdateUserLoginDataInfoEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoEx> AMD_IMDBProxyMgr_UpdateUserLoginDataInfoExPtr; - -class AMD_IMDBProxyMgr_UpdateUserSysMsgId : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserSysMsgId> AMD_IMDBProxyMgr_UpdateUserSysMsgIdPtr; - -class AMD_IMDBProxyMgr_UpdateUserDataInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo> AMD_IMDBProxyMgr_UpdateUserDataInfoPtr; - -class AMD_IMDBProxyMgr_UpdateUserDataInfo2 : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo2> AMD_IMDBProxyMgr_UpdateUserDataInfo2Ptr; - -class AMD_IMDBProxyMgr_UpdateUserDataInfo3 : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo3> AMD_IMDBProxyMgr_UpdateUserDataInfo3Ptr; - -class AMD_IMDBProxyMgr_UpdateUserVerifySet : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySet> AMD_IMDBProxyMgr_UpdateUserVerifySetPtr; - -class AMD_IMDBProxyMgr_UpdateUserVerifySetEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetEx> AMD_IMDBProxyMgr_UpdateUserVerifySetExPtr; - -class AMD_IMDBProxyMgr_UpdateUserVerifySetQuestion : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetQuestion> AMD_IMDBProxyMgr_UpdateUserVerifySetQuestionPtr; - -class AMD_IMDBProxyMgr_UpdateGroup : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateGroup> AMD_IMDBProxyMgr_UpdateGroupPtr; - -class AMD_IMDBProxyMgr_MoveGroup : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_MoveGroup> AMD_IMDBProxyMgr_MoveGroupPtr; - -class AMD_IMDBProxyMgr_UpdateContactNickName : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickName> AMD_IMDBProxyMgr_UpdateContactNickNamePtr; - -class AMD_IMDBProxyMgr_UpdateContactGroup : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroup> AMD_IMDBProxyMgr_UpdateContactGroupPtr; - -class AMD_IMDBProxyMgr_UpdateContactStatus : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactStatus> AMD_IMDBProxyMgr_UpdateContactStatusPtr; - -class AMD_IMDBProxyMgr_UpdateNotifyMessage : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateNotifyMessage> AMD_IMDBProxyMgr_UpdateNotifyMessagePtr; - -class AMD_IMDBProxyMgr_UpdateToolProfiles : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfiles> AMD_IMDBProxyMgr_UpdateToolProfilesPtr; - -class AMD_IMDBProxyMgr_UpdateToolProfilesEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfilesEx> AMD_IMDBProxyMgr_UpdateToolProfilesExPtr; - -class AMD_IMDBProxyMgr_RemoveGroup : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveGroup> AMD_IMDBProxyMgr_RemoveGroupPtr; - -class AMD_IMDBProxyMgr_RemoveContact : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveContact> AMD_IMDBProxyMgr_RemoveContactPtr; - -class AMD_IMDBProxyMgr_RemoveInverfiedContact : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveInverfiedContact> AMD_IMDBProxyMgr_RemoveInverfiedContactPtr; - -class AMD_IMDBProxyMgr_RemoveBlackList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBlackList> AMD_IMDBProxyMgr_RemoveBlackListPtr; - -class AMD_IMDBProxyMgr_IsBlackedByOther : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, bool) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_IsBlackedByOther> AMD_IMDBProxyMgr_IsBlackedByOtherPtr; - -class AMD_IMDBProxyMgr_RemoveBatchContacts : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBatchContacts> AMD_IMDBProxyMgr_RemoveBatchContactsPtr; - -class AMD_IMDBProxyMgr_GetUserDStatus : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserDStatusSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserDStatus> AMD_IMDBProxyMgr_GetUserDStatusPtr; - -class AMD_IMDBProxyMgr_AddUserDStatus : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddUserDStatus> AMD_IMDBProxyMgr_AddUserDStatusPtr; - -class AMD_IMDBProxyMgr_RemoveUserDStatus : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveUserDStatus> AMD_IMDBProxyMgr_RemoveUserDStatusPtr; - -class AMD_IMDBProxyMgr_GetAllContactList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllContactList> AMD_IMDBProxyMgr_GetAllContactListPtr; - -class AMD_IMDBProxyMgr_GetCntModifyList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICECntCidModPairSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntModifyList> AMD_IMDBProxyMgr_GetCntModifyListPtr; - -class AMD_IMDBProxyMgr_AddGenContactFull : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Long) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddGenContactFull> AMD_IMDBProxyMgr_AddGenContactFullPtr; - -class AMD_IMDBProxyMgr_GetContactDetail : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEGenContactFull&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetail> AMD_IMDBProxyMgr_GetContactDetailPtr; - -class AMD_IMDBProxyMgr_DelGenContact : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Long) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_DelGenContact> AMD_IMDBProxyMgr_DelGenContactPtr; - -class AMD_IMDBProxyMgr_AddContact : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddContact> AMD_IMDBProxyMgr_AddContactPtr; - -class AMD_IMDBProxyMgr_CheckUpgradeGenCnt : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUpgradeGenCnt> AMD_IMDBProxyMgr_CheckUpgradeGenCntPtr; - -class AMD_IMDBProxyMgr_ModifyGenCntID : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyGenCntID> AMD_IMDBProxyMgr_ModifyGenCntIDPtr; - -class AMD_IMDBProxyMgr_UpgradeGenContact : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Long, ::Ice::Long, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpgradeGenContact> AMD_IMDBProxyMgr_UpgradeGenContactPtr; - -class AMD_IMDBProxyMgr_GetUpdatedUserInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Long, ::Ice::Long, const ::std::string&, const ::std::string&, ::Ice::Long, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUpdatedUserInfo> AMD_IMDBProxyMgr_GetUpdatedUserInfoPtr; - -class AMD_IMDBProxyMgr_ModifyContactDetail : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Long, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyContactDetail> AMD_IMDBProxyMgr_ModifyContactDetailPtr; - -class AMD_IMDBProxyMgr_UpdateContactGroupByCid : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroupByCid> AMD_IMDBProxyMgr_UpdateContactGroupByCidPtr; - -class AMD_IMDBProxyMgr_UpdateContactNickNameByCid : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickNameByCid> AMD_IMDBProxyMgr_UpdateContactNickNameByCidPtr; - -class AMD_IMDBProxyMgr_GetCRMContactDetail : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICECRMContactDetail&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetCRMContactDetail> AMD_IMDBProxyMgr_GetCRMContactDetailPtr; - -class AMD_IMDBProxyMgr_GetHardCodeIds : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetHardCodeIds> AMD_IMDBProxyMgr_GetHardCodeIdsPtr; - -class AMD_IMDBProxyMgr_UpdateHardCodeIds : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateHardCodeIds> AMD_IMDBProxyMgr_UpdateHardCodeIdsPtr; - -class AMD_IMDBProxyMgr_GetCntOtherModifyList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICECntOtherModInfoSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyList> AMD_IMDBProxyMgr_GetCntOtherModifyListPtr; - -class AMD_IMDBProxyMgr_GetCntOtherModifyInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICECntOtherModInfo&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyInfo> AMD_IMDBProxyMgr_GetCntOtherModifyInfoPtr; - -class AMD_IMDBProxyMgr_GetUserCRInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserCRInfo> AMD_IMDBProxyMgr_GetUserCRInfoPtr; - -class AMD_IMDBProxyMgr_SetUserCRInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_SetUserCRInfo> AMD_IMDBProxyMgr_SetUserCRInfoPtr; - -class AMD_IMDBProxyMgr_GetSmsUserInfoByUid : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICESmsUserInfo&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserInfoByUid> AMD_IMDBProxyMgr_GetSmsUserInfoByUidPtr; - -class AMD_IMDBProxyMgr_GetSmsUserMsgInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserMsgInfo> AMD_IMDBProxyMgr_GetSmsUserMsgInfoPtr; - -class AMD_IMDBProxyMgr_DelOfflineMsg : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsg> AMD_IMDBProxyMgr_DelOfflineMsgPtr; - -class AMD_IMDBProxyMgr_DelOfflineMsgEx : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsgEx> AMD_IMDBProxyMgr_DelOfflineMsgExPtr; - -class AMD_IMDBProxyMgr_DelWapOfflineMsg : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_DelWapOfflineMsg> AMD_IMDBProxyMgr_DelWapOfflineMsgPtr; - -class AMD_IMDBProxyMgr_ModifyCntMemo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyCntMemo> AMD_IMDBProxyMgr_ModifyCntMemoPtr; - -class AMD_IMDBProxyMgr_GetCntMemo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntMemo> AMD_IMDBProxyMgr_GetCntMemoPtr; - -class AMD_IMDBProxyMgr_GetUserTribe : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::ALiIMDBTribe::STribeIdDbSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribe> AMD_IMDBProxyMgr_GetUserTribePtr; - -class AMD_IMDBProxyMgr_GetUserTribeConfig : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribeConfig> AMD_IMDBProxyMgr_GetUserTribeConfigPtr; - -class AMD_IMDBProxyMgr_UpdateUserTribeConfig : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserTribeConfig> AMD_IMDBProxyMgr_UpdateUserTribeConfigPtr; - -class AMD_IMDBProxyMgr_GetTribeOffMngMsg : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::ALiIMDBTribe::STribeOfflineMsgSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetTribeOffMngMsg> AMD_IMDBProxyMgr_GetTribeOffMngMsgPtr; - -class AMD_IMDBProxyMgr_DelTribeOffMngMsg : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_DelTribeOffMngMsg> AMD_IMDBProxyMgr_DelTribeOffMngMsgPtr; - -class AMD_IMDBProxyMgr_ModifyPersonalShow : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyPersonalShow> AMD_IMDBProxyMgr_ModifyPersonalShowPtr; - -class AMD_IMDBProxyMgr_GetPersonalShow : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetPersonalShow> AMD_IMDBProxyMgr_GetPersonalShowPtr; - -class AMD_IMDBProxyMgr_GetAllOnlineSmsUser : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllOnlineSmsUser> AMD_IMDBProxyMgr_GetAllOnlineSmsUserPtr; - -class AMD_IMDBProxyMgr_GetUserKeyWordDegree : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Float) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWordDegree> AMD_IMDBProxyMgr_GetUserKeyWordDegreePtr; - -class AMD_IMDBProxyMgr_GetUserValue : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserValue> AMD_IMDBProxyMgr_GetUserValuePtr; - -class AMD_IMDBProxyMgr_UpdateUserMd5Password : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserMd5Password> AMD_IMDBProxyMgr_UpdateUserMd5PasswordPtr; - -class AMD_IMDBProxyMgr_InsertYahooUser : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_InsertYahooUser> AMD_IMDBProxyMgr_InsertYahooUserPtr; - -class AMD_IMDBProxyMgr_GetContactDetailByUid : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEGenContactFull&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetailByUid> AMD_IMDBProxyMgr_GetContactDetailByUidPtr; - -class AMD_IMDBProxyMgr_GetChildTeamList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SChildUserInfoSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList> AMD_IMDBProxyMgr_GetChildTeamListPtr; - -class AMD_IMDBProxyMgr_GetChildTeamList2 : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SChildUserInfoSeq2&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList2> AMD_IMDBProxyMgr_GetChildTeamList2Ptr; - -class AMD_IMDBProxyMgr_GetChildUserInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SChildUserInfo&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo> AMD_IMDBProxyMgr_GetChildUserInfoPtr; - -class AMD_IMDBProxyMgr_GetChildUserInfo2 : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SChildUserInfo2&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo2> AMD_IMDBProxyMgr_GetChildUserInfo2Ptr; - -class AMD_IMDBProxyMgr_GetShareContactList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetShareContactList> AMD_IMDBProxyMgr_GetShareContactListPtr; - -class AMD_IMDBProxyMgr_GetContactShareInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactShareInfo> AMD_IMDBProxyMgr_GetContactShareInfoPtr; - -class AMD_IMDBProxyMgr_SetContactShareInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_SetContactShareInfo> AMD_IMDBProxyMgr_SetContactShareInfoPtr; - -class AMD_IMDBProxyMgr_GetMultiAccountContactList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEContactInfoSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiAccountContactList> AMD_IMDBProxyMgr_GetMultiAccountContactListPtr; - -class AMD_IMDBProxyMgr_GetMultiServiceList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::Ice::IntSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiServiceList> AMD_IMDBProxyMgr_GetMultiServiceListPtr; - -class AMD_IMDBProxyMgr_GetMultiBindToUser : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiBindToUser> AMD_IMDBProxyMgr_GetMultiBindToUserPtr; - -class AMD_IMDBProxyMgr_GetWebBinds : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEKvPairSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetWebBinds> AMD_IMDBProxyMgr_GetWebBindsPtr; - -class AMD_IMDBProxyMgr_AddWebBind : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_AddWebBind> AMD_IMDBProxyMgr_AddWebBindPtr; - -class AMD_IMDBProxyMgr_ChangeWebBind : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_ChangeWebBind> AMD_IMDBProxyMgr_ChangeWebBindPtr; - -class AMD_IMDBProxyMgr_DelWebBind : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_DelWebBind> AMD_IMDBProxyMgr_DelWebBindPtr; - -class AMD_IMDBProxyMgr_getUserSession : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIM::SIceSession&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getUserSession> AMD_IMDBProxyMgr_getUserSessionPtr; - -class AMD_IMDBProxyMgr_checkUserSession : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_checkUserSession> AMD_IMDBProxyMgr_checkUserSessionPtr; - -class AMD_IMDBProxyMgr_removeSession : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_removeSession> AMD_IMDBProxyMgr_removeSessionPtr; - -class AMD_IMDBProxyMgr_UpdateSignature : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSignature> AMD_IMDBProxyMgr_UpdateSignaturePtr; - -class AMD_IMDBProxyMgr_updateContactClientInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_updateContactClientInfo> AMD_IMDBProxyMgr_updateContactClientInfoPtr; - -class AMD_IMDBProxyMgr_getUserProfile : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEKVMap&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getUserProfile> AMD_IMDBProxyMgr_getUserProfilePtr; - -class AMD_IMDBProxyMgr_getPeerVerifyFlag : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlag> AMD_IMDBProxyMgr_getPeerVerifyFlagPtr; - -class AMD_IMDBProxyMgr_getPeerVerifyFlagQuestion : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlagQuestion> AMD_IMDBProxyMgr_getPeerVerifyFlagQuestionPtr; - -class AMD_IMDBProxyMgr_getNickName : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getNickName> AMD_IMDBProxyMgr_getNickNamePtr; - -class AMD_IMDBProxyMgr_getFTServiceInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, ::Ice::Short) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getFTServiceInfo> AMD_IMDBProxyMgr_getFTServiceInfoPtr; - -class AMD_IMDBProxyMgr_getTietuServiceInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Short) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getTietuServiceInfo> AMD_IMDBProxyMgr_getTietuServiceInfoPtr; - -class AMD_IMDBProxyMgr_getFTSAddr : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Long, const ::std::string&, ::Ice::Short) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getFTSAddr> AMD_IMDBProxyMgr_getFTSAddrPtr; - -class AMD_IMDBProxyMgr_registerWanghao : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_registerWanghao> AMD_IMDBProxyMgr_registerWanghaoPtr; - -class AMD_IMDBProxyMgr_updateUserProfile : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_updateUserProfile> AMD_IMDBProxyMgr_updateUserProfilePtr; - -class AMD_IMDBProxyMgr_loadSitePrefix : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SImPrefixSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_loadSitePrefix> AMD_IMDBProxyMgr_loadSitePrefixPtr; - -class AMD_IMDBProxyMgr_updateAepUserId : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_updateAepUserId> AMD_IMDBProxyMgr_updateAepUserIdPtr; - -class AMD_IMDBProxyMgr_updateVipflag : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_updateVipflag> AMD_IMDBProxyMgr_updateVipflagPtr; - -class AMD_IMDBProxyMgr_checkWangHaoPwd : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_checkWangHaoPwd> AMD_IMDBProxyMgr_checkWangHaoPwdPtr; - -class AMD_IMDBProxyMgr_checkCanLogin : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_checkCanLogin> AMD_IMDBProxyMgr_checkCanLoginPtr; - -class AMD_IMDBProxyMgr_GetSIPSessionId : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_GetSIPSessionId> AMD_IMDBProxyMgr_GetSIPSessionIdPtr; - -class AMD_IMDBProxyMgr_CheckGsContact : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckGsContact> AMD_IMDBProxyMgr_CheckGsContactPtr; - -class AMD_IMDBProxyMgr_UpdateSmsAuthCode : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSmsAuthCode> AMD_IMDBProxyMgr_UpdateSmsAuthCodePtr; - -class AMD_IMDBProxyMgr_CheckSmsAuthCode : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthCode> AMD_IMDBProxyMgr_CheckSmsAuthCodePtr; - -class AMD_IMDBProxyMgr_UpdateUserValueBySmsAuth : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserValueBySmsAuth> AMD_IMDBProxyMgr_UpdateUserValueBySmsAuthPtr; - -class AMD_IMDBProxyMgr_CheckSmsAuthStatus : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthStatus> AMD_IMDBProxyMgr_CheckSmsAuthStatusPtr; - -class AMD_IMDBProxyMgr_CheckUserTokenExtra : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserTokenExtra> AMD_IMDBProxyMgr_CheckUserTokenExtraPtr; - -class AMD_IMDBProxyMgr_CheckUserWebPasswdExtra : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswdExtra> AMD_IMDBProxyMgr_CheckUserWebPasswdExtraPtr; - -class AMD_IMDBProxyMgr_getESShuntStatus : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESShuntStatus> AMD_IMDBProxyMgr_getESShuntStatusPtr; - -class AMD_IMDBProxyMgr_setESShuntStatus : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_setESShuntStatus> AMD_IMDBProxyMgr_setESShuntStatusPtr; - -class AMD_IMDBProxyMgr_getMaxESReceptNum : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEReceptNumSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getMaxESReceptNum> AMD_IMDBProxyMgr_getMaxESReceptNumPtr; - -class AMD_IMDBProxyMgr_setMaxESReceptNum : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_setMaxESReceptNum> AMD_IMDBProxyMgr_setMaxESReceptNumPtr; - -class AMD_IMDBProxyMgr_getESPriority : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEReceptPrioritySeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESPriority> AMD_IMDBProxyMgr_getESPriorityPtr; - -class AMD_IMDBProxyMgr_setESPriority : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_setESPriority> AMD_IMDBProxyMgr_setESPriorityPtr; - -class AMD_IMDBProxyMgr_getESRecvOffMsg : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICERecvOffMsgSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESRecvOffMsg> AMD_IMDBProxyMgr_getESRecvOffMsgPtr; - -class AMD_IMDBProxyMgr_setESRecvOffMsg : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_setESRecvOffMsg> AMD_IMDBProxyMgr_setESRecvOffMsgPtr; - -class AMD_IMDBProxyMgr_getESGroupList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::Ice::IntSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupList> AMD_IMDBProxyMgr_getESGroupListPtr; - -class AMD_IMDBProxyMgr_insertESGroupInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_insertESGroupInfo> AMD_IMDBProxyMgr_insertESGroupInfoPtr; - -class AMD_IMDBProxyMgr_updateESGroupInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_updateESGroupInfo> AMD_IMDBProxyMgr_updateESGroupInfoPtr; - -class AMD_IMDBProxyMgr_delESGroup : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_delESGroup> AMD_IMDBProxyMgr_delESGroupPtr; - -class AMD_IMDBProxyMgr_getESGroupInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEESGroupInfoSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfo> AMD_IMDBProxyMgr_getESGroupInfoPtr; - -class AMD_IMDBProxyMgr_getESGroupInfoByID : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEESGroupInfo&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfoByID> AMD_IMDBProxyMgr_getESGroupInfoByIDPtr; - -class AMD_IMDBProxyMgr_getESUserFunc : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESUserFunc> AMD_IMDBProxyMgr_getESUserFuncPtr; - -class AMD_IMDBProxyMgr_getESUnJoinGroup : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESUnJoinGroup> AMD_IMDBProxyMgr_getESUnJoinGroupPtr; - -class AMD_IMDBProxyMgr_checkESRole : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_checkESRole> AMD_IMDBProxyMgr_checkESRolePtr; - -class AMD_IMDBProxyMgr_CheckWebWWPasswd : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_CheckWebWWPasswd> AMD_IMDBProxyMgr_CheckWebWWPasswdPtr; - -class AMD_IMDBProxyMgr_getESExpandArea : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEExpandAreaSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandArea> AMD_IMDBProxyMgr_getESExpandAreaPtr; - -class AMD_IMDBProxyMgr_getESExpandAreaById : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEExpandArea&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandAreaById> AMD_IMDBProxyMgr_getESExpandAreaByIdPtr; - -class AMD_IMDBProxyMgr_addESExpandArea : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_addESExpandArea> AMD_IMDBProxyMgr_addESExpandAreaPtr; - -class AMD_IMDBProxyMgr_updateESExpandArea : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_updateESExpandArea> AMD_IMDBProxyMgr_updateESExpandAreaPtr; - -class AMD_IMDBProxyMgr_delESExpandArea : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_delESExpandArea> AMD_IMDBProxyMgr_delESExpandAreaPtr; - -class AMD_IMDBProxyMgr_setESEval : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_setESEval> AMD_IMDBProxyMgr_setESEvalPtr; - -class AMD_IMDBProxyMgr_getESEval : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESEval> AMD_IMDBProxyMgr_getESEvalPtr; - -class AMD_IMDBProxyMgr_sendESEvalResult : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_sendESEvalResult> AMD_IMDBProxyMgr_sendESEvalResultPtr; - -class AMD_IMDBProxyMgr_setESEvalResult : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_setESEvalResult> AMD_IMDBProxyMgr_setESEvalResultPtr; - -class AMD_IMDBProxyMgr_getESEvalResult : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResult> AMD_IMDBProxyMgr_getESEvalResultPtr; - -class AMD_IMDBProxyMgr_getESEvalResultToday : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEESEvalResultSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultToday> AMD_IMDBProxyMgr_getESEvalResultTodayPtr; - -class AMD_IMDBProxyMgr_getESEvalResultHistory : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEESEvalResultSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistory> AMD_IMDBProxyMgr_getESEvalResultHistoryPtr; - -class AMD_IMDBProxyMgr_getESEvalResultHistorybypage : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SICEESEvalResultExSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistorybypage> AMD_IMDBProxyMgr_getESEvalResultHistorybypagePtr; - -class AMD_IMDBProxyMgr_getLastLoginTime : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getLastLoginTime> AMD_IMDBProxyMgr_getLastLoginTimePtr; - -class AMD_IMDBProxyMgr_getChildShuntInfos : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SChildUserInfoSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getChildShuntInfos> AMD_IMDBProxyMgr_getChildShuntInfosPtr; - -class AMD_IMDBProxyMgr_setChildShuntInfos : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_setChildShuntInfos> AMD_IMDBProxyMgr_setChildShuntInfosPtr; - -class AMD_IMDBProxyMgr_getAgentChild : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getAgentChild> AMD_IMDBProxyMgr_getAgentChildPtr; - -class AMD_IMDBProxyMgr_setAgentChild : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_setAgentChild> AMD_IMDBProxyMgr_setAgentChildPtr; - -class AMD_IMDBProxyMgr_getAgentList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getAgentList> AMD_IMDBProxyMgr_getAgentListPtr; - -class AMD_IMDBProxyMgr_getB2BChildTeamList : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SB2BChildUserInfoSeq&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildTeamList> AMD_IMDBProxyMgr_getB2BChildTeamListPtr; - -class AMD_IMDBProxyMgr_getB2BChildInfo : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SB2BChildUserInfo&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildInfo> AMD_IMDBProxyMgr_getB2BChildInfoPtr; - -class AMD_IMDBProxyMgr_getB2BChildParentId : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int, const ::std::string&) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildParentId> AMD_IMDBProxyMgr_getB2BChildParentIdPtr; - -class AMD_IMDBProxyMgr_addB2BChild : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_addB2BChild> AMD_IMDBProxyMgr_addB2BChildPtr; - -class AMD_IMDBProxyMgr_updateB2BChild : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_updateB2BChild> AMD_IMDBProxyMgr_updateB2BChildPtr; - -class AMD_IMDBProxyMgr_deleteB2BChild : virtual public ::IceUtil::Shared -{ -public: - - virtual void ice_response(::Ice::Int) = 0; - virtual void ice_exception(const ::Ice::Exception&) = 0; - virtual void ice_exception(const ::std::exception&) = 0; - virtual void ice_exception() = 0; -}; - -typedef ::IceUtil::Handle< ::AliIMDBBase::AMD_IMDBProxyMgr_deleteB2BChild> AMD_IMDBProxyMgr_deleteB2BChildPtr; - -} - -namespace IceAsync -{ - -namespace AliIMDBBase -{ - -class AMD_IMDBProxyMgr_sayhello : public ::AliIMDBBase::AMD_IMDBProxyMgr_sayhello, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_sayhello(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckUserToken : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserToken, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckUserToken(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckTmpSession : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckTmpSession, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckTmpSession(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckUserWebPasswd : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswd, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckUserWebPasswd(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckUserPasswd : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserPasswd, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckUserPasswd(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckUserWebToken : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebToken, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckUserWebToken(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetAtmLongid : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetAtmLongid, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetAtmLongid(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddUser60 : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddUser60, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddUser60(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetWebMemberPWInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetWebMemberPWInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SMemberPWInfo&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetWebMemberPWInfoEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfoEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetWebMemberPWInfoEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SMemberPWInfoEx&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserWebBasicProfile : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserWebBasicProfile, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserWebBasicProfile(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckCanAddContact : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckCanAddContact, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckCanAddContact(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_QueryMatchedUserIds : public ::AliIMDBBase::AMD_IMDBProxyMgr_QueryMatchedUserIds, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_QueryMatchedUserIds(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SMatchedUserIdInfoSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateContactWebInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactWebInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateContactWebInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_DelTaobaoUser : public ::AliIMDBBase::AMD_IMDBProxyMgr_DelTaobaoUser, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_DelTaobaoUser(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_DelAnyUser : public ::AliIMDBBase::AMD_IMDBProxyMgr_DelAnyUser, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_DelAnyUser(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddUserKeyWord : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddUserKeyWord, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddUserKeyWord(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserKeyWord : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserKeyWord, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserKeyWord(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserKeyWord : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWord, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserKeyWord(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_QueryUserIdsByKeyWord : public ::AliIMDBBase::AMD_IMDBProxyMgr_QueryUserIdsByKeyWord, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_QueryUserIdsByKeyWord(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SMatchedUserIdInfoSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetBatchMemberInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetBatchMemberInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetBatchMemberInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEMemberInfoSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetAllVersion : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllVersion, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetAllVersion(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEVersionSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetAllSysMsg : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllSysMsg, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetAllSysMsg(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICESysMessageSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetAllExSysMsg : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllExSysMsg, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetAllExSysMsg(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SExICESysMessageSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfo&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserInfo2 : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserInfo2(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfo2&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserInfoEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserInfoEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfoEx&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserInfoNew : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoNew, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserInfoNew(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfoNew&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserInfo2New : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2New, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserInfo2New(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfo2New&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserInfoExNew : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserInfoExNew(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfoExNew&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserInfoExNew2 : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew2, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserInfoExNew2(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfoExNew2&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserInfoExNew3 : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew3, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserInfoExNew3(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfoExNew3&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserInfoExNew4 : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew4, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserInfoExNew4(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserInfoExNew4&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserVerifyInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserVerifyInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Byte, ::Ice::Byte); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserVerifyInfoEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserVerifyInfoEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Byte, ::Ice::Byte, ::Ice::Byte); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserVerifyInfoQuestion : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoQuestion, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserVerifyInfoQuestion(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Byte, ::Ice::Byte, ::Ice::Byte, const ::std::string&, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetGroupList : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetGroupList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEGroupInfoSeq&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetGroupListEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupListEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetGroupListEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEGroupInfoExSeq&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetContactList : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetContactList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetBlackList : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetBlackList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetBlackList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetReverseBlackList : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetReverseBlackList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetReverseBlackList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetOfflineMsg : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsg, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetOfflineMsg(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEOffLineMessegeSeq&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetOfflineMsgEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetOfflineMsgEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEOffLineMessegeExSeq&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetOfflineMsgCount : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgCount, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetOfflineMsgCount(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetEnetOfflineMsgNum : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetEnetOfflineMsgNum, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetEnetOfflineMsgNum(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetContactInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetContactInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEContactInfo&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetOfflineMsgNum : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgNum, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetOfflineMsgNum(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetToolProfiles : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfiles, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetToolProfiles(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetToolProfilesEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfilesEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetToolProfilesEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEToolProfileSeq&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetSysMsg : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetSysMsg, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetSysMsg(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICESysMessage&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddUser : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddUser, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddUser(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddGroup : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddGroup, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddGroup(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddGroupEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddGroupEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddGroupEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddBlackList : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddBlackList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddBlackList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddOfflineMsg : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsg, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddOfflineMsg(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsg : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsg, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsg(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddOfflineMsgNoSMS : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgNoSMS, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddOfflineMsgNoSMS(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddOfflineMsgEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddOfflineMsgEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserLogin : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLogin, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserLogin(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserLoginEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserLoginEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserLoginDataInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserLoginDataInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserLoginDataInfoEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserLoginDataInfoEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserSysMsgId : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserSysMsgId, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserSysMsgId(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserDataInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserDataInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserDataInfo2 : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo2, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserDataInfo2(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserDataInfo3 : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo3, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserDataInfo3(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserVerifySet : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySet, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserVerifySet(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserVerifySetEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserVerifySetEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserVerifySetQuestion : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetQuestion, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserVerifySetQuestion(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateGroup : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateGroup, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateGroup(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_MoveGroup : public ::AliIMDBBase::AMD_IMDBProxyMgr_MoveGroup, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_MoveGroup(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateContactNickName : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickName, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateContactNickName(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateContactGroup : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroup, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateContactGroup(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateContactStatus : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactStatus, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateContactStatus(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateNotifyMessage : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateNotifyMessage, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateNotifyMessage(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateToolProfiles : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfiles, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateToolProfiles(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateToolProfilesEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfilesEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateToolProfilesEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_RemoveGroup : public ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveGroup, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_RemoveGroup(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_RemoveContact : public ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveContact, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_RemoveContact(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_RemoveInverfiedContact : public ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveInverfiedContact, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_RemoveInverfiedContact(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_RemoveBlackList : public ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBlackList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_RemoveBlackList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_IsBlackedByOther : public ::AliIMDBBase::AMD_IMDBProxyMgr_IsBlackedByOther, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_IsBlackedByOther(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, bool); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_RemoveBatchContacts : public ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBatchContacts, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_RemoveBatchContacts(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserDStatus : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserDStatus, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserDStatus(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEUserDStatusSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddUserDStatus : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddUserDStatus, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddUserDStatus(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_RemoveUserDStatus : public ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveUserDStatus, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_RemoveUserDStatus(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetAllContactList : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllContactList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetAllContactList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetCntModifyList : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntModifyList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetCntModifyList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICECntCidModPairSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddGenContactFull : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddGenContactFull, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddGenContactFull(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Long); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetContactDetail : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetail, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetContactDetail(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEGenContactFull&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_DelGenContact : public ::AliIMDBBase::AMD_IMDBProxyMgr_DelGenContact, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_DelGenContact(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Long); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddContact : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddContact, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddContact(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckUpgradeGenCnt : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUpgradeGenCnt, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckUpgradeGenCnt(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_ModifyGenCntID : public ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyGenCntID, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_ModifyGenCntID(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpgradeGenContact : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpgradeGenContact, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpgradeGenContact(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Long, ::Ice::Long, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUpdatedUserInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUpdatedUserInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUpdatedUserInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Long, ::Ice::Long, const ::std::string&, const ::std::string&, ::Ice::Long, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_ModifyContactDetail : public ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyContactDetail, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_ModifyContactDetail(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Long, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateContactGroupByCid : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroupByCid, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateContactGroupByCid(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateContactNickNameByCid : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickNameByCid, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateContactNickNameByCid(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetCRMContactDetail : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetCRMContactDetail, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetCRMContactDetail(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICECRMContactDetail&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetHardCodeIds : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetHardCodeIds, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetHardCodeIds(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateHardCodeIds : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateHardCodeIds, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateHardCodeIds(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetCntOtherModifyList : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetCntOtherModifyList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICECntOtherModInfoSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetCntOtherModifyInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetCntOtherModifyInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICECntOtherModInfo&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserCRInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserCRInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserCRInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_SetUserCRInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_SetUserCRInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_SetUserCRInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetSmsUserInfoByUid : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserInfoByUid, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetSmsUserInfoByUid(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICESmsUserInfo&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetSmsUserMsgInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserMsgInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetSmsUserMsgInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_DelOfflineMsg : public ::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsg, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_DelOfflineMsg(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_DelOfflineMsgEx : public ::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsgEx, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_DelOfflineMsgEx(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_DelWapOfflineMsg : public ::AliIMDBBase::AMD_IMDBProxyMgr_DelWapOfflineMsg, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_DelWapOfflineMsg(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_ModifyCntMemo : public ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyCntMemo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_ModifyCntMemo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetCntMemo : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntMemo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetCntMemo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserTribe : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribe, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserTribe(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::ALiIMDBTribe::STribeIdDbSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserTribeConfig : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribeConfig, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserTribeConfig(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserTribeConfig : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserTribeConfig, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserTribeConfig(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetTribeOffMngMsg : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetTribeOffMngMsg, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetTribeOffMngMsg(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::ALiIMDBTribe::STribeOfflineMsgSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_DelTribeOffMngMsg : public ::AliIMDBBase::AMD_IMDBProxyMgr_DelTribeOffMngMsg, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_DelTribeOffMngMsg(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_ModifyPersonalShow : public ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyPersonalShow, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_ModifyPersonalShow(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetPersonalShow : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetPersonalShow, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetPersonalShow(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetAllOnlineSmsUser : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllOnlineSmsUser, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetAllOnlineSmsUser(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserKeyWordDegree : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWordDegree, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserKeyWordDegree(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Float); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetUserValue : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserValue, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetUserValue(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserMd5Password : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserMd5Password, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserMd5Password(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_InsertYahooUser : public ::AliIMDBBase::AMD_IMDBProxyMgr_InsertYahooUser, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_InsertYahooUser(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetContactDetailByUid : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetailByUid, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetContactDetailByUid(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEGenContactFull&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetChildTeamList : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetChildTeamList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SChildUserInfoSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetChildTeamList2 : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList2, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetChildTeamList2(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SChildUserInfoSeq2&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetChildUserInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetChildUserInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SChildUserInfo&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetChildUserInfo2 : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo2, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetChildUserInfo2(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SChildUserInfo2&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetShareContactList : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetShareContactList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetShareContactList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetContactShareInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactShareInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetContactShareInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_SetContactShareInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_SetContactShareInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_SetContactShareInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetMultiAccountContactList : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiAccountContactList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetMultiAccountContactList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEContactInfoSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetMultiServiceList : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiServiceList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetMultiServiceList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::Ice::IntSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetMultiBindToUser : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiBindToUser, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetMultiBindToUser(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetWebBinds : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetWebBinds, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetWebBinds(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEKvPairSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_AddWebBind : public ::AliIMDBBase::AMD_IMDBProxyMgr_AddWebBind, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_AddWebBind(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_ChangeWebBind : public ::AliIMDBBase::AMD_IMDBProxyMgr_ChangeWebBind, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_ChangeWebBind(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_DelWebBind : public ::AliIMDBBase::AMD_IMDBProxyMgr_DelWebBind, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_DelWebBind(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getUserSession : public ::AliIMDBBase::AMD_IMDBProxyMgr_getUserSession, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getUserSession(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIM::SIceSession&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_checkUserSession : public ::AliIMDBBase::AMD_IMDBProxyMgr_checkUserSession, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_checkUserSession(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_removeSession : public ::AliIMDBBase::AMD_IMDBProxyMgr_removeSession, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_removeSession(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateSignature : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSignature, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateSignature(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_updateContactClientInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_updateContactClientInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_updateContactClientInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getUserProfile : public ::AliIMDBBase::AMD_IMDBProxyMgr_getUserProfile, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getUserProfile(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEKVMap&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getPeerVerifyFlag : public ::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlag, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getPeerVerifyFlag(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getPeerVerifyFlagQuestion : public ::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlagQuestion, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getPeerVerifyFlagQuestion(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getNickName : public ::AliIMDBBase::AMD_IMDBProxyMgr_getNickName, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getNickName(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getFTServiceInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_getFTServiceInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getFTServiceInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, ::Ice::Short); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getTietuServiceInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_getTietuServiceInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getTietuServiceInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Short); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getFTSAddr : public ::AliIMDBBase::AMD_IMDBProxyMgr_getFTSAddr, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getFTSAddr(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Long, const ::std::string&, ::Ice::Short); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_registerWanghao : public ::AliIMDBBase::AMD_IMDBProxyMgr_registerWanghao, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_registerWanghao(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_updateUserProfile : public ::AliIMDBBase::AMD_IMDBProxyMgr_updateUserProfile, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_updateUserProfile(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_loadSitePrefix : public ::AliIMDBBase::AMD_IMDBProxyMgr_loadSitePrefix, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_loadSitePrefix(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SImPrefixSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_updateAepUserId : public ::AliIMDBBase::AMD_IMDBProxyMgr_updateAepUserId, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_updateAepUserId(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_updateVipflag : public ::AliIMDBBase::AMD_IMDBProxyMgr_updateVipflag, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_updateVipflag(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_checkWangHaoPwd : public ::AliIMDBBase::AMD_IMDBProxyMgr_checkWangHaoPwd, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_checkWangHaoPwd(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_checkCanLogin : public ::AliIMDBBase::AMD_IMDBProxyMgr_checkCanLogin, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_checkCanLogin(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_GetSIPSessionId : public ::AliIMDBBase::AMD_IMDBProxyMgr_GetSIPSessionId, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_GetSIPSessionId(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckGsContact : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckGsContact, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckGsContact(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateSmsAuthCode : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSmsAuthCode, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateSmsAuthCode(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckSmsAuthCode : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthCode, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckSmsAuthCode(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_UpdateUserValueBySmsAuth : public ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserValueBySmsAuth, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_UpdateUserValueBySmsAuth(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckSmsAuthStatus : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthStatus, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckSmsAuthStatus(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckUserTokenExtra : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserTokenExtra, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckUserTokenExtra(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckUserWebPasswdExtra : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswdExtra, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckUserWebPasswdExtra(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESShuntStatus : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESShuntStatus, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESShuntStatus(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_setESShuntStatus : public ::AliIMDBBase::AMD_IMDBProxyMgr_setESShuntStatus, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_setESShuntStatus(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getMaxESReceptNum : public ::AliIMDBBase::AMD_IMDBProxyMgr_getMaxESReceptNum, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getMaxESReceptNum(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEReceptNumSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_setMaxESReceptNum : public ::AliIMDBBase::AMD_IMDBProxyMgr_setMaxESReceptNum, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_setMaxESReceptNum(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESPriority : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESPriority, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESPriority(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEReceptPrioritySeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_setESPriority : public ::AliIMDBBase::AMD_IMDBProxyMgr_setESPriority, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_setESPriority(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESRecvOffMsg : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESRecvOffMsg, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESRecvOffMsg(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICERecvOffMsgSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_setESRecvOffMsg : public ::AliIMDBBase::AMD_IMDBProxyMgr_setESRecvOffMsg, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_setESRecvOffMsg(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESGroupList : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESGroupList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::Ice::IntSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_insertESGroupInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_insertESGroupInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_insertESGroupInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_updateESGroupInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_updateESGroupInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_updateESGroupInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_delESGroup : public ::AliIMDBBase::AMD_IMDBProxyMgr_delESGroup, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_delESGroup(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESGroupInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESGroupInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEESGroupInfoSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESGroupInfoByID : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfoByID, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESGroupInfoByID(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEESGroupInfo&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESUserFunc : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESUserFunc, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESUserFunc(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESUnJoinGroup : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESUnJoinGroup, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESUnJoinGroup(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_checkESRole : public ::AliIMDBBase::AMD_IMDBProxyMgr_checkESRole, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_checkESRole(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_CheckWebWWPasswd : public ::AliIMDBBase::AMD_IMDBProxyMgr_CheckWebWWPasswd, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_CheckWebWWPasswd(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESExpandArea : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandArea, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESExpandArea(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEExpandAreaSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESExpandAreaById : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandAreaById, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESExpandAreaById(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEExpandArea&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_addESExpandArea : public ::AliIMDBBase::AMD_IMDBProxyMgr_addESExpandArea, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_addESExpandArea(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_updateESExpandArea : public ::AliIMDBBase::AMD_IMDBProxyMgr_updateESExpandArea, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_updateESExpandArea(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_delESExpandArea : public ::AliIMDBBase::AMD_IMDBProxyMgr_delESExpandArea, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_delESExpandArea(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_setESEval : public ::AliIMDBBase::AMD_IMDBProxyMgr_setESEval, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_setESEval(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESEval : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESEval, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESEval(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_sendESEvalResult : public ::AliIMDBBase::AMD_IMDBProxyMgr_sendESEvalResult, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_sendESEvalResult(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_setESEvalResult : public ::AliIMDBBase::AMD_IMDBProxyMgr_setESEvalResult, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_setESEvalResult(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESEvalResult : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResult, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESEvalResult(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESEvalResultToday : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultToday, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESEvalResultToday(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEESEvalResultSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESEvalResultHistory : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistory, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESEvalResultHistory(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SICEESEvalResultSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getESEvalResultHistorybypage : public ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistorybypage, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getESEvalResultHistorybypage(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SICEESEvalResultExSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getLastLoginTime : public ::AliIMDBBase::AMD_IMDBProxyMgr_getLastLoginTime, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getLastLoginTime(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getChildShuntInfos : public ::AliIMDBBase::AMD_IMDBProxyMgr_getChildShuntInfos, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getChildShuntInfos(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SChildUserInfoSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_setChildShuntInfos : public ::AliIMDBBase::AMD_IMDBProxyMgr_setChildShuntInfos, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_setChildShuntInfos(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getAgentChild : public ::AliIMDBBase::AMD_IMDBProxyMgr_getAgentChild, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getAgentChild(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_setAgentChild : public ::AliIMDBBase::AMD_IMDBProxyMgr_setAgentChild, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_setAgentChild(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getAgentList : public ::AliIMDBBase::AMD_IMDBProxyMgr_getAgentList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getAgentList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::Ice::StringSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getB2BChildTeamList : public ::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildTeamList, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getB2BChildTeamList(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SB2BChildUserInfoSeq&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getB2BChildInfo : public ::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildInfo, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getB2BChildInfo(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::AliIMDBBase::SB2BChildUserInfo&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_getB2BChildParentId : public ::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildParentId, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_getB2BChildParentId(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int, const ::std::string&); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_addB2BChild : public ::AliIMDBBase::AMD_IMDBProxyMgr_addB2BChild, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_addB2BChild(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_updateB2BChild : public ::AliIMDBBase::AMD_IMDBProxyMgr_updateB2BChild, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_updateB2BChild(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -class AMD_IMDBProxyMgr_deleteB2BChild : public ::AliIMDBBase::AMD_IMDBProxyMgr_deleteB2BChild, public ::IceInternal::IncomingAsync -{ -public: - - AMD_IMDBProxyMgr_deleteB2BChild(::IceInternal::Incoming&); - - virtual void ice_response(::Ice::Int); - virtual void ice_exception(const ::Ice::Exception&); - virtual void ice_exception(const ::std::exception&); - virtual void ice_exception(); -}; - -} - -} - -namespace IceProxy -{ - -namespace AliIMDBBase -{ - -class IMDBProxyMgr : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int sayhello(const ::std::string& userId, ::std::string& helloword) - { - return sayhello(userId, helloword, 0); - } - ::Ice::Int sayhello(const ::std::string& userId, ::std::string& helloword, const ::Ice::Context& __ctx) - { - return sayhello(userId, helloword, &__ctx); - } - -private: - - ::Ice::Int sayhello(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckUserToken(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat) - { - return CheckUserToken(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, 0); - } - ::Ice::Int CheckUserToken(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context& __ctx) - { - return CheckUserToken(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, &__ctx); - } - -private: - - ::Ice::Int CheckUserToken(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckTmpSession(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat) - { - return CheckTmpSession(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, 0); - } - ::Ice::Int CheckTmpSession(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context& __ctx) - { - return CheckTmpSession(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, &__ctx); - } - -private: - - ::Ice::Int CheckTmpSession(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckUserWebPasswd(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat) - { - return CheckUserWebPasswd(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, 0); - } - ::Ice::Int CheckUserWebPasswd(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context& __ctx) - { - return CheckUserWebPasswd(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, &__ctx); - } - -private: - - ::Ice::Int CheckUserWebPasswd(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckUserPasswd(const ::std::string& userId, bool btokenpw, const ::std::string& passwd, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat) - { - return CheckUserPasswd(userId, btokenpw, passwd, retuidtokenpw, retmd5passwd, activeStat, 0); - } - ::Ice::Int CheckUserPasswd(const ::std::string& userId, bool btokenpw, const ::std::string& passwd, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context& __ctx) - { - return CheckUserPasswd(userId, btokenpw, passwd, retuidtokenpw, retmd5passwd, activeStat, &__ctx); - } - -private: - - ::Ice::Int CheckUserPasswd(const ::std::string&, bool, const ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckUserWebToken(const ::std::string& userId, const ::std::string& token, ::std::string& reason) - { - return CheckUserWebToken(userId, token, reason, 0); - } - ::Ice::Int CheckUserWebToken(const ::std::string& userId, const ::std::string& token, ::std::string& reason, const ::Ice::Context& __ctx) - { - return CheckUserWebToken(userId, token, reason, &__ctx); - } - -private: - - ::Ice::Int CheckUserWebToken(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetAtmLongid(const ::std::string& userId, ::std::string& longId) - { - return GetAtmLongid(userId, longId, 0); - } - ::Ice::Int GetAtmLongid(const ::std::string& userId, ::std::string& longId, const ::Ice::Context& __ctx) - { - return GetAtmLongid(userId, longId, &__ctx); - } - -private: - - ::Ice::Int GetAtmLongid(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int AddUser60(const ::std::string& userId, const ::std::string& md5passwd, const ::std::string& tokenpw, ::Ice::Int languageid) - { - return AddUser60(userId, md5passwd, tokenpw, languageid, 0); - } - ::Ice::Int AddUser60(const ::std::string& userId, const ::std::string& md5passwd, const ::std::string& tokenpw, ::Ice::Int languageid, const ::Ice::Context& __ctx) - { - return AddUser60(userId, md5passwd, tokenpw, languageid, &__ctx); - } - -private: - - ::Ice::Int AddUser60(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int GetWebMemberPWInfo(const ::std::string& userId, ::AliIMDBBase::SMemberPWInfo& pwInfo) - { - return GetWebMemberPWInfo(userId, pwInfo, 0); - } - ::Ice::Int GetWebMemberPWInfo(const ::std::string& userId, ::AliIMDBBase::SMemberPWInfo& pwInfo, const ::Ice::Context& __ctx) - { - return GetWebMemberPWInfo(userId, pwInfo, &__ctx); - } - -private: - - ::Ice::Int GetWebMemberPWInfo(const ::std::string&, ::AliIMDBBase::SMemberPWInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int GetWebMemberPWInfoEx(const ::std::string& userId, ::AliIMDBBase::SMemberPWInfoEx& pwInfo) - { - return GetWebMemberPWInfoEx(userId, pwInfo, 0); - } - ::Ice::Int GetWebMemberPWInfoEx(const ::std::string& userId, ::AliIMDBBase::SMemberPWInfoEx& pwInfo, const ::Ice::Context& __ctx) - { - return GetWebMemberPWInfoEx(userId, pwInfo, &__ctx); - } - -private: - - ::Ice::Int GetWebMemberPWInfoEx(const ::std::string&, ::AliIMDBBase::SMemberPWInfoEx&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserWebBasicProfile(const ::std::string& userId, ::AliIMDBBase::SUserWebBasicProfile& profile) - { - return GetUserWebBasicProfile(userId, profile, 0); - } - ::Ice::Int GetUserWebBasicProfile(const ::std::string& userId, ::AliIMDBBase::SUserWebBasicProfile& profile, const ::Ice::Context& __ctx) - { - return GetUserWebBasicProfile(userId, profile, &__ctx); - } - -private: - - ::Ice::Int GetUserWebBasicProfile(const ::std::string&, ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckCanAddContact(const ::std::string& userId, const ::std::string& buddyId) - { - return CheckCanAddContact(userId, buddyId, 0); - } - ::Ice::Int CheckCanAddContact(const ::std::string& userId, const ::std::string& buddyId, const ::Ice::Context& __ctx) - { - return CheckCanAddContact(userId, buddyId, &__ctx); - } - -private: - - ::Ice::Int CheckCanAddContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int QueryMatchedUserIds(const ::std::string& finduid, const ::std::string& shortId, ::AliIMDBBase::SMatchedUserIdInfoSeq& matchedIds) - { - return QueryMatchedUserIds(finduid, shortId, matchedIds, 0); - } - ::Ice::Int QueryMatchedUserIds(const ::std::string& finduid, const ::std::string& shortId, ::AliIMDBBase::SMatchedUserIdInfoSeq& matchedIds, const ::Ice::Context& __ctx) - { - return QueryMatchedUserIds(finduid, shortId, matchedIds, &__ctx); - } - -private: - - ::Ice::Int QueryMatchedUserIds(const ::std::string&, const ::std::string&, ::AliIMDBBase::SMatchedUserIdInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactWebInfo(const ::std::string& userId, const ::std::string& buddyId, const ::AliIMDBBase::SUserWebBasicProfile& cntWebInfo) - { - return UpdateContactWebInfo(userId, buddyId, cntWebInfo, 0); - } - ::Ice::Int UpdateContactWebInfo(const ::std::string& userId, const ::std::string& buddyId, const ::AliIMDBBase::SUserWebBasicProfile& cntWebInfo, const ::Ice::Context& __ctx) - { - return UpdateContactWebInfo(userId, buddyId, cntWebInfo, &__ctx); - } - -private: - - ::Ice::Int UpdateContactWebInfo(const ::std::string&, const ::std::string&, const ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*); - -public: - - ::Ice::Int DelTaobaoUser(const ::std::string& webId) - { - return DelTaobaoUser(webId, 0); - } - ::Ice::Int DelTaobaoUser(const ::std::string& webId, const ::Ice::Context& __ctx) - { - return DelTaobaoUser(webId, &__ctx); - } - -private: - - ::Ice::Int DelTaobaoUser(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DelAnyUser(const ::std::string& imuserId) - { - return DelAnyUser(imuserId, 0); - } - ::Ice::Int DelAnyUser(const ::std::string& imuserId, const ::Ice::Context& __ctx) - { - return DelAnyUser(imuserId, &__ctx); - } - -private: - - ::Ice::Int DelAnyUser(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int AddUserKeyWord(const ::std::string& userId, const ::std::string& keyword, ::Ice::Int flag) - { - return AddUserKeyWord(userId, keyword, flag, 0); - } - ::Ice::Int AddUserKeyWord(const ::std::string& userId, const ::std::string& keyword, ::Ice::Int flag, const ::Ice::Context& __ctx) - { - return AddUserKeyWord(userId, keyword, flag, &__ctx); - } - -private: - - ::Ice::Int AddUserKeyWord(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserKeyWord(const ::std::string& userId, const ::std::string& keyword, ::Ice::Int flag) - { - return UpdateUserKeyWord(userId, keyword, flag, 0); - } - ::Ice::Int UpdateUserKeyWord(const ::std::string& userId, const ::std::string& keyword, ::Ice::Int flag, const ::Ice::Context& __ctx) - { - return UpdateUserKeyWord(userId, keyword, flag, &__ctx); - } - -private: - - ::Ice::Int UpdateUserKeyWord(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserKeyWord(const ::std::string& userId, ::std::string& keyword, ::Ice::Int& flag) - { - return GetUserKeyWord(userId, keyword, flag, 0); - } - ::Ice::Int GetUserKeyWord(const ::std::string& userId, ::std::string& keyword, ::Ice::Int& flag, const ::Ice::Context& __ctx) - { - return GetUserKeyWord(userId, keyword, flag, &__ctx); - } - -private: - - ::Ice::Int GetUserKeyWord(const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int QueryUserIdsByKeyWord(const ::std::string& keyword, ::AliIMDBBase::SMatchedUserIdInfoSeq& matchedIds) - { - return QueryUserIdsByKeyWord(keyword, matchedIds, 0); - } - ::Ice::Int QueryUserIdsByKeyWord(const ::std::string& keyword, ::AliIMDBBase::SMatchedUserIdInfoSeq& matchedIds, const ::Ice::Context& __ctx) - { - return QueryUserIdsByKeyWord(keyword, matchedIds, &__ctx); - } - -private: - - ::Ice::Int QueryUserIdsByKeyWord(const ::std::string&, ::AliIMDBBase::SMatchedUserIdInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetBatchMemberInfo(const ::Ice::StringSeq& userIds, ::AliIMDBBase::SICEMemberInfoSeq& memberInfoList) - { - return GetBatchMemberInfo(userIds, memberInfoList, 0); - } - ::Ice::Int GetBatchMemberInfo(const ::Ice::StringSeq& userIds, ::AliIMDBBase::SICEMemberInfoSeq& memberInfoList, const ::Ice::Context& __ctx) - { - return GetBatchMemberInfo(userIds, memberInfoList, &__ctx); - } - -private: - - ::Ice::Int GetBatchMemberInfo(const ::Ice::StringSeq&, ::AliIMDBBase::SICEMemberInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetAllVersion(::AliIMDBBase::SICEVersionSeq& versionList) - { - return GetAllVersion(versionList, 0); - } - ::Ice::Int GetAllVersion(::AliIMDBBase::SICEVersionSeq& versionList, const ::Ice::Context& __ctx) - { - return GetAllVersion(versionList, &__ctx); - } - -private: - - ::Ice::Int GetAllVersion(::AliIMDBBase::SICEVersionSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetAllSysMsg(::AliIMDBBase::SICESysMessageSeq& sysMsgList) - { - return GetAllSysMsg(sysMsgList, 0); - } - ::Ice::Int GetAllSysMsg(::AliIMDBBase::SICESysMessageSeq& sysMsgList, const ::Ice::Context& __ctx) - { - return GetAllSysMsg(sysMsgList, &__ctx); - } - -private: - - ::Ice::Int GetAllSysMsg(::AliIMDBBase::SICESysMessageSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetAllExSysMsg(::AliIMDBBase::SExICESysMessageSeq& sysMsgList) - { - return GetAllExSysMsg(sysMsgList, 0); - } - ::Ice::Int GetAllExSysMsg(::AliIMDBBase::SExICESysMessageSeq& sysMsgList, const ::Ice::Context& __ctx) - { - return GetAllExSysMsg(sysMsgList, &__ctx); - } - -private: - - ::Ice::Int GetAllExSysMsg(::AliIMDBBase::SExICESysMessageSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserInfo(const ::std::string& userId, ::AliIMDBBase::SICEUserInfo& userInfo) - { - return GetUserInfo(userId, userInfo, 0); - } - ::Ice::Int GetUserInfo(const ::std::string& userId, ::AliIMDBBase::SICEUserInfo& userInfo, const ::Ice::Context& __ctx) - { - return GetUserInfo(userId, userInfo, &__ctx); - } - -private: - - ::Ice::Int GetUserInfo(const ::std::string&, ::AliIMDBBase::SICEUserInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserInfo2(const ::std::string& userId, ::AliIMDBBase::SICEUserInfo2& userInfo) - { - return GetUserInfo2(userId, userInfo, 0); - } - ::Ice::Int GetUserInfo2(const ::std::string& userId, ::AliIMDBBase::SICEUserInfo2& userInfo, const ::Ice::Context& __ctx) - { - return GetUserInfo2(userId, userInfo, &__ctx); - } - -private: - - ::Ice::Int GetUserInfo2(const ::std::string&, ::AliIMDBBase::SICEUserInfo2&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserInfoEx(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoEx& userInfo) - { - return GetUserInfoEx(userId, userInfo, 0); - } - ::Ice::Int GetUserInfoEx(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoEx& userInfo, const ::Ice::Context& __ctx) - { - return GetUserInfoEx(userId, userInfo, &__ctx); - } - -private: - - ::Ice::Int GetUserInfoEx(const ::std::string&, ::AliIMDBBase::SICEUserInfoEx&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserInfoNew(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoNew& userInfo) - { - return GetUserInfoNew(userId, userInfo, 0); - } - ::Ice::Int GetUserInfoNew(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoNew& userInfo, const ::Ice::Context& __ctx) - { - return GetUserInfoNew(userId, userInfo, &__ctx); - } - -private: - - ::Ice::Int GetUserInfoNew(const ::std::string&, ::AliIMDBBase::SICEUserInfoNew&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserInfo2New(const ::std::string& userId, ::AliIMDBBase::SICEUserInfo2New& userInfo) - { - return GetUserInfo2New(userId, userInfo, 0); - } - ::Ice::Int GetUserInfo2New(const ::std::string& userId, ::AliIMDBBase::SICEUserInfo2New& userInfo, const ::Ice::Context& __ctx) - { - return GetUserInfo2New(userId, userInfo, &__ctx); - } - -private: - - ::Ice::Int GetUserInfo2New(const ::std::string&, ::AliIMDBBase::SICEUserInfo2New&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserInfoExNew(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew& userInfo) - { - return GetUserInfoExNew(userId, userInfo, 0); - } - ::Ice::Int GetUserInfoExNew(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew& userInfo, const ::Ice::Context& __ctx) - { - return GetUserInfoExNew(userId, userInfo, &__ctx); - } - -private: - - ::Ice::Int GetUserInfoExNew(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserInfoExNew2(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew2& userInfo) - { - return GetUserInfoExNew2(userId, userInfo, 0); - } - ::Ice::Int GetUserInfoExNew2(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew2& userInfo, const ::Ice::Context& __ctx) - { - return GetUserInfoExNew2(userId, userInfo, &__ctx); - } - -private: - - ::Ice::Int GetUserInfoExNew2(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew2&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserInfoExNew3(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew3& userInfo) - { - return GetUserInfoExNew3(userId, userInfo, 0); - } - ::Ice::Int GetUserInfoExNew3(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew3& userInfo, const ::Ice::Context& __ctx) - { - return GetUserInfoExNew3(userId, userInfo, &__ctx); - } - -private: - - ::Ice::Int GetUserInfoExNew3(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew3&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserInfoExNew4(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew4& userInfo) - { - return GetUserInfoExNew4(userId, userInfo, 0); - } - ::Ice::Int GetUserInfoExNew4(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew4& userInfo, const ::Ice::Context& __ctx) - { - return GetUserInfoExNew4(userId, userInfo, &__ctx); - } - -private: - - ::Ice::Int GetUserInfoExNew4(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew4&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserVerifyInfo(const ::std::string& userId, ::Ice::Byte& addcontactverify, ::Ice::Byte& sendmsgverify) - { - return GetUserVerifyInfo(userId, addcontactverify, sendmsgverify, 0); - } - ::Ice::Int GetUserVerifyInfo(const ::std::string& userId, ::Ice::Byte& addcontactverify, ::Ice::Byte& sendmsgverify, const ::Ice::Context& __ctx) - { - return GetUserVerifyInfo(userId, addcontactverify, sendmsgverify, &__ctx); - } - -private: - - ::Ice::Int GetUserVerifyInfo(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserVerifyInfoEx(const ::std::string& userId, ::Ice::Byte& addcontactverify, ::Ice::Byte& sendmsgverify, ::Ice::Byte& enableSearchFlag) - { - return GetUserVerifyInfoEx(userId, addcontactverify, sendmsgverify, enableSearchFlag, 0); - } - ::Ice::Int GetUserVerifyInfoEx(const ::std::string& userId, ::Ice::Byte& addcontactverify, ::Ice::Byte& sendmsgverify, ::Ice::Byte& enableSearchFlag, const ::Ice::Context& __ctx) - { - return GetUserVerifyInfoEx(userId, addcontactverify, sendmsgverify, enableSearchFlag, &__ctx); - } - -private: - - ::Ice::Int GetUserVerifyInfoEx(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, ::Ice::Byte&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserVerifyInfoQuestion(const ::std::string& userId, ::Ice::Byte& addcontactverify, ::Ice::Byte& sendmsgverify, ::Ice::Byte& enableSearchFlag, ::std::string& question, ::std::string& answer) - { - return GetUserVerifyInfoQuestion(userId, addcontactverify, sendmsgverify, enableSearchFlag, question, answer, 0); - } - ::Ice::Int GetUserVerifyInfoQuestion(const ::std::string& userId, ::Ice::Byte& addcontactverify, ::Ice::Byte& sendmsgverify, ::Ice::Byte& enableSearchFlag, ::std::string& question, ::std::string& answer, const ::Ice::Context& __ctx) - { - return GetUserVerifyInfoQuestion(userId, addcontactverify, sendmsgverify, enableSearchFlag, question, answer, &__ctx); - } - -private: - - ::Ice::Int GetUserVerifyInfoQuestion(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, ::Ice::Byte&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, ::Ice::Int& groupTimes) - { - return GetGroupList(userId, groupList, groupTimes, 0); - } - ::Ice::Int GetGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return GetGroupList(userId, groupList, groupTimes, &__ctx); - } - -private: - - ::Ice::Int GetGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetGroupListEx(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoExSeq& groupList, ::Ice::Int& groupTimes) - { - return GetGroupListEx(userId, groupList, groupTimes, 0); - } - ::Ice::Int GetGroupListEx(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoExSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return GetGroupListEx(userId, groupList, groupTimes, &__ctx); - } - -private: - - ::Ice::Int GetGroupListEx(const ::std::string&, ::AliIMDBBase::SICEGroupInfoExSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetContactList(const ::std::string& userId, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes) - { - return GetContactList(userId, getFlag, contactList, contactTimes, 0); - } - ::Ice::Int GetContactList(const ::std::string& userId, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return GetContactList(userId, getFlag, contactList, contactTimes, &__ctx); - } - -private: - - ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetBlackList(const ::std::string& userId, ::Ice::StringSeq& blackList, ::Ice::Int& blacklistTimes) - { - return GetBlackList(userId, blackList, blacklistTimes, 0); - } - ::Ice::Int GetBlackList(const ::std::string& userId, ::Ice::StringSeq& blackList, ::Ice::Int& blacklistTimes, const ::Ice::Context& __ctx) - { - return GetBlackList(userId, blackList, blacklistTimes, &__ctx); - } - -private: - - ::Ice::Int GetBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetReverseBlackList(const ::std::string& userId, ::Ice::StringSeq& reverseBlackList, ::Ice::Int& reverseBlacklistTimes) - { - return GetReverseBlackList(userId, reverseBlackList, reverseBlacklistTimes, 0); - } - ::Ice::Int GetReverseBlackList(const ::std::string& userId, ::Ice::StringSeq& reverseBlackList, ::Ice::Int& reverseBlacklistTimes, const ::Ice::Context& __ctx) - { - return GetReverseBlackList(userId, reverseBlackList, reverseBlacklistTimes, &__ctx); - } - -private: - - ::Ice::Int GetReverseBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetOfflineMsg(const ::std::string& userId, ::AliIMDBBase::SICEOffLineMessegeSeq& offlineMsgList, ::Ice::Int& offlinemsgTimes) - { - return GetOfflineMsg(userId, offlineMsgList, offlinemsgTimes, 0); - } - ::Ice::Int GetOfflineMsg(const ::std::string& userId, ::AliIMDBBase::SICEOffLineMessegeSeq& offlineMsgList, ::Ice::Int& offlinemsgTimes, const ::Ice::Context& __ctx) - { - return GetOfflineMsg(userId, offlineMsgList, offlinemsgTimes, &__ctx); - } - -private: - - ::Ice::Int GetOfflineMsg(const ::std::string&, ::AliIMDBBase::SICEOffLineMessegeSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetOfflineMsgEx(const ::std::string& userId, ::AliIMDBBase::SICEOffLineMessegeExSeq& offlineMsgList, ::Ice::Int& offlinemsgTimes) - { - return GetOfflineMsgEx(userId, offlineMsgList, offlinemsgTimes, 0); - } - ::Ice::Int GetOfflineMsgEx(const ::std::string& userId, ::AliIMDBBase::SICEOffLineMessegeExSeq& offlineMsgList, ::Ice::Int& offlinemsgTimes, const ::Ice::Context& __ctx) - { - return GetOfflineMsgEx(userId, offlineMsgList, offlinemsgTimes, &__ctx); - } - -private: - - ::Ice::Int GetOfflineMsgEx(const ::std::string&, ::AliIMDBBase::SICEOffLineMessegeExSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetOfflineMsgCount(const ::std::string& uid, ::Ice::Int& chatMsgNum, ::Ice::Int& sysMsgNum) - { - return GetOfflineMsgCount(uid, chatMsgNum, sysMsgNum, 0); - } - ::Ice::Int GetOfflineMsgCount(const ::std::string& uid, ::Ice::Int& chatMsgNum, ::Ice::Int& sysMsgNum, const ::Ice::Context& __ctx) - { - return GetOfflineMsgCount(uid, chatMsgNum, sysMsgNum, &__ctx); - } - -private: - - ::Ice::Int GetOfflineMsgCount(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetEnetOfflineMsgNum(const ::std::string& toId, const ::std::string& fromId, const ::Ice::IntSeq& types, ::Ice::Int& msgNum) - { - return GetEnetOfflineMsgNum(toId, fromId, types, msgNum, 0); - } - ::Ice::Int GetEnetOfflineMsgNum(const ::std::string& toId, const ::std::string& fromId, const ::Ice::IntSeq& types, ::Ice::Int& msgNum, const ::Ice::Context& __ctx) - { - return GetEnetOfflineMsgNum(toId, fromId, types, msgNum, &__ctx); - } - -private: - - ::Ice::Int GetEnetOfflineMsgNum(const ::std::string&, const ::std::string&, const ::Ice::IntSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetContactInfo(const ::std::string& userId, const ::std::string& contactId, ::AliIMDBBase::SICEContactInfo& contactInfo) - { - return GetContactInfo(userId, contactId, contactInfo, 0); - } - ::Ice::Int GetContactInfo(const ::std::string& userId, const ::std::string& contactId, ::AliIMDBBase::SICEContactInfo& contactInfo, const ::Ice::Context& __ctx) - { - return GetContactInfo(userId, contactId, contactInfo, &__ctx); - } - -private: - - ::Ice::Int GetContactInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEContactInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int GetOfflineMsgNum(const ::std::string& userId, ::Ice::Int& msgNum) - { - return GetOfflineMsgNum(userId, msgNum, 0); - } - ::Ice::Int GetOfflineMsgNum(const ::std::string& userId, ::Ice::Int& msgNum, const ::Ice::Context& __ctx) - { - return GetOfflineMsgNum(userId, msgNum, &__ctx); - } - -private: - - ::Ice::Int GetOfflineMsgNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetToolProfiles(const ::std::string& userId, ::Ice::Int type, ::Ice::Int nowTimes, ::Ice::StringSeq& toolProfilesList, ::Ice::Int& toolTimes) - { - return GetToolProfiles(userId, type, nowTimes, toolProfilesList, toolTimes, 0); - } - ::Ice::Int GetToolProfiles(const ::std::string& userId, ::Ice::Int type, ::Ice::Int nowTimes, ::Ice::StringSeq& toolProfilesList, ::Ice::Int& toolTimes, const ::Ice::Context& __ctx) - { - return GetToolProfiles(userId, type, nowTimes, toolProfilesList, toolTimes, &__ctx); - } - -private: - - ::Ice::Int GetToolProfiles(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetToolProfilesEx(const ::std::string& userId, ::Ice::Int nowTimes, ::AliIMDBBase::SICEToolProfileSeq& toolProfilesList, ::Ice::Int& toolTimes) - { - return GetToolProfilesEx(userId, nowTimes, toolProfilesList, toolTimes, 0); - } - ::Ice::Int GetToolProfilesEx(const ::std::string& userId, ::Ice::Int nowTimes, ::AliIMDBBase::SICEToolProfileSeq& toolProfilesList, ::Ice::Int& toolTimes, const ::Ice::Context& __ctx) - { - return GetToolProfilesEx(userId, nowTimes, toolProfilesList, toolTimes, &__ctx); - } - -private: - - ::Ice::Int GetToolProfilesEx(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEToolProfileSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetSysMsg(::Ice::Int sysId, ::AliIMDBBase::SICESysMessage& sysMsg) - { - return GetSysMsg(sysId, sysMsg, 0); - } - ::Ice::Int GetSysMsg(::Ice::Int sysId, ::AliIMDBBase::SICESysMessage& sysMsg, const ::Ice::Context& __ctx) - { - return GetSysMsg(sysId, sysMsg, &__ctx); - } - -private: - - ::Ice::Int GetSysMsg(::Ice::Int, ::AliIMDBBase::SICESysMessage&, const ::Ice::Context*); - -public: - - ::Ice::Int AddUser(const ::std::string& userId) - { - return AddUser(userId, 0); - } - ::Ice::Int AddUser(const ::std::string& userId, const ::Ice::Context& __ctx) - { - return AddUser(userId, &__ctx); - } - -private: - - ::Ice::Int AddUser(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int AddGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, ::Ice::Int& groupTimes) - { - return AddGroup(userId, groupName, groupId, groupTimes, 0); - } - ::Ice::Int AddGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return AddGroup(userId, groupName, groupId, groupTimes, &__ctx); - } - -private: - - ::Ice::Int AddGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int AddGroupEx(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int parentId, ::Ice::Int& groupId, ::Ice::Int& groupTimes) - { - return AddGroupEx(userId, groupName, parentId, groupId, groupTimes, 0); - } - ::Ice::Int AddGroupEx(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int parentId, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return AddGroupEx(userId, groupName, parentId, groupId, groupTimes, &__ctx); - } - -private: - - ::Ice::Int AddGroupEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int AddBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes) - { - return AddBlackList(userId, blackId, blackListTimes, 0); - } - ::Ice::Int AddBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context& __ctx) - { - return AddBlackList(userId, blackId, blackListTimes, &__ctx); - } - -private: - - ::Ice::Int AddBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int AddOfflineMsg(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content) - { - return AddOfflineMsg(fromId, toId, type, content, 0); - } - ::Ice::Int AddOfflineMsg(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, const ::Ice::Context& __ctx) - { - return AddOfflineMsg(fromId, toId, type, content, &__ctx); - } - -private: - - ::Ice::Int AddOfflineMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int AddExpriteTimeOfflineMsg(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, const ::std::string& expireTime) - { - return AddExpriteTimeOfflineMsg(fromId, toId, type, content, expireTime, 0); - } - ::Ice::Int AddExpriteTimeOfflineMsg(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, const ::std::string& expireTime, const ::Ice::Context& __ctx) - { - return AddExpriteTimeOfflineMsg(fromId, toId, type, content, expireTime, &__ctx); - } - -private: - - ::Ice::Int AddExpriteTimeOfflineMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int AddOfflineMsgNoSMS(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content) - { - return AddOfflineMsgNoSMS(fromId, toId, type, content, 0); - } - ::Ice::Int AddOfflineMsgNoSMS(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, const ::Ice::Context& __ctx) - { - return AddOfflineMsgNoSMS(fromId, toId, type, content, &__ctx); - } - -private: - - ::Ice::Int AddOfflineMsgNoSMS(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int AddOfflineMsgEx(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, ::Ice::Long uniqueMsgTime) - { - return AddOfflineMsgEx(fromId, toId, type, content, uniqueMsgTime, 0); - } - ::Ice::Int AddOfflineMsgEx(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, ::Ice::Long uniqueMsgTime, const ::Ice::Context& __ctx) - { - return AddOfflineMsgEx(fromId, toId, type, content, uniqueMsgTime, &__ctx); - } - -private: - - ::Ice::Int AddOfflineMsgEx(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Long, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserLogin(const ::std::string& userId, ::Ice::Int sysMsgId) - { - return UpdateUserLogin(userId, sysMsgId, 0); - } - ::Ice::Int UpdateUserLogin(const ::std::string& userId, ::Ice::Int sysMsgId, const ::Ice::Context& __ctx) - { - return UpdateUserLogin(userId, sysMsgId, &__ctx); - } - -private: - - ::Ice::Int UpdateUserLogin(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserLoginEx(const ::std::string& userId, ::Ice::Int sysMsgId, const ::std::string& loginIp) - { - return UpdateUserLoginEx(userId, sysMsgId, loginIp, 0); - } - ::Ice::Int UpdateUserLoginEx(const ::std::string& userId, ::Ice::Int sysMsgId, const ::std::string& loginIp, const ::Ice::Context& __ctx) - { - return UpdateUserLoginEx(userId, sysMsgId, loginIp, &__ctx); - } - -private: - - ::Ice::Int UpdateUserLoginEx(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserLoginDataInfo(const ::std::string& userId, ::Ice::Int sysMsgId, const ::std::string& loginIp, ::Ice::Int onlineTimes, ::Ice::Int lastLoginTime) - { - return UpdateUserLoginDataInfo(userId, sysMsgId, loginIp, onlineTimes, lastLoginTime, 0); - } - ::Ice::Int UpdateUserLoginDataInfo(const ::std::string& userId, ::Ice::Int sysMsgId, const ::std::string& loginIp, ::Ice::Int onlineTimes, ::Ice::Int lastLoginTime, const ::Ice::Context& __ctx) - { - return UpdateUserLoginDataInfo(userId, sysMsgId, loginIp, onlineTimes, lastLoginTime, &__ctx); - } - -private: - - ::Ice::Int UpdateUserLoginDataInfo(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserLoginDataInfoEx(const ::std::string& userId, ::Ice::Int sysMsgId, const ::std::string& loginIp, ::Ice::Int onlineTimes, ::Ice::Int lastLoginTime, ::Ice::Int isNeedToUpdate) - { - return UpdateUserLoginDataInfoEx(userId, sysMsgId, loginIp, onlineTimes, lastLoginTime, isNeedToUpdate, 0); - } - ::Ice::Int UpdateUserLoginDataInfoEx(const ::std::string& userId, ::Ice::Int sysMsgId, const ::std::string& loginIp, ::Ice::Int onlineTimes, ::Ice::Int lastLoginTime, ::Ice::Int isNeedToUpdate, const ::Ice::Context& __ctx) - { - return UpdateUserLoginDataInfoEx(userId, sysMsgId, loginIp, onlineTimes, lastLoginTime, isNeedToUpdate, &__ctx); - } - -private: - - ::Ice::Int UpdateUserLoginDataInfoEx(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserSysMsgId(const ::std::string& userId, ::Ice::Int sysMsgId) - { - return UpdateUserSysMsgId(userId, sysMsgId, 0); - } - ::Ice::Int UpdateUserSysMsgId(const ::std::string& userId, ::Ice::Int sysMsgId, const ::Ice::Context& __ctx) - { - return UpdateUserSysMsgId(userId, sysMsgId, &__ctx); - } - -private: - - ::Ice::Int UpdateUserSysMsgId(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserDataInfo(const ::std::string& userId, ::Ice::Int strangerMsgCount, ::Ice::Int onlineTimes, ::Ice::Int addContactCount, ::Ice::Int activeDegree, ::Ice::Float rewardActDegree, ::Ice::Float onlineActDegree, ::Ice::Int addTribeCount) - { - return UpdateUserDataInfo(userId, strangerMsgCount, onlineTimes, addContactCount, activeDegree, rewardActDegree, onlineActDegree, addTribeCount, 0); - } - ::Ice::Int UpdateUserDataInfo(const ::std::string& userId, ::Ice::Int strangerMsgCount, ::Ice::Int onlineTimes, ::Ice::Int addContactCount, ::Ice::Int activeDegree, ::Ice::Float rewardActDegree, ::Ice::Float onlineActDegree, ::Ice::Int addTribeCount, const ::Ice::Context& __ctx) - { - return UpdateUserDataInfo(userId, strangerMsgCount, onlineTimes, addContactCount, activeDegree, rewardActDegree, onlineActDegree, addTribeCount, &__ctx); - } - -private: - - ::Ice::Int UpdateUserDataInfo(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserDataInfo2(const ::std::string& userId, ::Ice::Int strangerMsgCount, ::Ice::Int onlineTimes, ::Ice::Int addContactCount, ::Ice::Int activeDegree, ::Ice::Float rewardActDegree, ::Ice::Float onlineActDegree, ::Ice::Int addTribeCount, ::Ice::Int reqAddContactCount) - { - return UpdateUserDataInfo2(userId, strangerMsgCount, onlineTimes, addContactCount, activeDegree, rewardActDegree, onlineActDegree, addTribeCount, reqAddContactCount, 0); - } - ::Ice::Int UpdateUserDataInfo2(const ::std::string& userId, ::Ice::Int strangerMsgCount, ::Ice::Int onlineTimes, ::Ice::Int addContactCount, ::Ice::Int activeDegree, ::Ice::Float rewardActDegree, ::Ice::Float onlineActDegree, ::Ice::Int addTribeCount, ::Ice::Int reqAddContactCount, const ::Ice::Context& __ctx) - { - return UpdateUserDataInfo2(userId, strangerMsgCount, onlineTimes, addContactCount, activeDegree, rewardActDegree, onlineActDegree, addTribeCount, reqAddContactCount, &__ctx); - } - -private: - - ::Ice::Int UpdateUserDataInfo2(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserDataInfo3(const ::std::string& userId, const ::AliIMDBBase::RIGHTTABLE& rightMap, ::Ice::Int onlineTimes, ::Ice::Int activeDegree, ::Ice::Float rewardActDegree, ::Ice::Float onlineActDegree) - { - return UpdateUserDataInfo3(userId, rightMap, onlineTimes, activeDegree, rewardActDegree, onlineActDegree, 0); - } - ::Ice::Int UpdateUserDataInfo3(const ::std::string& userId, const ::AliIMDBBase::RIGHTTABLE& rightMap, ::Ice::Int onlineTimes, ::Ice::Int activeDegree, ::Ice::Float rewardActDegree, ::Ice::Float onlineActDegree, const ::Ice::Context& __ctx) - { - return UpdateUserDataInfo3(userId, rightMap, onlineTimes, activeDegree, rewardActDegree, onlineActDegree, &__ctx); - } - -private: - - ::Ice::Int UpdateUserDataInfo3(const ::std::string&, const ::AliIMDBBase::RIGHTTABLE&, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserVerifySet(const ::std::string& userId, ::Ice::Int addContactVerify, ::Ice::Int sendMsgVerify) - { - return UpdateUserVerifySet(userId, addContactVerify, sendMsgVerify, 0); - } - ::Ice::Int UpdateUserVerifySet(const ::std::string& userId, ::Ice::Int addContactVerify, ::Ice::Int sendMsgVerify, const ::Ice::Context& __ctx) - { - return UpdateUserVerifySet(userId, addContactVerify, sendMsgVerify, &__ctx); - } - -private: - - ::Ice::Int UpdateUserVerifySet(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserVerifySetEx(const ::std::string& userId, ::Ice::Int addContactVerify, ::Ice::Int sendMsgVerify, ::Ice::Int enbleSearchFlag) - { - return UpdateUserVerifySetEx(userId, addContactVerify, sendMsgVerify, enbleSearchFlag, 0); - } - ::Ice::Int UpdateUserVerifySetEx(const ::std::string& userId, ::Ice::Int addContactVerify, ::Ice::Int sendMsgVerify, ::Ice::Int enbleSearchFlag, const ::Ice::Context& __ctx) - { - return UpdateUserVerifySetEx(userId, addContactVerify, sendMsgVerify, enbleSearchFlag, &__ctx); - } - -private: - - ::Ice::Int UpdateUserVerifySetEx(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserVerifySetQuestion(const ::std::string& userId, ::Ice::Int addContactVerify, ::Ice::Int sendMsgVerify, ::Ice::Int enbleSearchFlag, const ::std::string& question, const ::std::string& answer) - { - return UpdateUserVerifySetQuestion(userId, addContactVerify, sendMsgVerify, enbleSearchFlag, question, answer, 0); - } - ::Ice::Int UpdateUserVerifySetQuestion(const ::std::string& userId, ::Ice::Int addContactVerify, ::Ice::Int sendMsgVerify, ::Ice::Int enbleSearchFlag, const ::std::string& question, const ::std::string& answer, const ::Ice::Context& __ctx) - { - return UpdateUserVerifySetQuestion(userId, addContactVerify, sendMsgVerify, enbleSearchFlag, question, answer, &__ctx); - } - -private: - - ::Ice::Int UpdateUserVerifySetQuestion(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, ::Ice::Int& groupTimes) - { - return UpdateGroup(userId, groupName, groupId, groupTimes, 0); - } - ::Ice::Int UpdateGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return UpdateGroup(userId, groupName, groupId, groupTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int MoveGroup(const ::std::string& userId, ::Ice::Long groupId, ::Ice::Long newparentgid, ::Ice::Int& groupTimes) - { - return MoveGroup(userId, groupId, newparentgid, groupTimes, 0); - } - ::Ice::Int MoveGroup(const ::std::string& userId, ::Ice::Long groupId, ::Ice::Long newparentgid, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return MoveGroup(userId, groupId, newparentgid, groupTimes, &__ctx); - } - -private: - - ::Ice::Int MoveGroup(const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactNickName(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int& contactTimes) - { - return UpdateContactNickName(userId, contactId, nickName, contactTimes, 0); - } - ::Ice::Int UpdateContactNickName(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return UpdateContactNickName(userId, contactId, nickName, contactTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes) - { - return UpdateContactGroup(userId, contactId, srcGroupId, dstGroupId, contactTimes, 0); - } - ::Ice::Int UpdateContactGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return UpdateContactGroup(userId, contactId, srcGroupId, dstGroupId, contactTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateContactGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactStatus(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int status, ::Ice::Int& contactTimes) - { - return UpdateContactStatus(userId, contactId, status, contactTimes, 0); - } - ::Ice::Int UpdateContactStatus(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int status, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return UpdateContactStatus(userId, contactId, status, contactTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateContactStatus(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateNotifyMessage(::Ice::Int msgId, ::Ice::Int status) - { - return UpdateNotifyMessage(msgId, status, 0); - } - ::Ice::Int UpdateNotifyMessage(::Ice::Int msgId, ::Ice::Int status, const ::Ice::Context& __ctx) - { - return UpdateNotifyMessage(msgId, status, &__ctx); - } - -private: - - ::Ice::Int UpdateNotifyMessage(::Ice::Int, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateToolProfiles(const ::std::string& userId, ::Ice::Int type, const ::Ice::StringSeq& toolProfilsList, ::Ice::Int& toolTimes) - { - return UpdateToolProfiles(userId, type, toolProfilsList, toolTimes, 0); - } - ::Ice::Int UpdateToolProfiles(const ::std::string& userId, ::Ice::Int type, const ::Ice::StringSeq& toolProfilsList, ::Ice::Int& toolTimes, const ::Ice::Context& __ctx) - { - return UpdateToolProfiles(userId, type, toolProfilsList, toolTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateToolProfiles(const ::std::string&, ::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateToolProfilesEx(const ::std::string& userId, const ::AliIMDBBase::SICEToolProfileSeq& toolProfilsList, ::Ice::Int& toolTimes) - { - return UpdateToolProfilesEx(userId, toolProfilsList, toolTimes, 0); - } - ::Ice::Int UpdateToolProfilesEx(const ::std::string& userId, const ::AliIMDBBase::SICEToolProfileSeq& toolProfilsList, ::Ice::Int& toolTimes, const ::Ice::Context& __ctx) - { - return UpdateToolProfilesEx(userId, toolProfilsList, toolTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateToolProfilesEx(const ::std::string&, const ::AliIMDBBase::SICEToolProfileSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveGroup(const ::std::string& userId, ::Ice::Int groupId, ::Ice::Int& groupTimes) - { - return RemoveGroup(userId, groupId, groupTimes, 0); - } - ::Ice::Int RemoveGroup(const ::std::string& userId, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context& __ctx) - { - return RemoveGroup(userId, groupId, groupTimes, &__ctx); - } - -private: - - ::Ice::Int RemoveGroup(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes) - { - return RemoveContact(userId, contactId, contactTimes, 0); - } - ::Ice::Int RemoveContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return RemoveContact(userId, contactId, contactTimes, &__ctx); - } - -private: - - ::Ice::Int RemoveContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveInverfiedContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes) - { - return RemoveInverfiedContact(userId, contactId, contactTimes, 0); - } - ::Ice::Int RemoveInverfiedContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return RemoveInverfiedContact(userId, contactId, contactTimes, &__ctx); - } - -private: - - ::Ice::Int RemoveInverfiedContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes) - { - return RemoveBlackList(userId, blackId, blackListTimes, 0); - } - ::Ice::Int RemoveBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context& __ctx) - { - return RemoveBlackList(userId, blackId, blackListTimes, &__ctx); - } - -private: - - ::Ice::Int RemoveBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int IsBlackedByOther(const ::std::string& userId, const ::std::string& otheruid, bool& bBlacked) - { - return IsBlackedByOther(userId, otheruid, bBlacked, 0); - } - ::Ice::Int IsBlackedByOther(const ::std::string& userId, const ::std::string& otheruid, bool& bBlacked, const ::Ice::Context& __ctx) - { - return IsBlackedByOther(userId, otheruid, bBlacked, &__ctx); - } - -private: - - ::Ice::Int IsBlackedByOther(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveBatchContacts(const ::std::string& userId, const ::Ice::StringSeq& cids, ::Ice::StringSeq& retVect, ::Ice::Int& modifyCntTimes, ::Ice::Int& modifyGenCntTime) - { - return RemoveBatchContacts(userId, cids, retVect, modifyCntTimes, modifyGenCntTime, 0); - } - ::Ice::Int RemoveBatchContacts(const ::std::string& userId, const ::Ice::StringSeq& cids, ::Ice::StringSeq& retVect, ::Ice::Int& modifyCntTimes, ::Ice::Int& modifyGenCntTime, const ::Ice::Context& __ctx) - { - return RemoveBatchContacts(userId, cids, retVect, modifyCntTimes, modifyGenCntTime, &__ctx); - } - -private: - - ::Ice::Int RemoveBatchContacts(const ::std::string&, const ::Ice::StringSeq&, ::Ice::StringSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserDStatus(const ::std::string& userId, ::AliIMDBBase::SICEUserDStatusSeq& userDStatusList) - { - return GetUserDStatus(userId, userDStatusList, 0); - } - ::Ice::Int GetUserDStatus(const ::std::string& userId, ::AliIMDBBase::SICEUserDStatusSeq& userDStatusList, const ::Ice::Context& __ctx) - { - return GetUserDStatus(userId, userDStatusList, &__ctx); - } - -private: - - ::Ice::Int GetUserDStatus(const ::std::string&, ::AliIMDBBase::SICEUserDStatusSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int AddUserDStatus(const ::std::string& userId, const ::std::string& userDStatus, ::Ice::Int& statusId) - { - return AddUserDStatus(userId, userDStatus, statusId, 0); - } - ::Ice::Int AddUserDStatus(const ::std::string& userId, const ::std::string& userDStatus, ::Ice::Int& statusId, const ::Ice::Context& __ctx) - { - return AddUserDStatus(userId, userDStatus, statusId, &__ctx); - } - -private: - - ::Ice::Int AddUserDStatus(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveUserDStatus(const ::std::string& userId, ::Ice::Int statusId) - { - return RemoveUserDStatus(userId, statusId, 0); - } - ::Ice::Int RemoveUserDStatus(const ::std::string& userId, ::Ice::Int statusId, const ::Ice::Context& __ctx) - { - return RemoveUserDStatus(userId, statusId, &__ctx); - } - -private: - - ::Ice::Int RemoveUserDStatus(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int GetAllContactList(const ::std::string& uid, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, ::Ice::Int& gencontacttimes) - { - return GetAllContactList(uid, getFlag, contactList, contactTimes, gencontacttimes, 0); - } - ::Ice::Int GetAllContactList(const ::std::string& uid, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, ::Ice::Int& gencontacttimes, const ::Ice::Context& __ctx) - { - return GetAllContactList(uid, getFlag, contactList, contactTimes, gencontacttimes, &__ctx); - } - -private: - - ::Ice::Int GetAllContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetCntModifyList(::Ice::Int getFlag, const ::std::string& uid, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntCidModPairSeq& cntList) - { - return GetCntModifyList(getFlag, uid, sMaxSeqId, cntList, 0); - } - ::Ice::Int GetCntModifyList(::Ice::Int getFlag, const ::std::string& uid, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntCidModPairSeq& cntList, const ::Ice::Context& __ctx) - { - return GetCntModifyList(getFlag, uid, sMaxSeqId, cntList, &__ctx); - } - -private: - - ::Ice::Int GetCntModifyList(::Ice::Int, const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntCidModPairSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull& detail, ::std::string& retscid, ::std::string& retsmodseqid, ::Ice::Long& timeStamps) - { - return AddGenContactFull(detail, retscid, retsmodseqid, timeStamps, 0); - } - ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull& detail, ::std::string& retscid, ::std::string& retsmodseqid, ::Ice::Long& timeStamps, const ::Ice::Context& __ctx) - { - return AddGenContactFull(detail, retscid, retsmodseqid, timeStamps, &__ctx); - } - -private: - - ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull&, ::std::string&, ::std::string&, ::Ice::Long&, const ::Ice::Context*); - -public: - - ::Ice::Int GetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail) - { - return GetContactDetail(uid, cid, detail, 0); - } - ::Ice::Int GetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context& __ctx) - { - return GetContactDetail(uid, cid, detail, &__ctx); - } - -private: - - ::Ice::Int GetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*); - -public: - - ::Ice::Int DelGenContact(const ::std::string& uid, const ::std::string& cid, ::Ice::Long& contactTimes) - { - return DelGenContact(uid, cid, contactTimes, 0); - } - ::Ice::Int DelGenContact(const ::std::string& uid, const ::std::string& cid, ::Ice::Long& contactTimes, const ::Ice::Context& __ctx) - { - return DelGenContact(uid, cid, contactTimes, &__ctx); - } - -private: - - ::Ice::Int DelGenContact(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*); - -public: - - ::Ice::Int AddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::AliIMDBBase::SUserWebBasicProfile& cntInfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid) - { - return AddContact(userId, contactId, nickName, groupId, status, cntInfo, contactTimes, retcid, retmodseqid, 0); - } - ::Ice::Int AddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::AliIMDBBase::SUserWebBasicProfile& cntInfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid, const ::Ice::Context& __ctx) - { - return AddContact(userId, contactId, nickName, groupId, status, cntInfo, contactTimes, retcid, retmodseqid, &__ctx); - } - -private: - - ::Ice::Int AddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckUpgradeGenCnt(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId) - { - return CheckUpgradeGenCnt(uid, cid, contactId, 0); - } - ::Ice::Int CheckUpgradeGenCnt(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, const ::Ice::Context& __ctx) - { - return CheckUpgradeGenCnt(uid, cid, contactId, &__ctx); - } - -private: - - ::Ice::Int CheckUpgradeGenCnt(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int ModifyGenCntID(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::std::string& modseqid) - { - return ModifyGenCntID(uid, cid, contactId, modseqid, 0); - } - ::Ice::Int ModifyGenCntID(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::std::string& modseqid, const ::Ice::Context& __ctx) - { - return ModifyGenCntID(uid, cid, contactId, modseqid, &__ctx); - } - -private: - - ::Ice::Int ModifyGenCntID(const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpgradeGenContact(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& modseqid) - { - return UpgradeGenContact(uid, cid, contactId, cntstamp, gencntstamp, modseqid, 0); - } - ::Ice::Int UpgradeGenContact(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& modseqid, const ::Ice::Context& __ctx) - { - return UpgradeGenContact(uid, cid, contactId, cntstamp, gencntstamp, modseqid, &__ctx); - } - -private: - - ::Ice::Int UpgradeGenContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUpdatedUserInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& retcid, ::std::string& modseqid, ::Ice::Long& groupid, ::std::string& nickname) - { - return GetUpdatedUserInfo(uid, contactId, cntstamp, gencntstamp, retcid, modseqid, groupid, nickname, 0); - } - ::Ice::Int GetUpdatedUserInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& retcid, ::std::string& modseqid, ::Ice::Long& groupid, ::std::string& nickname, const ::Ice::Context& __ctx) - { - return GetUpdatedUserInfo(uid, contactId, cntstamp, gencntstamp, retcid, modseqid, groupid, nickname, &__ctx); - } - -private: - - ::Ice::Int GetUpdatedUserInfo(const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, ::std::string&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid) - { - return ModifyContactDetail(detail, gencntmodifyVersion, modseqid, 0); - } - ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid, const ::Ice::Context& __ctx) - { - return ModifyContactDetail(detail, gencntmodifyVersion, modseqid, &__ctx); - } - -private: - - ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactGroupByCid(const ::std::string& userId, const ::std::string& cid, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes) - { - return UpdateContactGroupByCid(userId, cid, srcGroupId, dstGroupId, contactTimes, 0); - } - ::Ice::Int UpdateContactGroupByCid(const ::std::string& userId, const ::std::string& cid, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return UpdateContactGroupByCid(userId, cid, srcGroupId, dstGroupId, contactTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateContactGroupByCid(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactNickNameByCid(const ::std::string& userId, const ::std::string& cid, const ::std::string& nickName, ::Ice::Int& contactTimes) - { - return UpdateContactNickNameByCid(userId, cid, nickName, contactTimes, 0); - } - ::Ice::Int UpdateContactNickNameByCid(const ::std::string& userId, const ::std::string& cid, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return UpdateContactNickNameByCid(userId, cid, nickName, contactTimes, &__ctx); - } - -private: - - ::Ice::Int UpdateContactNickNameByCid(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetCRMContactDetail(const ::std::string& userId, const ::std::string& cntid, ::AliIMDBBase::SICECRMContactDetail& cntDetail) - { - return GetCRMContactDetail(userId, cntid, cntDetail, 0); - } - ::Ice::Int GetCRMContactDetail(const ::std::string& userId, const ::std::string& cntid, ::AliIMDBBase::SICECRMContactDetail& cntDetail, const ::Ice::Context& __ctx) - { - return GetCRMContactDetail(userId, cntid, cntDetail, &__ctx); - } - -private: - - ::Ice::Int GetCRMContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECRMContactDetail&, const ::Ice::Context*); - -public: - - ::Ice::Int GetHardCodeIds(const ::std::string& uuid, ::Ice::Int& count, ::std::string& allids) - { - return GetHardCodeIds(uuid, count, allids, 0); - } - ::Ice::Int GetHardCodeIds(const ::std::string& uuid, ::Ice::Int& count, ::std::string& allids, const ::Ice::Context& __ctx) - { - return GetHardCodeIds(uuid, count, allids, &__ctx); - } - -private: - - ::Ice::Int GetHardCodeIds(const ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateHardCodeIds(const ::std::string& uuid, const ::std::string& id) - { - return UpdateHardCodeIds(uuid, id, 0); - } - ::Ice::Int UpdateHardCodeIds(const ::std::string& uuid, const ::std::string& id, const ::Ice::Context& __ctx) - { - return UpdateHardCodeIds(uuid, id, &__ctx); - } - -private: - - ::Ice::Int UpdateHardCodeIds(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetCntOtherModifyList(const ::std::string& userId, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntOtherModInfoSeq& cntList) - { - return GetCntOtherModifyList(userId, sMaxSeqId, cntList, 0); - } - ::Ice::Int GetCntOtherModifyList(const ::std::string& userId, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntOtherModInfoSeq& cntList, const ::Ice::Context& __ctx) - { - return GetCntOtherModifyList(userId, sMaxSeqId, cntList, &__ctx); - } - -private: - - ::Ice::Int GetCntOtherModifyList(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntOtherModInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetCntOtherModifyInfo(const ::std::string& userId, ::AliIMDBBase::SICECntOtherModInfo& cntOtherModInfo) - { - return GetCntOtherModifyInfo(userId, cntOtherModInfo, 0); - } - ::Ice::Int GetCntOtherModifyInfo(const ::std::string& userId, ::AliIMDBBase::SICECntOtherModInfo& cntOtherModInfo, const ::Ice::Context& __ctx) - { - return GetCntOtherModifyInfo(userId, cntOtherModInfo, &__ctx); - } - -private: - - ::Ice::Int GetCntOtherModifyInfo(const ::std::string&, ::AliIMDBBase::SICECntOtherModInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserCRInfo(const ::std::string& uid, ::Ice::Int& crState, ::Ice::Int& begTime, ::Ice::Int& activeDegree) - { - return GetUserCRInfo(uid, crState, begTime, activeDegree, 0); - } - ::Ice::Int GetUserCRInfo(const ::std::string& uid, ::Ice::Int& crState, ::Ice::Int& begTime, ::Ice::Int& activeDegree, const ::Ice::Context& __ctx) - { - return GetUserCRInfo(uid, crState, begTime, activeDegree, &__ctx); - } - -private: - - ::Ice::Int GetUserCRInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int SetUserCRInfo(const ::std::string& uid, ::Ice::Int crState, ::Ice::Int& begTime) - { - return SetUserCRInfo(uid, crState, begTime, 0); - } - ::Ice::Int SetUserCRInfo(const ::std::string& uid, ::Ice::Int crState, ::Ice::Int& begTime, const ::Ice::Context& __ctx) - { - return SetUserCRInfo(uid, crState, begTime, &__ctx); - } - -private: - - ::Ice::Int SetUserCRInfo(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetSmsUserInfoByUid(const ::std::string& userId, ::AliIMDBBase::SICESmsUserInfo& smsUserInfo) - { - return GetSmsUserInfoByUid(userId, smsUserInfo, 0); - } - ::Ice::Int GetSmsUserInfoByUid(const ::std::string& userId, ::AliIMDBBase::SICESmsUserInfo& smsUserInfo, const ::Ice::Context& __ctx) - { - return GetSmsUserInfoByUid(userId, smsUserInfo, &__ctx); - } - -private: - - ::Ice::Int GetSmsUserInfoByUid(const ::std::string&, ::AliIMDBBase::SICESmsUserInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int GetSmsUserMsgInfo(const ::std::string& userId, ::Ice::Int& todaySmsCount, ::Ice::Int& yesterdaySmsCount) - { - return GetSmsUserMsgInfo(userId, todaySmsCount, yesterdaySmsCount, 0); - } - ::Ice::Int GetSmsUserMsgInfo(const ::std::string& userId, ::Ice::Int& todaySmsCount, ::Ice::Int& yesterdaySmsCount, const ::Ice::Context& __ctx) - { - return GetSmsUserMsgInfo(userId, todaySmsCount, yesterdaySmsCount, &__ctx); - } - -private: - - ::Ice::Int GetSmsUserMsgInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DelOfflineMsg(const ::std::string& uid, const ::std::string& date) - { - return DelOfflineMsg(uid, date, 0); - } - ::Ice::Int DelOfflineMsg(const ::std::string& uid, const ::std::string& date, const ::Ice::Context& __ctx) - { - return DelOfflineMsg(uid, date, &__ctx); - } - -private: - - ::Ice::Int DelOfflineMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DelOfflineMsgEx(const ::std::string& uid, ::Ice::Int date) - { - return DelOfflineMsgEx(uid, date, 0); - } - ::Ice::Int DelOfflineMsgEx(const ::std::string& uid, ::Ice::Int date, const ::Ice::Context& __ctx) - { - return DelOfflineMsgEx(uid, date, &__ctx); - } - -private: - - ::Ice::Int DelOfflineMsgEx(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DelWapOfflineMsg(const ::std::string& uid, const ::std::string& date) - { - return DelWapOfflineMsg(uid, date, 0); - } - ::Ice::Int DelWapOfflineMsg(const ::std::string& uid, const ::std::string& date, const ::Ice::Context& __ctx) - { - return DelWapOfflineMsg(uid, date, &__ctx); - } - -private: - - ::Ice::Int DelWapOfflineMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int ModifyCntMemo(const ::std::string& uid, const ::std::string& cntid, const ::std::string& memo) - { - return ModifyCntMemo(uid, cntid, memo, 0); - } - ::Ice::Int ModifyCntMemo(const ::std::string& uid, const ::std::string& cntid, const ::std::string& memo, const ::Ice::Context& __ctx) - { - return ModifyCntMemo(uid, cntid, memo, &__ctx); - } - -private: - - ::Ice::Int ModifyCntMemo(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetCntMemo(const ::std::string& uid, const ::std::string& cntid, ::std::string& memo) - { - return GetCntMemo(uid, cntid, memo, 0); - } - ::Ice::Int GetCntMemo(const ::std::string& uid, const ::std::string& cntid, ::std::string& memo, const ::Ice::Context& __ctx) - { - return GetCntMemo(uid, cntid, memo, &__ctx); - } - -private: - - ::Ice::Int GetCntMemo(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserTribe(const ::std::string& userId, ::ALiIMDBTribe::STribeIdDbSeq& tribeIdList) - { - return GetUserTribe(userId, tribeIdList, 0); - } - ::Ice::Int GetUserTribe(const ::std::string& userId, ::ALiIMDBTribe::STribeIdDbSeq& tribeIdList, const ::Ice::Context& __ctx) - { - return GetUserTribe(userId, tribeIdList, &__ctx); - } - -private: - - ::Ice::Int GetUserTribe(const ::std::string&, ::ALiIMDBTribe::STribeIdDbSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserTribeConfig(const ::std::string& userId, ::Ice::Int& addVerify) - { - return GetUserTribeConfig(userId, addVerify, 0); - } - ::Ice::Int GetUserTribeConfig(const ::std::string& userId, ::Ice::Int& addVerify, const ::Ice::Context& __ctx) - { - return GetUserTribeConfig(userId, addVerify, &__ctx); - } - -private: - - ::Ice::Int GetUserTribeConfig(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserTribeConfig(const ::std::string& userId, ::Ice::Int addVerify) - { - return UpdateUserTribeConfig(userId, addVerify, 0); - } - ::Ice::Int UpdateUserTribeConfig(const ::std::string& userId, ::Ice::Int addVerify, const ::Ice::Context& __ctx) - { - return UpdateUserTribeConfig(userId, addVerify, &__ctx); - } - -private: - - ::Ice::Int UpdateUserTribeConfig(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int GetTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList) - { - return GetTribeOffMngMsg(tribeId, memberId, offlineMsgList, 0); - } - ::Ice::Int GetTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList, const ::Ice::Context& __ctx) - { - return GetTribeOffMngMsg(tribeId, memberId, offlineMsgList, &__ctx); - } - -private: - - ::Ice::Int GetTribeOffMngMsg(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DelTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId) - { - return DelTribeOffMngMsg(tribeId, memberId, 0); - } - ::Ice::Int DelTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context& __ctx) - { - return DelTribeOffMngMsg(tribeId, memberId, &__ctx); - } - -private: - - ::Ice::Int DelTribeOffMngMsg(::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int ModifyPersonalShow(const ::std::string& uid, const ::std::string& newshow) - { - return ModifyPersonalShow(uid, newshow, 0); - } - ::Ice::Int ModifyPersonalShow(const ::std::string& uid, const ::std::string& newshow, const ::Ice::Context& __ctx) - { - return ModifyPersonalShow(uid, newshow, &__ctx); - } - -private: - - ::Ice::Int ModifyPersonalShow(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetPersonalShow(const ::std::string& uid, ::std::string& show) - { - return GetPersonalShow(uid, show, 0); - } - ::Ice::Int GetPersonalShow(const ::std::string& uid, ::std::string& show, const ::Ice::Context& __ctx) - { - return GetPersonalShow(uid, show, &__ctx); - } - -private: - - ::Ice::Int GetPersonalShow(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetAllOnlineSmsUser(::Ice::StringSeq& userList) - { - return GetAllOnlineSmsUser(userList, 0); - } - ::Ice::Int GetAllOnlineSmsUser(::Ice::StringSeq& userList, const ::Ice::Context& __ctx) - { - return GetAllOnlineSmsUser(userList, &__ctx); - } - -private: - - ::Ice::Int GetAllOnlineSmsUser(::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserKeyWordDegree(const ::std::string& userId, ::std::string& keyword, ::Ice::Int& flag, ::Ice::Float& degree) - { - return GetUserKeyWordDegree(userId, keyword, flag, degree, 0); - } - ::Ice::Int GetUserKeyWordDegree(const ::std::string& userId, ::std::string& keyword, ::Ice::Int& flag, ::Ice::Float& degree, const ::Ice::Context& __ctx) - { - return GetUserKeyWordDegree(userId, keyword, flag, degree, &__ctx); - } - -private: - - ::Ice::Int GetUserKeyWordDegree(const ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Float&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserValue(const ::std::string& userId, ::Ice::Int& uservalue) - { - return GetUserValue(userId, uservalue, 0); - } - ::Ice::Int GetUserValue(const ::std::string& userId, ::Ice::Int& uservalue, const ::Ice::Context& __ctx) - { - return GetUserValue(userId, uservalue, &__ctx); - } - -private: - - ::Ice::Int GetUserValue(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserMd5Password(const ::std::string& userId, const ::std::string& password) - { - return UpdateUserMd5Password(userId, password, 0); - } - ::Ice::Int UpdateUserMd5Password(const ::std::string& userId, const ::std::string& password, const ::Ice::Context& __ctx) - { - return UpdateUserMd5Password(userId, password, &__ctx); - } - -private: - - ::Ice::Int UpdateUserMd5Password(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int InsertYahooUser(const ::AliIMDBBase::SUdbUserInfo& userInfo, ::Ice::Int activeDegree, const ::AliIMDBBase::SICEGenContactFullSeq& contactList) - { - return InsertYahooUser(userInfo, activeDegree, contactList, 0); - } - ::Ice::Int InsertYahooUser(const ::AliIMDBBase::SUdbUserInfo& userInfo, ::Ice::Int activeDegree, const ::AliIMDBBase::SICEGenContactFullSeq& contactList, const ::Ice::Context& __ctx) - { - return InsertYahooUser(userInfo, activeDegree, contactList, &__ctx); - } - -private: - - ::Ice::Int InsertYahooUser(const ::AliIMDBBase::SUdbUserInfo&, ::Ice::Int, const ::AliIMDBBase::SICEGenContactFullSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetContactDetailByUid(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail) - { - return GetContactDetailByUid(uid, cid, detail, 0); - } - ::Ice::Int GetContactDetailByUid(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context& __ctx) - { - return GetContactDetailByUid(uid, cid, detail, &__ctx); - } - -private: - - ::Ice::Int GetContactDetailByUid(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*); - -public: - - ::Ice::Int GetChildTeamList(const ::std::string& parentId, ::AliIMDBBase::SChildUserInfoSeq& childTeamList) - { - return GetChildTeamList(parentId, childTeamList, 0); - } - ::Ice::Int GetChildTeamList(const ::std::string& parentId, ::AliIMDBBase::SChildUserInfoSeq& childTeamList, const ::Ice::Context& __ctx) - { - return GetChildTeamList(parentId, childTeamList, &__ctx); - } - -private: - - ::Ice::Int GetChildTeamList(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetChildTeamList2(const ::std::string& parentId, ::AliIMDBBase::SChildUserInfoSeq2& childTeamList) - { - return GetChildTeamList2(parentId, childTeamList, 0); - } - ::Ice::Int GetChildTeamList2(const ::std::string& parentId, ::AliIMDBBase::SChildUserInfoSeq2& childTeamList, const ::Ice::Context& __ctx) - { - return GetChildTeamList2(parentId, childTeamList, &__ctx); - } - -private: - - ::Ice::Int GetChildTeamList2(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq2&, const ::Ice::Context*); - -public: - - ::Ice::Int GetChildUserInfo(const ::std::string& childId, ::AliIMDBBase::SChildUserInfo& childInfo) - { - return GetChildUserInfo(childId, childInfo, 0); - } - ::Ice::Int GetChildUserInfo(const ::std::string& childId, ::AliIMDBBase::SChildUserInfo& childInfo, const ::Ice::Context& __ctx) - { - return GetChildUserInfo(childId, childInfo, &__ctx); - } - -private: - - ::Ice::Int GetChildUserInfo(const ::std::string&, ::AliIMDBBase::SChildUserInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int GetChildUserInfo2(const ::std::string& childId, ::AliIMDBBase::SChildUserInfo2& childInfo) - { - return GetChildUserInfo2(childId, childInfo, 0); - } - ::Ice::Int GetChildUserInfo2(const ::std::string& childId, ::AliIMDBBase::SChildUserInfo2& childInfo, const ::Ice::Context& __ctx) - { - return GetChildUserInfo2(childId, childInfo, &__ctx); - } - -private: - - ::Ice::Int GetChildUserInfo2(const ::std::string&, ::AliIMDBBase::SChildUserInfo2&, const ::Ice::Context*); - -public: - - ::Ice::Int GetShareContactList(const ::std::string& uid, ::Ice::StringSeq& shareContactIdList) - { - return GetShareContactList(uid, shareContactIdList, 0); - } - ::Ice::Int GetShareContactList(const ::std::string& uid, ::Ice::StringSeq& shareContactIdList, const ::Ice::Context& __ctx) - { - return GetShareContactList(uid, shareContactIdList, &__ctx); - } - -private: - - ::Ice::Int GetShareContactList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetContactShareInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int& value) - { - return GetContactShareInfo(uid, contactId, type, value, 0); - } - ::Ice::Int GetContactShareInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int& value, const ::Ice::Context& __ctx) - { - return GetContactShareInfo(uid, contactId, type, value, &__ctx); - } - -private: - - ::Ice::Int GetContactShareInfo(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int SetContactShareInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int value) - { - return SetContactShareInfo(uid, contactId, type, value, 0); - } - ::Ice::Int SetContactShareInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int value, const ::Ice::Context& __ctx) - { - return SetContactShareInfo(uid, contactId, type, value, &__ctx); - } - -private: - - ::Ice::Int SetContactShareInfo(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int GetMultiAccountContactList(const ::std::string& uid, ::AliIMDBBase::SICEContactInfoSeq& contactIdList) - { - return GetMultiAccountContactList(uid, contactIdList, 0); - } - ::Ice::Int GetMultiAccountContactList(const ::std::string& uid, ::AliIMDBBase::SICEContactInfoSeq& contactIdList, const ::Ice::Context& __ctx) - { - return GetMultiAccountContactList(uid, contactIdList, &__ctx); - } - -private: - - ::Ice::Int GetMultiAccountContactList(const ::std::string&, ::AliIMDBBase::SICEContactInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetMultiServiceList(const ::std::string& uid, ::Ice::IntSeq& ServiceList) - { - return GetMultiServiceList(uid, ServiceList, 0); - } - ::Ice::Int GetMultiServiceList(const ::std::string& uid, ::Ice::IntSeq& ServiceList, const ::Ice::Context& __ctx) - { - return GetMultiServiceList(uid, ServiceList, &__ctx); - } - -private: - - ::Ice::Int GetMultiServiceList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetMultiBindToUser(const ::std::string& uid, ::std::string& bindToUser) - { - return GetMultiBindToUser(uid, bindToUser, 0); - } - ::Ice::Int GetMultiBindToUser(const ::std::string& uid, ::std::string& bindToUser, const ::Ice::Context& __ctx) - { - return GetMultiBindToUser(uid, bindToUser, &__ctx); - } - -private: - - ::Ice::Int GetMultiBindToUser(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetWebBinds(const ::std::string& uid, ::AliIMDBBase::SICEKvPairSeq& binds) - { - return GetWebBinds(uid, binds, 0); - } - ::Ice::Int GetWebBinds(const ::std::string& uid, ::AliIMDBBase::SICEKvPairSeq& binds, const ::Ice::Context& __ctx) - { - return GetWebBinds(uid, binds, &__ctx); - } - -private: - - ::Ice::Int GetWebBinds(const ::std::string&, ::AliIMDBBase::SICEKvPairSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int AddWebBind(const ::std::string& uid, const ::AliIMDBBase::SICEKvPair& bind, ::std::string& webmd5pw) - { - return AddWebBind(uid, bind, webmd5pw, 0); - } - ::Ice::Int AddWebBind(const ::std::string& uid, const ::AliIMDBBase::SICEKvPair& bind, ::std::string& webmd5pw, const ::Ice::Context& __ctx) - { - return AddWebBind(uid, bind, webmd5pw, &__ctx); - } - -private: - - ::Ice::Int AddWebBind(const ::std::string&, const ::AliIMDBBase::SICEKvPair&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int ChangeWebBind(const ::std::string& uid, const ::AliIMDBBase::SICEKvPair& newbind, ::std::string& webmd5pw) - { - return ChangeWebBind(uid, newbind, webmd5pw, 0); - } - ::Ice::Int ChangeWebBind(const ::std::string& uid, const ::AliIMDBBase::SICEKvPair& newbind, ::std::string& webmd5pw, const ::Ice::Context& __ctx) - { - return ChangeWebBind(uid, newbind, webmd5pw, &__ctx); - } - -private: - - ::Ice::Int ChangeWebBind(const ::std::string&, const ::AliIMDBBase::SICEKvPair&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DelWebBind(const ::std::string& uid, const ::std::string& binduid) - { - return DelWebBind(uid, binduid, 0); - } - ::Ice::Int DelWebBind(const ::std::string& uid, const ::std::string& binduid, const ::Ice::Context& __ctx) - { - return DelWebBind(uid, binduid, &__ctx); - } - -private: - - ::Ice::Int DelWebBind(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserSession(const ::std::string& uid, ::AliIM::SIceSession& retsession) - { - return getUserSession(uid, retsession, 0); - } - ::Ice::Int getUserSession(const ::std::string& uid, ::AliIM::SIceSession& retsession, const ::Ice::Context& __ctx) - { - return getUserSession(uid, retsession, &__ctx); - } - -private: - - ::Ice::Int getUserSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*); - -public: - - ::Ice::Int checkUserSession(const ::std::string& uid, const ::std::string& sessionNo) - { - return checkUserSession(uid, sessionNo, 0); - } - ::Ice::Int checkUserSession(const ::std::string& uid, const ::std::string& sessionNo, const ::Ice::Context& __ctx) - { - return checkUserSession(uid, sessionNo, &__ctx); - } - -private: - - ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int removeSession(const ::std::string& uid) - { - return removeSession(uid, 0); - } - ::Ice::Int removeSession(const ::std::string& uid, const ::Ice::Context& __ctx) - { - return removeSession(uid, &__ctx); - } - -private: - - ::Ice::Int removeSession(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateSignature(const ::std::string& uid, const ::std::string& signature) - { - return UpdateSignature(uid, signature, 0); - } - ::Ice::Int UpdateSignature(const ::std::string& uid, const ::std::string& signature, const ::Ice::Context& __ctx) - { - return UpdateSignature(uid, signature, &__ctx); - } - -private: - - ::Ice::Int UpdateSignature(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int updateContactClientInfo(const ::std::string& uid, const ::std::string& cid, const ::std::string& data, ::Ice::Int& contactTimes) - { - return updateContactClientInfo(uid, cid, data, contactTimes, 0); - } - ::Ice::Int updateContactClientInfo(const ::std::string& uid, const ::std::string& cid, const ::std::string& data, ::Ice::Int& contactTimes, const ::Ice::Context& __ctx) - { - return updateContactClientInfo(uid, cid, data, contactTimes, &__ctx); - } - -private: - - ::Ice::Int updateContactClientInfo(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserProfile(const ::std::string& uid, ::AliIMDBBase::SICEKVMap& profilemap) - { - return getUserProfile(uid, profilemap, 0); - } - ::Ice::Int getUserProfile(const ::std::string& uid, ::AliIMDBBase::SICEKVMap& profilemap, const ::Ice::Context& __ctx) - { - return getUserProfile(uid, profilemap, &__ctx); - } - -private: - - ::Ice::Int getUserProfile(const ::std::string&, ::AliIMDBBase::SICEKVMap&, const ::Ice::Context*); - -public: - - ::Ice::Int getPeerVerifyFlag(const ::std::string& uid, const ::std::string& cid, ::Ice::Int& flag) - { - return getPeerVerifyFlag(uid, cid, flag, 0); - } - ::Ice::Int getPeerVerifyFlag(const ::std::string& uid, const ::std::string& cid, ::Ice::Int& flag, const ::Ice::Context& __ctx) - { - return getPeerVerifyFlag(uid, cid, flag, &__ctx); - } - -private: - - ::Ice::Int getPeerVerifyFlag(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getPeerVerifyFlagQuestion(const ::std::string& uid, const ::std::string& cid, ::Ice::Int& flag, ::std::string& question, ::std::string& answer) - { - return getPeerVerifyFlagQuestion(uid, cid, flag, question, answer, 0); - } - ::Ice::Int getPeerVerifyFlagQuestion(const ::std::string& uid, const ::std::string& cid, ::Ice::Int& flag, ::std::string& question, ::std::string& answer, const ::Ice::Context& __ctx) - { - return getPeerVerifyFlagQuestion(uid, cid, flag, question, answer, &__ctx); - } - -private: - - ::Ice::Int getPeerVerifyFlagQuestion(const ::std::string&, const ::std::string&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getNickName(const ::std::string& uid, ::std::string& nickname) - { - return getNickName(uid, nickname, 0); - } - ::Ice::Int getNickName(const ::std::string& uid, ::std::string& nickname, const ::Ice::Context& __ctx) - { - return getNickName(uid, nickname, &__ctx); - } - -private: - - ::Ice::Int getNickName(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getFTServiceInfo(const ::std::string& senduid, const ::std::string& touid, ::std::string& srvIp, ::Ice::Short& srvPort) - { - return getFTServiceInfo(senduid, touid, srvIp, srvPort, 0); - } - ::Ice::Int getFTServiceInfo(const ::std::string& senduid, const ::std::string& touid, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context& __ctx) - { - return getFTServiceInfo(senduid, touid, srvIp, srvPort, &__ctx); - } - -private: - - ::Ice::Int getFTServiceInfo(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - -public: - - ::Ice::Int getTietuServiceInfo(const ::std::string& senduid, ::Ice::Int& sessionSum, ::std::string& srvIp, ::Ice::Short& srvPort) - { - return getTietuServiceInfo(senduid, sessionSum, srvIp, srvPort, 0); - } - ::Ice::Int getTietuServiceInfo(const ::std::string& senduid, ::Ice::Int& sessionSum, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context& __ctx) - { - return getTietuServiceInfo(senduid, sessionSum, srvIp, srvPort, &__ctx); - } - -private: - - ::Ice::Int getTietuServiceInfo(const ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - -public: - - ::Ice::Int getFTSAddr(::Ice::Short type, const ::std::string& senduid, ::Ice::Long& ftsid, ::std::string& srvIp, ::Ice::Short& srvPort) - { - return getFTSAddr(type, senduid, ftsid, srvIp, srvPort, 0); - } - ::Ice::Int getFTSAddr(::Ice::Short type, const ::std::string& senduid, ::Ice::Long& ftsid, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context& __ctx) - { - return getFTSAddr(type, senduid, ftsid, srvIp, srvPort, &__ctx); - } - -private: - - ::Ice::Int getFTSAddr(::Ice::Short, const ::std::string&, ::Ice::Long&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - -public: - - ::Ice::Int registerWanghao(const ::std::string& longuid, const ::AliIMInterface::KVMAP& attrs) - { - return registerWanghao(longuid, attrs, 0); - } - ::Ice::Int registerWanghao(const ::std::string& longuid, const ::AliIMInterface::KVMAP& attrs, const ::Ice::Context& __ctx) - { - return registerWanghao(longuid, attrs, &__ctx); - } - -private: - - ::Ice::Int registerWanghao(const ::std::string&, const ::AliIMInterface::KVMAP&, const ::Ice::Context*); - -public: - - ::Ice::Int updateUserProfile(const ::std::string& longuid, const ::AliIMInterface::KVMAP& newattrs) - { - return updateUserProfile(longuid, newattrs, 0); - } - ::Ice::Int updateUserProfile(const ::std::string& longuid, const ::AliIMInterface::KVMAP& newattrs, const ::Ice::Context& __ctx) - { - return updateUserProfile(longuid, newattrs, &__ctx); - } - -private: - - ::Ice::Int updateUserProfile(const ::std::string&, const ::AliIMInterface::KVMAP&, const ::Ice::Context*); - -public: - - ::Ice::Int loadSitePrefix(::AliIMDBBase::SImPrefixSeq& pv) - { - return loadSitePrefix(pv, 0); - } - ::Ice::Int loadSitePrefix(::AliIMDBBase::SImPrefixSeq& pv, const ::Ice::Context& __ctx) - { - return loadSitePrefix(pv, &__ctx); - } - -private: - - ::Ice::Int loadSitePrefix(::AliIMDBBase::SImPrefixSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int updateAepUserId(const ::std::string& longuid, const ::std::string& aepuserid) - { - return updateAepUserId(longuid, aepuserid, 0); - } - ::Ice::Int updateAepUserId(const ::std::string& longuid, const ::std::string& aepuserid, const ::Ice::Context& __ctx) - { - return updateAepUserId(longuid, aepuserid, &__ctx); - } - -private: - - ::Ice::Int updateAepUserId(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int updateVipflag(const ::std::string& uid, ::Ice::Int flag) - { - return updateVipflag(uid, flag, 0); - } - ::Ice::Int updateVipflag(const ::std::string& uid, ::Ice::Int flag, const ::Ice::Context& __ctx) - { - return updateVipflag(uid, flag, &__ctx); - } - -private: - - ::Ice::Int updateVipflag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int checkWangHaoPwd(const ::std::string& longuid, bool btokenpw, const ::std::string& pw, ::std::string& retluid, ::std::string& retPwToken, ::std::string& retmd5passwd, ::Ice::Int& activeState) - { - return checkWangHaoPwd(longuid, btokenpw, pw, retluid, retPwToken, retmd5passwd, activeState, 0); - } - ::Ice::Int checkWangHaoPwd(const ::std::string& longuid, bool btokenpw, const ::std::string& pw, ::std::string& retluid, ::std::string& retPwToken, ::std::string& retmd5passwd, ::Ice::Int& activeState, const ::Ice::Context& __ctx) - { - return checkWangHaoPwd(longuid, btokenpw, pw, retluid, retPwToken, retmd5passwd, activeState, &__ctx); - } - -private: - - ::Ice::Int checkWangHaoPwd(const ::std::string&, bool, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int checkCanLogin(const ::std::string& uid, ::Ice::Int version, const ::std::string& extrainfo) - { - return checkCanLogin(uid, version, extrainfo, 0); - } - ::Ice::Int checkCanLogin(const ::std::string& uid, ::Ice::Int version, const ::std::string& extrainfo, const ::Ice::Context& __ctx) - { - return checkCanLogin(uid, version, extrainfo, &__ctx); - } - -private: - - ::Ice::Int checkCanLogin(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetSIPSessionId(const ::std::string& uid, const ::std::string& appid, const ::std::string& type, ::std::string& sessionId) - { - return GetSIPSessionId(uid, appid, type, sessionId, 0); - } - ::Ice::Int GetSIPSessionId(const ::std::string& uid, const ::std::string& appid, const ::std::string& type, ::std::string& sessionId, const ::Ice::Context& __ctx) - { - return GetSIPSessionId(uid, appid, type, sessionId, &__ctx); - } - -private: - - ::Ice::Int GetSIPSessionId(const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckGsContact(const ::std::string& uid, const ::std::string& contactid, ::Ice::Int& flag) - { - return CheckGsContact(uid, contactid, flag, 0); - } - ::Ice::Int CheckGsContact(const ::std::string& uid, const ::std::string& contactid, ::Ice::Int& flag, const ::Ice::Context& __ctx) - { - return CheckGsContact(uid, contactid, flag, &__ctx); - } - -private: - - ::Ice::Int CheckGsContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateSmsAuthCode(const ::std::string& uid, const ::std::string& phoneNo, const ::std::string& code) - { - return UpdateSmsAuthCode(uid, phoneNo, code, 0); - } - ::Ice::Int UpdateSmsAuthCode(const ::std::string& uid, const ::std::string& phoneNo, const ::std::string& code, const ::Ice::Context& __ctx) - { - return UpdateSmsAuthCode(uid, phoneNo, code, &__ctx); - } - -private: - - ::Ice::Int UpdateSmsAuthCode(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckSmsAuthCode(const ::std::string& uid, const ::std::string& phoneNo, const ::std::string& code) - { - return CheckSmsAuthCode(uid, phoneNo, code, 0); - } - ::Ice::Int CheckSmsAuthCode(const ::std::string& uid, const ::std::string& phoneNo, const ::std::string& code, const ::Ice::Context& __ctx) - { - return CheckSmsAuthCode(uid, phoneNo, code, &__ctx); - } - -private: - - ::Ice::Int CheckSmsAuthCode(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateUserValueBySmsAuth(const ::std::string& uid) - { - return UpdateUserValueBySmsAuth(uid, 0); - } - ::Ice::Int UpdateUserValueBySmsAuth(const ::std::string& uid, const ::Ice::Context& __ctx) - { - return UpdateUserValueBySmsAuth(uid, &__ctx); - } - -private: - - ::Ice::Int UpdateUserValueBySmsAuth(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckSmsAuthStatus(const ::std::string& uid, ::Ice::Int& status) - { - return CheckSmsAuthStatus(uid, status, 0); - } - ::Ice::Int CheckSmsAuthStatus(const ::std::string& uid, ::Ice::Int& status, const ::Ice::Context& __ctx) - { - return CheckSmsAuthStatus(uid, status, &__ctx); - } - -private: - - ::Ice::Int CheckSmsAuthStatus(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckUserTokenExtra(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, ::Ice::Int& webdata) - { - return CheckUserTokenExtra(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, webdata, 0); - } - ::Ice::Int CheckUserTokenExtra(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, ::Ice::Int& webdata, const ::Ice::Context& __ctx) - { - return CheckUserTokenExtra(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, webdata, &__ctx); - } - -private: - - ::Ice::Int CheckUserTokenExtra(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckUserWebPasswdExtra(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, ::Ice::Int& webdata) - { - return CheckUserWebPasswdExtra(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, webdata, 0); - } - ::Ice::Int CheckUserWebPasswdExtra(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, ::Ice::Int& webdata, const ::Ice::Context& __ctx) - { - return CheckUserWebPasswdExtra(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, webdata, &__ctx); - } - -private: - - ::Ice::Int CheckUserWebPasswdExtra(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getESShuntStatus(const ::std::string& uid, ::std::string& shunt) - { - return getESShuntStatus(uid, shunt, 0); - } - ::Ice::Int getESShuntStatus(const ::std::string& uid, ::std::string& shunt, const ::Ice::Context& __ctx) - { - return getESShuntStatus(uid, shunt, &__ctx); - } - -private: - - ::Ice::Int getESShuntStatus(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int setESShuntStatus(const ::std::string& uid, const ::std::string& shunt) - { - return setESShuntStatus(uid, shunt, 0); - } - ::Ice::Int setESShuntStatus(const ::std::string& uid, const ::std::string& shunt, const ::Ice::Context& __ctx) - { - return setESShuntStatus(uid, shunt, &__ctx); - } - -private: - - ::Ice::Int setESShuntStatus(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICEReceptNumSeq& eserviceList) - { - return getMaxESReceptNum(uid, groupId, eserviceList, 0); - } - ::Ice::Int getMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICEReceptNumSeq& eserviceList, const ::Ice::Context& __ctx) - { - return getMaxESReceptNum(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int getMaxESReceptNum(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEReceptNumSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int setMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, const ::AliIMDBBase::SICEReceptNumSeq& eserviceList) - { - return setMaxESReceptNum(uid, groupId, eserviceList, 0); - } - ::Ice::Int setMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, const ::AliIMDBBase::SICEReceptNumSeq& eserviceList, const ::Ice::Context& __ctx) - { - return setMaxESReceptNum(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int setMaxESReceptNum(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICEReceptNumSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESPriority(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICEReceptPrioritySeq& eserviceList) - { - return getESPriority(uid, groupId, eserviceList, 0); - } - ::Ice::Int getESPriority(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context& __ctx) - { - return getESPriority(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int getESPriority(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEReceptPrioritySeq&, const ::Ice::Context*); - -public: - - ::Ice::Int setESPriority(const ::std::string& uid, ::Ice::Int groupId, const ::AliIMDBBase::SICEReceptPrioritySeq& eserviceList) - { - return setESPriority(uid, groupId, eserviceList, 0); - } - ::Ice::Int setESPriority(const ::std::string& uid, ::Ice::Int groupId, const ::AliIMDBBase::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context& __ctx) - { - return setESPriority(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int setESPriority(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICEReceptPrioritySeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICERecvOffMsgSeq& eserviceList) - { - return getESRecvOffMsg(uid, groupId, eserviceList, 0); - } - ::Ice::Int getESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context& __ctx) - { - return getESRecvOffMsg(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int getESRecvOffMsg(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICERecvOffMsgSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int setESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, const ::AliIMDBBase::SICERecvOffMsgSeq& eserviceList) - { - return setESRecvOffMsg(uid, groupId, eserviceList, 0); - } - ::Ice::Int setESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, const ::AliIMDBBase::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context& __ctx) - { - return setESRecvOffMsg(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int setESRecvOffMsg(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICERecvOffMsgSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESGroupList(const ::std::string& uid, ::Ice::IntSeq& groupList) - { - return getESGroupList(uid, groupList, 0); - } - ::Ice::Int getESGroupList(const ::std::string& uid, ::Ice::IntSeq& groupList, const ::Ice::Context& __ctx) - { - return getESGroupList(uid, groupList, &__ctx); - } - -private: - - ::Ice::Int getESGroupList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int insertESGroupInfo(const ::std::string& uid, const ::AliIMDBBase::SICEESGroupInfo& groupInfo, ::Ice::Int& groupId) - { - return insertESGroupInfo(uid, groupInfo, groupId, 0); - } - ::Ice::Int insertESGroupInfo(const ::std::string& uid, const ::AliIMDBBase::SICEESGroupInfo& groupInfo, ::Ice::Int& groupId, const ::Ice::Context& __ctx) - { - return insertESGroupInfo(uid, groupInfo, groupId, &__ctx); - } - -private: - - ::Ice::Int insertESGroupInfo(const ::std::string&, const ::AliIMDBBase::SICEESGroupInfo&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int updateESGroupInfo(const ::std::string& uid, const ::AliIMDBBase::SICEESGroupInfo& group) - { - return updateESGroupInfo(uid, group, 0); - } - ::Ice::Int updateESGroupInfo(const ::std::string& uid, const ::AliIMDBBase::SICEESGroupInfo& group, const ::Ice::Context& __ctx) - { - return updateESGroupInfo(uid, group, &__ctx); - } - -private: - - ::Ice::Int updateESGroupInfo(const ::std::string&, const ::AliIMDBBase::SICEESGroupInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int delESGroup(const ::std::string& uid, ::Ice::Int groupid) - { - return delESGroup(uid, groupid, 0); - } - ::Ice::Int delESGroup(const ::std::string& uid, ::Ice::Int groupid, const ::Ice::Context& __ctx) - { - return delESGroup(uid, groupid, &__ctx); - } - -private: - - ::Ice::Int delESGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int getESGroupInfo(const ::std::string& uid, ::AliIMDBBase::SICEESGroupInfoSeq& groupList) - { - return getESGroupInfo(uid, groupList, 0); - } - ::Ice::Int getESGroupInfo(const ::std::string& uid, ::AliIMDBBase::SICEESGroupInfoSeq& groupList, const ::Ice::Context& __ctx) - { - return getESGroupInfo(uid, groupList, &__ctx); - } - -private: - - ::Ice::Int getESGroupInfo(const ::std::string&, ::AliIMDBBase::SICEESGroupInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESGroupInfoByID(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICEESGroupInfo& groupInfo) - { - return getESGroupInfoByID(uid, groupId, groupInfo, 0); - } - ::Ice::Int getESGroupInfoByID(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICEESGroupInfo& groupInfo, const ::Ice::Context& __ctx) - { - return getESGroupInfoByID(uid, groupId, groupInfo, &__ctx); - } - -private: - - ::Ice::Int getESGroupInfoByID(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEESGroupInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int getESUserFunc(const ::std::string& uid, const ::std::string& childid, ::std::string& userflag, ::Ice::Int& groupId) - { - return getESUserFunc(uid, childid, userflag, groupId, 0); - } - ::Ice::Int getESUserFunc(const ::std::string& uid, const ::std::string& childid, ::std::string& userflag, ::Ice::Int& groupId, const ::Ice::Context& __ctx) - { - return getESUserFunc(uid, childid, userflag, groupId, &__ctx); - } - -private: - - ::Ice::Int getESUserFunc(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getESUnJoinGroup(const ::std::string& uid, ::Ice::StringSeq& eserviceList) - { - return getESUnJoinGroup(uid, eserviceList, 0); - } - ::Ice::Int getESUnJoinGroup(const ::std::string& uid, ::Ice::StringSeq& eserviceList, const ::Ice::Context& __ctx) - { - return getESUnJoinGroup(uid, eserviceList, &__ctx); - } - -private: - - ::Ice::Int getESUnJoinGroup(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int checkESRole(const ::std::string& uid, ::Ice::Int& groupId) - { - return checkESRole(uid, groupId, 0); - } - ::Ice::Int checkESRole(const ::std::string& uid, ::Ice::Int& groupId, const ::Ice::Context& __ctx) - { - return checkESRole(uid, groupId, &__ctx); - } - -private: - - ::Ice::Int checkESRole(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckWebWWPasswd(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat) - { - return CheckWebWWPasswd(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, 0); - } - ::Ice::Int CheckWebWWPasswd(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context& __ctx) - { - return CheckWebWWPasswd(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, &__ctx); - } - -private: - - ::Ice::Int CheckWebWWPasswd(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getESExpandArea(const ::std::string& uid, ::AliIMDBBase::SICEExpandAreaSeq& areaInfos) - { - return getESExpandArea(uid, areaInfos, 0); - } - ::Ice::Int getESExpandArea(const ::std::string& uid, ::AliIMDBBase::SICEExpandAreaSeq& areaInfos, const ::Ice::Context& __ctx) - { - return getESExpandArea(uid, areaInfos, &__ctx); - } - -private: - - ::Ice::Int getESExpandArea(const ::std::string&, ::AliIMDBBase::SICEExpandAreaSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESExpandAreaById(const ::std::string& uid, ::Ice::Int id, ::AliIMDBBase::SICEExpandArea& areaInfos) - { - return getESExpandAreaById(uid, id, areaInfos, 0); - } - ::Ice::Int getESExpandAreaById(const ::std::string& uid, ::Ice::Int id, ::AliIMDBBase::SICEExpandArea& areaInfos, const ::Ice::Context& __ctx) - { - return getESExpandAreaById(uid, id, areaInfos, &__ctx); - } - -private: - - ::Ice::Int getESExpandAreaById(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*); - -public: - - ::Ice::Int addESExpandArea(const ::std::string& uid, const ::AliIMDBBase::SICEExpandArea& areaInfo) - { - return addESExpandArea(uid, areaInfo, 0); - } - ::Ice::Int addESExpandArea(const ::std::string& uid, const ::AliIMDBBase::SICEExpandArea& areaInfo, const ::Ice::Context& __ctx) - { - return addESExpandArea(uid, areaInfo, &__ctx); - } - -private: - - ::Ice::Int addESExpandArea(const ::std::string&, const ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*); - -public: - - ::Ice::Int updateESExpandArea(const ::std::string& uid, const ::AliIMDBBase::SICEExpandArea& areaInfo) - { - return updateESExpandArea(uid, areaInfo, 0); - } - ::Ice::Int updateESExpandArea(const ::std::string& uid, const ::AliIMDBBase::SICEExpandArea& areaInfo, const ::Ice::Context& __ctx) - { - return updateESExpandArea(uid, areaInfo, &__ctx); - } - -private: - - ::Ice::Int updateESExpandArea(const ::std::string&, const ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*); - -public: - - ::Ice::Int delESExpandArea(const ::std::string& uid, ::Ice::Int id) - { - return delESExpandArea(uid, id, 0); - } - ::Ice::Int delESExpandArea(const ::std::string& uid, ::Ice::Int id, const ::Ice::Context& __ctx) - { - return delESExpandArea(uid, id, &__ctx); - } - -private: - - ::Ice::Int delESExpandArea(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int setESEval(const ::std::string& uid, const ::std::string& evalcontent, const ::std::string& welcome) - { - return setESEval(uid, evalcontent, welcome, 0); - } - ::Ice::Int setESEval(const ::std::string& uid, const ::std::string& evalcontent, const ::std::string& welcome, const ::Ice::Context& __ctx) - { - return setESEval(uid, evalcontent, welcome, &__ctx); - } - -private: - - ::Ice::Int setESEval(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getESEval(const ::std::string& uid, ::std::string& evalcontent, ::std::string& welcome) - { - return getESEval(uid, evalcontent, welcome, 0); - } - ::Ice::Int getESEval(const ::std::string& uid, ::std::string& evalcontent, ::std::string& welcome, const ::Ice::Context& __ctx) - { - return getESEval(uid, evalcontent, welcome, &__ctx); - } - -private: - - ::Ice::Int getESEval(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int sendESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int& evalId) - { - return sendESEvalResult(uid, buyerid, evalId, 0); - } - ::Ice::Int sendESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int& evalId, const ::Ice::Context& __ctx) - { - return sendESEvalResult(uid, buyerid, evalId, &__ctx); - } - -private: - - ::Ice::Int sendESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int setESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, const ::std::string& evalresult) - { - return setESEvalResult(uid, buyerid, evalId, evalresult, 0); - } - ::Ice::Int setESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, const ::std::string& evalresult, const ::Ice::Context& __ctx) - { - return setESEvalResult(uid, buyerid, evalId, evalresult, &__ctx); - } - -private: - - ::Ice::Int setESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, ::std::string& evalresult, ::std::string& gmtcreate, ::std::string& gmtmodify) - { - return getESEvalResult(uid, buyerid, evalId, evalresult, gmtcreate, gmtmodify, 0); - } - ::Ice::Int getESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, ::std::string& evalresult, ::std::string& gmtcreate, ::std::string& gmtmodify, const ::Ice::Context& __ctx) - { - return getESEvalResult(uid, buyerid, evalId, evalresult, gmtcreate, gmtmodify, &__ctx); - } - -private: - - ::Ice::Int getESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getESEvalResultToday(const ::std::string& uid, ::AliIMDBBase::SICEESEvalResultSeq& evalInfos) - { - return getESEvalResultToday(uid, evalInfos, 0); - } - ::Ice::Int getESEvalResultToday(const ::std::string& uid, ::AliIMDBBase::SICEESEvalResultSeq& evalInfos, const ::Ice::Context& __ctx) - { - return getESEvalResultToday(uid, evalInfos, &__ctx); - } - -private: - - ::Ice::Int getESEvalResultToday(const ::std::string&, ::AliIMDBBase::SICEESEvalResultSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESEvalResultHistory(const ::std::string& uid, const ::std::string& querytime, ::AliIMDBBase::SICEESEvalResultSeq& evalInfos) - { - return getESEvalResultHistory(uid, querytime, evalInfos, 0); - } - ::Ice::Int getESEvalResultHistory(const ::std::string& uid, const ::std::string& querytime, ::AliIMDBBase::SICEESEvalResultSeq& evalInfos, const ::Ice::Context& __ctx) - { - return getESEvalResultHistory(uid, querytime, evalInfos, &__ctx); - } - -private: - - ::Ice::Int getESEvalResultHistory(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEESEvalResultSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESEvalResultHistorybypage(const ::std::string& uid, const ::std::string& childid, const ::std::string& begindate, const ::std::string& enddate, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& pagecount, ::AliIMDBBase::SICEESEvalResultExSeq& evalInfos) - { - return getESEvalResultHistorybypage(uid, childid, begindate, enddate, pageno, pagesize, pagecount, evalInfos, 0); - } - ::Ice::Int getESEvalResultHistorybypage(const ::std::string& uid, const ::std::string& childid, const ::std::string& begindate, const ::std::string& enddate, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& pagecount, ::AliIMDBBase::SICEESEvalResultExSeq& evalInfos, const ::Ice::Context& __ctx) - { - return getESEvalResultHistorybypage(uid, childid, begindate, enddate, pageno, pagesize, pagecount, evalInfos, &__ctx); - } - -private: - - ::Ice::Int getESEvalResultHistorybypage(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliIMDBBase::SICEESEvalResultExSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getLastLoginTime(const ::Ice::StringSeq& loginids, ::Ice::StringSeq& loginTimes) - { - return getLastLoginTime(loginids, loginTimes, 0); - } - ::Ice::Int getLastLoginTime(const ::Ice::StringSeq& loginids, ::Ice::StringSeq& loginTimes, const ::Ice::Context& __ctx) - { - return getLastLoginTime(loginids, loginTimes, &__ctx); - } - -private: - - ::Ice::Int getLastLoginTime(const ::Ice::StringSeq&, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getChildShuntInfos(const ::std::string& uid, ::AliIMDBBase::SChildUserInfoSeq& childInfos) - { - return getChildShuntInfos(uid, childInfos, 0); - } - ::Ice::Int getChildShuntInfos(const ::std::string& uid, ::AliIMDBBase::SChildUserInfoSeq& childInfos, const ::Ice::Context& __ctx) - { - return getChildShuntInfos(uid, childInfos, &__ctx); - } - -private: - - ::Ice::Int getChildShuntInfos(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int setChildShuntInfos(const ::std::string& uid, const ::AliIMDBBase::SChildUserInfoSeq& childinfos) - { - return setChildShuntInfos(uid, childinfos, 0); - } - ::Ice::Int setChildShuntInfos(const ::std::string& uid, const ::AliIMDBBase::SChildUserInfoSeq& childinfos, const ::Ice::Context& __ctx) - { - return setChildShuntInfos(uid, childinfos, &__ctx); - } - -private: - - ::Ice::Int setChildShuntInfos(const ::std::string&, const ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getAgentChild(const ::std::string& uid, ::std::string& agentId) - { - return getAgentChild(uid, agentId, 0); - } - ::Ice::Int getAgentChild(const ::std::string& uid, ::std::string& agentId, const ::Ice::Context& __ctx) - { - return getAgentChild(uid, agentId, &__ctx); - } - -private: - - ::Ice::Int getAgentChild(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int setAgentChild(const ::std::string& uid, const ::std::string& agentId) - { - return setAgentChild(uid, agentId, 0); - } - ::Ice::Int setAgentChild(const ::std::string& uid, const ::std::string& agentId, const ::Ice::Context& __ctx) - { - return setAgentChild(uid, agentId, &__ctx); - } - -private: - - ::Ice::Int setAgentChild(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getAgentList(const ::std::string& uid, ::Ice::StringSeq& agentIds) - { - return getAgentList(uid, agentIds, 0); - } - ::Ice::Int getAgentList(const ::std::string& uid, ::Ice::StringSeq& agentIds, const ::Ice::Context& __ctx) - { - return getAgentList(uid, agentIds, &__ctx); - } - -private: - - ::Ice::Int getAgentList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getB2BChildTeamList(const ::std::string& parentId, ::AliIMDBBase::SB2BChildUserInfoSeq& childTeamList) - { - return getB2BChildTeamList(parentId, childTeamList, 0); - } - ::Ice::Int getB2BChildTeamList(const ::std::string& parentId, ::AliIMDBBase::SB2BChildUserInfoSeq& childTeamList, const ::Ice::Context& __ctx) - { - return getB2BChildTeamList(parentId, childTeamList, &__ctx); - } - -private: - - ::Ice::Int getB2BChildTeamList(const ::std::string&, ::AliIMDBBase::SB2BChildUserInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getB2BChildInfo(const ::std::string& parentId, const ::std::string& childid, ::AliIMDBBase::SB2BChildUserInfo& childInfo) - { - return getB2BChildInfo(parentId, childid, childInfo, 0); - } - ::Ice::Int getB2BChildInfo(const ::std::string& parentId, const ::std::string& childid, ::AliIMDBBase::SB2BChildUserInfo& childInfo, const ::Ice::Context& __ctx) - { - return getB2BChildInfo(parentId, childid, childInfo, &__ctx); - } - -private: - - ::Ice::Int getB2BChildInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SB2BChildUserInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int getB2BChildParentId(const ::std::string& childId, ::std::string& fid) - { - return getB2BChildParentId(childId, fid, 0); - } - ::Ice::Int getB2BChildParentId(const ::std::string& childId, ::std::string& fid, const ::Ice::Context& __ctx) - { - return getB2BChildParentId(childId, fid, &__ctx); - } - -private: - - ::Ice::Int getB2BChildParentId(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int addB2BChild(const ::std::string& fid, const ::std::string& childId, const ::std::string& userflag) - { - return addB2BChild(fid, childId, userflag, 0); - } - ::Ice::Int addB2BChild(const ::std::string& fid, const ::std::string& childId, const ::std::string& userflag, const ::Ice::Context& __ctx) - { - return addB2BChild(fid, childId, userflag, &__ctx); - } - -private: - - ::Ice::Int addB2BChild(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int updateB2BChild(const ::std::string& fid, const ::std::string& childId, const ::std::string& userflag) - { - return updateB2BChild(fid, childId, userflag, 0); - } - ::Ice::Int updateB2BChild(const ::std::string& fid, const ::std::string& childId, const ::std::string& userflag, const ::Ice::Context& __ctx) - { - return updateB2BChild(fid, childId, userflag, &__ctx); - } - -private: - - ::Ice::Int updateB2BChild(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int deleteB2BChild(const ::std::string& fid, const ::std::string& childId) - { - return deleteB2BChild(fid, childId, 0); - } - ::Ice::Int deleteB2BChild(const ::std::string& fid, const ::std::string& childId, const ::Ice::Context& __ctx) - { - return deleteB2BChild(fid, childId, &__ctx); - } - -private: - - ::Ice::Int deleteB2BChild(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIMDBBase -{ - -class IMDBProxyMgr : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int sayhello(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckUserToken(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckTmpSession(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckUserWebPasswd(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckUserPasswd(const ::std::string&, bool, const ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckUserWebToken(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAtmLongid(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddUser60(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetWebMemberPWInfo(const ::std::string&, ::AliIMDBBase::SMemberPWInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetWebMemberPWInfoEx(const ::std::string&, ::AliIMDBBase::SMemberPWInfoEx&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserWebBasicProfile(const ::std::string&, ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckCanAddContact(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int QueryMatchedUserIds(const ::std::string&, const ::std::string&, ::AliIMDBBase::SMatchedUserIdInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactWebInfo(const ::std::string&, const ::std::string&, const ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelTaobaoUser(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelAnyUser(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddUserKeyWord(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserKeyWord(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserKeyWord(const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int QueryUserIdsByKeyWord(const ::std::string&, ::AliIMDBBase::SMatchedUserIdInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetBatchMemberInfo(const ::Ice::StringSeq&, ::AliIMDBBase::SICEMemberInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAllVersion(::AliIMDBBase::SICEVersionSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAllSysMsg(::AliIMDBBase::SICESysMessageSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAllExSysMsg(::AliIMDBBase::SExICESysMessageSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserInfo(const ::std::string&, ::AliIMDBBase::SICEUserInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserInfo2(const ::std::string&, ::AliIMDBBase::SICEUserInfo2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserInfoEx(const ::std::string&, ::AliIMDBBase::SICEUserInfoEx&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserInfoNew(const ::std::string&, ::AliIMDBBase::SICEUserInfoNew&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserInfo2New(const ::std::string&, ::AliIMDBBase::SICEUserInfo2New&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserInfoExNew(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserInfoExNew2(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserInfoExNew3(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew3&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserInfoExNew4(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew4&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserVerifyInfo(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserVerifyInfoEx(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, ::Ice::Byte&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserVerifyInfoQuestion(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, ::Ice::Byte&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetGroupListEx(const ::std::string&, ::AliIMDBBase::SICEGroupInfoExSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetReverseBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetOfflineMsg(const ::std::string&, ::AliIMDBBase::SICEOffLineMessegeSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetOfflineMsgEx(const ::std::string&, ::AliIMDBBase::SICEOffLineMessegeExSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetOfflineMsgCount(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetEnetOfflineMsgNum(const ::std::string&, const ::std::string&, const ::Ice::IntSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetContactInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEContactInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetOfflineMsgNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetToolProfiles(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetToolProfilesEx(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEToolProfileSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetSysMsg(::Ice::Int, ::AliIMDBBase::SICESysMessage&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddUser(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddGroupEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddOfflineMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddExpriteTimeOfflineMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddOfflineMsgNoSMS(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddOfflineMsgEx(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Long, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserLogin(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserLoginEx(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserLoginDataInfo(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserLoginDataInfoEx(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserSysMsgId(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserDataInfo(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserDataInfo2(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserDataInfo3(const ::std::string&, const ::AliIMDBBase::RIGHTTABLE&, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserVerifySet(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserVerifySetEx(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserVerifySetQuestion(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int MoveGroup(const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactStatus(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateNotifyMessage(::Ice::Int, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateToolProfiles(const ::std::string&, ::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateToolProfilesEx(const ::std::string&, const ::AliIMDBBase::SICEToolProfileSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveGroup(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveInverfiedContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int IsBlackedByOther(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveBatchContacts(const ::std::string&, const ::Ice::StringSeq&, ::Ice::StringSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserDStatus(const ::std::string&, ::AliIMDBBase::SICEUserDStatusSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddUserDStatus(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveUserDStatus(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAllContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetCntModifyList(::Ice::Int, const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntCidModPairSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull&, ::std::string&, ::std::string&, ::Ice::Long&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelGenContact(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckUpgradeGenCnt(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ModifyGenCntID(const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpgradeGenContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUpdatedUserInfo(const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, ::std::string&, ::Ice::Long&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactGroupByCid(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactNickNameByCid(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetCRMContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECRMContactDetail&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetHardCodeIds(const ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateHardCodeIds(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetCntOtherModifyList(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntOtherModInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetCntOtherModifyInfo(const ::std::string&, ::AliIMDBBase::SICECntOtherModInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserCRInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int SetUserCRInfo(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetSmsUserInfoByUid(const ::std::string&, ::AliIMDBBase::SICESmsUserInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetSmsUserMsgInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelOfflineMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelOfflineMsgEx(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelWapOfflineMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ModifyCntMemo(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetCntMemo(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserTribe(const ::std::string&, ::ALiIMDBTribe::STribeIdDbSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserTribeConfig(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserTribeConfig(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetTribeOffMngMsg(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelTribeOffMngMsg(::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ModifyPersonalShow(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetPersonalShow(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetAllOnlineSmsUser(::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserKeyWordDegree(const ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Float&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserValue(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserMd5Password(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int InsertYahooUser(const ::AliIMDBBase::SUdbUserInfo&, ::Ice::Int, const ::AliIMDBBase::SICEGenContactFullSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetContactDetailByUid(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetChildTeamList(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetChildTeamList2(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetChildUserInfo(const ::std::string&, ::AliIMDBBase::SChildUserInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetChildUserInfo2(const ::std::string&, ::AliIMDBBase::SChildUserInfo2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetShareContactList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetContactShareInfo(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int SetContactShareInfo(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetMultiAccountContactList(const ::std::string&, ::AliIMDBBase::SICEContactInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetMultiServiceList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetMultiBindToUser(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetWebBinds(const ::std::string&, ::AliIMDBBase::SICEKvPairSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddWebBind(const ::std::string&, const ::AliIMDBBase::SICEKvPair&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ChangeWebBind(const ::std::string&, const ::AliIMDBBase::SICEKvPair&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelWebBind(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int removeSession(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateSignature(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateContactClientInfo(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserProfile(const ::std::string&, ::AliIMDBBase::SICEKVMap&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getPeerVerifyFlag(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getPeerVerifyFlagQuestion(const ::std::string&, const ::std::string&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getNickName(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getFTServiceInfo(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getTietuServiceInfo(const ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Short&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getFTSAddr(::Ice::Short, const ::std::string&, ::Ice::Long&, ::std::string&, ::Ice::Short&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int registerWanghao(const ::std::string&, const ::AliIMInterface::KVMAP&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateUserProfile(const ::std::string&, const ::AliIMInterface::KVMAP&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int loadSitePrefix(::AliIMDBBase::SImPrefixSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateAepUserId(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateVipflag(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkWangHaoPwd(const ::std::string&, bool, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkCanLogin(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetSIPSessionId(const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckGsContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateSmsAuthCode(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckSmsAuthCode(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateUserValueBySmsAuth(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckSmsAuthStatus(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckUserTokenExtra(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckUserWebPasswdExtra(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESShuntStatus(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setESShuntStatus(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getMaxESReceptNum(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEReceptNumSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setMaxESReceptNum(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICEReceptNumSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESPriority(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEReceptPrioritySeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setESPriority(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICEReceptPrioritySeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESRecvOffMsg(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICERecvOffMsgSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setESRecvOffMsg(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICERecvOffMsgSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESGroupList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int insertESGroupInfo(const ::std::string&, const ::AliIMDBBase::SICEESGroupInfo&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateESGroupInfo(const ::std::string&, const ::AliIMDBBase::SICEESGroupInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int delESGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESGroupInfo(const ::std::string&, ::AliIMDBBase::SICEESGroupInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESGroupInfoByID(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEESGroupInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESUserFunc(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESUnJoinGroup(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkESRole(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckWebWWPasswd(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESExpandArea(const ::std::string&, ::AliIMDBBase::SICEExpandAreaSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESExpandAreaById(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int addESExpandArea(const ::std::string&, const ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateESExpandArea(const ::std::string&, const ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int delESExpandArea(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setESEval(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESEval(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int sendESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESEvalResultToday(const ::std::string&, ::AliIMDBBase::SICEESEvalResultSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESEvalResultHistory(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEESEvalResultSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESEvalResultHistorybypage(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliIMDBBase::SICEESEvalResultExSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getLastLoginTime(const ::Ice::StringSeq&, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getChildShuntInfos(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setChildShuntInfos(const ::std::string&, const ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getAgentChild(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setAgentChild(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getAgentList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getB2BChildTeamList(const ::std::string&, ::AliIMDBBase::SB2BChildUserInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getB2BChildInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SB2BChildUserInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getB2BChildParentId(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int addB2BChild(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateB2BChild(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int deleteB2BChild(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIMDBBase -{ - -class IMDBProxyMgr : virtual public ::IceDelegate::AliIMDBBase::IMDBProxyMgr, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int sayhello(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserToken(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckTmpSession(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserWebPasswd(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserPasswd(const ::std::string&, bool, const ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserWebToken(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetAtmLongid(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AddUser60(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetWebMemberPWInfo(const ::std::string&, ::AliIMDBBase::SMemberPWInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetWebMemberPWInfoEx(const ::std::string&, ::AliIMDBBase::SMemberPWInfoEx&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserWebBasicProfile(const ::std::string&, ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*); - - virtual ::Ice::Int CheckCanAddContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int QueryMatchedUserIds(const ::std::string&, const ::std::string&, ::AliIMDBBase::SMatchedUserIdInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactWebInfo(const ::std::string&, const ::std::string&, const ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*); - - virtual ::Ice::Int DelTaobaoUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DelAnyUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserKeyWord(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserKeyWord(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetUserKeyWord(const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int QueryUserIdsByKeyWord(const ::std::string&, ::AliIMDBBase::SMatchedUserIdInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetBatchMemberInfo(const ::Ice::StringSeq&, ::AliIMDBBase::SICEMemberInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllVersion(::AliIMDBBase::SICEVersionSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllSysMsg(::AliIMDBBase::SICESysMessageSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllExSysMsg(::AliIMDBBase::SExICESysMessageSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfo(const ::std::string&, ::AliIMDBBase::SICEUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfo2(const ::std::string&, ::AliIMDBBase::SICEUserInfo2&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfoEx(const ::std::string&, ::AliIMDBBase::SICEUserInfoEx&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfoNew(const ::std::string&, ::AliIMDBBase::SICEUserInfoNew&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfo2New(const ::std::string&, ::AliIMDBBase::SICEUserInfo2New&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfoExNew(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfoExNew2(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew2&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfoExNew3(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew3&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfoExNew4(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew4&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserVerifyInfo(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserVerifyInfoEx(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, ::Ice::Byte&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserVerifyInfoQuestion(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, ::Ice::Byte&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetGroupListEx(const ::std::string&, ::AliIMDBBase::SICEGroupInfoExSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetReverseBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetOfflineMsg(const ::std::string&, ::AliIMDBBase::SICEOffLineMessegeSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetOfflineMsgEx(const ::std::string&, ::AliIMDBBase::SICEOffLineMessegeExSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetOfflineMsgCount(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetEnetOfflineMsgNum(const ::std::string&, const ::std::string&, const ::Ice::IntSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEContactInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetOfflineMsgNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetToolProfiles(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetToolProfilesEx(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEToolProfileSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetSysMsg(::Ice::Int, ::AliIMDBBase::SICESysMessage&, const ::Ice::Context*); - - virtual ::Ice::Int AddUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AddGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddGroupEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddOfflineMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AddExpriteTimeOfflineMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AddOfflineMsgNoSMS(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AddOfflineMsgEx(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserLogin(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserLoginEx(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserLoginDataInfo(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserLoginDataInfoEx(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserSysMsgId(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserDataInfo(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserDataInfo2(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserDataInfo3(const ::std::string&, const ::AliIMDBBase::RIGHTTABLE&, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserVerifySet(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserVerifySetEx(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserVerifySetQuestion(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int MoveGroup(const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactStatus(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateNotifyMessage(::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateToolProfiles(const ::std::string&, ::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateToolProfilesEx(const ::std::string&, const ::AliIMDBBase::SICEToolProfileSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveGroup(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveInverfiedContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int IsBlackedByOther(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveBatchContacts(const ::std::string&, const ::Ice::StringSeq&, ::Ice::StringSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserDStatus(const ::std::string&, ::AliIMDBBase::SICEUserDStatusSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserDStatus(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveUserDStatus(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetAllContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetCntModifyList(::Ice::Int, const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntCidModPairSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull&, ::std::string&, ::std::string&, ::Ice::Long&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*); - - virtual ::Ice::Int DelGenContact(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*); - - virtual ::Ice::Int AddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUpgradeGenCnt(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ModifyGenCntID(const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpgradeGenContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUpdatedUserInfo(const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, ::std::string&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactGroupByCid(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactNickNameByCid(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetCRMContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECRMContactDetail&, const ::Ice::Context*); - - virtual ::Ice::Int GetHardCodeIds(const ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateHardCodeIds(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetCntOtherModifyList(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntOtherModInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetCntOtherModifyInfo(const ::std::string&, ::AliIMDBBase::SICECntOtherModInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserCRInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int SetUserCRInfo(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetSmsUserInfoByUid(const ::std::string&, ::AliIMDBBase::SICESmsUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetSmsUserMsgInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DelOfflineMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DelOfflineMsgEx(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DelWapOfflineMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ModifyCntMemo(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetCntMemo(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserTribe(const ::std::string&, ::ALiIMDBTribe::STribeIdDbSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserTribeConfig(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserTribeConfig(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetTribeOffMngMsg(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DelTribeOffMngMsg(::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ModifyPersonalShow(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetPersonalShow(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllOnlineSmsUser(::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserKeyWordDegree(const ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Float&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserValue(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserMd5Password(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int InsertYahooUser(const ::AliIMDBBase::SUdbUserInfo&, ::Ice::Int, const ::AliIMDBBase::SICEGenContactFullSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactDetailByUid(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*); - - virtual ::Ice::Int GetChildTeamList(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetChildTeamList2(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq2&, const ::Ice::Context*); - - virtual ::Ice::Int GetChildUserInfo(const ::std::string&, ::AliIMDBBase::SChildUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetChildUserInfo2(const ::std::string&, ::AliIMDBBase::SChildUserInfo2&, const ::Ice::Context*); - - virtual ::Ice::Int GetShareContactList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactShareInfo(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int SetContactShareInfo(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetMultiAccountContactList(const ::std::string&, ::AliIMDBBase::SICEContactInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetMultiServiceList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetMultiBindToUser(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetWebBinds(const ::std::string&, ::AliIMDBBase::SICEKvPairSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddWebBind(const ::std::string&, const ::AliIMDBBase::SICEKvPair&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ChangeWebBind(const ::std::string&, const ::AliIMDBBase::SICEKvPair&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DelWebBind(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getUserSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*); - - virtual ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int removeSession(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateSignature(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateContactClientInfo(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfile(const ::std::string&, ::AliIMDBBase::SICEKVMap&, const ::Ice::Context*); - - virtual ::Ice::Int getPeerVerifyFlag(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getPeerVerifyFlagQuestion(const ::std::string&, const ::std::string&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getNickName(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getFTServiceInfo(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int getTietuServiceInfo(const ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int getFTSAddr(::Ice::Short, const ::std::string&, ::Ice::Long&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int registerWanghao(const ::std::string&, const ::AliIMInterface::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserProfile(const ::std::string&, const ::AliIMInterface::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int loadSitePrefix(::AliIMDBBase::SImPrefixSeq&, const ::Ice::Context*); - - virtual ::Ice::Int updateAepUserId(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateVipflag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int checkWangHaoPwd(const ::std::string&, bool, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int checkCanLogin(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetSIPSessionId(const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckGsContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateSmsAuthCode(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckSmsAuthCode(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserValueBySmsAuth(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckSmsAuthStatus(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserTokenExtra(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserWebPasswdExtra(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getESShuntStatus(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setESShuntStatus(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getMaxESReceptNum(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEReceptNumSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setMaxESReceptNum(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICEReceptNumSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESPriority(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEReceptPrioritySeq&, const ::Ice::Context*); - - virtual ::Ice::Int setESPriority(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICEReceptPrioritySeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESRecvOffMsg(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICERecvOffMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setESRecvOffMsg(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICERecvOffMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESGroupList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int insertESGroupInfo(const ::std::string&, const ::AliIMDBBase::SICEESGroupInfo&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int updateESGroupInfo(const ::std::string&, const ::AliIMDBBase::SICEESGroupInfo&, const ::Ice::Context*); - - virtual ::Ice::Int delESGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int getESGroupInfo(const ::std::string&, ::AliIMDBBase::SICEESGroupInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESGroupInfoByID(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEESGroupInfo&, const ::Ice::Context*); - - virtual ::Ice::Int getESUserFunc(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getESUnJoinGroup(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int checkESRole(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckWebWWPasswd(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getESExpandArea(const ::std::string&, ::AliIMDBBase::SICEExpandAreaSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESExpandAreaById(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*); - - virtual ::Ice::Int addESExpandArea(const ::std::string&, const ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*); - - virtual ::Ice::Int updateESExpandArea(const ::std::string&, const ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*); - - virtual ::Ice::Int delESExpandArea(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int setESEval(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getESEval(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int sendESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int setESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResultToday(const ::std::string&, ::AliIMDBBase::SICEESEvalResultSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResultHistory(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEESEvalResultSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResultHistorybypage(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliIMDBBase::SICEESEvalResultExSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getLastLoginTime(const ::Ice::StringSeq&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getChildShuntInfos(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setChildShuntInfos(const ::std::string&, const ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getAgentChild(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setAgentChild(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getAgentList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getB2BChildTeamList(const ::std::string&, ::AliIMDBBase::SB2BChildUserInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getB2BChildInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SB2BChildUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int getB2BChildParentId(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int addB2BChild(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateB2BChild(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int deleteB2BChild(const ::std::string&, const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIMDBBase -{ - -class IMDBProxyMgr : virtual public ::IceDelegate::AliIMDBBase::IMDBProxyMgr, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int sayhello(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserToken(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckTmpSession(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserWebPasswd(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserPasswd(const ::std::string&, bool, const ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserWebToken(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetAtmLongid(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AddUser60(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetWebMemberPWInfo(const ::std::string&, ::AliIMDBBase::SMemberPWInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetWebMemberPWInfoEx(const ::std::string&, ::AliIMDBBase::SMemberPWInfoEx&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserWebBasicProfile(const ::std::string&, ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*); - - virtual ::Ice::Int CheckCanAddContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int QueryMatchedUserIds(const ::std::string&, const ::std::string&, ::AliIMDBBase::SMatchedUserIdInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactWebInfo(const ::std::string&, const ::std::string&, const ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*); - - virtual ::Ice::Int DelTaobaoUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DelAnyUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserKeyWord(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserKeyWord(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetUserKeyWord(const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int QueryUserIdsByKeyWord(const ::std::string&, ::AliIMDBBase::SMatchedUserIdInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetBatchMemberInfo(const ::Ice::StringSeq&, ::AliIMDBBase::SICEMemberInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllVersion(::AliIMDBBase::SICEVersionSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllSysMsg(::AliIMDBBase::SICESysMessageSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllExSysMsg(::AliIMDBBase::SExICESysMessageSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfo(const ::std::string&, ::AliIMDBBase::SICEUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfo2(const ::std::string&, ::AliIMDBBase::SICEUserInfo2&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfoEx(const ::std::string&, ::AliIMDBBase::SICEUserInfoEx&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfoNew(const ::std::string&, ::AliIMDBBase::SICEUserInfoNew&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfo2New(const ::std::string&, ::AliIMDBBase::SICEUserInfo2New&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfoExNew(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfoExNew2(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew2&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfoExNew3(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew3&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfoExNew4(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew4&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserVerifyInfo(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserVerifyInfoEx(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, ::Ice::Byte&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserVerifyInfoQuestion(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, ::Ice::Byte&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetGroupListEx(const ::std::string&, ::AliIMDBBase::SICEGroupInfoExSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetReverseBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetOfflineMsg(const ::std::string&, ::AliIMDBBase::SICEOffLineMessegeSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetOfflineMsgEx(const ::std::string&, ::AliIMDBBase::SICEOffLineMessegeExSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetOfflineMsgCount(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetEnetOfflineMsgNum(const ::std::string&, const ::std::string&, const ::Ice::IntSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEContactInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetOfflineMsgNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetToolProfiles(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetToolProfilesEx(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEToolProfileSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetSysMsg(::Ice::Int, ::AliIMDBBase::SICESysMessage&, const ::Ice::Context*); - - virtual ::Ice::Int AddUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AddGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddGroupEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddOfflineMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AddExpriteTimeOfflineMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AddOfflineMsgNoSMS(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int AddOfflineMsgEx(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserLogin(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserLoginEx(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserLoginDataInfo(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserLoginDataInfoEx(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserSysMsgId(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserDataInfo(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserDataInfo2(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserDataInfo3(const ::std::string&, const ::AliIMDBBase::RIGHTTABLE&, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserVerifySet(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserVerifySetEx(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserVerifySetQuestion(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int MoveGroup(const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactStatus(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateNotifyMessage(::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateToolProfiles(const ::std::string&, ::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateToolProfilesEx(const ::std::string&, const ::AliIMDBBase::SICEToolProfileSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveGroup(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveInverfiedContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int IsBlackedByOther(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveBatchContacts(const ::std::string&, const ::Ice::StringSeq&, ::Ice::StringSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserDStatus(const ::std::string&, ::AliIMDBBase::SICEUserDStatusSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserDStatus(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveUserDStatus(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetAllContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetCntModifyList(::Ice::Int, const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntCidModPairSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull&, ::std::string&, ::std::string&, ::Ice::Long&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*); - - virtual ::Ice::Int DelGenContact(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*); - - virtual ::Ice::Int AddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUpgradeGenCnt(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ModifyGenCntID(const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpgradeGenContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUpdatedUserInfo(const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, ::std::string&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactGroupByCid(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactNickNameByCid(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetCRMContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECRMContactDetail&, const ::Ice::Context*); - - virtual ::Ice::Int GetHardCodeIds(const ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateHardCodeIds(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetCntOtherModifyList(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntOtherModInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetCntOtherModifyInfo(const ::std::string&, ::AliIMDBBase::SICECntOtherModInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserCRInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int SetUserCRInfo(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetSmsUserInfoByUid(const ::std::string&, ::AliIMDBBase::SICESmsUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetSmsUserMsgInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DelOfflineMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DelOfflineMsgEx(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DelWapOfflineMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ModifyCntMemo(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetCntMemo(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserTribe(const ::std::string&, ::ALiIMDBTribe::STribeIdDbSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserTribeConfig(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserTribeConfig(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetTribeOffMngMsg(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DelTribeOffMngMsg(::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ModifyPersonalShow(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetPersonalShow(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetAllOnlineSmsUser(::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserKeyWordDegree(const ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Float&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserValue(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserMd5Password(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int InsertYahooUser(const ::AliIMDBBase::SUdbUserInfo&, ::Ice::Int, const ::AliIMDBBase::SICEGenContactFullSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactDetailByUid(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*); - - virtual ::Ice::Int GetChildTeamList(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetChildTeamList2(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq2&, const ::Ice::Context*); - - virtual ::Ice::Int GetChildUserInfo(const ::std::string&, ::AliIMDBBase::SChildUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetChildUserInfo2(const ::std::string&, ::AliIMDBBase::SChildUserInfo2&, const ::Ice::Context*); - - virtual ::Ice::Int GetShareContactList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactShareInfo(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int SetContactShareInfo(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetMultiAccountContactList(const ::std::string&, ::AliIMDBBase::SICEContactInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetMultiServiceList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetMultiBindToUser(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetWebBinds(const ::std::string&, ::AliIMDBBase::SICEKvPairSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddWebBind(const ::std::string&, const ::AliIMDBBase::SICEKvPair&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ChangeWebBind(const ::std::string&, const ::AliIMDBBase::SICEKvPair&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DelWebBind(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getUserSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*); - - virtual ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int removeSession(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateSignature(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateContactClientInfo(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfile(const ::std::string&, ::AliIMDBBase::SICEKVMap&, const ::Ice::Context*); - - virtual ::Ice::Int getPeerVerifyFlag(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getPeerVerifyFlagQuestion(const ::std::string&, const ::std::string&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getNickName(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getFTServiceInfo(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int getTietuServiceInfo(const ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int getFTSAddr(::Ice::Short, const ::std::string&, ::Ice::Long&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int registerWanghao(const ::std::string&, const ::AliIMInterface::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserProfile(const ::std::string&, const ::AliIMInterface::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int loadSitePrefix(::AliIMDBBase::SImPrefixSeq&, const ::Ice::Context*); - - virtual ::Ice::Int updateAepUserId(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateVipflag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int checkWangHaoPwd(const ::std::string&, bool, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int checkCanLogin(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetSIPSessionId(const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckGsContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateSmsAuthCode(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckSmsAuthCode(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateUserValueBySmsAuth(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int CheckSmsAuthStatus(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserTokenExtra(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserWebPasswdExtra(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getESShuntStatus(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setESShuntStatus(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getMaxESReceptNum(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEReceptNumSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setMaxESReceptNum(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICEReceptNumSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESPriority(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEReceptPrioritySeq&, const ::Ice::Context*); - - virtual ::Ice::Int setESPriority(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICEReceptPrioritySeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESRecvOffMsg(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICERecvOffMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setESRecvOffMsg(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICERecvOffMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESGroupList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int insertESGroupInfo(const ::std::string&, const ::AliIMDBBase::SICEESGroupInfo&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int updateESGroupInfo(const ::std::string&, const ::AliIMDBBase::SICEESGroupInfo&, const ::Ice::Context*); - - virtual ::Ice::Int delESGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int getESGroupInfo(const ::std::string&, ::AliIMDBBase::SICEESGroupInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESGroupInfoByID(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEESGroupInfo&, const ::Ice::Context*); - - virtual ::Ice::Int getESUserFunc(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getESUnJoinGroup(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int checkESRole(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int CheckWebWWPasswd(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getESExpandArea(const ::std::string&, ::AliIMDBBase::SICEExpandAreaSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESExpandAreaById(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*); - - virtual ::Ice::Int addESExpandArea(const ::std::string&, const ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*); - - virtual ::Ice::Int updateESExpandArea(const ::std::string&, const ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*); - - virtual ::Ice::Int delESExpandArea(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int setESEval(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getESEval(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int sendESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int setESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResultToday(const ::std::string&, ::AliIMDBBase::SICEESEvalResultSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResultHistory(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEESEvalResultSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResultHistorybypage(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliIMDBBase::SICEESEvalResultExSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getLastLoginTime(const ::Ice::StringSeq&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getChildShuntInfos(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setChildShuntInfos(const ::std::string&, const ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getAgentChild(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setAgentChild(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getAgentList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getB2BChildTeamList(const ::std::string&, ::AliIMDBBase::SB2BChildUserInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getB2BChildInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SB2BChildUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int getB2BChildParentId(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int addB2BChild(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateB2BChild(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int deleteB2BChild(const ::std::string&, const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIMDBBase -{ - -class IMDBProxyMgr : virtual public ::Ice::Object -{ -public: - - typedef IMDBProxyMgrPrx ProxyType; - typedef IMDBProxyMgrPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual void sayhello_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_sayhelloPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___sayhello(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckUserToken_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserTokenPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUserToken(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckTmpSession_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckTmpSessionPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckTmpSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckUserWebPasswd_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswdPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUserWebPasswd(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckUserPasswd_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserPasswdPtr&, const ::std::string&, bool, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUserPasswd(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckUserWebToken_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebTokenPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUserWebToken(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetAtmLongid_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetAtmLongidPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAtmLongid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddUser60_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddUser60Ptr&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddUser60(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetWebMemberPWInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfoPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetWebMemberPWInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetWebMemberPWInfoEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfoExPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetWebMemberPWInfoEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserWebBasicProfile_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserWebBasicProfilePtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserWebBasicProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckCanAddContact_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckCanAddContactPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckCanAddContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void QueryMatchedUserIds_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_QueryMatchedUserIdsPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___QueryMatchedUserIds(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateContactWebInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactWebInfoPtr&, const ::std::string&, const ::std::string&, const ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactWebInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void DelTaobaoUser_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_DelTaobaoUserPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelTaobaoUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void DelAnyUser_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_DelAnyUserPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelAnyUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddUserKeyWord_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddUserKeyWordPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddUserKeyWord(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserKeyWord_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserKeyWordPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserKeyWord(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserKeyWord_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWordPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserKeyWord(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void QueryUserIdsByKeyWord_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_QueryUserIdsByKeyWordPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___QueryUserIdsByKeyWord(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetBatchMemberInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetBatchMemberInfoPtr&, const ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetBatchMemberInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetAllVersion_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllVersionPtr&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAllVersion(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetAllSysMsg_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllSysMsgPtr&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAllSysMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetAllExSysMsg_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllExSysMsgPtr&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAllExSysMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserInfo2_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2Ptr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserInfo2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserInfoEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserInfoEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserInfoNew_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoNewPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserInfoNew(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserInfo2New_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2NewPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserInfo2New(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserInfoExNew_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNewPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserInfoExNew(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserInfoExNew2_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew2Ptr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserInfoExNew2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserInfoExNew3_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew3Ptr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserInfoExNew3(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserInfoExNew4_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew4Ptr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserInfoExNew4(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserVerifyInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserVerifyInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserVerifyInfoEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoExPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserVerifyInfoEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserVerifyInfoQuestion_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoQuestionPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserVerifyInfoQuestion(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetGroupList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupListPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetGroupList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetGroupListEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupListExPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetGroupListEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetContactList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactListPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetContactList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetBlackList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetBlackListPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetBlackList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetReverseBlackList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetReverseBlackListPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetReverseBlackList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetOfflineMsg_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetOfflineMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetOfflineMsgEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgExPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetOfflineMsgEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetOfflineMsgCount_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgCountPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetOfflineMsgCount(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetEnetOfflineMsgNum_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetEnetOfflineMsgNumPtr&, const ::std::string&, const ::std::string&, const ::Ice::IntSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetEnetOfflineMsgNum(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetContactInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactInfoPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetContactInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetOfflineMsgNum_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgNumPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetOfflineMsgNum(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetToolProfiles_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfilesPtr&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetToolProfiles(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetToolProfilesEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfilesExPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetToolProfilesEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetSysMsg_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetSysMsgPtr&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetSysMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddUser_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddUserPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddGroup_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddGroupPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddGroupEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddGroupExPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddGroupEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddBlackList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddBlackListPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddBlackList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddOfflineMsg_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddOfflineMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddExpriteTimeOfflineMsg_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsgPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddExpriteTimeOfflineMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddOfflineMsgNoSMS_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgNoSMSPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddOfflineMsgNoSMS(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddOfflineMsgEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgExPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Long, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddOfflineMsgEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserLogin_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserLogin(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserLoginEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginExPtr&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserLoginEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserLoginDataInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoPtr&, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserLoginDataInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserLoginDataInfoEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoExPtr&, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserLoginDataInfoEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserSysMsgId_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserSysMsgIdPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserSysMsgId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserDataInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfoPtr&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserDataInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserDataInfo2_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo2Ptr&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserDataInfo2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserDataInfo3_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo3Ptr&, const ::std::string&, const ::AliIMDBBase::RIGHTTABLE&, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserDataInfo3(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserVerifySet_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetPtr&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserVerifySet(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserVerifySetEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetExPtr&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserVerifySetEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserVerifySetQuestion_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetQuestionPtr&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserVerifySetQuestion(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateGroup_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateGroupPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void MoveGroup_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_MoveGroupPtr&, const ::std::string&, ::Ice::Long, ::Ice::Long, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___MoveGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateContactNickName_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickNamePtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactNickName(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateContactGroup_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroupPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateContactStatus_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactStatusPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateNotifyMessage_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateNotifyMessagePtr&, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateNotifyMessage(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateToolProfiles_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfilesPtr&, const ::std::string&, ::Ice::Int, const ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateToolProfiles(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateToolProfilesEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfilesExPtr&, const ::std::string&, const ::AliIMDBBase::SICEToolProfileSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateToolProfilesEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void RemoveGroup_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveGroupPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void RemoveContact_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveContactPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void RemoveInverfiedContact_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveInverfiedContactPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveInverfiedContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void RemoveBlackList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBlackListPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveBlackList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void IsBlackedByOther_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_IsBlackedByOtherPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___IsBlackedByOther(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void RemoveBatchContacts_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBatchContactsPtr&, const ::std::string&, const ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveBatchContacts(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserDStatus_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserDStatusPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserDStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddUserDStatus_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddUserDStatusPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddUserDStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void RemoveUserDStatus_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveUserDStatusPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveUserDStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetAllContactList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllContactListPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAllContactList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetCntModifyList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntModifyListPtr&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetCntModifyList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddGenContactFull_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddGenContactFullPtr&, const ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddGenContactFull(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetContactDetail_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetailPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetContactDetail(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void DelGenContact_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_DelGenContactPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelGenContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddContact_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddContactPtr&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckUpgradeGenCnt_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUpgradeGenCntPtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUpgradeGenCnt(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void ModifyGenCntID_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyGenCntIDPtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ModifyGenCntID(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpgradeGenContact_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpgradeGenContactPtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpgradeGenContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUpdatedUserInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUpdatedUserInfoPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUpdatedUserInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void ModifyContactDetail_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyContactDetailPtr&, const ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ModifyContactDetail(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateContactGroupByCid_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroupByCidPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactGroupByCid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateContactNickNameByCid_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickNameByCidPtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactNickNameByCid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetCRMContactDetail_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetCRMContactDetailPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetCRMContactDetail(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetHardCodeIds_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetHardCodeIdsPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetHardCodeIds(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateHardCodeIds_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateHardCodeIdsPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateHardCodeIds(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetCntOtherModifyList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyListPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetCntOtherModifyList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetCntOtherModifyInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyInfoPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetCntOtherModifyInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserCRInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserCRInfoPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserCRInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void SetUserCRInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_SetUserCRInfoPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___SetUserCRInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetSmsUserInfoByUid_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserInfoByUidPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetSmsUserInfoByUid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetSmsUserMsgInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserMsgInfoPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetSmsUserMsgInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void DelOfflineMsg_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsgPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelOfflineMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void DelOfflineMsgEx_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsgExPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelOfflineMsgEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void DelWapOfflineMsg_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_DelWapOfflineMsgPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelWapOfflineMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void ModifyCntMemo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyCntMemoPtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ModifyCntMemo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetCntMemo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntMemoPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetCntMemo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserTribe_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribePtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserTribeConfig_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribeConfigPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserTribeConfig(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserTribeConfig_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserTribeConfigPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserTribeConfig(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetTribeOffMngMsg_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetTribeOffMngMsgPtr&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetTribeOffMngMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void DelTribeOffMngMsg_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_DelTribeOffMngMsgPtr&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelTribeOffMngMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void ModifyPersonalShow_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyPersonalShowPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ModifyPersonalShow(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetPersonalShow_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetPersonalShowPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetPersonalShow(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetAllOnlineSmsUser_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllOnlineSmsUserPtr&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetAllOnlineSmsUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserKeyWordDegree_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWordDegreePtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserKeyWordDegree(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetUserValue_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserValuePtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserValue(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserMd5Password_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserMd5PasswordPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserMd5Password(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void InsertYahooUser_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_InsertYahooUserPtr&, const ::AliIMDBBase::SUdbUserInfo&, ::Ice::Int, const ::AliIMDBBase::SICEGenContactFullSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___InsertYahooUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetContactDetailByUid_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetailByUidPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetContactDetailByUid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetChildTeamList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamListPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetChildTeamList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetChildTeamList2_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList2Ptr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetChildTeamList2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetChildUserInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfoPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetChildUserInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetChildUserInfo2_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo2Ptr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetChildUserInfo2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetShareContactList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetShareContactListPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetShareContactList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetContactShareInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactShareInfoPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetContactShareInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void SetContactShareInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_SetContactShareInfoPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___SetContactShareInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetMultiAccountContactList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiAccountContactListPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetMultiAccountContactList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetMultiServiceList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiServiceListPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetMultiServiceList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetMultiBindToUser_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiBindToUserPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetMultiBindToUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetWebBinds_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetWebBindsPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetWebBinds(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void AddWebBind_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_AddWebBindPtr&, const ::std::string&, const ::AliIMDBBase::SICEKvPair&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddWebBind(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void ChangeWebBind_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_ChangeWebBindPtr&, const ::std::string&, const ::AliIMDBBase::SICEKvPair&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ChangeWebBind(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void DelWebBind_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_DelWebBindPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelWebBind(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getUserSession_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getUserSessionPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void checkUserSession_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_checkUserSessionPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkUserSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void removeSession_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_removeSessionPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___removeSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateSignature_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSignaturePtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateSignature(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void updateContactClientInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_updateContactClientInfoPtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateContactClientInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getUserProfile_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getUserProfilePtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getPeerVerifyFlag_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlagPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getPeerVerifyFlag(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getPeerVerifyFlagQuestion_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlagQuestionPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getPeerVerifyFlagQuestion(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getNickName_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getNickNamePtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getNickName(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getFTServiceInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getFTServiceInfoPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getFTServiceInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getTietuServiceInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getTietuServiceInfoPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getTietuServiceInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getFTSAddr_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getFTSAddrPtr&, ::Ice::Short, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getFTSAddr(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void registerWanghao_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_registerWanghaoPtr&, const ::std::string&, const ::AliIMInterface::KVMAP&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___registerWanghao(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void updateUserProfile_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_updateUserProfilePtr&, const ::std::string&, const ::AliIMInterface::KVMAP&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void loadSitePrefix_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_loadSitePrefixPtr&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___loadSitePrefix(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void updateAepUserId_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_updateAepUserIdPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateAepUserId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void updateVipflag_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_updateVipflagPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateVipflag(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void checkWangHaoPwd_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_checkWangHaoPwdPtr&, const ::std::string&, bool, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkWangHaoPwd(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void checkCanLogin_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_checkCanLoginPtr&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkCanLogin(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void GetSIPSessionId_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_GetSIPSessionIdPtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetSIPSessionId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckGsContact_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckGsContactPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckGsContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateSmsAuthCode_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSmsAuthCodePtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateSmsAuthCode(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckSmsAuthCode_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthCodePtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckSmsAuthCode(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void UpdateUserValueBySmsAuth_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserValueBySmsAuthPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateUserValueBySmsAuth(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckSmsAuthStatus_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthStatusPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckSmsAuthStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckUserTokenExtra_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserTokenExtraPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUserTokenExtra(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckUserWebPasswdExtra_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswdExtraPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUserWebPasswdExtra(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESShuntStatus_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESShuntStatusPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESShuntStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void setESShuntStatus_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_setESShuntStatusPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setESShuntStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getMaxESReceptNum_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getMaxESReceptNumPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getMaxESReceptNum(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void setMaxESReceptNum_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_setMaxESReceptNumPtr&, const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICEReceptNumSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setMaxESReceptNum(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESPriority_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESPriorityPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESPriority(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void setESPriority_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_setESPriorityPtr&, const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICEReceptPrioritySeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setESPriority(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESRecvOffMsg_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESRecvOffMsgPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESRecvOffMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void setESRecvOffMsg_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_setESRecvOffMsgPtr&, const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICERecvOffMsgSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setESRecvOffMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESGroupList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupListPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESGroupList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void insertESGroupInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_insertESGroupInfoPtr&, const ::std::string&, const ::AliIMDBBase::SICEESGroupInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___insertESGroupInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void updateESGroupInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_updateESGroupInfoPtr&, const ::std::string&, const ::AliIMDBBase::SICEESGroupInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateESGroupInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void delESGroup_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_delESGroupPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___delESGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESGroupInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfoPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESGroupInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESGroupInfoByID_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfoByIDPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESGroupInfoByID(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESUserFunc_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESUserFuncPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESUserFunc(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESUnJoinGroup_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESUnJoinGroupPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESUnJoinGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void checkESRole_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_checkESRolePtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkESRole(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void CheckWebWWPasswd_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_CheckWebWWPasswdPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckWebWWPasswd(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESExpandArea_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandAreaPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESExpandArea(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESExpandAreaById_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandAreaByIdPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESExpandAreaById(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void addESExpandArea_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_addESExpandAreaPtr&, const ::std::string&, const ::AliIMDBBase::SICEExpandArea&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addESExpandArea(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void updateESExpandArea_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_updateESExpandAreaPtr&, const ::std::string&, const ::AliIMDBBase::SICEExpandArea&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateESExpandArea(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void delESExpandArea_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_delESExpandAreaPtr&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___delESExpandArea(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void setESEval_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_setESEvalPtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setESEval(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESEval_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESEval(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void sendESEvalResult_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_sendESEvalResultPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___sendESEvalResult(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void setESEvalResult_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_setESEvalResultPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setESEvalResult(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESEvalResult_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultPtr&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESEvalResult(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESEvalResultToday_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultTodayPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESEvalResultToday(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESEvalResultHistory_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistoryPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESEvalResultHistory(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getESEvalResultHistorybypage_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistorybypagePtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESEvalResultHistorybypage(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getLastLoginTime_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getLastLoginTimePtr&, const ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getLastLoginTime(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getChildShuntInfos_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getChildShuntInfosPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getChildShuntInfos(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void setChildShuntInfos_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_setChildShuntInfosPtr&, const ::std::string&, const ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setChildShuntInfos(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getAgentChild_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getAgentChildPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getAgentChild(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void setAgentChild_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_setAgentChildPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setAgentChild(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getAgentList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getAgentListPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getAgentList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getB2BChildTeamList_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildTeamListPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getB2BChildTeamList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getB2BChildInfo_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildInfoPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getB2BChildInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void getB2BChildParentId_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildParentIdPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getB2BChildParentId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void addB2BChild_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_addB2BChildPtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addB2BChild(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void updateB2BChild_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_updateB2BChildPtr&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateB2BChild(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void deleteB2BChild_async(const ::AliIMDBBase::AMD_IMDBProxyMgr_deleteB2BChildPtr&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___deleteB2BChild(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IMDBProxyMgrPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/dbsmsservice.h b/features/aliww/include/dbsmsservice.h deleted file mode 100644 index 8406a5d..0000000 --- a/features/aliww/include/dbsmsservice.h +++ /dev/null @@ -1,1213 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbsmsservice.ice' - -#ifndef __dbsmsservice_h__ -#define __dbsmsservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace ALiIMDBSms -{ - -class SmsDBProxyMgr; -bool operator==(const SmsDBProxyMgr&, const SmsDBProxyMgr&); -bool operator!=(const SmsDBProxyMgr&, const SmsDBProxyMgr&); -bool operator<(const SmsDBProxyMgr&, const SmsDBProxyMgr&); -bool operator<=(const SmsDBProxyMgr&, const SmsDBProxyMgr&); -bool operator>(const SmsDBProxyMgr&, const SmsDBProxyMgr&); -bool operator>=(const SmsDBProxyMgr&, const SmsDBProxyMgr&); - -} - -} - -namespace ALiIMDBSms -{ - -class SmsDBProxyMgr; -bool operator==(const SmsDBProxyMgr&, const SmsDBProxyMgr&); -bool operator!=(const SmsDBProxyMgr&, const SmsDBProxyMgr&); -bool operator<(const SmsDBProxyMgr&, const SmsDBProxyMgr&); -bool operator<=(const SmsDBProxyMgr&, const SmsDBProxyMgr&); -bool operator>(const SmsDBProxyMgr&, const SmsDBProxyMgr&); -bool operator>=(const SmsDBProxyMgr&, const SmsDBProxyMgr&); - -} - -namespace IceInternal -{ - -void incRef(::ALiIMDBSms::SmsDBProxyMgr*); -void decRef(::ALiIMDBSms::SmsDBProxyMgr*); - -void incRef(::IceProxy::ALiIMDBSms::SmsDBProxyMgr*); -void decRef(::IceProxy::ALiIMDBSms::SmsDBProxyMgr*); - -} - -namespace ALiIMDBSms -{ - -typedef ::IceInternal::Handle< ::ALiIMDBSms::SmsDBProxyMgr> SmsDBProxyMgrPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::ALiIMDBSms::SmsDBProxyMgr> SmsDBProxyMgrPrx; - -void __write(::IceInternal::BasicStream*, const SmsDBProxyMgrPrx&); -void __read(::IceInternal::BasicStream*, SmsDBProxyMgrPrx&); -void __write(::IceInternal::BasicStream*, const SmsDBProxyMgrPtr&); -void __patch__SmsDBProxyMgrPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const SmsDBProxyMgrPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const SmsDBProxyMgrPtr&); -void __decRefUnsafe(const SmsDBProxyMgrPtr&); -void __clearHandleUnsafe(SmsDBProxyMgrPtr&); - -} - -namespace ALiIMDBSms -{ - -} - -namespace IceProxy -{ - -namespace ALiIMDBSms -{ - -class SmsDBProxyMgr : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int DBAddValidate(const ::std::string& userId, ::Ice::Int type, const ::std::string& mobileNo, const ::std::string& validateCode) - { - return DBAddValidate(userId, type, mobileNo, validateCode, 0); - } - ::Ice::Int DBAddValidate(const ::std::string& userId, ::Ice::Int type, const ::std::string& mobileNo, const ::std::string& validateCode, const ::Ice::Context& __ctx) - { - return DBAddValidate(userId, type, mobileNo, validateCode, &__ctx); - } - -private: - - ::Ice::Int DBAddValidate(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetValidateInfoWithUpdate(const ::std::string& userId, ::Ice::Int type, ::Ice::Int updateFlag, ::std::string& validateCode, ::std::string& mobileNo, ::Ice::Int& sendTimes, ::Ice::Int& validateTimes) - { - return DBGetValidateInfoWithUpdate(userId, type, updateFlag, validateCode, mobileNo, sendTimes, validateTimes, 0); - } - ::Ice::Int DBGetValidateInfoWithUpdate(const ::std::string& userId, ::Ice::Int type, ::Ice::Int updateFlag, ::std::string& validateCode, ::std::string& mobileNo, ::Ice::Int& sendTimes, ::Ice::Int& validateTimes, const ::Ice::Context& __ctx) - { - return DBGetValidateInfoWithUpdate(userId, type, updateFlag, validateCode, mobileNo, sendTimes, validateTimes, &__ctx); - } - -private: - - ::Ice::Int DBGetValidateInfoWithUpdate(const ::std::string&, ::Ice::Int, ::Ice::Int, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBRemoveValidate(const ::std::string& userId, ::Ice::Int type) - { - return DBRemoveValidate(userId, type, 0); - } - ::Ice::Int DBRemoveValidate(const ::std::string& userId, ::Ice::Int type, const ::Ice::Context& __ctx) - { - return DBRemoveValidate(userId, type, &__ctx); - } - -private: - - ::Ice::Int DBRemoveValidate(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateValidateMobile(const ::std::string& userId, ::Ice::Int type, const ::std::string& mobileNo, const ::std::string& validatecode) - { - return DBUpdateValidateMobile(userId, type, mobileNo, validatecode, 0); - } - ::Ice::Int DBUpdateValidateMobile(const ::std::string& userId, ::Ice::Int type, const ::std::string& mobileNo, const ::std::string& validatecode, const ::Ice::Context& __ctx) - { - return DBUpdateValidateMobile(userId, type, mobileNo, validatecode, &__ctx); - } - -private: - - ::Ice::Int DBUpdateValidateMobile(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddSmsUser(const ::std::string& userId, const ::std::string& mobileNo, ::std::string& account) - { - return DBAddSmsUser(userId, mobileNo, account, 0); - } - ::Ice::Int DBAddSmsUser(const ::std::string& userId, const ::std::string& mobileNo, ::std::string& account, const ::Ice::Context& __ctx) - { - return DBAddSmsUser(userId, mobileNo, account, &__ctx); - } - -private: - - ::Ice::Int DBAddSmsUser(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBBindMobile(const ::std::string& userId, const ::std::string& mobileNo, ::Ice::Int balance) - { - return DBBindMobile(userId, mobileNo, balance, 0); - } - ::Ice::Int DBBindMobile(const ::std::string& userId, const ::std::string& mobileNo, ::Ice::Int balance, const ::Ice::Context& __ctx) - { - return DBBindMobile(userId, mobileNo, balance, &__ctx); - } - -private: - - ::Ice::Int DBBindMobile(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsUserInfoByUid(const ::std::string& userId, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo) - { - return DBGetSmsUserInfoByUid(userId, smsUserInfo, 0); - } - ::Ice::Int DBGetSmsUserInfoByUid(const ::std::string& userId, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo, const ::Ice::Context& __ctx) - { - return DBGetSmsUserInfoByUid(userId, smsUserInfo, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsUserInfoByUid(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsUserInfoByAccount(const ::std::string& account, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo) - { - return DBGetSmsUserInfoByAccount(account, smsUserInfo, 0); - } - ::Ice::Int DBGetSmsUserInfoByAccount(const ::std::string& account, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo, const ::Ice::Context& __ctx) - { - return DBGetSmsUserInfoByAccount(account, smsUserInfo, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsUserInfoByAccount(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsUserInfoByMobile(const ::std::string& mobileNo, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo) - { - return DBGetSmsUserInfoByMobile(mobileNo, smsUserInfo, 0); - } - ::Ice::Int DBGetSmsUserInfoByMobile(const ::std::string& mobileNo, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo, const ::Ice::Context& __ctx) - { - return DBGetSmsUserInfoByMobile(mobileNo, smsUserInfo, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsUserInfoByMobile(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsUserMsgInfo(const ::std::string& userId, ::Ice::Int& todaySmsCount, ::Ice::Int& yesterdaySmsCount) - { - return DBGetSmsUserMsgInfo(userId, todaySmsCount, yesterdaySmsCount, 0); - } - ::Ice::Int DBGetSmsUserMsgInfo(const ::std::string& userId, ::Ice::Int& todaySmsCount, ::Ice::Int& yesterdaySmsCount, const ::Ice::Context& __ctx) - { - return DBGetSmsUserMsgInfo(userId, todaySmsCount, yesterdaySmsCount, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsUserMsgInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddSmsFunctionLog(const ::std::string& userId, ::Ice::Int functionType, ::Ice::Int action, const ::std::string& mobileNo, ::Ice::Int status, ::Ice::Int fromType, const ::std::string& errorDesc) - { - return DBAddSmsFunctionLog(userId, functionType, action, mobileNo, status, fromType, errorDesc, 0); - } - ::Ice::Int DBAddSmsFunctionLog(const ::std::string& userId, ::Ice::Int functionType, ::Ice::Int action, const ::std::string& mobileNo, ::Ice::Int status, ::Ice::Int fromType, const ::std::string& errorDesc, const ::Ice::Context& __ctx) - { - return DBAddSmsFunctionLog(userId, functionType, action, mobileNo, status, fromType, errorDesc, &__ctx); - } - -private: - - ::Ice::Int DBAddSmsFunctionLog(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBSetMobileOnlineFlag(const ::std::string& userId, ::Ice::Int onlineFlag) - { - return DBSetMobileOnlineFlag(userId, onlineFlag, 0); - } - ::Ice::Int DBSetMobileOnlineFlag(const ::std::string& userId, ::Ice::Int onlineFlag, const ::Ice::Context& __ctx) - { - return DBSetMobileOnlineFlag(userId, onlineFlag, &__ctx); - } - -private: - - ::Ice::Int DBSetMobileOnlineFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBSetMobileBindFlag(const ::std::string& userId, ::Ice::Int bindFlag) - { - return DBSetMobileBindFlag(userId, bindFlag, 0); - } - ::Ice::Int DBSetMobileBindFlag(const ::std::string& userId, ::Ice::Int bindFlag, const ::Ice::Context& __ctx) - { - return DBSetMobileBindFlag(userId, bindFlag, &__ctx); - } - -private: - - ::Ice::Int DBSetMobileBindFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBSetMessageRevFlag(const ::std::string& userId, ::Ice::Int revFlag) - { - return DBSetMessageRevFlag(userId, revFlag, 0); - } - ::Ice::Int DBSetMessageRevFlag(const ::std::string& userId, ::Ice::Int revFlag, const ::Ice::Context& __ctx) - { - return DBSetMessageRevFlag(userId, revFlag, &__ctx); - } - -private: - - ::Ice::Int DBSetMessageRevFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBSetSmsRebind(const ::std::string& userId, const ::std::string& mobileNo) - { - return DBSetSmsRebind(userId, mobileNo, 0); - } - ::Ice::Int DBSetSmsRebind(const ::std::string& userId, const ::std::string& mobileNo, const ::Ice::Context& __ctx) - { - return DBSetSmsRebind(userId, mobileNo, &__ctx); - } - -private: - - ::Ice::Int DBSetSmsRebind(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddSmsMessage(const ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, ::std::string& msgId) - { - return DBAddSmsMessage(smsMsgInfo, msgId, 0); - } - ::Ice::Int DBAddSmsMessage(const ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, ::std::string& msgId, const ::Ice::Context& __ctx) - { - return DBAddSmsMessage(smsMsgInfo, msgId, &__ctx); - } - -private: - - ::Ice::Int DBAddSmsMessage(const ::ALiIMDBSms::SSmsMsgInfo&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsMessage(const ::std::string& msgId, ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo) - { - return DBGetSmsMessage(msgId, smsMsgInfo, 0); - } - ::Ice::Int DBGetSmsMessage(const ::std::string& msgId, ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, const ::Ice::Context& __ctx) - { - return DBGetSmsMessage(msgId, smsMsgInfo, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsMessage(const ::std::string&, ::ALiIMDBSms::SSmsMsgInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsMessage2(const ::std::string& transId, ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo) - { - return DBGetSmsMessage2(transId, smsMsgInfo, 0); - } - ::Ice::Int DBGetSmsMessage2(const ::std::string& transId, ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, const ::Ice::Context& __ctx) - { - return DBGetSmsMessage2(transId, smsMsgInfo, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsMessage2(const ::std::string&, ::ALiIMDBSms::SSmsMsgInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateSmsMsgStatus(const ::std::string& msgId, ::Ice::Int status, const ::std::string& errorDesc) - { - return DBUpdateSmsMsgStatus(msgId, status, errorDesc, 0); - } - ::Ice::Int DBUpdateSmsMsgStatus(const ::std::string& msgId, ::Ice::Int status, const ::std::string& errorDesc, const ::Ice::Context& __ctx) - { - return DBUpdateSmsMsgStatus(msgId, status, errorDesc, &__ctx); - } - -private: - - ::Ice::Int DBUpdateSmsMsgStatus(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateSmsMsgStatus2(const ::std::string& transId, ::Ice::Int status, const ::std::string& errorDesc) - { - return DBUpdateSmsMsgStatus2(transId, status, errorDesc, 0); - } - ::Ice::Int DBUpdateSmsMsgStatus2(const ::std::string& transId, ::Ice::Int status, const ::std::string& errorDesc, const ::Ice::Context& __ctx) - { - return DBUpdateSmsMsgStatus2(transId, status, errorDesc, &__ctx); - } - -private: - - ::Ice::Int DBUpdateSmsMsgStatus2(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsMailing(const ::std::string& userId, ::Ice::Int& flag, ::std::string& address) - { - return DBGetSmsMailing(userId, flag, address, 0); - } - ::Ice::Int DBGetSmsMailing(const ::std::string& userId, ::Ice::Int& flag, ::std::string& address, const ::Ice::Context& __ctx) - { - return DBGetSmsMailing(userId, flag, address, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsMailing(const ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateSmsMailing(const ::std::string& userId, ::Ice::Int flag, const ::std::string& address) - { - return DBUpdateSmsMailing(userId, flag, address, 0); - } - ::Ice::Int DBUpdateSmsMailing(const ::std::string& userId, ::Ice::Int flag, const ::std::string& address, const ::Ice::Context& __ctx) - { - return DBUpdateSmsMailing(userId, flag, address, &__ctx); - } - -private: - - ::Ice::Int DBUpdateSmsMailing(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsDiscount(const ::std::string& userId, ::Ice::Float& discount) - { - return DBGetSmsDiscount(userId, discount, 0); - } - ::Ice::Int DBGetSmsDiscount(const ::std::string& userId, ::Ice::Float& discount, const ::Ice::Context& __ctx) - { - return DBGetSmsDiscount(userId, discount, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsDiscount(const ::std::string&, ::Ice::Float&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsNeedChargeRecord(::Ice::Int inmins, ::Ice::Int type, ::std::string& seqid, ::std::string& account, ::std::string& passwd, ::Ice::Int& denomination, ::std::string& uid, ::Ice::Int& trytime, ::std::string& payId) - { - return DBGetSmsNeedChargeRecord(inmins, type, seqid, account, passwd, denomination, uid, trytime, payId, 0); - } - ::Ice::Int DBGetSmsNeedChargeRecord(::Ice::Int inmins, ::Ice::Int type, ::std::string& seqid, ::std::string& account, ::std::string& passwd, ::Ice::Int& denomination, ::std::string& uid, ::Ice::Int& trytime, ::std::string& payId, const ::Ice::Context& __ctx) - { - return DBGetSmsNeedChargeRecord(inmins, type, seqid, account, passwd, denomination, uid, trytime, payId, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsNeedChargeRecord(::Ice::Int, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsChargeRecordInfo(const ::std::string& seqid, ::std::string& account, ::std::string& passwd, ::Ice::Int& denomination, ::std::string& uid, ::Ice::Int& status) - { - return DBGetSmsChargeRecordInfo(seqid, account, passwd, denomination, uid, status, 0); - } - ::Ice::Int DBGetSmsChargeRecordInfo(const ::std::string& seqid, ::std::string& account, ::std::string& passwd, ::Ice::Int& denomination, ::std::string& uid, ::Ice::Int& status, const ::Ice::Context& __ctx) - { - return DBGetSmsChargeRecordInfo(seqid, account, passwd, denomination, uid, status, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsChargeRecordInfo(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsChargeRecords(const ::std::string& uid, const ::std::string& beginTime, const ::std::string& endTime, ::ALiIMDBSms::SChargeInfoSeq& chargeRecordList) - { - return DBGetSmsChargeRecords(uid, beginTime, endTime, chargeRecordList, 0); - } - ::Ice::Int DBGetSmsChargeRecords(const ::std::string& uid, const ::std::string& beginTime, const ::std::string& endTime, ::ALiIMDBSms::SChargeInfoSeq& chargeRecordList, const ::Ice::Context& __ctx) - { - return DBGetSmsChargeRecords(uid, beginTime, endTime, chargeRecordList, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsChargeRecords(const ::std::string&, const ::std::string&, const ::std::string&, ::ALiIMDBSms::SChargeInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddSmsChargeRecord(const ::std::string& userId, ::Ice::Int type, const ::std::string& account, const ::std::string& password, ::Ice::Int denomination, ::Ice::Int money, const ::std::string& payId, ::std::string& chargeId) - { - return DBAddSmsChargeRecord(userId, type, account, password, denomination, money, payId, chargeId, 0); - } - ::Ice::Int DBAddSmsChargeRecord(const ::std::string& userId, ::Ice::Int type, const ::std::string& account, const ::std::string& password, ::Ice::Int denomination, ::Ice::Int money, const ::std::string& payId, ::std::string& chargeId, const ::Ice::Context& __ctx) - { - return DBAddSmsChargeRecord(userId, type, account, password, denomination, money, payId, chargeId, &__ctx); - } - -private: - - ::Ice::Int DBAddSmsChargeRecord(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateSmsChargeRecordStatus(const ::std::string& seqId, ::Ice::Int status, const ::std::string& desc) - { - return DBUpdateSmsChargeRecordStatus(seqId, status, desc, 0); - } - ::Ice::Int DBUpdateSmsChargeRecordStatus(const ::std::string& seqId, ::Ice::Int status, const ::std::string& desc, const ::Ice::Context& __ctx) - { - return DBUpdateSmsChargeRecordStatus(seqId, status, desc, &__ctx); - } - -private: - - ::Ice::Int DBUpdateSmsChargeRecordStatus(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsBlacks(const ::std::string& mobileNo, ::Ice::StringSeq& blackNoList) - { - return DBGetSmsBlacks(mobileNo, blackNoList, 0); - } - ::Ice::Int DBGetSmsBlacks(const ::std::string& mobileNo, ::Ice::StringSeq& blackNoList, const ::Ice::Context& __ctx) - { - return DBGetSmsBlacks(mobileNo, blackNoList, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsBlacks(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddSmsBlack(const ::std::string& mobileNo, const ::std::string& blackNo) - { - return DBAddSmsBlack(mobileNo, blackNo, 0); - } - ::Ice::Int DBAddSmsBlack(const ::std::string& mobileNo, const ::std::string& blackNo, const ::Ice::Context& __ctx) - { - return DBAddSmsBlack(mobileNo, blackNo, &__ctx); - } - -private: - - ::Ice::Int DBAddSmsBlack(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBCheckSmsBlack(const ::std::string& fromMobile, const ::std::string& toMobile, ::Ice::Int& blackFlag) - { - return DBCheckSmsBlack(fromMobile, toMobile, blackFlag, 0); - } - ::Ice::Int DBCheckSmsBlack(const ::std::string& fromMobile, const ::std::string& toMobile, ::Ice::Int& blackFlag, const ::Ice::Context& __ctx) - { - return DBCheckSmsBlack(fromMobile, toMobile, blackFlag, &__ctx); - } - -private: - - ::Ice::Int DBCheckSmsBlack(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBDelSmsBlack(const ::std::string& mobileNo, const ::std::string& blackNo, const ::std::string& userId) - { - return DBDelSmsBlack(mobileNo, blackNo, userId, 0); - } - ::Ice::Int DBDelSmsBlack(const ::std::string& mobileNo, const ::std::string& blackNo, const ::std::string& userId, const ::Ice::Context& __ctx) - { - return DBDelSmsBlack(mobileNo, blackNo, userId, &__ctx); - } - -private: - - ::Ice::Int DBDelSmsBlack(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetRemindTime(const ::std::string& mobileNo, ::std::string& remindTime) - { - return DBGetRemindTime(mobileNo, remindTime, 0); - } - ::Ice::Int DBGetRemindTime(const ::std::string& mobileNo, ::std::string& remindTime, const ::Ice::Context& __ctx) - { - return DBGetRemindTime(mobileNo, remindTime, &__ctx); - } - -private: - - ::Ice::Int DBGetRemindTime(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateRemindTime(const ::std::string& mobileNo, const ::std::string& remindTime) - { - return DBUpdateRemindTime(mobileNo, remindTime, 0); - } - ::Ice::Int DBUpdateRemindTime(const ::std::string& mobileNo, const ::std::string& remindTime, const ::Ice::Context& __ctx) - { - return DBUpdateRemindTime(mobileNo, remindTime, &__ctx); - } - -private: - - ::Ice::Int DBUpdateRemindTime(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetAllMsgRevUser(::ALiIMDBSms::SSmsRevUserSeq& smsRevUserList) - { - return DBGetAllMsgRevUser(smsRevUserList, 0); - } - ::Ice::Int DBGetAllMsgRevUser(::ALiIMDBSms::SSmsRevUserSeq& smsRevUserList, const ::Ice::Context& __ctx) - { - return DBGetAllMsgRevUser(smsRevUserList, &__ctx); - } - -private: - - ::Ice::Int DBGetAllMsgRevUser(::ALiIMDBSms::SSmsRevUserSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsTempUsers(::ALiIMDBSms::SSmsTempUserSeq& smsTempUserList) - { - return DBGetSmsTempUsers(smsTempUserList, 0); - } - ::Ice::Int DBGetSmsTempUsers(::ALiIMDBSms::SSmsTempUserSeq& smsTempUserList, const ::Ice::Context& __ctx) - { - return DBGetSmsTempUsers(smsTempUserList, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsTempUsers(::ALiIMDBSms::SSmsTempUserSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddSmsTempUser(const ::ALiIMDBSms::SSmsTempUser& smsTempUser) - { - return DBAddSmsTempUser(smsTempUser, 0); - } - ::Ice::Int DBAddSmsTempUser(const ::ALiIMDBSms::SSmsTempUser& smsTempUser, const ::Ice::Context& __ctx) - { - return DBAddSmsTempUser(smsTempUser, &__ctx); - } - -private: - - ::Ice::Int DBAddSmsTempUser(const ::ALiIMDBSms::SSmsTempUser&, const ::Ice::Context*); - -public: - - ::Ice::Int DBDelSmsTempUser(const ::std::string& account) - { - return DBDelSmsTempUser(account, 0); - } - ::Ice::Int DBDelSmsTempUser(const ::std::string& account, const ::Ice::Context& __ctx) - { - return DBDelSmsTempUser(account, &__ctx); - } - -private: - - ::Ice::Int DBDelSmsTempUser(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetUserBaseInfo(const ::std::string& userId, ::ALiIMDBSms::SUserBaseInfo& userInfo) - { - return DBGetUserBaseInfo(userId, userInfo, 0); - } - ::Ice::Int DBGetUserBaseInfo(const ::std::string& userId, ::ALiIMDBSms::SUserBaseInfo& userInfo, const ::Ice::Context& __ctx) - { - return DBGetUserBaseInfo(userId, userInfo, &__ctx); - } - -private: - - ::Ice::Int DBGetUserBaseInfo(const ::std::string&, ::ALiIMDBSms::SUserBaseInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetSmsUserBalance(const ::std::string& userId, ::ALiIMDBSms::SSmsUserBalance& balanceInfo) - { - return DBGetSmsUserBalance(userId, balanceInfo, 0); - } - ::Ice::Int DBGetSmsUserBalance(const ::std::string& userId, ::ALiIMDBSms::SSmsUserBalance& balanceInfo, const ::Ice::Context& __ctx) - { - return DBGetSmsUserBalance(userId, balanceInfo, &__ctx); - } - -private: - - ::Ice::Int DBGetSmsUserBalance(const ::std::string&, ::ALiIMDBSms::SSmsUserBalance&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdatePresentRemindFlag(const ::std::string& userId, ::Ice::Int flag) - { - return DBUpdatePresentRemindFlag(userId, flag, 0); - } - ::Ice::Int DBUpdatePresentRemindFlag(const ::std::string& userId, ::Ice::Int flag, const ::Ice::Context& __ctx) - { - return DBUpdatePresentRemindFlag(userId, flag, &__ctx); - } - -private: - - ::Ice::Int DBUpdatePresentRemindFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBFeedBack(const ::std::string& beginTime, const ::std::string& endTime, ::Ice::Int& feeNum, ::Ice::Int& presentNum) - { - return DBFeedBack(beginTime, endTime, feeNum, presentNum, 0); - } - ::Ice::Int DBFeedBack(const ::std::string& beginTime, const ::std::string& endTime, ::Ice::Int& feeNum, ::Ice::Int& presentNum, const ::Ice::Context& __ctx) - { - return DBFeedBack(beginTime, endTime, feeNum, presentNum, &__ctx); - } - -private: - - ::Ice::Int DBFeedBack(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace ALiIMDBSms -{ - -class SmsDBProxyMgr : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int DBAddValidate(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetValidateInfoWithUpdate(const ::std::string&, ::Ice::Int, ::Ice::Int, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBRemoveValidate(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateValidateMobile(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddSmsUser(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBBindMobile(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsUserInfoByUid(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsUserInfoByAccount(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsUserInfoByMobile(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsUserMsgInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddSmsFunctionLog(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBSetMobileOnlineFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBSetMobileBindFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBSetMessageRevFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBSetSmsRebind(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddSmsMessage(const ::ALiIMDBSms::SSmsMsgInfo&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsMessage(const ::std::string&, ::ALiIMDBSms::SSmsMsgInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsMessage2(const ::std::string&, ::ALiIMDBSms::SSmsMsgInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateSmsMsgStatus(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateSmsMsgStatus2(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsMailing(const ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateSmsMailing(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsDiscount(const ::std::string&, ::Ice::Float&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsNeedChargeRecord(::Ice::Int, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsChargeRecordInfo(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsChargeRecords(const ::std::string&, const ::std::string&, const ::std::string&, ::ALiIMDBSms::SChargeInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddSmsChargeRecord(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateSmsChargeRecordStatus(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsBlacks(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddSmsBlack(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBCheckSmsBlack(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBDelSmsBlack(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetRemindTime(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateRemindTime(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetAllMsgRevUser(::ALiIMDBSms::SSmsRevUserSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsTempUsers(::ALiIMDBSms::SSmsTempUserSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddSmsTempUser(const ::ALiIMDBSms::SSmsTempUser&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBDelSmsTempUser(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetUserBaseInfo(const ::std::string&, ::ALiIMDBSms::SUserBaseInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetSmsUserBalance(const ::std::string&, ::ALiIMDBSms::SSmsUserBalance&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdatePresentRemindFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBFeedBack(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace ALiIMDBSms -{ - -class SmsDBProxyMgr : virtual public ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int DBAddValidate(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetValidateInfoWithUpdate(const ::std::string&, ::Ice::Int, ::Ice::Int, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBRemoveValidate(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateValidateMobile(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddSmsUser(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBBindMobile(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsUserInfoByUid(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsUserInfoByAccount(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsUserInfoByMobile(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsUserMsgInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddSmsFunctionLog(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBSetMobileOnlineFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBSetMobileBindFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBSetMessageRevFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBSetSmsRebind(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddSmsMessage(const ::ALiIMDBSms::SSmsMsgInfo&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsMessage(const ::std::string&, ::ALiIMDBSms::SSmsMsgInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsMessage2(const ::std::string&, ::ALiIMDBSms::SSmsMsgInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateSmsMsgStatus(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateSmsMsgStatus2(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsMailing(const ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateSmsMailing(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsDiscount(const ::std::string&, ::Ice::Float&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsNeedChargeRecord(::Ice::Int, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsChargeRecordInfo(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsChargeRecords(const ::std::string&, const ::std::string&, const ::std::string&, ::ALiIMDBSms::SChargeInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddSmsChargeRecord(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateSmsChargeRecordStatus(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsBlacks(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddSmsBlack(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBCheckSmsBlack(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelSmsBlack(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetRemindTime(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateRemindTime(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetAllMsgRevUser(::ALiIMDBSms::SSmsRevUserSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsTempUsers(::ALiIMDBSms::SSmsTempUserSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddSmsTempUser(const ::ALiIMDBSms::SSmsTempUser&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelSmsTempUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserBaseInfo(const ::std::string&, ::ALiIMDBSms::SUserBaseInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsUserBalance(const ::std::string&, ::ALiIMDBSms::SSmsUserBalance&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdatePresentRemindFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBFeedBack(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace ALiIMDBSms -{ - -class SmsDBProxyMgr : virtual public ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int DBAddValidate(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetValidateInfoWithUpdate(const ::std::string&, ::Ice::Int, ::Ice::Int, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBRemoveValidate(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateValidateMobile(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddSmsUser(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBBindMobile(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsUserInfoByUid(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsUserInfoByAccount(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsUserInfoByMobile(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsUserMsgInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddSmsFunctionLog(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBSetMobileOnlineFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBSetMobileBindFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBSetMessageRevFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBSetSmsRebind(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddSmsMessage(const ::ALiIMDBSms::SSmsMsgInfo&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsMessage(const ::std::string&, ::ALiIMDBSms::SSmsMsgInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsMessage2(const ::std::string&, ::ALiIMDBSms::SSmsMsgInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateSmsMsgStatus(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateSmsMsgStatus2(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsMailing(const ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateSmsMailing(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsDiscount(const ::std::string&, ::Ice::Float&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsNeedChargeRecord(::Ice::Int, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsChargeRecordInfo(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsChargeRecords(const ::std::string&, const ::std::string&, const ::std::string&, ::ALiIMDBSms::SChargeInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddSmsChargeRecord(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateSmsChargeRecordStatus(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsBlacks(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddSmsBlack(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBCheckSmsBlack(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelSmsBlack(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetRemindTime(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateRemindTime(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetAllMsgRevUser(::ALiIMDBSms::SSmsRevUserSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsTempUsers(::ALiIMDBSms::SSmsTempUserSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddSmsTempUser(const ::ALiIMDBSms::SSmsTempUser&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelSmsTempUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserBaseInfo(const ::std::string&, ::ALiIMDBSms::SUserBaseInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetSmsUserBalance(const ::std::string&, ::ALiIMDBSms::SSmsUserBalance&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdatePresentRemindFlag(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBFeedBack(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); -}; - -} - -} - -namespace ALiIMDBSms -{ - -class SmsDBProxyMgr : virtual public ::Ice::Object -{ -public: - - typedef SmsDBProxyMgrPrx ProxyType; - typedef SmsDBProxyMgrPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int DBAddValidate(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddValidate(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetValidateInfoWithUpdate(const ::std::string&, ::Ice::Int, ::Ice::Int, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetValidateInfoWithUpdate(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBRemoveValidate(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBRemoveValidate(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateValidateMobile(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateValidateMobile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddSmsUser(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddSmsUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBBindMobile(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBBindMobile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsUserInfoByUid(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsUserInfoByUid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsUserInfoByAccount(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsUserInfoByAccount(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsUserInfoByMobile(const ::std::string&, ::ALiIMDBSms::SSmsUserInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsUserInfoByMobile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsUserMsgInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsUserMsgInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddSmsFunctionLog(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddSmsFunctionLog(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBSetMobileOnlineFlag(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBSetMobileOnlineFlag(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBSetMobileBindFlag(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBSetMobileBindFlag(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBSetMessageRevFlag(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBSetMessageRevFlag(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBSetSmsRebind(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBSetSmsRebind(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddSmsMessage(const ::ALiIMDBSms::SSmsMsgInfo&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddSmsMessage(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsMessage(const ::std::string&, ::ALiIMDBSms::SSmsMsgInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsMessage(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsMessage2(const ::std::string&, ::ALiIMDBSms::SSmsMsgInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsMessage2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateSmsMsgStatus(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateSmsMsgStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateSmsMsgStatus2(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateSmsMsgStatus2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsMailing(const ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsMailing(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateSmsMailing(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateSmsMailing(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsDiscount(const ::std::string&, ::Ice::Float&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsDiscount(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsNeedChargeRecord(::Ice::Int, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsNeedChargeRecord(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsChargeRecordInfo(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsChargeRecordInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsChargeRecords(const ::std::string&, const ::std::string&, const ::std::string&, ::ALiIMDBSms::SChargeInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsChargeRecords(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddSmsChargeRecord(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddSmsChargeRecord(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateSmsChargeRecordStatus(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateSmsChargeRecordStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsBlacks(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsBlacks(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddSmsBlack(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddSmsBlack(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBCheckSmsBlack(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBCheckSmsBlack(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBDelSmsBlack(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBDelSmsBlack(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetRemindTime(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetRemindTime(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateRemindTime(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateRemindTime(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetAllMsgRevUser(::ALiIMDBSms::SSmsRevUserSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetAllMsgRevUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsTempUsers(::ALiIMDBSms::SSmsTempUserSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsTempUsers(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddSmsTempUser(const ::ALiIMDBSms::SSmsTempUser&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddSmsTempUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBDelSmsTempUser(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBDelSmsTempUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetUserBaseInfo(const ::std::string&, ::ALiIMDBSms::SUserBaseInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetUserBaseInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetSmsUserBalance(const ::std::string&, ::ALiIMDBSms::SSmsUserBalance&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetSmsUserBalance(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdatePresentRemindFlag(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdatePresentRemindFlag(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBFeedBack(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBFeedBack(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__SmsDBProxyMgrPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/dbsmsstructs.h b/features/aliww/include/dbsmsstructs.h deleted file mode 100644 index 9cc0585..0000000 --- a/features/aliww/include/dbsmsstructs.h +++ /dev/null @@ -1,257 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbsmsstructs.ice' - -#ifndef __dbsmsstructs_h__ -#define __dbsmsstructs_h__ - -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace ALiIMDBSms -{ - -struct SSmsUserInfo -{ - ::std::string userId; - ::Ice::Int bindFlag; - ::Ice::Int mobileOnlineFlag; - ::Ice::Int revFlag; - ::std::string account; - ::std::string password; - ::std::string mobileNo; - ::Ice::Int balance; - - bool operator==(const SSmsUserInfo&) const; - bool operator!=(const SSmsUserInfo&) const; - bool operator<(const SSmsUserInfo&) const; - bool operator<=(const SSmsUserInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SSmsUserInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SSmsUserInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SSmsMsgInfo -{ - ::std::string msgId; - ::Ice::Int inoutType; - ::Ice::Int infoType; - ::Ice::Int payType; - ::std::string fromId; - ::std::string fromMobile; - ::std::string toId; - ::std::string toMobile; - ::std::string content; - ::Ice::Int status; - ::std::string errorDesc; - ::std::string transId; - ::std::string sendTime; - - bool operator==(const SSmsMsgInfo&) const; - bool operator!=(const SSmsMsgInfo&) const; - bool operator<(const SSmsMsgInfo&) const; - bool operator<=(const SSmsMsgInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SSmsMsgInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SSmsMsgInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SChargeInfo -{ - ::std::string chargeSeqId; - ::std::string paySeqId; - ::std::string chargeBeginTime; - ::Ice::Int denomination; - ::Ice::Int payRealMoney; - ::Ice::Int chargeStatus; - ::Ice::Int payStatus; - - bool operator==(const SChargeInfo&) const; - bool operator!=(const SChargeInfo&) const; - bool operator<(const SChargeInfo&) const; - bool operator<=(const SChargeInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SChargeInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SChargeInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SSmsTempUser -{ - ::std::string account; - ::std::string password; - ::std::string userId; - ::std::string addTime; - - bool operator==(const SSmsTempUser&) const; - bool operator!=(const SSmsTempUser&) const; - bool operator<(const SSmsTempUser&) const; - bool operator<=(const SSmsTempUser& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SSmsTempUser& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SSmsTempUser& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SUserBaseInfo -{ - ::std::string userId; - ::std::string userName; - ::std::string email; - ::std::string company; - ::std::string jobtitle; - ::std::string address; - - bool operator==(const SUserBaseInfo&) const; - bool operator!=(const SUserBaseInfo&) const; - bool operator<(const SUserBaseInfo&) const; - bool operator<=(const SUserBaseInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SUserBaseInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SUserBaseInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SSmsUserBalance -{ - ::std::string userId; - ::Ice::Int balance; - ::Ice::Int presentBalance; - ::std::string presentExpireTime; - ::Ice::Int presentRemindFlag; - - bool operator==(const SSmsUserBalance&) const; - bool operator!=(const SSmsUserBalance&) const; - bool operator<(const SSmsUserBalance&) const; - bool operator<=(const SSmsUserBalance& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SSmsUserBalance& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SSmsUserBalance& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::ALiIMDBSms::SSmsUserInfo> SSmsUserInfoSeq; - -class __U__SSmsUserInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBSms::SSmsUserInfo*, const ::ALiIMDBSms::SSmsUserInfo*, __U__SSmsUserInfoSeq); -void __read(::IceInternal::BasicStream*, SSmsUserInfoSeq&, __U__SSmsUserInfoSeq); - -typedef ::std::vector< ::ALiIMDBSms::SSmsMsgInfo> SSmsMsgInfoSeq; - -class __U__SSmsMsgInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBSms::SSmsMsgInfo*, const ::ALiIMDBSms::SSmsMsgInfo*, __U__SSmsMsgInfoSeq); -void __read(::IceInternal::BasicStream*, SSmsMsgInfoSeq&, __U__SSmsMsgInfoSeq); - -typedef ::std::vector< ::ALiIMDBSms::SChargeInfo> SChargeInfoSeq; - -class __U__SChargeInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBSms::SChargeInfo*, const ::ALiIMDBSms::SChargeInfo*, __U__SChargeInfoSeq); -void __read(::IceInternal::BasicStream*, SChargeInfoSeq&, __U__SChargeInfoSeq); - -typedef ::std::vector< ::ALiIMDBSms::SSmsTempUser> SSmsTempUserSeq; - -class __U__SSmsTempUserSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBSms::SSmsTempUser*, const ::ALiIMDBSms::SSmsTempUser*, __U__SSmsTempUserSeq); -void __read(::IceInternal::BasicStream*, SSmsTempUserSeq&, __U__SSmsTempUserSeq); - -typedef ::std::vector< ::ALiIMDBSms::SSmsUserBalance> SSmsUserBalanceSeq; - -class __U__SSmsUserBalanceSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBSms::SSmsUserBalance*, const ::ALiIMDBSms::SSmsUserBalance*, __U__SSmsUserBalanceSeq); -void __read(::IceInternal::BasicStream*, SSmsUserBalanceSeq&, __U__SSmsUserBalanceSeq); - -typedef ::std::vector< ::std::string> SSmsRevUserSeq; - -class __U__SSmsRevUserSeq { }; - -} - -#endif diff --git a/features/aliww/include/dbspacedatadefine.h b/features/aliww/include/dbspacedatadefine.h deleted file mode 100644 index b3b7096..0000000 --- a/features/aliww/include/dbspacedatadefine.h +++ /dev/null @@ -1,112 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbspacedatadefine.ice' - -#ifndef __dbspacedatadefine_h__ -#define __dbspacedatadefine_h__ - -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace spaceContact -{ - -struct SICESpaceContactInfo -{ - ::std::string contactId; - ::Ice::Int groupId; - ::std::string nickName; - ::Ice::Int status; - ::std::string spaceCreateTime; - ::std::string cid; - ::Ice::Short spacecnttype; - ::std::string modseqid; - - bool operator==(const SICESpaceContactInfo&) const; - bool operator!=(const SICESpaceContactInfo&) const; - bool operator<(const SICESpaceContactInfo&) const; - bool operator<=(const SICESpaceContactInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICESpaceContactInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICESpaceContactInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICESpaceGroupInfo -{ - ::Ice::Long groupId; - ::Ice::Long parentId; - ::std::string groupName; - ::Ice::Int cntNum; - - bool operator==(const SICESpaceGroupInfo&) const; - bool operator!=(const SICESpaceGroupInfo&) const; - bool operator<(const SICESpaceGroupInfo&) const; - bool operator<=(const SICESpaceGroupInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICESpaceGroupInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICESpaceGroupInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::spaceContact::SICESpaceGroupInfo> SICESpaceGroupInfoSeq; - -class __U__SICESpaceGroupInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::spaceContact::SICESpaceGroupInfo*, const ::spaceContact::SICESpaceGroupInfo*, __U__SICESpaceGroupInfoSeq); -void __read(::IceInternal::BasicStream*, SICESpaceGroupInfoSeq&, __U__SICESpaceGroupInfoSeq); - -typedef ::std::vector< ::spaceContact::SICESpaceContactInfo> SICESpaceContactInfoSeq; - -class __U__SICESpaceContactInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::spaceContact::SICESpaceContactInfo*, const ::spaceContact::SICESpaceContactInfo*, __U__SICESpaceContactInfoSeq); -void __read(::IceInternal::BasicStream*, SICESpaceContactInfoSeq&, __U__SICESpaceContactInfoSeq); - -} - -#endif diff --git a/features/aliww/include/dbss_v5_pack.h b/features/aliww/include/dbss_v5_pack.h deleted file mode 100644 index f342b65..0000000 --- a/features/aliww/include/dbss_v5_pack.h +++ /dev/null @@ -1,100 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: dbss_v5_pack.h -// Date: 2011-01-30 12:50:05 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __DBSS_V5_PACK_H__ -#define __DBSS_V5_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "ss_v5_head.h" - -using namespace std; - -#ifndef UID_LENGTH -#define UID_LENGTH 64 -#endif - -enum DBSS_V5_CMD -{ - SS_REQ_SMS_REVIMMSG = 0x858, -}; - -class CSsReqSmsRevimmsg : public CPackData -{ -public: - enum - { - CMD_ID = SS_REQ_SMS_REVIMMSG - }; - CSsReqSmsRevimmsg() - { - } - - ~CSsReqSmsRevimmsg() { } - CSsReqSmsRevimmsg(const string& strFromId, const string& strToId, const string& strMessage) - { - m_fromId = strFromId; - m_toId = strToId; - m_message = strMessage; - } - CSsReqSmsRevimmsg& operator=( const CSsReqSmsRevimmsg& cSsReqSmsRevimmsg ) - { - m_fromId = cSsReqSmsRevimmsg.m_fromId; - m_toId = cSsReqSmsRevimmsg.m_toId; - m_message = cSsReqSmsRevimmsg.m_message; - return *this; - } - - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const string& GetToId () const { return m_toId; } - bool SetToId ( const string& strToId ) - { - if(strToId.size() > 64) - return false; - m_toId = strToId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_fromId; - string m_toId; - string m_message; - -public: - CSsV5Head m_ssV5Head; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsReqSmsRevimmsg::Size() const -{ - uint32_t nSize = 12; - nSize += m_fromId.length(); - nSize += m_toId.length(); - nSize += m_message.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/dbtbsservice60.h b/features/aliww/include/dbtbsservice60.h deleted file mode 100644 index 22d7f44..0000000 --- a/features/aliww/include/dbtbsservice60.h +++ /dev/null @@ -1,1837 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbtbsservice60.ice' - -#ifndef __dbtbsservice60_h__ -#define __dbtbsservice60_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace ALiIMDBTribe -{ - -class TribeDBProxyMgr; -bool operator==(const TribeDBProxyMgr&, const TribeDBProxyMgr&); -bool operator!=(const TribeDBProxyMgr&, const TribeDBProxyMgr&); -bool operator<(const TribeDBProxyMgr&, const TribeDBProxyMgr&); -bool operator<=(const TribeDBProxyMgr&, const TribeDBProxyMgr&); -bool operator>(const TribeDBProxyMgr&, const TribeDBProxyMgr&); -bool operator>=(const TribeDBProxyMgr&, const TribeDBProxyMgr&); - -} - -} - -namespace ALiIMDBTribe -{ - -class TribeDBProxyMgr; -bool operator==(const TribeDBProxyMgr&, const TribeDBProxyMgr&); -bool operator!=(const TribeDBProxyMgr&, const TribeDBProxyMgr&); -bool operator<(const TribeDBProxyMgr&, const TribeDBProxyMgr&); -bool operator<=(const TribeDBProxyMgr&, const TribeDBProxyMgr&); -bool operator>(const TribeDBProxyMgr&, const TribeDBProxyMgr&); -bool operator>=(const TribeDBProxyMgr&, const TribeDBProxyMgr&); - -} - -namespace IceInternal -{ - -void incRef(::ALiIMDBTribe::TribeDBProxyMgr*); -void decRef(::ALiIMDBTribe::TribeDBProxyMgr*); - -void incRef(::IceProxy::ALiIMDBTribe::TribeDBProxyMgr*); -void decRef(::IceProxy::ALiIMDBTribe::TribeDBProxyMgr*); - -} - -namespace ALiIMDBTribe -{ - -typedef ::IceInternal::Handle< ::ALiIMDBTribe::TribeDBProxyMgr> TribeDBProxyMgrPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr> TribeDBProxyMgrPrx; - -void __write(::IceInternal::BasicStream*, const TribeDBProxyMgrPrx&); -void __read(::IceInternal::BasicStream*, TribeDBProxyMgrPrx&); -void __write(::IceInternal::BasicStream*, const TribeDBProxyMgrPtr&); -void __patch__TribeDBProxyMgrPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const TribeDBProxyMgrPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const TribeDBProxyMgrPtr&); -void __decRefUnsafe(const TribeDBProxyMgrPtr&); -void __clearHandleUnsafe(TribeDBProxyMgrPtr&); - -} - -namespace ALiIMDBTribe -{ - -} - -namespace IceProxy -{ - -namespace ALiIMDBTribe -{ - -class TribeDBProxyMgr : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int DBStartTribe(const ::ALiIMDBTribe::STribeInfo& tribeInfo) - { - return DBStartTribe(tribeInfo, 0); - } - ::Ice::Int DBStartTribe(const ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context& __ctx) - { - return DBStartTribe(tribeInfo, &__ctx); - } - -private: - - ::Ice::Int DBStartTribe(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeInfo(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo& tribeInfo) - { - return DBGetTribeInfo(tribeId, tribeInfo, 0); - } - ::Ice::Int DBGetTribeInfo(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context& __ctx) - { - return DBGetTribeInfo(tribeId, tribeInfo, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeInfo(::Ice::Int, ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateTribeInfo(const ::ALiIMDBTribe::STribeInfo& tribeInfo) - { - return DBUpdateTribeInfo(tribeInfo, 0); - } - ::Ice::Int DBUpdateTribeInfo(const ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context& __ctx) - { - return DBUpdateTribeInfo(tribeInfo, &__ctx); - } - -private: - - ::Ice::Int DBUpdateTribeInfo(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateTribeMaster(::Ice::Int tribeId, const ::std::string& masterId) - { - return DBUpdateTribeMaster(tribeId, masterId, 0); - } - ::Ice::Int DBUpdateTribeMaster(::Ice::Int tribeId, const ::std::string& masterId, const ::Ice::Context& __ctx) - { - return DBUpdateTribeMaster(tribeId, masterId, &__ctx); - } - -private: - - ::Ice::Int DBUpdateTribeMaster(::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeActiveDegree(::Ice::Int tribeId, ::Ice::Int& onlineTimes, ::Ice::Double& onlineDegree, ::Ice::Int& discussDegree, ::Ice::Double& rewardDegree, ::Ice::Int& masterOffer, ::Ice::Double& totalDegree) - { - return DBGetTribeActiveDegree(tribeId, onlineTimes, onlineDegree, discussDegree, rewardDegree, masterOffer, totalDegree, 0); - } - ::Ice::Int DBGetTribeActiveDegree(::Ice::Int tribeId, ::Ice::Int& onlineTimes, ::Ice::Double& onlineDegree, ::Ice::Int& discussDegree, ::Ice::Double& rewardDegree, ::Ice::Int& masterOffer, ::Ice::Double& totalDegree, const ::Ice::Context& __ctx) - { - return DBGetTribeActiveDegree(tribeId, onlineTimes, onlineDegree, discussDegree, rewardDegree, masterOffer, totalDegree, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeActiveDegree(::Ice::Int, ::Ice::Int&, ::Ice::Double&, ::Ice::Int&, ::Ice::Double&, ::Ice::Int&, ::Ice::Double&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateTribeActDegree(::Ice::Int tribeId, ::Ice::Double onlineDegree, ::Ice::Int discussDegree, ::Ice::Double rewardDegree, ::Ice::Double totalDegree) - { - return DBUpdateTribeActDegree(tribeId, onlineDegree, discussDegree, rewardDegree, totalDegree, 0); - } - ::Ice::Int DBUpdateTribeActDegree(::Ice::Int tribeId, ::Ice::Double onlineDegree, ::Ice::Int discussDegree, ::Ice::Double rewardDegree, ::Ice::Double totalDegree, const ::Ice::Context& __ctx) - { - return DBUpdateTribeActDegree(tribeId, onlineDegree, discussDegree, rewardDegree, totalDegree, &__ctx); - } - -private: - - ::Ice::Int DBUpdateTribeActDegree(::Ice::Int, ::Ice::Double, ::Ice::Int, ::Ice::Double, ::Ice::Double, const ::Ice::Context*); - -public: - - ::Ice::Int DBDeleteTribe(::Ice::Int tribeId) - { - return DBDeleteTribe(tribeId, 0); - } - ::Ice::Int DBDeleteTribe(::Ice::Int tribeId, const ::Ice::Context& __ctx) - { - return DBDeleteTribe(tribeId, &__ctx); - } - -private: - - ::Ice::Int DBDeleteTribe(::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetAddedTribeNum(const ::std::string& userId, ::Ice::Int& tribeNum) - { - return DBGetAddedTribeNum(userId, tribeNum, 0); - } - ::Ice::Int DBGetAddedTribeNum(const ::std::string& userId, ::Ice::Int& tribeNum, const ::Ice::Context& __ctx) - { - return DBGetAddedTribeNum(userId, tribeNum, &__ctx); - } - -private: - - ::Ice::Int DBGetAddedTribeNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBCheckAddedTribeFull(const ::std::string& userId) - { - return DBCheckAddedTribeFull(userId, 0); - } - ::Ice::Int DBCheckAddedTribeFull(const ::std::string& userId, const ::Ice::Context& __ctx) - { - return DBCheckAddedTribeFull(userId, &__ctx); - } - -private: - - ::Ice::Int DBCheckAddedTribeFull(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeMemberNum(::Ice::Int tribeId, ::Ice::Int level, ::Ice::Int& memberNum) - { - return DBGetTribeMemberNum(tribeId, level, memberNum, 0); - } - ::Ice::Int DBGetTribeMemberNum(::Ice::Int tribeId, ::Ice::Int level, ::Ice::Int& memberNum, const ::Ice::Context& __ctx) - { - return DBGetTribeMemberNum(tribeId, level, memberNum, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeMemberNum(::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, const ::std::string& operId, ::Ice::Long groupId, ::Ice::Int& blackStamp) - { - return DBAddTribeMember(tribeId, memberId, level, operId, groupId, blackStamp, 0); - } - ::Ice::Int DBAddTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, const ::std::string& operId, ::Ice::Long groupId, ::Ice::Int& blackStamp, const ::Ice::Context& __ctx) - { - return DBAddTribeMember(tribeId, memberId, level, operId, groupId, blackStamp, &__ctx); - } - -private: - - ::Ice::Int DBAddTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int TCAddTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Short openFlag) - { - return TCAddTribeMember(tribeId, memberId, level, openFlag, 0); - } - ::Ice::Int TCAddTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Short openFlag, const ::Ice::Context& __ctx) - { - return TCAddTribeMember(tribeId, memberId, level, openFlag, &__ctx); - } - -private: - - ::Ice::Int TCAddTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Short, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::ALiIMDBTribe::STribeMemberSeq& tribeMemberList) - { - return DBGetTribeMember(tribeId, memberId, level, tribeMemberList, 0); - } - ::Ice::Int DBGetTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::ALiIMDBTribe::STribeMemberSeq& tribeMemberList, const ::Ice::Context& __ctx) - { - return DBGetTribeMember(tribeId, memberId, level, tribeMemberList, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::ALiIMDBTribe::STribeMemberSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeMemberInfo(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeMemberInfoSeq& tribeMemberInfoList) - { - return DBGetTribeMemberInfo(tribeId, memberId, tribeMemberInfoList, 0); - } - ::Ice::Int DBGetTribeMemberInfo(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeMemberInfoSeq& tribeMemberInfoList, const ::Ice::Context& __ctx) - { - return DBGetTribeMemberInfo(tribeId, memberId, tribeMemberInfoList, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeMemberInfo(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeMemberInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeMemberInfo2(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeMemberInfoSeq2& tribeMemberInfoList) - { - return DBGetTribeMemberInfo2(tribeId, memberId, tribeMemberInfoList, 0); - } - ::Ice::Int DBGetTribeMemberInfo2(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeMemberInfoSeq2& tribeMemberInfoList, const ::Ice::Context& __ctx) - { - return DBGetTribeMemberInfo2(tribeId, memberId, tribeMemberInfoList, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeMemberInfo2(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeMemberInfoSeq2&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetUserTribe(const ::std::string& userId, ::ALiIMDBTribe::STribeIdSeq& tribeIdList) - { - return DBGetUserTribe(userId, tribeIdList, 0); - } - ::Ice::Int DBGetUserTribe(const ::std::string& userId, ::ALiIMDBTribe::STribeIdSeq& tribeIdList, const ::Ice::Context& __ctx) - { - return DBGetUserTribe(userId, tribeIdList, &__ctx); - } - -private: - - ::Ice::Int DBGetUserTribe(const ::std::string&, ::ALiIMDBTribe::STribeIdSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetUserTribe2(const ::std::string& userId, ::ALiIMDBTribe::STribeIdSeq2& tribeIdList) - { - return DBGetUserTribe2(userId, tribeIdList, 0); - } - ::Ice::Int DBGetUserTribe2(const ::std::string& userId, ::ALiIMDBTribe::STribeIdSeq2& tribeIdList, const ::Ice::Context& __ctx) - { - return DBGetUserTribe2(userId, tribeIdList, &__ctx); - } - -private: - - ::Ice::Int DBGetUserTribe2(const ::std::string&, ::ALiIMDBTribe::STribeIdSeq2&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateMemberLevel(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level) - { - return DBUpdateMemberLevel(tribeId, memberId, level, 0); - } - ::Ice::Int DBUpdateMemberLevel(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, const ::Ice::Context& __ctx) - { - return DBUpdateMemberLevel(tribeId, memberId, level, &__ctx); - } - -private: - - ::Ice::Int DBUpdateMemberLevel(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateLastMsgId(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int msgId) - { - return DBUpdateLastMsgId(tribeId, memberId, msgId, 0); - } - ::Ice::Int DBUpdateLastMsgId(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int msgId, const ::Ice::Context& __ctx) - { - return DBUpdateLastMsgId(tribeId, memberId, msgId, &__ctx); - } - -private: - - ::Ice::Int DBUpdateLastMsgId(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBDeleteMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Int& blackStamp) - { - return DBDeleteMember(tribeId, memberId, level, blackStamp, 0); - } - ::Ice::Int DBDeleteMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Int& blackStamp, const ::Ice::Context& __ctx) - { - return DBDeleteMember(tribeId, memberId, level, blackStamp, &__ctx); - } - -private: - - ::Ice::Int DBDeleteMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddTribeOfflineMsg(::Ice::Int tribeId, const ::std::string& fromId, ::Ice::Int type, const ::std::string& message, ::Ice::Int sendTime) - { - return DBAddTribeOfflineMsg(tribeId, fromId, type, message, sendTime, 0); - } - ::Ice::Int DBAddTribeOfflineMsg(::Ice::Int tribeId, const ::std::string& fromId, ::Ice::Int type, const ::std::string& message, ::Ice::Int sendTime, const ::Ice::Context& __ctx) - { - return DBAddTribeOfflineMsg(tribeId, fromId, type, message, sendTime, &__ctx); - } - -private: - - ::Ice::Int DBAddTribeOfflineMsg(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeOfflineMsg(::Ice::Int tribeId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList) - { - return DBGetTribeOfflineMsg(tribeId, offlineMsgList, 0); - } - ::Ice::Int DBGetTribeOfflineMsg(::Ice::Int tribeId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList, const ::Ice::Context& __ctx) - { - return DBGetTribeOfflineMsg(tribeId, offlineMsgList, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeOfflineMsg(::Ice::Int, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBDelTribeOfflineMsg(::Ice::Int tribeId) - { - return DBDelTribeOfflineMsg(tribeId, 0); - } - ::Ice::Int DBDelTribeOfflineMsg(::Ice::Int tribeId, const ::Ice::Context& __ctx) - { - return DBDelTribeOfflineMsg(tribeId, &__ctx); - } - -private: - - ::Ice::Int DBDelTribeOfflineMsg(::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& toId, ::Ice::Int type, const ::std::string& message, ::Ice::Int sendTime) - { - return DBAddTribeOffMngMsg(tribeId, toId, type, message, sendTime, 0); - } - ::Ice::Int DBAddTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& toId, ::Ice::Int type, const ::std::string& message, ::Ice::Int sendTime, const ::Ice::Context& __ctx) - { - return DBAddTribeOffMngMsg(tribeId, toId, type, message, sendTime, &__ctx); - } - -private: - - ::Ice::Int DBAddTribeOffMngMsg(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList) - { - return DBGetTribeOffMngMsg(tribeId, memberId, offlineMsgList, 0); - } - ::Ice::Int DBGetTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList, const ::Ice::Context& __ctx) - { - return DBGetTribeOffMngMsg(tribeId, memberId, offlineMsgList, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeOffMngMsg(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBDelTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId) - { - return DBDelTribeOffMngMsg(tribeId, memberId, 0); - } - ::Ice::Int DBDelTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context& __ctx) - { - return DBDelTribeOffMngMsg(tribeId, memberId, &__ctx); - } - -private: - - ::Ice::Int DBDelTribeOffMngMsg(::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetUserTribeConfig(const ::std::string& userId, ::Ice::Int& addVerify) - { - return DBGetUserTribeConfig(userId, addVerify, 0); - } - ::Ice::Int DBGetUserTribeConfig(const ::std::string& userId, ::Ice::Int& addVerify, const ::Ice::Context& __ctx) - { - return DBGetUserTribeConfig(userId, addVerify, &__ctx); - } - -private: - - ::Ice::Int DBGetUserTribeConfig(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateUserTribeConfig(const ::std::string& userId, ::Ice::Int addVerify) - { - return DBUpdateUserTribeConfig(userId, addVerify, 0); - } - ::Ice::Int DBUpdateUserTribeConfig(const ::std::string& userId, ::Ice::Int addVerify, const ::Ice::Context& __ctx) - { - return DBUpdateUserTribeConfig(userId, addVerify, &__ctx); - } - -private: - - ::Ice::Int DBUpdateUserTribeConfig(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateTribeCard(::Ice::Int tribeId, const ::std::string& memberId, const ::ALiIMDBTribe::STribeCard& tribeCard) - { - return DBUpdateTribeCard(tribeId, memberId, tribeCard, 0); - } - ::Ice::Int DBUpdateTribeCard(::Ice::Int tribeId, const ::std::string& memberId, const ::ALiIMDBTribe::STribeCard& tribeCard, const ::Ice::Context& __ctx) - { - return DBUpdateTribeCard(tribeId, memberId, tribeCard, &__ctx); - } - -private: - - ::Ice::Int DBUpdateTribeCard(::Ice::Int, const ::std::string&, const ::ALiIMDBTribe::STribeCard&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeCard(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeCard& tribeCard) - { - return DBGetTribeCard(tribeId, memberId, tribeCard, 0); - } - ::Ice::Int DBGetTribeCard(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeCard& tribeCard, const ::Ice::Context& __ctx) - { - return DBGetTribeCard(tribeId, memberId, tribeCard, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeCard(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeCard&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateMemberActDegree(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Double onlineActDegree, ::Ice::Int chatActDegree, ::Ice::Double rewardActDegree, ::Ice::Double totalActDegree, ::Ice::Int lastMsgid) - { - return DBUpdateMemberActDegree(tribeId, memberId, onlineActDegree, chatActDegree, rewardActDegree, totalActDegree, lastMsgid, 0); - } - ::Ice::Int DBUpdateMemberActDegree(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Double onlineActDegree, ::Ice::Int chatActDegree, ::Ice::Double rewardActDegree, ::Ice::Double totalActDegree, ::Ice::Int lastMsgid, const ::Ice::Context& __ctx) - { - return DBUpdateMemberActDegree(tribeId, memberId, onlineActDegree, chatActDegree, rewardActDegree, totalActDegree, lastMsgid, &__ctx); - } - -private: - - ::Ice::Int DBUpdateMemberActDegree(::Ice::Int, const ::std::string&, ::Ice::Double, ::Ice::Int, ::Ice::Double, ::Ice::Double, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeGroup(::Ice::Int tribeId, ::ALiIMDBTribe::STribeGroupSeq& tribeGroupList) - { - return DBGetTribeGroup(tribeId, tribeGroupList, 0); - } - ::Ice::Int DBGetTribeGroup(::Ice::Int tribeId, ::ALiIMDBTribe::STribeGroupSeq& tribeGroupList, const ::Ice::Context& __ctx) - { - return DBGetTribeGroup(tribeId, tribeGroupList, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeGroup(::Ice::Int, ::ALiIMDBTribe::STribeGroupSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddTribeGroup(::Ice::Int tribeId, const ::std::string& groupName, ::Ice::Long parentId, ::Ice::Long& groupId, ::Ice::Int& groupStamp) - { - return DBAddTribeGroup(tribeId, groupName, parentId, groupId, groupStamp, 0); - } - ::Ice::Int DBAddTribeGroup(::Ice::Int tribeId, const ::std::string& groupName, ::Ice::Long parentId, ::Ice::Long& groupId, ::Ice::Int& groupStamp, const ::Ice::Context& __ctx) - { - return DBAddTribeGroup(tribeId, groupName, parentId, groupId, groupStamp, &__ctx); - } - -private: - - ::Ice::Int DBAddTribeGroup(::Ice::Int, const ::std::string&, ::Ice::Long, ::Ice::Long&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateTribeGroup(::Ice::Int tribeId, ::Ice::Long groupId, const ::std::string& groupName, ::Ice::Int& groupStamp) - { - return DBUpdateTribeGroup(tribeId, groupId, groupName, groupStamp, 0); - } - ::Ice::Int DBUpdateTribeGroup(::Ice::Int tribeId, ::Ice::Long groupId, const ::std::string& groupName, ::Ice::Int& groupStamp, const ::Ice::Context& __ctx) - { - return DBUpdateTribeGroup(tribeId, groupId, groupName, groupStamp, &__ctx); - } - -private: - - ::Ice::Int DBUpdateTribeGroup(::Ice::Int, ::Ice::Long, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBDelTribeGroup(::Ice::Int tribeId, ::Ice::Long groupId, ::Ice::Int& groupStamp) - { - return DBDelTribeGroup(tribeId, groupId, groupStamp, 0); - } - ::Ice::Int DBDelTribeGroup(::Ice::Int tribeId, ::Ice::Long groupId, ::Ice::Int& groupStamp, const ::Ice::Context& __ctx) - { - return DBDelTribeGroup(tribeId, groupId, groupStamp, &__ctx); - } - -private: - - ::Ice::Int DBDelTribeGroup(::Ice::Int, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateUserGroup(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Long groupId) - { - return DBUpdateUserGroup(tribeId, memberId, groupId, 0); - } - ::Ice::Int DBUpdateUserGroup(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Long groupId, const ::Ice::Context& __ctx) - { - return DBUpdateUserGroup(tribeId, memberId, groupId, &__ctx); - } - -private: - - ::Ice::Int DBUpdateUserGroup(::Ice::Int, const ::std::string&, ::Ice::Long, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddStarMember(::Ice::Int tribeId, const ::std::string& memberId) - { - return DBAddStarMember(tribeId, memberId, 0); - } - ::Ice::Int DBAddStarMember(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context& __ctx) - { - return DBAddStarMember(tribeId, memberId, &__ctx); - } - -private: - - ::Ice::Int DBAddStarMember(::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBDelStarMember(::Ice::Int tribeId, const ::std::string& memberId) - { - return DBDelStarMember(tribeId, memberId, 0); - } - ::Ice::Int DBDelStarMember(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context& __ctx) - { - return DBDelStarMember(tribeId, memberId, &__ctx); - } - -private: - - ::Ice::Int DBDelStarMember(::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateOpenTribe(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Short openFlag) - { - return DBUpdateOpenTribe(tribeId, memberId, openFlag, 0); - } - ::Ice::Int DBUpdateOpenTribe(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Short openFlag, const ::Ice::Context& __ctx) - { - return DBUpdateOpenTribe(tribeId, memberId, openFlag, &__ctx); - } - -private: - - ::Ice::Int DBUpdateOpenTribe(::Ice::Int, const ::std::string&, ::Ice::Short, const ::Ice::Context*); - -public: - - ::Ice::Int DBNotifyTribeInfo(const ::ALiIMDBTribe::STribeInfo& tribeInfo) - { - return DBNotifyTribeInfo(tribeInfo, 0); - } - ::Ice::Int DBNotifyTribeInfo(const ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context& __ctx) - { - return DBNotifyTribeInfo(tribeInfo, &__ctx); - } - -private: - - ::Ice::Int DBNotifyTribeInfo(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeInfo2(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo2& tribeInfo) - { - return DBGetTribeInfo2(tribeId, tribeInfo, 0); - } - ::Ice::Int DBGetTribeInfo2(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::Ice::Context& __ctx) - { - return DBGetTribeInfo2(tribeId, tribeInfo, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeInfo2(::Ice::Int, ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeInfo3(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo3& tribeInfo) - { - return DBGetTribeInfo3(tribeId, tribeInfo, 0); - } - ::Ice::Int DBGetTribeInfo3(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo3& tribeInfo, const ::Ice::Context& __ctx) - { - return DBGetTribeInfo3(tribeId, tribeInfo, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeInfo3(::Ice::Int, ::ALiIMDBTribe::STribeInfo3&, const ::Ice::Context*); - -public: - - ::Ice::Int DBCreateTribe(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, ::Ice::Int& tribeId) - { - return DBCreateTribe(tribeInfo, tribeId, 0); - } - ::Ice::Int DBCreateTribe(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, ::Ice::Int& tribeId, const ::Ice::Context& __ctx) - { - return DBCreateTribe(tribeInfo, tribeId, &__ctx); - } - -private: - - ::Ice::Int DBCreateTribe(const ::ALiIMDBTribe::STribeInfo2&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetTribeIdByWebId(const ::std::string& serviceId, const ::std::string& webid, const ::std::string& webtid, ::Ice::Int& tribeId) - { - return DBGetTribeIdByWebId(serviceId, webid, webtid, tribeId, 0); - } - ::Ice::Int DBGetTribeIdByWebId(const ::std::string& serviceId, const ::std::string& webid, const ::std::string& webtid, ::Ice::Int& tribeId, const ::Ice::Context& __ctx) - { - return DBGetTribeIdByWebId(serviceId, webid, webtid, tribeId, &__ctx); - } - -private: - - ::Ice::Int DBGetTribeIdByWebId(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddWebTribeMember(const ::ALiIMDBTribe::STribeMember2& memberInfo, ::Ice::Int& blackStamp) - { - return DBAddWebTribeMember(memberInfo, blackStamp, 0); - } - ::Ice::Int DBAddWebTribeMember(const ::ALiIMDBTribe::STribeMember2& memberInfo, ::Ice::Int& blackStamp, const ::Ice::Context& __ctx) - { - return DBAddWebTribeMember(memberInfo, blackStamp, &__ctx); - } - -private: - - ::Ice::Int DBAddWebTribeMember(const ::ALiIMDBTribe::STribeMember2&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBDeleteWebMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Int& blackStamp) - { - return DBDeleteWebMember(tribeId, memberId, level, blackStamp, 0); - } - ::Ice::Int DBDeleteWebMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Int& blackStamp, const ::Ice::Context& __ctx) - { - return DBDeleteWebMember(tribeId, memberId, level, blackStamp, &__ctx); - } - -private: - - ::Ice::Int DBDeleteWebMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetAllWebTribeGroup(::ALiIMDBTribe::SWebTribeGroupSeq& groupList) - { - return DBGetAllWebTribeGroup(groupList, 0); - } - ::Ice::Int DBGetAllWebTribeGroup(::ALiIMDBTribe::SWebTribeGroupSeq& groupList, const ::Ice::Context& __ctx) - { - return DBGetAllWebTribeGroup(groupList, &__ctx); - } - -private: - - ::Ice::Int DBGetAllWebTribeGroup(::ALiIMDBTribe::SWebTribeGroupSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetWebTribeGroup(const ::std::string& serviceId, const ::std::string& webId, ::ALiIMDBTribe::SWebTribeGroup& groupInfo) - { - return DBGetWebTribeGroup(serviceId, webId, groupInfo, 0); - } - ::Ice::Int DBGetWebTribeGroup(const ::std::string& serviceId, const ::std::string& webId, ::ALiIMDBTribe::SWebTribeGroup& groupInfo, const ::Ice::Context& __ctx) - { - return DBGetWebTribeGroup(serviceId, webId, groupInfo, &__ctx); - } - -private: - - ::Ice::Int DBGetWebTribeGroup(const ::std::string&, const ::std::string&, ::ALiIMDBTribe::SWebTribeGroup&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetWebTribeGroupById(::Ice::Long groupId, ::ALiIMDBTribe::SWebTribeGroup& groupInfo) - { - return DBGetWebTribeGroupById(groupId, groupInfo, 0); - } - ::Ice::Int DBGetWebTribeGroupById(::Ice::Long groupId, ::ALiIMDBTribe::SWebTribeGroup& groupInfo, const ::Ice::Context& __ctx) - { - return DBGetWebTribeGroupById(groupId, groupInfo, &__ctx); - } - -private: - - ::Ice::Int DBGetWebTribeGroupById(::Ice::Long, ::ALiIMDBTribe::SWebTribeGroup&, const ::Ice::Context*); - -public: - - ::Ice::Int DBAddWebTribeGroup(const ::ALiIMDBTribe::SWebTribeGroup& groupInfo, ::Ice::Long& groupId) - { - return DBAddWebTribeGroup(groupInfo, groupId, 0); - } - ::Ice::Int DBAddWebTribeGroup(const ::ALiIMDBTribe::SWebTribeGroup& groupInfo, ::Ice::Long& groupId, const ::Ice::Context& __ctx) - { - return DBAddWebTribeGroup(groupInfo, groupId, &__ctx); - } - -private: - - ::Ice::Int DBAddWebTribeGroup(const ::ALiIMDBTribe::SWebTribeGroup&, ::Ice::Long&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateWebTribeGroupName(::Ice::Long groupId, const ::std::string& name) - { - return DBUpdateWebTribeGroupName(groupId, name, 0); - } - ::Ice::Int DBUpdateWebTribeGroupName(::Ice::Long groupId, const ::std::string& name, const ::Ice::Context& __ctx) - { - return DBUpdateWebTribeGroupName(groupId, name, &__ctx); - } - -private: - - ::Ice::Int DBUpdateWebTribeGroupName(::Ice::Long, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBDelWebTribeGroup(::Ice::Long groupId) - { - return DBDelWebTribeGroup(groupId, 0); - } - ::Ice::Int DBDelWebTribeGroup(::Ice::Long groupId, const ::Ice::Context& __ctx) - { - return DBDelWebTribeGroup(groupId, &__ctx); - } - -private: - - ::Ice::Int DBDelWebTribeGroup(::Ice::Long, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetUserWebTribeGroup(const ::std::string& userId, ::ALiIMDBTribe::SWebTribeGroupSeq& groupList) - { - return DBGetUserWebTribeGroup(userId, groupList, 0); - } - ::Ice::Int DBGetUserWebTribeGroup(const ::std::string& userId, ::ALiIMDBTribe::SWebTribeGroupSeq& groupList, const ::Ice::Context& __ctx) - { - return DBGetUserWebTribeGroup(userId, groupList, &__ctx); - } - -private: - - ::Ice::Int DBGetUserWebTribeGroup(const ::std::string&, ::ALiIMDBTribe::SWebTribeGroupSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetUserWebTribe(const ::std::string& userId, ::ALiIMDBTribe::SWebTribeIdSeq& tribeList) - { - return DBGetUserWebTribe(userId, tribeList, 0); - } - ::Ice::Int DBGetUserWebTribe(const ::std::string& userId, ::ALiIMDBTribe::SWebTribeIdSeq& tribeList, const ::Ice::Context& __ctx) - { - return DBGetUserWebTribe(userId, tribeList, &__ctx); - } - -private: - - ::Ice::Int DBGetUserWebTribe(const ::std::string&, ::ALiIMDBTribe::SWebTribeIdSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateTribeInfo2(const ::ALiIMDBTribe::STribeInfo2& tribeInfo) - { - return DBUpdateTribeInfo2(tribeInfo, 0); - } - ::Ice::Int DBUpdateTribeInfo2(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::Ice::Context& __ctx) - { - return DBUpdateTribeInfo2(tribeInfo, &__ctx); - } - -private: - - ::Ice::Int DBUpdateTribeInfo2(const ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Context*); - -public: - - ::Ice::Int DBNotifyWebTribeInfo(const ::ALiIMDBTribe::STribeInfo2& tribeInfo) - { - return DBNotifyWebTribeInfo(tribeInfo, 0); - } - ::Ice::Int DBNotifyWebTribeInfo(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::Ice::Context& __ctx) - { - return DBNotifyWebTribeInfo(tribeInfo, &__ctx); - } - -private: - - ::Ice::Int DBNotifyWebTribeInfo(const ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Context*); - -public: - - ::Ice::Int DBSyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::ALiIMDBTribe::STribeMember2Seq& memberList, ::Ice::Int& tribeId) - { - return DBSyncWebTribe(serviceId, webId, tribeInfo, memberList, tribeId, 0); - } - ::Ice::Int DBSyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::ALiIMDBTribe::STribeMember2Seq& memberList, ::Ice::Int& tribeId, const ::Ice::Context& __ctx) - { - return DBSyncWebTribe(serviceId, webId, tribeInfo, memberList, tribeId, &__ctx); - } - -private: - - ::Ice::Int DBSyncWebTribe(const ::std::string&, const ::std::string&, const ::ALiIMDBTribe::STribeInfo2&, const ::ALiIMDBTribe::STribeMember2Seq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetWebUserDisactiveTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, ::Ice::IntSeq& tribeList) - { - return DBGetWebUserDisactiveTribe(serviceId, webId, webUid, tribeList, 0); - } - ::Ice::Int DBGetWebUserDisactiveTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, ::Ice::IntSeq& tribeList, const ::Ice::Context& __ctx) - { - return DBGetWebUserDisactiveTribe(serviceId, webId, webUid, tribeList, &__ctx); - } - -private: - - ::Ice::Int DBGetWebUserDisactiveTribe(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetWebUserActiveTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& userId, ::Ice::IntSeq& tribeList) - { - return DBGetWebUserActiveTribe(serviceId, webId, userId, tribeList, 0); - } - ::Ice::Int DBGetWebUserActiveTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& userId, ::Ice::IntSeq& tribeList, const ::Ice::Context& __ctx) - { - return DBGetWebUserActiveTribe(serviceId, webId, userId, tribeList, &__ctx); - } - -private: - - ::Ice::Int DBGetWebUserActiveTribe(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int DBActiveTribeWebMember(::Ice::Int tribeId, const ::std::string& webuid, const ::std::string& memberId) - { - return DBActiveTribeWebMember(tribeId, webuid, memberId, 0); - } - ::Ice::Int DBActiveTribeWebMember(::Ice::Int tribeId, const ::std::string& webuid, const ::std::string& memberId, const ::Ice::Context& __ctx) - { - return DBActiveTribeWebMember(tribeId, webuid, memberId, &__ctx); - } - -private: - - ::Ice::Int DBActiveTribeWebMember(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBDisactiveTribeWebMember(::Ice::Int tribeId, const ::std::string& webuid, const ::std::string& memberId) - { - return DBDisactiveTribeWebMember(tribeId, webuid, memberId, 0); - } - ::Ice::Int DBDisactiveTribeWebMember(::Ice::Int tribeId, const ::std::string& webuid, const ::std::string& memberId, const ::Ice::Context& __ctx) - { - return DBDisactiveTribeWebMember(tribeId, webuid, memberId, &__ctx); - } - -private: - - ::Ice::Int DBDisactiveTribeWebMember(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBDeleteWebTribe(::Ice::Int tribeId) - { - return DBDeleteWebTribe(tribeId, 0); - } - ::Ice::Int DBDeleteWebTribe(::Ice::Int tribeId, const ::Ice::Context& __ctx) - { - return DBDeleteWebTribe(tribeId, &__ctx); - } - -private: - - ::Ice::Int DBDeleteWebTribe(::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateTribeMsgSetting(::Ice::Int tribeId, const ::std::string& userId, ::Ice::Short popflag) - { - return DBUpdateTribeMsgSetting(tribeId, userId, popflag, 0); - } - ::Ice::Int DBUpdateTribeMsgSetting(::Ice::Int tribeId, const ::std::string& userId, ::Ice::Short popflag, const ::Ice::Context& __ctx) - { - return DBUpdateTribeMsgSetting(tribeId, userId, popflag, &__ctx); - } - -private: - - ::Ice::Int DBUpdateTribeMsgSetting(::Ice::Int, const ::std::string&, ::Ice::Short, const ::Ice::Context*); - -public: - - ::Ice::Int DBTransferTribe(::Ice::Int tribeId, const ::std::string& userId, const ::std::string& transferId, ::std::string& vacantId) - { - return DBTransferTribe(tribeId, userId, transferId, vacantId, 0); - } - ::Ice::Int DBTransferTribe(::Ice::Int tribeId, const ::std::string& userId, const ::std::string& transferId, ::std::string& vacantId, const ::Ice::Context& __ctx) - { - return DBTransferTribe(tribeId, userId, transferId, vacantId, &__ctx); - } - -private: - - ::Ice::Int DBTransferTribe(::Ice::Int, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DBCheckAddedTribeFull2(const ::std::string& userId, bool& limit) - { - return DBCheckAddedTribeFull2(userId, limit, 0); - } - ::Ice::Int DBCheckAddedTribeFull2(const ::std::string& userId, bool& limit, const ::Ice::Context& __ctx) - { - return DBCheckAddedTribeFull2(userId, limit, &__ctx); - } - -private: - - ::Ice::Int DBCheckAddedTribeFull2(const ::std::string&, bool&, const ::Ice::Context*); - -public: - - ::Ice::Int DBUpdateTribeLimit(::Ice::Int tribeId, ::Ice::Int limit) - { - return DBUpdateTribeLimit(tribeId, limit, 0); - } - ::Ice::Int DBUpdateTribeLimit(::Ice::Int tribeId, ::Ice::Int limit, const ::Ice::Context& __ctx) - { - return DBUpdateTribeLimit(tribeId, limit, &__ctx); - } - -private: - - ::Ice::Int DBUpdateTribeLimit(::Ice::Int, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBIncrUserTribes(const ::std::string& userId, ::Ice::Int tribeNum) - { - return DBIncrUserTribes(userId, tribeNum, 0); - } - ::Ice::Int DBIncrUserTribes(const ::std::string& userId, ::Ice::Int tribeNum, const ::Ice::Context& __ctx) - { - return DBIncrUserTribes(userId, tribeNum, &__ctx); - } - -private: - - ::Ice::Int DBIncrUserTribes(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int DBGetUserTribeNum(const ::std::string& userId, ::Ice::Int& tribeNum) - { - return DBGetUserTribeNum(userId, tribeNum, 0); - } - ::Ice::Int DBGetUserTribeNum(const ::std::string& userId, ::Ice::Int& tribeNum, const ::Ice::Context& __ctx) - { - return DBGetUserTribeNum(userId, tribeNum, &__ctx); - } - -private: - - ::Ice::Int DBGetUserTribeNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace ALiIMDBTribe -{ - -class TribeDBProxyMgr : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int DBStartTribe(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeInfo(::Ice::Int, ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateTribeInfo(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateTribeMaster(::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeActiveDegree(::Ice::Int, ::Ice::Int&, ::Ice::Double&, ::Ice::Int&, ::Ice::Double&, ::Ice::Int&, ::Ice::Double&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateTribeActDegree(::Ice::Int, ::Ice::Double, ::Ice::Int, ::Ice::Double, ::Ice::Double, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBDeleteTribe(::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetAddedTribeNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBCheckAddedTribeFull(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeMemberNum(::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int TCAddTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Short, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::ALiIMDBTribe::STribeMemberSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeMemberInfo(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeMemberInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeMemberInfo2(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeMemberInfoSeq2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetUserTribe(const ::std::string&, ::ALiIMDBTribe::STribeIdSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetUserTribe2(const ::std::string&, ::ALiIMDBTribe::STribeIdSeq2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateMemberLevel(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateLastMsgId(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBDeleteMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddTribeOfflineMsg(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeOfflineMsg(::Ice::Int, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBDelTribeOfflineMsg(::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddTribeOffMngMsg(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeOffMngMsg(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBDelTribeOffMngMsg(::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetUserTribeConfig(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateUserTribeConfig(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateTribeCard(::Ice::Int, const ::std::string&, const ::ALiIMDBTribe::STribeCard&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeCard(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeCard&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateMemberActDegree(::Ice::Int, const ::std::string&, ::Ice::Double, ::Ice::Int, ::Ice::Double, ::Ice::Double, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeGroup(::Ice::Int, ::ALiIMDBTribe::STribeGroupSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddTribeGroup(::Ice::Int, const ::std::string&, ::Ice::Long, ::Ice::Long&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateTribeGroup(::Ice::Int, ::Ice::Long, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBDelTribeGroup(::Ice::Int, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateUserGroup(::Ice::Int, const ::std::string&, ::Ice::Long, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddStarMember(::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBDelStarMember(::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateOpenTribe(::Ice::Int, const ::std::string&, ::Ice::Short, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBNotifyTribeInfo(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeInfo2(::Ice::Int, ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeInfo3(::Ice::Int, ::ALiIMDBTribe::STribeInfo3&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBCreateTribe(const ::ALiIMDBTribe::STribeInfo2&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetTribeIdByWebId(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddWebTribeMember(const ::ALiIMDBTribe::STribeMember2&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBDeleteWebMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetAllWebTribeGroup(::ALiIMDBTribe::SWebTribeGroupSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetWebTribeGroup(const ::std::string&, const ::std::string&, ::ALiIMDBTribe::SWebTribeGroup&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetWebTribeGroupById(::Ice::Long, ::ALiIMDBTribe::SWebTribeGroup&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBAddWebTribeGroup(const ::ALiIMDBTribe::SWebTribeGroup&, ::Ice::Long&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateWebTribeGroupName(::Ice::Long, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBDelWebTribeGroup(::Ice::Long, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetUserWebTribeGroup(const ::std::string&, ::ALiIMDBTribe::SWebTribeGroupSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetUserWebTribe(const ::std::string&, ::ALiIMDBTribe::SWebTribeIdSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateTribeInfo2(const ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBNotifyWebTribeInfo(const ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBSyncWebTribe(const ::std::string&, const ::std::string&, const ::ALiIMDBTribe::STribeInfo2&, const ::ALiIMDBTribe::STribeMember2Seq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetWebUserDisactiveTribe(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetWebUserActiveTribe(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBActiveTribeWebMember(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBDisactiveTribeWebMember(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBDeleteWebTribe(::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateTribeMsgSetting(::Ice::Int, const ::std::string&, ::Ice::Short, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBTransferTribe(::Ice::Int, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBCheckAddedTribeFull2(const ::std::string&, bool&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBUpdateTribeLimit(::Ice::Int, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBIncrUserTribes(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DBGetUserTribeNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace ALiIMDBTribe -{ - -class TribeDBProxyMgr : virtual public ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int DBStartTribe(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeInfo(::Ice::Int, ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeInfo(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeMaster(::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeActiveDegree(::Ice::Int, ::Ice::Int&, ::Ice::Double&, ::Ice::Int&, ::Ice::Double&, ::Ice::Int&, ::Ice::Double&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeActDegree(::Ice::Int, ::Ice::Double, ::Ice::Int, ::Ice::Double, ::Ice::Double, const ::Ice::Context*); - - virtual ::Ice::Int DBDeleteTribe(::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBGetAddedTribeNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBCheckAddedTribeFull(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeMemberNum(::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int TCAddTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Short, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::ALiIMDBTribe::STribeMemberSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeMemberInfo(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeMemberInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeMemberInfo2(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeMemberInfoSeq2&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserTribe(const ::std::string&, ::ALiIMDBTribe::STribeIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserTribe2(const ::std::string&, ::ALiIMDBTribe::STribeIdSeq2&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateMemberLevel(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateLastMsgId(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBDeleteMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddTribeOfflineMsg(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeOfflineMsg(::Ice::Int, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelTribeOfflineMsg(::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBAddTribeOffMngMsg(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeOffMngMsg(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelTribeOffMngMsg(::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserTribeConfig(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateUserTribeConfig(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeCard(::Ice::Int, const ::std::string&, const ::ALiIMDBTribe::STribeCard&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeCard(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeCard&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateMemberActDegree(::Ice::Int, const ::std::string&, ::Ice::Double, ::Ice::Int, ::Ice::Double, ::Ice::Double, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeGroup(::Ice::Int, ::ALiIMDBTribe::STribeGroupSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddTribeGroup(::Ice::Int, const ::std::string&, ::Ice::Long, ::Ice::Long&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeGroup(::Ice::Int, ::Ice::Long, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelTribeGroup(::Ice::Int, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateUserGroup(::Ice::Int, const ::std::string&, ::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int DBAddStarMember(::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelStarMember(::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateOpenTribe(::Ice::Int, const ::std::string&, ::Ice::Short, const ::Ice::Context*); - - virtual ::Ice::Int DBNotifyTribeInfo(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeInfo2(::Ice::Int, ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeInfo3(::Ice::Int, ::ALiIMDBTribe::STribeInfo3&, const ::Ice::Context*); - - virtual ::Ice::Int DBCreateTribe(const ::ALiIMDBTribe::STribeInfo2&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeIdByWebId(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddWebTribeMember(const ::ALiIMDBTribe::STribeMember2&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBDeleteWebMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetAllWebTribeGroup(::ALiIMDBTribe::SWebTribeGroupSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetWebTribeGroup(const ::std::string&, const ::std::string&, ::ALiIMDBTribe::SWebTribeGroup&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetWebTribeGroupById(::Ice::Long, ::ALiIMDBTribe::SWebTribeGroup&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddWebTribeGroup(const ::ALiIMDBTribe::SWebTribeGroup&, ::Ice::Long&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateWebTribeGroupName(::Ice::Long, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelWebTribeGroup(::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserWebTribeGroup(const ::std::string&, ::ALiIMDBTribe::SWebTribeGroupSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserWebTribe(const ::std::string&, ::ALiIMDBTribe::SWebTribeIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeInfo2(const ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Context*); - - virtual ::Ice::Int DBNotifyWebTribeInfo(const ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Context*); - - virtual ::Ice::Int DBSyncWebTribe(const ::std::string&, const ::std::string&, const ::ALiIMDBTribe::STribeInfo2&, const ::ALiIMDBTribe::STribeMember2Seq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetWebUserDisactiveTribe(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetWebUserActiveTribe(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBActiveTribeWebMember(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBDisactiveTribeWebMember(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBDeleteWebTribe(::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeMsgSetting(::Ice::Int, const ::std::string&, ::Ice::Short, const ::Ice::Context*); - - virtual ::Ice::Int DBTransferTribe(::Ice::Int, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBCheckAddedTribeFull2(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeLimit(::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBIncrUserTribes(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserTribeNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace ALiIMDBTribe -{ - -class TribeDBProxyMgr : virtual public ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int DBStartTribe(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeInfo(::Ice::Int, ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeInfo(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeMaster(::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeActiveDegree(::Ice::Int, ::Ice::Int&, ::Ice::Double&, ::Ice::Int&, ::Ice::Double&, ::Ice::Int&, ::Ice::Double&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeActDegree(::Ice::Int, ::Ice::Double, ::Ice::Int, ::Ice::Double, ::Ice::Double, const ::Ice::Context*); - - virtual ::Ice::Int DBDeleteTribe(::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBGetAddedTribeNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBCheckAddedTribeFull(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeMemberNum(::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int TCAddTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Short, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::ALiIMDBTribe::STribeMemberSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeMemberInfo(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeMemberInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeMemberInfo2(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeMemberInfoSeq2&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserTribe(const ::std::string&, ::ALiIMDBTribe::STribeIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserTribe2(const ::std::string&, ::ALiIMDBTribe::STribeIdSeq2&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateMemberLevel(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateLastMsgId(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBDeleteMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddTribeOfflineMsg(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeOfflineMsg(::Ice::Int, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelTribeOfflineMsg(::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBAddTribeOffMngMsg(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeOffMngMsg(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelTribeOffMngMsg(::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserTribeConfig(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateUserTribeConfig(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeCard(::Ice::Int, const ::std::string&, const ::ALiIMDBTribe::STribeCard&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeCard(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeCard&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateMemberActDegree(::Ice::Int, const ::std::string&, ::Ice::Double, ::Ice::Int, ::Ice::Double, ::Ice::Double, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeGroup(::Ice::Int, ::ALiIMDBTribe::STribeGroupSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddTribeGroup(::Ice::Int, const ::std::string&, ::Ice::Long, ::Ice::Long&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeGroup(::Ice::Int, ::Ice::Long, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelTribeGroup(::Ice::Int, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateUserGroup(::Ice::Int, const ::std::string&, ::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int DBAddStarMember(::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelStarMember(::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateOpenTribe(::Ice::Int, const ::std::string&, ::Ice::Short, const ::Ice::Context*); - - virtual ::Ice::Int DBNotifyTribeInfo(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeInfo2(::Ice::Int, ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeInfo3(::Ice::Int, ::ALiIMDBTribe::STribeInfo3&, const ::Ice::Context*); - - virtual ::Ice::Int DBCreateTribe(const ::ALiIMDBTribe::STribeInfo2&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetTribeIdByWebId(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddWebTribeMember(const ::ALiIMDBTribe::STribeMember2&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBDeleteWebMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetAllWebTribeGroup(::ALiIMDBTribe::SWebTribeGroupSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetWebTribeGroup(const ::std::string&, const ::std::string&, ::ALiIMDBTribe::SWebTribeGroup&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetWebTribeGroupById(::Ice::Long, ::ALiIMDBTribe::SWebTribeGroup&, const ::Ice::Context*); - - virtual ::Ice::Int DBAddWebTribeGroup(const ::ALiIMDBTribe::SWebTribeGroup&, ::Ice::Long&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateWebTribeGroupName(::Ice::Long, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBDelWebTribeGroup(::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserWebTribeGroup(const ::std::string&, ::ALiIMDBTribe::SWebTribeGroupSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserWebTribe(const ::std::string&, ::ALiIMDBTribe::SWebTribeIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeInfo2(const ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Context*); - - virtual ::Ice::Int DBNotifyWebTribeInfo(const ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Context*); - - virtual ::Ice::Int DBSyncWebTribe(const ::std::string&, const ::std::string&, const ::ALiIMDBTribe::STribeInfo2&, const ::ALiIMDBTribe::STribeMember2Seq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetWebUserDisactiveTribe(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBGetWebUserActiveTribe(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int DBActiveTribeWebMember(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBDisactiveTribeWebMember(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBDeleteWebTribe(::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeMsgSetting(::Ice::Int, const ::std::string&, ::Ice::Short, const ::Ice::Context*); - - virtual ::Ice::Int DBTransferTribe(::Ice::Int, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DBCheckAddedTribeFull2(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int DBUpdateTribeLimit(::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBIncrUserTribes(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int DBGetUserTribeNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); -}; - -} - -} - -namespace ALiIMDBTribe -{ - -class TribeDBProxyMgr : virtual public ::Ice::Object -{ -public: - - typedef TribeDBProxyMgrPrx ProxyType; - typedef TribeDBProxyMgrPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int DBStartTribe(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBStartTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeInfo(::Ice::Int, ::ALiIMDBTribe::STribeInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateTribeInfo(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateTribeInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateTribeMaster(::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateTribeMaster(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeActiveDegree(::Ice::Int, ::Ice::Int&, ::Ice::Double&, ::Ice::Int&, ::Ice::Double&, ::Ice::Int&, ::Ice::Double&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeActiveDegree(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateTribeActDegree(::Ice::Int, ::Ice::Double, ::Ice::Int, ::Ice::Double, ::Ice::Double, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateTribeActDegree(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBDeleteTribe(::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBDeleteTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetAddedTribeNum(const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetAddedTribeNum(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBCheckAddedTribeFull(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBCheckAddedTribeFull(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeMemberNum(::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeMemberNum(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Long, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddTribeMember(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int TCAddTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Short, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___TCAddTribeMember(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::ALiIMDBTribe::STribeMemberSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeMember(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeMemberInfo(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeMemberInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeMemberInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeMemberInfo2(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeMemberInfoSeq2&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeMemberInfo2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetUserTribe(const ::std::string&, ::ALiIMDBTribe::STribeIdSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetUserTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetUserTribe2(const ::std::string&, ::ALiIMDBTribe::STribeIdSeq2&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetUserTribe2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateMemberLevel(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateMemberLevel(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateLastMsgId(::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateLastMsgId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBDeleteMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBDeleteMember(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddTribeOfflineMsg(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddTribeOfflineMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeOfflineMsg(::Ice::Int, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeOfflineMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBDelTribeOfflineMsg(::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBDelTribeOfflineMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddTribeOffMngMsg(::Ice::Int, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddTribeOffMngMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeOffMngMsg(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeOffMngMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBDelTribeOffMngMsg(::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBDelTribeOffMngMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetUserTribeConfig(const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetUserTribeConfig(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateUserTribeConfig(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateUserTribeConfig(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateTribeCard(::Ice::Int, const ::std::string&, const ::ALiIMDBTribe::STribeCard&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateTribeCard(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeCard(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeCard&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeCard(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateMemberActDegree(::Ice::Int, const ::std::string&, ::Ice::Double, ::Ice::Int, ::Ice::Double, ::Ice::Double, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateMemberActDegree(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeGroup(::Ice::Int, ::ALiIMDBTribe::STribeGroupSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddTribeGroup(::Ice::Int, const ::std::string&, ::Ice::Long, ::Ice::Long&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddTribeGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateTribeGroup(::Ice::Int, ::Ice::Long, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateTribeGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBDelTribeGroup(::Ice::Int, ::Ice::Long, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBDelTribeGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateUserGroup(::Ice::Int, const ::std::string&, ::Ice::Long, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateUserGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddStarMember(::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddStarMember(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBDelStarMember(::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBDelStarMember(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateOpenTribe(::Ice::Int, const ::std::string&, ::Ice::Short, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateOpenTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBNotifyTribeInfo(const ::ALiIMDBTribe::STribeInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBNotifyTribeInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeInfo2(::Ice::Int, ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeInfo2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeInfo3(::Ice::Int, ::ALiIMDBTribe::STribeInfo3&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeInfo3(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBCreateTribe(const ::ALiIMDBTribe::STribeInfo2&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBCreateTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetTribeIdByWebId(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetTribeIdByWebId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddWebTribeMember(const ::ALiIMDBTribe::STribeMember2&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddWebTribeMember(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBDeleteWebMember(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBDeleteWebMember(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetAllWebTribeGroup(::ALiIMDBTribe::SWebTribeGroupSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetAllWebTribeGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetWebTribeGroup(const ::std::string&, const ::std::string&, ::ALiIMDBTribe::SWebTribeGroup&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetWebTribeGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetWebTribeGroupById(::Ice::Long, ::ALiIMDBTribe::SWebTribeGroup&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetWebTribeGroupById(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBAddWebTribeGroup(const ::ALiIMDBTribe::SWebTribeGroup&, ::Ice::Long&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBAddWebTribeGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateWebTribeGroupName(::Ice::Long, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateWebTribeGroupName(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBDelWebTribeGroup(::Ice::Long, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBDelWebTribeGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetUserWebTribeGroup(const ::std::string&, ::ALiIMDBTribe::SWebTribeGroupSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetUserWebTribeGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetUserWebTribe(const ::std::string&, ::ALiIMDBTribe::SWebTribeIdSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetUserWebTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateTribeInfo2(const ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateTribeInfo2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBNotifyWebTribeInfo(const ::ALiIMDBTribe::STribeInfo2&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBNotifyWebTribeInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBSyncWebTribe(const ::std::string&, const ::std::string&, const ::ALiIMDBTribe::STribeInfo2&, const ::ALiIMDBTribe::STribeMember2Seq&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBSyncWebTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetWebUserDisactiveTribe(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::IntSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetWebUserDisactiveTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetWebUserActiveTribe(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::IntSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetWebUserActiveTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBActiveTribeWebMember(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBActiveTribeWebMember(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBDisactiveTribeWebMember(::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBDisactiveTribeWebMember(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBDeleteWebTribe(::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBDeleteWebTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateTribeMsgSetting(::Ice::Int, const ::std::string&, ::Ice::Short, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateTribeMsgSetting(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBTransferTribe(::Ice::Int, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBTransferTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBCheckAddedTribeFull2(const ::std::string&, bool&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBCheckAddedTribeFull2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBUpdateTribeLimit(::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBUpdateTribeLimit(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBIncrUserTribes(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBIncrUserTribes(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DBGetUserTribeNum(const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DBGetUserTribeNum(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__TribeDBProxyMgrPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/dbtbsstructs60.h b/features/aliww/include/dbtbsstructs60.h deleted file mode 100644 index 6794204..0000000 --- a/features/aliww/include/dbtbsstructs60.h +++ /dev/null @@ -1,624 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbtbsstructs60.ice' - -#ifndef __dbtbsstructs60_h__ -#define __dbtbsstructs60_h__ - -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace ALiIMDBTribe -{ - -struct STribeInfo -{ - ::Ice::Long tribeId; - ::std::string name; - ::std::string masterId; - ::std::string createrId; - ::Ice::Int tribeclass; - ::std::string describe; - ::std::string bulletin; - ::Ice::Short checkMode; - ::std::string password; - ::std::string validateCode; - ::Ice::Int lastMsgid; - ::Ice::Int memberTimes; - ::Ice::Int onlineTimes; - ::Ice::Double onlineDegree; - ::Ice::Int discussDegree; - ::Ice::Double rewardDegree; - ::Ice::Int masterOffer; - ::Ice::Double totalDegree; - ::std::string keyword; - ::Ice::Short allowVisitor; - ::Ice::Short forbidSearch; - ::std::string extSign; - ::Ice::Int groupStamp; - ::Ice::Int blackStamp; - - bool operator==(const STribeInfo&) const; - bool operator!=(const STribeInfo&) const; - bool operator<(const STribeInfo&) const; - bool operator<=(const STribeInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct STribeOfflineMsg -{ - ::Ice::Long tribeId; - ::std::string memberId; - ::Ice::Short type; - ::std::string message; - ::Ice::Int sendTime; - - bool operator==(const STribeOfflineMsg&) const; - bool operator!=(const STribeOfflineMsg&) const; - bool operator<(const STribeOfflineMsg&) const; - bool operator<=(const STribeOfflineMsg& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeOfflineMsg& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeOfflineMsg& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct STribeMemberInfo -{ - ::std::string userId; - ::std::string name; - ::Ice::Short memberLevel; - ::Ice::Short tribeLevel; - ::Ice::Short mobileBindFlag; - ::std::string mobileNo; - ::std::string bindMobile; - ::Ice::Int lastMsgid; - ::Ice::Double onlineDegree; - ::Ice::Int discussDegree; - ::Ice::Double rewardDegree; - ::Ice::Double totalDegree; - ::Ice::Long groupId; - ::Ice::Short starMember; - ::Ice::Short openFlag; - - bool operator==(const STribeMemberInfo&) const; - bool operator!=(const STribeMemberInfo&) const; - bool operator<(const STribeMemberInfo&) const; - bool operator<=(const STribeMemberInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeMemberInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeMemberInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct STribeMemberInfo2 -{ - ::std::string userId; - ::std::string name; - ::Ice::Short memberLevel; - ::Ice::Short tribeLevel; - ::Ice::Short mobileBindFlag; - ::std::string mobileNo; - ::std::string bindMobile; - ::Ice::Int lastMsgid; - ::Ice::Double onlineDegree; - ::Ice::Int discussDegree; - ::Ice::Double rewardDegree; - ::Ice::Double totalDegree; - ::Ice::Long groupId; - ::Ice::Short starMember; - ::Ice::Short openFlag; - ::Ice::Int popupFlag; - - bool operator==(const STribeMemberInfo2&) const; - bool operator!=(const STribeMemberInfo2&) const; - bool operator<(const STribeMemberInfo2&) const; - bool operator<=(const STribeMemberInfo2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeMemberInfo2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeMemberInfo2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct STribeMember -{ - ::Ice::Long tribeId; - ::std::string memberId; - ::Ice::Int level; - ::Ice::Int lastMsgid; - ::std::string operId; - ::Ice::Long groupId; - - bool operator==(const STribeMember&) const; - bool operator!=(const STribeMember&) const; - bool operator<(const STribeMember&) const; - bool operator<=(const STribeMember& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeMember& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeMember& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct STribeId -{ - ::Ice::Long tribeId; - ::std::string name; - ::Ice::Short tribeLevel; - ::Ice::Short tribeStatus; - ::std::string extSign; - ::Ice::Int groupStamp; - ::Ice::Short openTribe; - - bool operator==(const STribeId&) const; - bool operator!=(const STribeId&) const; - bool operator<(const STribeId&) const; - bool operator<=(const STribeId& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeId& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeId& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct STribeId2 -{ - ::Ice::Long tribeId; - ::std::string name; - ::Ice::Short tribeLevel; - ::Ice::Short tribeStatus; - ::std::string extSign; - ::Ice::Int groupStamp; - ::Ice::Short openTribe; - ::Ice::Short popupFlag; - - bool operator==(const STribeId2&) const; - bool operator!=(const STribeId2&) const; - bool operator<(const STribeId2&) const; - bool operator<=(const STribeId2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeId2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeId2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct STribeIdDb -{ - ::Ice::Long tribeId; - ::std::string name; - ::Ice::Short tribeLevel; - ::Ice::Short tribeStatus; - - bool operator==(const STribeIdDb&) const; - bool operator!=(const STribeIdDb&) const; - bool operator<(const STribeIdDb&) const; - bool operator<=(const STribeIdDb& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeIdDb& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeIdDb& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct STribeGroup -{ - ::Ice::Long tribeId; - ::Ice::Long groupId; - ::std::string groupName; - ::Ice::Long parentId; - - bool operator==(const STribeGroup&) const; - bool operator!=(const STribeGroup&) const; - bool operator<(const STribeGroup&) const; - bool operator<=(const STribeGroup& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeGroup& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeGroup& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::ALiIMDBTribe::STribeMemberInfo> STribeMemberInfoSeq; - -class __U__STribeMemberInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBTribe::STribeMemberInfo*, const ::ALiIMDBTribe::STribeMemberInfo*, __U__STribeMemberInfoSeq); -void __read(::IceInternal::BasicStream*, STribeMemberInfoSeq&, __U__STribeMemberInfoSeq); - -typedef ::std::vector< ::ALiIMDBTribe::STribeMemberInfo2> STribeMemberInfoSeq2; - -class __U__STribeMemberInfoSeq2 { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBTribe::STribeMemberInfo2*, const ::ALiIMDBTribe::STribeMemberInfo2*, __U__STribeMemberInfoSeq2); -void __read(::IceInternal::BasicStream*, STribeMemberInfoSeq2&, __U__STribeMemberInfoSeq2); - -typedef ::std::vector< ::ALiIMDBTribe::STribeOfflineMsg> STribeOfflineMsgSeq; - -class __U__STribeOfflineMsgSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBTribe::STribeOfflineMsg*, const ::ALiIMDBTribe::STribeOfflineMsg*, __U__STribeOfflineMsgSeq); -void __read(::IceInternal::BasicStream*, STribeOfflineMsgSeq&, __U__STribeOfflineMsgSeq); - -typedef ::std::vector< ::ALiIMDBTribe::STribeMember> STribeMemberSeq; - -class __U__STribeMemberSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBTribe::STribeMember*, const ::ALiIMDBTribe::STribeMember*, __U__STribeMemberSeq); -void __read(::IceInternal::BasicStream*, STribeMemberSeq&, __U__STribeMemberSeq); - -typedef ::std::vector< ::ALiIMDBTribe::STribeId> STribeIdSeq; - -class __U__STribeIdSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBTribe::STribeId*, const ::ALiIMDBTribe::STribeId*, __U__STribeIdSeq); -void __read(::IceInternal::BasicStream*, STribeIdSeq&, __U__STribeIdSeq); - -typedef ::std::vector< ::ALiIMDBTribe::STribeId2> STribeIdSeq2; - -class __U__STribeIdSeq2 { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBTribe::STribeId2*, const ::ALiIMDBTribe::STribeId2*, __U__STribeIdSeq2); -void __read(::IceInternal::BasicStream*, STribeIdSeq2&, __U__STribeIdSeq2); - -typedef ::std::vector< ::ALiIMDBTribe::STribeIdDb> STribeIdDbSeq; - -class __U__STribeIdDbSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBTribe::STribeIdDb*, const ::ALiIMDBTribe::STribeIdDb*, __U__STribeIdDbSeq); -void __read(::IceInternal::BasicStream*, STribeIdDbSeq&, __U__STribeIdDbSeq); - -typedef ::std::vector< ::ALiIMDBTribe::STribeGroup> STribeGroupSeq; - -class __U__STribeGroupSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBTribe::STribeGroup*, const ::ALiIMDBTribe::STribeGroup*, __U__STribeGroupSeq); -void __read(::IceInternal::BasicStream*, STribeGroupSeq&, __U__STribeGroupSeq); - -struct STribeCard -{ - ::Ice::Long tribeId; - ::std::string memberId; - ::std::string realName; - ::std::string phoneNum; - ::std::string mobileNum; - ::std::string email; - ::std::string address; - ::std::string memo; - - bool operator==(const STribeCard&) const; - bool operator!=(const STribeCard&) const; - bool operator<(const STribeCard&) const; - bool operator<=(const STribeCard& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeCard& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeCard& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct STribeInfo2 -{ - ::Ice::Long tribeId; - ::std::string name; - ::std::string masterId; - ::std::string createrId; - ::Ice::Int tribeclass; - ::std::string describe; - ::std::string bulletin; - ::Ice::Short checkMode; - ::std::string password; - ::std::string validateCode; - ::Ice::Int lastMsgid; - ::Ice::Int memberTimes; - ::Ice::Int onlineTimes; - ::Ice::Double onlineDegree; - ::Ice::Int discussDegree; - ::Ice::Double rewardDegree; - ::Ice::Int masterOffer; - ::Ice::Double totalDegree; - ::std::string keyword; - ::Ice::Short allowVisitor; - ::Ice::Short forbidSearch; - ::std::string extSign; - ::Ice::Int groupStamp; - ::Ice::Int blackStamp; - ::std::string webTid; - ::Ice::Long groupId; - - bool operator==(const STribeInfo2&) const; - bool operator!=(const STribeInfo2&) const; - bool operator<(const STribeInfo2&) const; - bool operator<=(const STribeInfo2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeInfo2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeInfo2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct STribeMember2 -{ - ::Ice::Long tribeId; - ::std::string memberId; - ::std::string name; - ::Ice::Int level; - ::Ice::Int lastMsgid; - ::std::string operId; - ::Ice::Long groupId; - - bool operator==(const STribeMember2&) const; - bool operator!=(const STribeMember2&) const; - bool operator<(const STribeMember2&) const; - bool operator<=(const STribeMember2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeMember2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeMember2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::ALiIMDBTribe::STribeMember2> STribeMember2Seq; - -class __U__STribeMember2Seq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBTribe::STribeMember2*, const ::ALiIMDBTribe::STribeMember2*, __U__STribeMember2Seq); -void __read(::IceInternal::BasicStream*, STribeMember2Seq&, __U__STribeMember2Seq); - -struct STribeInfo3 -{ - ::Ice::Long tribeId; - ::std::string name; - ::std::string masterId; - ::std::string createrId; - ::Ice::Int tribeclass; - ::std::string describe; - ::std::string bulletin; - ::Ice::Short checkMode; - ::std::string password; - ::std::string validateCode; - ::Ice::Int lastMsgid; - ::Ice::Int memberTimes; - ::Ice::Int onlineTimes; - ::Ice::Double onlineDegree; - ::Ice::Int discussDegree; - ::Ice::Double rewardDegree; - ::Ice::Int masterOffer; - ::Ice::Double totalDegree; - ::std::string keyword; - ::Ice::Short allowVisitor; - ::Ice::Short forbidSearch; - ::std::string extSign; - ::Ice::Int groupStamp; - ::Ice::Int blackStamp; - ::std::string webTid; - ::Ice::Long groupId; - ::Ice::Int tribeLimit; - - bool operator==(const STribeInfo3&) const; - bool operator!=(const STribeInfo3&) const; - bool operator<(const STribeInfo3&) const; - bool operator<=(const STribeInfo3& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeInfo3& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeInfo3& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SWebTribeGroup -{ - ::Ice::Long groupId; - ::std::string groupName; - ::std::string serviceId; - ::std::string siteId; - ::std::string webId; - - bool operator==(const SWebTribeGroup&) const; - bool operator!=(const SWebTribeGroup&) const; - bool operator<(const SWebTribeGroup&) const; - bool operator<=(const SWebTribeGroup& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SWebTribeGroup& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SWebTribeGroup& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::ALiIMDBTribe::SWebTribeGroup> SWebTribeGroupSeq; - -class __U__SWebTribeGroupSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBTribe::SWebTribeGroup*, const ::ALiIMDBTribe::SWebTribeGroup*, __U__SWebTribeGroupSeq); -void __read(::IceInternal::BasicStream*, SWebTribeGroupSeq&, __U__SWebTribeGroupSeq); - -struct SWebTribeId -{ - ::Ice::Long tribeId; - ::std::string name; - ::Ice::Short tribeLevel; - ::Ice::Short tribeStatus; - ::std::string extSign; - ::Ice::Int groupStamp; - ::Ice::Short openTribe; - ::std::string webTid; - ::Ice::Long groupId; - - bool operator==(const SWebTribeId&) const; - bool operator!=(const SWebTribeId&) const; - bool operator<(const SWebTribeId&) const; - bool operator<=(const SWebTribeId& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SWebTribeId& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SWebTribeId& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::ALiIMDBTribe::SWebTribeId> SWebTribeIdSeq; - -class __U__SWebTribeIdSeq { }; -void __write(::IceInternal::BasicStream*, const ::ALiIMDBTribe::SWebTribeId*, const ::ALiIMDBTribe::SWebTribeId*, __U__SWebTribeIdSeq); -void __read(::IceInternal::BasicStream*, SWebTribeIdSeq&, __U__SWebTribeIdSeq); - -} - -#endif diff --git a/features/aliww/include/ddbadmin_perf_test.h b/features/aliww/include/ddbadmin_perf_test.h deleted file mode 100644 index dbf4b17..0000000 --- a/features/aliww/include/ddbadmin_perf_test.h +++ /dev/null @@ -1,34 +0,0 @@ -#ifndef _DDBAdmin_PERF_TEST_H -#define _DDBAdmin_PERF_TEST_H - -#include "paramutil.h" -#include "cbenchmark.h" -#include "DDBInterface.h" -#include -#include - -using namespace std; -using namespace Ice; -using namespace AliDDB; - -typedef struct ddbadmin_t{ - AliDDBInterfacePrx *ddbadmin; - Ice::CommunicatorPtr *ic; -}ddbadmin_st; - -#ifdef __cplusplus -extern "C" { -#endif - -void* ddbadmin_init(void *p); -void* ddbadmin_end(void *p); - -void* ddbadmin_insertRecord(void *p); -void* ddbadmin_getRecord(void *p); -void* ddbadmin_updateRecord(void *p); -void* ddbadmin_deleteRecord(void *p); -void* ddbadmin_insertRecord_delete(void *p); -#ifdef __cplusplus -} -#endif -#endif diff --git a/features/aliww/include/des.h b/features/aliww/include/des.h deleted file mode 100644 index 0849923..0000000 --- a/features/aliww/include/des.h +++ /dev/null @@ -1,36 +0,0 @@ -// DES function prototypes - -#ifndef __DES_H_ -#define __DES_H_ - -#include - -class CDesEncrypt -{ -public: -//mode == 0: standard Data Encryption Algorithm -//mode == 1: DEA without initial and final permutations for speed -//mode == 2: DEA without permutations and with 128-byte key (completely -// independent subkeys for each round) - CDesEncrypt(int mode = 0) : m_mode(mode) { }; - ~CDesEncrypt() { } - - void SetMode(int mode) - { - m_mode = mode; - } - - std::string SetKey(const std::string& key); - - std::string Encrypt(const std::string& data, const std::string& desKey); - - std::string Decrypt(const std::string& data, const std::string& desKey); - - void Encrypt(std::string& data, const std::string& desKey, std::string::size_type offset); - - void Decrypt(std::string& data, const std::string& desKey, std::string::size_type offset); -private: - int m_mode; -}; - -#endif //__DES_H diff --git a/features/aliww/include/es_eval_service.h b/features/aliww/include/es_eval_service.h deleted file mode 100644 index 4a82db4..0000000 --- a/features/aliww/include/es_eval_service.h +++ /dev/null @@ -1,504 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `es_eval_service.ice' - -#ifndef __es_eval_service_h__ -#define __es_eval_service_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace IMSINNER -{ - -class ESICEEval; -bool operator==(const ESICEEval&, const ESICEEval&); -bool operator!=(const ESICEEval&, const ESICEEval&); -bool operator<(const ESICEEval&, const ESICEEval&); -bool operator<=(const ESICEEval&, const ESICEEval&); -bool operator>(const ESICEEval&, const ESICEEval&); -bool operator>=(const ESICEEval&, const ESICEEval&); - -} - -} - -namespace IMSINNER -{ - -class ESICEEval; -bool operator==(const ESICEEval&, const ESICEEval&); -bool operator!=(const ESICEEval&, const ESICEEval&); -bool operator<(const ESICEEval&, const ESICEEval&); -bool operator<=(const ESICEEval&, const ESICEEval&); -bool operator>(const ESICEEval&, const ESICEEval&); -bool operator>=(const ESICEEval&, const ESICEEval&); - -} - -namespace IceInternal -{ - -void incRef(::IMSINNER::ESICEEval*); -void decRef(::IMSINNER::ESICEEval*); - -void incRef(::IceProxy::IMSINNER::ESICEEval*); -void decRef(::IceProxy::IMSINNER::ESICEEval*); - -} - -namespace IMSINNER -{ - -typedef ::IceInternal::Handle< ::IMSINNER::ESICEEval> ESICEEvalPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::IMSINNER::ESICEEval> ESICEEvalPrx; - -void __write(::IceInternal::BasicStream*, const ESICEEvalPrx&); -void __read(::IceInternal::BasicStream*, ESICEEvalPrx&); -void __write(::IceInternal::BasicStream*, const ESICEEvalPtr&); -void __patch__ESICEEvalPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const ESICEEvalPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const ESICEEvalPtr&); -void __decRefUnsafe(const ESICEEvalPtr&); -void __clearHandleUnsafe(ESICEEvalPtr&); - -} - -namespace IMSINNER -{ - -struct SICEESEval -{ - ::Ice::Int code; - ::std::string codename; - ::std::string welcome; - - bool operator==(const SICEESEval&) const; - bool operator!=(const SICEESEval&) const; - bool operator<(const SICEESEval&) const; - bool operator<=(const SICEESEval& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEESEval& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEESEval& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMSINNER::SICEESEval> SICEESEvalSeq; - -class __U__SICEESEvalSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SICEESEval*, const ::IMSINNER::SICEESEval*, __U__SICEESEvalSeq); -void __read(::IceInternal::BasicStream*, SICEESEvalSeq&, __U__SICEESEvalSeq); - -struct SICEESCode -{ - ::Ice::Int code; - ::std::string codename; - ::Ice::Int num; - - bool operator==(const SICEESCode&) const; - bool operator!=(const SICEESCode&) const; - bool operator<(const SICEESCode&) const; - bool operator<=(const SICEESCode& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEESCode& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEESCode& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMSINNER::SICEESCode> SICEESCodeSeq; - -class __U__SICEESCodeSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SICEESCode*, const ::IMSINNER::SICEESCode*, __U__SICEESCodeSeq); -void __read(::IceInternal::BasicStream*, SICEESCodeSeq&, __U__SICEESCodeSeq); - -struct SICEESEvalResult -{ - ::std::string uid; - ::Ice::Int sendNum; - ::Ice::Int receNum; - ::IMSINNER::SICEESCodeSeq codes; - - bool operator==(const SICEESEvalResult&) const; - bool operator!=(const SICEESEvalResult&) const; - bool operator<(const SICEESEvalResult&) const; - bool operator<=(const SICEESEvalResult& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEESEvalResult& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEESEvalResult& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMSINNER::SICEESEvalResult> SICEESEvalResultSeq; - -class __U__SICEESEvalResultSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SICEESEvalResult*, const ::IMSINNER::SICEESEvalResult*, __U__SICEESEvalResultSeq); -void __read(::IceInternal::BasicStream*, SICEESEvalResultSeq&, __U__SICEESEvalResultSeq); - -struct SICEESEvalResultEx -{ - ::std::string uid; - ::Ice::Int sendNum; - ::Ice::Int receNum; - ::IMSINNER::SICEESCodeSeq codes; - ::std::string evalDate; - - bool operator==(const SICEESEvalResultEx&) const; - bool operator!=(const SICEESEvalResultEx&) const; - bool operator<(const SICEESEvalResultEx&) const; - bool operator<=(const SICEESEvalResultEx& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEESEvalResultEx& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEESEvalResultEx& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMSINNER::SICEESEvalResultEx> SICEESEvalResultExSeq; - -class __U__SICEESEvalResultExSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SICEESEvalResultEx*, const ::IMSINNER::SICEESEvalResultEx*, __U__SICEESEvalResultExSeq); -void __read(::IceInternal::BasicStream*, SICEESEvalResultExSeq&, __U__SICEESEvalResultExSeq); - -} - -namespace IceProxy -{ - -namespace IMSINNER -{ - -class ESICEEval : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int setESEval(const ::std::string& uid, const ::std::string& evalcontent, const ::std::string& welcome) - { - return setESEval(uid, evalcontent, welcome, 0); - } - ::Ice::Int setESEval(const ::std::string& uid, const ::std::string& evalcontent, const ::std::string& welcome, const ::Ice::Context& __ctx) - { - return setESEval(uid, evalcontent, welcome, &__ctx); - } - -private: - - ::Ice::Int setESEval(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getESEval(const ::std::string& uid, ::std::string& evalcontent, ::std::string& welcome) - { - return getESEval(uid, evalcontent, welcome, 0); - } - ::Ice::Int getESEval(const ::std::string& uid, ::std::string& evalcontent, ::std::string& welcome, const ::Ice::Context& __ctx) - { - return getESEval(uid, evalcontent, welcome, &__ctx); - } - -private: - - ::Ice::Int getESEval(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int setESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, const ::std::string& evalresult) - { - return setESEvalResult(uid, buyerid, evalId, evalresult, 0); - } - ::Ice::Int setESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, const ::std::string& evalresult, const ::Ice::Context& __ctx) - { - return setESEvalResult(uid, buyerid, evalId, evalresult, &__ctx); - } - -private: - - ::Ice::Int setESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, ::std::string& evalresult, ::std::string& gmtcreate, ::std::string& gmtmodify) - { - return getESEvalResult(uid, buyerid, evalId, evalresult, gmtcreate, gmtmodify, 0); - } - ::Ice::Int getESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, ::std::string& evalresult, ::std::string& gmtcreate, ::std::string& gmtmodify, const ::Ice::Context& __ctx) - { - return getESEvalResult(uid, buyerid, evalId, evalresult, gmtcreate, gmtmodify, &__ctx); - } - -private: - - ::Ice::Int getESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getESEvalResultToday(const ::std::string& uid, ::IMSINNER::SICEESEvalResultSeq& evalInfos) - { - return getESEvalResultToday(uid, evalInfos, 0); - } - ::Ice::Int getESEvalResultToday(const ::std::string& uid, ::IMSINNER::SICEESEvalResultSeq& evalInfos, const ::Ice::Context& __ctx) - { - return getESEvalResultToday(uid, evalInfos, &__ctx); - } - -private: - - ::Ice::Int getESEvalResultToday(const ::std::string&, ::IMSINNER::SICEESEvalResultSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESEvalResultHistory(const ::std::string& uid, const ::std::string& querytime, ::IMSINNER::SICEESEvalResultSeq& evalInfos) - { - return getESEvalResultHistory(uid, querytime, evalInfos, 0); - } - ::Ice::Int getESEvalResultHistory(const ::std::string& uid, const ::std::string& querytime, ::IMSINNER::SICEESEvalResultSeq& evalInfos, const ::Ice::Context& __ctx) - { - return getESEvalResultHistory(uid, querytime, evalInfos, &__ctx); - } - -private: - - ::Ice::Int getESEvalResultHistory(const ::std::string&, const ::std::string&, ::IMSINNER::SICEESEvalResultSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESEvalResultHistorybypage(const ::std::string& uid, const ::std::string& childid, const ::std::string& begindate, const ::std::string& enddate, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& pagecount, ::IMSINNER::SICEESEvalResultExSeq& evalInfos) - { - return getESEvalResultHistorybypage(uid, childid, begindate, enddate, pageno, pagesize, pagecount, evalInfos, 0); - } - ::Ice::Int getESEvalResultHistorybypage(const ::std::string& uid, const ::std::string& childid, const ::std::string& begindate, const ::std::string& enddate, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& pagecount, ::IMSINNER::SICEESEvalResultExSeq& evalInfos, const ::Ice::Context& __ctx) - { - return getESEvalResultHistorybypage(uid, childid, begindate, enddate, pageno, pagesize, pagecount, evalInfos, &__ctx); - } - -private: - - ::Ice::Int getESEvalResultHistorybypage(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::IMSINNER::SICEESEvalResultExSeq&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace IMSINNER -{ - -class ESICEEval : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int setESEval(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESEval(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESEvalResultToday(const ::std::string&, ::IMSINNER::SICEESEvalResultSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESEvalResultHistory(const ::std::string&, const ::std::string&, ::IMSINNER::SICEESEvalResultSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESEvalResultHistorybypage(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::IMSINNER::SICEESEvalResultExSeq&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace IMSINNER -{ - -class ESICEEval : virtual public ::IceDelegate::IMSINNER::ESICEEval, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int setESEval(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getESEval(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResultToday(const ::std::string&, ::IMSINNER::SICEESEvalResultSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResultHistory(const ::std::string&, const ::std::string&, ::IMSINNER::SICEESEvalResultSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResultHistorybypage(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::IMSINNER::SICEESEvalResultExSeq&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace IMSINNER -{ - -class ESICEEval : virtual public ::IceDelegate::IMSINNER::ESICEEval, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int setESEval(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getESEval(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResultToday(const ::std::string&, ::IMSINNER::SICEESEvalResultSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResultHistory(const ::std::string&, const ::std::string&, ::IMSINNER::SICEESEvalResultSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESEvalResultHistorybypage(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::IMSINNER::SICEESEvalResultExSeq&, const ::Ice::Context*); -}; - -} - -} - -namespace IMSINNER -{ - -class ESICEEval : virtual public ::Ice::Object -{ -public: - - typedef ESICEEvalPrx ProxyType; - typedef ESICEEvalPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int setESEval(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setESEval(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESEval(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESEval(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setESEvalResult(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESEvalResult(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESEvalResultToday(const ::std::string&, ::IMSINNER::SICEESEvalResultSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESEvalResultToday(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESEvalResultHistory(const ::std::string&, const ::std::string&, ::IMSINNER::SICEESEvalResultSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESEvalResultHistory(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESEvalResultHistorybypage(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::IMSINNER::SICEESEvalResultExSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESEvalResultHistorybypage(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__ESICEEvalPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/es_expandarea_service.h b/features/aliww/include/es_expandarea_service.h deleted file mode 100644 index 66e993d..0000000 --- a/features/aliww/include/es_expandarea_service.h +++ /dev/null @@ -1,359 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `es_expandarea_service.ice' - -#ifndef __es_expandarea_service_h__ -#define __es_expandarea_service_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace IMSINNER -{ - -class ESICEExpandArea; -bool operator==(const ESICEExpandArea&, const ESICEExpandArea&); -bool operator!=(const ESICEExpandArea&, const ESICEExpandArea&); -bool operator<(const ESICEExpandArea&, const ESICEExpandArea&); -bool operator<=(const ESICEExpandArea&, const ESICEExpandArea&); -bool operator>(const ESICEExpandArea&, const ESICEExpandArea&); -bool operator>=(const ESICEExpandArea&, const ESICEExpandArea&); - -} - -} - -namespace IMSINNER -{ - -class ESICEExpandArea; -bool operator==(const ESICEExpandArea&, const ESICEExpandArea&); -bool operator!=(const ESICEExpandArea&, const ESICEExpandArea&); -bool operator<(const ESICEExpandArea&, const ESICEExpandArea&); -bool operator<=(const ESICEExpandArea&, const ESICEExpandArea&); -bool operator>(const ESICEExpandArea&, const ESICEExpandArea&); -bool operator>=(const ESICEExpandArea&, const ESICEExpandArea&); - -} - -namespace IceInternal -{ - -void incRef(::IMSINNER::ESICEExpandArea*); -void decRef(::IMSINNER::ESICEExpandArea*); - -void incRef(::IceProxy::IMSINNER::ESICEExpandArea*); -void decRef(::IceProxy::IMSINNER::ESICEExpandArea*); - -} - -namespace IMSINNER -{ - -typedef ::IceInternal::Handle< ::IMSINNER::ESICEExpandArea> ESICEExpandAreaPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::IMSINNER::ESICEExpandArea> ESICEExpandAreaPrx; - -void __write(::IceInternal::BasicStream*, const ESICEExpandAreaPrx&); -void __read(::IceInternal::BasicStream*, ESICEExpandAreaPrx&); -void __write(::IceInternal::BasicStream*, const ESICEExpandAreaPtr&); -void __patch__ESICEExpandAreaPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const ESICEExpandAreaPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const ESICEExpandAreaPtr&); -void __decRefUnsafe(const ESICEExpandAreaPtr&); -void __clearHandleUnsafe(ESICEExpandAreaPtr&); - -} - -namespace IMSINNER -{ - -struct SICEExpandArea -{ - ::Ice::Int id; - ::std::string areaname; - ::std::string url; - ::std::string picpath; - ::std::string createtime; - - bool operator==(const SICEExpandArea&) const; - bool operator!=(const SICEExpandArea&) const; - bool operator<(const SICEExpandArea&) const; - bool operator<=(const SICEExpandArea& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEExpandArea& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEExpandArea& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMSINNER::SICEExpandArea> SICEExpandAreaSeq; - -class __U__SICEExpandAreaSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SICEExpandArea*, const ::IMSINNER::SICEExpandArea*, __U__SICEExpandAreaSeq); -void __read(::IceInternal::BasicStream*, SICEExpandAreaSeq&, __U__SICEExpandAreaSeq); - -} - -namespace IceProxy -{ - -namespace IMSINNER -{ - -class ESICEExpandArea : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int getESExpandArea(const ::std::string& uid, ::IMSINNER::SICEExpandAreaSeq& areaInfos) - { - return getESExpandArea(uid, areaInfos, 0); - } - ::Ice::Int getESExpandArea(const ::std::string& uid, ::IMSINNER::SICEExpandAreaSeq& areaInfos, const ::Ice::Context& __ctx) - { - return getESExpandArea(uid, areaInfos, &__ctx); - } - -private: - - ::Ice::Int getESExpandArea(const ::std::string&, ::IMSINNER::SICEExpandAreaSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESExpandAreaById(const ::std::string& uid, ::Ice::Int id, ::IMSINNER::SICEExpandArea& areaInfos) - { - return getESExpandAreaById(uid, id, areaInfos, 0); - } - ::Ice::Int getESExpandAreaById(const ::std::string& uid, ::Ice::Int id, ::IMSINNER::SICEExpandArea& areaInfos, const ::Ice::Context& __ctx) - { - return getESExpandAreaById(uid, id, areaInfos, &__ctx); - } - -private: - - ::Ice::Int getESExpandAreaById(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEExpandArea&, const ::Ice::Context*); - -public: - - ::Ice::Int addESExpandArea(const ::std::string& uid, const ::IMSINNER::SICEExpandArea& areaInfo) - { - return addESExpandArea(uid, areaInfo, 0); - } - ::Ice::Int addESExpandArea(const ::std::string& uid, const ::IMSINNER::SICEExpandArea& areaInfo, const ::Ice::Context& __ctx) - { - return addESExpandArea(uid, areaInfo, &__ctx); - } - -private: - - ::Ice::Int addESExpandArea(const ::std::string&, const ::IMSINNER::SICEExpandArea&, const ::Ice::Context*); - -public: - - ::Ice::Int updateESExpandArea(const ::std::string& uid, const ::IMSINNER::SICEExpandArea& areaInfo) - { - return updateESExpandArea(uid, areaInfo, 0); - } - ::Ice::Int updateESExpandArea(const ::std::string& uid, const ::IMSINNER::SICEExpandArea& areaInfo, const ::Ice::Context& __ctx) - { - return updateESExpandArea(uid, areaInfo, &__ctx); - } - -private: - - ::Ice::Int updateESExpandArea(const ::std::string&, const ::IMSINNER::SICEExpandArea&, const ::Ice::Context*); - -public: - - ::Ice::Int delESExpandArea(const ::std::string& uid, ::Ice::Int id) - { - return delESExpandArea(uid, id, 0); - } - ::Ice::Int delESExpandArea(const ::std::string& uid, ::Ice::Int id, const ::Ice::Context& __ctx) - { - return delESExpandArea(uid, id, &__ctx); - } - -private: - - ::Ice::Int delESExpandArea(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace IMSINNER -{ - -class ESICEExpandArea : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int getESExpandArea(const ::std::string&, ::IMSINNER::SICEExpandAreaSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESExpandAreaById(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEExpandArea&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int addESExpandArea(const ::std::string&, const ::IMSINNER::SICEExpandArea&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateESExpandArea(const ::std::string&, const ::IMSINNER::SICEExpandArea&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int delESExpandArea(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace IMSINNER -{ - -class ESICEExpandArea : virtual public ::IceDelegate::IMSINNER::ESICEExpandArea, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int getESExpandArea(const ::std::string&, ::IMSINNER::SICEExpandAreaSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESExpandAreaById(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEExpandArea&, const ::Ice::Context*); - - virtual ::Ice::Int addESExpandArea(const ::std::string&, const ::IMSINNER::SICEExpandArea&, const ::Ice::Context*); - - virtual ::Ice::Int updateESExpandArea(const ::std::string&, const ::IMSINNER::SICEExpandArea&, const ::Ice::Context*); - - virtual ::Ice::Int delESExpandArea(const ::std::string&, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace IMSINNER -{ - -class ESICEExpandArea : virtual public ::IceDelegate::IMSINNER::ESICEExpandArea, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int getESExpandArea(const ::std::string&, ::IMSINNER::SICEExpandAreaSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESExpandAreaById(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEExpandArea&, const ::Ice::Context*); - - virtual ::Ice::Int addESExpandArea(const ::std::string&, const ::IMSINNER::SICEExpandArea&, const ::Ice::Context*); - - virtual ::Ice::Int updateESExpandArea(const ::std::string&, const ::IMSINNER::SICEExpandArea&, const ::Ice::Context*); - - virtual ::Ice::Int delESExpandArea(const ::std::string&, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace IMSINNER -{ - -class ESICEExpandArea : virtual public ::Ice::Object -{ -public: - - typedef ESICEExpandAreaPrx ProxyType; - typedef ESICEExpandAreaPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int getESExpandArea(const ::std::string&, ::IMSINNER::SICEExpandAreaSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESExpandArea(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESExpandAreaById(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEExpandArea&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESExpandAreaById(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int addESExpandArea(const ::std::string&, const ::IMSINNER::SICEExpandArea&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addESExpandArea(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateESExpandArea(const ::std::string&, const ::IMSINNER::SICEExpandArea&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateESExpandArea(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int delESExpandArea(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___delESExpandArea(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__ESICEExpandAreaPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/fdbrecent_pack.h b/features/aliww/include/fdbrecent_pack.h deleted file mode 100644 index e2fad5b..0000000 --- a/features/aliww/include/fdbrecent_pack.h +++ /dev/null @@ -1,119 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: fdbrecent_pack.h -// Date: 2011-01-30 12:48:58 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __FDBRECENT_PACK_H__ -#define __FDBRECENT_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "ss_head.h" -#include "const_macro.h" - -using namespace std; - -struct SFdbRecentNode -{ -public: - ~SFdbRecentNode() { } - SFdbRecentNode(const uint32_t& dwSendTime= 0, const uint32_t& dwRecvTime= 0, const uint32_t& dwValidTime= 0, const uint32_t& dwSendFlag= 0, const uint32_t& dwRecvFlag= 0, const uint32_t& dwStrangerflag= 0) - { - m_sendTime = dwSendTime; - m_recvTime = dwRecvTime; - m_validTime = dwValidTime; - m_sendFlag = dwSendFlag; - m_recvFlag = dwRecvFlag; - m_strangerflag = dwStrangerflag; - } - SFdbRecentNode& operator=( const SFdbRecentNode& sFdbRecentNode ) - { - m_sendTime = sFdbRecentNode.m_sendTime; - m_recvTime = sFdbRecentNode.m_recvTime; - m_validTime = sFdbRecentNode.m_validTime; - m_sendFlag = sFdbRecentNode.m_sendFlag; - m_recvFlag = sFdbRecentNode.m_recvFlag; - m_strangerflag = sFdbRecentNode.m_strangerflag; - return *this; - } - - uint32_t m_sendTime; - uint32_t m_recvTime; - uint32_t m_validTime; - uint32_t m_sendFlag; - uint32_t m_recvFlag; - uint32_t m_strangerflag; - -public: - uint32_t Size() const; -}; - -inline uint32_t SFdbRecentNode::Size() const -{ - return 31; -} -CPackData& operator<< ( CPackData& cPackData, const SFdbRecentNode& sFdbRecentNode ); -CPackData& operator>> ( CPackData& cPackData, SFdbRecentNode& sFdbRecentNode ); - -struct SFdbRecentMap -{ -public: - SFdbRecentMap() : m_ip(0), - m_chgTime(0), - m_loadTime(0) - { - } - - ~SFdbRecentMap() { } - SFdbRecentMap(const string& strPcid, const uint32_t& dwIp, const uint32_t& dwChgTime, const uint32_t& dwLoadTime, const map< string,SFdbRecentNode >& mapNodes) - { - m_pcid = strPcid; - m_ip = dwIp; - m_chgTime = dwChgTime; - m_loadTime = dwLoadTime; - m_nodes = mapNodes; - } - SFdbRecentMap& operator=( const SFdbRecentMap& sFdbRecentMap ) - { - m_pcid = sFdbRecentMap.m_pcid; - m_ip = sFdbRecentMap.m_ip; - m_chgTime = sFdbRecentMap.m_chgTime; - m_loadTime = sFdbRecentMap.m_loadTime; - m_nodes = sFdbRecentMap.m_nodes; - return *this; - } - - string m_pcid; - uint32_t m_ip; - uint32_t m_chgTime; - uint32_t m_loadTime; - map< string,SFdbRecentNode > m_nodes; - -public: - uint32_t Size() const; -}; - -inline uint32_t SFdbRecentMap::Size() const -{ - uint32_t nSize = 25; - nSize += m_pcid.length(); - nSize += m_nodes.size() * 4; - { - map< string,SFdbRecentNode >::const_iterator itr; - for(itr = m_nodes.begin(); itr != m_nodes.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.Size(); - } - } - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SFdbRecentMap& sFdbRecentMap ); -CPackData& operator>> ( CPackData& cPackData, SFdbRecentMap& sFdbRecentMap ); - -#endif diff --git a/features/aliww/include/ftservice.h b/features/aliww/include/ftservice.h deleted file mode 100644 index 862a6f1..0000000 --- a/features/aliww/include/ftservice.h +++ /dev/null @@ -1,364 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `ftservice.ice' - -#ifndef __ftservice_h__ -#define __ftservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace alliFTServer -{ - -class IFTService; -bool operator==(const IFTService&, const IFTService&); -bool operator!=(const IFTService&, const IFTService&); -bool operator<(const IFTService&, const IFTService&); -bool operator<=(const IFTService&, const IFTService&); -bool operator>(const IFTService&, const IFTService&); -bool operator>=(const IFTService&, const IFTService&); - -class IFTNewService; -bool operator==(const IFTNewService&, const IFTNewService&); -bool operator!=(const IFTNewService&, const IFTNewService&); -bool operator<(const IFTNewService&, const IFTNewService&); -bool operator<=(const IFTNewService&, const IFTNewService&); -bool operator>(const IFTNewService&, const IFTNewService&); -bool operator>=(const IFTNewService&, const IFTNewService&); - -} - -} - -namespace alliFTServer -{ - -class IFTService; -bool operator==(const IFTService&, const IFTService&); -bool operator!=(const IFTService&, const IFTService&); -bool operator<(const IFTService&, const IFTService&); -bool operator<=(const IFTService&, const IFTService&); -bool operator>(const IFTService&, const IFTService&); -bool operator>=(const IFTService&, const IFTService&); - -class IFTNewService; -bool operator==(const IFTNewService&, const IFTNewService&); -bool operator!=(const IFTNewService&, const IFTNewService&); -bool operator<(const IFTNewService&, const IFTNewService&); -bool operator<=(const IFTNewService&, const IFTNewService&); -bool operator>(const IFTNewService&, const IFTNewService&); -bool operator>=(const IFTNewService&, const IFTNewService&); - -} - -namespace IceInternal -{ - -void incRef(::alliFTServer::IFTService*); -void decRef(::alliFTServer::IFTService*); - -void incRef(::IceProxy::alliFTServer::IFTService*); -void decRef(::IceProxy::alliFTServer::IFTService*); - -void incRef(::alliFTServer::IFTNewService*); -void decRef(::alliFTServer::IFTNewService*); - -void incRef(::IceProxy::alliFTServer::IFTNewService*); -void decRef(::IceProxy::alliFTServer::IFTNewService*); - -} - -namespace alliFTServer -{ - -typedef ::IceInternal::Handle< ::alliFTServer::IFTService> IFTServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::alliFTServer::IFTService> IFTServicePrx; - -void __write(::IceInternal::BasicStream*, const IFTServicePrx&); -void __read(::IceInternal::BasicStream*, IFTServicePrx&); -void __write(::IceInternal::BasicStream*, const IFTServicePtr&); -void __patch__IFTServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IFTServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IFTServicePtr&); -void __decRefUnsafe(const IFTServicePtr&); -void __clearHandleUnsafe(IFTServicePtr&); - -typedef ::IceInternal::Handle< ::alliFTServer::IFTNewService> IFTNewServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::alliFTServer::IFTNewService> IFTNewServicePrx; - -void __write(::IceInternal::BasicStream*, const IFTNewServicePrx&); -void __read(::IceInternal::BasicStream*, IFTNewServicePrx&); -void __write(::IceInternal::BasicStream*, const IFTNewServicePtr&); -void __patch__IFTNewServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IFTNewServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IFTNewServicePtr&); -void __decRefUnsafe(const IFTNewServicePtr&); -void __clearHandleUnsafe(IFTNewServicePtr&); - -} - -namespace alliFTServer -{ - -} - -namespace IceProxy -{ - -namespace alliFTServer -{ - -class IFTService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int getServiceInfo(const ::std::string& senduid, const ::std::string& touid, ::std::string& srvIp, ::Ice::Short& srvPort) - { - return getServiceInfo(senduid, touid, srvIp, srvPort, 0); - } - ::Ice::Int getServiceInfo(const ::std::string& senduid, const ::std::string& touid, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context& __ctx) - { - return getServiceInfo(senduid, touid, srvIp, srvPort, &__ctx); - } - -private: - - ::Ice::Int getServiceInfo(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - -public: - - ::Ice::Int getTietuServiceInfo(const ::std::string& senduid, ::Ice::Int& sessionSum, ::std::string& srvIp, ::Ice::Short& srvPort) - { - return getTietuServiceInfo(senduid, sessionSum, srvIp, srvPort, 0); - } - ::Ice::Int getTietuServiceInfo(const ::std::string& senduid, ::Ice::Int& sessionSum, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context& __ctx) - { - return getTietuServiceInfo(senduid, sessionSum, srvIp, srvPort, &__ctx); - } - -private: - - ::Ice::Int getTietuServiceInfo(const ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -class IFTNewService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int getAddr(::Ice::Short _cpp_typeid, const ::std::string& senduid, ::Ice::Long& ftsid, ::std::string& srvIp, ::Ice::Short& srvProt) - { - return getAddr(_cpp_typeid, senduid, ftsid, srvIp, srvProt, 0); - } - ::Ice::Int getAddr(::Ice::Short _cpp_typeid, const ::std::string& senduid, ::Ice::Long& ftsid, ::std::string& srvIp, ::Ice::Short& srvProt, const ::Ice::Context& __ctx) - { - return getAddr(_cpp_typeid, senduid, ftsid, srvIp, srvProt, &__ctx); - } - -private: - - ::Ice::Int getAddr(::Ice::Short, const ::std::string&, ::Ice::Long&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace alliFTServer -{ - -class IFTService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int getServiceInfo(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getTietuServiceInfo(const ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Short&, const ::Ice::Context*) = 0; -}; - -class IFTNewService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int getAddr(::Ice::Short, const ::std::string&, ::Ice::Long&, ::std::string&, ::Ice::Short&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace alliFTServer -{ - -class IFTService : virtual public ::IceDelegate::alliFTServer::IFTService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int getServiceInfo(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int getTietuServiceInfo(const ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); -}; - -class IFTNewService : virtual public ::IceDelegate::alliFTServer::IFTNewService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int getAddr(::Ice::Short, const ::std::string&, ::Ice::Long&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace alliFTServer -{ - -class IFTService : virtual public ::IceDelegate::alliFTServer::IFTService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int getServiceInfo(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); - - virtual ::Ice::Int getTietuServiceInfo(const ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); -}; - -class IFTNewService : virtual public ::IceDelegate::alliFTServer::IFTNewService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int getAddr(::Ice::Short, const ::std::string&, ::Ice::Long&, ::std::string&, ::Ice::Short&, const ::Ice::Context*); -}; - -} - -} - -namespace alliFTServer -{ - -class IFTService : virtual public ::Ice::Object -{ -public: - - typedef IFTServicePrx ProxyType; - typedef IFTServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int getServiceInfo(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getServiceInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getTietuServiceInfo(const ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Short&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getTietuServiceInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IFTServicePtr(void*, ::Ice::ObjectPtr&); - -class IFTNewService : virtual public ::Ice::Object -{ -public: - - typedef IFTNewServicePrx ProxyType; - typedef IFTNewServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int getAddr(::Ice::Short, const ::std::string&, ::Ice::Long&, ::std::string&, ::Ice::Short&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getAddr(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IFTNewServicePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/get_bind_list.h b/features/aliww/include/get_bind_list.h deleted file mode 100644 index ffc5fd3..0000000 --- a/features/aliww/include/get_bind_list.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: get_bind_list.h - * - * Description: - * - * Version: 1.0 - * Created: 2011å¹´01月07æ—¥ 15æ—¶44分43秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ - -#ifndef GET_BIND_LIST_H -#define GET_BIND_LIST_H -#include -using namespace std; - -void *get_bind_list_init(void* p); -void *get_bind_list_act(void* p); -void *get_bind_list_end(void* p); - -#endif diff --git a/features/aliww/include/imcntlcacheservice.h b/features/aliww/include/imcntlcacheservice.h deleted file mode 100644 index 9729662..0000000 --- a/features/aliww/include/imcntlcacheservice.h +++ /dev/null @@ -1,349 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `imcntlcacheservice.ice' - -#ifndef __imcntlcacheservice_h__ -#define __imcntlcacheservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class IUserCntLCacheService; -bool operator==(const IUserCntLCacheService&, const IUserCntLCacheService&); -bool operator!=(const IUserCntLCacheService&, const IUserCntLCacheService&); -bool operator<(const IUserCntLCacheService&, const IUserCntLCacheService&); -bool operator<=(const IUserCntLCacheService&, const IUserCntLCacheService&); -bool operator>(const IUserCntLCacheService&, const IUserCntLCacheService&); -bool operator>=(const IUserCntLCacheService&, const IUserCntLCacheService&); - -} - -} - -namespace AliIM -{ - -class IUserCntLCacheService; -bool operator==(const IUserCntLCacheService&, const IUserCntLCacheService&); -bool operator!=(const IUserCntLCacheService&, const IUserCntLCacheService&); -bool operator<(const IUserCntLCacheService&, const IUserCntLCacheService&); -bool operator<=(const IUserCntLCacheService&, const IUserCntLCacheService&); -bool operator>(const IUserCntLCacheService&, const IUserCntLCacheService&); -bool operator>=(const IUserCntLCacheService&, const IUserCntLCacheService&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::IUserCntLCacheService*); -void decRef(::AliIM::IUserCntLCacheService*); - -void incRef(::IceProxy::AliIM::IUserCntLCacheService*); -void decRef(::IceProxy::AliIM::IUserCntLCacheService*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::IUserCntLCacheService> IUserCntLCacheServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::IUserCntLCacheService> IUserCntLCacheServicePrx; - -void __write(::IceInternal::BasicStream*, const IUserCntLCacheServicePrx&); -void __read(::IceInternal::BasicStream*, IUserCntLCacheServicePrx&); -void __write(::IceInternal::BasicStream*, const IUserCntLCacheServicePtr&); -void __patch__IUserCntLCacheServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IUserCntLCacheServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IUserCntLCacheServicePtr&); -void __decRefUnsafe(const IUserCntLCacheServicePtr&); -void __clearHandleUnsafe(IUserCntLCacheServicePtr&); - -} - -namespace AliIM -{ - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class IUserCntLCacheService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int getUserCntTimeStamps(const ::std::string& longuid, ::Ice::Int& cnttimes) - { - return getUserCntTimeStamps(longuid, cnttimes, 0); - } - ::Ice::Int getUserCntTimeStamps(const ::std::string& longuid, ::Ice::Int& cnttimes, const ::Ice::Context& __ctx) - { - return getUserCntTimeStamps(longuid, cnttimes, &__ctx); - } - -private: - - ::Ice::Int getUserCntTimeStamps(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int removeUser(const ::std::string& longuid) - { - return removeUser(longuid, 0); - } - ::Ice::Int removeUser(const ::std::string& longuid, const ::Ice::Context& __ctx) - { - return removeUser(longuid, &__ctx); - } - -private: - - ::Ice::Int removeUser(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int backupUserContacts(const ::std::string& longuid, ::Ice::Int cnttimes, const ::Ice::StringSeq& cntids) - { - return backupUserContacts(longuid, cnttimes, cntids, 0); - } - ::Ice::Int backupUserContacts(const ::std::string& longuid, ::Ice::Int cnttimes, const ::Ice::StringSeq& cntids, const ::Ice::Context& __ctx) - { - return backupUserContacts(longuid, cnttimes, cntids, &__ctx); - } - -private: - - ::Ice::Int backupUserContacts(const ::std::string&, ::Ice::Int, const ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getBackupedUserContacts(const ::std::string& longuid, ::Ice::Int& cnttimes, ::Ice::StringSeq& cntids) - { - return getBackupedUserContacts(longuid, cnttimes, cntids, 0); - } - ::Ice::Int getBackupedUserContacts(const ::std::string& longuid, ::Ice::Int& cnttimes, ::Ice::StringSeq& cntids, const ::Ice::Context& __ctx) - { - return getBackupedUserContacts(longuid, cnttimes, cntids, &__ctx); - } - -private: - - ::Ice::Int getBackupedUserContacts(const ::std::string&, ::Ice::Int&, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int addUserContact(const ::std::string& longuid, ::Ice::Int cnttimes, const ::std::string& cntid) - { - return addUserContact(longuid, cnttimes, cntid, 0); - } - ::Ice::Int addUserContact(const ::std::string& longuid, ::Ice::Int cnttimes, const ::std::string& cntid, const ::Ice::Context& __ctx) - { - return addUserContact(longuid, cnttimes, cntid, &__ctx); - } - -private: - - ::Ice::Int addUserContact(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int delUserContact(const ::std::string& longuid, ::Ice::Int cnttimes, const ::std::string& cntid) - { - return delUserContact(longuid, cnttimes, cntid, 0); - } - ::Ice::Int delUserContact(const ::std::string& longuid, ::Ice::Int cnttimes, const ::std::string& cntid, const ::Ice::Context& __ctx) - { - return delUserContact(longuid, cnttimes, cntid, &__ctx); - } - -private: - - ::Ice::Int delUserContact(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class IUserCntLCacheService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int getUserCntTimeStamps(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int removeUser(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int backupUserContacts(const ::std::string&, ::Ice::Int, const ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getBackupedUserContacts(const ::std::string&, ::Ice::Int&, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int addUserContact(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int delUserContact(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class IUserCntLCacheService : virtual public ::IceDelegate::AliIM::IUserCntLCacheService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int getUserCntTimeStamps(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int removeUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int backupUserContacts(const ::std::string&, ::Ice::Int, const ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getBackupedUserContacts(const ::std::string&, ::Ice::Int&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int addUserContact(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int delUserContact(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class IUserCntLCacheService : virtual public ::IceDelegate::AliIM::IUserCntLCacheService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int getUserCntTimeStamps(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int removeUser(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int backupUserContacts(const ::std::string&, ::Ice::Int, const ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getBackupedUserContacts(const ::std::string&, ::Ice::Int&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int addUserContact(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int delUserContact(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class IUserCntLCacheService : virtual public ::Ice::Object -{ -public: - - typedef IUserCntLCacheServicePrx ProxyType; - typedef IUserCntLCacheServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int getUserCntTimeStamps(const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserCntTimeStamps(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int removeUser(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___removeUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int backupUserContacts(const ::std::string&, ::Ice::Int, const ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___backupUserContacts(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getBackupedUserContacts(const ::std::string&, ::Ice::Int&, ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getBackupedUserContacts(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int addUserContact(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addUserContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int delUserContact(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___delUserContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IUserCntLCacheServicePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/imcontrol_service.h b/features/aliww/include/imcontrol_service.h deleted file mode 100644 index 10c9e88..0000000 --- a/features/aliww/include/imcontrol_service.h +++ /dev/null @@ -1,354 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `imcontrol_service.ice' - -#ifndef __imcontrol_service_h__ -#define __imcontrol_service_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace IMCoreControlService -{ - -class IMSecControlService; -bool operator==(const IMSecControlService&, const IMSecControlService&); -bool operator!=(const IMSecControlService&, const IMSecControlService&); -bool operator<(const IMSecControlService&, const IMSecControlService&); -bool operator<=(const IMSecControlService&, const IMSecControlService&); -bool operator>(const IMSecControlService&, const IMSecControlService&); -bool operator>=(const IMSecControlService&, const IMSecControlService&); - -} - -} - -namespace IMCoreControlService -{ - -class IMSecControlService; -bool operator==(const IMSecControlService&, const IMSecControlService&); -bool operator!=(const IMSecControlService&, const IMSecControlService&); -bool operator<(const IMSecControlService&, const IMSecControlService&); -bool operator<=(const IMSecControlService&, const IMSecControlService&); -bool operator>(const IMSecControlService&, const IMSecControlService&); -bool operator>=(const IMSecControlService&, const IMSecControlService&); - -} - -namespace IceInternal -{ - -void incRef(::IMCoreControlService::IMSecControlService*); -void decRef(::IMCoreControlService::IMSecControlService*); - -void incRef(::IceProxy::IMCoreControlService::IMSecControlService*); -void decRef(::IceProxy::IMCoreControlService::IMSecControlService*); - -} - -namespace IMCoreControlService -{ - -typedef ::IceInternal::Handle< ::IMCoreControlService::IMSecControlService> IMSecControlServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::IMCoreControlService::IMSecControlService> IMSecControlServicePrx; - -void __write(::IceInternal::BasicStream*, const IMSecControlServicePrx&); -void __read(::IceInternal::BasicStream*, IMSecControlServicePrx&); -void __write(::IceInternal::BasicStream*, const IMSecControlServicePtr&); -void __patch__IMSecControlServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IMSecControlServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IMSecControlServicePtr&); -void __decRefUnsafe(const IMSecControlServicePtr&); -void __clearHandleUnsafe(IMSecControlServicePtr&); - -} - -namespace IMCoreControlService -{ - -typedef ::std::map< ::std::string, ::std::string> KVPair; - -class __U__KVPair { }; -void __write(::IceInternal::BasicStream*, const KVPair&, __U__KVPair); -void __read(::IceInternal::BasicStream*, KVPair&, __U__KVPair); - -} - -namespace IceProxy -{ - -namespace IMCoreControlService -{ - -class IMSecControlService : virtual public ::IceProxy::Ice::Object -{ -public: - - bool filterMsg(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs) - { - return filterMsg(fromid, toid, actdgree, ip, msg, extraattrs, 0); - } - bool filterMsg(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, const ::Ice::Context& __ctx) - { - return filterMsg(fromid, toid, actdgree, ip, msg, extraattrs, &__ctx); - } - -private: - - bool filterMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::Ice::Context*); - -public: - - bool filterMsg2(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, ::std::string& newmsg) - { - return filterMsg2(fromid, toid, actdgree, ip, msg, extraattrs, newmsg, 0); - } - bool filterMsg2(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, ::std::string& newmsg, const ::Ice::Context& __ctx) - { - return filterMsg2(fromid, toid, actdgree, ip, msg, extraattrs, newmsg, &__ctx); - } - -private: - - bool filterMsg2(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, ::std::string&, const ::Ice::Context*); - -public: - - bool filterMsgByFlag(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, const ::std::string& checkmap) - { - return filterMsgByFlag(fromid, toid, actdgree, ip, msg, extraattrs, checkmap, 0); - } - bool filterMsgByFlag(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, const ::std::string& checkmap, const ::Ice::Context& __ctx) - { - return filterMsgByFlag(fromid, toid, actdgree, ip, msg, extraattrs, checkmap, &__ctx); - } - -private: - - bool filterMsgByFlag(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::std::string&, const ::Ice::Context*); - -public: - - bool checkOPAccess(const ::std::string& uid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& packdata, const ::IMCoreControlService::KVPair& extraattrs) - { - return checkOPAccess(uid, actdgree, ip, packdata, extraattrs, 0); - } - bool checkOPAccess(const ::std::string& uid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& packdata, const ::IMCoreControlService::KVPair& extraattrs, const ::Ice::Context& __ctx) - { - return checkOPAccess(uid, actdgree, ip, packdata, extraattrs, &__ctx); - } - -private: - - bool checkOPAccess(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::Ice::Context*); - -public: - - void writeAQLog(const ::std::string& data) - { - writeAQLog(data, 0); - } - void writeAQLog(const ::std::string& data, const ::Ice::Context& __ctx) - { - writeAQLog(data, &__ctx); - } - -private: - - void writeAQLog(const ::std::string&, const ::Ice::Context*); - -public: - - bool checkControlAccess(const ::std::string& uid, ::Ice::Int actdegree, const ::std::string& ip, const ::std::string& version, ::Ice::Int checktype, const ::IMCoreControlService::KVPair& extraattrs) - { - return checkControlAccess(uid, actdegree, ip, version, checktype, extraattrs, 0); - } - bool checkControlAccess(const ::std::string& uid, ::Ice::Int actdegree, const ::std::string& ip, const ::std::string& version, ::Ice::Int checktype, const ::IMCoreControlService::KVPair& extraattrs, const ::Ice::Context& __ctx) - { - return checkControlAccess(uid, actdegree, ip, version, checktype, extraattrs, &__ctx); - } - -private: - - bool checkControlAccess(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int, const ::IMCoreControlService::KVPair&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace IMCoreControlService -{ - -class IMSecControlService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual bool filterMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::Ice::Context*) = 0; - - virtual bool filterMsg2(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, ::std::string&, const ::Ice::Context*) = 0; - - virtual bool filterMsgByFlag(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual bool checkOPAccess(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::Ice::Context*) = 0; - - virtual void writeAQLog(const ::std::string&, const ::Ice::Context*) = 0; - - virtual bool checkControlAccess(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int, const ::IMCoreControlService::KVPair&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace IMCoreControlService -{ - -class IMSecControlService : virtual public ::IceDelegate::IMCoreControlService::IMSecControlService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual bool filterMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::Ice::Context*); - - virtual bool filterMsg2(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, ::std::string&, const ::Ice::Context*); - - virtual bool filterMsgByFlag(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::std::string&, const ::Ice::Context*); - - virtual bool checkOPAccess(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::Ice::Context*); - - virtual void writeAQLog(const ::std::string&, const ::Ice::Context*); - - virtual bool checkControlAccess(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int, const ::IMCoreControlService::KVPair&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace IMCoreControlService -{ - -class IMSecControlService : virtual public ::IceDelegate::IMCoreControlService::IMSecControlService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual bool filterMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::Ice::Context*); - - virtual bool filterMsg2(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, ::std::string&, const ::Ice::Context*); - - virtual bool filterMsgByFlag(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::std::string&, const ::Ice::Context*); - - virtual bool checkOPAccess(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::Ice::Context*); - - virtual void writeAQLog(const ::std::string&, const ::Ice::Context*); - - virtual bool checkControlAccess(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int, const ::IMCoreControlService::KVPair&, const ::Ice::Context*); -}; - -} - -} - -namespace IMCoreControlService -{ - -class IMSecControlService : virtual public ::Ice::Object -{ -public: - - typedef IMSecControlServicePrx ProxyType; - typedef IMSecControlServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual bool filterMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___filterMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual bool filterMsg2(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___filterMsg2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual bool filterMsgByFlag(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___filterMsgByFlag(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual bool checkOPAccess(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::IMCoreControlService::KVPair&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkOPAccess(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void writeAQLog(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___writeAQLog(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual bool checkControlAccess(const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int, const ::IMCoreControlService::KVPair&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkControlAccess(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IMSecControlServicePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/imicecommstruct.h b/features/aliww/include/imicecommstruct.h deleted file mode 100644 index 0b6901e..0000000 --- a/features/aliww/include/imicecommstruct.h +++ /dev/null @@ -1,117 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `imicecommstruct.ice' - -#ifndef __imicecommstruct_h__ -#define __imicecommstruct_h__ - -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace AliIMInterface -{ - -typedef ::std::map< ::std::string, ::std::string> KVMAP; - -class __U__KVMAP { }; -void __write(::IceInternal::BasicStream*, const KVMAP&, __U__KVMAP); -void __read(::IceInternal::BasicStream*, KVMAP&, __U__KVMAP); - -struct SWebBindId -{ - ::std::string prefix; - ::std::string webid; - bool bIMBind; - - bool operator==(const SWebBindId&) const; - bool operator!=(const SWebBindId&) const; - bool operator<(const SWebBindId&) const; - bool operator<=(const SWebBindId& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SWebBindId& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SWebBindId& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMInterface::SWebBindId> SWebBindIdSeq; - -class __U__SWebBindIdSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMInterface::SWebBindId*, const ::AliIMInterface::SWebBindId*, __U__SWebBindIdSeq); -void __read(::IceInternal::BasicStream*, SWebBindIdSeq&, __U__SWebBindIdSeq); - -struct SWanghaoWebBindId -{ - ::std::string id; - ::AliIMInterface::SWebBindIdSeq webids; - - bool operator==(const SWanghaoWebBindId&) const; - bool operator!=(const SWanghaoWebBindId&) const; - bool operator<(const SWanghaoWebBindId&) const; - bool operator<=(const SWanghaoWebBindId& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SWanghaoWebBindId& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SWanghaoWebBindId& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIMInterface::SWanghaoWebBindId> SWanghaoWebBindIdSeq; - -class __U__SWanghaoWebBindIdSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMInterface::SWanghaoWebBindId*, const ::AliIMInterface::SWanghaoWebBindId*, __U__SWanghaoWebBindIdSeq); -void __read(::IceInternal::BasicStream*, SWanghaoWebBindIdSeq&, __U__SWanghaoWebBindIdSeq); - -typedef ::std::vector< ::AliIMInterface::KVMAP> KVMAPSeq; - -class __U__KVMAPSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIMInterface::KVMAP*, const ::AliIMInterface::KVMAP*, __U__KVMAPSeq); -void __read(::IceInternal::BasicStream*, KVMAPSeq&, __U__KVMAPSeq); - -} - -#endif diff --git a/features/aliww/include/ims_ice_service.h b/features/aliww/include/ims_ice_service.h deleted file mode 100644 index 898c089..0000000 --- a/features/aliww/include/ims_ice_service.h +++ /dev/null @@ -1,1744 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `ims_ice_service.ice' - -#ifndef __ims_ice_service_h__ -#define __ims_ice_service_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace IMSINNER -{ - -class IMSICEService; -bool operator==(const IMSICEService&, const IMSICEService&); -bool operator!=(const IMSICEService&, const IMSICEService&); -bool operator<(const IMSICEService&, const IMSICEService&); -bool operator<=(const IMSICEService&, const IMSICEService&); -bool operator>(const IMSICEService&, const IMSICEService&); -bool operator>=(const IMSICEService&, const IMSICEService&); - -} - -} - -namespace IMSINNER -{ - -class IMSICEService; -bool operator==(const IMSICEService&, const IMSICEService&); -bool operator!=(const IMSICEService&, const IMSICEService&); -bool operator<(const IMSICEService&, const IMSICEService&); -bool operator<=(const IMSICEService&, const IMSICEService&); -bool operator>(const IMSICEService&, const IMSICEService&); -bool operator>=(const IMSICEService&, const IMSICEService&); - -} - -namespace IceInternal -{ - -void incRef(::IMSINNER::IMSICEService*); -void decRef(::IMSINNER::IMSICEService*); - -void incRef(::IceProxy::IMSINNER::IMSICEService*); -void decRef(::IceProxy::IMSINNER::IMSICEService*); - -} - -namespace IMSINNER -{ - -typedef ::IceInternal::Handle< ::IMSINNER::IMSICEService> IMSICEServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::IMSINNER::IMSICEService> IMSICEServicePrx; - -void __write(::IceInternal::BasicStream*, const IMSICEServicePrx&); -void __read(::IceInternal::BasicStream*, IMSICEServicePrx&); -void __write(::IceInternal::BasicStream*, const IMSICEServicePtr&); -void __patch__IMSICEServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IMSICEServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IMSICEServicePtr&); -void __decRefUnsafe(const IMSICEServicePtr&); -void __clearHandleUnsafe(IMSICEServicePtr&); - -} - -namespace IMSINNER -{ - -struct SHMSBuddyStatus -{ - ::std::string uid; - ::Ice::Short onlinestatus; - ::Ice::Short servicestatus; - ::Ice::Int status; - ::Ice::Int totalnum; - ::Ice::Int daynum; - - bool operator==(const SHMSBuddyStatus&) const; - bool operator!=(const SHMSBuddyStatus&) const; - bool operator<(const SHMSBuddyStatus&) const; - bool operator<=(const SHMSBuddyStatus& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SHMSBuddyStatus& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SHMSBuddyStatus& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SHMSBuddyStatus6 -{ - ::std::string childid; - ::std::string childnick; - ::Ice::Short basicstatus; - ::Ice::Short predefstatus; - ::Ice::Short servicestatus; - ::Ice::Int maxservice; - ::Ice::Int curservice; - ::Ice::Int version; - - bool operator==(const SHMSBuddyStatus6&) const; - bool operator!=(const SHMSBuddyStatus6&) const; - bool operator<(const SHMSBuddyStatus6&) const; - bool operator<=(const SHMSBuddyStatus6& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SHMSBuddyStatus6& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SHMSBuddyStatus6& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SICEReceptNum -{ - ::std::string eserviceid; - ::Ice::Int receptnum; - - bool operator==(const SICEReceptNum&) const; - bool operator!=(const SICEReceptNum&) const; - bool operator<(const SICEReceptNum&) const; - bool operator<=(const SICEReceptNum& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEReceptNum& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEReceptNum& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMSINNER::SICEReceptNum> SICEReceptNumSeq; - -class __U__SICEReceptNumSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SICEReceptNum*, const ::IMSINNER::SICEReceptNum*, __U__SICEReceptNumSeq); -void __read(::IceInternal::BasicStream*, SICEReceptNumSeq&, __U__SICEReceptNumSeq); - -struct SICEReceptStatus -{ - ::std::string eserviceid; - ::Ice::Int receptnumNow; - ::Ice::Int receptnumMax; - ::Ice::Int receptnumDaily; - - bool operator==(const SICEReceptStatus&) const; - bool operator!=(const SICEReceptStatus&) const; - bool operator<(const SICEReceptStatus&) const; - bool operator<=(const SICEReceptStatus& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEReceptStatus& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEReceptStatus& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMSINNER::SICEReceptStatus> SICEReceptStatusSeq; - -class __U__SICEReceptStatusSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SICEReceptStatus*, const ::IMSINNER::SICEReceptStatus*, __U__SICEReceptStatusSeq); -void __read(::IceInternal::BasicStream*, SICEReceptStatusSeq&, __U__SICEReceptStatusSeq); - -struct SICEReceptPriority -{ - ::std::string eserviceid; - ::Ice::Int receptpriority; - - bool operator==(const SICEReceptPriority&) const; - bool operator!=(const SICEReceptPriority&) const; - bool operator<(const SICEReceptPriority&) const; - bool operator<=(const SICEReceptPriority& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEReceptPriority& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEReceptPriority& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMSINNER::SICEReceptPriority> SICEReceptPrioritySeq; - -class __U__SICEReceptPrioritySeq { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SICEReceptPriority*, const ::IMSINNER::SICEReceptPriority*, __U__SICEReceptPrioritySeq); -void __read(::IceInternal::BasicStream*, SICEReceptPrioritySeq&, __U__SICEReceptPrioritySeq); - -struct SICERecvOffMsg -{ - ::std::string eserviceid; - ::Ice::Int recvoffmsg; - - bool operator==(const SICERecvOffMsg&) const; - bool operator!=(const SICERecvOffMsg&) const; - bool operator<(const SICERecvOffMsg&) const; - bool operator<=(const SICERecvOffMsg& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICERecvOffMsg& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICERecvOffMsg& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMSINNER::SICERecvOffMsg> SICERecvOffMsgSeq; - -class __U__SICERecvOffMsgSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SICERecvOffMsg*, const ::IMSINNER::SICERecvOffMsg*, __U__SICERecvOffMsgSeq); -void __read(::IceInternal::BasicStream*, SICERecvOffMsgSeq&, __U__SICERecvOffMsgSeq); - -struct SICEESGroupInfo -{ - ::std::string groupName; - ::Ice::Int groupId; - ::std::string adminId; - ::Ice::StringSeq eservicelist; - - bool operator==(const SICEESGroupInfo&) const; - bool operator!=(const SICEESGroupInfo&) const; - bool operator<(const SICEESGroupInfo&) const; - bool operator<=(const SICEESGroupInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEESGroupInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEESGroupInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMSINNER::SICEESGroupInfo> SICEESGroupInfoSeq; - -class __U__SICEESGroupInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SICEESGroupInfo*, const ::IMSINNER::SICEESGroupInfo*, __U__SICEESGroupInfoSeq); -void __read(::IceInternal::BasicStream*, SICEESGroupInfoSeq&, __U__SICEESGroupInfoSeq); - -struct SICEBaseGroupInfo -{ - ::std::string groupName; - ::Ice::Int groupId; - ::std::string adminId; - - bool operator==(const SICEBaseGroupInfo&) const; - bool operator!=(const SICEBaseGroupInfo&) const; - bool operator<(const SICEBaseGroupInfo&) const; - bool operator<=(const SICEBaseGroupInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEBaseGroupInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEBaseGroupInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMSINNER::SHMSBuddyStatus> SHMSBuddyStatusSeq; - -class __U__SHMSBuddyStatusSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SHMSBuddyStatus*, const ::IMSINNER::SHMSBuddyStatus*, __U__SHMSBuddyStatusSeq); -void __read(::IceInternal::BasicStream*, SHMSBuddyStatusSeq&, __U__SHMSBuddyStatusSeq); - -struct SICEChildShuntInfo -{ - ::std::string childId; - ::std::string groupName; - ::Ice::Int groupId; - ::std::string needUseOnline; - ::std::string shuntInfo; - - bool operator==(const SICEChildShuntInfo&) const; - bool operator!=(const SICEChildShuntInfo&) const; - bool operator<(const SICEChildShuntInfo&) const; - bool operator<=(const SICEChildShuntInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICEChildShuntInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICEChildShuntInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMSINNER::SICEChildShuntInfo> SICEChildShuntInfoSeq; - -class __U__SICEChildShuntInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SICEChildShuntInfo*, const ::IMSINNER::SICEChildShuntInfo*, __U__SICEChildShuntInfoSeq); -void __read(::IceInternal::BasicStream*, SICEChildShuntInfoSeq&, __U__SICEChildShuntInfoSeq); - -typedef ::std::vector< ::IMSINNER::SHMSBuddyStatus6> SHMSBuddyStatusSeq6; - -class __U__SHMSBuddyStatusSeq6 { }; -void __write(::IceInternal::BasicStream*, const ::IMSINNER::SHMSBuddyStatus6*, const ::IMSINNER::SHMSBuddyStatus6*, __U__SHMSBuddyStatusSeq6); -void __read(::IceInternal::BasicStream*, SHMSBuddyStatusSeq6&, __U__SHMSBuddyStatusSeq6); - -} - -namespace IceProxy -{ - -namespace IMSINNER -{ - -class IMSICEService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int getLastVisit(const ::std::string& host, const ::std::string& visitor, ::std::string& hostess) - { - return getLastVisit(host, visitor, hostess, 0); - } - ::Ice::Int getLastVisit(const ::std::string& host, const ::std::string& visitor, ::std::string& hostess, const ::Ice::Context& __ctx) - { - return getLastVisit(host, visitor, hostess, &__ctx); - } - -private: - - ::Ice::Int getLastVisit(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int setShareContact(const ::std::string& uid, const ::Ice::StringSeq& cids, ::Ice::Int value) - { - return setShareContact(uid, cids, value, 0); - } - ::Ice::Int setShareContact(const ::std::string& uid, const ::Ice::StringSeq& cids, ::Ice::Int value, const ::Ice::Context& __ctx) - { - return setShareContact(uid, cids, value, &__ctx); - } - -private: - - ::Ice::Int setShareContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int clearLastVisit(const ::std::string& host, const ::std::string& visitor) - { - return clearLastVisit(host, visitor, 0); - } - ::Ice::Int clearLastVisit(const ::std::string& host, const ::std::string& visitor, const ::Ice::Context& __ctx) - { - return clearLastVisit(host, visitor, &__ctx); - } - -private: - - ::Ice::Int clearLastVisit(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getLastVisitEx(const ::std::string& host, const ::std::string& visitor, ::Ice::Int groupId, ::Ice::Int addServiceNum, ::IMSINNER::SHMSBuddyStatus6& hostess) - { - return getLastVisitEx(host, visitor, groupId, addServiceNum, hostess, 0); - } - ::Ice::Int getLastVisitEx(const ::std::string& host, const ::std::string& visitor, ::Ice::Int groupId, ::Ice::Int addServiceNum, ::IMSINNER::SHMSBuddyStatus6& hostess, const ::Ice::Context& __ctx) - { - return getLastVisitEx(host, visitor, groupId, addServiceNum, hostess, &__ctx); - } - -private: - - ::Ice::Int getLastVisitEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::IMSINNER::SHMSBuddyStatus6&, const ::Ice::Context*); - -public: - - ::Ice::Int HmsLogin(const ::std::string& uid, ::Ice::StringSeq& cids) - { - return HmsLogin(uid, cids, 0); - } - ::Ice::Int HmsLogin(const ::std::string& uid, ::Ice::StringSeq& cids, const ::Ice::Context& __ctx) - { - return HmsLogin(uid, cids, &__ctx); - } - -private: - - ::Ice::Int HmsLogin(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getWorkingBuddy(const ::std::string& uid, ::Ice::StringSeq& cids) - { - return getWorkingBuddy(uid, cids, 0); - } - ::Ice::Int getWorkingBuddy(const ::std::string& uid, ::Ice::StringSeq& cids, const ::Ice::Context& __ctx) - { - return getWorkingBuddy(uid, cids, &__ctx); - } - -private: - - ::Ice::Int getWorkingBuddy(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int setWaiterDenyService(const ::std::string& uid, ::Ice::Int status) - { - return setWaiterDenyService(uid, status, 0); - } - ::Ice::Int setWaiterDenyService(const ::std::string& uid, ::Ice::Int status, const ::Ice::Context& __ctx) - { - return setWaiterDenyService(uid, status, &__ctx); - } - -private: - - ::Ice::Int setWaiterDenyService(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int setLastVisit(const ::std::string& host, const ::std::string& visitor) - { - return setLastVisit(host, visitor, 0); - } - ::Ice::Int setLastVisit(const ::std::string& host, const ::std::string& visitor, const ::Ice::Context& __ctx) - { - return setLastVisit(host, visitor, &__ctx); - } - -private: - - ::Ice::Int setLastVisit(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int setLastVisitandSrvnum(const ::std::string& host, const ::std::string& visitor, ::Ice::Int srvnum) - { - return setLastVisitandSrvnum(host, visitor, srvnum, 0); - } - ::Ice::Int setLastVisitandSrvnum(const ::std::string& host, const ::std::string& visitor, ::Ice::Int srvnum, const ::Ice::Context& __ctx) - { - return setLastVisitandSrvnum(host, visitor, srvnum, &__ctx); - } - -private: - - ::Ice::Int setLastVisitandSrvnum(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int HmsLogin6(const ::std::string& uid, ::Ice::Int imsid, ::Ice::StringSeq& cids) - { - return HmsLogin6(uid, imsid, cids, 0); - } - ::Ice::Int HmsLogin6(const ::std::string& uid, ::Ice::Int imsid, ::Ice::StringSeq& cids, const ::Ice::Context& __ctx) - { - return HmsLogin6(uid, imsid, cids, &__ctx); - } - -private: - - ::Ice::Int HmsLogin6(const ::std::string&, ::Ice::Int, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int setWaiterServerID(const ::std::string& uid, ::Ice::Int status) - { - return setWaiterServerID(uid, status, 0); - } - ::Ice::Int setWaiterServerID(const ::std::string& uid, ::Ice::Int status, const ::Ice::Context& __ctx) - { - return setWaiterServerID(uid, status, &__ctx); - } - -private: - - ::Ice::Int setWaiterServerID(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int isFakeOnline(const ::std::string& uid, bool& status) - { - return isFakeOnline(uid, status, 0); - } - ::Ice::Int isFakeOnline(const ::std::string& uid, bool& status, const ::Ice::Context& __ctx) - { - return isFakeOnline(uid, status, &__ctx); - } - -private: - - ::Ice::Int isFakeOnline(const ::std::string&, bool&, const ::Ice::Context*); - -public: - - ::Ice::Int setWaiterStatus(const ::std::string& uid, ::Ice::Int status, ::Ice::Int imsid, bool& bneedsendfakestatus, ::Ice::Int& before, ::Ice::Int& afteronlinestatus) - { - return setWaiterStatus(uid, status, imsid, bneedsendfakestatus, before, afteronlinestatus, 0); - } - ::Ice::Int setWaiterStatus(const ::std::string& uid, ::Ice::Int status, ::Ice::Int imsid, bool& bneedsendfakestatus, ::Ice::Int& before, ::Ice::Int& afteronlinestatus, const ::Ice::Context& __ctx) - { - return setWaiterStatus(uid, status, imsid, bneedsendfakestatus, before, afteronlinestatus, &__ctx); - } - -private: - - ::Ice::Int setWaiterStatus(const ::std::string&, ::Ice::Int, ::Ice::Int, bool&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getHelperstatus(const ::std::string& uid) - { - return getHelperstatus(uid, 0); - } - ::Ice::Int getHelperstatus(const ::std::string& uid, const ::Ice::Context& __ctx) - { - return getHelperstatus(uid, &__ctx); - } - -private: - - ::Ice::Int getHelperstatus(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getOfflineHelpers(const ::std::string& uid, ::Ice::StringSeq& childs, ::Ice::IntSeq& childsimsids) - { - return getOfflineHelpers(uid, childs, childsimsids, 0); - } - ::Ice::Int getOfflineHelpers(const ::std::string& uid, ::Ice::StringSeq& childs, ::Ice::IntSeq& childsimsids, const ::Ice::Context& __ctx) - { - return getOfflineHelpers(uid, childs, childsimsids, &__ctx); - } - -private: - - ::Ice::Int getOfflineHelpers(const ::std::string&, ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getAllOtherHelpers(const ::std::string& uid, ::Ice::StringSeq& childs, ::Ice::IntSeq& childsimsids) - { - return getAllOtherHelpers(uid, childs, childsimsids, 0); - } - ::Ice::Int getAllOtherHelpers(const ::std::string& uid, ::Ice::StringSeq& childs, ::Ice::IntSeq& childsimsids, const ::Ice::Context& __ctx) - { - return getAllOtherHelpers(uid, childs, childsimsids, &__ctx); - } - -private: - - ::Ice::Int getAllOtherHelpers(const ::std::string&, ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int setMaxServiceNum(const ::std::string& uid, const ::std::string& childid, ::Ice::Int num) - { - return setMaxServiceNum(uid, childid, num, 0); - } - ::Ice::Int setMaxServiceNum(const ::std::string& uid, const ::std::string& childid, ::Ice::Int num, const ::Ice::Context& __ctx) - { - return setMaxServiceNum(uid, childid, num, &__ctx); - } - -private: - - ::Ice::Int setMaxServiceNum(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int chgATMHelpersServiceNum(const ::std::string& uid, const ::std::string& childid, const ::std::string& contactid, ::Ice::Int type) - { - return chgATMHelpersServiceNum(uid, childid, contactid, type, 0); - } - ::Ice::Int chgATMHelpersServiceNum(const ::std::string& uid, const ::std::string& childid, const ::std::string& contactid, ::Ice::Int type, const ::Ice::Context& __ctx) - { - return chgATMHelpersServiceNum(uid, childid, contactid, type, &__ctx); - } - -private: - - ::Ice::Int chgATMHelpersServiceNum(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int HmsLoginOff(const ::std::string& uid, const ::std::string& childid) - { - return HmsLoginOff(uid, childid, 0); - } - ::Ice::Int HmsLoginOff(const ::std::string& uid, const ::std::string& childid, const ::Ice::Context& __ctx) - { - return HmsLoginOff(uid, childid, &__ctx); - } - -private: - - ::Ice::Int HmsLoginOff(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int HmsLoginOff6(const ::std::string& uid, const ::std::string& childid, ::Ice::Int imsid) - { - return HmsLoginOff6(uid, childid, imsid, 0); - } - ::Ice::Int HmsLoginOff6(const ::std::string& uid, const ::std::string& childid, ::Ice::Int imsid, const ::Ice::Context& __ctx) - { - return HmsLoginOff6(uid, childid, imsid, &__ctx); - } - -private: - - ::Ice::Int HmsLoginOff6(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int getBuddyStatus(const ::std::string& uid, ::IMSINNER::SHMSBuddyStatusSeq& buddystatus) - { - return getBuddyStatus(uid, buddystatus, 0); - } - ::Ice::Int getBuddyStatus(const ::std::string& uid, ::IMSINNER::SHMSBuddyStatusSeq& buddystatus, const ::Ice::Context& __ctx) - { - return getBuddyStatus(uid, buddystatus, &__ctx); - } - -private: - - ::Ice::Int getBuddyStatus(const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int EHmsLogin6(const ::std::string& uid, const ::std::string& fid, ::Ice::Int imsid, ::Ice::Int logintype) - { - return EHmsLogin6(uid, fid, imsid, logintype, 0); - } - ::Ice::Int EHmsLogin6(const ::std::string& uid, const ::std::string& fid, ::Ice::Int imsid, ::Ice::Int logintype, const ::Ice::Context& __ctx) - { - return EHmsLogin6(uid, fid, imsid, logintype, &__ctx); - } - -private: - - ::Ice::Int EHmsLogin6(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int getBuddyStatus6(const ::std::string& uid, const ::std::string& fid, ::IMSINNER::SHMSBuddyStatusSeq6& buddystatus) - { - return getBuddyStatus6(uid, fid, buddystatus, 0); - } - ::Ice::Int getBuddyStatus6(const ::std::string& uid, const ::std::string& fid, ::IMSINNER::SHMSBuddyStatusSeq6& buddystatus, const ::Ice::Context& __ctx) - { - return getBuddyStatus6(uid, fid, buddystatus, &__ctx); - } - -private: - - ::Ice::Int getBuddyStatus6(const ::std::string&, const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq6&, const ::Ice::Context*); - -public: - - ::Ice::Int getForWardList(const ::std::string& uid, const ::std::string& fid, ::IMSINNER::SHMSBuddyStatusSeq6& buddystatus) - { - return getForWardList(uid, fid, buddystatus, 0); - } - ::Ice::Int getForWardList(const ::std::string& uid, const ::std::string& fid, ::IMSINNER::SHMSBuddyStatusSeq6& buddystatus, const ::Ice::Context& __ctx) - { - return getForWardList(uid, fid, buddystatus, &__ctx); - } - -private: - - ::Ice::Int getForWardList(const ::std::string&, const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq6&, const ::Ice::Context*); - -public: - - ::Ice::Int forWardServiceUser(const ::std::string& uid, const ::std::string& fid, const ::std::string& conatctid, const ::std::string& tochildid) - { - return forWardServiceUser(uid, fid, conatctid, tochildid, 0); - } - ::Ice::Int forWardServiceUser(const ::std::string& uid, const ::std::string& fid, const ::std::string& conatctid, const ::std::string& tochildid, const ::Ice::Context& __ctx) - { - return forWardServiceUser(uid, fid, conatctid, tochildid, &__ctx); - } - -private: - - ::Ice::Int forWardServiceUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int closeHMSSession(const ::std::string& uid, const ::std::string& fid, const ::std::string& conatctid, ::Ice::Int type) - { - return closeHMSSession(uid, fid, conatctid, type, 0); - } - ::Ice::Int closeHMSSession(const ::std::string& uid, const ::std::string& fid, const ::std::string& conatctid, ::Ice::Int type, const ::Ice::Context& __ctx) - { - return closeHMSSession(uid, fid, conatctid, type, &__ctx); - } - -private: - - ::Ice::Int closeHMSSession(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int NotifyHMSMsg(const ::std::string& fromid, const ::std::string& uid, ::Ice::Int srvid, ::Ice::Int type, const ::std::string& msg) - { - return NotifyHMSMsg(fromid, uid, srvid, type, msg, 0); - } - ::Ice::Int NotifyHMSMsg(const ::std::string& fromid, const ::std::string& uid, ::Ice::Int srvid, ::Ice::Int type, const ::std::string& msg, const ::Ice::Context& __ctx) - { - return NotifyHMSMsg(fromid, uid, srvid, type, msg, &__ctx); - } - -private: - - ::Ice::Int NotifyHMSMsg(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int SendHMSMsg(const ::std::string& fid, const ::std::string& uid, const ::std::string& conatctid, ::Ice::Int srvid, ::Ice::Int type, const ::std::string& msg) - { - return SendHMSMsg(fid, uid, conatctid, srvid, type, msg, 0); - } - ::Ice::Int SendHMSMsg(const ::std::string& fid, const ::std::string& uid, const ::std::string& conatctid, ::Ice::Int srvid, ::Ice::Int type, const ::std::string& msg, const ::Ice::Context& __ctx) - { - return SendHMSMsg(fid, uid, conatctid, srvid, type, msg, &__ctx); - } - -private: - - ::Ice::Int SendHMSMsg(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int changeUserStatus(const ::std::string& uid, ::Ice::Int Stauts) - { - return changeUserStatus(uid, Stauts, 0); - } - ::Ice::Int changeUserStatus(const ::std::string& uid, ::Ice::Int Stauts, const ::Ice::Context& __ctx) - { - return changeUserStatus(uid, Stauts, &__ctx); - } - -private: - - ::Ice::Int changeUserStatus(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int getESShuntStatus(const ::std::string& uid, ::std::string& shunt) - { - return getESShuntStatus(uid, shunt, 0); - } - ::Ice::Int getESShuntStatus(const ::std::string& uid, ::std::string& shunt, const ::Ice::Context& __ctx) - { - return getESShuntStatus(uid, shunt, &__ctx); - } - -private: - - ::Ice::Int getESShuntStatus(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int setESShuntStatus(const ::std::string& uid, const ::std::string& shunt) - { - return setESShuntStatus(uid, shunt, 0); - } - ::Ice::Int setESShuntStatus(const ::std::string& uid, const ::std::string& shunt, const ::Ice::Context& __ctx) - { - return setESShuntStatus(uid, shunt, &__ctx); - } - -private: - - ::Ice::Int setESShuntStatus(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptNumSeq& eserviceList) - { - return getMaxESReceptNum(uid, groupId, eserviceList, 0); - } - ::Ice::Int getMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptNumSeq& eserviceList, const ::Ice::Context& __ctx) - { - return getMaxESReceptNum(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int getMaxESReceptNum(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptNumSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int setMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICEReceptNumSeq& eserviceList) - { - return setMaxESReceptNum(uid, groupId, eserviceList, 0); - } - ::Ice::Int setMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICEReceptNumSeq& eserviceList, const ::Ice::Context& __ctx) - { - return setMaxESReceptNum(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int setMaxESReceptNum(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICEReceptNumSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESPriority(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptPrioritySeq& eserviceList) - { - return getESPriority(uid, groupId, eserviceList, 0); - } - ::Ice::Int getESPriority(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context& __ctx) - { - return getESPriority(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int getESPriority(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptPrioritySeq&, const ::Ice::Context*); - -public: - - ::Ice::Int setESPriority(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICEReceptPrioritySeq& eserviceList) - { - return setESPriority(uid, groupId, eserviceList, 0); - } - ::Ice::Int setESPriority(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context& __ctx) - { - return setESPriority(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int setESPriority(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICEReceptPrioritySeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICERecvOffMsgSeq& eserviceList) - { - return getESRecvOffMsg(uid, groupId, eserviceList, 0); - } - ::Ice::Int getESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context& __ctx) - { - return getESRecvOffMsg(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int getESRecvOffMsg(const ::std::string&, ::Ice::Int, ::IMSINNER::SICERecvOffMsgSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int setESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICERecvOffMsgSeq& eserviceList) - { - return setESRecvOffMsg(uid, groupId, eserviceList, 0); - } - ::Ice::Int setESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context& __ctx) - { - return setESRecvOffMsg(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int setESRecvOffMsg(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICERecvOffMsgSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESGroupList(const ::std::string& uid, ::Ice::IntSeq& groupList) - { - return getESGroupList(uid, groupList, 0); - } - ::Ice::Int getESGroupList(const ::std::string& uid, ::Ice::IntSeq& groupList, const ::Ice::Context& __ctx) - { - return getESGroupList(uid, groupList, &__ctx); - } - -private: - - ::Ice::Int getESGroupList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int insertESGroupInfo(const ::std::string& uid, const ::IMSINNER::SICEESGroupInfo& groupInfo) - { - return insertESGroupInfo(uid, groupInfo, 0); - } - ::Ice::Int insertESGroupInfo(const ::std::string& uid, const ::IMSINNER::SICEESGroupInfo& groupInfo, const ::Ice::Context& __ctx) - { - return insertESGroupInfo(uid, groupInfo, &__ctx); - } - -private: - - ::Ice::Int insertESGroupInfo(const ::std::string&, const ::IMSINNER::SICEESGroupInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int updateESGroupInfo(const ::std::string& uid, const ::IMSINNER::SICEESGroupInfo& group) - { - return updateESGroupInfo(uid, group, 0); - } - ::Ice::Int updateESGroupInfo(const ::std::string& uid, const ::IMSINNER::SICEESGroupInfo& group, const ::Ice::Context& __ctx) - { - return updateESGroupInfo(uid, group, &__ctx); - } - -private: - - ::Ice::Int updateESGroupInfo(const ::std::string&, const ::IMSINNER::SICEESGroupInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int delESGroup(const ::std::string& uid, ::Ice::Int groupid) - { - return delESGroup(uid, groupid, 0); - } - ::Ice::Int delESGroup(const ::std::string& uid, ::Ice::Int groupid, const ::Ice::Context& __ctx) - { - return delESGroup(uid, groupid, &__ctx); - } - -private: - - ::Ice::Int delESGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int getESGroupInfo(const ::std::string& uid, ::IMSINNER::SICEESGroupInfoSeq& groupList) - { - return getESGroupInfo(uid, groupList, 0); - } - ::Ice::Int getESGroupInfo(const ::std::string& uid, ::IMSINNER::SICEESGroupInfoSeq& groupList, const ::Ice::Context& __ctx) - { - return getESGroupInfo(uid, groupList, &__ctx); - } - -private: - - ::Ice::Int getESGroupInfo(const ::std::string&, ::IMSINNER::SICEESGroupInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESGroupInfoByID(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEESGroupInfo& groupInfo) - { - return getESGroupInfoByID(uid, groupId, groupInfo, 0); - } - ::Ice::Int getESGroupInfoByID(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEESGroupInfo& groupInfo, const ::Ice::Context& __ctx) - { - return getESGroupInfoByID(uid, groupId, groupInfo, &__ctx); - } - -private: - - ::Ice::Int getESGroupInfoByID(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEESGroupInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int getESUnJoinGroup(const ::std::string& uid, ::Ice::StringSeq& eserviceList) - { - return getESUnJoinGroup(uid, eserviceList, 0); - } - ::Ice::Int getESUnJoinGroup(const ::std::string& uid, ::Ice::StringSeq& eserviceList, const ::Ice::Context& __ctx) - { - return getESUnJoinGroup(uid, eserviceList, &__ctx); - } - -private: - - ::Ice::Int getESUnJoinGroup(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getESReceptList(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptStatusSeq& eserviceList) - { - return getESReceptList(uid, groupId, eserviceList, 0); - } - ::Ice::Int getESReceptList(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptStatusSeq& eserviceList, const ::Ice::Context& __ctx) - { - return getESReceptList(uid, groupId, eserviceList, &__ctx); - } - -private: - - ::Ice::Int getESReceptList(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptStatusSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int checkESRole(const ::std::string& uid, ::Ice::Int& groupId) - { - return checkESRole(uid, groupId, 0); - } - ::Ice::Int checkESRole(const ::std::string& uid, ::Ice::Int& groupId, const ::Ice::Context& __ctx) - { - return checkESRole(uid, groupId, &__ctx); - } - -private: - - ::Ice::Int checkESRole(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getChildShuntInfos(const ::std::string& uid, ::IMSINNER::SICEChildShuntInfoSeq& childInfos) - { - return getChildShuntInfos(uid, childInfos, 0); - } - ::Ice::Int getChildShuntInfos(const ::std::string& uid, ::IMSINNER::SICEChildShuntInfoSeq& childInfos, const ::Ice::Context& __ctx) - { - return getChildShuntInfos(uid, childInfos, &__ctx); - } - -private: - - ::Ice::Int getChildShuntInfos(const ::std::string&, ::IMSINNER::SICEChildShuntInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int setChildShuntInfos(const ::std::string& uid, const ::IMSINNER::SICEChildShuntInfoSeq& childInfos) - { - return setChildShuntInfos(uid, childInfos, 0); - } - ::Ice::Int setChildShuntInfos(const ::std::string& uid, const ::IMSINNER::SICEChildShuntInfoSeq& childInfos, const ::Ice::Context& __ctx) - { - return setChildShuntInfos(uid, childInfos, &__ctx); - } - -private: - - ::Ice::Int setChildShuntInfos(const ::std::string&, const ::IMSINNER::SICEChildShuntInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getAgentChild(const ::std::string& uid, ::std::string& agentId) - { - return getAgentChild(uid, agentId, 0); - } - ::Ice::Int getAgentChild(const ::std::string& uid, ::std::string& agentId, const ::Ice::Context& __ctx) - { - return getAgentChild(uid, agentId, &__ctx); - } - -private: - - ::Ice::Int getAgentChild(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int setAgentChild(const ::std::string& uid, const ::std::string& agentId) - { - return setAgentChild(uid, agentId, 0); - } - ::Ice::Int setAgentChild(const ::std::string& uid, const ::std::string& agentId, const ::Ice::Context& __ctx) - { - return setAgentChild(uid, agentId, &__ctx); - } - -private: - - ::Ice::Int setAgentChild(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getAgentList(const ::std::string& uid, ::Ice::StringSeq& agentIds) - { - return getAgentList(uid, agentIds, 0); - } - ::Ice::Int getAgentList(const ::std::string& uid, ::Ice::StringSeq& agentIds, const ::Ice::Context& __ctx) - { - return getAgentList(uid, agentIds, &__ctx); - } - -private: - - ::Ice::Int getAgentList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int helperMsg(const ::std::string& uid, const ::std::string& targetUid, const ::std::string& message, ::Ice::Int originalSid) - { - return helperMsg(uid, targetUid, message, originalSid, 0); - } - ::Ice::Int helperMsg(const ::std::string& uid, const ::std::string& targetUid, const ::std::string& message, ::Ice::Int originalSid, const ::Ice::Context& __ctx) - { - return helperMsg(uid, targetUid, message, originalSid, &__ctx); - } - -private: - - ::Ice::Int helperMsg(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace IMSINNER -{ - -class IMSICEService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int getLastVisit(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setShareContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int clearLastVisit(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getLastVisitEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::IMSINNER::SHMSBuddyStatus6&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int HmsLogin(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getWorkingBuddy(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setWaiterDenyService(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setLastVisit(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setLastVisitandSrvnum(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int HmsLogin6(const ::std::string&, ::Ice::Int, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setWaiterServerID(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int isFakeOnline(const ::std::string&, bool&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setWaiterStatus(const ::std::string&, ::Ice::Int, ::Ice::Int, bool&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getHelperstatus(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getOfflineHelpers(const ::std::string&, ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getAllOtherHelpers(const ::std::string&, ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setMaxServiceNum(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int chgATMHelpersServiceNum(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int HmsLoginOff(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int HmsLoginOff6(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getBuddyStatus(const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int EHmsLogin6(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getBuddyStatus6(const ::std::string&, const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq6&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getForWardList(const ::std::string&, const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq6&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int forWardServiceUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int closeHMSSession(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int NotifyHMSMsg(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int SendHMSMsg(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int changeUserStatus(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESShuntStatus(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setESShuntStatus(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getMaxESReceptNum(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptNumSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setMaxESReceptNum(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICEReceptNumSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESPriority(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptPrioritySeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setESPriority(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICEReceptPrioritySeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESRecvOffMsg(const ::std::string&, ::Ice::Int, ::IMSINNER::SICERecvOffMsgSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setESRecvOffMsg(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICERecvOffMsgSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESGroupList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int insertESGroupInfo(const ::std::string&, const ::IMSINNER::SICEESGroupInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateESGroupInfo(const ::std::string&, const ::IMSINNER::SICEESGroupInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int delESGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESGroupInfo(const ::std::string&, ::IMSINNER::SICEESGroupInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESGroupInfoByID(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEESGroupInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESUnJoinGroup(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getESReceptList(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptStatusSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkESRole(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getChildShuntInfos(const ::std::string&, ::IMSINNER::SICEChildShuntInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setChildShuntInfos(const ::std::string&, const ::IMSINNER::SICEChildShuntInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getAgentChild(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int setAgentChild(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getAgentList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int helperMsg(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace IMSINNER -{ - -class IMSICEService : virtual public ::IceDelegate::IMSINNER::IMSICEService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int getLastVisit(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setShareContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int clearLastVisit(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getLastVisitEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::IMSINNER::SHMSBuddyStatus6&, const ::Ice::Context*); - - virtual ::Ice::Int HmsLogin(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getWorkingBuddy(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setWaiterDenyService(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int setLastVisit(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setLastVisitandSrvnum(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int HmsLogin6(const ::std::string&, ::Ice::Int, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setWaiterServerID(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int isFakeOnline(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int setWaiterStatus(const ::std::string&, ::Ice::Int, ::Ice::Int, bool&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getHelperstatus(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getOfflineHelpers(const ::std::string&, ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getAllOtherHelpers(const ::std::string&, ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setMaxServiceNum(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int chgATMHelpersServiceNum(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int HmsLoginOff(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int HmsLoginOff6(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int getBuddyStatus(const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq&, const ::Ice::Context*); - - virtual ::Ice::Int EHmsLogin6(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int getBuddyStatus6(const ::std::string&, const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq6&, const ::Ice::Context*); - - virtual ::Ice::Int getForWardList(const ::std::string&, const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq6&, const ::Ice::Context*); - - virtual ::Ice::Int forWardServiceUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int closeHMSSession(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int NotifyHMSMsg(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int SendHMSMsg(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int changeUserStatus(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int getESShuntStatus(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setESShuntStatus(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getMaxESReceptNum(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptNumSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setMaxESReceptNum(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICEReceptNumSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESPriority(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptPrioritySeq&, const ::Ice::Context*); - - virtual ::Ice::Int setESPriority(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICEReceptPrioritySeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESRecvOffMsg(const ::std::string&, ::Ice::Int, ::IMSINNER::SICERecvOffMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setESRecvOffMsg(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICERecvOffMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESGroupList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int insertESGroupInfo(const ::std::string&, const ::IMSINNER::SICEESGroupInfo&, const ::Ice::Context*); - - virtual ::Ice::Int updateESGroupInfo(const ::std::string&, const ::IMSINNER::SICEESGroupInfo&, const ::Ice::Context*); - - virtual ::Ice::Int delESGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int getESGroupInfo(const ::std::string&, ::IMSINNER::SICEESGroupInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESGroupInfoByID(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEESGroupInfo&, const ::Ice::Context*); - - virtual ::Ice::Int getESUnJoinGroup(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESReceptList(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptStatusSeq&, const ::Ice::Context*); - - virtual ::Ice::Int checkESRole(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getChildShuntInfos(const ::std::string&, ::IMSINNER::SICEChildShuntInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setChildShuntInfos(const ::std::string&, const ::IMSINNER::SICEChildShuntInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getAgentChild(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setAgentChild(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getAgentList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int helperMsg(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace IMSINNER -{ - -class IMSICEService : virtual public ::IceDelegate::IMSINNER::IMSICEService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int getLastVisit(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setShareContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int clearLastVisit(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getLastVisitEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::IMSINNER::SHMSBuddyStatus6&, const ::Ice::Context*); - - virtual ::Ice::Int HmsLogin(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getWorkingBuddy(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setWaiterDenyService(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int setLastVisit(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setLastVisitandSrvnum(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int HmsLogin6(const ::std::string&, ::Ice::Int, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setWaiterServerID(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int isFakeOnline(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int setWaiterStatus(const ::std::string&, ::Ice::Int, ::Ice::Int, bool&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getHelperstatus(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getOfflineHelpers(const ::std::string&, ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getAllOtherHelpers(const ::std::string&, ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setMaxServiceNum(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int chgATMHelpersServiceNum(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int HmsLoginOff(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int HmsLoginOff6(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int getBuddyStatus(const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq&, const ::Ice::Context*); - - virtual ::Ice::Int EHmsLogin6(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int getBuddyStatus6(const ::std::string&, const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq6&, const ::Ice::Context*); - - virtual ::Ice::Int getForWardList(const ::std::string&, const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq6&, const ::Ice::Context*); - - virtual ::Ice::Int forWardServiceUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int closeHMSSession(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int NotifyHMSMsg(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int SendHMSMsg(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int changeUserStatus(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int getESShuntStatus(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setESShuntStatus(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getMaxESReceptNum(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptNumSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setMaxESReceptNum(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICEReceptNumSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESPriority(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptPrioritySeq&, const ::Ice::Context*); - - virtual ::Ice::Int setESPriority(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICEReceptPrioritySeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESRecvOffMsg(const ::std::string&, ::Ice::Int, ::IMSINNER::SICERecvOffMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setESRecvOffMsg(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICERecvOffMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESGroupList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int insertESGroupInfo(const ::std::string&, const ::IMSINNER::SICEESGroupInfo&, const ::Ice::Context*); - - virtual ::Ice::Int updateESGroupInfo(const ::std::string&, const ::IMSINNER::SICEESGroupInfo&, const ::Ice::Context*); - - virtual ::Ice::Int delESGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int getESGroupInfo(const ::std::string&, ::IMSINNER::SICEESGroupInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESGroupInfoByID(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEESGroupInfo&, const ::Ice::Context*); - - virtual ::Ice::Int getESUnJoinGroup(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getESReceptList(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptStatusSeq&, const ::Ice::Context*); - - virtual ::Ice::Int checkESRole(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getChildShuntInfos(const ::std::string&, ::IMSINNER::SICEChildShuntInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int setChildShuntInfos(const ::std::string&, const ::IMSINNER::SICEChildShuntInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getAgentChild(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int setAgentChild(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getAgentList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int helperMsg(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace IMSINNER -{ - -class IMSICEService : virtual public ::Ice::Object -{ -public: - - typedef IMSICEServicePrx ProxyType; - typedef IMSICEServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int getLastVisit(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getLastVisit(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setShareContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setShareContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int clearLastVisit(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___clearLastVisit(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getLastVisitEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::IMSINNER::SHMSBuddyStatus6&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getLastVisitEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int HmsLogin(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___HmsLogin(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getWorkingBuddy(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getWorkingBuddy(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setWaiterDenyService(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setWaiterDenyService(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setLastVisit(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setLastVisit(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setLastVisitandSrvnum(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setLastVisitandSrvnum(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int HmsLogin6(const ::std::string&, ::Ice::Int, ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___HmsLogin6(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setWaiterServerID(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setWaiterServerID(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int isFakeOnline(const ::std::string&, bool&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___isFakeOnline(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setWaiterStatus(const ::std::string&, ::Ice::Int, ::Ice::Int, bool&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setWaiterStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getHelperstatus(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getHelperstatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getOfflineHelpers(const ::std::string&, ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getOfflineHelpers(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getAllOtherHelpers(const ::std::string&, ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getAllOtherHelpers(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setMaxServiceNum(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setMaxServiceNum(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int chgATMHelpersServiceNum(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___chgATMHelpersServiceNum(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int HmsLoginOff(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___HmsLoginOff(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int HmsLoginOff6(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___HmsLoginOff6(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getBuddyStatus(const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getBuddyStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int EHmsLogin6(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___EHmsLogin6(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getBuddyStatus6(const ::std::string&, const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq6&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getBuddyStatus6(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getForWardList(const ::std::string&, const ::std::string&, ::IMSINNER::SHMSBuddyStatusSeq6&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getForWardList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int forWardServiceUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___forWardServiceUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int closeHMSSession(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___closeHMSSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int NotifyHMSMsg(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___NotifyHMSMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int SendHMSMsg(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___SendHMSMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int changeUserStatus(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___changeUserStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESShuntStatus(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESShuntStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setESShuntStatus(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setESShuntStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getMaxESReceptNum(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptNumSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getMaxESReceptNum(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setMaxESReceptNum(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICEReceptNumSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setMaxESReceptNum(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESPriority(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptPrioritySeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESPriority(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setESPriority(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICEReceptPrioritySeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setESPriority(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESRecvOffMsg(const ::std::string&, ::Ice::Int, ::IMSINNER::SICERecvOffMsgSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESRecvOffMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setESRecvOffMsg(const ::std::string&, ::Ice::Int, const ::IMSINNER::SICERecvOffMsgSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setESRecvOffMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESGroupList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESGroupList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int insertESGroupInfo(const ::std::string&, const ::IMSINNER::SICEESGroupInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___insertESGroupInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateESGroupInfo(const ::std::string&, const ::IMSINNER::SICEESGroupInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateESGroupInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int delESGroup(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___delESGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESGroupInfo(const ::std::string&, ::IMSINNER::SICEESGroupInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESGroupInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESGroupInfoByID(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEESGroupInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESGroupInfoByID(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESUnJoinGroup(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESUnJoinGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getESReceptList(const ::std::string&, ::Ice::Int, ::IMSINNER::SICEReceptStatusSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getESReceptList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int checkESRole(const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkESRole(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getChildShuntInfos(const ::std::string&, ::IMSINNER::SICEChildShuntInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getChildShuntInfos(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setChildShuntInfos(const ::std::string&, const ::IMSINNER::SICEChildShuntInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setChildShuntInfos(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getAgentChild(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getAgentChild(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int setAgentChild(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___setAgentChild(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getAgentList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getAgentList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int helperMsg(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___helperMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IMSICEServicePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/ims_perf_test.h b/features/aliww/include/ims_perf_test.h deleted file mode 100644 index 83fe24d..0000000 --- a/features/aliww/include/ims_perf_test.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: ims_perf_test.h - * - * Description: - * - * Version: 1.0 - * Created: 2011å¹´01月07æ—¥ 15æ—¶44分43秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ - -#ifndef IMS_PERF_TEST_H -#define IMS_PERF_TEST_H -#include -using namespace std; - -#ifdef __cplusplus -extern "C" { -#endif -void *ims_init(void* p); -void *ims_login(void* p); -void *ims_login_with_token(void* p); -void *ims_updateUserProfile(void* p); -void *ims_chgStatus(void *p); -void *ims_storm_login(void* p); -void *ims_end(void* p); -#ifdef __cplusplus -} -#endif -#endif diff --git a/features/aliww/include/imsc_cmd.h b/features/aliww/include/imsc_cmd.h deleted file mode 100644 index 81b523b..0000000 --- a/features/aliww/include/imsc_cmd.h +++ /dev/null @@ -1,298 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: imsc_cmd.h -// Date: 2011-04-27 13:36:21 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __IMSC_CMD_H__ -#define __IMSC_CMD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -enum IMSC_REQUEST -{ - IM_HELTH_CHECK = 0x1000001, - IM_REQ_CHECKVERSION = 0x1000002, - IM_REQ_LOGIN = 0x1000003, - IM_REQ_LOGIN_AGAIN = 0x1000004, - IM_REQ_POSTLOGIN = 0x1000005, - IM_REQ_RELOGIN = 0x1000006, - IM_REQ_LOGOFF = 0x1000007, - IM_REQ_GETGROUP = 0x1000008, - IM_REQ_ADDGROUP = 0x1000009, - IM_REQ_CHGGROUP = 0x100000a, - IM_REQ_DELGROUP = 0x100000b, - IM_REQ_CHGUSERVERIFY = 0x100000c, - IM_REQ_GETCONTACT = 0x100000d, - IM_REQ_ADDCONTACT = 0x100000e, - IM_REQ_CHGCONTACT = 0x100000f, - IM_REQ_DELCONTACT = 0x1000010, - IM_REQ_ADDCNTACK = 0x1000011, - IM_REQ_GETCNTDETAIL = 0x1000012, - IM_REQ_CHGUSERDETAIL = 0x1000013, - IM_REQ_GETCNTMEMO = 0x1000014, - IM_REQ_CHGCNTMEMO = 0x1000015, - IM_REQ_GETBLACK = 0x1000016, - IM_REQ_ADDBLACK = 0x1000017, - IM_REQ_DELBLACK = 0x1000018, - IM_REQ_GETREVBLACK = 0x1000019, - IM_REQ_GETUSERINFO = 0x100001a, - IM_REQ_GETCNTSTATUS = 0x100001b, - IM_REQ_CHGSTATUS = 0x100001c, - IM_REQ_GETOFFLINEMSG = 0x100001d, - IM_REQ_ADDOFFLINEMSG = 0x100001e, - IM_REQ_DELOFFLINEMSG = 0x100001f, - IM_REQ_GETSYSTEMMSG = 0x1000020, - IM_REQ_SENDIMMESSAGE = 0x1000021, - IM_REQ_SENDMULTIUSERMSG = 0x1000022, - IM_REQ_UPGGENERALCONTACT = 0x1000023, - IM_REQ_GETTOOLSPROFILE = 0x1000024, - IM_REQ_CHGTOOLSPROFILE = 0x1000025, - IM_REQ_PEERINFO = 0x1000026, - IM_REQ_SUBSCRIBE_INFO = 0x1000027, - IM_REQ_DISUBSCRIBE_INFO = 0x1000028, - IM_REQ_CHGPORTRAIT = 0x1000029, - IM_REQ_CHGSIGNATURE = 0x100002a, - IM_REQ_ADDBINDING = 0x100002b, - IM_REQ_CHGBINDING = 0x100002c, - IM_REQ_DELBINDING = 0x100002d, - IM_REQ_GETBINDING = 0x100002e, - IM_REQ_CANKEYSEARCH = 0x100002f, - IM_REQ_GETFTSADDR = 0x1000030, - IM_REQ_GETUSERSSTATUS = 0x1000031, - IM_REQ_PRELOGIN = 0x1000032, - IM_REQ_PRELOGIN_AGAIN = 0x1000033, - IM_REQ_GETWEB_SESSION = 0x1000034, - IM_REQ_USERUDBPROFILE = 0x1000035, - IM_REQ_PEER_VERIFY_CONFIG = 0x1000036, - IM_REQ_GET_PWDTOKEN = 0x1000037, - IM_REQ_UPDATE_UDBPROFILE = 0x1000038, - IM_REQ_GET_DEGREE = 0x1000039, - IM_REQ_CHECK_AUTHCODE = 0x1000040, - IM_REQ_PRELOGIN1 = 0x1000041, - IM_REQ_LOGIN2 = 0x1000042, - IM_REQ_ADDCONTACT_NEW = 0x1000050, - IM_REQ_ADDCNTACK_NEW = 0x1000051, - IM_REQ_HELP_LOGIN_V5 = 0x1001001, - IM_REQ_HELP_CHG_SRV_MODE_V5 = 0x1001002, - IM_REQ_HELP_GET_CHILDS_V5 = 0x1001006, - IM_REQ_HELP_LOGIN = 0x1001041, - IM_REQ_HELP_CHG_SRV_MODE = 0x1001042, - IM_REQ_HELP_SET_SHARE_CID = 0x1001043, - IM_REQ_HELP_GET_SHARE_CID = 0x1001044, - IM_REQ_HELP_GET_CHILD_ONLINE= 0x1001045, - IM_REQ_HELP_GET_ONLINECHILDS= 0x1001046, - IM_REQ_HELP_GET_SERVICES = 0x1001047, - IM_REQ_HELP_GET_BIND_TO = 0x1001048, - IM_REQ_HELP_CHG_SERVICE_NUM = 0x1001049, - IM_REQ_HELP_GET_BUDDY_STATUS= 0x1001050, - IM_REQ_SEND_WATCH_INFO = 0x100005e, - IM_REQ_GET_SIP_SESSIONID = 0x1000060, - IM_REQ_SEARCHUSER = 0x1000061, - IM_REQ_SEARCHUSEREX = 0x1000062, - CASC_REQ_GOODSSEARCH = 0x12000001, - CASC_REQ_GOODSSEARCHEX = 0x12000002, - CASC_REQ_WW_MAINSEARCH = 0x12000003, - CASC_REQ_ESEXPANDTAB = 0x12000101, - CASC_REQ_SEND_ESEVAL = 0x12000102, - CASC_REQ_GETCNTLIST = 0x12000103, - CASC_REQ_WWCARD_INFO = 0x12000201, - CASC_REQ_WWCARD_LEVEL = 0x12000202, - CASC_REQ_WWCARD_SNS = 0x12000203, - CASC_REQ_WWCARD_EVALUATE = 0x12000204, - CASC_REQ_WWCARD_FAVORITE = 0x12000205, - CASC_REQ_WWCARD_XML = 0x12000206, - CASC_REQ_TRADE_LIST = 0x12000301, - CASC_REQ_TRADE_INFO = 0x12000302, - CASC_REQ_AUTH_SHELLCMD = 0x12000401, - CASC_REQ_SITE_APP = 0x12000601, - CASC_REQ_GET_USERCRINFO = 0x12000701, - CASC_REQ_SET_USERCRINFO = 0x12000702, - IM_REQ_EHELP_LOGIN = 0x1000070, - IM_REQ_EHELP_GET_BUDDYS = 0x1000071, - IM_REQ_EHELP_SEND_MSG = 0x1000072, - IM_REQ_EHELP_SEND_CMD = 0x1000073, - IM_REQ_EHELP_CHG_SRV_MODE = 0x1000074, - IM_REQ_EHELP_FORWARD_USER = 0x1000075, - IM_REQ_EHELP_CLOSE_SESSION = 0x1000076, - IM_REQ_EHELP_MSG_LOG = 0x1000077, - IM_REQ_EHELP_GET_FORWARD = 0x1000078, - IM_REQ_EHELP_DUNNY = 0x1000079, - IM_REQ_GETAPPADDR = 0x1000090, - IM_REQ_CHAT_IDENTIFY = 0x1000200, - IM_REQ_CHAT_CLOSE = 0x1000201, - IM_REQ_CHAT_DELTEXT = 0x1000202, - IM_REQ_CHAT_GETTXT = 0x1000203, - IM_REQ_CHAT_QUERYPICS = 0x1000204, - IM_REQ_CHAT_PUTPIC = 0x1000205, - IM_REQ_CHAT_GETPIC = 0x1000206, - IM_REQ_CHAT_GETCAL = 0x1000207, - IM_REQ_CHAT_SETTXT = 0x1000208, - IM_REQ_CHAT_CHKVER = 0x1000209, - IM_REQ_CHAT_PREIDENTIFY = 0x1000210, - -}; - -enum IMSC_RESPONSE -{ - IM_RSP_CHECKVERSION = 0x1010002, - IM_RSP_LOGIN = 0x1010003, - IM_RSP_LOGIN_AGAIN = 0x1010004, - IM_RSP_RELOGIN = 0x1010006, - IM_RSP_LOGOFF = 0x1010007, - IM_RSP_GETGROUP = 0x1010008, - IM_RSP_ADDGROUP = 0x1010009, - IM_RSP_CHGGROUP = 0x101000a, - IM_RSP_DELGROUP = 0x101000b, - IM_RSP_CHGUSERVERIFY = 0x101000c, - IM_RSP_GETCONTACT = 0x101000d, - IM_RSP_ADDCONTACT = 0x101000e, - IM_RSP_CHGCONTACT = 0x101000f, - IM_RSP_DELCONTACT = 0x1010010, - IM_RSP_ADDCNTACK = 0x1010011, - IM_RSP_GETCNTDETAIL = 0x1010012, - IM_RSP_CHGUSERDETAIL = 0x1010013, - IM_RSP_GETCNTMEMO = 0x1010014, - IM_RSP_CHGCNTMEMO = 0x1010015, - IM_RSP_GETBLACK = 0x1010016, - IM_RSP_ADDBLACK = 0x1010017, - IM_RSP_DELBLACK = 0x1010018, - IM_RSP_GETREVBLACK = 0x1010019, - IM_RSP_GETUSERINFO = 0x101001a, - IM_RSP_GETCNTSTATUS = 0x101001b, - IM_RSP_GETOFFLINEMSG = 0x101001d, - IM_RSP_DELOFFLINEMSG = 0x101001f, - IM_RSP_GETSYSTEMMSG = 0x1010020, - IM_RSP_UPGGENERALCONTACT = 0x1010023, - IM_RSP_GETTOOLSPROFILE = 0x1010024, - IM_RSP_CHGTOOLSPROFILE = 0x1010025, - IM_RSP_PEERINFO = 0x1010026, - IM_RSP_SUBSCRIBE_INFO = 0x1010027, - IM_RSP_CHGSIGNATURE = 0x101002a, - IM_RSP_ADDBINDING = 0x101002b, - IM_RSP_CHGBINDING = 0x101002c, - IM_RSP_DELBINDING = 0x101002d, - IM_RSP_GETBINDING = 0x101002e, - IM_RSP_GETFTSADDR = 0x1010030, - IM_RSP_GETUSERSSTATUS = 0x1010031, - IM_RSP_GETWEB_SESSION = 0x1010034, - IM_RSP_USERUDBPROFILE = 0x1010035, - IM_RSP_PEER_VERIFY_CONFIG = 0x1010036, - IM_RSP_GET_PWDTOKEN = 0x1010037, - IM_RSP_UPDATE_UDBPROFILE = 0x1010038, - IM_RSP_GET_DEGREE = 0x1010039, - IM_RSP_CHECK_AUTHCODE = 0x1010040, - IM_RSP_LOGIN2 = 0x1010042, - IM_RSP_ADDCONTACT_NEW = 0x1010050, - IM_RSP_ADDCNTACK_NEW = 0x1010051, - IM_RSP_HELP_LOGIN_V5 = 0x1010001, - IM_RSP_HELP_CHG_SRV_MODE_V5 = 0x1010002, - IM_RSP_HELP_GET_CHILDS_V5 = 0x1010006, - IM_RSP_HELP_LOGIN = 0x1010041, - IM_RSP_HELP_CHG_SRV_MODE = 0x1010042, - IM_RSP_HELP_SET_SHARE_CID = 0x1010043, - IM_RSP_HELP_GET_SHARE_CID = 0x1010044, - IM_RSP_HELP_GET_CHILD_ONLINE= 0x1010045, - IM_RSP_HELP_GET_ONLINECHILDS= 0x1010046, - IM_RSP_HELP_GET_SERVICES = 0x1010047, - IM_RSP_HELP_GET_BIND_TO = 0x1010048, - IM_RSP_HELP_CHG_SERVICE_NUM = 0x1010049, - IM_RSP_HELP_GET_BUDDY_STATUS= 0x1010050, - IM_RSP_GET_SIP_SESSIONID = 0x1010060, - IM_RSP_SEARCHUSER = 0x1010061, - IM_RSP_SEARCHUSEREX = 0x1010062, - CASC_RSP_GOODSSEARCH = 0x12010001, - CASC_RSP_GOODSSEARCHEX = 0x12010002, - CASC_RSP_WW_MAINSEARCH = 0x12010003, - CASC_RSP_ESEXPANDTAB = 0x12010101, - CASC_RSP_SEND_ESEVAL = 0x12010102, - CASC_RSP_GETCNTLIST = 0x12010103, - CASC_RSP_WWCARD_INFO = 0x12010201, - CASC_RSP_WWCARD_LEVEL = 0x12010202, - CASC_RSP_WWCARD_SNS = 0x12010203, - CASC_RSP_WWCARD_EVALUATE = 0x12010204, - CASC_RSP_WWCARD_FAVORITE = 0x12010205, - CASC_RSP_WWCARD_XML = 0x12010206, - CASC_RSP_TRADE_LIST = 0x12010301, - CASC_RSP_TRADE_INFO = 0x12010302, - CASC_RSP_AUTH_SHELLCMD = 0x12010401, - CASC_RSP_SITE_APP = 0x12010601, - CASC_RSP_GET_USERCRINFO = 0x12010701, - CASC_RSP_SET_USERCRINFO = 0x12010702, - IM_RSP_EHELP_LOGIN = 0x1010070, - IM_RSP_EHELP_GET_BUDDYS = 0x1010071, - IM_RSP_EHELP_SEND_MSG = 0x1010072, - IM_RSP_EHELP_SEND_CMD = 0x1010073, - IM_RSP_EHELP_CHG_SRV_MODE = 0x1010074, - IM_RSP_EHELP_FORWARD_USER = 0x1010075, - IM_RSP_EHELP_CLOSE_SESSION = 0x1010076, - IM_RSP_EHELP_MSG_LOG = 0x1010077, - IM_RSP_EHELP_GET_FORWARD = 0x1010078, - IM_RSP_EHELP_NOTIFY_MSG = 0x1010079, - IM_RSP_GETAPPADDR = 0x1010090, - IM_RSP_CHAT_IDENTIFY = 0x1010200, - IM_RSP_CHAT_CLOSE = 0x1010201, - IM_RSP_CHAT_DELTEXT = 0x1010202, - IM_RSP_CHAT_GETTXT = 0x1010203, - IM_RSP_CHAT_QUERYPICS = 0x1010204, - IM_RSP_CHAT_PUTPIC = 0x1010205, - IM_RSP_CHAT_GETPIC = 0x1010206, - IM_RSP_CHAT_GETCAL = 0x1010207, - IM_RSP_CHAT_SETTXT = 0x1010208, - IM_RSP_CHAT_CHKVER = 0x1010209, - IM_RSP_CHAT_PREIDENTIFY = 0x1010210, - -}; - -enum IMSC_NOTIFY -{ - IM_NTF_LOGIN_AGAIN = 0x1020004, - IM_NTF_FORCEDISCONNECT = 0x1020005, - IM_NTF_STATUS = 0x102000f, - IM_NTF_IMMESSAGE = 0x1020010, - IM_NTF_SYSTEMMESSAGE = 0x1020011, - IM_NTF_OPERATIONTIP = 0x102002b, - IM_NTF_UPDATE_USREXTINFO = 0x102002c, - IM_NTF_SUBCRIBE_MSG = 0x102002d, - IM_NTF_REFRESH_CONTACT = 0x1020030, - IM_NTF_FEEDS = 0x1020031, - IM_NTF_USER_SNSINFO = 0x1020032, - IM_NTF_RECENT = 0x1020033, - IM_NTF_NEED_AUTHCODE = 0x1020040, - IM_NTF_EXTINFO_MSG = 0x102005d, - IM_NTF_WATCH_INFO = 0x102005e, - IM_NTF_SYSTEMMAPMESSAGE = 0x1020012, - -}; - -enum ALI_IM_P2P_MSG_TYPE -{ - ALI_IM_TEXT = 0, - ALI_IM_BUZZ = 0x1, - ALI_IM_P2P = 0x2, - ALI_IM_AUTO_REPLY = 0x3, - ALI_IM_MSG_ACK = 0x4, - ALI_IM_CONTACT = 0x5, - ALI_IM_TYPING_NOTIFY = 0x6, - ALI_IM_GROUP_BROADCAST = 0x7, - -}; - -enum ADDCONTACT_OPERATE -{ - IMM_CONTACT_ADDED = 0x301, - IMM_CONTACT_IGNOREUSER_ADDED= 0x302, - IMM_CONTACT_IGNOREUSER_DELED= 0x303, - IMM_CONTACT_ASKADD_REQ = 0x310, - IMM_CONTACT_ASKADD_NO = 0x311, - IMM_CONTACT_ASKADD_YES = 0x312, - -}; - -#endif diff --git a/features/aliww/include/imsc_cmd_2Str.h b/features/aliww/include/imsc_cmd_2Str.h deleted file mode 100644 index 35eeae7..0000000 --- a/features/aliww/include/imsc_cmd_2Str.h +++ /dev/null @@ -1,312 +0,0 @@ -#ifndef __IMSC_CMD_2STR_H__ -#define __IMSC_CMD_2STR_H__ - -#include -#include - -using namespace std; - -namespace IMSC_cmd2STR -{ - inline string IMSC_REQUEST_2STR(uint32_t cmd) - { - switch(cmd) - { - case 0x1000001: return "IM_HELTH_CHECK "; - case 0x1000002: return "IM_REQ_CHECKVERSION "; - case 0x1000003: return "IM_REQ_LOGIN "; - case 0x1000004: return "IM_REQ_LOGIN_AGAIN "; - case 0x1000005: return "IM_REQ_POSTLOGIN "; - case 0x1000006: return "IM_REQ_RELOGIN "; - case 0x1000007: return "IM_REQ_LOGOFF "; - case 0x1000008: return "IM_REQ_GETGROUP "; - case 0x1000009: return "IM_REQ_ADDGROUP "; - case 0x100000a: return "IM_REQ_CHGGROUP "; - case 0x100000b: return "IM_REQ_DELGROUP "; - case 0x100000c: return "IM_REQ_CHGUSERVERIFY "; - case 0x100000d: return "IM_REQ_GETCONTACT "; - case 0x100000e: return "IM_REQ_ADDCONTACT "; - case 0x100000f: return "IM_REQ_CHGCONTACT "; - case 0x1000010: return "IM_REQ_DELCONTACT "; - case 0x1000011: return "IM_REQ_ADDCNTACK "; - case 0x1000012: return "IM_REQ_GETCNTDETAIL "; - case 0x1000013: return "IM_REQ_CHGUSERDETAIL "; - case 0x1000014: return "IM_REQ_GETCNTMEMO "; - case 0x1000015: return "IM_REQ_CHGCNTMEMO "; - case 0x1000016: return "IM_REQ_GETBLACK "; - case 0x1000017: return "IM_REQ_ADDBLACK "; - case 0x1000018: return "IM_REQ_DELBLACK "; - case 0x1000019: return "IM_REQ_GETREVBLACK "; - case 0x100001a: return "IM_REQ_GETUSERINFO "; - case 0x100001b: return "IM_REQ_GETCNTSTATUS "; - case 0x100001c: return "IM_REQ_CHGSTATUS "; - case 0x100001d: return "IM_REQ_GETOFFLINEMSG "; - case 0x100001e: return "IM_REQ_ADDOFFLINEMSG "; - case 0x100001f: return "IM_REQ_DELOFFLINEMSG "; - case 0x1000020: return "IM_REQ_GETSYSTEMMSG "; - case 0x1000021: return "IM_REQ_SENDIMMESSAGE "; - case 0x1000022: return "IM_REQ_SENDMULTIUSERMSG "; - case 0x1000023: return "IM_REQ_UPGGENERALCONTACT "; - case 0x1000024: return "IM_REQ_GETTOOLSPROFILE "; - case 0x1000025: return "IM_REQ_CHGTOOLSPROFILE "; - case 0x1000026: return "IM_REQ_PEERINFO "; - case 0x1000027: return "IM_REQ_SUBSCRIBE_INFO "; - case 0x1000028: return "IM_REQ_DISUBSCRIBE_INFO "; - case 0x1000029: return "IM_REQ_CHGPORTRAIT "; - case 0x100002a: return "IM_REQ_CHGSIGNATURE "; - case 0x100002b: return "IM_REQ_ADDBINDING "; - case 0x100002c: return "IM_REQ_CHGBINDING "; - case 0x100002d: return "IM_REQ_DELBINDING "; - case 0x100002e: return "IM_REQ_GETBINDING "; - case 0x100002f: return "IM_REQ_CANKEYSEARCH "; - case 0x1000030: return "IM_REQ_GETFTSADDR "; - case 0x1000031: return "IM_REQ_GETUSERSSTATUS "; - case 0x1000032: return "IM_REQ_PRELOGIN "; - case 0x1000033: return "IM_REQ_PRELOGIN_AGAIN "; - case 0x1000034: return "IM_REQ_GETWEB_SESSION "; - case 0x1000035: return "IM_REQ_USERUDBPROFILE "; - case 0x1000036: return "IM_REQ_PEER_VERIFY_CONFIG "; - case 0x1000037: return "IM_REQ_GET_PWDTOKEN "; - case 0x1000038: return "IM_REQ_UPDATE_UDBPROFILE "; - case 0x1000039: return "IM_REQ_GET_DEGREE "; - case 0x1000040: return "IM_REQ_CHECK_AUTHCODE "; - case 0x1000041: return "IM_REQ_PRELOGIN1 "; - case 0x1000042: return "IM_REQ_LOGIN2 "; - case 0x1000050: return "IM_REQ_ADDCONTACT_NEW "; - case 0x1000051: return "IM_REQ_ADDCNTACK_NEW "; - case 0x1001001: return "IM_REQ_HELP_LOGIN_V5 "; - case 0x1001002: return "IM_REQ_HELP_CHG_SRV_MODE_V5 "; - case 0x1001006: return "IM_REQ_HELP_GET_CHILDS_V5 "; - case 0x1001041: return "IM_REQ_HELP_LOGIN "; - case 0x1001042: return "IM_REQ_HELP_CHG_SRV_MODE "; - case 0x1001043: return "IM_REQ_HELP_SET_SHARE_CID "; - case 0x1001044: return "IM_REQ_HELP_GET_SHARE_CID "; - case 0x1001045: return "IM_REQ_HELP_GET_CHILD_ONLINE "; - case 0x1001046: return "IM_REQ_HELP_GET_ONLINECHILDS "; - case 0x1001047: return "IM_REQ_HELP_GET_SERVICES "; - case 0x1001048: return "IM_REQ_HELP_GET_BIND_TO "; - case 0x1001049: return "IM_REQ_HELP_CHG_SERVICE_NUM "; - case 0x1001050: return "IM_REQ_HELP_GET_BUDDY_STATUS "; - case 0x100005e: return "IM_REQ_SEND_WATCH_INFO "; - case 0x1000060: return "IM_REQ_GET_SIP_SESSIONID "; - case 0x1000061: return "IM_REQ_SEARCHUSER "; - case 0x1000062: return "IM_REQ_SEARCHUSEREX "; - case 0x1200000: return "CASC_REQ_GOODSSEARCH "; - case 0x1000070: return "IM_REQ_EHELP_LOGIN "; - case 0x1000071: return "IM_REQ_EHELP_GET_BUDDYS "; - case 0x1000072: return "IM_REQ_EHELP_SEND_MSG "; - case 0x1000073: return "IM_REQ_EHELP_SEND_CMD "; - case 0x1000074: return "IM_REQ_EHELP_CHG_SRV_MODE "; - case 0x1000075: return "IM_REQ_EHELP_FORWARD_USER "; - case 0x1000076: return "IM_REQ_EHELP_CLOSE_SESSION "; - case 0x1000077: return "IM_REQ_EHELP_MSG_LOG "; - case 0x1000078: return "IM_REQ_EHELP_GET_FORWARD "; - case 0x1000079: return "IM_REQ_EHELP_DUNNY "; - case 0x1000090: return "IM_REQ_GETAPPADDR "; - case 0x1000100: return "IM_REQ_GETWEBBINDING "; - case 0x1000101: return "IM_REQ_LOGIN_OPENIM "; - case 0x1000102: return "IM_REQ_SETBINDING "; - case 0x1000103: return "IM_REQ_UNBIND "; - case 0x1000200: return "IM_REQ_CHAT_IDENTIFY "; - case 0x1000201: return "IM_REQ_CHAT_CLOSE "; - case 0x1000202: return "IM_REQ_CHAT_DELTEXT "; - case 0x1000203: return "IM_REQ_CHAT_GETTXT "; - case 0x1000204: return "IM_REQ_CHAT_QUERYPICS "; - case 0x1000205: return "IM_REQ_CHAT_PUTPIC "; - case 0x1000206: return "IM_REQ_CHAT_GETPIC "; - case 0x1000207: return "IM_REQ_CHAT_GETCAL "; - case 0x1000208: return "IM_REQ_CHAT_SETTXT "; - case 0x1000209: return "IM_REQ_CHAT_CHKVER "; - case 0x1000210: return "IM_REQ_CHAT_PREIDENTIFY "; - default: return ""; - - } - } - - inline string IMSC_RESPONSE_2STR(uint32_t cmd) - { - switch(cmd) - { - case 0x1010002: return "IM_RSP_CHECKVERSION "; - case 0x1010003: return "IM_RSP_LOGIN "; - case 0x1010004: return "IM_RSP_LOGIN_AGAIN "; - case 0x1010006: return "IM_RSP_RELOGIN "; - case 0x1010007: return "IM_RSP_LOGOFF "; - case 0x1010008: return "IM_RSP_GETGROUP "; - case 0x1010009: return "IM_RSP_ADDGROUP "; - case 0x101000a: return "IM_RSP_CHGGROUP "; - case 0x101000b: return "IM_RSP_DELGROUP "; - case 0x101000c: return "IM_RSP_CHGUSERVERIFY "; - case 0x101000d: return "IM_RSP_GETCONTACT "; - case 0x101000e: return "IM_RSP_ADDCONTACT "; - case 0x101000f: return "IM_RSP_CHGCONTACT "; - case 0x1010010: return "IM_RSP_DELCONTACT "; - case 0x1010011: return "IM_RSP_ADDCNTACK "; - case 0x1010012: return "IM_RSP_GETCNTDETAIL "; - case 0x1010013: return "IM_RSP_CHGUSERDETAIL "; - case 0x1010014: return "IM_RSP_GETCNTMEMO "; - case 0x1010015: return "IM_RSP_CHGCNTMEMO "; - case 0x1010016: return "IM_RSP_GETBLACK "; - case 0x1010017: return "IM_RSP_ADDBLACK "; - case 0x1010018: return "IM_RSP_DELBLACK "; - case 0x1010019: return "IM_RSP_GETREVBLACK "; - case 0x101001a: return "IM_RSP_GETUSERINFO "; - case 0x101001b: return "IM_RSP_GETCNTSTATUS "; - case 0x101001d: return "IM_RSP_GETOFFLINEMSG "; - case 0x101001f: return "IM_RSP_DELOFFLINEMSG "; - case 0x1010020: return "IM_RSP_GETSYSTEMMSG "; - case 0x1010023: return "IM_RSP_UPGGENERALCONTACT "; - case 0x1010024: return "IM_RSP_GETTOOLSPROFILE "; - case 0x1010025: return "IM_RSP_CHGTOOLSPROFILE "; - case 0x1010026: return "IM_RSP_PEERINFO "; - case 0x1010027: return "IM_RSP_SUBSCRIBE_INFO "; - case 0x101002a: return "IM_RSP_CHGSIGNATURE "; - case 0x101002b: return "IM_RSP_ADDBINDING "; - case 0x101002c: return "IM_RSP_CHGBINDING "; - case 0x101002d: return "IM_RSP_DELBINDING "; - case 0x101002e: return "IM_RSP_GETBINDING "; - case 0x1010030: return "IM_RSP_GETFTSADDR "; - case 0x1010031: return "IM_RSP_GETUSERSSTATUS "; - case 0x1010034: return "IM_RSP_GETWEB_SESSION "; - case 0x1010035: return "IM_RSP_USERUDBPROFILE "; - case 0x1010036: return "IM_RSP_PEER_VERIFY_CONFIG "; - case 0x1010037: return "IM_RSP_GET_PWDTOKEN "; - case 0x1010038: return "IM_RSP_UPDATE_UDBPROFILE "; - case 0x1010039: return "IM_RSP_GET_DEGREE "; - case 0x1010040: return "IM_RSP_CHECK_AUTHCODE "; - case 0x1010042: return "IM_RSP_LOGIN2 "; - case 0x1010050: return "IM_RSP_ADDCONTACT_NEW "; - case 0x1010051: return "IM_RSP_ADDCNTACK_NEW "; - case 0x1010001: return "IM_RSP_HELP_LOGIN_V5 "; - //case 0x1010002: return "IM_RSP_HELP_CHG_SRV_MODE_V5 "; - //case 0x1010006: return "IM_RSP_HELP_GET_CHILDS_V5 "; - case 0x1010041: return "IM_RSP_HELP_LOGIN "; - //case 0x1010042: return "IM_RSP_HELP_CHG_SRV_MODE "; - case 0x1010043: return "IM_RSP_HELP_SET_SHARE_CID "; - case 0x1010044: return "IM_RSP_HELP_GET_SHARE_CID "; - case 0x1010045: return "IM_RSP_HELP_GET_CHILD_ONLINE"; - case 0x1010046: return "IM_RSP_HELP_GET_ONLINECHILDS"; - case 0x1010047: return "IM_RSP_HELP_GET_SERVICES "; - case 0x1010048: return "IM_RSP_HELP_GET_BIND_TO "; - case 0x1010049: return "IM_RSP_HELP_CHG_SERVICE_NUM "; - //case 0x1010050: return "IM_RSP_HELP_GET_BUDDY_STATUS"; - case 0x1010060: return "IM_RSP_GET_SIP_SESSIONID "; - case 0x1010061: return "IM_RSP_SEARCHUSER "; - case 0x1010062: return "IM_RSP_SEARCHUSEREX "; - case 0x1201000: return "CASC_RSP_GOODSSEARCH "; - case 0x1010070: return "IM_RSP_EHELP_LOGIN "; - case 0x1010071: return "IM_RSP_EHELP_GET_BUDDYS "; - case 0x1010072: return "IM_RSP_EHELP_SEND_MSG "; - case 0x1010073: return "IM_RSP_EHELP_SEND_CMD "; - case 0x1010074: return "IM_RSP_EHELP_CHG_SRV_MODE "; - case 0x1010075: return "IM_RSP_EHELP_FORWARD_USER "; - case 0x1010076: return "IM_RSP_EHELP_CLOSE_SESSION "; - case 0x1010077: return "IM_RSP_EHELP_MSG_LOG "; - case 0x1010078: return "IM_RSP_EHELP_GET_FORWARD "; - case 0x1010079: return "IM_RSP_EHELP_NOTIFY_MSG "; - case 0x1010090: return "IM_RSP_GETAPPADDR "; - case 0x1010100: return "IM_RSP_GETWEBBINDING "; - case 0x1010101: return "IM_RSP_LOGIN_OPENIM "; - case 0x1010102: return "IM_RSP_SETBINDING "; - case 0x1010103: return "IM_RSP_UNBIND "; - case 0x1010200: return "IM_RSP_CHAT_IDENTIFY "; - case 0x1010201: return "IM_RSP_CHAT_CLOSE "; - case 0x1010202: return "IM_RSP_CHAT_DELTEXT "; - case 0x1010203: return "IM_RSP_CHAT_GETTXT "; - case 0x1010204: return "IM_RSP_CHAT_QUERYPICS "; - case 0x1010205: return "IM_RSP_CHAT_PUTPIC "; - case 0x1010206: return "IM_RSP_CHAT_GETPIC "; - case 0x1010207: return "IM_RSP_CHAT_GETCAL "; - case 0x1010208: return "IM_RSP_CHAT_SETTXT "; - case 0x1010209: return "IM_RSP_CHAT_CHKVER "; - case 0x1010210: return "IM_RSP_CHAT_PREIDENTIFY "; - default: return ""; - } - } - - inline string IMSC_NOTIF_2STR(uint32_t cmd) - { - switch(cmd) - { - case 0x1020004: return "IM_NTF_LOGIN_AGAIN "; - case 0x1020005: return "IM_NTF_FORCEDISCONNECT "; - case 0x102000f: return "IM_NTF_STATUS "; - case 0x1020010: return "IM_NTF_IMMESSAGE "; - case 0x1020011: return "IM_NTF_SYSTEMMESSAGE "; - case 0x102002b: return "IM_NTF_OPERATIONTIP "; - case 0x102002c: return "IM_NTF_UPDATE_USREXTINFO"; - case 0x102002d: return "IM_NTF_SUBCRIBE_MSG "; - case 0x1020030: return "IM_NTF_REFRESH_CONTACT "; - case 0x1020031: return "IM_NTF_FEEDS "; - case 0x1020032: return "IM_NTF_USER_SNSINFO "; - case 0x1020033: return "IM_NTF_RECENT "; - case 0x1020040: return "IM_NTF_NEED_AUTHCODE "; - case 0x102005d: return "IM_NTF_EXTINFO_MSG "; - case 0x102005e: return "IM_NTF_WATCH_INFO "; - case 0x1020012: return "IM_NTF_SYSTEMMAPMESSAGE "; - case 0x1020100: return "IM_NTF_WEBSYSMESSAGE "; - case 0x1020101: return "IM_NTF_WEBUSERMESSAGE "; - case 0x1020105: return "IM_NTF_UNBIND_DISCONNECT"; - case 0x1020106: return "IM_NTF_TAOBAOID_KICKED "; - - default: return ""; - } - } - - inline string ALI_IM_P2P_MSG_TYPE_2STR(uint32_t cmd) - { - switch(cmd) - { - case 0 : return "ALI_IM_TEXT "; - case 0x1: return "ALI_IM_BUZZ "; - case 0x2: return "ALI_IM_P2P "; - case 0x3: return "ALI_IM_AUTO_REPLY "; - case 0x4: return "ALI_IM_MSG_ACK "; - case 0x5: return "ALI_IM_CONTACT "; - case 0x6: return "ALI_IM_TYPING_NOTIFY "; - case 0x7: return "ALI_IM_GROUP_BROADCAST"; - default: return ""; - } - } - - - inline string ADDCONTACT_OPERATE_2STR(uint32_t cmd) - { - switch(cmd) - { - case 0x301: return "IMM_CONTACT_ADDED "; - case 0x302: return "IMM_CONTACT_IGNOREUSER_ADDED"; - case 0x303: return "IMM_CONTACT_IGNOREUSER_DELED"; - case 0x310: return "IMM_CONTACT_ASKADD_REQ "; - case 0x311: return "IMM_CONTACT_ASKADD_NO "; - case 0x312: return "IMM_CONTACT_ASKADD_YES "; - default: return ""; - } - } - - inline string IMSC_CMD_2STR(uint32_t cmd) - { - string str; - str = IMSC_REQUEST_2STR(cmd); - if(!str.empty()) return str; - str = IMSC_RESPONSE_2STR(cmd); - if(!str.empty()) return str; - str = IMSC_NOTIF_2STR(cmd); - if(!str.empty()) return str; - str = ALI_IM_P2P_MSG_TYPE_2STR(cmd); - if(!str.empty()) return str; - str = ADDCONTACT_OPERATE_2STR(cmd); - if(!str.empty()) - { - return str; - } - else - { - ostringstream ss; - ss << std::hex<< std::showbase<< cmd; - string strcmd = ss.str(); - return strcmd; - } - } -} -#endif diff --git a/features/aliww/include/imsc_pack.h b/features/aliww/include/imsc_pack.h deleted file mode 100644 index f16494e..0000000 --- a/features/aliww/include/imsc_pack.h +++ /dev/null @@ -1,11670 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: imsc_pack.h -// Date: 2011-04-27 13:35:59 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __IMSC_PACK_H__ -#define __IMSC_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "des.h" -#include -#include "sc_head.h" -#include "const_macro.h" -#include "imsc_cmd.h" - -using namespace std; - -#ifndef STATUSDEF_LENGTH -#define STATUSDEF_LENGTH 64 -#endif - -class CImHelthCheck : public CPackData -{ -public: - enum - { - CMD_ID = IM_HELTH_CHECK - }; - ~CImHelthCheck() { } -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImHelthCheck::Size() const -{ - return 1; -} -class CImReqCheckversion : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHECKVERSION - }; - CImReqCheckversion() - { - } - - ~CImReqCheckversion() { } - CImReqCheckversion(const string& strVersion) - { - m_version = strVersion; - } - CImReqCheckversion& operator=( const CImReqCheckversion& cImReqCheckversion ) - { - m_version = cImReqCheckversion.m_version; - return *this; - } - - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - if(strVersion.size() > 128) - return false; - m_version = strVersion; - return true; - } -private: - string m_version; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqCheckversion::Size() const -{ - uint32_t nSize = 6; - nSize += m_version.length(); - return nSize; -} - -class CImRspCheckversion : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHECKVERSION - }; - CImRspCheckversion() - { - } - - ~CImRspCheckversion() { } - CImRspCheckversion(const uint32_t& dwRetcode, const string& strRemark, const uint32_t& dwConnectNo, const string& strPubkey) - { - m_retcode = dwRetcode; - m_remark = strRemark; - m_connectNo = dwConnectNo; - m_pubkey = strPubkey; - } - CImRspCheckversion& operator=( const CImRspCheckversion& cImRspCheckversion ) - { - m_retcode = cImRspCheckversion.m_retcode; - m_remark = cImRspCheckversion.m_remark; - m_connectNo = cImRspCheckversion.m_connectNo; - m_pubkey = cImRspCheckversion.m_pubkey; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - if(strRemark.size() > 256) - return false; - m_remark = strRemark; - return true; - } - const uint32_t& GetConnectNo () const { return m_connectNo; } - bool SetConnectNo ( const uint32_t& dwConnectNo ) - { - m_connectNo = dwConnectNo; - return true; - } - const string& GetPubkey () const { return m_pubkey; } - bool SetPubkey ( const string& strPubkey ) - { - m_pubkey = strPubkey; - return true; - } -private: - uint32_t m_retcode; - string m_remark; - uint32_t m_connectNo; - string m_pubkey; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspCheckversion::Size() const -{ - uint32_t nSize = 21; - nSize += m_remark.length(); - nSize += m_pubkey.length(); - return nSize; -} - -class CImReqPrelogin : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_PRELOGIN - }; - CImReqPrelogin() - { - } - - ~CImReqPrelogin() { } - CImReqPrelogin(const uint32_t& dwConnectNo, const string& strWorkKey, const string& strStrlogin) - { - m_connectNo = dwConnectNo; - m_workKey = strWorkKey; - m_strlogin = strStrlogin; - } - CImReqPrelogin& operator=( const CImReqPrelogin& cImReqPrelogin ) - { - m_connectNo = cImReqPrelogin.m_connectNo; - m_workKey = cImReqPrelogin.m_workKey; - m_strlogin = cImReqPrelogin.m_strlogin; - return *this; - } - - const uint32_t& GetConnectNo () const { return m_connectNo; } - bool SetConnectNo ( const uint32_t& dwConnectNo ) - { - m_connectNo = dwConnectNo; - return true; - } - const string& GetWorkKey () const { return m_workKey; } - bool SetWorkKey ( const string& strWorkKey ) - { - if(strWorkKey.size() > 128) - return false; - m_workKey = strWorkKey; - return true; - } - const string& GetStrlogin () const { return m_strlogin; } - bool SetStrlogin ( const string& strStrlogin ) - { - m_strlogin = strStrlogin; - return true; - } -private: - uint32_t m_connectNo; - string m_workKey; - string m_strlogin; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqPrelogin::Size() const -{ - uint32_t nSize = 16; - nSize += m_workKey.length(); - nSize += m_strlogin.length(); - return nSize; -} - -class CImReqLogin : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_LOGIN - }; - CImReqLogin() : m_rid("magic") - { - } - - ~CImReqLogin() { } - CImReqLogin(const uint8_t& chTokenFlag, const uint32_t& dwConnectNo, const string& strPassword, const string& strVersion, const uint32_t& dwLanguage, const uint32_t& dwTimestampFlag, const VECTOR< uint32_t >& vecTimestampList, const VECTOR< string >& vecHardcode, const string& strHardcheck, const string& strRid= "magic") - { - m_tokenFlag = chTokenFlag; - m_connectNo = dwConnectNo; - m_password = strPassword; - m_version = strVersion; - m_language = dwLanguage; - m_timestampFlag = dwTimestampFlag; - m_timestampList = vecTimestampList; - m_hardcode = vecHardcode; - m_hardcheck = strHardcheck; - m_rid = strRid; - } - CImReqLogin& operator=( const CImReqLogin& cImReqLogin ) - { - m_tokenFlag = cImReqLogin.m_tokenFlag; - m_connectNo = cImReqLogin.m_connectNo; - m_password = cImReqLogin.m_password; - m_version = cImReqLogin.m_version; - m_language = cImReqLogin.m_language; - m_timestampFlag = cImReqLogin.m_timestampFlag; - m_timestampList = cImReqLogin.m_timestampList; - m_hardcode = cImReqLogin.m_hardcode; - m_hardcheck = cImReqLogin.m_hardcheck; - m_rid = cImReqLogin.m_rid; - return *this; - } - - const uint8_t& GetTokenFlag () const { return m_tokenFlag; } - bool SetTokenFlag ( const uint8_t& chTokenFlag ) - { - m_tokenFlag = chTokenFlag; - return true; - } - const uint32_t& GetConnectNo () const { return m_connectNo; } - bool SetConnectNo ( const uint32_t& dwConnectNo ) - { - m_connectNo = dwConnectNo; - return true; - } - const string& GetPassword () const { return m_password; } - bool SetPassword ( const string& strPassword ) - { - if(strPassword.size() > 48) - return false; - m_password = strPassword; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - if(strVersion.size() > 128) - return false; - m_version = strVersion; - return true; - } - const uint32_t& GetLanguage () const { return m_language; } - bool SetLanguage ( const uint32_t& dwLanguage ) - { - m_language = dwLanguage; - return true; - } - const uint32_t& GetTimestampFlag () const { return m_timestampFlag; } - bool SetTimestampFlag ( const uint32_t& dwTimestampFlag ) - { - m_timestampFlag = dwTimestampFlag; - return true; - } - const VECTOR< uint32_t >& GetTimestampList () const { return m_timestampList; } - bool SetTimestampList ( const VECTOR< uint32_t >& vecTimestampList ) - { - m_timestampList = vecTimestampList; - return true; - } - const VECTOR< string >& GetHardcode () const { return m_hardcode; } - bool SetHardcode ( const VECTOR< string >& vecHardcode ) - { - m_hardcode = vecHardcode; - return true; - } - const string& GetHardcheck () const { return m_hardcheck; } - bool SetHardcheck ( const string& strHardcheck ) - { - m_hardcheck = strHardcheck; - return true; - } - const string& GetRid () const { return m_rid; } - bool SetRid ( const string& strRid ) - { - m_rid = strRid; - return true; - } -private: - uint8_t m_tokenFlag; - uint32_t m_connectNo; - string m_password; - string m_version; - uint32_t m_language; - uint32_t m_timestampFlag; - VECTOR< uint32_t > m_timestampList; - VECTOR< string > m_hardcode; - string m_hardcheck; - string m_rid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqLogin::Size() const -{ - uint32_t nSize = 50; - nSize += m_password.length(); - nSize += m_version.length(); - nSize += m_timestampList.size() * 4; - nSize += m_hardcode.size() * 4; - for(uint32_t i = 0; i < m_hardcode.size(); i++) - { - nSize += m_hardcode[i].length(); - } - nSize += m_hardcheck.length(); - nSize += m_rid.length(); - return nSize; -} - -class CImReqPrelogin1 : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_PRELOGIN1 - }; - CImReqPrelogin1() - { - } - - ~CImReqPrelogin1() { } - CImReqPrelogin1(const uint32_t& dwConnectNo, const string& strWorkKey, const string& strStrlogin) - { - m_connectNo = dwConnectNo; - m_workKey = strWorkKey; - m_strlogin = strStrlogin; - } - CImReqPrelogin1& operator=( const CImReqPrelogin1& cImReqPrelogin1 ) - { - m_connectNo = cImReqPrelogin1.m_connectNo; - m_workKey = cImReqPrelogin1.m_workKey; - m_strlogin = cImReqPrelogin1.m_strlogin; - return *this; - } - - const uint32_t& GetConnectNo () const { return m_connectNo; } - bool SetConnectNo ( const uint32_t& dwConnectNo ) - { - m_connectNo = dwConnectNo; - return true; - } - const string& GetWorkKey () const { return m_workKey; } - bool SetWorkKey ( const string& strWorkKey ) - { - if(strWorkKey.size() > 128) - return false; - m_workKey = strWorkKey; - return true; - } - const string& GetStrlogin () const { return m_strlogin; } - bool SetStrlogin ( const string& strStrlogin ) - { - m_strlogin = strStrlogin; - return true; - } -private: - uint32_t m_connectNo; - string m_workKey; - string m_strlogin; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqPrelogin1::Size() const -{ - uint32_t nSize = 16; - nSize += m_workKey.length(); - nSize += m_strlogin.length(); - return nSize; -} - -class CImRspLogin : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_LOGIN - }; - CImRspLogin() : m_lastLogintime(0) - { - } - - ~CImRspLogin() { } - CImRspLogin(const uint32_t& dwRetcode, const uint32_t& dwTimestampFlag, const uint32_t& dwClientIp, const uint32_t& dwServerTime, const string& strWorkKey, const string& strPwtoken, const string& strRemark, const string& strWebmd5pw, const uint32_t& dwLastClientip, const string& strBindid, const string& strRid, const uint32_t& dwLastLogintime= 0) - { - m_retcode = dwRetcode; - m_timestampFlag = dwTimestampFlag; - m_clientIp = dwClientIp; - m_serverTime = dwServerTime; - m_workKey = strWorkKey; - m_pwtoken = strPwtoken; - m_remark = strRemark; - m_webmd5pw = strWebmd5pw; - m_lastClientip = dwLastClientip; - m_bindid = strBindid; - m_rid = strRid; - m_lastLogintime = dwLastLogintime; - } - CImRspLogin& operator=( const CImRspLogin& cImRspLogin ) - { - m_retcode = cImRspLogin.m_retcode; - m_timestampFlag = cImRspLogin.m_timestampFlag; - m_clientIp = cImRspLogin.m_clientIp; - m_serverTime = cImRspLogin.m_serverTime; - m_workKey = cImRspLogin.m_workKey; - m_pwtoken = cImRspLogin.m_pwtoken; - m_remark = cImRspLogin.m_remark; - m_webmd5pw = cImRspLogin.m_webmd5pw; - m_lastClientip = cImRspLogin.m_lastClientip; - m_bindid = cImRspLogin.m_bindid; - m_rid = cImRspLogin.m_rid; - m_lastLogintime = cImRspLogin.m_lastLogintime; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint32_t& GetTimestampFlag () const { return m_timestampFlag; } - bool SetTimestampFlag ( const uint32_t& dwTimestampFlag ) - { - m_timestampFlag = dwTimestampFlag; - return true; - } - const uint32_t& GetClientIp () const { return m_clientIp; } - bool SetClientIp ( const uint32_t& dwClientIp ) - { - m_clientIp = dwClientIp; - return true; - } - const uint32_t& GetServerTime () const { return m_serverTime; } - bool SetServerTime ( const uint32_t& dwServerTime ) - { - m_serverTime = dwServerTime; - return true; - } - const string& GetWorkKey () const { return m_workKey; } - bool SetWorkKey ( const string& strWorkKey ) - { - m_workKey = strWorkKey; - return true; - } - const string& GetPwtoken () const { return m_pwtoken; } - bool SetPwtoken ( const string& strPwtoken ) - { - m_pwtoken = strPwtoken; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - if(strRemark.size() > 256) - return false; - m_remark = strRemark; - return true; - } - const string& GetWebmd5pw () const { return m_webmd5pw; } - bool SetWebmd5pw ( const string& strWebmd5pw ) - { - m_webmd5pw = strWebmd5pw; - return true; - } - const uint32_t& GetLastClientip () const { return m_lastClientip; } - bool SetLastClientip ( const uint32_t& dwLastClientip ) - { - m_lastClientip = dwLastClientip; - return true; - } - const string& GetBindid () const { return m_bindid; } - bool SetBindid ( const string& strBindid ) - { - m_bindid = strBindid; - return true; - } - const string& GetRid () const { return m_rid; } - bool SetRid ( const string& strRid ) - { - m_rid = strRid; - return true; - } - const uint32_t& GetLastLogintime () const { return m_lastLogintime; } - bool SetLastLogintime ( const uint32_t& dwLastLogintime ) - { - m_lastLogintime = dwLastLogintime; - return true; - } -private: - uint32_t m_retcode; - uint32_t m_timestampFlag; - uint32_t m_clientIp; - uint32_t m_serverTime; - string m_workKey; - string m_pwtoken; - string m_remark; - string m_webmd5pw; - uint32_t m_lastClientip; - string m_bindid; - string m_rid; - uint32_t m_lastLogintime; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspLogin::Size() const -{ - uint32_t nSize = 61; - nSize += m_workKey.length(); - nSize += m_pwtoken.length(); - nSize += m_remark.length(); - nSize += m_webmd5pw.length(); - nSize += m_bindid.length(); - nSize += m_rid.length(); - return nSize; -} - -class CImReqLogin2 : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_LOGIN2 - }; - CImReqLogin2() - { - } - - ~CImReqLogin2() { } - CImReqLogin2(const uint32_t& dwTimestampFlag, const VECTOR< uint32_t >& vecTimestampList, const string& strLoginToken) - { - m_timestampFlag = dwTimestampFlag; - m_timestampList = vecTimestampList; - m_loginToken = strLoginToken; - } - CImReqLogin2& operator=( const CImReqLogin2& cImReqLogin2 ) - { - m_timestampFlag = cImReqLogin2.m_timestampFlag; - m_timestampList = cImReqLogin2.m_timestampList; - m_loginToken = cImReqLogin2.m_loginToken; - return *this; - } - - const uint32_t& GetTimestampFlag () const { return m_timestampFlag; } - bool SetTimestampFlag ( const uint32_t& dwTimestampFlag ) - { - m_timestampFlag = dwTimestampFlag; - return true; - } - const VECTOR< uint32_t >& GetTimestampList () const { return m_timestampList; } - bool SetTimestampList ( const VECTOR< uint32_t >& vecTimestampList ) - { - m_timestampList = vecTimestampList; - return true; - } - const string& GetLoginToken () const { return m_loginToken; } - bool SetLoginToken ( const string& strLoginToken ) - { - m_loginToken = strLoginToken; - return true; - } -private: - uint32_t m_timestampFlag; - VECTOR< uint32_t > m_timestampList; - string m_loginToken; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqLogin2::Size() const -{ - uint32_t nSize = 17; - nSize += m_timestampList.size() * 4; - nSize += m_loginToken.length(); - return nSize; -} - -class CImRspLogin2 : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_LOGIN2 - }; - CImRspLogin2() - { - } - - ~CImRspLogin2() { } - CImRspLogin2(const uint32_t& dwRetcode, const uint32_t& dwTimestampFlag, const string& strRemark) - { - m_retcode = dwRetcode; - m_timestampFlag = dwTimestampFlag; - m_remark = strRemark; - } - CImRspLogin2& operator=( const CImRspLogin2& cImRspLogin2 ) - { - m_retcode = cImRspLogin2.m_retcode; - m_timestampFlag = cImRspLogin2.m_timestampFlag; - m_remark = cImRspLogin2.m_remark; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint32_t& GetTimestampFlag () const { return m_timestampFlag; } - bool SetTimestampFlag ( const uint32_t& dwTimestampFlag ) - { - m_timestampFlag = dwTimestampFlag; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - if(strRemark.size() > 256) - return false; - m_remark = strRemark; - return true; - } -private: - uint32_t m_retcode; - uint32_t m_timestampFlag; - string m_remark; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspLogin2::Size() const -{ - uint32_t nSize = 16; - nSize += m_remark.length(); - return nSize; -} - -class CImReqPreloginAgain : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_PRELOGIN_AGAIN - }; - CImReqPreloginAgain() - { - } - - ~CImReqPreloginAgain() { } - CImReqPreloginAgain(const uint32_t& dwConnectNo, const string& strWorkKey, const string& strStrloginagin) - { - m_connectNo = dwConnectNo; - m_workKey = strWorkKey; - m_strloginagin = strStrloginagin; - } - CImReqPreloginAgain& operator=( const CImReqPreloginAgain& cImReqPreloginAgain ) - { - m_connectNo = cImReqPreloginAgain.m_connectNo; - m_workKey = cImReqPreloginAgain.m_workKey; - m_strloginagin = cImReqPreloginAgain.m_strloginagin; - return *this; - } - - const uint32_t& GetConnectNo () const { return m_connectNo; } - bool SetConnectNo ( const uint32_t& dwConnectNo ) - { - m_connectNo = dwConnectNo; - return true; - } - const string& GetWorkKey () const { return m_workKey; } - bool SetWorkKey ( const string& strWorkKey ) - { - if(strWorkKey.size() > 128) - return false; - m_workKey = strWorkKey; - return true; - } - const string& GetStrloginagin () const { return m_strloginagin; } - bool SetStrloginagin ( const string& strStrloginagin ) - { - m_strloginagin = strStrloginagin; - return true; - } -private: - uint32_t m_connectNo; - string m_workKey; - string m_strloginagin; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqPreloginAgain::Size() const -{ - uint32_t nSize = 16; - nSize += m_workKey.length(); - nSize += m_strloginagin.length(); - return nSize; -} - -class CImReqLoginAgain : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_LOGIN_AGAIN - }; - CImReqLoginAgain() - { - } - - ~CImReqLoginAgain() { } - CImReqLoginAgain(const uint8_t& chTokenFlag, const uint32_t& dwConnectNo, const string& strPassword, const string& strVersion, const uint32_t& dwLanguage, const VECTOR< string >& vecHardcode, const string& strHardcheck, const uint8_t& chBasicStatus, const uint8_t& chPredefStatus, const string& strPwcode) - { - m_tokenFlag = chTokenFlag; - m_connectNo = dwConnectNo; - m_password = strPassword; - m_version = strVersion; - m_language = dwLanguage; - m_hardcode = vecHardcode; - m_hardcheck = strHardcheck; - m_basicStatus = chBasicStatus; - m_predefStatus = chPredefStatus; - m_pwcode = strPwcode; - } - CImReqLoginAgain& operator=( const CImReqLoginAgain& cImReqLoginAgain ) - { - m_tokenFlag = cImReqLoginAgain.m_tokenFlag; - m_connectNo = cImReqLoginAgain.m_connectNo; - m_password = cImReqLoginAgain.m_password; - m_version = cImReqLoginAgain.m_version; - m_language = cImReqLoginAgain.m_language; - m_hardcode = cImReqLoginAgain.m_hardcode; - m_hardcheck = cImReqLoginAgain.m_hardcheck; - m_basicStatus = cImReqLoginAgain.m_basicStatus; - m_predefStatus = cImReqLoginAgain.m_predefStatus; - m_pwcode = cImReqLoginAgain.m_pwcode; - return *this; - } - - const uint8_t& GetTokenFlag () const { return m_tokenFlag; } - bool SetTokenFlag ( const uint8_t& chTokenFlag ) - { - m_tokenFlag = chTokenFlag; - return true; - } - const uint32_t& GetConnectNo () const { return m_connectNo; } - bool SetConnectNo ( const uint32_t& dwConnectNo ) - { - m_connectNo = dwConnectNo; - return true; - } - const string& GetPassword () const { return m_password; } - bool SetPassword ( const string& strPassword ) - { - if(strPassword.size() > 48) - return false; - m_password = strPassword; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - if(strVersion.size() > 128) - return false; - m_version = strVersion; - return true; - } - const uint32_t& GetLanguage () const { return m_language; } - bool SetLanguage ( const uint32_t& dwLanguage ) - { - m_language = dwLanguage; - return true; - } - const VECTOR< string >& GetHardcode () const { return m_hardcode; } - bool SetHardcode ( const VECTOR< string >& vecHardcode ) - { - m_hardcode = vecHardcode; - return true; - } - const string& GetHardcheck () const { return m_hardcheck; } - bool SetHardcheck ( const string& strHardcheck ) - { - m_hardcheck = strHardcheck; - return true; - } - const uint8_t& GetBasicStatus () const { return m_basicStatus; } - bool SetBasicStatus ( const uint8_t& chBasicStatus ) - { - m_basicStatus = chBasicStatus; - return true; - } - const uint8_t& GetPredefStatus () const { return m_predefStatus; } - bool SetPredefStatus ( const uint8_t& chPredefStatus ) - { - m_predefStatus = chPredefStatus; - return true; - } - const string& GetPwcode () const { return m_pwcode; } - bool SetPwcode ( const string& strPwcode ) - { - m_pwcode = strPwcode; - return true; - } -private: - uint8_t m_tokenFlag; - uint32_t m_connectNo; - string m_password; - string m_version; - uint32_t m_language; - VECTOR< string > m_hardcode; - string m_hardcheck; - uint8_t m_basicStatus; - uint8_t m_predefStatus; - string m_pwcode; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqLoginAgain::Size() const -{ - uint32_t nSize = 43; - nSize += m_password.length(); - nSize += m_version.length(); - nSize += m_hardcode.size() * 4; - for(uint32_t i = 0; i < m_hardcode.size(); i++) - { - nSize += m_hardcode[i].length(); - } - nSize += m_hardcheck.length(); - nSize += m_pwcode.length(); - return nSize; -} - -class CImRspLoginAgain : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_LOGIN_AGAIN - }; - CImRspLoginAgain() - { - } - - ~CImRspLoginAgain() { } - CImRspLoginAgain(const uint32_t& dwRetcode, const string& strWorkKey, const string& strRemark) - { - m_retcode = dwRetcode; - m_workKey = strWorkKey; - m_remark = strRemark; - } - CImRspLoginAgain& operator=( const CImRspLoginAgain& cImRspLoginAgain ) - { - m_retcode = cImRspLoginAgain.m_retcode; - m_workKey = cImRspLoginAgain.m_workKey; - m_remark = cImRspLoginAgain.m_remark; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetWorkKey () const { return m_workKey; } - bool SetWorkKey ( const string& strWorkKey ) - { - m_workKey = strWorkKey; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - if(strRemark.size() > 256) - return false; - m_remark = strRemark; - return true; - } -private: - uint32_t m_retcode; - string m_workKey; - string m_remark; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspLoginAgain::Size() const -{ - uint32_t nSize = 16; - nSize += m_workKey.length(); - nSize += m_remark.length(); - return nSize; -} - -class CImNtfLoginAgain : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_LOGIN_AGAIN - }; - CImNtfLoginAgain() - { - } - - ~CImNtfLoginAgain() { } - CImNtfLoginAgain(const string& strPwcode) - { - m_pwcode = strPwcode; - } - CImNtfLoginAgain& operator=( const CImNtfLoginAgain& cImNtfLoginAgain ) - { - m_pwcode = cImNtfLoginAgain.m_pwcode; - return *this; - } - - const string& GetPwcode () const { return m_pwcode; } - bool SetPwcode ( const string& strPwcode ) - { - m_pwcode = strPwcode; - return true; - } -private: - string m_pwcode; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfLoginAgain::Size() const -{ - uint32_t nSize = 6; - nSize += m_pwcode.length(); - return nSize; -} - -class CImReqPostlogin : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_POSTLOGIN - }; - CImReqPostlogin() - { - } - - ~CImReqPostlogin() { } - CImReqPostlogin(const uint8_t& chBasicStatus, const uint8_t& chPredefStatus) - { - m_basicStatus = chBasicStatus; - m_predefStatus = chPredefStatus; - } - CImReqPostlogin& operator=( const CImReqPostlogin& cImReqPostlogin ) - { - m_basicStatus = cImReqPostlogin.m_basicStatus; - m_predefStatus = cImReqPostlogin.m_predefStatus; - return *this; - } - - const uint8_t& GetBasicStatus () const { return m_basicStatus; } - bool SetBasicStatus ( const uint8_t& chBasicStatus ) - { - m_basicStatus = chBasicStatus; - return true; - } - const uint8_t& GetPredefStatus () const { return m_predefStatus; } - bool SetPredefStatus ( const uint8_t& chPredefStatus ) - { - m_predefStatus = chPredefStatus; - return true; - } -private: - uint8_t m_basicStatus; - uint8_t m_predefStatus; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqPostlogin::Size() const -{ - return 5; -} -class CImReqRelogin : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_RELOGIN - }; - CImReqRelogin() - { - } - - ~CImReqRelogin() { } - CImReqRelogin(const string& strPassword, const string& strVersion, const uint32_t& dwConnectNo, const uint8_t& chBasicStatus, const uint8_t& chPredefStatus) - { - m_password = strPassword; - m_version = strVersion; - m_connectNo = dwConnectNo; - m_basicStatus = chBasicStatus; - m_predefStatus = chPredefStatus; - } - CImReqRelogin& operator=( const CImReqRelogin& cImReqRelogin ) - { - m_password = cImReqRelogin.m_password; - m_version = cImReqRelogin.m_version; - m_connectNo = cImReqRelogin.m_connectNo; - m_basicStatus = cImReqRelogin.m_basicStatus; - m_predefStatus = cImReqRelogin.m_predefStatus; - return *this; - } - - const string& GetPassword () const { return m_password; } - bool SetPassword ( const string& strPassword ) - { - if(strPassword.size() > 48) - return false; - m_password = strPassword; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - if(strVersion.size() > 128) - return false; - m_version = strVersion; - return true; - } - const uint32_t& GetConnectNo () const { return m_connectNo; } - bool SetConnectNo ( const uint32_t& dwConnectNo ) - { - m_connectNo = dwConnectNo; - return true; - } - const uint8_t& GetBasicStatus () const { return m_basicStatus; } - bool SetBasicStatus ( const uint8_t& chBasicStatus ) - { - m_basicStatus = chBasicStatus; - return true; - } - const uint8_t& GetPredefStatus () const { return m_predefStatus; } - bool SetPredefStatus ( const uint8_t& chPredefStatus ) - { - m_predefStatus = chPredefStatus; - return true; - } -private: - string m_password; - string m_version; - uint32_t m_connectNo; - uint8_t m_basicStatus; - uint8_t m_predefStatus; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqRelogin::Size() const -{ - uint32_t nSize = 20; - nSize += m_password.length(); - nSize += m_version.length(); - return nSize; -} - -class CImRspRelogin : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_RELOGIN - }; - CImRspRelogin() - { - } - - ~CImRspRelogin() { } - CImRspRelogin(const uint32_t& dwRetcode, const uint32_t& dwConnectNo, const string& strRemark) - { - m_retcode = dwRetcode; - m_connectNo = dwConnectNo; - m_remark = strRemark; - } - CImRspRelogin& operator=( const CImRspRelogin& cImRspRelogin ) - { - m_retcode = cImRspRelogin.m_retcode; - m_connectNo = cImRspRelogin.m_connectNo; - m_remark = cImRspRelogin.m_remark; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint32_t& GetConnectNo () const { return m_connectNo; } - bool SetConnectNo ( const uint32_t& dwConnectNo ) - { - m_connectNo = dwConnectNo; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - if(strRemark.size() > 256) - return false; - m_remark = strRemark; - return true; - } -private: - uint32_t m_retcode; - uint32_t m_connectNo; - string m_remark; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspRelogin::Size() const -{ - uint32_t nSize = 16; - nSize += m_remark.length(); - return nSize; -} - -class CImReqLogoff : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_LOGOFF - }; - ~CImReqLogoff() { } -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqLogoff::Size() const -{ - return 1; -} -class CImRspLogoff : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_LOGOFF - }; - CImRspLogoff() - { - } - - ~CImRspLogoff() { } - CImRspLogoff(const uint32_t& dwRetcode, const string& strRemark) - { - m_retcode = dwRetcode; - m_remark = strRemark; - } - CImRspLogoff& operator=( const CImRspLogoff& cImRspLogoff ) - { - m_retcode = cImRspLogoff.m_retcode; - m_remark = cImRspLogoff.m_remark; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - if(strRemark.size() > 256) - return false; - m_remark = strRemark; - return true; - } -private: - uint32_t m_retcode; - string m_remark; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspLogoff::Size() const -{ - uint32_t nSize = 11; - nSize += m_remark.length(); - return nSize; -} - -class CImNtfForcedisconnect : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_FORCEDISCONNECT - }; - CImNtfForcedisconnect() - { - } - - ~CImNtfForcedisconnect() { } - CImNtfForcedisconnect(const uint8_t& chType, const string& strRemark) - { - m_type = chType; - m_remark = strRemark; - } - CImNtfForcedisconnect& operator=( const CImNtfForcedisconnect& cImNtfForcedisconnect ) - { - m_type = cImNtfForcedisconnect.m_type; - m_remark = cImNtfForcedisconnect.m_remark; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - if(strRemark.size() > 256) - return false; - m_remark = strRemark; - return true; - } -private: - uint8_t m_type; - string m_remark; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfForcedisconnect::Size() const -{ - uint32_t nSize = 8; - nSize += m_remark.length(); - return nSize; -} - -struct SUserGroup -{ -public: - SUserGroup() - { - } - - ~SUserGroup() { } - SUserGroup(const int64_t& llGroupId, const int64_t& llParentId, const string& strGroupName) - { - m_groupId = llGroupId; - m_parentId = llParentId; - m_groupName = strGroupName; - } - SUserGroup& operator=( const SUserGroup& sUserGroup ) - { - m_groupId = sUserGroup.m_groupId; - m_parentId = sUserGroup.m_parentId; - m_groupName = sUserGroup.m_groupName; - return *this; - } - - int64_t m_groupId; - int64_t m_parentId; - string m_groupName; - -public: - uint32_t Size() const; -}; - -inline uint32_t SUserGroup::Size() const -{ - uint32_t nSize = 24; - nSize += m_groupName.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SUserGroup& sUserGroup ); -CPackData& operator>> ( CPackData& cPackData, SUserGroup& sUserGroup ); - -class CImReqGetgroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GETGROUP - }; - CImReqGetgroup() - { - } - - ~CImReqGetgroup() { } - CImReqGetgroup(const uint32_t& dwTimestamp) - { - m_timestamp = dwTimestamp; - } - CImReqGetgroup& operator=( const CImReqGetgroup& cImReqGetgroup ) - { - m_timestamp = cImReqGetgroup.m_timestamp; - return *this; - } - - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetgroup::Size() const -{ - return 6; -} -class CImRspGetgroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETGROUP - }; - CImRspGetgroup() - { - } - - ~CImRspGetgroup() { } - CImRspGetgroup(const uint32_t& dwRetcode, const VECTOR< SUserGroup >& vecGroupList, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_groupList = vecGroupList; - m_timestamp = dwTimestamp; - } - CImRspGetgroup& operator=( const CImRspGetgroup& cImRspGetgroup ) - { - m_retcode = cImRspGetgroup.m_retcode; - m_groupList = cImRspGetgroup.m_groupList; - m_timestamp = cImRspGetgroup.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< SUserGroup >& GetGroupList () const { return m_groupList; } - bool SetGroupList ( const VECTOR< SUserGroup >& vecGroupList ) - { - m_groupList = vecGroupList; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - VECTOR< SUserGroup > m_groupList; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetgroup::Size() const -{ - uint32_t nSize = 17; - for(uint32_t i = 0; i < m_groupList.size(); i++) - { - nSize += m_groupList[i].Size(); - } - return nSize; -} - -class CImReqAddgroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ADDGROUP - }; - CImReqAddgroup() - { - } - - ~CImReqAddgroup() { } - CImReqAddgroup(const string& strGroupName, const int64_t& llParentId) - { - m_groupName = strGroupName; - m_parentId = llParentId; - } - CImReqAddgroup& operator=( const CImReqAddgroup& cImReqAddgroup ) - { - m_groupName = cImReqAddgroup.m_groupName; - m_parentId = cImReqAddgroup.m_parentId; - return *this; - } - - const string& GetGroupName () const { return m_groupName; } - bool SetGroupName ( const string& strGroupName ) - { - m_groupName = strGroupName; - return true; - } - const int64_t& GetParentId () const { return m_parentId; } - bool SetParentId ( const int64_t& llParentId ) - { - m_parentId = llParentId; - return true; - } -private: - string m_groupName; - int64_t m_parentId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAddgroup::Size() const -{ - uint32_t nSize = 15; - nSize += m_groupName.length(); - return nSize; -} - -class CImRspAddgroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_ADDGROUP - }; - CImRspAddgroup() - { - } - - ~CImRspAddgroup() { } - CImRspAddgroup(const uint32_t& dwRetcode, const SUserGroup& sGroupInfo, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_groupInfo = sGroupInfo; - m_timestamp = dwTimestamp; - } - CImRspAddgroup& operator=( const CImRspAddgroup& cImRspAddgroup ) - { - m_retcode = cImRspAddgroup.m_retcode; - m_groupInfo = cImRspAddgroup.m_groupInfo; - m_timestamp = cImRspAddgroup.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const SUserGroup& GetGroupInfo () const { return m_groupInfo; } - bool SetGroupInfo ( const SUserGroup& sGroupInfo ) - { - m_groupInfo = sGroupInfo; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - SUserGroup m_groupInfo; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspAddgroup::Size() const -{ - uint32_t nSize = 12; - nSize += m_groupInfo.Size(); - return nSize; -} - -enum GROUP_OPERATE -{ - CHGGROUP_NAME = 0x1, - MOVE_GROUP = 0x2, - -}; - -struct SUserChggroup -{ -public: - SUserChggroup() - { - } - - ~SUserChggroup() { } - SUserChggroup(const uint64_t& ullMask, const int64_t& llGroupId, const int64_t& llParentId, const string& strGroupName) - { - m_mask = ullMask; - m_groupId = llGroupId; - m_parentId = llParentId; - m_groupName = strGroupName; - } - SUserChggroup& operator=( const SUserChggroup& sUserChggroup ) - { - m_mask = sUserChggroup.m_mask; - m_groupId = sUserChggroup.m_groupId; - m_parentId = sUserChggroup.m_parentId; - m_groupName = sUserChggroup.m_groupName; - return *this; - } - - uint64_t m_mask; - int64_t m_groupId; - int64_t m_parentId; - string m_groupName; - -public: - uint32_t Size() const; -}; - -inline uint32_t SUserChggroup::Size() const -{ - uint32_t nSize = 33; - nSize += m_groupName.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SUserChggroup& sUserChggroup ); -CPackData& operator>> ( CPackData& cPackData, SUserChggroup& sUserChggroup ); - -class CImReqChggroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHGGROUP - }; - CImReqChggroup() - { - } - - ~CImReqChggroup() { } - CImReqChggroup(const VECTOR< SUserChggroup >& vecGroupInfo) - { - m_groupInfo = vecGroupInfo; - } - CImReqChggroup& operator=( const CImReqChggroup& cImReqChggroup ) - { - m_groupInfo = cImReqChggroup.m_groupInfo; - return *this; - } - - const VECTOR< SUserChggroup >& GetGroupInfo () const { return m_groupInfo; } - bool SetGroupInfo ( const VECTOR< SUserChggroup >& vecGroupInfo ) - { - m_groupInfo = vecGroupInfo; - return true; - } -private: - VECTOR< SUserChggroup > m_groupInfo; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChggroup::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_groupInfo.size(); i++) - { - nSize += m_groupInfo[i].Size(); - } - return nSize; -} - -class CImRspChggroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHGGROUP - }; - CImRspChggroup() - { - } - - ~CImRspChggroup() { } - CImRspChggroup(const uint32_t& dwRetcode, const VECTOR< SUserChggroup >& vecGroupInfo, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_groupInfo = vecGroupInfo; - m_timestamp = dwTimestamp; - } - CImRspChggroup& operator=( const CImRspChggroup& cImRspChggroup ) - { - m_retcode = cImRspChggroup.m_retcode; - m_groupInfo = cImRspChggroup.m_groupInfo; - m_timestamp = cImRspChggroup.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< SUserChggroup >& GetGroupInfo () const { return m_groupInfo; } - bool SetGroupInfo ( const VECTOR< SUserChggroup >& vecGroupInfo ) - { - m_groupInfo = vecGroupInfo; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - VECTOR< SUserChggroup > m_groupInfo; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChggroup::Size() const -{ - uint32_t nSize = 17; - for(uint32_t i = 0; i < m_groupInfo.size(); i++) - { - nSize += m_groupInfo[i].Size(); - } - return nSize; -} - -class CImReqDelgroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_DELGROUP - }; - CImReqDelgroup() - { - } - - ~CImReqDelgroup() { } - CImReqDelgroup(const VECTOR< int64_t >& vecGroupId) - { - m_groupId = vecGroupId; - } - CImReqDelgroup& operator=( const CImReqDelgroup& cImReqDelgroup ) - { - m_groupId = cImReqDelgroup.m_groupId; - return *this; - } - - const VECTOR< int64_t >& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const VECTOR< int64_t >& vecGroupId ) - { - m_groupId = vecGroupId; - return true; - } -private: - VECTOR< int64_t > m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqDelgroup::Size() const -{ - uint32_t nSize = 7; - nSize += m_groupId.size() * 8; - return nSize; -} - -struct SDelGroup -{ -public: - SDelGroup() - { - } - - ~SDelGroup() { } - SDelGroup(const uint32_t& dwRetcode, const int64_t& llGroupId) - { - m_retcode = dwRetcode; - m_groupId = llGroupId; - } - SDelGroup& operator=( const SDelGroup& sDelGroup ) - { - m_retcode = sDelGroup.m_retcode; - m_groupId = sDelGroup.m_groupId; - return *this; - } - - uint32_t m_retcode; - int64_t m_groupId; - -public: - uint32_t Size() const; -}; - -inline uint32_t SDelGroup::Size() const -{ - return 15; -} -CPackData& operator<< ( CPackData& cPackData, const SDelGroup& sDelGroup ); -CPackData& operator>> ( CPackData& cPackData, SDelGroup& sDelGroup ); - -class CImRspDelgroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_DELGROUP - }; - CImRspDelgroup() - { - } - - ~CImRspDelgroup() { } - CImRspDelgroup(const uint32_t& dwRetcode, const VECTOR< SDelGroup >& vecGroupInfo, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_groupInfo = vecGroupInfo; - m_timestamp = dwTimestamp; - } - CImRspDelgroup& operator=( const CImRspDelgroup& cImRspDelgroup ) - { - m_retcode = cImRspDelgroup.m_retcode; - m_groupInfo = cImRspDelgroup.m_groupInfo; - m_timestamp = cImRspDelgroup.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< SDelGroup >& GetGroupInfo () const { return m_groupInfo; } - bool SetGroupInfo ( const VECTOR< SDelGroup >& vecGroupInfo ) - { - m_groupInfo = vecGroupInfo; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - VECTOR< SDelGroup > m_groupInfo; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspDelgroup::Size() const -{ - uint32_t nSize = 17; - for(uint32_t i = 0; i < m_groupInfo.size(); i++) - { - nSize += m_groupInfo[i].Size(); - } - return nSize; -} - -class CImReqChguserverify : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHGUSERVERIFY - }; - CImReqChguserverify() : m_question(""), - m_answer("") - { - } - - ~CImReqChguserverify() { } - CImReqChguserverify(const uint8_t& chAddcontactFlag, const uint8_t& chSendmsgFlag, const uint8_t& chEnableSearch, const string& strQuestion= "", const string& strAnswer= "") - { - m_addcontactFlag = chAddcontactFlag; - m_sendmsgFlag = chSendmsgFlag; - m_enableSearch = chEnableSearch; - m_question = strQuestion; - m_answer = strAnswer; - } - CImReqChguserverify& operator=( const CImReqChguserverify& cImReqChguserverify ) - { - m_addcontactFlag = cImReqChguserverify.m_addcontactFlag; - m_sendmsgFlag = cImReqChguserverify.m_sendmsgFlag; - m_enableSearch = cImReqChguserverify.m_enableSearch; - m_question = cImReqChguserverify.m_question; - m_answer = cImReqChguserverify.m_answer; - return *this; - } - - const uint8_t& GetAddcontactFlag () const { return m_addcontactFlag; } - bool SetAddcontactFlag ( const uint8_t& chAddcontactFlag ) - { - m_addcontactFlag = chAddcontactFlag; - return true; - } - const uint8_t& GetSendmsgFlag () const { return m_sendmsgFlag; } - bool SetSendmsgFlag ( const uint8_t& chSendmsgFlag ) - { - m_sendmsgFlag = chSendmsgFlag; - return true; - } - const uint8_t& GetEnableSearch () const { return m_enableSearch; } - bool SetEnableSearch ( const uint8_t& chEnableSearch ) - { - m_enableSearch = chEnableSearch; - return true; - } - const string& GetQuestion () const { return m_question; } - bool SetQuestion ( const string& strQuestion ) - { - m_question = strQuestion; - return true; - } - const string& GetAnswer () const { return m_answer; } - bool SetAnswer ( const string& strAnswer ) - { - m_answer = strAnswer; - return true; - } -private: - uint8_t m_addcontactFlag; - uint8_t m_sendmsgFlag; - uint8_t m_enableSearch; - string m_question; - string m_answer; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChguserverify::Size() const -{ - uint32_t nSize = 17; - nSize += m_question.length(); - nSize += m_answer.length(); - return nSize; -} - -class CImRspChguserverify : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHGUSERVERIFY - }; - CImRspChguserverify() : m_question(""), - m_answer("") - { - } - - ~CImRspChguserverify() { } - CImRspChguserverify(const uint32_t& dwRetcode, const uint8_t& chAddcontactFlag, const uint8_t& chSendmsgFlag, const uint8_t& chEnableSearch, const string& strQuestion= "", const string& strAnswer= "") - { - m_retcode = dwRetcode; - m_addcontactFlag = chAddcontactFlag; - m_sendmsgFlag = chSendmsgFlag; - m_enableSearch = chEnableSearch; - m_question = strQuestion; - m_answer = strAnswer; - } - CImRspChguserverify& operator=( const CImRspChguserverify& cImRspChguserverify ) - { - m_retcode = cImRspChguserverify.m_retcode; - m_addcontactFlag = cImRspChguserverify.m_addcontactFlag; - m_sendmsgFlag = cImRspChguserverify.m_sendmsgFlag; - m_enableSearch = cImRspChguserverify.m_enableSearch; - m_question = cImRspChguserverify.m_question; - m_answer = cImRspChguserverify.m_answer; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint8_t& GetAddcontactFlag () const { return m_addcontactFlag; } - bool SetAddcontactFlag ( const uint8_t& chAddcontactFlag ) - { - m_addcontactFlag = chAddcontactFlag; - return true; - } - const uint8_t& GetSendmsgFlag () const { return m_sendmsgFlag; } - bool SetSendmsgFlag ( const uint8_t& chSendmsgFlag ) - { - m_sendmsgFlag = chSendmsgFlag; - return true; - } - const uint8_t& GetEnableSearch () const { return m_enableSearch; } - bool SetEnableSearch ( const uint8_t& chEnableSearch ) - { - m_enableSearch = chEnableSearch; - return true; - } - const string& GetQuestion () const { return m_question; } - bool SetQuestion ( const string& strQuestion ) - { - m_question = strQuestion; - return true; - } - const string& GetAnswer () const { return m_answer; } - bool SetAnswer ( const string& strAnswer ) - { - m_answer = strAnswer; - return true; - } -private: - uint32_t m_retcode; - uint8_t m_addcontactFlag; - uint8_t m_sendmsgFlag; - uint8_t m_enableSearch; - string m_question; - string m_answer; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChguserverify::Size() const -{ - uint32_t nSize = 22; - nSize += m_question.length(); - nSize += m_answer.length(); - return nSize; -} - -enum CONTACT_OPERATE -{ - CHGNICK_NAME = 0x1, - MOVE_CONTACT = 0x2, - CHG_IMPORTANCE = 0x4, - -}; - -struct SChgContactInfo -{ -public: - SChgContactInfo() - { - } - - ~SChgContactInfo() { } - SChgContactInfo(const int64_t& llMask, const string& strContactId, const string& strNickName, const string& strImportance, const int64_t& llGroupId) - { - m_mask = llMask; - m_contactId = strContactId; - m_nickName = strNickName; - m_importance = strImportance; - m_groupId = llGroupId; - } - SChgContactInfo& operator=( const SChgContactInfo& sChgContactInfo ) - { - m_mask = sChgContactInfo.m_mask; - m_contactId = sChgContactInfo.m_contactId; - m_nickName = sChgContactInfo.m_nickName; - m_importance = sChgContactInfo.m_importance; - m_groupId = sChgContactInfo.m_groupId; - return *this; - } - - int64_t m_mask; - string m_contactId; - string m_nickName; - string m_importance; - int64_t m_groupId; - -public: - uint32_t Size() const; -}; - -inline uint32_t SChgContactInfo::Size() const -{ - uint32_t nSize = 34; - nSize += m_contactId.length(); - nSize += m_nickName.length(); - nSize += m_importance.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SChgContactInfo& sChgContactInfo ); -CPackData& operator>> ( CPackData& cPackData, SChgContactInfo& sChgContactInfo ); - -struct SContactInfo -{ -public: - SContactInfo() - { - } - - ~SContactInfo() { } - SContactInfo(const string& strContactId, const string& strNickName, const string& strImportance, const int64_t& llGroupId) - { - m_contactId = strContactId; - m_nickName = strNickName; - m_importance = strImportance; - m_groupId = llGroupId; - } - SContactInfo& operator=( const SContactInfo& sContactInfo ) - { - m_contactId = sContactInfo.m_contactId; - m_nickName = sContactInfo.m_nickName; - m_importance = sContactInfo.m_importance; - m_groupId = sContactInfo.m_groupId; - return *this; - } - - string m_contactId; - string m_nickName; - string m_importance; - int64_t m_groupId; - -public: - uint32_t Size() const; -}; - -inline uint32_t SContactInfo::Size() const -{ - uint32_t nSize = 25; - nSize += m_contactId.length(); - nSize += m_nickName.length(); - nSize += m_importance.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SContactInfo& sContactInfo ); -CPackData& operator>> ( CPackData& cPackData, SContactInfo& sContactInfo ); - -class CImReqGetcontact : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GETCONTACT - }; - CImReqGetcontact() - { - } - - ~CImReqGetcontact() { } - CImReqGetcontact(const uint32_t& dwTimestamp) - { - m_timestamp = dwTimestamp; - } - CImReqGetcontact& operator=( const CImReqGetcontact& cImReqGetcontact ) - { - m_timestamp = cImReqGetcontact.m_timestamp; - return *this; - } - - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetcontact::Size() const -{ - return 6; -} -class CImRspGetcontact : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETCONTACT - }; - CImRspGetcontact() - { - } - - ~CImRspGetcontact() { } - CImRspGetcontact(const uint32_t& dwRetcode, const VECTOR< SContactInfo >& vecContactList, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_contactList = vecContactList; - m_timestamp = dwTimestamp; - } - CImRspGetcontact& operator=( const CImRspGetcontact& cImRspGetcontact ) - { - m_retcode = cImRspGetcontact.m_retcode; - m_contactList = cImRspGetcontact.m_contactList; - m_timestamp = cImRspGetcontact.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< SContactInfo >& GetContactList () const { return m_contactList; } - bool SetContactList ( const VECTOR< SContactInfo >& vecContactList ) - { - m_contactList = vecContactList; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - VECTOR< SContactInfo > m_contactList; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetcontact::Size() const -{ - uint32_t nSize = 17; - for(uint32_t i = 0; i < m_contactList.size(); i++) - { - nSize += m_contactList[i].Size(); - } - return nSize; -} - -class CImReqAddcontact : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ADDCONTACT - }; - CImReqAddcontact() - { - } - - ~CImReqAddcontact() { } - CImReqAddcontact(const SContactInfo& sContact, const uint8_t& chType) - { - m_contact = sContact; - m_type = chType; - } - CImReqAddcontact& operator=( const CImReqAddcontact& cImReqAddcontact ) - { - m_contact = cImReqAddcontact.m_contact; - m_type = cImReqAddcontact.m_type; - return *this; - } - - const SContactInfo& GetContact () const { return m_contact; } - bool SetContact ( const SContactInfo& sContact ) - { - m_contact = sContact; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } -private: - SContactInfo m_contact; - uint8_t m_type; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAddcontact::Size() const -{ - uint32_t nSize = 4; - nSize += m_contact.Size(); - return nSize; -} - -class CImRspAddcontact : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_ADDCONTACT - }; - CImRspAddcontact() - { - } - - ~CImRspAddcontact() { } - CImRspAddcontact(const uint32_t& dwRetcode, const uint8_t& chType, const SContactInfo& sContact, const uint32_t& dwTimestamp, const string& strCompanyname) - { - m_retcode = dwRetcode; - m_type = chType; - m_contact = sContact; - m_timestamp = dwTimestamp; - m_companyname = strCompanyname; - } - CImRspAddcontact& operator=( const CImRspAddcontact& cImRspAddcontact ) - { - m_retcode = cImRspAddcontact.m_retcode; - m_type = cImRspAddcontact.m_type; - m_contact = cImRspAddcontact.m_contact; - m_timestamp = cImRspAddcontact.m_timestamp; - m_companyname = cImRspAddcontact.m_companyname; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const SContactInfo& GetContact () const { return m_contact; } - bool SetContact ( const SContactInfo& sContact ) - { - m_contact = sContact; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } - const string& GetCompanyname () const { return m_companyname; } - bool SetCompanyname ( const string& strCompanyname ) - { - m_companyname = strCompanyname; - return true; - } -private: - uint32_t m_retcode; - uint8_t m_type; - SContactInfo m_contact; - uint32_t m_timestamp; - string m_companyname; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspAddcontact::Size() const -{ - uint32_t nSize = 19; - nSize += m_contact.Size(); - nSize += m_companyname.length(); - return nSize; -} - -class CImReqChgcontact : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHGCONTACT - }; - CImReqChgcontact() - { - } - - ~CImReqChgcontact() { } - CImReqChgcontact(const VECTOR< SChgContactInfo >& vecContactList) - { - m_contactList = vecContactList; - } - CImReqChgcontact& operator=( const CImReqChgcontact& cImReqChgcontact ) - { - m_contactList = cImReqChgcontact.m_contactList; - return *this; - } - - const VECTOR< SChgContactInfo >& GetContactList () const { return m_contactList; } - bool SetContactList ( const VECTOR< SChgContactInfo >& vecContactList ) - { - m_contactList = vecContactList; - return true; - } -private: - VECTOR< SChgContactInfo > m_contactList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChgcontact::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_contactList.size(); i++) - { - nSize += m_contactList[i].Size(); - } - return nSize; -} - -class CImRspChgcontact : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHGCONTACT - }; - CImRspChgcontact() - { - } - - ~CImRspChgcontact() { } - CImRspChgcontact(const uint32_t& dwRetcode, const VECTOR< SChgContactInfo >& vecContactList, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_contactList = vecContactList; - m_timestamp = dwTimestamp; - } - CImRspChgcontact& operator=( const CImRspChgcontact& cImRspChgcontact ) - { - m_retcode = cImRspChgcontact.m_retcode; - m_contactList = cImRspChgcontact.m_contactList; - m_timestamp = cImRspChgcontact.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< SChgContactInfo >& GetContactList () const { return m_contactList; } - bool SetContactList ( const VECTOR< SChgContactInfo >& vecContactList ) - { - m_contactList = vecContactList; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - VECTOR< SChgContactInfo > m_contactList; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChgcontact::Size() const -{ - uint32_t nSize = 17; - for(uint32_t i = 0; i < m_contactList.size(); i++) - { - nSize += m_contactList[i].Size(); - } - return nSize; -} - -class CImReqDelcontact : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_DELCONTACT - }; - CImReqDelcontact() - { - } - - ~CImReqDelcontact() { } - CImReqDelcontact(const VECTOR< string >& vecContactList) - { - m_contactList = vecContactList; - } - CImReqDelcontact& operator=( const CImReqDelcontact& cImReqDelcontact ) - { - m_contactList = cImReqDelcontact.m_contactList; - return *this; - } - - const VECTOR< string >& GetContactList () const { return m_contactList; } - bool SetContactList ( const VECTOR< string >& vecContactList ) - { - m_contactList = vecContactList; - return true; - } -private: - VECTOR< string > m_contactList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqDelcontact::Size() const -{ - uint32_t nSize = 7; - nSize += m_contactList.size() * 4; - for(uint32_t i = 0; i < m_contactList.size(); i++) - { - nSize += m_contactList[i].length(); - } - return nSize; -} - -class CImRspDelcontact : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_DELCONTACT - }; - CImRspDelcontact() - { - } - - ~CImRspDelcontact() { } - CImRspDelcontact(const uint32_t& dwRetcode, const VECTOR< string >& vecContactList, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_contactList = vecContactList; - m_timestamp = dwTimestamp; - } - CImRspDelcontact& operator=( const CImRspDelcontact& cImRspDelcontact ) - { - m_retcode = cImRspDelcontact.m_retcode; - m_contactList = cImRspDelcontact.m_contactList; - m_timestamp = cImRspDelcontact.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< string >& GetContactList () const { return m_contactList; } - bool SetContactList ( const VECTOR< string >& vecContactList ) - { - m_contactList = vecContactList; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - VECTOR< string > m_contactList; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspDelcontact::Size() const -{ - uint32_t nSize = 17; - nSize += m_contactList.size() * 4; - for(uint32_t i = 0; i < m_contactList.size(); i++) - { - nSize += m_contactList[i].length(); - } - return nSize; -} - -class CImReqAddcntack : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ADDCNTACK - }; - CImReqAddcntack() - { - } - - ~CImReqAddcntack() { } - CImReqAddcntack(const uint8_t& chOpcode, const string& strContactId, const int64_t& llGroupId) - { - m_opcode = chOpcode; - m_contactId = strContactId; - m_groupId = llGroupId; - } - CImReqAddcntack& operator=( const CImReqAddcntack& cImReqAddcntack ) - { - m_opcode = cImReqAddcntack.m_opcode; - m_contactId = cImReqAddcntack.m_contactId; - m_groupId = cImReqAddcntack.m_groupId; - return *this; - } - - const uint8_t& GetOpcode () const { return m_opcode; } - bool SetOpcode ( const uint8_t& chOpcode ) - { - m_opcode = chOpcode; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_opcode; - string m_contactId; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAddcntack::Size() const -{ - uint32_t nSize = 17; - nSize += m_contactId.length(); - return nSize; -} - -class CImRspAddcntack : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_ADDCNTACK - }; - CImRspAddcntack() - { - } - - ~CImRspAddcntack() { } - CImRspAddcntack(const uint32_t& dwRetcode, const uint8_t& chOpcode, const int64_t& llGroupId, const uint32_t& dwTimestamp, const string& strContactId) - { - m_retcode = dwRetcode; - m_opcode = chOpcode; - m_groupId = llGroupId; - m_timestamp = dwTimestamp; - m_contactId = strContactId; - } - CImRspAddcntack& operator=( const CImRspAddcntack& cImRspAddcntack ) - { - m_retcode = cImRspAddcntack.m_retcode; - m_opcode = cImRspAddcntack.m_opcode; - m_groupId = cImRspAddcntack.m_groupId; - m_timestamp = cImRspAddcntack.m_timestamp; - m_contactId = cImRspAddcntack.m_contactId; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint8_t& GetOpcode () const { return m_opcode; } - bool SetOpcode ( const uint8_t& chOpcode ) - { - m_opcode = chOpcode; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } -private: - uint32_t m_retcode; - uint8_t m_opcode; - int64_t m_groupId; - uint32_t m_timestamp; - string m_contactId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspAddcntack::Size() const -{ - uint32_t nSize = 27; - nSize += m_contactId.length(); - return nSize; -} - -struct SContactDetailGetter -{ -public: - SContactDetailGetter() - { - } - - ~SContactDetailGetter() { } - SContactDetailGetter(const string& strContactId, const uint32_t& dwTimestamp) - { - m_contactId = strContactId; - m_timestamp = dwTimestamp; - } - SContactDetailGetter& operator=( const SContactDetailGetter& sContactDetailGetter ) - { - m_contactId = sContactDetailGetter.m_contactId; - m_timestamp = sContactDetailGetter.m_timestamp; - return *this; - } - - string m_contactId; - uint32_t m_timestamp; - -public: - uint32_t Size() const; -}; - -inline uint32_t SContactDetailGetter::Size() const -{ - uint32_t nSize = 11; - nSize += m_contactId.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SContactDetailGetter& sContactDetailGetter ); -CPackData& operator>> ( CPackData& cPackData, SContactDetailGetter& sContactDetailGetter ); - -class CImReqGetcntdetail : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GETCNTDETAIL - }; - CImReqGetcntdetail() - { - } - - ~CImReqGetcntdetail() { } - CImReqGetcntdetail(const VECTOR< SContactDetailGetter >& vecContacts) - { - m_contacts = vecContacts; - } - CImReqGetcntdetail& operator=( const CImReqGetcntdetail& cImReqGetcntdetail ) - { - m_contacts = cImReqGetcntdetail.m_contacts; - return *this; - } - - const VECTOR< SContactDetailGetter >& GetContacts () const { return m_contacts; } - bool SetContacts ( const VECTOR< SContactDetailGetter >& vecContacts ) - { - m_contacts = vecContacts; - return true; - } -private: - VECTOR< SContactDetailGetter > m_contacts; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetcntdetail::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_contacts.size(); i++) - { - nSize += m_contacts[i].Size(); - } - return nSize; -} - -struct SContactDetail -{ -public: - SContactDetail() - { - } - - ~SContactDetail() { } - SContactDetail(const map< string,string >& mapContactDetail, const uint32_t& dwTimestamp) - { - m_contactDetail = mapContactDetail; - m_timestamp = dwTimestamp; - } - SContactDetail& operator=( const SContactDetail& sContactDetail ) - { - m_contactDetail = sContactDetail.m_contactDetail; - m_timestamp = sContactDetail.m_timestamp; - return *this; - } - - map< string,string > m_contactDetail; - uint32_t m_timestamp; - -public: - uint32_t Size() const; -}; - -inline uint32_t SContactDetail::Size() const -{ - uint32_t nSize = 10; - nSize += m_contactDetail.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_contactDetail.begin(); itr != m_contactDetail.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SContactDetail& sContactDetail ); -CPackData& operator>> ( CPackData& cPackData, SContactDetail& sContactDetail ); - -class CImRspGetcntdetail : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETCNTDETAIL - }; - CImRspGetcntdetail() - { - } - - ~CImRspGetcntdetail() { } - CImRspGetcntdetail(const uint32_t& dwRetcode, const VECTOR< SContactDetail >& vecDetailList) - { - m_retcode = dwRetcode; - m_detailList = vecDetailList; - } - CImRspGetcntdetail& operator=( const CImRspGetcntdetail& cImRspGetcntdetail ) - { - m_retcode = cImRspGetcntdetail.m_retcode; - m_detailList = cImRspGetcntdetail.m_detailList; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< SContactDetail >& GetDetailList () const { return m_detailList; } - bool SetDetailList ( const VECTOR< SContactDetail >& vecDetailList ) - { - m_detailList = vecDetailList; - return true; - } -private: - uint32_t m_retcode; - VECTOR< SContactDetail > m_detailList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetcntdetail::Size() const -{ - uint32_t nSize = 12; - for(uint32_t i = 0; i < m_detailList.size(); i++) - { - nSize += m_detailList[i].Size(); - } - return nSize; -} - -class CImReqChguserdetail : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHGUSERDETAIL - }; - CImReqChguserdetail() - { - } - - ~CImReqChguserdetail() { } - CImReqChguserdetail(const map< string,string >& mapUserDetail) - { - m_userDetail = mapUserDetail; - } - CImReqChguserdetail& operator=( const CImReqChguserdetail& cImReqChguserdetail ) - { - m_userDetail = cImReqChguserdetail.m_userDetail; - return *this; - } - - const map< string,string >& GetUserDetail () const { return m_userDetail; } - bool SetUserDetail ( const map< string,string >& mapUserDetail ) - { - m_userDetail = mapUserDetail; - return true; - } -private: - map< string,string > m_userDetail; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChguserdetail::Size() const -{ - uint32_t nSize = 5; - nSize += m_userDetail.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_userDetail.begin(); itr != m_userDetail.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CImRspChguserdetail : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHGUSERDETAIL - }; - CImRspChguserdetail() - { - } - - ~CImRspChguserdetail() { } - CImRspChguserdetail(const uint32_t& dwRetcode, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_timestamp = dwTimestamp; - } - CImRspChguserdetail& operator=( const CImRspChguserdetail& cImRspChguserdetail ) - { - m_retcode = cImRspChguserdetail.m_retcode; - m_timestamp = cImRspChguserdetail.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChguserdetail::Size() const -{ - return 11; -} -class CImReqGetcntmemo : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GETCNTMEMO - }; - CImReqGetcntmemo() - { - } - - ~CImReqGetcntmemo() { } - CImReqGetcntmemo(const string& strContactId) - { - m_contactId = strContactId; - } - CImReqGetcntmemo& operator=( const CImReqGetcntmemo& cImReqGetcntmemo ) - { - m_contactId = cImReqGetcntmemo.m_contactId; - return *this; - } - - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } -private: - string m_contactId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetcntmemo::Size() const -{ - uint32_t nSize = 6; - nSize += m_contactId.length(); - return nSize; -} - -class CImRspGetcntmemo : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETCNTMEMO - }; - CImRspGetcntmemo() - { - } - - ~CImRspGetcntmemo() { } - CImRspGetcntmemo(const uint32_t& dwRetcode, const string& strContactId, const string& strMemo) - { - m_retcode = dwRetcode; - m_contactId = strContactId; - m_memo = strMemo; - } - CImRspGetcntmemo& operator=( const CImRspGetcntmemo& cImRspGetcntmemo ) - { - m_retcode = cImRspGetcntmemo.m_retcode; - m_contactId = cImRspGetcntmemo.m_contactId; - m_memo = cImRspGetcntmemo.m_memo; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const string& GetMemo () const { return m_memo; } - bool SetMemo ( const string& strMemo ) - { - m_memo = strMemo; - return true; - } -private: - uint32_t m_retcode; - string m_contactId; - string m_memo; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetcntmemo::Size() const -{ - uint32_t nSize = 16; - nSize += m_contactId.length(); - nSize += m_memo.length(); - return nSize; -} - -class CImReqChgcntmemo : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHGCNTMEMO - }; - CImReqChgcntmemo() - { - } - - ~CImReqChgcntmemo() { } - CImReqChgcntmemo(const string& strContactId, const string& strMemo) - { - m_contactId = strContactId; - m_memo = strMemo; - } - CImReqChgcntmemo& operator=( const CImReqChgcntmemo& cImReqChgcntmemo ) - { - m_contactId = cImReqChgcntmemo.m_contactId; - m_memo = cImReqChgcntmemo.m_memo; - return *this; - } - - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const string& GetMemo () const { return m_memo; } - bool SetMemo ( const string& strMemo ) - { - m_memo = strMemo; - return true; - } -private: - string m_contactId; - string m_memo; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChgcntmemo::Size() const -{ - uint32_t nSize = 11; - nSize += m_contactId.length(); - nSize += m_memo.length(); - return nSize; -} - -class CImRspChgcntmemo : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHGCNTMEMO - }; - CImRspChgcntmemo() - { - } - - ~CImRspChgcntmemo() { } - CImRspChgcntmemo(const uint32_t& dwRetcode, const string& strContactId, const string& strMemo) - { - m_retcode = dwRetcode; - m_contactId = strContactId; - m_memo = strMemo; - } - CImRspChgcntmemo& operator=( const CImRspChgcntmemo& cImRspChgcntmemo ) - { - m_retcode = cImRspChgcntmemo.m_retcode; - m_contactId = cImRspChgcntmemo.m_contactId; - m_memo = cImRspChgcntmemo.m_memo; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const string& GetMemo () const { return m_memo; } - bool SetMemo ( const string& strMemo ) - { - m_memo = strMemo; - return true; - } -private: - uint32_t m_retcode; - string m_contactId; - string m_memo; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChgcntmemo::Size() const -{ - uint32_t nSize = 16; - nSize += m_contactId.length(); - nSize += m_memo.length(); - return nSize; -} - -class CImRspGetblack : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETBLACK - }; - CImRspGetblack() - { - } - - ~CImRspGetblack() { } - CImRspGetblack(const uint32_t& dwRetcode, const VECTOR< string >& vecBlackList, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_blackList = vecBlackList; - m_timestamp = dwTimestamp; - } - CImRspGetblack& operator=( const CImRspGetblack& cImRspGetblack ) - { - m_retcode = cImRspGetblack.m_retcode; - m_blackList = cImRspGetblack.m_blackList; - m_timestamp = cImRspGetblack.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< string >& GetBlackList () const { return m_blackList; } - bool SetBlackList ( const VECTOR< string >& vecBlackList ) - { - m_blackList = vecBlackList; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - VECTOR< string > m_blackList; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetblack::Size() const -{ - uint32_t nSize = 17; - nSize += m_blackList.size() * 4; - for(uint32_t i = 0; i < m_blackList.size(); i++) - { - nSize += m_blackList[i].length(); - } - return nSize; -} - -class CImReqAddblack : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ADDBLACK - }; - CImReqAddblack() - { - } - - ~CImReqAddblack() { } - CImReqAddblack(const string& strBlackId) - { - m_blackId = strBlackId; - } - CImReqAddblack& operator=( const CImReqAddblack& cImReqAddblack ) - { - m_blackId = cImReqAddblack.m_blackId; - return *this; - } - - const string& GetBlackId () const { return m_blackId; } - bool SetBlackId ( const string& strBlackId ) - { - if(strBlackId.size() > 64) - return false; - m_blackId = strBlackId; - return true; - } -private: - string m_blackId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAddblack::Size() const -{ - uint32_t nSize = 6; - nSize += m_blackId.length(); - return nSize; -} - -class CImRspAddblack : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_ADDBLACK - }; - CImRspAddblack() - { - } - - ~CImRspAddblack() { } - CImRspAddblack(const uint32_t& dwRetcode, const string& strBlackId, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_blackId = strBlackId; - m_timestamp = dwTimestamp; - } - CImRspAddblack& operator=( const CImRspAddblack& cImRspAddblack ) - { - m_retcode = cImRspAddblack.m_retcode; - m_blackId = cImRspAddblack.m_blackId; - m_timestamp = cImRspAddblack.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetBlackId () const { return m_blackId; } - bool SetBlackId ( const string& strBlackId ) - { - if(strBlackId.size() > 64) - return false; - m_blackId = strBlackId; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - string m_blackId; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspAddblack::Size() const -{ - uint32_t nSize = 16; - nSize += m_blackId.length(); - return nSize; -} - -class CImRspDelblack : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_DELBLACK - }; - CImRspDelblack() - { - } - - ~CImRspDelblack() { } - CImRspDelblack(const uint32_t& dwRetcode, const string& strBlackId, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_blackId = strBlackId; - m_timestamp = dwTimestamp; - } - CImRspDelblack& operator=( const CImRspDelblack& cImRspDelblack ) - { - m_retcode = cImRspDelblack.m_retcode; - m_blackId = cImRspDelblack.m_blackId; - m_timestamp = cImRspDelblack.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetBlackId () const { return m_blackId; } - bool SetBlackId ( const string& strBlackId ) - { - if(strBlackId.size() > 64) - return false; - m_blackId = strBlackId; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - string m_blackId; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspDelblack::Size() const -{ - uint32_t nSize = 16; - nSize += m_blackId.length(); - return nSize; -} - -class CImReqDelblack : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_DELBLACK - }; - CImReqDelblack() - { - } - - ~CImReqDelblack() { } - CImReqDelblack(const uint32_t& dwRetcode, const string& strBlackId, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_blackId = strBlackId; - m_timestamp = dwTimestamp; - } - CImReqDelblack& operator=( const CImReqDelblack& cImReqDelblack ) - { - m_retcode = cImReqDelblack.m_retcode; - m_blackId = cImReqDelblack.m_blackId; - m_timestamp = cImReqDelblack.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetBlackId () const { return m_blackId; } - bool SetBlackId ( const string& strBlackId ) - { - if(strBlackId.size() > 64) - return false; - m_blackId = strBlackId; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - string m_blackId; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqDelblack::Size() const -{ - uint32_t nSize = 16; - nSize += m_blackId.length(); - return nSize; -} - -class CImRspGetrevblack : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETREVBLACK - }; - CImRspGetrevblack() - { - } - - ~CImRspGetrevblack() { } - CImRspGetrevblack(const uint32_t& dwRetcode, const VECTOR< string >& vecBlackList, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_blackList = vecBlackList; - m_timestamp = dwTimestamp; - } - CImRspGetrevblack& operator=( const CImRspGetrevblack& cImRspGetrevblack ) - { - m_retcode = cImRspGetrevblack.m_retcode; - m_blackList = cImRspGetrevblack.m_blackList; - m_timestamp = cImRspGetrevblack.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< string >& GetBlackList () const { return m_blackList; } - bool SetBlackList ( const VECTOR< string >& vecBlackList ) - { - m_blackList = vecBlackList; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - VECTOR< string > m_blackList; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetrevblack::Size() const -{ - uint32_t nSize = 17; - nSize += m_blackList.size() * 4; - for(uint32_t i = 0; i < m_blackList.size(); i++) - { - nSize += m_blackList[i].length(); - } - return nSize; -} - -class CImRspGetuserinfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETUSERINFO - }; - CImRspGetuserinfo() : m_question(""), - m_answer("") - { - } - - ~CImRspGetuserinfo() { } - CImRspGetuserinfo(const uint32_t& dwRetcode, const uint8_t& chAddcontactFlag, const uint8_t& chSendmsgFlag, const uint32_t& dwActivity, const uint8_t& chActLevel, const uint32_t& dwNeedNextlevel, const uint8_t& chImlevel, const uint8_t& chMulsendflag, const uint32_t& dwWebinfo, const string& strQuestion= "", const string& strAnswer= "") - { - m_retcode = dwRetcode; - m_addcontactFlag = chAddcontactFlag; - m_sendmsgFlag = chSendmsgFlag; - m_activity = dwActivity; - m_actLevel = chActLevel; - m_needNextlevel = dwNeedNextlevel; - m_imlevel = chImlevel; - m_mulsendflag = chMulsendflag; - m_webinfo = dwWebinfo; - m_question = strQuestion; - m_answer = strAnswer; - } - CImRspGetuserinfo& operator=( const CImRspGetuserinfo& cImRspGetuserinfo ) - { - m_retcode = cImRspGetuserinfo.m_retcode; - m_addcontactFlag = cImRspGetuserinfo.m_addcontactFlag; - m_sendmsgFlag = cImRspGetuserinfo.m_sendmsgFlag; - m_activity = cImRspGetuserinfo.m_activity; - m_actLevel = cImRspGetuserinfo.m_actLevel; - m_needNextlevel = cImRspGetuserinfo.m_needNextlevel; - m_imlevel = cImRspGetuserinfo.m_imlevel; - m_mulsendflag = cImRspGetuserinfo.m_mulsendflag; - m_webinfo = cImRspGetuserinfo.m_webinfo; - m_question = cImRspGetuserinfo.m_question; - m_answer = cImRspGetuserinfo.m_answer; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint8_t& GetAddcontactFlag () const { return m_addcontactFlag; } - bool SetAddcontactFlag ( const uint8_t& chAddcontactFlag ) - { - m_addcontactFlag = chAddcontactFlag; - return true; - } - const uint8_t& GetSendmsgFlag () const { return m_sendmsgFlag; } - bool SetSendmsgFlag ( const uint8_t& chSendmsgFlag ) - { - m_sendmsgFlag = chSendmsgFlag; - return true; - } - const uint32_t& GetActivity () const { return m_activity; } - bool SetActivity ( const uint32_t& dwActivity ) - { - m_activity = dwActivity; - return true; - } - const uint8_t& GetActLevel () const { return m_actLevel; } - bool SetActLevel ( const uint8_t& chActLevel ) - { - m_actLevel = chActLevel; - return true; - } - const uint32_t& GetNeedNextlevel () const { return m_needNextlevel; } - bool SetNeedNextlevel ( const uint32_t& dwNeedNextlevel ) - { - m_needNextlevel = dwNeedNextlevel; - return true; - } - const uint8_t& GetImlevel () const { return m_imlevel; } - bool SetImlevel ( const uint8_t& chImlevel ) - { - m_imlevel = chImlevel; - return true; - } - const uint8_t& GetMulsendflag () const { return m_mulsendflag; } - bool SetMulsendflag ( const uint8_t& chMulsendflag ) - { - m_mulsendflag = chMulsendflag; - return true; - } - const uint32_t& GetWebinfo () const { return m_webinfo; } - bool SetWebinfo ( const uint32_t& dwWebinfo ) - { - m_webinfo = dwWebinfo; - return true; - } - const string& GetQuestion () const { return m_question; } - bool SetQuestion ( const string& strQuestion ) - { - m_question = strQuestion; - return true; - } - const string& GetAnswer () const { return m_answer; } - bool SetAnswer ( const string& strAnswer ) - { - m_answer = strAnswer; - return true; - } -private: - uint32_t m_retcode; - uint8_t m_addcontactFlag; - uint8_t m_sendmsgFlag; - uint32_t m_activity; - uint8_t m_actLevel; - uint32_t m_needNextlevel; - uint8_t m_imlevel; - uint8_t m_mulsendflag; - uint32_t m_webinfo; - string m_question; - string m_answer; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetuserinfo::Size() const -{ - uint32_t nSize = 41; - nSize += m_question.length(); - nSize += m_answer.length(); - return nSize; -} - -struct SUserStatus -{ -public: - SUserStatus() - { - } - - ~SUserStatus() { } - SUserStatus(const string& strUserId, const uint8_t& chBasicStatus, const uint8_t& chPredefStatus) - { - m_userId = strUserId; - m_basicStatus = chBasicStatus; - m_predefStatus = chPredefStatus; - } - SUserStatus& operator=( const SUserStatus& sUserStatus ) - { - m_userId = sUserStatus.m_userId; - m_basicStatus = sUserStatus.m_basicStatus; - m_predefStatus = sUserStatus.m_predefStatus; - return *this; - } - - string m_userId; - uint8_t m_basicStatus; - uint8_t m_predefStatus; - -public: - uint32_t Size() const; -}; - -inline uint32_t SUserStatus::Size() const -{ - uint32_t nSize = 10; - nSize += m_userId.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SUserStatus& sUserStatus ); -CPackData& operator>> ( CPackData& cPackData, SUserStatus& sUserStatus ); - -class CImRspGetcntstatus : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETCNTSTATUS - }; - CImRspGetcntstatus() - { - } - - ~CImRspGetcntstatus() { } - CImRspGetcntstatus(const uint32_t& dwRetcode, const VECTOR< SUserStatus >& vecContactStatus) - { - m_retcode = dwRetcode; - m_contactStatus = vecContactStatus; - } - CImRspGetcntstatus& operator=( const CImRspGetcntstatus& cImRspGetcntstatus ) - { - m_retcode = cImRspGetcntstatus.m_retcode; - m_contactStatus = cImRspGetcntstatus.m_contactStatus; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< SUserStatus >& GetContactStatus () const { return m_contactStatus; } - bool SetContactStatus ( const VECTOR< SUserStatus >& vecContactStatus ) - { - m_contactStatus = vecContactStatus; - return true; - } -private: - uint32_t m_retcode; - VECTOR< SUserStatus > m_contactStatus; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetcntstatus::Size() const -{ - uint32_t nSize = 12; - for(uint32_t i = 0; i < m_contactStatus.size(); i++) - { - nSize += m_contactStatus[i].Size(); - } - return nSize; -} - -class CImReqChgstatus : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHGSTATUS - }; - CImReqChgstatus() - { - } - - ~CImReqChgstatus() { } - CImReqChgstatus(const uint8_t& chBasicStatus, const uint8_t& chPredefStatus) - { - m_basicStatus = chBasicStatus; - m_predefStatus = chPredefStatus; - } - CImReqChgstatus& operator=( const CImReqChgstatus& cImReqChgstatus ) - { - m_basicStatus = cImReqChgstatus.m_basicStatus; - m_predefStatus = cImReqChgstatus.m_predefStatus; - return *this; - } - - const uint8_t& GetBasicStatus () const { return m_basicStatus; } - bool SetBasicStatus ( const uint8_t& chBasicStatus ) - { - m_basicStatus = chBasicStatus; - return true; - } - const uint8_t& GetPredefStatus () const { return m_predefStatus; } - bool SetPredefStatus ( const uint8_t& chPredefStatus ) - { - m_predefStatus = chPredefStatus; - return true; - } -private: - uint8_t m_basicStatus; - uint8_t m_predefStatus; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChgstatus::Size() const -{ - return 5; -} -class CImNtfStatus : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_STATUS - }; - CImNtfStatus() - { - } - - ~CImNtfStatus() { } - CImNtfStatus(const VECTOR< SUserStatus >& vecUserStatusList) - { - m_userStatusList = vecUserStatusList; - } - CImNtfStatus& operator=( const CImNtfStatus& cImNtfStatus ) - { - m_userStatusList = cImNtfStatus.m_userStatusList; - return *this; - } - - const VECTOR< SUserStatus >& GetUserStatusList () const { return m_userStatusList; } - bool SetUserStatusList ( const VECTOR< SUserStatus >& vecUserStatusList ) - { - m_userStatusList = vecUserStatusList; - return true; - } -private: - VECTOR< SUserStatus > m_userStatusList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfStatus::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_userStatusList.size(); i++) - { - nSize += m_userStatusList[i].Size(); - } - return nSize; -} - -struct SOfflineMessage -{ -public: - SOfflineMessage() : m_serverType(0) - { - } - - ~SOfflineMessage() { } - SOfflineMessage(const string& strFromId, const uint8_t& chType, const uint32_t& dwSendTime, const string& strMessage, const uint8_t& chServerType= 0) - { - m_fromId = strFromId; - m_type = chType; - m_sendTime = dwSendTime; - m_message = strMessage; - m_serverType = chServerType; - } - SOfflineMessage& operator=( const SOfflineMessage& sOfflineMessage ) - { - m_fromId = sOfflineMessage.m_fromId; - m_type = sOfflineMessage.m_type; - m_sendTime = sOfflineMessage.m_sendTime; - m_message = sOfflineMessage.m_message; - m_serverType = sOfflineMessage.m_serverType; - return *this; - } - - string m_fromId; - uint8_t m_type; - uint32_t m_sendTime; - string m_message; - uint8_t m_serverType; - -public: - uint32_t Size() const; -}; - -inline uint32_t SOfflineMessage::Size() const -{ - uint32_t nSize = 20; - nSize += m_fromId.length(); - nSize += m_message.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SOfflineMessage& sOfflineMessage ); -CPackData& operator>> ( CPackData& cPackData, SOfflineMessage& sOfflineMessage ); - -class CImRspGetofflinemsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETOFFLINEMSG - }; - CImRspGetofflinemsg() - { - } - - ~CImRspGetofflinemsg() { } - CImRspGetofflinemsg(const uint32_t& dwRetcode, const VECTOR< SOfflineMessage >& vecMessageList, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_messageList = vecMessageList; - m_timestamp = dwTimestamp; - } - CImRspGetofflinemsg& operator=( const CImRspGetofflinemsg& cImRspGetofflinemsg ) - { - m_retcode = cImRspGetofflinemsg.m_retcode; - m_messageList = cImRspGetofflinemsg.m_messageList; - m_timestamp = cImRspGetofflinemsg.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< SOfflineMessage >& GetMessageList () const { return m_messageList; } - bool SetMessageList ( const VECTOR< SOfflineMessage >& vecMessageList ) - { - m_messageList = vecMessageList; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - VECTOR< SOfflineMessage > m_messageList; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetofflinemsg::Size() const -{ - uint32_t nSize = 17; - for(uint32_t i = 0; i < m_messageList.size(); i++) - { - nSize += m_messageList[i].Size(); - } - return nSize; -} - -class CImReqAddofflinemsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ADDOFFLINEMSG - }; - CImReqAddofflinemsg() - { - } - - ~CImReqAddofflinemsg() { } - CImReqAddofflinemsg(const VECTOR< SOfflineMessage >& vecMessageList) - { - m_messageList = vecMessageList; - } - CImReqAddofflinemsg& operator=( const CImReqAddofflinemsg& cImReqAddofflinemsg ) - { - m_messageList = cImReqAddofflinemsg.m_messageList; - return *this; - } - - const VECTOR< SOfflineMessage >& GetMessageList () const { return m_messageList; } - bool SetMessageList ( const VECTOR< SOfflineMessage >& vecMessageList ) - { - m_messageList = vecMessageList; - return true; - } -private: - VECTOR< SOfflineMessage > m_messageList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAddofflinemsg::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_messageList.size(); i++) - { - nSize += m_messageList[i].Size(); - } - return nSize; -} - -class CImReqDelofflinemsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_DELOFFLINEMSG - }; - CImReqDelofflinemsg() - { - } - - ~CImReqDelofflinemsg() { } - CImReqDelofflinemsg(const uint32_t& dwLastTime) - { - m_lastTime = dwLastTime; - } - CImReqDelofflinemsg& operator=( const CImReqDelofflinemsg& cImReqDelofflinemsg ) - { - m_lastTime = cImReqDelofflinemsg.m_lastTime; - return *this; - } - - const uint32_t& GetLastTime () const { return m_lastTime; } - bool SetLastTime ( const uint32_t& dwLastTime ) - { - m_lastTime = dwLastTime; - return true; - } -private: - uint32_t m_lastTime; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqDelofflinemsg::Size() const -{ - return 6; -} -class CImRspGetsystemmsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETSYSTEMMSG - }; - CImRspGetsystemmsg() - { - } - - ~CImRspGetsystemmsg() { } - CImRspGetsystemmsg(const VECTOR< string >& vecMessageList) - { - m_messageList = vecMessageList; - } - CImRspGetsystemmsg& operator=( const CImRspGetsystemmsg& cImRspGetsystemmsg ) - { - m_messageList = cImRspGetsystemmsg.m_messageList; - return *this; - } - - const VECTOR< string >& GetMessageList () const { return m_messageList; } - bool SetMessageList ( const VECTOR< string >& vecMessageList ) - { - m_messageList = vecMessageList; - return true; - } -private: - VECTOR< string > m_messageList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetsystemmsg::Size() const -{ - uint32_t nSize = 7; - nSize += m_messageList.size() * 4; - for(uint32_t i = 0; i < m_messageList.size(); i++) - { - nSize += m_messageList[i].length(); - } - return nSize; -} - -class CImReqSendimmessage : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SENDIMMESSAGE - }; - CImReqSendimmessage() - { - } - - ~CImReqSendimmessage() { } - CImReqSendimmessage(const string& strTargetId, const uint8_t& chType, const string& strMessage) - { - m_targetId = strTargetId; - m_type = chType; - m_message = strMessage; - } - CImReqSendimmessage& operator=( const CImReqSendimmessage& cImReqSendimmessage ) - { - m_targetId = cImReqSendimmessage.m_targetId; - m_type = cImReqSendimmessage.m_type; - m_message = cImReqSendimmessage.m_message; - return *this; - } - - const string& GetTargetId () const { return m_targetId; } - bool SetTargetId ( const string& strTargetId ) - { - if(strTargetId.size() > 64) - return false; - m_targetId = strTargetId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_targetId; - uint8_t m_type; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSendimmessage::Size() const -{ - uint32_t nSize = 13; - nSize += m_targetId.length(); - nSize += m_message.length(); - return nSize; -} - -class CImReqSendmultiusermsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SENDMULTIUSERMSG - }; - CImReqSendmultiusermsg() - { - } - - ~CImReqSendmultiusermsg() { } - CImReqSendmultiusermsg(const VECTOR< string >& vecTargetList, const uint8_t& chType, const string& strMessage) - { - m_targetList = vecTargetList; - m_type = chType; - m_message = strMessage; - } - CImReqSendmultiusermsg& operator=( const CImReqSendmultiusermsg& cImReqSendmultiusermsg ) - { - m_targetList = cImReqSendmultiusermsg.m_targetList; - m_type = cImReqSendmultiusermsg.m_type; - m_message = cImReqSendmultiusermsg.m_message; - return *this; - } - - const VECTOR< string >& GetTargetList () const { return m_targetList; } - bool SetTargetList ( const VECTOR< string >& vecTargetList ) - { - m_targetList = vecTargetList; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - VECTOR< string > m_targetList; - uint8_t m_type; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSendmultiusermsg::Size() const -{ - uint32_t nSize = 14; - nSize += m_targetList.size() * 4; - for(uint32_t i = 0; i < m_targetList.size(); i++) - { - nSize += m_targetList[i].length(); - } - nSize += m_message.length(); - return nSize; -} - -class CImNtfImmessage : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_IMMESSAGE - }; - CImNtfImmessage() : m_serverType(0), - m_mShiftflag(0) - { - } - - ~CImNtfImmessage() { } - CImNtfImmessage(const string& strSendId, const uint32_t& dwSendTime, const string& strMessage, const uint8_t& chServerType= 0, const uint8_t& chMShiftflag= 0) - { - m_sendId = strSendId; - m_sendTime = dwSendTime; - m_message = strMessage; - m_serverType = chServerType; - m_mShiftflag = chMShiftflag; - } - CImNtfImmessage& operator=( const CImNtfImmessage& cImNtfImmessage ) - { - m_sendId = cImNtfImmessage.m_sendId; - m_sendTime = cImNtfImmessage.m_sendTime; - m_message = cImNtfImmessage.m_message; - m_serverType = cImNtfImmessage.m_serverType; - m_mShiftflag = cImNtfImmessage.m_mShiftflag; - return *this; - } - - const string& GetSendId () const { return m_sendId; } - bool SetSendId ( const string& strSendId ) - { - if(strSendId.size() > 64) - return false; - m_sendId = strSendId; - return true; - } - const uint32_t& GetSendTime () const { return m_sendTime; } - bool SetSendTime ( const uint32_t& dwSendTime ) - { - m_sendTime = dwSendTime; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const uint8_t& GetServerType () const { return m_serverType; } - bool SetServerType ( const uint8_t& chServerType ) - { - m_serverType = chServerType; - return true; - } - const uint8_t& GetMShiftflag () const { return m_mShiftflag; } - bool SetMShiftflag ( const uint8_t& chMShiftflag ) - { - m_mShiftflag = chMShiftflag; - return true; - } -private: - string m_sendId; - uint32_t m_sendTime; - string m_message; - uint8_t m_serverType; - uint8_t m_mShiftflag; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfImmessage::Size() const -{ - uint32_t nSize = 20; - nSize += m_sendId.length(); - nSize += m_message.length(); - return nSize; -} - -class CImNtfSystemmessage : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_SYSTEMMESSAGE - }; - CImNtfSystemmessage() - { - } - - ~CImNtfSystemmessage() { } - CImNtfSystemmessage(const uint16_t& wCmdId, const string& strStyle, const string& strMessage) - { - m_cmdId = wCmdId; - m_style = strStyle; - m_message = strMessage; - } - CImNtfSystemmessage& operator=( const CImNtfSystemmessage& cImNtfSystemmessage ) - { - m_cmdId = cImNtfSystemmessage.m_cmdId; - m_style = cImNtfSystemmessage.m_style; - m_message = cImNtfSystemmessage.m_message; - return *this; - } - - const uint16_t& GetCmdId () const { return m_cmdId; } - bool SetCmdId ( const uint16_t& wCmdId ) - { - m_cmdId = wCmdId; - return true; - } - const string& GetStyle () const { return m_style; } - bool SetStyle ( const string& strStyle ) - { - m_style = strStyle; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - uint16_t m_cmdId; - string m_style; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfSystemmessage::Size() const -{ - uint32_t nSize = 14; - nSize += m_style.length(); - nSize += m_message.length(); - return nSize; -} - -class CImNtfSubcribeMsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_SUBCRIBE_MSG - }; - CImNtfSubcribeMsg() - { - } - - ~CImNtfSubcribeMsg() { } - CImNtfSubcribeMsg(const string& strMessage, const map< string,string >& mapHtmlMsg) - { - m_message = strMessage; - m_htmlMsg = mapHtmlMsg; - } - CImNtfSubcribeMsg& operator=( const CImNtfSubcribeMsg& cImNtfSubcribeMsg ) - { - m_message = cImNtfSubcribeMsg.m_message; - m_htmlMsg = cImNtfSubcribeMsg.m_htmlMsg; - return *this; - } - - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const map< string,string >& GetHtmlMsg () const { return m_htmlMsg; } - bool SetHtmlMsg ( const map< string,string >& mapHtmlMsg ) - { - m_htmlMsg = mapHtmlMsg; - return true; - } -private: - string m_message; - map< string,string > m_htmlMsg; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfSubcribeMsg::Size() const -{ - uint32_t nSize = 10; - nSize += m_message.length(); - nSize += m_htmlMsg.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_htmlMsg.begin(); itr != m_htmlMsg.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CImNtfExtinfoMsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_EXTINFO_MSG - }; - CImNtfExtinfoMsg() - { - } - - ~CImNtfExtinfoMsg() { } - CImNtfExtinfoMsg(const uint16_t& wType, const string& strContactId, const string& strMessage) - { - m_type = wType; - m_contactId = strContactId; - m_message = strMessage; - } - CImNtfExtinfoMsg& operator=( const CImNtfExtinfoMsg& cImNtfExtinfoMsg ) - { - m_type = cImNtfExtinfoMsg.m_type; - m_contactId = cImNtfExtinfoMsg.m_contactId; - m_message = cImNtfExtinfoMsg.m_message; - return *this; - } - - const uint16_t& GetType () const { return m_type; } - bool SetType ( const uint16_t& wType ) - { - m_type = wType; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - uint16_t m_type; - string m_contactId; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfExtinfoMsg::Size() const -{ - uint32_t nSize = 14; - nSize += m_contactId.length(); - nSize += m_message.length(); - return nSize; -} - -class CImReqGettoolsprofile : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GETTOOLSPROFILE - }; - CImReqGettoolsprofile() - { - } - - ~CImReqGettoolsprofile() { } - CImReqGettoolsprofile(const VECTOR< uint8_t >& vecToolTypes, const uint32_t& dwTimestamp) - { - m_toolTypes = vecToolTypes; - m_timestamp = dwTimestamp; - } - CImReqGettoolsprofile& operator=( const CImReqGettoolsprofile& cImReqGettoolsprofile ) - { - m_toolTypes = cImReqGettoolsprofile.m_toolTypes; - m_timestamp = cImReqGettoolsprofile.m_timestamp; - return *this; - } - - const VECTOR< uint8_t >& GetToolTypes () const { return m_toolTypes; } - bool SetToolTypes ( const VECTOR< uint8_t >& vecToolTypes ) - { - m_toolTypes = vecToolTypes; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - VECTOR< uint8_t > m_toolTypes; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGettoolsprofile::Size() const -{ - uint32_t nSize = 12; - nSize += m_toolTypes.size() * 1; - return nSize; -} - -struct SToolProfile -{ -public: - SToolProfile() - { - } - - ~SToolProfile() { } - SToolProfile(const uint8_t& chToolType, const string& strProfile) - { - m_toolType = chToolType; - m_profile = strProfile; - } - SToolProfile& operator=( const SToolProfile& sToolProfile ) - { - m_toolType = sToolProfile.m_toolType; - m_profile = sToolProfile.m_profile; - return *this; - } - - uint8_t m_toolType; - string m_profile; - -public: - uint32_t Size() const; -}; - -inline uint32_t SToolProfile::Size() const -{ - uint32_t nSize = 8; - nSize += m_profile.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SToolProfile& sToolProfile ); -CPackData& operator>> ( CPackData& cPackData, SToolProfile& sToolProfile ); - -class CImRspGettoolsprofile : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETTOOLSPROFILE - }; - CImRspGettoolsprofile() - { - } - - ~CImRspGettoolsprofile() { } - CImRspGettoolsprofile(const uint32_t& dwRetcode, const VECTOR< SToolProfile >& vecProfileList, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_profileList = vecProfileList; - m_timestamp = dwTimestamp; - } - CImRspGettoolsprofile& operator=( const CImRspGettoolsprofile& cImRspGettoolsprofile ) - { - m_retcode = cImRspGettoolsprofile.m_retcode; - m_profileList = cImRspGettoolsprofile.m_profileList; - m_timestamp = cImRspGettoolsprofile.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< SToolProfile >& GetProfileList () const { return m_profileList; } - bool SetProfileList ( const VECTOR< SToolProfile >& vecProfileList ) - { - m_profileList = vecProfileList; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - VECTOR< SToolProfile > m_profileList; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGettoolsprofile::Size() const -{ - uint32_t nSize = 17; - for(uint32_t i = 0; i < m_profileList.size(); i++) - { - nSize += m_profileList[i].Size(); - } - return nSize; -} - -class CImReqChgtoolsprofile : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHGTOOLSPROFILE - }; - CImReqChgtoolsprofile() - { - } - - ~CImReqChgtoolsprofile() { } - CImReqChgtoolsprofile(const VECTOR< SToolProfile >& vecProfileList) - { - m_profileList = vecProfileList; - } - CImReqChgtoolsprofile& operator=( const CImReqChgtoolsprofile& cImReqChgtoolsprofile ) - { - m_profileList = cImReqChgtoolsprofile.m_profileList; - return *this; - } - - const VECTOR< SToolProfile >& GetProfileList () const { return m_profileList; } - bool SetProfileList ( const VECTOR< SToolProfile >& vecProfileList ) - { - m_profileList = vecProfileList; - return true; - } -private: - VECTOR< SToolProfile > m_profileList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChgtoolsprofile::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_profileList.size(); i++) - { - nSize += m_profileList[i].Size(); - } - return nSize; -} - -class CImRspChgtoolsprofile : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHGTOOLSPROFILE - }; - CImRspChgtoolsprofile() - { - } - - ~CImRspChgtoolsprofile() { } - CImRspChgtoolsprofile(const uint32_t& dwRetcode, const VECTOR< uint8_t >& vecToolTypes, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_toolTypes = vecToolTypes; - m_timestamp = dwTimestamp; - } - CImRspChgtoolsprofile& operator=( const CImRspChgtoolsprofile& cImRspChgtoolsprofile ) - { - m_retcode = cImRspChgtoolsprofile.m_retcode; - m_toolTypes = cImRspChgtoolsprofile.m_toolTypes; - m_timestamp = cImRspChgtoolsprofile.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< uint8_t >& GetToolTypes () const { return m_toolTypes; } - bool SetToolTypes ( const VECTOR< uint8_t >& vecToolTypes ) - { - m_toolTypes = vecToolTypes; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - VECTOR< uint8_t > m_toolTypes; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChgtoolsprofile::Size() const -{ - uint32_t nSize = 17; - nSize += m_toolTypes.size() * 1; - return nSize; -} - -class CImReqPeerinfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_PEERINFO - }; - CImReqPeerinfo() - { - } - - ~CImReqPeerinfo() { } - CImReqPeerinfo(const string& strTargetId) - { - m_targetId = strTargetId; - } - CImReqPeerinfo& operator=( const CImReqPeerinfo& cImReqPeerinfo ) - { - m_targetId = cImReqPeerinfo.m_targetId; - return *this; - } - - const string& GetTargetId () const { return m_targetId; } - bool SetTargetId ( const string& strTargetId ) - { - if(strTargetId.size() > 64) - return false; - m_targetId = strTargetId; - return true; - } -private: - string m_targetId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqPeerinfo::Size() const -{ - uint32_t nSize = 6; - nSize += m_targetId.length(); - return nSize; -} - -class CImRspPeerinfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_PEERINFO - }; - CImRspPeerinfo() - { - } - - ~CImRspPeerinfo() { } - CImRspPeerinfo(const uint32_t& dwRetcode, const string& strTargetId, const uint32_t& dwClinetip, const string& strVersion, const uint8_t& chBasicStatus, const uint8_t& chPredefStatus, const uint8_t& chAddcontactFlag, const uint8_t& chSendmsgFlag, const uint8_t& chReverseContact) - { - m_retcode = dwRetcode; - m_targetId = strTargetId; - m_clinetip = dwClinetip; - m_version = strVersion; - m_basicStatus = chBasicStatus; - m_predefStatus = chPredefStatus; - m_addcontactFlag = chAddcontactFlag; - m_sendmsgFlag = chSendmsgFlag; - m_reverseContact = chReverseContact; - } - CImRspPeerinfo& operator=( const CImRspPeerinfo& cImRspPeerinfo ) - { - m_retcode = cImRspPeerinfo.m_retcode; - m_targetId = cImRspPeerinfo.m_targetId; - m_clinetip = cImRspPeerinfo.m_clinetip; - m_version = cImRspPeerinfo.m_version; - m_basicStatus = cImRspPeerinfo.m_basicStatus; - m_predefStatus = cImRspPeerinfo.m_predefStatus; - m_addcontactFlag = cImRspPeerinfo.m_addcontactFlag; - m_sendmsgFlag = cImRspPeerinfo.m_sendmsgFlag; - m_reverseContact = cImRspPeerinfo.m_reverseContact; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetTargetId () const { return m_targetId; } - bool SetTargetId ( const string& strTargetId ) - { - if(strTargetId.size() > 64) - return false; - m_targetId = strTargetId; - return true; - } - const uint32_t& GetClinetip () const { return m_clinetip; } - bool SetClinetip ( const uint32_t& dwClinetip ) - { - m_clinetip = dwClinetip; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - if(strVersion.size() > 128) - return false; - m_version = strVersion; - return true; - } - const uint8_t& GetBasicStatus () const { return m_basicStatus; } - bool SetBasicStatus ( const uint8_t& chBasicStatus ) - { - m_basicStatus = chBasicStatus; - return true; - } - const uint8_t& GetPredefStatus () const { return m_predefStatus; } - bool SetPredefStatus ( const uint8_t& chPredefStatus ) - { - m_predefStatus = chPredefStatus; - return true; - } - const uint8_t& GetAddcontactFlag () const { return m_addcontactFlag; } - bool SetAddcontactFlag ( const uint8_t& chAddcontactFlag ) - { - m_addcontactFlag = chAddcontactFlag; - return true; - } - const uint8_t& GetSendmsgFlag () const { return m_sendmsgFlag; } - bool SetSendmsgFlag ( const uint8_t& chSendmsgFlag ) - { - m_sendmsgFlag = chSendmsgFlag; - return true; - } - const uint8_t& GetReverseContact () const { return m_reverseContact; } - bool SetReverseContact ( const uint8_t& chReverseContact ) - { - m_reverseContact = chReverseContact; - return true; - } -private: - uint32_t m_retcode; - string m_targetId; - uint32_t m_clinetip; - string m_version; - uint8_t m_basicStatus; - uint8_t m_predefStatus; - uint8_t m_addcontactFlag; - uint8_t m_sendmsgFlag; - uint8_t m_reverseContact; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspPeerinfo::Size() const -{ - uint32_t nSize = 31; - nSize += m_targetId.length(); - nSize += m_version.length(); - return nSize; -} - -class CImReqSubscribeInfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SUBSCRIBE_INFO - }; - CImReqSubscribeInfo() - { - } - - ~CImReqSubscribeInfo() { } - CImReqSubscribeInfo(const VECTOR< string >& vecTargetList) - { - m_targetList = vecTargetList; - } - CImReqSubscribeInfo& operator=( const CImReqSubscribeInfo& cImReqSubscribeInfo ) - { - m_targetList = cImReqSubscribeInfo.m_targetList; - return *this; - } - - const VECTOR< string >& GetTargetList () const { return m_targetList; } - bool SetTargetList ( const VECTOR< string >& vecTargetList ) - { - m_targetList = vecTargetList; - return true; - } -private: - VECTOR< string > m_targetList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSubscribeInfo::Size() const -{ - uint32_t nSize = 7; - nSize += m_targetList.size() * 4; - for(uint32_t i = 0; i < m_targetList.size(); i++) - { - nSize += m_targetList[i].length(); - } - return nSize; -} - -class CImRspSubscribeInfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SUBSCRIBE_INFO - }; - CImRspSubscribeInfo() - { - } - - ~CImRspSubscribeInfo() { } - CImRspSubscribeInfo(const uint32_t& dwRetcode, const VECTOR< SUserStatus >& vecStatusList) - { - m_retcode = dwRetcode; - m_statusList = vecStatusList; - } - CImRspSubscribeInfo& operator=( const CImRspSubscribeInfo& cImRspSubscribeInfo ) - { - m_retcode = cImRspSubscribeInfo.m_retcode; - m_statusList = cImRspSubscribeInfo.m_statusList; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< SUserStatus >& GetStatusList () const { return m_statusList; } - bool SetStatusList ( const VECTOR< SUserStatus >& vecStatusList ) - { - m_statusList = vecStatusList; - return true; - } -private: - uint32_t m_retcode; - VECTOR< SUserStatus > m_statusList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSubscribeInfo::Size() const -{ - uint32_t nSize = 12; - for(uint32_t i = 0; i < m_statusList.size(); i++) - { - nSize += m_statusList[i].Size(); - } - return nSize; -} - -class CImReqDisubscribeInfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_DISUBSCRIBE_INFO - }; - CImReqDisubscribeInfo() - { - } - - ~CImReqDisubscribeInfo() { } - CImReqDisubscribeInfo(const VECTOR< string >& vecTargets) - { - m_targets = vecTargets; - } - CImReqDisubscribeInfo& operator=( const CImReqDisubscribeInfo& cImReqDisubscribeInfo ) - { - m_targets = cImReqDisubscribeInfo.m_targets; - return *this; - } - - const VECTOR< string >& GetTargets () const { return m_targets; } - bool SetTargets ( const VECTOR< string >& vecTargets ) - { - m_targets = vecTargets; - return true; - } -private: - VECTOR< string > m_targets; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqDisubscribeInfo::Size() const -{ - uint32_t nSize = 7; - nSize += m_targets.size() * 4; - for(uint32_t i = 0; i < m_targets.size(); i++) - { - nSize += m_targets[i].length(); - } - return nSize; -} - -class CImReqGetftsaddr : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GETFTSADDR - }; - CImReqGetftsaddr() - { - } - - ~CImReqGetftsaddr() { } - CImReqGetftsaddr(const string& strSessionId, const uint16_t& wType) - { - m_sessionId = strSessionId; - m_type = wType; - } - CImReqGetftsaddr& operator=( const CImReqGetftsaddr& cImReqGetftsaddr ) - { - m_sessionId = cImReqGetftsaddr.m_sessionId; - m_type = cImReqGetftsaddr.m_type; - return *this; - } - - const string& GetSessionId () const { return m_sessionId; } - bool SetSessionId ( const string& strSessionId ) - { - if(strSessionId.size() > 64) - return false; - m_sessionId = strSessionId; - return true; - } - const uint16_t& GetType () const { return m_type; } - bool SetType ( const uint16_t& wType ) - { - m_type = wType; - return true; - } -private: - string m_sessionId; - uint16_t m_type; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetftsaddr::Size() const -{ - uint32_t nSize = 9; - nSize += m_sessionId.length(); - return nSize; -} - -class CImReqGetappaddr : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GETAPPADDR - }; - CImReqGetappaddr() - { - } - - ~CImReqGetappaddr() { } - CImReqGetappaddr(const string& strSessionId, const uint16_t& wAppType, const uint16_t& wSubType, const uint64_t& ullObjId) - { - m_sessionId = strSessionId; - m_appType = wAppType; - m_subType = wSubType; - m_objId = ullObjId; - } - CImReqGetappaddr& operator=( const CImReqGetappaddr& cImReqGetappaddr ) - { - m_sessionId = cImReqGetappaddr.m_sessionId; - m_appType = cImReqGetappaddr.m_appType; - m_subType = cImReqGetappaddr.m_subType; - m_objId = cImReqGetappaddr.m_objId; - return *this; - } - - const string& GetSessionId () const { return m_sessionId; } - bool SetSessionId ( const string& strSessionId ) - { - if(strSessionId.size() > 64) - return false; - m_sessionId = strSessionId; - return true; - } - const uint16_t& GetAppType () const { return m_appType; } - bool SetAppType ( const uint16_t& wAppType ) - { - m_appType = wAppType; - return true; - } - const uint16_t& GetSubType () const { return m_subType; } - bool SetSubType ( const uint16_t& wSubType ) - { - m_subType = wSubType; - return true; - } - const uint64_t& GetObjId () const { return m_objId; } - bool SetObjId ( const uint64_t& ullObjId ) - { - m_objId = ullObjId; - return true; - } -private: - string m_sessionId; - uint16_t m_appType; - uint16_t m_subType; - uint64_t m_objId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetappaddr::Size() const -{ - uint32_t nSize = 21; - nSize += m_sessionId.length(); - return nSize; -} - -class CImRspGetappaddr : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETAPPADDR - }; - CImRspGetappaddr() - { - } - - ~CImRspGetappaddr() { } - CImRspGetappaddr(const uint32_t& dwRetcode, const string& strServerAddr, const uint16_t& wServerPort, const string& strSessionId, const uint16_t& wAppType, const uint16_t& wSubType, const uint64_t& ullObjId) - { - m_retcode = dwRetcode; - m_serverAddr = strServerAddr; - m_serverPort = wServerPort; - m_sessionId = strSessionId; - m_appType = wAppType; - m_subType = wSubType; - m_objId = ullObjId; - } - CImRspGetappaddr& operator=( const CImRspGetappaddr& cImRspGetappaddr ) - { - m_retcode = cImRspGetappaddr.m_retcode; - m_serverAddr = cImRspGetappaddr.m_serverAddr; - m_serverPort = cImRspGetappaddr.m_serverPort; - m_sessionId = cImRspGetappaddr.m_sessionId; - m_appType = cImRspGetappaddr.m_appType; - m_subType = cImRspGetappaddr.m_subType; - m_objId = cImRspGetappaddr.m_objId; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetServerAddr () const { return m_serverAddr; } - bool SetServerAddr ( const string& strServerAddr ) - { - if(strServerAddr.size() > 32) - return false; - m_serverAddr = strServerAddr; - return true; - } - const uint16_t& GetServerPort () const { return m_serverPort; } - bool SetServerPort ( const uint16_t& wServerPort ) - { - m_serverPort = wServerPort; - return true; - } - const string& GetSessionId () const { return m_sessionId; } - bool SetSessionId ( const string& strSessionId ) - { - if(strSessionId.size() > 64) - return false; - m_sessionId = strSessionId; - return true; - } - const uint16_t& GetAppType () const { return m_appType; } - bool SetAppType ( const uint16_t& wAppType ) - { - m_appType = wAppType; - return true; - } - const uint16_t& GetSubType () const { return m_subType; } - bool SetSubType ( const uint16_t& wSubType ) - { - m_subType = wSubType; - return true; - } - const uint64_t& GetObjId () const { return m_objId; } - bool SetObjId ( const uint64_t& ullObjId ) - { - m_objId = ullObjId; - return true; - } -private: - uint32_t m_retcode; - string m_serverAddr; - uint16_t m_serverPort; - string m_sessionId; - uint16_t m_appType; - uint16_t m_subType; - uint64_t m_objId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetappaddr::Size() const -{ - uint32_t nSize = 34; - nSize += m_serverAddr.length(); - nSize += m_sessionId.length(); - return nSize; -} - -class CImRspGetftsaddr : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETFTSADDR - }; - CImRspGetftsaddr() - { - } - - ~CImRspGetftsaddr() { } - CImRspGetftsaddr(const uint32_t& dwRetcode, const string& strServerIp, const uint16_t& wServerPort, const string& strSessionId, const uint16_t& wType, const uint32_t& dwSessionsum) - { - m_retcode = dwRetcode; - m_serverIp = strServerIp; - m_serverPort = wServerPort; - m_sessionId = strSessionId; - m_type = wType; - m_sessionsum = dwSessionsum; - } - CImRspGetftsaddr& operator=( const CImRspGetftsaddr& cImRspGetftsaddr ) - { - m_retcode = cImRspGetftsaddr.m_retcode; - m_serverIp = cImRspGetftsaddr.m_serverIp; - m_serverPort = cImRspGetftsaddr.m_serverPort; - m_sessionId = cImRspGetftsaddr.m_sessionId; - m_type = cImRspGetftsaddr.m_type; - m_sessionsum = cImRspGetftsaddr.m_sessionsum; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetServerIp () const { return m_serverIp; } - bool SetServerIp ( const string& strServerIp ) - { - if(strServerIp.size() > 15) - return false; - m_serverIp = strServerIp; - return true; - } - const uint16_t& GetServerPort () const { return m_serverPort; } - bool SetServerPort ( const uint16_t& wServerPort ) - { - m_serverPort = wServerPort; - return true; - } - const string& GetSessionId () const { return m_sessionId; } - bool SetSessionId ( const string& strSessionId ) - { - if(strSessionId.size() > 64) - return false; - m_sessionId = strSessionId; - return true; - } - const uint16_t& GetType () const { return m_type; } - bool SetType ( const uint16_t& wType ) - { - m_type = wType; - return true; - } - const uint32_t& GetSessionsum () const { return m_sessionsum; } - bool SetSessionsum ( const uint32_t& dwSessionsum ) - { - m_sessionsum = dwSessionsum; - return true; - } -private: - uint32_t m_retcode; - string m_serverIp; - uint16_t m_serverPort; - string m_sessionId; - uint16_t m_type; - uint32_t m_sessionsum; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetftsaddr::Size() const -{ - uint32_t nSize = 27; - nSize += m_serverIp.length(); - nSize += m_sessionId.length(); - return nSize; -} - -class CImReqChgportrait : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHGPORTRAIT - }; - CImReqChgportrait() - { - } - - ~CImReqChgportrait() { } - CImReqChgportrait(const string& strPortraitid) - { - m_portraitid = strPortraitid; - } - CImReqChgportrait& operator=( const CImReqChgportrait& cImReqChgportrait ) - { - m_portraitid = cImReqChgportrait.m_portraitid; - return *this; - } - - const string& GetPortraitid () const { return m_portraitid; } - bool SetPortraitid ( const string& strPortraitid ) - { - m_portraitid = strPortraitid; - return true; - } -private: - string m_portraitid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChgportrait::Size() const -{ - uint32_t nSize = 6; - nSize += m_portraitid.length(); - return nSize; -} - -class CImReqChgsignature : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHGSIGNATURE - }; - CImReqChgsignature() - { - } - - ~CImReqChgsignature() { } - CImReqChgsignature(const string& strSignature) - { - m_signature = strSignature; - } - CImReqChgsignature& operator=( const CImReqChgsignature& cImReqChgsignature ) - { - m_signature = cImReqChgsignature.m_signature; - return *this; - } - - const string& GetSignature () const { return m_signature; } - bool SetSignature ( const string& strSignature ) - { - if(strSignature.size() > 1024) - return false; - m_signature = strSignature; - return true; - } -private: - string m_signature; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChgsignature::Size() const -{ - uint32_t nSize = 6; - nSize += m_signature.length(); - return nSize; -} - -class CImRspChgsignature : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHGSIGNATURE - }; - CImRspChgsignature() - { - } - - ~CImRspChgsignature() { } - CImRspChgsignature(const string& strSignature, const uint32_t& dwRetcode) - { - m_signature = strSignature; - m_retcode = dwRetcode; - } - CImRspChgsignature& operator=( const CImRspChgsignature& cImRspChgsignature ) - { - m_signature = cImRspChgsignature.m_signature; - m_retcode = cImRspChgsignature.m_retcode; - return *this; - } - - const string& GetSignature () const { return m_signature; } - bool SetSignature ( const string& strSignature ) - { - if(strSignature.size() > 1024) - return false; - m_signature = strSignature; - return true; - } - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } -private: - string m_signature; - uint32_t m_retcode; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChgsignature::Size() const -{ - uint32_t nSize = 11; - nSize += m_signature.length(); - return nSize; -} - -class CImNtfOperationtip : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_OPERATIONTIP - }; - CImNtfOperationtip() - { - } - - ~CImNtfOperationtip() { } - CImNtfOperationtip(const string& strContactId, const string& strNtfmessage, const uint32_t& dwNtftime) - { - m_contactId = strContactId; - m_ntfmessage = strNtfmessage; - m_ntftime = dwNtftime; - } - CImNtfOperationtip& operator=( const CImNtfOperationtip& cImNtfOperationtip ) - { - m_contactId = cImNtfOperationtip.m_contactId; - m_ntfmessage = cImNtfOperationtip.m_ntfmessage; - m_ntftime = cImNtfOperationtip.m_ntftime; - return *this; - } - - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - m_contactId = strContactId; - return true; - } - const string& GetNtfmessage () const { return m_ntfmessage; } - bool SetNtfmessage ( const string& strNtfmessage ) - { - m_ntfmessage = strNtfmessage; - return true; - } - const uint32_t& GetNtftime () const { return m_ntftime; } - bool SetNtftime ( const uint32_t& dwNtftime ) - { - m_ntftime = dwNtftime; - return true; - } -private: - string m_contactId; - string m_ntfmessage; - uint32_t m_ntftime; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfOperationtip::Size() const -{ - uint32_t nSize = 16; - nSize += m_contactId.length(); - nSize += m_ntfmessage.length(); - return nSize; -} - -struct SBindingInfo -{ -public: - SBindingInfo() - { - } - - ~SBindingInfo() { } - SBindingInfo(const string& strUserId, const string& strPassword) - { - m_userId = strUserId; - m_password = strPassword; - } - SBindingInfo& operator=( const SBindingInfo& sBindingInfo ) - { - m_userId = sBindingInfo.m_userId; - m_password = sBindingInfo.m_password; - return *this; - } - - string m_userId; - string m_password; - -public: - uint32_t Size() const; -}; - -inline uint32_t SBindingInfo::Size() const -{ - uint32_t nSize = 11; - nSize += m_userId.length(); - nSize += m_password.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SBindingInfo& sBindingInfo ); -CPackData& operator>> ( CPackData& cPackData, SBindingInfo& sBindingInfo ); - -class CImReqAddbinding : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ADDBINDING - }; - CImReqAddbinding() - { - } - - ~CImReqAddbinding() { } - CImReqAddbinding(const uint32_t& dwAddflag, const SBindingInfo& sBinding) - { - m_addflag = dwAddflag; - m_binding = sBinding; - } - CImReqAddbinding& operator=( const CImReqAddbinding& cImReqAddbinding ) - { - m_addflag = cImReqAddbinding.m_addflag; - m_binding = cImReqAddbinding.m_binding; - return *this; - } - - const uint32_t& GetAddflag () const { return m_addflag; } - bool SetAddflag ( const uint32_t& dwAddflag ) - { - m_addflag = dwAddflag; - return true; - } - const SBindingInfo& GetBinding () const { return m_binding; } - bool SetBinding ( const SBindingInfo& sBinding ) - { - m_binding = sBinding; - return true; - } -private: - uint32_t m_addflag; - SBindingInfo m_binding; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAddbinding::Size() const -{ - uint32_t nSize = 7; - nSize += m_binding.Size(); - return nSize; -} - -class CImRspAddbinding : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_ADDBINDING - }; - CImRspAddbinding() - { - } - - ~CImRspAddbinding() { } - CImRspAddbinding(const uint32_t& dwRetcode, const string& strUid, const string& strWebmd5pw) - { - m_retcode = dwRetcode; - m_uid = strUid; - m_webmd5pw = strWebmd5pw; - } - CImRspAddbinding& operator=( const CImRspAddbinding& cImRspAddbinding ) - { - m_retcode = cImRspAddbinding.m_retcode; - m_uid = cImRspAddbinding.m_uid; - m_webmd5pw = cImRspAddbinding.m_webmd5pw; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - const string& GetWebmd5pw () const { return m_webmd5pw; } - bool SetWebmd5pw ( const string& strWebmd5pw ) - { - if(strWebmd5pw.size() > 48) - return false; - m_webmd5pw = strWebmd5pw; - return true; - } -private: - uint32_t m_retcode; - string m_uid; - string m_webmd5pw; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspAddbinding::Size() const -{ - uint32_t nSize = 16; - nSize += m_uid.length(); - nSize += m_webmd5pw.length(); - return nSize; -} - -class CImReqChgbinding : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHGBINDING - }; - CImReqChgbinding() - { - } - - ~CImReqChgbinding() { } - CImReqChgbinding(const SBindingInfo& sBinding) - { - m_binding = sBinding; - } - CImReqChgbinding& operator=( const CImReqChgbinding& cImReqChgbinding ) - { - m_binding = cImReqChgbinding.m_binding; - return *this; - } - - const SBindingInfo& GetBinding () const { return m_binding; } - bool SetBinding ( const SBindingInfo& sBinding ) - { - m_binding = sBinding; - return true; - } -private: - SBindingInfo m_binding; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChgbinding::Size() const -{ - uint32_t nSize = 2; - nSize += m_binding.Size(); - return nSize; -} - -class CImRspChgbinding : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHGBINDING - }; - CImRspChgbinding() - { - } - - ~CImRspChgbinding() { } - CImRspChgbinding(const uint32_t& dwRetcode, const string& strWebmd5pw) - { - m_retcode = dwRetcode; - m_webmd5pw = strWebmd5pw; - } - CImRspChgbinding& operator=( const CImRspChgbinding& cImRspChgbinding ) - { - m_retcode = cImRspChgbinding.m_retcode; - m_webmd5pw = cImRspChgbinding.m_webmd5pw; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetWebmd5pw () const { return m_webmd5pw; } - bool SetWebmd5pw ( const string& strWebmd5pw ) - { - if(strWebmd5pw.size() > 48) - return false; - m_webmd5pw = strWebmd5pw; - return true; - } -private: - uint32_t m_retcode; - string m_webmd5pw; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChgbinding::Size() const -{ - uint32_t nSize = 11; - nSize += m_webmd5pw.length(); - return nSize; -} - -class CImReqDelbinding : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_DELBINDING - }; - CImReqDelbinding() - { - } - - ~CImReqDelbinding() { } - CImReqDelbinding(const string& strUserId) - { - m_userId = strUserId; - } - CImReqDelbinding& operator=( const CImReqDelbinding& cImReqDelbinding ) - { - m_userId = cImReqDelbinding.m_userId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } -private: - string m_userId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqDelbinding::Size() const -{ - uint32_t nSize = 6; - nSize += m_userId.length(); - return nSize; -} - -class CImRspDelbinding : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_DELBINDING - }; - CImRspDelbinding() - { - } - - ~CImRspDelbinding() { } - CImRspDelbinding(const uint32_t& dwRetcode) - { - m_retcode = dwRetcode; - } - CImRspDelbinding& operator=( const CImRspDelbinding& cImRspDelbinding ) - { - m_retcode = cImRspDelbinding.m_retcode; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } -private: - uint32_t m_retcode; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspDelbinding::Size() const -{ - return 6; -} -class CImReqGetbinding : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GETBINDING - }; - ~CImReqGetbinding() { } -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetbinding::Size() const -{ - return 1; -} -class CImRspGetbinding : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETBINDING - }; - CImRspGetbinding() - { - } - - ~CImRspGetbinding() { } - CImRspGetbinding(const uint32_t& dwRetcode, const VECTOR< SBindingInfo >& vecBindingList) - { - m_retcode = dwRetcode; - m_bindingList = vecBindingList; - } - CImRspGetbinding& operator=( const CImRspGetbinding& cImRspGetbinding ) - { - m_retcode = cImRspGetbinding.m_retcode; - m_bindingList = cImRspGetbinding.m_bindingList; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< SBindingInfo >& GetBindingList () const { return m_bindingList; } - bool SetBindingList ( const VECTOR< SBindingInfo >& vecBindingList ) - { - m_bindingList = vecBindingList; - return true; - } -private: - uint32_t m_retcode; - VECTOR< SBindingInfo > m_bindingList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetbinding::Size() const -{ - uint32_t nSize = 12; - for(uint32_t i = 0; i < m_bindingList.size(); i++) - { - nSize += m_bindingList[i].Size(); - } - return nSize; -} - -class CImReqGetPwdtoken : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GET_PWDTOKEN - }; - CImReqGetPwdtoken() - { - } - - ~CImReqGetPwdtoken() { } - CImReqGetPwdtoken(const string& strUid) - { - m_uid = strUid; - } - CImReqGetPwdtoken& operator=( const CImReqGetPwdtoken& cImReqGetPwdtoken ) - { - m_uid = cImReqGetPwdtoken.m_uid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } -private: - string m_uid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetPwdtoken::Size() const -{ - uint32_t nSize = 6; - nSize += m_uid.length(); - return nSize; -} - -class CImRspGetPwdtoken : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GET_PWDTOKEN - }; - CImRspGetPwdtoken() - { - } - - ~CImRspGetPwdtoken() { } - CImRspGetPwdtoken(const uint32_t& dwRetcode, const string& strUid, const string& strToken) - { - m_retcode = dwRetcode; - m_uid = strUid; - m_token = strToken; - } - CImRspGetPwdtoken& operator=( const CImRspGetPwdtoken& cImRspGetPwdtoken ) - { - m_retcode = cImRspGetPwdtoken.m_retcode; - m_uid = cImRspGetPwdtoken.m_uid; - m_token = cImRspGetPwdtoken.m_token; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - const string& GetToken () const { return m_token; } - bool SetToken ( const string& strToken ) - { - m_token = strToken; - return true; - } -private: - uint32_t m_retcode; - string m_uid; - string m_token; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetPwdtoken::Size() const -{ - uint32_t nSize = 16; - nSize += m_uid.length(); - nSize += m_token.length(); - return nSize; -} - -class CImReqCankeysearch : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CANKEYSEARCH - }; - CImReqCankeysearch() - { - } - - ~CImReqCankeysearch() { } - CImReqCankeysearch(const uint8_t& chEnabled) - { - m_enabled = chEnabled; - } - CImReqCankeysearch& operator=( const CImReqCankeysearch& cImReqCankeysearch ) - { - m_enabled = cImReqCankeysearch.m_enabled; - return *this; - } - - const uint8_t& GetEnabled () const { return m_enabled; } - bool SetEnabled ( const uint8_t& chEnabled ) - { - m_enabled = chEnabled; - return true; - } -private: - uint8_t m_enabled; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqCankeysearch::Size() const -{ - return 3; -} -class CImReqGetwebSession : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GETWEB_SESSION - }; - ~CImReqGetwebSession() { } -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetwebSession::Size() const -{ - return 1; -} -class CImRspGetwebSession : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GETWEB_SESSION - }; - CImRspGetwebSession() - { - } - - ~CImRspGetwebSession() { } - CImRspGetwebSession(const uint32_t& dwRetcode, const uint32_t& dwExpiretime, const string& strSessionNo) - { - m_retcode = dwRetcode; - m_expiretime = dwExpiretime; - m_sessionNo = strSessionNo; - } - CImRspGetwebSession& operator=( const CImRspGetwebSession& cImRspGetwebSession ) - { - m_retcode = cImRspGetwebSession.m_retcode; - m_expiretime = cImRspGetwebSession.m_expiretime; - m_sessionNo = cImRspGetwebSession.m_sessionNo; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint32_t& GetExpiretime () const { return m_expiretime; } - bool SetExpiretime ( const uint32_t& dwExpiretime ) - { - m_expiretime = dwExpiretime; - return true; - } - const string& GetSessionNo () const { return m_sessionNo; } - bool SetSessionNo ( const string& strSessionNo ) - { - m_sessionNo = strSessionNo; - return true; - } -private: - uint32_t m_retcode; - uint32_t m_expiretime; - string m_sessionNo; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetwebSession::Size() const -{ - uint32_t nSize = 16; - nSize += m_sessionNo.length(); - return nSize; -} - -class CImNtfUpdateUsrextinfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_UPDATE_USREXTINFO - }; - CImNtfUpdateUsrextinfo() - { - } - - ~CImNtfUpdateUsrextinfo() { } - CImNtfUpdateUsrextinfo(const string& strContactId, const string& strType, const string& strValue) - { - m_contactId = strContactId; - m_type = strType; - m_value = strValue; - } - CImNtfUpdateUsrextinfo& operator=( const CImNtfUpdateUsrextinfo& cImNtfUpdateUsrextinfo ) - { - m_contactId = cImNtfUpdateUsrextinfo.m_contactId; - m_type = cImNtfUpdateUsrextinfo.m_type; - m_value = cImNtfUpdateUsrextinfo.m_value; - return *this; - } - - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - m_contactId = strContactId; - return true; - } - const string& GetType () const { return m_type; } - bool SetType ( const string& strType ) - { - m_type = strType; - return true; - } - const string& GetValue () const { return m_value; } - bool SetValue ( const string& strValue ) - { - m_value = strValue; - return true; - } -private: - string m_contactId; - string m_type; - string m_value; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfUpdateUsrextinfo::Size() const -{ - uint32_t nSize = 16; - nSize += m_contactId.length(); - nSize += m_type.length(); - nSize += m_value.length(); - return nSize; -} - -class CImReqUserudbprofile : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_USERUDBPROFILE - }; - ~CImReqUserudbprofile() { } - CImReqUserudbprofile(const string& strUid= "magic") - { - m_uid = strUid; - } - CImReqUserudbprofile& operator=( const CImReqUserudbprofile& cImReqUserudbprofile ) - { - m_uid = cImReqUserudbprofile.m_uid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } -private: - string m_uid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqUserudbprofile::Size() const -{ - uint32_t nSize = 6; - nSize += m_uid.length(); - return nSize; -} - -class CImRspUserudbprofile : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_USERUDBPROFILE - }; - CImRspUserudbprofile() - { - } - - ~CImRspUserudbprofile() { } - CImRspUserudbprofile(const uint32_t& dwRetcode, const map< string,string >& mapProfilelist, const string& strUid) - { - m_retcode = dwRetcode; - m_profilelist = mapProfilelist; - m_uid = strUid; - } - CImRspUserudbprofile& operator=( const CImRspUserudbprofile& cImRspUserudbprofile ) - { - m_retcode = cImRspUserudbprofile.m_retcode; - m_profilelist = cImRspUserudbprofile.m_profilelist; - m_uid = cImRspUserudbprofile.m_uid; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const map< string,string >& GetProfilelist () const { return m_profilelist; } - bool SetProfilelist ( const map< string,string >& mapProfilelist ) - { - m_profilelist = mapProfilelist; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } -private: - uint32_t m_retcode; - map< string,string > m_profilelist; - string m_uid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspUserudbprofile::Size() const -{ - uint32_t nSize = 15; - nSize += m_profilelist.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_profilelist.begin(); itr != m_profilelist.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - nSize += m_uid.length(); - return nSize; -} - -class CImReqUpdateUdbprofile : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_UPDATE_UDBPROFILE - }; - CImReqUpdateUdbprofile() - { - } - - ~CImReqUpdateUdbprofile() { } - CImReqUpdateUdbprofile(const map< string,string >& mapProfilelist) - { - m_profilelist = mapProfilelist; - } - CImReqUpdateUdbprofile& operator=( const CImReqUpdateUdbprofile& cImReqUpdateUdbprofile ) - { - m_profilelist = cImReqUpdateUdbprofile.m_profilelist; - return *this; - } - - const map< string,string >& GetProfilelist () const { return m_profilelist; } - bool SetProfilelist ( const map< string,string >& mapProfilelist ) - { - m_profilelist = mapProfilelist; - return true; - } -private: - map< string,string > m_profilelist; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqUpdateUdbprofile::Size() const -{ - uint32_t nSize = 5; - nSize += m_profilelist.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_profilelist.begin(); itr != m_profilelist.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CImRspUpdateUdbprofile : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_UPDATE_UDBPROFILE - }; - CImRspUpdateUdbprofile() - { - } - - ~CImRspUpdateUdbprofile() { } - CImRspUpdateUdbprofile(const uint32_t& dwRetcode, const string& strUid) - { - m_retcode = dwRetcode; - m_uid = strUid; - } - CImRspUpdateUdbprofile& operator=( const CImRspUpdateUdbprofile& cImRspUpdateUdbprofile ) - { - m_retcode = cImRspUpdateUdbprofile.m_retcode; - m_uid = cImRspUpdateUdbprofile.m_uid; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } -private: - uint32_t m_retcode; - string m_uid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspUpdateUdbprofile::Size() const -{ - uint32_t nSize = 11; - nSize += m_uid.length(); - return nSize; -} - -class CImReqGetDegree : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GET_DEGREE - }; - CImReqGetDegree() - { - } - - ~CImReqGetDegree() { } - CImReqGetDegree(const string& strUid) - { - m_uid = strUid; - } - CImReqGetDegree& operator=( const CImReqGetDegree& cImReqGetDegree ) - { - m_uid = cImReqGetDegree.m_uid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } -private: - string m_uid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetDegree::Size() const -{ - return 66; -} -class CImRspGetDegree : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GET_DEGREE - }; - CImRspGetDegree() - { - } - - ~CImRspGetDegree() { } - CImRspGetDegree(const string& strUid, const uint32_t& dwRetcode, const uint32_t& dwUserLevel, const uint32_t& dwTotalDegree, const uint32_t& dwNeedDegree, const VECTOR< uint8_t >& vecShowCount) - { - m_uid = strUid; - m_retcode = dwRetcode; - m_userLevel = dwUserLevel; - m_totalDegree = dwTotalDegree; - m_needDegree = dwNeedDegree; - m_showCount = vecShowCount; - } - CImRspGetDegree& operator=( const CImRspGetDegree& cImRspGetDegree ) - { - m_uid = cImRspGetDegree.m_uid; - m_retcode = cImRspGetDegree.m_retcode; - m_userLevel = cImRspGetDegree.m_userLevel; - m_totalDegree = cImRspGetDegree.m_totalDegree; - m_needDegree = cImRspGetDegree.m_needDegree; - m_showCount = cImRspGetDegree.m_showCount; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint32_t& GetUserLevel () const { return m_userLevel; } - bool SetUserLevel ( const uint32_t& dwUserLevel ) - { - m_userLevel = dwUserLevel; - return true; - } - const uint32_t& GetTotalDegree () const { return m_totalDegree; } - bool SetTotalDegree ( const uint32_t& dwTotalDegree ) - { - m_totalDegree = dwTotalDegree; - return true; - } - const uint32_t& GetNeedDegree () const { return m_needDegree; } - bool SetNeedDegree ( const uint32_t& dwNeedDegree ) - { - m_needDegree = dwNeedDegree; - return true; - } - const VECTOR< uint8_t >& GetShowCount () const { return m_showCount; } - bool SetShowCount ( const VECTOR< uint8_t >& vecShowCount ) - { - m_showCount = vecShowCount; - return true; - } -private: - string m_uid; - uint32_t m_retcode; - uint32_t m_userLevel; - uint32_t m_totalDegree; - uint32_t m_needDegree; - VECTOR< uint8_t > m_showCount; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetDegree::Size() const -{ - uint32_t nSize = 32; - nSize += m_uid.length(); - nSize += m_showCount.size() * 1; - return nSize; -} - -class CImReqPeerVerifyConfig : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_PEER_VERIFY_CONFIG - }; - CImReqPeerVerifyConfig() : m_supportFlag(0) - { - } - - ~CImReqPeerVerifyConfig() { } - CImReqPeerVerifyConfig(const uint8_t& chClientid, const string& strContactId, const uint32_t& dwSupportFlag= 0) - { - m_clientid = chClientid; - m_contactId = strContactId; - m_supportFlag = dwSupportFlag; - } - CImReqPeerVerifyConfig& operator=( const CImReqPeerVerifyConfig& cImReqPeerVerifyConfig ) - { - m_clientid = cImReqPeerVerifyConfig.m_clientid; - m_contactId = cImReqPeerVerifyConfig.m_contactId; - m_supportFlag = cImReqPeerVerifyConfig.m_supportFlag; - return *this; - } - - const uint8_t& GetClientid () const { return m_clientid; } - bool SetClientid ( const uint8_t& chClientid ) - { - m_clientid = chClientid; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - m_contactId = strContactId; - return true; - } - const uint32_t& GetSupportFlag () const { return m_supportFlag; } - bool SetSupportFlag ( const uint32_t& dwSupportFlag ) - { - m_supportFlag = dwSupportFlag; - return true; - } -private: - uint8_t m_clientid; - string m_contactId; - uint32_t m_supportFlag; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqPeerVerifyConfig::Size() const -{ - uint32_t nSize = 13; - nSize += m_contactId.length(); - return nSize; -} - -enum VERIFY_FLAG -{ - ADDCNT_OK = 0, - ADDCNT_VERIFY = 0x1, - ADDCNT_DENY = 0x2, - ADDCNT_NOUID = 0x3, - ADDCNT_UNKNOWN = 0x4, - ADDCNT_QUESTION = 0x10, - -}; - -enum SUPPORT_FLAG -{ - SPADDCNT_QUESTION = 0x1, - SPADDCNT_BUYERVERSION = 0x2, - SPADDCNT_SELLERVERSION = 0x4, - -}; - -class CImRspPeerVerifyConfig : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_PEER_VERIFY_CONFIG - }; - CImRspPeerVerifyConfig() : m_question("") - { - } - - ~CImRspPeerVerifyConfig() { } - CImRspPeerVerifyConfig(const uint8_t& chClientid, const string& strContactId, const uint32_t& dwRetcode, const string& strRetlongid, const string& strRetshowname, const string& strQuestion= "") - { - m_clientid = chClientid; - m_contactId = strContactId; - m_retcode = dwRetcode; - m_retlongid = strRetlongid; - m_retshowname = strRetshowname; - m_question = strQuestion; - } - CImRspPeerVerifyConfig& operator=( const CImRspPeerVerifyConfig& cImRspPeerVerifyConfig ) - { - m_clientid = cImRspPeerVerifyConfig.m_clientid; - m_contactId = cImRspPeerVerifyConfig.m_contactId; - m_retcode = cImRspPeerVerifyConfig.m_retcode; - m_retlongid = cImRspPeerVerifyConfig.m_retlongid; - m_retshowname = cImRspPeerVerifyConfig.m_retshowname; - m_question = cImRspPeerVerifyConfig.m_question; - return *this; - } - - const uint8_t& GetClientid () const { return m_clientid; } - bool SetClientid ( const uint8_t& chClientid ) - { - m_clientid = chClientid; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - m_contactId = strContactId; - return true; - } - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetRetlongid () const { return m_retlongid; } - bool SetRetlongid ( const string& strRetlongid ) - { - m_retlongid = strRetlongid; - return true; - } - const string& GetRetshowname () const { return m_retshowname; } - bool SetRetshowname ( const string& strRetshowname ) - { - m_retshowname = strRetshowname; - return true; - } - const string& GetQuestion () const { return m_question; } - bool SetQuestion ( const string& strQuestion ) - { - m_question = strQuestion; - return true; - } -private: - uint8_t m_clientid; - string m_contactId; - uint32_t m_retcode; - string m_retlongid; - string m_retshowname; - string m_question; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspPeerVerifyConfig::Size() const -{ - uint32_t nSize = 28; - nSize += m_contactId.length(); - nSize += m_retlongid.length(); - nSize += m_retshowname.length(); - nSize += m_question.length(); - return nSize; -} - -class CImReqCheckAuthcode : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHECK_AUTHCODE - }; - CImReqCheckAuthcode() : m_mode(0) - { - } - - ~CImReqCheckAuthcode() { } - CImReqCheckAuthcode(const string& strSessionId, const string& strAuthCode, const uint8_t& chMode= 0) - { - m_sessionId = strSessionId; - m_authCode = strAuthCode; - m_mode = chMode; - } - CImReqCheckAuthcode& operator=( const CImReqCheckAuthcode& cImReqCheckAuthcode ) - { - m_sessionId = cImReqCheckAuthcode.m_sessionId; - m_authCode = cImReqCheckAuthcode.m_authCode; - m_mode = cImReqCheckAuthcode.m_mode; - return *this; - } - - const string& GetSessionId () const { return m_sessionId; } - bool SetSessionId ( const string& strSessionId ) - { - m_sessionId = strSessionId; - return true; - } - const string& GetAuthCode () const { return m_authCode; } - bool SetAuthCode ( const string& strAuthCode ) - { - m_authCode = strAuthCode; - return true; - } - const uint8_t& GetMode () const { return m_mode; } - bool SetMode ( const uint8_t& chMode ) - { - m_mode = chMode; - return true; - } -private: - string m_sessionId; - string m_authCode; - uint8_t m_mode; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqCheckAuthcode::Size() const -{ - uint32_t nSize = 13; - nSize += m_sessionId.length(); - nSize += m_authCode.length(); - return nSize; -} - -class CImRspCheckAuthcode : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHECK_AUTHCODE - }; - CImRspCheckAuthcode() - { - } - - ~CImRspCheckAuthcode() { } - CImRspCheckAuthcode(const uint8_t& chRetcode, const string& strSessionId, const string& strAuthCode) - { - m_retcode = chRetcode; - m_sessionId = strSessionId; - m_authCode = strAuthCode; - } - CImRspCheckAuthcode& operator=( const CImRspCheckAuthcode& cImRspCheckAuthcode ) - { - m_retcode = cImRspCheckAuthcode.m_retcode; - m_sessionId = cImRspCheckAuthcode.m_sessionId; - m_authCode = cImRspCheckAuthcode.m_authCode; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetSessionId () const { return m_sessionId; } - bool SetSessionId ( const string& strSessionId ) - { - m_sessionId = strSessionId; - return true; - } - const string& GetAuthCode () const { return m_authCode; } - bool SetAuthCode ( const string& strAuthCode ) - { - m_authCode = strAuthCode; - return true; - } -private: - uint8_t m_retcode; - string m_sessionId; - string m_authCode; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspCheckAuthcode::Size() const -{ - uint32_t nSize = 13; - nSize += m_sessionId.length(); - nSize += m_authCode.length(); - return nSize; -} - -class CImNtfNeedAuthcode : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_NEED_AUTHCODE - }; - CImNtfNeedAuthcode() - { - } - - ~CImNtfNeedAuthcode() { } - CImNtfNeedAuthcode(const string& strOrigPacket) - { - m_origPacket = strOrigPacket; - } - CImNtfNeedAuthcode& operator=( const CImNtfNeedAuthcode& cImNtfNeedAuthcode ) - { - m_origPacket = cImNtfNeedAuthcode.m_origPacket; - return *this; - } - - const string& GetOrigPacket () const { return m_origPacket; } - bool SetOrigPacket ( const string& strOrigPacket ) - { - m_origPacket = strOrigPacket; - return true; - } -private: - string m_origPacket; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfNeedAuthcode::Size() const -{ - uint32_t nSize = 6; - nSize += m_origPacket.length(); - return nSize; -} - -class CImReqHelpLogin : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_HELP_LOGIN - }; - CImReqHelpLogin() - { - } - - ~CImReqHelpLogin() { } - CImReqHelpLogin(const string& strUid, const uint8_t& chStatus) - { - m_uid = strUid; - m_status = chStatus; - } - CImReqHelpLogin& operator=( const CImReqHelpLogin& cImReqHelpLogin ) - { - m_uid = cImReqHelpLogin.m_uid; - m_status = cImReqHelpLogin.m_status; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } -private: - string m_uid; - uint8_t m_status; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqHelpLogin::Size() const -{ - return 68; -} -struct SRecChildId -{ -public: - SRecChildId() - { - } - - ~SRecChildId() { } - SRecChildId(const string& strChildId, const string& strChildNick) - { - m_childId = strChildId; - m_childNick = strChildNick; - } - SRecChildId& operator=( const SRecChildId& sRecChildId ) - { - m_childId = sRecChildId.m_childId; - m_childNick = sRecChildId.m_childNick; - return *this; - } - - string m_childId; - string m_childNick; - -public: - uint32_t Size() const; -}; - -inline uint32_t SRecChildId::Size() const -{ - return 99; -} -CPackData& operator<< ( CPackData& cPackData, const SRecChildId& sRecChildId ); -CPackData& operator>> ( CPackData& cPackData, SRecChildId& sRecChildId ); - -class CImRspHelpLogin : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_HELP_LOGIN - }; - CImRspHelpLogin() - { - } - - ~CImRspHelpLogin() { } - CImRspHelpLogin(const uint8_t& chRetcode, const uint8_t& chMulStatus, const string& strParentUid, const VECTOR< SRecChildId >& vecChildList) - { - m_retcode = chRetcode; - m_mulStatus = chMulStatus; - m_parentUid = strParentUid; - m_childList = vecChildList; - } - CImRspHelpLogin& operator=( const CImRspHelpLogin& cImRspHelpLogin ) - { - m_retcode = cImRspHelpLogin.m_retcode; - m_mulStatus = cImRspHelpLogin.m_mulStatus; - m_parentUid = cImRspHelpLogin.m_parentUid; - m_childList = cImRspHelpLogin.m_childList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint8_t& GetMulStatus () const { return m_mulStatus; } - bool SetMulStatus ( const uint8_t& chMulStatus ) - { - m_mulStatus = chMulStatus; - return true; - } - const string& GetParentUid () const { return m_parentUid; } - bool SetParentUid ( const string& strParentUid ) - { - if(strParentUid.size() > 64) - return false; - m_parentUid = strParentUid; - return true; - } - const VECTOR< SRecChildId >& GetChildList () const { return m_childList; } - bool SetChildList ( const VECTOR< SRecChildId >& vecChildList ) - { - m_childList = vecChildList; - return true; - } -private: - uint8_t m_retcode; - uint8_t m_mulStatus; - string m_parentUid; - VECTOR< SRecChildId > m_childList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspHelpLogin::Size() const -{ - uint32_t nSize = 74; - for(uint32_t i = 0; i < m_childList.size(); i++) - { - nSize += m_childList[i].Size(); - } - return nSize; -} - -class CImReqHelpChgSrvMode : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_HELP_CHG_SRV_MODE - }; - CImReqHelpChgSrvMode() - { - } - - ~CImReqHelpChgSrvMode() { } - CImReqHelpChgSrvMode(const string& strUid, const uint8_t& chStatus) - { - m_uid = strUid; - m_status = chStatus; - } - CImReqHelpChgSrvMode& operator=( const CImReqHelpChgSrvMode& cImReqHelpChgSrvMode ) - { - m_uid = cImReqHelpChgSrvMode.m_uid; - m_status = cImReqHelpChgSrvMode.m_status; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } -private: - string m_uid; - uint8_t m_status; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqHelpChgSrvMode::Size() const -{ - return 68; -} -class CImRspHelpChgSrvMode : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_HELP_CHG_SRV_MODE - }; - CImRspHelpChgSrvMode() - { - } - - ~CImRspHelpChgSrvMode() { } - CImRspHelpChgSrvMode(const string& strUid, const uint8_t& chRetcode) - { - m_uid = strUid; - m_retcode = chRetcode; - } - CImRspHelpChgSrvMode& operator=( const CImRspHelpChgSrvMode& cImRspHelpChgSrvMode ) - { - m_uid = cImRspHelpChgSrvMode.m_uid; - m_retcode = cImRspHelpChgSrvMode.m_retcode; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } -private: - string m_uid; - uint8_t m_retcode; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspHelpChgSrvMode::Size() const -{ - return 68; -} -class CImReqHelpSetShareCid : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_HELP_SET_SHARE_CID - }; - CImReqHelpSetShareCid() - { - } - - ~CImReqHelpSetShareCid() { } - CImReqHelpSetShareCid(const string& strUid, const string& strCid, const uint8_t& chType) - { - m_uid = strUid; - m_cid = strCid; - m_type = chType; - } - CImReqHelpSetShareCid& operator=( const CImReqHelpSetShareCid& cImReqHelpSetShareCid ) - { - m_uid = cImReqHelpSetShareCid.m_uid; - m_cid = cImReqHelpSetShareCid.m_cid; - m_type = cImReqHelpSetShareCid.m_type; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetCid () const { return m_cid; } - bool SetCid ( const string& strCid ) - { - if(strCid.size() > 64) - return false; - m_cid = strCid; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } -private: - string m_uid; - string m_cid; - uint8_t m_type; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqHelpSetShareCid::Size() const -{ - return 133; -} -class CImRspHelpSetShareCid : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_HELP_SET_SHARE_CID - }; - CImRspHelpSetShareCid() - { - } - - ~CImRspHelpSetShareCid() { } - CImRspHelpSetShareCid(const string& strUid, const uint8_t& chRetcode) - { - m_uid = strUid; - m_retcode = chRetcode; - } - CImRspHelpSetShareCid& operator=( const CImRspHelpSetShareCid& cImRspHelpSetShareCid ) - { - m_uid = cImRspHelpSetShareCid.m_uid; - m_retcode = cImRspHelpSetShareCid.m_retcode; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } -private: - string m_uid; - uint8_t m_retcode; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspHelpSetShareCid::Size() const -{ - return 68; -} -class CImReqHelpGetShareCid : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_HELP_GET_SHARE_CID - }; - CImReqHelpGetShareCid() - { - } - - ~CImReqHelpGetShareCid() { } - CImReqHelpGetShareCid(const string& strUid, const string& strCid, const uint8_t& chType) - { - m_uid = strUid; - m_cid = strCid; - m_type = chType; - } - CImReqHelpGetShareCid& operator=( const CImReqHelpGetShareCid& cImReqHelpGetShareCid ) - { - m_uid = cImReqHelpGetShareCid.m_uid; - m_cid = cImReqHelpGetShareCid.m_cid; - m_type = cImReqHelpGetShareCid.m_type; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetCid () const { return m_cid; } - bool SetCid ( const string& strCid ) - { - if(strCid.size() > 64) - return false; - m_cid = strCid; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } -private: - string m_uid; - string m_cid; - uint8_t m_type; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqHelpGetShareCid::Size() const -{ - return 133; -} -class CImRspHelpGetShareCid : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_HELP_GET_SHARE_CID - }; - CImRspHelpGetShareCid() - { - } - - ~CImRspHelpGetShareCid() { } - CImRspHelpGetShareCid(const string& strUid, const string& strCid, const uint8_t& chRetcode, const uint8_t& chShared) - { - m_uid = strUid; - m_cid = strCid; - m_retcode = chRetcode; - m_shared = chShared; - } - CImRspHelpGetShareCid& operator=( const CImRspHelpGetShareCid& cImRspHelpGetShareCid ) - { - m_uid = cImRspHelpGetShareCid.m_uid; - m_cid = cImRspHelpGetShareCid.m_cid; - m_retcode = cImRspHelpGetShareCid.m_retcode; - m_shared = cImRspHelpGetShareCid.m_shared; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetCid () const { return m_cid; } - bool SetCid ( const string& strCid ) - { - if(strCid.size() > 64) - return false; - m_cid = strCid; - return true; - } - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint8_t& GetShared () const { return m_shared; } - bool SetShared ( const uint8_t& chShared ) - { - m_shared = chShared; - return true; - } -private: - string m_uid; - string m_cid; - uint8_t m_retcode; - uint8_t m_shared; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspHelpGetShareCid::Size() const -{ - return 135; -} -class CImReqHelpGetChildOnline : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_HELP_GET_CHILD_ONLINE - }; - CImReqHelpGetChildOnline() - { - } - - ~CImReqHelpGetChildOnline() { } - CImReqHelpGetChildOnline(const string& strUid, const string& strCid) - { - m_uid = strUid; - m_cid = strCid; - } - CImReqHelpGetChildOnline& operator=( const CImReqHelpGetChildOnline& cImReqHelpGetChildOnline ) - { - m_uid = cImReqHelpGetChildOnline.m_uid; - m_cid = cImReqHelpGetChildOnline.m_cid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetCid () const { return m_cid; } - bool SetCid ( const string& strCid ) - { - if(strCid.size() > 64) - return false; - m_cid = strCid; - return true; - } -private: - string m_uid; - string m_cid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqHelpGetChildOnline::Size() const -{ - return 131; -} -class CImRspHelpGetChildOnline : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_HELP_GET_CHILD_ONLINE - }; - CImRspHelpGetChildOnline() - { - } - - ~CImRspHelpGetChildOnline() { } - CImRspHelpGetChildOnline(const string& strUid, const string& strCid, const uint8_t& chRetcode, const uint8_t& chBasic, const string& strStatusdef) - { - m_uid = strUid; - m_cid = strCid; - m_retcode = chRetcode; - m_basic = chBasic; - m_statusdef = strStatusdef; - } - CImRspHelpGetChildOnline& operator=( const CImRspHelpGetChildOnline& cImRspHelpGetChildOnline ) - { - m_uid = cImRspHelpGetChildOnline.m_uid; - m_cid = cImRspHelpGetChildOnline.m_cid; - m_retcode = cImRspHelpGetChildOnline.m_retcode; - m_basic = cImRspHelpGetChildOnline.m_basic; - m_statusdef = cImRspHelpGetChildOnline.m_statusdef; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetCid () const { return m_cid; } - bool SetCid ( const string& strCid ) - { - if(strCid.size() > 64) - return false; - m_cid = strCid; - return true; - } - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint8_t& GetBasic () const { return m_basic; } - bool SetBasic ( const uint8_t& chBasic ) - { - m_basic = chBasic; - return true; - } - const string& GetStatusdef () const { return m_statusdef; } - bool SetStatusdef ( const string& strStatusdef ) - { - if(strStatusdef.size() > 64) - return false; - m_statusdef = strStatusdef; - return true; - } -private: - string m_uid; - string m_cid; - uint8_t m_retcode; - uint8_t m_basic; - string m_statusdef; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspHelpGetChildOnline::Size() const -{ - return 200; -} -class CImReqHelpGetOnlinechilds : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_HELP_GET_ONLINECHILDS - }; - CImReqHelpGetOnlinechilds() - { - } - - ~CImReqHelpGetOnlinechilds() { } - CImReqHelpGetOnlinechilds(const string& strUid, const uint8_t& chStatus) - { - m_uid = strUid; - m_status = chStatus; - } - CImReqHelpGetOnlinechilds& operator=( const CImReqHelpGetOnlinechilds& cImReqHelpGetOnlinechilds ) - { - m_uid = cImReqHelpGetOnlinechilds.m_uid; - m_status = cImReqHelpGetOnlinechilds.m_status; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } -private: - string m_uid; - uint8_t m_status; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqHelpGetOnlinechilds::Size() const -{ - return 68; -} -class CImRspHelpGetOnlinechilds : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_HELP_GET_ONLINECHILDS - }; - CImRspHelpGetOnlinechilds() - { - } - - ~CImRspHelpGetOnlinechilds() { } - CImRspHelpGetOnlinechilds(const uint8_t& chRetcode, const VECTOR< SRecChildId >& vecChildList) - { - m_retcode = chRetcode; - m_childList = vecChildList; - } - CImRspHelpGetOnlinechilds& operator=( const CImRspHelpGetOnlinechilds& cImRspHelpGetOnlinechilds ) - { - m_retcode = cImRspHelpGetOnlinechilds.m_retcode; - m_childList = cImRspHelpGetOnlinechilds.m_childList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const VECTOR< SRecChildId >& GetChildList () const { return m_childList; } - bool SetChildList ( const VECTOR< SRecChildId >& vecChildList ) - { - m_childList = vecChildList; - return true; - } -private: - uint8_t m_retcode; - VECTOR< SRecChildId > m_childList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspHelpGetOnlinechilds::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_childList.size(); i++) - { - nSize += m_childList[i].Size(); - } - return nSize; -} - -class CImReqHelpGetServices : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_HELP_GET_SERVICES - }; - CImReqHelpGetServices() - { - } - - ~CImReqHelpGetServices() { } - CImReqHelpGetServices(const string& strUid, const string& strFid) - { - m_uid = strUid; - m_fid = strFid; - } - CImReqHelpGetServices& operator=( const CImReqHelpGetServices& cImReqHelpGetServices ) - { - m_uid = cImReqHelpGetServices.m_uid; - m_fid = cImReqHelpGetServices.m_fid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetFid () const { return m_fid; } - bool SetFid ( const string& strFid ) - { - if(strFid.size() > 64) - return false; - m_fid = strFid; - return true; - } -private: - string m_uid; - string m_fid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqHelpGetServices::Size() const -{ - return 131; -} -class CImRspHelpGetServices : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_HELP_GET_SERVICES - }; - CImRspHelpGetServices() - { - } - - ~CImRspHelpGetServices() { } - CImRspHelpGetServices(const uint8_t& chRetcode, const VECTOR< uint32_t >& vecServiceList) - { - m_retcode = chRetcode; - m_serviceList = vecServiceList; - } - CImRspHelpGetServices& operator=( const CImRspHelpGetServices& cImRspHelpGetServices ) - { - m_retcode = cImRspHelpGetServices.m_retcode; - m_serviceList = cImRspHelpGetServices.m_serviceList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const VECTOR< uint32_t >& GetServiceList () const { return m_serviceList; } - bool SetServiceList ( const VECTOR< uint32_t >& vecServiceList ) - { - m_serviceList = vecServiceList; - return true; - } -private: - uint8_t m_retcode; - VECTOR< uint32_t > m_serviceList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspHelpGetServices::Size() const -{ - uint32_t nSize = 9; - nSize += m_serviceList.size() * 4; - return nSize; -} - -class CImReqHelpGetBindTo : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_HELP_GET_BIND_TO - }; - CImReqHelpGetBindTo() - { - } - - ~CImReqHelpGetBindTo() { } - CImReqHelpGetBindTo(const string& strUid) - { - m_uid = strUid; - } - CImReqHelpGetBindTo& operator=( const CImReqHelpGetBindTo& cImReqHelpGetBindTo ) - { - m_uid = cImReqHelpGetBindTo.m_uid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } -private: - string m_uid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqHelpGetBindTo::Size() const -{ - return 66; -} -class CImRspHelpGetBindTo : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_HELP_GET_BIND_TO - }; - CImRspHelpGetBindTo() - { - } - - ~CImRspHelpGetBindTo() { } - CImRspHelpGetBindTo(const uint8_t& chRetcode, const string& strUidBinded) - { - m_retcode = chRetcode; - m_uidBinded = strUidBinded; - } - CImRspHelpGetBindTo& operator=( const CImRspHelpGetBindTo& cImRspHelpGetBindTo ) - { - m_retcode = cImRspHelpGetBindTo.m_retcode; - m_uidBinded = cImRspHelpGetBindTo.m_uidBinded; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetUidBinded () const { return m_uidBinded; } - bool SetUidBinded ( const string& strUidBinded ) - { - if(strUidBinded.size() > 64) - return false; - m_uidBinded = strUidBinded; - return true; - } -private: - uint8_t m_retcode; - string m_uidBinded; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspHelpGetBindTo::Size() const -{ - return 68; -} -class CImReqHelpChgServiceNum : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_HELP_CHG_SERVICE_NUM - }; - CImReqHelpChgServiceNum() - { - } - - ~CImReqHelpChgServiceNum() { } - CImReqHelpChgServiceNum(const string& strUid, const string& strChildId, const string& strContactId, const uint8_t& chType, const uint8_t& chLocalNum, const uint32_t& dwLocalTime) - { - m_uid = strUid; - m_childId = strChildId; - m_contactId = strContactId; - m_type = chType; - m_localNum = chLocalNum; - m_localTime = dwLocalTime; - } - CImReqHelpChgServiceNum& operator=( const CImReqHelpChgServiceNum& cImReqHelpChgServiceNum ) - { - m_uid = cImReqHelpChgServiceNum.m_uid; - m_childId = cImReqHelpChgServiceNum.m_childId; - m_contactId = cImReqHelpChgServiceNum.m_contactId; - m_type = cImReqHelpChgServiceNum.m_type; - m_localNum = cImReqHelpChgServiceNum.m_localNum; - m_localTime = cImReqHelpChgServiceNum.m_localTime; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetChildId () const { return m_childId; } - bool SetChildId ( const string& strChildId ) - { - if(strChildId.size() > 64) - return false; - m_childId = strChildId; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const uint8_t& GetLocalNum () const { return m_localNum; } - bool SetLocalNum ( const uint8_t& chLocalNum ) - { - m_localNum = chLocalNum; - return true; - } - const uint32_t& GetLocalTime () const { return m_localTime; } - bool SetLocalTime ( const uint32_t& dwLocalTime ) - { - m_localTime = dwLocalTime; - return true; - } -private: - string m_uid; - string m_childId; - string m_contactId; - uint8_t m_type; - uint8_t m_localNum; - uint32_t m_localTime; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqHelpChgServiceNum::Size() const -{ - return 205; -} -class CImRspHelpChgServiceNum : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_HELP_CHG_SERVICE_NUM - }; - CImRspHelpChgServiceNum() - { - } - - ~CImRspHelpChgServiceNum() { } - CImRspHelpChgServiceNum(const uint8_t& chStatus, const string& strMessage, const string& strUid, const string& strChildId, const string& strContactId, const uint8_t& chServiceNum, const uint32_t& dwServiceTime) - { - m_status = chStatus; - m_message = strMessage; - m_uid = strUid; - m_childId = strChildId; - m_contactId = strContactId; - m_serviceNum = chServiceNum; - m_serviceTime = dwServiceTime; - } - CImRspHelpChgServiceNum& operator=( const CImRspHelpChgServiceNum& cImRspHelpChgServiceNum ) - { - m_status = cImRspHelpChgServiceNum.m_status; - m_message = cImRspHelpChgServiceNum.m_message; - m_uid = cImRspHelpChgServiceNum.m_uid; - m_childId = cImRspHelpChgServiceNum.m_childId; - m_contactId = cImRspHelpChgServiceNum.m_contactId; - m_serviceNum = cImRspHelpChgServiceNum.m_serviceNum; - m_serviceTime = cImRspHelpChgServiceNum.m_serviceTime; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetChildId () const { return m_childId; } - bool SetChildId ( const string& strChildId ) - { - if(strChildId.size() > 64) - return false; - m_childId = strChildId; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const uint8_t& GetServiceNum () const { return m_serviceNum; } - bool SetServiceNum ( const uint8_t& chServiceNum ) - { - m_serviceNum = chServiceNum; - return true; - } - const uint32_t& GetServiceTime () const { return m_serviceTime; } - bool SetServiceTime ( const uint32_t& dwServiceTime ) - { - m_serviceTime = dwServiceTime; - return true; - } -private: - uint8_t m_status; - string m_message; - string m_uid; - string m_childId; - string m_contactId; - uint8_t m_serviceNum; - uint32_t m_serviceTime; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspHelpChgServiceNum::Size() const -{ - uint32_t nSize = 210; - nSize += m_message.length(); - return nSize; -} - -class CImReqSendWatchInfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SEND_WATCH_INFO - }; - CImReqSendWatchInfo() - { - } - - ~CImReqSendWatchInfo() { } - CImReqSendWatchInfo(const uint8_t& chType, const string& strMessage) - { - m_type = chType; - m_message = strMessage; - } - CImReqSendWatchInfo& operator=( const CImReqSendWatchInfo& cImReqSendWatchInfo ) - { - m_type = cImReqSendWatchInfo.m_type; - m_message = cImReqSendWatchInfo.m_message; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - uint8_t m_type; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSendWatchInfo::Size() const -{ - uint32_t nSize = 8; - nSize += m_message.length(); - return nSize; -} - -class CImNtfWatchInfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_WATCH_INFO - }; - CImNtfWatchInfo() - { - } - - ~CImNtfWatchInfo() { } - CImNtfWatchInfo(const string& strUserId, const uint8_t& chType, const string& strMessage) - { - m_userId = strUserId; - m_type = chType; - m_message = strMessage; - } - CImNtfWatchInfo& operator=( const CImNtfWatchInfo& cImNtfWatchInfo ) - { - m_userId = cImNtfWatchInfo.m_userId; - m_type = cImNtfWatchInfo.m_type; - m_message = cImNtfWatchInfo.m_message; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - m_userId = strUserId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_userId; - uint8_t m_type; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfWatchInfo::Size() const -{ - uint32_t nSize = 13; - nSize += m_userId.length(); - nSize += m_message.length(); - return nSize; -} - -class CImNtfRefreshContact : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_REFRESH_CONTACT - }; - CImNtfRefreshContact() : m_groupId(0) - { - } - - ~CImNtfRefreshContact() { } - CImNtfRefreshContact(const uint8_t& chType, const string& strContactId, const string& strNickName, const int64_t& llGroupId= 0) - { - m_type = chType; - m_contactId = strContactId; - m_nickName = strNickName; - m_groupId = llGroupId; - } - CImNtfRefreshContact& operator=( const CImNtfRefreshContact& cImNtfRefreshContact ) - { - m_type = cImNtfRefreshContact.m_type; - m_contactId = cImNtfRefreshContact.m_contactId; - m_nickName = cImNtfRefreshContact.m_nickName; - m_groupId = cImNtfRefreshContact.m_groupId; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const string& GetNickName () const { return m_nickName; } - bool SetNickName ( const string& strNickName ) - { - if(strNickName.size() > 32) - return false; - m_nickName = strNickName; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_type; - string m_contactId; - string m_nickName; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfRefreshContact::Size() const -{ - uint32_t nSize = 22; - nSize += m_contactId.length(); - nSize += m_nickName.length(); - return nSize; -} - -class CImNtfFeeds : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_FEEDS - }; - CImNtfFeeds() - { - } - - ~CImNtfFeeds() { } - CImNtfFeeds(const string& strSite, const string& strFromId, const uint32_t& dwCreateTime, const string& strContent) - { - m_site = strSite; - m_fromId = strFromId; - m_createTime = dwCreateTime; - m_content = strContent; - } - CImNtfFeeds& operator=( const CImNtfFeeds& cImNtfFeeds ) - { - m_site = cImNtfFeeds.m_site; - m_fromId = cImNtfFeeds.m_fromId; - m_createTime = cImNtfFeeds.m_createTime; - m_content = cImNtfFeeds.m_content; - return *this; - } - - const string& GetSite () const { return m_site; } - bool SetSite ( const string& strSite ) - { - if(strSite.size() > 8) - return false; - m_site = strSite; - return true; - } - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const uint32_t& GetCreateTime () const { return m_createTime; } - bool SetCreateTime ( const uint32_t& dwCreateTime ) - { - m_createTime = dwCreateTime; - return true; - } - const string& GetContent () const { return m_content; } - bool SetContent ( const string& strContent ) - { - m_content = strContent; - return true; - } -private: - string m_site; - string m_fromId; - uint32_t m_createTime; - string m_content; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfFeeds::Size() const -{ - uint32_t nSize = 25; - nSize += m_fromId.length(); - nSize += m_content.length(); - return nSize; -} - -class CImNtfUserSnsinfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_USER_SNSINFO - }; - CImNtfUserSnsinfo() - { - } - - ~CImNtfUserSnsinfo() { } - CImNtfUserSnsinfo(const string& strFromId, const uint8_t& chType, const map< string,string >& mapInfo) - { - m_fromId = strFromId; - m_type = chType; - m_info = mapInfo; - } - CImNtfUserSnsinfo& operator=( const CImNtfUserSnsinfo& cImNtfUserSnsinfo ) - { - m_fromId = cImNtfUserSnsinfo.m_fromId; - m_type = cImNtfUserSnsinfo.m_type; - m_info = cImNtfUserSnsinfo.m_info; - return *this; - } - - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const map< string,string >& GetInfo () const { return m_info; } - bool SetInfo ( const map< string,string >& mapInfo ) - { - m_info = mapInfo; - return true; - } -private: - string m_fromId; - uint8_t m_type; - map< string,string > m_info; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfUserSnsinfo::Size() const -{ - uint32_t nSize = 12; - nSize += m_fromId.length(); - nSize += m_info.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_info.begin(); itr != m_info.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CImReqGetSipSessionid : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GET_SIP_SESSIONID - }; - CImReqGetSipSessionid() - { - } - - ~CImReqGetSipSessionid() { } - CImReqGetSipSessionid(const string& strAppId, const string& strType) - { - m_appId = strAppId; - m_type = strType; - } - CImReqGetSipSessionid& operator=( const CImReqGetSipSessionid& cImReqGetSipSessionid ) - { - m_appId = cImReqGetSipSessionid.m_appId; - m_type = cImReqGetSipSessionid.m_type; - return *this; - } - - const string& GetAppId () const { return m_appId; } - bool SetAppId ( const string& strAppId ) - { - m_appId = strAppId; - return true; - } - const string& GetType () const { return m_type; } - bool SetType ( const string& strType ) - { - m_type = strType; - return true; - } -private: - string m_appId; - string m_type; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetSipSessionid::Size() const -{ - uint32_t nSize = 11; - nSize += m_appId.length(); - nSize += m_type.length(); - return nSize; -} - -class CImRspGetSipSessionid : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GET_SIP_SESSIONID - }; - CImRspGetSipSessionid() - { - } - - ~CImRspGetSipSessionid() { } - CImRspGetSipSessionid(const uint32_t& dwRetcode, const string& strAppId, const string& strType, const string& strUserId, const string& strSessionId) - { - m_retcode = dwRetcode; - m_appId = strAppId; - m_type = strType; - m_userId = strUserId; - m_sessionId = strSessionId; - } - CImRspGetSipSessionid& operator=( const CImRspGetSipSessionid& cImRspGetSipSessionid ) - { - m_retcode = cImRspGetSipSessionid.m_retcode; - m_appId = cImRspGetSipSessionid.m_appId; - m_type = cImRspGetSipSessionid.m_type; - m_userId = cImRspGetSipSessionid.m_userId; - m_sessionId = cImRspGetSipSessionid.m_sessionId; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetAppId () const { return m_appId; } - bool SetAppId ( const string& strAppId ) - { - m_appId = strAppId; - return true; - } - const string& GetType () const { return m_type; } - bool SetType ( const string& strType ) - { - m_type = strType; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetSessionId () const { return m_sessionId; } - bool SetSessionId ( const string& strSessionId ) - { - m_sessionId = strSessionId; - return true; - } -private: - uint32_t m_retcode; - string m_appId; - string m_type; - string m_userId; - string m_sessionId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetSipSessionid::Size() const -{ - uint32_t nSize = 26; - nSize += m_appId.length(); - nSize += m_type.length(); - nSize += m_userId.length(); - nSize += m_sessionId.length(); - return nSize; -} - -class CImReqHelpGetBuddyStatus : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_HELP_GET_BUDDY_STATUS - }; - CImReqHelpGetBuddyStatus() - { - } - - ~CImReqHelpGetBuddyStatus() { } - CImReqHelpGetBuddyStatus(const string& strUid, const uint8_t& chStatus) - { - m_uid = strUid; - m_status = chStatus; - } - CImReqHelpGetBuddyStatus& operator=( const CImReqHelpGetBuddyStatus& cImReqHelpGetBuddyStatus ) - { - m_uid = cImReqHelpGetBuddyStatus.m_uid; - m_status = cImReqHelpGetBuddyStatus.m_status; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } -private: - string m_uid; - uint8_t m_status; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqHelpGetBuddyStatus::Size() const -{ - return 68; -} -struct SRecChildIdStatus -{ -public: - SRecChildIdStatus() - { - } - - ~SRecChildIdStatus() { } - SRecChildIdStatus(const string& strChildId, const uint8_t& chOnlineStatus, const uint8_t& chServiceStatus, const uint16_t& wReserved1, const uint16_t& wReserved2, const uint16_t& wReserved3) - { - m_childId = strChildId; - m_onlineStatus = chOnlineStatus; - m_serviceStatus = chServiceStatus; - m_reserved1 = wReserved1; - m_reserved2 = wReserved2; - m_reserved3 = wReserved3; - } - SRecChildIdStatus& operator=( const SRecChildIdStatus& sRecChildIdStatus ) - { - m_childId = sRecChildIdStatus.m_childId; - m_onlineStatus = sRecChildIdStatus.m_onlineStatus; - m_serviceStatus = sRecChildIdStatus.m_serviceStatus; - m_reserved1 = sRecChildIdStatus.m_reserved1; - m_reserved2 = sRecChildIdStatus.m_reserved2; - m_reserved3 = sRecChildIdStatus.m_reserved3; - return *this; - } - - string m_childId; - uint8_t m_onlineStatus; - uint8_t m_serviceStatus; - uint16_t m_reserved1; - uint16_t m_reserved2; - uint16_t m_reserved3; - -public: - uint32_t Size() const; -}; - -inline uint32_t SRecChildIdStatus::Size() const -{ - return 79; -} -CPackData& operator<< ( CPackData& cPackData, const SRecChildIdStatus& sRecChildIdStatus ); -CPackData& operator>> ( CPackData& cPackData, SRecChildIdStatus& sRecChildIdStatus ); - -class CImRspHelpGetBuddyStatus : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_HELP_GET_BUDDY_STATUS - }; - CImRspHelpGetBuddyStatus() - { - } - - ~CImRspHelpGetBuddyStatus() { } - CImRspHelpGetBuddyStatus(const uint8_t& chRetcode, const VECTOR< SRecChildIdStatus >& vecChildList) - { - m_retcode = chRetcode; - m_childList = vecChildList; - } - CImRspHelpGetBuddyStatus& operator=( const CImRspHelpGetBuddyStatus& cImRspHelpGetBuddyStatus ) - { - m_retcode = cImRspHelpGetBuddyStatus.m_retcode; - m_childList = cImRspHelpGetBuddyStatus.m_childList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const VECTOR< SRecChildIdStatus >& GetChildList () const { return m_childList; } - bool SetChildList ( const VECTOR< SRecChildIdStatus >& vecChildList ) - { - m_childList = vecChildList; - return true; - } -private: - uint8_t m_retcode; - VECTOR< SRecChildIdStatus > m_childList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspHelpGetBuddyStatus::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_childList.size(); i++) - { - nSize += m_childList[i].Size(); - } - return nSize; -} - -struct SRecentNode -{ -public: - SRecentNode() - { - } - - ~SRecentNode() { } - SRecentNode(const string& strContactId, const uint32_t& dwSendTime, const uint32_t& dwRecvTime, const uint32_t& dwRecvFlag, const uint32_t& dwSendFlag) - { - m_contactId = strContactId; - m_sendTime = dwSendTime; - m_recvTime = dwRecvTime; - m_recvFlag = dwRecvFlag; - m_sendFlag = dwSendFlag; - } - SRecentNode& operator=( const SRecentNode& sRecentNode ) - { - m_contactId = sRecentNode.m_contactId; - m_sendTime = sRecentNode.m_sendTime; - m_recvTime = sRecentNode.m_recvTime; - m_recvFlag = sRecentNode.m_recvFlag; - m_sendFlag = sRecentNode.m_sendFlag; - return *this; - } - - string m_contactId; - uint32_t m_sendTime; - uint32_t m_recvTime; - uint32_t m_recvFlag; - uint32_t m_sendFlag; - -public: - uint32_t Size() const; -}; - -inline uint32_t SRecentNode::Size() const -{ - uint32_t nSize = 26; - nSize += m_contactId.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SRecentNode& sRecentNode ); -CPackData& operator>> ( CPackData& cPackData, SRecentNode& sRecentNode ); - -class CImNtfRecent : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_RECENT - }; - CImNtfRecent() - { - } - - ~CImNtfRecent() { } - CImNtfRecent(const uint32_t& dwTimeStamp, const uint32_t& dwOpType, const VECTOR< SRecentNode >& vecRecentList) - { - m_timeStamp = dwTimeStamp; - m_opType = dwOpType; - m_recentList = vecRecentList; - } - CImNtfRecent& operator=( const CImNtfRecent& cImNtfRecent ) - { - m_timeStamp = cImNtfRecent.m_timeStamp; - m_opType = cImNtfRecent.m_opType; - m_recentList = cImNtfRecent.m_recentList; - return *this; - } - - const uint32_t& GetTimeStamp () const { return m_timeStamp; } - bool SetTimeStamp ( const uint32_t& dwTimeStamp ) - { - m_timeStamp = dwTimeStamp; - return true; - } - const uint32_t& GetOpType () const { return m_opType; } - bool SetOpType ( const uint32_t& dwOpType ) - { - m_opType = dwOpType; - return true; - } - const VECTOR< SRecentNode >& GetRecentList () const { return m_recentList; } - bool SetRecentList ( const VECTOR< SRecentNode >& vecRecentList ) - { - m_recentList = vecRecentList; - return true; - } -private: - uint32_t m_timeStamp; - uint32_t m_opType; - VECTOR< SRecentNode > m_recentList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfRecent::Size() const -{ - uint32_t nSize = 17; - for(uint32_t i = 0; i < m_recentList.size(); i++) - { - nSize += m_recentList[i].Size(); - } - return nSize; -} - -class CImReqAddcontactNew : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ADDCONTACT_NEW - }; - CImReqAddcontactNew() : m_supportFlag(0) - { - } - - ~CImReqAddcontactNew() { } - CImReqAddcontactNew(const SContactInfo& sContact, const uint8_t& chType, const string& strMessage, const uint32_t& dwSupportFlag= 0) - { - m_contact = sContact; - m_type = chType; - m_message = strMessage; - m_supportFlag = dwSupportFlag; - } - CImReqAddcontactNew& operator=( const CImReqAddcontactNew& cImReqAddcontactNew ) - { - m_contact = cImReqAddcontactNew.m_contact; - m_type = cImReqAddcontactNew.m_type; - m_message = cImReqAddcontactNew.m_message; - m_supportFlag = cImReqAddcontactNew.m_supportFlag; - return *this; - } - - const SContactInfo& GetContact () const { return m_contact; } - bool SetContact ( const SContactInfo& sContact ) - { - m_contact = sContact; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const uint32_t& GetSupportFlag () const { return m_supportFlag; } - bool SetSupportFlag ( const uint32_t& dwSupportFlag ) - { - m_supportFlag = dwSupportFlag; - return true; - } -private: - SContactInfo m_contact; - uint8_t m_type; - string m_message; - uint32_t m_supportFlag; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAddcontactNew::Size() const -{ - uint32_t nSize = 14; - nSize += m_contact.Size(); - nSize += m_message.length(); - return nSize; -} - -class CImRspAddcontactNew : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_ADDCONTACT_NEW - }; - CImRspAddcontactNew() : m_question(""), - m_answer("") - { - } - - ~CImRspAddcontactNew() { } - CImRspAddcontactNew(const uint32_t& dwRetcode, const uint8_t& chType, const SContactInfo& sContact, const uint32_t& dwTimestamp, const string& strCompanyname, const string& strQuestion= "", const string& strAnswer= "") - { - m_retcode = dwRetcode; - m_type = chType; - m_contact = sContact; - m_timestamp = dwTimestamp; - m_companyname = strCompanyname; - m_question = strQuestion; - m_answer = strAnswer; - } - CImRspAddcontactNew& operator=( const CImRspAddcontactNew& cImRspAddcontactNew ) - { - m_retcode = cImRspAddcontactNew.m_retcode; - m_type = cImRspAddcontactNew.m_type; - m_contact = cImRspAddcontactNew.m_contact; - m_timestamp = cImRspAddcontactNew.m_timestamp; - m_companyname = cImRspAddcontactNew.m_companyname; - m_question = cImRspAddcontactNew.m_question; - m_answer = cImRspAddcontactNew.m_answer; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const SContactInfo& GetContact () const { return m_contact; } - bool SetContact ( const SContactInfo& sContact ) - { - m_contact = sContact; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } - const string& GetCompanyname () const { return m_companyname; } - bool SetCompanyname ( const string& strCompanyname ) - { - m_companyname = strCompanyname; - return true; - } - const string& GetQuestion () const { return m_question; } - bool SetQuestion ( const string& strQuestion ) - { - m_question = strQuestion; - return true; - } - const string& GetAnswer () const { return m_answer; } - bool SetAnswer ( const string& strAnswer ) - { - m_answer = strAnswer; - return true; - } -private: - uint32_t m_retcode; - uint8_t m_type; - SContactInfo m_contact; - uint32_t m_timestamp; - string m_companyname; - string m_question; - string m_answer; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspAddcontactNew::Size() const -{ - uint32_t nSize = 29; - nSize += m_contact.Size(); - nSize += m_companyname.length(); - nSize += m_question.length(); - nSize += m_answer.length(); - return nSize; -} - -class CImReqAddcntackNew : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ADDCNTACK_NEW - }; - CImReqAddcntackNew() - { - } - - ~CImReqAddcntackNew() { } - CImReqAddcntackNew(const uint8_t& chOpcode, const string& strContactId, const int64_t& llGroupId, const string& strNickName, const string& strMessage) - { - m_opcode = chOpcode; - m_contactId = strContactId; - m_groupId = llGroupId; - m_nickName = strNickName; - m_message = strMessage; - } - CImReqAddcntackNew& operator=( const CImReqAddcntackNew& cImReqAddcntackNew ) - { - m_opcode = cImReqAddcntackNew.m_opcode; - m_contactId = cImReqAddcntackNew.m_contactId; - m_groupId = cImReqAddcntackNew.m_groupId; - m_nickName = cImReqAddcntackNew.m_nickName; - m_message = cImReqAddcntackNew.m_message; - return *this; - } - - const uint8_t& GetOpcode () const { return m_opcode; } - bool SetOpcode ( const uint8_t& chOpcode ) - { - m_opcode = chOpcode; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } - const string& GetNickName () const { return m_nickName; } - bool SetNickName ( const string& strNickName ) - { - m_nickName = strNickName; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - uint8_t m_opcode; - string m_contactId; - int64_t m_groupId; - string m_nickName; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAddcntackNew::Size() const -{ - uint32_t nSize = 27; - nSize += m_contactId.length(); - nSize += m_nickName.length(); - nSize += m_message.length(); - return nSize; -} - -class CImRspAddcntackNew : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_ADDCNTACK_NEW - }; - CImRspAddcntackNew() - { - } - - ~CImRspAddcntackNew() { } - CImRspAddcntackNew(const uint32_t& dwRetcode, const uint8_t& chOpcode, const int64_t& llGroupId, const uint32_t& dwTimestamp, const string& strContactId) - { - m_retcode = dwRetcode; - m_opcode = chOpcode; - m_groupId = llGroupId; - m_timestamp = dwTimestamp; - m_contactId = strContactId; - } - CImRspAddcntackNew& operator=( const CImRspAddcntackNew& cImRspAddcntackNew ) - { - m_retcode = cImRspAddcntackNew.m_retcode; - m_opcode = cImRspAddcntackNew.m_opcode; - m_groupId = cImRspAddcntackNew.m_groupId; - m_timestamp = cImRspAddcntackNew.m_timestamp; - m_contactId = cImRspAddcntackNew.m_contactId; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint8_t& GetOpcode () const { return m_opcode; } - bool SetOpcode ( const uint8_t& chOpcode ) - { - m_opcode = chOpcode; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } -private: - uint32_t m_retcode; - uint8_t m_opcode; - int64_t m_groupId; - uint32_t m_timestamp; - string m_contactId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspAddcntackNew::Size() const -{ - uint32_t nSize = 27; - nSize += m_contactId.length(); - return nSize; -} - -class CImReqSearchuser : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SEARCHUSER - }; - CImReqSearchuser() : m_reserve("") - { - } - - ~CImReqSearchuser() { } - CImReqSearchuser(const uint32_t& dwTimestamp, const uint8_t& chType, const string& strUid, const uint8_t& chSyncacc, const string& strReserve= "") - { - m_timestamp = dwTimestamp; - m_type = chType; - m_uid = strUid; - m_syncacc = chSyncacc; - m_reserve = strReserve; - } - CImReqSearchuser& operator=( const CImReqSearchuser& cImReqSearchuser ) - { - m_timestamp = cImReqSearchuser.m_timestamp; - m_type = cImReqSearchuser.m_type; - m_uid = cImReqSearchuser.m_uid; - m_syncacc = cImReqSearchuser.m_syncacc; - m_reserve = cImReqSearchuser.m_reserve; - return *this; - } - - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const uint8_t& GetSyncacc () const { return m_syncacc; } - bool SetSyncacc ( const uint8_t& chSyncacc ) - { - m_syncacc = chSyncacc; - return true; - } - const string& GetReserve () const { return m_reserve; } - bool SetReserve ( const string& strReserve ) - { - m_reserve = strReserve; - return true; - } -private: - uint32_t m_timestamp; - uint8_t m_type; - string m_uid; - uint8_t m_syncacc; - string m_reserve; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSearchuser::Size() const -{ - uint32_t nSize = 20; - nSize += m_uid.length(); - nSize += m_reserve.length(); - return nSize; -} - -struct SSearchUserinfo -{ -public: - SSearchUserinfo() - { - } - - ~SSearchUserinfo() { } - SSearchUserinfo(const string& strContactId, const string& strNickName, const uint8_t& chAge, const uint8_t& chGender, const string& strCity, const uint8_t& chBasicStatus) - { - m_contactId = strContactId; - m_nickName = strNickName; - m_age = chAge; - m_gender = chGender; - m_city = strCity; - m_basicStatus = chBasicStatus; - } - SSearchUserinfo& operator=( const SSearchUserinfo& sSearchUserinfo ) - { - m_contactId = sSearchUserinfo.m_contactId; - m_nickName = sSearchUserinfo.m_nickName; - m_age = sSearchUserinfo.m_age; - m_gender = sSearchUserinfo.m_gender; - m_city = sSearchUserinfo.m_city; - m_basicStatus = sSearchUserinfo.m_basicStatus; - return *this; - } - - string m_contactId; - string m_nickName; - uint8_t m_age; - uint8_t m_gender; - string m_city; - uint8_t m_basicStatus; - -public: - uint32_t Size() const; -}; - -inline uint32_t SSearchUserinfo::Size() const -{ - uint32_t nSize = 22; - nSize += m_contactId.length(); - nSize += m_nickName.length(); - nSize += m_city.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SSearchUserinfo& sSearchUserinfo ); -CPackData& operator>> ( CPackData& cPackData, SSearchUserinfo& sSearchUserinfo ); - -class CImRspSearchuser : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SEARCHUSER - }; - CImRspSearchuser() - { - } - - ~CImRspSearchuser() { } - CImRspSearchuser(const uint32_t& dwRetcode, const VECTOR< SSearchUserinfo >& vecUserList, const uint32_t& dwTimestamp) - { - m_retcode = dwRetcode; - m_userList = vecUserList; - m_timestamp = dwTimestamp; - } - CImRspSearchuser& operator=( const CImRspSearchuser& cImRspSearchuser ) - { - m_retcode = cImRspSearchuser.m_retcode; - m_userList = cImRspSearchuser.m_userList; - m_timestamp = cImRspSearchuser.m_timestamp; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const VECTOR< SSearchUserinfo >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< SSearchUserinfo >& vecUserList ) - { - m_userList = vecUserList; - return true; - } - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } -private: - uint32_t m_retcode; - VECTOR< SSearchUserinfo > m_userList; - uint32_t m_timestamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSearchuser::Size() const -{ - uint32_t nSize = 17; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].Size(); - } - return nSize; -} - -class CImReqSearchuserex : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SEARCHUSEREX - }; - CImReqSearchuserex() - { - } - - ~CImReqSearchuserex() { } - CImReqSearchuserex(const uint32_t& dwTimestamp, const string& strSite, const string& strCountry, const string& strProvince, const string& strCity, const uint8_t& chGender, const uint32_t& dwAge, const string& strJob) - { - m_timestamp = dwTimestamp; - m_site = strSite; - m_country = strCountry; - m_province = strProvince; - m_city = strCity; - m_gender = chGender; - m_age = dwAge; - m_job = strJob; - } - CImReqSearchuserex& operator=( const CImReqSearchuserex& cImReqSearchuserex ) - { - m_timestamp = cImReqSearchuserex.m_timestamp; - m_site = cImReqSearchuserex.m_site; - m_country = cImReqSearchuserex.m_country; - m_province = cImReqSearchuserex.m_province; - m_city = cImReqSearchuserex.m_city; - m_gender = cImReqSearchuserex.m_gender; - m_age = cImReqSearchuserex.m_age; - m_job = cImReqSearchuserex.m_job; - return *this; - } - - const uint32_t& GetTimestamp () const { return m_timestamp; } - bool SetTimestamp ( const uint32_t& dwTimestamp ) - { - m_timestamp = dwTimestamp; - return true; - } - const string& GetSite () const { return m_site; } - bool SetSite ( const string& strSite ) - { - if(strSite.size() > 64) - return false; - m_site = strSite; - return true; - } - const string& GetCountry () const { return m_country; } - bool SetCountry ( const string& strCountry ) - { - m_country = strCountry; - return true; - } - const string& GetProvince () const { return m_province; } - bool SetProvince ( const string& strProvince ) - { - m_province = strProvince; - return true; - } - const string& GetCity () const { return m_city; } - bool SetCity ( const string& strCity ) - { - m_city = strCity; - return true; - } - const uint8_t& GetGender () const { return m_gender; } - bool SetGender ( const uint8_t& chGender ) - { - m_gender = chGender; - return true; - } - const uint32_t& GetAge () const { return m_age; } - bool SetAge ( const uint32_t& dwAge ) - { - m_age = dwAge; - return true; - } - const string& GetJob () const { return m_job; } - bool SetJob ( const string& strJob ) - { - m_job = strJob; - return true; - } -private: - uint32_t m_timestamp; - string m_site; - string m_country; - string m_province; - string m_city; - uint8_t m_gender; - uint32_t m_age; - string m_job; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSearchuserex::Size() const -{ - uint32_t nSize = 38; - nSize += m_site.length(); - nSize += m_country.length(); - nSize += m_province.length(); - nSize += m_city.length(); - nSize += m_job.length(); - return nSize; -} - -struct SEChildId -{ -public: - SEChildId() - { - } - - ~SEChildId() { } - SEChildId(const string& strChildId, const string& strChildNick, const uint8_t& chBasicStatus, const uint8_t& chPredefStatus, const uint8_t& chOnServer, const uint16_t& wMaxService, const uint16_t& wCurService, const uint16_t& wReserved) - { - m_childId = strChildId; - m_childNick = strChildNick; - m_basicStatus = chBasicStatus; - m_predefStatus = chPredefStatus; - m_onServer = chOnServer; - m_maxService = wMaxService; - m_curService = wCurService; - m_reserved = wReserved; - } - SEChildId& operator=( const SEChildId& sEChildId ) - { - m_childId = sEChildId.m_childId; - m_childNick = sEChildId.m_childNick; - m_basicStatus = sEChildId.m_basicStatus; - m_predefStatus = sEChildId.m_predefStatus; - m_onServer = sEChildId.m_onServer; - m_maxService = sEChildId.m_maxService; - m_curService = sEChildId.m_curService; - m_reserved = sEChildId.m_reserved; - return *this; - } - - string m_childId; - string m_childNick; - uint8_t m_basicStatus; - uint8_t m_predefStatus; - uint8_t m_onServer; - uint16_t m_maxService; - uint16_t m_curService; - uint16_t m_reserved; - -public: - uint32_t Size() const; -}; - -inline uint32_t SEChildId::Size() const -{ - return 114; -} -CPackData& operator<< ( CPackData& cPackData, const SEChildId& sEChildId ); -CPackData& operator>> ( CPackData& cPackData, SEChildId& sEChildId ); - -class CImReqEhelpLogin : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_EHELP_LOGIN - }; - CImReqEhelpLogin() - { - } - - ~CImReqEhelpLogin() { } - CImReqEhelpLogin(const string& strUid, const string& strFid, const uint8_t& chReserved, const uint8_t& chStatus) - { - m_uid = strUid; - m_fid = strFid; - m_reserved = chReserved; - m_status = chStatus; - } - CImReqEhelpLogin& operator=( const CImReqEhelpLogin& cImReqEhelpLogin ) - { - m_uid = cImReqEhelpLogin.m_uid; - m_fid = cImReqEhelpLogin.m_fid; - m_reserved = cImReqEhelpLogin.m_reserved; - m_status = cImReqEhelpLogin.m_status; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetFid () const { return m_fid; } - bool SetFid ( const string& strFid ) - { - if(strFid.size() > 64) - return false; - m_fid = strFid; - return true; - } - const uint8_t& GetReserved () const { return m_reserved; } - bool SetReserved ( const uint8_t& chReserved ) - { - m_reserved = chReserved; - return true; - } - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } -private: - string m_uid; - string m_fid; - uint8_t m_reserved; - uint8_t m_status; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqEhelpLogin::Size() const -{ - return 135; -} -class CImRspEhelpLogin : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_EHELP_LOGIN - }; - CImRspEhelpLogin() - { - } - - ~CImRspEhelpLogin() { } - CImRspEhelpLogin(const uint8_t& chRetcode, const uint8_t& chMulStatus, const string& strParentUid) - { - m_retcode = chRetcode; - m_mulStatus = chMulStatus; - m_parentUid = strParentUid; - } - CImRspEhelpLogin& operator=( const CImRspEhelpLogin& cImRspEhelpLogin ) - { - m_retcode = cImRspEhelpLogin.m_retcode; - m_mulStatus = cImRspEhelpLogin.m_mulStatus; - m_parentUid = cImRspEhelpLogin.m_parentUid; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint8_t& GetMulStatus () const { return m_mulStatus; } - bool SetMulStatus ( const uint8_t& chMulStatus ) - { - m_mulStatus = chMulStatus; - return true; - } - const string& GetParentUid () const { return m_parentUid; } - bool SetParentUid ( const string& strParentUid ) - { - if(strParentUid.size() > 64) - return false; - m_parentUid = strParentUid; - return true; - } -private: - uint8_t m_retcode; - uint8_t m_mulStatus; - string m_parentUid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspEhelpLogin::Size() const -{ - return 70; -} -class CImReqEhelpGetBuddys : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_EHELP_GET_BUDDYS - }; - CImReqEhelpGetBuddys() - { - } - - ~CImReqEhelpGetBuddys() { } - CImReqEhelpGetBuddys(const string& strUid, const string& strFid) - { - m_uid = strUid; - m_fid = strFid; - } - CImReqEhelpGetBuddys& operator=( const CImReqEhelpGetBuddys& cImReqEhelpGetBuddys ) - { - m_uid = cImReqEhelpGetBuddys.m_uid; - m_fid = cImReqEhelpGetBuddys.m_fid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetFid () const { return m_fid; } - bool SetFid ( const string& strFid ) - { - if(strFid.size() > 64) - return false; - m_fid = strFid; - return true; - } -private: - string m_uid; - string m_fid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqEhelpGetBuddys::Size() const -{ - return 131; -} -class CImRspEhelpGetBuddys : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_EHELP_GET_BUDDYS - }; - CImRspEhelpGetBuddys() - { - } - - ~CImRspEhelpGetBuddys() { } - CImRspEhelpGetBuddys(const uint8_t& chRetcode, const VECTOR< SEChildId >& vecChildList) - { - m_retcode = chRetcode; - m_childList = vecChildList; - } - CImRspEhelpGetBuddys& operator=( const CImRspEhelpGetBuddys& cImRspEhelpGetBuddys ) - { - m_retcode = cImRspEhelpGetBuddys.m_retcode; - m_childList = cImRspEhelpGetBuddys.m_childList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const VECTOR< SEChildId >& GetChildList () const { return m_childList; } - bool SetChildList ( const VECTOR< SEChildId >& vecChildList ) - { - m_childList = vecChildList; - return true; - } -private: - uint8_t m_retcode; - VECTOR< SEChildId > m_childList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspEhelpGetBuddys::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_childList.size(); i++) - { - nSize += m_childList[i].Size(); - } - return nSize; -} - -class CImReqEhelpSendMsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_EHELP_SEND_MSG - }; - CImReqEhelpSendMsg() - { - } - - ~CImReqEhelpSendMsg() { } - CImReqEhelpSendMsg(const string& strUid, const string& strFid, const string& strTargetId, const uint8_t& chType, const string& strMessage, const uint16_t& wCmdType, const uint32_t& dwServNum) - { - m_uid = strUid; - m_fid = strFid; - m_targetId = strTargetId; - m_type = chType; - m_message = strMessage; - m_cmdType = wCmdType; - m_servNum = dwServNum; - } - CImReqEhelpSendMsg& operator=( const CImReqEhelpSendMsg& cImReqEhelpSendMsg ) - { - m_uid = cImReqEhelpSendMsg.m_uid; - m_fid = cImReqEhelpSendMsg.m_fid; - m_targetId = cImReqEhelpSendMsg.m_targetId; - m_type = cImReqEhelpSendMsg.m_type; - m_message = cImReqEhelpSendMsg.m_message; - m_cmdType = cImReqEhelpSendMsg.m_cmdType; - m_servNum = cImReqEhelpSendMsg.m_servNum; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetFid () const { return m_fid; } - bool SetFid ( const string& strFid ) - { - if(strFid.size() > 64) - return false; - m_fid = strFid; - return true; - } - const string& GetTargetId () const { return m_targetId; } - bool SetTargetId ( const string& strTargetId ) - { - if(strTargetId.size() > 64) - return false; - m_targetId = strTargetId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const uint16_t& GetCmdType () const { return m_cmdType; } - bool SetCmdType ( const uint16_t& wCmdType ) - { - m_cmdType = wCmdType; - return true; - } - const uint32_t& GetServNum () const { return m_servNum; } - bool SetServNum ( const uint32_t& dwServNum ) - { - m_servNum = dwServNum; - return true; - } -private: - string m_uid; - string m_fid; - string m_targetId; - uint8_t m_type; - string m_message; - uint16_t m_cmdType; - uint32_t m_servNum; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqEhelpSendMsg::Size() const -{ - uint32_t nSize = 211; - nSize += m_message.length(); - return nSize; -} - -class CImRspEhelpSendMsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_EHELP_SEND_MSG - }; - ~CImRspEhelpSendMsg() { } -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspEhelpSendMsg::Size() const -{ - return 1; -} -class CImReqEhelpSendCmd : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_EHELP_SEND_CMD - }; - CImReqEhelpSendCmd() - { - } - - ~CImReqEhelpSendCmd() { } - CImReqEhelpSendCmd(const string& strUid, const string& strFid, const string& strTargetId, const uint8_t& chType, const uint8_t& chCmdId, const string& strXmlCmd) - { - m_uid = strUid; - m_fid = strFid; - m_targetId = strTargetId; - m_type = chType; - m_cmdId = chCmdId; - m_xmlCmd = strXmlCmd; - } - CImReqEhelpSendCmd& operator=( const CImReqEhelpSendCmd& cImReqEhelpSendCmd ) - { - m_uid = cImReqEhelpSendCmd.m_uid; - m_fid = cImReqEhelpSendCmd.m_fid; - m_targetId = cImReqEhelpSendCmd.m_targetId; - m_type = cImReqEhelpSendCmd.m_type; - m_cmdId = cImReqEhelpSendCmd.m_cmdId; - m_xmlCmd = cImReqEhelpSendCmd.m_xmlCmd; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetFid () const { return m_fid; } - bool SetFid ( const string& strFid ) - { - if(strFid.size() > 64) - return false; - m_fid = strFid; - return true; - } - const string& GetTargetId () const { return m_targetId; } - bool SetTargetId ( const string& strTargetId ) - { - if(strTargetId.size() > 64) - return false; - m_targetId = strTargetId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const uint8_t& GetCmdId () const { return m_cmdId; } - bool SetCmdId ( const uint8_t& chCmdId ) - { - m_cmdId = chCmdId; - return true; - } - const string& GetXmlCmd () const { return m_xmlCmd; } - bool SetXmlCmd ( const string& strXmlCmd ) - { - m_xmlCmd = strXmlCmd; - return true; - } -private: - string m_uid; - string m_fid; - string m_targetId; - uint8_t m_type; - uint8_t m_cmdId; - string m_xmlCmd; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqEhelpSendCmd::Size() const -{ - uint32_t nSize = 205; - nSize += m_xmlCmd.length(); - return nSize; -} - -class CImRspEhelpSendCmd : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_EHELP_SEND_CMD - }; - CImRspEhelpSendCmd() - { - } - - ~CImRspEhelpSendCmd() { } - CImRspEhelpSendCmd(const uint8_t& chRetcode) - { - m_retcode = chRetcode; - } - CImRspEhelpSendCmd& operator=( const CImRspEhelpSendCmd& cImRspEhelpSendCmd ) - { - m_retcode = cImRspEhelpSendCmd.m_retcode; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } -private: - uint8_t m_retcode; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspEhelpSendCmd::Size() const -{ - return 3; -} -class CImReqEhelpChgSrvMode : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_EHELP_CHG_SRV_MODE - }; - CImReqEhelpChgSrvMode() - { - } - - ~CImReqEhelpChgSrvMode() { } - CImReqEhelpChgSrvMode(const string& strUid, const string& strFid, const uint8_t& chStatus) - { - m_uid = strUid; - m_fid = strFid; - m_status = chStatus; - } - CImReqEhelpChgSrvMode& operator=( const CImReqEhelpChgSrvMode& cImReqEhelpChgSrvMode ) - { - m_uid = cImReqEhelpChgSrvMode.m_uid; - m_fid = cImReqEhelpChgSrvMode.m_fid; - m_status = cImReqEhelpChgSrvMode.m_status; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetFid () const { return m_fid; } - bool SetFid ( const string& strFid ) - { - if(strFid.size() > 64) - return false; - m_fid = strFid; - return true; - } - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } -private: - string m_uid; - string m_fid; - uint8_t m_status; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqEhelpChgSrvMode::Size() const -{ - return 133; -} -class CImRspEhelpChgSrvMode : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_EHELP_CHG_SRV_MODE - }; - CImRspEhelpChgSrvMode() - { - } - - ~CImRspEhelpChgSrvMode() { } - CImRspEhelpChgSrvMode(const string& strUid, const string& strFid, const uint8_t& chRetcode) - { - m_uid = strUid; - m_fid = strFid; - m_retcode = chRetcode; - } - CImRspEhelpChgSrvMode& operator=( const CImRspEhelpChgSrvMode& cImRspEhelpChgSrvMode ) - { - m_uid = cImRspEhelpChgSrvMode.m_uid; - m_fid = cImRspEhelpChgSrvMode.m_fid; - m_retcode = cImRspEhelpChgSrvMode.m_retcode; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetFid () const { return m_fid; } - bool SetFid ( const string& strFid ) - { - if(strFid.size() > 64) - return false; - m_fid = strFid; - return true; - } - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } -private: - string m_uid; - string m_fid; - uint8_t m_retcode; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspEhelpChgSrvMode::Size() const -{ - return 133; -} -class CImReqEhelpForwardUser : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_EHELP_FORWARD_USER - }; - CImReqEhelpForwardUser() - { - } - - ~CImReqEhelpForwardUser() { } - CImReqEhelpForwardUser(const string& strUid, const string& strFid, const string& strContactId, const string& strToChildId, const uint8_t& chType) - { - m_uid = strUid; - m_fid = strFid; - m_contactId = strContactId; - m_toChildId = strToChildId; - m_type = chType; - } - CImReqEhelpForwardUser& operator=( const CImReqEhelpForwardUser& cImReqEhelpForwardUser ) - { - m_uid = cImReqEhelpForwardUser.m_uid; - m_fid = cImReqEhelpForwardUser.m_fid; - m_contactId = cImReqEhelpForwardUser.m_contactId; - m_toChildId = cImReqEhelpForwardUser.m_toChildId; - m_type = cImReqEhelpForwardUser.m_type; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetFid () const { return m_fid; } - bool SetFid ( const string& strFid ) - { - if(strFid.size() > 64) - return false; - m_fid = strFid; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const string& GetToChildId () const { return m_toChildId; } - bool SetToChildId ( const string& strToChildId ) - { - if(strToChildId.size() > 64) - return false; - m_toChildId = strToChildId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } -private: - string m_uid; - string m_fid; - string m_contactId; - string m_toChildId; - uint8_t m_type; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqEhelpForwardUser::Size() const -{ - return 263; -} -class CImRspEhelpForwardUser : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_EHELP_FORWARD_USER - }; - CImRspEhelpForwardUser() - { - } - - ~CImRspEhelpForwardUser() { } - CImRspEhelpForwardUser(const uint8_t& chRetcode) - { - m_retcode = chRetcode; - } - CImRspEhelpForwardUser& operator=( const CImRspEhelpForwardUser& cImRspEhelpForwardUser ) - { - m_retcode = cImRspEhelpForwardUser.m_retcode; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } -private: - uint8_t m_retcode; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspEhelpForwardUser::Size() const -{ - return 3; -} -class CImReqEhelpCloseSession : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_EHELP_CLOSE_SESSION - }; - CImReqEhelpCloseSession() - { - } - - ~CImReqEhelpCloseSession() { } - CImReqEhelpCloseSession(const string& strUid, const string& strFid, const string& strContactId, const uint8_t& chType, const uint8_t& chLocalNum, const uint32_t& dwLocalTime) - { - m_uid = strUid; - m_fid = strFid; - m_contactId = strContactId; - m_type = chType; - m_localNum = chLocalNum; - m_localTime = dwLocalTime; - } - CImReqEhelpCloseSession& operator=( const CImReqEhelpCloseSession& cImReqEhelpCloseSession ) - { - m_uid = cImReqEhelpCloseSession.m_uid; - m_fid = cImReqEhelpCloseSession.m_fid; - m_contactId = cImReqEhelpCloseSession.m_contactId; - m_type = cImReqEhelpCloseSession.m_type; - m_localNum = cImReqEhelpCloseSession.m_localNum; - m_localTime = cImReqEhelpCloseSession.m_localTime; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetFid () const { return m_fid; } - bool SetFid ( const string& strFid ) - { - if(strFid.size() > 64) - return false; - m_fid = strFid; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const uint8_t& GetLocalNum () const { return m_localNum; } - bool SetLocalNum ( const uint8_t& chLocalNum ) - { - m_localNum = chLocalNum; - return true; - } - const uint32_t& GetLocalTime () const { return m_localTime; } - bool SetLocalTime ( const uint32_t& dwLocalTime ) - { - m_localTime = dwLocalTime; - return true; - } -private: - string m_uid; - string m_fid; - string m_contactId; - uint8_t m_type; - uint8_t m_localNum; - uint32_t m_localTime; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqEhelpCloseSession::Size() const -{ - return 205; -} -class CImRspEhelpCloseSession : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_EHELP_CLOSE_SESSION - }; - CImRspEhelpCloseSession() - { - } - - ~CImRspEhelpCloseSession() { } - CImRspEhelpCloseSession(const uint8_t& chRetcode, const string& strMessage, const string& strUid, const string& strFid, const string& strContactId, const uint8_t& chServiceNum, const uint32_t& dwServiceTime) - { - m_retcode = chRetcode; - m_message = strMessage; - m_uid = strUid; - m_fid = strFid; - m_contactId = strContactId; - m_serviceNum = chServiceNum; - m_serviceTime = dwServiceTime; - } - CImRspEhelpCloseSession& operator=( const CImRspEhelpCloseSession& cImRspEhelpCloseSession ) - { - m_retcode = cImRspEhelpCloseSession.m_retcode; - m_message = cImRspEhelpCloseSession.m_message; - m_uid = cImRspEhelpCloseSession.m_uid; - m_fid = cImRspEhelpCloseSession.m_fid; - m_contactId = cImRspEhelpCloseSession.m_contactId; - m_serviceNum = cImRspEhelpCloseSession.m_serviceNum; - m_serviceTime = cImRspEhelpCloseSession.m_serviceTime; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetFid () const { return m_fid; } - bool SetFid ( const string& strFid ) - { - if(strFid.size() > 64) - return false; - m_fid = strFid; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const uint8_t& GetServiceNum () const { return m_serviceNum; } - bool SetServiceNum ( const uint8_t& chServiceNum ) - { - m_serviceNum = chServiceNum; - return true; - } - const uint32_t& GetServiceTime () const { return m_serviceTime; } - bool SetServiceTime ( const uint32_t& dwServiceTime ) - { - m_serviceTime = dwServiceTime; - return true; - } -private: - uint8_t m_retcode; - string m_message; - string m_uid; - string m_fid; - string m_contactId; - uint8_t m_serviceNum; - uint32_t m_serviceTime; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspEhelpCloseSession::Size() const -{ - uint32_t nSize = 210; - nSize += m_message.length(); - return nSize; -} - -class CImReqEhelpGetForward : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_EHELP_GET_FORWARD - }; - CImReqEhelpGetForward() - { - } - - ~CImReqEhelpGetForward() { } - CImReqEhelpGetForward(const string& strUid, const string& strFid) - { - m_uid = strUid; - m_fid = strFid; - } - CImReqEhelpGetForward& operator=( const CImReqEhelpGetForward& cImReqEhelpGetForward ) - { - m_uid = cImReqEhelpGetForward.m_uid; - m_fid = cImReqEhelpGetForward.m_fid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetFid () const { return m_fid; } - bool SetFid ( const string& strFid ) - { - if(strFid.size() > 64) - return false; - m_fid = strFid; - return true; - } -private: - string m_uid; - string m_fid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqEhelpGetForward::Size() const -{ - return 131; -} -class CImRspEhelpGetForward : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_EHELP_GET_FORWARD - }; - CImRspEhelpGetForward() - { - } - - ~CImRspEhelpGetForward() { } - CImRspEhelpGetForward(const uint8_t& chRetcode, const VECTOR< SEChildId >& vecChildList) - { - m_retcode = chRetcode; - m_childList = vecChildList; - } - CImRspEhelpGetForward& operator=( const CImRspEhelpGetForward& cImRspEhelpGetForward ) - { - m_retcode = cImRspEhelpGetForward.m_retcode; - m_childList = cImRspEhelpGetForward.m_childList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const VECTOR< SEChildId >& GetChildList () const { return m_childList; } - bool SetChildList ( const VECTOR< SEChildId >& vecChildList ) - { - m_childList = vecChildList; - return true; - } -private: - uint8_t m_retcode; - VECTOR< SEChildId > m_childList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspEhelpGetForward::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_childList.size(); i++) - { - nSize += m_childList[i].Size(); - } - return nSize; -} - -class CImRspEhelpNotifyMsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_EHELP_NOTIFY_MSG - }; - CImRspEhelpNotifyMsg() : m_serverType(0), - m_cmdType(0) - { - } - - ~CImRspEhelpNotifyMsg() { } - CImRspEhelpNotifyMsg(const string& strFId, const string& strSendId, const uint32_t& dwSendTime, const string& strMessage, const uint8_t& chServerType= 0, const uint16_t& wCmdType= 0) - { - m_fId = strFId; - m_sendId = strSendId; - m_sendTime = dwSendTime; - m_message = strMessage; - m_serverType = chServerType; - m_cmdType = wCmdType; - } - CImRspEhelpNotifyMsg& operator=( const CImRspEhelpNotifyMsg& cImRspEhelpNotifyMsg ) - { - m_fId = cImRspEhelpNotifyMsg.m_fId; - m_sendId = cImRspEhelpNotifyMsg.m_sendId; - m_sendTime = cImRspEhelpNotifyMsg.m_sendTime; - m_message = cImRspEhelpNotifyMsg.m_message; - m_serverType = cImRspEhelpNotifyMsg.m_serverType; - m_cmdType = cImRspEhelpNotifyMsg.m_cmdType; - return *this; - } - - const string& GetFId () const { return m_fId; } - bool SetFId ( const string& strFId ) - { - if(strFId.size() > 64) - return false; - m_fId = strFId; - return true; - } - const string& GetSendId () const { return m_sendId; } - bool SetSendId ( const string& strSendId ) - { - if(strSendId.size() > 64) - return false; - m_sendId = strSendId; - return true; - } - const uint32_t& GetSendTime () const { return m_sendTime; } - bool SetSendTime ( const uint32_t& dwSendTime ) - { - m_sendTime = dwSendTime; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const uint8_t& GetServerType () const { return m_serverType; } - bool SetServerType ( const uint8_t& chServerType ) - { - m_serverType = chServerType; - return true; - } - const uint16_t& GetCmdType () const { return m_cmdType; } - bool SetCmdType ( const uint16_t& wCmdType ) - { - m_cmdType = wCmdType; - return true; - } -private: - string m_fId; - string m_sendId; - uint32_t m_sendTime; - string m_message; - uint8_t m_serverType; - uint16_t m_cmdType; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspEhelpNotifyMsg::Size() const -{ - uint32_t nSize = 26; - nSize += m_fId.length(); - nSize += m_sendId.length(); - nSize += m_message.length(); - return nSize; -} - -class CImNtfSystemmapmessage : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_SYSTEMMAPMESSAGE - }; - CImNtfSystemmapmessage() - { - } - - ~CImNtfSystemmapmessage() { } - CImNtfSystemmapmessage(const uint32_t& dwSysId, const map< string,string >& mapMessage, const string& strExtmessage) - { - m_sysId = dwSysId; - m_message = mapMessage; - m_extmessage = strExtmessage; - } - CImNtfSystemmapmessage& operator=( const CImNtfSystemmapmessage& cImNtfSystemmapmessage ) - { - m_sysId = cImNtfSystemmapmessage.m_sysId; - m_message = cImNtfSystemmapmessage.m_message; - m_extmessage = cImNtfSystemmapmessage.m_extmessage; - return *this; - } - - const uint32_t& GetSysId () const { return m_sysId; } - bool SetSysId ( const uint32_t& dwSysId ) - { - m_sysId = dwSysId; - return true; - } - const map< string,string >& GetMessage () const { return m_message; } - bool SetMessage ( const map< string,string >& mapMessage ) - { - m_message = mapMessage; - return true; - } - const string& GetExtmessage () const { return m_extmessage; } - bool SetExtmessage ( const string& strExtmessage ) - { - m_extmessage = strExtmessage; - return true; - } -private: - uint32_t m_sysId; - map< string,string > m_message; - string m_extmessage; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfSystemmapmessage::Size() const -{ - uint32_t nSize = 15; - nSize += m_message.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_message.begin(); itr != m_message.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - nSize += m_extmessage.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/imsession.h b/features/aliww/include/imsession.h deleted file mode 100644 index 7d90a7a..0000000 --- a/features/aliww/include/imsession.h +++ /dev/null @@ -1,326 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `imsession.ice' - -#ifndef __imsession_h__ -#define __imsession_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class SessionMgr; -bool operator==(const SessionMgr&, const SessionMgr&); -bool operator!=(const SessionMgr&, const SessionMgr&); -bool operator<(const SessionMgr&, const SessionMgr&); -bool operator<=(const SessionMgr&, const SessionMgr&); -bool operator>(const SessionMgr&, const SessionMgr&); -bool operator>=(const SessionMgr&, const SessionMgr&); - -} - -} - -namespace AliIM -{ - -class SessionMgr; -bool operator==(const SessionMgr&, const SessionMgr&); -bool operator!=(const SessionMgr&, const SessionMgr&); -bool operator<(const SessionMgr&, const SessionMgr&); -bool operator<=(const SessionMgr&, const SessionMgr&); -bool operator>(const SessionMgr&, const SessionMgr&); -bool operator>=(const SessionMgr&, const SessionMgr&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::SessionMgr*); -void decRef(::AliIM::SessionMgr*); - -void incRef(::IceProxy::AliIM::SessionMgr*); -void decRef(::IceProxy::AliIM::SessionMgr*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::SessionMgr> SessionMgrPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::SessionMgr> SessionMgrPrx; - -void __write(::IceInternal::BasicStream*, const SessionMgrPrx&); -void __read(::IceInternal::BasicStream*, SessionMgrPrx&); -void __write(::IceInternal::BasicStream*, const SessionMgrPtr&); -void __patch__SessionMgrPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const SessionMgrPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const SessionMgrPtr&); -void __decRefUnsafe(const SessionMgrPtr&); -void __clearHandleUnsafe(SessionMgrPtr&); - -} - -namespace AliIM -{ - -struct SIceSession -{ - ::std::string uid; - ::std::string sessionNo; - ::Ice::Int expiretime; - - bool operator==(const SIceSession&) const; - bool operator!=(const SIceSession&) const; - bool operator<(const SIceSession&) const; - bool operator<=(const SIceSession& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SIceSession& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SIceSession& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class SessionMgr : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int getUserSession(const ::std::string& uid, ::AliIM::SIceSession& retsession) - { - return getUserSession(uid, retsession, 0); - } - ::Ice::Int getUserSession(const ::std::string& uid, ::AliIM::SIceSession& retsession, const ::Ice::Context& __ctx) - { - return getUserSession(uid, retsession, &__ctx); - } - -private: - - ::Ice::Int getUserSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*); - -public: - - ::Ice::Int checkUserSession(const ::std::string& uid, const ::std::string& sessionNo) - { - return checkUserSession(uid, sessionNo, 0); - } - ::Ice::Int checkUserSession(const ::std::string& uid, const ::std::string& sessionNo, const ::Ice::Context& __ctx) - { - return checkUserSession(uid, sessionNo, &__ctx); - } - -private: - - ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int removeSession(const ::std::string& uid) - { - return removeSession(uid, 0); - } - ::Ice::Int removeSession(const ::std::string& uid, const ::Ice::Context& __ctx) - { - return removeSession(uid, &__ctx); - } - -private: - - ::Ice::Int removeSession(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserExistSession(const ::std::string& uid, ::AliIM::SIceSession& retsession) - { - return getUserExistSession(uid, retsession, 0); - } - ::Ice::Int getUserExistSession(const ::std::string& uid, ::AliIM::SIceSession& retsession, const ::Ice::Context& __ctx) - { - return getUserExistSession(uid, retsession, &__ctx); - } - -private: - - ::Ice::Int getUserExistSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class SessionMgr : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int getUserSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int removeSession(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserExistSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class SessionMgr : virtual public ::IceDelegate::AliIM::SessionMgr, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int getUserSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*); - - virtual ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int removeSession(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getUserExistSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class SessionMgr : virtual public ::IceDelegate::AliIM::SessionMgr, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int getUserSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*); - - virtual ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int removeSession(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getUserExistSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class SessionMgr : virtual public ::Ice::Object -{ -public: - - typedef SessionMgrPrx ProxyType; - typedef SessionMgrPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int getUserSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkUserSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int removeSession(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___removeSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserExistSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserExistSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__SessionMgrPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/imss_cmd.h b/features/aliww/include/imss_cmd.h deleted file mode 100644 index 55002d2..0000000 --- a/features/aliww/include/imss_cmd.h +++ /dev/null @@ -1,107 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: imss_cmd.h -// Date: 2011-01-30 12:49:18 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __IMSS_CMD_H__ -#define __IMSS_CMD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -enum IMSS_REQUEST -{ - SS_HELTH_CHECK = 0x1, - SS_REQ_GETALLUSERSTS = 0x2, - SS_REQ_GETUSERSTATUS = 0x1000001, - IM_SS_SENDIMMSG = 0x1000002, - IM_SS_REQ_PEERINFO = 0x1000003, - IM_SS_REQ_FTSADDR = 0x1000005, - IM_SS_REQ_SUBCRIBE_MSG = 0x1000006, - IM_REQ_SYSTEMMESSAGE = 0x1000007, - SS_REQ_GETALLEHMSGRPSTS = 0x1000008, - IM_SS_SEND_HMSMSG = 0x1000011, - CASS_REQ_GOODSSEARCH = 0x12100001, - CASS_REQ_GOODSSEARCHEX = 0x12100002, - CASS_REQ_WW_MAINSEARCH = 0x12100003, - IM_REQ_SYSTEMMAPMESSAGE = 0x1120012, - CASS_REQ_ESEXPANDTAB = 0x12100101, - CASS_REQ_SEND_ESEVAL = 0x12100102, - CASS_REQ_GETCNTLIST = 0x12100103, - CASS_REQ_WWCARD_INFO = 0x12100201, - CASS_REQ_WWCARD_LEVEL = 0x12100202, - CASS_REQ_WWCARD_SNS = 0x12100203, - CASS_REQ_WWCARD_EVALUATE = 0x12100204, - CASS_REQ_WWCARD_FAVORITE = 0x12100205, - CASS_REQ_TRADE_LIST = 0x12100301, - CASS_REQ_TRADE_INFO = 0x12100302, - CASS_REQ_AUTH_SHELLCMD = 0x12100401, - CASS_REQ_CHECK_LOGINIP = 0x12000501, - CASS_REQ_GET_USERCRINFO = 0x12100701, - CASS_REQ_SET_USERCRINFO = 0x12100702, - -}; - -enum IMSS_RESPONSE -{ - SS_RSP_GETALLUSERSTS = 0x10002, - SS_RSP_GETUSERSTATUS = 0x1010001, - IM_SS_RSP_PEERINFO = 0x1010003, - SS_RSP_REPORTUSERPOS = 0x1010004, - IM_SS_RSP_FTSADDR = 0x1010005, - IM_SS_RSP_SUBCRIBE_MSG = 0x1010006, - IM_RSP_SYSTEMMESSAGE = 0x1010007, - SS_RSP_GETALLEHMSGRPSTS = 0x1010008, - CASS_RSP_GOODSSEARCH = 0x12110001, - CASS_RSP_GOODSSEARCHEX = 0x12110002, - CASS_RSP_WW_MAINSEARCH = 0x12110003, - IM_RSP_SYSTEMMAPMESSAGE = 0x1110012, - CASS_RSP_ESEXPANDTAB = 0x12110101, - CASS_RSP_SEND_ESEVAL = 0x12110102, - CASS_RSP_GETCNTLIST = 0x12110103, - CASS_RSP_WWCARD_INFO = 0x12110201, - CASS_RSP_WWCARD_LEVEL = 0x12110202, - CASS_RSP_WWCARD_SNS = 0x12110203, - CASS_RSP_WWCARD_EVALUATE = 0x12110204, - CASS_RSP_WWCARD_FAVORITE = 0x12110205, - CASS_RSP_TRADE_LIST = 0x12110301, - CASS_RSP_TRADE_INFO = 0x12110302, - CASS_RSP_AUTH_SHELLCMD = 0x12110401, - CASS_RSP_CHECK_LOGINIP = 0x12110501, - CASS_RSP_GET_USERCRINFO = 0x12110701, - CASS_RSP_SET_USERCRINFO = 0x12110702, - -}; - -enum IMSS_NOTIFY -{ - IM_SS_FORCEDISCONNECT = 0x1020001, - IM_SS_NTFUSRSTATUS = 0x1020002, - IM_SS_NTFUSERPOS_ERROR = 0x1020003, - IM_SS_NTFUSREXTINFOUP = 0x1020004, - EXT_SS_NTFUSERINFOUP = 0x1020005, - IM_RSP_SIGNATURE = 0x1020006, - IM_SS_NTFADDACCEPT = 0x1020007, - IM_SS_NTFFORBIDIP = 0x1020008, - IM_SS_NTF_OPERATIONTIP = 0x112002b, - IM_SS_NTF_WATCH_INFO = 0x102005e, - SS_NTF_REFRESH_CONTACT = 0x1120030, - SS_NTF_FEEDS = 0x1120031, - SS_NTF_USER_SNSINFO = 0x1120032, - SS_NTF_ADD_RCNT = 0x1120033, - SS_NTF_EHMS_GROUPSTS = 0x1120040, - SS_NTF_EHMS_LOGIN = 0x1120041, - SS_NTF_VERSION_MESSAGE = 0x11200ff, - IM_SS_NTF_WEBSYSMESSAGE = 0x1020101, - IM_SS_NTF_WEBUSERMESSAGE = 0x1020102, - SS_NTF_UNBIND_DISCONNECT = 0x1120105, - -}; - -#endif diff --git a/features/aliww/include/imss_pack.h b/features/aliww/include/imss_pack.h deleted file mode 100644 index 323d6d6..0000000 --- a/features/aliww/include/imss_pack.h +++ /dev/null @@ -1,2318 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: imss_pack.h -// Date: 2011-01-30 12:49:14 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __IMSS_PACK_H__ -#define __IMSS_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "ss_head.h" -#include "const_macro.h" -#include "imss_cmd.h" - -using namespace std; - -struct SImMsg -{ -public: - SImMsg() : m_len(8), - m_flag(0), - m_seqid(0) - { - } - - ~SImMsg() { } - SImMsg(const uint8_t& chLen, const uint8_t& chFlag, const uint16_t& wCmdid, const uint32_t& dwSeqid, const string& strMessage) - { - m_len = chLen; - m_flag = chFlag; - m_cmdid = wCmdid; - m_seqid = dwSeqid; - m_message = strMessage; - } - SImMsg& operator=( const SImMsg& sImMsg ) - { - m_len = sImMsg.m_len; - m_flag = sImMsg.m_flag; - m_cmdid = sImMsg.m_cmdid; - m_seqid = sImMsg.m_seqid; - m_message = sImMsg.m_message; - return *this; - } - - uint8_t m_len; - uint8_t m_flag; - uint16_t m_cmdid; - uint32_t m_seqid; - string m_message; - -public: - uint32_t Size() const; -}; - -inline uint32_t SImMsg::Size() const -{ - uint32_t nSize = 8; - nSize += m_message.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SImMsg& sImMsg ); -CPackData& operator>> ( CPackData& cPackData, SImMsg& sImMsg ); - -struct SIpBlackSs -{ -public: - SIpBlackSs() - { - } - - ~SIpBlackSs() { } - SIpBlackSs(const uint32_t& dwIp, const uint32_t& dwStarttime, const uint32_t& dwLasttime, const uint32_t& dwNetmask) - { - m_ip = dwIp; - m_starttime = dwStarttime; - m_lasttime = dwLasttime; - m_netmask = dwNetmask; - } - SIpBlackSs& operator=( const SIpBlackSs& sIpBlackSs ) - { - m_ip = sIpBlackSs.m_ip; - m_starttime = sIpBlackSs.m_starttime; - m_lasttime = sIpBlackSs.m_lasttime; - m_netmask = sIpBlackSs.m_netmask; - return *this; - } - - uint32_t m_ip; - uint32_t m_starttime; - uint32_t m_lasttime; - uint32_t m_netmask; - -public: - uint32_t Size() const; -}; - -inline uint32_t SIpBlackSs::Size() const -{ - return 21; -} -CPackData& operator<< ( CPackData& cPackData, const SIpBlackSs& sIpBlackSs ); -CPackData& operator>> ( CPackData& cPackData, SIpBlackSs& sIpBlackSs ); - -struct SEhmsGroupStatus -{ -public: - SEhmsGroupStatus() : m_groupId(0), - m_status(0), - m_predefsts(0) - { - } - - ~SEhmsGroupStatus() { } - SEhmsGroupStatus(const string& strUserId, const string& strGroupName, const uint32_t& dwGroupId= 0, const uint8_t& chStatus= 0, const uint8_t& chPredefsts= 0) - { - m_userId = strUserId; - m_groupName = strGroupName; - m_groupId = dwGroupId; - m_status = chStatus; - m_predefsts = chPredefsts; - } - SEhmsGroupStatus& operator=( const SEhmsGroupStatus& sEhmsGroupStatus ) - { - m_userId = sEhmsGroupStatus.m_userId; - m_groupName = sEhmsGroupStatus.m_groupName; - m_groupId = sEhmsGroupStatus.m_groupId; - m_status = sEhmsGroupStatus.m_status; - m_predefsts = sEhmsGroupStatus.m_predefsts; - return *this; - } - - string m_userId; - string m_groupName; - uint32_t m_groupId; - uint8_t m_status; - uint8_t m_predefsts; - -public: - uint32_t Size() const; -}; - -inline uint32_t SEhmsGroupStatus::Size() const -{ - uint32_t nSize = 20; - nSize += m_userId.length(); - nSize += m_groupName.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SEhmsGroupStatus& sEhmsGroupStatus ); -CPackData& operator>> ( CPackData& cPackData, SEhmsGroupStatus& sEhmsGroupStatus ); - -class CImSsSendimmsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_SENDIMMSG - }; - CImSsSendimmsg() : m_esshiftflag(0), - m_relationship(0), - m_uniqtime(0) - { - } - - ~CImSsSendimmsg() { } - CImSsSendimmsg(const string& strSenduid, const string& strTouid, const uint8_t& chType, const string& strMessage, const uint8_t& chEsshiftflag= 0, const uint8_t& chRelationship= 0, const uint32_t& dwUniqtime= 0) - { - m_senduid = strSenduid; - m_touid = strTouid; - m_type = chType; - m_message = strMessage; - m_esshiftflag = chEsshiftflag; - m_relationship = chRelationship; - m_uniqtime = dwUniqtime; - } - CImSsSendimmsg& operator=( const CImSsSendimmsg& cImSsSendimmsg ) - { - m_senduid = cImSsSendimmsg.m_senduid; - m_touid = cImSsSendimmsg.m_touid; - m_type = cImSsSendimmsg.m_type; - m_message = cImSsSendimmsg.m_message; - m_esshiftflag = cImSsSendimmsg.m_esshiftflag; - m_relationship = cImSsSendimmsg.m_relationship; - m_uniqtime = cImSsSendimmsg.m_uniqtime; - return *this; - } - - const string& GetSenduid () const { return m_senduid; } - bool SetSenduid ( const string& strSenduid ) - { - m_senduid = strSenduid; - return true; - } - const string& GetTouid () const { return m_touid; } - bool SetTouid ( const string& strTouid ) - { - m_touid = strTouid; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const uint8_t& GetEsshiftflag () const { return m_esshiftflag; } - bool SetEsshiftflag ( const uint8_t& chEsshiftflag ) - { - m_esshiftflag = chEsshiftflag; - return true; - } - const uint8_t& GetRelationship () const { return m_relationship; } - bool SetRelationship ( const uint8_t& chRelationship ) - { - m_relationship = chRelationship; - return true; - } - const uint32_t& GetUniqtime () const { return m_uniqtime; } - bool SetUniqtime ( const uint32_t& dwUniqtime ) - { - m_uniqtime = dwUniqtime; - return true; - } -private: - string m_senduid; - string m_touid; - uint8_t m_type; - string m_message; - uint8_t m_esshiftflag; - uint8_t m_relationship; - uint32_t m_uniqtime; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsSendimmsg::Size() const -{ - uint32_t nSize = 27; - nSize += m_senduid.length(); - nSize += m_touid.length(); - nSize += m_message.length(); - return nSize; -} - -class CImSsForcedisconnect : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_FORCEDISCONNECT - }; - CImSsForcedisconnect() - { - } - - ~CImSsForcedisconnect() { } - CImSsForcedisconnect(const string& strUid, const uint8_t& chType) - { - m_uid = strUid; - m_type = chType; - } - CImSsForcedisconnect& operator=( const CImSsForcedisconnect& cImSsForcedisconnect ) - { - m_uid = cImSsForcedisconnect.m_uid; - m_type = cImSsForcedisconnect.m_type; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } -private: - string m_uid; - uint8_t m_type; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsForcedisconnect::Size() const -{ - uint32_t nSize = 8; - nSize += m_uid.length(); - return nSize; -} - -class CImSsNtfusrstatus : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_NTFUSRSTATUS - }; - CImSsNtfusrstatus() - { - } - - ~CImSsNtfusrstatus() { } - CImSsNtfusrstatus(const string& strUid, const uint8_t& chBasicstatus, const uint8_t& chPredefstatus, const uint32_t& dwClinetip, const string& strVersion) - { - m_uid = strUid; - m_basicstatus = chBasicstatus; - m_predefstatus = chPredefstatus; - m_clinetip = dwClinetip; - m_version = strVersion; - } - CImSsNtfusrstatus& operator=( const CImSsNtfusrstatus& cImSsNtfusrstatus ) - { - m_uid = cImSsNtfusrstatus.m_uid; - m_basicstatus = cImSsNtfusrstatus.m_basicstatus; - m_predefstatus = cImSsNtfusrstatus.m_predefstatus; - m_clinetip = cImSsNtfusrstatus.m_clinetip; - m_version = cImSsNtfusrstatus.m_version; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - const uint8_t& GetBasicstatus () const { return m_basicstatus; } - bool SetBasicstatus ( const uint8_t& chBasicstatus ) - { - m_basicstatus = chBasicstatus; - return true; - } - const uint8_t& GetPredefstatus () const { return m_predefstatus; } - bool SetPredefstatus ( const uint8_t& chPredefstatus ) - { - m_predefstatus = chPredefstatus; - return true; - } - const uint32_t& GetClinetip () const { return m_clinetip; } - bool SetClinetip ( const uint32_t& dwClinetip ) - { - m_clinetip = dwClinetip; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - m_version = strVersion; - return true; - } -private: - string m_uid; - uint8_t m_basicstatus; - uint8_t m_predefstatus; - uint32_t m_clinetip; - string m_version; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsNtfusrstatus::Size() const -{ - uint32_t nSize = 20; - nSize += m_uid.length(); - nSize += m_version.length(); - return nSize; -} - -class CImSsReqPeerinfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_REQ_PEERINFO - }; - CImSsReqPeerinfo() - { - } - - ~CImSsReqPeerinfo() { } - CImSsReqPeerinfo(const string& strTargetUid) - { - m_targetUid = strTargetUid; - } - CImSsReqPeerinfo& operator=( const CImSsReqPeerinfo& cImSsReqPeerinfo ) - { - m_targetUid = cImSsReqPeerinfo.m_targetUid; - return *this; - } - - const string& GetTargetUid () const { return m_targetUid; } - bool SetTargetUid ( const string& strTargetUid ) - { - m_targetUid = strTargetUid; - return true; - } -private: - string m_targetUid; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsReqPeerinfo::Size() const -{ - uint32_t nSize = 6; - nSize += m_targetUid.length(); - return nSize; -} - -class CImSsRspPeerinfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_RSP_PEERINFO - }; - CImSsRspPeerinfo() - { - } - - ~CImSsRspPeerinfo() { } - CImSsRspPeerinfo(const uint8_t& chRetcode, const string& strTargetId, const uint32_t& dwClinetip, const string& strVersion, const uint8_t& chBasicStatus, const uint8_t& chPredefStatus, const uint8_t& chAddcontactFlag, const uint8_t& chSendmsgFlag, const uint8_t& chReverseContact) - { - m_retcode = chRetcode; - m_targetId = strTargetId; - m_clinetip = dwClinetip; - m_version = strVersion; - m_basicStatus = chBasicStatus; - m_predefStatus = chPredefStatus; - m_addcontactFlag = chAddcontactFlag; - m_sendmsgFlag = chSendmsgFlag; - m_reverseContact = chReverseContact; - } - CImSsRspPeerinfo& operator=( const CImSsRspPeerinfo& cImSsRspPeerinfo ) - { - m_retcode = cImSsRspPeerinfo.m_retcode; - m_targetId = cImSsRspPeerinfo.m_targetId; - m_clinetip = cImSsRspPeerinfo.m_clinetip; - m_version = cImSsRspPeerinfo.m_version; - m_basicStatus = cImSsRspPeerinfo.m_basicStatus; - m_predefStatus = cImSsRspPeerinfo.m_predefStatus; - m_addcontactFlag = cImSsRspPeerinfo.m_addcontactFlag; - m_sendmsgFlag = cImSsRspPeerinfo.m_sendmsgFlag; - m_reverseContact = cImSsRspPeerinfo.m_reverseContact; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTargetId () const { return m_targetId; } - bool SetTargetId ( const string& strTargetId ) - { - if(strTargetId.size() > 64) - return false; - m_targetId = strTargetId; - return true; - } - const uint32_t& GetClinetip () const { return m_clinetip; } - bool SetClinetip ( const uint32_t& dwClinetip ) - { - m_clinetip = dwClinetip; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - if(strVersion.size() > 128) - return false; - m_version = strVersion; - return true; - } - const uint8_t& GetBasicStatus () const { return m_basicStatus; } - bool SetBasicStatus ( const uint8_t& chBasicStatus ) - { - m_basicStatus = chBasicStatus; - return true; - } - const uint8_t& GetPredefStatus () const { return m_predefStatus; } - bool SetPredefStatus ( const uint8_t& chPredefStatus ) - { - m_predefStatus = chPredefStatus; - return true; - } - const uint8_t& GetAddcontactFlag () const { return m_addcontactFlag; } - bool SetAddcontactFlag ( const uint8_t& chAddcontactFlag ) - { - m_addcontactFlag = chAddcontactFlag; - return true; - } - const uint8_t& GetSendmsgFlag () const { return m_sendmsgFlag; } - bool SetSendmsgFlag ( const uint8_t& chSendmsgFlag ) - { - m_sendmsgFlag = chSendmsgFlag; - return true; - } - const uint8_t& GetReverseContact () const { return m_reverseContact; } - bool SetReverseContact ( const uint8_t& chReverseContact ) - { - m_reverseContact = chReverseContact; - return true; - } -private: - uint8_t m_retcode; - string m_targetId; - uint32_t m_clinetip; - string m_version; - uint8_t m_basicStatus; - uint8_t m_predefStatus; - uint8_t m_addcontactFlag; - uint8_t m_sendmsgFlag; - uint8_t m_reverseContact; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsRspPeerinfo::Size() const -{ - uint32_t nSize = 28; - nSize += m_targetId.length(); - nSize += m_version.length(); - return nSize; -} - -class CImSsNtfusrextinfoup : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_NTFUSREXTINFOUP - }; - CImSsNtfusrextinfoup() - { - } - - ~CImSsNtfusrextinfoup() { } - CImSsNtfusrextinfoup(const string& strExtType, const string& strExtInfo) - { - m_extType = strExtType; - m_extInfo = strExtInfo; - } - CImSsNtfusrextinfoup& operator=( const CImSsNtfusrextinfoup& cImSsNtfusrextinfoup ) - { - m_extType = cImSsNtfusrextinfoup.m_extType; - m_extInfo = cImSsNtfusrextinfoup.m_extInfo; - return *this; - } - - const string& GetExtType () const { return m_extType; } - bool SetExtType ( const string& strExtType ) - { - m_extType = strExtType; - return true; - } - const string& GetExtInfo () const { return m_extInfo; } - bool SetExtInfo ( const string& strExtInfo ) - { - m_extInfo = strExtInfo; - return true; - } -private: - string m_extType; - string m_extInfo; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsNtfusrextinfoup::Size() const -{ - uint32_t nSize = 11; - nSize += m_extType.length(); - nSize += m_extInfo.length(); - return nSize; -} - -class CImSsReqFtsaddr : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_REQ_FTSADDR - }; - CImSsReqFtsaddr() - { - } - - ~CImSsReqFtsaddr() { } - CImSsReqFtsaddr(const string& strSessionId, const uint16_t& wType) - { - m_sessionId = strSessionId; - m_type = wType; - } - CImSsReqFtsaddr& operator=( const CImSsReqFtsaddr& cImSsReqFtsaddr ) - { - m_sessionId = cImSsReqFtsaddr.m_sessionId; - m_type = cImSsReqFtsaddr.m_type; - return *this; - } - - const string& GetSessionId () const { return m_sessionId; } - bool SetSessionId ( const string& strSessionId ) - { - if(strSessionId.size() > 64) - return false; - m_sessionId = strSessionId; - return true; - } - const uint16_t& GetType () const { return m_type; } - bool SetType ( const uint16_t& wType ) - { - m_type = wType; - return true; - } -private: - string m_sessionId; - uint16_t m_type; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsReqFtsaddr::Size() const -{ - uint32_t nSize = 9; - nSize += m_sessionId.length(); - return nSize; -} - -class CImSsRspFtsaddr : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_RSP_FTSADDR - }; - CImSsRspFtsaddr() - { - } - - ~CImSsRspFtsaddr() { } - CImSsRspFtsaddr(const uint8_t& chRetcode, const string& strServerIp, const uint16_t& wServerPort, const string& strSessionId) - { - m_retcode = chRetcode; - m_serverIp = strServerIp; - m_serverPort = wServerPort; - m_sessionId = strSessionId; - } - CImSsRspFtsaddr& operator=( const CImSsRspFtsaddr& cImSsRspFtsaddr ) - { - m_retcode = cImSsRspFtsaddr.m_retcode; - m_serverIp = cImSsRspFtsaddr.m_serverIp; - m_serverPort = cImSsRspFtsaddr.m_serverPort; - m_sessionId = cImSsRspFtsaddr.m_sessionId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetServerIp () const { return m_serverIp; } - bool SetServerIp ( const string& strServerIp ) - { - if(strServerIp.size() > 15) - return false; - m_serverIp = strServerIp; - return true; - } - const uint16_t& GetServerPort () const { return m_serverPort; } - bool SetServerPort ( const uint16_t& wServerPort ) - { - m_serverPort = wServerPort; - return true; - } - const string& GetSessionId () const { return m_sessionId; } - bool SetSessionId ( const string& strSessionId ) - { - if(strSessionId.size() > 64) - return false; - m_sessionId = strSessionId; - return true; - } -private: - uint8_t m_retcode; - string m_serverIp; - uint16_t m_serverPort; - string m_sessionId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsRspFtsaddr::Size() const -{ - uint32_t nSize = 16; - nSize += m_serverIp.length(); - nSize += m_sessionId.length(); - return nSize; -} - -class CImSsReqSubcribeMsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_REQ_SUBCRIBE_MSG - }; - CImSsReqSubcribeMsg() - { - } - - ~CImSsReqSubcribeMsg() { } - CImSsReqSubcribeMsg(const string& strMsg, const map< string,string >& mapHtmlMsg) - { - m_msg = strMsg; - m_htmlMsg = mapHtmlMsg; - } - CImSsReqSubcribeMsg& operator=( const CImSsReqSubcribeMsg& cImSsReqSubcribeMsg ) - { - m_msg = cImSsReqSubcribeMsg.m_msg; - m_htmlMsg = cImSsReqSubcribeMsg.m_htmlMsg; - return *this; - } - - const string& GetMsg () const { return m_msg; } - bool SetMsg ( const string& strMsg ) - { - m_msg = strMsg; - return true; - } - const map< string,string >& GetHtmlMsg () const { return m_htmlMsg; } - bool SetHtmlMsg ( const map< string,string >& mapHtmlMsg ) - { - m_htmlMsg = mapHtmlMsg; - return true; - } -private: - string m_msg; - map< string,string > m_htmlMsg; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsReqSubcribeMsg::Size() const -{ - uint32_t nSize = 10; - nSize += m_msg.length(); - nSize += m_htmlMsg.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_htmlMsg.begin(); itr != m_htmlMsg.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CImSsRspSubcribeMsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_RSP_SUBCRIBE_MSG - }; - CImSsRspSubcribeMsg() - { - } - - ~CImSsRspSubcribeMsg() { } - CImSsRspSubcribeMsg(const uint8_t& chStatus) - { - m_status = chStatus; - } - CImSsRspSubcribeMsg& operator=( const CImSsRspSubcribeMsg& cImSsRspSubcribeMsg ) - { - m_status = cImSsRspSubcribeMsg.m_status; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } -private: - uint8_t m_status; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsRspSubcribeMsg::Size() const -{ - return 3; -} -class CImReqSystemmessage : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SYSTEMMESSAGE - }; - CImReqSystemmessage() - { - } - - ~CImReqSystemmessage() { } - CImReqSystemmessage(const string& strTouid, const uint8_t& chSaveflag, const uint32_t& dwSysid, const uint16_t& wCmdId, const string& strStyle, const string& strMessage) - { - m_touid = strTouid; - m_saveflag = chSaveflag; - m_sysid = dwSysid; - m_cmdId = wCmdId; - m_style = strStyle; - m_message = strMessage; - } - CImReqSystemmessage& operator=( const CImReqSystemmessage& cImReqSystemmessage ) - { - m_touid = cImReqSystemmessage.m_touid; - m_saveflag = cImReqSystemmessage.m_saveflag; - m_sysid = cImReqSystemmessage.m_sysid; - m_cmdId = cImReqSystemmessage.m_cmdId; - m_style = cImReqSystemmessage.m_style; - m_message = cImReqSystemmessage.m_message; - return *this; - } - - const string& GetTouid () const { return m_touid; } - bool SetTouid ( const string& strTouid ) - { - m_touid = strTouid; - return true; - } - const uint8_t& GetSaveflag () const { return m_saveflag; } - bool SetSaveflag ( const uint8_t& chSaveflag ) - { - m_saveflag = chSaveflag; - return true; - } - const uint32_t& GetSysid () const { return m_sysid; } - bool SetSysid ( const uint32_t& dwSysid ) - { - m_sysid = dwSysid; - return true; - } - const uint16_t& GetCmdId () const { return m_cmdId; } - bool SetCmdId ( const uint16_t& wCmdId ) - { - m_cmdId = wCmdId; - return true; - } - const string& GetStyle () const { return m_style; } - bool SetStyle ( const string& strStyle ) - { - m_style = strStyle; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_touid; - uint8_t m_saveflag; - uint32_t m_sysid; - uint16_t m_cmdId; - string m_style; - string m_message; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImReqSystemmessage::Size() const -{ - uint32_t nSize = 26; - nSize += m_touid.length(); - nSize += m_style.length(); - nSize += m_message.length(); - return nSize; -} - -class CImRspSystemmessage : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SYSTEMMESSAGE - }; - CImRspSystemmessage() - { - } - - ~CImRspSystemmessage() { } - CImRspSystemmessage(const string& strTouid) - { - m_touid = strTouid; - } - CImRspSystemmessage& operator=( const CImRspSystemmessage& cImRspSystemmessage ) - { - m_touid = cImRspSystemmessage.m_touid; - return *this; - } - - const string& GetTouid () const { return m_touid; } - bool SetTouid ( const string& strTouid ) - { - m_touid = strTouid; - return true; - } -private: - string m_touid; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImRspSystemmessage::Size() const -{ - uint32_t nSize = 6; - nSize += m_touid.length(); - return nSize; -} - -class CImSsNtfaddaccept : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_NTFADDACCEPT - }; - CImSsNtfaddaccept() - { - } - - ~CImSsNtfaddaccept() { } - CImSsNtfaddaccept(const string& strLoginid, const string& strContactid, const uint8_t& chStatus) - { - m_loginid = strLoginid; - m_contactid = strContactid; - m_status = chStatus; - } - CImSsNtfaddaccept& operator=( const CImSsNtfaddaccept& cImSsNtfaddaccept ) - { - m_loginid = cImSsNtfaddaccept.m_loginid; - m_contactid = cImSsNtfaddaccept.m_contactid; - m_status = cImSsNtfaddaccept.m_status; - return *this; - } - - const string& GetLoginid () const { return m_loginid; } - bool SetLoginid ( const string& strLoginid ) - { - m_loginid = strLoginid; - return true; - } - const string& GetContactid () const { return m_contactid; } - bool SetContactid ( const string& strContactid ) - { - m_contactid = strContactid; - return true; - } - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } -private: - string m_loginid; - string m_contactid; - uint8_t m_status; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsNtfaddaccept::Size() const -{ - uint32_t nSize = 13; - nSize += m_loginid.length(); - nSize += m_contactid.length(); - return nSize; -} - -class CImSsNtfforbidip : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_NTFFORBIDIP - }; - CImSsNtfforbidip() - { - } - - ~CImSsNtfforbidip() { } - CImSsNtfforbidip(const uint8_t& chType, const VECTOR< SIpBlackSs >& vecBlackIpList) - { - m_type = chType; - m_blackIpList = vecBlackIpList; - } - CImSsNtfforbidip& operator=( const CImSsNtfforbidip& cImSsNtfforbidip ) - { - m_type = cImSsNtfforbidip.m_type; - m_blackIpList = cImSsNtfforbidip.m_blackIpList; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const VECTOR< SIpBlackSs >& GetBlackIpList () const { return m_blackIpList; } - bool SetBlackIpList ( const VECTOR< SIpBlackSs >& vecBlackIpList ) - { - m_blackIpList = vecBlackIpList; - return true; - } -private: - uint8_t m_type; - VECTOR< SIpBlackSs > m_blackIpList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsNtfforbidip::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_blackIpList.size(); i++) - { - nSize += m_blackIpList[i].Size(); - } - return nSize; -} - -class CImSsNtfWatchInfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_NTF_WATCH_INFO - }; - CImSsNtfWatchInfo() : m_site("") - { - } - - ~CImSsNtfWatchInfo() { } - CImSsNtfWatchInfo(const uint8_t& chType, const string& strMessage, const string& strSite= "") - { - m_type = chType; - m_message = strMessage; - m_site = strSite; - } - CImSsNtfWatchInfo& operator=( const CImSsNtfWatchInfo& cImSsNtfWatchInfo ) - { - m_type = cImSsNtfWatchInfo.m_type; - m_message = cImSsNtfWatchInfo.m_message; - m_site = cImSsNtfWatchInfo.m_site; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const string& GetSite () const { return m_site; } - bool SetSite ( const string& strSite ) - { - m_site = strSite; - return true; - } -private: - uint8_t m_type; - string m_message; - string m_site; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsNtfWatchInfo::Size() const -{ - uint32_t nSize = 13; - nSize += m_message.length(); - nSize += m_site.length(); - return nSize; -} - -class CSsNtfRefreshContact : public CPackData -{ -public: - enum - { - CMD_ID = SS_NTF_REFRESH_CONTACT - }; - CSsNtfRefreshContact() : m_groupId(0) - { - } - - ~CSsNtfRefreshContact() { } - CSsNtfRefreshContact(const uint8_t& chType, const string& strContactId, const string& strNickName, const int64_t& llGroupId= 0) - { - m_type = chType; - m_contactId = strContactId; - m_nickName = strNickName; - m_groupId = llGroupId; - } - CSsNtfRefreshContact& operator=( const CSsNtfRefreshContact& cSsNtfRefreshContact ) - { - m_type = cSsNtfRefreshContact.m_type; - m_contactId = cSsNtfRefreshContact.m_contactId; - m_nickName = cSsNtfRefreshContact.m_nickName; - m_groupId = cSsNtfRefreshContact.m_groupId; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const string& GetNickName () const { return m_nickName; } - bool SetNickName ( const string& strNickName ) - { - if(strNickName.size() > 32) - return false; - m_nickName = strNickName; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_type; - string m_contactId; - string m_nickName; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsNtfRefreshContact::Size() const -{ - uint32_t nSize = 22; - nSize += m_contactId.length(); - nSize += m_nickName.length(); - return nSize; -} - -class CSsNtfFeeds : public CPackData -{ -public: - enum - { - CMD_ID = SS_NTF_FEEDS - }; - CSsNtfFeeds() - { - } - - ~CSsNtfFeeds() { } - CSsNtfFeeds(const string& strSite, const string& strFromId, const uint32_t& dwCreateTime, const string& strContent) - { - m_site = strSite; - m_fromId = strFromId; - m_createTime = dwCreateTime; - m_content = strContent; - } - CSsNtfFeeds& operator=( const CSsNtfFeeds& cSsNtfFeeds ) - { - m_site = cSsNtfFeeds.m_site; - m_fromId = cSsNtfFeeds.m_fromId; - m_createTime = cSsNtfFeeds.m_createTime; - m_content = cSsNtfFeeds.m_content; - return *this; - } - - const string& GetSite () const { return m_site; } - bool SetSite ( const string& strSite ) - { - if(strSite.size() > 8) - return false; - m_site = strSite; - return true; - } - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const uint32_t& GetCreateTime () const { return m_createTime; } - bool SetCreateTime ( const uint32_t& dwCreateTime ) - { - m_createTime = dwCreateTime; - return true; - } - const string& GetContent () const { return m_content; } - bool SetContent ( const string& strContent ) - { - m_content = strContent; - return true; - } -private: - string m_site; - string m_fromId; - uint32_t m_createTime; - string m_content; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsNtfFeeds::Size() const -{ - uint32_t nSize = 25; - nSize += m_fromId.length(); - nSize += m_content.length(); - return nSize; -} - -class CSsNtfUserSnsinfo : public CPackData -{ -public: - enum - { - CMD_ID = SS_NTF_USER_SNSINFO - }; - CSsNtfUserSnsinfo() - { - } - - ~CSsNtfUserSnsinfo() { } - CSsNtfUserSnsinfo(const string& strFromId, const uint8_t& chType, const map< string,string >& mapInfo) - { - m_fromId = strFromId; - m_type = chType; - m_info = mapInfo; - } - CSsNtfUserSnsinfo& operator=( const CSsNtfUserSnsinfo& cSsNtfUserSnsinfo ) - { - m_fromId = cSsNtfUserSnsinfo.m_fromId; - m_type = cSsNtfUserSnsinfo.m_type; - m_info = cSsNtfUserSnsinfo.m_info; - return *this; - } - - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const map< string,string >& GetInfo () const { return m_info; } - bool SetInfo ( const map< string,string >& mapInfo ) - { - m_info = mapInfo; - return true; - } -private: - string m_fromId; - uint8_t m_type; - map< string,string > m_info; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsNtfUserSnsinfo::Size() const -{ - uint32_t nSize = 12; - nSize += m_fromId.length(); - nSize += m_info.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_info.begin(); itr != m_info.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CSsNtfAddRcnt : public CPackData -{ -public: - enum - { - CMD_ID = SS_NTF_ADD_RCNT - }; - CSsNtfAddRcnt() - { - } - - ~CSsNtfAddRcnt() { } - CSsNtfAddRcnt(const string& strFromId, const string& strContactId, const uint8_t& chOptime, const uint8_t& chType, const string& strSite) - { - m_fromId = strFromId; - m_contactId = strContactId; - m_optime = chOptime; - m_type = chType; - m_site = strSite; - } - CSsNtfAddRcnt& operator=( const CSsNtfAddRcnt& cSsNtfAddRcnt ) - { - m_fromId = cSsNtfAddRcnt.m_fromId; - m_contactId = cSsNtfAddRcnt.m_contactId; - m_optime = cSsNtfAddRcnt.m_optime; - m_type = cSsNtfAddRcnt.m_type; - m_site = cSsNtfAddRcnt.m_site; - return *this; - } - - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - if(strContactId.size() > 64) - return false; - m_contactId = strContactId; - return true; - } - const uint8_t& GetOptime () const { return m_optime; } - bool SetOptime ( const uint8_t& chOptime ) - { - m_optime = chOptime; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetSite () const { return m_site; } - bool SetSite ( const string& strSite ) - { - m_site = strSite; - return true; - } -private: - string m_fromId; - string m_contactId; - uint8_t m_optime; - uint8_t m_type; - string m_site; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsNtfAddRcnt::Size() const -{ - uint32_t nSize = 20; - nSize += m_fromId.length(); - nSize += m_contactId.length(); - nSize += m_site.length(); - return nSize; -} - -class CImSsNtfOperationtip : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_NTF_OPERATIONTIP - }; - CImSsNtfOperationtip() - { - } - - ~CImSsNtfOperationtip() { } - CImSsNtfOperationtip(const string& strContactId, const string& strNtfmessage, const uint32_t& dwNtftime) - { - m_contactId = strContactId; - m_ntfmessage = strNtfmessage; - m_ntftime = dwNtftime; - } - CImSsNtfOperationtip& operator=( const CImSsNtfOperationtip& cImSsNtfOperationtip ) - { - m_contactId = cImSsNtfOperationtip.m_contactId; - m_ntfmessage = cImSsNtfOperationtip.m_ntfmessage; - m_ntftime = cImSsNtfOperationtip.m_ntftime; - return *this; - } - - const string& GetContactId () const { return m_contactId; } - bool SetContactId ( const string& strContactId ) - { - m_contactId = strContactId; - return true; - } - const string& GetNtfmessage () const { return m_ntfmessage; } - bool SetNtfmessage ( const string& strNtfmessage ) - { - m_ntfmessage = strNtfmessage; - return true; - } - const uint32_t& GetNtftime () const { return m_ntftime; } - bool SetNtftime ( const uint32_t& dwNtftime ) - { - m_ntftime = dwNtftime; - return true; - } -private: - string m_contactId; - string m_ntfmessage; - uint32_t m_ntftime; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsNtfOperationtip::Size() const -{ - uint32_t nSize = 16; - nSize += m_contactId.length(); - nSize += m_ntfmessage.length(); - return nSize; -} - -class CSsNtfEhmsGroupsts : public CPackData -{ -public: - enum - { - CMD_ID = SS_NTF_EHMS_GROUPSTS - }; - CSsNtfEhmsGroupsts() - { - } - - ~CSsNtfEhmsGroupsts() { } - CSsNtfEhmsGroupsts(const SEhmsGroupStatus& sGroupSts) - { - m_groupSts = sGroupSts; - } - CSsNtfEhmsGroupsts& operator=( const CSsNtfEhmsGroupsts& cSsNtfEhmsGroupsts ) - { - m_groupSts = cSsNtfEhmsGroupsts.m_groupSts; - return *this; - } - - const SEhmsGroupStatus& GetGroupSts () const { return m_groupSts; } - bool SetGroupSts ( const SEhmsGroupStatus& sGroupSts ) - { - m_groupSts = sGroupSts; - return true; - } -private: - SEhmsGroupStatus m_groupSts; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsNtfEhmsGroupsts::Size() const -{ - uint32_t nSize = 2; - nSize += m_groupSts.Size(); - return nSize; -} - -class CSsNtfEhmsLogin : public CPackData -{ -public: - enum - { - CMD_ID = SS_NTF_EHMS_LOGIN - }; - CSsNtfEhmsLogin() - { - } - - ~CSsNtfEhmsLogin() { } - CSsNtfEhmsLogin(const string& strUid) - { - m_uid = strUid; - } - CSsNtfEhmsLogin& operator=( const CSsNtfEhmsLogin& cSsNtfEhmsLogin ) - { - m_uid = cSsNtfEhmsLogin.m_uid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } -private: - string m_uid; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsNtfEhmsLogin::Size() const -{ - uint32_t nSize = 6; - nSize += m_uid.length(); - return nSize; -} - -class CSsReqGetallehmsgrpsts : public CPackData -{ -public: - enum - { - CMD_ID = SS_REQ_GETALLEHMSGRPSTS - }; - ~CSsReqGetallehmsgrpsts() { } -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsReqGetallehmsgrpsts::Size() const -{ - return 1; -} -class CSsRspGetallehmsgrpsts : public CPackData -{ -public: - enum - { - CMD_ID = SS_RSP_GETALLEHMSGRPSTS - }; - CSsRspGetallehmsgrpsts() - { - } - - ~CSsRspGetallehmsgrpsts() { } - CSsRspGetallehmsgrpsts(const uint8_t& chRetcode, const VECTOR< SEhmsGroupStatus >& vecGroupStsList) - { - m_retcode = chRetcode; - m_groupStsList = vecGroupStsList; - } - CSsRspGetallehmsgrpsts& operator=( const CSsRspGetallehmsgrpsts& cSsRspGetallehmsgrpsts ) - { - m_retcode = cSsRspGetallehmsgrpsts.m_retcode; - m_groupStsList = cSsRspGetallehmsgrpsts.m_groupStsList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const VECTOR< SEhmsGroupStatus >& GetGroupStsList () const { return m_groupStsList; } - bool SetGroupStsList ( const VECTOR< SEhmsGroupStatus >& vecGroupStsList ) - { - m_groupStsList = vecGroupStsList; - return true; - } -private: - uint8_t m_retcode; - VECTOR< SEhmsGroupStatus > m_groupStsList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsRspGetallehmsgrpsts::Size() const -{ - uint32_t nSize = 9; - for(uint32_t i = 0; i < m_groupStsList.size(); i++) - { - nSize += m_groupStsList[i].Size(); - } - return nSize; -} - -class CImSsSendHmsmsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_SEND_HMSMSG - }; - CImSsSendHmsmsg() : m_cmdType(0) - { - } - - ~CImSsSendHmsmsg() { } - CImSsSendHmsmsg(const string& strSenduid, const string& strTargetfid, const string& strTouid, const uint8_t& chType, const string& strMessage, const uint16_t& wActionType, const uint16_t& wCmdType, const uint32_t& dwReserved, const uint32_t& dwUniqtime) - { - m_senduid = strSenduid; - m_targetfid = strTargetfid; - m_touid = strTouid; - m_type = chType; - m_message = strMessage; - m_actionType = wActionType; - m_cmdType = wCmdType; - m_reserved = dwReserved; - m_uniqtime = dwUniqtime; - } - CImSsSendHmsmsg& operator=( const CImSsSendHmsmsg& cImSsSendHmsmsg ) - { - m_senduid = cImSsSendHmsmsg.m_senduid; - m_targetfid = cImSsSendHmsmsg.m_targetfid; - m_touid = cImSsSendHmsmsg.m_touid; - m_type = cImSsSendHmsmsg.m_type; - m_message = cImSsSendHmsmsg.m_message; - m_actionType = cImSsSendHmsmsg.m_actionType; - m_cmdType = cImSsSendHmsmsg.m_cmdType; - m_reserved = cImSsSendHmsmsg.m_reserved; - m_uniqtime = cImSsSendHmsmsg.m_uniqtime; - return *this; - } - - const string& GetSenduid () const { return m_senduid; } - bool SetSenduid ( const string& strSenduid ) - { - m_senduid = strSenduid; - return true; - } - const string& GetTargetfid () const { return m_targetfid; } - bool SetTargetfid ( const string& strTargetfid ) - { - m_targetfid = strTargetfid; - return true; - } - const string& GetTouid () const { return m_touid; } - bool SetTouid ( const string& strTouid ) - { - m_touid = strTouid; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const uint16_t& GetActionType () const { return m_actionType; } - bool SetActionType ( const uint16_t& wActionType ) - { - m_actionType = wActionType; - return true; - } - const uint16_t& GetCmdType () const { return m_cmdType; } - bool SetCmdType ( const uint16_t& wCmdType ) - { - m_cmdType = wCmdType; - return true; - } - const uint32_t& GetReserved () const { return m_reserved; } - bool SetReserved ( const uint32_t& dwReserved ) - { - m_reserved = dwReserved; - return true; - } - const uint32_t& GetUniqtime () const { return m_uniqtime; } - bool SetUniqtime ( const uint32_t& dwUniqtime ) - { - m_uniqtime = dwUniqtime; - return true; - } -private: - string m_senduid; - string m_targetfid; - string m_touid; - uint8_t m_type; - string m_message; - uint16_t m_actionType; - uint16_t m_cmdType; - uint32_t m_reserved; - uint32_t m_uniqtime; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsSendHmsmsg::Size() const -{ - uint32_t nSize = 39; - nSize += m_senduid.length(); - nSize += m_targetfid.length(); - nSize += m_touid.length(); - nSize += m_message.length(); - return nSize; -} - -class CImReqSystemmapmessage : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SYSTEMMAPMESSAGE - }; - CImReqSystemmapmessage() - { - } - - ~CImReqSystemmapmessage() { } - CImReqSystemmapmessage(const uint32_t& dwSysId, const map< string,string >& mapMapmessage, const string& strExtmessage) - { - m_sysId = dwSysId; - m_mapmessage = mapMapmessage; - m_extmessage = strExtmessage; - } - CImReqSystemmapmessage& operator=( const CImReqSystemmapmessage& cImReqSystemmapmessage ) - { - m_sysId = cImReqSystemmapmessage.m_sysId; - m_mapmessage = cImReqSystemmapmessage.m_mapmessage; - m_extmessage = cImReqSystemmapmessage.m_extmessage; - return *this; - } - - const uint32_t& GetSysId () const { return m_sysId; } - bool SetSysId ( const uint32_t& dwSysId ) - { - m_sysId = dwSysId; - return true; - } - const map< string,string >& GetMapmessage () const { return m_mapmessage; } - bool SetMapmessage ( const map< string,string >& mapMapmessage ) - { - m_mapmessage = mapMapmessage; - return true; - } - const string& GetExtmessage () const { return m_extmessage; } - bool SetExtmessage ( const string& strExtmessage ) - { - m_extmessage = strExtmessage; - return true; - } -private: - uint32_t m_sysId; - map< string,string > m_mapmessage; - string m_extmessage; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImReqSystemmapmessage::Size() const -{ - uint32_t nSize = 15; - nSize += m_mapmessage.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_mapmessage.begin(); itr != m_mapmessage.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - nSize += m_extmessage.length(); - return nSize; -} - -class CImRspSystemmapmessage : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SYSTEMMAPMESSAGE - }; - CImRspSystemmapmessage() - { - } - - ~CImRspSystemmapmessage() { } - CImRspSystemmapmessage(const uint32_t& dwSysId, const uint32_t& dwStatus) - { - m_sysId = dwSysId; - m_status = dwStatus; - } - CImRspSystemmapmessage& operator=( const CImRspSystemmapmessage& cImRspSystemmapmessage ) - { - m_sysId = cImRspSystemmapmessage.m_sysId; - m_status = cImRspSystemmapmessage.m_status; - return *this; - } - - const uint32_t& GetSysId () const { return m_sysId; } - bool SetSysId ( const uint32_t& dwSysId ) - { - m_sysId = dwSysId; - return true; - } - const uint32_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint32_t& dwStatus ) - { - m_status = dwStatus; - return true; - } -private: - uint32_t m_sysId; - uint32_t m_status; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImRspSystemmapmessage::Size() const -{ - return 11; -} -class CImSsNtfWebsysmessage : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_NTF_WEBSYSMESSAGE - }; - CImSsNtfWebsysmessage() - { - } - - ~CImSsNtfWebsysmessage() { } - CImSsNtfWebsysmessage(const string& strCreateid, const int32_t& lCmdid, const string& strStyle, const string& strMessage, const string& strServiceid, const string& strWebid, const uint16_t& wSaveflag, const string& strExpiretime) - { - m_createid = strCreateid; - m_cmdid = lCmdid; - m_style = strStyle; - m_message = strMessage; - m_serviceid = strServiceid; - m_webid = strWebid; - m_saveflag = wSaveflag; - m_expiretime = strExpiretime; - } - CImSsNtfWebsysmessage& operator=( const CImSsNtfWebsysmessage& cImSsNtfWebsysmessage ) - { - m_createid = cImSsNtfWebsysmessage.m_createid; - m_cmdid = cImSsNtfWebsysmessage.m_cmdid; - m_style = cImSsNtfWebsysmessage.m_style; - m_message = cImSsNtfWebsysmessage.m_message; - m_serviceid = cImSsNtfWebsysmessage.m_serviceid; - m_webid = cImSsNtfWebsysmessage.m_webid; - m_saveflag = cImSsNtfWebsysmessage.m_saveflag; - m_expiretime = cImSsNtfWebsysmessage.m_expiretime; - return *this; - } - - const string& GetCreateid () const { return m_createid; } - bool SetCreateid ( const string& strCreateid ) - { - m_createid = strCreateid; - return true; - } - const int32_t& GetCmdid () const { return m_cmdid; } - bool SetCmdid ( const int32_t& lCmdid ) - { - m_cmdid = lCmdid; - return true; - } - const string& GetStyle () const { return m_style; } - bool SetStyle ( const string& strStyle ) - { - m_style = strStyle; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const string& GetServiceid () const { return m_serviceid; } - bool SetServiceid ( const string& strServiceid ) - { - m_serviceid = strServiceid; - return true; - } - const string& GetWebid () const { return m_webid; } - bool SetWebid ( const string& strWebid ) - { - m_webid = strWebid; - return true; - } - const uint16_t& GetSaveflag () const { return m_saveflag; } - bool SetSaveflag ( const uint16_t& wSaveflag ) - { - m_saveflag = wSaveflag; - return true; - } - const string& GetExpiretime () const { return m_expiretime; } - bool SetExpiretime ( const string& strExpiretime ) - { - m_expiretime = strExpiretime; - return true; - } -private: - string m_createid; - int32_t m_cmdid; - string m_style; - string m_message; - string m_serviceid; - string m_webid; - uint16_t m_saveflag; - string m_expiretime; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsNtfWebsysmessage::Size() const -{ - uint32_t nSize = 39; - nSize += m_createid.length(); - nSize += m_style.length(); - nSize += m_message.length(); - nSize += m_serviceid.length(); - nSize += m_webid.length(); - nSize += m_expiretime.length(); - return nSize; -} - -class CImSsNtfWebusermessage : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_NTF_WEBUSERMESSAGE - }; - CImSsNtfWebusermessage() - { - } - - ~CImSsNtfWebusermessage() { } - CImSsNtfWebusermessage(const string& strFromId, const int32_t& lCmdId, const map< string,string >& mapInfo, const string& strServiceid, const string& strWebid) - { - m_fromId = strFromId; - m_cmdId = lCmdId; - m_info = mapInfo; - m_serviceid = strServiceid; - m_webid = strWebid; - } - CImSsNtfWebusermessage& operator=( const CImSsNtfWebusermessage& cImSsNtfWebusermessage ) - { - m_fromId = cImSsNtfWebusermessage.m_fromId; - m_cmdId = cImSsNtfWebusermessage.m_cmdId; - m_info = cImSsNtfWebusermessage.m_info; - m_serviceid = cImSsNtfWebusermessage.m_serviceid; - m_webid = cImSsNtfWebusermessage.m_webid; - return *this; - } - - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - m_fromId = strFromId; - return true; - } - const int32_t& GetCmdId () const { return m_cmdId; } - bool SetCmdId ( const int32_t& lCmdId ) - { - m_cmdId = lCmdId; - return true; - } - const map< string,string >& GetInfo () const { return m_info; } - bool SetInfo ( const map< string,string >& mapInfo ) - { - m_info = mapInfo; - return true; - } - const string& GetServiceid () const { return m_serviceid; } - bool SetServiceid ( const string& strServiceid ) - { - m_serviceid = strServiceid; - return true; - } - const string& GetWebid () const { return m_webid; } - bool SetWebid ( const string& strWebid ) - { - m_webid = strWebid; - return true; - } -private: - string m_fromId; - int32_t m_cmdId; - map< string,string > m_info; - string m_serviceid; - string m_webid; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsNtfWebusermessage::Size() const -{ - uint32_t nSize = 25; - nSize += m_fromId.length(); - nSize += m_info.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_info.begin(); itr != m_info.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - nSize += m_serviceid.length(); - nSize += m_webid.length(); - return nSize; -} - -class CSsNtfUnbindDisconnect : public CPackData -{ -public: - enum - { - CMD_ID = SS_NTF_UNBIND_DISCONNECT - }; - CSsNtfUnbindDisconnect() - { - } - - ~CSsNtfUnbindDisconnect() { } - CSsNtfUnbindDisconnect(const uint8_t& chType, const string& strRemark) - { - m_type = chType; - m_remark = strRemark; - } - CSsNtfUnbindDisconnect& operator=( const CSsNtfUnbindDisconnect& cSsNtfUnbindDisconnect ) - { - m_type = cSsNtfUnbindDisconnect.m_type; - m_remark = cSsNtfUnbindDisconnect.m_remark; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - if(strRemark.size() > 256) - return false; - m_remark = strRemark; - return true; - } -private: - uint8_t m_type; - string m_remark; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsNtfUnbindDisconnect::Size() const -{ - uint32_t nSize = 8; - nSize += m_remark.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/infoservice.h b/features/aliww/include/infoservice.h deleted file mode 100644 index 9238449..0000000 --- a/features/aliww/include/infoservice.h +++ /dev/null @@ -1,554 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `infoservice.ice' - -#ifndef __infoservice_h__ -#define __infoservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class IUserExtInfoService; -bool operator==(const IUserExtInfoService&, const IUserExtInfoService&); -bool operator!=(const IUserExtInfoService&, const IUserExtInfoService&); -bool operator<(const IUserExtInfoService&, const IUserExtInfoService&); -bool operator<=(const IUserExtInfoService&, const IUserExtInfoService&); -bool operator>(const IUserExtInfoService&, const IUserExtInfoService&); -bool operator>=(const IUserExtInfoService&, const IUserExtInfoService&); - -} - -} - -namespace AliIM -{ - -class IUserExtInfoService; -bool operator==(const IUserExtInfoService&, const IUserExtInfoService&); -bool operator!=(const IUserExtInfoService&, const IUserExtInfoService&); -bool operator<(const IUserExtInfoService&, const IUserExtInfoService&); -bool operator<=(const IUserExtInfoService&, const IUserExtInfoService&); -bool operator>(const IUserExtInfoService&, const IUserExtInfoService&); -bool operator>=(const IUserExtInfoService&, const IUserExtInfoService&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::IUserExtInfoService*); -void decRef(::AliIM::IUserExtInfoService*); - -void incRef(::IceProxy::AliIM::IUserExtInfoService*); -void decRef(::IceProxy::AliIM::IUserExtInfoService*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::IUserExtInfoService> IUserExtInfoServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::IUserExtInfoService> IUserExtInfoServicePrx; - -void __write(::IceInternal::BasicStream*, const IUserExtInfoServicePrx&); -void __read(::IceInternal::BasicStream*, IUserExtInfoServicePrx&); -void __write(::IceInternal::BasicStream*, const IUserExtInfoServicePtr&); -void __patch__IUserExtInfoServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IUserExtInfoServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IUserExtInfoServicePtr&); -void __decRefUnsafe(const IUserExtInfoServicePtr&); -void __clearHandleUnsafe(IUserExtInfoServicePtr&); - -} - -namespace AliIM -{ - -typedef ::std::map< ::std::string, ::std::string> KVMAP; - -class __U__KVMAP { }; -void __write(::IceInternal::BasicStream*, const KVMAP&, __U__KVMAP); -void __read(::IceInternal::BasicStream*, KVMAP&, __U__KVMAP); - -struct SImSign -{ - ::std::string longuid; - ::std::string sign; - - bool operator==(const SImSign&) const; - bool operator!=(const SImSign&) const; - bool operator<(const SImSign&) const; - bool operator<=(const SImSign& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SImSign& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SImSign& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIM::SImSign> SIMSignSeq; - -class __U__SIMSignSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIM::SImSign*, const ::AliIM::SImSign*, __U__SIMSignSeq); -void __read(::IceInternal::BasicStream*, SIMSignSeq&, __U__SIMSignSeq); - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class IUserExtInfoService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int getUserExtInfo(::Ice::Int srvid, const ::std::string& longuid, ::AliIM::KVMAP& attrs) - { - return getUserExtInfo(srvid, longuid, attrs, 0); - } - ::Ice::Int getUserExtInfo(::Ice::Int srvid, const ::std::string& longuid, ::AliIM::KVMAP& attrs, const ::Ice::Context& __ctx) - { - return getUserExtInfo(srvid, longuid, attrs, &__ctx); - } - -private: - - ::Ice::Int getUserExtInfo(::Ice::Int, const ::std::string&, ::AliIM::KVMAP&, const ::Ice::Context*); - -public: - - ::Ice::Int updateUserExtInfo(::Ice::Int srvid, const ::std::string& longuid, ::Ice::Int reserved, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs) - { - return updateUserExtInfo(srvid, longuid, reserved, neednotify, attrs, 0); - } - ::Ice::Int updateUserExtInfo(::Ice::Int srvid, const ::std::string& longuid, ::Ice::Int reserved, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context& __ctx) - { - return updateUserExtInfo(srvid, longuid, reserved, neednotify, attrs, &__ctx); - } - -private: - - ::Ice::Int updateUserExtInfo(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - -public: - - ::Ice::Int notifySpaceOpen(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs) - { - return notifySpaceOpen(longuid, neednotify, attrs, 0); - } - ::Ice::Int notifySpaceOpen(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context& __ctx) - { - return notifySpaceOpen(longuid, neednotify, attrs, &__ctx); - } - -private: - - ::Ice::Int notifySpaceOpen(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - -public: - - ::Ice::Int addBlogSign(const ::std::string& longuid, const ::std::string& text) - { - return addBlogSign(longuid, text, 0); - } - ::Ice::Int addBlogSign(const ::std::string& longuid, const ::std::string& text, const ::Ice::Context& __ctx) - { - return addBlogSign(longuid, text, &__ctx); - } - -private: - - ::Ice::Int addBlogSign(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int NotifyPluginMsg(const ::std::string& longuid, const ::std::string& xmltext) - { - return NotifyPluginMsg(longuid, xmltext, 0); - } - ::Ice::Int NotifyPluginMsg(const ::std::string& longuid, const ::std::string& xmltext, const ::Ice::Context& __ctx) - { - return NotifyPluginMsg(longuid, xmltext, &__ctx); - } - -private: - - ::Ice::Int NotifyPluginMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateSignature(const ::std::string& uid, const ::std::string& xmlsignature) - { - return UpdateSignature(uid, xmlsignature, 0); - } - ::Ice::Int UpdateSignature(const ::std::string& uid, const ::std::string& xmlsignature, const ::Ice::Context& __ctx) - { - return UpdateSignature(uid, xmlsignature, &__ctx); - } - -private: - - ::Ice::Int UpdateSignature(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getBatchSignature(const ::Ice::StringSeq& uids, ::AliIM::SIMSignSeq& signlist) - { - return getBatchSignature(uids, signlist, 0); - } - ::Ice::Int getBatchSignature(const ::Ice::StringSeq& uids, ::AliIM::SIMSignSeq& signlist, const ::Ice::Context& __ctx) - { - return getBatchSignature(uids, signlist, &__ctx); - } - -private: - - ::Ice::Int getBatchSignature(const ::Ice::StringSeq&, ::AliIM::SIMSignSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int NotifyUserDoings(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs) - { - return NotifyUserDoings(longuid, neednotify, attrs, 0); - } - ::Ice::Int NotifyUserDoings(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context& __ctx) - { - return NotifyUserDoings(longuid, neednotify, attrs, &__ctx); - } - -private: - - ::Ice::Int NotifyUserDoings(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - -public: - - ::Ice::Int NotifyUserDoingsClose(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs) - { - return NotifyUserDoingsClose(longuid, neednotify, attrs, 0); - } - ::Ice::Int NotifyUserDoingsClose(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context& __ctx) - { - return NotifyUserDoingsClose(longuid, neednotify, attrs, &__ctx); - } - -private: - - ::Ice::Int NotifyUserDoingsClose(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - -public: - - ::Ice::Int NotifyPluginMsg2(const ::std::string& longuid, const ::std::string& xmltext, const ::AliIM::KVMAP& attrs) - { - return NotifyPluginMsg2(longuid, xmltext, attrs, 0); - } - ::Ice::Int NotifyPluginMsg2(const ::std::string& longuid, const ::std::string& xmltext, const ::AliIM::KVMAP& attrs, const ::Ice::Context& __ctx) - { - return NotifyPluginMsg2(longuid, xmltext, attrs, &__ctx); - } - -private: - - ::Ice::Int NotifyPluginMsg2(const ::std::string&, const ::std::string&, const ::AliIM::KVMAP&, const ::Ice::Context*); - -public: - - ::Ice::Int getSpaceOpen(const ::std::string& longuid) - { - return getSpaceOpen(longuid, 0); - } - ::Ice::Int getSpaceOpen(const ::std::string& longuid, const ::Ice::Context& __ctx) - { - return getSpaceOpen(longuid, &__ctx); - } - -private: - - ::Ice::Int getSpaceOpen(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int NotifyUserVip(const ::std::string& longuid, ::Ice::Int viplevel, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs) - { - return NotifyUserVip(longuid, viplevel, neednotify, attrs, 0); - } - ::Ice::Int NotifyUserVip(const ::std::string& longuid, ::Ice::Int viplevel, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context& __ctx) - { - return NotifyUserVip(longuid, viplevel, neednotify, attrs, &__ctx); - } - -private: - - ::Ice::Int NotifyUserVip(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - -public: - - ::Ice::Int NotifyAppMsg(const ::std::string& longUid, const ::std::string& xmlstr, const ::AliIM::KVMAP& attrs) - { - return NotifyAppMsg(longUid, xmlstr, attrs, 0); - } - ::Ice::Int NotifyAppMsg(const ::std::string& longUid, const ::std::string& xmlstr, const ::AliIM::KVMAP& attrs, const ::Ice::Context& __ctx) - { - return NotifyAppMsg(longUid, xmlstr, attrs, &__ctx); - } - -private: - - ::Ice::Int NotifyAppMsg(const ::std::string&, const ::std::string&, const ::AliIM::KVMAP&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class IUserExtInfoService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int getUserExtInfo(::Ice::Int, const ::std::string&, ::AliIM::KVMAP&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateUserExtInfo(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int notifySpaceOpen(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int addBlogSign(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int NotifyPluginMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateSignature(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getBatchSignature(const ::Ice::StringSeq&, ::AliIM::SIMSignSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int NotifyUserDoings(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int NotifyUserDoingsClose(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int NotifyPluginMsg2(const ::std::string&, const ::std::string&, const ::AliIM::KVMAP&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getSpaceOpen(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int NotifyUserVip(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int NotifyAppMsg(const ::std::string&, const ::std::string&, const ::AliIM::KVMAP&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class IUserExtInfoService : virtual public ::IceDelegate::AliIM::IUserExtInfoService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int getUserExtInfo(::Ice::Int, const ::std::string&, ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserExtInfo(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int notifySpaceOpen(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int addBlogSign(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyPluginMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateSignature(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getBatchSignature(const ::Ice::StringSeq&, ::AliIM::SIMSignSeq&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyUserDoings(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyUserDoingsClose(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyPluginMsg2(const ::std::string&, const ::std::string&, const ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int getSpaceOpen(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyUserVip(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyAppMsg(const ::std::string&, const ::std::string&, const ::AliIM::KVMAP&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class IUserExtInfoService : virtual public ::IceDelegate::AliIM::IUserExtInfoService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int getUserExtInfo(::Ice::Int, const ::std::string&, ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserExtInfo(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int notifySpaceOpen(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int addBlogSign(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyPluginMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateSignature(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getBatchSignature(const ::Ice::StringSeq&, ::AliIM::SIMSignSeq&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyUserDoings(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyUserDoingsClose(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyPluginMsg2(const ::std::string&, const ::std::string&, const ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int getSpaceOpen(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyUserVip(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyAppMsg(const ::std::string&, const ::std::string&, const ::AliIM::KVMAP&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class IUserExtInfoService : virtual public ::Ice::Object -{ -public: - - typedef IUserExtInfoServicePrx ProxyType; - typedef IUserExtInfoServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int getUserExtInfo(::Ice::Int, const ::std::string&, ::AliIM::KVMAP&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserExtInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateUserExtInfo(::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateUserExtInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int notifySpaceOpen(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___notifySpaceOpen(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int addBlogSign(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addBlogSign(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int NotifyPluginMsg(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___NotifyPluginMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateSignature(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateSignature(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getBatchSignature(const ::Ice::StringSeq&, ::AliIM::SIMSignSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getBatchSignature(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int NotifyUserDoings(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___NotifyUserDoings(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int NotifyUserDoingsClose(const ::std::string&, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___NotifyUserDoingsClose(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int NotifyPluginMsg2(const ::std::string&, const ::std::string&, const ::AliIM::KVMAP&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___NotifyPluginMsg2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getSpaceOpen(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getSpaceOpen(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int NotifyUserVip(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIM::KVMAP&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___NotifyUserVip(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int NotifyAppMsg(const ::std::string&, const ::std::string&, const ::AliIM::KVMAP&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___NotifyAppMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IUserExtInfoServicePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/login_info_center.h b/features/aliww/include/login_info_center.h deleted file mode 100644 index 27e719b..0000000 --- a/features/aliww/include/login_info_center.h +++ /dev/null @@ -1,337 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `login_info_center.ice' - -#ifndef __login_info_center_h__ -#define __login_info_center_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace LoginInfoCenter -{ - -class LoginInfoInterface; -bool operator==(const LoginInfoInterface&, const LoginInfoInterface&); -bool operator!=(const LoginInfoInterface&, const LoginInfoInterface&); -bool operator<(const LoginInfoInterface&, const LoginInfoInterface&); -bool operator<=(const LoginInfoInterface&, const LoginInfoInterface&); -bool operator>(const LoginInfoInterface&, const LoginInfoInterface&); -bool operator>=(const LoginInfoInterface&, const LoginInfoInterface&); - -} - -} - -namespace LoginInfoCenter -{ - -class LoginInfoInterface; -bool operator==(const LoginInfoInterface&, const LoginInfoInterface&); -bool operator!=(const LoginInfoInterface&, const LoginInfoInterface&); -bool operator<(const LoginInfoInterface&, const LoginInfoInterface&); -bool operator<=(const LoginInfoInterface&, const LoginInfoInterface&); -bool operator>(const LoginInfoInterface&, const LoginInfoInterface&); -bool operator>=(const LoginInfoInterface&, const LoginInfoInterface&); - -} - -namespace IceInternal -{ - -void incRef(::LoginInfoCenter::LoginInfoInterface*); -void decRef(::LoginInfoCenter::LoginInfoInterface*); - -void incRef(::IceProxy::LoginInfoCenter::LoginInfoInterface*); -void decRef(::IceProxy::LoginInfoCenter::LoginInfoInterface*); - -} - -namespace LoginInfoCenter -{ - -typedef ::IceInternal::Handle< ::LoginInfoCenter::LoginInfoInterface> LoginInfoInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::LoginInfoCenter::LoginInfoInterface> LoginInfoInterfacePrx; - -void __write(::IceInternal::BasicStream*, const LoginInfoInterfacePrx&); -void __read(::IceInternal::BasicStream*, LoginInfoInterfacePrx&); -void __write(::IceInternal::BasicStream*, const LoginInfoInterfacePtr&); -void __patch__LoginInfoInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const LoginInfoInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const LoginInfoInterfacePtr&); -void __decRefUnsafe(const LoginInfoInterfacePtr&); -void __clearHandleUnsafe(LoginInfoInterfacePtr&); - -} - -namespace LoginInfoCenter -{ - -struct SICELoginInfo -{ - ::Ice::Int clifd; - ::Ice::Int cliip; - ::Ice::Int onlineTime; - ::Ice::Int sysMsgId; - ::Ice::Int language; - ::Ice::Short activeState; - ::Ice::Short userLevel; - ::Ice::Short userType; - ::Ice::Short vipType; - ::Ice::Short mulMsgFlag; - ::Ice::Float totalActDegree; - ::std::string uid; - ::std::string deskey; - ::std::string version; - - bool operator==(const SICELoginInfo&) const; - bool operator!=(const SICELoginInfo&) const; - bool operator<(const SICELoginInfo&) const; - bool operator<=(const SICELoginInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICELoginInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICELoginInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -} - -namespace IceProxy -{ - -namespace LoginInfoCenter -{ - -class LoginInfoInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int SetLoginInfo(const ::std::string& uid, const ::LoginInfoCenter::SICELoginInfo& info) - { - return SetLoginInfo(uid, info, 0); - } - ::Ice::Int SetLoginInfo(const ::std::string& uid, const ::LoginInfoCenter::SICELoginInfo& info, const ::Ice::Context& __ctx) - { - return SetLoginInfo(uid, info, &__ctx); - } - -private: - - ::Ice::Int SetLoginInfo(const ::std::string&, const ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateLoginInfo(const ::LoginInfoCenter::SICELoginInfo& info) - { - return UpdateLoginInfo(info, 0); - } - ::Ice::Int UpdateLoginInfo(const ::LoginInfoCenter::SICELoginInfo& info, const ::Ice::Context& __ctx) - { - return UpdateLoginInfo(info, &__ctx); - } - -private: - - ::Ice::Int UpdateLoginInfo(const ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DelLoginInfo(const ::std::string& uid) - { - return DelLoginInfo(uid, 0); - } - ::Ice::Int DelLoginInfo(const ::std::string& uid, const ::Ice::Context& __ctx) - { - return DelLoginInfo(uid, &__ctx); - } - -private: - - ::Ice::Int DelLoginInfo(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetLoginInfo(const ::std::string& uid, ::LoginInfoCenter::SICELoginInfo& obj) - { - return GetLoginInfo(uid, obj, 0); - } - ::Ice::Int GetLoginInfo(const ::std::string& uid, ::LoginInfoCenter::SICELoginInfo& obj, const ::Ice::Context& __ctx) - { - return GetLoginInfo(uid, obj, &__ctx); - } - -private: - - ::Ice::Int GetLoginInfo(const ::std::string&, ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace LoginInfoCenter -{ - -class LoginInfoInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int SetLoginInfo(const ::std::string&, const ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateLoginInfo(const ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelLoginInfo(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetLoginInfo(const ::std::string&, ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace LoginInfoCenter -{ - -class LoginInfoInterface : virtual public ::IceDelegate::LoginInfoCenter::LoginInfoInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int SetLoginInfo(const ::std::string&, const ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateLoginInfo(const ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DelLoginInfo(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetLoginInfo(const ::std::string&, ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace LoginInfoCenter -{ - -class LoginInfoInterface : virtual public ::IceDelegate::LoginInfoCenter::LoginInfoInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int SetLoginInfo(const ::std::string&, const ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateLoginInfo(const ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DelLoginInfo(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetLoginInfo(const ::std::string&, ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Context*); -}; - -} - -} - -namespace LoginInfoCenter -{ - -class LoginInfoInterface : virtual public ::Ice::Object -{ -public: - - typedef LoginInfoInterfacePrx ProxyType; - typedef LoginInfoInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int SetLoginInfo(const ::std::string&, const ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___SetLoginInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateLoginInfo(const ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateLoginInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DelLoginInfo(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelLoginInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetLoginInfo(const ::std::string&, ::LoginInfoCenter::SICELoginInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetLoginInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__LoginInfoInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/logss_pack.h b/features/aliww/include/logss_pack.h deleted file mode 100644 index 0a85134..0000000 --- a/features/aliww/include/logss_pack.h +++ /dev/null @@ -1,176 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: logss_pack.h -// Date: 2011-01-30 12:49:51 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __LOGSS_PACK_H__ -#define __LOGSS_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "ss_head.h" -#include "const_macro.h" - -using namespace std; - -enum LOG_REQUEST -{ - SS_REQ_LOG = 0x2, - -}; - -enum LOG_RESPONSE -{ - SS_RSP_LOG = 0x1, - -}; - -struct SLogServerInfo -{ -public: - SLogServerInfo() - { - } - - ~SLogServerInfo() { } - SLogServerInfo(const string& strMachineInfo, const string& strType) - { - m_machineInfo = strMachineInfo; - m_type = strType; - } - SLogServerInfo& operator=( const SLogServerInfo& sLogServerInfo ) - { - m_machineInfo = sLogServerInfo.m_machineInfo; - m_type = sLogServerInfo.m_type; - return *this; - } - - string m_machineInfo; - string m_type; - -public: - uint32_t Size() const; -}; - -inline uint32_t SLogServerInfo::Size() const -{ - uint32_t nSize = 11; - nSize += m_machineInfo.length(); - nSize += m_type.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SLogServerInfo& sLogServerInfo ); -CPackData& operator>> ( CPackData& cPackData, SLogServerInfo& sLogServerInfo ); - -class CSsReqLog : public CPackData -{ -public: - enum - { - CMD_ID = SS_REQ_LOG - }; - CSsReqLog() - { - } - - ~CSsReqLog() { } - CSsReqLog(const SLogServerInfo& sHostInfo, const string& strWarnInfo) - { - m_hostInfo = sHostInfo; - m_warnInfo = strWarnInfo; - } - CSsReqLog& operator=( const CSsReqLog& cSsReqLog ) - { - m_hostInfo = cSsReqLog.m_hostInfo; - m_warnInfo = cSsReqLog.m_warnInfo; - return *this; - } - - const SLogServerInfo& GetHostInfo () const { return m_hostInfo; } - bool SetHostInfo ( const SLogServerInfo& sHostInfo ) - { - m_hostInfo = sHostInfo; - return true; - } - const string& GetWarnInfo () const { return m_warnInfo; } - bool SetWarnInfo ( const string& strWarnInfo ) - { - m_warnInfo = strWarnInfo; - return true; - } -private: - SLogServerInfo m_hostInfo; - string m_warnInfo; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsReqLog::Size() const -{ - uint32_t nSize = 7; - nSize += m_hostInfo.Size(); - nSize += m_warnInfo.length(); - return nSize; -} - -class CSsRspLog : public CPackData -{ -public: - enum - { - CMD_ID = SS_RSP_LOG - }; - CSsRspLog() - { - } - - ~CSsRspLog() { } - CSsRspLog(const string& strInfo) - { - m_info = strInfo; - } - CSsRspLog& operator=( const CSsRspLog& cSsRspLog ) - { - m_info = cSsRspLog.m_info; - return *this; - } - - const string& GetInfo () const { return m_info; } - bool SetInfo ( const string& strInfo ) - { - m_info = strInfo; - return true; - } -private: - string m_info; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsRspLog::Size() const -{ - uint32_t nSize = 6; - nSize += m_info.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/md5hash.h b/features/aliww/include/md5hash.h deleted file mode 100644 index 52bfe25..0000000 --- a/features/aliww/include/md5hash.h +++ /dev/null @@ -1,34 +0,0 @@ -#pragma once -#include -#include - -class Md5Hash -{ -public: - Md5Hash(void); - ~Md5Hash(void); - static std::string GetMD5(const std::string& buf,bool bHex = false); - - - //RSA MD5 implementation - void Transform(const unsigned char Block[64]); - void Update( const unsigned char* Input, unsigned nInputLen); - std::string Final(bool bHex = false); - - inline unsigned RotateLeft(unsigned x, int n); - inline void FF( unsigned& A, unsigned B, unsigned C, unsigned D, unsigned X, unsigned S, unsigned T); - inline void GG( unsigned& A, unsigned B, unsigned C, unsigned D, unsigned X, unsigned S, unsigned T); - inline void HH( unsigned& A, unsigned B, unsigned C, unsigned D, unsigned X, unsigned S, unsigned T); - inline void II( unsigned& A, unsigned B, unsigned C, unsigned D, unsigned X, unsigned S, unsigned T); - //utility functions - void DWordToByte(unsigned char* Output, const unsigned* Input, unsigned nLength); - void ByteToDWord(unsigned* Output, const unsigned char* Input, unsigned nLength); - -private: -private: - unsigned char m_lpszBuffer[64]; //input buffer - unsigned m_nCount[2]; //number of bits, modulo 2^64 (lsb first) - unsigned m_lMD5[4]; //MD5 checksum - -}; - diff --git a/features/aliww/include/monitorsc_pack.h b/features/aliww/include/monitorsc_pack.h deleted file mode 100644 index 77bd098..0000000 --- a/features/aliww/include/monitorsc_pack.h +++ /dev/null @@ -1,376 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: monitorsc_pack.h -// Date: 2011-01-30 12:49:47 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __MONITORSC_PACK_H__ -#define __MONITORSC_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "des.h" -#include -#include "sc_head.h" -#include "const_macro.h" - -using namespace std; - -enum MONITOR_CMD -{ - SC_REQ_REGISTER = 0x1, - SC_RSP_REGISTER = 0x2, - SC_REQ_CANCEL_REGISTER = 0x3, - SC_RSP_CANCEL_REGISTER = 0x4, - SC_REQ_SVR_STATUS = 0x5, - -}; - -struct SAppServerInfo -{ -public: - SAppServerInfo() - { - } - - ~SAppServerInfo() { } - SAppServerInfo(const uint32_t& dwId, const string& strIdcname, const string& strIp, const string& strApptype, const string& strProcessname, const string& strMachineinfo, const string& strMonitortype, const uint32_t& dwInterval, const string& strVersion) - { - m_id = dwId; - m_idcname = strIdcname; - m_ip = strIp; - m_apptype = strApptype; - m_processname = strProcessname; - m_machineinfo = strMachineinfo; - m_monitortype = strMonitortype; - m_interval = dwInterval; - m_version = strVersion; - } - SAppServerInfo& operator=( const SAppServerInfo& sAppServerInfo ) - { - m_id = sAppServerInfo.m_id; - m_idcname = sAppServerInfo.m_idcname; - m_ip = sAppServerInfo.m_ip; - m_apptype = sAppServerInfo.m_apptype; - m_processname = sAppServerInfo.m_processname; - m_machineinfo = sAppServerInfo.m_machineinfo; - m_monitortype = sAppServerInfo.m_monitortype; - m_interval = sAppServerInfo.m_interval; - m_version = sAppServerInfo.m_version; - return *this; - } - - uint32_t m_id; - string m_idcname; - string m_ip; - string m_apptype; - string m_processname; - string m_machineinfo; - string m_monitortype; - uint32_t m_interval; - string m_version; - -public: - uint32_t Size() const; -}; - -inline uint32_t SAppServerInfo::Size() const -{ - uint32_t nSize = 46; - nSize += m_idcname.length(); - nSize += m_ip.length(); - nSize += m_apptype.length(); - nSize += m_processname.length(); - nSize += m_machineinfo.length(); - nSize += m_monitortype.length(); - nSize += m_version.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SAppServerInfo& sAppServerInfo ); -CPackData& operator>> ( CPackData& cPackData, SAppServerInfo& sAppServerInfo ); - -class CScReqRegister : public CPackData -{ -public: - enum - { - CMD_ID = SC_REQ_REGISTER - }; - CScReqRegister() - { - } - - ~CScReqRegister() { } - CScReqRegister(const SAppServerInfo& sInfo) - { - m_info = sInfo; - } - CScReqRegister& operator=( const CScReqRegister& cScReqRegister ) - { - m_info = cScReqRegister.m_info; - return *this; - } - - const SAppServerInfo& GetInfo () const { return m_info; } - bool SetInfo ( const SAppServerInfo& sInfo ) - { - m_info = sInfo; - return true; - } -private: - SAppServerInfo m_info; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CScReqRegister::Size() const -{ - uint32_t nSize = 2; - nSize += m_info.Size(); - return nSize; -} - -class CScRspRegister : public CPackData -{ -public: - enum - { - CMD_ID = SC_RSP_REGISTER - }; - CScRspRegister() - { - } - - ~CScRspRegister() { } - CScRspRegister(const uint32_t& dwRetcode, const uint32_t& dwId) - { - m_retcode = dwRetcode; - m_id = dwId; - } - CScRspRegister& operator=( const CScRspRegister& cScRspRegister ) - { - m_retcode = cScRspRegister.m_retcode; - m_id = cScRspRegister.m_id; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const uint32_t& GetId () const { return m_id; } - bool SetId ( const uint32_t& dwId ) - { - m_id = dwId; - return true; - } -private: - uint32_t m_retcode; - uint32_t m_id; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CScRspRegister::Size() const -{ - return 11; -} -class CScReqCancelRegister : public CPackData -{ -public: - enum - { - CMD_ID = SC_REQ_CANCEL_REGISTER - }; - CScReqCancelRegister() - { - } - - ~CScReqCancelRegister() { } - CScReqCancelRegister(const SAppServerInfo& sInfo) - { - m_info = sInfo; - } - CScReqCancelRegister& operator=( const CScReqCancelRegister& cScReqCancelRegister ) - { - m_info = cScReqCancelRegister.m_info; - return *this; - } - - const SAppServerInfo& GetInfo () const { return m_info; } - bool SetInfo ( const SAppServerInfo& sInfo ) - { - m_info = sInfo; - return true; - } -private: - SAppServerInfo m_info; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CScReqCancelRegister::Size() const -{ - uint32_t nSize = 2; - nSize += m_info.Size(); - return nSize; -} - -class CScRspCancelRegister : public CPackData -{ -public: - enum - { - CMD_ID = SC_RSP_CANCEL_REGISTER - }; - CScRspCancelRegister() - { - } - - ~CScRspCancelRegister() { } - CScRspCancelRegister(const uint32_t& dwRetcode) - { - m_retcode = dwRetcode; - } - CScRspCancelRegister& operator=( const CScRspCancelRegister& cScRspCancelRegister ) - { - m_retcode = cScRspCancelRegister.m_retcode; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } -private: - uint32_t m_retcode; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CScRspCancelRegister::Size() const -{ - return 6; -} -class CScReqSvrStatus : public CPackData -{ -public: - enum - { - CMD_ID = SC_REQ_SVR_STATUS - }; - CScReqSvrStatus() - { - } - - ~CScReqSvrStatus() { } - CScReqSvrStatus(const uint32_t& dwId, const uint32_t& dwStatus, const string& strDetail, const string& strExt, const uint32_t& dwTimeelapsed) - { - m_id = dwId; - m_status = dwStatus; - m_detail = strDetail; - m_ext = strExt; - m_timeelapsed = dwTimeelapsed; - } - CScReqSvrStatus& operator=( const CScReqSvrStatus& cScReqSvrStatus ) - { - m_id = cScReqSvrStatus.m_id; - m_status = cScReqSvrStatus.m_status; - m_detail = cScReqSvrStatus.m_detail; - m_ext = cScReqSvrStatus.m_ext; - m_timeelapsed = cScReqSvrStatus.m_timeelapsed; - return *this; - } - - const uint32_t& GetId () const { return m_id; } - bool SetId ( const uint32_t& dwId ) - { - m_id = dwId; - return true; - } - const uint32_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint32_t& dwStatus ) - { - m_status = dwStatus; - return true; - } - const string& GetDetail () const { return m_detail; } - bool SetDetail ( const string& strDetail ) - { - m_detail = strDetail; - return true; - } - const string& GetExt () const { return m_ext; } - bool SetExt ( const string& strExt ) - { - m_ext = strExt; - return true; - } - const uint32_t& GetTimeelapsed () const { return m_timeelapsed; } - bool SetTimeelapsed ( const uint32_t& dwTimeelapsed ) - { - m_timeelapsed = dwTimeelapsed; - return true; - } -private: - uint32_t m_id; - uint32_t m_status; - string m_detail; - string m_ext; - uint32_t m_timeelapsed; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CScReqSvrStatus::Size() const -{ - uint32_t nSize = 26; - nSize += m_detail.length(); - nSize += m_ext.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/mosInterface.h b/features/aliww/include/mosInterface.h deleted file mode 100644 index 194743b..0000000 --- a/features/aliww/include/mosInterface.h +++ /dev/null @@ -1,716 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `mosInterface.ice' - -#ifndef __mosInterface_h__ -#define __mosInterface_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AMOServer -{ - -class MOSInterface; -bool operator==(const MOSInterface&, const MOSInterface&); -bool operator!=(const MOSInterface&, const MOSInterface&); -bool operator<(const MOSInterface&, const MOSInterface&); -bool operator<=(const MOSInterface&, const MOSInterface&); -bool operator>(const MOSInterface&, const MOSInterface&); -bool operator>=(const MOSInterface&, const MOSInterface&); - -} - -} - -namespace AMOServer -{ - -class MOSInterface; -bool operator==(const MOSInterface&, const MOSInterface&); -bool operator!=(const MOSInterface&, const MOSInterface&); -bool operator<(const MOSInterface&, const MOSInterface&); -bool operator<=(const MOSInterface&, const MOSInterface&); -bool operator>(const MOSInterface&, const MOSInterface&); -bool operator>=(const MOSInterface&, const MOSInterface&); - -} - -namespace IceInternal -{ - -void incRef(::AMOServer::MOSInterface*); -void decRef(::AMOServer::MOSInterface*); - -void incRef(::IceProxy::AMOServer::MOSInterface*); -void decRef(::IceProxy::AMOServer::MOSInterface*); - -} - -namespace AMOServer -{ - -typedef ::IceInternal::Handle< ::AMOServer::MOSInterface> MOSInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AMOServer::MOSInterface> MOSInterfacePrx; - -void __write(::IceInternal::BasicStream*, const MOSInterfacePrx&); -void __read(::IceInternal::BasicStream*, MOSInterfacePrx&); -void __write(::IceInternal::BasicStream*, const MOSInterfacePtr&); -void __patch__MOSInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const MOSInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const MOSInterfacePtr&); -void __decRefUnsafe(const MOSInterfacePtr&); -void __clearHandleUnsafe(MOSInterfacePtr&); - -} - -namespace AMOServer -{ - -struct MosStatusIp -{ - ::std::string userId; - ::Ice::Short status; - ::Ice::Long ip; - - bool operator==(const MosStatusIp&) const; - bool operator!=(const MosStatusIp&) const; - bool operator<(const MosStatusIp&) const; - bool operator<=(const MosStatusIp& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const MosStatusIp& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const MosStatusIp& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct MosStatus -{ - ::std::string userId; - ::Ice::Short status; - - bool operator==(const MosStatus&) const; - bool operator!=(const MosStatus&) const; - bool operator<(const MosStatus&) const; - bool operator<=(const MosStatus& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const MosStatus& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const MosStatus& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct LoginTime -{ - ::std::string userId; - ::std::string time; - - bool operator==(const LoginTime&) const; - bool operator!=(const LoginTime&) const; - bool operator<(const LoginTime&) const; - bool operator<=(const LoginTime& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const LoginTime& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const LoginTime& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct UserInfo -{ - ::std::string userId; - ::std::string version; - ::Ice::Short status; - ::Ice::Long ip; - - bool operator==(const UserInfo&) const; - bool operator!=(const UserInfo&) const; - bool operator<(const UserInfo&) const; - bool operator<=(const UserInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const UserInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const UserInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct UserInfoEx -{ - ::std::string userId; - ::Ice::Short srvId; - ::Ice::Short status; - ::Ice::Short predefSts; - bool mobileOnlineFlag; - bool recvFlag; - ::Ice::Long ip; - ::Ice::Int lastLoginTime; - ::std::string version; - - bool operator==(const UserInfoEx&) const; - bool operator!=(const UserInfoEx&) const; - bool operator<(const UserInfoEx&) const; - bool operator<=(const UserInfoEx& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const UserInfoEx& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const UserInfoEx& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct GrpInfo -{ - ::std::string uid; - ::std::string groupName; - ::Ice::Int groupId; - ::Ice::Short status; - - bool operator==(const GrpInfo&) const; - bool operator!=(const GrpInfo&) const; - bool operator<(const GrpInfo&) const; - bool operator<=(const GrpInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const GrpInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const GrpInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::std::string> SICEUserIdSeq; - -class __U__SICEUserIdSeq { }; - -typedef ::std::vector< ::AMOServer::MosStatus> SICEMosStatusSeq; - -class __U__SICEMosStatusSeq { }; -void __write(::IceInternal::BasicStream*, const ::AMOServer::MosStatus*, const ::AMOServer::MosStatus*, __U__SICEMosStatusSeq); -void __read(::IceInternal::BasicStream*, SICEMosStatusSeq&, __U__SICEMosStatusSeq); - -typedef ::std::vector< ::AMOServer::MosStatusIp> SICEMosStatusIpSeq; - -class __U__SICEMosStatusIpSeq { }; -void __write(::IceInternal::BasicStream*, const ::AMOServer::MosStatusIp*, const ::AMOServer::MosStatusIp*, __U__SICEMosStatusIpSeq); -void __read(::IceInternal::BasicStream*, SICEMosStatusIpSeq&, __U__SICEMosStatusIpSeq); - -typedef ::std::vector< ::AMOServer::LoginTime> SICELoginTimeSeq; - -class __U__SICELoginTimeSeq { }; -void __write(::IceInternal::BasicStream*, const ::AMOServer::LoginTime*, const ::AMOServer::LoginTime*, __U__SICELoginTimeSeq); -void __read(::IceInternal::BasicStream*, SICELoginTimeSeq&, __U__SICELoginTimeSeq); - -typedef ::std::vector< ::AMOServer::UserInfo> SICEUserInfoSeq; - -class __U__SICEUserInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AMOServer::UserInfo*, const ::AMOServer::UserInfo*, __U__SICEUserInfoSeq); -void __read(::IceInternal::BasicStream*, SICEUserInfoSeq&, __U__SICEUserInfoSeq); - -typedef ::std::vector< ::Ice::Int> SICEGrpIdSeq; - -class __U__SICEGrpIdSeq { }; - -typedef ::std::vector< ::AMOServer::GrpInfo> SICEGrpInfoSeq; - -class __U__SICEGrpInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::AMOServer::GrpInfo*, const ::AMOServer::GrpInfo*, __U__SICEGrpInfoSeq); -void __read(::IceInternal::BasicStream*, SICEGrpInfoSeq&, __U__SICEGrpInfoSeq); - -} - -namespace IceProxy -{ - -namespace AMOServer -{ - -class MOSInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int getUserStatus(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusSeq& mosStatusList) - { - return getUserStatus(userList, mosStatusList, 0); - } - ::Ice::Int getUserStatus(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusSeq& mosStatusList, const ::Ice::Context& __ctx) - { - return getUserStatus(userList, mosStatusList, &__ctx); - } - -private: - - ::Ice::Int getUserStatus(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserStatusIp(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusIpSeq& mosStatusList) - { - return getUserStatusIp(userList, mosStatusList, 0); - } - ::Ice::Int getUserStatusIp(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusIpSeq& mosStatusList, const ::Ice::Context& __ctx) - { - return getUserStatusIp(userList, mosStatusList, &__ctx); - } - -private: - - ::Ice::Int getUserStatusIp(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusIpSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserRealStatus(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusSeq& mosStatusList) - { - return getUserRealStatus(userList, mosStatusList, 0); - } - ::Ice::Int getUserRealStatus(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusSeq& mosStatusList, const ::Ice::Context& __ctx) - { - return getUserRealStatus(userList, mosStatusList, &__ctx); - } - -private: - - ::Ice::Int getUserRealStatus(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserRealStatusIp(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusIpSeq& mosStatusList) - { - return getUserRealStatusIp(userList, mosStatusList, 0); - } - ::Ice::Int getUserRealStatusIp(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusIpSeq& mosStatusList, const ::Ice::Context& __ctx) - { - return getUserRealStatusIp(userList, mosStatusList, &__ctx); - } - -private: - - ::Ice::Int getUserRealStatusIp(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusIpSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserLastLoginTime(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICELoginTimeSeq& loginTimeList) - { - return getUserLastLoginTime(userList, loginTimeList, 0); - } - ::Ice::Int getUserLastLoginTime(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICELoginTimeSeq& loginTimeList, const ::Ice::Context& __ctx) - { - return getUserLastLoginTime(userList, loginTimeList, &__ctx); - } - -private: - - ::Ice::Int getUserLastLoginTime(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICELoginTimeSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserCount(::Ice::Short type, ::Ice::Long arg1, const ::std::string& arg2, ::Ice::Long& count) - { - return getUserCount(type, arg1, arg2, count, 0); - } - ::Ice::Int getUserCount(::Ice::Short type, ::Ice::Long arg1, const ::std::string& arg2, ::Ice::Long& count, const ::Ice::Context& __ctx) - { - return getUserCount(type, arg1, arg2, count, &__ctx); - } - -private: - - ::Ice::Int getUserCount(::Ice::Short, ::Ice::Long, const ::std::string&, ::Ice::Long&, const ::Ice::Context*); - -public: - - ::Ice::Int getIpUsers(::Ice::Long ip, ::Ice::Long count, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList) - { - return getIpUsers(ip, count, allCount, uidList, 0); - } - ::Ice::Int getIpUsers(::Ice::Long ip, ::Ice::Long count, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList, const ::Ice::Context& __ctx) - { - return getIpUsers(ip, count, allCount, uidList, &__ctx); - } - -private: - - ::Ice::Int getIpUsers(::Ice::Long, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getIpUsersEx(::Ice::Long ip, ::Ice::Long count, ::Ice::Long netcode, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList) - { - return getIpUsersEx(ip, count, netcode, allCount, uidList, 0); - } - ::Ice::Int getIpUsersEx(::Ice::Long ip, ::Ice::Long count, ::Ice::Long netcode, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList, const ::Ice::Context& __ctx) - { - return getIpUsersEx(ip, count, netcode, allCount, uidList, &__ctx); - } - -private: - - ::Ice::Int getIpUsersEx(::Ice::Long, ::Ice::Long, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getSameIpSiteUsers(const ::std::string& uid, ::Ice::Long count, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList) - { - return getSameIpSiteUsers(uid, count, allCount, uidList, 0); - } - ::Ice::Int getSameIpSiteUsers(const ::std::string& uid, ::Ice::Long count, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList, const ::Ice::Context& __ctx) - { - return getSameIpSiteUsers(uid, count, allCount, uidList, &__ctx); - } - -private: - - ::Ice::Int getSameIpSiteUsers(const ::std::string&, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getOnlineUsers(::Ice::Short netcode, ::Ice::Short onlineType, ::AMOServer::SICEUserInfoSeq& userlist) - { - return getOnlineUsers(netcode, onlineType, userlist, 0); - } - ::Ice::Int getOnlineUsers(::Ice::Short netcode, ::Ice::Short onlineType, ::AMOServer::SICEUserInfoSeq& userlist, const ::Ice::Context& __ctx) - { - return getOnlineUsers(netcode, onlineType, userlist, &__ctx); - } - -private: - - ::Ice::Int getOnlineUsers(::Ice::Short, ::Ice::Short, ::AMOServer::SICEUserInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getOnlineUser(const ::std::string& uid, ::AMOServer::UserInfo& ui) - { - return getOnlineUser(uid, ui, 0); - } - ::Ice::Int getOnlineUser(const ::std::string& uid, ::AMOServer::UserInfo& ui, const ::Ice::Context& __ctx) - { - return getOnlineUser(uid, ui, &__ctx); - } - -private: - - ::Ice::Int getOnlineUser(const ::std::string&, ::AMOServer::UserInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int getOnlineUserEx(const ::std::string& uid, ::AMOServer::UserInfoEx& ui) - { - return getOnlineUserEx(uid, ui, 0); - } - ::Ice::Int getOnlineUserEx(const ::std::string& uid, ::AMOServer::UserInfoEx& ui, const ::Ice::Context& __ctx) - { - return getOnlineUserEx(uid, ui, &__ctx); - } - -private: - - ::Ice::Int getOnlineUserEx(const ::std::string&, ::AMOServer::UserInfoEx&, const ::Ice::Context*); - -public: - - ::Ice::Int getEhmsGrpSts(const ::std::string& uid, const ::AMOServer::SICEGrpIdSeq& grpIds, ::AMOServer::SICEGrpInfoSeq& grpList) - { - return getEhmsGrpSts(uid, grpIds, grpList, 0); - } - ::Ice::Int getEhmsGrpSts(const ::std::string& uid, const ::AMOServer::SICEGrpIdSeq& grpIds, ::AMOServer::SICEGrpInfoSeq& grpList, const ::Ice::Context& __ctx) - { - return getEhmsGrpSts(uid, grpIds, grpList, &__ctx); - } - -private: - - ::Ice::Int getEhmsGrpSts(const ::std::string&, const ::AMOServer::SICEGrpIdSeq&, ::AMOServer::SICEGrpInfoSeq&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AMOServer -{ - -class MOSInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int getUserStatus(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserStatusIp(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusIpSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserRealStatus(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserRealStatusIp(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusIpSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserLastLoginTime(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICELoginTimeSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserCount(::Ice::Short, ::Ice::Long, const ::std::string&, ::Ice::Long&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getIpUsers(::Ice::Long, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getIpUsersEx(::Ice::Long, ::Ice::Long, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getSameIpSiteUsers(const ::std::string&, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getOnlineUsers(::Ice::Short, ::Ice::Short, ::AMOServer::SICEUserInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getOnlineUser(const ::std::string&, ::AMOServer::UserInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getOnlineUserEx(const ::std::string&, ::AMOServer::UserInfoEx&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getEhmsGrpSts(const ::std::string&, const ::AMOServer::SICEGrpIdSeq&, ::AMOServer::SICEGrpInfoSeq&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AMOServer -{ - -class MOSInterface : virtual public ::IceDelegate::AMOServer::MOSInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int getUserStatus(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserStatusIp(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusIpSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserRealStatus(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserRealStatusIp(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusIpSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserLastLoginTime(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICELoginTimeSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserCount(::Ice::Short, ::Ice::Long, const ::std::string&, ::Ice::Long&, const ::Ice::Context*); - - virtual ::Ice::Int getIpUsers(::Ice::Long, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getIpUsersEx(::Ice::Long, ::Ice::Long, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getSameIpSiteUsers(const ::std::string&, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getOnlineUsers(::Ice::Short, ::Ice::Short, ::AMOServer::SICEUserInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getOnlineUser(const ::std::string&, ::AMOServer::UserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int getOnlineUserEx(const ::std::string&, ::AMOServer::UserInfoEx&, const ::Ice::Context*); - - virtual ::Ice::Int getEhmsGrpSts(const ::std::string&, const ::AMOServer::SICEGrpIdSeq&, ::AMOServer::SICEGrpInfoSeq&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AMOServer -{ - -class MOSInterface : virtual public ::IceDelegate::AMOServer::MOSInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int getUserStatus(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserStatusIp(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusIpSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserRealStatus(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserRealStatusIp(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusIpSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserLastLoginTime(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICELoginTimeSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserCount(::Ice::Short, ::Ice::Long, const ::std::string&, ::Ice::Long&, const ::Ice::Context*); - - virtual ::Ice::Int getIpUsers(::Ice::Long, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getIpUsersEx(::Ice::Long, ::Ice::Long, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getSameIpSiteUsers(const ::std::string&, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getOnlineUsers(::Ice::Short, ::Ice::Short, ::AMOServer::SICEUserInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getOnlineUser(const ::std::string&, ::AMOServer::UserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int getOnlineUserEx(const ::std::string&, ::AMOServer::UserInfoEx&, const ::Ice::Context*); - - virtual ::Ice::Int getEhmsGrpSts(const ::std::string&, const ::AMOServer::SICEGrpIdSeq&, ::AMOServer::SICEGrpInfoSeq&, const ::Ice::Context*); -}; - -} - -} - -namespace AMOServer -{ - -class MOSInterface : virtual public ::Ice::Object -{ -public: - - typedef MOSInterfacePrx ProxyType; - typedef MOSInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int getUserStatus(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserStatusIp(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusIpSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserStatusIp(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserRealStatus(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserRealStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserRealStatusIp(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICEMosStatusIpSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserRealStatusIp(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserLastLoginTime(const ::AMOServer::SICEUserIdSeq&, ::AMOServer::SICELoginTimeSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserLastLoginTime(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserCount(::Ice::Short, ::Ice::Long, const ::std::string&, ::Ice::Long&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserCount(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getIpUsers(::Ice::Long, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getIpUsers(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getIpUsersEx(::Ice::Long, ::Ice::Long, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getIpUsersEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getSameIpSiteUsers(const ::std::string&, ::Ice::Long, ::Ice::Long&, ::AMOServer::SICEUserIdSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getSameIpSiteUsers(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getOnlineUsers(::Ice::Short, ::Ice::Short, ::AMOServer::SICEUserInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getOnlineUsers(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getOnlineUser(const ::std::string&, ::AMOServer::UserInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getOnlineUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getOnlineUserEx(const ::std::string&, ::AMOServer::UserInfoEx&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getOnlineUserEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getEhmsGrpSts(const ::std::string&, const ::AMOServer::SICEGrpIdSeq&, ::AMOServer::SICEGrpInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getEhmsGrpSts(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__MOSInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/mos_perf_test.h b/features/aliww/include/mos_perf_test.h deleted file mode 100644 index 404dd0f..0000000 --- a/features/aliww/include/mos_perf_test.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef _MOS_PERF_TEST_H -#define _MOS_PERF_TEST_H - -#include "paramutil.h" -#include "cbenchmark.h" -#include "mosInterface.h" -#include -#include - -using namespace std; -using namespace Ice; -using namespace AMOServer; - -typedef struct mos_t{ - MOSInterfacePrx *mos; - Ice::CommunicatorPtr *ic; -}mos_st; - -#ifdef __cplusplus -extern "C" { -#endif - -void* mos_init(void *p); -void* mos_end(void *p); - -void* mos_getUserStatus(void *p); -void* mos_getUserCount(void *p); -#ifdef __cplusplus -} -#endif -#endif diff --git a/features/aliww/include/mpcsc_pack.h b/features/aliww/include/mpcsc_pack.h deleted file mode 100644 index ec98733..0000000 --- a/features/aliww/include/mpcsc_pack.h +++ /dev/null @@ -1,898 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: mpcsc_pack.h -// Date: 2011-01-30 12:50:22 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __MPCSC_PACK_H__ -#define __MPCSC_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "des.h" -#include -#include "sc_head.h" -#include "const_macro.h" - -using namespace std; - -enum MPCSC_REQUEST -{ - IM_REQ_CREATECHATROOM = 0xd000001, - MPCS_REQ_JOINCHATROOM = 0xd000002, - MPCS_REQ_EXITCHATROOM = 0xd000003, - MPCS_REQ_GETCHATROOMUSERS = 0xd000004, - MPCS_REQ_SEND_MPCMSG = 0xd000005, - -}; - -enum MPCSC_RESPONSE -{ - IM_RSP_CREATECHATROOM = 0xd010001, - MPCS_RSP_JOINCHATROOM = 0xd010002, - MPCS_RSP_EXITCHATROOM = 0xd010003, - MPCS_RSP_GETCHATROOMUSERS = 0xd010004, - MPCS_RSP_SEND_MPCMSG = 0xd010005, - -}; - -enum MPCSC_NOTIFY -{ - MPCS_NTF_MPCMSG = 0xd020005, - MPCS_NTF_CHATROOMSTATUS = 0xd020006, - MPCS_NTF_FORCEDISCONNECT = 0xd020007, - -}; - -class CImReqCreatechatroom : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CREATECHATROOM - }; - ~CImReqCreatechatroom() { } -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqCreatechatroom::Size() const -{ - return 1; -} -class CImRspCreatechatroom : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CREATECHATROOM - }; - CImRspCreatechatroom() - { - } - - ~CImRspCreatechatroom() { } - CImRspCreatechatroom(const uint8_t& chRetcode, const uint32_t& dwRoomId, const string& strPassword, const string& strMpcsIp, const uint16_t& wPort) - { - m_retcode = chRetcode; - m_roomId = dwRoomId; - m_password = strPassword; - m_mpcsIp = strMpcsIp; - m_port = wPort; - } - CImRspCreatechatroom& operator=( const CImRspCreatechatroom& cImRspCreatechatroom ) - { - m_retcode = cImRspCreatechatroom.m_retcode; - m_roomId = cImRspCreatechatroom.m_roomId; - m_password = cImRspCreatechatroom.m_password; - m_mpcsIp = cImRspCreatechatroom.m_mpcsIp; - m_port = cImRspCreatechatroom.m_port; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint32_t& GetRoomId () const { return m_roomId; } - bool SetRoomId ( const uint32_t& dwRoomId ) - { - m_roomId = dwRoomId; - return true; - } - const string& GetPassword () const { return m_password; } - bool SetPassword ( const string& strPassword ) - { - m_password = strPassword; - return true; - } - const string& GetMpcsIp () const { return m_mpcsIp; } - bool SetMpcsIp ( const string& strMpcsIp ) - { - m_mpcsIp = strMpcsIp; - return true; - } - const uint16_t& GetPort () const { return m_port; } - bool SetPort ( const uint16_t& wPort ) - { - m_port = wPort; - return true; - } -private: - uint8_t m_retcode; - uint32_t m_roomId; - string m_password; - string m_mpcsIp; - uint16_t m_port; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspCreatechatroom::Size() const -{ - uint32_t nSize = 21; - nSize += m_password.length(); - nSize += m_mpcsIp.length(); - return nSize; -} - -class CMpcsReqJoinchatroom : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_REQ_JOINCHATROOM - }; - CMpcsReqJoinchatroom() : m_fromId("") - { - } - - ~CMpcsReqJoinchatroom() { } - CMpcsReqJoinchatroom(const string& strUserId, const string& strPassword, const string& strVersion, const string& strFromId= "") - { - m_userId = strUserId; - m_password = strPassword; - m_version = strVersion; - m_fromId = strFromId; - } - CMpcsReqJoinchatroom& operator=( const CMpcsReqJoinchatroom& cMpcsReqJoinchatroom ) - { - m_userId = cMpcsReqJoinchatroom.m_userId; - m_password = cMpcsReqJoinchatroom.m_password; - m_version = cMpcsReqJoinchatroom.m_version; - m_fromId = cMpcsReqJoinchatroom.m_fromId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - m_userId = strUserId; - return true; - } - const string& GetPassword () const { return m_password; } - bool SetPassword ( const string& strPassword ) - { - m_password = strPassword; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - m_version = strVersion; - return true; - } - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - m_fromId = strFromId; - return true; - } -private: - string m_userId; - string m_password; - string m_version; - string m_fromId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CMpcsReqJoinchatroom::Size() const -{ - uint32_t nSize = 21; - nSize += m_userId.length(); - nSize += m_password.length(); - nSize += m_version.length(); - nSize += m_fromId.length(); - return nSize; -} - -class CMpcsRspJoinchatroom : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_RSP_JOINCHATROOM - }; - CMpcsRspJoinchatroom() - { - } - - ~CMpcsRspJoinchatroom() { } - CMpcsRspJoinchatroom(const uint8_t& chRetcode, const uint32_t& dwRoomId, const uint32_t& dwMaxMember) - { - m_retcode = chRetcode; - m_roomId = dwRoomId; - m_maxMember = dwMaxMember; - } - CMpcsRspJoinchatroom& operator=( const CMpcsRspJoinchatroom& cMpcsRspJoinchatroom ) - { - m_retcode = cMpcsRspJoinchatroom.m_retcode; - m_roomId = cMpcsRspJoinchatroom.m_roomId; - m_maxMember = cMpcsRspJoinchatroom.m_maxMember; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint32_t& GetRoomId () const { return m_roomId; } - bool SetRoomId ( const uint32_t& dwRoomId ) - { - m_roomId = dwRoomId; - return true; - } - const uint32_t& GetMaxMember () const { return m_maxMember; } - bool SetMaxMember ( const uint32_t& dwMaxMember ) - { - m_maxMember = dwMaxMember; - return true; - } -private: - uint8_t m_retcode; - uint32_t m_roomId; - uint32_t m_maxMember; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CMpcsRspJoinchatroom::Size() const -{ - return 13; -} -class CMpcsReqExitchatroom : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_REQ_EXITCHATROOM - }; - CMpcsReqExitchatroom() - { - } - - ~CMpcsReqExitchatroom() { } - CMpcsReqExitchatroom(const string& strUserId) - { - m_userId = strUserId; - } - CMpcsReqExitchatroom& operator=( const CMpcsReqExitchatroom& cMpcsReqExitchatroom ) - { - m_userId = cMpcsReqExitchatroom.m_userId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - m_userId = strUserId; - return true; - } -private: - string m_userId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CMpcsReqExitchatroom::Size() const -{ - uint32_t nSize = 6; - nSize += m_userId.length(); - return nSize; -} - -class CMpcsRspExitchatroom : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_RSP_EXITCHATROOM - }; - CMpcsRspExitchatroom() - { - } - - ~CMpcsRspExitchatroom() { } - CMpcsRspExitchatroom(const uint8_t& chRetcode, const uint32_t& dwRoomId) - { - m_retcode = chRetcode; - m_roomId = dwRoomId; - } - CMpcsRspExitchatroom& operator=( const CMpcsRspExitchatroom& cMpcsRspExitchatroom ) - { - m_retcode = cMpcsRspExitchatroom.m_retcode; - m_roomId = cMpcsRspExitchatroom.m_roomId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint32_t& GetRoomId () const { return m_roomId; } - bool SetRoomId ( const uint32_t& dwRoomId ) - { - m_roomId = dwRoomId; - return true; - } -private: - uint8_t m_retcode; - uint32_t m_roomId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CMpcsRspExitchatroom::Size() const -{ - return 8; -} -class CMpcsReqGetchatroomusers : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_REQ_GETCHATROOMUSERS - }; - CMpcsReqGetchatroomusers() - { - } - - ~CMpcsReqGetchatroomusers() { } - CMpcsReqGetchatroomusers(const string& strUserId) - { - m_userId = strUserId; - } - CMpcsReqGetchatroomusers& operator=( const CMpcsReqGetchatroomusers& cMpcsReqGetchatroomusers ) - { - m_userId = cMpcsReqGetchatroomusers.m_userId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - m_userId = strUserId; - return true; - } -private: - string m_userId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CMpcsReqGetchatroomusers::Size() const -{ - uint32_t nSize = 6; - nSize += m_userId.length(); - return nSize; -} - -class CMpcsRspGetchatroomusers : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_RSP_GETCHATROOMUSERS - }; - CMpcsRspGetchatroomusers() - { - } - - ~CMpcsRspGetchatroomusers() { } - CMpcsRspGetchatroomusers(const uint8_t& chRetcode, const uint32_t& dwRoomId, const VECTOR< string >& vecUserList) - { - m_retcode = chRetcode; - m_roomId = dwRoomId; - m_userList = vecUserList; - } - CMpcsRspGetchatroomusers& operator=( const CMpcsRspGetchatroomusers& cMpcsRspGetchatroomusers ) - { - m_retcode = cMpcsRspGetchatroomusers.m_retcode; - m_roomId = cMpcsRspGetchatroomusers.m_roomId; - m_userList = cMpcsRspGetchatroomusers.m_userList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint32_t& GetRoomId () const { return m_roomId; } - bool SetRoomId ( const uint32_t& dwRoomId ) - { - m_roomId = dwRoomId; - return true; - } - const VECTOR< string >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< string >& vecUserList ) - { - m_userList = vecUserList; - return true; - } -private: - uint8_t m_retcode; - uint32_t m_roomId; - VECTOR< string > m_userList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CMpcsRspGetchatroomusers::Size() const -{ - uint32_t nSize = 14; - nSize += m_userList.size() * 4; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].length(); - } - return nSize; -} - -class CMpcsReqSendMpcmsg : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_REQ_SEND_MPCMSG - }; - CMpcsReqSendMpcmsg() - { - } - - ~CMpcsReqSendMpcmsg() { } - CMpcsReqSendMpcmsg(const string& strUserId, const uint8_t& chType, const string& strTargetId, const string& strMessage) - { - m_userId = strUserId; - m_type = chType; - m_targetId = strTargetId; - m_message = strMessage; - } - CMpcsReqSendMpcmsg& operator=( const CMpcsReqSendMpcmsg& cMpcsReqSendMpcmsg ) - { - m_userId = cMpcsReqSendMpcmsg.m_userId; - m_type = cMpcsReqSendMpcmsg.m_type; - m_targetId = cMpcsReqSendMpcmsg.m_targetId; - m_message = cMpcsReqSendMpcmsg.m_message; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - m_userId = strUserId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetTargetId () const { return m_targetId; } - bool SetTargetId ( const string& strTargetId ) - { - m_targetId = strTargetId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_userId; - uint8_t m_type; - string m_targetId; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CMpcsReqSendMpcmsg::Size() const -{ - uint32_t nSize = 18; - nSize += m_userId.length(); - nSize += m_targetId.length(); - nSize += m_message.length(); - return nSize; -} - -class CMpcsRspSendMpcmsg : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_RSP_SEND_MPCMSG - }; - CMpcsRspSendMpcmsg() - { - } - - ~CMpcsRspSendMpcmsg() { } - CMpcsRspSendMpcmsg(const uint8_t& chRetcode, const uint32_t& dwRoomId, const uint8_t& chType, const string& strTargetId, const string& strMessage) - { - m_retcode = chRetcode; - m_roomId = dwRoomId; - m_type = chType; - m_targetId = strTargetId; - m_message = strMessage; - } - CMpcsRspSendMpcmsg& operator=( const CMpcsRspSendMpcmsg& cMpcsRspSendMpcmsg ) - { - m_retcode = cMpcsRspSendMpcmsg.m_retcode; - m_roomId = cMpcsRspSendMpcmsg.m_roomId; - m_type = cMpcsRspSendMpcmsg.m_type; - m_targetId = cMpcsRspSendMpcmsg.m_targetId; - m_message = cMpcsRspSendMpcmsg.m_message; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint32_t& GetRoomId () const { return m_roomId; } - bool SetRoomId ( const uint32_t& dwRoomId ) - { - m_roomId = dwRoomId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetTargetId () const { return m_targetId; } - bool SetTargetId ( const string& strTargetId ) - { - m_targetId = strTargetId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - uint8_t m_retcode; - uint32_t m_roomId; - uint8_t m_type; - string m_targetId; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CMpcsRspSendMpcmsg::Size() const -{ - uint32_t nSize = 20; - nSize += m_targetId.length(); - nSize += m_message.length(); - return nSize; -} - -class CMpcsNtfMpcmsg : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_NTF_MPCMSG - }; - CMpcsNtfMpcmsg() - { - } - - ~CMpcsNtfMpcmsg() { } - CMpcsNtfMpcmsg(const string& strUserId, const uint32_t& dwRoomId, const uint8_t& chType, const string& strTargetId, const string& strMessage) - { - m_userId = strUserId; - m_roomId = dwRoomId; - m_type = chType; - m_targetId = strTargetId; - m_message = strMessage; - } - CMpcsNtfMpcmsg& operator=( const CMpcsNtfMpcmsg& cMpcsNtfMpcmsg ) - { - m_userId = cMpcsNtfMpcmsg.m_userId; - m_roomId = cMpcsNtfMpcmsg.m_roomId; - m_type = cMpcsNtfMpcmsg.m_type; - m_targetId = cMpcsNtfMpcmsg.m_targetId; - m_message = cMpcsNtfMpcmsg.m_message; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - m_userId = strUserId; - return true; - } - const uint32_t& GetRoomId () const { return m_roomId; } - bool SetRoomId ( const uint32_t& dwRoomId ) - { - m_roomId = dwRoomId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetTargetId () const { return m_targetId; } - bool SetTargetId ( const string& strTargetId ) - { - m_targetId = strTargetId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_userId; - uint32_t m_roomId; - uint8_t m_type; - string m_targetId; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CMpcsNtfMpcmsg::Size() const -{ - uint32_t nSize = 23; - nSize += m_userId.length(); - nSize += m_targetId.length(); - nSize += m_message.length(); - return nSize; -} - -class CMpcsNtfChatroomstatus : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_NTF_CHATROOMSTATUS - }; - CMpcsNtfChatroomstatus() - { - } - - ~CMpcsNtfChatroomstatus() { } - CMpcsNtfChatroomstatus(const uint32_t& dwRoomId, const uint8_t& chType, const string& strUserId) - { - m_roomId = dwRoomId; - m_type = chType; - m_userId = strUserId; - } - CMpcsNtfChatroomstatus& operator=( const CMpcsNtfChatroomstatus& cMpcsNtfChatroomstatus ) - { - m_roomId = cMpcsNtfChatroomstatus.m_roomId; - m_type = cMpcsNtfChatroomstatus.m_type; - m_userId = cMpcsNtfChatroomstatus.m_userId; - return *this; - } - - const uint32_t& GetRoomId () const { return m_roomId; } - bool SetRoomId ( const uint32_t& dwRoomId ) - { - m_roomId = dwRoomId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - m_userId = strUserId; - return true; - } -private: - uint32_t m_roomId; - uint8_t m_type; - string m_userId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CMpcsNtfChatroomstatus::Size() const -{ - uint32_t nSize = 13; - nSize += m_userId.length(); - return nSize; -} - -class CMpcsNtfForcedisconnect : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_NTF_FORCEDISCONNECT - }; - CMpcsNtfForcedisconnect() - { - } - - ~CMpcsNtfForcedisconnect() { } - CMpcsNtfForcedisconnect(const uint32_t& dwRoomId, const uint8_t& chType, const string& strRemark) - { - m_roomId = dwRoomId; - m_type = chType; - m_remark = strRemark; - } - CMpcsNtfForcedisconnect& operator=( const CMpcsNtfForcedisconnect& cMpcsNtfForcedisconnect ) - { - m_roomId = cMpcsNtfForcedisconnect.m_roomId; - m_type = cMpcsNtfForcedisconnect.m_type; - m_remark = cMpcsNtfForcedisconnect.m_remark; - return *this; - } - - const uint32_t& GetRoomId () const { return m_roomId; } - bool SetRoomId ( const uint32_t& dwRoomId ) - { - m_roomId = dwRoomId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - m_remark = strRemark; - return true; - } -private: - uint32_t m_roomId; - uint8_t m_type; - string m_remark; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CMpcsNtfForcedisconnect::Size() const -{ - uint32_t nSize = 13; - nSize += m_remark.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/mpcss_pack.h b/features/aliww/include/mpcss_pack.h deleted file mode 100644 index 41cba81..0000000 --- a/features/aliww/include/mpcss_pack.h +++ /dev/null @@ -1,465 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: mpcss_pack.h -// Date: 2011-01-30 12:50:24 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __MPCSS_PACK_H__ -#define __MPCSS_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "ss_head.h" -#include "const_macro.h" - -using namespace std; - -enum MPCSS_REQUEST -{ - MPCS_SS_REQ_CREATECHATROOM = 0xd100001, - MPCS_SS_REQ_TRANSMSG = 0xd100010, - -}; - -enum MPCSS_RESPONSE -{ - MPCS_SS_RSP_CREATECHATROOM = 0xd110001, - MPCS_SS_RSP_TRANSMSG = 0xd110010, - -}; - -enum MPCSS_NOTIFY -{ - MPCS_SS_NTF_EXITCHATROOM = 0xd110003, - MPCS_SS_NTF_FORCEDISCONNECT = 0xd110007, - MPCS_SS_NTF_ROOMUSERINFO = 0xd110008, - -}; - -class CMpcsSsReqCreatechatroom : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_SS_REQ_CREATECHATROOM - }; - ~CMpcsSsReqCreatechatroom() { } -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CMpcsSsReqCreatechatroom::Size() const -{ - return 1; -} -class CMpcsSsRspCreatechatroom : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_SS_RSP_CREATECHATROOM - }; - CMpcsSsRspCreatechatroom() - { - } - - ~CMpcsSsRspCreatechatroom() { } - CMpcsSsRspCreatechatroom(const uint8_t& chRetcode, const uint32_t& dwRoomId, const string& strPassword, const string& strMpcsIp, const uint16_t& wPort) - { - m_retcode = chRetcode; - m_roomId = dwRoomId; - m_password = strPassword; - m_mpcsIp = strMpcsIp; - m_port = wPort; - } - CMpcsSsRspCreatechatroom& operator=( const CMpcsSsRspCreatechatroom& cMpcsSsRspCreatechatroom ) - { - m_retcode = cMpcsSsRspCreatechatroom.m_retcode; - m_roomId = cMpcsSsRspCreatechatroom.m_roomId; - m_password = cMpcsSsRspCreatechatroom.m_password; - m_mpcsIp = cMpcsSsRspCreatechatroom.m_mpcsIp; - m_port = cMpcsSsRspCreatechatroom.m_port; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint32_t& GetRoomId () const { return m_roomId; } - bool SetRoomId ( const uint32_t& dwRoomId ) - { - m_roomId = dwRoomId; - return true; - } - const string& GetPassword () const { return m_password; } - bool SetPassword ( const string& strPassword ) - { - m_password = strPassword; - return true; - } - const string& GetMpcsIp () const { return m_mpcsIp; } - bool SetMpcsIp ( const string& strMpcsIp ) - { - m_mpcsIp = strMpcsIp; - return true; - } - const uint16_t& GetPort () const { return m_port; } - bool SetPort ( const uint16_t& wPort ) - { - m_port = wPort; - return true; - } -private: - uint8_t m_retcode; - uint32_t m_roomId; - string m_password; - string m_mpcsIp; - uint16_t m_port; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CMpcsSsRspCreatechatroom::Size() const -{ - uint32_t nSize = 21; - nSize += m_password.length(); - nSize += m_mpcsIp.length(); - return nSize; -} - -class CMpcsSsNtfExitchatroom : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_SS_NTF_EXITCHATROOM - }; - CMpcsSsNtfExitchatroom() - { - } - - ~CMpcsSsNtfExitchatroom() { } - CMpcsSsNtfExitchatroom(const string& strUserId, const VECTOR< uint32_t >& vecRoomList) - { - m_userId = strUserId; - m_roomList = vecRoomList; - } - CMpcsSsNtfExitchatroom& operator=( const CMpcsSsNtfExitchatroom& cMpcsSsNtfExitchatroom ) - { - m_userId = cMpcsSsNtfExitchatroom.m_userId; - m_roomList = cMpcsSsNtfExitchatroom.m_roomList; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - m_userId = strUserId; - return true; - } - const VECTOR< uint32_t >& GetRoomList () const { return m_roomList; } - bool SetRoomList ( const VECTOR< uint32_t >& vecRoomList ) - { - m_roomList = vecRoomList; - return true; - } -private: - string m_userId; - VECTOR< uint32_t > m_roomList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CMpcsSsNtfExitchatroom::Size() const -{ - uint32_t nSize = 12; - nSize += m_userId.length(); - nSize += m_roomList.size() * 4; - return nSize; -} - -class CMpcsSsReqTransmsg : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_SS_REQ_TRANSMSG - }; - CMpcsSsReqTransmsg() - { - } - - ~CMpcsSsReqTransmsg() { } - CMpcsSsReqTransmsg(const uint32_t& dwRoomId, const int32_t& lFd, const string& strPacket) - { - m_roomId = dwRoomId; - m_fd = lFd; - m_packet = strPacket; - } - CMpcsSsReqTransmsg& operator=( const CMpcsSsReqTransmsg& cMpcsSsReqTransmsg ) - { - m_roomId = cMpcsSsReqTransmsg.m_roomId; - m_fd = cMpcsSsReqTransmsg.m_fd; - m_packet = cMpcsSsReqTransmsg.m_packet; - return *this; - } - - const uint32_t& GetRoomId () const { return m_roomId; } - bool SetRoomId ( const uint32_t& dwRoomId ) - { - m_roomId = dwRoomId; - return true; - } - const int32_t& GetFd () const { return m_fd; } - bool SetFd ( const int32_t& lFd ) - { - m_fd = lFd; - return true; - } - const string& GetPacket () const { return m_packet; } - bool SetPacket ( const string& strPacket ) - { - m_packet = strPacket; - return true; - } -private: - uint32_t m_roomId; - int32_t m_fd; - string m_packet; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CMpcsSsReqTransmsg::Size() const -{ - uint32_t nSize = 16; - nSize += m_packet.length(); - return nSize; -} - -class CMpcsSsRspTransmsg : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_SS_RSP_TRANSMSG - }; - CMpcsSsRspTransmsg() - { - } - - ~CMpcsSsRspTransmsg() { } - CMpcsSsRspTransmsg(const string& strUserId, const string& strDeskey, const string& strPacket) - { - m_userId = strUserId; - m_deskey = strDeskey; - m_packet = strPacket; - } - CMpcsSsRspTransmsg& operator=( const CMpcsSsRspTransmsg& cMpcsSsRspTransmsg ) - { - m_userId = cMpcsSsRspTransmsg.m_userId; - m_deskey = cMpcsSsRspTransmsg.m_deskey; - m_packet = cMpcsSsRspTransmsg.m_packet; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - m_userId = strUserId; - return true; - } - const string& GetDeskey () const { return m_deskey; } - bool SetDeskey ( const string& strDeskey ) - { - m_deskey = strDeskey; - return true; - } - const string& GetPacket () const { return m_packet; } - bool SetPacket ( const string& strPacket ) - { - m_packet = strPacket; - return true; - } -private: - string m_userId; - string m_deskey; - string m_packet; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CMpcsSsRspTransmsg::Size() const -{ - uint32_t nSize = 16; - nSize += m_userId.length(); - nSize += m_deskey.length(); - nSize += m_packet.length(); - return nSize; -} - -class CMpcsSsNtfForcedisconnect : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_SS_NTF_FORCEDISCONNECT - }; - CMpcsSsNtfForcedisconnect() - { - } - - ~CMpcsSsNtfForcedisconnect() { } - CMpcsSsNtfForcedisconnect(const string& strUserId) - { - m_userId = strUserId; - } - CMpcsSsNtfForcedisconnect& operator=( const CMpcsSsNtfForcedisconnect& cMpcsSsNtfForcedisconnect ) - { - m_userId = cMpcsSsNtfForcedisconnect.m_userId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - m_userId = strUserId; - return true; - } -private: - string m_userId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CMpcsSsNtfForcedisconnect::Size() const -{ - uint32_t nSize = 6; - nSize += m_userId.length(); - return nSize; -} - -class CMpcsSsNtfRoomuserinfo : public CPackData -{ -public: - enum - { - CMD_ID = MPCS_SS_NTF_ROOMUSERINFO - }; - CMpcsSsNtfRoomuserinfo() - { - } - - ~CMpcsSsNtfRoomuserinfo() { } - CMpcsSsNtfRoomuserinfo(const string& strUserId, const uint32_t& dwRoomId, const int32_t& lFd, const string& strVersion) - { - m_userId = strUserId; - m_roomId = dwRoomId; - m_fd = lFd; - m_version = strVersion; - } - CMpcsSsNtfRoomuserinfo& operator=( const CMpcsSsNtfRoomuserinfo& cMpcsSsNtfRoomuserinfo ) - { - m_userId = cMpcsSsNtfRoomuserinfo.m_userId; - m_roomId = cMpcsSsNtfRoomuserinfo.m_roomId; - m_fd = cMpcsSsNtfRoomuserinfo.m_fd; - m_version = cMpcsSsNtfRoomuserinfo.m_version; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - m_userId = strUserId; - return true; - } - const uint32_t& GetRoomId () const { return m_roomId; } - bool SetRoomId ( const uint32_t& dwRoomId ) - { - m_roomId = dwRoomId; - return true; - } - const int32_t& GetFd () const { return m_fd; } - bool SetFd ( const int32_t& lFd ) - { - m_fd = lFd; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - m_version = strVersion; - return true; - } -private: - string m_userId; - uint32_t m_roomId; - int32_t m_fd; - string m_version; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CMpcsSsNtfRoomuserinfo::Size() const -{ - uint32_t nSize = 21; - nSize += m_userId.length(); - nSize += m_version.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/msc_head.h b/features/aliww/include/msc_head.h deleted file mode 100644 index 489d8ec..0000000 --- a/features/aliww/include/msc_head.h +++ /dev/null @@ -1,118 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: msc_head.h -// Date: 2011-01-30 12:49:57 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __MSC_HEAD_H__ -#define __MSC_HEAD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -class CMscHead : public CPackData -{ -public: - ~CMscHead() { } - CMscHead(const uint8_t& chStarter= 0x8f, const uint16_t& wVersion= 0x0101, const uint8_t& chFlag= 0, const uint16_t& wCmd= 0, const uint32_t& dwSeq= 0, const uint16_t& wCc= 0, const uint32_t& dwLen= 0, const uint32_t& dwReserved= 0) - { - m_starter = chStarter; - m_version = wVersion; - m_flag = chFlag; - m_cmd = wCmd; - m_seq = dwSeq; - m_cc = wCc; - m_len = dwLen; - m_reserved = dwReserved; - } - CMscHead& operator=( const CMscHead& cMscHead ) - { - m_starter = cMscHead.m_starter; - m_version = cMscHead.m_version; - m_flag = cMscHead.m_flag; - m_cmd = cMscHead.m_cmd; - m_seq = cMscHead.m_seq; - m_cc = cMscHead.m_cc; - m_len = cMscHead.m_len; - m_reserved = cMscHead.m_reserved; - return *this; - } - -public: - uint8_t m_starter; - uint16_t m_version; - uint8_t m_flag; - uint16_t m_cmd; - uint32_t m_seq; - uint16_t m_cc; - uint32_t m_len; - uint32_t m_reserved; - -public: - void PackData(string& strData); - PACKRETCODE UnpackData(const string& strData); - uint32_t Size() const { return 20; } - uint8_t PeekStarter() - { - uint8_t chStarter; - SetInCursor(0); - *this >> chStarter; - return chStarter; - } - uint16_t PeekVersion() - { - uint16_t wVersion; - SetInCursor(1); - *this >> wVersion; - return wVersion; - } - uint8_t PeekFlag() - { - uint8_t chFlag; - SetInCursor(3); - *this >> chFlag; - return chFlag; - } - uint16_t PeekCmd() - { - uint16_t wCmd; - SetInCursor(4); - *this >> wCmd; - return wCmd; - } - uint32_t PeekSeq() - { - uint32_t dwSeq; - SetInCursor(6); - *this >> dwSeq; - return dwSeq; - } - uint16_t PeekCc() - { - uint16_t wCc; - SetInCursor(10); - *this >> wCc; - return wCc; - } - uint32_t PeekLen() - { - uint32_t dwLen; - SetInCursor(12); - *this >> dwLen; - return dwLen; - } - uint32_t PeekReserved() - { - uint32_t dwReserved; - SetInCursor(16); - *this >> dwReserved; - return dwReserved; - } -}; - -#endif diff --git a/features/aliww/include/ngsInterface.h b/features/aliww/include/ngsInterface.h deleted file mode 100644 index 4528feb..0000000 --- a/features/aliww/include/ngsInterface.h +++ /dev/null @@ -1,228 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `ngsInterface.ice' - -#ifndef __ngsInterface_h__ -#define __ngsInterface_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class NGSInterface; -bool operator==(const NGSInterface&, const NGSInterface&); -bool operator!=(const NGSInterface&, const NGSInterface&); -bool operator<(const NGSInterface&, const NGSInterface&); -bool operator<=(const NGSInterface&, const NGSInterface&); -bool operator>(const NGSInterface&, const NGSInterface&); -bool operator>=(const NGSInterface&, const NGSInterface&); - -} - -} - -namespace AliIM -{ - -class NGSInterface; -bool operator==(const NGSInterface&, const NGSInterface&); -bool operator!=(const NGSInterface&, const NGSInterface&); -bool operator<(const NGSInterface&, const NGSInterface&); -bool operator<=(const NGSInterface&, const NGSInterface&); -bool operator>(const NGSInterface&, const NGSInterface&); -bool operator>=(const NGSInterface&, const NGSInterface&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::NGSInterface*); -void decRef(::AliIM::NGSInterface*); - -void incRef(::IceProxy::AliIM::NGSInterface*); -void decRef(::IceProxy::AliIM::NGSInterface*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::NGSInterface> NGSInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::NGSInterface> NGSInterfacePrx; - -void __write(::IceInternal::BasicStream*, const NGSInterfacePrx&); -void __read(::IceInternal::BasicStream*, NGSInterfacePrx&); -void __write(::IceInternal::BasicStream*, const NGSInterfacePtr&); -void __patch__NGSInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const NGSInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const NGSInterfacePtr&); -void __decRefUnsafe(const NGSInterfacePtr&); -void __clearHandleUnsafe(NGSInterfacePtr&); - -} - -namespace AliIM -{ - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class NGSInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int notifyOperationTip(const ::std::string& uid, const ::std::string& cid, const ::std::string& message) - { - return notifyOperationTip(uid, cid, message, 0); - } - ::Ice::Int notifyOperationTip(const ::std::string& uid, const ::std::string& cid, const ::std::string& message, const ::Ice::Context& __ctx) - { - return notifyOperationTip(uid, cid, message, &__ctx); - } - -private: - - ::Ice::Int notifyOperationTip(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class NGSInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int notifyOperationTip(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class NGSInterface : virtual public ::IceDelegate::AliIM::NGSInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int notifyOperationTip(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class NGSInterface : virtual public ::IceDelegate::AliIM::NGSInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int notifyOperationTip(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class NGSInterface : virtual public ::Ice::Object -{ -public: - - typedef NGSInterfacePrx ProxyType; - typedef NGSInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int notifyOperationTip(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___notifyOperationTip(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__NGSInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/notifycontact.h b/features/aliww/include/notifycontact.h deleted file mode 100644 index 2fa3ddd..0000000 --- a/features/aliww/include/notifycontact.h +++ /dev/null @@ -1,253 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `notifycontact.ice' - -#ifndef __notifycontact_h__ -#define __notifycontact_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class NotifyContactInterface; -bool operator==(const NotifyContactInterface&, const NotifyContactInterface&); -bool operator!=(const NotifyContactInterface&, const NotifyContactInterface&); -bool operator<(const NotifyContactInterface&, const NotifyContactInterface&); -bool operator<=(const NotifyContactInterface&, const NotifyContactInterface&); -bool operator>(const NotifyContactInterface&, const NotifyContactInterface&); -bool operator>=(const NotifyContactInterface&, const NotifyContactInterface&); - -} - -} - -namespace AliIM -{ - -class NotifyContactInterface; -bool operator==(const NotifyContactInterface&, const NotifyContactInterface&); -bool operator!=(const NotifyContactInterface&, const NotifyContactInterface&); -bool operator<(const NotifyContactInterface&, const NotifyContactInterface&); -bool operator<=(const NotifyContactInterface&, const NotifyContactInterface&); -bool operator>(const NotifyContactInterface&, const NotifyContactInterface&); -bool operator>=(const NotifyContactInterface&, const NotifyContactInterface&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::NotifyContactInterface*); -void decRef(::AliIM::NotifyContactInterface*); - -void incRef(::IceProxy::AliIM::NotifyContactInterface*); -void decRef(::IceProxy::AliIM::NotifyContactInterface*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::NotifyContactInterface> NotifyContactInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::NotifyContactInterface> NotifyContactInterfacePrx; - -void __write(::IceInternal::BasicStream*, const NotifyContactInterfacePrx&); -void __read(::IceInternal::BasicStream*, NotifyContactInterfacePrx&); -void __write(::IceInternal::BasicStream*, const NotifyContactInterfacePtr&); -void __patch__NotifyContactInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const NotifyContactInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const NotifyContactInterfacePtr&); -void __decRefUnsafe(const NotifyContactInterfacePtr&); -void __clearHandleUnsafe(NotifyContactInterfacePtr&); - -} - -namespace AliIM -{ - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class NotifyContactInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int NotifyDelContact(const ::std::string& loginId, const ::std::string& contactId) - { - return NotifyDelContact(loginId, contactId, 0); - } - ::Ice::Int NotifyDelContact(const ::std::string& loginId, const ::std::string& contactId, const ::Ice::Context& __ctx) - { - return NotifyDelContact(loginId, contactId, &__ctx); - } - -private: - - ::Ice::Int NotifyDelContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int NotifyAddContact(const ::std::string& loginId, const ::std::string& contactId, const ::std::string& groupName, ::Ice::Int groupId) - { - return NotifyAddContact(loginId, contactId, groupName, groupId, 0); - } - ::Ice::Int NotifyAddContact(const ::std::string& loginId, const ::std::string& contactId, const ::std::string& groupName, ::Ice::Int groupId, const ::Ice::Context& __ctx) - { - return NotifyAddContact(loginId, contactId, groupName, groupId, &__ctx); - } - -private: - - ::Ice::Int NotifyAddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class NotifyContactInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int NotifyDelContact(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int NotifyAddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class NotifyContactInterface : virtual public ::IceDelegate::AliIM::NotifyContactInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int NotifyDelContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyAddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class NotifyContactInterface : virtual public ::IceDelegate::AliIM::NotifyContactInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int NotifyDelContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int NotifyAddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class NotifyContactInterface : virtual public ::Ice::Object -{ -public: - - typedef NotifyContactInterfacePrx ProxyType; - typedef NotifyContactInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int NotifyDelContact(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___NotifyDelContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int NotifyAddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___NotifyAddContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__NotifyContactInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/packdata.h b/features/aliww/include/packdata.h deleted file mode 100644 index 6d81d08..0000000 --- a/features/aliww/include/packdata.h +++ /dev/null @@ -1,856 +0,0 @@ -#ifndef __PACKDATA_H -#define __PACKDATA_H - -#include -#include -#include -#ifdef _WIN32 -#include -#include "zlib.h" -#else -#include -#include -#endif -#include "datatype.h" -#include "cow_container" - -#define MAX_RECORD_SIZE (10 * 1024 * 1024) -enum PACKRETCODE -{ - PACK_RIGHT=0, - - PACK_STARTER_ERROR, - PACK_VERSION_ERROR, - PACK_LENGTH_ERROR, - PACK_CHECKCODE_ERROR, - PACK_TYPEMATCH_ERROR, - PACK_INVALID, - PACK_SYSTEM_ERROR -}; - -enum FIELDTYPE -{ - FT_PACK = 0, - FT_INT8, - FT_UINT8, - FT_INT16, - FT_UINT16, - FT_INT32, - FT_UINT32, - FT_INT64, - FT_UINT64, - FT_STRUCT, - FT_MAP, - FT_STRING = 0x40, - FT_VECTOR = 0x50, -}; - -struct CFieldType -{ - FIELDTYPE m_baseType; - int m_packMode; - std::vector m_subType; -}; - -class CPackData -{ -public: - uint8_t CalcLrc(const std::string& data, uint32_t len) - { - if(data.length() < len) throw PACK_LENGTH_ERROR; - uint8_t lrc = 0; - for (std::string::size_type i = 0; i < len; i++) - { - lrc ^= (uint8_t)data[i]; - } - return lrc; - } - - static bool CompressData1(std::string& strData, uint32_t nHeadLen) - { - uLongf falllen = strData.size() - nHeadLen; - Bytef *buffer = new Bytef[falllen]; - uLongf bufflen = falllen; - bool ret = false; - const Bytef *src = (const Bytef *)(strData.data() + nHeadLen); - int zret = compress(buffer, &bufflen, src, falllen); - if(zret == Z_OK) - { - strData.resize(nHeadLen + bufflen); - strData.replace(nHeadLen, bufflen, (char *)buffer, bufflen); - ret = true; - } - - delete[] buffer; - return ret; - } - - static bool UncompressData1(std::string& strData, uint32_t nHeadLen, uint32_t offset) - { - uLongf bufflen = 8 * (strData.size() - nHeadLen); - const Bytef *src = (const Bytef *)strData.data() + nHeadLen; - uLongf srcLen = strData.size() - nHeadLen - offset; - int zret; - bool ret = false; - do{ - Bytef *buffer = new Bytef[bufflen]; - zret = uncompress(buffer, &bufflen, src, srcLen); - if(zret == Z_OK) - { - strData.resize(nHeadLen + bufflen); - strData.replace(nHeadLen, bufflen, (char *)buffer, bufflen); - ret = true; - } - bufflen <<= 1; - delete[] buffer; - } - while(zret == -5); - return ret; - } - - static bool CompressData2(std::string& strData, uint32_t nHeadLen) - { - uLongf falllen = strData.size() - nHeadLen; - Bytef *buffer = new Bytef[falllen]; - uLongf bufflen = falllen; - bool ret = false; - const Bytef *src = (const Bytef *)(strData.data() + nHeadLen); - int zret = compress(buffer, &bufflen, src, falllen); - if(zret == Z_OK) - { - strData.resize(nHeadLen + 4 + bufflen); - uint32_t nTmp = htonl((uint32_t)falllen); - strData.replace(nHeadLen, 4, (char *)&nTmp, 4); - strData.replace(nHeadLen + 4, bufflen, (char *)buffer, bufflen); - ret = true; - } - - delete[] buffer; - return ret; - } - - static bool UncompressData2(std::string& strData, uint32_t nHeadLen) - { - uint32_t nSize = ntohl(*(uint32_t *)(strData.c_str() + nHeadLen)); - uLongf buffLen = nSize + 100; - Bytef *buffer = new Bytef[buffLen]; - bool ret = false; - const Bytef *src = (const Bytef *)strData.data() + nHeadLen + 4; - uLongf srcLen = strData.size() - nHeadLen - 4; - int zret = uncompress(buffer, &buffLen, src, srcLen); - if(zret == Z_OK) - { - strData.replace(nHeadLen, buffLen, (char *)buffer, buffLen); - ret = true; - } - delete[] buffer; - return ret; - } - - static uint16_t CalcCheckCode(const std::string& data, uint32_t begin) - { - uint16_t nCheckCode = 0; - for (std::string::size_type i=begin; i < data.length(); i++) - { - nCheckCode += (uint8_t)data[i]; - } - return nCheckCode; - } - -protected: - uint32_t PeekField(CFieldType field) - { - switch(field.m_baseType) - { - case FT_INT8: - case FT_UINT8: - if (m_inCursor + 1 <= m_inPtr->length()) - m_inCursor++; - else - throw PACK_LENGTH_ERROR; - return 1; - case FT_INT16: - case FT_UINT16: - if (m_inCursor + 2 <= m_inPtr->length()) - m_inCursor += 2; - else - throw PACK_LENGTH_ERROR; - return 2; - case FT_INT32: - case FT_UINT32: - if (m_inCursor + 4 <= m_inPtr->length()) - m_inCursor += 4; - else - throw PACK_LENGTH_ERROR; - return 4; - case FT_INT64: - case FT_UINT64: - if (m_inCursor + 8 <= m_inPtr->length()) - m_inCursor += 8; - else - throw PACK_LENGTH_ERROR; - return 8; - case FT_STRING: - { - uint32_t nLen, nFieldLen; - if(field.m_packMode == 1) - { - uint8_t len; - (*this) >> len; - nLen = len; - nFieldLen = nLen + 1; - } - else if(field.m_packMode == 2) - { - uint16_t len; - (*this) >> len; - nLen = len; - nFieldLen = nLen + 2; - } - else - { - (*this) >> nLen; - nFieldLen = nLen + 4; - } - if (m_inCursor + nLen <= m_inPtr->length()) - m_inCursor += nLen; - else - throw PACK_LENGTH_ERROR; - return nFieldLen; - } - case FT_VECTOR: - { - if(field.m_subType.size() != 1) throw PACK_INVALID; - uint32_t nLen, nFieldLen; - if(field.m_packMode == 1) - { - uint8_t len; - (*this) >> len; - nLen = len; - nFieldLen = 1; - } - else if(field.m_packMode == 2) - { - uint16_t len; - (*this) >> len; - nLen = len; - nFieldLen = 2; - } - else - { - (*this) >> nLen; - nFieldLen = 4; - } - for(uint32_t i = 0; i < nLen; i++) - nFieldLen += PeekField(field.m_subType[0]); - return nFieldLen; - } - case FT_MAP: - { - if(field.m_subType.size() != 2) throw PACK_INVALID; - uint8_t nLen; - uint32_t nFieldLen = 1; - (*this) >> nLen; - for(int i = 0; i < nLen; i++) - { - nFieldLen += PeekField(field.m_subType[0]); - nFieldLen += PeekField(field.m_subType[1]); - } - return nFieldLen; - } - case FT_STRUCT: - { - uint8_t nLen; - (*this) >> nLen; - for(int i = 0; i < nLen; i++) - PeekField(); - return 0; - } - default: - throw PACK_INVALID; - } - } - -public: - void PeekField() - { - CFieldType field; - (*this) >> field; - PeekField(field); - } - - CPackData() : m_inCursor(0),m_inPtr(&m_in), m_outCursor(0), m_outPtr(&m_out) { } - void ResetInBuff(const std::string& data) - { - m_inPtr = &data; - m_inCursor = 0; - } - - void SetInCursor(uint32_t cursor = 0) - { - m_inCursor = cursor; - } - - CPackData &operator >> (char& chVal) - { - if (m_inCursor + 1 <= m_inPtr->length()) - { - chVal = (*m_inPtr)[m_inCursor++]; - } - else - { - throw PACK_LENGTH_ERROR; - } - return *this; - } - - CPackData &operator >> (uint8_t& chVal) - { - if (m_inCursor + 1 <= m_inPtr->length()) - { - chVal = (*m_inPtr)[m_inCursor++]; - } - else - { - throw PACK_LENGTH_ERROR; - } - return *this; - } - - CPackData &operator >> (CFieldType& field) - { - uint8_t type; - (*this) >> type; - if(type >= 0x40) - { - field.m_baseType = (FIELDTYPE)(type & 0xf0); - field.m_packMode = type & 0x0f; - } - else - { - field.m_baseType = (FIELDTYPE)(type); - field.m_packMode = 0; - } - switch(field.m_baseType) - { - case FT_VECTOR: - { - field.m_subType.clear(); - CFieldType subtype; - (*this) >> subtype; - field.m_subType.push_back(subtype); - break; - } - case FT_MAP: - { - field.m_subType.clear(); - CFieldType subtype; - (*this) >> subtype; - field.m_subType.push_back(subtype); - (*this) >> subtype; - field.m_subType.push_back(subtype); - break; - } - default: - break; - } - return *this; - } - - CPackData &operator >> (int16_t& nVal) - { - if (m_inCursor + 2 <= m_inPtr->length()) - { - int16_t nTmp; - m_inPtr->copy((char *)&nTmp, 2, m_inCursor); - m_inCursor += 2; - nVal = ntohs(nTmp); - } - else - { - throw PACK_LENGTH_ERROR; - } - return *this; - } - - CPackData &operator >> (uint16_t& wVal) - { - if (m_inCursor + 2 <= m_inPtr->length()) - { - uint16_t nTmp; - m_inPtr->copy((char *)&nTmp, 2, m_inCursor); - m_inCursor += 2; - wVal = ntohs(nTmp); - } - else - { - throw PACK_LENGTH_ERROR; - } - return *this; - } - - CPackData &operator >> (int32_t& lVal) - { - if (m_inCursor + 4 <= m_inPtr->length()) - { - int32_t lTmp; - m_inPtr->copy((char *)&lTmp, 4, m_inCursor); - m_inCursor += 4; - lVal = ntohl(lTmp); - } - else - { - throw PACK_LENGTH_ERROR; - } - return *this; - } - - CPackData &operator >> (uint32_t& dwVal) - { - if (m_inCursor + 4 <= m_inPtr->length()) - { - int32_t dwTmp; - m_inPtr->copy((char *)&dwTmp, 4, m_inCursor); - m_inCursor += 4; - dwVal = ntohl(dwTmp); - } - else - { - throw PACK_LENGTH_ERROR; - } - return *this; - } - - CPackData &operator >> (int64_t& llVal) - { - if (m_inCursor + 8 <= m_inPtr->length()) - { - uint32_t dwTmp; - m_inPtr->copy((char *)&dwTmp, 4, m_inCursor); - m_inCursor += 4; - llVal = ntohl(dwTmp); - m_inPtr->copy((char *)&dwTmp, 4, m_inCursor); - m_inCursor += 4; - llVal = (llVal << 32) + ntohl(dwTmp); - } - else - { - throw PACK_LENGTH_ERROR; - } - return *this; - } - - CPackData &operator >> (uint64_t& ullVal) - { - if (m_inCursor + 8 <= m_inPtr->length()) - { - uint32_t dwTmp; - m_inPtr->copy((char *)&dwTmp, 4, m_inCursor); - m_inCursor += 4; - ullVal = ntohl(dwTmp); - m_inPtr->copy((char *)&dwTmp, 4, m_inCursor); - ullVal = (ullVal << 32) + ntohl(dwTmp); - m_inCursor += 4; - } - else - { - throw PACK_LENGTH_ERROR; - } - return *this; - } - - CPackData &operator >> (std::string& strVal) - { - uint32_t dwLen; - (*this) >> dwLen; - if (m_inCursor + dwLen <= m_inPtr->length()) - { - strVal.assign(*m_inPtr, m_inCursor, dwLen); - m_inCursor += dwLen; - } - else - { - throw PACK_LENGTH_ERROR; - } - return *this; - } - - bool ReadData (std::string& strVal, uint32_t nMaxLen, int nMode) - { - uint32_t nLen, nSize; - switch(nMode) - { - case 0: - if(nMaxLen == 0) - { - nSize = nMaxLen = nLen = m_inPtr->length() - m_inCursor; - break; - } - if(m_inCursor + nMaxLen > m_inPtr->length()) - throw PACK_LENGTH_ERROR; - for(nLen = 0; nLen < nMaxLen && (*m_inPtr)[m_inCursor + nLen] != 0; nLen++); - nSize = nMaxLen; - break; - case 1: - { - uint8_t len; - *this >> len; - nSize = nLen = len; - if(nMaxLen == 0) nMaxLen = len; - } - break; - case 2: - { - uint16_t len; - *this >> len; - nSize = nLen = len; - if(nMaxLen == 0) nMaxLen = len; - } - break; - default: - { - uint32_t len; - *this >> len; - nSize = nLen = len; - if(nMaxLen == 0) nMaxLen = len; - } - } - if(nSize <= nMaxLen && m_inCursor + nLen <= m_inPtr->length()) - { - strVal.assign(*m_inPtr, m_inCursor, nLen); - m_inCursor += nSize; - } - else - { - throw PACK_LENGTH_ERROR; - } - return true; - } - - template - CPackData &operator>> (std::vector<_Tp>& aryVal) - { - uint32_t dwLen; - *this >> dwLen; - - _Tp tmpVal; - aryVal.reserve(dwLen); - for(uint32_t i=0; i < dwLen; i++) - { - *this >> tmpVal; - aryVal.push_back(tmpVal); - } - return *this; - } - - template - bool ReadData (std::vector<_Tp>& aryVal, int nMode) - { - uint32_t nLen; - switch(nMode) { - case 1: - { - uint8_t len; - *this >> len; - nLen = len; - } - break; - case 2: - { - uint16_t len; - *this >> len; - nLen = len; - } - break; - default: - { - *this >> aryVal; - return true; - } - } - aryVal.reserve(nLen); - _Tp tmpVal; - for(uint32_t i=0; i < nLen; i++) - { - *this >> tmpVal; - aryVal.push_back(tmpVal); - } - return true; - } - - void ResetOutBuff() - { - m_outCursor = 0; - } - - void ResetOutBuff(std::string& strData) - { - m_outPtr = &strData; - m_outCursor = 0; - } - - void SetOutCursor(uint32_t cursor = 0) - { - if(m_outPtr->length() < cursor) - m_outPtr->resize(cursor); - m_outCursor = cursor; - } - - CPackData &operator << (const char chVal) - { - if(m_outCursor < m_outPtr->length()) - (*m_outPtr)[m_outCursor] = chVal; - else - (*m_outPtr) += chVal; - m_outCursor++; - return *this; - } - - CPackData &operator << (const uint8_t chVal) - { - if(m_outCursor < m_outPtr->length()) - (*m_outPtr)[m_outCursor] = (char)chVal; - else - (*m_outPtr) += (char)chVal; - m_outCursor++; - return *this; - } - - CPackData &operator << (FIELDTYPE ftType) - { - uint8_t type = (uint8_t)ftType; - (*this) << type; - return *this; - } - - CPackData &operator << (const CFieldType& field) - { - uint8_t type; - if(field.m_baseType >= 0x40) - { - if(field.m_packMode == 1 || field.m_packMode == 2) - type = (uint8_t)(field.m_baseType + field.m_packMode); - else - type = field.m_baseType; - } - (*this) << type; - switch(field.m_baseType) - { - case FT_VECTOR: - { - (*this) << field.m_subType[0]; - break; - } - case FT_MAP: - { - (*this) << field.m_subType[0]; - (*this) << field.m_subType[1]; - break; - } - default: - break; - } - return *this; - } - - CPackData &operator << (const int16_t nVal) - { - uint16_t nTmp = htons(nVal); - (*m_outPtr).replace(m_outCursor, 2, (char *)&nTmp, 2); - m_outCursor += 2; - return *this; - } - - CPackData &operator << (const uint16_t wVal) - { - uint16_t nTmp = htons(wVal); - m_outPtr->replace(m_outCursor, 2, (char *)&nTmp, 2); - m_outCursor += 2; - return *this; - } - - CPackData &operator << (const int32_t lVal) - { - uint32_t nTmp = htonl(lVal); - m_outPtr->replace(m_outCursor, 4, (char *)&nTmp, 4); - m_outCursor += 4; - return *this; - } - - CPackData &operator << (const uint32_t dwVal) - { - uint32_t nTmp = htonl(dwVal); - m_outPtr->replace(m_outCursor, 4, (char *)&nTmp, 4); - m_outCursor += 4; - return *this; - } - - CPackData &operator << (const int64_t llVal) - { - uint32_t dwTmp = (uint32_t)((uint64_t) llVal >> 32); - (*this) << dwTmp; - dwTmp = (uint32_t)((uint64_t) llVal & 0xffffffff); - (*this) << dwTmp; - return *this; - } - - CPackData &operator << (const uint64_t ullVal) - { - uint32_t dwTmp = (uint32_t)(ullVal >> 32); - (*this) << dwTmp; - dwTmp = (uint32_t)(ullVal & 0xffffffff); - (*this) << dwTmp; - return *this; - } - - CPackData &operator << (const std::string& strVal) - { - (*this) << (uint32_t) strVal.length(); - m_outPtr->replace(m_outCursor, strVal.length(), strVal); - m_outCursor += strVal.length(); - return *this; - } - - bool WriteData (const std::string& strVal, int nMode, uint32_t nMaxLen = 0, char chFill = 0) - { - switch(nMode) { - case 0: - if(strVal.length() < nMaxLen) - { - m_outPtr->replace(m_outCursor, strVal.length(), strVal); - m_outPtr->replace(m_outCursor + strVal.length(), nMaxLen - strVal.length(), nMaxLen - strVal.length(), chFill); - } - else - m_outPtr->replace(m_outCursor, nMaxLen, strVal); - m_outCursor += nMaxLen; - return true; - case 1: - { - uint8_t len = (uint8_t) strVal.length(); - (*this) << len; - break; - } - case 2: - { - uint16_t len = (uint16_t) strVal.length(); - (*this) << len; - break; - } - default: - { - uint32_t len = (uint32_t) strVal.length(); - (*this) << len; - break; - } - } - m_outPtr->replace(m_outCursor, strVal.length(), strVal); - m_outCursor += strVal.length(); - return true; - } - - bool WriteRawData(const uint8_t* pBuffer, uint32_t nLen) - { - m_outPtr->replace(m_outCursor, nLen, (const char*)pBuffer, nLen); - m_outCursor += nLen; - return true; - } - - template - CPackData &operator<< (const std::vector<_Tp>& aryVal) - { - uint32_t dwLen = aryVal.size(); - (*this) << dwLen; - - for(uint32_t i=0; i < dwLen; i++) - *this << aryVal[i]; - - return *this; - } - CPackData &operator<< (const std::map& attrs) - { - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = attrs.size(); - (*this) << nSize; - std::map< std::string,std::string >::const_iterator itr; - for(itr = attrs.begin(); itr != attrs.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - return *this; - } - CPackData &operator>> (std::map& attrs) - { - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_MAP) throw PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - std::string key; - std::string value; - (*this) >> key; - (*this) >> value; - attrs[key] = value; - } - } - return *this; - } - template - bool WriteData (const std::vector<_Tp>& aryVal, int nMode) - { - switch(nMode) { - case 1: - { - uint8_t len = aryVal.size(); - (*this) << len; - break; - } - case 2: - { - uint16_t len = aryVal.size(); - (*this) << len; - break; - } - default: - { - uint32_t len = aryVal.size(); - (*this) << len; - break; - } - } - for(uint32_t i=0; i < aryVal.size(); i++) - (*this) << aryVal[i]; - - return true; - } - - void FormData(uint32_t offset) - { - uint32_t len = m_outPtr->length() - offset; - if(len % 8 != 0) - { - m_outPtr->append(8 - len % 8, '\0'); - } - } - - const std::string& GetData() const - { - return *m_outPtr; - } -private: - std::string m_in; - std::string::size_type m_inCursor; - const std::string *m_inPtr; - std::string m_out; - std::string::size_type m_outCursor; - std::string *m_outPtr; -}; - -#endif //__PACKDATA_H diff --git a/features/aliww/include/recentCnt.h b/features/aliww/include/recentCnt.h deleted file mode 100644 index e72f0c6..0000000 --- a/features/aliww/include/recentCnt.h +++ /dev/null @@ -1,301 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `recentCnt.ice' - -#ifndef __recentCnt_h__ -#define __recentCnt_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class RecentCntService; -bool operator==(const RecentCntService&, const RecentCntService&); -bool operator!=(const RecentCntService&, const RecentCntService&); -bool operator<(const RecentCntService&, const RecentCntService&); -bool operator<=(const RecentCntService&, const RecentCntService&); -bool operator>(const RecentCntService&, const RecentCntService&); -bool operator>=(const RecentCntService&, const RecentCntService&); - -} - -} - -namespace AliIM -{ - -class RecentCntService; -bool operator==(const RecentCntService&, const RecentCntService&); -bool operator!=(const RecentCntService&, const RecentCntService&); -bool operator<(const RecentCntService&, const RecentCntService&); -bool operator<=(const RecentCntService&, const RecentCntService&); -bool operator>(const RecentCntService&, const RecentCntService&); -bool operator>=(const RecentCntService&, const RecentCntService&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::RecentCntService*); -void decRef(::AliIM::RecentCntService*); - -void incRef(::IceProxy::AliIM::RecentCntService*); -void decRef(::IceProxy::AliIM::RecentCntService*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::RecentCntService> RecentCntServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::RecentCntService> RecentCntServicePrx; - -void __write(::IceInternal::BasicStream*, const RecentCntServicePrx&); -void __read(::IceInternal::BasicStream*, RecentCntServicePrx&); -void __write(::IceInternal::BasicStream*, const RecentCntServicePtr&); -void __patch__RecentCntServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const RecentCntServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const RecentCntServicePtr&); -void __decRefUnsafe(const RecentCntServicePtr&); -void __clearHandleUnsafe(RecentCntServicePtr&); - -} - -namespace AliIM -{ - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class RecentCntService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int updateRcnt(const ::std::string& loginId, ::Ice::Int pretimestamp, ::Ice::Int curtimestamp, const ::std::string& pcid, ::Ice::Int ip, const ::AliIM::SICERecentCntSeq& rcntlist) - { - return updateRcnt(loginId, pretimestamp, curtimestamp, pcid, ip, rcntlist, 0); - } - ::Ice::Int updateRcnt(const ::std::string& loginId, ::Ice::Int pretimestamp, ::Ice::Int curtimestamp, const ::std::string& pcid, ::Ice::Int ip, const ::AliIM::SICERecentCntSeq& rcntlist, const ::Ice::Context& __ctx) - { - return updateRcnt(loginId, pretimestamp, curtimestamp, pcid, ip, rcntlist, &__ctx); - } - -private: - - ::Ice::Int updateRcnt(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::AliIM::SICERecentCntSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getRcntList(const ::std::string& loginId, ::Ice::Int num, const ::std::string& orderby, ::AliIM::SICERecentCntSeq& rcntlist, ::Ice::Int& timestamp) - { - return getRcntList(loginId, num, orderby, rcntlist, timestamp, 0); - } - ::Ice::Int getRcntList(const ::std::string& loginId, ::Ice::Int num, const ::std::string& orderby, ::AliIM::SICERecentCntSeq& rcntlist, ::Ice::Int& timestamp, const ::Ice::Context& __ctx) - { - return getRcntList(loginId, num, orderby, rcntlist, timestamp, &__ctx); - } - -private: - - ::Ice::Int getRcntList(const ::std::string&, ::Ice::Int, const ::std::string&, ::AliIM::SICERecentCntSeq&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserInfo(const ::std::string& loginId, ::std::string& pcid, ::Ice::Int& ip, ::Ice::Int& timestamp) - { - return getUserInfo(loginId, pcid, ip, timestamp, 0); - } - ::Ice::Int getUserInfo(const ::std::string& loginId, ::std::string& pcid, ::Ice::Int& ip, ::Ice::Int& timestamp, const ::Ice::Context& __ctx) - { - return getUserInfo(loginId, pcid, ip, timestamp, &__ctx); - } - -private: - - ::Ice::Int getUserInfo(const ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getRcntCount(const ::std::string& loginId) - { - return getRcntCount(loginId, 0); - } - ::Ice::Int getRcntCount(const ::std::string& loginId, const ::Ice::Context& __ctx) - { - return getRcntCount(loginId, &__ctx); - } - -private: - - ::Ice::Int getRcntCount(const ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class RecentCntService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int updateRcnt(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::AliIM::SICERecentCntSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getRcntList(const ::std::string&, ::Ice::Int, const ::std::string&, ::AliIM::SICERecentCntSeq&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserInfo(const ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getRcntCount(const ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class RecentCntService : virtual public ::IceDelegate::AliIM::RecentCntService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int updateRcnt(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::AliIM::SICERecentCntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getRcntList(const ::std::string&, ::Ice::Int, const ::std::string&, ::AliIM::SICERecentCntSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getUserInfo(const ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getRcntCount(const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class RecentCntService : virtual public ::IceDelegate::AliIM::RecentCntService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int updateRcnt(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::AliIM::SICERecentCntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getRcntList(const ::std::string&, ::Ice::Int, const ::std::string&, ::AliIM::SICERecentCntSeq&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getUserInfo(const ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getRcntCount(const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class RecentCntService : virtual public ::Ice::Object -{ -public: - - typedef RecentCntServicePrx ProxyType; - typedef RecentCntServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int updateRcnt(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::AliIM::SICERecentCntSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateRcnt(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getRcntList(const ::std::string&, ::Ice::Int, const ::std::string&, ::AliIM::SICERecentCntSeq&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getRcntList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserInfo(const ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getRcntCount(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getRcntCount(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__RecentCntServicePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/recentCntCache.h b/features/aliww/include/recentCntCache.h deleted file mode 100644 index 05f0d09..0000000 --- a/features/aliww/include/recentCntCache.h +++ /dev/null @@ -1,253 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `recentCntCache.ice' - -#ifndef __recentCntCache_h__ -#define __recentCntCache_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class RecentCntCacheService; -bool operator==(const RecentCntCacheService&, const RecentCntCacheService&); -bool operator!=(const RecentCntCacheService&, const RecentCntCacheService&); -bool operator<(const RecentCntCacheService&, const RecentCntCacheService&); -bool operator<=(const RecentCntCacheService&, const RecentCntCacheService&); -bool operator>(const RecentCntCacheService&, const RecentCntCacheService&); -bool operator>=(const RecentCntCacheService&, const RecentCntCacheService&); - -} - -} - -namespace AliIM -{ - -class RecentCntCacheService; -bool operator==(const RecentCntCacheService&, const RecentCntCacheService&); -bool operator!=(const RecentCntCacheService&, const RecentCntCacheService&); -bool operator<(const RecentCntCacheService&, const RecentCntCacheService&); -bool operator<=(const RecentCntCacheService&, const RecentCntCacheService&); -bool operator>(const RecentCntCacheService&, const RecentCntCacheService&); -bool operator>=(const RecentCntCacheService&, const RecentCntCacheService&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::RecentCntCacheService*); -void decRef(::AliIM::RecentCntCacheService*); - -void incRef(::IceProxy::AliIM::RecentCntCacheService*); -void decRef(::IceProxy::AliIM::RecentCntCacheService*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::RecentCntCacheService> RecentCntCacheServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::RecentCntCacheService> RecentCntCacheServicePrx; - -void __write(::IceInternal::BasicStream*, const RecentCntCacheServicePrx&); -void __read(::IceInternal::BasicStream*, RecentCntCacheServicePrx&); -void __write(::IceInternal::BasicStream*, const RecentCntCacheServicePtr&); -void __patch__RecentCntCacheServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const RecentCntCacheServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const RecentCntCacheServicePtr&); -void __decRefUnsafe(const RecentCntCacheServicePtr&); -void __clearHandleUnsafe(RecentCntCacheServicePtr&); - -} - -namespace AliIM -{ - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class RecentCntCacheService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int updateRcnt(const ::std::string& loginId, ::Ice::Int curtimestamp, const ::std::string& pcid, ::Ice::Int ip, const ::AliIM::SICERecentCntSeq& rcntlist) - { - return updateRcnt(loginId, curtimestamp, pcid, ip, rcntlist, 0); - } - ::Ice::Int updateRcnt(const ::std::string& loginId, ::Ice::Int curtimestamp, const ::std::string& pcid, ::Ice::Int ip, const ::AliIM::SICERecentCntSeq& rcntlist, const ::Ice::Context& __ctx) - { - return updateRcnt(loginId, curtimestamp, pcid, ip, rcntlist, &__ctx); - } - -private: - - ::Ice::Int updateRcnt(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::AliIM::SICERecentCntSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getRcntList(const ::std::string& loginId, ::Ice::Int timestamp, ::AliIM::SICERecentCntSeq& rcntlist, ::Ice::Int& ip, ::std::string& pcid) - { - return getRcntList(loginId, timestamp, rcntlist, ip, pcid, 0); - } - ::Ice::Int getRcntList(const ::std::string& loginId, ::Ice::Int timestamp, ::AliIM::SICERecentCntSeq& rcntlist, ::Ice::Int& ip, ::std::string& pcid, const ::Ice::Context& __ctx) - { - return getRcntList(loginId, timestamp, rcntlist, ip, pcid, &__ctx); - } - -private: - - ::Ice::Int getRcntList(const ::std::string&, ::Ice::Int, ::AliIM::SICERecentCntSeq&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class RecentCntCacheService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int updateRcnt(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::AliIM::SICERecentCntSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getRcntList(const ::std::string&, ::Ice::Int, ::AliIM::SICERecentCntSeq&, ::Ice::Int&, ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class RecentCntCacheService : virtual public ::IceDelegate::AliIM::RecentCntCacheService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int updateRcnt(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::AliIM::SICERecentCntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getRcntList(const ::std::string&, ::Ice::Int, ::AliIM::SICERecentCntSeq&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class RecentCntCacheService : virtual public ::IceDelegate::AliIM::RecentCntCacheService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int updateRcnt(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::AliIM::SICERecentCntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getRcntList(const ::std::string&, ::Ice::Int, ::AliIM::SICERecentCntSeq&, ::Ice::Int&, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class RecentCntCacheService : virtual public ::Ice::Object -{ -public: - - typedef RecentCntCacheServicePrx ProxyType; - typedef RecentCntCacheServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int updateRcnt(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, const ::AliIM::SICERecentCntSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateRcnt(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getRcntList(const ::std::string&, ::Ice::Int, ::AliIM::SICERecentCntSeq&, ::Ice::Int&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getRcntList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__RecentCntCacheServicePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/recentCntdatadefine.h b/features/aliww/include/recentCntdatadefine.h deleted file mode 100644 index 8fea140..0000000 --- a/features/aliww/include/recentCntdatadefine.h +++ /dev/null @@ -1,78 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `recentCntdatadefine.ice' - -#ifndef __recentCntdatadefine_h__ -#define __recentCntdatadefine_h__ - -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace AliIM -{ - -struct SICERecentCnt -{ - ::std::string contactId; - ::Ice::Long cntmsgSnd; - ::Ice::Long cntmsgRcv; - ::Ice::Long validTime; - ::Ice::Int sndflag; - ::Ice::Int revflag; - ::Ice::Int strangerflag; - - bool operator==(const SICERecentCnt&) const; - bool operator!=(const SICERecentCnt&) const; - bool operator<(const SICERecentCnt&) const; - bool operator<=(const SICERecentCnt& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SICERecentCnt& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SICERecentCnt& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIM::SICERecentCnt> SICERecentCntSeq; - -class __U__SICERecentCntSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIM::SICERecentCnt*, const ::AliIM::SICERecentCnt*, __U__SICERecentCntSeq); -void __read(::IceInternal::BasicStream*, SICERecentCntSeq&, __U__SICERecentCntSeq); - -} - -#endif diff --git a/features/aliww/include/recentContactExternal.h b/features/aliww/include/recentContactExternal.h deleted file mode 100644 index e99a547..0000000 --- a/features/aliww/include/recentContactExternal.h +++ /dev/null @@ -1,228 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `recentContactExternal.ice' - -#ifndef __recentContactExternal_h__ -#define __recentContactExternal_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class IRecentContactExternal; -bool operator==(const IRecentContactExternal&, const IRecentContactExternal&); -bool operator!=(const IRecentContactExternal&, const IRecentContactExternal&); -bool operator<(const IRecentContactExternal&, const IRecentContactExternal&); -bool operator<=(const IRecentContactExternal&, const IRecentContactExternal&); -bool operator>(const IRecentContactExternal&, const IRecentContactExternal&); -bool operator>=(const IRecentContactExternal&, const IRecentContactExternal&); - -} - -} - -namespace AliIM -{ - -class IRecentContactExternal; -bool operator==(const IRecentContactExternal&, const IRecentContactExternal&); -bool operator!=(const IRecentContactExternal&, const IRecentContactExternal&); -bool operator<(const IRecentContactExternal&, const IRecentContactExternal&); -bool operator<=(const IRecentContactExternal&, const IRecentContactExternal&); -bool operator>(const IRecentContactExternal&, const IRecentContactExternal&); -bool operator>=(const IRecentContactExternal&, const IRecentContactExternal&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::IRecentContactExternal*); -void decRef(::AliIM::IRecentContactExternal*); - -void incRef(::IceProxy::AliIM::IRecentContactExternal*); -void decRef(::IceProxy::AliIM::IRecentContactExternal*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::IRecentContactExternal> IRecentContactExternalPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::IRecentContactExternal> IRecentContactExternalPrx; - -void __write(::IceInternal::BasicStream*, const IRecentContactExternalPrx&); -void __read(::IceInternal::BasicStream*, IRecentContactExternalPrx&); -void __write(::IceInternal::BasicStream*, const IRecentContactExternalPtr&); -void __patch__IRecentContactExternalPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IRecentContactExternalPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IRecentContactExternalPtr&); -void __decRefUnsafe(const IRecentContactExternalPtr&); -void __clearHandleUnsafe(IRecentContactExternalPtr&); - -} - -namespace AliIM -{ - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class IRecentContactExternal : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int addRecentContact(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& loginId, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int optime) - { - return addRecentContact(strCaller, strServiceType, loginId, contactId, type, optime, 0); - } - ::Ice::Int addRecentContact(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& loginId, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int optime, const ::Ice::Context& __ctx) - { - return addRecentContact(strCaller, strServiceType, loginId, contactId, type, optime, &__ctx); - } - -private: - - ::Ice::Int addRecentContact(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class IRecentContactExternal : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int addRecentContact(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class IRecentContactExternal : virtual public ::IceDelegate::AliIM::IRecentContactExternal, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int addRecentContact(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class IRecentContactExternal : virtual public ::IceDelegate::AliIM::IRecentContactExternal, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int addRecentContact(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class IRecentContactExternal : virtual public ::Ice::Object -{ -public: - - typedef IRecentContactExternalPrx ProxyType; - typedef IRecentContactExternalPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int addRecentContact(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addRecentContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IRecentContactExternalPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/rgss_pack.h b/features/aliww/include/rgss_pack.h deleted file mode 100644 index 610f1e8..0000000 --- a/features/aliww/include/rgss_pack.h +++ /dev/null @@ -1,402 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: rgss_pack.h -// Date: 2011-01-30 12:49:18 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __RGSS_PACK_H__ -#define __RGSS_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "ss_head.h" -#include "const_macro.h" -#include "imss_cmd.h" - -using namespace std; - -struct SSsuserStatus -{ -public: - SSsuserStatus() - { - } - - ~SSsuserStatus() { } - SSsuserStatus(const string& strUserId, const uint16_t& wServId, const uint8_t& chBasicStatus, const uint8_t& chPredefStatus, const uint32_t& dwIp, const string& strVersion) - { - m_userId = strUserId; - m_servId = wServId; - m_basicStatus = chBasicStatus; - m_predefStatus = chPredefStatus; - m_ip = dwIp; - m_version = strVersion; - } - SSsuserStatus& operator=( const SSsuserStatus& sSsuserStatus ) - { - m_userId = sSsuserStatus.m_userId; - m_servId = sSsuserStatus.m_servId; - m_basicStatus = sSsuserStatus.m_basicStatus; - m_predefStatus = sSsuserStatus.m_predefStatus; - m_ip = sSsuserStatus.m_ip; - m_version = sSsuserStatus.m_version; - return *this; - } - - string m_userId; - uint16_t m_servId; - uint8_t m_basicStatus; - uint8_t m_predefStatus; - uint32_t m_ip; - string m_version; - -public: - uint32_t Size() const; -}; - -inline uint32_t SSsuserStatus::Size() const -{ - uint32_t nSize = 23; - nSize += m_userId.length(); - nSize += m_version.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SSsuserStatus& sSsuserStatus ); -CPackData& operator>> ( CPackData& cPackData, SSsuserStatus& sSsuserStatus ); - -class CSsReqGetallusersts : public CPackData -{ -public: - enum - { - CMD_ID = SS_REQ_GETALLUSERSTS - }; - ~CSsReqGetallusersts() { } -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsReqGetallusersts::Size() const -{ - return 1; -} -class CSsRspGetallusersts : public CPackData -{ -public: - enum - { - CMD_ID = SS_RSP_GETALLUSERSTS - }; - CSsRspGetallusersts() - { - } - - ~CSsRspGetallusersts() { } - CSsRspGetallusersts(const VECTOR< SSsuserStatus >& vecUserStsList) - { - m_userStsList = vecUserStsList; - } - CSsRspGetallusersts& operator=( const CSsRspGetallusersts& cSsRspGetallusersts ) - { - m_userStsList = cSsRspGetallusersts.m_userStsList; - return *this; - } - - const VECTOR< SSsuserStatus >& GetUserStsList () const { return m_userStsList; } - bool SetUserStsList ( const VECTOR< SSsuserStatus >& vecUserStsList ) - { - m_userStsList = vecUserStsList; - return true; - } -private: - VECTOR< SSsuserStatus > m_userStsList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsRspGetallusersts::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_userStsList.size(); i++) - { - nSize += m_userStsList[i].Size(); - } - return nSize; -} - -class CSsReqGetuserstatus : public CPackData -{ -public: - enum - { - CMD_ID = SS_REQ_GETUSERSTATUS - }; - CSsReqGetuserstatus() - { - } - - ~CSsReqGetuserstatus() { } - CSsReqGetuserstatus(const uint8_t& chType, const VECTOR< string >& vecUserList) - { - m_type = chType; - m_userList = vecUserList; - } - CSsReqGetuserstatus& operator=( const CSsReqGetuserstatus& cSsReqGetuserstatus ) - { - m_type = cSsReqGetuserstatus.m_type; - m_userList = cSsReqGetuserstatus.m_userList; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const VECTOR< string >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< string >& vecUserList ) - { - m_userList = vecUserList; - return true; - } -private: - uint8_t m_type; - VECTOR< string > m_userList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsReqGetuserstatus::Size() const -{ - uint32_t nSize = 9; - nSize += m_userList.size() * 4; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].length(); - } - return nSize; -} - -class CSsRspGetuserstatus : public CPackData -{ -public: - enum - { - CMD_ID = SS_RSP_GETUSERSTATUS - }; - CSsRspGetuserstatus() - { - } - - ~CSsRspGetuserstatus() { } - CSsRspGetuserstatus(const uint8_t& chType, const VECTOR< SSsuserStatus >& vecUserStsList) - { - m_type = chType; - m_userStsList = vecUserStsList; - } - CSsRspGetuserstatus& operator=( const CSsRspGetuserstatus& cSsRspGetuserstatus ) - { - m_type = cSsRspGetuserstatus.m_type; - m_userStsList = cSsRspGetuserstatus.m_userStsList; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const VECTOR< SSsuserStatus >& GetUserStsList () const { return m_userStsList; } - bool SetUserStsList ( const VECTOR< SSsuserStatus >& vecUserStsList ) - { - m_userStsList = vecUserStsList; - return true; - } -private: - uint8_t m_type; - VECTOR< SSsuserStatus > m_userStsList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsRspGetuserstatus::Size() const -{ - uint32_t nSize = 9; - for(uint32_t i = 0; i < m_userStsList.size(); i++) - { - nSize += m_userStsList[i].Size(); - } - return nSize; -} - -class CImSsNtfuserposError : public CPackData -{ -public: - enum - { - CMD_ID = IM_SS_NTFUSERPOS_ERROR - }; - ~CImSsNtfuserposError() { } -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CImSsNtfuserposError::Size() const -{ - return 1; -} -class CSsRspReportuserpos : public CPackData -{ -public: - enum - { - CMD_ID = SS_RSP_REPORTUSERPOS - }; - CSsRspReportuserpos() - { - } - - ~CSsRspReportuserpos() { } - CSsRspReportuserpos(const SSsuserStatus& sUserSts) - { - m_userSts = sUserSts; - } - CSsRspReportuserpos& operator=( const CSsRspReportuserpos& cSsRspReportuserpos ) - { - m_userSts = cSsRspReportuserpos.m_userSts; - return *this; - } - - const SSsuserStatus& GetUserSts () const { return m_userSts; } - bool SetUserSts ( const SSsuserStatus& sUserSts ) - { - m_userSts = sUserSts; - return true; - } -private: - SSsuserStatus m_userSts; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsRspReportuserpos::Size() const -{ - uint32_t nSize = 2; - nSize += m_userSts.Size(); - return nSize; -} - -class CSsNtfVersionMessage : public CPackData -{ -public: - enum - { - CMD_ID = SS_NTF_VERSION_MESSAGE - }; - CSsNtfVersionMessage() - { - } - - ~CSsNtfVersionMessage() { } - CSsNtfVersionMessage(const uint8_t& chType, const string& strVersion, const string& strPacket) - { - m_type = chType; - m_version = strVersion; - m_packet = strPacket; - } - CSsNtfVersionMessage& operator=( const CSsNtfVersionMessage& cSsNtfVersionMessage ) - { - m_type = cSsNtfVersionMessage.m_type; - m_version = cSsNtfVersionMessage.m_version; - m_packet = cSsNtfVersionMessage.m_packet; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - m_version = strVersion; - return true; - } - const string& GetPacket () const { return m_packet; } - bool SetPacket ( const string& strPacket ) - { - m_packet = strPacket; - return true; - } -private: - uint8_t m_type; - string m_version; - string m_packet; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsNtfVersionMessage::Size() const -{ - uint32_t nSize = 13; - nSize += m_version.length(); - nSize += m_packet.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/ridsrv.h b/features/aliww/include/ridsrv.h deleted file mode 100644 index 966ca61..0000000 --- a/features/aliww/include/ridsrv.h +++ /dev/null @@ -1,324 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `ridsrv.ice' - -#ifndef __ridsrv_h__ -#define __ridsrv_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace ridService -{ - -class ridSrvMgr; -bool operator==(const ridSrvMgr&, const ridSrvMgr&); -bool operator!=(const ridSrvMgr&, const ridSrvMgr&); -bool operator<(const ridSrvMgr&, const ridSrvMgr&); -bool operator<=(const ridSrvMgr&, const ridSrvMgr&); -bool operator>(const ridSrvMgr&, const ridSrvMgr&); -bool operator>=(const ridSrvMgr&, const ridSrvMgr&); - -} - -} - -namespace ridService -{ - -class ridSrvMgr; -bool operator==(const ridSrvMgr&, const ridSrvMgr&); -bool operator!=(const ridSrvMgr&, const ridSrvMgr&); -bool operator<(const ridSrvMgr&, const ridSrvMgr&); -bool operator<=(const ridSrvMgr&, const ridSrvMgr&); -bool operator>(const ridSrvMgr&, const ridSrvMgr&); -bool operator>=(const ridSrvMgr&, const ridSrvMgr&); - -} - -namespace IceInternal -{ - -void incRef(::ridService::ridSrvMgr*); -void decRef(::ridService::ridSrvMgr*); - -void incRef(::IceProxy::ridService::ridSrvMgr*); -void decRef(::IceProxy::ridService::ridSrvMgr*); - -} - -namespace ridService -{ - -typedef ::IceInternal::Handle< ::ridService::ridSrvMgr> ridSrvMgrPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::ridService::ridSrvMgr> ridSrvMgrPrx; - -void __write(::IceInternal::BasicStream*, const ridSrvMgrPrx&); -void __read(::IceInternal::BasicStream*, ridSrvMgrPrx&); -void __write(::IceInternal::BasicStream*, const ridSrvMgrPtr&); -void __patch__ridSrvMgrPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const ridSrvMgrPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const ridSrvMgrPtr&); -void __decRefUnsafe(const ridSrvMgrPtr&); -void __clearHandleUnsafe(ridSrvMgrPtr&); - -} - -namespace ridService -{ - -} - -namespace IceProxy -{ - -namespace ridService -{ - -class ridSrvMgr : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int CheckUser(const ::std::string& userId, ::Ice::Int ip, const ::std::string& srid, ::std::string& drid) - { - return CheckUser(userId, ip, srid, drid, 0); - } - ::Ice::Int CheckUser(const ::std::string& userId, ::Ice::Int ip, const ::std::string& srid, ::std::string& drid, const ::Ice::Context& __ctx) - { - return CheckUser(userId, ip, srid, drid, &__ctx); - } - -private: - - ::Ice::Int CheckUser(const ::std::string&, ::Ice::Int, const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int Forbiddenpcid(const ::std::string& pcid, ::Ice::Int interval) - { - return Forbiddenpcid(pcid, interval, 0); - } - ::Ice::Int Forbiddenpcid(const ::std::string& pcid, ::Ice::Int interval, const ::Ice::Context& __ctx) - { - return Forbiddenpcid(pcid, interval, &__ctx); - } - -private: - - ::Ice::Int Forbiddenpcid(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int Permitpcid(const ::std::string& pcid) - { - return Permitpcid(pcid, 0); - } - ::Ice::Int Permitpcid(const ::std::string& pcid, const ::Ice::Context& __ctx) - { - return Permitpcid(pcid, &__ctx); - } - -private: - - ::Ice::Int Permitpcid(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int ForbiddenIp(const ::std::string& ip, ::Ice::Int interval) - { - return ForbiddenIp(ip, interval, 0); - } - ::Ice::Int ForbiddenIp(const ::std::string& ip, ::Ice::Int interval, const ::Ice::Context& __ctx) - { - return ForbiddenIp(ip, interval, &__ctx); - } - -private: - - ::Ice::Int ForbiddenIp(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int Permitip(const ::std::string& ip) - { - return Permitip(ip, 0); - } - ::Ice::Int Permitip(const ::std::string& ip, const ::Ice::Context& __ctx) - { - return Permitip(ip, &__ctx); - } - -private: - - ::Ice::Int Permitip(const ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace ridService -{ - -class ridSrvMgr : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int CheckUser(const ::std::string&, ::Ice::Int, const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int Forbiddenpcid(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int Permitpcid(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ForbiddenIp(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int Permitip(const ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace ridService -{ - -class ridSrvMgr : virtual public ::IceDelegate::ridService::ridSrvMgr, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int CheckUser(const ::std::string&, ::Ice::Int, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int Forbiddenpcid(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int Permitpcid(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ForbiddenIp(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int Permitip(const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace ridService -{ - -class ridSrvMgr : virtual public ::IceDelegate::ridService::ridSrvMgr, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int CheckUser(const ::std::string&, ::Ice::Int, const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int Forbiddenpcid(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int Permitpcid(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int ForbiddenIp(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int Permitip(const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace ridService -{ - -class ridSrvMgr : virtual public ::Ice::Object -{ -public: - - typedef ridSrvMgrPrx ProxyType; - typedef ridSrvMgrPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int CheckUser(const ::std::string&, ::Ice::Int, const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int Forbiddenpcid(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___Forbiddenpcid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int Permitpcid(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___Permitpcid(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int ForbiddenIp(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ForbiddenIp(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int Permitip(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___Permitip(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__ridSrvMgrPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/rmss_pack.h b/features/aliww/include/rmss_pack.h deleted file mode 100644 index dab8000..0000000 --- a/features/aliww/include/rmss_pack.h +++ /dev/null @@ -1,180 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: rmss_pack.h -// Date: 2011-01-30 12:49:21 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __RMSS_PACK_H__ -#define __RMSS_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "ss_head.h" -#include "const_macro.h" - -using namespace std; - -enum RMSS_REQUEST -{ - SS_REQ_RGSREGISTER = 0x2, - -}; - -enum RMSS_RESPONSE -{ - SS_RSP_RGSREGISTER = 0x10002, - -}; - -struct SServerInfo -{ -public: - SServerInfo() - { - } - - ~SServerInfo() { } - SServerInfo(const uint16_t& wServId, const string& strHostIp, const uint16_t& wHostPort) - { - m_servId = wServId; - m_hostIp = strHostIp; - m_hostPort = wHostPort; - } - SServerInfo& operator=( const SServerInfo& sServerInfo ) - { - m_servId = sServerInfo.m_servId; - m_hostIp = sServerInfo.m_hostIp; - m_hostPort = sServerInfo.m_hostPort; - return *this; - } - - uint16_t m_servId; - string m_hostIp; - uint16_t m_hostPort; - -public: - uint32_t Size() const; -}; - -inline uint32_t SServerInfo::Size() const -{ - uint32_t nSize = 12; - nSize += m_hostIp.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SServerInfo& sServerInfo ); -CPackData& operator>> ( CPackData& cPackData, SServerInfo& sServerInfo ); - -class CSsReqRgsregister : public CPackData -{ -public: - enum - { - CMD_ID = SS_REQ_RGSREGISTER - }; - CSsReqRgsregister() - { - } - - ~CSsReqRgsregister() { } - CSsReqRgsregister(const SServerInfo& sHostInfo) - { - m_hostInfo = sHostInfo; - } - CSsReqRgsregister& operator=( const CSsReqRgsregister& cSsReqRgsregister ) - { - m_hostInfo = cSsReqRgsregister.m_hostInfo; - return *this; - } - - const SServerInfo& GetHostInfo () const { return m_hostInfo; } - bool SetHostInfo ( const SServerInfo& sHostInfo ) - { - m_hostInfo = sHostInfo; - return true; - } -private: - SServerInfo m_hostInfo; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsReqRgsregister::Size() const -{ - uint32_t nSize = 2; - nSize += m_hostInfo.Size(); - return nSize; -} - -class CSsRspRgsregister : public CPackData -{ -public: - enum - { - CMD_ID = SS_RSP_RGSREGISTER - }; - CSsRspRgsregister() - { - } - - ~CSsRspRgsregister() { } - CSsRspRgsregister(const uint8_t& chRetcode, const VECTOR< SServerInfo >& vecRgsList) - { - m_retcode = chRetcode; - m_rgsList = vecRgsList; - } - CSsRspRgsregister& operator=( const CSsRspRgsregister& cSsRspRgsregister ) - { - m_retcode = cSsRspRgsregister.m_retcode; - m_rgsList = cSsRspRgsregister.m_rgsList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const VECTOR< SServerInfo >& GetRgsList () const { return m_rgsList; } - bool SetRgsList ( const VECTOR< SServerInfo >& vecRgsList ) - { - m_rgsList = vecRgsList; - return true; - } -private: - uint8_t m_retcode; - VECTOR< SServerInfo > m_rgsList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsRspRgsregister::Size() const -{ - uint32_t nSize = 9; - for(uint32_t i = 0; i < m_rgsList.size(); i++) - { - nSize += m_rgsList[i].Size(); - } - return nSize; -} - -#endif diff --git a/features/aliww/include/sc_head.h b/features/aliww/include/sc_head.h deleted file mode 100644 index 2c18450..0000000 --- a/features/aliww/include/sc_head.h +++ /dev/null @@ -1,216 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: sc_head.h -// Date: 2011-04-27 13:36:55 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SC_HEAD_H__ -#define __SC_HEAD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -#ifndef COMPRESS_THRESHOLD -#define COMPRESS_THRESHOLD 10240 -#endif - -class CScHead : public CPackData -{ -public: - CScHead() : m_starter(0x88), - m_major(0x06), - m_minor(0x00), - m_msgtype(0), - m_encrypt(0x01), - m_compress(0), - m_encode(0), - m_lrc(0), - m_seq(0), - m_len(0), - m_cmd(0), - m_cc(0), - m_reserved(0) - { - } - - ~CScHead() { } - CScHead(const uint8_t& chStarter, const uint8_t& chMajor, const uint8_t& chMinor, const uint8_t& chMsgtype, const uint8_t& chEncrypt, const uint8_t& chCompress, const uint8_t& chEncode, const uint8_t& chLrc, const uint32_t& dwSeq, const uint32_t& dwLen, const uint32_t& dwCmd, const uint16_t& wCc, const uint16_t& wReserved, const string& strExtdata) - { - m_starter = chStarter; - m_major = chMajor; - m_minor = chMinor; - m_msgtype = chMsgtype; - m_encrypt = chEncrypt; - m_compress = chCompress; - m_encode = chEncode; - m_lrc = chLrc; - m_seq = dwSeq; - m_len = dwLen; - m_cmd = dwCmd; - m_cc = wCc; - m_reserved = wReserved; - m_extdata = strExtdata; - } - CScHead& operator=( const CScHead& cScHead ) - { - m_starter = cScHead.m_starter; - m_major = cScHead.m_major; - m_minor = cScHead.m_minor; - m_msgtype = cScHead.m_msgtype; - m_encrypt = cScHead.m_encrypt; - m_compress = cScHead.m_compress; - m_encode = cScHead.m_encode; - m_lrc = cScHead.m_lrc; - m_seq = cScHead.m_seq; - m_len = cScHead.m_len; - m_cmd = cScHead.m_cmd; - m_cc = cScHead.m_cc; - m_reserved = cScHead.m_reserved; - m_extdata = cScHead.m_extdata; - return *this; - } - -public: - uint8_t m_starter; - uint8_t m_major; - uint8_t m_minor; - uint8_t m_msgtype; - uint8_t m_encrypt; - uint8_t m_compress; - uint8_t m_encode; - uint8_t m_lrc; - uint32_t m_seq; - uint32_t m_len; - uint32_t m_cmd; - uint16_t m_cc; - uint16_t m_reserved; - string m_extdata; - -public: - void PackData(string& strData); - PACKRETCODE UnpackData(const string& strData); - uint32_t SizeExt() const - { - if((m_reserved & 0x01) == 1) - { - uint32_t nSize = 28; - nSize += m_extdata.length(); - return nSize; - } - else - return 24; - } - uint32_t PeekSize() - { - uint32_t nSize = 24; - if((PeekReserved() & 0x01) == 1) - { - { - SetInCursor(nSize); - uint32_t len; - (*this) >> len; - nSize += len + 4; - } - } - return nSize; - } - uint32_t Size() const { return 24; } - uint8_t PeekStarter() - { - uint8_t chStarter; - SetInCursor(0); - *this >> chStarter; - return chStarter; - } - uint8_t PeekMajor() - { - uint8_t chMajor; - SetInCursor(1); - *this >> chMajor; - return chMajor; - } - uint8_t PeekMinor() - { - uint8_t chMinor; - SetInCursor(2); - *this >> chMinor; - return chMinor; - } - uint8_t PeekMsgtype() - { - uint8_t chMsgtype; - SetInCursor(3); - *this >> chMsgtype; - return chMsgtype; - } - uint8_t PeekEncrypt() - { - uint8_t chEncrypt; - SetInCursor(4); - *this >> chEncrypt; - return chEncrypt; - } - uint8_t PeekCompress() - { - uint8_t chCompress; - SetInCursor(5); - *this >> chCompress; - return chCompress; - } - uint8_t PeekEncode() - { - uint8_t chEncode; - SetInCursor(6); - *this >> chEncode; - return chEncode; - } - uint8_t PeekLrc() - { - uint8_t chLrc; - SetInCursor(7); - *this >> chLrc; - return chLrc; - } - uint32_t PeekSeq() - { - uint32_t dwSeq; - SetInCursor(8); - *this >> dwSeq; - return dwSeq; - } - uint32_t PeekLen() - { - uint32_t dwLen; - SetInCursor(12); - *this >> dwLen; - return dwLen; - } - uint32_t PeekCmd() - { - uint32_t dwCmd; - SetInCursor(16); - *this >> dwCmd; - return dwCmd; - } - uint16_t PeekCc() - { - uint16_t wCc; - SetInCursor(20); - *this >> wCc; - return wCc; - } - uint16_t PeekReserved() - { - uint16_t wReserved; - SetInCursor(22); - *this >> wReserved; - return wReserved; - } -}; - -#endif diff --git a/features/aliww/include/script_consts.h b/features/aliww/include/script_consts.h deleted file mode 100644 index a3b55b5..0000000 --- a/features/aliww/include/script_consts.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: script_consts.h - * - * Description: - * - * Version: 1.0 - * Created: 01/14/2011 11:41:09 AM - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ -#ifndef SCRIPT_CONSTS_H -#define SCRIPT_CONSTS_H -static string DEFAULT_CLIENTVERSION = "6.50.01A"; -static uint32_t DEFAULT_CLIENTLANGUAGE = 0x804; -static int DEFAULT_LOGINSTAT = 65537;//在线,有空,1,1 -static uint8_t TOKEN_FLAG = 0;//默认用真实密ç ç™»å½• -#endif //SCRIPT_CONSTS_H diff --git a/features/aliww/include/scs_head.h b/features/aliww/include/scs_head.h deleted file mode 100644 index 10e4db4..0000000 --- a/features/aliww/include/scs_head.h +++ /dev/null @@ -1,118 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: scs_head.h -// Date: 2011-01-30 12:50:13 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SCS_HEAD_H__ -#define __SCS_HEAD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -class CScsHead : public CPackData -{ -public: - ~CScsHead() { } - CScsHead(const uint8_t& chStarter= 0xDA, const uint16_t& wVersion= 0x0600, const uint8_t& chFlag= 0, const uint32_t& dwCmd= 0, const uint32_t& dwSeq= 0, const uint16_t& wCc= 0, const uint32_t& dwLen= 0, const uint16_t& wReserved= 0) - { - m_starter = chStarter; - m_version = wVersion; - m_flag = chFlag; - m_cmd = dwCmd; - m_seq = dwSeq; - m_cc = wCc; - m_len = dwLen; - m_reserved = wReserved; - } - CScsHead& operator=( const CScsHead& cScsHead ) - { - m_starter = cScsHead.m_starter; - m_version = cScsHead.m_version; - m_flag = cScsHead.m_flag; - m_cmd = cScsHead.m_cmd; - m_seq = cScsHead.m_seq; - m_cc = cScsHead.m_cc; - m_len = cScsHead.m_len; - m_reserved = cScsHead.m_reserved; - return *this; - } - -public: - uint8_t m_starter; - uint16_t m_version; - uint8_t m_flag; - uint32_t m_cmd; - uint32_t m_seq; - uint16_t m_cc; - uint32_t m_len; - uint16_t m_reserved; - -public: - void PackData(string& strData); - PACKRETCODE UnpackData(const string& strData); - uint32_t Size() const { return 20; } - uint8_t PeekStarter() - { - uint8_t chStarter; - SetInCursor(0); - *this >> chStarter; - return chStarter; - } - uint16_t PeekVersion() - { - uint16_t wVersion; - SetInCursor(1); - *this >> wVersion; - return wVersion; - } - uint8_t PeekFlag() - { - uint8_t chFlag; - SetInCursor(3); - *this >> chFlag; - return chFlag; - } - uint32_t PeekCmd() - { - uint32_t dwCmd; - SetInCursor(4); - *this >> dwCmd; - return dwCmd; - } - uint32_t PeekSeq() - { - uint32_t dwSeq; - SetInCursor(8); - *this >> dwSeq; - return dwSeq; - } - uint16_t PeekCc() - { - uint16_t wCc; - SetInCursor(12); - *this >> wCc; - return wCc; - } - uint32_t PeekLen() - { - uint32_t dwLen; - SetInCursor(14); - *this >> dwLen; - return dwLen; - } - uint16_t PeekReserved() - { - uint16_t wReserved; - SetInCursor(18); - *this >> wReserved; - return wReserved; - } -}; - -#endif diff --git a/features/aliww/include/sdkss_head.h b/features/aliww/include/sdkss_head.h deleted file mode 100644 index fc685c7..0000000 --- a/features/aliww/include/sdkss_head.h +++ /dev/null @@ -1,94 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: sdkss_head.h -// Date: 2011-01-30 12:49:54 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SDKSS_HEAD_H__ -#define __SDKSS_HEAD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -class CSdkssHead : public CPackData -{ -public: - CSdkssHead() : m_starter(0x8f), - m_cmd(0), - m_len(0) - { - } - - ~CSdkssHead() { } - CSdkssHead(const uint8_t& chStarter, const uint16_t& wCmd, const uint32_t& dwLen, const string& strSerialNo, const string& strAccount) - { - m_starter = chStarter; - m_cmd = wCmd; - m_len = dwLen; - m_serialNo = strSerialNo; - m_account = strAccount; - } - CSdkssHead& operator=( const CSdkssHead& cSdkssHead ) - { - m_starter = cSdkssHead.m_starter; - m_cmd = cSdkssHead.m_cmd; - m_len = cSdkssHead.m_len; - m_serialNo = cSdkssHead.m_serialNo; - m_account = cSdkssHead.m_account; - return *this; - } - -public: - uint8_t m_starter; - uint16_t m_cmd; - uint32_t m_len; - string m_serialNo; - string m_account; - -public: - void PackData(string& strData); - PACKRETCODE UnpackData(const string& strData); - uint32_t Size() const { return 27; } - uint8_t PeekStarter() - { - uint8_t chStarter; - SetInCursor(0); - *this >> chStarter; - return chStarter; - } - uint16_t PeekCmd() - { - uint16_t wCmd; - SetInCursor(1); - *this >> wCmd; - return wCmd; - } - uint32_t PeekLen() - { - uint32_t dwLen; - SetInCursor(3); - *this >> dwLen; - return dwLen; - } - string PeekSerialNo() - { - string strSerialNo; - SetInCursor(7); - *this >> strSerialNo; - return strSerialNo; - } - string PeekAccount() - { - string strAccount; - SetInCursor(17); - *this >> strAccount; - return strAccount; - } -}; - -#endif diff --git a/features/aliww/include/searchuser.h b/features/aliww/include/searchuser.h deleted file mode 100644 index 630ea1d..0000000 --- a/features/aliww/include/searchuser.h +++ /dev/null @@ -1,422 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `searchuser.ice' - -#ifndef __searchuser_h__ -#define __searchuser_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class SearchUserInterface; -bool operator==(const SearchUserInterface&, const SearchUserInterface&); -bool operator!=(const SearchUserInterface&, const SearchUserInterface&); -bool operator<(const SearchUserInterface&, const SearchUserInterface&); -bool operator<=(const SearchUserInterface&, const SearchUserInterface&); -bool operator>(const SearchUserInterface&, const SearchUserInterface&); -bool operator>=(const SearchUserInterface&, const SearchUserInterface&); - -} - -} - -namespace AliIM -{ - -class SearchUserInterface; -bool operator==(const SearchUserInterface&, const SearchUserInterface&); -bool operator!=(const SearchUserInterface&, const SearchUserInterface&); -bool operator<(const SearchUserInterface&, const SearchUserInterface&); -bool operator<=(const SearchUserInterface&, const SearchUserInterface&); -bool operator>(const SearchUserInterface&, const SearchUserInterface&); -bool operator>=(const SearchUserInterface&, const SearchUserInterface&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::SearchUserInterface*); -void decRef(::AliIM::SearchUserInterface*); - -void incRef(::IceProxy::AliIM::SearchUserInterface*); -void decRef(::IceProxy::AliIM::SearchUserInterface*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::SearchUserInterface> SearchUserInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::SearchUserInterface> SearchUserInterfacePrx; - -void __write(::IceInternal::BasicStream*, const SearchUserInterfacePrx&); -void __read(::IceInternal::BasicStream*, SearchUserInterfacePrx&); -void __write(::IceInternal::BasicStream*, const SearchUserInterfacePtr&); -void __patch__SearchUserInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const SearchUserInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const SearchUserInterfacePtr&); -void __decRefUnsafe(const SearchUserInterfacePtr&); -void __clearHandleUnsafe(SearchUserInterfacePtr&); - -} - -namespace AliIM -{ - -struct SSearchUserRes -{ - ::std::string contactid; - ::std::string nickname; - ::std::string site; - ::Ice::Int age; - ::Ice::Int gender; - ::std::string city; - ::Ice::Int basicStatus; - - bool operator==(const SSearchUserRes&) const; - bool operator!=(const SSearchUserRes&) const; - bool operator<(const SSearchUserRes&) const; - bool operator<=(const SSearchUserRes& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SSearchUserRes& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SSearchUserRes& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct STribeInfo -{ - ::std::string tribeid; - ::std::string tribename; - ::std::string masterId; - ::Ice::Int tribeclass; - ::std::string describe; - ::std::string bulletin; - ::Ice::Int checkmode; - ::std::string password; - ::std::string keyword; - ::Ice::Int allowvisitor; - ::Ice::Int forbidsearch; - ::std::string extsign; - ::Ice::Int opentribe; - ::Ice::Int maxmembers; - - bool operator==(const STribeInfo&) const; - bool operator!=(const STribeInfo&) const; - bool operator<(const STribeInfo&) const; - bool operator<=(const STribeInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::AliIM::SSearchUserRes> SearchuserResSeq; - -class __U__SearchuserResSeq { }; -void __write(::IceInternal::BasicStream*, const ::AliIM::SSearchUserRes*, const ::AliIM::SSearchUserRes*, __U__SearchuserResSeq); -void __read(::IceInternal::BasicStream*, SearchuserResSeq&, __U__SearchuserResSeq); - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class SearchUserInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int searchUser(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal) - { - return searchUser(uid, targetUid, retCode, retVal, 0); - } - ::Ice::Int searchUser(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context& __ctx) - { - return searchUser(uid, targetUid, retCode, retVal, &__ctx); - } - -private: - - ::Ice::Int searchUser(const ::std::string&, const ::std::string&, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int searchUserB2BFuzzy(const ::std::string& uid, const ::std::string& targetUid, const ::std::string& reserve, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal) - { - return searchUserB2BFuzzy(uid, targetUid, reserve, retCode, retVal, 0); - } - ::Ice::Int searchUserB2BFuzzy(const ::std::string& uid, const ::std::string& targetUid, const ::std::string& reserve, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context& __ctx) - { - return searchUserB2BFuzzy(uid, targetUid, reserve, retCode, retVal, &__ctx); - } - -private: - - ::Ice::Int searchUserB2BFuzzy(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getRecommendUser(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int syncUser, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal) - { - return getRecommendUser(uid, targetUid, syncUser, retCode, retVal, 0); - } - ::Ice::Int getRecommendUser(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int syncUser, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context& __ctx) - { - return getRecommendUser(uid, targetUid, syncUser, retCode, retVal, &__ctx); - } - -private: - - ::Ice::Int getRecommendUser(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getUsersByName(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int syncUser, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal) - { - return getUsersByName(uid, targetUid, syncUser, retCode, retVal, 0); - } - ::Ice::Int getUsersByName(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int syncUser, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context& __ctx) - { - return getUsersByName(uid, targetUid, syncUser, retCode, retVal, &__ctx); - } - -private: - - ::Ice::Int getUsersByName(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getTribeInfo(const ::std::string& tribeId, ::AliIM::STribeInfo& tribeInfo) - { - return getTribeInfo(tribeId, tribeInfo, 0); - } - ::Ice::Int getTribeInfo(const ::std::string& tribeId, ::AliIM::STribeInfo& tribeInfo, const ::Ice::Context& __ctx) - { - return getTribeInfo(tribeId, tribeInfo, &__ctx); - } - -private: - - ::Ice::Int getTribeInfo(const ::std::string&, ::AliIM::STribeInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int advancedSearchUser(const ::std::string& site, const ::std::string& country, const ::std::string& province, const ::std::string& city, ::Ice::Int gender, ::Ice::Int age, const ::std::string& job, ::Ice::Int timestamp, ::AliIM::SearchuserResSeq& retVal) - { - return advancedSearchUser(site, country, province, city, gender, age, job, timestamp, retVal, 0); - } - ::Ice::Int advancedSearchUser(const ::std::string& site, const ::std::string& country, const ::std::string& province, const ::std::string& city, ::Ice::Int gender, ::Ice::Int age, const ::std::string& job, ::Ice::Int timestamp, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context& __ctx) - { - return advancedSearchUser(site, country, province, city, gender, age, job, timestamp, retVal, &__ctx); - } - -private: - - ::Ice::Int advancedSearchUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class SearchUserInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int searchUser(const ::std::string&, const ::std::string&, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int searchUserB2BFuzzy(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getRecommendUser(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUsersByName(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getTribeInfo(const ::std::string&, ::AliIM::STribeInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int advancedSearchUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, ::AliIM::SearchuserResSeq&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class SearchUserInterface : virtual public ::IceDelegate::AliIM::SearchUserInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int searchUser(const ::std::string&, const ::std::string&, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - - virtual ::Ice::Int searchUserB2BFuzzy(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getRecommendUser(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUsersByName(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getTribeInfo(const ::std::string&, ::AliIM::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int advancedSearchUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class SearchUserInterface : virtual public ::IceDelegate::AliIM::SearchUserInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int searchUser(const ::std::string&, const ::std::string&, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - - virtual ::Ice::Int searchUserB2BFuzzy(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getRecommendUser(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUsersByName(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getTribeInfo(const ::std::string&, ::AliIM::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int advancedSearchUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, ::AliIM::SearchuserResSeq&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class SearchUserInterface : virtual public ::Ice::Object -{ -public: - - typedef SearchUserInterfacePrx ProxyType; - typedef SearchUserInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int searchUser(const ::std::string&, const ::std::string&, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___searchUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int searchUserB2BFuzzy(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___searchUserB2BFuzzy(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getRecommendUser(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getRecommendUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUsersByName(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::AliIM::SearchuserResSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUsersByName(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getTribeInfo(const ::std::string&, ::AliIM::STribeInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getTribeInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int advancedSearchUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, ::Ice::Int, ::AliIM::SearchuserResSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___advancedSearchUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__SearchUserInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/sipsession.h b/features/aliww/include/sipsession.h deleted file mode 100644 index 6979129..0000000 --- a/features/aliww/include/sipsession.h +++ /dev/null @@ -1,527 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `sipsession.ice' - -#ifndef __sipsession_h__ -#define __sipsession_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace sns -{ - -namespace session -{ - -class sessionService; -bool operator==(const sessionService&, const sessionService&); -bool operator!=(const sessionService&, const sessionService&); -bool operator<(const sessionService&, const sessionService&); -bool operator<=(const sessionService&, const sessionService&); -bool operator>(const sessionService&, const sessionService&); -bool operator>=(const sessionService&, const sessionService&); - -} - -} - -} - -} - -} - -} - -} - -} - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace sns -{ - -namespace session -{ - -class sessionService; -bool operator==(const sessionService&, const sessionService&); -bool operator!=(const sessionService&, const sessionService&); -bool operator<(const sessionService&, const sessionService&); -bool operator<=(const sessionService&, const sessionService&); -bool operator>(const sessionService&, const sessionService&); -bool operator>=(const sessionService&, const sessionService&); - -} - -} - -} - -} - -} - -} - -} - -namespace IceInternal -{ - -void incRef(::com::alisoft::member::udb::api::sns::session::sessionService*); -void decRef(::com::alisoft::member::udb::api::sns::session::sessionService*); - -void incRef(::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService*); -void decRef(::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService*); - -} - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace sns -{ - -namespace session -{ - -typedef ::IceInternal::Handle< ::com::alisoft::member::udb::api::sns::session::sessionService> sessionServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService> sessionServicePrx; - -void __write(::IceInternal::BasicStream*, const sessionServicePrx&); -void __read(::IceInternal::BasicStream*, sessionServicePrx&); -void __write(::IceInternal::BasicStream*, const sessionServicePtr&); -void __patch__sessionServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const sessionServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const sessionServicePtr&); -void __decRefUnsafe(const sessionServicePtr&); -void __clearHandleUnsafe(sessionServicePtr&); - -} - -} - -} - -} - -} - -} - -} - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace sns -{ - -namespace model -{ - -struct SessionInfo -{ - ::std::string sessionId; - - bool operator==(const SessionInfo&) const; - bool operator!=(const SessionInfo&) const; - bool operator<(const SessionInfo&) const; - bool operator<=(const SessionInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SessionInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SessionInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -} - -namespace session -{ - -} - -} - -} - -} - -} - -} - -} - -namespace IceProxy -{ - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace sns -{ - -namespace session -{ - -class sessionService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int bindSession(const ::std::string& appId, const ::std::string& userLongId, const ::std::string& type, ::com::alisoft::member::udb::api::sns::model::SessionInfo& sessionInfo) - { - return bindSession(appId, userLongId, type, sessionInfo, 0); - } - ::Ice::Int bindSession(const ::std::string& appId, const ::std::string& userLongId, const ::std::string& type, ::com::alisoft::member::udb::api::sns::model::SessionInfo& sessionInfo, const ::Ice::Context& __ctx) - { - return bindSession(appId, userLongId, type, sessionInfo, &__ctx); - } - -private: - - ::Ice::Int bindSession(const ::std::string&, const ::std::string&, const ::std::string&, ::com::alisoft::member::udb::api::sns::model::SessionInfo&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -} - -} - -} - -} - -} - -} - -namespace IceDelegate -{ - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace sns -{ - -namespace session -{ - -class sessionService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int bindSession(const ::std::string&, const ::std::string&, const ::std::string&, ::com::alisoft::member::udb::api::sns::model::SessionInfo&, const ::Ice::Context*) = 0; -}; - -} - -} - -} - -} - -} - -} - -} - -} - -namespace IceDelegateM -{ - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace sns -{ - -namespace session -{ - -class sessionService : virtual public ::IceDelegate::com::alisoft::member::udb::api::sns::session::sessionService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int bindSession(const ::std::string&, const ::std::string&, const ::std::string&, ::com::alisoft::member::udb::api::sns::model::SessionInfo&, const ::Ice::Context*); -}; - -} - -} - -} - -} - -} - -} - -} - -} - -namespace IceDelegateD -{ - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace sns -{ - -namespace session -{ - -class sessionService : virtual public ::IceDelegate::com::alisoft::member::udb::api::sns::session::sessionService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int bindSession(const ::std::string&, const ::std::string&, const ::std::string&, ::com::alisoft::member::udb::api::sns::model::SessionInfo&, const ::Ice::Context*); -}; - -} - -} - -} - -} - -} - -} - -} - -} - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace sns -{ - -namespace session -{ - -class sessionService : virtual public ::Ice::Object -{ -public: - - typedef sessionServicePrx ProxyType; - typedef sessionServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int bindSession(const ::std::string&, const ::std::string&, const ::std::string&, ::com::alisoft::member::udb::api::sns::model::SessionInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___bindSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__sessionServicePtr(void*, ::Ice::ObjectPtr&); - -} - -} - -} - -} - -} - -} - -} - -#endif diff --git a/features/aliww/include/smsa_pack.h b/features/aliww/include/smsa_pack.h deleted file mode 100644 index 4d0ef56..0000000 --- a/features/aliww/include/smsa_pack.h +++ /dev/null @@ -1,693 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smsa_pack.h -// Date: 2011-01-30 12:49:59 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SMSA_PACK_H__ -#define __SMSA_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "msc_head.h" - -using namespace std; - -#ifndef UID_LENGTH -#define UID_LENGTH 64 -#endif - -#ifndef MOBILE_LENGTH -#define MOBILE_LENGTH 16 -#endif - -enum SMSA_CMD -{ - SC_SMS_NOTIFY_UPLOADMSG = 0x2000, - SC_REQ_SMS_SEND_MESSAGE = 0x2001, - SC_RSP_SMS_SEND_MESSAGE = 0x2002, - SC_NOTIFY_SMS_MOBILEONLINE = 0x2003, - SC_RSP_SMS_MOBILEONLINE = 0x2004, - SC_NOTIFY_SMS_MOBILEBIND = 0x2005, - SC_CONFIRM_SMS_MOBILEBIND = 0x2006, - SC_NOTIFY_SMS_MODIFYBLACKLIST = 0x2007, -}; - -struct SWebSmsUser -{ -public: - SWebSmsUser() - { - } - - ~SWebSmsUser() { } - SWebSmsUser(const string& strUserId, const string& strMobileNo) - { - m_userId = strUserId; - m_mobileNo = strMobileNo; - } - SWebSmsUser& operator=( const SWebSmsUser& sWebSmsUser ) - { - m_userId = sWebSmsUser.m_userId; - m_mobileNo = sWebSmsUser.m_mobileNo; - return *this; - } - - string m_userId; - string m_mobileNo; - -public: - uint32_t Size() const; -}; - -inline uint32_t SWebSmsUser::Size() const -{ - return 80; -} -CPackData& operator<< ( CPackData& cPackData, const SWebSmsUser& sWebSmsUser ); -CPackData& operator>> ( CPackData& cPackData, SWebSmsUser& sWebSmsUser ); - -class CScNotifySmsModifyblacklist : public CPackData -{ -public: - enum - { - CMD_ID = SC_NOTIFY_SMS_MODIFYBLACKLIST - }; - CScNotifySmsModifyblacklist() - { - } - - ~CScNotifySmsModifyblacklist() { } - CScNotifySmsModifyblacklist(const uint8_t& chFlag, const VECTOR< SWebSmsUser >& vecUserList) - { - m_flag = chFlag; - m_userList = vecUserList; - } - CScNotifySmsModifyblacklist& operator=( const CScNotifySmsModifyblacklist& cScNotifySmsModifyblacklist ) - { - m_flag = cScNotifySmsModifyblacklist.m_flag; - m_userList = cScNotifySmsModifyblacklist.m_userList; - return *this; - } - - const uint8_t& GetFlag () const { return m_flag; } - bool SetFlag ( const uint8_t& chFlag ) - { - m_flag = chFlag; - return true; - } - const VECTOR< SWebSmsUser >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< SWebSmsUser >& vecUserList ) - { - m_userList = vecUserList; - return true; - } -private: - uint8_t m_flag; - VECTOR< SWebSmsUser > m_userList; - -public: - CMscHead m_mscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CScNotifySmsModifyblacklist::Size() const -{ - uint32_t nSize = 5; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].Size(); - } - return nSize; -} - -class CScSmsNotifyUploadmsg : public CPackData -{ -public: - enum - { - CMD_ID = SC_SMS_NOTIFY_UPLOADMSG - }; - CScSmsNotifyUploadmsg() - { - } - - ~CScSmsNotifyUploadmsg() { } - CScSmsNotifyUploadmsg(const string& strFromId, const string& strFromMobile, const uint8_t& chBindFlag, const string& strToId, const string& strToMobile, const uint8_t& chCmd, const string& strMessage) - { - m_fromId = strFromId; - m_fromMobile = strFromMobile; - m_bindFlag = chBindFlag; - m_toId = strToId; - m_toMobile = strToMobile; - m_cmd = chCmd; - m_message = strMessage; - } - CScSmsNotifyUploadmsg& operator=( const CScSmsNotifyUploadmsg& cScSmsNotifyUploadmsg ) - { - m_fromId = cScSmsNotifyUploadmsg.m_fromId; - m_fromMobile = cScSmsNotifyUploadmsg.m_fromMobile; - m_bindFlag = cScSmsNotifyUploadmsg.m_bindFlag; - m_toId = cScSmsNotifyUploadmsg.m_toId; - m_toMobile = cScSmsNotifyUploadmsg.m_toMobile; - m_cmd = cScSmsNotifyUploadmsg.m_cmd; - m_message = cScSmsNotifyUploadmsg.m_message; - return *this; - } - - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const string& GetFromMobile () const { return m_fromMobile; } - bool SetFromMobile ( const string& strFromMobile ) - { - if(strFromMobile.size() > 16) - return false; - m_fromMobile = strFromMobile; - return true; - } - const uint8_t& GetBindFlag () const { return m_bindFlag; } - bool SetBindFlag ( const uint8_t& chBindFlag ) - { - m_bindFlag = chBindFlag; - return true; - } - const string& GetToId () const { return m_toId; } - bool SetToId ( const string& strToId ) - { - if(strToId.size() > 64) - return false; - m_toId = strToId; - return true; - } - const string& GetToMobile () const { return m_toMobile; } - bool SetToMobile ( const string& strToMobile ) - { - if(strToMobile.size() > 16) - return false; - m_toMobile = strToMobile; - return true; - } - const uint8_t& GetCmd () const { return m_cmd; } - bool SetCmd ( const uint8_t& chCmd ) - { - m_cmd = chCmd; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_fromId; - string m_fromMobile; - uint8_t m_bindFlag; - string m_toId; - string m_toMobile; - uint8_t m_cmd; - string m_message; - -public: - CMscHead m_mscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CScSmsNotifyUploadmsg::Size() const -{ - uint32_t nSize = 154; - nSize += m_fromMobile.length(); - nSize += m_message.length(); - return nSize; -} - -class CScReqSmsSendMessage : public CPackData -{ -public: - enum - { - CMD_ID = SC_REQ_SMS_SEND_MESSAGE - }; - CScReqSmsSendMessage() - { - } - - ~CScReqSmsSendMessage() { } - CScReqSmsSendMessage(const string& strFromId, const string& strToId, const string& strToMobile, const string& strMessage, const uint8_t& chType) - { - m_fromId = strFromId; - m_toId = strToId; - m_toMobile = strToMobile; - m_message = strMessage; - m_type = chType; - } - CScReqSmsSendMessage& operator=( const CScReqSmsSendMessage& cScReqSmsSendMessage ) - { - m_fromId = cScReqSmsSendMessage.m_fromId; - m_toId = cScReqSmsSendMessage.m_toId; - m_toMobile = cScReqSmsSendMessage.m_toMobile; - m_message = cScReqSmsSendMessage.m_message; - m_type = cScReqSmsSendMessage.m_type; - return *this; - } - - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const string& GetToId () const { return m_toId; } - bool SetToId ( const string& strToId ) - { - if(strToId.size() > 64) - return false; - m_toId = strToId; - return true; - } - const string& GetToMobile () const { return m_toMobile; } - bool SetToMobile ( const string& strToMobile ) - { - if(strToMobile.size() > 16) - return false; - m_toMobile = strToMobile; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } -private: - string m_fromId; - string m_toId; - string m_toMobile; - string m_message; - uint8_t m_type; - -public: - CMscHead m_mscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CScReqSmsSendMessage::Size() const -{ - uint32_t nSize = 149; - nSize += m_message.length(); - return nSize; -} - -class CScRspSmsSendMessage : public CPackData -{ -public: - enum - { - CMD_ID = SC_RSP_SMS_SEND_MESSAGE - }; - CScRspSmsSendMessage() - { - } - - ~CScRspSmsSendMessage() { } - CScRspSmsSendMessage(const uint8_t& chStatus, const string& strFromId, const string& strToId, const string& strToMobile, const string& strMessage, const uint8_t& chType) - { - m_status = chStatus; - m_fromId = strFromId; - m_toId = strToId; - m_toMobile = strToMobile; - m_message = strMessage; - m_type = chType; - } - CScRspSmsSendMessage& operator=( const CScRspSmsSendMessage& cScRspSmsSendMessage ) - { - m_status = cScRspSmsSendMessage.m_status; - m_fromId = cScRspSmsSendMessage.m_fromId; - m_toId = cScRspSmsSendMessage.m_toId; - m_toMobile = cScRspSmsSendMessage.m_toMobile; - m_message = cScRspSmsSendMessage.m_message; - m_type = cScRspSmsSendMessage.m_type; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const string& GetToId () const { return m_toId; } - bool SetToId ( const string& strToId ) - { - if(strToId.size() > 64) - return false; - m_toId = strToId; - return true; - } - const string& GetToMobile () const { return m_toMobile; } - bool SetToMobile ( const string& strToMobile ) - { - if(strToMobile.size() > 16) - return false; - m_toMobile = strToMobile; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } -private: - uint8_t m_status; - string m_fromId; - string m_toId; - string m_toMobile; - string m_message; - uint8_t m_type; - -public: - CMscHead m_mscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CScRspSmsSendMessage::Size() const -{ - uint32_t nSize = 150; - nSize += m_message.length(); - return nSize; -} - -class CScNotifySmsMobileonline : public CPackData -{ -public: - enum - { - CMD_ID = SC_NOTIFY_SMS_MOBILEONLINE - }; - CScNotifySmsMobileonline() - { - } - - ~CScNotifySmsMobileonline() { } - CScNotifySmsMobileonline(const string& strUserId, const uint8_t& chOnlineFlag, const uint8_t& chRevFlag) - { - m_userId = strUserId; - m_onlineFlag = chOnlineFlag; - m_revFlag = chRevFlag; - } - CScNotifySmsMobileonline& operator=( const CScNotifySmsMobileonline& cScNotifySmsMobileonline ) - { - m_userId = cScNotifySmsMobileonline.m_userId; - m_onlineFlag = cScNotifySmsMobileonline.m_onlineFlag; - m_revFlag = cScNotifySmsMobileonline.m_revFlag; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetOnlineFlag () const { return m_onlineFlag; } - bool SetOnlineFlag ( const uint8_t& chOnlineFlag ) - { - m_onlineFlag = chOnlineFlag; - return true; - } - const uint8_t& GetRevFlag () const { return m_revFlag; } - bool SetRevFlag ( const uint8_t& chRevFlag ) - { - m_revFlag = chRevFlag; - return true; - } -private: - string m_userId; - uint8_t m_onlineFlag; - uint8_t m_revFlag; - -public: - CMscHead m_mscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CScNotifySmsMobileonline::Size() const -{ - return 66; -} -class CScRspSmsMobileonline : public CPackData -{ -public: - enum - { - CMD_ID = SC_RSP_SMS_MOBILEONLINE - }; - CScRspSmsMobileonline() - { - } - - ~CScRspSmsMobileonline() { } - CScRspSmsMobileonline(const uint8_t& chStatus, const string& strUserId, const uint8_t& chOnlineFlag, const uint8_t& chRevFlag) - { - m_status = chStatus; - m_userId = strUserId; - m_onlineFlag = chOnlineFlag; - m_revFlag = chRevFlag; - } - CScRspSmsMobileonline& operator=( const CScRspSmsMobileonline& cScRspSmsMobileonline ) - { - m_status = cScRspSmsMobileonline.m_status; - m_userId = cScRspSmsMobileonline.m_userId; - m_onlineFlag = cScRspSmsMobileonline.m_onlineFlag; - m_revFlag = cScRspSmsMobileonline.m_revFlag; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetOnlineFlag () const { return m_onlineFlag; } - bool SetOnlineFlag ( const uint8_t& chOnlineFlag ) - { - m_onlineFlag = chOnlineFlag; - return true; - } - const uint8_t& GetRevFlag () const { return m_revFlag; } - bool SetRevFlag ( const uint8_t& chRevFlag ) - { - m_revFlag = chRevFlag; - return true; - } -private: - uint8_t m_status; - string m_userId; - uint8_t m_onlineFlag; - uint8_t m_revFlag; - -public: - CMscHead m_mscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CScRspSmsMobileonline::Size() const -{ - return 67; -} -class CScNotifySmsMobilebind : public CPackData -{ -public: - enum - { - CMD_ID = SC_NOTIFY_SMS_MOBILEBIND - }; - CScNotifySmsMobilebind() - { - } - - ~CScNotifySmsMobilebind() { } - CScNotifySmsMobilebind(const string& strUserId, const uint8_t& chBindFlag) - { - m_userId = strUserId; - m_bindFlag = chBindFlag; - } - CScNotifySmsMobilebind& operator=( const CScNotifySmsMobilebind& cScNotifySmsMobilebind ) - { - m_userId = cScNotifySmsMobilebind.m_userId; - m_bindFlag = cScNotifySmsMobilebind.m_bindFlag; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetBindFlag () const { return m_bindFlag; } - bool SetBindFlag ( const uint8_t& chBindFlag ) - { - m_bindFlag = chBindFlag; - return true; - } -private: - string m_userId; - uint8_t m_bindFlag; - -public: - CMscHead m_mscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CScNotifySmsMobilebind::Size() const -{ - return 65; -} -class CScConfirmSmsMobilebind : public CPackData -{ -public: - enum - { - CMD_ID = SC_CONFIRM_SMS_MOBILEBIND - }; - CScConfirmSmsMobilebind() - { - } - - ~CScConfirmSmsMobilebind() { } - CScConfirmSmsMobilebind(const uint8_t& chStatus, const string& strUserId, const uint8_t& chBindFlag) - { - m_status = chStatus; - m_userId = strUserId; - m_bindFlag = chBindFlag; - } - CScConfirmSmsMobilebind& operator=( const CScConfirmSmsMobilebind& cScConfirmSmsMobilebind ) - { - m_status = cScConfirmSmsMobilebind.m_status; - m_userId = cScConfirmSmsMobilebind.m_userId; - m_bindFlag = cScConfirmSmsMobilebind.m_bindFlag; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetBindFlag () const { return m_bindFlag; } - bool SetBindFlag ( const uint8_t& chBindFlag ) - { - m_bindFlag = chBindFlag; - return true; - } -private: - uint8_t m_status; - string m_userId; - uint8_t m_bindFlag; - -public: - CMscHead m_mscHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CScConfirmSmsMobilebind::Size() const -{ - return 66; -} -#endif diff --git a/features/aliww/include/smsc_cmd.h b/features/aliww/include/smsc_cmd.h deleted file mode 100644 index ba7b07c..0000000 --- a/features/aliww/include/smsc_cmd.h +++ /dev/null @@ -1,52 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smsc_cmd.h -// Date: 2011-01-30 12:48:52 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SMSC_CMD_H__ -#define __SMSC_CMD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -enum SMSC_REQUEST -{ - IM_REQ_SMS_GET_ACCOUNT = 0x9000001, - IM_REQ_SMS_SENDMSG = 0x9000002, - IM_REQ_SMS_GETUSERMSGINFO = 0x9000003, - IM_REQ_SMS_GET_BLACKLIST = 0x9000004, - IM_REQ_SMS_GET_ACCOUNT2 = 0x9000005, - IM_REQ_SMS_GET_MULTIMSGLEN = 0x9000006, - -}; - -enum SMSC_RESPONSE -{ - IM_RSP_SMS_GET_ACCOUNT = 0x9010001, - IM_RSP_SMS_SENDMSG = 0x9010002, - IM_RSP_SMS_GETUSERMSGINFO = 0x9010003, - IM_RSP_SMS_GET_BLACKLIST = 0x9010004, - IM_RSP_SMS_GET_ACCOUNT2 = 0x9010005, - IM_RSP_SMS_GETUSERCONFIG = 0x9010006, - IM_RSP_SMS_GET_MULTIMSGLEN = 0x9010007, - -}; - -enum SMSC_NOTIFY -{ - IM_NTF_SMS_SENDSTATUS = 0x9020001, - IM_NTF_SMS_RCVMSG = 0x9020002, - IM_NTF_SMS_CHARGESTATUS = 0x9020003, - IM_NTF_SMS_MOBILEONLINE = 0x9020004, - IM_NTF_SMS_MOBILEBIND = 0x9020005, - IM_NTF_SMS_REVFLAG = 0x9020006, - -}; - -#endif diff --git a/features/aliww/include/smsc_pack.h b/features/aliww/include/smsc_pack.h deleted file mode 100644 index 8199d08..0000000 --- a/features/aliww/include/smsc_pack.h +++ /dev/null @@ -1,1336 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smsc_pack.h -// Date: 2011-01-30 12:48:52 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SMSC_PACK_H__ -#define __SMSC_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "des.h" -#include -#include "sc_head.h" -#include "const_macro.h" -#include "smsc_cmd.h" -#include "smsstrc_pack.h" - -using namespace std; - -class CImReqSmsSendmsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SMS_SENDMSG - }; - CImReqSmsSendmsg() - { - } - - ~CImReqSmsSendmsg() { } - CImReqSmsSendmsg(const string& strFromId, const VECTOR< SSmsUser >& vecToUserList, const string& strMessage) - { - m_fromId = strFromId; - m_toUserList = vecToUserList; - m_message = strMessage; - } - CImReqSmsSendmsg& operator=( const CImReqSmsSendmsg& cImReqSmsSendmsg ) - { - m_fromId = cImReqSmsSendmsg.m_fromId; - m_toUserList = cImReqSmsSendmsg.m_toUserList; - m_message = cImReqSmsSendmsg.m_message; - return *this; - } - - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const VECTOR< SSmsUser >& GetToUserList () const { return m_toUserList; } - bool SetToUserList ( const VECTOR< SSmsUser >& vecToUserList ) - { - m_toUserList = vecToUserList; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_fromId; - VECTOR< SSmsUser > m_toUserList; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSmsSendmsg::Size() const -{ - uint32_t nSize = 17; - nSize += m_fromId.length(); - for(uint32_t i = 0; i < m_toUserList.size(); i++) - { - nSize += m_toUserList[i].Size(); - } - nSize += m_message.length(); - return nSize; -} - -class CImRspSmsSendmsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SMS_SENDMSG - }; - CImRspSmsSendmsg() - { - } - - ~CImRspSmsSendmsg() { } - CImRspSmsSendmsg(const uint8_t& chStatus, const string& strFromId, const VECTOR< SSmsUser >& vecToUserList, const string& strMessage) - { - m_status = chStatus; - m_fromId = strFromId; - m_toUserList = vecToUserList; - m_message = strMessage; - } - CImRspSmsSendmsg& operator=( const CImRspSmsSendmsg& cImRspSmsSendmsg ) - { - m_status = cImRspSmsSendmsg.m_status; - m_fromId = cImRspSmsSendmsg.m_fromId; - m_toUserList = cImRspSmsSendmsg.m_toUserList; - m_message = cImRspSmsSendmsg.m_message; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const VECTOR< SSmsUser >& GetToUserList () const { return m_toUserList; } - bool SetToUserList ( const VECTOR< SSmsUser >& vecToUserList ) - { - m_toUserList = vecToUserList; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - uint8_t m_status; - string m_fromId; - VECTOR< SSmsUser > m_toUserList; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSmsSendmsg::Size() const -{ - uint32_t nSize = 19; - nSize += m_fromId.length(); - for(uint32_t i = 0; i < m_toUserList.size(); i++) - { - nSize += m_toUserList[i].Size(); - } - nSize += m_message.length(); - return nSize; -} - -class CImNtfSmsSendstatus : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_SMS_SENDSTATUS - }; - CImNtfSmsSendstatus() - { - } - - ~CImNtfSmsSendstatus() { } - CImNtfSmsSendstatus(const uint8_t& chStatus, const string& strFromId, const VECTOR< SSmsUser >& vecToUserList, const string& strMessage, const string& strErrorDesc) - { - m_status = chStatus; - m_fromId = strFromId; - m_toUserList = vecToUserList; - m_message = strMessage; - m_errorDesc = strErrorDesc; - } - CImNtfSmsSendstatus& operator=( const CImNtfSmsSendstatus& cImNtfSmsSendstatus ) - { - m_status = cImNtfSmsSendstatus.m_status; - m_fromId = cImNtfSmsSendstatus.m_fromId; - m_toUserList = cImNtfSmsSendstatus.m_toUserList; - m_message = cImNtfSmsSendstatus.m_message; - m_errorDesc = cImNtfSmsSendstatus.m_errorDesc; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const VECTOR< SSmsUser >& GetToUserList () const { return m_toUserList; } - bool SetToUserList ( const VECTOR< SSmsUser >& vecToUserList ) - { - m_toUserList = vecToUserList; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const string& GetErrorDesc () const { return m_errorDesc; } - bool SetErrorDesc ( const string& strErrorDesc ) - { - m_errorDesc = strErrorDesc; - return true; - } -private: - uint8_t m_status; - string m_fromId; - VECTOR< SSmsUser > m_toUserList; - string m_message; - string m_errorDesc; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfSmsSendstatus::Size() const -{ - uint32_t nSize = 24; - nSize += m_fromId.length(); - for(uint32_t i = 0; i < m_toUserList.size(); i++) - { - nSize += m_toUserList[i].Size(); - } - nSize += m_message.length(); - nSize += m_errorDesc.length(); - return nSize; -} - -class CImNtfSmsRcvmsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_SMS_RCVMSG - }; - CImNtfSmsRcvmsg() - { - } - - ~CImNtfSmsRcvmsg() { } - CImNtfSmsRcvmsg(const SSmsUser& sFromUser, const string& strToId, const string& strMessage) - { - m_fromUser = sFromUser; - m_toId = strToId; - m_message = strMessage; - } - CImNtfSmsRcvmsg& operator=( const CImNtfSmsRcvmsg& cImNtfSmsRcvmsg ) - { - m_fromUser = cImNtfSmsRcvmsg.m_fromUser; - m_toId = cImNtfSmsRcvmsg.m_toId; - m_message = cImNtfSmsRcvmsg.m_message; - return *this; - } - - const SSmsUser& GetFromUser () const { return m_fromUser; } - bool SetFromUser ( const SSmsUser& sFromUser ) - { - m_fromUser = sFromUser; - return true; - } - const string& GetToId () const { return m_toId; } - bool SetToId ( const string& strToId ) - { - if(strToId.size() > 64) - return false; - m_toId = strToId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - SSmsUser m_fromUser; - string m_toId; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfSmsRcvmsg::Size() const -{ - uint32_t nSize = 12; - nSize += m_fromUser.Size(); - nSize += m_toId.length(); - nSize += m_message.length(); - return nSize; -} - -class CImNtfSmsChargestatus : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_SMS_CHARGESTATUS - }; - CImNtfSmsChargestatus() - { - } - - ~CImNtfSmsChargestatus() { } - CImNtfSmsChargestatus(const uint8_t& chStatus, const string& strUserId, const string& strChargeId, const uint8_t& chChargeType, const uint32_t& dwDenomination, const uint32_t& dwBalance, const uint32_t& dwCount) - { - m_status = chStatus; - m_userId = strUserId; - m_chargeId = strChargeId; - m_chargeType = chChargeType; - m_denomination = dwDenomination; - m_balance = dwBalance; - m_count = dwCount; - } - CImNtfSmsChargestatus& operator=( const CImNtfSmsChargestatus& cImNtfSmsChargestatus ) - { - m_status = cImNtfSmsChargestatus.m_status; - m_userId = cImNtfSmsChargestatus.m_userId; - m_chargeId = cImNtfSmsChargestatus.m_chargeId; - m_chargeType = cImNtfSmsChargestatus.m_chargeType; - m_denomination = cImNtfSmsChargestatus.m_denomination; - m_balance = cImNtfSmsChargestatus.m_balance; - m_count = cImNtfSmsChargestatus.m_count; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetChargeId () const { return m_chargeId; } - bool SetChargeId ( const string& strChargeId ) - { - if(strChargeId.size() > 20) - return false; - m_chargeId = strChargeId; - return true; - } - const uint8_t& GetChargeType () const { return m_chargeType; } - bool SetChargeType ( const uint8_t& chChargeType ) - { - m_chargeType = chChargeType; - return true; - } - const uint32_t& GetDenomination () const { return m_denomination; } - bool SetDenomination ( const uint32_t& dwDenomination ) - { - m_denomination = dwDenomination; - return true; - } - const uint32_t& GetBalance () const { return m_balance; } - bool SetBalance ( const uint32_t& dwBalance ) - { - m_balance = dwBalance; - return true; - } - const uint32_t& GetCount () const { return m_count; } - bool SetCount ( const uint32_t& dwCount ) - { - m_count = dwCount; - return true; - } -private: - uint8_t m_status; - string m_userId; - string m_chargeId; - uint8_t m_chargeType; - uint32_t m_denomination; - uint32_t m_balance; - uint32_t m_count; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfSmsChargestatus::Size() const -{ - uint32_t nSize = 30; - nSize += m_userId.length(); - nSize += m_chargeId.length(); - return nSize; -} - -class CImNtfSmsMobileonline : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_SMS_MOBILEONLINE - }; - CImNtfSmsMobileonline() - { - } - - ~CImNtfSmsMobileonline() { } - CImNtfSmsMobileonline(const string& strUserId, const uint8_t& chOnlineFlag) - { - m_userId = strUserId; - m_onlineFlag = chOnlineFlag; - } - CImNtfSmsMobileonline& operator=( const CImNtfSmsMobileonline& cImNtfSmsMobileonline ) - { - m_userId = cImNtfSmsMobileonline.m_userId; - m_onlineFlag = cImNtfSmsMobileonline.m_onlineFlag; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetOnlineFlag () const { return m_onlineFlag; } - bool SetOnlineFlag ( const uint8_t& chOnlineFlag ) - { - m_onlineFlag = chOnlineFlag; - return true; - } -private: - string m_userId; - uint8_t m_onlineFlag; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfSmsMobileonline::Size() const -{ - uint32_t nSize = 8; - nSize += m_userId.length(); - return nSize; -} - -class CImReqSmsGetusermsginfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SMS_GETUSERMSGINFO - }; - CImReqSmsGetusermsginfo() - { - } - - ~CImReqSmsGetusermsginfo() { } - CImReqSmsGetusermsginfo(const string& strUserId) - { - m_userId = strUserId; - } - CImReqSmsGetusermsginfo& operator=( const CImReqSmsGetusermsginfo& cImReqSmsGetusermsginfo ) - { - m_userId = cImReqSmsGetusermsginfo.m_userId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } -private: - string m_userId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSmsGetusermsginfo::Size() const -{ - uint32_t nSize = 6; - nSize += m_userId.length(); - return nSize; -} - -class CImRspSmsGetusermsginfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SMS_GETUSERMSGINFO - }; - CImRspSmsGetusermsginfo() - { - } - - ~CImRspSmsGetusermsginfo() { } - CImRspSmsGetusermsginfo(const uint8_t& chStatus, const uint32_t& dwYesterdayMsgCount, const uint32_t& dwTodayMsgCount, const uint32_t& dwMaxMsgCount, const uint32_t& dwBalance, const uint32_t& dwPrice, const uint32_t& dwCount, const uint32_t& dwMsgMaxLen) - { - m_status = chStatus; - m_yesterdayMsgCount = dwYesterdayMsgCount; - m_todayMsgCount = dwTodayMsgCount; - m_maxMsgCount = dwMaxMsgCount; - m_balance = dwBalance; - m_price = dwPrice; - m_count = dwCount; - m_msgMaxLen = dwMsgMaxLen; - } - CImRspSmsGetusermsginfo& operator=( const CImRspSmsGetusermsginfo& cImRspSmsGetusermsginfo ) - { - m_status = cImRspSmsGetusermsginfo.m_status; - m_yesterdayMsgCount = cImRspSmsGetusermsginfo.m_yesterdayMsgCount; - m_todayMsgCount = cImRspSmsGetusermsginfo.m_todayMsgCount; - m_maxMsgCount = cImRspSmsGetusermsginfo.m_maxMsgCount; - m_balance = cImRspSmsGetusermsginfo.m_balance; - m_price = cImRspSmsGetusermsginfo.m_price; - m_count = cImRspSmsGetusermsginfo.m_count; - m_msgMaxLen = cImRspSmsGetusermsginfo.m_msgMaxLen; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const uint32_t& GetYesterdayMsgCount () const { return m_yesterdayMsgCount; } - bool SetYesterdayMsgCount ( const uint32_t& dwYesterdayMsgCount ) - { - m_yesterdayMsgCount = dwYesterdayMsgCount; - return true; - } - const uint32_t& GetTodayMsgCount () const { return m_todayMsgCount; } - bool SetTodayMsgCount ( const uint32_t& dwTodayMsgCount ) - { - m_todayMsgCount = dwTodayMsgCount; - return true; - } - const uint32_t& GetMaxMsgCount () const { return m_maxMsgCount; } - bool SetMaxMsgCount ( const uint32_t& dwMaxMsgCount ) - { - m_maxMsgCount = dwMaxMsgCount; - return true; - } - const uint32_t& GetBalance () const { return m_balance; } - bool SetBalance ( const uint32_t& dwBalance ) - { - m_balance = dwBalance; - return true; - } - const uint32_t& GetPrice () const { return m_price; } - bool SetPrice ( const uint32_t& dwPrice ) - { - m_price = dwPrice; - return true; - } - const uint32_t& GetCount () const { return m_count; } - bool SetCount ( const uint32_t& dwCount ) - { - m_count = dwCount; - return true; - } - const uint32_t& GetMsgMaxLen () const { return m_msgMaxLen; } - bool SetMsgMaxLen ( const uint32_t& dwMsgMaxLen ) - { - m_msgMaxLen = dwMsgMaxLen; - return true; - } -private: - uint8_t m_status; - uint32_t m_yesterdayMsgCount; - uint32_t m_todayMsgCount; - uint32_t m_maxMsgCount; - uint32_t m_balance; - uint32_t m_price; - uint32_t m_count; - uint32_t m_msgMaxLen; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSmsGetusermsginfo::Size() const -{ - return 38; -} -class CImReqSmsGetAccount : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SMS_GET_ACCOUNT - }; - CImReqSmsGetAccount() - { - } - - ~CImReqSmsGetAccount() { } - CImReqSmsGetAccount(const string& strUserId) - { - m_userId = strUserId; - } - CImReqSmsGetAccount& operator=( const CImReqSmsGetAccount& cImReqSmsGetAccount ) - { - m_userId = cImReqSmsGetAccount.m_userId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } -private: - string m_userId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSmsGetAccount::Size() const -{ - uint32_t nSize = 6; - nSize += m_userId.length(); - return nSize; -} - -class CImRspSmsGetAccount : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SMS_GET_ACCOUNT - }; - CImRspSmsGetAccount() - { - } - - ~CImRspSmsGetAccount() { } - CImRspSmsGetAccount(const uint8_t& chStatus, const string& strUserId, const uint8_t& chBindFlag, const uint8_t& chOnlineFlag, const string& strMobileNo, const uint8_t& chRevFlag) - { - m_status = chStatus; - m_userId = strUserId; - m_bindFlag = chBindFlag; - m_onlineFlag = chOnlineFlag; - m_mobileNo = strMobileNo; - m_revFlag = chRevFlag; - } - CImRspSmsGetAccount& operator=( const CImRspSmsGetAccount& cImRspSmsGetAccount ) - { - m_status = cImRspSmsGetAccount.m_status; - m_userId = cImRspSmsGetAccount.m_userId; - m_bindFlag = cImRspSmsGetAccount.m_bindFlag; - m_onlineFlag = cImRspSmsGetAccount.m_onlineFlag; - m_mobileNo = cImRspSmsGetAccount.m_mobileNo; - m_revFlag = cImRspSmsGetAccount.m_revFlag; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetBindFlag () const { return m_bindFlag; } - bool SetBindFlag ( const uint8_t& chBindFlag ) - { - m_bindFlag = chBindFlag; - return true; - } - const uint8_t& GetOnlineFlag () const { return m_onlineFlag; } - bool SetOnlineFlag ( const uint8_t& chOnlineFlag ) - { - m_onlineFlag = chOnlineFlag; - return true; - } - const string& GetMobileNo () const { return m_mobileNo; } - bool SetMobileNo ( const string& strMobileNo ) - { - if(strMobileNo.size() > 16) - return false; - m_mobileNo = strMobileNo; - return true; - } - const uint8_t& GetRevFlag () const { return m_revFlag; } - bool SetRevFlag ( const uint8_t& chRevFlag ) - { - m_revFlag = chRevFlag; - return true; - } -private: - uint8_t m_status; - string m_userId; - uint8_t m_bindFlag; - uint8_t m_onlineFlag; - string m_mobileNo; - uint8_t m_revFlag; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSmsGetAccount::Size() const -{ - uint32_t nSize = 19; - nSize += m_userId.length(); - nSize += m_mobileNo.length(); - return nSize; -} - -class CImReqSmsGetAccount2 : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SMS_GET_ACCOUNT2 - }; - CImReqSmsGetAccount2() - { - } - - ~CImReqSmsGetAccount2() { } - CImReqSmsGetAccount2(const string& strUserId) - { - m_userId = strUserId; - } - CImReqSmsGetAccount2& operator=( const CImReqSmsGetAccount2& cImReqSmsGetAccount2 ) - { - m_userId = cImReqSmsGetAccount2.m_userId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } -private: - string m_userId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSmsGetAccount2::Size() const -{ - uint32_t nSize = 6; - nSize += m_userId.length(); - return nSize; -} - -class CImRspSmsGetAccount2 : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SMS_GET_ACCOUNT2 - }; - CImRspSmsGetAccount2() - { - } - - ~CImRspSmsGetAccount2() { } - CImRspSmsGetAccount2(const uint8_t& chStatus, const string& strUserId, const uint8_t& chBindFlag, const uint8_t& chOnlineFlag, const uint8_t& chRevFlag) - { - m_status = chStatus; - m_userId = strUserId; - m_bindFlag = chBindFlag; - m_onlineFlag = chOnlineFlag; - m_revFlag = chRevFlag; - } - CImRspSmsGetAccount2& operator=( const CImRspSmsGetAccount2& cImRspSmsGetAccount2 ) - { - m_status = cImRspSmsGetAccount2.m_status; - m_userId = cImRspSmsGetAccount2.m_userId; - m_bindFlag = cImRspSmsGetAccount2.m_bindFlag; - m_onlineFlag = cImRspSmsGetAccount2.m_onlineFlag; - m_revFlag = cImRspSmsGetAccount2.m_revFlag; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetBindFlag () const { return m_bindFlag; } - bool SetBindFlag ( const uint8_t& chBindFlag ) - { - m_bindFlag = chBindFlag; - return true; - } - const uint8_t& GetOnlineFlag () const { return m_onlineFlag; } - bool SetOnlineFlag ( const uint8_t& chOnlineFlag ) - { - m_onlineFlag = chOnlineFlag; - return true; - } - const uint8_t& GetRevFlag () const { return m_revFlag; } - bool SetRevFlag ( const uint8_t& chRevFlag ) - { - m_revFlag = chRevFlag; - return true; - } -private: - uint8_t m_status; - string m_userId; - uint8_t m_bindFlag; - uint8_t m_onlineFlag; - uint8_t m_revFlag; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSmsGetAccount2::Size() const -{ - uint32_t nSize = 14; - nSize += m_userId.length(); - return nSize; -} - -class CImNtfSmsMobilebind : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_SMS_MOBILEBIND - }; - CImNtfSmsMobilebind() - { - } - - ~CImNtfSmsMobilebind() { } - CImNtfSmsMobilebind(const string& strUserId, const uint8_t& chBindFlag) - { - m_userId = strUserId; - m_bindFlag = chBindFlag; - } - CImNtfSmsMobilebind& operator=( const CImNtfSmsMobilebind& cImNtfSmsMobilebind ) - { - m_userId = cImNtfSmsMobilebind.m_userId; - m_bindFlag = cImNtfSmsMobilebind.m_bindFlag; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetBindFlag () const { return m_bindFlag; } - bool SetBindFlag ( const uint8_t& chBindFlag ) - { - m_bindFlag = chBindFlag; - return true; - } -private: - string m_userId; - uint8_t m_bindFlag; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfSmsMobilebind::Size() const -{ - uint32_t nSize = 8; - nSize += m_userId.length(); - return nSize; -} - -class CImNtfSmsRevflag : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_SMS_REVFLAG - }; - CImNtfSmsRevflag() - { - } - - ~CImNtfSmsRevflag() { } - CImNtfSmsRevflag(const string& strUserId, const uint8_t& chRevFlag) - { - m_userId = strUserId; - m_revFlag = chRevFlag; - } - CImNtfSmsRevflag& operator=( const CImNtfSmsRevflag& cImNtfSmsRevflag ) - { - m_userId = cImNtfSmsRevflag.m_userId; - m_revFlag = cImNtfSmsRevflag.m_revFlag; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetRevFlag () const { return m_revFlag; } - bool SetRevFlag ( const uint8_t& chRevFlag ) - { - m_revFlag = chRevFlag; - return true; - } -private: - string m_userId; - uint8_t m_revFlag; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfSmsRevflag::Size() const -{ - uint32_t nSize = 8; - nSize += m_userId.length(); - return nSize; -} - -class CImReqSmsGetBlacklist : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SMS_GET_BLACKLIST - }; - CImReqSmsGetBlacklist() - { - } - - ~CImReqSmsGetBlacklist() { } - CImReqSmsGetBlacklist(const string& strUserId) - { - m_userId = strUserId; - } - CImReqSmsGetBlacklist& operator=( const CImReqSmsGetBlacklist& cImReqSmsGetBlacklist ) - { - m_userId = cImReqSmsGetBlacklist.m_userId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } -private: - string m_userId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSmsGetBlacklist::Size() const -{ - return 66; -} -class CImRspSmsGetBlacklist : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SMS_GET_BLACKLIST - }; - CImRspSmsGetBlacklist() - { - } - - ~CImRspSmsGetBlacklist() { } - CImRspSmsGetBlacklist(const uint8_t& chStatus, const VECTOR< SSmsUser >& vecBlackList) - { - m_status = chStatus; - m_blackList = vecBlackList; - } - CImRspSmsGetBlacklist& operator=( const CImRspSmsGetBlacklist& cImRspSmsGetBlacklist ) - { - m_status = cImRspSmsGetBlacklist.m_status; - m_blackList = cImRspSmsGetBlacklist.m_blackList; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const VECTOR< SSmsUser >& GetBlackList () const { return m_blackList; } - bool SetBlackList ( const VECTOR< SSmsUser >& vecBlackList ) - { - m_blackList = vecBlackList; - return true; - } -private: - uint8_t m_status; - VECTOR< SSmsUser > m_blackList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSmsGetBlacklist::Size() const -{ - uint32_t nSize = 9; - for(uint32_t i = 0; i < m_blackList.size(); i++) - { - nSize += m_blackList[i].Size(); - } - return nSize; -} - -class CImRspSmsGetuserconfig : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SMS_GETUSERCONFIG - }; - CImRspSmsGetuserconfig() - { - } - - ~CImRspSmsGetuserconfig() { } - CImRspSmsGetuserconfig(const uint8_t& chStatus, const uint8_t& chOnlineFlag, const uint8_t& chRevFlag) - { - m_status = chStatus; - m_onlineFlag = chOnlineFlag; - m_revFlag = chRevFlag; - } - CImRspSmsGetuserconfig& operator=( const CImRspSmsGetuserconfig& cImRspSmsGetuserconfig ) - { - m_status = cImRspSmsGetuserconfig.m_status; - m_onlineFlag = cImRspSmsGetuserconfig.m_onlineFlag; - m_revFlag = cImRspSmsGetuserconfig.m_revFlag; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const uint8_t& GetOnlineFlag () const { return m_onlineFlag; } - bool SetOnlineFlag ( const uint8_t& chOnlineFlag ) - { - m_onlineFlag = chOnlineFlag; - return true; - } - const uint8_t& GetRevFlag () const { return m_revFlag; } - bool SetRevFlag ( const uint8_t& chRevFlag ) - { - m_revFlag = chRevFlag; - return true; - } -private: - uint8_t m_status; - uint8_t m_onlineFlag; - uint8_t m_revFlag; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSmsGetuserconfig::Size() const -{ - return 7; -} -class CImReqSmsGetMultimsglen : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SMS_GET_MULTIMSGLEN - }; - ~CImReqSmsGetMultimsglen() { } -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSmsGetMultimsglen::Size() const -{ - return 1; -} -class CImRspSmsGetMultimsglen : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SMS_GET_MULTIMSGLEN - }; - CImRspSmsGetMultimsglen() - { - } - - ~CImRspSmsGetMultimsglen() { } - CImRspSmsGetMultimsglen(const uint32_t& dwMsgLen, const uint32_t& dwMaxUser, const uint32_t& dwU32Reserve, const string& strStrReserve) - { - m_msgLen = dwMsgLen; - m_maxUser = dwMaxUser; - m_u32Reserve = dwU32Reserve; - m_strReserve = strStrReserve; - } - CImRspSmsGetMultimsglen& operator=( const CImRspSmsGetMultimsglen& cImRspSmsGetMultimsglen ) - { - m_msgLen = cImRspSmsGetMultimsglen.m_msgLen; - m_maxUser = cImRspSmsGetMultimsglen.m_maxUser; - m_u32Reserve = cImRspSmsGetMultimsglen.m_u32Reserve; - m_strReserve = cImRspSmsGetMultimsglen.m_strReserve; - return *this; - } - - const uint32_t& GetMsgLen () const { return m_msgLen; } - bool SetMsgLen ( const uint32_t& dwMsgLen ) - { - m_msgLen = dwMsgLen; - return true; - } - const uint32_t& GetMaxUser () const { return m_maxUser; } - bool SetMaxUser ( const uint32_t& dwMaxUser ) - { - m_maxUser = dwMaxUser; - return true; - } - const uint32_t& GetU32Reserve () const { return m_u32Reserve; } - bool SetU32Reserve ( const uint32_t& dwU32Reserve ) - { - m_u32Reserve = dwU32Reserve; - return true; - } - const string& GetStrReserve () const { return m_strReserve; } - bool SetStrReserve ( const string& strStrReserve ) - { - if(strStrReserve.size() > 256) - return false; - m_strReserve = strStrReserve; - return true; - } -private: - uint32_t m_msgLen; - uint32_t m_maxUser; - uint32_t m_u32Reserve; - string m_strReserve; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSmsGetMultimsglen::Size() const -{ - uint32_t nSize = 21; - nSize += m_strReserve.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/smss_cmd.h b/features/aliww/include/smss_cmd.h deleted file mode 100644 index b9e5c51..0000000 --- a/features/aliww/include/smss_cmd.h +++ /dev/null @@ -1,42 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smss_cmd.h -// Date: 2011-01-30 12:49:34 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SMSS_CMD_H__ -#define __SMSS_CMD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -enum SMSS_REQUEST -{ - SS_SMS_SENDMSG = 0x9000001, - SS_REQ_SMS_GETUSERMSGINFO = 0x9000002, - SS_REQ_SMS_GET_MULTIMSGLEN = 0x9000003, - -}; - -enum SMSS_RESPONSE -{ - SS_RSP_SMS_GETUSERMSGINFO = 0x9010001, - SS_RSP_SMS_GET_MULTIMSGLEN = 0x9010002, - -}; - -enum SMSS_NOTIFY -{ - BC_NOTIFY_SMS_SENDSTATUS = 0x9020001, - BC_NOTIFY_SMS_MESSAGE = 0x9020002, - BC_NOTIFY_SMS_CHARGESTATUS = 0x9020003, - BC_NOTIFY_SMS_REVFLAG = 0x9020004, - -}; - -#endif diff --git a/features/aliww/include/smss_pack.h b/features/aliww/include/smss_pack.h deleted file mode 100644 index f810309..0000000 --- a/features/aliww/include/smss_pack.h +++ /dev/null @@ -1,765 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smss_pack.h -// Date: 2011-01-30 12:49:34 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SMSS_PACK_H__ -#define __SMSS_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "ss_head.h" -#include "const_macro.h" -#include "smss_cmd.h" -#include "smsstrc_pack.h" - -using namespace std; - -class CSsSmsSendmsg : public CPackData -{ -public: - enum - { - CMD_ID = SS_SMS_SENDMSG - }; - CSsSmsSendmsg() - { - } - - ~CSsSmsSendmsg() { } - CSsSmsSendmsg(const uint8_t& chType, const SSmsUser& sFromUser, const string& strAccount, const string& strPassword, const VECTOR< SSmsUser >& vecToUserList, const string& strMessage) - { - m_type = chType; - m_fromUser = sFromUser; - m_account = strAccount; - m_password = strPassword; - m_toUserList = vecToUserList; - m_message = strMessage; - } - CSsSmsSendmsg& operator=( const CSsSmsSendmsg& cSsSmsSendmsg ) - { - m_type = cSsSmsSendmsg.m_type; - m_fromUser = cSsSmsSendmsg.m_fromUser; - m_account = cSsSmsSendmsg.m_account; - m_password = cSsSmsSendmsg.m_password; - m_toUserList = cSsSmsSendmsg.m_toUserList; - m_message = cSsSmsSendmsg.m_message; - return *this; - } - - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const SSmsUser& GetFromUser () const { return m_fromUser; } - bool SetFromUser ( const SSmsUser& sFromUser ) - { - m_fromUser = sFromUser; - return true; - } - const string& GetAccount () const { return m_account; } - bool SetAccount ( const string& strAccount ) - { - if(strAccount.size() > 64) - return false; - m_account = strAccount; - return true; - } - const string& GetPassword () const { return m_password; } - bool SetPassword ( const string& strPassword ) - { - if(strPassword.size() > 16) - return false; - m_password = strPassword; - return true; - } - const VECTOR< SSmsUser >& GetToUserList () const { return m_toUserList; } - bool SetToUserList ( const VECTOR< SSmsUser >& vecToUserList ) - { - m_toUserList = vecToUserList; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - uint8_t m_type; - SSmsUser m_fromUser; - string m_account; - string m_password; - VECTOR< SSmsUser > m_toUserList; - string m_message; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsSmsSendmsg::Size() const -{ - uint32_t nSize = 25; - nSize += m_fromUser.Size(); - nSize += m_account.length(); - nSize += m_password.length(); - for(uint32_t i = 0; i < m_toUserList.size(); i++) - { - nSize += m_toUserList[i].Size(); - } - nSize += m_message.length(); - return nSize; -} - -class CSsReqSmsGetusermsginfo : public CPackData -{ -public: - enum - { - CMD_ID = SS_REQ_SMS_GETUSERMSGINFO - }; - CSsReqSmsGetusermsginfo() - { - } - - ~CSsReqSmsGetusermsginfo() { } - CSsReqSmsGetusermsginfo(const string& strUserId) - { - m_userId = strUserId; - } - CSsReqSmsGetusermsginfo& operator=( const CSsReqSmsGetusermsginfo& cSsReqSmsGetusermsginfo ) - { - m_userId = cSsReqSmsGetusermsginfo.m_userId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } -private: - string m_userId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsReqSmsGetusermsginfo::Size() const -{ - uint32_t nSize = 6; - nSize += m_userId.length(); - return nSize; -} - -class CSsRspSmsGetusermsginfo : public CPackData -{ -public: - enum - { - CMD_ID = SS_RSP_SMS_GETUSERMSGINFO - }; - CSsRspSmsGetusermsginfo() - { - } - - ~CSsRspSmsGetusermsginfo() { } - CSsRspSmsGetusermsginfo(const uint8_t& chStatus, const string& strUserId, const uint32_t& dwYesterdayMsgCount, const uint32_t& dwTodayMsgCount, const uint32_t& dwMaxMsgCount, const uint32_t& dwBalance, const uint32_t& dwPrice, const uint32_t& dwCount, const uint32_t& dwMsgMaxLen) - { - m_status = chStatus; - m_userId = strUserId; - m_yesterdayMsgCount = dwYesterdayMsgCount; - m_todayMsgCount = dwTodayMsgCount; - m_maxMsgCount = dwMaxMsgCount; - m_balance = dwBalance; - m_price = dwPrice; - m_count = dwCount; - m_msgMaxLen = dwMsgMaxLen; - } - CSsRspSmsGetusermsginfo& operator=( const CSsRspSmsGetusermsginfo& cSsRspSmsGetusermsginfo ) - { - m_status = cSsRspSmsGetusermsginfo.m_status; - m_userId = cSsRspSmsGetusermsginfo.m_userId; - m_yesterdayMsgCount = cSsRspSmsGetusermsginfo.m_yesterdayMsgCount; - m_todayMsgCount = cSsRspSmsGetusermsginfo.m_todayMsgCount; - m_maxMsgCount = cSsRspSmsGetusermsginfo.m_maxMsgCount; - m_balance = cSsRspSmsGetusermsginfo.m_balance; - m_price = cSsRspSmsGetusermsginfo.m_price; - m_count = cSsRspSmsGetusermsginfo.m_count; - m_msgMaxLen = cSsRspSmsGetusermsginfo.m_msgMaxLen; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint32_t& GetYesterdayMsgCount () const { return m_yesterdayMsgCount; } - bool SetYesterdayMsgCount ( const uint32_t& dwYesterdayMsgCount ) - { - m_yesterdayMsgCount = dwYesterdayMsgCount; - return true; - } - const uint32_t& GetTodayMsgCount () const { return m_todayMsgCount; } - bool SetTodayMsgCount ( const uint32_t& dwTodayMsgCount ) - { - m_todayMsgCount = dwTodayMsgCount; - return true; - } - const uint32_t& GetMaxMsgCount () const { return m_maxMsgCount; } - bool SetMaxMsgCount ( const uint32_t& dwMaxMsgCount ) - { - m_maxMsgCount = dwMaxMsgCount; - return true; - } - const uint32_t& GetBalance () const { return m_balance; } - bool SetBalance ( const uint32_t& dwBalance ) - { - m_balance = dwBalance; - return true; - } - const uint32_t& GetPrice () const { return m_price; } - bool SetPrice ( const uint32_t& dwPrice ) - { - m_price = dwPrice; - return true; - } - const uint32_t& GetCount () const { return m_count; } - bool SetCount ( const uint32_t& dwCount ) - { - m_count = dwCount; - return true; - } - const uint32_t& GetMsgMaxLen () const { return m_msgMaxLen; } - bool SetMsgMaxLen ( const uint32_t& dwMsgMaxLen ) - { - m_msgMaxLen = dwMsgMaxLen; - return true; - } -private: - uint8_t m_status; - string m_userId; - uint32_t m_yesterdayMsgCount; - uint32_t m_todayMsgCount; - uint32_t m_maxMsgCount; - uint32_t m_balance; - uint32_t m_price; - uint32_t m_count; - uint32_t m_msgMaxLen; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsRspSmsGetusermsginfo::Size() const -{ - uint32_t nSize = 43; - nSize += m_userId.length(); - return nSize; -} - -class CBcNotifySmsSendstatus : public CPackData -{ -public: - enum - { - CMD_ID = BC_NOTIFY_SMS_SENDSTATUS - }; - CBcNotifySmsSendstatus() - { - } - - ~CBcNotifySmsSendstatus() { } - CBcNotifySmsSendstatus(const uint8_t& chStatus, const string& strFromId, const VECTOR< SSmsUser >& vecToUserList, const string& strMessage, const string& strErrorDesc) - { - m_status = chStatus; - m_fromId = strFromId; - m_toUserList = vecToUserList; - m_message = strMessage; - m_errorDesc = strErrorDesc; - } - CBcNotifySmsSendstatus& operator=( const CBcNotifySmsSendstatus& cBcNotifySmsSendstatus ) - { - m_status = cBcNotifySmsSendstatus.m_status; - m_fromId = cBcNotifySmsSendstatus.m_fromId; - m_toUserList = cBcNotifySmsSendstatus.m_toUserList; - m_message = cBcNotifySmsSendstatus.m_message; - m_errorDesc = cBcNotifySmsSendstatus.m_errorDesc; - return *this; - } - - const uint8_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint8_t& chStatus ) - { - m_status = chStatus; - return true; - } - const string& GetFromId () const { return m_fromId; } - bool SetFromId ( const string& strFromId ) - { - if(strFromId.size() > 64) - return false; - m_fromId = strFromId; - return true; - } - const VECTOR< SSmsUser >& GetToUserList () const { return m_toUserList; } - bool SetToUserList ( const VECTOR< SSmsUser >& vecToUserList ) - { - m_toUserList = vecToUserList; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const string& GetErrorDesc () const { return m_errorDesc; } - bool SetErrorDesc ( const string& strErrorDesc ) - { - m_errorDesc = strErrorDesc; - return true; - } -private: - uint8_t m_status; - string m_fromId; - VECTOR< SSmsUser > m_toUserList; - string m_message; - string m_errorDesc; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CBcNotifySmsSendstatus::Size() const -{ - uint32_t nSize = 24; - nSize += m_fromId.length(); - for(uint32_t i = 0; i < m_toUserList.size(); i++) - { - nSize += m_toUserList[i].Size(); - } - nSize += m_message.length(); - nSize += m_errorDesc.length(); - return nSize; -} - -class CBcNotifySmsMessage : public CPackData -{ -public: - enum - { - CMD_ID = BC_NOTIFY_SMS_MESSAGE - }; - CBcNotifySmsMessage() - { - } - - ~CBcNotifySmsMessage() { } - CBcNotifySmsMessage(const SSmsUser& sFromUser, const string& strToId, const string& strMessage) - { - m_fromUser = sFromUser; - m_toId = strToId; - m_message = strMessage; - } - CBcNotifySmsMessage& operator=( const CBcNotifySmsMessage& cBcNotifySmsMessage ) - { - m_fromUser = cBcNotifySmsMessage.m_fromUser; - m_toId = cBcNotifySmsMessage.m_toId; - m_message = cBcNotifySmsMessage.m_message; - return *this; - } - - const SSmsUser& GetFromUser () const { return m_fromUser; } - bool SetFromUser ( const SSmsUser& sFromUser ) - { - m_fromUser = sFromUser; - return true; - } - const string& GetToId () const { return m_toId; } - bool SetToId ( const string& strToId ) - { - if(strToId.size() > 64) - return false; - m_toId = strToId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - SSmsUser m_fromUser; - string m_toId; - string m_message; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CBcNotifySmsMessage::Size() const -{ - uint32_t nSize = 12; - nSize += m_fromUser.Size(); - nSize += m_toId.length(); - nSize += m_message.length(); - return nSize; -} - -class CBcNotifySmsChargestatus : public CPackData -{ -public: - enum - { - CMD_ID = BC_NOTIFY_SMS_CHARGESTATUS - }; - CBcNotifySmsChargestatus() - { - } - - ~CBcNotifySmsChargestatus() { } - CBcNotifySmsChargestatus(const string& strUserId, const string& strChargeId, const uint8_t& chChargeStatus, const uint8_t& chChargeType, const uint32_t& dwDenomination, const uint32_t& dwBalance, const uint32_t& dwCount) - { - m_userId = strUserId; - m_chargeId = strChargeId; - m_chargeStatus = chChargeStatus; - m_chargeType = chChargeType; - m_denomination = dwDenomination; - m_balance = dwBalance; - m_count = dwCount; - } - CBcNotifySmsChargestatus& operator=( const CBcNotifySmsChargestatus& cBcNotifySmsChargestatus ) - { - m_userId = cBcNotifySmsChargestatus.m_userId; - m_chargeId = cBcNotifySmsChargestatus.m_chargeId; - m_chargeStatus = cBcNotifySmsChargestatus.m_chargeStatus; - m_chargeType = cBcNotifySmsChargestatus.m_chargeType; - m_denomination = cBcNotifySmsChargestatus.m_denomination; - m_balance = cBcNotifySmsChargestatus.m_balance; - m_count = cBcNotifySmsChargestatus.m_count; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetChargeId () const { return m_chargeId; } - bool SetChargeId ( const string& strChargeId ) - { - if(strChargeId.size() > 20) - return false; - m_chargeId = strChargeId; - return true; - } - const uint8_t& GetChargeStatus () const { return m_chargeStatus; } - bool SetChargeStatus ( const uint8_t& chChargeStatus ) - { - m_chargeStatus = chChargeStatus; - return true; - } - const uint8_t& GetChargeType () const { return m_chargeType; } - bool SetChargeType ( const uint8_t& chChargeType ) - { - m_chargeType = chChargeType; - return true; - } - const uint32_t& GetDenomination () const { return m_denomination; } - bool SetDenomination ( const uint32_t& dwDenomination ) - { - m_denomination = dwDenomination; - return true; - } - const uint32_t& GetBalance () const { return m_balance; } - bool SetBalance ( const uint32_t& dwBalance ) - { - m_balance = dwBalance; - return true; - } - const uint32_t& GetCount () const { return m_count; } - bool SetCount ( const uint32_t& dwCount ) - { - m_count = dwCount; - return true; - } -private: - string m_userId; - string m_chargeId; - uint8_t m_chargeStatus; - uint8_t m_chargeType; - uint32_t m_denomination; - uint32_t m_balance; - uint32_t m_count; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CBcNotifySmsChargestatus::Size() const -{ - uint32_t nSize = 30; - nSize += m_userId.length(); - nSize += m_chargeId.length(); - return nSize; -} - -class CBcNotifySmsRevflag : public CPackData -{ -public: - enum - { - CMD_ID = BC_NOTIFY_SMS_REVFLAG - }; - CBcNotifySmsRevflag() - { - } - - ~CBcNotifySmsRevflag() { } - CBcNotifySmsRevflag(const string& strUserId, const uint8_t& chRevFlag) - { - m_userId = strUserId; - m_revFlag = chRevFlag; - } - CBcNotifySmsRevflag& operator=( const CBcNotifySmsRevflag& cBcNotifySmsRevflag ) - { - m_userId = cBcNotifySmsRevflag.m_userId; - m_revFlag = cBcNotifySmsRevflag.m_revFlag; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetRevFlag () const { return m_revFlag; } - bool SetRevFlag ( const uint8_t& chRevFlag ) - { - m_revFlag = chRevFlag; - return true; - } -private: - string m_userId; - uint8_t m_revFlag; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CBcNotifySmsRevflag::Size() const -{ - uint32_t nSize = 8; - nSize += m_userId.length(); - return nSize; -} - -class CSsReqSmsGetMultimsglen : public CPackData -{ -public: - enum - { - CMD_ID = SS_REQ_SMS_GET_MULTIMSGLEN - }; - CSsReqSmsGetMultimsglen() - { - } - - ~CSsReqSmsGetMultimsglen() { } - CSsReqSmsGetMultimsglen(const string& strUserId) - { - m_userId = strUserId; - } - CSsReqSmsGetMultimsglen& operator=( const CSsReqSmsGetMultimsglen& cSsReqSmsGetMultimsglen ) - { - m_userId = cSsReqSmsGetMultimsglen.m_userId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } -private: - string m_userId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsReqSmsGetMultimsglen::Size() const -{ - uint32_t nSize = 6; - nSize += m_userId.length(); - return nSize; -} - -class CSsRspSmsGetMultimsglen : public CPackData -{ -public: - enum - { - CMD_ID = SS_RSP_SMS_GET_MULTIMSGLEN - }; - CSsRspSmsGetMultimsglen() - { - } - - ~CSsRspSmsGetMultimsglen() { } - CSsRspSmsGetMultimsglen(const uint32_t& dwMsgLen, const uint32_t& dwMaxUser, const string& strUserId, const uint32_t& dwU32Reserve, const string& strStrReserve) - { - m_msgLen = dwMsgLen; - m_maxUser = dwMaxUser; - m_userId = strUserId; - m_u32Reserve = dwU32Reserve; - m_strReserve = strStrReserve; - } - CSsRspSmsGetMultimsglen& operator=( const CSsRspSmsGetMultimsglen& cSsRspSmsGetMultimsglen ) - { - m_msgLen = cSsRspSmsGetMultimsglen.m_msgLen; - m_maxUser = cSsRspSmsGetMultimsglen.m_maxUser; - m_userId = cSsRspSmsGetMultimsglen.m_userId; - m_u32Reserve = cSsRspSmsGetMultimsglen.m_u32Reserve; - m_strReserve = cSsRspSmsGetMultimsglen.m_strReserve; - return *this; - } - - const uint32_t& GetMsgLen () const { return m_msgLen; } - bool SetMsgLen ( const uint32_t& dwMsgLen ) - { - m_msgLen = dwMsgLen; - return true; - } - const uint32_t& GetMaxUser () const { return m_maxUser; } - bool SetMaxUser ( const uint32_t& dwMaxUser ) - { - m_maxUser = dwMaxUser; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint32_t& GetU32Reserve () const { return m_u32Reserve; } - bool SetU32Reserve ( const uint32_t& dwU32Reserve ) - { - m_u32Reserve = dwU32Reserve; - return true; - } - const string& GetStrReserve () const { return m_strReserve; } - bool SetStrReserve ( const string& strStrReserve ) - { - if(strStrReserve.size() > 256) - return false; - m_strReserve = strStrReserve; - return true; - } -private: - uint32_t m_msgLen; - uint32_t m_maxUser; - string m_userId; - uint32_t m_u32Reserve; - string m_strReserve; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSsRspSmsGetMultimsglen::Size() const -{ - uint32_t nSize = 26; - nSize += m_userId.length(); - nSize += m_strReserve.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/smssdk_pack.h b/features/aliww/include/smssdk_pack.h deleted file mode 100644 index 963e179..0000000 --- a/features/aliww/include/smssdk_pack.h +++ /dev/null @@ -1,222 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smssdk_pack.h -// Date: 2011-01-30 12:49:55 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SMSSDK_PACK_H__ -#define __SMSSDK_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "sdkss_head.h" - -using namespace std; - -#ifndef SEQID_LENGTH -#define SEQID_LENGTH 16 -#endif - -#ifndef ERRDESC_LENGTH -#define ERRDESC_LENGTH 64 -#endif - -#ifndef MOBILE_LENGTH -#define MOBILE_LENGTH 32 -#endif - -#ifndef ACCOUNT_LENGTH -#define ACCOUNT_LENGTH 64 -#endif - -#ifndef TRANSID_LENGTH -#define TRANSID_LENGTH 32 -#endif - -#ifndef CONTENT_LENGTH -#define CONTENT_LENGTH 256 -#endif - -#ifndef TIME_MAX_LENGTH -#define TIME_MAX_LENGTH 20 -#endif - -enum SMSSDK_CMD -{ - SMS_UPLOAD_MESSAGE = 0x1, - SMS_REPORT_ERROR = 0x2, -}; - -class CSmsUploadMessage : public CPackData -{ -public: - enum - { - CMD_ID = SMS_UPLOAD_MESSAGE - }; - CSmsUploadMessage() - { - } - - ~CSmsUploadMessage() { } - CSmsUploadMessage(const string& strTransId, const string& strFromMobile, const string& strToAccount, const string& strSendTime, const string& strMessage) - { - m_transId = strTransId; - m_fromMobile = strFromMobile; - m_toAccount = strToAccount; - m_sendTime = strSendTime; - m_message = strMessage; - } - CSmsUploadMessage& operator=( const CSmsUploadMessage& cSmsUploadMessage ) - { - m_transId = cSmsUploadMessage.m_transId; - m_fromMobile = cSmsUploadMessage.m_fromMobile; - m_toAccount = cSmsUploadMessage.m_toAccount; - m_sendTime = cSmsUploadMessage.m_sendTime; - m_message = cSmsUploadMessage.m_message; - return *this; - } - - const string& GetTransId () const { return m_transId; } - bool SetTransId ( const string& strTransId ) - { - if(strTransId.size() > 32) - return false; - m_transId = strTransId; - return true; - } - const string& GetFromMobile () const { return m_fromMobile; } - bool SetFromMobile ( const string& strFromMobile ) - { - if(strFromMobile.size() > 32) - return false; - m_fromMobile = strFromMobile; - return true; - } - const string& GetToAccount () const { return m_toAccount; } - bool SetToAccount ( const string& strToAccount ) - { - if(strToAccount.size() > 64) - return false; - m_toAccount = strToAccount; - return true; - } - const string& GetSendTime () const { return m_sendTime; } - bool SetSendTime ( const string& strSendTime ) - { - if(strSendTime.size() > 20) - return false; - m_sendTime = strSendTime; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - if(strMessage.size() > 256) - return false; - m_message = strMessage; - return true; - } -private: - string m_transId; - string m_fromMobile; - string m_toAccount; - string m_sendTime; - string m_message; - -public: - CSdkssHead m_sdkssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSmsUploadMessage::Size() const -{ - uint32_t nSize = 20; - nSize += m_transId.length(); - nSize += m_fromMobile.length(); - nSize += m_toAccount.length(); - nSize += m_sendTime.length(); - nSize += m_message.length(); - return nSize; -} - -class CSmsReportError : public CPackData -{ -public: - enum - { - CMD_ID = SMS_REPORT_ERROR - }; - CSmsReportError() - { - } - - ~CSmsReportError() { } - CSmsReportError(const uint32_t& dwStatus, const string& strTransId, const string& strDesc) - { - m_status = dwStatus; - m_transId = strTransId; - m_desc = strDesc; - } - CSmsReportError& operator=( const CSmsReportError& cSmsReportError ) - { - m_status = cSmsReportError.m_status; - m_transId = cSmsReportError.m_transId; - m_desc = cSmsReportError.m_desc; - return *this; - } - - const uint32_t& GetStatus () const { return m_status; } - bool SetStatus ( const uint32_t& dwStatus ) - { - m_status = dwStatus; - return true; - } - const string& GetTransId () const { return m_transId; } - bool SetTransId ( const string& strTransId ) - { - if(strTransId.size() > 32) - return false; - m_transId = strTransId; - return true; - } - const string& GetDesc () const { return m_desc; } - bool SetDesc ( const string& strDesc ) - { - if(strDesc.size() > 64) - return false; - m_desc = strDesc; - return true; - } -private: - uint32_t m_status; - string m_transId; - string m_desc; - -public: - CSdkssHead m_sdkssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CSmsReportError::Size() const -{ - uint32_t nSize = 12; - nSize += m_transId.length(); - nSize += m_desc.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/smsstrc_cmd.h b/features/aliww/include/smsstrc_cmd.h deleted file mode 100644 index 855f0ba..0000000 --- a/features/aliww/include/smsstrc_cmd.h +++ /dev/null @@ -1,26 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smsstrc_cmd.h -// Date: 2011-01-30 12:49:34 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SMSSTRC_CMD_H__ -#define __SMSSTRC_CMD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -enum SMSSTRC_NOTIFY -{ - BC_NOTIFY_SMS_MOBILEONLINE = 0x9021001, - BC_NOTIFY_SMS_USERINFO = 0x9021002, - BC_NOTIFY_SMS_USERCONFIG = 0x9021003, - -}; - -#endif diff --git a/features/aliww/include/smsstrc_pack.h b/features/aliww/include/smsstrc_pack.h deleted file mode 100644 index 4324487..0000000 --- a/features/aliww/include/smsstrc_pack.h +++ /dev/null @@ -1,293 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smsstrc_pack.h -// Date: 2011-01-30 12:49:34 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SMSSTRC_PACK_H__ -#define __SMSSTRC_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "const_macro.h" -#include "ss_head.h" -#include "smsstrc_cmd.h" - -using namespace std; - -struct SSmsUser -{ -public: - SSmsUser() - { - } - - ~SSmsUser() { } - SSmsUser(const string& strUserId, const string& strMobileNo) - { - m_userId = strUserId; - m_mobileNo = strMobileNo; - } - SSmsUser& operator=( const SSmsUser& sSmsUser ) - { - m_userId = sSmsUser.m_userId; - m_mobileNo = sSmsUser.m_mobileNo; - return *this; - } - - string m_userId; - string m_mobileNo; - -public: - uint32_t Size() const; -}; - -inline uint32_t SSmsUser::Size() const -{ - uint32_t nSize = 11; - nSize += m_userId.length(); - nSize += m_mobileNo.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SSmsUser& sSmsUser ); -CPackData& operator>> ( CPackData& cPackData, SSmsUser& sSmsUser ); - -class CBcNotifySmsMobileonline : public CPackData -{ -public: - enum - { - CMD_ID = BC_NOTIFY_SMS_MOBILEONLINE - }; - CBcNotifySmsMobileonline() - { - } - - ~CBcNotifySmsMobileonline() { } - CBcNotifySmsMobileonline(const string& strUserId, const uint8_t& chOnlineFlag) - { - m_userId = strUserId; - m_onlineFlag = chOnlineFlag; - } - CBcNotifySmsMobileonline& operator=( const CBcNotifySmsMobileonline& cBcNotifySmsMobileonline ) - { - m_userId = cBcNotifySmsMobileonline.m_userId; - m_onlineFlag = cBcNotifySmsMobileonline.m_onlineFlag; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetOnlineFlag () const { return m_onlineFlag; } - bool SetOnlineFlag ( const uint8_t& chOnlineFlag ) - { - m_onlineFlag = chOnlineFlag; - return true; - } -private: - string m_userId; - uint8_t m_onlineFlag; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CBcNotifySmsMobileonline::Size() const -{ - uint32_t nSize = 8; - nSize += m_userId.length(); - return nSize; -} - -class CBcNotifySmsUserinfo : public CPackData -{ -public: - enum - { - CMD_ID = BC_NOTIFY_SMS_USERINFO - }; - CBcNotifySmsUserinfo() - { - } - - ~CBcNotifySmsUserinfo() { } - CBcNotifySmsUserinfo(const string& strUserId, const uint8_t& chBindFlag, const uint8_t& chOnlineFlag, const uint8_t& chRevFlag, const string& strMobileNo, const uint32_t& dwBalance, const uint32_t& dwPrice) - { - m_userId = strUserId; - m_bindFlag = chBindFlag; - m_onlineFlag = chOnlineFlag; - m_revFlag = chRevFlag; - m_mobileNo = strMobileNo; - m_balance = dwBalance; - m_price = dwPrice; - } - CBcNotifySmsUserinfo& operator=( const CBcNotifySmsUserinfo& cBcNotifySmsUserinfo ) - { - m_userId = cBcNotifySmsUserinfo.m_userId; - m_bindFlag = cBcNotifySmsUserinfo.m_bindFlag; - m_onlineFlag = cBcNotifySmsUserinfo.m_onlineFlag; - m_revFlag = cBcNotifySmsUserinfo.m_revFlag; - m_mobileNo = cBcNotifySmsUserinfo.m_mobileNo; - m_balance = cBcNotifySmsUserinfo.m_balance; - m_price = cBcNotifySmsUserinfo.m_price; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetBindFlag () const { return m_bindFlag; } - bool SetBindFlag ( const uint8_t& chBindFlag ) - { - m_bindFlag = chBindFlag; - return true; - } - const uint8_t& GetOnlineFlag () const { return m_onlineFlag; } - bool SetOnlineFlag ( const uint8_t& chOnlineFlag ) - { - m_onlineFlag = chOnlineFlag; - return true; - } - const uint8_t& GetRevFlag () const { return m_revFlag; } - bool SetRevFlag ( const uint8_t& chRevFlag ) - { - m_revFlag = chRevFlag; - return true; - } - const string& GetMobileNo () const { return m_mobileNo; } - bool SetMobileNo ( const string& strMobileNo ) - { - if(strMobileNo.size() > 16) - return false; - m_mobileNo = strMobileNo; - return true; - } - const uint32_t& GetBalance () const { return m_balance; } - bool SetBalance ( const uint32_t& dwBalance ) - { - m_balance = dwBalance; - return true; - } - const uint32_t& GetPrice () const { return m_price; } - bool SetPrice ( const uint32_t& dwPrice ) - { - m_price = dwPrice; - return true; - } -private: - string m_userId; - uint8_t m_bindFlag; - uint8_t m_onlineFlag; - uint8_t m_revFlag; - string m_mobileNo; - uint32_t m_balance; - uint32_t m_price; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CBcNotifySmsUserinfo::Size() const -{ - uint32_t nSize = 27; - nSize += m_userId.length(); - nSize += m_mobileNo.length(); - return nSize; -} - -class CBcNotifySmsUserconfig : public CPackData -{ -public: - enum - { - CMD_ID = BC_NOTIFY_SMS_USERCONFIG - }; - CBcNotifySmsUserconfig() - { - } - - ~CBcNotifySmsUserconfig() { } - CBcNotifySmsUserconfig(const string& strUserId, const uint8_t& chOnlineFlag, const uint8_t& chRevFlag) - { - m_userId = strUserId; - m_onlineFlag = chOnlineFlag; - m_revFlag = chRevFlag; - } - CBcNotifySmsUserconfig& operator=( const CBcNotifySmsUserconfig& cBcNotifySmsUserconfig ) - { - m_userId = cBcNotifySmsUserconfig.m_userId; - m_onlineFlag = cBcNotifySmsUserconfig.m_onlineFlag; - m_revFlag = cBcNotifySmsUserconfig.m_revFlag; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetOnlineFlag () const { return m_onlineFlag; } - bool SetOnlineFlag ( const uint8_t& chOnlineFlag ) - { - m_onlineFlag = chOnlineFlag; - return true; - } - const uint8_t& GetRevFlag () const { return m_revFlag; } - bool SetRevFlag ( const uint8_t& chRevFlag ) - { - m_revFlag = chRevFlag; - return true; - } -private: - string m_userId; - uint8_t m_onlineFlag; - uint8_t m_revFlag; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CBcNotifySmsUserconfig::Size() const -{ - uint32_t nSize = 10; - nSize += m_userId.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/snsscores.h b/features/aliww/include/snsscores.h deleted file mode 100644 index 46f1299..0000000 --- a/features/aliww/include/snsscores.h +++ /dev/null @@ -1,447 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `snsscores.ice' - -#ifndef __snsscores_h__ -#define __snsscores_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace ALISNS -{ - -class ScoreInterface; -bool operator==(const ScoreInterface&, const ScoreInterface&); -bool operator!=(const ScoreInterface&, const ScoreInterface&); -bool operator<(const ScoreInterface&, const ScoreInterface&); -bool operator<=(const ScoreInterface&, const ScoreInterface&); -bool operator>(const ScoreInterface&, const ScoreInterface&); -bool operator>=(const ScoreInterface&, const ScoreInterface&); - -} - -} - -namespace ALISNS -{ - -class ScoreInterface; -bool operator==(const ScoreInterface&, const ScoreInterface&); -bool operator!=(const ScoreInterface&, const ScoreInterface&); -bool operator<(const ScoreInterface&, const ScoreInterface&); -bool operator<=(const ScoreInterface&, const ScoreInterface&); -bool operator>(const ScoreInterface&, const ScoreInterface&); -bool operator>=(const ScoreInterface&, const ScoreInterface&); - -} - -namespace IceInternal -{ - -void incRef(::ALISNS::ScoreInterface*); -void decRef(::ALISNS::ScoreInterface*); - -void incRef(::IceProxy::ALISNS::ScoreInterface*); -void decRef(::IceProxy::ALISNS::ScoreInterface*); - -} - -namespace ALISNS -{ - -typedef ::IceInternal::Handle< ::ALISNS::ScoreInterface> ScoreInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::ALISNS::ScoreInterface> ScoreInterfacePrx; - -void __write(::IceInternal::BasicStream*, const ScoreInterfacePrx&); -void __read(::IceInternal::BasicStream*, ScoreInterfacePrx&); -void __write(::IceInternal::BasicStream*, const ScoreInterfacePtr&); -void __patch__ScoreInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const ScoreInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const ScoreInterfacePtr&); -void __decRefUnsafe(const ScoreInterfacePtr&); -void __clearHandleUnsafe(ScoreInterfacePtr&); - -} - -namespace ALISNS -{ - -struct ScoreFlowUnit -{ - ::Ice::Int flowID; - ::std::string gmtCreate; - ::std::string gmtModified; - ::std::string userLongId; - ::std::string behaviorId; - ::std::string behaviorName; - ::Ice::Int score; - ::std::string note; - - bool operator==(const ScoreFlowUnit&) const; - bool operator!=(const ScoreFlowUnit&) const; - bool operator<(const ScoreFlowUnit&) const; - bool operator<=(const ScoreFlowUnit& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const ScoreFlowUnit& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const ScoreFlowUnit& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct BidConfigInfo -{ - ::std::string sBid; - ::std::string sName; - ::std::string sAppId; - ::Ice::Int iTimesLimit; - ::Ice::Int iScoreLimit; - ::Ice::Int iDayTimesLimit; - ::Ice::Int iDayScoreLimit; - ::Ice::Int iPersonTimesLimit; - ::Ice::Int iPersonScoreLimit; - ::Ice::Int iPersonDayTimesLimit; - ::Ice::Int iPersonDayScoreLimit; - ::Ice::Int iScoreType; - ::Ice::Int iScore; - ::Ice::Int iStatus; - - bool operator==(const BidConfigInfo&) const; - bool operator!=(const BidConfigInfo&) const; - bool operator<(const BidConfigInfo&) const; - bool operator<=(const BidConfigInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const BidConfigInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const BidConfigInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::ALISNS::ScoreFlowUnit> ScoreFlows; - -class __U__ScoreFlows { }; -void __write(::IceInternal::BasicStream*, const ::ALISNS::ScoreFlowUnit*, const ::ALISNS::ScoreFlowUnit*, __U__ScoreFlows); -void __read(::IceInternal::BasicStream*, ScoreFlows&, __U__ScoreFlows); - -} - -namespace IceProxy -{ - -namespace ALISNS -{ - -class ScoreInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int addBehaviorScore(const ::std::string& userLongId, const ::std::string& behaviorId, const ::std::string& note, ::Ice::Int& behaviorScore, ::Ice::Int& userScore) - { - return addBehaviorScore(userLongId, behaviorId, note, behaviorScore, userScore, 0); - } - ::Ice::Int addBehaviorScore(const ::std::string& userLongId, const ::std::string& behaviorId, const ::std::string& note, ::Ice::Int& behaviorScore, ::Ice::Int& userScore, const ::Ice::Context& __ctx) - { - return addBehaviorScore(userLongId, behaviorId, note, behaviorScore, userScore, &__ctx); - } - -private: - - ::Ice::Int addBehaviorScore(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int updateScore(const ::std::string& userLongId, const ::std::string& behaviorId, const ::std::string& note, ::Ice::Int score, ::Ice::Int& userScore) - { - return updateScore(userLongId, behaviorId, note, score, userScore, 0); - } - ::Ice::Int updateScore(const ::std::string& userLongId, const ::std::string& behaviorId, const ::std::string& note, ::Ice::Int score, ::Ice::Int& userScore, const ::Ice::Context& __ctx) - { - return updateScore(userLongId, behaviorId, note, score, userScore, &__ctx); - } - -private: - - ::Ice::Int updateScore(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserTotalScore(const ::std::string& userLongId, ::Ice::Int& userScore) - { - return getUserTotalScore(userLongId, userScore, 0); - } - ::Ice::Int getUserTotalScore(const ::std::string& userLongId, ::Ice::Int& userScore, const ::Ice::Context& __ctx) - { - return getUserTotalScore(userLongId, userScore, &__ctx); - } - -private: - - ::Ice::Int getUserTotalScore(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserScoreFlows(const ::std::string& userLongId, const ::std::string& beginDate, const ::std::string& endDate, ::Ice::Int start, ::Ice::Int pageCount, ::Ice::Int& totalNum, ::ALISNS::ScoreFlows& flows) - { - return getUserScoreFlows(userLongId, beginDate, endDate, start, pageCount, totalNum, flows, 0); - } - ::Ice::Int getUserScoreFlows(const ::std::string& userLongId, const ::std::string& beginDate, const ::std::string& endDate, ::Ice::Int start, ::Ice::Int pageCount, ::Ice::Int& totalNum, ::ALISNS::ScoreFlows& flows, const ::Ice::Context& __ctx) - { - return getUserScoreFlows(userLongId, beginDate, endDate, start, pageCount, totalNum, flows, &__ctx); - } - -private: - - ::Ice::Int getUserScoreFlows(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::ALISNS::ScoreFlows&, const ::Ice::Context*); - -public: - - ::Ice::Int getBidConfig(const ::std::string& sBid, ::ALISNS::BidConfigInfo& conf) - { - return getBidConfig(sBid, conf, 0); - } - ::Ice::Int getBidConfig(const ::std::string& sBid, ::ALISNS::BidConfigInfo& conf, const ::Ice::Context& __ctx) - { - return getBidConfig(sBid, conf, &__ctx); - } - -private: - - ::Ice::Int getBidConfig(const ::std::string&, ::ALISNS::BidConfigInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int getBidScoreInfo(const ::std::string& sBid, ::Ice::Int& iScoreTimes, ::Ice::Int& iTotalScore, ::Ice::Int& iDayScoreTimes, ::Ice::Int& iDayTotalScore) - { - return getBidScoreInfo(sBid, iScoreTimes, iTotalScore, iDayScoreTimes, iDayTotalScore, 0); - } - ::Ice::Int getBidScoreInfo(const ::std::string& sBid, ::Ice::Int& iScoreTimes, ::Ice::Int& iTotalScore, ::Ice::Int& iDayScoreTimes, ::Ice::Int& iDayTotalScore, const ::Ice::Context& __ctx) - { - return getBidScoreInfo(sBid, iScoreTimes, iTotalScore, iDayScoreTimes, iDayTotalScore, &__ctx); - } - -private: - - ::Ice::Int getBidScoreInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserBidScoreInfo(const ::std::string& userLongId, const ::std::string& behaviorId, ::Ice::Int& iPersonTotalScore, ::Ice::Int& iPersonAwardScore, ::Ice::Int& iPersonBidTotalTimes, ::Ice::Int& iPersonBidTotalScore, ::Ice::Int& iPersonDayBidTotalTimes, ::Ice::Int& iPersonDayBidTotalScore) - { - return getUserBidScoreInfo(userLongId, behaviorId, iPersonTotalScore, iPersonAwardScore, iPersonBidTotalTimes, iPersonBidTotalScore, iPersonDayBidTotalTimes, iPersonDayBidTotalScore, 0); - } - ::Ice::Int getUserBidScoreInfo(const ::std::string& userLongId, const ::std::string& behaviorId, ::Ice::Int& iPersonTotalScore, ::Ice::Int& iPersonAwardScore, ::Ice::Int& iPersonBidTotalTimes, ::Ice::Int& iPersonBidTotalScore, ::Ice::Int& iPersonDayBidTotalTimes, ::Ice::Int& iPersonDayBidTotalScore, const ::Ice::Context& __ctx) - { - return getUserBidScoreInfo(userLongId, behaviorId, iPersonTotalScore, iPersonAwardScore, iPersonBidTotalTimes, iPersonBidTotalScore, iPersonDayBidTotalTimes, iPersonDayBidTotalScore, &__ctx); - } - -private: - - ::Ice::Int getUserBidScoreInfo(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace ALISNS -{ - -class ScoreInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int addBehaviorScore(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateScore(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserTotalScore(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserScoreFlows(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::ALISNS::ScoreFlows&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getBidConfig(const ::std::string&, ::ALISNS::BidConfigInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getBidScoreInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserBidScoreInfo(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace ALISNS -{ - -class ScoreInterface : virtual public ::IceDelegate::ALISNS::ScoreInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int addBehaviorScore(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int updateScore(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getUserTotalScore(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getUserScoreFlows(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::ALISNS::ScoreFlows&, const ::Ice::Context*); - - virtual ::Ice::Int getBidConfig(const ::std::string&, ::ALISNS::BidConfigInfo&, const ::Ice::Context*); - - virtual ::Ice::Int getBidScoreInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getUserBidScoreInfo(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace ALISNS -{ - -class ScoreInterface : virtual public ::IceDelegate::ALISNS::ScoreInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int addBehaviorScore(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int updateScore(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getUserTotalScore(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getUserScoreFlows(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::ALISNS::ScoreFlows&, const ::Ice::Context*); - - virtual ::Ice::Int getBidConfig(const ::std::string&, ::ALISNS::BidConfigInfo&, const ::Ice::Context*); - - virtual ::Ice::Int getBidScoreInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getUserBidScoreInfo(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); -}; - -} - -} - -namespace ALISNS -{ - -class ScoreInterface : virtual public ::Ice::Object -{ -public: - - typedef ScoreInterfacePrx ProxyType; - typedef ScoreInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int addBehaviorScore(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addBehaviorScore(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateScore(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateScore(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserTotalScore(const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserTotalScore(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserScoreFlows(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::ALISNS::ScoreFlows&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserScoreFlows(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getBidConfig(const ::std::string&, ::ALISNS::BidConfigInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getBidConfig(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getBidScoreInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getBidScoreInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserBidScoreInfo(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserBidScoreInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__ScoreInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/spacecontact.h b/features/aliww/include/spacecontact.h deleted file mode 100644 index cd0c749..0000000 --- a/features/aliww/include/spacecontact.h +++ /dev/null @@ -1,668 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `spacecontact.ice' - -#ifndef __spacecontact_h__ -#define __spacecontact_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIMDBBase -{ - -class SpaceGroupInterface; -bool operator==(const SpaceGroupInterface&, const SpaceGroupInterface&); -bool operator!=(const SpaceGroupInterface&, const SpaceGroupInterface&); -bool operator<(const SpaceGroupInterface&, const SpaceGroupInterface&); -bool operator<=(const SpaceGroupInterface&, const SpaceGroupInterface&); -bool operator>(const SpaceGroupInterface&, const SpaceGroupInterface&); -bool operator>=(const SpaceGroupInterface&, const SpaceGroupInterface&); - -} - -} - -namespace AliIMDBBase -{ - -class SpaceGroupInterface; -bool operator==(const SpaceGroupInterface&, const SpaceGroupInterface&); -bool operator!=(const SpaceGroupInterface&, const SpaceGroupInterface&); -bool operator<(const SpaceGroupInterface&, const SpaceGroupInterface&); -bool operator<=(const SpaceGroupInterface&, const SpaceGroupInterface&); -bool operator>(const SpaceGroupInterface&, const SpaceGroupInterface&); -bool operator>=(const SpaceGroupInterface&, const SpaceGroupInterface&); - -} - -namespace IceInternal -{ - -void incRef(::AliIMDBBase::SpaceGroupInterface*); -void decRef(::AliIMDBBase::SpaceGroupInterface*); - -void incRef(::IceProxy::AliIMDBBase::SpaceGroupInterface*); -void decRef(::IceProxy::AliIMDBBase::SpaceGroupInterface*); - -} - -namespace AliIMDBBase -{ - -typedef ::IceInternal::Handle< ::AliIMDBBase::SpaceGroupInterface> SpaceGroupInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIMDBBase::SpaceGroupInterface> SpaceGroupInterfacePrx; - -void __write(::IceInternal::BasicStream*, const SpaceGroupInterfacePrx&); -void __read(::IceInternal::BasicStream*, SpaceGroupInterfacePrx&); -void __write(::IceInternal::BasicStream*, const SpaceGroupInterfacePtr&); -void __patch__SpaceGroupInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const SpaceGroupInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const SpaceGroupInterfacePtr&); -void __decRefUnsafe(const SpaceGroupInterfacePtr&); -void __clearHandleUnsafe(SpaceGroupInterfacePtr&); - -} - -namespace AliIMDBBase -{ - -typedef ::std::map< ::std::string, ::std::string> StrKVMap; - -class __U__StrKVMap { }; -void __write(::IceInternal::BasicStream*, const StrKVMap&, __U__StrKVMap); -void __read(::IceInternal::BasicStream*, StrKVMap&, __U__StrKVMap); - -} - -namespace IceProxy -{ - -namespace AliIMDBBase -{ - -class SpaceGroupInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int GetContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList) - { - return GetContactList(userId, pageno, pageSize, totalNum, contactList, 0); - } - ::Ice::Int GetContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context& __ctx) - { - return GetContactList(userId, pageno, pageSize, totalNum, contactList, &__ctx); - } - -private: - - ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetSpaceContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList) - { - return GetSpaceContactList(userId, pageno, pageSize, totalNum, contactList, 0); - } - ::Ice::Int GetSpaceContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context& __ctx) - { - return GetSpaceContactList(userId, pageno, pageSize, totalNum, contactList, &__ctx); - } - -private: - - ::Ice::Int GetSpaceContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetNotSpaceContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList) - { - return GetNotSpaceContactList(userId, pageno, pageSize, totalNum, contactList, 0); - } - ::Ice::Int GetNotSpaceContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context& __ctx) - { - return GetNotSpaceContactList(userId, pageno, pageSize, totalNum, contactList, &__ctx); - } - -private: - - ::Ice::Int GetNotSpaceContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetContactListCount(const ::std::string& userId, ::Ice::Int& recordNum) - { - return GetContactListCount(userId, recordNum, 0); - } - ::Ice::Int GetContactListCount(const ::std::string& userId, ::Ice::Int& recordNum, const ::Ice::Context& __ctx) - { - return GetContactListCount(userId, recordNum, &__ctx); - } - -private: - - ::Ice::Int GetContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetSpaceContactListCount(const ::std::string& userId, ::Ice::Int& recordNum) - { - return GetSpaceContactListCount(userId, recordNum, 0); - } - ::Ice::Int GetSpaceContactListCount(const ::std::string& userId, ::Ice::Int& recordNum, const ::Ice::Context& __ctx) - { - return GetSpaceContactListCount(userId, recordNum, &__ctx); - } - -private: - - ::Ice::Int GetSpaceContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetNotSpaceContactListCount(const ::std::string& userId, ::Ice::Int& recordNum) - { - return GetNotSpaceContactListCount(userId, recordNum, 0); - } - ::Ice::Int GetNotSpaceContactListCount(const ::std::string& userId, ::Ice::Int& recordNum, const ::Ice::Context& __ctx) - { - return GetNotSpaceContactListCount(userId, recordNum, &__ctx); - } - -private: - - ::Ice::Int GetNotSpaceContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int AddSpaceContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int groupId, ::Ice::Int cntgroupId, const ::std::string& userNickname, const ::std::string& contactNickname, ::Ice::Int& friendnum, ::Ice::Int& blacklist, ::Ice::Int& verify) - { - return AddSpaceContact(userId, contactId, groupId, cntgroupId, userNickname, contactNickname, friendnum, blacklist, verify, 0); - } - ::Ice::Int AddSpaceContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int groupId, ::Ice::Int cntgroupId, const ::std::string& userNickname, const ::std::string& contactNickname, ::Ice::Int& friendnum, ::Ice::Int& blacklist, ::Ice::Int& verify, const ::Ice::Context& __ctx) - { - return AddSpaceContact(userId, contactId, groupId, cntgroupId, userNickname, contactNickname, friendnum, blacklist, verify, &__ctx); - } - -private: - - ::Ice::Int AddSpaceContact(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int DeleteSpaceContact(const ::std::string& userId, const ::std::string& contactId) - { - return DeleteSpaceContact(userId, contactId, 0); - } - ::Ice::Int DeleteSpaceContact(const ::std::string& userId, const ::std::string& contactId, const ::Ice::Context& __ctx) - { - return DeleteSpaceContact(userId, contactId, &__ctx); - } - -private: - - ::Ice::Int DeleteSpaceContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetSpaceGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList) - { - return GetSpaceGroupList(userId, groupList, 0); - } - ::Ice::Int GetSpaceGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, const ::Ice::Context& __ctx) - { - return GetSpaceGroupList(userId, groupList, &__ctx); - } - -private: - - ::Ice::Int GetSpaceGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetSpaceGroupListEx(const ::std::string& userId, ::spaceContact::SICESpaceGroupInfoSeq& groupList) - { - return GetSpaceGroupListEx(userId, groupList, 0); - } - ::Ice::Int GetSpaceGroupListEx(const ::std::string& userId, ::spaceContact::SICESpaceGroupInfoSeq& groupList, const ::Ice::Context& __ctx) - { - return GetSpaceGroupListEx(userId, groupList, &__ctx); - } - -private: - - ::Ice::Int GetSpaceGroupListEx(const ::std::string&, ::spaceContact::SICESpaceGroupInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int AddSpaceGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId) - { - return AddSpaceGroup(userId, groupName, groupId, 0); - } - ::Ice::Int AddSpaceGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, const ::Ice::Context& __ctx) - { - return AddSpaceGroup(userId, groupName, groupId, &__ctx); - } - -private: - - ::Ice::Int AddSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateSpaceGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId) - { - return UpdateSpaceGroup(userId, groupName, groupId, 0); - } - ::Ice::Int UpdateSpaceGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, const ::Ice::Context& __ctx) - { - return UpdateSpaceGroup(userId, groupName, groupId, &__ctx); - } - -private: - - ::Ice::Int UpdateSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactSpaceGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId) - { - return UpdateContactSpaceGroup(userId, contactId, srcGroupId, dstGroupId, 0); - } - ::Ice::Int UpdateContactSpaceGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, const ::Ice::Context& __ctx) - { - return UpdateContactSpaceGroup(userId, contactId, srcGroupId, dstGroupId, &__ctx); - } - -private: - - ::Ice::Int UpdateContactSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveSpaceGroup(const ::std::string& userId, ::Ice::Int groupId) - { - return RemoveSpaceGroup(userId, groupId, 0); - } - ::Ice::Int RemoveSpaceGroup(const ::std::string& userId, ::Ice::Int groupId, const ::Ice::Context& __ctx) - { - return RemoveSpaceGroup(userId, groupId, &__ctx); - } - -private: - - ::Ice::Int RemoveSpaceGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - -public: - - ::Ice::Int GetSpaceGroupContactList(const ::std::string& userId, ::Ice::Int groupId, ::spaceContact::SICESpaceContactInfoSeq& contactList) - { - return GetSpaceGroupContactList(userId, groupId, contactList, 0); - } - ::Ice::Int GetSpaceGroupContactList(const ::std::string& userId, ::Ice::Int groupId, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context& __ctx) - { - return GetSpaceGroupContactList(userId, groupId, contactList, &__ctx); - } - -private: - - ::Ice::Int GetSpaceGroupContactList(const ::std::string&, ::Ice::Int, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateContactNickName(const ::std::string& userId, const ::std::string& contactid, const ::std::string& nickname) - { - return UpdateContactNickName(userId, contactid, nickname, 0); - } - ::Ice::Int UpdateContactNickName(const ::std::string& userId, const ::std::string& contactid, const ::std::string& nickname, const ::Ice::Context& __ctx) - { - return UpdateContactNickName(userId, contactid, nickname, &__ctx); - } - -private: - - ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int checkContact(const ::std::string& uid, const ::Ice::StringSeq& contactId, ::Ice::IntSeq& result) - { - return checkContact(uid, contactId, result, 0); - } - ::Ice::Int checkContact(const ::std::string& uid, const ::Ice::StringSeq& contactId, ::Ice::IntSeq& result, const ::Ice::Context& __ctx) - { - return checkContact(uid, contactId, result, &__ctx); - } - -private: - - ::Ice::Int checkContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int checkSpaceContact(const ::std::string& uid, const ::Ice::StringSeq& contactId, ::Ice::IntSeq& result) - { - return checkSpaceContact(uid, contactId, result, 0); - } - ::Ice::Int checkSpaceContact(const ::std::string& uid, const ::Ice::StringSeq& contactId, ::Ice::IntSeq& result, const ::Ice::Context& __ctx) - { - return checkSpaceContact(uid, contactId, result, &__ctx); - } - -private: - - ::Ice::Int checkSpaceContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int checkCanAddContact(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int checkType, ::Ice::Int& errorCode) - { - return checkCanAddContact(uid, contactId, checkType, errorCode, 0); - } - ::Ice::Int checkCanAddContact(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int checkType, ::Ice::Int& errorCode, const ::Ice::Context& __ctx) - { - return checkCanAddContact(uid, contactId, checkType, errorCode, &__ctx); - } - -private: - - ::Ice::Int checkCanAddContact(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIMDBBase -{ - -class SpaceGroupInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetSpaceContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetNotSpaceContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetSpaceContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetNotSpaceContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddSpaceContact(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DeleteSpaceContact(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetSpaceGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetSpaceGroupListEx(const ::std::string&, ::spaceContact::SICESpaceGroupInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveSpaceGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetSpaceGroupContactList(const ::std::string&, ::Ice::Int, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkSpaceContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkCanAddContact(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIMDBBase -{ - -class SpaceGroupInterface : virtual public ::IceDelegate::AliIMDBBase::SpaceGroupInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetSpaceContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetNotSpaceContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetSpaceContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetNotSpaceContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddSpaceContact(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DeleteSpaceContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetSpaceGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetSpaceGroupListEx(const ::std::string&, ::spaceContact::SICESpaceGroupInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int RemoveSpaceGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetSpaceGroupContactList(const ::std::string&, ::Ice::Int, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int checkContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int checkSpaceContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int checkCanAddContact(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIMDBBase -{ - -class SpaceGroupInterface : virtual public ::IceDelegate::AliIMDBBase::SpaceGroupInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetSpaceContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetNotSpaceContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetSpaceContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetNotSpaceContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int AddSpaceContact(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int DeleteSpaceContact(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetSpaceGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetSpaceGroupListEx(const ::std::string&, ::spaceContact::SICESpaceGroupInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int RemoveSpaceGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*); - - virtual ::Ice::Int GetSpaceGroupContactList(const ::std::string&, ::Ice::Int, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int checkContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int checkSpaceContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Context*); - - virtual ::Ice::Int checkCanAddContact(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIMDBBase -{ - -class SpaceGroupInterface : virtual public ::Ice::Object -{ -public: - - typedef SpaceGroupInterfacePrx ProxyType; - typedef SpaceGroupInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int GetContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetContactList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetSpaceContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetSpaceContactList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetNotSpaceContactList(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetNotSpaceContactList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetContactListCount(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetSpaceContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetSpaceContactListCount(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetNotSpaceContactListCount(const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetNotSpaceContactListCount(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddSpaceContact(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddSpaceContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DeleteSpaceContact(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DeleteSpaceContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetSpaceGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetSpaceGroupList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetSpaceGroupListEx(const ::std::string&, ::spaceContact::SICESpaceGroupInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetSpaceGroupListEx(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddSpaceGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateSpaceGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateContactSpaceGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactSpaceGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int RemoveSpaceGroup(const ::std::string&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveSpaceGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetSpaceGroupContactList(const ::std::string&, ::Ice::Int, ::spaceContact::SICESpaceContactInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetSpaceGroupContactList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateContactNickName(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int checkContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int checkSpaceContact(const ::std::string&, const ::Ice::StringSeq&, ::Ice::IntSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkSpaceContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int checkCanAddContact(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkCanAddContact(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__SpaceGroupInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/ss_head.h b/features/aliww/include/ss_head.h deleted file mode 100644 index fc6db1c..0000000 --- a/features/aliww/include/ss_head.h +++ /dev/null @@ -1,284 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: ss_head.h -// Date: 2011-01-30 12:50:24 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SS_HEAD_H__ -#define __SS_HEAD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -struct SUserSid -{ -public: - SUserSid() - { - } - - ~SUserSid() { } - SUserSid(const string& strUserId, const uint16_t& wServId) - { - m_userId = strUserId; - m_servId = wServId; - } - SUserSid& operator=( const SUserSid& sUserSid ) - { - m_userId = sUserSid.m_userId; - m_servId = sUserSid.m_servId; - return *this; - } - - string m_userId; - uint16_t m_servId; - -public: - uint32_t Size() const; -}; - -inline uint32_t SUserSid::Size() const -{ - uint32_t nSize = 6; - nSize += m_userId.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SUserSid& sUserSid ); -CPackData& operator>> ( CPackData& cPackData, SUserSid& sUserSid ); - -struct SUserCommInfo -{ -public: - SUserCommInfo() - { - } - - ~SUserCommInfo() { } - SUserCommInfo(const string& strFromId, const VECTOR< SUserSid >& vecReceiverList) - { - m_fromId = strFromId; - m_receiverList = vecReceiverList; - } - SUserCommInfo& operator=( const SUserCommInfo& sUserCommInfo ) - { - m_fromId = sUserCommInfo.m_fromId; - m_receiverList = sUserCommInfo.m_receiverList; - return *this; - } - - string m_fromId; - VECTOR< SUserSid > m_receiverList; - -public: - uint32_t Size() const; -}; - -inline uint32_t SUserCommInfo::Size() const -{ - uint32_t nSize = 8; - nSize += m_fromId.length(); - for(uint32_t i = 0; i < m_receiverList.size(); i++) - { - nSize += m_receiverList[i].Size(); - } - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SUserCommInfo& sUserCommInfo ); -CPackData& operator>> ( CPackData& cPackData, SUserCommInfo& sUserCommInfo ); - -class CSsHead : public CPackData -{ -public: - CSsHead() : m_starter(0xDA), - m_msgtype(0), - m_ttl(64), - m_lrc(0), - m_version(0x0600), - m_cmd(0), - m_seq(0), - m_len(0), - m_cc(0), - m_reserved(1) - { - } - - ~CSsHead() { } - CSsHead(const uint8_t& chStarter, const uint8_t& chMsgtype, const uint8_t& chTtl, const uint8_t& chLrc, const uint16_t& wVersion, const uint16_t& wOrigsid, const uint32_t& dwCmd, const uint32_t& dwSeq, const uint32_t& dwLen, const uint16_t& wCc, const uint16_t& wReserved, const SUserCommInfo& sUserInfo) - { - m_starter = chStarter; - m_msgtype = chMsgtype; - m_ttl = chTtl; - m_lrc = chLrc; - m_version = wVersion; - m_origsid = wOrigsid; - m_cmd = dwCmd; - m_seq = dwSeq; - m_len = dwLen; - m_cc = wCc; - m_reserved = wReserved; - m_userInfo = sUserInfo; - } - CSsHead& operator=( const CSsHead& cSsHead ) - { - m_starter = cSsHead.m_starter; - m_msgtype = cSsHead.m_msgtype; - m_ttl = cSsHead.m_ttl; - m_lrc = cSsHead.m_lrc; - m_version = cSsHead.m_version; - m_origsid = cSsHead.m_origsid; - m_cmd = cSsHead.m_cmd; - m_seq = cSsHead.m_seq; - m_len = cSsHead.m_len; - m_cc = cSsHead.m_cc; - m_reserved = cSsHead.m_reserved; - m_userInfo = cSsHead.m_userInfo; - return *this; - } - -public: - uint8_t m_starter; - uint8_t m_msgtype; - uint8_t m_ttl; - uint8_t m_lrc; - uint16_t m_version; - uint16_t m_origsid; - uint32_t m_cmd; - uint32_t m_seq; - uint32_t m_len; - uint16_t m_cc; - uint16_t m_reserved; - SUserCommInfo m_userInfo; - -public: - void PackData(string& strData); - PACKRETCODE UnpackData(const string& strData); - uint32_t SizeExt() const - { - if((m_reserved & 0x01) == 1) - { - uint32_t nSize = 24; - nSize += m_userInfo.Size(); - return nSize; - } - else - return 24; - } - uint32_t PeekSize() - { - uint32_t nSize = 24; - if((PeekReserved() & 0x01) == 1) - { - { - SetInCursor(nSize); - uint32_t len; - (*this) >> len; - nSize += len + 4; - } - { - SetInCursor(nSize); - uint32_t len; - (*this) >> len; - nSize += 4; - for(uint32_t i = 0; i < len; i++) - { - SetInCursor(nSize); - { - SetInCursor(nSize); - uint32_t len; - (*this) >> len; - nSize += len + 4; - } - nSize += 2; - } - } - } - return nSize; - } - uint32_t Size() const { return 24; } - uint8_t PeekStarter() - { - uint8_t chStarter; - SetInCursor(0); - *this >> chStarter; - return chStarter; - } - uint8_t PeekMsgtype() - { - uint8_t chMsgtype; - SetInCursor(1); - *this >> chMsgtype; - return chMsgtype; - } - uint8_t PeekTtl() - { - uint8_t chTtl; - SetInCursor(2); - *this >> chTtl; - return chTtl; - } - uint8_t PeekLrc() - { - uint8_t chLrc; - SetInCursor(3); - *this >> chLrc; - return chLrc; - } - uint16_t PeekVersion() - { - uint16_t wVersion; - SetInCursor(4); - *this >> wVersion; - return wVersion; - } - uint16_t PeekOrigsid() - { - uint16_t wOrigsid; - SetInCursor(6); - *this >> wOrigsid; - return wOrigsid; - } - uint32_t PeekCmd() - { - uint32_t dwCmd; - SetInCursor(8); - *this >> dwCmd; - return dwCmd; - } - uint32_t PeekSeq() - { - uint32_t dwSeq; - SetInCursor(12); - *this >> dwSeq; - return dwSeq; - } - uint32_t PeekLen() - { - uint32_t dwLen; - SetInCursor(16); - *this >> dwLen; - return dwLen; - } - uint16_t PeekCc() - { - uint16_t wCc; - SetInCursor(20); - *this >> wCc; - return wCc; - } - uint16_t PeekReserved() - { - uint16_t wReserved; - SetInCursor(22); - *this >> wReserved; - return wReserved; - } -}; - -#endif diff --git a/features/aliww/include/ss_v5_head.h b/features/aliww/include/ss_v5_head.h deleted file mode 100644 index 8414c8a..0000000 --- a/features/aliww/include/ss_v5_head.h +++ /dev/null @@ -1,170 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: ss_v5_head.h -// Date: 2011-01-30 12:50:03 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __SS_V5_HEAD_H__ -#define __SS_V5_HEAD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -#ifndef UID_LENGTH -#define UID_LENGTH 64 -#endif - -#ifndef TID_LENGTH -#define TID_LENGTH 20 -#endif - -#ifndef TBS_NAME_LENGTH -#define TBS_NAME_LENGTH 64 -#endif - -#ifndef TBS_MSG_LENGTH -#define TBS_MSG_LENGTH 512 -#endif - -#ifndef TBS_DATE_LEN -#define TBS_DATE_LEN 20 -#endif - -#ifndef TBS_VALID_LEN -#define TBS_VALID_LEN 32 -#endif - -#ifndef TBS_PASS_LEN -#define TBS_PASS_LEN 20 -#endif - -#ifndef STATUSDEF_LENGTH -#define STATUSDEF_LENGTH 64 -#endif - -#ifndef MOBILENO_LEN -#define MOBILENO_LEN 20 -#endif - -#ifndef VERSION_LENGTH -#define VERSION_LENGTH 128 -#endif - -#ifndef TBS_KEYWORD_LEN -#define TBS_KEYWORD_LEN 64 -#endif - -#ifndef SESSION_LENGTH -#define SESSION_LENGTH 16 -#endif - -#ifndef IPADDR_LENGTH -#define IPADDR_LENGTH 15 -#endif - -class CSsV5Head : public CPackData -{ -public: - ~CSsV5Head() { } - CSsV5Head(const uint8_t& chStarter= 0x8f, const uint16_t& wVersion= 0x0100, const uint32_t& dwReserved= 0, const uint8_t& chImsId= 0, const uint16_t& wCmd= 0, const uint32_t& dwSeq= 0, const uint16_t& wCc= 0, const uint32_t& dwLen= 0) - { - m_starter = chStarter; - m_version = wVersion; - m_reserved = dwReserved; - m_imsId = chImsId; - m_cmd = wCmd; - m_seq = dwSeq; - m_cc = wCc; - m_len = dwLen; - } - CSsV5Head& operator=( const CSsV5Head& cSsV5Head ) - { - m_starter = cSsV5Head.m_starter; - m_version = cSsV5Head.m_version; - m_reserved = cSsV5Head.m_reserved; - m_imsId = cSsV5Head.m_imsId; - m_cmd = cSsV5Head.m_cmd; - m_seq = cSsV5Head.m_seq; - m_cc = cSsV5Head.m_cc; - m_len = cSsV5Head.m_len; - return *this; - } - -public: - uint8_t m_starter; - uint16_t m_version; - uint32_t m_reserved; - uint8_t m_imsId; - uint16_t m_cmd; - uint32_t m_seq; - uint16_t m_cc; - uint32_t m_len; - -public: - void PackData(string& strData); - PACKRETCODE UnpackData(const string& strData); - uint32_t Size() const { return 20; } - uint8_t PeekStarter() - { - uint8_t chStarter; - SetInCursor(0); - *this >> chStarter; - return chStarter; - } - uint16_t PeekVersion() - { - uint16_t wVersion; - SetInCursor(1); - *this >> wVersion; - return wVersion; - } - uint32_t PeekReserved() - { - uint32_t dwReserved; - SetInCursor(3); - *this >> dwReserved; - return dwReserved; - } - uint8_t PeekImsId() - { - uint8_t chImsId; - SetInCursor(7); - *this >> chImsId; - return chImsId; - } - uint16_t PeekCmd() - { - uint16_t wCmd; - SetInCursor(8); - *this >> wCmd; - return wCmd; - } - uint32_t PeekSeq() - { - uint32_t dwSeq; - SetInCursor(10); - *this >> dwSeq; - return dwSeq; - } - uint16_t PeekCc() - { - uint16_t wCc; - SetInCursor(14); - *this >> wCc; - return wCc; - } - uint32_t PeekLen() - { - uint32_t dwLen; - SetInCursor(16); - *this >> dwLen; - return dwLen; - } -}; - -#endif diff --git a/features/aliww/include/struct.h b/features/aliww/include/struct.h deleted file mode 100644 index e7eb63e..0000000 --- a/features/aliww/include/struct.h +++ /dev/null @@ -1,71 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `struct.ice' - -#ifndef __struct_h__ -#define __struct_h__ - -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace model -{ - -typedef ::std::map< ::std::string, ::std::string> Map; - -class __U__Map { }; -void __write(::IceInternal::BasicStream*, const Map&, __U__Map); -void __read(::IceInternal::BasicStream*, Map&, __U__Map); - -} - -} - -} - -} - -} - -} - -#endif diff --git a/features/aliww/include/tbWebMember.h b/features/aliww/include/tbWebMember.h deleted file mode 100644 index 24d3fca..0000000 --- a/features/aliww/include/tbWebMember.h +++ /dev/null @@ -1,790 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `tbWebMember.ice' - -#ifndef __tbWebMember_h__ -#define __tbWebMember_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace tbWebMember -{ - -class UserProfile; -bool operator==(const UserProfile&, const UserProfile&); -bool operator!=(const UserProfile&, const UserProfile&); -bool operator<(const UserProfile&, const UserProfile&); -bool operator<=(const UserProfile&, const UserProfile&); -bool operator>(const UserProfile&, const UserProfile&); -bool operator>=(const UserProfile&, const UserProfile&); - -} - -} - -namespace tbWebMember -{ - -class UserProfile; -bool operator==(const UserProfile&, const UserProfile&); -bool operator!=(const UserProfile&, const UserProfile&); -bool operator<(const UserProfile&, const UserProfile&); -bool operator<=(const UserProfile&, const UserProfile&); -bool operator>(const UserProfile&, const UserProfile&); -bool operator>=(const UserProfile&, const UserProfile&); - -} - -namespace IceInternal -{ - -void incRef(::tbWebMember::UserProfile*); -void decRef(::tbWebMember::UserProfile*); - -void incRef(::IceProxy::tbWebMember::UserProfile*); -void decRef(::IceProxy::tbWebMember::UserProfile*); - -} - -namespace tbWebMember -{ - -typedef ::IceInternal::Handle< ::tbWebMember::UserProfile> UserProfilePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::tbWebMember::UserProfile> UserProfilePrx; - -void __write(::IceInternal::BasicStream*, const UserProfilePrx&); -void __read(::IceInternal::BasicStream*, UserProfilePrx&); -void __write(::IceInternal::BasicStream*, const UserProfilePtr&); -void __patch__UserProfilePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const UserProfilePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const UserProfilePtr&); -void __decRefUnsafe(const UserProfilePtr&); -void __clearHandleUnsafe(UserProfilePtr&); - -} - -namespace tbWebMember -{ - -struct stbuserStatus -{ - ::std::string uid; - ::std::string id; - ::Ice::Int exists; - ::Ice::Int status; - - bool operator==(const stbuserStatus&) const; - bool operator!=(const stbuserStatus&) const; - bool operator<(const stbuserStatus&) const; - bool operator<=(const stbuserStatus& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const stbuserStatus& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const stbuserStatus& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct stbuserPwd -{ - ::std::string uid; - ::std::string passwd; - ::Ice::Int status; - - bool operator==(const stbuserPwd&) const; - bool operator!=(const stbuserPwd&) const; - bool operator<(const stbuserPwd&) const; - bool operator<=(const stbuserPwd& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const stbuserPwd& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const stbuserPwd& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct stbuserInfo -{ - ::std::string uid; - ::Ice::Int ratesum; - ::Ice::Int userLevel; - ::Ice::Int promotedtype; - ::Ice::Int active; - ::std::string id; - - bool operator==(const stbuserInfo&) const; - bool operator!=(const stbuserInfo&) const; - bool operator<(const stbuserInfo&) const; - bool operator<=(const stbuserInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const stbuserInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const stbuserInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SSimpleUserProfile -{ - ::std::string uid; - ::std::string password; - ::std::string status; - - bool operator==(const SSimpleUserProfile&) const; - bool operator!=(const SSimpleUserProfile&) const; - bool operator<(const SSimpleUserProfile&) const; - bool operator<=(const SSimpleUserProfile& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SSimpleUserProfile& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SSimpleUserProfile& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SHalfUserProfile -{ - ::std::string uid; - ::std::string password; - ::std::string status; - ::std::string realName; - ::std::string company; - ::std::string jobTitle; - ::std::string memberLevel; - ::std::string penName; - ::Ice::Int categoryId; - ::std::string phoneArea; - ::std::string phoneStatus; - ::std::string phone; - - bool operator==(const SHalfUserProfile&) const; - bool operator!=(const SHalfUserProfile&) const; - bool operator<(const SHalfUserProfile&) const; - bool operator<=(const SHalfUserProfile& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SHalfUserProfile& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SHalfUserProfile& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct StbFullUserProfile -{ - ::std::string uid; - ::std::string address; - ::std::string zip; - ::std::string email; - ::std::string birthdate; - ::Ice::Int activated; - ::std::string id; - - bool operator==(const StbFullUserProfile&) const; - bool operator!=(const StbFullUserProfile&) const; - bool operator<(const StbFullUserProfile&) const; - bool operator<=(const StbFullUserProfile& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const StbFullUserProfile& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const StbFullUserProfile& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct sUdbData -{ - ::std::string id; - ::std::string nick; - ::std::string fullname; - ::std::string password; - ::std::string email; - ::std::string zip; - ::std::string address; - ::std::string phone; - ::std::string mobilephone; - ::std::string prov; - ::std::string city; - ::std::string usergender; - ::std::string birthdate; - - bool operator==(const sUdbData&) const; - bool operator!=(const sUdbData&) const; - bool operator<(const sUdbData&) const; - bool operator<=(const sUdbData& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const sUdbData& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const sUdbData& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SExUdbData -{ - ::std::string id; - ::std::string nick; - ::std::string fullname; - ::std::string password; - ::std::string email; - ::std::string zip; - ::std::string address; - ::std::string phone; - ::std::string mobilephone; - ::std::string prov; - ::std::string city; - ::std::string usergender; - ::std::string birthdate; - ::std::string district; - ::std::string website; - ::std::string interesting; - - bool operator==(const SExUdbData&) const; - bool operator!=(const SExUdbData&) const; - bool operator<(const SExUdbData&) const; - bool operator<=(const SExUdbData& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SExUdbData& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SExUdbData& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct SBLoginInfo -{ - ::std::string uid; - ::std::string passwd; - ::Ice::Int actived; - ::std::string status; - ::std::string extraInfo; - - bool operator==(const SBLoginInfo&) const; - bool operator!=(const SBLoginInfo&) const; - bool operator<(const SBLoginInfo&) const; - bool operator<=(const SBLoginInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SBLoginInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SBLoginInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::std::string> UserIdSeq; - -class __U__UserIdSeq { }; - -typedef ::std::vector< ::tbWebMember::SSimpleUserProfile> SUserSeq; - -class __U__SUserSeq { }; -void __write(::IceInternal::BasicStream*, const ::tbWebMember::SSimpleUserProfile*, const ::tbWebMember::SSimpleUserProfile*, __U__SUserSeq); -void __read(::IceInternal::BasicStream*, SUserSeq&, __U__SUserSeq); - -typedef ::std::vector< ::tbWebMember::SHalfUserProfile> HUserSeq; - -class __U__HUserSeq { }; -void __write(::IceInternal::BasicStream*, const ::tbWebMember::SHalfUserProfile*, const ::tbWebMember::SHalfUserProfile*, __U__HUserSeq); -void __read(::IceInternal::BasicStream*, HUserSeq&, __U__HUserSeq); - -typedef ::std::vector< ::tbWebMember::StbFullUserProfile> tbFUserSeq; - -class __U__tbFUserSeq { }; -void __write(::IceInternal::BasicStream*, const ::tbWebMember::StbFullUserProfile*, const ::tbWebMember::StbFullUserProfile*, __U__tbFUserSeq); -void __read(::IceInternal::BasicStream*, tbFUserSeq&, __U__tbFUserSeq); - -} - -namespace IceProxy -{ - -namespace tbWebMember -{ - -class UserProfile : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int GetSimpleUserProfile(const ::std::string& uid, ::tbWebMember::SSimpleUserProfile& userProfiles) - { - return GetSimpleUserProfile(uid, userProfiles, 0); - } - ::Ice::Int GetSimpleUserProfile(const ::std::string& uid, ::tbWebMember::SSimpleUserProfile& userProfiles, const ::Ice::Context& __ctx) - { - return GetSimpleUserProfile(uid, userProfiles, &__ctx); - } - -private: - - ::Ice::Int GetSimpleUserProfile(const ::std::string&, ::tbWebMember::SSimpleUserProfile&, const ::Ice::Context*); - -public: - - ::Ice::Int GetFullUserProfile(const ::std::string& uid, ::tbWebMember::StbFullUserProfile& userProfiles) - { - return GetFullUserProfile(uid, userProfiles, 0); - } - ::Ice::Int GetFullUserProfile(const ::std::string& uid, ::tbWebMember::StbFullUserProfile& userProfiles, const ::Ice::Context& __ctx) - { - return GetFullUserProfile(uid, userProfiles, &__ctx); - } - -private: - - ::Ice::Int GetFullUserProfile(const ::std::string&, ::tbWebMember::StbFullUserProfile&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUidByPenname(const ::std::string& penName, ::std::string& userId) - { - return GetUidByPenname(penName, userId, 0); - } - ::Ice::Int GetUidByPenname(const ::std::string& penName, ::std::string& userId, const ::Ice::Context& __ctx) - { - return GetUidByPenname(penName, userId, &__ctx); - } - -private: - - ::Ice::Int GetUidByPenname(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserPwd(const ::std::string& uid, ::tbWebMember::stbuserPwd& pwd) - { - return GetUserPwd(uid, pwd, 0); - } - ::Ice::Int GetUserPwd(const ::std::string& uid, ::tbWebMember::stbuserPwd& pwd, const ::Ice::Context& __ctx) - { - return GetUserPwd(uid, pwd, &__ctx); - } - -private: - - ::Ice::Int GetUserPwd(const ::std::string&, ::tbWebMember::stbuserPwd&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckUser(const ::std::string& uid, ::tbWebMember::stbuserStatus& st) - { - return CheckUser(uid, st, 0); - } - ::Ice::Int CheckUser(const ::std::string& uid, ::tbWebMember::stbuserStatus& st, const ::Ice::Context& __ctx) - { - return CheckUser(uid, st, &__ctx); - } - -private: - - ::Ice::Int CheckUser(const ::std::string&, ::tbWebMember::stbuserStatus&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserInfo(const ::std::string& uid, ::tbWebMember::stbuserInfo& info) - { - return GetUserInfo(uid, info, 0); - } - ::Ice::Int GetUserInfo(const ::std::string& uid, ::tbWebMember::stbuserInfo& info, const ::Ice::Context& __ctx) - { - return GetUserInfo(uid, info, &__ctx); - } - -private: - - ::Ice::Int GetUserInfo(const ::std::string&, ::tbWebMember::stbuserInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int GetTName(const ::std::string& uid, ::std::string& tname) - { - return GetTName(uid, tname, 0); - } - ::Ice::Int GetTName(const ::std::string& uid, ::std::string& tname, const ::Ice::Context& __ctx) - { - return GetTName(uid, tname, &__ctx); - } - -private: - - ::Ice::Int GetTName(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUDBData(const ::std::string& uid, ::tbWebMember::sUdbData& udbInfo) - { - return GetUDBData(uid, udbInfo, 0); - } - ::Ice::Int GetUDBData(const ::std::string& uid, ::tbWebMember::sUdbData& udbInfo, const ::Ice::Context& __ctx) - { - return GetUDBData(uid, udbInfo, &__ctx); - } - -private: - - ::Ice::Int GetUDBData(const ::std::string&, ::tbWebMember::sUdbData&, const ::Ice::Context*); - -public: - - ::Ice::Int GetExUDBData(const ::std::string& uid, ::tbWebMember::SExUdbData& exudbInfo) - { - return GetExUDBData(uid, exudbInfo, 0); - } - ::Ice::Int GetExUDBData(const ::std::string& uid, ::tbWebMember::SExUdbData& exudbInfo, const ::Ice::Context& __ctx) - { - return GetExUDBData(uid, exudbInfo, &__ctx); - } - -private: - - ::Ice::Int GetExUDBData(const ::std::string&, ::tbWebMember::SExUdbData&, const ::Ice::Context*); - -public: - - ::Ice::Int GetRates(const ::std::string& uid, ::Ice::Int& buyrates, ::Ice::Int& sellrates) - { - return GetRates(uid, buyrates, sellrates, 0); - } - ::Ice::Int GetRates(const ::std::string& uid, ::Ice::Int& buyrates, ::Ice::Int& sellrates, const ::Ice::Context& __ctx) - { - return GetRates(uid, buyrates, sellrates, &__ctx); - } - -private: - - ::Ice::Int GetRates(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int GetBasicLoginInfo(const ::std::string& uid, ::tbWebMember::SBLoginInfo& info) - { - return GetBasicLoginInfo(uid, info, 0); - } - ::Ice::Int GetBasicLoginInfo(const ::std::string& uid, ::tbWebMember::SBLoginInfo& info, const ::Ice::Context& __ctx) - { - return GetBasicLoginInfo(uid, info, &__ctx); - } - -private: - - ::Ice::Int GetBasicLoginInfo(const ::std::string&, ::tbWebMember::SBLoginInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int CheckUserWebToken(const ::std::string& uid, const ::std::string& token, ::std::string& reason) - { - return CheckUserWebToken(uid, token, reason, 0); - } - ::Ice::Int CheckUserWebToken(const ::std::string& uid, const ::std::string& token, ::std::string& reason, const ::Ice::Context& __ctx) - { - return CheckUserWebToken(uid, token, reason, &__ctx); - } - -private: - - ::Ice::Int CheckUserWebToken(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace tbWebMember -{ - -class UserProfile : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int GetSimpleUserProfile(const ::std::string&, ::tbWebMember::SSimpleUserProfile&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetFullUserProfile(const ::std::string&, ::tbWebMember::StbFullUserProfile&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUidByPenname(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserPwd(const ::std::string&, ::tbWebMember::stbuserPwd&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckUser(const ::std::string&, ::tbWebMember::stbuserStatus&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserInfo(const ::std::string&, ::tbWebMember::stbuserInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetTName(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUDBData(const ::std::string&, ::tbWebMember::sUdbData&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetExUDBData(const ::std::string&, ::tbWebMember::SExUdbData&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetRates(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetBasicLoginInfo(const ::std::string&, ::tbWebMember::SBLoginInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int CheckUserWebToken(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace tbWebMember -{ - -class UserProfile : virtual public ::IceDelegate::tbWebMember::UserProfile, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int GetSimpleUserProfile(const ::std::string&, ::tbWebMember::SSimpleUserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int GetFullUserProfile(const ::std::string&, ::tbWebMember::StbFullUserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int GetUidByPenname(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserPwd(const ::std::string&, ::tbWebMember::stbuserPwd&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUser(const ::std::string&, ::tbWebMember::stbuserStatus&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfo(const ::std::string&, ::tbWebMember::stbuserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetTName(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUDBData(const ::std::string&, ::tbWebMember::sUdbData&, const ::Ice::Context*); - - virtual ::Ice::Int GetExUDBData(const ::std::string&, ::tbWebMember::SExUdbData&, const ::Ice::Context*); - - virtual ::Ice::Int GetRates(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetBasicLoginInfo(const ::std::string&, ::tbWebMember::SBLoginInfo&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserWebToken(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace tbWebMember -{ - -class UserProfile : virtual public ::IceDelegate::tbWebMember::UserProfile, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int GetSimpleUserProfile(const ::std::string&, ::tbWebMember::SSimpleUserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int GetFullUserProfile(const ::std::string&, ::tbWebMember::StbFullUserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int GetUidByPenname(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserPwd(const ::std::string&, ::tbWebMember::stbuserPwd&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUser(const ::std::string&, ::tbWebMember::stbuserStatus&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserInfo(const ::std::string&, ::tbWebMember::stbuserInfo&, const ::Ice::Context*); - - virtual ::Ice::Int GetTName(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int GetUDBData(const ::std::string&, ::tbWebMember::sUdbData&, const ::Ice::Context*); - - virtual ::Ice::Int GetExUDBData(const ::std::string&, ::tbWebMember::SExUdbData&, const ::Ice::Context*); - - virtual ::Ice::Int GetRates(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int GetBasicLoginInfo(const ::std::string&, ::tbWebMember::SBLoginInfo&, const ::Ice::Context*); - - virtual ::Ice::Int CheckUserWebToken(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace tbWebMember -{ - -class UserProfile : virtual public ::Ice::Object -{ -public: - - typedef UserProfilePrx ProxyType; - typedef UserProfilePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int GetSimpleUserProfile(const ::std::string&, ::tbWebMember::SSimpleUserProfile&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetSimpleUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetFullUserProfile(const ::std::string&, ::tbWebMember::StbFullUserProfile&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetFullUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetUidByPenname(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUidByPenname(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetUserPwd(const ::std::string&, ::tbWebMember::stbuserPwd&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserPwd(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int CheckUser(const ::std::string&, ::tbWebMember::stbuserStatus&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetUserInfo(const ::std::string&, ::tbWebMember::stbuserInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetTName(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetTName(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetUDBData(const ::std::string&, ::tbWebMember::sUdbData&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUDBData(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetExUDBData(const ::std::string&, ::tbWebMember::SExUdbData&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetExUDBData(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetRates(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetRates(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetBasicLoginInfo(const ::std::string&, ::tbWebMember::SBLoginInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetBasicLoginInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int CheckUserWebToken(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___CheckUserWebToken(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__UserProfilePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/tbbdb_pack.h b/features/aliww/include/tbbdb_pack.h deleted file mode 100644 index 202f430..0000000 --- a/features/aliww/include/tbbdb_pack.h +++ /dev/null @@ -1,269 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tbbdb_pack.h -// Date: 2011-01-30 12:50:11 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __TBBDB_PACK_H__ -#define __TBBDB_PACK_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -struct SBdbtribe -{ -public: - SBdbtribe() : m_webTid(""), - m_groupId(0), - m_memberLimit(200) - { - } - - ~SBdbtribe() { } - SBdbtribe(const uint32_t& dwTribeid, const uint32_t& dwCatid, const uint32_t& dwMembertimes, const uint16_t& wCheckmode, const uint8_t& chAllowvisitor, const uint8_t& chForbidsearch, const uint32_t& dwGroupstamp, const uint32_t& dwBlackstamp, const uint32_t& dwBlacknum, const uint32_t& dwOnlinetime, const uint32_t& dwOnlineactdegree, const uint32_t& dwChatactdegree, const uint32_t& dwRewardactdegree, const uint32_t& dwTotalactdegree, const string& strName, const string& strOwner, const string& strDesc, const string& strBulletin, const string& strPassword, const string& strValidcode, const string& strKeyword, const string& strExtsign, const string& strWebTid= "", const uint32_t& dwGroupId= 0, const uint32_t& dwMemberLimit= 200) - { - m_tribeid = dwTribeid; - m_catid = dwCatid; - m_membertimes = dwMembertimes; - m_checkmode = wCheckmode; - m_allowvisitor = chAllowvisitor; - m_forbidsearch = chForbidsearch; - m_groupstamp = dwGroupstamp; - m_blackstamp = dwBlackstamp; - m_blacknum = dwBlacknum; - m_onlinetime = dwOnlinetime; - m_onlineactdegree = dwOnlineactdegree; - m_chatactdegree = dwChatactdegree; - m_rewardactdegree = dwRewardactdegree; - m_totalactdegree = dwTotalactdegree; - m_name = strName; - m_owner = strOwner; - m_desc = strDesc; - m_bulletin = strBulletin; - m_password = strPassword; - m_validcode = strValidcode; - m_keyword = strKeyword; - m_extsign = strExtsign; - m_webTid = strWebTid; - m_groupId = dwGroupId; - m_memberLimit = dwMemberLimit; - } - SBdbtribe& operator=( const SBdbtribe& sBdbtribe ) - { - m_tribeid = sBdbtribe.m_tribeid; - m_catid = sBdbtribe.m_catid; - m_membertimes = sBdbtribe.m_membertimes; - m_checkmode = sBdbtribe.m_checkmode; - m_allowvisitor = sBdbtribe.m_allowvisitor; - m_forbidsearch = sBdbtribe.m_forbidsearch; - m_groupstamp = sBdbtribe.m_groupstamp; - m_blackstamp = sBdbtribe.m_blackstamp; - m_blacknum = sBdbtribe.m_blacknum; - m_onlinetime = sBdbtribe.m_onlinetime; - m_onlineactdegree = sBdbtribe.m_onlineactdegree; - m_chatactdegree = sBdbtribe.m_chatactdegree; - m_rewardactdegree = sBdbtribe.m_rewardactdegree; - m_totalactdegree = sBdbtribe.m_totalactdegree; - m_name = sBdbtribe.m_name; - m_owner = sBdbtribe.m_owner; - m_desc = sBdbtribe.m_desc; - m_bulletin = sBdbtribe.m_bulletin; - m_password = sBdbtribe.m_password; - m_validcode = sBdbtribe.m_validcode; - m_keyword = sBdbtribe.m_keyword; - m_extsign = sBdbtribe.m_extsign; - m_webTid = sBdbtribe.m_webTid; - m_groupId = sBdbtribe.m_groupId; - m_memberLimit = sBdbtribe.m_memberLimit; - return *this; - } - - uint32_t m_tribeid; - uint32_t m_catid; - uint32_t m_membertimes; - uint16_t m_checkmode; - uint8_t m_allowvisitor; - uint8_t m_forbidsearch; - uint32_t m_groupstamp; - uint32_t m_blackstamp; - uint32_t m_blacknum; - uint32_t m_onlinetime; - uint32_t m_onlineactdegree; - uint32_t m_chatactdegree; - uint32_t m_rewardactdegree; - uint32_t m_totalactdegree; - string m_name; - string m_owner; - string m_desc; - string m_bulletin; - string m_password; - string m_validcode; - string m_keyword; - string m_extsign; - string m_webTid; - uint32_t m_groupId; - uint32_t m_memberLimit; - -public: - uint32_t Size() const; -}; - -inline uint32_t SBdbtribe::Size() const -{ - uint32_t nSize = 118; - nSize += m_name.length(); - nSize += m_owner.length(); - nSize += m_desc.length(); - nSize += m_bulletin.length(); - nSize += m_password.length(); - nSize += m_validcode.length(); - nSize += m_keyword.length(); - nSize += m_extsign.length(); - nSize += m_webTid.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SBdbtribe& sBdbtribe ); -CPackData& operator>> ( CPackData& cPackData, SBdbtribe& sBdbtribe ); - -struct SBdbtribemembernode -{ -public: - SBdbtribemembernode() : m_popupflag(0) - { - } - - ~SBdbtribemembernode() { } - SBdbtribemembernode(const uint8_t& chTribelevel, const uint8_t& chTrbstatus, const uint32_t& dwLastmsgid, const uint32_t& dwLogontime, const string& strUserid, const string& strUsername, const uint8_t& chMobilebindflag, const string& strMobileno, const string& strBindmobile, const uint32_t& dwLastchattime, const uint32_t& dwOnlinetime, const uint32_t& dwOnlineactive, const uint32_t& dwChatactive, const uint32_t& dwRewardactive, const uint32_t& dwTotalactive, const uint32_t& dwAddtimes, const string& strVersion, const uint64_t& ullGroupid, const uint8_t& chStarmember, const uint8_t& chOpenflag, const uint8_t& chPopupflag= 0) - { - m_tribelevel = chTribelevel; - m_trbstatus = chTrbstatus; - m_lastmsgid = dwLastmsgid; - m_logontime = dwLogontime; - m_userid = strUserid; - m_username = strUsername; - m_mobilebindflag = chMobilebindflag; - m_mobileno = strMobileno; - m_bindmobile = strBindmobile; - m_lastchattime = dwLastchattime; - m_onlinetime = dwOnlinetime; - m_onlineactive = dwOnlineactive; - m_chatactive = dwChatactive; - m_rewardactive = dwRewardactive; - m_totalactive = dwTotalactive; - m_addtimes = dwAddtimes; - m_version = strVersion; - m_groupid = ullGroupid; - m_starmember = chStarmember; - m_openflag = chOpenflag; - m_popupflag = chPopupflag; - } - SBdbtribemembernode& operator=( const SBdbtribemembernode& sBdbtribemembernode ) - { - m_tribelevel = sBdbtribemembernode.m_tribelevel; - m_trbstatus = sBdbtribemembernode.m_trbstatus; - m_lastmsgid = sBdbtribemembernode.m_lastmsgid; - m_logontime = sBdbtribemembernode.m_logontime; - m_userid = sBdbtribemembernode.m_userid; - m_username = sBdbtribemembernode.m_username; - m_mobilebindflag = sBdbtribemembernode.m_mobilebindflag; - m_mobileno = sBdbtribemembernode.m_mobileno; - m_bindmobile = sBdbtribemembernode.m_bindmobile; - m_lastchattime = sBdbtribemembernode.m_lastchattime; - m_onlinetime = sBdbtribemembernode.m_onlinetime; - m_onlineactive = sBdbtribemembernode.m_onlineactive; - m_chatactive = sBdbtribemembernode.m_chatactive; - m_rewardactive = sBdbtribemembernode.m_rewardactive; - m_totalactive = sBdbtribemembernode.m_totalactive; - m_addtimes = sBdbtribemembernode.m_addtimes; - m_version = sBdbtribemembernode.m_version; - m_groupid = sBdbtribemembernode.m_groupid; - m_starmember = sBdbtribemembernode.m_starmember; - m_openflag = sBdbtribemembernode.m_openflag; - m_popupflag = sBdbtribemembernode.m_popupflag; - return *this; - } - - uint8_t m_tribelevel; - uint8_t m_trbstatus; - uint32_t m_lastmsgid; - uint32_t m_logontime; - string m_userid; - string m_username; - uint8_t m_mobilebindflag; - string m_mobileno; - string m_bindmobile; - uint32_t m_lastchattime; - uint32_t m_onlinetime; - uint32_t m_onlineactive; - uint32_t m_chatactive; - uint32_t m_rewardactive; - uint32_t m_totalactive; - uint32_t m_addtimes; - string m_version; - uint64_t m_groupid; - uint8_t m_starmember; - uint8_t m_openflag; - uint8_t m_popupflag; - -public: - uint32_t Size() const; -}; - -inline uint32_t SBdbtribemembernode::Size() const -{ - uint32_t nSize = 92; - nSize += m_userid.length(); - nSize += m_username.length(); - nSize += m_mobileno.length(); - nSize += m_bindmobile.length(); - nSize += m_version.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SBdbtribemembernode& sBdbtribemembernode ); -CPackData& operator>> ( CPackData& cPackData, SBdbtribemembernode& sBdbtribemembernode ); - -struct SBdbtribemembernodevector -{ -public: - SBdbtribemembernodevector() - { - } - - ~SBdbtribemembernodevector() { } - SBdbtribemembernodevector(const VECTOR< SBdbtribemembernode >& vecNodes) - { - m_nodes = vecNodes; - } - SBdbtribemembernodevector& operator=( const SBdbtribemembernodevector& sBdbtribemembernodevector ) - { - m_nodes = sBdbtribemembernodevector.m_nodes; - return *this; - } - - VECTOR< SBdbtribemembernode > m_nodes; - -public: - uint32_t Size() const; -}; - -inline uint32_t SBdbtribemembernodevector::Size() const -{ - uint32_t nSize = 7; - for(uint32_t i = 0; i < m_nodes.size(); i++) - { - nSize += m_nodes[i].Size(); - } - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SBdbtribemembernodevector& sBdbtribemembernodevector ); -CPackData& operator>> ( CPackData& cPackData, SBdbtribemembernodevector& sBdbtribemembernodevector ); - -#endif diff --git a/features/aliww/include/tbsc_cmd.h b/features/aliww/include/tbsc_cmd.h deleted file mode 100644 index b9fe2a1..0000000 --- a/features/aliww/include/tbsc_cmd.h +++ /dev/null @@ -1,112 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tbsc_cmd.h -// Date: 2011-01-30 12:48:44 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __TBSC_CMD_H__ -#define __TBSC_CMD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -enum TBSC_REQUEST -{ - IM_REQ_GET_TRIBEGROUP = 0x6000001, - IM_REQ_ADD_TRIBEGROUP = 0x6000002, - IM_REQ_UPDATE_TRIBEGROUP = 0x6000003, - IM_REQ_DEL_TRIBEGROUP = 0x6000004, - IM_REQ_SHALLOW_LOGINTRIBE = 0x6000005, - IM_REQ_DEEP_LOGINTRIBE = 0x6000006, - IM_REQ_INVITE_TRIBE = 0x6000007, - IM_REQ_ONINVITE_JOINTRIBE = 0x6000008, - IM_REQ_ASK_JOINTRIBE = 0x6000009, - IM_REQ_EXAM_ASKJOINTRIBE = 0x600000a, - IM_REQ_CHGLEVEL_TRIBEMEMBER = 0x600000b, - IM_REQ_CHG_TRIBEGROUP = 0x600000c, - IM_REQ_ADD_STARMEMBER = 0x600000d, - IM_REQ_DEL_STARMEMBER = 0x600000e, - IM_REQ_DEL_TRIBEMEMBER = 0x600000f, - IM_REQ_GET_TRIBEBLACK = 0x6000010, - IM_REQ_ADD_TRIBEBLACK = 0x6000011, - IM_REQ_DEL_TRIBEBLACK = 0x6000012, - IM_REQ_QUIT_TRIBE = 0x6000013, - IM_REQ_CLOSE_TRIBE = 0x6000014, - IM_REQ_GET_TRIBEINFO = 0x6000015, - IM_REQ_MODIFY_TRIBE = 0x6000016, - IM_REQ_GET_TRIBEMEMBERINFO = 0x6000017, - IM_REQ_SEND_TRIBEMSG = 0x6000018, - IM_REQ_GET_TRIBE_CONFIG = 0x6000019, - IM_REQ_SET_TRIBE_CONFIG = 0x600001a, - IM_REQ_SET_OPEN_TRIBE = 0x600001b, - IM_REQ_VISIT_TRIBE = 0x600001c, - IM_REQ_CLEAR_VISITOR = 0x600001d, - IM_REQ_START_TRIBE = 0x600001e, - IM_REQ_RECOMMEND_TRIBE = 0x6000024, - IM_REQ_AUTH_RECOMMEND = 0x6000025, - IM_REQ_UPDATE_TRIBECARD = 0x600003b, - IM_REQ_WEB_LOGINTRIBE = 0x6000040, - IM_REQ_SET_TRIBE_MSG_POPUP = 0x6000041, - IM_REQ_TRANSFER_TRIBE = 0x6000042, - -}; - -enum TBSC_RESPONSE -{ - IM_RSP_GET_TRIBEGROUP = 0x6010001, - IM_RSP_ADD_TRIBEGROUP = 0x6010002, - IM_RSP_UPDATE_TRIBEGROUP = 0x6010003, - IM_RSP_DEL_TRIBEGROUP = 0x6010004, - IM_RSP_SHALLOW_LOGINTRIBE = 0x6010005, - IM_RSP_DEEP_LOGINTRIBE = 0x6010006, - IM_RSP_INVITE_TRIBE = 0x6010007, - IM_RSP_ONINVITE_JOINTRIBE = 0x6010008, - IM_RSP_ASK_JOINTRIBE = 0x6010009, - IM_RSP_EXAM_ASKJOINTRIBE = 0x601000a, - IM_RSP_CHGLEVEL_TRIBEMEMBER = 0x601000b, - IM_RSP_CHG_TRIBEGROUP = 0x601000c, - IM_RSP_ADD_STARMEMBER = 0x601000d, - IM_RSP_DEL_STARMEMBER = 0x601000e, - IM_RSP_DEL_TRIBEMEMBER = 0x601000f, - IM_RSP_GET_TRIBEBLACK = 0x6010010, - IM_RSP_ADD_TRIBEBLACK = 0x6010011, - IM_RSP_DEL_TRIBEBLACK = 0x6010012, - IM_RSP_QUIT_TRIBE = 0x6010013, - IM_RSP_CLOSE_TRIBE = 0x6010014, - IM_RSP_GET_TRIBEINFO = 0x6010015, - IM_RSP_MODIFY_TRIBE = 0x6010016, - IM_RSP_GET_TRIBEMEMBERINFO = 0x6010017, - IM_RSP_SEND_TRIBEMSG = 0x6010018, - IM_RSP_GET_TRIBE_CONFIG = 0x6010019, - IM_RSP_SET_TRIBE_CONFIG = 0x601001a, - IM_RSP_SET_OPEN_TRIBE = 0x601001b, - IM_RSP_VISIT_TRIBE = 0x601001c, - IM_RSP_CLEAR_VISITOR = 0x601001d, - IM_RSP_START_TRIBE = 0x601001e, - IM_RSP_RECOMMEND_TRIBE = 0x6010024, - IM_RSP_AUTH_RECOMMEND = 0x6010025, - IM_RSP_UPDATE_TRIBECARD = 0x6010035, - IM_RSP_WEB_LOGINTRIBE = 0x6010040, - IM_RSP_SET_TRIBE_MSG_POPUP = 0x6010041, - IM_RSP_TRANSFER_TRIBE = 0x6010042, - -}; - -enum TBSC_NOTIFY -{ - IM_NTF_INVITE_TRIBE = 0x6020007, - IM_NTF_ASK_JOINTRIBE = 0x6020009, - IM_NTF_TRIBEMSG = 0x6020015, - IM_NTF_TRIBE_SYSMSG = 0x6020017, - IM_NTF_RECOMMEND_TRIBE = 0x6020024, - IM_NTF_TRANSFER_TRIBE = 0x6020025, - IM_NTF_TRANSFER_TRIBE_SYS = 0x6020026, - -}; - -#endif diff --git a/features/aliww/include/tbsc_pack.h b/features/aliww/include/tbsc_pack.h deleted file mode 100644 index 7b9d7a6..0000000 --- a/features/aliww/include/tbsc_pack.h +++ /dev/null @@ -1,5450 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tbsc_pack.h -// Date: 2011-01-30 12:48:44 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __TBSC_PACK_H__ -#define __TBSC_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "des.h" -#include -#include "sc_head.h" -#include "const_macro.h" -#include "tbsc_cmd.h" -#include "tbsstrc_pack.h" - -using namespace std; - -class CImReqGetTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GET_TRIBEGROUP - }; - CImReqGetTribegroup() - { - } - - ~CImReqGetTribegroup() { } - CImReqGetTribegroup(const VECTOR< string >& vecTribeIdList) - { - m_tribeIdList = vecTribeIdList; - } - CImReqGetTribegroup& operator=( const CImReqGetTribegroup& cImReqGetTribegroup ) - { - m_tribeIdList = cImReqGetTribegroup.m_tribeIdList; - return *this; - } - - const VECTOR< string >& GetTribeIdList () const { return m_tribeIdList; } - bool SetTribeIdList ( const VECTOR< string >& vecTribeIdList ) - { - m_tribeIdList = vecTribeIdList; - return true; - } -private: - VECTOR< string > m_tribeIdList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetTribegroup::Size() const -{ - uint32_t nSize = 7; - nSize += m_tribeIdList.size() * 4; - for(uint32_t i = 0; i < m_tribeIdList.size(); i++) - { - nSize += m_tribeIdList[i].length(); - } - return nSize; -} - -class CImRspGetTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GET_TRIBEGROUP - }; - CImRspGetTribegroup() - { - } - - ~CImRspGetTribegroup() { } - CImRspGetTribegroup(const uint8_t& chRetcode, const VECTOR< SMemberGroup >& vecMemberGroupList) - { - m_retcode = chRetcode; - m_memberGroupList = vecMemberGroupList; - } - CImRspGetTribegroup& operator=( const CImRspGetTribegroup& cImRspGetTribegroup ) - { - m_retcode = cImRspGetTribegroup.m_retcode; - m_memberGroupList = cImRspGetTribegroup.m_memberGroupList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const VECTOR< SMemberGroup >& GetMemberGroupList () const { return m_memberGroupList; } - bool SetMemberGroupList ( const VECTOR< SMemberGroup >& vecMemberGroupList ) - { - m_memberGroupList = vecMemberGroupList; - return true; - } -private: - uint8_t m_retcode; - VECTOR< SMemberGroup > m_memberGroupList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetTribegroup::Size() const -{ - uint32_t nSize = 9; - for(uint32_t i = 0; i < m_memberGroupList.size(); i++) - { - nSize += m_memberGroupList[i].Size(); - } - return nSize; -} - -class CImReqAddTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ADD_TRIBEGROUP - }; - CImReqAddTribegroup() - { - } - - ~CImReqAddTribegroup() { } - CImReqAddTribegroup(const string& strTribeId, const string& strGroupName, const int64_t& llParentId) - { - m_tribeId = strTribeId; - m_groupName = strGroupName; - m_parentId = llParentId; - } - CImReqAddTribegroup& operator=( const CImReqAddTribegroup& cImReqAddTribegroup ) - { - m_tribeId = cImReqAddTribegroup.m_tribeId; - m_groupName = cImReqAddTribegroup.m_groupName; - m_parentId = cImReqAddTribegroup.m_parentId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetGroupName () const { return m_groupName; } - bool SetGroupName ( const string& strGroupName ) - { - m_groupName = strGroupName; - return true; - } - const int64_t& GetParentId () const { return m_parentId; } - bool SetParentId ( const int64_t& llParentId ) - { - m_parentId = llParentId; - return true; - } -private: - string m_tribeId; - string m_groupName; - int64_t m_parentId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAddTribegroup::Size() const -{ - uint32_t nSize = 20; - nSize += m_tribeId.length(); - nSize += m_groupName.length(); - return nSize; -} - -class CImRspAddTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_ADD_TRIBEGROUP - }; - CImRspAddTribegroup() - { - } - - ~CImRspAddTribegroup() { } - CImRspAddTribegroup(const uint8_t& chRetcode, const string& strTribeId, const SGroupInfo& sMemberGroup, const uint32_t& dwGroupStamp) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberGroup = sMemberGroup; - m_groupStamp = dwGroupStamp; - } - CImRspAddTribegroup& operator=( const CImRspAddTribegroup& cImRspAddTribegroup ) - { - m_retcode = cImRspAddTribegroup.m_retcode; - m_tribeId = cImRspAddTribegroup.m_tribeId; - m_memberGroup = cImRspAddTribegroup.m_memberGroup; - m_groupStamp = cImRspAddTribegroup.m_groupStamp; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const SGroupInfo& GetMemberGroup () const { return m_memberGroup; } - bool SetMemberGroup ( const SGroupInfo& sMemberGroup ) - { - m_memberGroup = sMemberGroup; - return true; - } - const uint32_t& GetGroupStamp () const { return m_groupStamp; } - bool SetGroupStamp ( const uint32_t& dwGroupStamp ) - { - m_groupStamp = dwGroupStamp; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - SGroupInfo m_memberGroup; - uint32_t m_groupStamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspAddTribegroup::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - nSize += m_memberGroup.Size(); - return nSize; -} - -class CImReqUpdateTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_UPDATE_TRIBEGROUP - }; - CImReqUpdateTribegroup() - { - } - - ~CImReqUpdateTribegroup() { } - CImReqUpdateTribegroup(const string& strTribeId, const int64_t& llGroupId, const string& strGroupName) - { - m_tribeId = strTribeId; - m_groupId = llGroupId; - m_groupName = strGroupName; - } - CImReqUpdateTribegroup& operator=( const CImReqUpdateTribegroup& cImReqUpdateTribegroup ) - { - m_tribeId = cImReqUpdateTribegroup.m_tribeId; - m_groupId = cImReqUpdateTribegroup.m_groupId; - m_groupName = cImReqUpdateTribegroup.m_groupName; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } - const string& GetGroupName () const { return m_groupName; } - bool SetGroupName ( const string& strGroupName ) - { - m_groupName = strGroupName; - return true; - } -private: - string m_tribeId; - int64_t m_groupId; - string m_groupName; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqUpdateTribegroup::Size() const -{ - uint32_t nSize = 20; - nSize += m_tribeId.length(); - nSize += m_groupName.length(); - return nSize; -} - -class CImRspUpdateTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_UPDATE_TRIBEGROUP - }; - CImRspUpdateTribegroup() - { - } - - ~CImRspUpdateTribegroup() { } - CImRspUpdateTribegroup(const uint8_t& chRetcode, const string& strTribeId, const SGroupInfo& sMemberGroup, const uint32_t& dwGroupStamp) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberGroup = sMemberGroup; - m_groupStamp = dwGroupStamp; - } - CImRspUpdateTribegroup& operator=( const CImRspUpdateTribegroup& cImRspUpdateTribegroup ) - { - m_retcode = cImRspUpdateTribegroup.m_retcode; - m_tribeId = cImRspUpdateTribegroup.m_tribeId; - m_memberGroup = cImRspUpdateTribegroup.m_memberGroup; - m_groupStamp = cImRspUpdateTribegroup.m_groupStamp; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const SGroupInfo& GetMemberGroup () const { return m_memberGroup; } - bool SetMemberGroup ( const SGroupInfo& sMemberGroup ) - { - m_memberGroup = sMemberGroup; - return true; - } - const uint32_t& GetGroupStamp () const { return m_groupStamp; } - bool SetGroupStamp ( const uint32_t& dwGroupStamp ) - { - m_groupStamp = dwGroupStamp; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - SGroupInfo m_memberGroup; - uint32_t m_groupStamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspUpdateTribegroup::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - nSize += m_memberGroup.Size(); - return nSize; -} - -class CImReqDelTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_DEL_TRIBEGROUP - }; - CImReqDelTribegroup() - { - } - - ~CImReqDelTribegroup() { } - CImReqDelTribegroup(const string& strTribeId, const int64_t& llGroupId) - { - m_tribeId = strTribeId; - m_groupId = llGroupId; - } - CImReqDelTribegroup& operator=( const CImReqDelTribegroup& cImReqDelTribegroup ) - { - m_tribeId = cImReqDelTribegroup.m_tribeId; - m_groupId = cImReqDelTribegroup.m_groupId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - string m_tribeId; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqDelTribegroup::Size() const -{ - uint32_t nSize = 15; - nSize += m_tribeId.length(); - return nSize; -} - -class CImRspDelTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_DEL_TRIBEGROUP - }; - CImRspDelTribegroup() - { - } - - ~CImRspDelTribegroup() { } - CImRspDelTribegroup(const uint8_t& chRetcode, const string& strTribeId, const int64_t& llGroupId, const uint32_t& dwGroupStamp) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_groupId = llGroupId; - m_groupStamp = dwGroupStamp; - } - CImRspDelTribegroup& operator=( const CImRspDelTribegroup& cImRspDelTribegroup ) - { - m_retcode = cImRspDelTribegroup.m_retcode; - m_tribeId = cImRspDelTribegroup.m_tribeId; - m_groupId = cImRspDelTribegroup.m_groupId; - m_groupStamp = cImRspDelTribegroup.m_groupStamp; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } - const uint32_t& GetGroupStamp () const { return m_groupStamp; } - bool SetGroupStamp ( const uint32_t& dwGroupStamp ) - { - m_groupStamp = dwGroupStamp; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - int64_t m_groupId; - uint32_t m_groupStamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspDelTribegroup::Size() const -{ - uint32_t nSize = 22; - nSize += m_tribeId.length(); - return nSize; -} - -class CImReqShallowLogintribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SHALLOW_LOGINTRIBE - }; - ~CImReqShallowLogintribe() { } -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqShallowLogintribe::Size() const -{ - return 1; -} -class CImRspShallowLogintribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SHALLOW_LOGINTRIBE - }; - CImRspShallowLogintribe() - { - } - - ~CImRspShallowLogintribe() { } - CImRspShallowLogintribe(const uint8_t& chRetcode, const VECTOR< STribeId >& vecTribeIdList) - { - m_retcode = chRetcode; - m_tribeIdList = vecTribeIdList; - } - CImRspShallowLogintribe& operator=( const CImRspShallowLogintribe& cImRspShallowLogintribe ) - { - m_retcode = cImRspShallowLogintribe.m_retcode; - m_tribeIdList = cImRspShallowLogintribe.m_tribeIdList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const VECTOR< STribeId >& GetTribeIdList () const { return m_tribeIdList; } - bool SetTribeIdList ( const VECTOR< STribeId >& vecTribeIdList ) - { - m_tribeIdList = vecTribeIdList; - return true; - } -private: - uint8_t m_retcode; - VECTOR< STribeId > m_tribeIdList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspShallowLogintribe::Size() const -{ - uint32_t nSize = 9; - for(uint32_t i = 0; i < m_tribeIdList.size(); i++) - { - nSize += m_tribeIdList[i].Size(); - } - return nSize; -} - -class CImReqDeepLogintribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_DEEP_LOGINTRIBE - }; - CImReqDeepLogintribe() - { - } - - ~CImReqDeepLogintribe() { } - CImReqDeepLogintribe(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CImReqDeepLogintribe& operator=( const CImReqDeepLogintribe& cImReqDeepLogintribe ) - { - m_tribeId = cImReqDeepLogintribe.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqDeepLogintribe::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CImRspDeepLogintribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_DEEP_LOGINTRIBE - }; - CImRspDeepLogintribe() - { - } - - ~CImRspDeepLogintribe() { } - CImRspDeepLogintribe(const uint8_t& chRetcode, const string& strTribeId, const STribeInfo& sTribeInfo, const VECTOR< STmStatus >& vecTmStatusList, const uint32_t& dwMemberStamp, const STribeExtInfo& sExtInfo) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeInfo = sTribeInfo; - m_tmStatusList = vecTmStatusList; - m_memberStamp = dwMemberStamp; - m_extInfo = sExtInfo; - } - CImRspDeepLogintribe& operator=( const CImRspDeepLogintribe& cImRspDeepLogintribe ) - { - m_retcode = cImRspDeepLogintribe.m_retcode; - m_tribeId = cImRspDeepLogintribe.m_tribeId; - m_tribeInfo = cImRspDeepLogintribe.m_tribeInfo; - m_tmStatusList = cImRspDeepLogintribe.m_tmStatusList; - m_memberStamp = cImRspDeepLogintribe.m_memberStamp; - m_extInfo = cImRspDeepLogintribe.m_extInfo; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const STribeInfo& GetTribeInfo () const { return m_tribeInfo; } - bool SetTribeInfo ( const STribeInfo& sTribeInfo ) - { - m_tribeInfo = sTribeInfo; - return true; - } - const VECTOR< STmStatus >& GetTmStatusList () const { return m_tmStatusList; } - bool SetTmStatusList ( const VECTOR< STmStatus >& vecTmStatusList ) - { - m_tmStatusList = vecTmStatusList; - return true; - } - const uint32_t& GetMemberStamp () const { return m_memberStamp; } - bool SetMemberStamp ( const uint32_t& dwMemberStamp ) - { - m_memberStamp = dwMemberStamp; - return true; - } - const STribeExtInfo& GetExtInfo () const { return m_extInfo; } - bool SetExtInfo ( const STribeExtInfo& sExtInfo ) - { - m_extInfo = sExtInfo; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - STribeInfo m_tribeInfo; - VECTOR< STmStatus > m_tmStatusList; - uint32_t m_memberStamp; - STribeExtInfo m_extInfo; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspDeepLogintribe::Size() const -{ - uint32_t nSize = 21; - nSize += m_tribeId.length(); - nSize += m_tribeInfo.Size(); - for(uint32_t i = 0; i < m_tmStatusList.size(); i++) - { - nSize += m_tmStatusList[i].Size(); - } - nSize += m_extInfo.Size(); - return nSize; -} - -class CImReqInviteTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_INVITE_TRIBE - }; - CImReqInviteTribe() - { - } - - ~CImReqInviteTribe() { } - CImReqInviteTribe(const string& strTribeId, const string& strUserId, const string& strMessage, const int64_t& llGroupId) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_message = strMessage; - m_groupId = llGroupId; - } - CImReqInviteTribe& operator=( const CImReqInviteTribe& cImReqInviteTribe ) - { - m_tribeId = cImReqInviteTribe.m_tribeId; - m_userId = cImReqInviteTribe.m_userId; - m_message = cImReqInviteTribe.m_message; - m_groupId = cImReqInviteTribe.m_groupId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - string m_tribeId; - string m_userId; - string m_message; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqInviteTribe::Size() const -{ - uint32_t nSize = 25; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_message.length(); - return nSize; -} - -class CImRspInviteTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_INVITE_TRIBE - }; - CImRspInviteTribe() - { - } - - ~CImRspInviteTribe() { } - CImRspInviteTribe(const uint8_t& chRetcode, const string& strTribeId, const string& strUserId, const int64_t& llGroupId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_userId = strUserId; - m_groupId = llGroupId; - } - CImRspInviteTribe& operator=( const CImRspInviteTribe& cImRspInviteTribe ) - { - m_retcode = cImRspInviteTribe.m_retcode; - m_tribeId = cImRspInviteTribe.m_tribeId; - m_userId = cImRspInviteTribe.m_userId; - m_groupId = cImRspInviteTribe.m_groupId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_userId; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspInviteTribe::Size() const -{ - uint32_t nSize = 22; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - return nSize; -} - -class CImNtfInviteTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_INVITE_TRIBE - }; - CImNtfInviteTribe() : m_flag(0) - { - } - - ~CImNtfInviteTribe() { } - CImNtfInviteTribe(const string& strTribeId, const string& strManagerId, const string& strValidateCode, const string& strName, const string& strMessage, const int64_t& llGroupId, const uint8_t& chFlag= 0) - { - m_tribeId = strTribeId; - m_managerId = strManagerId; - m_validateCode = strValidateCode; - m_name = strName; - m_message = strMessage; - m_groupId = llGroupId; - m_flag = chFlag; - } - CImNtfInviteTribe& operator=( const CImNtfInviteTribe& cImNtfInviteTribe ) - { - m_tribeId = cImNtfInviteTribe.m_tribeId; - m_managerId = cImNtfInviteTribe.m_managerId; - m_validateCode = cImNtfInviteTribe.m_validateCode; - m_name = cImNtfInviteTribe.m_name; - m_message = cImNtfInviteTribe.m_message; - m_groupId = cImNtfInviteTribe.m_groupId; - m_flag = cImNtfInviteTribe.m_flag; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetManagerId () const { return m_managerId; } - bool SetManagerId ( const string& strManagerId ) - { - if(strManagerId.size() > 64) - return false; - m_managerId = strManagerId; - return true; - } - const string& GetValidateCode () const { return m_validateCode; } - bool SetValidateCode ( const string& strValidateCode ) - { - if(strValidateCode.size() > 32) - return false; - m_validateCode = strValidateCode; - return true; - } - const string& GetName () const { return m_name; } - bool SetName ( const string& strName ) - { - if(strName.size() > 64) - return false; - m_name = strName; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } - const uint8_t& GetFlag () const { return m_flag; } - bool SetFlag ( const uint8_t& chFlag ) - { - m_flag = chFlag; - return true; - } -private: - string m_tribeId; - string m_managerId; - string m_validateCode; - string m_name; - string m_message; - int64_t m_groupId; - uint8_t m_flag; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfInviteTribe::Size() const -{ - uint32_t nSize = 37; - nSize += m_tribeId.length(); - nSize += m_managerId.length(); - nSize += m_validateCode.length(); - nSize += m_name.length(); - nSize += m_message.length(); - return nSize; -} - -class CImReqOninviteJointribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ONINVITE_JOINTRIBE - }; - CImReqOninviteJointribe() : m_type(0), - m_recommendId("") - { - } - - ~CImReqOninviteJointribe() { } - CImReqOninviteJointribe(const string& strTribeId, const string& strManagerId, const string& strValidateCode, const int64_t& llGroupId, const uint8_t& chType= 0, const string& strRecommendId= "") - { - m_tribeId = strTribeId; - m_managerId = strManagerId; - m_validateCode = strValidateCode; - m_groupId = llGroupId; - m_type = chType; - m_recommendId = strRecommendId; - } - CImReqOninviteJointribe& operator=( const CImReqOninviteJointribe& cImReqOninviteJointribe ) - { - m_tribeId = cImReqOninviteJointribe.m_tribeId; - m_managerId = cImReqOninviteJointribe.m_managerId; - m_validateCode = cImReqOninviteJointribe.m_validateCode; - m_groupId = cImReqOninviteJointribe.m_groupId; - m_type = cImReqOninviteJointribe.m_type; - m_recommendId = cImReqOninviteJointribe.m_recommendId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetManagerId () const { return m_managerId; } - bool SetManagerId ( const string& strManagerId ) - { - if(strManagerId.size() > 64) - return false; - m_managerId = strManagerId; - return true; - } - const string& GetValidateCode () const { return m_validateCode; } - bool SetValidateCode ( const string& strValidateCode ) - { - if(strValidateCode.size() > 32) - return false; - m_validateCode = strValidateCode; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetRecommendId () const { return m_recommendId; } - bool SetRecommendId ( const string& strRecommendId ) - { - if(strRecommendId.size() > 64) - return false; - m_recommendId = strRecommendId; - return true; - } -private: - string m_tribeId; - string m_managerId; - string m_validateCode; - int64_t m_groupId; - uint8_t m_type; - string m_recommendId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqOninviteJointribe::Size() const -{ - uint32_t nSize = 32; - nSize += m_tribeId.length(); - nSize += m_managerId.length(); - nSize += m_validateCode.length(); - nSize += m_recommendId.length(); - return nSize; -} - -class CImRspOninviteJointribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_ONINVITE_JOINTRIBE - }; - CImRspOninviteJointribe() - { - } - - ~CImRspOninviteJointribe() { } - CImRspOninviteJointribe(const uint8_t& chRetcode, const string& strTribeId, const int64_t& llGroupId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_groupId = llGroupId; - } - CImRspOninviteJointribe& operator=( const CImRspOninviteJointribe& cImRspOninviteJointribe ) - { - m_retcode = cImRspOninviteJointribe.m_retcode; - m_tribeId = cImRspOninviteJointribe.m_tribeId; - m_groupId = cImRspOninviteJointribe.m_groupId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspOninviteJointribe::Size() const -{ - uint32_t nSize = 17; - nSize += m_tribeId.length(); - return nSize; -} - -class CImReqAskJointribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ASK_JOINTRIBE - }; - CImReqAskJointribe() - { - } - - ~CImReqAskJointribe() { } - CImReqAskJointribe(const string& strTribeId, const uint8_t& chType, const string& strInfo) - { - m_tribeId = strTribeId; - m_type = chType; - m_info = strInfo; - } - CImReqAskJointribe& operator=( const CImReqAskJointribe& cImReqAskJointribe ) - { - m_tribeId = cImReqAskJointribe.m_tribeId; - m_type = cImReqAskJointribe.m_type; - m_info = cImReqAskJointribe.m_info; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetInfo () const { return m_info; } - bool SetInfo ( const string& strInfo ) - { - m_info = strInfo; - return true; - } -private: - string m_tribeId; - uint8_t m_type; - string m_info; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAskJointribe::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_info.length(); - return nSize; -} - -class CImRspAskJointribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_ASK_JOINTRIBE - }; - CImRspAskJointribe() - { - } - - ~CImRspAskJointribe() { } - CImRspAskJointribe(const uint8_t& chRetcode, const string& strTribeId, const string& strTribeName, const string& strExtSign, const int64_t& llGroupId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeName = strTribeName; - m_extSign = strExtSign; - m_groupId = llGroupId; - } - CImRspAskJointribe& operator=( const CImRspAskJointribe& cImRspAskJointribe ) - { - m_retcode = cImRspAskJointribe.m_retcode; - m_tribeId = cImRspAskJointribe.m_tribeId; - m_tribeName = cImRspAskJointribe.m_tribeName; - m_extSign = cImRspAskJointribe.m_extSign; - m_groupId = cImRspAskJointribe.m_groupId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetTribeName () const { return m_tribeName; } - bool SetTribeName ( const string& strTribeName ) - { - m_tribeName = strTribeName; - return true; - } - const string& GetExtSign () const { return m_extSign; } - bool SetExtSign ( const string& strExtSign ) - { - if(strExtSign.size() > 64) - return false; - m_extSign = strExtSign; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_tribeName; - string m_extSign; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspAskJointribe::Size() const -{ - uint32_t nSize = 27; - nSize += m_tribeId.length(); - nSize += m_tribeName.length(); - nSize += m_extSign.length(); - return nSize; -} - -class CImNtfAskJointribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_ASK_JOINTRIBE - }; - CImNtfAskJointribe() - { - } - - ~CImNtfAskJointribe() { } - CImNtfAskJointribe(const string& strTribeId, const string& strUserId, const uint8_t& chType, const string& strInfo) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_type = chType; - m_info = strInfo; - } - CImNtfAskJointribe& operator=( const CImNtfAskJointribe& cImNtfAskJointribe ) - { - m_tribeId = cImNtfAskJointribe.m_tribeId; - m_userId = cImNtfAskJointribe.m_userId; - m_type = cImNtfAskJointribe.m_type; - m_info = cImNtfAskJointribe.m_info; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetInfo () const { return m_info; } - bool SetInfo ( const string& strInfo ) - { - m_info = strInfo; - return true; - } -private: - string m_tribeId; - string m_userId; - uint8_t m_type; - string m_info; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfAskJointribe::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_info.length(); - return nSize; -} - -class CImReqExamAskjointribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_EXAM_ASKJOINTRIBE - }; - CImReqExamAskjointribe() - { - } - - ~CImReqExamAskjointribe() { } - CImReqExamAskjointribe(const string& strTribeId, const string& strUserId, const uint8_t& chType, const string& strInfo, const int64_t& llGroupId) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_type = chType; - m_info = strInfo; - m_groupId = llGroupId; - } - CImReqExamAskjointribe& operator=( const CImReqExamAskjointribe& cImReqExamAskjointribe ) - { - m_tribeId = cImReqExamAskjointribe.m_tribeId; - m_userId = cImReqExamAskjointribe.m_userId; - m_type = cImReqExamAskjointribe.m_type; - m_info = cImReqExamAskjointribe.m_info; - m_groupId = cImReqExamAskjointribe.m_groupId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetInfo () const { return m_info; } - bool SetInfo ( const string& strInfo ) - { - m_info = strInfo; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - string m_tribeId; - string m_userId; - uint8_t m_type; - string m_info; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqExamAskjointribe::Size() const -{ - uint32_t nSize = 27; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_info.length(); - return nSize; -} - -class CImRspExamAskjointribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_EXAM_ASKJOINTRIBE - }; - CImRspExamAskjointribe() - { - } - - ~CImRspExamAskjointribe() { } - CImRspExamAskjointribe(const uint8_t& chRetcode, const string& strTribeId, const string& strUserId, const uint8_t& chType, const int64_t& llGroupId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_userId = strUserId; - m_type = chType; - m_groupId = llGroupId; - } - CImRspExamAskjointribe& operator=( const CImRspExamAskjointribe& cImRspExamAskjointribe ) - { - m_retcode = cImRspExamAskjointribe.m_retcode; - m_tribeId = cImRspExamAskjointribe.m_tribeId; - m_userId = cImRspExamAskjointribe.m_userId; - m_type = cImRspExamAskjointribe.m_type; - m_groupId = cImRspExamAskjointribe.m_groupId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_userId; - uint8_t m_type; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspExamAskjointribe::Size() const -{ - uint32_t nSize = 24; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - return nSize; -} - -class CImReqChglevelTribemember : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHGLEVEL_TRIBEMEMBER - }; - CImReqChglevelTribemember() - { - } - - ~CImReqChglevelTribemember() { } - CImReqChglevelTribemember(const string& strTribeId, const string& strMemberId, const uint8_t& chLevel) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_level = chLevel; - } - CImReqChglevelTribemember& operator=( const CImReqChglevelTribemember& cImReqChglevelTribemember ) - { - m_tribeId = cImReqChglevelTribemember.m_tribeId; - m_memberId = cImReqChglevelTribemember.m_memberId; - m_level = cImReqChglevelTribemember.m_level; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const uint8_t& GetLevel () const { return m_level; } - bool SetLevel ( const uint8_t& chLevel ) - { - m_level = chLevel; - return true; - } -private: - string m_tribeId; - string m_memberId; - uint8_t m_level; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChglevelTribemember::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CImRspChglevelTribemember : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHGLEVEL_TRIBEMEMBER - }; - CImRspChglevelTribemember() - { - } - - ~CImRspChglevelTribemember() { } - CImRspChglevelTribemember(const uint8_t& chRetcode, const string& strTribeId, const string& strMemberId, const uint8_t& chLevel) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_level = chLevel; - } - CImRspChglevelTribemember& operator=( const CImRspChglevelTribemember& cImRspChglevelTribemember ) - { - m_retcode = cImRspChglevelTribemember.m_retcode; - m_tribeId = cImRspChglevelTribemember.m_tribeId; - m_memberId = cImRspChglevelTribemember.m_memberId; - m_level = cImRspChglevelTribemember.m_level; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const uint8_t& GetLevel () const { return m_level; } - bool SetLevel ( const uint8_t& chLevel ) - { - m_level = chLevel; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_memberId; - uint8_t m_level; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChglevelTribemember::Size() const -{ - uint32_t nSize = 15; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CImReqChgTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHG_TRIBEGROUP - }; - CImReqChgTribegroup() - { - } - - ~CImReqChgTribegroup() { } - CImReqChgTribegroup(const string& strTribeId, const string& strMemberId, const int64_t& llGroupId) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_groupId = llGroupId; - } - CImReqChgTribegroup& operator=( const CImReqChgTribegroup& cImReqChgTribegroup ) - { - m_tribeId = cImReqChgTribegroup.m_tribeId; - m_memberId = cImReqChgTribegroup.m_memberId; - m_groupId = cImReqChgTribegroup.m_groupId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - string m_tribeId; - string m_memberId; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChgTribegroup::Size() const -{ - uint32_t nSize = 20; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CImRspChgTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHG_TRIBEGROUP - }; - CImRspChgTribegroup() - { - } - - ~CImRspChgTribegroup() { } - CImRspChgTribegroup(const uint8_t& chRetcode, const string& strTribeId, const string& strMemberId, const int64_t& llGroupId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_groupId = llGroupId; - } - CImRspChgTribegroup& operator=( const CImRspChgTribegroup& cImRspChgTribegroup ) - { - m_retcode = cImRspChgTribegroup.m_retcode; - m_tribeId = cImRspChgTribegroup.m_tribeId; - m_memberId = cImRspChgTribegroup.m_memberId; - m_groupId = cImRspChgTribegroup.m_groupId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_memberId; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChgTribegroup::Size() const -{ - uint32_t nSize = 22; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CImReqAddStarmember : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ADD_STARMEMBER - }; - CImReqAddStarmember() - { - } - - ~CImReqAddStarmember() { } - CImReqAddStarmember(const string& strTribeId, const string& strMemberId) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - } - CImReqAddStarmember& operator=( const CImReqAddStarmember& cImReqAddStarmember ) - { - m_tribeId = cImReqAddStarmember.m_tribeId; - m_memberId = cImReqAddStarmember.m_memberId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } -private: - string m_tribeId; - string m_memberId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAddStarmember::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CImRspAddStarmember : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_ADD_STARMEMBER - }; - CImRspAddStarmember() - { - } - - ~CImRspAddStarmember() { } - CImRspAddStarmember(const uint8_t& chRetcode, const string& strTribeId, const string& strMemberId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberId = strMemberId; - } - CImRspAddStarmember& operator=( const CImRspAddStarmember& cImRspAddStarmember ) - { - m_retcode = cImRspAddStarmember.m_retcode; - m_tribeId = cImRspAddStarmember.m_tribeId; - m_memberId = cImRspAddStarmember.m_memberId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_memberId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspAddStarmember::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CImReqDelStarmember : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_DEL_STARMEMBER - }; - CImReqDelStarmember() - { - } - - ~CImReqDelStarmember() { } - CImReqDelStarmember(const string& strTribeId, const string& strMemberId) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - } - CImReqDelStarmember& operator=( const CImReqDelStarmember& cImReqDelStarmember ) - { - m_tribeId = cImReqDelStarmember.m_tribeId; - m_memberId = cImReqDelStarmember.m_memberId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } -private: - string m_tribeId; - string m_memberId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqDelStarmember::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CImRspDelStarmember : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_DEL_STARMEMBER - }; - CImRspDelStarmember() - { - } - - ~CImRspDelStarmember() { } - CImRspDelStarmember(const uint8_t& chRetcode, const string& strTribeId, const string& strMemberId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberId = strMemberId; - } - CImRspDelStarmember& operator=( const CImRspDelStarmember& cImRspDelStarmember ) - { - m_retcode = cImRspDelStarmember.m_retcode; - m_tribeId = cImRspDelStarmember.m_tribeId; - m_memberId = cImRspDelStarmember.m_memberId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_memberId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspDelStarmember::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CImReqDelTribemember : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_DEL_TRIBEMEMBER - }; - CImReqDelTribemember() - { - } - - ~CImReqDelTribemember() { } - CImReqDelTribemember(const string& strTribeId, const string& strMemberId, const string& strRemark) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_remark = strRemark; - } - CImReqDelTribemember& operator=( const CImReqDelTribemember& cImReqDelTribemember ) - { - m_tribeId = cImReqDelTribemember.m_tribeId; - m_memberId = cImReqDelTribemember.m_memberId; - m_remark = cImReqDelTribemember.m_remark; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - m_remark = strRemark; - return true; - } -private: - string m_tribeId; - string m_memberId; - string m_remark; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqDelTribemember::Size() const -{ - uint32_t nSize = 16; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - nSize += m_remark.length(); - return nSize; -} - -class CImRspDelTribemember : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_DEL_TRIBEMEMBER - }; - CImRspDelTribemember() - { - } - - ~CImRspDelTribemember() { } - CImRspDelTribemember(const uint8_t& chRetcode, const string& strTribeId, const string& strMemberId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberId = strMemberId; - } - CImRspDelTribemember& operator=( const CImRspDelTribemember& cImRspDelTribemember ) - { - m_retcode = cImRspDelTribemember.m_retcode; - m_tribeId = cImRspDelTribemember.m_tribeId; - m_memberId = cImRspDelTribemember.m_memberId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_memberId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspDelTribemember::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CImReqGetTribeblack : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GET_TRIBEBLACK - }; - CImReqGetTribeblack() - { - } - - ~CImReqGetTribeblack() { } - CImReqGetTribeblack(const string& strTribeId, const uint32_t& dwBlackStamp) - { - m_tribeId = strTribeId; - m_blackStamp = dwBlackStamp; - } - CImReqGetTribeblack& operator=( const CImReqGetTribeblack& cImReqGetTribeblack ) - { - m_tribeId = cImReqGetTribeblack.m_tribeId; - m_blackStamp = cImReqGetTribeblack.m_blackStamp; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint32_t& GetBlackStamp () const { return m_blackStamp; } - bool SetBlackStamp ( const uint32_t& dwBlackStamp ) - { - m_blackStamp = dwBlackStamp; - return true; - } -private: - string m_tribeId; - uint32_t m_blackStamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetTribeblack::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - return nSize; -} - -class CImRspGetTribeblack : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GET_TRIBEBLACK - }; - CImRspGetTribeblack() - { - } - - ~CImRspGetTribeblack() { } - CImRspGetTribeblack(const uint8_t& chRetcode, const string& strTribeId, const VECTOR< STribeBlack >& vecBlackIdList, const uint32_t& dwBlackStamp) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_blackIdList = vecBlackIdList; - m_blackStamp = dwBlackStamp; - } - CImRspGetTribeblack& operator=( const CImRspGetTribeblack& cImRspGetTribeblack ) - { - m_retcode = cImRspGetTribeblack.m_retcode; - m_tribeId = cImRspGetTribeblack.m_tribeId; - m_blackIdList = cImRspGetTribeblack.m_blackIdList; - m_blackStamp = cImRspGetTribeblack.m_blackStamp; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< STribeBlack >& GetBlackIdList () const { return m_blackIdList; } - bool SetBlackIdList ( const VECTOR< STribeBlack >& vecBlackIdList ) - { - m_blackIdList = vecBlackIdList; - return true; - } - const uint32_t& GetBlackStamp () const { return m_blackStamp; } - bool SetBlackStamp ( const uint32_t& dwBlackStamp ) - { - m_blackStamp = dwBlackStamp; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - VECTOR< STribeBlack > m_blackIdList; - uint32_t m_blackStamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetTribeblack::Size() const -{ - uint32_t nSize = 19; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_blackIdList.size(); i++) - { - nSize += m_blackIdList[i].Size(); - } - return nSize; -} - -class CImReqAddTribeblack : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_ADD_TRIBEBLACK - }; - CImReqAddTribeblack() - { - } - - ~CImReqAddTribeblack() { } - CImReqAddTribeblack(const string& strTribeId, const string& strBlackUid, const string& strRemark) - { - m_tribeId = strTribeId; - m_blackUid = strBlackUid; - m_remark = strRemark; - } - CImReqAddTribeblack& operator=( const CImReqAddTribeblack& cImReqAddTribeblack ) - { - m_tribeId = cImReqAddTribeblack.m_tribeId; - m_blackUid = cImReqAddTribeblack.m_blackUid; - m_remark = cImReqAddTribeblack.m_remark; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetBlackUid () const { return m_blackUid; } - bool SetBlackUid ( const string& strBlackUid ) - { - if(strBlackUid.size() > 64) - return false; - m_blackUid = strBlackUid; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - m_remark = strRemark; - return true; - } -private: - string m_tribeId; - string m_blackUid; - string m_remark; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAddTribeblack::Size() const -{ - uint32_t nSize = 16; - nSize += m_tribeId.length(); - nSize += m_blackUid.length(); - nSize += m_remark.length(); - return nSize; -} - -class CImRspAddTribeblack : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_ADD_TRIBEBLACK - }; - CImRspAddTribeblack() - { - } - - ~CImRspAddTribeblack() { } - CImRspAddTribeblack(const uint8_t& chRetcode, const string& strTribeId, const string& strBlackUid, const uint32_t& dwBlackStamp) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_blackUid = strBlackUid; - m_blackStamp = dwBlackStamp; - } - CImRspAddTribeblack& operator=( const CImRspAddTribeblack& cImRspAddTribeblack ) - { - m_retcode = cImRspAddTribeblack.m_retcode; - m_tribeId = cImRspAddTribeblack.m_tribeId; - m_blackUid = cImRspAddTribeblack.m_blackUid; - m_blackStamp = cImRspAddTribeblack.m_blackStamp; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetBlackUid () const { return m_blackUid; } - bool SetBlackUid ( const string& strBlackUid ) - { - if(strBlackUid.size() > 64) - return false; - m_blackUid = strBlackUid; - return true; - } - const uint32_t& GetBlackStamp () const { return m_blackStamp; } - bool SetBlackStamp ( const uint32_t& dwBlackStamp ) - { - m_blackStamp = dwBlackStamp; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_blackUid; - uint32_t m_blackStamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspAddTribeblack::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_blackUid.length(); - return nSize; -} - -class CImReqDelTribeblack : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_DEL_TRIBEBLACK - }; - CImReqDelTribeblack() - { - } - - ~CImReqDelTribeblack() { } - CImReqDelTribeblack(const string& strTribeId, const string& strBlackUid, const string& strRemark) - { - m_tribeId = strTribeId; - m_blackUid = strBlackUid; - m_remark = strRemark; - } - CImReqDelTribeblack& operator=( const CImReqDelTribeblack& cImReqDelTribeblack ) - { - m_tribeId = cImReqDelTribeblack.m_tribeId; - m_blackUid = cImReqDelTribeblack.m_blackUid; - m_remark = cImReqDelTribeblack.m_remark; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetBlackUid () const { return m_blackUid; } - bool SetBlackUid ( const string& strBlackUid ) - { - if(strBlackUid.size() > 64) - return false; - m_blackUid = strBlackUid; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - m_remark = strRemark; - return true; - } -private: - string m_tribeId; - string m_blackUid; - string m_remark; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqDelTribeblack::Size() const -{ - uint32_t nSize = 16; - nSize += m_tribeId.length(); - nSize += m_blackUid.length(); - nSize += m_remark.length(); - return nSize; -} - -class CImRspDelTribeblack : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_DEL_TRIBEBLACK - }; - CImRspDelTribeblack() - { - } - - ~CImRspDelTribeblack() { } - CImRspDelTribeblack(const uint8_t& chRetcode, const string& strTribeId, const string& strBlackUid, const uint32_t& dwBlackStamp) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_blackUid = strBlackUid; - m_blackStamp = dwBlackStamp; - } - CImRspDelTribeblack& operator=( const CImRspDelTribeblack& cImRspDelTribeblack ) - { - m_retcode = cImRspDelTribeblack.m_retcode; - m_tribeId = cImRspDelTribeblack.m_tribeId; - m_blackUid = cImRspDelTribeblack.m_blackUid; - m_blackStamp = cImRspDelTribeblack.m_blackStamp; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetBlackUid () const { return m_blackUid; } - bool SetBlackUid ( const string& strBlackUid ) - { - if(strBlackUid.size() > 64) - return false; - m_blackUid = strBlackUid; - return true; - } - const uint32_t& GetBlackStamp () const { return m_blackStamp; } - bool SetBlackStamp ( const uint32_t& dwBlackStamp ) - { - m_blackStamp = dwBlackStamp; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_blackUid; - uint32_t m_blackStamp; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspDelTribeblack::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_blackUid.length(); - return nSize; -} - -class CImReqQuitTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_QUIT_TRIBE - }; - CImReqQuitTribe() - { - } - - ~CImReqQuitTribe() { } - CImReqQuitTribe(const string& strTribeId, const string& strRemark) - { - m_tribeId = strTribeId; - m_remark = strRemark; - } - CImReqQuitTribe& operator=( const CImReqQuitTribe& cImReqQuitTribe ) - { - m_tribeId = cImReqQuitTribe.m_tribeId; - m_remark = cImReqQuitTribe.m_remark; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - m_remark = strRemark; - return true; - } -private: - string m_tribeId; - string m_remark; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqQuitTribe::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - nSize += m_remark.length(); - return nSize; -} - -class CImRspQuitTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_QUIT_TRIBE - }; - CImRspQuitTribe() - { - } - - ~CImRspQuitTribe() { } - CImRspQuitTribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CImRspQuitTribe& operator=( const CImRspQuitTribe& cImRspQuitTribe ) - { - m_retcode = cImRspQuitTribe.m_retcode; - m_tribeId = cImRspQuitTribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspQuitTribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CImReqCloseTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CLOSE_TRIBE - }; - CImReqCloseTribe() - { - } - - ~CImReqCloseTribe() { } - CImReqCloseTribe(const string& strTribeId, const string& strRemark) - { - m_tribeId = strTribeId; - m_remark = strRemark; - } - CImReqCloseTribe& operator=( const CImReqCloseTribe& cImReqCloseTribe ) - { - m_tribeId = cImReqCloseTribe.m_tribeId; - m_remark = cImReqCloseTribe.m_remark; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - m_remark = strRemark; - return true; - } -private: - string m_tribeId; - string m_remark; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqCloseTribe::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - nSize += m_remark.length(); - return nSize; -} - -class CImRspCloseTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CLOSE_TRIBE - }; - CImRspCloseTribe() - { - } - - ~CImRspCloseTribe() { } - CImRspCloseTribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CImRspCloseTribe& operator=( const CImRspCloseTribe& cImRspCloseTribe ) - { - m_retcode = cImRspCloseTribe.m_retcode; - m_tribeId = cImRspCloseTribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspCloseTribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CImReqGetTribeinfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GET_TRIBEINFO - }; - CImReqGetTribeinfo() - { - } - - ~CImReqGetTribeinfo() { } - CImReqGetTribeinfo(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CImReqGetTribeinfo& operator=( const CImReqGetTribeinfo& cImReqGetTribeinfo ) - { - m_tribeId = cImReqGetTribeinfo.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetTribeinfo::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CImRspGetTribeinfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GET_TRIBEINFO - }; - CImRspGetTribeinfo() - { - } - - ~CImRspGetTribeinfo() { } - CImRspGetTribeinfo(const uint8_t& chRetcode, const string& strTribeId, const STribeInfo& sTribeInfo, const STribeExtInfo& sExtInfo) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeInfo = sTribeInfo; - m_extInfo = sExtInfo; - } - CImRspGetTribeinfo& operator=( const CImRspGetTribeinfo& cImRspGetTribeinfo ) - { - m_retcode = cImRspGetTribeinfo.m_retcode; - m_tribeId = cImRspGetTribeinfo.m_tribeId; - m_tribeInfo = cImRspGetTribeinfo.m_tribeInfo; - m_extInfo = cImRspGetTribeinfo.m_extInfo; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const STribeInfo& GetTribeInfo () const { return m_tribeInfo; } - bool SetTribeInfo ( const STribeInfo& sTribeInfo ) - { - m_tribeInfo = sTribeInfo; - return true; - } - const STribeExtInfo& GetExtInfo () const { return m_extInfo; } - bool SetExtInfo ( const STribeExtInfo& sExtInfo ) - { - m_extInfo = sExtInfo; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - STribeInfo m_tribeInfo; - STribeExtInfo m_extInfo; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetTribeinfo::Size() const -{ - uint32_t nSize = 10; - nSize += m_tribeId.length(); - nSize += m_tribeInfo.Size(); - nSize += m_extInfo.Size(); - return nSize; -} - -class CImReqModifyTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_MODIFY_TRIBE - }; - CImReqModifyTribe() - { - } - - ~CImReqModifyTribe() { } - CImReqModifyTribe(const string& strTribeId, const map< string,string >& mapItems) - { - m_tribeId = strTribeId; - m_items = mapItems; - } - CImReqModifyTribe& operator=( const CImReqModifyTribe& cImReqModifyTribe ) - { - m_tribeId = cImReqModifyTribe.m_tribeId; - m_items = cImReqModifyTribe.m_items; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const map< string,string >& GetItems () const { return m_items; } - bool SetItems ( const map< string,string >& mapItems ) - { - m_items = mapItems; - return true; - } -private: - string m_tribeId; - map< string,string > m_items; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqModifyTribe::Size() const -{ - uint32_t nSize = 10; - nSize += m_tribeId.length(); - nSize += m_items.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CImRspModifyTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_MODIFY_TRIBE - }; - CImRspModifyTribe() - { - } - - ~CImRspModifyTribe() { } - CImRspModifyTribe(const uint8_t& chRetcode, const string& strTribeId, const map< string,string >& mapItems) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_items = mapItems; - } - CImRspModifyTribe& operator=( const CImRspModifyTribe& cImRspModifyTribe ) - { - m_retcode = cImRspModifyTribe.m_retcode; - m_tribeId = cImRspModifyTribe.m_tribeId; - m_items = cImRspModifyTribe.m_items; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const map< string,string >& GetItems () const { return m_items; } - bool SetItems ( const map< string,string >& mapItems ) - { - m_items = mapItems; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - map< string,string > m_items; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspModifyTribe::Size() const -{ - uint32_t nSize = 12; - nSize += m_tribeId.length(); - nSize += m_items.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CImReqGetTribememberinfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GET_TRIBEMEMBERINFO - }; - CImReqGetTribememberinfo() - { - } - - ~CImReqGetTribememberinfo() { } - CImReqGetTribememberinfo(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CImReqGetTribememberinfo& operator=( const CImReqGetTribememberinfo& cImReqGetTribememberinfo ) - { - m_tribeId = cImReqGetTribememberinfo.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetTribememberinfo::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CImRspGetTribememberinfo : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GET_TRIBEMEMBERINFO - }; - CImRspGetTribememberinfo() - { - } - - ~CImRspGetTribememberinfo() { } - CImRspGetTribememberinfo(const uint8_t& chRetcode, const string& strTribeId, const VECTOR< STmInfo >& vecTmInfoList) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tmInfoList = vecTmInfoList; - } - CImRspGetTribememberinfo& operator=( const CImRspGetTribememberinfo& cImRspGetTribememberinfo ) - { - m_retcode = cImRspGetTribememberinfo.m_retcode; - m_tribeId = cImRspGetTribememberinfo.m_tribeId; - m_tmInfoList = cImRspGetTribememberinfo.m_tmInfoList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< STmInfo >& GetTmInfoList () const { return m_tmInfoList; } - bool SetTmInfoList ( const VECTOR< STmInfo >& vecTmInfoList ) - { - m_tmInfoList = vecTmInfoList; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - VECTOR< STmInfo > m_tmInfoList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetTribememberinfo::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_tmInfoList.size(); i++) - { - nSize += m_tmInfoList[i].Size(); - } - return nSize; -} - -class CImReqSendTribemsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SEND_TRIBEMSG - }; - CImReqSendTribemsg() - { - } - - ~CImReqSendTribemsg() { } - CImReqSendTribemsg(const string& strTribeId, const uint8_t& chMsgType, const string& strMessage) - { - m_tribeId = strTribeId; - m_msgType = chMsgType; - m_message = strMessage; - } - CImReqSendTribemsg& operator=( const CImReqSendTribemsg& cImReqSendTribemsg ) - { - m_tribeId = cImReqSendTribemsg.m_tribeId; - m_msgType = cImReqSendTribemsg.m_msgType; - m_message = cImReqSendTribemsg.m_message; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetMsgType () const { return m_msgType; } - bool SetMsgType ( const uint8_t& chMsgType ) - { - m_msgType = chMsgType; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_tribeId; - uint8_t m_msgType; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSendTribemsg::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_message.length(); - return nSize; -} - -class CImRspSendTribemsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SEND_TRIBEMSG - }; - CImRspSendTribemsg() - { - } - - ~CImRspSendTribemsg() { } - CImRspSendTribemsg(const uint8_t& chRetcode, const string& strTribeId, const string& strMessage) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_message = strMessage; - } - CImRspSendTribemsg& operator=( const CImRspSendTribemsg& cImRspSendTribemsg ) - { - m_retcode = cImRspSendTribemsg.m_retcode; - m_tribeId = cImRspSendTribemsg.m_tribeId; - m_message = cImRspSendTribemsg.m_message; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSendTribemsg::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_message.length(); - return nSize; -} - -class CImNtfTribemsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_TRIBEMSG - }; - CImNtfTribemsg() - { - } - - ~CImNtfTribemsg() { } - CImNtfTribemsg(const string& strTribeId, const uint8_t& chOfflineFlag, const VECTOR< STribeMsg >& vecTribeMsgList) - { - m_tribeId = strTribeId; - m_offlineFlag = chOfflineFlag; - m_tribeMsgList = vecTribeMsgList; - } - CImNtfTribemsg& operator=( const CImNtfTribemsg& cImNtfTribemsg ) - { - m_tribeId = cImNtfTribemsg.m_tribeId; - m_offlineFlag = cImNtfTribemsg.m_offlineFlag; - m_tribeMsgList = cImNtfTribemsg.m_tribeMsgList; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetOfflineFlag () const { return m_offlineFlag; } - bool SetOfflineFlag ( const uint8_t& chOfflineFlag ) - { - m_offlineFlag = chOfflineFlag; - return true; - } - const VECTOR< STribeMsg >& GetTribeMsgList () const { return m_tribeMsgList; } - bool SetTribeMsgList ( const VECTOR< STribeMsg >& vecTribeMsgList ) - { - m_tribeMsgList = vecTribeMsgList; - return true; - } -private: - string m_tribeId; - uint8_t m_offlineFlag; - VECTOR< STribeMsg > m_tribeMsgList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfTribemsg::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_tribeMsgList.size(); i++) - { - nSize += m_tribeMsgList[i].Size(); - } - return nSize; -} - -class CImNtfTribeSysmsg : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_TRIBE_SYSMSG - }; - CImNtfTribeSysmsg() - { - } - - ~CImNtfTribeSysmsg() { } - CImNtfTribeSysmsg(const string& strTribeId, const uint8_t& chOfflineFlag, const VECTOR< STribeSysmsg >& vecTribeSysmsgList) - { - m_tribeId = strTribeId; - m_offlineFlag = chOfflineFlag; - m_tribeSysmsgList = vecTribeSysmsgList; - } - CImNtfTribeSysmsg& operator=( const CImNtfTribeSysmsg& cImNtfTribeSysmsg ) - { - m_tribeId = cImNtfTribeSysmsg.m_tribeId; - m_offlineFlag = cImNtfTribeSysmsg.m_offlineFlag; - m_tribeSysmsgList = cImNtfTribeSysmsg.m_tribeSysmsgList; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetOfflineFlag () const { return m_offlineFlag; } - bool SetOfflineFlag ( const uint8_t& chOfflineFlag ) - { - m_offlineFlag = chOfflineFlag; - return true; - } - const VECTOR< STribeSysmsg >& GetTribeSysmsgList () const { return m_tribeSysmsgList; } - bool SetTribeSysmsgList ( const VECTOR< STribeSysmsg >& vecTribeSysmsgList ) - { - m_tribeSysmsgList = vecTribeSysmsgList; - return true; - } -private: - string m_tribeId; - uint8_t m_offlineFlag; - VECTOR< STribeSysmsg > m_tribeSysmsgList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfTribeSysmsg::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_tribeSysmsgList.size(); i++) - { - nSize += m_tribeSysmsgList[i].Size(); - } - return nSize; -} - -class CImReqGetTribeConfig : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_GET_TRIBE_CONFIG - }; - ~CImReqGetTribeConfig() { } -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqGetTribeConfig::Size() const -{ - return 1; -} -class CImRspGetTribeConfig : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_GET_TRIBE_CONFIG - }; - CImRspGetTribeConfig() - { - } - - ~CImRspGetTribeConfig() { } - CImRspGetTribeConfig(const uint8_t& chRetcode, const uint8_t& chAddTribeVerify) - { - m_retcode = chRetcode; - m_addTribeVerify = chAddTribeVerify; - } - CImRspGetTribeConfig& operator=( const CImRspGetTribeConfig& cImRspGetTribeConfig ) - { - m_retcode = cImRspGetTribeConfig.m_retcode; - m_addTribeVerify = cImRspGetTribeConfig.m_addTribeVerify; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint8_t& GetAddTribeVerify () const { return m_addTribeVerify; } - bool SetAddTribeVerify ( const uint8_t& chAddTribeVerify ) - { - m_addTribeVerify = chAddTribeVerify; - return true; - } -private: - uint8_t m_retcode; - uint8_t m_addTribeVerify; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspGetTribeConfig::Size() const -{ - return 5; -} -class CImReqSetTribeConfig : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SET_TRIBE_CONFIG - }; - CImReqSetTribeConfig() - { - } - - ~CImReqSetTribeConfig() { } - CImReqSetTribeConfig(const uint8_t& chAddTribeVerify) - { - m_addTribeVerify = chAddTribeVerify; - } - CImReqSetTribeConfig& operator=( const CImReqSetTribeConfig& cImReqSetTribeConfig ) - { - m_addTribeVerify = cImReqSetTribeConfig.m_addTribeVerify; - return *this; - } - - const uint8_t& GetAddTribeVerify () const { return m_addTribeVerify; } - bool SetAddTribeVerify ( const uint8_t& chAddTribeVerify ) - { - m_addTribeVerify = chAddTribeVerify; - return true; - } -private: - uint8_t m_addTribeVerify; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSetTribeConfig::Size() const -{ - return 3; -} -class CImRspSetTribeConfig : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SET_TRIBE_CONFIG - }; - CImRspSetTribeConfig() - { - } - - ~CImRspSetTribeConfig() { } - CImRspSetTribeConfig(const uint8_t& chRetcode, const uint8_t& chAddTribeVerify) - { - m_retcode = chRetcode; - m_addTribeVerify = chAddTribeVerify; - } - CImRspSetTribeConfig& operator=( const CImRspSetTribeConfig& cImRspSetTribeConfig ) - { - m_retcode = cImRspSetTribeConfig.m_retcode; - m_addTribeVerify = cImRspSetTribeConfig.m_addTribeVerify; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint8_t& GetAddTribeVerify () const { return m_addTribeVerify; } - bool SetAddTribeVerify ( const uint8_t& chAddTribeVerify ) - { - m_addTribeVerify = chAddTribeVerify; - return true; - } -private: - uint8_t m_retcode; - uint8_t m_addTribeVerify; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSetTribeConfig::Size() const -{ - return 5; -} -class CImReqSetOpenTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SET_OPEN_TRIBE - }; - CImReqSetOpenTribe() - { - } - - ~CImReqSetOpenTribe() { } - CImReqSetOpenTribe(const VECTOR< string >& vecTribeIdList, const uint8_t& chOpenTribe) - { - m_tribeIdList = vecTribeIdList; - m_openTribe = chOpenTribe; - } - CImReqSetOpenTribe& operator=( const CImReqSetOpenTribe& cImReqSetOpenTribe ) - { - m_tribeIdList = cImReqSetOpenTribe.m_tribeIdList; - m_openTribe = cImReqSetOpenTribe.m_openTribe; - return *this; - } - - const VECTOR< string >& GetTribeIdList () const { return m_tribeIdList; } - bool SetTribeIdList ( const VECTOR< string >& vecTribeIdList ) - { - m_tribeIdList = vecTribeIdList; - return true; - } - const uint8_t& GetOpenTribe () const { return m_openTribe; } - bool SetOpenTribe ( const uint8_t& chOpenTribe ) - { - m_openTribe = chOpenTribe; - return true; - } -private: - VECTOR< string > m_tribeIdList; - uint8_t m_openTribe; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSetOpenTribe::Size() const -{ - uint32_t nSize = 9; - nSize += m_tribeIdList.size() * 4; - for(uint32_t i = 0; i < m_tribeIdList.size(); i++) - { - nSize += m_tribeIdList[i].length(); - } - return nSize; -} - -class CImRspSetOpenTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SET_OPEN_TRIBE - }; - CImRspSetOpenTribe() - { - } - - ~CImRspSetOpenTribe() { } - CImRspSetOpenTribe(const uint8_t& chRetcode, const VECTOR< string >& vecTribeIdList, const uint8_t& chOpenTribe) - { - m_retcode = chRetcode; - m_tribeIdList = vecTribeIdList; - m_openTribe = chOpenTribe; - } - CImRspSetOpenTribe& operator=( const CImRspSetOpenTribe& cImRspSetOpenTribe ) - { - m_retcode = cImRspSetOpenTribe.m_retcode; - m_tribeIdList = cImRspSetOpenTribe.m_tribeIdList; - m_openTribe = cImRspSetOpenTribe.m_openTribe; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const VECTOR< string >& GetTribeIdList () const { return m_tribeIdList; } - bool SetTribeIdList ( const VECTOR< string >& vecTribeIdList ) - { - m_tribeIdList = vecTribeIdList; - return true; - } - const uint8_t& GetOpenTribe () const { return m_openTribe; } - bool SetOpenTribe ( const uint8_t& chOpenTribe ) - { - m_openTribe = chOpenTribe; - return true; - } -private: - uint8_t m_retcode; - VECTOR< string > m_tribeIdList; - uint8_t m_openTribe; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSetOpenTribe::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeIdList.size() * 4; - for(uint32_t i = 0; i < m_tribeIdList.size(); i++) - { - nSize += m_tribeIdList[i].length(); - } - return nSize; -} - -class CImReqVisitTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_VISIT_TRIBE - }; - CImReqVisitTribe() - { - } - - ~CImReqVisitTribe() { } - CImReqVisitTribe(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CImReqVisitTribe& operator=( const CImReqVisitTribe& cImReqVisitTribe ) - { - m_tribeId = cImReqVisitTribe.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqVisitTribe::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CImRspVisitTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_VISIT_TRIBE - }; - CImRspVisitTribe() - { - } - - ~CImRspVisitTribe() { } - CImRspVisitTribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CImRspVisitTribe& operator=( const CImRspVisitTribe& cImRspVisitTribe ) - { - m_retcode = cImRspVisitTribe.m_retcode; - m_tribeId = cImRspVisitTribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspVisitTribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CImReqClearVisitor : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CLEAR_VISITOR - }; - CImReqClearVisitor() - { - } - - ~CImReqClearVisitor() { } - CImReqClearVisitor(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CImReqClearVisitor& operator=( const CImReqClearVisitor& cImReqClearVisitor ) - { - m_tribeId = cImReqClearVisitor.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqClearVisitor::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CImRspClearVisitor : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CLEAR_VISITOR - }; - CImRspClearVisitor() - { - } - - ~CImRspClearVisitor() { } - CImRspClearVisitor(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CImRspClearVisitor& operator=( const CImRspClearVisitor& cImRspClearVisitor ) - { - m_retcode = cImRspClearVisitor.m_retcode; - m_tribeId = cImRspClearVisitor.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspClearVisitor::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CImReqStartTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_START_TRIBE - }; - CImReqStartTribe() - { - } - - ~CImReqStartTribe() { } - CImReqStartTribe(const string& strTribeId, const map< string,string >& mapItems) - { - m_tribeId = strTribeId; - m_items = mapItems; - } - CImReqStartTribe& operator=( const CImReqStartTribe& cImReqStartTribe ) - { - m_tribeId = cImReqStartTribe.m_tribeId; - m_items = cImReqStartTribe.m_items; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const map< string,string >& GetItems () const { return m_items; } - bool SetItems ( const map< string,string >& mapItems ) - { - m_items = mapItems; - return true; - } -private: - string m_tribeId; - map< string,string > m_items; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqStartTribe::Size() const -{ - uint32_t nSize = 10; - nSize += m_tribeId.length(); - nSize += m_items.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CImRspStartTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_START_TRIBE - }; - CImRspStartTribe() - { - } - - ~CImRspStartTribe() { } - CImRspStartTribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CImRspStartTribe& operator=( const CImRspStartTribe& cImRspStartTribe ) - { - m_retcode = cImRspStartTribe.m_retcode; - m_tribeId = cImRspStartTribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspStartTribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CImReqUpdateTribecard : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_UPDATE_TRIBECARD - }; - CImReqUpdateTribecard() - { - } - - ~CImReqUpdateTribecard() { } - CImReqUpdateTribecard(const string& strTribeId, const string& strMemberId, const map< string,string >& mapItems) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_items = mapItems; - } - CImReqUpdateTribecard& operator=( const CImReqUpdateTribecard& cImReqUpdateTribecard ) - { - m_tribeId = cImReqUpdateTribecard.m_tribeId; - m_memberId = cImReqUpdateTribecard.m_memberId; - m_items = cImReqUpdateTribecard.m_items; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const map< string,string >& GetItems () const { return m_items; } - bool SetItems ( const map< string,string >& mapItems ) - { - m_items = mapItems; - return true; - } -private: - string m_tribeId; - string m_memberId; - map< string,string > m_items; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqUpdateTribecard::Size() const -{ - uint32_t nSize = 15; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - nSize += m_items.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CImRspUpdateTribecard : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_UPDATE_TRIBECARD - }; - CImRspUpdateTribecard() - { - } - - ~CImRspUpdateTribecard() { } - CImRspUpdateTribecard(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CImRspUpdateTribecard& operator=( const CImRspUpdateTribecard& cImRspUpdateTribecard ) - { - m_retcode = cImRspUpdateTribecard.m_retcode; - m_tribeId = cImRspUpdateTribecard.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspUpdateTribecard::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CImReqRecommendTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_RECOMMEND_TRIBE - }; - CImReqRecommendTribe() - { - } - - ~CImReqRecommendTribe() { } - CImReqRecommendTribe(const string& strTribeId, const VECTOR< string >& vecUserList, const string& strMessage) - { - m_tribeId = strTribeId; - m_userList = vecUserList; - m_message = strMessage; - } - CImReqRecommendTribe& operator=( const CImReqRecommendTribe& cImReqRecommendTribe ) - { - m_tribeId = cImReqRecommendTribe.m_tribeId; - m_userList = cImReqRecommendTribe.m_userList; - m_message = cImReqRecommendTribe.m_message; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< string >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< string >& vecUserList ) - { - m_userList = vecUserList; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_tribeId; - VECTOR< string > m_userList; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqRecommendTribe::Size() const -{ - uint32_t nSize = 17; - nSize += m_tribeId.length(); - nSize += m_userList.size() * 4; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].length(); - } - nSize += m_message.length(); - return nSize; -} - -class CImRspRecommendTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_RECOMMEND_TRIBE - }; - CImRspRecommendTribe() - { - } - - ~CImRspRecommendTribe() { } - CImRspRecommendTribe(const uint8_t& chRetcode, const string& strTribeId, const VECTOR< string >& vecUserList) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_userList = vecUserList; - } - CImRspRecommendTribe& operator=( const CImRspRecommendTribe& cImRspRecommendTribe ) - { - m_retcode = cImRspRecommendTribe.m_retcode; - m_tribeId = cImRspRecommendTribe.m_tribeId; - m_userList = cImRspRecommendTribe.m_userList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< string >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< string >& vecUserList ) - { - m_userList = vecUserList; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - VECTOR< string > m_userList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspRecommendTribe::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - nSize += m_userList.size() * 4; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].length(); - } - return nSize; -} - -class CImNtfRecommendTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_RECOMMEND_TRIBE - }; - CImNtfRecommendTribe() - { - } - - ~CImNtfRecommendTribe() { } - CImNtfRecommendTribe(const string& strTribeId, const string& strMemberId, const VECTOR< string >& vecUserList, const string& strMessage) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_userList = vecUserList; - m_message = strMessage; - } - CImNtfRecommendTribe& operator=( const CImNtfRecommendTribe& cImNtfRecommendTribe ) - { - m_tribeId = cImNtfRecommendTribe.m_tribeId; - m_memberId = cImNtfRecommendTribe.m_memberId; - m_userList = cImNtfRecommendTribe.m_userList; - m_message = cImNtfRecommendTribe.m_message; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const VECTOR< string >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< string >& vecUserList ) - { - m_userList = vecUserList; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_tribeId; - string m_memberId; - VECTOR< string > m_userList; - string m_message; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfRecommendTribe::Size() const -{ - uint32_t nSize = 22; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - nSize += m_userList.size() * 4; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].length(); - } - nSize += m_message.length(); - return nSize; -} - -class CImReqAuthRecommend : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_AUTH_RECOMMEND - }; - CImReqAuthRecommend() - { - } - - ~CImReqAuthRecommend() { } - CImReqAuthRecommend(const string& strTribeId, const string& strMemberId, const VECTOR< string >& vecUserList, const int64_t& llGroupId) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_userList = vecUserList; - m_groupId = llGroupId; - } - CImReqAuthRecommend& operator=( const CImReqAuthRecommend& cImReqAuthRecommend ) - { - m_tribeId = cImReqAuthRecommend.m_tribeId; - m_memberId = cImReqAuthRecommend.m_memberId; - m_userList = cImReqAuthRecommend.m_userList; - m_groupId = cImReqAuthRecommend.m_groupId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const VECTOR< string >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< string >& vecUserList ) - { - m_userList = vecUserList; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - string m_tribeId; - string m_memberId; - VECTOR< string > m_userList; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqAuthRecommend::Size() const -{ - uint32_t nSize = 26; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - nSize += m_userList.size() * 4; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].length(); - } - return nSize; -} - -class CImRspAuthRecommend : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_AUTH_RECOMMEND - }; - CImRspAuthRecommend() - { - } - - ~CImRspAuthRecommend() { } - CImRspAuthRecommend(const uint8_t& chRetcode, const string& strTribeId, const string& strMemberId, const VECTOR< string >& vecUserList, const int64_t& llGroupId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_userList = vecUserList; - m_groupId = llGroupId; - } - CImRspAuthRecommend& operator=( const CImRspAuthRecommend& cImRspAuthRecommend ) - { - m_retcode = cImRspAuthRecommend.m_retcode; - m_tribeId = cImRspAuthRecommend.m_tribeId; - m_memberId = cImRspAuthRecommend.m_memberId; - m_userList = cImRspAuthRecommend.m_userList; - m_groupId = cImRspAuthRecommend.m_groupId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const VECTOR< string >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< string >& vecUserList ) - { - m_userList = vecUserList; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_memberId; - VECTOR< string > m_userList; - int64_t m_groupId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspAuthRecommend::Size() const -{ - uint32_t nSize = 28; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - nSize += m_userList.size() * 4; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].length(); - } - return nSize; -} - -class CImReqWebLogintribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_WEB_LOGINTRIBE - }; - ~CImReqWebLogintribe() { } -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqWebLogintribe::Size() const -{ - return 1; -} -class CImRspWebLogintribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_WEB_LOGINTRIBE - }; - CImRspWebLogintribe() - { - } - - ~CImRspWebLogintribe() { } - CImRspWebLogintribe(const uint8_t& chRetcode, const VECTOR< SWebGroup >& vecGroupList, const VECTOR< STribeId >& vecTribeIdList) - { - m_retcode = chRetcode; - m_groupList = vecGroupList; - m_tribeIdList = vecTribeIdList; - } - CImRspWebLogintribe& operator=( const CImRspWebLogintribe& cImRspWebLogintribe ) - { - m_retcode = cImRspWebLogintribe.m_retcode; - m_groupList = cImRspWebLogintribe.m_groupList; - m_tribeIdList = cImRspWebLogintribe.m_tribeIdList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const VECTOR< SWebGroup >& GetGroupList () const { return m_groupList; } - bool SetGroupList ( const VECTOR< SWebGroup >& vecGroupList ) - { - m_groupList = vecGroupList; - return true; - } - const VECTOR< STribeId >& GetTribeIdList () const { return m_tribeIdList; } - bool SetTribeIdList ( const VECTOR< STribeId >& vecTribeIdList ) - { - m_tribeIdList = vecTribeIdList; - return true; - } -private: - uint8_t m_retcode; - VECTOR< SWebGroup > m_groupList; - VECTOR< STribeId > m_tribeIdList; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspWebLogintribe::Size() const -{ - uint32_t nSize = 15; - for(uint32_t i = 0; i < m_groupList.size(); i++) - { - nSize += m_groupList[i].Size(); - } - for(uint32_t i = 0; i < m_tribeIdList.size(); i++) - { - nSize += m_tribeIdList[i].Size(); - } - return nSize; -} - -class CImReqSetTribeMsgPopup : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_SET_TRIBE_MSG_POPUP - }; - CImReqSetTribeMsgPopup() - { - } - - ~CImReqSetTribeMsgPopup() { } - CImReqSetTribeMsgPopup(const string& strTribeId, const uint8_t& chMsgPopup) - { - m_tribeId = strTribeId; - m_msgPopup = chMsgPopup; - } - CImReqSetTribeMsgPopup& operator=( const CImReqSetTribeMsgPopup& cImReqSetTribeMsgPopup ) - { - m_tribeId = cImReqSetTribeMsgPopup.m_tribeId; - m_msgPopup = cImReqSetTribeMsgPopup.m_msgPopup; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetMsgPopup () const { return m_msgPopup; } - bool SetMsgPopup ( const uint8_t& chMsgPopup ) - { - m_msgPopup = chMsgPopup; - return true; - } -private: - string m_tribeId; - uint8_t m_msgPopup; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqSetTribeMsgPopup::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CImRspSetTribeMsgPopup : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_SET_TRIBE_MSG_POPUP - }; - CImRspSetTribeMsgPopup() - { - } - - ~CImRspSetTribeMsgPopup() { } - CImRspSetTribeMsgPopup(const uint8_t& chRetcode, const string& strTribeId, const uint8_t& chMsgPopup) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_msgPopup = chMsgPopup; - } - CImRspSetTribeMsgPopup& operator=( const CImRspSetTribeMsgPopup& cImRspSetTribeMsgPopup ) - { - m_retcode = cImRspSetTribeMsgPopup.m_retcode; - m_tribeId = cImRspSetTribeMsgPopup.m_tribeId; - m_msgPopup = cImRspSetTribeMsgPopup.m_msgPopup; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetMsgPopup () const { return m_msgPopup; } - bool SetMsgPopup ( const uint8_t& chMsgPopup ) - { - m_msgPopup = chMsgPopup; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - uint8_t m_msgPopup; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspSetTribeMsgPopup::Size() const -{ - uint32_t nSize = 10; - nSize += m_tribeId.length(); - return nSize; -} - -class CImReqTransferTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_TRANSFER_TRIBE - }; - CImReqTransferTribe() - { - } - - ~CImReqTransferTribe() { } - CImReqTransferTribe(const string& strTribeId, const string& strTransferId) - { - m_tribeId = strTribeId; - m_transferId = strTransferId; - } - CImReqTransferTribe& operator=( const CImReqTransferTribe& cImReqTransferTribe ) - { - m_tribeId = cImReqTransferTribe.m_tribeId; - m_transferId = cImReqTransferTribe.m_transferId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetTransferId () const { return m_transferId; } - bool SetTransferId ( const string& strTransferId ) - { - if(strTransferId.size() > 64) - return false; - m_transferId = strTransferId; - return true; - } -private: - string m_tribeId; - string m_transferId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqTransferTribe::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - nSize += m_transferId.length(); - return nSize; -} - -class CImRspTransferTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_TRANSFER_TRIBE - }; - CImRspTransferTribe() - { - } - - ~CImRspTransferTribe() { } - CImRspTransferTribe(const uint8_t& chRetcode, const string& strTribeId, const string& strAltTribeId, const string& strRctOwnerId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_altTribeId = strAltTribeId; - m_rctOwnerId = strRctOwnerId; - } - CImRspTransferTribe& operator=( const CImRspTransferTribe& cImRspTransferTribe ) - { - m_retcode = cImRspTransferTribe.m_retcode; - m_tribeId = cImRspTransferTribe.m_tribeId; - m_altTribeId = cImRspTransferTribe.m_altTribeId; - m_rctOwnerId = cImRspTransferTribe.m_rctOwnerId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetAltTribeId () const { return m_altTribeId; } - bool SetAltTribeId ( const string& strAltTribeId ) - { - if(strAltTribeId.size() > 20) - return false; - m_altTribeId = strAltTribeId; - return true; - } - const string& GetRctOwnerId () const { return m_rctOwnerId; } - bool SetRctOwnerId ( const string& strRctOwnerId ) - { - if(strRctOwnerId.size() > 64) - return false; - m_rctOwnerId = strRctOwnerId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_altTribeId; - string m_rctOwnerId; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspTransferTribe::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_altTribeId.length(); - nSize += m_rctOwnerId.length(); - return nSize; -} - -class CImNtfTransferTribeSys : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_TRANSFER_TRIBE_SYS - }; - CImNtfTransferTribeSys() - { - } - - ~CImNtfTransferTribeSys() { } - CImNtfTransferTribeSys(const string& strOwner, const string& strTribeId, const string& strTribeInfo) - { - m_owner = strOwner; - m_tribeId = strTribeId; - m_tribeInfo = strTribeInfo; - } - CImNtfTransferTribeSys& operator=( const CImNtfTransferTribeSys& cImNtfTransferTribeSys ) - { - m_owner = cImNtfTransferTribeSys.m_owner; - m_tribeId = cImNtfTransferTribeSys.m_tribeId; - m_tribeInfo = cImNtfTransferTribeSys.m_tribeInfo; - return *this; - } - - const string& GetOwner () const { return m_owner; } - bool SetOwner ( const string& strOwner ) - { - if(strOwner.size() > 64) - return false; - m_owner = strOwner; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetTribeInfo () const { return m_tribeInfo; } - bool SetTribeInfo ( const string& strTribeInfo ) - { - m_tribeInfo = strTribeInfo; - return true; - } -private: - string m_owner; - string m_tribeId; - string m_tribeInfo; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfTransferTribeSys::Size() const -{ - uint32_t nSize = 16; - nSize += m_owner.length(); - nSize += m_tribeId.length(); - nSize += m_tribeInfo.length(); - return nSize; -} - -class CImNtfTransferTribe : public CPackData -{ -public: - enum - { - CMD_ID = IM_NTF_TRANSFER_TRIBE - }; - CImNtfTransferTribe() - { - } - - ~CImNtfTransferTribe() { } - CImNtfTransferTribe(const string& strTribeId, const string& strOccupiedTribeId, const string& strTribeInfo) - { - m_tribeId = strTribeId; - m_occupiedTribeId = strOccupiedTribeId; - m_tribeInfo = strTribeInfo; - } - CImNtfTransferTribe& operator=( const CImNtfTransferTribe& cImNtfTransferTribe ) - { - m_tribeId = cImNtfTransferTribe.m_tribeId; - m_occupiedTribeId = cImNtfTransferTribe.m_occupiedTribeId; - m_tribeInfo = cImNtfTransferTribe.m_tribeInfo; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetOccupiedTribeId () const { return m_occupiedTribeId; } - bool SetOccupiedTribeId ( const string& strOccupiedTribeId ) - { - if(strOccupiedTribeId.size() > 20) - return false; - m_occupiedTribeId = strOccupiedTribeId; - return true; - } - const string& GetTribeInfo () const { return m_tribeInfo; } - bool SetTribeInfo ( const string& strTribeInfo ) - { - m_tribeInfo = strTribeInfo; - return true; - } -private: - string m_tribeId; - string m_occupiedTribeId; - string m_tribeInfo; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImNtfTransferTribe::Size() const -{ - uint32_t nSize = 16; - nSize += m_tribeId.length(); - nSize += m_occupiedTribeId.length(); - nSize += m_tribeInfo.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/tbsmsg_pack.h b/features/aliww/include/tbsmsg_pack.h deleted file mode 100644 index 5dfed9b..0000000 --- a/features/aliww/include/tbsmsg_pack.h +++ /dev/null @@ -1,437 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tbsmsg_pack.h -// Date: 2011-01-30 12:50:13 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __TBSMSG_PACK_H__ -#define __TBSMSG_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "const_macro.h" -#include "scs_head.h" -#include "tbsstrc_pack.h" - -using namespace std; - -enum TBSMSG_REQUEST -{ - TBSC_REQ_LOAD_OFFLINEMSG = 0x6300031, - TBSC_REQ_UNLOAD_OFFLINEMSG = 0x6300032, - TBSC_REQ_ADD_OFFLINEMSG = 0x6300033, - TBSC_REQ_GET_FILTERMSG = 0x6300034, - -}; - -enum TBSMSG_RESPONSE -{ - TBSC_RSP_UNLOAD_OFFLINEMSG = 0x6310031, - TBSC_RSP_GET_FILTERMSG = 0x6300034, - -}; - -class CTbscReqLoadOfflinemsg : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_LOAD_OFFLINEMSG - }; - CTbscReqLoadOfflinemsg() - { - } - - ~CTbscReqLoadOfflinemsg() { } - CTbscReqLoadOfflinemsg(const string& strTribeId, const VECTOR< STribeMsg >& vecTribeMsgList) - { - m_tribeId = strTribeId; - m_tribeMsgList = vecTribeMsgList; - } - CTbscReqLoadOfflinemsg& operator=( const CTbscReqLoadOfflinemsg& cTbscReqLoadOfflinemsg ) - { - m_tribeId = cTbscReqLoadOfflinemsg.m_tribeId; - m_tribeMsgList = cTbscReqLoadOfflinemsg.m_tribeMsgList; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< STribeMsg >& GetTribeMsgList () const { return m_tribeMsgList; } - bool SetTribeMsgList ( const VECTOR< STribeMsg >& vecTribeMsgList ) - { - m_tribeMsgList = vecTribeMsgList; - return true; - } -private: - string m_tribeId; - VECTOR< STribeMsg > m_tribeMsgList; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqLoadOfflinemsg::Size() const -{ - uint32_t nSize = 12; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_tribeMsgList.size(); i++) - { - nSize += m_tribeMsgList[i].Size(); - } - return nSize; -} - -class CTbscReqUnloadOfflinemsg : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_UNLOAD_OFFLINEMSG - }; - CTbscReqUnloadOfflinemsg() - { - } - - ~CTbscReqUnloadOfflinemsg() { } - CTbscReqUnloadOfflinemsg(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbscReqUnloadOfflinemsg& operator=( const CTbscReqUnloadOfflinemsg& cTbscReqUnloadOfflinemsg ) - { - m_tribeId = cTbscReqUnloadOfflinemsg.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqUnloadOfflinemsg::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbscRspUnloadOfflinemsg : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_UNLOAD_OFFLINEMSG - }; - CTbscRspUnloadOfflinemsg() - { - } - - ~CTbscRspUnloadOfflinemsg() { } - CTbscRspUnloadOfflinemsg(const uint8_t& chRetcode, const string& strTribeId, const VECTOR< STribeMsg >& vecTribeMsgList) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeMsgList = vecTribeMsgList; - } - CTbscRspUnloadOfflinemsg& operator=( const CTbscRspUnloadOfflinemsg& cTbscRspUnloadOfflinemsg ) - { - m_retcode = cTbscRspUnloadOfflinemsg.m_retcode; - m_tribeId = cTbscRspUnloadOfflinemsg.m_tribeId; - m_tribeMsgList = cTbscRspUnloadOfflinemsg.m_tribeMsgList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< STribeMsg >& GetTribeMsgList () const { return m_tribeMsgList; } - bool SetTribeMsgList ( const VECTOR< STribeMsg >& vecTribeMsgList ) - { - m_tribeMsgList = vecTribeMsgList; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - VECTOR< STribeMsg > m_tribeMsgList; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspUnloadOfflinemsg::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_tribeMsgList.size(); i++) - { - nSize += m_tribeMsgList[i].Size(); - } - return nSize; -} - -class CTbscReqAddOfflinemsg : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_ADD_OFFLINEMSG - }; - CTbscReqAddOfflinemsg() - { - } - - ~CTbscReqAddOfflinemsg() { } - CTbscReqAddOfflinemsg(const string& strTribeId, const STribeMsg& sTribeMsg) - { - m_tribeId = strTribeId; - m_tribeMsg = sTribeMsg; - } - CTbscReqAddOfflinemsg& operator=( const CTbscReqAddOfflinemsg& cTbscReqAddOfflinemsg ) - { - m_tribeId = cTbscReqAddOfflinemsg.m_tribeId; - m_tribeMsg = cTbscReqAddOfflinemsg.m_tribeMsg; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const STribeMsg& GetTribeMsg () const { return m_tribeMsg; } - bool SetTribeMsg ( const STribeMsg& sTribeMsg ) - { - m_tribeMsg = sTribeMsg; - return true; - } -private: - string m_tribeId; - STribeMsg m_tribeMsg; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqAddOfflinemsg::Size() const -{ - uint32_t nSize = 7; - nSize += m_tribeId.length(); - nSize += m_tribeMsg.Size(); - return nSize; -} - -class CTbscReqGetFiltermsg : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_GET_FILTERMSG - }; - CTbscReqGetFiltermsg() - { - } - - ~CTbscReqGetFiltermsg() { } - CTbscReqGetFiltermsg(const string& strTribeId, const string& strUserId, const uint32_t& dwLastMsgid) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_lastMsgid = dwLastMsgid; - } - CTbscReqGetFiltermsg& operator=( const CTbscReqGetFiltermsg& cTbscReqGetFiltermsg ) - { - m_tribeId = cTbscReqGetFiltermsg.m_tribeId; - m_userId = cTbscReqGetFiltermsg.m_userId; - m_lastMsgid = cTbscReqGetFiltermsg.m_lastMsgid; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint32_t& GetLastMsgid () const { return m_lastMsgid; } - bool SetLastMsgid ( const uint32_t& dwLastMsgid ) - { - m_lastMsgid = dwLastMsgid; - return true; - } -private: - string m_tribeId; - string m_userId; - uint32_t m_lastMsgid; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqGetFiltermsg::Size() const -{ - uint32_t nSize = 16; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - return nSize; -} - -class CTbscRspGetFiltermsg : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_GET_FILTERMSG - }; - CTbscRspGetFiltermsg() - { - } - - ~CTbscRspGetFiltermsg() { } - CTbscRspGetFiltermsg(const uint8_t& chRetcode, const string& strTribeId, const string& strUserId, const VECTOR< STribeMsg >& vecTribeMsgList) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_userId = strUserId; - m_tribeMsgList = vecTribeMsgList; - } - CTbscRspGetFiltermsg& operator=( const CTbscRspGetFiltermsg& cTbscRspGetFiltermsg ) - { - m_retcode = cTbscRspGetFiltermsg.m_retcode; - m_tribeId = cTbscRspGetFiltermsg.m_tribeId; - m_userId = cTbscRspGetFiltermsg.m_userId; - m_tribeMsgList = cTbscRspGetFiltermsg.m_tribeMsgList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const VECTOR< STribeMsg >& GetTribeMsgList () const { return m_tribeMsgList; } - bool SetTribeMsgList ( const VECTOR< STribeMsg >& vecTribeMsgList ) - { - m_tribeMsgList = vecTribeMsgList; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_userId; - VECTOR< STribeMsg > m_tribeMsgList; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspGetFiltermsg::Size() const -{ - uint32_t nSize = 19; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - for(uint32_t i = 0; i < m_tribeMsgList.size(); i++) - { - nSize += m_tribeMsgList[i].Size(); - } - return nSize; -} - -#endif diff --git a/features/aliww/include/tbss_cmd.h b/features/aliww/include/tbss_cmd.h deleted file mode 100644 index d89cf57..0000000 --- a/features/aliww/include/tbss_cmd.h +++ /dev/null @@ -1,141 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tbss_cmd.h -// Date: 2011-01-30 12:49:26 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __TBSS_CMD_H__ -#define __TBSS_CMD_H__ - -#include -#include -#include -#include "packdata.h" - -using namespace std; - -enum TBSS_REQUEST -{ - TBS_REQ_GET_TRIBEGROUP = 0x6100001, - TBS_REQ_ADD_TRIBEGROUP = 0x6100002, - TBS_REQ_UPDATE_TRIBEGROUP = 0x6100003, - TBS_REQ_DEL_TRIBEGROUP = 0x6100004, - TBS_REQ_SHALLOW_LOGINTRIBE = 0x6100005, - TBS_REQ_DEEP_LOGINTRIBE = 0x6100006, - TBS_REQ_INVITE_TRIBE = 0x6100007, - TBS_REQ_ONINVITE_JOINTRIBE = 0x6100008, - TBS_REQ_ASK_JOINTRIBE = 0x6100009, - TBS_REQ_EXAM_ASKJOINTRIBE = 0x610000a, - TBS_REQ_CHGLEVEL_TRIBEMEMBER= 0x610000b, - TBS_REQ_CHG_TRIBEGROUP = 0x610000c, - TBS_REQ_ADD_STARMEMBER = 0x610000d, - TBS_REQ_DEL_STARMEMBER = 0x610000e, - TBS_REQ_DEL_TRIBEMEMBER = 0x610000f, - TBS_REQ_GET_TRIBEBLACK = 0x6100010, - TBS_REQ_ADD_TRIBEBLACK = 0x6100011, - TBS_REQ_DEL_TRIBEBLACK = 0x6100012, - TBS_REQ_QUIT_TRIBE = 0x6100013, - TBS_REQ_CLOSE_TRIBE = 0x6100014, - TBS_REQ_GET_TRIBEINFO = 0x6100015, - TBS_REQ_MODIFY_TRIBE = 0x6100016, - TBS_REQ_GET_TRIBEMEMBERINFO = 0x6100017, - TBS_REQ_SEND_TRIBEMSG = 0x6100018, - TBS_REQ_SET_OPEN_TRIBE = 0x610001b, - TBS_REQ_VISIT_TRIBE = 0x610001c, - TBS_REQ_CLEAR_VISITOR = 0x610001d, - TBS_REQ_START_TRIBE = 0x610001e, - TBS_REQ_RECOMMEND_TRIBE = 0x6100024, - TBS_REQ_AUTH_RECOMMEND = 0x6100025, - TBS_REQ_GET_ONLINEINFO = 0x6100031, - TBS_REQ_NTF_MODIFYTRIBE = 0x6100032, - TBS_REQ_UNLOADTRIBE = 0x6100033, - TBS_REQ_GET_TRIBECARD = 0x6100034, - TBS_REQ_UPDATE_TRIBECARD = 0x6100035, - TBS_REQ_UPDATE_TRIBECARD2 = 0x610003b, - TBS_REQ_GET_MEMBERINFO = 0x6100036, - TBS_REQ_GET_TRIBEMANAGER = 0x6100037, - TBS_REQ_GET_USERTRIBE = 0x6100038, - TBS_REQ_POST_TRIBEMSG = 0x6100039, - TBS_REQ_GET_ACTLEVEL = 0x610003a, - TBS_REQ_ACTIVE_USER = 0x6100100, - TBS_REQ_DISACTIVE_USER = 0x6100101, - TBS_REQ_STOP_TRIBE = 0x6100102, - TBS_REQ_ADD_TRIBE_MEMBER = 0x6100103, - TBS_REQ_DEL_TRIBE_MEMBER = 0x6100104, - TBS_REQ_SET_TRIBE_MSG_POPUP = 0x6100041, - TBS_REQ_TRANSFER_TRIBE = 0x6100042, - -}; - -enum TBSS_RESPONSE -{ - TBS_RSP_GET_TRIBEGROUP = 0x6110001, - TBS_RSP_ADD_TRIBEGROUP = 0x6110002, - TBS_RSP_UPDATE_TRIBEGROUP = 0x6110003, - TBS_RSP_DEL_TRIBEGROUP = 0x6110004, - TBS_RSP_SHALLOW_LOGINTRIBE = 0x6110005, - TBS_RSP_DEEP_LOGINTRIBE = 0x6110006, - TBS_RSP_INVITE_TRIBE = 0x6110007, - TBS_RSP_ONINVITE_JOINTRIBE = 0x6110008, - TBS_RSP_ASK_JOINTRIBE = 0x6110009, - TBS_RSP_EXAM_ASKJOINTRIBE = 0x611000a, - TBS_RSP_CHGLEVEL_TRIBEMEMBER= 0x611000b, - TBS_RSP_CHG_TRIBEGROUP = 0x611000c, - TBS_RSP_ADD_STARMEMBER = 0x611000d, - TBS_RSP_DEL_STARMEMBER = 0x611000e, - TBS_RSP_DEL_TRIBEMEMBER = 0x611000f, - TBS_RSP_GET_TRIBEBLACK = 0x6110010, - TBS_RSP_ADD_TRIBEBLACK = 0x6110011, - TBS_RSP_DEL_TRIBEBLACK = 0x6110012, - TBS_RSP_QUIT_TRIBE = 0x6110013, - TBS_RSP_CLOSE_TRIBE = 0x6110014, - TBS_RSP_GET_TRIBEINFO = 0x6110015, - TBS_RSP_MODIFY_TRIBE = 0x6110016, - TBS_RSP_GET_TRIBEMEMBERINFO = 0x6110017, - TBS_RSP_SEND_TRIBEMSG = 0x6110018, - TBS_RSP_SET_OPEN_TRIBE = 0x611001b, - TBS_RSP_VISIT_TRIBE = 0x611001c, - TBS_RSP_CLEAR_VISITOR = 0x611001d, - TBS_RSP_START_TRIBE = 0x611001e, - TBS_RSP_ALL_TRIBELIST = 0x6110020, - TBS_RSP_RECOMMEND_TRIBE = 0x6110024, - TBS_RSP_AUTH_RECOMMEND = 0x6110025, - TBS_RSP_GET_ONLINEINFO = 0x6110031, - TBS_RSP_NTF_MODIFYTRIBE = 0x6110032, - TBS_RSP_UNLOADTRIBE = 0x6110033, - TBS_RSP_GET_TRIBECARD = 0x6110034, - TBS_RSP_UPDATE_TRIBECARD = 0x6110035, - TBS_RSP_GET_MEMBERINFO = 0x6110036, - TBS_RSP_GET_TRIBEMANAGER = 0x6110037, - TBS_RSP_GET_USERTRIBE = 0x6110038, - TBS_RSP_POST_TRIBEMSG = 0x6110039, - TBS_RSP_GET_ACTLEVEL = 0x611003a, - TBS_RSP_ACTIVE_USER = 0x6110100, - TBS_RSP_DISACTIVE_USER = 0x6110101, - TBS_RSP_STOP_TRIBE = 0x6110102, - TBS_RSP_ADD_TRIBE_MEMBER = 0x6110103, - TBS_RSP_DEL_TRIBE_MEMBER = 0x6110104, - TBS_RSP_SET_TRIBE_MSG_POPUP = 0x6110041, - TBS_RSP_TRANSFER_TRIBE = 0x6110042, - -}; - -enum TBSS_NOTIFY -{ - TBS_NTF_INVITE_TRIBE = 0x6120007, - TBS_NTF_ASK_JOINTRIBE = 0x6120009, - TBS_NTF_TRIBEMSG = 0x6120015, - TBS_NTF_TRIBE_SYSMSG = 0x6120017, - TBS_NTF_VERSION = 0x612001f, - TBS_GET_ALL_TRIBELIST = 0x6120020, - TBS_NTF_LOADTRIBE = 0x6120021, - TBS_NTF_UNLOADTRIBE = 0x6120022, - TBS_NTF_OFFLINE_MSG = 0x6120023, - TBS_NTF_RECOMMEND_TRIBE = 0x6120024, - TBS_NTF_TRANSFER_TRIBE = 0x6120025, - TBS_NTF_TRANSFER_TRIBE_SYS = 0x6120026, - -}; - -#endif diff --git a/features/aliww/include/tbss_pack.h b/features/aliww/include/tbss_pack.h deleted file mode 100644 index 8bf664e..0000000 --- a/features/aliww/include/tbss_pack.h +++ /dev/null @@ -1,7264 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tbss_pack.h -// Date: 2011-01-30 12:49:26 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __TBSS_PACK_H__ -#define __TBSS_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "ss_head.h" -#include "const_macro.h" -#include "tbss_cmd.h" -#include "tbsstrc_pack.h" -#include "tgsstrc_pack.h" - -using namespace std; - -class CTbsReqGetTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_GET_TRIBEGROUP - }; - ~CTbsReqGetTribegroup() { } -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqGetTribegroup::Size() const -{ - return 1; -} -class CTbsRspGetTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_GET_TRIBEGROUP - }; - CTbsRspGetTribegroup() - { - } - - ~CTbsRspGetTribegroup() { } - CTbsRspGetTribegroup(const uint8_t& chRetcode, const VECTOR< SMemberGroup >& vecMemberGroupList) - { - m_retcode = chRetcode; - m_memberGroupList = vecMemberGroupList; - } - CTbsRspGetTribegroup& operator=( const CTbsRspGetTribegroup& cTbsRspGetTribegroup ) - { - m_retcode = cTbsRspGetTribegroup.m_retcode; - m_memberGroupList = cTbsRspGetTribegroup.m_memberGroupList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const VECTOR< SMemberGroup >& GetMemberGroupList () const { return m_memberGroupList; } - bool SetMemberGroupList ( const VECTOR< SMemberGroup >& vecMemberGroupList ) - { - m_memberGroupList = vecMemberGroupList; - return true; - } -private: - uint8_t m_retcode; - VECTOR< SMemberGroup > m_memberGroupList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspGetTribegroup::Size() const -{ - uint32_t nSize = 9; - for(uint32_t i = 0; i < m_memberGroupList.size(); i++) - { - nSize += m_memberGroupList[i].Size(); - } - return nSize; -} - -class CTbsReqAddTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_ADD_TRIBEGROUP - }; - CTbsReqAddTribegroup() - { - } - - ~CTbsReqAddTribegroup() { } - CTbsReqAddTribegroup(const string& strTribeId, const string& strGroupName, const int64_t& llParentId) - { - m_tribeId = strTribeId; - m_groupName = strGroupName; - m_parentId = llParentId; - } - CTbsReqAddTribegroup& operator=( const CTbsReqAddTribegroup& cTbsReqAddTribegroup ) - { - m_tribeId = cTbsReqAddTribegroup.m_tribeId; - m_groupName = cTbsReqAddTribegroup.m_groupName; - m_parentId = cTbsReqAddTribegroup.m_parentId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetGroupName () const { return m_groupName; } - bool SetGroupName ( const string& strGroupName ) - { - m_groupName = strGroupName; - return true; - } - const int64_t& GetParentId () const { return m_parentId; } - bool SetParentId ( const int64_t& llParentId ) - { - m_parentId = llParentId; - return true; - } -private: - string m_tribeId; - string m_groupName; - int64_t m_parentId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqAddTribegroup::Size() const -{ - uint32_t nSize = 20; - nSize += m_tribeId.length(); - nSize += m_groupName.length(); - return nSize; -} - -class CTbsRspAddTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_ADD_TRIBEGROUP - }; - CTbsRspAddTribegroup() - { - } - - ~CTbsRspAddTribegroup() { } - CTbsRspAddTribegroup(const uint8_t& chRetcode, const string& strTribeId, const SGroupInfo& sMemberGroup, const uint32_t& dwGroupStamp) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberGroup = sMemberGroup; - m_groupStamp = dwGroupStamp; - } - CTbsRspAddTribegroup& operator=( const CTbsRspAddTribegroup& cTbsRspAddTribegroup ) - { - m_retcode = cTbsRspAddTribegroup.m_retcode; - m_tribeId = cTbsRspAddTribegroup.m_tribeId; - m_memberGroup = cTbsRspAddTribegroup.m_memberGroup; - m_groupStamp = cTbsRspAddTribegroup.m_groupStamp; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const SGroupInfo& GetMemberGroup () const { return m_memberGroup; } - bool SetMemberGroup ( const SGroupInfo& sMemberGroup ) - { - m_memberGroup = sMemberGroup; - return true; - } - const uint32_t& GetGroupStamp () const { return m_groupStamp; } - bool SetGroupStamp ( const uint32_t& dwGroupStamp ) - { - m_groupStamp = dwGroupStamp; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - SGroupInfo m_memberGroup; - uint32_t m_groupStamp; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspAddTribegroup::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - nSize += m_memberGroup.Size(); - return nSize; -} - -class CTbsReqUpdateTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_UPDATE_TRIBEGROUP - }; - CTbsReqUpdateTribegroup() - { - } - - ~CTbsReqUpdateTribegroup() { } - CTbsReqUpdateTribegroup(const string& strTribeId, const int64_t& llGroupId, const string& strGroupName) - { - m_tribeId = strTribeId; - m_groupId = llGroupId; - m_groupName = strGroupName; - } - CTbsReqUpdateTribegroup& operator=( const CTbsReqUpdateTribegroup& cTbsReqUpdateTribegroup ) - { - m_tribeId = cTbsReqUpdateTribegroup.m_tribeId; - m_groupId = cTbsReqUpdateTribegroup.m_groupId; - m_groupName = cTbsReqUpdateTribegroup.m_groupName; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } - const string& GetGroupName () const { return m_groupName; } - bool SetGroupName ( const string& strGroupName ) - { - m_groupName = strGroupName; - return true; - } -private: - string m_tribeId; - int64_t m_groupId; - string m_groupName; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqUpdateTribegroup::Size() const -{ - uint32_t nSize = 20; - nSize += m_tribeId.length(); - nSize += m_groupName.length(); - return nSize; -} - -class CTbsRspUpdateTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_UPDATE_TRIBEGROUP - }; - CTbsRspUpdateTribegroup() - { - } - - ~CTbsRspUpdateTribegroup() { } - CTbsRspUpdateTribegroup(const uint8_t& chRetcode, const string& strTribeId, const SGroupInfo& sMemberGroup, const uint32_t& dwGroupStamp) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberGroup = sMemberGroup; - m_groupStamp = dwGroupStamp; - } - CTbsRspUpdateTribegroup& operator=( const CTbsRspUpdateTribegroup& cTbsRspUpdateTribegroup ) - { - m_retcode = cTbsRspUpdateTribegroup.m_retcode; - m_tribeId = cTbsRspUpdateTribegroup.m_tribeId; - m_memberGroup = cTbsRspUpdateTribegroup.m_memberGroup; - m_groupStamp = cTbsRspUpdateTribegroup.m_groupStamp; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const SGroupInfo& GetMemberGroup () const { return m_memberGroup; } - bool SetMemberGroup ( const SGroupInfo& sMemberGroup ) - { - m_memberGroup = sMemberGroup; - return true; - } - const uint32_t& GetGroupStamp () const { return m_groupStamp; } - bool SetGroupStamp ( const uint32_t& dwGroupStamp ) - { - m_groupStamp = dwGroupStamp; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - SGroupInfo m_memberGroup; - uint32_t m_groupStamp; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspUpdateTribegroup::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - nSize += m_memberGroup.Size(); - return nSize; -} - -class CTbsReqDelTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_DEL_TRIBEGROUP - }; - CTbsReqDelTribegroup() - { - } - - ~CTbsReqDelTribegroup() { } - CTbsReqDelTribegroup(const string& strTribeId, const int64_t& llGroupId) - { - m_tribeId = strTribeId; - m_groupId = llGroupId; - } - CTbsReqDelTribegroup& operator=( const CTbsReqDelTribegroup& cTbsReqDelTribegroup ) - { - m_tribeId = cTbsReqDelTribegroup.m_tribeId; - m_groupId = cTbsReqDelTribegroup.m_groupId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - string m_tribeId; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqDelTribegroup::Size() const -{ - uint32_t nSize = 15; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsRspDelTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_DEL_TRIBEGROUP - }; - CTbsRspDelTribegroup() - { - } - - ~CTbsRspDelTribegroup() { } - CTbsRspDelTribegroup(const uint8_t& chRetcode, const string& strTribeId, const int64_t& llGroupId, const uint32_t& dwGroupStamp) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_groupId = llGroupId; - m_groupStamp = dwGroupStamp; - } - CTbsRspDelTribegroup& operator=( const CTbsRspDelTribegroup& cTbsRspDelTribegroup ) - { - m_retcode = cTbsRspDelTribegroup.m_retcode; - m_tribeId = cTbsRspDelTribegroup.m_tribeId; - m_groupId = cTbsRspDelTribegroup.m_groupId; - m_groupStamp = cTbsRspDelTribegroup.m_groupStamp; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } - const uint32_t& GetGroupStamp () const { return m_groupStamp; } - bool SetGroupStamp ( const uint32_t& dwGroupStamp ) - { - m_groupStamp = dwGroupStamp; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - int64_t m_groupId; - uint32_t m_groupStamp; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspDelTribegroup::Size() const -{ - uint32_t nSize = 22; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsReqShallowLogintribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_SHALLOW_LOGINTRIBE - }; - CTbsReqShallowLogintribe() : m_language(0x804) - { - } - - ~CTbsReqShallowLogintribe() { } - CTbsReqShallowLogintribe(const uint8_t& chBasicSts, const uint8_t& chPredefSts, const string& strVersion, const uint32_t& dwLanguage= 0x804) - { - m_basicSts = chBasicSts; - m_predefSts = chPredefSts; - m_version = strVersion; - m_language = dwLanguage; - } - CTbsReqShallowLogintribe& operator=( const CTbsReqShallowLogintribe& cTbsReqShallowLogintribe ) - { - m_basicSts = cTbsReqShallowLogintribe.m_basicSts; - m_predefSts = cTbsReqShallowLogintribe.m_predefSts; - m_version = cTbsReqShallowLogintribe.m_version; - m_language = cTbsReqShallowLogintribe.m_language; - return *this; - } - - const uint8_t& GetBasicSts () const { return m_basicSts; } - bool SetBasicSts ( const uint8_t& chBasicSts ) - { - m_basicSts = chBasicSts; - return true; - } - const uint8_t& GetPredefSts () const { return m_predefSts; } - bool SetPredefSts ( const uint8_t& chPredefSts ) - { - m_predefSts = chPredefSts; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - m_version = strVersion; - return true; - } - const uint32_t& GetLanguage () const { return m_language; } - bool SetLanguage ( const uint32_t& dwLanguage ) - { - m_language = dwLanguage; - return true; - } -private: - uint8_t m_basicSts; - uint8_t m_predefSts; - string m_version; - uint32_t m_language; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqShallowLogintribe::Size() const -{ - uint32_t nSize = 15; - nSize += m_version.length(); - return nSize; -} - -class CTbsReqDeepLogintribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_DEEP_LOGINTRIBE - }; - ~CTbsReqDeepLogintribe() { } - CTbsReqDeepLogintribe(const uint32_t& dwLanguage= 0x804) - { - m_language = dwLanguage; - } - CTbsReqDeepLogintribe& operator=( const CTbsReqDeepLogintribe& cTbsReqDeepLogintribe ) - { - m_language = cTbsReqDeepLogintribe.m_language; - return *this; - } - - const uint32_t& GetLanguage () const { return m_language; } - bool SetLanguage ( const uint32_t& dwLanguage ) - { - m_language = dwLanguage; - return true; - } -private: - uint32_t m_language; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqDeepLogintribe::Size() const -{ - return 6; -} -class CTbsRspDeepLogintribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_DEEP_LOGINTRIBE - }; - CTbsRspDeepLogintribe() - { - } - - ~CTbsRspDeepLogintribe() { } - CTbsRspDeepLogintribe(const uint8_t& chRetcode, const string& strTribeId, const STribeInfo& sTribeInfo, const VECTOR< STmStatus >& vecTmStatusList, const uint32_t& dwMemberStamp, const STribeExtInfo& sExtInfo) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeInfo = sTribeInfo; - m_tmStatusList = vecTmStatusList; - m_memberStamp = dwMemberStamp; - m_extInfo = sExtInfo; - } - CTbsRspDeepLogintribe& operator=( const CTbsRspDeepLogintribe& cTbsRspDeepLogintribe ) - { - m_retcode = cTbsRspDeepLogintribe.m_retcode; - m_tribeId = cTbsRspDeepLogintribe.m_tribeId; - m_tribeInfo = cTbsRspDeepLogintribe.m_tribeInfo; - m_tmStatusList = cTbsRspDeepLogintribe.m_tmStatusList; - m_memberStamp = cTbsRspDeepLogintribe.m_memberStamp; - m_extInfo = cTbsRspDeepLogintribe.m_extInfo; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const STribeInfo& GetTribeInfo () const { return m_tribeInfo; } - bool SetTribeInfo ( const STribeInfo& sTribeInfo ) - { - m_tribeInfo = sTribeInfo; - return true; - } - const VECTOR< STmStatus >& GetTmStatusList () const { return m_tmStatusList; } - bool SetTmStatusList ( const VECTOR< STmStatus >& vecTmStatusList ) - { - m_tmStatusList = vecTmStatusList; - return true; - } - const uint32_t& GetMemberStamp () const { return m_memberStamp; } - bool SetMemberStamp ( const uint32_t& dwMemberStamp ) - { - m_memberStamp = dwMemberStamp; - return true; - } - const STribeExtInfo& GetExtInfo () const { return m_extInfo; } - bool SetExtInfo ( const STribeExtInfo& sExtInfo ) - { - m_extInfo = sExtInfo; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - STribeInfo m_tribeInfo; - VECTOR< STmStatus > m_tmStatusList; - uint32_t m_memberStamp; - STribeExtInfo m_extInfo; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspDeepLogintribe::Size() const -{ - uint32_t nSize = 21; - nSize += m_tribeId.length(); - nSize += m_tribeInfo.Size(); - for(uint32_t i = 0; i < m_tmStatusList.size(); i++) - { - nSize += m_tmStatusList[i].Size(); - } - nSize += m_extInfo.Size(); - return nSize; -} - -class CTbsReqInviteTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_INVITE_TRIBE - }; - CTbsReqInviteTribe() : m_groupId(0) - { - } - - ~CTbsReqInviteTribe() { } - CTbsReqInviteTribe(const string& strTribeId, const string& strUserId, const string& strMessage, const int64_t& llGroupId= 0) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_message = strMessage; - m_groupId = llGroupId; - } - CTbsReqInviteTribe& operator=( const CTbsReqInviteTribe& cTbsReqInviteTribe ) - { - m_tribeId = cTbsReqInviteTribe.m_tribeId; - m_userId = cTbsReqInviteTribe.m_userId; - m_message = cTbsReqInviteTribe.m_message; - m_groupId = cTbsReqInviteTribe.m_groupId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - string m_tribeId; - string m_userId; - string m_message; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqInviteTribe::Size() const -{ - uint32_t nSize = 25; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_message.length(); - return nSize; -} - -class CTbsRspInviteTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_INVITE_TRIBE - }; - CTbsRspInviteTribe() : m_groupId(0) - { - } - - ~CTbsRspInviteTribe() { } - CTbsRspInviteTribe(const uint8_t& chRetcode, const string& strTribeId, const string& strUserId, const int64_t& llGroupId= 0) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_userId = strUserId; - m_groupId = llGroupId; - } - CTbsRspInviteTribe& operator=( const CTbsRspInviteTribe& cTbsRspInviteTribe ) - { - m_retcode = cTbsRspInviteTribe.m_retcode; - m_tribeId = cTbsRspInviteTribe.m_tribeId; - m_userId = cTbsRspInviteTribe.m_userId; - m_groupId = cTbsRspInviteTribe.m_groupId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_userId; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspInviteTribe::Size() const -{ - uint32_t nSize = 22; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - return nSize; -} - -class CTbsNtfInviteTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_NTF_INVITE_TRIBE - }; - CTbsNtfInviteTribe() : m_groupId(0) - { - } - - ~CTbsNtfInviteTribe() { } - CTbsNtfInviteTribe(const string& strTribeId, const string& strManagerId, const string& strValidateCode, const string& strName, const string& strMessage, const int64_t& llGroupId= 0) - { - m_tribeId = strTribeId; - m_managerId = strManagerId; - m_validateCode = strValidateCode; - m_name = strName; - m_message = strMessage; - m_groupId = llGroupId; - } - CTbsNtfInviteTribe& operator=( const CTbsNtfInviteTribe& cTbsNtfInviteTribe ) - { - m_tribeId = cTbsNtfInviteTribe.m_tribeId; - m_managerId = cTbsNtfInviteTribe.m_managerId; - m_validateCode = cTbsNtfInviteTribe.m_validateCode; - m_name = cTbsNtfInviteTribe.m_name; - m_message = cTbsNtfInviteTribe.m_message; - m_groupId = cTbsNtfInviteTribe.m_groupId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetManagerId () const { return m_managerId; } - bool SetManagerId ( const string& strManagerId ) - { - if(strManagerId.size() > 64) - return false; - m_managerId = strManagerId; - return true; - } - const string& GetValidateCode () const { return m_validateCode; } - bool SetValidateCode ( const string& strValidateCode ) - { - if(strValidateCode.size() > 32) - return false; - m_validateCode = strValidateCode; - return true; - } - const string& GetName () const { return m_name; } - bool SetName ( const string& strName ) - { - if(strName.size() > 64) - return false; - m_name = strName; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - string m_tribeId; - string m_managerId; - string m_validateCode; - string m_name; - string m_message; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsNtfInviteTribe::Size() const -{ - uint32_t nSize = 35; - nSize += m_tribeId.length(); - nSize += m_managerId.length(); - nSize += m_validateCode.length(); - nSize += m_name.length(); - nSize += m_message.length(); - return nSize; -} - -class CTbsReqOninviteJointribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_ONINVITE_JOINTRIBE - }; - CTbsReqOninviteJointribe() : m_groupId(0), - m_type(0), - m_recommendId("") - { - } - - ~CTbsReqOninviteJointribe() { } - CTbsReqOninviteJointribe(const string& strTribeId, const string& strManagerId, const string& strValidateCode, const int64_t& llGroupId= 0, const uint8_t& chType= 0, const string& strRecommendId= "") - { - m_tribeId = strTribeId; - m_managerId = strManagerId; - m_validateCode = strValidateCode; - m_groupId = llGroupId; - m_type = chType; - m_recommendId = strRecommendId; - } - CTbsReqOninviteJointribe& operator=( const CTbsReqOninviteJointribe& cTbsReqOninviteJointribe ) - { - m_tribeId = cTbsReqOninviteJointribe.m_tribeId; - m_managerId = cTbsReqOninviteJointribe.m_managerId; - m_validateCode = cTbsReqOninviteJointribe.m_validateCode; - m_groupId = cTbsReqOninviteJointribe.m_groupId; - m_type = cTbsReqOninviteJointribe.m_type; - m_recommendId = cTbsReqOninviteJointribe.m_recommendId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetManagerId () const { return m_managerId; } - bool SetManagerId ( const string& strManagerId ) - { - if(strManagerId.size() > 64) - return false; - m_managerId = strManagerId; - return true; - } - const string& GetValidateCode () const { return m_validateCode; } - bool SetValidateCode ( const string& strValidateCode ) - { - if(strValidateCode.size() > 32) - return false; - m_validateCode = strValidateCode; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetRecommendId () const { return m_recommendId; } - bool SetRecommendId ( const string& strRecommendId ) - { - if(strRecommendId.size() > 64) - return false; - m_recommendId = strRecommendId; - return true; - } -private: - string m_tribeId; - string m_managerId; - string m_validateCode; - int64_t m_groupId; - uint8_t m_type; - string m_recommendId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqOninviteJointribe::Size() const -{ - uint32_t nSize = 32; - nSize += m_tribeId.length(); - nSize += m_managerId.length(); - nSize += m_validateCode.length(); - nSize += m_recommendId.length(); - return nSize; -} - -class CTbsRspOninviteJointribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_ONINVITE_JOINTRIBE - }; - CTbsRspOninviteJointribe() : m_groupId(0) - { - } - - ~CTbsRspOninviteJointribe() { } - CTbsRspOninviteJointribe(const uint8_t& chRetcode, const string& strTribeId, const int64_t& llGroupId= 0) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_groupId = llGroupId; - } - CTbsRspOninviteJointribe& operator=( const CTbsRspOninviteJointribe& cTbsRspOninviteJointribe ) - { - m_retcode = cTbsRspOninviteJointribe.m_retcode; - m_tribeId = cTbsRspOninviteJointribe.m_tribeId; - m_groupId = cTbsRspOninviteJointribe.m_groupId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspOninviteJointribe::Size() const -{ - uint32_t nSize = 17; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsReqAskJointribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_ASK_JOINTRIBE - }; - CTbsReqAskJointribe() - { - } - - ~CTbsReqAskJointribe() { } - CTbsReqAskJointribe(const string& strTribeId, const uint8_t& chType, const string& strInfo) - { - m_tribeId = strTribeId; - m_type = chType; - m_info = strInfo; - } - CTbsReqAskJointribe& operator=( const CTbsReqAskJointribe& cTbsReqAskJointribe ) - { - m_tribeId = cTbsReqAskJointribe.m_tribeId; - m_type = cTbsReqAskJointribe.m_type; - m_info = cTbsReqAskJointribe.m_info; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetInfo () const { return m_info; } - bool SetInfo ( const string& strInfo ) - { - m_info = strInfo; - return true; - } -private: - string m_tribeId; - uint8_t m_type; - string m_info; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqAskJointribe::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_info.length(); - return nSize; -} - -class CTbsRspAskJointribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_ASK_JOINTRIBE - }; - CTbsRspAskJointribe() : m_groupId(0) - { - } - - ~CTbsRspAskJointribe() { } - CTbsRspAskJointribe(const uint8_t& chRetcode, const string& strTribeId, const string& strTribeName, const string& strExtSign, const int64_t& llGroupId= 0) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeName = strTribeName; - m_extSign = strExtSign; - m_groupId = llGroupId; - } - CTbsRspAskJointribe& operator=( const CTbsRspAskJointribe& cTbsRspAskJointribe ) - { - m_retcode = cTbsRspAskJointribe.m_retcode; - m_tribeId = cTbsRspAskJointribe.m_tribeId; - m_tribeName = cTbsRspAskJointribe.m_tribeName; - m_extSign = cTbsRspAskJointribe.m_extSign; - m_groupId = cTbsRspAskJointribe.m_groupId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetTribeName () const { return m_tribeName; } - bool SetTribeName ( const string& strTribeName ) - { - m_tribeName = strTribeName; - return true; - } - const string& GetExtSign () const { return m_extSign; } - bool SetExtSign ( const string& strExtSign ) - { - if(strExtSign.size() > 64) - return false; - m_extSign = strExtSign; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_tribeName; - string m_extSign; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspAskJointribe::Size() const -{ - uint32_t nSize = 27; - nSize += m_tribeId.length(); - nSize += m_tribeName.length(); - nSize += m_extSign.length(); - return nSize; -} - -class CTbsNtfAskJointribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_NTF_ASK_JOINTRIBE - }; - CTbsNtfAskJointribe() - { - } - - ~CTbsNtfAskJointribe() { } - CTbsNtfAskJointribe(const string& strTribeId, const string& strUserId, const uint8_t& chType, const string& strInfo) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_type = chType; - m_info = strInfo; - } - CTbsNtfAskJointribe& operator=( const CTbsNtfAskJointribe& cTbsNtfAskJointribe ) - { - m_tribeId = cTbsNtfAskJointribe.m_tribeId; - m_userId = cTbsNtfAskJointribe.m_userId; - m_type = cTbsNtfAskJointribe.m_type; - m_info = cTbsNtfAskJointribe.m_info; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetInfo () const { return m_info; } - bool SetInfo ( const string& strInfo ) - { - m_info = strInfo; - return true; - } -private: - string m_tribeId; - string m_userId; - uint8_t m_type; - string m_info; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsNtfAskJointribe::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_info.length(); - return nSize; -} - -class CTbsReqExamAskjointribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_EXAM_ASKJOINTRIBE - }; - CTbsReqExamAskjointribe() : m_groupId(0) - { - } - - ~CTbsReqExamAskjointribe() { } - CTbsReqExamAskjointribe(const string& strTribeId, const string& strUserId, const uint8_t& chType, const string& strInfo, const int64_t& llGroupId= 0) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_type = chType; - m_info = strInfo; - m_groupId = llGroupId; - } - CTbsReqExamAskjointribe& operator=( const CTbsReqExamAskjointribe& cTbsReqExamAskjointribe ) - { - m_tribeId = cTbsReqExamAskjointribe.m_tribeId; - m_userId = cTbsReqExamAskjointribe.m_userId; - m_type = cTbsReqExamAskjointribe.m_type; - m_info = cTbsReqExamAskjointribe.m_info; - m_groupId = cTbsReqExamAskjointribe.m_groupId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const string& GetInfo () const { return m_info; } - bool SetInfo ( const string& strInfo ) - { - m_info = strInfo; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - string m_tribeId; - string m_userId; - uint8_t m_type; - string m_info; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqExamAskjointribe::Size() const -{ - uint32_t nSize = 27; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_info.length(); - return nSize; -} - -class CTbsRspExamAskjointribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_EXAM_ASKJOINTRIBE - }; - CTbsRspExamAskjointribe() : m_groupId(0) - { - } - - ~CTbsRspExamAskjointribe() { } - CTbsRspExamAskjointribe(const uint8_t& chRetcode, const string& strTribeId, const string& strUserId, const uint8_t& chType, const int64_t& llGroupId= 0) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_userId = strUserId; - m_type = chType; - m_groupId = llGroupId; - } - CTbsRspExamAskjointribe& operator=( const CTbsRspExamAskjointribe& cTbsRspExamAskjointribe ) - { - m_retcode = cTbsRspExamAskjointribe.m_retcode; - m_tribeId = cTbsRspExamAskjointribe.m_tribeId; - m_userId = cTbsRspExamAskjointribe.m_userId; - m_type = cTbsRspExamAskjointribe.m_type; - m_groupId = cTbsRspExamAskjointribe.m_groupId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const uint8_t& GetType () const { return m_type; } - bool SetType ( const uint8_t& chType ) - { - m_type = chType; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_userId; - uint8_t m_type; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspExamAskjointribe::Size() const -{ - uint32_t nSize = 24; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - return nSize; -} - -class CTbsReqChglevelTribemember : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_CHGLEVEL_TRIBEMEMBER - }; - CTbsReqChglevelTribemember() - { - } - - ~CTbsReqChglevelTribemember() { } - CTbsReqChglevelTribemember(const string& strTribeId, const string& strMemberId, const uint8_t& chLevel) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_level = chLevel; - } - CTbsReqChglevelTribemember& operator=( const CTbsReqChglevelTribemember& cTbsReqChglevelTribemember ) - { - m_tribeId = cTbsReqChglevelTribemember.m_tribeId; - m_memberId = cTbsReqChglevelTribemember.m_memberId; - m_level = cTbsReqChglevelTribemember.m_level; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const uint8_t& GetLevel () const { return m_level; } - bool SetLevel ( const uint8_t& chLevel ) - { - m_level = chLevel; - return true; - } -private: - string m_tribeId; - string m_memberId; - uint8_t m_level; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqChglevelTribemember::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CTbsRspChglevelTribemember : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_CHGLEVEL_TRIBEMEMBER - }; - CTbsRspChglevelTribemember() - { - } - - ~CTbsRspChglevelTribemember() { } - CTbsRspChglevelTribemember(const uint8_t& chRetcode, const string& strTribeId, const string& strMemberId, const uint8_t& chLevel) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_level = chLevel; - } - CTbsRspChglevelTribemember& operator=( const CTbsRspChglevelTribemember& cTbsRspChglevelTribemember ) - { - m_retcode = cTbsRspChglevelTribemember.m_retcode; - m_tribeId = cTbsRspChglevelTribemember.m_tribeId; - m_memberId = cTbsRspChglevelTribemember.m_memberId; - m_level = cTbsRspChglevelTribemember.m_level; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const uint8_t& GetLevel () const { return m_level; } - bool SetLevel ( const uint8_t& chLevel ) - { - m_level = chLevel; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_memberId; - uint8_t m_level; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspChglevelTribemember::Size() const -{ - uint32_t nSize = 15; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CTbsReqChgTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_CHG_TRIBEGROUP - }; - CTbsReqChgTribegroup() - { - } - - ~CTbsReqChgTribegroup() { } - CTbsReqChgTribegroup(const string& strTribeId, const string& strMemberId, const int64_t& llGroupId) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_groupId = llGroupId; - } - CTbsReqChgTribegroup& operator=( const CTbsReqChgTribegroup& cTbsReqChgTribegroup ) - { - m_tribeId = cTbsReqChgTribegroup.m_tribeId; - m_memberId = cTbsReqChgTribegroup.m_memberId; - m_groupId = cTbsReqChgTribegroup.m_groupId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - string m_tribeId; - string m_memberId; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqChgTribegroup::Size() const -{ - uint32_t nSize = 20; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CTbsRspChgTribegroup : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_CHG_TRIBEGROUP - }; - CTbsRspChgTribegroup() - { - } - - ~CTbsRspChgTribegroup() { } - CTbsRspChgTribegroup(const uint8_t& chRetcode, const string& strTribeId, const string& strMemberId, const int64_t& llGroupId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_groupId = llGroupId; - } - CTbsRspChgTribegroup& operator=( const CTbsRspChgTribegroup& cTbsRspChgTribegroup ) - { - m_retcode = cTbsRspChgTribegroup.m_retcode; - m_tribeId = cTbsRspChgTribegroup.m_tribeId; - m_memberId = cTbsRspChgTribegroup.m_memberId; - m_groupId = cTbsRspChgTribegroup.m_groupId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_memberId; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspChgTribegroup::Size() const -{ - uint32_t nSize = 22; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CTbsReqAddStarmember : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_ADD_STARMEMBER - }; - CTbsReqAddStarmember() - { - } - - ~CTbsReqAddStarmember() { } - CTbsReqAddStarmember(const string& strTribeId, const string& strMemberId) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - } - CTbsReqAddStarmember& operator=( const CTbsReqAddStarmember& cTbsReqAddStarmember ) - { - m_tribeId = cTbsReqAddStarmember.m_tribeId; - m_memberId = cTbsReqAddStarmember.m_memberId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } -private: - string m_tribeId; - string m_memberId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqAddStarmember::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CTbsRspAddStarmember : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_ADD_STARMEMBER - }; - CTbsRspAddStarmember() - { - } - - ~CTbsRspAddStarmember() { } - CTbsRspAddStarmember(const uint8_t& chRetcode, const string& strTribeId, const string& strMemberId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberId = strMemberId; - } - CTbsRspAddStarmember& operator=( const CTbsRspAddStarmember& cTbsRspAddStarmember ) - { - m_retcode = cTbsRspAddStarmember.m_retcode; - m_tribeId = cTbsRspAddStarmember.m_tribeId; - m_memberId = cTbsRspAddStarmember.m_memberId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_memberId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspAddStarmember::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CTbsReqDelStarmember : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_DEL_STARMEMBER - }; - CTbsReqDelStarmember() - { - } - - ~CTbsReqDelStarmember() { } - CTbsReqDelStarmember(const string& strTribeId, const string& strMemberId) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - } - CTbsReqDelStarmember& operator=( const CTbsReqDelStarmember& cTbsReqDelStarmember ) - { - m_tribeId = cTbsReqDelStarmember.m_tribeId; - m_memberId = cTbsReqDelStarmember.m_memberId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } -private: - string m_tribeId; - string m_memberId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqDelStarmember::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CTbsRspDelStarmember : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_DEL_STARMEMBER - }; - CTbsRspDelStarmember() - { - } - - ~CTbsRspDelStarmember() { } - CTbsRspDelStarmember(const uint8_t& chRetcode, const string& strTribeId, const string& strMemberId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberId = strMemberId; - } - CTbsRspDelStarmember& operator=( const CTbsRspDelStarmember& cTbsRspDelStarmember ) - { - m_retcode = cTbsRspDelStarmember.m_retcode; - m_tribeId = cTbsRspDelStarmember.m_tribeId; - m_memberId = cTbsRspDelStarmember.m_memberId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_memberId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspDelStarmember::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CTbsReqDelTribemember : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_DEL_TRIBEMEMBER - }; - CTbsReqDelTribemember() - { - } - - ~CTbsReqDelTribemember() { } - CTbsReqDelTribemember(const string& strTribeId, const string& strMemberId, const string& strRemark) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_remark = strRemark; - } - CTbsReqDelTribemember& operator=( const CTbsReqDelTribemember& cTbsReqDelTribemember ) - { - m_tribeId = cTbsReqDelTribemember.m_tribeId; - m_memberId = cTbsReqDelTribemember.m_memberId; - m_remark = cTbsReqDelTribemember.m_remark; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - m_remark = strRemark; - return true; - } -private: - string m_tribeId; - string m_memberId; - string m_remark; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqDelTribemember::Size() const -{ - uint32_t nSize = 16; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - nSize += m_remark.length(); - return nSize; -} - -class CTbsRspDelTribemember : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_DEL_TRIBEMEMBER - }; - CTbsRspDelTribemember() - { - } - - ~CTbsRspDelTribemember() { } - CTbsRspDelTribemember(const uint8_t& chRetcode, const string& strTribeId, const string& strMemberId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberId = strMemberId; - } - CTbsRspDelTribemember& operator=( const CTbsRspDelTribemember& cTbsRspDelTribemember ) - { - m_retcode = cTbsRspDelTribemember.m_retcode; - m_tribeId = cTbsRspDelTribemember.m_tribeId; - m_memberId = cTbsRspDelTribemember.m_memberId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_memberId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspDelTribemember::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - return nSize; -} - -class CTbsReqGetTribeblack : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_GET_TRIBEBLACK - }; - CTbsReqGetTribeblack() - { - } - - ~CTbsReqGetTribeblack() { } - CTbsReqGetTribeblack(const string& strTribeId, const uint32_t& dwBlackStamp) - { - m_tribeId = strTribeId; - m_blackStamp = dwBlackStamp; - } - CTbsReqGetTribeblack& operator=( const CTbsReqGetTribeblack& cTbsReqGetTribeblack ) - { - m_tribeId = cTbsReqGetTribeblack.m_tribeId; - m_blackStamp = cTbsReqGetTribeblack.m_blackStamp; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint32_t& GetBlackStamp () const { return m_blackStamp; } - bool SetBlackStamp ( const uint32_t& dwBlackStamp ) - { - m_blackStamp = dwBlackStamp; - return true; - } -private: - string m_tribeId; - uint32_t m_blackStamp; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqGetTribeblack::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsRspGetTribeblack : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_GET_TRIBEBLACK - }; - CTbsRspGetTribeblack() - { - } - - ~CTbsRspGetTribeblack() { } - CTbsRspGetTribeblack(const uint8_t& chRetcode, const string& strTribeId, const VECTOR< STribeBlack >& vecBlackIdList, const uint32_t& dwBlackStamp) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_blackIdList = vecBlackIdList; - m_blackStamp = dwBlackStamp; - } - CTbsRspGetTribeblack& operator=( const CTbsRspGetTribeblack& cTbsRspGetTribeblack ) - { - m_retcode = cTbsRspGetTribeblack.m_retcode; - m_tribeId = cTbsRspGetTribeblack.m_tribeId; - m_blackIdList = cTbsRspGetTribeblack.m_blackIdList; - m_blackStamp = cTbsRspGetTribeblack.m_blackStamp; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< STribeBlack >& GetBlackIdList () const { return m_blackIdList; } - bool SetBlackIdList ( const VECTOR< STribeBlack >& vecBlackIdList ) - { - m_blackIdList = vecBlackIdList; - return true; - } - const uint32_t& GetBlackStamp () const { return m_blackStamp; } - bool SetBlackStamp ( const uint32_t& dwBlackStamp ) - { - m_blackStamp = dwBlackStamp; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - VECTOR< STribeBlack > m_blackIdList; - uint32_t m_blackStamp; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspGetTribeblack::Size() const -{ - uint32_t nSize = 19; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_blackIdList.size(); i++) - { - nSize += m_blackIdList[i].Size(); - } - return nSize; -} - -class CTbsReqAddTribeblack : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_ADD_TRIBEBLACK - }; - CTbsReqAddTribeblack() - { - } - - ~CTbsReqAddTribeblack() { } - CTbsReqAddTribeblack(const string& strTribeId, const string& strBlackUid, const string& strRemark) - { - m_tribeId = strTribeId; - m_blackUid = strBlackUid; - m_remark = strRemark; - } - CTbsReqAddTribeblack& operator=( const CTbsReqAddTribeblack& cTbsReqAddTribeblack ) - { - m_tribeId = cTbsReqAddTribeblack.m_tribeId; - m_blackUid = cTbsReqAddTribeblack.m_blackUid; - m_remark = cTbsReqAddTribeblack.m_remark; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetBlackUid () const { return m_blackUid; } - bool SetBlackUid ( const string& strBlackUid ) - { - if(strBlackUid.size() > 64) - return false; - m_blackUid = strBlackUid; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - m_remark = strRemark; - return true; - } -private: - string m_tribeId; - string m_blackUid; - string m_remark; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqAddTribeblack::Size() const -{ - uint32_t nSize = 16; - nSize += m_tribeId.length(); - nSize += m_blackUid.length(); - nSize += m_remark.length(); - return nSize; -} - -class CTbsRspAddTribeblack : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_ADD_TRIBEBLACK - }; - CTbsRspAddTribeblack() - { - } - - ~CTbsRspAddTribeblack() { } - CTbsRspAddTribeblack(const uint8_t& chRetcode, const string& strTribeId, const string& strBlackUid, const uint32_t& dwBlackStamp) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_blackUid = strBlackUid; - m_blackStamp = dwBlackStamp; - } - CTbsRspAddTribeblack& operator=( const CTbsRspAddTribeblack& cTbsRspAddTribeblack ) - { - m_retcode = cTbsRspAddTribeblack.m_retcode; - m_tribeId = cTbsRspAddTribeblack.m_tribeId; - m_blackUid = cTbsRspAddTribeblack.m_blackUid; - m_blackStamp = cTbsRspAddTribeblack.m_blackStamp; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetBlackUid () const { return m_blackUid; } - bool SetBlackUid ( const string& strBlackUid ) - { - if(strBlackUid.size() > 64) - return false; - m_blackUid = strBlackUid; - return true; - } - const uint32_t& GetBlackStamp () const { return m_blackStamp; } - bool SetBlackStamp ( const uint32_t& dwBlackStamp ) - { - m_blackStamp = dwBlackStamp; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_blackUid; - uint32_t m_blackStamp; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspAddTribeblack::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_blackUid.length(); - return nSize; -} - -class CTbsReqDelTribeblack : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_DEL_TRIBEBLACK - }; - CTbsReqDelTribeblack() - { - } - - ~CTbsReqDelTribeblack() { } - CTbsReqDelTribeblack(const string& strTribeId, const string& strBlackUid, const string& strRemark) - { - m_tribeId = strTribeId; - m_blackUid = strBlackUid; - m_remark = strRemark; - } - CTbsReqDelTribeblack& operator=( const CTbsReqDelTribeblack& cTbsReqDelTribeblack ) - { - m_tribeId = cTbsReqDelTribeblack.m_tribeId; - m_blackUid = cTbsReqDelTribeblack.m_blackUid; - m_remark = cTbsReqDelTribeblack.m_remark; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetBlackUid () const { return m_blackUid; } - bool SetBlackUid ( const string& strBlackUid ) - { - if(strBlackUid.size() > 64) - return false; - m_blackUid = strBlackUid; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - m_remark = strRemark; - return true; - } -private: - string m_tribeId; - string m_blackUid; - string m_remark; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqDelTribeblack::Size() const -{ - uint32_t nSize = 16; - nSize += m_tribeId.length(); - nSize += m_blackUid.length(); - nSize += m_remark.length(); - return nSize; -} - -class CTbsRspDelTribeblack : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_DEL_TRIBEBLACK - }; - CTbsRspDelTribeblack() - { - } - - ~CTbsRspDelTribeblack() { } - CTbsRspDelTribeblack(const uint8_t& chRetcode, const string& strTribeId, const string& strBlackUid, const uint32_t& dwBlackStamp) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_blackUid = strBlackUid; - m_blackStamp = dwBlackStamp; - } - CTbsRspDelTribeblack& operator=( const CTbsRspDelTribeblack& cTbsRspDelTribeblack ) - { - m_retcode = cTbsRspDelTribeblack.m_retcode; - m_tribeId = cTbsRspDelTribeblack.m_tribeId; - m_blackUid = cTbsRspDelTribeblack.m_blackUid; - m_blackStamp = cTbsRspDelTribeblack.m_blackStamp; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetBlackUid () const { return m_blackUid; } - bool SetBlackUid ( const string& strBlackUid ) - { - if(strBlackUid.size() > 64) - return false; - m_blackUid = strBlackUid; - return true; - } - const uint32_t& GetBlackStamp () const { return m_blackStamp; } - bool SetBlackStamp ( const uint32_t& dwBlackStamp ) - { - m_blackStamp = dwBlackStamp; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_blackUid; - uint32_t m_blackStamp; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspDelTribeblack::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_blackUid.length(); - return nSize; -} - -class CTbsReqQuitTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_QUIT_TRIBE - }; - CTbsReqQuitTribe() - { - } - - ~CTbsReqQuitTribe() { } - CTbsReqQuitTribe(const string& strTribeId, const string& strRemark) - { - m_tribeId = strTribeId; - m_remark = strRemark; - } - CTbsReqQuitTribe& operator=( const CTbsReqQuitTribe& cTbsReqQuitTribe ) - { - m_tribeId = cTbsReqQuitTribe.m_tribeId; - m_remark = cTbsReqQuitTribe.m_remark; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - m_remark = strRemark; - return true; - } -private: - string m_tribeId; - string m_remark; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqQuitTribe::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - nSize += m_remark.length(); - return nSize; -} - -class CTbsRspQuitTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_QUIT_TRIBE - }; - CTbsRspQuitTribe() - { - } - - ~CTbsRspQuitTribe() { } - CTbsRspQuitTribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CTbsRspQuitTribe& operator=( const CTbsRspQuitTribe& cTbsRspQuitTribe ) - { - m_retcode = cTbsRspQuitTribe.m_retcode; - m_tribeId = cTbsRspQuitTribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspQuitTribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsReqCloseTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_CLOSE_TRIBE - }; - CTbsReqCloseTribe() - { - } - - ~CTbsReqCloseTribe() { } - CTbsReqCloseTribe(const string& strTribeId, const string& strRemark) - { - m_tribeId = strTribeId; - m_remark = strRemark; - } - CTbsReqCloseTribe& operator=( const CTbsReqCloseTribe& cTbsReqCloseTribe ) - { - m_tribeId = cTbsReqCloseTribe.m_tribeId; - m_remark = cTbsReqCloseTribe.m_remark; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - m_remark = strRemark; - return true; - } -private: - string m_tribeId; - string m_remark; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqCloseTribe::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - nSize += m_remark.length(); - return nSize; -} - -class CTbsRspCloseTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_CLOSE_TRIBE - }; - CTbsRspCloseTribe() - { - } - - ~CTbsRspCloseTribe() { } - CTbsRspCloseTribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CTbsRspCloseTribe& operator=( const CTbsRspCloseTribe& cTbsRspCloseTribe ) - { - m_retcode = cTbsRspCloseTribe.m_retcode; - m_tribeId = cTbsRspCloseTribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspCloseTribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsReqGetTribeinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_GET_TRIBEINFO - }; - CTbsReqGetTribeinfo() - { - } - - ~CTbsReqGetTribeinfo() { } - CTbsReqGetTribeinfo(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbsReqGetTribeinfo& operator=( const CTbsReqGetTribeinfo& cTbsReqGetTribeinfo ) - { - m_tribeId = cTbsReqGetTribeinfo.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqGetTribeinfo::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsRspGetTribeinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_GET_TRIBEINFO - }; - CTbsRspGetTribeinfo() - { - } - - ~CTbsRspGetTribeinfo() { } - CTbsRspGetTribeinfo(const uint8_t& chRetcode, const string& strTribeId, const STribeInfo& sTribeInfo, const STribeExtInfo& sExtInfo) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeInfo = sTribeInfo; - m_extInfo = sExtInfo; - } - CTbsRspGetTribeinfo& operator=( const CTbsRspGetTribeinfo& cTbsRspGetTribeinfo ) - { - m_retcode = cTbsRspGetTribeinfo.m_retcode; - m_tribeId = cTbsRspGetTribeinfo.m_tribeId; - m_tribeInfo = cTbsRspGetTribeinfo.m_tribeInfo; - m_extInfo = cTbsRspGetTribeinfo.m_extInfo; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const STribeInfo& GetTribeInfo () const { return m_tribeInfo; } - bool SetTribeInfo ( const STribeInfo& sTribeInfo ) - { - m_tribeInfo = sTribeInfo; - return true; - } - const STribeExtInfo& GetExtInfo () const { return m_extInfo; } - bool SetExtInfo ( const STribeExtInfo& sExtInfo ) - { - m_extInfo = sExtInfo; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - STribeInfo m_tribeInfo; - STribeExtInfo m_extInfo; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspGetTribeinfo::Size() const -{ - uint32_t nSize = 10; - nSize += m_tribeId.length(); - nSize += m_tribeInfo.Size(); - nSize += m_extInfo.Size(); - return nSize; -} - -class CTbsReqModifyTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_MODIFY_TRIBE - }; - CTbsReqModifyTribe() - { - } - - ~CTbsReqModifyTribe() { } - CTbsReqModifyTribe(const string& strTribeId, const map< string,string >& mapItems) - { - m_tribeId = strTribeId; - m_items = mapItems; - } - CTbsReqModifyTribe& operator=( const CTbsReqModifyTribe& cTbsReqModifyTribe ) - { - m_tribeId = cTbsReqModifyTribe.m_tribeId; - m_items = cTbsReqModifyTribe.m_items; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const map< string,string >& GetItems () const { return m_items; } - bool SetItems ( const map< string,string >& mapItems ) - { - m_items = mapItems; - return true; - } -private: - string m_tribeId; - map< string,string > m_items; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqModifyTribe::Size() const -{ - uint32_t nSize = 10; - nSize += m_tribeId.length(); - nSize += m_items.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CTbsRspModifyTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_MODIFY_TRIBE - }; - CTbsRspModifyTribe() - { - } - - ~CTbsRspModifyTribe() { } - CTbsRspModifyTribe(const uint8_t& chRetcode, const string& strTribeId, const map< string,string >& mapItems) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_items = mapItems; - } - CTbsRspModifyTribe& operator=( const CTbsRspModifyTribe& cTbsRspModifyTribe ) - { - m_retcode = cTbsRspModifyTribe.m_retcode; - m_tribeId = cTbsRspModifyTribe.m_tribeId; - m_items = cTbsRspModifyTribe.m_items; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const map< string,string >& GetItems () const { return m_items; } - bool SetItems ( const map< string,string >& mapItems ) - { - m_items = mapItems; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - map< string,string > m_items; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspModifyTribe::Size() const -{ - uint32_t nSize = 12; - nSize += m_tribeId.length(); - nSize += m_items.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CTbsReqGetTribememberinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_GET_TRIBEMEMBERINFO - }; - CTbsReqGetTribememberinfo() - { - } - - ~CTbsReqGetTribememberinfo() { } - CTbsReqGetTribememberinfo(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbsReqGetTribememberinfo& operator=( const CTbsReqGetTribememberinfo& cTbsReqGetTribememberinfo ) - { - m_tribeId = cTbsReqGetTribememberinfo.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqGetTribememberinfo::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsRspGetTribememberinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_GET_TRIBEMEMBERINFO - }; - CTbsRspGetTribememberinfo() - { - } - - ~CTbsRspGetTribememberinfo() { } - CTbsRspGetTribememberinfo(const uint8_t& chRetcode, const string& strTribeId, const VECTOR< STmInfo >& vecTmInfoList) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tmInfoList = vecTmInfoList; - } - CTbsRspGetTribememberinfo& operator=( const CTbsRspGetTribememberinfo& cTbsRspGetTribememberinfo ) - { - m_retcode = cTbsRspGetTribememberinfo.m_retcode; - m_tribeId = cTbsRspGetTribememberinfo.m_tribeId; - m_tmInfoList = cTbsRspGetTribememberinfo.m_tmInfoList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< STmInfo >& GetTmInfoList () const { return m_tmInfoList; } - bool SetTmInfoList ( const VECTOR< STmInfo >& vecTmInfoList ) - { - m_tmInfoList = vecTmInfoList; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - VECTOR< STmInfo > m_tmInfoList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspGetTribememberinfo::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_tmInfoList.size(); i++) - { - nSize += m_tmInfoList[i].Size(); - } - return nSize; -} - -class CTbsReqSendTribemsg : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_SEND_TRIBEMSG - }; - CTbsReqSendTribemsg() - { - } - - ~CTbsReqSendTribemsg() { } - CTbsReqSendTribemsg(const string& strTribeId, const uint8_t& chMsgType, const string& strMessage) - { - m_tribeId = strTribeId; - m_msgType = chMsgType; - m_message = strMessage; - } - CTbsReqSendTribemsg& operator=( const CTbsReqSendTribemsg& cTbsReqSendTribemsg ) - { - m_tribeId = cTbsReqSendTribemsg.m_tribeId; - m_msgType = cTbsReqSendTribemsg.m_msgType; - m_message = cTbsReqSendTribemsg.m_message; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetMsgType () const { return m_msgType; } - bool SetMsgType ( const uint8_t& chMsgType ) - { - m_msgType = chMsgType; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_tribeId; - uint8_t m_msgType; - string m_message; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqSendTribemsg::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_message.length(); - return nSize; -} - -class CTbsRspSendTribemsg : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_SEND_TRIBEMSG - }; - CTbsRspSendTribemsg() - { - } - - ~CTbsRspSendTribemsg() { } - CTbsRspSendTribemsg(const uint8_t& chRetcode, const string& strTribeId, const string& strMessage) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_message = strMessage; - } - CTbsRspSendTribemsg& operator=( const CTbsRspSendTribemsg& cTbsRspSendTribemsg ) - { - m_retcode = cTbsRspSendTribemsg.m_retcode; - m_tribeId = cTbsRspSendTribemsg.m_tribeId; - m_message = cTbsRspSendTribemsg.m_message; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_message; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspSendTribemsg::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_message.length(); - return nSize; -} - -class CTbsNtfTribemsg : public CPackData -{ -public: - enum - { - CMD_ID = TBS_NTF_TRIBEMSG - }; - CTbsNtfTribemsg() - { - } - - ~CTbsNtfTribemsg() { } - CTbsNtfTribemsg(const string& strTribeId, const uint8_t& chOfflineFlag, const VECTOR< STribeMsg >& vecTribeMsgList) - { - m_tribeId = strTribeId; - m_offlineFlag = chOfflineFlag; - m_tribeMsgList = vecTribeMsgList; - } - CTbsNtfTribemsg& operator=( const CTbsNtfTribemsg& cTbsNtfTribemsg ) - { - m_tribeId = cTbsNtfTribemsg.m_tribeId; - m_offlineFlag = cTbsNtfTribemsg.m_offlineFlag; - m_tribeMsgList = cTbsNtfTribemsg.m_tribeMsgList; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetOfflineFlag () const { return m_offlineFlag; } - bool SetOfflineFlag ( const uint8_t& chOfflineFlag ) - { - m_offlineFlag = chOfflineFlag; - return true; - } - const VECTOR< STribeMsg >& GetTribeMsgList () const { return m_tribeMsgList; } - bool SetTribeMsgList ( const VECTOR< STribeMsg >& vecTribeMsgList ) - { - m_tribeMsgList = vecTribeMsgList; - return true; - } -private: - string m_tribeId; - uint8_t m_offlineFlag; - VECTOR< STribeMsg > m_tribeMsgList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsNtfTribemsg::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_tribeMsgList.size(); i++) - { - nSize += m_tribeMsgList[i].Size(); - } - return nSize; -} - -class CTbsNtfTribeSysmsg : public CPackData -{ -public: - enum - { - CMD_ID = TBS_NTF_TRIBE_SYSMSG - }; - CTbsNtfTribeSysmsg() - { - } - - ~CTbsNtfTribeSysmsg() { } - CTbsNtfTribeSysmsg(const string& strTribeId, const uint8_t& chOfflineFlag, const VECTOR< STribeSysmsg >& vecTribeSysmsgList) - { - m_tribeId = strTribeId; - m_offlineFlag = chOfflineFlag; - m_tribeSysmsgList = vecTribeSysmsgList; - } - CTbsNtfTribeSysmsg& operator=( const CTbsNtfTribeSysmsg& cTbsNtfTribeSysmsg ) - { - m_tribeId = cTbsNtfTribeSysmsg.m_tribeId; - m_offlineFlag = cTbsNtfTribeSysmsg.m_offlineFlag; - m_tribeSysmsgList = cTbsNtfTribeSysmsg.m_tribeSysmsgList; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetOfflineFlag () const { return m_offlineFlag; } - bool SetOfflineFlag ( const uint8_t& chOfflineFlag ) - { - m_offlineFlag = chOfflineFlag; - return true; - } - const VECTOR< STribeSysmsg >& GetTribeSysmsgList () const { return m_tribeSysmsgList; } - bool SetTribeSysmsgList ( const VECTOR< STribeSysmsg >& vecTribeSysmsgList ) - { - m_tribeSysmsgList = vecTribeSysmsgList; - return true; - } -private: - string m_tribeId; - uint8_t m_offlineFlag; - VECTOR< STribeSysmsg > m_tribeSysmsgList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsNtfTribeSysmsg::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_tribeSysmsgList.size(); i++) - { - nSize += m_tribeSysmsgList[i].Size(); - } - return nSize; -} - -class CTbsReqSetOpenTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_SET_OPEN_TRIBE - }; - CTbsReqSetOpenTribe() - { - } - - ~CTbsReqSetOpenTribe() { } - CTbsReqSetOpenTribe(const uint8_t& chOpenTribe) - { - m_openTribe = chOpenTribe; - } - CTbsReqSetOpenTribe& operator=( const CTbsReqSetOpenTribe& cTbsReqSetOpenTribe ) - { - m_openTribe = cTbsReqSetOpenTribe.m_openTribe; - return *this; - } - - const uint8_t& GetOpenTribe () const { return m_openTribe; } - bool SetOpenTribe ( const uint8_t& chOpenTribe ) - { - m_openTribe = chOpenTribe; - return true; - } -private: - uint8_t m_openTribe; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqSetOpenTribe::Size() const -{ - return 3; -} -class CTbsRspSetOpenTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_SET_OPEN_TRIBE - }; - CTbsRspSetOpenTribe() - { - } - - ~CTbsRspSetOpenTribe() { } - CTbsRspSetOpenTribe(const uint8_t& chRetcode, const uint8_t& chOpenTribe) - { - m_retcode = chRetcode; - m_openTribe = chOpenTribe; - } - CTbsRspSetOpenTribe& operator=( const CTbsRspSetOpenTribe& cTbsRspSetOpenTribe ) - { - m_retcode = cTbsRspSetOpenTribe.m_retcode; - m_openTribe = cTbsRspSetOpenTribe.m_openTribe; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const uint8_t& GetOpenTribe () const { return m_openTribe; } - bool SetOpenTribe ( const uint8_t& chOpenTribe ) - { - m_openTribe = chOpenTribe; - return true; - } -private: - uint8_t m_retcode; - uint8_t m_openTribe; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspSetOpenTribe::Size() const -{ - return 5; -} -class CTbsReqVisitTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_VISIT_TRIBE - }; - CTbsReqVisitTribe() : m_language(0x804) - { - } - - ~CTbsReqVisitTribe() { } - CTbsReqVisitTribe(const string& strTribeId, const uint32_t& dwLanguage= 0x804) - { - m_tribeId = strTribeId; - m_language = dwLanguage; - } - CTbsReqVisitTribe& operator=( const CTbsReqVisitTribe& cTbsReqVisitTribe ) - { - m_tribeId = cTbsReqVisitTribe.m_tribeId; - m_language = cTbsReqVisitTribe.m_language; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint32_t& GetLanguage () const { return m_language; } - bool SetLanguage ( const uint32_t& dwLanguage ) - { - m_language = dwLanguage; - return true; - } -private: - string m_tribeId; - uint32_t m_language; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqVisitTribe::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsRspVisitTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_VISIT_TRIBE - }; - CTbsRspVisitTribe() - { - } - - ~CTbsRspVisitTribe() { } - CTbsRspVisitTribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CTbsRspVisitTribe& operator=( const CTbsRspVisitTribe& cTbsRspVisitTribe ) - { - m_retcode = cTbsRspVisitTribe.m_retcode; - m_tribeId = cTbsRspVisitTribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspVisitTribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsReqClearVisitor : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_CLEAR_VISITOR - }; - CTbsReqClearVisitor() - { - } - - ~CTbsReqClearVisitor() { } - CTbsReqClearVisitor(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbsReqClearVisitor& operator=( const CTbsReqClearVisitor& cTbsReqClearVisitor ) - { - m_tribeId = cTbsReqClearVisitor.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqClearVisitor::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsRspClearVisitor : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_CLEAR_VISITOR - }; - CTbsRspClearVisitor() - { - } - - ~CTbsRspClearVisitor() { } - CTbsRspClearVisitor(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CTbsRspClearVisitor& operator=( const CTbsRspClearVisitor& cTbsRspClearVisitor ) - { - m_retcode = cTbsRspClearVisitor.m_retcode; - m_tribeId = cTbsRspClearVisitor.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspClearVisitor::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsReqStartTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_START_TRIBE - }; - CTbsReqStartTribe() - { - } - - ~CTbsReqStartTribe() { } - CTbsReqStartTribe(const string& strTribeId, const map< string,string >& mapItems) - { - m_tribeId = strTribeId; - m_items = mapItems; - } - CTbsReqStartTribe& operator=( const CTbsReqStartTribe& cTbsReqStartTribe ) - { - m_tribeId = cTbsReqStartTribe.m_tribeId; - m_items = cTbsReqStartTribe.m_items; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const map< string,string >& GetItems () const { return m_items; } - bool SetItems ( const map< string,string >& mapItems ) - { - m_items = mapItems; - return true; - } -private: - string m_tribeId; - map< string,string > m_items; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqStartTribe::Size() const -{ - uint32_t nSize = 10; - nSize += m_tribeId.length(); - nSize += m_items.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CTbsRspStartTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_START_TRIBE - }; - CTbsRspStartTribe() - { - } - - ~CTbsRspStartTribe() { } - CTbsRspStartTribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CTbsRspStartTribe& operator=( const CTbsRspStartTribe& cTbsRspStartTribe ) - { - m_retcode = cTbsRspStartTribe.m_retcode; - m_tribeId = cTbsRspStartTribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspStartTribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsGetAllTribelist : public CPackData -{ -public: - enum - { - CMD_ID = TBS_GET_ALL_TRIBELIST - }; - ~CTbsGetAllTribelist() { } -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsGetAllTribelist::Size() const -{ - return 1; -} -class CTbsRspAllTribelist : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_ALL_TRIBELIST - }; - CTbsRspAllTribelist() - { - } - - ~CTbsRspAllTribelist() { } - CTbsRspAllTribelist(const VECTOR< uint32_t >& vecTribeIdList) - { - m_tribeIdList = vecTribeIdList; - } - CTbsRspAllTribelist& operator=( const CTbsRspAllTribelist& cTbsRspAllTribelist ) - { - m_tribeIdList = cTbsRspAllTribelist.m_tribeIdList; - return *this; - } - - const VECTOR< uint32_t >& GetTribeIdList () const { return m_tribeIdList; } - bool SetTribeIdList ( const VECTOR< uint32_t >& vecTribeIdList ) - { - m_tribeIdList = vecTribeIdList; - return true; - } -private: - VECTOR< uint32_t > m_tribeIdList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspAllTribelist::Size() const -{ - uint32_t nSize = 7; - nSize += m_tribeIdList.size() * 4; - return nSize; -} - -class CTbsNtfLoadtribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_NTF_LOADTRIBE - }; - CTbsNtfLoadtribe() - { - } - - ~CTbsNtfLoadtribe() { } - CTbsNtfLoadtribe(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbsNtfLoadtribe& operator=( const CTbsNtfLoadtribe& cTbsNtfLoadtribe ) - { - m_tribeId = cTbsNtfLoadtribe.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsNtfLoadtribe::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsNtfUnloadtribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_NTF_UNLOADTRIBE - }; - CTbsNtfUnloadtribe() - { - } - - ~CTbsNtfUnloadtribe() { } - CTbsNtfUnloadtribe(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbsNtfUnloadtribe& operator=( const CTbsNtfUnloadtribe& cTbsNtfUnloadtribe ) - { - m_tribeId = cTbsNtfUnloadtribe.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsNtfUnloadtribe::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsReqGetOnlineinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_GET_ONLINEINFO - }; - CTbsReqGetOnlineinfo() - { - } - - ~CTbsReqGetOnlineinfo() { } - CTbsReqGetOnlineinfo(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbsReqGetOnlineinfo& operator=( const CTbsReqGetOnlineinfo& cTbsReqGetOnlineinfo ) - { - m_tribeId = cTbsReqGetOnlineinfo.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqGetOnlineinfo::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsRspGetOnlineinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_GET_ONLINEINFO - }; - CTbsRspGetOnlineinfo() - { - } - - ~CTbsRspGetOnlineinfo() { } - CTbsRspGetOnlineinfo(const uint8_t& chRetcode, const string& strTribeId, const uint32_t& dwMemberNum, const uint32_t& dwVisitorNum) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberNum = dwMemberNum; - m_visitorNum = dwVisitorNum; - } - CTbsRspGetOnlineinfo& operator=( const CTbsRspGetOnlineinfo& cTbsRspGetOnlineinfo ) - { - m_retcode = cTbsRspGetOnlineinfo.m_retcode; - m_tribeId = cTbsRspGetOnlineinfo.m_tribeId; - m_memberNum = cTbsRspGetOnlineinfo.m_memberNum; - m_visitorNum = cTbsRspGetOnlineinfo.m_visitorNum; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint32_t& GetMemberNum () const { return m_memberNum; } - bool SetMemberNum ( const uint32_t& dwMemberNum ) - { - m_memberNum = dwMemberNum; - return true; - } - const uint32_t& GetVisitorNum () const { return m_visitorNum; } - bool SetVisitorNum ( const uint32_t& dwVisitorNum ) - { - m_visitorNum = dwVisitorNum; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - uint32_t m_memberNum; - uint32_t m_visitorNum; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspGetOnlineinfo::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsReqNtfModifytribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_NTF_MODIFYTRIBE - }; - CTbsReqNtfModifytribe() - { - } - - ~CTbsReqNtfModifytribe() { } - CTbsReqNtfModifytribe(const string& strTribeId, const string& strUserId, const VECTOR< SModifyItem >& vecItemList) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_itemList = vecItemList; - } - CTbsReqNtfModifytribe& operator=( const CTbsReqNtfModifytribe& cTbsReqNtfModifytribe ) - { - m_tribeId = cTbsReqNtfModifytribe.m_tribeId; - m_userId = cTbsReqNtfModifytribe.m_userId; - m_itemList = cTbsReqNtfModifytribe.m_itemList; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const VECTOR< SModifyItem >& GetItemList () const { return m_itemList; } - bool SetItemList ( const VECTOR< SModifyItem >& vecItemList ) - { - m_itemList = vecItemList; - return true; - } -private: - string m_tribeId; - string m_userId; - VECTOR< SModifyItem > m_itemList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqNtfModifytribe::Size() const -{ - uint32_t nSize = 17; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - for(uint32_t i = 0; i < m_itemList.size(); i++) - { - nSize += m_itemList[i].Size(); - } - return nSize; -} - -class CTbsRspNtfModifytribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_NTF_MODIFYTRIBE - }; - CTbsRspNtfModifytribe() - { - } - - ~CTbsRspNtfModifytribe() { } - CTbsRspNtfModifytribe(const uint8_t& chRetcode, const string& strTribeId, const string& strUserId, const VECTOR< SModifyItem >& vecItemList) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_userId = strUserId; - m_itemList = vecItemList; - } - CTbsRspNtfModifytribe& operator=( const CTbsRspNtfModifytribe& cTbsRspNtfModifytribe ) - { - m_retcode = cTbsRspNtfModifytribe.m_retcode; - m_tribeId = cTbsRspNtfModifytribe.m_tribeId; - m_userId = cTbsRspNtfModifytribe.m_userId; - m_itemList = cTbsRspNtfModifytribe.m_itemList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const VECTOR< SModifyItem >& GetItemList () const { return m_itemList; } - bool SetItemList ( const VECTOR< SModifyItem >& vecItemList ) - { - m_itemList = vecItemList; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_userId; - VECTOR< SModifyItem > m_itemList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspNtfModifytribe::Size() const -{ - uint32_t nSize = 19; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - for(uint32_t i = 0; i < m_itemList.size(); i++) - { - nSize += m_itemList[i].Size(); - } - return nSize; -} - -class CTbsReqUnloadtribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_UNLOADTRIBE - }; - CTbsReqUnloadtribe() - { - } - - ~CTbsReqUnloadtribe() { } - CTbsReqUnloadtribe(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbsReqUnloadtribe& operator=( const CTbsReqUnloadtribe& cTbsReqUnloadtribe ) - { - m_tribeId = cTbsReqUnloadtribe.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqUnloadtribe::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsRspUnloadtribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_UNLOADTRIBE - }; - CTbsRspUnloadtribe() - { - } - - ~CTbsRspUnloadtribe() { } - CTbsRspUnloadtribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CTbsRspUnloadtribe& operator=( const CTbsRspUnloadtribe& cTbsRspUnloadtribe ) - { - m_retcode = cTbsRspUnloadtribe.m_retcode; - m_tribeId = cTbsRspUnloadtribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspUnloadtribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -struct STribeCard -{ -public: - STribeCard() - { - } - - ~STribeCard() { } - STribeCard(const string& strRealName, const string& strPhone, const string& strMobile, const string& strEmail, const string& strAddr, const string& strMemo) - { - m_realName = strRealName; - m_phone = strPhone; - m_mobile = strMobile; - m_email = strEmail; - m_addr = strAddr; - m_memo = strMemo; - } - STribeCard& operator=( const STribeCard& sTribeCard ) - { - m_realName = sTribeCard.m_realName; - m_phone = sTribeCard.m_phone; - m_mobile = sTribeCard.m_mobile; - m_email = sTribeCard.m_email; - m_addr = sTribeCard.m_addr; - m_memo = sTribeCard.m_memo; - return *this; - } - - string m_realName; - string m_phone; - string m_mobile; - string m_email; - string m_addr; - string m_memo; - -public: - uint32_t Size() const; -}; - -inline uint32_t STribeCard::Size() const -{ - uint32_t nSize = 31; - nSize += m_realName.length(); - nSize += m_phone.length(); - nSize += m_mobile.length(); - nSize += m_email.length(); - nSize += m_addr.length(); - nSize += m_memo.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeCard& sTribeCard ); -CPackData& operator>> ( CPackData& cPackData, STribeCard& sTribeCard ); - -class CTbsReqGetTribecard : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_GET_TRIBECARD - }; - ~CTbsReqGetTribecard() { } -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqGetTribecard::Size() const -{ - return 1; -} -class CTbsRspGetTribecard : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_GET_TRIBECARD - }; - CTbsRspGetTribecard() - { - } - - ~CTbsRspGetTribecard() { } - CTbsRspGetTribecard(const uint8_t& chRetcode, const string& strTribeId, const STribeCard& sTribeCard) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeCard = sTribeCard; - } - CTbsRspGetTribecard& operator=( const CTbsRspGetTribecard& cTbsRspGetTribecard ) - { - m_retcode = cTbsRspGetTribecard.m_retcode; - m_tribeId = cTbsRspGetTribecard.m_tribeId; - m_tribeCard = cTbsRspGetTribecard.m_tribeCard; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const STribeCard& GetTribeCard () const { return m_tribeCard; } - bool SetTribeCard ( const STribeCard& sTribeCard ) - { - m_tribeCard = sTribeCard; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - STribeCard m_tribeCard; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspGetTribecard::Size() const -{ - uint32_t nSize = 9; - nSize += m_tribeId.length(); - nSize += m_tribeCard.Size(); - return nSize; -} - -class CTbsReqUpdateTribecard : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_UPDATE_TRIBECARD - }; - CTbsReqUpdateTribecard() - { - } - - ~CTbsReqUpdateTribecard() { } - CTbsReqUpdateTribecard(const map< string,string >& mapItems) - { - m_items = mapItems; - } - CTbsReqUpdateTribecard& operator=( const CTbsReqUpdateTribecard& cTbsReqUpdateTribecard ) - { - m_items = cTbsReqUpdateTribecard.m_items; - return *this; - } - - const map< string,string >& GetItems () const { return m_items; } - bool SetItems ( const map< string,string >& mapItems ) - { - m_items = mapItems; - return true; - } -private: - map< string,string > m_items; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqUpdateTribecard::Size() const -{ - uint32_t nSize = 5; - nSize += m_items.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CTbsReqUpdateTribecard2 : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_UPDATE_TRIBECARD2 - }; - CTbsReqUpdateTribecard2() - { - } - - ~CTbsReqUpdateTribecard2() { } - CTbsReqUpdateTribecard2(const string& strTribeId, const string& strMemberId, const map< string,string >& mapItems) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_items = mapItems; - } - CTbsReqUpdateTribecard2& operator=( const CTbsReqUpdateTribecard2& cTbsReqUpdateTribecard2 ) - { - m_tribeId = cTbsReqUpdateTribecard2.m_tribeId; - m_memberId = cTbsReqUpdateTribecard2.m_memberId; - m_items = cTbsReqUpdateTribecard2.m_items; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const map< string,string >& GetItems () const { return m_items; } - bool SetItems ( const map< string,string >& mapItems ) - { - m_items = mapItems; - return true; - } -private: - string m_tribeId; - string m_memberId; - map< string,string > m_items; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqUpdateTribecard2::Size() const -{ - uint32_t nSize = 15; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - nSize += m_items.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CTbsRspUpdateTribecard : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_UPDATE_TRIBECARD - }; - CTbsRspUpdateTribecard() - { - } - - ~CTbsRspUpdateTribecard() { } - CTbsRspUpdateTribecard(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CTbsRspUpdateTribecard& operator=( const CTbsRspUpdateTribecard& cTbsRspUpdateTribecard ) - { - m_retcode = cTbsRspUpdateTribecard.m_retcode; - m_tribeId = cTbsRspUpdateTribecard.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspUpdateTribecard::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsReqGetMemberinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_GET_MEMBERINFO - }; - CTbsReqGetMemberinfo() - { - } - - ~CTbsReqGetMemberinfo() { } - CTbsReqGetMemberinfo(const string& strTribeId, const string& strUserId) - { - m_tribeId = strTribeId; - m_userId = strUserId; - } - CTbsReqGetMemberinfo& operator=( const CTbsReqGetMemberinfo& cTbsReqGetMemberinfo ) - { - m_tribeId = cTbsReqGetMemberinfo.m_tribeId; - m_userId = cTbsReqGetMemberinfo.m_userId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } -private: - string m_tribeId; - string m_userId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqGetMemberinfo::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - return nSize; -} - -class CTbsRspGetMemberinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_GET_MEMBERINFO - }; - CTbsRspGetMemberinfo() - { - } - - ~CTbsRspGetMemberinfo() { } - CTbsRspGetMemberinfo(const uint8_t& chRetcode, const string& strTribeId, const string& strUserId, const STmInfo& sMemberInfo) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_userId = strUserId; - m_memberInfo = sMemberInfo; - } - CTbsRspGetMemberinfo& operator=( const CTbsRspGetMemberinfo& cTbsRspGetMemberinfo ) - { - m_retcode = cTbsRspGetMemberinfo.m_retcode; - m_tribeId = cTbsRspGetMemberinfo.m_tribeId; - m_userId = cTbsRspGetMemberinfo.m_userId; - m_memberInfo = cTbsRspGetMemberinfo.m_memberInfo; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const STmInfo& GetMemberInfo () const { return m_memberInfo; } - bool SetMemberInfo ( const STmInfo& sMemberInfo ) - { - m_memberInfo = sMemberInfo; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_userId; - STmInfo m_memberInfo; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspGetMemberinfo::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_memberInfo.Size(); - return nSize; -} - -class CTbsReqGetTribemanager : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_GET_TRIBEMANAGER - }; - CTbsReqGetTribemanager() - { - } - - ~CTbsReqGetTribemanager() { } - CTbsReqGetTribemanager(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbsReqGetTribemanager& operator=( const CTbsReqGetTribemanager& cTbsReqGetTribemanager ) - { - m_tribeId = cTbsReqGetTribemanager.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqGetTribemanager::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsRspGetTribemanager : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_GET_TRIBEMANAGER - }; - CTbsRspGetTribemanager() - { - } - - ~CTbsRspGetTribemanager() { } - CTbsRspGetTribemanager(const uint8_t& chRetcode, const string& strTribeId, const VECTOR< string >& vecManagerList) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_managerList = vecManagerList; - } - CTbsRspGetTribemanager& operator=( const CTbsRspGetTribemanager& cTbsRspGetTribemanager ) - { - m_retcode = cTbsRspGetTribemanager.m_retcode; - m_tribeId = cTbsRspGetTribemanager.m_tribeId; - m_managerList = cTbsRspGetTribemanager.m_managerList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< string >& GetManagerList () const { return m_managerList; } - bool SetManagerList ( const VECTOR< string >& vecManagerList ) - { - m_managerList = vecManagerList; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - VECTOR< string > m_managerList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspGetTribemanager::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - nSize += m_managerList.size() * 4; - for(uint32_t i = 0; i < m_managerList.size(); i++) - { - nSize += m_managerList[i].length(); - } - return nSize; -} - -class CTbsReqGetUsertribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_GET_USERTRIBE - }; - CTbsReqGetUsertribe() - { - } - - ~CTbsReqGetUsertribe() { } - CTbsReqGetUsertribe(const string& strUserId) - { - m_userId = strUserId; - } - CTbsReqGetUsertribe& operator=( const CTbsReqGetUsertribe& cTbsReqGetUsertribe ) - { - m_userId = cTbsReqGetUsertribe.m_userId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } -private: - string m_userId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqGetUsertribe::Size() const -{ - uint32_t nSize = 6; - nSize += m_userId.length(); - return nSize; -} - -class CTbsRspGetUsertribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_GET_USERTRIBE - }; - CTbsRspGetUsertribe() - { - } - - ~CTbsRspGetUsertribe() { } - CTbsRspGetUsertribe(const uint8_t& chRetcode, const string& strUserId, const VECTOR< STribeId >& vecTribeList) - { - m_retcode = chRetcode; - m_userId = strUserId; - m_tribeList = vecTribeList; - } - CTbsRspGetUsertribe& operator=( const CTbsRspGetUsertribe& cTbsRspGetUsertribe ) - { - m_retcode = cTbsRspGetUsertribe.m_retcode; - m_userId = cTbsRspGetUsertribe.m_userId; - m_tribeList = cTbsRspGetUsertribe.m_tribeList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const VECTOR< STribeId >& GetTribeList () const { return m_tribeList; } - bool SetTribeList ( const VECTOR< STribeId >& vecTribeList ) - { - m_tribeList = vecTribeList; - return true; - } -private: - uint8_t m_retcode; - string m_userId; - VECTOR< STribeId > m_tribeList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspGetUsertribe::Size() const -{ - uint32_t nSize = 14; - nSize += m_userId.length(); - for(uint32_t i = 0; i < m_tribeList.size(); i++) - { - nSize += m_tribeList[i].Size(); - } - return nSize; -} - -class CTbsReqPostTribemsg : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_POST_TRIBEMSG - }; - CTbsReqPostTribemsg() : m_msgType(1) - { - } - - ~CTbsReqPostTribemsg() { } - CTbsReqPostTribemsg(const string& strTribeId, const string& strUserId, const string& strMessage, const uint8_t& chMsgType= 1) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_message = strMessage; - m_msgType = chMsgType; - } - CTbsReqPostTribemsg& operator=( const CTbsReqPostTribemsg& cTbsReqPostTribemsg ) - { - m_tribeId = cTbsReqPostTribemsg.m_tribeId; - m_userId = cTbsReqPostTribemsg.m_userId; - m_message = cTbsReqPostTribemsg.m_message; - m_msgType = cTbsReqPostTribemsg.m_msgType; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const uint8_t& GetMsgType () const { return m_msgType; } - bool SetMsgType ( const uint8_t& chMsgType ) - { - m_msgType = chMsgType; - return true; - } -private: - string m_tribeId; - string m_userId; - string m_message; - uint8_t m_msgType; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqPostTribemsg::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_message.length(); - return nSize; -} - -class CTbsRspPostTribemsg : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_POST_TRIBEMSG - }; - CTbsRspPostTribemsg() : m_msgType(1) - { - } - - ~CTbsRspPostTribemsg() { } - CTbsRspPostTribemsg(const uint8_t& chRetcode, const string& strTribeId, const string& strUserId, const string& strMessage, const uint8_t& chMsgType= 1) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_userId = strUserId; - m_message = strMessage; - m_msgType = chMsgType; - } - CTbsRspPostTribemsg& operator=( const CTbsRspPostTribemsg& cTbsRspPostTribemsg ) - { - m_retcode = cTbsRspPostTribemsg.m_retcode; - m_tribeId = cTbsRspPostTribemsg.m_tribeId; - m_userId = cTbsRspPostTribemsg.m_userId; - m_message = cTbsRspPostTribemsg.m_message; - m_msgType = cTbsRspPostTribemsg.m_msgType; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const uint8_t& GetMsgType () const { return m_msgType; } - bool SetMsgType ( const uint8_t& chMsgType ) - { - m_msgType = chMsgType; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_userId; - string m_message; - uint8_t m_msgType; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspPostTribemsg::Size() const -{ - uint32_t nSize = 20; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_message.length(); - return nSize; -} - -class CTbsReqGetActlevel : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_GET_ACTLEVEL - }; - CTbsReqGetActlevel() - { - } - - ~CTbsReqGetActlevel() { } - CTbsReqGetActlevel(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbsReqGetActlevel& operator=( const CTbsReqGetActlevel& cTbsReqGetActlevel ) - { - m_tribeId = cTbsReqGetActlevel.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqGetActlevel::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsRspGetActlevel : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_GET_ACTLEVEL - }; - CTbsRspGetActlevel() - { - } - - ~CTbsRspGetActlevel() { } - CTbsRspGetActlevel(const uint8_t& chRetcode, const string& strTribeId, const uint32_t& dwActiveLevel) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_activeLevel = dwActiveLevel; - } - CTbsRspGetActlevel& operator=( const CTbsRspGetActlevel& cTbsRspGetActlevel ) - { - m_retcode = cTbsRspGetActlevel.m_retcode; - m_tribeId = cTbsRspGetActlevel.m_tribeId; - m_activeLevel = cTbsRspGetActlevel.m_activeLevel; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint32_t& GetActiveLevel () const { return m_activeLevel; } - bool SetActiveLevel ( const uint32_t& dwActiveLevel ) - { - m_activeLevel = dwActiveLevel; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - uint32_t m_activeLevel; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspGetActlevel::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsNtfOfflineMsg : public CPackData -{ -public: - enum - { - CMD_ID = TBS_NTF_OFFLINE_MSG - }; - CTbsNtfOfflineMsg() - { - } - - ~CTbsNtfOfflineMsg() { } - CTbsNtfOfflineMsg(const string& strTribeId, const VECTOR< STribeMsg >& vecOfflineMsgList, const VECTOR< STmMsgid >& vecMemberMsgid) - { - m_tribeId = strTribeId; - m_offlineMsgList = vecOfflineMsgList; - m_memberMsgid = vecMemberMsgid; - } - CTbsNtfOfflineMsg& operator=( const CTbsNtfOfflineMsg& cTbsNtfOfflineMsg ) - { - m_tribeId = cTbsNtfOfflineMsg.m_tribeId; - m_offlineMsgList = cTbsNtfOfflineMsg.m_offlineMsgList; - m_memberMsgid = cTbsNtfOfflineMsg.m_memberMsgid; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< STribeMsg >& GetOfflineMsgList () const { return m_offlineMsgList; } - bool SetOfflineMsgList ( const VECTOR< STribeMsg >& vecOfflineMsgList ) - { - m_offlineMsgList = vecOfflineMsgList; - return true; - } - const VECTOR< STmMsgid >& GetMemberMsgid () const { return m_memberMsgid; } - bool SetMemberMsgid ( const VECTOR< STmMsgid >& vecMemberMsgid ) - { - m_memberMsgid = vecMemberMsgid; - return true; - } -private: - string m_tribeId; - VECTOR< STribeMsg > m_offlineMsgList; - VECTOR< STmMsgid > m_memberMsgid; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsNtfOfflineMsg::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_offlineMsgList.size(); i++) - { - nSize += m_offlineMsgList[i].Size(); - } - for(uint32_t i = 0; i < m_memberMsgid.size(); i++) - { - nSize += m_memberMsgid[i].Size(); - } - return nSize; -} - -class CTbsReqRecommendTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_RECOMMEND_TRIBE - }; - CTbsReqRecommendTribe() - { - } - - ~CTbsReqRecommendTribe() { } - CTbsReqRecommendTribe(const string& strTribeId, const VECTOR< string >& vecUserList, const string& strMessage) - { - m_tribeId = strTribeId; - m_userList = vecUserList; - m_message = strMessage; - } - CTbsReqRecommendTribe& operator=( const CTbsReqRecommendTribe& cTbsReqRecommendTribe ) - { - m_tribeId = cTbsReqRecommendTribe.m_tribeId; - m_userList = cTbsReqRecommendTribe.m_userList; - m_message = cTbsReqRecommendTribe.m_message; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< string >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< string >& vecUserList ) - { - m_userList = vecUserList; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_tribeId; - VECTOR< string > m_userList; - string m_message; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqRecommendTribe::Size() const -{ - uint32_t nSize = 17; - nSize += m_tribeId.length(); - nSize += m_userList.size() * 4; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].length(); - } - nSize += m_message.length(); - return nSize; -} - -class CTbsRspRecommendTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_RECOMMEND_TRIBE - }; - CTbsRspRecommendTribe() - { - } - - ~CTbsRspRecommendTribe() { } - CTbsRspRecommendTribe(const uint8_t& chRetcode, const string& strTribeId, const VECTOR< string >& vecUserList) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_userList = vecUserList; - } - CTbsRspRecommendTribe& operator=( const CTbsRspRecommendTribe& cTbsRspRecommendTribe ) - { - m_retcode = cTbsRspRecommendTribe.m_retcode; - m_tribeId = cTbsRspRecommendTribe.m_tribeId; - m_userList = cTbsRspRecommendTribe.m_userList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< string >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< string >& vecUserList ) - { - m_userList = vecUserList; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - VECTOR< string > m_userList; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspRecommendTribe::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - nSize += m_userList.size() * 4; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].length(); - } - return nSize; -} - -class CTbsNtfRecommendTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_NTF_RECOMMEND_TRIBE - }; - CTbsNtfRecommendTribe() - { - } - - ~CTbsNtfRecommendTribe() { } - CTbsNtfRecommendTribe(const string& strTribeId, const string& strMemberId, const VECTOR< string >& vecUserList, const string& strMessage) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_userList = vecUserList; - m_message = strMessage; - } - CTbsNtfRecommendTribe& operator=( const CTbsNtfRecommendTribe& cTbsNtfRecommendTribe ) - { - m_tribeId = cTbsNtfRecommendTribe.m_tribeId; - m_memberId = cTbsNtfRecommendTribe.m_memberId; - m_userList = cTbsNtfRecommendTribe.m_userList; - m_message = cTbsNtfRecommendTribe.m_message; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const VECTOR< string >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< string >& vecUserList ) - { - m_userList = vecUserList; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } -private: - string m_tribeId; - string m_memberId; - VECTOR< string > m_userList; - string m_message; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsNtfRecommendTribe::Size() const -{ - uint32_t nSize = 22; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - nSize += m_userList.size() * 4; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].length(); - } - nSize += m_message.length(); - return nSize; -} - -class CTbsReqAuthRecommend : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_AUTH_RECOMMEND - }; - CTbsReqAuthRecommend() - { - } - - ~CTbsReqAuthRecommend() { } - CTbsReqAuthRecommend(const string& strTribeId, const string& strMemberId, const VECTOR< string >& vecUserList, const int64_t& llGroupId) - { - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_userList = vecUserList; - m_groupId = llGroupId; - } - CTbsReqAuthRecommend& operator=( const CTbsReqAuthRecommend& cTbsReqAuthRecommend ) - { - m_tribeId = cTbsReqAuthRecommend.m_tribeId; - m_memberId = cTbsReqAuthRecommend.m_memberId; - m_userList = cTbsReqAuthRecommend.m_userList; - m_groupId = cTbsReqAuthRecommend.m_groupId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const VECTOR< string >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< string >& vecUserList ) - { - m_userList = vecUserList; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - string m_tribeId; - string m_memberId; - VECTOR< string > m_userList; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqAuthRecommend::Size() const -{ - uint32_t nSize = 26; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - nSize += m_userList.size() * 4; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].length(); - } - return nSize; -} - -class CTbsRspAuthRecommend : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_AUTH_RECOMMEND - }; - CTbsRspAuthRecommend() - { - } - - ~CTbsRspAuthRecommend() { } - CTbsRspAuthRecommend(const uint8_t& chRetcode, const string& strTribeId, const string& strMemberId, const VECTOR< string >& vecUserList, const int64_t& llGroupId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberId = strMemberId; - m_userList = vecUserList; - m_groupId = llGroupId; - } - CTbsRspAuthRecommend& operator=( const CTbsRspAuthRecommend& cTbsRspAuthRecommend ) - { - m_retcode = cTbsRspAuthRecommend.m_retcode; - m_tribeId = cTbsRspAuthRecommend.m_tribeId; - m_memberId = cTbsRspAuthRecommend.m_memberId; - m_userList = cTbsRspAuthRecommend.m_userList; - m_groupId = cTbsRspAuthRecommend.m_groupId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMemberId () const { return m_memberId; } - bool SetMemberId ( const string& strMemberId ) - { - if(strMemberId.size() > 64) - return false; - m_memberId = strMemberId; - return true; - } - const VECTOR< string >& GetUserList () const { return m_userList; } - bool SetUserList ( const VECTOR< string >& vecUserList ) - { - m_userList = vecUserList; - return true; - } - const int64_t& GetGroupId () const { return m_groupId; } - bool SetGroupId ( const int64_t& llGroupId ) - { - m_groupId = llGroupId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_memberId; - VECTOR< string > m_userList; - int64_t m_groupId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspAuthRecommend::Size() const -{ - uint32_t nSize = 28; - nSize += m_tribeId.length(); - nSize += m_memberId.length(); - nSize += m_userList.size() * 4; - for(uint32_t i = 0; i < m_userList.size(); i++) - { - nSize += m_userList[i].length(); - } - return nSize; -} - -class CTbsNtfVersion : public CPackData -{ -public: - enum - { - CMD_ID = TBS_NTF_VERSION - }; - CTbsNtfVersion() - { - } - - ~CTbsNtfVersion() { } - CTbsNtfVersion(const string& strVersion) - { - m_version = strVersion; - } - CTbsNtfVersion& operator=( const CTbsNtfVersion& cTbsNtfVersion ) - { - m_version = cTbsNtfVersion.m_version; - return *this; - } - - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - m_version = strVersion; - return true; - } -private: - string m_version; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsNtfVersion::Size() const -{ - uint32_t nSize = 6; - nSize += m_version.length(); - return nSize; -} - -class CTbsReqActiveUser : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_ACTIVE_USER - }; - CTbsReqActiveUser() - { - } - - ~CTbsReqActiveUser() { } - CTbsReqActiveUser(const string& strTribeId, const string& strUserId, const string& strWebUid) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_webUid = strWebUid; - } - CTbsReqActiveUser& operator=( const CTbsReqActiveUser& cTbsReqActiveUser ) - { - m_tribeId = cTbsReqActiveUser.m_tribeId; - m_userId = cTbsReqActiveUser.m_userId; - m_webUid = cTbsReqActiveUser.m_webUid; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetWebUid () const { return m_webUid; } - bool SetWebUid ( const string& strWebUid ) - { - m_webUid = strWebUid; - return true; - } -private: - string m_tribeId; - string m_userId; - string m_webUid; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqActiveUser::Size() const -{ - uint32_t nSize = 16; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_webUid.length(); - return nSize; -} - -class CTbsReqDisactiveUser : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_DISACTIVE_USER - }; - CTbsReqDisactiveUser() - { - } - - ~CTbsReqDisactiveUser() { } - CTbsReqDisactiveUser(const string& strTribeId, const string& strUserId, const string& strWebUid) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_webUid = strWebUid; - } - CTbsReqDisactiveUser& operator=( const CTbsReqDisactiveUser& cTbsReqDisactiveUser ) - { - m_tribeId = cTbsReqDisactiveUser.m_tribeId; - m_userId = cTbsReqDisactiveUser.m_userId; - m_webUid = cTbsReqDisactiveUser.m_webUid; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetWebUid () const { return m_webUid; } - bool SetWebUid ( const string& strWebUid ) - { - m_webUid = strWebUid; - return true; - } -private: - string m_tribeId; - string m_userId; - string m_webUid; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqDisactiveUser::Size() const -{ - uint32_t nSize = 16; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_webUid.length(); - return nSize; -} - -class CTbsReqStopTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_STOP_TRIBE - }; - CTbsReqStopTribe() - { - } - - ~CTbsReqStopTribe() { } - CTbsReqStopTribe(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbsReqStopTribe& operator=( const CTbsReqStopTribe& cTbsReqStopTribe ) - { - m_tribeId = cTbsReqStopTribe.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqStopTribe::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsRspStopTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_STOP_TRIBE - }; - CTbsRspStopTribe() - { - } - - ~CTbsRspStopTribe() { } - CTbsRspStopTribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CTbsRspStopTribe& operator=( const CTbsRspStopTribe& cTbsRspStopTribe ) - { - m_retcode = cTbsRspStopTribe.m_retcode; - m_tribeId = cTbsRspStopTribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspStopTribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsReqAddTribeMember : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_ADD_TRIBE_MEMBER - }; - CTbsReqAddTribeMember() - { - } - - ~CTbsReqAddTribeMember() { } - CTbsReqAddTribeMember(const string& strTribeId, const uint8_t& chTribeLevel, const string& strUserId, const string& strName) - { - m_tribeId = strTribeId; - m_tribeLevel = chTribeLevel; - m_userId = strUserId; - m_name = strName; - } - CTbsReqAddTribeMember& operator=( const CTbsReqAddTribeMember& cTbsReqAddTribeMember ) - { - m_tribeId = cTbsReqAddTribeMember.m_tribeId; - m_tribeLevel = cTbsReqAddTribeMember.m_tribeLevel; - m_userId = cTbsReqAddTribeMember.m_userId; - m_name = cTbsReqAddTribeMember.m_name; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetTribeLevel () const { return m_tribeLevel; } - bool SetTribeLevel ( const uint8_t& chTribeLevel ) - { - m_tribeLevel = chTribeLevel; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetName () const { return m_name; } - bool SetName ( const string& strName ) - { - m_name = strName; - return true; - } -private: - string m_tribeId; - uint8_t m_tribeLevel; - string m_userId; - string m_name; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqAddTribeMember::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_name.length(); - return nSize; -} - -class CTbsRspAddTribeMember : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_ADD_TRIBE_MEMBER - }; - CTbsRspAddTribeMember() - { - } - - ~CTbsRspAddTribeMember() { } - CTbsRspAddTribeMember(const uint8_t& chRetcode, const string& strTribeId, const uint8_t& chTribeLevel, const string& strUserId, const string& strName) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeLevel = chTribeLevel; - m_userId = strUserId; - m_name = strName; - } - CTbsRspAddTribeMember& operator=( const CTbsRspAddTribeMember& cTbsRspAddTribeMember ) - { - m_retcode = cTbsRspAddTribeMember.m_retcode; - m_tribeId = cTbsRspAddTribeMember.m_tribeId; - m_tribeLevel = cTbsRspAddTribeMember.m_tribeLevel; - m_userId = cTbsRspAddTribeMember.m_userId; - m_name = cTbsRspAddTribeMember.m_name; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetTribeLevel () const { return m_tribeLevel; } - bool SetTribeLevel ( const uint8_t& chTribeLevel ) - { - m_tribeLevel = chTribeLevel; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetName () const { return m_name; } - bool SetName ( const string& strName ) - { - m_name = strName; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - uint8_t m_tribeLevel; - string m_userId; - string m_name; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspAddTribeMember::Size() const -{ - uint32_t nSize = 20; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_name.length(); - return nSize; -} - -class CTbsReqDelTribeMember : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_DEL_TRIBE_MEMBER - }; - CTbsReqDelTribeMember() - { - } - - ~CTbsReqDelTribeMember() { } - CTbsReqDelTribeMember(const string& strTribeId, const uint8_t& chTribeLevel, const string& strUserId, const string& strOperId) - { - m_tribeId = strTribeId; - m_tribeLevel = chTribeLevel; - m_userId = strUserId; - m_operId = strOperId; - } - CTbsReqDelTribeMember& operator=( const CTbsReqDelTribeMember& cTbsReqDelTribeMember ) - { - m_tribeId = cTbsReqDelTribeMember.m_tribeId; - m_tribeLevel = cTbsReqDelTribeMember.m_tribeLevel; - m_userId = cTbsReqDelTribeMember.m_userId; - m_operId = cTbsReqDelTribeMember.m_operId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetTribeLevel () const { return m_tribeLevel; } - bool SetTribeLevel ( const uint8_t& chTribeLevel ) - { - m_tribeLevel = chTribeLevel; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetOperId () const { return m_operId; } - bool SetOperId ( const string& strOperId ) - { - m_operId = strOperId; - return true; - } -private: - string m_tribeId; - uint8_t m_tribeLevel; - string m_userId; - string m_operId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqDelTribeMember::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_operId.length(); - return nSize; -} - -class CTbsRspDelTribeMember : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_DEL_TRIBE_MEMBER - }; - CTbsRspDelTribeMember() - { - } - - ~CTbsRspDelTribeMember() { } - CTbsRspDelTribeMember(const uint8_t& chRetcode, const string& strTribeId, const uint8_t& chTribeLevel, const string& strUserId, const string& strOperId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeLevel = chTribeLevel; - m_userId = strUserId; - m_operId = strOperId; - } - CTbsRspDelTribeMember& operator=( const CTbsRspDelTribeMember& cTbsRspDelTribeMember ) - { - m_retcode = cTbsRspDelTribeMember.m_retcode; - m_tribeId = cTbsRspDelTribeMember.m_tribeId; - m_tribeLevel = cTbsRspDelTribeMember.m_tribeLevel; - m_userId = cTbsRspDelTribeMember.m_userId; - m_operId = cTbsRspDelTribeMember.m_operId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetTribeLevel () const { return m_tribeLevel; } - bool SetTribeLevel ( const uint8_t& chTribeLevel ) - { - m_tribeLevel = chTribeLevel; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetOperId () const { return m_operId; } - bool SetOperId ( const string& strOperId ) - { - m_operId = strOperId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - uint8_t m_tribeLevel; - string m_userId; - string m_operId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspDelTribeMember::Size() const -{ - uint32_t nSize = 20; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_operId.length(); - return nSize; -} - -class CTbsReqSetTribeMsgPopup : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_SET_TRIBE_MSG_POPUP - }; - CTbsReqSetTribeMsgPopup() - { - } - - ~CTbsReqSetTribeMsgPopup() { } - CTbsReqSetTribeMsgPopup(const string& strTribeId, const uint8_t& chMsgPopup) - { - m_tribeId = strTribeId; - m_msgPopup = chMsgPopup; - } - CTbsReqSetTribeMsgPopup& operator=( const CTbsReqSetTribeMsgPopup& cTbsReqSetTribeMsgPopup ) - { - m_tribeId = cTbsReqSetTribeMsgPopup.m_tribeId; - m_msgPopup = cTbsReqSetTribeMsgPopup.m_msgPopup; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetMsgPopup () const { return m_msgPopup; } - bool SetMsgPopup ( const uint8_t& chMsgPopup ) - { - m_msgPopup = chMsgPopup; - return true; - } -private: - string m_tribeId; - uint8_t m_msgPopup; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqSetTribeMsgPopup::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsRspSetTribeMsgPopup : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_SET_TRIBE_MSG_POPUP - }; - CTbsRspSetTribeMsgPopup() - { - } - - ~CTbsRspSetTribeMsgPopup() { } - CTbsRspSetTribeMsgPopup(const uint8_t& chRetcode, const string& strTribeId, const uint8_t& chMsgPopup) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_msgPopup = chMsgPopup; - } - CTbsRspSetTribeMsgPopup& operator=( const CTbsRspSetTribeMsgPopup& cTbsRspSetTribeMsgPopup ) - { - m_retcode = cTbsRspSetTribeMsgPopup.m_retcode; - m_tribeId = cTbsRspSetTribeMsgPopup.m_tribeId; - m_msgPopup = cTbsRspSetTribeMsgPopup.m_msgPopup; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetMsgPopup () const { return m_msgPopup; } - bool SetMsgPopup ( const uint8_t& chMsgPopup ) - { - m_msgPopup = chMsgPopup; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - uint8_t m_msgPopup; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspSetTribeMsgPopup::Size() const -{ - uint32_t nSize = 10; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbsReqTransferTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_REQ_TRANSFER_TRIBE - }; - CTbsReqTransferTribe() - { - } - - ~CTbsReqTransferTribe() { } - CTbsReqTransferTribe(const string& strTribeId, const string& strTransferId) - { - m_tribeId = strTribeId; - m_transferId = strTransferId; - } - CTbsReqTransferTribe& operator=( const CTbsReqTransferTribe& cTbsReqTransferTribe ) - { - m_tribeId = cTbsReqTransferTribe.m_tribeId; - m_transferId = cTbsReqTransferTribe.m_transferId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetTransferId () const { return m_transferId; } - bool SetTransferId ( const string& strTransferId ) - { - if(strTransferId.size() > 64) - return false; - m_transferId = strTransferId; - return true; - } -private: - string m_tribeId; - string m_transferId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsReqTransferTribe::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - nSize += m_transferId.length(); - return nSize; -} - -class CTbsRspTransferTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_RSP_TRANSFER_TRIBE - }; - CTbsRspTransferTribe() - { - } - - ~CTbsRspTransferTribe() { } - CTbsRspTransferTribe(const uint8_t& chRetcode, const string& strTribeId, const string& strAltTribeId, const string& strRctOwnerId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_altTribeId = strAltTribeId; - m_rctOwnerId = strRctOwnerId; - } - CTbsRspTransferTribe& operator=( const CTbsRspTransferTribe& cTbsRspTransferTribe ) - { - m_retcode = cTbsRspTransferTribe.m_retcode; - m_tribeId = cTbsRspTransferTribe.m_tribeId; - m_altTribeId = cTbsRspTransferTribe.m_altTribeId; - m_rctOwnerId = cTbsRspTransferTribe.m_rctOwnerId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetAltTribeId () const { return m_altTribeId; } - bool SetAltTribeId ( const string& strAltTribeId ) - { - if(strAltTribeId.size() > 20) - return false; - m_altTribeId = strAltTribeId; - return true; - } - const string& GetRctOwnerId () const { return m_rctOwnerId; } - bool SetRctOwnerId ( const string& strRctOwnerId ) - { - if(strRctOwnerId.size() > 64) - return false; - m_rctOwnerId = strRctOwnerId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_altTribeId; - string m_rctOwnerId; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsRspTransferTribe::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_altTribeId.length(); - nSize += m_rctOwnerId.length(); - return nSize; -} - -class CTbsNtfTransferTribeSys : public CPackData -{ -public: - enum - { - CMD_ID = TBS_NTF_TRANSFER_TRIBE_SYS - }; - CTbsNtfTransferTribeSys() - { - } - - ~CTbsNtfTransferTribeSys() { } - CTbsNtfTransferTribeSys(const string& strOwner, const string& strTribeId, const string& strTribeInfo) - { - m_owner = strOwner; - m_tribeId = strTribeId; - m_tribeInfo = strTribeInfo; - } - CTbsNtfTransferTribeSys& operator=( const CTbsNtfTransferTribeSys& cTbsNtfTransferTribeSys ) - { - m_owner = cTbsNtfTransferTribeSys.m_owner; - m_tribeId = cTbsNtfTransferTribeSys.m_tribeId; - m_tribeInfo = cTbsNtfTransferTribeSys.m_tribeInfo; - return *this; - } - - const string& GetOwner () const { return m_owner; } - bool SetOwner ( const string& strOwner ) - { - if(strOwner.size() > 64) - return false; - m_owner = strOwner; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetTribeInfo () const { return m_tribeInfo; } - bool SetTribeInfo ( const string& strTribeInfo ) - { - m_tribeInfo = strTribeInfo; - return true; - } -private: - string m_owner; - string m_tribeId; - string m_tribeInfo; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsNtfTransferTribeSys::Size() const -{ - uint32_t nSize = 16; - nSize += m_owner.length(); - nSize += m_tribeId.length(); - nSize += m_tribeInfo.length(); - return nSize; -} - -class CTbsNtfTransferTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBS_NTF_TRANSFER_TRIBE - }; - CTbsNtfTransferTribe() - { - } - - ~CTbsNtfTransferTribe() { } - CTbsNtfTransferTribe(const string& strTribeId, const string& strOccupiedTribeId, const string& strTribeInfo) - { - m_tribeId = strTribeId; - m_occupiedTribeId = strOccupiedTribeId; - m_tribeInfo = strTribeInfo; - } - CTbsNtfTransferTribe& operator=( const CTbsNtfTransferTribe& cTbsNtfTransferTribe ) - { - m_tribeId = cTbsNtfTransferTribe.m_tribeId; - m_occupiedTribeId = cTbsNtfTransferTribe.m_occupiedTribeId; - m_tribeInfo = cTbsNtfTransferTribe.m_tribeInfo; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetOccupiedTribeId () const { return m_occupiedTribeId; } - bool SetOccupiedTribeId ( const string& strOccupiedTribeId ) - { - if(strOccupiedTribeId.size() > 20) - return false; - m_occupiedTribeId = strOccupiedTribeId; - return true; - } - const string& GetTribeInfo () const { return m_tribeInfo; } - bool SetTribeInfo ( const string& strTribeInfo ) - { - m_tribeInfo = strTribeInfo; - return true; - } -private: - string m_tribeId; - string m_occupiedTribeId; - string m_tribeInfo; - -public: - CSsHead m_ssHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbsNtfTransferTribe::Size() const -{ - uint32_t nSize = 16; - nSize += m_tribeId.length(); - nSize += m_occupiedTribeId.length(); - nSize += m_tribeInfo.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/tbsstrc_pack.h b/features/aliww/include/tbsstrc_pack.h deleted file mode 100644 index 336a7df..0000000 --- a/features/aliww/include/tbsstrc_pack.h +++ /dev/null @@ -1,644 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tbsstrc_pack.h -// Date: 2011-01-30 12:50:13 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __TBSSTRC_PACK_H__ -#define __TBSSTRC_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "const_macro.h" - -using namespace std; - -struct SGroupInfo -{ -public: - SGroupInfo() - { - } - - ~SGroupInfo() { } - SGroupInfo(const int64_t& llGroupId, const int64_t& llParentId, const string& strGroupName) - { - m_groupId = llGroupId; - m_parentId = llParentId; - m_groupName = strGroupName; - } - SGroupInfo& operator=( const SGroupInfo& sGroupInfo ) - { - m_groupId = sGroupInfo.m_groupId; - m_parentId = sGroupInfo.m_parentId; - m_groupName = sGroupInfo.m_groupName; - return *this; - } - - int64_t m_groupId; - int64_t m_parentId; - string m_groupName; - -public: - uint32_t Size() const; -}; - -inline uint32_t SGroupInfo::Size() const -{ - uint32_t nSize = 24; - nSize += m_groupName.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SGroupInfo& sGroupInfo ); -CPackData& operator>> ( CPackData& cPackData, SGroupInfo& sGroupInfo ); - -struct SMemberGroup -{ -public: - SMemberGroup() - { - } - - ~SMemberGroup() { } - SMemberGroup(const string& strTribeId, const VECTOR< SGroupInfo >& vecGroupList, const uint32_t& dwGroupStamp) - { - m_tribeId = strTribeId; - m_groupList = vecGroupList; - m_groupStamp = dwGroupStamp; - } - SMemberGroup& operator=( const SMemberGroup& sMemberGroup ) - { - m_tribeId = sMemberGroup.m_tribeId; - m_groupList = sMemberGroup.m_groupList; - m_groupStamp = sMemberGroup.m_groupStamp; - return *this; - } - - string m_tribeId; - VECTOR< SGroupInfo > m_groupList; - uint32_t m_groupStamp; - -public: - uint32_t Size() const; -}; - -inline uint32_t SMemberGroup::Size() const -{ - uint32_t nSize = 17; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_groupList.size(); i++) - { - nSize += m_groupList[i].Size(); - } - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SMemberGroup& sMemberGroup ); -CPackData& operator>> ( CPackData& cPackData, SMemberGroup& sMemberGroup ); - -struct STribeInfo -{ -public: - STribeInfo() : m_maxMembers(300), - m_webTribeId("") - { - } - - ~STribeInfo() { } - STribeInfo(const string& strTribeId, const string& strTribeName, const string& strMasterid, const uint8_t& chClass, const string& strDescribe, const string& strBulletin, const uint8_t& chCheckMode, const string& strPassword, const string& strKeyword, const uint8_t& chAllowVisitor, const uint8_t& chForbidSearch, const string& strExtSign, const uint8_t& chOpenTribe, const uint32_t& dwMaxMembers= 300, const string& strWebTribeId= "") - { - m_tribeId = strTribeId; - m_tribeName = strTribeName; - m_masterid = strMasterid; - m_class = chClass; - m_describe = strDescribe; - m_bulletin = strBulletin; - m_checkMode = chCheckMode; - m_password = strPassword; - m_keyword = strKeyword; - m_allowVisitor = chAllowVisitor; - m_forbidSearch = chForbidSearch; - m_extSign = strExtSign; - m_openTribe = chOpenTribe; - m_maxMembers = dwMaxMembers; - m_webTribeId = strWebTribeId; - } - STribeInfo& operator=( const STribeInfo& sTribeInfo ) - { - m_tribeId = sTribeInfo.m_tribeId; - m_tribeName = sTribeInfo.m_tribeName; - m_masterid = sTribeInfo.m_masterid; - m_class = sTribeInfo.m_class; - m_describe = sTribeInfo.m_describe; - m_bulletin = sTribeInfo.m_bulletin; - m_checkMode = sTribeInfo.m_checkMode; - m_password = sTribeInfo.m_password; - m_keyword = sTribeInfo.m_keyword; - m_allowVisitor = sTribeInfo.m_allowVisitor; - m_forbidSearch = sTribeInfo.m_forbidSearch; - m_extSign = sTribeInfo.m_extSign; - m_openTribe = sTribeInfo.m_openTribe; - m_maxMembers = sTribeInfo.m_maxMembers; - m_webTribeId = sTribeInfo.m_webTribeId; - return *this; - } - - string m_tribeId; - string m_tribeName; - string m_masterid; - uint8_t m_class; - string m_describe; - string m_bulletin; - uint8_t m_checkMode; - string m_password; - string m_keyword; - uint8_t m_allowVisitor; - uint8_t m_forbidSearch; - string m_extSign; - uint8_t m_openTribe; - uint32_t m_maxMembers; - string m_webTribeId; - -public: - uint32_t Size() const; -}; - -inline uint32_t STribeInfo::Size() const -{ - uint32_t nSize = 61; - nSize += m_tribeId.length(); - nSize += m_tribeName.length(); - nSize += m_masterid.length(); - nSize += m_describe.length(); - nSize += m_bulletin.length(); - nSize += m_password.length(); - nSize += m_keyword.length(); - nSize += m_extSign.length(); - nSize += m_webTribeId.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeInfo& sTribeInfo ); -CPackData& operator>> ( CPackData& cPackData, STribeInfo& sTribeInfo ); - -struct STribeExtInfo -{ -public: - ~STribeExtInfo() { } - STribeExtInfo(const uint8_t& chTribeLevel= 0, const uint32_t& dwActiveDegree= 0, const string& strTitle= "", const string& strUrl= "", const uint8_t& chMsgPopup= 0) - { - m_tribeLevel = chTribeLevel; - m_activeDegree = dwActiveDegree; - m_title = strTitle; - m_url = strUrl; - m_msgPopup = chMsgPopup; - } - STribeExtInfo& operator=( const STribeExtInfo& sTribeExtInfo ) - { - m_tribeLevel = sTribeExtInfo.m_tribeLevel; - m_activeDegree = sTribeExtInfo.m_activeDegree; - m_title = sTribeExtInfo.m_title; - m_url = sTribeExtInfo.m_url; - m_msgPopup = sTribeExtInfo.m_msgPopup; - return *this; - } - - uint8_t m_tribeLevel; - uint32_t m_activeDegree; - string m_title; - string m_url; - uint8_t m_msgPopup; - -public: - uint32_t Size() const; -}; - -inline uint32_t STribeExtInfo::Size() const -{ - uint32_t nSize = 20; - nSize += m_title.length(); - nSize += m_url.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeExtInfo& sTribeExtInfo ); -CPackData& operator>> ( CPackData& cPackData, STribeExtInfo& sTribeExtInfo ); - -struct STmStatus -{ -public: - STmStatus() : m_name("") - { - } - - ~STmStatus() { } - STmStatus(const string& strMemberId, const uint8_t& chBasicSts, const uint8_t& chPredefSts, const uint8_t& chTribeLevel, const string& strName= "") - { - m_memberId = strMemberId; - m_basicSts = chBasicSts; - m_predefSts = chPredefSts; - m_tribeLevel = chTribeLevel; - m_name = strName; - } - STmStatus& operator=( const STmStatus& sTmStatus ) - { - m_memberId = sTmStatus.m_memberId; - m_basicSts = sTmStatus.m_basicSts; - m_predefSts = sTmStatus.m_predefSts; - m_tribeLevel = sTmStatus.m_tribeLevel; - m_name = sTmStatus.m_name; - return *this; - } - - string m_memberId; - uint8_t m_basicSts; - uint8_t m_predefSts; - uint8_t m_tribeLevel; - string m_name; - -public: - uint32_t Size() const; -}; - -inline uint32_t STmStatus::Size() const -{ - uint32_t nSize = 17; - nSize += m_memberId.length(); - nSize += m_name.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const STmStatus& sTmStatus ); -CPackData& operator>> ( CPackData& cPackData, STmStatus& sTmStatus ); - -struct STmMsgid -{ -public: - STmMsgid() - { - } - - ~STmMsgid() { } - STmMsgid(const string& strMemberId, const uint8_t& chBasicSts, const uint8_t& chPredefSts, const uint32_t& dwLastMsgid) - { - m_memberId = strMemberId; - m_basicSts = chBasicSts; - m_predefSts = chPredefSts; - m_lastMsgid = dwLastMsgid; - } - STmMsgid& operator=( const STmMsgid& sTmMsgid ) - { - m_memberId = sTmMsgid.m_memberId; - m_basicSts = sTmMsgid.m_basicSts; - m_predefSts = sTmMsgid.m_predefSts; - m_lastMsgid = sTmMsgid.m_lastMsgid; - return *this; - } - - string m_memberId; - uint8_t m_basicSts; - uint8_t m_predefSts; - uint32_t m_lastMsgid; - -public: - uint32_t Size() const; -}; - -inline uint32_t STmMsgid::Size() const -{ - uint32_t nSize = 15; - nSize += m_memberId.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const STmMsgid& sTmMsgid ); -CPackData& operator>> ( CPackData& cPackData, STmMsgid& sTmMsgid ); - -struct STribeBlack -{ -public: - STribeBlack() - { - } - - ~STribeBlack() { } - STribeBlack(const string& strUserId, const string& strManagerId, const string& strAddDate, const string& strRemark) - { - m_userId = strUserId; - m_managerId = strManagerId; - m_addDate = strAddDate; - m_remark = strRemark; - } - STribeBlack& operator=( const STribeBlack& sTribeBlack ) - { - m_userId = sTribeBlack.m_userId; - m_managerId = sTribeBlack.m_managerId; - m_addDate = sTribeBlack.m_addDate; - m_remark = sTribeBlack.m_remark; - return *this; - } - - string m_userId; - string m_managerId; - string m_addDate; - string m_remark; - -public: - uint32_t Size() const; -}; - -inline uint32_t STribeBlack::Size() const -{ - uint32_t nSize = 21; - nSize += m_userId.length(); - nSize += m_managerId.length(); - nSize += m_addDate.length(); - nSize += m_remark.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeBlack& sTribeBlack ); -CPackData& operator>> ( CPackData& cPackData, STribeBlack& sTribeBlack ); - -struct STmInfo -{ -public: - STmInfo() - { - } - - ~STmInfo() { } - STmInfo(const string& strMemberId, const string& strName, const uint8_t& chBasicSts, const uint8_t& chPredefSts, const uint8_t& chTribeLevel, const uint8_t& chActiveLevel, const uint32_t& dwLastmsgTime, const int64_t& llGroupId, const uint8_t& chMobileBindflag, const string& strMobileNo) - { - m_memberId = strMemberId; - m_name = strName; - m_basicSts = chBasicSts; - m_predefSts = chPredefSts; - m_tribeLevel = chTribeLevel; - m_activeLevel = chActiveLevel; - m_lastmsgTime = dwLastmsgTime; - m_groupId = llGroupId; - m_mobileBindflag = chMobileBindflag; - m_mobileNo = strMobileNo; - } - STmInfo& operator=( const STmInfo& sTmInfo ) - { - m_memberId = sTmInfo.m_memberId; - m_name = sTmInfo.m_name; - m_basicSts = sTmInfo.m_basicSts; - m_predefSts = sTmInfo.m_predefSts; - m_tribeLevel = sTmInfo.m_tribeLevel; - m_activeLevel = sTmInfo.m_activeLevel; - m_lastmsgTime = sTmInfo.m_lastmsgTime; - m_groupId = sTmInfo.m_groupId; - m_mobileBindflag = sTmInfo.m_mobileBindflag; - m_mobileNo = sTmInfo.m_mobileNo; - return *this; - } - - string m_memberId; - string m_name; - uint8_t m_basicSts; - uint8_t m_predefSts; - uint8_t m_tribeLevel; - uint8_t m_activeLevel; - uint32_t m_lastmsgTime; - int64_t m_groupId; - uint8_t m_mobileBindflag; - string m_mobileNo; - -public: - uint32_t Size() const; -}; - -inline uint32_t STmInfo::Size() const -{ - uint32_t nSize = 40; - nSize += m_memberId.length(); - nSize += m_name.length(); - nSize += m_mobileNo.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const STmInfo& sTmInfo ); -CPackData& operator>> ( CPackData& cPackData, STmInfo& sTmInfo ); - -struct STribeMsg -{ -public: - STribeMsg() - { - } - - ~STribeMsg() { } - STribeMsg(const string& strFromId, const uint8_t& chMsgType, const string& strMessage, const uint32_t& dwSendTime) - { - m_fromId = strFromId; - m_msgType = chMsgType; - m_message = strMessage; - m_sendTime = dwSendTime; - } - STribeMsg& operator=( const STribeMsg& sTribeMsg ) - { - m_fromId = sTribeMsg.m_fromId; - m_msgType = sTribeMsg.m_msgType; - m_message = sTribeMsg.m_message; - m_sendTime = sTribeMsg.m_sendTime; - return *this; - } - - string m_fromId; - uint8_t m_msgType; - string m_message; - uint32_t m_sendTime; - -public: - uint32_t Size() const; -}; - -inline uint32_t STribeMsg::Size() const -{ - uint32_t nSize = 18; - nSize += m_fromId.length(); - nSize += m_message.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeMsg& sTribeMsg ); -CPackData& operator>> ( CPackData& cPackData, STribeMsg& sTribeMsg ); - -struct STribeSysmsg -{ -public: - STribeSysmsg() : m_format(0), - m_title("ϵͳÌáʾ"), - m_stayTime(10000), - m_showBottom(1) - { - } - - ~STribeSysmsg() { } - STribeSysmsg(const uint8_t& chMsgType, const string& strMessage, const uint32_t& dwSendTime, const uint8_t& chFormat, const string& strContent, const string& strTitle= "ϵͳÌáʾ", const uint32_t& dwStayTime= 10000, const int32_t& lShowBottom= 1) - { - m_msgType = chMsgType; - m_message = strMessage; - m_sendTime = dwSendTime; - m_format = chFormat; - m_content = strContent; - m_title = strTitle; - m_stayTime = dwStayTime; - m_showBottom = lShowBottom; - } - STribeSysmsg& operator=( const STribeSysmsg& sTribeSysmsg ) - { - m_msgType = sTribeSysmsg.m_msgType; - m_message = sTribeSysmsg.m_message; - m_sendTime = sTribeSysmsg.m_sendTime; - m_format = sTribeSysmsg.m_format; - m_content = sTribeSysmsg.m_content; - m_title = sTribeSysmsg.m_title; - m_stayTime = sTribeSysmsg.m_stayTime; - m_showBottom = sTribeSysmsg.m_showBottom; - return *this; - } - - uint8_t m_msgType; - string m_message; - uint32_t m_sendTime; - uint8_t m_format; - string m_content; - string m_title; - uint32_t m_stayTime; - int32_t m_showBottom; - -public: - uint32_t Size() const; -}; - -inline uint32_t STribeSysmsg::Size() const -{ - uint32_t nSize = 35; - nSize += m_message.length(); - nSize += m_content.length(); - nSize += m_title.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeSysmsg& sTribeSysmsg ); -CPackData& operator>> ( CPackData& cPackData, STribeSysmsg& sTribeSysmsg ); - -struct SWebGroup -{ -public: - SWebGroup() - { - } - - ~SWebGroup() { } - SWebGroup(const uint32_t& dwGroupId, const string& strGroupName, const string& strServiceId, const string& strSiteId, const string& strWebId) - { - m_groupId = dwGroupId; - m_groupName = strGroupName; - m_serviceId = strServiceId; - m_siteId = strSiteId; - m_webId = strWebId; - } - SWebGroup& operator=( const SWebGroup& sWebGroup ) - { - m_groupId = sWebGroup.m_groupId; - m_groupName = sWebGroup.m_groupName; - m_serviceId = sWebGroup.m_serviceId; - m_siteId = sWebGroup.m_siteId; - m_webId = sWebGroup.m_webId; - return *this; - } - - uint32_t m_groupId; - string m_groupName; - string m_serviceId; - string m_siteId; - string m_webId; - -public: - uint32_t Size() const; -}; - -inline uint32_t SWebGroup::Size() const -{ - uint32_t nSize = 26; - nSize += m_groupName.length(); - nSize += m_serviceId.length(); - nSize += m_siteId.length(); - nSize += m_webId.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SWebGroup& sWebGroup ); -CPackData& operator>> ( CPackData& cPackData, SWebGroup& sWebGroup ); - -struct STribeId -{ -public: - STribeId() : m_groupId(0), - m_msgPopup(0) - { - } - - ~STribeId() { } - STribeId(const string& strTribeId, const string& strTribeName, const uint8_t& chTribeLevel, const uint8_t& chTribeStatus, const string& strExtSign, const uint32_t& dwGroupStamp, const uint8_t& chOpenTribe, const uint32_t& dwGroupId= 0, const uint8_t& chMsgPopup= 0) - { - m_tribeId = strTribeId; - m_tribeName = strTribeName; - m_tribeLevel = chTribeLevel; - m_tribeStatus = chTribeStatus; - m_extSign = strExtSign; - m_groupStamp = dwGroupStamp; - m_openTribe = chOpenTribe; - m_groupId = dwGroupId; - m_msgPopup = chMsgPopup; - } - STribeId& operator=( const STribeId& sTribeId ) - { - m_tribeId = sTribeId.m_tribeId; - m_tribeName = sTribeId.m_tribeName; - m_tribeLevel = sTribeId.m_tribeLevel; - m_tribeStatus = sTribeId.m_tribeStatus; - m_extSign = sTribeId.m_extSign; - m_groupStamp = sTribeId.m_groupStamp; - m_openTribe = sTribeId.m_openTribe; - m_groupId = sTribeId.m_groupId; - m_msgPopup = sTribeId.m_msgPopup; - return *this; - } - - string m_tribeId; - string m_tribeName; - uint8_t m_tribeLevel; - uint8_t m_tribeStatus; - string m_extSign; - uint32_t m_groupStamp; - uint8_t m_openTribe; - uint32_t m_groupId; - uint8_t m_msgPopup; - -public: - uint32_t Size() const; -}; - -inline uint32_t STribeId::Size() const -{ - uint32_t nSize = 34; - nSize += m_tribeId.length(); - nSize += m_tribeName.length(); - nSize += m_extSign.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeId& sTribeId ); -CPackData& operator>> ( CPackData& cPackData, STribeId& sTribeId ); - -#endif diff --git a/features/aliww/include/tcservice.h b/features/aliww/include/tcservice.h deleted file mode 100644 index 79f35a9..0000000 --- a/features/aliww/include/tcservice.h +++ /dev/null @@ -1,647 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `tcservice.ice' - -#ifndef __tcservice_h__ -#define __tcservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace TribeCacheService -{ - -class TCSrvMgr; -bool operator==(const TCSrvMgr&, const TCSrvMgr&); -bool operator!=(const TCSrvMgr&, const TCSrvMgr&); -bool operator<(const TCSrvMgr&, const TCSrvMgr&); -bool operator<=(const TCSrvMgr&, const TCSrvMgr&); -bool operator>(const TCSrvMgr&, const TCSrvMgr&); -bool operator>=(const TCSrvMgr&, const TCSrvMgr&); - -} - -} - -namespace TribeCacheService -{ - -class TCSrvMgr; -bool operator==(const TCSrvMgr&, const TCSrvMgr&); -bool operator!=(const TCSrvMgr&, const TCSrvMgr&); -bool operator<(const TCSrvMgr&, const TCSrvMgr&); -bool operator<=(const TCSrvMgr&, const TCSrvMgr&); -bool operator>(const TCSrvMgr&, const TCSrvMgr&); -bool operator>=(const TCSrvMgr&, const TCSrvMgr&); - -} - -namespace IceInternal -{ - -void incRef(::TribeCacheService::TCSrvMgr*); -void decRef(::TribeCacheService::TCSrvMgr*); - -void incRef(::IceProxy::TribeCacheService::TCSrvMgr*); -void decRef(::IceProxy::TribeCacheService::TCSrvMgr*); - -} - -namespace TribeCacheService -{ - -typedef ::IceInternal::Handle< ::TribeCacheService::TCSrvMgr> TCSrvMgrPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::TribeCacheService::TCSrvMgr> TCSrvMgrPrx; - -void __write(::IceInternal::BasicStream*, const TCSrvMgrPrx&); -void __read(::IceInternal::BasicStream*, TCSrvMgrPrx&); -void __write(::IceInternal::BasicStream*, const TCSrvMgrPtr&); -void __patch__TCSrvMgrPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const TCSrvMgrPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const TCSrvMgrPtr&); -void __decRefUnsafe(const TCSrvMgrPtr&); -void __clearHandleUnsafe(TCSrvMgrPtr&); - -} - -namespace TribeCacheService -{ - -struct STribeInfo -{ - ::Ice::Long tribeId; - ::std::string name; - ::Ice::Short tribeLevel; - ::Ice::Short tribeStatus; - ::std::string extSign; - ::Ice::Int groupStamp; - ::Ice::Short openTribe; - - bool operator==(const STribeInfo&) const; - bool operator!=(const STribeInfo&) const; - bool operator<(const STribeInfo&) const; - bool operator<=(const STribeInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::TribeCacheService::STribeInfo> STribeInfoSeq; - -class __U__STribeInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::TribeCacheService::STribeInfo*, const ::TribeCacheService::STribeInfo*, __U__STribeInfoSeq); -void __read(::IceInternal::BasicStream*, STribeInfoSeq&, __U__STribeInfoSeq); - -struct STribeInfo2 -{ - ::Ice::Long tribeId; - ::std::string name; - ::Ice::Short tribeLevel; - ::Ice::Short tribeStatus; - ::std::string extSign; - ::Ice::Int groupStamp; - ::Ice::Short openTribe; - ::Ice::Short popupFlag; - - bool operator==(const STribeInfo2&) const; - bool operator!=(const STribeInfo2&) const; - bool operator<(const STribeInfo2&) const; - bool operator<=(const STribeInfo2& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeInfo2& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeInfo2& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::TribeCacheService::STribeInfo2> STribeInfoSeq2; - -class __U__STribeInfoSeq2 { }; -void __write(::IceInternal::BasicStream*, const ::TribeCacheService::STribeInfo2*, const ::TribeCacheService::STribeInfo2*, __U__STribeInfoSeq2); -void __read(::IceInternal::BasicStream*, STribeInfoSeq2&, __U__STribeInfoSeq2); - -struct STribeOffMngMsg -{ - ::Ice::Long tribeId; - ::std::string memberId; - ::Ice::Short type; - ::std::string message; - ::Ice::Int sendTime; - - bool operator==(const STribeOffMngMsg&) const; - bool operator!=(const STribeOffMngMsg&) const; - bool operator<(const STribeOffMngMsg&) const; - bool operator<=(const STribeOffMngMsg& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const STribeOffMngMsg& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const STribeOffMngMsg& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::TribeCacheService::STribeOffMngMsg> STribeOffMngMsgSeq; - -class __U__STribeOffMngMsgSeq { }; -void __write(::IceInternal::BasicStream*, const ::TribeCacheService::STribeOffMngMsg*, const ::TribeCacheService::STribeOffMngMsg*, __U__STribeOffMngMsgSeq); -void __read(::IceInternal::BasicStream*, STribeOffMngMsgSeq&, __U__STribeOffMngMsgSeq); - -} - -namespace IceProxy -{ - -namespace TribeCacheService -{ - -class TCSrvMgr : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int GetUserTribe(const ::std::string& userId, ::TribeCacheService::STribeInfoSeq& tribeList) - { - return GetUserTribe(userId, tribeList, 0); - } - ::Ice::Int GetUserTribe(const ::std::string& userId, ::TribeCacheService::STribeInfoSeq& tribeList, const ::Ice::Context& __ctx) - { - return GetUserTribe(userId, tribeList, &__ctx); - } - -private: - - ::Ice::Int GetUserTribe(const ::std::string&, ::TribeCacheService::STribeInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserTribe2(const ::std::string& userId, ::TribeCacheService::STribeInfoSeq2& tribeList) - { - return GetUserTribe2(userId, tribeList, 0); - } - ::Ice::Int GetUserTribe2(const ::std::string& userId, ::TribeCacheService::STribeInfoSeq2& tribeList, const ::Ice::Context& __ctx) - { - return GetUserTribe2(userId, tribeList, &__ctx); - } - -private: - - ::Ice::Int GetUserTribe2(const ::std::string&, ::TribeCacheService::STribeInfoSeq2&, const ::Ice::Context*); - -public: - - ::Ice::Int AddUserTribes(const ::std::string& userId, const ::TribeCacheService::STribeInfoSeq& tribeList, const ::TribeCacheService::STribeOffMngMsgSeq& offMngMsg) - { - return AddUserTribes(userId, tribeList, offMngMsg, 0); - } - ::Ice::Int AddUserTribes(const ::std::string& userId, const ::TribeCacheService::STribeInfoSeq& tribeList, const ::TribeCacheService::STribeOffMngMsgSeq& offMngMsg, const ::Ice::Context& __ctx) - { - return AddUserTribes(userId, tribeList, offMngMsg, &__ctx); - } - -private: - - ::Ice::Int AddUserTribes(const ::std::string&, const ::TribeCacheService::STribeInfoSeq&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int AddUserTribes2(const ::std::string& userId, const ::TribeCacheService::STribeInfoSeq2& tribeList, const ::TribeCacheService::STribeOffMngMsgSeq& offMngMsg) - { - return AddUserTribes2(userId, tribeList, offMngMsg, 0); - } - ::Ice::Int AddUserTribes2(const ::std::string& userId, const ::TribeCacheService::STribeInfoSeq2& tribeList, const ::TribeCacheService::STribeOffMngMsgSeq& offMngMsg, const ::Ice::Context& __ctx) - { - return AddUserTribes2(userId, tribeList, offMngMsg, &__ctx); - } - -private: - - ::Ice::Int AddUserTribes2(const ::std::string&, const ::TribeCacheService::STribeInfoSeq2&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int AddUserTribe(const ::std::string& userId, const ::TribeCacheService::STribeInfo& tribeInfo) - { - return AddUserTribe(userId, tribeInfo, 0); - } - ::Ice::Int AddUserTribe(const ::std::string& userId, const ::TribeCacheService::STribeInfo& tribeInfo, const ::Ice::Context& __ctx) - { - return AddUserTribe(userId, tribeInfo, &__ctx); - } - -private: - - ::Ice::Int AddUserTribe(const ::std::string&, const ::TribeCacheService::STribeInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DelUserTribe(const ::std::string& userId, ::Ice::Long tribeId) - { - return DelUserTribe(userId, tribeId, 0); - } - ::Ice::Int DelUserTribe(const ::std::string& userId, ::Ice::Long tribeId, const ::Ice::Context& __ctx) - { - return DelUserTribe(userId, tribeId, &__ctx); - } - -private: - - ::Ice::Int DelUserTribe(const ::std::string&, ::Ice::Long, const ::Ice::Context*); - -public: - - ::Ice::Int ChgUserTribe(const ::std::string& userId, const ::TribeCacheService::STribeInfo& tribeInfo) - { - return ChgUserTribe(userId, tribeInfo, 0); - } - ::Ice::Int ChgUserTribe(const ::std::string& userId, const ::TribeCacheService::STribeInfo& tribeInfo, const ::Ice::Context& __ctx) - { - return ChgUserTribe(userId, tribeInfo, &__ctx); - } - -private: - - ::Ice::Int ChgUserTribe(const ::std::string&, const ::TribeCacheService::STribeInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int ChgUserTribe2(const ::std::string& userId, const ::TribeCacheService::STribeInfo2& tribeInfo) - { - return ChgUserTribe2(userId, tribeInfo, 0); - } - ::Ice::Int ChgUserTribe2(const ::std::string& userId, const ::TribeCacheService::STribeInfo2& tribeInfo, const ::Ice::Context& __ctx) - { - return ChgUserTribe2(userId, tribeInfo, &__ctx); - } - -private: - - ::Ice::Int ChgUserTribe2(const ::std::string&, const ::TribeCacheService::STribeInfo2&, const ::Ice::Context*); - -public: - - ::Ice::Int GetOffMngMsg(const ::std::string& userId, ::Ice::Long tribeId, ::TribeCacheService::STribeOffMngMsgSeq& offMngMsgList) - { - return GetOffMngMsg(userId, tribeId, offMngMsgList, 0); - } - ::Ice::Int GetOffMngMsg(const ::std::string& userId, ::Ice::Long tribeId, ::TribeCacheService::STribeOffMngMsgSeq& offMngMsgList, const ::Ice::Context& __ctx) - { - return GetOffMngMsg(userId, tribeId, offMngMsgList, &__ctx); - } - -private: - - ::Ice::Int GetOffMngMsg(const ::std::string&, ::Ice::Long, ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int AddOffMngMsg(const ::std::string& userId, const ::TribeCacheService::STribeOffMngMsg& offMngMsg) - { - return AddOffMngMsg(userId, offMngMsg, 0); - } - ::Ice::Int AddOffMngMsg(const ::std::string& userId, const ::TribeCacheService::STribeOffMngMsg& offMngMsg, const ::Ice::Context& __ctx) - { - return AddOffMngMsg(userId, offMngMsg, &__ctx); - } - -private: - - ::Ice::Int AddOffMngMsg(const ::std::string&, const ::TribeCacheService::STribeOffMngMsg&, const ::Ice::Context*); - -public: - - ::Ice::Int AddMsgList(const ::std::string& userId, const ::TribeCacheService::STribeOffMngMsgSeq& msgList) - { - return AddMsgList(userId, msgList, 0); - } - ::Ice::Int AddMsgList(const ::std::string& userId, const ::TribeCacheService::STribeOffMngMsgSeq& msgList, const ::Ice::Context& __ctx) - { - return AddMsgList(userId, msgList, &__ctx); - } - -private: - - ::Ice::Int AddMsgList(const ::std::string&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateTribe(const ::TribeCacheService::STribeInfo& tribeInfo) - { - return UpdateTribe(tribeInfo, 0); - } - ::Ice::Int UpdateTribe(const ::TribeCacheService::STribeInfo& tribeInfo, const ::Ice::Context& __ctx) - { - return UpdateTribe(tribeInfo, &__ctx); - } - -private: - - ::Ice::Int UpdateTribe(const ::TribeCacheService::STribeInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveTribe(::Ice::Long tribeId) - { - return RemoveTribe(tribeId, 0); - } - ::Ice::Int RemoveTribe(::Ice::Long tribeId, const ::Ice::Context& __ctx) - { - return RemoveTribe(tribeId, &__ctx); - } - -private: - - ::Ice::Int RemoveTribe(::Ice::Long, const ::Ice::Context*); - -public: - - ::Ice::Int GetOfflineMsg(const ::std::string& userId, ::TribeCacheService::STribeOffMngMsgSeq& offMngMsgList) - { - return GetOfflineMsg(userId, offMngMsgList, 0); - } - ::Ice::Int GetOfflineMsg(const ::std::string& userId, ::TribeCacheService::STribeOffMngMsgSeq& offMngMsgList, const ::Ice::Context& __ctx) - { - return GetOfflineMsg(userId, offMngMsgList, &__ctx); - } - -private: - - ::Ice::Int GetOfflineMsg(const ::std::string&, ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace TribeCacheService -{ - -class TCSrvMgr : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int GetUserTribe(const ::std::string&, ::TribeCacheService::STribeInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserTribe2(const ::std::string&, ::TribeCacheService::STribeInfoSeq2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddUserTribes(const ::std::string&, const ::TribeCacheService::STribeInfoSeq&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddUserTribes2(const ::std::string&, const ::TribeCacheService::STribeInfoSeq2&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddUserTribe(const ::std::string&, const ::TribeCacheService::STribeInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelUserTribe(const ::std::string&, ::Ice::Long, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ChgUserTribe(const ::std::string&, const ::TribeCacheService::STribeInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ChgUserTribe2(const ::std::string&, const ::TribeCacheService::STribeInfo2&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetOffMngMsg(const ::std::string&, ::Ice::Long, ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddOffMngMsg(const ::std::string&, const ::TribeCacheService::STribeOffMngMsg&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddMsgList(const ::std::string&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateTribe(const ::TribeCacheService::STribeInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveTribe(::Ice::Long, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetOfflineMsg(const ::std::string&, ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace TribeCacheService -{ - -class TCSrvMgr : virtual public ::IceDelegate::TribeCacheService::TCSrvMgr, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int GetUserTribe(const ::std::string&, ::TribeCacheService::STribeInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserTribe2(const ::std::string&, ::TribeCacheService::STribeInfoSeq2&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserTribes(const ::std::string&, const ::TribeCacheService::STribeInfoSeq&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserTribes2(const ::std::string&, const ::TribeCacheService::STribeInfoSeq2&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserTribe(const ::std::string&, const ::TribeCacheService::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DelUserTribe(const ::std::string&, ::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int ChgUserTribe(const ::std::string&, const ::TribeCacheService::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int ChgUserTribe2(const ::std::string&, const ::TribeCacheService::STribeInfo2&, const ::Ice::Context*); - - virtual ::Ice::Int GetOffMngMsg(const ::std::string&, ::Ice::Long, ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddOffMngMsg(const ::std::string&, const ::TribeCacheService::STribeOffMngMsg&, const ::Ice::Context*); - - virtual ::Ice::Int AddMsgList(const ::std::string&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateTribe(const ::TribeCacheService::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveTribe(::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int GetOfflineMsg(const ::std::string&, ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace TribeCacheService -{ - -class TCSrvMgr : virtual public ::IceDelegate::TribeCacheService::TCSrvMgr, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int GetUserTribe(const ::std::string&, ::TribeCacheService::STribeInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserTribe2(const ::std::string&, ::TribeCacheService::STribeInfoSeq2&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserTribes(const ::std::string&, const ::TribeCacheService::STribeInfoSeq&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserTribes2(const ::std::string&, const ::TribeCacheService::STribeInfoSeq2&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserTribe(const ::std::string&, const ::TribeCacheService::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DelUserTribe(const ::std::string&, ::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int ChgUserTribe(const ::std::string&, const ::TribeCacheService::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int ChgUserTribe2(const ::std::string&, const ::TribeCacheService::STribeInfo2&, const ::Ice::Context*); - - virtual ::Ice::Int GetOffMngMsg(const ::std::string&, ::Ice::Long, ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddOffMngMsg(const ::std::string&, const ::TribeCacheService::STribeOffMngMsg&, const ::Ice::Context*); - - virtual ::Ice::Int AddMsgList(const ::std::string&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateTribe(const ::TribeCacheService::STribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveTribe(::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int GetOfflineMsg(const ::std::string&, ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Context*); -}; - -} - -} - -namespace TribeCacheService -{ - -class TCSrvMgr : virtual public ::Ice::Object -{ -public: - - typedef TCSrvMgrPrx ProxyType; - typedef TCSrvMgrPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int GetUserTribe(const ::std::string&, ::TribeCacheService::STribeInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetUserTribe2(const ::std::string&, ::TribeCacheService::STribeInfoSeq2&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserTribe2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddUserTribes(const ::std::string&, const ::TribeCacheService::STribeInfoSeq&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddUserTribes(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddUserTribes2(const ::std::string&, const ::TribeCacheService::STribeInfoSeq2&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddUserTribes2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddUserTribe(const ::std::string&, const ::TribeCacheService::STribeInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddUserTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DelUserTribe(const ::std::string&, ::Ice::Long, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelUserTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int ChgUserTribe(const ::std::string&, const ::TribeCacheService::STribeInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ChgUserTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int ChgUserTribe2(const ::std::string&, const ::TribeCacheService::STribeInfo2&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ChgUserTribe2(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetOffMngMsg(const ::std::string&, ::Ice::Long, ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetOffMngMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddOffMngMsg(const ::std::string&, const ::TribeCacheService::STribeOffMngMsg&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddOffMngMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddMsgList(const ::std::string&, const ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddMsgList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateTribe(const ::TribeCacheService::STribeInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int RemoveTribe(::Ice::Long, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetOfflineMsg(const ::std::string&, ::TribeCacheService::STribeOffMngMsgSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetOfflineMsg(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__TCSrvMgrPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/tgsc_pack.h b/features/aliww/include/tgsc_pack.h deleted file mode 100644 index 715db21..0000000 --- a/features/aliww/include/tgsc_pack.h +++ /dev/null @@ -1,2407 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tgsc_pack.h -// Date: 2011-01-30 12:49:42 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __TGSC_PACK_H__ -#define __TGSC_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "const_macro.h" -#include "scs_head.h" -#include "tgsstrc_pack.h" -#include "tbsstrc_pack.h" - -using namespace std; - -enum TGSC_REQUEST -{ - TBSC_REQ_GET_ONLINEINFO = 0x6300001, - TBSC_REQ_NTF_MODIFYTRIBE = 0x6300002, - TBSC_REQ_GET_TRIBEMEMBER = 0x6300003, - TBSC_REQ_GET_MEMBERINFO = 0x6300004, - TBSC_REQ_GET_TRIBEMANAGER = 0x6300005, - TBSC_REQ_GET_USERTRIBE = 0x6300006, - TBSC_REQ_SEND_TRIBEMSG = 0x6300007, - TBSC_REQ_GET_TRIBEINFO = 0x6300008, - TBSC_REQ_GET_ACTLEVEL = 0x6300009, - TBSC_REQ_UNLOADTRIBE = 0x6300010, - TBSC_REQ_ACTIVE_USER = 0x6300100, - TBSC_REQ_DISACTIVE_USER = 0x6300101, - TBSC_REQ_STOP_TRIBE = 0x6300102, - TBSC_REQ_MODIFY_TRIBE = 0x6300103, - TBSC_REQ_ADD_TRIBE_MEMBER = 0x6300104, - TBSC_REQ_DEL_TRIBE_MEMBER = 0x6300105, - TBSC_REQ_QUIT_TRIBE = 0x6300106, - -}; - -enum TGSC_RESPONSE -{ - TBSC_RSP_GET_ONLINEINFO = 0x6310001, - TBSC_RSP_NTF_MODIFYTRIBE = 0x6310002, - TBSC_RSP_GET_TRIBEMEMBER = 0x6310003, - TBSC_RSP_GET_MEMBERINFO = 0x6310004, - TBSC_RSP_GET_TRIBEMANAGER = 0x6310005, - TBSC_RSP_GET_USERTRIBE = 0x6310006, - TBSC_RSP_SEND_TRIBEMSG = 0x6310007, - TBSC_RSP_GET_TRIBEINFO = 0x6310008, - TBSC_RSP_GET_ACTLEVEL = 0x6310009, - TBSC_RSP_UNLOADTRIBE = 0x6310010, - TBSC_RSP_ACTIVE_USER = 0x6310100, - TBSC_RSP_DISACTIVE_USER = 0x6310101, - TBSC_RSP_STOP_TRIBE = 0x6310102, - TBSC_RSP_MODIFY_TRIBE = 0x6310103, - TBSC_RSP_ADD_TRIBE_MEMBER = 0x6310104, - TBSC_RSP_DEL_TRIBE_MEMBER = 0x6310105, - TBSC_RSP_QUIT_TRIBE = 0x6310106, - -}; - -class CTbscReqGetOnlineinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_GET_ONLINEINFO - }; - CTbscReqGetOnlineinfo() - { - } - - ~CTbscReqGetOnlineinfo() { } - CTbscReqGetOnlineinfo(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbscReqGetOnlineinfo& operator=( const CTbscReqGetOnlineinfo& cTbscReqGetOnlineinfo ) - { - m_tribeId = cTbscReqGetOnlineinfo.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqGetOnlineinfo::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbscRspGetOnlineinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_GET_ONLINEINFO - }; - CTbscRspGetOnlineinfo() - { - } - - ~CTbscRspGetOnlineinfo() { } - CTbscRspGetOnlineinfo(const uint8_t& chRetcode, const string& strTribeId, const uint32_t& dwMemberNum, const uint32_t& dwVisitorNum) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberNum = dwMemberNum; - m_visitorNum = dwVisitorNum; - } - CTbscRspGetOnlineinfo& operator=( const CTbscRspGetOnlineinfo& cTbscRspGetOnlineinfo ) - { - m_retcode = cTbscRspGetOnlineinfo.m_retcode; - m_tribeId = cTbscRspGetOnlineinfo.m_tribeId; - m_memberNum = cTbscRspGetOnlineinfo.m_memberNum; - m_visitorNum = cTbscRspGetOnlineinfo.m_visitorNum; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint32_t& GetMemberNum () const { return m_memberNum; } - bool SetMemberNum ( const uint32_t& dwMemberNum ) - { - m_memberNum = dwMemberNum; - return true; - } - const uint32_t& GetVisitorNum () const { return m_visitorNum; } - bool SetVisitorNum ( const uint32_t& dwVisitorNum ) - { - m_visitorNum = dwVisitorNum; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - uint32_t m_memberNum; - uint32_t m_visitorNum; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspGetOnlineinfo::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbscReqNtfModifytribe : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_NTF_MODIFYTRIBE - }; - CTbscReqNtfModifytribe() - { - } - - ~CTbscReqNtfModifytribe() { } - CTbscReqNtfModifytribe(const string& strTribeId, const string& strUserId, const VECTOR< SModifyItem >& vecItemList) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_itemList = vecItemList; - } - CTbscReqNtfModifytribe& operator=( const CTbscReqNtfModifytribe& cTbscReqNtfModifytribe ) - { - m_tribeId = cTbscReqNtfModifytribe.m_tribeId; - m_userId = cTbscReqNtfModifytribe.m_userId; - m_itemList = cTbscReqNtfModifytribe.m_itemList; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const VECTOR< SModifyItem >& GetItemList () const { return m_itemList; } - bool SetItemList ( const VECTOR< SModifyItem >& vecItemList ) - { - m_itemList = vecItemList; - return true; - } -private: - string m_tribeId; - string m_userId; - VECTOR< SModifyItem > m_itemList; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqNtfModifytribe::Size() const -{ - uint32_t nSize = 17; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - for(uint32_t i = 0; i < m_itemList.size(); i++) - { - nSize += m_itemList[i].Size(); - } - return nSize; -} - -class CTbscRspNtfModifytribe : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_NTF_MODIFYTRIBE - }; - CTbscRspNtfModifytribe() - { - } - - ~CTbscRspNtfModifytribe() { } - CTbscRspNtfModifytribe(const uint8_t& chRetcode, const string& strTribeId, const string& strUserId, const VECTOR< SModifyItem >& vecItemList) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_userId = strUserId; - m_itemList = vecItemList; - } - CTbscRspNtfModifytribe& operator=( const CTbscRspNtfModifytribe& cTbscRspNtfModifytribe ) - { - m_retcode = cTbscRspNtfModifytribe.m_retcode; - m_tribeId = cTbscRspNtfModifytribe.m_tribeId; - m_userId = cTbscRspNtfModifytribe.m_userId; - m_itemList = cTbscRspNtfModifytribe.m_itemList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const VECTOR< SModifyItem >& GetItemList () const { return m_itemList; } - bool SetItemList ( const VECTOR< SModifyItem >& vecItemList ) - { - m_itemList = vecItemList; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_userId; - VECTOR< SModifyItem > m_itemList; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspNtfModifytribe::Size() const -{ - uint32_t nSize = 19; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - for(uint32_t i = 0; i < m_itemList.size(); i++) - { - nSize += m_itemList[i].Size(); - } - return nSize; -} - -class CTbscReqGetTribemember : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_GET_TRIBEMEMBER - }; - CTbscReqGetTribemember() - { - } - - ~CTbscReqGetTribemember() { } - CTbscReqGetTribemember(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbscReqGetTribemember& operator=( const CTbscReqGetTribemember& cTbscReqGetTribemember ) - { - m_tribeId = cTbscReqGetTribemember.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqGetTribemember::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbscRspGetTribemember : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_GET_TRIBEMEMBER - }; - CTbscRspGetTribemember() - { - } - - ~CTbscRspGetTribemember() { } - CTbscRspGetTribemember(const uint8_t& chRetcode, const string& strTribeId, const VECTOR< STmInfo >& vecMemberList) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_memberList = vecMemberList; - } - CTbscRspGetTribemember& operator=( const CTbscRspGetTribemember& cTbscRspGetTribemember ) - { - m_retcode = cTbscRspGetTribemember.m_retcode; - m_tribeId = cTbscRspGetTribemember.m_tribeId; - m_memberList = cTbscRspGetTribemember.m_memberList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< STmInfo >& GetMemberList () const { return m_memberList; } - bool SetMemberList ( const VECTOR< STmInfo >& vecMemberList ) - { - m_memberList = vecMemberList; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - VECTOR< STmInfo > m_memberList; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspGetTribemember::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - for(uint32_t i = 0; i < m_memberList.size(); i++) - { - nSize += m_memberList[i].Size(); - } - return nSize; -} - -class CTbscReqGetMemberinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_GET_MEMBERINFO - }; - CTbscReqGetMemberinfo() - { - } - - ~CTbscReqGetMemberinfo() { } - CTbscReqGetMemberinfo(const string& strTribeId, const string& strUserId) - { - m_tribeId = strTribeId; - m_userId = strUserId; - } - CTbscReqGetMemberinfo& operator=( const CTbscReqGetMemberinfo& cTbscReqGetMemberinfo ) - { - m_tribeId = cTbscReqGetMemberinfo.m_tribeId; - m_userId = cTbscReqGetMemberinfo.m_userId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } -private: - string m_tribeId; - string m_userId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqGetMemberinfo::Size() const -{ - uint32_t nSize = 11; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - return nSize; -} - -class CTbscRspGetMemberinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_GET_MEMBERINFO - }; - CTbscRspGetMemberinfo() - { - } - - ~CTbscRspGetMemberinfo() { } - CTbscRspGetMemberinfo(const uint8_t& chRetcode, const string& strTribeId, const string& strUserId, const STmInfo& sMemberInfo) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_userId = strUserId; - m_memberInfo = sMemberInfo; - } - CTbscRspGetMemberinfo& operator=( const CTbscRspGetMemberinfo& cTbscRspGetMemberinfo ) - { - m_retcode = cTbscRspGetMemberinfo.m_retcode; - m_tribeId = cTbscRspGetMemberinfo.m_tribeId; - m_userId = cTbscRspGetMemberinfo.m_userId; - m_memberInfo = cTbscRspGetMemberinfo.m_memberInfo; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const STmInfo& GetMemberInfo () const { return m_memberInfo; } - bool SetMemberInfo ( const STmInfo& sMemberInfo ) - { - m_memberInfo = sMemberInfo; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_userId; - STmInfo m_memberInfo; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspGetMemberinfo::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_memberInfo.Size(); - return nSize; -} - -class CTbscReqGetTribemanager : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_GET_TRIBEMANAGER - }; - CTbscReqGetTribemanager() - { - } - - ~CTbscReqGetTribemanager() { } - CTbscReqGetTribemanager(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbscReqGetTribemanager& operator=( const CTbscReqGetTribemanager& cTbscReqGetTribemanager ) - { - m_tribeId = cTbscReqGetTribemanager.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqGetTribemanager::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbscRspGetTribemanager : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_GET_TRIBEMANAGER - }; - CTbscRspGetTribemanager() - { - } - - ~CTbscRspGetTribemanager() { } - CTbscRspGetTribemanager(const uint8_t& chRetcode, const string& strTribeId, const VECTOR< string >& vecManagerList) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_managerList = vecManagerList; - } - CTbscRspGetTribemanager& operator=( const CTbscRspGetTribemanager& cTbscRspGetTribemanager ) - { - m_retcode = cTbscRspGetTribemanager.m_retcode; - m_tribeId = cTbscRspGetTribemanager.m_tribeId; - m_managerList = cTbscRspGetTribemanager.m_managerList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const VECTOR< string >& GetManagerList () const { return m_managerList; } - bool SetManagerList ( const VECTOR< string >& vecManagerList ) - { - m_managerList = vecManagerList; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - VECTOR< string > m_managerList; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspGetTribemanager::Size() const -{ - uint32_t nSize = 14; - nSize += m_tribeId.length(); - nSize += m_managerList.size() * 4; - for(uint32_t i = 0; i < m_managerList.size(); i++) - { - nSize += m_managerList[i].length(); - } - return nSize; -} - -class CTbscReqGetUsertribe : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_GET_USERTRIBE - }; - CTbscReqGetUsertribe() - { - } - - ~CTbscReqGetUsertribe() { } - CTbscReqGetUsertribe(const string& strUserId) - { - m_userId = strUserId; - } - CTbscReqGetUsertribe& operator=( const CTbscReqGetUsertribe& cTbscReqGetUsertribe ) - { - m_userId = cTbscReqGetUsertribe.m_userId; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } -private: - string m_userId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqGetUsertribe::Size() const -{ - uint32_t nSize = 6; - nSize += m_userId.length(); - return nSize; -} - -class CTbscRspGetUsertribe : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_GET_USERTRIBE - }; - CTbscRspGetUsertribe() - { - } - - ~CTbscRspGetUsertribe() { } - CTbscRspGetUsertribe(const uint8_t& chRetcode, const string& strUserId, const VECTOR< STribeId >& vecTribeList) - { - m_retcode = chRetcode; - m_userId = strUserId; - m_tribeList = vecTribeList; - } - CTbscRspGetUsertribe& operator=( const CTbscRspGetUsertribe& cTbscRspGetUsertribe ) - { - m_retcode = cTbscRspGetUsertribe.m_retcode; - m_userId = cTbscRspGetUsertribe.m_userId; - m_tribeList = cTbscRspGetUsertribe.m_tribeList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const VECTOR< STribeId >& GetTribeList () const { return m_tribeList; } - bool SetTribeList ( const VECTOR< STribeId >& vecTribeList ) - { - m_tribeList = vecTribeList; - return true; - } -private: - uint8_t m_retcode; - string m_userId; - VECTOR< STribeId > m_tribeList; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspGetUsertribe::Size() const -{ - uint32_t nSize = 14; - nSize += m_userId.length(); - for(uint32_t i = 0; i < m_tribeList.size(); i++) - { - nSize += m_tribeList[i].Size(); - } - return nSize; -} - -class CTbscReqSendTribemsg : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_SEND_TRIBEMSG - }; - CTbscReqSendTribemsg() : m_msgType(1) - { - } - - ~CTbscReqSendTribemsg() { } - CTbscReqSendTribemsg(const string& strTribeId, const string& strUserId, const string& strMessage, const uint8_t& chMsgType= 1) - { - m_tribeId = strTribeId; - m_userId = strUserId; - m_message = strMessage; - m_msgType = chMsgType; - } - CTbscReqSendTribemsg& operator=( const CTbscReqSendTribemsg& cTbscReqSendTribemsg ) - { - m_tribeId = cTbscReqSendTribemsg.m_tribeId; - m_userId = cTbscReqSendTribemsg.m_userId; - m_message = cTbscReqSendTribemsg.m_message; - m_msgType = cTbscReqSendTribemsg.m_msgType; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const uint8_t& GetMsgType () const { return m_msgType; } - bool SetMsgType ( const uint8_t& chMsgType ) - { - m_msgType = chMsgType; - return true; - } -private: - string m_tribeId; - string m_userId; - string m_message; - uint8_t m_msgType; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqSendTribemsg::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_message.length(); - return nSize; -} - -class CTbscRspSendTribemsg : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_SEND_TRIBEMSG - }; - CTbscRspSendTribemsg() : m_msgType(1) - { - } - - ~CTbscRspSendTribemsg() { } - CTbscRspSendTribemsg(const uint8_t& chRetcode, const string& strTribeId, const string& strMessage, const uint8_t& chMsgType= 1) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_message = strMessage; - m_msgType = chMsgType; - } - CTbscRspSendTribemsg& operator=( const CTbscRspSendTribemsg& cTbscRspSendTribemsg ) - { - m_retcode = cTbscRspSendTribemsg.m_retcode; - m_tribeId = cTbscRspSendTribemsg.m_tribeId; - m_message = cTbscRspSendTribemsg.m_message; - m_msgType = cTbscRspSendTribemsg.m_msgType; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const string& GetMessage () const { return m_message; } - bool SetMessage ( const string& strMessage ) - { - m_message = strMessage; - return true; - } - const uint8_t& GetMsgType () const { return m_msgType; } - bool SetMsgType ( const uint8_t& chMsgType ) - { - m_msgType = chMsgType; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - string m_message; - uint8_t m_msgType; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspSendTribemsg::Size() const -{ - uint32_t nSize = 15; - nSize += m_tribeId.length(); - nSize += m_message.length(); - return nSize; -} - -class CTbscReqGetTribeinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_GET_TRIBEINFO - }; - CTbscReqGetTribeinfo() - { - } - - ~CTbscReqGetTribeinfo() { } - CTbscReqGetTribeinfo(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbscReqGetTribeinfo& operator=( const CTbscReqGetTribeinfo& cTbscReqGetTribeinfo ) - { - m_tribeId = cTbscReqGetTribeinfo.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqGetTribeinfo::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbscRspGetTribeinfo : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_GET_TRIBEINFO - }; - CTbscRspGetTribeinfo() - { - } - - ~CTbscRspGetTribeinfo() { } - CTbscRspGetTribeinfo(const uint8_t& chRetcode, const string& strTribeId, const STribeInfo& sTribeInfo) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeInfo = sTribeInfo; - } - CTbscRspGetTribeinfo& operator=( const CTbscRspGetTribeinfo& cTbscRspGetTribeinfo ) - { - m_retcode = cTbscRspGetTribeinfo.m_retcode; - m_tribeId = cTbscRspGetTribeinfo.m_tribeId; - m_tribeInfo = cTbscRspGetTribeinfo.m_tribeInfo; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const STribeInfo& GetTribeInfo () const { return m_tribeInfo; } - bool SetTribeInfo ( const STribeInfo& sTribeInfo ) - { - m_tribeInfo = sTribeInfo; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - STribeInfo m_tribeInfo; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspGetTribeinfo::Size() const -{ - uint32_t nSize = 9; - nSize += m_tribeId.length(); - nSize += m_tribeInfo.Size(); - return nSize; -} - -class CTbscReqGetActlevel : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_GET_ACTLEVEL - }; - CTbscReqGetActlevel() - { - } - - ~CTbscReqGetActlevel() { } - CTbscReqGetActlevel(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbscReqGetActlevel& operator=( const CTbscReqGetActlevel& cTbscReqGetActlevel ) - { - m_tribeId = cTbscReqGetActlevel.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqGetActlevel::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbscRspGetActlevel : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_GET_ACTLEVEL - }; - CTbscRspGetActlevel() - { - } - - ~CTbscRspGetActlevel() { } - CTbscRspGetActlevel(const uint8_t& chRetcode, const string& strTribeId, const uint32_t& dwActiveLevel) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_activeLevel = dwActiveLevel; - } - CTbscRspGetActlevel& operator=( const CTbscRspGetActlevel& cTbscRspGetActlevel ) - { - m_retcode = cTbscRspGetActlevel.m_retcode; - m_tribeId = cTbscRspGetActlevel.m_tribeId; - m_activeLevel = cTbscRspGetActlevel.m_activeLevel; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint32_t& GetActiveLevel () const { return m_activeLevel; } - bool SetActiveLevel ( const uint32_t& dwActiveLevel ) - { - m_activeLevel = dwActiveLevel; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - uint32_t m_activeLevel; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspGetActlevel::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbscReqUnloadtribe : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_UNLOADTRIBE - }; - CTbscReqUnloadtribe() - { - } - - ~CTbscReqUnloadtribe() { } - CTbscReqUnloadtribe(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbscReqUnloadtribe& operator=( const CTbscReqUnloadtribe& cTbscReqUnloadtribe ) - { - m_tribeId = cTbscReqUnloadtribe.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqUnloadtribe::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbscRspUnloadtribe : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_UNLOADTRIBE - }; - CTbscRspUnloadtribe() - { - } - - ~CTbscRspUnloadtribe() { } - CTbscRspUnloadtribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CTbscRspUnloadtribe& operator=( const CTbscRspUnloadtribe& cTbscRspUnloadtribe ) - { - m_retcode = cTbscRspUnloadtribe.m_retcode; - m_tribeId = cTbscRspUnloadtribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspUnloadtribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbscReqActiveUser : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_ACTIVE_USER - }; - CTbscReqActiveUser() - { - } - - ~CTbscReqActiveUser() { } - CTbscReqActiveUser(const string& strUserId, const string& strWebUid, const VECTOR< string >& vecTribeList) - { - m_userId = strUserId; - m_webUid = strWebUid; - m_tribeList = vecTribeList; - } - CTbscReqActiveUser& operator=( const CTbscReqActiveUser& cTbscReqActiveUser ) - { - m_userId = cTbscReqActiveUser.m_userId; - m_webUid = cTbscReqActiveUser.m_webUid; - m_tribeList = cTbscReqActiveUser.m_tribeList; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetWebUid () const { return m_webUid; } - bool SetWebUid ( const string& strWebUid ) - { - m_webUid = strWebUid; - return true; - } - const VECTOR< string >& GetTribeList () const { return m_tribeList; } - bool SetTribeList ( const VECTOR< string >& vecTribeList ) - { - m_tribeList = vecTribeList; - return true; - } -private: - string m_userId; - string m_webUid; - VECTOR< string > m_tribeList; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqActiveUser::Size() const -{ - uint32_t nSize = 17; - nSize += m_userId.length(); - nSize += m_webUid.length(); - nSize += m_tribeList.size() * 4; - for(uint32_t i = 0; i < m_tribeList.size(); i++) - { - nSize += m_tribeList[i].length(); - } - return nSize; -} - -class CTbscRspActiveUser : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_ACTIVE_USER - }; - CTbscRspActiveUser() - { - } - - ~CTbscRspActiveUser() { } - CTbscRspActiveUser(const uint8_t& chRetcode, const string& strUserId, const string& strWebUid, const VECTOR< string >& vecTribeList) - { - m_retcode = chRetcode; - m_userId = strUserId; - m_webUid = strWebUid; - m_tribeList = vecTribeList; - } - CTbscRspActiveUser& operator=( const CTbscRspActiveUser& cTbscRspActiveUser ) - { - m_retcode = cTbscRspActiveUser.m_retcode; - m_userId = cTbscRspActiveUser.m_userId; - m_webUid = cTbscRspActiveUser.m_webUid; - m_tribeList = cTbscRspActiveUser.m_tribeList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetWebUid () const { return m_webUid; } - bool SetWebUid ( const string& strWebUid ) - { - m_webUid = strWebUid; - return true; - } - const VECTOR< string >& GetTribeList () const { return m_tribeList; } - bool SetTribeList ( const VECTOR< string >& vecTribeList ) - { - m_tribeList = vecTribeList; - return true; - } -private: - uint8_t m_retcode; - string m_userId; - string m_webUid; - VECTOR< string > m_tribeList; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspActiveUser::Size() const -{ - uint32_t nSize = 19; - nSize += m_userId.length(); - nSize += m_webUid.length(); - nSize += m_tribeList.size() * 4; - for(uint32_t i = 0; i < m_tribeList.size(); i++) - { - nSize += m_tribeList[i].length(); - } - return nSize; -} - -class CTbscReqDisactiveUser : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_DISACTIVE_USER - }; - CTbscReqDisactiveUser() - { - } - - ~CTbscReqDisactiveUser() { } - CTbscReqDisactiveUser(const string& strUserId, const string& strWebUid, const VECTOR< string >& vecTribeList) - { - m_userId = strUserId; - m_webUid = strWebUid; - m_tribeList = vecTribeList; - } - CTbscReqDisactiveUser& operator=( const CTbscReqDisactiveUser& cTbscReqDisactiveUser ) - { - m_userId = cTbscReqDisactiveUser.m_userId; - m_webUid = cTbscReqDisactiveUser.m_webUid; - m_tribeList = cTbscReqDisactiveUser.m_tribeList; - return *this; - } - - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetWebUid () const { return m_webUid; } - bool SetWebUid ( const string& strWebUid ) - { - m_webUid = strWebUid; - return true; - } - const VECTOR< string >& GetTribeList () const { return m_tribeList; } - bool SetTribeList ( const VECTOR< string >& vecTribeList ) - { - m_tribeList = vecTribeList; - return true; - } -private: - string m_userId; - string m_webUid; - VECTOR< string > m_tribeList; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqDisactiveUser::Size() const -{ - uint32_t nSize = 17; - nSize += m_userId.length(); - nSize += m_webUid.length(); - nSize += m_tribeList.size() * 4; - for(uint32_t i = 0; i < m_tribeList.size(); i++) - { - nSize += m_tribeList[i].length(); - } - return nSize; -} - -class CTbscRspDisactiveUser : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_DISACTIVE_USER - }; - CTbscRspDisactiveUser() - { - } - - ~CTbscRspDisactiveUser() { } - CTbscRspDisactiveUser(const uint8_t& chRetcode, const string& strUserId, const string& strWebUid, const VECTOR< string >& vecTribeList) - { - m_retcode = chRetcode; - m_userId = strUserId; - m_webUid = strWebUid; - m_tribeList = vecTribeList; - } - CTbscRspDisactiveUser& operator=( const CTbscRspDisactiveUser& cTbscRspDisactiveUser ) - { - m_retcode = cTbscRspDisactiveUser.m_retcode; - m_userId = cTbscRspDisactiveUser.m_userId; - m_webUid = cTbscRspDisactiveUser.m_webUid; - m_tribeList = cTbscRspDisactiveUser.m_tribeList; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetWebUid () const { return m_webUid; } - bool SetWebUid ( const string& strWebUid ) - { - m_webUid = strWebUid; - return true; - } - const VECTOR< string >& GetTribeList () const { return m_tribeList; } - bool SetTribeList ( const VECTOR< string >& vecTribeList ) - { - m_tribeList = vecTribeList; - return true; - } -private: - uint8_t m_retcode; - string m_userId; - string m_webUid; - VECTOR< string > m_tribeList; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspDisactiveUser::Size() const -{ - uint32_t nSize = 19; - nSize += m_userId.length(); - nSize += m_webUid.length(); - nSize += m_tribeList.size() * 4; - for(uint32_t i = 0; i < m_tribeList.size(); i++) - { - nSize += m_tribeList[i].length(); - } - return nSize; -} - -class CTbscReqStopTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_STOP_TRIBE - }; - CTbscReqStopTribe() - { - } - - ~CTbscReqStopTribe() { } - CTbscReqStopTribe(const string& strTribeId) - { - m_tribeId = strTribeId; - } - CTbscReqStopTribe& operator=( const CTbscReqStopTribe& cTbscReqStopTribe ) - { - m_tribeId = cTbscReqStopTribe.m_tribeId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - string m_tribeId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqStopTribe::Size() const -{ - uint32_t nSize = 6; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbscRspStopTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_STOP_TRIBE - }; - CTbscRspStopTribe() - { - } - - ~CTbscRspStopTribe() { } - CTbscRspStopTribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CTbscRspStopTribe& operator=( const CTbscRspStopTribe& cTbscRspStopTribe ) - { - m_retcode = cTbscRspStopTribe.m_retcode; - m_tribeId = cTbscRspStopTribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspStopTribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -class CTbscReqModifyTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_MODIFY_TRIBE - }; - CTbscReqModifyTribe() - { - } - - ~CTbscReqModifyTribe() { } - CTbscReqModifyTribe(const string& strTribeId, const map< string,string >& mapItems) - { - m_tribeId = strTribeId; - m_items = mapItems; - } - CTbscReqModifyTribe& operator=( const CTbscReqModifyTribe& cTbscReqModifyTribe ) - { - m_tribeId = cTbscReqModifyTribe.m_tribeId; - m_items = cTbscReqModifyTribe.m_items; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const map< string,string >& GetItems () const { return m_items; } - bool SetItems ( const map< string,string >& mapItems ) - { - m_items = mapItems; - return true; - } -private: - string m_tribeId; - map< string,string > m_items; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqModifyTribe::Size() const -{ - uint32_t nSize = 10; - nSize += m_tribeId.length(); - nSize += m_items.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CTbscRspModifyTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_MODIFY_TRIBE - }; - CTbscRspModifyTribe() - { - } - - ~CTbscRspModifyTribe() { } - CTbscRspModifyTribe(const uint8_t& chRetcode, const string& strTribeId, const map< string,string >& mapItems) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_items = mapItems; - } - CTbscRspModifyTribe& operator=( const CTbscRspModifyTribe& cTbscRspModifyTribe ) - { - m_retcode = cTbscRspModifyTribe.m_retcode; - m_tribeId = cTbscRspModifyTribe.m_tribeId; - m_items = cTbscRspModifyTribe.m_items; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const map< string,string >& GetItems () const { return m_items; } - bool SetItems ( const map< string,string >& mapItems ) - { - m_items = mapItems; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - map< string,string > m_items; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspModifyTribe::Size() const -{ - uint32_t nSize = 12; - nSize += m_tribeId.length(); - nSize += m_items.size() * 8; - { - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - nSize += itr->first.length(); - nSize += itr->second.length(); - } - } - return nSize; -} - -class CTbscReqAddTribeMember : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_ADD_TRIBE_MEMBER - }; - CTbscReqAddTribeMember() - { - } - - ~CTbscReqAddTribeMember() { } - CTbscReqAddTribeMember(const string& strTribeId, const uint8_t& chTribeLevel, const string& strUserId, const string& strName) - { - m_tribeId = strTribeId; - m_tribeLevel = chTribeLevel; - m_userId = strUserId; - m_name = strName; - } - CTbscReqAddTribeMember& operator=( const CTbscReqAddTribeMember& cTbscReqAddTribeMember ) - { - m_tribeId = cTbscReqAddTribeMember.m_tribeId; - m_tribeLevel = cTbscReqAddTribeMember.m_tribeLevel; - m_userId = cTbscReqAddTribeMember.m_userId; - m_name = cTbscReqAddTribeMember.m_name; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetTribeLevel () const { return m_tribeLevel; } - bool SetTribeLevel ( const uint8_t& chTribeLevel ) - { - m_tribeLevel = chTribeLevel; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetName () const { return m_name; } - bool SetName ( const string& strName ) - { - m_name = strName; - return true; - } -private: - string m_tribeId; - uint8_t m_tribeLevel; - string m_userId; - string m_name; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqAddTribeMember::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_name.length(); - return nSize; -} - -class CTbscRspAddTribeMember : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_ADD_TRIBE_MEMBER - }; - CTbscRspAddTribeMember() - { - } - - ~CTbscRspAddTribeMember() { } - CTbscRspAddTribeMember(const uint8_t& chRetcode, const string& strTribeId, const uint8_t& chTribeLevel, const string& strUserId, const string& strName) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeLevel = chTribeLevel; - m_userId = strUserId; - m_name = strName; - } - CTbscRspAddTribeMember& operator=( const CTbscRspAddTribeMember& cTbscRspAddTribeMember ) - { - m_retcode = cTbscRspAddTribeMember.m_retcode; - m_tribeId = cTbscRspAddTribeMember.m_tribeId; - m_tribeLevel = cTbscRspAddTribeMember.m_tribeLevel; - m_userId = cTbscRspAddTribeMember.m_userId; - m_name = cTbscRspAddTribeMember.m_name; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetTribeLevel () const { return m_tribeLevel; } - bool SetTribeLevel ( const uint8_t& chTribeLevel ) - { - m_tribeLevel = chTribeLevel; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetName () const { return m_name; } - bool SetName ( const string& strName ) - { - m_name = strName; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - uint8_t m_tribeLevel; - string m_userId; - string m_name; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspAddTribeMember::Size() const -{ - uint32_t nSize = 20; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_name.length(); - return nSize; -} - -class CTbscReqDelTribeMember : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_DEL_TRIBE_MEMBER - }; - CTbscReqDelTribeMember() - { - } - - ~CTbscReqDelTribeMember() { } - CTbscReqDelTribeMember(const string& strTribeId, const uint8_t& chTribeLevel, const string& strUserId, const string& strOperId) - { - m_tribeId = strTribeId; - m_tribeLevel = chTribeLevel; - m_userId = strUserId; - m_operId = strOperId; - } - CTbscReqDelTribeMember& operator=( const CTbscReqDelTribeMember& cTbscReqDelTribeMember ) - { - m_tribeId = cTbscReqDelTribeMember.m_tribeId; - m_tribeLevel = cTbscReqDelTribeMember.m_tribeLevel; - m_userId = cTbscReqDelTribeMember.m_userId; - m_operId = cTbscReqDelTribeMember.m_operId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetTribeLevel () const { return m_tribeLevel; } - bool SetTribeLevel ( const uint8_t& chTribeLevel ) - { - m_tribeLevel = chTribeLevel; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetOperId () const { return m_operId; } - bool SetOperId ( const string& strOperId ) - { - m_operId = strOperId; - return true; - } -private: - string m_tribeId; - uint8_t m_tribeLevel; - string m_userId; - string m_operId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqDelTribeMember::Size() const -{ - uint32_t nSize = 18; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_operId.length(); - return nSize; -} - -class CTbscRspDelTribeMember : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_DEL_TRIBE_MEMBER - }; - CTbscRspDelTribeMember() - { - } - - ~CTbscRspDelTribeMember() { } - CTbscRspDelTribeMember(const uint8_t& chRetcode, const string& strTribeId, const uint8_t& chTribeLevel, const string& strUserId, const string& strOperId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - m_tribeLevel = chTribeLevel; - m_userId = strUserId; - m_operId = strOperId; - } - CTbscRspDelTribeMember& operator=( const CTbscRspDelTribeMember& cTbscRspDelTribeMember ) - { - m_retcode = cTbscRspDelTribeMember.m_retcode; - m_tribeId = cTbscRspDelTribeMember.m_tribeId; - m_tribeLevel = cTbscRspDelTribeMember.m_tribeLevel; - m_userId = cTbscRspDelTribeMember.m_userId; - m_operId = cTbscRspDelTribeMember.m_operId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetTribeLevel () const { return m_tribeLevel; } - bool SetTribeLevel ( const uint8_t& chTribeLevel ) - { - m_tribeLevel = chTribeLevel; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } - const string& GetOperId () const { return m_operId; } - bool SetOperId ( const string& strOperId ) - { - m_operId = strOperId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - uint8_t m_tribeLevel; - string m_userId; - string m_operId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspDelTribeMember::Size() const -{ - uint32_t nSize = 20; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - nSize += m_operId.length(); - return nSize; -} - -class CTbscReqQuitTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_REQ_QUIT_TRIBE - }; - CTbscReqQuitTribe() - { - } - - ~CTbscReqQuitTribe() { } - CTbscReqQuitTribe(const string& strTribeId, const uint8_t& chTribeLevel, const string& strUserId) - { - m_tribeId = strTribeId; - m_tribeLevel = chTribeLevel; - m_userId = strUserId; - } - CTbscReqQuitTribe& operator=( const CTbscReqQuitTribe& cTbscReqQuitTribe ) - { - m_tribeId = cTbscReqQuitTribe.m_tribeId; - m_tribeLevel = cTbscReqQuitTribe.m_tribeLevel; - m_userId = cTbscReqQuitTribe.m_userId; - return *this; - } - - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } - const uint8_t& GetTribeLevel () const { return m_tribeLevel; } - bool SetTribeLevel ( const uint8_t& chTribeLevel ) - { - m_tribeLevel = chTribeLevel; - return true; - } - const string& GetUserId () const { return m_userId; } - bool SetUserId ( const string& strUserId ) - { - if(strUserId.size() > 64) - return false; - m_userId = strUserId; - return true; - } -private: - string m_tribeId; - uint8_t m_tribeLevel; - string m_userId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscReqQuitTribe::Size() const -{ - uint32_t nSize = 13; - nSize += m_tribeId.length(); - nSize += m_userId.length(); - return nSize; -} - -class CTbscRspQuitTribe : public CPackData -{ -public: - enum - { - CMD_ID = TBSC_RSP_QUIT_TRIBE - }; - CTbscRspQuitTribe() - { - } - - ~CTbscRspQuitTribe() { } - CTbscRspQuitTribe(const uint8_t& chRetcode, const string& strTribeId) - { - m_retcode = chRetcode; - m_tribeId = strTribeId; - } - CTbscRspQuitTribe& operator=( const CTbscRspQuitTribe& cTbscRspQuitTribe ) - { - m_retcode = cTbscRspQuitTribe.m_retcode; - m_tribeId = cTbscRspQuitTribe.m_tribeId; - return *this; - } - - const uint8_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint8_t& chRetcode ) - { - m_retcode = chRetcode; - return true; - } - const string& GetTribeId () const { return m_tribeId; } - bool SetTribeId ( const string& strTribeId ) - { - if(strTribeId.size() > 20) - return false; - m_tribeId = strTribeId; - return true; - } -private: - uint8_t m_retcode; - string m_tribeId; - -public: - CScsHead m_scsHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData); - uint32_t Size() const; -}; - -inline uint32_t CTbscRspQuitTribe::Size() const -{ - uint32_t nSize = 8; - nSize += m_tribeId.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/tgsstrc_pack.h b/features/aliww/include/tgsstrc_pack.h deleted file mode 100644 index 4817108..0000000 --- a/features/aliww/include/tgsstrc_pack.h +++ /dev/null @@ -1,56 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tgsstrc_pack.h -// Date: 2011-01-30 12:49:42 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __TGSSTRC_PACK_H__ -#define __TGSSTRC_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "const_macro.h" - -using namespace std; - -struct SModifyItem -{ -public: - SModifyItem() - { - } - - ~SModifyItem() { } - SModifyItem(const uint8_t& chId, const string& strContent) - { - m_id = chId; - m_content = strContent; - } - SModifyItem& operator=( const SModifyItem& sModifyItem ) - { - m_id = sModifyItem.m_id; - m_content = sModifyItem.m_content; - return *this; - } - - uint8_t m_id; - string m_content; - -public: - uint32_t Size() const; -}; - -inline uint32_t SModifyItem::Size() const -{ - uint32_t nSize = 8; - nSize += m_content.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SModifyItem& sModifyItem ); -CPackData& operator>> ( CPackData& cPackData, SModifyItem& sModifyItem ); - -#endif diff --git a/features/aliww/include/tmpsession.h b/features/aliww/include/tmpsession.h deleted file mode 100644 index c7bbdcb..0000000 --- a/features/aliww/include/tmpsession.h +++ /dev/null @@ -1,252 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `tmpsession.ice' - -#ifndef __tmpsession_h__ -#define __tmpsession_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class TmpSessionMgr; -bool operator==(const TmpSessionMgr&, const TmpSessionMgr&); -bool operator!=(const TmpSessionMgr&, const TmpSessionMgr&); -bool operator<(const TmpSessionMgr&, const TmpSessionMgr&); -bool operator<=(const TmpSessionMgr&, const TmpSessionMgr&); -bool operator>(const TmpSessionMgr&, const TmpSessionMgr&); -bool operator>=(const TmpSessionMgr&, const TmpSessionMgr&); - -} - -} - -namespace AliIM -{ - -class TmpSessionMgr; -bool operator==(const TmpSessionMgr&, const TmpSessionMgr&); -bool operator!=(const TmpSessionMgr&, const TmpSessionMgr&); -bool operator<(const TmpSessionMgr&, const TmpSessionMgr&); -bool operator<=(const TmpSessionMgr&, const TmpSessionMgr&); -bool operator>(const TmpSessionMgr&, const TmpSessionMgr&); -bool operator>=(const TmpSessionMgr&, const TmpSessionMgr&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::TmpSessionMgr*); -void decRef(::AliIM::TmpSessionMgr*); - -void incRef(::IceProxy::AliIM::TmpSessionMgr*); -void decRef(::IceProxy::AliIM::TmpSessionMgr*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::TmpSessionMgr> TmpSessionMgrPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::TmpSessionMgr> TmpSessionMgrPrx; - -void __write(::IceInternal::BasicStream*, const TmpSessionMgrPrx&); -void __read(::IceInternal::BasicStream*, TmpSessionMgrPrx&); -void __write(::IceInternal::BasicStream*, const TmpSessionMgrPtr&); -void __patch__TmpSessionMgrPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const TmpSessionMgrPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const TmpSessionMgrPtr&); -void __decRefUnsafe(const TmpSessionMgrPtr&); -void __clearHandleUnsafe(TmpSessionMgrPtr&); - -} - -namespace AliIM -{ - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class TmpSessionMgr : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int getUserSession(const ::std::string& uid, ::std::string& sessionNo) - { - return getUserSession(uid, sessionNo, 0); - } - ::Ice::Int getUserSession(const ::std::string& uid, ::std::string& sessionNo, const ::Ice::Context& __ctx) - { - return getUserSession(uid, sessionNo, &__ctx); - } - -private: - - ::Ice::Int getUserSession(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int checkUserSession(const ::std::string& uid, const ::std::string& sessionNo) - { - return checkUserSession(uid, sessionNo, 0); - } - ::Ice::Int checkUserSession(const ::std::string& uid, const ::std::string& sessionNo, const ::Ice::Context& __ctx) - { - return checkUserSession(uid, sessionNo, &__ctx); - } - -private: - - ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class TmpSessionMgr : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int getUserSession(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class TmpSessionMgr : virtual public ::IceDelegate::AliIM::TmpSessionMgr, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int getUserSession(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class TmpSessionMgr : virtual public ::IceDelegate::AliIM::TmpSessionMgr, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int getUserSession(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class TmpSessionMgr : virtual public ::Ice::Object -{ -public: - - typedef TmpSessionMgrPrx ProxyType; - typedef TmpSessionMgrPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int getUserSession(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkUserSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__TmpSessionMgrPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/tpfs_pack.h b/features/aliww/include/tpfs_pack.h deleted file mode 100644 index 3780f8b..0000000 --- a/features/aliww/include/tpfs_pack.h +++ /dev/null @@ -1,1982 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tpfs_pack.h -// Date: 2011-03-09 14:14:03 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#ifndef __TPFS_PACK_H__ -#define __TPFS_PACK_H__ - -#include -#include -#include -#include "packdata.h" -#include "des.h" -#include -#include "sc_head.h" -#include "const_macro.h" -#include "imsc_cmd.h" - -using namespace std; - -class CImReqChatChkver : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHAT_CHKVER - }; - CImReqChatChkver() - { - } - - ~CImReqChatChkver() { } - CImReqChatChkver(const string& strVersion) - { - m_version = strVersion; - } - CImReqChatChkver& operator=( const CImReqChatChkver& cImReqChatChkver ) - { - m_version = cImReqChatChkver.m_version; - return *this; - } - - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - if(strVersion.size() > 128) - return false; - m_version = strVersion; - return true; - } -private: - string m_version; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChatChkver::Size() const -{ - uint32_t nSize = 6; - nSize += m_version.length(); - return nSize; -} - -class CImRspChatChkver : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHAT_CHKVER - }; - CImRspChatChkver() - { - } - - ~CImRspChatChkver() { } - CImRspChatChkver(const uint32_t& dwRetcode, const string& strRemark, const uint32_t& dwConnectNo, const string& strPubkey) - { - m_retcode = dwRetcode; - m_remark = strRemark; - m_connectNo = dwConnectNo; - m_pubkey = strPubkey; - } - CImRspChatChkver& operator=( const CImRspChatChkver& cImRspChatChkver ) - { - m_retcode = cImRspChatChkver.m_retcode; - m_remark = cImRspChatChkver.m_remark; - m_connectNo = cImRspChatChkver.m_connectNo; - m_pubkey = cImRspChatChkver.m_pubkey; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const string& GetRemark () const { return m_remark; } - bool SetRemark ( const string& strRemark ) - { - if(strRemark.size() > 256) - return false; - m_remark = strRemark; - return true; - } - const uint32_t& GetConnectNo () const { return m_connectNo; } - bool SetConnectNo ( const uint32_t& dwConnectNo ) - { - m_connectNo = dwConnectNo; - return true; - } - const string& GetPubkey () const { return m_pubkey; } - bool SetPubkey ( const string& strPubkey ) - { - m_pubkey = strPubkey; - return true; - } -private: - uint32_t m_retcode; - string m_remark; - uint32_t m_connectNo; - string m_pubkey; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChatChkver::Size() const -{ - uint32_t nSize = 21; - nSize += m_remark.length(); - nSize += m_pubkey.length(); - return nSize; -} - -class CImReqChatPreidentify : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHAT_PREIDENTIFY - }; - CImReqChatPreidentify() - { - } - - ~CImReqChatPreidentify() { } - CImReqChatPreidentify(const uint32_t& dwConnectNo, const string& strWorkKey, const string& strStrlogin) - { - m_connectNo = dwConnectNo; - m_workKey = strWorkKey; - m_strlogin = strStrlogin; - } - CImReqChatPreidentify& operator=( const CImReqChatPreidentify& cImReqChatPreidentify ) - { - m_connectNo = cImReqChatPreidentify.m_connectNo; - m_workKey = cImReqChatPreidentify.m_workKey; - m_strlogin = cImReqChatPreidentify.m_strlogin; - return *this; - } - - const uint32_t& GetConnectNo () const { return m_connectNo; } - bool SetConnectNo ( const uint32_t& dwConnectNo ) - { - m_connectNo = dwConnectNo; - return true; - } - const string& GetWorkKey () const { return m_workKey; } - bool SetWorkKey ( const string& strWorkKey ) - { - if(strWorkKey.size() > 128) - return false; - m_workKey = strWorkKey; - return true; - } - const string& GetStrlogin () const { return m_strlogin; } - bool SetStrlogin ( const string& strStrlogin ) - { - m_strlogin = strStrlogin; - return true; - } -private: - uint32_t m_connectNo; - string m_workKey; - string m_strlogin; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChatPreidentify::Size() const -{ - uint32_t nSize = 16; - nSize += m_workKey.length(); - nSize += m_strlogin.length(); - return nSize; -} - -class CImReqChatIdentify : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHAT_IDENTIFY - }; - CImReqChatIdentify() - { - } - - ~CImReqChatIdentify() { } - CImReqChatIdentify(const string& strUid, const string& strSessionkey, const string& strVersion) - { - m_uid = strUid; - m_sessionkey = strSessionkey; - m_version = strVersion; - } - CImReqChatIdentify& operator=( const CImReqChatIdentify& cImReqChatIdentify ) - { - m_uid = cImReqChatIdentify.m_uid; - m_sessionkey = cImReqChatIdentify.m_sessionkey; - m_version = cImReqChatIdentify.m_version; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetSessionkey () const { return m_sessionkey; } - bool SetSessionkey ( const string& strSessionkey ) - { - m_sessionkey = strSessionkey; - return true; - } - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - m_version = strVersion; - return true; - } -private: - string m_uid; - string m_sessionkey; - string m_version; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChatIdentify::Size() const -{ - uint32_t nSize = 16; - nSize += m_uid.length(); - nSize += m_sessionkey.length(); - nSize += m_version.length(); - return nSize; -} - -class CImRspChatIdentify : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHAT_IDENTIFY - }; - CImRspChatIdentify() - { - } - - ~CImRspChatIdentify() { } - CImRspChatIdentify(const string& strVersion, const uint16_t& wRetcode, const string& strMsg, const string& strSessionid) - { - m_version = strVersion; - m_retcode = wRetcode; - m_msg = strMsg; - m_sessionid = strSessionid; - } - CImRspChatIdentify& operator=( const CImRspChatIdentify& cImRspChatIdentify ) - { - m_version = cImRspChatIdentify.m_version; - m_retcode = cImRspChatIdentify.m_retcode; - m_msg = cImRspChatIdentify.m_msg; - m_sessionid = cImRspChatIdentify.m_sessionid; - return *this; - } - - const string& GetVersion () const { return m_version; } - bool SetVersion ( const string& strVersion ) - { - m_version = strVersion; - return true; - } - const uint16_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint16_t& wRetcode ) - { - m_retcode = wRetcode; - return true; - } - const string& GetMsg () const { return m_msg; } - bool SetMsg ( const string& strMsg ) - { - m_msg = strMsg; - return true; - } - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } -private: - string m_version; - uint16_t m_retcode; - string m_msg; - string m_sessionid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChatIdentify::Size() const -{ - uint32_t nSize = 19; - nSize += m_version.length(); - nSize += m_msg.length(); - nSize += m_sessionid.length(); - return nSize; -} - -class CImReqChatClose : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHAT_CLOSE - }; - CImReqChatClose() - { - } - - ~CImReqChatClose() { } - CImReqChatClose(const string& strSessionid) - { - m_sessionid = strSessionid; - } - CImReqChatClose& operator=( const CImReqChatClose& cImReqChatClose ) - { - m_sessionid = cImReqChatClose.m_sessionid; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } -private: - string m_sessionid; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChatClose::Size() const -{ - uint32_t nSize = 6; - nSize += m_sessionid.length(); - return nSize; -} - -class CImRspChatClose : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHAT_CLOSE - }; - CImRspChatClose() - { - } - - ~CImRspChatClose() { } - CImRspChatClose(const string& strSessionid, const uint16_t& wType, const uint16_t& wRetcode, const string& strMsg) - { - m_sessionid = strSessionid; - m_type = wType; - m_retcode = wRetcode; - m_msg = strMsg; - } - CImRspChatClose& operator=( const CImRspChatClose& cImRspChatClose ) - { - m_sessionid = cImRspChatClose.m_sessionid; - m_type = cImRspChatClose.m_type; - m_retcode = cImRspChatClose.m_retcode; - m_msg = cImRspChatClose.m_msg; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const uint16_t& GetType () const { return m_type; } - bool SetType ( const uint16_t& wType ) - { - m_type = wType; - return true; - } - const uint16_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint16_t& wRetcode ) - { - m_retcode = wRetcode; - return true; - } - const string& GetMsg () const { return m_msg; } - bool SetMsg ( const string& strMsg ) - { - m_msg = strMsg; - return true; - } -private: - string m_sessionid; - uint16_t m_type; - uint16_t m_retcode; - string m_msg; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChatClose::Size() const -{ - uint32_t nSize = 17; - nSize += m_sessionid.length(); - nSize += m_msg.length(); - return nSize; -} - -struct SCchatindexid -{ -public: - SCchatindexid() - { - } - - ~SCchatindexid() { } - SCchatindexid(const string& strUserid, const string& strPeeruid, const uint64_t& ullTm, const uint64_t& ullSeq, const uint8_t& chDir) - { - m_userid = strUserid; - m_peeruid = strPeeruid; - m_tm = ullTm; - m_seq = ullSeq; - m_dir = chDir; - } - SCchatindexid& operator=( const SCchatindexid& sCchatindexid ) - { - m_userid = sCchatindexid.m_userid; - m_peeruid = sCchatindexid.m_peeruid; - m_tm = sCchatindexid.m_tm; - m_seq = sCchatindexid.m_seq; - m_dir = sCchatindexid.m_dir; - return *this; - } - - string m_userid; - string m_peeruid; - uint64_t m_tm; - uint64_t m_seq; - uint8_t m_dir; - -public: - uint32_t Size() const; -}; - -inline uint32_t SCchatindexid::Size() const -{ - uint32_t nSize = 31; - nSize += m_userid.length(); - nSize += m_peeruid.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SCchatindexid& sCchatindexid ); -CPackData& operator>> ( CPackData& cPackData, SCchatindexid& sCchatindexid ); - -class CImReqChatDeltext : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHAT_DELTEXT - }; - CImReqChatDeltext() - { - } - - ~CImReqChatDeltext() { } - CImReqChatDeltext(const string& strSessionid, const VECTOR< SCchatindexid >& vecKeyseq) - { - m_sessionid = strSessionid; - m_keyseq = vecKeyseq; - } - CImReqChatDeltext& operator=( const CImReqChatDeltext& cImReqChatDeltext ) - { - m_sessionid = cImReqChatDeltext.m_sessionid; - m_keyseq = cImReqChatDeltext.m_keyseq; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const VECTOR< SCchatindexid >& GetKeyseq () const { return m_keyseq; } - bool SetKeyseq ( const VECTOR< SCchatindexid >& vecKeyseq ) - { - m_keyseq = vecKeyseq; - return true; - } -private: - string m_sessionid; - VECTOR< SCchatindexid > m_keyseq; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChatDeltext::Size() const -{ - uint32_t nSize = 12; - nSize += m_sessionid.length(); - for(uint32_t i = 0; i < m_keyseq.size(); i++) - { - nSize += m_keyseq[i].Size(); - } - return nSize; -} - -class CImRspChatDeltext : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHAT_DELTEXT - }; - CImRspChatDeltext() - { - } - - ~CImRspChatDeltext() { } - CImRspChatDeltext(const string& strSessionid, const VECTOR< SCchatindexid >& vecKeyseq, const uint16_t& wRetcode, const string& strMsg) - { - m_sessionid = strSessionid; - m_keyseq = vecKeyseq; - m_retcode = wRetcode; - m_msg = strMsg; - } - CImRspChatDeltext& operator=( const CImRspChatDeltext& cImRspChatDeltext ) - { - m_sessionid = cImRspChatDeltext.m_sessionid; - m_keyseq = cImRspChatDeltext.m_keyseq; - m_retcode = cImRspChatDeltext.m_retcode; - m_msg = cImRspChatDeltext.m_msg; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const VECTOR< SCchatindexid >& GetKeyseq () const { return m_keyseq; } - bool SetKeyseq ( const VECTOR< SCchatindexid >& vecKeyseq ) - { - m_keyseq = vecKeyseq; - return true; - } - const uint16_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint16_t& wRetcode ) - { - m_retcode = wRetcode; - return true; - } - const string& GetMsg () const { return m_msg; } - bool SetMsg ( const string& strMsg ) - { - m_msg = strMsg; - return true; - } -private: - string m_sessionid; - VECTOR< SCchatindexid > m_keyseq; - uint16_t m_retcode; - string m_msg; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChatDeltext::Size() const -{ - uint32_t nSize = 20; - nSize += m_sessionid.length(); - for(uint32_t i = 0; i < m_keyseq.size(); i++) - { - nSize += m_keyseq[i].Size(); - } - nSize += m_msg.length(); - return nSize; -} - -class CImReqChatGettxt : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHAT_GETTXT - }; - CImReqChatGettxt() - { - } - - ~CImReqChatGettxt() { } - CImReqChatGettxt(const string& strSessionid, const string& strFromid, const string& strToid, const uint64_t& ullBegtime, const uint64_t& ullEndtime, const uint64_t& ullMinbegtime, const uint32_t& dwMsgnum, const uint8_t& chGetall) - { - m_sessionid = strSessionid; - m_fromid = strFromid; - m_toid = strToid; - m_begtime = ullBegtime; - m_endtime = ullEndtime; - m_minbegtime = ullMinbegtime; - m_msgnum = dwMsgnum; - m_getall = chGetall; - } - CImReqChatGettxt& operator=( const CImReqChatGettxt& cImReqChatGettxt ) - { - m_sessionid = cImReqChatGettxt.m_sessionid; - m_fromid = cImReqChatGettxt.m_fromid; - m_toid = cImReqChatGettxt.m_toid; - m_begtime = cImReqChatGettxt.m_begtime; - m_endtime = cImReqChatGettxt.m_endtime; - m_minbegtime = cImReqChatGettxt.m_minbegtime; - m_msgnum = cImReqChatGettxt.m_msgnum; - m_getall = cImReqChatGettxt.m_getall; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const string& GetFromid () const { return m_fromid; } - bool SetFromid ( const string& strFromid ) - { - if(strFromid.size() > 64) - return false; - m_fromid = strFromid; - return true; - } - const string& GetToid () const { return m_toid; } - bool SetToid ( const string& strToid ) - { - if(strToid.size() > 64) - return false; - m_toid = strToid; - return true; - } - const uint64_t& GetBegtime () const { return m_begtime; } - bool SetBegtime ( const uint64_t& ullBegtime ) - { - m_begtime = ullBegtime; - return true; - } - const uint64_t& GetEndtime () const { return m_endtime; } - bool SetEndtime ( const uint64_t& ullEndtime ) - { - m_endtime = ullEndtime; - return true; - } - const uint64_t& GetMinbegtime () const { return m_minbegtime; } - bool SetMinbegtime ( const uint64_t& ullMinbegtime ) - { - m_minbegtime = ullMinbegtime; - return true; - } - const uint32_t& GetMsgnum () const { return m_msgnum; } - bool SetMsgnum ( const uint32_t& dwMsgnum ) - { - m_msgnum = dwMsgnum; - return true; - } - const uint8_t& GetGetall () const { return m_getall; } - bool SetGetall ( const uint8_t& chGetall ) - { - m_getall = chGetall; - return true; - } -private: - string m_sessionid; - string m_fromid; - string m_toid; - uint64_t m_begtime; - uint64_t m_endtime; - uint64_t m_minbegtime; - uint32_t m_msgnum; - uint8_t m_getall; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChatGettxt::Size() const -{ - uint32_t nSize = 50; - nSize += m_sessionid.length(); - nSize += m_fromid.length(); - nSize += m_toid.length(); - return nSize; -} - -struct STextlogitem -{ -public: - STextlogitem() - { - } - - ~STextlogitem() { } - STextlogitem(const uint8_t& chDir, const uint64_t& ullSeq, const uint64_t& ullTm, const string& strMsg) - { - m_dir = chDir; - m_seq = ullSeq; - m_tm = ullTm; - m_msg = strMsg; - } - STextlogitem& operator=( const STextlogitem& sTextlogitem ) - { - m_dir = sTextlogitem.m_dir; - m_seq = sTextlogitem.m_seq; - m_tm = sTextlogitem.m_tm; - m_msg = sTextlogitem.m_msg; - return *this; - } - - uint8_t m_dir; - uint64_t m_seq; - uint64_t m_tm; - string m_msg; - -public: - uint32_t Size() const; -}; - -inline uint32_t STextlogitem::Size() const -{ - uint32_t nSize = 26; - nSize += m_msg.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const STextlogitem& sTextlogitem ); -CPackData& operator>> ( CPackData& cPackData, STextlogitem& sTextlogitem ); - -class CImRspChatGettxt : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHAT_GETTXT - }; - CImRspChatGettxt() - { - } - - ~CImRspChatGettxt() { } - CImRspChatGettxt(const string& strSessionid, const string& strFromid, const string& strToid, const VECTOR< STextlogitem >& vecMsgseq, const uint64_t& ullNewbegtime, const uint64_t& ullNewendtime, const uint64_t& ullNextbegtime, const uint8_t& chGetall, const uint8_t& chIslast, const uint16_t& wRetcode, const string& strMsg) - { - m_sessionid = strSessionid; - m_fromid = strFromid; - m_toid = strToid; - m_msgseq = vecMsgseq; - m_newbegtime = ullNewbegtime; - m_newendtime = ullNewendtime; - m_nextbegtime = ullNextbegtime; - m_getall = chGetall; - m_islast = chIslast; - m_retcode = wRetcode; - m_msg = strMsg; - } - CImRspChatGettxt& operator=( const CImRspChatGettxt& cImRspChatGettxt ) - { - m_sessionid = cImRspChatGettxt.m_sessionid; - m_fromid = cImRspChatGettxt.m_fromid; - m_toid = cImRspChatGettxt.m_toid; - m_msgseq = cImRspChatGettxt.m_msgseq; - m_newbegtime = cImRspChatGettxt.m_newbegtime; - m_newendtime = cImRspChatGettxt.m_newendtime; - m_nextbegtime = cImRspChatGettxt.m_nextbegtime; - m_getall = cImRspChatGettxt.m_getall; - m_islast = cImRspChatGettxt.m_islast; - m_retcode = cImRspChatGettxt.m_retcode; - m_msg = cImRspChatGettxt.m_msg; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const string& GetFromid () const { return m_fromid; } - bool SetFromid ( const string& strFromid ) - { - if(strFromid.size() > 64) - return false; - m_fromid = strFromid; - return true; - } - const string& GetToid () const { return m_toid; } - bool SetToid ( const string& strToid ) - { - if(strToid.size() > 64) - return false; - m_toid = strToid; - return true; - } - const VECTOR< STextlogitem >& GetMsgseq () const { return m_msgseq; } - bool SetMsgseq ( const VECTOR< STextlogitem >& vecMsgseq ) - { - m_msgseq = vecMsgseq; - return true; - } - const uint64_t& GetNewbegtime () const { return m_newbegtime; } - bool SetNewbegtime ( const uint64_t& ullNewbegtime ) - { - m_newbegtime = ullNewbegtime; - return true; - } - const uint64_t& GetNewendtime () const { return m_newendtime; } - bool SetNewendtime ( const uint64_t& ullNewendtime ) - { - m_newendtime = ullNewendtime; - return true; - } - const uint64_t& GetNextbegtime () const { return m_nextbegtime; } - bool SetNextbegtime ( const uint64_t& ullNextbegtime ) - { - m_nextbegtime = ullNextbegtime; - return true; - } - const uint8_t& GetGetall () const { return m_getall; } - bool SetGetall ( const uint8_t& chGetall ) - { - m_getall = chGetall; - return true; - } - const uint8_t& GetIslast () const { return m_islast; } - bool SetIslast ( const uint8_t& chIslast ) - { - m_islast = chIslast; - return true; - } - const uint16_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint16_t& wRetcode ) - { - m_retcode = wRetcode; - return true; - } - const string& GetMsg () const { return m_msg; } - bool SetMsg ( const string& strMsg ) - { - m_msg = strMsg; - return true; - } -private: - string m_sessionid; - string m_fromid; - string m_toid; - VECTOR< STextlogitem > m_msgseq; - uint64_t m_newbegtime; - uint64_t m_newendtime; - uint64_t m_nextbegtime; - uint8_t m_getall; - uint8_t m_islast; - uint16_t m_retcode; - string m_msg; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChatGettxt::Size() const -{ - uint32_t nSize = 61; - nSize += m_sessionid.length(); - nSize += m_fromid.length(); - nSize += m_toid.length(); - for(uint32_t i = 0; i < m_msgseq.size(); i++) - { - nSize += m_msgseq[i].Size(); - } - nSize += m_msg.length(); - return nSize; -} - -class CImReqChatSettxt : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHAT_SETTXT - }; - CImReqChatSettxt() - { - } - - ~CImReqChatSettxt() { } - CImReqChatSettxt(const string& strSessionid, const string& strFromid, const string& strToid, const uint64_t& ullTm, const uint64_t& ullSeq, const uint8_t& chDir, const string& strChatmsg) - { - m_sessionid = strSessionid; - m_fromid = strFromid; - m_toid = strToid; - m_tm = ullTm; - m_seq = ullSeq; - m_dir = chDir; - m_chatmsg = strChatmsg; - } - CImReqChatSettxt& operator=( const CImReqChatSettxt& cImReqChatSettxt ) - { - m_sessionid = cImReqChatSettxt.m_sessionid; - m_fromid = cImReqChatSettxt.m_fromid; - m_toid = cImReqChatSettxt.m_toid; - m_tm = cImReqChatSettxt.m_tm; - m_seq = cImReqChatSettxt.m_seq; - m_dir = cImReqChatSettxt.m_dir; - m_chatmsg = cImReqChatSettxt.m_chatmsg; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const string& GetFromid () const { return m_fromid; } - bool SetFromid ( const string& strFromid ) - { - if(strFromid.size() > 64) - return false; - m_fromid = strFromid; - return true; - } - const string& GetToid () const { return m_toid; } - bool SetToid ( const string& strToid ) - { - if(strToid.size() > 64) - return false; - m_toid = strToid; - return true; - } - const uint64_t& GetTm () const { return m_tm; } - bool SetTm ( const uint64_t& ullTm ) - { - m_tm = ullTm; - return true; - } - const uint64_t& GetSeq () const { return m_seq; } - bool SetSeq ( const uint64_t& ullSeq ) - { - m_seq = ullSeq; - return true; - } - const uint8_t& GetDir () const { return m_dir; } - bool SetDir ( const uint8_t& chDir ) - { - m_dir = chDir; - return true; - } - const string& GetChatmsg () const { return m_chatmsg; } - bool SetChatmsg ( const string& strChatmsg ) - { - m_chatmsg = strChatmsg; - return true; - } -private: - string m_sessionid; - string m_fromid; - string m_toid; - uint64_t m_tm; - uint64_t m_seq; - uint8_t m_dir; - string m_chatmsg; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChatSettxt::Size() const -{ - uint32_t nSize = 41; - nSize += m_sessionid.length(); - nSize += m_fromid.length(); - nSize += m_toid.length(); - nSize += m_chatmsg.length(); - return nSize; -} - -class CImRspChatSettxt : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHAT_SETTXT - }; - CImRspChatSettxt() - { - } - - ~CImRspChatSettxt() { } - CImRspChatSettxt(const string& strSessionid, const string& strFromid, const string& strToid, const uint64_t& ullTm, const uint64_t& ullSeq, const uint8_t& chDir, const uint16_t& wRetcode, const string& strMsg) - { - m_sessionid = strSessionid; - m_fromid = strFromid; - m_toid = strToid; - m_tm = ullTm; - m_seq = ullSeq; - m_dir = chDir; - m_retcode = wRetcode; - m_msg = strMsg; - } - CImRspChatSettxt& operator=( const CImRspChatSettxt& cImRspChatSettxt ) - { - m_sessionid = cImRspChatSettxt.m_sessionid; - m_fromid = cImRspChatSettxt.m_fromid; - m_toid = cImRspChatSettxt.m_toid; - m_tm = cImRspChatSettxt.m_tm; - m_seq = cImRspChatSettxt.m_seq; - m_dir = cImRspChatSettxt.m_dir; - m_retcode = cImRspChatSettxt.m_retcode; - m_msg = cImRspChatSettxt.m_msg; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const string& GetFromid () const { return m_fromid; } - bool SetFromid ( const string& strFromid ) - { - if(strFromid.size() > 64) - return false; - m_fromid = strFromid; - return true; - } - const string& GetToid () const { return m_toid; } - bool SetToid ( const string& strToid ) - { - if(strToid.size() > 64) - return false; - m_toid = strToid; - return true; - } - const uint64_t& GetTm () const { return m_tm; } - bool SetTm ( const uint64_t& ullTm ) - { - m_tm = ullTm; - return true; - } - const uint64_t& GetSeq () const { return m_seq; } - bool SetSeq ( const uint64_t& ullSeq ) - { - m_seq = ullSeq; - return true; - } - const uint8_t& GetDir () const { return m_dir; } - bool SetDir ( const uint8_t& chDir ) - { - m_dir = chDir; - return true; - } - const uint16_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint16_t& wRetcode ) - { - m_retcode = wRetcode; - return true; - } - const string& GetMsg () const { return m_msg; } - bool SetMsg ( const string& strMsg ) - { - m_msg = strMsg; - return true; - } -private: - string m_sessionid; - string m_fromid; - string m_toid; - uint64_t m_tm; - uint64_t m_seq; - uint8_t m_dir; - uint16_t m_retcode; - string m_msg; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChatSettxt::Size() const -{ - uint32_t nSize = 44; - nSize += m_sessionid.length(); - nSize += m_fromid.length(); - nSize += m_toid.length(); - nSize += m_msg.length(); - return nSize; -} - -class CImReqChatQuerypics : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHAT_QUERYPICS - }; - CImReqChatQuerypics() - { - } - - ~CImReqChatQuerypics() { } - CImReqChatQuerypics(const string& strSessionid, const VECTOR< string >& vecFilenameseq) - { - m_sessionid = strSessionid; - m_filenameseq = vecFilenameseq; - } - CImReqChatQuerypics& operator=( const CImReqChatQuerypics& cImReqChatQuerypics ) - { - m_sessionid = cImReqChatQuerypics.m_sessionid; - m_filenameseq = cImReqChatQuerypics.m_filenameseq; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const VECTOR< string >& GetFilenameseq () const { return m_filenameseq; } - bool SetFilenameseq ( const VECTOR< string >& vecFilenameseq ) - { - m_filenameseq = vecFilenameseq; - return true; - } -private: - string m_sessionid; - VECTOR< string > m_filenameseq; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChatQuerypics::Size() const -{ - uint32_t nSize = 12; - nSize += m_sessionid.length(); - nSize += m_filenameseq.size() * 4; - for(uint32_t i = 0; i < m_filenameseq.size(); i++) - { - nSize += m_filenameseq[i].length(); - } - return nSize; -} - -struct SKeypicseqidex -{ -public: - SKeypicseqidex() - { - } - - ~SKeypicseqidex() { } - SKeypicseqidex(const string& strKey, const uint8_t& chCode) - { - m_key = strKey; - m_code = chCode; - } - SKeypicseqidex& operator=( const SKeypicseqidex& sKeypicseqidex ) - { - m_key = sKeypicseqidex.m_key; - m_code = sKeypicseqidex.m_code; - return *this; - } - - string m_key; - uint8_t m_code; - -public: - uint32_t Size() const; -}; - -inline uint32_t SKeypicseqidex::Size() const -{ - uint32_t nSize = 8; - nSize += m_key.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SKeypicseqidex& sKeypicseqidex ); -CPackData& operator>> ( CPackData& cPackData, SKeypicseqidex& sKeypicseqidex ); - -class CImRspChatQuerypics : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHAT_QUERYPICS - }; - CImRspChatQuerypics() - { - } - - ~CImRspChatQuerypics() { } - CImRspChatQuerypics(const string& strSessionid, const VECTOR< SKeypicseqidex >& vecFilenameseq, const uint16_t& wRetcode, const string& strMsg, const uint8_t& chIslast) - { - m_sessionid = strSessionid; - m_filenameseq = vecFilenameseq; - m_retcode = wRetcode; - m_msg = strMsg; - m_islast = chIslast; - } - CImRspChatQuerypics& operator=( const CImRspChatQuerypics& cImRspChatQuerypics ) - { - m_sessionid = cImRspChatQuerypics.m_sessionid; - m_filenameseq = cImRspChatQuerypics.m_filenameseq; - m_retcode = cImRspChatQuerypics.m_retcode; - m_msg = cImRspChatQuerypics.m_msg; - m_islast = cImRspChatQuerypics.m_islast; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const VECTOR< SKeypicseqidex >& GetFilenameseq () const { return m_filenameseq; } - bool SetFilenameseq ( const VECTOR< SKeypicseqidex >& vecFilenameseq ) - { - m_filenameseq = vecFilenameseq; - return true; - } - const uint16_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint16_t& wRetcode ) - { - m_retcode = wRetcode; - return true; - } - const string& GetMsg () const { return m_msg; } - bool SetMsg ( const string& strMsg ) - { - m_msg = strMsg; - return true; - } - const uint8_t& GetIslast () const { return m_islast; } - bool SetIslast ( const uint8_t& chIslast ) - { - m_islast = chIslast; - return true; - } -private: - string m_sessionid; - VECTOR< SKeypicseqidex > m_filenameseq; - uint16_t m_retcode; - string m_msg; - uint8_t m_islast; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChatQuerypics::Size() const -{ - uint32_t nSize = 22; - nSize += m_sessionid.length(); - for(uint32_t i = 0; i < m_filenameseq.size(); i++) - { - nSize += m_filenameseq[i].Size(); - } - nSize += m_msg.length(); - return nSize; -} - -class CImReqChatPutpic : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHAT_PUTPIC - }; - CImReqChatPutpic() - { - } - - ~CImReqChatPutpic() { } - CImReqChatPutpic(const string& strSessionid, const string& strPickey, const string& strData, const uint64_t& ullSize, const uint64_t& ullOffset) - { - m_sessionid = strSessionid; - m_pickey = strPickey; - m_data = strData; - m_size = ullSize; - m_offset = ullOffset; - } - CImReqChatPutpic& operator=( const CImReqChatPutpic& cImReqChatPutpic ) - { - m_sessionid = cImReqChatPutpic.m_sessionid; - m_pickey = cImReqChatPutpic.m_pickey; - m_data = cImReqChatPutpic.m_data; - m_size = cImReqChatPutpic.m_size; - m_offset = cImReqChatPutpic.m_offset; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const string& GetPickey () const { return m_pickey; } - bool SetPickey ( const string& strPickey ) - { - m_pickey = strPickey; - return true; - } - const string& GetData () const { return m_data; } - bool SetData ( const string& strData ) - { - m_data = strData; - return true; - } - const uint64_t& GetSize () const { return m_size; } - bool SetSize ( const uint64_t& ullSize ) - { - m_size = ullSize; - return true; - } - const uint64_t& GetOffset () const { return m_offset; } - bool SetOffset ( const uint64_t& ullOffset ) - { - m_offset = ullOffset; - return true; - } -private: - string m_sessionid; - string m_pickey; - string m_data; - uint64_t m_size; - uint64_t m_offset; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChatPutpic::Size() const -{ - uint32_t nSize = 34; - nSize += m_sessionid.length(); - nSize += m_pickey.length(); - nSize += m_data.length(); - return nSize; -} - -class CImRspChatPutpic : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHAT_PUTPIC - }; - CImRspChatPutpic() - { - } - - ~CImRspChatPutpic() { } - CImRspChatPutpic(const string& strSessionid, const string& strPickey, const uint64_t& ullSize, const uint64_t& ullOffset, const uint16_t& wRetcode, const string& strMsg) - { - m_sessionid = strSessionid; - m_pickey = strPickey; - m_size = ullSize; - m_offset = ullOffset; - m_retcode = wRetcode; - m_msg = strMsg; - } - CImRspChatPutpic& operator=( const CImRspChatPutpic& cImRspChatPutpic ) - { - m_sessionid = cImRspChatPutpic.m_sessionid; - m_pickey = cImRspChatPutpic.m_pickey; - m_size = cImRspChatPutpic.m_size; - m_offset = cImRspChatPutpic.m_offset; - m_retcode = cImRspChatPutpic.m_retcode; - m_msg = cImRspChatPutpic.m_msg; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const string& GetPickey () const { return m_pickey; } - bool SetPickey ( const string& strPickey ) - { - m_pickey = strPickey; - return true; - } - const uint64_t& GetSize () const { return m_size; } - bool SetSize ( const uint64_t& ullSize ) - { - m_size = ullSize; - return true; - } - const uint64_t& GetOffset () const { return m_offset; } - bool SetOffset ( const uint64_t& ullOffset ) - { - m_offset = ullOffset; - return true; - } - const uint16_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint16_t& wRetcode ) - { - m_retcode = wRetcode; - return true; - } - const string& GetMsg () const { return m_msg; } - bool SetMsg ( const string& strMsg ) - { - m_msg = strMsg; - return true; - } -private: - string m_sessionid; - string m_pickey; - uint64_t m_size; - uint64_t m_offset; - uint16_t m_retcode; - string m_msg; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChatPutpic::Size() const -{ - uint32_t nSize = 37; - nSize += m_sessionid.length(); - nSize += m_pickey.length(); - nSize += m_msg.length(); - return nSize; -} - -struct SKeypicseq -{ -public: - SKeypicseq() - { - } - - ~SKeypicseq() { } - SKeypicseq(const string& strKey, const string& strContent) - { - m_key = strKey; - m_content = strContent; - } - SKeypicseq& operator=( const SKeypicseq& sKeypicseq ) - { - m_key = sKeypicseq.m_key; - m_content = sKeypicseq.m_content; - return *this; - } - - string m_key; - string m_content; - -public: - uint32_t Size() const; -}; - -inline uint32_t SKeypicseq::Size() const -{ - uint32_t nSize = 11; - nSize += m_key.length(); - nSize += m_content.length(); - return nSize; -} - -CPackData& operator<< ( CPackData& cPackData, const SKeypicseq& sKeypicseq ); -CPackData& operator>> ( CPackData& cPackData, SKeypicseq& sKeypicseq ); - -class CImReqChatGetpic : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHAT_GETPIC - }; - CImReqChatGetpic() - { - } - - ~CImReqChatGetpic() { } - CImReqChatGetpic(const string& strSessionid, const string& strPickey) - { - m_sessionid = strSessionid; - m_pickey = strPickey; - } - CImReqChatGetpic& operator=( const CImReqChatGetpic& cImReqChatGetpic ) - { - m_sessionid = cImReqChatGetpic.m_sessionid; - m_pickey = cImReqChatGetpic.m_pickey; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const string& GetPickey () const { return m_pickey; } - bool SetPickey ( const string& strPickey ) - { - m_pickey = strPickey; - return true; - } -private: - string m_sessionid; - string m_pickey; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChatGetpic::Size() const -{ - uint32_t nSize = 11; - nSize += m_sessionid.length(); - nSize += m_pickey.length(); - return nSize; -} - -class CImRspChatGetpic : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHAT_GETPIC - }; - CImRspChatGetpic() - { - } - - ~CImRspChatGetpic() { } - CImRspChatGetpic(const string& strSessionid, const string& strPickey, const string& strData, const uint64_t& ullSize, const uint64_t& ullOffset, const uint16_t& wRetcode, const string& strMsg) - { - m_sessionid = strSessionid; - m_pickey = strPickey; - m_data = strData; - m_size = ullSize; - m_offset = ullOffset; - m_retcode = wRetcode; - m_msg = strMsg; - } - CImRspChatGetpic& operator=( const CImRspChatGetpic& cImRspChatGetpic ) - { - m_sessionid = cImRspChatGetpic.m_sessionid; - m_pickey = cImRspChatGetpic.m_pickey; - m_data = cImRspChatGetpic.m_data; - m_size = cImRspChatGetpic.m_size; - m_offset = cImRspChatGetpic.m_offset; - m_retcode = cImRspChatGetpic.m_retcode; - m_msg = cImRspChatGetpic.m_msg; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const string& GetPickey () const { return m_pickey; } - bool SetPickey ( const string& strPickey ) - { - m_pickey = strPickey; - return true; - } - const string& GetData () const { return m_data; } - bool SetData ( const string& strData ) - { - m_data = strData; - return true; - } - const uint64_t& GetSize () const { return m_size; } - bool SetSize ( const uint64_t& ullSize ) - { - m_size = ullSize; - return true; - } - const uint64_t& GetOffset () const { return m_offset; } - bool SetOffset ( const uint64_t& ullOffset ) - { - m_offset = ullOffset; - return true; - } - const uint16_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint16_t& wRetcode ) - { - m_retcode = wRetcode; - return true; - } - const string& GetMsg () const { return m_msg; } - bool SetMsg ( const string& strMsg ) - { - m_msg = strMsg; - return true; - } -private: - string m_sessionid; - string m_pickey; - string m_data; - uint64_t m_size; - uint64_t m_offset; - uint16_t m_retcode; - string m_msg; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChatGetpic::Size() const -{ - uint32_t nSize = 42; - nSize += m_sessionid.length(); - nSize += m_pickey.length(); - nSize += m_data.length(); - nSize += m_msg.length(); - return nSize; -} - -class CImReqChatGetcal : public CPackData -{ -public: - enum - { - CMD_ID = IM_REQ_CHAT_GETCAL - }; - CImReqChatGetcal() - { - } - - ~CImReqChatGetcal() { } - CImReqChatGetcal(const string& strSessionid, const string& strUid, const string& strToid, const string& strStartdate, const string& strEnddate) - { - m_sessionid = strSessionid; - m_uid = strUid; - m_toid = strToid; - m_startdate = strStartdate; - m_enddate = strEnddate; - } - CImReqChatGetcal& operator=( const CImReqChatGetcal& cImReqChatGetcal ) - { - m_sessionid = cImReqChatGetcal.m_sessionid; - m_uid = cImReqChatGetcal.m_uid; - m_toid = cImReqChatGetcal.m_toid; - m_startdate = cImReqChatGetcal.m_startdate; - m_enddate = cImReqChatGetcal.m_enddate; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetToid () const { return m_toid; } - bool SetToid ( const string& strToid ) - { - if(strToid.size() > 64) - return false; - m_toid = strToid; - return true; - } - const string& GetStartdate () const { return m_startdate; } - bool SetStartdate ( const string& strStartdate ) - { - m_startdate = strStartdate; - return true; - } - const string& GetEnddate () const { return m_enddate; } - bool SetEnddate ( const string& strEnddate ) - { - m_enddate = strEnddate; - return true; - } -private: - string m_sessionid; - string m_uid; - string m_toid; - string m_startdate; - string m_enddate; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImReqChatGetcal::Size() const -{ - uint32_t nSize = 26; - nSize += m_sessionid.length(); - nSize += m_uid.length(); - nSize += m_toid.length(); - nSize += m_startdate.length(); - nSize += m_enddate.length(); - return nSize; -} - -class CImRspChatGetcal : public CPackData -{ -public: - enum - { - CMD_ID = IM_RSP_CHAT_GETCAL - }; - CImRspChatGetcal() - { - } - - ~CImRspChatGetcal() { } - CImRspChatGetcal(const string& strSessionid, const string& strUid, const string& strToid, const VECTOR< string >& vecDateseq, const uint16_t& wRetcode, const string& strMsg) - { - m_sessionid = strSessionid; - m_uid = strUid; - m_toid = strToid; - m_dateseq = vecDateseq; - m_retcode = wRetcode; - m_msg = strMsg; - } - CImRspChatGetcal& operator=( const CImRspChatGetcal& cImRspChatGetcal ) - { - m_sessionid = cImRspChatGetcal.m_sessionid; - m_uid = cImRspChatGetcal.m_uid; - m_toid = cImRspChatGetcal.m_toid; - m_dateseq = cImRspChatGetcal.m_dateseq; - m_retcode = cImRspChatGetcal.m_retcode; - m_msg = cImRspChatGetcal.m_msg; - return *this; - } - - const string& GetSessionid () const { return m_sessionid; } - bool SetSessionid ( const string& strSessionid ) - { - m_sessionid = strSessionid; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - if(strUid.size() > 64) - return false; - m_uid = strUid; - return true; - } - const string& GetToid () const { return m_toid; } - bool SetToid ( const string& strToid ) - { - if(strToid.size() > 64) - return false; - m_toid = strToid; - return true; - } - const VECTOR< string >& GetDateseq () const { return m_dateseq; } - bool SetDateseq ( const VECTOR< string >& vecDateseq ) - { - m_dateseq = vecDateseq; - return true; - } - const uint16_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint16_t& wRetcode ) - { - m_retcode = wRetcode; - return true; - } - const string& GetMsg () const { return m_msg; } - bool SetMsg ( const string& strMsg ) - { - m_msg = strMsg; - return true; - } -private: - string m_sessionid; - string m_uid; - string m_toid; - VECTOR< string > m_dateseq; - uint16_t m_retcode; - string m_msg; - -public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; -}; - -inline uint32_t CImRspChatGetcal::Size() const -{ - uint32_t nSize = 30; - nSize += m_sessionid.length(); - nSize += m_uid.length(); - nSize += m_toid.length(); - nSize += m_dateseq.size() * 4; - for(uint32_t i = 0; i < m_dateseq.size(); i++) - { - nSize += m_dateseq[i].length(); - } - nSize += m_msg.length(); - return nSize; -} - -#endif diff --git a/features/aliww/include/tpfs_perf_test.h b/features/aliww/include/tpfs_perf_test.h deleted file mode 100644 index 118f78e..0000000 --- a/features/aliww/include/tpfs_perf_test.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: get_bind_list.h - * - * Description: - * - * Version: 1.0 - * Created: 2011å¹´01月07æ—¥ 15æ—¶44分43秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ - -#ifndef TPFS_PERF_TEST_H -#define TPFS_PERF_TEST_H -#include -using namespace std; - -#ifdef __cplusplus -extern "C" { -#endif -void *tpfs_init(void* p); -void *tpfs_act(void* p); -void *tpfs_end(void* p); -void *tpfs_getcal(void* p); -void *tpfs_gettext(void* p); -void *tpfs_getpic(void* p); -void *tpfs_putpic(void* p); -void *tpfs_putgetpic(void* p); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/features/aliww/include/tradeCache.h b/features/aliww/include/tradeCache.h deleted file mode 100644 index 65adaa4..0000000 --- a/features/aliww/include/tradeCache.h +++ /dev/null @@ -1,252 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `tradeCache.ice' - -#ifndef __tradeCache_h__ -#define __tradeCache_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliIM -{ - -class TradeCache; -bool operator==(const TradeCache&, const TradeCache&); -bool operator!=(const TradeCache&, const TradeCache&); -bool operator<(const TradeCache&, const TradeCache&); -bool operator<=(const TradeCache&, const TradeCache&); -bool operator>(const TradeCache&, const TradeCache&); -bool operator>=(const TradeCache&, const TradeCache&); - -} - -} - -namespace AliIM -{ - -class TradeCache; -bool operator==(const TradeCache&, const TradeCache&); -bool operator!=(const TradeCache&, const TradeCache&); -bool operator<(const TradeCache&, const TradeCache&); -bool operator<=(const TradeCache&, const TradeCache&); -bool operator>(const TradeCache&, const TradeCache&); -bool operator>=(const TradeCache&, const TradeCache&); - -} - -namespace IceInternal -{ - -void incRef(::AliIM::TradeCache*); -void decRef(::AliIM::TradeCache*); - -void incRef(::IceProxy::AliIM::TradeCache*); -void decRef(::IceProxy::AliIM::TradeCache*); - -} - -namespace AliIM -{ - -typedef ::IceInternal::Handle< ::AliIM::TradeCache> TradeCachePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliIM::TradeCache> TradeCachePrx; - -void __write(::IceInternal::BasicStream*, const TradeCachePrx&); -void __read(::IceInternal::BasicStream*, TradeCachePrx&); -void __write(::IceInternal::BasicStream*, const TradeCachePtr&); -void __patch__TradeCachePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const TradeCachePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const TradeCachePtr&); -void __decRefUnsafe(const TradeCachePtr&); -void __clearHandleUnsafe(TradeCachePtr&); - -} - -namespace AliIM -{ - -} - -namespace IceProxy -{ - -namespace AliIM -{ - -class TradeCache : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int checkTrade(const ::std::string& uid1, const ::std::string& uid2) - { - return checkTrade(uid1, uid2, 0); - } - ::Ice::Int checkTrade(const ::std::string& uid1, const ::std::string& uid2, const ::Ice::Context& __ctx) - { - return checkTrade(uid1, uid2, &__ctx); - } - -private: - - ::Ice::Int checkTrade(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int addTrade(const ::std::string& uid1, const ::std::string& uid2) - { - return addTrade(uid1, uid2, 0); - } - ::Ice::Int addTrade(const ::std::string& uid1, const ::std::string& uid2, const ::Ice::Context& __ctx) - { - return addTrade(uid1, uid2, &__ctx); - } - -private: - - ::Ice::Int addTrade(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliIM -{ - -class TradeCache : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int checkTrade(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int addTrade(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliIM -{ - -class TradeCache : virtual public ::IceDelegate::AliIM::TradeCache, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int checkTrade(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int addTrade(const ::std::string&, const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliIM -{ - -class TradeCache : virtual public ::IceDelegate::AliIM::TradeCache, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int checkTrade(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int addTrade(const ::std::string&, const ::std::string&, const ::Ice::Context*); -}; - -} - -} - -namespace AliIM -{ - -class TradeCache : virtual public ::Ice::Object -{ -public: - - typedef TradeCachePrx ProxyType; - typedef TradeCachePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int checkTrade(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkTrade(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int addTrade(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addTrade(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__TradeCachePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/udbservice.h b/features/aliww/include/udbservice.h deleted file mode 100644 index 2c25da7..0000000 --- a/features/aliww/include/udbservice.h +++ /dev/null @@ -1,394 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `udbservice.ice' - -#ifndef __udbservice_h__ -#define __udbservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace AliICEUDB -{ - -class IUDBService; -bool operator==(const IUDBService&, const IUDBService&); -bool operator!=(const IUDBService&, const IUDBService&); -bool operator<(const IUDBService&, const IUDBService&); -bool operator<=(const IUDBService&, const IUDBService&); -bool operator>(const IUDBService&, const IUDBService&); -bool operator>=(const IUDBService&, const IUDBService&); - -class IUDBInfo; -bool operator==(const IUDBInfo&, const IUDBInfo&); -bool operator!=(const IUDBInfo&, const IUDBInfo&); -bool operator<(const IUDBInfo&, const IUDBInfo&); -bool operator<=(const IUDBInfo&, const IUDBInfo&); -bool operator>(const IUDBInfo&, const IUDBInfo&); -bool operator>=(const IUDBInfo&, const IUDBInfo&); - -} - -} - -namespace AliICEUDB -{ - -class IUDBService; -bool operator==(const IUDBService&, const IUDBService&); -bool operator!=(const IUDBService&, const IUDBService&); -bool operator<(const IUDBService&, const IUDBService&); -bool operator<=(const IUDBService&, const IUDBService&); -bool operator>(const IUDBService&, const IUDBService&); -bool operator>=(const IUDBService&, const IUDBService&); - -class IUDBInfo; -bool operator==(const IUDBInfo&, const IUDBInfo&); -bool operator!=(const IUDBInfo&, const IUDBInfo&); -bool operator<(const IUDBInfo&, const IUDBInfo&); -bool operator<=(const IUDBInfo&, const IUDBInfo&); -bool operator>(const IUDBInfo&, const IUDBInfo&); -bool operator>=(const IUDBInfo&, const IUDBInfo&); - -} - -namespace IceInternal -{ - -void incRef(::AliICEUDB::IUDBService*); -void decRef(::AliICEUDB::IUDBService*); - -void incRef(::IceProxy::AliICEUDB::IUDBService*); -void decRef(::IceProxy::AliICEUDB::IUDBService*); - -void incRef(::AliICEUDB::IUDBInfo*); -void decRef(::AliICEUDB::IUDBInfo*); - -void incRef(::IceProxy::AliICEUDB::IUDBInfo*); -void decRef(::IceProxy::AliICEUDB::IUDBInfo*); - -} - -namespace AliICEUDB -{ - -typedef ::IceInternal::Handle< ::AliICEUDB::IUDBService> IUDBServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliICEUDB::IUDBService> IUDBServicePrx; - -void __write(::IceInternal::BasicStream*, const IUDBServicePrx&); -void __read(::IceInternal::BasicStream*, IUDBServicePrx&); -void __write(::IceInternal::BasicStream*, const IUDBServicePtr&); -void __patch__IUDBServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IUDBServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IUDBServicePtr&); -void __decRefUnsafe(const IUDBServicePtr&); -void __clearHandleUnsafe(IUDBServicePtr&); - -typedef ::IceInternal::Handle< ::AliICEUDB::IUDBInfo> IUDBInfoPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::AliICEUDB::IUDBInfo> IUDBInfoPrx; - -void __write(::IceInternal::BasicStream*, const IUDBInfoPrx&); -void __read(::IceInternal::BasicStream*, IUDBInfoPrx&); -void __write(::IceInternal::BasicStream*, const IUDBInfoPtr&); -void __patch__IUDBInfoPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const IUDBInfoPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const IUDBInfoPtr&); -void __decRefUnsafe(const IUDBInfoPtr&); -void __clearHandleUnsafe(IUDBInfoPtr&); - -} - -namespace AliICEUDB -{ - -typedef ::std::map< ::std::string, ::std::string> KVMap; - -class __U__KVMap { }; -void __write(::IceInternal::BasicStream*, const KVMap&, __U__KVMap); -void __read(::IceInternal::BasicStream*, KVMap&, __U__KVMap); - -} - -namespace IceProxy -{ - -namespace AliICEUDB -{ - -class IUDBService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int validateUDBUser(const ::std::string& site, const ::std::string& siteid, const ::std::string& sitemd5pw) - { - return validateUDBUser(site, siteid, sitemd5pw, 0); - } - ::Ice::Int validateUDBUser(const ::std::string& site, const ::std::string& siteid, const ::std::string& sitemd5pw, const ::Ice::Context& __ctx) - { - return validateUDBUser(site, siteid, sitemd5pw, &__ctx); - } - -private: - - ::Ice::Int validateUDBUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -class IUDBInfo : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int addUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs) - { - return addUserProfile(lid, kvMapArgs, 0); - } - ::Ice::Int addUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs, const ::Ice::Context& __ctx) - { - return addUserProfile(lid, kvMapArgs, &__ctx); - } - -private: - - ::Ice::Int addUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs) - { - return getUserProfile(lid, kvMapArgs, 0); - } - ::Ice::Int getUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs, const ::Ice::Context& __ctx) - { - return getUserProfile(lid, kvMapArgs, &__ctx); - } - -private: - - ::Ice::Int getUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Context*); - -public: - - ::Ice::Int updateUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs) - { - return updateUserProfile(lid, kvMapArgs, 0); - } - ::Ice::Int updateUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs, const ::Ice::Context& __ctx) - { - return updateUserProfile(lid, kvMapArgs, &__ctx); - } - -private: - - ::Ice::Int updateUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace AliICEUDB -{ - -class IUDBService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int validateUDBUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; -}; - -class IUDBInfo : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int addUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace AliICEUDB -{ - -class IUDBService : virtual public ::IceDelegate::AliICEUDB::IUDBService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int validateUDBUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); -}; - -class IUDBInfo : virtual public ::IceDelegate::AliICEUDB::IUDBInfo, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int addUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace AliICEUDB -{ - -class IUDBService : virtual public ::IceDelegate::AliICEUDB::IUDBService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int validateUDBUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*); -}; - -class IUDBInfo : virtual public ::IceDelegate::AliICEUDB::IUDBInfo, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int addUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Context*); - - virtual ::Ice::Int updateUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Context*); -}; - -} - -} - -namespace AliICEUDB -{ - -class IUDBService : virtual public ::Ice::Object -{ -public: - - typedef IUDBServicePrx ProxyType; - typedef IUDBServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int validateUDBUser(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___validateUDBUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IUDBServicePtr(void*, ::Ice::ObjectPtr&); - -class IUDBInfo : virtual public ::Ice::Object -{ -public: - - typedef IUDBInfoPrx ProxyType; - typedef IUDBInfoPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int addUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___addUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateUserProfile(const ::std::string&, const ::AliICEUDB::KVMap&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__IUDBInfoPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/urlencode.h b/features/aliww/include/urlencode.h deleted file mode 100644 index 84a4f62..0000000 --- a/features/aliww/include/urlencode.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef __H_CURL_ENCODE_H__ -#define __H_CURL_ENCODE_H__ -/* - URLEncode是这样编ç çš„ - 1。数字和字æ¯ä¸å˜ã€‚ - 2。空格å˜ä¸º"+"å·ã€‚ - 3。其他被编ç æˆ"%"加上他们的asciiçš„å六进制,规律是这样的 - 比如“啊â€å­— Asciiçš„å六进制是B0A1——>%B0%A1(Note:它是æ¯ä¸ªå­—节å‰åŠ ä¸ª%)。 - */ - -#include -#include -#include -#include -#include - -using namespace std; - -namespace ctool -{ - - typedef unsigned char BYTE; - - inline BYTE toHex(const BYTE &x) - { - return x > 9 ? x + 55: x + 48; - } - - inline string URLEncode(const string &sIn) - { - // cout << "size: " << sIn.size() << endl; - string sOut; - for( size_t ix = 0; ix < sIn.size(); ix++ ) - { - BYTE buf[4]; - memset( buf, 0, 4 ); - if( isalnum( (BYTE)sIn[ix] ) ) - { - buf[0] = sIn[ix]; - } - else if ( isspace( (BYTE)sIn[ix] ) ) - { - buf[0] = '+'; - } - else - { - buf[0] = '%'; - buf[1] = toHex( (BYTE)sIn[ix] >> 4 ); - buf[2] = toHex( (BYTE)sIn[ix] % 16); - } - sOut += (char *)buf; - } - return sOut; - }; -} -#endif diff --git a/features/aliww/include/user_ice_service.h b/features/aliww/include/user_ice_service.h deleted file mode 100644 index 45a41b8..0000000 --- a/features/aliww/include/user_ice_service.h +++ /dev/null @@ -1,1480 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `user_ice_service.ice' - -#ifndef __user_ice_service_h__ -#define __user_ice_service_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace user -{ - -class UserService; -bool operator==(const UserService&, const UserService&); -bool operator!=(const UserService&, const UserService&); -bool operator<(const UserService&, const UserService&); -bool operator<=(const UserService&, const UserService&); -bool operator>(const UserService&, const UserService&); -bool operator>=(const UserService&, const UserService&); - -} - -} - -} - -} - -} - -} - -} - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace user -{ - -class UserService; -bool operator==(const UserService&, const UserService&); -bool operator!=(const UserService&, const UserService&); -bool operator<(const UserService&, const UserService&); -bool operator<=(const UserService&, const UserService&); -bool operator>(const UserService&, const UserService&); -bool operator>=(const UserService&, const UserService&); - -} - -} - -} - -} - -} - -} - -namespace IceInternal -{ - -void incRef(::com::alisoft::member::udb::api::user::UserService*); -void decRef(::com::alisoft::member::udb::api::user::UserService*); - -void incRef(::IceProxy::com::alisoft::member::udb::api::user::UserService*); -void decRef(::IceProxy::com::alisoft::member::udb::api::user::UserService*); - -} - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace user -{ - -typedef ::IceInternal::Handle< ::com::alisoft::member::udb::api::user::UserService> UserServicePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::com::alisoft::member::udb::api::user::UserService> UserServicePrx; - -void __write(::IceInternal::BasicStream*, const UserServicePrx&); -void __read(::IceInternal::BasicStream*, UserServicePrx&); -void __write(::IceInternal::BasicStream*, const UserServicePtr&); -void __patch__UserServicePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const UserServicePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const UserServicePtr&); -void __decRefUnsafe(const UserServicePtr&); -void __clearHandleUnsafe(UserServicePtr&); - -} - -} - -} - -} - -} - -} - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace model -{ - -struct Domain -{ - ::std::string domainId; - ::std::string name; - ::std::string domainPrefix; - ::std::string canLogin; - - bool operator==(const Domain&) const; - bool operator!=(const Domain&) const; - bool operator<(const Domain&) const; - bool operator<=(const Domain& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const Domain& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const Domain& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -struct UserProfile -{ - ::std::string userId; - ::std::string userName; - ::std::string passport; - ::std::string isDeleted; - ::std::string gmtCreate; - ::std::string gmtModified; - ::std::string creator; - ::std::string Modifier; - ::std::string domainPrefix; - ::std::string loginId; - ::std::string longId; - ::std::string sourceType; - ::std::string gmtLogin; - ::std::string userStatus; - ::Ice::Int status; - ::std::string email; - ::std::string mobileNo; - ::std::string phoneNo; - ::std::string company; - ::std::string jobTitle; - ::std::string country; - ::std::string province; - ::std::string city; - ::std::string address; - ::std::string sex; - ::std::string birthday; - ::std::string zip; - ::std::string constellation; - ::std::string subCity; - ::std::string bloodType; - ::std::string shengXiao; - ::std::string career; - ::std::string degree; - ::std::string interest; - ::std::string personality; - ::std::string memo; - ::std::string finishSchool; - ::Ice::Int contactShowFlag; - ::std::string companyAddress; - ::std::string companyUrl; - ::std::string companyTel; - ::Ice::Int companyShowFlag; - ::std::string signature; - ::std::string companyZip; - ::std::string companyFax; - ::std::string moreInterest; - ::Ice::Int personalShowFlag; - ::std::string homePage; - ::std::string vocation; - ::std::string companyEmail; - ::std::string duty; - ::std::string department; - ::std::string purchase; - ::std::string sales; - ::Ice::Float finishedPercent; - ::Ice::Int imgType; - ::std::string imgHashCode; - ::std::string nickname; - ::std::string userLevel; - - bool operator==(const UserProfile&) const; - bool operator!=(const UserProfile&) const; - bool operator<(const UserProfile&) const; - bool operator<=(const UserProfile& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const UserProfile& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const UserProfile& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::com::alisoft::member::udb::api::model::UserProfile> UserProfileSeq; - -class __U__UserProfileSeq { }; -void __write(::IceInternal::BasicStream*, const ::com::alisoft::member::udb::api::model::UserProfile*, const ::com::alisoft::member::udb::api::model::UserProfile*, __U__UserProfileSeq); -void __read(::IceInternal::BasicStream*, UserProfileSeq&, __U__UserProfileSeq); - -typedef ::std::vector< ::std::string> StringSeq; - -class __U__StringSeq { }; - -struct MatchedUserInfo -{ - ::std::string longId; - ::std::string name; - bool activeState; - - bool operator==(const MatchedUserInfo&) const; - bool operator!=(const MatchedUserInfo&) const; - bool operator<(const MatchedUserInfo&) const; - bool operator<=(const MatchedUserInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const MatchedUserInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const MatchedUserInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::com::alisoft::member::udb::api::model::MatchedUserInfo> MatchedUserInfoSeq; - -class __U__MatchedUserInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::com::alisoft::member::udb::api::model::MatchedUserInfo*, const ::com::alisoft::member::udb::api::model::MatchedUserInfo*, __U__MatchedUserInfoSeq); -void __read(::IceInternal::BasicStream*, MatchedUserInfoSeq&, __U__MatchedUserInfoSeq); - -typedef ::std::vector< ::com::alisoft::member::udb::api::model::Domain> DomainSeq; - -class __U__DomainSeq { }; -void __write(::IceInternal::BasicStream*, const ::com::alisoft::member::udb::api::model::Domain*, const ::com::alisoft::member::udb::api::model::Domain*, __U__DomainSeq); -void __read(::IceInternal::BasicStream*, DomainSeq&, __U__DomainSeq); - -} - -namespace user -{ - -} - -} - -} - -} - -} - -} - -namespace IceProxy -{ - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace user -{ - -class UserService : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int registerUser(const ::com::alisoft::member::udb::api::model::Map& registerInfo, ::std::string& userId) - { - return registerUser(registerInfo, userId, 0); - } - ::Ice::Int registerUser(const ::com::alisoft::member::udb::api::model::Map& registerInfo, ::std::string& userId, const ::Ice::Context& __ctx) - { - return registerUser(registerInfo, userId, &__ctx); - } - -private: - - ::Ice::Int registerUser(const ::com::alisoft::member::udb::api::model::Map&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int registerAlisoft(const ::com::alisoft::member::udb::api::model::Map& registerInfo, ::std::string& userId) - { - return registerAlisoft(registerInfo, userId, 0); - } - ::Ice::Int registerAlisoft(const ::com::alisoft::member::udb::api::model::Map& registerInfo, ::std::string& userId, const ::Ice::Context& __ctx) - { - return registerAlisoft(registerInfo, userId, &__ctx); - } - -private: - - ::Ice::Int registerAlisoft(const ::com::alisoft::member::udb::api::model::Map&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int isCanRegister(const ::std::string& passport, bool& isCan) - { - return isCanRegister(passport, isCan, 0); - } - ::Ice::Int isCanRegister(const ::std::string& passport, bool& isCan, const ::Ice::Context& __ctx) - { - return isCanRegister(passport, isCan, &__ctx); - } - -private: - - ::Ice::Int isCanRegister(const ::std::string&, bool&, const ::Ice::Context*); - -public: - - ::Ice::Int modifyUserInfo(const ::com::alisoft::member::udb::api::model::Map& updateInfo) - { - return modifyUserInfo(updateInfo, 0); - } - ::Ice::Int modifyUserInfo(const ::com::alisoft::member::udb::api::model::Map& updateInfo, const ::Ice::Context& __ctx) - { - return modifyUserInfo(updateInfo, &__ctx); - } - -private: - - ::Ice::Int modifyUserInfo(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*); - -public: - - ::Ice::Int modifyImToken(const ::std::string& longId, const ::std::string& imToken) - { - return modifyImToken(longId, imToken, 0); - } - ::Ice::Int modifyImToken(const ::std::string& longId, const ::std::string& imToken, const ::Ice::Context& __ctx) - { - return modifyImToken(longId, imToken, &__ctx); - } - -private: - - ::Ice::Int modifyImToken(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int modifyAepImToken(const ::std::string& longId, const ::std::string& imToken) - { - return modifyAepImToken(longId, imToken, 0); - } - ::Ice::Int modifyAepImToken(const ::std::string& longId, const ::std::string& imToken, const ::Ice::Context& __ctx) - { - return modifyAepImToken(longId, imToken, &__ctx); - } - -private: - - ::Ice::Int modifyAepImToken(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getAepImToken(const ::std::string& longId, ::std::string& imToken, ::std::string& md5pwd, ::std::string& userStatus) - { - return getAepImToken(longId, imToken, md5pwd, userStatus, 0); - } - ::Ice::Int getAepImToken(const ::std::string& longId, ::std::string& imToken, ::std::string& md5pwd, ::std::string& userStatus, const ::Ice::Context& __ctx) - { - return getAepImToken(longId, imToken, md5pwd, userStatus, &__ctx); - } - -private: - - ::Ice::Int getAepImToken(const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int validateUser(const ::std::string& longId, const ::std::string& password, ::std::string& passport, ::std::string& retLongId, ::std::string& userId) - { - return validateUser(longId, password, passport, retLongId, userId, 0); - } - ::Ice::Int validateUser(const ::std::string& longId, const ::std::string& password, ::std::string& passport, ::std::string& retLongId, ::std::string& userId, const ::Ice::Context& __ctx) - { - return validateUser(longId, password, passport, retLongId, userId, &__ctx); - } - -private: - - ::Ice::Int validateUser(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int validatePassport(const ::std::string& passport, const ::std::string& password, ::std::string& longId, ::std::string& userId, ::std::string& md5pw) - { - return validatePassport(passport, password, longId, userId, md5pw, 0); - } - ::Ice::Int validatePassport(const ::std::string& passport, const ::std::string& password, ::std::string& longId, ::std::string& userId, ::std::string& md5pw, const ::Ice::Context& __ctx) - { - return validatePassport(passport, password, longId, userId, md5pw, &__ctx); - } - -private: - - ::Ice::Int validatePassport(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int loginNotify(const ::std::string& longId) - { - return loginNotify(longId, 0); - } - ::Ice::Int loginNotify(const ::std::string& longId, const ::Ice::Context& __ctx) - { - return loginNotify(longId, &__ctx); - } - -private: - - ::Ice::Int loginNotify(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int recordCTULog(const ::com::alisoft::member::udb::api::model::Map& ctuLogInfo) - { - return recordCTULog(ctuLogInfo, 0); - } - ::Ice::Int recordCTULog(const ::com::alisoft::member::udb::api::model::Map& ctuLogInfo, const ::Ice::Context& __ctx) - { - return recordCTULog(ctuLogInfo, &__ctx); - } - -private: - - ::Ice::Int recordCTULog(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*); - -public: - - ::Ice::Int saveWebUserProfile(const ::com::alisoft::member::udb::api::model::Map& userBaseProfile) - { - return saveWebUserProfile(userBaseProfile, 0); - } - ::Ice::Int saveWebUserProfile(const ::com::alisoft::member::udb::api::model::Map& userBaseProfile, const ::Ice::Context& __ctx) - { - return saveWebUserProfile(userBaseProfile, &__ctx); - } - -private: - - ::Ice::Int saveWebUserProfile(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*); - -public: - - ::Ice::Int deleteUser(const ::std::string& longId, bool& success) - { - return deleteUser(longId, success, 0); - } - ::Ice::Int deleteUser(const ::std::string& longId, bool& success, const ::Ice::Context& __ctx) - { - return deleteUser(longId, success, &__ctx); - } - -private: - - ::Ice::Int deleteUser(const ::std::string&, bool&, const ::Ice::Context*); - -public: - - ::Ice::Int prohibitUser(const ::std::string& longId, bool& success) - { - return prohibitUser(longId, success, 0); - } - ::Ice::Int prohibitUser(const ::std::string& longId, bool& success, const ::Ice::Context& __ctx) - { - return prohibitUser(longId, success, &__ctx); - } - -private: - - ::Ice::Int prohibitUser(const ::std::string&, bool&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserBaseProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::Map& userBaseProfile) - { - return getUserBaseProfile(longId, userBaseProfile, 0); - } - ::Ice::Int getUserBaseProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::Map& userBaseProfile, const ::Ice::Context& __ctx) - { - return getUserBaseProfile(longId, userBaseProfile, &__ctx); - } - -private: - - ::Ice::Int getUserBaseProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserWebProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile) - { - return getUserWebProfile(longId, userProfile, 0); - } - ::Ice::Int getUserWebProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context& __ctx) - { - return getUserWebProfile(longId, userProfile, &__ctx); - } - -private: - - ::Ice::Int getUserWebProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserWebBaseProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile) - { - return getUserWebBaseProfile(longId, userProfile, 0); - } - ::Ice::Int getUserWebBaseProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context& __ctx) - { - return getUserWebBaseProfile(longId, userProfile, &__ctx); - } - -private: - - ::Ice::Int getUserWebBaseProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserProfileByLongId(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile) - { - return getUserProfileByLongId(longId, userProfile, 0); - } - ::Ice::Int getUserProfileByLongId(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context& __ctx) - { - return getUserProfileByLongId(longId, userProfile, &__ctx); - } - -private: - - ::Ice::Int getUserProfileByLongId(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserProfileListByLongId(const ::com::alisoft::member::udb::api::model::StringSeq& longIds, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq) - { - return getUserProfileListByLongId(longIds, userProfileSeq, 0); - } - ::Ice::Int getUserProfileListByLongId(const ::com::alisoft::member::udb::api::model::StringSeq& longIds, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq, const ::Ice::Context& __ctx) - { - return getUserProfileListByLongId(longIds, userProfileSeq, &__ctx); - } - -private: - - ::Ice::Int getUserProfileListByLongId(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserProfileListByEmail(const ::com::alisoft::member::udb::api::model::StringSeq& emails, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq) - { - return getUserProfileListByEmail(emails, userProfileSeq, 0); - } - ::Ice::Int getUserProfileListByEmail(const ::com::alisoft::member::udb::api::model::StringSeq& emails, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq, const ::Ice::Context& __ctx) - { - return getUserProfileListByEmail(emails, userProfileSeq, &__ctx); - } - -private: - - ::Ice::Int getUserProfileListByEmail(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserProfileByUserId(const ::std::string& userId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile) - { - return getUserProfileByUserId(userId, userProfile, 0); - } - ::Ice::Int getUserProfileByUserId(const ::std::string& userId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context& __ctx) - { - return getUserProfileByUserId(userId, userProfile, &__ctx); - } - -private: - - ::Ice::Int getUserProfileByUserId(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserProfileListByUserId(const ::com::alisoft::member::udb::api::model::StringSeq& userIds, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq) - { - return getUserProfileListByUserId(userIds, userProfileSeq, 0); - } - ::Ice::Int getUserProfileListByUserId(const ::com::alisoft::member::udb::api::model::StringSeq& userIds, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq, const ::Ice::Context& __ctx) - { - return getUserProfileListByUserId(userIds, userProfileSeq, &__ctx); - } - -private: - - ::Ice::Int getUserProfileListByUserId(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserIdByPassport(const ::std::string& passport, ::std::string& userId) - { - return getUserIdByPassport(passport, userId, 0); - } - ::Ice::Int getUserIdByPassport(const ::std::string& passport, ::std::string& userId, const ::Ice::Context& __ctx) - { - return getUserIdByPassport(passport, userId, &__ctx); - } - -private: - - ::Ice::Int getUserIdByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getLongIdByPassport(const ::std::string& passport, ::std::string& longId) - { - return getLongIdByPassport(passport, longId, 0); - } - ::Ice::Int getLongIdByPassport(const ::std::string& passport, ::std::string& longId, const ::Ice::Context& __ctx) - { - return getLongIdByPassport(passport, longId, &__ctx); - } - -private: - - ::Ice::Int getLongIdByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getUserIdByLongId(const ::std::string& longId, ::std::string& userId) - { - return getUserIdByLongId(longId, userId, 0); - } - ::Ice::Int getUserIdByLongId(const ::std::string& longId, ::std::string& userId, const ::Ice::Context& __ctx) - { - return getUserIdByLongId(longId, userId, &__ctx); - } - -private: - - ::Ice::Int getUserIdByLongId(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int isLongIdExist(const ::std::string& longId, bool& isExist) - { - return isLongIdExist(longId, isExist, 0); - } - ::Ice::Int isLongIdExist(const ::std::string& longId, bool& isExist, const ::Ice::Context& __ctx) - { - return isLongIdExist(longId, isExist, &__ctx); - } - -private: - - ::Ice::Int isLongIdExist(const ::std::string&, bool&, const ::Ice::Context*); - -public: - - ::Ice::Int getMD5PasswordByLongId(const ::std::string& longId, ::std::string& md5pwd, ::Ice::Int& status) - { - return getMD5PasswordByLongId(longId, md5pwd, status, 0); - } - ::Ice::Int getMD5PasswordByLongId(const ::std::string& longId, ::std::string& md5pwd, ::Ice::Int& status, const ::Ice::Context& __ctx) - { - return getMD5PasswordByLongId(longId, md5pwd, status, &__ctx); - } - -private: - - ::Ice::Int getMD5PasswordByLongId(const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int getMatchedUserInfoList(const ::std::string& loginId, ::com::alisoft::member::udb::api::model::MatchedUserInfoSeq& matchedUserInfoSeq) - { - return getMatchedUserInfoList(loginId, matchedUserInfoSeq, 0); - } - ::Ice::Int getMatchedUserInfoList(const ::std::string& loginId, ::com::alisoft::member::udb::api::model::MatchedUserInfoSeq& matchedUserInfoSeq, const ::Ice::Context& __ctx) - { - return getMatchedUserInfoList(loginId, matchedUserInfoSeq, &__ctx); - } - -private: - - ::Ice::Int getMatchedUserInfoList(const ::std::string&, ::com::alisoft::member::udb::api::model::MatchedUserInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int checkSession(const ::std::string& longId, const ::std::string& sessionNo, bool& isRight) - { - return checkSession(longId, sessionNo, isRight, 0); - } - ::Ice::Int checkSession(const ::std::string& longId, const ::std::string& sessionNo, bool& isRight, const ::Ice::Context& __ctx) - { - return checkSession(longId, sessionNo, isRight, &__ctx); - } - -private: - - ::Ice::Int checkSession(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*); - -public: - - ::Ice::Int changePasswordByUserId(const ::std::string& userId, const ::std::string& md5Password) - { - return changePasswordByUserId(userId, md5Password, 0); - } - ::Ice::Int changePasswordByUserId(const ::std::string& userId, const ::std::string& md5Password, const ::Ice::Context& __ctx) - { - return changePasswordByUserId(userId, md5Password, &__ctx); - } - -private: - - ::Ice::Int changePasswordByUserId(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int changePasswordByLongId(const ::std::string& longId, const ::std::string& md5Password) - { - return changePasswordByLongId(longId, md5Password, 0); - } - ::Ice::Int changePasswordByLongId(const ::std::string& longId, const ::std::string& md5Password, const ::Ice::Context& __ctx) - { - return changePasswordByLongId(longId, md5Password, &__ctx); - } - -private: - - ::Ice::Int changePasswordByLongId(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int updateLastLoginTime(const ::std::string& userId) - { - return updateLastLoginTime(userId, 0); - } - ::Ice::Int updateLastLoginTime(const ::std::string& userId, const ::Ice::Context& __ctx) - { - return updateLastLoginTime(userId, &__ctx); - } - -private: - - ::Ice::Int updateLastLoginTime(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int changeImBinding(const ::std::string& userId, const ::std::string& newLongId) - { - return changeImBinding(userId, newLongId, 0); - } - ::Ice::Int changeImBinding(const ::std::string& userId, const ::std::string& newLongId, const ::Ice::Context& __ctx) - { - return changeImBinding(userId, newLongId, &__ctx); - } - -private: - - ::Ice::Int changeImBinding(const ::std::string&, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getImBinding(const ::std::string& userId, ::std::string& longId) - { - return getImBinding(userId, longId, 0); - } - ::Ice::Int getImBinding(const ::std::string& userId, ::std::string& longId, const ::Ice::Context& __ctx) - { - return getImBinding(userId, longId, &__ctx); - } - -private: - - ::Ice::Int getImBinding(const ::std::string&, ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int getRandomPassports(::Ice::Long min, ::Ice::Long max, ::Ice::Int amount, ::com::alisoft::member::udb::api::model::StringSeq& passports) - { - return getRandomPassports(min, max, amount, passports, 0); - } - ::Ice::Int getRandomPassports(::Ice::Long min, ::Ice::Long max, ::Ice::Int amount, ::com::alisoft::member::udb::api::model::StringSeq& passports, const ::Ice::Context& __ctx) - { - return getRandomPassports(min, max, amount, passports, &__ctx); - } - -private: - - ::Ice::Int getRandomPassports(::Ice::Long, ::Ice::Long, ::Ice::Int, ::com::alisoft::member::udb::api::model::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int isPassportHold(const ::std::string& passort, bool& isHold) - { - return isPassportHold(passort, isHold, 0); - } - ::Ice::Int isPassportHold(const ::std::string& passort, bool& isHold, const ::Ice::Context& __ctx) - { - return isPassportHold(passort, isHold, &__ctx); - } - -private: - - ::Ice::Int isPassportHold(const ::std::string&, bool&, const ::Ice::Context*); - -public: - - ::Ice::Int getDomainList(::com::alisoft::member::udb::api::model::DomainSeq& domainSeq) - { - return getDomainList(domainSeq, 0); - } - ::Ice::Int getDomainList(::com::alisoft::member::udb::api::model::DomainSeq& domainSeq, const ::Ice::Context& __ctx) - { - return getDomainList(domainSeq, &__ctx); - } - -private: - - ::Ice::Int getDomainList(::com::alisoft::member::udb::api::model::DomainSeq&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -} - -} - -} - -} - -} - -namespace IceDelegate -{ - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace user -{ - -class UserService : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int registerUser(const ::com::alisoft::member::udb::api::model::Map&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int registerAlisoft(const ::com::alisoft::member::udb::api::model::Map&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int isCanRegister(const ::std::string&, bool&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int modifyUserInfo(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int modifyImToken(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int modifyAepImToken(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getAepImToken(const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int validateUser(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int validatePassport(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int loginNotify(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int recordCTULog(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int saveWebUserProfile(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int deleteUser(const ::std::string&, bool&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int prohibitUser(const ::std::string&, bool&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserBaseProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserWebProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserWebBaseProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserProfileByLongId(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserProfileListByLongId(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserProfileListByEmail(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserProfileByUserId(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserProfileListByUserId(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserIdByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getLongIdByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getUserIdByLongId(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int isLongIdExist(const ::std::string&, bool&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getMD5PasswordByLongId(const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getMatchedUserInfoList(const ::std::string&, ::com::alisoft::member::udb::api::model::MatchedUserInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkSession(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int changePasswordByUserId(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int changePasswordByLongId(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int updateLastLoginTime(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int changeImBinding(const ::std::string&, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getImBinding(const ::std::string&, ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getRandomPassports(::Ice::Long, ::Ice::Long, ::Ice::Int, ::com::alisoft::member::udb::api::model::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int isPassportHold(const ::std::string&, bool&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getDomainList(::com::alisoft::member::udb::api::model::DomainSeq&, const ::Ice::Context*) = 0; -}; - -} - -} - -} - -} - -} - -} - -} - -namespace IceDelegateM -{ - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace user -{ - -class UserService : virtual public ::IceDelegate::com::alisoft::member::udb::api::user::UserService, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int registerUser(const ::com::alisoft::member::udb::api::model::Map&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int registerAlisoft(const ::com::alisoft::member::udb::api::model::Map&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int isCanRegister(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int modifyUserInfo(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*); - - virtual ::Ice::Int modifyImToken(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int modifyAepImToken(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getAepImToken(const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int validateUser(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int validatePassport(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int loginNotify(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int recordCTULog(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*); - - virtual ::Ice::Int saveWebUserProfile(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*); - - virtual ::Ice::Int deleteUser(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int prohibitUser(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int getUserBaseProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*); - - virtual ::Ice::Int getUserWebProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int getUserWebBaseProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfileByLongId(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfileListByLongId(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfileListByEmail(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfileByUserId(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfileListByUserId(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserIdByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getLongIdByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getUserIdByLongId(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int isLongIdExist(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int getMD5PasswordByLongId(const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getMatchedUserInfoList(const ::std::string&, ::com::alisoft::member::udb::api::model::MatchedUserInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int checkSession(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int changePasswordByUserId(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int changePasswordByLongId(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateLastLoginTime(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int changeImBinding(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getImBinding(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getRandomPassports(::Ice::Long, ::Ice::Long, ::Ice::Int, ::com::alisoft::member::udb::api::model::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int isPassportHold(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int getDomainList(::com::alisoft::member::udb::api::model::DomainSeq&, const ::Ice::Context*); -}; - -} - -} - -} - -} - -} - -} - -} - -namespace IceDelegateD -{ - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace user -{ - -class UserService : virtual public ::IceDelegate::com::alisoft::member::udb::api::user::UserService, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int registerUser(const ::com::alisoft::member::udb::api::model::Map&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int registerAlisoft(const ::com::alisoft::member::udb::api::model::Map&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int isCanRegister(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int modifyUserInfo(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*); - - virtual ::Ice::Int modifyImToken(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int modifyAepImToken(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getAepImToken(const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int validateUser(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int validatePassport(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int loginNotify(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int recordCTULog(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*); - - virtual ::Ice::Int saveWebUserProfile(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*); - - virtual ::Ice::Int deleteUser(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int prohibitUser(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int getUserBaseProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Context*); - - virtual ::Ice::Int getUserWebProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int getUserWebBaseProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfileByLongId(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfileListByLongId(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfileListByEmail(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfileByUserId(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Context*); - - virtual ::Ice::Int getUserProfileListByUserId(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getUserIdByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getLongIdByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getUserIdByLongId(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int isLongIdExist(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int getMD5PasswordByLongId(const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int getMatchedUserInfoList(const ::std::string&, ::com::alisoft::member::udb::api::model::MatchedUserInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int checkSession(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int changePasswordByUserId(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int changePasswordByLongId(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int updateLastLoginTime(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int changeImBinding(const ::std::string&, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getImBinding(const ::std::string&, ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int getRandomPassports(::Ice::Long, ::Ice::Long, ::Ice::Int, ::com::alisoft::member::udb::api::model::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int isPassportHold(const ::std::string&, bool&, const ::Ice::Context*); - - virtual ::Ice::Int getDomainList(::com::alisoft::member::udb::api::model::DomainSeq&, const ::Ice::Context*); -}; - -} - -} - -} - -} - -} - -} - -} - -namespace com -{ - -namespace alisoft -{ - -namespace member -{ - -namespace udb -{ - -namespace api -{ - -namespace user -{ - -class UserService : virtual public ::Ice::Object -{ -public: - - typedef UserServicePrx ProxyType; - typedef UserServicePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int registerUser(const ::com::alisoft::member::udb::api::model::Map&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___registerUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int registerAlisoft(const ::com::alisoft::member::udb::api::model::Map&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___registerAlisoft(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int isCanRegister(const ::std::string&, bool&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___isCanRegister(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int modifyUserInfo(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___modifyUserInfo(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int modifyImToken(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___modifyImToken(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int modifyAepImToken(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___modifyAepImToken(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getAepImToken(const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getAepImToken(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int validateUser(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___validateUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int validatePassport(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___validatePassport(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int loginNotify(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___loginNotify(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int recordCTULog(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___recordCTULog(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int saveWebUserProfile(const ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___saveWebUserProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int deleteUser(const ::std::string&, bool&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___deleteUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int prohibitUser(const ::std::string&, bool&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___prohibitUser(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserBaseProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::Map&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserBaseProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserWebProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserWebProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserWebBaseProfile(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserWebBaseProfile(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserProfileByLongId(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserProfileByLongId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserProfileListByLongId(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserProfileListByLongId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserProfileListByEmail(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserProfileListByEmail(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserProfileByUserId(const ::std::string&, ::com::alisoft::member::udb::api::model::UserProfile&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserProfileByUserId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserProfileListByUserId(const ::com::alisoft::member::udb::api::model::StringSeq&, ::com::alisoft::member::udb::api::model::UserProfileSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserProfileListByUserId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserIdByPassport(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserIdByPassport(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getLongIdByPassport(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getLongIdByPassport(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getUserIdByLongId(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getUserIdByLongId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int isLongIdExist(const ::std::string&, bool&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___isLongIdExist(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getMD5PasswordByLongId(const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getMD5PasswordByLongId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getMatchedUserInfoList(const ::std::string&, ::com::alisoft::member::udb::api::model::MatchedUserInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getMatchedUserInfoList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int checkSession(const ::std::string&, const ::std::string&, bool&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkSession(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int changePasswordByUserId(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___changePasswordByUserId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int changePasswordByLongId(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___changePasswordByLongId(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int updateLastLoginTime(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___updateLastLoginTime(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int changeImBinding(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___changeImBinding(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getImBinding(const ::std::string&, ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getImBinding(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getRandomPassports(::Ice::Long, ::Ice::Long, ::Ice::Int, ::com::alisoft::member::udb::api::model::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getRandomPassports(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int isPassportHold(const ::std::string&, bool&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___isPassportHold(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getDomainList(::com::alisoft::member::udb::api::model::DomainSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getDomainList(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__UserServicePtr(void*, ::Ice::ObjectPtr&); - -} - -} - -} - -} - -} - -} - -#endif diff --git a/features/aliww/include/user_info.h b/features/aliww/include/user_info.h deleted file mode 100644 index 90ba9ba..0000000 --- a/features/aliww/include/user_info.h +++ /dev/null @@ -1,463 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `user_info.ice' - -#ifndef __user_info_h__ -#define __user_info_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace IMServerData -{ - -class UserInfoI; -bool operator==(const UserInfoI&, const UserInfoI&); -bool operator!=(const UserInfoI&, const UserInfoI&); -bool operator<(const UserInfoI&, const UserInfoI&); -bool operator<=(const UserInfoI&, const UserInfoI&); -bool operator>(const UserInfoI&, const UserInfoI&); -bool operator>=(const UserInfoI&, const UserInfoI&); - -} - -} - -namespace IMServerData -{ - -class UserInfoI; -bool operator==(const UserInfoI&, const UserInfoI&); -bool operator!=(const UserInfoI&, const UserInfoI&); -bool operator<(const UserInfoI&, const UserInfoI&); -bool operator<=(const UserInfoI&, const UserInfoI&); -bool operator>(const UserInfoI&, const UserInfoI&); -bool operator>=(const UserInfoI&, const UserInfoI&); - -} - -namespace IceInternal -{ - -void incRef(::IMServerData::UserInfoI*); -void decRef(::IMServerData::UserInfoI*); - -void incRef(::IceProxy::IMServerData::UserInfoI*); -void decRef(::IceProxy::IMServerData::UserInfoI*); - -} - -namespace IMServerData -{ - -typedef ::IceInternal::Handle< ::IMServerData::UserInfoI> UserInfoIPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::IMServerData::UserInfoI> UserInfoIPrx; - -void __write(::IceInternal::BasicStream*, const UserInfoIPrx&); -void __read(::IceInternal::BasicStream*, UserInfoIPrx&); -void __write(::IceInternal::BasicStream*, const UserInfoIPtr&); -void __patch__UserInfoIPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const UserInfoIPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const UserInfoIPtr&); -void __decRefUnsafe(const UserInfoIPtr&); -void __clearHandleUnsafe(UserInfoIPtr&); - -} - -namespace IMServerData -{ - -struct SWebBind -{ - ::std::string serviceId; - ::std::string siteId; - ::std::string webId; - ::std::string webUid; - ::Ice::StringSeq webUrl; - - bool operator==(const SWebBind&) const; - bool operator!=(const SWebBind&) const; - bool operator<(const SWebBind&) const; - bool operator<=(const SWebBind& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SWebBind& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SWebBind& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMServerData::SWebBind> SWebBindSeq; - -class __U__SWebBindSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMServerData::SWebBind*, const ::IMServerData::SWebBind*, __U__SWebBindSeq); -void __read(::IceInternal::BasicStream*, SWebBindSeq&, __U__SWebBindSeq); - -struct Statics -{ - ::std::string servicId; - ::std::string webId; - ::Ice::Long count; - - bool operator==(const Statics&) const; - bool operator!=(const Statics&) const; - bool operator<(const Statics&) const; - bool operator<=(const Statics& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const Statics& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const Statics& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::IMServerData::Statics> StaticsSeq; - -class __U__StaticsSeq { }; -void __write(::IceInternal::BasicStream*, const ::IMServerData::Statics*, const ::IMServerData::Statics*, __U__StaticsSeq); -void __read(::IceInternal::BasicStream*, StaticsSeq&, __U__StaticsSeq); - -} - -namespace IceProxy -{ - -namespace IMServerData -{ - -class UserInfoI : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int query(const ::std::string& id, ::IMServerData::SWebBindSeq& binds) - { - return query(id, binds, 0); - } - ::Ice::Int query(const ::std::string& id, ::IMServerData::SWebBindSeq& binds, const ::Ice::Context& __ctx) - { - return query(id, binds, &__ctx); - } - -private: - - ::Ice::Int query(const ::std::string&, ::IMServerData::SWebBindSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int insert(const ::std::string& id, const ::IMServerData::SWebBindSeq& binds) - { - return insert(id, binds, 0); - } - ::Ice::Int insert(const ::std::string& id, const ::IMServerData::SWebBindSeq& binds, const ::Ice::Context& __ctx) - { - return insert(id, binds, &__ctx); - } - -private: - - ::Ice::Int insert(const ::std::string&, const ::IMServerData::SWebBindSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int remove(const ::std::string& id) - { - return remove(id, 0); - } - ::Ice::Int remove(const ::std::string& id, const ::Ice::Context& __ctx) - { - return remove(id, &__ctx); - } - -private: - - ::Ice::Int remove(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int loginNtfy(const ::std::string& id) - { - return loginNtfy(id, 0); - } - ::Ice::Int loginNtfy(const ::std::string& id, const ::Ice::Context& __ctx) - { - return loginNtfy(id, &__ctx); - } - -private: - - ::Ice::Int loginNtfy(const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int gettLoginNumBySite(::IMServerData::StaticsSeq& lognum) - { - return gettLoginNumBySite(lognum, 0); - } - ::Ice::Int gettLoginNumBySite(::IMServerData::StaticsSeq& lognum, const ::Ice::Context& __ctx) - { - return gettLoginNumBySite(lognum, &__ctx); - } - -private: - - ::Ice::Int gettLoginNumBySite(::IMServerData::StaticsSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getSiteIds(const ::std::string& serviceid, const ::std::string& siteid, ::Ice::StringSeq& loginid) - { - return getSiteIds(serviceid, siteid, loginid, 0); - } - ::Ice::Int getSiteIds(const ::std::string& serviceid, const ::std::string& siteid, ::Ice::StringSeq& loginid, const ::Ice::Context& __ctx) - { - return getSiteIds(serviceid, siteid, loginid, &__ctx); - } - -private: - - ::Ice::Int getSiteIds(const ::std::string&, const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getOnlineCountBySite(::IMServerData::StaticsSeq& statics) - { - return getOnlineCountBySite(statics, 0); - } - ::Ice::Int getOnlineCountBySite(::IMServerData::StaticsSeq& statics, const ::Ice::Context& __ctx) - { - return getOnlineCountBySite(statics, &__ctx); - } - -private: - - ::Ice::Int getOnlineCountBySite(::IMServerData::StaticsSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int getOneSiteOnlineStatus(const ::std::string& serviceId, const ::std::string& siteid, ::Ice::Long& count) - { - return getOneSiteOnlineStatus(serviceId, siteid, count, 0); - } - ::Ice::Int getOneSiteOnlineStatus(const ::std::string& serviceId, const ::std::string& siteid, ::Ice::Long& count, const ::Ice::Context& __ctx) - { - return getOneSiteOnlineStatus(serviceId, siteid, count, &__ctx); - } - -private: - - ::Ice::Int getOneSiteOnlineStatus(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace IMServerData -{ - -class UserInfoI : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int query(const ::std::string&, ::IMServerData::SWebBindSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int insert(const ::std::string&, const ::IMServerData::SWebBindSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int remove(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int loginNtfy(const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int gettLoginNumBySite(::IMServerData::StaticsSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getSiteIds(const ::std::string&, const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getOnlineCountBySite(::IMServerData::StaticsSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int getOneSiteOnlineStatus(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace IMServerData -{ - -class UserInfoI : virtual public ::IceDelegate::IMServerData::UserInfoI, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int query(const ::std::string&, ::IMServerData::SWebBindSeq&, const ::Ice::Context*); - - virtual ::Ice::Int insert(const ::std::string&, const ::IMServerData::SWebBindSeq&, const ::Ice::Context*); - - virtual ::Ice::Int remove(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int loginNtfy(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int gettLoginNumBySite(::IMServerData::StaticsSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getSiteIds(const ::std::string&, const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getOnlineCountBySite(::IMServerData::StaticsSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getOneSiteOnlineStatus(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace IMServerData -{ - -class UserInfoI : virtual public ::IceDelegate::IMServerData::UserInfoI, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int query(const ::std::string&, ::IMServerData::SWebBindSeq&, const ::Ice::Context*); - - virtual ::Ice::Int insert(const ::std::string&, const ::IMServerData::SWebBindSeq&, const ::Ice::Context*); - - virtual ::Ice::Int remove(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int loginNtfy(const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int gettLoginNumBySite(::IMServerData::StaticsSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getSiteIds(const ::std::string&, const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getOnlineCountBySite(::IMServerData::StaticsSeq&, const ::Ice::Context*); - - virtual ::Ice::Int getOneSiteOnlineStatus(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*); -}; - -} - -} - -namespace IMServerData -{ - -class UserInfoI : virtual public ::Ice::Object -{ -public: - - typedef UserInfoIPrx ProxyType; - typedef UserInfoIPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int query(const ::std::string&, ::IMServerData::SWebBindSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___query(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int insert(const ::std::string&, const ::IMServerData::SWebBindSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___insert(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int remove(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___remove(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int loginNtfy(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___loginNtfy(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int gettLoginNumBySite(::IMServerData::StaticsSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___gettLoginNumBySite(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getSiteIds(const ::std::string&, const ::std::string&, ::Ice::StringSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getSiteIds(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getOnlineCountBySite(::IMServerData::StaticsSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getOnlineCountBySite(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int getOneSiteOnlineStatus(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___getOneSiteOnlineStatus(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__UserInfoIPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/user_statics.h b/features/aliww/include/user_statics.h deleted file mode 100644 index f7dd85a..0000000 --- a/features/aliww/include/user_statics.h +++ /dev/null @@ -1,254 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `user_statics.ice' - -#ifndef __user_statics_h__ -#define __user_statics_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace UserStaticsX -{ - -class UserStaticsI; -bool operator==(const UserStaticsI&, const UserStaticsI&); -bool operator!=(const UserStaticsI&, const UserStaticsI&); -bool operator<(const UserStaticsI&, const UserStaticsI&); -bool operator<=(const UserStaticsI&, const UserStaticsI&); -bool operator>(const UserStaticsI&, const UserStaticsI&); -bool operator>=(const UserStaticsI&, const UserStaticsI&); - -} - -} - -namespace UserStaticsX -{ - -class UserStaticsI; -bool operator==(const UserStaticsI&, const UserStaticsI&); -bool operator!=(const UserStaticsI&, const UserStaticsI&); -bool operator<(const UserStaticsI&, const UserStaticsI&); -bool operator<=(const UserStaticsI&, const UserStaticsI&); -bool operator>(const UserStaticsI&, const UserStaticsI&); -bool operator>=(const UserStaticsI&, const UserStaticsI&); - -} - -namespace IceInternal -{ - -void incRef(::UserStaticsX::UserStaticsI*); -void decRef(::UserStaticsX::UserStaticsI*); - -void incRef(::IceProxy::UserStaticsX::UserStaticsI*); -void decRef(::IceProxy::UserStaticsX::UserStaticsI*); - -} - -namespace UserStaticsX -{ - -typedef ::IceInternal::Handle< ::UserStaticsX::UserStaticsI> UserStaticsIPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::UserStaticsX::UserStaticsI> UserStaticsIPrx; - -void __write(::IceInternal::BasicStream*, const UserStaticsIPrx&); -void __read(::IceInternal::BasicStream*, UserStaticsIPrx&); -void __write(::IceInternal::BasicStream*, const UserStaticsIPtr&); -void __patch__UserStaticsIPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const UserStaticsIPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const UserStaticsIPtr&); -void __decRefUnsafe(const UserStaticsIPtr&); -void __clearHandleUnsafe(UserStaticsIPtr&); - -} - -namespace UserStaticsX -{ - -} - -namespace IceProxy -{ - -namespace UserStaticsX -{ - -class UserStaticsI : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int insert(const ::AliIMDBBase::UserStatics& delta) - { - return insert(delta, 0); - } - ::Ice::Int insert(const ::AliIMDBBase::UserStatics& delta, const ::Ice::Context& __ctx) - { - return insert(delta, &__ctx); - } - -private: - - ::Ice::Int insert(const ::AliIMDBBase::UserStatics&, const ::Ice::Context*); - -public: - - ::Ice::Int get(const ::std::string& id, ::AliIMDBBase::UserStatics& s) - { - return get(id, s, 0); - } - ::Ice::Int get(const ::std::string& id, ::AliIMDBBase::UserStatics& s, const ::Ice::Context& __ctx) - { - return get(id, s, &__ctx); - } - -private: - - ::Ice::Int get(const ::std::string&, ::AliIMDBBase::UserStatics&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace UserStaticsX -{ - -class UserStaticsI : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int insert(const ::AliIMDBBase::UserStatics&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int get(const ::std::string&, ::AliIMDBBase::UserStatics&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace UserStaticsX -{ - -class UserStaticsI : virtual public ::IceDelegate::UserStaticsX::UserStaticsI, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int insert(const ::AliIMDBBase::UserStatics&, const ::Ice::Context*); - - virtual ::Ice::Int get(const ::std::string&, ::AliIMDBBase::UserStatics&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace UserStaticsX -{ - -class UserStaticsI : virtual public ::IceDelegate::UserStaticsX::UserStaticsI, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int insert(const ::AliIMDBBase::UserStatics&, const ::Ice::Context*); - - virtual ::Ice::Int get(const ::std::string&, ::AliIMDBBase::UserStatics&, const ::Ice::Context*); -}; - -} - -} - -namespace UserStaticsX -{ - -class UserStaticsI : virtual public ::Ice::Object -{ -public: - - typedef UserStaticsIPrx ProxyType; - typedef UserStaticsIPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int insert(const ::AliIMDBBase::UserStatics&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___insert(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int get(const ::std::string&, ::AliIMDBBase::UserStatics&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___get(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__UserStaticsIPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/uss_perf_test.h b/features/aliww/include/uss_perf_test.h deleted file mode 100644 index 8d500ed..0000000 --- a/features/aliww/include/uss_perf_test.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef _USS_PERF_TEST_H -#define _USS_PERF_TEST_H - -#include "paramutil.h" -#include "cbenchmark.h" -#include "dbdatadefine.h" -#include "user_statics.h" -#include -#include - -using namespace std; -using namespace Ice; -using namespace UserStaticsX; - -typedef struct uss_t{ - UserStaticsIPrx *uss; - Ice::CommunicatorPtr *ic; -}uss_st; - -#ifdef __cplusplus -extern "C" { -#endif - -void* uss_init(void *p); -void* uss_end(void *p); - -void* uss_insert(void *p); -void* uss_get(void *p); -#ifdef __cplusplus -} -#endif -#endif diff --git a/features/aliww/include/vendorchkservice.h b/features/aliww/include/vendorchkservice.h deleted file mode 100644 index 207094b..0000000 --- a/features/aliww/include/vendorchkservice.h +++ /dev/null @@ -1,348 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `vendorchkservice.ice' - -#ifndef __vendorchkservice_h__ -#define __vendorchkservice_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace VendorCheckService -{ - -class VendorCheckInterface; -bool operator==(const VendorCheckInterface&, const VendorCheckInterface&); -bool operator!=(const VendorCheckInterface&, const VendorCheckInterface&); -bool operator<(const VendorCheckInterface&, const VendorCheckInterface&); -bool operator<=(const VendorCheckInterface&, const VendorCheckInterface&); -bool operator>(const VendorCheckInterface&, const VendorCheckInterface&); -bool operator>=(const VendorCheckInterface&, const VendorCheckInterface&); - -} - -} - -namespace VendorCheckService -{ - -class VendorCheckInterface; -bool operator==(const VendorCheckInterface&, const VendorCheckInterface&); -bool operator!=(const VendorCheckInterface&, const VendorCheckInterface&); -bool operator<(const VendorCheckInterface&, const VendorCheckInterface&); -bool operator<=(const VendorCheckInterface&, const VendorCheckInterface&); -bool operator>(const VendorCheckInterface&, const VendorCheckInterface&); -bool operator>=(const VendorCheckInterface&, const VendorCheckInterface&); - -} - -namespace IceInternal -{ - -void incRef(::VendorCheckService::VendorCheckInterface*); -void decRef(::VendorCheckService::VendorCheckInterface*); - -void incRef(::IceProxy::VendorCheckService::VendorCheckInterface*); -void decRef(::IceProxy::VendorCheckService::VendorCheckInterface*); - -} - -namespace VendorCheckService -{ - -typedef ::IceInternal::Handle< ::VendorCheckService::VendorCheckInterface> VendorCheckInterfacePtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::VendorCheckService::VendorCheckInterface> VendorCheckInterfacePrx; - -void __write(::IceInternal::BasicStream*, const VendorCheckInterfacePrx&); -void __read(::IceInternal::BasicStream*, VendorCheckInterfacePrx&); -void __write(::IceInternal::BasicStream*, const VendorCheckInterfacePtr&); -void __patch__VendorCheckInterfacePtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const VendorCheckInterfacePtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const VendorCheckInterfacePtr&); -void __decRefUnsafe(const VendorCheckInterfacePtr&); -void __clearHandleUnsafe(VendorCheckInterfacePtr&); - -} - -namespace VendorCheckService -{ - -} - -namespace IceProxy -{ - -namespace VendorCheckService -{ - -class VendorCheckInterface : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int checkVendor(const ::std::string& uid, ::Ice::Int& flag) - { - return checkVendor(uid, flag, 0); - } - ::Ice::Int checkVendor(const ::std::string& uid, ::Ice::Int& flag, const ::Ice::Context& __ctx) - { - return checkVendor(uid, flag, &__ctx); - } - -private: - - ::Ice::Int checkVendor(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int checkEmployee(const ::std::string& uid, ::Ice::Int& flag) - { - return checkEmployee(uid, flag, 0); - } - ::Ice::Int checkEmployee(const ::std::string& uid, ::Ice::Int& flag, const ::Ice::Context& __ctx) - { - return checkEmployee(uid, flag, &__ctx); - } - -private: - - ::Ice::Int checkEmployee(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int checkMsgPass(const ::std::string& from, const ::std::string& to, ::Ice::Int& flag) - { - return checkMsgPass(from, to, flag, 0); - } - ::Ice::Int checkMsgPass(const ::std::string& from, const ::std::string& to, ::Ice::Int& flag, const ::Ice::Context& __ctx) - { - return checkMsgPass(from, to, flag, &__ctx); - } - -private: - - ::Ice::Int checkMsgPass(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int isTaoJianghu(const ::std::string& uid1, const ::std::string& uid2, ::Ice::Int& flag) - { - return isTaoJianghu(uid1, uid2, flag, 0); - } - ::Ice::Int isTaoJianghu(const ::std::string& uid1, const ::std::string& uid2, ::Ice::Int& flag, const ::Ice::Context& __ctx) - { - return isTaoJianghu(uid1, uid2, flag, &__ctx); - } - -private: - - ::Ice::Int isTaoJianghu(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int isAllowP2p(const ::std::string& uid, ::Ice::Int& flag) - { - return isAllowP2p(uid, flag, 0); - } - ::Ice::Int isAllowP2p(const ::std::string& uid, ::Ice::Int& flag, const ::Ice::Context& __ctx) - { - return isAllowP2p(uid, flag, &__ctx); - } - -private: - - ::Ice::Int isAllowP2p(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - ::Ice::Int isUidValidWithVersion(const ::std::string& uid, const ::std::string& version, ::Ice::Int& flag) - { - return isUidValidWithVersion(uid, version, flag, 0); - } - ::Ice::Int isUidValidWithVersion(const ::std::string& uid, const ::std::string& version, ::Ice::Int& flag, const ::Ice::Context& __ctx) - { - return isUidValidWithVersion(uid, version, flag, &__ctx); - } - -private: - - ::Ice::Int isUidValidWithVersion(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace VendorCheckService -{ - -class VendorCheckInterface : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int checkVendor(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkEmployee(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int checkMsgPass(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int isTaoJianghu(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int isAllowP2p(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int isUidValidWithVersion(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace VendorCheckService -{ - -class VendorCheckInterface : virtual public ::IceDelegate::VendorCheckService::VendorCheckInterface, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int checkVendor(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int checkEmployee(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int checkMsgPass(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int isTaoJianghu(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int isAllowP2p(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int isUidValidWithVersion(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace VendorCheckService -{ - -class VendorCheckInterface : virtual public ::IceDelegate::VendorCheckService::VendorCheckInterface, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int checkVendor(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int checkEmployee(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int checkMsgPass(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int isTaoJianghu(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int isAllowP2p(const ::std::string&, ::Ice::Int&, const ::Ice::Context*); - - virtual ::Ice::Int isUidValidWithVersion(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*); -}; - -} - -} - -namespace VendorCheckService -{ - -class VendorCheckInterface : virtual public ::Ice::Object -{ -public: - - typedef VendorCheckInterfacePrx ProxyType; - typedef VendorCheckInterfacePtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int checkVendor(const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkVendor(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int checkEmployee(const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkEmployee(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int checkMsgPass(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___checkMsgPass(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int isTaoJianghu(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___isTaoJianghu(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int isAllowP2p(const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___isAllowP2p(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int isUidValidWithVersion(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___isUidValidWithVersion(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__VendorCheckInterfacePtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/include/webtcserv.h b/features/aliww/include/webtcserv.h deleted file mode 100644 index 490b559..0000000 --- a/features/aliww/include/webtcserv.h +++ /dev/null @@ -1,588 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `webtcserv.ice' - -#ifndef __webtcserv_h__ -#define __webtcserv_h__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -namespace IceProxy -{ - -namespace WebTribeCacheService -{ - -class WebTCSrvMgr; -bool operator==(const WebTCSrvMgr&, const WebTCSrvMgr&); -bool operator!=(const WebTCSrvMgr&, const WebTCSrvMgr&); -bool operator<(const WebTCSrvMgr&, const WebTCSrvMgr&); -bool operator<=(const WebTCSrvMgr&, const WebTCSrvMgr&); -bool operator>(const WebTCSrvMgr&, const WebTCSrvMgr&); -bool operator>=(const WebTCSrvMgr&, const WebTCSrvMgr&); - -} - -} - -namespace WebTribeCacheService -{ - -class WebTCSrvMgr; -bool operator==(const WebTCSrvMgr&, const WebTCSrvMgr&); -bool operator!=(const WebTCSrvMgr&, const WebTCSrvMgr&); -bool operator<(const WebTCSrvMgr&, const WebTCSrvMgr&); -bool operator<=(const WebTCSrvMgr&, const WebTCSrvMgr&); -bool operator>(const WebTCSrvMgr&, const WebTCSrvMgr&); -bool operator>=(const WebTCSrvMgr&, const WebTCSrvMgr&); - -} - -namespace IceInternal -{ - -void incRef(::WebTribeCacheService::WebTCSrvMgr*); -void decRef(::WebTribeCacheService::WebTCSrvMgr*); - -void incRef(::IceProxy::WebTribeCacheService::WebTCSrvMgr*); -void decRef(::IceProxy::WebTribeCacheService::WebTCSrvMgr*); - -} - -namespace WebTribeCacheService -{ - -typedef ::IceInternal::Handle< ::WebTribeCacheService::WebTCSrvMgr> WebTCSrvMgrPtr; -typedef ::IceInternal::ProxyHandle< ::IceProxy::WebTribeCacheService::WebTCSrvMgr> WebTCSrvMgrPrx; - -void __write(::IceInternal::BasicStream*, const WebTCSrvMgrPrx&); -void __read(::IceInternal::BasicStream*, WebTCSrvMgrPrx&); -void __write(::IceInternal::BasicStream*, const WebTCSrvMgrPtr&); -void __patch__WebTCSrvMgrPtr(void*, ::Ice::ObjectPtr&); - -void __addObject(const WebTCSrvMgrPtr&, ::IceInternal::GCCountMap&); -bool __usesClasses(const WebTCSrvMgrPtr&); -void __decRefUnsafe(const WebTCSrvMgrPtr&); -void __clearHandleUnsafe(WebTCSrvMgrPtr&); - -} - -namespace WebTribeCacheService -{ - -struct SWebTribeInfo -{ - ::Ice::Long tribeId; - ::std::string name; - ::Ice::Short tribeLevel; - ::Ice::Short tribeStatus; - ::std::string extSign; - ::Ice::Int groupStamp; - ::Ice::Short openTribe; - ::Ice::Long groupId; - - bool operator==(const SWebTribeInfo&) const; - bool operator!=(const SWebTribeInfo&) const; - bool operator<(const SWebTribeInfo&) const; - bool operator<=(const SWebTribeInfo& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SWebTribeInfo& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SWebTribeInfo& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::WebTribeCacheService::SWebTribeInfo> SWebTribeInfoSeq; - -class __U__SWebTribeInfoSeq { }; -void __write(::IceInternal::BasicStream*, const ::WebTribeCacheService::SWebTribeInfo*, const ::WebTribeCacheService::SWebTribeInfo*, __U__SWebTribeInfoSeq); -void __read(::IceInternal::BasicStream*, SWebTribeInfoSeq&, __U__SWebTribeInfoSeq); - -struct SWebTribeGroup -{ - ::Ice::Long groupId; - ::std::string groupName; - ::std::string serviceId; - ::std::string siteId; - ::std::string webId; - - bool operator==(const SWebTribeGroup&) const; - bool operator!=(const SWebTribeGroup&) const; - bool operator<(const SWebTribeGroup&) const; - bool operator<=(const SWebTribeGroup& __rhs) const - { - return operator<(__rhs) || operator==(__rhs); - } - bool operator>(const SWebTribeGroup& __rhs) const - { - return !operator<(__rhs) && !operator==(__rhs); - } - bool operator>=(const SWebTribeGroup& __rhs) const - { - return !operator<(__rhs); - } - - void __write(::IceInternal::BasicStream*) const; - void __read(::IceInternal::BasicStream*); -}; - -typedef ::std::vector< ::WebTribeCacheService::SWebTribeGroup> SWebTribeGroupSeq; - -class __U__SWebTribeGroupSeq { }; -void __write(::IceInternal::BasicStream*, const ::WebTribeCacheService::SWebTribeGroup*, const ::WebTribeCacheService::SWebTribeGroup*, __U__SWebTribeGroupSeq); -void __read(::IceInternal::BasicStream*, SWebTribeGroupSeq&, __U__SWebTribeGroupSeq); - -} - -namespace IceProxy -{ - -namespace WebTribeCacheService -{ - -class WebTCSrvMgr : virtual public ::IceProxy::Ice::Object -{ -public: - - ::Ice::Int GetUserTribe(const ::std::string& userId, ::WebTribeCacheService::SWebTribeInfoSeq& tribeList) - { - return GetUserTribe(userId, tribeList, 0); - } - ::Ice::Int GetUserTribe(const ::std::string& userId, ::WebTribeCacheService::SWebTribeInfoSeq& tribeList, const ::Ice::Context& __ctx) - { - return GetUserTribe(userId, tribeList, &__ctx); - } - -private: - - ::Ice::Int GetUserTribe(const ::std::string&, ::WebTribeCacheService::SWebTribeInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int AddUserTribes(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfoSeq& tribeList) - { - return AddUserTribes(userId, tribeList, 0); - } - ::Ice::Int AddUserTribes(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfoSeq& tribeList, const ::Ice::Context& __ctx) - { - return AddUserTribes(userId, tribeList, &__ctx); - } - -private: - - ::Ice::Int AddUserTribes(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfoSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int AddUserTribe(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfo& tribeInfo) - { - return AddUserTribe(userId, tribeInfo, 0); - } - ::Ice::Int AddUserTribe(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfo& tribeInfo, const ::Ice::Context& __ctx) - { - return AddUserTribe(userId, tribeInfo, &__ctx); - } - -private: - - ::Ice::Int AddUserTribe(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int DelUserTribe(const ::std::string& userId, ::Ice::Long tribeId) - { - return DelUserTribe(userId, tribeId, 0); - } - ::Ice::Int DelUserTribe(const ::std::string& userId, ::Ice::Long tribeId, const ::Ice::Context& __ctx) - { - return DelUserTribe(userId, tribeId, &__ctx); - } - -private: - - ::Ice::Int DelUserTribe(const ::std::string&, ::Ice::Long, const ::Ice::Context*); - -public: - - ::Ice::Int ChgUserTribe(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfo& tribeInfo) - { - return ChgUserTribe(userId, tribeInfo, 0); - } - ::Ice::Int ChgUserTribe(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfo& tribeInfo, const ::Ice::Context& __ctx) - { - return ChgUserTribe(userId, tribeInfo, &__ctx); - } - -private: - - ::Ice::Int ChgUserTribe(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int UpdateTribe(const ::WebTribeCacheService::SWebTribeInfo& tribeInfo) - { - return UpdateTribe(tribeInfo, 0); - } - ::Ice::Int UpdateTribe(const ::WebTribeCacheService::SWebTribeInfo& tribeInfo, const ::Ice::Context& __ctx) - { - return UpdateTribe(tribeInfo, &__ctx); - } - -private: - - ::Ice::Int UpdateTribe(const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Context*); - -public: - - ::Ice::Int RemoveTribe(::Ice::Long tribeId) - { - return RemoveTribe(tribeId, 0); - } - ::Ice::Int RemoveTribe(::Ice::Long tribeId, const ::Ice::Context& __ctx) - { - return RemoveTribe(tribeId, &__ctx); - } - -private: - - ::Ice::Int RemoveTribe(::Ice::Long, const ::Ice::Context*); - -public: - - ::Ice::Int AddWebTribeGroup(const ::WebTribeCacheService::SWebTribeGroup& webGroup) - { - return AddWebTribeGroup(webGroup, 0); - } - ::Ice::Int AddWebTribeGroup(const ::WebTribeCacheService::SWebTribeGroup& webGroup, const ::Ice::Context& __ctx) - { - return AddWebTribeGroup(webGroup, &__ctx); - } - -private: - - ::Ice::Int AddWebTribeGroup(const ::WebTribeCacheService::SWebTribeGroup&, const ::Ice::Context*); - -public: - - ::Ice::Int ChgWebTribeGroupName(::Ice::Long groupId, const ::std::string& groupName) - { - return ChgWebTribeGroupName(groupId, groupName, 0); - } - ::Ice::Int ChgWebTribeGroupName(::Ice::Long groupId, const ::std::string& groupName, const ::Ice::Context& __ctx) - { - return ChgWebTribeGroupName(groupId, groupName, &__ctx); - } - -private: - - ::Ice::Int ChgWebTribeGroupName(::Ice::Long, const ::std::string&, const ::Ice::Context*); - -public: - - ::Ice::Int DelWebTribeGroup(::Ice::Long groupId) - { - return DelWebTribeGroup(groupId, 0); - } - ::Ice::Int DelWebTribeGroup(::Ice::Long groupId, const ::Ice::Context& __ctx) - { - return DelWebTribeGroup(groupId, &__ctx); - } - -private: - - ::Ice::Int DelWebTribeGroup(::Ice::Long, const ::Ice::Context*); - -public: - - ::Ice::Int GetWebTribeGroup(::Ice::Long groupId, ::WebTribeCacheService::SWebTribeGroup& groupInfo) - { - return GetWebTribeGroup(groupId, groupInfo, 0); - } - ::Ice::Int GetWebTribeGroup(::Ice::Long groupId, ::WebTribeCacheService::SWebTribeGroup& groupInfo, const ::Ice::Context& __ctx) - { - return GetWebTribeGroup(groupId, groupInfo, &__ctx); - } - -private: - - ::Ice::Int GetWebTribeGroup(::Ice::Long, ::WebTribeCacheService::SWebTribeGroup&, const ::Ice::Context*); - -public: - - ::Ice::Int GetServiceWebGroup(const ::Ice::StringSeq& webServices, ::WebTribeCacheService::SWebTribeGroupSeq& groupList) - { - return GetServiceWebGroup(webServices, groupList, 0); - } - ::Ice::Int GetServiceWebGroup(const ::Ice::StringSeq& webServices, ::WebTribeCacheService::SWebTribeGroupSeq& groupList, const ::Ice::Context& __ctx) - { - return GetServiceWebGroup(webServices, groupList, &__ctx); - } - -private: - - ::Ice::Int GetServiceWebGroup(const ::Ice::StringSeq&, ::WebTribeCacheService::SWebTribeGroupSeq&, const ::Ice::Context*); - -public: - - ::Ice::Int GetUserWebGroup(const ::std::string& userId, ::WebTribeCacheService::SWebTribeGroupSeq& groupList) - { - return GetUserWebGroup(userId, groupList, 0); - } - ::Ice::Int GetUserWebGroup(const ::std::string& userId, ::WebTribeCacheService::SWebTribeGroupSeq& groupList, const ::Ice::Context& __ctx) - { - return GetUserWebGroup(userId, groupList, &__ctx); - } - -private: - - ::Ice::Int GetUserWebGroup(const ::std::string&, ::WebTribeCacheService::SWebTribeGroupSeq&, const ::Ice::Context*); - -public: - - static const ::std::string& ice_staticId(); - -private: - - virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM(); - virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD(); -}; - -} - -} - -namespace IceDelegate -{ - -namespace WebTribeCacheService -{ - -class WebTCSrvMgr : virtual public ::IceDelegate::Ice::Object -{ -public: - - virtual ::Ice::Int GetUserTribe(const ::std::string&, ::WebTribeCacheService::SWebTribeInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddUserTribes(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfoSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddUserTribe(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelUserTribe(const ::std::string&, ::Ice::Long, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ChgUserTribe(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int UpdateTribe(const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int RemoveTribe(::Ice::Long, const ::Ice::Context*) = 0; - - virtual ::Ice::Int AddWebTribeGroup(const ::WebTribeCacheService::SWebTribeGroup&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int ChgWebTribeGroupName(::Ice::Long, const ::std::string&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int DelWebTribeGroup(::Ice::Long, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetWebTribeGroup(::Ice::Long, ::WebTribeCacheService::SWebTribeGroup&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetServiceWebGroup(const ::Ice::StringSeq&, ::WebTribeCacheService::SWebTribeGroupSeq&, const ::Ice::Context*) = 0; - - virtual ::Ice::Int GetUserWebGroup(const ::std::string&, ::WebTribeCacheService::SWebTribeGroupSeq&, const ::Ice::Context*) = 0; -}; - -} - -} - -namespace IceDelegateM -{ - -namespace WebTribeCacheService -{ - -class WebTCSrvMgr : virtual public ::IceDelegate::WebTribeCacheService::WebTCSrvMgr, - virtual public ::IceDelegateM::Ice::Object -{ -public: - - virtual ::Ice::Int GetUserTribe(const ::std::string&, ::WebTribeCacheService::SWebTribeInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserTribes(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserTribe(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DelUserTribe(const ::std::string&, ::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int ChgUserTribe(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateTribe(const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveTribe(::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int AddWebTribeGroup(const ::WebTribeCacheService::SWebTribeGroup&, const ::Ice::Context*); - - virtual ::Ice::Int ChgWebTribeGroupName(::Ice::Long, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DelWebTribeGroup(::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int GetWebTribeGroup(::Ice::Long, ::WebTribeCacheService::SWebTribeGroup&, const ::Ice::Context*); - - virtual ::Ice::Int GetServiceWebGroup(const ::Ice::StringSeq&, ::WebTribeCacheService::SWebTribeGroupSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserWebGroup(const ::std::string&, ::WebTribeCacheService::SWebTribeGroupSeq&, const ::Ice::Context*); -}; - -} - -} - -namespace IceDelegateD -{ - -namespace WebTribeCacheService -{ - -class WebTCSrvMgr : virtual public ::IceDelegate::WebTribeCacheService::WebTCSrvMgr, - virtual public ::IceDelegateD::Ice::Object -{ -public: - - virtual ::Ice::Int GetUserTribe(const ::std::string&, ::WebTribeCacheService::SWebTribeInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserTribes(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfoSeq&, const ::Ice::Context*); - - virtual ::Ice::Int AddUserTribe(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int DelUserTribe(const ::std::string&, ::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int ChgUserTribe(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int UpdateTribe(const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Context*); - - virtual ::Ice::Int RemoveTribe(::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int AddWebTribeGroup(const ::WebTribeCacheService::SWebTribeGroup&, const ::Ice::Context*); - - virtual ::Ice::Int ChgWebTribeGroupName(::Ice::Long, const ::std::string&, const ::Ice::Context*); - - virtual ::Ice::Int DelWebTribeGroup(::Ice::Long, const ::Ice::Context*); - - virtual ::Ice::Int GetWebTribeGroup(::Ice::Long, ::WebTribeCacheService::SWebTribeGroup&, const ::Ice::Context*); - - virtual ::Ice::Int GetServiceWebGroup(const ::Ice::StringSeq&, ::WebTribeCacheService::SWebTribeGroupSeq&, const ::Ice::Context*); - - virtual ::Ice::Int GetUserWebGroup(const ::std::string&, ::WebTribeCacheService::SWebTribeGroupSeq&, const ::Ice::Context*); -}; - -} - -} - -namespace WebTribeCacheService -{ - -class WebTCSrvMgr : virtual public ::Ice::Object -{ -public: - - typedef WebTCSrvMgrPrx ProxyType; - typedef WebTCSrvMgrPtr PointerType; - - virtual ::Ice::ObjectPtr ice_clone() const; - - virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; - virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; - virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; - static const ::std::string& ice_staticId(); - - virtual ::Ice::Int GetUserTribe(const ::std::string&, ::WebTribeCacheService::SWebTribeInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddUserTribes(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfoSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddUserTribes(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddUserTribe(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddUserTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DelUserTribe(const ::std::string&, ::Ice::Long, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelUserTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int ChgUserTribe(const ::std::string&, const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ChgUserTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int UpdateTribe(const ::WebTribeCacheService::SWebTribeInfo&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___UpdateTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int RemoveTribe(::Ice::Long, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___RemoveTribe(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int AddWebTribeGroup(const ::WebTribeCacheService::SWebTribeGroup&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___AddWebTribeGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int ChgWebTribeGroupName(::Ice::Long, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___ChgWebTribeGroupName(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int DelWebTribeGroup(::Ice::Long, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___DelWebTribeGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetWebTribeGroup(::Ice::Long, ::WebTribeCacheService::SWebTribeGroup&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetWebTribeGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetServiceWebGroup(const ::Ice::StringSeq&, ::WebTribeCacheService::SWebTribeGroupSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetServiceWebGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::Ice::Int GetUserWebGroup(const ::std::string&, ::WebTribeCacheService::SWebTribeGroupSeq&, const ::Ice::Current& = ::Ice::Current()) = 0; - ::IceInternal::DispatchStatus ___GetUserWebGroup(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); - - virtual void __write(::IceInternal::BasicStream*) const; - virtual void __read(::IceInternal::BasicStream*, bool); - virtual void __write(const ::Ice::OutputStreamPtr&) const; - virtual void __read(const ::Ice::InputStreamPtr&, bool); -}; - -void __patch__WebTCSrvMgrPtr(void*, ::Ice::ObjectPtr&); - -} - -#endif diff --git a/features/aliww/lib/.svn/entries b/features/aliww/lib/.svn/entries deleted file mode 100644 index 4a276b2..0000000 --- a/features/aliww/lib/.svn/entries +++ /dev/null @@ -1,28 +0,0 @@ -10 - -dir -46 -svn://cuiz.me/cbenchmark/trunk/cbenchmark/features/aliww/lib -svn://cuiz.me - - - -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - -01675afb-4c4d-4bd7-85dd-1440927b3546 - diff --git a/features/aliww/slice/.svn/entries b/features/aliww/slice/.svn/entries deleted file mode 100644 index 0390163..0000000 --- a/features/aliww/slice/.svn/entries +++ /dev/null @@ -1,300 +0,0 @@ -10 - -dir -46 -svn://cuiz.me/cbenchmark/trunk/cbenchmark/features/aliww/slice -svn://cuiz.me - - - -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - -01675afb-4c4d-4bd7-85dd-1440927b3546 - -dbservice.ice -file - - - - -2011-06-28T07:31:15.000000Z -8359cd156c5e16fcb88b8a3805d5492f -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -67265 - -imicecommstruct.ice -file - - - - -2011-06-28T07:31:15.000000Z -e269682a33ede394b55a319c4ecd2b95 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -488 - -user_statics.ice -file - - - - -2011-06-28T07:31:15.000000Z -5c06056ac1d26c03fd3fd36cbc638708 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -419 - -imsession.ice -file - - - - -2011-06-28T07:31:15.000000Z -8b64b108d646bea333a328c79783cc4a -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -400 - -DBStruct.ice -file - - - - -2011-06-28T07:31:15.000000Z -d8be0b7d05e03ec1577448d4b9fb27aa -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -321 - -DDBInterface.ice -file - - - - -2011-06-28T07:31:15.000000Z -abcf71fb401a4dc933276400b13c0c24 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -1469 - -dbdatadefine.ice -file - - - - -2011-06-28T07:31:15.000000Z -8afbe44cb3e9f43ad53b16da4659186f -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -18806 - -dbtbsstructs60.ice -file - - - - -2011-06-28T07:31:15.000000Z -23e15165472616a0e1935c38e38256b5 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -5244 - diff --git a/features/aliww/slice/.svn/text-base/DBStruct.ice.svn-base b/features/aliww/slice/.svn/text-base/DBStruct.ice.svn-base deleted file mode 100644 index 007ea5c..0000000 --- a/features/aliww/slice/.svn/text-base/DBStruct.ice.svn-base +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef __DB_STRUCT_H__ -#define __DB_STRUCT_H__ - -#include - -module AliDDB -{ - dictionary KVMap; - sequence KVMapSeq; - struct DBRecord - { - KVMap fields; - KVMapSeq blobField; - }; - sequence DBRecordSeq; -}; - -#endif diff --git a/features/aliww/slice/.svn/text-base/DDBInterface.ice.svn-base b/features/aliww/slice/.svn/text-base/DDBInterface.ice.svn-base deleted file mode 100644 index 188ec5b..0000000 --- a/features/aliww/slice/.svn/text-base/DDBInterface.ice.svn-base +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef __DDB_INTERFACE_H__ -#define __DDB_INTERFACE_H__ - -#include "DBStruct.ice" - -module AliDDB -{ - interface AliDDBInterface - { - ["amd"] int insertRecord(string table, KVMap keys, DBRecord record); - int insertMultiRecords(string table, KVMapSeq keys, DBRecord record); - int getRecord(string table, KVMap keys, Ice::StringSeq fields, ::Ice::StringSeq blobFields, out DBRecord record); - int getRecords(string table, KVMap keys, Ice::StringSeq fields, string condition, Ice::StringSeq orderFields, int num, out DBRecord record); - int getRecordsCount(string table, KVMap keys, string condition, out int recordNum); - int getRecordsByPage(string table, KVMap keys, Ice::StringSeq fields, string condition, Ice::StringSeq orderFields, int pageno, int pagesize, out int total, out DBRecord record); - int getMultiRecords(string table, KVMapSeq keys, Ice::StringSeq fields, string condition, Ice::StringSeq orderFields, int num, out DBRecord record); - int getMultiRecordsByPage(string table, KVMapSeq keys, Ice::StringSeq fields, string condition, Ice::StringSeq orderFields, int pageno, int pagesize, out int total, out DBRecord record); - ["amd"] int updateRecord(string table, KVMap keys, KVMap uniqKey, DBRecord record); - ["amd"] int updateBlob(string table, KVMap keys, DBRecord record); //overwrite whole blob - ["amd"] int deleteRecord(string table, KVMap keys, KVMap uniqKey); - }; -}; - -#endif diff --git a/features/aliww/slice/.svn/text-base/dbdatadefine.ice.svn-base b/features/aliww/slice/.svn/text-base/dbdatadefine.ice.svn-base deleted file mode 100644 index eec30be..0000000 --- a/features/aliww/slice/.svn/text-base/dbdatadefine.ice.svn-base +++ /dev/null @@ -1,879 +0,0 @@ -#ifndef _H_AliIMDBDATADEFINE_ICE -#define _H_AliIMDBDATADEFINE_ICE - -#include - -module AliIMDBBase -{ - struct SICEMemberInfo - { - string memberId; - string password ; - string status; - string realname ; - string company ; - string jobtitle ; - int memberlevel;//³ÏÐÅͨ£¬°¢Àï°Í°ÍÔ±¹¤£¬µÈµÈ,ȨÏÞÓà - int industry; - int area; - string penName ; - int phoneStatus; - byte title; - string country ; - - }; - - struct SExICESysMessage - { - int msgId; - int type; - string expireTime; - int industry; - int area; - int rank; - string message; - string site; // such as "cnalichn", or "cntaobao" - }; - - struct SICESysMessage - { - int msgId; - int type; - string expireTime; - int industry; - int area; - int rank; - string message; - }; - - - struct SICEVersion - { - string version ; - byte status; - string remark ; - }; - - struct SICEUserInfo - { - string uid; - int picId; - int sysMsgId; - string lastLoginTime ; - int strangerMsgCount; - int loginCount; - int onlineTimes; - int addContactCount; - int addTribeCount; - int activeDegree; //now this is chatActiveCount Ǣ̸»îÔ¾¶È - int groupTimes; - int contactTimes; - int blacklistTimes; - int reverseBlacklistTimes; - int offlinemsgTimes; - int addContactVerify; - int sendMsgVerify; - int userStatus; - int userLevel; - float newActDgree;//now this is totalActDegree ÀۼƻîÔ¾¶È - int gencontacttimes;//ÆÕͨÁªÏµÈËʱ¼ä´Á - float rewardActDegree; //½±Àø»îÔ¾¶È - float onlineActDegree; //ÔÚÏß»îÔ¾¶È - int createTime; - int accounttype;//0x02 ¼´µÚ¶þλΪ1´ú±íÊǶàÕÊ»§,0´ú±íÆÕͨÕÊ»§ - }; -struct SICEUserInfo2 - { - string uid; - int picId; - int sysMsgId; - string lastLoginTime ; - int strangerMsgCount; - int loginCount; - int onlineTimes; - int addContactCount; - int addTribeCount; - int activeDegree; //now this is chatActiveCount Ǣ̸»îÔ¾¶È - int groupTimes; - int contactTimes; - int blacklistTimes; - int reverseBlacklistTimes; - int offlinemsgTimes; - int addContactVerify; - int sendMsgVerify; - int userStatus; - int userLevel; - float newActDgree;//now this is totalActDegree ÀۼƻîÔ¾¶È - int gencontacttimes;//ÆÕͨÁªÏµÈËʱ¼ä´Á - float rewardActDegree; //½±Àø»îÔ¾¶È - float onlineActDegree; //ÔÚÏß»îÔ¾¶È - int createTime; - int accounttype;//0x02 ¼´µÚ¶þλΪ1´ú±íÊǶàÕÊ»§,0´ú±íÆÕͨÕÊ»§ - string userfunctions; //¹¦ÄÜ×Ö¶Î, ÓÒÊý1Ϊ¶àÕʺţ¬2ΪEÍø´ò½ø,3Ϊ°ó¶¨ - }; - struct SICEUserInfoEx - { - string uid; - int picId; - int sysMsgId; - int lastLoginTime ; - int loginCount; - int strangerMsgCount; - int addContactCount; - int addTribeCount; - int groupTimes; - int contactTimes; - int blacklistTimes; - int reverseBlacklistTimes; - int offlinemsgTimes; - int gencontacttimes;//ÆÕͨÁªÏµÈËʱ¼ä´Á - int toolprofiletimes;//¸öÈËÅäÖÃʱ¼ä´Á - int addContactVerify; - int sendMsgVerify; - int userStatus; - int userLevel; - float totalActDegree ;//now this is totalActDegree ÀۼƻîÔ¾¶È - int createTime; - int accounttype;//0x02 ¼´µÚ¶þλΪ1´ú±íÊǶàÕÊ»§,0´ú±íÆÕͨÕÊ»§ - string loginIp; - string userfunctions; - //int userValue; - }; - //add by duhl 2008-09-01 for antirush project - struct SICEUserInfoNew - { - string uid; - int picId; - int sysMsgId; - string lastLoginTime ; - int strangerMsgCount; - int loginCount; - int onlineTimes; - int addContactCount; - int addTribeCount; - int activeDegree; //now this is chatActiveCount Ǣ̸»îÔ¾¶È - int groupTimes; - int contactTimes; - int blacklistTimes; - int reverseBlacklistTimes; - int offlinemsgTimes; - int addContactVerify; - int sendMsgVerify; - int userStatus; - int userLevel; - float newActDgree;//now this is totalActDegree ÀۼƻîÔ¾¶È - int gencontacttimes;//ÆÕͨÁªÏµÈËʱ¼ä´Á - float rewardActDegree; //½±Àø»îÔ¾¶È - float onlineActDegree; //ÔÚÏß»îÔ¾¶È - int createTime; - int accounttype;//0x02 ¼´µÚ¶þλΪ1´ú±íÊǶàÕÊ»§,0´ú±íÆÕͨÕÊ»§ - int reqAddContactCount; - }; -struct SICEUserInfo2New - { - string uid; - int picId; - int sysMsgId; - string lastLoginTime ; - int strangerMsgCount; - int loginCount; - int onlineTimes; - int addContactCount; - int addTribeCount; - int activeDegree; //now this is chatActiveCount Ǣ̸»îÔ¾¶È - int groupTimes; - int contactTimes; - int blacklistTimes; - int reverseBlacklistTimes; - int offlinemsgTimes; - int addContactVerify; - int sendMsgVerify; - int userStatus; - int userLevel; - float newActDgree;//now this is totalActDegree ÀۼƻîÔ¾¶È - int gencontacttimes;//ÆÕͨÁªÏµÈËʱ¼ä´Á - float rewardActDegree; //½±Àø»îÔ¾¶È - float onlineActDegree; //ÔÚÏß»îÔ¾¶È - int createTime; - int accounttype;//0x02 ¼´µÚ¶þλΪ1´ú±íÊǶàÕÊ»§,0´ú±íÆÕͨÕÊ»§ - string userfunctions; //¹¦ÄÜ×Ö¶Î, ÓÒÊý1Ϊ¶àÕʺţ¬2ΪEÍø´ò½ø,3Ϊ°ó¶¨ - int reqAddContactCount; - }; - struct SICEUserInfoExNew - { - string uid; - int picId; - int sysMsgId; - int lastLoginTime ; - int loginCount; - int strangerMsgCount; - int addContactCount; - int addTribeCount; - int groupTimes; - int contactTimes; - int blacklistTimes; - int reverseBlacklistTimes; - int offlinemsgTimes; - int gencontacttimes;//ÆÕͨÁªÏµÈËʱ¼ä´Á - int toolprofiletimes;//¸öÈËÅäÖÃʱ¼ä´Á - int addContactVerify; - int sendMsgVerify; - int userStatus; - int userLevel; - float totalActDegree ;//now this is totalActDegree ÀۼƻîÔ¾¶È - int createTime; - int accounttype;//0x02 ¼´µÚ¶þλΪ1´ú±íÊǶàÕÊ»§,0´ú±íÆÕͨÕÊ»§ - string loginIp; - string userfunctions; - int reqAddContactCount; - }; - struct SICEUserInfoExNew2 - { - string uid; - int picId; - int sysMsgId; - int lastLoginTime ; - int loginCount; - int strangerMsgCount; - int addContactCount; - int addTribeCount; - int groupTimes; - int contactTimes; - int blacklistTimes; - int reverseBlacklistTimes; - int offlinemsgTimes; - int gencontacttimes;//ÆÕͨÁªÏµÈËʱ¼ä´Á - int toolprofiletimes;//¸öÈËÅäÖÃʱ¼ä´Á - int addContactVerify; - int sendMsgVerify; - int userStatus; - int userLevel; - float totalActDegree ;//now this is totalActDegree ÀۼƻîÔ¾¶È - int createTime; - int accounttype;//0x02 ¼´µÚ¶þλΪ1´ú±íÊǶàÕÊ»§,0´ú±íÆÕͨÕÊ»§ - string loginIp; - string userfunctions; - int reqAddContactCount; - int userValue; - }; - - dictionary RIGHTTABLE; - struct SICEUserInfoExNew3 - { - string uid; - int picId; - int sysMsgId; - int lastLoginTime ; - int loginCount; - int groupTimes; - int contactTimes; - int blacklistTimes; - int reverseBlacklistTimes; - int offlinemsgTimes; - int gencontacttimes;//ÆÕͨÁªÏµÈËʱ¼ä´Á - int toolprofiletimes;//¸öÈËÅäÖÃʱ¼ä´Á - int addContactVerify; - int sendMsgVerify; - int userStatus; - int userLevel; - float totalActDegree ;//now this is totalActDegree ÀۼƻîÔ¾¶È - int createTime; - int accounttype;//0x02 ¼´µÚ¶þλΪ1´ú±íÊǶàÕÊ»§,0´ú±íÆÕͨÕÊ»§ - string loginIp; - string userfunctions; - int userValue; - RIGHTTABLE rightMap; - }; - - struct SICEUserInfoExNew4 - { - string uid; - int picId; - int sysMsgId; - int lastLoginTime ; - int loginCount; - int strangerMsgCount; - int addContactCount; - int addTribeCount; - int groupTimes; - int contactTimes; - int blacklistTimes; - int reverseBlacklistTimes; - int offlinemsgTimes; - int gencontacttimes;//ÆÕͨÁªÏµÈËʱ¼ä´Á - int toolprofiletimes;//¸öÈËÅäÖÃʱ¼ä´Á - int addContactVerify; - int sendMsgVerify; - int userStatus; - int userLevel; - float totalActDegree ;//now this is totalActDegree ÀۼƻîÔ¾¶È - int createTime; - int accounttype;//0x02 ¼´µÚ¶þλΪ1´ú±íÊǶàÕÊ»§,0´ú±íÆÕͨÕÊ»§ - string loginIp; - string userfunctions; - int userValue; - RIGHTTABLE rightMap; - string question; - string answer; - }; - - //end add. - struct SICEGroupInfo - { - int groupId; - string groupName; - }; - struct SICEGroupInfoEx - { - long groupId; - long parentId; - string groupName; - }; - - struct SICEContactInfo - { - string contactId; - int groupId; - string nickName; - int status; - string cid; - short cnttype; - string clientInfo; - }; - - struct SICEUserId - { - string uid; - }; - - struct SICEOffLineMessege - { - string createTime; - int type; - string fromId; - string content; - }; - struct SICEOffLineMessegeEx - { - int sendTime; - int type; - string fromId; - string content; - }; - - - struct SICEUserDStatus //ÔÚ¹ý¶ÉÆÚÖ®ºóɾ³ý - { - int statusId; - string statusInfo; - }; - - - struct SICECntCidModPair - { - string cid; - string modSeqId; - }; - - struct SICECRMContactDetail - { - string cntname ; - string email ; - string phoneno ; - string mobileno ; - string company ; - byte sex; - string jobtitle ; - string compaddr ; - int bizcatid; - string buykeys ; - string salekeys ; - string faxnumber ; - string penname ; - - }; - - struct SICESeqId - { - string seqId ; - }; - - struct SICENetPhoneChargeInfo - { - string chargeseqid ; - string payseqid ; - string chargebegintime ; - int denomination; - int payrealmoney; - int chargestatus; - int paystatus; - }; - - - struct SICEGenContactFull - { - string uid ; - string cid ; - string cntid ; - string nickname ; - string seqid ; - int groupId; - byte showflag; - string sex ; - byte cnttype; - int bizcatid; - string realname; - string email1; - string cphoneno1; - string hphoneno1; - string mobileno1; - string alitalkid; - string companyname; - string email2; - string email3; - string cphoneno2; - string cphoneno3; - string mobileno2; - string mobileno3; - string buykeys; - string salekeys; - string jobtitle; - string compaddr; - string homeaddr; - string compzip; - string homezip; - string cntpicid; - string compurl; - string homeurl; - string wwangid; - string yahooid; - string msnid; - string qqid; - string deptname; - string managername; - string idnumber; - string workidno; - string faxnumber; - string penname; - string engname; - string consortname; - string avocation; - string assistname; - string childname; - string birthday; - string memo; - string firstname; - string lastname; - }; - - - struct SICEATMGenContactFull - { - string uid ; - string cid ; - string cntid ; - string nickname ; - string seqid ; - int groupId; - byte showflag; - string sex ; - byte cnttype; - int bizcatid; - string realname; - string email1; - string cphoneno1; - string hphoneno1; - string mobileno1; - string alitalkid; - string companyname; - string email2; - string email3; - string cphoneno2; - string cphoneno3; - string mobileno2; - string mobileno3; - string buykeys; - string salekeys; - string jobtitle; - string compaddr; - string homeaddr; - string compzip; - string homezip; - string cntpicid; - string compurl; - string homeurl; - string wwangid; - string yahooid; - string msnid; - string qqid; - string deptname; - string managername; - string idnumber; - string workidno; - string faxnumber; - string penname; - string engname; - string consortname; - string avocation; - string assistname; - string childname; - string birthday; - string memo; - int companyid; - int cntlevel; - string country; - string productService; - string firstname; - string lastname; - string biztype; - int preRegister; - }; - - struct SICECntOtherModInfo - { - string cid; - string modSeqId; - int memberLevel; - int smsbindflag; - int smsmobileonlineflag; - string smsbindmobile;//[MOBILE_LENGTH+1]; - }; - - struct SICESmsUserInfo - { - string uid;//[UID_LENGTH+1]; - int bindFlag; - int mobileOnlineFlag; - string account;//[SMS_ACCOUNT_LENGTH+1]; - string password;//[SMS_PASSWORD_LENGTH+1]; - string mobileNo;//[MOBILE_LENGTH+1]; - int balance; - }; - - struct SICEAMOSUserInfo - { - string uid;//[UID_LENGTH+1]; - string lastLoginTime;//[TIME_MAX_LENGTH+1]; - int mobileOnlineFlag; - }; - struct SMemberPWInfo - { - string md5passwd; - bool bcanlogon;//ÍøÕ¾Õâ±ßÊÇ·ñÔÊÐíµÇ½IM - }; - struct SMemberPWInfoEx - { - string md5passwd; - bool bcanlogon;//ÍøÕ¾Õâ±ßÊÇ·ñÔÊÐíµÇ½IM - int activeState; - }; - struct SUserWebBasicProfile//Óû§µÚÒ»´ÎµÇ½ºÍ±»Ìí¼ÓÁªÏµÈËʱÓà - { - string uid; - string nickname; - string realname ; //fullname - string email; //tbonly have email,address,zip,birthday - string phoneno; - string mobileno; - string company; - string jobtitle ; - string address; - int catid; - string buykeyws; - string salekeyws; - string faxno; - string penname; - string country;//ȱʡÖйú - int memberlevel; - int industry; - int area; - int phoneStatus; - int activestat;//¼¤»î״̬£¬È¨ÏÞ¿ØÖÆÓà //notused. - string extraInfo;// ²ÉÓÃk1=v1&k2=v2¸ñʽ - string zip; - string birthday; - - string password; //add for UDB. - string prov; - string city; - string usergender; - string birthdate; - string status; //fora ali. - string province; //fora ali. - - int webLevel; //À´×ÔÍøÕ¾µÄµÚ¶þ¸öµÈ¼¶(ÖÐÎÄÕ¾,ÊÇ·ñÊÇÔ±¹¤ÌÔ±¦Õ¾ÊÇ·ñÊÇС¶þ) - }; - - struct SUserWebBasicProfile2 - { - string uid; - string nickname; - string realname ; //fullname - string email; //tbonly have email,address,zip,birthday - string phoneno; - string mobileno; - string company; - string jobtitle ; - string address; - int catid; - string buykeyws; - string salekeyws; - string faxno; - string penname; - string country; //ȱʡÖйú - int memberlevel; - int industry; - int area; - int phoneStatus; - int activestat; //¼¤»î״̬£¬È¨ÏÞ¿ØÖÆÓà //notused. - string extraInfo; // ²ÉÓÃk1=v1&k2=v2¸ñʽ - string zip; - string birthday; - string password; //add for UDB. - string prov; - string city; - string usergender; - string birthdate; - string status; //fora ali. - string province; //fora ali. - int webLevel; //À´×ÔÍøÕ¾µÄµÚ¶þ¸öµÈ¼¶(ÖÐÎÄÕ¾,ÊÇ·ñÊÇÔ±¹¤ÌÔ±¦Õ¾ÊÇ·ñÊÇС¶þ) - string subcity; - string homepage; - string interest; - }; - - struct SMatchedUserIdInfo - { - string userId; - string name; - byte validateflag; - }; - - struct SUdbUserInfo - { - string uid; - string name; - string rawpasswd; - string md5passwd; - string email; - string mobileno; - string phoneno; - string company; - string jobtitle; - string birthday; - string sex; - string country; - string province; - string city; - string address; - string zip; - }; - - struct SChildUserInfo - { - string uid; - string nikename; - string password; - string parentId; - int suspended; - int expirtTime; - int OpenTime; - int type; - int groupId; - int receptionNum; - int priority; - int recvOffMsg; - string needuseonline; - string userflag; - }; - - struct SChildUserInfo2 - { - string uid; - string nikename; - string password; - string parentId; - int suspended; - int expirtTime; - int OpenTime; - int type; - int groupId; - int receptionNum; - int priority; - int recvOffMsg; - }; - - struct SB2BChildUserInfo - { - string uid; - string parentId; - string userflag; - }; - - struct SICEToolProfile - { - int type; - string profile; - }; - - struct SICEKvPair - { - string key; - string value; - }; - - struct SImPrefix - { - string prefix; - string name; - }; - - sequence SICEMemberInfoSeq; - sequence SICESysMessageSeq; - sequence SExICESysMessageSeq; - sequence SICEVersionSeq; - sequence SICEUserInfoSeq; - sequence SICEUserInfoExSeq; - sequence SICEGroupInfoSeq; - sequence SICEGroupInfoExSeq; - sequence SICEContactInfoSeq; - sequence SICEOffLineMessegeSeq; - sequence SICEOffLineMessegeExSeq; - sequence SICECntCidModPairSeq; - sequence SICEUserDStatusSeq; - sequence SICENetPhoneChargeInfoSeq; - sequence SICEGenContactFullSeq; - sequence SICECntOtherModInfoSeq; - sequence SICEAMOSUserInfoSeq; - sequence SMatchedUserIdInfoSeq; - sequence SUdbUserInfoSeq; - sequence SChildUserInfoSeq; - sequence SB2BChildUserInfoSeq; - sequence SChildUserInfoSeq2; - sequence SICEToolProfileSeq; - sequence SICEKvPairSeq; - - sequence SImPrefixSeq; - dictionary SICEKVMap; - // e-service - struct SICEReceptNum //¿Í·þ×î´ó½Ó´ýÈËÊý - { - string eserviceid; //e¿Í·þid - int receptnum; //e¿Í·þ×î¸ß½Ó´ýÈËÊý - }; - sequence SICEReceptNumSeq; - - struct SICEReceptPriority //¿Í·þÓÅÏÈÁбí - { - string eserviceid; //e¿Í·þid - int receptpriority; //e¿Í·þ½Ó´ýȨÖØ - }; - sequence SICEReceptPrioritySeq; - - struct SICERecvOffMsg - { - string eserviceid; - int recvoffmsg; - }; - sequence SICERecvOffMsgSeq; - - struct SICEESGroupInfo //E¿Í·þ·Ö×é - { - string groupName; //·Ö×éÃû - int groupId; //·Ö×éid - string adminId; //¹ÜÀíÔ±id - Ice::StringSeq eservicelist; //³ÉÔ±Áбí - }; - sequence SICEESGroupInfoSeq; - - struct SICEESBaseGroupInfo - { - string groupName; //·Ö×éÃû - int groupId; //·Ö×éid - string adminId; //¹ÜÀíÔ±id - }; - - //E¿Í·þÀ©Õ¹ÇøÓò - struct SICEExpandArea - { - int id; - string areaname; - string url; - string picpath; - string createtime; - }; - sequence SICEExpandAreaSeq; - - //ÉèÖÃE¿Í·þÆÀ - struct SICEESEval - { - int code; - string codename; - string welcome; - }; - sequence SICEESEvalSeq; - - //ÉèÖÃE¿Í·þÆÀ¼Û½á¹û - struct SICEESCode - { - int code; - string codename; - int num; - }; - sequence SICEESCodeSeq; - - //²é¿´E¿Í·þÆÀ¼Û½á¹û - struct SICEESEvalResult - { - string uid; - int sendNum; - int receNum; - SICEESCodeSeq codes; - }; - sequence SICEESEvalResultSeq; - - //²é¿´E¿Í·þÆÀ¼Û½á¹û - struct SICEESEvalResultEx - { - string uid; - int sendNum; - int receNum; - SICEESCodeSeq codes; - string evalTime; - }; - sequence SICEESEvalResultExSeq; - - struct SICESqlItem - { - int type; //0=int32;2=double,3=string;4=datatime; - string name; - string value; - }; - sequence SICESqlItemSeq; - - struct UserStatics - { - int type; - string loginId; - int totalDegree; - int userValue; - int dailyAction; - int phoneAuth; - - /// b2b related - int emailAuth; - int identityAuth; - int tpAuth; - int tpFee; - - /// taobao related - int alipayAuth; - int buyCredit; - int sellCredit; - - }; - - sequence UserStaticsSeq; -}; -#endif - diff --git a/features/aliww/slice/.svn/text-base/dbservice.ice.svn-base b/features/aliww/slice/.svn/text-base/dbservice.ice.svn-base deleted file mode 100644 index 44ed473..0000000 --- a/features/aliww/slice/.svn/text-base/dbservice.ice.svn-base +++ /dev/null @@ -1,1705 +0,0 @@ -#ifndef HALIIMDBProxyMgrICE -#define HALIIMDBProxyMgrICE - -#include "dbdatadefine.ice" -#include "dbtbsstructs60.ice" -#include "imsession.ice" -#include "imicecommstruct.ice" - -module AliIMDBBase -{ - - interface IMDBProxyMgr - { - - ["amd" ] int sayhello(string userId, out string helloword); - //Óû§µÇ½ʱµÄµÚÒ»ÌõÃüÁÏòÓû§×¢²áµÄÍøÕ¾²éѯÃÜÂ룬ÔÊÐíÓë·ñÐÅÏ¢ - ["amd" ] int CheckUserToken(string userId, string passwd,out string lid, out string retuidtokenpw,out string retmd5passwd,out int activeStat); - ["amd" ] int CheckTmpSession(string userId, string passwd,out string lid, out string retuidtokenpw,out string retmd5passwd,out int activeStat); - ["amd" ] int CheckUserWebPasswd(string userId, string passwd,out string lid, out string retuidtokenpw,out string retmd5passwd,out int activeStat); - ["amd" ] int CheckUserPasswd(string userId,bool btokenpw, string passwd,out string retuidtokenpw,out string retmd5passwd,out int activeStat); - ["amd"] int CheckUserWebToken(string userId, string token, out string reason); - ["amd" ] int GetAtmLongid(string userId, out string longId); - ["amd" ] int AddUser60(string userId,string md5passwd,string tokenpw,int languageid); - ["amd" ] int GetWebMemberPWInfo(string userId, out SMemberPWInfo pwInfo); - ["amd" ] int GetWebMemberPWInfoEx(string userId, out SMemberPWInfoEx pwInfo); - ["amd" ] int GetUserWebBasicProfile(string userId,out SUserWebBasicProfile profile);//»ñÈ¡Óû§µÄ»ù±¾profile£¬ÓÃÀ´µ¼Èëµ½UDBÖÐ - ["amd" ] int CheckCanAddContact(string userId, string buddyId);//¹ú¼ÊÕ¾Ó㬠- - //finduidÊdz¤ID,Ö¸µÄÊÇË­·¢ÆðÕâ¸ö²Ù×÷£¬ shortIdÖ¸µÄÊÇÐèҪƥÅäµÄ¶ÌId - ["amd" ] int QueryMatchedUserIds(string finduid,string shortId,out SMatchedUserIdInfoSeq matchedIds); - - //Ìí¼ÓÁªÏµÈ˺ó¸üиÃÁªÏµÈ˵ÄÐÅÏ¢ - ["amd" ] int UpdateContactWebInfo(string userId, string buddyId, SUserWebBasicProfile cntWebInfo); - - //webIdÊÇÍøÕ¾µÄÓû§ID, ÄÚ²¿Âß¼­ÊÇ£º¼ì²é¸ÃÓû§µÄIM_USer±íÀïµÄgmt_createʱ¼äÓ뵱ǰʱ¼äÏà±ÈÊÇ·ñСÓÚ7Ì죬ÇÒ¸ÃÓû§µÄÀÛ¼ÆÔÚÏßʱ¼äÊÇ·ñСÓÚ56Сʱ - //Ó¦¸Ã¼ÓÃܹý°Ñ£¬´ý¶¨£¬string webId, string webIdMD5£¨webId¼ÓÃܹýµÄmd5) - ["amd" ] int DelTaobaoUser(string webId); - ["amd" ] int DelAnyUser(string imuserId); - - /**************************************************************** - º¯ÊýÃû³Æ£º KeyWord - ¼òÒªÃèÊö£ºÔö¼Óɾ³ý£¬Ð޸ģ¬²éѯ¹Ø¼ü×Ö - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -flag : ÊÇ·ñÔÊÐí±»²éѯ 0±í²»ÄÜ£¬1±íÄÜ -Êä³ö£º Óû§²»´æÔÚIM NODATAERR -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - - ["amd" ] int AddUserKeyWord(string userId, string keyword,int flag); - ["amd" ] int UpdateUserKeyWord(string userId, string keyword,int flag); - ["amd" ] int GetUserKeyWord(string userId, out string keyword,out int flag); - ["amd" ] int QueryUserIdsByKeyWord(string keyword,out SMatchedUserIdInfoSeq matchedIds); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetMemberInfo - ¼òÒªÃèÊö£ºÅжÏÓû§ÊÇ·ñ´æÔÚMember±í£¬È¡Óû§µÄÐÅÏ¢; - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - memberInfo£º´«³öÓû§Member±íÐÅÏ¢ - Êä³ö£º Óû§²»´æÔÚIM NODATAERR - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetMemberInfo(string userId, out SICEMemberInfo memberInfo); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetBatchMemberInfo, ´ÓUDBÖÐÈ¡Óû§µÄprofiles - ¼òÒªÃèÊö£ºÈ¡ÅúÁ¿Óû§µÄÐÅÏ¢; - ÊäÈ룺 userId£º£¬³¤ID£» - count£ºIDÊýÁ¿£¨²»Äܳ¬¹ý10£©¸ö¡£ - memberInfoList£º´«³öÓû§Member±íÐÅÏ¢Áбí - Êä³ö£º Óû§²»´æÔÚIM NOUSER - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetBatchMemberInfo(Ice::StringSeq userIds, out SICEMemberInfoSeq memberInfoList); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetBatchMemberAssortInfo - ¼òÒªÃèÊö£ºÈ¡ÅúÁ¿Óû§·ÖÀàÐÅÏ¢; - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - count£ºIDÊýÁ¿£¨²»Äܳ¬¹ý1024£©¸ö¡£ - memberInfoList£º´«³öÓû§Member±íÐÅÏ¢Áбí - Êä³ö£º Óû§²»´æÔÚIM NOUSER - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetBatchMemberAssortInfo(Ice::StringSeq userIds, out SICEMemberInfoSeq memberInfoList); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetNotifyMessageUserId - ¼òÒªÃèÊö£º¸ù¾ÝϵͳÏûÏ¢ºÅsysId£¬È¡Òª·¢¸øµÄËùÓÐÓû§ID£¬°üÀ¨ Óû§ID - ÊäÈ룺 sysId ϵͳÏûÏ¢ºÅ - userIdList£ºËùÓÐÓû§ID - Êä³ö£º ϵͳÏûÏ¢ºÅ²»´æÔÚIM NOSYSID, ¸øËùÓÐÈË·¢ÏµÍ³ÏûÏ¢ - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetNotifyMessageUserId(int sysId, out Ice::StringSeq userIdList); - - - /**************************************************************** - º¯ÊýÃû³Æ£º GetUidByPenname - ¼òÒªÃèÊö£ºÓñÊÃûÈ¡Óû§Ãû - ÊäÈ룺 penname: ±ÊÃû - SUserId£º´«³öÓû§ID - Êä³ö£º Óû§²»´æÔÚIM NOUSER - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetUidByPenname(string penname, out string userId); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetAllVersion - ¼òÒªÃèÊö£ºÈ¡ËùÓеÄóÒ×ͨ°æ±¾ - ÊäÈ룺 versionList£º´«³ö°æ±¾ÐÅÏ¢Áбí - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetAllVersion(out SICEVersionSeq versionList); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetAllSysMsg - ¼òÒªÃèÊö£ºÈ¥ËùÓÐÓÐЧµÄϵͳÏûÏ¢ - ÊäÈ룺 sysMsgList£º´«³öϵͳÏûÏ¢°æ±¾£» - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetAllSysMsg(out SICESysMessageSeq sysMsgList); - - ["amd" ] int GetAllExSysMsg(out SExICESysMessageSeq sysMsgList); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetAllUser - ¼òÒªÃèÊö£ºÈ¡ËùÓеÄóÒ×ͨÓû§ÁÐ±í£¬°üÀ¨ ID£¬×îºóµÇ¼ʱ¼ä - ÊäÈ룺 userInfoList£º´«ÊäóÒ×ͨÓû§ÐÅÏ¢Áбí - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetAllUser(out SICEUserInfo userInfoList); - - ["amd" ] int GetUserInfo(string userId, out SICEUserInfo userInfo); - ["amd" ] int GetUserInfo2(string userId, out SICEUserInfo2 userInfo); - ["amd" ] int GetUserInfoEx(string userId, out SICEUserInfoEx userInfo); - - //add by duhl 2008-9-1 for antirush project - ["amd" ] int GetUserInfoNew(string userId, out SICEUserInfoNew userInfo); - ["amd" ] int GetUserInfo2New(string userId, out SICEUserInfo2New userInfo); - ["amd" ] int GetUserInfoExNew(string userId, out SICEUserInfoExNew userInfo); - //end add. - ["amd" ] int GetUserInfoExNew2(string userId, out SICEUserInfoExNew2 userInfo); - ["amd" ] int GetUserInfoExNew3(string userId, out SICEUserInfoExNew3 userInfo); - ["amd" ] int GetUserInfoExNew4(string userId, out SICEUserInfoExNew4 userInfo); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetUserVerifyInfo - ¼òÒªÃèÊö£ºÈ¡Ã³Ò×ͨÓû§ÑéÖ¤ÐÅÏ¢ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - addcontactverify£ºÓû§±»Ä°ÉúÈËÌí¼ÓΪÁªÏµÈËÑéÖ¤±ê¼Ç - sendmsgverify£º Óû§±»Ä°ÉúÈË·¢ËÍÏûÏ¢ÑéÖ¤±ê¼Ç - Êä³ö£º Óû§²»´æÔÚIM NOUSER - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetUserVerifyInfo(string userId,out byte addcontactverify, out byte sendmsgverify); - ["amd" ] int GetUserVerifyInfoEx(string userId,out byte addcontactverify, out byte sendmsgverify, out byte enableSearchFlag); - ["amd" ] int GetUserVerifyInfoQuestion(string userId,out byte addcontactverify, out byte sendmsgverify, out byte enableSearchFlag, out string question, out string answer); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetGroupList - ¼òÒªÃèÊö£ºÈ¡Óû§µÄ×éÁÐ±í£¬°üÀ¨ ×éID£¬×éÃû - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - groupList£º´«³öÓû§×éÁбí - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetGroupList(string userId, out SICEGroupInfoSeq groupList, out int groupTimes); - ["amd" ] int GetGroupListEx(string userId, out SICEGroupInfoExSeq groupList, out int groupTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetContactList - ¼òÒªÃèÊö£ºÈ¡Óû§µÄÁªÏµÈËÁÐ±í£¬°üÀ¨ ÁªÏµÈËID,×éID£¬êÇ³Æ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - contactList£º´«³öÁªÏµÈËÁбí - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetContactList(string userId, int getFlag, out SICEContactInfoSeq contactList, out int contactTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetBlackList - ¼òÒªÃèÊö£ºÈ¡Óû§µÄºÚÃûµ¥ÁÐ±í£¬°üÀ¨ ºÚÃûµ¥ID - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - blackList£º´«³öºÚÃûµ¥Áбí - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetBlackList(string userId, out Ice::StringSeq blackList, out int blacklistTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetReverseBlackList - ¼òÒªÃèÊö£ºÈ¡Óû§µÄ·´ÏòºÚÃûµ¥ÁÐ±í£¬°üÀ¨ ·´ÏòºÚÃûµ¥ID - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - reverseBlackList£º´«³ö·´ÏòºÚÃûµ¥Áбí - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetReverseBlackList(string userId, out Ice::StringSeq reverseBlackList, out int reverseBlacklistTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetOfflineMsg - ¼òÒªÃèÊö£ºÈ¡Óû§µÄÈ«²¿ÀëÏßÏûÏ¢ °üÀ¨ ·¢ËÍ·½£¬ÀàÐÍ£¬Ê±¼ä£¬ÄÚÈݳ¤¶È£¬ÄÚÈÝ - - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - offlineMsgList£º´«³öÀëÏßÏûÏ¢Áбí - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetOfflineMsg(string userId, out SICEOffLineMessegeSeq offlineMsgList, out int offlinemsgTimes); - ["amd" ] int GetOfflineMsgEx(string userId, out SICEOffLineMessegeExSeq offlineMsgList, out int offlinemsgTimes); - - ["amd" ] int GetOfflineMsgCount(string uid, out int chatMsgNum, out int sysMsgNum); - - ["amd" ] int GetEnetOfflineMsgNum(string toId, string fromId, Ice::IntSeq types, out int msgNum); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetContactInfo - ¼òÒªÃèÊö£ºÈ¡Ã³Ò×ͨÓû§Ä³¸öÁªÏµÈËÐÅÏ¢ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -contactId: óÒ×ͨID£¬³¤ID£» -contactInfo£º´«³öÁªÏµÈ˵ÄIMCONTACT±íÐÅÏ¢ -Êä³ö£º Óû§²»´æÔÚIM NOUSER -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetContactInfo(string userId, string contactId, out SICEContactInfo contactInfo); - - - /**************************************************************** - º¯ÊýÃû³Æ£º GetOfflineMsgNum - ¼òÒªÃèÊö£ºÈ¡Ã³Ò×ͨÓû§Ä³¸öÁªÏµÈËÐÅÏ¢ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - msgNum£º´«³öÏàÓ¦IDÀëÏßÏûÏ¢ÌõÊý - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetOfflineMsgNum(string userId, out int msgNum); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetToolProfiles - ¼òÒªÃèÊö£ºÈ¡Ã³Ò×ͨÓû§Ä³¸öÍⲿ¹¤¾ßµÄÅäÖà - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - type£º¹¤¾ßÀàÐÍ - nowTimes£º¿Í»§¶ËÅäÖÃʱ¼ä´Á - toolProfilesList£º´«³öÅäÖÃÁбí - toolTimes£º´«³öÊý¾Ý¿âÅäÖÃʱ¼ä´Á - Êä³ö£º IM NODATAERRûÓб仯µÄÊý¾Ý - IM NOUSERÓû§²»´æÔÚ - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetToolProfiles(string userId, int type, int nowTimes, out Ice::StringSeq toolProfilesList, out int toolTimes); - ["amd" ] int GetToolProfilesEx(string userId, int nowTimes, out SICEToolProfileSeq toolProfilesList, out int toolTimes); - - - /**************************************************************** - º¯ÊýÃû³Æ£º GetSysMsg - ¼òÒªÃèÊö£ºÈ¥ËùÓÐÓÐЧµÄϵͳÏûÏ¢ - ÊäÈ룺 sysId £ºÏµÍ³ÏûÏ¢ºÅ - sysMsg£º´«³öϵͳÏûÏ¢°æ±¾£» - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetSysMsg(int sysId, out SICESysMessage sysMsg); - - /**************************************************************** - º¯ÊýÃû³Æ£º AddUser - ¼òÒªÃèÊö£ºÌí¼ÓóÒ×ͨÓû§ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - Êä³ö£º Óû§ÒѾ­´æÔÚIM DATADUP - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int AddUser(string userId); - - /**************************************************************** - º¯ÊýÃû³Æ£º AddGroup - ¼òÒªÃèÊö£ºÎªÓû§Ìí¼ÓÒ»¸ö×é - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -groupName: ×éÃû -groupId£º´«³ö×éId -groupTimes£º´«³ö×éʱ¼ä´Á -Êä³ö£º ×éÒѾ­´æÔÚIM DATADUP -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int AddGroup(string userId, string groupName, out int groupId, out int groupTimes); - ["amd" ] int AddGroupEx(string userId, string groupName, int parentId, out int groupId, out int groupTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º AddBlackList - ¼òÒªÃèÊö£ºÎªÓû§Ìí¼ÓÒ»¸öºÚÃûµ¥ID - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - blackId£ººÚÃûµ¥ID£¬³¤ID£» - blackListTimes£º´«³öºÚÃûµ¥Ê±¼ä´Á - Êä³ö£º ºÚÃûµ¥IDÒѾ­´æÔÚIM DATADUP - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int AddBlackList(string userId, string blackId, out int blackListTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º AddOfflineMsg - ¼òÒªÃèÊö£ºÌí¼ÓÒ»ÌõÀëÏßÏûÏ¢ - ÊäÈ룺 fromId£º·¢ËÍ·½ID£¬³¤ID£» - toId£º½ÓÊÜ·½ID£¬³¤ID£» - type£ºÏûÏ¢ÀàÐÍ,EOfflineMsgType - contect£ºÄÚÈÝ - len£ºÄÚÈݳ¤¶È - Êä³ö£º Êý¾ÝÒѾ­ÂúIM DATAFULL - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int AddOfflineMsg(string fromId, string toId, int type, string content); - ["amd" ] int AddExpriteTimeOfflineMsg(string fromId, string toId, int type, string content, string expireTime); - ["amd" ] int AddOfflineMsgNoSMS(string fromId, string toId, int type, string content); - - ["amd" ] int AddOfflineMsgEx(string fromId, string toId, int type, string content, long uniqueMsgTime); - - /**************************************************************** - º¯ÊýÃû³Æ£º AddHelpMsg - ¼òÒªÃèÊö£ºÌí¼ÓÒ»ÌõÈÈÏß°ïÖúÏûÏ¢ - ÊäÈ룺 fromId£º·¢ËÍ·½ID£¬³¤ID£» - toId£º½ÓÊÜ·½ID£¬³¤ID£» - type£ºÏûÏ¢ÀàÐÍ - contect£ºÄÚÈÝ - len£ºÄÚÈݳ¤¶È - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int AddHelpMsg(string fromId, string toId, int type, string content); - - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateUserLogin - ¼òÒªÃèÊö£ºÐÞ¸ÄÓû§µÇ¼ÐÅÏ¢; - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - sysMsgId£º×îºóµÄϵͳÏûÏ¢ºÅ - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateUserLogin(string userId, int sysMsgId); - ["amd" ] int UpdateUserLoginEx(string userId, int sysMsgId,string loginIp); - ["amd" ] int UpdateUserLoginDataInfo(string userId, int sysMsgId, string loginIp, int onlineTimes, int lastLoginTime); - ["amd" ] int UpdateUserLoginDataInfoEx(string userId, int sysMsgId, string loginIp, int onlineTimes, int lastLoginTime, int isNeedToUpdate); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateUserSysMsgId - ¼òÒªÃèÊö£ºÐÞ¸ÄÓû§µÇ¼ÐÅÏ¢; - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - sysMsgId£º×îºóµÄϵͳÏûÏ¢ºÅ - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateUserSysMsgId(string userId, int sysMsgId); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateUserDataInfo - ¼òÒªÃèÊö£ºÐÞ¸ÄÓû§Í³¼ÆºÍ¿ØÖÆÐÅÏ¢; - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - strangerMsgCount£º½ñÌìÒѾ­·¢Ë͵ÄÄ°ÉúÈËÏûÏ¢ÊýÁ¿ - onlineTimes£ºÕâ´ÎµÇ¼µÄÀÛ»ýʱ¼ä - addContactCount£º½ñÌìÒѾ­Ìí¼ÓµÄºÃÓÑÊýÁ¿ - activeDegree£ºÕâ´ÎµÇ¼µÄǢ̸»îÔ¾¶È -rewordActDegree: Õâ´ÎµÇ¼µÄ½±Àø»îÔ¾¶È -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateUserDataInfo(string userId, int strangerMsgCount, int onlineTimes, int addContactCount, int activeDegree, float rewardActDegree, float onlineActDegree, int addTribeCount); - ["amd" ] int UpdateUserDataInfo2(string userId, int strangerMsgCount, int onlineTimes, int addContactCount, int activeDegree, float rewardActDegree, float onlineActDegree, int addTribeCount, int reqAddContactCount); - ["amd" ] int UpdateUserDataInfo3(string userId, RIGHTTABLE rightMap, int onlineTimes, int activeDegree, float rewardActDegree, float onlineActDegree); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateUserDataInfo - ¼òÒªÃèÊö£ºÐÞ¸ÄÓû§Ìí¼ÓºÃÓѺͷ¢ËÍÏûÏ¢ÑéÖ¤ÉèÖÃ; - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - addContactVerify£ºÌí¼ÓÁªÏµÈËÐèÒªÑéÖ¤±ê¼Ç - sendMsgVerify£º·¢ËÍÏûÏ¢ÐèÒªÑéÖ¤±ê¼Ç - enbleSearchFlag: ÊÇ·ñÔÊÐíͨ¹ýuidÒÔÍâµÄÐÅÏ¢±»ËÑË÷µ½ - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateUserVerifySet(string userId, int addContactVerify, int sendMsgVerify); - ["amd" ] int UpdateUserVerifySetEx(string userId, int addContactVerify, int sendMsgVerify, int enbleSearchFlag); - ["amd" ] int UpdateUserVerifySetQuestion(string userId, int addContactVerify, int sendMsgVerify, int enbleSearchFlag, - string question, string answer); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateGroup - ¼òÒªÃèÊö£ºÐÞ¸ÄÓû§µÄ×éÃû - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - groupName£º×éÃû - groupId£º×éID - groupTimes£º´«³ö×éʱ¼ä´Á - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateGroup(string userId, string groupName, int groupId, out int groupTimes); - ["amd" ] int MoveGroup(string userId,long groupId,long newparentgid,out int groupTimes); - - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateContactInfo - ¼òÒªÃèÊö£ºÐÞ¸ÄÁªÏµÈËêÇ³Æ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID£¬³¤ID£» - nickName£ºêÇ³Æ -groupId: ×éID -contactTimes£ºÁªÏµÈËʱ¼ä´Á -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int UpdateContactInfo(string userId, string contactId, string nickName,int groupId, out int contactTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateContactNickName - ¼òÒªÃèÊö£ºÐÞ¸ÄÁªÏµÈËêÇ³Æ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID£¬³¤ID£» - nickName£ºêÇ³Æ - contactTimes£ºÁªÏµÈËʱ¼ä´Á - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateContactNickName(string userId, string contactId, string nickName, out int contactTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateContactGroup - ¼òÒªÃèÊö£ºÐÞ¸ÄÁªÏµÈË×éÐÅÏ¢ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID£¬³¤ID£» - srcGroupId£ºÔ­À´µÄ×é - dstGroupId£ºÄ¿±êµÄ×é - contactTimes£ºÁªÏµÈËʱ¼ä´Á - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateContactGroup(string userId, string contactId, int srcGroupId, int dstGroupId, out int contactTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateContactStatus - ¼òÒªÃèÊö£ºÐÞ¸ÄÁªÏµÈË״̬ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID£¬³¤ID£» - status£º×´Ì¬ - contactTimes£ºÁªÏµÈËʱ¼ä´Á - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateContactStatus(string userId, string contactId, int status, out int contactTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateNotifyMessage - ¼òÒªÃèÊö£ºÐÞ¸Ä֪ͨÏûϢ״̬ - ÊäÈ룺 msgId£ºÏµÍ³ÏûÏ¢ID - status£º×´Ì¬ - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateNotifyMessage(int msgId, int status); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateToolProfiles - ¼òÒªÃèÊö£ºÐÞ¸ÄÍⲿ¹¤¾ßÅäÖà - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - type£º¹¤¾ßÀàÐÍ - toolProfilsList£ºÐÂÅäÖÃÁбí - toolTimes£º´«³ö·þÎñÆ÷ÅäÖÃʱ¼ä´Á - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateToolProfiles(string userId, int type, Ice::StringSeq toolProfilsList, out int toolTimes); - ["amd" ] int UpdateToolProfilesEx(string userId,SICEToolProfileSeq toolProfilsList, out int toolTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º RemoveGroup - ¼òÒªÃèÊö£ºÉ¾³ý×é - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - groupId£º×éID - groupTimes£º´«³ö×éʱ¼ä´Á - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int RemoveGroup(string userId, int groupId, out int groupTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º RemoveContact - ¼òÒªÃèÊö£ºÉ¾³ýÁªÏµÈË - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID,³¤ID - contactTimes£º´«³öÁªÏµÈËʱ¼ä´Á - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int RemoveContact(string userId, string contactId, out int contactTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º RemoveInverfiedContact - ¼òÒªÃèÊö£ºÉ¾³ýÁªÏµÈË - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID,³¤ID - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int RemoveInverfiedContact(string userId, string contactId, out int contactTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º RemoveBlackList - ¼òÒªÃèÊö£ºÉ¾³ýºÚÃûµ¥ID - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - blackId£ººÚÃûµ¥ID,³¤ID - blackListTimes£º´«³öºÚÃûµ¥Ê±¼ä´Á - Êä³ö£º Óû§²»´æÔÚIM NOUSER - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int RemoveBlackList(string userId, string blackId, out int blackListTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º RemoveBlackList - ¼òÒªÃèÊö£ºÉ¾³ýºÚÃûµ¥ID - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - otheruid£ºÃ³Ò×ͨID,³¤ID - bBlacked£ºÊÇ·ñ±»ÆÁ±Î - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int IsBlackedByOther(string userId, string otheruid, out bool bBlacked); - - - /**************************************************************** - º¯ÊýÃû³Æ£º RemoveBatchContacts - ¼òÒªÃèÊö£ºÅúÁ¿É¾³ýÁªÏµÈË - userId£ºÃ³Ò×ͨID£¬³¤ID£» - cids£ºÁªÏµÈËcid£» - modifyCntTimes: ´«ÈëÊÇ·ñ°üº¬Ã³Ò×ͨÁªÏµÈË£¬´«³öóÒ×ͨÁªÏµÈËʱ¼ä´Á - modifyGenCntTimes: ´«ÈëÊÇ·ñ°üº¬ÆÕͨÁªÏµÈË£¬´«³öÆÕͨÁªÏµÈËʱ¼ä´Á - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int RemoveBatchContacts(string userId, Ice::StringSeq cids, out ::Ice::StringSeq retVect,out int modifyCntTimes, out int modifyGenCntTime); - - /**************************************************************** - º¯ÊýÃû³Æ£ºIMPGetUserDStatus - ¼òÒªÃèÊö£ºÕâÊÇÀϰ汾óÒ×ͨ»ñÈ¡×Ô¶¨Òå״̬µÄ²Ù×÷Êý¾Ý¿â½Ó¿Ú£¬¹ý¶ÉÆÚÖ®ºóɾ³ý - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - userDStatusList£º´«³öÓû§×´Ì¬Áбí - Êä³ö£º ûÓÐ×Ô¶¨Òå״̬IM NODATAERR - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetUserDStatus(string userId, out SICEUserDStatusSeq userDStatusList); - - /**************************************************************** - º¯ÊýÃû³Æ£ºIMPAddUserDStatus - ¼òÒªÃèÊö£ºÕâÊÇÀϰ汾óÒ×ͨÌí¼Ó×Ô¶¨Òå״̬µÄ²Ù×÷Êý¾Ý¿â½Ó¿Ú£¬¹ý¶ÉÆÚÖ®ºóɾ³ý - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - userDStatus£ºÓû§¶¨Òå״̬ -statusId: ´«³ö״̬ºÅ -Êä³ö£º ×Ô¶¨Òå״̬ÂúIM DATAFULL -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int AddUserDStatus(string userId, string userDStatus, out int statusId); - - /**************************************************************** - º¯ÊýÃû³Æ£ºIMPRemoveUserDStatus - ¼òÒªÃèÊö£ºÕâÊÇÀϰ汾óÒ×ͨɾ³ý×Ô¶¨Òå״̬µÄ²Ù×÷Êý¾Ý¿â½Ó¿Ú£¬¹ý¶ÉÆÚÖ®ºóɾ³ý - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -statusId: ״̬ºÅ -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int RemoveUserDStatus(string userId, int statusId); - - //mojx add 2005/11/24 - - /**************************************************************** - º¯ÊýÃû³Æ£ºIMPGetAllContactList - ¼òÒªÃèÊö£º - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -getFlag: 1´ú±íֻȡcnttype=0µÄcontactid, 2´ú±íÈ¡contactid, groupid, nickname,cid,cnttype -Êä³ö£º contactList£º´«³öÁªÏµÈËÁбí -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetAllContactList(string uid, int getFlag, out SICEContactInfoSeq contactList, out int contactTimes, out int gencontacttimes);//µÃµ½ÁªÏµÈËÁбí - - - /**************************************************************** - º¯ÊýÃû³Æ£ºIMPGetCntModifyLis - ¼òÒªÃèÊö£º - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -sMaxSeqId: ¿Í»§¶Ë±£´æµÄÁªÏµÈËÏêϸÐÅÏ¢×î´ó¸ü¸ÄÐòÁкŠ-Êä³ö£º cntList£º¸ü¸Ä¹ýµÄÁªÏµÈËÁбí -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetCntModifyList(int getFlag,string uid, string sMaxSeqId, out SICECntCidModPairSeq cntList); - - /**************************************************************** - º¯ÊýÃû³Æ£ºIMPAddGenContactFull - ¼òÒªÃèÊö£º - ÊäÈ룺 detail: ÆÕͨÁªÏµÈ˵ÄÐÅÏ¢ - - Êä³ö£º retscid: ÐÂÔö¼ÓÁªÏµÈ˵Äcid -retsmodseqid: ÐÂÔö¼ÓÁªÏµÈ˵ĸü¸ÄÐòÁкŠ-timeStamps: ÐÂÔö¼ÓÁªÏµÈ˵ÄÌí¼Óɾ³ýʱ¼ä´Á -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - - ["amd" ] int AddGenContactFull(SICEGenContactFull detail,out string retscid,out string retsmodseqid, out long timeStamps); - - /**************************************************************** - º¯ÊýÃû³Æ£ºIMPGetContactFull - ¼òÒªÃèÊö£º - ÊäÈ룺 detail: ÆÕͨÁªÏµÈ˵ÄÐÅÏ¢ - - Êä³ö£º retscid: ÐÂÔö¼ÓÁªÏµÈ˵Äcid -retsmodseqid: ÐÂÔö¼ÓÁªÏµÈ˵ĸü¸ÄÐòÁкŠ-timeStamps: ÐÂÔö¼ÓÁªÏµÈ˵ÄÌí¼Óɾ³ýʱ¼ä´Á -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - - ["amd" ] int GetContactDetail(string uid, string cid, out SICEGenContactFull detail); - - /**************************************************************** - º¯ÊýÃû³Æ£ºIMPDelGenContact - ¼òÒªÃèÊö£º - ÊäÈ룺 uid: Óû§loginId -cid: ÁªÏµÈ˵Äcid - -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int DelGenContact(string uid, string cid,out long contactTimes); - /**************************************************************** - º¯ÊýÃû³Æ£º AddContact - ¼òÒªÃèÊö£ºÎªÓû§Ìí¼ÓÒ»¸öÁªÏµÈË - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID,³¤ID - nickName£ºêÇ³Æ - groupId£º×éID - contactTimes£º´«³öÁªÏµÈËʱ¼ä´Á -retcid: ÁªÏµÈËCID -retmodseqid: ÁªÏµÈ˸ü¸ÄÐòÁкŠ-Êä³ö£º ÁªÏµÈËÒѾ­´æÔÚIM DATADUP -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int AddContact(string userId, string contactId, string nickName, int groupId, int status,SUserWebBasicProfile cntInfo, out int contactTimes, - out string retcid, out string retmodseqid); - - /**************************************************************** - º¯ÊýÃû³Æ£º CheckUpgradeGenCnt - ¼òÒªÃèÊö£º¼ì²éÊÇ·ñ¿ÉÒÔÉý¼¶ÎªÃ³Ò×ͨÁªÏµÈË - ÊäÈ룺 uid£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID,³¤ID -cid: ÁªÏµÈËCID -Êä³ö£º ÁªÏµÈËÒѾ­´æÔÚIM DATADUP -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - - ["amd" ] int CheckUpgradeGenCnt(string uid, string cid, string contactId); - - /**************************************************************** - º¯ÊýÃû³Æ£º ModifyGenCntID - ¼òÒªÃèÊö£º¸ü¸ÄÆÕͨÁªÏµÈ˵ÄIDΪóÒ×ͬÁªÏµÈËID - ÊäÈ룺 uid£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID,³¤ID -cid: ÁªÏµÈËCID -Êä³ö£º modseqid: ÏêϸÐÅÏ¢¸ü¸ÄÐòÁкŠ-ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int ModifyGenCntID(string uid, string cid, string contactId,out string modseqid); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpgradeGenContact - ¼òÒªÃèÊö£ºÉý¼¶ÆÕͨÁªÏµÈËΪóÒ×ͬÁªÏµÈË - ÊäÈ룺 uid£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID,³¤ID -cid: ÁªÏµÈËCID -cntstamp: еÄóÒ×ͨÁªÏµÈËʱ¼ä´Á -gencntstamp: еÄÆÕͨÁªÏµÈËʱ¼ä´Á -Êä³ö£º modseqid: ÏêϸÐÅÏ¢¸ü¸ÄÐòÁкŠ-ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpgradeGenContact(string uid, string cid, string contactId, out long cntstamp, out long gencntstamp,out string modseqid); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetUpdatedUserInfo - ¼òÒªÃèÊö£ºÈ¡Ñé֤ͨ¹ýµÄÐÂÁªÏµÈ˸ü¸Ä¹ýµÄÐÅÏ¢ - ÊäÈ룺 uid£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID,³¤ID - -cntstamp: еÄóÒ×ͨÁªÏµÈËʱ¼ä´Á -gencntstamp: еÄÆÕͨÁªÏµÈËʱ¼ä´Á -Êä³ö£º cid: ÁªÏµÈËCID -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetUpdatedUserInfo(string uid, string contactId,out long cntstamp, out long gencntstamp, out string retcid,out string modseqid, out long groupid,out string nickname); - - /**************************************************************** - º¯ÊýÃû³Æ£º ModifyContactDetail - ¼òÒªÃèÊö£ºÈ¡Ñé֤ͨ¹ýµÄÐÂÁªÏµÈ˸ü¸Ä¹ýµÄÐÅÏ¢ - ÊäÈ룺 uid£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID,³¤ID - -cntstamp: еÄóÒ×ͨÁªÏµÈËʱ¼ä´Á -gencntstamp: еÄÆÕͨÁªÏµÈËʱ¼ä´Á -Êä³ö£º cid: ÁªÏµÈËCID -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int ModifyContactDetail(SICEGenContactFull detail,out long gencntmodifyVersion, out string modseqid); - - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateContactGroupByCid - ¼òÒªÃèÊö£ºÐÞ¸ÄÁªÏµÈË×éÐÅÏ¢ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID£¬³¤ID£» - srcGroupId£ºÔ­À´µÄ×é - dstGroupId£ºÄ¿±êµÄ×é - contactTimes£ºÁªÏµÈËʱ¼ä´Á - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateContactGroupByCid(string userId, string cid, int srcGroupId, int dstGroupId, out int contactTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£ºDB_UpdateContactNickName - ¼òÒªÃèÊö£ºÐÞ¸ÄÁªÏµÈËêÇ³Æ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - cid£ºÁªÏµÈËCID£¬ÐòÁÐID£» - nickName£ºêÇ³Æ - contactTimes£ºÁªÏµÈËʱ¼ä´Á - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateContactNickNameByCid(string userId, string cid, string nickName, out int contactTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetCRMContactDetail - ¼òÒªÃèÊö£ºCRMÌí¼ÓÁªÏµÈËÑé֤ʧ°Üʱ£¬È¡ Ìí¼ÓΪÆÕͨÁªÏµÈ˵ÄÏêϸÐÅÏ¢£¬ÏÖÔÚ´ÓMember±íÈ¡ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - cntid£ºÁªÏµÈËID£¬³¤ID£» -cntDetail: ·µ»ØµÄÏêϸÐÅÏ¢ -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetCRMContactDetail(string userId, string cntid, out SICECRMContactDetail cntDetail); - ["amd" ] int GetHardCodeIds(string uuid, out int count, out string allids); - ["amd" ] int UpdateHardCodeIds(string uuid, string id); - - /**************************************************************** - º¯ÊýÃû³Æ£ºIMPGetCntOtherModifyLis - ¼òÒªÃèÊö£ºÈ¡¶Ô·½Ð޸Ĺý¸öÈË×ÊÁϵÄÁªÏµÈËIDÁбí - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -sMaxSeqId: ¿Í»§¶Ë±£´æµÄÁªÏµÈËÏêϸÐÅÏ¢×î´ó¸ü¸ÄÐòÁкŠ-cntList£º¸ü¸Ä¹ýµÄÁªÏµÈËÁбí -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetCntOtherModifyList(string userId, string sMaxSeqId, out SICECntOtherModInfoSeq cntList); - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetCntOtherModifyInfo - ¼òÒªÃèÊö£ºÁªÏµÈ˶Է½ÐÞ¸ÄÐÅÏ¢ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - cntOtherModInfo£ºÁªÏµÈ˶Է½ÐÞ¸ÄÐÅÏ¢ - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetCntOtherModifyInfo(string userId, out SICECntOtherModInfo cntOtherModInfo); - - ["amd" ] int GetUserCRInfo(string uid, out int crState, out int begTime, out int activeDegree); - ["amd" ] int SetUserCRInfo(string uid, int crState, out int begTime); - //kongyw add for netphone 2006/01/24 - /**************************************************************** - º¯ÊýÃû³Æ£º GetNetPhoneAccount - ¼òÒªÃèÊö£º»ñÈ¡ÍøÂçµç»°ÕÊ»§ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -servicetype: ÍøÂçµç»°·þÎñÀàÐÍ -account: ´«³öÕÊ»§ -password: ´«³öÃÜÂë -Êä³ö£º IM NOUSER -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetNetPhoneAccount(string userId, int servicetype, out string account, out string password); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetNetPhoneMailing - ¼òÒªÃèÊö£º»ñÈ¡ÍøÂçµç»°Õʵ¥¼ÄËÍ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -flag: ´«³öÊÇ·ñÐèÒª¼ÄËÍ(0²»ÐèÒª1ÐèÒª) -address: ´«³ö¼ÄË͵ØÖ· -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetNetPhoneMailing(string userId, int type, out int flag, out string address, out int len); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetNetPhoneOpenPresent - ¼òÒªÃèÊö£º»ñÈ¡ÍøÂçµç»°¿ª¿¨ÔùËͽð¶î - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -memberlevel: Óû§µÈ¼¶ -money: ´«³öÔùËͽð¶î -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetNetPhoneOpenPresent(string userId, int memberlevel, out int money); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetNetPhoneDiscount - ¼òÒªÃèÊö£º»ñÈ¡ÍøÂçµç»°³äÖµÕÛ¿Û - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -discount: ´«³öÕÛ¿Û -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetNetPhoneDiscount(string userId, out float discount); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetNeedChargeRecord - ¼òÒªÃèÊö£º»ñÈ¡ÐèÒªÍê³ÉµÄÍøÂçµç»°³äÖµÇëÇó - ÊäÈ룺 inmins: ÔÚ¶àÉÙ·ÖÖÓÄÚ -seqid: ´«³ö³äÖµÁ÷Ë®ºÅ -account: ´«³öÕʺŠ-denomination: ´«³öÃæ¶î -chargecardid : ´«³ö³äÖµ¿¨ºÅ -chargecardpasswd: ´«³ö³äÖµ¿¨ÃÜÂë -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetNeedChargeRecord(int inmins, int type, out string seqid, out string account, out int denomination, out string chargecardid, out string chargecardpasswd, out string uid, out int trytime); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetChargeRecordInfo - ¼òÒªÃèÊö£º»ñÈ¡ÐèÒªÍê³ÉµÄÍøÂçµç»°³äÖµÇëÇó - ÊäÈ룺 seqid: ´«Èë³äÖµÁ÷Ë®ºÅ -account: ´«³öÕʺŠ-denomination: ´«³öÃæ¶î -chargecardid : ´«³ö³äÖµ¿¨ºÅ -chargecardpasswd: ´«³ö³äÖµ¿¨ÃÜÂë -status: ´«³ö³äֵ״̬ -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetChargeRecordInfo(string seqid, out string account, out int denomination, out string chargecardid, out string chargecardpasswd, out string uid, out int status); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetPayRecordInfo - ¼òÒªÃèÊö£º»ñÈ¡ÐèÒªÍê³ÉµÄÍøÂçµç»°³äÖµÇëÇó - ÊäÈ룺 seqid: ´«Èë³äÖµÁ÷Ë®ºÅ -money: ´«³ö³äÖµ¿¨ÃÜÂë -status: ´«³ö³äֵ״̬ -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetPayRecordInfo(string seqid, out int money, out int status); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetChargeRecords - ¼òÒªÃèÊö£º»ñÈ¡ÐèÒªÍê³ÉµÄÍøÂçµç»°³äÖµÇëÇó - ÊäÈ룺 uid: Óû§ID -beginTime: ¿ªÊ¼Ê±¼ä -endTime: ½áÊøʱ¼ä -chargeRecordList : ´«³ö³äÖµ¼Ç¼ -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetChargeRecords(string uid, string beginTime, string endTime, out SICENetPhoneChargeInfoSeq chargeRecordList); - - /**************************************************************** - º¯ÊýÃû³Æ£º AddPayRecord - ¼òÒªÃèÊö£º»ñÈ¡Ìí¼ÓÒ»ÌõÖ§¸¶¼Ç¼ - ÊäÈ룺 money£ºÖ§¸¶½ð¶î -seqid: ´«³öÖ§¸¶Á÷Ë®ºÅ -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int AddPayRecord(int money, out string seqid); - - /**************************************************************** - º¯ÊýÃû³Æ£º AddNetPhoneAccount - ¼òÒªÃèÊö£ºÔö¼ÓÒ»¸öÍøÂçµç»°ÕÊ»§ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -type : ÍøÂçµç»°ÀàÐÍ -account: ´«³öÕÊ»§ -password:´«³öÃÜÂë -Êä³ö£º - -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int AddNetPhoneAccount(string userId, int type, out string account, out string password); - - /**************************************************************** - º¯ÊýÃû³Æ£º AddNetPhoneChargeRecord - ¼òÒªÃèÊö£ºÔö¼ÓÒ»¸öÍøÂçµç»°³äÖµÇëÇó - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -account: ÕÊ»§ -type : ³äÖµÀàÐÍ -denomination: ÃæÖµ -money: Õæʵ½ð¶î -payid: Ö§¸¶Á÷Ë®ºÅ -chargeid: ´«³ö³äÖµÁ÷Ë®ºÅ -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int AddNetPhoneChargeRecord(string userId, string account, int type, int denomination, int money, string payid, out string chargeid); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdatePayRecordStatus - ¼òÒªÃèÊö£ºÐÞ¸ÄÖ§¸¶¼Ç¼״̬ - ÊäÈ룺 seqid£ºÖ§¸¶Á÷Ë®ºÅ -status : Ö§¸¶×´Ì¬ -desc: ´íÎóÃèÊö -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int UpdatePayRecordStatus(string seqid, int status, out string desc); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateChargeRecordStatus - ¼òÒªÃèÊö£ºÐ޸ijäÖµ¼Ç¼״̬ - ÊäÈ룺 seqid£º³äÖµÁ÷Ë®ºÅ -status : ³äֵ״̬ -desc: ´íÎóÃèÊö -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int UpdateChargeRecordStatus(string seqid, int status, string desc); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateNetPhoneMailing - ¼òÒªÃèÊö£ºÐÞ¸ÄÍøÂçµç»°Õʵ¥¼ÄËÍÅäÖà - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -flag : ÊÇ·ñ¼ÄËÍ -address: ¼ÄË͵ØÖ· -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int UpdateNetPhoneMailing(string userId, int type, int flag, string address, int addrLen); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateNetPhoneLastUseTime - ¼òÒªÃèÊö£ºÐÞ¸ÄÍøÂçµç»°Õʵ¥¼ÄËÍÅäÖà - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int UpdateNetPhoneLastUseTime(string userIds, int type); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateChargeCardInfo - ¼òÒªÃèÊö£ºÐÞ¸ÄÍøÂçµç»°³äÖµ¿¨ÐÅÏ¢ - ÊäÈ룺 cardno£º¿¨ºÅ -status: ʹÓÃ״̬ -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int UpdateChargeCardInfo(string cardno, int status); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateAccountCardInfo - ¼òÒªÃèÊö£ºÐÞ¸ÄÍøÂçµç»°Éí·Ý¿¨ÐÅÏ¢ - ÊäÈ룺 account£ºÕʺŠ-status : ʹÓÃ״̬ -flushdisabletime: Ë¢ÐÂʵЧÈÕÆÚ±êÖ¾ -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int UpdateAccountCardInfo(string account, int status, int flushdisabletime); - - /**************************************************************** - º¯ÊýÃû³Æ£º RemoveNetPhoneAccount - ¼òÒªÃèÊö£ºÉ¾³ýóÒ×ͨÍøÂçµç»°ÕË»§ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -type: ·þÎñÀàÐÍ -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int RemoveNetPhoneAccount(string userId, int type); - - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetSmsUserInfoByUid - ¼òÒªÃèÊö£ºÍ¨¹ýÓû§IDÈ¡¶ÌÐÅÓû§ÐÅÏ¢ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£» - smsUserInfo£º´«³ö¶ÌÐÅÓû§±íIMSMSUSERÐÅÏ¢ - Êä³ö£º Óû§²»´æÔÚIMNOUSER - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetSmsUserInfoByUid(string userId, out SICESmsUserInfo smsUserInfo); - - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetSmsUserMsgInfo - ¼òÒªÃèÊö£º¼ì²é¶ÌÐÅÄÜ·ñÏ·¢ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£» -todaySmsCount: ½ñÌìÒѾ­·¢Ë͵ĶÌÐÅÊýÁ¿ -yesterdaySmsCount£º×òÌì·¢Ë͵ĶÌÐÅÊýÁ¿ -Êä³ö£º Óû§²»´æÔÚIMNOUSER -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetSmsUserMsgInfo(string userId, out int todaySmsCount, out int yesterdaySmsCount); - - //kongyw add end . for contactList - - ["amd" ] int DelOfflineMsg(string uid,string date); - ["amd" ] int DelOfflineMsgEx(string uid,int date); - - // taobao wap ÍúÍú µÄ¹ýÀ´µÄ ɾ³ýÀëÏßÏûÏ¢ÇëÇó - ["amd" ] int DelWapOfflineMsg(string uid, string date); - - ["amd" ] int ModifyCntMemo(string uid, string cntid, string memo);//¸øÍúÍúÓà - ["amd" ] int GetCntMemo(string uid, string cntid,out string memo);//¸øÍúÍúÓà - - /**************************************************************** - º¯ÊýÃû³Æ£ºDB_GetUserTribe - ¼òÒªÃèÊö£ºÈ¡Óû§¹éÊôȺÁбí - ÊäÈ룺 userId Óû§ºÅ - Êä³ö£º tribeIdList ȺIDÁÐ±í£¨º¬ÈºID¡¢ÈºÃû³ÆÁ½¸ö×ֶΣ© - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetUserTribe (string userId, out ALiIMDBTribe::STribeIdDbSeq tribeIdList); - - /**************************************************************** - º¯ÊýÃû³Æ£ºDB_GetTribeMember - ¼òÒªÃèÊö£ºÈ¡Èº³ÉÔ±ÐÅÏ¢ - ÊäÈ룺 tribeId ȺºÅ - memberId Ⱥ³ÉÔ±ID - level ³ÉÔ±¼¶±ð - Êä³ö£º tribeMember Ⱥ³ÉÔ±ÐÅÏ¢ - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetTribeMember (int tribeId, string memberId, int level, out ALiIMDBTribe::STribeMemberSeq tribeMemberList); - - /**************************************************************** - º¯ÊýÃû³Æ£ºDB_GetUserTribeConfig - ¼òÒªÃèÊö£ºÈ¡Óû§ÈºÅäÖÃÐÅÏ¢ - ÊäÈ룺 userId Óû§ºÅ - Êä³ö£º addVerify ¼ÓÈëȺУÑé±êÖ¾ - 0x00 ²»ÐèÒªÑéÖ¤ - 0x01 ÐèÒªÑéÖ¤ - 0x02 ¾Ü¾ø - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetUserTribeConfig(string userId, out int addVerify); - - /**************************************************************** - º¯ÊýÃû³Æ£ºDB_UpdateUserTribeConfig - ¼òÒªÃèÊö£º¸üÐÂÓû§ÈºÅäÖÃÐÅÏ¢ - ÊäÈ룺 userId Óû§ºÅ - addVerify ¼ÓÈëȺУÑé±êÖ¾ - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateUserTribeConfig(string userId, int addVerify); - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetTribeOffMngMsg - ¼òÒªÃèÊö£ºÈ¡¹ÜÀíÔ±ÀëÏßÏûÏ¢ - ÊäÈ룺 tribeId ȺºÅ - memberId Ⱥ³ÉÔ±ID - Êä³ö£º offlineMsg ÀëÏßÏûÏ¢Áбí - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetTribeOffMngMsg (int tribeId, string memberId, out ALiIMDBTribe::STribeOfflineMsgSeq offlineMsgList); - - /**************************************************************** - º¯ÊýÃû³Æ£ºDelTribeOffMngMsg - ¼òÒªÃèÊö£ºÉ¾³ýÀëÏßÏûÏ¢ - ÊäÈ룺 tribeId ÉÌȺºÅ - memberId Ⱥ³ÉÔ±ID - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int DelTribeOffMngMsg (int tribeId, string memberId); - - ["amd" ] int ModifyPersonalShow(string uid, string newshow); - ["amd" ] int GetPersonalShow(string uid, out string show); - - ["amd" ] int GetAllOnlineSmsUser(out Ice::StringSeq userList); - - //extend to get degree - ["amd" ] int GetUserKeyWordDegree(string userId, out string keyword,out int flag,out float degree); - - //extend to get uservalue - ["amd" ] int GetUserValue(string userId, out int uservalue); - - ["amd" ] int UpdateUserMd5Password(string userId, string password); - - ["amd" ] int InsertYahooUser(SUdbUserInfo userInfo, int activeDegree, SICEGenContactFullSeq contactList); - - ["amd" ] int GetContactDetailByUid(string uid, string cid, out SICEGenContactFull detail); - - //kongyw add for onlineservice. 20070607 - /**************************************************************** - º¯ÊýÃû³Æ£ºGetChildTeamList - ¼òÒªÃèÊö£ºÈ¡ÍŶÓ×ÓÕʺÅÁбí - ÊäÈ룺 parentId Ö÷Õ˺ÅID - Êä³ö£º childTeamList ×ÓÕʺÅÁбí - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetChildTeamList (string parentId, out AliIMDBBase::SChildUserInfoSeq childTeamList); - - ["amd" ] int GetChildTeamList2 (string parentId, out AliIMDBBase::SChildUserInfoSeq2 childTeamList); - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetChildUserInfo - ¼òÒªÃèÊö£ºÈ¡×ÓÕʺÅÐÅÏ¢ - ÊäÈ룺 childId ×ÓÕ˺ÅID - Êä³ö£º childInfo ×ÓÕʺÅÐÅÏ¢ - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetChildUserInfo (string childId, out AliIMDBBase::SChildUserInfo childInfo); - - ["amd" ] int GetChildUserInfo2 (string childId, out AliIMDBBase::SChildUserInfo2 childInfo); - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetShareContactList - ¼òÒªÃèÊö£ºÈ¡Ö÷Õ˺ÅÐèÒª·ÖÁ÷µÄÁªÏµÈËÁбí - ÊäÈ룺 uid Ö÷Õ˺ÅID - Êä³ö£º shareContactIdList Òª·ÖÁ÷µÄÁªÏµÈËÁбí - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetShareContactList (string uid, out Ice::StringSeq shareContactIdList); - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetContactShareInfo - ¼òÒªÃèÊö£ºÈ¡Ö÷Õ˺ÅÐèÒª·ÖÁ÷µÄÁªÏµÈËÁбí - ÊäÈ룺 uid Ö÷Õ˺ÅID - contactId ÁªÏµÈËID - type ²éѯÀàÐÍ (1: ÊÇ·ñ·ÖÁ÷) - Êä³ö£º value ½á¹û(0 ±íʾ²»·ÖÁ÷1±íʾ·ÖÁ÷) - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetContactShareInfo (string uid, string contactId, int type, out int value); - - /**************************************************************** - º¯ÊýÃû³Æ£ºSetContactShareInfo - ¼òÒªÃèÊö£ºÈ¡Ö÷Õ˺ÅÐèÒª·ÖÁ÷µÄÁªÏµÈËÁбí - ÊäÈ룺 uid Ö÷Õ˺ÅID - contactId ÁªÏµÈËID - type ²éѯÀàÐÍ (1: ÊÇ·ñ·ÖÁ÷) - value ½á¹û(0 ±íʾ²»·ÖÁ÷1±íʾ·ÖÁ÷) - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int SetContactShareInfo (string uid, string contactId, int type, int value); - - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetMultiAccountContactList - ¼òÒªÃèÊö£ºÈ¡¶àÕ˺ÅÓû§ÁªÏµÈËÁбí - ÊäÈ룺 uid Ö÷Õ˺ÅID - Êä³ö£º contactIdList Óû§ÁªÏµÈËÁбí - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetMultiAccountContactList (string uid, out SICEContactInfoSeq contactIdList); - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetMultiServiceList - ¼òÒªÃèÊö£ºÈ¡¶àÕ˺ÅÓû§¹¦ÄÜÁбí - ÊäÈ룺 uid Ö÷Õ˺ÅID - Êä³ö£º ServiceList Óû§ÁªÏµÈËÁбí - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetMultiServiceList (string uid, out Ice::IntSeq ServiceList); - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetMultiBindToUser - ¼òÒªÃèÊö£ºÈ¡Óû§°ó¶¨µ½µÄÕʺÅÁбí - ÊäÈ룺 uid Ö÷Õ˺ÅID - Êä³ö£º bindToUserÓû§ÁªÏµÈËÁбí - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetMultiBindToUser(string uid, out string bindToUser); - //kongyw add for onlineservice. 20070607 - - ["amd" ] int GetWebBinds(string uid, out SICEKvPairSeq binds); - ["amd" ] int AddWebBind(string uid, SICEKvPair bind, out string webmd5pw); - ["amd" ] int ChangeWebBind(string uid, SICEKvPair newbind, out string webmd5pw); - ["amd" ] int DelWebBind(string uid, string binduid); - - ["amd" ] int getUserSession(string uid,out AliIM::SIceSession retsession); - ["amd" ] int checkUserSession(string uid,string sessionNo); - ["amd" ] int removeSession(string uid); - ["amd" ] int UpdateSignature(string uid, string signature); - - ["amd" ] int updateContactClientInfo(string uid, string cid, string data, out int contactTimes); - - ["amd" ] int getUserProfile(string uid,out SICEKVMap profilemap); - ["amd" ] int getPeerVerifyFlag(string uid, string cid, out int flag); - ["amd" ] int getPeerVerifyFlagQuestion(string uid, string cid, out int flag, out string question, out string answer); - ["amd" ] int getNickName( string uid, out string nickname); - - ["amd" ] int getFTServiceInfo(string senduid,string touid,out string srvIp, out short srvPort); - ["amd" ] int getTietuServiceInfo(string senduid,out int sessionSum,out string srvIp, out short srvPort); - ["amd" ] int getFTSAddr(short type, string senduid,out long ftsid,out string srvIp, out short srvPort); - - ["amd" ] int registerWanghao(string longuid,AliIMInterface::KVMAP attrs); - ["amd" ] int updateUserProfile(string longuid,AliIMInterface::KVMAP newattrs); - ["amd" ] int loadSitePrefix(out SImPrefixSeq pv); - ["amd" ] int updateAepUserId(string longuid,string aepuserid); - ["amd" ] int updateVipflag(string uid, int flag); - ["amd" ] int checkWangHaoPwd(string longuid,bool btokenpw,string pw,out string retluid,out string retPwToken,out string retmd5passwd,out int activeState); - ["amd" ] int checkCanLogin(string uid, int version, string extrainfo); - ["amd" ] int GetSIPSessionId(string uid, string appid, string type, out string sessionId); - ["amd" ] int CheckGsContact(string uid, string contactid, out int flag); - - ["amd" ] int UpdateSmsAuthCode(string uid, string phoneNo, string code); - ["amd" ] int CheckSmsAuthCode(string uid, string phoneNo, string code); - ["amd" ] int UpdateUserValueBySmsAuth(string uid); - ["amd" ] int CheckSmsAuthStatus(string uid, out int status); - - ["amd" ] int CheckUserTokenExtra(string userId, string passwd,out string lid, out string retuidtokenpw,out string retmd5passwd ,out int activeStat, out int webdata); - ["amd" ] int CheckUserWebPasswdExtra(string userId, string passwd,out string lid, out string retuidtokenpw,out string retmd5passwd,out int activeStat, out int webdata); - - // e-service Ïà¹Ø - /* - * º¯Êý˵Ã÷:»ñÈ¡Ö÷Õ˺ÅÊÇ·ñ²ÎÓë·ÖÁ÷ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * Êä³ö: shunt : ·ÖÁ÷±êÖ¾ 1£º²ÎÓë·ÖÁ÷ 0£º²»²ÎÓë·ÖÁ÷ - * - * ·µ»ØÖµ: -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getESShuntStatus(string uid, out string shunt); - - /* - * º¯Êý˵Ã÷:ÉèÖÃÖ÷Õ˺ÅÊÇ·ñ²ÎÓë·ÖÁ÷ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * shunt : ·ÖÁ÷±êÖ¾ 1£º²ÎÓë·ÖÁ÷ 0£º²»²ÎÓë·ÖÁ÷ - * - * ·µ»ØÖµ: int 0 -> ÉèÖóɹ¦ - * -1 -> ÉèÖÃʧ°Ü - * -2 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int setESShuntStatus(string uid, string shunt); - - /* - * º¯Êý˵Ã÷:»ñȡijһÖ÷Õ˺ÅÏ¿ͷþµÄ×î¸ß½Ó´ýÈËÊýÁбí - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * Êä³ö£ºlist : ·µ»ØµÄÖ÷Õ˺ÅÏ¿ͷþÁÐ±í£¨°üº¬¿Í·þµÄ×î¸ß½Ó´ýÈËÊý£© - * - * ·µ»ØÖµ: int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getMaxESReceptNum(string uid,int groupId, out SICEReceptNumSeq eserviceList); - - /* - * º¯Êý˵Ã÷:ÉèÖÿͷþµÄ×î¸ß½Ó´ýÈËÊý - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * list : Ö÷Õ˺ÅÏ¿ͷþÁÐ±í£¨°üº¬¿Í·þµÄ×î¸ß½Ó´ýÈËÊý£© - * - * ·µ»ØÖµ: int 0 -> ÉèÖóɹ¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int setMaxESReceptNum(string uid, int groupId, SICEReceptNumSeq eserviceList); - - /* - * º¯Êý˵Ã÷:»ñȡijһÖ÷Õ˺ÅÏ¿ͷþµÄ×î¸ß½Ó´ýÈËÊýÁбí - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * Êä³ö£ºlist : ·µ»ØÖ÷Õ˺ÅÏ¿ͷþÓÅÏÈ˳ÐòÁбí - * - * ·µ»ØÖµ: int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getESPriority(string uid, int groupId, out SICEReceptPrioritySeq eserviceList); - - /* - * º¯Êý˵Ã÷:ÉèÖÃijһÕ˺ÅÏ¿ͷþµÄÓÅÏȽӴý˳Ðò - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * list : ¿Í·þÓÅÏÈ˳ÐòÁбí - * - * ·µ»ØÖµ: int 0 -> ÉèÖóɹ¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int setESPriority(string uid, int groupId, SICEReceptPrioritySeq eserviceList); - - ["amd" ] int getESRecvOffMsg(string uid, int groupId,out SICERecvOffMsgSeq eserviceList); - ["amd" ] int setESRecvOffMsg(string uid, int groupId, SICERecvOffMsgSeq eserviceList); - - /* - * º¯Êý˵Ã÷:»ñÈ¡·Ö×éÁбí - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * Êä³ö£ºlist : ·µ»ØÖ÷Õ˺ÅÏ·Ö×éÁбí - * - * ·µ»ØÖµ: int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getESGroupList(string uid, out Ice::IntSeq groupList); - - /* - * º¯Êý˵Ã÷:ÐÂÔö·Ö×é - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * group : ·Ö×é¶ÔÏó - * - * ·µ»ØÖµ: int 0 -> ±à¼­³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int insertESGroupInfo(string uid, SICEESGroupInfo groupInfo, out int groupId); - - /* - * º¯Êý˵Ã÷:Ð޸ķÖ×é - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * group : ·Ö×é¶ÔÏó - * - * ·µ»ØÖµ: int 0 -> ±à¼­³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * -2 -> ·Ö×é²»´æÔÚ - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int updateESGroupInfo(string uid, SICEESGroupInfo group); - - /* - * º¯Êý˵Ã÷:ɾ³ý·Ö×é - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * group_id : ·Ö×éid - * - * ·µ»ØÖµ: int 0 -> ɾ³ý³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * -2 -> ·Ö×é²»´æÔÚ - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int delESGroup(string uid, int groupid); - - /* - * º¯Êý˵Ã÷:»ñÈ¡·Ö×éÖеÄÐÅÏ¢ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * group_id : ·Ö×éid - * Êä³ö£ºgroup : ·Ö×éµÄÏêϸÐÅÏ¢ - * - * ·µ»ØÖµ: int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * -2 -> ¸Ã·Ö×é²»´æÔÚ - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getESGroupInfo(string uid, out SICEESGroupInfoSeq groupList); - ["amd" ] int getESGroupInfoByID(string uid,int groupId, out SICEESGroupInfo groupInfo); - - /* - * º¯Êý˵Ã÷:»ñÈ¡Ö÷Õ˺ÅÊÇ·ñ²ÎÓë·ÖÁ÷£¬¼°·Ö×éÐÅÏ¢ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * Êä³ö£ºgroupId : ·Ö×éID - * userflag : flag µÚһλ±íʾÊÇ·ñ·ÖÁ÷ - * - * ·µ»ØÖµ: int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getESUserFunc(string uid, string childid, out string userflag, out int groupId); - - /* - * º¯Êý˵Ã÷:»ñȡδ²ÎÓë·Ö×éµÄ¿Í·þÁбí - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * - * Êä³ö£ºlist : δ²ÎÓë·Ö×éµÄ¿Í·þÁбí - * - * ·µ»ØÖµ: int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getESUnJoinGroup(string uid, out Ice::StringSeq eserviceList); - - /* - * º¯Êý˵Ã÷:»ñÈ¡¿Í·þ½Ó´ýÇé¿öÁбí - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * Êä³ö£ºlist : »ñÈ¡¿Í·þ½Ó´ýÇé¿öÁбí - * - * ·µ»ØÖµ: int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - //int getESReceptList(string uid, out Ice::StringSeq eserviceList); - - /* - * º¯Êý˵Ã÷:ÅжϿͷþÊÇ·ñÊǹÜÀíÔ± - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * group_id : ·Ö×éid - * - * ·µ»ØÖµ: int 1 -> ÊǹÜÀíÔ± - * 0 -> ²»ÊǹÜÀíÔ± - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * -2 -> ¸Ã·Ö×é²»´æÔÚ - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int checkESRole(string uid, out int groupId); - - - ["amd" ] int CheckWebWWPasswd(string userId, string passwd,out string lid, out string retuidtokenpw,out string retmd5passwd,out int activeStat); - - /* - * º¯Êý˵Ã÷ : »ñÈ¡¿Í»§¶ËÀ©Õ¹ÐÅÏ¢ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * Êä³ö: areaInfos : À©Õ¹ÇøÐÅÏ¢ - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getESExpandArea(string uid, out AliIMDBBase::SICEExpandAreaSeq areaInfos); - - /* - * º¯Êý˵Ã÷ : »ñÈ¡¿Í»§¶ËÀ©Õ¹ÇøÓòÐÅÏ¢ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * ÊäÈë: id : À©Õ¹ÇøÓòID - * Êä³ö: areaInfos : À©Õ¹ÇøÐÅÏ¢ - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd"] int getESExpandAreaById(string uid, int id, out SICEExpandArea areaInfos); - - /* - * º¯Êý˵Ã÷ : ÐÂÔö¿Í»§¶ËÀ©Õ¹ÐÅÏ¢ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * areaInfos : À©Õ¹ÇøÐÅÏ¢ - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd"] int addESExpandArea(string uid, SICEExpandArea areaInfo); - - /* - * º¯Êý˵Ã÷ : Ð޸Ŀͻ§¶ËÀ©Õ¹ÐÅÏ¢ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * areaInfos : À©Õ¹ÇøÐÅÏ¢ - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd"] int updateESExpandArea(string uid, SICEExpandArea areaInfo); - - /* - * º¯Êý˵Ã÷ : ÉèÖÿͻ§¶ËÀ©Õ¹ÐÅÏ¢ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * expandArea_id : À©Õ¹Çøid - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd"] int delESExpandArea(string uid, int id); - - /* - * º¯Êý˵Ã÷ : Ô¤ÉèÖÃÆÀ¼ÛÄÚÈÝ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * esEvalInfos: E¿Í·þÆÀ¼ÛÄÚÈÝ - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int setESEval(string uid, string evalcontent, string welcome); - - /* - * º¯Êý˵Ã÷ : È¡ÆÀ¼ÛÄÚÈÝ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * esEvalInfos: E¿Í·þÆÀ¼ÛÄÚÈÝ - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getESEval(string uid, out string evalcontent, out string welcome); - - - /* - * º¯Êý˵Ã÷ : ·¢ËÍÆÀ¼Û - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * buyerid : Âò¼Òid - * - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int sendESEvalResult(string uid, string buyerid, out int evalId); - - - /* - * º¯Êý˵Ã÷ : ÉèÖÃÆÀ¼Û½á¹û - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * buyerid : Âò¼Òid - * - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int setESEvalResult(string uid, string buyerid, int evalId, string evalresult); - - /* - * º¯Êý˵Ã÷ : È¡ÆÀ¼Û½á¹û - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * buyerid : Âò¼Òid - * - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getESEvalResult(string uid, string buyerid, int evalId, out string evalresult, out string gmtcreate, out string gmtmodify); - - /* - * º¯Êý˵Ã÷ : È¡½ñÈÕÆÀ¼Û½á¹û - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * buyerid : Âò¼Òid - * - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getESEvalResultToday(string uid, out SICEESEvalResultSeq evalInfos); - - /* - * º¯Êý˵Ã÷ : È¡ÀúÊ·ÆÀ¼Û½á¹û - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * buyerid : Âò¼Òid - * - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getESEvalResultHistory(string uid, string querytime, out SICEESEvalResultSeq evalInfos); - - /* - * º¯Êý˵Ã÷ : È¡ÀúÊ·ÆÀ¼Û½á¹û·ÖÒ³ÏÔʾ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * buyerid : Âò¼Òid - * - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ]int getESEvalResultHistorybypage(string uid, string childid, string begindate, string enddate, int pageno, int pagesize, out int pagecount, out SICEESEvalResultExSeq evalInfos); - - /* - * º¯Êý˵Ã÷ : È¡×î½üµÇ¼ʱ¼ä - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * buyerid : Âò¼ÒID - * - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getLastLoginTime(Ice::StringSeq loginids, out Ice::StringSeq loginTimes); - - /* - * º¯Êý˵Ã÷ : ¶ÁÈ¡×ÓÕ˺ÅÊÇ·ñ²ÎÓë×Ü·ÖÁ÷ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getChildShuntInfos(string uid, out SChildUserInfoSeq childInfos); - - /* - * º¯Êý˵Ã÷ : ÉèÖÃ×ÓÕ˺ÅÊÇ·ñ²ÎÓë×Ü·ÖÁ÷ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int setChildShuntInfos(string uid, SChildUserInfoSeq childinfos); - - /* - * º¯Êý˵Ã÷:»ñÈ¡´úÀíÖ÷Õ˺ŵÄ×ÓÕ˺ÅID - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * - * ·µ»ØÖµ: int 0 -> ³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * -2 -> ¸ÃÓû§²»´æÔÚ ?±ØÐëÏȵǼ¿Í»§¶Ë) - * ÆäËû -> δ֪´íÎó - */ - ["amd" ]int getAgentChild(string uid, out string agentId); - - /* - * º¯Êý˵Ã÷:ÉèÖôúÀíÖ÷Õ˺ŵÄ×ÓÕ˺ÅID - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * - * ·µ»ØÖµ: int 0 -> ³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * -2 -> ¸ÃÓû§²»´æÔÚ ?±ØÐëÏȵǼ¿Í»§¶Ë) - * ÆäËû -> δ֪´íÎó - */ - ["amd" ]int setAgentChild(string uid, string agentId); - - /* - * º¯Êý˵Ã÷:»ñÈ¡´úÀí×ÓÕ˺ÅÁбí - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * - * ·µ»ØÖµ: int 0 -> ³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * -2 -> ¸ÃÓû§²»´æÔÚ ?±ØÐëÏȵǼ¿Í»§¶Ë) - * ÆäËû -> δ֪´íÎó - */ - ["amd" ]int getAgentList(string uid, out Ice::StringSeq agentIds); - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetB2BChildTeamList - ¼òÒªÃèÊö£ºB2BÈ¡ÍŶÓ×ÓÕʺÅÁбí - ÊäÈ룺 parentId Ö÷Õ˺ÅID - Êä³ö£º childTeamList ×ÓÕʺÅÁбí - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int getB2BChildTeamList(string parentId, out AliIMDBBase::SB2BChildUserInfoSeq childTeamList); - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetB2BChildTeamList - ¼òÒªÃèÊö£ºB2BÈ¡ÍŶÓ×ÓÕʺÅÁбí - ÊäÈ룺 parentId Ö÷Õ˺ÅID - Êä³ö£º childTeamList ×ÓÕʺÅÁбí - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int getB2BChildInfo(string parentId, string childid, out AliIMDBBase::SB2BChildUserInfo childInfo); - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetB2BChildParentId - ¼òÒªÃèÊö£ºB2B»ñÈ¡×ÓÕ˺ŵĸ¸Õ˺Åid - ÊäÈ룺 childid ×ÓÕ˺Åid - Êä³ö£º fid ¸¸Õ˺Åid - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int getB2BChildParentId(string childId, out string fid); - - /**************************************************************** - º¯ÊýÃû³Æ£ºAddB2BChild - ¼òÒªÃèÊö£ºB2BÌí¼ÓB2B×ÓÕ˺Š- ÊäÈ룺 fid Ö÷Õ˺ÅID - childid ×ÓÕ˺ÅID - userflag - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int addB2BChild(string fid, string childId, string userflag); - - /**************************************************************** - º¯ÊýÃû³Æ£ºUpdateB2BChild - ¼òÒªÃèÊö£ºB2B¸üÐÂB2B×ÓÕ˺Š- ÊäÈ룺 fid Ö÷Õ˺ÅID - childid ×ÓÕ˺ÅID - userflag - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int updateB2BChild(string fid, string childId, string userflag); - - /**************************************************************** - º¯ÊýÃû³Æ£ºDeleteB2BChild - ¼òÒªÃèÊö£ºB2B¸üÐÂB2B×ÓÕ˺Š- ÊäÈ룺 fid Ö÷Õ˺ÅID - childid ×ÓÕ˺ÅID - userflag - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int deleteB2BChild(string fid, string childId); - }; -}; - -#endif diff --git a/features/aliww/slice/.svn/text-base/dbtbsstructs60.ice.svn-base b/features/aliww/slice/.svn/text-base/dbtbsstructs60.ice.svn-base deleted file mode 100644 index 223b720..0000000 --- a/features/aliww/slice/.svn/text-base/dbtbsstructs60.ice.svn-base +++ /dev/null @@ -1,260 +0,0 @@ -#ifndef __TBS_STRUCTS_60_H -#define __TBS_STRUCTS_60_H - -#include - -/* - *@auth: yuxh - *@date: 2008-03-13 - */ -module ALiIMDBTribe -{ -struct STribeInfo -{ - long tribeId; - string name; - string masterId; - string createrId; - int tribeclass; - string describe; - string bulletin; - short checkMode; - string password; - string validateCode; - int lastMsgid; - int memberTimes; - int onlineTimes; - double onlineDegree; - int discussDegree; - double rewardDegree; - int masterOffer; - double totalDegree; - string keyword; - short allowVisitor; - short forbidSearch; - string extSign; - int groupStamp; - int blackStamp; -}; - -struct STribeOfflineMsg -{ - long tribeId; - string memberId; - short type; - string message; - int sendTime; -}; - -struct STribeMemberInfo -{ - string userId; - string name; - short memberLevel; - short tribeLevel; - short mobileBindFlag; - string mobileNo; - string bindMobile; - int lastMsgid; - double onlineDegree; - int discussDegree; - double rewardDegree; - double totalDegree; - long groupId; - short starMember; - short openFlag; -}; - -/// add for popup flag -struct STribeMemberInfo2 -{ - string userId; - string name; - short memberLevel; - short tribeLevel; - short mobileBindFlag; - string mobileNo; - string bindMobile; - int lastMsgid; - double onlineDegree; - int discussDegree; - double rewardDegree; - double totalDegree; - long groupId; - short starMember; - short openFlag; - int popupFlag; -}; - - -struct STribeMember -{ - long tribeId; - string memberId; - int level; - int lastMsgid; - string operId; - long groupId; -}; - - -struct STribeId -{ - long tribeId; - string name; - short tribeLevel; - short tribeStatus; - string extSign; - int groupStamp; - short openTribe; -}; - -struct STribeId2 -{ - long tribeId; - string name; - short tribeLevel; - short tribeStatus; - string extSign; - int groupStamp; - short openTribe; - short popupFlag; -}; - -struct STribeIdDb -{ - long tribeId; - string name; - short tribeLevel; - short tribeStatus; -}; - -struct STribeGroup -{ - long tribeId; - long groupId; - string groupName; - long parentId; -}; - -sequence STribeMemberInfoSeq; -/// add for popup flag -sequence STribeMemberInfoSeq2; -sequence STribeOfflineMsgSeq; -sequence STribeMemberSeq; -sequence STribeIdSeq; -sequence STribeIdSeq2; -sequence STribeIdDbSeq; -sequence STribeGroupSeq; - -struct STribeCard -{ - long tribeId; - string memberId; - string realName; - string phoneNum; - string mobileNum; - string email; - string address; - string memo; -}; - -struct STribeInfo2 -{ - long tribeId; - string name; - string masterId; - string createrId; - int tribeclass; - string describe; - string bulletin; - short checkMode; - string password; - string validateCode; - int lastMsgid; - int memberTimes; - int onlineTimes; - double onlineDegree; - int discussDegree; - double rewardDegree; - int masterOffer; - double totalDegree; - string keyword; - short allowVisitor; - short forbidSearch; - string extSign; - int groupStamp; - int blackStamp; - string webTid; - long groupId; -}; - -struct STribeMember2 -{ - long tribeId; - string memberId; - string name; - int level; - int lastMsgid; - string operId; - long groupId; -}; -sequence STribeMember2Seq; - -struct STribeInfo3 -{ - long tribeId; - string name; - string masterId; - string createrId; - int tribeclass; - string describe; - string bulletin; - short checkMode; - string password; - string validateCode; - int lastMsgid; - int memberTimes; - int onlineTimes; - double onlineDegree; - int discussDegree; - double rewardDegree; - int masterOffer; - double totalDegree; - string keyword; - short allowVisitor; - short forbidSearch; - string extSign; - int groupStamp; - int blackStamp; - string webTid; - long groupId; - int tribeLimit; -}; - -struct SWebTribeGroup -{ - long groupId; - string groupName; - string serviceId; - string siteId; - string webId; -}; -sequence SWebTribeGroupSeq; - -struct SWebTribeId -{ - long tribeId; - string name; - short tribeLevel; - short tribeStatus; - string extSign; - int groupStamp; - short openTribe; - string webTid; - long groupId; -}; -sequence SWebTribeIdSeq; - -}; -#endif diff --git a/features/aliww/slice/.svn/text-base/imicecommstruct.ice.svn-base b/features/aliww/slice/.svn/text-base/imicecommstruct.ice.svn-base deleted file mode 100644 index 6b92743..0000000 --- a/features/aliww/slice/.svn/text-base/imicecommstruct.ice.svn-base +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef _H_IMICECOMMSTRUCT_H_ -#define _H_IMICECOMMSTRUCT_H_ - -#include - -module AliIMInterface -{ - dictionary KVMAP; - struct SWebBindId - { - string prefix; - string webid;//short id - bool bIMBind; - }; - sequence SWebBindIdSeq; - struct SWanghaoWebBindId - { - string id; - SWebBindIdSeq webids; - }; - sequence SWanghaoWebBindIdSeq; - - sequence KVMAPSeq; - -}; - - - - -#endif - diff --git a/features/aliww/slice/.svn/text-base/imsession.ice.svn-base b/features/aliww/slice/.svn/text-base/imsession.ice.svn-base deleted file mode 100644 index e1335d8..0000000 --- a/features/aliww/slice/.svn/text-base/imsession.ice.svn-base +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef __IM_SESSION_ICE -#define __IM_SESSION_ICE - -module AliIM -{ - struct SIceSession - { - string uid; - string sessionNo; - int expiretime; - }; - interface SessionMgr - { - int getUserSession(string uid,out SIceSession retsession); - int checkUserSession(string uid,string sessionNo); - int removeSession(string uid); - int getUserExistSession(string uid, out SIceSession retsession); - }; - -}; - -#endif diff --git a/features/aliww/slice/.svn/text-base/user_statics.ice.svn-base b/features/aliww/slice/.svn/text-base/user_statics.ice.svn-base deleted file mode 100644 index 4c21ee3..0000000 --- a/features/aliww/slice/.svn/text-base/user_statics.ice.svn-base +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef _USER_STATICS_ICE_ -#define _USER_STATICS_ICE_ - -#include -#include "dbdatadefine.ice" - -module UserStaticsX -{ - interface UserStaticsI - { - /// login id, only insert delta value which is happend everyday - int insert(AliIMDBBase::UserStatics delta); - ///int insertBatch(AliIMDBBase::UserStaticsSeq deltaseq); - int get(string id, out AliIMDBBase::UserStatics s); - }; -}; - -#endif diff --git a/features/aliww/slice/DBStruct.ice b/features/aliww/slice/DBStruct.ice deleted file mode 100644 index 007ea5c..0000000 --- a/features/aliww/slice/DBStruct.ice +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef __DB_STRUCT_H__ -#define __DB_STRUCT_H__ - -#include - -module AliDDB -{ - dictionary KVMap; - sequence KVMapSeq; - struct DBRecord - { - KVMap fields; - KVMapSeq blobField; - }; - sequence DBRecordSeq; -}; - -#endif diff --git a/features/aliww/slice/DDBInterface.ice b/features/aliww/slice/DDBInterface.ice deleted file mode 100644 index 188ec5b..0000000 --- a/features/aliww/slice/DDBInterface.ice +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef __DDB_INTERFACE_H__ -#define __DDB_INTERFACE_H__ - -#include "DBStruct.ice" - -module AliDDB -{ - interface AliDDBInterface - { - ["amd"] int insertRecord(string table, KVMap keys, DBRecord record); - int insertMultiRecords(string table, KVMapSeq keys, DBRecord record); - int getRecord(string table, KVMap keys, Ice::StringSeq fields, ::Ice::StringSeq blobFields, out DBRecord record); - int getRecords(string table, KVMap keys, Ice::StringSeq fields, string condition, Ice::StringSeq orderFields, int num, out DBRecord record); - int getRecordsCount(string table, KVMap keys, string condition, out int recordNum); - int getRecordsByPage(string table, KVMap keys, Ice::StringSeq fields, string condition, Ice::StringSeq orderFields, int pageno, int pagesize, out int total, out DBRecord record); - int getMultiRecords(string table, KVMapSeq keys, Ice::StringSeq fields, string condition, Ice::StringSeq orderFields, int num, out DBRecord record); - int getMultiRecordsByPage(string table, KVMapSeq keys, Ice::StringSeq fields, string condition, Ice::StringSeq orderFields, int pageno, int pagesize, out int total, out DBRecord record); - ["amd"] int updateRecord(string table, KVMap keys, KVMap uniqKey, DBRecord record); - ["amd"] int updateBlob(string table, KVMap keys, DBRecord record); //overwrite whole blob - ["amd"] int deleteRecord(string table, KVMap keys, KVMap uniqKey); - }; -}; - -#endif diff --git a/features/aliww/slice/dbdatadefine.ice b/features/aliww/slice/dbdatadefine.ice deleted file mode 100644 index eec30be..0000000 --- a/features/aliww/slice/dbdatadefine.ice +++ /dev/null @@ -1,879 +0,0 @@ -#ifndef _H_AliIMDBDATADEFINE_ICE -#define _H_AliIMDBDATADEFINE_ICE - -#include - -module AliIMDBBase -{ - struct SICEMemberInfo - { - string memberId; - string password ; - string status; - string realname ; - string company ; - string jobtitle ; - int memberlevel;//³ÏÐÅͨ£¬°¢Àï°Í°ÍÔ±¹¤£¬µÈµÈ,ȨÏÞÓà - int industry; - int area; - string penName ; - int phoneStatus; - byte title; - string country ; - - }; - - struct SExICESysMessage - { - int msgId; - int type; - string expireTime; - int industry; - int area; - int rank; - string message; - string site; // such as "cnalichn", or "cntaobao" - }; - - struct SICESysMessage - { - int msgId; - int type; - string expireTime; - int industry; - int area; - int rank; - string message; - }; - - - struct SICEVersion - { - string version ; - byte status; - string remark ; - }; - - struct SICEUserInfo - { - string uid; - int picId; - int sysMsgId; - string lastLoginTime ; - int strangerMsgCount; - int loginCount; - int onlineTimes; - int addContactCount; - int addTribeCount; - int activeDegree; //now this is chatActiveCount Ǣ̸»îÔ¾¶È - int groupTimes; - int contactTimes; - int blacklistTimes; - int reverseBlacklistTimes; - int offlinemsgTimes; - int addContactVerify; - int sendMsgVerify; - int userStatus; - int userLevel; - float newActDgree;//now this is totalActDegree ÀۼƻîÔ¾¶È - int gencontacttimes;//ÆÕͨÁªÏµÈËʱ¼ä´Á - float rewardActDegree; //½±Àø»îÔ¾¶È - float onlineActDegree; //ÔÚÏß»îÔ¾¶È - int createTime; - int accounttype;//0x02 ¼´µÚ¶þλΪ1´ú±íÊǶàÕÊ»§,0´ú±íÆÕͨÕÊ»§ - }; -struct SICEUserInfo2 - { - string uid; - int picId; - int sysMsgId; - string lastLoginTime ; - int strangerMsgCount; - int loginCount; - int onlineTimes; - int addContactCount; - int addTribeCount; - int activeDegree; //now this is chatActiveCount Ǣ̸»îÔ¾¶È - int groupTimes; - int contactTimes; - int blacklistTimes; - int reverseBlacklistTimes; - int offlinemsgTimes; - int addContactVerify; - int sendMsgVerify; - int userStatus; - int userLevel; - float newActDgree;//now this is totalActDegree ÀۼƻîÔ¾¶È - int gencontacttimes;//ÆÕͨÁªÏµÈËʱ¼ä´Á - float rewardActDegree; //½±Àø»îÔ¾¶È - float onlineActDegree; //ÔÚÏß»îÔ¾¶È - int createTime; - int accounttype;//0x02 ¼´µÚ¶þλΪ1´ú±íÊǶàÕÊ»§,0´ú±íÆÕͨÕÊ»§ - string userfunctions; //¹¦ÄÜ×Ö¶Î, ÓÒÊý1Ϊ¶àÕʺţ¬2ΪEÍø´ò½ø,3Ϊ°ó¶¨ - }; - struct SICEUserInfoEx - { - string uid; - int picId; - int sysMsgId; - int lastLoginTime ; - int loginCount; - int strangerMsgCount; - int addContactCount; - int addTribeCount; - int groupTimes; - int contactTimes; - int blacklistTimes; - int reverseBlacklistTimes; - int offlinemsgTimes; - int gencontacttimes;//ÆÕͨÁªÏµÈËʱ¼ä´Á - int toolprofiletimes;//¸öÈËÅäÖÃʱ¼ä´Á - int addContactVerify; - int sendMsgVerify; - int userStatus; - int userLevel; - float totalActDegree ;//now this is totalActDegree ÀۼƻîÔ¾¶È - int createTime; - int accounttype;//0x02 ¼´µÚ¶þλΪ1´ú±íÊǶàÕÊ»§,0´ú±íÆÕͨÕÊ»§ - string loginIp; - string userfunctions; - //int userValue; - }; - //add by duhl 2008-09-01 for antirush project - struct SICEUserInfoNew - { - string uid; - int picId; - int sysMsgId; - string lastLoginTime ; - int strangerMsgCount; - int loginCount; - int onlineTimes; - int addContactCount; - int addTribeCount; - int activeDegree; //now this is chatActiveCount Ǣ̸»îÔ¾¶È - int groupTimes; - int contactTimes; - int blacklistTimes; - int reverseBlacklistTimes; - int offlinemsgTimes; - int addContactVerify; - int sendMsgVerify; - int userStatus; - int userLevel; - float newActDgree;//now this is totalActDegree ÀۼƻîÔ¾¶È - int gencontacttimes;//ÆÕͨÁªÏµÈËʱ¼ä´Á - float rewardActDegree; //½±Àø»îÔ¾¶È - float onlineActDegree; //ÔÚÏß»îÔ¾¶È - int createTime; - int accounttype;//0x02 ¼´µÚ¶þλΪ1´ú±íÊǶàÕÊ»§,0´ú±íÆÕͨÕÊ»§ - int reqAddContactCount; - }; -struct SICEUserInfo2New - { - string uid; - int picId; - int sysMsgId; - string lastLoginTime ; - int strangerMsgCount; - int loginCount; - int onlineTimes; - int addContactCount; - int addTribeCount; - int activeDegree; //now this is chatActiveCount Ǣ̸»îÔ¾¶È - int groupTimes; - int contactTimes; - int blacklistTimes; - int reverseBlacklistTimes; - int offlinemsgTimes; - int addContactVerify; - int sendMsgVerify; - int userStatus; - int userLevel; - float newActDgree;//now this is totalActDegree ÀۼƻîÔ¾¶È - int gencontacttimes;//ÆÕͨÁªÏµÈËʱ¼ä´Á - float rewardActDegree; //½±Àø»îÔ¾¶È - float onlineActDegree; //ÔÚÏß»îÔ¾¶È - int createTime; - int accounttype;//0x02 ¼´µÚ¶þλΪ1´ú±íÊǶàÕÊ»§,0´ú±íÆÕͨÕÊ»§ - string userfunctions; //¹¦ÄÜ×Ö¶Î, ÓÒÊý1Ϊ¶àÕʺţ¬2ΪEÍø´ò½ø,3Ϊ°ó¶¨ - int reqAddContactCount; - }; - struct SICEUserInfoExNew - { - string uid; - int picId; - int sysMsgId; - int lastLoginTime ; - int loginCount; - int strangerMsgCount; - int addContactCount; - int addTribeCount; - int groupTimes; - int contactTimes; - int blacklistTimes; - int reverseBlacklistTimes; - int offlinemsgTimes; - int gencontacttimes;//ÆÕͨÁªÏµÈËʱ¼ä´Á - int toolprofiletimes;//¸öÈËÅäÖÃʱ¼ä´Á - int addContactVerify; - int sendMsgVerify; - int userStatus; - int userLevel; - float totalActDegree ;//now this is totalActDegree ÀۼƻîÔ¾¶È - int createTime; - int accounttype;//0x02 ¼´µÚ¶þλΪ1´ú±íÊǶàÕÊ»§,0´ú±íÆÕͨÕÊ»§ - string loginIp; - string userfunctions; - int reqAddContactCount; - }; - struct SICEUserInfoExNew2 - { - string uid; - int picId; - int sysMsgId; - int lastLoginTime ; - int loginCount; - int strangerMsgCount; - int addContactCount; - int addTribeCount; - int groupTimes; - int contactTimes; - int blacklistTimes; - int reverseBlacklistTimes; - int offlinemsgTimes; - int gencontacttimes;//ÆÕͨÁªÏµÈËʱ¼ä´Á - int toolprofiletimes;//¸öÈËÅäÖÃʱ¼ä´Á - int addContactVerify; - int sendMsgVerify; - int userStatus; - int userLevel; - float totalActDegree ;//now this is totalActDegree ÀۼƻîÔ¾¶È - int createTime; - int accounttype;//0x02 ¼´µÚ¶þλΪ1´ú±íÊǶàÕÊ»§,0´ú±íÆÕͨÕÊ»§ - string loginIp; - string userfunctions; - int reqAddContactCount; - int userValue; - }; - - dictionary RIGHTTABLE; - struct SICEUserInfoExNew3 - { - string uid; - int picId; - int sysMsgId; - int lastLoginTime ; - int loginCount; - int groupTimes; - int contactTimes; - int blacklistTimes; - int reverseBlacklistTimes; - int offlinemsgTimes; - int gencontacttimes;//ÆÕͨÁªÏµÈËʱ¼ä´Á - int toolprofiletimes;//¸öÈËÅäÖÃʱ¼ä´Á - int addContactVerify; - int sendMsgVerify; - int userStatus; - int userLevel; - float totalActDegree ;//now this is totalActDegree ÀۼƻîÔ¾¶È - int createTime; - int accounttype;//0x02 ¼´µÚ¶þλΪ1´ú±íÊǶàÕÊ»§,0´ú±íÆÕͨÕÊ»§ - string loginIp; - string userfunctions; - int userValue; - RIGHTTABLE rightMap; - }; - - struct SICEUserInfoExNew4 - { - string uid; - int picId; - int sysMsgId; - int lastLoginTime ; - int loginCount; - int strangerMsgCount; - int addContactCount; - int addTribeCount; - int groupTimes; - int contactTimes; - int blacklistTimes; - int reverseBlacklistTimes; - int offlinemsgTimes; - int gencontacttimes;//ÆÕͨÁªÏµÈËʱ¼ä´Á - int toolprofiletimes;//¸öÈËÅäÖÃʱ¼ä´Á - int addContactVerify; - int sendMsgVerify; - int userStatus; - int userLevel; - float totalActDegree ;//now this is totalActDegree ÀۼƻîÔ¾¶È - int createTime; - int accounttype;//0x02 ¼´µÚ¶þλΪ1´ú±íÊǶàÕÊ»§,0´ú±íÆÕͨÕÊ»§ - string loginIp; - string userfunctions; - int userValue; - RIGHTTABLE rightMap; - string question; - string answer; - }; - - //end add. - struct SICEGroupInfo - { - int groupId; - string groupName; - }; - struct SICEGroupInfoEx - { - long groupId; - long parentId; - string groupName; - }; - - struct SICEContactInfo - { - string contactId; - int groupId; - string nickName; - int status; - string cid; - short cnttype; - string clientInfo; - }; - - struct SICEUserId - { - string uid; - }; - - struct SICEOffLineMessege - { - string createTime; - int type; - string fromId; - string content; - }; - struct SICEOffLineMessegeEx - { - int sendTime; - int type; - string fromId; - string content; - }; - - - struct SICEUserDStatus //ÔÚ¹ý¶ÉÆÚÖ®ºóɾ³ý - { - int statusId; - string statusInfo; - }; - - - struct SICECntCidModPair - { - string cid; - string modSeqId; - }; - - struct SICECRMContactDetail - { - string cntname ; - string email ; - string phoneno ; - string mobileno ; - string company ; - byte sex; - string jobtitle ; - string compaddr ; - int bizcatid; - string buykeys ; - string salekeys ; - string faxnumber ; - string penname ; - - }; - - struct SICESeqId - { - string seqId ; - }; - - struct SICENetPhoneChargeInfo - { - string chargeseqid ; - string payseqid ; - string chargebegintime ; - int denomination; - int payrealmoney; - int chargestatus; - int paystatus; - }; - - - struct SICEGenContactFull - { - string uid ; - string cid ; - string cntid ; - string nickname ; - string seqid ; - int groupId; - byte showflag; - string sex ; - byte cnttype; - int bizcatid; - string realname; - string email1; - string cphoneno1; - string hphoneno1; - string mobileno1; - string alitalkid; - string companyname; - string email2; - string email3; - string cphoneno2; - string cphoneno3; - string mobileno2; - string mobileno3; - string buykeys; - string salekeys; - string jobtitle; - string compaddr; - string homeaddr; - string compzip; - string homezip; - string cntpicid; - string compurl; - string homeurl; - string wwangid; - string yahooid; - string msnid; - string qqid; - string deptname; - string managername; - string idnumber; - string workidno; - string faxnumber; - string penname; - string engname; - string consortname; - string avocation; - string assistname; - string childname; - string birthday; - string memo; - string firstname; - string lastname; - }; - - - struct SICEATMGenContactFull - { - string uid ; - string cid ; - string cntid ; - string nickname ; - string seqid ; - int groupId; - byte showflag; - string sex ; - byte cnttype; - int bizcatid; - string realname; - string email1; - string cphoneno1; - string hphoneno1; - string mobileno1; - string alitalkid; - string companyname; - string email2; - string email3; - string cphoneno2; - string cphoneno3; - string mobileno2; - string mobileno3; - string buykeys; - string salekeys; - string jobtitle; - string compaddr; - string homeaddr; - string compzip; - string homezip; - string cntpicid; - string compurl; - string homeurl; - string wwangid; - string yahooid; - string msnid; - string qqid; - string deptname; - string managername; - string idnumber; - string workidno; - string faxnumber; - string penname; - string engname; - string consortname; - string avocation; - string assistname; - string childname; - string birthday; - string memo; - int companyid; - int cntlevel; - string country; - string productService; - string firstname; - string lastname; - string biztype; - int preRegister; - }; - - struct SICECntOtherModInfo - { - string cid; - string modSeqId; - int memberLevel; - int smsbindflag; - int smsmobileonlineflag; - string smsbindmobile;//[MOBILE_LENGTH+1]; - }; - - struct SICESmsUserInfo - { - string uid;//[UID_LENGTH+1]; - int bindFlag; - int mobileOnlineFlag; - string account;//[SMS_ACCOUNT_LENGTH+1]; - string password;//[SMS_PASSWORD_LENGTH+1]; - string mobileNo;//[MOBILE_LENGTH+1]; - int balance; - }; - - struct SICEAMOSUserInfo - { - string uid;//[UID_LENGTH+1]; - string lastLoginTime;//[TIME_MAX_LENGTH+1]; - int mobileOnlineFlag; - }; - struct SMemberPWInfo - { - string md5passwd; - bool bcanlogon;//ÍøÕ¾Õâ±ßÊÇ·ñÔÊÐíµÇ½IM - }; - struct SMemberPWInfoEx - { - string md5passwd; - bool bcanlogon;//ÍøÕ¾Õâ±ßÊÇ·ñÔÊÐíµÇ½IM - int activeState; - }; - struct SUserWebBasicProfile//Óû§µÚÒ»´ÎµÇ½ºÍ±»Ìí¼ÓÁªÏµÈËʱÓà - { - string uid; - string nickname; - string realname ; //fullname - string email; //tbonly have email,address,zip,birthday - string phoneno; - string mobileno; - string company; - string jobtitle ; - string address; - int catid; - string buykeyws; - string salekeyws; - string faxno; - string penname; - string country;//ȱʡÖйú - int memberlevel; - int industry; - int area; - int phoneStatus; - int activestat;//¼¤»î״̬£¬È¨ÏÞ¿ØÖÆÓà //notused. - string extraInfo;// ²ÉÓÃk1=v1&k2=v2¸ñʽ - string zip; - string birthday; - - string password; //add for UDB. - string prov; - string city; - string usergender; - string birthdate; - string status; //fora ali. - string province; //fora ali. - - int webLevel; //À´×ÔÍøÕ¾µÄµÚ¶þ¸öµÈ¼¶(ÖÐÎÄÕ¾,ÊÇ·ñÊÇÔ±¹¤ÌÔ±¦Õ¾ÊÇ·ñÊÇС¶þ) - }; - - struct SUserWebBasicProfile2 - { - string uid; - string nickname; - string realname ; //fullname - string email; //tbonly have email,address,zip,birthday - string phoneno; - string mobileno; - string company; - string jobtitle ; - string address; - int catid; - string buykeyws; - string salekeyws; - string faxno; - string penname; - string country; //ȱʡÖйú - int memberlevel; - int industry; - int area; - int phoneStatus; - int activestat; //¼¤»î״̬£¬È¨ÏÞ¿ØÖÆÓà //notused. - string extraInfo; // ²ÉÓÃk1=v1&k2=v2¸ñʽ - string zip; - string birthday; - string password; //add for UDB. - string prov; - string city; - string usergender; - string birthdate; - string status; //fora ali. - string province; //fora ali. - int webLevel; //À´×ÔÍøÕ¾µÄµÚ¶þ¸öµÈ¼¶(ÖÐÎÄÕ¾,ÊÇ·ñÊÇÔ±¹¤ÌÔ±¦Õ¾ÊÇ·ñÊÇС¶þ) - string subcity; - string homepage; - string interest; - }; - - struct SMatchedUserIdInfo - { - string userId; - string name; - byte validateflag; - }; - - struct SUdbUserInfo - { - string uid; - string name; - string rawpasswd; - string md5passwd; - string email; - string mobileno; - string phoneno; - string company; - string jobtitle; - string birthday; - string sex; - string country; - string province; - string city; - string address; - string zip; - }; - - struct SChildUserInfo - { - string uid; - string nikename; - string password; - string parentId; - int suspended; - int expirtTime; - int OpenTime; - int type; - int groupId; - int receptionNum; - int priority; - int recvOffMsg; - string needuseonline; - string userflag; - }; - - struct SChildUserInfo2 - { - string uid; - string nikename; - string password; - string parentId; - int suspended; - int expirtTime; - int OpenTime; - int type; - int groupId; - int receptionNum; - int priority; - int recvOffMsg; - }; - - struct SB2BChildUserInfo - { - string uid; - string parentId; - string userflag; - }; - - struct SICEToolProfile - { - int type; - string profile; - }; - - struct SICEKvPair - { - string key; - string value; - }; - - struct SImPrefix - { - string prefix; - string name; - }; - - sequence SICEMemberInfoSeq; - sequence SICESysMessageSeq; - sequence SExICESysMessageSeq; - sequence SICEVersionSeq; - sequence SICEUserInfoSeq; - sequence SICEUserInfoExSeq; - sequence SICEGroupInfoSeq; - sequence SICEGroupInfoExSeq; - sequence SICEContactInfoSeq; - sequence SICEOffLineMessegeSeq; - sequence SICEOffLineMessegeExSeq; - sequence SICECntCidModPairSeq; - sequence SICEUserDStatusSeq; - sequence SICENetPhoneChargeInfoSeq; - sequence SICEGenContactFullSeq; - sequence SICECntOtherModInfoSeq; - sequence SICEAMOSUserInfoSeq; - sequence SMatchedUserIdInfoSeq; - sequence SUdbUserInfoSeq; - sequence SChildUserInfoSeq; - sequence SB2BChildUserInfoSeq; - sequence SChildUserInfoSeq2; - sequence SICEToolProfileSeq; - sequence SICEKvPairSeq; - - sequence SImPrefixSeq; - dictionary SICEKVMap; - // e-service - struct SICEReceptNum //¿Í·þ×î´ó½Ó´ýÈËÊý - { - string eserviceid; //e¿Í·þid - int receptnum; //e¿Í·þ×î¸ß½Ó´ýÈËÊý - }; - sequence SICEReceptNumSeq; - - struct SICEReceptPriority //¿Í·þÓÅÏÈÁбí - { - string eserviceid; //e¿Í·þid - int receptpriority; //e¿Í·þ½Ó´ýȨÖØ - }; - sequence SICEReceptPrioritySeq; - - struct SICERecvOffMsg - { - string eserviceid; - int recvoffmsg; - }; - sequence SICERecvOffMsgSeq; - - struct SICEESGroupInfo //E¿Í·þ·Ö×é - { - string groupName; //·Ö×éÃû - int groupId; //·Ö×éid - string adminId; //¹ÜÀíÔ±id - Ice::StringSeq eservicelist; //³ÉÔ±Áбí - }; - sequence SICEESGroupInfoSeq; - - struct SICEESBaseGroupInfo - { - string groupName; //·Ö×éÃû - int groupId; //·Ö×éid - string adminId; //¹ÜÀíÔ±id - }; - - //E¿Í·þÀ©Õ¹ÇøÓò - struct SICEExpandArea - { - int id; - string areaname; - string url; - string picpath; - string createtime; - }; - sequence SICEExpandAreaSeq; - - //ÉèÖÃE¿Í·þÆÀ - struct SICEESEval - { - int code; - string codename; - string welcome; - }; - sequence SICEESEvalSeq; - - //ÉèÖÃE¿Í·þÆÀ¼Û½á¹û - struct SICEESCode - { - int code; - string codename; - int num; - }; - sequence SICEESCodeSeq; - - //²é¿´E¿Í·þÆÀ¼Û½á¹û - struct SICEESEvalResult - { - string uid; - int sendNum; - int receNum; - SICEESCodeSeq codes; - }; - sequence SICEESEvalResultSeq; - - //²é¿´E¿Í·þÆÀ¼Û½á¹û - struct SICEESEvalResultEx - { - string uid; - int sendNum; - int receNum; - SICEESCodeSeq codes; - string evalTime; - }; - sequence SICEESEvalResultExSeq; - - struct SICESqlItem - { - int type; //0=int32;2=double,3=string;4=datatime; - string name; - string value; - }; - sequence SICESqlItemSeq; - - struct UserStatics - { - int type; - string loginId; - int totalDegree; - int userValue; - int dailyAction; - int phoneAuth; - - /// b2b related - int emailAuth; - int identityAuth; - int tpAuth; - int tpFee; - - /// taobao related - int alipayAuth; - int buyCredit; - int sellCredit; - - }; - - sequence UserStaticsSeq; -}; -#endif - diff --git a/features/aliww/slice/dbservice.ice b/features/aliww/slice/dbservice.ice deleted file mode 100644 index 44ed473..0000000 --- a/features/aliww/slice/dbservice.ice +++ /dev/null @@ -1,1705 +0,0 @@ -#ifndef HALIIMDBProxyMgrICE -#define HALIIMDBProxyMgrICE - -#include "dbdatadefine.ice" -#include "dbtbsstructs60.ice" -#include "imsession.ice" -#include "imicecommstruct.ice" - -module AliIMDBBase -{ - - interface IMDBProxyMgr - { - - ["amd" ] int sayhello(string userId, out string helloword); - //Óû§µÇ½ʱµÄµÚÒ»ÌõÃüÁÏòÓû§×¢²áµÄÍøÕ¾²éѯÃÜÂ룬ÔÊÐíÓë·ñÐÅÏ¢ - ["amd" ] int CheckUserToken(string userId, string passwd,out string lid, out string retuidtokenpw,out string retmd5passwd,out int activeStat); - ["amd" ] int CheckTmpSession(string userId, string passwd,out string lid, out string retuidtokenpw,out string retmd5passwd,out int activeStat); - ["amd" ] int CheckUserWebPasswd(string userId, string passwd,out string lid, out string retuidtokenpw,out string retmd5passwd,out int activeStat); - ["amd" ] int CheckUserPasswd(string userId,bool btokenpw, string passwd,out string retuidtokenpw,out string retmd5passwd,out int activeStat); - ["amd"] int CheckUserWebToken(string userId, string token, out string reason); - ["amd" ] int GetAtmLongid(string userId, out string longId); - ["amd" ] int AddUser60(string userId,string md5passwd,string tokenpw,int languageid); - ["amd" ] int GetWebMemberPWInfo(string userId, out SMemberPWInfo pwInfo); - ["amd" ] int GetWebMemberPWInfoEx(string userId, out SMemberPWInfoEx pwInfo); - ["amd" ] int GetUserWebBasicProfile(string userId,out SUserWebBasicProfile profile);//»ñÈ¡Óû§µÄ»ù±¾profile£¬ÓÃÀ´µ¼Èëµ½UDBÖÐ - ["amd" ] int CheckCanAddContact(string userId, string buddyId);//¹ú¼ÊÕ¾Ó㬠- - //finduidÊdz¤ID,Ö¸µÄÊÇË­·¢ÆðÕâ¸ö²Ù×÷£¬ shortIdÖ¸µÄÊÇÐèҪƥÅäµÄ¶ÌId - ["amd" ] int QueryMatchedUserIds(string finduid,string shortId,out SMatchedUserIdInfoSeq matchedIds); - - //Ìí¼ÓÁªÏµÈ˺ó¸üиÃÁªÏµÈ˵ÄÐÅÏ¢ - ["amd" ] int UpdateContactWebInfo(string userId, string buddyId, SUserWebBasicProfile cntWebInfo); - - //webIdÊÇÍøÕ¾µÄÓû§ID, ÄÚ²¿Âß¼­ÊÇ£º¼ì²é¸ÃÓû§µÄIM_USer±íÀïµÄgmt_createʱ¼äÓ뵱ǰʱ¼äÏà±ÈÊÇ·ñСÓÚ7Ì죬ÇÒ¸ÃÓû§µÄÀÛ¼ÆÔÚÏßʱ¼äÊÇ·ñСÓÚ56Сʱ - //Ó¦¸Ã¼ÓÃܹý°Ñ£¬´ý¶¨£¬string webId, string webIdMD5£¨webId¼ÓÃܹýµÄmd5) - ["amd" ] int DelTaobaoUser(string webId); - ["amd" ] int DelAnyUser(string imuserId); - - /**************************************************************** - º¯ÊýÃû³Æ£º KeyWord - ¼òÒªÃèÊö£ºÔö¼Óɾ³ý£¬Ð޸ģ¬²éѯ¹Ø¼ü×Ö - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -flag : ÊÇ·ñÔÊÐí±»²éѯ 0±í²»ÄÜ£¬1±íÄÜ -Êä³ö£º Óû§²»´æÔÚIM NODATAERR -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - - ["amd" ] int AddUserKeyWord(string userId, string keyword,int flag); - ["amd" ] int UpdateUserKeyWord(string userId, string keyword,int flag); - ["amd" ] int GetUserKeyWord(string userId, out string keyword,out int flag); - ["amd" ] int QueryUserIdsByKeyWord(string keyword,out SMatchedUserIdInfoSeq matchedIds); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetMemberInfo - ¼òÒªÃèÊö£ºÅжÏÓû§ÊÇ·ñ´æÔÚMember±í£¬È¡Óû§µÄÐÅÏ¢; - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - memberInfo£º´«³öÓû§Member±íÐÅÏ¢ - Êä³ö£º Óû§²»´æÔÚIM NODATAERR - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetMemberInfo(string userId, out SICEMemberInfo memberInfo); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetBatchMemberInfo, ´ÓUDBÖÐÈ¡Óû§µÄprofiles - ¼òÒªÃèÊö£ºÈ¡ÅúÁ¿Óû§µÄÐÅÏ¢; - ÊäÈ룺 userId£º£¬³¤ID£» - count£ºIDÊýÁ¿£¨²»Äܳ¬¹ý10£©¸ö¡£ - memberInfoList£º´«³öÓû§Member±íÐÅÏ¢Áбí - Êä³ö£º Óû§²»´æÔÚIM NOUSER - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetBatchMemberInfo(Ice::StringSeq userIds, out SICEMemberInfoSeq memberInfoList); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetBatchMemberAssortInfo - ¼òÒªÃèÊö£ºÈ¡ÅúÁ¿Óû§·ÖÀàÐÅÏ¢; - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - count£ºIDÊýÁ¿£¨²»Äܳ¬¹ý1024£©¸ö¡£ - memberInfoList£º´«³öÓû§Member±íÐÅÏ¢Áбí - Êä³ö£º Óû§²»´æÔÚIM NOUSER - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetBatchMemberAssortInfo(Ice::StringSeq userIds, out SICEMemberInfoSeq memberInfoList); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetNotifyMessageUserId - ¼òÒªÃèÊö£º¸ù¾ÝϵͳÏûÏ¢ºÅsysId£¬È¡Òª·¢¸øµÄËùÓÐÓû§ID£¬°üÀ¨ Óû§ID - ÊäÈ룺 sysId ϵͳÏûÏ¢ºÅ - userIdList£ºËùÓÐÓû§ID - Êä³ö£º ϵͳÏûÏ¢ºÅ²»´æÔÚIM NOSYSID, ¸øËùÓÐÈË·¢ÏµÍ³ÏûÏ¢ - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetNotifyMessageUserId(int sysId, out Ice::StringSeq userIdList); - - - /**************************************************************** - º¯ÊýÃû³Æ£º GetUidByPenname - ¼òÒªÃèÊö£ºÓñÊÃûÈ¡Óû§Ãû - ÊäÈ룺 penname: ±ÊÃû - SUserId£º´«³öÓû§ID - Êä³ö£º Óû§²»´æÔÚIM NOUSER - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetUidByPenname(string penname, out string userId); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetAllVersion - ¼òÒªÃèÊö£ºÈ¡ËùÓеÄóÒ×ͨ°æ±¾ - ÊäÈ룺 versionList£º´«³ö°æ±¾ÐÅÏ¢Áбí - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetAllVersion(out SICEVersionSeq versionList); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetAllSysMsg - ¼òÒªÃèÊö£ºÈ¥ËùÓÐÓÐЧµÄϵͳÏûÏ¢ - ÊäÈ룺 sysMsgList£º´«³öϵͳÏûÏ¢°æ±¾£» - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetAllSysMsg(out SICESysMessageSeq sysMsgList); - - ["amd" ] int GetAllExSysMsg(out SExICESysMessageSeq sysMsgList); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetAllUser - ¼òÒªÃèÊö£ºÈ¡ËùÓеÄóÒ×ͨÓû§ÁÐ±í£¬°üÀ¨ ID£¬×îºóµÇ¼ʱ¼ä - ÊäÈ룺 userInfoList£º´«ÊäóÒ×ͨÓû§ÐÅÏ¢Áбí - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetAllUser(out SICEUserInfo userInfoList); - - ["amd" ] int GetUserInfo(string userId, out SICEUserInfo userInfo); - ["amd" ] int GetUserInfo2(string userId, out SICEUserInfo2 userInfo); - ["amd" ] int GetUserInfoEx(string userId, out SICEUserInfoEx userInfo); - - //add by duhl 2008-9-1 for antirush project - ["amd" ] int GetUserInfoNew(string userId, out SICEUserInfoNew userInfo); - ["amd" ] int GetUserInfo2New(string userId, out SICEUserInfo2New userInfo); - ["amd" ] int GetUserInfoExNew(string userId, out SICEUserInfoExNew userInfo); - //end add. - ["amd" ] int GetUserInfoExNew2(string userId, out SICEUserInfoExNew2 userInfo); - ["amd" ] int GetUserInfoExNew3(string userId, out SICEUserInfoExNew3 userInfo); - ["amd" ] int GetUserInfoExNew4(string userId, out SICEUserInfoExNew4 userInfo); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetUserVerifyInfo - ¼òÒªÃèÊö£ºÈ¡Ã³Ò×ͨÓû§ÑéÖ¤ÐÅÏ¢ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - addcontactverify£ºÓû§±»Ä°ÉúÈËÌí¼ÓΪÁªÏµÈËÑéÖ¤±ê¼Ç - sendmsgverify£º Óû§±»Ä°ÉúÈË·¢ËÍÏûÏ¢ÑéÖ¤±ê¼Ç - Êä³ö£º Óû§²»´æÔÚIM NOUSER - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetUserVerifyInfo(string userId,out byte addcontactverify, out byte sendmsgverify); - ["amd" ] int GetUserVerifyInfoEx(string userId,out byte addcontactverify, out byte sendmsgverify, out byte enableSearchFlag); - ["amd" ] int GetUserVerifyInfoQuestion(string userId,out byte addcontactverify, out byte sendmsgverify, out byte enableSearchFlag, out string question, out string answer); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetGroupList - ¼òÒªÃèÊö£ºÈ¡Óû§µÄ×éÁÐ±í£¬°üÀ¨ ×éID£¬×éÃû - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - groupList£º´«³öÓû§×éÁбí - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetGroupList(string userId, out SICEGroupInfoSeq groupList, out int groupTimes); - ["amd" ] int GetGroupListEx(string userId, out SICEGroupInfoExSeq groupList, out int groupTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetContactList - ¼òÒªÃèÊö£ºÈ¡Óû§µÄÁªÏµÈËÁÐ±í£¬°üÀ¨ ÁªÏµÈËID,×éID£¬êÇ³Æ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - contactList£º´«³öÁªÏµÈËÁбí - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetContactList(string userId, int getFlag, out SICEContactInfoSeq contactList, out int contactTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetBlackList - ¼òÒªÃèÊö£ºÈ¡Óû§µÄºÚÃûµ¥ÁÐ±í£¬°üÀ¨ ºÚÃûµ¥ID - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - blackList£º´«³öºÚÃûµ¥Áбí - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetBlackList(string userId, out Ice::StringSeq blackList, out int blacklistTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetReverseBlackList - ¼òÒªÃèÊö£ºÈ¡Óû§µÄ·´ÏòºÚÃûµ¥ÁÐ±í£¬°üÀ¨ ·´ÏòºÚÃûµ¥ID - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - reverseBlackList£º´«³ö·´ÏòºÚÃûµ¥Áбí - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetReverseBlackList(string userId, out Ice::StringSeq reverseBlackList, out int reverseBlacklistTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetOfflineMsg - ¼òÒªÃèÊö£ºÈ¡Óû§µÄÈ«²¿ÀëÏßÏûÏ¢ °üÀ¨ ·¢ËÍ·½£¬ÀàÐÍ£¬Ê±¼ä£¬ÄÚÈݳ¤¶È£¬ÄÚÈÝ - - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - offlineMsgList£º´«³öÀëÏßÏûÏ¢Áбí - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetOfflineMsg(string userId, out SICEOffLineMessegeSeq offlineMsgList, out int offlinemsgTimes); - ["amd" ] int GetOfflineMsgEx(string userId, out SICEOffLineMessegeExSeq offlineMsgList, out int offlinemsgTimes); - - ["amd" ] int GetOfflineMsgCount(string uid, out int chatMsgNum, out int sysMsgNum); - - ["amd" ] int GetEnetOfflineMsgNum(string toId, string fromId, Ice::IntSeq types, out int msgNum); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetContactInfo - ¼òÒªÃèÊö£ºÈ¡Ã³Ò×ͨÓû§Ä³¸öÁªÏµÈËÐÅÏ¢ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -contactId: óÒ×ͨID£¬³¤ID£» -contactInfo£º´«³öÁªÏµÈ˵ÄIMCONTACT±íÐÅÏ¢ -Êä³ö£º Óû§²»´æÔÚIM NOUSER -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetContactInfo(string userId, string contactId, out SICEContactInfo contactInfo); - - - /**************************************************************** - º¯ÊýÃû³Æ£º GetOfflineMsgNum - ¼òÒªÃèÊö£ºÈ¡Ã³Ò×ͨÓû§Ä³¸öÁªÏµÈËÐÅÏ¢ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - msgNum£º´«³öÏàÓ¦IDÀëÏßÏûÏ¢ÌõÊý - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetOfflineMsgNum(string userId, out int msgNum); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetToolProfiles - ¼òÒªÃèÊö£ºÈ¡Ã³Ò×ͨÓû§Ä³¸öÍⲿ¹¤¾ßµÄÅäÖà - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - type£º¹¤¾ßÀàÐÍ - nowTimes£º¿Í»§¶ËÅäÖÃʱ¼ä´Á - toolProfilesList£º´«³öÅäÖÃÁбí - toolTimes£º´«³öÊý¾Ý¿âÅäÖÃʱ¼ä´Á - Êä³ö£º IM NODATAERRûÓб仯µÄÊý¾Ý - IM NOUSERÓû§²»´æÔÚ - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetToolProfiles(string userId, int type, int nowTimes, out Ice::StringSeq toolProfilesList, out int toolTimes); - ["amd" ] int GetToolProfilesEx(string userId, int nowTimes, out SICEToolProfileSeq toolProfilesList, out int toolTimes); - - - /**************************************************************** - º¯ÊýÃû³Æ£º GetSysMsg - ¼òÒªÃèÊö£ºÈ¥ËùÓÐÓÐЧµÄϵͳÏûÏ¢ - ÊäÈ룺 sysId £ºÏµÍ³ÏûÏ¢ºÅ - sysMsg£º´«³öϵͳÏûÏ¢°æ±¾£» - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetSysMsg(int sysId, out SICESysMessage sysMsg); - - /**************************************************************** - º¯ÊýÃû³Æ£º AddUser - ¼òÒªÃèÊö£ºÌí¼ÓóÒ×ͨÓû§ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - Êä³ö£º Óû§ÒѾ­´æÔÚIM DATADUP - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int AddUser(string userId); - - /**************************************************************** - º¯ÊýÃû³Æ£º AddGroup - ¼òÒªÃèÊö£ºÎªÓû§Ìí¼ÓÒ»¸ö×é - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -groupName: ×éÃû -groupId£º´«³ö×éId -groupTimes£º´«³ö×éʱ¼ä´Á -Êä³ö£º ×éÒѾ­´æÔÚIM DATADUP -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int AddGroup(string userId, string groupName, out int groupId, out int groupTimes); - ["amd" ] int AddGroupEx(string userId, string groupName, int parentId, out int groupId, out int groupTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º AddBlackList - ¼òÒªÃèÊö£ºÎªÓû§Ìí¼ÓÒ»¸öºÚÃûµ¥ID - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - blackId£ººÚÃûµ¥ID£¬³¤ID£» - blackListTimes£º´«³öºÚÃûµ¥Ê±¼ä´Á - Êä³ö£º ºÚÃûµ¥IDÒѾ­´æÔÚIM DATADUP - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int AddBlackList(string userId, string blackId, out int blackListTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º AddOfflineMsg - ¼òÒªÃèÊö£ºÌí¼ÓÒ»ÌõÀëÏßÏûÏ¢ - ÊäÈ룺 fromId£º·¢ËÍ·½ID£¬³¤ID£» - toId£º½ÓÊÜ·½ID£¬³¤ID£» - type£ºÏûÏ¢ÀàÐÍ,EOfflineMsgType - contect£ºÄÚÈÝ - len£ºÄÚÈݳ¤¶È - Êä³ö£º Êý¾ÝÒѾ­ÂúIM DATAFULL - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int AddOfflineMsg(string fromId, string toId, int type, string content); - ["amd" ] int AddExpriteTimeOfflineMsg(string fromId, string toId, int type, string content, string expireTime); - ["amd" ] int AddOfflineMsgNoSMS(string fromId, string toId, int type, string content); - - ["amd" ] int AddOfflineMsgEx(string fromId, string toId, int type, string content, long uniqueMsgTime); - - /**************************************************************** - º¯ÊýÃû³Æ£º AddHelpMsg - ¼òÒªÃèÊö£ºÌí¼ÓÒ»ÌõÈÈÏß°ïÖúÏûÏ¢ - ÊäÈ룺 fromId£º·¢ËÍ·½ID£¬³¤ID£» - toId£º½ÓÊÜ·½ID£¬³¤ID£» - type£ºÏûÏ¢ÀàÐÍ - contect£ºÄÚÈÝ - len£ºÄÚÈݳ¤¶È - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int AddHelpMsg(string fromId, string toId, int type, string content); - - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateUserLogin - ¼òÒªÃèÊö£ºÐÞ¸ÄÓû§µÇ¼ÐÅÏ¢; - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - sysMsgId£º×îºóµÄϵͳÏûÏ¢ºÅ - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateUserLogin(string userId, int sysMsgId); - ["amd" ] int UpdateUserLoginEx(string userId, int sysMsgId,string loginIp); - ["amd" ] int UpdateUserLoginDataInfo(string userId, int sysMsgId, string loginIp, int onlineTimes, int lastLoginTime); - ["amd" ] int UpdateUserLoginDataInfoEx(string userId, int sysMsgId, string loginIp, int onlineTimes, int lastLoginTime, int isNeedToUpdate); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateUserSysMsgId - ¼òÒªÃèÊö£ºÐÞ¸ÄÓû§µÇ¼ÐÅÏ¢; - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - sysMsgId£º×îºóµÄϵͳÏûÏ¢ºÅ - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateUserSysMsgId(string userId, int sysMsgId); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateUserDataInfo - ¼òÒªÃèÊö£ºÐÞ¸ÄÓû§Í³¼ÆºÍ¿ØÖÆÐÅÏ¢; - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - strangerMsgCount£º½ñÌìÒѾ­·¢Ë͵ÄÄ°ÉúÈËÏûÏ¢ÊýÁ¿ - onlineTimes£ºÕâ´ÎµÇ¼µÄÀÛ»ýʱ¼ä - addContactCount£º½ñÌìÒѾ­Ìí¼ÓµÄºÃÓÑÊýÁ¿ - activeDegree£ºÕâ´ÎµÇ¼µÄǢ̸»îÔ¾¶È -rewordActDegree: Õâ´ÎµÇ¼µÄ½±Àø»îÔ¾¶È -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateUserDataInfo(string userId, int strangerMsgCount, int onlineTimes, int addContactCount, int activeDegree, float rewardActDegree, float onlineActDegree, int addTribeCount); - ["amd" ] int UpdateUserDataInfo2(string userId, int strangerMsgCount, int onlineTimes, int addContactCount, int activeDegree, float rewardActDegree, float onlineActDegree, int addTribeCount, int reqAddContactCount); - ["amd" ] int UpdateUserDataInfo3(string userId, RIGHTTABLE rightMap, int onlineTimes, int activeDegree, float rewardActDegree, float onlineActDegree); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateUserDataInfo - ¼òÒªÃèÊö£ºÐÞ¸ÄÓû§Ìí¼ÓºÃÓѺͷ¢ËÍÏûÏ¢ÑéÖ¤ÉèÖÃ; - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - addContactVerify£ºÌí¼ÓÁªÏµÈËÐèÒªÑéÖ¤±ê¼Ç - sendMsgVerify£º·¢ËÍÏûÏ¢ÐèÒªÑéÖ¤±ê¼Ç - enbleSearchFlag: ÊÇ·ñÔÊÐíͨ¹ýuidÒÔÍâµÄÐÅÏ¢±»ËÑË÷µ½ - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateUserVerifySet(string userId, int addContactVerify, int sendMsgVerify); - ["amd" ] int UpdateUserVerifySetEx(string userId, int addContactVerify, int sendMsgVerify, int enbleSearchFlag); - ["amd" ] int UpdateUserVerifySetQuestion(string userId, int addContactVerify, int sendMsgVerify, int enbleSearchFlag, - string question, string answer); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateGroup - ¼òÒªÃèÊö£ºÐÞ¸ÄÓû§µÄ×éÃû - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - groupName£º×éÃû - groupId£º×éID - groupTimes£º´«³ö×éʱ¼ä´Á - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateGroup(string userId, string groupName, int groupId, out int groupTimes); - ["amd" ] int MoveGroup(string userId,long groupId,long newparentgid,out int groupTimes); - - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateContactInfo - ¼òÒªÃèÊö£ºÐÞ¸ÄÁªÏµÈËêÇ³Æ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID£¬³¤ID£» - nickName£ºêÇ³Æ -groupId: ×éID -contactTimes£ºÁªÏµÈËʱ¼ä´Á -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int UpdateContactInfo(string userId, string contactId, string nickName,int groupId, out int contactTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateContactNickName - ¼òÒªÃèÊö£ºÐÞ¸ÄÁªÏµÈËêÇ³Æ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID£¬³¤ID£» - nickName£ºêÇ³Æ - contactTimes£ºÁªÏµÈËʱ¼ä´Á - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateContactNickName(string userId, string contactId, string nickName, out int contactTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateContactGroup - ¼òÒªÃèÊö£ºÐÞ¸ÄÁªÏµÈË×éÐÅÏ¢ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID£¬³¤ID£» - srcGroupId£ºÔ­À´µÄ×é - dstGroupId£ºÄ¿±êµÄ×é - contactTimes£ºÁªÏµÈËʱ¼ä´Á - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateContactGroup(string userId, string contactId, int srcGroupId, int dstGroupId, out int contactTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateContactStatus - ¼òÒªÃèÊö£ºÐÞ¸ÄÁªÏµÈË״̬ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID£¬³¤ID£» - status£º×´Ì¬ - contactTimes£ºÁªÏµÈËʱ¼ä´Á - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateContactStatus(string userId, string contactId, int status, out int contactTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateNotifyMessage - ¼òÒªÃèÊö£ºÐÞ¸Ä֪ͨÏûϢ״̬ - ÊäÈ룺 msgId£ºÏµÍ³ÏûÏ¢ID - status£º×´Ì¬ - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateNotifyMessage(int msgId, int status); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateToolProfiles - ¼òÒªÃèÊö£ºÐÞ¸ÄÍⲿ¹¤¾ßÅäÖà - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - type£º¹¤¾ßÀàÐÍ - toolProfilsList£ºÐÂÅäÖÃÁбí - toolTimes£º´«³ö·þÎñÆ÷ÅäÖÃʱ¼ä´Á - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateToolProfiles(string userId, int type, Ice::StringSeq toolProfilsList, out int toolTimes); - ["amd" ] int UpdateToolProfilesEx(string userId,SICEToolProfileSeq toolProfilsList, out int toolTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º RemoveGroup - ¼òÒªÃèÊö£ºÉ¾³ý×é - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - groupId£º×éID - groupTimes£º´«³ö×éʱ¼ä´Á - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int RemoveGroup(string userId, int groupId, out int groupTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º RemoveContact - ¼òÒªÃèÊö£ºÉ¾³ýÁªÏµÈË - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID,³¤ID - contactTimes£º´«³öÁªÏµÈËʱ¼ä´Á - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int RemoveContact(string userId, string contactId, out int contactTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º RemoveInverfiedContact - ¼òÒªÃèÊö£ºÉ¾³ýÁªÏµÈË - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID,³¤ID - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int RemoveInverfiedContact(string userId, string contactId, out int contactTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º RemoveBlackList - ¼òÒªÃèÊö£ºÉ¾³ýºÚÃûµ¥ID - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - blackId£ººÚÃûµ¥ID,³¤ID - blackListTimes£º´«³öºÚÃûµ¥Ê±¼ä´Á - Êä³ö£º Óû§²»´æÔÚIM NOUSER - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int RemoveBlackList(string userId, string blackId, out int blackListTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º RemoveBlackList - ¼òÒªÃèÊö£ºÉ¾³ýºÚÃûµ¥ID - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - otheruid£ºÃ³Ò×ͨID,³¤ID - bBlacked£ºÊÇ·ñ±»ÆÁ±Î - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int IsBlackedByOther(string userId, string otheruid, out bool bBlacked); - - - /**************************************************************** - º¯ÊýÃû³Æ£º RemoveBatchContacts - ¼òÒªÃèÊö£ºÅúÁ¿É¾³ýÁªÏµÈË - userId£ºÃ³Ò×ͨID£¬³¤ID£» - cids£ºÁªÏµÈËcid£» - modifyCntTimes: ´«ÈëÊÇ·ñ°üº¬Ã³Ò×ͨÁªÏµÈË£¬´«³öóÒ×ͨÁªÏµÈËʱ¼ä´Á - modifyGenCntTimes: ´«ÈëÊÇ·ñ°üº¬ÆÕͨÁªÏµÈË£¬´«³öÆÕͨÁªÏµÈËʱ¼ä´Á - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int RemoveBatchContacts(string userId, Ice::StringSeq cids, out ::Ice::StringSeq retVect,out int modifyCntTimes, out int modifyGenCntTime); - - /**************************************************************** - º¯ÊýÃû³Æ£ºIMPGetUserDStatus - ¼òÒªÃèÊö£ºÕâÊÇÀϰ汾óÒ×ͨ»ñÈ¡×Ô¶¨Òå״̬µÄ²Ù×÷Êý¾Ý¿â½Ó¿Ú£¬¹ý¶ÉÆÚÖ®ºóɾ³ý - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - userDStatusList£º´«³öÓû§×´Ì¬Áбí - Êä³ö£º ûÓÐ×Ô¶¨Òå״̬IM NODATAERR - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetUserDStatus(string userId, out SICEUserDStatusSeq userDStatusList); - - /**************************************************************** - º¯ÊýÃû³Æ£ºIMPAddUserDStatus - ¼òÒªÃèÊö£ºÕâÊÇÀϰ汾óÒ×ͨÌí¼Ó×Ô¶¨Òå״̬µÄ²Ù×÷Êý¾Ý¿â½Ó¿Ú£¬¹ý¶ÉÆÚÖ®ºóɾ³ý - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - userDStatus£ºÓû§¶¨Òå״̬ -statusId: ´«³ö״̬ºÅ -Êä³ö£º ×Ô¶¨Òå״̬ÂúIM DATAFULL -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int AddUserDStatus(string userId, string userDStatus, out int statusId); - - /**************************************************************** - º¯ÊýÃû³Æ£ºIMPRemoveUserDStatus - ¼òÒªÃèÊö£ºÕâÊÇÀϰ汾óÒ×ͨɾ³ý×Ô¶¨Òå״̬µÄ²Ù×÷Êý¾Ý¿â½Ó¿Ú£¬¹ý¶ÉÆÚÖ®ºóɾ³ý - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -statusId: ״̬ºÅ -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int RemoveUserDStatus(string userId, int statusId); - - //mojx add 2005/11/24 - - /**************************************************************** - º¯ÊýÃû³Æ£ºIMPGetAllContactList - ¼òÒªÃèÊö£º - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -getFlag: 1´ú±íֻȡcnttype=0µÄcontactid, 2´ú±íÈ¡contactid, groupid, nickname,cid,cnttype -Êä³ö£º contactList£º´«³öÁªÏµÈËÁбí -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetAllContactList(string uid, int getFlag, out SICEContactInfoSeq contactList, out int contactTimes, out int gencontacttimes);//µÃµ½ÁªÏµÈËÁбí - - - /**************************************************************** - º¯ÊýÃû³Æ£ºIMPGetCntModifyLis - ¼òÒªÃèÊö£º - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -sMaxSeqId: ¿Í»§¶Ë±£´æµÄÁªÏµÈËÏêϸÐÅÏ¢×î´ó¸ü¸ÄÐòÁкŠ-Êä³ö£º cntList£º¸ü¸Ä¹ýµÄÁªÏµÈËÁбí -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetCntModifyList(int getFlag,string uid, string sMaxSeqId, out SICECntCidModPairSeq cntList); - - /**************************************************************** - º¯ÊýÃû³Æ£ºIMPAddGenContactFull - ¼òÒªÃèÊö£º - ÊäÈ룺 detail: ÆÕͨÁªÏµÈ˵ÄÐÅÏ¢ - - Êä³ö£º retscid: ÐÂÔö¼ÓÁªÏµÈ˵Äcid -retsmodseqid: ÐÂÔö¼ÓÁªÏµÈ˵ĸü¸ÄÐòÁкŠ-timeStamps: ÐÂÔö¼ÓÁªÏµÈ˵ÄÌí¼Óɾ³ýʱ¼ä´Á -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - - ["amd" ] int AddGenContactFull(SICEGenContactFull detail,out string retscid,out string retsmodseqid, out long timeStamps); - - /**************************************************************** - º¯ÊýÃû³Æ£ºIMPGetContactFull - ¼òÒªÃèÊö£º - ÊäÈ룺 detail: ÆÕͨÁªÏµÈ˵ÄÐÅÏ¢ - - Êä³ö£º retscid: ÐÂÔö¼ÓÁªÏµÈ˵Äcid -retsmodseqid: ÐÂÔö¼ÓÁªÏµÈ˵ĸü¸ÄÐòÁкŠ-timeStamps: ÐÂÔö¼ÓÁªÏµÈ˵ÄÌí¼Óɾ³ýʱ¼ä´Á -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - - ["amd" ] int GetContactDetail(string uid, string cid, out SICEGenContactFull detail); - - /**************************************************************** - º¯ÊýÃû³Æ£ºIMPDelGenContact - ¼òÒªÃèÊö£º - ÊäÈ룺 uid: Óû§loginId -cid: ÁªÏµÈ˵Äcid - -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int DelGenContact(string uid, string cid,out long contactTimes); - /**************************************************************** - º¯ÊýÃû³Æ£º AddContact - ¼òÒªÃèÊö£ºÎªÓû§Ìí¼ÓÒ»¸öÁªÏµÈË - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID,³¤ID - nickName£ºêÇ³Æ - groupId£º×éID - contactTimes£º´«³öÁªÏµÈËʱ¼ä´Á -retcid: ÁªÏµÈËCID -retmodseqid: ÁªÏµÈ˸ü¸ÄÐòÁкŠ-Êä³ö£º ÁªÏµÈËÒѾ­´æÔÚIM DATADUP -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int AddContact(string userId, string contactId, string nickName, int groupId, int status,SUserWebBasicProfile cntInfo, out int contactTimes, - out string retcid, out string retmodseqid); - - /**************************************************************** - º¯ÊýÃû³Æ£º CheckUpgradeGenCnt - ¼òÒªÃèÊö£º¼ì²éÊÇ·ñ¿ÉÒÔÉý¼¶ÎªÃ³Ò×ͨÁªÏµÈË - ÊäÈ룺 uid£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID,³¤ID -cid: ÁªÏµÈËCID -Êä³ö£º ÁªÏµÈËÒѾ­´æÔÚIM DATADUP -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - - ["amd" ] int CheckUpgradeGenCnt(string uid, string cid, string contactId); - - /**************************************************************** - º¯ÊýÃû³Æ£º ModifyGenCntID - ¼òÒªÃèÊö£º¸ü¸ÄÆÕͨÁªÏµÈ˵ÄIDΪóÒ×ͬÁªÏµÈËID - ÊäÈ룺 uid£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID,³¤ID -cid: ÁªÏµÈËCID -Êä³ö£º modseqid: ÏêϸÐÅÏ¢¸ü¸ÄÐòÁкŠ-ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int ModifyGenCntID(string uid, string cid, string contactId,out string modseqid); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpgradeGenContact - ¼òÒªÃèÊö£ºÉý¼¶ÆÕͨÁªÏµÈËΪóÒ×ͬÁªÏµÈË - ÊäÈ룺 uid£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID,³¤ID -cid: ÁªÏµÈËCID -cntstamp: еÄóÒ×ͨÁªÏµÈËʱ¼ä´Á -gencntstamp: еÄÆÕͨÁªÏµÈËʱ¼ä´Á -Êä³ö£º modseqid: ÏêϸÐÅÏ¢¸ü¸ÄÐòÁкŠ-ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpgradeGenContact(string uid, string cid, string contactId, out long cntstamp, out long gencntstamp,out string modseqid); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetUpdatedUserInfo - ¼òÒªÃèÊö£ºÈ¡Ñé֤ͨ¹ýµÄÐÂÁªÏµÈ˸ü¸Ä¹ýµÄÐÅÏ¢ - ÊäÈ룺 uid£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID,³¤ID - -cntstamp: еÄóÒ×ͨÁªÏµÈËʱ¼ä´Á -gencntstamp: еÄÆÕͨÁªÏµÈËʱ¼ä´Á -Êä³ö£º cid: ÁªÏµÈËCID -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetUpdatedUserInfo(string uid, string contactId,out long cntstamp, out long gencntstamp, out string retcid,out string modseqid, out long groupid,out string nickname); - - /**************************************************************** - º¯ÊýÃû³Æ£º ModifyContactDetail - ¼òÒªÃèÊö£ºÈ¡Ñé֤ͨ¹ýµÄÐÂÁªÏµÈ˸ü¸Ä¹ýµÄÐÅÏ¢ - ÊäÈ룺 uid£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID,³¤ID - -cntstamp: еÄóÒ×ͨÁªÏµÈËʱ¼ä´Á -gencntstamp: еÄÆÕͨÁªÏµÈËʱ¼ä´Á -Êä³ö£º cid: ÁªÏµÈËCID -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int ModifyContactDetail(SICEGenContactFull detail,out long gencntmodifyVersion, out string modseqid); - - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateContactGroupByCid - ¼òÒªÃèÊö£ºÐÞ¸ÄÁªÏµÈË×éÐÅÏ¢ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - contactId£ºÁªÏµÈËID£¬³¤ID£» - srcGroupId£ºÔ­À´µÄ×é - dstGroupId£ºÄ¿±êµÄ×é - contactTimes£ºÁªÏµÈËʱ¼ä´Á - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateContactGroupByCid(string userId, string cid, int srcGroupId, int dstGroupId, out int contactTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£ºDB_UpdateContactNickName - ¼òÒªÃèÊö£ºÐÞ¸ÄÁªÏµÈËêÇ³Æ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - cid£ºÁªÏµÈËCID£¬ÐòÁÐID£» - nickName£ºêÇ³Æ - contactTimes£ºÁªÏµÈËʱ¼ä´Á - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateContactNickNameByCid(string userId, string cid, string nickName, out int contactTimes); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetCRMContactDetail - ¼òÒªÃèÊö£ºCRMÌí¼ÓÁªÏµÈËÑé֤ʧ°Üʱ£¬È¡ Ìí¼ÓΪÆÕͨÁªÏµÈ˵ÄÏêϸÐÅÏ¢£¬ÏÖÔÚ´ÓMember±íÈ¡ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - cntid£ºÁªÏµÈËID£¬³¤ID£» -cntDetail: ·µ»ØµÄÏêϸÐÅÏ¢ -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetCRMContactDetail(string userId, string cntid, out SICECRMContactDetail cntDetail); - ["amd" ] int GetHardCodeIds(string uuid, out int count, out string allids); - ["amd" ] int UpdateHardCodeIds(string uuid, string id); - - /**************************************************************** - º¯ÊýÃû³Æ£ºIMPGetCntOtherModifyLis - ¼òÒªÃèÊö£ºÈ¡¶Ô·½Ð޸Ĺý¸öÈË×ÊÁϵÄÁªÏµÈËIDÁбí - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -sMaxSeqId: ¿Í»§¶Ë±£´æµÄÁªÏµÈËÏêϸÐÅÏ¢×î´ó¸ü¸ÄÐòÁкŠ-cntList£º¸ü¸Ä¹ýµÄÁªÏµÈËÁбí -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetCntOtherModifyList(string userId, string sMaxSeqId, out SICECntOtherModInfoSeq cntList); - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetCntOtherModifyInfo - ¼òÒªÃèÊö£ºÁªÏµÈ˶Է½ÐÞ¸ÄÐÅÏ¢ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - cntOtherModInfo£ºÁªÏµÈ˶Է½ÐÞ¸ÄÐÅÏ¢ - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetCntOtherModifyInfo(string userId, out SICECntOtherModInfo cntOtherModInfo); - - ["amd" ] int GetUserCRInfo(string uid, out int crState, out int begTime, out int activeDegree); - ["amd" ] int SetUserCRInfo(string uid, int crState, out int begTime); - //kongyw add for netphone 2006/01/24 - /**************************************************************** - º¯ÊýÃû³Æ£º GetNetPhoneAccount - ¼òÒªÃèÊö£º»ñÈ¡ÍøÂçµç»°ÕÊ»§ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -servicetype: ÍøÂçµç»°·þÎñÀàÐÍ -account: ´«³öÕÊ»§ -password: ´«³öÃÜÂë -Êä³ö£º IM NOUSER -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetNetPhoneAccount(string userId, int servicetype, out string account, out string password); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetNetPhoneMailing - ¼òÒªÃèÊö£º»ñÈ¡ÍøÂçµç»°Õʵ¥¼ÄËÍ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -flag: ´«³öÊÇ·ñÐèÒª¼ÄËÍ(0²»ÐèÒª1ÐèÒª) -address: ´«³ö¼ÄË͵ØÖ· -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetNetPhoneMailing(string userId, int type, out int flag, out string address, out int len); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetNetPhoneOpenPresent - ¼òÒªÃèÊö£º»ñÈ¡ÍøÂçµç»°¿ª¿¨ÔùËͽð¶î - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -memberlevel: Óû§µÈ¼¶ -money: ´«³öÔùËͽð¶î -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetNetPhoneOpenPresent(string userId, int memberlevel, out int money); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetNetPhoneDiscount - ¼òÒªÃèÊö£º»ñÈ¡ÍøÂçµç»°³äÖµÕÛ¿Û - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -discount: ´«³öÕÛ¿Û -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetNetPhoneDiscount(string userId, out float discount); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetNeedChargeRecord - ¼òÒªÃèÊö£º»ñÈ¡ÐèÒªÍê³ÉµÄÍøÂçµç»°³äÖµÇëÇó - ÊäÈ룺 inmins: ÔÚ¶àÉÙ·ÖÖÓÄÚ -seqid: ´«³ö³äÖµÁ÷Ë®ºÅ -account: ´«³öÕʺŠ-denomination: ´«³öÃæ¶î -chargecardid : ´«³ö³äÖµ¿¨ºÅ -chargecardpasswd: ´«³ö³äÖµ¿¨ÃÜÂë -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetNeedChargeRecord(int inmins, int type, out string seqid, out string account, out int denomination, out string chargecardid, out string chargecardpasswd, out string uid, out int trytime); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetChargeRecordInfo - ¼òÒªÃèÊö£º»ñÈ¡ÐèÒªÍê³ÉµÄÍøÂçµç»°³äÖµÇëÇó - ÊäÈ룺 seqid: ´«Èë³äÖµÁ÷Ë®ºÅ -account: ´«³öÕʺŠ-denomination: ´«³öÃæ¶î -chargecardid : ´«³ö³äÖµ¿¨ºÅ -chargecardpasswd: ´«³ö³äÖµ¿¨ÃÜÂë -status: ´«³ö³äֵ״̬ -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetChargeRecordInfo(string seqid, out string account, out int denomination, out string chargecardid, out string chargecardpasswd, out string uid, out int status); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetPayRecordInfo - ¼òÒªÃèÊö£º»ñÈ¡ÐèÒªÍê³ÉµÄÍøÂçµç»°³äÖµÇëÇó - ÊäÈ룺 seqid: ´«Èë³äÖµÁ÷Ë®ºÅ -money: ´«³ö³äÖµ¿¨ÃÜÂë -status: ´«³ö³äֵ״̬ -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetPayRecordInfo(string seqid, out int money, out int status); - - /**************************************************************** - º¯ÊýÃû³Æ£º GetChargeRecords - ¼òÒªÃèÊö£º»ñÈ¡ÐèÒªÍê³ÉµÄÍøÂçµç»°³äÖµÇëÇó - ÊäÈ룺 uid: Óû§ID -beginTime: ¿ªÊ¼Ê±¼ä -endTime: ½áÊøʱ¼ä -chargeRecordList : ´«³ö³äÖµ¼Ç¼ -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetChargeRecords(string uid, string beginTime, string endTime, out SICENetPhoneChargeInfoSeq chargeRecordList); - - /**************************************************************** - º¯ÊýÃû³Æ£º AddPayRecord - ¼òÒªÃèÊö£º»ñÈ¡Ìí¼ÓÒ»ÌõÖ§¸¶¼Ç¼ - ÊäÈ룺 money£ºÖ§¸¶½ð¶î -seqid: ´«³öÖ§¸¶Á÷Ë®ºÅ -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int AddPayRecord(int money, out string seqid); - - /**************************************************************** - º¯ÊýÃû³Æ£º AddNetPhoneAccount - ¼òÒªÃèÊö£ºÔö¼ÓÒ»¸öÍøÂçµç»°ÕÊ»§ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -type : ÍøÂçµç»°ÀàÐÍ -account: ´«³öÕÊ»§ -password:´«³öÃÜÂë -Êä³ö£º - -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int AddNetPhoneAccount(string userId, int type, out string account, out string password); - - /**************************************************************** - º¯ÊýÃû³Æ£º AddNetPhoneChargeRecord - ¼òÒªÃèÊö£ºÔö¼ÓÒ»¸öÍøÂçµç»°³äÖµÇëÇó - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -account: ÕÊ»§ -type : ³äÖµÀàÐÍ -denomination: ÃæÖµ -money: Õæʵ½ð¶î -payid: Ö§¸¶Á÷Ë®ºÅ -chargeid: ´«³ö³äÖµÁ÷Ë®ºÅ -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int AddNetPhoneChargeRecord(string userId, string account, int type, int denomination, int money, string payid, out string chargeid); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdatePayRecordStatus - ¼òÒªÃèÊö£ºÐÞ¸ÄÖ§¸¶¼Ç¼״̬ - ÊäÈ룺 seqid£ºÖ§¸¶Á÷Ë®ºÅ -status : Ö§¸¶×´Ì¬ -desc: ´íÎóÃèÊö -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int UpdatePayRecordStatus(string seqid, int status, out string desc); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateChargeRecordStatus - ¼òÒªÃèÊö£ºÐ޸ijäÖµ¼Ç¼״̬ - ÊäÈ룺 seqid£º³äÖµÁ÷Ë®ºÅ -status : ³äֵ״̬ -desc: ´íÎóÃèÊö -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int UpdateChargeRecordStatus(string seqid, int status, string desc); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateNetPhoneMailing - ¼òÒªÃèÊö£ºÐÞ¸ÄÍøÂçµç»°Õʵ¥¼ÄËÍÅäÖà - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -flag : ÊÇ·ñ¼ÄËÍ -address: ¼ÄË͵ØÖ· -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int UpdateNetPhoneMailing(string userId, int type, int flag, string address, int addrLen); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateNetPhoneLastUseTime - ¼òÒªÃèÊö£ºÐÞ¸ÄÍøÂçµç»°Õʵ¥¼ÄËÍÅäÖà - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int UpdateNetPhoneLastUseTime(string userIds, int type); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateChargeCardInfo - ¼òÒªÃèÊö£ºÐÞ¸ÄÍøÂçµç»°³äÖµ¿¨ÐÅÏ¢ - ÊäÈ룺 cardno£º¿¨ºÅ -status: ʹÓÃ״̬ -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int UpdateChargeCardInfo(string cardno, int status); - - /**************************************************************** - º¯ÊýÃû³Æ£º UpdateAccountCardInfo - ¼òÒªÃèÊö£ºÐÞ¸ÄÍøÂçµç»°Éí·Ý¿¨ÐÅÏ¢ - ÊäÈ룺 account£ºÕʺŠ-status : ʹÓÃ״̬ -flushdisabletime: Ë¢ÐÂʵЧÈÕÆÚ±êÖ¾ -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int UpdateAccountCardInfo(string account, int status, int flushdisabletime); - - /**************************************************************** - º¯ÊýÃû³Æ£º RemoveNetPhoneAccount - ¼òÒªÃèÊö£ºÉ¾³ýóÒ×ͨÍøÂçµç»°ÕË»§ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£¬³¤ID£» -type: ·þÎñÀàÐÍ -Êä³ö£º -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int RemoveNetPhoneAccount(string userId, int type); - - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetSmsUserInfoByUid - ¼òÒªÃèÊö£ºÍ¨¹ýÓû§IDÈ¡¶ÌÐÅÓû§ÐÅÏ¢ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£» - smsUserInfo£º´«³ö¶ÌÐÅÓû§±íIMSMSUSERÐÅÏ¢ - Êä³ö£º Óû§²»´æÔÚIMNOUSER - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetSmsUserInfoByUid(string userId, out SICESmsUserInfo smsUserInfo); - - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetSmsUserMsgInfo - ¼òÒªÃèÊö£º¼ì²é¶ÌÐÅÄÜ·ñÏ·¢ - ÊäÈ룺 userId£ºÃ³Ò×ͨID£» -todaySmsCount: ½ñÌìÒѾ­·¢Ë͵ĶÌÐÅÊýÁ¿ -yesterdaySmsCount£º×òÌì·¢Ë͵ĶÌÐÅÊýÁ¿ -Êä³ö£º Óû§²»´æÔÚIMNOUSER -ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetSmsUserMsgInfo(string userId, out int todaySmsCount, out int yesterdaySmsCount); - - //kongyw add end . for contactList - - ["amd" ] int DelOfflineMsg(string uid,string date); - ["amd" ] int DelOfflineMsgEx(string uid,int date); - - // taobao wap ÍúÍú µÄ¹ýÀ´µÄ ɾ³ýÀëÏßÏûÏ¢ÇëÇó - ["amd" ] int DelWapOfflineMsg(string uid, string date); - - ["amd" ] int ModifyCntMemo(string uid, string cntid, string memo);//¸øÍúÍúÓà - ["amd" ] int GetCntMemo(string uid, string cntid,out string memo);//¸øÍúÍúÓà - - /**************************************************************** - º¯ÊýÃû³Æ£ºDB_GetUserTribe - ¼òÒªÃèÊö£ºÈ¡Óû§¹éÊôȺÁбí - ÊäÈ룺 userId Óû§ºÅ - Êä³ö£º tribeIdList ȺIDÁÐ±í£¨º¬ÈºID¡¢ÈºÃû³ÆÁ½¸ö×ֶΣ© - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetUserTribe (string userId, out ALiIMDBTribe::STribeIdDbSeq tribeIdList); - - /**************************************************************** - º¯ÊýÃû³Æ£ºDB_GetTribeMember - ¼òÒªÃèÊö£ºÈ¡Èº³ÉÔ±ÐÅÏ¢ - ÊäÈ룺 tribeId ȺºÅ - memberId Ⱥ³ÉÔ±ID - level ³ÉÔ±¼¶±ð - Êä³ö£º tribeMember Ⱥ³ÉÔ±ÐÅÏ¢ - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - //int GetTribeMember (int tribeId, string memberId, int level, out ALiIMDBTribe::STribeMemberSeq tribeMemberList); - - /**************************************************************** - º¯ÊýÃû³Æ£ºDB_GetUserTribeConfig - ¼òÒªÃèÊö£ºÈ¡Óû§ÈºÅäÖÃÐÅÏ¢ - ÊäÈ룺 userId Óû§ºÅ - Êä³ö£º addVerify ¼ÓÈëȺУÑé±êÖ¾ - 0x00 ²»ÐèÒªÑéÖ¤ - 0x01 ÐèÒªÑéÖ¤ - 0x02 ¾Ü¾ø - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetUserTribeConfig(string userId, out int addVerify); - - /**************************************************************** - º¯ÊýÃû³Æ£ºDB_UpdateUserTribeConfig - ¼òÒªÃèÊö£º¸üÐÂÓû§ÈºÅäÖÃÐÅÏ¢ - ÊäÈ룺 userId Óû§ºÅ - addVerify ¼ÓÈëȺУÑé±êÖ¾ - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int UpdateUserTribeConfig(string userId, int addVerify); - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetTribeOffMngMsg - ¼òÒªÃèÊö£ºÈ¡¹ÜÀíÔ±ÀëÏßÏûÏ¢ - ÊäÈ룺 tribeId ȺºÅ - memberId Ⱥ³ÉÔ±ID - Êä³ö£º offlineMsg ÀëÏßÏûÏ¢Áбí - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetTribeOffMngMsg (int tribeId, string memberId, out ALiIMDBTribe::STribeOfflineMsgSeq offlineMsgList); - - /**************************************************************** - º¯ÊýÃû³Æ£ºDelTribeOffMngMsg - ¼òÒªÃèÊö£ºÉ¾³ýÀëÏßÏûÏ¢ - ÊäÈ룺 tribeId ÉÌȺºÅ - memberId Ⱥ³ÉÔ±ID - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int DelTribeOffMngMsg (int tribeId, string memberId); - - ["amd" ] int ModifyPersonalShow(string uid, string newshow); - ["amd" ] int GetPersonalShow(string uid, out string show); - - ["amd" ] int GetAllOnlineSmsUser(out Ice::StringSeq userList); - - //extend to get degree - ["amd" ] int GetUserKeyWordDegree(string userId, out string keyword,out int flag,out float degree); - - //extend to get uservalue - ["amd" ] int GetUserValue(string userId, out int uservalue); - - ["amd" ] int UpdateUserMd5Password(string userId, string password); - - ["amd" ] int InsertYahooUser(SUdbUserInfo userInfo, int activeDegree, SICEGenContactFullSeq contactList); - - ["amd" ] int GetContactDetailByUid(string uid, string cid, out SICEGenContactFull detail); - - //kongyw add for onlineservice. 20070607 - /**************************************************************** - º¯ÊýÃû³Æ£ºGetChildTeamList - ¼òÒªÃèÊö£ºÈ¡ÍŶÓ×ÓÕʺÅÁбí - ÊäÈ룺 parentId Ö÷Õ˺ÅID - Êä³ö£º childTeamList ×ÓÕʺÅÁбí - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetChildTeamList (string parentId, out AliIMDBBase::SChildUserInfoSeq childTeamList); - - ["amd" ] int GetChildTeamList2 (string parentId, out AliIMDBBase::SChildUserInfoSeq2 childTeamList); - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetChildUserInfo - ¼òÒªÃèÊö£ºÈ¡×ÓÕʺÅÐÅÏ¢ - ÊäÈ룺 childId ×ÓÕ˺ÅID - Êä³ö£º childInfo ×ÓÕʺÅÐÅÏ¢ - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetChildUserInfo (string childId, out AliIMDBBase::SChildUserInfo childInfo); - - ["amd" ] int GetChildUserInfo2 (string childId, out AliIMDBBase::SChildUserInfo2 childInfo); - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetShareContactList - ¼òÒªÃèÊö£ºÈ¡Ö÷Õ˺ÅÐèÒª·ÖÁ÷µÄÁªÏµÈËÁбí - ÊäÈ룺 uid Ö÷Õ˺ÅID - Êä³ö£º shareContactIdList Òª·ÖÁ÷µÄÁªÏµÈËÁбí - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetShareContactList (string uid, out Ice::StringSeq shareContactIdList); - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetContactShareInfo - ¼òÒªÃèÊö£ºÈ¡Ö÷Õ˺ÅÐèÒª·ÖÁ÷µÄÁªÏµÈËÁбí - ÊäÈ룺 uid Ö÷Õ˺ÅID - contactId ÁªÏµÈËID - type ²éѯÀàÐÍ (1: ÊÇ·ñ·ÖÁ÷) - Êä³ö£º value ½á¹û(0 ±íʾ²»·ÖÁ÷1±íʾ·ÖÁ÷) - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetContactShareInfo (string uid, string contactId, int type, out int value); - - /**************************************************************** - º¯ÊýÃû³Æ£ºSetContactShareInfo - ¼òÒªÃèÊö£ºÈ¡Ö÷Õ˺ÅÐèÒª·ÖÁ÷µÄÁªÏµÈËÁбí - ÊäÈ룺 uid Ö÷Õ˺ÅID - contactId ÁªÏµÈËID - type ²éѯÀàÐÍ (1: ÊÇ·ñ·ÖÁ÷) - value ½á¹û(0 ±íʾ²»·ÖÁ÷1±íʾ·ÖÁ÷) - Êä³ö£º - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int SetContactShareInfo (string uid, string contactId, int type, int value); - - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetMultiAccountContactList - ¼òÒªÃèÊö£ºÈ¡¶àÕ˺ÅÓû§ÁªÏµÈËÁбí - ÊäÈ룺 uid Ö÷Õ˺ÅID - Êä³ö£º contactIdList Óû§ÁªÏµÈËÁбí - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetMultiAccountContactList (string uid, out SICEContactInfoSeq contactIdList); - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetMultiServiceList - ¼òÒªÃèÊö£ºÈ¡¶àÕ˺ÅÓû§¹¦ÄÜÁбí - ÊäÈ룺 uid Ö÷Õ˺ÅID - Êä³ö£º ServiceList Óû§ÁªÏµÈËÁбí - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetMultiServiceList (string uid, out Ice::IntSeq ServiceList); - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetMultiBindToUser - ¼òÒªÃèÊö£ºÈ¡Óû§°ó¶¨µ½µÄÕʺÅÁбí - ÊäÈ룺 uid Ö÷Õ˺ÅID - Êä³ö£º bindToUserÓû§ÁªÏµÈËÁбí - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int GetMultiBindToUser(string uid, out string bindToUser); - //kongyw add for onlineservice. 20070607 - - ["amd" ] int GetWebBinds(string uid, out SICEKvPairSeq binds); - ["amd" ] int AddWebBind(string uid, SICEKvPair bind, out string webmd5pw); - ["amd" ] int ChangeWebBind(string uid, SICEKvPair newbind, out string webmd5pw); - ["amd" ] int DelWebBind(string uid, string binduid); - - ["amd" ] int getUserSession(string uid,out AliIM::SIceSession retsession); - ["amd" ] int checkUserSession(string uid,string sessionNo); - ["amd" ] int removeSession(string uid); - ["amd" ] int UpdateSignature(string uid, string signature); - - ["amd" ] int updateContactClientInfo(string uid, string cid, string data, out int contactTimes); - - ["amd" ] int getUserProfile(string uid,out SICEKVMap profilemap); - ["amd" ] int getPeerVerifyFlag(string uid, string cid, out int flag); - ["amd" ] int getPeerVerifyFlagQuestion(string uid, string cid, out int flag, out string question, out string answer); - ["amd" ] int getNickName( string uid, out string nickname); - - ["amd" ] int getFTServiceInfo(string senduid,string touid,out string srvIp, out short srvPort); - ["amd" ] int getTietuServiceInfo(string senduid,out int sessionSum,out string srvIp, out short srvPort); - ["amd" ] int getFTSAddr(short type, string senduid,out long ftsid,out string srvIp, out short srvPort); - - ["amd" ] int registerWanghao(string longuid,AliIMInterface::KVMAP attrs); - ["amd" ] int updateUserProfile(string longuid,AliIMInterface::KVMAP newattrs); - ["amd" ] int loadSitePrefix(out SImPrefixSeq pv); - ["amd" ] int updateAepUserId(string longuid,string aepuserid); - ["amd" ] int updateVipflag(string uid, int flag); - ["amd" ] int checkWangHaoPwd(string longuid,bool btokenpw,string pw,out string retluid,out string retPwToken,out string retmd5passwd,out int activeState); - ["amd" ] int checkCanLogin(string uid, int version, string extrainfo); - ["amd" ] int GetSIPSessionId(string uid, string appid, string type, out string sessionId); - ["amd" ] int CheckGsContact(string uid, string contactid, out int flag); - - ["amd" ] int UpdateSmsAuthCode(string uid, string phoneNo, string code); - ["amd" ] int CheckSmsAuthCode(string uid, string phoneNo, string code); - ["amd" ] int UpdateUserValueBySmsAuth(string uid); - ["amd" ] int CheckSmsAuthStatus(string uid, out int status); - - ["amd" ] int CheckUserTokenExtra(string userId, string passwd,out string lid, out string retuidtokenpw,out string retmd5passwd ,out int activeStat, out int webdata); - ["amd" ] int CheckUserWebPasswdExtra(string userId, string passwd,out string lid, out string retuidtokenpw,out string retmd5passwd,out int activeStat, out int webdata); - - // e-service Ïà¹Ø - /* - * º¯Êý˵Ã÷:»ñÈ¡Ö÷Õ˺ÅÊÇ·ñ²ÎÓë·ÖÁ÷ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * Êä³ö: shunt : ·ÖÁ÷±êÖ¾ 1£º²ÎÓë·ÖÁ÷ 0£º²»²ÎÓë·ÖÁ÷ - * - * ·µ»ØÖµ: -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getESShuntStatus(string uid, out string shunt); - - /* - * º¯Êý˵Ã÷:ÉèÖÃÖ÷Õ˺ÅÊÇ·ñ²ÎÓë·ÖÁ÷ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * shunt : ·ÖÁ÷±êÖ¾ 1£º²ÎÓë·ÖÁ÷ 0£º²»²ÎÓë·ÖÁ÷ - * - * ·µ»ØÖµ: int 0 -> ÉèÖóɹ¦ - * -1 -> ÉèÖÃʧ°Ü - * -2 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int setESShuntStatus(string uid, string shunt); - - /* - * º¯Êý˵Ã÷:»ñȡijһÖ÷Õ˺ÅÏ¿ͷþµÄ×î¸ß½Ó´ýÈËÊýÁбí - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * Êä³ö£ºlist : ·µ»ØµÄÖ÷Õ˺ÅÏ¿ͷþÁÐ±í£¨°üº¬¿Í·þµÄ×î¸ß½Ó´ýÈËÊý£© - * - * ·µ»ØÖµ: int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getMaxESReceptNum(string uid,int groupId, out SICEReceptNumSeq eserviceList); - - /* - * º¯Êý˵Ã÷:ÉèÖÿͷþµÄ×î¸ß½Ó´ýÈËÊý - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * list : Ö÷Õ˺ÅÏ¿ͷþÁÐ±í£¨°üº¬¿Í·þµÄ×î¸ß½Ó´ýÈËÊý£© - * - * ·µ»ØÖµ: int 0 -> ÉèÖóɹ¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int setMaxESReceptNum(string uid, int groupId, SICEReceptNumSeq eserviceList); - - /* - * º¯Êý˵Ã÷:»ñȡijһÖ÷Õ˺ÅÏ¿ͷþµÄ×î¸ß½Ó´ýÈËÊýÁбí - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * Êä³ö£ºlist : ·µ»ØÖ÷Õ˺ÅÏ¿ͷþÓÅÏÈ˳ÐòÁбí - * - * ·µ»ØÖµ: int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getESPriority(string uid, int groupId, out SICEReceptPrioritySeq eserviceList); - - /* - * º¯Êý˵Ã÷:ÉèÖÃijһÕ˺ÅÏ¿ͷþµÄÓÅÏȽӴý˳Ðò - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * list : ¿Í·þÓÅÏÈ˳ÐòÁбí - * - * ·µ»ØÖµ: int 0 -> ÉèÖóɹ¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int setESPriority(string uid, int groupId, SICEReceptPrioritySeq eserviceList); - - ["amd" ] int getESRecvOffMsg(string uid, int groupId,out SICERecvOffMsgSeq eserviceList); - ["amd" ] int setESRecvOffMsg(string uid, int groupId, SICERecvOffMsgSeq eserviceList); - - /* - * º¯Êý˵Ã÷:»ñÈ¡·Ö×éÁбí - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * Êä³ö£ºlist : ·µ»ØÖ÷Õ˺ÅÏ·Ö×éÁбí - * - * ·µ»ØÖµ: int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getESGroupList(string uid, out Ice::IntSeq groupList); - - /* - * º¯Êý˵Ã÷:ÐÂÔö·Ö×é - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * group : ·Ö×é¶ÔÏó - * - * ·µ»ØÖµ: int 0 -> ±à¼­³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int insertESGroupInfo(string uid, SICEESGroupInfo groupInfo, out int groupId); - - /* - * º¯Êý˵Ã÷:Ð޸ķÖ×é - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * group : ·Ö×é¶ÔÏó - * - * ·µ»ØÖµ: int 0 -> ±à¼­³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * -2 -> ·Ö×é²»´æÔÚ - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int updateESGroupInfo(string uid, SICEESGroupInfo group); - - /* - * º¯Êý˵Ã÷:ɾ³ý·Ö×é - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * group_id : ·Ö×éid - * - * ·µ»ØÖµ: int 0 -> ɾ³ý³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * -2 -> ·Ö×é²»´æÔÚ - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int delESGroup(string uid, int groupid); - - /* - * º¯Êý˵Ã÷:»ñÈ¡·Ö×éÖеÄÐÅÏ¢ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * group_id : ·Ö×éid - * Êä³ö£ºgroup : ·Ö×éµÄÏêϸÐÅÏ¢ - * - * ·µ»ØÖµ: int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * -2 -> ¸Ã·Ö×é²»´æÔÚ - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getESGroupInfo(string uid, out SICEESGroupInfoSeq groupList); - ["amd" ] int getESGroupInfoByID(string uid,int groupId, out SICEESGroupInfo groupInfo); - - /* - * º¯Êý˵Ã÷:»ñÈ¡Ö÷Õ˺ÅÊÇ·ñ²ÎÓë·ÖÁ÷£¬¼°·Ö×éÐÅÏ¢ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * Êä³ö£ºgroupId : ·Ö×éID - * userflag : flag µÚһλ±íʾÊÇ·ñ·ÖÁ÷ - * - * ·µ»ØÖµ: int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getESUserFunc(string uid, string childid, out string userflag, out int groupId); - - /* - * º¯Êý˵Ã÷:»ñȡδ²ÎÓë·Ö×éµÄ¿Í·þÁбí - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * - * Êä³ö£ºlist : δ²ÎÓë·Ö×éµÄ¿Í·þÁбí - * - * ·µ»ØÖµ: int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getESUnJoinGroup(string uid, out Ice::StringSeq eserviceList); - - /* - * º¯Êý˵Ã÷:»ñÈ¡¿Í·þ½Ó´ýÇé¿öÁбí - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * Êä³ö£ºlist : »ñÈ¡¿Í·þ½Ó´ýÇé¿öÁбí - * - * ·µ»ØÖµ: int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - //int getESReceptList(string uid, out Ice::StringSeq eserviceList); - - /* - * º¯Êý˵Ã÷:ÅжϿͷþÊÇ·ñÊǹÜÀíÔ± - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * group_id : ·Ö×éid - * - * ·µ»ØÖµ: int 1 -> ÊǹÜÀíÔ± - * 0 -> ²»ÊǹÜÀíÔ± - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * -2 -> ¸Ã·Ö×é²»´æÔÚ - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int checkESRole(string uid, out int groupId); - - - ["amd" ] int CheckWebWWPasswd(string userId, string passwd,out string lid, out string retuidtokenpw,out string retmd5passwd,out int activeStat); - - /* - * º¯Êý˵Ã÷ : »ñÈ¡¿Í»§¶ËÀ©Õ¹ÐÅÏ¢ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * Êä³ö: areaInfos : À©Õ¹ÇøÐÅÏ¢ - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getESExpandArea(string uid, out AliIMDBBase::SICEExpandAreaSeq areaInfos); - - /* - * º¯Êý˵Ã÷ : »ñÈ¡¿Í»§¶ËÀ©Õ¹ÇøÓòÐÅÏ¢ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * ÊäÈë: id : À©Õ¹ÇøÓòID - * Êä³ö: areaInfos : À©Õ¹ÇøÐÅÏ¢ - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd"] int getESExpandAreaById(string uid, int id, out SICEExpandArea areaInfos); - - /* - * º¯Êý˵Ã÷ : ÐÂÔö¿Í»§¶ËÀ©Õ¹ÐÅÏ¢ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * areaInfos : À©Õ¹ÇøÐÅÏ¢ - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd"] int addESExpandArea(string uid, SICEExpandArea areaInfo); - - /* - * º¯Êý˵Ã÷ : Ð޸Ŀͻ§¶ËÀ©Õ¹ÐÅÏ¢ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * areaInfos : À©Õ¹ÇøÐÅÏ¢ - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd"] int updateESExpandArea(string uid, SICEExpandArea areaInfo); - - /* - * º¯Êý˵Ã÷ : ÉèÖÿͻ§¶ËÀ©Õ¹ÐÅÏ¢ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * expandArea_id : À©Õ¹Çøid - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd"] int delESExpandArea(string uid, int id); - - /* - * º¯Êý˵Ã÷ : Ô¤ÉèÖÃÆÀ¼ÛÄÚÈÝ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * esEvalInfos: E¿Í·þÆÀ¼ÛÄÚÈÝ - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int setESEval(string uid, string evalcontent, string welcome); - - /* - * º¯Êý˵Ã÷ : È¡ÆÀ¼ÛÄÚÈÝ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * esEvalInfos: E¿Í·þÆÀ¼ÛÄÚÈÝ - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getESEval(string uid, out string evalcontent, out string welcome); - - - /* - * º¯Êý˵Ã÷ : ·¢ËÍÆÀ¼Û - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * buyerid : Âò¼Òid - * - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int sendESEvalResult(string uid, string buyerid, out int evalId); - - - /* - * º¯Êý˵Ã÷ : ÉèÖÃÆÀ¼Û½á¹û - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * buyerid : Âò¼Òid - * - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int setESEvalResult(string uid, string buyerid, int evalId, string evalresult); - - /* - * º¯Êý˵Ã÷ : È¡ÆÀ¼Û½á¹û - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * buyerid : Âò¼Òid - * - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getESEvalResult(string uid, string buyerid, int evalId, out string evalresult, out string gmtcreate, out string gmtmodify); - - /* - * º¯Êý˵Ã÷ : È¡½ñÈÕÆÀ¼Û½á¹û - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * buyerid : Âò¼Òid - * - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getESEvalResultToday(string uid, out SICEESEvalResultSeq evalInfos); - - /* - * º¯Êý˵Ã÷ : È¡ÀúÊ·ÆÀ¼Û½á¹û - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * buyerid : Âò¼Òid - * - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getESEvalResultHistory(string uid, string querytime, out SICEESEvalResultSeq evalInfos); - - /* - * º¯Êý˵Ã÷ : È¡ÀúÊ·ÆÀ¼Û½á¹û·ÖÒ³ÏÔʾ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * buyerid : Âò¼Òid - * - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ]int getESEvalResultHistorybypage(string uid, string childid, string begindate, string enddate, int pageno, int pagesize, out int pagecount, out SICEESEvalResultExSeq evalInfos); - - /* - * º¯Êý˵Ã÷ : È¡×î½üµÇ¼ʱ¼ä - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * buyerid : Âò¼ÒID - * - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getLastLoginTime(Ice::StringSeq loginids, out Ice::StringSeq loginTimes); - - /* - * º¯Êý˵Ã÷ : ¶ÁÈ¡×ÓÕ˺ÅÊÇ·ñ²ÎÓë×Ü·ÖÁ÷ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int getChildShuntInfos(string uid, out SChildUserInfoSeq childInfos); - - /* - * º¯Êý˵Ã÷ : ÉèÖÃ×ÓÕ˺ÅÊÇ·ñ²ÎÓë×Ü·ÖÁ÷ - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * - * - * ·µ»ØÖµ : int 0 -> »ñÈ¡³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * ÆäËû -> δ֪´íÎó - */ - ["amd" ] int setChildShuntInfos(string uid, SChildUserInfoSeq childinfos); - - /* - * º¯Êý˵Ã÷:»ñÈ¡´úÀíÖ÷Õ˺ŵÄ×ÓÕ˺ÅID - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * - * ·µ»ØÖµ: int 0 -> ³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * -2 -> ¸ÃÓû§²»´æÔÚ ?±ØÐëÏȵǼ¿Í»§¶Ë) - * ÆäËû -> δ֪´íÎó - */ - ["amd" ]int getAgentChild(string uid, out string agentId); - - /* - * º¯Êý˵Ã÷:ÉèÖôúÀíÖ÷Õ˺ŵÄ×ÓÕ˺ÅID - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * - * ·µ»ØÖµ: int 0 -> ³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * -2 -> ¸ÃÓû§²»´æÔÚ ?±ØÐëÏȵǼ¿Í»§¶Ë) - * ÆäËû -> δ֪´íÎó - */ - ["amd" ]int setAgentChild(string uid, string agentId); - - /* - * º¯Êý˵Ã÷:»ñÈ¡´úÀí×ÓÕ˺ÅÁбí - * - * ÊäÈë: uid : Ö÷Õ˺ÅID - * - * ·µ»ØÖµ: int 0 -> ³É¹¦ - * -1 -> Êý¾Ý¿â²Ù×÷ʧ°Ü - * -2 -> ¸ÃÓû§²»´æÔÚ ?±ØÐëÏȵǼ¿Í»§¶Ë) - * ÆäËû -> δ֪´íÎó - */ - ["amd" ]int getAgentList(string uid, out Ice::StringSeq agentIds); - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetB2BChildTeamList - ¼òÒªÃèÊö£ºB2BÈ¡ÍŶÓ×ÓÕʺÅÁбí - ÊäÈ룺 parentId Ö÷Õ˺ÅID - Êä³ö£º childTeamList ×ÓÕʺÅÁбí - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int getB2BChildTeamList(string parentId, out AliIMDBBase::SB2BChildUserInfoSeq childTeamList); - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetB2BChildTeamList - ¼òÒªÃèÊö£ºB2BÈ¡ÍŶÓ×ÓÕʺÅÁбí - ÊäÈ룺 parentId Ö÷Õ˺ÅID - Êä³ö£º childTeamList ×ÓÕʺÅÁбí - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int getB2BChildInfo(string parentId, string childid, out AliIMDBBase::SB2BChildUserInfo childInfo); - - /**************************************************************** - º¯ÊýÃû³Æ£ºGetB2BChildParentId - ¼òÒªÃèÊö£ºB2B»ñÈ¡×ÓÕ˺ŵĸ¸Õ˺Åid - ÊäÈ룺 childid ×ÓÕ˺Åid - Êä³ö£º fid ¸¸Õ˺Åid - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int getB2BChildParentId(string childId, out string fid); - - /**************************************************************** - º¯ÊýÃû³Æ£ºAddB2BChild - ¼òÒªÃèÊö£ºB2BÌí¼ÓB2B×ÓÕ˺Š- ÊäÈ룺 fid Ö÷Õ˺ÅID - childid ×ÓÕ˺ÅID - userflag - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int addB2BChild(string fid, string childId, string userflag); - - /**************************************************************** - º¯ÊýÃû³Æ£ºUpdateB2BChild - ¼òÒªÃèÊö£ºB2B¸üÐÂB2B×ÓÕ˺Š- ÊäÈ룺 fid Ö÷Õ˺ÅID - childid ×ÓÕ˺ÅID - userflag - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int updateB2BChild(string fid, string childId, string userflag); - - /**************************************************************** - º¯ÊýÃû³Æ£ºDeleteB2BChild - ¼òÒªÃèÊö£ºB2B¸üÐÂB2B×ÓÕ˺Š- ÊäÈ룺 fid Ö÷Õ˺ÅID - childid ×ÓÕ˺ÅID - userflag - ÐÞ¸ÄÈÕÖ¾£º - *****************************************************************/ - ["amd" ] int deleteB2BChild(string fid, string childId); - }; -}; - -#endif diff --git a/features/aliww/slice/dbtbsstructs60.ice b/features/aliww/slice/dbtbsstructs60.ice deleted file mode 100644 index 223b720..0000000 --- a/features/aliww/slice/dbtbsstructs60.ice +++ /dev/null @@ -1,260 +0,0 @@ -#ifndef __TBS_STRUCTS_60_H -#define __TBS_STRUCTS_60_H - -#include - -/* - *@auth: yuxh - *@date: 2008-03-13 - */ -module ALiIMDBTribe -{ -struct STribeInfo -{ - long tribeId; - string name; - string masterId; - string createrId; - int tribeclass; - string describe; - string bulletin; - short checkMode; - string password; - string validateCode; - int lastMsgid; - int memberTimes; - int onlineTimes; - double onlineDegree; - int discussDegree; - double rewardDegree; - int masterOffer; - double totalDegree; - string keyword; - short allowVisitor; - short forbidSearch; - string extSign; - int groupStamp; - int blackStamp; -}; - -struct STribeOfflineMsg -{ - long tribeId; - string memberId; - short type; - string message; - int sendTime; -}; - -struct STribeMemberInfo -{ - string userId; - string name; - short memberLevel; - short tribeLevel; - short mobileBindFlag; - string mobileNo; - string bindMobile; - int lastMsgid; - double onlineDegree; - int discussDegree; - double rewardDegree; - double totalDegree; - long groupId; - short starMember; - short openFlag; -}; - -/// add for popup flag -struct STribeMemberInfo2 -{ - string userId; - string name; - short memberLevel; - short tribeLevel; - short mobileBindFlag; - string mobileNo; - string bindMobile; - int lastMsgid; - double onlineDegree; - int discussDegree; - double rewardDegree; - double totalDegree; - long groupId; - short starMember; - short openFlag; - int popupFlag; -}; - - -struct STribeMember -{ - long tribeId; - string memberId; - int level; - int lastMsgid; - string operId; - long groupId; -}; - - -struct STribeId -{ - long tribeId; - string name; - short tribeLevel; - short tribeStatus; - string extSign; - int groupStamp; - short openTribe; -}; - -struct STribeId2 -{ - long tribeId; - string name; - short tribeLevel; - short tribeStatus; - string extSign; - int groupStamp; - short openTribe; - short popupFlag; -}; - -struct STribeIdDb -{ - long tribeId; - string name; - short tribeLevel; - short tribeStatus; -}; - -struct STribeGroup -{ - long tribeId; - long groupId; - string groupName; - long parentId; -}; - -sequence STribeMemberInfoSeq; -/// add for popup flag -sequence STribeMemberInfoSeq2; -sequence STribeOfflineMsgSeq; -sequence STribeMemberSeq; -sequence STribeIdSeq; -sequence STribeIdSeq2; -sequence STribeIdDbSeq; -sequence STribeGroupSeq; - -struct STribeCard -{ - long tribeId; - string memberId; - string realName; - string phoneNum; - string mobileNum; - string email; - string address; - string memo; -}; - -struct STribeInfo2 -{ - long tribeId; - string name; - string masterId; - string createrId; - int tribeclass; - string describe; - string bulletin; - short checkMode; - string password; - string validateCode; - int lastMsgid; - int memberTimes; - int onlineTimes; - double onlineDegree; - int discussDegree; - double rewardDegree; - int masterOffer; - double totalDegree; - string keyword; - short allowVisitor; - short forbidSearch; - string extSign; - int groupStamp; - int blackStamp; - string webTid; - long groupId; -}; - -struct STribeMember2 -{ - long tribeId; - string memberId; - string name; - int level; - int lastMsgid; - string operId; - long groupId; -}; -sequence STribeMember2Seq; - -struct STribeInfo3 -{ - long tribeId; - string name; - string masterId; - string createrId; - int tribeclass; - string describe; - string bulletin; - short checkMode; - string password; - string validateCode; - int lastMsgid; - int memberTimes; - int onlineTimes; - double onlineDegree; - int discussDegree; - double rewardDegree; - int masterOffer; - double totalDegree; - string keyword; - short allowVisitor; - short forbidSearch; - string extSign; - int groupStamp; - int blackStamp; - string webTid; - long groupId; - int tribeLimit; -}; - -struct SWebTribeGroup -{ - long groupId; - string groupName; - string serviceId; - string siteId; - string webId; -}; -sequence SWebTribeGroupSeq; - -struct SWebTribeId -{ - long tribeId; - string name; - short tribeLevel; - short tribeStatus; - string extSign; - int groupStamp; - short openTribe; - string webTid; - long groupId; -}; -sequence SWebTribeIdSeq; - -}; -#endif diff --git a/features/aliww/slice/imicecommstruct.ice b/features/aliww/slice/imicecommstruct.ice deleted file mode 100644 index 6b92743..0000000 --- a/features/aliww/slice/imicecommstruct.ice +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef _H_IMICECOMMSTRUCT_H_ -#define _H_IMICECOMMSTRUCT_H_ - -#include - -module AliIMInterface -{ - dictionary KVMAP; - struct SWebBindId - { - string prefix; - string webid;//short id - bool bIMBind; - }; - sequence SWebBindIdSeq; - struct SWanghaoWebBindId - { - string id; - SWebBindIdSeq webids; - }; - sequence SWanghaoWebBindIdSeq; - - sequence KVMAPSeq; - -}; - - - - -#endif - diff --git a/features/aliww/slice/imsession.ice b/features/aliww/slice/imsession.ice deleted file mode 100644 index e1335d8..0000000 --- a/features/aliww/slice/imsession.ice +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef __IM_SESSION_ICE -#define __IM_SESSION_ICE - -module AliIM -{ - struct SIceSession - { - string uid; - string sessionNo; - int expiretime; - }; - interface SessionMgr - { - int getUserSession(string uid,out SIceSession retsession); - int checkUserSession(string uid,string sessionNo); - int removeSession(string uid); - int getUserExistSession(string uid, out SIceSession retsession); - }; - -}; - -#endif diff --git a/features/aliww/slice/user_statics.ice b/features/aliww/slice/user_statics.ice deleted file mode 100644 index 4c21ee3..0000000 --- a/features/aliww/slice/user_statics.ice +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef _USER_STATICS_ICE_ -#define _USER_STATICS_ICE_ - -#include -#include "dbdatadefine.ice" - -module UserStaticsX -{ - interface UserStaticsI - { - /// login id, only insert delta value which is happend everyday - int insert(AliIMDBBase::UserStatics delta); - ///int insertBatch(AliIMDBBase::UserStaticsSeq deltaseq); - int get(string id, out AliIMDBBase::UserStatics s); - }; -}; - -#endif diff --git a/features/aliww/source/.svn/entries b/features/aliww/source/.svn/entries deleted file mode 100644 index 1f0624f..0000000 --- a/features/aliww/source/.svn/entries +++ /dev/null @@ -1,3904 +0,0 @@ -10 - -dir -46 -svn://cuiz.me/cbenchmark/trunk/cbenchmark/features/aliww/source -svn://cuiz.me - - - -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - -01675afb-4c4d-4bd7-85dd-1440927b3546 - -tgsc_pack.cpp -file - - - - -2011-06-28T07:31:16.000000Z -4448291aa79ce94224e2089f563181ec -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -80606 - -dbsmsstructs.cpp -file - - - - -2011-06-28T07:31:16.000000Z -29b6761897a408f0c9623723ea2aff18 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -19343 - -smsa_pack.cpp -file - - - - -2011-06-28T07:31:16.000000Z -5c2e148072d947dac650f1b1ab77eb72 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -15659 - -cachss_pack.cpp -file - - - - -2011-06-28T07:31:16.000000Z -137aef665e389910fc9751b3a39af454 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2999 - -smssdk_pack.cpp -file - - - - -2011-06-28T07:31:16.000000Z -83eabfbd45fb7839c32aaaf0adaa96d8 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -3395 - -mpcsc_pack.cpp -file - - - - -2011-06-28T07:31:16.000000Z -4c9c6929eb51a820d799946f9a76701c -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -37492 - -msc_head.cpp -file - - - - -2011-06-28T07:31:16.000000Z -ea0c8815689c3d33a8c348feec951348 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -1257 - -searchuser.cpp -file - - - - -2011-06-28T07:31:16.000000Z -45c3f55b88fbf080bc7af568e33c888f -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -44687 - -get_bind_list.cpp -file - - - - -2011-06-28T07:31:16.000000Z -1f73e94c6b2fd811ae2c893a7b24eb54 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -1621 - -sdkss_head.cpp -file - - - - -2011-06-28T07:31:16.000000Z -9e5e3214a027c72df23677010737ea25 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -1135 - -recentCntCache.cpp -file - - - - -2011-06-28T07:31:16.000000Z -8f82e052e4e2ad2229d13171d0f9da85 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -18376 - -aliuidpsserv.cpp -file - - - - -2011-06-28T07:31:16.000000Z -243b450629b746e2213c736308e2f8e3 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -95720 - -tbbdb_pack.cpp -file - - - - -2011-06-28T07:31:16.000000Z -a3515d8ae8bc968f9d384a9049d54dd6 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -13180 - -rgss_pack.cpp -file - - - - -2011-06-28T07:31:16.000000Z -ec6fa913e4d2fe217298d5be7d8de97d -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -15320 - -mosInterface.cpp -file - - - - -2011-06-28T07:31:16.000000Z -b1d56ba35389e6869ed6a626fe5bf2ce -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -79291 - -aas_perf_test.cpp -file - - - - -2011-06-28T07:31:16.000000Z -cccc53c1d39a74a1f63b8feca51cc14f -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -8290 - -Exhibitionservice.cpp -file - - - - -2011-06-28T07:31:16.000000Z -4714c209fc5cf18f2957c35aaf20449c -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -34166 - -mpcss_pack.cpp -file - - - - -2011-06-28T07:31:16.000000Z -4383775d095d6b47d43e53425d8b6340 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -15074 - -aasservice.cpp -file - - - - -2011-06-28T07:31:16.000000Z -d01f38b6edd4069fa4f17536863724c5 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -60307 - -tcservice.cpp -file - - - - -2011-06-28T07:31:16.000000Z -552560413586e57dbadbaf3c1ffb012d -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -79033 - -tgsstrc_pack.cpp -file - - - - -2011-06-28T07:31:16.000000Z -2a0af905864c7d4a2c7eb327e9884d99 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -1210 - -ims_ice_service.cpp -file - - - - -2011-06-28T07:31:16.000000Z -f6596d44733b349fcf3bb95c4ad57520 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -250562 - -tbsc_pack.cpp -file - - - - -2011-06-28T07:31:16.000000Z -726756637eb08ded1f5ff66a0ac4236d -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -238193 - -CWWSimulator.cpp.bak -file - - - - -2011-06-28T07:31:16.000000Z -e4b123a82ebc1f1608de3e08c0b19799 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -28945 - -es_eval_service.cpp -file - - - - -2011-06-28T07:31:16.000000Z -e41ebd357765cfbf0ba9b1f275bb23be -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -49194 - -paramUtil.cpp -file - - - - -2011-06-28T07:31:16.000000Z -6000bf896f24a6a67394187bf0ff880a -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -4873 - -aepdbsadapter.cpp -file - - - - -2011-06-28T07:31:16.000000Z -ccf33038ecfbb1cd30f69e33e14a08e4 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -83944 - -ims_perf_test.cpp -file - - - - -2011-06-28T07:31:16.000000Z -975df7ee3e3f2c76ca058ce14233086f -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -5450 - -dbspacedatadefine.cpp -file - - - - -2011-06-28T07:31:16.000000Z -543214cf44f3f416b93b2d4ad72105a3 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -6811 - -dbservice.cpp -file - - - - -2011-06-28T07:31:16.000000Z -6b3550a995f6d02e55edfe1828b2864c -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -950805 - -aliuidpsserv_sync.cpp -file - - - - -2011-06-28T07:31:16.000000Z -d9658fbd4009a58f0b2286478f68d691 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -81203 - -alliWebMember.cpp -file - - - - -2011-06-28T07:31:16.000000Z -538a5eae0a7cbd4ffa855d157031a455 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -26599 - -arcacheservice.cpp -file - - - - -2011-06-28T07:31:16.000000Z -ff5ee366aa428f230cd78af04e77f5de -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -49810 - -casc_pack.cpp -file - - - - -2011-06-28T07:31:16.000000Z -67e253cf8904f4659c2ef230f6721b91 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -93967 - -tbss_pack.cpp -file - - - - -2011-06-28T07:31:16.000000Z -db63ae5404fc6e69268e603142531eac -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -246055 - -tpfs_pack.cpp -file - - - - -2011-06-28T07:31:16.000000Z -f6b462b9988586d7bd299b841d334131 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -75795 - -bind_unbind.cpp -file - - - - -2011-06-28T07:31:16.000000Z -11e20341ec7e880e449b7439909e2f50 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -1851 - -aliuidstruct.cpp -file - - - - -2011-06-28T07:31:16.000000Z -16c1ebe7b5d1ff5c45f29032c4f015c0 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -12093 - -contactdbservie.cpp -file - - - - -2011-06-28T07:31:16.000000Z -9350e1b038e2e5debe2731b21f6b2b78 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -214574 - -authservice.cpp -file - - - - -2011-06-28T07:31:16.000000Z -c4dea4ea4d88eaf5c9ebf62c2fb959df -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -31618 - -login_info_center.cpp -file - - - - -2011-06-28T07:31:16.000000Z -0ea4bd5c30beddf50afec08736fa334f -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -29921 - -aliww.cpp -file - - - - -2011-06-28T07:31:16.000000Z -8c6ea95675d17fa8226d9a0a5f40ee1d -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -7781 - -TribeInterface.cpp -file - - - - -2011-06-28T07:31:16.000000Z -21825c106f429aebdbefb5f92b4d814b -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -21634 - -sc_head.cpp -file - - - - -2011-06-28T07:31:16.000000Z -4bb4ff0c1e7d05db8848f19eab20c088 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -1852 - -imsc_pack.cpp -file - - - - -2011-06-28T07:31:16.000000Z -5164001f3bf021e538d5f2e7608ed967 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -516865 - -dbsmsservice.cpp -file - - - - -2011-06-28T07:31:16.000000Z -c702f5c0b3d71cbda0443b3deba9122a -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -189638 - -fdbrecent_pack.cpp -file - - - - -2011-06-28T07:31:16.000000Z -ebf7e4e5cecef18b02dbb55843a01ab3 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -5395 - -dbdatadefine.cpp -file - - - - -2011-06-28T07:31:16.000000Z -094a8d8947d2903f6a7d13487bb3b9f6 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -226004 - -DBStruct.cpp -file - - - - -2011-06-28T07:31:16.000000Z -46abbbe106bc894e4d6203d0ff943e6d -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -4237 - -udbservice.cpp -file - - - - -2011-06-28T07:31:16.000000Z -8c926c1946fdd559ad2e488bb11ceaf4 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -32861 - -smsstrc_pack.cpp -file - - - - -2011-06-28T07:31:16.000000Z -bf1113fb914fa234cdbf7f90eddd05ea -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -8449 - -recentContactExternal.cpp -file - - - - -2011-06-28T07:31:16.000000Z -917ccce79ab1af095ec3d9488ae8b889 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -13773 - -sipsession.cpp -file - - - - -2011-06-28T07:31:16.000000Z -5aa1b73273c56aa1fa3ea2969507bdb1 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -17624 - -EServiceRContact.cpp -file - - - - -2011-06-28T07:31:16.000000Z -4227a9ed37e9baeebf455b0a56c990fd -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -16683 - -smsc_pack.cpp -file - - - - -2011-06-28T07:31:16.000000Z -aa9e9d656efab398bbb0041af256f582 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -57426 - -vendorchkservice.cpp -file - - - - -2011-06-28T07:31:16.000000Z -fb5199fd93c008c9fa71b16b8c2c5ced -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -35131 - -webtcserv.cpp -file - - - - -2011-06-28T07:31:16.000000Z -1f88420e27dd7a3fd15d9247e9772fbb -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -70970 - -OpenIMWebService.cpp -file - - - - -2011-06-28T07:31:16.000000Z -eab9d478ede90f6e54719c9ef726e801 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -194279 - -ss_head.cpp -file - - - - -2011-06-28T07:31:16.000000Z -ef6fe0c91659cf537c9163bacd5fe9d6 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -3055 - -imicecommstruct.cpp -file - - - - -2011-06-28T07:31:16.000000Z -861776f7ca3dd02028b253bc5d5c010e -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -6573 - -spacecontact.cpp -file - - - - -2011-06-28T07:31:16.000000Z -30fdd74a195fc0eeb1bdb419bd10229d -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -97175 - -user_statics.cpp -file - - - - -2011-06-28T07:31:16.000000Z -b8c89b747d44c74393797e456dfeaa1e -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -16363 - -imss_pack.cpp -file - - - - -2011-06-28T07:31:16.000000Z -2b12266a575963f1ed051a28751147ac -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -76444 - -imsession.cpp -file - - - - -2011-06-28T07:31:16.000000Z -a8033395952afe8d4bad51e8298bcaa3 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -24955 - -chkss_pack.cpp -file - - - - -2011-06-28T07:31:16.000000Z -53121ce6f426720db9cae2918c412baa -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2761 - -ridsrv.cpp -file - - - - -2011-06-28T07:31:17.000000Z -7c2b64180a36c30d680172ac3295ebc5 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -27736 - -scs_head.cpp -file - - - - -2011-06-28T07:31:17.000000Z -3e604fff902e6da131dafa4db71bfaae -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -1257 - -aepcacheservice.cpp -file - - - - -2011-06-28T07:31:17.000000Z -0db581cd8581d756142f2e203fa1e5c9 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -47233 - -DDBInterface.cpp -file - - - - -2011-06-28T07:31:17.000000Z -2c96ce09b1e477805b7919ee6b2f2fbf -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -62683 - -des.cpp -file - - - - -2011-06-28T07:31:17.000000Z -7a696537e0aae5622068ef187af8ad61 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -36370 - -ddbadmin_perf_test.cpp -file - - - - -2011-06-28T07:31:17.000000Z -15fdd505fd5884b4dbfb1ca16768325c -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -7900 - -tags -file - - - - -2011-06-28T07:31:17.000000Z -8844b4b82941a5baa94b5d5b071c3262 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -79877 - -RsaCipher.cpp -file - - - - -2011-06-28T07:31:17.000000Z -b0d32e8118ebea8d195d6dc94812475c -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -6414 - -ss_v5_head.cpp -file - - - - -2011-06-28T07:31:17.000000Z -f571b985d2c4c67150c65e0f8889532b -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -1265 - -rmss_pack.cpp -file - - - - -2011-06-28T07:31:17.000000Z -a3e078d263d5eb172908575b536dd8b9 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -5879 - -tbsstrc_pack.cpp -file - - - - -2011-06-28T07:31:17.000000Z -d1eb92339d406fb590fa373c34188cdc -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -23933 - -smss_pack.cpp -file - - - - -2011-06-28T07:31:17.000000Z -272d2ca4e2ddfafcb07e965161dee002 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -23966 - -notifycontact.cpp -file - - - - -2011-06-28T07:31:17.000000Z -e891c1c7f5543b38033144e396097263 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -17512 - -struct.cpp -file - - - - -2011-06-28T07:31:17.000000Z -4731b42eb9872b211a1571502326f26d -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -1756 - -recentCnt.cpp -file - - - - -2011-06-28T07:31:17.000000Z -37a2cd2415f3a1bfc67f9ac1fe6ca861 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -26211 - -imcontrol_service.cpp -file - - - - -2011-06-28T07:31:17.000000Z -19fa7151bd060aabbca202d198f4d6b3 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -40027 - -crcservice.cpp -file - - - - -2011-06-28T07:31:17.000000Z -2485d4b73c1cbc1624718ebab29119c7 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -30907 - -Userudbprofile.cpp -file - - - - -2011-06-28T07:31:17.000000Z -e8a6d7d7a34d66632870389769bd55f4 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -3028 - -recentCntdatadefine.cpp -file - - - - -2011-06-28T07:31:17.000000Z -1ab1c2175bfff5901a11a78021a02e7e -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -3969 - -tbsmsg_pack.cpp -file - - - - -2011-06-28T07:31:17.000000Z -10188ce1c75046893811afe4e5d8ed9b -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -14983 - -CWWSimulator.cpp -file - - - - -2011-06-28T07:31:17.000000Z -dc45dd70859088e5367578b6a0ae0684 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -32420 - -aliyun.cpp -file - - - - -2011-06-28T07:31:17.000000Z -20b5cfeeed2266419ba6ad13cdb9b97e -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -57966 - -dbss_v5_pack.cpp -file - - - - -2011-06-28T07:31:17.000000Z -34eabc2cdb833fcc75601fb7f9693ace -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2076 - -tmpsession.cpp -file - - - - -2011-06-28T07:31:17.000000Z -2d6ab895ab5eb67de2bda26f205629f7 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -16150 - -WebMember.cpp -file - - - - -2011-06-28T07:31:17.000000Z -9ff2db560d9424f787f95b58abee7649 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -79704 - -aqsc_head.cpp -file - - - - -2011-06-28T07:31:17.000000Z -ff8f44622b84df335973d7d57b9673ab -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -1145 - -ngsInterface.cpp -file - - - - -2011-06-28T07:31:17.000000Z -1e2bab44942dd28bcaa44def50088e4c -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -12287 - -atmMember.cpp -file - - - - -2011-06-28T07:31:17.000000Z -73e90a5e39e7d0ee2c6d88683e3fdfb8 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -43620 - -mos_perf_test.cpp -file - - - - -2011-06-28T07:31:17.000000Z -3b843d414cf4c62b449a17ded3a1e286 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2907 - -monitorsc_pack.cpp -file - - - - -2011-06-28T07:31:17.000000Z -f84686576e2df26184deafcbc60447d1 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -16219 - -infoservice.cpp -file - - - - -2011-06-28T07:31:17.000000Z -b3e5f21a5b2ca1114b4962145621a34f -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -66535 - -README -file - - - - -2011-06-28T07:31:17.000000Z -026b90449b2f2b1e016e2fc241a1c819 -2011-06-02T07:01:04.009901Z -35 -cuizheng -has-props - - - - - - - - - - - - - - - - - - - - -70 - -user_ice_service.cpp -file - - - - -2011-06-28T07:31:17.000000Z -579410bc77ff1432a2d81d5cb27ee2a6 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -202116 - -es_expandarea_service.cpp -file - - - - -2011-06-28T07:31:17.000000Z -d0619987d2687add3caa5507dbe3312e -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -31911 - -aqdispatch_pack.cpp -file - - - - -2011-06-28T07:31:17.000000Z -e161224332104cf610a7826538574e5e -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -13223 - -snsscores.cpp -file - - - - -2011-06-28T07:31:17.000000Z -b479b10ad2e00dc0e112e1b1093fcce3 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -49318 - -dbs_perf_test.cpp -file - - - - -2011-06-28T07:31:17.000000Z -e16d708fc0f65ac638d640db623a8163 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -6895 - -tradeCache.cpp -file - - - - -2011-06-28T07:31:17.000000Z -415b9781c9ba9b2daca0a19eaa426d7f -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -15643 - -logss_pack.cpp -file - - - - -2011-06-28T07:31:17.000000Z -b61fd1fcea98214ebdc17d18ae2d9046 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -4983 - -dbtbsservice60.cpp -file - - - - -2011-06-28T07:31:17.000000Z -5957848c0fa10583af682ea69535d104 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -305519 - -uss_perf_test.cpp -file - - - - -2011-06-28T07:31:17.000000Z -927dcf7a6a6a29edac2cb8cd9e21fd5a -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -3041 - -RSAWrapper.cpp -file - - - - -2011-06-28T07:31:17.000000Z -484b2a57a857e1265b815cf2aa7b7ee5 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -592 - -tpfs_perf_test.cpp -file - - - - -2011-06-28T07:31:17.000000Z -6c1e9bb1addaed8da0817fcb6e70c336 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -5747 - -md5hash.cpp -file - - - - -2011-06-28T07:31:17.000000Z -53dabff8cd87c454dce5c770d792c01c -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -16924 - -user_info.cpp -file - - - - -2011-06-28T07:31:17.000000Z -44c4a8d21eb2c7f9028a68b10d838fd6 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -45306 - -ftservice.cpp -file - - - - -2011-06-28T07:31:17.000000Z -bd5f26959058932e30f9c7a786d5b2cd -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -29775 - -imcntlcacheservice.cpp -file - - - - -2011-06-28T07:31:17.000000Z -4d39149c486ede8f9cb13e2559870b11 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -34230 - -tbWebMember.cpp -file - - - - -2011-06-28T07:31:17.000000Z -5cdecd375dcd65d9b038e34aec6e7ded -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -81600 - -dbtbsstructs60.cpp -file - - - - -2011-06-28T07:31:17.000000Z -c7ba72b06203572f4a25ab80a4c04889 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -63431 - diff --git a/features/aliww/source/.svn/prop-base/README.svn-base b/features/aliww/source/.svn/prop-base/README.svn-base deleted file mode 100644 index 5e9587e..0000000 --- a/features/aliww/source/.svn/prop-base/README.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/features/aliww/source/.svn/text-base/CWWSimulator.cpp.bak.svn-base b/features/aliww/source/.svn/text-base/CWWSimulator.cpp.bak.svn-base deleted file mode 100644 index d791c20..0000000 --- a/features/aliww/source/.svn/text-base/CWWSimulator.cpp.bak.svn-base +++ /dev/null @@ -1,1081 +0,0 @@ -/* * ===================================================================================== * * - * - * Filename: CWWSimulator.cpp - * Description: - * - * Version: 1.0 - * Created: 2010å¹´12月14æ—¥ 16æ—¶48分09秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "CWWSimulator.h" -#include "sc_head.h" -#include "imsc_cmd.h" -#include "imsc_pack.h" -#include "imsc_cmd_2Str.h" -#include "RSAWrapper.h" -#include "md5hash.h" -#include - -using namespace std; - -char* CWWSimulator::GetRandStr() -{ - char *cstr = (char *)malloc(512); - memset(cstr,0,512); - sprintf(cstr,"%s%d%s%d%ld",m_username.c_str(),rand(),m_password.c_str(),rand(),time(0)); - return cstr; -} - -CWWSimulator::CWWSimulator() -{ - srand(time(0)); - m_bIsConnected = false; - m_bIsReceiving = false; -} - -CWWSimulator::CWWSimulator(string& username, string& password, string version, string imServerIP, uint16_t port): - m_username(username), m_password(password), m_version(version), m_imServerIP(imServerIP), m_port(port) -{ - srand(time(0)); - m_bIsConnected = false; - m_bIsReceiving = false; - -} -CWWSimulator::~CWWSimulator() -{ - //Detach(); -} -void CWWSimulator::SetUser(string& username, string& password) -{ - m_username = username; - m_password = password; -} -void CWWSimulator::SetSessionNo(string& sessionNo) -{ - /* - tpfs测时时,tpfsæœåŠ¡å™¨å¯¹sessionno的验è¯åšäº†mock - 使得当sessionno是AAA开头的string时验è¯è‚¯å®šé€šè¿‡ - */ - //m_sessionno = "AAATESTSESSIONKEY"; - m_sessionno = sessionNo; -} - -void CWWSimulator::SetServerIP(string& imServerIP, uint16_t port) -{ - m_imServerIP = imServerIP; - m_port = port; -} -void CWWSimulator::SetTpfsIP(string& imServerIP, uint16_t port) -{ - m_tpfsIP = imServerIP; - m_tpfs_port = port; -} -void CWWSimulator::SetClient(string& version, uint32_t language) -{ - m_version = version; - m_clientLanguage = language; -} -void CWWSimulator::SetStatus(uint8_t tokenFlag, int loginState) -{ - m_tokenFlag = tokenFlag; - m_nLoginState = loginState; -} - -bool CWWSimulator::ConnectTpfs(void) -{ - return Connect(m_tpfsFD,m_tpfsIP,m_tpfs_port); -} - -bool CWWSimulator::Connect(void) -{ - return Connect(m_socketFD,m_imServerIP,m_port); -} - -bool CWWSimulator::Connect(uint32_t& fd, string ip, uint16_t port) -{ - uint32_t sockfd; - struct sockaddr_in server_addr; - - sockfd = socket(AF_INET, SOCK_STREAM, 0); - - server_addr.sin_family = AF_INET; - server_addr.sin_addr.s_addr = inet_addr(ip.c_str()); - server_addr.sin_port = htons(port); - - //cout << "serverIP: " << ip.c_str() << endl; - //cout << "port: " << port << endl; - if( (connect(sockfd, (struct sockaddr*)&server_addr, sizeof(server_addr))) != -1) - { - fd = sockfd; - m_bIsConnected = true; - //cout << "Server connected" << endl; - return true; - } - else - { - //cout << "connect server failed" << endl; - perror("connect error!"); - return false; - } - -} - -bool CWWSimulator::SendPack(string& pack) -{ - return SendPack(pack, m_socketFD); -} - -bool CWWSimulator::SendPack(string& pack, uint32_t fd) -{ - uint32_t sendLen = 0; - uint32_t totalLen = 0; - uint32_t packSize = pack.size(); - while(packSize != totalLen) - { - sendLen = write(fd, const_cast(pack.c_str())+totalLen, packSize-totalLen); - totalLen += sendLen; - if(sendLen <= 0){ - fprintf(stderr,"write fd err . fd == %d - %m",fd); - return false; - } - } - return true; -} - -bool CWWSimulator::StartReceiving() -{ - return StartReceiving(m_socketFD); -} - -bool CWWSimulator::StartReceiving(uint32_t fd) -{ - if(m_bIsConnected != true) - { - //cout<< "begin connect server" < vecTimeStamp; - long dwTimeStamps[16] = {0}; - for (int i=0;i<16;i++) vecTimeStamp.push_back(dwTimeStamps[i]); - reqLogin.SetTimestampList(vecTimeStamp); - VECTOR sHardCodeArray; - string sAllHardCode = "D85F450B524F2B3E20D663198181C601"; - reqLogin.SetHardcode(sHardCodeArray); - reqLogin.SetHardcheck(sAllHardCode); - string rid = "pcid=c4e0284ea47a400c814443c4771696c1"; - reqLogin.SetRid(rid); - reqLogin.PackData(m_loginstr,m_strkey); - break; - } - case IM_REQ_PRELOGIN: - { - Commander(IM_REQ_LOGIN); - CImReqPrelogin reqPrelogin; - reqPrelogin.SetConnectNo(m_connectNO); - string strRsaResult;//用æœåŠ¡ä¼ å›žçš„pubkey å°†m_usermd5str加密一下 - - int nRet = RSA_PublicEncrypt(m_pubkey.c_str(), m_pubkey.size(), - m_usermd5str.c_str(), m_usermd5str.size(), strRsaResult); - reqPrelogin.SetWorkKey(strRsaResult); - reqPrelogin.SetStrlogin(m_loginstr); - reqPrelogin.m_scHead.m_encrypt = 0; - string pack; - reqPrelogin.PackData(pack, m_strkey); - SendPack(pack); - //cout << "send IM_REQ_PRELOGIN " << endl; - break; - } - case IM_REQ_POSTLOGIN: - { - - CImReqPostlogin reqPostlogin; - reqPostlogin.SetPredefStatus(m_nLoginState& 0xff); - reqPostlogin.SetBasicStatus(m_nLoginState >> 16); - - string pack; - reqPostlogin.PackData(pack,m_strkey); - SendPack(pack); - //cout << "send IM_REQ_POSTLOGIN" << endl; - break; - } - case IM_REQ_LOGOFF: - { - CImReqLogoff reqLogoff; - string pack; - reqLogoff.PackData(pack,m_strkey); - SendPack(pack); - //cout << "send IM_REQ_LOGOFF " << endl; - break; - } - case IM_REQ_GETWEB_SESSION: - { - CImReqGetwebSession reqgetws; - string pack; - reqgetws.PackData(pack,m_strkey); - SendPack(pack); - //cout << "send IM_REQ_GETWEB_SESSION" << endl; - break; - } - case IM_REQ_SENDIMMESSAGE: - { - string pack; - CImReqSendimmessage reqSendimmessage; - reqSendimmessage.SetTargetId("cntaobaojason3"); - reqSendimmessage.SetType(0x01);//是å¦å­˜ç¦»çº¿ 01å­˜ 00ä¸å­˜ - string msghead = "12345678"; - msghead[0] = 0x08; - msghead[1] = 0x00; - msghead[2] = 0x00; - msghead[3] = 0x00; - msghead[4] = 0x2F; - msghead[5] = 0x1F; - msghead[6] = 0x5D; - msghead[7] = 0x9E; - string msg = msghead + "\\C0\\S0xc.0xf0\\FArial\\TFrom CWWSimulator,In perf test"; - reqSendimmessage.SetMessage(msg); - reqSendimmessage.PackData(pack,m_strkey); - SendPack(pack); - //cout << "send IM_REQ_SENDIMMESSAGE" << endl; - break; - } - case IM_REQ_CHAT_CHKVER: - { - CImReqChatChkver reqchatcver; - reqchatcver.SetVersion(m_version); - reqchatcver.m_scHead.m_encrypt=0; - string pack; - reqchatcver.PackData(pack,""); - SendPack(pack,m_tpfsFD); - //cout << "send IM_REQ_CHAT_CHKVER" << endl; - break; - } - case IM_REQ_CHAT_IDENTIFY: - { - CImReqChatIdentify reqchatidf; - reqchatidf.m_scHead.m_reserved = 1; - reqchatidf.m_scHead.m_extdata = m_username; - reqchatidf.SetUid(m_username); - reqchatidf.SetVersion(m_version); - reqchatidf.SetSessionkey(m_sessionno); - //reqchatidf.SetSessionkey("AAATESTSESSIONKEY"); - - string randStr("xxxxxx"); - m_usermd5str = Md5Hash::GetMD5(m_username + m_password + randStr, true); - CDesEncrypt enc; - m_strkey = enc.SetKey(m_usermd5str); - - reqchatidf.PackData(m_tpfs_identifystr,m_strkey); - break; - } - case IM_REQ_CHAT_PREIDENTIFY: - { - Commander(IM_REQ_CHAT_IDENTIFY); - CImReqChatPreidentify reqchatpreidf; - string strRsaResult; - int nRet = RSA_PublicEncrypt(m_tpfs_pubkey.c_str(), m_tpfs_pubkey.size(), - m_usermd5str.c_str(), m_usermd5str.size(), strRsaResult); - reqchatpreidf.SetWorkKey(strRsaResult); - reqchatpreidf.SetConnectNo(m_tpfs_connectNO); - reqchatpreidf.SetStrlogin(m_tpfs_identifystr); - reqchatpreidf.m_scHead.m_encrypt = 0; - string pack; - reqchatpreidf.PackData(pack, m_strkey); - SendPack(pack,m_tpfsFD); - //cout << "send IM_REQ_CHAT_PREIDENTIFY " << endl; - break; - } - case IM_REQ_CHAT_PUTPIC: - { - string pack; - //string picdata = "111111111111111111112222222222222222222222333333333333333"; - string picdata(va_arg(ap,char*)); - char cpicname[256] = {0}; - sprintf(cpicname,"%s_%d",Md5Hash::GetMD5(picdata).c_str(),picdata.length()); - string picname(cpicname); - CImReqChatPutpic reqChatPutpic; - char *csessionid = GetRandStr(); - string sessionid(csessionid); - m_verb_sessionid = sessionid; - reqChatPutpic.SetSessionid(sessionid); - //reqChatPutpic.SetPickey("cc4d71902b6aea00782bb1e033cdba73_57"); - reqChatPutpic.SetPickey(picname); - reqChatPutpic.SetData(picdata); - reqChatPutpic.SetSize(picdata.size()); - reqChatPutpic.SetOffset(0); - reqChatPutpic.PackData(pack,m_strkey); - SendPack(pack,m_tpfsFD); - free(csessionid); - //cout << "send IM_REQ_CHAT_PUTPIC" << endl; - break; - } - case IM_REQ_CHAT_GETPIC: - { - char *cpicName = va_arg(ap,char *); - string picName(cpicName); - string pack; - CImReqChatGetpic reqChatGetpic; - char *csessionid = GetRandStr(); - string sessionid(csessionid); - m_verb_sessionid = sessionid; - reqChatGetpic.SetSessionid(sessionid); - //reqChatGetpic.SetPickey("cc4d71902b6aea00782bb1e033cdba73_57"); - reqChatGetpic.SetPickey(picName); - reqChatGetpic.PackData(pack,m_strkey); - SendPack(pack,m_tpfsFD); - free(csessionid); - //cout << "send IM_REQ_CHAT_GETPIC" << endl; - break; - } - case IM_REQ_CHAT_GETCAL: - { - string fromid(va_arg(ap,char*)); - string toid(va_arg(ap,char*)); - string startDate(va_arg(ap,char*)); - string endDate(va_arg(ap,char*)); - string pack; - CImReqChatGetcal reqChatGetcal; - char *csessionid = GetRandStr(); - string sessionid(csessionid); - m_verb_sessionid = sessionid; - reqChatGetcal.SetSessionid(sessionid); - reqChatGetcal.SetUid(fromid); - reqChatGetcal.SetToid(toid); - reqChatGetcal.SetStartdate(startDate); - reqChatGetcal.SetEnddate(endDate); - //reqChatGetcal.SetToid("cntaobaoabc1999"); - //reqChatGetcal.SetStartdate("20110101"); - //reqChatGetcal.SetEnddate("20111111"); - reqChatGetcal.PackData(pack,m_strkey); - SendPack(pack,m_tpfsFD); - free(csessionid); - //cout << "send IM_REQ_CHAT_GETCAL" << endl; - break; - } - case IM_REQ_CHAT_GETTXT: - { - string fromid(va_arg(ap,char*)); - string toid(va_arg(ap, char*)); - CImReqChatGettxt reqchatgt; - char *csessionid = GetRandStr(); - string sessionid(csessionid); - m_verb_sessionid = sessionid; - reqchatgt.SetSessionid(sessionid); - reqchatgt.SetFromid(fromid); - reqchatgt.SetToid(toid); - reqchatgt.SetBegtime(va_arg(ap, uint64_t)); - reqchatgt.SetEndtime(va_arg(ap, uint64_t)); - reqchatgt.SetMsgnum(va_arg(ap, int)); - string pack; - reqchatgt.PackData(pack,m_strkey); - SendPack(pack, m_tpfsFD); - free(csessionid); - //cout << "send IM_REQ_CHAT_GETTXT" << endl; - break; - } - default: - string cmdStr = IMSC_cmd2STR::IMSC_CMD_2STR(cmd); - //cout<< "There is no action for command:" << cmdStr << endl; - } -} - -uint16_t CWWSimulator::HandlePack(string& pack, void** p) -{ - void* pPack; - uint16_t ret = -1; - - CScHead hdr; - if(PACK_RIGHT != hdr.UnpackData(pack)) - { - //cout << "hdr Unpack failed,In HandlePack" << endl; - } - uint32_t cmd = hdr.m_cmd; - - string cmdStr = IMSC_cmd2STR::IMSC_CMD_2STR(cmd); - //cout << "cmd received: " << cmdStr <UnpackData(pack)) - { - //cout<<"CImRspCheckversion.UnpackData fail" << endl; - break; - } - //cout << "IM_RSP_CHECKVERSION retcode: " << pRspPack->GetRetcode() << endl; - m_connectNO = pRspPack->GetConnectNo(); - m_pubkey = pRspPack->GetPubkey(); - - ret = pRspPack->GetRetcode(); - break; - } - case IM_RSP_LOGIN: - { - //cout << "get IM_RSP_LOGIN " << endl; - CImRspLogin *pRspPack; - pPack = new(CImRspLogin) ; - pRspPack = (CImRspLogin*)pPack; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspLogin.UnpackData fail" << endl; - break; - } - //cout << "IM_RSP_LOGIN retcode: " << pRspPack->GetRetcode() << endl; - m_retcode = pRspPack->GetRetcode(); - m_dwTimeStampsFlag = pRspPack->GetTimestampFlag(); - m_strkey = pRspPack->GetWorkKey(); - CDesEncrypt enc; - m_strkey = enc.SetKey(m_strkey); - m_pwtoken = pRspPack->GetPwtoken(); - m_rid = pRspPack->GetRid(); - m_packRemark = pRspPack->GetRemark(); - ret = pRspPack->GetRetcode(); - delete(pPack); - break; - } - case IM_RSP_GETUSERINFO: - { - //cout << "get IM_RSP_GETUSERINFO" << endl; - ret = 0; - break; - } - case IM_RSP_GETGROUP: - { - //cout << "get IM_RSP_GETGROUP " << endl; - CImRspGetgroup *pRspPack; - pPack = new(CImRspGetgroup) ; - pRspPack = (CImRspGetgroup*)pPack; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspGetgroup.UnpackData fail" << endl; - break; - } - pRspPack->GetRetcode(); - pRspPack->GetGroupList(); - ret = pRspPack->GetRetcode(); - delete(pPack); - break; - } - case IM_RSP_GETCONTACT: - { - //cout << "get IM_RSP_GETCONTACT " << endl; - ret = 0; - break; - } - case IM_RSP_LOGOFF: - { - //cout << "get IM_RSP_LOGOFF " << endl; - CImRspLogoff *pRspPack; - pPack = new(CImRspLogoff); - pRspPack = (CImRspLogoff*)pPack; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspLogoff.UnpackData fail" << endl; - break; - } - //cout << "IM_RSP_LOGOFF retcode: " << pRspPack->GetRetcode()<GetRetcode(); - delete(pPack); - break; - } - case IM_RSP_CHAT_IDENTIFY: - { - //cout << "get IM_RSP_CHAT_IDENTIFY " << endl; - CImRspChatIdentify *pRspPack; - pPack = new(CImRspChatIdentify); - pRspPack = (CImRspChatIdentify*)pPack; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspChatIdentify.UnpackData fail" << endl; - break; - } - //cout << "IM_RSP_CHAT_IDENTIFY retcode: " << pRspPack->GetRetcode() << endl; - ret = pRspPack->GetRetcode(); - delete(pPack); - break; - } - case IM_RSP_GETWEB_SESSION: - { - //cout << "get IM_RSP_GETWEB_SESSION" << endl; - CImRspGetwebSession *pRspPack; - pPack = new(CImRspGetwebSession); - pRspPack = (CImRspGetwebSession*)pPack; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspGetwebSession.UnpackData fail" << endl; - break; - } - //cout << "IM_RSP_GETWEB_SESSION retcode: " << pRspPack->GetRetcode() << endl; - //cout << "Get session NO : " << pRspPack->GetSessionNo() << endl; - m_sessionno = pRspPack->GetSessionNo(); - ret = pRspPack->GetRetcode(); - delete(pPack); - break; - } - case IM_RSP_CHAT_CHKVER: - { - //cout << "get IM_RSP_CHAT_CHKVER " << endl; - CImRspChatChkver *pRspPack; - pPack = new(CImRspChatChkver); - pRspPack = (CImRspChatChkver*)pPack; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspChatChkver.UnpackData fail" << endl; - break; - } - //cout << "IM_RSP_CHAT_CHKVER retcode: " << pRspPack->GetRetcode() << endl; - m_tpfs_connectNO = pRspPack->GetConnectNo(); - m_tpfs_pubkey = pRspPack->GetPubkey(); - ret = pRspPack->GetRetcode(); - delete(pPack); - break; - } - case IM_RSP_CHAT_PUTPIC: - { - //cout << "get IM_RSP_CHAT_PUTPIC" << endl; - CImRspChatPutpic *pRspPack; - pPack = new(CImRspChatPutpic); - pRspPack = (CImRspChatPutpic*)pPack; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspChatPutpic.UnpackData fail" << endl; - break; - } - //cout << "IM_RSP_CHAT_PUTPIC retcode: " << pRspPack->GetRetcode() << endl; - - ret = pRspPack->GetRetcode(); - delete(pPack); - break; - } - case IM_RSP_CHAT_GETPIC: - { - //cout << "get IM_RSP_CHAT_GETPIC " << endl; - CImRspChatGetpic *pRspPack; - pPack = new(CImRspChatGetpic); - pRspPack = (CImRspChatGetpic*)pPack; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - cout<<"CImRspChatGetpic.UnpackData fail" << endl; - break; - } - //cout << "IM_RSP_CHAT_GETPIC retcode: " << pRspPack->GetRetcode() << endl; - - ret = pRspPack->GetRetcode(); - delete(pPack); - break; - } - case IM_RSP_CHAT_GETCAL: - { - //cout << "get IM_RSP_CHAT_GETCAL " << endl; - CImRspChatGetcal *pRspPack; - pPack = new(CImRspChatGetcal); - pRspPack = (CImRspChatGetcal*)pPack; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspChatGetcal.UnpackData fail" << endl; - break; - } - //cout << "IM_RSP_CHAT_GETCAL retcode: " << pRspPack->GetRetcode() << endl; - - ret = pRspPack->GetRetcode(); - delete(pPack); - break; - } - case IM_RSP_GETBLACK: - { - ret = 0; - break; - } - case IM_RSP_GETREVBLACK: - { - ret = 0; - break; - } - case IM_RSP_CHAT_GETTXT: - { - //cout << "get IM_RSP_CHAT_GETTXT " << endl; - CImRspChatGettxt *pRspPack; - pPack = new(CImRspChatGettxt); - pRspPack = (CImRspChatGettxt*)pPack; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspChatGettxt.UnpackData fail" << endl; - break; - } - //cout << "IM_RSP_CHAT_GETTXT retcode: " << pRspPack->GetRetcode() << endl; - ret = pRspPack->GetRetcode(); - delete(pPack); - break; - } - default: - //cout << "There is no Handler for command: " << cmdStr << endl; - //cout << "username:" << m_username << " password:" << m_password << endl; - break; - } - //*p = pPack; - return ret; -} - -string CWWSimulator::ReceivePack() -{ - return ReceivePack(m_socketFD); -} - -string CWWSimulator::ReceivePack(uint32_t fd) -{ - if(fd == 0) - { - cout << "recv fd = 0" << endl; - return "error"; - } - char recvBuf[MAXDATASIZE]; - - string strPack; - string strTemp; - - uint32_t recvLen = 0; - uint32_t totalLen = 0; - uint32_t packSize = 0; - uint32_t storageLen; - storageLen = m_strStorage.size(); - - if(storageLen > 0) - { - packSize = UnPackhdr(m_strStorage); - if(packSize <= storageLen) - { - strPack = m_strStorage.substr(0,packSize); - m_strStorage = m_strStorage.substr(packSize); - return strPack; - } - } - - m_bIsReceiving = true; - - while(m_bIsReceiving) - { - do - { - recvLen = recv(fd, recvBuf, MAXDATASIZE, 0); - } - while(recvLen== -1 && errno == EINTR); - - if(recvLen == 0) - { - fprintf(stderr,"fd closed by peer! recv ret == 0, fd == %d sessionid == %s - %m\n",fd,m_verb_sessionid.c_str()); - close(fd); - //m_bIsReceiving = false; - break; - } - else if(recvLen == -1) - { - fprintf(stderr,"recv error!recvLen == -1, fd == %d - %m\n",fd); - close(fd); - //Detach(); - //m_bIsReceiving = false; - //fprintf(stderr,"recv error! - %m"); - break; - } - - strTemp.assign(recvBuf, recvLen); - strTemp = m_strStorage + strTemp; - - totalLen = strTemp.size(); - packSize = UnPackhdr(strTemp); - - if(packSize == -1)//包头没有接收完整 - { - m_strStorage = strTemp; - strTemp.erase(); - continue; - } - - totalLen = strTemp.size(); - if(totalLen == packSize) - { - strPack = strTemp; - strTemp.erase(); - m_strStorage.erase(); - } - else if(totalLen < packSize) - { - m_strStorage = strTemp; - strTemp.erase(); - continue; - } - else //totalLen > packSize - { - strPack = strTemp.substr(0, packSize); - m_strStorage = strTemp.substr(packSize); - strTemp.erase(); - } - - return strPack; - //HandlePack(strPack); - } -} -uint32_t CWWSimulator::UnPackhdr(string& pack) -{ - - CScHead hdr; - if(PACK_RIGHT != hdr.UnpackData(pack)) - { - //cout << "hdr Unpack data error,In ReceivePack" << endl; - return -1; - } - - uint32_t packSize = hdr.SizeExt() + hdr.m_len; - return packSize; - -} - -uint16_t CWWSimulator::login(string& msg) -{ - char *cmsg = (char*)malloc(1024); - string recvPack; - void *ppPack; - Connect(); - - Commander(IM_REQ_CHECKVERSION); - //cout << "==============after send IM_REQ_CHECKVERSION get 1st pack " << endl; - recvPack = ReceivePack(); - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_CHECKVERSION failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - - Commander(IM_REQ_PRELOGIN); - //cout << "==============after send IM_REQ_PRELOGIN get 1st pack " << endl; - recvPack = ReceivePack(); - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - //cout << "==============after send IM_REQ_PRELOGIN get 2nd pack " << endl; - recvPack = ReceivePack(); - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - //cout << "==============after send IM_REQ_PRELOGIN get 3rd pack " << endl; - recvPack = ReceivePack(); - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - //cout << "==============after send IM_REQ_PRELOGIN get 4th pack " << endl; - recvPack = ReceivePack(); - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - - Commander(IM_REQ_POSTLOGIN); - //cout << "==============after send IM_REQ_POSTLOGIN get 1st pack " << endl; - recvPack = ReceivePack(); - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - //cout << "==============after send IM_REQ_POSTLOGIN get 2nd pack " << endl; - recvPack = ReceivePack(); - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - free(cmsg); - return ret; -} - -uint16_t CWWSimulator::sendIMMessage(string& msg) -{ - char *cmsg = (char*)malloc(1024); - void* ppPack; - string recvPack; - Commander(IM_REQ_SENDIMMESSAGE); - //cout << "==============after send IM_REQ_SENDIMMESSAGE get 1st pack " << endl; - recvPack = ReceivePack(); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_SENDIMMESSAGE failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - free(cmsg); - return ret; -} - -uint16_t CWWSimulator::createSession(string& msg) -{ - char *cmsg = (char*)malloc(1024); - if(!m_bIsConnected) - { - //cout << "before getwebsession must be login on" << endl; - } - - void* ppPack; - string recvPack; - Commander(IM_REQ_GETWEB_SESSION); - //cout << "==============after send IM_REQ_GETWEB_SESSION get 1st pack " << endl; - recvPack = ReceivePack(); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_GETWEB_SESSION failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - free(cmsg); - return ret; -} - -uint16_t CWWSimulator::chatPidfy(string& msg) -{ - char *cmsg = (char*)malloc(1024); - void* ppPack; - string recvPack; - Commander(IM_REQ_CHAT_CHKVER); - //cout << "==============after send IM_REQ_CHAT_CHKVER get 1st pack " << endl; - recvPack = ReceivePack(m_tpfsFD); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - Commander(IM_REQ_CHAT_PREIDENTIFY); - //cout << "==============after send IM_REQ_CHAT_PREIDENTIFY get 1st pack " << endl; - recvPack = ReceivePack(m_tpfsFD); - - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_CHAT_CHKVER failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - free(cmsg); - return ret; -} - -//uint16_t CWWSimulator::chatPutpic(const string & picdata, string& msg) -uint16_t CWWSimulator::chatPutpic(const char* picdata, string& msg) -{ - char *cmsg = (char*)malloc(1024); - void* ppPack; - string recvPack; - Commander(IM_REQ_CHAT_PUTPIC, picdata); - //cout << "==============after send IM_REQ_CHAT_PUTPIC get 1st pack " << endl; - recvPack = ReceivePack(m_tpfsFD); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_CHAT_PUTPIC failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - } - free(cmsg); - return ret; -} - -uint16_t CWWSimulator::chatGetpic(const char* picName, string& msg) -{ - void* ppPack; - string recvPack; - Commander(IM_REQ_CHAT_GETPIC, picName); - //cout << "==============after send IM_REQ_CHAT_GETPIC get 1st pack " << endl; - recvPack = ReceivePack(m_tpfsFD); - if(recvPack.size()<24) - { - return -1; - } - - uint16_t ret = HandlePack(recvPack, &ppPack); - /* - 辛树对这个接å£çš„返回值处ç†è¿‡ï¼Œå¦‚果图片没找到会返回8091 - 这个错误代ç åªé’ˆå¯¹æ€§èƒ½æµ‹è¯•ï¼Œæ€§èƒ½æµ‹è¯•è®¤ä¸º8091å’Œ0一样算æˆåŠŸ - */ - - if(ret != 0 && ret != 8091 ) - { - char cmsg[1024]; - sprintf(cmsg,"IM_REQ_CHAT_GETPIC failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - return ret; - } - return ret; -} - -uint16_t CWWSimulator::chatGetcal(const char* fromid, const char* toid, const char* startDate, const char* endDate, string& msg) -{ - char *cmsg = (char*)malloc(1024); - void* ppPack; - string recvPack; - Commander(IM_REQ_CHAT_GETCAL,fromid,toid,startDate,endDate); - //cout << "==============after send IM_REQ_CHAT_GETCAL get 1st pack " << endl; - recvPack = ReceivePack(m_tpfsFD); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_CHAT_GETCAL failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - free(cmsg); - return ret; -} - -uint16_t CWWSimulator::chatGettxt(const char* fromid, const char* toid, uint64_t startTime, uint64_t endTime, string& msg) -{ - char *cmsg = (char*)malloc(1024); - void* ppPack; - Commander(IM_REQ_CHAT_GETTXT, fromid, toid, startTime, endTime, 100); - //cout << "==============after send IM_REQ_CHAT_GETTXT get 1st pack " << endl; - string recvPack; - recvPack = ReceivePack(m_tpfsFD); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_CHAT_GETTXT failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - /* - CImRspChatGettxt *pPack; - do{ - recvPack = ReceivePack(m_tpfsFD); - pPack = (CImRspChatGettxt *)HandlePack(recvPack); - }while(pPack->GetIslast() == 0); - */ - free(cmsg); - return ret; -} - -void CWWSimulator::Detach(void) -{ - //char *cmsg = (char*)malloc(1024); - //void* ppPack; - //Commander(IM_REQ_LOGOFF); - //string recvPack; - //recvPack = ReceivePack(); - //uint16_t ret = HandlePack(recvPack, &ppPack); - if(m_socketFD != -1) - { - close(m_socketFD); - m_socketFD = -1; - m_bIsConnected = false; - } - //if(m_tpfsFD) - { - close(m_tpfsFD); - } - //free(cmsg); -} - -/* - void CWWSimulator::StopReceiving(void) - { - if(m_bIsReceiving) - { - Detach(); - pthread_join(m_recvThreadID, NULL); - } - } - */ diff --git a/features/aliww/source/.svn/text-base/CWWSimulator.cpp.svn-base b/features/aliww/source/.svn/text-base/CWWSimulator.cpp.svn-base deleted file mode 100644 index aabb606..0000000 --- a/features/aliww/source/.svn/text-base/CWWSimulator.cpp.svn-base +++ /dev/null @@ -1,1221 +0,0 @@ -/* * ===================================================================================== * * - * - * Filename: CWWSimulator.cpp - * Description: - * - * Version: 1.0 - * Created: 2010å¹´12月14æ—¥ 16æ—¶48分09秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "CWWSimulator.h" -#include "sc_head.h" -#include "imsc_cmd.h" -#include "imsc_pack.h" -#include "imsc_cmd_2Str.h" -#include "RSAWrapper.h" -#include "md5hash.h" -#include -#include -#include - -using namespace std; - -char* CWWSimulator::GetRandStr() -{ - char cstr[512]; - memset(cstr,0,512); - sprintf(cstr,"%s%d%s%d%ld",m_username.c_str(),rand(),m_password.c_str(),rand(),time(0)); - return cstr; -} - -string CWWSimulator::GetUUID() -{ - char cstr[512]; - memset(cstr,0,512); - sprintf(cstr,"%s%d%s%d%ld",m_username.size()>0?m_username.c_str():"no_name",rand(),m_password.size()>0?m_password.c_str():"no_pass",rand(),time(0)); - return string(cstr); -} - -CWWSimulator::CWWSimulator() -{ - srand(time(0)); - m_bIsConnected = false; - m_bIsReceiving = false; -} - -CWWSimulator::CWWSimulator(string& username, string& password, string version, string imServerIP, uint16_t port): - m_username(username), m_password(password), m_version(version), m_imServerIP(imServerIP), m_port(port) -{ - srand(time(0)); - m_bIsConnected = false; - m_bIsReceiving = false; - -} -CWWSimulator::~CWWSimulator() -{ - //Detach(); -} -void CWWSimulator::SetUser(string& username, string& password) -{ - m_username = username; - m_password = password; -} -void CWWSimulator::SetSessionNo(string& sessionNo) -{ - /* - tpfs测时时,tpfsæœåŠ¡å™¨å¯¹sessionno的验è¯åšäº†mock - 使得当sessionno是AAA开头的string时验è¯è‚¯å®šé€šè¿‡ - */ - //m_sessionno = "AAATESTSESSIONKEY"; - m_sessionno = sessionNo; -} - -void CWWSimulator::SetServerIP(string& imServerIP, uint16_t port) -{ - m_imServerIP = imServerIP; - m_port = port; -} -void CWWSimulator::SetTpfsIP(string& imServerIP, uint16_t port) -{ - m_tpfsIP = imServerIP; - m_tpfs_port = port; -} -void CWWSimulator::SetClient(string& version, uint32_t language) -{ - m_version = version; - m_clientLanguage = language; -} -/* -用真实密ç ç™»å½• -tokenFlag = TOKEN_FLAG = 0; -用token登录 -tokenFlag = TOKEN_FLAG = 1; -*/ -void CWWSimulator::SetStatus(uint8_t tokenFlag, int loginState) -{ - m_tokenFlag = tokenFlag; - m_nLoginState = loginState; -} - -bool CWWSimulator::ConnectTpfs(void) -{ - return Connect(m_tpfsFD,m_tpfsIP,m_tpfs_port); -} - -bool CWWSimulator::Connect(void) -{ - return Connect(m_socketFD,m_imServerIP,m_port); -} - -void setblocking(int sock) -{ - int opts; - opts=fcntl(sock,F_GETFL); - if(opts<0) - { - printf("fcntl(sock,GETFL)\n"); - exit(1); - } - opts = opts & (~O_NONBLOCK); - if(fcntl(sock,F_SETFL,opts)<0) - { - printf("fcntl(sock,SETFL,opts)\n"); - exit(1); - } -} - -bool CWWSimulator::Connect(uint32_t& fd, string ip, uint16_t port) -{ - uint32_t sockfd; - struct sockaddr_in server_addr; - - sockfd = socket(AF_INET, SOCK_STREAM, 0); - - server_addr.sin_family = AF_INET; - server_addr.sin_addr.s_addr = inet_addr(ip.c_str()); - server_addr.sin_port = htons(port); - - //cout << "serverIP: " << ip.c_str() << endl; - //cout << "port: " << port << endl; - if( (connect(sockfd, (struct sockaddr*)&server_addr, sizeof(server_addr))) != -1) - { - fd = sockfd; - setblocking(sockfd); - m_bIsConnected = true; - cout << "Server connected" << endl; - return true; - } - else - { - cout << "connect server failed" << endl; - m_bIsConnected = false; - perror("connect error!"); - return false; - } - -} - -bool CWWSimulator::SendPack(string& pack) -{ - return SendPack(pack, m_socketFD); -} - -bool CWWSimulator::SendPack(string& pack, uint32_t fd) -{ - uint32_t sendLen = 0; - uint32_t totalLen = 0; - uint32_t packSize = pack.size(); - while(packSize != totalLen) - { - sendLen = write(fd, const_cast(pack.c_str())+totalLen, packSize-totalLen); - totalLen += sendLen; - if(sendLen <= 0) - { - fprintf(stderr,"write fd err . fd == %d - %m",fd); - return false; - } - } - return true; -} - -bool CWWSimulator::StartReceiving() -{ - return StartReceiving(m_socketFD); -} - -bool CWWSimulator::StartReceiving(uint32_t fd) -{ - if(m_bIsConnected != true) - { - //cout<< "begin connect server" < vecTimeStamp; - long dwTimeStamps[16] = {0}; - for (int i=0;i<16;i++) vecTimeStamp.push_back(dwTimeStamps[i]); - reqLogin.SetTimestampList(vecTimeStamp); - VECTOR sHardCodeArray; - string sAllHardCode = "D85F450B524F2B3E20D663198181C601"; - reqLogin.SetHardcode(sHardCodeArray); - reqLogin.SetHardcheck(sAllHardCode); - string rid = "pcid=c4e0284ea47a400c814443c4771696c1"; - reqLogin.SetRid(rid); - reqLogin.PackData(m_loginstr,m_strkey); - break; - } - case IM_REQ_PRELOGIN: - { - Commander(IM_REQ_LOGIN); - CImReqPrelogin reqPrelogin; - reqPrelogin.SetConnectNo(m_connectNO); - string strRsaResult;//用æœåŠ¡ä¼ å›žçš„pubkey å°†m_usermd5str加密一下 - - int nRet = RSA_PublicEncrypt(m_pubkey.c_str(), m_pubkey.size(), - m_usermd5str.c_str(), m_usermd5str.size(), strRsaResult); - reqPrelogin.SetWorkKey(strRsaResult); - reqPrelogin.SetStrlogin(m_loginstr); - reqPrelogin.m_scHead.m_encrypt = 0; - string pack; - reqPrelogin.PackData(pack, m_strkey); - SendPack(pack); - //cout << "send IM_REQ_PRELOGIN " << endl; - break; - } - case IM_REQ_POSTLOGIN: - { - - CImReqPostlogin reqPostlogin; - reqPostlogin.SetPredefStatus(m_nLoginState& 0xff); - reqPostlogin.SetBasicStatus(m_nLoginState >> 16); - - string pack; - reqPostlogin.PackData(pack,m_strkey); - SendPack(pack); - //cout << "send IM_REQ_POSTLOGIN" << endl; - break; - } - case IM_REQ_CHGSTATUS: - { - uint64_t basicstatus = va_arg(ap, uint64_t); - uint64_t predefstatus = va_arg(ap, uint64_t); - CImReqChgstatus reqchgstatus; - reqchgstatus.SetBasicStatus(basicstatus); - reqchgstatus.SetPredefStatus(predefstatus); - string pack; - reqchgstatus.PackData(pack, m_strkey); - SendPack(pack); - break; - } - case IM_REQ_LOGOFF: - { - CImReqLogoff reqLogoff; - string pack; - reqLogoff.PackData(pack,m_strkey); - SendPack(pack); - //cout << "send IM_REQ_LOGOFF " << endl; - break; - } - case IM_REQ_GETWEB_SESSION: - { - CImReqGetwebSession reqgetws; - string pack; - reqgetws.PackData(pack,m_strkey); - SendPack(pack); - //cout << "send IM_REQ_GETWEB_SESSION" << endl; - break; - } - case IM_REQ_SENDIMMESSAGE: - { - string pack; - CImReqSendimmessage reqSendimmessage; - reqSendimmessage.SetTargetId("cntaobaojason3"); - reqSendimmessage.SetType(0x01);//是å¦å­˜ç¦»çº¿ 01å­˜ 00ä¸å­˜ - string msghead = "12345678"; - msghead[0] = 0x08; - msghead[1] = 0x00; - msghead[2] = 0x00; - msghead[3] = 0x00; - msghead[4] = 0x2F; - msghead[5] = 0x1F; - msghead[6] = 0x5D; - msghead[7] = 0x9E; - string msg = msghead + "\\C0\\S0xc.0xf0\\FArial\\TFrom CWWSimulator,In perf test"; - reqSendimmessage.SetMessage(msg); - reqSendimmessage.PackData(pack,m_strkey); - SendPack(pack); - //cout << "send IM_REQ_SENDIMMESSAGE" << endl; - break; - } - case IM_REQ_CHAT_CHKVER: - { - CImReqChatChkver reqchatcver; - reqchatcver.SetVersion(m_version); - reqchatcver.m_scHead.m_encrypt=0; - string pack; - reqchatcver.PackData(pack,""); - SendPack(pack,m_tpfsFD); - //cout << "send IM_REQ_CHAT_CHKVER" << endl; - break; - } - case IM_REQ_CHAT_IDENTIFY: - { - CImReqChatIdentify reqchatidf; - reqchatidf.m_scHead.m_reserved = 1; - reqchatidf.m_scHead.m_extdata = m_username; - reqchatidf.SetUid(m_username); - reqchatidf.SetVersion(m_version); - reqchatidf.SetSessionkey(m_sessionno); - //reqchatidf.SetSessionkey("AAATESTSESSIONKEY"); - - string randStr("xxxxxx"); - m_usermd5str = Md5Hash::GetMD5(m_username + m_password + randStr, true); - CDesEncrypt enc; - m_strkey = enc.SetKey(m_usermd5str); - - reqchatidf.PackData(m_tpfs_identifystr,m_strkey); - break; - } - case IM_REQ_CHAT_PREIDENTIFY: - { - Commander(IM_REQ_CHAT_IDENTIFY); - CImReqChatPreidentify reqchatpreidf; - string strRsaResult; - int nRet = RSA_PublicEncrypt(m_tpfs_pubkey.c_str(), m_tpfs_pubkey.size(), - m_usermd5str.c_str(), m_usermd5str.size(), strRsaResult); - reqchatpreidf.SetWorkKey(strRsaResult); - reqchatpreidf.SetConnectNo(m_tpfs_connectNO); - reqchatpreidf.SetStrlogin(m_tpfs_identifystr); - reqchatpreidf.m_scHead.m_encrypt = 0; - string pack; - reqchatpreidf.PackData(pack, m_strkey); - if(!SendPack(pack,m_tpfsFD)) - cout << "send IM_REQ_CHAT_PREIDENTIFY failed" << endl; - break; - } - case IM_REQ_CHAT_PUTPIC: - { - string pack; - string picdata = "111111111111111111112222222222222222222222333333333333333"; - //string picdata(va_arg(ap,char*)); - char cpicname[256] = {0}; - sprintf(cpicname,"%s_%d",Md5Hash::GetMD5(picdata).c_str(),picdata.length()); - string picname(cpicname); - CImReqChatPutpic reqChatPutpic; - - m_verb_sessionid = GetUUID(); - - reqChatPutpic.SetSessionid(m_verb_sessionid ); - - //reqChatPutpic.SetPickey("cc4d71902b6aea00782bb1e033cdba73_57"); - reqChatPutpic.SetPickey(picname); - reqChatPutpic.SetData(picdata); - reqChatPutpic.SetSize(picdata.size()); - reqChatPutpic.SetOffset(0); - reqChatPutpic.PackData(pack,m_strkey); - SendPack(pack,m_tpfsFD); - //cout << "send IM_REQ_CHAT_PUTPIC" << endl; - break; - } - case IM_REQ_CHAT_GETPIC: - { - char *cpicName = va_arg(ap,char *); - - string picName(cpicName); - string pack; - - CImReqChatGetpic reqChatGetpic; - m_verb_sessionid = GetUUID(); - - reqChatGetpic.SetSessionid(m_verb_sessionid); - //reqChatGetpic.SetPickey("cc4d71902b6aea00782bb1e033cdba73_57"); - reqChatGetpic.SetPickey(picName); - reqChatGetpic.PackData(pack,m_strkey); - - if(!SendPack(pack,m_tpfsFD)) - cout << "send IM_REQ_CHAT_GETPIC failed" << endl; - break; - } - case IM_REQ_CHAT_GETCAL: - { - string fromid(va_arg(ap,char*)); - string toid(va_arg(ap,char*)); - string startDate(va_arg(ap,char*)); - string endDate(va_arg(ap,char*)); - string pack; - - CImReqChatGetcal reqChatGetcal; - - m_verb_sessionid = GetUUID(); - reqChatGetcal.SetSessionid(m_verb_sessionid); - reqChatGetcal.SetUid(fromid); - reqChatGetcal.SetToid(toid); - reqChatGetcal.SetStartdate(startDate); - reqChatGetcal.SetEnddate(endDate); - //reqChatGetcal.SetToid("cntaobaoabc1999"); - //reqChatGetcal.SetStartdate("20110101"); - //reqChatGetcal.SetEnddate("20111111"); - reqChatGetcal.PackData(pack,m_strkey); - SendPack(pack,m_tpfsFD); - //cout << "send IM_REQ_CHAT_GETCAL" << endl; - break; - } - case IM_REQ_CHAT_GETTXT: - { - string fromid(va_arg(ap,char*)); - string toid(va_arg(ap, char*)); - - m_verb_sessionid = GetUUID(); - - CImReqChatGettxt reqchatgt; - reqchatgt.SetSessionid(m_verb_sessionid); - - reqchatgt.SetFromid(fromid); - reqchatgt.SetToid(toid); - reqchatgt.SetBegtime(va_arg(ap, uint64_t)); - reqchatgt.SetEndtime(va_arg(ap, uint64_t)); - reqchatgt.SetMsgnum(va_arg(ap, int)); - string pack; - reqchatgt.PackData(pack,m_strkey); - SendPack(pack, m_tpfsFD); - - //cout << "send IM_REQ_CHAT_GETTXT" << endl; - break; - } - case IM_REQ_UPDATE_UDBPROFILE: - { - string bloodType(va_arg(ap,char*)); - string mobileno(va_arg(ap, char*)); - map< string,string > m_profilelist; - m_profilelist.insert(map< string,string >::value_type("bloodType",bloodType)); - m_profilelist.insert(map< string,string >::value_type("mobileno",mobileno)); - CImReqUpdateUdbprofile req; - req.SetProfilelist(m_profilelist); - string pack; - req.PackData(pack, m_strkey); - SendPack(pack); - break; - } - default: - string cmdStr = IMSC_cmd2STR::IMSC_CMD_2STR(cmd); - //cout<< "There is no action for command:" << cmdStr << endl; - } - return ; -} - -uint16_t CWWSimulator::HandlePack(string& pack, void** p) -{ - void* pPack; - uint16_t ret = -1; - - CScHead hdr; - if(PACK_RIGHT != hdr.UnpackData(pack)) - { - //cout << "hdr Unpack failed,In HandlePack" << endl; - } - uint32_t cmd = hdr.m_cmd; - - string cmdStr = IMSC_cmd2STR::IMSC_CMD_2STR(cmd); - //cout << "cmd received: " << cmdStr <UnpackData(pack)) - { - //cout<<"CImRspCheckversion.UnpackData fail" << endl; - delete(pRspPack); - break; - } - //cout << "IM_RSP_CHECKVERSION retcode: " << pRspPack->GetRetcode() << endl; - m_connectNO = pRspPack->GetConnectNo(); - m_pubkey = pRspPack->GetPubkey(); - - ret = pRspPack->GetRetcode(); - delete(pRspPack); - break; - } - case IM_RSP_LOGIN: - { - //cout << "get IM_RSP_LOGIN " << endl; - CImRspLogin *pRspPack = new(CImRspLogin) ; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspLogin.UnpackData fail" << endl; - delete(pRspPack); - break; - } - //cout << "IM_RSP_LOGIN retcode: " << pRspPack->GetRetcode() << endl; - m_retcode = pRspPack->GetRetcode(); - m_dwTimeStampsFlag = pRspPack->GetTimestampFlag(); - m_strkey = pRspPack->GetWorkKey(); - CDesEncrypt enc; - m_strkey = enc.SetKey(m_strkey); - m_pwtoken = pRspPack->GetPwtoken(); - m_rid = pRspPack->GetRid(); - m_packRemark = pRspPack->GetRemark(); - ret = pRspPack->GetRetcode(); - delete(pRspPack); - break; - } - case IM_RSP_GETUSERINFO: - { - //cout << "get IM_RSP_GETUSERINFO" << endl; - ret = 0; - break; - } - case IM_RSP_GETGROUP: - { - //cout << "get IM_RSP_GETGROUP " << endl; - CImRspGetgroup *pRspPack = new(CImRspGetgroup) ; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspGetgroup.UnpackData fail" << endl; - delete(pRspPack); - break; - } - pRspPack->GetRetcode(); - pRspPack->GetGroupList(); - ret = pRspPack->GetRetcode(); - delete(pRspPack); - break; - } - case IM_RSP_GETCONTACT: - { - cout << "get IM_RSP_GETCONTACT " << endl; - CImRspGetcontact *pRspPack = new(CImRspGetcontact) ; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - cout<<"CImRspGetcontact.UnpackData fail" << endl; - delete(pRspPack); - break; - } - pRspPack->GetRetcode(); - VECTOR m_contactList = pRspPack->GetContactList(); - - cout <<" get contact count:"<< m_contactList.size() <GetRetcode(); - break; - } - case IM_NTF_STATUS: - { - cout << "get IM_NTF_STATUS " << endl; - CImNtfStatus *pRspPack = new(CImNtfStatus) ; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - cout<<"CImNtfStatus.UnpackData fail" << endl; - delete(pRspPack); - break; - } - VECTOR< SUserStatus > m_userStatusList = pRspPack->GetUserStatusList(); - - cout <<" get contact count:"<< m_userStatusList.size() <UnpackData(pack,m_strkey)) - { - //cout<<"CImRspLogoff.UnpackData fail" << endl; - delete(pRspPack); - break; - } - //cout << "IM_RSP_LOGOFF retcode: " << pRspPack->GetRetcode()<GetRetcode(); - delete(pRspPack); - break; - } - case IM_RSP_CHAT_IDENTIFY: - { - //cout << "get IM_RSP_CHAT_IDENTIFY " << endl; - CImRspChatIdentify *pRspPack = new(CImRspChatIdentify); - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspChatIdentify.UnpackData fail" << endl; - delete(pRspPack); - break; - } - //cout << "IM_RSP_CHAT_IDENTIFY retcode: " << pRspPack->GetRetcode() << endl; - ret = pRspPack->GetRetcode(); - delete(pRspPack); - break; - } - case IM_RSP_GETWEB_SESSION: - { - //cout << "get IM_RSP_GETWEB_SESSION" << endl; - CImRspGetwebSession *pRspPack = new(CImRspGetwebSession); - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspGetwebSession.UnpackData fail" << endl; - delete(pRspPack); - break; - } - //cout << "IM_RSP_GETWEB_SESSION retcode: " << pRspPack->GetRetcode() << endl; - //cout << "Get session NO : " << pRspPack->GetSessionNo() << endl; - m_sessionno = pRspPack->GetSessionNo(); - ret = pRspPack->GetRetcode(); - delete(pRspPack); - break; - } - case IM_RSP_CHAT_CHKVER: - { - //cout << "get IM_RSP_CHAT_CHKVER " << endl; - CImRspChatChkver *pRspPack = new(CImRspChatChkver); - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspChatChkver.UnpackData fail" << endl; - delete(pRspPack); - break; - } - //cout << "IM_RSP_CHAT_CHKVER retcode: " << pRspPack->GetRetcode() << endl; - m_tpfs_connectNO = pRspPack->GetConnectNo(); - m_tpfs_pubkey = pRspPack->GetPubkey(); - ret = pRspPack->GetRetcode(); - delete(pRspPack); - break; - } - case IM_RSP_CHAT_PUTPIC: - { - //cout << "get IM_RSP_CHAT_PUTPIC" << endl; - CImRspChatPutpic *pRspPack=new(CImRspChatPutpic); - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspChatPutpic.UnpackData fail" << endl; - delete(pRspPack); - break; - } - //cout << "IM_RSP_CHAT_PUTPIC retcode: " << pRspPack->GetRetcode() << endl; - ret = pRspPack->GetRetcode(); - delete(pRspPack); - break; - } - case IM_RSP_CHAT_GETPIC: - { - //cout << "get IM_RSP_CHAT_GETPIC " << endl; - CImRspChatGetpic *pRspPack = new(CImRspChatGetpic); - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - cout<<"CImRspChatGetpic.UnpackData fail" << endl; - delete(pRspPack); - break; - } - //cout << "IM_RSP_CHAT_GETPIC retcode: " << pRspPack->GetRetcode() << endl; - - ret = pRspPack->GetRetcode(); - delete(pRspPack); - break; - } - case IM_RSP_CHAT_GETCAL: - { - //cout << "get IM_RSP_CHAT_GETCAL " << endl; - CImRspChatGetcal *pRspPack = new(CImRspChatGetcal); - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspChatGetcal.UnpackData fail" << endl; - delete(pRspPack); - break; - } - //cout << "IM_RSP_CHAT_GETCAL retcode: " << pRspPack->GetRetcode() << endl; - - ret = pRspPack->GetRetcode(); - delete(pRspPack); - break; - } - case IM_RSP_GETBLACK: - { - ret = 0; - break; - } - case IM_RSP_GETREVBLACK: - { - ret = 0; - break; - } - case IM_RSP_CHAT_GETTXT: - { - //cout << "get IM_RSP_CHAT_GETTXT " << endl; - CImRspChatGettxt *pRspPack = new(CImRspChatGettxt); - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspChatGettxt.UnpackData fail" << endl; - delete(pRspPack); - break; - } - //cout << "IM_RSP_CHAT_GETTXT retcode: " << pRspPack->GetRetcode() << endl; - ret = pRspPack->GetRetcode(); - delete(pRspPack); - break; - } - case IM_RSP_UPDATE_UDBPROFILE: - { - //cout << "get IM_RSP_LOGOFF " << endl; - CImRspUpdateUdbprofile *pRspPack = new(CImRspUpdateUdbprofile); - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspUpdateUdbprofile.UnpackData fail" << endl; - delete(pRspPack); - break; - } - ret = pRspPack->GetRetcode(); - delete(pRspPack); - break; - } - default: - //cout << "There is no Handler for command: " << cmdStr << endl; - //cout << "username:" << m_username << " password:" << m_password << endl; - break; - } - //*p = pPack; - return ret; -} - -string CWWSimulator::ReceivePack() -{ - return ReceivePack(m_socketFD); -} - -string CWWSimulator::ReceivePack(uint32_t fd) -{ - if(fd == 0) - { - cout << "recv,but fd = 0" << endl; - return "error"; - } - char *recvBuf=new char[MAXDATASIZE]; - - string strPack; - string strTemp; - - uint32_t recvLen = 0; - uint32_t totalLen = 0; - uint32_t packSize = 0; - uint32_t storageLen; - storageLen = m_strStorage.size(); - - if(storageLen > 0) - { - packSize = UnPackhdr(m_strStorage); - if(packSize<=0) - { - fprintf(stderr,"UnPackhdr failed fd == %d\n",fd); - close(fd); - delete[] recvBuf;recvBuf=NULL; - return "error"; - - } - - if(packSize <= storageLen) - { - strPack = m_strStorage.substr(0,packSize); - m_strStorage = m_strStorage.substr(packSize); - delete[] recvBuf;recvBuf=NULL; - return strPack; - } - } - - m_bIsReceiving = true; - - while(m_bIsReceiving) - { - do - { - recvLen = recv(fd, recvBuf, MAXDATASIZE, 0); - } - while(recvLen== -1 && errno == EINTR); - - if(recvLen == 0) - { - fprintf(stderr,"fd closed by peer! recv ret == 0, fd == %d sessionid == %s - %m\n",fd,m_verb_sessionid.c_str()); - close(fd); - //m_bIsReceiving = false; - break; - } - else if(recvLen == -1) - { - fprintf(stderr,"recv error!recvLen == -1, fd == %d - %m\n",fd); - close(fd); - //Detach(); - //m_bIsReceiving = false; - //fprintf(stderr,"recv error! - %m"); - break; - } - - strTemp.assign(recvBuf, recvLen); - strTemp = m_strStorage + strTemp; - - totalLen = strTemp.size(); - packSize = UnPackhdr(strTemp); - - if(packSize == -1)//包头没有接收完整 - { - m_strStorage = strTemp; - strTemp.erase(); - continue; - } - - totalLen = strTemp.size(); - if(totalLen == packSize) - { - strPack = strTemp; - strTemp.erase(); - m_strStorage.erase(); - } - else if(totalLen < packSize) - { - m_strStorage = strTemp; - strTemp.erase(); - continue; - } - else //totalLen > packSize - { - strPack = strTemp.substr(0, packSize); - m_strStorage = strTemp.substr(packSize); - strTemp.erase(); - } - delete[] recvBuf;recvBuf=NULL; - return strPack; - //HandlePack(strPack); - } - delete[] recvBuf;recvBuf=NULL; -} -uint32_t CWWSimulator::UnPackhdr(string& pack) -{ - - CScHead hdr; - if(PACK_RIGHT != hdr.UnpackData(pack)) - { - //cout << "hdr Unpack data error,In ReceivePack" << endl; - return -1; - } - - uint32_t packSize = hdr.SizeExt() + hdr.m_len; - return packSize; - -} - -uint16_t CWWSimulator::login(string& msg) -{ - char *cmsg = (char*)malloc(1024); - string recvPack; - void *ppPack; - Connect(); - - Commander(IM_REQ_CHECKVERSION); - //cout << "==============after send IM_REQ_CHECKVERSION get 1st pack " << endl; - recvPack = ReceivePack(); - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_CHECKVERSION failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - - Commander(IM_REQ_PRELOGIN); - //cout << "==============after send IM_REQ_PRELOGIN get 1st pack " << endl; - recvPack = ReceivePack(); - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - //cout << "==============after send IM_REQ_PRELOGIN get 2nd pack " << endl; - recvPack = ReceivePack(); - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - //cout << "==============after send IM_REQ_PRELOGIN get 3rd pack " << endl; - recvPack = ReceivePack(); - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - //cout << "==============after send IM_REQ_PRELOGIN get 4th pack " << endl; - recvPack = ReceivePack(); - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - - Commander(IM_REQ_POSTLOGIN); - //cout << "==============after send IM_REQ_POSTLOGIN get 1st pack " << endl; - recvPack = ReceivePack(); - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - //cout << "==============after send IM_REQ_POSTLOGIN get 2nd pack " << endl; - recvPack = ReceivePack(); - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - free(cmsg); - return ret; -} - -uint16_t CWWSimulator::sendIMMessage(string& msg) -{ - char *cmsg = (char*)malloc(1024); - void* ppPack; - string recvPack; - Commander(IM_REQ_SENDIMMESSAGE); - //cout << "==============after send IM_REQ_SENDIMMESSAGE get 1st pack " << endl; - recvPack = ReceivePack(); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_SENDIMMESSAGE failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - free(cmsg); - return ret; -} -/* - å˜æ›´ç”¨æˆ·çŠ¶æ€ï¼Œå¦‚éšèº«ï¼Œå‚数详细定义è§æœåŠ¡å™¨ç«¯ä»£ç /imconstdef.h - BaseLib/public/include -*/ -uint16_t CWWSimulator::chgStatus(int basicstatus,int predefstatus,string& msg) -{ - void* ppPack; - Commander(IM_REQ_CHGSTATUS,basicstatus,predefstatus); - //cout << "==============after send IM_REQ_CHGSTATUS get 1st pack " << endl; - return 0; -} -uint16_t CWWSimulator::chgStatus_recieve(string& msg) -{ - char *cmsg = (char*)malloc(1024); - string recvPack; - void* ppPack; - recvPack = ReceivePack(); - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"chgstatus rsp failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - free(cmsg); - return ret; -} - -uint16_t CWWSimulator::createSession(string& msg) -{ - char *cmsg = (char*)malloc(1024); - if(!m_bIsConnected) - { - //cout << "before getwebsession must be login on" << endl; - } - - void* ppPack; - string recvPack; - Commander(IM_REQ_GETWEB_SESSION); - //cout << "==============after send IM_REQ_GETWEB_SESSION get 1st pack " << endl; - recvPack = ReceivePack(); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_GETWEB_SESSION failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - free(cmsg); - return ret; -} - -uint16_t CWWSimulator::chatPidfy(string& msg) -{ - char cmsg[512]; - void* ppPack; - string recvPack; - Commander(IM_REQ_CHAT_CHKVER); - //cout << "==============after send IM_REQ_CHAT_CHKVER get 1st pack " << endl; - recvPack = ReceivePack(m_tpfsFD); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - return ret; - } - Commander(IM_REQ_CHAT_PREIDENTIFY); - //cout << "==============after send IM_REQ_CHAT_PREIDENTIFY get 1st pack " << endl; - recvPack = ReceivePack(m_tpfsFD); - - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ) - { - sprintf(cmsg,"IM_REQ_CHAT_CHKVER failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - return ret; - } - return ret; -} - -uint16_t CWWSimulator::chatPutpic(const char* picdata, string& msg) -{ - void* ppPack; - Commander(IM_REQ_CHAT_PUTPIC, picdata); - //cout << "==============after send IM_REQ_CHAT_PUTPIC get 1st pack " << endl; - string recvPack = ReceivePack(m_tpfsFD); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - char cmsg[1024]; - sprintf(cmsg,"IM_REQ_CHAT_PUTPIC failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - } - return ret; -} - -uint16_t CWWSimulator::chatGetpic(const char* picName, string& msg) -{ - void* ppPack; - string recvPack; - Commander(IM_REQ_CHAT_GETPIC, picName); - //cout << "==============after send IM_REQ_CHAT_GETPIC get 1st pack " << endl; - recvPack = ReceivePack(m_tpfsFD); - if(recvPack.size()<24) - { - return -1; - } - - uint16_t ret = HandlePack(recvPack, &ppPack); - /* - 辛树对这个接å£çš„返回值处ç†è¿‡ï¼Œå¦‚果图片没找到会返回8091 - 这个错误代ç åªé’ˆå¯¹æ€§èƒ½æµ‹è¯•ï¼Œæ€§èƒ½æµ‹è¯•è®¤ä¸º8091å’Œ0一样算æˆåŠŸ - */ - - if(ret != 0 && ret != 8091 ) - { - char cmsg[1024]; - sprintf(cmsg,"IM_REQ_CHAT_GETPIC failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - return ret; - } - return ret; -} - -uint16_t CWWSimulator::chatGetcal(const char* fromid, const char* toid, const char* startDate, const char* endDate, string& msg) -{ - void* ppPack; - string recvPack; - Commander(IM_REQ_CHAT_GETCAL,fromid,toid,startDate,endDate); - //cout << "==============after send IM_REQ_CHAT_GETCAL get 1st pack " << endl; - recvPack = ReceivePack(m_tpfsFD); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ) - { - char cmsg[256]; - sprintf(cmsg,"IM_REQ_CHAT_GETCAL failed,ret:%d,username:%s,toid:%s\n",ret,fromid,toid); - msg = cmsg; - return ret; - } - return ret; -} - -uint16_t CWWSimulator::chatGettxt(const char* fromid, const char* toid, uint64_t startTime, uint64_t endTime, string& msg) -{ - char cmsg[512]; - void* ppPack; - Commander(IM_REQ_CHAT_GETTXT, fromid, toid, startTime, endTime, 100); - //cout << "==============after send IM_REQ_CHAT_GETTXT get 1st pack " << endl; - string recvPack; - recvPack = ReceivePack(m_tpfsFD); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_CHAT_GETTXT failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - return ret; - } - /* - CImRspChatGettxt *pPack; - do{ - recvPack = ReceivePack(m_tpfsFD); - pPack = (CImRspChatGettxt *)HandlePack(recvPack); - }while(pPack->GetIslast() == 0); - */ - return ret; -} -uint16_t CWWSimulator::updateUserprofile(const char * bloodType,const char * mobileno,string& msg) -{ - char *cmsg = (char*)malloc(1024); - void* ppPack; - string recvPack; - Commander(IM_RSP_UPDATE_UDBPROFILE,bloodType,mobileno); - recvPack = ReceivePack(); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_RSP_UPDATE_UDBPROFILE failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - free(cmsg); - return ret; -} - -void CWWSimulator::Detach(void) -{ - //char *cmsg = (char*)malloc(1024); - //void* ppPack; - //Commander(IM_REQ_LOGOFF); - //string recvPack; - //recvPack = ReceivePack(); - //uint16_t ret = HandlePack(recvPack, &ppPack); - if(m_socketFD != -1) - { - close(m_socketFD); - m_socketFD = -1; - m_bIsConnected = false; - } - //if(m_tpfsFD) - { - close(m_tpfsFD); - } - //free(cmsg); -} - -/* - void CWWSimulator::StopReceiving(void) - { - if(m_bIsReceiving) - { - Detach(); - pthread_join(m_recvThreadID, NULL); - } - } - */ diff --git a/features/aliww/source/.svn/text-base/DBStruct.cpp.svn-base b/features/aliww/source/.svn/text-base/DBStruct.cpp.svn-base deleted file mode 100644 index 077643b..0000000 --- a/features/aliww/source/.svn/text-base/DBStruct.cpp.svn-base +++ /dev/null @@ -1,180 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `DBStruct.ice' - -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -void -AliDDB::__write(::IceInternal::BasicStream* __os, const ::AliDDB::KVMap& v, ::AliDDB::__U__KVMap) -{ - __os->writeSize(::Ice::Int(v.size())); - ::AliDDB::KVMap::const_iterator p; - for(p = v.begin(); p != v.end(); ++p) - { - __os->write(p->first); - __os->write(p->second); - } -} - -void -AliDDB::__read(::IceInternal::BasicStream* __is, ::AliDDB::KVMap& v, ::AliDDB::__U__KVMap) -{ - ::Ice::Int sz; - __is->readSize(sz); - while(sz--) - { - ::std::pair pair; - __is->read(const_cast< ::std::string&>(pair.first)); - ::AliDDB::KVMap::iterator __i = v.insert(v.end(), pair); - __is->read(__i->second); - } -} - -void -AliDDB::__write(::IceInternal::BasicStream* __os, const ::AliDDB::KVMap* begin, const ::AliDDB::KVMap* end, ::AliDDB::__U__KVMapSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - ::AliDDB::__write(__os, begin[i], ::AliDDB::__U__KVMap()); - } -} - -void -AliDDB::__read(::IceInternal::BasicStream* __is, ::AliDDB::KVMapSeq& v, ::AliDDB::__U__KVMapSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 1); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - ::AliDDB::__read(__is, v[i], ::AliDDB::__U__KVMap()); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliDDB::DBRecord::operator==(const DBRecord& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliDDB::DBRecord::operator!=(const DBRecord& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(fields != __rhs.fields) - { - return true; - } - if(blobField != __rhs.blobField) - { - return true; - } - return false; -} - -bool -AliDDB::DBRecord::operator<(const DBRecord& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(fields < __rhs.fields) - { - return true; - } - else if(__rhs.fields < fields) - { - return false; - } - if(blobField < __rhs.blobField) - { - return true; - } - else if(__rhs.blobField < blobField) - { - return false; - } - return false; -} - -void -AliDDB::DBRecord::__write(::IceInternal::BasicStream* __os) const -{ - ::AliDDB::__write(__os, fields, ::AliDDB::__U__KVMap()); - if(blobField.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliDDB::__write(__os, &blobField[0], &blobField[0] + blobField.size(), ::AliDDB::__U__KVMapSeq()); - } -} - -void -AliDDB::DBRecord::__read(::IceInternal::BasicStream* __is) -{ - ::AliDDB::__read(__is, fields, ::AliDDB::__U__KVMap()); - ::AliDDB::__read(__is, blobField, ::AliDDB::__U__KVMapSeq()); -} - -void -AliDDB::__write(::IceInternal::BasicStream* __os, const ::AliDDB::DBRecord* begin, const ::AliDDB::DBRecord* end, ::AliDDB::__U__DBRecordSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliDDB::__read(::IceInternal::BasicStream* __is, ::AliDDB::DBRecordSeq& v, ::AliDDB::__U__DBRecordSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 2); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} diff --git a/features/aliww/source/.svn/text-base/DDBInterface.cpp.svn-base b/features/aliww/source/.svn/text-base/DDBInterface.cpp.svn-base deleted file mode 100644 index b18ce40..0000000 --- a/features/aliww/source/.svn/text-base/DDBInterface.cpp.svn-base +++ /dev/null @@ -1,1991 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `DDBInterface.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliDDB__AliDDBInterface__insertRecord_name = "insertRecord"; - -static const ::std::string __AliDDB__AliDDBInterface__insertMultiRecords_name = "insertMultiRecords"; - -static const ::std::string __AliDDB__AliDDBInterface__getRecord_name = "getRecord"; - -static const ::std::string __AliDDB__AliDDBInterface__getRecords_name = "getRecords"; - -static const ::std::string __AliDDB__AliDDBInterface__getRecordsCount_name = "getRecordsCount"; - -static const ::std::string __AliDDB__AliDDBInterface__getRecordsByPage_name = "getRecordsByPage"; - -static const ::std::string __AliDDB__AliDDBInterface__getMultiRecords_name = "getMultiRecords"; - -static const ::std::string __AliDDB__AliDDBInterface__getMultiRecordsByPage_name = "getMultiRecordsByPage"; - -static const ::std::string __AliDDB__AliDDBInterface__updateRecord_name = "updateRecord"; - -static const ::std::string __AliDDB__AliDDBInterface__updateBlob_name = "updateBlob"; - -static const ::std::string __AliDDB__AliDDBInterface__deleteRecord_name = "deleteRecord"; - -void -IceInternal::incRef(::AliDDB::AliDDBInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliDDB::AliDDBInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliDDB::AliDDBInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliDDB::AliDDBInterface* p) -{ - p->__decRef(); -} - -void -AliDDB::__write(::IceInternal::BasicStream* __os, const ::AliDDB::AliDDBInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliDDB::__read(::IceInternal::BasicStream* __is, ::AliDDB::AliDDBInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliDDB::AliDDBInterface; - v->__copyFrom(proxy); - } -} - -void -AliDDB::__write(::IceInternal::BasicStream* __os, const ::AliDDB::AliDDBInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliDDB::__addObject(const AliDDBInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliDDB::__usesClasses(const AliDDBInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -AliDDB::__decRefUnsafe(const AliDDBInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliDDB::__clearHandleUnsafe(AliDDBInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -IceAsync::AliDDB::AMD_AliDDBInterface_insertRecord::AMD_AliDDBInterface_insertRecord(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_insertRecord::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_insertRecord::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_insertRecord::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_insertRecord::ice_exception() -{ - __exception(); -} - -IceAsync::AliDDB::AMD_AliDDBInterface_updateRecord::AMD_AliDDBInterface_updateRecord(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_updateRecord::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_updateRecord::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_updateRecord::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_updateRecord::ice_exception() -{ - __exception(); -} - -IceAsync::AliDDB::AMD_AliDDBInterface_updateBlob::AMD_AliDDBInterface_updateBlob(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_updateBlob::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_updateBlob::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_updateBlob::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_updateBlob::ice_exception() -{ - __exception(); -} - -IceAsync::AliDDB::AMD_AliDDBInterface_deleteRecord::AMD_AliDDBInterface_deleteRecord(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_deleteRecord::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_deleteRecord::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_deleteRecord::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_deleteRecord::ice_exception() -{ - __exception(); -} - -::Ice::Int -IceProxy::AliDDB::AliDDBInterface::insertRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::DBRecord& record, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliDDB__AliDDBInterface__insertRecord_name); - __delBase = __getDelegate(); - ::IceDelegate::AliDDB::AliDDBInterface* __del = dynamic_cast< ::IceDelegate::AliDDB::AliDDBInterface*>(__delBase.get()); - return __del->insertRecord(table, keys, record, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliDDB::AliDDBInterface::insertMultiRecords(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::AliDDB::DBRecord& record, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliDDB__AliDDBInterface__insertMultiRecords_name); - __delBase = __getDelegate(); - ::IceDelegate::AliDDB::AliDDBInterface* __del = dynamic_cast< ::IceDelegate::AliDDB::AliDDBInterface*>(__delBase.get()); - return __del->insertMultiRecords(table, keys, record, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliDDB::AliDDBInterface::getRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::Ice::StringSeq& blobFields, ::AliDDB::DBRecord& record, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliDDB__AliDDBInterface__getRecord_name); - __delBase = __getDelegate(); - ::IceDelegate::AliDDB::AliDDBInterface* __del = dynamic_cast< ::IceDelegate::AliDDB::AliDDBInterface*>(__delBase.get()); - return __del->getRecord(table, keys, fields, blobFields, record, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliDDB::AliDDBInterface::getRecords(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int num, ::AliDDB::DBRecord& record, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliDDB__AliDDBInterface__getRecords_name); - __delBase = __getDelegate(); - ::IceDelegate::AliDDB::AliDDBInterface* __del = dynamic_cast< ::IceDelegate::AliDDB::AliDDBInterface*>(__delBase.get()); - return __del->getRecords(table, keys, fields, condition, orderFields, num, record, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliDDB::AliDDBInterface::getRecordsCount(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::std::string& condition, ::Ice::Int& recordNum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliDDB__AliDDBInterface__getRecordsCount_name); - __delBase = __getDelegate(); - ::IceDelegate::AliDDB::AliDDBInterface* __del = dynamic_cast< ::IceDelegate::AliDDB::AliDDBInterface*>(__delBase.get()); - return __del->getRecordsCount(table, keys, condition, recordNum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliDDB::AliDDBInterface::getRecordsByPage(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& total, ::AliDDB::DBRecord& record, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliDDB__AliDDBInterface__getRecordsByPage_name); - __delBase = __getDelegate(); - ::IceDelegate::AliDDB::AliDDBInterface* __del = dynamic_cast< ::IceDelegate::AliDDB::AliDDBInterface*>(__delBase.get()); - return __del->getRecordsByPage(table, keys, fields, condition, orderFields, pageno, pagesize, total, record, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliDDB::AliDDBInterface::getMultiRecords(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int num, ::AliDDB::DBRecord& record, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliDDB__AliDDBInterface__getMultiRecords_name); - __delBase = __getDelegate(); - ::IceDelegate::AliDDB::AliDDBInterface* __del = dynamic_cast< ::IceDelegate::AliDDB::AliDDBInterface*>(__delBase.get()); - return __del->getMultiRecords(table, keys, fields, condition, orderFields, num, record, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliDDB::AliDDBInterface::getMultiRecordsByPage(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& total, ::AliDDB::DBRecord& record, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliDDB__AliDDBInterface__getMultiRecordsByPage_name); - __delBase = __getDelegate(); - ::IceDelegate::AliDDB::AliDDBInterface* __del = dynamic_cast< ::IceDelegate::AliDDB::AliDDBInterface*>(__delBase.get()); - return __del->getMultiRecordsByPage(table, keys, fields, condition, orderFields, pageno, pagesize, total, record, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliDDB::AliDDBInterface::updateRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::KVMap& uniqKey, const ::AliDDB::DBRecord& record, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliDDB__AliDDBInterface__updateRecord_name); - __delBase = __getDelegate(); - ::IceDelegate::AliDDB::AliDDBInterface* __del = dynamic_cast< ::IceDelegate::AliDDB::AliDDBInterface*>(__delBase.get()); - return __del->updateRecord(table, keys, uniqKey, record, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliDDB::AliDDBInterface::updateBlob(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::DBRecord& record, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliDDB__AliDDBInterface__updateBlob_name); - __delBase = __getDelegate(); - ::IceDelegate::AliDDB::AliDDBInterface* __del = dynamic_cast< ::IceDelegate::AliDDB::AliDDBInterface*>(__delBase.get()); - return __del->updateBlob(table, keys, record, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliDDB::AliDDBInterface::deleteRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::KVMap& uniqKey, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliDDB__AliDDBInterface__deleteRecord_name); - __delBase = __getDelegate(); - ::IceDelegate::AliDDB::AliDDBInterface* __del = dynamic_cast< ::IceDelegate::AliDDB::AliDDBInterface*>(__delBase.get()); - return __del->deleteRecord(table, keys, uniqKey, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliDDB::AliDDBInterface::ice_staticId() -{ - return ::AliDDB::AliDDBInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliDDB::AliDDBInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliDDB::AliDDBInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliDDB::AliDDBInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliDDB::AliDDBInterface); -} - -bool -IceProxy::AliDDB::operator==(const ::IceProxy::AliDDB::AliDDBInterface& l, const ::IceProxy::AliDDB::AliDDBInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliDDB::operator!=(const ::IceProxy::AliDDB::AliDDBInterface& l, const ::IceProxy::AliDDB::AliDDBInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliDDB::operator<(const ::IceProxy::AliDDB::AliDDBInterface& l, const ::IceProxy::AliDDB::AliDDBInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliDDB::operator<=(const ::IceProxy::AliDDB::AliDDBInterface& l, const ::IceProxy::AliDDB::AliDDBInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliDDB::operator>(const ::IceProxy::AliDDB::AliDDBInterface& l, const ::IceProxy::AliDDB::AliDDBInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliDDB::operator>=(const ::IceProxy::AliDDB::AliDDBInterface& l, const ::IceProxy::AliDDB::AliDDBInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliDDB::AliDDBInterface::insertRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliDDB__AliDDBInterface__insertRecord_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(table); - ::AliDDB::__write(__os, keys, ::AliDDB::__U__KVMap()); - record.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliDDB::AliDDBInterface::insertMultiRecords(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliDDB__AliDDBInterface__insertMultiRecords_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(table); - if(keys.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliDDB::__write(__os, &keys[0], &keys[0] + keys.size(), ::AliDDB::__U__KVMapSeq()); - } - record.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliDDB::AliDDBInterface::getRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::Ice::StringSeq& blobFields, ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliDDB__AliDDBInterface__getRecord_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(table); - ::AliDDB::__write(__os, keys, ::AliDDB::__U__KVMap()); - if(fields.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&fields[0], &fields[0] + fields.size()); - } - if(blobFields.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&blobFields[0], &blobFields[0] + blobFields.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - record.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliDDB::AliDDBInterface::getRecords(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int num, ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliDDB__AliDDBInterface__getRecords_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(table); - ::AliDDB::__write(__os, keys, ::AliDDB::__U__KVMap()); - if(fields.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&fields[0], &fields[0] + fields.size()); - } - __os->write(condition); - if(orderFields.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&orderFields[0], &orderFields[0] + orderFields.size()); - } - __os->write(num); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - record.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliDDB::AliDDBInterface::getRecordsCount(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::std::string& condition, ::Ice::Int& recordNum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliDDB__AliDDBInterface__getRecordsCount_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(table); - ::AliDDB::__write(__os, keys, ::AliDDB::__U__KVMap()); - __os->write(condition); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(recordNum); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliDDB::AliDDBInterface::getRecordsByPage(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& total, ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliDDB__AliDDBInterface__getRecordsByPage_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(table); - ::AliDDB::__write(__os, keys, ::AliDDB::__U__KVMap()); - if(fields.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&fields[0], &fields[0] + fields.size()); - } - __os->write(condition); - if(orderFields.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&orderFields[0], &orderFields[0] + orderFields.size()); - } - __os->write(pageno); - __os->write(pagesize); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(total); - record.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliDDB::AliDDBInterface::getMultiRecords(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int num, ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliDDB__AliDDBInterface__getMultiRecords_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(table); - if(keys.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliDDB::__write(__os, &keys[0], &keys[0] + keys.size(), ::AliDDB::__U__KVMapSeq()); - } - if(fields.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&fields[0], &fields[0] + fields.size()); - } - __os->write(condition); - if(orderFields.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&orderFields[0], &orderFields[0] + orderFields.size()); - } - __os->write(num); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - record.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliDDB::AliDDBInterface::getMultiRecordsByPage(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& total, ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliDDB__AliDDBInterface__getMultiRecordsByPage_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(table); - if(keys.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliDDB::__write(__os, &keys[0], &keys[0] + keys.size(), ::AliDDB::__U__KVMapSeq()); - } - if(fields.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&fields[0], &fields[0] + fields.size()); - } - __os->write(condition); - if(orderFields.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&orderFields[0], &orderFields[0] + orderFields.size()); - } - __os->write(pageno); - __os->write(pagesize); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(total); - record.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliDDB::AliDDBInterface::updateRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::KVMap& uniqKey, const ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliDDB__AliDDBInterface__updateRecord_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(table); - ::AliDDB::__write(__os, keys, ::AliDDB::__U__KVMap()); - ::AliDDB::__write(__os, uniqKey, ::AliDDB::__U__KVMap()); - record.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliDDB::AliDDBInterface::updateBlob(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliDDB__AliDDBInterface__updateBlob_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(table); - ::AliDDB::__write(__os, keys, ::AliDDB::__U__KVMap()); - record.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliDDB::AliDDBInterface::deleteRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::KVMap& uniqKey, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliDDB__AliDDBInterface__deleteRecord_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(table); - ::AliDDB::__write(__os, keys, ::AliDDB::__U__KVMap()); - ::AliDDB::__write(__os, uniqKey, ::AliDDB::__U__KVMap()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliDDB::AliDDBInterface::insertRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliDDB::AliDDBInterface::insertMultiRecords(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliDDB__AliDDBInterface__insertMultiRecords_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliDDB::AliDDBInterface* __servant = dynamic_cast< ::AliDDB::AliDDBInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->insertMultiRecords(table, keys, record, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliDDB::AliDDBInterface::getRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::Ice::StringSeq& blobFields, ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliDDB__AliDDBInterface__getRecord_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliDDB::AliDDBInterface* __servant = dynamic_cast< ::AliDDB::AliDDBInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getRecord(table, keys, fields, blobFields, record, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliDDB::AliDDBInterface::getRecords(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int num, ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliDDB__AliDDBInterface__getRecords_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliDDB::AliDDBInterface* __servant = dynamic_cast< ::AliDDB::AliDDBInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getRecords(table, keys, fields, condition, orderFields, num, record, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliDDB::AliDDBInterface::getRecordsCount(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::std::string& condition, ::Ice::Int& recordNum, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliDDB__AliDDBInterface__getRecordsCount_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliDDB::AliDDBInterface* __servant = dynamic_cast< ::AliDDB::AliDDBInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getRecordsCount(table, keys, condition, recordNum, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliDDB::AliDDBInterface::getRecordsByPage(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& total, ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliDDB__AliDDBInterface__getRecordsByPage_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliDDB::AliDDBInterface* __servant = dynamic_cast< ::AliDDB::AliDDBInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getRecordsByPage(table, keys, fields, condition, orderFields, pageno, pagesize, total, record, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliDDB::AliDDBInterface::getMultiRecords(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int num, ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliDDB__AliDDBInterface__getMultiRecords_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliDDB::AliDDBInterface* __servant = dynamic_cast< ::AliDDB::AliDDBInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getMultiRecords(table, keys, fields, condition, orderFields, num, record, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliDDB::AliDDBInterface::getMultiRecordsByPage(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& total, ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliDDB__AliDDBInterface__getMultiRecordsByPage_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliDDB::AliDDBInterface* __servant = dynamic_cast< ::AliDDB::AliDDBInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getMultiRecordsByPage(table, keys, fields, condition, orderFields, pageno, pagesize, total, record, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliDDB::AliDDBInterface::updateRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliDDB::AliDDBInterface::updateBlob(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliDDB::AliDDBInterface::deleteRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::KVMap&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::ObjectPtr -AliDDB::AliDDBInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliDDB__AliDDBInterface_ids[2] = -{ - "::AliDDB::AliDDBInterface", - "::Ice::Object" -}; - -bool -AliDDB::AliDDBInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliDDB__AliDDBInterface_ids, __AliDDB__AliDDBInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -AliDDB::AliDDBInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliDDB__AliDDBInterface_ids[0], &__AliDDB__AliDDBInterface_ids[2]); -} - -const ::std::string& -AliDDB::AliDDBInterface::ice_id(const ::Ice::Current&) const -{ - return __AliDDB__AliDDBInterface_ids[0]; -} - -const ::std::string& -AliDDB::AliDDBInterface::ice_staticId() -{ - return __AliDDB__AliDDBInterface_ids[0]; -} - -::IceInternal::DispatchStatus -AliDDB::AliDDBInterface::___insertRecord(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string table; - ::AliDDB::KVMap keys; - ::AliDDB::DBRecord record; - __is->read(table); - ::AliDDB::__read(__is, keys, ::AliDDB::__U__KVMap()); - record.__read(__is); - ::AliDDB::AMD_AliDDBInterface_insertRecordPtr __cb = new IceAsync::AliDDB::AMD_AliDDBInterface_insertRecord(__inS); - try - { - insertRecord_async(__cb, table, keys, record, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliDDB::AliDDBInterface::___insertMultiRecords(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string table; - ::AliDDB::KVMapSeq keys; - ::AliDDB::DBRecord record; - __is->read(table); - ::AliDDB::__read(__is, keys, ::AliDDB::__U__KVMapSeq()); - record.__read(__is); - ::Ice::Int __ret = insertMultiRecords(table, keys, record, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliDDB::AliDDBInterface::___getRecord(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string table; - ::AliDDB::KVMap keys; - ::Ice::StringSeq fields; - ::Ice::StringSeq blobFields; - __is->read(table); - ::AliDDB::__read(__is, keys, ::AliDDB::__U__KVMap()); - __is->read(fields); - __is->read(blobFields); - ::AliDDB::DBRecord record; - ::Ice::Int __ret = getRecord(table, keys, fields, blobFields, record, __current); - record.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliDDB::AliDDBInterface::___getRecords(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string table; - ::AliDDB::KVMap keys; - ::Ice::StringSeq fields; - ::std::string condition; - ::Ice::StringSeq orderFields; - ::Ice::Int num; - __is->read(table); - ::AliDDB::__read(__is, keys, ::AliDDB::__U__KVMap()); - __is->read(fields); - __is->read(condition); - __is->read(orderFields); - __is->read(num); - ::AliDDB::DBRecord record; - ::Ice::Int __ret = getRecords(table, keys, fields, condition, orderFields, num, record, __current); - record.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliDDB::AliDDBInterface::___getRecordsCount(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string table; - ::AliDDB::KVMap keys; - ::std::string condition; - __is->read(table); - ::AliDDB::__read(__is, keys, ::AliDDB::__U__KVMap()); - __is->read(condition); - ::Ice::Int recordNum; - ::Ice::Int __ret = getRecordsCount(table, keys, condition, recordNum, __current); - __os->write(recordNum); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliDDB::AliDDBInterface::___getRecordsByPage(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string table; - ::AliDDB::KVMap keys; - ::Ice::StringSeq fields; - ::std::string condition; - ::Ice::StringSeq orderFields; - ::Ice::Int pageno; - ::Ice::Int pagesize; - __is->read(table); - ::AliDDB::__read(__is, keys, ::AliDDB::__U__KVMap()); - __is->read(fields); - __is->read(condition); - __is->read(orderFields); - __is->read(pageno); - __is->read(pagesize); - ::Ice::Int total; - ::AliDDB::DBRecord record; - ::Ice::Int __ret = getRecordsByPage(table, keys, fields, condition, orderFields, pageno, pagesize, total, record, __current); - __os->write(total); - record.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliDDB::AliDDBInterface::___getMultiRecords(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string table; - ::AliDDB::KVMapSeq keys; - ::Ice::StringSeq fields; - ::std::string condition; - ::Ice::StringSeq orderFields; - ::Ice::Int num; - __is->read(table); - ::AliDDB::__read(__is, keys, ::AliDDB::__U__KVMapSeq()); - __is->read(fields); - __is->read(condition); - __is->read(orderFields); - __is->read(num); - ::AliDDB::DBRecord record; - ::Ice::Int __ret = getMultiRecords(table, keys, fields, condition, orderFields, num, record, __current); - record.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliDDB::AliDDBInterface::___getMultiRecordsByPage(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string table; - ::AliDDB::KVMapSeq keys; - ::Ice::StringSeq fields; - ::std::string condition; - ::Ice::StringSeq orderFields; - ::Ice::Int pageno; - ::Ice::Int pagesize; - __is->read(table); - ::AliDDB::__read(__is, keys, ::AliDDB::__U__KVMapSeq()); - __is->read(fields); - __is->read(condition); - __is->read(orderFields); - __is->read(pageno); - __is->read(pagesize); - ::Ice::Int total; - ::AliDDB::DBRecord record; - ::Ice::Int __ret = getMultiRecordsByPage(table, keys, fields, condition, orderFields, pageno, pagesize, total, record, __current); - __os->write(total); - record.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliDDB::AliDDBInterface::___updateRecord(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string table; - ::AliDDB::KVMap keys; - ::AliDDB::KVMap uniqKey; - ::AliDDB::DBRecord record; - __is->read(table); - ::AliDDB::__read(__is, keys, ::AliDDB::__U__KVMap()); - ::AliDDB::__read(__is, uniqKey, ::AliDDB::__U__KVMap()); - record.__read(__is); - ::AliDDB::AMD_AliDDBInterface_updateRecordPtr __cb = new IceAsync::AliDDB::AMD_AliDDBInterface_updateRecord(__inS); - try - { - updateRecord_async(__cb, table, keys, uniqKey, record, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliDDB::AliDDBInterface::___updateBlob(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string table; - ::AliDDB::KVMap keys; - ::AliDDB::DBRecord record; - __is->read(table); - ::AliDDB::__read(__is, keys, ::AliDDB::__U__KVMap()); - record.__read(__is); - ::AliDDB::AMD_AliDDBInterface_updateBlobPtr __cb = new IceAsync::AliDDB::AMD_AliDDBInterface_updateBlob(__inS); - try - { - updateBlob_async(__cb, table, keys, record, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliDDB::AliDDBInterface::___deleteRecord(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string table; - ::AliDDB::KVMap keys; - ::AliDDB::KVMap uniqKey; - __is->read(table); - ::AliDDB::__read(__is, keys, ::AliDDB::__U__KVMap()); - ::AliDDB::__read(__is, uniqKey, ::AliDDB::__U__KVMap()); - ::AliDDB::AMD_AliDDBInterface_deleteRecordPtr __cb = new IceAsync::AliDDB::AMD_AliDDBInterface_deleteRecord(__inS); - try - { - deleteRecord_async(__cb, table, keys, uniqKey, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -static ::std::string __AliDDB__AliDDBInterface_all[] = -{ - "deleteRecord", - "getMultiRecords", - "getMultiRecordsByPage", - "getRecord", - "getRecords", - "getRecordsByPage", - "getRecordsCount", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "insertMultiRecords", - "insertRecord", - "updateBlob", - "updateRecord" -}; - -::IceInternal::DispatchStatus -AliDDB::AliDDBInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliDDB__AliDDBInterface_all, __AliDDB__AliDDBInterface_all + 15, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliDDB__AliDDBInterface_all) - { - case 0: - { - return ___deleteRecord(in, current); - } - case 1: - { - return ___getMultiRecords(in, current); - } - case 2: - { - return ___getMultiRecordsByPage(in, current); - } - case 3: - { - return ___getRecord(in, current); - } - case 4: - { - return ___getRecords(in, current); - } - case 5: - { - return ___getRecordsByPage(in, current); - } - case 6: - { - return ___getRecordsCount(in, current); - } - case 7: - { - return ___ice_id(in, current); - } - case 8: - { - return ___ice_ids(in, current); - } - case 9: - { - return ___ice_isA(in, current); - } - case 10: - { - return ___ice_ping(in, current); - } - case 11: - { - return ___insertMultiRecords(in, current); - } - case 12: - { - return ___insertRecord(in, current); - } - case 13: - { - return ___updateBlob(in, current); - } - case 14: - { - return ___updateRecord(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliDDB::AliDDBInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliDDB::AliDDBInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliDDB::AliDDBInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliDDB::AliDDBInterface was not generated with stream support"; - throw ex; -} - -void -AliDDB::AliDDBInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliDDB::AliDDBInterface was not generated with stream support"; - throw ex; -} - -void -AliDDB::__patch__AliDDBInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliDDB::AliDDBInterfacePtr* p = static_cast< ::AliDDB::AliDDBInterfacePtr*>(__addr); - assert(p); - *p = ::AliDDB::AliDDBInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliDDB::AliDDBInterface::ice_staticId(); - throw e; - } -} - -bool -AliDDB::operator==(const ::AliDDB::AliDDBInterface& l, const ::AliDDB::AliDDBInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliDDB::operator!=(const ::AliDDB::AliDDBInterface& l, const ::AliDDB::AliDDBInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliDDB::operator<(const ::AliDDB::AliDDBInterface& l, const ::AliDDB::AliDDBInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliDDB::operator<=(const ::AliDDB::AliDDBInterface& l, const ::AliDDB::AliDDBInterface& r) -{ - return l < r || l == r; -} - -bool -AliDDB::operator>(const ::AliDDB::AliDDBInterface& l, const ::AliDDB::AliDDBInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliDDB::operator>=(const ::AliDDB::AliDDBInterface& l, const ::AliDDB::AliDDBInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/EServiceRContact.cpp.svn-base b/features/aliww/source/.svn/text-base/EServiceRContact.cpp.svn-base deleted file mode 100644 index 5708226..0000000 --- a/features/aliww/source/.svn/text-base/EServiceRContact.cpp.svn-base +++ /dev/null @@ -1,586 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `EServiceRContact.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__EServiceRecentContact__checkRCnt_name = "checkRCnt"; - -static const ::std::string __AliIM__EServiceRecentContact__addRcnt_name = "addRcnt"; - -void -IceInternal::incRef(::AliIM::EServiceRecentContact* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::EServiceRecentContact* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::EServiceRecentContact* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::EServiceRecentContact* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::EServiceRecentContactPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::EServiceRecentContactPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::EServiceRecentContact; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::EServiceRecentContactPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIM::__addObject(const EServiceRecentContactPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const EServiceRecentContactPtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const EServiceRecentContactPtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(EServiceRecentContactPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::EServiceRecentContact::checkRCnt(const ::std::string& uid, const ::std::string& cid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__EServiceRecentContact__checkRCnt_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::EServiceRecentContact* __del = dynamic_cast< ::IceDelegate::AliIM::EServiceRecentContact*>(__delBase.get()); - return __del->checkRCnt(uid, cid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::EServiceRecentContact::addRcnt(const ::std::string& uid, const ::AliIM::SICERecentCnt& rcnt, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__EServiceRecentContact__addRcnt_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::EServiceRecentContact* __del = dynamic_cast< ::IceDelegate::AliIM::EServiceRecentContact*>(__delBase.get()); - return __del->addRcnt(uid, rcnt, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::EServiceRecentContact::ice_staticId() -{ - return ::AliIM::EServiceRecentContact::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::EServiceRecentContact::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::EServiceRecentContact); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::EServiceRecentContact::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::EServiceRecentContact); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::EServiceRecentContact& l, const ::IceProxy::AliIM::EServiceRecentContact& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::EServiceRecentContact& l, const ::IceProxy::AliIM::EServiceRecentContact& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::EServiceRecentContact& l, const ::IceProxy::AliIM::EServiceRecentContact& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::EServiceRecentContact& l, const ::IceProxy::AliIM::EServiceRecentContact& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::EServiceRecentContact& l, const ::IceProxy::AliIM::EServiceRecentContact& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::EServiceRecentContact& l, const ::IceProxy::AliIM::EServiceRecentContact& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::EServiceRecentContact::checkRCnt(const ::std::string& uid, const ::std::string& cid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__EServiceRecentContact__checkRCnt_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::EServiceRecentContact::addRcnt(const ::std::string& uid, const ::AliIM::SICERecentCnt& rcnt, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__EServiceRecentContact__addRcnt_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - rcnt.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::EServiceRecentContact::checkRCnt(const ::std::string& uid, const ::std::string& cid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__EServiceRecentContact__checkRCnt_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::EServiceRecentContact* __servant = dynamic_cast< ::AliIM::EServiceRecentContact*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkRCnt(uid, cid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::EServiceRecentContact::addRcnt(const ::std::string& uid, const ::AliIM::SICERecentCnt& rcnt, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__EServiceRecentContact__addRcnt_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::EServiceRecentContact* __servant = dynamic_cast< ::AliIM::EServiceRecentContact*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->addRcnt(uid, rcnt, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::EServiceRecentContact::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__EServiceRecentContact_ids[2] = -{ - "::AliIM::EServiceRecentContact", - "::Ice::Object" -}; - -bool -AliIM::EServiceRecentContact::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__EServiceRecentContact_ids, __AliIM__EServiceRecentContact_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::EServiceRecentContact::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__EServiceRecentContact_ids[0], &__AliIM__EServiceRecentContact_ids[2]); -} - -const ::std::string& -AliIM::EServiceRecentContact::ice_id(const ::Ice::Current&) const -{ - return __AliIM__EServiceRecentContact_ids[0]; -} - -const ::std::string& -AliIM::EServiceRecentContact::ice_staticId() -{ - return __AliIM__EServiceRecentContact_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::EServiceRecentContact::___checkRCnt(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string cid; - __is->read(uid); - __is->read(cid); - ::Ice::Int __ret = checkRCnt(uid, cid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::EServiceRecentContact::___addRcnt(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::AliIM::SICERecentCnt rcnt; - __is->read(uid); - rcnt.__read(__is); - ::Ice::Int __ret = addRcnt(uid, rcnt, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__EServiceRecentContact_all[] = -{ - "addRcnt", - "checkRCnt", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -AliIM::EServiceRecentContact::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__EServiceRecentContact_all, __AliIM__EServiceRecentContact_all + 6, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__EServiceRecentContact_all) - { - case 0: - { - return ___addRcnt(in, current); - } - case 1: - { - return ___checkRCnt(in, current); - } - case 2: - { - return ___ice_id(in, current); - } - case 3: - { - return ___ice_ids(in, current); - } - case 4: - { - return ___ice_isA(in, current); - } - case 5: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::EServiceRecentContact::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::EServiceRecentContact::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::EServiceRecentContact::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::EServiceRecentContact was not generated with stream support"; - throw ex; -} - -void -AliIM::EServiceRecentContact::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::EServiceRecentContact was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__EServiceRecentContactPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::EServiceRecentContactPtr* p = static_cast< ::AliIM::EServiceRecentContactPtr*>(__addr); - assert(p); - *p = ::AliIM::EServiceRecentContactPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::EServiceRecentContact::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::EServiceRecentContact& l, const ::AliIM::EServiceRecentContact& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::EServiceRecentContact& l, const ::AliIM::EServiceRecentContact& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::EServiceRecentContact& l, const ::AliIM::EServiceRecentContact& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::EServiceRecentContact& l, const ::AliIM::EServiceRecentContact& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::EServiceRecentContact& l, const ::AliIM::EServiceRecentContact& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::EServiceRecentContact& l, const ::AliIM::EServiceRecentContact& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/Exhibitionservice.cpp.svn-base b/features/aliww/source/.svn/text-base/Exhibitionservice.cpp.svn-base deleted file mode 100644 index 7f56c5b..0000000 --- a/features/aliww/source/.svn/text-base/Exhibitionservice.cpp.svn-base +++ /dev/null @@ -1,1460 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `Exhibitionservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__ExhibitionInterface__CheckUserWebPasswd_name = "CheckUserWebPasswd"; - -static const ::std::string __AliIM__ExhibitionInterface__getUserProfileByLongId_name = "getUserProfileByLongId"; - -void -IceInternal::incRef(::AliIM::ExhibitionInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::ExhibitionInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::ExhibitionInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::ExhibitionInterface* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::ExhibitionInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::ExhibitionInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::ExhibitionInterface; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::ExhibitionInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -AliIM::UserProfile::operator==(const UserProfile& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIM::UserProfile::operator!=(const UserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(userName != __rhs.userName) - { - return true; - } - if(passport != __rhs.passport) - { - return true; - } - if(isDeleted != __rhs.isDeleted) - { - return true; - } - if(gmtCreate != __rhs.gmtCreate) - { - return true; - } - if(gmtModified != __rhs.gmtModified) - { - return true; - } - if(creator != __rhs.creator) - { - return true; - } - if(Modifier != __rhs.Modifier) - { - return true; - } - if(domainPrefix != __rhs.domainPrefix) - { - return true; - } - if(loginId != __rhs.loginId) - { - return true; - } - if(longId != __rhs.longId) - { - return true; - } - if(sourceType != __rhs.sourceType) - { - return true; - } - if(gmtLogin != __rhs.gmtLogin) - { - return true; - } - if(userStatus != __rhs.userStatus) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(mobileNo != __rhs.mobileNo) - { - return true; - } - if(phoneNo != __rhs.phoneNo) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobTitle != __rhs.jobTitle) - { - return true; - } - if(country != __rhs.country) - { - return true; - } - if(province != __rhs.province) - { - return true; - } - if(city != __rhs.city) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(sex != __rhs.sex) - { - return true; - } - if(birthday != __rhs.birthday) - { - return true; - } - if(zip != __rhs.zip) - { - return true; - } - if(constellation != __rhs.constellation) - { - return true; - } - if(subCity != __rhs.subCity) - { - return true; - } - if(bloodType != __rhs.bloodType) - { - return true; - } - if(shengXiao != __rhs.shengXiao) - { - return true; - } - if(career != __rhs.career) - { - return true; - } - if(degree != __rhs.degree) - { - return true; - } - if(interest != __rhs.interest) - { - return true; - } - if(personality != __rhs.personality) - { - return true; - } - if(memo != __rhs.memo) - { - return true; - } - if(finishSchool != __rhs.finishSchool) - { - return true; - } - if(contactShowFlag != __rhs.contactShowFlag) - { - return true; - } - if(companyAddress != __rhs.companyAddress) - { - return true; - } - if(companyUrl != __rhs.companyUrl) - { - return true; - } - if(companyTel != __rhs.companyTel) - { - return true; - } - if(companyShowFlag != __rhs.companyShowFlag) - { - return true; - } - if(signature != __rhs.signature) - { - return true; - } - if(companyZip != __rhs.companyZip) - { - return true; - } - if(companyFax != __rhs.companyFax) - { - return true; - } - if(moreInterest != __rhs.moreInterest) - { - return true; - } - if(personalShowFlag != __rhs.personalShowFlag) - { - return true; - } - if(homePage != __rhs.homePage) - { - return true; - } - if(vocation != __rhs.vocation) - { - return true; - } - if(companyEmail != __rhs.companyEmail) - { - return true; - } - if(duty != __rhs.duty) - { - return true; - } - if(department != __rhs.department) - { - return true; - } - if(purchase != __rhs.purchase) - { - return true; - } - if(sales != __rhs.sales) - { - return true; - } - if(finishedPercent != __rhs.finishedPercent) - { - return true; - } - if(imgType != __rhs.imgType) - { - return true; - } - if(imgHashCode != __rhs.imgHashCode) - { - return true; - } - if(nickname != __rhs.nickname) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - return false; -} - -bool -AliIM::UserProfile::operator<(const UserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(userName < __rhs.userName) - { - return true; - } - else if(__rhs.userName < userName) - { - return false; - } - if(passport < __rhs.passport) - { - return true; - } - else if(__rhs.passport < passport) - { - return false; - } - if(isDeleted < __rhs.isDeleted) - { - return true; - } - else if(__rhs.isDeleted < isDeleted) - { - return false; - } - if(gmtCreate < __rhs.gmtCreate) - { - return true; - } - else if(__rhs.gmtCreate < gmtCreate) - { - return false; - } - if(gmtModified < __rhs.gmtModified) - { - return true; - } - else if(__rhs.gmtModified < gmtModified) - { - return false; - } - if(creator < __rhs.creator) - { - return true; - } - else if(__rhs.creator < creator) - { - return false; - } - if(Modifier < __rhs.Modifier) - { - return true; - } - else if(__rhs.Modifier < Modifier) - { - return false; - } - if(domainPrefix < __rhs.domainPrefix) - { - return true; - } - else if(__rhs.domainPrefix < domainPrefix) - { - return false; - } - if(loginId < __rhs.loginId) - { - return true; - } - else if(__rhs.loginId < loginId) - { - return false; - } - if(longId < __rhs.longId) - { - return true; - } - else if(__rhs.longId < longId) - { - return false; - } - if(sourceType < __rhs.sourceType) - { - return true; - } - else if(__rhs.sourceType < sourceType) - { - return false; - } - if(gmtLogin < __rhs.gmtLogin) - { - return true; - } - else if(__rhs.gmtLogin < gmtLogin) - { - return false; - } - if(userStatus < __rhs.userStatus) - { - return true; - } - else if(__rhs.userStatus < userStatus) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(mobileNo < __rhs.mobileNo) - { - return true; - } - else if(__rhs.mobileNo < mobileNo) - { - return false; - } - if(phoneNo < __rhs.phoneNo) - { - return true; - } - else if(__rhs.phoneNo < phoneNo) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobTitle < __rhs.jobTitle) - { - return true; - } - else if(__rhs.jobTitle < jobTitle) - { - return false; - } - if(country < __rhs.country) - { - return true; - } - else if(__rhs.country < country) - { - return false; - } - if(province < __rhs.province) - { - return true; - } - else if(__rhs.province < province) - { - return false; - } - if(city < __rhs.city) - { - return true; - } - else if(__rhs.city < city) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(sex < __rhs.sex) - { - return true; - } - else if(__rhs.sex < sex) - { - return false; - } - if(birthday < __rhs.birthday) - { - return true; - } - else if(__rhs.birthday < birthday) - { - return false; - } - if(zip < __rhs.zip) - { - return true; - } - else if(__rhs.zip < zip) - { - return false; - } - if(constellation < __rhs.constellation) - { - return true; - } - else if(__rhs.constellation < constellation) - { - return false; - } - if(subCity < __rhs.subCity) - { - return true; - } - else if(__rhs.subCity < subCity) - { - return false; - } - if(bloodType < __rhs.bloodType) - { - return true; - } - else if(__rhs.bloodType < bloodType) - { - return false; - } - if(shengXiao < __rhs.shengXiao) - { - return true; - } - else if(__rhs.shengXiao < shengXiao) - { - return false; - } - if(career < __rhs.career) - { - return true; - } - else if(__rhs.career < career) - { - return false; - } - if(degree < __rhs.degree) - { - return true; - } - else if(__rhs.degree < degree) - { - return false; - } - if(interest < __rhs.interest) - { - return true; - } - else if(__rhs.interest < interest) - { - return false; - } - if(personality < __rhs.personality) - { - return true; - } - else if(__rhs.personality < personality) - { - return false; - } - if(memo < __rhs.memo) - { - return true; - } - else if(__rhs.memo < memo) - { - return false; - } - if(finishSchool < __rhs.finishSchool) - { - return true; - } - else if(__rhs.finishSchool < finishSchool) - { - return false; - } - if(contactShowFlag < __rhs.contactShowFlag) - { - return true; - } - else if(__rhs.contactShowFlag < contactShowFlag) - { - return false; - } - if(companyAddress < __rhs.companyAddress) - { - return true; - } - else if(__rhs.companyAddress < companyAddress) - { - return false; - } - if(companyUrl < __rhs.companyUrl) - { - return true; - } - else if(__rhs.companyUrl < companyUrl) - { - return false; - } - if(companyTel < __rhs.companyTel) - { - return true; - } - else if(__rhs.companyTel < companyTel) - { - return false; - } - if(companyShowFlag < __rhs.companyShowFlag) - { - return true; - } - else if(__rhs.companyShowFlag < companyShowFlag) - { - return false; - } - if(signature < __rhs.signature) - { - return true; - } - else if(__rhs.signature < signature) - { - return false; - } - if(companyZip < __rhs.companyZip) - { - return true; - } - else if(__rhs.companyZip < companyZip) - { - return false; - } - if(companyFax < __rhs.companyFax) - { - return true; - } - else if(__rhs.companyFax < companyFax) - { - return false; - } - if(moreInterest < __rhs.moreInterest) - { - return true; - } - else if(__rhs.moreInterest < moreInterest) - { - return false; - } - if(personalShowFlag < __rhs.personalShowFlag) - { - return true; - } - else if(__rhs.personalShowFlag < personalShowFlag) - { - return false; - } - if(homePage < __rhs.homePage) - { - return true; - } - else if(__rhs.homePage < homePage) - { - return false; - } - if(vocation < __rhs.vocation) - { - return true; - } - else if(__rhs.vocation < vocation) - { - return false; - } - if(companyEmail < __rhs.companyEmail) - { - return true; - } - else if(__rhs.companyEmail < companyEmail) - { - return false; - } - if(duty < __rhs.duty) - { - return true; - } - else if(__rhs.duty < duty) - { - return false; - } - if(department < __rhs.department) - { - return true; - } - else if(__rhs.department < department) - { - return false; - } - if(purchase < __rhs.purchase) - { - return true; - } - else if(__rhs.purchase < purchase) - { - return false; - } - if(sales < __rhs.sales) - { - return true; - } - else if(__rhs.sales < sales) - { - return false; - } - if(finishedPercent < __rhs.finishedPercent) - { - return true; - } - else if(__rhs.finishedPercent < finishedPercent) - { - return false; - } - if(imgType < __rhs.imgType) - { - return true; - } - else if(__rhs.imgType < imgType) - { - return false; - } - if(imgHashCode < __rhs.imgHashCode) - { - return true; - } - else if(__rhs.imgHashCode < imgHashCode) - { - return false; - } - if(nickname < __rhs.nickname) - { - return true; - } - else if(__rhs.nickname < nickname) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - return false; -} - -void -AliIM::UserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(userName); - __os->write(passport); - __os->write(isDeleted); - __os->write(gmtCreate); - __os->write(gmtModified); - __os->write(creator); - __os->write(Modifier); - __os->write(domainPrefix); - __os->write(loginId); - __os->write(longId); - __os->write(sourceType); - __os->write(gmtLogin); - __os->write(userStatus); - __os->write(status); - __os->write(email); - __os->write(mobileNo); - __os->write(phoneNo); - __os->write(company); - __os->write(jobTitle); - __os->write(country); - __os->write(province); - __os->write(city); - __os->write(address); - __os->write(sex); - __os->write(birthday); - __os->write(zip); - __os->write(constellation); - __os->write(subCity); - __os->write(bloodType); - __os->write(shengXiao); - __os->write(career); - __os->write(degree); - __os->write(interest); - __os->write(personality); - __os->write(memo); - __os->write(finishSchool); - __os->write(contactShowFlag); - __os->write(companyAddress); - __os->write(companyUrl); - __os->write(companyTel); - __os->write(companyShowFlag); - __os->write(signature); - __os->write(companyZip); - __os->write(companyFax); - __os->write(moreInterest); - __os->write(personalShowFlag); - __os->write(homePage); - __os->write(vocation); - __os->write(companyEmail); - __os->write(duty); - __os->write(department); - __os->write(purchase); - __os->write(sales); - __os->write(finishedPercent); - __os->write(imgType); - __os->write(imgHashCode); - __os->write(nickname); - __os->write(userLevel); -} - -void -AliIM::UserProfile::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(userName); - __is->read(passport); - __is->read(isDeleted); - __is->read(gmtCreate); - __is->read(gmtModified); - __is->read(creator); - __is->read(Modifier); - __is->read(domainPrefix); - __is->read(loginId); - __is->read(longId); - __is->read(sourceType); - __is->read(gmtLogin); - __is->read(userStatus); - __is->read(status); - __is->read(email); - __is->read(mobileNo); - __is->read(phoneNo); - __is->read(company); - __is->read(jobTitle); - __is->read(country); - __is->read(province); - __is->read(city); - __is->read(address); - __is->read(sex); - __is->read(birthday); - __is->read(zip); - __is->read(constellation); - __is->read(subCity); - __is->read(bloodType); - __is->read(shengXiao); - __is->read(career); - __is->read(degree); - __is->read(interest); - __is->read(personality); - __is->read(memo); - __is->read(finishSchool); - __is->read(contactShowFlag); - __is->read(companyAddress); - __is->read(companyUrl); - __is->read(companyTel); - __is->read(companyShowFlag); - __is->read(signature); - __is->read(companyZip); - __is->read(companyFax); - __is->read(moreInterest); - __is->read(personalShowFlag); - __is->read(homePage); - __is->read(vocation); - __is->read(companyEmail); - __is->read(duty); - __is->read(department); - __is->read(purchase); - __is->read(sales); - __is->read(finishedPercent); - __is->read(imgType); - __is->read(imgHashCode); - __is->read(nickname); - __is->read(userLevel); -} - -void -AliIM::__addObject(const ExhibitionInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const ExhibitionInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const ExhibitionInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(ExhibitionInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::ExhibitionInterface::CheckUserWebPasswd(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& userId, const ::std::string& passwd, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__ExhibitionInterface__CheckUserWebPasswd_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::ExhibitionInterface* __del = dynamic_cast< ::IceDelegate::AliIM::ExhibitionInterface*>(__delBase.get()); - return __del->CheckUserWebPasswd(strCaller, strServiceType, userId, passwd, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::ExhibitionInterface::getUserProfileByLongId(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& longId, ::AliIM::UserProfile& userProfile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__ExhibitionInterface__getUserProfileByLongId_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::ExhibitionInterface* __del = dynamic_cast< ::IceDelegate::AliIM::ExhibitionInterface*>(__delBase.get()); - return __del->getUserProfileByLongId(strCaller, strServiceType, longId, userProfile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::ExhibitionInterface::ice_staticId() -{ - return ::AliIM::ExhibitionInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::ExhibitionInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::ExhibitionInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::ExhibitionInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::ExhibitionInterface); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::ExhibitionInterface& l, const ::IceProxy::AliIM::ExhibitionInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::ExhibitionInterface& l, const ::IceProxy::AliIM::ExhibitionInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::ExhibitionInterface& l, const ::IceProxy::AliIM::ExhibitionInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::ExhibitionInterface& l, const ::IceProxy::AliIM::ExhibitionInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::ExhibitionInterface& l, const ::IceProxy::AliIM::ExhibitionInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::ExhibitionInterface& l, const ::IceProxy::AliIM::ExhibitionInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::ExhibitionInterface::CheckUserWebPasswd(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& userId, const ::std::string& passwd, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__ExhibitionInterface__CheckUserWebPasswd_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(strCaller); - __os->write(strServiceType); - __os->write(userId); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::ExhibitionInterface::getUserProfileByLongId(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& longId, ::AliIM::UserProfile& userProfile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__ExhibitionInterface__getUserProfileByLongId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(strCaller); - __os->write(strServiceType); - __os->write(longId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userProfile.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::ExhibitionInterface::CheckUserWebPasswd(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& userId, const ::std::string& passwd, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__ExhibitionInterface__CheckUserWebPasswd_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::ExhibitionInterface* __servant = dynamic_cast< ::AliIM::ExhibitionInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->CheckUserWebPasswd(strCaller, strServiceType, userId, passwd, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::ExhibitionInterface::getUserProfileByLongId(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& longId, ::AliIM::UserProfile& userProfile, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__ExhibitionInterface__getUserProfileByLongId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::ExhibitionInterface* __servant = dynamic_cast< ::AliIM::ExhibitionInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserProfileByLongId(strCaller, strServiceType, longId, userProfile, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::ExhibitionInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__ExhibitionInterface_ids[2] = -{ - "::AliIM::ExhibitionInterface", - "::Ice::Object" -}; - -bool -AliIM::ExhibitionInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__ExhibitionInterface_ids, __AliIM__ExhibitionInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::ExhibitionInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__ExhibitionInterface_ids[0], &__AliIM__ExhibitionInterface_ids[2]); -} - -const ::std::string& -AliIM::ExhibitionInterface::ice_id(const ::Ice::Current&) const -{ - return __AliIM__ExhibitionInterface_ids[0]; -} - -const ::std::string& -AliIM::ExhibitionInterface::ice_staticId() -{ - return __AliIM__ExhibitionInterface_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::ExhibitionInterface::___CheckUserWebPasswd(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string strCaller; - ::std::string strServiceType; - ::std::string userId; - ::std::string passwd; - __is->read(strCaller); - __is->read(strServiceType); - __is->read(userId); - __is->read(passwd); - ::Ice::Int __ret = CheckUserWebPasswd(strCaller, strServiceType, userId, passwd, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::ExhibitionInterface::___getUserProfileByLongId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string strCaller; - ::std::string strServiceType; - ::std::string longId; - __is->read(strCaller); - __is->read(strServiceType); - __is->read(longId); - ::AliIM::UserProfile userProfile; - ::Ice::Int __ret = getUserProfileByLongId(strCaller, strServiceType, longId, userProfile, __current); - userProfile.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__ExhibitionInterface_all[] = -{ - "CheckUserWebPasswd", - "getUserProfileByLongId", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -AliIM::ExhibitionInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__ExhibitionInterface_all, __AliIM__ExhibitionInterface_all + 6, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__ExhibitionInterface_all) - { - case 0: - { - return ___CheckUserWebPasswd(in, current); - } - case 1: - { - return ___getUserProfileByLongId(in, current); - } - case 2: - { - return ___ice_id(in, current); - } - case 3: - { - return ___ice_ids(in, current); - } - case 4: - { - return ___ice_isA(in, current); - } - case 5: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::ExhibitionInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::ExhibitionInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::ExhibitionInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::ExhibitionInterface was not generated with stream support"; - throw ex; -} - -void -AliIM::ExhibitionInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::ExhibitionInterface was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__ExhibitionInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::ExhibitionInterfacePtr* p = static_cast< ::AliIM::ExhibitionInterfacePtr*>(__addr); - assert(p); - *p = ::AliIM::ExhibitionInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::ExhibitionInterface::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::ExhibitionInterface& l, const ::AliIM::ExhibitionInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::ExhibitionInterface& l, const ::AliIM::ExhibitionInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::ExhibitionInterface& l, const ::AliIM::ExhibitionInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::ExhibitionInterface& l, const ::AliIM::ExhibitionInterface& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::ExhibitionInterface& l, const ::AliIM::ExhibitionInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::ExhibitionInterface& l, const ::AliIM::ExhibitionInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/OpenIMWebService.cpp.svn-base b/features/aliww/source/.svn/text-base/OpenIMWebService.cpp.svn-base deleted file mode 100644 index d084c2d..0000000 --- a/features/aliww/source/.svn/text-base/OpenIMWebService.cpp.svn-base +++ /dev/null @@ -1,5718 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.4.1 - -// -// -// Generated from file `OpenIMWebService.ice' -// -// Warning: do not edit this file. -// -// - -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 304 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __OpenImWebService__OpenImSrvMgr__BindService_name = "BindService"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__UnbindService_name = "UnbindService"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__DoAuth_name = "DoAuth"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__AddWebsite_name = "AddWebsite"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__DelWebsite_name = "DelWebsite"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__ChgWebsite_name = "ChgWebsite"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__ChgWebsiteStatus_name = "ChgWebsiteStatus"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__SyncWebTribe_name = "SyncWebTribe"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__StopWebTribe_name = "StopWebTribe"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__ModifyWebTribe_name = "ModifyWebTribe"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__AddTribeMember_name = "AddTribeMember"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__DelTribeMember_name = "DelTribeMember"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__QuitTribe_name = "QuitTribe"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__AddContact_name = "AddContact"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__SendWebsiteMsg_name = "SendWebsiteMsg"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__SendUserMsg_name = "SendUserMsg"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__GetHisOnline_name = "GetHisOnline"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__GetAllHisOnline_name = "GetAllHisOnline"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__GetCurrOnline_name = "GetCurrOnline"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__GetAllCurrOnline_name = "GetAllCurrOnline"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__GetHisMaxOnline_name = "GetHisMaxOnline"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__GetAllHisMaxOnline_name = "GetAllHisMaxOnline"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__QueryLog_name = "QueryLog"; - -::Ice::Object* IceInternal::upCast(::OpenImWebService::OpenImSrvMgr* p) { return p; } -::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::OpenImWebService::OpenImSrvMgr* p) { return p; } - -void -OpenImWebService::__read(::IceInternal::BasicStream* __is, ::OpenImWebService::OpenImSrvMgrPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::OpenImWebService::OpenImSrvMgr; - v->__copyFrom(proxy); - } -} - -void -OpenImWebService::__writeKVMap(::IceInternal::BasicStream* __os, const ::OpenImWebService::KVMap& v) -{ - __os->writeSize(::Ice::Int(v.size())); - ::OpenImWebService::KVMap::const_iterator p; - for(p = v.begin(); p != v.end(); ++p) - { - __os->write(p->first); - __os->write(p->second); - } -} - -void -OpenImWebService::__readKVMap(::IceInternal::BasicStream* __is, ::OpenImWebService::KVMap& v) -{ - ::Ice::Int sz; - __is->readSize(sz); - while(sz--) - { - ::std::pair pair; - __is->read(const_cast< ::std::string&>(pair.first)); - ::OpenImWebService::KVMap::iterator __i = v.insert(v.end(), pair); - __is->read(__i->second); - } -} - -void -OpenImWebService::SWebUserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(wangwangId); - __os->write(webUid); -} - -void -OpenImWebService::SWebUserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(wangwangId); - __is->read(webUid); -} - -void -OpenImWebService::__writeSWebUserInfoSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SWebUserInfo* begin, const ::OpenImWebService::SWebUserInfo* end) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -OpenImWebService::__readSWebUserInfoSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SWebUserInfoSeq& v) -{ - ::Ice::Int sz; - __is->readAndCheckSeqSize(2, sz); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - } -} - -void -OpenImWebService::SMemberInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(webUid); - __os->write(nickName); - __os->write(tribeLevel); -} - -void -OpenImWebService::SMemberInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(webUid); - __is->read(nickName); - __is->read(tribeLevel); -} - -void -OpenImWebService::__writeSMemberInfoSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SMemberInfo* begin, const ::OpenImWebService::SMemberInfo* end) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -OpenImWebService::__readSMemberInfoSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SMemberInfoSeq& v) -{ - ::Ice::Int sz; - __is->readAndCheckSeqSize(6, sz); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - } -} - -void -OpenImWebService::STribeInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(name); - __os->write(icon); - __os->write(description); - __os->write(bulletin); - __os->write(type); - __os->write(masterId); - if(memberList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::OpenImWebService::__writeSWebUserInfoSeq(__os, &memberList[0], &memberList[0] + memberList.size()); - } -} - -void -OpenImWebService::STribeInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(name); - __is->read(icon); - __is->read(description); - __is->read(bulletin); - __is->read(type); - __is->read(masterId); - ::OpenImWebService::__readSWebUserInfoSeq(__is, memberList); -} - -void -OpenImWebService::__writeSTribeInfoSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::STribeInfo* begin, const ::OpenImWebService::STribeInfo* end) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -OpenImWebService::__readSTribeInfoSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::STribeInfoSeq& v) -{ - ::Ice::Int sz; - __is->readAndCheckSeqSize(11, sz); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - } -} - -void -OpenImWebService::SNotifySysMsg::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(createId); - __os->write(cmdId); - __os->write(style); - __os->write(message); - __os->write(saveFlag); - __os->write(expireTime); -} - -void -OpenImWebService::SNotifySysMsg::__read(::IceInternal::BasicStream* __is) -{ - __is->read(createId); - __is->read(cmdId); - __is->read(style); - __is->read(message); - __is->read(saveFlag); - __is->read(expireTime); -} - -void -OpenImWebService::__writeSNotifySysMsgSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SNotifySysMsg* begin, const ::OpenImWebService::SNotifySysMsg* end) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -OpenImWebService::__readSNotifySysMsgSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SNotifySysMsgSeq& v) -{ - ::Ice::Int sz; - __is->readAndCheckSeqSize(12, sz); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - } -} - -void -OpenImWebService::SWebStatistics::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(date); - __os->write(maxOnline); - __os->write(loginNum); -} - -void -OpenImWebService::SWebStatistics::__read(::IceInternal::BasicStream* __is) -{ - __is->read(date); - __is->read(maxOnline); - __is->read(loginNum); -} - -void -OpenImWebService::__writeSWebStatisticsSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SWebStatistics* begin, const ::OpenImWebService::SWebStatistics* end) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -OpenImWebService::__readSWebStatisticsSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SWebStatisticsSeq& v) -{ - ::Ice::Int sz; - __is->readAndCheckSeqSize(9, sz); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - } -} - -void -OpenImWebService::SWebStatisticsAll::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(serviceId); - __os->write(webId); - if(statList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::OpenImWebService::__writeSWebStatisticsSeq(__os, &statList[0], &statList[0] + statList.size()); - } -} - -void -OpenImWebService::SWebStatisticsAll::__read(::IceInternal::BasicStream* __is) -{ - __is->read(serviceId); - __is->read(webId); - ::OpenImWebService::__readSWebStatisticsSeq(__is, statList); -} - -void -OpenImWebService::__writeSWebStatisticsAllSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SWebStatisticsAll* begin, const ::OpenImWebService::SWebStatisticsAll* end) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -OpenImWebService::__readSWebStatisticsAllSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SWebStatisticsAllSeq& v) -{ - ::Ice::Int sz; - __is->readAndCheckSeqSize(3, sz); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - } -} - -void -OpenImWebService::SWebOnlineStatisticsAll::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(serviceId); - __os->write(webId); - __os->write(maxOnline); -} - -void -OpenImWebService::SWebOnlineStatisticsAll::__read(::IceInternal::BasicStream* __is) -{ - __is->read(serviceId); - __is->read(webId); - __is->read(maxOnline); -} - -void -OpenImWebService::__writeSWebOnlineStatisticsAllSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SWebOnlineStatisticsAll* begin, const ::OpenImWebService::SWebOnlineStatisticsAll* end) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -OpenImWebService::__readSWebOnlineStatisticsAllSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SWebOnlineStatisticsAllSeq& v) -{ - ::Ice::Int sz; - __is->readAndCheckSeqSize(6, sz); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - } -} - -void -OpenImWebService::SUrlInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(baseUrl); - __os->write(trustUrl); -} - -void -OpenImWebService::SUrlInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(baseUrl); - __is->read(trustUrl); -} - -void -OpenImWebService::__writeSUrlInfoSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SUrlInfo* begin, const ::OpenImWebService::SUrlInfo* end) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -OpenImWebService::__readSUrlInfoSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SUrlInfoSeq& v) -{ - ::Ice::Int sz; - __is->readAndCheckSeqSize(2, sz); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - } -} - -void -OpenImWebService::QueryItems::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(actor); - __os->write(password); - __os->write(fromUid); - __os->write(tribeId); - __os->write(startDate); - __os->write(endDate); - __os->write(content); - __os->write(startRow); - __os->write(endRow); -} - -void -OpenImWebService::QueryItems::__read(::IceInternal::BasicStream* __is) -{ - __is->read(actor); - __is->read(password); - __is->read(fromUid); - __is->read(tribeId); - __is->read(startDate); - __is->read(endDate); - __is->read(content); - __is->read(startRow); - __is->read(endRow); -} - -void -OpenImWebService::SUidPairMsg::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(fromid); - __os->write(msgTime); - __os->write(msgcontent); -} - -void -OpenImWebService::SUidPairMsg::__read(::IceInternal::BasicStream* __is) -{ - __is->read(fromid); - __is->read(msgTime); - __is->read(msgcontent); -} - -void -OpenImWebService::__writeSUidPairMsgSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SUidPairMsg* begin, const ::OpenImWebService::SUidPairMsg* end) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -OpenImWebService::__readSUidPairMsgSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SUidPairMsgSeq& v) -{ - ::Ice::Int sz; - __is->readAndCheckSeqSize(6, sz); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - } -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::BindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t, const ::std::string& wangwangId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__BindService_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->BindService(serviceId, webId, webUid, aliuid, currToken, t, wangwangId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_BindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t, const ::std::string& wangwangId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__BindService_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__BindService_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__BindService_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(webUid); - __os->write(aliuid); - __os->write(currToken); - __os->write(t); - __os->write(wangwangId); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_BindService(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__BindService_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::UnbindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& wangwangId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__UnbindService_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->UnbindService(serviceId, webId, webUid, wangwangId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_UnbindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& wangwangId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__UnbindService_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__UnbindService_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__UnbindService_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(webUid); - __os->write(wangwangId); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_UnbindService(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__UnbindService_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::DoAuth(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, ::std::string& webUid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__DoAuth_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->DoAuth(serviceId, webId, aliuid, token, t, webUid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_DoAuth(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__DoAuth_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__DoAuth_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__DoAuth_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(aliuid); - __os->write(token); - __os->write(t); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_DoAuth(::std::string& webUid, const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__DoAuth_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(webUid); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__AddWebsite_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->AddWebsite(serviceId, webId, name, webUrl, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__AddWebsite_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__AddWebsite_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__AddWebsite_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(name); - if(webUrl.size() == 0) - { - __os->writeSize(0); - } - else - { - ::OpenImWebService::__writeSUrlInfoSeq(__os, &webUrl[0], &webUrl[0] + webUrl.size()); - } - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_AddWebsite(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__AddWebsite_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__DelWebsite_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->DelWebsite(serviceId, webId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__DelWebsite_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__DelWebsite_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__DelWebsite_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_DelWebsite(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__DelWebsite_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__ChgWebsite_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->ChgWebsite(serviceId, webId, name, webUrl, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__ChgWebsite_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__ChgWebsite_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__ChgWebsite_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(name); - if(webUrl.size() == 0) - { - __os->writeSize(0); - } - else - { - ::OpenImWebService::__writeSUrlInfoSeq(__os, &webUrl[0], &webUrl[0] + webUrl.size()); - } - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_ChgWebsite(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__ChgWebsite_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__ChgWebsiteStatus_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->ChgWebsiteStatus(serviceId, webId, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__ChgWebsiteStatus_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__ChgWebsiteStatus_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__ChgWebsiteStatus_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(status); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_ChgWebsiteStatus(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__ChgWebsiteStatus_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::SyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::OpenImWebService::STribeInfo& tribe, ::Ice::Long& tribeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__SyncWebTribe_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->SyncWebTribe(serviceId, webId, tribe, tribeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_SyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::OpenImWebService::STribeInfo& tribe, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__SyncWebTribe_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__SyncWebTribe_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__SyncWebTribe_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - tribe.__write(__os); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_SyncWebTribe(::Ice::Long& tribeId, const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__SyncWebTribe_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(tribeId); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::StopWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__StopWebTribe_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->StopWebTribe(serviceId, webId, tribeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_StopWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__StopWebTribe_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__StopWebTribe_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__StopWebTribe_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(tribeId); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_StopWebTribe(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__StopWebTribe_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::ModifyWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::KVMap& items, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__ModifyWebTribe_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->ModifyWebTribe(serviceId, webId, tribeId, items, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_ModifyWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::KVMap& items, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__ModifyWebTribe_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__ModifyWebTribe_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__ModifyWebTribe_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(tribeId); - ::OpenImWebService::__writeKVMap(__os, items); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_ModifyWebTribe(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__ModifyWebTribe_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::AddTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& member, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__AddTribeMember_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->AddTribeMember(serviceId, webId, tribeId, member, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_AddTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& member, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__AddTribeMember_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__AddTribeMember_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__AddTribeMember_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(tribeId); - member.__write(__os); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_AddTribeMember(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__AddTribeMember_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::DelTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::std::string& operId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__DelTribeMember_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->DelTribeMember(serviceId, webId, tribeId, memberId, operId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_DelTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::std::string& operId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__DelTribeMember_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__DelTribeMember_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__DelTribeMember_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(tribeId); - memberId.__write(__os); - __os->write(operId); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_DelTribeMember(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__DelTribeMember_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::QuitTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__QuitTribe_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->QuitTribe(serviceId, webId, tribeId, memberId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_QuitTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__QuitTribe_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__QuitTribe_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__QuitTribe_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(tribeId); - memberId.__write(__os); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_QuitTribe(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__QuitTribe_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::AddContact(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& wangwangId, const ::OpenImWebService::SWebUserInfoSeq& contactList, ::OpenImWebService::CntctSeq& cnt, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__AddContact_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->AddContact(serviceId, webId, wangwangId, contactList, cnt, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_AddContact(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& wangwangId, const ::OpenImWebService::SWebUserInfoSeq& contactList, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__AddContact_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__AddContact_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__AddContact_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(wangwangId); - if(contactList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::OpenImWebService::__writeSWebUserInfoSeq(__os, &contactList[0], &contactList[0] + contactList.size()); - } - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_AddContact(::OpenImWebService::CntctSeq& cnt, const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__AddContact_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(cnt); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::SendWebsiteMsg(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::StringSeq& receivers, const ::OpenImWebService::SNotifySysMsg& message, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__SendWebsiteMsg_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->SendWebsiteMsg(serviceId, webId, receivers, message, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_SendWebsiteMsg(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::StringSeq& receivers, const ::OpenImWebService::SNotifySysMsg& message, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__SendWebsiteMsg_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__SendWebsiteMsg_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__SendWebsiteMsg_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - if(receivers.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&receivers[0], &receivers[0] + receivers.size()); - } - message.__write(__os); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_SendWebsiteMsg(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__SendWebsiteMsg_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::SendUserMsg(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int cmdId, const ::std::string& fromId, const ::std::string& toId, const ::OpenImWebService::KVMap& message, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__SendUserMsg_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->SendUserMsg(serviceId, webId, cmdId, fromId, toId, message, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_SendUserMsg(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int cmdId, const ::std::string& fromId, const ::std::string& toId, const ::OpenImWebService::KVMap& message, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__SendUserMsg_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__SendUserMsg_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__SendUserMsg_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(cmdId); - __os->write(fromId); - __os->write(toId); - ::OpenImWebService::__writeKVMap(__os, message); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_SendUserMsg(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__SendUserMsg_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::GetHisOnline(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__GetHisOnline_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->GetHisOnline(serviceId, webId, fromDate, toDate, data, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_GetHisOnline(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& fromDate, const ::std::string& toDate, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__GetHisOnline_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__GetHisOnline_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__GetHisOnline_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(fromDate); - __os->write(toDate); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_GetHisOnline(::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__GetHisOnline_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - ::OpenImWebService::__readSWebStatisticsSeq(__is, data); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::GetAllHisOnline(const ::std::string& serviceId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__GetAllHisOnline_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->GetAllHisOnline(serviceId, fromDate, toDate, data, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_GetAllHisOnline(const ::std::string& serviceId, const ::std::string& fromDate, const ::std::string& toDate, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__GetAllHisOnline_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__GetAllHisOnline_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__GetAllHisOnline_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(fromDate); - __os->write(toDate); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_GetAllHisOnline(::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__GetAllHisOnline_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - ::OpenImWebService::__readSWebStatisticsSeq(__is, data); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::GetCurrOnline(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Long& number, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__GetCurrOnline_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->GetCurrOnline(serviceId, webId, number, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_GetCurrOnline(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__GetCurrOnline_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__GetCurrOnline_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__GetCurrOnline_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_GetCurrOnline(::Ice::Long& number, const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__GetCurrOnline_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(number); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::GetAllCurrOnline(const ::std::string& serviceId, ::Ice::Long& number, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__GetAllCurrOnline_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->GetAllCurrOnline(serviceId, number, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_GetAllCurrOnline(const ::std::string& serviceId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__GetAllCurrOnline_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__GetAllCurrOnline_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__GetAllCurrOnline_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_GetAllCurrOnline(::Ice::Long& number, const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__GetAllCurrOnline_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(number); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::GetHisMaxOnline(const ::std::string& serviceId, const ::std::string& webId, ::OpenImWebService::SWebStatistics& data, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__GetHisMaxOnline_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->GetHisMaxOnline(serviceId, webId, data, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_GetHisMaxOnline(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__GetHisMaxOnline_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__GetHisMaxOnline_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__GetHisMaxOnline_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_GetHisMaxOnline(::OpenImWebService::SWebStatistics& data, const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__GetHisMaxOnline_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - data.__read(__is); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::GetAllHisMaxOnline(const ::std::string& serviceId, ::std::string& date, ::Ice::Long& number, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__GetAllHisMaxOnline_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->GetAllHisMaxOnline(serviceId, date, number, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_GetAllHisMaxOnline(const ::std::string& serviceId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__GetAllHisMaxOnline_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__GetAllHisMaxOnline_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__GetAllHisMaxOnline_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_GetAllHisMaxOnline(::std::string& date, ::Ice::Long& number, const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__GetAllHisMaxOnline_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(date); - __is->read(number); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::QueryLog(const ::OpenImWebService::QueryItems& qi, ::OpenImWebService::SUidPairMsgSeq& rl, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__QueryLog_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->QueryLog(qi, rl, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_QueryLog(const ::OpenImWebService::QueryItems& qi, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__QueryLog_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__QueryLog_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__QueryLog_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - qi.__write(__os); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_QueryLog(::OpenImWebService::SUidPairMsgSeq& rl, const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__QueryLog_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - ::OpenImWebService::__readSUidPairMsgSeq(__is, rl); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -const ::std::string& -IceProxy::OpenImWebService::OpenImSrvMgr::ice_staticId() -{ - return ::OpenImWebService::OpenImSrvMgr::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::OpenImWebService::OpenImSrvMgr::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::OpenImWebService::OpenImSrvMgr); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::OpenImWebService::OpenImSrvMgr::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::OpenImWebService::OpenImSrvMgr); -} - -::IceProxy::Ice::Object* -IceProxy::OpenImWebService::OpenImSrvMgr::__newInstance() const -{ - return new OpenImSrvMgr; -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::BindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t, const ::std::string& wangwangId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__BindService_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(webUid); - __os->write(aliuid); - __os->write(currToken); - __os->write(t); - __os->write(wangwangId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::UnbindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& wangwangId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__UnbindService_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(webUid); - __os->write(wangwangId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::DoAuth(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, ::std::string& webUid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__DoAuth_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(aliuid); - __os->write(token); - __os->write(t); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(webUid); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__AddWebsite_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(name); - if(webUrl.size() == 0) - { - __os->writeSize(0); - } - else - { - ::OpenImWebService::__writeSUrlInfoSeq(__os, &webUrl[0], &webUrl[0] + webUrl.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__DelWebsite_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__ChgWebsite_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(name); - if(webUrl.size() == 0) - { - __os->writeSize(0); - } - else - { - ::OpenImWebService::__writeSUrlInfoSeq(__os, &webUrl[0], &webUrl[0] + webUrl.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__ChgWebsiteStatus_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(status); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::SyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::OpenImWebService::STribeInfo& tribe, ::Ice::Long& tribeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__SyncWebTribe_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - tribe.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(tribeId); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::StopWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__StopWebTribe_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::ModifyWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::KVMap& items, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__ModifyWebTribe_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(tribeId); - ::OpenImWebService::__writeKVMap(__os, items); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::AddTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& member, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__AddTribeMember_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(tribeId); - member.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::DelTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::std::string& operId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__DelTribeMember_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(tribeId); - memberId.__write(__os); - __os->write(operId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::QuitTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__QuitTribe_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(tribeId); - memberId.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::AddContact(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& wangwangId, const ::OpenImWebService::SWebUserInfoSeq& contactList, ::OpenImWebService::CntctSeq& cnt, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__AddContact_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(wangwangId); - if(contactList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::OpenImWebService::__writeSWebUserInfoSeq(__os, &contactList[0], &contactList[0] + contactList.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(cnt); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::SendWebsiteMsg(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::StringSeq& receivers, const ::OpenImWebService::SNotifySysMsg& message, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__SendWebsiteMsg_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - if(receivers.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&receivers[0], &receivers[0] + receivers.size()); - } - message.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::SendUserMsg(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int cmdId, const ::std::string& fromId, const ::std::string& toId, const ::OpenImWebService::KVMap& message, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__SendUserMsg_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(cmdId); - __os->write(fromId); - __os->write(toId); - ::OpenImWebService::__writeKVMap(__os, message); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::GetHisOnline(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__GetHisOnline_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(fromDate); - __os->write(toDate); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - ::OpenImWebService::__readSWebStatisticsSeq(__is, data); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::GetAllHisOnline(const ::std::string& serviceId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__GetAllHisOnline_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(fromDate); - __os->write(toDate); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - ::OpenImWebService::__readSWebStatisticsSeq(__is, data); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::GetCurrOnline(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Long& number, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__GetCurrOnline_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(number); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::GetAllCurrOnline(const ::std::string& serviceId, ::Ice::Long& number, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__GetAllCurrOnline_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(number); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::GetHisMaxOnline(const ::std::string& serviceId, const ::std::string& webId, ::OpenImWebService::SWebStatistics& data, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__GetHisMaxOnline_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - data.__read(__is); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::GetAllHisMaxOnline(const ::std::string& serviceId, ::std::string& date, ::Ice::Long& number, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__GetAllHisMaxOnline_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(date); - __is->read(number); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::QueryLog(const ::OpenImWebService::QueryItems& qi, ::OpenImWebService::SUidPairMsgSeq& rl, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__QueryLog_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - qi.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - ::OpenImWebService::__readSUidPairMsgSeq(__is, rl); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::BindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t, const ::std::string& wangwangId, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t, const ::std::string& wangwangId, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_webUid(webUid), - _m_aliuid(aliuid), - _m_currToken(currToken), - _m_t(t), - _m_wangwangId(wangwangId) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->BindService(_m_serviceId, _m_webId, _m_webUid, _m_aliuid, _m_currToken, _m_t, _m_wangwangId, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::std::string& _m_webUid; - const ::std::string& _m_aliuid; - const ::std::string& _m_currToken; - ::Ice::Long _m_t; - const ::std::string& _m_wangwangId; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__BindService_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, webUid, aliuid, currToken, t, wangwangId, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::UnbindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& wangwangId, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& wangwangId, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_webUid(webUid), - _m_wangwangId(wangwangId) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->UnbindService(_m_serviceId, _m_webId, _m_webUid, _m_wangwangId, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::std::string& _m_webUid; - const ::std::string& _m_wangwangId; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__UnbindService_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, webUid, wangwangId, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::DoAuth(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, ::std::string& webUid, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, ::std::string& webUid, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_aliuid(aliuid), - _m_token(token), - _m_t(t), - _m_webUid(webUid) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->DoAuth(_m_serviceId, _m_webId, _m_aliuid, _m_token, _m_t, _m_webUid, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::std::string& _m_aliuid; - const ::std::string& _m_token; - ::Ice::Long _m_t; - ::std::string& _m_webUid; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__DoAuth_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, aliuid, token, t, webUid, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_name(name), - _m_webUrl(webUrl) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->AddWebsite(_m_serviceId, _m_webId, _m_name, _m_webUrl, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::std::string& _m_name; - const ::OpenImWebService::SUrlInfoSeq& _m_webUrl; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__AddWebsite_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, name, webUrl, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->DelWebsite(_m_serviceId, _m_webId, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__DelWebsite_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_name(name), - _m_webUrl(webUrl) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->ChgWebsite(_m_serviceId, _m_webId, _m_name, _m_webUrl, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::std::string& _m_name; - const ::OpenImWebService::SUrlInfoSeq& _m_webUrl; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__ChgWebsite_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, name, webUrl, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_status(status) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->ChgWebsiteStatus(_m_serviceId, _m_webId, _m_status, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - ::Ice::Int _m_status; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__ChgWebsiteStatus_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, status, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::SyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::OpenImWebService::STribeInfo& tribe, ::Ice::Long& tribeId, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::OpenImWebService::STribeInfo& tribe, ::Ice::Long& tribeId, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_tribe(tribe), - _m_tribeId(tribeId) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->SyncWebTribe(_m_serviceId, _m_webId, _m_tribe, _m_tribeId, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::OpenImWebService::STribeInfo& _m_tribe; - ::Ice::Long& _m_tribeId; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__SyncWebTribe_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, tribe, tribeId, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::StopWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_tribeId(tribeId) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->StopWebTribe(_m_serviceId, _m_webId, _m_tribeId, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::std::string& _m_tribeId; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__StopWebTribe_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, tribeId, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::ModifyWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::KVMap& items, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::KVMap& items, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_tribeId(tribeId), - _m_items(items) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->ModifyWebTribe(_m_serviceId, _m_webId, _m_tribeId, _m_items, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::std::string& _m_tribeId; - const ::OpenImWebService::KVMap& _m_items; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__ModifyWebTribe_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, tribeId, items, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::AddTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& member, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& member, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_tribeId(tribeId), - _m_member(member) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->AddTribeMember(_m_serviceId, _m_webId, _m_tribeId, _m_member, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::std::string& _m_tribeId; - const ::OpenImWebService::SWebUserInfo& _m_member; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__AddTribeMember_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, tribeId, member, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::DelTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::std::string& operId, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::std::string& operId, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_tribeId(tribeId), - _m_memberId(memberId), - _m_operId(operId) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->DelTribeMember(_m_serviceId, _m_webId, _m_tribeId, _m_memberId, _m_operId, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::std::string& _m_tribeId; - const ::OpenImWebService::SWebUserInfo& _m_memberId; - const ::std::string& _m_operId; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__DelTribeMember_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, tribeId, memberId, operId, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::QuitTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_tribeId(tribeId), - _m_memberId(memberId) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->QuitTribe(_m_serviceId, _m_webId, _m_tribeId, _m_memberId, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::std::string& _m_tribeId; - const ::OpenImWebService::SWebUserInfo& _m_memberId; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__QuitTribe_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, tribeId, memberId, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::AddContact(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& wangwangId, const ::OpenImWebService::SWebUserInfoSeq& contactList, ::OpenImWebService::CntctSeq& cnt, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::std::string& wangwangId, const ::OpenImWebService::SWebUserInfoSeq& contactList, ::OpenImWebService::CntctSeq& cnt, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_wangwangId(wangwangId), - _m_contactList(contactList), - _m_cnt(cnt) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->AddContact(_m_serviceId, _m_webId, _m_wangwangId, _m_contactList, _m_cnt, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::std::string& _m_wangwangId; - const ::OpenImWebService::SWebUserInfoSeq& _m_contactList; - ::OpenImWebService::CntctSeq& _m_cnt; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__AddContact_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, wangwangId, contactList, cnt, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::SendWebsiteMsg(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::StringSeq& receivers, const ::OpenImWebService::SNotifySysMsg& message, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::Ice::StringSeq& receivers, const ::OpenImWebService::SNotifySysMsg& message, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_receivers(receivers), - _m_message(message) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->SendWebsiteMsg(_m_serviceId, _m_webId, _m_receivers, _m_message, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::Ice::StringSeq& _m_receivers; - const ::OpenImWebService::SNotifySysMsg& _m_message; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__SendWebsiteMsg_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, receivers, message, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::SendUserMsg(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int cmdId, const ::std::string& fromId, const ::std::string& toId, const ::OpenImWebService::KVMap& message, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int cmdId, const ::std::string& fromId, const ::std::string& toId, const ::OpenImWebService::KVMap& message, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_cmdId(cmdId), - _m_fromId(fromId), - _m_toId(toId), - _m_message(message) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->SendUserMsg(_m_serviceId, _m_webId, _m_cmdId, _m_fromId, _m_toId, _m_message, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - ::Ice::Int _m_cmdId; - const ::std::string& _m_fromId; - const ::std::string& _m_toId; - const ::OpenImWebService::KVMap& _m_message; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__SendUserMsg_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, cmdId, fromId, toId, message, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::GetHisOnline(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_fromDate(fromDate), - _m_toDate(toDate), - _m_data(data) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->GetHisOnline(_m_serviceId, _m_webId, _m_fromDate, _m_toDate, _m_data, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::std::string& _m_fromDate; - const ::std::string& _m_toDate; - ::OpenImWebService::SWebStatisticsSeq& _m_data; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__GetHisOnline_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, fromDate, toDate, data, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::GetAllHisOnline(const ::std::string& serviceId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_fromDate(fromDate), - _m_toDate(toDate), - _m_data(data) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->GetAllHisOnline(_m_serviceId, _m_fromDate, _m_toDate, _m_data, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_fromDate; - const ::std::string& _m_toDate; - ::OpenImWebService::SWebStatisticsSeq& _m_data; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__GetAllHisOnline_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, fromDate, toDate, data, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::GetCurrOnline(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Long& number, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, ::Ice::Long& number, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_number(number) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->GetCurrOnline(_m_serviceId, _m_webId, _m_number, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - ::Ice::Long& _m_number; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__GetCurrOnline_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, number, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::GetAllCurrOnline(const ::std::string& serviceId, ::Ice::Long& number, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, ::Ice::Long& number, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_number(number) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->GetAllCurrOnline(_m_serviceId, _m_number, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - ::Ice::Long& _m_number; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__GetAllCurrOnline_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, number, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::GetHisMaxOnline(const ::std::string& serviceId, const ::std::string& webId, ::OpenImWebService::SWebStatistics& data, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, ::OpenImWebService::SWebStatistics& data, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_data(data) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->GetHisMaxOnline(_m_serviceId, _m_webId, _m_data, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - ::OpenImWebService::SWebStatistics& _m_data; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__GetHisMaxOnline_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, data, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::GetAllHisMaxOnline(const ::std::string& serviceId, ::std::string& date, ::Ice::Long& number, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, ::std::string& date, ::Ice::Long& number, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_date(date), - _m_number(number) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->GetAllHisMaxOnline(_m_serviceId, _m_date, _m_number, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - ::std::string& _m_date; - ::Ice::Long& _m_number; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__GetAllHisMaxOnline_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, date, number, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::QueryLog(const ::OpenImWebService::QueryItems& qi, ::OpenImWebService::SUidPairMsgSeq& rl, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::OpenImWebService::QueryItems& qi, ::OpenImWebService::SUidPairMsgSeq& rl, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_qi(qi), - _m_rl(rl) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->QueryLog(_m_qi, _m_rl, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::OpenImWebService::QueryItems& _m_qi; - ::OpenImWebService::SUidPairMsgSeq& _m_rl; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__QueryLog_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, qi, rl, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::ObjectPtr -OpenImWebService::OpenImSrvMgr::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __OpenImWebService__OpenImSrvMgr_ids[2] = -{ - "::Ice::Object", - "::OpenImWebService::OpenImSrvMgr" -}; - -bool -OpenImWebService::OpenImSrvMgr::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__OpenImWebService__OpenImSrvMgr_ids, __OpenImWebService__OpenImSrvMgr_ids + 2, _s); -} - -::std::vector< ::std::string> -OpenImWebService::OpenImSrvMgr::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__OpenImWebService__OpenImSrvMgr_ids[0], &__OpenImWebService__OpenImSrvMgr_ids[2]); -} - -const ::std::string& -OpenImWebService::OpenImSrvMgr::ice_id(const ::Ice::Current&) const -{ - return __OpenImWebService__OpenImSrvMgr_ids[1]; -} - -const ::std::string& -OpenImWebService::OpenImSrvMgr::ice_staticId() -{ - return __OpenImWebService__OpenImSrvMgr_ids[1]; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___BindService(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::std::string webUid; - ::std::string aliuid; - ::std::string currToken; - ::Ice::Long t; - ::std::string wangwangId; - __is->read(serviceId); - __is->read(webId); - __is->read(webUid); - __is->read(aliuid); - __is->read(currToken); - __is->read(t); - __is->read(wangwangId); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = BindService(serviceId, webId, webUid, aliuid, currToken, t, wangwangId, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___UnbindService(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::std::string webUid; - ::std::string wangwangId; - __is->read(serviceId); - __is->read(webId); - __is->read(webUid); - __is->read(wangwangId); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = UnbindService(serviceId, webId, webUid, wangwangId, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___DoAuth(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::std::string aliuid; - ::std::string token; - ::Ice::Long t; - __is->read(serviceId); - __is->read(webId); - __is->read(aliuid); - __is->read(token); - __is->read(t); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string webUid; - ::Ice::Int __ret = DoAuth(serviceId, webId, aliuid, token, t, webUid, __current); - __os->write(webUid); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___AddWebsite(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::std::string name; - ::OpenImWebService::SUrlInfoSeq webUrl; - __is->read(serviceId); - __is->read(webId); - __is->read(name); - ::OpenImWebService::__readSUrlInfoSeq(__is, webUrl); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = AddWebsite(serviceId, webId, name, webUrl, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___DelWebsite(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - __is->read(serviceId); - __is->read(webId); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = DelWebsite(serviceId, webId, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___ChgWebsite(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::std::string name; - ::OpenImWebService::SUrlInfoSeq webUrl; - __is->read(serviceId); - __is->read(webId); - __is->read(name); - ::OpenImWebService::__readSUrlInfoSeq(__is, webUrl); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = ChgWebsite(serviceId, webId, name, webUrl, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___ChgWebsiteStatus(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::Ice::Int status; - __is->read(serviceId); - __is->read(webId); - __is->read(status); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = ChgWebsiteStatus(serviceId, webId, status, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___SyncWebTribe(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::OpenImWebService::STribeInfo tribe; - __is->read(serviceId); - __is->read(webId); - tribe.__read(__is); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long tribeId; - ::Ice::Int __ret = SyncWebTribe(serviceId, webId, tribe, tribeId, __current); - __os->write(tribeId); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___StopWebTribe(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::std::string tribeId; - __is->read(serviceId); - __is->read(webId); - __is->read(tribeId); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = StopWebTribe(serviceId, webId, tribeId, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___ModifyWebTribe(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::std::string tribeId; - ::OpenImWebService::KVMap items; - __is->read(serviceId); - __is->read(webId); - __is->read(tribeId); - ::OpenImWebService::__readKVMap(__is, items); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = ModifyWebTribe(serviceId, webId, tribeId, items, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___AddTribeMember(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::std::string tribeId; - ::OpenImWebService::SWebUserInfo member; - __is->read(serviceId); - __is->read(webId); - __is->read(tribeId); - member.__read(__is); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = AddTribeMember(serviceId, webId, tribeId, member, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___DelTribeMember(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::std::string tribeId; - ::OpenImWebService::SWebUserInfo memberId; - ::std::string operId; - __is->read(serviceId); - __is->read(webId); - __is->read(tribeId); - memberId.__read(__is); - __is->read(operId); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = DelTribeMember(serviceId, webId, tribeId, memberId, operId, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___QuitTribe(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::std::string tribeId; - ::OpenImWebService::SWebUserInfo memberId; - __is->read(serviceId); - __is->read(webId); - __is->read(tribeId); - memberId.__read(__is); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = QuitTribe(serviceId, webId, tribeId, memberId, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___AddContact(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::std::string wangwangId; - ::OpenImWebService::SWebUserInfoSeq contactList; - __is->read(serviceId); - __is->read(webId); - __is->read(wangwangId); - ::OpenImWebService::__readSWebUserInfoSeq(__is, contactList); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::OpenImWebService::CntctSeq cnt; - ::Ice::Int __ret = AddContact(serviceId, webId, wangwangId, contactList, cnt, __current); - if(cnt.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&cnt[0], &cnt[0] + cnt.size()); - } - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___SendWebsiteMsg(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::Ice::StringSeq receivers; - ::OpenImWebService::SNotifySysMsg message; - __is->read(serviceId); - __is->read(webId); - __is->read(receivers); - message.__read(__is); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = SendWebsiteMsg(serviceId, webId, receivers, message, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___SendUserMsg(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::Ice::Int cmdId; - ::std::string fromId; - ::std::string toId; - ::OpenImWebService::KVMap message; - __is->read(serviceId); - __is->read(webId); - __is->read(cmdId); - __is->read(fromId); - __is->read(toId); - ::OpenImWebService::__readKVMap(__is, message); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = SendUserMsg(serviceId, webId, cmdId, fromId, toId, message, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___GetHisOnline(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::std::string fromDate; - ::std::string toDate; - __is->read(serviceId); - __is->read(webId); - __is->read(fromDate); - __is->read(toDate); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::OpenImWebService::SWebStatisticsSeq data; - ::Ice::Int __ret = GetHisOnline(serviceId, webId, fromDate, toDate, data, __current); - if(data.size() == 0) - { - __os->writeSize(0); - } - else - { - ::OpenImWebService::__writeSWebStatisticsSeq(__os, &data[0], &data[0] + data.size()); - } - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___GetAllHisOnline(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string fromDate; - ::std::string toDate; - __is->read(serviceId); - __is->read(fromDate); - __is->read(toDate); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::OpenImWebService::SWebStatisticsSeq data; - ::Ice::Int __ret = GetAllHisOnline(serviceId, fromDate, toDate, data, __current); - if(data.size() == 0) - { - __os->writeSize(0); - } - else - { - ::OpenImWebService::__writeSWebStatisticsSeq(__os, &data[0], &data[0] + data.size()); - } - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___GetCurrOnline(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - __is->read(serviceId); - __is->read(webId); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long number; - ::Ice::Int __ret = GetCurrOnline(serviceId, webId, number, __current); - __os->write(number); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___GetAllCurrOnline(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - __is->read(serviceId); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long number; - ::Ice::Int __ret = GetAllCurrOnline(serviceId, number, __current); - __os->write(number); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___GetHisMaxOnline(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - __is->read(serviceId); - __is->read(webId); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::OpenImWebService::SWebStatistics data; - ::Ice::Int __ret = GetHisMaxOnline(serviceId, webId, data, __current); - data.__write(__os); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___GetAllHisMaxOnline(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - __is->read(serviceId); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string date; - ::Ice::Long number; - ::Ice::Int __ret = GetAllHisMaxOnline(serviceId, date, number, __current); - __os->write(date); - __os->write(number); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___QueryLog(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::OpenImWebService::QueryItems qi; - qi.__read(__is); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::OpenImWebService::SUidPairMsgSeq rl; - ::Ice::Int __ret = QueryLog(qi, rl, __current); - if(rl.size() == 0) - { - __os->writeSize(0); - } - else - { - ::OpenImWebService::__writeSUidPairMsgSeq(__os, &rl[0], &rl[0] + rl.size()); - } - __os->write(__ret); - return ::Ice::DispatchOK; -} - -static ::std::string __OpenImWebService__OpenImSrvMgr_all[] = -{ - "AddContact", - "AddTribeMember", - "AddWebsite", - "BindService", - "ChgWebsite", - "ChgWebsiteStatus", - "DelTribeMember", - "DelWebsite", - "DoAuth", - "GetAllCurrOnline", - "GetAllHisMaxOnline", - "GetAllHisOnline", - "GetCurrOnline", - "GetHisMaxOnline", - "GetHisOnline", - "ModifyWebTribe", - "QueryLog", - "QuitTribe", - "SendUserMsg", - "SendWebsiteMsg", - "StopWebTribe", - "SyncWebTribe", - "UnbindService", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__OpenImWebService__OpenImSrvMgr_all, __OpenImWebService__OpenImSrvMgr_all + 27, current.operation); - if(r.first == r.second) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation); - } - - switch(r.first - __OpenImWebService__OpenImSrvMgr_all) - { - case 0: - { - return ___AddContact(in, current); - } - case 1: - { - return ___AddTribeMember(in, current); - } - case 2: - { - return ___AddWebsite(in, current); - } - case 3: - { - return ___BindService(in, current); - } - case 4: - { - return ___ChgWebsite(in, current); - } - case 5: - { - return ___ChgWebsiteStatus(in, current); - } - case 6: - { - return ___DelTribeMember(in, current); - } - case 7: - { - return ___DelWebsite(in, current); - } - case 8: - { - return ___DoAuth(in, current); - } - case 9: - { - return ___GetAllCurrOnline(in, current); - } - case 10: - { - return ___GetAllHisMaxOnline(in, current); - } - case 11: - { - return ___GetAllHisOnline(in, current); - } - case 12: - { - return ___GetCurrOnline(in, current); - } - case 13: - { - return ___GetHisMaxOnline(in, current); - } - case 14: - { - return ___GetHisOnline(in, current); - } - case 15: - { - return ___ModifyWebTribe(in, current); - } - case 16: - { - return ___QueryLog(in, current); - } - case 17: - { - return ___QuitTribe(in, current); - } - case 18: - { - return ___SendUserMsg(in, current); - } - case 19: - { - return ___SendWebsiteMsg(in, current); - } - case 20: - { - return ___StopWebTribe(in, current); - } - case 21: - { - return ___SyncWebTribe(in, current); - } - case 22: - { - return ___UnbindService(in, current); - } - case 23: - { - return ___ice_id(in, current); - } - case 24: - { - return ___ice_ids(in, current); - } - case 25: - { - return ___ice_isA(in, current); - } - case 26: - { - return ___ice_ping(in, current); - } - } - - assert(false); - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation); -} - -void -OpenImWebService::OpenImSrvMgr::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -OpenImWebService::OpenImSrvMgr::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -// COMPILERFIX: Stream API is not supported with VC++ 6 -#if !defined(_MSC_VER) || (_MSC_VER >= 1300) -void -OpenImWebService::OpenImSrvMgr::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type OpenImWebService::OpenImSrvMgr was not generated with stream support"; - throw ex; -} - -void -OpenImWebService::OpenImSrvMgr::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type OpenImWebService::OpenImSrvMgr was not generated with stream support"; - throw ex; -} -#endif - -void -OpenImWebService::__patch__OpenImSrvMgrPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::OpenImWebService::OpenImSrvMgrPtr* p = static_cast< ::OpenImWebService::OpenImSrvMgrPtr*>(__addr); - assert(p); - *p = ::OpenImWebService::OpenImSrvMgrPtr::dynamicCast(v); - if(v && !*p) - { - IceInternal::Ex::throwUOE(::OpenImWebService::OpenImSrvMgr::ice_staticId(), v->ice_id()); - } -} diff --git a/features/aliww/source/.svn/text-base/README.svn-base b/features/aliww/source/.svn/text-base/README.svn-base deleted file mode 100644 index c3d1b52..0000000 --- a/features/aliww/source/.svn/text-base/README.svn-base +++ /dev/null @@ -1,4 +0,0 @@ -ËùÓеIJâÊÔ´úÂë·ÅÔÚÕâÀï¡£ - -Õâ¸öĿ¼ֻ´æ·Å´úÂ룬 -²»°üÀ¨Êý¾ÝÒÔ¼°ÅäÖᣠ\ No newline at end of file diff --git a/features/aliww/source/.svn/text-base/RSAWrapper.cpp.svn-base b/features/aliww/source/.svn/text-base/RSAWrapper.cpp.svn-base deleted file mode 100644 index ea4a146..0000000 --- a/features/aliww/source/.svn/text-base/RSAWrapper.cpp.svn-base +++ /dev/null @@ -1,27 +0,0 @@ -// RSAWrapper.cpp : ¶¨Òå DLL Ó¦ÓóÌÐòµÄÈë¿Úµã¡£ -// -#include "RSACipher.h" -#include "RSAWrapper.h" - -// -//#ifdef _MANAGED -//#pragma managed(push, off) -//#endif - -int RSA_PublicEncrypt(const char* szPubKey, - const int nPubKey, - const char* szOri, - const int nOriLen, - std::string& strResult) -{ - CRsaCipher rsa; - std::string strOri; - strOri.append(szOri, nOriLen); - - if(rsa.SetKey(KEY_PUB, szPubKey, nPubKey) == -1) //³öÎÊÌâÁË - return -1; - - int nRet = rsa.RSAPublicEncrypt(strOri, strResult, RSA_PKCS1_PADDING); - - return nRet; -} diff --git a/features/aliww/source/.svn/text-base/RsaCipher.cpp.svn-base b/features/aliww/source/.svn/text-base/RsaCipher.cpp.svn-base deleted file mode 100644 index 150d49d..0000000 --- a/features/aliww/source/.svn/text-base/RsaCipher.cpp.svn-base +++ /dev/null @@ -1,333 +0,0 @@ -//#include "StdAfx.h" -#include "RSACipher.h" -#include - -using namespace std; - -int pass_cb(char *buf, int size, int rwflag, void *u) -{ - int len; - char *tmp; - - string* pstrpass = (string*)u; - if(!pstrpass) - return 0; - - len = (int)(pstrpass->size()); - - if (len <= 0) return 0; - - /* if too long, truncate */ - if (len > size) - len = size; - - tmp = (char *)pstrpass->data(); - - memcpy(buf, tmp, len); - return len; -} - -CRsaCipher::CRsaCipher(void) -: m_pRSA(NULL) -{ -} - -CRsaCipher::~CRsaCipher(void) -{ -} - -bool CRsaCipher::isKeyPresent(long type) -{ - if(!m_pRSA) - { - return false; - } - - switch(type) - { - case KEY_PUB: - return (m_pRSA->e && m_pRSA->n); - case KEY_PRI: - return !(!m_pRSA->d); - default: - return false; - } -} - -int CRsaCipher::GenKey(long bits, EALICIPHERALG alg) -{ - // ³¤¶È¼ì²â - if(bits <512) - bits = 1024; - else if( (bits != 512) && (bits != 1024) && (bits != 2048) && (bits != 4096)) - { - bits = 1024; - } - - if(GetInternalCipher(alg ) == NULL) - { - return -1; - } - - // ¿ªÊ¼²úÉúkey - if(m_pRSA) - { - RSA_free(m_pRSA); - m_pRSA = NULL; - } - - srand( (unsigned)time( NULL ) ); - // - m_pRSA = RSA_generate_key(bits , 17 , NULL , NULL); - if(!m_pRSA) - { - return -1; - } - - - // ´æ´¢Ëã·¨id - m_alg = alg; - - return 0; -} - -int CRsaCipher::GetKey(eKeyType type, std::string &retKey) -{ - if(type == 0) - { - type = KEY_PUB; - } - - if(!isKeyPresent(type)) - { - return -1; - } - - switch(type) - { - case KEY_PUB: - { - // ¶ÁÈ¡¹«Ô¿ - BIO *biopubkey = BIO_new(BIO_s_mem()); - if(1 != PEM_write_bio_RSAPublicKey(biopubkey , m_pRSA)) - { - BIO_free(biopubkey); - return -1; - } - char* buffer=new char[8092]; - int outlen=8092, retlen=0; - retlen=BIO_read(biopubkey,buffer,outlen); - BIO_free(biopubkey); - retKey.assign(buffer, retlen); - delete []buffer; - } - break; - case KEY_PRI: - { - - BIO *bioprikey = BIO_new(BIO_s_mem()); - if(1 != PEM_write_bio_RSAPrivateKey(bioprikey ,m_pRSA ,GetInternalCipher(m_alg ), - (unsigned char*)m_strPass.data() ,int(m_strPass.size()),NULL , NULL)) - { - BIO_free(bioprikey); - return -1; - } - char* buffer=new char[8092]; - int outlen=8092, retlen=0; - retlen=BIO_read(bioprikey,buffer,outlen); - BIO_free(bioprikey); - retKey.assign(buffer, retlen); - delete []buffer; - } - break; - default: - return -1; - } - - return 0; -} - -int CRsaCipher::RSAPublicEncrypt(std::string &source, std::string &to, int paddType) -{ - int blockSize=RSA_size(m_pRSA); - - unsigned char* tmpbuff = new unsigned char[blockSize+1]; - if(RSA_PKCS1_PADDING == paddType) - { - blockSize -=11; - } - else if(RSA_PKCS1_OAEP_PADDING == paddType) - { - blockSize -=41; - } - int leftlen=(int)source.size(); - if(leftlen %blockSize ) - { - source.append(blockSize-leftlen%blockSize,0); - leftlen=(int)source.size(); - } - int index=0; - while(leftlen >0) - { - int flen=blockSize; - if(leftlen < blockSize) - flen = leftlen; - int num = RSA_public_encrypt(flen, (unsigned char*)source.data()+index, tmpbuff, m_pRSA, paddType); - if(num == -1) - { - delete []tmpbuff; - return -1; - } - index +=flen; - leftlen -=flen; - to.append((char*)tmpbuff,num); - } - delete []tmpbuff; - return 0; -} - -int CRsaCipher::RSAPrivDecrypt(const std::string &source, std::string &to, int paddType) -{ - int blockSize=RSA_size(m_pRSA); - int leftlen=(int)source.size(); - if(leftlen %blockSize ) - { - return -2; - //source.append(blockSize-leftlen%blockSize,0); - //leftlen=source.size(); - } - unsigned char* tmpbuff = new unsigned char[blockSize+1]; - int decyptedLen=blockSize; - if(RSA_PKCS1_PADDING == paddType) - { - decyptedLen -=11; - } - else if(RSA_PKCS1_OAEP_PADDING == paddType) - { - decyptedLen -=41; - } - int index=0; - while(leftlen >0) - { - int flen=blockSize; - // if(leftlen < blockSize) - // flen = leftlen; - int num = RSA_private_decrypt(flen, (unsigned char*)source.data()+index, tmpbuff, m_pRSA, paddType); - if(num == -1) - { - delete []tmpbuff; - return -1; - } - if(num !=decyptedLen ) - break; - index +=flen; - leftlen -=flen; - to.append((char*)tmpbuff,num); - } - delete []tmpbuff; - return 0; -} - -int CRsaCipher::SetKey(eKeyType type, const void* pKey, int nKeyLen, const std::string privkeypass) -{ - m_strPass =privkeypass; - //BSTR bstrpass, ULONGLONG pVoid - if(type == 0) - { - type = KEY_PUB; - } - - switch(type) - { - case KEY_PUB: - { - // ÉèÖù«Ô¿ - BIO *pbiopubkey = BIO_new(BIO_s_mem()); - BIO_write(pbiopubkey , pKey, nKeyLen); - RSA* pRet = NULL; - if(!(pRet = PEM_read_bio_RSAPublicKey(pbiopubkey , NULL , NULL,NULL))) - { - BIO_free(pbiopubkey); - return -1; - } - BIO_free(pbiopubkey); - if(m_pRSA) - { - RSA_free(m_pRSA); - m_pRSA = NULL; - } - - m_pRSA = pRet; - } - break; - case KEY_PRI: - { - BIO *pBio = BIO_new(BIO_s_mem()); - BIO_write(pBio , pKey, nKeyLen); - RSA* pRet = NULL; - OpenSSL_add_all_algorithms(); - if(!(pRet = PEM_read_bio_RSAPrivateKey(pBio,NULL,pass_cb,(void*)&m_strPass))) - { - BIO_free(pBio); - return -1; - } - BIO_free(pBio); - if(m_pRSA) - { - RSA_free(m_pRSA); - m_pRSA = NULL; - } - - m_alg = ALI_CIPHER_DES3_ECB_ALG; - - m_pRSA = pRet; - } - break; - default: - return -1; - } - - return 0; -} - -EVP_CIPHER* CRsaCipher::GetInternalCipher(EALICIPHERALG alg ) -{ - // ÅжÏËã·¨ÓÐЧÐÔ - EVP_CIPHER *cipher = NULL; - - switch(alg) - { - case ALI_CIPHER_DES_ECB_ALG: - cipher = const_cast(EVP_des_ecb()); - break; - case ALI_CIPHER_DES_CFB_ALG: - cipher = const_cast(EVP_des_cfb()); - break; - case ALI_CIPHER_DES_OFB_ALG: - cipher = const_cast(EVP_des_ofb()); - break; - - case ALI_CIPHER_DES3_ECB_ALG: - cipher = const_cast(EVP_des_ede3_ecb()); - break; - case ALI_CIPHER_DES3_CFB_ALG: - cipher = const_cast(EVP_des_ede3_cfb()); - break; - case ALI_CIPHER_DES3_OFB_ALG: - cipher = const_cast(EVP_des_ede3_ofb()); - break; - case ALI_CIPHER_DES3_CBC_ALG: - cipher = const_cast(EVP_des_ede3_cbc()); - break; - case ALI_CIPHER_RC4_ALG: - cipher = const_cast(EVP_rc4()); - break; - - default: - cipher = const_cast(EVP_des_cbc()); - break; - } - - return cipher; - -} \ No newline at end of file diff --git a/features/aliww/source/.svn/text-base/TribeInterface.cpp.svn-base b/features/aliww/source/.svn/text-base/TribeInterface.cpp.svn-base deleted file mode 100644 index 71c9576..0000000 --- a/features/aliww/source/.svn/text-base/TribeInterface.cpp.svn-base +++ /dev/null @@ -1,646 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.4.1 - -// -// -// Generated from file `TribeInterface.ice' -// -// Warning: do not edit this file. -// -// - -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 304 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __TribeUpdateServer__TribeUpdateInterface__UpdateTribePictrues_name = "UpdateTribePictrues"; - -static const ::std::string __TribeUpdateServer__TribeUpdateInterface__UpdateBulletinNew_name = "UpdateBulletinNew"; - -::Ice::Object* IceInternal::upCast(::TribeUpdateServer::TribeUpdateInterface* p) { return p; } -::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::TribeUpdateServer::TribeUpdateInterface* p) { return p; } - -void -TribeUpdateServer::__read(::IceInternal::BasicStream* __is, ::TribeUpdateServer::TribeUpdateInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::TribeUpdateServer::TribeUpdateInterface; - v->__copyFrom(proxy); - } -} - -::Ice::Int -IceProxy::TribeUpdateServer::TribeUpdateInterface::UpdateTribePictrues(::Ice::Long tribeId, const ::std::string& userId, ::Ice::Int type, const ::std::string& path, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeUpdateServer__TribeUpdateInterface__UpdateTribePictrues_name); - __delBase = __getDelegate(false); - ::IceDelegate::TribeUpdateServer::TribeUpdateInterface* __del = dynamic_cast< ::IceDelegate::TribeUpdateServer::TribeUpdateInterface*>(__delBase.get()); - return __del->UpdateTribePictrues(tribeId, userId, type, path, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::TribeUpdateServer::TribeUpdateInterface::begin_UpdateTribePictrues(::Ice::Long tribeId, const ::std::string& userId, ::Ice::Int type, const ::std::string& path, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__TribeUpdateServer__TribeUpdateInterface__UpdateTribePictrues_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __TribeUpdateServer__TribeUpdateInterface__UpdateTribePictrues_name, __del, __cookie); - try - { - __result->__prepare(__TribeUpdateServer__TribeUpdateInterface__UpdateTribePictrues_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(tribeId); - __os->write(userId); - __os->write(type); - __os->write(path); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::TribeUpdateServer::TribeUpdateInterface::end_UpdateTribePictrues(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __TribeUpdateServer__TribeUpdateInterface__UpdateTribePictrues_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::TribeUpdateServer::TribeUpdateInterface::UpdateBulletinNew(const ::std::string& uid, ::Ice::Long tribeId, const ::std::string& bulletinNew, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeUpdateServer__TribeUpdateInterface__UpdateBulletinNew_name); - __delBase = __getDelegate(false); - ::IceDelegate::TribeUpdateServer::TribeUpdateInterface* __del = dynamic_cast< ::IceDelegate::TribeUpdateServer::TribeUpdateInterface*>(__delBase.get()); - return __del->UpdateBulletinNew(uid, tribeId, bulletinNew, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::TribeUpdateServer::TribeUpdateInterface::begin_UpdateBulletinNew(const ::std::string& uid, ::Ice::Long tribeId, const ::std::string& bulletinNew, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__TribeUpdateServer__TribeUpdateInterface__UpdateBulletinNew_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __TribeUpdateServer__TribeUpdateInterface__UpdateBulletinNew_name, __del, __cookie); - try - { - __result->__prepare(__TribeUpdateServer__TribeUpdateInterface__UpdateBulletinNew_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(uid); - __os->write(tribeId); - __os->write(bulletinNew); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::TribeUpdateServer::TribeUpdateInterface::end_UpdateBulletinNew(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __TribeUpdateServer__TribeUpdateInterface__UpdateBulletinNew_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -const ::std::string& -IceProxy::TribeUpdateServer::TribeUpdateInterface::ice_staticId() -{ - return ::TribeUpdateServer::TribeUpdateInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::TribeUpdateServer::TribeUpdateInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::TribeUpdateServer::TribeUpdateInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::TribeUpdateServer::TribeUpdateInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::TribeUpdateServer::TribeUpdateInterface); -} - -::IceProxy::Ice::Object* -IceProxy::TribeUpdateServer::TribeUpdateInterface::__newInstance() const -{ - return new TribeUpdateInterface; -} - -::Ice::Int -IceDelegateM::TribeUpdateServer::TribeUpdateInterface::UpdateTribePictrues(::Ice::Long tribeId, const ::std::string& userId, ::Ice::Int type, const ::std::string& path, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __TribeUpdateServer__TribeUpdateInterface__UpdateTribePictrues_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(userId); - __os->write(type); - __os->write(path); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeUpdateServer::TribeUpdateInterface::UpdateBulletinNew(const ::std::string& uid, ::Ice::Long tribeId, const ::std::string& bulletinNew, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __TribeUpdateServer__TribeUpdateInterface__UpdateBulletinNew_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(tribeId); - __os->write(bulletinNew); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::TribeUpdateServer::TribeUpdateInterface::UpdateTribePictrues(::Ice::Long tribeId, const ::std::string& userId, ::Ice::Int type, const ::std::string& path, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, ::Ice::Long tribeId, const ::std::string& userId, ::Ice::Int type, const ::std::string& path, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_tribeId(tribeId), - _m_userId(userId), - _m_type(type), - _m_path(path) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::TribeUpdateServer::TribeUpdateInterface* servant = dynamic_cast< ::TribeUpdateServer::TribeUpdateInterface*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->UpdateTribePictrues(_m_tribeId, _m_userId, _m_type, _m_path, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - ::Ice::Long _m_tribeId; - const ::std::string& _m_userId; - ::Ice::Int _m_type; - const ::std::string& _m_path; - }; - - ::Ice::Current __current; - __initCurrent(__current, __TribeUpdateServer__TribeUpdateInterface__UpdateTribePictrues_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, tribeId, userId, type, path, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::TribeUpdateServer::TribeUpdateInterface::UpdateBulletinNew(const ::std::string& uid, ::Ice::Long tribeId, const ::std::string& bulletinNew, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& uid, ::Ice::Long tribeId, const ::std::string& bulletinNew, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_uid(uid), - _m_tribeId(tribeId), - _m_bulletinNew(bulletinNew) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::TribeUpdateServer::TribeUpdateInterface* servant = dynamic_cast< ::TribeUpdateServer::TribeUpdateInterface*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->UpdateBulletinNew(_m_uid, _m_tribeId, _m_bulletinNew, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_uid; - ::Ice::Long _m_tribeId; - const ::std::string& _m_bulletinNew; - }; - - ::Ice::Current __current; - __initCurrent(__current, __TribeUpdateServer__TribeUpdateInterface__UpdateBulletinNew_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, uid, tribeId, bulletinNew, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::ObjectPtr -TribeUpdateServer::TribeUpdateInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __TribeUpdateServer__TribeUpdateInterface_ids[2] = -{ - "::Ice::Object", - "::TribeUpdateServer::TribeUpdateInterface" -}; - -bool -TribeUpdateServer::TribeUpdateInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__TribeUpdateServer__TribeUpdateInterface_ids, __TribeUpdateServer__TribeUpdateInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -TribeUpdateServer::TribeUpdateInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__TribeUpdateServer__TribeUpdateInterface_ids[0], &__TribeUpdateServer__TribeUpdateInterface_ids[2]); -} - -const ::std::string& -TribeUpdateServer::TribeUpdateInterface::ice_id(const ::Ice::Current&) const -{ - return __TribeUpdateServer__TribeUpdateInterface_ids[1]; -} - -const ::std::string& -TribeUpdateServer::TribeUpdateInterface::ice_staticId() -{ - return __TribeUpdateServer__TribeUpdateInterface_ids[1]; -} - -::Ice::DispatchStatus -TribeUpdateServer::TribeUpdateInterface::___UpdateTribePictrues(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::Ice::Long tribeId; - ::std::string userId; - ::Ice::Int type; - ::std::string path; - __is->read(tribeId); - __is->read(userId); - __is->read(type); - __is->read(path); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = UpdateTribePictrues(tribeId, userId, type, path, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -TribeUpdateServer::TribeUpdateInterface::___UpdateBulletinNew(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string uid; - ::Ice::Long tribeId; - ::std::string bulletinNew; - __is->read(uid); - __is->read(tribeId); - __is->read(bulletinNew); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = UpdateBulletinNew(uid, tribeId, bulletinNew, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -static ::std::string __TribeUpdateServer__TribeUpdateInterface_all[] = -{ - "UpdateBulletinNew", - "UpdateTribePictrues", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::Ice::DispatchStatus -TribeUpdateServer::TribeUpdateInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__TribeUpdateServer__TribeUpdateInterface_all, __TribeUpdateServer__TribeUpdateInterface_all + 6, current.operation); - if(r.first == r.second) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation); - } - - switch(r.first - __TribeUpdateServer__TribeUpdateInterface_all) - { - case 0: - { - return ___UpdateBulletinNew(in, current); - } - case 1: - { - return ___UpdateTribePictrues(in, current); - } - case 2: - { - return ___ice_id(in, current); - } - case 3: - { - return ___ice_ids(in, current); - } - case 4: - { - return ___ice_isA(in, current); - } - case 5: - { - return ___ice_ping(in, current); - } - } - - assert(false); - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation); -} - -void -TribeUpdateServer::TribeUpdateInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -TribeUpdateServer::TribeUpdateInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -// COMPILERFIX: Stream API is not supported with VC++ 6 -#if !defined(_MSC_VER) || (_MSC_VER >= 1300) -void -TribeUpdateServer::TribeUpdateInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type TribeUpdateServer::TribeUpdateInterface was not generated with stream support"; - throw ex; -} - -void -TribeUpdateServer::TribeUpdateInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type TribeUpdateServer::TribeUpdateInterface was not generated with stream support"; - throw ex; -} -#endif - -void -TribeUpdateServer::__patch__TribeUpdateInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::TribeUpdateServer::TribeUpdateInterfacePtr* p = static_cast< ::TribeUpdateServer::TribeUpdateInterfacePtr*>(__addr); - assert(p); - *p = ::TribeUpdateServer::TribeUpdateInterfacePtr::dynamicCast(v); - if(v && !*p) - { - IceInternal::Ex::throwUOE(::TribeUpdateServer::TribeUpdateInterface::ice_staticId(), v->ice_id()); - } -} diff --git a/features/aliww/source/.svn/text-base/Userudbprofile.cpp.svn-base b/features/aliww/source/.svn/text-base/Userudbprofile.cpp.svn-base deleted file mode 100644 index a3a2217..0000000 --- a/features/aliww/source/.svn/text-base/Userudbprofile.cpp.svn-base +++ /dev/null @@ -1,107 +0,0 @@ -class CImReqUserudbprofile : public CPackData - { -public: - enum - { - CMD_ID = IM_REQ_USERUDBPROFILE - }; - CImReqUserudbprofile() : m_uid("magic") - { - } - - ~CImReqUserudbprofile() { } - CImReqUserudbprofile(const string& strUid) - { - m_uid = strUid; - } - CImReqUserudbprofile& operator=( const CImReqUserudbprofile& cImReqUserudbprofile ) - { - m_uid = cImReqUserudbprofile.m_uid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - private: - string m_uid; - - public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; - }; - - inline uint32_t CImReqUserudbprofile::Size() const - { - uint32_t nSize = 6; - nSize += m_uid.length(); - return nSize; - } - -class CImRspUserudbprofile : public CPackData -{ - public: - enum - - CMD_ID = IM_RSP_USERUDBPROFILE - }; - CImRspUserudbprofile() - { - } - - ~CImRspUserudbprofile() { } - CImRspUserudbprofile(const uint32_t& dwRetcode, const map< string,string >& mapProfilelist, const string& strUid) - { - m_retcode = dwRetcode; - m_profilelist = mapProfilelist; - m_uid = strUid; - } - CImRspUserudbprofile& operator=( const CImRspUserudbprofile& cImRspUserudbprofile ) - { - m_retcode = cImRspUserudbprofile.m_retcode; - m_profilelist = cImRspUserudbprofile.m_profilelist; - m_uid = cImRspUserudbprofile.m_uid; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const map< string,string >& GetProfilelist () const { return m_profilelist; } - bool SetProfilelist ( const map< string,string >& mapProfilelist ) - { - m_profilelist = mapProfilelist; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - private: - uint32_t m_retcode; - map< string,string > m_profilelist; - string m_uid; - - public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; - }; - diff --git a/features/aliww/source/.svn/text-base/WebMember.cpp.svn-base b/features/aliww/source/.svn/text-base/WebMember.cpp.svn-base deleted file mode 100644 index a36b6de..0000000 --- a/features/aliww/source/.svn/text-base/WebMember.cpp.svn-base +++ /dev/null @@ -1,3222 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `WebMember.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __WebMember__UserProfile__GetSimpleUserProfile_name = "GetSimpleUserProfile"; - -static const ::std::string __WebMember__UserProfile__GetHalfUserProfile_name = "GetHalfUserProfile"; - -static const ::std::string __WebMember__UserProfile__GetFullUserProfile_name = "GetFullUserProfile"; - -static const ::std::string __WebMember__UserProfile__GetUserLevels_name = "GetUserLevels"; - -static const ::std::string __WebMember__UserProfile__GetUidByPenname_name = "GetUidByPenname"; - -static const ::std::string __WebMember__UserProfile__GetPassword_name = "GetPassword"; - -static const ::std::string __WebMember__UserProfile__GetUDBUserProfile_name = "GetUDBUserProfile"; - -static const ::std::string __WebMember__UserProfile__GetHalfUserProfile2_name = "GetHalfUserProfile2"; - -static const ::std::string __WebMember__UserProfile__GetFullUserProfile2_name = "GetFullUserProfile2"; - -void -IceInternal::incRef(::WebMember::UserProfile* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::WebMember::UserProfile* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::WebMember::UserProfile* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::WebMember::UserProfile* p) -{ - p->__decRef(); -} - -void -WebMember::__write(::IceInternal::BasicStream* __os, const ::WebMember::UserProfilePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -WebMember::__read(::IceInternal::BasicStream* __is, ::WebMember::UserProfilePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::WebMember::UserProfile; - v->__copyFrom(proxy); - } -} - -void -WebMember::__write(::IceInternal::BasicStream* __os, const ::WebMember::UserProfilePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -WebMember::SSimpleUserProfile::operator==(const SSimpleUserProfile& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -WebMember::SSimpleUserProfile::operator!=(const SSimpleUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - return false; -} - -bool -WebMember::SSimpleUserProfile::operator<(const SSimpleUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - return false; -} - -void -WebMember::SSimpleUserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(password); - __os->write(status); -} - -void -WebMember::SSimpleUserProfile::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(password); - __is->read(status); -} - -bool -WebMember::SHalfUserProfile::operator==(const SHalfUserProfile& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -WebMember::SHalfUserProfile::operator!=(const SHalfUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(realName != __rhs.realName) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobTitle != __rhs.jobTitle) - { - return true; - } - if(memberLevel != __rhs.memberLevel) - { - return true; - } - if(penName != __rhs.penName) - { - return true; - } - if(categoryId != __rhs.categoryId) - { - return true; - } - if(phoneArea != __rhs.phoneArea) - { - return true; - } - if(phoneStatus != __rhs.phoneStatus) - { - return true; - } - if(phone != __rhs.phone) - { - return true; - } - return false; -} - -bool -WebMember::SHalfUserProfile::operator<(const SHalfUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(realName < __rhs.realName) - { - return true; - } - else if(__rhs.realName < realName) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobTitle < __rhs.jobTitle) - { - return true; - } - else if(__rhs.jobTitle < jobTitle) - { - return false; - } - if(memberLevel < __rhs.memberLevel) - { - return true; - } - else if(__rhs.memberLevel < memberLevel) - { - return false; - } - if(penName < __rhs.penName) - { - return true; - } - else if(__rhs.penName < penName) - { - return false; - } - if(categoryId < __rhs.categoryId) - { - return true; - } - else if(__rhs.categoryId < categoryId) - { - return false; - } - if(phoneArea < __rhs.phoneArea) - { - return true; - } - else if(__rhs.phoneArea < phoneArea) - { - return false; - } - if(phoneStatus < __rhs.phoneStatus) - { - return true; - } - else if(__rhs.phoneStatus < phoneStatus) - { - return false; - } - if(phone < __rhs.phone) - { - return true; - } - else if(__rhs.phone < phone) - { - return false; - } - return false; -} - -void -WebMember::SHalfUserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(password); - __os->write(status); - __os->write(realName); - __os->write(company); - __os->write(jobTitle); - __os->write(memberLevel); - __os->write(penName); - __os->write(categoryId); - __os->write(phoneArea); - __os->write(phoneStatus); - __os->write(phone); -} - -void -WebMember::SHalfUserProfile::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(password); - __is->read(status); - __is->read(realName); - __is->read(company); - __is->read(jobTitle); - __is->read(memberLevel); - __is->read(penName); - __is->read(categoryId); - __is->read(phoneArea); - __is->read(phoneStatus); - __is->read(phone); -} - -bool -WebMember::SFullUserProfile::operator==(const SFullUserProfile& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -WebMember::SFullUserProfile::operator!=(const SFullUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(realName != __rhs.realName) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobTitle != __rhs.jobTitle) - { - return true; - } - if(memberLevel != __rhs.memberLevel) - { - return true; - } - if(penName != __rhs.penName) - { - return true; - } - if(categoryId != __rhs.categoryId) - { - return true; - } - if(phoneArea != __rhs.phoneArea) - { - return true; - } - if(phoneStatus != __rhs.phoneStatus) - { - return true; - } - if(phone != __rhs.phone) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(mobileNo != __rhs.mobileNo) - { - return true; - } - if(sex != __rhs.sex) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(buyKeywords != __rhs.buyKeywords) - { - return true; - } - if(saleKeywords != __rhs.saleKeywords) - { - return true; - } - if(faxNo != __rhs.faxNo) - { - return true; - } - if(homepageUrl != __rhs.homepageUrl) - { - return true; - } - return false; -} - -bool -WebMember::SFullUserProfile::operator<(const SFullUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(realName < __rhs.realName) - { - return true; - } - else if(__rhs.realName < realName) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobTitle < __rhs.jobTitle) - { - return true; - } - else if(__rhs.jobTitle < jobTitle) - { - return false; - } - if(memberLevel < __rhs.memberLevel) - { - return true; - } - else if(__rhs.memberLevel < memberLevel) - { - return false; - } - if(penName < __rhs.penName) - { - return true; - } - else if(__rhs.penName < penName) - { - return false; - } - if(categoryId < __rhs.categoryId) - { - return true; - } - else if(__rhs.categoryId < categoryId) - { - return false; - } - if(phoneArea < __rhs.phoneArea) - { - return true; - } - else if(__rhs.phoneArea < phoneArea) - { - return false; - } - if(phoneStatus < __rhs.phoneStatus) - { - return true; - } - else if(__rhs.phoneStatus < phoneStatus) - { - return false; - } - if(phone < __rhs.phone) - { - return true; - } - else if(__rhs.phone < phone) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(mobileNo < __rhs.mobileNo) - { - return true; - } - else if(__rhs.mobileNo < mobileNo) - { - return false; - } - if(sex < __rhs.sex) - { - return true; - } - else if(__rhs.sex < sex) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(buyKeywords < __rhs.buyKeywords) - { - return true; - } - else if(__rhs.buyKeywords < buyKeywords) - { - return false; - } - if(saleKeywords < __rhs.saleKeywords) - { - return true; - } - else if(__rhs.saleKeywords < saleKeywords) - { - return false; - } - if(faxNo < __rhs.faxNo) - { - return true; - } - else if(__rhs.faxNo < faxNo) - { - return false; - } - if(homepageUrl < __rhs.homepageUrl) - { - return true; - } - else if(__rhs.homepageUrl < homepageUrl) - { - return false; - } - return false; -} - -void -WebMember::SFullUserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(password); - __os->write(status); - __os->write(realName); - __os->write(company); - __os->write(jobTitle); - __os->write(memberLevel); - __os->write(penName); - __os->write(categoryId); - __os->write(phoneArea); - __os->write(phoneStatus); - __os->write(phone); - __os->write(email); - __os->write(mobileNo); - __os->write(sex); - __os->write(address); - __os->write(buyKeywords); - __os->write(saleKeywords); - __os->write(faxNo); - __os->write(homepageUrl); -} - -void -WebMember::SFullUserProfile::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(password); - __is->read(status); - __is->read(realName); - __is->read(company); - __is->read(jobTitle); - __is->read(memberLevel); - __is->read(penName); - __is->read(categoryId); - __is->read(phoneArea); - __is->read(phoneStatus); - __is->read(phone); - __is->read(email); - __is->read(mobileNo); - __is->read(sex); - __is->read(address); - __is->read(buyKeywords); - __is->read(saleKeywords); - __is->read(faxNo); - __is->read(homepageUrl); -} - -bool -WebMember::SUDBUserProfile::operator==(const SUDBUserProfile& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -WebMember::SUDBUserProfile::operator!=(const SUDBUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(memberId != __rhs.memberId) - { - return true; - } - if(realName != __rhs.realName) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(mobileNo != __rhs.mobileNo) - { - return true; - } - if(phone != __rhs.phone) - { - return true; - } - if(country != __rhs.country) - { - return true; - } - if(province != __rhs.province) - { - return true; - } - if(city != __rhs.city) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(homepageUrl != __rhs.homepageUrl) - { - return true; - } - if(memberLevel != __rhs.memberLevel) - { - return true; - } - if(penName != __rhs.penName) - { - return true; - } - if(phoneStatus != __rhs.phoneStatus) - { - return true; - } - if(sex != __rhs.sex) - { - return true; - } - if(jobTitle != __rhs.jobTitle) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(zip != __rhs.zip) - { - return true; - } - return false; -} - -bool -WebMember::SUDBUserProfile::operator<(const SUDBUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(memberId < __rhs.memberId) - { - return true; - } - else if(__rhs.memberId < memberId) - { - return false; - } - if(realName < __rhs.realName) - { - return true; - } - else if(__rhs.realName < realName) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(mobileNo < __rhs.mobileNo) - { - return true; - } - else if(__rhs.mobileNo < mobileNo) - { - return false; - } - if(phone < __rhs.phone) - { - return true; - } - else if(__rhs.phone < phone) - { - return false; - } - if(country < __rhs.country) - { - return true; - } - else if(__rhs.country < country) - { - return false; - } - if(province < __rhs.province) - { - return true; - } - else if(__rhs.province < province) - { - return false; - } - if(city < __rhs.city) - { - return true; - } - else if(__rhs.city < city) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(homepageUrl < __rhs.homepageUrl) - { - return true; - } - else if(__rhs.homepageUrl < homepageUrl) - { - return false; - } - if(memberLevel < __rhs.memberLevel) - { - return true; - } - else if(__rhs.memberLevel < memberLevel) - { - return false; - } - if(penName < __rhs.penName) - { - return true; - } - else if(__rhs.penName < penName) - { - return false; - } - if(phoneStatus < __rhs.phoneStatus) - { - return true; - } - else if(__rhs.phoneStatus < phoneStatus) - { - return false; - } - if(sex < __rhs.sex) - { - return true; - } - else if(__rhs.sex < sex) - { - return false; - } - if(jobTitle < __rhs.jobTitle) - { - return true; - } - else if(__rhs.jobTitle < jobTitle) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(zip < __rhs.zip) - { - return true; - } - else if(__rhs.zip < zip) - { - return false; - } - return false; -} - -void -WebMember::SUDBUserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(memberId); - __os->write(realName); - __os->write(password); - __os->write(status); - __os->write(email); - __os->write(mobileNo); - __os->write(phone); - __os->write(country); - __os->write(province); - __os->write(city); - __os->write(address); - __os->write(homepageUrl); - __os->write(memberLevel); - __os->write(penName); - __os->write(phoneStatus); - __os->write(sex); - __os->write(jobTitle); - __os->write(company); - __os->write(zip); -} - -void -WebMember::SUDBUserProfile::__read(::IceInternal::BasicStream* __is) -{ - __is->read(memberId); - __is->read(realName); - __is->read(password); - __is->read(status); - __is->read(email); - __is->read(mobileNo); - __is->read(phone); - __is->read(country); - __is->read(province); - __is->read(city); - __is->read(address); - __is->read(homepageUrl); - __is->read(memberLevel); - __is->read(penName); - __is->read(phoneStatus); - __is->read(sex); - __is->read(jobTitle); - __is->read(company); - __is->read(zip); -} - -bool -WebMember::SUserLevel::operator==(const SUserLevel& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -WebMember::SUserLevel::operator!=(const SUserLevel& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(memberId != __rhs.memberId) - { - return true; - } - if(memberLevel != __rhs.memberLevel) - { - return true; - } - return false; -} - -bool -WebMember::SUserLevel::operator<(const SUserLevel& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(memberId < __rhs.memberId) - { - return true; - } - else if(__rhs.memberId < memberId) - { - return false; - } - if(memberLevel < __rhs.memberLevel) - { - return true; - } - else if(__rhs.memberLevel < memberLevel) - { - return false; - } - return false; -} - -void -WebMember::SUserLevel::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(memberId); - __os->write(memberLevel); -} - -void -WebMember::SUserLevel::__read(::IceInternal::BasicStream* __is) -{ - __is->read(memberId); - __is->read(memberLevel); -} - -bool -WebMember::SHalfUserProfile2::operator==(const SHalfUserProfile2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -WebMember::SHalfUserProfile2::operator!=(const SHalfUserProfile2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(realName != __rhs.realName) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobTitle != __rhs.jobTitle) - { - return true; - } - if(memberLevel != __rhs.memberLevel) - { - return true; - } - if(penName != __rhs.penName) - { - return true; - } - if(categoryId != __rhs.categoryId) - { - return true; - } - if(phoneArea != __rhs.phoneArea) - { - return true; - } - if(phoneStatus != __rhs.phoneStatus) - { - return true; - } - if(phone != __rhs.phone) - { - return true; - } - if(communityLevel != __rhs.communityLevel) - { - return true; - } - return false; -} - -bool -WebMember::SHalfUserProfile2::operator<(const SHalfUserProfile2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(realName < __rhs.realName) - { - return true; - } - else if(__rhs.realName < realName) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobTitle < __rhs.jobTitle) - { - return true; - } - else if(__rhs.jobTitle < jobTitle) - { - return false; - } - if(memberLevel < __rhs.memberLevel) - { - return true; - } - else if(__rhs.memberLevel < memberLevel) - { - return false; - } - if(penName < __rhs.penName) - { - return true; - } - else if(__rhs.penName < penName) - { - return false; - } - if(categoryId < __rhs.categoryId) - { - return true; - } - else if(__rhs.categoryId < categoryId) - { - return false; - } - if(phoneArea < __rhs.phoneArea) - { - return true; - } - else if(__rhs.phoneArea < phoneArea) - { - return false; - } - if(phoneStatus < __rhs.phoneStatus) - { - return true; - } - else if(__rhs.phoneStatus < phoneStatus) - { - return false; - } - if(phone < __rhs.phone) - { - return true; - } - else if(__rhs.phone < phone) - { - return false; - } - if(communityLevel < __rhs.communityLevel) - { - return true; - } - else if(__rhs.communityLevel < communityLevel) - { - return false; - } - return false; -} - -void -WebMember::SHalfUserProfile2::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(password); - __os->write(status); - __os->write(realName); - __os->write(company); - __os->write(jobTitle); - __os->write(memberLevel); - __os->write(penName); - __os->write(categoryId); - __os->write(phoneArea); - __os->write(phoneStatus); - __os->write(phone); - __os->write(communityLevel); -} - -void -WebMember::SHalfUserProfile2::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(password); - __is->read(status); - __is->read(realName); - __is->read(company); - __is->read(jobTitle); - __is->read(memberLevel); - __is->read(penName); - __is->read(categoryId); - __is->read(phoneArea); - __is->read(phoneStatus); - __is->read(phone); - __is->read(communityLevel); -} - -bool -WebMember::SFullUserProfile2::operator==(const SFullUserProfile2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -WebMember::SFullUserProfile2::operator!=(const SFullUserProfile2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(realName != __rhs.realName) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobTitle != __rhs.jobTitle) - { - return true; - } - if(memberLevel != __rhs.memberLevel) - { - return true; - } - if(penName != __rhs.penName) - { - return true; - } - if(categoryId != __rhs.categoryId) - { - return true; - } - if(phoneArea != __rhs.phoneArea) - { - return true; - } - if(phoneStatus != __rhs.phoneStatus) - { - return true; - } - if(phone != __rhs.phone) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(mobileNo != __rhs.mobileNo) - { - return true; - } - if(sex != __rhs.sex) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(buyKeywords != __rhs.buyKeywords) - { - return true; - } - if(saleKeywords != __rhs.saleKeywords) - { - return true; - } - if(faxNo != __rhs.faxNo) - { - return true; - } - if(homepageUrl != __rhs.homepageUrl) - { - return true; - } - if(communityLevel != __rhs.communityLevel) - { - return true; - } - return false; -} - -bool -WebMember::SFullUserProfile2::operator<(const SFullUserProfile2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(realName < __rhs.realName) - { - return true; - } - else if(__rhs.realName < realName) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobTitle < __rhs.jobTitle) - { - return true; - } - else if(__rhs.jobTitle < jobTitle) - { - return false; - } - if(memberLevel < __rhs.memberLevel) - { - return true; - } - else if(__rhs.memberLevel < memberLevel) - { - return false; - } - if(penName < __rhs.penName) - { - return true; - } - else if(__rhs.penName < penName) - { - return false; - } - if(categoryId < __rhs.categoryId) - { - return true; - } - else if(__rhs.categoryId < categoryId) - { - return false; - } - if(phoneArea < __rhs.phoneArea) - { - return true; - } - else if(__rhs.phoneArea < phoneArea) - { - return false; - } - if(phoneStatus < __rhs.phoneStatus) - { - return true; - } - else if(__rhs.phoneStatus < phoneStatus) - { - return false; - } - if(phone < __rhs.phone) - { - return true; - } - else if(__rhs.phone < phone) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(mobileNo < __rhs.mobileNo) - { - return true; - } - else if(__rhs.mobileNo < mobileNo) - { - return false; - } - if(sex < __rhs.sex) - { - return true; - } - else if(__rhs.sex < sex) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(buyKeywords < __rhs.buyKeywords) - { - return true; - } - else if(__rhs.buyKeywords < buyKeywords) - { - return false; - } - if(saleKeywords < __rhs.saleKeywords) - { - return true; - } - else if(__rhs.saleKeywords < saleKeywords) - { - return false; - } - if(faxNo < __rhs.faxNo) - { - return true; - } - else if(__rhs.faxNo < faxNo) - { - return false; - } - if(homepageUrl < __rhs.homepageUrl) - { - return true; - } - else if(__rhs.homepageUrl < homepageUrl) - { - return false; - } - if(communityLevel < __rhs.communityLevel) - { - return true; - } - else if(__rhs.communityLevel < communityLevel) - { - return false; - } - return false; -} - -void -WebMember::SFullUserProfile2::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(password); - __os->write(status); - __os->write(realName); - __os->write(company); - __os->write(jobTitle); - __os->write(memberLevel); - __os->write(penName); - __os->write(categoryId); - __os->write(phoneArea); - __os->write(phoneStatus); - __os->write(phone); - __os->write(email); - __os->write(mobileNo); - __os->write(sex); - __os->write(address); - __os->write(buyKeywords); - __os->write(saleKeywords); - __os->write(faxNo); - __os->write(homepageUrl); - __os->write(communityLevel); -} - -void -WebMember::SFullUserProfile2::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(password); - __is->read(status); - __is->read(realName); - __is->read(company); - __is->read(jobTitle); - __is->read(memberLevel); - __is->read(penName); - __is->read(categoryId); - __is->read(phoneArea); - __is->read(phoneStatus); - __is->read(phone); - __is->read(email); - __is->read(mobileNo); - __is->read(sex); - __is->read(address); - __is->read(buyKeywords); - __is->read(saleKeywords); - __is->read(faxNo); - __is->read(homepageUrl); - __is->read(communityLevel); -} - -void -WebMember::__write(::IceInternal::BasicStream* __os, const ::WebMember::SSimpleUserProfile* begin, const ::WebMember::SSimpleUserProfile* end, ::WebMember::__U__SUserSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -WebMember::__read(::IceInternal::BasicStream* __is, ::WebMember::SUserSeq& v, ::WebMember::__U__SUserSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 3); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -WebMember::__write(::IceInternal::BasicStream* __os, const ::WebMember::SHalfUserProfile* begin, const ::WebMember::SHalfUserProfile* end, ::WebMember::__U__HUserSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -WebMember::__read(::IceInternal::BasicStream* __is, ::WebMember::HUserSeq& v, ::WebMember::__U__HUserSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 15); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -WebMember::__write(::IceInternal::BasicStream* __os, const ::WebMember::SFullUserProfile* begin, const ::WebMember::SFullUserProfile* end, ::WebMember::__U__FUserSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -WebMember::__read(::IceInternal::BasicStream* __is, ::WebMember::FUserSeq& v, ::WebMember::__U__FUserSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 23); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -WebMember::__write(::IceInternal::BasicStream* __os, const ::WebMember::SUserLevel* begin, const ::WebMember::SUserLevel* end, ::WebMember::__U__UserLevelSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -WebMember::__read(::IceInternal::BasicStream* __is, ::WebMember::UserLevelSeq& v, ::WebMember::__U__UserLevelSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 2); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -WebMember::__write(::IceInternal::BasicStream* __os, const ::WebMember::SHalfUserProfile2* begin, const ::WebMember::SHalfUserProfile2* end, ::WebMember::__U__HUserSeq2) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -WebMember::__read(::IceInternal::BasicStream* __is, ::WebMember::HUserSeq2& v, ::WebMember::__U__HUserSeq2) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 16); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -WebMember::__write(::IceInternal::BasicStream* __os, const ::WebMember::SFullUserProfile2* begin, const ::WebMember::SFullUserProfile2* end, ::WebMember::__U__FUserSeq2) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -WebMember::__read(::IceInternal::BasicStream* __is, ::WebMember::FUserSeq2& v, ::WebMember::__U__FUserSeq2) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 24); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -WebMember::__addObject(const UserProfilePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -WebMember::__usesClasses(const UserProfilePtr& p) -{ - return p->__usesClasses(); -} - -void -WebMember::__decRefUnsafe(const UserProfilePtr& p) -{ - p->__decRefUnsafe(); -} - -void -WebMember::__clearHandleUnsafe(UserProfilePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::WebMember::UserProfile::GetSimpleUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::SUserSeq& userProfiles, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebMember__UserProfile__GetSimpleUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::WebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::WebMember::UserProfile*>(__delBase.get()); - return __del->GetSimpleUserProfile(userIds, userProfiles, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebMember::UserProfile::GetHalfUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::HUserSeq& userProfiles, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebMember__UserProfile__GetHalfUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::WebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::WebMember::UserProfile*>(__delBase.get()); - return __del->GetHalfUserProfile(userIds, userProfiles, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebMember::UserProfile::GetFullUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::FUserSeq& userProfiles, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebMember__UserProfile__GetFullUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::WebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::WebMember::UserProfile*>(__delBase.get()); - return __del->GetFullUserProfile(userIds, userProfiles, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebMember::UserProfile::GetUserLevels(const ::WebMember::UserIdSeq& userIds, ::WebMember::UserLevelSeq& userProfiles, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebMember__UserProfile__GetUserLevels_name); - __delBase = __getDelegate(); - ::IceDelegate::WebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::WebMember::UserProfile*>(__delBase.get()); - return __del->GetUserLevels(userIds, userProfiles, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebMember::UserProfile::GetUidByPenname(const ::std::string& penName, ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebMember__UserProfile__GetUidByPenname_name); - __delBase = __getDelegate(); - ::IceDelegate::WebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::WebMember::UserProfile*>(__delBase.get()); - return __del->GetUidByPenname(penName, userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebMember::UserProfile::GetPassword(const ::std::string& userId, ::std::string& password, ::std::string& status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebMember__UserProfile__GetPassword_name); - __delBase = __getDelegate(); - ::IceDelegate::WebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::WebMember::UserProfile*>(__delBase.get()); - return __del->GetPassword(userId, password, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebMember::UserProfile::GetUDBUserProfile(const ::std::string& userId, ::WebMember::SUDBUserProfile& udbProfile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebMember__UserProfile__GetUDBUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::WebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::WebMember::UserProfile*>(__delBase.get()); - return __del->GetUDBUserProfile(userId, udbProfile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebMember::UserProfile::GetHalfUserProfile2(const ::WebMember::UserIdSeq& userIds, ::WebMember::HUserSeq2& userProfiles, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebMember__UserProfile__GetHalfUserProfile2_name); - __delBase = __getDelegate(); - ::IceDelegate::WebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::WebMember::UserProfile*>(__delBase.get()); - return __del->GetHalfUserProfile2(userIds, userProfiles, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebMember::UserProfile::GetFullUserProfile2(const ::WebMember::UserIdSeq& userIds, ::WebMember::FUserSeq2& userProfiles, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebMember__UserProfile__GetFullUserProfile2_name); - __delBase = __getDelegate(); - ::IceDelegate::WebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::WebMember::UserProfile*>(__delBase.get()); - return __del->GetFullUserProfile2(userIds, userProfiles, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::WebMember::UserProfile::ice_staticId() -{ - return ::WebMember::UserProfile::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::WebMember::UserProfile::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::WebMember::UserProfile); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::WebMember::UserProfile::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::WebMember::UserProfile); -} - -bool -IceProxy::WebMember::operator==(const ::IceProxy::WebMember::UserProfile& l, const ::IceProxy::WebMember::UserProfile& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::WebMember::operator!=(const ::IceProxy::WebMember::UserProfile& l, const ::IceProxy::WebMember::UserProfile& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::WebMember::operator<(const ::IceProxy::WebMember::UserProfile& l, const ::IceProxy::WebMember::UserProfile& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::WebMember::operator<=(const ::IceProxy::WebMember::UserProfile& l, const ::IceProxy::WebMember::UserProfile& r) -{ - return l < r || l == r; -} - -bool -IceProxy::WebMember::operator>(const ::IceProxy::WebMember::UserProfile& l, const ::IceProxy::WebMember::UserProfile& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::WebMember::operator>=(const ::IceProxy::WebMember::UserProfile& l, const ::IceProxy::WebMember::UserProfile& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::WebMember::UserProfile::GetSimpleUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::SUserSeq& userProfiles, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebMember__UserProfile__GetSimpleUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userIds.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userIds[0], &userIds[0] + userIds.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::WebMember::__read(__is, userProfiles, ::WebMember::__U__SUserSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebMember::UserProfile::GetHalfUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::HUserSeq& userProfiles, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebMember__UserProfile__GetHalfUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userIds.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userIds[0], &userIds[0] + userIds.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::WebMember::__read(__is, userProfiles, ::WebMember::__U__HUserSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebMember::UserProfile::GetFullUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::FUserSeq& userProfiles, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebMember__UserProfile__GetFullUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userIds.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userIds[0], &userIds[0] + userIds.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::WebMember::__read(__is, userProfiles, ::WebMember::__U__FUserSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebMember::UserProfile::GetUserLevels(const ::WebMember::UserIdSeq& userIds, ::WebMember::UserLevelSeq& userProfiles, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebMember__UserProfile__GetUserLevels_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userIds.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userIds[0], &userIds[0] + userIds.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::WebMember::__read(__is, userProfiles, ::WebMember::__U__UserLevelSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebMember::UserProfile::GetUidByPenname(const ::std::string& penName, ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebMember__UserProfile__GetUidByPenname_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(penName); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebMember::UserProfile::GetPassword(const ::std::string& userId, ::std::string& password, ::std::string& status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebMember__UserProfile__GetPassword_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(password); - __is->read(status); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebMember::UserProfile::GetUDBUserProfile(const ::std::string& userId, ::WebMember::SUDBUserProfile& udbProfile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebMember__UserProfile__GetUDBUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - udbProfile.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebMember::UserProfile::GetHalfUserProfile2(const ::WebMember::UserIdSeq& userIds, ::WebMember::HUserSeq2& userProfiles, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebMember__UserProfile__GetHalfUserProfile2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userIds.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userIds[0], &userIds[0] + userIds.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::WebMember::__read(__is, userProfiles, ::WebMember::__U__HUserSeq2()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebMember::UserProfile::GetFullUserProfile2(const ::WebMember::UserIdSeq& userIds, ::WebMember::FUserSeq2& userProfiles, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebMember__UserProfile__GetFullUserProfile2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userIds.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userIds[0], &userIds[0] + userIds.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::WebMember::__read(__is, userProfiles, ::WebMember::__U__FUserSeq2()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::WebMember::UserProfile::GetSimpleUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::SUserSeq& userProfiles, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebMember__UserProfile__GetSimpleUserProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebMember::UserProfile* __servant = dynamic_cast< ::WebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetSimpleUserProfile(userIds, userProfiles, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebMember::UserProfile::GetHalfUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::HUserSeq& userProfiles, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebMember__UserProfile__GetHalfUserProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebMember::UserProfile* __servant = dynamic_cast< ::WebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetHalfUserProfile(userIds, userProfiles, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebMember::UserProfile::GetFullUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::FUserSeq& userProfiles, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebMember__UserProfile__GetFullUserProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebMember::UserProfile* __servant = dynamic_cast< ::WebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetFullUserProfile(userIds, userProfiles, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebMember::UserProfile::GetUserLevels(const ::WebMember::UserIdSeq& userIds, ::WebMember::UserLevelSeq& userProfiles, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebMember__UserProfile__GetUserLevels_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebMember::UserProfile* __servant = dynamic_cast< ::WebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUserLevels(userIds, userProfiles, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebMember::UserProfile::GetUidByPenname(const ::std::string& penName, ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebMember__UserProfile__GetUidByPenname_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebMember::UserProfile* __servant = dynamic_cast< ::WebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUidByPenname(penName, userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebMember::UserProfile::GetPassword(const ::std::string& userId, ::std::string& password, ::std::string& status, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebMember__UserProfile__GetPassword_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebMember::UserProfile* __servant = dynamic_cast< ::WebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetPassword(userId, password, status, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebMember::UserProfile::GetUDBUserProfile(const ::std::string& userId, ::WebMember::SUDBUserProfile& udbProfile, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebMember__UserProfile__GetUDBUserProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebMember::UserProfile* __servant = dynamic_cast< ::WebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUDBUserProfile(userId, udbProfile, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebMember::UserProfile::GetHalfUserProfile2(const ::WebMember::UserIdSeq& userIds, ::WebMember::HUserSeq2& userProfiles, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebMember__UserProfile__GetHalfUserProfile2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebMember::UserProfile* __servant = dynamic_cast< ::WebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetHalfUserProfile2(userIds, userProfiles, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebMember::UserProfile::GetFullUserProfile2(const ::WebMember::UserIdSeq& userIds, ::WebMember::FUserSeq2& userProfiles, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebMember__UserProfile__GetFullUserProfile2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebMember::UserProfile* __servant = dynamic_cast< ::WebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetFullUserProfile2(userIds, userProfiles, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -WebMember::UserProfile::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __WebMember__UserProfile_ids[2] = -{ - "::Ice::Object", - "::WebMember::UserProfile" -}; - -bool -WebMember::UserProfile::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__WebMember__UserProfile_ids, __WebMember__UserProfile_ids + 2, _s); -} - -::std::vector< ::std::string> -WebMember::UserProfile::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__WebMember__UserProfile_ids[0], &__WebMember__UserProfile_ids[2]); -} - -const ::std::string& -WebMember::UserProfile::ice_id(const ::Ice::Current&) const -{ - return __WebMember__UserProfile_ids[1]; -} - -const ::std::string& -WebMember::UserProfile::ice_staticId() -{ - return __WebMember__UserProfile_ids[1]; -} - -::IceInternal::DispatchStatus -WebMember::UserProfile::___GetSimpleUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::WebMember::UserIdSeq userIds; - __is->read(userIds); - ::WebMember::SUserSeq userProfiles; - ::Ice::Int __ret = GetSimpleUserProfile(userIds, userProfiles, __current); - if(userProfiles.size() == 0) - { - __os->writeSize(0); - } - else - { - ::WebMember::__write(__os, &userProfiles[0], &userProfiles[0] + userProfiles.size(), ::WebMember::__U__SUserSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebMember::UserProfile::___GetHalfUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::WebMember::UserIdSeq userIds; - __is->read(userIds); - ::WebMember::HUserSeq userProfiles; - ::Ice::Int __ret = GetHalfUserProfile(userIds, userProfiles, __current); - if(userProfiles.size() == 0) - { - __os->writeSize(0); - } - else - { - ::WebMember::__write(__os, &userProfiles[0], &userProfiles[0] + userProfiles.size(), ::WebMember::__U__HUserSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebMember::UserProfile::___GetFullUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::WebMember::UserIdSeq userIds; - __is->read(userIds); - ::WebMember::FUserSeq userProfiles; - ::Ice::Int __ret = GetFullUserProfile(userIds, userProfiles, __current); - if(userProfiles.size() == 0) - { - __os->writeSize(0); - } - else - { - ::WebMember::__write(__os, &userProfiles[0], &userProfiles[0] + userProfiles.size(), ::WebMember::__U__FUserSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebMember::UserProfile::___GetUserLevels(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::WebMember::UserIdSeq userIds; - __is->read(userIds); - ::WebMember::UserLevelSeq userProfiles; - ::Ice::Int __ret = GetUserLevels(userIds, userProfiles, __current); - if(userProfiles.size() == 0) - { - __os->writeSize(0); - } - else - { - ::WebMember::__write(__os, &userProfiles[0], &userProfiles[0] + userProfiles.size(), ::WebMember::__U__UserLevelSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebMember::UserProfile::___GetUidByPenname(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string penName; - __is->read(penName); - ::std::string userId; - ::Ice::Int __ret = GetUidByPenname(penName, userId, __current); - __os->write(userId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebMember::UserProfile::___GetPassword(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::std::string password; - ::std::string status; - ::Ice::Int __ret = GetPassword(userId, password, status, __current); - __os->write(password); - __os->write(status); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebMember::UserProfile::___GetUDBUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::WebMember::SUDBUserProfile udbProfile; - ::Ice::Int __ret = GetUDBUserProfile(userId, udbProfile, __current); - udbProfile.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebMember::UserProfile::___GetHalfUserProfile2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::WebMember::UserIdSeq userIds; - __is->read(userIds); - ::WebMember::HUserSeq2 userProfiles; - ::Ice::Int __ret = GetHalfUserProfile2(userIds, userProfiles, __current); - if(userProfiles.size() == 0) - { - __os->writeSize(0); - } - else - { - ::WebMember::__write(__os, &userProfiles[0], &userProfiles[0] + userProfiles.size(), ::WebMember::__U__HUserSeq2()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebMember::UserProfile::___GetFullUserProfile2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::WebMember::UserIdSeq userIds; - __is->read(userIds); - ::WebMember::FUserSeq2 userProfiles; - ::Ice::Int __ret = GetFullUserProfile2(userIds, userProfiles, __current); - if(userProfiles.size() == 0) - { - __os->writeSize(0); - } - else - { - ::WebMember::__write(__os, &userProfiles[0], &userProfiles[0] + userProfiles.size(), ::WebMember::__U__FUserSeq2()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __WebMember__UserProfile_all[] = -{ - "GetFullUserProfile", - "GetFullUserProfile2", - "GetHalfUserProfile", - "GetHalfUserProfile2", - "GetPassword", - "GetSimpleUserProfile", - "GetUDBUserProfile", - "GetUidByPenname", - "GetUserLevels", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -WebMember::UserProfile::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__WebMember__UserProfile_all, __WebMember__UserProfile_all + 13, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __WebMember__UserProfile_all) - { - case 0: - { - return ___GetFullUserProfile(in, current); - } - case 1: - { - return ___GetFullUserProfile2(in, current); - } - case 2: - { - return ___GetHalfUserProfile(in, current); - } - case 3: - { - return ___GetHalfUserProfile2(in, current); - } - case 4: - { - return ___GetPassword(in, current); - } - case 5: - { - return ___GetSimpleUserProfile(in, current); - } - case 6: - { - return ___GetUDBUserProfile(in, current); - } - case 7: - { - return ___GetUidByPenname(in, current); - } - case 8: - { - return ___GetUserLevels(in, current); - } - case 9: - { - return ___ice_id(in, current); - } - case 10: - { - return ___ice_ids(in, current); - } - case 11: - { - return ___ice_isA(in, current); - } - case 12: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -WebMember::UserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -WebMember::UserProfile::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -WebMember::UserProfile::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type WebMember::UserProfile was not generated with stream support"; - throw ex; -} - -void -WebMember::UserProfile::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type WebMember::UserProfile was not generated with stream support"; - throw ex; -} - -void -WebMember::__patch__UserProfilePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::WebMember::UserProfilePtr* p = static_cast< ::WebMember::UserProfilePtr*>(__addr); - assert(p); - *p = ::WebMember::UserProfilePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::WebMember::UserProfile::ice_staticId(); - throw e; - } -} - -bool -WebMember::operator==(const ::WebMember::UserProfile& l, const ::WebMember::UserProfile& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -WebMember::operator!=(const ::WebMember::UserProfile& l, const ::WebMember::UserProfile& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -WebMember::operator<(const ::WebMember::UserProfile& l, const ::WebMember::UserProfile& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -WebMember::operator<=(const ::WebMember::UserProfile& l, const ::WebMember::UserProfile& r) -{ - return l < r || l == r; -} - -bool -WebMember::operator>(const ::WebMember::UserProfile& l, const ::WebMember::UserProfile& r) -{ - return !(l < r) && !(l == r); -} - -bool -WebMember::operator>=(const ::WebMember::UserProfile& l, const ::WebMember::UserProfile& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/aas_perf_test.cpp.svn-base b/features/aliww/source/.svn/text-base/aas_perf_test.cpp.svn-base deleted file mode 100644 index f68e591..0000000 --- a/features/aliww/source/.svn/text-base/aas_perf_test.cpp.svn-base +++ /dev/null @@ -1,303 +0,0 @@ -#include "aas_perf_test.h" - -using namespace std; -using namespace Ice; -using namespace AASSERVICE; - -void* aas_init(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - aas_st *ap = (aas_st *)malloc(sizeof(aas_st)); - pVuser->verb = ap; - srand(time(0)); - create_transaction(pVuser,"AAS"); - - int status = 0; - Ice::CommunicatorPtr ic; - - try{ - ic = Ice::initialize(); - - Ice::ObjectPrx base = ic->stringToProxy("AAS:default -h 10.249.199.125 -p 12480: tcp -h 10.249.199.126 -p 12480: tcp -h 10.249.199.127 -p 12480: tcp -h 10.249.199.128 -p 12480"); - //Ice::ObjectPrx base = ic->stringToProxy("AAS:default -h 10.250.3.18 -p 12480"); - AasInterfacePrx aas = AasInterfacePrx::checkedCast(base); - if(!aas){ - throw "Invalid proxy"; - } - ap->aas = new AasInterfacePrx(aas); - ap->ic = new Ice::CommunicatorPtr(ic); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -struct timespec dt; - -void* aas_textput(void *p) -{ - dt.tv_sec = 0; - dt.tv_nsec = 30000000; - //nanosleep(&dt,NULL); - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - aas_st *ap = (aas_st *)pVuser->verb; - int status = 0; - AasInterfacePrx aas = *(ap->aas); - char fromID[36],toID[36]; - - sprintf(fromID,"cnalichnabc%dx%dx%d",get_vuser_group(pVuser),get_vuser_id(pVuser),get_vuser_ite(pVuser)); - sprintf(toID,"cnalichnabc%dx%dx%d",get_vuser_group(pVuser),get_vuser_id(pVuser),get_vuser_ite(pVuser)+1); - - try{ - status = aas->textput(fromID,toID,time(0),1,"hello from cbenchmark peftest."); - if(status == 0) - success_transactionEx(pVuser,"AAS","TextPut Sucess."); - else{ - char str_tmp[32] = {0}; - sprintf(str_tmp,"TextPut:Call ret status is %d",status); - fail_transactionEx(pVuser,"AAS",str_tmp); - } - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* aas_end(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - aas_st *ap = (aas_st *)pVuser->verb; - int status = 0; - AasInterfacePrx aas = *(ap->aas); - Ice::CommunicatorPtr ic = *(ap->ic); - - if(ic){ - try{ - ic->destroy(); - //delete(&ic); - //delete(&aas); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } - } -} - -void* aas_textgetput(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - aas_st *ap = (aas_st *)pVuser->verb; - int status = 0; - AasInterfacePrx aas = *(ap->aas); - char fromID[36],toID[36]; - long ts = (long)time(0); - string msg; - - sprintf(fromID,"cnalichnabc%dx%dx%d",get_vuser_group(pVuser),get_vuser_id(pVuser),get_vuser_ite(pVuser)); - sprintf(toID,"cnalichnabc%dx%dx%d",get_vuser_group(pVuser),get_vuser_id(pVuser),get_vuser_ite(pVuser)+1); - - try{ - status = aas->textput(fromID,toID,ts,1,"hello from cbenchmark peftest."); - if(status != 0){ - char str_tmp[32] = {0}; - sprintf(str_tmp,"Textput:Call ret status is %d",status); - fail_transactionEx(pVuser,"AAS",str_tmp); - return NULL; - } - - ChatRecordInfoSeq rcd; - status = aas->textget(fromID,toID,ts+1,ts-100000,100,rcd); - if(status != 0){ - char str_tmp[32] = {0}; - sprintf(str_tmp,"Textget:Call ret status is %d",status); - fail_transactionEx(pVuser,"AAS",str_tmp); - return NULL; - } - char txt[1024]; - sprintf(txt,"AAS TextPutGet Success,Result Size:%d",rcd.size()); - success_transactionEx(pVuser,"AAS",txt); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* aas_picput(void *p) -{ - long picSize = 40*1024 + rand()%10000; - char *content = (char *)malloc(picSize*sizeof(char) + 1); - char e = (char)rand()%254+1; - memset(content,e,picSize); - content[picSize] = '\0'; - string spicData(content); - - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - aas_st *ap = (aas_st *)pVuser->verb; - int status = 0; - AasInterfacePrx aas = *(ap->aas); - char cpicName[256]; - long ts = (long)time(0); - ::AASSERVICE::ByteSeq picData(picSize,e); - string msg; - sprintf(cpicName,"%s_%d",Md5Hash::GetMD5(spicData).c_str(),picSize); - string picName(cpicName); - try{ - status = aas->picput(picName,picData); - if(status == 0) - success_transactionEx(pVuser,"AAS","PicPut Sucess."); - else{ - char str_tmp[32] = {0}; - sprintf(str_tmp,"PicPut:Call ret status is %d",status); - fail_transactionEx(pVuser,"AAS",str_tmp); - } - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* aas_picputget(void *p) -{ - long picSize = 40*1024 + rand()%10000; - char *content = (char *)malloc(picSize*sizeof(char) + 1); - char e = (char)rand()%254+1; - memset(content,e,picSize); - content[picSize] = '\0'; - string spicData(content); - - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - aas_st *ap = (aas_st *)pVuser->verb; - int status = 0; - AasInterfacePrx aas = *(ap->aas); - char cpicName[256]; - long ts = (long)time(0); - ::AASSERVICE::ByteSeq picData(picSize,e); - string msg; - sprintf(cpicName,"%s_%d",Md5Hash::GetMD5(spicData).c_str(),picSize); - string picName(cpicName); - try{ - status = aas->picput(picName,picData); - if(status != 0){ - char str_tmp[32] = {0}; - sprintf(str_tmp,"PicPut:Call ret status is %d,picname is %s",status,cpicName); - printf("%s\n",str_tmp); - fail_transactionEx(pVuser,"AAS",str_tmp); - return NULL; - } - status = aas->picget(picName,picData); - if(status != 0){ - char str_tmp[32] = {0}; - sprintf(str_tmp,"PicGet:Call ret status is %d",status); - printf("%s\n",str_tmp); - fail_transactionEx(pVuser,"AAS",str_tmp); - return NULL; - } - success_transactionEx(pVuser,"AAS","PicPutGet success."); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } - free(content); -} - -void* aas_textget(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - aas_st *ap = (aas_st *)pVuser->verb; - int status = 0; - AasInterfacePrx aas = *(ap->aas); - char fromID[36],toID[36]; - long ts = (long)time(0); - string msg; - - sprintf(fromID,"cnalichnabc%dx%dx%d",get_vuser_group(pVuser),get_vuser_id(pVuser),get_vuser_ite(pVuser)); - sprintf(toID,"cnalichnabc%dx%dx%d",get_vuser_group(pVuser),get_vuser_id(pVuser),get_vuser_ite(pVuser)+1); - - try{ - ChatRecordInfoSeq rcd; - status = aas->textget(fromID,toID,ts+1,ts-100000,100,rcd); - if(status == 0){ - char txt[1024]; - sprintf(txt,"AAS TextGet Success,Result Size:%d",rcd.size()); - success_transactionEx(pVuser,"AAS",txt); - }else{ - char str_tmp[32] = {0}; - sprintf(str_tmp,"Textget:Call ret status is %d",status); - fail_transactionEx(pVuser,"AAS",str_tmp); - } - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - - -void* aas_picget(void *p) -{ - struct timeval tvStart,tvEnd; - - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - aas_st *ap = (aas_st *)pVuser->verb; - int status = 0; - AasInterfacePrx aas = *(ap->aas); - char cpicName[256],*cpicNameParam; - long ts = (long)time(0); - string msg; - sprintf(cpicName, "%04d%04d%08d%016ld_%d%d%d",rand(),rand(),rand(),time(NULL),get_vuser_group(pVuser),get_vuser_id(pVuser),get_vuser_ite(pVuser)); - //string picName(cpicName); - - cpicNameParam = select_param_ex(pVuser); - string picName(cpicNameParam); - ::AASSERVICE::ByteSeq picData; - try{ - gettimeofday(&tvStart,NULL); - status = aas->picget(picName,picData); - //终止时间 - gettimeofday(&tvEnd,NULL); - - float dif; - dif = (tvEnd.tv_sec-tvStart.tv_sec) + (tvEnd.tv_usec-tvStart.tv_usec)/1000000.0; - //printf("aas_picget cost %f\n",dif); - /* - 由于key是人造的 - 所以飞天å–ä¸åˆ°å›¾ç‰‡ - 所以这里ä¸åˆ¤æ–­è¿”回结果是å¦æ­£ç¡® - */ - success_transactionEx(pVuser,"AAS","PicPutGet success."); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} diff --git a/features/aliww/source/.svn/text-base/aasservice.cpp.svn-base b/features/aliww/source/.svn/text-base/aasservice.cpp.svn-base deleted file mode 100644 index 03b7c3e..0000000 --- a/features/aliww/source/.svn/text-base/aasservice.cpp.svn-base +++ /dev/null @@ -1,2272 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aasservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AASSERVICE__AasInterface__textget_name = "textget"; - -static const ::std::string __AASSERVICE__AasInterface__textput_name = "textput"; - -static const ::std::string __AASSERVICE__AasInterface__textbatchput_name = "textbatchput"; - -static const ::std::string __AASSERVICE__AasInterface__textupdate_name = "textupdate"; - -static const ::std::string __AASSERVICE__AasInterface__textdelete_name = "textdelete"; - -static const ::std::string __AASSERVICE__AasInterface__textbatchdelete_name = "textbatchdelete"; - -static const ::std::string __AASSERVICE__AasInterface__picquery_name = "picquery"; - -static const ::std::string __AASSERVICE__AasInterface__picbatchquery_name = "picbatchquery"; - -static const ::std::string __AASSERVICE__AasInterface__picget_name = "picget"; - -static const ::std::string __AASSERVICE__AasInterface__picput_name = "picput"; - -void -IceInternal::incRef(::AASSERVICE::AasInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AASSERVICE::AasInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AASSERVICE::AasInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AASSERVICE::AasInterface* p) -{ - p->__decRef(); -} - -void -AASSERVICE::__write(::IceInternal::BasicStream* __os, const ::AASSERVICE::AasInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AASSERVICE::__read(::IceInternal::BasicStream* __is, ::AASSERVICE::AasInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AASSERVICE::AasInterface; - v->__copyFrom(proxy); - } -} - -void -AASSERVICE::__write(::IceInternal::BasicStream* __os, const ::AASSERVICE::AasInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -AASSERVICE::CChatRecord::operator==(const CChatRecord& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AASSERVICE::CChatRecord::operator!=(const CChatRecord& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userid != __rhs.userid) - { - return true; - } - if(peeruid != __rhs.peeruid) - { - return true; - } - if(tm != __rhs.tm) - { - return true; - } - if(seq != __rhs.seq) - { - return true; - } - if(msg != __rhs.msg) - { - return true; - } - return false; -} - -bool -AASSERVICE::CChatRecord::operator<(const CChatRecord& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userid < __rhs.userid) - { - return true; - } - else if(__rhs.userid < userid) - { - return false; - } - if(peeruid < __rhs.peeruid) - { - return true; - } - else if(__rhs.peeruid < peeruid) - { - return false; - } - if(tm < __rhs.tm) - { - return true; - } - else if(__rhs.tm < tm) - { - return false; - } - if(seq < __rhs.seq) - { - return true; - } - else if(__rhs.seq < seq) - { - return false; - } - if(msg < __rhs.msg) - { - return true; - } - else if(__rhs.msg < msg) - { - return false; - } - return false; -} - -void -AASSERVICE::CChatRecord::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userid); - __os->write(peeruid); - __os->write(tm); - __os->write(seq); - __os->write(msg); -} - -void -AASSERVICE::CChatRecord::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userid); - __is->read(peeruid); - __is->read(tm); - __is->read(seq); - __is->read(msg); -} - -bool -AASSERVICE::CChatRecordInfo::operator==(const CChatRecordInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AASSERVICE::CChatRecordInfo::operator!=(const CChatRecordInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(dir != __rhs.dir) - { - return true; - } - if(seq != __rhs.seq) - { - return true; - } - if(tm != __rhs.tm) - { - return true; - } - if(msg != __rhs.msg) - { - return true; - } - return false; -} - -bool -AASSERVICE::CChatRecordInfo::operator<(const CChatRecordInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(dir < __rhs.dir) - { - return true; - } - else if(__rhs.dir < dir) - { - return false; - } - if(seq < __rhs.seq) - { - return true; - } - else if(__rhs.seq < seq) - { - return false; - } - if(tm < __rhs.tm) - { - return true; - } - else if(__rhs.tm < tm) - { - return false; - } - if(msg < __rhs.msg) - { - return true; - } - else if(__rhs.msg < msg) - { - return false; - } - return false; -} - -void -AASSERVICE::CChatRecordInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(dir); - __os->write(seq); - __os->write(tm); - __os->write(msg); -} - -void -AASSERVICE::CChatRecordInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(dir); - __is->read(seq); - __is->read(tm); - __is->read(msg); -} - -bool -AASSERVICE::CChatRecordID::operator==(const CChatRecordID& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AASSERVICE::CChatRecordID::operator!=(const CChatRecordID& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userid != __rhs.userid) - { - return true; - } - if(peeruid != __rhs.peeruid) - { - return true; - } - if(tm != __rhs.tm) - { - return true; - } - if(seq != __rhs.seq) - { - return true; - } - if(dir != __rhs.dir) - { - return true; - } - return false; -} - -bool -AASSERVICE::CChatRecordID::operator<(const CChatRecordID& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userid < __rhs.userid) - { - return true; - } - else if(__rhs.userid < userid) - { - return false; - } - if(peeruid < __rhs.peeruid) - { - return true; - } - else if(__rhs.peeruid < peeruid) - { - return false; - } - if(tm < __rhs.tm) - { - return true; - } - else if(__rhs.tm < tm) - { - return false; - } - if(seq < __rhs.seq) - { - return true; - } - else if(__rhs.seq < seq) - { - return false; - } - if(dir < __rhs.dir) - { - return true; - } - else if(__rhs.dir < dir) - { - return false; - } - return false; -} - -void -AASSERVICE::CChatRecordID::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userid); - __os->write(peeruid); - __os->write(tm); - __os->write(seq); - __os->write(dir); -} - -void -AASSERVICE::CChatRecordID::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userid); - __is->read(peeruid); - __is->read(tm); - __is->read(seq); - __is->read(dir); -} - -void -AASSERVICE::__write(::IceInternal::BasicStream* __os, const ::AASSERVICE::CChatRecordInfo* begin, const ::AASSERVICE::CChatRecordInfo* end, ::AASSERVICE::__U__ChatRecordInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AASSERVICE::__read(::IceInternal::BasicStream* __is, ::AASSERVICE::ChatRecordInfoSeq& v, ::AASSERVICE::__U__ChatRecordInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 17); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AASSERVICE::__write(::IceInternal::BasicStream* __os, const ::AASSERVICE::CChatRecordID* begin, const ::AASSERVICE::CChatRecordID* end, ::AASSERVICE::__U__ChatRecordIDSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AASSERVICE::__read(::IceInternal::BasicStream* __is, ::AASSERVICE::ChatRecordIDSeq& v, ::AASSERVICE::__U__ChatRecordIDSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 18); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AASSERVICE::__write(::IceInternal::BasicStream* __os, const ::AASSERVICE::CChatRecord* begin, const ::AASSERVICE::CChatRecord* end, ::AASSERVICE::__U__ChatRecordSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AASSERVICE::__read(::IceInternal::BasicStream* __is, ::AASSERVICE::ChatRecordSeq& v, ::AASSERVICE::__U__ChatRecordSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 15); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AASSERVICE::__addObject(const AasInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AASSERVICE::__usesClasses(const AasInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -AASSERVICE::__decRefUnsafe(const AasInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AASSERVICE::__clearHandleUnsafe(AasInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -IceAsync::AASSERVICE::AMD_AasInterface_textget::AMD_AasInterface_textget(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textget::ice_response(::Ice::Int __ret, const ::AASSERVICE::ChatRecordInfoSeq& record) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(record.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AASSERVICE::__write(__os, &record[0], &record[0] + record.size(), ::AASSERVICE::__U__ChatRecordInfoSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textget::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textget::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textget::ice_exception() -{ - __exception(); -} - -IceAsync::AASSERVICE::AMD_AasInterface_textput::AMD_AasInterface_textput(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textput::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textput::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textput::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textput::ice_exception() -{ - __exception(); -} - -IceAsync::AASSERVICE::AMD_AasInterface_textbatchput::AMD_AasInterface_textbatchput(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textbatchput::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textbatchput::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textbatchput::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textbatchput::ice_exception() -{ - __exception(); -} - -IceAsync::AASSERVICE::AMD_AasInterface_textupdate::AMD_AasInterface_textupdate(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textupdate::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textupdate::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textupdate::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textupdate::ice_exception() -{ - __exception(); -} - -IceAsync::AASSERVICE::AMD_AasInterface_textdelete::AMD_AasInterface_textdelete(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textdelete::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textdelete::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textdelete::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textdelete::ice_exception() -{ - __exception(); -} - -IceAsync::AASSERVICE::AMD_AasInterface_textbatchdelete::AMD_AasInterface_textbatchdelete(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textbatchdelete::ice_response(::Ice::Int __ret, const ::AASSERVICE::ChatRecordIDSeq& respseq) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(respseq.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AASSERVICE::__write(__os, &respseq[0], &respseq[0] + respseq.size(), ::AASSERVICE::__U__ChatRecordIDSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textbatchdelete::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textbatchdelete::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textbatchdelete::ice_exception() -{ - __exception(); -} - -IceAsync::AASSERVICE::AMD_AasInterface_picquery::AMD_AasInterface_picquery(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picquery::ice_response(::Ice::Int __ret, bool exist) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(exist); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picquery::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picquery::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picquery::ice_exception() -{ - __exception(); -} - -IceAsync::AASSERVICE::AMD_AasInterface_picbatchquery::AMD_AasInterface_picbatchquery(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picbatchquery::ice_response(::Ice::Int __ret, const ::AASSERVICE::ChatPicFileNameSeq& respseq) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(respseq.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&respseq[0], &respseq[0] + respseq.size()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picbatchquery::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picbatchquery::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picbatchquery::ice_exception() -{ - __exception(); -} - -IceAsync::AASSERVICE::AMD_AasInterface_picget::AMD_AasInterface_picget(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picget::ice_response(::Ice::Int __ret, const ::AASSERVICE::ByteSeq& pic) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(pic.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&pic[0], &pic[0] + pic.size()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picget::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picget::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picget::ice_exception() -{ - __exception(); -} - -IceAsync::AASSERVICE::AMD_AasInterface_picput::AMD_AasInterface_picput(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picput::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picput::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picput::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picput::ice_exception() -{ - __exception(); -} - -::Ice::Int -IceProxy::AASSERVICE::AasInterface::textget(const ::std::string& userid, const ::std::string& peeruid, ::Ice::Long begintime, ::Ice::Long endtime, ::Ice::Int maxret, ::AASSERVICE::ChatRecordInfoSeq& record, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AASSERVICE__AasInterface__textget_name); - __delBase = __getDelegate(); - ::IceDelegate::AASSERVICE::AasInterface* __del = dynamic_cast< ::IceDelegate::AASSERVICE::AasInterface*>(__delBase.get()); - return __del->textget(userid, peeruid, begintime, endtime, maxret, record, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AASSERVICE::AasInterface::textput(const ::std::string& fromid, const ::std::string& toid, ::Ice::Long time, ::Ice::Int seq, const ::std::string& msg, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AASSERVICE__AasInterface__textput_name); - __delBase = __getDelegate(); - ::IceDelegate::AASSERVICE::AasInterface* __del = dynamic_cast< ::IceDelegate::AASSERVICE::AasInterface*>(__delBase.get()); - return __del->textput(fromid, toid, time, seq, msg, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AASSERVICE::AasInterface::textbatchput(const ::AASSERVICE::ChatRecordSeq& seq, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AASSERVICE__AasInterface__textbatchput_name); - __delBase = __getDelegate(); - ::IceDelegate::AASSERVICE::AasInterface* __del = dynamic_cast< ::IceDelegate::AASSERVICE::AasInterface*>(__delBase.get()); - return __del->textbatchput(seq, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AASSERVICE::AasInterface::textupdate(const ::std::string& fromid, const ::std::string& toid, ::Ice::Long time, ::Ice::Int seq, const ::std::string& msg, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AASSERVICE__AasInterface__textupdate_name); - __delBase = __getDelegate(); - ::IceDelegate::AASSERVICE::AasInterface* __del = dynamic_cast< ::IceDelegate::AASSERVICE::AasInterface*>(__delBase.get()); - return __del->textupdate(fromid, toid, time, seq, msg, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AASSERVICE::AasInterface::textdelete(const ::std::string& userid, const ::std::string& peeruid, ::Ice::Long time, ::Ice::Int seq, ::Ice::Int direction, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AASSERVICE__AasInterface__textdelete_name); - __delBase = __getDelegate(); - ::IceDelegate::AASSERVICE::AasInterface* __del = dynamic_cast< ::IceDelegate::AASSERVICE::AasInterface*>(__delBase.get()); - return __del->textdelete(userid, peeruid, time, seq, direction, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AASSERVICE::AasInterface::textbatchdelete(const ::AASSERVICE::ChatRecordIDSeq& recordidseq, ::AASSERVICE::ChatRecordIDSeq& respseq, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AASSERVICE__AasInterface__textbatchdelete_name); - __delBase = __getDelegate(); - ::IceDelegate::AASSERVICE::AasInterface* __del = dynamic_cast< ::IceDelegate::AASSERVICE::AasInterface*>(__delBase.get()); - return __del->textbatchdelete(recordidseq, respseq, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AASSERVICE::AasInterface::picquery(const ::std::string& fileName, bool& exist, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AASSERVICE__AasInterface__picquery_name); - __delBase = __getDelegate(); - ::IceDelegate::AASSERVICE::AasInterface* __del = dynamic_cast< ::IceDelegate::AASSERVICE::AasInterface*>(__delBase.get()); - return __del->picquery(fileName, exist, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AASSERVICE::AasInterface::picbatchquery(const ::AASSERVICE::ChatPicFileNameSeq& filenameseq, ::AASSERVICE::ChatPicFileNameSeq& respseq, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AASSERVICE__AasInterface__picbatchquery_name); - __delBase = __getDelegate(); - ::IceDelegate::AASSERVICE::AasInterface* __del = dynamic_cast< ::IceDelegate::AASSERVICE::AasInterface*>(__delBase.get()); - return __del->picbatchquery(filenameseq, respseq, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AASSERVICE::AasInterface::picget(const ::std::string& filename, ::AASSERVICE::ByteSeq& pic, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AASSERVICE__AasInterface__picget_name); - __delBase = __getDelegate(); - ::IceDelegate::AASSERVICE::AasInterface* __del = dynamic_cast< ::IceDelegate::AASSERVICE::AasInterface*>(__delBase.get()); - return __del->picget(filename, pic, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AASSERVICE::AasInterface::picput(const ::std::string& filename, const ::AASSERVICE::ByteSeq& pic, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AASSERVICE__AasInterface__picput_name); - __delBase = __getDelegate(); - ::IceDelegate::AASSERVICE::AasInterface* __del = dynamic_cast< ::IceDelegate::AASSERVICE::AasInterface*>(__delBase.get()); - return __del->picput(filename, pic, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AASSERVICE::AasInterface::ice_staticId() -{ - return ::AASSERVICE::AasInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AASSERVICE::AasInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AASSERVICE::AasInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AASSERVICE::AasInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AASSERVICE::AasInterface); -} - -bool -IceProxy::AASSERVICE::operator==(const ::IceProxy::AASSERVICE::AasInterface& l, const ::IceProxy::AASSERVICE::AasInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AASSERVICE::operator!=(const ::IceProxy::AASSERVICE::AasInterface& l, const ::IceProxy::AASSERVICE::AasInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AASSERVICE::operator<(const ::IceProxy::AASSERVICE::AasInterface& l, const ::IceProxy::AASSERVICE::AasInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AASSERVICE::operator<=(const ::IceProxy::AASSERVICE::AasInterface& l, const ::IceProxy::AASSERVICE::AasInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AASSERVICE::operator>(const ::IceProxy::AASSERVICE::AasInterface& l, const ::IceProxy::AASSERVICE::AasInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AASSERVICE::operator>=(const ::IceProxy::AASSERVICE::AasInterface& l, const ::IceProxy::AASSERVICE::AasInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AASSERVICE::AasInterface::textget(const ::std::string& userid, const ::std::string& peeruid, ::Ice::Long begintime, ::Ice::Long endtime, ::Ice::Int maxret, ::AASSERVICE::ChatRecordInfoSeq& record, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AASSERVICE__AasInterface__textget_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userid); - __os->write(peeruid); - __os->write(begintime); - __os->write(endtime); - __os->write(maxret); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AASSERVICE::__read(__is, record, ::AASSERVICE::__U__ChatRecordInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AASSERVICE::AasInterface::textput(const ::std::string& fromid, const ::std::string& toid, ::Ice::Long time, ::Ice::Int seq, const ::std::string& msg, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AASSERVICE__AasInterface__textput_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fromid); - __os->write(toid); - __os->write(time); - __os->write(seq); - __os->write(msg); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AASSERVICE::AasInterface::textbatchput(const ::AASSERVICE::ChatRecordSeq& seq, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AASSERVICE__AasInterface__textbatchput_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(seq.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AASSERVICE::__write(__os, &seq[0], &seq[0] + seq.size(), ::AASSERVICE::__U__ChatRecordSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AASSERVICE::AasInterface::textupdate(const ::std::string& fromid, const ::std::string& toid, ::Ice::Long time, ::Ice::Int seq, const ::std::string& msg, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AASSERVICE__AasInterface__textupdate_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fromid); - __os->write(toid); - __os->write(time); - __os->write(seq); - __os->write(msg); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AASSERVICE::AasInterface::textdelete(const ::std::string& userid, const ::std::string& peeruid, ::Ice::Long time, ::Ice::Int seq, ::Ice::Int direction, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AASSERVICE__AasInterface__textdelete_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userid); - __os->write(peeruid); - __os->write(time); - __os->write(seq); - __os->write(direction); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AASSERVICE::AasInterface::textbatchdelete(const ::AASSERVICE::ChatRecordIDSeq& recordidseq, ::AASSERVICE::ChatRecordIDSeq& respseq, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AASSERVICE__AasInterface__textbatchdelete_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(recordidseq.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AASSERVICE::__write(__os, &recordidseq[0], &recordidseq[0] + recordidseq.size(), ::AASSERVICE::__U__ChatRecordIDSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AASSERVICE::__read(__is, respseq, ::AASSERVICE::__U__ChatRecordIDSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AASSERVICE::AasInterface::picquery(const ::std::string& fileName, bool& exist, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AASSERVICE__AasInterface__picquery_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fileName); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(exist); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AASSERVICE::AasInterface::picbatchquery(const ::AASSERVICE::ChatPicFileNameSeq& filenameseq, ::AASSERVICE::ChatPicFileNameSeq& respseq, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AASSERVICE__AasInterface__picbatchquery_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(filenameseq.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&filenameseq[0], &filenameseq[0] + filenameseq.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(respseq); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AASSERVICE::AasInterface::picget(const ::std::string& filename, ::AASSERVICE::ByteSeq& pic, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AASSERVICE__AasInterface__picget_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(filename); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::std::pair ___pic; - __is->read(___pic); - ::std::vector< ::Ice::Byte>(___pic.first, ___pic.second).swap(pic); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AASSERVICE::AasInterface::picput(const ::std::string& filename, const ::AASSERVICE::ByteSeq& pic, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AASSERVICE__AasInterface__picput_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(filename); - if(pic.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&pic[0], &pic[0] + pic.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AASSERVICE::AasInterface::textget(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int, ::AASSERVICE::ChatRecordInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AASSERVICE::AasInterface::textput(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AASSERVICE::AasInterface::textbatchput(const ::AASSERVICE::ChatRecordSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AASSERVICE::AasInterface::textupdate(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AASSERVICE::AasInterface::textdelete(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AASSERVICE::AasInterface::textbatchdelete(const ::AASSERVICE::ChatRecordIDSeq&, ::AASSERVICE::ChatRecordIDSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AASSERVICE::AasInterface::picquery(const ::std::string&, bool&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AASSERVICE::AasInterface::picbatchquery(const ::AASSERVICE::ChatPicFileNameSeq&, ::AASSERVICE::ChatPicFileNameSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AASSERVICE::AasInterface::picget(const ::std::string&, ::AASSERVICE::ByteSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AASSERVICE::AasInterface::picput(const ::std::string&, const ::AASSERVICE::ByteSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::ObjectPtr -AASSERVICE::AasInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AASSERVICE__AasInterface_ids[2] = -{ - "::AASSERVICE::AasInterface", - "::Ice::Object" -}; - -bool -AASSERVICE::AasInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AASSERVICE__AasInterface_ids, __AASSERVICE__AasInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -AASSERVICE::AasInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AASSERVICE__AasInterface_ids[0], &__AASSERVICE__AasInterface_ids[2]); -} - -const ::std::string& -AASSERVICE::AasInterface::ice_id(const ::Ice::Current&) const -{ - return __AASSERVICE__AasInterface_ids[0]; -} - -const ::std::string& -AASSERVICE::AasInterface::ice_staticId() -{ - return __AASSERVICE__AasInterface_ids[0]; -} - -::IceInternal::DispatchStatus -AASSERVICE::AasInterface::___textget(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userid; - ::std::string peeruid; - ::Ice::Long begintime; - ::Ice::Long endtime; - ::Ice::Int maxret; - __is->read(userid); - __is->read(peeruid); - __is->read(begintime); - __is->read(endtime); - __is->read(maxret); - ::AASSERVICE::AMD_AasInterface_textgetPtr __cb = new IceAsync::AASSERVICE::AMD_AasInterface_textget(__inS); - try - { - textget_async(__cb, userid, peeruid, begintime, endtime, maxret, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AASSERVICE::AasInterface::___textput(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string fromid; - ::std::string toid; - ::Ice::Long time; - ::Ice::Int seq; - ::std::string msg; - __is->read(fromid); - __is->read(toid); - __is->read(time); - __is->read(seq); - __is->read(msg); - ::AASSERVICE::AMD_AasInterface_textputPtr __cb = new IceAsync::AASSERVICE::AMD_AasInterface_textput(__inS); - try - { - textput_async(__cb, fromid, toid, time, seq, msg, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AASSERVICE::AasInterface::___textbatchput(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::AASSERVICE::ChatRecordSeq seq; - ::AASSERVICE::__read(__is, seq, ::AASSERVICE::__U__ChatRecordSeq()); - ::AASSERVICE::AMD_AasInterface_textbatchputPtr __cb = new IceAsync::AASSERVICE::AMD_AasInterface_textbatchput(__inS); - try - { - textbatchput_async(__cb, seq, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AASSERVICE::AasInterface::___textupdate(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string fromid; - ::std::string toid; - ::Ice::Long time; - ::Ice::Int seq; - ::std::string msg; - __is->read(fromid); - __is->read(toid); - __is->read(time); - __is->read(seq); - __is->read(msg); - ::AASSERVICE::AMD_AasInterface_textupdatePtr __cb = new IceAsync::AASSERVICE::AMD_AasInterface_textupdate(__inS); - try - { - textupdate_async(__cb, fromid, toid, time, seq, msg, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AASSERVICE::AasInterface::___textdelete(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userid; - ::std::string peeruid; - ::Ice::Long time; - ::Ice::Int seq; - ::Ice::Int direction; - __is->read(userid); - __is->read(peeruid); - __is->read(time); - __is->read(seq); - __is->read(direction); - ::AASSERVICE::AMD_AasInterface_textdeletePtr __cb = new IceAsync::AASSERVICE::AMD_AasInterface_textdelete(__inS); - try - { - textdelete_async(__cb, userid, peeruid, time, seq, direction, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AASSERVICE::AasInterface::___textbatchdelete(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::AASSERVICE::ChatRecordIDSeq recordidseq; - ::AASSERVICE::__read(__is, recordidseq, ::AASSERVICE::__U__ChatRecordIDSeq()); - ::AASSERVICE::AMD_AasInterface_textbatchdeletePtr __cb = new IceAsync::AASSERVICE::AMD_AasInterface_textbatchdelete(__inS); - try - { - textbatchdelete_async(__cb, recordidseq, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AASSERVICE::AasInterface::___picquery(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string fileName; - __is->read(fileName); - ::AASSERVICE::AMD_AasInterface_picqueryPtr __cb = new IceAsync::AASSERVICE::AMD_AasInterface_picquery(__inS); - try - { - picquery_async(__cb, fileName, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AASSERVICE::AasInterface::___picbatchquery(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::AASSERVICE::ChatPicFileNameSeq filenameseq; - __is->read(filenameseq); - ::AASSERVICE::AMD_AasInterface_picbatchqueryPtr __cb = new IceAsync::AASSERVICE::AMD_AasInterface_picbatchquery(__inS); - try - { - picbatchquery_async(__cb, filenameseq, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AASSERVICE::AasInterface::___picget(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string filename; - __is->read(filename); - ::AASSERVICE::AMD_AasInterface_picgetPtr __cb = new IceAsync::AASSERVICE::AMD_AasInterface_picget(__inS); - try - { - picget_async(__cb, filename, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AASSERVICE::AasInterface::___picput(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string filename; - ::AASSERVICE::ByteSeq pic; - __is->read(filename); - ::std::pair ___pic; - __is->read(___pic); - ::std::vector< ::Ice::Byte>(___pic.first, ___pic.second).swap(pic); - ::AASSERVICE::AMD_AasInterface_picputPtr __cb = new IceAsync::AASSERVICE::AMD_AasInterface_picput(__inS); - try - { - picput_async(__cb, filename, pic, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -static ::std::string __AASSERVICE__AasInterface_all[] = -{ - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "picbatchquery", - "picget", - "picput", - "picquery", - "textbatchdelete", - "textbatchput", - "textdelete", - "textget", - "textput", - "textupdate" -}; - -::IceInternal::DispatchStatus -AASSERVICE::AasInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AASSERVICE__AasInterface_all, __AASSERVICE__AasInterface_all + 14, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AASSERVICE__AasInterface_all) - { - case 0: - { - return ___ice_id(in, current); - } - case 1: - { - return ___ice_ids(in, current); - } - case 2: - { - return ___ice_isA(in, current); - } - case 3: - { - return ___ice_ping(in, current); - } - case 4: - { - return ___picbatchquery(in, current); - } - case 5: - { - return ___picget(in, current); - } - case 6: - { - return ___picput(in, current); - } - case 7: - { - return ___picquery(in, current); - } - case 8: - { - return ___textbatchdelete(in, current); - } - case 9: - { - return ___textbatchput(in, current); - } - case 10: - { - return ___textdelete(in, current); - } - case 11: - { - return ___textget(in, current); - } - case 12: - { - return ___textput(in, current); - } - case 13: - { - return ___textupdate(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AASSERVICE::AasInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AASSERVICE::AasInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AASSERVICE::AasInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AASSERVICE::AasInterface was not generated with stream support"; - throw ex; -} - -void -AASSERVICE::AasInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AASSERVICE::AasInterface was not generated with stream support"; - throw ex; -} - -void -AASSERVICE::__patch__AasInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AASSERVICE::AasInterfacePtr* p = static_cast< ::AASSERVICE::AasInterfacePtr*>(__addr); - assert(p); - *p = ::AASSERVICE::AasInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AASSERVICE::AasInterface::ice_staticId(); - throw e; - } -} - -bool -AASSERVICE::operator==(const ::AASSERVICE::AasInterface& l, const ::AASSERVICE::AasInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AASSERVICE::operator!=(const ::AASSERVICE::AasInterface& l, const ::AASSERVICE::AasInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AASSERVICE::operator<(const ::AASSERVICE::AasInterface& l, const ::AASSERVICE::AasInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AASSERVICE::operator<=(const ::AASSERVICE::AasInterface& l, const ::AASSERVICE::AasInterface& r) -{ - return l < r || l == r; -} - -bool -AASSERVICE::operator>(const ::AASSERVICE::AasInterface& l, const ::AASSERVICE::AasInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -AASSERVICE::operator>=(const ::AASSERVICE::AasInterface& l, const ::AASSERVICE::AasInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/aepcacheservice.cpp.svn-base b/features/aliww/source/.svn/text-base/aepcacheservice.cpp.svn-base deleted file mode 100644 index 199481e..0000000 --- a/features/aliww/source/.svn/text-base/aepcacheservice.cpp.svn-base +++ /dev/null @@ -1,1613 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aepcacheservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__IAEPCacheService__getWanghaoInfo_name = "getWanghaoInfo"; - -static const ::std::string __AliIM__IAEPCacheService__getBindlist_name = "getBindlist"; - -static const ::std::string __AliIM__IAEPCacheService__addWanghao_name = "addWanghao"; - -static const ::std::string __AliIM__IAEPCacheService__setWanghaoStatus_name = "setWanghaoStatus"; - -static const ::std::string __AliIM__IAEPCacheService__setBindlist_name = "setBindlist"; - -static const ::std::string __AliIM__IAEPCacheService__addBindId_name = "addBindId"; - -static const ::std::string __AliIM__IAEPCacheService__delBindId_name = "delBindId"; - -static const ::std::string __AliIM__IAEPCacheService__removeCache_name = "removeCache"; - -static const ::std::string __AliIM__IAEPCacheService__changeWanghaoPw_name = "changeWanghaoPw"; - -void -IceInternal::incRef(::AliIM::IAEPCacheService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::IAEPCacheService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::IAEPCacheService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::IAEPCacheService* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::IAEPCacheServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::IAEPCacheServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::IAEPCacheService; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::IAEPCacheServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -AliIM::SWanghaoInfoIce::operator==(const SWanghaoInfoIce& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIM::SWanghaoInfoIce::operator!=(const SWanghaoInfoIce& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uuid != __rhs.uuid) - { - return true; - } - if(whid != __rhs.whid) - { - return true; - } - if(longuid != __rhs.longuid) - { - return true; - } - if(md5pw != __rhs.md5pw) - { - return true; - } - if(imtoken != __rhs.imtoken) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - return false; -} - -bool -AliIM::SWanghaoInfoIce::operator<(const SWanghaoInfoIce& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uuid < __rhs.uuid) - { - return true; - } - else if(__rhs.uuid < uuid) - { - return false; - } - if(whid < __rhs.whid) - { - return true; - } - else if(__rhs.whid < whid) - { - return false; - } - if(longuid < __rhs.longuid) - { - return true; - } - else if(__rhs.longuid < longuid) - { - return false; - } - if(md5pw < __rhs.md5pw) - { - return true; - } - else if(__rhs.md5pw < md5pw) - { - return false; - } - if(imtoken < __rhs.imtoken) - { - return true; - } - else if(__rhs.imtoken < imtoken) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - return false; -} - -void -AliIM::SWanghaoInfoIce::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uuid); - __os->write(whid); - __os->write(longuid); - __os->write(md5pw); - __os->write(imtoken); - __os->write(status); -} - -void -AliIM::SWanghaoInfoIce::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uuid); - __is->read(whid); - __is->read(longuid); - __is->read(md5pw); - __is->read(imtoken); - __is->read(status); -} - -void -AliIM::__addObject(const IAEPCacheServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const IAEPCacheServicePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const IAEPCacheServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(IAEPCacheServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::IAEPCacheService::getWanghaoInfo(::Ice::Int idtype, const ::std::string& id, ::AliIM::SWanghaoInfoIce& info, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IAEPCacheService__getWanghaoInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IAEPCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IAEPCacheService*>(__delBase.get()); - return __del->getWanghaoInfo(idtype, id, info, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IAEPCacheService::getBindlist(::Ice::Int idtype, const ::std::string& id, ::Ice::StringSeq& bindids, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IAEPCacheService__getBindlist_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IAEPCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IAEPCacheService*>(__delBase.get()); - return __del->getBindlist(idtype, id, bindids, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IAEPCacheService::addWanghao(const ::AliIM::SWanghaoInfoIce& info, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IAEPCacheService__addWanghao_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IAEPCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IAEPCacheService*>(__delBase.get()); - return __del->addWanghao(info, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IAEPCacheService::setWanghaoStatus(::Ice::Int idtype, const ::std::string& id, ::Ice::Int status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IAEPCacheService__setWanghaoStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IAEPCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IAEPCacheService*>(__delBase.get()); - return __del->setWanghaoStatus(idtype, id, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IAEPCacheService::setBindlist(::Ice::Int idtype, const ::std::string& id, const ::Ice::StringSeq& bindids, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IAEPCacheService__setBindlist_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IAEPCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IAEPCacheService*>(__delBase.get()); - return __del->setBindlist(idtype, id, bindids, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IAEPCacheService::addBindId(::Ice::Int idtype, const ::std::string& id, const ::std::string& weblongid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IAEPCacheService__addBindId_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IAEPCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IAEPCacheService*>(__delBase.get()); - return __del->addBindId(idtype, id, weblongid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IAEPCacheService::delBindId(::Ice::Int idtype, const ::std::string& id, const ::std::string& weblongid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IAEPCacheService__delBindId_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IAEPCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IAEPCacheService*>(__delBase.get()); - return __del->delBindId(idtype, id, weblongid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IAEPCacheService::removeCache(::Ice::Int idtype, const ::std::string& id, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IAEPCacheService__removeCache_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IAEPCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IAEPCacheService*>(__delBase.get()); - return __del->removeCache(idtype, id, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IAEPCacheService::changeWanghaoPw(::Ice::Int idtype, const ::std::string& id, const ::std::string& newmd5pw, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IAEPCacheService__changeWanghaoPw_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IAEPCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IAEPCacheService*>(__delBase.get()); - return __del->changeWanghaoPw(idtype, id, newmd5pw, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::IAEPCacheService::ice_staticId() -{ - return ::AliIM::IAEPCacheService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::IAEPCacheService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::IAEPCacheService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::IAEPCacheService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::IAEPCacheService); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::IAEPCacheService& l, const ::IceProxy::AliIM::IAEPCacheService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::IAEPCacheService& l, const ::IceProxy::AliIM::IAEPCacheService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::IAEPCacheService& l, const ::IceProxy::AliIM::IAEPCacheService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::IAEPCacheService& l, const ::IceProxy::AliIM::IAEPCacheService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::IAEPCacheService& l, const ::IceProxy::AliIM::IAEPCacheService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::IAEPCacheService& l, const ::IceProxy::AliIM::IAEPCacheService& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::IAEPCacheService::getWanghaoInfo(::Ice::Int idtype, const ::std::string& id, ::AliIM::SWanghaoInfoIce& info, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IAEPCacheService__getWanghaoInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(idtype); - __os->write(id); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - info.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IAEPCacheService::getBindlist(::Ice::Int idtype, const ::std::string& id, ::Ice::StringSeq& bindids, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IAEPCacheService__getBindlist_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(idtype); - __os->write(id); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(bindids); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IAEPCacheService::addWanghao(const ::AliIM::SWanghaoInfoIce& info, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IAEPCacheService__addWanghao_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - info.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IAEPCacheService::setWanghaoStatus(::Ice::Int idtype, const ::std::string& id, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IAEPCacheService__setWanghaoStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(idtype); - __os->write(id); - __os->write(status); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IAEPCacheService::setBindlist(::Ice::Int idtype, const ::std::string& id, const ::Ice::StringSeq& bindids, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IAEPCacheService__setBindlist_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(idtype); - __os->write(id); - if(bindids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&bindids[0], &bindids[0] + bindids.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IAEPCacheService::addBindId(::Ice::Int idtype, const ::std::string& id, const ::std::string& weblongid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IAEPCacheService__addBindId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(idtype); - __os->write(id); - __os->write(weblongid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IAEPCacheService::delBindId(::Ice::Int idtype, const ::std::string& id, const ::std::string& weblongid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IAEPCacheService__delBindId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(idtype); - __os->write(id); - __os->write(weblongid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IAEPCacheService::removeCache(::Ice::Int idtype, const ::std::string& id, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IAEPCacheService__removeCache_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(idtype); - __os->write(id); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IAEPCacheService::changeWanghaoPw(::Ice::Int idtype, const ::std::string& id, const ::std::string& newmd5pw, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IAEPCacheService__changeWanghaoPw_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(idtype); - __os->write(id); - __os->write(newmd5pw); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::IAEPCacheService::getWanghaoInfo(::Ice::Int idtype, const ::std::string& id, ::AliIM::SWanghaoInfoIce& info, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IAEPCacheService__getWanghaoInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IAEPCacheService* __servant = dynamic_cast< ::AliIM::IAEPCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getWanghaoInfo(idtype, id, info, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IAEPCacheService::getBindlist(::Ice::Int idtype, const ::std::string& id, ::Ice::StringSeq& bindids, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IAEPCacheService__getBindlist_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IAEPCacheService* __servant = dynamic_cast< ::AliIM::IAEPCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getBindlist(idtype, id, bindids, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IAEPCacheService::addWanghao(const ::AliIM::SWanghaoInfoIce& info, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IAEPCacheService__addWanghao_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IAEPCacheService* __servant = dynamic_cast< ::AliIM::IAEPCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->addWanghao(info, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IAEPCacheService::setWanghaoStatus(::Ice::Int idtype, const ::std::string& id, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IAEPCacheService__setWanghaoStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IAEPCacheService* __servant = dynamic_cast< ::AliIM::IAEPCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setWanghaoStatus(idtype, id, status, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IAEPCacheService::setBindlist(::Ice::Int idtype, const ::std::string& id, const ::Ice::StringSeq& bindids, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IAEPCacheService__setBindlist_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IAEPCacheService* __servant = dynamic_cast< ::AliIM::IAEPCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setBindlist(idtype, id, bindids, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IAEPCacheService::addBindId(::Ice::Int idtype, const ::std::string& id, const ::std::string& weblongid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IAEPCacheService__addBindId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IAEPCacheService* __servant = dynamic_cast< ::AliIM::IAEPCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->addBindId(idtype, id, weblongid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IAEPCacheService::delBindId(::Ice::Int idtype, const ::std::string& id, const ::std::string& weblongid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IAEPCacheService__delBindId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IAEPCacheService* __servant = dynamic_cast< ::AliIM::IAEPCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->delBindId(idtype, id, weblongid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IAEPCacheService::removeCache(::Ice::Int idtype, const ::std::string& id, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IAEPCacheService__removeCache_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IAEPCacheService* __servant = dynamic_cast< ::AliIM::IAEPCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->removeCache(idtype, id, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IAEPCacheService::changeWanghaoPw(::Ice::Int idtype, const ::std::string& id, const ::std::string& newmd5pw, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IAEPCacheService__changeWanghaoPw_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IAEPCacheService* __servant = dynamic_cast< ::AliIM::IAEPCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->changeWanghaoPw(idtype, id, newmd5pw, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::IAEPCacheService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__IAEPCacheService_ids[2] = -{ - "::AliIM::IAEPCacheService", - "::Ice::Object" -}; - -bool -AliIM::IAEPCacheService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__IAEPCacheService_ids, __AliIM__IAEPCacheService_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::IAEPCacheService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__IAEPCacheService_ids[0], &__AliIM__IAEPCacheService_ids[2]); -} - -const ::std::string& -AliIM::IAEPCacheService::ice_id(const ::Ice::Current&) const -{ - return __AliIM__IAEPCacheService_ids[0]; -} - -const ::std::string& -AliIM::IAEPCacheService::ice_staticId() -{ - return __AliIM__IAEPCacheService_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::IAEPCacheService::___getWanghaoInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int idtype; - ::std::string id; - __is->read(idtype); - __is->read(id); - ::AliIM::SWanghaoInfoIce info; - ::Ice::Int __ret = getWanghaoInfo(idtype, id, info, __current); - info.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IAEPCacheService::___getBindlist(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int idtype; - ::std::string id; - __is->read(idtype); - __is->read(id); - ::Ice::StringSeq bindids; - ::Ice::Int __ret = getBindlist(idtype, id, bindids, __current); - if(bindids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&bindids[0], &bindids[0] + bindids.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IAEPCacheService::___addWanghao(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliIM::SWanghaoInfoIce info; - info.__read(__is); - ::Ice::Int __ret = addWanghao(info, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IAEPCacheService::___setWanghaoStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int idtype; - ::std::string id; - ::Ice::Int status; - __is->read(idtype); - __is->read(id); - __is->read(status); - ::Ice::Int __ret = setWanghaoStatus(idtype, id, status, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IAEPCacheService::___setBindlist(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int idtype; - ::std::string id; - ::Ice::StringSeq bindids; - __is->read(idtype); - __is->read(id); - __is->read(bindids); - ::Ice::Int __ret = setBindlist(idtype, id, bindids, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IAEPCacheService::___addBindId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int idtype; - ::std::string id; - ::std::string weblongid; - __is->read(idtype); - __is->read(id); - __is->read(weblongid); - ::Ice::Int __ret = addBindId(idtype, id, weblongid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IAEPCacheService::___delBindId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int idtype; - ::std::string id; - ::std::string weblongid; - __is->read(idtype); - __is->read(id); - __is->read(weblongid); - ::Ice::Int __ret = delBindId(idtype, id, weblongid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IAEPCacheService::___removeCache(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int idtype; - ::std::string id; - __is->read(idtype); - __is->read(id); - ::Ice::Int __ret = removeCache(idtype, id, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IAEPCacheService::___changeWanghaoPw(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int idtype; - ::std::string id; - ::std::string newmd5pw; - __is->read(idtype); - __is->read(id); - __is->read(newmd5pw); - ::Ice::Int __ret = changeWanghaoPw(idtype, id, newmd5pw, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__IAEPCacheService_all[] = -{ - "addBindId", - "addWanghao", - "changeWanghaoPw", - "delBindId", - "getBindlist", - "getWanghaoInfo", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "removeCache", - "setBindlist", - "setWanghaoStatus" -}; - -::IceInternal::DispatchStatus -AliIM::IAEPCacheService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__IAEPCacheService_all, __AliIM__IAEPCacheService_all + 13, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__IAEPCacheService_all) - { - case 0: - { - return ___addBindId(in, current); - } - case 1: - { - return ___addWanghao(in, current); - } - case 2: - { - return ___changeWanghaoPw(in, current); - } - case 3: - { - return ___delBindId(in, current); - } - case 4: - { - return ___getBindlist(in, current); - } - case 5: - { - return ___getWanghaoInfo(in, current); - } - case 6: - { - return ___ice_id(in, current); - } - case 7: - { - return ___ice_ids(in, current); - } - case 8: - { - return ___ice_isA(in, current); - } - case 9: - { - return ___ice_ping(in, current); - } - case 10: - { - return ___removeCache(in, current); - } - case 11: - { - return ___setBindlist(in, current); - } - case 12: - { - return ___setWanghaoStatus(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::IAEPCacheService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::IAEPCacheService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::IAEPCacheService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::IAEPCacheService was not generated with stream support"; - throw ex; -} - -void -AliIM::IAEPCacheService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::IAEPCacheService was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__IAEPCacheServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::IAEPCacheServicePtr* p = static_cast< ::AliIM::IAEPCacheServicePtr*>(__addr); - assert(p); - *p = ::AliIM::IAEPCacheServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::IAEPCacheService::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::IAEPCacheService& l, const ::AliIM::IAEPCacheService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::IAEPCacheService& l, const ::AliIM::IAEPCacheService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::IAEPCacheService& l, const ::AliIM::IAEPCacheService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::IAEPCacheService& l, const ::AliIM::IAEPCacheService& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::IAEPCacheService& l, const ::AliIM::IAEPCacheService& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::IAEPCacheService& l, const ::AliIM::IAEPCacheService& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/aepdbsadapter.cpp.svn-base b/features/aliww/source/.svn/text-base/aepdbsadapter.cpp.svn-base deleted file mode 100644 index 47b59c1..0000000 --- a/features/aliww/source/.svn/text-base/aepdbsadapter.cpp.svn-base +++ /dev/null @@ -1,2626 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aepdbsadapter.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__getBindedWebIdList_name = "getBindedWebIdList"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__getBindedWebId_name = "getBindedWebId"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__createWanghaoWebid_name = "createWanghaoWebid"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__deleteWanghaoWebid_name = "deleteWanghaoWebid"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__updateWanghaoLastLogintime_name = "updateWanghaoLastLogintime"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__changeWanghaoPw_name = "changeWanghaoPw"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__isChangableWanghao_name = "isChangableWanghao"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__updateChangableWanghao_name = "updateChangableWanghao"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__registerWanghao_name = "registerWanghao"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__prohibitWanghao_name = "prohibitWanghao"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__getWanghaoIMBind_name = "getWanghaoIMBind"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__updateUserNameByUuid_name = "updateUserNameByUuid"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__updateWanghaoToken_name = "updateWanghaoToken"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__createWWWanghaoWebid_name = "createWWWanghaoWebid"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__deleteWWWanghaoWebid_name = "deleteWWWanghaoWebid"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__getUUIDWanghaoByWebid_name = "getUUIDWanghaoByWebid"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__changeIMLongid_name = "changeIMLongid"; - -void -IceInternal::incRef(::AliIMInterface::IAEPDBSAdapter* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIMInterface::IAEPDBSAdapter* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIMInterface::IAEPDBSAdapter* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIMInterface::IAEPDBSAdapter* p) -{ - p->__decRef(); -} - -void -AliIMInterface::__write(::IceInternal::BasicStream* __os, const ::AliIMInterface::IAEPDBSAdapterPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIMInterface::__read(::IceInternal::BasicStream* __is, ::AliIMInterface::IAEPDBSAdapterPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIMInterface::IAEPDBSAdapter; - v->__copyFrom(proxy); - } -} - -void -AliIMInterface::__write(::IceInternal::BasicStream* __os, const ::AliIMInterface::IAEPDBSAdapterPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -AliIMInterface::SWanghaoIMBind::operator==(const SWanghaoIMBind& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMInterface::SWanghaoIMBind::operator!=(const SWanghaoIMBind& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uuid != __rhs.uuid) - { - return true; - } - if(whid != __rhs.whid) - { - return true; - } - if(longuid != __rhs.longuid) - { - return true; - } - if(whmd5pw != __rhs.whmd5pw) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(pwtoken != __rhs.pwtoken) - { - return true; - } - return false; -} - -bool -AliIMInterface::SWanghaoIMBind::operator<(const SWanghaoIMBind& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uuid < __rhs.uuid) - { - return true; - } - else if(__rhs.uuid < uuid) - { - return false; - } - if(whid < __rhs.whid) - { - return true; - } - else if(__rhs.whid < whid) - { - return false; - } - if(longuid < __rhs.longuid) - { - return true; - } - else if(__rhs.longuid < longuid) - { - return false; - } - if(whmd5pw < __rhs.whmd5pw) - { - return true; - } - else if(__rhs.whmd5pw < whmd5pw) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(pwtoken < __rhs.pwtoken) - { - return true; - } - else if(__rhs.pwtoken < pwtoken) - { - return false; - } - return false; -} - -void -AliIMInterface::SWanghaoIMBind::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uuid); - __os->write(whid); - __os->write(longuid); - __os->write(whmd5pw); - __os->write(status); - __os->write(pwtoken); -} - -void -AliIMInterface::SWanghaoIMBind::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uuid); - __is->read(whid); - __is->read(longuid); - __is->read(whmd5pw); - __is->read(status); - __is->read(pwtoken); -} - -void -AliIMInterface::__addObject(const IAEPDBSAdapterPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIMInterface::__usesClasses(const IAEPDBSAdapterPtr& p) -{ - return p->__usesClasses(); -} - -void -AliIMInterface::__decRefUnsafe(const IAEPDBSAdapterPtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIMInterface::__clearHandleUnsafe(IAEPDBSAdapterPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::getBindedWebIdList(const ::Ice::StringSeq& uuid, ::AliIMInterface::SWanghaoWebBindIdSeq& webids, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__getBindedWebIdList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->getBindedWebIdList(uuid, webids, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::getBindedWebId(const ::std::string& uuid, ::AliIMInterface::SWebBindIdSeq& webids, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__getBindedWebId_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->getBindedWebId(uuid, webids, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::createWanghaoWebid(const ::std::string& uuid, const ::std::string& longuid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__createWanghaoWebid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->createWanghaoWebid(uuid, longuid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::deleteWanghaoWebid(const ::std::string& uuid, const ::std::string& longuid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__deleteWanghaoWebid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->deleteWanghaoWebid(uuid, longuid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::updateWanghaoLastLogintime(const ::std::string& uuid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__updateWanghaoLastLogintime_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->updateWanghaoLastLogintime(uuid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::changeWanghaoPw(const ::std::string& uuid, const ::std::string& newmd5pw, const ::std::string& imtoken, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__changeWanghaoPw_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->changeWanghaoPw(uuid, newmd5pw, imtoken, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::isChangableWanghao(const ::std::string& uuid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__isChangableWanghao_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->isChangableWanghao(uuid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::updateChangableWanghao(const ::std::string& uuid, bool bChangable, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__updateChangableWanghao_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->updateChangableWanghao(uuid, bChangable, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::registerWanghao(const ::std::string& newwhid, const ::std::string& longuid, const ::std::string& md5pw, const ::std::string& imtoken, const ::AliIMInterface::KVMAP& attrs, ::std::string& uuid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__registerWanghao_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->registerWanghao(newwhid, longuid, md5pw, imtoken, attrs, uuid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::prohibitWanghao(const ::std::string& optor, const ::std::string& whid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__prohibitWanghao_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->prohibitWanghao(optor, whid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::getWanghaoIMBind(const ::std::string& id, ::Ice::Int idtype, ::AliIMInterface::SWanghaoIMBind& whimbind, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__getWanghaoIMBind_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->getWanghaoIMBind(id, idtype, whimbind, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::updateUserNameByUuid(const ::std::string& uuid, const ::std::string& username, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__updateUserNameByUuid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->updateUserNameByUuid(uuid, username, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::updateWanghaoToken(const ::std::string& whid, const ::std::string& token, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__updateWanghaoToken_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->updateWanghaoToken(whid, token, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::createWWWanghaoWebid(const ::std::string& whid, const ::std::string& longuid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__createWWWanghaoWebid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->createWWWanghaoWebid(whid, longuid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::deleteWWWanghaoWebid(const ::std::string& whid, const ::std::string& longuid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__deleteWWWanghaoWebid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->deleteWWWanghaoWebid(whid, longuid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::getUUIDWanghaoByWebid(const ::std::string& luid, ::std::string& uuid, ::std::string& whid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__getUUIDWanghaoByWebid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->getUUIDWanghaoByWebid(luid, uuid, whid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::changeIMLongid(::Ice::Int idtype, const ::std::string& id, const ::std::string& newlongid, ::std::string& retswitcheduuid, ::std::string& retoldlongid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__changeIMLongid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->changeIMLongid(idtype, id, newlongid, retswitcheduuid, retoldlongid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIMInterface::IAEPDBSAdapter::ice_staticId() -{ - return ::AliIMInterface::IAEPDBSAdapter::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIMInterface::IAEPDBSAdapter::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIMInterface::IAEPDBSAdapter); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIMInterface::IAEPDBSAdapter::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIMInterface::IAEPDBSAdapter); -} - -bool -IceProxy::AliIMInterface::operator==(const ::IceProxy::AliIMInterface::IAEPDBSAdapter& l, const ::IceProxy::AliIMInterface::IAEPDBSAdapter& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIMInterface::operator!=(const ::IceProxy::AliIMInterface::IAEPDBSAdapter& l, const ::IceProxy::AliIMInterface::IAEPDBSAdapter& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIMInterface::operator<(const ::IceProxy::AliIMInterface::IAEPDBSAdapter& l, const ::IceProxy::AliIMInterface::IAEPDBSAdapter& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIMInterface::operator<=(const ::IceProxy::AliIMInterface::IAEPDBSAdapter& l, const ::IceProxy::AliIMInterface::IAEPDBSAdapter& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIMInterface::operator>(const ::IceProxy::AliIMInterface::IAEPDBSAdapter& l, const ::IceProxy::AliIMInterface::IAEPDBSAdapter& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIMInterface::operator>=(const ::IceProxy::AliIMInterface::IAEPDBSAdapter& l, const ::IceProxy::AliIMInterface::IAEPDBSAdapter& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::getBindedWebIdList(const ::Ice::StringSeq& uuid, ::AliIMInterface::SWanghaoWebBindIdSeq& webids, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__getBindedWebIdList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(uuid.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&uuid[0], &uuid[0] + uuid.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMInterface::__read(__is, webids, ::AliIMInterface::__U__SWanghaoWebBindIdSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::getBindedWebId(const ::std::string& uuid, ::AliIMInterface::SWebBindIdSeq& webids, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__getBindedWebId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMInterface::__read(__is, webids, ::AliIMInterface::__U__SWebBindIdSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::createWanghaoWebid(const ::std::string& uuid, const ::std::string& longuid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__createWanghaoWebid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uuid); - __os->write(longuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::deleteWanghaoWebid(const ::std::string& uuid, const ::std::string& longuid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__deleteWanghaoWebid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uuid); - __os->write(longuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::updateWanghaoLastLogintime(const ::std::string& uuid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__updateWanghaoLastLogintime_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::changeWanghaoPw(const ::std::string& uuid, const ::std::string& newmd5pw, const ::std::string& imtoken, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__changeWanghaoPw_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uuid); - __os->write(newmd5pw); - __os->write(imtoken); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::isChangableWanghao(const ::std::string& uuid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__isChangableWanghao_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::updateChangableWanghao(const ::std::string& uuid, bool bChangable, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__updateChangableWanghao_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uuid); - __os->write(bChangable); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::registerWanghao(const ::std::string& newwhid, const ::std::string& longuid, const ::std::string& md5pw, const ::std::string& imtoken, const ::AliIMInterface::KVMAP& attrs, ::std::string& uuid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__registerWanghao_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(newwhid); - __os->write(longuid); - __os->write(md5pw); - __os->write(imtoken); - ::AliIMInterface::__write(__os, attrs, ::AliIMInterface::__U__KVMAP()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(uuid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::prohibitWanghao(const ::std::string& optor, const ::std::string& whid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__prohibitWanghao_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(optor); - __os->write(whid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::getWanghaoIMBind(const ::std::string& id, ::Ice::Int idtype, ::AliIMInterface::SWanghaoIMBind& whimbind, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__getWanghaoIMBind_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(id); - __os->write(idtype); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - whimbind.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::updateUserNameByUuid(const ::std::string& uuid, const ::std::string& username, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__updateUserNameByUuid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uuid); - __os->write(username); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::updateWanghaoToken(const ::std::string& whid, const ::std::string& token, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__updateWanghaoToken_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(whid); - __os->write(token); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::createWWWanghaoWebid(const ::std::string& whid, const ::std::string& longuid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__createWWWanghaoWebid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(whid); - __os->write(longuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::deleteWWWanghaoWebid(const ::std::string& whid, const ::std::string& longuid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__deleteWWWanghaoWebid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(whid); - __os->write(longuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::getUUIDWanghaoByWebid(const ::std::string& luid, ::std::string& uuid, ::std::string& whid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__getUUIDWanghaoByWebid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(luid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(uuid); - __is->read(whid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::changeIMLongid(::Ice::Int idtype, const ::std::string& id, const ::std::string& newlongid, ::std::string& retswitcheduuid, ::std::string& retoldlongid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__changeIMLongid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(idtype); - __os->write(id); - __os->write(newlongid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(retswitcheduuid); - __is->read(retoldlongid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::getBindedWebIdList(const ::Ice::StringSeq& uuid, ::AliIMInterface::SWanghaoWebBindIdSeq& webids, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__getBindedWebIdList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getBindedWebIdList(uuid, webids, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::getBindedWebId(const ::std::string& uuid, ::AliIMInterface::SWebBindIdSeq& webids, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__getBindedWebId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getBindedWebId(uuid, webids, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::createWanghaoWebid(const ::std::string& uuid, const ::std::string& longuid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__createWanghaoWebid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->createWanghaoWebid(uuid, longuid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::deleteWanghaoWebid(const ::std::string& uuid, const ::std::string& longuid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__deleteWanghaoWebid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->deleteWanghaoWebid(uuid, longuid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::updateWanghaoLastLogintime(const ::std::string& uuid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__updateWanghaoLastLogintime_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateWanghaoLastLogintime(uuid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::changeWanghaoPw(const ::std::string& uuid, const ::std::string& newmd5pw, const ::std::string& imtoken, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__changeWanghaoPw_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->changeWanghaoPw(uuid, newmd5pw, imtoken, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::isChangableWanghao(const ::std::string& uuid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__isChangableWanghao_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->isChangableWanghao(uuid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::updateChangableWanghao(const ::std::string& uuid, bool bChangable, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__updateChangableWanghao_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateChangableWanghao(uuid, bChangable, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::registerWanghao(const ::std::string& newwhid, const ::std::string& longuid, const ::std::string& md5pw, const ::std::string& imtoken, const ::AliIMInterface::KVMAP& attrs, ::std::string& uuid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__registerWanghao_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->registerWanghao(newwhid, longuid, md5pw, imtoken, attrs, uuid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::prohibitWanghao(const ::std::string& optor, const ::std::string& whid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__prohibitWanghao_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->prohibitWanghao(optor, whid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::getWanghaoIMBind(const ::std::string& id, ::Ice::Int idtype, ::AliIMInterface::SWanghaoIMBind& whimbind, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__getWanghaoIMBind_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getWanghaoIMBind(id, idtype, whimbind, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::updateUserNameByUuid(const ::std::string& uuid, const ::std::string& username, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__updateUserNameByUuid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateUserNameByUuid(uuid, username, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::updateWanghaoToken(const ::std::string& whid, const ::std::string& token, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__updateWanghaoToken_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateWanghaoToken(whid, token, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::createWWWanghaoWebid(const ::std::string& whid, const ::std::string& longuid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__createWWWanghaoWebid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->createWWWanghaoWebid(whid, longuid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::deleteWWWanghaoWebid(const ::std::string& whid, const ::std::string& longuid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__deleteWWWanghaoWebid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->deleteWWWanghaoWebid(whid, longuid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::getUUIDWanghaoByWebid(const ::std::string& luid, ::std::string& uuid, ::std::string& whid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__getUUIDWanghaoByWebid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUUIDWanghaoByWebid(luid, uuid, whid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::changeIMLongid(::Ice::Int idtype, const ::std::string& id, const ::std::string& newlongid, ::std::string& retswitcheduuid, ::std::string& retoldlongid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__changeIMLongid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->changeIMLongid(idtype, id, newlongid, retswitcheduuid, retoldlongid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIMInterface::IAEPDBSAdapter::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIMInterface__IAEPDBSAdapter_ids[2] = -{ - "::AliIMInterface::IAEPDBSAdapter", - "::Ice::Object" -}; - -bool -AliIMInterface::IAEPDBSAdapter::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIMInterface__IAEPDBSAdapter_ids, __AliIMInterface__IAEPDBSAdapter_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIMInterface::IAEPDBSAdapter::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIMInterface__IAEPDBSAdapter_ids[0], &__AliIMInterface__IAEPDBSAdapter_ids[2]); -} - -const ::std::string& -AliIMInterface::IAEPDBSAdapter::ice_id(const ::Ice::Current&) const -{ - return __AliIMInterface__IAEPDBSAdapter_ids[0]; -} - -const ::std::string& -AliIMInterface::IAEPDBSAdapter::ice_staticId() -{ - return __AliIMInterface__IAEPDBSAdapter_ids[0]; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___getBindedWebIdList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::StringSeq uuid; - __is->read(uuid); - ::AliIMInterface::SWanghaoWebBindIdSeq webids; - ::Ice::Int __ret = getBindedWebIdList(uuid, webids, __current); - if(webids.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMInterface::__write(__os, &webids[0], &webids[0] + webids.size(), ::AliIMInterface::__U__SWanghaoWebBindIdSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___getBindedWebId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uuid; - __is->read(uuid); - ::AliIMInterface::SWebBindIdSeq webids; - ::Ice::Int __ret = getBindedWebId(uuid, webids, __current); - if(webids.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMInterface::__write(__os, &webids[0], &webids[0] + webids.size(), ::AliIMInterface::__U__SWebBindIdSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___createWanghaoWebid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uuid; - ::std::string longuid; - __is->read(uuid); - __is->read(longuid); - ::Ice::Int __ret = createWanghaoWebid(uuid, longuid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___deleteWanghaoWebid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uuid; - ::std::string longuid; - __is->read(uuid); - __is->read(longuid); - ::Ice::Int __ret = deleteWanghaoWebid(uuid, longuid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___updateWanghaoLastLogintime(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uuid; - __is->read(uuid); - ::Ice::Int __ret = updateWanghaoLastLogintime(uuid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___changeWanghaoPw(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uuid; - ::std::string newmd5pw; - ::std::string imtoken; - __is->read(uuid); - __is->read(newmd5pw); - __is->read(imtoken); - ::Ice::Int __ret = changeWanghaoPw(uuid, newmd5pw, imtoken, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___isChangableWanghao(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uuid; - __is->read(uuid); - ::Ice::Int __ret = isChangableWanghao(uuid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___updateChangableWanghao(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uuid; - bool bChangable; - __is->read(uuid); - __is->read(bChangable); - ::Ice::Int __ret = updateChangableWanghao(uuid, bChangable, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___registerWanghao(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string newwhid; - ::std::string longuid; - ::std::string md5pw; - ::std::string imtoken; - ::AliIMInterface::KVMAP attrs; - __is->read(newwhid); - __is->read(longuid); - __is->read(md5pw); - __is->read(imtoken); - ::AliIMInterface::__read(__is, attrs, ::AliIMInterface::__U__KVMAP()); - ::std::string uuid; - ::Ice::Int __ret = registerWanghao(newwhid, longuid, md5pw, imtoken, attrs, uuid, __current); - __os->write(uuid); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___prohibitWanghao(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string optor; - ::std::string whid; - __is->read(optor); - __is->read(whid); - ::Ice::Int __ret = prohibitWanghao(optor, whid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___getWanghaoIMBind(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string id; - ::Ice::Int idtype; - __is->read(id); - __is->read(idtype); - ::AliIMInterface::SWanghaoIMBind whimbind; - ::Ice::Int __ret = getWanghaoIMBind(id, idtype, whimbind, __current); - whimbind.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___updateUserNameByUuid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uuid; - ::std::string username; - __is->read(uuid); - __is->read(username); - ::Ice::Int __ret = updateUserNameByUuid(uuid, username, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___updateWanghaoToken(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string whid; - ::std::string token; - __is->read(whid); - __is->read(token); - ::Ice::Int __ret = updateWanghaoToken(whid, token, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___createWWWanghaoWebid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string whid; - ::std::string longuid; - __is->read(whid); - __is->read(longuid); - ::Ice::Int __ret = createWWWanghaoWebid(whid, longuid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___deleteWWWanghaoWebid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string whid; - ::std::string longuid; - __is->read(whid); - __is->read(longuid); - ::Ice::Int __ret = deleteWWWanghaoWebid(whid, longuid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___getUUIDWanghaoByWebid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string luid; - __is->read(luid); - ::std::string uuid; - ::std::string whid; - ::Ice::Int __ret = getUUIDWanghaoByWebid(luid, uuid, whid, __current); - __os->write(uuid); - __os->write(whid); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___changeIMLongid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int idtype; - ::std::string id; - ::std::string newlongid; - __is->read(idtype); - __is->read(id); - __is->read(newlongid); - ::std::string retswitcheduuid; - ::std::string retoldlongid; - ::Ice::Int __ret = changeIMLongid(idtype, id, newlongid, retswitcheduuid, retoldlongid, __current); - __os->write(retswitcheduuid); - __os->write(retoldlongid); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIMInterface__IAEPDBSAdapter_all[] = -{ - "changeIMLongid", - "changeWanghaoPw", - "createWWWanghaoWebid", - "createWanghaoWebid", - "deleteWWWanghaoWebid", - "deleteWanghaoWebid", - "getBindedWebId", - "getBindedWebIdList", - "getUUIDWanghaoByWebid", - "getWanghaoIMBind", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "isChangableWanghao", - "prohibitWanghao", - "registerWanghao", - "updateChangableWanghao", - "updateUserNameByUuid", - "updateWanghaoLastLogintime", - "updateWanghaoToken" -}; - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIMInterface__IAEPDBSAdapter_all, __AliIMInterface__IAEPDBSAdapter_all + 21, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIMInterface__IAEPDBSAdapter_all) - { - case 0: - { - return ___changeIMLongid(in, current); - } - case 1: - { - return ___changeWanghaoPw(in, current); - } - case 2: - { - return ___createWWWanghaoWebid(in, current); - } - case 3: - { - return ___createWanghaoWebid(in, current); - } - case 4: - { - return ___deleteWWWanghaoWebid(in, current); - } - case 5: - { - return ___deleteWanghaoWebid(in, current); - } - case 6: - { - return ___getBindedWebId(in, current); - } - case 7: - { - return ___getBindedWebIdList(in, current); - } - case 8: - { - return ___getUUIDWanghaoByWebid(in, current); - } - case 9: - { - return ___getWanghaoIMBind(in, current); - } - case 10: - { - return ___ice_id(in, current); - } - case 11: - { - return ___ice_ids(in, current); - } - case 12: - { - return ___ice_isA(in, current); - } - case 13: - { - return ___ice_ping(in, current); - } - case 14: - { - return ___isChangableWanghao(in, current); - } - case 15: - { - return ___prohibitWanghao(in, current); - } - case 16: - { - return ___registerWanghao(in, current); - } - case 17: - { - return ___updateChangableWanghao(in, current); - } - case 18: - { - return ___updateUserNameByUuid(in, current); - } - case 19: - { - return ___updateWanghaoLastLogintime(in, current); - } - case 20: - { - return ___updateWanghaoToken(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIMInterface::IAEPDBSAdapter::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIMInterface::IAEPDBSAdapter::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIMInterface::IAEPDBSAdapter::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIMInterface::IAEPDBSAdapter was not generated with stream support"; - throw ex; -} - -void -AliIMInterface::IAEPDBSAdapter::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIMInterface::IAEPDBSAdapter was not generated with stream support"; - throw ex; -} - -void -AliIMInterface::__patch__IAEPDBSAdapterPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIMInterface::IAEPDBSAdapterPtr* p = static_cast< ::AliIMInterface::IAEPDBSAdapterPtr*>(__addr); - assert(p); - *p = ::AliIMInterface::IAEPDBSAdapterPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIMInterface::IAEPDBSAdapter::ice_staticId(); - throw e; - } -} - -bool -AliIMInterface::operator==(const ::AliIMInterface::IAEPDBSAdapter& l, const ::AliIMInterface::IAEPDBSAdapter& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIMInterface::operator!=(const ::AliIMInterface::IAEPDBSAdapter& l, const ::AliIMInterface::IAEPDBSAdapter& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIMInterface::operator<(const ::AliIMInterface::IAEPDBSAdapter& l, const ::AliIMInterface::IAEPDBSAdapter& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIMInterface::operator<=(const ::AliIMInterface::IAEPDBSAdapter& l, const ::AliIMInterface::IAEPDBSAdapter& r) -{ - return l < r || l == r; -} - -bool -AliIMInterface::operator>(const ::AliIMInterface::IAEPDBSAdapter& l, const ::AliIMInterface::IAEPDBSAdapter& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIMInterface::operator>=(const ::AliIMInterface::IAEPDBSAdapter& l, const ::AliIMInterface::IAEPDBSAdapter& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/aliuidpsserv.cpp.svn-base b/features/aliww/source/.svn/text-base/aliuidpsserv.cpp.svn-base deleted file mode 100644 index 720cde9..0000000 --- a/features/aliww/source/.svn/text-base/aliuidpsserv.cpp.svn-base +++ /dev/null @@ -1,3339 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aliuidpsserv.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliUID__IAliUidPsMgr__RegisterPassport_name = "RegisterPassport"; - -static const ::std::string __AliUID__IAliUidPsMgr__AuthPassword_name = "AuthPassword"; - -static const ::std::string __AliUID__IAliUidPsMgr__AuthToken_name = "AuthToken"; - -static const ::std::string __AliUID__IAliUidPsMgr__GetAuidToken_name = "GetAuidToken"; - -static const ::std::string __AliUID__IAliUidPsMgr__GetAccountInfo_name = "GetAccountInfo"; - -static const ::std::string __AliUID__IAliUidPsMgr__ChangePassportLogin_name = "ChangePassportLogin"; - -static const ::std::string __AliUID__IAliUidPsMgr__GetProfileByPassport_name = "GetProfileByPassport"; - -static const ::std::string __AliUID__IAliUidPsMgr__UpdateProfileByPassport_name = "UpdateProfileByPassport"; - -static const ::std::string __AliUID__IAliUidPsMgr__SetPassportPassword_name = "SetPassportPassword"; - -static const ::std::string __AliUID__IAliUidPsMgr__SetPassportStatus_name = "SetPassportStatus"; - -static const ::std::string __AliUID__IAliUidPsMgr__GetPassportStatus_name = "GetPassportStatus"; - -static const ::std::string __AliUID__IAliUidPsMgr__GetAllService_name = "GetAllService"; - -static const ::std::string __AliUID__IAliUidPsMgr__BindService_name = "BindService"; - -static const ::std::string __AliUID__IAliUidPsMgr__UnbindService_name = "UnbindService"; - -static const ::std::string __AliUID__IAliUidPsMgr__GetWebUserService_name = "GetWebUserService"; - -static const ::std::string __AliUID__IAliUidPsMgr__AddWebsite_name = "AddWebsite"; - -static const ::std::string __AliUID__IAliUidPsMgr__DelWebsite_name = "DelWebsite"; - -static const ::std::string __AliUID__IAliUidPsMgr__ChgWebsite_name = "ChgWebsite"; - -static const ::std::string __AliUID__IAliUidPsMgr__ChgWebsiteStatus_name = "ChgWebsiteStatus"; - -static const ::std::string __AliUID__IAliUidPsMgr__DoAuth_name = "DoAuth"; - -void -IceInternal::incRef(::AliUID::IAliUidPsMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliUID::IAliUidPsMgr* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliUID::IAliUidPsMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliUID::IAliUidPsMgr* p) -{ - p->__decRef(); -} - -void -AliUID::__write(::IceInternal::BasicStream* __os, const ::AliUID::IAliUidPsMgrPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliUID::__read(::IceInternal::BasicStream* __is, ::AliUID::IAliUidPsMgrPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliUID::IAliUidPsMgr; - v->__copyFrom(proxy); - } -} - -void -AliUID::__write(::IceInternal::BasicStream* __os, const ::AliUID::IAliUidPsMgrPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliUID::__addObject(const IAliUidPsMgrPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliUID::__usesClasses(const IAliUidPsMgrPtr& p) -{ - return p->__usesClasses(); -} - -void -AliUID::__decRefUnsafe(const IAliUidPsMgrPtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliUID::__clearHandleUnsafe(IAliUidPsMgrPtr& p) -{ - p.__clearHandleUnsafe(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_RegisterPassport::AMD_IAliUidPsMgr_RegisterPassport(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_RegisterPassport::ice_response(::Ice::Int __ret, const ::std::string& aliuid) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(aliuid); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_RegisterPassport::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_RegisterPassport::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_RegisterPassport::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_AuthPassword::AMD_IAliUidPsMgr_AuthPassword(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_AuthPassword::ice_response(::Ice::Int __ret, ::Ice::Short userstatus) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(userstatus); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_AuthPassword::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_AuthPassword::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_AuthPassword::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_AuthToken::AMD_IAliUidPsMgr_AuthToken(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_AuthToken::ice_response(::Ice::Int __ret, const ::std::string& aliuid, ::Ice::Short userstatus) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(aliuid); - __os->write(userstatus); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_AuthToken::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_AuthToken::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_AuthToken::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAuidToken::AMD_IAliUidPsMgr_GetAuidToken(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAuidToken::ice_response(::Ice::Int __ret, const ::std::string& aliuid, const ::std::string& auidToken, ::Ice::Short userstatus) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(aliuid); - __os->write(auidToken); - __os->write(userstatus); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAuidToken::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAuidToken::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAuidToken::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAccountInfo::AMD_IAliUidPsMgr_GetAccountInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAccountInfo::ice_response(::Ice::Int __ret, const ::AliUID::SPassportAccount& account) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - account.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAccountInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAccountInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAccountInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_ChangePassportLogin::AMD_IAliUidPsMgr_ChangePassportLogin(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_ChangePassportLogin::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_ChangePassportLogin::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_ChangePassportLogin::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_ChangePassportLogin::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_GetProfileByPassport::AMD_IAliUidPsMgr_GetProfileByPassport(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetProfileByPassport::ice_response(::Ice::Int __ret, const ::std::string& profile) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(profile); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetProfileByPassport::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetProfileByPassport::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetProfileByPassport::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_UpdateProfileByPassport::AMD_IAliUidPsMgr_UpdateProfileByPassport(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_UpdateProfileByPassport::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_UpdateProfileByPassport::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_UpdateProfileByPassport::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_UpdateProfileByPassport::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_SetPassportPassword::AMD_IAliUidPsMgr_SetPassportPassword(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_SetPassportPassword::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_SetPassportPassword::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_SetPassportPassword::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_SetPassportPassword::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_SetPassportStatus::AMD_IAliUidPsMgr_SetPassportStatus(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_SetPassportStatus::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_SetPassportStatus::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_SetPassportStatus::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_SetPassportStatus::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_GetPassportStatus::AMD_IAliUidPsMgr_GetPassportStatus(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetPassportStatus::ice_response(::Ice::Int __ret, ::Ice::Short userStatus, const ::std::string& userData) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(userStatus); - __os->write(userData); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetPassportStatus::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetPassportStatus::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetPassportStatus::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAllService::AMD_IAliUidPsMgr_GetAllService(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAllService::ice_response(::Ice::Int __ret, const ::std::string& services) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(services); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAllService::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAllService::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAllService::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_BindService::AMD_IAliUidPsMgr_BindService(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_BindService::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_BindService::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_BindService::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_BindService::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_UnbindService::AMD_IAliUidPsMgr_UnbindService(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_UnbindService::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_UnbindService::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_UnbindService::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_UnbindService::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_GetWebUserService::AMD_IAliUidPsMgr_GetWebUserService(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetWebUserService::ice_response(::Ice::Int __ret, const ::std::string& aliuid, const ::std::string& token, const ::AliUID::SWebBindSeq& webBinds) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(aliuid); - __os->write(token); - if(webBinds.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliUID::__write(__os, &webBinds[0], &webBinds[0] + webBinds.size(), ::AliUID::__U__SWebBindSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetWebUserService::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetWebUserService::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetWebUserService::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_AddWebsite::AMD_IAliUidPsMgr_AddWebsite(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_AddWebsite::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_AddWebsite::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_AddWebsite::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_AddWebsite::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_DelWebsite::AMD_IAliUidPsMgr_DelWebsite(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_DelWebsite::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_DelWebsite::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_DelWebsite::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_DelWebsite::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_ChgWebsite::AMD_IAliUidPsMgr_ChgWebsite(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_ChgWebsite::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_ChgWebsite::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_ChgWebsite::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_ChgWebsite::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_ChgWebsiteStatus::AMD_IAliUidPsMgr_ChgWebsiteStatus(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_ChgWebsiteStatus::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_ChgWebsiteStatus::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_ChgWebsiteStatus::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_ChgWebsiteStatus::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_DoAuth::AMD_IAliUidPsMgr_DoAuth(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_DoAuth::ice_response(::Ice::Int __ret, const ::std::string& buid) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(buid); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_DoAuth::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_DoAuth::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_DoAuth::ice_exception() -{ - __exception(); -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::RegisterPassport(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short status, ::std::string& aliuid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__RegisterPassport_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->RegisterPassport(loginId, passwd, status, aliuid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::AuthPassword(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short& userstatus, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__AuthPassword_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->AuthPassword(loginId, passwd, userstatus, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::AuthToken(const ::std::string& loginId, const ::std::string& currToken, ::Ice::Long t, ::std::string& aliuid, ::Ice::Short& userstatus, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__AuthToken_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->AuthToken(loginId, currToken, t, aliuid, userstatus, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::GetAuidToken(const ::std::string& loginId, ::std::string& aliuid, ::std::string& auidToken, ::Ice::Short& userstatus, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__GetAuidToken_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->GetAuidToken(loginId, aliuid, auidToken, userstatus, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::GetAccountInfo(const ::std::string& loginId, ::AliUID::SPassportAccount& account, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__GetAccountInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->GetAccountInfo(loginId, account, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::ChangePassportLogin(const ::std::string& loginId, const ::AliUID::SPassportAccount& account, ::Ice::Int action, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__ChangePassportLogin_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->ChangePassportLogin(loginId, account, action, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::GetProfileByPassport(const ::std::string& loginId, ::std::string& profile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__GetProfileByPassport_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->GetProfileByPassport(loginId, profile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::UpdateProfileByPassport(const ::std::string& loginId, const ::std::string& profile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__UpdateProfileByPassport_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->UpdateProfileByPassport(loginId, profile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::SetPassportPassword(const ::std::string& loginId, const ::std::string& newPassword, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__SetPassportPassword_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->SetPassportPassword(loginId, newPassword, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::SetPassportStatus(const ::std::string& loginId, ::Ice::Short userStatus, const ::std::string& userData, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__SetPassportStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->SetPassportStatus(loginId, userStatus, userData, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::GetPassportStatus(const ::std::string& loginId, ::Ice::Short& userStatus, ::std::string& userData, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__GetPassportStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->GetPassportStatus(loginId, userStatus, userData, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::GetAllService(::std::string& services, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__GetAllService_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->GetAllService(services, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::BindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__BindService_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->BindService(serviceId, webId, webUid, aliuid, currToken, t, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::UnbindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& bindService, const ::std::string& loginId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__UnbindService_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->UnbindService(serviceId, webId, webUid, bindService, loginId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::GetWebUserService(const ::std::string& serviceId, const ::std::string& loginId, ::std::string& aliuid, ::std::string& token, ::AliUID::SWebBindSeq& webBinds, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__GetWebUserService_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->GetWebUserService(serviceId, loginId, aliuid, token, webBinds, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::AliUID::SUrlInfoSeq& webUrl, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__AddWebsite_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->AddWebsite(serviceId, webId, name, webUrl, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__DelWebsite_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->DelWebsite(serviceId, webId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::AliUID::SUrlInfoSeq& webUrl, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__ChgWebsite_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->ChgWebsite(serviceId, webId, name, webUrl, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__ChgWebsiteStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->ChgWebsiteStatus(serviceId, webId, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::DoAuth(const ::std::string& serviceId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, ::Ice::Int mode, ::std::string& buid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__DoAuth_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->DoAuth(serviceId, aliuid, token, t, mode, buid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliUID::IAliUidPsMgr::ice_staticId() -{ - return ::AliUID::IAliUidPsMgr::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliUID::IAliUidPsMgr::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliUID::IAliUidPsMgr); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliUID::IAliUidPsMgr::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliUID::IAliUidPsMgr); -} - -bool -IceProxy::AliUID::operator==(const ::IceProxy::AliUID::IAliUidPsMgr& l, const ::IceProxy::AliUID::IAliUidPsMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliUID::operator!=(const ::IceProxy::AliUID::IAliUidPsMgr& l, const ::IceProxy::AliUID::IAliUidPsMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliUID::operator<(const ::IceProxy::AliUID::IAliUidPsMgr& l, const ::IceProxy::AliUID::IAliUidPsMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliUID::operator<=(const ::IceProxy::AliUID::IAliUidPsMgr& l, const ::IceProxy::AliUID::IAliUidPsMgr& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliUID::operator>(const ::IceProxy::AliUID::IAliUidPsMgr& l, const ::IceProxy::AliUID::IAliUidPsMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliUID::operator>=(const ::IceProxy::AliUID::IAliUidPsMgr& l, const ::IceProxy::AliUID::IAliUidPsMgr& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::RegisterPassport(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short status, ::std::string& aliuid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__RegisterPassport_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(passwd); - __os->write(status); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(aliuid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::AuthPassword(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short& userstatus, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__AuthPassword_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userstatus); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::AuthToken(const ::std::string& loginId, const ::std::string& currToken, ::Ice::Long t, ::std::string& aliuid, ::Ice::Short& userstatus, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__AuthToken_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(currToken); - __os->write(t); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(aliuid); - __is->read(userstatus); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::GetAuidToken(const ::std::string& loginId, ::std::string& aliuid, ::std::string& auidToken, ::Ice::Short& userstatus, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__GetAuidToken_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(aliuid); - __is->read(auidToken); - __is->read(userstatus); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::GetAccountInfo(const ::std::string& loginId, ::AliUID::SPassportAccount& account, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__GetAccountInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - account.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::ChangePassportLogin(const ::std::string& loginId, const ::AliUID::SPassportAccount& account, ::Ice::Int action, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__ChangePassportLogin_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - account.__write(__os); - __os->write(action); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::GetProfileByPassport(const ::std::string& loginId, ::std::string& profile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__GetProfileByPassport_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(profile); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::UpdateProfileByPassport(const ::std::string& loginId, const ::std::string& profile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__UpdateProfileByPassport_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(profile); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::SetPassportPassword(const ::std::string& loginId, const ::std::string& newPassword, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__SetPassportPassword_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(newPassword); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::SetPassportStatus(const ::std::string& loginId, ::Ice::Short userStatus, const ::std::string& userData, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__SetPassportStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(userStatus); - __os->write(userData); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::GetPassportStatus(const ::std::string& loginId, ::Ice::Short& userStatus, ::std::string& userData, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__GetPassportStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userStatus); - __is->read(userData); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::GetAllService(::std::string& services, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__GetAllService_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(services); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::BindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__BindService_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(webUid); - __os->write(aliuid); - __os->write(currToken); - __os->write(t); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::UnbindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& bindService, const ::std::string& loginId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__UnbindService_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(webUid); - __os->write(bindService); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::GetWebUserService(const ::std::string& serviceId, const ::std::string& loginId, ::std::string& aliuid, ::std::string& token, ::AliUID::SWebBindSeq& webBinds, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__GetWebUserService_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(aliuid); - __is->read(token); - ::AliUID::__read(__is, webBinds, ::AliUID::__U__SWebBindSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::AliUID::SUrlInfoSeq& webUrl, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__AddWebsite_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(name); - if(webUrl.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliUID::__write(__os, &webUrl[0], &webUrl[0] + webUrl.size(), ::AliUID::__U__SUrlInfoSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__DelWebsite_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::AliUID::SUrlInfoSeq& webUrl, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__ChgWebsite_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(name); - if(webUrl.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliUID::__write(__os, &webUrl[0], &webUrl[0] + webUrl.size(), ::AliUID::__U__SUrlInfoSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__ChgWebsiteStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(status); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::DoAuth(const ::std::string& serviceId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, ::Ice::Int mode, ::std::string& buid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__DoAuth_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(aliuid); - __os->write(token); - __os->write(t); - __os->write(mode); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(buid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::RegisterPassport(const ::std::string&, const ::std::string&, ::Ice::Short, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::AuthPassword(const ::std::string&, const ::std::string&, ::Ice::Short&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::AuthToken(const ::std::string&, const ::std::string&, ::Ice::Long, ::std::string&, ::Ice::Short&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::GetAuidToken(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::GetAccountInfo(const ::std::string&, ::AliUID::SPassportAccount&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::ChangePassportLogin(const ::std::string&, const ::AliUID::SPassportAccount&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::GetProfileByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::UpdateProfileByPassport(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::SetPassportPassword(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::SetPassportStatus(const ::std::string&, ::Ice::Short, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::GetPassportStatus(const ::std::string&, ::Ice::Short&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::GetAllService(::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::BindService(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::UnbindService(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::GetWebUserService(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::AliUID::SWebBindSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::AddWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::AliUID::SUrlInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::DelWebsite(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::ChgWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::AliUID::SUrlInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::ChgWebsiteStatus(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::DoAuth(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::ObjectPtr -AliUID::IAliUidPsMgr::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliUID__IAliUidPsMgr_ids[2] = -{ - "::AliUID::IAliUidPsMgr", - "::Ice::Object" -}; - -bool -AliUID::IAliUidPsMgr::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliUID__IAliUidPsMgr_ids, __AliUID__IAliUidPsMgr_ids + 2, _s); -} - -::std::vector< ::std::string> -AliUID::IAliUidPsMgr::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliUID__IAliUidPsMgr_ids[0], &__AliUID__IAliUidPsMgr_ids[2]); -} - -const ::std::string& -AliUID::IAliUidPsMgr::ice_id(const ::Ice::Current&) const -{ - return __AliUID__IAliUidPsMgr_ids[0]; -} - -const ::std::string& -AliUID::IAliUidPsMgr::ice_staticId() -{ - return __AliUID__IAliUidPsMgr_ids[0]; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___RegisterPassport(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string loginId; - ::std::string passwd; - ::Ice::Short status; - __is->read(loginId); - __is->read(passwd); - __is->read(status); - ::AliUID::AMD_IAliUidPsMgr_RegisterPassportPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_RegisterPassport(__inS); - try - { - RegisterPassport_async(__cb, loginId, passwd, status, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___AuthPassword(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string loginId; - ::std::string passwd; - __is->read(loginId); - __is->read(passwd); - ::AliUID::AMD_IAliUidPsMgr_AuthPasswordPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_AuthPassword(__inS); - try - { - AuthPassword_async(__cb, loginId, passwd, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___AuthToken(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string loginId; - ::std::string currToken; - ::Ice::Long t; - __is->read(loginId); - __is->read(currToken); - __is->read(t); - ::AliUID::AMD_IAliUidPsMgr_AuthTokenPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_AuthToken(__inS); - try - { - AuthToken_async(__cb, loginId, currToken, t, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___GetAuidToken(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string loginId; - __is->read(loginId); - ::AliUID::AMD_IAliUidPsMgr_GetAuidTokenPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_GetAuidToken(__inS); - try - { - GetAuidToken_async(__cb, loginId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___GetAccountInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string loginId; - __is->read(loginId); - ::AliUID::AMD_IAliUidPsMgr_GetAccountInfoPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_GetAccountInfo(__inS); - try - { - GetAccountInfo_async(__cb, loginId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___ChangePassportLogin(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string loginId; - ::AliUID::SPassportAccount account; - ::Ice::Int action; - __is->read(loginId); - account.__read(__is); - __is->read(action); - ::AliUID::AMD_IAliUidPsMgr_ChangePassportLoginPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_ChangePassportLogin(__inS); - try - { - ChangePassportLogin_async(__cb, loginId, account, action, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___GetProfileByPassport(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string loginId; - __is->read(loginId); - ::AliUID::AMD_IAliUidPsMgr_GetProfileByPassportPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_GetProfileByPassport(__inS); - try - { - GetProfileByPassport_async(__cb, loginId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___UpdateProfileByPassport(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string loginId; - ::std::string profile; - __is->read(loginId); - __is->read(profile); - ::AliUID::AMD_IAliUidPsMgr_UpdateProfileByPassportPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_UpdateProfileByPassport(__inS); - try - { - UpdateProfileByPassport_async(__cb, loginId, profile, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___SetPassportPassword(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string loginId; - ::std::string newPassword; - __is->read(loginId); - __is->read(newPassword); - ::AliUID::AMD_IAliUidPsMgr_SetPassportPasswordPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_SetPassportPassword(__inS); - try - { - SetPassportPassword_async(__cb, loginId, newPassword, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___SetPassportStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string loginId; - ::Ice::Short userStatus; - ::std::string userData; - __is->read(loginId); - __is->read(userStatus); - __is->read(userData); - ::AliUID::AMD_IAliUidPsMgr_SetPassportStatusPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_SetPassportStatus(__inS); - try - { - SetPassportStatus_async(__cb, loginId, userStatus, userData, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___GetPassportStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string loginId; - __is->read(loginId); - ::AliUID::AMD_IAliUidPsMgr_GetPassportStatusPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_GetPassportStatus(__inS); - try - { - GetPassportStatus_async(__cb, loginId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___GetAllService(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::AliUID::AMD_IAliUidPsMgr_GetAllServicePtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_GetAllService(__inS); - try - { - GetAllService_async(__cb, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___BindService(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string serviceId; - ::std::string webId; - ::std::string webUid; - ::std::string aliuid; - ::std::string currToken; - ::Ice::Long t; - __is->read(serviceId); - __is->read(webId); - __is->read(webUid); - __is->read(aliuid); - __is->read(currToken); - __is->read(t); - ::AliUID::AMD_IAliUidPsMgr_BindServicePtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_BindService(__inS); - try - { - BindService_async(__cb, serviceId, webId, webUid, aliuid, currToken, t, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___UnbindService(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string serviceId; - ::std::string webId; - ::std::string webUid; - ::std::string bindService; - ::std::string loginId; - __is->read(serviceId); - __is->read(webId); - __is->read(webUid); - __is->read(bindService); - __is->read(loginId); - ::AliUID::AMD_IAliUidPsMgr_UnbindServicePtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_UnbindService(__inS); - try - { - UnbindService_async(__cb, serviceId, webId, webUid, bindService, loginId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___GetWebUserService(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string serviceId; - ::std::string loginId; - __is->read(serviceId); - __is->read(loginId); - ::AliUID::AMD_IAliUidPsMgr_GetWebUserServicePtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_GetWebUserService(__inS); - try - { - GetWebUserService_async(__cb, serviceId, loginId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___AddWebsite(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string serviceId; - ::std::string webId; - ::std::string name; - ::AliUID::SUrlInfoSeq webUrl; - __is->read(serviceId); - __is->read(webId); - __is->read(name); - ::AliUID::__read(__is, webUrl, ::AliUID::__U__SUrlInfoSeq()); - ::AliUID::AMD_IAliUidPsMgr_AddWebsitePtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_AddWebsite(__inS); - try - { - AddWebsite_async(__cb, serviceId, webId, name, webUrl, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___DelWebsite(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string serviceId; - ::std::string webId; - __is->read(serviceId); - __is->read(webId); - ::AliUID::AMD_IAliUidPsMgr_DelWebsitePtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_DelWebsite(__inS); - try - { - DelWebsite_async(__cb, serviceId, webId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___ChgWebsite(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string serviceId; - ::std::string webId; - ::std::string name; - ::AliUID::SUrlInfoSeq webUrl; - __is->read(serviceId); - __is->read(webId); - __is->read(name); - ::AliUID::__read(__is, webUrl, ::AliUID::__U__SUrlInfoSeq()); - ::AliUID::AMD_IAliUidPsMgr_ChgWebsitePtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_ChgWebsite(__inS); - try - { - ChgWebsite_async(__cb, serviceId, webId, name, webUrl, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___ChgWebsiteStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string serviceId; - ::std::string webId; - ::Ice::Int status; - __is->read(serviceId); - __is->read(webId); - __is->read(status); - ::AliUID::AMD_IAliUidPsMgr_ChgWebsiteStatusPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_ChgWebsiteStatus(__inS); - try - { - ChgWebsiteStatus_async(__cb, serviceId, webId, status, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___DoAuth(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string serviceId; - ::std::string aliuid; - ::std::string token; - ::Ice::Long t; - ::Ice::Int mode; - __is->read(serviceId); - __is->read(aliuid); - __is->read(token); - __is->read(t); - __is->read(mode); - ::AliUID::AMD_IAliUidPsMgr_DoAuthPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_DoAuth(__inS); - try - { - DoAuth_async(__cb, serviceId, aliuid, token, t, mode, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -static ::std::string __AliUID__IAliUidPsMgr_all[] = -{ - "AddWebsite", - "AuthPassword", - "AuthToken", - "BindService", - "ChangePassportLogin", - "ChgWebsite", - "ChgWebsiteStatus", - "DelWebsite", - "DoAuth", - "GetAccountInfo", - "GetAllService", - "GetAuidToken", - "GetPassportStatus", - "GetProfileByPassport", - "GetWebUserService", - "RegisterPassport", - "SetPassportPassword", - "SetPassportStatus", - "UnbindService", - "UpdateProfileByPassport", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliUID__IAliUidPsMgr_all, __AliUID__IAliUidPsMgr_all + 24, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliUID__IAliUidPsMgr_all) - { - case 0: - { - return ___AddWebsite(in, current); - } - case 1: - { - return ___AuthPassword(in, current); - } - case 2: - { - return ___AuthToken(in, current); - } - case 3: - { - return ___BindService(in, current); - } - case 4: - { - return ___ChangePassportLogin(in, current); - } - case 5: - { - return ___ChgWebsite(in, current); - } - case 6: - { - return ___ChgWebsiteStatus(in, current); - } - case 7: - { - return ___DelWebsite(in, current); - } - case 8: - { - return ___DoAuth(in, current); - } - case 9: - { - return ___GetAccountInfo(in, current); - } - case 10: - { - return ___GetAllService(in, current); - } - case 11: - { - return ___GetAuidToken(in, current); - } - case 12: - { - return ___GetPassportStatus(in, current); - } - case 13: - { - return ___GetProfileByPassport(in, current); - } - case 14: - { - return ___GetWebUserService(in, current); - } - case 15: - { - return ___RegisterPassport(in, current); - } - case 16: - { - return ___SetPassportPassword(in, current); - } - case 17: - { - return ___SetPassportStatus(in, current); - } - case 18: - { - return ___UnbindService(in, current); - } - case 19: - { - return ___UpdateProfileByPassport(in, current); - } - case 20: - { - return ___ice_id(in, current); - } - case 21: - { - return ___ice_ids(in, current); - } - case 22: - { - return ___ice_isA(in, current); - } - case 23: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliUID::IAliUidPsMgr::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliUID::IAliUidPsMgr::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliUID::IAliUidPsMgr::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliUID::IAliUidPsMgr was not generated with stream support"; - throw ex; -} - -void -AliUID::IAliUidPsMgr::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliUID::IAliUidPsMgr was not generated with stream support"; - throw ex; -} - -void -AliUID::__patch__IAliUidPsMgrPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliUID::IAliUidPsMgrPtr* p = static_cast< ::AliUID::IAliUidPsMgrPtr*>(__addr); - assert(p); - *p = ::AliUID::IAliUidPsMgrPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliUID::IAliUidPsMgr::ice_staticId(); - throw e; - } -} - -bool -AliUID::operator==(const ::AliUID::IAliUidPsMgr& l, const ::AliUID::IAliUidPsMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliUID::operator!=(const ::AliUID::IAliUidPsMgr& l, const ::AliUID::IAliUidPsMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliUID::operator<(const ::AliUID::IAliUidPsMgr& l, const ::AliUID::IAliUidPsMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliUID::operator<=(const ::AliUID::IAliUidPsMgr& l, const ::AliUID::IAliUidPsMgr& r) -{ - return l < r || l == r; -} - -bool -AliUID::operator>(const ::AliUID::IAliUidPsMgr& l, const ::AliUID::IAliUidPsMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliUID::operator>=(const ::AliUID::IAliUidPsMgr& l, const ::AliUID::IAliUidPsMgr& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/aliuidpsserv_sync.cpp.svn-base b/features/aliww/source/.svn/text-base/aliuidpsserv_sync.cpp.svn-base deleted file mode 100644 index dc0b05c..0000000 --- a/features/aliww/source/.svn/text-base/aliuidpsserv_sync.cpp.svn-base +++ /dev/null @@ -1,2519 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aliuidpsserv_sync.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliUID__IAliUidPsMgrSync__RegisterPassport_name = "RegisterPassport"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__AuthPassword_name = "AuthPassword"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__AuthToken_name = "AuthToken"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__GetAuidToken_name = "GetAuidToken"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__GetAccountInfo_name = "GetAccountInfo"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__ChangePassportLogin_name = "ChangePassportLogin"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__GetProfileByPassport_name = "GetProfileByPassport"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__UpdateProfileByPassport_name = "UpdateProfileByPassport"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__SetPassportPassword_name = "SetPassportPassword"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__SetPassportStatus_name = "SetPassportStatus"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__GetPassportStatus_name = "GetPassportStatus"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__GetAllService_name = "GetAllService"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__GetWebUserService_name = "GetWebUserService"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__AddWebsite_name = "AddWebsite"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__DelWebsite_name = "DelWebsite"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__ChgWebsite_name = "ChgWebsite"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__ChgWebsiteStatus_name = "ChgWebsiteStatus"; - -void -IceInternal::incRef(::AliUID::IAliUidPsMgrSync* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliUID::IAliUidPsMgrSync* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliUID::IAliUidPsMgrSync* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliUID::IAliUidPsMgrSync* p) -{ - p->__decRef(); -} - -void -AliUID::__write(::IceInternal::BasicStream* __os, const ::AliUID::IAliUidPsMgrSyncPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliUID::__read(::IceInternal::BasicStream* __is, ::AliUID::IAliUidPsMgrSyncPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliUID::IAliUidPsMgrSync; - v->__copyFrom(proxy); - } -} - -void -AliUID::__write(::IceInternal::BasicStream* __os, const ::AliUID::IAliUidPsMgrSyncPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliUID::__addObject(const IAliUidPsMgrSyncPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliUID::__usesClasses(const IAliUidPsMgrSyncPtr& p) -{ - return p->__usesClasses(); -} - -void -AliUID::__decRefUnsafe(const IAliUidPsMgrSyncPtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliUID::__clearHandleUnsafe(IAliUidPsMgrSyncPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::RegisterPassport(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short status, ::std::string& aliuid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__RegisterPassport_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->RegisterPassport(loginId, passwd, status, aliuid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::AuthPassword(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short& userstatus, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__AuthPassword_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->AuthPassword(loginId, passwd, userstatus, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::AuthToken(const ::std::string& loginId, const ::std::string& currToken, ::Ice::Long t, ::std::string& aliuid, ::Ice::Short& userstatus, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__AuthToken_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->AuthToken(loginId, currToken, t, aliuid, userstatus, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::GetAuidToken(const ::std::string& loginId, ::std::string& aliuid, ::std::string& auidToken, ::Ice::Short& userstatus, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__GetAuidToken_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->GetAuidToken(loginId, aliuid, auidToken, userstatus, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::GetAccountInfo(const ::std::string& loginId, ::AliUID::SPassportAccount& account, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__GetAccountInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->GetAccountInfo(loginId, account, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::ChangePassportLogin(const ::std::string& loginId, const ::AliUID::SPassportAccount& account, ::Ice::Int action, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__ChangePassportLogin_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->ChangePassportLogin(loginId, account, action, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::GetProfileByPassport(const ::std::string& loginId, ::std::string& profile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__GetProfileByPassport_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->GetProfileByPassport(loginId, profile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::UpdateProfileByPassport(const ::std::string& loginId, const ::std::string& profile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__UpdateProfileByPassport_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->UpdateProfileByPassport(loginId, profile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::SetPassportPassword(const ::std::string& loginId, const ::std::string& newPassword, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__SetPassportPassword_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->SetPassportPassword(loginId, newPassword, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::SetPassportStatus(const ::std::string& loginId, ::Ice::Short userStatus, const ::std::string& userData, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__SetPassportStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->SetPassportStatus(loginId, userStatus, userData, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::GetPassportStatus(const ::std::string& loginId, ::Ice::Short& userStatus, ::std::string& userData, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__GetPassportStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->GetPassportStatus(loginId, userStatus, userData, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::GetAllService(::std::string& services, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__GetAllService_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->GetAllService(services, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::GetWebUserService(const ::std::string& serviceId, const ::std::string& loginId, ::std::string& aliuid, ::std::string& token, ::AliUID::SWebBindSeq& webBinds, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__GetWebUserService_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->GetWebUserService(serviceId, loginId, aliuid, token, webBinds, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::std::string& baseUrl, const ::std::string& trustUrl, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__AddWebsite_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->AddWebsite(serviceId, webId, name, baseUrl, trustUrl, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__DelWebsite_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->DelWebsite(serviceId, webId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::std::string& baseUrl, const ::std::string& trustUrl, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__ChgWebsite_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->ChgWebsite(serviceId, webId, name, baseUrl, trustUrl, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__ChgWebsiteStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->ChgWebsiteStatus(serviceId, webId, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliUID::IAliUidPsMgrSync::ice_staticId() -{ - return ::AliUID::IAliUidPsMgrSync::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliUID::IAliUidPsMgrSync::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliUID::IAliUidPsMgrSync); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliUID::IAliUidPsMgrSync::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliUID::IAliUidPsMgrSync); -} - -bool -IceProxy::AliUID::operator==(const ::IceProxy::AliUID::IAliUidPsMgrSync& l, const ::IceProxy::AliUID::IAliUidPsMgrSync& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliUID::operator!=(const ::IceProxy::AliUID::IAliUidPsMgrSync& l, const ::IceProxy::AliUID::IAliUidPsMgrSync& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliUID::operator<(const ::IceProxy::AliUID::IAliUidPsMgrSync& l, const ::IceProxy::AliUID::IAliUidPsMgrSync& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliUID::operator<=(const ::IceProxy::AliUID::IAliUidPsMgrSync& l, const ::IceProxy::AliUID::IAliUidPsMgrSync& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliUID::operator>(const ::IceProxy::AliUID::IAliUidPsMgrSync& l, const ::IceProxy::AliUID::IAliUidPsMgrSync& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliUID::operator>=(const ::IceProxy::AliUID::IAliUidPsMgrSync& l, const ::IceProxy::AliUID::IAliUidPsMgrSync& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::RegisterPassport(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short status, ::std::string& aliuid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__RegisterPassport_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(passwd); - __os->write(status); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(aliuid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::AuthPassword(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short& userstatus, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__AuthPassword_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userstatus); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::AuthToken(const ::std::string& loginId, const ::std::string& currToken, ::Ice::Long t, ::std::string& aliuid, ::Ice::Short& userstatus, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__AuthToken_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(currToken); - __os->write(t); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(aliuid); - __is->read(userstatus); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::GetAuidToken(const ::std::string& loginId, ::std::string& aliuid, ::std::string& auidToken, ::Ice::Short& userstatus, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__GetAuidToken_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(aliuid); - __is->read(auidToken); - __is->read(userstatus); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::GetAccountInfo(const ::std::string& loginId, ::AliUID::SPassportAccount& account, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__GetAccountInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - account.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::ChangePassportLogin(const ::std::string& loginId, const ::AliUID::SPassportAccount& account, ::Ice::Int action, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__ChangePassportLogin_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - account.__write(__os); - __os->write(action); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::GetProfileByPassport(const ::std::string& loginId, ::std::string& profile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__GetProfileByPassport_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(profile); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::UpdateProfileByPassport(const ::std::string& loginId, const ::std::string& profile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__UpdateProfileByPassport_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(profile); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::SetPassportPassword(const ::std::string& loginId, const ::std::string& newPassword, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__SetPassportPassword_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(newPassword); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::SetPassportStatus(const ::std::string& loginId, ::Ice::Short userStatus, const ::std::string& userData, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__SetPassportStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(userStatus); - __os->write(userData); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::GetPassportStatus(const ::std::string& loginId, ::Ice::Short& userStatus, ::std::string& userData, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__GetPassportStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userStatus); - __is->read(userData); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::GetAllService(::std::string& services, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__GetAllService_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(services); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::GetWebUserService(const ::std::string& serviceId, const ::std::string& loginId, ::std::string& aliuid, ::std::string& token, ::AliUID::SWebBindSeq& webBinds, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__GetWebUserService_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(aliuid); - __is->read(token); - ::AliUID::__read(__is, webBinds, ::AliUID::__U__SWebBindSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::std::string& baseUrl, const ::std::string& trustUrl, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__AddWebsite_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(name); - __os->write(baseUrl); - __os->write(trustUrl); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__DelWebsite_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::std::string& baseUrl, const ::std::string& trustUrl, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__ChgWebsite_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(name); - __os->write(baseUrl); - __os->write(trustUrl); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__ChgWebsiteStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(status); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::RegisterPassport(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short status, ::std::string& aliuid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__RegisterPassport_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->RegisterPassport(loginId, passwd, status, aliuid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::AuthPassword(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short& userstatus, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__AuthPassword_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AuthPassword(loginId, passwd, userstatus, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::AuthToken(const ::std::string& loginId, const ::std::string& currToken, ::Ice::Long t, ::std::string& aliuid, ::Ice::Short& userstatus, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__AuthToken_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AuthToken(loginId, currToken, t, aliuid, userstatus, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::GetAuidToken(const ::std::string& loginId, ::std::string& aliuid, ::std::string& auidToken, ::Ice::Short& userstatus, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__GetAuidToken_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetAuidToken(loginId, aliuid, auidToken, userstatus, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::GetAccountInfo(const ::std::string& loginId, ::AliUID::SPassportAccount& account, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__GetAccountInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetAccountInfo(loginId, account, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::ChangePassportLogin(const ::std::string& loginId, const ::AliUID::SPassportAccount& account, ::Ice::Int action, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__ChangePassportLogin_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->ChangePassportLogin(loginId, account, action, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::GetProfileByPassport(const ::std::string& loginId, ::std::string& profile, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__GetProfileByPassport_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetProfileByPassport(loginId, profile, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::UpdateProfileByPassport(const ::std::string& loginId, const ::std::string& profile, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__UpdateProfileByPassport_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateProfileByPassport(loginId, profile, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::SetPassportPassword(const ::std::string& loginId, const ::std::string& newPassword, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__SetPassportPassword_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->SetPassportPassword(loginId, newPassword, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::SetPassportStatus(const ::std::string& loginId, ::Ice::Short userStatus, const ::std::string& userData, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__SetPassportStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->SetPassportStatus(loginId, userStatus, userData, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::GetPassportStatus(const ::std::string& loginId, ::Ice::Short& userStatus, ::std::string& userData, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__GetPassportStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetPassportStatus(loginId, userStatus, userData, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::GetAllService(::std::string& services, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__GetAllService_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetAllService(services, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::GetWebUserService(const ::std::string& serviceId, const ::std::string& loginId, ::std::string& aliuid, ::std::string& token, ::AliUID::SWebBindSeq& webBinds, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__GetWebUserService_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetWebUserService(serviceId, loginId, aliuid, token, webBinds, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::std::string& baseUrl, const ::std::string& trustUrl, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__AddWebsite_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddWebsite(serviceId, webId, name, baseUrl, trustUrl, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__DelWebsite_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DelWebsite(serviceId, webId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::std::string& baseUrl, const ::std::string& trustUrl, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__ChgWebsite_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->ChgWebsite(serviceId, webId, name, baseUrl, trustUrl, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__ChgWebsiteStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->ChgWebsiteStatus(serviceId, webId, status, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliUID::IAliUidPsMgrSync::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliUID__IAliUidPsMgrSync_ids[2] = -{ - "::AliUID::IAliUidPsMgrSync", - "::Ice::Object" -}; - -bool -AliUID::IAliUidPsMgrSync::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliUID__IAliUidPsMgrSync_ids, __AliUID__IAliUidPsMgrSync_ids + 2, _s); -} - -::std::vector< ::std::string> -AliUID::IAliUidPsMgrSync::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliUID__IAliUidPsMgrSync_ids[0], &__AliUID__IAliUidPsMgrSync_ids[2]); -} - -const ::std::string& -AliUID::IAliUidPsMgrSync::ice_id(const ::Ice::Current&) const -{ - return __AliUID__IAliUidPsMgrSync_ids[0]; -} - -const ::std::string& -AliUID::IAliUidPsMgrSync::ice_staticId() -{ - return __AliUID__IAliUidPsMgrSync_ids[0]; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___RegisterPassport(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::std::string passwd; - ::Ice::Short status; - __is->read(loginId); - __is->read(passwd); - __is->read(status); - ::std::string aliuid; - ::Ice::Int __ret = RegisterPassport(loginId, passwd, status, aliuid, __current); - __os->write(aliuid); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___AuthPassword(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::std::string passwd; - __is->read(loginId); - __is->read(passwd); - ::Ice::Short userstatus; - ::Ice::Int __ret = AuthPassword(loginId, passwd, userstatus, __current); - __os->write(userstatus); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___AuthToken(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::std::string currToken; - ::Ice::Long t; - __is->read(loginId); - __is->read(currToken); - __is->read(t); - ::std::string aliuid; - ::Ice::Short userstatus; - ::Ice::Int __ret = AuthToken(loginId, currToken, t, aliuid, userstatus, __current); - __os->write(aliuid); - __os->write(userstatus); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___GetAuidToken(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - __is->read(loginId); - ::std::string aliuid; - ::std::string auidToken; - ::Ice::Short userstatus; - ::Ice::Int __ret = GetAuidToken(loginId, aliuid, auidToken, userstatus, __current); - __os->write(aliuid); - __os->write(auidToken); - __os->write(userstatus); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___GetAccountInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - __is->read(loginId); - ::AliUID::SPassportAccount account; - ::Ice::Int __ret = GetAccountInfo(loginId, account, __current); - account.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___ChangePassportLogin(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::AliUID::SPassportAccount account; - ::Ice::Int action; - __is->read(loginId); - account.__read(__is); - __is->read(action); - ::Ice::Int __ret = ChangePassportLogin(loginId, account, action, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___GetProfileByPassport(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - __is->read(loginId); - ::std::string profile; - ::Ice::Int __ret = GetProfileByPassport(loginId, profile, __current); - __os->write(profile); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___UpdateProfileByPassport(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::std::string profile; - __is->read(loginId); - __is->read(profile); - ::Ice::Int __ret = UpdateProfileByPassport(loginId, profile, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___SetPassportPassword(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::std::string newPassword; - __is->read(loginId); - __is->read(newPassword); - ::Ice::Int __ret = SetPassportPassword(loginId, newPassword, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___SetPassportStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::Ice::Short userStatus; - ::std::string userData; - __is->read(loginId); - __is->read(userStatus); - __is->read(userData); - ::Ice::Int __ret = SetPassportStatus(loginId, userStatus, userData, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___GetPassportStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - __is->read(loginId); - ::Ice::Short userStatus; - ::std::string userData; - ::Ice::Int __ret = GetPassportStatus(loginId, userStatus, userData, __current); - __os->write(userStatus); - __os->write(userData); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___GetAllService(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string services; - ::Ice::Int __ret = GetAllService(services, __current); - __os->write(services); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___GetWebUserService(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string serviceId; - ::std::string loginId; - __is->read(serviceId); - __is->read(loginId); - ::std::string aliuid; - ::std::string token; - ::AliUID::SWebBindSeq webBinds; - ::Ice::Int __ret = GetWebUserService(serviceId, loginId, aliuid, token, webBinds, __current); - __os->write(aliuid); - __os->write(token); - if(webBinds.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliUID::__write(__os, &webBinds[0], &webBinds[0] + webBinds.size(), ::AliUID::__U__SWebBindSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___AddWebsite(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string serviceId; - ::std::string webId; - ::std::string name; - ::std::string baseUrl; - ::std::string trustUrl; - __is->read(serviceId); - __is->read(webId); - __is->read(name); - __is->read(baseUrl); - __is->read(trustUrl); - ::Ice::Int __ret = AddWebsite(serviceId, webId, name, baseUrl, trustUrl, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___DelWebsite(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string serviceId; - ::std::string webId; - __is->read(serviceId); - __is->read(webId); - ::Ice::Int __ret = DelWebsite(serviceId, webId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___ChgWebsite(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string serviceId; - ::std::string webId; - ::std::string name; - ::std::string baseUrl; - ::std::string trustUrl; - __is->read(serviceId); - __is->read(webId); - __is->read(name); - __is->read(baseUrl); - __is->read(trustUrl); - ::Ice::Int __ret = ChgWebsite(serviceId, webId, name, baseUrl, trustUrl, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___ChgWebsiteStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string serviceId; - ::std::string webId; - ::Ice::Int status; - __is->read(serviceId); - __is->read(webId); - __is->read(status); - ::Ice::Int __ret = ChgWebsiteStatus(serviceId, webId, status, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliUID__IAliUidPsMgrSync_all[] = -{ - "AddWebsite", - "AuthPassword", - "AuthToken", - "ChangePassportLogin", - "ChgWebsite", - "ChgWebsiteStatus", - "DelWebsite", - "GetAccountInfo", - "GetAllService", - "GetAuidToken", - "GetPassportStatus", - "GetProfileByPassport", - "GetWebUserService", - "RegisterPassport", - "SetPassportPassword", - "SetPassportStatus", - "UpdateProfileByPassport", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliUID__IAliUidPsMgrSync_all, __AliUID__IAliUidPsMgrSync_all + 21, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliUID__IAliUidPsMgrSync_all) - { - case 0: - { - return ___AddWebsite(in, current); - } - case 1: - { - return ___AuthPassword(in, current); - } - case 2: - { - return ___AuthToken(in, current); - } - case 3: - { - return ___ChangePassportLogin(in, current); - } - case 4: - { - return ___ChgWebsite(in, current); - } - case 5: - { - return ___ChgWebsiteStatus(in, current); - } - case 6: - { - return ___DelWebsite(in, current); - } - case 7: - { - return ___GetAccountInfo(in, current); - } - case 8: - { - return ___GetAllService(in, current); - } - case 9: - { - return ___GetAuidToken(in, current); - } - case 10: - { - return ___GetPassportStatus(in, current); - } - case 11: - { - return ___GetProfileByPassport(in, current); - } - case 12: - { - return ___GetWebUserService(in, current); - } - case 13: - { - return ___RegisterPassport(in, current); - } - case 14: - { - return ___SetPassportPassword(in, current); - } - case 15: - { - return ___SetPassportStatus(in, current); - } - case 16: - { - return ___UpdateProfileByPassport(in, current); - } - case 17: - { - return ___ice_id(in, current); - } - case 18: - { - return ___ice_ids(in, current); - } - case 19: - { - return ___ice_isA(in, current); - } - case 20: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliUID::IAliUidPsMgrSync::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliUID::IAliUidPsMgrSync::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliUID::IAliUidPsMgrSync::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliUID::IAliUidPsMgrSync was not generated with stream support"; - throw ex; -} - -void -AliUID::IAliUidPsMgrSync::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliUID::IAliUidPsMgrSync was not generated with stream support"; - throw ex; -} - -void -AliUID::__patch__IAliUidPsMgrSyncPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliUID::IAliUidPsMgrSyncPtr* p = static_cast< ::AliUID::IAliUidPsMgrSyncPtr*>(__addr); - assert(p); - *p = ::AliUID::IAliUidPsMgrSyncPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliUID::IAliUidPsMgrSync::ice_staticId(); - throw e; - } -} - -bool -AliUID::operator==(const ::AliUID::IAliUidPsMgrSync& l, const ::AliUID::IAliUidPsMgrSync& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliUID::operator!=(const ::AliUID::IAliUidPsMgrSync& l, const ::AliUID::IAliUidPsMgrSync& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliUID::operator<(const ::AliUID::IAliUidPsMgrSync& l, const ::AliUID::IAliUidPsMgrSync& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliUID::operator<=(const ::AliUID::IAliUidPsMgrSync& l, const ::AliUID::IAliUidPsMgrSync& r) -{ - return l < r || l == r; -} - -bool -AliUID::operator>(const ::AliUID::IAliUidPsMgrSync& l, const ::AliUID::IAliUidPsMgrSync& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliUID::operator>=(const ::AliUID::IAliUidPsMgrSync& l, const ::AliUID::IAliUidPsMgrSync& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/aliuidstruct.cpp.svn-base b/features/aliww/source/.svn/text-base/aliuidstruct.cpp.svn-base deleted file mode 100644 index 7c623df..0000000 --- a/features/aliww/source/.svn/text-base/aliuidstruct.cpp.svn-base +++ /dev/null @@ -1,647 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aliuidstruct.ice' - -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -bool -AliUID::SMobileUserInfo::operator==(const SMobileUserInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliUID::SMobileUserInfo::operator!=(const SMobileUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(aliuid != __rhs.aliuid) - { - return true; - } - if(mobileNo != __rhs.mobileNo) - { - return true; - } - if(mkey1 != __rhs.mkey1) - { - return true; - } - if(mkey2 != __rhs.mkey2) - { - return true; - } - if(clientKey != __rhs.clientKey) - { - return true; - } - if(wkey1 != __rhs.wkey1) - { - return true; - } - if(wkey2 != __rhs.wkey2) - { - return true; - } - if(token != __rhs.token) - { - return true; - } - if(authServices != __rhs.authServices) - { - return true; - } - return false; -} - -bool -AliUID::SMobileUserInfo::operator<(const SMobileUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(aliuid < __rhs.aliuid) - { - return true; - } - else if(__rhs.aliuid < aliuid) - { - return false; - } - if(mobileNo < __rhs.mobileNo) - { - return true; - } - else if(__rhs.mobileNo < mobileNo) - { - return false; - } - if(mkey1 < __rhs.mkey1) - { - return true; - } - else if(__rhs.mkey1 < mkey1) - { - return false; - } - if(mkey2 < __rhs.mkey2) - { - return true; - } - else if(__rhs.mkey2 < mkey2) - { - return false; - } - if(clientKey < __rhs.clientKey) - { - return true; - } - else if(__rhs.clientKey < clientKey) - { - return false; - } - if(wkey1 < __rhs.wkey1) - { - return true; - } - else if(__rhs.wkey1 < wkey1) - { - return false; - } - if(wkey2 < __rhs.wkey2) - { - return true; - } - else if(__rhs.wkey2 < wkey2) - { - return false; - } - if(token < __rhs.token) - { - return true; - } - else if(__rhs.token < token) - { - return false; - } - if(authServices < __rhs.authServices) - { - return true; - } - else if(__rhs.authServices < authServices) - { - return false; - } - return false; -} - -void -AliUID::SMobileUserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(aliuid); - __os->write(mobileNo); - __os->write(mkey1); - __os->write(mkey2); - __os->write(clientKey); - __os->write(wkey1); - __os->write(wkey2); - __os->write(token); - if(authServices.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&authServices[0], &authServices[0] + authServices.size()); - } -} - -void -AliUID::SMobileUserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(aliuid); - __is->read(mobileNo); - __is->read(mkey1); - __is->read(mkey2); - __is->read(clientKey); - __is->read(wkey1); - __is->read(wkey2); - __is->read(token); - __is->read(authServices); -} - -bool -AliUID::SServiceUser::operator==(const SServiceUser& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliUID::SServiceUser::operator!=(const SServiceUser& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(serviceId != __rhs.serviceId) - { - return true; - } - if(buid != __rhs.buid) - { - return true; - } - if(buToken != __rhs.buToken) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - return false; -} - -bool -AliUID::SServiceUser::operator<(const SServiceUser& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(serviceId < __rhs.serviceId) - { - return true; - } - else if(__rhs.serviceId < serviceId) - { - return false; - } - if(buid < __rhs.buid) - { - return true; - } - else if(__rhs.buid < buid) - { - return false; - } - if(buToken < __rhs.buToken) - { - return true; - } - else if(__rhs.buToken < buToken) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - return false; -} - -void -AliUID::SServiceUser::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(serviceId); - __os->write(buid); - __os->write(buToken); - __os->write(status); -} - -void -AliUID::SServiceUser::__read(::IceInternal::BasicStream* __is) -{ - __is->read(serviceId); - __is->read(buid); - __is->read(buToken); - __is->read(status); -} - -void -AliUID::__write(::IceInternal::BasicStream* __os, const ::AliUID::SServiceUser* begin, const ::AliUID::SServiceUser* end, ::AliUID::__U__SServiceUserSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliUID::__read(::IceInternal::BasicStream* __is, ::AliUID::SServiceUserSeq& v, ::AliUID::__U__SServiceUserSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 5); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliUID::SPassportAccount::operator==(const SPassportAccount& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliUID::SPassportAccount::operator!=(const SPassportAccount& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(aliuid != __rhs.aliuid) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(mobile != __rhs.mobile) - { - return true; - } - if(buids != __rhs.buids) - { - return true; - } - return false; -} - -bool -AliUID::SPassportAccount::operator<(const SPassportAccount& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(aliuid < __rhs.aliuid) - { - return true; - } - else if(__rhs.aliuid < aliuid) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(mobile < __rhs.mobile) - { - return true; - } - else if(__rhs.mobile < mobile) - { - return false; - } - if(buids < __rhs.buids) - { - return true; - } - else if(__rhs.buids < buids) - { - return false; - } - return false; -} - -void -AliUID::SPassportAccount::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(aliuid); - __os->write(email); - __os->write(mobile); - if(buids.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliUID::__write(__os, &buids[0], &buids[0] + buids.size(), ::AliUID::__U__SServiceUserSeq()); - } -} - -void -AliUID::SPassportAccount::__read(::IceInternal::BasicStream* __is) -{ - __is->read(aliuid); - __is->read(email); - __is->read(mobile); - ::AliUID::__read(__is, buids, ::AliUID::__U__SServiceUserSeq()); -} - -bool -AliUID::SUrlInfo::operator==(const SUrlInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliUID::SUrlInfo::operator!=(const SUrlInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(baseUrl != __rhs.baseUrl) - { - return true; - } - if(trustUrl != __rhs.trustUrl) - { - return true; - } - return false; -} - -bool -AliUID::SUrlInfo::operator<(const SUrlInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(baseUrl < __rhs.baseUrl) - { - return true; - } - else if(__rhs.baseUrl < baseUrl) - { - return false; - } - if(trustUrl < __rhs.trustUrl) - { - return true; - } - else if(__rhs.trustUrl < trustUrl) - { - return false; - } - return false; -} - -void -AliUID::SUrlInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(baseUrl); - __os->write(trustUrl); -} - -void -AliUID::SUrlInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(baseUrl); - __is->read(trustUrl); -} - -void -AliUID::__write(::IceInternal::BasicStream* __os, const ::AliUID::SUrlInfo* begin, const ::AliUID::SUrlInfo* end, ::AliUID::__U__SUrlInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliUID::__read(::IceInternal::BasicStream* __is, ::AliUID::SUrlInfoSeq& v, ::AliUID::__U__SUrlInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 2); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliUID::SWebBind::operator==(const SWebBind& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliUID::SWebBind::operator!=(const SWebBind& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(serviceId != __rhs.serviceId) - { - return true; - } - if(siteId != __rhs.siteId) - { - return true; - } - if(webId != __rhs.webId) - { - return true; - } - if(webUid != __rhs.webUid) - { - return true; - } - if(webUrl != __rhs.webUrl) - { - return true; - } - return false; -} - -bool -AliUID::SWebBind::operator<(const SWebBind& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(serviceId < __rhs.serviceId) - { - return true; - } - else if(__rhs.serviceId < serviceId) - { - return false; - } - if(siteId < __rhs.siteId) - { - return true; - } - else if(__rhs.siteId < siteId) - { - return false; - } - if(webId < __rhs.webId) - { - return true; - } - else if(__rhs.webId < webId) - { - return false; - } - if(webUid < __rhs.webUid) - { - return true; - } - else if(__rhs.webUid < webUid) - { - return false; - } - if(webUrl < __rhs.webUrl) - { - return true; - } - else if(__rhs.webUrl < webUrl) - { - return false; - } - return false; -} - -void -AliUID::SWebBind::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(serviceId); - __os->write(siteId); - __os->write(webId); - __os->write(webUid); - if(webUrl.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&webUrl[0], &webUrl[0] + webUrl.size()); - } -} - -void -AliUID::SWebBind::__read(::IceInternal::BasicStream* __is) -{ - __is->read(serviceId); - __is->read(siteId); - __is->read(webId); - __is->read(webUid); - __is->read(webUrl); -} - -void -AliUID::__write(::IceInternal::BasicStream* __os, const ::AliUID::SWebBind* begin, const ::AliUID::SWebBind* end, ::AliUID::__U__SWebBindSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliUID::__read(::IceInternal::BasicStream* __is, ::AliUID::SWebBindSeq& v, ::AliUID::__U__SWebBindSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 5); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} diff --git a/features/aliww/source/.svn/text-base/aliww.cpp.svn-base b/features/aliww/source/.svn/text-base/aliww.cpp.svn-base deleted file mode 100644 index b0196c6..0000000 --- a/features/aliww/source/.svn/text-base/aliww.cpp.svn-base +++ /dev/null @@ -1,322 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: aliww.cpp - * - * Description: 阿里旺旺测试用例库 - * - * Version: 1.0 - * Created: 01/27/2011 10:31:46 AM - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ -#include "aliww.h" - - -void *initialize(void *p) -{ - middleware_t *pmw = (middleware_t*)p; - bench_t *pb = pmw->bp; - int scenarioID = 1; - printf("Aliww scenario:\n"); - printf("1:Get Bind List\n"); - printf("2:Bind Unbind\n"); - printf("3:TPFS GETCAL\n"); - printf("4:AAS textput\n"); - printf("5:AAS textgetput\n"); - printf("6:IMS login\n"); - printf("7:TPFS gettext\n"); - printf("8:TPFS getpic\n"); - printf("9:TPFS putpic\n"); - printf("10:AAS picput\n"); - printf("11:AAS picputget\n"); - printf("12:TPFS putgetpic\n"); - printf("13:AAS gettxt\n"); - printf("14:AAS picget\n"); - printf("15:IMS login_with_token\n"); - printf("16:IMS updateUserProfile\n"); - printf("17:IMS_MOS chgStatus\n"); - printf("18:MOS getUserStatus\n"); - printf("19:IMS storm_login\n"); - printf("20:dbs_CheckUserTokenExtra\n"); - printf("21:dbs_CheckWebWWPasswd\n"); - printf("22:dbs_CheckUserWebPasswdExtran\n"); - printf("23:dbs_GetUserInfoExNew4n\n"); - printf("24:dbs_UpdateUserDataInfo3\n"); - printf("25:ddbadmin_insertRecord\n"); - printf("26:ddbadmin_getRecord\n"); - printf("27:ddbadmin_updateRecord\n"); - printf("28:ddbadmin_deleteRecord\n"); - printf("29:ddbadmin_insertRecord_delete\n"); - printf("30:uss_insert\n"); - printf("31:uss_get\n"); - printf("32:mos_getUserCount\n"); - printf("\nSelect scenario ID:\n"); - scanf("%d",&scenarioID); - switch(scenarioID) - { - case 1: - { - set_param_file(pb, "../../data/get_bind_list.dat"); -// pmw->script.init = get_bind_list_init; -// pmw->script.act = get_bind_list_act; - - break; - } - case 2: - { - set_param_file(pb, "../../data/bind_unbind.dat"); -// pmw->script.init = bind_unbind_init; -// pmw->script.act = bind_unbind_act; - - break; - } - case 3: - { - //set_param_file(pb, "../../data/tpfs.dat"); - pmw->script.init = tpfs_init; - pmw->script.act = tpfs_getcal; - pmw->script.end = tpfs_end; - - break; - } - case 4: - { - pmw->script.init = aas_init; - pmw->script.act = aas_textput; - //pmw->script.end = aas_end; - break; - } - case 5: - { - pmw->script.init = aas_init; - pmw->script.act = aas_textgetput; - //pmw->script.end = aas_end; - break; - } - case 6: - { - set_param_file(pb, "../../data/user"); - pmw->script.init = ims_init; - pmw->script.act = ims_login; - - break; - } - case 7: - { - set_param_file(pb, "../../data/cnalichn.csv"); - pmw->script.init = tpfs_init; - pmw->script.act = tpfs_gettext; - pmw->script.end = tpfs_end; - break; - } - case 8: - { - set_param_file(pb, "../../data/picfilename"); - pmw->script.init = tpfs_init; - pmw->script.act = tpfs_getpic; - pmw->script.end = tpfs_end; - break; - } - case 9: - { - set_param_file(pb, "../../data/cnalichn.csv"); - pmw->script.init = tpfs_init; - pmw->script.act = tpfs_putpic; - pmw->script.end = tpfs_end; - break; - } - case 10: - { - set_param_file(pb, "../../data/cnalichn.csv"); - pmw->script.init = aas_init; - pmw->script.act = aas_picput; - pmw->script.end = aas_end; - break; - } - case 11: - { - set_param_file(pb, "../../data/cnalichn.csv"); - pmw->script.init = aas_init; - pmw->script.act = aas_picputget; - pmw->script.end = aas_end; - break; - } - case 12: - { - set_param_file(pb, "../../data/cnalichn.csv"); - pmw->script.init = tpfs_init; - pmw->script.act = tpfs_putgetpic; - pmw->script.end = tpfs_end; - break; - } - case 13: - { - set_param_file(pb, "../../data/cnalichn.csv"); - pmw->script.init = aas_init; - pmw->script.act = aas_textget; - pmw->script.end = aas_end; - break; - } - case 14: - { - set_param_file(pb, "../../data/picfilename"); - pmw->script.init = aas_init; - pmw->script.act = aas_picget; - pmw->script.end = aas_end; - break; - } - case 15: - { - set_param_file(pb, "../../data/user"); - pmw->script.init = ims_init; - pmw->script.act = ims_login_with_token; - pmw->script.end = ims_end; - break; - } - case 16: - { - set_param_file(pb, "../../data/user_passwd"); - pmw->script.init = ims_init; - pmw->script.act = ims_updateUserProfile; - pmw->script.end = ims_end; - break; - } - case 17: - { - set_param_file(pb, "../../data/user_passwd"); - pmw->script.init = ims_mos_init; - pmw->script.act = ims_mos_chgStatus; - pmw->script.end = ims_mos_end; - break; - } - case 18: - { - set_param_file(pb, "../../data/user"); - pmw->script.init = mos_init; - pmw->script.act = mos_getUserStatus; - pmw->script.end = mos_end; - break; - } - case 19: - { - set_param_file(pb, "../../data/user_token"); - pmw->script.init = ims_init; - pmw->script.act = ims_storm_login; - break; - } - case 20: - { - set_param_file(pb, "../../data/user_token"); - pmw->script.init = dbs_init; - pmw->script.act = dbs_CheckUserTokenExtra; - pmw->script.end = dbs_end; - break; - } - case 21: - { - set_param_file(pb, "../../data/user_token"); - pmw->script.init = dbs_init; - pmw->script.act = dbs_CheckWebWWPasswd; - pmw->script.end = dbs_end; - break; - } - case 22: - { - set_param_file(pb, "../../data/user_token"); - pmw->script.init = dbs_init; - pmw->script.act = dbs_CheckUserWebPasswdExtra; - pmw->script.end = dbs_end; - break; - } - case 23: - { - set_param_file(pb, "../../data/user"); - pmw->script.init = dbs_init; - pmw->script.act = dbs_GetUserInfoExNew4; - pmw->script.end = dbs_end; - break; - } - case 24: - { - set_param_file(pb, "../../data/user"); - pmw->script.init = dbs_init; - pmw->script.act = dbs_UpdateUserDataInfo3; - pmw->script.end = dbs_end; - break; - } - case 25: - { - pmw->script.init = ddbadmin_init; - pmw->script.act = ddbadmin_insertRecord; - pmw->script.end = ddbadmin_end; - break; - } - case 26: - { - set_param_file(pb, "../../data/user"); - pmw->script.init = ddbadmin_init; - pmw->script.act = ddbadmin_getRecord; - pmw->script.end = ddbadmin_end; - break; - } - case 27: - { - set_param_file(pb, "../../data/user"); - pmw->script.init = ddbadmin_init; - pmw->script.act = ddbadmin_updateRecord; - pmw->script.end = ddbadmin_end; - break; - } - case 28: - { - set_param_file(pb, "../../data/user"); - pmw->script.init = ddbadmin_init; - pmw->script.act = ddbadmin_deleteRecord; - pmw->script.end = ddbadmin_end; - break; - } - case 29: - { - set_param_file(pb, "../../data/user"); - pmw->script.init = ddbadmin_init; - pmw->script.act = ddbadmin_insertRecord_delete; - pmw->script.end = ddbadmin_end; - break; - } - case 30: - { - set_param_file(pb, "../../data/user"); - pmw->script.init = uss_init; - pmw->script.act = uss_insert; - pmw->script.end = uss_end; - break; - } - case 31: - { - set_param_file(pb, "../../data/user"); - pmw->script.init = uss_init; - pmw->script.act = uss_get; - pmw->script.end = uss_end; - break; - } - case 32: - { - pmw->script.init = mos_init; - pmw->script.act = mos_getUserCount; - pmw->script.end = mos_end; - break; - } - default: - { - printf("scenarioID: %d is not right.Please have a check!\n", scenarioID); - } - - } -} - diff --git a/features/aliww/source/.svn/text-base/aliyun.cpp.svn-base b/features/aliww/source/.svn/text-base/aliyun.cpp.svn-base deleted file mode 100644 index c9d5b24..0000000 --- a/features/aliww/source/.svn/text-base/aliyun.cpp.svn-base +++ /dev/null @@ -1,1871 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aliyun.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliYun__accountInterface__registerMember_name = "registerMember"; - -static const ::std::string __AliYun__accountInterface__checkExist_name = "checkExist"; - -static const ::std::string __AliYun__accountInterface__chgLoginMail_name = "chgLoginMail"; - -static const ::std::string __AliYun__accountInterface__chgLoginMobile_name = "chgLoginMobile"; - -static const ::std::string __AliYun__accountInterface__removeUser_name = "removeUser"; - -static const ::std::string __AliYun__accountInterface__checkUser_name = "checkUser"; - -static const ::std::string __AliYun__accountInterface__getUserProfile_name = "getUserProfile"; - -static const ::std::string __AliYun__accountInterface__setUserProfile_name = "setUserProfile"; - -static const ::std::string __AliYun__accountInterface__setUserPasswd_name = "setUserPasswd"; - -static const ::std::string __AliYun__accountInterface__setUserStatus_name = "setUserStatus"; - -static const ::std::string __AliYun__accountInterface__GetLoginInfo_name = "GetLoginInfo"; - -void -IceInternal::incRef(::AliYun::accountInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliYun::accountInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliYun::accountInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliYun::accountInterface* p) -{ - p->__decRef(); -} - -void -AliYun::__write(::IceInternal::BasicStream* __os, const ::AliYun::accountInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliYun::__read(::IceInternal::BasicStream* __is, ::AliYun::accountInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliYun::accountInterface; - v->__copyFrom(proxy); - } -} - -void -AliYun::__write(::IceInternal::BasicStream* __os, const ::AliYun::accountInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliYun::__write(::IceInternal::BasicStream* __os, const ::AliYun::KVMap& v, ::AliYun::__U__KVMap) -{ - __os->writeSize(::Ice::Int(v.size())); - ::AliYun::KVMap::const_iterator p; - for(p = v.begin(); p != v.end(); ++p) - { - __os->write(p->first); - __os->write(p->second); - } -} - -void -AliYun::__read(::IceInternal::BasicStream* __is, ::AliYun::KVMap& v, ::AliYun::__U__KVMap) -{ - ::Ice::Int sz; - __is->readSize(sz); - while(sz--) - { - ::std::pair pair; - __is->read(const_cast< ::std::string&>(pair.first)); - ::AliYun::KVMap::iterator __i = v.insert(v.end(), pair); - __is->read(__i->second); - } -} - -bool -AliYun::callerInfo::operator==(const callerInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliYun::callerInfo::operator!=(const callerInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(callId != __rhs.callId) - { - return true; - } - if(passwd != __rhs.passwd) - { - return true; - } - if(version != __rhs.version) - { - return true; - } - if(encode != __rhs.encode) - { - return true; - } - return false; -} - -bool -AliYun::callerInfo::operator<(const callerInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(callId < __rhs.callId) - { - return true; - } - else if(__rhs.callId < callId) - { - return false; - } - if(passwd < __rhs.passwd) - { - return true; - } - else if(__rhs.passwd < passwd) - { - return false; - } - if(version < __rhs.version) - { - return true; - } - else if(__rhs.version < version) - { - return false; - } - if(encode < __rhs.encode) - { - return true; - } - else if(__rhs.encode < encode) - { - return false; - } - return false; -} - -void -AliYun::callerInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(callId); - __os->write(passwd); - __os->write(version); - __os->write(encode); -} - -void -AliYun::callerInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(callId); - __is->read(passwd); - __is->read(version); - __is->read(encode); -} - -void -AliYun::__addObject(const accountInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliYun::__usesClasses(const accountInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -AliYun::__decRefUnsafe(const accountInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliYun::__clearHandleUnsafe(accountInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliYun::accountInterface::registerMember(const ::AliYun::callerInfo& caller, const ::std::string& email, const ::std::string& mobileNo, const ::std::string& passwd, ::std::string& udbUserId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliYun__accountInterface__registerMember_name); - __delBase = __getDelegate(); - ::IceDelegate::AliYun::accountInterface* __del = dynamic_cast< ::IceDelegate::AliYun::accountInterface*>(__delBase.get()); - return __del->registerMember(caller, email, mobileNo, passwd, udbUserId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliYun::accountInterface::checkExist(const ::AliYun::callerInfo& caller, const ::std::string& email, const ::std::string& mobileNo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliYun__accountInterface__checkExist_name); - __delBase = __getDelegate(); - ::IceDelegate::AliYun::accountInterface* __del = dynamic_cast< ::IceDelegate::AliYun::accountInterface*>(__delBase.get()); - return __del->checkExist(caller, email, mobileNo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliYun::accountInterface::chgLoginMail(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& email, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliYun__accountInterface__chgLoginMail_name); - __delBase = __getDelegate(); - ::IceDelegate::AliYun::accountInterface* __del = dynamic_cast< ::IceDelegate::AliYun::accountInterface*>(__delBase.get()); - return __del->chgLoginMail(caller, loginId, email, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliYun::accountInterface::chgLoginMobile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& mobileNo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliYun__accountInterface__chgLoginMobile_name); - __delBase = __getDelegate(); - ::IceDelegate::AliYun::accountInterface* __del = dynamic_cast< ::IceDelegate::AliYun::accountInterface*>(__delBase.get()); - return __del->chgLoginMobile(caller, loginId, mobileNo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliYun::accountInterface::removeUser(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliYun__accountInterface__removeUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliYun::accountInterface* __del = dynamic_cast< ::IceDelegate::AliYun::accountInterface*>(__delBase.get()); - return __del->removeUser(caller, loginId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliYun::accountInterface::checkUser(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& passwd, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliYun__accountInterface__checkUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliYun::accountInterface* __del = dynamic_cast< ::IceDelegate::AliYun::accountInterface*>(__delBase.get()); - return __del->checkUser(caller, loginId, passwd, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliYun::accountInterface::getUserProfile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::AliYun::KVMap& userProfile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliYun__accountInterface__getUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::AliYun::accountInterface* __del = dynamic_cast< ::IceDelegate::AliYun::accountInterface*>(__delBase.get()); - return __del->getUserProfile(caller, loginId, userProfile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliYun::accountInterface::setUserProfile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::AliYun::KVMap& userProfile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliYun__accountInterface__setUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::AliYun::accountInterface* __del = dynamic_cast< ::IceDelegate::AliYun::accountInterface*>(__delBase.get()); - return __del->setUserProfile(caller, loginId, userProfile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliYun::accountInterface::setUserPasswd(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& passwd, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliYun__accountInterface__setUserPasswd_name); - __delBase = __getDelegate(); - ::IceDelegate::AliYun::accountInterface* __del = dynamic_cast< ::IceDelegate::AliYun::accountInterface*>(__delBase.get()); - return __del->setUserPasswd(caller, loginId, passwd, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliYun::accountInterface::setUserStatus(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::Ice::Int status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliYun__accountInterface__setUserStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliYun::accountInterface* __del = dynamic_cast< ::IceDelegate::AliYun::accountInterface*>(__delBase.get()); - return __del->setUserStatus(caller, loginId, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliYun::accountInterface::GetLoginInfo(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::std::string& passwd, ::Ice::Int& status, ::std::string& userdata, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliYun__accountInterface__GetLoginInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliYun::accountInterface* __del = dynamic_cast< ::IceDelegate::AliYun::accountInterface*>(__delBase.get()); - return __del->GetLoginInfo(caller, loginId, passwd, status, userdata, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliYun::accountInterface::ice_staticId() -{ - return ::AliYun::accountInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliYun::accountInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliYun::accountInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliYun::accountInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliYun::accountInterface); -} - -bool -IceProxy::AliYun::operator==(const ::IceProxy::AliYun::accountInterface& l, const ::IceProxy::AliYun::accountInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliYun::operator!=(const ::IceProxy::AliYun::accountInterface& l, const ::IceProxy::AliYun::accountInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliYun::operator<(const ::IceProxy::AliYun::accountInterface& l, const ::IceProxy::AliYun::accountInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliYun::operator<=(const ::IceProxy::AliYun::accountInterface& l, const ::IceProxy::AliYun::accountInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliYun::operator>(const ::IceProxy::AliYun::accountInterface& l, const ::IceProxy::AliYun::accountInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliYun::operator>=(const ::IceProxy::AliYun::accountInterface& l, const ::IceProxy::AliYun::accountInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliYun::accountInterface::registerMember(const ::AliYun::callerInfo& caller, const ::std::string& email, const ::std::string& mobileNo, const ::std::string& passwd, ::std::string& udbUserId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliYun__accountInterface__registerMember_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - caller.__write(__os); - __os->write(email); - __os->write(mobileNo); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(udbUserId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliYun::accountInterface::checkExist(const ::AliYun::callerInfo& caller, const ::std::string& email, const ::std::string& mobileNo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliYun__accountInterface__checkExist_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - caller.__write(__os); - __os->write(email); - __os->write(mobileNo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliYun::accountInterface::chgLoginMail(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& email, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliYun__accountInterface__chgLoginMail_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - caller.__write(__os); - __os->write(loginId); - __os->write(email); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliYun::accountInterface::chgLoginMobile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& mobileNo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliYun__accountInterface__chgLoginMobile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - caller.__write(__os); - __os->write(loginId); - __os->write(mobileNo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliYun::accountInterface::removeUser(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliYun__accountInterface__removeUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - caller.__write(__os); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliYun::accountInterface::checkUser(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& passwd, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliYun__accountInterface__checkUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - caller.__write(__os); - __os->write(loginId); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliYun::accountInterface::getUserProfile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::AliYun::KVMap& userProfile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliYun__accountInterface__getUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - caller.__write(__os); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliYun::__read(__is, userProfile, ::AliYun::__U__KVMap()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliYun::accountInterface::setUserProfile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::AliYun::KVMap& userProfile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliYun__accountInterface__setUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - caller.__write(__os); - __os->write(loginId); - ::AliYun::__write(__os, userProfile, ::AliYun::__U__KVMap()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliYun::accountInterface::setUserPasswd(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& passwd, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliYun__accountInterface__setUserPasswd_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - caller.__write(__os); - __os->write(loginId); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliYun::accountInterface::setUserStatus(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliYun__accountInterface__setUserStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - caller.__write(__os); - __os->write(loginId); - __os->write(status); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliYun::accountInterface::GetLoginInfo(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::std::string& passwd, ::Ice::Int& status, ::std::string& userdata, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliYun__accountInterface__GetLoginInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - caller.__write(__os); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(passwd); - __is->read(status); - __is->read(userdata); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliYun::accountInterface::registerMember(const ::AliYun::callerInfo& caller, const ::std::string& email, const ::std::string& mobileNo, const ::std::string& passwd, ::std::string& udbUserId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliYun__accountInterface__registerMember_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliYun::accountInterface* __servant = dynamic_cast< ::AliYun::accountInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->registerMember(caller, email, mobileNo, passwd, udbUserId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliYun::accountInterface::checkExist(const ::AliYun::callerInfo& caller, const ::std::string& email, const ::std::string& mobileNo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliYun__accountInterface__checkExist_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliYun::accountInterface* __servant = dynamic_cast< ::AliYun::accountInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkExist(caller, email, mobileNo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliYun::accountInterface::chgLoginMail(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& email, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliYun__accountInterface__chgLoginMail_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliYun::accountInterface* __servant = dynamic_cast< ::AliYun::accountInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->chgLoginMail(caller, loginId, email, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliYun::accountInterface::chgLoginMobile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& mobileNo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliYun__accountInterface__chgLoginMobile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliYun::accountInterface* __servant = dynamic_cast< ::AliYun::accountInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->chgLoginMobile(caller, loginId, mobileNo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliYun::accountInterface::removeUser(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliYun__accountInterface__removeUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliYun::accountInterface* __servant = dynamic_cast< ::AliYun::accountInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->removeUser(caller, loginId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliYun::accountInterface::checkUser(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& passwd, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliYun__accountInterface__checkUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliYun::accountInterface* __servant = dynamic_cast< ::AliYun::accountInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkUser(caller, loginId, passwd, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliYun::accountInterface::getUserProfile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::AliYun::KVMap& userProfile, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliYun__accountInterface__getUserProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliYun::accountInterface* __servant = dynamic_cast< ::AliYun::accountInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserProfile(caller, loginId, userProfile, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliYun::accountInterface::setUserProfile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::AliYun::KVMap& userProfile, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliYun__accountInterface__setUserProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliYun::accountInterface* __servant = dynamic_cast< ::AliYun::accountInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setUserProfile(caller, loginId, userProfile, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliYun::accountInterface::setUserPasswd(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& passwd, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliYun__accountInterface__setUserPasswd_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliYun::accountInterface* __servant = dynamic_cast< ::AliYun::accountInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setUserPasswd(caller, loginId, passwd, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliYun::accountInterface::setUserStatus(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliYun__accountInterface__setUserStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliYun::accountInterface* __servant = dynamic_cast< ::AliYun::accountInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setUserStatus(caller, loginId, status, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliYun::accountInterface::GetLoginInfo(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::std::string& passwd, ::Ice::Int& status, ::std::string& userdata, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliYun__accountInterface__GetLoginInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliYun::accountInterface* __servant = dynamic_cast< ::AliYun::accountInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetLoginInfo(caller, loginId, passwd, status, userdata, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliYun::accountInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliYun__accountInterface_ids[2] = -{ - "::AliYun::accountInterface", - "::Ice::Object" -}; - -bool -AliYun::accountInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliYun__accountInterface_ids, __AliYun__accountInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -AliYun::accountInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliYun__accountInterface_ids[0], &__AliYun__accountInterface_ids[2]); -} - -const ::std::string& -AliYun::accountInterface::ice_id(const ::Ice::Current&) const -{ - return __AliYun__accountInterface_ids[0]; -} - -const ::std::string& -AliYun::accountInterface::ice_staticId() -{ - return __AliYun__accountInterface_ids[0]; -} - -::IceInternal::DispatchStatus -AliYun::accountInterface::___registerMember(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliYun::callerInfo caller; - ::std::string email; - ::std::string mobileNo; - ::std::string passwd; - caller.__read(__is); - __is->read(email); - __is->read(mobileNo); - __is->read(passwd); - ::std::string udbUserId; - ::Ice::Int __ret = registerMember(caller, email, mobileNo, passwd, udbUserId, __current); - __os->write(udbUserId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliYun::accountInterface::___checkExist(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliYun::callerInfo caller; - ::std::string email; - ::std::string mobileNo; - caller.__read(__is); - __is->read(email); - __is->read(mobileNo); - ::Ice::Int __ret = checkExist(caller, email, mobileNo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliYun::accountInterface::___chgLoginMail(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliYun::callerInfo caller; - ::std::string loginId; - ::std::string email; - caller.__read(__is); - __is->read(loginId); - __is->read(email); - ::Ice::Int __ret = chgLoginMail(caller, loginId, email, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliYun::accountInterface::___chgLoginMobile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliYun::callerInfo caller; - ::std::string loginId; - ::std::string mobileNo; - caller.__read(__is); - __is->read(loginId); - __is->read(mobileNo); - ::Ice::Int __ret = chgLoginMobile(caller, loginId, mobileNo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliYun::accountInterface::___removeUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliYun::callerInfo caller; - ::std::string loginId; - caller.__read(__is); - __is->read(loginId); - ::Ice::Int __ret = removeUser(caller, loginId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliYun::accountInterface::___checkUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliYun::callerInfo caller; - ::std::string loginId; - ::std::string passwd; - caller.__read(__is); - __is->read(loginId); - __is->read(passwd); - ::Ice::Int __ret = checkUser(caller, loginId, passwd, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliYun::accountInterface::___getUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliYun::callerInfo caller; - ::std::string loginId; - caller.__read(__is); - __is->read(loginId); - ::AliYun::KVMap userProfile; - ::Ice::Int __ret = getUserProfile(caller, loginId, userProfile, __current); - ::AliYun::__write(__os, userProfile, ::AliYun::__U__KVMap()); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliYun::accountInterface::___setUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliYun::callerInfo caller; - ::std::string loginId; - ::AliYun::KVMap userProfile; - caller.__read(__is); - __is->read(loginId); - ::AliYun::__read(__is, userProfile, ::AliYun::__U__KVMap()); - ::Ice::Int __ret = setUserProfile(caller, loginId, userProfile, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliYun::accountInterface::___setUserPasswd(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliYun::callerInfo caller; - ::std::string loginId; - ::std::string passwd; - caller.__read(__is); - __is->read(loginId); - __is->read(passwd); - ::Ice::Int __ret = setUserPasswd(caller, loginId, passwd, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliYun::accountInterface::___setUserStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliYun::callerInfo caller; - ::std::string loginId; - ::Ice::Int status; - caller.__read(__is); - __is->read(loginId); - __is->read(status); - ::Ice::Int __ret = setUserStatus(caller, loginId, status, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliYun::accountInterface::___GetLoginInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliYun::callerInfo caller; - ::std::string loginId; - caller.__read(__is); - __is->read(loginId); - ::std::string passwd; - ::Ice::Int status; - ::std::string userdata; - ::Ice::Int __ret = GetLoginInfo(caller, loginId, passwd, status, userdata, __current); - __os->write(passwd); - __os->write(status); - __os->write(userdata); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliYun__accountInterface_all[] = -{ - "GetLoginInfo", - "checkExist", - "checkUser", - "chgLoginMail", - "chgLoginMobile", - "getUserProfile", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "registerMember", - "removeUser", - "setUserPasswd", - "setUserProfile", - "setUserStatus" -}; - -::IceInternal::DispatchStatus -AliYun::accountInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliYun__accountInterface_all, __AliYun__accountInterface_all + 15, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliYun__accountInterface_all) - { - case 0: - { - return ___GetLoginInfo(in, current); - } - case 1: - { - return ___checkExist(in, current); - } - case 2: - { - return ___checkUser(in, current); - } - case 3: - { - return ___chgLoginMail(in, current); - } - case 4: - { - return ___chgLoginMobile(in, current); - } - case 5: - { - return ___getUserProfile(in, current); - } - case 6: - { - return ___ice_id(in, current); - } - case 7: - { - return ___ice_ids(in, current); - } - case 8: - { - return ___ice_isA(in, current); - } - case 9: - { - return ___ice_ping(in, current); - } - case 10: - { - return ___registerMember(in, current); - } - case 11: - { - return ___removeUser(in, current); - } - case 12: - { - return ___setUserPasswd(in, current); - } - case 13: - { - return ___setUserProfile(in, current); - } - case 14: - { - return ___setUserStatus(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliYun::accountInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliYun::accountInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliYun::accountInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliYun::accountInterface was not generated with stream support"; - throw ex; -} - -void -AliYun::accountInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliYun::accountInterface was not generated with stream support"; - throw ex; -} - -void -AliYun::__patch__accountInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliYun::accountInterfacePtr* p = static_cast< ::AliYun::accountInterfacePtr*>(__addr); - assert(p); - *p = ::AliYun::accountInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliYun::accountInterface::ice_staticId(); - throw e; - } -} - -bool -AliYun::operator==(const ::AliYun::accountInterface& l, const ::AliYun::accountInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliYun::operator!=(const ::AliYun::accountInterface& l, const ::AliYun::accountInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliYun::operator<(const ::AliYun::accountInterface& l, const ::AliYun::accountInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliYun::operator<=(const ::AliYun::accountInterface& l, const ::AliYun::accountInterface& r) -{ - return l < r || l == r; -} - -bool -AliYun::operator>(const ::AliYun::accountInterface& l, const ::AliYun::accountInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliYun::operator>=(const ::AliYun::accountInterface& l, const ::AliYun::accountInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/alliWebMember.cpp.svn-base b/features/aliww/source/.svn/text-base/alliWebMember.cpp.svn-base deleted file mode 100644 index c8b1299..0000000 --- a/features/aliww/source/.svn/text-base/alliWebMember.cpp.svn-base +++ /dev/null @@ -1,990 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `alliWebMember.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __alliWebMember__UserProfile__GetWebMemberInfo_name = "GetWebMemberInfo"; - -static const ::std::string __alliWebMember__UserProfile__getWanghaoBindedWebId_name = "getWanghaoBindedWebId"; - -static const ::std::string __alliWebMember__UserProfile__CheckWebMemberPWInfo_name = "CheckWebMemberPWInfo"; - -void -IceInternal::incRef(::alliWebMember::UserProfile* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::alliWebMember::UserProfile* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::alliWebMember::UserProfile* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::alliWebMember::UserProfile* p) -{ - p->__decRef(); -} - -void -alliWebMember::__write(::IceInternal::BasicStream* __os, const ::alliWebMember::UserProfilePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -alliWebMember::__read(::IceInternal::BasicStream* __is, ::alliWebMember::UserProfilePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::alliWebMember::UserProfile; - v->__copyFrom(proxy); - } -} - -void -alliWebMember::__write(::IceInternal::BasicStream* __os, const ::alliWebMember::UserProfilePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -alliWebMember::SWebUserInfo::operator==(const SWebUserInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -alliWebMember::SWebUserInfo::operator!=(const SWebUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(rawpasswd != __rhs.rawpasswd) - { - return true; - } - if(md5passwd != __rhs.md5passwd) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(mobileno != __rhs.mobileno) - { - return true; - } - if(phoneno != __rhs.phoneno) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobtitle != __rhs.jobtitle) - { - return true; - } - if(birthday != __rhs.birthday) - { - return true; - } - if(sex != __rhs.sex) - { - return true; - } - if(country != __rhs.country) - { - return true; - } - if(province != __rhs.province) - { - return true; - } - if(city != __rhs.city) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - return false; -} - -bool -alliWebMember::SWebUserInfo::operator<(const SWebUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(rawpasswd < __rhs.rawpasswd) - { - return true; - } - else if(__rhs.rawpasswd < rawpasswd) - { - return false; - } - if(md5passwd < __rhs.md5passwd) - { - return true; - } - else if(__rhs.md5passwd < md5passwd) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(mobileno < __rhs.mobileno) - { - return true; - } - else if(__rhs.mobileno < mobileno) - { - return false; - } - if(phoneno < __rhs.phoneno) - { - return true; - } - else if(__rhs.phoneno < phoneno) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobtitle < __rhs.jobtitle) - { - return true; - } - else if(__rhs.jobtitle < jobtitle) - { - return false; - } - if(birthday < __rhs.birthday) - { - return true; - } - else if(__rhs.birthday < birthday) - { - return false; - } - if(sex < __rhs.sex) - { - return true; - } - else if(__rhs.sex < sex) - { - return false; - } - if(country < __rhs.country) - { - return true; - } - else if(__rhs.country < country) - { - return false; - } - if(province < __rhs.province) - { - return true; - } - else if(__rhs.province < province) - { - return false; - } - if(city < __rhs.city) - { - return true; - } - else if(__rhs.city < city) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - return false; -} - -void -alliWebMember::SWebUserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(name); - __os->write(rawpasswd); - __os->write(md5passwd); - __os->write(email); - __os->write(mobileno); - __os->write(phoneno); - __os->write(company); - __os->write(jobtitle); - __os->write(birthday); - __os->write(sex); - __os->write(country); - __os->write(province); - __os->write(city); - __os->write(address); -} - -void -alliWebMember::SWebUserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(name); - __is->read(rawpasswd); - __is->read(md5passwd); - __is->read(email); - __is->read(mobileno); - __is->read(phoneno); - __is->read(company); - __is->read(jobtitle); - __is->read(birthday); - __is->read(sex); - __is->read(country); - __is->read(province); - __is->read(city); - __is->read(address); -} - -void -alliWebMember::__write(::IceInternal::BasicStream* __os, const ::alliWebMember::SWebUserInfo* begin, const ::alliWebMember::SWebUserInfo* end, ::alliWebMember::__U__SUserSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -alliWebMember::__read(::IceInternal::BasicStream* __is, ::alliWebMember::SUserSeq& v, ::alliWebMember::__U__SUserSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 15); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -alliWebMember::__addObject(const UserProfilePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -alliWebMember::__usesClasses(const UserProfilePtr& p) -{ - return p->__usesClasses(); -} - -void -alliWebMember::__decRefUnsafe(const UserProfilePtr& p) -{ - p->__decRefUnsafe(); -} - -void -alliWebMember::__clearHandleUnsafe(UserProfilePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::alliWebMember::UserProfile::GetWebMemberInfo(const ::std::string& uid, ::alliWebMember::SWebUserInfo& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__alliWebMember__UserProfile__GetWebMemberInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::alliWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::alliWebMember::UserProfile*>(__delBase.get()); - return __del->GetWebMemberInfo(uid, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::alliWebMember::UserProfile::getWanghaoBindedWebId(const ::std::string& passportid, ::std::string& webloginId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__alliWebMember__UserProfile__getWanghaoBindedWebId_name); - __delBase = __getDelegate(); - ::IceDelegate::alliWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::alliWebMember::UserProfile*>(__delBase.get()); - return __del->getWanghaoBindedWebId(passportid, webloginId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::alliWebMember::UserProfile::CheckWebMemberPWInfo(const ::std::string& uid, const ::std::string& password, ::std::string& retmd5pw, ::std::string& rettoken, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__alliWebMember__UserProfile__CheckWebMemberPWInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::alliWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::alliWebMember::UserProfile*>(__delBase.get()); - return __del->CheckWebMemberPWInfo(uid, password, retmd5pw, rettoken, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::alliWebMember::UserProfile::ice_staticId() -{ - return ::alliWebMember::UserProfile::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::alliWebMember::UserProfile::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::alliWebMember::UserProfile); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::alliWebMember::UserProfile::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::alliWebMember::UserProfile); -} - -bool -IceProxy::alliWebMember::operator==(const ::IceProxy::alliWebMember::UserProfile& l, const ::IceProxy::alliWebMember::UserProfile& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::alliWebMember::operator!=(const ::IceProxy::alliWebMember::UserProfile& l, const ::IceProxy::alliWebMember::UserProfile& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::alliWebMember::operator<(const ::IceProxy::alliWebMember::UserProfile& l, const ::IceProxy::alliWebMember::UserProfile& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::alliWebMember::operator<=(const ::IceProxy::alliWebMember::UserProfile& l, const ::IceProxy::alliWebMember::UserProfile& r) -{ - return l < r || l == r; -} - -bool -IceProxy::alliWebMember::operator>(const ::IceProxy::alliWebMember::UserProfile& l, const ::IceProxy::alliWebMember::UserProfile& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::alliWebMember::operator>=(const ::IceProxy::alliWebMember::UserProfile& l, const ::IceProxy::alliWebMember::UserProfile& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::alliWebMember::UserProfile::GetWebMemberInfo(const ::std::string& uid, ::alliWebMember::SWebUserInfo& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __alliWebMember__UserProfile__GetWebMemberInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::alliWebMember::UserProfile::getWanghaoBindedWebId(const ::std::string& passportid, ::std::string& webloginId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __alliWebMember__UserProfile__getWanghaoBindedWebId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(passportid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(webloginId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::alliWebMember::UserProfile::CheckWebMemberPWInfo(const ::std::string& uid, const ::std::string& password, ::std::string& retmd5pw, ::std::string& rettoken, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __alliWebMember__UserProfile__CheckWebMemberPWInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(password); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(retmd5pw); - __is->read(rettoken); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::alliWebMember::UserProfile::GetWebMemberInfo(const ::std::string& uid, ::alliWebMember::SWebUserInfo& userInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __alliWebMember__UserProfile__GetWebMemberInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::alliWebMember::UserProfile* __servant = dynamic_cast< ::alliWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetWebMemberInfo(uid, userInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::alliWebMember::UserProfile::getWanghaoBindedWebId(const ::std::string& passportid, ::std::string& webloginId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __alliWebMember__UserProfile__getWanghaoBindedWebId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::alliWebMember::UserProfile* __servant = dynamic_cast< ::alliWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getWanghaoBindedWebId(passportid, webloginId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::alliWebMember::UserProfile::CheckWebMemberPWInfo(const ::std::string& uid, const ::std::string& password, ::std::string& retmd5pw, ::std::string& rettoken, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __alliWebMember__UserProfile__CheckWebMemberPWInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::alliWebMember::UserProfile* __servant = dynamic_cast< ::alliWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->CheckWebMemberPWInfo(uid, password, retmd5pw, rettoken, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -alliWebMember::UserProfile::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __alliWebMember__UserProfile_ids[2] = -{ - "::Ice::Object", - "::alliWebMember::UserProfile" -}; - -bool -alliWebMember::UserProfile::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__alliWebMember__UserProfile_ids, __alliWebMember__UserProfile_ids + 2, _s); -} - -::std::vector< ::std::string> -alliWebMember::UserProfile::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__alliWebMember__UserProfile_ids[0], &__alliWebMember__UserProfile_ids[2]); -} - -const ::std::string& -alliWebMember::UserProfile::ice_id(const ::Ice::Current&) const -{ - return __alliWebMember__UserProfile_ids[1]; -} - -const ::std::string& -alliWebMember::UserProfile::ice_staticId() -{ - return __alliWebMember__UserProfile_ids[1]; -} - -::IceInternal::DispatchStatus -alliWebMember::UserProfile::___GetWebMemberInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::alliWebMember::SWebUserInfo userInfo; - ::Ice::Int __ret = GetWebMemberInfo(uid, userInfo, __current); - userInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -alliWebMember::UserProfile::___getWanghaoBindedWebId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string passportid; - __is->read(passportid); - ::std::string webloginId; - ::Ice::Int __ret = getWanghaoBindedWebId(passportid, webloginId, __current); - __os->write(webloginId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -alliWebMember::UserProfile::___CheckWebMemberPWInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string password; - __is->read(uid); - __is->read(password); - ::std::string retmd5pw; - ::std::string rettoken; - ::Ice::Int __ret = CheckWebMemberPWInfo(uid, password, retmd5pw, rettoken, __current); - __os->write(retmd5pw); - __os->write(rettoken); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __alliWebMember__UserProfile_all[] = -{ - "CheckWebMemberPWInfo", - "GetWebMemberInfo", - "getWanghaoBindedWebId", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -alliWebMember::UserProfile::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__alliWebMember__UserProfile_all, __alliWebMember__UserProfile_all + 7, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __alliWebMember__UserProfile_all) - { - case 0: - { - return ___CheckWebMemberPWInfo(in, current); - } - case 1: - { - return ___GetWebMemberInfo(in, current); - } - case 2: - { - return ___getWanghaoBindedWebId(in, current); - } - case 3: - { - return ___ice_id(in, current); - } - case 4: - { - return ___ice_ids(in, current); - } - case 5: - { - return ___ice_isA(in, current); - } - case 6: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -alliWebMember::UserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -alliWebMember::UserProfile::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -alliWebMember::UserProfile::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type alliWebMember::UserProfile was not generated with stream support"; - throw ex; -} - -void -alliWebMember::UserProfile::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type alliWebMember::UserProfile was not generated with stream support"; - throw ex; -} - -void -alliWebMember::__patch__UserProfilePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::alliWebMember::UserProfilePtr* p = static_cast< ::alliWebMember::UserProfilePtr*>(__addr); - assert(p); - *p = ::alliWebMember::UserProfilePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::alliWebMember::UserProfile::ice_staticId(); - throw e; - } -} - -bool -alliWebMember::operator==(const ::alliWebMember::UserProfile& l, const ::alliWebMember::UserProfile& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -alliWebMember::operator!=(const ::alliWebMember::UserProfile& l, const ::alliWebMember::UserProfile& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -alliWebMember::operator<(const ::alliWebMember::UserProfile& l, const ::alliWebMember::UserProfile& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -alliWebMember::operator<=(const ::alliWebMember::UserProfile& l, const ::alliWebMember::UserProfile& r) -{ - return l < r || l == r; -} - -bool -alliWebMember::operator>(const ::alliWebMember::UserProfile& l, const ::alliWebMember::UserProfile& r) -{ - return !(l < r) && !(l == r); -} - -bool -alliWebMember::operator>=(const ::alliWebMember::UserProfile& l, const ::alliWebMember::UserProfile& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/aqdispatch_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/aqdispatch_pack.cpp.svn-base deleted file mode 100644 index d534198..0000000 --- a/features/aliww/source/.svn/text-base/aqdispatch_pack.cpp.svn-base +++ /dev/null @@ -1,510 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: aqdispatch_pack.cpp -// Date: 2011-01-30 12:50:19 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "aqdispatch_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SAqkvpair& sAqkvpair ) -{ - cPackData.WriteData(sAqkvpair.m_key, 1); - cPackData << sAqkvpair.m_value; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SAqkvpair& sAqkvpair ) -{ - cPackData.ReadData(sAqkvpair.m_key, 0, 1); - cPackData >> sAqkvpair.m_value; - return cPackData; -} - -void CAqscNotifyData::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_aqscHead.Size()) - m_aqscHead.m_len = 0; - else - m_aqscHead.m_len = strData.size() - m_aqscHead.Size(); - if(m_aqscHead.m_cmd == 0) m_aqscHead.m_cmd = AQSC_NOTIFY_DATA; - m_aqscHead.PackData(strData); -} - -void CAqscNotifyData::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_aqscHead.Size() + 7); - SetOutCursor( m_aqscHead.Size() ); - (*this) << m_serverId; - (*this) << m_dataType; - { - uint32_t nLen = m_kvList.size(); - (*this) << nLen; - VECTOR< SAqkvpair >::const_iterator itr; - for(itr = m_kvList.cbegin(); itr != m_kvList.cend(); ++itr) - { - (*this) << (*itr); - } - } - m_aqscHead.m_cc = CalcCheckCode(strData, m_aqscHead.Size()); - FormData(m_aqscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CAqscNotifyData::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CAqscNotifyData::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_aqscHead.Size()); - uLongf nHeadLen = m_aqscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_aqscHead.Size()); - m_aqscHead.ResetInBuff(strData); - if(checkCode != m_aqscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - (*this) >> m_serverId; - (*this) >> m_dataType; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_kvList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SAqkvpair tmpVal; - (*this) >> tmpVal; - m_kvList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CAqscNotifyData::UnpackData(string& strData) -{ - m_aqscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CAqscReqSubscribeData::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_aqscHead.Size()) - m_aqscHead.m_len = 0; - else - m_aqscHead.m_len = strData.size() - m_aqscHead.Size(); - if(m_aqscHead.m_cmd == 0) m_aqscHead.m_cmd = AQSC_REQ_SUBSCRIBE_DATA; - m_aqscHead.PackData(strData); -} - -void CAqscReqSubscribeData::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_aqscHead.Size() + 7); - SetOutCursor( m_aqscHead.Size() ); - (*this) << m_appid; - { - uint32_t nLen = m_subscribeList.size(); - (*this) << nLen; - VECTOR< uint16_t >::const_iterator itr; - for(itr = m_subscribeList.cbegin(); itr != m_subscribeList.cend(); ++itr) - { - (*this) << (*itr); - } - } - m_aqscHead.m_cc = CalcCheckCode(strData, m_aqscHead.Size()); - FormData(m_aqscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CAqscReqSubscribeData::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CAqscReqSubscribeData::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_aqscHead.Size()); - uLongf nHeadLen = m_aqscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_aqscHead.Size()); - m_aqscHead.ResetInBuff(strData); - if(checkCode != m_aqscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - (*this) >> m_appid; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_subscribeList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - uint16_t tmpVal; - (*this) >> tmpVal; - m_subscribeList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CAqscReqSubscribeData::UnpackData(string& strData) -{ - m_aqscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CAqscRspSubscribeData::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_aqscHead.Size()) - m_aqscHead.m_len = 0; - else - m_aqscHead.m_len = strData.size() - m_aqscHead.Size(); - if(m_aqscHead.m_cmd == 0) m_aqscHead.m_cmd = AQSC_RSP_SUBSCRIBE_DATA; - m_aqscHead.PackData(strData); -} - -void CAqscRspSubscribeData::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_aqscHead.Size() + 7); - SetOutCursor( m_aqscHead.Size() ); - (*this) << m_status; - (*this) << m_errorCode; - m_aqscHead.m_cc = CalcCheckCode(strData, m_aqscHead.Size()); - FormData(m_aqscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CAqscRspSubscribeData::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CAqscRspSubscribeData::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_aqscHead.Size()); - uLongf nHeadLen = m_aqscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_aqscHead.Size()); - m_aqscHead.ResetInBuff(strData); - if(checkCode != m_aqscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - (*this) >> m_status; - (*this) >> m_errorCode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CAqscRspSubscribeData::UnpackData(string& strData) -{ - m_aqscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CAqscReqUnsubscribeData::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_aqscHead.Size()) - m_aqscHead.m_len = 0; - else - m_aqscHead.m_len = strData.size() - m_aqscHead.Size(); - if(m_aqscHead.m_cmd == 0) m_aqscHead.m_cmd = AQSC_REQ_UNSUBSCRIBE_DATA; - m_aqscHead.PackData(strData); -} - -void CAqscReqUnsubscribeData::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_aqscHead.Size() + 7); - SetOutCursor( m_aqscHead.Size() ); - (*this) << m_appid; - { - uint32_t nLen = m_unsubscribeList.size(); - (*this) << nLen; - VECTOR< uint16_t >::const_iterator itr; - for(itr = m_unsubscribeList.cbegin(); itr != m_unsubscribeList.cend(); ++itr) - { - (*this) << (*itr); - } - } - m_aqscHead.m_cc = CalcCheckCode(strData, m_aqscHead.Size()); - FormData(m_aqscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CAqscReqUnsubscribeData::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CAqscReqUnsubscribeData::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_aqscHead.Size()); - uLongf nHeadLen = m_aqscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_aqscHead.Size()); - m_aqscHead.ResetInBuff(strData); - if(checkCode != m_aqscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - (*this) >> m_appid; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_unsubscribeList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - uint16_t tmpVal; - (*this) >> tmpVal; - m_unsubscribeList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CAqscReqUnsubscribeData::UnpackData(string& strData) -{ - m_aqscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CAqscRspUnsubscribeData::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_aqscHead.Size()) - m_aqscHead.m_len = 0; - else - m_aqscHead.m_len = strData.size() - m_aqscHead.Size(); - if(m_aqscHead.m_cmd == 0) m_aqscHead.m_cmd = AQSC_RSP_UNSUBSCRIBE_DATA; - m_aqscHead.PackData(strData); -} - -void CAqscRspUnsubscribeData::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_aqscHead.Size() + 7); - SetOutCursor( m_aqscHead.Size() ); - (*this) << m_status; - (*this) << m_errorCode; - m_aqscHead.m_cc = CalcCheckCode(strData, m_aqscHead.Size()); - FormData(m_aqscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CAqscRspUnsubscribeData::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CAqscRspUnsubscribeData::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_aqscHead.Size()); - uLongf nHeadLen = m_aqscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_aqscHead.Size()); - m_aqscHead.ResetInBuff(strData); - if(checkCode != m_aqscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - (*this) >> m_status; - (*this) >> m_errorCode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CAqscRspUnsubscribeData::UnpackData(string& strData) -{ - m_aqscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CAqscReqHealthCheck::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_aqscHead.Size()) - m_aqscHead.m_len = 0; - else - m_aqscHead.m_len = strData.size() - m_aqscHead.Size(); - if(m_aqscHead.m_cmd == 0) m_aqscHead.m_cmd = AQSC_REQ_HEALTH_CHECK; - m_aqscHead.PackData(strData); -} - -void CAqscReqHealthCheck::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_aqscHead.Size() + 7); - SetOutCursor( m_aqscHead.Size() ); - (*this) << m_appid; - m_aqscHead.m_cc = CalcCheckCode(strData, m_aqscHead.Size()); - FormData(m_aqscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CAqscReqHealthCheck::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CAqscReqHealthCheck::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_aqscHead.Size()); - uLongf nHeadLen = m_aqscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_aqscHead.Size()); - m_aqscHead.ResetInBuff(strData); - if(checkCode != m_aqscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - (*this) >> m_appid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CAqscReqHealthCheck::UnpackData(string& strData) -{ - m_aqscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CAqscRspHealthCheck::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_aqscHead.Size()) - m_aqscHead.m_len = 0; - else - m_aqscHead.m_len = strData.size() - m_aqscHead.Size(); - if(m_aqscHead.m_cmd == 0) m_aqscHead.m_cmd = AQSC_RSP_HEALTH_CHECK; - m_aqscHead.PackData(strData); -} - -void CAqscRspHealthCheck::PackBody(string& strData) -{ -} - -void CAqscRspHealthCheck::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CAqscRspHealthCheck::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CAqscRspHealthCheck::UnpackData(string& strData) -{ - m_aqscHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/.svn/text-base/aqsc_head.cpp.svn-base b/features/aliww/source/.svn/text-base/aqsc_head.cpp.svn-base deleted file mode 100644 index 1453722..0000000 --- a/features/aliww/source/.svn/text-base/aqsc_head.cpp.svn-base +++ /dev/null @@ -1,52 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: aqsc_head.cpp -// Date: 2011-01-30 12:50:18 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "aqsc_head.h" - -void CAqscHead::PackData(string& strData) -{ - try - { - ResetOutBuff(strData); - (*this) << m_starter; - (*this) << m_version; - (*this) << m_seq; - (*this) << m_len; - (*this) << m_cmd; - (*this) << m_cc; -; - } - catch(std::exception&) - { - strData = ""; - } -} - -PACKRETCODE CAqscHead::UnpackData(const string& strData) -{ - try - { - ResetInBuff(strData); - (*this) >> m_starter; - (*this) >> m_version; - (*this) >> m_seq; - (*this) >> m_len; - (*this) >> m_cmd; - (*this) >> m_cc; -; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - diff --git a/features/aliww/source/.svn/text-base/arcacheservice.cpp.svn-base b/features/aliww/source/.svn/text-base/arcacheservice.cpp.svn-base deleted file mode 100644 index 20fe781..0000000 --- a/features/aliww/source/.svn/text-base/arcacheservice.cpp.svn-base +++ /dev/null @@ -1,1770 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `arcacheservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__IARCacheService__getUserInfo_name = "getUserInfo"; - -static const ::std::string __AliIM__IARCacheService__updateUserLoginEx_name = "updateUserLoginEx"; - -static const ::std::string __AliIM__IARCacheService__updateUserLoginEx2_name = "updateUserLoginEx2"; - -static const ::std::string __AliIM__IARCacheService__updateUserLastLoginTime_name = "updateUserLastLoginTime"; - -static const ::std::string __AliIM__IARCacheService__updateSysMsgId_name = "updateSysMsgId"; - -static const ::std::string __AliIM__IARCacheService__updateUserDataInfo_name = "updateUserDataInfo"; - -static const ::std::string __AliIM__IARCacheService__getUserInfo2_name = "getUserInfo2"; - -static const ::std::string __AliIM__IARCacheService__updateUserDataInfo2_name = "updateUserDataInfo2"; - -void -IceInternal::incRef(::AliIM::IARCacheService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::IARCacheService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::IARCacheService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::IARCacheService* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::IARCacheServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::IARCacheServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::IARCacheService; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::IARCacheServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -AliIM::ARUSERINFO::operator==(const ARUSERINFO& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIM::ARUSERINFO::operator!=(const ARUSERINFO& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(strangerMsgCount != __rhs.strangerMsgCount) - { - return true; - } - if(addContactCount != __rhs.addContactCount) - { - return true; - } - if(reqContactCount != __rhs.reqContactCount) - { - return true; - } - if(addTribeCount != __rhs.addTribeCount) - { - return true; - } - if(lastLogonTime != __rhs.lastLogonTime) - { - return true; - } - if(sysMsgId != __rhs.sysMsgId) - { - return true; - } - if(onlineTime != __rhs.onlineTime) - { - return true; - } - if(loginIp != __rhs.loginIp) - { - return true; - } - return false; -} - -bool -AliIM::ARUSERINFO::operator<(const ARUSERINFO& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(strangerMsgCount < __rhs.strangerMsgCount) - { - return true; - } - else if(__rhs.strangerMsgCount < strangerMsgCount) - { - return false; - } - if(addContactCount < __rhs.addContactCount) - { - return true; - } - else if(__rhs.addContactCount < addContactCount) - { - return false; - } - if(reqContactCount < __rhs.reqContactCount) - { - return true; - } - else if(__rhs.reqContactCount < reqContactCount) - { - return false; - } - if(addTribeCount < __rhs.addTribeCount) - { - return true; - } - else if(__rhs.addTribeCount < addTribeCount) - { - return false; - } - if(lastLogonTime < __rhs.lastLogonTime) - { - return true; - } - else if(__rhs.lastLogonTime < lastLogonTime) - { - return false; - } - if(sysMsgId < __rhs.sysMsgId) - { - return true; - } - else if(__rhs.sysMsgId < sysMsgId) - { - return false; - } - if(onlineTime < __rhs.onlineTime) - { - return true; - } - else if(__rhs.onlineTime < onlineTime) - { - return false; - } - if(loginIp < __rhs.loginIp) - { - return true; - } - else if(__rhs.loginIp < loginIp) - { - return false; - } - return false; -} - -void -AliIM::ARUSERINFO::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(strangerMsgCount); - __os->write(addContactCount); - __os->write(reqContactCount); - __os->write(addTribeCount); - __os->write(lastLogonTime); - __os->write(sysMsgId); - __os->write(onlineTime); - __os->write(loginIp); -} - -void -AliIM::ARUSERINFO::__read(::IceInternal::BasicStream* __is) -{ - __is->read(strangerMsgCount); - __is->read(addContactCount); - __is->read(reqContactCount); - __is->read(addTribeCount); - __is->read(lastLogonTime); - __is->read(sysMsgId); - __is->read(onlineTime); - __is->read(loginIp); -} - -bool -AliIM::ARUSERCONTROLINFO::operator==(const ARUSERCONTROLINFO& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIM::ARUSERCONTROLINFO::operator!=(const ARUSERCONTROLINFO& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(strangerMsgCount != __rhs.strangerMsgCount) - { - return true; - } - if(addContactCount != __rhs.addContactCount) - { - return true; - } - if(reqContactCount != __rhs.reqContactCount) - { - return true; - } - if(addTribeCount != __rhs.addTribeCount) - { - return true; - } - return false; -} - -bool -AliIM::ARUSERCONTROLINFO::operator<(const ARUSERCONTROLINFO& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(strangerMsgCount < __rhs.strangerMsgCount) - { - return true; - } - else if(__rhs.strangerMsgCount < strangerMsgCount) - { - return false; - } - if(addContactCount < __rhs.addContactCount) - { - return true; - } - else if(__rhs.addContactCount < addContactCount) - { - return false; - } - if(reqContactCount < __rhs.reqContactCount) - { - return true; - } - else if(__rhs.reqContactCount < reqContactCount) - { - return false; - } - if(addTribeCount < __rhs.addTribeCount) - { - return true; - } - else if(__rhs.addTribeCount < addTribeCount) - { - return false; - } - return false; -} - -void -AliIM::ARUSERCONTROLINFO::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(strangerMsgCount); - __os->write(addContactCount); - __os->write(reqContactCount); - __os->write(addTribeCount); -} - -void -AliIM::ARUSERCONTROLINFO::__read(::IceInternal::BasicStream* __is) -{ - __is->read(strangerMsgCount); - __is->read(addContactCount); - __is->read(reqContactCount); - __is->read(addTribeCount); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::RIGHTTABLE& v, ::AliIM::__U__RIGHTTABLE) -{ - __os->writeSize(::Ice::Int(v.size())); - ::AliIM::RIGHTTABLE::const_iterator p; - for(p = v.begin(); p != v.end(); ++p) - { - __os->write(p->first); - __os->write(p->second); - } -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::RIGHTTABLE& v, ::AliIM::__U__RIGHTTABLE) -{ - ::Ice::Int sz; - __is->readSize(sz); - while(sz--) - { - ::std::pair pair; - __is->read(const_cast< ::Ice::Int&>(pair.first)); - ::AliIM::RIGHTTABLE::iterator __i = v.insert(v.end(), pair); - __is->read(__i->second); - } -} - -bool -AliIM::ARUSERINFO2::operator==(const ARUSERINFO2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIM::ARUSERINFO2::operator!=(const ARUSERINFO2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(rightMap != __rhs.rightMap) - { - return true; - } - if(lastLogonTime != __rhs.lastLogonTime) - { - return true; - } - if(sysMsgId != __rhs.sysMsgId) - { - return true; - } - if(onlineTime != __rhs.onlineTime) - { - return true; - } - if(loginIp != __rhs.loginIp) - { - return true; - } - return false; -} - -bool -AliIM::ARUSERINFO2::operator<(const ARUSERINFO2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(rightMap < __rhs.rightMap) - { - return true; - } - else if(__rhs.rightMap < rightMap) - { - return false; - } - if(lastLogonTime < __rhs.lastLogonTime) - { - return true; - } - else if(__rhs.lastLogonTime < lastLogonTime) - { - return false; - } - if(sysMsgId < __rhs.sysMsgId) - { - return true; - } - else if(__rhs.sysMsgId < sysMsgId) - { - return false; - } - if(onlineTime < __rhs.onlineTime) - { - return true; - } - else if(__rhs.onlineTime < onlineTime) - { - return false; - } - if(loginIp < __rhs.loginIp) - { - return true; - } - else if(__rhs.loginIp < loginIp) - { - return false; - } - return false; -} - -void -AliIM::ARUSERINFO2::__write(::IceInternal::BasicStream* __os) const -{ - ::AliIM::__write(__os, rightMap, ::AliIM::__U__RIGHTTABLE()); - __os->write(lastLogonTime); - __os->write(sysMsgId); - __os->write(onlineTime); - __os->write(loginIp); -} - -void -AliIM::ARUSERINFO2::__read(::IceInternal::BasicStream* __is) -{ - ::AliIM::__read(__is, rightMap, ::AliIM::__U__RIGHTTABLE()); - __is->read(lastLogonTime); - __is->read(sysMsgId); - __is->read(onlineTime); - __is->read(loginIp); -} - -bool -AliIM::ARUSERCONTROLINFO2::operator==(const ARUSERCONTROLINFO2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIM::ARUSERCONTROLINFO2::operator!=(const ARUSERCONTROLINFO2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(rightMap != __rhs.rightMap) - { - return true; - } - return false; -} - -bool -AliIM::ARUSERCONTROLINFO2::operator<(const ARUSERCONTROLINFO2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(rightMap < __rhs.rightMap) - { - return true; - } - else if(__rhs.rightMap < rightMap) - { - return false; - } - return false; -} - -void -AliIM::ARUSERCONTROLINFO2::__write(::IceInternal::BasicStream* __os) const -{ - ::AliIM::__write(__os, rightMap, ::AliIM::__U__RIGHTTABLE()); -} - -void -AliIM::ARUSERCONTROLINFO2::__read(::IceInternal::BasicStream* __is) -{ - ::AliIM::__read(__is, rightMap, ::AliIM::__U__RIGHTTABLE()); -} - -void -AliIM::__addObject(const IARCacheServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const IARCacheServicePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const IARCacheServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(IARCacheServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::IARCacheService::getUserInfo(const ::std::string& uid, ::AliIM::ARUSERINFO& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IARCacheService__getUserInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IARCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IARCacheService*>(__delBase.get()); - return __del->getUserInfo(uid, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IARCacheService::updateUserLoginEx(const ::std::string& uid, ::Ice::Int sysMsgId, const ::std::string& loginIp, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IARCacheService__updateUserLoginEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IARCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IARCacheService*>(__delBase.get()); - return __del->updateUserLoginEx(uid, sysMsgId, loginIp, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IARCacheService::updateUserLoginEx2(const ::std::string& uid, ::Ice::Int sysMsgId, const ::std::string& loginIp, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IARCacheService__updateUserLoginEx2_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IARCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IARCacheService*>(__delBase.get()); - return __del->updateUserLoginEx2(uid, sysMsgId, loginIp, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IARCacheService::updateUserLastLoginTime(const ::std::string& uid, ::Ice::Int lastLoginTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IARCacheService__updateUserLastLoginTime_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IARCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IARCacheService*>(__delBase.get()); - return __del->updateUserLastLoginTime(uid, lastLoginTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IARCacheService::updateSysMsgId(const ::std::string& uid, ::Ice::Int sysMsgId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IARCacheService__updateSysMsgId_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IARCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IARCacheService*>(__delBase.get()); - return __del->updateSysMsgId(uid, sysMsgId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IARCacheService::updateUserDataInfo(const ::std::string& uid, const ::AliIM::ARUSERCONTROLINFO& controlInfo, ::Ice::Int onlineTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IARCacheService__updateUserDataInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IARCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IARCacheService*>(__delBase.get()); - return __del->updateUserDataInfo(uid, controlInfo, onlineTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IARCacheService::getUserInfo2(const ::std::string& uid, ::AliIM::ARUSERINFO2& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IARCacheService__getUserInfo2_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IARCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IARCacheService*>(__delBase.get()); - return __del->getUserInfo2(uid, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IARCacheService::updateUserDataInfo2(const ::std::string& uid, const ::AliIM::ARUSERCONTROLINFO2& controlInfo, ::Ice::Int onlineTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IARCacheService__updateUserDataInfo2_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IARCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IARCacheService*>(__delBase.get()); - return __del->updateUserDataInfo2(uid, controlInfo, onlineTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::IARCacheService::ice_staticId() -{ - return ::AliIM::IARCacheService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::IARCacheService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::IARCacheService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::IARCacheService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::IARCacheService); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::IARCacheService& l, const ::IceProxy::AliIM::IARCacheService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::IARCacheService& l, const ::IceProxy::AliIM::IARCacheService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::IARCacheService& l, const ::IceProxy::AliIM::IARCacheService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::IARCacheService& l, const ::IceProxy::AliIM::IARCacheService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::IARCacheService& l, const ::IceProxy::AliIM::IARCacheService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::IARCacheService& l, const ::IceProxy::AliIM::IARCacheService& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::IARCacheService::getUserInfo(const ::std::string& uid, ::AliIM::ARUSERINFO& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IARCacheService__getUserInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IARCacheService::updateUserLoginEx(const ::std::string& uid, ::Ice::Int sysMsgId, const ::std::string& loginIp, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IARCacheService__updateUserLoginEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(sysMsgId); - __os->write(loginIp); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IARCacheService::updateUserLoginEx2(const ::std::string& uid, ::Ice::Int sysMsgId, const ::std::string& loginIp, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IARCacheService__updateUserLoginEx2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(sysMsgId); - __os->write(loginIp); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IARCacheService::updateUserLastLoginTime(const ::std::string& uid, ::Ice::Int lastLoginTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IARCacheService__updateUserLastLoginTime_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(lastLoginTime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IARCacheService::updateSysMsgId(const ::std::string& uid, ::Ice::Int sysMsgId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IARCacheService__updateSysMsgId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(sysMsgId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IARCacheService::updateUserDataInfo(const ::std::string& uid, const ::AliIM::ARUSERCONTROLINFO& controlInfo, ::Ice::Int onlineTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IARCacheService__updateUserDataInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - controlInfo.__write(__os); - __os->write(onlineTime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IARCacheService::getUserInfo2(const ::std::string& uid, ::AliIM::ARUSERINFO2& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IARCacheService__getUserInfo2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IARCacheService::updateUserDataInfo2(const ::std::string& uid, const ::AliIM::ARUSERCONTROLINFO2& controlInfo, ::Ice::Int onlineTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IARCacheService__updateUserDataInfo2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - controlInfo.__write(__os); - __os->write(onlineTime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::IARCacheService::getUserInfo(const ::std::string& uid, ::AliIM::ARUSERINFO& userInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IARCacheService__getUserInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IARCacheService* __servant = dynamic_cast< ::AliIM::IARCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserInfo(uid, userInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IARCacheService::updateUserLoginEx(const ::std::string& uid, ::Ice::Int sysMsgId, const ::std::string& loginIp, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IARCacheService__updateUserLoginEx_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IARCacheService* __servant = dynamic_cast< ::AliIM::IARCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateUserLoginEx(uid, sysMsgId, loginIp, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IARCacheService::updateUserLoginEx2(const ::std::string& uid, ::Ice::Int sysMsgId, const ::std::string& loginIp, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IARCacheService__updateUserLoginEx2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IARCacheService* __servant = dynamic_cast< ::AliIM::IARCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateUserLoginEx2(uid, sysMsgId, loginIp, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IARCacheService::updateUserLastLoginTime(const ::std::string& uid, ::Ice::Int lastLoginTime, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IARCacheService__updateUserLastLoginTime_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IARCacheService* __servant = dynamic_cast< ::AliIM::IARCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateUserLastLoginTime(uid, lastLoginTime, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IARCacheService::updateSysMsgId(const ::std::string& uid, ::Ice::Int sysMsgId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IARCacheService__updateSysMsgId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IARCacheService* __servant = dynamic_cast< ::AliIM::IARCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateSysMsgId(uid, sysMsgId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IARCacheService::updateUserDataInfo(const ::std::string& uid, const ::AliIM::ARUSERCONTROLINFO& controlInfo, ::Ice::Int onlineTime, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IARCacheService__updateUserDataInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IARCacheService* __servant = dynamic_cast< ::AliIM::IARCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateUserDataInfo(uid, controlInfo, onlineTime, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IARCacheService::getUserInfo2(const ::std::string& uid, ::AliIM::ARUSERINFO2& userInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IARCacheService__getUserInfo2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IARCacheService* __servant = dynamic_cast< ::AliIM::IARCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserInfo2(uid, userInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IARCacheService::updateUserDataInfo2(const ::std::string& uid, const ::AliIM::ARUSERCONTROLINFO2& controlInfo, ::Ice::Int onlineTime, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IARCacheService__updateUserDataInfo2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IARCacheService* __servant = dynamic_cast< ::AliIM::IARCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateUserDataInfo2(uid, controlInfo, onlineTime, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::IARCacheService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__IARCacheService_ids[2] = -{ - "::AliIM::IARCacheService", - "::Ice::Object" -}; - -bool -AliIM::IARCacheService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__IARCacheService_ids, __AliIM__IARCacheService_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::IARCacheService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__IARCacheService_ids[0], &__AliIM__IARCacheService_ids[2]); -} - -const ::std::string& -AliIM::IARCacheService::ice_id(const ::Ice::Current&) const -{ - return __AliIM__IARCacheService_ids[0]; -} - -const ::std::string& -AliIM::IARCacheService::ice_staticId() -{ - return __AliIM__IARCacheService_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::IARCacheService::___getUserInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::AliIM::ARUSERINFO userInfo; - ::Ice::Int __ret = getUserInfo(uid, userInfo, __current); - userInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IARCacheService::___updateUserLoginEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int sysMsgId; - ::std::string loginIp; - __is->read(uid); - __is->read(sysMsgId); - __is->read(loginIp); - ::Ice::Int __ret = updateUserLoginEx(uid, sysMsgId, loginIp, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IARCacheService::___updateUserLoginEx2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int sysMsgId; - ::std::string loginIp; - __is->read(uid); - __is->read(sysMsgId); - __is->read(loginIp); - ::Ice::Int __ret = updateUserLoginEx2(uid, sysMsgId, loginIp, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IARCacheService::___updateUserLastLoginTime(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int lastLoginTime; - __is->read(uid); - __is->read(lastLoginTime); - ::Ice::Int __ret = updateUserLastLoginTime(uid, lastLoginTime, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IARCacheService::___updateSysMsgId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int sysMsgId; - __is->read(uid); - __is->read(sysMsgId); - ::Ice::Int __ret = updateSysMsgId(uid, sysMsgId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IARCacheService::___updateUserDataInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::AliIM::ARUSERCONTROLINFO controlInfo; - ::Ice::Int onlineTime; - __is->read(uid); - controlInfo.__read(__is); - __is->read(onlineTime); - ::Ice::Int __ret = updateUserDataInfo(uid, controlInfo, onlineTime, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IARCacheService::___getUserInfo2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::AliIM::ARUSERINFO2 userInfo; - ::Ice::Int __ret = getUserInfo2(uid, userInfo, __current); - userInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IARCacheService::___updateUserDataInfo2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::AliIM::ARUSERCONTROLINFO2 controlInfo; - ::Ice::Int onlineTime; - __is->read(uid); - controlInfo.__read(__is); - __is->read(onlineTime); - ::Ice::Int __ret = updateUserDataInfo2(uid, controlInfo, onlineTime, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__IARCacheService_all[] = -{ - "getUserInfo", - "getUserInfo2", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "updateSysMsgId", - "updateUserDataInfo", - "updateUserDataInfo2", - "updateUserLastLoginTime", - "updateUserLoginEx", - "updateUserLoginEx2" -}; - -::IceInternal::DispatchStatus -AliIM::IARCacheService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__IARCacheService_all, __AliIM__IARCacheService_all + 12, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__IARCacheService_all) - { - case 0: - { - return ___getUserInfo(in, current); - } - case 1: - { - return ___getUserInfo2(in, current); - } - case 2: - { - return ___ice_id(in, current); - } - case 3: - { - return ___ice_ids(in, current); - } - case 4: - { - return ___ice_isA(in, current); - } - case 5: - { - return ___ice_ping(in, current); - } - case 6: - { - return ___updateSysMsgId(in, current); - } - case 7: - { - return ___updateUserDataInfo(in, current); - } - case 8: - { - return ___updateUserDataInfo2(in, current); - } - case 9: - { - return ___updateUserLastLoginTime(in, current); - } - case 10: - { - return ___updateUserLoginEx(in, current); - } - case 11: - { - return ___updateUserLoginEx2(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::IARCacheService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::IARCacheService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::IARCacheService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::IARCacheService was not generated with stream support"; - throw ex; -} - -void -AliIM::IARCacheService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::IARCacheService was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__IARCacheServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::IARCacheServicePtr* p = static_cast< ::AliIM::IARCacheServicePtr*>(__addr); - assert(p); - *p = ::AliIM::IARCacheServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::IARCacheService::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::IARCacheService& l, const ::AliIM::IARCacheService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::IARCacheService& l, const ::AliIM::IARCacheService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::IARCacheService& l, const ::AliIM::IARCacheService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::IARCacheService& l, const ::AliIM::IARCacheService& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::IARCacheService& l, const ::AliIM::IARCacheService& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::IARCacheService& l, const ::AliIM::IARCacheService& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/atmMember.cpp.svn-base b/features/aliww/source/.svn/text-base/atmMember.cpp.svn-base deleted file mode 100644 index 334b759..0000000 --- a/features/aliww/source/.svn/text-base/atmMember.cpp.svn-base +++ /dev/null @@ -1,1862 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `atmMember.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __atmWebMember__UserProfile__GetUserPwd_name = "GetUserPwd"; - -static const ::std::string __atmWebMember__UserProfile__GetUDBData_name = "GetUDBData"; - -static const ::std::string __atmWebMember__UserProfile__GetBasicProfile_name = "GetBasicProfile"; - -static const ::std::string __atmWebMember__UserProfile__GetContactInfo_name = "GetContactInfo"; - -void -IceInternal::incRef(::atmWebMember::UserProfile* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::atmWebMember::UserProfile* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::atmWebMember::UserProfile* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::atmWebMember::UserProfile* p) -{ - p->__decRef(); -} - -void -atmWebMember::__write(::IceInternal::BasicStream* __os, const ::atmWebMember::UserProfilePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -atmWebMember::__read(::IceInternal::BasicStream* __is, ::atmWebMember::UserProfilePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::atmWebMember::UserProfile; - v->__copyFrom(proxy); - } -} - -void -atmWebMember::__write(::IceInternal::BasicStream* __os, const ::atmWebMember::UserProfilePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -atmWebMember::sBasicProfile::operator==(const sBasicProfile& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -atmWebMember::sBasicProfile::operator!=(const sBasicProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(longid != __rhs.longid) - { - return true; - } - if(isExist != __rhs.isExist) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(username != __rhs.username) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(companyname != __rhs.companyname) - { - return true; - } - if(jobTitle != __rhs.jobTitle) - { - return true; - } - if(oldOverseaLevel != __rhs.oldOverseaLevel) - { - return true; - } - if(oldGslevel != __rhs.oldGslevel) - { - return true; - } - if(memberLevel != __rhs.memberLevel) - { - return true; - } - if(categoryids != __rhs.categoryids) - { - return true; - } - if(area != __rhs.area) - { - return true; - } - if(country != __rhs.country) - { - return true; - } - if(companyId != __rhs.companyId) - { - return true; - } - return false; -} - -bool -atmWebMember::sBasicProfile::operator<(const sBasicProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(longid < __rhs.longid) - { - return true; - } - else if(__rhs.longid < longid) - { - return false; - } - if(isExist < __rhs.isExist) - { - return true; - } - else if(__rhs.isExist < isExist) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(username < __rhs.username) - { - return true; - } - else if(__rhs.username < username) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(companyname < __rhs.companyname) - { - return true; - } - else if(__rhs.companyname < companyname) - { - return false; - } - if(jobTitle < __rhs.jobTitle) - { - return true; - } - else if(__rhs.jobTitle < jobTitle) - { - return false; - } - if(oldOverseaLevel < __rhs.oldOverseaLevel) - { - return true; - } - else if(__rhs.oldOverseaLevel < oldOverseaLevel) - { - return false; - } - if(oldGslevel < __rhs.oldGslevel) - { - return true; - } - else if(__rhs.oldGslevel < oldGslevel) - { - return false; - } - if(memberLevel < __rhs.memberLevel) - { - return true; - } - else if(__rhs.memberLevel < memberLevel) - { - return false; - } - if(categoryids < __rhs.categoryids) - { - return true; - } - else if(__rhs.categoryids < categoryids) - { - return false; - } - if(area < __rhs.area) - { - return true; - } - else if(__rhs.area < area) - { - return false; - } - if(country < __rhs.country) - { - return true; - } - else if(__rhs.country < country) - { - return false; - } - if(companyId < __rhs.companyId) - { - return true; - } - else if(__rhs.companyId < companyId) - { - return false; - } - return false; -} - -void -atmWebMember::sBasicProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(longid); - __os->write(isExist); - __os->write(status); - __os->write(username); - __os->write(password); - __os->write(companyname); - __os->write(jobTitle); - __os->write(oldOverseaLevel); - __os->write(oldGslevel); - __os->write(memberLevel); - __os->write(categoryids); - __os->write(area); - __os->write(country); - __os->write(companyId); -} - -void -atmWebMember::sBasicProfile::__read(::IceInternal::BasicStream* __is) -{ - __is->read(longid); - __is->read(isExist); - __is->read(status); - __is->read(username); - __is->read(password); - __is->read(companyname); - __is->read(jobTitle); - __is->read(oldOverseaLevel); - __is->read(oldGslevel); - __is->read(memberLevel); - __is->read(categoryids); - __is->read(area); - __is->read(country); - __is->read(companyId); -} - -bool -atmWebMember::sUdbData::operator==(const sUdbData& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -atmWebMember::sUdbData::operator!=(const sUdbData& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(longid != __rhs.longid) - { - return true; - } - if(isExist != __rhs.isExist) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(username != __rhs.username) - { - return true; - } - if(country != __rhs.country) - { - return true; - } - if(companyname != __rhs.companyname) - { - return true; - } - if(jobTitle != __rhs.jobTitle) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(zip != __rhs.zip) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(phone != __rhs.phone) - { - return true; - } - if(mobilephone != __rhs.mobilephone) - { - return true; - } - if(prov != __rhs.prov) - { - return true; - } - if(city != __rhs.city) - { - return true; - } - if(usergender != __rhs.usergender) - { - return true; - } - if(companyaddress != __rhs.companyaddress) - { - return true; - } - if(companyfax != __rhs.companyfax) - { - return true; - } - if(companyzip != __rhs.companyzip) - { - return true; - } - if(companyemail != __rhs.companyemail) - { - return true; - } - if(companyurl != __rhs.companyurl) - { - return true; - } - if(purchase != __rhs.purchase) - { - return true; - } - if(provide != __rhs.provide) - { - return true; - } - if(department != __rhs.department) - { - return true; - } - return false; -} - -bool -atmWebMember::sUdbData::operator<(const sUdbData& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(longid < __rhs.longid) - { - return true; - } - else if(__rhs.longid < longid) - { - return false; - } - if(isExist < __rhs.isExist) - { - return true; - } - else if(__rhs.isExist < isExist) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(username < __rhs.username) - { - return true; - } - else if(__rhs.username < username) - { - return false; - } - if(country < __rhs.country) - { - return true; - } - else if(__rhs.country < country) - { - return false; - } - if(companyname < __rhs.companyname) - { - return true; - } - else if(__rhs.companyname < companyname) - { - return false; - } - if(jobTitle < __rhs.jobTitle) - { - return true; - } - else if(__rhs.jobTitle < jobTitle) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(zip < __rhs.zip) - { - return true; - } - else if(__rhs.zip < zip) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(phone < __rhs.phone) - { - return true; - } - else if(__rhs.phone < phone) - { - return false; - } - if(mobilephone < __rhs.mobilephone) - { - return true; - } - else if(__rhs.mobilephone < mobilephone) - { - return false; - } - if(prov < __rhs.prov) - { - return true; - } - else if(__rhs.prov < prov) - { - return false; - } - if(city < __rhs.city) - { - return true; - } - else if(__rhs.city < city) - { - return false; - } - if(usergender < __rhs.usergender) - { - return true; - } - else if(__rhs.usergender < usergender) - { - return false; - } - if(companyaddress < __rhs.companyaddress) - { - return true; - } - else if(__rhs.companyaddress < companyaddress) - { - return false; - } - if(companyfax < __rhs.companyfax) - { - return true; - } - else if(__rhs.companyfax < companyfax) - { - return false; - } - if(companyzip < __rhs.companyzip) - { - return true; - } - else if(__rhs.companyzip < companyzip) - { - return false; - } - if(companyemail < __rhs.companyemail) - { - return true; - } - else if(__rhs.companyemail < companyemail) - { - return false; - } - if(companyurl < __rhs.companyurl) - { - return true; - } - else if(__rhs.companyurl < companyurl) - { - return false; - } - if(purchase < __rhs.purchase) - { - return true; - } - else if(__rhs.purchase < purchase) - { - return false; - } - if(provide < __rhs.provide) - { - return true; - } - else if(__rhs.provide < provide) - { - return false; - } - if(department < __rhs.department) - { - return true; - } - else if(__rhs.department < department) - { - return false; - } - return false; -} - -void -atmWebMember::sUdbData::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(longid); - __os->write(isExist); - __os->write(status); - __os->write(password); - __os->write(username); - __os->write(country); - __os->write(companyname); - __os->write(jobTitle); - __os->write(email); - __os->write(zip); - __os->write(address); - __os->write(phone); - __os->write(mobilephone); - __os->write(prov); - __os->write(city); - __os->write(usergender); - __os->write(companyaddress); - __os->write(companyfax); - __os->write(companyzip); - __os->write(companyemail); - __os->write(companyurl); - __os->write(purchase); - __os->write(provide); - __os->write(department); -} - -void -atmWebMember::sUdbData::__read(::IceInternal::BasicStream* __is) -{ - __is->read(longid); - __is->read(isExist); - __is->read(status); - __is->read(password); - __is->read(username); - __is->read(country); - __is->read(companyname); - __is->read(jobTitle); - __is->read(email); - __is->read(zip); - __is->read(address); - __is->read(phone); - __is->read(mobilephone); - __is->read(prov); - __is->read(city); - __is->read(usergender); - __is->read(companyaddress); - __is->read(companyfax); - __is->read(companyzip); - __is->read(companyemail); - __is->read(companyurl); - __is->read(purchase); - __is->read(provide); - __is->read(department); -} - -bool -atmWebMember::sContactInfo::operator==(const sContactInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -atmWebMember::sContactInfo::operator!=(const sContactInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(longid != __rhs.longid) - { - return true; - } - if(isExist != __rhs.isExist) - { - return true; - } - if(firstname != __rhs.firstname) - { - return true; - } - if(lastname != __rhs.lastname) - { - return true; - } - if(country != __rhs.country) - { - return true; - } - if(companyId != __rhs.companyId) - { - return true; - } - if(companyname != __rhs.companyname) - { - return true; - } - if(companyaddress != __rhs.companyaddress) - { - return true; - } - if(companyZip != __rhs.companyZip) - { - return true; - } - if(homepageUrl != __rhs.homepageUrl) - { - return true; - } - if(bizType != __rhs.bizType) - { - return true; - } - if(provideProducts != __rhs.provideProducts) - { - return true; - } - if(jobTitle != __rhs.jobTitle) - { - return true; - } - if(categoryids != __rhs.categoryids) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(phone != __rhs.phone) - { - return true; - } - if(faxNumber != __rhs.faxNumber) - { - return true; - } - if(mobilephone != __rhs.mobilephone) - { - return true; - } - if(usergender != __rhs.usergender) - { - return true; - } - return false; -} - -bool -atmWebMember::sContactInfo::operator<(const sContactInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(longid < __rhs.longid) - { - return true; - } - else if(__rhs.longid < longid) - { - return false; - } - if(isExist < __rhs.isExist) - { - return true; - } - else if(__rhs.isExist < isExist) - { - return false; - } - if(firstname < __rhs.firstname) - { - return true; - } - else if(__rhs.firstname < firstname) - { - return false; - } - if(lastname < __rhs.lastname) - { - return true; - } - else if(__rhs.lastname < lastname) - { - return false; - } - if(country < __rhs.country) - { - return true; - } - else if(__rhs.country < country) - { - return false; - } - if(companyId < __rhs.companyId) - { - return true; - } - else if(__rhs.companyId < companyId) - { - return false; - } - if(companyname < __rhs.companyname) - { - return true; - } - else if(__rhs.companyname < companyname) - { - return false; - } - if(companyaddress < __rhs.companyaddress) - { - return true; - } - else if(__rhs.companyaddress < companyaddress) - { - return false; - } - if(companyZip < __rhs.companyZip) - { - return true; - } - else if(__rhs.companyZip < companyZip) - { - return false; - } - if(homepageUrl < __rhs.homepageUrl) - { - return true; - } - else if(__rhs.homepageUrl < homepageUrl) - { - return false; - } - if(bizType < __rhs.bizType) - { - return true; - } - else if(__rhs.bizType < bizType) - { - return false; - } - if(provideProducts < __rhs.provideProducts) - { - return true; - } - else if(__rhs.provideProducts < provideProducts) - { - return false; - } - if(jobTitle < __rhs.jobTitle) - { - return true; - } - else if(__rhs.jobTitle < jobTitle) - { - return false; - } - if(categoryids < __rhs.categoryids) - { - return true; - } - else if(__rhs.categoryids < categoryids) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(phone < __rhs.phone) - { - return true; - } - else if(__rhs.phone < phone) - { - return false; - } - if(faxNumber < __rhs.faxNumber) - { - return true; - } - else if(__rhs.faxNumber < faxNumber) - { - return false; - } - if(mobilephone < __rhs.mobilephone) - { - return true; - } - else if(__rhs.mobilephone < mobilephone) - { - return false; - } - if(usergender < __rhs.usergender) - { - return true; - } - else if(__rhs.usergender < usergender) - { - return false; - } - return false; -} - -void -atmWebMember::sContactInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(longid); - __os->write(isExist); - __os->write(firstname); - __os->write(lastname); - __os->write(country); - __os->write(companyId); - __os->write(companyname); - __os->write(companyaddress); - __os->write(companyZip); - __os->write(homepageUrl); - __os->write(bizType); - __os->write(provideProducts); - __os->write(jobTitle); - __os->write(categoryids); - __os->write(email); - __os->write(phone); - __os->write(faxNumber); - __os->write(mobilephone); - __os->write(usergender); -} - -void -atmWebMember::sContactInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(longid); - __is->read(isExist); - __is->read(firstname); - __is->read(lastname); - __is->read(country); - __is->read(companyId); - __is->read(companyname); - __is->read(companyaddress); - __is->read(companyZip); - __is->read(homepageUrl); - __is->read(bizType); - __is->read(provideProducts); - __is->read(jobTitle); - __is->read(categoryids); - __is->read(email); - __is->read(phone); - __is->read(faxNumber); - __is->read(mobilephone); - __is->read(usergender); -} - -bool -atmWebMember::SBLoginInfo::operator==(const SBLoginInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -atmWebMember::SBLoginInfo::operator!=(const SBLoginInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(longid != __rhs.longid) - { - return true; - } - if(isExist != __rhs.isExist) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(passwd != __rhs.passwd) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(seq != __rhs.seq) - { - return true; - } - return false; -} - -bool -atmWebMember::SBLoginInfo::operator<(const SBLoginInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(longid < __rhs.longid) - { - return true; - } - else if(__rhs.longid < longid) - { - return false; - } - if(isExist < __rhs.isExist) - { - return true; - } - else if(__rhs.isExist < isExist) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(passwd < __rhs.passwd) - { - return true; - } - else if(__rhs.passwd < passwd) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(seq < __rhs.seq) - { - return true; - } - else if(__rhs.seq < seq) - { - return false; - } - return false; -} - -void -atmWebMember::SBLoginInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(longid); - __os->write(isExist); - __os->write(status); - __os->write(passwd); - __os->write(email); - __os->write(seq); -} - -void -atmWebMember::SBLoginInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(longid); - __is->read(isExist); - __is->read(status); - __is->read(passwd); - __is->read(email); - __is->read(seq); -} - -void -atmWebMember::__addObject(const UserProfilePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -atmWebMember::__usesClasses(const UserProfilePtr& p) -{ - return p->__usesClasses(); -} - -void -atmWebMember::__decRefUnsafe(const UserProfilePtr& p) -{ - p->__decRefUnsafe(); -} - -void -atmWebMember::__clearHandleUnsafe(UserProfilePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::atmWebMember::UserProfile::GetUserPwd(const ::std::string& uid, ::atmWebMember::SBLoginInfo& pwdinfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__atmWebMember__UserProfile__GetUserPwd_name); - __delBase = __getDelegate(); - ::IceDelegate::atmWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::atmWebMember::UserProfile*>(__delBase.get()); - return __del->GetUserPwd(uid, pwdinfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::atmWebMember::UserProfile::GetUDBData(const ::std::string& uid, ::atmWebMember::sUdbData& udbInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__atmWebMember__UserProfile__GetUDBData_name); - __delBase = __getDelegate(); - ::IceDelegate::atmWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::atmWebMember::UserProfile*>(__delBase.get()); - return __del->GetUDBData(uid, udbInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::atmWebMember::UserProfile::GetBasicProfile(const ::std::string& uid, ::atmWebMember::sBasicProfile& info, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__atmWebMember__UserProfile__GetBasicProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::atmWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::atmWebMember::UserProfile*>(__delBase.get()); - return __del->GetBasicProfile(uid, info, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::atmWebMember::UserProfile::GetContactInfo(const ::std::string& uid, ::atmWebMember::sContactInfo& cinfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__atmWebMember__UserProfile__GetContactInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::atmWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::atmWebMember::UserProfile*>(__delBase.get()); - return __del->GetContactInfo(uid, cinfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::atmWebMember::UserProfile::ice_staticId() -{ - return ::atmWebMember::UserProfile::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::atmWebMember::UserProfile::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::atmWebMember::UserProfile); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::atmWebMember::UserProfile::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::atmWebMember::UserProfile); -} - -bool -IceProxy::atmWebMember::operator==(const ::IceProxy::atmWebMember::UserProfile& l, const ::IceProxy::atmWebMember::UserProfile& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::atmWebMember::operator!=(const ::IceProxy::atmWebMember::UserProfile& l, const ::IceProxy::atmWebMember::UserProfile& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::atmWebMember::operator<(const ::IceProxy::atmWebMember::UserProfile& l, const ::IceProxy::atmWebMember::UserProfile& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::atmWebMember::operator<=(const ::IceProxy::atmWebMember::UserProfile& l, const ::IceProxy::atmWebMember::UserProfile& r) -{ - return l < r || l == r; -} - -bool -IceProxy::atmWebMember::operator>(const ::IceProxy::atmWebMember::UserProfile& l, const ::IceProxy::atmWebMember::UserProfile& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::atmWebMember::operator>=(const ::IceProxy::atmWebMember::UserProfile& l, const ::IceProxy::atmWebMember::UserProfile& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::atmWebMember::UserProfile::GetUserPwd(const ::std::string& uid, ::atmWebMember::SBLoginInfo& pwdinfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __atmWebMember__UserProfile__GetUserPwd_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - pwdinfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::atmWebMember::UserProfile::GetUDBData(const ::std::string& uid, ::atmWebMember::sUdbData& udbInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __atmWebMember__UserProfile__GetUDBData_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - udbInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::atmWebMember::UserProfile::GetBasicProfile(const ::std::string& uid, ::atmWebMember::sBasicProfile& info, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __atmWebMember__UserProfile__GetBasicProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - info.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::atmWebMember::UserProfile::GetContactInfo(const ::std::string& uid, ::atmWebMember::sContactInfo& cinfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __atmWebMember__UserProfile__GetContactInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - cinfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::atmWebMember::UserProfile::GetUserPwd(const ::std::string& uid, ::atmWebMember::SBLoginInfo& pwdinfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __atmWebMember__UserProfile__GetUserPwd_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::atmWebMember::UserProfile* __servant = dynamic_cast< ::atmWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUserPwd(uid, pwdinfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::atmWebMember::UserProfile::GetUDBData(const ::std::string& uid, ::atmWebMember::sUdbData& udbInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __atmWebMember__UserProfile__GetUDBData_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::atmWebMember::UserProfile* __servant = dynamic_cast< ::atmWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUDBData(uid, udbInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::atmWebMember::UserProfile::GetBasicProfile(const ::std::string& uid, ::atmWebMember::sBasicProfile& info, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __atmWebMember__UserProfile__GetBasicProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::atmWebMember::UserProfile* __servant = dynamic_cast< ::atmWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetBasicProfile(uid, info, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::atmWebMember::UserProfile::GetContactInfo(const ::std::string& uid, ::atmWebMember::sContactInfo& cinfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __atmWebMember__UserProfile__GetContactInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::atmWebMember::UserProfile* __servant = dynamic_cast< ::atmWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetContactInfo(uid, cinfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -atmWebMember::UserProfile::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __atmWebMember__UserProfile_ids[2] = -{ - "::Ice::Object", - "::atmWebMember::UserProfile" -}; - -bool -atmWebMember::UserProfile::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__atmWebMember__UserProfile_ids, __atmWebMember__UserProfile_ids + 2, _s); -} - -::std::vector< ::std::string> -atmWebMember::UserProfile::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__atmWebMember__UserProfile_ids[0], &__atmWebMember__UserProfile_ids[2]); -} - -const ::std::string& -atmWebMember::UserProfile::ice_id(const ::Ice::Current&) const -{ - return __atmWebMember__UserProfile_ids[1]; -} - -const ::std::string& -atmWebMember::UserProfile::ice_staticId() -{ - return __atmWebMember__UserProfile_ids[1]; -} - -::IceInternal::DispatchStatus -atmWebMember::UserProfile::___GetUserPwd(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::atmWebMember::SBLoginInfo pwdinfo; - ::Ice::Int __ret = GetUserPwd(uid, pwdinfo, __current); - pwdinfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -atmWebMember::UserProfile::___GetUDBData(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::atmWebMember::sUdbData udbInfo; - ::Ice::Int __ret = GetUDBData(uid, udbInfo, __current); - udbInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -atmWebMember::UserProfile::___GetBasicProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::atmWebMember::sBasicProfile info; - ::Ice::Int __ret = GetBasicProfile(uid, info, __current); - info.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -atmWebMember::UserProfile::___GetContactInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::atmWebMember::sContactInfo cinfo; - ::Ice::Int __ret = GetContactInfo(uid, cinfo, __current); - cinfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __atmWebMember__UserProfile_all[] = -{ - "GetBasicProfile", - "GetContactInfo", - "GetUDBData", - "GetUserPwd", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -atmWebMember::UserProfile::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__atmWebMember__UserProfile_all, __atmWebMember__UserProfile_all + 8, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __atmWebMember__UserProfile_all) - { - case 0: - { - return ___GetBasicProfile(in, current); - } - case 1: - { - return ___GetContactInfo(in, current); - } - case 2: - { - return ___GetUDBData(in, current); - } - case 3: - { - return ___GetUserPwd(in, current); - } - case 4: - { - return ___ice_id(in, current); - } - case 5: - { - return ___ice_ids(in, current); - } - case 6: - { - return ___ice_isA(in, current); - } - case 7: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -atmWebMember::UserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -atmWebMember::UserProfile::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -atmWebMember::UserProfile::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type atmWebMember::UserProfile was not generated with stream support"; - throw ex; -} - -void -atmWebMember::UserProfile::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type atmWebMember::UserProfile was not generated with stream support"; - throw ex; -} - -void -atmWebMember::__patch__UserProfilePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::atmWebMember::UserProfilePtr* p = static_cast< ::atmWebMember::UserProfilePtr*>(__addr); - assert(p); - *p = ::atmWebMember::UserProfilePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::atmWebMember::UserProfile::ice_staticId(); - throw e; - } -} - -bool -atmWebMember::operator==(const ::atmWebMember::UserProfile& l, const ::atmWebMember::UserProfile& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -atmWebMember::operator!=(const ::atmWebMember::UserProfile& l, const ::atmWebMember::UserProfile& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -atmWebMember::operator<(const ::atmWebMember::UserProfile& l, const ::atmWebMember::UserProfile& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -atmWebMember::operator<=(const ::atmWebMember::UserProfile& l, const ::atmWebMember::UserProfile& r) -{ - return l < r || l == r; -} - -bool -atmWebMember::operator>(const ::atmWebMember::UserProfile& l, const ::atmWebMember::UserProfile& r) -{ - return !(l < r) && !(l == r); -} - -bool -atmWebMember::operator>=(const ::atmWebMember::UserProfile& l, const ::atmWebMember::UserProfile& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/authservice.cpp.svn-base b/features/aliww/source/.svn/text-base/authservice.cpp.svn-base deleted file mode 100644 index b34efe2..0000000 --- a/features/aliww/source/.svn/text-base/authservice.cpp.svn-base +++ /dev/null @@ -1,1077 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `authservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AuthService__AuthSrvMgr__AddUser_name = "AddUser"; - -static const ::std::string __AuthService__AuthSrvMgr__DelUser_name = "DelUser"; - -static const ::std::string __AuthService__AuthSrvMgr__CheckUser_name = "CheckUser"; - -static const ::std::string __AuthService__AuthSrvMgr__ForbiddenUser_name = "ForbiddenUser"; - -static const ::std::string __AuthService__AuthSrvMgr__PermitUser_name = "PermitUser"; - -static const ::std::string __AuthService__AuthSrvMgr__GetForbiddenUser_name = "GetForbiddenUser"; - -void -IceInternal::incRef(::AuthService::AuthSrvMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AuthService::AuthSrvMgr* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AuthService::AuthSrvMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AuthService::AuthSrvMgr* p) -{ - p->__decRef(); -} - -void -AuthService::__write(::IceInternal::BasicStream* __os, const ::AuthService::AuthSrvMgrPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AuthService::__read(::IceInternal::BasicStream* __is, ::AuthService::AuthSrvMgrPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AuthService::AuthSrvMgr; - v->__copyFrom(proxy); - } -} - -void -AuthService::__write(::IceInternal::BasicStream* __os, const ::AuthService::AuthSrvMgrPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AuthService::__addObject(const AuthSrvMgrPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AuthService::__usesClasses(const AuthSrvMgrPtr& p) -{ - return p->__usesClasses(); -} - -void -AuthService::__decRefUnsafe(const AuthSrvMgrPtr& p) -{ - p->__decRefUnsafe(); -} - -void -AuthService::__clearHandleUnsafe(AuthSrvMgrPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AuthService::AuthSrvMgr::AddUser(const ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AuthService__AuthSrvMgr__AddUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AuthService::AuthSrvMgr* __del = dynamic_cast< ::IceDelegate::AuthService::AuthSrvMgr*>(__delBase.get()); - return __del->AddUser(userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AuthService::AuthSrvMgr::DelUser(const ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AuthService__AuthSrvMgr__DelUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AuthService::AuthSrvMgr* __del = dynamic_cast< ::IceDelegate::AuthService::AuthSrvMgr*>(__delBase.get()); - return __del->DelUser(userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AuthService::AuthSrvMgr::CheckUser(const ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AuthService__AuthSrvMgr__CheckUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AuthService::AuthSrvMgr* __del = dynamic_cast< ::IceDelegate::AuthService::AuthSrvMgr*>(__delBase.get()); - return __del->CheckUser(userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AuthService::AuthSrvMgr::ForbiddenUser(const ::std::string& userId, ::Ice::Int interval, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AuthService__AuthSrvMgr__ForbiddenUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AuthService::AuthSrvMgr* __del = dynamic_cast< ::IceDelegate::AuthService::AuthSrvMgr*>(__delBase.get()); - return __del->ForbiddenUser(userId, interval, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AuthService::AuthSrvMgr::PermitUser(const ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AuthService__AuthSrvMgr__PermitUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AuthService::AuthSrvMgr* __del = dynamic_cast< ::IceDelegate::AuthService::AuthSrvMgr*>(__delBase.get()); - return __del->PermitUser(userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AuthService::AuthSrvMgr::GetForbiddenUser(const ::std::string& userId, ::Ice::Int& begin, ::Ice::Int& interval, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AuthService__AuthSrvMgr__GetForbiddenUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AuthService::AuthSrvMgr* __del = dynamic_cast< ::IceDelegate::AuthService::AuthSrvMgr*>(__delBase.get()); - return __del->GetForbiddenUser(userId, begin, interval, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AuthService::AuthSrvMgr::ice_staticId() -{ - return ::AuthService::AuthSrvMgr::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AuthService::AuthSrvMgr::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AuthService::AuthSrvMgr); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AuthService::AuthSrvMgr::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AuthService::AuthSrvMgr); -} - -bool -IceProxy::AuthService::operator==(const ::IceProxy::AuthService::AuthSrvMgr& l, const ::IceProxy::AuthService::AuthSrvMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AuthService::operator!=(const ::IceProxy::AuthService::AuthSrvMgr& l, const ::IceProxy::AuthService::AuthSrvMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AuthService::operator<(const ::IceProxy::AuthService::AuthSrvMgr& l, const ::IceProxy::AuthService::AuthSrvMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AuthService::operator<=(const ::IceProxy::AuthService::AuthSrvMgr& l, const ::IceProxy::AuthService::AuthSrvMgr& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AuthService::operator>(const ::IceProxy::AuthService::AuthSrvMgr& l, const ::IceProxy::AuthService::AuthSrvMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AuthService::operator>=(const ::IceProxy::AuthService::AuthSrvMgr& l, const ::IceProxy::AuthService::AuthSrvMgr& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AuthService::AuthSrvMgr::AddUser(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AuthService__AuthSrvMgr__AddUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AuthService::AuthSrvMgr::DelUser(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AuthService__AuthSrvMgr__DelUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AuthService::AuthSrvMgr::CheckUser(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AuthService__AuthSrvMgr__CheckUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AuthService::AuthSrvMgr::ForbiddenUser(const ::std::string& userId, ::Ice::Int interval, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AuthService__AuthSrvMgr__ForbiddenUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(interval); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AuthService::AuthSrvMgr::PermitUser(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AuthService__AuthSrvMgr__PermitUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AuthService::AuthSrvMgr::GetForbiddenUser(const ::std::string& userId, ::Ice::Int& begin, ::Ice::Int& interval, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AuthService__AuthSrvMgr__GetForbiddenUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(begin); - __is->read(interval); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AuthService::AuthSrvMgr::AddUser(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AuthService__AuthSrvMgr__AddUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AuthService::AuthSrvMgr* __servant = dynamic_cast< ::AuthService::AuthSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddUser(userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AuthService::AuthSrvMgr::DelUser(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AuthService__AuthSrvMgr__DelUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AuthService::AuthSrvMgr* __servant = dynamic_cast< ::AuthService::AuthSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DelUser(userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AuthService::AuthSrvMgr::CheckUser(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AuthService__AuthSrvMgr__CheckUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AuthService::AuthSrvMgr* __servant = dynamic_cast< ::AuthService::AuthSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->CheckUser(userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AuthService::AuthSrvMgr::ForbiddenUser(const ::std::string& userId, ::Ice::Int interval, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AuthService__AuthSrvMgr__ForbiddenUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AuthService::AuthSrvMgr* __servant = dynamic_cast< ::AuthService::AuthSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->ForbiddenUser(userId, interval, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AuthService::AuthSrvMgr::PermitUser(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AuthService__AuthSrvMgr__PermitUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AuthService::AuthSrvMgr* __servant = dynamic_cast< ::AuthService::AuthSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->PermitUser(userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AuthService::AuthSrvMgr::GetForbiddenUser(const ::std::string& userId, ::Ice::Int& begin, ::Ice::Int& interval, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AuthService__AuthSrvMgr__GetForbiddenUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AuthService::AuthSrvMgr* __servant = dynamic_cast< ::AuthService::AuthSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetForbiddenUser(userId, begin, interval, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AuthService::AuthSrvMgr::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AuthService__AuthSrvMgr_ids[2] = -{ - "::AuthService::AuthSrvMgr", - "::Ice::Object" -}; - -bool -AuthService::AuthSrvMgr::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AuthService__AuthSrvMgr_ids, __AuthService__AuthSrvMgr_ids + 2, _s); -} - -::std::vector< ::std::string> -AuthService::AuthSrvMgr::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AuthService__AuthSrvMgr_ids[0], &__AuthService__AuthSrvMgr_ids[2]); -} - -const ::std::string& -AuthService::AuthSrvMgr::ice_id(const ::Ice::Current&) const -{ - return __AuthService__AuthSrvMgr_ids[0]; -} - -const ::std::string& -AuthService::AuthSrvMgr::ice_staticId() -{ - return __AuthService__AuthSrvMgr_ids[0]; -} - -::IceInternal::DispatchStatus -AuthService::AuthSrvMgr::___AddUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int __ret = AddUser(userId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AuthService::AuthSrvMgr::___DelUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int __ret = DelUser(userId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AuthService::AuthSrvMgr::___CheckUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int __ret = CheckUser(userId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AuthService::AuthSrvMgr::___ForbiddenUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int interval; - __is->read(userId); - __is->read(interval); - ::Ice::Int __ret = ForbiddenUser(userId, interval, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AuthService::AuthSrvMgr::___PermitUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int __ret = PermitUser(userId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AuthService::AuthSrvMgr::___GetForbiddenUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int begin; - ::Ice::Int interval; - ::Ice::Int __ret = GetForbiddenUser(userId, begin, interval, __current); - __os->write(begin); - __os->write(interval); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AuthService__AuthSrvMgr_all[] = -{ - "AddUser", - "CheckUser", - "DelUser", - "ForbiddenUser", - "GetForbiddenUser", - "PermitUser", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -AuthService::AuthSrvMgr::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AuthService__AuthSrvMgr_all, __AuthService__AuthSrvMgr_all + 10, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AuthService__AuthSrvMgr_all) - { - case 0: - { - return ___AddUser(in, current); - } - case 1: - { - return ___CheckUser(in, current); - } - case 2: - { - return ___DelUser(in, current); - } - case 3: - { - return ___ForbiddenUser(in, current); - } - case 4: - { - return ___GetForbiddenUser(in, current); - } - case 5: - { - return ___PermitUser(in, current); - } - case 6: - { - return ___ice_id(in, current); - } - case 7: - { - return ___ice_ids(in, current); - } - case 8: - { - return ___ice_isA(in, current); - } - case 9: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AuthService::AuthSrvMgr::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AuthService::AuthSrvMgr::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AuthService::AuthSrvMgr::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AuthService::AuthSrvMgr was not generated with stream support"; - throw ex; -} - -void -AuthService::AuthSrvMgr::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AuthService::AuthSrvMgr was not generated with stream support"; - throw ex; -} - -void -AuthService::__patch__AuthSrvMgrPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AuthService::AuthSrvMgrPtr* p = static_cast< ::AuthService::AuthSrvMgrPtr*>(__addr); - assert(p); - *p = ::AuthService::AuthSrvMgrPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AuthService::AuthSrvMgr::ice_staticId(); - throw e; - } -} - -bool -AuthService::operator==(const ::AuthService::AuthSrvMgr& l, const ::AuthService::AuthSrvMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AuthService::operator!=(const ::AuthService::AuthSrvMgr& l, const ::AuthService::AuthSrvMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AuthService::operator<(const ::AuthService::AuthSrvMgr& l, const ::AuthService::AuthSrvMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AuthService::operator<=(const ::AuthService::AuthSrvMgr& l, const ::AuthService::AuthSrvMgr& r) -{ - return l < r || l == r; -} - -bool -AuthService::operator>(const ::AuthService::AuthSrvMgr& l, const ::AuthService::AuthSrvMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -AuthService::operator>=(const ::AuthService::AuthSrvMgr& l, const ::AuthService::AuthSrvMgr& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/bind_unbind.cpp.svn-base b/features/aliww/source/.svn/text-base/bind_unbind.cpp.svn-base deleted file mode 100644 index 7f2f8af..0000000 --- a/features/aliww/source/.svn/text-base/bind_unbind.cpp.svn-base +++ /dev/null @@ -1,105 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: bind_unbind.cpp - * - * Description: - * - * Version: 1.0 - * Created: 2011å¹´01月07æ—¥ 15æ—¶53分02秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ -#include "bind_unbind.h" -#include "cbenchmark.h" -#include "paramutil.h" -#include "script_consts.h" -#include "CWWSimulator.h" -#include -using namespace std; - - - -void *bind_unbind_init(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - -// create_transaction(pVuser,"Setbinding"); -// create_transaction(pVuser,"Unbind"); - - CWWSimulator *pWW = new (CWWSimulator); - pVuser->verb = pWW; - - string imServerIP; - uint16_t port; - - - pWW->SetServerIP(imServerIP = "10.250.3.136", port = 16000); - - pWW->SetStatus(TOKEN_FLAG, DEFAULT_LOGINSTAT); - pWW->SetClient(DEFAULT_CLIENTVERSION, DEFAULT_CLIENTLANGUAGE); - - - -} - -void *bind_unbind_act(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - string recvPack; - void** ppPack; - int retcode; - - - //initilize username and password - - string params,username, password, bindUserID, bindUserPwd; - char * temp = select_param_ex(pVuser); - //printf("params selected:%s\n", temp);//调试的时候å¯ä»¥æ‰“å°å‡ºæ¥ï¼Œçœ‹çœ‹æ˜¯å¦æ˜¯æ•°æ®é—®é¢˜ã€‚ - params.assign(temp,strlen(temp)-1); - int pos = params.find(','); - username = params.substr(0, pos); - bindUserID = params.substr(pos+1, params.length()-pos-2); - password = "aliyun"; - bindUserPwd = "system"; - pWW->SetUser(username, password); - pWW->SetBindUser(bindUserID, bindUserPwd); - - pWW->BindUnbind(); - pWW->Detach(); - - -} - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/features/aliww/source/.svn/text-base/cachss_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/cachss_pack.cpp.svn-base deleted file mode 100644 index 4900f4d..0000000 --- a/features/aliww/source/.svn/text-base/cachss_pack.cpp.svn-base +++ /dev/null @@ -1,108 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: cachss_pack.cpp -// Date: 2011-01-30 12:50:08 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "cachss_pack.h" - -void CSsCaNotify::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_CA_NOTIFY; - m_ssHead.PackData(strData); -} - -void CSsCaNotify::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_opname; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_attrs.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_attrs.begin(); itr != m_attrs.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsCaNotify::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsCaNotify::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_opname; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_attrs[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsCaNotify::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/.svn/text-base/casc_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/casc_pack.cpp.svn-base deleted file mode 100644 index f5cd473..0000000 --- a/features/aliww/source/.svn/text-base/casc_pack.cpp.svn-base +++ /dev/null @@ -1,3371 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: casc_pack.cpp -// Date: 2011-02-22 11:43:08 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "casc_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SGoodsInfo& sGoodsInfo ) -{ - uint8_t nFieldNum = 2; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sGoodsInfo.m_name; - cPackData << FT_UINT32; - cPackData << sGoodsInfo.m_count; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SGoodsInfo& sGoodsInfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sGoodsInfo.m_name; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sGoodsInfo.m_count; - for(int i = 2; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const SGoodsInfoEx& sGoodsInfoEx ) -{ - uint8_t nFieldNum = 3; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sGoodsInfoEx.m_name; - cPackData << FT_STRING; - cPackData << sGoodsInfoEx.m_info; - cPackData << FT_STRING; - cPackData << sGoodsInfoEx.m_url; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SGoodsInfoEx& sGoodsInfoEx ) -{ - uint8_t num; - cPackData >> num; - if(num < 3) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sGoodsInfoEx.m_name; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sGoodsInfoEx.m_info; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sGoodsInfoEx.m_url; - for(int i = 3; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CCascReqGoodssearch::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_GOODSSEARCH; - m_scHead.PackData(strData); -} - -void CCascReqGoodssearch::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_keyword; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqGoodssearch::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqGoodssearch::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_keyword; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqGoodssearch::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspGoodssearch::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_GOODSSEARCH; - m_scHead.PackData(strData); -} - -void CCascRspGoodssearch::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_keyword; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_goods.size(); - (*this) << nLen; - VECTOR< SGoodsInfo >::const_iterator itr; - for(itr = m_goods.cbegin(); itr != m_goods.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspGoodssearch::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspGoodssearch::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_keyword; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_goods.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SGoodsInfo tmpVal; - (*this) >> tmpVal; - m_goods.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspGoodssearch::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqGoodssearchex::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_GOODSSEARCHEX; - m_scHead.PackData(strData); -} - -void CCascReqGoodssearchex::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_keyword; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqGoodssearchex::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqGoodssearchex::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_keyword; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqGoodssearchex::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspGoodssearchex::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_GOODSSEARCHEX; - m_scHead.PackData(strData); -} - -void CCascRspGoodssearchex::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_keyword; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_goods.size(); - (*this) << nLen; - VECTOR< SGoodsInfoEx >::const_iterator itr; - for(itr = m_goods.cbegin(); itr != m_goods.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspGoodssearchex::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspGoodssearchex::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_keyword; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_goods.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SGoodsInfoEx tmpVal; - (*this) >> tmpVal; - m_goods.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspGoodssearchex::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqWwcardInfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_WWCARD_INFO; - m_scHead.PackData(strData); -} - -void CCascReqWwcardInfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_uid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqWwcardInfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqWwcardInfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqWwcardInfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspWwcardInfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_WWCARD_INFO; - m_scHead.PackData(strData); -} - -void CCascRspWwcardInfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_xmlstring; - (*this) << FT_STRING; - (*this) << m_extinfo; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspWwcardInfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspWwcardInfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_xmlstring; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extinfo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspWwcardInfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqWwcardLevel::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_WWCARD_LEVEL; - m_scHead.PackData(strData); -} - -void CCascReqWwcardLevel::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_uid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqWwcardLevel::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqWwcardLevel::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqWwcardLevel::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspWwcardLevel::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_WWCARD_LEVEL; - m_scHead.PackData(strData); -} - -void CCascRspWwcardLevel::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_UINT32; - (*this) << m_userLevel; - (*this) << FT_UINT32; - (*this) << m_totalDegree; - (*this) << FT_UINT32; - (*this) << m_needDegree; - (*this) << FT_VECTOR; - (*this) << FT_UINT8; - { - uint32_t nLen = m_showCount.size(); - (*this) << nLen; - VECTOR< uint8_t >::const_iterator itr; - for(itr = m_showCount.cbegin(); itr != m_showCount.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspWwcardLevel::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspWwcardLevel::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 6) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userLevel; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_totalDegree; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_needDegree; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_showCount.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - uint8_t tmpVal; - (*this) >> tmpVal; - m_showCount.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspWwcardLevel::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqWwcardSns::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_WWCARD_SNS; - m_scHead.PackData(strData); -} - -void CCascReqWwcardSns::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_uid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqWwcardSns::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqWwcardSns::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqWwcardSns::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspWwcardSns::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_WWCARD_SNS; - m_scHead.PackData(strData); -} - -void CCascRspWwcardSns::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_STRING; - (*this) << m_xmlstring; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspWwcardSns::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspWwcardSns::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_xmlstring; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspWwcardSns::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqWwcardEvaluate::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_WWCARD_EVALUATE; - m_scHead.PackData(strData); -} - -void CCascReqWwcardEvaluate::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_uid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqWwcardEvaluate::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqWwcardEvaluate::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqWwcardEvaluate::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspWwcardEvaluate::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_WWCARD_EVALUATE; - m_scHead.PackData(strData); -} - -void CCascRspWwcardEvaluate::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_STRING; - (*this) << m_xmlstring; - (*this) << FT_STRING; - (*this) << m_ext; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspWwcardEvaluate::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspWwcardEvaluate::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_xmlstring; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_ext; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspWwcardEvaluate::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqWwcardFavorite::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_WWCARD_FAVORITE; - m_scHead.PackData(strData); -} - -void CCascReqWwcardFavorite::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_uid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqWwcardFavorite::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqWwcardFavorite::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqWwcardFavorite::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspWwcardFavorite::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_WWCARD_FAVORITE; - m_scHead.PackData(strData); -} - -void CCascRspWwcardFavorite::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_STRING; - (*this) << m_xmlstring; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspWwcardFavorite::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspWwcardFavorite::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_xmlstring; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspWwcardFavorite::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqTradeList::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_TRADE_LIST; - m_scHead.PackData(strData); -} - -void CCascReqTradeList::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_reqstring; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqTradeList::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqTradeList::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_reqstring; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqTradeList::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspTradeList::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_TRADE_LIST; - m_scHead.PackData(strData); -} - -void CCascRspTradeList::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_xmlstring; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspTradeList::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspTradeList::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_xmlstring; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspTradeList::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspTradeInfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_TRADE_INFO; - m_scHead.PackData(strData); -} - -void CCascRspTradeInfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_xmlstring; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspTradeInfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspTradeInfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_xmlstring; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspTradeInfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqEsexpandtab::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_ESEXPANDTAB; - m_scHead.PackData(strData); -} - -void CCascReqEsexpandtab::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_reserve; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqEsexpandtab::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqEsexpandtab::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_reserve; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqEsexpandtab::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SExpandinfo& sExpandinfo ) -{ - uint8_t nFieldNum = 3; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sExpandinfo.m_name; - cPackData << FT_STRING; - cPackData << sExpandinfo.m_url; - cPackData << FT_STRING; - cPackData << sExpandinfo.m_picpath; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SExpandinfo& sExpandinfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 3) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sExpandinfo.m_name; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sExpandinfo.m_url; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sExpandinfo.m_picpath; - for(int i = 3; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CCascRspEsexpandtab::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_ESEXPANDTAB; - m_scHead.PackData(strData); -} - -void CCascRspEsexpandtab::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_expandtabs.size(); - (*this) << nLen; - VECTOR< SExpandinfo >::const_iterator itr; - for(itr = m_expandtabs.cbegin(); itr != m_expandtabs.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspEsexpandtab::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspEsexpandtab::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_expandtabs.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SExpandinfo tmpVal; - (*this) >> tmpVal; - m_expandtabs.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspEsexpandtab::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqSendEseval::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_SEND_ESEVAL; - m_scHead.PackData(strData); -} - -void CCascReqSendEseval::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_targetuid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqSendEseval::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqSendEseval::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_targetuid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqSendEseval::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspSendEseval::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_SEND_ESEVAL; - m_scHead.PackData(strData); -} - -void CCascRspSendEseval::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_targetuid; - (*this) << FT_UINT8; - (*this) << m_ret; - (*this) << FT_STRING; - (*this) << m_reserve; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspSendEseval::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspSendEseval::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_targetuid; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_ret; - try - { - if(num < 3) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_reserve; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspSendEseval::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqGetcntlist::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_GETCNTLIST; - m_scHead.PackData(strData); -} - -void CCascReqGetcntlist::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT8; - (*this) << m_type; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqGetcntlist::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqGetcntlist::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqGetcntlist::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SCntinfo& sCntinfo ) -{ - uint8_t nFieldNum = 5; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sCntinfo.m_contactid; - cPackData << FT_STRING; - cPackData << sCntinfo.m_nickname; - cPackData << FT_STRING; - cPackData << sCntinfo.m_groupname; - cPackData << FT_STRING; - cPackData << sCntinfo.m_prelogintime; - cPackData << FT_STRING; - cPackData << sCntinfo.m_createtime; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SCntinfo& sCntinfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 5) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sCntinfo.m_contactid; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sCntinfo.m_nickname; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sCntinfo.m_groupname; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sCntinfo.m_prelogintime; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sCntinfo.m_createtime; - for(int i = 5; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CCascRspGetcntlist::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_GETCNTLIST; - m_scHead.PackData(strData); -} - -void CCascRspGetcntlist::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_cntlist.size(); - (*this) << nLen; - VECTOR< SCntinfo >::const_iterator itr; - for(itr = m_cntlist.cbegin(); itr != m_cntlist.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspGetcntlist::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspGetcntlist::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_cntlist.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SCntinfo tmpVal; - (*this) >> tmpVal; - m_cntlist.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspGetcntlist::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqAuthShellcmd::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_AUTH_SHELLCMD; - m_scHead.PackData(strData); -} - -void CCascReqAuthShellcmd::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_cmdData; - (*this) << FT_STRING; - (*this) << m_sign; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqAuthShellcmd::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqAuthShellcmd::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_cmdData; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sign; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqAuthShellcmd::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspAuthShellcmd::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_AUTH_SHELLCMD; - m_scHead.PackData(strData); -} - -void CCascRspAuthShellcmd::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_cmdData; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspAuthShellcmd::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspAuthShellcmd::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_cmdData; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspAuthShellcmd::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqWwMainsearch::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_WW_MAINSEARCH; - m_scHead.PackData(strData); -} - -void CCascReqWwMainsearch::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_reqData; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqWwMainsearch::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqWwMainsearch::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_reqData; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqWwMainsearch::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspWwMainsearch::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_WW_MAINSEARCH; - m_scHead.PackData(strData); -} - -void CCascRspWwMainsearch::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_rspData; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspWwMainsearch::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspWwMainsearch::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_rspData; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspWwMainsearch::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqGetUsercrinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_GET_USERCRINFO; - m_scHead.PackData(strData); -} - -void CCascReqGetUsercrinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_STRING; - (*this) << m_version; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqGetUsercrinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqGetUsercrinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqGetUsercrinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspGetUsercrinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_GET_USERCRINFO; - m_scHead.PackData(strData); -} - -void CCascRspGetUsercrinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_crstate; - (*this) << FT_UINT32; - (*this) << m_begtime; - (*this) << FT_UINT32; - (*this) << m_crdays; - (*this) << FT_STRING; - (*this) << m_extmsg; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspGetUsercrinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspGetUsercrinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_crstate; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_begtime; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_crdays; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extmsg; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspGetUsercrinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqSetUsercrinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_SET_USERCRINFO; - m_scHead.PackData(strData); -} - -void CCascReqSetUsercrinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_STRING; - (*this) << m_version; - (*this) << FT_UINT8; - (*this) << m_crstate; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqSetUsercrinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqSetUsercrinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_crstate; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqSetUsercrinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspSetUsercrinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_SET_USERCRINFO; - m_scHead.PackData(strData); -} - -void CCascRspSetUsercrinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_crstate; - (*this) << FT_UINT32; - (*this) << m_begtime; - (*this) << FT_UINT32; - (*this) << m_crdays; - (*this) << FT_STRING; - (*this) << m_extmsg; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspSetUsercrinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspSetUsercrinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_crstate; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_begtime; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_crdays; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extmsg; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspSetUsercrinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - diff --git a/features/aliww/source/.svn/text-base/chkss_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/chkss_pack.cpp.svn-base deleted file mode 100644 index 506c59b..0000000 --- a/features/aliww/source/.svn/text-base/chkss_pack.cpp.svn-base +++ /dev/null @@ -1,96 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: chkss_pack.cpp -// Date: 2011-01-30 12:49:12 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "chkss_pack.h" - -void CSsHealthCheck::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_HEALTH_CHECK; - m_ssHead.PackData(strData); -} - -void CSsHealthCheck::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_srvstatus; - (*this) << FT_STRING; - (*this) << m_srvip; - (*this) << FT_UINT16; - (*this) << m_srvport; - (*this) << FT_UINT64; - (*this) << m_appBitmap; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsHealthCheck::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsHealthCheck::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_srvstatus; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_srvip; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_srvport; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_appBitmap; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsHealthCheck::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/.svn/text-base/contactdbservie.cpp.svn-base b/features/aliww/source/.svn/text-base/contactdbservie.cpp.svn-base deleted file mode 100644 index ae277a2..0000000 --- a/features/aliww/source/.svn/text-base/contactdbservie.cpp.svn-base +++ /dev/null @@ -1,6265 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `contactdbservie.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIMDBBase__IContactIMDBService__CheckCanAddContact_name = "CheckCanAddContact"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__UpdateContactWebInfo_name = "UpdateContactWebInfo"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetGroupList_name = "GetGroupList"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetGroupListEx_name = "GetGroupListEx"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetContactList_name = "GetContactList"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetBlackList_name = "GetBlackList"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetReverseBlackList_name = "GetReverseBlackList"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetContactInfo_name = "GetContactInfo"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__AddGroup_name = "AddGroup"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__AddGroupEx_name = "AddGroupEx"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__AddBlackList_name = "AddBlackList"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__UpdateGroup_name = "UpdateGroup"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__MoveGroup_name = "MoveGroup"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__UpdateContactNickName_name = "UpdateContactNickName"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__UpdateContactGroup_name = "UpdateContactGroup"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__UpdateContactStatus_name = "UpdateContactStatus"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__RemoveGroup_name = "RemoveGroup"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__RemoveContact_name = "RemoveContact"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__RemoveInverfiedContact_name = "RemoveInverfiedContact"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__RemoveBlackList_name = "RemoveBlackList"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__IsBlackedByOther_name = "IsBlackedByOther"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__RemoveBatchContacts_name = "RemoveBatchContacts"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetAllContactList_name = "GetAllContactList"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__AddContact_name = "AddContact"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__ModifyCntMemo_name = "ModifyCntMemo"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetCntMemo_name = "GetCntMemo"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__updateContactClientInfo_name = "updateContactClientInfo"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__checkContact_name = "checkContact"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetContactDetailByUid_name = "GetContactDetailByUid"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetContactDetail_name = "GetContactDetail"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__AddGenContactFull_name = "AddGenContactFull"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__DelGenContact_name = "DelGenContact"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__CheckUpgradeGenCnt_name = "CheckUpgradeGenCnt"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__UpgradeGenContact_name = "UpgradeGenContact"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetUpdatedUserInfo_name = "GetUpdatedUserInfo"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__ModifyContactDetail_name = "ModifyContactDetail"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__UpdateContactGroupByCid_name = "UpdateContactGroupByCid"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__UpdateContactNickNameByCid_name = "UpdateContactNickNameByCid"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetCntModifyList_name = "GetCntModifyList"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__addUser_name = "addUser"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__addChildUser_name = "addChildUser"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetMultiAccountContactList_name = "GetMultiAccountContactList"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__atmAddContact_name = "atmAddContact"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__atmGetContactDetail_name = "atmGetContactDetail"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__atmModifyContactDetail_name = "atmModifyContactDetail"; - -void -IceInternal::incRef(::AliIMDBBase::IContactIMDBService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIMDBBase::IContactIMDBService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIMDBBase::IContactIMDBService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIMDBBase::IContactIMDBService* p) -{ - p->__decRef(); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::IContactIMDBServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::IContactIMDBServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIMDBBase::IContactIMDBService; - v->__copyFrom(proxy); - } -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::IContactIMDBServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIMDBBase::__addObject(const IContactIMDBServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIMDBBase::__usesClasses(const IContactIMDBServicePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIMDBBase::__decRefUnsafe(const IContactIMDBServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIMDBBase::__clearHandleUnsafe(IContactIMDBServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::CheckCanAddContact(const ::std::string& userId, const ::std::string& buddyId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__CheckCanAddContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->CheckCanAddContact(userId, buddyId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::UpdateContactWebInfo(const ::std::string& userId, const ::std::string& buddyId, const ::AliIMDBBase::SUserWebBasicProfile& cntWebInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__UpdateContactWebInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->UpdateContactWebInfo(userId, buddyId, cntWebInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetGroupList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetGroupList(userId, groupList, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetGroupListEx(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoExSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetGroupListEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetGroupListEx(userId, groupList, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetContactList(const ::std::string& userId, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetContactList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetContactList(userId, getFlag, contactList, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetBlackList(const ::std::string& userId, ::Ice::StringSeq& blackList, ::Ice::Int& blacklistTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetBlackList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetBlackList(userId, blackList, blacklistTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetReverseBlackList(const ::std::string& userId, ::Ice::StringSeq& reverseBlackList, ::Ice::Int& reverseBlacklistTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetReverseBlackList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetReverseBlackList(userId, reverseBlackList, reverseBlacklistTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetContactInfo(const ::std::string& userId, const ::std::string& contactId, ::AliIMDBBase::SICEContactInfo& contactInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetContactInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetContactInfo(userId, contactId, contactInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::AddGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__AddGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->AddGroup(userId, groupName, groupId, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::AddGroupEx(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int parentId, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__AddGroupEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->AddGroupEx(userId, groupName, parentId, groupId, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::AddBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__AddBlackList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->AddBlackList(userId, blackId, blackListTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::UpdateGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__UpdateGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->UpdateGroup(userId, groupName, groupId, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::MoveGroup(const ::std::string& userId, ::Ice::Long groupId, ::Ice::Long newparentgid, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__MoveGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->MoveGroup(userId, groupId, newparentgid, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::UpdateContactNickName(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__UpdateContactNickName_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->UpdateContactNickName(userId, contactId, nickName, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::UpdateContactGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__UpdateContactGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->UpdateContactGroup(userId, contactId, srcGroupId, dstGroupId, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::UpdateContactStatus(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int status, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__UpdateContactStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->UpdateContactStatus(userId, contactId, status, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::RemoveGroup(const ::std::string& userId, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__RemoveGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->RemoveGroup(userId, groupId, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::RemoveContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__RemoveContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->RemoveContact(userId, contactId, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::RemoveInverfiedContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__RemoveInverfiedContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->RemoveInverfiedContact(userId, contactId, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::RemoveBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__RemoveBlackList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->RemoveBlackList(userId, blackId, blackListTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::IsBlackedByOther(const ::std::string& userId, const ::std::string& otheruid, bool& bBlacked, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__IsBlackedByOther_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->IsBlackedByOther(userId, otheruid, bBlacked, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::RemoveBatchContacts(const ::std::string& userId, const ::Ice::StringSeq& cids, ::Ice::StringSeq& retVect, ::Ice::Int& modifyCntTimes, ::Ice::Int& modifyGenCntTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__RemoveBatchContacts_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->RemoveBatchContacts(userId, cids, retVect, modifyCntTimes, modifyGenCntTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetAllContactList(const ::std::string& uid, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, ::Ice::Int& gencontacttimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetAllContactList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetAllContactList(uid, getFlag, contactList, contactTimes, gencontacttimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::AddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::AliIMDBBase::SUserWebBasicProfile& cntInfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__AddContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->AddContact(userId, contactId, nickName, groupId, status, cntInfo, contactTimes, retcid, retmodseqid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::ModifyCntMemo(const ::std::string& uid, const ::std::string& cntid, const ::std::string& memo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__ModifyCntMemo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->ModifyCntMemo(uid, cntid, memo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetCntMemo(const ::std::string& uid, const ::std::string& cntid, ::std::string& memo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetCntMemo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetCntMemo(uid, cntid, memo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::updateContactClientInfo(const ::std::string& uid, const ::std::string& cid, const ::std::string& data, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__updateContactClientInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->updateContactClientInfo(uid, cid, data, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::checkContact(const ::std::string& uid, const ::std::string& contactId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__checkContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->checkContact(uid, contactId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetContactDetailByUid(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetContactDetailByUid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetContactDetailByUid(uid, cid, detail, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetContactDetail_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetContactDetail(uid, cid, detail, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull& detail, ::std::string& retscid, ::std::string& retsmodseqid, ::Ice::Long& timeStamps, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__AddGenContactFull_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->AddGenContactFull(detail, retscid, retsmodseqid, timeStamps, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::DelGenContact(const ::std::string& uid, const ::std::string& cid, ::Ice::Long& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__DelGenContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->DelGenContact(uid, cid, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::CheckUpgradeGenCnt(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__CheckUpgradeGenCnt_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->CheckUpgradeGenCnt(uid, cid, contactId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::UpgradeGenContact(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& modseqid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__UpgradeGenContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->UpgradeGenContact(uid, cid, contactId, cntstamp, gencntstamp, modseqid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetUpdatedUserInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& retcid, ::std::string& modseqid, ::Ice::Long& groupid, ::std::string& nickname, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetUpdatedUserInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetUpdatedUserInfo(uid, contactId, cntstamp, gencntstamp, retcid, modseqid, groupid, nickname, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__ModifyContactDetail_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->ModifyContactDetail(detail, gencntmodifyVersion, modseqid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::UpdateContactGroupByCid(const ::std::string& userId, const ::std::string& cid, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__UpdateContactGroupByCid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->UpdateContactGroupByCid(userId, cid, srcGroupId, dstGroupId, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::UpdateContactNickNameByCid(const ::std::string& userId, const ::std::string& cid, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__UpdateContactNickNameByCid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->UpdateContactNickNameByCid(userId, cid, nickName, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetCntModifyList(::Ice::Int getFlag, const ::std::string& uid, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntCidModPairSeq& cntList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetCntModifyList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetCntModifyList(getFlag, uid, sMaxSeqId, cntList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::addUser(const ::std::string& uid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__addUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->addUser(uid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::addChildUser(const ::std::string& uid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__addChildUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->addChildUser(uid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetMultiAccountContactList(const ::std::string& uid, ::AliIMDBBase::SICEContactInfoSeq& contactIdList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetMultiAccountContactList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetMultiAccountContactList(uid, contactIdList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::atmAddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::atmWebMember::sContactInfo& cinfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__atmAddContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->atmAddContact(userId, contactId, nickName, groupId, status, cinfo, contactTimes, retcid, retmodseqid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::atmGetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEATMGenContactFull& detail, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__atmGetContactDetail_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->atmGetContactDetail(uid, cid, detail, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::atmModifyContactDetail(const ::AliIMDBBase::SICEATMGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__atmModifyContactDetail_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->atmModifyContactDetail(detail, gencntmodifyVersion, modseqid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIMDBBase::IContactIMDBService::ice_staticId() -{ - return ::AliIMDBBase::IContactIMDBService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIMDBBase::IContactIMDBService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIMDBBase::IContactIMDBService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIMDBBase::IContactIMDBService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIMDBBase::IContactIMDBService); -} - -bool -IceProxy::AliIMDBBase::operator==(const ::IceProxy::AliIMDBBase::IContactIMDBService& l, const ::IceProxy::AliIMDBBase::IContactIMDBService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIMDBBase::operator!=(const ::IceProxy::AliIMDBBase::IContactIMDBService& l, const ::IceProxy::AliIMDBBase::IContactIMDBService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIMDBBase::operator<(const ::IceProxy::AliIMDBBase::IContactIMDBService& l, const ::IceProxy::AliIMDBBase::IContactIMDBService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIMDBBase::operator<=(const ::IceProxy::AliIMDBBase::IContactIMDBService& l, const ::IceProxy::AliIMDBBase::IContactIMDBService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIMDBBase::operator>(const ::IceProxy::AliIMDBBase::IContactIMDBService& l, const ::IceProxy::AliIMDBBase::IContactIMDBService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIMDBBase::operator>=(const ::IceProxy::AliIMDBBase::IContactIMDBService& l, const ::IceProxy::AliIMDBBase::IContactIMDBService& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::CheckCanAddContact(const ::std::string& userId, const ::std::string& buddyId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__CheckCanAddContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(buddyId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::UpdateContactWebInfo(const ::std::string& userId, const ::std::string& buddyId, const ::AliIMDBBase::SUserWebBasicProfile& cntWebInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__UpdateContactWebInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(buddyId); - cntWebInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetGroupList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, groupList, ::AliIMDBBase::__U__SICEGroupInfoSeq()); - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetGroupListEx(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoExSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetGroupListEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, groupList, ::AliIMDBBase::__U__SICEGroupInfoExSeq()); - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetContactList(const ::std::string& userId, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetContactList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(getFlag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, contactList, ::AliIMDBBase::__U__SICEContactInfoSeq()); - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetBlackList(const ::std::string& userId, ::Ice::StringSeq& blackList, ::Ice::Int& blacklistTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetBlackList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(blackList); - __is->read(blacklistTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetReverseBlackList(const ::std::string& userId, ::Ice::StringSeq& reverseBlackList, ::Ice::Int& reverseBlacklistTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetReverseBlackList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(reverseBlackList); - __is->read(reverseBlacklistTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetContactInfo(const ::std::string& userId, const ::std::string& contactId, ::AliIMDBBase::SICEContactInfo& contactInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetContactInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - contactInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::AddGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__AddGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupName); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupId); - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::AddGroupEx(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int parentId, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__AddGroupEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupName); - __os->write(parentId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupId); - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::AddBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__AddBlackList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(blackId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(blackListTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::UpdateGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__UpdateGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupName); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::MoveGroup(const ::std::string& userId, ::Ice::Long groupId, ::Ice::Long newparentgid, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__MoveGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupId); - __os->write(newparentgid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::UpdateContactNickName(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__UpdateContactNickName_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - __os->write(nickName); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::UpdateContactGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__UpdateContactGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - __os->write(srcGroupId); - __os->write(dstGroupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::UpdateContactStatus(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int status, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__UpdateContactStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - __os->write(status); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::RemoveGroup(const ::std::string& userId, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__RemoveGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::RemoveContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__RemoveContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::RemoveInverfiedContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__RemoveInverfiedContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::RemoveBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__RemoveBlackList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(blackId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(blackListTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::IsBlackedByOther(const ::std::string& userId, const ::std::string& otheruid, bool& bBlacked, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__IsBlackedByOther_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(otheruid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(bBlacked); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::RemoveBatchContacts(const ::std::string& userId, const ::Ice::StringSeq& cids, ::Ice::StringSeq& retVect, ::Ice::Int& modifyCntTimes, ::Ice::Int& modifyGenCntTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__RemoveBatchContacts_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - if(cids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&cids[0], &cids[0] + cids.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(retVect); - __is->read(modifyCntTimes); - __is->read(modifyGenCntTime); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetAllContactList(const ::std::string& uid, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, ::Ice::Int& gencontacttimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetAllContactList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(getFlag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, contactList, ::AliIMDBBase::__U__SICEContactInfoSeq()); - __is->read(contactTimes); - __is->read(gencontacttimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::AddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::AliIMDBBase::SUserWebBasicProfile& cntInfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__AddContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - __os->write(nickName); - __os->write(groupId); - __os->write(status); - cntInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(retcid); - __is->read(retmodseqid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::ModifyCntMemo(const ::std::string& uid, const ::std::string& cntid, const ::std::string& memo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__ModifyCntMemo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cntid); - __os->write(memo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetCntMemo(const ::std::string& uid, const ::std::string& cntid, ::std::string& memo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetCntMemo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cntid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(memo); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::updateContactClientInfo(const ::std::string& uid, const ::std::string& cid, const ::std::string& data, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__updateContactClientInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - __os->write(data); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::checkContact(const ::std::string& uid, const ::std::string& contactId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__checkContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetContactDetailByUid(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetContactDetailByUid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - detail.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetContactDetail_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - detail.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull& detail, ::std::string& retscid, ::std::string& retsmodseqid, ::Ice::Long& timeStamps, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__AddGenContactFull_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - detail.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(retscid); - __is->read(retsmodseqid); - __is->read(timeStamps); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::DelGenContact(const ::std::string& uid, const ::std::string& cid, ::Ice::Long& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__DelGenContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::CheckUpgradeGenCnt(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__CheckUpgradeGenCnt_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::UpgradeGenContact(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& modseqid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__UpgradeGenContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(cntstamp); - __is->read(gencntstamp); - __is->read(modseqid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetUpdatedUserInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& retcid, ::std::string& modseqid, ::Ice::Long& groupid, ::std::string& nickname, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetUpdatedUserInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(cntstamp); - __is->read(gencntstamp); - __is->read(retcid); - __is->read(modseqid); - __is->read(groupid); - __is->read(nickname); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__ModifyContactDetail_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - detail.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(gencntmodifyVersion); - __is->read(modseqid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::UpdateContactGroupByCid(const ::std::string& userId, const ::std::string& cid, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__UpdateContactGroupByCid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(cid); - __os->write(srcGroupId); - __os->write(dstGroupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::UpdateContactNickNameByCid(const ::std::string& userId, const ::std::string& cid, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__UpdateContactNickNameByCid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(cid); - __os->write(nickName); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetCntModifyList(::Ice::Int getFlag, const ::std::string& uid, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntCidModPairSeq& cntList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetCntModifyList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(getFlag); - __os->write(uid); - __os->write(sMaxSeqId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, cntList, ::AliIMDBBase::__U__SICECntCidModPairSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::addUser(const ::std::string& uid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__addUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::addChildUser(const ::std::string& uid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__addChildUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetMultiAccountContactList(const ::std::string& uid, ::AliIMDBBase::SICEContactInfoSeq& contactIdList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetMultiAccountContactList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, contactIdList, ::AliIMDBBase::__U__SICEContactInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::atmAddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::atmWebMember::sContactInfo& cinfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__atmAddContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - __os->write(nickName); - __os->write(groupId); - __os->write(status); - cinfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(retcid); - __is->read(retmodseqid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::atmGetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEATMGenContactFull& detail, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__atmGetContactDetail_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - detail.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::atmModifyContactDetail(const ::AliIMDBBase::SICEATMGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__atmModifyContactDetail_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - detail.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(gencntmodifyVersion); - __is->read(modseqid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::CheckCanAddContact(const ::std::string& userId, const ::std::string& buddyId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__CheckCanAddContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->CheckCanAddContact(userId, buddyId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::UpdateContactWebInfo(const ::std::string& userId, const ::std::string& buddyId, const ::AliIMDBBase::SUserWebBasicProfile& cntWebInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__UpdateContactWebInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateContactWebInfo(userId, buddyId, cntWebInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetGroupList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetGroupList(userId, groupList, groupTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetGroupListEx(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoExSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetGroupListEx_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetGroupListEx(userId, groupList, groupTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetContactList(const ::std::string& userId, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetContactList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetContactList(userId, getFlag, contactList, contactTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetBlackList(const ::std::string& userId, ::Ice::StringSeq& blackList, ::Ice::Int& blacklistTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetBlackList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetBlackList(userId, blackList, blacklistTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetReverseBlackList(const ::std::string& userId, ::Ice::StringSeq& reverseBlackList, ::Ice::Int& reverseBlacklistTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetReverseBlackList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetReverseBlackList(userId, reverseBlackList, reverseBlacklistTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetContactInfo(const ::std::string& userId, const ::std::string& contactId, ::AliIMDBBase::SICEContactInfo& contactInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetContactInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetContactInfo(userId, contactId, contactInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::AddGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__AddGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddGroup(userId, groupName, groupId, groupTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::AddGroupEx(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int parentId, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__AddGroupEx_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddGroupEx(userId, groupName, parentId, groupId, groupTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::AddBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__AddBlackList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddBlackList(userId, blackId, blackListTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::UpdateGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__UpdateGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateGroup(userId, groupName, groupId, groupTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::MoveGroup(const ::std::string& userId, ::Ice::Long groupId, ::Ice::Long newparentgid, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__MoveGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->MoveGroup(userId, groupId, newparentgid, groupTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::UpdateContactNickName(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__UpdateContactNickName_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateContactNickName(userId, contactId, nickName, contactTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::UpdateContactGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__UpdateContactGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateContactGroup(userId, contactId, srcGroupId, dstGroupId, contactTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::UpdateContactStatus(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int status, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__UpdateContactStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateContactStatus(userId, contactId, status, contactTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::RemoveGroup(const ::std::string& userId, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__RemoveGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->RemoveGroup(userId, groupId, groupTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::RemoveContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__RemoveContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->RemoveContact(userId, contactId, contactTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::RemoveInverfiedContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__RemoveInverfiedContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->RemoveInverfiedContact(userId, contactId, contactTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::RemoveBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__RemoveBlackList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->RemoveBlackList(userId, blackId, blackListTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::IsBlackedByOther(const ::std::string& userId, const ::std::string& otheruid, bool& bBlacked, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__IsBlackedByOther_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->IsBlackedByOther(userId, otheruid, bBlacked, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::RemoveBatchContacts(const ::std::string& userId, const ::Ice::StringSeq& cids, ::Ice::StringSeq& retVect, ::Ice::Int& modifyCntTimes, ::Ice::Int& modifyGenCntTime, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__RemoveBatchContacts_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->RemoveBatchContacts(userId, cids, retVect, modifyCntTimes, modifyGenCntTime, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetAllContactList(const ::std::string& uid, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, ::Ice::Int& gencontacttimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetAllContactList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetAllContactList(uid, getFlag, contactList, contactTimes, gencontacttimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::AddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::AliIMDBBase::SUserWebBasicProfile& cntInfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__AddContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddContact(userId, contactId, nickName, groupId, status, cntInfo, contactTimes, retcid, retmodseqid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::ModifyCntMemo(const ::std::string& uid, const ::std::string& cntid, const ::std::string& memo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__ModifyCntMemo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->ModifyCntMemo(uid, cntid, memo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetCntMemo(const ::std::string& uid, const ::std::string& cntid, ::std::string& memo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetCntMemo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetCntMemo(uid, cntid, memo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::updateContactClientInfo(const ::std::string& uid, const ::std::string& cid, const ::std::string& data, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__updateContactClientInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateContactClientInfo(uid, cid, data, contactTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::checkContact(const ::std::string& uid, const ::std::string& contactId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__checkContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkContact(uid, contactId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetContactDetailByUid(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetContactDetailByUid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetContactDetailByUid(uid, cid, detail, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetContactDetail_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetContactDetail(uid, cid, detail, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull& detail, ::std::string& retscid, ::std::string& retsmodseqid, ::Ice::Long& timeStamps, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__AddGenContactFull_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddGenContactFull(detail, retscid, retsmodseqid, timeStamps, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::DelGenContact(const ::std::string& uid, const ::std::string& cid, ::Ice::Long& contactTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__DelGenContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DelGenContact(uid, cid, contactTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::CheckUpgradeGenCnt(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__CheckUpgradeGenCnt_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->CheckUpgradeGenCnt(uid, cid, contactId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::UpgradeGenContact(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& modseqid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__UpgradeGenContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpgradeGenContact(uid, cid, contactId, cntstamp, gencntstamp, modseqid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetUpdatedUserInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& retcid, ::std::string& modseqid, ::Ice::Long& groupid, ::std::string& nickname, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetUpdatedUserInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUpdatedUserInfo(uid, contactId, cntstamp, gencntstamp, retcid, modseqid, groupid, nickname, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__ModifyContactDetail_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->ModifyContactDetail(detail, gencntmodifyVersion, modseqid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::UpdateContactGroupByCid(const ::std::string& userId, const ::std::string& cid, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__UpdateContactGroupByCid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateContactGroupByCid(userId, cid, srcGroupId, dstGroupId, contactTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::UpdateContactNickNameByCid(const ::std::string& userId, const ::std::string& cid, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__UpdateContactNickNameByCid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateContactNickNameByCid(userId, cid, nickName, contactTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetCntModifyList(::Ice::Int getFlag, const ::std::string& uid, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntCidModPairSeq& cntList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetCntModifyList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetCntModifyList(getFlag, uid, sMaxSeqId, cntList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::addUser(const ::std::string& uid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__addUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->addUser(uid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::addChildUser(const ::std::string& uid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__addChildUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->addChildUser(uid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetMultiAccountContactList(const ::std::string& uid, ::AliIMDBBase::SICEContactInfoSeq& contactIdList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetMultiAccountContactList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetMultiAccountContactList(uid, contactIdList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::atmAddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::atmWebMember::sContactInfo& cinfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__atmAddContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->atmAddContact(userId, contactId, nickName, groupId, status, cinfo, contactTimes, retcid, retmodseqid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::atmGetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEATMGenContactFull& detail, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__atmGetContactDetail_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->atmGetContactDetail(uid, cid, detail, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::atmModifyContactDetail(const ::AliIMDBBase::SICEATMGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__atmModifyContactDetail_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->atmModifyContactDetail(detail, gencntmodifyVersion, modseqid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIMDBBase::IContactIMDBService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIMDBBase__IContactIMDBService_ids[2] = -{ - "::AliIMDBBase::IContactIMDBService", - "::Ice::Object" -}; - -bool -AliIMDBBase::IContactIMDBService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIMDBBase__IContactIMDBService_ids, __AliIMDBBase__IContactIMDBService_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIMDBBase::IContactIMDBService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIMDBBase__IContactIMDBService_ids[0], &__AliIMDBBase__IContactIMDBService_ids[2]); -} - -const ::std::string& -AliIMDBBase::IContactIMDBService::ice_id(const ::Ice::Current&) const -{ - return __AliIMDBBase__IContactIMDBService_ids[0]; -} - -const ::std::string& -AliIMDBBase::IContactIMDBService::ice_staticId() -{ - return __AliIMDBBase__IContactIMDBService_ids[0]; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___CheckCanAddContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string buddyId; - __is->read(userId); - __is->read(buddyId); - ::Ice::Int __ret = CheckCanAddContact(userId, buddyId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___UpdateContactWebInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string buddyId; - ::AliIMDBBase::SUserWebBasicProfile cntWebInfo; - __is->read(userId); - __is->read(buddyId); - cntWebInfo.__read(__is); - ::Ice::Int __ret = UpdateContactWebInfo(userId, buddyId, cntWebInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetGroupList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::SICEGroupInfoSeq groupList; - ::Ice::Int groupTimes; - ::Ice::Int __ret = GetGroupList(userId, groupList, groupTimes, __current); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &groupList[0], &groupList[0] + groupList.size(), ::AliIMDBBase::__U__SICEGroupInfoSeq()); - } - __os->write(groupTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetGroupListEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::SICEGroupInfoExSeq groupList; - ::Ice::Int groupTimes; - ::Ice::Int __ret = GetGroupListEx(userId, groupList, groupTimes, __current); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &groupList[0], &groupList[0] + groupList.size(), ::AliIMDBBase::__U__SICEGroupInfoExSeq()); - } - __os->write(groupTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetContactList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int getFlag; - __is->read(userId); - __is->read(getFlag); - ::AliIMDBBase::SICEContactInfoSeq contactList; - ::Ice::Int contactTimes; - ::Ice::Int __ret = GetContactList(userId, getFlag, contactList, contactTimes, __current); - if(contactList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &contactList[0], &contactList[0] + contactList.size(), ::AliIMDBBase::__U__SICEContactInfoSeq()); - } - __os->write(contactTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetBlackList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::StringSeq blackList; - ::Ice::Int blacklistTimes; - ::Ice::Int __ret = GetBlackList(userId, blackList, blacklistTimes, __current); - if(blackList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&blackList[0], &blackList[0] + blackList.size()); - } - __os->write(blacklistTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetReverseBlackList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::StringSeq reverseBlackList; - ::Ice::Int reverseBlacklistTimes; - ::Ice::Int __ret = GetReverseBlackList(userId, reverseBlackList, reverseBlacklistTimes, __current); - if(reverseBlackList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&reverseBlackList[0], &reverseBlackList[0] + reverseBlackList.size()); - } - __os->write(reverseBlacklistTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetContactInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string contactId; - __is->read(userId); - __is->read(contactId); - ::AliIMDBBase::SICEContactInfo contactInfo; - ::Ice::Int __ret = GetContactInfo(userId, contactId, contactInfo, __current); - contactInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___AddGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string groupName; - __is->read(userId); - __is->read(groupName); - ::Ice::Int groupId; - ::Ice::Int groupTimes; - ::Ice::Int __ret = AddGroup(userId, groupName, groupId, groupTimes, __current); - __os->write(groupId); - __os->write(groupTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___AddGroupEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string groupName; - ::Ice::Int parentId; - __is->read(userId); - __is->read(groupName); - __is->read(parentId); - ::Ice::Int groupId; - ::Ice::Int groupTimes; - ::Ice::Int __ret = AddGroupEx(userId, groupName, parentId, groupId, groupTimes, __current); - __os->write(groupId); - __os->write(groupTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___AddBlackList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string blackId; - __is->read(userId); - __is->read(blackId); - ::Ice::Int blackListTimes; - ::Ice::Int __ret = AddBlackList(userId, blackId, blackListTimes, __current); - __os->write(blackListTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___UpdateGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string groupName; - ::Ice::Int groupId; - __is->read(userId); - __is->read(groupName); - __is->read(groupId); - ::Ice::Int groupTimes; - ::Ice::Int __ret = UpdateGroup(userId, groupName, groupId, groupTimes, __current); - __os->write(groupTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___MoveGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Long groupId; - ::Ice::Long newparentgid; - __is->read(userId); - __is->read(groupId); - __is->read(newparentgid); - ::Ice::Int groupTimes; - ::Ice::Int __ret = MoveGroup(userId, groupId, newparentgid, groupTimes, __current); - __os->write(groupTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___UpdateContactNickName(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string contactId; - ::std::string nickName; - __is->read(userId); - __is->read(contactId); - __is->read(nickName); - ::Ice::Int contactTimes; - ::Ice::Int __ret = UpdateContactNickName(userId, contactId, nickName, contactTimes, __current); - __os->write(contactTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___UpdateContactGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string contactId; - ::Ice::Int srcGroupId; - ::Ice::Int dstGroupId; - __is->read(userId); - __is->read(contactId); - __is->read(srcGroupId); - __is->read(dstGroupId); - ::Ice::Int contactTimes; - ::Ice::Int __ret = UpdateContactGroup(userId, contactId, srcGroupId, dstGroupId, contactTimes, __current); - __os->write(contactTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___UpdateContactStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string contactId; - ::Ice::Int status; - __is->read(userId); - __is->read(contactId); - __is->read(status); - ::Ice::Int contactTimes; - ::Ice::Int __ret = UpdateContactStatus(userId, contactId, status, contactTimes, __current); - __os->write(contactTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___RemoveGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int groupId; - __is->read(userId); - __is->read(groupId); - ::Ice::Int groupTimes; - ::Ice::Int __ret = RemoveGroup(userId, groupId, groupTimes, __current); - __os->write(groupTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___RemoveContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string contactId; - __is->read(userId); - __is->read(contactId); - ::Ice::Int contactTimes; - ::Ice::Int __ret = RemoveContact(userId, contactId, contactTimes, __current); - __os->write(contactTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___RemoveInverfiedContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string contactId; - __is->read(userId); - __is->read(contactId); - ::Ice::Int contactTimes; - ::Ice::Int __ret = RemoveInverfiedContact(userId, contactId, contactTimes, __current); - __os->write(contactTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___RemoveBlackList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string blackId; - __is->read(userId); - __is->read(blackId); - ::Ice::Int blackListTimes; - ::Ice::Int __ret = RemoveBlackList(userId, blackId, blackListTimes, __current); - __os->write(blackListTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___IsBlackedByOther(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string otheruid; - __is->read(userId); - __is->read(otheruid); - bool bBlacked; - ::Ice::Int __ret = IsBlackedByOther(userId, otheruid, bBlacked, __current); - __os->write(bBlacked); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___RemoveBatchContacts(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::StringSeq cids; - __is->read(userId); - __is->read(cids); - ::Ice::StringSeq retVect; - ::Ice::Int modifyCntTimes; - ::Ice::Int modifyGenCntTime; - ::Ice::Int __ret = RemoveBatchContacts(userId, cids, retVect, modifyCntTimes, modifyGenCntTime, __current); - if(retVect.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&retVect[0], &retVect[0] + retVect.size()); - } - __os->write(modifyCntTimes); - __os->write(modifyGenCntTime); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetAllContactList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int getFlag; - __is->read(uid); - __is->read(getFlag); - ::AliIMDBBase::SICEContactInfoSeq contactList; - ::Ice::Int contactTimes; - ::Ice::Int gencontacttimes; - ::Ice::Int __ret = GetAllContactList(uid, getFlag, contactList, contactTimes, gencontacttimes, __current); - if(contactList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &contactList[0], &contactList[0] + contactList.size(), ::AliIMDBBase::__U__SICEContactInfoSeq()); - } - __os->write(contactTimes); - __os->write(gencontacttimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___AddContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string contactId; - ::std::string nickName; - ::Ice::Int groupId; - ::Ice::Int status; - ::AliIMDBBase::SUserWebBasicProfile cntInfo; - __is->read(userId); - __is->read(contactId); - __is->read(nickName); - __is->read(groupId); - __is->read(status); - cntInfo.__read(__is); - ::Ice::Int contactTimes; - ::std::string retcid; - ::std::string retmodseqid; - ::Ice::Int __ret = AddContact(userId, contactId, nickName, groupId, status, cntInfo, contactTimes, retcid, retmodseqid, __current); - __os->write(contactTimes); - __os->write(retcid); - __os->write(retmodseqid); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___ModifyCntMemo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string cntid; - ::std::string memo; - __is->read(uid); - __is->read(cntid); - __is->read(memo); - ::Ice::Int __ret = ModifyCntMemo(uid, cntid, memo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetCntMemo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string cntid; - __is->read(uid); - __is->read(cntid); - ::std::string memo; - ::Ice::Int __ret = GetCntMemo(uid, cntid, memo, __current); - __os->write(memo); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___updateContactClientInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string cid; - ::std::string data; - __is->read(uid); - __is->read(cid); - __is->read(data); - ::Ice::Int contactTimes; - ::Ice::Int __ret = updateContactClientInfo(uid, cid, data, contactTimes, __current); - __os->write(contactTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___checkContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string contactId; - __is->read(uid); - __is->read(contactId); - ::Ice::Int __ret = checkContact(uid, contactId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetContactDetailByUid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string cid; - __is->read(uid); - __is->read(cid); - ::AliIMDBBase::SICEGenContactFull detail; - ::Ice::Int __ret = GetContactDetailByUid(uid, cid, detail, __current); - detail.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetContactDetail(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string cid; - __is->read(uid); - __is->read(cid); - ::AliIMDBBase::SICEGenContactFull detail; - ::Ice::Int __ret = GetContactDetail(uid, cid, detail, __current); - detail.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___AddGenContactFull(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliIMDBBase::SICEGenContactFull detail; - detail.__read(__is); - ::std::string retscid; - ::std::string retsmodseqid; - ::Ice::Long timeStamps; - ::Ice::Int __ret = AddGenContactFull(detail, retscid, retsmodseqid, timeStamps, __current); - __os->write(retscid); - __os->write(retsmodseqid); - __os->write(timeStamps); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___DelGenContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string cid; - __is->read(uid); - __is->read(cid); - ::Ice::Long contactTimes; - ::Ice::Int __ret = DelGenContact(uid, cid, contactTimes, __current); - __os->write(contactTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___CheckUpgradeGenCnt(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string cid; - ::std::string contactId; - __is->read(uid); - __is->read(cid); - __is->read(contactId); - ::Ice::Int __ret = CheckUpgradeGenCnt(uid, cid, contactId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___UpgradeGenContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string cid; - ::std::string contactId; - __is->read(uid); - __is->read(cid); - __is->read(contactId); - ::Ice::Long cntstamp; - ::Ice::Long gencntstamp; - ::std::string modseqid; - ::Ice::Int __ret = UpgradeGenContact(uid, cid, contactId, cntstamp, gencntstamp, modseqid, __current); - __os->write(cntstamp); - __os->write(gencntstamp); - __os->write(modseqid); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetUpdatedUserInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string contactId; - __is->read(uid); - __is->read(contactId); - ::Ice::Long cntstamp; - ::Ice::Long gencntstamp; - ::std::string retcid; - ::std::string modseqid; - ::Ice::Long groupid; - ::std::string nickname; - ::Ice::Int __ret = GetUpdatedUserInfo(uid, contactId, cntstamp, gencntstamp, retcid, modseqid, groupid, nickname, __current); - __os->write(cntstamp); - __os->write(gencntstamp); - __os->write(retcid); - __os->write(modseqid); - __os->write(groupid); - __os->write(nickname); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___ModifyContactDetail(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliIMDBBase::SICEGenContactFull detail; - detail.__read(__is); - ::Ice::Long gencntmodifyVersion; - ::std::string modseqid; - ::Ice::Int __ret = ModifyContactDetail(detail, gencntmodifyVersion, modseqid, __current); - __os->write(gencntmodifyVersion); - __os->write(modseqid); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___UpdateContactGroupByCid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string cid; - ::Ice::Int srcGroupId; - ::Ice::Int dstGroupId; - __is->read(userId); - __is->read(cid); - __is->read(srcGroupId); - __is->read(dstGroupId); - ::Ice::Int contactTimes; - ::Ice::Int __ret = UpdateContactGroupByCid(userId, cid, srcGroupId, dstGroupId, contactTimes, __current); - __os->write(contactTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___UpdateContactNickNameByCid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string cid; - ::std::string nickName; - __is->read(userId); - __is->read(cid); - __is->read(nickName); - ::Ice::Int contactTimes; - ::Ice::Int __ret = UpdateContactNickNameByCid(userId, cid, nickName, contactTimes, __current); - __os->write(contactTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetCntModifyList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int getFlag; - ::std::string uid; - ::std::string sMaxSeqId; - __is->read(getFlag); - __is->read(uid); - __is->read(sMaxSeqId); - ::AliIMDBBase::SICECntCidModPairSeq cntList; - ::Ice::Int __ret = GetCntModifyList(getFlag, uid, sMaxSeqId, cntList, __current); - if(cntList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &cntList[0], &cntList[0] + cntList.size(), ::AliIMDBBase::__U__SICECntCidModPairSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___addUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::Int __ret = addUser(uid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___addChildUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::Int __ret = addChildUser(uid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetMultiAccountContactList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::SICEContactInfoSeq contactIdList; - ::Ice::Int __ret = GetMultiAccountContactList(uid, contactIdList, __current); - if(contactIdList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &contactIdList[0], &contactIdList[0] + contactIdList.size(), ::AliIMDBBase::__U__SICEContactInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___atmAddContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string contactId; - ::std::string nickName; - ::Ice::Int groupId; - ::Ice::Int status; - ::atmWebMember::sContactInfo cinfo; - __is->read(userId); - __is->read(contactId); - __is->read(nickName); - __is->read(groupId); - __is->read(status); - cinfo.__read(__is); - ::Ice::Int contactTimes; - ::std::string retcid; - ::std::string retmodseqid; - ::Ice::Int __ret = atmAddContact(userId, contactId, nickName, groupId, status, cinfo, contactTimes, retcid, retmodseqid, __current); - __os->write(contactTimes); - __os->write(retcid); - __os->write(retmodseqid); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___atmGetContactDetail(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string cid; - __is->read(uid); - __is->read(cid); - ::AliIMDBBase::SICEATMGenContactFull detail; - ::Ice::Int __ret = atmGetContactDetail(uid, cid, detail, __current); - detail.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___atmModifyContactDetail(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliIMDBBase::SICEATMGenContactFull detail; - detail.__read(__is); - ::Ice::Long gencntmodifyVersion; - ::std::string modseqid; - ::Ice::Int __ret = atmModifyContactDetail(detail, gencntmodifyVersion, modseqid, __current); - __os->write(gencntmodifyVersion); - __os->write(modseqid); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIMDBBase__IContactIMDBService_all[] = -{ - "AddBlackList", - "AddContact", - "AddGenContactFull", - "AddGroup", - "AddGroupEx", - "CheckCanAddContact", - "CheckUpgradeGenCnt", - "DelGenContact", - "GetAllContactList", - "GetBlackList", - "GetCntMemo", - "GetCntModifyList", - "GetContactDetail", - "GetContactDetailByUid", - "GetContactInfo", - "GetContactList", - "GetGroupList", - "GetGroupListEx", - "GetMultiAccountContactList", - "GetReverseBlackList", - "GetUpdatedUserInfo", - "IsBlackedByOther", - "ModifyCntMemo", - "ModifyContactDetail", - "MoveGroup", - "RemoveBatchContacts", - "RemoveBlackList", - "RemoveContact", - "RemoveGroup", - "RemoveInverfiedContact", - "UpdateContactGroup", - "UpdateContactGroupByCid", - "UpdateContactNickName", - "UpdateContactNickNameByCid", - "UpdateContactStatus", - "UpdateContactWebInfo", - "UpdateGroup", - "UpgradeGenContact", - "addChildUser", - "addUser", - "atmAddContact", - "atmGetContactDetail", - "atmModifyContactDetail", - "checkContact", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "updateContactClientInfo" -}; - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIMDBBase__IContactIMDBService_all, __AliIMDBBase__IContactIMDBService_all + 49, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIMDBBase__IContactIMDBService_all) - { - case 0: - { - return ___AddBlackList(in, current); - } - case 1: - { - return ___AddContact(in, current); - } - case 2: - { - return ___AddGenContactFull(in, current); - } - case 3: - { - return ___AddGroup(in, current); - } - case 4: - { - return ___AddGroupEx(in, current); - } - case 5: - { - return ___CheckCanAddContact(in, current); - } - case 6: - { - return ___CheckUpgradeGenCnt(in, current); - } - case 7: - { - return ___DelGenContact(in, current); - } - case 8: - { - return ___GetAllContactList(in, current); - } - case 9: - { - return ___GetBlackList(in, current); - } - case 10: - { - return ___GetCntMemo(in, current); - } - case 11: - { - return ___GetCntModifyList(in, current); - } - case 12: - { - return ___GetContactDetail(in, current); - } - case 13: - { - return ___GetContactDetailByUid(in, current); - } - case 14: - { - return ___GetContactInfo(in, current); - } - case 15: - { - return ___GetContactList(in, current); - } - case 16: - { - return ___GetGroupList(in, current); - } - case 17: - { - return ___GetGroupListEx(in, current); - } - case 18: - { - return ___GetMultiAccountContactList(in, current); - } - case 19: - { - return ___GetReverseBlackList(in, current); - } - case 20: - { - return ___GetUpdatedUserInfo(in, current); - } - case 21: - { - return ___IsBlackedByOther(in, current); - } - case 22: - { - return ___ModifyCntMemo(in, current); - } - case 23: - { - return ___ModifyContactDetail(in, current); - } - case 24: - { - return ___MoveGroup(in, current); - } - case 25: - { - return ___RemoveBatchContacts(in, current); - } - case 26: - { - return ___RemoveBlackList(in, current); - } - case 27: - { - return ___RemoveContact(in, current); - } - case 28: - { - return ___RemoveGroup(in, current); - } - case 29: - { - return ___RemoveInverfiedContact(in, current); - } - case 30: - { - return ___UpdateContactGroup(in, current); - } - case 31: - { - return ___UpdateContactGroupByCid(in, current); - } - case 32: - { - return ___UpdateContactNickName(in, current); - } - case 33: - { - return ___UpdateContactNickNameByCid(in, current); - } - case 34: - { - return ___UpdateContactStatus(in, current); - } - case 35: - { - return ___UpdateContactWebInfo(in, current); - } - case 36: - { - return ___UpdateGroup(in, current); - } - case 37: - { - return ___UpgradeGenContact(in, current); - } - case 38: - { - return ___addChildUser(in, current); - } - case 39: - { - return ___addUser(in, current); - } - case 40: - { - return ___atmAddContact(in, current); - } - case 41: - { - return ___atmGetContactDetail(in, current); - } - case 42: - { - return ___atmModifyContactDetail(in, current); - } - case 43: - { - return ___checkContact(in, current); - } - case 44: - { - return ___ice_id(in, current); - } - case 45: - { - return ___ice_ids(in, current); - } - case 46: - { - return ___ice_isA(in, current); - } - case 47: - { - return ___ice_ping(in, current); - } - case 48: - { - return ___updateContactClientInfo(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIMDBBase::IContactIMDBService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIMDBBase::IContactIMDBService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIMDBBase::IContactIMDBService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIMDBBase::IContactIMDBService was not generated with stream support"; - throw ex; -} - -void -AliIMDBBase::IContactIMDBService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIMDBBase::IContactIMDBService was not generated with stream support"; - throw ex; -} - -void -AliIMDBBase::__patch__IContactIMDBServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIMDBBase::IContactIMDBServicePtr* p = static_cast< ::AliIMDBBase::IContactIMDBServicePtr*>(__addr); - assert(p); - *p = ::AliIMDBBase::IContactIMDBServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIMDBBase::IContactIMDBService::ice_staticId(); - throw e; - } -} - -bool -AliIMDBBase::operator==(const ::AliIMDBBase::IContactIMDBService& l, const ::AliIMDBBase::IContactIMDBService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIMDBBase::operator!=(const ::AliIMDBBase::IContactIMDBService& l, const ::AliIMDBBase::IContactIMDBService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIMDBBase::operator<(const ::AliIMDBBase::IContactIMDBService& l, const ::AliIMDBBase::IContactIMDBService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIMDBBase::operator<=(const ::AliIMDBBase::IContactIMDBService& l, const ::AliIMDBBase::IContactIMDBService& r) -{ - return l < r || l == r; -} - -bool -AliIMDBBase::operator>(const ::AliIMDBBase::IContactIMDBService& l, const ::AliIMDBBase::IContactIMDBService& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIMDBBase::operator>=(const ::AliIMDBBase::IContactIMDBService& l, const ::AliIMDBBase::IContactIMDBService& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/crcservice.cpp.svn-base b/features/aliww/source/.svn/text-base/crcservice.cpp.svn-base deleted file mode 100644 index 24f3ea7..0000000 --- a/features/aliww/source/.svn/text-base/crcservice.cpp.svn-base +++ /dev/null @@ -1,1083 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `crcservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __CRCSERVICE__CRCSInterface__GetChatRoamingServiceState_name = "GetChatRoamingServiceState"; - -static const ::std::string __CRCSERVICE__CRCSInterface__GetCRDays_name = "GetCRDays"; - -static const ::std::string __CRCSERVICE__CRCSInterface__CheckUserInfo_name = "CheckUserInfo"; - -static const ::std::string __CRCSERVICE__CRCSInterface__GetUserCRState_name = "GetUserCRState"; - -static const ::std::string __CRCSERVICE__CRCSInterface__SetUserCRState_name = "SetUserCRState"; - -void -IceInternal::incRef(::CRCSERVICE::CRCSInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::CRCSERVICE::CRCSInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::CRCSERVICE::CRCSInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::CRCSERVICE::CRCSInterface* p) -{ - p->__decRef(); -} - -void -CRCSERVICE::__write(::IceInternal::BasicStream* __os, const ::CRCSERVICE::CRCSInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -CRCSERVICE::__read(::IceInternal::BasicStream* __is, ::CRCSERVICE::CRCSInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::CRCSERVICE::CRCSInterface; - v->__copyFrom(proxy); - } -} - -void -CRCSERVICE::__write(::IceInternal::BasicStream* __os, const ::CRCSERVICE::CRCSInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -CRCSERVICE::CRDateInfo::operator==(const CRDateInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -CRCSERVICE::CRDateInfo::operator!=(const CRDateInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(beginDay != __rhs.beginDay) - { - return true; - } - if(dayCount != __rhs.dayCount) - { - return true; - } - return false; -} - -bool -CRCSERVICE::CRDateInfo::operator<(const CRDateInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(beginDay < __rhs.beginDay) - { - return true; - } - else if(__rhs.beginDay < beginDay) - { - return false; - } - if(dayCount < __rhs.dayCount) - { - return true; - } - else if(__rhs.dayCount < dayCount) - { - return false; - } - return false; -} - -void -CRCSERVICE::CRDateInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(beginDay); - __os->write(dayCount); -} - -void -CRCSERVICE::CRDateInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(beginDay); - __is->read(dayCount); -} - -bool -CRCSERVICE::UserCRInfo::operator==(const UserCRInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -CRCSERVICE::UserCRInfo::operator!=(const UserCRInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(cmdID != __rhs.cmdID) - { - return true; - } - if(beginTime != __rhs.beginTime) - { - return true; - } - return false; -} - -bool -CRCSERVICE::UserCRInfo::operator<(const UserCRInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(cmdID < __rhs.cmdID) - { - return true; - } - else if(__rhs.cmdID < cmdID) - { - return false; - } - if(beginTime < __rhs.beginTime) - { - return true; - } - else if(__rhs.beginTime < beginTime) - { - return false; - } - return false; -} - -void -CRCSERVICE::UserCRInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(cmdID); - __os->write(beginTime); -} - -void -CRCSERVICE::UserCRInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(cmdID); - __is->read(beginTime); -} - -void -CRCSERVICE::__addObject(const CRCSInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -CRCSERVICE::__usesClasses(const CRCSInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -CRCSERVICE::__decRefUnsafe(const CRCSInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -CRCSERVICE::__clearHandleUnsafe(CRCSInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::CRCSERVICE::CRCSInterface::GetChatRoamingServiceState(const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__CRCSERVICE__CRCSInterface__GetChatRoamingServiceState_name); - __delBase = __getDelegate(); - ::IceDelegate::CRCSERVICE::CRCSInterface* __del = dynamic_cast< ::IceDelegate::CRCSERVICE::CRCSInterface*>(__delBase.get()); - return __del->GetChatRoamingServiceState(__ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::CRCSERVICE::CRCSInterface::GetCRDays(const ::std::string& id, const ::std::string& version, ::CRCSERVICE::CRDateInfo& info, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__CRCSERVICE__CRCSInterface__GetCRDays_name); - __delBase = __getDelegate(); - ::IceDelegate::CRCSERVICE::CRCSInterface* __del = dynamic_cast< ::IceDelegate::CRCSERVICE::CRCSInterface*>(__delBase.get()); - return __del->GetCRDays(id, version, info, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::CRCSERVICE::CRCSInterface::CheckUserInfo(const ::std::string& id, const ::std::string& version, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__CRCSERVICE__CRCSInterface__CheckUserInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::CRCSERVICE::CRCSInterface* __del = dynamic_cast< ::IceDelegate::CRCSERVICE::CRCSInterface*>(__delBase.get()); - return __del->CheckUserInfo(id, version, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::CRCSERVICE::CRCSInterface::GetUserCRState(const ::std::string& id, const ::std::string& version, ::CRCSERVICE::UserCRInfo& crinfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__CRCSERVICE__CRCSInterface__GetUserCRState_name); - __delBase = __getDelegate(); - ::IceDelegate::CRCSERVICE::CRCSInterface* __del = dynamic_cast< ::IceDelegate::CRCSERVICE::CRCSInterface*>(__delBase.get()); - return __del->GetUserCRState(id, version, crinfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::CRCSERVICE::CRCSInterface::SetUserCRState(const ::std::string& id, const ::std::string& version, ::Ice::Int cmdId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__CRCSERVICE__CRCSInterface__SetUserCRState_name); - __delBase = __getDelegate(); - ::IceDelegate::CRCSERVICE::CRCSInterface* __del = dynamic_cast< ::IceDelegate::CRCSERVICE::CRCSInterface*>(__delBase.get()); - return __del->SetUserCRState(id, version, cmdId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::CRCSERVICE::CRCSInterface::ice_staticId() -{ - return ::CRCSERVICE::CRCSInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::CRCSERVICE::CRCSInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::CRCSERVICE::CRCSInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::CRCSERVICE::CRCSInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::CRCSERVICE::CRCSInterface); -} - -bool -IceProxy::CRCSERVICE::operator==(const ::IceProxy::CRCSERVICE::CRCSInterface& l, const ::IceProxy::CRCSERVICE::CRCSInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::CRCSERVICE::operator!=(const ::IceProxy::CRCSERVICE::CRCSInterface& l, const ::IceProxy::CRCSERVICE::CRCSInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::CRCSERVICE::operator<(const ::IceProxy::CRCSERVICE::CRCSInterface& l, const ::IceProxy::CRCSERVICE::CRCSInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::CRCSERVICE::operator<=(const ::IceProxy::CRCSERVICE::CRCSInterface& l, const ::IceProxy::CRCSERVICE::CRCSInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::CRCSERVICE::operator>(const ::IceProxy::CRCSERVICE::CRCSInterface& l, const ::IceProxy::CRCSERVICE::CRCSInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::CRCSERVICE::operator>=(const ::IceProxy::CRCSERVICE::CRCSInterface& l, const ::IceProxy::CRCSERVICE::CRCSInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::CRCSERVICE::CRCSInterface::GetChatRoamingServiceState(const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __CRCSERVICE__CRCSInterface__GetChatRoamingServiceState_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::CRCSERVICE::CRCSInterface::GetCRDays(const ::std::string& id, const ::std::string& version, ::CRCSERVICE::CRDateInfo& info, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __CRCSERVICE__CRCSInterface__GetCRDays_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(id); - __os->write(version); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - info.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::CRCSERVICE::CRCSInterface::CheckUserInfo(const ::std::string& id, const ::std::string& version, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __CRCSERVICE__CRCSInterface__CheckUserInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(id); - __os->write(version); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::CRCSERVICE::CRCSInterface::GetUserCRState(const ::std::string& id, const ::std::string& version, ::CRCSERVICE::UserCRInfo& crinfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __CRCSERVICE__CRCSInterface__GetUserCRState_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(id); - __os->write(version); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - crinfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::CRCSERVICE::CRCSInterface::SetUserCRState(const ::std::string& id, const ::std::string& version, ::Ice::Int cmdId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __CRCSERVICE__CRCSInterface__SetUserCRState_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(id); - __os->write(version); - __os->write(cmdId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::CRCSERVICE::CRCSInterface::GetChatRoamingServiceState(const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __CRCSERVICE__CRCSInterface__GetChatRoamingServiceState_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::CRCSERVICE::CRCSInterface* __servant = dynamic_cast< ::CRCSERVICE::CRCSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetChatRoamingServiceState(__current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::CRCSERVICE::CRCSInterface::GetCRDays(const ::std::string& id, const ::std::string& version, ::CRCSERVICE::CRDateInfo& info, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __CRCSERVICE__CRCSInterface__GetCRDays_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::CRCSERVICE::CRCSInterface* __servant = dynamic_cast< ::CRCSERVICE::CRCSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetCRDays(id, version, info, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::CRCSERVICE::CRCSInterface::CheckUserInfo(const ::std::string& id, const ::std::string& version, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __CRCSERVICE__CRCSInterface__CheckUserInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::CRCSERVICE::CRCSInterface* __servant = dynamic_cast< ::CRCSERVICE::CRCSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->CheckUserInfo(id, version, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::CRCSERVICE::CRCSInterface::GetUserCRState(const ::std::string& id, const ::std::string& version, ::CRCSERVICE::UserCRInfo& crinfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __CRCSERVICE__CRCSInterface__GetUserCRState_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::CRCSERVICE::CRCSInterface* __servant = dynamic_cast< ::CRCSERVICE::CRCSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUserCRState(id, version, crinfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::CRCSERVICE::CRCSInterface::SetUserCRState(const ::std::string& id, const ::std::string& version, ::Ice::Int cmdId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __CRCSERVICE__CRCSInterface__SetUserCRState_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::CRCSERVICE::CRCSInterface* __servant = dynamic_cast< ::CRCSERVICE::CRCSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->SetUserCRState(id, version, cmdId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -CRCSERVICE::CRCSInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __CRCSERVICE__CRCSInterface_ids[2] = -{ - "::CRCSERVICE::CRCSInterface", - "::Ice::Object" -}; - -bool -CRCSERVICE::CRCSInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__CRCSERVICE__CRCSInterface_ids, __CRCSERVICE__CRCSInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -CRCSERVICE::CRCSInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__CRCSERVICE__CRCSInterface_ids[0], &__CRCSERVICE__CRCSInterface_ids[2]); -} - -const ::std::string& -CRCSERVICE::CRCSInterface::ice_id(const ::Ice::Current&) const -{ - return __CRCSERVICE__CRCSInterface_ids[0]; -} - -const ::std::string& -CRCSERVICE::CRCSInterface::ice_staticId() -{ - return __CRCSERVICE__CRCSInterface_ids[0]; -} - -::IceInternal::DispatchStatus -CRCSERVICE::CRCSInterface::___GetChatRoamingServiceState(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = GetChatRoamingServiceState(__current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -CRCSERVICE::CRCSInterface::___GetCRDays(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string id; - ::std::string version; - __is->read(id); - __is->read(version); - ::CRCSERVICE::CRDateInfo info; - ::Ice::Int __ret = GetCRDays(id, version, info, __current); - info.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -CRCSERVICE::CRCSInterface::___CheckUserInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string id; - ::std::string version; - __is->read(id); - __is->read(version); - ::Ice::Int __ret = CheckUserInfo(id, version, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -CRCSERVICE::CRCSInterface::___GetUserCRState(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string id; - ::std::string version; - __is->read(id); - __is->read(version); - ::CRCSERVICE::UserCRInfo crinfo; - ::Ice::Int __ret = GetUserCRState(id, version, crinfo, __current); - crinfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -CRCSERVICE::CRCSInterface::___SetUserCRState(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string id; - ::std::string version; - ::Ice::Int cmdId; - __is->read(id); - __is->read(version); - __is->read(cmdId); - ::Ice::Int __ret = SetUserCRState(id, version, cmdId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __CRCSERVICE__CRCSInterface_all[] = -{ - "CheckUserInfo", - "GetCRDays", - "GetChatRoamingServiceState", - "GetUserCRState", - "SetUserCRState", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -CRCSERVICE::CRCSInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__CRCSERVICE__CRCSInterface_all, __CRCSERVICE__CRCSInterface_all + 9, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __CRCSERVICE__CRCSInterface_all) - { - case 0: - { - return ___CheckUserInfo(in, current); - } - case 1: - { - return ___GetCRDays(in, current); - } - case 2: - { - return ___GetChatRoamingServiceState(in, current); - } - case 3: - { - return ___GetUserCRState(in, current); - } - case 4: - { - return ___SetUserCRState(in, current); - } - case 5: - { - return ___ice_id(in, current); - } - case 6: - { - return ___ice_ids(in, current); - } - case 7: - { - return ___ice_isA(in, current); - } - case 8: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -CRCSERVICE::CRCSInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -CRCSERVICE::CRCSInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -CRCSERVICE::CRCSInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type CRCSERVICE::CRCSInterface was not generated with stream support"; - throw ex; -} - -void -CRCSERVICE::CRCSInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type CRCSERVICE::CRCSInterface was not generated with stream support"; - throw ex; -} - -void -CRCSERVICE::__patch__CRCSInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::CRCSERVICE::CRCSInterfacePtr* p = static_cast< ::CRCSERVICE::CRCSInterfacePtr*>(__addr); - assert(p); - *p = ::CRCSERVICE::CRCSInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::CRCSERVICE::CRCSInterface::ice_staticId(); - throw e; - } -} - -bool -CRCSERVICE::operator==(const ::CRCSERVICE::CRCSInterface& l, const ::CRCSERVICE::CRCSInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -CRCSERVICE::operator!=(const ::CRCSERVICE::CRCSInterface& l, const ::CRCSERVICE::CRCSInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -CRCSERVICE::operator<(const ::CRCSERVICE::CRCSInterface& l, const ::CRCSERVICE::CRCSInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -CRCSERVICE::operator<=(const ::CRCSERVICE::CRCSInterface& l, const ::CRCSERVICE::CRCSInterface& r) -{ - return l < r || l == r; -} - -bool -CRCSERVICE::operator>(const ::CRCSERVICE::CRCSInterface& l, const ::CRCSERVICE::CRCSInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -CRCSERVICE::operator>=(const ::CRCSERVICE::CRCSInterface& l, const ::CRCSERVICE::CRCSInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/dbdatadefine.cpp.svn-base b/features/aliww/source/.svn/text-base/dbdatadefine.cpp.svn-base deleted file mode 100644 index 76d9bd5..0000000 --- a/features/aliww/source/.svn/text-base/dbdatadefine.cpp.svn-base +++ /dev/null @@ -1,11466 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbdatadefine.ice' - -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -bool -AliIMDBBase::SICEMemberInfo::operator==(const SICEMemberInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEMemberInfo::operator!=(const SICEMemberInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(memberId != __rhs.memberId) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(realname != __rhs.realname) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobtitle != __rhs.jobtitle) - { - return true; - } - if(memberlevel != __rhs.memberlevel) - { - return true; - } - if(industry != __rhs.industry) - { - return true; - } - if(area != __rhs.area) - { - return true; - } - if(penName != __rhs.penName) - { - return true; - } - if(phoneStatus != __rhs.phoneStatus) - { - return true; - } - if(title != __rhs.title) - { - return true; - } - if(country != __rhs.country) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEMemberInfo::operator<(const SICEMemberInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(memberId < __rhs.memberId) - { - return true; - } - else if(__rhs.memberId < memberId) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(realname < __rhs.realname) - { - return true; - } - else if(__rhs.realname < realname) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobtitle < __rhs.jobtitle) - { - return true; - } - else if(__rhs.jobtitle < jobtitle) - { - return false; - } - if(memberlevel < __rhs.memberlevel) - { - return true; - } - else if(__rhs.memberlevel < memberlevel) - { - return false; - } - if(industry < __rhs.industry) - { - return true; - } - else if(__rhs.industry < industry) - { - return false; - } - if(area < __rhs.area) - { - return true; - } - else if(__rhs.area < area) - { - return false; - } - if(penName < __rhs.penName) - { - return true; - } - else if(__rhs.penName < penName) - { - return false; - } - if(phoneStatus < __rhs.phoneStatus) - { - return true; - } - else if(__rhs.phoneStatus < phoneStatus) - { - return false; - } - if(title < __rhs.title) - { - return true; - } - else if(__rhs.title < title) - { - return false; - } - if(country < __rhs.country) - { - return true; - } - else if(__rhs.country < country) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEMemberInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(memberId); - __os->write(password); - __os->write(status); - __os->write(realname); - __os->write(company); - __os->write(jobtitle); - __os->write(memberlevel); - __os->write(industry); - __os->write(area); - __os->write(penName); - __os->write(phoneStatus); - __os->write(title); - __os->write(country); -} - -void -AliIMDBBase::SICEMemberInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(memberId); - __is->read(password); - __is->read(status); - __is->read(realname); - __is->read(company); - __is->read(jobtitle); - __is->read(memberlevel); - __is->read(industry); - __is->read(area); - __is->read(penName); - __is->read(phoneStatus); - __is->read(title); - __is->read(country); -} - -bool -AliIMDBBase::SExICESysMessage::operator==(const SExICESysMessage& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SExICESysMessage::operator!=(const SExICESysMessage& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(msgId != __rhs.msgId) - { - return true; - } - if(type != __rhs.type) - { - return true; - } - if(expireTime != __rhs.expireTime) - { - return true; - } - if(industry != __rhs.industry) - { - return true; - } - if(area != __rhs.area) - { - return true; - } - if(rank != __rhs.rank) - { - return true; - } - if(message != __rhs.message) - { - return true; - } - if(site != __rhs.site) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SExICESysMessage::operator<(const SExICESysMessage& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(msgId < __rhs.msgId) - { - return true; - } - else if(__rhs.msgId < msgId) - { - return false; - } - if(type < __rhs.type) - { - return true; - } - else if(__rhs.type < type) - { - return false; - } - if(expireTime < __rhs.expireTime) - { - return true; - } - else if(__rhs.expireTime < expireTime) - { - return false; - } - if(industry < __rhs.industry) - { - return true; - } - else if(__rhs.industry < industry) - { - return false; - } - if(area < __rhs.area) - { - return true; - } - else if(__rhs.area < area) - { - return false; - } - if(rank < __rhs.rank) - { - return true; - } - else if(__rhs.rank < rank) - { - return false; - } - if(message < __rhs.message) - { - return true; - } - else if(__rhs.message < message) - { - return false; - } - if(site < __rhs.site) - { - return true; - } - else if(__rhs.site < site) - { - return false; - } - return false; -} - -void -AliIMDBBase::SExICESysMessage::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(msgId); - __os->write(type); - __os->write(expireTime); - __os->write(industry); - __os->write(area); - __os->write(rank); - __os->write(message); - __os->write(site); -} - -void -AliIMDBBase::SExICESysMessage::__read(::IceInternal::BasicStream* __is) -{ - __is->read(msgId); - __is->read(type); - __is->read(expireTime); - __is->read(industry); - __is->read(area); - __is->read(rank); - __is->read(message); - __is->read(site); -} - -bool -AliIMDBBase::SICESysMessage::operator==(const SICESysMessage& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICESysMessage::operator!=(const SICESysMessage& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(msgId != __rhs.msgId) - { - return true; - } - if(type != __rhs.type) - { - return true; - } - if(expireTime != __rhs.expireTime) - { - return true; - } - if(industry != __rhs.industry) - { - return true; - } - if(area != __rhs.area) - { - return true; - } - if(rank != __rhs.rank) - { - return true; - } - if(message != __rhs.message) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICESysMessage::operator<(const SICESysMessage& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(msgId < __rhs.msgId) - { - return true; - } - else if(__rhs.msgId < msgId) - { - return false; - } - if(type < __rhs.type) - { - return true; - } - else if(__rhs.type < type) - { - return false; - } - if(expireTime < __rhs.expireTime) - { - return true; - } - else if(__rhs.expireTime < expireTime) - { - return false; - } - if(industry < __rhs.industry) - { - return true; - } - else if(__rhs.industry < industry) - { - return false; - } - if(area < __rhs.area) - { - return true; - } - else if(__rhs.area < area) - { - return false; - } - if(rank < __rhs.rank) - { - return true; - } - else if(__rhs.rank < rank) - { - return false; - } - if(message < __rhs.message) - { - return true; - } - else if(__rhs.message < message) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICESysMessage::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(msgId); - __os->write(type); - __os->write(expireTime); - __os->write(industry); - __os->write(area); - __os->write(rank); - __os->write(message); -} - -void -AliIMDBBase::SICESysMessage::__read(::IceInternal::BasicStream* __is) -{ - __is->read(msgId); - __is->read(type); - __is->read(expireTime); - __is->read(industry); - __is->read(area); - __is->read(rank); - __is->read(message); -} - -bool -AliIMDBBase::SICEVersion::operator==(const SICEVersion& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEVersion::operator!=(const SICEVersion& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(version != __rhs.version) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(remark != __rhs.remark) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEVersion::operator<(const SICEVersion& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(version < __rhs.version) - { - return true; - } - else if(__rhs.version < version) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(remark < __rhs.remark) - { - return true; - } - else if(__rhs.remark < remark) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEVersion::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(version); - __os->write(status); - __os->write(remark); -} - -void -AliIMDBBase::SICEVersion::__read(::IceInternal::BasicStream* __is) -{ - __is->read(version); - __is->read(status); - __is->read(remark); -} - -bool -AliIMDBBase::SICEUserInfo::operator==(const SICEUserInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEUserInfo::operator!=(const SICEUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(picId != __rhs.picId) - { - return true; - } - if(sysMsgId != __rhs.sysMsgId) - { - return true; - } - if(lastLoginTime != __rhs.lastLoginTime) - { - return true; - } - if(strangerMsgCount != __rhs.strangerMsgCount) - { - return true; - } - if(loginCount != __rhs.loginCount) - { - return true; - } - if(onlineTimes != __rhs.onlineTimes) - { - return true; - } - if(addContactCount != __rhs.addContactCount) - { - return true; - } - if(addTribeCount != __rhs.addTribeCount) - { - return true; - } - if(activeDegree != __rhs.activeDegree) - { - return true; - } - if(groupTimes != __rhs.groupTimes) - { - return true; - } - if(contactTimes != __rhs.contactTimes) - { - return true; - } - if(blacklistTimes != __rhs.blacklistTimes) - { - return true; - } - if(reverseBlacklistTimes != __rhs.reverseBlacklistTimes) - { - return true; - } - if(offlinemsgTimes != __rhs.offlinemsgTimes) - { - return true; - } - if(addContactVerify != __rhs.addContactVerify) - { - return true; - } - if(sendMsgVerify != __rhs.sendMsgVerify) - { - return true; - } - if(userStatus != __rhs.userStatus) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - if(newActDgree != __rhs.newActDgree) - { - return true; - } - if(gencontacttimes != __rhs.gencontacttimes) - { - return true; - } - if(rewardActDegree != __rhs.rewardActDegree) - { - return true; - } - if(onlineActDegree != __rhs.onlineActDegree) - { - return true; - } - if(createTime != __rhs.createTime) - { - return true; - } - if(accounttype != __rhs.accounttype) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEUserInfo::operator<(const SICEUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(picId < __rhs.picId) - { - return true; - } - else if(__rhs.picId < picId) - { - return false; - } - if(sysMsgId < __rhs.sysMsgId) - { - return true; - } - else if(__rhs.sysMsgId < sysMsgId) - { - return false; - } - if(lastLoginTime < __rhs.lastLoginTime) - { - return true; - } - else if(__rhs.lastLoginTime < lastLoginTime) - { - return false; - } - if(strangerMsgCount < __rhs.strangerMsgCount) - { - return true; - } - else if(__rhs.strangerMsgCount < strangerMsgCount) - { - return false; - } - if(loginCount < __rhs.loginCount) - { - return true; - } - else if(__rhs.loginCount < loginCount) - { - return false; - } - if(onlineTimes < __rhs.onlineTimes) - { - return true; - } - else if(__rhs.onlineTimes < onlineTimes) - { - return false; - } - if(addContactCount < __rhs.addContactCount) - { - return true; - } - else if(__rhs.addContactCount < addContactCount) - { - return false; - } - if(addTribeCount < __rhs.addTribeCount) - { - return true; - } - else if(__rhs.addTribeCount < addTribeCount) - { - return false; - } - if(activeDegree < __rhs.activeDegree) - { - return true; - } - else if(__rhs.activeDegree < activeDegree) - { - return false; - } - if(groupTimes < __rhs.groupTimes) - { - return true; - } - else if(__rhs.groupTimes < groupTimes) - { - return false; - } - if(contactTimes < __rhs.contactTimes) - { - return true; - } - else if(__rhs.contactTimes < contactTimes) - { - return false; - } - if(blacklistTimes < __rhs.blacklistTimes) - { - return true; - } - else if(__rhs.blacklistTimes < blacklistTimes) - { - return false; - } - if(reverseBlacklistTimes < __rhs.reverseBlacklistTimes) - { - return true; - } - else if(__rhs.reverseBlacklistTimes < reverseBlacklistTimes) - { - return false; - } - if(offlinemsgTimes < __rhs.offlinemsgTimes) - { - return true; - } - else if(__rhs.offlinemsgTimes < offlinemsgTimes) - { - return false; - } - if(addContactVerify < __rhs.addContactVerify) - { - return true; - } - else if(__rhs.addContactVerify < addContactVerify) - { - return false; - } - if(sendMsgVerify < __rhs.sendMsgVerify) - { - return true; - } - else if(__rhs.sendMsgVerify < sendMsgVerify) - { - return false; - } - if(userStatus < __rhs.userStatus) - { - return true; - } - else if(__rhs.userStatus < userStatus) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - if(newActDgree < __rhs.newActDgree) - { - return true; - } - else if(__rhs.newActDgree < newActDgree) - { - return false; - } - if(gencontacttimes < __rhs.gencontacttimes) - { - return true; - } - else if(__rhs.gencontacttimes < gencontacttimes) - { - return false; - } - if(rewardActDegree < __rhs.rewardActDegree) - { - return true; - } - else if(__rhs.rewardActDegree < rewardActDegree) - { - return false; - } - if(onlineActDegree < __rhs.onlineActDegree) - { - return true; - } - else if(__rhs.onlineActDegree < onlineActDegree) - { - return false; - } - if(createTime < __rhs.createTime) - { - return true; - } - else if(__rhs.createTime < createTime) - { - return false; - } - if(accounttype < __rhs.accounttype) - { - return true; - } - else if(__rhs.accounttype < accounttype) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEUserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(picId); - __os->write(sysMsgId); - __os->write(lastLoginTime); - __os->write(strangerMsgCount); - __os->write(loginCount); - __os->write(onlineTimes); - __os->write(addContactCount); - __os->write(addTribeCount); - __os->write(activeDegree); - __os->write(groupTimes); - __os->write(contactTimes); - __os->write(blacklistTimes); - __os->write(reverseBlacklistTimes); - __os->write(offlinemsgTimes); - __os->write(addContactVerify); - __os->write(sendMsgVerify); - __os->write(userStatus); - __os->write(userLevel); - __os->write(newActDgree); - __os->write(gencontacttimes); - __os->write(rewardActDegree); - __os->write(onlineActDegree); - __os->write(createTime); - __os->write(accounttype); -} - -void -AliIMDBBase::SICEUserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(picId); - __is->read(sysMsgId); - __is->read(lastLoginTime); - __is->read(strangerMsgCount); - __is->read(loginCount); - __is->read(onlineTimes); - __is->read(addContactCount); - __is->read(addTribeCount); - __is->read(activeDegree); - __is->read(groupTimes); - __is->read(contactTimes); - __is->read(blacklistTimes); - __is->read(reverseBlacklistTimes); - __is->read(offlinemsgTimes); - __is->read(addContactVerify); - __is->read(sendMsgVerify); - __is->read(userStatus); - __is->read(userLevel); - __is->read(newActDgree); - __is->read(gencontacttimes); - __is->read(rewardActDegree); - __is->read(onlineActDegree); - __is->read(createTime); - __is->read(accounttype); -} - -bool -AliIMDBBase::SICEUserInfo2::operator==(const SICEUserInfo2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEUserInfo2::operator!=(const SICEUserInfo2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(picId != __rhs.picId) - { - return true; - } - if(sysMsgId != __rhs.sysMsgId) - { - return true; - } - if(lastLoginTime != __rhs.lastLoginTime) - { - return true; - } - if(strangerMsgCount != __rhs.strangerMsgCount) - { - return true; - } - if(loginCount != __rhs.loginCount) - { - return true; - } - if(onlineTimes != __rhs.onlineTimes) - { - return true; - } - if(addContactCount != __rhs.addContactCount) - { - return true; - } - if(addTribeCount != __rhs.addTribeCount) - { - return true; - } - if(activeDegree != __rhs.activeDegree) - { - return true; - } - if(groupTimes != __rhs.groupTimes) - { - return true; - } - if(contactTimes != __rhs.contactTimes) - { - return true; - } - if(blacklistTimes != __rhs.blacklistTimes) - { - return true; - } - if(reverseBlacklistTimes != __rhs.reverseBlacklistTimes) - { - return true; - } - if(offlinemsgTimes != __rhs.offlinemsgTimes) - { - return true; - } - if(addContactVerify != __rhs.addContactVerify) - { - return true; - } - if(sendMsgVerify != __rhs.sendMsgVerify) - { - return true; - } - if(userStatus != __rhs.userStatus) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - if(newActDgree != __rhs.newActDgree) - { - return true; - } - if(gencontacttimes != __rhs.gencontacttimes) - { - return true; - } - if(rewardActDegree != __rhs.rewardActDegree) - { - return true; - } - if(onlineActDegree != __rhs.onlineActDegree) - { - return true; - } - if(createTime != __rhs.createTime) - { - return true; - } - if(accounttype != __rhs.accounttype) - { - return true; - } - if(userfunctions != __rhs.userfunctions) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEUserInfo2::operator<(const SICEUserInfo2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(picId < __rhs.picId) - { - return true; - } - else if(__rhs.picId < picId) - { - return false; - } - if(sysMsgId < __rhs.sysMsgId) - { - return true; - } - else if(__rhs.sysMsgId < sysMsgId) - { - return false; - } - if(lastLoginTime < __rhs.lastLoginTime) - { - return true; - } - else if(__rhs.lastLoginTime < lastLoginTime) - { - return false; - } - if(strangerMsgCount < __rhs.strangerMsgCount) - { - return true; - } - else if(__rhs.strangerMsgCount < strangerMsgCount) - { - return false; - } - if(loginCount < __rhs.loginCount) - { - return true; - } - else if(__rhs.loginCount < loginCount) - { - return false; - } - if(onlineTimes < __rhs.onlineTimes) - { - return true; - } - else if(__rhs.onlineTimes < onlineTimes) - { - return false; - } - if(addContactCount < __rhs.addContactCount) - { - return true; - } - else if(__rhs.addContactCount < addContactCount) - { - return false; - } - if(addTribeCount < __rhs.addTribeCount) - { - return true; - } - else if(__rhs.addTribeCount < addTribeCount) - { - return false; - } - if(activeDegree < __rhs.activeDegree) - { - return true; - } - else if(__rhs.activeDegree < activeDegree) - { - return false; - } - if(groupTimes < __rhs.groupTimes) - { - return true; - } - else if(__rhs.groupTimes < groupTimes) - { - return false; - } - if(contactTimes < __rhs.contactTimes) - { - return true; - } - else if(__rhs.contactTimes < contactTimes) - { - return false; - } - if(blacklistTimes < __rhs.blacklistTimes) - { - return true; - } - else if(__rhs.blacklistTimes < blacklistTimes) - { - return false; - } - if(reverseBlacklistTimes < __rhs.reverseBlacklistTimes) - { - return true; - } - else if(__rhs.reverseBlacklistTimes < reverseBlacklistTimes) - { - return false; - } - if(offlinemsgTimes < __rhs.offlinemsgTimes) - { - return true; - } - else if(__rhs.offlinemsgTimes < offlinemsgTimes) - { - return false; - } - if(addContactVerify < __rhs.addContactVerify) - { - return true; - } - else if(__rhs.addContactVerify < addContactVerify) - { - return false; - } - if(sendMsgVerify < __rhs.sendMsgVerify) - { - return true; - } - else if(__rhs.sendMsgVerify < sendMsgVerify) - { - return false; - } - if(userStatus < __rhs.userStatus) - { - return true; - } - else if(__rhs.userStatus < userStatus) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - if(newActDgree < __rhs.newActDgree) - { - return true; - } - else if(__rhs.newActDgree < newActDgree) - { - return false; - } - if(gencontacttimes < __rhs.gencontacttimes) - { - return true; - } - else if(__rhs.gencontacttimes < gencontacttimes) - { - return false; - } - if(rewardActDegree < __rhs.rewardActDegree) - { - return true; - } - else if(__rhs.rewardActDegree < rewardActDegree) - { - return false; - } - if(onlineActDegree < __rhs.onlineActDegree) - { - return true; - } - else if(__rhs.onlineActDegree < onlineActDegree) - { - return false; - } - if(createTime < __rhs.createTime) - { - return true; - } - else if(__rhs.createTime < createTime) - { - return false; - } - if(accounttype < __rhs.accounttype) - { - return true; - } - else if(__rhs.accounttype < accounttype) - { - return false; - } - if(userfunctions < __rhs.userfunctions) - { - return true; - } - else if(__rhs.userfunctions < userfunctions) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEUserInfo2::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(picId); - __os->write(sysMsgId); - __os->write(lastLoginTime); - __os->write(strangerMsgCount); - __os->write(loginCount); - __os->write(onlineTimes); - __os->write(addContactCount); - __os->write(addTribeCount); - __os->write(activeDegree); - __os->write(groupTimes); - __os->write(contactTimes); - __os->write(blacklistTimes); - __os->write(reverseBlacklistTimes); - __os->write(offlinemsgTimes); - __os->write(addContactVerify); - __os->write(sendMsgVerify); - __os->write(userStatus); - __os->write(userLevel); - __os->write(newActDgree); - __os->write(gencontacttimes); - __os->write(rewardActDegree); - __os->write(onlineActDegree); - __os->write(createTime); - __os->write(accounttype); - __os->write(userfunctions); -} - -void -AliIMDBBase::SICEUserInfo2::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(picId); - __is->read(sysMsgId); - __is->read(lastLoginTime); - __is->read(strangerMsgCount); - __is->read(loginCount); - __is->read(onlineTimes); - __is->read(addContactCount); - __is->read(addTribeCount); - __is->read(activeDegree); - __is->read(groupTimes); - __is->read(contactTimes); - __is->read(blacklistTimes); - __is->read(reverseBlacklistTimes); - __is->read(offlinemsgTimes); - __is->read(addContactVerify); - __is->read(sendMsgVerify); - __is->read(userStatus); - __is->read(userLevel); - __is->read(newActDgree); - __is->read(gencontacttimes); - __is->read(rewardActDegree); - __is->read(onlineActDegree); - __is->read(createTime); - __is->read(accounttype); - __is->read(userfunctions); -} - -bool -AliIMDBBase::SICEUserInfoEx::operator==(const SICEUserInfoEx& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEUserInfoEx::operator!=(const SICEUserInfoEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(picId != __rhs.picId) - { - return true; - } - if(sysMsgId != __rhs.sysMsgId) - { - return true; - } - if(lastLoginTime != __rhs.lastLoginTime) - { - return true; - } - if(loginCount != __rhs.loginCount) - { - return true; - } - if(strangerMsgCount != __rhs.strangerMsgCount) - { - return true; - } - if(addContactCount != __rhs.addContactCount) - { - return true; - } - if(addTribeCount != __rhs.addTribeCount) - { - return true; - } - if(groupTimes != __rhs.groupTimes) - { - return true; - } - if(contactTimes != __rhs.contactTimes) - { - return true; - } - if(blacklistTimes != __rhs.blacklistTimes) - { - return true; - } - if(reverseBlacklistTimes != __rhs.reverseBlacklistTimes) - { - return true; - } - if(offlinemsgTimes != __rhs.offlinemsgTimes) - { - return true; - } - if(gencontacttimes != __rhs.gencontacttimes) - { - return true; - } - if(toolprofiletimes != __rhs.toolprofiletimes) - { - return true; - } - if(addContactVerify != __rhs.addContactVerify) - { - return true; - } - if(sendMsgVerify != __rhs.sendMsgVerify) - { - return true; - } - if(userStatus != __rhs.userStatus) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - if(totalActDegree != __rhs.totalActDegree) - { - return true; - } - if(createTime != __rhs.createTime) - { - return true; - } - if(accounttype != __rhs.accounttype) - { - return true; - } - if(loginIp != __rhs.loginIp) - { - return true; - } - if(userfunctions != __rhs.userfunctions) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEUserInfoEx::operator<(const SICEUserInfoEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(picId < __rhs.picId) - { - return true; - } - else if(__rhs.picId < picId) - { - return false; - } - if(sysMsgId < __rhs.sysMsgId) - { - return true; - } - else if(__rhs.sysMsgId < sysMsgId) - { - return false; - } - if(lastLoginTime < __rhs.lastLoginTime) - { - return true; - } - else if(__rhs.lastLoginTime < lastLoginTime) - { - return false; - } - if(loginCount < __rhs.loginCount) - { - return true; - } - else if(__rhs.loginCount < loginCount) - { - return false; - } - if(strangerMsgCount < __rhs.strangerMsgCount) - { - return true; - } - else if(__rhs.strangerMsgCount < strangerMsgCount) - { - return false; - } - if(addContactCount < __rhs.addContactCount) - { - return true; - } - else if(__rhs.addContactCount < addContactCount) - { - return false; - } - if(addTribeCount < __rhs.addTribeCount) - { - return true; - } - else if(__rhs.addTribeCount < addTribeCount) - { - return false; - } - if(groupTimes < __rhs.groupTimes) - { - return true; - } - else if(__rhs.groupTimes < groupTimes) - { - return false; - } - if(contactTimes < __rhs.contactTimes) - { - return true; - } - else if(__rhs.contactTimes < contactTimes) - { - return false; - } - if(blacklistTimes < __rhs.blacklistTimes) - { - return true; - } - else if(__rhs.blacklistTimes < blacklistTimes) - { - return false; - } - if(reverseBlacklistTimes < __rhs.reverseBlacklistTimes) - { - return true; - } - else if(__rhs.reverseBlacklistTimes < reverseBlacklistTimes) - { - return false; - } - if(offlinemsgTimes < __rhs.offlinemsgTimes) - { - return true; - } - else if(__rhs.offlinemsgTimes < offlinemsgTimes) - { - return false; - } - if(gencontacttimes < __rhs.gencontacttimes) - { - return true; - } - else if(__rhs.gencontacttimes < gencontacttimes) - { - return false; - } - if(toolprofiletimes < __rhs.toolprofiletimes) - { - return true; - } - else if(__rhs.toolprofiletimes < toolprofiletimes) - { - return false; - } - if(addContactVerify < __rhs.addContactVerify) - { - return true; - } - else if(__rhs.addContactVerify < addContactVerify) - { - return false; - } - if(sendMsgVerify < __rhs.sendMsgVerify) - { - return true; - } - else if(__rhs.sendMsgVerify < sendMsgVerify) - { - return false; - } - if(userStatus < __rhs.userStatus) - { - return true; - } - else if(__rhs.userStatus < userStatus) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - if(totalActDegree < __rhs.totalActDegree) - { - return true; - } - else if(__rhs.totalActDegree < totalActDegree) - { - return false; - } - if(createTime < __rhs.createTime) - { - return true; - } - else if(__rhs.createTime < createTime) - { - return false; - } - if(accounttype < __rhs.accounttype) - { - return true; - } - else if(__rhs.accounttype < accounttype) - { - return false; - } - if(loginIp < __rhs.loginIp) - { - return true; - } - else if(__rhs.loginIp < loginIp) - { - return false; - } - if(userfunctions < __rhs.userfunctions) - { - return true; - } - else if(__rhs.userfunctions < userfunctions) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEUserInfoEx::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(picId); - __os->write(sysMsgId); - __os->write(lastLoginTime); - __os->write(loginCount); - __os->write(strangerMsgCount); - __os->write(addContactCount); - __os->write(addTribeCount); - __os->write(groupTimes); - __os->write(contactTimes); - __os->write(blacklistTimes); - __os->write(reverseBlacklistTimes); - __os->write(offlinemsgTimes); - __os->write(gencontacttimes); - __os->write(toolprofiletimes); - __os->write(addContactVerify); - __os->write(sendMsgVerify); - __os->write(userStatus); - __os->write(userLevel); - __os->write(totalActDegree); - __os->write(createTime); - __os->write(accounttype); - __os->write(loginIp); - __os->write(userfunctions); -} - -void -AliIMDBBase::SICEUserInfoEx::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(picId); - __is->read(sysMsgId); - __is->read(lastLoginTime); - __is->read(loginCount); - __is->read(strangerMsgCount); - __is->read(addContactCount); - __is->read(addTribeCount); - __is->read(groupTimes); - __is->read(contactTimes); - __is->read(blacklistTimes); - __is->read(reverseBlacklistTimes); - __is->read(offlinemsgTimes); - __is->read(gencontacttimes); - __is->read(toolprofiletimes); - __is->read(addContactVerify); - __is->read(sendMsgVerify); - __is->read(userStatus); - __is->read(userLevel); - __is->read(totalActDegree); - __is->read(createTime); - __is->read(accounttype); - __is->read(loginIp); - __is->read(userfunctions); -} - -bool -AliIMDBBase::SICEUserInfoNew::operator==(const SICEUserInfoNew& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEUserInfoNew::operator!=(const SICEUserInfoNew& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(picId != __rhs.picId) - { - return true; - } - if(sysMsgId != __rhs.sysMsgId) - { - return true; - } - if(lastLoginTime != __rhs.lastLoginTime) - { - return true; - } - if(strangerMsgCount != __rhs.strangerMsgCount) - { - return true; - } - if(loginCount != __rhs.loginCount) - { - return true; - } - if(onlineTimes != __rhs.onlineTimes) - { - return true; - } - if(addContactCount != __rhs.addContactCount) - { - return true; - } - if(addTribeCount != __rhs.addTribeCount) - { - return true; - } - if(activeDegree != __rhs.activeDegree) - { - return true; - } - if(groupTimes != __rhs.groupTimes) - { - return true; - } - if(contactTimes != __rhs.contactTimes) - { - return true; - } - if(blacklistTimes != __rhs.blacklistTimes) - { - return true; - } - if(reverseBlacklistTimes != __rhs.reverseBlacklistTimes) - { - return true; - } - if(offlinemsgTimes != __rhs.offlinemsgTimes) - { - return true; - } - if(addContactVerify != __rhs.addContactVerify) - { - return true; - } - if(sendMsgVerify != __rhs.sendMsgVerify) - { - return true; - } - if(userStatus != __rhs.userStatus) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - if(newActDgree != __rhs.newActDgree) - { - return true; - } - if(gencontacttimes != __rhs.gencontacttimes) - { - return true; - } - if(rewardActDegree != __rhs.rewardActDegree) - { - return true; - } - if(onlineActDegree != __rhs.onlineActDegree) - { - return true; - } - if(createTime != __rhs.createTime) - { - return true; - } - if(accounttype != __rhs.accounttype) - { - return true; - } - if(reqAddContactCount != __rhs.reqAddContactCount) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEUserInfoNew::operator<(const SICEUserInfoNew& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(picId < __rhs.picId) - { - return true; - } - else if(__rhs.picId < picId) - { - return false; - } - if(sysMsgId < __rhs.sysMsgId) - { - return true; - } - else if(__rhs.sysMsgId < sysMsgId) - { - return false; - } - if(lastLoginTime < __rhs.lastLoginTime) - { - return true; - } - else if(__rhs.lastLoginTime < lastLoginTime) - { - return false; - } - if(strangerMsgCount < __rhs.strangerMsgCount) - { - return true; - } - else if(__rhs.strangerMsgCount < strangerMsgCount) - { - return false; - } - if(loginCount < __rhs.loginCount) - { - return true; - } - else if(__rhs.loginCount < loginCount) - { - return false; - } - if(onlineTimes < __rhs.onlineTimes) - { - return true; - } - else if(__rhs.onlineTimes < onlineTimes) - { - return false; - } - if(addContactCount < __rhs.addContactCount) - { - return true; - } - else if(__rhs.addContactCount < addContactCount) - { - return false; - } - if(addTribeCount < __rhs.addTribeCount) - { - return true; - } - else if(__rhs.addTribeCount < addTribeCount) - { - return false; - } - if(activeDegree < __rhs.activeDegree) - { - return true; - } - else if(__rhs.activeDegree < activeDegree) - { - return false; - } - if(groupTimes < __rhs.groupTimes) - { - return true; - } - else if(__rhs.groupTimes < groupTimes) - { - return false; - } - if(contactTimes < __rhs.contactTimes) - { - return true; - } - else if(__rhs.contactTimes < contactTimes) - { - return false; - } - if(blacklistTimes < __rhs.blacklistTimes) - { - return true; - } - else if(__rhs.blacklistTimes < blacklistTimes) - { - return false; - } - if(reverseBlacklistTimes < __rhs.reverseBlacklistTimes) - { - return true; - } - else if(__rhs.reverseBlacklistTimes < reverseBlacklistTimes) - { - return false; - } - if(offlinemsgTimes < __rhs.offlinemsgTimes) - { - return true; - } - else if(__rhs.offlinemsgTimes < offlinemsgTimes) - { - return false; - } - if(addContactVerify < __rhs.addContactVerify) - { - return true; - } - else if(__rhs.addContactVerify < addContactVerify) - { - return false; - } - if(sendMsgVerify < __rhs.sendMsgVerify) - { - return true; - } - else if(__rhs.sendMsgVerify < sendMsgVerify) - { - return false; - } - if(userStatus < __rhs.userStatus) - { - return true; - } - else if(__rhs.userStatus < userStatus) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - if(newActDgree < __rhs.newActDgree) - { - return true; - } - else if(__rhs.newActDgree < newActDgree) - { - return false; - } - if(gencontacttimes < __rhs.gencontacttimes) - { - return true; - } - else if(__rhs.gencontacttimes < gencontacttimes) - { - return false; - } - if(rewardActDegree < __rhs.rewardActDegree) - { - return true; - } - else if(__rhs.rewardActDegree < rewardActDegree) - { - return false; - } - if(onlineActDegree < __rhs.onlineActDegree) - { - return true; - } - else if(__rhs.onlineActDegree < onlineActDegree) - { - return false; - } - if(createTime < __rhs.createTime) - { - return true; - } - else if(__rhs.createTime < createTime) - { - return false; - } - if(accounttype < __rhs.accounttype) - { - return true; - } - else if(__rhs.accounttype < accounttype) - { - return false; - } - if(reqAddContactCount < __rhs.reqAddContactCount) - { - return true; - } - else if(__rhs.reqAddContactCount < reqAddContactCount) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEUserInfoNew::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(picId); - __os->write(sysMsgId); - __os->write(lastLoginTime); - __os->write(strangerMsgCount); - __os->write(loginCount); - __os->write(onlineTimes); - __os->write(addContactCount); - __os->write(addTribeCount); - __os->write(activeDegree); - __os->write(groupTimes); - __os->write(contactTimes); - __os->write(blacklistTimes); - __os->write(reverseBlacklistTimes); - __os->write(offlinemsgTimes); - __os->write(addContactVerify); - __os->write(sendMsgVerify); - __os->write(userStatus); - __os->write(userLevel); - __os->write(newActDgree); - __os->write(gencontacttimes); - __os->write(rewardActDegree); - __os->write(onlineActDegree); - __os->write(createTime); - __os->write(accounttype); - __os->write(reqAddContactCount); -} - -void -AliIMDBBase::SICEUserInfoNew::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(picId); - __is->read(sysMsgId); - __is->read(lastLoginTime); - __is->read(strangerMsgCount); - __is->read(loginCount); - __is->read(onlineTimes); - __is->read(addContactCount); - __is->read(addTribeCount); - __is->read(activeDegree); - __is->read(groupTimes); - __is->read(contactTimes); - __is->read(blacklistTimes); - __is->read(reverseBlacklistTimes); - __is->read(offlinemsgTimes); - __is->read(addContactVerify); - __is->read(sendMsgVerify); - __is->read(userStatus); - __is->read(userLevel); - __is->read(newActDgree); - __is->read(gencontacttimes); - __is->read(rewardActDegree); - __is->read(onlineActDegree); - __is->read(createTime); - __is->read(accounttype); - __is->read(reqAddContactCount); -} - -bool -AliIMDBBase::SICEUserInfo2New::operator==(const SICEUserInfo2New& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEUserInfo2New::operator!=(const SICEUserInfo2New& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(picId != __rhs.picId) - { - return true; - } - if(sysMsgId != __rhs.sysMsgId) - { - return true; - } - if(lastLoginTime != __rhs.lastLoginTime) - { - return true; - } - if(strangerMsgCount != __rhs.strangerMsgCount) - { - return true; - } - if(loginCount != __rhs.loginCount) - { - return true; - } - if(onlineTimes != __rhs.onlineTimes) - { - return true; - } - if(addContactCount != __rhs.addContactCount) - { - return true; - } - if(addTribeCount != __rhs.addTribeCount) - { - return true; - } - if(activeDegree != __rhs.activeDegree) - { - return true; - } - if(groupTimes != __rhs.groupTimes) - { - return true; - } - if(contactTimes != __rhs.contactTimes) - { - return true; - } - if(blacklistTimes != __rhs.blacklistTimes) - { - return true; - } - if(reverseBlacklistTimes != __rhs.reverseBlacklistTimes) - { - return true; - } - if(offlinemsgTimes != __rhs.offlinemsgTimes) - { - return true; - } - if(addContactVerify != __rhs.addContactVerify) - { - return true; - } - if(sendMsgVerify != __rhs.sendMsgVerify) - { - return true; - } - if(userStatus != __rhs.userStatus) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - if(newActDgree != __rhs.newActDgree) - { - return true; - } - if(gencontacttimes != __rhs.gencontacttimes) - { - return true; - } - if(rewardActDegree != __rhs.rewardActDegree) - { - return true; - } - if(onlineActDegree != __rhs.onlineActDegree) - { - return true; - } - if(createTime != __rhs.createTime) - { - return true; - } - if(accounttype != __rhs.accounttype) - { - return true; - } - if(userfunctions != __rhs.userfunctions) - { - return true; - } - if(reqAddContactCount != __rhs.reqAddContactCount) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEUserInfo2New::operator<(const SICEUserInfo2New& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(picId < __rhs.picId) - { - return true; - } - else if(__rhs.picId < picId) - { - return false; - } - if(sysMsgId < __rhs.sysMsgId) - { - return true; - } - else if(__rhs.sysMsgId < sysMsgId) - { - return false; - } - if(lastLoginTime < __rhs.lastLoginTime) - { - return true; - } - else if(__rhs.lastLoginTime < lastLoginTime) - { - return false; - } - if(strangerMsgCount < __rhs.strangerMsgCount) - { - return true; - } - else if(__rhs.strangerMsgCount < strangerMsgCount) - { - return false; - } - if(loginCount < __rhs.loginCount) - { - return true; - } - else if(__rhs.loginCount < loginCount) - { - return false; - } - if(onlineTimes < __rhs.onlineTimes) - { - return true; - } - else if(__rhs.onlineTimes < onlineTimes) - { - return false; - } - if(addContactCount < __rhs.addContactCount) - { - return true; - } - else if(__rhs.addContactCount < addContactCount) - { - return false; - } - if(addTribeCount < __rhs.addTribeCount) - { - return true; - } - else if(__rhs.addTribeCount < addTribeCount) - { - return false; - } - if(activeDegree < __rhs.activeDegree) - { - return true; - } - else if(__rhs.activeDegree < activeDegree) - { - return false; - } - if(groupTimes < __rhs.groupTimes) - { - return true; - } - else if(__rhs.groupTimes < groupTimes) - { - return false; - } - if(contactTimes < __rhs.contactTimes) - { - return true; - } - else if(__rhs.contactTimes < contactTimes) - { - return false; - } - if(blacklistTimes < __rhs.blacklistTimes) - { - return true; - } - else if(__rhs.blacklistTimes < blacklistTimes) - { - return false; - } - if(reverseBlacklistTimes < __rhs.reverseBlacklistTimes) - { - return true; - } - else if(__rhs.reverseBlacklistTimes < reverseBlacklistTimes) - { - return false; - } - if(offlinemsgTimes < __rhs.offlinemsgTimes) - { - return true; - } - else if(__rhs.offlinemsgTimes < offlinemsgTimes) - { - return false; - } - if(addContactVerify < __rhs.addContactVerify) - { - return true; - } - else if(__rhs.addContactVerify < addContactVerify) - { - return false; - } - if(sendMsgVerify < __rhs.sendMsgVerify) - { - return true; - } - else if(__rhs.sendMsgVerify < sendMsgVerify) - { - return false; - } - if(userStatus < __rhs.userStatus) - { - return true; - } - else if(__rhs.userStatus < userStatus) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - if(newActDgree < __rhs.newActDgree) - { - return true; - } - else if(__rhs.newActDgree < newActDgree) - { - return false; - } - if(gencontacttimes < __rhs.gencontacttimes) - { - return true; - } - else if(__rhs.gencontacttimes < gencontacttimes) - { - return false; - } - if(rewardActDegree < __rhs.rewardActDegree) - { - return true; - } - else if(__rhs.rewardActDegree < rewardActDegree) - { - return false; - } - if(onlineActDegree < __rhs.onlineActDegree) - { - return true; - } - else if(__rhs.onlineActDegree < onlineActDegree) - { - return false; - } - if(createTime < __rhs.createTime) - { - return true; - } - else if(__rhs.createTime < createTime) - { - return false; - } - if(accounttype < __rhs.accounttype) - { - return true; - } - else if(__rhs.accounttype < accounttype) - { - return false; - } - if(userfunctions < __rhs.userfunctions) - { - return true; - } - else if(__rhs.userfunctions < userfunctions) - { - return false; - } - if(reqAddContactCount < __rhs.reqAddContactCount) - { - return true; - } - else if(__rhs.reqAddContactCount < reqAddContactCount) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEUserInfo2New::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(picId); - __os->write(sysMsgId); - __os->write(lastLoginTime); - __os->write(strangerMsgCount); - __os->write(loginCount); - __os->write(onlineTimes); - __os->write(addContactCount); - __os->write(addTribeCount); - __os->write(activeDegree); - __os->write(groupTimes); - __os->write(contactTimes); - __os->write(blacklistTimes); - __os->write(reverseBlacklistTimes); - __os->write(offlinemsgTimes); - __os->write(addContactVerify); - __os->write(sendMsgVerify); - __os->write(userStatus); - __os->write(userLevel); - __os->write(newActDgree); - __os->write(gencontacttimes); - __os->write(rewardActDegree); - __os->write(onlineActDegree); - __os->write(createTime); - __os->write(accounttype); - __os->write(userfunctions); - __os->write(reqAddContactCount); -} - -void -AliIMDBBase::SICEUserInfo2New::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(picId); - __is->read(sysMsgId); - __is->read(lastLoginTime); - __is->read(strangerMsgCount); - __is->read(loginCount); - __is->read(onlineTimes); - __is->read(addContactCount); - __is->read(addTribeCount); - __is->read(activeDegree); - __is->read(groupTimes); - __is->read(contactTimes); - __is->read(blacklistTimes); - __is->read(reverseBlacklistTimes); - __is->read(offlinemsgTimes); - __is->read(addContactVerify); - __is->read(sendMsgVerify); - __is->read(userStatus); - __is->read(userLevel); - __is->read(newActDgree); - __is->read(gencontacttimes); - __is->read(rewardActDegree); - __is->read(onlineActDegree); - __is->read(createTime); - __is->read(accounttype); - __is->read(userfunctions); - __is->read(reqAddContactCount); -} - -bool -AliIMDBBase::SICEUserInfoExNew::operator==(const SICEUserInfoExNew& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEUserInfoExNew::operator!=(const SICEUserInfoExNew& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(picId != __rhs.picId) - { - return true; - } - if(sysMsgId != __rhs.sysMsgId) - { - return true; - } - if(lastLoginTime != __rhs.lastLoginTime) - { - return true; - } - if(loginCount != __rhs.loginCount) - { - return true; - } - if(strangerMsgCount != __rhs.strangerMsgCount) - { - return true; - } - if(addContactCount != __rhs.addContactCount) - { - return true; - } - if(addTribeCount != __rhs.addTribeCount) - { - return true; - } - if(groupTimes != __rhs.groupTimes) - { - return true; - } - if(contactTimes != __rhs.contactTimes) - { - return true; - } - if(blacklistTimes != __rhs.blacklistTimes) - { - return true; - } - if(reverseBlacklistTimes != __rhs.reverseBlacklistTimes) - { - return true; - } - if(offlinemsgTimes != __rhs.offlinemsgTimes) - { - return true; - } - if(gencontacttimes != __rhs.gencontacttimes) - { - return true; - } - if(toolprofiletimes != __rhs.toolprofiletimes) - { - return true; - } - if(addContactVerify != __rhs.addContactVerify) - { - return true; - } - if(sendMsgVerify != __rhs.sendMsgVerify) - { - return true; - } - if(userStatus != __rhs.userStatus) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - if(totalActDegree != __rhs.totalActDegree) - { - return true; - } - if(createTime != __rhs.createTime) - { - return true; - } - if(accounttype != __rhs.accounttype) - { - return true; - } - if(loginIp != __rhs.loginIp) - { - return true; - } - if(userfunctions != __rhs.userfunctions) - { - return true; - } - if(reqAddContactCount != __rhs.reqAddContactCount) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEUserInfoExNew::operator<(const SICEUserInfoExNew& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(picId < __rhs.picId) - { - return true; - } - else if(__rhs.picId < picId) - { - return false; - } - if(sysMsgId < __rhs.sysMsgId) - { - return true; - } - else if(__rhs.sysMsgId < sysMsgId) - { - return false; - } - if(lastLoginTime < __rhs.lastLoginTime) - { - return true; - } - else if(__rhs.lastLoginTime < lastLoginTime) - { - return false; - } - if(loginCount < __rhs.loginCount) - { - return true; - } - else if(__rhs.loginCount < loginCount) - { - return false; - } - if(strangerMsgCount < __rhs.strangerMsgCount) - { - return true; - } - else if(__rhs.strangerMsgCount < strangerMsgCount) - { - return false; - } - if(addContactCount < __rhs.addContactCount) - { - return true; - } - else if(__rhs.addContactCount < addContactCount) - { - return false; - } - if(addTribeCount < __rhs.addTribeCount) - { - return true; - } - else if(__rhs.addTribeCount < addTribeCount) - { - return false; - } - if(groupTimes < __rhs.groupTimes) - { - return true; - } - else if(__rhs.groupTimes < groupTimes) - { - return false; - } - if(contactTimes < __rhs.contactTimes) - { - return true; - } - else if(__rhs.contactTimes < contactTimes) - { - return false; - } - if(blacklistTimes < __rhs.blacklistTimes) - { - return true; - } - else if(__rhs.blacklistTimes < blacklistTimes) - { - return false; - } - if(reverseBlacklistTimes < __rhs.reverseBlacklistTimes) - { - return true; - } - else if(__rhs.reverseBlacklistTimes < reverseBlacklistTimes) - { - return false; - } - if(offlinemsgTimes < __rhs.offlinemsgTimes) - { - return true; - } - else if(__rhs.offlinemsgTimes < offlinemsgTimes) - { - return false; - } - if(gencontacttimes < __rhs.gencontacttimes) - { - return true; - } - else if(__rhs.gencontacttimes < gencontacttimes) - { - return false; - } - if(toolprofiletimes < __rhs.toolprofiletimes) - { - return true; - } - else if(__rhs.toolprofiletimes < toolprofiletimes) - { - return false; - } - if(addContactVerify < __rhs.addContactVerify) - { - return true; - } - else if(__rhs.addContactVerify < addContactVerify) - { - return false; - } - if(sendMsgVerify < __rhs.sendMsgVerify) - { - return true; - } - else if(__rhs.sendMsgVerify < sendMsgVerify) - { - return false; - } - if(userStatus < __rhs.userStatus) - { - return true; - } - else if(__rhs.userStatus < userStatus) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - if(totalActDegree < __rhs.totalActDegree) - { - return true; - } - else if(__rhs.totalActDegree < totalActDegree) - { - return false; - } - if(createTime < __rhs.createTime) - { - return true; - } - else if(__rhs.createTime < createTime) - { - return false; - } - if(accounttype < __rhs.accounttype) - { - return true; - } - else if(__rhs.accounttype < accounttype) - { - return false; - } - if(loginIp < __rhs.loginIp) - { - return true; - } - else if(__rhs.loginIp < loginIp) - { - return false; - } - if(userfunctions < __rhs.userfunctions) - { - return true; - } - else if(__rhs.userfunctions < userfunctions) - { - return false; - } - if(reqAddContactCount < __rhs.reqAddContactCount) - { - return true; - } - else if(__rhs.reqAddContactCount < reqAddContactCount) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEUserInfoExNew::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(picId); - __os->write(sysMsgId); - __os->write(lastLoginTime); - __os->write(loginCount); - __os->write(strangerMsgCount); - __os->write(addContactCount); - __os->write(addTribeCount); - __os->write(groupTimes); - __os->write(contactTimes); - __os->write(blacklistTimes); - __os->write(reverseBlacklistTimes); - __os->write(offlinemsgTimes); - __os->write(gencontacttimes); - __os->write(toolprofiletimes); - __os->write(addContactVerify); - __os->write(sendMsgVerify); - __os->write(userStatus); - __os->write(userLevel); - __os->write(totalActDegree); - __os->write(createTime); - __os->write(accounttype); - __os->write(loginIp); - __os->write(userfunctions); - __os->write(reqAddContactCount); -} - -void -AliIMDBBase::SICEUserInfoExNew::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(picId); - __is->read(sysMsgId); - __is->read(lastLoginTime); - __is->read(loginCount); - __is->read(strangerMsgCount); - __is->read(addContactCount); - __is->read(addTribeCount); - __is->read(groupTimes); - __is->read(contactTimes); - __is->read(blacklistTimes); - __is->read(reverseBlacklistTimes); - __is->read(offlinemsgTimes); - __is->read(gencontacttimes); - __is->read(toolprofiletimes); - __is->read(addContactVerify); - __is->read(sendMsgVerify); - __is->read(userStatus); - __is->read(userLevel); - __is->read(totalActDegree); - __is->read(createTime); - __is->read(accounttype); - __is->read(loginIp); - __is->read(userfunctions); - __is->read(reqAddContactCount); -} - -bool -AliIMDBBase::SICEUserInfoExNew2::operator==(const SICEUserInfoExNew2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEUserInfoExNew2::operator!=(const SICEUserInfoExNew2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(picId != __rhs.picId) - { - return true; - } - if(sysMsgId != __rhs.sysMsgId) - { - return true; - } - if(lastLoginTime != __rhs.lastLoginTime) - { - return true; - } - if(loginCount != __rhs.loginCount) - { - return true; - } - if(strangerMsgCount != __rhs.strangerMsgCount) - { - return true; - } - if(addContactCount != __rhs.addContactCount) - { - return true; - } - if(addTribeCount != __rhs.addTribeCount) - { - return true; - } - if(groupTimes != __rhs.groupTimes) - { - return true; - } - if(contactTimes != __rhs.contactTimes) - { - return true; - } - if(blacklistTimes != __rhs.blacklistTimes) - { - return true; - } - if(reverseBlacklistTimes != __rhs.reverseBlacklistTimes) - { - return true; - } - if(offlinemsgTimes != __rhs.offlinemsgTimes) - { - return true; - } - if(gencontacttimes != __rhs.gencontacttimes) - { - return true; - } - if(toolprofiletimes != __rhs.toolprofiletimes) - { - return true; - } - if(addContactVerify != __rhs.addContactVerify) - { - return true; - } - if(sendMsgVerify != __rhs.sendMsgVerify) - { - return true; - } - if(userStatus != __rhs.userStatus) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - if(totalActDegree != __rhs.totalActDegree) - { - return true; - } - if(createTime != __rhs.createTime) - { - return true; - } - if(accounttype != __rhs.accounttype) - { - return true; - } - if(loginIp != __rhs.loginIp) - { - return true; - } - if(userfunctions != __rhs.userfunctions) - { - return true; - } - if(reqAddContactCount != __rhs.reqAddContactCount) - { - return true; - } - if(userValue != __rhs.userValue) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEUserInfoExNew2::operator<(const SICEUserInfoExNew2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(picId < __rhs.picId) - { - return true; - } - else if(__rhs.picId < picId) - { - return false; - } - if(sysMsgId < __rhs.sysMsgId) - { - return true; - } - else if(__rhs.sysMsgId < sysMsgId) - { - return false; - } - if(lastLoginTime < __rhs.lastLoginTime) - { - return true; - } - else if(__rhs.lastLoginTime < lastLoginTime) - { - return false; - } - if(loginCount < __rhs.loginCount) - { - return true; - } - else if(__rhs.loginCount < loginCount) - { - return false; - } - if(strangerMsgCount < __rhs.strangerMsgCount) - { - return true; - } - else if(__rhs.strangerMsgCount < strangerMsgCount) - { - return false; - } - if(addContactCount < __rhs.addContactCount) - { - return true; - } - else if(__rhs.addContactCount < addContactCount) - { - return false; - } - if(addTribeCount < __rhs.addTribeCount) - { - return true; - } - else if(__rhs.addTribeCount < addTribeCount) - { - return false; - } - if(groupTimes < __rhs.groupTimes) - { - return true; - } - else if(__rhs.groupTimes < groupTimes) - { - return false; - } - if(contactTimes < __rhs.contactTimes) - { - return true; - } - else if(__rhs.contactTimes < contactTimes) - { - return false; - } - if(blacklistTimes < __rhs.blacklistTimes) - { - return true; - } - else if(__rhs.blacklistTimes < blacklistTimes) - { - return false; - } - if(reverseBlacklistTimes < __rhs.reverseBlacklistTimes) - { - return true; - } - else if(__rhs.reverseBlacklistTimes < reverseBlacklistTimes) - { - return false; - } - if(offlinemsgTimes < __rhs.offlinemsgTimes) - { - return true; - } - else if(__rhs.offlinemsgTimes < offlinemsgTimes) - { - return false; - } - if(gencontacttimes < __rhs.gencontacttimes) - { - return true; - } - else if(__rhs.gencontacttimes < gencontacttimes) - { - return false; - } - if(toolprofiletimes < __rhs.toolprofiletimes) - { - return true; - } - else if(__rhs.toolprofiletimes < toolprofiletimes) - { - return false; - } - if(addContactVerify < __rhs.addContactVerify) - { - return true; - } - else if(__rhs.addContactVerify < addContactVerify) - { - return false; - } - if(sendMsgVerify < __rhs.sendMsgVerify) - { - return true; - } - else if(__rhs.sendMsgVerify < sendMsgVerify) - { - return false; - } - if(userStatus < __rhs.userStatus) - { - return true; - } - else if(__rhs.userStatus < userStatus) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - if(totalActDegree < __rhs.totalActDegree) - { - return true; - } - else if(__rhs.totalActDegree < totalActDegree) - { - return false; - } - if(createTime < __rhs.createTime) - { - return true; - } - else if(__rhs.createTime < createTime) - { - return false; - } - if(accounttype < __rhs.accounttype) - { - return true; - } - else if(__rhs.accounttype < accounttype) - { - return false; - } - if(loginIp < __rhs.loginIp) - { - return true; - } - else if(__rhs.loginIp < loginIp) - { - return false; - } - if(userfunctions < __rhs.userfunctions) - { - return true; - } - else if(__rhs.userfunctions < userfunctions) - { - return false; - } - if(reqAddContactCount < __rhs.reqAddContactCount) - { - return true; - } - else if(__rhs.reqAddContactCount < reqAddContactCount) - { - return false; - } - if(userValue < __rhs.userValue) - { - return true; - } - else if(__rhs.userValue < userValue) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEUserInfoExNew2::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(picId); - __os->write(sysMsgId); - __os->write(lastLoginTime); - __os->write(loginCount); - __os->write(strangerMsgCount); - __os->write(addContactCount); - __os->write(addTribeCount); - __os->write(groupTimes); - __os->write(contactTimes); - __os->write(blacklistTimes); - __os->write(reverseBlacklistTimes); - __os->write(offlinemsgTimes); - __os->write(gencontacttimes); - __os->write(toolprofiletimes); - __os->write(addContactVerify); - __os->write(sendMsgVerify); - __os->write(userStatus); - __os->write(userLevel); - __os->write(totalActDegree); - __os->write(createTime); - __os->write(accounttype); - __os->write(loginIp); - __os->write(userfunctions); - __os->write(reqAddContactCount); - __os->write(userValue); -} - -void -AliIMDBBase::SICEUserInfoExNew2::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(picId); - __is->read(sysMsgId); - __is->read(lastLoginTime); - __is->read(loginCount); - __is->read(strangerMsgCount); - __is->read(addContactCount); - __is->read(addTribeCount); - __is->read(groupTimes); - __is->read(contactTimes); - __is->read(blacklistTimes); - __is->read(reverseBlacklistTimes); - __is->read(offlinemsgTimes); - __is->read(gencontacttimes); - __is->read(toolprofiletimes); - __is->read(addContactVerify); - __is->read(sendMsgVerify); - __is->read(userStatus); - __is->read(userLevel); - __is->read(totalActDegree); - __is->read(createTime); - __is->read(accounttype); - __is->read(loginIp); - __is->read(userfunctions); - __is->read(reqAddContactCount); - __is->read(userValue); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::RIGHTTABLE& v, ::AliIMDBBase::__U__RIGHTTABLE) -{ - __os->writeSize(::Ice::Int(v.size())); - ::AliIMDBBase::RIGHTTABLE::const_iterator p; - for(p = v.begin(); p != v.end(); ++p) - { - __os->write(p->first); - __os->write(p->second); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::RIGHTTABLE& v, ::AliIMDBBase::__U__RIGHTTABLE) -{ - ::Ice::Int sz; - __is->readSize(sz); - while(sz--) - { - ::std::pair pair; - __is->read(const_cast< ::Ice::Int&>(pair.first)); - ::AliIMDBBase::RIGHTTABLE::iterator __i = v.insert(v.end(), pair); - __is->read(__i->second); - } -} - -bool -AliIMDBBase::SICEUserInfoExNew3::operator==(const SICEUserInfoExNew3& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEUserInfoExNew3::operator!=(const SICEUserInfoExNew3& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(picId != __rhs.picId) - { - return true; - } - if(sysMsgId != __rhs.sysMsgId) - { - return true; - } - if(lastLoginTime != __rhs.lastLoginTime) - { - return true; - } - if(loginCount != __rhs.loginCount) - { - return true; - } - if(groupTimes != __rhs.groupTimes) - { - return true; - } - if(contactTimes != __rhs.contactTimes) - { - return true; - } - if(blacklistTimes != __rhs.blacklistTimes) - { - return true; - } - if(reverseBlacklistTimes != __rhs.reverseBlacklistTimes) - { - return true; - } - if(offlinemsgTimes != __rhs.offlinemsgTimes) - { - return true; - } - if(gencontacttimes != __rhs.gencontacttimes) - { - return true; - } - if(toolprofiletimes != __rhs.toolprofiletimes) - { - return true; - } - if(addContactVerify != __rhs.addContactVerify) - { - return true; - } - if(sendMsgVerify != __rhs.sendMsgVerify) - { - return true; - } - if(userStatus != __rhs.userStatus) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - if(totalActDegree != __rhs.totalActDegree) - { - return true; - } - if(createTime != __rhs.createTime) - { - return true; - } - if(accounttype != __rhs.accounttype) - { - return true; - } - if(loginIp != __rhs.loginIp) - { - return true; - } - if(userfunctions != __rhs.userfunctions) - { - return true; - } - if(userValue != __rhs.userValue) - { - return true; - } - if(rightMap != __rhs.rightMap) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEUserInfoExNew3::operator<(const SICEUserInfoExNew3& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(picId < __rhs.picId) - { - return true; - } - else if(__rhs.picId < picId) - { - return false; - } - if(sysMsgId < __rhs.sysMsgId) - { - return true; - } - else if(__rhs.sysMsgId < sysMsgId) - { - return false; - } - if(lastLoginTime < __rhs.lastLoginTime) - { - return true; - } - else if(__rhs.lastLoginTime < lastLoginTime) - { - return false; - } - if(loginCount < __rhs.loginCount) - { - return true; - } - else if(__rhs.loginCount < loginCount) - { - return false; - } - if(groupTimes < __rhs.groupTimes) - { - return true; - } - else if(__rhs.groupTimes < groupTimes) - { - return false; - } - if(contactTimes < __rhs.contactTimes) - { - return true; - } - else if(__rhs.contactTimes < contactTimes) - { - return false; - } - if(blacklistTimes < __rhs.blacklistTimes) - { - return true; - } - else if(__rhs.blacklistTimes < blacklistTimes) - { - return false; - } - if(reverseBlacklistTimes < __rhs.reverseBlacklistTimes) - { - return true; - } - else if(__rhs.reverseBlacklistTimes < reverseBlacklistTimes) - { - return false; - } - if(offlinemsgTimes < __rhs.offlinemsgTimes) - { - return true; - } - else if(__rhs.offlinemsgTimes < offlinemsgTimes) - { - return false; - } - if(gencontacttimes < __rhs.gencontacttimes) - { - return true; - } - else if(__rhs.gencontacttimes < gencontacttimes) - { - return false; - } - if(toolprofiletimes < __rhs.toolprofiletimes) - { - return true; - } - else if(__rhs.toolprofiletimes < toolprofiletimes) - { - return false; - } - if(addContactVerify < __rhs.addContactVerify) - { - return true; - } - else if(__rhs.addContactVerify < addContactVerify) - { - return false; - } - if(sendMsgVerify < __rhs.sendMsgVerify) - { - return true; - } - else if(__rhs.sendMsgVerify < sendMsgVerify) - { - return false; - } - if(userStatus < __rhs.userStatus) - { - return true; - } - else if(__rhs.userStatus < userStatus) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - if(totalActDegree < __rhs.totalActDegree) - { - return true; - } - else if(__rhs.totalActDegree < totalActDegree) - { - return false; - } - if(createTime < __rhs.createTime) - { - return true; - } - else if(__rhs.createTime < createTime) - { - return false; - } - if(accounttype < __rhs.accounttype) - { - return true; - } - else if(__rhs.accounttype < accounttype) - { - return false; - } - if(loginIp < __rhs.loginIp) - { - return true; - } - else if(__rhs.loginIp < loginIp) - { - return false; - } - if(userfunctions < __rhs.userfunctions) - { - return true; - } - else if(__rhs.userfunctions < userfunctions) - { - return false; - } - if(userValue < __rhs.userValue) - { - return true; - } - else if(__rhs.userValue < userValue) - { - return false; - } - if(rightMap < __rhs.rightMap) - { - return true; - } - else if(__rhs.rightMap < rightMap) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEUserInfoExNew3::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(picId); - __os->write(sysMsgId); - __os->write(lastLoginTime); - __os->write(loginCount); - __os->write(groupTimes); - __os->write(contactTimes); - __os->write(blacklistTimes); - __os->write(reverseBlacklistTimes); - __os->write(offlinemsgTimes); - __os->write(gencontacttimes); - __os->write(toolprofiletimes); - __os->write(addContactVerify); - __os->write(sendMsgVerify); - __os->write(userStatus); - __os->write(userLevel); - __os->write(totalActDegree); - __os->write(createTime); - __os->write(accounttype); - __os->write(loginIp); - __os->write(userfunctions); - __os->write(userValue); - ::AliIMDBBase::__write(__os, rightMap, ::AliIMDBBase::__U__RIGHTTABLE()); -} - -void -AliIMDBBase::SICEUserInfoExNew3::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(picId); - __is->read(sysMsgId); - __is->read(lastLoginTime); - __is->read(loginCount); - __is->read(groupTimes); - __is->read(contactTimes); - __is->read(blacklistTimes); - __is->read(reverseBlacklistTimes); - __is->read(offlinemsgTimes); - __is->read(gencontacttimes); - __is->read(toolprofiletimes); - __is->read(addContactVerify); - __is->read(sendMsgVerify); - __is->read(userStatus); - __is->read(userLevel); - __is->read(totalActDegree); - __is->read(createTime); - __is->read(accounttype); - __is->read(loginIp); - __is->read(userfunctions); - __is->read(userValue); - ::AliIMDBBase::__read(__is, rightMap, ::AliIMDBBase::__U__RIGHTTABLE()); -} - -bool -AliIMDBBase::SICEUserInfoExNew4::operator==(const SICEUserInfoExNew4& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEUserInfoExNew4::operator!=(const SICEUserInfoExNew4& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(picId != __rhs.picId) - { - return true; - } - if(sysMsgId != __rhs.sysMsgId) - { - return true; - } - if(lastLoginTime != __rhs.lastLoginTime) - { - return true; - } - if(loginCount != __rhs.loginCount) - { - return true; - } - if(strangerMsgCount != __rhs.strangerMsgCount) - { - return true; - } - if(addContactCount != __rhs.addContactCount) - { - return true; - } - if(addTribeCount != __rhs.addTribeCount) - { - return true; - } - if(groupTimes != __rhs.groupTimes) - { - return true; - } - if(contactTimes != __rhs.contactTimes) - { - return true; - } - if(blacklistTimes != __rhs.blacklistTimes) - { - return true; - } - if(reverseBlacklistTimes != __rhs.reverseBlacklistTimes) - { - return true; - } - if(offlinemsgTimes != __rhs.offlinemsgTimes) - { - return true; - } - if(gencontacttimes != __rhs.gencontacttimes) - { - return true; - } - if(toolprofiletimes != __rhs.toolprofiletimes) - { - return true; - } - if(addContactVerify != __rhs.addContactVerify) - { - return true; - } - if(sendMsgVerify != __rhs.sendMsgVerify) - { - return true; - } - if(userStatus != __rhs.userStatus) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - if(totalActDegree != __rhs.totalActDegree) - { - return true; - } - if(createTime != __rhs.createTime) - { - return true; - } - if(accounttype != __rhs.accounttype) - { - return true; - } - if(loginIp != __rhs.loginIp) - { - return true; - } - if(userfunctions != __rhs.userfunctions) - { - return true; - } - if(userValue != __rhs.userValue) - { - return true; - } - if(rightMap != __rhs.rightMap) - { - return true; - } - if(question != __rhs.question) - { - return true; - } - if(answer != __rhs.answer) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEUserInfoExNew4::operator<(const SICEUserInfoExNew4& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(picId < __rhs.picId) - { - return true; - } - else if(__rhs.picId < picId) - { - return false; - } - if(sysMsgId < __rhs.sysMsgId) - { - return true; - } - else if(__rhs.sysMsgId < sysMsgId) - { - return false; - } - if(lastLoginTime < __rhs.lastLoginTime) - { - return true; - } - else if(__rhs.lastLoginTime < lastLoginTime) - { - return false; - } - if(loginCount < __rhs.loginCount) - { - return true; - } - else if(__rhs.loginCount < loginCount) - { - return false; - } - if(strangerMsgCount < __rhs.strangerMsgCount) - { - return true; - } - else if(__rhs.strangerMsgCount < strangerMsgCount) - { - return false; - } - if(addContactCount < __rhs.addContactCount) - { - return true; - } - else if(__rhs.addContactCount < addContactCount) - { - return false; - } - if(addTribeCount < __rhs.addTribeCount) - { - return true; - } - else if(__rhs.addTribeCount < addTribeCount) - { - return false; - } - if(groupTimes < __rhs.groupTimes) - { - return true; - } - else if(__rhs.groupTimes < groupTimes) - { - return false; - } - if(contactTimes < __rhs.contactTimes) - { - return true; - } - else if(__rhs.contactTimes < contactTimes) - { - return false; - } - if(blacklistTimes < __rhs.blacklistTimes) - { - return true; - } - else if(__rhs.blacklistTimes < blacklistTimes) - { - return false; - } - if(reverseBlacklistTimes < __rhs.reverseBlacklistTimes) - { - return true; - } - else if(__rhs.reverseBlacklistTimes < reverseBlacklistTimes) - { - return false; - } - if(offlinemsgTimes < __rhs.offlinemsgTimes) - { - return true; - } - else if(__rhs.offlinemsgTimes < offlinemsgTimes) - { - return false; - } - if(gencontacttimes < __rhs.gencontacttimes) - { - return true; - } - else if(__rhs.gencontacttimes < gencontacttimes) - { - return false; - } - if(toolprofiletimes < __rhs.toolprofiletimes) - { - return true; - } - else if(__rhs.toolprofiletimes < toolprofiletimes) - { - return false; - } - if(addContactVerify < __rhs.addContactVerify) - { - return true; - } - else if(__rhs.addContactVerify < addContactVerify) - { - return false; - } - if(sendMsgVerify < __rhs.sendMsgVerify) - { - return true; - } - else if(__rhs.sendMsgVerify < sendMsgVerify) - { - return false; - } - if(userStatus < __rhs.userStatus) - { - return true; - } - else if(__rhs.userStatus < userStatus) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - if(totalActDegree < __rhs.totalActDegree) - { - return true; - } - else if(__rhs.totalActDegree < totalActDegree) - { - return false; - } - if(createTime < __rhs.createTime) - { - return true; - } - else if(__rhs.createTime < createTime) - { - return false; - } - if(accounttype < __rhs.accounttype) - { - return true; - } - else if(__rhs.accounttype < accounttype) - { - return false; - } - if(loginIp < __rhs.loginIp) - { - return true; - } - else if(__rhs.loginIp < loginIp) - { - return false; - } - if(userfunctions < __rhs.userfunctions) - { - return true; - } - else if(__rhs.userfunctions < userfunctions) - { - return false; - } - if(userValue < __rhs.userValue) - { - return true; - } - else if(__rhs.userValue < userValue) - { - return false; - } - if(rightMap < __rhs.rightMap) - { - return true; - } - else if(__rhs.rightMap < rightMap) - { - return false; - } - if(question < __rhs.question) - { - return true; - } - else if(__rhs.question < question) - { - return false; - } - if(answer < __rhs.answer) - { - return true; - } - else if(__rhs.answer < answer) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEUserInfoExNew4::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(picId); - __os->write(sysMsgId); - __os->write(lastLoginTime); - __os->write(loginCount); - __os->write(strangerMsgCount); - __os->write(addContactCount); - __os->write(addTribeCount); - __os->write(groupTimes); - __os->write(contactTimes); - __os->write(blacklistTimes); - __os->write(reverseBlacklistTimes); - __os->write(offlinemsgTimes); - __os->write(gencontacttimes); - __os->write(toolprofiletimes); - __os->write(addContactVerify); - __os->write(sendMsgVerify); - __os->write(userStatus); - __os->write(userLevel); - __os->write(totalActDegree); - __os->write(createTime); - __os->write(accounttype); - __os->write(loginIp); - __os->write(userfunctions); - __os->write(userValue); - ::AliIMDBBase::__write(__os, rightMap, ::AliIMDBBase::__U__RIGHTTABLE()); - __os->write(question); - __os->write(answer); -} - -void -AliIMDBBase::SICEUserInfoExNew4::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(picId); - __is->read(sysMsgId); - __is->read(lastLoginTime); - __is->read(loginCount); - __is->read(strangerMsgCount); - __is->read(addContactCount); - __is->read(addTribeCount); - __is->read(groupTimes); - __is->read(contactTimes); - __is->read(blacklistTimes); - __is->read(reverseBlacklistTimes); - __is->read(offlinemsgTimes); - __is->read(gencontacttimes); - __is->read(toolprofiletimes); - __is->read(addContactVerify); - __is->read(sendMsgVerify); - __is->read(userStatus); - __is->read(userLevel); - __is->read(totalActDegree); - __is->read(createTime); - __is->read(accounttype); - __is->read(loginIp); - __is->read(userfunctions); - __is->read(userValue); - ::AliIMDBBase::__read(__is, rightMap, ::AliIMDBBase::__U__RIGHTTABLE()); - __is->read(question); - __is->read(answer); -} - -bool -AliIMDBBase::SICEGroupInfo::operator==(const SICEGroupInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEGroupInfo::operator!=(const SICEGroupInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(groupName != __rhs.groupName) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEGroupInfo::operator<(const SICEGroupInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(groupName < __rhs.groupName) - { - return true; - } - else if(__rhs.groupName < groupName) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEGroupInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(groupId); - __os->write(groupName); -} - -void -AliIMDBBase::SICEGroupInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(groupId); - __is->read(groupName); -} - -bool -AliIMDBBase::SICEGroupInfoEx::operator==(const SICEGroupInfoEx& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEGroupInfoEx::operator!=(const SICEGroupInfoEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(parentId != __rhs.parentId) - { - return true; - } - if(groupName != __rhs.groupName) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEGroupInfoEx::operator<(const SICEGroupInfoEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(parentId < __rhs.parentId) - { - return true; - } - else if(__rhs.parentId < parentId) - { - return false; - } - if(groupName < __rhs.groupName) - { - return true; - } - else if(__rhs.groupName < groupName) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEGroupInfoEx::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(groupId); - __os->write(parentId); - __os->write(groupName); -} - -void -AliIMDBBase::SICEGroupInfoEx::__read(::IceInternal::BasicStream* __is) -{ - __is->read(groupId); - __is->read(parentId); - __is->read(groupName); -} - -bool -AliIMDBBase::SICEContactInfo::operator==(const SICEContactInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEContactInfo::operator!=(const SICEContactInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(contactId != __rhs.contactId) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(nickName != __rhs.nickName) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(cid != __rhs.cid) - { - return true; - } - if(cnttype != __rhs.cnttype) - { - return true; - } - if(clientInfo != __rhs.clientInfo) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEContactInfo::operator<(const SICEContactInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(contactId < __rhs.contactId) - { - return true; - } - else if(__rhs.contactId < contactId) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(nickName < __rhs.nickName) - { - return true; - } - else if(__rhs.nickName < nickName) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(cid < __rhs.cid) - { - return true; - } - else if(__rhs.cid < cid) - { - return false; - } - if(cnttype < __rhs.cnttype) - { - return true; - } - else if(__rhs.cnttype < cnttype) - { - return false; - } - if(clientInfo < __rhs.clientInfo) - { - return true; - } - else if(__rhs.clientInfo < clientInfo) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEContactInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(contactId); - __os->write(groupId); - __os->write(nickName); - __os->write(status); - __os->write(cid); - __os->write(cnttype); - __os->write(clientInfo); -} - -void -AliIMDBBase::SICEContactInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(contactId); - __is->read(groupId); - __is->read(nickName); - __is->read(status); - __is->read(cid); - __is->read(cnttype); - __is->read(clientInfo); -} - -bool -AliIMDBBase::SICEUserId::operator==(const SICEUserId& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEUserId::operator!=(const SICEUserId& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEUserId::operator<(const SICEUserId& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEUserId::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); -} - -void -AliIMDBBase::SICEUserId::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); -} - -bool -AliIMDBBase::SICEOffLineMessege::operator==(const SICEOffLineMessege& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEOffLineMessege::operator!=(const SICEOffLineMessege& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(createTime != __rhs.createTime) - { - return true; - } - if(type != __rhs.type) - { - return true; - } - if(fromId != __rhs.fromId) - { - return true; - } - if(content != __rhs.content) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEOffLineMessege::operator<(const SICEOffLineMessege& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(createTime < __rhs.createTime) - { - return true; - } - else if(__rhs.createTime < createTime) - { - return false; - } - if(type < __rhs.type) - { - return true; - } - else if(__rhs.type < type) - { - return false; - } - if(fromId < __rhs.fromId) - { - return true; - } - else if(__rhs.fromId < fromId) - { - return false; - } - if(content < __rhs.content) - { - return true; - } - else if(__rhs.content < content) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEOffLineMessege::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(createTime); - __os->write(type); - __os->write(fromId); - __os->write(content); -} - -void -AliIMDBBase::SICEOffLineMessege::__read(::IceInternal::BasicStream* __is) -{ - __is->read(createTime); - __is->read(type); - __is->read(fromId); - __is->read(content); -} - -bool -AliIMDBBase::SICEOffLineMessegeEx::operator==(const SICEOffLineMessegeEx& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEOffLineMessegeEx::operator!=(const SICEOffLineMessegeEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(sendTime != __rhs.sendTime) - { - return true; - } - if(type != __rhs.type) - { - return true; - } - if(fromId != __rhs.fromId) - { - return true; - } - if(content != __rhs.content) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEOffLineMessegeEx::operator<(const SICEOffLineMessegeEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(sendTime < __rhs.sendTime) - { - return true; - } - else if(__rhs.sendTime < sendTime) - { - return false; - } - if(type < __rhs.type) - { - return true; - } - else if(__rhs.type < type) - { - return false; - } - if(fromId < __rhs.fromId) - { - return true; - } - else if(__rhs.fromId < fromId) - { - return false; - } - if(content < __rhs.content) - { - return true; - } - else if(__rhs.content < content) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEOffLineMessegeEx::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(sendTime); - __os->write(type); - __os->write(fromId); - __os->write(content); -} - -void -AliIMDBBase::SICEOffLineMessegeEx::__read(::IceInternal::BasicStream* __is) -{ - __is->read(sendTime); - __is->read(type); - __is->read(fromId); - __is->read(content); -} - -bool -AliIMDBBase::SICEUserDStatus::operator==(const SICEUserDStatus& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEUserDStatus::operator!=(const SICEUserDStatus& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(statusId != __rhs.statusId) - { - return true; - } - if(statusInfo != __rhs.statusInfo) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEUserDStatus::operator<(const SICEUserDStatus& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(statusId < __rhs.statusId) - { - return true; - } - else if(__rhs.statusId < statusId) - { - return false; - } - if(statusInfo < __rhs.statusInfo) - { - return true; - } - else if(__rhs.statusInfo < statusInfo) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEUserDStatus::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(statusId); - __os->write(statusInfo); -} - -void -AliIMDBBase::SICEUserDStatus::__read(::IceInternal::BasicStream* __is) -{ - __is->read(statusId); - __is->read(statusInfo); -} - -bool -AliIMDBBase::SICECntCidModPair::operator==(const SICECntCidModPair& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICECntCidModPair::operator!=(const SICECntCidModPair& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(cid != __rhs.cid) - { - return true; - } - if(modSeqId != __rhs.modSeqId) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICECntCidModPair::operator<(const SICECntCidModPair& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(cid < __rhs.cid) - { - return true; - } - else if(__rhs.cid < cid) - { - return false; - } - if(modSeqId < __rhs.modSeqId) - { - return true; - } - else if(__rhs.modSeqId < modSeqId) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICECntCidModPair::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(cid); - __os->write(modSeqId); -} - -void -AliIMDBBase::SICECntCidModPair::__read(::IceInternal::BasicStream* __is) -{ - __is->read(cid); - __is->read(modSeqId); -} - -bool -AliIMDBBase::SICECRMContactDetail::operator==(const SICECRMContactDetail& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICECRMContactDetail::operator!=(const SICECRMContactDetail& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(cntname != __rhs.cntname) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(phoneno != __rhs.phoneno) - { - return true; - } - if(mobileno != __rhs.mobileno) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(sex != __rhs.sex) - { - return true; - } - if(jobtitle != __rhs.jobtitle) - { - return true; - } - if(compaddr != __rhs.compaddr) - { - return true; - } - if(bizcatid != __rhs.bizcatid) - { - return true; - } - if(buykeys != __rhs.buykeys) - { - return true; - } - if(salekeys != __rhs.salekeys) - { - return true; - } - if(faxnumber != __rhs.faxnumber) - { - return true; - } - if(penname != __rhs.penname) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICECRMContactDetail::operator<(const SICECRMContactDetail& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(cntname < __rhs.cntname) - { - return true; - } - else if(__rhs.cntname < cntname) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(phoneno < __rhs.phoneno) - { - return true; - } - else if(__rhs.phoneno < phoneno) - { - return false; - } - if(mobileno < __rhs.mobileno) - { - return true; - } - else if(__rhs.mobileno < mobileno) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(sex < __rhs.sex) - { - return true; - } - else if(__rhs.sex < sex) - { - return false; - } - if(jobtitle < __rhs.jobtitle) - { - return true; - } - else if(__rhs.jobtitle < jobtitle) - { - return false; - } - if(compaddr < __rhs.compaddr) - { - return true; - } - else if(__rhs.compaddr < compaddr) - { - return false; - } - if(bizcatid < __rhs.bizcatid) - { - return true; - } - else if(__rhs.bizcatid < bizcatid) - { - return false; - } - if(buykeys < __rhs.buykeys) - { - return true; - } - else if(__rhs.buykeys < buykeys) - { - return false; - } - if(salekeys < __rhs.salekeys) - { - return true; - } - else if(__rhs.salekeys < salekeys) - { - return false; - } - if(faxnumber < __rhs.faxnumber) - { - return true; - } - else if(__rhs.faxnumber < faxnumber) - { - return false; - } - if(penname < __rhs.penname) - { - return true; - } - else if(__rhs.penname < penname) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICECRMContactDetail::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(cntname); - __os->write(email); - __os->write(phoneno); - __os->write(mobileno); - __os->write(company); - __os->write(sex); - __os->write(jobtitle); - __os->write(compaddr); - __os->write(bizcatid); - __os->write(buykeys); - __os->write(salekeys); - __os->write(faxnumber); - __os->write(penname); -} - -void -AliIMDBBase::SICECRMContactDetail::__read(::IceInternal::BasicStream* __is) -{ - __is->read(cntname); - __is->read(email); - __is->read(phoneno); - __is->read(mobileno); - __is->read(company); - __is->read(sex); - __is->read(jobtitle); - __is->read(compaddr); - __is->read(bizcatid); - __is->read(buykeys); - __is->read(salekeys); - __is->read(faxnumber); - __is->read(penname); -} - -bool -AliIMDBBase::SICESeqId::operator==(const SICESeqId& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICESeqId::operator!=(const SICESeqId& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(seqId != __rhs.seqId) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICESeqId::operator<(const SICESeqId& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(seqId < __rhs.seqId) - { - return true; - } - else if(__rhs.seqId < seqId) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICESeqId::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(seqId); -} - -void -AliIMDBBase::SICESeqId::__read(::IceInternal::BasicStream* __is) -{ - __is->read(seqId); -} - -bool -AliIMDBBase::SICENetPhoneChargeInfo::operator==(const SICENetPhoneChargeInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICENetPhoneChargeInfo::operator!=(const SICENetPhoneChargeInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(chargeseqid != __rhs.chargeseqid) - { - return true; - } - if(payseqid != __rhs.payseqid) - { - return true; - } - if(chargebegintime != __rhs.chargebegintime) - { - return true; - } - if(denomination != __rhs.denomination) - { - return true; - } - if(payrealmoney != __rhs.payrealmoney) - { - return true; - } - if(chargestatus != __rhs.chargestatus) - { - return true; - } - if(paystatus != __rhs.paystatus) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICENetPhoneChargeInfo::operator<(const SICENetPhoneChargeInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(chargeseqid < __rhs.chargeseqid) - { - return true; - } - else if(__rhs.chargeseqid < chargeseqid) - { - return false; - } - if(payseqid < __rhs.payseqid) - { - return true; - } - else if(__rhs.payseqid < payseqid) - { - return false; - } - if(chargebegintime < __rhs.chargebegintime) - { - return true; - } - else if(__rhs.chargebegintime < chargebegintime) - { - return false; - } - if(denomination < __rhs.denomination) - { - return true; - } - else if(__rhs.denomination < denomination) - { - return false; - } - if(payrealmoney < __rhs.payrealmoney) - { - return true; - } - else if(__rhs.payrealmoney < payrealmoney) - { - return false; - } - if(chargestatus < __rhs.chargestatus) - { - return true; - } - else if(__rhs.chargestatus < chargestatus) - { - return false; - } - if(paystatus < __rhs.paystatus) - { - return true; - } - else if(__rhs.paystatus < paystatus) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICENetPhoneChargeInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(chargeseqid); - __os->write(payseqid); - __os->write(chargebegintime); - __os->write(denomination); - __os->write(payrealmoney); - __os->write(chargestatus); - __os->write(paystatus); -} - -void -AliIMDBBase::SICENetPhoneChargeInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(chargeseqid); - __is->read(payseqid); - __is->read(chargebegintime); - __is->read(denomination); - __is->read(payrealmoney); - __is->read(chargestatus); - __is->read(paystatus); -} - -bool -AliIMDBBase::SICEGenContactFull::operator==(const SICEGenContactFull& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEGenContactFull::operator!=(const SICEGenContactFull& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(cid != __rhs.cid) - { - return true; - } - if(cntid != __rhs.cntid) - { - return true; - } - if(nickname != __rhs.nickname) - { - return true; - } - if(seqid != __rhs.seqid) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(showflag != __rhs.showflag) - { - return true; - } - if(sex != __rhs.sex) - { - return true; - } - if(cnttype != __rhs.cnttype) - { - return true; - } - if(bizcatid != __rhs.bizcatid) - { - return true; - } - if(realname != __rhs.realname) - { - return true; - } - if(email1 != __rhs.email1) - { - return true; - } - if(cphoneno1 != __rhs.cphoneno1) - { - return true; - } - if(hphoneno1 != __rhs.hphoneno1) - { - return true; - } - if(mobileno1 != __rhs.mobileno1) - { - return true; - } - if(alitalkid != __rhs.alitalkid) - { - return true; - } - if(companyname != __rhs.companyname) - { - return true; - } - if(email2 != __rhs.email2) - { - return true; - } - if(email3 != __rhs.email3) - { - return true; - } - if(cphoneno2 != __rhs.cphoneno2) - { - return true; - } - if(cphoneno3 != __rhs.cphoneno3) - { - return true; - } - if(mobileno2 != __rhs.mobileno2) - { - return true; - } - if(mobileno3 != __rhs.mobileno3) - { - return true; - } - if(buykeys != __rhs.buykeys) - { - return true; - } - if(salekeys != __rhs.salekeys) - { - return true; - } - if(jobtitle != __rhs.jobtitle) - { - return true; - } - if(compaddr != __rhs.compaddr) - { - return true; - } - if(homeaddr != __rhs.homeaddr) - { - return true; - } - if(compzip != __rhs.compzip) - { - return true; - } - if(homezip != __rhs.homezip) - { - return true; - } - if(cntpicid != __rhs.cntpicid) - { - return true; - } - if(compurl != __rhs.compurl) - { - return true; - } - if(homeurl != __rhs.homeurl) - { - return true; - } - if(wwangid != __rhs.wwangid) - { - return true; - } - if(yahooid != __rhs.yahooid) - { - return true; - } - if(msnid != __rhs.msnid) - { - return true; - } - if(qqid != __rhs.qqid) - { - return true; - } - if(deptname != __rhs.deptname) - { - return true; - } - if(managername != __rhs.managername) - { - return true; - } - if(idnumber != __rhs.idnumber) - { - return true; - } - if(workidno != __rhs.workidno) - { - return true; - } - if(faxnumber != __rhs.faxnumber) - { - return true; - } - if(penname != __rhs.penname) - { - return true; - } - if(engname != __rhs.engname) - { - return true; - } - if(consortname != __rhs.consortname) - { - return true; - } - if(avocation != __rhs.avocation) - { - return true; - } - if(assistname != __rhs.assistname) - { - return true; - } - if(childname != __rhs.childname) - { - return true; - } - if(birthday != __rhs.birthday) - { - return true; - } - if(memo != __rhs.memo) - { - return true; - } - if(firstname != __rhs.firstname) - { - return true; - } - if(lastname != __rhs.lastname) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEGenContactFull::operator<(const SICEGenContactFull& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(cid < __rhs.cid) - { - return true; - } - else if(__rhs.cid < cid) - { - return false; - } - if(cntid < __rhs.cntid) - { - return true; - } - else if(__rhs.cntid < cntid) - { - return false; - } - if(nickname < __rhs.nickname) - { - return true; - } - else if(__rhs.nickname < nickname) - { - return false; - } - if(seqid < __rhs.seqid) - { - return true; - } - else if(__rhs.seqid < seqid) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(showflag < __rhs.showflag) - { - return true; - } - else if(__rhs.showflag < showflag) - { - return false; - } - if(sex < __rhs.sex) - { - return true; - } - else if(__rhs.sex < sex) - { - return false; - } - if(cnttype < __rhs.cnttype) - { - return true; - } - else if(__rhs.cnttype < cnttype) - { - return false; - } - if(bizcatid < __rhs.bizcatid) - { - return true; - } - else if(__rhs.bizcatid < bizcatid) - { - return false; - } - if(realname < __rhs.realname) - { - return true; - } - else if(__rhs.realname < realname) - { - return false; - } - if(email1 < __rhs.email1) - { - return true; - } - else if(__rhs.email1 < email1) - { - return false; - } - if(cphoneno1 < __rhs.cphoneno1) - { - return true; - } - else if(__rhs.cphoneno1 < cphoneno1) - { - return false; - } - if(hphoneno1 < __rhs.hphoneno1) - { - return true; - } - else if(__rhs.hphoneno1 < hphoneno1) - { - return false; - } - if(mobileno1 < __rhs.mobileno1) - { - return true; - } - else if(__rhs.mobileno1 < mobileno1) - { - return false; - } - if(alitalkid < __rhs.alitalkid) - { - return true; - } - else if(__rhs.alitalkid < alitalkid) - { - return false; - } - if(companyname < __rhs.companyname) - { - return true; - } - else if(__rhs.companyname < companyname) - { - return false; - } - if(email2 < __rhs.email2) - { - return true; - } - else if(__rhs.email2 < email2) - { - return false; - } - if(email3 < __rhs.email3) - { - return true; - } - else if(__rhs.email3 < email3) - { - return false; - } - if(cphoneno2 < __rhs.cphoneno2) - { - return true; - } - else if(__rhs.cphoneno2 < cphoneno2) - { - return false; - } - if(cphoneno3 < __rhs.cphoneno3) - { - return true; - } - else if(__rhs.cphoneno3 < cphoneno3) - { - return false; - } - if(mobileno2 < __rhs.mobileno2) - { - return true; - } - else if(__rhs.mobileno2 < mobileno2) - { - return false; - } - if(mobileno3 < __rhs.mobileno3) - { - return true; - } - else if(__rhs.mobileno3 < mobileno3) - { - return false; - } - if(buykeys < __rhs.buykeys) - { - return true; - } - else if(__rhs.buykeys < buykeys) - { - return false; - } - if(salekeys < __rhs.salekeys) - { - return true; - } - else if(__rhs.salekeys < salekeys) - { - return false; - } - if(jobtitle < __rhs.jobtitle) - { - return true; - } - else if(__rhs.jobtitle < jobtitle) - { - return false; - } - if(compaddr < __rhs.compaddr) - { - return true; - } - else if(__rhs.compaddr < compaddr) - { - return false; - } - if(homeaddr < __rhs.homeaddr) - { - return true; - } - else if(__rhs.homeaddr < homeaddr) - { - return false; - } - if(compzip < __rhs.compzip) - { - return true; - } - else if(__rhs.compzip < compzip) - { - return false; - } - if(homezip < __rhs.homezip) - { - return true; - } - else if(__rhs.homezip < homezip) - { - return false; - } - if(cntpicid < __rhs.cntpicid) - { - return true; - } - else if(__rhs.cntpicid < cntpicid) - { - return false; - } - if(compurl < __rhs.compurl) - { - return true; - } - else if(__rhs.compurl < compurl) - { - return false; - } - if(homeurl < __rhs.homeurl) - { - return true; - } - else if(__rhs.homeurl < homeurl) - { - return false; - } - if(wwangid < __rhs.wwangid) - { - return true; - } - else if(__rhs.wwangid < wwangid) - { - return false; - } - if(yahooid < __rhs.yahooid) - { - return true; - } - else if(__rhs.yahooid < yahooid) - { - return false; - } - if(msnid < __rhs.msnid) - { - return true; - } - else if(__rhs.msnid < msnid) - { - return false; - } - if(qqid < __rhs.qqid) - { - return true; - } - else if(__rhs.qqid < qqid) - { - return false; - } - if(deptname < __rhs.deptname) - { - return true; - } - else if(__rhs.deptname < deptname) - { - return false; - } - if(managername < __rhs.managername) - { - return true; - } - else if(__rhs.managername < managername) - { - return false; - } - if(idnumber < __rhs.idnumber) - { - return true; - } - else if(__rhs.idnumber < idnumber) - { - return false; - } - if(workidno < __rhs.workidno) - { - return true; - } - else if(__rhs.workidno < workidno) - { - return false; - } - if(faxnumber < __rhs.faxnumber) - { - return true; - } - else if(__rhs.faxnumber < faxnumber) - { - return false; - } - if(penname < __rhs.penname) - { - return true; - } - else if(__rhs.penname < penname) - { - return false; - } - if(engname < __rhs.engname) - { - return true; - } - else if(__rhs.engname < engname) - { - return false; - } - if(consortname < __rhs.consortname) - { - return true; - } - else if(__rhs.consortname < consortname) - { - return false; - } - if(avocation < __rhs.avocation) - { - return true; - } - else if(__rhs.avocation < avocation) - { - return false; - } - if(assistname < __rhs.assistname) - { - return true; - } - else if(__rhs.assistname < assistname) - { - return false; - } - if(childname < __rhs.childname) - { - return true; - } - else if(__rhs.childname < childname) - { - return false; - } - if(birthday < __rhs.birthday) - { - return true; - } - else if(__rhs.birthday < birthday) - { - return false; - } - if(memo < __rhs.memo) - { - return true; - } - else if(__rhs.memo < memo) - { - return false; - } - if(firstname < __rhs.firstname) - { - return true; - } - else if(__rhs.firstname < firstname) - { - return false; - } - if(lastname < __rhs.lastname) - { - return true; - } - else if(__rhs.lastname < lastname) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEGenContactFull::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(cid); - __os->write(cntid); - __os->write(nickname); - __os->write(seqid); - __os->write(groupId); - __os->write(showflag); - __os->write(sex); - __os->write(cnttype); - __os->write(bizcatid); - __os->write(realname); - __os->write(email1); - __os->write(cphoneno1); - __os->write(hphoneno1); - __os->write(mobileno1); - __os->write(alitalkid); - __os->write(companyname); - __os->write(email2); - __os->write(email3); - __os->write(cphoneno2); - __os->write(cphoneno3); - __os->write(mobileno2); - __os->write(mobileno3); - __os->write(buykeys); - __os->write(salekeys); - __os->write(jobtitle); - __os->write(compaddr); - __os->write(homeaddr); - __os->write(compzip); - __os->write(homezip); - __os->write(cntpicid); - __os->write(compurl); - __os->write(homeurl); - __os->write(wwangid); - __os->write(yahooid); - __os->write(msnid); - __os->write(qqid); - __os->write(deptname); - __os->write(managername); - __os->write(idnumber); - __os->write(workidno); - __os->write(faxnumber); - __os->write(penname); - __os->write(engname); - __os->write(consortname); - __os->write(avocation); - __os->write(assistname); - __os->write(childname); - __os->write(birthday); - __os->write(memo); - __os->write(firstname); - __os->write(lastname); -} - -void -AliIMDBBase::SICEGenContactFull::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(cid); - __is->read(cntid); - __is->read(nickname); - __is->read(seqid); - __is->read(groupId); - __is->read(showflag); - __is->read(sex); - __is->read(cnttype); - __is->read(bizcatid); - __is->read(realname); - __is->read(email1); - __is->read(cphoneno1); - __is->read(hphoneno1); - __is->read(mobileno1); - __is->read(alitalkid); - __is->read(companyname); - __is->read(email2); - __is->read(email3); - __is->read(cphoneno2); - __is->read(cphoneno3); - __is->read(mobileno2); - __is->read(mobileno3); - __is->read(buykeys); - __is->read(salekeys); - __is->read(jobtitle); - __is->read(compaddr); - __is->read(homeaddr); - __is->read(compzip); - __is->read(homezip); - __is->read(cntpicid); - __is->read(compurl); - __is->read(homeurl); - __is->read(wwangid); - __is->read(yahooid); - __is->read(msnid); - __is->read(qqid); - __is->read(deptname); - __is->read(managername); - __is->read(idnumber); - __is->read(workidno); - __is->read(faxnumber); - __is->read(penname); - __is->read(engname); - __is->read(consortname); - __is->read(avocation); - __is->read(assistname); - __is->read(childname); - __is->read(birthday); - __is->read(memo); - __is->read(firstname); - __is->read(lastname); -} - -bool -AliIMDBBase::SICEATMGenContactFull::operator==(const SICEATMGenContactFull& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEATMGenContactFull::operator!=(const SICEATMGenContactFull& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(cid != __rhs.cid) - { - return true; - } - if(cntid != __rhs.cntid) - { - return true; - } - if(nickname != __rhs.nickname) - { - return true; - } - if(seqid != __rhs.seqid) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(showflag != __rhs.showflag) - { - return true; - } - if(sex != __rhs.sex) - { - return true; - } - if(cnttype != __rhs.cnttype) - { - return true; - } - if(bizcatid != __rhs.bizcatid) - { - return true; - } - if(realname != __rhs.realname) - { - return true; - } - if(email1 != __rhs.email1) - { - return true; - } - if(cphoneno1 != __rhs.cphoneno1) - { - return true; - } - if(hphoneno1 != __rhs.hphoneno1) - { - return true; - } - if(mobileno1 != __rhs.mobileno1) - { - return true; - } - if(alitalkid != __rhs.alitalkid) - { - return true; - } - if(companyname != __rhs.companyname) - { - return true; - } - if(email2 != __rhs.email2) - { - return true; - } - if(email3 != __rhs.email3) - { - return true; - } - if(cphoneno2 != __rhs.cphoneno2) - { - return true; - } - if(cphoneno3 != __rhs.cphoneno3) - { - return true; - } - if(mobileno2 != __rhs.mobileno2) - { - return true; - } - if(mobileno3 != __rhs.mobileno3) - { - return true; - } - if(buykeys != __rhs.buykeys) - { - return true; - } - if(salekeys != __rhs.salekeys) - { - return true; - } - if(jobtitle != __rhs.jobtitle) - { - return true; - } - if(compaddr != __rhs.compaddr) - { - return true; - } - if(homeaddr != __rhs.homeaddr) - { - return true; - } - if(compzip != __rhs.compzip) - { - return true; - } - if(homezip != __rhs.homezip) - { - return true; - } - if(cntpicid != __rhs.cntpicid) - { - return true; - } - if(compurl != __rhs.compurl) - { - return true; - } - if(homeurl != __rhs.homeurl) - { - return true; - } - if(wwangid != __rhs.wwangid) - { - return true; - } - if(yahooid != __rhs.yahooid) - { - return true; - } - if(msnid != __rhs.msnid) - { - return true; - } - if(qqid != __rhs.qqid) - { - return true; - } - if(deptname != __rhs.deptname) - { - return true; - } - if(managername != __rhs.managername) - { - return true; - } - if(idnumber != __rhs.idnumber) - { - return true; - } - if(workidno != __rhs.workidno) - { - return true; - } - if(faxnumber != __rhs.faxnumber) - { - return true; - } - if(penname != __rhs.penname) - { - return true; - } - if(engname != __rhs.engname) - { - return true; - } - if(consortname != __rhs.consortname) - { - return true; - } - if(avocation != __rhs.avocation) - { - return true; - } - if(assistname != __rhs.assistname) - { - return true; - } - if(childname != __rhs.childname) - { - return true; - } - if(birthday != __rhs.birthday) - { - return true; - } - if(memo != __rhs.memo) - { - return true; - } - if(companyid != __rhs.companyid) - { - return true; - } - if(cntlevel != __rhs.cntlevel) - { - return true; - } - if(country != __rhs.country) - { - return true; - } - if(productService != __rhs.productService) - { - return true; - } - if(firstname != __rhs.firstname) - { - return true; - } - if(lastname != __rhs.lastname) - { - return true; - } - if(biztype != __rhs.biztype) - { - return true; - } - if(preRegister != __rhs.preRegister) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEATMGenContactFull::operator<(const SICEATMGenContactFull& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(cid < __rhs.cid) - { - return true; - } - else if(__rhs.cid < cid) - { - return false; - } - if(cntid < __rhs.cntid) - { - return true; - } - else if(__rhs.cntid < cntid) - { - return false; - } - if(nickname < __rhs.nickname) - { - return true; - } - else if(__rhs.nickname < nickname) - { - return false; - } - if(seqid < __rhs.seqid) - { - return true; - } - else if(__rhs.seqid < seqid) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(showflag < __rhs.showflag) - { - return true; - } - else if(__rhs.showflag < showflag) - { - return false; - } - if(sex < __rhs.sex) - { - return true; - } - else if(__rhs.sex < sex) - { - return false; - } - if(cnttype < __rhs.cnttype) - { - return true; - } - else if(__rhs.cnttype < cnttype) - { - return false; - } - if(bizcatid < __rhs.bizcatid) - { - return true; - } - else if(__rhs.bizcatid < bizcatid) - { - return false; - } - if(realname < __rhs.realname) - { - return true; - } - else if(__rhs.realname < realname) - { - return false; - } - if(email1 < __rhs.email1) - { - return true; - } - else if(__rhs.email1 < email1) - { - return false; - } - if(cphoneno1 < __rhs.cphoneno1) - { - return true; - } - else if(__rhs.cphoneno1 < cphoneno1) - { - return false; - } - if(hphoneno1 < __rhs.hphoneno1) - { - return true; - } - else if(__rhs.hphoneno1 < hphoneno1) - { - return false; - } - if(mobileno1 < __rhs.mobileno1) - { - return true; - } - else if(__rhs.mobileno1 < mobileno1) - { - return false; - } - if(alitalkid < __rhs.alitalkid) - { - return true; - } - else if(__rhs.alitalkid < alitalkid) - { - return false; - } - if(companyname < __rhs.companyname) - { - return true; - } - else if(__rhs.companyname < companyname) - { - return false; - } - if(email2 < __rhs.email2) - { - return true; - } - else if(__rhs.email2 < email2) - { - return false; - } - if(email3 < __rhs.email3) - { - return true; - } - else if(__rhs.email3 < email3) - { - return false; - } - if(cphoneno2 < __rhs.cphoneno2) - { - return true; - } - else if(__rhs.cphoneno2 < cphoneno2) - { - return false; - } - if(cphoneno3 < __rhs.cphoneno3) - { - return true; - } - else if(__rhs.cphoneno3 < cphoneno3) - { - return false; - } - if(mobileno2 < __rhs.mobileno2) - { - return true; - } - else if(__rhs.mobileno2 < mobileno2) - { - return false; - } - if(mobileno3 < __rhs.mobileno3) - { - return true; - } - else if(__rhs.mobileno3 < mobileno3) - { - return false; - } - if(buykeys < __rhs.buykeys) - { - return true; - } - else if(__rhs.buykeys < buykeys) - { - return false; - } - if(salekeys < __rhs.salekeys) - { - return true; - } - else if(__rhs.salekeys < salekeys) - { - return false; - } - if(jobtitle < __rhs.jobtitle) - { - return true; - } - else if(__rhs.jobtitle < jobtitle) - { - return false; - } - if(compaddr < __rhs.compaddr) - { - return true; - } - else if(__rhs.compaddr < compaddr) - { - return false; - } - if(homeaddr < __rhs.homeaddr) - { - return true; - } - else if(__rhs.homeaddr < homeaddr) - { - return false; - } - if(compzip < __rhs.compzip) - { - return true; - } - else if(__rhs.compzip < compzip) - { - return false; - } - if(homezip < __rhs.homezip) - { - return true; - } - else if(__rhs.homezip < homezip) - { - return false; - } - if(cntpicid < __rhs.cntpicid) - { - return true; - } - else if(__rhs.cntpicid < cntpicid) - { - return false; - } - if(compurl < __rhs.compurl) - { - return true; - } - else if(__rhs.compurl < compurl) - { - return false; - } - if(homeurl < __rhs.homeurl) - { - return true; - } - else if(__rhs.homeurl < homeurl) - { - return false; - } - if(wwangid < __rhs.wwangid) - { - return true; - } - else if(__rhs.wwangid < wwangid) - { - return false; - } - if(yahooid < __rhs.yahooid) - { - return true; - } - else if(__rhs.yahooid < yahooid) - { - return false; - } - if(msnid < __rhs.msnid) - { - return true; - } - else if(__rhs.msnid < msnid) - { - return false; - } - if(qqid < __rhs.qqid) - { - return true; - } - else if(__rhs.qqid < qqid) - { - return false; - } - if(deptname < __rhs.deptname) - { - return true; - } - else if(__rhs.deptname < deptname) - { - return false; - } - if(managername < __rhs.managername) - { - return true; - } - else if(__rhs.managername < managername) - { - return false; - } - if(idnumber < __rhs.idnumber) - { - return true; - } - else if(__rhs.idnumber < idnumber) - { - return false; - } - if(workidno < __rhs.workidno) - { - return true; - } - else if(__rhs.workidno < workidno) - { - return false; - } - if(faxnumber < __rhs.faxnumber) - { - return true; - } - else if(__rhs.faxnumber < faxnumber) - { - return false; - } - if(penname < __rhs.penname) - { - return true; - } - else if(__rhs.penname < penname) - { - return false; - } - if(engname < __rhs.engname) - { - return true; - } - else if(__rhs.engname < engname) - { - return false; - } - if(consortname < __rhs.consortname) - { - return true; - } - else if(__rhs.consortname < consortname) - { - return false; - } - if(avocation < __rhs.avocation) - { - return true; - } - else if(__rhs.avocation < avocation) - { - return false; - } - if(assistname < __rhs.assistname) - { - return true; - } - else if(__rhs.assistname < assistname) - { - return false; - } - if(childname < __rhs.childname) - { - return true; - } - else if(__rhs.childname < childname) - { - return false; - } - if(birthday < __rhs.birthday) - { - return true; - } - else if(__rhs.birthday < birthday) - { - return false; - } - if(memo < __rhs.memo) - { - return true; - } - else if(__rhs.memo < memo) - { - return false; - } - if(companyid < __rhs.companyid) - { - return true; - } - else if(__rhs.companyid < companyid) - { - return false; - } - if(cntlevel < __rhs.cntlevel) - { - return true; - } - else if(__rhs.cntlevel < cntlevel) - { - return false; - } - if(country < __rhs.country) - { - return true; - } - else if(__rhs.country < country) - { - return false; - } - if(productService < __rhs.productService) - { - return true; - } - else if(__rhs.productService < productService) - { - return false; - } - if(firstname < __rhs.firstname) - { - return true; - } - else if(__rhs.firstname < firstname) - { - return false; - } - if(lastname < __rhs.lastname) - { - return true; - } - else if(__rhs.lastname < lastname) - { - return false; - } - if(biztype < __rhs.biztype) - { - return true; - } - else if(__rhs.biztype < biztype) - { - return false; - } - if(preRegister < __rhs.preRegister) - { - return true; - } - else if(__rhs.preRegister < preRegister) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEATMGenContactFull::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(cid); - __os->write(cntid); - __os->write(nickname); - __os->write(seqid); - __os->write(groupId); - __os->write(showflag); - __os->write(sex); - __os->write(cnttype); - __os->write(bizcatid); - __os->write(realname); - __os->write(email1); - __os->write(cphoneno1); - __os->write(hphoneno1); - __os->write(mobileno1); - __os->write(alitalkid); - __os->write(companyname); - __os->write(email2); - __os->write(email3); - __os->write(cphoneno2); - __os->write(cphoneno3); - __os->write(mobileno2); - __os->write(mobileno3); - __os->write(buykeys); - __os->write(salekeys); - __os->write(jobtitle); - __os->write(compaddr); - __os->write(homeaddr); - __os->write(compzip); - __os->write(homezip); - __os->write(cntpicid); - __os->write(compurl); - __os->write(homeurl); - __os->write(wwangid); - __os->write(yahooid); - __os->write(msnid); - __os->write(qqid); - __os->write(deptname); - __os->write(managername); - __os->write(idnumber); - __os->write(workidno); - __os->write(faxnumber); - __os->write(penname); - __os->write(engname); - __os->write(consortname); - __os->write(avocation); - __os->write(assistname); - __os->write(childname); - __os->write(birthday); - __os->write(memo); - __os->write(companyid); - __os->write(cntlevel); - __os->write(country); - __os->write(productService); - __os->write(firstname); - __os->write(lastname); - __os->write(biztype); - __os->write(preRegister); -} - -void -AliIMDBBase::SICEATMGenContactFull::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(cid); - __is->read(cntid); - __is->read(nickname); - __is->read(seqid); - __is->read(groupId); - __is->read(showflag); - __is->read(sex); - __is->read(cnttype); - __is->read(bizcatid); - __is->read(realname); - __is->read(email1); - __is->read(cphoneno1); - __is->read(hphoneno1); - __is->read(mobileno1); - __is->read(alitalkid); - __is->read(companyname); - __is->read(email2); - __is->read(email3); - __is->read(cphoneno2); - __is->read(cphoneno3); - __is->read(mobileno2); - __is->read(mobileno3); - __is->read(buykeys); - __is->read(salekeys); - __is->read(jobtitle); - __is->read(compaddr); - __is->read(homeaddr); - __is->read(compzip); - __is->read(homezip); - __is->read(cntpicid); - __is->read(compurl); - __is->read(homeurl); - __is->read(wwangid); - __is->read(yahooid); - __is->read(msnid); - __is->read(qqid); - __is->read(deptname); - __is->read(managername); - __is->read(idnumber); - __is->read(workidno); - __is->read(faxnumber); - __is->read(penname); - __is->read(engname); - __is->read(consortname); - __is->read(avocation); - __is->read(assistname); - __is->read(childname); - __is->read(birthday); - __is->read(memo); - __is->read(companyid); - __is->read(cntlevel); - __is->read(country); - __is->read(productService); - __is->read(firstname); - __is->read(lastname); - __is->read(biztype); - __is->read(preRegister); -} - -bool -AliIMDBBase::SICECntOtherModInfo::operator==(const SICECntOtherModInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICECntOtherModInfo::operator!=(const SICECntOtherModInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(cid != __rhs.cid) - { - return true; - } - if(modSeqId != __rhs.modSeqId) - { - return true; - } - if(memberLevel != __rhs.memberLevel) - { - return true; - } - if(smsbindflag != __rhs.smsbindflag) - { - return true; - } - if(smsmobileonlineflag != __rhs.smsmobileonlineflag) - { - return true; - } - if(smsbindmobile != __rhs.smsbindmobile) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICECntOtherModInfo::operator<(const SICECntOtherModInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(cid < __rhs.cid) - { - return true; - } - else if(__rhs.cid < cid) - { - return false; - } - if(modSeqId < __rhs.modSeqId) - { - return true; - } - else if(__rhs.modSeqId < modSeqId) - { - return false; - } - if(memberLevel < __rhs.memberLevel) - { - return true; - } - else if(__rhs.memberLevel < memberLevel) - { - return false; - } - if(smsbindflag < __rhs.smsbindflag) - { - return true; - } - else if(__rhs.smsbindflag < smsbindflag) - { - return false; - } - if(smsmobileonlineflag < __rhs.smsmobileonlineflag) - { - return true; - } - else if(__rhs.smsmobileonlineflag < smsmobileonlineflag) - { - return false; - } - if(smsbindmobile < __rhs.smsbindmobile) - { - return true; - } - else if(__rhs.smsbindmobile < smsbindmobile) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICECntOtherModInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(cid); - __os->write(modSeqId); - __os->write(memberLevel); - __os->write(smsbindflag); - __os->write(smsmobileonlineflag); - __os->write(smsbindmobile); -} - -void -AliIMDBBase::SICECntOtherModInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(cid); - __is->read(modSeqId); - __is->read(memberLevel); - __is->read(smsbindflag); - __is->read(smsmobileonlineflag); - __is->read(smsbindmobile); -} - -bool -AliIMDBBase::SICESmsUserInfo::operator==(const SICESmsUserInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICESmsUserInfo::operator!=(const SICESmsUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(bindFlag != __rhs.bindFlag) - { - return true; - } - if(mobileOnlineFlag != __rhs.mobileOnlineFlag) - { - return true; - } - if(account != __rhs.account) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(mobileNo != __rhs.mobileNo) - { - return true; - } - if(balance != __rhs.balance) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICESmsUserInfo::operator<(const SICESmsUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(bindFlag < __rhs.bindFlag) - { - return true; - } - else if(__rhs.bindFlag < bindFlag) - { - return false; - } - if(mobileOnlineFlag < __rhs.mobileOnlineFlag) - { - return true; - } - else if(__rhs.mobileOnlineFlag < mobileOnlineFlag) - { - return false; - } - if(account < __rhs.account) - { - return true; - } - else if(__rhs.account < account) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(mobileNo < __rhs.mobileNo) - { - return true; - } - else if(__rhs.mobileNo < mobileNo) - { - return false; - } - if(balance < __rhs.balance) - { - return true; - } - else if(__rhs.balance < balance) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICESmsUserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(bindFlag); - __os->write(mobileOnlineFlag); - __os->write(account); - __os->write(password); - __os->write(mobileNo); - __os->write(balance); -} - -void -AliIMDBBase::SICESmsUserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(bindFlag); - __is->read(mobileOnlineFlag); - __is->read(account); - __is->read(password); - __is->read(mobileNo); - __is->read(balance); -} - -bool -AliIMDBBase::SICEAMOSUserInfo::operator==(const SICEAMOSUserInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEAMOSUserInfo::operator!=(const SICEAMOSUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(lastLoginTime != __rhs.lastLoginTime) - { - return true; - } - if(mobileOnlineFlag != __rhs.mobileOnlineFlag) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEAMOSUserInfo::operator<(const SICEAMOSUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(lastLoginTime < __rhs.lastLoginTime) - { - return true; - } - else if(__rhs.lastLoginTime < lastLoginTime) - { - return false; - } - if(mobileOnlineFlag < __rhs.mobileOnlineFlag) - { - return true; - } - else if(__rhs.mobileOnlineFlag < mobileOnlineFlag) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEAMOSUserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(lastLoginTime); - __os->write(mobileOnlineFlag); -} - -void -AliIMDBBase::SICEAMOSUserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(lastLoginTime); - __is->read(mobileOnlineFlag); -} - -bool -AliIMDBBase::SMemberPWInfo::operator==(const SMemberPWInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SMemberPWInfo::operator!=(const SMemberPWInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(md5passwd != __rhs.md5passwd) - { - return true; - } - if(bcanlogon != __rhs.bcanlogon) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SMemberPWInfo::operator<(const SMemberPWInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(md5passwd < __rhs.md5passwd) - { - return true; - } - else if(__rhs.md5passwd < md5passwd) - { - return false; - } - if(bcanlogon < __rhs.bcanlogon) - { - return true; - } - else if(__rhs.bcanlogon < bcanlogon) - { - return false; - } - return false; -} - -void -AliIMDBBase::SMemberPWInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(md5passwd); - __os->write(bcanlogon); -} - -void -AliIMDBBase::SMemberPWInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(md5passwd); - __is->read(bcanlogon); -} - -bool -AliIMDBBase::SMemberPWInfoEx::operator==(const SMemberPWInfoEx& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SMemberPWInfoEx::operator!=(const SMemberPWInfoEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(md5passwd != __rhs.md5passwd) - { - return true; - } - if(bcanlogon != __rhs.bcanlogon) - { - return true; - } - if(activeState != __rhs.activeState) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SMemberPWInfoEx::operator<(const SMemberPWInfoEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(md5passwd < __rhs.md5passwd) - { - return true; - } - else if(__rhs.md5passwd < md5passwd) - { - return false; - } - if(bcanlogon < __rhs.bcanlogon) - { - return true; - } - else if(__rhs.bcanlogon < bcanlogon) - { - return false; - } - if(activeState < __rhs.activeState) - { - return true; - } - else if(__rhs.activeState < activeState) - { - return false; - } - return false; -} - -void -AliIMDBBase::SMemberPWInfoEx::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(md5passwd); - __os->write(bcanlogon); - __os->write(activeState); -} - -void -AliIMDBBase::SMemberPWInfoEx::__read(::IceInternal::BasicStream* __is) -{ - __is->read(md5passwd); - __is->read(bcanlogon); - __is->read(activeState); -} - -bool -AliIMDBBase::SUserWebBasicProfile::operator==(const SUserWebBasicProfile& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SUserWebBasicProfile::operator!=(const SUserWebBasicProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(nickname != __rhs.nickname) - { - return true; - } - if(realname != __rhs.realname) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(phoneno != __rhs.phoneno) - { - return true; - } - if(mobileno != __rhs.mobileno) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobtitle != __rhs.jobtitle) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(catid != __rhs.catid) - { - return true; - } - if(buykeyws != __rhs.buykeyws) - { - return true; - } - if(salekeyws != __rhs.salekeyws) - { - return true; - } - if(faxno != __rhs.faxno) - { - return true; - } - if(penname != __rhs.penname) - { - return true; - } - if(country != __rhs.country) - { - return true; - } - if(memberlevel != __rhs.memberlevel) - { - return true; - } - if(industry != __rhs.industry) - { - return true; - } - if(area != __rhs.area) - { - return true; - } - if(phoneStatus != __rhs.phoneStatus) - { - return true; - } - if(activestat != __rhs.activestat) - { - return true; - } - if(extraInfo != __rhs.extraInfo) - { - return true; - } - if(zip != __rhs.zip) - { - return true; - } - if(birthday != __rhs.birthday) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(prov != __rhs.prov) - { - return true; - } - if(city != __rhs.city) - { - return true; - } - if(usergender != __rhs.usergender) - { - return true; - } - if(birthdate != __rhs.birthdate) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(province != __rhs.province) - { - return true; - } - if(webLevel != __rhs.webLevel) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SUserWebBasicProfile::operator<(const SUserWebBasicProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(nickname < __rhs.nickname) - { - return true; - } - else if(__rhs.nickname < nickname) - { - return false; - } - if(realname < __rhs.realname) - { - return true; - } - else if(__rhs.realname < realname) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(phoneno < __rhs.phoneno) - { - return true; - } - else if(__rhs.phoneno < phoneno) - { - return false; - } - if(mobileno < __rhs.mobileno) - { - return true; - } - else if(__rhs.mobileno < mobileno) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobtitle < __rhs.jobtitle) - { - return true; - } - else if(__rhs.jobtitle < jobtitle) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(catid < __rhs.catid) - { - return true; - } - else if(__rhs.catid < catid) - { - return false; - } - if(buykeyws < __rhs.buykeyws) - { - return true; - } - else if(__rhs.buykeyws < buykeyws) - { - return false; - } - if(salekeyws < __rhs.salekeyws) - { - return true; - } - else if(__rhs.salekeyws < salekeyws) - { - return false; - } - if(faxno < __rhs.faxno) - { - return true; - } - else if(__rhs.faxno < faxno) - { - return false; - } - if(penname < __rhs.penname) - { - return true; - } - else if(__rhs.penname < penname) - { - return false; - } - if(country < __rhs.country) - { - return true; - } - else if(__rhs.country < country) - { - return false; - } - if(memberlevel < __rhs.memberlevel) - { - return true; - } - else if(__rhs.memberlevel < memberlevel) - { - return false; - } - if(industry < __rhs.industry) - { - return true; - } - else if(__rhs.industry < industry) - { - return false; - } - if(area < __rhs.area) - { - return true; - } - else if(__rhs.area < area) - { - return false; - } - if(phoneStatus < __rhs.phoneStatus) - { - return true; - } - else if(__rhs.phoneStatus < phoneStatus) - { - return false; - } - if(activestat < __rhs.activestat) - { - return true; - } - else if(__rhs.activestat < activestat) - { - return false; - } - if(extraInfo < __rhs.extraInfo) - { - return true; - } - else if(__rhs.extraInfo < extraInfo) - { - return false; - } - if(zip < __rhs.zip) - { - return true; - } - else if(__rhs.zip < zip) - { - return false; - } - if(birthday < __rhs.birthday) - { - return true; - } - else if(__rhs.birthday < birthday) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(prov < __rhs.prov) - { - return true; - } - else if(__rhs.prov < prov) - { - return false; - } - if(city < __rhs.city) - { - return true; - } - else if(__rhs.city < city) - { - return false; - } - if(usergender < __rhs.usergender) - { - return true; - } - else if(__rhs.usergender < usergender) - { - return false; - } - if(birthdate < __rhs.birthdate) - { - return true; - } - else if(__rhs.birthdate < birthdate) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(province < __rhs.province) - { - return true; - } - else if(__rhs.province < province) - { - return false; - } - if(webLevel < __rhs.webLevel) - { - return true; - } - else if(__rhs.webLevel < webLevel) - { - return false; - } - return false; -} - -void -AliIMDBBase::SUserWebBasicProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(nickname); - __os->write(realname); - __os->write(email); - __os->write(phoneno); - __os->write(mobileno); - __os->write(company); - __os->write(jobtitle); - __os->write(address); - __os->write(catid); - __os->write(buykeyws); - __os->write(salekeyws); - __os->write(faxno); - __os->write(penname); - __os->write(country); - __os->write(memberlevel); - __os->write(industry); - __os->write(area); - __os->write(phoneStatus); - __os->write(activestat); - __os->write(extraInfo); - __os->write(zip); - __os->write(birthday); - __os->write(password); - __os->write(prov); - __os->write(city); - __os->write(usergender); - __os->write(birthdate); - __os->write(status); - __os->write(province); - __os->write(webLevel); -} - -void -AliIMDBBase::SUserWebBasicProfile::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(nickname); - __is->read(realname); - __is->read(email); - __is->read(phoneno); - __is->read(mobileno); - __is->read(company); - __is->read(jobtitle); - __is->read(address); - __is->read(catid); - __is->read(buykeyws); - __is->read(salekeyws); - __is->read(faxno); - __is->read(penname); - __is->read(country); - __is->read(memberlevel); - __is->read(industry); - __is->read(area); - __is->read(phoneStatus); - __is->read(activestat); - __is->read(extraInfo); - __is->read(zip); - __is->read(birthday); - __is->read(password); - __is->read(prov); - __is->read(city); - __is->read(usergender); - __is->read(birthdate); - __is->read(status); - __is->read(province); - __is->read(webLevel); -} - -bool -AliIMDBBase::SUserWebBasicProfile2::operator==(const SUserWebBasicProfile2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SUserWebBasicProfile2::operator!=(const SUserWebBasicProfile2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(nickname != __rhs.nickname) - { - return true; - } - if(realname != __rhs.realname) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(phoneno != __rhs.phoneno) - { - return true; - } - if(mobileno != __rhs.mobileno) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobtitle != __rhs.jobtitle) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(catid != __rhs.catid) - { - return true; - } - if(buykeyws != __rhs.buykeyws) - { - return true; - } - if(salekeyws != __rhs.salekeyws) - { - return true; - } - if(faxno != __rhs.faxno) - { - return true; - } - if(penname != __rhs.penname) - { - return true; - } - if(country != __rhs.country) - { - return true; - } - if(memberlevel != __rhs.memberlevel) - { - return true; - } - if(industry != __rhs.industry) - { - return true; - } - if(area != __rhs.area) - { - return true; - } - if(phoneStatus != __rhs.phoneStatus) - { - return true; - } - if(activestat != __rhs.activestat) - { - return true; - } - if(extraInfo != __rhs.extraInfo) - { - return true; - } - if(zip != __rhs.zip) - { - return true; - } - if(birthday != __rhs.birthday) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(prov != __rhs.prov) - { - return true; - } - if(city != __rhs.city) - { - return true; - } - if(usergender != __rhs.usergender) - { - return true; - } - if(birthdate != __rhs.birthdate) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(province != __rhs.province) - { - return true; - } - if(webLevel != __rhs.webLevel) - { - return true; - } - if(subcity != __rhs.subcity) - { - return true; - } - if(homepage != __rhs.homepage) - { - return true; - } - if(interest != __rhs.interest) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SUserWebBasicProfile2::operator<(const SUserWebBasicProfile2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(nickname < __rhs.nickname) - { - return true; - } - else if(__rhs.nickname < nickname) - { - return false; - } - if(realname < __rhs.realname) - { - return true; - } - else if(__rhs.realname < realname) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(phoneno < __rhs.phoneno) - { - return true; - } - else if(__rhs.phoneno < phoneno) - { - return false; - } - if(mobileno < __rhs.mobileno) - { - return true; - } - else if(__rhs.mobileno < mobileno) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobtitle < __rhs.jobtitle) - { - return true; - } - else if(__rhs.jobtitle < jobtitle) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(catid < __rhs.catid) - { - return true; - } - else if(__rhs.catid < catid) - { - return false; - } - if(buykeyws < __rhs.buykeyws) - { - return true; - } - else if(__rhs.buykeyws < buykeyws) - { - return false; - } - if(salekeyws < __rhs.salekeyws) - { - return true; - } - else if(__rhs.salekeyws < salekeyws) - { - return false; - } - if(faxno < __rhs.faxno) - { - return true; - } - else if(__rhs.faxno < faxno) - { - return false; - } - if(penname < __rhs.penname) - { - return true; - } - else if(__rhs.penname < penname) - { - return false; - } - if(country < __rhs.country) - { - return true; - } - else if(__rhs.country < country) - { - return false; - } - if(memberlevel < __rhs.memberlevel) - { - return true; - } - else if(__rhs.memberlevel < memberlevel) - { - return false; - } - if(industry < __rhs.industry) - { - return true; - } - else if(__rhs.industry < industry) - { - return false; - } - if(area < __rhs.area) - { - return true; - } - else if(__rhs.area < area) - { - return false; - } - if(phoneStatus < __rhs.phoneStatus) - { - return true; - } - else if(__rhs.phoneStatus < phoneStatus) - { - return false; - } - if(activestat < __rhs.activestat) - { - return true; - } - else if(__rhs.activestat < activestat) - { - return false; - } - if(extraInfo < __rhs.extraInfo) - { - return true; - } - else if(__rhs.extraInfo < extraInfo) - { - return false; - } - if(zip < __rhs.zip) - { - return true; - } - else if(__rhs.zip < zip) - { - return false; - } - if(birthday < __rhs.birthday) - { - return true; - } - else if(__rhs.birthday < birthday) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(prov < __rhs.prov) - { - return true; - } - else if(__rhs.prov < prov) - { - return false; - } - if(city < __rhs.city) - { - return true; - } - else if(__rhs.city < city) - { - return false; - } - if(usergender < __rhs.usergender) - { - return true; - } - else if(__rhs.usergender < usergender) - { - return false; - } - if(birthdate < __rhs.birthdate) - { - return true; - } - else if(__rhs.birthdate < birthdate) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(province < __rhs.province) - { - return true; - } - else if(__rhs.province < province) - { - return false; - } - if(webLevel < __rhs.webLevel) - { - return true; - } - else if(__rhs.webLevel < webLevel) - { - return false; - } - if(subcity < __rhs.subcity) - { - return true; - } - else if(__rhs.subcity < subcity) - { - return false; - } - if(homepage < __rhs.homepage) - { - return true; - } - else if(__rhs.homepage < homepage) - { - return false; - } - if(interest < __rhs.interest) - { - return true; - } - else if(__rhs.interest < interest) - { - return false; - } - return false; -} - -void -AliIMDBBase::SUserWebBasicProfile2::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(nickname); - __os->write(realname); - __os->write(email); - __os->write(phoneno); - __os->write(mobileno); - __os->write(company); - __os->write(jobtitle); - __os->write(address); - __os->write(catid); - __os->write(buykeyws); - __os->write(salekeyws); - __os->write(faxno); - __os->write(penname); - __os->write(country); - __os->write(memberlevel); - __os->write(industry); - __os->write(area); - __os->write(phoneStatus); - __os->write(activestat); - __os->write(extraInfo); - __os->write(zip); - __os->write(birthday); - __os->write(password); - __os->write(prov); - __os->write(city); - __os->write(usergender); - __os->write(birthdate); - __os->write(status); - __os->write(province); - __os->write(webLevel); - __os->write(subcity); - __os->write(homepage); - __os->write(interest); -} - -void -AliIMDBBase::SUserWebBasicProfile2::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(nickname); - __is->read(realname); - __is->read(email); - __is->read(phoneno); - __is->read(mobileno); - __is->read(company); - __is->read(jobtitle); - __is->read(address); - __is->read(catid); - __is->read(buykeyws); - __is->read(salekeyws); - __is->read(faxno); - __is->read(penname); - __is->read(country); - __is->read(memberlevel); - __is->read(industry); - __is->read(area); - __is->read(phoneStatus); - __is->read(activestat); - __is->read(extraInfo); - __is->read(zip); - __is->read(birthday); - __is->read(password); - __is->read(prov); - __is->read(city); - __is->read(usergender); - __is->read(birthdate); - __is->read(status); - __is->read(province); - __is->read(webLevel); - __is->read(subcity); - __is->read(homepage); - __is->read(interest); -} - -bool -AliIMDBBase::SMatchedUserIdInfo::operator==(const SMatchedUserIdInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SMatchedUserIdInfo::operator!=(const SMatchedUserIdInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(validateflag != __rhs.validateflag) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SMatchedUserIdInfo::operator<(const SMatchedUserIdInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(validateflag < __rhs.validateflag) - { - return true; - } - else if(__rhs.validateflag < validateflag) - { - return false; - } - return false; -} - -void -AliIMDBBase::SMatchedUserIdInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(name); - __os->write(validateflag); -} - -void -AliIMDBBase::SMatchedUserIdInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(name); - __is->read(validateflag); -} - -bool -AliIMDBBase::SUdbUserInfo::operator==(const SUdbUserInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SUdbUserInfo::operator!=(const SUdbUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(rawpasswd != __rhs.rawpasswd) - { - return true; - } - if(md5passwd != __rhs.md5passwd) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(mobileno != __rhs.mobileno) - { - return true; - } - if(phoneno != __rhs.phoneno) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobtitle != __rhs.jobtitle) - { - return true; - } - if(birthday != __rhs.birthday) - { - return true; - } - if(sex != __rhs.sex) - { - return true; - } - if(country != __rhs.country) - { - return true; - } - if(province != __rhs.province) - { - return true; - } - if(city != __rhs.city) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(zip != __rhs.zip) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SUdbUserInfo::operator<(const SUdbUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(rawpasswd < __rhs.rawpasswd) - { - return true; - } - else if(__rhs.rawpasswd < rawpasswd) - { - return false; - } - if(md5passwd < __rhs.md5passwd) - { - return true; - } - else if(__rhs.md5passwd < md5passwd) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(mobileno < __rhs.mobileno) - { - return true; - } - else if(__rhs.mobileno < mobileno) - { - return false; - } - if(phoneno < __rhs.phoneno) - { - return true; - } - else if(__rhs.phoneno < phoneno) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobtitle < __rhs.jobtitle) - { - return true; - } - else if(__rhs.jobtitle < jobtitle) - { - return false; - } - if(birthday < __rhs.birthday) - { - return true; - } - else if(__rhs.birthday < birthday) - { - return false; - } - if(sex < __rhs.sex) - { - return true; - } - else if(__rhs.sex < sex) - { - return false; - } - if(country < __rhs.country) - { - return true; - } - else if(__rhs.country < country) - { - return false; - } - if(province < __rhs.province) - { - return true; - } - else if(__rhs.province < province) - { - return false; - } - if(city < __rhs.city) - { - return true; - } - else if(__rhs.city < city) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(zip < __rhs.zip) - { - return true; - } - else if(__rhs.zip < zip) - { - return false; - } - return false; -} - -void -AliIMDBBase::SUdbUserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(name); - __os->write(rawpasswd); - __os->write(md5passwd); - __os->write(email); - __os->write(mobileno); - __os->write(phoneno); - __os->write(company); - __os->write(jobtitle); - __os->write(birthday); - __os->write(sex); - __os->write(country); - __os->write(province); - __os->write(city); - __os->write(address); - __os->write(zip); -} - -void -AliIMDBBase::SUdbUserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(name); - __is->read(rawpasswd); - __is->read(md5passwd); - __is->read(email); - __is->read(mobileno); - __is->read(phoneno); - __is->read(company); - __is->read(jobtitle); - __is->read(birthday); - __is->read(sex); - __is->read(country); - __is->read(province); - __is->read(city); - __is->read(address); - __is->read(zip); -} - -bool -AliIMDBBase::SChildUserInfo::operator==(const SChildUserInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SChildUserInfo::operator!=(const SChildUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(nikename != __rhs.nikename) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(parentId != __rhs.parentId) - { - return true; - } - if(suspended != __rhs.suspended) - { - return true; - } - if(expirtTime != __rhs.expirtTime) - { - return true; - } - if(OpenTime != __rhs.OpenTime) - { - return true; - } - if(type != __rhs.type) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(receptionNum != __rhs.receptionNum) - { - return true; - } - if(priority != __rhs.priority) - { - return true; - } - if(recvOffMsg != __rhs.recvOffMsg) - { - return true; - } - if(needuseonline != __rhs.needuseonline) - { - return true; - } - if(userflag != __rhs.userflag) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SChildUserInfo::operator<(const SChildUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(nikename < __rhs.nikename) - { - return true; - } - else if(__rhs.nikename < nikename) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(parentId < __rhs.parentId) - { - return true; - } - else if(__rhs.parentId < parentId) - { - return false; - } - if(suspended < __rhs.suspended) - { - return true; - } - else if(__rhs.suspended < suspended) - { - return false; - } - if(expirtTime < __rhs.expirtTime) - { - return true; - } - else if(__rhs.expirtTime < expirtTime) - { - return false; - } - if(OpenTime < __rhs.OpenTime) - { - return true; - } - else if(__rhs.OpenTime < OpenTime) - { - return false; - } - if(type < __rhs.type) - { - return true; - } - else if(__rhs.type < type) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(receptionNum < __rhs.receptionNum) - { - return true; - } - else if(__rhs.receptionNum < receptionNum) - { - return false; - } - if(priority < __rhs.priority) - { - return true; - } - else if(__rhs.priority < priority) - { - return false; - } - if(recvOffMsg < __rhs.recvOffMsg) - { - return true; - } - else if(__rhs.recvOffMsg < recvOffMsg) - { - return false; - } - if(needuseonline < __rhs.needuseonline) - { - return true; - } - else if(__rhs.needuseonline < needuseonline) - { - return false; - } - if(userflag < __rhs.userflag) - { - return true; - } - else if(__rhs.userflag < userflag) - { - return false; - } - return false; -} - -void -AliIMDBBase::SChildUserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(nikename); - __os->write(password); - __os->write(parentId); - __os->write(suspended); - __os->write(expirtTime); - __os->write(OpenTime); - __os->write(type); - __os->write(groupId); - __os->write(receptionNum); - __os->write(priority); - __os->write(recvOffMsg); - __os->write(needuseonline); - __os->write(userflag); -} - -void -AliIMDBBase::SChildUserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(nikename); - __is->read(password); - __is->read(parentId); - __is->read(suspended); - __is->read(expirtTime); - __is->read(OpenTime); - __is->read(type); - __is->read(groupId); - __is->read(receptionNum); - __is->read(priority); - __is->read(recvOffMsg); - __is->read(needuseonline); - __is->read(userflag); -} - -bool -AliIMDBBase::SChildUserInfo2::operator==(const SChildUserInfo2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SChildUserInfo2::operator!=(const SChildUserInfo2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(nikename != __rhs.nikename) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(parentId != __rhs.parentId) - { - return true; - } - if(suspended != __rhs.suspended) - { - return true; - } - if(expirtTime != __rhs.expirtTime) - { - return true; - } - if(OpenTime != __rhs.OpenTime) - { - return true; - } - if(type != __rhs.type) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(receptionNum != __rhs.receptionNum) - { - return true; - } - if(priority != __rhs.priority) - { - return true; - } - if(recvOffMsg != __rhs.recvOffMsg) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SChildUserInfo2::operator<(const SChildUserInfo2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(nikename < __rhs.nikename) - { - return true; - } - else if(__rhs.nikename < nikename) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(parentId < __rhs.parentId) - { - return true; - } - else if(__rhs.parentId < parentId) - { - return false; - } - if(suspended < __rhs.suspended) - { - return true; - } - else if(__rhs.suspended < suspended) - { - return false; - } - if(expirtTime < __rhs.expirtTime) - { - return true; - } - else if(__rhs.expirtTime < expirtTime) - { - return false; - } - if(OpenTime < __rhs.OpenTime) - { - return true; - } - else if(__rhs.OpenTime < OpenTime) - { - return false; - } - if(type < __rhs.type) - { - return true; - } - else if(__rhs.type < type) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(receptionNum < __rhs.receptionNum) - { - return true; - } - else if(__rhs.receptionNum < receptionNum) - { - return false; - } - if(priority < __rhs.priority) - { - return true; - } - else if(__rhs.priority < priority) - { - return false; - } - if(recvOffMsg < __rhs.recvOffMsg) - { - return true; - } - else if(__rhs.recvOffMsg < recvOffMsg) - { - return false; - } - return false; -} - -void -AliIMDBBase::SChildUserInfo2::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(nikename); - __os->write(password); - __os->write(parentId); - __os->write(suspended); - __os->write(expirtTime); - __os->write(OpenTime); - __os->write(type); - __os->write(groupId); - __os->write(receptionNum); - __os->write(priority); - __os->write(recvOffMsg); -} - -void -AliIMDBBase::SChildUserInfo2::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(nikename); - __is->read(password); - __is->read(parentId); - __is->read(suspended); - __is->read(expirtTime); - __is->read(OpenTime); - __is->read(type); - __is->read(groupId); - __is->read(receptionNum); - __is->read(priority); - __is->read(recvOffMsg); -} - -bool -AliIMDBBase::SB2BChildUserInfo::operator==(const SB2BChildUserInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SB2BChildUserInfo::operator!=(const SB2BChildUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(parentId != __rhs.parentId) - { - return true; - } - if(userflag != __rhs.userflag) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SB2BChildUserInfo::operator<(const SB2BChildUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(parentId < __rhs.parentId) - { - return true; - } - else if(__rhs.parentId < parentId) - { - return false; - } - if(userflag < __rhs.userflag) - { - return true; - } - else if(__rhs.userflag < userflag) - { - return false; - } - return false; -} - -void -AliIMDBBase::SB2BChildUserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(parentId); - __os->write(userflag); -} - -void -AliIMDBBase::SB2BChildUserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(parentId); - __is->read(userflag); -} - -bool -AliIMDBBase::SICEToolProfile::operator==(const SICEToolProfile& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEToolProfile::operator!=(const SICEToolProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(type != __rhs.type) - { - return true; - } - if(profile != __rhs.profile) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEToolProfile::operator<(const SICEToolProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(type < __rhs.type) - { - return true; - } - else if(__rhs.type < type) - { - return false; - } - if(profile < __rhs.profile) - { - return true; - } - else if(__rhs.profile < profile) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEToolProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(type); - __os->write(profile); -} - -void -AliIMDBBase::SICEToolProfile::__read(::IceInternal::BasicStream* __is) -{ - __is->read(type); - __is->read(profile); -} - -bool -AliIMDBBase::SICEKvPair::operator==(const SICEKvPair& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEKvPair::operator!=(const SICEKvPair& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(key != __rhs.key) - { - return true; - } - if(value != __rhs.value) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEKvPair::operator<(const SICEKvPair& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(key < __rhs.key) - { - return true; - } - else if(__rhs.key < key) - { - return false; - } - if(value < __rhs.value) - { - return true; - } - else if(__rhs.value < value) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEKvPair::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(key); - __os->write(value); -} - -void -AliIMDBBase::SICEKvPair::__read(::IceInternal::BasicStream* __is) -{ - __is->read(key); - __is->read(value); -} - -bool -AliIMDBBase::SImPrefix::operator==(const SImPrefix& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SImPrefix::operator!=(const SImPrefix& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(prefix != __rhs.prefix) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SImPrefix::operator<(const SImPrefix& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(prefix < __rhs.prefix) - { - return true; - } - else if(__rhs.prefix < prefix) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - return false; -} - -void -AliIMDBBase::SImPrefix::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(prefix); - __os->write(name); -} - -void -AliIMDBBase::SImPrefix::__read(::IceInternal::BasicStream* __is) -{ - __is->read(prefix); - __is->read(name); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEMemberInfo* begin, const ::AliIMDBBase::SICEMemberInfo* end, ::AliIMDBBase::__U__SICEMemberInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEMemberInfoSeq& v, ::AliIMDBBase::__U__SICEMemberInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 25); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICESysMessage* begin, const ::AliIMDBBase::SICESysMessage* end, ::AliIMDBBase::__U__SICESysMessageSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICESysMessageSeq& v, ::AliIMDBBase::__U__SICESysMessageSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 22); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SExICESysMessage* begin, const ::AliIMDBBase::SExICESysMessage* end, ::AliIMDBBase::__U__SExICESysMessageSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SExICESysMessageSeq& v, ::AliIMDBBase::__U__SExICESysMessageSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 23); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEVersion* begin, const ::AliIMDBBase::SICEVersion* end, ::AliIMDBBase::__U__SICEVersionSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEVersionSeq& v, ::AliIMDBBase::__U__SICEVersionSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 3); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEUserInfo* begin, const ::AliIMDBBase::SICEUserInfo* end, ::AliIMDBBase::__U__SICEUserInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEUserInfoSeq& v, ::AliIMDBBase::__U__SICEUserInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 94); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEUserInfoEx* begin, const ::AliIMDBBase::SICEUserInfoEx* end, ::AliIMDBBase::__U__SICEUserInfoExSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEUserInfoExSeq& v, ::AliIMDBBase::__U__SICEUserInfoExSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 87); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEGroupInfo* begin, const ::AliIMDBBase::SICEGroupInfo* end, ::AliIMDBBase::__U__SICEGroupInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEGroupInfoSeq& v, ::AliIMDBBase::__U__SICEGroupInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 5); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEGroupInfoEx* begin, const ::AliIMDBBase::SICEGroupInfoEx* end, ::AliIMDBBase::__U__SICEGroupInfoExSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEGroupInfoExSeq& v, ::AliIMDBBase::__U__SICEGroupInfoExSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 17); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEContactInfo* begin, const ::AliIMDBBase::SICEContactInfo* end, ::AliIMDBBase::__U__SICEContactInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEContactInfoSeq& v, ::AliIMDBBase::__U__SICEContactInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 14); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEOffLineMessege* begin, const ::AliIMDBBase::SICEOffLineMessege* end, ::AliIMDBBase::__U__SICEOffLineMessegeSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEOffLineMessegeSeq& v, ::AliIMDBBase::__U__SICEOffLineMessegeSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 7); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEOffLineMessegeEx* begin, const ::AliIMDBBase::SICEOffLineMessegeEx* end, ::AliIMDBBase::__U__SICEOffLineMessegeExSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEOffLineMessegeExSeq& v, ::AliIMDBBase::__U__SICEOffLineMessegeExSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 10); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICECntCidModPair* begin, const ::AliIMDBBase::SICECntCidModPair* end, ::AliIMDBBase::__U__SICECntCidModPairSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICECntCidModPairSeq& v, ::AliIMDBBase::__U__SICECntCidModPairSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 2); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEUserDStatus* begin, const ::AliIMDBBase::SICEUserDStatus* end, ::AliIMDBBase::__U__SICEUserDStatusSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEUserDStatusSeq& v, ::AliIMDBBase::__U__SICEUserDStatusSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 5); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICENetPhoneChargeInfo* begin, const ::AliIMDBBase::SICENetPhoneChargeInfo* end, ::AliIMDBBase::__U__SICENetPhoneChargeInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICENetPhoneChargeInfoSeq& v, ::AliIMDBBase::__U__SICENetPhoneChargeInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 19); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEGenContactFull* begin, const ::AliIMDBBase::SICEGenContactFull* end, ::AliIMDBBase::__U__SICEGenContactFullSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEGenContactFullSeq& v, ::AliIMDBBase::__U__SICEGenContactFullSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 58); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICECntOtherModInfo* begin, const ::AliIMDBBase::SICECntOtherModInfo* end, ::AliIMDBBase::__U__SICECntOtherModInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICECntOtherModInfoSeq& v, ::AliIMDBBase::__U__SICECntOtherModInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 15); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEAMOSUserInfo* begin, const ::AliIMDBBase::SICEAMOSUserInfo* end, ::AliIMDBBase::__U__SICEAMOSUserInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEAMOSUserInfoSeq& v, ::AliIMDBBase::__U__SICEAMOSUserInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 6); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SMatchedUserIdInfo* begin, const ::AliIMDBBase::SMatchedUserIdInfo* end, ::AliIMDBBase::__U__SMatchedUserIdInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SMatchedUserIdInfoSeq& v, ::AliIMDBBase::__U__SMatchedUserIdInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 3); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SUdbUserInfo* begin, const ::AliIMDBBase::SUdbUserInfo* end, ::AliIMDBBase::__U__SUdbUserInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SUdbUserInfoSeq& v, ::AliIMDBBase::__U__SUdbUserInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 16); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SChildUserInfo* begin, const ::AliIMDBBase::SChildUserInfo* end, ::AliIMDBBase::__U__SChildUserInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SChildUserInfoSeq& v, ::AliIMDBBase::__U__SChildUserInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 38); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SB2BChildUserInfo* begin, const ::AliIMDBBase::SB2BChildUserInfo* end, ::AliIMDBBase::__U__SB2BChildUserInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SB2BChildUserInfoSeq& v, ::AliIMDBBase::__U__SB2BChildUserInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 3); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SChildUserInfo2* begin, const ::AliIMDBBase::SChildUserInfo2* end, ::AliIMDBBase::__U__SChildUserInfoSeq2) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SChildUserInfoSeq2& v, ::AliIMDBBase::__U__SChildUserInfoSeq2) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 36); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEToolProfile* begin, const ::AliIMDBBase::SICEToolProfile* end, ::AliIMDBBase::__U__SICEToolProfileSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEToolProfileSeq& v, ::AliIMDBBase::__U__SICEToolProfileSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 5); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEKvPair* begin, const ::AliIMDBBase::SICEKvPair* end, ::AliIMDBBase::__U__SICEKvPairSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEKvPairSeq& v, ::AliIMDBBase::__U__SICEKvPairSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 2); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SImPrefix* begin, const ::AliIMDBBase::SImPrefix* end, ::AliIMDBBase::__U__SImPrefixSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SImPrefixSeq& v, ::AliIMDBBase::__U__SImPrefixSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 2); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEKVMap& v, ::AliIMDBBase::__U__SICEKVMap) -{ - __os->writeSize(::Ice::Int(v.size())); - ::AliIMDBBase::SICEKVMap::const_iterator p; - for(p = v.begin(); p != v.end(); ++p) - { - __os->write(p->first); - __os->write(p->second); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEKVMap& v, ::AliIMDBBase::__U__SICEKVMap) -{ - ::Ice::Int sz; - __is->readSize(sz); - while(sz--) - { - ::std::pair pair; - __is->read(const_cast< ::std::string&>(pair.first)); - ::AliIMDBBase::SICEKVMap::iterator __i = v.insert(v.end(), pair); - __is->read(__i->second); - } -} - -bool -AliIMDBBase::SICEReceptNum::operator==(const SICEReceptNum& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEReceptNum::operator!=(const SICEReceptNum& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid != __rhs.eserviceid) - { - return true; - } - if(receptnum != __rhs.receptnum) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEReceptNum::operator<(const SICEReceptNum& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid < __rhs.eserviceid) - { - return true; - } - else if(__rhs.eserviceid < eserviceid) - { - return false; - } - if(receptnum < __rhs.receptnum) - { - return true; - } - else if(__rhs.receptnum < receptnum) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEReceptNum::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(eserviceid); - __os->write(receptnum); -} - -void -AliIMDBBase::SICEReceptNum::__read(::IceInternal::BasicStream* __is) -{ - __is->read(eserviceid); - __is->read(receptnum); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEReceptNum* begin, const ::AliIMDBBase::SICEReceptNum* end, ::AliIMDBBase::__U__SICEReceptNumSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEReceptNumSeq& v, ::AliIMDBBase::__U__SICEReceptNumSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 5); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliIMDBBase::SICEReceptPriority::operator==(const SICEReceptPriority& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEReceptPriority::operator!=(const SICEReceptPriority& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid != __rhs.eserviceid) - { - return true; - } - if(receptpriority != __rhs.receptpriority) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEReceptPriority::operator<(const SICEReceptPriority& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid < __rhs.eserviceid) - { - return true; - } - else if(__rhs.eserviceid < eserviceid) - { - return false; - } - if(receptpriority < __rhs.receptpriority) - { - return true; - } - else if(__rhs.receptpriority < receptpriority) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEReceptPriority::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(eserviceid); - __os->write(receptpriority); -} - -void -AliIMDBBase::SICEReceptPriority::__read(::IceInternal::BasicStream* __is) -{ - __is->read(eserviceid); - __is->read(receptpriority); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEReceptPriority* begin, const ::AliIMDBBase::SICEReceptPriority* end, ::AliIMDBBase::__U__SICEReceptPrioritySeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEReceptPrioritySeq& v, ::AliIMDBBase::__U__SICEReceptPrioritySeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 5); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliIMDBBase::SICERecvOffMsg::operator==(const SICERecvOffMsg& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICERecvOffMsg::operator!=(const SICERecvOffMsg& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid != __rhs.eserviceid) - { - return true; - } - if(recvoffmsg != __rhs.recvoffmsg) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICERecvOffMsg::operator<(const SICERecvOffMsg& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid < __rhs.eserviceid) - { - return true; - } - else if(__rhs.eserviceid < eserviceid) - { - return false; - } - if(recvoffmsg < __rhs.recvoffmsg) - { - return true; - } - else if(__rhs.recvoffmsg < recvoffmsg) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICERecvOffMsg::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(eserviceid); - __os->write(recvoffmsg); -} - -void -AliIMDBBase::SICERecvOffMsg::__read(::IceInternal::BasicStream* __is) -{ - __is->read(eserviceid); - __is->read(recvoffmsg); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICERecvOffMsg* begin, const ::AliIMDBBase::SICERecvOffMsg* end, ::AliIMDBBase::__U__SICERecvOffMsgSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICERecvOffMsgSeq& v, ::AliIMDBBase::__U__SICERecvOffMsgSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 5); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliIMDBBase::SICEESGroupInfo::operator==(const SICEESGroupInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEESGroupInfo::operator!=(const SICEESGroupInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupName != __rhs.groupName) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(adminId != __rhs.adminId) - { - return true; - } - if(eservicelist != __rhs.eservicelist) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEESGroupInfo::operator<(const SICEESGroupInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupName < __rhs.groupName) - { - return true; - } - else if(__rhs.groupName < groupName) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(adminId < __rhs.adminId) - { - return true; - } - else if(__rhs.adminId < adminId) - { - return false; - } - if(eservicelist < __rhs.eservicelist) - { - return true; - } - else if(__rhs.eservicelist < eservicelist) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEESGroupInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(groupName); - __os->write(groupId); - __os->write(adminId); - if(eservicelist.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&eservicelist[0], &eservicelist[0] + eservicelist.size()); - } -} - -void -AliIMDBBase::SICEESGroupInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(groupName); - __is->read(groupId); - __is->read(adminId); - __is->read(eservicelist); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEESGroupInfo* begin, const ::AliIMDBBase::SICEESGroupInfo* end, ::AliIMDBBase::__U__SICEESGroupInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEESGroupInfoSeq& v, ::AliIMDBBase::__U__SICEESGroupInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 7); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliIMDBBase::SICEESBaseGroupInfo::operator==(const SICEESBaseGroupInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEESBaseGroupInfo::operator!=(const SICEESBaseGroupInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupName != __rhs.groupName) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(adminId != __rhs.adminId) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEESBaseGroupInfo::operator<(const SICEESBaseGroupInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupName < __rhs.groupName) - { - return true; - } - else if(__rhs.groupName < groupName) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(adminId < __rhs.adminId) - { - return true; - } - else if(__rhs.adminId < adminId) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEESBaseGroupInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(groupName); - __os->write(groupId); - __os->write(adminId); -} - -void -AliIMDBBase::SICEESBaseGroupInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(groupName); - __is->read(groupId); - __is->read(adminId); -} - -bool -AliIMDBBase::SICEExpandArea::operator==(const SICEExpandArea& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEExpandArea::operator!=(const SICEExpandArea& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(id != __rhs.id) - { - return true; - } - if(areaname != __rhs.areaname) - { - return true; - } - if(url != __rhs.url) - { - return true; - } - if(picpath != __rhs.picpath) - { - return true; - } - if(createtime != __rhs.createtime) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEExpandArea::operator<(const SICEExpandArea& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(id < __rhs.id) - { - return true; - } - else if(__rhs.id < id) - { - return false; - } - if(areaname < __rhs.areaname) - { - return true; - } - else if(__rhs.areaname < areaname) - { - return false; - } - if(url < __rhs.url) - { - return true; - } - else if(__rhs.url < url) - { - return false; - } - if(picpath < __rhs.picpath) - { - return true; - } - else if(__rhs.picpath < picpath) - { - return false; - } - if(createtime < __rhs.createtime) - { - return true; - } - else if(__rhs.createtime < createtime) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEExpandArea::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(id); - __os->write(areaname); - __os->write(url); - __os->write(picpath); - __os->write(createtime); -} - -void -AliIMDBBase::SICEExpandArea::__read(::IceInternal::BasicStream* __is) -{ - __is->read(id); - __is->read(areaname); - __is->read(url); - __is->read(picpath); - __is->read(createtime); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEExpandArea* begin, const ::AliIMDBBase::SICEExpandArea* end, ::AliIMDBBase::__U__SICEExpandAreaSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEExpandAreaSeq& v, ::AliIMDBBase::__U__SICEExpandAreaSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 8); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliIMDBBase::SICEESEval::operator==(const SICEESEval& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEESEval::operator!=(const SICEESEval& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(code != __rhs.code) - { - return true; - } - if(codename != __rhs.codename) - { - return true; - } - if(welcome != __rhs.welcome) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEESEval::operator<(const SICEESEval& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(code < __rhs.code) - { - return true; - } - else if(__rhs.code < code) - { - return false; - } - if(codename < __rhs.codename) - { - return true; - } - else if(__rhs.codename < codename) - { - return false; - } - if(welcome < __rhs.welcome) - { - return true; - } - else if(__rhs.welcome < welcome) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEESEval::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(code); - __os->write(codename); - __os->write(welcome); -} - -void -AliIMDBBase::SICEESEval::__read(::IceInternal::BasicStream* __is) -{ - __is->read(code); - __is->read(codename); - __is->read(welcome); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEESEval* begin, const ::AliIMDBBase::SICEESEval* end, ::AliIMDBBase::__U__SICEESEvalSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEESEvalSeq& v, ::AliIMDBBase::__U__SICEESEvalSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 6); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliIMDBBase::SICEESCode::operator==(const SICEESCode& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEESCode::operator!=(const SICEESCode& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(code != __rhs.code) - { - return true; - } - if(codename != __rhs.codename) - { - return true; - } - if(num != __rhs.num) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEESCode::operator<(const SICEESCode& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(code < __rhs.code) - { - return true; - } - else if(__rhs.code < code) - { - return false; - } - if(codename < __rhs.codename) - { - return true; - } - else if(__rhs.codename < codename) - { - return false; - } - if(num < __rhs.num) - { - return true; - } - else if(__rhs.num < num) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEESCode::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(code); - __os->write(codename); - __os->write(num); -} - -void -AliIMDBBase::SICEESCode::__read(::IceInternal::BasicStream* __is) -{ - __is->read(code); - __is->read(codename); - __is->read(num); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEESCode* begin, const ::AliIMDBBase::SICEESCode* end, ::AliIMDBBase::__U__SICEESCodeSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEESCodeSeq& v, ::AliIMDBBase::__U__SICEESCodeSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 9); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliIMDBBase::SICEESEvalResult::operator==(const SICEESEvalResult& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEESEvalResult::operator!=(const SICEESEvalResult& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(sendNum != __rhs.sendNum) - { - return true; - } - if(receNum != __rhs.receNum) - { - return true; - } - if(codes != __rhs.codes) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEESEvalResult::operator<(const SICEESEvalResult& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(sendNum < __rhs.sendNum) - { - return true; - } - else if(__rhs.sendNum < sendNum) - { - return false; - } - if(receNum < __rhs.receNum) - { - return true; - } - else if(__rhs.receNum < receNum) - { - return false; - } - if(codes < __rhs.codes) - { - return true; - } - else if(__rhs.codes < codes) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEESEvalResult::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(sendNum); - __os->write(receNum); - if(codes.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &codes[0], &codes[0] + codes.size(), ::AliIMDBBase::__U__SICEESCodeSeq()); - } -} - -void -AliIMDBBase::SICEESEvalResult::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(sendNum); - __is->read(receNum); - ::AliIMDBBase::__read(__is, codes, ::AliIMDBBase::__U__SICEESCodeSeq()); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEESEvalResult* begin, const ::AliIMDBBase::SICEESEvalResult* end, ::AliIMDBBase::__U__SICEESEvalResultSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEESEvalResultSeq& v, ::AliIMDBBase::__U__SICEESEvalResultSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 10); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliIMDBBase::SICEESEvalResultEx::operator==(const SICEESEvalResultEx& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEESEvalResultEx::operator!=(const SICEESEvalResultEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(sendNum != __rhs.sendNum) - { - return true; - } - if(receNum != __rhs.receNum) - { - return true; - } - if(codes != __rhs.codes) - { - return true; - } - if(evalTime != __rhs.evalTime) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEESEvalResultEx::operator<(const SICEESEvalResultEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(sendNum < __rhs.sendNum) - { - return true; - } - else if(__rhs.sendNum < sendNum) - { - return false; - } - if(receNum < __rhs.receNum) - { - return true; - } - else if(__rhs.receNum < receNum) - { - return false; - } - if(codes < __rhs.codes) - { - return true; - } - else if(__rhs.codes < codes) - { - return false; - } - if(evalTime < __rhs.evalTime) - { - return true; - } - else if(__rhs.evalTime < evalTime) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEESEvalResultEx::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(sendNum); - __os->write(receNum); - if(codes.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &codes[0], &codes[0] + codes.size(), ::AliIMDBBase::__U__SICEESCodeSeq()); - } - __os->write(evalTime); -} - -void -AliIMDBBase::SICEESEvalResultEx::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(sendNum); - __is->read(receNum); - ::AliIMDBBase::__read(__is, codes, ::AliIMDBBase::__U__SICEESCodeSeq()); - __is->read(evalTime); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEESEvalResultEx* begin, const ::AliIMDBBase::SICEESEvalResultEx* end, ::AliIMDBBase::__U__SICEESEvalResultExSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEESEvalResultExSeq& v, ::AliIMDBBase::__U__SICEESEvalResultExSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 11); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliIMDBBase::SICESqlItem::operator==(const SICESqlItem& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICESqlItem::operator!=(const SICESqlItem& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(type != __rhs.type) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(value != __rhs.value) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICESqlItem::operator<(const SICESqlItem& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(type < __rhs.type) - { - return true; - } - else if(__rhs.type < type) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(value < __rhs.value) - { - return true; - } - else if(__rhs.value < value) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICESqlItem::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(type); - __os->write(name); - __os->write(value); -} - -void -AliIMDBBase::SICESqlItem::__read(::IceInternal::BasicStream* __is) -{ - __is->read(type); - __is->read(name); - __is->read(value); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICESqlItem* begin, const ::AliIMDBBase::SICESqlItem* end, ::AliIMDBBase::__U__SICESqlItemSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICESqlItemSeq& v, ::AliIMDBBase::__U__SICESqlItemSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 6); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliIMDBBase::UserStatics::operator==(const UserStatics& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::UserStatics::operator!=(const UserStatics& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(type != __rhs.type) - { - return true; - } - if(loginId != __rhs.loginId) - { - return true; - } - if(totalDegree != __rhs.totalDegree) - { - return true; - } - if(userValue != __rhs.userValue) - { - return true; - } - if(dailyAction != __rhs.dailyAction) - { - return true; - } - if(phoneAuth != __rhs.phoneAuth) - { - return true; - } - if(emailAuth != __rhs.emailAuth) - { - return true; - } - if(identityAuth != __rhs.identityAuth) - { - return true; - } - if(tpAuth != __rhs.tpAuth) - { - return true; - } - if(tpFee != __rhs.tpFee) - { - return true; - } - if(alipayAuth != __rhs.alipayAuth) - { - return true; - } - if(buyCredit != __rhs.buyCredit) - { - return true; - } - if(sellCredit != __rhs.sellCredit) - { - return true; - } - return false; -} - -bool -AliIMDBBase::UserStatics::operator<(const UserStatics& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(type < __rhs.type) - { - return true; - } - else if(__rhs.type < type) - { - return false; - } - if(loginId < __rhs.loginId) - { - return true; - } - else if(__rhs.loginId < loginId) - { - return false; - } - if(totalDegree < __rhs.totalDegree) - { - return true; - } - else if(__rhs.totalDegree < totalDegree) - { - return false; - } - if(userValue < __rhs.userValue) - { - return true; - } - else if(__rhs.userValue < userValue) - { - return false; - } - if(dailyAction < __rhs.dailyAction) - { - return true; - } - else if(__rhs.dailyAction < dailyAction) - { - return false; - } - if(phoneAuth < __rhs.phoneAuth) - { - return true; - } - else if(__rhs.phoneAuth < phoneAuth) - { - return false; - } - if(emailAuth < __rhs.emailAuth) - { - return true; - } - else if(__rhs.emailAuth < emailAuth) - { - return false; - } - if(identityAuth < __rhs.identityAuth) - { - return true; - } - else if(__rhs.identityAuth < identityAuth) - { - return false; - } - if(tpAuth < __rhs.tpAuth) - { - return true; - } - else if(__rhs.tpAuth < tpAuth) - { - return false; - } - if(tpFee < __rhs.tpFee) - { - return true; - } - else if(__rhs.tpFee < tpFee) - { - return false; - } - if(alipayAuth < __rhs.alipayAuth) - { - return true; - } - else if(__rhs.alipayAuth < alipayAuth) - { - return false; - } - if(buyCredit < __rhs.buyCredit) - { - return true; - } - else if(__rhs.buyCredit < buyCredit) - { - return false; - } - if(sellCredit < __rhs.sellCredit) - { - return true; - } - else if(__rhs.sellCredit < sellCredit) - { - return false; - } - return false; -} - -void -AliIMDBBase::UserStatics::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(type); - __os->write(loginId); - __os->write(totalDegree); - __os->write(userValue); - __os->write(dailyAction); - __os->write(phoneAuth); - __os->write(emailAuth); - __os->write(identityAuth); - __os->write(tpAuth); - __os->write(tpFee); - __os->write(alipayAuth); - __os->write(buyCredit); - __os->write(sellCredit); -} - -void -AliIMDBBase::UserStatics::__read(::IceInternal::BasicStream* __is) -{ - __is->read(type); - __is->read(loginId); - __is->read(totalDegree); - __is->read(userValue); - __is->read(dailyAction); - __is->read(phoneAuth); - __is->read(emailAuth); - __is->read(identityAuth); - __is->read(tpAuth); - __is->read(tpFee); - __is->read(alipayAuth); - __is->read(buyCredit); - __is->read(sellCredit); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::UserStatics* begin, const ::AliIMDBBase::UserStatics* end, ::AliIMDBBase::__U__UserStaticsSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::UserStaticsSeq& v, ::AliIMDBBase::__U__UserStaticsSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 49); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} diff --git a/features/aliww/source/.svn/text-base/dbs_perf_test.cpp.svn-base b/features/aliww/source/.svn/text-base/dbs_perf_test.cpp.svn-base deleted file mode 100644 index 1d7d118..0000000 --- a/features/aliww/source/.svn/text-base/dbs_perf_test.cpp.svn-base +++ /dev/null @@ -1,247 +0,0 @@ -#include "dbs_perf_test.h" - -using namespace std; -using namespace Ice; -using namespace AliIMDBBase; - -void* dbs_init(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - dbs_st *ap = (dbs_st *)malloc(sizeof(dbs_st)); - pVuser->verb = ap; - srand(time(0)); - create_transaction(pVuser,"DBS"); - - int status = 0; - Ice::CommunicatorPtr ic; - - try{ - ic = Ice::initialize(); - - Ice::ObjectPrx base = ic->stringToProxy("DBServerProxyId:default -h 10.250.3.34 -p 10001"); - IMDBProxyMgrPrx dbs = IMDBProxyMgrPrx::checkedCast(base); - if(!dbs){ - throw "Invalid proxy"; - } - ap->dbs = new IMDBProxyMgrPrx(dbs); - ap->ic = new Ice::CommunicatorPtr(ic); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -//int CheckUserTokenExtra(string userId, string passwd,out string lid, out string retuidtokenpw,out string retmd5passwd ,out int activeStat, out int webdata); -void* dbs_CheckUserTokenExtra(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - dbs_st *ap = (dbs_st *)pVuser->verb; - int status = 0; - IMDBProxyMgrPrx dbs = *(ap->dbs); - - char *tmp = select_param_ex(pVuser); - char *comaidx = index(tmp,','); - char *uname = strndup(tmp,comaidx-tmp-1); - char *pword = strdup(comaidx+1); - free(tmp); - string userId(uname); - string passwd(pword); - string lid; - string retuidtokenpw; - string retmd5passwd; - int activeStat; - int webdata; - - try{ - status = dbs->CheckUserTokenExtra( userId, passwd, lid, retuidtokenpw, retmd5passwd , activeStat, webdata); - if(status == 0) - success_transactionEx(pVuser,"DBS","CheckUserTokenExtra Sucess."); - else{ - char str_tmp[320] = {0}; - sprintf(str_tmp,"CheckUserTokenExtra:Call ret status is %d",status); - fail_transactionEx(pVuser,"DBS",str_tmp); - } - printf("userId : %s; status : %d\n",userId.c_str(),status); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -//int CheckWebWWPasswd(string userId, string passwd,out string lid, out string retuidtokenpw,out string retmd5passwd,out int activeStat); -void* dbs_CheckWebWWPasswd(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - dbs_st *ap = (dbs_st *)pVuser->verb; - int status = 0; - IMDBProxyMgrPrx dbs = *(ap->dbs); - - char *tmp = select_param_ex(pVuser); - char *comaidx = index(tmp,','); - char *uname = strndup(tmp,comaidx-tmp-1); - char *pword = strdup(comaidx+1); - free(tmp); - string userId(uname); - string passwd(pword); - string lid; - string retuidtokenpw; - string retmd5passwd; - int activeStat; - - try{ - status = dbs->CheckWebWWPasswd( userId, passwd, lid, retuidtokenpw, retmd5passwd,activeStat); - if(status == 0) - success_transactionEx(pVuser,"DBS","CheckWebWWPasswd Sucess."); - else{ - char str_tmp[320] = {0}; - sprintf(str_tmp,"CheckWebWWPasswd:Call ret status is %d",status); - fail_transactionEx(pVuser,"DBS",str_tmp); - } - printf("userId : %s; status : %d\n",userId.c_str(),status); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -//int CheckUserWebPasswdExtra(string userId, string passwd,out string lid, out string retuidtokenpw,out string retmd5passwd,out int activeStat, out int webdata); -void* dbs_CheckUserWebPasswdExtra(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - dbs_st *ap = (dbs_st *)pVuser->verb; - int status = 0; - IMDBProxyMgrPrx dbs = *(ap->dbs); - - char *tmp = select_param_ex(pVuser); - char *comaidx = index(tmp,','); - char *uname = strndup(tmp,comaidx-tmp-1); - char *pword = strdup(comaidx+1); - free(tmp); - string userId(uname); - string passwd(pword); - string lid; - string retuidtokenpw; - string retmd5passwd; - int activeStat; - int webdata; - - try{ - status = dbs->CheckUserWebPasswdExtra(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, webdata); - if(status == 0) - success_transactionEx(pVuser,"DBS","CheckUserWebPasswdExtra Sucess."); - else{ - char str_tmp[320] = {0}; - sprintf(str_tmp,"CheckUserWebPasswdExtra:Call ret status is %d",status); - fail_transactionEx(pVuser,"DBS",str_tmp); - } - printf("userId : %s; status : %d\n",userId.c_str(),status); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -//GetUserInfoExNew4(string userId, out SICEUserInfoExNew4 userInfo); -void* dbs_GetUserInfoExNew4(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - dbs_st *ap = (dbs_st *)pVuser->verb; - int status = 0; - IMDBProxyMgrPrx dbs = *(ap->dbs); - - string userId(select_param_ex(pVuser)); - SICEUserInfoExNew4 userInfo; - - try{ - status = dbs->GetUserInfoExNew4(userId, userInfo); - if(status == 0) - success_transactionEx(pVuser,"DBS","GetUserInfoExNew4 Sucess."); - else{ - char str_tmp[320] = {0}; - sprintf(str_tmp,"GetUserInfoExNew4:Call ret status is %d",status); - fail_transactionEx(pVuser,"DBS",str_tmp); - } - printf("userId : %s; status : %d\n",userId.c_str(),status); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} -void* dbs_UpdateUserDataInfo3(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - dbs_st *ap = (dbs_st *)pVuser->verb; - int status = 0; - IMDBProxyMgrPrx dbs = *(ap->dbs); - - string userId(select_param_ex(pVuser)); - RIGHTTABLE rightMap; - int onlineTimes = 100; - int activeDegree = 20; - float rewardActDegree = 30; - float onlineActDegree = 40; - - try{ - status = dbs->UpdateUserDataInfo3(userId, rightMap, onlineTimes, activeDegree, rewardActDegree, onlineActDegree); - if(status == 0) - success_transactionEx(pVuser,"DBS","UpdateUserDataInfo3 Sucess."); - else{ - char str_tmp[320] = {0}; - sprintf(str_tmp,"UpdateUserDataInfo3:Call ret status is %d",status); - fail_transactionEx(pVuser,"DBS",str_tmp); - } - printf("userId : %s; status : %d\n",userId.c_str(),status); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* dbs_end(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - dbs_st *ap = (dbs_st *)pVuser->verb; - int status = 0; - IMDBProxyMgrPrx dbs = *(ap->dbs); - Ice::CommunicatorPtr ic = *(ap->ic); - - if(ic){ - try{ - ic->destroy(); - //delete(&ic); - //delete(&dbs); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } - } -} - diff --git a/features/aliww/source/.svn/text-base/dbservice.cpp.svn-base b/features/aliww/source/.svn/text-base/dbservice.cpp.svn-base deleted file mode 100644 index 5d44e4e..0000000 --- a/features/aliww/source/.svn/text-base/dbservice.cpp.svn-base +++ /dev/null @@ -1,31808 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__sayhello_name = "sayhello"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckUserToken_name = "CheckUserToken"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckTmpSession_name = "CheckTmpSession"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckUserWebPasswd_name = "CheckUserWebPasswd"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckUserPasswd_name = "CheckUserPasswd"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckUserWebToken_name = "CheckUserWebToken"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetAtmLongid_name = "GetAtmLongid"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddUser60_name = "AddUser60"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetWebMemberPWInfo_name = "GetWebMemberPWInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetWebMemberPWInfoEx_name = "GetWebMemberPWInfoEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserWebBasicProfile_name = "GetUserWebBasicProfile"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckCanAddContact_name = "CheckCanAddContact"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__QueryMatchedUserIds_name = "QueryMatchedUserIds"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateContactWebInfo_name = "UpdateContactWebInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__DelTaobaoUser_name = "DelTaobaoUser"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__DelAnyUser_name = "DelAnyUser"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddUserKeyWord_name = "AddUserKeyWord"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserKeyWord_name = "UpdateUserKeyWord"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserKeyWord_name = "GetUserKeyWord"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__QueryUserIdsByKeyWord_name = "QueryUserIdsByKeyWord"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetBatchMemberInfo_name = "GetBatchMemberInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetAllVersion_name = "GetAllVersion"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetAllSysMsg_name = "GetAllSysMsg"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetAllExSysMsg_name = "GetAllExSysMsg"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserInfo_name = "GetUserInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserInfo2_name = "GetUserInfo2"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserInfoEx_name = "GetUserInfoEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserInfoNew_name = "GetUserInfoNew"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserInfo2New_name = "GetUserInfo2New"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserInfoExNew_name = "GetUserInfoExNew"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserInfoExNew2_name = "GetUserInfoExNew2"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserInfoExNew3_name = "GetUserInfoExNew3"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserInfoExNew4_name = "GetUserInfoExNew4"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserVerifyInfo_name = "GetUserVerifyInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserVerifyInfoEx_name = "GetUserVerifyInfoEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserVerifyInfoQuestion_name = "GetUserVerifyInfoQuestion"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetGroupList_name = "GetGroupList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetGroupListEx_name = "GetGroupListEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetContactList_name = "GetContactList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetBlackList_name = "GetBlackList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetReverseBlackList_name = "GetReverseBlackList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetOfflineMsg_name = "GetOfflineMsg"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetOfflineMsgEx_name = "GetOfflineMsgEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetOfflineMsgCount_name = "GetOfflineMsgCount"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetEnetOfflineMsgNum_name = "GetEnetOfflineMsgNum"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetContactInfo_name = "GetContactInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetOfflineMsgNum_name = "GetOfflineMsgNum"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetToolProfiles_name = "GetToolProfiles"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetToolProfilesEx_name = "GetToolProfilesEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetSysMsg_name = "GetSysMsg"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddUser_name = "AddUser"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddGroup_name = "AddGroup"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddGroupEx_name = "AddGroupEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddBlackList_name = "AddBlackList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddOfflineMsg_name = "AddOfflineMsg"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddExpriteTimeOfflineMsg_name = "AddExpriteTimeOfflineMsg"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddOfflineMsgNoSMS_name = "AddOfflineMsgNoSMS"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddOfflineMsgEx_name = "AddOfflineMsgEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserLogin_name = "UpdateUserLogin"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserLoginEx_name = "UpdateUserLoginEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserLoginDataInfo_name = "UpdateUserLoginDataInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserLoginDataInfoEx_name = "UpdateUserLoginDataInfoEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserSysMsgId_name = "UpdateUserSysMsgId"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserDataInfo_name = "UpdateUserDataInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserDataInfo2_name = "UpdateUserDataInfo2"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserDataInfo3_name = "UpdateUserDataInfo3"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserVerifySet_name = "UpdateUserVerifySet"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserVerifySetEx_name = "UpdateUserVerifySetEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserVerifySetQuestion_name = "UpdateUserVerifySetQuestion"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateGroup_name = "UpdateGroup"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__MoveGroup_name = "MoveGroup"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateContactNickName_name = "UpdateContactNickName"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateContactGroup_name = "UpdateContactGroup"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateContactStatus_name = "UpdateContactStatus"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateNotifyMessage_name = "UpdateNotifyMessage"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateToolProfiles_name = "UpdateToolProfiles"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateToolProfilesEx_name = "UpdateToolProfilesEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__RemoveGroup_name = "RemoveGroup"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__RemoveContact_name = "RemoveContact"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__RemoveInverfiedContact_name = "RemoveInverfiedContact"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__RemoveBlackList_name = "RemoveBlackList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__IsBlackedByOther_name = "IsBlackedByOther"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__RemoveBatchContacts_name = "RemoveBatchContacts"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserDStatus_name = "GetUserDStatus"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddUserDStatus_name = "AddUserDStatus"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__RemoveUserDStatus_name = "RemoveUserDStatus"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetAllContactList_name = "GetAllContactList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetCntModifyList_name = "GetCntModifyList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddGenContactFull_name = "AddGenContactFull"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetContactDetail_name = "GetContactDetail"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__DelGenContact_name = "DelGenContact"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddContact_name = "AddContact"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckUpgradeGenCnt_name = "CheckUpgradeGenCnt"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__ModifyGenCntID_name = "ModifyGenCntID"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpgradeGenContact_name = "UpgradeGenContact"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUpdatedUserInfo_name = "GetUpdatedUserInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__ModifyContactDetail_name = "ModifyContactDetail"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateContactGroupByCid_name = "UpdateContactGroupByCid"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateContactNickNameByCid_name = "UpdateContactNickNameByCid"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetCRMContactDetail_name = "GetCRMContactDetail"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetHardCodeIds_name = "GetHardCodeIds"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateHardCodeIds_name = "UpdateHardCodeIds"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetCntOtherModifyList_name = "GetCntOtherModifyList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetCntOtherModifyInfo_name = "GetCntOtherModifyInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserCRInfo_name = "GetUserCRInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__SetUserCRInfo_name = "SetUserCRInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetSmsUserInfoByUid_name = "GetSmsUserInfoByUid"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetSmsUserMsgInfo_name = "GetSmsUserMsgInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__DelOfflineMsg_name = "DelOfflineMsg"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__DelOfflineMsgEx_name = "DelOfflineMsgEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__DelWapOfflineMsg_name = "DelWapOfflineMsg"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__ModifyCntMemo_name = "ModifyCntMemo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetCntMemo_name = "GetCntMemo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserTribe_name = "GetUserTribe"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserTribeConfig_name = "GetUserTribeConfig"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserTribeConfig_name = "UpdateUserTribeConfig"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetTribeOffMngMsg_name = "GetTribeOffMngMsg"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__DelTribeOffMngMsg_name = "DelTribeOffMngMsg"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__ModifyPersonalShow_name = "ModifyPersonalShow"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetPersonalShow_name = "GetPersonalShow"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetAllOnlineSmsUser_name = "GetAllOnlineSmsUser"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserKeyWordDegree_name = "GetUserKeyWordDegree"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserValue_name = "GetUserValue"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserMd5Password_name = "UpdateUserMd5Password"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__InsertYahooUser_name = "InsertYahooUser"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetContactDetailByUid_name = "GetContactDetailByUid"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetChildTeamList_name = "GetChildTeamList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetChildTeamList2_name = "GetChildTeamList2"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetChildUserInfo_name = "GetChildUserInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetChildUserInfo2_name = "GetChildUserInfo2"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetShareContactList_name = "GetShareContactList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetContactShareInfo_name = "GetContactShareInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__SetContactShareInfo_name = "SetContactShareInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetMultiAccountContactList_name = "GetMultiAccountContactList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetMultiServiceList_name = "GetMultiServiceList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetMultiBindToUser_name = "GetMultiBindToUser"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetWebBinds_name = "GetWebBinds"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddWebBind_name = "AddWebBind"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__ChangeWebBind_name = "ChangeWebBind"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__DelWebBind_name = "DelWebBind"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getUserSession_name = "getUserSession"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__checkUserSession_name = "checkUserSession"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__removeSession_name = "removeSession"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateSignature_name = "UpdateSignature"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__updateContactClientInfo_name = "updateContactClientInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getUserProfile_name = "getUserProfile"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getPeerVerifyFlag_name = "getPeerVerifyFlag"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getPeerVerifyFlagQuestion_name = "getPeerVerifyFlagQuestion"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getNickName_name = "getNickName"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getFTServiceInfo_name = "getFTServiceInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getTietuServiceInfo_name = "getTietuServiceInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getFTSAddr_name = "getFTSAddr"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__registerWanghao_name = "registerWanghao"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__updateUserProfile_name = "updateUserProfile"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__loadSitePrefix_name = "loadSitePrefix"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__updateAepUserId_name = "updateAepUserId"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__updateVipflag_name = "updateVipflag"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__checkWangHaoPwd_name = "checkWangHaoPwd"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__checkCanLogin_name = "checkCanLogin"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetSIPSessionId_name = "GetSIPSessionId"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckGsContact_name = "CheckGsContact"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateSmsAuthCode_name = "UpdateSmsAuthCode"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckSmsAuthCode_name = "CheckSmsAuthCode"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserValueBySmsAuth_name = "UpdateUserValueBySmsAuth"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckSmsAuthStatus_name = "CheckSmsAuthStatus"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckUserTokenExtra_name = "CheckUserTokenExtra"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckUserWebPasswdExtra_name = "CheckUserWebPasswdExtra"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESShuntStatus_name = "getESShuntStatus"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__setESShuntStatus_name = "setESShuntStatus"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getMaxESReceptNum_name = "getMaxESReceptNum"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__setMaxESReceptNum_name = "setMaxESReceptNum"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESPriority_name = "getESPriority"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__setESPriority_name = "setESPriority"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESRecvOffMsg_name = "getESRecvOffMsg"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__setESRecvOffMsg_name = "setESRecvOffMsg"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESGroupList_name = "getESGroupList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__insertESGroupInfo_name = "insertESGroupInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__updateESGroupInfo_name = "updateESGroupInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__delESGroup_name = "delESGroup"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESGroupInfo_name = "getESGroupInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESGroupInfoByID_name = "getESGroupInfoByID"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESUserFunc_name = "getESUserFunc"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESUnJoinGroup_name = "getESUnJoinGroup"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__checkESRole_name = "checkESRole"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckWebWWPasswd_name = "CheckWebWWPasswd"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESExpandArea_name = "getESExpandArea"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESExpandAreaById_name = "getESExpandAreaById"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__addESExpandArea_name = "addESExpandArea"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__updateESExpandArea_name = "updateESExpandArea"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__delESExpandArea_name = "delESExpandArea"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__setESEval_name = "setESEval"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESEval_name = "getESEval"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__sendESEvalResult_name = "sendESEvalResult"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__setESEvalResult_name = "setESEvalResult"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESEvalResult_name = "getESEvalResult"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESEvalResultToday_name = "getESEvalResultToday"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESEvalResultHistory_name = "getESEvalResultHistory"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESEvalResultHistorybypage_name = "getESEvalResultHistorybypage"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getLastLoginTime_name = "getLastLoginTime"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getChildShuntInfos_name = "getChildShuntInfos"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__setChildShuntInfos_name = "setChildShuntInfos"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getAgentChild_name = "getAgentChild"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__setAgentChild_name = "setAgentChild"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getAgentList_name = "getAgentList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getB2BChildTeamList_name = "getB2BChildTeamList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getB2BChildInfo_name = "getB2BChildInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getB2BChildParentId_name = "getB2BChildParentId"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__addB2BChild_name = "addB2BChild"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__updateB2BChild_name = "updateB2BChild"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__deleteB2BChild_name = "deleteB2BChild"; - -void -IceInternal::incRef(::AliIMDBBase::IMDBProxyMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIMDBBase::IMDBProxyMgr* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIMDBBase::IMDBProxyMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIMDBBase::IMDBProxyMgr* p) -{ - p->__decRef(); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::IMDBProxyMgrPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::IMDBProxyMgrPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIMDBBase::IMDBProxyMgr; - v->__copyFrom(proxy); - } -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::IMDBProxyMgrPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIMDBBase::__addObject(const IMDBProxyMgrPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIMDBBase::__usesClasses(const IMDBProxyMgrPtr& p) -{ - return p->__usesClasses(); -} - -void -AliIMDBBase::__decRefUnsafe(const IMDBProxyMgrPtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIMDBBase::__clearHandleUnsafe(IMDBProxyMgrPtr& p) -{ - p.__clearHandleUnsafe(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_sayhello::AMD_IMDBProxyMgr_sayhello(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_sayhello::ice_response(::Ice::Int __ret, const ::std::string& helloword) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(helloword); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_sayhello::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_sayhello::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_sayhello::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserToken::AMD_IMDBProxyMgr_CheckUserToken(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserToken::ice_response(::Ice::Int __ret, const ::std::string& lid, const ::std::string& retuidtokenpw, const ::std::string& retmd5passwd, ::Ice::Int activeStat) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(lid); - __os->write(retuidtokenpw); - __os->write(retmd5passwd); - __os->write(activeStat); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserToken::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserToken::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserToken::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckTmpSession::AMD_IMDBProxyMgr_CheckTmpSession(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckTmpSession::ice_response(::Ice::Int __ret, const ::std::string& lid, const ::std::string& retuidtokenpw, const ::std::string& retmd5passwd, ::Ice::Int activeStat) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(lid); - __os->write(retuidtokenpw); - __os->write(retmd5passwd); - __os->write(activeStat); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckTmpSession::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckTmpSession::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckTmpSession::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswd::AMD_IMDBProxyMgr_CheckUserWebPasswd(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswd::ice_response(::Ice::Int __ret, const ::std::string& lid, const ::std::string& retuidtokenpw, const ::std::string& retmd5passwd, ::Ice::Int activeStat) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(lid); - __os->write(retuidtokenpw); - __os->write(retmd5passwd); - __os->write(activeStat); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswd::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswd::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswd::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserPasswd::AMD_IMDBProxyMgr_CheckUserPasswd(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserPasswd::ice_response(::Ice::Int __ret, const ::std::string& retuidtokenpw, const ::std::string& retmd5passwd, ::Ice::Int activeStat) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(retuidtokenpw); - __os->write(retmd5passwd); - __os->write(activeStat); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserPasswd::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserPasswd::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserPasswd::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebToken::AMD_IMDBProxyMgr_CheckUserWebToken(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebToken::ice_response(::Ice::Int __ret, const ::std::string& reason) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(reason); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebToken::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebToken::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebToken::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAtmLongid::AMD_IMDBProxyMgr_GetAtmLongid(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAtmLongid::ice_response(::Ice::Int __ret, const ::std::string& longId) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(longId); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAtmLongid::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAtmLongid::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAtmLongid::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUser60::AMD_IMDBProxyMgr_AddUser60(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUser60::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUser60::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUser60::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUser60::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfo::AMD_IMDBProxyMgr_GetWebMemberPWInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfo::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SMemberPWInfo& pwInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - pwInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfoEx::AMD_IMDBProxyMgr_GetWebMemberPWInfoEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfoEx::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SMemberPWInfoEx& pwInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - pwInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfoEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfoEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfoEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserWebBasicProfile::AMD_IMDBProxyMgr_GetUserWebBasicProfile(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserWebBasicProfile::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SUserWebBasicProfile& profile) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - profile.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserWebBasicProfile::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserWebBasicProfile::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserWebBasicProfile::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckCanAddContact::AMD_IMDBProxyMgr_CheckCanAddContact(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckCanAddContact::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckCanAddContact::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckCanAddContact::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckCanAddContact::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_QueryMatchedUserIds::AMD_IMDBProxyMgr_QueryMatchedUserIds(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_QueryMatchedUserIds::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SMatchedUserIdInfoSeq& matchedIds) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(matchedIds.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &matchedIds[0], &matchedIds[0] + matchedIds.size(), ::AliIMDBBase::__U__SMatchedUserIdInfoSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_QueryMatchedUserIds::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_QueryMatchedUserIds::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_QueryMatchedUserIds::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactWebInfo::AMD_IMDBProxyMgr_UpdateContactWebInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactWebInfo::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactWebInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactWebInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactWebInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelTaobaoUser::AMD_IMDBProxyMgr_DelTaobaoUser(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelTaobaoUser::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelTaobaoUser::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelTaobaoUser::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelTaobaoUser::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelAnyUser::AMD_IMDBProxyMgr_DelAnyUser(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelAnyUser::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelAnyUser::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelAnyUser::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelAnyUser::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUserKeyWord::AMD_IMDBProxyMgr_AddUserKeyWord(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUserKeyWord::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUserKeyWord::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUserKeyWord::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUserKeyWord::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserKeyWord::AMD_IMDBProxyMgr_UpdateUserKeyWord(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserKeyWord::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserKeyWord::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserKeyWord::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserKeyWord::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWord::AMD_IMDBProxyMgr_GetUserKeyWord(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWord::ice_response(::Ice::Int __ret, const ::std::string& keyword, ::Ice::Int flag) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(keyword); - __os->write(flag); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWord::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWord::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWord::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_QueryUserIdsByKeyWord::AMD_IMDBProxyMgr_QueryUserIdsByKeyWord(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_QueryUserIdsByKeyWord::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SMatchedUserIdInfoSeq& matchedIds) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(matchedIds.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &matchedIds[0], &matchedIds[0] + matchedIds.size(), ::AliIMDBBase::__U__SMatchedUserIdInfoSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_QueryUserIdsByKeyWord::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_QueryUserIdsByKeyWord::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_QueryUserIdsByKeyWord::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetBatchMemberInfo::AMD_IMDBProxyMgr_GetBatchMemberInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetBatchMemberInfo::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEMemberInfoSeq& memberInfoList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(memberInfoList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &memberInfoList[0], &memberInfoList[0] + memberInfoList.size(), ::AliIMDBBase::__U__SICEMemberInfoSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetBatchMemberInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetBatchMemberInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetBatchMemberInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllVersion::AMD_IMDBProxyMgr_GetAllVersion(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllVersion::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEVersionSeq& versionList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(versionList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &versionList[0], &versionList[0] + versionList.size(), ::AliIMDBBase::__U__SICEVersionSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllVersion::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllVersion::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllVersion::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllSysMsg::AMD_IMDBProxyMgr_GetAllSysMsg(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllSysMsg::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICESysMessageSeq& sysMsgList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(sysMsgList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &sysMsgList[0], &sysMsgList[0] + sysMsgList.size(), ::AliIMDBBase::__U__SICESysMessageSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllSysMsg::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllSysMsg::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllSysMsg::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllExSysMsg::AMD_IMDBProxyMgr_GetAllExSysMsg(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllExSysMsg::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SExICESysMessageSeq& sysMsgList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(sysMsgList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &sysMsgList[0], &sysMsgList[0] + sysMsgList.size(), ::AliIMDBBase::__U__SExICESysMessageSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllExSysMsg::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllExSysMsg::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllExSysMsg::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo::AMD_IMDBProxyMgr_GetUserInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEUserInfo& userInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - userInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2::AMD_IMDBProxyMgr_GetUserInfo2(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEUserInfo2& userInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - userInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoEx::AMD_IMDBProxyMgr_GetUserInfoEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoEx::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEUserInfoEx& userInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - userInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoNew::AMD_IMDBProxyMgr_GetUserInfoNew(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoNew::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEUserInfoNew& userInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - userInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoNew::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoNew::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoNew::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2New::AMD_IMDBProxyMgr_GetUserInfo2New(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2New::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEUserInfo2New& userInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - userInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2New::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2New::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2New::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew::AMD_IMDBProxyMgr_GetUserInfoExNew(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEUserInfoExNew& userInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - userInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew2::AMD_IMDBProxyMgr_GetUserInfoExNew2(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew2::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEUserInfoExNew2& userInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - userInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew2::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew2::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew2::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew3::AMD_IMDBProxyMgr_GetUserInfoExNew3(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew3::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEUserInfoExNew3& userInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - userInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew3::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew3::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew3::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew4::AMD_IMDBProxyMgr_GetUserInfoExNew4(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew4::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEUserInfoExNew4& userInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - userInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew4::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew4::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew4::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfo::AMD_IMDBProxyMgr_GetUserVerifyInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfo::ice_response(::Ice::Int __ret, ::Ice::Byte addcontactverify, ::Ice::Byte sendmsgverify) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(addcontactverify); - __os->write(sendmsgverify); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoEx::AMD_IMDBProxyMgr_GetUserVerifyInfoEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoEx::ice_response(::Ice::Int __ret, ::Ice::Byte addcontactverify, ::Ice::Byte sendmsgverify, ::Ice::Byte enableSearchFlag) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(addcontactverify); - __os->write(sendmsgverify); - __os->write(enableSearchFlag); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoQuestion::AMD_IMDBProxyMgr_GetUserVerifyInfoQuestion(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoQuestion::ice_response(::Ice::Int __ret, ::Ice::Byte addcontactverify, ::Ice::Byte sendmsgverify, ::Ice::Byte enableSearchFlag, const ::std::string& question, const ::std::string& answer) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(addcontactverify); - __os->write(sendmsgverify); - __os->write(enableSearchFlag); - __os->write(question); - __os->write(answer); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoQuestion::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoQuestion::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoQuestion::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupList::AMD_IMDBProxyMgr_GetGroupList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupList::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEGroupInfoSeq& groupList, ::Ice::Int groupTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &groupList[0], &groupList[0] + groupList.size(), ::AliIMDBBase::__U__SICEGroupInfoSeq()); - } - __os->write(groupTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupListEx::AMD_IMDBProxyMgr_GetGroupListEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupListEx::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEGroupInfoExSeq& groupList, ::Ice::Int groupTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &groupList[0], &groupList[0] + groupList.size(), ::AliIMDBBase::__U__SICEGroupInfoExSeq()); - } - __os->write(groupTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupListEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupListEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupListEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactList::AMD_IMDBProxyMgr_GetContactList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactList::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int contactTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(contactList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &contactList[0], &contactList[0] + contactList.size(), ::AliIMDBBase::__U__SICEContactInfoSeq()); - } - __os->write(contactTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetBlackList::AMD_IMDBProxyMgr_GetBlackList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetBlackList::ice_response(::Ice::Int __ret, const ::Ice::StringSeq& blackList, ::Ice::Int blacklistTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(blackList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&blackList[0], &blackList[0] + blackList.size()); - } - __os->write(blacklistTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetBlackList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetBlackList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetBlackList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetReverseBlackList::AMD_IMDBProxyMgr_GetReverseBlackList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetReverseBlackList::ice_response(::Ice::Int __ret, const ::Ice::StringSeq& reverseBlackList, ::Ice::Int reverseBlacklistTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(reverseBlackList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&reverseBlackList[0], &reverseBlackList[0] + reverseBlackList.size()); - } - __os->write(reverseBlacklistTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetReverseBlackList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetReverseBlackList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetReverseBlackList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsg::AMD_IMDBProxyMgr_GetOfflineMsg(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsg::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEOffLineMessegeSeq& offlineMsgList, ::Ice::Int offlinemsgTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(offlineMsgList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &offlineMsgList[0], &offlineMsgList[0] + offlineMsgList.size(), ::AliIMDBBase::__U__SICEOffLineMessegeSeq()); - } - __os->write(offlinemsgTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsg::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsg::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsg::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgEx::AMD_IMDBProxyMgr_GetOfflineMsgEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgEx::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEOffLineMessegeExSeq& offlineMsgList, ::Ice::Int offlinemsgTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(offlineMsgList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &offlineMsgList[0], &offlineMsgList[0] + offlineMsgList.size(), ::AliIMDBBase::__U__SICEOffLineMessegeExSeq()); - } - __os->write(offlinemsgTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgCount::AMD_IMDBProxyMgr_GetOfflineMsgCount(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgCount::ice_response(::Ice::Int __ret, ::Ice::Int chatMsgNum, ::Ice::Int sysMsgNum) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(chatMsgNum); - __os->write(sysMsgNum); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgCount::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgCount::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgCount::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetEnetOfflineMsgNum::AMD_IMDBProxyMgr_GetEnetOfflineMsgNum(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetEnetOfflineMsgNum::ice_response(::Ice::Int __ret, ::Ice::Int msgNum) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(msgNum); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetEnetOfflineMsgNum::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetEnetOfflineMsgNum::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetEnetOfflineMsgNum::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactInfo::AMD_IMDBProxyMgr_GetContactInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactInfo::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEContactInfo& contactInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - contactInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgNum::AMD_IMDBProxyMgr_GetOfflineMsgNum(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgNum::ice_response(::Ice::Int __ret, ::Ice::Int msgNum) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(msgNum); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgNum::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgNum::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgNum::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfiles::AMD_IMDBProxyMgr_GetToolProfiles(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfiles::ice_response(::Ice::Int __ret, const ::Ice::StringSeq& toolProfilesList, ::Ice::Int toolTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(toolProfilesList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&toolProfilesList[0], &toolProfilesList[0] + toolProfilesList.size()); - } - __os->write(toolTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfiles::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfiles::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfiles::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfilesEx::AMD_IMDBProxyMgr_GetToolProfilesEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfilesEx::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEToolProfileSeq& toolProfilesList, ::Ice::Int toolTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(toolProfilesList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &toolProfilesList[0], &toolProfilesList[0] + toolProfilesList.size(), ::AliIMDBBase::__U__SICEToolProfileSeq()); - } - __os->write(toolTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfilesEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfilesEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfilesEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSysMsg::AMD_IMDBProxyMgr_GetSysMsg(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSysMsg::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICESysMessage& sysMsg) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - sysMsg.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSysMsg::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSysMsg::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSysMsg::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUser::AMD_IMDBProxyMgr_AddUser(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUser::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUser::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUser::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUser::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGroup::AMD_IMDBProxyMgr_AddGroup(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGroup::ice_response(::Ice::Int __ret, ::Ice::Int groupId, ::Ice::Int groupTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(groupId); - __os->write(groupTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGroup::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGroup::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGroup::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGroupEx::AMD_IMDBProxyMgr_AddGroupEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGroupEx::ice_response(::Ice::Int __ret, ::Ice::Int groupId, ::Ice::Int groupTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(groupId); - __os->write(groupTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGroupEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGroupEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGroupEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddBlackList::AMD_IMDBProxyMgr_AddBlackList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddBlackList::ice_response(::Ice::Int __ret, ::Ice::Int blackListTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(blackListTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddBlackList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddBlackList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddBlackList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsg::AMD_IMDBProxyMgr_AddOfflineMsg(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsg::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsg::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsg::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsg::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsg::AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsg(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsg::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsg::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsg::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsg::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgNoSMS::AMD_IMDBProxyMgr_AddOfflineMsgNoSMS(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgNoSMS::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgNoSMS::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgNoSMS::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgNoSMS::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgEx::AMD_IMDBProxyMgr_AddOfflineMsgEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgEx::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLogin::AMD_IMDBProxyMgr_UpdateUserLogin(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLogin::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLogin::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLogin::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLogin::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginEx::AMD_IMDBProxyMgr_UpdateUserLoginEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginEx::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfo::AMD_IMDBProxyMgr_UpdateUserLoginDataInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfo::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoEx::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoEx::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserSysMsgId::AMD_IMDBProxyMgr_UpdateUserSysMsgId(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserSysMsgId::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserSysMsgId::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserSysMsgId::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserSysMsgId::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo::AMD_IMDBProxyMgr_UpdateUserDataInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo2::AMD_IMDBProxyMgr_UpdateUserDataInfo2(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo2::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo2::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo2::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo2::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo3::AMD_IMDBProxyMgr_UpdateUserDataInfo3(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo3::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo3::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo3::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo3::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySet::AMD_IMDBProxyMgr_UpdateUserVerifySet(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySet::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySet::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySet::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySet::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetEx::AMD_IMDBProxyMgr_UpdateUserVerifySetEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetEx::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetQuestion::AMD_IMDBProxyMgr_UpdateUserVerifySetQuestion(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetQuestion::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetQuestion::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetQuestion::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetQuestion::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateGroup::AMD_IMDBProxyMgr_UpdateGroup(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateGroup::ice_response(::Ice::Int __ret, ::Ice::Int groupTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(groupTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateGroup::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateGroup::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateGroup::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_MoveGroup::AMD_IMDBProxyMgr_MoveGroup(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_MoveGroup::ice_response(::Ice::Int __ret, ::Ice::Int groupTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(groupTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_MoveGroup::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_MoveGroup::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_MoveGroup::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickName::AMD_IMDBProxyMgr_UpdateContactNickName(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickName::ice_response(::Ice::Int __ret, ::Ice::Int contactTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(contactTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickName::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickName::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickName::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroup::AMD_IMDBProxyMgr_UpdateContactGroup(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroup::ice_response(::Ice::Int __ret, ::Ice::Int contactTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(contactTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroup::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroup::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroup::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactStatus::AMD_IMDBProxyMgr_UpdateContactStatus(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactStatus::ice_response(::Ice::Int __ret, ::Ice::Int contactTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(contactTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactStatus::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactStatus::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactStatus::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateNotifyMessage::AMD_IMDBProxyMgr_UpdateNotifyMessage(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateNotifyMessage::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateNotifyMessage::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateNotifyMessage::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateNotifyMessage::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfiles::AMD_IMDBProxyMgr_UpdateToolProfiles(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfiles::ice_response(::Ice::Int __ret, ::Ice::Int toolTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(toolTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfiles::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfiles::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfiles::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfilesEx::AMD_IMDBProxyMgr_UpdateToolProfilesEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfilesEx::ice_response(::Ice::Int __ret, ::Ice::Int toolTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(toolTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfilesEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfilesEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfilesEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveGroup::AMD_IMDBProxyMgr_RemoveGroup(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveGroup::ice_response(::Ice::Int __ret, ::Ice::Int groupTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(groupTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveGroup::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveGroup::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveGroup::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveContact::AMD_IMDBProxyMgr_RemoveContact(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveContact::ice_response(::Ice::Int __ret, ::Ice::Int contactTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(contactTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveContact::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveContact::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveContact::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveInverfiedContact::AMD_IMDBProxyMgr_RemoveInverfiedContact(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveInverfiedContact::ice_response(::Ice::Int __ret, ::Ice::Int contactTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(contactTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveInverfiedContact::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveInverfiedContact::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveInverfiedContact::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBlackList::AMD_IMDBProxyMgr_RemoveBlackList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBlackList::ice_response(::Ice::Int __ret, ::Ice::Int blackListTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(blackListTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBlackList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBlackList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBlackList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_IsBlackedByOther::AMD_IMDBProxyMgr_IsBlackedByOther(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_IsBlackedByOther::ice_response(::Ice::Int __ret, bool bBlacked) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(bBlacked); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_IsBlackedByOther::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_IsBlackedByOther::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_IsBlackedByOther::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBatchContacts::AMD_IMDBProxyMgr_RemoveBatchContacts(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBatchContacts::ice_response(::Ice::Int __ret, const ::Ice::StringSeq& retVect, ::Ice::Int modifyCntTimes, ::Ice::Int modifyGenCntTime) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(retVect.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&retVect[0], &retVect[0] + retVect.size()); - } - __os->write(modifyCntTimes); - __os->write(modifyGenCntTime); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBatchContacts::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBatchContacts::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBatchContacts::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserDStatus::AMD_IMDBProxyMgr_GetUserDStatus(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserDStatus::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEUserDStatusSeq& userDStatusList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(userDStatusList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &userDStatusList[0], &userDStatusList[0] + userDStatusList.size(), ::AliIMDBBase::__U__SICEUserDStatusSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserDStatus::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserDStatus::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserDStatus::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUserDStatus::AMD_IMDBProxyMgr_AddUserDStatus(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUserDStatus::ice_response(::Ice::Int __ret, ::Ice::Int statusId) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(statusId); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUserDStatus::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUserDStatus::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUserDStatus::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveUserDStatus::AMD_IMDBProxyMgr_RemoveUserDStatus(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveUserDStatus::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveUserDStatus::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveUserDStatus::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveUserDStatus::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllContactList::AMD_IMDBProxyMgr_GetAllContactList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllContactList::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int contactTimes, ::Ice::Int gencontacttimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(contactList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &contactList[0], &contactList[0] + contactList.size(), ::AliIMDBBase::__U__SICEContactInfoSeq()); - } - __os->write(contactTimes); - __os->write(gencontacttimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllContactList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllContactList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllContactList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntModifyList::AMD_IMDBProxyMgr_GetCntModifyList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntModifyList::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICECntCidModPairSeq& cntList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(cntList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &cntList[0], &cntList[0] + cntList.size(), ::AliIMDBBase::__U__SICECntCidModPairSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntModifyList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntModifyList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntModifyList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGenContactFull::AMD_IMDBProxyMgr_AddGenContactFull(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGenContactFull::ice_response(::Ice::Int __ret, const ::std::string& retscid, const ::std::string& retsmodseqid, ::Ice::Long timeStamps) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(retscid); - __os->write(retsmodseqid); - __os->write(timeStamps); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGenContactFull::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGenContactFull::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGenContactFull::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetail::AMD_IMDBProxyMgr_GetContactDetail(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetail::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEGenContactFull& detail) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - detail.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetail::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetail::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetail::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelGenContact::AMD_IMDBProxyMgr_DelGenContact(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelGenContact::ice_response(::Ice::Int __ret, ::Ice::Long contactTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(contactTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelGenContact::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelGenContact::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelGenContact::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddContact::AMD_IMDBProxyMgr_AddContact(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddContact::ice_response(::Ice::Int __ret, ::Ice::Int contactTimes, const ::std::string& retcid, const ::std::string& retmodseqid) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(contactTimes); - __os->write(retcid); - __os->write(retmodseqid); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddContact::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddContact::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddContact::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUpgradeGenCnt::AMD_IMDBProxyMgr_CheckUpgradeGenCnt(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUpgradeGenCnt::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUpgradeGenCnt::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUpgradeGenCnt::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUpgradeGenCnt::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyGenCntID::AMD_IMDBProxyMgr_ModifyGenCntID(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyGenCntID::ice_response(::Ice::Int __ret, const ::std::string& modseqid) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(modseqid); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyGenCntID::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyGenCntID::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyGenCntID::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpgradeGenContact::AMD_IMDBProxyMgr_UpgradeGenContact(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpgradeGenContact::ice_response(::Ice::Int __ret, ::Ice::Long cntstamp, ::Ice::Long gencntstamp, const ::std::string& modseqid) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(cntstamp); - __os->write(gencntstamp); - __os->write(modseqid); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpgradeGenContact::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpgradeGenContact::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpgradeGenContact::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUpdatedUserInfo::AMD_IMDBProxyMgr_GetUpdatedUserInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUpdatedUserInfo::ice_response(::Ice::Int __ret, ::Ice::Long cntstamp, ::Ice::Long gencntstamp, const ::std::string& retcid, const ::std::string& modseqid, ::Ice::Long groupid, const ::std::string& nickname) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(cntstamp); - __os->write(gencntstamp); - __os->write(retcid); - __os->write(modseqid); - __os->write(groupid); - __os->write(nickname); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUpdatedUserInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUpdatedUserInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUpdatedUserInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyContactDetail::AMD_IMDBProxyMgr_ModifyContactDetail(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyContactDetail::ice_response(::Ice::Int __ret, ::Ice::Long gencntmodifyVersion, const ::std::string& modseqid) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(gencntmodifyVersion); - __os->write(modseqid); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyContactDetail::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyContactDetail::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyContactDetail::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroupByCid::AMD_IMDBProxyMgr_UpdateContactGroupByCid(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroupByCid::ice_response(::Ice::Int __ret, ::Ice::Int contactTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(contactTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroupByCid::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroupByCid::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroupByCid::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickNameByCid::AMD_IMDBProxyMgr_UpdateContactNickNameByCid(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickNameByCid::ice_response(::Ice::Int __ret, ::Ice::Int contactTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(contactTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickNameByCid::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickNameByCid::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickNameByCid::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCRMContactDetail::AMD_IMDBProxyMgr_GetCRMContactDetail(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCRMContactDetail::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICECRMContactDetail& cntDetail) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - cntDetail.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCRMContactDetail::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCRMContactDetail::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCRMContactDetail::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetHardCodeIds::AMD_IMDBProxyMgr_GetHardCodeIds(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetHardCodeIds::ice_response(::Ice::Int __ret, ::Ice::Int count, const ::std::string& allids) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(count); - __os->write(allids); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetHardCodeIds::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetHardCodeIds::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetHardCodeIds::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateHardCodeIds::AMD_IMDBProxyMgr_UpdateHardCodeIds(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateHardCodeIds::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateHardCodeIds::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateHardCodeIds::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateHardCodeIds::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyList::AMD_IMDBProxyMgr_GetCntOtherModifyList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyList::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICECntOtherModInfoSeq& cntList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(cntList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &cntList[0], &cntList[0] + cntList.size(), ::AliIMDBBase::__U__SICECntOtherModInfoSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyInfo::AMD_IMDBProxyMgr_GetCntOtherModifyInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyInfo::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICECntOtherModInfo& cntOtherModInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - cntOtherModInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserCRInfo::AMD_IMDBProxyMgr_GetUserCRInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserCRInfo::ice_response(::Ice::Int __ret, ::Ice::Int crState, ::Ice::Int begTime, ::Ice::Int activeDegree) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(crState); - __os->write(begTime); - __os->write(activeDegree); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserCRInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserCRInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserCRInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_SetUserCRInfo::AMD_IMDBProxyMgr_SetUserCRInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_SetUserCRInfo::ice_response(::Ice::Int __ret, ::Ice::Int begTime) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(begTime); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_SetUserCRInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_SetUserCRInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_SetUserCRInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserInfoByUid::AMD_IMDBProxyMgr_GetSmsUserInfoByUid(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserInfoByUid::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICESmsUserInfo& smsUserInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - smsUserInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserInfoByUid::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserInfoByUid::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserInfoByUid::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserMsgInfo::AMD_IMDBProxyMgr_GetSmsUserMsgInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserMsgInfo::ice_response(::Ice::Int __ret, ::Ice::Int todaySmsCount, ::Ice::Int yesterdaySmsCount) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(todaySmsCount); - __os->write(yesterdaySmsCount); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserMsgInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserMsgInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserMsgInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsg::AMD_IMDBProxyMgr_DelOfflineMsg(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsg::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsg::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsg::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsg::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsgEx::AMD_IMDBProxyMgr_DelOfflineMsgEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsgEx::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsgEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsgEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsgEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelWapOfflineMsg::AMD_IMDBProxyMgr_DelWapOfflineMsg(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelWapOfflineMsg::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelWapOfflineMsg::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelWapOfflineMsg::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelWapOfflineMsg::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyCntMemo::AMD_IMDBProxyMgr_ModifyCntMemo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyCntMemo::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyCntMemo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyCntMemo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyCntMemo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntMemo::AMD_IMDBProxyMgr_GetCntMemo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntMemo::ice_response(::Ice::Int __ret, const ::std::string& memo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(memo); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntMemo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntMemo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntMemo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribe::AMD_IMDBProxyMgr_GetUserTribe(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribe::ice_response(::Ice::Int __ret, const ::ALiIMDBTribe::STribeIdDbSeq& tribeIdList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(tribeIdList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &tribeIdList[0], &tribeIdList[0] + tribeIdList.size(), ::ALiIMDBTribe::__U__STribeIdDbSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribe::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribe::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribe::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribeConfig::AMD_IMDBProxyMgr_GetUserTribeConfig(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribeConfig::ice_response(::Ice::Int __ret, ::Ice::Int addVerify) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(addVerify); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribeConfig::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribeConfig::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribeConfig::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserTribeConfig::AMD_IMDBProxyMgr_UpdateUserTribeConfig(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserTribeConfig::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserTribeConfig::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserTribeConfig::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserTribeConfig::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetTribeOffMngMsg::AMD_IMDBProxyMgr_GetTribeOffMngMsg(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetTribeOffMngMsg::ice_response(::Ice::Int __ret, const ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(offlineMsgList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &offlineMsgList[0], &offlineMsgList[0] + offlineMsgList.size(), ::ALiIMDBTribe::__U__STribeOfflineMsgSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetTribeOffMngMsg::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetTribeOffMngMsg::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetTribeOffMngMsg::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelTribeOffMngMsg::AMD_IMDBProxyMgr_DelTribeOffMngMsg(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelTribeOffMngMsg::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelTribeOffMngMsg::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelTribeOffMngMsg::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelTribeOffMngMsg::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyPersonalShow::AMD_IMDBProxyMgr_ModifyPersonalShow(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyPersonalShow::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyPersonalShow::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyPersonalShow::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyPersonalShow::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetPersonalShow::AMD_IMDBProxyMgr_GetPersonalShow(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetPersonalShow::ice_response(::Ice::Int __ret, const ::std::string& show) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(show); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetPersonalShow::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetPersonalShow::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetPersonalShow::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllOnlineSmsUser::AMD_IMDBProxyMgr_GetAllOnlineSmsUser(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllOnlineSmsUser::ice_response(::Ice::Int __ret, const ::Ice::StringSeq& userList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(userList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userList[0], &userList[0] + userList.size()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllOnlineSmsUser::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllOnlineSmsUser::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllOnlineSmsUser::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWordDegree::AMD_IMDBProxyMgr_GetUserKeyWordDegree(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWordDegree::ice_response(::Ice::Int __ret, const ::std::string& keyword, ::Ice::Int flag, ::Ice::Float degree) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(keyword); - __os->write(flag); - __os->write(degree); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWordDegree::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWordDegree::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWordDegree::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserValue::AMD_IMDBProxyMgr_GetUserValue(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserValue::ice_response(::Ice::Int __ret, ::Ice::Int uservalue) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(uservalue); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserValue::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserValue::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserValue::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserMd5Password::AMD_IMDBProxyMgr_UpdateUserMd5Password(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserMd5Password::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserMd5Password::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserMd5Password::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserMd5Password::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_InsertYahooUser::AMD_IMDBProxyMgr_InsertYahooUser(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_InsertYahooUser::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_InsertYahooUser::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_InsertYahooUser::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_InsertYahooUser::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetailByUid::AMD_IMDBProxyMgr_GetContactDetailByUid(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetailByUid::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEGenContactFull& detail) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - detail.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetailByUid::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetailByUid::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetailByUid::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList::AMD_IMDBProxyMgr_GetChildTeamList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SChildUserInfoSeq& childTeamList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(childTeamList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &childTeamList[0], &childTeamList[0] + childTeamList.size(), ::AliIMDBBase::__U__SChildUserInfoSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList2::AMD_IMDBProxyMgr_GetChildTeamList2(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList2::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SChildUserInfoSeq2& childTeamList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(childTeamList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &childTeamList[0], &childTeamList[0] + childTeamList.size(), ::AliIMDBBase::__U__SChildUserInfoSeq2()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList2::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList2::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList2::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo::AMD_IMDBProxyMgr_GetChildUserInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SChildUserInfo& childInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - childInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo2::AMD_IMDBProxyMgr_GetChildUserInfo2(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo2::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SChildUserInfo2& childInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - childInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo2::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo2::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo2::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetShareContactList::AMD_IMDBProxyMgr_GetShareContactList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetShareContactList::ice_response(::Ice::Int __ret, const ::Ice::StringSeq& shareContactIdList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(shareContactIdList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&shareContactIdList[0], &shareContactIdList[0] + shareContactIdList.size()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetShareContactList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetShareContactList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetShareContactList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactShareInfo::AMD_IMDBProxyMgr_GetContactShareInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactShareInfo::ice_response(::Ice::Int __ret, ::Ice::Int value) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(value); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactShareInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactShareInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactShareInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_SetContactShareInfo::AMD_IMDBProxyMgr_SetContactShareInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_SetContactShareInfo::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_SetContactShareInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_SetContactShareInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_SetContactShareInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiAccountContactList::AMD_IMDBProxyMgr_GetMultiAccountContactList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiAccountContactList::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEContactInfoSeq& contactIdList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(contactIdList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &contactIdList[0], &contactIdList[0] + contactIdList.size(), ::AliIMDBBase::__U__SICEContactInfoSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiAccountContactList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiAccountContactList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiAccountContactList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiServiceList::AMD_IMDBProxyMgr_GetMultiServiceList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiServiceList::ice_response(::Ice::Int __ret, const ::Ice::IntSeq& ServiceList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(ServiceList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&ServiceList[0], &ServiceList[0] + ServiceList.size()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiServiceList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiServiceList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiServiceList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiBindToUser::AMD_IMDBProxyMgr_GetMultiBindToUser(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiBindToUser::ice_response(::Ice::Int __ret, const ::std::string& bindToUser) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(bindToUser); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiBindToUser::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiBindToUser::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiBindToUser::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebBinds::AMD_IMDBProxyMgr_GetWebBinds(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebBinds::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEKvPairSeq& binds) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(binds.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &binds[0], &binds[0] + binds.size(), ::AliIMDBBase::__U__SICEKvPairSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebBinds::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebBinds::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebBinds::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddWebBind::AMD_IMDBProxyMgr_AddWebBind(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddWebBind::ice_response(::Ice::Int __ret, const ::std::string& webmd5pw) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(webmd5pw); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddWebBind::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddWebBind::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddWebBind::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ChangeWebBind::AMD_IMDBProxyMgr_ChangeWebBind(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ChangeWebBind::ice_response(::Ice::Int __ret, const ::std::string& webmd5pw) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(webmd5pw); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ChangeWebBind::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ChangeWebBind::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ChangeWebBind::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelWebBind::AMD_IMDBProxyMgr_DelWebBind(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelWebBind::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelWebBind::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelWebBind::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelWebBind::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getUserSession::AMD_IMDBProxyMgr_getUserSession(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getUserSession::ice_response(::Ice::Int __ret, const ::AliIM::SIceSession& retsession) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - retsession.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getUserSession::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getUserSession::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getUserSession::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkUserSession::AMD_IMDBProxyMgr_checkUserSession(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkUserSession::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkUserSession::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkUserSession::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkUserSession::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_removeSession::AMD_IMDBProxyMgr_removeSession(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_removeSession::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_removeSession::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_removeSession::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_removeSession::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSignature::AMD_IMDBProxyMgr_UpdateSignature(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSignature::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSignature::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSignature::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSignature::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateContactClientInfo::AMD_IMDBProxyMgr_updateContactClientInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateContactClientInfo::ice_response(::Ice::Int __ret, ::Ice::Int contactTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(contactTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateContactClientInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateContactClientInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateContactClientInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getUserProfile::AMD_IMDBProxyMgr_getUserProfile(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getUserProfile::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEKVMap& profilemap) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - ::AliIMDBBase::__write(__os, profilemap, ::AliIMDBBase::__U__SICEKVMap()); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getUserProfile::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getUserProfile::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getUserProfile::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlag::AMD_IMDBProxyMgr_getPeerVerifyFlag(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlag::ice_response(::Ice::Int __ret, ::Ice::Int flag) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(flag); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlag::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlag::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlag::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlagQuestion::AMD_IMDBProxyMgr_getPeerVerifyFlagQuestion(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlagQuestion::ice_response(::Ice::Int __ret, ::Ice::Int flag, const ::std::string& question, const ::std::string& answer) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(flag); - __os->write(question); - __os->write(answer); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlagQuestion::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlagQuestion::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlagQuestion::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getNickName::AMD_IMDBProxyMgr_getNickName(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getNickName::ice_response(::Ice::Int __ret, const ::std::string& nickname) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(nickname); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getNickName::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getNickName::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getNickName::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getFTServiceInfo::AMD_IMDBProxyMgr_getFTServiceInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getFTServiceInfo::ice_response(::Ice::Int __ret, const ::std::string& srvIp, ::Ice::Short srvPort) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(srvIp); - __os->write(srvPort); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getFTServiceInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getFTServiceInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getFTServiceInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getTietuServiceInfo::AMD_IMDBProxyMgr_getTietuServiceInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getTietuServiceInfo::ice_response(::Ice::Int __ret, ::Ice::Int sessionSum, const ::std::string& srvIp, ::Ice::Short srvPort) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(sessionSum); - __os->write(srvIp); - __os->write(srvPort); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getTietuServiceInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getTietuServiceInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getTietuServiceInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getFTSAddr::AMD_IMDBProxyMgr_getFTSAddr(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getFTSAddr::ice_response(::Ice::Int __ret, ::Ice::Long ftsid, const ::std::string& srvIp, ::Ice::Short srvPort) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(ftsid); - __os->write(srvIp); - __os->write(srvPort); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getFTSAddr::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getFTSAddr::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getFTSAddr::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_registerWanghao::AMD_IMDBProxyMgr_registerWanghao(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_registerWanghao::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_registerWanghao::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_registerWanghao::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_registerWanghao::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateUserProfile::AMD_IMDBProxyMgr_updateUserProfile(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateUserProfile::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateUserProfile::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateUserProfile::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateUserProfile::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_loadSitePrefix::AMD_IMDBProxyMgr_loadSitePrefix(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_loadSitePrefix::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SImPrefixSeq& pv) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(pv.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &pv[0], &pv[0] + pv.size(), ::AliIMDBBase::__U__SImPrefixSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_loadSitePrefix::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_loadSitePrefix::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_loadSitePrefix::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateAepUserId::AMD_IMDBProxyMgr_updateAepUserId(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateAepUserId::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateAepUserId::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateAepUserId::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateAepUserId::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateVipflag::AMD_IMDBProxyMgr_updateVipflag(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateVipflag::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateVipflag::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateVipflag::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateVipflag::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkWangHaoPwd::AMD_IMDBProxyMgr_checkWangHaoPwd(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkWangHaoPwd::ice_response(::Ice::Int __ret, const ::std::string& retluid, const ::std::string& retPwToken, const ::std::string& retmd5passwd, ::Ice::Int activeState) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(retluid); - __os->write(retPwToken); - __os->write(retmd5passwd); - __os->write(activeState); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkWangHaoPwd::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkWangHaoPwd::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkWangHaoPwd::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkCanLogin::AMD_IMDBProxyMgr_checkCanLogin(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkCanLogin::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkCanLogin::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkCanLogin::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkCanLogin::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSIPSessionId::AMD_IMDBProxyMgr_GetSIPSessionId(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSIPSessionId::ice_response(::Ice::Int __ret, const ::std::string& sessionId) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(sessionId); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSIPSessionId::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSIPSessionId::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSIPSessionId::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckGsContact::AMD_IMDBProxyMgr_CheckGsContact(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckGsContact::ice_response(::Ice::Int __ret, ::Ice::Int flag) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(flag); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckGsContact::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckGsContact::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckGsContact::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSmsAuthCode::AMD_IMDBProxyMgr_UpdateSmsAuthCode(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSmsAuthCode::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSmsAuthCode::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSmsAuthCode::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSmsAuthCode::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthCode::AMD_IMDBProxyMgr_CheckSmsAuthCode(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthCode::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthCode::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthCode::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthCode::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserValueBySmsAuth::AMD_IMDBProxyMgr_UpdateUserValueBySmsAuth(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserValueBySmsAuth::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserValueBySmsAuth::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserValueBySmsAuth::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserValueBySmsAuth::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthStatus::AMD_IMDBProxyMgr_CheckSmsAuthStatus(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthStatus::ice_response(::Ice::Int __ret, ::Ice::Int status) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(status); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthStatus::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthStatus::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthStatus::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserTokenExtra::AMD_IMDBProxyMgr_CheckUserTokenExtra(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserTokenExtra::ice_response(::Ice::Int __ret, const ::std::string& lid, const ::std::string& retuidtokenpw, const ::std::string& retmd5passwd, ::Ice::Int activeStat, ::Ice::Int webdata) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(lid); - __os->write(retuidtokenpw); - __os->write(retmd5passwd); - __os->write(activeStat); - __os->write(webdata); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserTokenExtra::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserTokenExtra::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserTokenExtra::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswdExtra::AMD_IMDBProxyMgr_CheckUserWebPasswdExtra(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswdExtra::ice_response(::Ice::Int __ret, const ::std::string& lid, const ::std::string& retuidtokenpw, const ::std::string& retmd5passwd, ::Ice::Int activeStat, ::Ice::Int webdata) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(lid); - __os->write(retuidtokenpw); - __os->write(retmd5passwd); - __os->write(activeStat); - __os->write(webdata); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswdExtra::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswdExtra::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswdExtra::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESShuntStatus::AMD_IMDBProxyMgr_getESShuntStatus(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESShuntStatus::ice_response(::Ice::Int __ret, const ::std::string& shunt) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(shunt); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESShuntStatus::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESShuntStatus::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESShuntStatus::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESShuntStatus::AMD_IMDBProxyMgr_setESShuntStatus(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESShuntStatus::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESShuntStatus::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESShuntStatus::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESShuntStatus::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getMaxESReceptNum::AMD_IMDBProxyMgr_getMaxESReceptNum(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getMaxESReceptNum::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEReceptNumSeq& eserviceList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::AliIMDBBase::__U__SICEReceptNumSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getMaxESReceptNum::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getMaxESReceptNum::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getMaxESReceptNum::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setMaxESReceptNum::AMD_IMDBProxyMgr_setMaxESReceptNum(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setMaxESReceptNum::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setMaxESReceptNum::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setMaxESReceptNum::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setMaxESReceptNum::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESPriority::AMD_IMDBProxyMgr_getESPriority(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESPriority::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEReceptPrioritySeq& eserviceList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::AliIMDBBase::__U__SICEReceptPrioritySeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESPriority::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESPriority::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESPriority::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESPriority::AMD_IMDBProxyMgr_setESPriority(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESPriority::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESPriority::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESPriority::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESPriority::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESRecvOffMsg::AMD_IMDBProxyMgr_getESRecvOffMsg(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESRecvOffMsg::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICERecvOffMsgSeq& eserviceList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::AliIMDBBase::__U__SICERecvOffMsgSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESRecvOffMsg::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESRecvOffMsg::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESRecvOffMsg::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESRecvOffMsg::AMD_IMDBProxyMgr_setESRecvOffMsg(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESRecvOffMsg::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESRecvOffMsg::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESRecvOffMsg::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESRecvOffMsg::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupList::AMD_IMDBProxyMgr_getESGroupList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupList::ice_response(::Ice::Int __ret, const ::Ice::IntSeq& groupList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&groupList[0], &groupList[0] + groupList.size()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_insertESGroupInfo::AMD_IMDBProxyMgr_insertESGroupInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_insertESGroupInfo::ice_response(::Ice::Int __ret, ::Ice::Int groupId) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(groupId); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_insertESGroupInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_insertESGroupInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_insertESGroupInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateESGroupInfo::AMD_IMDBProxyMgr_updateESGroupInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateESGroupInfo::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateESGroupInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateESGroupInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateESGroupInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_delESGroup::AMD_IMDBProxyMgr_delESGroup(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_delESGroup::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_delESGroup::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_delESGroup::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_delESGroup::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfo::AMD_IMDBProxyMgr_getESGroupInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfo::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEESGroupInfoSeq& groupList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &groupList[0], &groupList[0] + groupList.size(), ::AliIMDBBase::__U__SICEESGroupInfoSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfoByID::AMD_IMDBProxyMgr_getESGroupInfoByID(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfoByID::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEESGroupInfo& groupInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - groupInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfoByID::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfoByID::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfoByID::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESUserFunc::AMD_IMDBProxyMgr_getESUserFunc(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESUserFunc::ice_response(::Ice::Int __ret, const ::std::string& userflag, ::Ice::Int groupId) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(userflag); - __os->write(groupId); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESUserFunc::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESUserFunc::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESUserFunc::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESUnJoinGroup::AMD_IMDBProxyMgr_getESUnJoinGroup(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESUnJoinGroup::ice_response(::Ice::Int __ret, const ::Ice::StringSeq& eserviceList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&eserviceList[0], &eserviceList[0] + eserviceList.size()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESUnJoinGroup::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESUnJoinGroup::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESUnJoinGroup::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkESRole::AMD_IMDBProxyMgr_checkESRole(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkESRole::ice_response(::Ice::Int __ret, ::Ice::Int groupId) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(groupId); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkESRole::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkESRole::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkESRole::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckWebWWPasswd::AMD_IMDBProxyMgr_CheckWebWWPasswd(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckWebWWPasswd::ice_response(::Ice::Int __ret, const ::std::string& lid, const ::std::string& retuidtokenpw, const ::std::string& retmd5passwd, ::Ice::Int activeStat) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(lid); - __os->write(retuidtokenpw); - __os->write(retmd5passwd); - __os->write(activeStat); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckWebWWPasswd::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckWebWWPasswd::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckWebWWPasswd::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandArea::AMD_IMDBProxyMgr_getESExpandArea(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandArea::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEExpandAreaSeq& areaInfos) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(areaInfos.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &areaInfos[0], &areaInfos[0] + areaInfos.size(), ::AliIMDBBase::__U__SICEExpandAreaSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandArea::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandArea::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandArea::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandAreaById::AMD_IMDBProxyMgr_getESExpandAreaById(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandAreaById::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEExpandArea& areaInfos) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - areaInfos.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandAreaById::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandAreaById::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandAreaById::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_addESExpandArea::AMD_IMDBProxyMgr_addESExpandArea(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_addESExpandArea::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_addESExpandArea::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_addESExpandArea::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_addESExpandArea::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateESExpandArea::AMD_IMDBProxyMgr_updateESExpandArea(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateESExpandArea::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateESExpandArea::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateESExpandArea::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateESExpandArea::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_delESExpandArea::AMD_IMDBProxyMgr_delESExpandArea(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_delESExpandArea::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_delESExpandArea::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_delESExpandArea::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_delESExpandArea::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESEval::AMD_IMDBProxyMgr_setESEval(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESEval::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESEval::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESEval::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESEval::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEval::AMD_IMDBProxyMgr_getESEval(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEval::ice_response(::Ice::Int __ret, const ::std::string& evalcontent, const ::std::string& welcome) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(evalcontent); - __os->write(welcome); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEval::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEval::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEval::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_sendESEvalResult::AMD_IMDBProxyMgr_sendESEvalResult(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_sendESEvalResult::ice_response(::Ice::Int __ret, ::Ice::Int evalId) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(evalId); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_sendESEvalResult::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_sendESEvalResult::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_sendESEvalResult::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESEvalResult::AMD_IMDBProxyMgr_setESEvalResult(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESEvalResult::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESEvalResult::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESEvalResult::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESEvalResult::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResult::AMD_IMDBProxyMgr_getESEvalResult(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResult::ice_response(::Ice::Int __ret, const ::std::string& evalresult, const ::std::string& gmtcreate, const ::std::string& gmtmodify) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(evalresult); - __os->write(gmtcreate); - __os->write(gmtmodify); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResult::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResult::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResult::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultToday::AMD_IMDBProxyMgr_getESEvalResultToday(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultToday::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEESEvalResultSeq& evalInfos) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(evalInfos.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &evalInfos[0], &evalInfos[0] + evalInfos.size(), ::AliIMDBBase::__U__SICEESEvalResultSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultToday::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultToday::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultToday::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistory::AMD_IMDBProxyMgr_getESEvalResultHistory(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistory::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEESEvalResultSeq& evalInfos) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(evalInfos.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &evalInfos[0], &evalInfos[0] + evalInfos.size(), ::AliIMDBBase::__U__SICEESEvalResultSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistory::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistory::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistory::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistorybypage::AMD_IMDBProxyMgr_getESEvalResultHistorybypage(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistorybypage::ice_response(::Ice::Int __ret, ::Ice::Int pagecount, const ::AliIMDBBase::SICEESEvalResultExSeq& evalInfos) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(pagecount); - if(evalInfos.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &evalInfos[0], &evalInfos[0] + evalInfos.size(), ::AliIMDBBase::__U__SICEESEvalResultExSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistorybypage::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistorybypage::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistorybypage::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getLastLoginTime::AMD_IMDBProxyMgr_getLastLoginTime(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getLastLoginTime::ice_response(::Ice::Int __ret, const ::Ice::StringSeq& loginTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(loginTimes.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&loginTimes[0], &loginTimes[0] + loginTimes.size()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getLastLoginTime::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getLastLoginTime::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getLastLoginTime::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getChildShuntInfos::AMD_IMDBProxyMgr_getChildShuntInfos(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getChildShuntInfos::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SChildUserInfoSeq& childInfos) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(childInfos.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &childInfos[0], &childInfos[0] + childInfos.size(), ::AliIMDBBase::__U__SChildUserInfoSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getChildShuntInfos::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getChildShuntInfos::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getChildShuntInfos::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setChildShuntInfos::AMD_IMDBProxyMgr_setChildShuntInfos(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setChildShuntInfos::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setChildShuntInfos::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setChildShuntInfos::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setChildShuntInfos::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getAgentChild::AMD_IMDBProxyMgr_getAgentChild(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getAgentChild::ice_response(::Ice::Int __ret, const ::std::string& agentId) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(agentId); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getAgentChild::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getAgentChild::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getAgentChild::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setAgentChild::AMD_IMDBProxyMgr_setAgentChild(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setAgentChild::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setAgentChild::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setAgentChild::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setAgentChild::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getAgentList::AMD_IMDBProxyMgr_getAgentList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getAgentList::ice_response(::Ice::Int __ret, const ::Ice::StringSeq& agentIds) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(agentIds.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&agentIds[0], &agentIds[0] + agentIds.size()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getAgentList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getAgentList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getAgentList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildTeamList::AMD_IMDBProxyMgr_getB2BChildTeamList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildTeamList::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SB2BChildUserInfoSeq& childTeamList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(childTeamList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &childTeamList[0], &childTeamList[0] + childTeamList.size(), ::AliIMDBBase::__U__SB2BChildUserInfoSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildTeamList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildTeamList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildTeamList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildInfo::AMD_IMDBProxyMgr_getB2BChildInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildInfo::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SB2BChildUserInfo& childInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - childInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildParentId::AMD_IMDBProxyMgr_getB2BChildParentId(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildParentId::ice_response(::Ice::Int __ret, const ::std::string& fid) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(fid); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildParentId::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildParentId::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildParentId::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_addB2BChild::AMD_IMDBProxyMgr_addB2BChild(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_addB2BChild::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_addB2BChild::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_addB2BChild::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_addB2BChild::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateB2BChild::AMD_IMDBProxyMgr_updateB2BChild(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateB2BChild::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateB2BChild::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateB2BChild::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateB2BChild::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_deleteB2BChild::AMD_IMDBProxyMgr_deleteB2BChild(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_deleteB2BChild::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_deleteB2BChild::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_deleteB2BChild::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_deleteB2BChild::ice_exception() -{ - __exception(); -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::sayhello(const ::std::string& userId, ::std::string& helloword, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__sayhello_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->sayhello(userId, helloword, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckUserToken(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckUserToken_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckUserToken(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckTmpSession(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckTmpSession_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckTmpSession(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckUserWebPasswd(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckUserWebPasswd_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckUserWebPasswd(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckUserPasswd(const ::std::string& userId, bool btokenpw, const ::std::string& passwd, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckUserPasswd_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckUserPasswd(userId, btokenpw, passwd, retuidtokenpw, retmd5passwd, activeStat, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckUserWebToken(const ::std::string& userId, const ::std::string& token, ::std::string& reason, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckUserWebToken_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckUserWebToken(userId, token, reason, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetAtmLongid(const ::std::string& userId, ::std::string& longId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetAtmLongid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetAtmLongid(userId, longId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddUser60(const ::std::string& userId, const ::std::string& md5passwd, const ::std::string& tokenpw, ::Ice::Int languageid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddUser60_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddUser60(userId, md5passwd, tokenpw, languageid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetWebMemberPWInfo(const ::std::string& userId, ::AliIMDBBase::SMemberPWInfo& pwInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetWebMemberPWInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetWebMemberPWInfo(userId, pwInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetWebMemberPWInfoEx(const ::std::string& userId, ::AliIMDBBase::SMemberPWInfoEx& pwInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetWebMemberPWInfoEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetWebMemberPWInfoEx(userId, pwInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserWebBasicProfile(const ::std::string& userId, ::AliIMDBBase::SUserWebBasicProfile& profile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserWebBasicProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserWebBasicProfile(userId, profile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckCanAddContact(const ::std::string& userId, const ::std::string& buddyId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckCanAddContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckCanAddContact(userId, buddyId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::QueryMatchedUserIds(const ::std::string& finduid, const ::std::string& shortId, ::AliIMDBBase::SMatchedUserIdInfoSeq& matchedIds, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__QueryMatchedUserIds_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->QueryMatchedUserIds(finduid, shortId, matchedIds, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateContactWebInfo(const ::std::string& userId, const ::std::string& buddyId, const ::AliIMDBBase::SUserWebBasicProfile& cntWebInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateContactWebInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateContactWebInfo(userId, buddyId, cntWebInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::DelTaobaoUser(const ::std::string& webId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__DelTaobaoUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->DelTaobaoUser(webId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::DelAnyUser(const ::std::string& imuserId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__DelAnyUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->DelAnyUser(imuserId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddUserKeyWord(const ::std::string& userId, const ::std::string& keyword, ::Ice::Int flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddUserKeyWord_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddUserKeyWord(userId, keyword, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserKeyWord(const ::std::string& userId, const ::std::string& keyword, ::Ice::Int flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserKeyWord_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserKeyWord(userId, keyword, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserKeyWord(const ::std::string& userId, ::std::string& keyword, ::Ice::Int& flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserKeyWord_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserKeyWord(userId, keyword, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::QueryUserIdsByKeyWord(const ::std::string& keyword, ::AliIMDBBase::SMatchedUserIdInfoSeq& matchedIds, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__QueryUserIdsByKeyWord_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->QueryUserIdsByKeyWord(keyword, matchedIds, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetBatchMemberInfo(const ::Ice::StringSeq& userIds, ::AliIMDBBase::SICEMemberInfoSeq& memberInfoList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetBatchMemberInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetBatchMemberInfo(userIds, memberInfoList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetAllVersion(::AliIMDBBase::SICEVersionSeq& versionList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetAllVersion_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetAllVersion(versionList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetAllSysMsg(::AliIMDBBase::SICESysMessageSeq& sysMsgList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetAllSysMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetAllSysMsg(sysMsgList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetAllExSysMsg(::AliIMDBBase::SExICESysMessageSeq& sysMsgList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetAllExSysMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetAllExSysMsg(sysMsgList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserInfo(const ::std::string& userId, ::AliIMDBBase::SICEUserInfo& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserInfo(userId, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserInfo2(const ::std::string& userId, ::AliIMDBBase::SICEUserInfo2& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserInfo2_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserInfo2(userId, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserInfoEx(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoEx& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserInfoEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserInfoEx(userId, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserInfoNew(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoNew& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserInfoNew_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserInfoNew(userId, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserInfo2New(const ::std::string& userId, ::AliIMDBBase::SICEUserInfo2New& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserInfo2New_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserInfo2New(userId, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserInfoExNew(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserInfoExNew_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserInfoExNew(userId, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserInfoExNew2(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew2& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserInfoExNew2_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserInfoExNew2(userId, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserInfoExNew3(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew3& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserInfoExNew3_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserInfoExNew3(userId, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserInfoExNew4(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew4& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserInfoExNew4_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserInfoExNew4(userId, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserVerifyInfo(const ::std::string& userId, ::Ice::Byte& addcontactverify, ::Ice::Byte& sendmsgverify, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserVerifyInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserVerifyInfo(userId, addcontactverify, sendmsgverify, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserVerifyInfoEx(const ::std::string& userId, ::Ice::Byte& addcontactverify, ::Ice::Byte& sendmsgverify, ::Ice::Byte& enableSearchFlag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserVerifyInfoEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserVerifyInfoEx(userId, addcontactverify, sendmsgverify, enableSearchFlag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserVerifyInfoQuestion(const ::std::string& userId, ::Ice::Byte& addcontactverify, ::Ice::Byte& sendmsgverify, ::Ice::Byte& enableSearchFlag, ::std::string& question, ::std::string& answer, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserVerifyInfoQuestion_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserVerifyInfoQuestion(userId, addcontactverify, sendmsgverify, enableSearchFlag, question, answer, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetGroupList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetGroupList(userId, groupList, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetGroupListEx(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoExSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetGroupListEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetGroupListEx(userId, groupList, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetContactList(const ::std::string& userId, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetContactList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetContactList(userId, getFlag, contactList, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetBlackList(const ::std::string& userId, ::Ice::StringSeq& blackList, ::Ice::Int& blacklistTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetBlackList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetBlackList(userId, blackList, blacklistTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetReverseBlackList(const ::std::string& userId, ::Ice::StringSeq& reverseBlackList, ::Ice::Int& reverseBlacklistTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetReverseBlackList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetReverseBlackList(userId, reverseBlackList, reverseBlacklistTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetOfflineMsg(const ::std::string& userId, ::AliIMDBBase::SICEOffLineMessegeSeq& offlineMsgList, ::Ice::Int& offlinemsgTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetOfflineMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetOfflineMsg(userId, offlineMsgList, offlinemsgTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetOfflineMsgEx(const ::std::string& userId, ::AliIMDBBase::SICEOffLineMessegeExSeq& offlineMsgList, ::Ice::Int& offlinemsgTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetOfflineMsgEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetOfflineMsgEx(userId, offlineMsgList, offlinemsgTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetOfflineMsgCount(const ::std::string& uid, ::Ice::Int& chatMsgNum, ::Ice::Int& sysMsgNum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetOfflineMsgCount_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetOfflineMsgCount(uid, chatMsgNum, sysMsgNum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetEnetOfflineMsgNum(const ::std::string& toId, const ::std::string& fromId, const ::Ice::IntSeq& types, ::Ice::Int& msgNum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetEnetOfflineMsgNum_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetEnetOfflineMsgNum(toId, fromId, types, msgNum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetContactInfo(const ::std::string& userId, const ::std::string& contactId, ::AliIMDBBase::SICEContactInfo& contactInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetContactInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetContactInfo(userId, contactId, contactInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetOfflineMsgNum(const ::std::string& userId, ::Ice::Int& msgNum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetOfflineMsgNum_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetOfflineMsgNum(userId, msgNum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetToolProfiles(const ::std::string& userId, ::Ice::Int type, ::Ice::Int nowTimes, ::Ice::StringSeq& toolProfilesList, ::Ice::Int& toolTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetToolProfiles_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetToolProfiles(userId, type, nowTimes, toolProfilesList, toolTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetToolProfilesEx(const ::std::string& userId, ::Ice::Int nowTimes, ::AliIMDBBase::SICEToolProfileSeq& toolProfilesList, ::Ice::Int& toolTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetToolProfilesEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetToolProfilesEx(userId, nowTimes, toolProfilesList, toolTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetSysMsg(::Ice::Int sysId, ::AliIMDBBase::SICESysMessage& sysMsg, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetSysMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetSysMsg(sysId, sysMsg, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddUser(const ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddUser(userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddGroup(userId, groupName, groupId, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddGroupEx(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int parentId, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddGroupEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddGroupEx(userId, groupName, parentId, groupId, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddBlackList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddBlackList(userId, blackId, blackListTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddOfflineMsg(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddOfflineMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddOfflineMsg(fromId, toId, type, content, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddExpriteTimeOfflineMsg(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, const ::std::string& expireTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddExpriteTimeOfflineMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddExpriteTimeOfflineMsg(fromId, toId, type, content, expireTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddOfflineMsgNoSMS(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddOfflineMsgNoSMS_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddOfflineMsgNoSMS(fromId, toId, type, content, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddOfflineMsgEx(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, ::Ice::Long uniqueMsgTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddOfflineMsgEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddOfflineMsgEx(fromId, toId, type, content, uniqueMsgTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserLogin(const ::std::string& userId, ::Ice::Int sysMsgId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserLogin_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserLogin(userId, sysMsgId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserLoginEx(const ::std::string& userId, ::Ice::Int sysMsgId, const ::std::string& loginIp, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserLoginEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserLoginEx(userId, sysMsgId, loginIp, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserLoginDataInfo(const ::std::string& userId, ::Ice::Int sysMsgId, const ::std::string& loginIp, ::Ice::Int onlineTimes, ::Ice::Int lastLoginTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserLoginDataInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserLoginDataInfo(userId, sysMsgId, loginIp, onlineTimes, lastLoginTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserLoginDataInfoEx(const ::std::string& userId, ::Ice::Int sysMsgId, const ::std::string& loginIp, ::Ice::Int onlineTimes, ::Ice::Int lastLoginTime, ::Ice::Int isNeedToUpdate, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserLoginDataInfoEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserLoginDataInfoEx(userId, sysMsgId, loginIp, onlineTimes, lastLoginTime, isNeedToUpdate, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserSysMsgId(const ::std::string& userId, ::Ice::Int sysMsgId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserSysMsgId_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserSysMsgId(userId, sysMsgId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserDataInfo(const ::std::string& userId, ::Ice::Int strangerMsgCount, ::Ice::Int onlineTimes, ::Ice::Int addContactCount, ::Ice::Int activeDegree, ::Ice::Float rewardActDegree, ::Ice::Float onlineActDegree, ::Ice::Int addTribeCount, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserDataInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserDataInfo(userId, strangerMsgCount, onlineTimes, addContactCount, activeDegree, rewardActDegree, onlineActDegree, addTribeCount, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserDataInfo2(const ::std::string& userId, ::Ice::Int strangerMsgCount, ::Ice::Int onlineTimes, ::Ice::Int addContactCount, ::Ice::Int activeDegree, ::Ice::Float rewardActDegree, ::Ice::Float onlineActDegree, ::Ice::Int addTribeCount, ::Ice::Int reqAddContactCount, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserDataInfo2_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserDataInfo2(userId, strangerMsgCount, onlineTimes, addContactCount, activeDegree, rewardActDegree, onlineActDegree, addTribeCount, reqAddContactCount, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserDataInfo3(const ::std::string& userId, const ::AliIMDBBase::RIGHTTABLE& rightMap, ::Ice::Int onlineTimes, ::Ice::Int activeDegree, ::Ice::Float rewardActDegree, ::Ice::Float onlineActDegree, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserDataInfo3_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserDataInfo3(userId, rightMap, onlineTimes, activeDegree, rewardActDegree, onlineActDegree, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserVerifySet(const ::std::string& userId, ::Ice::Int addContactVerify, ::Ice::Int sendMsgVerify, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserVerifySet_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserVerifySet(userId, addContactVerify, sendMsgVerify, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserVerifySetEx(const ::std::string& userId, ::Ice::Int addContactVerify, ::Ice::Int sendMsgVerify, ::Ice::Int enbleSearchFlag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserVerifySetEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserVerifySetEx(userId, addContactVerify, sendMsgVerify, enbleSearchFlag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserVerifySetQuestion(const ::std::string& userId, ::Ice::Int addContactVerify, ::Ice::Int sendMsgVerify, ::Ice::Int enbleSearchFlag, const ::std::string& question, const ::std::string& answer, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserVerifySetQuestion_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserVerifySetQuestion(userId, addContactVerify, sendMsgVerify, enbleSearchFlag, question, answer, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateGroup(userId, groupName, groupId, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::MoveGroup(const ::std::string& userId, ::Ice::Long groupId, ::Ice::Long newparentgid, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__MoveGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->MoveGroup(userId, groupId, newparentgid, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateContactNickName(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateContactNickName_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateContactNickName(userId, contactId, nickName, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateContactGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateContactGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateContactGroup(userId, contactId, srcGroupId, dstGroupId, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateContactStatus(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int status, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateContactStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateContactStatus(userId, contactId, status, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateNotifyMessage(::Ice::Int msgId, ::Ice::Int status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateNotifyMessage_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateNotifyMessage(msgId, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateToolProfiles(const ::std::string& userId, ::Ice::Int type, const ::Ice::StringSeq& toolProfilsList, ::Ice::Int& toolTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateToolProfiles_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateToolProfiles(userId, type, toolProfilsList, toolTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateToolProfilesEx(const ::std::string& userId, const ::AliIMDBBase::SICEToolProfileSeq& toolProfilsList, ::Ice::Int& toolTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateToolProfilesEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateToolProfilesEx(userId, toolProfilsList, toolTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::RemoveGroup(const ::std::string& userId, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__RemoveGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->RemoveGroup(userId, groupId, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::RemoveContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__RemoveContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->RemoveContact(userId, contactId, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::RemoveInverfiedContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__RemoveInverfiedContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->RemoveInverfiedContact(userId, contactId, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::RemoveBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__RemoveBlackList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->RemoveBlackList(userId, blackId, blackListTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::IsBlackedByOther(const ::std::string& userId, const ::std::string& otheruid, bool& bBlacked, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__IsBlackedByOther_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->IsBlackedByOther(userId, otheruid, bBlacked, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::RemoveBatchContacts(const ::std::string& userId, const ::Ice::StringSeq& cids, ::Ice::StringSeq& retVect, ::Ice::Int& modifyCntTimes, ::Ice::Int& modifyGenCntTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__RemoveBatchContacts_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->RemoveBatchContacts(userId, cids, retVect, modifyCntTimes, modifyGenCntTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserDStatus(const ::std::string& userId, ::AliIMDBBase::SICEUserDStatusSeq& userDStatusList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserDStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserDStatus(userId, userDStatusList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddUserDStatus(const ::std::string& userId, const ::std::string& userDStatus, ::Ice::Int& statusId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddUserDStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddUserDStatus(userId, userDStatus, statusId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::RemoveUserDStatus(const ::std::string& userId, ::Ice::Int statusId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__RemoveUserDStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->RemoveUserDStatus(userId, statusId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetAllContactList(const ::std::string& uid, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, ::Ice::Int& gencontacttimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetAllContactList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetAllContactList(uid, getFlag, contactList, contactTimes, gencontacttimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetCntModifyList(::Ice::Int getFlag, const ::std::string& uid, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntCidModPairSeq& cntList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetCntModifyList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetCntModifyList(getFlag, uid, sMaxSeqId, cntList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull& detail, ::std::string& retscid, ::std::string& retsmodseqid, ::Ice::Long& timeStamps, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddGenContactFull_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddGenContactFull(detail, retscid, retsmodseqid, timeStamps, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetContactDetail_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetContactDetail(uid, cid, detail, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::DelGenContact(const ::std::string& uid, const ::std::string& cid, ::Ice::Long& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__DelGenContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->DelGenContact(uid, cid, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::AliIMDBBase::SUserWebBasicProfile& cntInfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddContact(userId, contactId, nickName, groupId, status, cntInfo, contactTimes, retcid, retmodseqid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckUpgradeGenCnt(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckUpgradeGenCnt_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckUpgradeGenCnt(uid, cid, contactId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::ModifyGenCntID(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::std::string& modseqid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__ModifyGenCntID_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->ModifyGenCntID(uid, cid, contactId, modseqid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpgradeGenContact(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& modseqid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpgradeGenContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpgradeGenContact(uid, cid, contactId, cntstamp, gencntstamp, modseqid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUpdatedUserInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& retcid, ::std::string& modseqid, ::Ice::Long& groupid, ::std::string& nickname, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUpdatedUserInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUpdatedUserInfo(uid, contactId, cntstamp, gencntstamp, retcid, modseqid, groupid, nickname, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__ModifyContactDetail_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->ModifyContactDetail(detail, gencntmodifyVersion, modseqid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateContactGroupByCid(const ::std::string& userId, const ::std::string& cid, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateContactGroupByCid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateContactGroupByCid(userId, cid, srcGroupId, dstGroupId, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateContactNickNameByCid(const ::std::string& userId, const ::std::string& cid, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateContactNickNameByCid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateContactNickNameByCid(userId, cid, nickName, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetCRMContactDetail(const ::std::string& userId, const ::std::string& cntid, ::AliIMDBBase::SICECRMContactDetail& cntDetail, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetCRMContactDetail_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetCRMContactDetail(userId, cntid, cntDetail, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetHardCodeIds(const ::std::string& uuid, ::Ice::Int& count, ::std::string& allids, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetHardCodeIds_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetHardCodeIds(uuid, count, allids, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateHardCodeIds(const ::std::string& uuid, const ::std::string& id, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateHardCodeIds_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateHardCodeIds(uuid, id, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetCntOtherModifyList(const ::std::string& userId, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntOtherModInfoSeq& cntList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetCntOtherModifyList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetCntOtherModifyList(userId, sMaxSeqId, cntList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetCntOtherModifyInfo(const ::std::string& userId, ::AliIMDBBase::SICECntOtherModInfo& cntOtherModInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetCntOtherModifyInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetCntOtherModifyInfo(userId, cntOtherModInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserCRInfo(const ::std::string& uid, ::Ice::Int& crState, ::Ice::Int& begTime, ::Ice::Int& activeDegree, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserCRInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserCRInfo(uid, crState, begTime, activeDegree, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::SetUserCRInfo(const ::std::string& uid, ::Ice::Int crState, ::Ice::Int& begTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__SetUserCRInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->SetUserCRInfo(uid, crState, begTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetSmsUserInfoByUid(const ::std::string& userId, ::AliIMDBBase::SICESmsUserInfo& smsUserInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetSmsUserInfoByUid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetSmsUserInfoByUid(userId, smsUserInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetSmsUserMsgInfo(const ::std::string& userId, ::Ice::Int& todaySmsCount, ::Ice::Int& yesterdaySmsCount, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetSmsUserMsgInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetSmsUserMsgInfo(userId, todaySmsCount, yesterdaySmsCount, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::DelOfflineMsg(const ::std::string& uid, const ::std::string& date, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__DelOfflineMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->DelOfflineMsg(uid, date, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::DelOfflineMsgEx(const ::std::string& uid, ::Ice::Int date, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__DelOfflineMsgEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->DelOfflineMsgEx(uid, date, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::DelWapOfflineMsg(const ::std::string& uid, const ::std::string& date, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__DelWapOfflineMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->DelWapOfflineMsg(uid, date, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::ModifyCntMemo(const ::std::string& uid, const ::std::string& cntid, const ::std::string& memo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__ModifyCntMemo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->ModifyCntMemo(uid, cntid, memo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetCntMemo(const ::std::string& uid, const ::std::string& cntid, ::std::string& memo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetCntMemo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetCntMemo(uid, cntid, memo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserTribe(const ::std::string& userId, ::ALiIMDBTribe::STribeIdDbSeq& tribeIdList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserTribe(userId, tribeIdList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserTribeConfig(const ::std::string& userId, ::Ice::Int& addVerify, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserTribeConfig_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserTribeConfig(userId, addVerify, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserTribeConfig(const ::std::string& userId, ::Ice::Int addVerify, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserTribeConfig_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserTribeConfig(userId, addVerify, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetTribeOffMngMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetTribeOffMngMsg(tribeId, memberId, offlineMsgList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::DelTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__DelTribeOffMngMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->DelTribeOffMngMsg(tribeId, memberId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::ModifyPersonalShow(const ::std::string& uid, const ::std::string& newshow, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__ModifyPersonalShow_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->ModifyPersonalShow(uid, newshow, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetPersonalShow(const ::std::string& uid, ::std::string& show, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetPersonalShow_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetPersonalShow(uid, show, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetAllOnlineSmsUser(::Ice::StringSeq& userList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetAllOnlineSmsUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetAllOnlineSmsUser(userList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserKeyWordDegree(const ::std::string& userId, ::std::string& keyword, ::Ice::Int& flag, ::Ice::Float& degree, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserKeyWordDegree_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserKeyWordDegree(userId, keyword, flag, degree, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserValue(const ::std::string& userId, ::Ice::Int& uservalue, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserValue_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserValue(userId, uservalue, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserMd5Password(const ::std::string& userId, const ::std::string& password, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserMd5Password_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserMd5Password(userId, password, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::InsertYahooUser(const ::AliIMDBBase::SUdbUserInfo& userInfo, ::Ice::Int activeDegree, const ::AliIMDBBase::SICEGenContactFullSeq& contactList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__InsertYahooUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->InsertYahooUser(userInfo, activeDegree, contactList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetContactDetailByUid(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetContactDetailByUid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetContactDetailByUid(uid, cid, detail, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetChildTeamList(const ::std::string& parentId, ::AliIMDBBase::SChildUserInfoSeq& childTeamList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetChildTeamList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetChildTeamList(parentId, childTeamList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetChildTeamList2(const ::std::string& parentId, ::AliIMDBBase::SChildUserInfoSeq2& childTeamList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetChildTeamList2_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetChildTeamList2(parentId, childTeamList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetChildUserInfo(const ::std::string& childId, ::AliIMDBBase::SChildUserInfo& childInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetChildUserInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetChildUserInfo(childId, childInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetChildUserInfo2(const ::std::string& childId, ::AliIMDBBase::SChildUserInfo2& childInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetChildUserInfo2_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetChildUserInfo2(childId, childInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetShareContactList(const ::std::string& uid, ::Ice::StringSeq& shareContactIdList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetShareContactList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetShareContactList(uid, shareContactIdList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetContactShareInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int& value, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetContactShareInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetContactShareInfo(uid, contactId, type, value, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::SetContactShareInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int value, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__SetContactShareInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->SetContactShareInfo(uid, contactId, type, value, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetMultiAccountContactList(const ::std::string& uid, ::AliIMDBBase::SICEContactInfoSeq& contactIdList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetMultiAccountContactList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetMultiAccountContactList(uid, contactIdList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetMultiServiceList(const ::std::string& uid, ::Ice::IntSeq& ServiceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetMultiServiceList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetMultiServiceList(uid, ServiceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetMultiBindToUser(const ::std::string& uid, ::std::string& bindToUser, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetMultiBindToUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetMultiBindToUser(uid, bindToUser, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetWebBinds(const ::std::string& uid, ::AliIMDBBase::SICEKvPairSeq& binds, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetWebBinds_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetWebBinds(uid, binds, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddWebBind(const ::std::string& uid, const ::AliIMDBBase::SICEKvPair& bind, ::std::string& webmd5pw, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddWebBind_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddWebBind(uid, bind, webmd5pw, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::ChangeWebBind(const ::std::string& uid, const ::AliIMDBBase::SICEKvPair& newbind, ::std::string& webmd5pw, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__ChangeWebBind_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->ChangeWebBind(uid, newbind, webmd5pw, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::DelWebBind(const ::std::string& uid, const ::std::string& binduid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__DelWebBind_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->DelWebBind(uid, binduid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getUserSession(const ::std::string& uid, ::AliIM::SIceSession& retsession, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getUserSession_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getUserSession(uid, retsession, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::checkUserSession(const ::std::string& uid, const ::std::string& sessionNo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__checkUserSession_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->checkUserSession(uid, sessionNo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::removeSession(const ::std::string& uid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__removeSession_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->removeSession(uid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateSignature(const ::std::string& uid, const ::std::string& signature, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateSignature_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateSignature(uid, signature, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::updateContactClientInfo(const ::std::string& uid, const ::std::string& cid, const ::std::string& data, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__updateContactClientInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->updateContactClientInfo(uid, cid, data, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getUserProfile(const ::std::string& uid, ::AliIMDBBase::SICEKVMap& profilemap, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getUserProfile(uid, profilemap, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getPeerVerifyFlag(const ::std::string& uid, const ::std::string& cid, ::Ice::Int& flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getPeerVerifyFlag_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getPeerVerifyFlag(uid, cid, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getPeerVerifyFlagQuestion(const ::std::string& uid, const ::std::string& cid, ::Ice::Int& flag, ::std::string& question, ::std::string& answer, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getPeerVerifyFlagQuestion_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getPeerVerifyFlagQuestion(uid, cid, flag, question, answer, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getNickName(const ::std::string& uid, ::std::string& nickname, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getNickName_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getNickName(uid, nickname, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getFTServiceInfo(const ::std::string& senduid, const ::std::string& touid, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getFTServiceInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getFTServiceInfo(senduid, touid, srvIp, srvPort, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getTietuServiceInfo(const ::std::string& senduid, ::Ice::Int& sessionSum, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getTietuServiceInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getTietuServiceInfo(senduid, sessionSum, srvIp, srvPort, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getFTSAddr(::Ice::Short type, const ::std::string& senduid, ::Ice::Long& ftsid, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getFTSAddr_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getFTSAddr(type, senduid, ftsid, srvIp, srvPort, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::registerWanghao(const ::std::string& longuid, const ::AliIMInterface::KVMAP& attrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__registerWanghao_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->registerWanghao(longuid, attrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::updateUserProfile(const ::std::string& longuid, const ::AliIMInterface::KVMAP& newattrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__updateUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->updateUserProfile(longuid, newattrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::loadSitePrefix(::AliIMDBBase::SImPrefixSeq& pv, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__loadSitePrefix_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->loadSitePrefix(pv, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::updateAepUserId(const ::std::string& longuid, const ::std::string& aepuserid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__updateAepUserId_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->updateAepUserId(longuid, aepuserid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::updateVipflag(const ::std::string& uid, ::Ice::Int flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__updateVipflag_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->updateVipflag(uid, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::checkWangHaoPwd(const ::std::string& longuid, bool btokenpw, const ::std::string& pw, ::std::string& retluid, ::std::string& retPwToken, ::std::string& retmd5passwd, ::Ice::Int& activeState, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__checkWangHaoPwd_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->checkWangHaoPwd(longuid, btokenpw, pw, retluid, retPwToken, retmd5passwd, activeState, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::checkCanLogin(const ::std::string& uid, ::Ice::Int version, const ::std::string& extrainfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__checkCanLogin_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->checkCanLogin(uid, version, extrainfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetSIPSessionId(const ::std::string& uid, const ::std::string& appid, const ::std::string& type, ::std::string& sessionId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetSIPSessionId_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetSIPSessionId(uid, appid, type, sessionId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckGsContact(const ::std::string& uid, const ::std::string& contactid, ::Ice::Int& flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckGsContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckGsContact(uid, contactid, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateSmsAuthCode(const ::std::string& uid, const ::std::string& phoneNo, const ::std::string& code, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateSmsAuthCode_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateSmsAuthCode(uid, phoneNo, code, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckSmsAuthCode(const ::std::string& uid, const ::std::string& phoneNo, const ::std::string& code, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckSmsAuthCode_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckSmsAuthCode(uid, phoneNo, code, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserValueBySmsAuth(const ::std::string& uid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserValueBySmsAuth_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserValueBySmsAuth(uid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckSmsAuthStatus(const ::std::string& uid, ::Ice::Int& status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckSmsAuthStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckSmsAuthStatus(uid, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckUserTokenExtra(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, ::Ice::Int& webdata, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckUserTokenExtra_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckUserTokenExtra(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, webdata, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckUserWebPasswdExtra(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, ::Ice::Int& webdata, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckUserWebPasswdExtra_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckUserWebPasswdExtra(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, webdata, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESShuntStatus(const ::std::string& uid, ::std::string& shunt, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESShuntStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESShuntStatus(uid, shunt, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::setESShuntStatus(const ::std::string& uid, const ::std::string& shunt, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__setESShuntStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->setESShuntStatus(uid, shunt, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICEReceptNumSeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getMaxESReceptNum_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getMaxESReceptNum(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::setMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, const ::AliIMDBBase::SICEReceptNumSeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__setMaxESReceptNum_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->setMaxESReceptNum(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESPriority(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESPriority_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESPriority(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::setESPriority(const ::std::string& uid, ::Ice::Int groupId, const ::AliIMDBBase::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__setESPriority_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->setESPriority(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESRecvOffMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESRecvOffMsg(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::setESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, const ::AliIMDBBase::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__setESRecvOffMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->setESRecvOffMsg(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESGroupList(const ::std::string& uid, ::Ice::IntSeq& groupList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESGroupList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESGroupList(uid, groupList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::insertESGroupInfo(const ::std::string& uid, const ::AliIMDBBase::SICEESGroupInfo& groupInfo, ::Ice::Int& groupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__insertESGroupInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->insertESGroupInfo(uid, groupInfo, groupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::updateESGroupInfo(const ::std::string& uid, const ::AliIMDBBase::SICEESGroupInfo& group, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__updateESGroupInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->updateESGroupInfo(uid, group, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::delESGroup(const ::std::string& uid, ::Ice::Int groupid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__delESGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->delESGroup(uid, groupid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESGroupInfo(const ::std::string& uid, ::AliIMDBBase::SICEESGroupInfoSeq& groupList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESGroupInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESGroupInfo(uid, groupList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESGroupInfoByID(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICEESGroupInfo& groupInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESGroupInfoByID_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESGroupInfoByID(uid, groupId, groupInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESUserFunc(const ::std::string& uid, const ::std::string& childid, ::std::string& userflag, ::Ice::Int& groupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESUserFunc_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESUserFunc(uid, childid, userflag, groupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESUnJoinGroup(const ::std::string& uid, ::Ice::StringSeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESUnJoinGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESUnJoinGroup(uid, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::checkESRole(const ::std::string& uid, ::Ice::Int& groupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__checkESRole_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->checkESRole(uid, groupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckWebWWPasswd(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckWebWWPasswd_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckWebWWPasswd(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESExpandArea(const ::std::string& uid, ::AliIMDBBase::SICEExpandAreaSeq& areaInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESExpandArea_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESExpandArea(uid, areaInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESExpandAreaById(const ::std::string& uid, ::Ice::Int id, ::AliIMDBBase::SICEExpandArea& areaInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESExpandAreaById_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESExpandAreaById(uid, id, areaInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::addESExpandArea(const ::std::string& uid, const ::AliIMDBBase::SICEExpandArea& areaInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__addESExpandArea_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->addESExpandArea(uid, areaInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::updateESExpandArea(const ::std::string& uid, const ::AliIMDBBase::SICEExpandArea& areaInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__updateESExpandArea_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->updateESExpandArea(uid, areaInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::delESExpandArea(const ::std::string& uid, ::Ice::Int id, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__delESExpandArea_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->delESExpandArea(uid, id, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::setESEval(const ::std::string& uid, const ::std::string& evalcontent, const ::std::string& welcome, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__setESEval_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->setESEval(uid, evalcontent, welcome, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESEval(const ::std::string& uid, ::std::string& evalcontent, ::std::string& welcome, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESEval_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESEval(uid, evalcontent, welcome, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::sendESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int& evalId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__sendESEvalResult_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->sendESEvalResult(uid, buyerid, evalId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::setESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, const ::std::string& evalresult, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__setESEvalResult_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->setESEvalResult(uid, buyerid, evalId, evalresult, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, ::std::string& evalresult, ::std::string& gmtcreate, ::std::string& gmtmodify, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESEvalResult_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESEvalResult(uid, buyerid, evalId, evalresult, gmtcreate, gmtmodify, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESEvalResultToday(const ::std::string& uid, ::AliIMDBBase::SICEESEvalResultSeq& evalInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESEvalResultToday_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESEvalResultToday(uid, evalInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESEvalResultHistory(const ::std::string& uid, const ::std::string& querytime, ::AliIMDBBase::SICEESEvalResultSeq& evalInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESEvalResultHistory_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESEvalResultHistory(uid, querytime, evalInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESEvalResultHistorybypage(const ::std::string& uid, const ::std::string& childid, const ::std::string& begindate, const ::std::string& enddate, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& pagecount, ::AliIMDBBase::SICEESEvalResultExSeq& evalInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESEvalResultHistorybypage_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESEvalResultHistorybypage(uid, childid, begindate, enddate, pageno, pagesize, pagecount, evalInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getLastLoginTime(const ::Ice::StringSeq& loginids, ::Ice::StringSeq& loginTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getLastLoginTime_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getLastLoginTime(loginids, loginTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getChildShuntInfos(const ::std::string& uid, ::AliIMDBBase::SChildUserInfoSeq& childInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getChildShuntInfos_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getChildShuntInfos(uid, childInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::setChildShuntInfos(const ::std::string& uid, const ::AliIMDBBase::SChildUserInfoSeq& childinfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__setChildShuntInfos_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->setChildShuntInfos(uid, childinfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getAgentChild(const ::std::string& uid, ::std::string& agentId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getAgentChild_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getAgentChild(uid, agentId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::setAgentChild(const ::std::string& uid, const ::std::string& agentId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__setAgentChild_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->setAgentChild(uid, agentId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getAgentList(const ::std::string& uid, ::Ice::StringSeq& agentIds, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getAgentList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getAgentList(uid, agentIds, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getB2BChildTeamList(const ::std::string& parentId, ::AliIMDBBase::SB2BChildUserInfoSeq& childTeamList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getB2BChildTeamList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getB2BChildTeamList(parentId, childTeamList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getB2BChildInfo(const ::std::string& parentId, const ::std::string& childid, ::AliIMDBBase::SB2BChildUserInfo& childInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getB2BChildInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getB2BChildInfo(parentId, childid, childInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getB2BChildParentId(const ::std::string& childId, ::std::string& fid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getB2BChildParentId_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getB2BChildParentId(childId, fid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::addB2BChild(const ::std::string& fid, const ::std::string& childId, const ::std::string& userflag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__addB2BChild_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->addB2BChild(fid, childId, userflag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::updateB2BChild(const ::std::string& fid, const ::std::string& childId, const ::std::string& userflag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__updateB2BChild_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->updateB2BChild(fid, childId, userflag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::deleteB2BChild(const ::std::string& fid, const ::std::string& childId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__deleteB2BChild_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->deleteB2BChild(fid, childId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIMDBBase::IMDBProxyMgr::ice_staticId() -{ - return ::AliIMDBBase::IMDBProxyMgr::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIMDBBase::IMDBProxyMgr::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIMDBBase::IMDBProxyMgr); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIMDBBase::IMDBProxyMgr::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIMDBBase::IMDBProxyMgr); -} - -bool -IceProxy::AliIMDBBase::operator==(const ::IceProxy::AliIMDBBase::IMDBProxyMgr& l, const ::IceProxy::AliIMDBBase::IMDBProxyMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIMDBBase::operator!=(const ::IceProxy::AliIMDBBase::IMDBProxyMgr& l, const ::IceProxy::AliIMDBBase::IMDBProxyMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIMDBBase::operator<(const ::IceProxy::AliIMDBBase::IMDBProxyMgr& l, const ::IceProxy::AliIMDBBase::IMDBProxyMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIMDBBase::operator<=(const ::IceProxy::AliIMDBBase::IMDBProxyMgr& l, const ::IceProxy::AliIMDBBase::IMDBProxyMgr& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIMDBBase::operator>(const ::IceProxy::AliIMDBBase::IMDBProxyMgr& l, const ::IceProxy::AliIMDBBase::IMDBProxyMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIMDBBase::operator>=(const ::IceProxy::AliIMDBBase::IMDBProxyMgr& l, const ::IceProxy::AliIMDBBase::IMDBProxyMgr& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::sayhello(const ::std::string& userId, ::std::string& helloword, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__sayhello_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(helloword); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckUserToken(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckUserToken_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(lid); - __is->read(retuidtokenpw); - __is->read(retmd5passwd); - __is->read(activeStat); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckTmpSession(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckTmpSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(lid); - __is->read(retuidtokenpw); - __is->read(retmd5passwd); - __is->read(activeStat); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckUserWebPasswd(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckUserWebPasswd_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(lid); - __is->read(retuidtokenpw); - __is->read(retmd5passwd); - __is->read(activeStat); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckUserPasswd(const ::std::string& userId, bool btokenpw, const ::std::string& passwd, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckUserPasswd_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(btokenpw); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(retuidtokenpw); - __is->read(retmd5passwd); - __is->read(activeStat); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckUserWebToken(const ::std::string& userId, const ::std::string& token, ::std::string& reason, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckUserWebToken_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(token); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(reason); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetAtmLongid(const ::std::string& userId, ::std::string& longId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetAtmLongid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(longId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddUser60(const ::std::string& userId, const ::std::string& md5passwd, const ::std::string& tokenpw, ::Ice::Int languageid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddUser60_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(md5passwd); - __os->write(tokenpw); - __os->write(languageid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetWebMemberPWInfo(const ::std::string& userId, ::AliIMDBBase::SMemberPWInfo& pwInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetWebMemberPWInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - pwInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetWebMemberPWInfoEx(const ::std::string& userId, ::AliIMDBBase::SMemberPWInfoEx& pwInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetWebMemberPWInfoEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - pwInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserWebBasicProfile(const ::std::string& userId, ::AliIMDBBase::SUserWebBasicProfile& profile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserWebBasicProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - profile.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckCanAddContact(const ::std::string& userId, const ::std::string& buddyId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckCanAddContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(buddyId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::QueryMatchedUserIds(const ::std::string& finduid, const ::std::string& shortId, ::AliIMDBBase::SMatchedUserIdInfoSeq& matchedIds, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__QueryMatchedUserIds_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(finduid); - __os->write(shortId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, matchedIds, ::AliIMDBBase::__U__SMatchedUserIdInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateContactWebInfo(const ::std::string& userId, const ::std::string& buddyId, const ::AliIMDBBase::SUserWebBasicProfile& cntWebInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateContactWebInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(buddyId); - cntWebInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::DelTaobaoUser(const ::std::string& webId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__DelTaobaoUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(webId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::DelAnyUser(const ::std::string& imuserId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__DelAnyUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(imuserId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddUserKeyWord(const ::std::string& userId, const ::std::string& keyword, ::Ice::Int flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddUserKeyWord_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(keyword); - __os->write(flag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserKeyWord(const ::std::string& userId, const ::std::string& keyword, ::Ice::Int flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserKeyWord_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(keyword); - __os->write(flag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserKeyWord(const ::std::string& userId, ::std::string& keyword, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserKeyWord_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(keyword); - __is->read(flag); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::QueryUserIdsByKeyWord(const ::std::string& keyword, ::AliIMDBBase::SMatchedUserIdInfoSeq& matchedIds, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__QueryUserIdsByKeyWord_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(keyword); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, matchedIds, ::AliIMDBBase::__U__SMatchedUserIdInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetBatchMemberInfo(const ::Ice::StringSeq& userIds, ::AliIMDBBase::SICEMemberInfoSeq& memberInfoList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetBatchMemberInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userIds.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userIds[0], &userIds[0] + userIds.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, memberInfoList, ::AliIMDBBase::__U__SICEMemberInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetAllVersion(::AliIMDBBase::SICEVersionSeq& versionList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetAllVersion_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, versionList, ::AliIMDBBase::__U__SICEVersionSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetAllSysMsg(::AliIMDBBase::SICESysMessageSeq& sysMsgList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetAllSysMsg_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, sysMsgList, ::AliIMDBBase::__U__SICESysMessageSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetAllExSysMsg(::AliIMDBBase::SExICESysMessageSeq& sysMsgList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetAllExSysMsg_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, sysMsgList, ::AliIMDBBase::__U__SExICESysMessageSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserInfo(const ::std::string& userId, ::AliIMDBBase::SICEUserInfo& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserInfo2(const ::std::string& userId, ::AliIMDBBase::SICEUserInfo2& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserInfo2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserInfoEx(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoEx& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserInfoEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserInfoNew(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoNew& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserInfoNew_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserInfo2New(const ::std::string& userId, ::AliIMDBBase::SICEUserInfo2New& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserInfo2New_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserInfoExNew(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserInfoExNew_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserInfoExNew2(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew2& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserInfoExNew2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserInfoExNew3(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew3& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserInfoExNew3_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserInfoExNew4(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew4& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserInfoExNew4_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserVerifyInfo(const ::std::string& userId, ::Ice::Byte& addcontactverify, ::Ice::Byte& sendmsgverify, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserVerifyInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(addcontactverify); - __is->read(sendmsgverify); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserVerifyInfoEx(const ::std::string& userId, ::Ice::Byte& addcontactverify, ::Ice::Byte& sendmsgverify, ::Ice::Byte& enableSearchFlag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserVerifyInfoEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(addcontactverify); - __is->read(sendmsgverify); - __is->read(enableSearchFlag); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserVerifyInfoQuestion(const ::std::string& userId, ::Ice::Byte& addcontactverify, ::Ice::Byte& sendmsgverify, ::Ice::Byte& enableSearchFlag, ::std::string& question, ::std::string& answer, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserVerifyInfoQuestion_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(addcontactverify); - __is->read(sendmsgverify); - __is->read(enableSearchFlag); - __is->read(question); - __is->read(answer); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetGroupList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, groupList, ::AliIMDBBase::__U__SICEGroupInfoSeq()); - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetGroupListEx(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoExSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetGroupListEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, groupList, ::AliIMDBBase::__U__SICEGroupInfoExSeq()); - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetContactList(const ::std::string& userId, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetContactList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(getFlag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, contactList, ::AliIMDBBase::__U__SICEContactInfoSeq()); - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetBlackList(const ::std::string& userId, ::Ice::StringSeq& blackList, ::Ice::Int& blacklistTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetBlackList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(blackList); - __is->read(blacklistTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetReverseBlackList(const ::std::string& userId, ::Ice::StringSeq& reverseBlackList, ::Ice::Int& reverseBlacklistTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetReverseBlackList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(reverseBlackList); - __is->read(reverseBlacklistTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetOfflineMsg(const ::std::string& userId, ::AliIMDBBase::SICEOffLineMessegeSeq& offlineMsgList, ::Ice::Int& offlinemsgTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetOfflineMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, offlineMsgList, ::AliIMDBBase::__U__SICEOffLineMessegeSeq()); - __is->read(offlinemsgTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetOfflineMsgEx(const ::std::string& userId, ::AliIMDBBase::SICEOffLineMessegeExSeq& offlineMsgList, ::Ice::Int& offlinemsgTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetOfflineMsgEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, offlineMsgList, ::AliIMDBBase::__U__SICEOffLineMessegeExSeq()); - __is->read(offlinemsgTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetOfflineMsgCount(const ::std::string& uid, ::Ice::Int& chatMsgNum, ::Ice::Int& sysMsgNum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetOfflineMsgCount_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(chatMsgNum); - __is->read(sysMsgNum); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetEnetOfflineMsgNum(const ::std::string& toId, const ::std::string& fromId, const ::Ice::IntSeq& types, ::Ice::Int& msgNum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetEnetOfflineMsgNum_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(toId); - __os->write(fromId); - if(types.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&types[0], &types[0] + types.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(msgNum); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetContactInfo(const ::std::string& userId, const ::std::string& contactId, ::AliIMDBBase::SICEContactInfo& contactInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetContactInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - contactInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetOfflineMsgNum(const ::std::string& userId, ::Ice::Int& msgNum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetOfflineMsgNum_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(msgNum); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetToolProfiles(const ::std::string& userId, ::Ice::Int type, ::Ice::Int nowTimes, ::Ice::StringSeq& toolProfilesList, ::Ice::Int& toolTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetToolProfiles_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(type); - __os->write(nowTimes); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(toolProfilesList); - __is->read(toolTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetToolProfilesEx(const ::std::string& userId, ::Ice::Int nowTimes, ::AliIMDBBase::SICEToolProfileSeq& toolProfilesList, ::Ice::Int& toolTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetToolProfilesEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(nowTimes); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, toolProfilesList, ::AliIMDBBase::__U__SICEToolProfileSeq()); - __is->read(toolTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetSysMsg(::Ice::Int sysId, ::AliIMDBBase::SICESysMessage& sysMsg, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetSysMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(sysId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - sysMsg.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddUser(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupName); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupId); - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddGroupEx(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int parentId, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddGroupEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupName); - __os->write(parentId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupId); - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddBlackList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(blackId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(blackListTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddOfflineMsg(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddOfflineMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fromId); - __os->write(toId); - __os->write(type); - __os->write(content); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddExpriteTimeOfflineMsg(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, const ::std::string& expireTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddExpriteTimeOfflineMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fromId); - __os->write(toId); - __os->write(type); - __os->write(content); - __os->write(expireTime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddOfflineMsgNoSMS(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddOfflineMsgNoSMS_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fromId); - __os->write(toId); - __os->write(type); - __os->write(content); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddOfflineMsgEx(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, ::Ice::Long uniqueMsgTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddOfflineMsgEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fromId); - __os->write(toId); - __os->write(type); - __os->write(content); - __os->write(uniqueMsgTime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserLogin(const ::std::string& userId, ::Ice::Int sysMsgId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserLogin_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(sysMsgId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserLoginEx(const ::std::string& userId, ::Ice::Int sysMsgId, const ::std::string& loginIp, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserLoginEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(sysMsgId); - __os->write(loginIp); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserLoginDataInfo(const ::std::string& userId, ::Ice::Int sysMsgId, const ::std::string& loginIp, ::Ice::Int onlineTimes, ::Ice::Int lastLoginTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserLoginDataInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(sysMsgId); - __os->write(loginIp); - __os->write(onlineTimes); - __os->write(lastLoginTime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserLoginDataInfoEx(const ::std::string& userId, ::Ice::Int sysMsgId, const ::std::string& loginIp, ::Ice::Int onlineTimes, ::Ice::Int lastLoginTime, ::Ice::Int isNeedToUpdate, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserLoginDataInfoEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(sysMsgId); - __os->write(loginIp); - __os->write(onlineTimes); - __os->write(lastLoginTime); - __os->write(isNeedToUpdate); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserSysMsgId(const ::std::string& userId, ::Ice::Int sysMsgId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserSysMsgId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(sysMsgId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserDataInfo(const ::std::string& userId, ::Ice::Int strangerMsgCount, ::Ice::Int onlineTimes, ::Ice::Int addContactCount, ::Ice::Int activeDegree, ::Ice::Float rewardActDegree, ::Ice::Float onlineActDegree, ::Ice::Int addTribeCount, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserDataInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(strangerMsgCount); - __os->write(onlineTimes); - __os->write(addContactCount); - __os->write(activeDegree); - __os->write(rewardActDegree); - __os->write(onlineActDegree); - __os->write(addTribeCount); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserDataInfo2(const ::std::string& userId, ::Ice::Int strangerMsgCount, ::Ice::Int onlineTimes, ::Ice::Int addContactCount, ::Ice::Int activeDegree, ::Ice::Float rewardActDegree, ::Ice::Float onlineActDegree, ::Ice::Int addTribeCount, ::Ice::Int reqAddContactCount, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserDataInfo2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(strangerMsgCount); - __os->write(onlineTimes); - __os->write(addContactCount); - __os->write(activeDegree); - __os->write(rewardActDegree); - __os->write(onlineActDegree); - __os->write(addTribeCount); - __os->write(reqAddContactCount); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserDataInfo3(const ::std::string& userId, const ::AliIMDBBase::RIGHTTABLE& rightMap, ::Ice::Int onlineTimes, ::Ice::Int activeDegree, ::Ice::Float rewardActDegree, ::Ice::Float onlineActDegree, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserDataInfo3_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - ::AliIMDBBase::__write(__os, rightMap, ::AliIMDBBase::__U__RIGHTTABLE()); - __os->write(onlineTimes); - __os->write(activeDegree); - __os->write(rewardActDegree); - __os->write(onlineActDegree); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserVerifySet(const ::std::string& userId, ::Ice::Int addContactVerify, ::Ice::Int sendMsgVerify, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserVerifySet_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(addContactVerify); - __os->write(sendMsgVerify); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserVerifySetEx(const ::std::string& userId, ::Ice::Int addContactVerify, ::Ice::Int sendMsgVerify, ::Ice::Int enbleSearchFlag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserVerifySetEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(addContactVerify); - __os->write(sendMsgVerify); - __os->write(enbleSearchFlag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserVerifySetQuestion(const ::std::string& userId, ::Ice::Int addContactVerify, ::Ice::Int sendMsgVerify, ::Ice::Int enbleSearchFlag, const ::std::string& question, const ::std::string& answer, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserVerifySetQuestion_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(addContactVerify); - __os->write(sendMsgVerify); - __os->write(enbleSearchFlag); - __os->write(question); - __os->write(answer); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupName); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::MoveGroup(const ::std::string& userId, ::Ice::Long groupId, ::Ice::Long newparentgid, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__MoveGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupId); - __os->write(newparentgid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateContactNickName(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateContactNickName_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - __os->write(nickName); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateContactGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateContactGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - __os->write(srcGroupId); - __os->write(dstGroupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateContactStatus(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int status, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateContactStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - __os->write(status); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateNotifyMessage(::Ice::Int msgId, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateNotifyMessage_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(msgId); - __os->write(status); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateToolProfiles(const ::std::string& userId, ::Ice::Int type, const ::Ice::StringSeq& toolProfilsList, ::Ice::Int& toolTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateToolProfiles_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(type); - if(toolProfilsList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&toolProfilsList[0], &toolProfilsList[0] + toolProfilsList.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(toolTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateToolProfilesEx(const ::std::string& userId, const ::AliIMDBBase::SICEToolProfileSeq& toolProfilsList, ::Ice::Int& toolTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateToolProfilesEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - if(toolProfilsList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &toolProfilsList[0], &toolProfilsList[0] + toolProfilsList.size(), ::AliIMDBBase::__U__SICEToolProfileSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(toolTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::RemoveGroup(const ::std::string& userId, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__RemoveGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::RemoveContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__RemoveContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::RemoveInverfiedContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__RemoveInverfiedContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::RemoveBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__RemoveBlackList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(blackId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(blackListTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::IsBlackedByOther(const ::std::string& userId, const ::std::string& otheruid, bool& bBlacked, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__IsBlackedByOther_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(otheruid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(bBlacked); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::RemoveBatchContacts(const ::std::string& userId, const ::Ice::StringSeq& cids, ::Ice::StringSeq& retVect, ::Ice::Int& modifyCntTimes, ::Ice::Int& modifyGenCntTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__RemoveBatchContacts_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - if(cids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&cids[0], &cids[0] + cids.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(retVect); - __is->read(modifyCntTimes); - __is->read(modifyGenCntTime); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserDStatus(const ::std::string& userId, ::AliIMDBBase::SICEUserDStatusSeq& userDStatusList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserDStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, userDStatusList, ::AliIMDBBase::__U__SICEUserDStatusSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddUserDStatus(const ::std::string& userId, const ::std::string& userDStatus, ::Ice::Int& statusId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddUserDStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(userDStatus); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(statusId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::RemoveUserDStatus(const ::std::string& userId, ::Ice::Int statusId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__RemoveUserDStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(statusId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetAllContactList(const ::std::string& uid, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, ::Ice::Int& gencontacttimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetAllContactList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(getFlag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, contactList, ::AliIMDBBase::__U__SICEContactInfoSeq()); - __is->read(contactTimes); - __is->read(gencontacttimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetCntModifyList(::Ice::Int getFlag, const ::std::string& uid, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntCidModPairSeq& cntList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetCntModifyList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(getFlag); - __os->write(uid); - __os->write(sMaxSeqId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, cntList, ::AliIMDBBase::__U__SICECntCidModPairSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull& detail, ::std::string& retscid, ::std::string& retsmodseqid, ::Ice::Long& timeStamps, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddGenContactFull_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - detail.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(retscid); - __is->read(retsmodseqid); - __is->read(timeStamps); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetContactDetail_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - detail.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::DelGenContact(const ::std::string& uid, const ::std::string& cid, ::Ice::Long& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__DelGenContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::AliIMDBBase::SUserWebBasicProfile& cntInfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - __os->write(nickName); - __os->write(groupId); - __os->write(status); - cntInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(retcid); - __is->read(retmodseqid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckUpgradeGenCnt(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckUpgradeGenCnt_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::ModifyGenCntID(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::std::string& modseqid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__ModifyGenCntID_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(modseqid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpgradeGenContact(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& modseqid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpgradeGenContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(cntstamp); - __is->read(gencntstamp); - __is->read(modseqid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUpdatedUserInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& retcid, ::std::string& modseqid, ::Ice::Long& groupid, ::std::string& nickname, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUpdatedUserInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(cntstamp); - __is->read(gencntstamp); - __is->read(retcid); - __is->read(modseqid); - __is->read(groupid); - __is->read(nickname); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__ModifyContactDetail_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - detail.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(gencntmodifyVersion); - __is->read(modseqid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateContactGroupByCid(const ::std::string& userId, const ::std::string& cid, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateContactGroupByCid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(cid); - __os->write(srcGroupId); - __os->write(dstGroupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateContactNickNameByCid(const ::std::string& userId, const ::std::string& cid, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateContactNickNameByCid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(cid); - __os->write(nickName); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetCRMContactDetail(const ::std::string& userId, const ::std::string& cntid, ::AliIMDBBase::SICECRMContactDetail& cntDetail, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetCRMContactDetail_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(cntid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - cntDetail.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetHardCodeIds(const ::std::string& uuid, ::Ice::Int& count, ::std::string& allids, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetHardCodeIds_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(count); - __is->read(allids); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateHardCodeIds(const ::std::string& uuid, const ::std::string& id, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateHardCodeIds_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uuid); - __os->write(id); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetCntOtherModifyList(const ::std::string& userId, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntOtherModInfoSeq& cntList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetCntOtherModifyList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(sMaxSeqId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, cntList, ::AliIMDBBase::__U__SICECntOtherModInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetCntOtherModifyInfo(const ::std::string& userId, ::AliIMDBBase::SICECntOtherModInfo& cntOtherModInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetCntOtherModifyInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - cntOtherModInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserCRInfo(const ::std::string& uid, ::Ice::Int& crState, ::Ice::Int& begTime, ::Ice::Int& activeDegree, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserCRInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(crState); - __is->read(begTime); - __is->read(activeDegree); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::SetUserCRInfo(const ::std::string& uid, ::Ice::Int crState, ::Ice::Int& begTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__SetUserCRInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(crState); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(begTime); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetSmsUserInfoByUid(const ::std::string& userId, ::AliIMDBBase::SICESmsUserInfo& smsUserInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetSmsUserInfoByUid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - smsUserInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetSmsUserMsgInfo(const ::std::string& userId, ::Ice::Int& todaySmsCount, ::Ice::Int& yesterdaySmsCount, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetSmsUserMsgInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(todaySmsCount); - __is->read(yesterdaySmsCount); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::DelOfflineMsg(const ::std::string& uid, const ::std::string& date, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__DelOfflineMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(date); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::DelOfflineMsgEx(const ::std::string& uid, ::Ice::Int date, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__DelOfflineMsgEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(date); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::DelWapOfflineMsg(const ::std::string& uid, const ::std::string& date, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__DelWapOfflineMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(date); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::ModifyCntMemo(const ::std::string& uid, const ::std::string& cntid, const ::std::string& memo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__ModifyCntMemo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cntid); - __os->write(memo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetCntMemo(const ::std::string& uid, const ::std::string& cntid, ::std::string& memo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetCntMemo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cntid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(memo); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserTribe(const ::std::string& userId, ::ALiIMDBTribe::STribeIdDbSeq& tribeIdList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, tribeIdList, ::ALiIMDBTribe::__U__STribeIdDbSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserTribeConfig(const ::std::string& userId, ::Ice::Int& addVerify, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserTribeConfig_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(addVerify); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserTribeConfig(const ::std::string& userId, ::Ice::Int addVerify, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserTribeConfig_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(addVerify); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetTribeOffMngMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, offlineMsgList, ::ALiIMDBTribe::__U__STribeOfflineMsgSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::DelTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__DelTribeOffMngMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::ModifyPersonalShow(const ::std::string& uid, const ::std::string& newshow, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__ModifyPersonalShow_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(newshow); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetPersonalShow(const ::std::string& uid, ::std::string& show, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetPersonalShow_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(show); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetAllOnlineSmsUser(::Ice::StringSeq& userList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetAllOnlineSmsUser_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserKeyWordDegree(const ::std::string& userId, ::std::string& keyword, ::Ice::Int& flag, ::Ice::Float& degree, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserKeyWordDegree_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(keyword); - __is->read(flag); - __is->read(degree); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserValue(const ::std::string& userId, ::Ice::Int& uservalue, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserValue_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(uservalue); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserMd5Password(const ::std::string& userId, const ::std::string& password, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserMd5Password_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(password); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::InsertYahooUser(const ::AliIMDBBase::SUdbUserInfo& userInfo, ::Ice::Int activeDegree, const ::AliIMDBBase::SICEGenContactFullSeq& contactList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__InsertYahooUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - userInfo.__write(__os); - __os->write(activeDegree); - if(contactList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &contactList[0], &contactList[0] + contactList.size(), ::AliIMDBBase::__U__SICEGenContactFullSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetContactDetailByUid(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetContactDetailByUid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - detail.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetChildTeamList(const ::std::string& parentId, ::AliIMDBBase::SChildUserInfoSeq& childTeamList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetChildTeamList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(parentId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, childTeamList, ::AliIMDBBase::__U__SChildUserInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetChildTeamList2(const ::std::string& parentId, ::AliIMDBBase::SChildUserInfoSeq2& childTeamList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetChildTeamList2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(parentId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, childTeamList, ::AliIMDBBase::__U__SChildUserInfoSeq2()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetChildUserInfo(const ::std::string& childId, ::AliIMDBBase::SChildUserInfo& childInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetChildUserInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(childId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - childInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetChildUserInfo2(const ::std::string& childId, ::AliIMDBBase::SChildUserInfo2& childInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetChildUserInfo2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(childId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - childInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetShareContactList(const ::std::string& uid, ::Ice::StringSeq& shareContactIdList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetShareContactList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(shareContactIdList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetContactShareInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int& value, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetContactShareInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(contactId); - __os->write(type); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(value); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::SetContactShareInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int value, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__SetContactShareInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(contactId); - __os->write(type); - __os->write(value); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetMultiAccountContactList(const ::std::string& uid, ::AliIMDBBase::SICEContactInfoSeq& contactIdList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetMultiAccountContactList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, contactIdList, ::AliIMDBBase::__U__SICEContactInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetMultiServiceList(const ::std::string& uid, ::Ice::IntSeq& ServiceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetMultiServiceList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(ServiceList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetMultiBindToUser(const ::std::string& uid, ::std::string& bindToUser, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetMultiBindToUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(bindToUser); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetWebBinds(const ::std::string& uid, ::AliIMDBBase::SICEKvPairSeq& binds, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetWebBinds_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, binds, ::AliIMDBBase::__U__SICEKvPairSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddWebBind(const ::std::string& uid, const ::AliIMDBBase::SICEKvPair& bind, ::std::string& webmd5pw, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddWebBind_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - bind.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(webmd5pw); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::ChangeWebBind(const ::std::string& uid, const ::AliIMDBBase::SICEKvPair& newbind, ::std::string& webmd5pw, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__ChangeWebBind_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - newbind.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(webmd5pw); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::DelWebBind(const ::std::string& uid, const ::std::string& binduid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__DelWebBind_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(binduid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getUserSession(const ::std::string& uid, ::AliIM::SIceSession& retsession, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getUserSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - retsession.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::checkUserSession(const ::std::string& uid, const ::std::string& sessionNo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__checkUserSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(sessionNo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::removeSession(const ::std::string& uid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__removeSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateSignature(const ::std::string& uid, const ::std::string& signature, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateSignature_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(signature); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::updateContactClientInfo(const ::std::string& uid, const ::std::string& cid, const ::std::string& data, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__updateContactClientInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - __os->write(data); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getUserProfile(const ::std::string& uid, ::AliIMDBBase::SICEKVMap& profilemap, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, profilemap, ::AliIMDBBase::__U__SICEKVMap()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getPeerVerifyFlag(const ::std::string& uid, const ::std::string& cid, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getPeerVerifyFlag_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(flag); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getPeerVerifyFlagQuestion(const ::std::string& uid, const ::std::string& cid, ::Ice::Int& flag, ::std::string& question, ::std::string& answer, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getPeerVerifyFlagQuestion_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(flag); - __is->read(question); - __is->read(answer); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getNickName(const ::std::string& uid, ::std::string& nickname, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getNickName_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(nickname); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getFTServiceInfo(const ::std::string& senduid, const ::std::string& touid, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getFTServiceInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(senduid); - __os->write(touid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(srvIp); - __is->read(srvPort); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getTietuServiceInfo(const ::std::string& senduid, ::Ice::Int& sessionSum, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getTietuServiceInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(senduid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(sessionSum); - __is->read(srvIp); - __is->read(srvPort); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getFTSAddr(::Ice::Short type, const ::std::string& senduid, ::Ice::Long& ftsid, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getFTSAddr_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(type); - __os->write(senduid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(ftsid); - __is->read(srvIp); - __is->read(srvPort); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::registerWanghao(const ::std::string& longuid, const ::AliIMInterface::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__registerWanghao_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - ::AliIMInterface::__write(__os, attrs, ::AliIMInterface::__U__KVMAP()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::updateUserProfile(const ::std::string& longuid, const ::AliIMInterface::KVMAP& newattrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__updateUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - ::AliIMInterface::__write(__os, newattrs, ::AliIMInterface::__U__KVMAP()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::loadSitePrefix(::AliIMDBBase::SImPrefixSeq& pv, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__loadSitePrefix_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, pv, ::AliIMDBBase::__U__SImPrefixSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::updateAepUserId(const ::std::string& longuid, const ::std::string& aepuserid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__updateAepUserId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - __os->write(aepuserid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::updateVipflag(const ::std::string& uid, ::Ice::Int flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__updateVipflag_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(flag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::checkWangHaoPwd(const ::std::string& longuid, bool btokenpw, const ::std::string& pw, ::std::string& retluid, ::std::string& retPwToken, ::std::string& retmd5passwd, ::Ice::Int& activeState, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__checkWangHaoPwd_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - __os->write(btokenpw); - __os->write(pw); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(retluid); - __is->read(retPwToken); - __is->read(retmd5passwd); - __is->read(activeState); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::checkCanLogin(const ::std::string& uid, ::Ice::Int version, const ::std::string& extrainfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__checkCanLogin_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(version); - __os->write(extrainfo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetSIPSessionId(const ::std::string& uid, const ::std::string& appid, const ::std::string& type, ::std::string& sessionId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetSIPSessionId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(appid); - __os->write(type); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(sessionId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckGsContact(const ::std::string& uid, const ::std::string& contactid, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckGsContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(contactid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(flag); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateSmsAuthCode(const ::std::string& uid, const ::std::string& phoneNo, const ::std::string& code, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateSmsAuthCode_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(phoneNo); - __os->write(code); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckSmsAuthCode(const ::std::string& uid, const ::std::string& phoneNo, const ::std::string& code, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckSmsAuthCode_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(phoneNo); - __os->write(code); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserValueBySmsAuth(const ::std::string& uid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserValueBySmsAuth_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckSmsAuthStatus(const ::std::string& uid, ::Ice::Int& status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckSmsAuthStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(status); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckUserTokenExtra(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, ::Ice::Int& webdata, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckUserTokenExtra_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(lid); - __is->read(retuidtokenpw); - __is->read(retmd5passwd); - __is->read(activeStat); - __is->read(webdata); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckUserWebPasswdExtra(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, ::Ice::Int& webdata, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckUserWebPasswdExtra_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(lid); - __is->read(retuidtokenpw); - __is->read(retmd5passwd); - __is->read(activeStat); - __is->read(webdata); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESShuntStatus(const ::std::string& uid, ::std::string& shunt, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESShuntStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(shunt); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::setESShuntStatus(const ::std::string& uid, const ::std::string& shunt, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__setESShuntStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(shunt); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICEReceptNumSeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getMaxESReceptNum_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, eserviceList, ::AliIMDBBase::__U__SICEReceptNumSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::setMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, const ::AliIMDBBase::SICEReceptNumSeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__setMaxESReceptNum_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::AliIMDBBase::__U__SICEReceptNumSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESPriority(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESPriority_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, eserviceList, ::AliIMDBBase::__U__SICEReceptPrioritySeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::setESPriority(const ::std::string& uid, ::Ice::Int groupId, const ::AliIMDBBase::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__setESPriority_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::AliIMDBBase::__U__SICEReceptPrioritySeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESRecvOffMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, eserviceList, ::AliIMDBBase::__U__SICERecvOffMsgSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::setESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, const ::AliIMDBBase::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__setESRecvOffMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::AliIMDBBase::__U__SICERecvOffMsgSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESGroupList(const ::std::string& uid, ::Ice::IntSeq& groupList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESGroupList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::insertESGroupInfo(const ::std::string& uid, const ::AliIMDBBase::SICEESGroupInfo& groupInfo, ::Ice::Int& groupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__insertESGroupInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - groupInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::updateESGroupInfo(const ::std::string& uid, const ::AliIMDBBase::SICEESGroupInfo& group, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__updateESGroupInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - group.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::delESGroup(const ::std::string& uid, ::Ice::Int groupid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__delESGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESGroupInfo(const ::std::string& uid, ::AliIMDBBase::SICEESGroupInfoSeq& groupList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESGroupInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, groupList, ::AliIMDBBase::__U__SICEESGroupInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESGroupInfoByID(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICEESGroupInfo& groupInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESGroupInfoByID_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - groupInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESUserFunc(const ::std::string& uid, const ::std::string& childid, ::std::string& userflag, ::Ice::Int& groupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESUserFunc_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(childid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userflag); - __is->read(groupId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESUnJoinGroup(const ::std::string& uid, ::Ice::StringSeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESUnJoinGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(eserviceList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::checkESRole(const ::std::string& uid, ::Ice::Int& groupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__checkESRole_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckWebWWPasswd(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckWebWWPasswd_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(lid); - __is->read(retuidtokenpw); - __is->read(retmd5passwd); - __is->read(activeStat); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESExpandArea(const ::std::string& uid, ::AliIMDBBase::SICEExpandAreaSeq& areaInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESExpandArea_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, areaInfos, ::AliIMDBBase::__U__SICEExpandAreaSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESExpandAreaById(const ::std::string& uid, ::Ice::Int id, ::AliIMDBBase::SICEExpandArea& areaInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESExpandAreaById_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(id); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - areaInfos.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::addESExpandArea(const ::std::string& uid, const ::AliIMDBBase::SICEExpandArea& areaInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__addESExpandArea_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - areaInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::updateESExpandArea(const ::std::string& uid, const ::AliIMDBBase::SICEExpandArea& areaInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__updateESExpandArea_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - areaInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::delESExpandArea(const ::std::string& uid, ::Ice::Int id, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__delESExpandArea_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(id); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::setESEval(const ::std::string& uid, const ::std::string& evalcontent, const ::std::string& welcome, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__setESEval_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(evalcontent); - __os->write(welcome); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESEval(const ::std::string& uid, ::std::string& evalcontent, ::std::string& welcome, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESEval_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(evalcontent); - __is->read(welcome); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::sendESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int& evalId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__sendESEvalResult_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(buyerid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(evalId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::setESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, const ::std::string& evalresult, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__setESEvalResult_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(buyerid); - __os->write(evalId); - __os->write(evalresult); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, ::std::string& evalresult, ::std::string& gmtcreate, ::std::string& gmtmodify, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESEvalResult_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(buyerid); - __os->write(evalId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(evalresult); - __is->read(gmtcreate); - __is->read(gmtmodify); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESEvalResultToday(const ::std::string& uid, ::AliIMDBBase::SICEESEvalResultSeq& evalInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESEvalResultToday_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, evalInfos, ::AliIMDBBase::__U__SICEESEvalResultSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESEvalResultHistory(const ::std::string& uid, const ::std::string& querytime, ::AliIMDBBase::SICEESEvalResultSeq& evalInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESEvalResultHistory_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(querytime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, evalInfos, ::AliIMDBBase::__U__SICEESEvalResultSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESEvalResultHistorybypage(const ::std::string& uid, const ::std::string& childid, const ::std::string& begindate, const ::std::string& enddate, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& pagecount, ::AliIMDBBase::SICEESEvalResultExSeq& evalInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESEvalResultHistorybypage_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(childid); - __os->write(begindate); - __os->write(enddate); - __os->write(pageno); - __os->write(pagesize); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(pagecount); - ::AliIMDBBase::__read(__is, evalInfos, ::AliIMDBBase::__U__SICEESEvalResultExSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getLastLoginTime(const ::Ice::StringSeq& loginids, ::Ice::StringSeq& loginTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getLastLoginTime_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(loginids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&loginids[0], &loginids[0] + loginids.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(loginTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getChildShuntInfos(const ::std::string& uid, ::AliIMDBBase::SChildUserInfoSeq& childInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getChildShuntInfos_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, childInfos, ::AliIMDBBase::__U__SChildUserInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::setChildShuntInfos(const ::std::string& uid, const ::AliIMDBBase::SChildUserInfoSeq& childinfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__setChildShuntInfos_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - if(childinfos.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &childinfos[0], &childinfos[0] + childinfos.size(), ::AliIMDBBase::__U__SChildUserInfoSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getAgentChild(const ::std::string& uid, ::std::string& agentId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getAgentChild_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(agentId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::setAgentChild(const ::std::string& uid, const ::std::string& agentId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__setAgentChild_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(agentId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getAgentList(const ::std::string& uid, ::Ice::StringSeq& agentIds, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getAgentList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(agentIds); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getB2BChildTeamList(const ::std::string& parentId, ::AliIMDBBase::SB2BChildUserInfoSeq& childTeamList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getB2BChildTeamList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(parentId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, childTeamList, ::AliIMDBBase::__U__SB2BChildUserInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getB2BChildInfo(const ::std::string& parentId, const ::std::string& childid, ::AliIMDBBase::SB2BChildUserInfo& childInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getB2BChildInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(parentId); - __os->write(childid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - childInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getB2BChildParentId(const ::std::string& childId, ::std::string& fid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getB2BChildParentId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(childId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(fid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::addB2BChild(const ::std::string& fid, const ::std::string& childId, const ::std::string& userflag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__addB2BChild_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fid); - __os->write(childId); - __os->write(userflag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::updateB2BChild(const ::std::string& fid, const ::std::string& childId, const ::std::string& userflag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__updateB2BChild_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fid); - __os->write(childId); - __os->write(userflag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::deleteB2BChild(const ::std::string& fid, const ::std::string& childId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__deleteB2BChild_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fid); - __os->write(childId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::sayhello(const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckUserToken(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckTmpSession(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckUserWebPasswd(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckUserPasswd(const ::std::string&, bool, const ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckUserWebToken(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetAtmLongid(const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddUser60(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetWebMemberPWInfo(const ::std::string&, ::AliIMDBBase::SMemberPWInfo&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetWebMemberPWInfoEx(const ::std::string&, ::AliIMDBBase::SMemberPWInfoEx&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserWebBasicProfile(const ::std::string&, ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckCanAddContact(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::QueryMatchedUserIds(const ::std::string&, const ::std::string&, ::AliIMDBBase::SMatchedUserIdInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateContactWebInfo(const ::std::string&, const ::std::string&, const ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::DelTaobaoUser(const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::DelAnyUser(const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddUserKeyWord(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserKeyWord(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserKeyWord(const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::QueryUserIdsByKeyWord(const ::std::string&, ::AliIMDBBase::SMatchedUserIdInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetBatchMemberInfo(const ::Ice::StringSeq&, ::AliIMDBBase::SICEMemberInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetAllVersion(::AliIMDBBase::SICEVersionSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetAllSysMsg(::AliIMDBBase::SICESysMessageSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetAllExSysMsg(::AliIMDBBase::SExICESysMessageSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserInfo(const ::std::string&, ::AliIMDBBase::SICEUserInfo&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserInfo2(const ::std::string&, ::AliIMDBBase::SICEUserInfo2&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserInfoEx(const ::std::string&, ::AliIMDBBase::SICEUserInfoEx&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserInfoNew(const ::std::string&, ::AliIMDBBase::SICEUserInfoNew&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserInfo2New(const ::std::string&, ::AliIMDBBase::SICEUserInfo2New&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserInfoExNew(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserInfoExNew2(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew2&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserInfoExNew3(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew3&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserInfoExNew4(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew4&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserVerifyInfo(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserVerifyInfoEx(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, ::Ice::Byte&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserVerifyInfoQuestion(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, ::Ice::Byte&, ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetGroupListEx(const ::std::string&, ::AliIMDBBase::SICEGroupInfoExSeq&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetReverseBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetOfflineMsg(const ::std::string&, ::AliIMDBBase::SICEOffLineMessegeSeq&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetOfflineMsgEx(const ::std::string&, ::AliIMDBBase::SICEOffLineMessegeExSeq&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetOfflineMsgCount(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetEnetOfflineMsgNum(const ::std::string&, const ::std::string&, const ::Ice::IntSeq&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetContactInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEContactInfo&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetOfflineMsgNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetToolProfiles(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetToolProfilesEx(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEToolProfileSeq&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetSysMsg(::Ice::Int, ::AliIMDBBase::SICESysMessage&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddUser(const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddGroupEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddOfflineMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddExpriteTimeOfflineMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddOfflineMsgNoSMS(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddOfflineMsgEx(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Long, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserLogin(const ::std::string&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserLoginEx(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserLoginDataInfo(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserLoginDataInfoEx(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserSysMsgId(const ::std::string&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserDataInfo(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserDataInfo2(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserDataInfo3(const ::std::string&, const ::AliIMDBBase::RIGHTTABLE&, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserVerifySet(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserVerifySetEx(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserVerifySetQuestion(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::MoveGroup(const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateContactGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateContactStatus(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateNotifyMessage(::Ice::Int, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateToolProfiles(const ::std::string&, ::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateToolProfilesEx(const ::std::string&, const ::AliIMDBBase::SICEToolProfileSeq&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::RemoveGroup(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::RemoveContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::RemoveInverfiedContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::RemoveBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::IsBlackedByOther(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::RemoveBatchContacts(const ::std::string&, const ::Ice::StringSeq&, ::Ice::StringSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserDStatus(const ::std::string&, ::AliIMDBBase::SICEUserDStatusSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddUserDStatus(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::RemoveUserDStatus(const ::std::string&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetAllContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetCntModifyList(::Ice::Int, const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntCidModPairSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull&, ::std::string&, ::std::string&, ::Ice::Long&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::DelGenContact(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckUpgradeGenCnt(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::ModifyGenCntID(const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpgradeGenContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUpdatedUserInfo(const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, ::std::string&, ::Ice::Long&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateContactGroupByCid(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateContactNickNameByCid(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetCRMContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECRMContactDetail&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetHardCodeIds(const ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateHardCodeIds(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetCntOtherModifyList(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntOtherModInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetCntOtherModifyInfo(const ::std::string&, ::AliIMDBBase::SICECntOtherModInfo&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserCRInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::SetUserCRInfo(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetSmsUserInfoByUid(const ::std::string&, ::AliIMDBBase::SICESmsUserInfo&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetSmsUserMsgInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::DelOfflineMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::DelOfflineMsgEx(const ::std::string&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::DelWapOfflineMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::ModifyCntMemo(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetCntMemo(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserTribe(const ::std::string&, ::ALiIMDBTribe::STribeIdDbSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserTribeConfig(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserTribeConfig(const ::std::string&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetTribeOffMngMsg(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::DelTribeOffMngMsg(::Ice::Int, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::ModifyPersonalShow(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetPersonalShow(const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetAllOnlineSmsUser(::Ice::StringSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserKeyWordDegree(const ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Float&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserValue(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserMd5Password(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::InsertYahooUser(const ::AliIMDBBase::SUdbUserInfo&, ::Ice::Int, const ::AliIMDBBase::SICEGenContactFullSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetContactDetailByUid(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetChildTeamList(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetChildTeamList2(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq2&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetChildUserInfo(const ::std::string&, ::AliIMDBBase::SChildUserInfo&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetChildUserInfo2(const ::std::string&, ::AliIMDBBase::SChildUserInfo2&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetShareContactList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetContactShareInfo(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::SetContactShareInfo(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetMultiAccountContactList(const ::std::string&, ::AliIMDBBase::SICEContactInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetMultiServiceList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetMultiBindToUser(const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetWebBinds(const ::std::string&, ::AliIMDBBase::SICEKvPairSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddWebBind(const ::std::string&, const ::AliIMDBBase::SICEKvPair&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::ChangeWebBind(const ::std::string&, const ::AliIMDBBase::SICEKvPair&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::DelWebBind(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getUserSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::removeSession(const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateSignature(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::updateContactClientInfo(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getUserProfile(const ::std::string&, ::AliIMDBBase::SICEKVMap&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getPeerVerifyFlag(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getPeerVerifyFlagQuestion(const ::std::string&, const ::std::string&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getNickName(const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getFTServiceInfo(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getTietuServiceInfo(const ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Short&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getFTSAddr(::Ice::Short, const ::std::string&, ::Ice::Long&, ::std::string&, ::Ice::Short&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::registerWanghao(const ::std::string&, const ::AliIMInterface::KVMAP&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::updateUserProfile(const ::std::string&, const ::AliIMInterface::KVMAP&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::loadSitePrefix(::AliIMDBBase::SImPrefixSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::updateAepUserId(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::updateVipflag(const ::std::string&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::checkWangHaoPwd(const ::std::string&, bool, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::checkCanLogin(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetSIPSessionId(const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckGsContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateSmsAuthCode(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckSmsAuthCode(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserValueBySmsAuth(const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckSmsAuthStatus(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckUserTokenExtra(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckUserWebPasswdExtra(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESShuntStatus(const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::setESShuntStatus(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getMaxESReceptNum(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEReceptNumSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::setMaxESReceptNum(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICEReceptNumSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESPriority(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEReceptPrioritySeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::setESPriority(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICEReceptPrioritySeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESRecvOffMsg(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICERecvOffMsgSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::setESRecvOffMsg(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICERecvOffMsgSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESGroupList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::insertESGroupInfo(const ::std::string&, const ::AliIMDBBase::SICEESGroupInfo&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::updateESGroupInfo(const ::std::string&, const ::AliIMDBBase::SICEESGroupInfo&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::delESGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESGroupInfo(const ::std::string&, ::AliIMDBBase::SICEESGroupInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESGroupInfoByID(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEESGroupInfo&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESUserFunc(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESUnJoinGroup(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::checkESRole(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckWebWWPasswd(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESExpandArea(const ::std::string&, ::AliIMDBBase::SICEExpandAreaSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESExpandAreaById(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::addESExpandArea(const ::std::string&, const ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::updateESExpandArea(const ::std::string&, const ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::delESExpandArea(const ::std::string&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::setESEval(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESEval(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::sendESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::setESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESEvalResultToday(const ::std::string&, ::AliIMDBBase::SICEESEvalResultSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESEvalResultHistory(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEESEvalResultSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESEvalResultHistorybypage(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliIMDBBase::SICEESEvalResultExSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getLastLoginTime(const ::Ice::StringSeq&, ::Ice::StringSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getChildShuntInfos(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::setChildShuntInfos(const ::std::string&, const ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getAgentChild(const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::setAgentChild(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getAgentList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getB2BChildTeamList(const ::std::string&, ::AliIMDBBase::SB2BChildUserInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getB2BChildInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SB2BChildUserInfo&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getB2BChildParentId(const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::addB2BChild(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::updateB2BChild(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::deleteB2BChild(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::ObjectPtr -AliIMDBBase::IMDBProxyMgr::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIMDBBase__IMDBProxyMgr_ids[2] = -{ - "::AliIMDBBase::IMDBProxyMgr", - "::Ice::Object" -}; - -bool -AliIMDBBase::IMDBProxyMgr::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIMDBBase__IMDBProxyMgr_ids, __AliIMDBBase__IMDBProxyMgr_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIMDBBase::IMDBProxyMgr::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIMDBBase__IMDBProxyMgr_ids[0], &__AliIMDBBase__IMDBProxyMgr_ids[2]); -} - -const ::std::string& -AliIMDBBase::IMDBProxyMgr::ice_id(const ::Ice::Current&) const -{ - return __AliIMDBBase__IMDBProxyMgr_ids[0]; -} - -const ::std::string& -AliIMDBBase::IMDBProxyMgr::ice_staticId() -{ - return __AliIMDBBase__IMDBProxyMgr_ids[0]; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___sayhello(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_sayhelloPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_sayhello(__inS); - try - { - sayhello_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckUserToken(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string passwd; - __is->read(userId); - __is->read(passwd); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserTokenPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserToken(__inS); - try - { - CheckUserToken_async(__cb, userId, passwd, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckTmpSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string passwd; - __is->read(userId); - __is->read(passwd); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckTmpSessionPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckTmpSession(__inS); - try - { - CheckTmpSession_async(__cb, userId, passwd, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckUserWebPasswd(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string passwd; - __is->read(userId); - __is->read(passwd); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswdPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswd(__inS); - try - { - CheckUserWebPasswd_async(__cb, userId, passwd, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckUserPasswd(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - bool btokenpw; - ::std::string passwd; - __is->read(userId); - __is->read(btokenpw); - __is->read(passwd); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserPasswdPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserPasswd(__inS); - try - { - CheckUserPasswd_async(__cb, userId, btokenpw, passwd, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckUserWebToken(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string token; - __is->read(userId); - __is->read(token); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebTokenPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebToken(__inS); - try - { - CheckUserWebToken_async(__cb, userId, token, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetAtmLongid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetAtmLongidPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAtmLongid(__inS); - try - { - GetAtmLongid_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddUser60(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string md5passwd; - ::std::string tokenpw; - ::Ice::Int languageid; - __is->read(userId); - __is->read(md5passwd); - __is->read(tokenpw); - __is->read(languageid); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddUser60Ptr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUser60(__inS); - try - { - AddUser60_async(__cb, userId, md5passwd, tokenpw, languageid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetWebMemberPWInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfo(__inS); - try - { - GetWebMemberPWInfo_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetWebMemberPWInfoEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfoExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfoEx(__inS); - try - { - GetWebMemberPWInfoEx_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserWebBasicProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserWebBasicProfilePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserWebBasicProfile(__inS); - try - { - GetUserWebBasicProfile_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckCanAddContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string buddyId; - __is->read(userId); - __is->read(buddyId); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckCanAddContactPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckCanAddContact(__inS); - try - { - CheckCanAddContact_async(__cb, userId, buddyId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___QueryMatchedUserIds(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string finduid; - ::std::string shortId; - __is->read(finduid); - __is->read(shortId); - ::AliIMDBBase::AMD_IMDBProxyMgr_QueryMatchedUserIdsPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_QueryMatchedUserIds(__inS); - try - { - QueryMatchedUserIds_async(__cb, finduid, shortId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateContactWebInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string buddyId; - ::AliIMDBBase::SUserWebBasicProfile cntWebInfo; - __is->read(userId); - __is->read(buddyId); - cntWebInfo.__read(__is); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactWebInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactWebInfo(__inS); - try - { - UpdateContactWebInfo_async(__cb, userId, buddyId, cntWebInfo, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___DelTaobaoUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string webId; - __is->read(webId); - ::AliIMDBBase::AMD_IMDBProxyMgr_DelTaobaoUserPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelTaobaoUser(__inS); - try - { - DelTaobaoUser_async(__cb, webId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___DelAnyUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string imuserId; - __is->read(imuserId); - ::AliIMDBBase::AMD_IMDBProxyMgr_DelAnyUserPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelAnyUser(__inS); - try - { - DelAnyUser_async(__cb, imuserId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddUserKeyWord(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string keyword; - ::Ice::Int flag; - __is->read(userId); - __is->read(keyword); - __is->read(flag); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddUserKeyWordPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUserKeyWord(__inS); - try - { - AddUserKeyWord_async(__cb, userId, keyword, flag, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserKeyWord(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string keyword; - ::Ice::Int flag; - __is->read(userId); - __is->read(keyword); - __is->read(flag); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserKeyWordPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserKeyWord(__inS); - try - { - UpdateUserKeyWord_async(__cb, userId, keyword, flag, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserKeyWord(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWordPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWord(__inS); - try - { - GetUserKeyWord_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___QueryUserIdsByKeyWord(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string keyword; - __is->read(keyword); - ::AliIMDBBase::AMD_IMDBProxyMgr_QueryUserIdsByKeyWordPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_QueryUserIdsByKeyWord(__inS); - try - { - QueryUserIdsByKeyWord_async(__cb, keyword, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetBatchMemberInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::Ice::StringSeq userIds; - __is->read(userIds); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetBatchMemberInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetBatchMemberInfo(__inS); - try - { - GetBatchMemberInfo_async(__cb, userIds, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetAllVersion(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllVersionPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllVersion(__inS); - try - { - GetAllVersion_async(__cb, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetAllSysMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllSysMsgPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllSysMsg(__inS); - try - { - GetAllSysMsg_async(__cb, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetAllExSysMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllExSysMsgPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllExSysMsg(__inS); - try - { - GetAllExSysMsg_async(__cb, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo(__inS); - try - { - GetUserInfo_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserInfo2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2Ptr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2(__inS); - try - { - GetUserInfo2_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserInfoEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoEx(__inS); - try - { - GetUserInfoEx_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserInfoNew(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoNewPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoNew(__inS); - try - { - GetUserInfoNew_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserInfo2New(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2NewPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2New(__inS); - try - { - GetUserInfo2New_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserInfoExNew(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNewPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew(__inS); - try - { - GetUserInfoExNew_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserInfoExNew2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew2Ptr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew2(__inS); - try - { - GetUserInfoExNew2_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserInfoExNew3(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew3Ptr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew3(__inS); - try - { - GetUserInfoExNew3_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserInfoExNew4(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew4Ptr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew4(__inS); - try - { - GetUserInfoExNew4_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserVerifyInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfo(__inS); - try - { - GetUserVerifyInfo_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserVerifyInfoEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoEx(__inS); - try - { - GetUserVerifyInfoEx_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserVerifyInfoQuestion(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoQuestionPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoQuestion(__inS); - try - { - GetUserVerifyInfoQuestion_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetGroupList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupList(__inS); - try - { - GetGroupList_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetGroupListEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupListExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupListEx(__inS); - try - { - GetGroupListEx_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetContactList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int getFlag; - __is->read(userId); - __is->read(getFlag); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactList(__inS); - try - { - GetContactList_async(__cb, userId, getFlag, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetBlackList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetBlackListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetBlackList(__inS); - try - { - GetBlackList_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetReverseBlackList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetReverseBlackListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetReverseBlackList(__inS); - try - { - GetReverseBlackList_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetOfflineMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsg(__inS); - try - { - GetOfflineMsg_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetOfflineMsgEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgEx(__inS); - try - { - GetOfflineMsgEx_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetOfflineMsgCount(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgCountPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgCount(__inS); - try - { - GetOfflineMsgCount_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetEnetOfflineMsgNum(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string toId; - ::std::string fromId; - ::Ice::IntSeq types; - __is->read(toId); - __is->read(fromId); - __is->read(types); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetEnetOfflineMsgNumPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetEnetOfflineMsgNum(__inS); - try - { - GetEnetOfflineMsgNum_async(__cb, toId, fromId, types, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetContactInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string contactId; - __is->read(userId); - __is->read(contactId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactInfo(__inS); - try - { - GetContactInfo_async(__cb, userId, contactId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetOfflineMsgNum(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgNumPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgNum(__inS); - try - { - GetOfflineMsgNum_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetToolProfiles(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int type; - ::Ice::Int nowTimes; - __is->read(userId); - __is->read(type); - __is->read(nowTimes); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfilesPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfiles(__inS); - try - { - GetToolProfiles_async(__cb, userId, type, nowTimes, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetToolProfilesEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int nowTimes; - __is->read(userId); - __is->read(nowTimes); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfilesExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfilesEx(__inS); - try - { - GetToolProfilesEx_async(__cb, userId, nowTimes, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetSysMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::Ice::Int sysId; - __is->read(sysId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetSysMsgPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSysMsg(__inS); - try - { - GetSysMsg_async(__cb, sysId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddUserPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUser(__inS); - try - { - AddUser_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string groupName; - __is->read(userId); - __is->read(groupName); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddGroupPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGroup(__inS); - try - { - AddGroup_async(__cb, userId, groupName, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddGroupEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string groupName; - ::Ice::Int parentId; - __is->read(userId); - __is->read(groupName); - __is->read(parentId); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddGroupExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGroupEx(__inS); - try - { - AddGroupEx_async(__cb, userId, groupName, parentId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddBlackList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string blackId; - __is->read(userId); - __is->read(blackId); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddBlackListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddBlackList(__inS); - try - { - AddBlackList_async(__cb, userId, blackId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddOfflineMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string fromId; - ::std::string toId; - ::Ice::Int type; - ::std::string content; - __is->read(fromId); - __is->read(toId); - __is->read(type); - __is->read(content); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsg(__inS); - try - { - AddOfflineMsg_async(__cb, fromId, toId, type, content, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddExpriteTimeOfflineMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string fromId; - ::std::string toId; - ::Ice::Int type; - ::std::string content; - ::std::string expireTime; - __is->read(fromId); - __is->read(toId); - __is->read(type); - __is->read(content); - __is->read(expireTime); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsgPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsg(__inS); - try - { - AddExpriteTimeOfflineMsg_async(__cb, fromId, toId, type, content, expireTime, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddOfflineMsgNoSMS(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string fromId; - ::std::string toId; - ::Ice::Int type; - ::std::string content; - __is->read(fromId); - __is->read(toId); - __is->read(type); - __is->read(content); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgNoSMSPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgNoSMS(__inS); - try - { - AddOfflineMsgNoSMS_async(__cb, fromId, toId, type, content, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddOfflineMsgEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string fromId; - ::std::string toId; - ::Ice::Int type; - ::std::string content; - ::Ice::Long uniqueMsgTime; - __is->read(fromId); - __is->read(toId); - __is->read(type); - __is->read(content); - __is->read(uniqueMsgTime); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgEx(__inS); - try - { - AddOfflineMsgEx_async(__cb, fromId, toId, type, content, uniqueMsgTime, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserLogin(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int sysMsgId; - __is->read(userId); - __is->read(sysMsgId); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLogin(__inS); - try - { - UpdateUserLogin_async(__cb, userId, sysMsgId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserLoginEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int sysMsgId; - ::std::string loginIp; - __is->read(userId); - __is->read(sysMsgId); - __is->read(loginIp); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginEx(__inS); - try - { - UpdateUserLoginEx_async(__cb, userId, sysMsgId, loginIp, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserLoginDataInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int sysMsgId; - ::std::string loginIp; - ::Ice::Int onlineTimes; - ::Ice::Int lastLoginTime; - __is->read(userId); - __is->read(sysMsgId); - __is->read(loginIp); - __is->read(onlineTimes); - __is->read(lastLoginTime); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfo(__inS); - try - { - UpdateUserLoginDataInfo_async(__cb, userId, sysMsgId, loginIp, onlineTimes, lastLoginTime, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserLoginDataInfoEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int sysMsgId; - ::std::string loginIp; - ::Ice::Int onlineTimes; - ::Ice::Int lastLoginTime; - ::Ice::Int isNeedToUpdate; - __is->read(userId); - __is->read(sysMsgId); - __is->read(loginIp); - __is->read(onlineTimes); - __is->read(lastLoginTime); - __is->read(isNeedToUpdate); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoEx(__inS); - try - { - UpdateUserLoginDataInfoEx_async(__cb, userId, sysMsgId, loginIp, onlineTimes, lastLoginTime, isNeedToUpdate, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserSysMsgId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int sysMsgId; - __is->read(userId); - __is->read(sysMsgId); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserSysMsgIdPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserSysMsgId(__inS); - try - { - UpdateUserSysMsgId_async(__cb, userId, sysMsgId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserDataInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int strangerMsgCount; - ::Ice::Int onlineTimes; - ::Ice::Int addContactCount; - ::Ice::Int activeDegree; - ::Ice::Float rewardActDegree; - ::Ice::Float onlineActDegree; - ::Ice::Int addTribeCount; - __is->read(userId); - __is->read(strangerMsgCount); - __is->read(onlineTimes); - __is->read(addContactCount); - __is->read(activeDegree); - __is->read(rewardActDegree); - __is->read(onlineActDegree); - __is->read(addTribeCount); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo(__inS); - try - { - UpdateUserDataInfo_async(__cb, userId, strangerMsgCount, onlineTimes, addContactCount, activeDegree, rewardActDegree, onlineActDegree, addTribeCount, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserDataInfo2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int strangerMsgCount; - ::Ice::Int onlineTimes; - ::Ice::Int addContactCount; - ::Ice::Int activeDegree; - ::Ice::Float rewardActDegree; - ::Ice::Float onlineActDegree; - ::Ice::Int addTribeCount; - ::Ice::Int reqAddContactCount; - __is->read(userId); - __is->read(strangerMsgCount); - __is->read(onlineTimes); - __is->read(addContactCount); - __is->read(activeDegree); - __is->read(rewardActDegree); - __is->read(onlineActDegree); - __is->read(addTribeCount); - __is->read(reqAddContactCount); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo2Ptr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo2(__inS); - try - { - UpdateUserDataInfo2_async(__cb, userId, strangerMsgCount, onlineTimes, addContactCount, activeDegree, rewardActDegree, onlineActDegree, addTribeCount, reqAddContactCount, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserDataInfo3(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::AliIMDBBase::RIGHTTABLE rightMap; - ::Ice::Int onlineTimes; - ::Ice::Int activeDegree; - ::Ice::Float rewardActDegree; - ::Ice::Float onlineActDegree; - __is->read(userId); - ::AliIMDBBase::__read(__is, rightMap, ::AliIMDBBase::__U__RIGHTTABLE()); - __is->read(onlineTimes); - __is->read(activeDegree); - __is->read(rewardActDegree); - __is->read(onlineActDegree); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo3Ptr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo3(__inS); - try - { - UpdateUserDataInfo3_async(__cb, userId, rightMap, onlineTimes, activeDegree, rewardActDegree, onlineActDegree, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserVerifySet(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int addContactVerify; - ::Ice::Int sendMsgVerify; - __is->read(userId); - __is->read(addContactVerify); - __is->read(sendMsgVerify); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySet(__inS); - try - { - UpdateUserVerifySet_async(__cb, userId, addContactVerify, sendMsgVerify, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserVerifySetEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int addContactVerify; - ::Ice::Int sendMsgVerify; - ::Ice::Int enbleSearchFlag; - __is->read(userId); - __is->read(addContactVerify); - __is->read(sendMsgVerify); - __is->read(enbleSearchFlag); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetEx(__inS); - try - { - UpdateUserVerifySetEx_async(__cb, userId, addContactVerify, sendMsgVerify, enbleSearchFlag, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserVerifySetQuestion(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int addContactVerify; - ::Ice::Int sendMsgVerify; - ::Ice::Int enbleSearchFlag; - ::std::string question; - ::std::string answer; - __is->read(userId); - __is->read(addContactVerify); - __is->read(sendMsgVerify); - __is->read(enbleSearchFlag); - __is->read(question); - __is->read(answer); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetQuestionPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetQuestion(__inS); - try - { - UpdateUserVerifySetQuestion_async(__cb, userId, addContactVerify, sendMsgVerify, enbleSearchFlag, question, answer, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string groupName; - ::Ice::Int groupId; - __is->read(userId); - __is->read(groupName); - __is->read(groupId); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateGroupPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateGroup(__inS); - try - { - UpdateGroup_async(__cb, userId, groupName, groupId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___MoveGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Long groupId; - ::Ice::Long newparentgid; - __is->read(userId); - __is->read(groupId); - __is->read(newparentgid); - ::AliIMDBBase::AMD_IMDBProxyMgr_MoveGroupPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_MoveGroup(__inS); - try - { - MoveGroup_async(__cb, userId, groupId, newparentgid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateContactNickName(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string contactId; - ::std::string nickName; - __is->read(userId); - __is->read(contactId); - __is->read(nickName); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickNamePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickName(__inS); - try - { - UpdateContactNickName_async(__cb, userId, contactId, nickName, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateContactGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string contactId; - ::Ice::Int srcGroupId; - ::Ice::Int dstGroupId; - __is->read(userId); - __is->read(contactId); - __is->read(srcGroupId); - __is->read(dstGroupId); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroupPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroup(__inS); - try - { - UpdateContactGroup_async(__cb, userId, contactId, srcGroupId, dstGroupId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateContactStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string contactId; - ::Ice::Int status; - __is->read(userId); - __is->read(contactId); - __is->read(status); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactStatusPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactStatus(__inS); - try - { - UpdateContactStatus_async(__cb, userId, contactId, status, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateNotifyMessage(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::Ice::Int msgId; - ::Ice::Int status; - __is->read(msgId); - __is->read(status); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateNotifyMessagePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateNotifyMessage(__inS); - try - { - UpdateNotifyMessage_async(__cb, msgId, status, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateToolProfiles(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int type; - ::Ice::StringSeq toolProfilsList; - __is->read(userId); - __is->read(type); - __is->read(toolProfilsList); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfilesPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfiles(__inS); - try - { - UpdateToolProfiles_async(__cb, userId, type, toolProfilsList, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateToolProfilesEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::AliIMDBBase::SICEToolProfileSeq toolProfilsList; - __is->read(userId); - ::AliIMDBBase::__read(__is, toolProfilsList, ::AliIMDBBase::__U__SICEToolProfileSeq()); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfilesExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfilesEx(__inS); - try - { - UpdateToolProfilesEx_async(__cb, userId, toolProfilsList, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___RemoveGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int groupId; - __is->read(userId); - __is->read(groupId); - ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveGroupPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveGroup(__inS); - try - { - RemoveGroup_async(__cb, userId, groupId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___RemoveContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string contactId; - __is->read(userId); - __is->read(contactId); - ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveContactPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveContact(__inS); - try - { - RemoveContact_async(__cb, userId, contactId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___RemoveInverfiedContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string contactId; - __is->read(userId); - __is->read(contactId); - ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveInverfiedContactPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveInverfiedContact(__inS); - try - { - RemoveInverfiedContact_async(__cb, userId, contactId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___RemoveBlackList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string blackId; - __is->read(userId); - __is->read(blackId); - ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBlackListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBlackList(__inS); - try - { - RemoveBlackList_async(__cb, userId, blackId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___IsBlackedByOther(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string otheruid; - __is->read(userId); - __is->read(otheruid); - ::AliIMDBBase::AMD_IMDBProxyMgr_IsBlackedByOtherPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_IsBlackedByOther(__inS); - try - { - IsBlackedByOther_async(__cb, userId, otheruid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___RemoveBatchContacts(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::StringSeq cids; - __is->read(userId); - __is->read(cids); - ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBatchContactsPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBatchContacts(__inS); - try - { - RemoveBatchContacts_async(__cb, userId, cids, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserDStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserDStatusPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserDStatus(__inS); - try - { - GetUserDStatus_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddUserDStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string userDStatus; - __is->read(userId); - __is->read(userDStatus); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddUserDStatusPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUserDStatus(__inS); - try - { - AddUserDStatus_async(__cb, userId, userDStatus, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___RemoveUserDStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int statusId; - __is->read(userId); - __is->read(statusId); - ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveUserDStatusPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveUserDStatus(__inS); - try - { - RemoveUserDStatus_async(__cb, userId, statusId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetAllContactList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int getFlag; - __is->read(uid); - __is->read(getFlag); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllContactListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllContactList(__inS); - try - { - GetAllContactList_async(__cb, uid, getFlag, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetCntModifyList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::Ice::Int getFlag; - ::std::string uid; - ::std::string sMaxSeqId; - __is->read(getFlag); - __is->read(uid); - __is->read(sMaxSeqId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntModifyListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntModifyList(__inS); - try - { - GetCntModifyList_async(__cb, getFlag, uid, sMaxSeqId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddGenContactFull(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::AliIMDBBase::SICEGenContactFull detail; - detail.__read(__is); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddGenContactFullPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGenContactFull(__inS); - try - { - AddGenContactFull_async(__cb, detail, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetContactDetail(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string cid; - __is->read(uid); - __is->read(cid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetailPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetail(__inS); - try - { - GetContactDetail_async(__cb, uid, cid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___DelGenContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string cid; - __is->read(uid); - __is->read(cid); - ::AliIMDBBase::AMD_IMDBProxyMgr_DelGenContactPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelGenContact(__inS); - try - { - DelGenContact_async(__cb, uid, cid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string contactId; - ::std::string nickName; - ::Ice::Int groupId; - ::Ice::Int status; - ::AliIMDBBase::SUserWebBasicProfile cntInfo; - __is->read(userId); - __is->read(contactId); - __is->read(nickName); - __is->read(groupId); - __is->read(status); - cntInfo.__read(__is); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddContactPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddContact(__inS); - try - { - AddContact_async(__cb, userId, contactId, nickName, groupId, status, cntInfo, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckUpgradeGenCnt(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string cid; - ::std::string contactId; - __is->read(uid); - __is->read(cid); - __is->read(contactId); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUpgradeGenCntPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUpgradeGenCnt(__inS); - try - { - CheckUpgradeGenCnt_async(__cb, uid, cid, contactId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___ModifyGenCntID(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string cid; - ::std::string contactId; - __is->read(uid); - __is->read(cid); - __is->read(contactId); - ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyGenCntIDPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyGenCntID(__inS); - try - { - ModifyGenCntID_async(__cb, uid, cid, contactId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpgradeGenContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string cid; - ::std::string contactId; - __is->read(uid); - __is->read(cid); - __is->read(contactId); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpgradeGenContactPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpgradeGenContact(__inS); - try - { - UpgradeGenContact_async(__cb, uid, cid, contactId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUpdatedUserInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string contactId; - __is->read(uid); - __is->read(contactId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUpdatedUserInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUpdatedUserInfo(__inS); - try - { - GetUpdatedUserInfo_async(__cb, uid, contactId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___ModifyContactDetail(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::AliIMDBBase::SICEGenContactFull detail; - detail.__read(__is); - ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyContactDetailPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyContactDetail(__inS); - try - { - ModifyContactDetail_async(__cb, detail, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateContactGroupByCid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string cid; - ::Ice::Int srcGroupId; - ::Ice::Int dstGroupId; - __is->read(userId); - __is->read(cid); - __is->read(srcGroupId); - __is->read(dstGroupId); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroupByCidPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroupByCid(__inS); - try - { - UpdateContactGroupByCid_async(__cb, userId, cid, srcGroupId, dstGroupId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateContactNickNameByCid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string cid; - ::std::string nickName; - __is->read(userId); - __is->read(cid); - __is->read(nickName); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickNameByCidPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickNameByCid(__inS); - try - { - UpdateContactNickNameByCid_async(__cb, userId, cid, nickName, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetCRMContactDetail(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string cntid; - __is->read(userId); - __is->read(cntid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetCRMContactDetailPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCRMContactDetail(__inS); - try - { - GetCRMContactDetail_async(__cb, userId, cntid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetHardCodeIds(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uuid; - __is->read(uuid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetHardCodeIdsPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetHardCodeIds(__inS); - try - { - GetHardCodeIds_async(__cb, uuid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateHardCodeIds(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uuid; - ::std::string id; - __is->read(uuid); - __is->read(id); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateHardCodeIdsPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateHardCodeIds(__inS); - try - { - UpdateHardCodeIds_async(__cb, uuid, id, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetCntOtherModifyList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string sMaxSeqId; - __is->read(userId); - __is->read(sMaxSeqId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyList(__inS); - try - { - GetCntOtherModifyList_async(__cb, userId, sMaxSeqId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetCntOtherModifyInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyInfo(__inS); - try - { - GetCntOtherModifyInfo_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserCRInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserCRInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserCRInfo(__inS); - try - { - GetUserCRInfo_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___SetUserCRInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int crState; - __is->read(uid); - __is->read(crState); - ::AliIMDBBase::AMD_IMDBProxyMgr_SetUserCRInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_SetUserCRInfo(__inS); - try - { - SetUserCRInfo_async(__cb, uid, crState, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetSmsUserInfoByUid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserInfoByUidPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserInfoByUid(__inS); - try - { - GetSmsUserInfoByUid_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetSmsUserMsgInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserMsgInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserMsgInfo(__inS); - try - { - GetSmsUserMsgInfo_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___DelOfflineMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string date; - __is->read(uid); - __is->read(date); - ::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsgPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsg(__inS); - try - { - DelOfflineMsg_async(__cb, uid, date, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___DelOfflineMsgEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int date; - __is->read(uid); - __is->read(date); - ::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsgExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsgEx(__inS); - try - { - DelOfflineMsgEx_async(__cb, uid, date, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___DelWapOfflineMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string date; - __is->read(uid); - __is->read(date); - ::AliIMDBBase::AMD_IMDBProxyMgr_DelWapOfflineMsgPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelWapOfflineMsg(__inS); - try - { - DelWapOfflineMsg_async(__cb, uid, date, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___ModifyCntMemo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string cntid; - ::std::string memo; - __is->read(uid); - __is->read(cntid); - __is->read(memo); - ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyCntMemoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyCntMemo(__inS); - try - { - ModifyCntMemo_async(__cb, uid, cntid, memo, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetCntMemo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string cntid; - __is->read(uid); - __is->read(cntid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntMemoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntMemo(__inS); - try - { - GetCntMemo_async(__cb, uid, cntid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribe(__inS); - try - { - GetUserTribe_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserTribeConfig(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribeConfigPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribeConfig(__inS); - try - { - GetUserTribeConfig_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserTribeConfig(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int addVerify; - __is->read(userId); - __is->read(addVerify); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserTribeConfigPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserTribeConfig(__inS); - try - { - UpdateUserTribeConfig_async(__cb, userId, addVerify, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetTribeOffMngMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::Ice::Int tribeId; - ::std::string memberId; - __is->read(tribeId); - __is->read(memberId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetTribeOffMngMsgPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetTribeOffMngMsg(__inS); - try - { - GetTribeOffMngMsg_async(__cb, tribeId, memberId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___DelTribeOffMngMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::Ice::Int tribeId; - ::std::string memberId; - __is->read(tribeId); - __is->read(memberId); - ::AliIMDBBase::AMD_IMDBProxyMgr_DelTribeOffMngMsgPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelTribeOffMngMsg(__inS); - try - { - DelTribeOffMngMsg_async(__cb, tribeId, memberId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___ModifyPersonalShow(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string newshow; - __is->read(uid); - __is->read(newshow); - ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyPersonalShowPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyPersonalShow(__inS); - try - { - ModifyPersonalShow_async(__cb, uid, newshow, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetPersonalShow(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetPersonalShowPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetPersonalShow(__inS); - try - { - GetPersonalShow_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetAllOnlineSmsUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllOnlineSmsUserPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllOnlineSmsUser(__inS); - try - { - GetAllOnlineSmsUser_async(__cb, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserKeyWordDegree(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWordDegreePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWordDegree(__inS); - try - { - GetUserKeyWordDegree_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserValue(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserValuePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserValue(__inS); - try - { - GetUserValue_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserMd5Password(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string password; - __is->read(userId); - __is->read(password); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserMd5PasswordPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserMd5Password(__inS); - try - { - UpdateUserMd5Password_async(__cb, userId, password, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___InsertYahooUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::AliIMDBBase::SUdbUserInfo userInfo; - ::Ice::Int activeDegree; - ::AliIMDBBase::SICEGenContactFullSeq contactList; - userInfo.__read(__is); - __is->read(activeDegree); - ::AliIMDBBase::__read(__is, contactList, ::AliIMDBBase::__U__SICEGenContactFullSeq()); - ::AliIMDBBase::AMD_IMDBProxyMgr_InsertYahooUserPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_InsertYahooUser(__inS); - try - { - InsertYahooUser_async(__cb, userInfo, activeDegree, contactList, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetContactDetailByUid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string cid; - __is->read(uid); - __is->read(cid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetailByUidPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetailByUid(__inS); - try - { - GetContactDetailByUid_async(__cb, uid, cid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetChildTeamList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string parentId; - __is->read(parentId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList(__inS); - try - { - GetChildTeamList_async(__cb, parentId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetChildTeamList2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string parentId; - __is->read(parentId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList2Ptr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList2(__inS); - try - { - GetChildTeamList2_async(__cb, parentId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetChildUserInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string childId; - __is->read(childId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo(__inS); - try - { - GetChildUserInfo_async(__cb, childId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetChildUserInfo2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string childId; - __is->read(childId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo2Ptr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo2(__inS); - try - { - GetChildUserInfo2_async(__cb, childId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetShareContactList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetShareContactListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetShareContactList(__inS); - try - { - GetShareContactList_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetContactShareInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string contactId; - ::Ice::Int type; - __is->read(uid); - __is->read(contactId); - __is->read(type); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactShareInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactShareInfo(__inS); - try - { - GetContactShareInfo_async(__cb, uid, contactId, type, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___SetContactShareInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string contactId; - ::Ice::Int type; - ::Ice::Int value; - __is->read(uid); - __is->read(contactId); - __is->read(type); - __is->read(value); - ::AliIMDBBase::AMD_IMDBProxyMgr_SetContactShareInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_SetContactShareInfo(__inS); - try - { - SetContactShareInfo_async(__cb, uid, contactId, type, value, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetMultiAccountContactList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiAccountContactListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiAccountContactList(__inS); - try - { - GetMultiAccountContactList_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetMultiServiceList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiServiceListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiServiceList(__inS); - try - { - GetMultiServiceList_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetMultiBindToUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiBindToUserPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiBindToUser(__inS); - try - { - GetMultiBindToUser_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetWebBinds(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetWebBindsPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebBinds(__inS); - try - { - GetWebBinds_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddWebBind(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::AliIMDBBase::SICEKvPair bind; - __is->read(uid); - bind.__read(__is); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddWebBindPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddWebBind(__inS); - try - { - AddWebBind_async(__cb, uid, bind, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___ChangeWebBind(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::AliIMDBBase::SICEKvPair newbind; - __is->read(uid); - newbind.__read(__is); - ::AliIMDBBase::AMD_IMDBProxyMgr_ChangeWebBindPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ChangeWebBind(__inS); - try - { - ChangeWebBind_async(__cb, uid, newbind, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___DelWebBind(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string binduid; - __is->read(uid); - __is->read(binduid); - ::AliIMDBBase::AMD_IMDBProxyMgr_DelWebBindPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelWebBind(__inS); - try - { - DelWebBind_async(__cb, uid, binduid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getUserSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getUserSessionPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getUserSession(__inS); - try - { - getUserSession_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___checkUserSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string sessionNo; - __is->read(uid); - __is->read(sessionNo); - ::AliIMDBBase::AMD_IMDBProxyMgr_checkUserSessionPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkUserSession(__inS); - try - { - checkUserSession_async(__cb, uid, sessionNo, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___removeSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_removeSessionPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_removeSession(__inS); - try - { - removeSession_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateSignature(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string signature; - __is->read(uid); - __is->read(signature); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSignaturePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSignature(__inS); - try - { - UpdateSignature_async(__cb, uid, signature, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___updateContactClientInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string cid; - ::std::string data; - __is->read(uid); - __is->read(cid); - __is->read(data); - ::AliIMDBBase::AMD_IMDBProxyMgr_updateContactClientInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateContactClientInfo(__inS); - try - { - updateContactClientInfo_async(__cb, uid, cid, data, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getUserProfilePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getUserProfile(__inS); - try - { - getUserProfile_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getPeerVerifyFlag(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string cid; - __is->read(uid); - __is->read(cid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlagPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlag(__inS); - try - { - getPeerVerifyFlag_async(__cb, uid, cid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getPeerVerifyFlagQuestion(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string cid; - __is->read(uid); - __is->read(cid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlagQuestionPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlagQuestion(__inS); - try - { - getPeerVerifyFlagQuestion_async(__cb, uid, cid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getNickName(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getNickNamePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getNickName(__inS); - try - { - getNickName_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getFTServiceInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string senduid; - ::std::string touid; - __is->read(senduid); - __is->read(touid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getFTServiceInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getFTServiceInfo(__inS); - try - { - getFTServiceInfo_async(__cb, senduid, touid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getTietuServiceInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string senduid; - __is->read(senduid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getTietuServiceInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getTietuServiceInfo(__inS); - try - { - getTietuServiceInfo_async(__cb, senduid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getFTSAddr(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::Ice::Short type; - ::std::string senduid; - __is->read(type); - __is->read(senduid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getFTSAddrPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getFTSAddr(__inS); - try - { - getFTSAddr_async(__cb, type, senduid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___registerWanghao(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string longuid; - ::AliIMInterface::KVMAP attrs; - __is->read(longuid); - ::AliIMInterface::__read(__is, attrs, ::AliIMInterface::__U__KVMAP()); - ::AliIMDBBase::AMD_IMDBProxyMgr_registerWanghaoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_registerWanghao(__inS); - try - { - registerWanghao_async(__cb, longuid, attrs, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___updateUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string longuid; - ::AliIMInterface::KVMAP newattrs; - __is->read(longuid); - ::AliIMInterface::__read(__is, newattrs, ::AliIMInterface::__U__KVMAP()); - ::AliIMDBBase::AMD_IMDBProxyMgr_updateUserProfilePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateUserProfile(__inS); - try - { - updateUserProfile_async(__cb, longuid, newattrs, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___loadSitePrefix(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::AliIMDBBase::AMD_IMDBProxyMgr_loadSitePrefixPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_loadSitePrefix(__inS); - try - { - loadSitePrefix_async(__cb, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___updateAepUserId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string longuid; - ::std::string aepuserid; - __is->read(longuid); - __is->read(aepuserid); - ::AliIMDBBase::AMD_IMDBProxyMgr_updateAepUserIdPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateAepUserId(__inS); - try - { - updateAepUserId_async(__cb, longuid, aepuserid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___updateVipflag(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int flag; - __is->read(uid); - __is->read(flag); - ::AliIMDBBase::AMD_IMDBProxyMgr_updateVipflagPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateVipflag(__inS); - try - { - updateVipflag_async(__cb, uid, flag, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___checkWangHaoPwd(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string longuid; - bool btokenpw; - ::std::string pw; - __is->read(longuid); - __is->read(btokenpw); - __is->read(pw); - ::AliIMDBBase::AMD_IMDBProxyMgr_checkWangHaoPwdPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkWangHaoPwd(__inS); - try - { - checkWangHaoPwd_async(__cb, longuid, btokenpw, pw, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___checkCanLogin(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int version; - ::std::string extrainfo; - __is->read(uid); - __is->read(version); - __is->read(extrainfo); - ::AliIMDBBase::AMD_IMDBProxyMgr_checkCanLoginPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkCanLogin(__inS); - try - { - checkCanLogin_async(__cb, uid, version, extrainfo, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetSIPSessionId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string appid; - ::std::string type; - __is->read(uid); - __is->read(appid); - __is->read(type); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetSIPSessionIdPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSIPSessionId(__inS); - try - { - GetSIPSessionId_async(__cb, uid, appid, type, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckGsContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string contactid; - __is->read(uid); - __is->read(contactid); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckGsContactPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckGsContact(__inS); - try - { - CheckGsContact_async(__cb, uid, contactid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateSmsAuthCode(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string phoneNo; - ::std::string code; - __is->read(uid); - __is->read(phoneNo); - __is->read(code); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSmsAuthCodePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSmsAuthCode(__inS); - try - { - UpdateSmsAuthCode_async(__cb, uid, phoneNo, code, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckSmsAuthCode(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string phoneNo; - ::std::string code; - __is->read(uid); - __is->read(phoneNo); - __is->read(code); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthCodePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthCode(__inS); - try - { - CheckSmsAuthCode_async(__cb, uid, phoneNo, code, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserValueBySmsAuth(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserValueBySmsAuthPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserValueBySmsAuth(__inS); - try - { - UpdateUserValueBySmsAuth_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckSmsAuthStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthStatusPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthStatus(__inS); - try - { - CheckSmsAuthStatus_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckUserTokenExtra(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string passwd; - __is->read(userId); - __is->read(passwd); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserTokenExtraPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserTokenExtra(__inS); - try - { - CheckUserTokenExtra_async(__cb, userId, passwd, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckUserWebPasswdExtra(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string passwd; - __is->read(userId); - __is->read(passwd); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswdExtraPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswdExtra(__inS); - try - { - CheckUserWebPasswdExtra_async(__cb, userId, passwd, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESShuntStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESShuntStatusPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESShuntStatus(__inS); - try - { - getESShuntStatus_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___setESShuntStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string shunt; - __is->read(uid); - __is->read(shunt); - ::AliIMDBBase::AMD_IMDBProxyMgr_setESShuntStatusPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESShuntStatus(__inS); - try - { - setESShuntStatus_async(__cb, uid, shunt, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getMaxESReceptNum(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int groupId; - __is->read(uid); - __is->read(groupId); - ::AliIMDBBase::AMD_IMDBProxyMgr_getMaxESReceptNumPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getMaxESReceptNum(__inS); - try - { - getMaxESReceptNum_async(__cb, uid, groupId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___setMaxESReceptNum(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int groupId; - ::AliIMDBBase::SICEReceptNumSeq eserviceList; - __is->read(uid); - __is->read(groupId); - ::AliIMDBBase::__read(__is, eserviceList, ::AliIMDBBase::__U__SICEReceptNumSeq()); - ::AliIMDBBase::AMD_IMDBProxyMgr_setMaxESReceptNumPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setMaxESReceptNum(__inS); - try - { - setMaxESReceptNum_async(__cb, uid, groupId, eserviceList, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESPriority(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int groupId; - __is->read(uid); - __is->read(groupId); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESPriorityPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESPriority(__inS); - try - { - getESPriority_async(__cb, uid, groupId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___setESPriority(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int groupId; - ::AliIMDBBase::SICEReceptPrioritySeq eserviceList; - __is->read(uid); - __is->read(groupId); - ::AliIMDBBase::__read(__is, eserviceList, ::AliIMDBBase::__U__SICEReceptPrioritySeq()); - ::AliIMDBBase::AMD_IMDBProxyMgr_setESPriorityPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESPriority(__inS); - try - { - setESPriority_async(__cb, uid, groupId, eserviceList, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESRecvOffMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int groupId; - __is->read(uid); - __is->read(groupId); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESRecvOffMsgPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESRecvOffMsg(__inS); - try - { - getESRecvOffMsg_async(__cb, uid, groupId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___setESRecvOffMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int groupId; - ::AliIMDBBase::SICERecvOffMsgSeq eserviceList; - __is->read(uid); - __is->read(groupId); - ::AliIMDBBase::__read(__is, eserviceList, ::AliIMDBBase::__U__SICERecvOffMsgSeq()); - ::AliIMDBBase::AMD_IMDBProxyMgr_setESRecvOffMsgPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESRecvOffMsg(__inS); - try - { - setESRecvOffMsg_async(__cb, uid, groupId, eserviceList, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESGroupList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupList(__inS); - try - { - getESGroupList_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___insertESGroupInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::AliIMDBBase::SICEESGroupInfo groupInfo; - __is->read(uid); - groupInfo.__read(__is); - ::AliIMDBBase::AMD_IMDBProxyMgr_insertESGroupInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_insertESGroupInfo(__inS); - try - { - insertESGroupInfo_async(__cb, uid, groupInfo, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___updateESGroupInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::AliIMDBBase::SICEESGroupInfo group; - __is->read(uid); - group.__read(__is); - ::AliIMDBBase::AMD_IMDBProxyMgr_updateESGroupInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateESGroupInfo(__inS); - try - { - updateESGroupInfo_async(__cb, uid, group, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___delESGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int groupid; - __is->read(uid); - __is->read(groupid); - ::AliIMDBBase::AMD_IMDBProxyMgr_delESGroupPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_delESGroup(__inS); - try - { - delESGroup_async(__cb, uid, groupid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESGroupInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfo(__inS); - try - { - getESGroupInfo_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESGroupInfoByID(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int groupId; - __is->read(uid); - __is->read(groupId); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfoByIDPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfoByID(__inS); - try - { - getESGroupInfoByID_async(__cb, uid, groupId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESUserFunc(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string childid; - __is->read(uid); - __is->read(childid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESUserFuncPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESUserFunc(__inS); - try - { - getESUserFunc_async(__cb, uid, childid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESUnJoinGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESUnJoinGroupPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESUnJoinGroup(__inS); - try - { - getESUnJoinGroup_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___checkESRole(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_checkESRolePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkESRole(__inS); - try - { - checkESRole_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckWebWWPasswd(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string passwd; - __is->read(userId); - __is->read(passwd); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckWebWWPasswdPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckWebWWPasswd(__inS); - try - { - CheckWebWWPasswd_async(__cb, userId, passwd, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESExpandArea(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandAreaPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandArea(__inS); - try - { - getESExpandArea_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESExpandAreaById(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int id; - __is->read(uid); - __is->read(id); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandAreaByIdPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandAreaById(__inS); - try - { - getESExpandAreaById_async(__cb, uid, id, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___addESExpandArea(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::AliIMDBBase::SICEExpandArea areaInfo; - __is->read(uid); - areaInfo.__read(__is); - ::AliIMDBBase::AMD_IMDBProxyMgr_addESExpandAreaPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_addESExpandArea(__inS); - try - { - addESExpandArea_async(__cb, uid, areaInfo, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___updateESExpandArea(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::AliIMDBBase::SICEExpandArea areaInfo; - __is->read(uid); - areaInfo.__read(__is); - ::AliIMDBBase::AMD_IMDBProxyMgr_updateESExpandAreaPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateESExpandArea(__inS); - try - { - updateESExpandArea_async(__cb, uid, areaInfo, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___delESExpandArea(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int id; - __is->read(uid); - __is->read(id); - ::AliIMDBBase::AMD_IMDBProxyMgr_delESExpandAreaPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_delESExpandArea(__inS); - try - { - delESExpandArea_async(__cb, uid, id, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___setESEval(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string evalcontent; - ::std::string welcome; - __is->read(uid); - __is->read(evalcontent); - __is->read(welcome); - ::AliIMDBBase::AMD_IMDBProxyMgr_setESEvalPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESEval(__inS); - try - { - setESEval_async(__cb, uid, evalcontent, welcome, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESEval(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEval(__inS); - try - { - getESEval_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___sendESEvalResult(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string buyerid; - __is->read(uid); - __is->read(buyerid); - ::AliIMDBBase::AMD_IMDBProxyMgr_sendESEvalResultPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_sendESEvalResult(__inS); - try - { - sendESEvalResult_async(__cb, uid, buyerid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___setESEvalResult(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string buyerid; - ::Ice::Int evalId; - ::std::string evalresult; - __is->read(uid); - __is->read(buyerid); - __is->read(evalId); - __is->read(evalresult); - ::AliIMDBBase::AMD_IMDBProxyMgr_setESEvalResultPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESEvalResult(__inS); - try - { - setESEvalResult_async(__cb, uid, buyerid, evalId, evalresult, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESEvalResult(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string buyerid; - ::Ice::Int evalId; - __is->read(uid); - __is->read(buyerid); - __is->read(evalId); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResult(__inS); - try - { - getESEvalResult_async(__cb, uid, buyerid, evalId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESEvalResultToday(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultTodayPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultToday(__inS); - try - { - getESEvalResultToday_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESEvalResultHistory(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string querytime; - __is->read(uid); - __is->read(querytime); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistoryPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistory(__inS); - try - { - getESEvalResultHistory_async(__cb, uid, querytime, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESEvalResultHistorybypage(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string childid; - ::std::string begindate; - ::std::string enddate; - ::Ice::Int pageno; - ::Ice::Int pagesize; - __is->read(uid); - __is->read(childid); - __is->read(begindate); - __is->read(enddate); - __is->read(pageno); - __is->read(pagesize); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistorybypagePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistorybypage(__inS); - try - { - getESEvalResultHistorybypage_async(__cb, uid, childid, begindate, enddate, pageno, pagesize, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getLastLoginTime(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::Ice::StringSeq loginids; - __is->read(loginids); - ::AliIMDBBase::AMD_IMDBProxyMgr_getLastLoginTimePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getLastLoginTime(__inS); - try - { - getLastLoginTime_async(__cb, loginids, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getChildShuntInfos(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getChildShuntInfosPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getChildShuntInfos(__inS); - try - { - getChildShuntInfos_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___setChildShuntInfos(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::AliIMDBBase::SChildUserInfoSeq childinfos; - __is->read(uid); - ::AliIMDBBase::__read(__is, childinfos, ::AliIMDBBase::__U__SChildUserInfoSeq()); - ::AliIMDBBase::AMD_IMDBProxyMgr_setChildShuntInfosPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setChildShuntInfos(__inS); - try - { - setChildShuntInfos_async(__cb, uid, childinfos, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getAgentChild(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getAgentChildPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getAgentChild(__inS); - try - { - getAgentChild_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___setAgentChild(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string agentId; - __is->read(uid); - __is->read(agentId); - ::AliIMDBBase::AMD_IMDBProxyMgr_setAgentChildPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setAgentChild(__inS); - try - { - setAgentChild_async(__cb, uid, agentId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getAgentList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getAgentListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getAgentList(__inS); - try - { - getAgentList_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getB2BChildTeamList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string parentId; - __is->read(parentId); - ::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildTeamListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildTeamList(__inS); - try - { - getB2BChildTeamList_async(__cb, parentId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getB2BChildInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string parentId; - ::std::string childid; - __is->read(parentId); - __is->read(childid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildInfo(__inS); - try - { - getB2BChildInfo_async(__cb, parentId, childid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getB2BChildParentId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string childId; - __is->read(childId); - ::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildParentIdPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildParentId(__inS); - try - { - getB2BChildParentId_async(__cb, childId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___addB2BChild(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string fid; - ::std::string childId; - ::std::string userflag; - __is->read(fid); - __is->read(childId); - __is->read(userflag); - ::AliIMDBBase::AMD_IMDBProxyMgr_addB2BChildPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_addB2BChild(__inS); - try - { - addB2BChild_async(__cb, fid, childId, userflag, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___updateB2BChild(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string fid; - ::std::string childId; - ::std::string userflag; - __is->read(fid); - __is->read(childId); - __is->read(userflag); - ::AliIMDBBase::AMD_IMDBProxyMgr_updateB2BChildPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateB2BChild(__inS); - try - { - updateB2BChild_async(__cb, fid, childId, userflag, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___deleteB2BChild(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string fid; - ::std::string childId; - __is->read(fid); - __is->read(childId); - ::AliIMDBBase::AMD_IMDBProxyMgr_deleteB2BChildPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_deleteB2BChild(__inS); - try - { - deleteB2BChild_async(__cb, fid, childId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -static ::std::string __AliIMDBBase__IMDBProxyMgr_all[] = -{ - "AddBlackList", - "AddContact", - "AddExpriteTimeOfflineMsg", - "AddGenContactFull", - "AddGroup", - "AddGroupEx", - "AddOfflineMsg", - "AddOfflineMsgEx", - "AddOfflineMsgNoSMS", - "AddUser", - "AddUser60", - "AddUserDStatus", - "AddUserKeyWord", - "AddWebBind", - "ChangeWebBind", - "CheckCanAddContact", - "CheckGsContact", - "CheckSmsAuthCode", - "CheckSmsAuthStatus", - "CheckTmpSession", - "CheckUpgradeGenCnt", - "CheckUserPasswd", - "CheckUserToken", - "CheckUserTokenExtra", - "CheckUserWebPasswd", - "CheckUserWebPasswdExtra", - "CheckUserWebToken", - "CheckWebWWPasswd", - "DelAnyUser", - "DelGenContact", - "DelOfflineMsg", - "DelOfflineMsgEx", - "DelTaobaoUser", - "DelTribeOffMngMsg", - "DelWapOfflineMsg", - "DelWebBind", - "GetAllContactList", - "GetAllExSysMsg", - "GetAllOnlineSmsUser", - "GetAllSysMsg", - "GetAllVersion", - "GetAtmLongid", - "GetBatchMemberInfo", - "GetBlackList", - "GetCRMContactDetail", - "GetChildTeamList", - "GetChildTeamList2", - "GetChildUserInfo", - "GetChildUserInfo2", - "GetCntMemo", - "GetCntModifyList", - "GetCntOtherModifyInfo", - "GetCntOtherModifyList", - "GetContactDetail", - "GetContactDetailByUid", - "GetContactInfo", - "GetContactList", - "GetContactShareInfo", - "GetEnetOfflineMsgNum", - "GetGroupList", - "GetGroupListEx", - "GetHardCodeIds", - "GetMultiAccountContactList", - "GetMultiBindToUser", - "GetMultiServiceList", - "GetOfflineMsg", - "GetOfflineMsgCount", - "GetOfflineMsgEx", - "GetOfflineMsgNum", - "GetPersonalShow", - "GetReverseBlackList", - "GetSIPSessionId", - "GetShareContactList", - "GetSmsUserInfoByUid", - "GetSmsUserMsgInfo", - "GetSysMsg", - "GetToolProfiles", - "GetToolProfilesEx", - "GetTribeOffMngMsg", - "GetUpdatedUserInfo", - "GetUserCRInfo", - "GetUserDStatus", - "GetUserInfo", - "GetUserInfo2", - "GetUserInfo2New", - "GetUserInfoEx", - "GetUserInfoExNew", - "GetUserInfoExNew2", - "GetUserInfoExNew3", - "GetUserInfoExNew4", - "GetUserInfoNew", - "GetUserKeyWord", - "GetUserKeyWordDegree", - "GetUserTribe", - "GetUserTribeConfig", - "GetUserValue", - "GetUserVerifyInfo", - "GetUserVerifyInfoEx", - "GetUserVerifyInfoQuestion", - "GetUserWebBasicProfile", - "GetWebBinds", - "GetWebMemberPWInfo", - "GetWebMemberPWInfoEx", - "InsertYahooUser", - "IsBlackedByOther", - "ModifyCntMemo", - "ModifyContactDetail", - "ModifyGenCntID", - "ModifyPersonalShow", - "MoveGroup", - "QueryMatchedUserIds", - "QueryUserIdsByKeyWord", - "RemoveBatchContacts", - "RemoveBlackList", - "RemoveContact", - "RemoveGroup", - "RemoveInverfiedContact", - "RemoveUserDStatus", - "SetContactShareInfo", - "SetUserCRInfo", - "UpdateContactGroup", - "UpdateContactGroupByCid", - "UpdateContactNickName", - "UpdateContactNickNameByCid", - "UpdateContactStatus", - "UpdateContactWebInfo", - "UpdateGroup", - "UpdateHardCodeIds", - "UpdateNotifyMessage", - "UpdateSignature", - "UpdateSmsAuthCode", - "UpdateToolProfiles", - "UpdateToolProfilesEx", - "UpdateUserDataInfo", - "UpdateUserDataInfo2", - "UpdateUserDataInfo3", - "UpdateUserKeyWord", - "UpdateUserLogin", - "UpdateUserLoginDataInfo", - "UpdateUserLoginDataInfoEx", - "UpdateUserLoginEx", - "UpdateUserMd5Password", - "UpdateUserSysMsgId", - "UpdateUserTribeConfig", - "UpdateUserValueBySmsAuth", - "UpdateUserVerifySet", - "UpdateUserVerifySetEx", - "UpdateUserVerifySetQuestion", - "UpgradeGenContact", - "addB2BChild", - "addESExpandArea", - "checkCanLogin", - "checkESRole", - "checkUserSession", - "checkWangHaoPwd", - "delESExpandArea", - "delESGroup", - "deleteB2BChild", - "getAgentChild", - "getAgentList", - "getB2BChildInfo", - "getB2BChildParentId", - "getB2BChildTeamList", - "getChildShuntInfos", - "getESEval", - "getESEvalResult", - "getESEvalResultHistory", - "getESEvalResultHistorybypage", - "getESEvalResultToday", - "getESExpandArea", - "getESExpandAreaById", - "getESGroupInfo", - "getESGroupInfoByID", - "getESGroupList", - "getESPriority", - "getESRecvOffMsg", - "getESShuntStatus", - "getESUnJoinGroup", - "getESUserFunc", - "getFTSAddr", - "getFTServiceInfo", - "getLastLoginTime", - "getMaxESReceptNum", - "getNickName", - "getPeerVerifyFlag", - "getPeerVerifyFlagQuestion", - "getTietuServiceInfo", - "getUserProfile", - "getUserSession", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "insertESGroupInfo", - "loadSitePrefix", - "registerWanghao", - "removeSession", - "sayhello", - "sendESEvalResult", - "setAgentChild", - "setChildShuntInfos", - "setESEval", - "setESEvalResult", - "setESPriority", - "setESRecvOffMsg", - "setESShuntStatus", - "setMaxESReceptNum", - "updateAepUserId", - "updateB2BChild", - "updateContactClientInfo", - "updateESExpandArea", - "updateESGroupInfo", - "updateUserProfile", - "updateVipflag" -}; - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIMDBBase__IMDBProxyMgr_all, __AliIMDBBase__IMDBProxyMgr_all + 214, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIMDBBase__IMDBProxyMgr_all) - { - case 0: - { - return ___AddBlackList(in, current); - } - case 1: - { - return ___AddContact(in, current); - } - case 2: - { - return ___AddExpriteTimeOfflineMsg(in, current); - } - case 3: - { - return ___AddGenContactFull(in, current); - } - case 4: - { - return ___AddGroup(in, current); - } - case 5: - { - return ___AddGroupEx(in, current); - } - case 6: - { - return ___AddOfflineMsg(in, current); - } - case 7: - { - return ___AddOfflineMsgEx(in, current); - } - case 8: - { - return ___AddOfflineMsgNoSMS(in, current); - } - case 9: - { - return ___AddUser(in, current); - } - case 10: - { - return ___AddUser60(in, current); - } - case 11: - { - return ___AddUserDStatus(in, current); - } - case 12: - { - return ___AddUserKeyWord(in, current); - } - case 13: - { - return ___AddWebBind(in, current); - } - case 14: - { - return ___ChangeWebBind(in, current); - } - case 15: - { - return ___CheckCanAddContact(in, current); - } - case 16: - { - return ___CheckGsContact(in, current); - } - case 17: - { - return ___CheckSmsAuthCode(in, current); - } - case 18: - { - return ___CheckSmsAuthStatus(in, current); - } - case 19: - { - return ___CheckTmpSession(in, current); - } - case 20: - { - return ___CheckUpgradeGenCnt(in, current); - } - case 21: - { - return ___CheckUserPasswd(in, current); - } - case 22: - { - return ___CheckUserToken(in, current); - } - case 23: - { - return ___CheckUserTokenExtra(in, current); - } - case 24: - { - return ___CheckUserWebPasswd(in, current); - } - case 25: - { - return ___CheckUserWebPasswdExtra(in, current); - } - case 26: - { - return ___CheckUserWebToken(in, current); - } - case 27: - { - return ___CheckWebWWPasswd(in, current); - } - case 28: - { - return ___DelAnyUser(in, current); - } - case 29: - { - return ___DelGenContact(in, current); - } - case 30: - { - return ___DelOfflineMsg(in, current); - } - case 31: - { - return ___DelOfflineMsgEx(in, current); - } - case 32: - { - return ___DelTaobaoUser(in, current); - } - case 33: - { - return ___DelTribeOffMngMsg(in, current); - } - case 34: - { - return ___DelWapOfflineMsg(in, current); - } - case 35: - { - return ___DelWebBind(in, current); - } - case 36: - { - return ___GetAllContactList(in, current); - } - case 37: - { - return ___GetAllExSysMsg(in, current); - } - case 38: - { - return ___GetAllOnlineSmsUser(in, current); - } - case 39: - { - return ___GetAllSysMsg(in, current); - } - case 40: - { - return ___GetAllVersion(in, current); - } - case 41: - { - return ___GetAtmLongid(in, current); - } - case 42: - { - return ___GetBatchMemberInfo(in, current); - } - case 43: - { - return ___GetBlackList(in, current); - } - case 44: - { - return ___GetCRMContactDetail(in, current); - } - case 45: - { - return ___GetChildTeamList(in, current); - } - case 46: - { - return ___GetChildTeamList2(in, current); - } - case 47: - { - return ___GetChildUserInfo(in, current); - } - case 48: - { - return ___GetChildUserInfo2(in, current); - } - case 49: - { - return ___GetCntMemo(in, current); - } - case 50: - { - return ___GetCntModifyList(in, current); - } - case 51: - { - return ___GetCntOtherModifyInfo(in, current); - } - case 52: - { - return ___GetCntOtherModifyList(in, current); - } - case 53: - { - return ___GetContactDetail(in, current); - } - case 54: - { - return ___GetContactDetailByUid(in, current); - } - case 55: - { - return ___GetContactInfo(in, current); - } - case 56: - { - return ___GetContactList(in, current); - } - case 57: - { - return ___GetContactShareInfo(in, current); - } - case 58: - { - return ___GetEnetOfflineMsgNum(in, current); - } - case 59: - { - return ___GetGroupList(in, current); - } - case 60: - { - return ___GetGroupListEx(in, current); - } - case 61: - { - return ___GetHardCodeIds(in, current); - } - case 62: - { - return ___GetMultiAccountContactList(in, current); - } - case 63: - { - return ___GetMultiBindToUser(in, current); - } - case 64: - { - return ___GetMultiServiceList(in, current); - } - case 65: - { - return ___GetOfflineMsg(in, current); - } - case 66: - { - return ___GetOfflineMsgCount(in, current); - } - case 67: - { - return ___GetOfflineMsgEx(in, current); - } - case 68: - { - return ___GetOfflineMsgNum(in, current); - } - case 69: - { - return ___GetPersonalShow(in, current); - } - case 70: - { - return ___GetReverseBlackList(in, current); - } - case 71: - { - return ___GetSIPSessionId(in, current); - } - case 72: - { - return ___GetShareContactList(in, current); - } - case 73: - { - return ___GetSmsUserInfoByUid(in, current); - } - case 74: - { - return ___GetSmsUserMsgInfo(in, current); - } - case 75: - { - return ___GetSysMsg(in, current); - } - case 76: - { - return ___GetToolProfiles(in, current); - } - case 77: - { - return ___GetToolProfilesEx(in, current); - } - case 78: - { - return ___GetTribeOffMngMsg(in, current); - } - case 79: - { - return ___GetUpdatedUserInfo(in, current); - } - case 80: - { - return ___GetUserCRInfo(in, current); - } - case 81: - { - return ___GetUserDStatus(in, current); - } - case 82: - { - return ___GetUserInfo(in, current); - } - case 83: - { - return ___GetUserInfo2(in, current); - } - case 84: - { - return ___GetUserInfo2New(in, current); - } - case 85: - { - return ___GetUserInfoEx(in, current); - } - case 86: - { - return ___GetUserInfoExNew(in, current); - } - case 87: - { - return ___GetUserInfoExNew2(in, current); - } - case 88: - { - return ___GetUserInfoExNew3(in, current); - } - case 89: - { - return ___GetUserInfoExNew4(in, current); - } - case 90: - { - return ___GetUserInfoNew(in, current); - } - case 91: - { - return ___GetUserKeyWord(in, current); - } - case 92: - { - return ___GetUserKeyWordDegree(in, current); - } - case 93: - { - return ___GetUserTribe(in, current); - } - case 94: - { - return ___GetUserTribeConfig(in, current); - } - case 95: - { - return ___GetUserValue(in, current); - } - case 96: - { - return ___GetUserVerifyInfo(in, current); - } - case 97: - { - return ___GetUserVerifyInfoEx(in, current); - } - case 98: - { - return ___GetUserVerifyInfoQuestion(in, current); - } - case 99: - { - return ___GetUserWebBasicProfile(in, current); - } - case 100: - { - return ___GetWebBinds(in, current); - } - case 101: - { - return ___GetWebMemberPWInfo(in, current); - } - case 102: - { - return ___GetWebMemberPWInfoEx(in, current); - } - case 103: - { - return ___InsertYahooUser(in, current); - } - case 104: - { - return ___IsBlackedByOther(in, current); - } - case 105: - { - return ___ModifyCntMemo(in, current); - } - case 106: - { - return ___ModifyContactDetail(in, current); - } - case 107: - { - return ___ModifyGenCntID(in, current); - } - case 108: - { - return ___ModifyPersonalShow(in, current); - } - case 109: - { - return ___MoveGroup(in, current); - } - case 110: - { - return ___QueryMatchedUserIds(in, current); - } - case 111: - { - return ___QueryUserIdsByKeyWord(in, current); - } - case 112: - { - return ___RemoveBatchContacts(in, current); - } - case 113: - { - return ___RemoveBlackList(in, current); - } - case 114: - { - return ___RemoveContact(in, current); - } - case 115: - { - return ___RemoveGroup(in, current); - } - case 116: - { - return ___RemoveInverfiedContact(in, current); - } - case 117: - { - return ___RemoveUserDStatus(in, current); - } - case 118: - { - return ___SetContactShareInfo(in, current); - } - case 119: - { - return ___SetUserCRInfo(in, current); - } - case 120: - { - return ___UpdateContactGroup(in, current); - } - case 121: - { - return ___UpdateContactGroupByCid(in, current); - } - case 122: - { - return ___UpdateContactNickName(in, current); - } - case 123: - { - return ___UpdateContactNickNameByCid(in, current); - } - case 124: - { - return ___UpdateContactStatus(in, current); - } - case 125: - { - return ___UpdateContactWebInfo(in, current); - } - case 126: - { - return ___UpdateGroup(in, current); - } - case 127: - { - return ___UpdateHardCodeIds(in, current); - } - case 128: - { - return ___UpdateNotifyMessage(in, current); - } - case 129: - { - return ___UpdateSignature(in, current); - } - case 130: - { - return ___UpdateSmsAuthCode(in, current); - } - case 131: - { - return ___UpdateToolProfiles(in, current); - } - case 132: - { - return ___UpdateToolProfilesEx(in, current); - } - case 133: - { - return ___UpdateUserDataInfo(in, current); - } - case 134: - { - return ___UpdateUserDataInfo2(in, current); - } - case 135: - { - return ___UpdateUserDataInfo3(in, current); - } - case 136: - { - return ___UpdateUserKeyWord(in, current); - } - case 137: - { - return ___UpdateUserLogin(in, current); - } - case 138: - { - return ___UpdateUserLoginDataInfo(in, current); - } - case 139: - { - return ___UpdateUserLoginDataInfoEx(in, current); - } - case 140: - { - return ___UpdateUserLoginEx(in, current); - } - case 141: - { - return ___UpdateUserMd5Password(in, current); - } - case 142: - { - return ___UpdateUserSysMsgId(in, current); - } - case 143: - { - return ___UpdateUserTribeConfig(in, current); - } - case 144: - { - return ___UpdateUserValueBySmsAuth(in, current); - } - case 145: - { - return ___UpdateUserVerifySet(in, current); - } - case 146: - { - return ___UpdateUserVerifySetEx(in, current); - } - case 147: - { - return ___UpdateUserVerifySetQuestion(in, current); - } - case 148: - { - return ___UpgradeGenContact(in, current); - } - case 149: - { - return ___addB2BChild(in, current); - } - case 150: - { - return ___addESExpandArea(in, current); - } - case 151: - { - return ___checkCanLogin(in, current); - } - case 152: - { - return ___checkESRole(in, current); - } - case 153: - { - return ___checkUserSession(in, current); - } - case 154: - { - return ___checkWangHaoPwd(in, current); - } - case 155: - { - return ___delESExpandArea(in, current); - } - case 156: - { - return ___delESGroup(in, current); - } - case 157: - { - return ___deleteB2BChild(in, current); - } - case 158: - { - return ___getAgentChild(in, current); - } - case 159: - { - return ___getAgentList(in, current); - } - case 160: - { - return ___getB2BChildInfo(in, current); - } - case 161: - { - return ___getB2BChildParentId(in, current); - } - case 162: - { - return ___getB2BChildTeamList(in, current); - } - case 163: - { - return ___getChildShuntInfos(in, current); - } - case 164: - { - return ___getESEval(in, current); - } - case 165: - { - return ___getESEvalResult(in, current); - } - case 166: - { - return ___getESEvalResultHistory(in, current); - } - case 167: - { - return ___getESEvalResultHistorybypage(in, current); - } - case 168: - { - return ___getESEvalResultToday(in, current); - } - case 169: - { - return ___getESExpandArea(in, current); - } - case 170: - { - return ___getESExpandAreaById(in, current); - } - case 171: - { - return ___getESGroupInfo(in, current); - } - case 172: - { - return ___getESGroupInfoByID(in, current); - } - case 173: - { - return ___getESGroupList(in, current); - } - case 174: - { - return ___getESPriority(in, current); - } - case 175: - { - return ___getESRecvOffMsg(in, current); - } - case 176: - { - return ___getESShuntStatus(in, current); - } - case 177: - { - return ___getESUnJoinGroup(in, current); - } - case 178: - { - return ___getESUserFunc(in, current); - } - case 179: - { - return ___getFTSAddr(in, current); - } - case 180: - { - return ___getFTServiceInfo(in, current); - } - case 181: - { - return ___getLastLoginTime(in, current); - } - case 182: - { - return ___getMaxESReceptNum(in, current); - } - case 183: - { - return ___getNickName(in, current); - } - case 184: - { - return ___getPeerVerifyFlag(in, current); - } - case 185: - { - return ___getPeerVerifyFlagQuestion(in, current); - } - case 186: - { - return ___getTietuServiceInfo(in, current); - } - case 187: - { - return ___getUserProfile(in, current); - } - case 188: - { - return ___getUserSession(in, current); - } - case 189: - { - return ___ice_id(in, current); - } - case 190: - { - return ___ice_ids(in, current); - } - case 191: - { - return ___ice_isA(in, current); - } - case 192: - { - return ___ice_ping(in, current); - } - case 193: - { - return ___insertESGroupInfo(in, current); - } - case 194: - { - return ___loadSitePrefix(in, current); - } - case 195: - { - return ___registerWanghao(in, current); - } - case 196: - { - return ___removeSession(in, current); - } - case 197: - { - return ___sayhello(in, current); - } - case 198: - { - return ___sendESEvalResult(in, current); - } - case 199: - { - return ___setAgentChild(in, current); - } - case 200: - { - return ___setChildShuntInfos(in, current); - } - case 201: - { - return ___setESEval(in, current); - } - case 202: - { - return ___setESEvalResult(in, current); - } - case 203: - { - return ___setESPriority(in, current); - } - case 204: - { - return ___setESRecvOffMsg(in, current); - } - case 205: - { - return ___setESShuntStatus(in, current); - } - case 206: - { - return ___setMaxESReceptNum(in, current); - } - case 207: - { - return ___updateAepUserId(in, current); - } - case 208: - { - return ___updateB2BChild(in, current); - } - case 209: - { - return ___updateContactClientInfo(in, current); - } - case 210: - { - return ___updateESExpandArea(in, current); - } - case 211: - { - return ___updateESGroupInfo(in, current); - } - case 212: - { - return ___updateUserProfile(in, current); - } - case 213: - { - return ___updateVipflag(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIMDBBase::IMDBProxyMgr::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIMDBBase::IMDBProxyMgr::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIMDBBase::IMDBProxyMgr::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIMDBBase::IMDBProxyMgr was not generated with stream support"; - throw ex; -} - -void -AliIMDBBase::IMDBProxyMgr::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIMDBBase::IMDBProxyMgr was not generated with stream support"; - throw ex; -} - -void -AliIMDBBase::__patch__IMDBProxyMgrPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIMDBBase::IMDBProxyMgrPtr* p = static_cast< ::AliIMDBBase::IMDBProxyMgrPtr*>(__addr); - assert(p); - *p = ::AliIMDBBase::IMDBProxyMgrPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIMDBBase::IMDBProxyMgr::ice_staticId(); - throw e; - } -} - -bool -AliIMDBBase::operator==(const ::AliIMDBBase::IMDBProxyMgr& l, const ::AliIMDBBase::IMDBProxyMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIMDBBase::operator!=(const ::AliIMDBBase::IMDBProxyMgr& l, const ::AliIMDBBase::IMDBProxyMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIMDBBase::operator<(const ::AliIMDBBase::IMDBProxyMgr& l, const ::AliIMDBBase::IMDBProxyMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIMDBBase::operator<=(const ::AliIMDBBase::IMDBProxyMgr& l, const ::AliIMDBBase::IMDBProxyMgr& r) -{ - return l < r || l == r; -} - -bool -AliIMDBBase::operator>(const ::AliIMDBBase::IMDBProxyMgr& l, const ::AliIMDBBase::IMDBProxyMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIMDBBase::operator>=(const ::AliIMDBBase::IMDBProxyMgr& l, const ::AliIMDBBase::IMDBProxyMgr& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/dbsmsservice.cpp.svn-base b/features/aliww/source/.svn/text-base/dbsmsservice.cpp.svn-base deleted file mode 100644 index f328dd7..0000000 --- a/features/aliww/source/.svn/text-base/dbsmsservice.cpp.svn-base +++ /dev/null @@ -1,5719 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbsmsservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBAddValidate_name = "DBAddValidate"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetValidateInfoWithUpdate_name = "DBGetValidateInfoWithUpdate"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBRemoveValidate_name = "DBRemoveValidate"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBUpdateValidateMobile_name = "DBUpdateValidateMobile"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsUser_name = "DBAddSmsUser"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBBindMobile_name = "DBBindMobile"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserInfoByUid_name = "DBGetSmsUserInfoByUid"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserInfoByAccount_name = "DBGetSmsUserInfoByAccount"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserInfoByMobile_name = "DBGetSmsUserInfoByMobile"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserMsgInfo_name = "DBGetSmsUserMsgInfo"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsFunctionLog_name = "DBAddSmsFunctionLog"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBSetMobileOnlineFlag_name = "DBSetMobileOnlineFlag"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBSetMobileBindFlag_name = "DBSetMobileBindFlag"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBSetMessageRevFlag_name = "DBSetMessageRevFlag"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBSetSmsRebind_name = "DBSetSmsRebind"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsMessage_name = "DBAddSmsMessage"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsMessage_name = "DBGetSmsMessage"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsMessage2_name = "DBGetSmsMessage2"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsMsgStatus_name = "DBUpdateSmsMsgStatus"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsMsgStatus2_name = "DBUpdateSmsMsgStatus2"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsMailing_name = "DBGetSmsMailing"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsMailing_name = "DBUpdateSmsMailing"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsDiscount_name = "DBGetSmsDiscount"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsNeedChargeRecord_name = "DBGetSmsNeedChargeRecord"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsChargeRecordInfo_name = "DBGetSmsChargeRecordInfo"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsChargeRecords_name = "DBGetSmsChargeRecords"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsChargeRecord_name = "DBAddSmsChargeRecord"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsChargeRecordStatus_name = "DBUpdateSmsChargeRecordStatus"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsBlacks_name = "DBGetSmsBlacks"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsBlack_name = "DBAddSmsBlack"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBCheckSmsBlack_name = "DBCheckSmsBlack"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBDelSmsBlack_name = "DBDelSmsBlack"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetRemindTime_name = "DBGetRemindTime"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBUpdateRemindTime_name = "DBUpdateRemindTime"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetAllMsgRevUser_name = "DBGetAllMsgRevUser"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsTempUsers_name = "DBGetSmsTempUsers"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsTempUser_name = "DBAddSmsTempUser"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBDelSmsTempUser_name = "DBDelSmsTempUser"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetUserBaseInfo_name = "DBGetUserBaseInfo"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserBalance_name = "DBGetSmsUserBalance"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBUpdatePresentRemindFlag_name = "DBUpdatePresentRemindFlag"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBFeedBack_name = "DBFeedBack"; - -void -IceInternal::incRef(::ALiIMDBSms::SmsDBProxyMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::ALiIMDBSms::SmsDBProxyMgr* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::ALiIMDBSms::SmsDBProxyMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::ALiIMDBSms::SmsDBProxyMgr* p) -{ - p->__decRef(); -} - -void -ALiIMDBSms::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBSms::SmsDBProxyMgrPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -ALiIMDBSms::__read(::IceInternal::BasicStream* __is, ::ALiIMDBSms::SmsDBProxyMgrPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::ALiIMDBSms::SmsDBProxyMgr; - v->__copyFrom(proxy); - } -} - -void -ALiIMDBSms::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBSms::SmsDBProxyMgrPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -ALiIMDBSms::__addObject(const SmsDBProxyMgrPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -ALiIMDBSms::__usesClasses(const SmsDBProxyMgrPtr& p) -{ - return p->__usesClasses(); -} - -void -ALiIMDBSms::__decRefUnsafe(const SmsDBProxyMgrPtr& p) -{ - p->__decRefUnsafe(); -} - -void -ALiIMDBSms::__clearHandleUnsafe(SmsDBProxyMgrPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBAddValidate(const ::std::string& userId, ::Ice::Int type, const ::std::string& mobileNo, const ::std::string& validateCode, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBAddValidate_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBAddValidate(userId, type, mobileNo, validateCode, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetValidateInfoWithUpdate(const ::std::string& userId, ::Ice::Int type, ::Ice::Int updateFlag, ::std::string& validateCode, ::std::string& mobileNo, ::Ice::Int& sendTimes, ::Ice::Int& validateTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetValidateInfoWithUpdate_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetValidateInfoWithUpdate(userId, type, updateFlag, validateCode, mobileNo, sendTimes, validateTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBRemoveValidate(const ::std::string& userId, ::Ice::Int type, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBRemoveValidate_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBRemoveValidate(userId, type, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBUpdateValidateMobile(const ::std::string& userId, ::Ice::Int type, const ::std::string& mobileNo, const ::std::string& validatecode, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBUpdateValidateMobile_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateValidateMobile(userId, type, mobileNo, validatecode, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsUser(const ::std::string& userId, const ::std::string& mobileNo, ::std::string& account, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBAddSmsUser_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBAddSmsUser(userId, mobileNo, account, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBBindMobile(const ::std::string& userId, const ::std::string& mobileNo, ::Ice::Int balance, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBBindMobile_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBBindMobile(userId, mobileNo, balance, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserInfoByUid(const ::std::string& userId, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserInfoByUid_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsUserInfoByUid(userId, smsUserInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserInfoByAccount(const ::std::string& account, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserInfoByAccount_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsUserInfoByAccount(account, smsUserInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserInfoByMobile(const ::std::string& mobileNo, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserInfoByMobile_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsUserInfoByMobile(mobileNo, smsUserInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserMsgInfo(const ::std::string& userId, ::Ice::Int& todaySmsCount, ::Ice::Int& yesterdaySmsCount, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserMsgInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsUserMsgInfo(userId, todaySmsCount, yesterdaySmsCount, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsFunctionLog(const ::std::string& userId, ::Ice::Int functionType, ::Ice::Int action, const ::std::string& mobileNo, ::Ice::Int status, ::Ice::Int fromType, const ::std::string& errorDesc, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBAddSmsFunctionLog_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBAddSmsFunctionLog(userId, functionType, action, mobileNo, status, fromType, errorDesc, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBSetMobileOnlineFlag(const ::std::string& userId, ::Ice::Int onlineFlag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBSetMobileOnlineFlag_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBSetMobileOnlineFlag(userId, onlineFlag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBSetMobileBindFlag(const ::std::string& userId, ::Ice::Int bindFlag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBSetMobileBindFlag_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBSetMobileBindFlag(userId, bindFlag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBSetMessageRevFlag(const ::std::string& userId, ::Ice::Int revFlag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBSetMessageRevFlag_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBSetMessageRevFlag(userId, revFlag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBSetSmsRebind(const ::std::string& userId, const ::std::string& mobileNo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBSetSmsRebind_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBSetSmsRebind(userId, mobileNo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsMessage(const ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, ::std::string& msgId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBAddSmsMessage_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBAddSmsMessage(smsMsgInfo, msgId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsMessage(const ::std::string& msgId, ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsMessage_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsMessage(msgId, smsMsgInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsMessage2(const ::std::string& transId, ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsMessage2_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsMessage2(transId, smsMsgInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBUpdateSmsMsgStatus(const ::std::string& msgId, ::Ice::Int status, const ::std::string& errorDesc, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsMsgStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateSmsMsgStatus(msgId, status, errorDesc, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBUpdateSmsMsgStatus2(const ::std::string& transId, ::Ice::Int status, const ::std::string& errorDesc, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsMsgStatus2_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateSmsMsgStatus2(transId, status, errorDesc, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsMailing(const ::std::string& userId, ::Ice::Int& flag, ::std::string& address, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsMailing_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsMailing(userId, flag, address, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBUpdateSmsMailing(const ::std::string& userId, ::Ice::Int flag, const ::std::string& address, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsMailing_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateSmsMailing(userId, flag, address, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsDiscount(const ::std::string& userId, ::Ice::Float& discount, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsDiscount_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsDiscount(userId, discount, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsNeedChargeRecord(::Ice::Int inmins, ::Ice::Int type, ::std::string& seqid, ::std::string& account, ::std::string& passwd, ::Ice::Int& denomination, ::std::string& uid, ::Ice::Int& trytime, ::std::string& payId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsNeedChargeRecord_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsNeedChargeRecord(inmins, type, seqid, account, passwd, denomination, uid, trytime, payId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsChargeRecordInfo(const ::std::string& seqid, ::std::string& account, ::std::string& passwd, ::Ice::Int& denomination, ::std::string& uid, ::Ice::Int& status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsChargeRecordInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsChargeRecordInfo(seqid, account, passwd, denomination, uid, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsChargeRecords(const ::std::string& uid, const ::std::string& beginTime, const ::std::string& endTime, ::ALiIMDBSms::SChargeInfoSeq& chargeRecordList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsChargeRecords_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsChargeRecords(uid, beginTime, endTime, chargeRecordList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsChargeRecord(const ::std::string& userId, ::Ice::Int type, const ::std::string& account, const ::std::string& password, ::Ice::Int denomination, ::Ice::Int money, const ::std::string& payId, ::std::string& chargeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBAddSmsChargeRecord_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBAddSmsChargeRecord(userId, type, account, password, denomination, money, payId, chargeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBUpdateSmsChargeRecordStatus(const ::std::string& seqId, ::Ice::Int status, const ::std::string& desc, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsChargeRecordStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateSmsChargeRecordStatus(seqId, status, desc, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsBlacks(const ::std::string& mobileNo, ::Ice::StringSeq& blackNoList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsBlacks_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsBlacks(mobileNo, blackNoList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsBlack(const ::std::string& mobileNo, const ::std::string& blackNo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBAddSmsBlack_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBAddSmsBlack(mobileNo, blackNo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBCheckSmsBlack(const ::std::string& fromMobile, const ::std::string& toMobile, ::Ice::Int& blackFlag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBCheckSmsBlack_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBCheckSmsBlack(fromMobile, toMobile, blackFlag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBDelSmsBlack(const ::std::string& mobileNo, const ::std::string& blackNo, const ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBDelSmsBlack_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBDelSmsBlack(mobileNo, blackNo, userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetRemindTime(const ::std::string& mobileNo, ::std::string& remindTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetRemindTime_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetRemindTime(mobileNo, remindTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBUpdateRemindTime(const ::std::string& mobileNo, const ::std::string& remindTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBUpdateRemindTime_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateRemindTime(mobileNo, remindTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetAllMsgRevUser(::ALiIMDBSms::SSmsRevUserSeq& smsRevUserList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetAllMsgRevUser_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetAllMsgRevUser(smsRevUserList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsTempUsers(::ALiIMDBSms::SSmsTempUserSeq& smsTempUserList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsTempUsers_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsTempUsers(smsTempUserList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsTempUser(const ::ALiIMDBSms::SSmsTempUser& smsTempUser, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBAddSmsTempUser_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBAddSmsTempUser(smsTempUser, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBDelSmsTempUser(const ::std::string& account, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBDelSmsTempUser_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBDelSmsTempUser(account, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetUserBaseInfo(const ::std::string& userId, ::ALiIMDBSms::SUserBaseInfo& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetUserBaseInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetUserBaseInfo(userId, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserBalance(const ::std::string& userId, ::ALiIMDBSms::SSmsUserBalance& balanceInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserBalance_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsUserBalance(userId, balanceInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBUpdatePresentRemindFlag(const ::std::string& userId, ::Ice::Int flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBUpdatePresentRemindFlag_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBUpdatePresentRemindFlag(userId, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBFeedBack(const ::std::string& beginTime, const ::std::string& endTime, ::Ice::Int& feeNum, ::Ice::Int& presentNum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBFeedBack_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBFeedBack(beginTime, endTime, feeNum, presentNum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::ALiIMDBSms::SmsDBProxyMgr::ice_staticId() -{ - return ::ALiIMDBSms::SmsDBProxyMgr::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::ALiIMDBSms::SmsDBProxyMgr::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::ALiIMDBSms::SmsDBProxyMgr); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::ALiIMDBSms::SmsDBProxyMgr::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::ALiIMDBSms::SmsDBProxyMgr); -} - -bool -IceProxy::ALiIMDBSms::operator==(const ::IceProxy::ALiIMDBSms::SmsDBProxyMgr& l, const ::IceProxy::ALiIMDBSms::SmsDBProxyMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::ALiIMDBSms::operator!=(const ::IceProxy::ALiIMDBSms::SmsDBProxyMgr& l, const ::IceProxy::ALiIMDBSms::SmsDBProxyMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::ALiIMDBSms::operator<(const ::IceProxy::ALiIMDBSms::SmsDBProxyMgr& l, const ::IceProxy::ALiIMDBSms::SmsDBProxyMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::ALiIMDBSms::operator<=(const ::IceProxy::ALiIMDBSms::SmsDBProxyMgr& l, const ::IceProxy::ALiIMDBSms::SmsDBProxyMgr& r) -{ - return l < r || l == r; -} - -bool -IceProxy::ALiIMDBSms::operator>(const ::IceProxy::ALiIMDBSms::SmsDBProxyMgr& l, const ::IceProxy::ALiIMDBSms::SmsDBProxyMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::ALiIMDBSms::operator>=(const ::IceProxy::ALiIMDBSms::SmsDBProxyMgr& l, const ::IceProxy::ALiIMDBSms::SmsDBProxyMgr& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBAddValidate(const ::std::string& userId, ::Ice::Int type, const ::std::string& mobileNo, const ::std::string& validateCode, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBAddValidate_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(type); - __os->write(mobileNo); - __os->write(validateCode); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetValidateInfoWithUpdate(const ::std::string& userId, ::Ice::Int type, ::Ice::Int updateFlag, ::std::string& validateCode, ::std::string& mobileNo, ::Ice::Int& sendTimes, ::Ice::Int& validateTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetValidateInfoWithUpdate_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(type); - __os->write(updateFlag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(validateCode); - __is->read(mobileNo); - __is->read(sendTimes); - __is->read(validateTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBRemoveValidate(const ::std::string& userId, ::Ice::Int type, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBRemoveValidate_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(type); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBUpdateValidateMobile(const ::std::string& userId, ::Ice::Int type, const ::std::string& mobileNo, const ::std::string& validatecode, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBUpdateValidateMobile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(type); - __os->write(mobileNo); - __os->write(validatecode); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsUser(const ::std::string& userId, const ::std::string& mobileNo, ::std::string& account, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(mobileNo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(account); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBBindMobile(const ::std::string& userId, const ::std::string& mobileNo, ::Ice::Int balance, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBBindMobile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(mobileNo); - __os->write(balance); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserInfoByUid(const ::std::string& userId, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserInfoByUid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - smsUserInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserInfoByAccount(const ::std::string& account, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserInfoByAccount_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(account); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - smsUserInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserInfoByMobile(const ::std::string& mobileNo, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserInfoByMobile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(mobileNo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - smsUserInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserMsgInfo(const ::std::string& userId, ::Ice::Int& todaySmsCount, ::Ice::Int& yesterdaySmsCount, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserMsgInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(todaySmsCount); - __is->read(yesterdaySmsCount); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsFunctionLog(const ::std::string& userId, ::Ice::Int functionType, ::Ice::Int action, const ::std::string& mobileNo, ::Ice::Int status, ::Ice::Int fromType, const ::std::string& errorDesc, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsFunctionLog_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(functionType); - __os->write(action); - __os->write(mobileNo); - __os->write(status); - __os->write(fromType); - __os->write(errorDesc); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBSetMobileOnlineFlag(const ::std::string& userId, ::Ice::Int onlineFlag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBSetMobileOnlineFlag_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(onlineFlag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBSetMobileBindFlag(const ::std::string& userId, ::Ice::Int bindFlag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBSetMobileBindFlag_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(bindFlag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBSetMessageRevFlag(const ::std::string& userId, ::Ice::Int revFlag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBSetMessageRevFlag_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(revFlag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBSetSmsRebind(const ::std::string& userId, const ::std::string& mobileNo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBSetSmsRebind_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(mobileNo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsMessage(const ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, ::std::string& msgId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsMessage_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - smsMsgInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(msgId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsMessage(const ::std::string& msgId, ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsMessage_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(msgId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - smsMsgInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsMessage2(const ::std::string& transId, ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsMessage2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(transId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - smsMsgInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBUpdateSmsMsgStatus(const ::std::string& msgId, ::Ice::Int status, const ::std::string& errorDesc, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsMsgStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(msgId); - __os->write(status); - __os->write(errorDesc); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBUpdateSmsMsgStatus2(const ::std::string& transId, ::Ice::Int status, const ::std::string& errorDesc, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsMsgStatus2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(transId); - __os->write(status); - __os->write(errorDesc); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsMailing(const ::std::string& userId, ::Ice::Int& flag, ::std::string& address, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsMailing_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(flag); - __is->read(address); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBUpdateSmsMailing(const ::std::string& userId, ::Ice::Int flag, const ::std::string& address, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsMailing_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(flag); - __os->write(address); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsDiscount(const ::std::string& userId, ::Ice::Float& discount, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsDiscount_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(discount); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsNeedChargeRecord(::Ice::Int inmins, ::Ice::Int type, ::std::string& seqid, ::std::string& account, ::std::string& passwd, ::Ice::Int& denomination, ::std::string& uid, ::Ice::Int& trytime, ::std::string& payId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsNeedChargeRecord_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(inmins); - __os->write(type); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(seqid); - __is->read(account); - __is->read(passwd); - __is->read(denomination); - __is->read(uid); - __is->read(trytime); - __is->read(payId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsChargeRecordInfo(const ::std::string& seqid, ::std::string& account, ::std::string& passwd, ::Ice::Int& denomination, ::std::string& uid, ::Ice::Int& status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsChargeRecordInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(seqid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(account); - __is->read(passwd); - __is->read(denomination); - __is->read(uid); - __is->read(status); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsChargeRecords(const ::std::string& uid, const ::std::string& beginTime, const ::std::string& endTime, ::ALiIMDBSms::SChargeInfoSeq& chargeRecordList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsChargeRecords_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(beginTime); - __os->write(endTime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBSms::__read(__is, chargeRecordList, ::ALiIMDBSms::__U__SChargeInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsChargeRecord(const ::std::string& userId, ::Ice::Int type, const ::std::string& account, const ::std::string& password, ::Ice::Int denomination, ::Ice::Int money, const ::std::string& payId, ::std::string& chargeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsChargeRecord_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(type); - __os->write(account); - __os->write(password); - __os->write(denomination); - __os->write(money); - __os->write(payId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(chargeId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBUpdateSmsChargeRecordStatus(const ::std::string& seqId, ::Ice::Int status, const ::std::string& desc, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsChargeRecordStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(seqId); - __os->write(status); - __os->write(desc); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsBlacks(const ::std::string& mobileNo, ::Ice::StringSeq& blackNoList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsBlacks_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(mobileNo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(blackNoList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsBlack(const ::std::string& mobileNo, const ::std::string& blackNo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsBlack_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(mobileNo); - __os->write(blackNo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBCheckSmsBlack(const ::std::string& fromMobile, const ::std::string& toMobile, ::Ice::Int& blackFlag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBCheckSmsBlack_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fromMobile); - __os->write(toMobile); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(blackFlag); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBDelSmsBlack(const ::std::string& mobileNo, const ::std::string& blackNo, const ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBDelSmsBlack_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(mobileNo); - __os->write(blackNo); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetRemindTime(const ::std::string& mobileNo, ::std::string& remindTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetRemindTime_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(mobileNo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(remindTime); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBUpdateRemindTime(const ::std::string& mobileNo, const ::std::string& remindTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBUpdateRemindTime_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(mobileNo); - __os->write(remindTime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetAllMsgRevUser(::ALiIMDBSms::SSmsRevUserSeq& smsRevUserList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetAllMsgRevUser_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(smsRevUserList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsTempUsers(::ALiIMDBSms::SSmsTempUserSeq& smsTempUserList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsTempUsers_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBSms::__read(__is, smsTempUserList, ::ALiIMDBSms::__U__SSmsTempUserSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsTempUser(const ::ALiIMDBSms::SSmsTempUser& smsTempUser, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsTempUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - smsTempUser.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBDelSmsTempUser(const ::std::string& account, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBDelSmsTempUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(account); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetUserBaseInfo(const ::std::string& userId, ::ALiIMDBSms::SUserBaseInfo& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetUserBaseInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserBalance(const ::std::string& userId, ::ALiIMDBSms::SSmsUserBalance& balanceInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserBalance_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - balanceInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBUpdatePresentRemindFlag(const ::std::string& userId, ::Ice::Int flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBUpdatePresentRemindFlag_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(flag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBFeedBack(const ::std::string& beginTime, const ::std::string& endTime, ::Ice::Int& feeNum, ::Ice::Int& presentNum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBFeedBack_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(beginTime); - __os->write(endTime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(feeNum); - __is->read(presentNum); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBAddValidate(const ::std::string& userId, ::Ice::Int type, const ::std::string& mobileNo, const ::std::string& validateCode, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBAddValidate_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddValidate(userId, type, mobileNo, validateCode, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetValidateInfoWithUpdate(const ::std::string& userId, ::Ice::Int type, ::Ice::Int updateFlag, ::std::string& validateCode, ::std::string& mobileNo, ::Ice::Int& sendTimes, ::Ice::Int& validateTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetValidateInfoWithUpdate_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetValidateInfoWithUpdate(userId, type, updateFlag, validateCode, mobileNo, sendTimes, validateTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBRemoveValidate(const ::std::string& userId, ::Ice::Int type, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBRemoveValidate_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBRemoveValidate(userId, type, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBUpdateValidateMobile(const ::std::string& userId, ::Ice::Int type, const ::std::string& mobileNo, const ::std::string& validatecode, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBUpdateValidateMobile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateValidateMobile(userId, type, mobileNo, validatecode, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsUser(const ::std::string& userId, const ::std::string& mobileNo, ::std::string& account, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddSmsUser(userId, mobileNo, account, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBBindMobile(const ::std::string& userId, const ::std::string& mobileNo, ::Ice::Int balance, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBBindMobile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBBindMobile(userId, mobileNo, balance, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserInfoByUid(const ::std::string& userId, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserInfoByUid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsUserInfoByUid(userId, smsUserInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserInfoByAccount(const ::std::string& account, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserInfoByAccount_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsUserInfoByAccount(account, smsUserInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserInfoByMobile(const ::std::string& mobileNo, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserInfoByMobile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsUserInfoByMobile(mobileNo, smsUserInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserMsgInfo(const ::std::string& userId, ::Ice::Int& todaySmsCount, ::Ice::Int& yesterdaySmsCount, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserMsgInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsUserMsgInfo(userId, todaySmsCount, yesterdaySmsCount, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsFunctionLog(const ::std::string& userId, ::Ice::Int functionType, ::Ice::Int action, const ::std::string& mobileNo, ::Ice::Int status, ::Ice::Int fromType, const ::std::string& errorDesc, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsFunctionLog_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddSmsFunctionLog(userId, functionType, action, mobileNo, status, fromType, errorDesc, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBSetMobileOnlineFlag(const ::std::string& userId, ::Ice::Int onlineFlag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBSetMobileOnlineFlag_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBSetMobileOnlineFlag(userId, onlineFlag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBSetMobileBindFlag(const ::std::string& userId, ::Ice::Int bindFlag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBSetMobileBindFlag_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBSetMobileBindFlag(userId, bindFlag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBSetMessageRevFlag(const ::std::string& userId, ::Ice::Int revFlag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBSetMessageRevFlag_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBSetMessageRevFlag(userId, revFlag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBSetSmsRebind(const ::std::string& userId, const ::std::string& mobileNo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBSetSmsRebind_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBSetSmsRebind(userId, mobileNo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsMessage(const ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, ::std::string& msgId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsMessage_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddSmsMessage(smsMsgInfo, msgId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsMessage(const ::std::string& msgId, ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsMessage_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsMessage(msgId, smsMsgInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsMessage2(const ::std::string& transId, ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsMessage2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsMessage2(transId, smsMsgInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBUpdateSmsMsgStatus(const ::std::string& msgId, ::Ice::Int status, const ::std::string& errorDesc, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsMsgStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateSmsMsgStatus(msgId, status, errorDesc, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBUpdateSmsMsgStatus2(const ::std::string& transId, ::Ice::Int status, const ::std::string& errorDesc, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsMsgStatus2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateSmsMsgStatus2(transId, status, errorDesc, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsMailing(const ::std::string& userId, ::Ice::Int& flag, ::std::string& address, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsMailing_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsMailing(userId, flag, address, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBUpdateSmsMailing(const ::std::string& userId, ::Ice::Int flag, const ::std::string& address, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsMailing_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateSmsMailing(userId, flag, address, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsDiscount(const ::std::string& userId, ::Ice::Float& discount, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsDiscount_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsDiscount(userId, discount, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsNeedChargeRecord(::Ice::Int inmins, ::Ice::Int type, ::std::string& seqid, ::std::string& account, ::std::string& passwd, ::Ice::Int& denomination, ::std::string& uid, ::Ice::Int& trytime, ::std::string& payId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsNeedChargeRecord_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsNeedChargeRecord(inmins, type, seqid, account, passwd, denomination, uid, trytime, payId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsChargeRecordInfo(const ::std::string& seqid, ::std::string& account, ::std::string& passwd, ::Ice::Int& denomination, ::std::string& uid, ::Ice::Int& status, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsChargeRecordInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsChargeRecordInfo(seqid, account, passwd, denomination, uid, status, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsChargeRecords(const ::std::string& uid, const ::std::string& beginTime, const ::std::string& endTime, ::ALiIMDBSms::SChargeInfoSeq& chargeRecordList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsChargeRecords_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsChargeRecords(uid, beginTime, endTime, chargeRecordList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsChargeRecord(const ::std::string& userId, ::Ice::Int type, const ::std::string& account, const ::std::string& password, ::Ice::Int denomination, ::Ice::Int money, const ::std::string& payId, ::std::string& chargeId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsChargeRecord_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddSmsChargeRecord(userId, type, account, password, denomination, money, payId, chargeId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBUpdateSmsChargeRecordStatus(const ::std::string& seqId, ::Ice::Int status, const ::std::string& desc, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsChargeRecordStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateSmsChargeRecordStatus(seqId, status, desc, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsBlacks(const ::std::string& mobileNo, ::Ice::StringSeq& blackNoList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsBlacks_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsBlacks(mobileNo, blackNoList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsBlack(const ::std::string& mobileNo, const ::std::string& blackNo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsBlack_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddSmsBlack(mobileNo, blackNo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBCheckSmsBlack(const ::std::string& fromMobile, const ::std::string& toMobile, ::Ice::Int& blackFlag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBCheckSmsBlack_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBCheckSmsBlack(fromMobile, toMobile, blackFlag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBDelSmsBlack(const ::std::string& mobileNo, const ::std::string& blackNo, const ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBDelSmsBlack_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBDelSmsBlack(mobileNo, blackNo, userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetRemindTime(const ::std::string& mobileNo, ::std::string& remindTime, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetRemindTime_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetRemindTime(mobileNo, remindTime, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBUpdateRemindTime(const ::std::string& mobileNo, const ::std::string& remindTime, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBUpdateRemindTime_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateRemindTime(mobileNo, remindTime, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetAllMsgRevUser(::ALiIMDBSms::SSmsRevUserSeq& smsRevUserList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetAllMsgRevUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetAllMsgRevUser(smsRevUserList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsTempUsers(::ALiIMDBSms::SSmsTempUserSeq& smsTempUserList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsTempUsers_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsTempUsers(smsTempUserList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsTempUser(const ::ALiIMDBSms::SSmsTempUser& smsTempUser, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsTempUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddSmsTempUser(smsTempUser, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBDelSmsTempUser(const ::std::string& account, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBDelSmsTempUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBDelSmsTempUser(account, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetUserBaseInfo(const ::std::string& userId, ::ALiIMDBSms::SUserBaseInfo& userInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetUserBaseInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetUserBaseInfo(userId, userInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserBalance(const ::std::string& userId, ::ALiIMDBSms::SSmsUserBalance& balanceInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserBalance_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsUserBalance(userId, balanceInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBUpdatePresentRemindFlag(const ::std::string& userId, ::Ice::Int flag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBUpdatePresentRemindFlag_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdatePresentRemindFlag(userId, flag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBFeedBack(const ::std::string& beginTime, const ::std::string& endTime, ::Ice::Int& feeNum, ::Ice::Int& presentNum, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBFeedBack_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBFeedBack(beginTime, endTime, feeNum, presentNum, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -ALiIMDBSms::SmsDBProxyMgr::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr_ids[2] = -{ - "::ALiIMDBSms::SmsDBProxyMgr", - "::Ice::Object" -}; - -bool -ALiIMDBSms::SmsDBProxyMgr::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__ALiIMDBSms__SmsDBProxyMgr_ids, __ALiIMDBSms__SmsDBProxyMgr_ids + 2, _s); -} - -::std::vector< ::std::string> -ALiIMDBSms::SmsDBProxyMgr::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__ALiIMDBSms__SmsDBProxyMgr_ids[0], &__ALiIMDBSms__SmsDBProxyMgr_ids[2]); -} - -const ::std::string& -ALiIMDBSms::SmsDBProxyMgr::ice_id(const ::Ice::Current&) const -{ - return __ALiIMDBSms__SmsDBProxyMgr_ids[0]; -} - -const ::std::string& -ALiIMDBSms::SmsDBProxyMgr::ice_staticId() -{ - return __ALiIMDBSms__SmsDBProxyMgr_ids[0]; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBAddValidate(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int type; - ::std::string mobileNo; - ::std::string validateCode; - __is->read(userId); - __is->read(type); - __is->read(mobileNo); - __is->read(validateCode); - ::Ice::Int __ret = DBAddValidate(userId, type, mobileNo, validateCode, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetValidateInfoWithUpdate(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int type; - ::Ice::Int updateFlag; - __is->read(userId); - __is->read(type); - __is->read(updateFlag); - ::std::string validateCode; - ::std::string mobileNo; - ::Ice::Int sendTimes; - ::Ice::Int validateTimes; - ::Ice::Int __ret = DBGetValidateInfoWithUpdate(userId, type, updateFlag, validateCode, mobileNo, sendTimes, validateTimes, __current); - __os->write(validateCode); - __os->write(mobileNo); - __os->write(sendTimes); - __os->write(validateTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBRemoveValidate(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int type; - __is->read(userId); - __is->read(type); - ::Ice::Int __ret = DBRemoveValidate(userId, type, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBUpdateValidateMobile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int type; - ::std::string mobileNo; - ::std::string validatecode; - __is->read(userId); - __is->read(type); - __is->read(mobileNo); - __is->read(validatecode); - ::Ice::Int __ret = DBUpdateValidateMobile(userId, type, mobileNo, validatecode, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBAddSmsUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string mobileNo; - __is->read(userId); - __is->read(mobileNo); - ::std::string account; - ::Ice::Int __ret = DBAddSmsUser(userId, mobileNo, account, __current); - __os->write(account); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBBindMobile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string mobileNo; - ::Ice::Int balance; - __is->read(userId); - __is->read(mobileNo); - __is->read(balance); - ::Ice::Int __ret = DBBindMobile(userId, mobileNo, balance, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsUserInfoByUid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::ALiIMDBSms::SSmsUserInfo smsUserInfo; - ::Ice::Int __ret = DBGetSmsUserInfoByUid(userId, smsUserInfo, __current); - smsUserInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsUserInfoByAccount(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string account; - __is->read(account); - ::ALiIMDBSms::SSmsUserInfo smsUserInfo; - ::Ice::Int __ret = DBGetSmsUserInfoByAccount(account, smsUserInfo, __current); - smsUserInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsUserInfoByMobile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string mobileNo; - __is->read(mobileNo); - ::ALiIMDBSms::SSmsUserInfo smsUserInfo; - ::Ice::Int __ret = DBGetSmsUserInfoByMobile(mobileNo, smsUserInfo, __current); - smsUserInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsUserMsgInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int todaySmsCount; - ::Ice::Int yesterdaySmsCount; - ::Ice::Int __ret = DBGetSmsUserMsgInfo(userId, todaySmsCount, yesterdaySmsCount, __current); - __os->write(todaySmsCount); - __os->write(yesterdaySmsCount); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBAddSmsFunctionLog(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int functionType; - ::Ice::Int action; - ::std::string mobileNo; - ::Ice::Int status; - ::Ice::Int fromType; - ::std::string errorDesc; - __is->read(userId); - __is->read(functionType); - __is->read(action); - __is->read(mobileNo); - __is->read(status); - __is->read(fromType); - __is->read(errorDesc); - ::Ice::Int __ret = DBAddSmsFunctionLog(userId, functionType, action, mobileNo, status, fromType, errorDesc, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBSetMobileOnlineFlag(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int onlineFlag; - __is->read(userId); - __is->read(onlineFlag); - ::Ice::Int __ret = DBSetMobileOnlineFlag(userId, onlineFlag, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBSetMobileBindFlag(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int bindFlag; - __is->read(userId); - __is->read(bindFlag); - ::Ice::Int __ret = DBSetMobileBindFlag(userId, bindFlag, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBSetMessageRevFlag(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int revFlag; - __is->read(userId); - __is->read(revFlag); - ::Ice::Int __ret = DBSetMessageRevFlag(userId, revFlag, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBSetSmsRebind(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string mobileNo; - __is->read(userId); - __is->read(mobileNo); - ::Ice::Int __ret = DBSetSmsRebind(userId, mobileNo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBAddSmsMessage(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBSms::SSmsMsgInfo smsMsgInfo; - smsMsgInfo.__read(__is); - ::std::string msgId; - ::Ice::Int __ret = DBAddSmsMessage(smsMsgInfo, msgId, __current); - __os->write(msgId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsMessage(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string msgId; - __is->read(msgId); - ::ALiIMDBSms::SSmsMsgInfo smsMsgInfo; - ::Ice::Int __ret = DBGetSmsMessage(msgId, smsMsgInfo, __current); - smsMsgInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsMessage2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string transId; - __is->read(transId); - ::ALiIMDBSms::SSmsMsgInfo smsMsgInfo; - ::Ice::Int __ret = DBGetSmsMessage2(transId, smsMsgInfo, __current); - smsMsgInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBUpdateSmsMsgStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string msgId; - ::Ice::Int status; - ::std::string errorDesc; - __is->read(msgId); - __is->read(status); - __is->read(errorDesc); - ::Ice::Int __ret = DBUpdateSmsMsgStatus(msgId, status, errorDesc, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBUpdateSmsMsgStatus2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string transId; - ::Ice::Int status; - ::std::string errorDesc; - __is->read(transId); - __is->read(status); - __is->read(errorDesc); - ::Ice::Int __ret = DBUpdateSmsMsgStatus2(transId, status, errorDesc, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsMailing(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int flag; - ::std::string address; - ::Ice::Int __ret = DBGetSmsMailing(userId, flag, address, __current); - __os->write(flag); - __os->write(address); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBUpdateSmsMailing(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int flag; - ::std::string address; - __is->read(userId); - __is->read(flag); - __is->read(address); - ::Ice::Int __ret = DBUpdateSmsMailing(userId, flag, address, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsDiscount(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Float discount; - ::Ice::Int __ret = DBGetSmsDiscount(userId, discount, __current); - __os->write(discount); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsNeedChargeRecord(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int inmins; - ::Ice::Int type; - __is->read(inmins); - __is->read(type); - ::std::string seqid; - ::std::string account; - ::std::string passwd; - ::Ice::Int denomination; - ::std::string uid; - ::Ice::Int trytime; - ::std::string payId; - ::Ice::Int __ret = DBGetSmsNeedChargeRecord(inmins, type, seqid, account, passwd, denomination, uid, trytime, payId, __current); - __os->write(seqid); - __os->write(account); - __os->write(passwd); - __os->write(denomination); - __os->write(uid); - __os->write(trytime); - __os->write(payId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsChargeRecordInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string seqid; - __is->read(seqid); - ::std::string account; - ::std::string passwd; - ::Ice::Int denomination; - ::std::string uid; - ::Ice::Int status; - ::Ice::Int __ret = DBGetSmsChargeRecordInfo(seqid, account, passwd, denomination, uid, status, __current); - __os->write(account); - __os->write(passwd); - __os->write(denomination); - __os->write(uid); - __os->write(status); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsChargeRecords(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string beginTime; - ::std::string endTime; - __is->read(uid); - __is->read(beginTime); - __is->read(endTime); - ::ALiIMDBSms::SChargeInfoSeq chargeRecordList; - ::Ice::Int __ret = DBGetSmsChargeRecords(uid, beginTime, endTime, chargeRecordList, __current); - if(chargeRecordList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBSms::__write(__os, &chargeRecordList[0], &chargeRecordList[0] + chargeRecordList.size(), ::ALiIMDBSms::__U__SChargeInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBAddSmsChargeRecord(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int type; - ::std::string account; - ::std::string password; - ::Ice::Int denomination; - ::Ice::Int money; - ::std::string payId; - __is->read(userId); - __is->read(type); - __is->read(account); - __is->read(password); - __is->read(denomination); - __is->read(money); - __is->read(payId); - ::std::string chargeId; - ::Ice::Int __ret = DBAddSmsChargeRecord(userId, type, account, password, denomination, money, payId, chargeId, __current); - __os->write(chargeId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBUpdateSmsChargeRecordStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string seqId; - ::Ice::Int status; - ::std::string desc; - __is->read(seqId); - __is->read(status); - __is->read(desc); - ::Ice::Int __ret = DBUpdateSmsChargeRecordStatus(seqId, status, desc, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsBlacks(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string mobileNo; - __is->read(mobileNo); - ::Ice::StringSeq blackNoList; - ::Ice::Int __ret = DBGetSmsBlacks(mobileNo, blackNoList, __current); - if(blackNoList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&blackNoList[0], &blackNoList[0] + blackNoList.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBAddSmsBlack(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string mobileNo; - ::std::string blackNo; - __is->read(mobileNo); - __is->read(blackNo); - ::Ice::Int __ret = DBAddSmsBlack(mobileNo, blackNo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBCheckSmsBlack(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string fromMobile; - ::std::string toMobile; - __is->read(fromMobile); - __is->read(toMobile); - ::Ice::Int blackFlag; - ::Ice::Int __ret = DBCheckSmsBlack(fromMobile, toMobile, blackFlag, __current); - __os->write(blackFlag); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBDelSmsBlack(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string mobileNo; - ::std::string blackNo; - ::std::string userId; - __is->read(mobileNo); - __is->read(blackNo); - __is->read(userId); - ::Ice::Int __ret = DBDelSmsBlack(mobileNo, blackNo, userId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetRemindTime(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string mobileNo; - __is->read(mobileNo); - ::std::string remindTime; - ::Ice::Int __ret = DBGetRemindTime(mobileNo, remindTime, __current); - __os->write(remindTime); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBUpdateRemindTime(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string mobileNo; - ::std::string remindTime; - __is->read(mobileNo); - __is->read(remindTime); - ::Ice::Int __ret = DBUpdateRemindTime(mobileNo, remindTime, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetAllMsgRevUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBSms::SSmsRevUserSeq smsRevUserList; - ::Ice::Int __ret = DBGetAllMsgRevUser(smsRevUserList, __current); - if(smsRevUserList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&smsRevUserList[0], &smsRevUserList[0] + smsRevUserList.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsTempUsers(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBSms::SSmsTempUserSeq smsTempUserList; - ::Ice::Int __ret = DBGetSmsTempUsers(smsTempUserList, __current); - if(smsTempUserList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBSms::__write(__os, &smsTempUserList[0], &smsTempUserList[0] + smsTempUserList.size(), ::ALiIMDBSms::__U__SSmsTempUserSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBAddSmsTempUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBSms::SSmsTempUser smsTempUser; - smsTempUser.__read(__is); - ::Ice::Int __ret = DBAddSmsTempUser(smsTempUser, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBDelSmsTempUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string account; - __is->read(account); - ::Ice::Int __ret = DBDelSmsTempUser(account, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetUserBaseInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::ALiIMDBSms::SUserBaseInfo userInfo; - ::Ice::Int __ret = DBGetUserBaseInfo(userId, userInfo, __current); - userInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsUserBalance(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::ALiIMDBSms::SSmsUserBalance balanceInfo; - ::Ice::Int __ret = DBGetSmsUserBalance(userId, balanceInfo, __current); - balanceInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBUpdatePresentRemindFlag(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int flag; - __is->read(userId); - __is->read(flag); - ::Ice::Int __ret = DBUpdatePresentRemindFlag(userId, flag, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBFeedBack(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string beginTime; - ::std::string endTime; - __is->read(beginTime); - __is->read(endTime); - ::Ice::Int feeNum; - ::Ice::Int presentNum; - ::Ice::Int __ret = DBFeedBack(beginTime, endTime, feeNum, presentNum, __current); - __os->write(feeNum); - __os->write(presentNum); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __ALiIMDBSms__SmsDBProxyMgr_all[] = -{ - "DBAddSmsBlack", - "DBAddSmsChargeRecord", - "DBAddSmsFunctionLog", - "DBAddSmsMessage", - "DBAddSmsTempUser", - "DBAddSmsUser", - "DBAddValidate", - "DBBindMobile", - "DBCheckSmsBlack", - "DBDelSmsBlack", - "DBDelSmsTempUser", - "DBFeedBack", - "DBGetAllMsgRevUser", - "DBGetRemindTime", - "DBGetSmsBlacks", - "DBGetSmsChargeRecordInfo", - "DBGetSmsChargeRecords", - "DBGetSmsDiscount", - "DBGetSmsMailing", - "DBGetSmsMessage", - "DBGetSmsMessage2", - "DBGetSmsNeedChargeRecord", - "DBGetSmsTempUsers", - "DBGetSmsUserBalance", - "DBGetSmsUserInfoByAccount", - "DBGetSmsUserInfoByMobile", - "DBGetSmsUserInfoByUid", - "DBGetSmsUserMsgInfo", - "DBGetUserBaseInfo", - "DBGetValidateInfoWithUpdate", - "DBRemoveValidate", - "DBSetMessageRevFlag", - "DBSetMobileBindFlag", - "DBSetMobileOnlineFlag", - "DBSetSmsRebind", - "DBUpdatePresentRemindFlag", - "DBUpdateRemindTime", - "DBUpdateSmsChargeRecordStatus", - "DBUpdateSmsMailing", - "DBUpdateSmsMsgStatus", - "DBUpdateSmsMsgStatus2", - "DBUpdateValidateMobile", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__ALiIMDBSms__SmsDBProxyMgr_all, __ALiIMDBSms__SmsDBProxyMgr_all + 46, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __ALiIMDBSms__SmsDBProxyMgr_all) - { - case 0: - { - return ___DBAddSmsBlack(in, current); - } - case 1: - { - return ___DBAddSmsChargeRecord(in, current); - } - case 2: - { - return ___DBAddSmsFunctionLog(in, current); - } - case 3: - { - return ___DBAddSmsMessage(in, current); - } - case 4: - { - return ___DBAddSmsTempUser(in, current); - } - case 5: - { - return ___DBAddSmsUser(in, current); - } - case 6: - { - return ___DBAddValidate(in, current); - } - case 7: - { - return ___DBBindMobile(in, current); - } - case 8: - { - return ___DBCheckSmsBlack(in, current); - } - case 9: - { - return ___DBDelSmsBlack(in, current); - } - case 10: - { - return ___DBDelSmsTempUser(in, current); - } - case 11: - { - return ___DBFeedBack(in, current); - } - case 12: - { - return ___DBGetAllMsgRevUser(in, current); - } - case 13: - { - return ___DBGetRemindTime(in, current); - } - case 14: - { - return ___DBGetSmsBlacks(in, current); - } - case 15: - { - return ___DBGetSmsChargeRecordInfo(in, current); - } - case 16: - { - return ___DBGetSmsChargeRecords(in, current); - } - case 17: - { - return ___DBGetSmsDiscount(in, current); - } - case 18: - { - return ___DBGetSmsMailing(in, current); - } - case 19: - { - return ___DBGetSmsMessage(in, current); - } - case 20: - { - return ___DBGetSmsMessage2(in, current); - } - case 21: - { - return ___DBGetSmsNeedChargeRecord(in, current); - } - case 22: - { - return ___DBGetSmsTempUsers(in, current); - } - case 23: - { - return ___DBGetSmsUserBalance(in, current); - } - case 24: - { - return ___DBGetSmsUserInfoByAccount(in, current); - } - case 25: - { - return ___DBGetSmsUserInfoByMobile(in, current); - } - case 26: - { - return ___DBGetSmsUserInfoByUid(in, current); - } - case 27: - { - return ___DBGetSmsUserMsgInfo(in, current); - } - case 28: - { - return ___DBGetUserBaseInfo(in, current); - } - case 29: - { - return ___DBGetValidateInfoWithUpdate(in, current); - } - case 30: - { - return ___DBRemoveValidate(in, current); - } - case 31: - { - return ___DBSetMessageRevFlag(in, current); - } - case 32: - { - return ___DBSetMobileBindFlag(in, current); - } - case 33: - { - return ___DBSetMobileOnlineFlag(in, current); - } - case 34: - { - return ___DBSetSmsRebind(in, current); - } - case 35: - { - return ___DBUpdatePresentRemindFlag(in, current); - } - case 36: - { - return ___DBUpdateRemindTime(in, current); - } - case 37: - { - return ___DBUpdateSmsChargeRecordStatus(in, current); - } - case 38: - { - return ___DBUpdateSmsMailing(in, current); - } - case 39: - { - return ___DBUpdateSmsMsgStatus(in, current); - } - case 40: - { - return ___DBUpdateSmsMsgStatus2(in, current); - } - case 41: - { - return ___DBUpdateValidateMobile(in, current); - } - case 42: - { - return ___ice_id(in, current); - } - case 43: - { - return ___ice_ids(in, current); - } - case 44: - { - return ___ice_isA(in, current); - } - case 45: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -ALiIMDBSms::SmsDBProxyMgr::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -ALiIMDBSms::SmsDBProxyMgr::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -ALiIMDBSms::SmsDBProxyMgr::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type ALiIMDBSms::SmsDBProxyMgr was not generated with stream support"; - throw ex; -} - -void -ALiIMDBSms::SmsDBProxyMgr::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type ALiIMDBSms::SmsDBProxyMgr was not generated with stream support"; - throw ex; -} - -void -ALiIMDBSms::__patch__SmsDBProxyMgrPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::ALiIMDBSms::SmsDBProxyMgrPtr* p = static_cast< ::ALiIMDBSms::SmsDBProxyMgrPtr*>(__addr); - assert(p); - *p = ::ALiIMDBSms::SmsDBProxyMgrPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::ALiIMDBSms::SmsDBProxyMgr::ice_staticId(); - throw e; - } -} - -bool -ALiIMDBSms::operator==(const ::ALiIMDBSms::SmsDBProxyMgr& l, const ::ALiIMDBSms::SmsDBProxyMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -ALiIMDBSms::operator!=(const ::ALiIMDBSms::SmsDBProxyMgr& l, const ::ALiIMDBSms::SmsDBProxyMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -ALiIMDBSms::operator<(const ::ALiIMDBSms::SmsDBProxyMgr& l, const ::ALiIMDBSms::SmsDBProxyMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -ALiIMDBSms::operator<=(const ::ALiIMDBSms::SmsDBProxyMgr& l, const ::ALiIMDBSms::SmsDBProxyMgr& r) -{ - return l < r || l == r; -} - -bool -ALiIMDBSms::operator>(const ::ALiIMDBSms::SmsDBProxyMgr& l, const ::ALiIMDBSms::SmsDBProxyMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -ALiIMDBSms::operator>=(const ::ALiIMDBSms::SmsDBProxyMgr& l, const ::ALiIMDBSms::SmsDBProxyMgr& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/dbsmsstructs.cpp.svn-base b/features/aliww/source/.svn/text-base/dbsmsstructs.cpp.svn-base deleted file mode 100644 index 3018d36..0000000 --- a/features/aliww/source/.svn/text-base/dbsmsstructs.cpp.svn-base +++ /dev/null @@ -1,982 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbsmsstructs.ice' - -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -bool -ALiIMDBSms::SSmsUserInfo::operator==(const SSmsUserInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBSms::SSmsUserInfo::operator!=(const SSmsUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(bindFlag != __rhs.bindFlag) - { - return true; - } - if(mobileOnlineFlag != __rhs.mobileOnlineFlag) - { - return true; - } - if(revFlag != __rhs.revFlag) - { - return true; - } - if(account != __rhs.account) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(mobileNo != __rhs.mobileNo) - { - return true; - } - if(balance != __rhs.balance) - { - return true; - } - return false; -} - -bool -ALiIMDBSms::SSmsUserInfo::operator<(const SSmsUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(bindFlag < __rhs.bindFlag) - { - return true; - } - else if(__rhs.bindFlag < bindFlag) - { - return false; - } - if(mobileOnlineFlag < __rhs.mobileOnlineFlag) - { - return true; - } - else if(__rhs.mobileOnlineFlag < mobileOnlineFlag) - { - return false; - } - if(revFlag < __rhs.revFlag) - { - return true; - } - else if(__rhs.revFlag < revFlag) - { - return false; - } - if(account < __rhs.account) - { - return true; - } - else if(__rhs.account < account) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(mobileNo < __rhs.mobileNo) - { - return true; - } - else if(__rhs.mobileNo < mobileNo) - { - return false; - } - if(balance < __rhs.balance) - { - return true; - } - else if(__rhs.balance < balance) - { - return false; - } - return false; -} - -void -ALiIMDBSms::SSmsUserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(bindFlag); - __os->write(mobileOnlineFlag); - __os->write(revFlag); - __os->write(account); - __os->write(password); - __os->write(mobileNo); - __os->write(balance); -} - -void -ALiIMDBSms::SSmsUserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(bindFlag); - __is->read(mobileOnlineFlag); - __is->read(revFlag); - __is->read(account); - __is->read(password); - __is->read(mobileNo); - __is->read(balance); -} - -bool -ALiIMDBSms::SSmsMsgInfo::operator==(const SSmsMsgInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBSms::SSmsMsgInfo::operator!=(const SSmsMsgInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(msgId != __rhs.msgId) - { - return true; - } - if(inoutType != __rhs.inoutType) - { - return true; - } - if(infoType != __rhs.infoType) - { - return true; - } - if(payType != __rhs.payType) - { - return true; - } - if(fromId != __rhs.fromId) - { - return true; - } - if(fromMobile != __rhs.fromMobile) - { - return true; - } - if(toId != __rhs.toId) - { - return true; - } - if(toMobile != __rhs.toMobile) - { - return true; - } - if(content != __rhs.content) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(errorDesc != __rhs.errorDesc) - { - return true; - } - if(transId != __rhs.transId) - { - return true; - } - if(sendTime != __rhs.sendTime) - { - return true; - } - return false; -} - -bool -ALiIMDBSms::SSmsMsgInfo::operator<(const SSmsMsgInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(msgId < __rhs.msgId) - { - return true; - } - else if(__rhs.msgId < msgId) - { - return false; - } - if(inoutType < __rhs.inoutType) - { - return true; - } - else if(__rhs.inoutType < inoutType) - { - return false; - } - if(infoType < __rhs.infoType) - { - return true; - } - else if(__rhs.infoType < infoType) - { - return false; - } - if(payType < __rhs.payType) - { - return true; - } - else if(__rhs.payType < payType) - { - return false; - } - if(fromId < __rhs.fromId) - { - return true; - } - else if(__rhs.fromId < fromId) - { - return false; - } - if(fromMobile < __rhs.fromMobile) - { - return true; - } - else if(__rhs.fromMobile < fromMobile) - { - return false; - } - if(toId < __rhs.toId) - { - return true; - } - else if(__rhs.toId < toId) - { - return false; - } - if(toMobile < __rhs.toMobile) - { - return true; - } - else if(__rhs.toMobile < toMobile) - { - return false; - } - if(content < __rhs.content) - { - return true; - } - else if(__rhs.content < content) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(errorDesc < __rhs.errorDesc) - { - return true; - } - else if(__rhs.errorDesc < errorDesc) - { - return false; - } - if(transId < __rhs.transId) - { - return true; - } - else if(__rhs.transId < transId) - { - return false; - } - if(sendTime < __rhs.sendTime) - { - return true; - } - else if(__rhs.sendTime < sendTime) - { - return false; - } - return false; -} - -void -ALiIMDBSms::SSmsMsgInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(msgId); - __os->write(inoutType); - __os->write(infoType); - __os->write(payType); - __os->write(fromId); - __os->write(fromMobile); - __os->write(toId); - __os->write(toMobile); - __os->write(content); - __os->write(status); - __os->write(errorDesc); - __os->write(transId); - __os->write(sendTime); -} - -void -ALiIMDBSms::SSmsMsgInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(msgId); - __is->read(inoutType); - __is->read(infoType); - __is->read(payType); - __is->read(fromId); - __is->read(fromMobile); - __is->read(toId); - __is->read(toMobile); - __is->read(content); - __is->read(status); - __is->read(errorDesc); - __is->read(transId); - __is->read(sendTime); -} - -bool -ALiIMDBSms::SChargeInfo::operator==(const SChargeInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBSms::SChargeInfo::operator!=(const SChargeInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(chargeSeqId != __rhs.chargeSeqId) - { - return true; - } - if(paySeqId != __rhs.paySeqId) - { - return true; - } - if(chargeBeginTime != __rhs.chargeBeginTime) - { - return true; - } - if(denomination != __rhs.denomination) - { - return true; - } - if(payRealMoney != __rhs.payRealMoney) - { - return true; - } - if(chargeStatus != __rhs.chargeStatus) - { - return true; - } - if(payStatus != __rhs.payStatus) - { - return true; - } - return false; -} - -bool -ALiIMDBSms::SChargeInfo::operator<(const SChargeInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(chargeSeqId < __rhs.chargeSeqId) - { - return true; - } - else if(__rhs.chargeSeqId < chargeSeqId) - { - return false; - } - if(paySeqId < __rhs.paySeqId) - { - return true; - } - else if(__rhs.paySeqId < paySeqId) - { - return false; - } - if(chargeBeginTime < __rhs.chargeBeginTime) - { - return true; - } - else if(__rhs.chargeBeginTime < chargeBeginTime) - { - return false; - } - if(denomination < __rhs.denomination) - { - return true; - } - else if(__rhs.denomination < denomination) - { - return false; - } - if(payRealMoney < __rhs.payRealMoney) - { - return true; - } - else if(__rhs.payRealMoney < payRealMoney) - { - return false; - } - if(chargeStatus < __rhs.chargeStatus) - { - return true; - } - else if(__rhs.chargeStatus < chargeStatus) - { - return false; - } - if(payStatus < __rhs.payStatus) - { - return true; - } - else if(__rhs.payStatus < payStatus) - { - return false; - } - return false; -} - -void -ALiIMDBSms::SChargeInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(chargeSeqId); - __os->write(paySeqId); - __os->write(chargeBeginTime); - __os->write(denomination); - __os->write(payRealMoney); - __os->write(chargeStatus); - __os->write(payStatus); -} - -void -ALiIMDBSms::SChargeInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(chargeSeqId); - __is->read(paySeqId); - __is->read(chargeBeginTime); - __is->read(denomination); - __is->read(payRealMoney); - __is->read(chargeStatus); - __is->read(payStatus); -} - -bool -ALiIMDBSms::SSmsTempUser::operator==(const SSmsTempUser& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBSms::SSmsTempUser::operator!=(const SSmsTempUser& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(account != __rhs.account) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(userId != __rhs.userId) - { - return true; - } - if(addTime != __rhs.addTime) - { - return true; - } - return false; -} - -bool -ALiIMDBSms::SSmsTempUser::operator<(const SSmsTempUser& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(account < __rhs.account) - { - return true; - } - else if(__rhs.account < account) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(addTime < __rhs.addTime) - { - return true; - } - else if(__rhs.addTime < addTime) - { - return false; - } - return false; -} - -void -ALiIMDBSms::SSmsTempUser::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(account); - __os->write(password); - __os->write(userId); - __os->write(addTime); -} - -void -ALiIMDBSms::SSmsTempUser::__read(::IceInternal::BasicStream* __is) -{ - __is->read(account); - __is->read(password); - __is->read(userId); - __is->read(addTime); -} - -bool -ALiIMDBSms::SUserBaseInfo::operator==(const SUserBaseInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBSms::SUserBaseInfo::operator!=(const SUserBaseInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(userName != __rhs.userName) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobtitle != __rhs.jobtitle) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - return false; -} - -bool -ALiIMDBSms::SUserBaseInfo::operator<(const SUserBaseInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(userName < __rhs.userName) - { - return true; - } - else if(__rhs.userName < userName) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobtitle < __rhs.jobtitle) - { - return true; - } - else if(__rhs.jobtitle < jobtitle) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - return false; -} - -void -ALiIMDBSms::SUserBaseInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(userName); - __os->write(email); - __os->write(company); - __os->write(jobtitle); - __os->write(address); -} - -void -ALiIMDBSms::SUserBaseInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(userName); - __is->read(email); - __is->read(company); - __is->read(jobtitle); - __is->read(address); -} - -bool -ALiIMDBSms::SSmsUserBalance::operator==(const SSmsUserBalance& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBSms::SSmsUserBalance::operator!=(const SSmsUserBalance& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(balance != __rhs.balance) - { - return true; - } - if(presentBalance != __rhs.presentBalance) - { - return true; - } - if(presentExpireTime != __rhs.presentExpireTime) - { - return true; - } - if(presentRemindFlag != __rhs.presentRemindFlag) - { - return true; - } - return false; -} - -bool -ALiIMDBSms::SSmsUserBalance::operator<(const SSmsUserBalance& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(balance < __rhs.balance) - { - return true; - } - else if(__rhs.balance < balance) - { - return false; - } - if(presentBalance < __rhs.presentBalance) - { - return true; - } - else if(__rhs.presentBalance < presentBalance) - { - return false; - } - if(presentExpireTime < __rhs.presentExpireTime) - { - return true; - } - else if(__rhs.presentExpireTime < presentExpireTime) - { - return false; - } - if(presentRemindFlag < __rhs.presentRemindFlag) - { - return true; - } - else if(__rhs.presentRemindFlag < presentRemindFlag) - { - return false; - } - return false; -} - -void -ALiIMDBSms::SSmsUserBalance::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(balance); - __os->write(presentBalance); - __os->write(presentExpireTime); - __os->write(presentRemindFlag); -} - -void -ALiIMDBSms::SSmsUserBalance::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(balance); - __is->read(presentBalance); - __is->read(presentExpireTime); - __is->read(presentRemindFlag); -} - -void -ALiIMDBSms::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBSms::SSmsUserInfo* begin, const ::ALiIMDBSms::SSmsUserInfo* end, ::ALiIMDBSms::__U__SSmsUserInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBSms::__read(::IceInternal::BasicStream* __is, ::ALiIMDBSms::SSmsUserInfoSeq& v, ::ALiIMDBSms::__U__SSmsUserInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 20); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -ALiIMDBSms::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBSms::SSmsMsgInfo* begin, const ::ALiIMDBSms::SSmsMsgInfo* end, ::ALiIMDBSms::__U__SSmsMsgInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBSms::__read(::IceInternal::BasicStream* __is, ::ALiIMDBSms::SSmsMsgInfoSeq& v, ::ALiIMDBSms::__U__SSmsMsgInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 25); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -ALiIMDBSms::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBSms::SChargeInfo* begin, const ::ALiIMDBSms::SChargeInfo* end, ::ALiIMDBSms::__U__SChargeInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBSms::__read(::IceInternal::BasicStream* __is, ::ALiIMDBSms::SChargeInfoSeq& v, ::ALiIMDBSms::__U__SChargeInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 19); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -ALiIMDBSms::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBSms::SSmsTempUser* begin, const ::ALiIMDBSms::SSmsTempUser* end, ::ALiIMDBSms::__U__SSmsTempUserSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBSms::__read(::IceInternal::BasicStream* __is, ::ALiIMDBSms::SSmsTempUserSeq& v, ::ALiIMDBSms::__U__SSmsTempUserSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 4); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -ALiIMDBSms::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBSms::SSmsUserBalance* begin, const ::ALiIMDBSms::SSmsUserBalance* end, ::ALiIMDBSms::__U__SSmsUserBalanceSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBSms::__read(::IceInternal::BasicStream* __is, ::ALiIMDBSms::SSmsUserBalanceSeq& v, ::ALiIMDBSms::__U__SSmsUserBalanceSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 14); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} diff --git a/features/aliww/source/.svn/text-base/dbspacedatadefine.cpp.svn-base b/features/aliww/source/.svn/text-base/dbspacedatadefine.cpp.svn-base deleted file mode 100644 index 38a3e0f..0000000 --- a/features/aliww/source/.svn/text-base/dbspacedatadefine.cpp.svn-base +++ /dev/null @@ -1,323 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbspacedatadefine.ice' - -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -bool -spaceContact::SICESpaceContactInfo::operator==(const SICESpaceContactInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -spaceContact::SICESpaceContactInfo::operator!=(const SICESpaceContactInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(contactId != __rhs.contactId) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(nickName != __rhs.nickName) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(spaceCreateTime != __rhs.spaceCreateTime) - { - return true; - } - if(cid != __rhs.cid) - { - return true; - } - if(spacecnttype != __rhs.spacecnttype) - { - return true; - } - if(modseqid != __rhs.modseqid) - { - return true; - } - return false; -} - -bool -spaceContact::SICESpaceContactInfo::operator<(const SICESpaceContactInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(contactId < __rhs.contactId) - { - return true; - } - else if(__rhs.contactId < contactId) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(nickName < __rhs.nickName) - { - return true; - } - else if(__rhs.nickName < nickName) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(spaceCreateTime < __rhs.spaceCreateTime) - { - return true; - } - else if(__rhs.spaceCreateTime < spaceCreateTime) - { - return false; - } - if(cid < __rhs.cid) - { - return true; - } - else if(__rhs.cid < cid) - { - return false; - } - if(spacecnttype < __rhs.spacecnttype) - { - return true; - } - else if(__rhs.spacecnttype < spacecnttype) - { - return false; - } - if(modseqid < __rhs.modseqid) - { - return true; - } - else if(__rhs.modseqid < modseqid) - { - return false; - } - return false; -} - -void -spaceContact::SICESpaceContactInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(contactId); - __os->write(groupId); - __os->write(nickName); - __os->write(status); - __os->write(spaceCreateTime); - __os->write(cid); - __os->write(spacecnttype); - __os->write(modseqid); -} - -void -spaceContact::SICESpaceContactInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(contactId); - __is->read(groupId); - __is->read(nickName); - __is->read(status); - __is->read(spaceCreateTime); - __is->read(cid); - __is->read(spacecnttype); - __is->read(modseqid); -} - -bool -spaceContact::SICESpaceGroupInfo::operator==(const SICESpaceGroupInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -spaceContact::SICESpaceGroupInfo::operator!=(const SICESpaceGroupInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(parentId != __rhs.parentId) - { - return true; - } - if(groupName != __rhs.groupName) - { - return true; - } - if(cntNum != __rhs.cntNum) - { - return true; - } - return false; -} - -bool -spaceContact::SICESpaceGroupInfo::operator<(const SICESpaceGroupInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(parentId < __rhs.parentId) - { - return true; - } - else if(__rhs.parentId < parentId) - { - return false; - } - if(groupName < __rhs.groupName) - { - return true; - } - else if(__rhs.groupName < groupName) - { - return false; - } - if(cntNum < __rhs.cntNum) - { - return true; - } - else if(__rhs.cntNum < cntNum) - { - return false; - } - return false; -} - -void -spaceContact::SICESpaceGroupInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(groupId); - __os->write(parentId); - __os->write(groupName); - __os->write(cntNum); -} - -void -spaceContact::SICESpaceGroupInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(groupId); - __is->read(parentId); - __is->read(groupName); - __is->read(cntNum); -} - -void -spaceContact::__write(::IceInternal::BasicStream* __os, const ::spaceContact::SICESpaceGroupInfo* begin, const ::spaceContact::SICESpaceGroupInfo* end, ::spaceContact::__U__SICESpaceGroupInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -spaceContact::__read(::IceInternal::BasicStream* __is, ::spaceContact::SICESpaceGroupInfoSeq& v, ::spaceContact::__U__SICESpaceGroupInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 21); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -spaceContact::__write(::IceInternal::BasicStream* __os, const ::spaceContact::SICESpaceContactInfo* begin, const ::spaceContact::SICESpaceContactInfo* end, ::spaceContact::__U__SICESpaceContactInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -spaceContact::__read(::IceInternal::BasicStream* __is, ::spaceContact::SICESpaceContactInfoSeq& v, ::spaceContact::__U__SICESpaceContactInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 15); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} diff --git a/features/aliww/source/.svn/text-base/dbss_v5_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/dbss_v5_pack.cpp.svn-base deleted file mode 100644 index 398762f..0000000 --- a/features/aliww/source/.svn/text-base/dbss_v5_pack.cpp.svn-base +++ /dev/null @@ -1,77 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: dbss_v5_pack.cpp -// Date: 2011-01-30 12:50:05 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "dbss_v5_pack.h" - -void CSsReqSmsRevimmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssV5Head.Size()) - m_ssV5Head.m_len = 0; - else - m_ssV5Head.m_len = strData.size() - m_ssV5Head.Size(); - if(m_ssV5Head.m_cmd == 0) m_ssV5Head.m_cmd = SS_REQ_SMS_REVIMMSG; - m_ssV5Head.PackData(strData); -} - -void CSsReqSmsRevimmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_ssV5Head.Size() + 7); - SetOutCursor( m_ssV5Head.Size() ); - (*this) << m_fromId; - (*this) << m_toId; - (*this) << m_message; - m_ssV5Head.m_cc = CalcCheckCode(strData, m_ssV5Head.Size()); - FormData(m_ssV5Head.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsReqSmsRevimmsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsReqSmsRevimmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_ssV5Head.Size()); - uLongf nHeadLen = m_ssV5Head.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_ssV5Head.Size()); - m_ssV5Head.ResetInBuff(strData); - if(checkCode != m_ssV5Head.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - (*this) >> m_fromId; - (*this) >> m_toId; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsReqSmsRevimmsg::UnpackData(string& strData) -{ - m_ssV5Head.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/.svn/text-base/dbtbsservice60.cpp.svn-base b/features/aliww/source/.svn/text-base/dbtbsservice60.cpp.svn-base deleted file mode 100644 index 4f7b352..0000000 --- a/features/aliww/source/.svn/text-base/dbtbsservice60.cpp.svn-base +++ /dev/null @@ -1,9078 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbtbsservice60.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBStartTribe_name = "DBStartTribe"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeInfo_name = "DBGetTribeInfo"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeInfo_name = "DBUpdateTribeInfo"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeMaster_name = "DBUpdateTribeMaster"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeActiveDegree_name = "DBGetTribeActiveDegree"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeActDegree_name = "DBUpdateTribeActDegree"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBDeleteTribe_name = "DBDeleteTribe"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetAddedTribeNum_name = "DBGetAddedTribeNum"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBCheckAddedTribeFull_name = "DBCheckAddedTribeFull"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMemberNum_name = "DBGetTribeMemberNum"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeMember_name = "DBAddTribeMember"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__TCAddTribeMember_name = "TCAddTribeMember"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMember_name = "DBGetTribeMember"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMemberInfo_name = "DBGetTribeMemberInfo"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMemberInfo2_name = "DBGetTribeMemberInfo2"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribe_name = "DBGetUserTribe"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribe2_name = "DBGetUserTribe2"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateMemberLevel_name = "DBUpdateMemberLevel"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateLastMsgId_name = "DBUpdateLastMsgId"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBDeleteMember_name = "DBDeleteMember"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeOfflineMsg_name = "DBAddTribeOfflineMsg"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeOfflineMsg_name = "DBGetTribeOfflineMsg"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBDelTribeOfflineMsg_name = "DBDelTribeOfflineMsg"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeOffMngMsg_name = "DBAddTribeOffMngMsg"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeOffMngMsg_name = "DBGetTribeOffMngMsg"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBDelTribeOffMngMsg_name = "DBDelTribeOffMngMsg"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribeConfig_name = "DBGetUserTribeConfig"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateUserTribeConfig_name = "DBUpdateUserTribeConfig"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeCard_name = "DBUpdateTribeCard"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeCard_name = "DBGetTribeCard"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateMemberActDegree_name = "DBUpdateMemberActDegree"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeGroup_name = "DBGetTribeGroup"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeGroup_name = "DBAddTribeGroup"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeGroup_name = "DBUpdateTribeGroup"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBDelTribeGroup_name = "DBDelTribeGroup"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateUserGroup_name = "DBUpdateUserGroup"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBAddStarMember_name = "DBAddStarMember"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBDelStarMember_name = "DBDelStarMember"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateOpenTribe_name = "DBUpdateOpenTribe"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBNotifyTribeInfo_name = "DBNotifyTribeInfo"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeInfo2_name = "DBGetTribeInfo2"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeInfo3_name = "DBGetTribeInfo3"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBCreateTribe_name = "DBCreateTribe"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeIdByWebId_name = "DBGetTribeIdByWebId"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBAddWebTribeMember_name = "DBAddWebTribeMember"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBDeleteWebMember_name = "DBDeleteWebMember"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetAllWebTribeGroup_name = "DBGetAllWebTribeGroup"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetWebTribeGroup_name = "DBGetWebTribeGroup"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetWebTribeGroupById_name = "DBGetWebTribeGroupById"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBAddWebTribeGroup_name = "DBAddWebTribeGroup"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateWebTribeGroupName_name = "DBUpdateWebTribeGroupName"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBDelWebTribeGroup_name = "DBDelWebTribeGroup"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserWebTribeGroup_name = "DBGetUserWebTribeGroup"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserWebTribe_name = "DBGetUserWebTribe"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeInfo2_name = "DBUpdateTribeInfo2"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBNotifyWebTribeInfo_name = "DBNotifyWebTribeInfo"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBSyncWebTribe_name = "DBSyncWebTribe"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetWebUserDisactiveTribe_name = "DBGetWebUserDisactiveTribe"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetWebUserActiveTribe_name = "DBGetWebUserActiveTribe"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBActiveTribeWebMember_name = "DBActiveTribeWebMember"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBDisactiveTribeWebMember_name = "DBDisactiveTribeWebMember"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBDeleteWebTribe_name = "DBDeleteWebTribe"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeMsgSetting_name = "DBUpdateTribeMsgSetting"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBTransferTribe_name = "DBTransferTribe"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBCheckAddedTribeFull2_name = "DBCheckAddedTribeFull2"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeLimit_name = "DBUpdateTribeLimit"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBIncrUserTribes_name = "DBIncrUserTribes"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribeNum_name = "DBGetUserTribeNum"; - -void -IceInternal::incRef(::ALiIMDBTribe::TribeDBProxyMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::ALiIMDBTribe::TribeDBProxyMgr* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::ALiIMDBTribe::TribeDBProxyMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::ALiIMDBTribe::TribeDBProxyMgr* p) -{ - p->__decRef(); -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::TribeDBProxyMgrPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -ALiIMDBTribe::__read(::IceInternal::BasicStream* __is, ::ALiIMDBTribe::TribeDBProxyMgrPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr; - v->__copyFrom(proxy); - } -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::TribeDBProxyMgrPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -ALiIMDBTribe::__addObject(const TribeDBProxyMgrPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -ALiIMDBTribe::__usesClasses(const TribeDBProxyMgrPtr& p) -{ - return p->__usesClasses(); -} - -void -ALiIMDBTribe::__decRefUnsafe(const TribeDBProxyMgrPtr& p) -{ - p->__decRefUnsafe(); -} - -void -ALiIMDBTribe::__clearHandleUnsafe(TribeDBProxyMgrPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBStartTribe(const ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBStartTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBStartTribe(tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeInfo(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeInfo(tribeId, tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeInfo(const ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateTribeInfo(tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeMaster(::Ice::Int tribeId, const ::std::string& masterId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeMaster_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateTribeMaster(tribeId, masterId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeActiveDegree(::Ice::Int tribeId, ::Ice::Int& onlineTimes, ::Ice::Double& onlineDegree, ::Ice::Int& discussDegree, ::Ice::Double& rewardDegree, ::Ice::Int& masterOffer, ::Ice::Double& totalDegree, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeActiveDegree_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeActiveDegree(tribeId, onlineTimes, onlineDegree, discussDegree, rewardDegree, masterOffer, totalDegree, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeActDegree(::Ice::Int tribeId, ::Ice::Double onlineDegree, ::Ice::Int discussDegree, ::Ice::Double rewardDegree, ::Ice::Double totalDegree, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeActDegree_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateTribeActDegree(tribeId, onlineDegree, discussDegree, rewardDegree, totalDegree, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBDeleteTribe(::Ice::Int tribeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBDeleteTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBDeleteTribe(tribeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetAddedTribeNum(const ::std::string& userId, ::Ice::Int& tribeNum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetAddedTribeNum_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetAddedTribeNum(userId, tribeNum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBCheckAddedTribeFull(const ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBCheckAddedTribeFull_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBCheckAddedTribeFull(userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeMemberNum(::Ice::Int tribeId, ::Ice::Int level, ::Ice::Int& memberNum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMemberNum_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeMemberNum(tribeId, level, memberNum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBAddTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, const ::std::string& operId, ::Ice::Long groupId, ::Ice::Int& blackStamp, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeMember_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBAddTribeMember(tribeId, memberId, level, operId, groupId, blackStamp, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::TCAddTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Short openFlag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__TCAddTribeMember_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->TCAddTribeMember(tribeId, memberId, level, openFlag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::ALiIMDBTribe::STribeMemberSeq& tribeMemberList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMember_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeMember(tribeId, memberId, level, tribeMemberList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeMemberInfo(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeMemberInfoSeq& tribeMemberInfoList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMemberInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeMemberInfo(tribeId, memberId, tribeMemberInfoList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeMemberInfo2(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeMemberInfoSeq2& tribeMemberInfoList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMemberInfo2_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeMemberInfo2(tribeId, memberId, tribeMemberInfoList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserTribe(const ::std::string& userId, ::ALiIMDBTribe::STribeIdSeq& tribeIdList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetUserTribe(userId, tribeIdList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserTribe2(const ::std::string& userId, ::ALiIMDBTribe::STribeIdSeq2& tribeIdList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribe2_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetUserTribe2(userId, tribeIdList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateMemberLevel(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateMemberLevel_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateMemberLevel(tribeId, memberId, level, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateLastMsgId(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int msgId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateLastMsgId_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateLastMsgId(tribeId, memberId, msgId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBDeleteMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Int& blackStamp, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBDeleteMember_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBDeleteMember(tribeId, memberId, level, blackStamp, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBAddTribeOfflineMsg(::Ice::Int tribeId, const ::std::string& fromId, ::Ice::Int type, const ::std::string& message, ::Ice::Int sendTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeOfflineMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBAddTribeOfflineMsg(tribeId, fromId, type, message, sendTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeOfflineMsg(::Ice::Int tribeId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeOfflineMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeOfflineMsg(tribeId, offlineMsgList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBDelTribeOfflineMsg(::Ice::Int tribeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBDelTribeOfflineMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBDelTribeOfflineMsg(tribeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBAddTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& toId, ::Ice::Int type, const ::std::string& message, ::Ice::Int sendTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeOffMngMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBAddTribeOffMngMsg(tribeId, toId, type, message, sendTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeOffMngMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeOffMngMsg(tribeId, memberId, offlineMsgList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBDelTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBDelTribeOffMngMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBDelTribeOffMngMsg(tribeId, memberId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserTribeConfig(const ::std::string& userId, ::Ice::Int& addVerify, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribeConfig_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetUserTribeConfig(userId, addVerify, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateUserTribeConfig(const ::std::string& userId, ::Ice::Int addVerify, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateUserTribeConfig_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateUserTribeConfig(userId, addVerify, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeCard(::Ice::Int tribeId, const ::std::string& memberId, const ::ALiIMDBTribe::STribeCard& tribeCard, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeCard_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateTribeCard(tribeId, memberId, tribeCard, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeCard(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeCard& tribeCard, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeCard_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeCard(tribeId, memberId, tribeCard, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateMemberActDegree(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Double onlineActDegree, ::Ice::Int chatActDegree, ::Ice::Double rewardActDegree, ::Ice::Double totalActDegree, ::Ice::Int lastMsgid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateMemberActDegree_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateMemberActDegree(tribeId, memberId, onlineActDegree, chatActDegree, rewardActDegree, totalActDegree, lastMsgid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeGroup(::Ice::Int tribeId, ::ALiIMDBTribe::STribeGroupSeq& tribeGroupList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeGroup(tribeId, tribeGroupList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBAddTribeGroup(::Ice::Int tribeId, const ::std::string& groupName, ::Ice::Long parentId, ::Ice::Long& groupId, ::Ice::Int& groupStamp, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBAddTribeGroup(tribeId, groupName, parentId, groupId, groupStamp, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeGroup(::Ice::Int tribeId, ::Ice::Long groupId, const ::std::string& groupName, ::Ice::Int& groupStamp, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateTribeGroup(tribeId, groupId, groupName, groupStamp, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBDelTribeGroup(::Ice::Int tribeId, ::Ice::Long groupId, ::Ice::Int& groupStamp, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBDelTribeGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBDelTribeGroup(tribeId, groupId, groupStamp, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateUserGroup(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Long groupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateUserGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateUserGroup(tribeId, memberId, groupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBAddStarMember(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBAddStarMember_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBAddStarMember(tribeId, memberId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBDelStarMember(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBDelStarMember_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBDelStarMember(tribeId, memberId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateOpenTribe(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Short openFlag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateOpenTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateOpenTribe(tribeId, memberId, openFlag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBNotifyTribeInfo(const ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBNotifyTribeInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBNotifyTribeInfo(tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeInfo2(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeInfo2_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeInfo2(tribeId, tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeInfo3(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo3& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeInfo3_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeInfo3(tribeId, tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBCreateTribe(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, ::Ice::Int& tribeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBCreateTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBCreateTribe(tribeInfo, tribeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeIdByWebId(const ::std::string& serviceId, const ::std::string& webid, const ::std::string& webtid, ::Ice::Int& tribeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeIdByWebId_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeIdByWebId(serviceId, webid, webtid, tribeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBAddWebTribeMember(const ::ALiIMDBTribe::STribeMember2& memberInfo, ::Ice::Int& blackStamp, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBAddWebTribeMember_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBAddWebTribeMember(memberInfo, blackStamp, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBDeleteWebMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Int& blackStamp, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBDeleteWebMember_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBDeleteWebMember(tribeId, memberId, level, blackStamp, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetAllWebTribeGroup(::ALiIMDBTribe::SWebTribeGroupSeq& groupList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetAllWebTribeGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetAllWebTribeGroup(groupList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetWebTribeGroup(const ::std::string& serviceId, const ::std::string& webId, ::ALiIMDBTribe::SWebTribeGroup& groupInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetWebTribeGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetWebTribeGroup(serviceId, webId, groupInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetWebTribeGroupById(::Ice::Long groupId, ::ALiIMDBTribe::SWebTribeGroup& groupInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetWebTribeGroupById_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetWebTribeGroupById(groupId, groupInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBAddWebTribeGroup(const ::ALiIMDBTribe::SWebTribeGroup& groupInfo, ::Ice::Long& groupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBAddWebTribeGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBAddWebTribeGroup(groupInfo, groupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateWebTribeGroupName(::Ice::Long groupId, const ::std::string& name, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateWebTribeGroupName_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateWebTribeGroupName(groupId, name, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBDelWebTribeGroup(::Ice::Long groupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBDelWebTribeGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBDelWebTribeGroup(groupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserWebTribeGroup(const ::std::string& userId, ::ALiIMDBTribe::SWebTribeGroupSeq& groupList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetUserWebTribeGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetUserWebTribeGroup(userId, groupList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserWebTribe(const ::std::string& userId, ::ALiIMDBTribe::SWebTribeIdSeq& tribeList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetUserWebTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetUserWebTribe(userId, tribeList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeInfo2(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeInfo2_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateTribeInfo2(tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBNotifyWebTribeInfo(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBNotifyWebTribeInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBNotifyWebTribeInfo(tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBSyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::ALiIMDBTribe::STribeMember2Seq& memberList, ::Ice::Int& tribeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBSyncWebTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBSyncWebTribe(serviceId, webId, tribeInfo, memberList, tribeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetWebUserDisactiveTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, ::Ice::IntSeq& tribeList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetWebUserDisactiveTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetWebUserDisactiveTribe(serviceId, webId, webUid, tribeList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetWebUserActiveTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& userId, ::Ice::IntSeq& tribeList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetWebUserActiveTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetWebUserActiveTribe(serviceId, webId, userId, tribeList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBActiveTribeWebMember(::Ice::Int tribeId, const ::std::string& webuid, const ::std::string& memberId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBActiveTribeWebMember_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBActiveTribeWebMember(tribeId, webuid, memberId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBDisactiveTribeWebMember(::Ice::Int tribeId, const ::std::string& webuid, const ::std::string& memberId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBDisactiveTribeWebMember_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBDisactiveTribeWebMember(tribeId, webuid, memberId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBDeleteWebTribe(::Ice::Int tribeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBDeleteWebTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBDeleteWebTribe(tribeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeMsgSetting(::Ice::Int tribeId, const ::std::string& userId, ::Ice::Short popflag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeMsgSetting_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateTribeMsgSetting(tribeId, userId, popflag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBTransferTribe(::Ice::Int tribeId, const ::std::string& userId, const ::std::string& transferId, ::std::string& vacantId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBTransferTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBTransferTribe(tribeId, userId, transferId, vacantId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBCheckAddedTribeFull2(const ::std::string& userId, bool& limit, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBCheckAddedTribeFull2_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBCheckAddedTribeFull2(userId, limit, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeLimit(::Ice::Int tribeId, ::Ice::Int limit, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeLimit_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateTribeLimit(tribeId, limit, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBIncrUserTribes(const ::std::string& userId, ::Ice::Int tribeNum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBIncrUserTribes_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBIncrUserTribes(userId, tribeNum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserTribeNum(const ::std::string& userId, ::Ice::Int& tribeNum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribeNum_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetUserTribeNum(userId, tribeNum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::ice_staticId() -{ - return ::ALiIMDBTribe::TribeDBProxyMgr::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr); -} - -bool -IceProxy::ALiIMDBTribe::operator==(const ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr& l, const ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::ALiIMDBTribe::operator!=(const ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr& l, const ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::ALiIMDBTribe::operator<(const ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr& l, const ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::ALiIMDBTribe::operator<=(const ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr& l, const ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr& r) -{ - return l < r || l == r; -} - -bool -IceProxy::ALiIMDBTribe::operator>(const ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr& l, const ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::ALiIMDBTribe::operator>=(const ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr& l, const ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBStartTribe(const ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBStartTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeInfo(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - tribeInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeInfo(const ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeMaster(::Ice::Int tribeId, const ::std::string& masterId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeMaster_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(masterId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeActiveDegree(::Ice::Int tribeId, ::Ice::Int& onlineTimes, ::Ice::Double& onlineDegree, ::Ice::Int& discussDegree, ::Ice::Double& rewardDegree, ::Ice::Int& masterOffer, ::Ice::Double& totalDegree, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeActiveDegree_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(onlineTimes); - __is->read(onlineDegree); - __is->read(discussDegree); - __is->read(rewardDegree); - __is->read(masterOffer); - __is->read(totalDegree); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeActDegree(::Ice::Int tribeId, ::Ice::Double onlineDegree, ::Ice::Int discussDegree, ::Ice::Double rewardDegree, ::Ice::Double totalDegree, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeActDegree_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(onlineDegree); - __os->write(discussDegree); - __os->write(rewardDegree); - __os->write(totalDegree); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBDeleteTribe(::Ice::Int tribeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBDeleteTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetAddedTribeNum(const ::std::string& userId, ::Ice::Int& tribeNum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetAddedTribeNum_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(tribeNum); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBCheckAddedTribeFull(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBCheckAddedTribeFull_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeMemberNum(::Ice::Int tribeId, ::Ice::Int level, ::Ice::Int& memberNum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMemberNum_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(level); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(memberNum); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBAddTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, const ::std::string& operId, ::Ice::Long groupId, ::Ice::Int& blackStamp, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeMember_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - __os->write(level); - __os->write(operId); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(blackStamp); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::TCAddTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Short openFlag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__TCAddTribeMember_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - __os->write(level); - __os->write(openFlag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::ALiIMDBTribe::STribeMemberSeq& tribeMemberList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMember_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - __os->write(level); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, tribeMemberList, ::ALiIMDBTribe::__U__STribeMemberSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeMemberInfo(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeMemberInfoSeq& tribeMemberInfoList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMemberInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, tribeMemberInfoList, ::ALiIMDBTribe::__U__STribeMemberInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeMemberInfo2(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeMemberInfoSeq2& tribeMemberInfoList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMemberInfo2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, tribeMemberInfoList, ::ALiIMDBTribe::__U__STribeMemberInfoSeq2()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserTribe(const ::std::string& userId, ::ALiIMDBTribe::STribeIdSeq& tribeIdList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, tribeIdList, ::ALiIMDBTribe::__U__STribeIdSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserTribe2(const ::std::string& userId, ::ALiIMDBTribe::STribeIdSeq2& tribeIdList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribe2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, tribeIdList, ::ALiIMDBTribe::__U__STribeIdSeq2()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateMemberLevel(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateMemberLevel_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - __os->write(level); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateLastMsgId(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int msgId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateLastMsgId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - __os->write(msgId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBDeleteMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Int& blackStamp, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBDeleteMember_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - __os->write(level); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(blackStamp); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBAddTribeOfflineMsg(::Ice::Int tribeId, const ::std::string& fromId, ::Ice::Int type, const ::std::string& message, ::Ice::Int sendTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeOfflineMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(fromId); - __os->write(type); - __os->write(message); - __os->write(sendTime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeOfflineMsg(::Ice::Int tribeId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeOfflineMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, offlineMsgList, ::ALiIMDBTribe::__U__STribeOfflineMsgSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBDelTribeOfflineMsg(::Ice::Int tribeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBDelTribeOfflineMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBAddTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& toId, ::Ice::Int type, const ::std::string& message, ::Ice::Int sendTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeOffMngMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(toId); - __os->write(type); - __os->write(message); - __os->write(sendTime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeOffMngMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, offlineMsgList, ::ALiIMDBTribe::__U__STribeOfflineMsgSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBDelTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBDelTribeOffMngMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserTribeConfig(const ::std::string& userId, ::Ice::Int& addVerify, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribeConfig_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(addVerify); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateUserTribeConfig(const ::std::string& userId, ::Ice::Int addVerify, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateUserTribeConfig_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(addVerify); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeCard(::Ice::Int tribeId, const ::std::string& memberId, const ::ALiIMDBTribe::STribeCard& tribeCard, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeCard_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - tribeCard.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeCard(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeCard& tribeCard, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeCard_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - tribeCard.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateMemberActDegree(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Double onlineActDegree, ::Ice::Int chatActDegree, ::Ice::Double rewardActDegree, ::Ice::Double totalActDegree, ::Ice::Int lastMsgid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateMemberActDegree_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - __os->write(onlineActDegree); - __os->write(chatActDegree); - __os->write(rewardActDegree); - __os->write(totalActDegree); - __os->write(lastMsgid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeGroup(::Ice::Int tribeId, ::ALiIMDBTribe::STribeGroupSeq& tribeGroupList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, tribeGroupList, ::ALiIMDBTribe::__U__STribeGroupSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBAddTribeGroup(::Ice::Int tribeId, const ::std::string& groupName, ::Ice::Long parentId, ::Ice::Long& groupId, ::Ice::Int& groupStamp, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(groupName); - __os->write(parentId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupId); - __is->read(groupStamp); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeGroup(::Ice::Int tribeId, ::Ice::Long groupId, const ::std::string& groupName, ::Ice::Int& groupStamp, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(groupId); - __os->write(groupName); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupStamp); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBDelTribeGroup(::Ice::Int tribeId, ::Ice::Long groupId, ::Ice::Int& groupStamp, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBDelTribeGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupStamp); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateUserGroup(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Long groupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateUserGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBAddStarMember(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBAddStarMember_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBDelStarMember(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBDelStarMember_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateOpenTribe(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Short openFlag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateOpenTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - __os->write(openFlag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBNotifyTribeInfo(const ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBNotifyTribeInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeInfo2(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeInfo2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - tribeInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeInfo3(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo3& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeInfo3_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - tribeInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBCreateTribe(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, ::Ice::Int& tribeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBCreateTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(tribeId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeIdByWebId(const ::std::string& serviceId, const ::std::string& webid, const ::std::string& webtid, ::Ice::Int& tribeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeIdByWebId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webid); - __os->write(webtid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(tribeId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBAddWebTribeMember(const ::ALiIMDBTribe::STribeMember2& memberInfo, ::Ice::Int& blackStamp, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBAddWebTribeMember_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - memberInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(blackStamp); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBDeleteWebMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Int& blackStamp, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBDeleteWebMember_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - __os->write(level); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(blackStamp); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetAllWebTribeGroup(::ALiIMDBTribe::SWebTribeGroupSeq& groupList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetAllWebTribeGroup_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, groupList, ::ALiIMDBTribe::__U__SWebTribeGroupSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetWebTribeGroup(const ::std::string& serviceId, const ::std::string& webId, ::ALiIMDBTribe::SWebTribeGroup& groupInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetWebTribeGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - groupInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetWebTribeGroupById(::Ice::Long groupId, ::ALiIMDBTribe::SWebTribeGroup& groupInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetWebTribeGroupById_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - groupInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBAddWebTribeGroup(const ::ALiIMDBTribe::SWebTribeGroup& groupInfo, ::Ice::Long& groupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBAddWebTribeGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - groupInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateWebTribeGroupName(::Ice::Long groupId, const ::std::string& name, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateWebTribeGroupName_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(groupId); - __os->write(name); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBDelWebTribeGroup(::Ice::Long groupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBDelWebTribeGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserWebTribeGroup(const ::std::string& userId, ::ALiIMDBTribe::SWebTribeGroupSeq& groupList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserWebTribeGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, groupList, ::ALiIMDBTribe::__U__SWebTribeGroupSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserWebTribe(const ::std::string& userId, ::ALiIMDBTribe::SWebTribeIdSeq& tribeList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserWebTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, tribeList, ::ALiIMDBTribe::__U__SWebTribeIdSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeInfo2(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeInfo2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBNotifyWebTribeInfo(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBNotifyWebTribeInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBSyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::ALiIMDBTribe::STribeMember2Seq& memberList, ::Ice::Int& tribeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBSyncWebTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - tribeInfo.__write(__os); - if(memberList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &memberList[0], &memberList[0] + memberList.size(), ::ALiIMDBTribe::__U__STribeMember2Seq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(tribeId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetWebUserDisactiveTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, ::Ice::IntSeq& tribeList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetWebUserDisactiveTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(webUid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(tribeList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetWebUserActiveTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& userId, ::Ice::IntSeq& tribeList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetWebUserActiveTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(tribeList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBActiveTribeWebMember(::Ice::Int tribeId, const ::std::string& webuid, const ::std::string& memberId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBActiveTribeWebMember_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(webuid); - __os->write(memberId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBDisactiveTribeWebMember(::Ice::Int tribeId, const ::std::string& webuid, const ::std::string& memberId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBDisactiveTribeWebMember_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(webuid); - __os->write(memberId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBDeleteWebTribe(::Ice::Int tribeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBDeleteWebTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeMsgSetting(::Ice::Int tribeId, const ::std::string& userId, ::Ice::Short popflag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeMsgSetting_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(userId); - __os->write(popflag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBTransferTribe(::Ice::Int tribeId, const ::std::string& userId, const ::std::string& transferId, ::std::string& vacantId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBTransferTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(userId); - __os->write(transferId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(vacantId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBCheckAddedTribeFull2(const ::std::string& userId, bool& limit, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBCheckAddedTribeFull2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(limit); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeLimit(::Ice::Int tribeId, ::Ice::Int limit, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeLimit_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(limit); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBIncrUserTribes(const ::std::string& userId, ::Ice::Int tribeNum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBIncrUserTribes_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(tribeNum); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserTribeNum(const ::std::string& userId, ::Ice::Int& tribeNum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribeNum_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(tribeNum); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBStartTribe(const ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBStartTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBStartTribe(tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeInfo(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeInfo(tribeId, tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeInfo(const ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateTribeInfo(tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeMaster(::Ice::Int tribeId, const ::std::string& masterId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeMaster_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateTribeMaster(tribeId, masterId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeActiveDegree(::Ice::Int tribeId, ::Ice::Int& onlineTimes, ::Ice::Double& onlineDegree, ::Ice::Int& discussDegree, ::Ice::Double& rewardDegree, ::Ice::Int& masterOffer, ::Ice::Double& totalDegree, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeActiveDegree_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeActiveDegree(tribeId, onlineTimes, onlineDegree, discussDegree, rewardDegree, masterOffer, totalDegree, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeActDegree(::Ice::Int tribeId, ::Ice::Double onlineDegree, ::Ice::Int discussDegree, ::Ice::Double rewardDegree, ::Ice::Double totalDegree, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeActDegree_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateTribeActDegree(tribeId, onlineDegree, discussDegree, rewardDegree, totalDegree, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBDeleteTribe(::Ice::Int tribeId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBDeleteTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBDeleteTribe(tribeId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetAddedTribeNum(const ::std::string& userId, ::Ice::Int& tribeNum, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetAddedTribeNum_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetAddedTribeNum(userId, tribeNum, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBCheckAddedTribeFull(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBCheckAddedTribeFull_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBCheckAddedTribeFull(userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeMemberNum(::Ice::Int tribeId, ::Ice::Int level, ::Ice::Int& memberNum, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMemberNum_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeMemberNum(tribeId, level, memberNum, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBAddTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, const ::std::string& operId, ::Ice::Long groupId, ::Ice::Int& blackStamp, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeMember_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddTribeMember(tribeId, memberId, level, operId, groupId, blackStamp, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::TCAddTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Short openFlag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__TCAddTribeMember_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->TCAddTribeMember(tribeId, memberId, level, openFlag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::ALiIMDBTribe::STribeMemberSeq& tribeMemberList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMember_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeMember(tribeId, memberId, level, tribeMemberList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeMemberInfo(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeMemberInfoSeq& tribeMemberInfoList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMemberInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeMemberInfo(tribeId, memberId, tribeMemberInfoList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeMemberInfo2(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeMemberInfoSeq2& tribeMemberInfoList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMemberInfo2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeMemberInfo2(tribeId, memberId, tribeMemberInfoList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserTribe(const ::std::string& userId, ::ALiIMDBTribe::STribeIdSeq& tribeIdList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetUserTribe(userId, tribeIdList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserTribe2(const ::std::string& userId, ::ALiIMDBTribe::STribeIdSeq2& tribeIdList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribe2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetUserTribe2(userId, tribeIdList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateMemberLevel(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateMemberLevel_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateMemberLevel(tribeId, memberId, level, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateLastMsgId(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int msgId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateLastMsgId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateLastMsgId(tribeId, memberId, msgId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBDeleteMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Int& blackStamp, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBDeleteMember_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBDeleteMember(tribeId, memberId, level, blackStamp, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBAddTribeOfflineMsg(::Ice::Int tribeId, const ::std::string& fromId, ::Ice::Int type, const ::std::string& message, ::Ice::Int sendTime, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeOfflineMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddTribeOfflineMsg(tribeId, fromId, type, message, sendTime, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeOfflineMsg(::Ice::Int tribeId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeOfflineMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeOfflineMsg(tribeId, offlineMsgList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBDelTribeOfflineMsg(::Ice::Int tribeId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBDelTribeOfflineMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBDelTribeOfflineMsg(tribeId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBAddTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& toId, ::Ice::Int type, const ::std::string& message, ::Ice::Int sendTime, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeOffMngMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddTribeOffMngMsg(tribeId, toId, type, message, sendTime, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeOffMngMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeOffMngMsg(tribeId, memberId, offlineMsgList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBDelTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBDelTribeOffMngMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBDelTribeOffMngMsg(tribeId, memberId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserTribeConfig(const ::std::string& userId, ::Ice::Int& addVerify, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribeConfig_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetUserTribeConfig(userId, addVerify, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateUserTribeConfig(const ::std::string& userId, ::Ice::Int addVerify, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateUserTribeConfig_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateUserTribeConfig(userId, addVerify, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeCard(::Ice::Int tribeId, const ::std::string& memberId, const ::ALiIMDBTribe::STribeCard& tribeCard, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeCard_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateTribeCard(tribeId, memberId, tribeCard, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeCard(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeCard& tribeCard, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeCard_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeCard(tribeId, memberId, tribeCard, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateMemberActDegree(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Double onlineActDegree, ::Ice::Int chatActDegree, ::Ice::Double rewardActDegree, ::Ice::Double totalActDegree, ::Ice::Int lastMsgid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateMemberActDegree_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateMemberActDegree(tribeId, memberId, onlineActDegree, chatActDegree, rewardActDegree, totalActDegree, lastMsgid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeGroup(::Ice::Int tribeId, ::ALiIMDBTribe::STribeGroupSeq& tribeGroupList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeGroup(tribeId, tribeGroupList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBAddTribeGroup(::Ice::Int tribeId, const ::std::string& groupName, ::Ice::Long parentId, ::Ice::Long& groupId, ::Ice::Int& groupStamp, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddTribeGroup(tribeId, groupName, parentId, groupId, groupStamp, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeGroup(::Ice::Int tribeId, ::Ice::Long groupId, const ::std::string& groupName, ::Ice::Int& groupStamp, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateTribeGroup(tribeId, groupId, groupName, groupStamp, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBDelTribeGroup(::Ice::Int tribeId, ::Ice::Long groupId, ::Ice::Int& groupStamp, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBDelTribeGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBDelTribeGroup(tribeId, groupId, groupStamp, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateUserGroup(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Long groupId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateUserGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateUserGroup(tribeId, memberId, groupId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBAddStarMember(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBAddStarMember_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddStarMember(tribeId, memberId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBDelStarMember(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBDelStarMember_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBDelStarMember(tribeId, memberId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateOpenTribe(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Short openFlag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateOpenTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateOpenTribe(tribeId, memberId, openFlag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBNotifyTribeInfo(const ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBNotifyTribeInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBNotifyTribeInfo(tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeInfo2(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeInfo2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeInfo2(tribeId, tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeInfo3(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo3& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeInfo3_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeInfo3(tribeId, tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBCreateTribe(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, ::Ice::Int& tribeId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBCreateTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBCreateTribe(tribeInfo, tribeId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeIdByWebId(const ::std::string& serviceId, const ::std::string& webid, const ::std::string& webtid, ::Ice::Int& tribeId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeIdByWebId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeIdByWebId(serviceId, webid, webtid, tribeId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBAddWebTribeMember(const ::ALiIMDBTribe::STribeMember2& memberInfo, ::Ice::Int& blackStamp, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBAddWebTribeMember_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddWebTribeMember(memberInfo, blackStamp, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBDeleteWebMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Int& blackStamp, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBDeleteWebMember_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBDeleteWebMember(tribeId, memberId, level, blackStamp, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetAllWebTribeGroup(::ALiIMDBTribe::SWebTribeGroupSeq& groupList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetAllWebTribeGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetAllWebTribeGroup(groupList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetWebTribeGroup(const ::std::string& serviceId, const ::std::string& webId, ::ALiIMDBTribe::SWebTribeGroup& groupInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetWebTribeGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetWebTribeGroup(serviceId, webId, groupInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetWebTribeGroupById(::Ice::Long groupId, ::ALiIMDBTribe::SWebTribeGroup& groupInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetWebTribeGroupById_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetWebTribeGroupById(groupId, groupInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBAddWebTribeGroup(const ::ALiIMDBTribe::SWebTribeGroup& groupInfo, ::Ice::Long& groupId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBAddWebTribeGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddWebTribeGroup(groupInfo, groupId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateWebTribeGroupName(::Ice::Long groupId, const ::std::string& name, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateWebTribeGroupName_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateWebTribeGroupName(groupId, name, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBDelWebTribeGroup(::Ice::Long groupId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBDelWebTribeGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBDelWebTribeGroup(groupId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserWebTribeGroup(const ::std::string& userId, ::ALiIMDBTribe::SWebTribeGroupSeq& groupList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserWebTribeGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetUserWebTribeGroup(userId, groupList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserWebTribe(const ::std::string& userId, ::ALiIMDBTribe::SWebTribeIdSeq& tribeList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserWebTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetUserWebTribe(userId, tribeList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeInfo2(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeInfo2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateTribeInfo2(tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBNotifyWebTribeInfo(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBNotifyWebTribeInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBNotifyWebTribeInfo(tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBSyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::ALiIMDBTribe::STribeMember2Seq& memberList, ::Ice::Int& tribeId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBSyncWebTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBSyncWebTribe(serviceId, webId, tribeInfo, memberList, tribeId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetWebUserDisactiveTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, ::Ice::IntSeq& tribeList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetWebUserDisactiveTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetWebUserDisactiveTribe(serviceId, webId, webUid, tribeList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetWebUserActiveTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& userId, ::Ice::IntSeq& tribeList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetWebUserActiveTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetWebUserActiveTribe(serviceId, webId, userId, tribeList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBActiveTribeWebMember(::Ice::Int tribeId, const ::std::string& webuid, const ::std::string& memberId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBActiveTribeWebMember_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBActiveTribeWebMember(tribeId, webuid, memberId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBDisactiveTribeWebMember(::Ice::Int tribeId, const ::std::string& webuid, const ::std::string& memberId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBDisactiveTribeWebMember_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBDisactiveTribeWebMember(tribeId, webuid, memberId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBDeleteWebTribe(::Ice::Int tribeId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBDeleteWebTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBDeleteWebTribe(tribeId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeMsgSetting(::Ice::Int tribeId, const ::std::string& userId, ::Ice::Short popflag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeMsgSetting_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateTribeMsgSetting(tribeId, userId, popflag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBTransferTribe(::Ice::Int tribeId, const ::std::string& userId, const ::std::string& transferId, ::std::string& vacantId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBTransferTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBTransferTribe(tribeId, userId, transferId, vacantId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBCheckAddedTribeFull2(const ::std::string& userId, bool& limit, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBCheckAddedTribeFull2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBCheckAddedTribeFull2(userId, limit, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeLimit(::Ice::Int tribeId, ::Ice::Int limit, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeLimit_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateTribeLimit(tribeId, limit, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBIncrUserTribes(const ::std::string& userId, ::Ice::Int tribeNum, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBIncrUserTribes_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBIncrUserTribes(userId, tribeNum, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserTribeNum(const ::std::string& userId, ::Ice::Int& tribeNum, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribeNum_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetUserTribeNum(userId, tribeNum, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -ALiIMDBTribe::TribeDBProxyMgr::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr_ids[2] = -{ - "::ALiIMDBTribe::TribeDBProxyMgr", - "::Ice::Object" -}; - -bool -ALiIMDBTribe::TribeDBProxyMgr::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__ALiIMDBTribe__TribeDBProxyMgr_ids, __ALiIMDBTribe__TribeDBProxyMgr_ids + 2, _s); -} - -::std::vector< ::std::string> -ALiIMDBTribe::TribeDBProxyMgr::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__ALiIMDBTribe__TribeDBProxyMgr_ids[0], &__ALiIMDBTribe__TribeDBProxyMgr_ids[2]); -} - -const ::std::string& -ALiIMDBTribe::TribeDBProxyMgr::ice_id(const ::Ice::Current&) const -{ - return __ALiIMDBTribe__TribeDBProxyMgr_ids[0]; -} - -const ::std::string& -ALiIMDBTribe::TribeDBProxyMgr::ice_staticId() -{ - return __ALiIMDBTribe__TribeDBProxyMgr_ids[0]; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBStartTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBTribe::STribeInfo tribeInfo; - tribeInfo.__read(__is); - ::Ice::Int __ret = DBStartTribe(tribeInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - __is->read(tribeId); - ::ALiIMDBTribe::STribeInfo tribeInfo; - ::Ice::Int __ret = DBGetTribeInfo(tribeId, tribeInfo, __current); - tribeInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateTribeInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBTribe::STribeInfo tribeInfo; - tribeInfo.__read(__is); - ::Ice::Int __ret = DBUpdateTribeInfo(tribeInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateTribeMaster(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string masterId; - __is->read(tribeId); - __is->read(masterId); - ::Ice::Int __ret = DBUpdateTribeMaster(tribeId, masterId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeActiveDegree(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - __is->read(tribeId); - ::Ice::Int onlineTimes; - ::Ice::Double onlineDegree; - ::Ice::Int discussDegree; - ::Ice::Double rewardDegree; - ::Ice::Int masterOffer; - ::Ice::Double totalDegree; - ::Ice::Int __ret = DBGetTribeActiveDegree(tribeId, onlineTimes, onlineDegree, discussDegree, rewardDegree, masterOffer, totalDegree, __current); - __os->write(onlineTimes); - __os->write(onlineDegree); - __os->write(discussDegree); - __os->write(rewardDegree); - __os->write(masterOffer); - __os->write(totalDegree); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateTribeActDegree(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::Ice::Double onlineDegree; - ::Ice::Int discussDegree; - ::Ice::Double rewardDegree; - ::Ice::Double totalDegree; - __is->read(tribeId); - __is->read(onlineDegree); - __is->read(discussDegree); - __is->read(rewardDegree); - __is->read(totalDegree); - ::Ice::Int __ret = DBUpdateTribeActDegree(tribeId, onlineDegree, discussDegree, rewardDegree, totalDegree, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBDeleteTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - __is->read(tribeId); - ::Ice::Int __ret = DBDeleteTribe(tribeId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetAddedTribeNum(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int tribeNum; - ::Ice::Int __ret = DBGetAddedTribeNum(userId, tribeNum, __current); - __os->write(tribeNum); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBCheckAddedTribeFull(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int __ret = DBCheckAddedTribeFull(userId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeMemberNum(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::Ice::Int level; - __is->read(tribeId); - __is->read(level); - ::Ice::Int memberNum; - ::Ice::Int __ret = DBGetTribeMemberNum(tribeId, level, memberNum, __current); - __os->write(memberNum); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBAddTribeMember(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - ::Ice::Int level; - ::std::string operId; - ::Ice::Long groupId; - __is->read(tribeId); - __is->read(memberId); - __is->read(level); - __is->read(operId); - __is->read(groupId); - ::Ice::Int blackStamp; - ::Ice::Int __ret = DBAddTribeMember(tribeId, memberId, level, operId, groupId, blackStamp, __current); - __os->write(blackStamp); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___TCAddTribeMember(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - ::Ice::Int level; - ::Ice::Short openFlag; - __is->read(tribeId); - __is->read(memberId); - __is->read(level); - __is->read(openFlag); - ::Ice::Int __ret = TCAddTribeMember(tribeId, memberId, level, openFlag, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeMember(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - ::Ice::Int level; - __is->read(tribeId); - __is->read(memberId); - __is->read(level); - ::ALiIMDBTribe::STribeMemberSeq tribeMemberList; - ::Ice::Int __ret = DBGetTribeMember(tribeId, memberId, level, tribeMemberList, __current); - if(tribeMemberList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &tribeMemberList[0], &tribeMemberList[0] + tribeMemberList.size(), ::ALiIMDBTribe::__U__STribeMemberSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeMemberInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - __is->read(tribeId); - __is->read(memberId); - ::ALiIMDBTribe::STribeMemberInfoSeq tribeMemberInfoList; - ::Ice::Int __ret = DBGetTribeMemberInfo(tribeId, memberId, tribeMemberInfoList, __current); - if(tribeMemberInfoList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &tribeMemberInfoList[0], &tribeMemberInfoList[0] + tribeMemberInfoList.size(), ::ALiIMDBTribe::__U__STribeMemberInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeMemberInfo2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - __is->read(tribeId); - __is->read(memberId); - ::ALiIMDBTribe::STribeMemberInfoSeq2 tribeMemberInfoList; - ::Ice::Int __ret = DBGetTribeMemberInfo2(tribeId, memberId, tribeMemberInfoList, __current); - if(tribeMemberInfoList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &tribeMemberInfoList[0], &tribeMemberInfoList[0] + tribeMemberInfoList.size(), ::ALiIMDBTribe::__U__STribeMemberInfoSeq2()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetUserTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::ALiIMDBTribe::STribeIdSeq tribeIdList; - ::Ice::Int __ret = DBGetUserTribe(userId, tribeIdList, __current); - if(tribeIdList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &tribeIdList[0], &tribeIdList[0] + tribeIdList.size(), ::ALiIMDBTribe::__U__STribeIdSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetUserTribe2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::ALiIMDBTribe::STribeIdSeq2 tribeIdList; - ::Ice::Int __ret = DBGetUserTribe2(userId, tribeIdList, __current); - if(tribeIdList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &tribeIdList[0], &tribeIdList[0] + tribeIdList.size(), ::ALiIMDBTribe::__U__STribeIdSeq2()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateMemberLevel(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - ::Ice::Int level; - __is->read(tribeId); - __is->read(memberId); - __is->read(level); - ::Ice::Int __ret = DBUpdateMemberLevel(tribeId, memberId, level, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateLastMsgId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - ::Ice::Int msgId; - __is->read(tribeId); - __is->read(memberId); - __is->read(msgId); - ::Ice::Int __ret = DBUpdateLastMsgId(tribeId, memberId, msgId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBDeleteMember(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - ::Ice::Int level; - __is->read(tribeId); - __is->read(memberId); - __is->read(level); - ::Ice::Int blackStamp; - ::Ice::Int __ret = DBDeleteMember(tribeId, memberId, level, blackStamp, __current); - __os->write(blackStamp); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBAddTribeOfflineMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string fromId; - ::Ice::Int type; - ::std::string message; - ::Ice::Int sendTime; - __is->read(tribeId); - __is->read(fromId); - __is->read(type); - __is->read(message); - __is->read(sendTime); - ::Ice::Int __ret = DBAddTribeOfflineMsg(tribeId, fromId, type, message, sendTime, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeOfflineMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - __is->read(tribeId); - ::ALiIMDBTribe::STribeOfflineMsgSeq offlineMsgList; - ::Ice::Int __ret = DBGetTribeOfflineMsg(tribeId, offlineMsgList, __current); - if(offlineMsgList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &offlineMsgList[0], &offlineMsgList[0] + offlineMsgList.size(), ::ALiIMDBTribe::__U__STribeOfflineMsgSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBDelTribeOfflineMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - __is->read(tribeId); - ::Ice::Int __ret = DBDelTribeOfflineMsg(tribeId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBAddTribeOffMngMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string toId; - ::Ice::Int type; - ::std::string message; - ::Ice::Int sendTime; - __is->read(tribeId); - __is->read(toId); - __is->read(type); - __is->read(message); - __is->read(sendTime); - ::Ice::Int __ret = DBAddTribeOffMngMsg(tribeId, toId, type, message, sendTime, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeOffMngMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - __is->read(tribeId); - __is->read(memberId); - ::ALiIMDBTribe::STribeOfflineMsgSeq offlineMsgList; - ::Ice::Int __ret = DBGetTribeOffMngMsg(tribeId, memberId, offlineMsgList, __current); - if(offlineMsgList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &offlineMsgList[0], &offlineMsgList[0] + offlineMsgList.size(), ::ALiIMDBTribe::__U__STribeOfflineMsgSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBDelTribeOffMngMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - __is->read(tribeId); - __is->read(memberId); - ::Ice::Int __ret = DBDelTribeOffMngMsg(tribeId, memberId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetUserTribeConfig(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int addVerify; - ::Ice::Int __ret = DBGetUserTribeConfig(userId, addVerify, __current); - __os->write(addVerify); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateUserTribeConfig(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int addVerify; - __is->read(userId); - __is->read(addVerify); - ::Ice::Int __ret = DBUpdateUserTribeConfig(userId, addVerify, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateTribeCard(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - ::ALiIMDBTribe::STribeCard tribeCard; - __is->read(tribeId); - __is->read(memberId); - tribeCard.__read(__is); - ::Ice::Int __ret = DBUpdateTribeCard(tribeId, memberId, tribeCard, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeCard(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - __is->read(tribeId); - __is->read(memberId); - ::ALiIMDBTribe::STribeCard tribeCard; - ::Ice::Int __ret = DBGetTribeCard(tribeId, memberId, tribeCard, __current); - tribeCard.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateMemberActDegree(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - ::Ice::Double onlineActDegree; - ::Ice::Int chatActDegree; - ::Ice::Double rewardActDegree; - ::Ice::Double totalActDegree; - ::Ice::Int lastMsgid; - __is->read(tribeId); - __is->read(memberId); - __is->read(onlineActDegree); - __is->read(chatActDegree); - __is->read(rewardActDegree); - __is->read(totalActDegree); - __is->read(lastMsgid); - ::Ice::Int __ret = DBUpdateMemberActDegree(tribeId, memberId, onlineActDegree, chatActDegree, rewardActDegree, totalActDegree, lastMsgid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - __is->read(tribeId); - ::ALiIMDBTribe::STribeGroupSeq tribeGroupList; - ::Ice::Int __ret = DBGetTribeGroup(tribeId, tribeGroupList, __current); - if(tribeGroupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &tribeGroupList[0], &tribeGroupList[0] + tribeGroupList.size(), ::ALiIMDBTribe::__U__STribeGroupSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBAddTribeGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string groupName; - ::Ice::Long parentId; - __is->read(tribeId); - __is->read(groupName); - __is->read(parentId); - ::Ice::Long groupId; - ::Ice::Int groupStamp; - ::Ice::Int __ret = DBAddTribeGroup(tribeId, groupName, parentId, groupId, groupStamp, __current); - __os->write(groupId); - __os->write(groupStamp); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateTribeGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::Ice::Long groupId; - ::std::string groupName; - __is->read(tribeId); - __is->read(groupId); - __is->read(groupName); - ::Ice::Int groupStamp; - ::Ice::Int __ret = DBUpdateTribeGroup(tribeId, groupId, groupName, groupStamp, __current); - __os->write(groupStamp); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBDelTribeGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::Ice::Long groupId; - __is->read(tribeId); - __is->read(groupId); - ::Ice::Int groupStamp; - ::Ice::Int __ret = DBDelTribeGroup(tribeId, groupId, groupStamp, __current); - __os->write(groupStamp); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateUserGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - ::Ice::Long groupId; - __is->read(tribeId); - __is->read(memberId); - __is->read(groupId); - ::Ice::Int __ret = DBUpdateUserGroup(tribeId, memberId, groupId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBAddStarMember(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - __is->read(tribeId); - __is->read(memberId); - ::Ice::Int __ret = DBAddStarMember(tribeId, memberId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBDelStarMember(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - __is->read(tribeId); - __is->read(memberId); - ::Ice::Int __ret = DBDelStarMember(tribeId, memberId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateOpenTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - ::Ice::Short openFlag; - __is->read(tribeId); - __is->read(memberId); - __is->read(openFlag); - ::Ice::Int __ret = DBUpdateOpenTribe(tribeId, memberId, openFlag, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBNotifyTribeInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBTribe::STribeInfo tribeInfo; - tribeInfo.__read(__is); - ::Ice::Int __ret = DBNotifyTribeInfo(tribeInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeInfo2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - __is->read(tribeId); - ::ALiIMDBTribe::STribeInfo2 tribeInfo; - ::Ice::Int __ret = DBGetTribeInfo2(tribeId, tribeInfo, __current); - tribeInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeInfo3(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - __is->read(tribeId); - ::ALiIMDBTribe::STribeInfo3 tribeInfo; - ::Ice::Int __ret = DBGetTribeInfo3(tribeId, tribeInfo, __current); - tribeInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBCreateTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBTribe::STribeInfo2 tribeInfo; - tribeInfo.__read(__is); - ::Ice::Int tribeId; - ::Ice::Int __ret = DBCreateTribe(tribeInfo, tribeId, __current); - __os->write(tribeId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeIdByWebId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string serviceId; - ::std::string webid; - ::std::string webtid; - __is->read(serviceId); - __is->read(webid); - __is->read(webtid); - ::Ice::Int tribeId; - ::Ice::Int __ret = DBGetTribeIdByWebId(serviceId, webid, webtid, tribeId, __current); - __os->write(tribeId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBAddWebTribeMember(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBTribe::STribeMember2 memberInfo; - memberInfo.__read(__is); - ::Ice::Int blackStamp; - ::Ice::Int __ret = DBAddWebTribeMember(memberInfo, blackStamp, __current); - __os->write(blackStamp); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBDeleteWebMember(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - ::Ice::Int level; - __is->read(tribeId); - __is->read(memberId); - __is->read(level); - ::Ice::Int blackStamp; - ::Ice::Int __ret = DBDeleteWebMember(tribeId, memberId, level, blackStamp, __current); - __os->write(blackStamp); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetAllWebTribeGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBTribe::SWebTribeGroupSeq groupList; - ::Ice::Int __ret = DBGetAllWebTribeGroup(groupList, __current); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &groupList[0], &groupList[0] + groupList.size(), ::ALiIMDBTribe::__U__SWebTribeGroupSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetWebTribeGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string serviceId; - ::std::string webId; - __is->read(serviceId); - __is->read(webId); - ::ALiIMDBTribe::SWebTribeGroup groupInfo; - ::Ice::Int __ret = DBGetWebTribeGroup(serviceId, webId, groupInfo, __current); - groupInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetWebTribeGroupById(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long groupId; - __is->read(groupId); - ::ALiIMDBTribe::SWebTribeGroup groupInfo; - ::Ice::Int __ret = DBGetWebTribeGroupById(groupId, groupInfo, __current); - groupInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBAddWebTribeGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBTribe::SWebTribeGroup groupInfo; - groupInfo.__read(__is); - ::Ice::Long groupId; - ::Ice::Int __ret = DBAddWebTribeGroup(groupInfo, groupId, __current); - __os->write(groupId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateWebTribeGroupName(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long groupId; - ::std::string name; - __is->read(groupId); - __is->read(name); - ::Ice::Int __ret = DBUpdateWebTribeGroupName(groupId, name, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBDelWebTribeGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long groupId; - __is->read(groupId); - ::Ice::Int __ret = DBDelWebTribeGroup(groupId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetUserWebTribeGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::ALiIMDBTribe::SWebTribeGroupSeq groupList; - ::Ice::Int __ret = DBGetUserWebTribeGroup(userId, groupList, __current); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &groupList[0], &groupList[0] + groupList.size(), ::ALiIMDBTribe::__U__SWebTribeGroupSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetUserWebTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::ALiIMDBTribe::SWebTribeIdSeq tribeList; - ::Ice::Int __ret = DBGetUserWebTribe(userId, tribeList, __current); - if(tribeList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &tribeList[0], &tribeList[0] + tribeList.size(), ::ALiIMDBTribe::__U__SWebTribeIdSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateTribeInfo2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBTribe::STribeInfo2 tribeInfo; - tribeInfo.__read(__is); - ::Ice::Int __ret = DBUpdateTribeInfo2(tribeInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBNotifyWebTribeInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBTribe::STribeInfo2 tribeInfo; - tribeInfo.__read(__is); - ::Ice::Int __ret = DBNotifyWebTribeInfo(tribeInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBSyncWebTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string serviceId; - ::std::string webId; - ::ALiIMDBTribe::STribeInfo2 tribeInfo; - ::ALiIMDBTribe::STribeMember2Seq memberList; - __is->read(serviceId); - __is->read(webId); - tribeInfo.__read(__is); - ::ALiIMDBTribe::__read(__is, memberList, ::ALiIMDBTribe::__U__STribeMember2Seq()); - ::Ice::Int tribeId; - ::Ice::Int __ret = DBSyncWebTribe(serviceId, webId, tribeInfo, memberList, tribeId, __current); - __os->write(tribeId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetWebUserDisactiveTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string serviceId; - ::std::string webId; - ::std::string webUid; - __is->read(serviceId); - __is->read(webId); - __is->read(webUid); - ::Ice::IntSeq tribeList; - ::Ice::Int __ret = DBGetWebUserDisactiveTribe(serviceId, webId, webUid, tribeList, __current); - if(tribeList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&tribeList[0], &tribeList[0] + tribeList.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetWebUserActiveTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string serviceId; - ::std::string webId; - ::std::string userId; - __is->read(serviceId); - __is->read(webId); - __is->read(userId); - ::Ice::IntSeq tribeList; - ::Ice::Int __ret = DBGetWebUserActiveTribe(serviceId, webId, userId, tribeList, __current); - if(tribeList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&tribeList[0], &tribeList[0] + tribeList.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBActiveTribeWebMember(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string webuid; - ::std::string memberId; - __is->read(tribeId); - __is->read(webuid); - __is->read(memberId); - ::Ice::Int __ret = DBActiveTribeWebMember(tribeId, webuid, memberId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBDisactiveTribeWebMember(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string webuid; - ::std::string memberId; - __is->read(tribeId); - __is->read(webuid); - __is->read(memberId); - ::Ice::Int __ret = DBDisactiveTribeWebMember(tribeId, webuid, memberId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBDeleteWebTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - __is->read(tribeId); - ::Ice::Int __ret = DBDeleteWebTribe(tribeId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateTribeMsgSetting(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string userId; - ::Ice::Short popflag; - __is->read(tribeId); - __is->read(userId); - __is->read(popflag); - ::Ice::Int __ret = DBUpdateTribeMsgSetting(tribeId, userId, popflag, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBTransferTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string userId; - ::std::string transferId; - __is->read(tribeId); - __is->read(userId); - __is->read(transferId); - ::std::string vacantId; - ::Ice::Int __ret = DBTransferTribe(tribeId, userId, transferId, vacantId, __current); - __os->write(vacantId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBCheckAddedTribeFull2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - bool limit; - ::Ice::Int __ret = DBCheckAddedTribeFull2(userId, limit, __current); - __os->write(limit); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateTribeLimit(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::Ice::Int limit; - __is->read(tribeId); - __is->read(limit); - ::Ice::Int __ret = DBUpdateTribeLimit(tribeId, limit, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBIncrUserTribes(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int tribeNum; - __is->read(userId); - __is->read(tribeNum); - ::Ice::Int __ret = DBIncrUserTribes(userId, tribeNum, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetUserTribeNum(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int tribeNum; - ::Ice::Int __ret = DBGetUserTribeNum(userId, tribeNum, __current); - __os->write(tribeNum); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __ALiIMDBTribe__TribeDBProxyMgr_all[] = -{ - "DBActiveTribeWebMember", - "DBAddStarMember", - "DBAddTribeGroup", - "DBAddTribeMember", - "DBAddTribeOffMngMsg", - "DBAddTribeOfflineMsg", - "DBAddWebTribeGroup", - "DBAddWebTribeMember", - "DBCheckAddedTribeFull", - "DBCheckAddedTribeFull2", - "DBCreateTribe", - "DBDelStarMember", - "DBDelTribeGroup", - "DBDelTribeOffMngMsg", - "DBDelTribeOfflineMsg", - "DBDelWebTribeGroup", - "DBDeleteMember", - "DBDeleteTribe", - "DBDeleteWebMember", - "DBDeleteWebTribe", - "DBDisactiveTribeWebMember", - "DBGetAddedTribeNum", - "DBGetAllWebTribeGroup", - "DBGetTribeActiveDegree", - "DBGetTribeCard", - "DBGetTribeGroup", - "DBGetTribeIdByWebId", - "DBGetTribeInfo", - "DBGetTribeInfo2", - "DBGetTribeInfo3", - "DBGetTribeMember", - "DBGetTribeMemberInfo", - "DBGetTribeMemberInfo2", - "DBGetTribeMemberNum", - "DBGetTribeOffMngMsg", - "DBGetTribeOfflineMsg", - "DBGetUserTribe", - "DBGetUserTribe2", - "DBGetUserTribeConfig", - "DBGetUserTribeNum", - "DBGetUserWebTribe", - "DBGetUserWebTribeGroup", - "DBGetWebTribeGroup", - "DBGetWebTribeGroupById", - "DBGetWebUserActiveTribe", - "DBGetWebUserDisactiveTribe", - "DBIncrUserTribes", - "DBNotifyTribeInfo", - "DBNotifyWebTribeInfo", - "DBStartTribe", - "DBSyncWebTribe", - "DBTransferTribe", - "DBUpdateLastMsgId", - "DBUpdateMemberActDegree", - "DBUpdateMemberLevel", - "DBUpdateOpenTribe", - "DBUpdateTribeActDegree", - "DBUpdateTribeCard", - "DBUpdateTribeGroup", - "DBUpdateTribeInfo", - "DBUpdateTribeInfo2", - "DBUpdateTribeLimit", - "DBUpdateTribeMaster", - "DBUpdateTribeMsgSetting", - "DBUpdateUserGroup", - "DBUpdateUserTribeConfig", - "DBUpdateWebTribeGroupName", - "TCAddTribeMember", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__ALiIMDBTribe__TribeDBProxyMgr_all, __ALiIMDBTribe__TribeDBProxyMgr_all + 72, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __ALiIMDBTribe__TribeDBProxyMgr_all) - { - case 0: - { - return ___DBActiveTribeWebMember(in, current); - } - case 1: - { - return ___DBAddStarMember(in, current); - } - case 2: - { - return ___DBAddTribeGroup(in, current); - } - case 3: - { - return ___DBAddTribeMember(in, current); - } - case 4: - { - return ___DBAddTribeOffMngMsg(in, current); - } - case 5: - { - return ___DBAddTribeOfflineMsg(in, current); - } - case 6: - { - return ___DBAddWebTribeGroup(in, current); - } - case 7: - { - return ___DBAddWebTribeMember(in, current); - } - case 8: - { - return ___DBCheckAddedTribeFull(in, current); - } - case 9: - { - return ___DBCheckAddedTribeFull2(in, current); - } - case 10: - { - return ___DBCreateTribe(in, current); - } - case 11: - { - return ___DBDelStarMember(in, current); - } - case 12: - { - return ___DBDelTribeGroup(in, current); - } - case 13: - { - return ___DBDelTribeOffMngMsg(in, current); - } - case 14: - { - return ___DBDelTribeOfflineMsg(in, current); - } - case 15: - { - return ___DBDelWebTribeGroup(in, current); - } - case 16: - { - return ___DBDeleteMember(in, current); - } - case 17: - { - return ___DBDeleteTribe(in, current); - } - case 18: - { - return ___DBDeleteWebMember(in, current); - } - case 19: - { - return ___DBDeleteWebTribe(in, current); - } - case 20: - { - return ___DBDisactiveTribeWebMember(in, current); - } - case 21: - { - return ___DBGetAddedTribeNum(in, current); - } - case 22: - { - return ___DBGetAllWebTribeGroup(in, current); - } - case 23: - { - return ___DBGetTribeActiveDegree(in, current); - } - case 24: - { - return ___DBGetTribeCard(in, current); - } - case 25: - { - return ___DBGetTribeGroup(in, current); - } - case 26: - { - return ___DBGetTribeIdByWebId(in, current); - } - case 27: - { - return ___DBGetTribeInfo(in, current); - } - case 28: - { - return ___DBGetTribeInfo2(in, current); - } - case 29: - { - return ___DBGetTribeInfo3(in, current); - } - case 30: - { - return ___DBGetTribeMember(in, current); - } - case 31: - { - return ___DBGetTribeMemberInfo(in, current); - } - case 32: - { - return ___DBGetTribeMemberInfo2(in, current); - } - case 33: - { - return ___DBGetTribeMemberNum(in, current); - } - case 34: - { - return ___DBGetTribeOffMngMsg(in, current); - } - case 35: - { - return ___DBGetTribeOfflineMsg(in, current); - } - case 36: - { - return ___DBGetUserTribe(in, current); - } - case 37: - { - return ___DBGetUserTribe2(in, current); - } - case 38: - { - return ___DBGetUserTribeConfig(in, current); - } - case 39: - { - return ___DBGetUserTribeNum(in, current); - } - case 40: - { - return ___DBGetUserWebTribe(in, current); - } - case 41: - { - return ___DBGetUserWebTribeGroup(in, current); - } - case 42: - { - return ___DBGetWebTribeGroup(in, current); - } - case 43: - { - return ___DBGetWebTribeGroupById(in, current); - } - case 44: - { - return ___DBGetWebUserActiveTribe(in, current); - } - case 45: - { - return ___DBGetWebUserDisactiveTribe(in, current); - } - case 46: - { - return ___DBIncrUserTribes(in, current); - } - case 47: - { - return ___DBNotifyTribeInfo(in, current); - } - case 48: - { - return ___DBNotifyWebTribeInfo(in, current); - } - case 49: - { - return ___DBStartTribe(in, current); - } - case 50: - { - return ___DBSyncWebTribe(in, current); - } - case 51: - { - return ___DBTransferTribe(in, current); - } - case 52: - { - return ___DBUpdateLastMsgId(in, current); - } - case 53: - { - return ___DBUpdateMemberActDegree(in, current); - } - case 54: - { - return ___DBUpdateMemberLevel(in, current); - } - case 55: - { - return ___DBUpdateOpenTribe(in, current); - } - case 56: - { - return ___DBUpdateTribeActDegree(in, current); - } - case 57: - { - return ___DBUpdateTribeCard(in, current); - } - case 58: - { - return ___DBUpdateTribeGroup(in, current); - } - case 59: - { - return ___DBUpdateTribeInfo(in, current); - } - case 60: - { - return ___DBUpdateTribeInfo2(in, current); - } - case 61: - { - return ___DBUpdateTribeLimit(in, current); - } - case 62: - { - return ___DBUpdateTribeMaster(in, current); - } - case 63: - { - return ___DBUpdateTribeMsgSetting(in, current); - } - case 64: - { - return ___DBUpdateUserGroup(in, current); - } - case 65: - { - return ___DBUpdateUserTribeConfig(in, current); - } - case 66: - { - return ___DBUpdateWebTribeGroupName(in, current); - } - case 67: - { - return ___TCAddTribeMember(in, current); - } - case 68: - { - return ___ice_id(in, current); - } - case 69: - { - return ___ice_ids(in, current); - } - case 70: - { - return ___ice_isA(in, current); - } - case 71: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -ALiIMDBTribe::TribeDBProxyMgr::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -ALiIMDBTribe::TribeDBProxyMgr::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -ALiIMDBTribe::TribeDBProxyMgr::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type ALiIMDBTribe::TribeDBProxyMgr was not generated with stream support"; - throw ex; -} - -void -ALiIMDBTribe::TribeDBProxyMgr::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type ALiIMDBTribe::TribeDBProxyMgr was not generated with stream support"; - throw ex; -} - -void -ALiIMDBTribe::__patch__TribeDBProxyMgrPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::ALiIMDBTribe::TribeDBProxyMgrPtr* p = static_cast< ::ALiIMDBTribe::TribeDBProxyMgrPtr*>(__addr); - assert(p); - *p = ::ALiIMDBTribe::TribeDBProxyMgrPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::ALiIMDBTribe::TribeDBProxyMgr::ice_staticId(); - throw e; - } -} - -bool -ALiIMDBTribe::operator==(const ::ALiIMDBTribe::TribeDBProxyMgr& l, const ::ALiIMDBTribe::TribeDBProxyMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -ALiIMDBTribe::operator!=(const ::ALiIMDBTribe::TribeDBProxyMgr& l, const ::ALiIMDBTribe::TribeDBProxyMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -ALiIMDBTribe::operator<(const ::ALiIMDBTribe::TribeDBProxyMgr& l, const ::ALiIMDBTribe::TribeDBProxyMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -ALiIMDBTribe::operator<=(const ::ALiIMDBTribe::TribeDBProxyMgr& l, const ::ALiIMDBTribe::TribeDBProxyMgr& r) -{ - return l < r || l == r; -} - -bool -ALiIMDBTribe::operator>(const ::ALiIMDBTribe::TribeDBProxyMgr& l, const ::ALiIMDBTribe::TribeDBProxyMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -ALiIMDBTribe::operator>=(const ::ALiIMDBTribe::TribeDBProxyMgr& l, const ::ALiIMDBTribe::TribeDBProxyMgr& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/dbtbsstructs60.cpp.svn-base b/features/aliww/source/.svn/text-base/dbtbsstructs60.cpp.svn-base deleted file mode 100644 index 0f20de9..0000000 --- a/features/aliww/source/.svn/text-base/dbtbsstructs60.cpp.svn-base +++ /dev/null @@ -1,3260 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbtbsstructs60.ice' - -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -bool -ALiIMDBTribe::STribeInfo::operator==(const STribeInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeInfo::operator!=(const STribeInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(masterId != __rhs.masterId) - { - return true; - } - if(createrId != __rhs.createrId) - { - return true; - } - if(tribeclass != __rhs.tribeclass) - { - return true; - } - if(describe != __rhs.describe) - { - return true; - } - if(bulletin != __rhs.bulletin) - { - return true; - } - if(checkMode != __rhs.checkMode) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(validateCode != __rhs.validateCode) - { - return true; - } - if(lastMsgid != __rhs.lastMsgid) - { - return true; - } - if(memberTimes != __rhs.memberTimes) - { - return true; - } - if(onlineTimes != __rhs.onlineTimes) - { - return true; - } - if(onlineDegree != __rhs.onlineDegree) - { - return true; - } - if(discussDegree != __rhs.discussDegree) - { - return true; - } - if(rewardDegree != __rhs.rewardDegree) - { - return true; - } - if(masterOffer != __rhs.masterOffer) - { - return true; - } - if(totalDegree != __rhs.totalDegree) - { - return true; - } - if(keyword != __rhs.keyword) - { - return true; - } - if(allowVisitor != __rhs.allowVisitor) - { - return true; - } - if(forbidSearch != __rhs.forbidSearch) - { - return true; - } - if(extSign != __rhs.extSign) - { - return true; - } - if(groupStamp != __rhs.groupStamp) - { - return true; - } - if(blackStamp != __rhs.blackStamp) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeInfo::operator<(const STribeInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(masterId < __rhs.masterId) - { - return true; - } - else if(__rhs.masterId < masterId) - { - return false; - } - if(createrId < __rhs.createrId) - { - return true; - } - else if(__rhs.createrId < createrId) - { - return false; - } - if(tribeclass < __rhs.tribeclass) - { - return true; - } - else if(__rhs.tribeclass < tribeclass) - { - return false; - } - if(describe < __rhs.describe) - { - return true; - } - else if(__rhs.describe < describe) - { - return false; - } - if(bulletin < __rhs.bulletin) - { - return true; - } - else if(__rhs.bulletin < bulletin) - { - return false; - } - if(checkMode < __rhs.checkMode) - { - return true; - } - else if(__rhs.checkMode < checkMode) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(validateCode < __rhs.validateCode) - { - return true; - } - else if(__rhs.validateCode < validateCode) - { - return false; - } - if(lastMsgid < __rhs.lastMsgid) - { - return true; - } - else if(__rhs.lastMsgid < lastMsgid) - { - return false; - } - if(memberTimes < __rhs.memberTimes) - { - return true; - } - else if(__rhs.memberTimes < memberTimes) - { - return false; - } - if(onlineTimes < __rhs.onlineTimes) - { - return true; - } - else if(__rhs.onlineTimes < onlineTimes) - { - return false; - } - if(onlineDegree < __rhs.onlineDegree) - { - return true; - } - else if(__rhs.onlineDegree < onlineDegree) - { - return false; - } - if(discussDegree < __rhs.discussDegree) - { - return true; - } - else if(__rhs.discussDegree < discussDegree) - { - return false; - } - if(rewardDegree < __rhs.rewardDegree) - { - return true; - } - else if(__rhs.rewardDegree < rewardDegree) - { - return false; - } - if(masterOffer < __rhs.masterOffer) - { - return true; - } - else if(__rhs.masterOffer < masterOffer) - { - return false; - } - if(totalDegree < __rhs.totalDegree) - { - return true; - } - else if(__rhs.totalDegree < totalDegree) - { - return false; - } - if(keyword < __rhs.keyword) - { - return true; - } - else if(__rhs.keyword < keyword) - { - return false; - } - if(allowVisitor < __rhs.allowVisitor) - { - return true; - } - else if(__rhs.allowVisitor < allowVisitor) - { - return false; - } - if(forbidSearch < __rhs.forbidSearch) - { - return true; - } - else if(__rhs.forbidSearch < forbidSearch) - { - return false; - } - if(extSign < __rhs.extSign) - { - return true; - } - else if(__rhs.extSign < extSign) - { - return false; - } - if(groupStamp < __rhs.groupStamp) - { - return true; - } - else if(__rhs.groupStamp < groupStamp) - { - return false; - } - if(blackStamp < __rhs.blackStamp) - { - return true; - } - else if(__rhs.blackStamp < blackStamp) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(name); - __os->write(masterId); - __os->write(createrId); - __os->write(tribeclass); - __os->write(describe); - __os->write(bulletin); - __os->write(checkMode); - __os->write(password); - __os->write(validateCode); - __os->write(lastMsgid); - __os->write(memberTimes); - __os->write(onlineTimes); - __os->write(onlineDegree); - __os->write(discussDegree); - __os->write(rewardDegree); - __os->write(masterOffer); - __os->write(totalDegree); - __os->write(keyword); - __os->write(allowVisitor); - __os->write(forbidSearch); - __os->write(extSign); - __os->write(groupStamp); - __os->write(blackStamp); -} - -void -ALiIMDBTribe::STribeInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(name); - __is->read(masterId); - __is->read(createrId); - __is->read(tribeclass); - __is->read(describe); - __is->read(bulletin); - __is->read(checkMode); - __is->read(password); - __is->read(validateCode); - __is->read(lastMsgid); - __is->read(memberTimes); - __is->read(onlineTimes); - __is->read(onlineDegree); - __is->read(discussDegree); - __is->read(rewardDegree); - __is->read(masterOffer); - __is->read(totalDegree); - __is->read(keyword); - __is->read(allowVisitor); - __is->read(forbidSearch); - __is->read(extSign); - __is->read(groupStamp); - __is->read(blackStamp); -} - -bool -ALiIMDBTribe::STribeOfflineMsg::operator==(const STribeOfflineMsg& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeOfflineMsg::operator!=(const STribeOfflineMsg& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(memberId != __rhs.memberId) - { - return true; - } - if(type != __rhs.type) - { - return true; - } - if(message != __rhs.message) - { - return true; - } - if(sendTime != __rhs.sendTime) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeOfflineMsg::operator<(const STribeOfflineMsg& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(memberId < __rhs.memberId) - { - return true; - } - else if(__rhs.memberId < memberId) - { - return false; - } - if(type < __rhs.type) - { - return true; - } - else if(__rhs.type < type) - { - return false; - } - if(message < __rhs.message) - { - return true; - } - else if(__rhs.message < message) - { - return false; - } - if(sendTime < __rhs.sendTime) - { - return true; - } - else if(__rhs.sendTime < sendTime) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeOfflineMsg::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(memberId); - __os->write(type); - __os->write(message); - __os->write(sendTime); -} - -void -ALiIMDBTribe::STribeOfflineMsg::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(memberId); - __is->read(type); - __is->read(message); - __is->read(sendTime); -} - -bool -ALiIMDBTribe::STribeMemberInfo::operator==(const STribeMemberInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeMemberInfo::operator!=(const STribeMemberInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(memberLevel != __rhs.memberLevel) - { - return true; - } - if(tribeLevel != __rhs.tribeLevel) - { - return true; - } - if(mobileBindFlag != __rhs.mobileBindFlag) - { - return true; - } - if(mobileNo != __rhs.mobileNo) - { - return true; - } - if(bindMobile != __rhs.bindMobile) - { - return true; - } - if(lastMsgid != __rhs.lastMsgid) - { - return true; - } - if(onlineDegree != __rhs.onlineDegree) - { - return true; - } - if(discussDegree != __rhs.discussDegree) - { - return true; - } - if(rewardDegree != __rhs.rewardDegree) - { - return true; - } - if(totalDegree != __rhs.totalDegree) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(starMember != __rhs.starMember) - { - return true; - } - if(openFlag != __rhs.openFlag) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeMemberInfo::operator<(const STribeMemberInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(memberLevel < __rhs.memberLevel) - { - return true; - } - else if(__rhs.memberLevel < memberLevel) - { - return false; - } - if(tribeLevel < __rhs.tribeLevel) - { - return true; - } - else if(__rhs.tribeLevel < tribeLevel) - { - return false; - } - if(mobileBindFlag < __rhs.mobileBindFlag) - { - return true; - } - else if(__rhs.mobileBindFlag < mobileBindFlag) - { - return false; - } - if(mobileNo < __rhs.mobileNo) - { - return true; - } - else if(__rhs.mobileNo < mobileNo) - { - return false; - } - if(bindMobile < __rhs.bindMobile) - { - return true; - } - else if(__rhs.bindMobile < bindMobile) - { - return false; - } - if(lastMsgid < __rhs.lastMsgid) - { - return true; - } - else if(__rhs.lastMsgid < lastMsgid) - { - return false; - } - if(onlineDegree < __rhs.onlineDegree) - { - return true; - } - else if(__rhs.onlineDegree < onlineDegree) - { - return false; - } - if(discussDegree < __rhs.discussDegree) - { - return true; - } - else if(__rhs.discussDegree < discussDegree) - { - return false; - } - if(rewardDegree < __rhs.rewardDegree) - { - return true; - } - else if(__rhs.rewardDegree < rewardDegree) - { - return false; - } - if(totalDegree < __rhs.totalDegree) - { - return true; - } - else if(__rhs.totalDegree < totalDegree) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(starMember < __rhs.starMember) - { - return true; - } - else if(__rhs.starMember < starMember) - { - return false; - } - if(openFlag < __rhs.openFlag) - { - return true; - } - else if(__rhs.openFlag < openFlag) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeMemberInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(name); - __os->write(memberLevel); - __os->write(tribeLevel); - __os->write(mobileBindFlag); - __os->write(mobileNo); - __os->write(bindMobile); - __os->write(lastMsgid); - __os->write(onlineDegree); - __os->write(discussDegree); - __os->write(rewardDegree); - __os->write(totalDegree); - __os->write(groupId); - __os->write(starMember); - __os->write(openFlag); -} - -void -ALiIMDBTribe::STribeMemberInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(name); - __is->read(memberLevel); - __is->read(tribeLevel); - __is->read(mobileBindFlag); - __is->read(mobileNo); - __is->read(bindMobile); - __is->read(lastMsgid); - __is->read(onlineDegree); - __is->read(discussDegree); - __is->read(rewardDegree); - __is->read(totalDegree); - __is->read(groupId); - __is->read(starMember); - __is->read(openFlag); -} - -bool -ALiIMDBTribe::STribeMemberInfo2::operator==(const STribeMemberInfo2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeMemberInfo2::operator!=(const STribeMemberInfo2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(memberLevel != __rhs.memberLevel) - { - return true; - } - if(tribeLevel != __rhs.tribeLevel) - { - return true; - } - if(mobileBindFlag != __rhs.mobileBindFlag) - { - return true; - } - if(mobileNo != __rhs.mobileNo) - { - return true; - } - if(bindMobile != __rhs.bindMobile) - { - return true; - } - if(lastMsgid != __rhs.lastMsgid) - { - return true; - } - if(onlineDegree != __rhs.onlineDegree) - { - return true; - } - if(discussDegree != __rhs.discussDegree) - { - return true; - } - if(rewardDegree != __rhs.rewardDegree) - { - return true; - } - if(totalDegree != __rhs.totalDegree) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(starMember != __rhs.starMember) - { - return true; - } - if(openFlag != __rhs.openFlag) - { - return true; - } - if(popupFlag != __rhs.popupFlag) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeMemberInfo2::operator<(const STribeMemberInfo2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(memberLevel < __rhs.memberLevel) - { - return true; - } - else if(__rhs.memberLevel < memberLevel) - { - return false; - } - if(tribeLevel < __rhs.tribeLevel) - { - return true; - } - else if(__rhs.tribeLevel < tribeLevel) - { - return false; - } - if(mobileBindFlag < __rhs.mobileBindFlag) - { - return true; - } - else if(__rhs.mobileBindFlag < mobileBindFlag) - { - return false; - } - if(mobileNo < __rhs.mobileNo) - { - return true; - } - else if(__rhs.mobileNo < mobileNo) - { - return false; - } - if(bindMobile < __rhs.bindMobile) - { - return true; - } - else if(__rhs.bindMobile < bindMobile) - { - return false; - } - if(lastMsgid < __rhs.lastMsgid) - { - return true; - } - else if(__rhs.lastMsgid < lastMsgid) - { - return false; - } - if(onlineDegree < __rhs.onlineDegree) - { - return true; - } - else if(__rhs.onlineDegree < onlineDegree) - { - return false; - } - if(discussDegree < __rhs.discussDegree) - { - return true; - } - else if(__rhs.discussDegree < discussDegree) - { - return false; - } - if(rewardDegree < __rhs.rewardDegree) - { - return true; - } - else if(__rhs.rewardDegree < rewardDegree) - { - return false; - } - if(totalDegree < __rhs.totalDegree) - { - return true; - } - else if(__rhs.totalDegree < totalDegree) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(starMember < __rhs.starMember) - { - return true; - } - else if(__rhs.starMember < starMember) - { - return false; - } - if(openFlag < __rhs.openFlag) - { - return true; - } - else if(__rhs.openFlag < openFlag) - { - return false; - } - if(popupFlag < __rhs.popupFlag) - { - return true; - } - else if(__rhs.popupFlag < popupFlag) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeMemberInfo2::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(name); - __os->write(memberLevel); - __os->write(tribeLevel); - __os->write(mobileBindFlag); - __os->write(mobileNo); - __os->write(bindMobile); - __os->write(lastMsgid); - __os->write(onlineDegree); - __os->write(discussDegree); - __os->write(rewardDegree); - __os->write(totalDegree); - __os->write(groupId); - __os->write(starMember); - __os->write(openFlag); - __os->write(popupFlag); -} - -void -ALiIMDBTribe::STribeMemberInfo2::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(name); - __is->read(memberLevel); - __is->read(tribeLevel); - __is->read(mobileBindFlag); - __is->read(mobileNo); - __is->read(bindMobile); - __is->read(lastMsgid); - __is->read(onlineDegree); - __is->read(discussDegree); - __is->read(rewardDegree); - __is->read(totalDegree); - __is->read(groupId); - __is->read(starMember); - __is->read(openFlag); - __is->read(popupFlag); -} - -bool -ALiIMDBTribe::STribeMember::operator==(const STribeMember& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeMember::operator!=(const STribeMember& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(memberId != __rhs.memberId) - { - return true; - } - if(level != __rhs.level) - { - return true; - } - if(lastMsgid != __rhs.lastMsgid) - { - return true; - } - if(operId != __rhs.operId) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeMember::operator<(const STribeMember& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(memberId < __rhs.memberId) - { - return true; - } - else if(__rhs.memberId < memberId) - { - return false; - } - if(level < __rhs.level) - { - return true; - } - else if(__rhs.level < level) - { - return false; - } - if(lastMsgid < __rhs.lastMsgid) - { - return true; - } - else if(__rhs.lastMsgid < lastMsgid) - { - return false; - } - if(operId < __rhs.operId) - { - return true; - } - else if(__rhs.operId < operId) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeMember::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(memberId); - __os->write(level); - __os->write(lastMsgid); - __os->write(operId); - __os->write(groupId); -} - -void -ALiIMDBTribe::STribeMember::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(memberId); - __is->read(level); - __is->read(lastMsgid); - __is->read(operId); - __is->read(groupId); -} - -bool -ALiIMDBTribe::STribeId::operator==(const STribeId& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeId::operator!=(const STribeId& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(tribeLevel != __rhs.tribeLevel) - { - return true; - } - if(tribeStatus != __rhs.tribeStatus) - { - return true; - } - if(extSign != __rhs.extSign) - { - return true; - } - if(groupStamp != __rhs.groupStamp) - { - return true; - } - if(openTribe != __rhs.openTribe) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeId::operator<(const STribeId& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(tribeLevel < __rhs.tribeLevel) - { - return true; - } - else if(__rhs.tribeLevel < tribeLevel) - { - return false; - } - if(tribeStatus < __rhs.tribeStatus) - { - return true; - } - else if(__rhs.tribeStatus < tribeStatus) - { - return false; - } - if(extSign < __rhs.extSign) - { - return true; - } - else if(__rhs.extSign < extSign) - { - return false; - } - if(groupStamp < __rhs.groupStamp) - { - return true; - } - else if(__rhs.groupStamp < groupStamp) - { - return false; - } - if(openTribe < __rhs.openTribe) - { - return true; - } - else if(__rhs.openTribe < openTribe) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeId::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(name); - __os->write(tribeLevel); - __os->write(tribeStatus); - __os->write(extSign); - __os->write(groupStamp); - __os->write(openTribe); -} - -void -ALiIMDBTribe::STribeId::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(name); - __is->read(tribeLevel); - __is->read(tribeStatus); - __is->read(extSign); - __is->read(groupStamp); - __is->read(openTribe); -} - -bool -ALiIMDBTribe::STribeId2::operator==(const STribeId2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeId2::operator!=(const STribeId2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(tribeLevel != __rhs.tribeLevel) - { - return true; - } - if(tribeStatus != __rhs.tribeStatus) - { - return true; - } - if(extSign != __rhs.extSign) - { - return true; - } - if(groupStamp != __rhs.groupStamp) - { - return true; - } - if(openTribe != __rhs.openTribe) - { - return true; - } - if(popupFlag != __rhs.popupFlag) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeId2::operator<(const STribeId2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(tribeLevel < __rhs.tribeLevel) - { - return true; - } - else if(__rhs.tribeLevel < tribeLevel) - { - return false; - } - if(tribeStatus < __rhs.tribeStatus) - { - return true; - } - else if(__rhs.tribeStatus < tribeStatus) - { - return false; - } - if(extSign < __rhs.extSign) - { - return true; - } - else if(__rhs.extSign < extSign) - { - return false; - } - if(groupStamp < __rhs.groupStamp) - { - return true; - } - else if(__rhs.groupStamp < groupStamp) - { - return false; - } - if(openTribe < __rhs.openTribe) - { - return true; - } - else if(__rhs.openTribe < openTribe) - { - return false; - } - if(popupFlag < __rhs.popupFlag) - { - return true; - } - else if(__rhs.popupFlag < popupFlag) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeId2::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(name); - __os->write(tribeLevel); - __os->write(tribeStatus); - __os->write(extSign); - __os->write(groupStamp); - __os->write(openTribe); - __os->write(popupFlag); -} - -void -ALiIMDBTribe::STribeId2::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(name); - __is->read(tribeLevel); - __is->read(tribeStatus); - __is->read(extSign); - __is->read(groupStamp); - __is->read(openTribe); - __is->read(popupFlag); -} - -bool -ALiIMDBTribe::STribeIdDb::operator==(const STribeIdDb& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeIdDb::operator!=(const STribeIdDb& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(tribeLevel != __rhs.tribeLevel) - { - return true; - } - if(tribeStatus != __rhs.tribeStatus) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeIdDb::operator<(const STribeIdDb& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(tribeLevel < __rhs.tribeLevel) - { - return true; - } - else if(__rhs.tribeLevel < tribeLevel) - { - return false; - } - if(tribeStatus < __rhs.tribeStatus) - { - return true; - } - else if(__rhs.tribeStatus < tribeStatus) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeIdDb::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(name); - __os->write(tribeLevel); - __os->write(tribeStatus); -} - -void -ALiIMDBTribe::STribeIdDb::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(name); - __is->read(tribeLevel); - __is->read(tribeStatus); -} - -bool -ALiIMDBTribe::STribeGroup::operator==(const STribeGroup& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeGroup::operator!=(const STribeGroup& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(groupName != __rhs.groupName) - { - return true; - } - if(parentId != __rhs.parentId) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeGroup::operator<(const STribeGroup& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(groupName < __rhs.groupName) - { - return true; - } - else if(__rhs.groupName < groupName) - { - return false; - } - if(parentId < __rhs.parentId) - { - return true; - } - else if(__rhs.parentId < parentId) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeGroup::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(groupId); - __os->write(groupName); - __os->write(parentId); -} - -void -ALiIMDBTribe::STribeGroup::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(groupId); - __is->read(groupName); - __is->read(parentId); -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::STribeMemberInfo* begin, const ::ALiIMDBTribe::STribeMemberInfo* end, ::ALiIMDBTribe::__U__STribeMemberInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBTribe::__read(::IceInternal::BasicStream* __is, ::ALiIMDBTribe::STribeMemberInfoSeq& v, ::ALiIMDBTribe::__U__STribeMemberInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 54); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::STribeMemberInfo2* begin, const ::ALiIMDBTribe::STribeMemberInfo2* end, ::ALiIMDBTribe::__U__STribeMemberInfoSeq2) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBTribe::__read(::IceInternal::BasicStream* __is, ::ALiIMDBTribe::STribeMemberInfoSeq2& v, ::ALiIMDBTribe::__U__STribeMemberInfoSeq2) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 58); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::STribeOfflineMsg* begin, const ::ALiIMDBTribe::STribeOfflineMsg* end, ::ALiIMDBTribe::__U__STribeOfflineMsgSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBTribe::__read(::IceInternal::BasicStream* __is, ::ALiIMDBTribe::STribeOfflineMsgSeq& v, ::ALiIMDBTribe::__U__STribeOfflineMsgSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 16); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::STribeMember* begin, const ::ALiIMDBTribe::STribeMember* end, ::ALiIMDBTribe::__U__STribeMemberSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBTribe::__read(::IceInternal::BasicStream* __is, ::ALiIMDBTribe::STribeMemberSeq& v, ::ALiIMDBTribe::__U__STribeMemberSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 26); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::STribeId* begin, const ::ALiIMDBTribe::STribeId* end, ::ALiIMDBTribe::__U__STribeIdSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBTribe::__read(::IceInternal::BasicStream* __is, ::ALiIMDBTribe::STribeIdSeq& v, ::ALiIMDBTribe::__U__STribeIdSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 20); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::STribeId2* begin, const ::ALiIMDBTribe::STribeId2* end, ::ALiIMDBTribe::__U__STribeIdSeq2) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBTribe::__read(::IceInternal::BasicStream* __is, ::ALiIMDBTribe::STribeIdSeq2& v, ::ALiIMDBTribe::__U__STribeIdSeq2) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 22); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::STribeIdDb* begin, const ::ALiIMDBTribe::STribeIdDb* end, ::ALiIMDBTribe::__U__STribeIdDbSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBTribe::__read(::IceInternal::BasicStream* __is, ::ALiIMDBTribe::STribeIdDbSeq& v, ::ALiIMDBTribe::__U__STribeIdDbSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 13); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::STribeGroup* begin, const ::ALiIMDBTribe::STribeGroup* end, ::ALiIMDBTribe::__U__STribeGroupSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBTribe::__read(::IceInternal::BasicStream* __is, ::ALiIMDBTribe::STribeGroupSeq& v, ::ALiIMDBTribe::__U__STribeGroupSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 25); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -ALiIMDBTribe::STribeCard::operator==(const STribeCard& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeCard::operator!=(const STribeCard& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(memberId != __rhs.memberId) - { - return true; - } - if(realName != __rhs.realName) - { - return true; - } - if(phoneNum != __rhs.phoneNum) - { - return true; - } - if(mobileNum != __rhs.mobileNum) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(memo != __rhs.memo) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeCard::operator<(const STribeCard& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(memberId < __rhs.memberId) - { - return true; - } - else if(__rhs.memberId < memberId) - { - return false; - } - if(realName < __rhs.realName) - { - return true; - } - else if(__rhs.realName < realName) - { - return false; - } - if(phoneNum < __rhs.phoneNum) - { - return true; - } - else if(__rhs.phoneNum < phoneNum) - { - return false; - } - if(mobileNum < __rhs.mobileNum) - { - return true; - } - else if(__rhs.mobileNum < mobileNum) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(memo < __rhs.memo) - { - return true; - } - else if(__rhs.memo < memo) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeCard::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(memberId); - __os->write(realName); - __os->write(phoneNum); - __os->write(mobileNum); - __os->write(email); - __os->write(address); - __os->write(memo); -} - -void -ALiIMDBTribe::STribeCard::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(memberId); - __is->read(realName); - __is->read(phoneNum); - __is->read(mobileNum); - __is->read(email); - __is->read(address); - __is->read(memo); -} - -bool -ALiIMDBTribe::STribeInfo2::operator==(const STribeInfo2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeInfo2::operator!=(const STribeInfo2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(masterId != __rhs.masterId) - { - return true; - } - if(createrId != __rhs.createrId) - { - return true; - } - if(tribeclass != __rhs.tribeclass) - { - return true; - } - if(describe != __rhs.describe) - { - return true; - } - if(bulletin != __rhs.bulletin) - { - return true; - } - if(checkMode != __rhs.checkMode) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(validateCode != __rhs.validateCode) - { - return true; - } - if(lastMsgid != __rhs.lastMsgid) - { - return true; - } - if(memberTimes != __rhs.memberTimes) - { - return true; - } - if(onlineTimes != __rhs.onlineTimes) - { - return true; - } - if(onlineDegree != __rhs.onlineDegree) - { - return true; - } - if(discussDegree != __rhs.discussDegree) - { - return true; - } - if(rewardDegree != __rhs.rewardDegree) - { - return true; - } - if(masterOffer != __rhs.masterOffer) - { - return true; - } - if(totalDegree != __rhs.totalDegree) - { - return true; - } - if(keyword != __rhs.keyword) - { - return true; - } - if(allowVisitor != __rhs.allowVisitor) - { - return true; - } - if(forbidSearch != __rhs.forbidSearch) - { - return true; - } - if(extSign != __rhs.extSign) - { - return true; - } - if(groupStamp != __rhs.groupStamp) - { - return true; - } - if(blackStamp != __rhs.blackStamp) - { - return true; - } - if(webTid != __rhs.webTid) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeInfo2::operator<(const STribeInfo2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(masterId < __rhs.masterId) - { - return true; - } - else if(__rhs.masterId < masterId) - { - return false; - } - if(createrId < __rhs.createrId) - { - return true; - } - else if(__rhs.createrId < createrId) - { - return false; - } - if(tribeclass < __rhs.tribeclass) - { - return true; - } - else if(__rhs.tribeclass < tribeclass) - { - return false; - } - if(describe < __rhs.describe) - { - return true; - } - else if(__rhs.describe < describe) - { - return false; - } - if(bulletin < __rhs.bulletin) - { - return true; - } - else if(__rhs.bulletin < bulletin) - { - return false; - } - if(checkMode < __rhs.checkMode) - { - return true; - } - else if(__rhs.checkMode < checkMode) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(validateCode < __rhs.validateCode) - { - return true; - } - else if(__rhs.validateCode < validateCode) - { - return false; - } - if(lastMsgid < __rhs.lastMsgid) - { - return true; - } - else if(__rhs.lastMsgid < lastMsgid) - { - return false; - } - if(memberTimes < __rhs.memberTimes) - { - return true; - } - else if(__rhs.memberTimes < memberTimes) - { - return false; - } - if(onlineTimes < __rhs.onlineTimes) - { - return true; - } - else if(__rhs.onlineTimes < onlineTimes) - { - return false; - } - if(onlineDegree < __rhs.onlineDegree) - { - return true; - } - else if(__rhs.onlineDegree < onlineDegree) - { - return false; - } - if(discussDegree < __rhs.discussDegree) - { - return true; - } - else if(__rhs.discussDegree < discussDegree) - { - return false; - } - if(rewardDegree < __rhs.rewardDegree) - { - return true; - } - else if(__rhs.rewardDegree < rewardDegree) - { - return false; - } - if(masterOffer < __rhs.masterOffer) - { - return true; - } - else if(__rhs.masterOffer < masterOffer) - { - return false; - } - if(totalDegree < __rhs.totalDegree) - { - return true; - } - else if(__rhs.totalDegree < totalDegree) - { - return false; - } - if(keyword < __rhs.keyword) - { - return true; - } - else if(__rhs.keyword < keyword) - { - return false; - } - if(allowVisitor < __rhs.allowVisitor) - { - return true; - } - else if(__rhs.allowVisitor < allowVisitor) - { - return false; - } - if(forbidSearch < __rhs.forbidSearch) - { - return true; - } - else if(__rhs.forbidSearch < forbidSearch) - { - return false; - } - if(extSign < __rhs.extSign) - { - return true; - } - else if(__rhs.extSign < extSign) - { - return false; - } - if(groupStamp < __rhs.groupStamp) - { - return true; - } - else if(__rhs.groupStamp < groupStamp) - { - return false; - } - if(blackStamp < __rhs.blackStamp) - { - return true; - } - else if(__rhs.blackStamp < blackStamp) - { - return false; - } - if(webTid < __rhs.webTid) - { - return true; - } - else if(__rhs.webTid < webTid) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeInfo2::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(name); - __os->write(masterId); - __os->write(createrId); - __os->write(tribeclass); - __os->write(describe); - __os->write(bulletin); - __os->write(checkMode); - __os->write(password); - __os->write(validateCode); - __os->write(lastMsgid); - __os->write(memberTimes); - __os->write(onlineTimes); - __os->write(onlineDegree); - __os->write(discussDegree); - __os->write(rewardDegree); - __os->write(masterOffer); - __os->write(totalDegree); - __os->write(keyword); - __os->write(allowVisitor); - __os->write(forbidSearch); - __os->write(extSign); - __os->write(groupStamp); - __os->write(blackStamp); - __os->write(webTid); - __os->write(groupId); -} - -void -ALiIMDBTribe::STribeInfo2::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(name); - __is->read(masterId); - __is->read(createrId); - __is->read(tribeclass); - __is->read(describe); - __is->read(bulletin); - __is->read(checkMode); - __is->read(password); - __is->read(validateCode); - __is->read(lastMsgid); - __is->read(memberTimes); - __is->read(onlineTimes); - __is->read(onlineDegree); - __is->read(discussDegree); - __is->read(rewardDegree); - __is->read(masterOffer); - __is->read(totalDegree); - __is->read(keyword); - __is->read(allowVisitor); - __is->read(forbidSearch); - __is->read(extSign); - __is->read(groupStamp); - __is->read(blackStamp); - __is->read(webTid); - __is->read(groupId); -} - -bool -ALiIMDBTribe::STribeMember2::operator==(const STribeMember2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeMember2::operator!=(const STribeMember2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(memberId != __rhs.memberId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(level != __rhs.level) - { - return true; - } - if(lastMsgid != __rhs.lastMsgid) - { - return true; - } - if(operId != __rhs.operId) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeMember2::operator<(const STribeMember2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(memberId < __rhs.memberId) - { - return true; - } - else if(__rhs.memberId < memberId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(level < __rhs.level) - { - return true; - } - else if(__rhs.level < level) - { - return false; - } - if(lastMsgid < __rhs.lastMsgid) - { - return true; - } - else if(__rhs.lastMsgid < lastMsgid) - { - return false; - } - if(operId < __rhs.operId) - { - return true; - } - else if(__rhs.operId < operId) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeMember2::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(memberId); - __os->write(name); - __os->write(level); - __os->write(lastMsgid); - __os->write(operId); - __os->write(groupId); -} - -void -ALiIMDBTribe::STribeMember2::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(memberId); - __is->read(name); - __is->read(level); - __is->read(lastMsgid); - __is->read(operId); - __is->read(groupId); -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::STribeMember2* begin, const ::ALiIMDBTribe::STribeMember2* end, ::ALiIMDBTribe::__U__STribeMember2Seq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBTribe::__read(::IceInternal::BasicStream* __is, ::ALiIMDBTribe::STribeMember2Seq& v, ::ALiIMDBTribe::__U__STribeMember2Seq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 27); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -ALiIMDBTribe::STribeInfo3::operator==(const STribeInfo3& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeInfo3::operator!=(const STribeInfo3& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(masterId != __rhs.masterId) - { - return true; - } - if(createrId != __rhs.createrId) - { - return true; - } - if(tribeclass != __rhs.tribeclass) - { - return true; - } - if(describe != __rhs.describe) - { - return true; - } - if(bulletin != __rhs.bulletin) - { - return true; - } - if(checkMode != __rhs.checkMode) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(validateCode != __rhs.validateCode) - { - return true; - } - if(lastMsgid != __rhs.lastMsgid) - { - return true; - } - if(memberTimes != __rhs.memberTimes) - { - return true; - } - if(onlineTimes != __rhs.onlineTimes) - { - return true; - } - if(onlineDegree != __rhs.onlineDegree) - { - return true; - } - if(discussDegree != __rhs.discussDegree) - { - return true; - } - if(rewardDegree != __rhs.rewardDegree) - { - return true; - } - if(masterOffer != __rhs.masterOffer) - { - return true; - } - if(totalDegree != __rhs.totalDegree) - { - return true; - } - if(keyword != __rhs.keyword) - { - return true; - } - if(allowVisitor != __rhs.allowVisitor) - { - return true; - } - if(forbidSearch != __rhs.forbidSearch) - { - return true; - } - if(extSign != __rhs.extSign) - { - return true; - } - if(groupStamp != __rhs.groupStamp) - { - return true; - } - if(blackStamp != __rhs.blackStamp) - { - return true; - } - if(webTid != __rhs.webTid) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(tribeLimit != __rhs.tribeLimit) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeInfo3::operator<(const STribeInfo3& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(masterId < __rhs.masterId) - { - return true; - } - else if(__rhs.masterId < masterId) - { - return false; - } - if(createrId < __rhs.createrId) - { - return true; - } - else if(__rhs.createrId < createrId) - { - return false; - } - if(tribeclass < __rhs.tribeclass) - { - return true; - } - else if(__rhs.tribeclass < tribeclass) - { - return false; - } - if(describe < __rhs.describe) - { - return true; - } - else if(__rhs.describe < describe) - { - return false; - } - if(bulletin < __rhs.bulletin) - { - return true; - } - else if(__rhs.bulletin < bulletin) - { - return false; - } - if(checkMode < __rhs.checkMode) - { - return true; - } - else if(__rhs.checkMode < checkMode) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(validateCode < __rhs.validateCode) - { - return true; - } - else if(__rhs.validateCode < validateCode) - { - return false; - } - if(lastMsgid < __rhs.lastMsgid) - { - return true; - } - else if(__rhs.lastMsgid < lastMsgid) - { - return false; - } - if(memberTimes < __rhs.memberTimes) - { - return true; - } - else if(__rhs.memberTimes < memberTimes) - { - return false; - } - if(onlineTimes < __rhs.onlineTimes) - { - return true; - } - else if(__rhs.onlineTimes < onlineTimes) - { - return false; - } - if(onlineDegree < __rhs.onlineDegree) - { - return true; - } - else if(__rhs.onlineDegree < onlineDegree) - { - return false; - } - if(discussDegree < __rhs.discussDegree) - { - return true; - } - else if(__rhs.discussDegree < discussDegree) - { - return false; - } - if(rewardDegree < __rhs.rewardDegree) - { - return true; - } - else if(__rhs.rewardDegree < rewardDegree) - { - return false; - } - if(masterOffer < __rhs.masterOffer) - { - return true; - } - else if(__rhs.masterOffer < masterOffer) - { - return false; - } - if(totalDegree < __rhs.totalDegree) - { - return true; - } - else if(__rhs.totalDegree < totalDegree) - { - return false; - } - if(keyword < __rhs.keyword) - { - return true; - } - else if(__rhs.keyword < keyword) - { - return false; - } - if(allowVisitor < __rhs.allowVisitor) - { - return true; - } - else if(__rhs.allowVisitor < allowVisitor) - { - return false; - } - if(forbidSearch < __rhs.forbidSearch) - { - return true; - } - else if(__rhs.forbidSearch < forbidSearch) - { - return false; - } - if(extSign < __rhs.extSign) - { - return true; - } - else if(__rhs.extSign < extSign) - { - return false; - } - if(groupStamp < __rhs.groupStamp) - { - return true; - } - else if(__rhs.groupStamp < groupStamp) - { - return false; - } - if(blackStamp < __rhs.blackStamp) - { - return true; - } - else if(__rhs.blackStamp < blackStamp) - { - return false; - } - if(webTid < __rhs.webTid) - { - return true; - } - else if(__rhs.webTid < webTid) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(tribeLimit < __rhs.tribeLimit) - { - return true; - } - else if(__rhs.tribeLimit < tribeLimit) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeInfo3::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(name); - __os->write(masterId); - __os->write(createrId); - __os->write(tribeclass); - __os->write(describe); - __os->write(bulletin); - __os->write(checkMode); - __os->write(password); - __os->write(validateCode); - __os->write(lastMsgid); - __os->write(memberTimes); - __os->write(onlineTimes); - __os->write(onlineDegree); - __os->write(discussDegree); - __os->write(rewardDegree); - __os->write(masterOffer); - __os->write(totalDegree); - __os->write(keyword); - __os->write(allowVisitor); - __os->write(forbidSearch); - __os->write(extSign); - __os->write(groupStamp); - __os->write(blackStamp); - __os->write(webTid); - __os->write(groupId); - __os->write(tribeLimit); -} - -void -ALiIMDBTribe::STribeInfo3::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(name); - __is->read(masterId); - __is->read(createrId); - __is->read(tribeclass); - __is->read(describe); - __is->read(bulletin); - __is->read(checkMode); - __is->read(password); - __is->read(validateCode); - __is->read(lastMsgid); - __is->read(memberTimes); - __is->read(onlineTimes); - __is->read(onlineDegree); - __is->read(discussDegree); - __is->read(rewardDegree); - __is->read(masterOffer); - __is->read(totalDegree); - __is->read(keyword); - __is->read(allowVisitor); - __is->read(forbidSearch); - __is->read(extSign); - __is->read(groupStamp); - __is->read(blackStamp); - __is->read(webTid); - __is->read(groupId); - __is->read(tribeLimit); -} - -bool -ALiIMDBTribe::SWebTribeGroup::operator==(const SWebTribeGroup& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::SWebTribeGroup::operator!=(const SWebTribeGroup& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(groupName != __rhs.groupName) - { - return true; - } - if(serviceId != __rhs.serviceId) - { - return true; - } - if(siteId != __rhs.siteId) - { - return true; - } - if(webId != __rhs.webId) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::SWebTribeGroup::operator<(const SWebTribeGroup& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(groupName < __rhs.groupName) - { - return true; - } - else if(__rhs.groupName < groupName) - { - return false; - } - if(serviceId < __rhs.serviceId) - { - return true; - } - else if(__rhs.serviceId < serviceId) - { - return false; - } - if(siteId < __rhs.siteId) - { - return true; - } - else if(__rhs.siteId < siteId) - { - return false; - } - if(webId < __rhs.webId) - { - return true; - } - else if(__rhs.webId < webId) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::SWebTribeGroup::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(groupId); - __os->write(groupName); - __os->write(serviceId); - __os->write(siteId); - __os->write(webId); -} - -void -ALiIMDBTribe::SWebTribeGroup::__read(::IceInternal::BasicStream* __is) -{ - __is->read(groupId); - __is->read(groupName); - __is->read(serviceId); - __is->read(siteId); - __is->read(webId); -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::SWebTribeGroup* begin, const ::ALiIMDBTribe::SWebTribeGroup* end, ::ALiIMDBTribe::__U__SWebTribeGroupSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBTribe::__read(::IceInternal::BasicStream* __is, ::ALiIMDBTribe::SWebTribeGroupSeq& v, ::ALiIMDBTribe::__U__SWebTribeGroupSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 12); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -ALiIMDBTribe::SWebTribeId::operator==(const SWebTribeId& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::SWebTribeId::operator!=(const SWebTribeId& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(tribeLevel != __rhs.tribeLevel) - { - return true; - } - if(tribeStatus != __rhs.tribeStatus) - { - return true; - } - if(extSign != __rhs.extSign) - { - return true; - } - if(groupStamp != __rhs.groupStamp) - { - return true; - } - if(openTribe != __rhs.openTribe) - { - return true; - } - if(webTid != __rhs.webTid) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::SWebTribeId::operator<(const SWebTribeId& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(tribeLevel < __rhs.tribeLevel) - { - return true; - } - else if(__rhs.tribeLevel < tribeLevel) - { - return false; - } - if(tribeStatus < __rhs.tribeStatus) - { - return true; - } - else if(__rhs.tribeStatus < tribeStatus) - { - return false; - } - if(extSign < __rhs.extSign) - { - return true; - } - else if(__rhs.extSign < extSign) - { - return false; - } - if(groupStamp < __rhs.groupStamp) - { - return true; - } - else if(__rhs.groupStamp < groupStamp) - { - return false; - } - if(openTribe < __rhs.openTribe) - { - return true; - } - else if(__rhs.openTribe < openTribe) - { - return false; - } - if(webTid < __rhs.webTid) - { - return true; - } - else if(__rhs.webTid < webTid) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::SWebTribeId::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(name); - __os->write(tribeLevel); - __os->write(tribeStatus); - __os->write(extSign); - __os->write(groupStamp); - __os->write(openTribe); - __os->write(webTid); - __os->write(groupId); -} - -void -ALiIMDBTribe::SWebTribeId::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(name); - __is->read(tribeLevel); - __is->read(tribeStatus); - __is->read(extSign); - __is->read(groupStamp); - __is->read(openTribe); - __is->read(webTid); - __is->read(groupId); -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::SWebTribeId* begin, const ::ALiIMDBTribe::SWebTribeId* end, ::ALiIMDBTribe::__U__SWebTribeIdSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBTribe::__read(::IceInternal::BasicStream* __is, ::ALiIMDBTribe::SWebTribeIdSeq& v, ::ALiIMDBTribe::__U__SWebTribeIdSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 29); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} diff --git a/features/aliww/source/.svn/text-base/ddbadmin_perf_test.cpp.svn-base b/features/aliww/source/.svn/text-base/ddbadmin_perf_test.cpp.svn-base deleted file mode 100644 index e4231db..0000000 --- a/features/aliww/source/.svn/text-base/ddbadmin_perf_test.cpp.svn-base +++ /dev/null @@ -1,283 +0,0 @@ -#include "ddbadmin_perf_test.h" - -using namespace std; -using namespace Ice; -using namespace AliDDB; - -void* ddbadmin_init(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - ddbadmin_st *ap = (ddbadmin_st *)malloc(sizeof(ddbadmin_st)); - pVuser->verb = ap; - srand(time(0)); - create_transaction(pVuser,"DDBAdmin"); - - int status = 0; - Ice::CommunicatorPtr ic; - - try{ - ic = Ice::initialize(); - - Ice::ObjectPrx base = ic->stringToProxy("DDBAdminMgrProxyId:default -h 10.250.2.12 -p 20000"); - AliDDBInterfacePrx ddbadmin = AliDDBInterfacePrx::checkedCast(base); - if(!ddbadmin){ - throw "Invalid proxy"; - } - ap->ddbadmin = new AliDDBInterfacePrx(ddbadmin); - ap->ic = new Ice::CommunicatorPtr(ic); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* ddbadmin_insertRecord(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - ddbadmin_st *ap = (ddbadmin_st *)pVuser->verb; - int status = 0; - AliDDBInterfacePrx ddbadmin = *(ap->ddbadmin); - - string table = "im_user"; - KVMap key; - char cvalue[256]; - sprintf(cvalue,"ddbadmin_insertRecord%dx%dx%d",get_vuser_id(pVuser),get_vuser_group(pVuser),get_vuser_ite(pVuser)); - string value(cvalue); - key["login_id"] = value; - DBRecord record; - record.fields["web_id"]="cntaobao"; - record.fields["sys_msg_id"]="100"; - record.fields["group_times"]="1"; - record.fields["contact_times"]="2"; - record.fields["blacklist_times"]="3"; - record.fields["reverse_blacklist_times"]="4"; - record.fields["user_status"]="0"; - record.fields["tools_times"]="5"; - record.fields["multi_account_flag"]="0"; - record.fields["add_contact_verify"]="1"; - record.fields["send_msg_verify"]="1"; - record.fields["add_tribe_verify"]="1"; - - try{ - status = ddbadmin->insertRecord(table, key, record); - if(status == 0) - success_transactionEx(pVuser,"DDBAdmin","insertRecord Sucess."); - else{ - char str_tmp[32] = {0}; - sprintf(str_tmp,"insertRecord:Call ret status is %d",status); - fail_transactionEx(pVuser,"DDBAdmin",str_tmp); - } - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* ddbadmin_getRecord(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - ddbadmin_st *ap = (ddbadmin_st *)pVuser->verb; - int status = 0; - AliDDBInterfacePrx ddbadmin = *(ap->ddbadmin); - - string table = "im_user"; - KVMap key; - string value( select_param_ex(pVuser)); - key["login_id"] = value; - vector fields, bf; - fields.push_back("web_id"); - fields.push_back("sys_msg_id"); - fields.push_back("group_times"); - fields.push_back("contact_times"); - fields.push_back("blacklist_times"); - fields.push_back("reverse_blacklist_times"); - fields.push_back("user_status"); - fields.push_back("tools_times"); - fields.push_back("multi_account_flag"); - fields.push_back("add_contact_verify"); - fields.push_back("send_msg_verify"); - fields.push_back("add_tribe_verify"); - fields.push_back("gmt_create"); - fields.push_back("gmt_modified"); - DBRecord record; - - try{ - status = ddbadmin->getRecord(table, key, fields, bf, record); - if(status == 0) - success_transactionEx(pVuser,"DDBAdmin","getRecord Sucess."); - else{ - char str_tmp[32] = {0}; - sprintf(str_tmp,"getRecord:Call ret status is %d",status); - fail_transactionEx(pVuser,"DDBAdmin",str_tmp); - } - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - - -void* ddbadmin_deleteRecord(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - ddbadmin_st *ap = (ddbadmin_st *)pVuser->verb; - int status = 0; - AliDDBInterfacePrx ddbadmin = *(ap->ddbadmin); - - string table = "im_user"; - KVMap key, uniqKey; - string value( select_param_ex(pVuser)); - key["login_id"] = value; - - try{ - status = ddbadmin->deleteRecord(table, key, uniqKey); - if(status == 0) - success_transactionEx(pVuser,"DDBAdmin","deleteRecord Sucess."); - else{ - char str_tmp[32] = {0}; - sprintf(str_tmp,"deleteRecord:Call ret status is %d",status); - fail_transactionEx(pVuser,"DDBAdmin",str_tmp); - } - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* ddbadmin_updateRecord(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - ddbadmin_st *ap = (ddbadmin_st *)pVuser->verb; - int status = 0; - AliDDBInterfacePrx ddbadmin = *(ap->ddbadmin); - - string table = "im_user"; - KVMap key, uniqKey; - string value( select_param_ex(pVuser)); - key["login_id"] = value; - DBRecord record; - record.fields["web_id"]="cnalichn"; - record.fields["sys_msg_id"]="100"; - record.fields["group_times"]="1"; - record.fields["contact_times"]="2"; - record.fields["blacklist_times"]="3"; - record.fields["reverse_blacklist_times"]="4"; - record.fields["user_status"]="0"; - record.fields["tools_times"]="5"; - record.fields["multi_account_flag"]="0"; - record.fields["add_contact_verify"]="1"; - record.fields["send_msg_verify"]="1"; - record.fields["add_tribe_verify"]="1"; - - try{ - status = ddbadmin->updateRecord(table, key, uniqKey, record); - if(status == 0) - success_transactionEx(pVuser,"DDBAdmin","TextPut Sucess."); - else{ - char str_tmp[32] = {0}; - sprintf(str_tmp,"getUserStatus:Call ret status is %d",status); - fail_transactionEx(pVuser,"DDBAdmin",str_tmp); - } - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* ddbadmin_insertRecord_delete(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - ddbadmin_st *ap = (ddbadmin_st *)pVuser->verb; - int status = 0; - AliDDBInterfacePrx ddbadmin = *(ap->ddbadmin); - - string table = "im_user"; - KVMap key, uniqKey; - char cvalue[256]; - sprintf(cvalue,"ddbadmin_insertRecord%dx%dx%d",get_vuser_id(pVuser),get_vuser_group(pVuser),get_vuser_ite(pVuser)); - string value(cvalue); - key["login_id"] = value; - DBRecord record; - record.fields["web_id"]="cntaobao"; - record.fields["sys_msg_id"]="100"; - record.fields["group_times"]="1"; - record.fields["contact_times"]="2"; - record.fields["blacklist_times"]="3"; - record.fields["reverse_blacklist_times"]="4"; - record.fields["user_status"]="0"; - record.fields["tools_times"]="5"; - record.fields["multi_account_flag"]="0"; - record.fields["add_contact_verify"]="1"; - record.fields["send_msg_verify"]="1"; - record.fields["add_tribe_verify"]="1"; - - try{ - status = ddbadmin->insertRecord(table, key, record); - if(status == 0) - success_transactionEx(pVuser,"DDBAdmin","insertRecord Sucess."); - else{ - char str_tmp[32] = {0}; - sprintf(str_tmp,"insertRecord:Call ret status is %d",status); - fail_transactionEx(pVuser,"DDBAdmin",str_tmp); - } - status = ddbadmin->deleteRecord(table, key, uniqKey); - if(status == 0) - success_transactionEx(pVuser,"DDBAdmin","deleteRecord Sucess."); - else{ - char str_tmp[32] = {0}; - sprintf(str_tmp,"deleteRecord:Call ret status is %d",status); - fail_transactionEx(pVuser,"DDBAdmin",str_tmp); - } - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} -void* ddbadmin_end(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - ddbadmin_st *ap = (ddbadmin_st *)pVuser->verb; - int status = 0; - AliDDBInterfacePrx ddbadmin = *(ap->ddbadmin); - Ice::CommunicatorPtr ic = *(ap->ic); - - if(ic){ - try{ - ic->destroy(); - //delete(&ic); - //delete(&ddbadmin); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } - } -} - diff --git a/features/aliww/source/.svn/text-base/des.cpp.svn-base b/features/aliww/source/.svn/text-base/des.cpp.svn-base deleted file mode 100644 index d076b19..0000000 --- a/features/aliww/source/.svn/text-base/des.cpp.svn-base +++ /dev/null @@ -1,999 +0,0 @@ -//Sofware DES functions -//written 12 Dec 1986 by Phil Karn, KA9Q; large sections adapted from -//the 1977 public-domain program by Jim Gillogly - -#include -#ifdef _WIN32 -#include -#else -#include -#endif -#include "des.h" - -//initial permutation IP -#if 0 -static char ip[] = { - 58, 50, 42, 34, 26, 18, 10, 2, - 60, 52, 44, 36, 28, 20, 12, 4, - 62, 54, 46, 38, 30, 22, 14, 6, - 64, 56, 48, 40, 32, 24, 16, 8, - 57, 49, 41, 33, 25, 17, 9, 1, - 59, 51, 43, 35, 27, 19, 11, 3, - 61, 53, 45, 37, 29, 21, 13, 5, - 63, 55, 47, 39, 31, 23, 15, 7 -}; -#endif - -//final permutation IP^-1 -#if 0 -static char fp[] = { - 40, 8, 48, 16, 56, 24, 64, 32, - 39, 7, 47, 15, 55, 23, 63, 31, - 38, 6, 46, 14, 54, 22, 62, 30, - 37, 5, 45, 13, 53, 21, 61, 29, - 36, 4, 44, 12, 52, 20, 60, 28, - 35, 3, 43, 11, 51, 19, 59, 27, - 34, 2, 42, 10, 50, 18, 58, 26, - 33, 1, 41, 9, 49, 17, 57, 25 -}; -#endif - -//permuted choice table (key) -static char pc1[] = { - 57, 49, 41, 33, 25, 17, 9, - 1, 58, 50, 42, 34, 26, 18, - 10, 2, 59, 51, 43, 35, 27, - 19, 11, 3, 60, 52, 44, 36, - - 63, 55, 47, 39, 31, 23, 15, - 7, 62, 54, 46, 38, 30, 22, - 14, 6, 61, 53, 45, 37, 29, - 21, 13, 5, 28, 20, 12, 4 -}; - -//number left rotations of pc1 -static char totrot[] = { - 1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28 -}; - -//permuted choice key (table) -static char pc2[] = { - 14, 17, 11, 24, 1, 5, - 3, 28, 15, 6, 21, 10, - 23, 19, 12, 4, 26, 8, - 16, 7, 27, 20, 13, 2, - 41, 52, 31, 37, 47, 55, - 30, 40, 51, 45, 33, 48, - 44, 49, 39, 56, 34, 53, - 46, 42, 50, 36, 29, 32 -}; - -//The (in)famous S-boxes -#if 0 -static char si[8][64] = { - //S1 - {14, 4, 13, 1, 2, 15, 11, 8, 3, 10, 6, 12, 5, 9, 0, 7, - 0, 15, 7, 4, 14, 2, 13, 1, 10, 6, 12, 11, 9, 5, 3, 8, - 4, 1, 14, 8, 13, 6, 2, 11, 15, 12, 9, 7, 3, 10, 5, 0, - 15, 12, 8, 2, 4, 9, 1, 7, 5, 11, 3, 14, 10, 0, 6, 13}, - - //S2 - {15, 1, 8, 14, 6, 11, 3, 4, 9, 7, 2, 13, 12, 0, 5, 10, - 3, 13, 4, 7, 15, 2, 8, 14, 12, 0, 1, 10, 6, 9, 11, 5, - 0, 14, 7, 11, 10, 4, 13, 1, 5, 8, 12, 6, 9, 3, 2, 15, - 13, 8, 10, 1, 3, 15, 4, 2, 11, 6, 7, 12, 0, 5, 14, 9}, - - //S3 - {10, 0, 9, 14, 6, 3, 15, 5, 1, 13, 12, 7, 11, 4, 2, 8, - 13, 7, 0, 9, 3, 4, 6, 10, 2, 8, 5, 14, 12, 11, 15, 1, - 13, 6, 4, 9, 8, 15, 3, 0, 11, 1, 2, 12, 5, 10, 14, 7, - 1, 10, 13, 0, 6, 9, 8, 7, 4, 15, 14, 3, 11, 5, 2, 12}, - - //S4 - {7, 13, 14, 3, 0, 6, 9, 10, 1, 2, 8, 5, 11, 12, 4, 15, - 13, 8, 11, 5, 6, 15, 0, 3, 4, 7, 2, 12, 1, 10, 14, 9, - 10, 6, 9, 0, 12, 11, 7, 13, 15, 1, 3, 14, 5, 2, 8, 4, - 3, 15, 0, 6, 10, 1, 13, 8, 9, 4, 5, 11, 12, 7, 2, 14}, - - //S5 - {2, 12, 4, 1, 7, 10, 11, 6, 8, 5, 3, 15, 13, 0, 14, 9, - 14, 11, 2, 12, 4, 7, 13, 1, 5, 0, 15, 10, 3, 9, 8, 6, - 4, 2, 1, 11, 10, 13, 7, 8, 15, 9, 12, 5, 6, 3, 0, 14, - 11, 8, 12, 7, 1, 14, 2, 13, 6, 15, 0, 9, 10, 4, 5, 3}, - - //S6 - {12, 1, 10, 15, 9, 2, 6, 8, 0, 13, 3, 4, 14, 7, 5, 11, - 10, 15, 4, 2, 7, 12, 9, 5, 6, 1, 13, 14, 0, 11, 3, 8, - 9, 14, 15, 5, 2, 8, 12, 3, 7, 0, 4, 10, 1, 13, 11, 6, - 4, 3, 2, 12, 9, 5, 15, 10, 11, 14, 1, 7, 6, 0, 8, 13}, - - //S7 - {4, 11, 2, 14, 15, 0, 8, 13, 3, 12, 9, 7, 5, 10, 6, 1, - 13, 0, 11, 7, 4, 9, 1, 10, 14, 3, 5, 12, 2, 15, 8, 6, - 1, 4, 11, 13, 12, 3, 7, 14, 10, 15, 6, 8, 0, 5, 9, 2, - 6, 11, 13, 8, 1, 4, 10, 7, 9, 5, 0, 15, 14, 2, 3, 12}, - - //S8 - {13, 2, 8, 4, 6, 15, 11, 1, 10, 9, 3, 14, 5, 0, 12, 7, - 1, 15, 13, 8, 10, 3, 7, 4, 12, 5, 6, 11, 0, 14, 9, 2, - 7, 11, 4, 1, 9, 12, 14, 2, 0, 6, 10, 13, 15, 3, 5, 8, - 2, 1, 14, 7, 4, 10, 8, 13, 15, 12, 9, 0, 3, 5, 6, 11} -}; -#endif - -//32-bit permutation function P used on the output of the S-boxes -#if 0 -static char p32i[] = { - 16, 7, 20, 21, - 29, 12, 28, 17, - 1, 15, 23, 26, - 5, 18, 31, 10, - 2, 8, 24, 14, - 32, 27, 3, 9, - 19, 13, 30, 6, - 22, 11, 4, 25 -}; -#endif -//End of DES-defined tables - -//Lookup tables initialized once only at startup by desinit() -static int sp_[8][64]= //Combined S and P boxes -{ -{0x00808200, 0x00000000, 0x00008000, 0x00808202, 0x00808002, 0x00008202, 0x00000002, 0x00008000, 0x00000200, 0x00808200, 0x00808202, 0x00000200, 0x00800202, 0x00808002, 0x00800000, 0x00000002, 0x00000202, 0x00800200, 0x00800200, 0x00008200, 0x00008200, 0x00808000, 0x00808000, 0x00800202, 0x00008002, 0x00800002, 0x00800002, 0x00008002, 0x00000000, 0x00000202, 0x00008202, 0x00800000, 0x00008000, 0x00808202, 0x00000002, 0x00808000, 0x00808200, 0x00800000, 0x00800000, 0x00000200, 0x00808002, 0x00008000, 0x00008200, 0x00800002, 0x00000200, 0x00000002, 0x00800202, 0x00008202, 0x00808202, 0x00008002, 0x00808000, 0x00800202, 0x00800002, 0x00000202, 0x00008202, 0x00808200, 0x00000202, 0x00800200, 0x00800200, 0x00000000, 0x00008002, 0x00008200, 0x00000000, 0x00808002}, -{0x40084010, 0x40004000, 0x00004000, 0x00084010, 0x00080000, 0x00000010, 0x40080010, 0x40004010, 0x40000010, 0x40084010, 0x40084000, 0x40000000, 0x40004000, 0x00080000, 0x00000010, 0x40080010, 0x00084000, 0x00080010, 0x40004010, 0x00000000, 0x40000000, 0x00004000, 0x00084010, 0x40080000, 0x00080010, 0x40000010, 0x00000000, 0x00084000, 0x00004010, 0x40084000, 0x40080000, 0x00004010, 0x00000000, 0x00084010, 0x40080010, 0x00080000, 0x40004010, 0x40080000, 0x40084000, 0x00004000, 0x40080000, 0x40004000, 0x00000010, 0x40084010, 0x00084010, 0x00000010, 0x00004000, 0x40000000, 0x00004010, 0x40084000, 0x00080000, 0x40000010, 0x00080010, 0x40004010, 0x40000010, 0x00080010, 0x00084000, 0x00000000, 0x40004000, 0x00004010, 0x40000000, 0x40080010, 0x40084010, 0x00084000}, -{0x00000104, 0x04010100, 0x00000000, 0x04010004, 0x04000100, 0x00000000, 0x00010104, 0x04000100, 0x00010004, 0x04000004, 0x04000004, 0x00010000, 0x04010104, 0x00010004, 0x04010000, 0x00000104, 0x04000000, 0x00000004, 0x04010100, 0x00000100, 0x00010100, 0x04010000, 0x04010004, 0x00010104, 0x04000104, 0x00010100, 0x00010000, 0x04000104, 0x00000004, 0x04010104, 0x00000100, 0x04000000, 0x04010100, 0x04000000, 0x00010004, 0x00000104, 0x00010000, 0x04010100, 0x04000100, 0x00000000, 0x00000100, 0x00010004, 0x04010104, 0x04000100, 0x04000004, 0x00000100, 0x00000000, 0x04010004, 0x04000104, 0x00010000, 0x04000000, 0x04010104, 0x00000004, 0x00010104, 0x00010100, 0x04000004, 0x04010000, 0x04000104, 0x00000104, 0x04010000, 0x00010104, 0x00000004, 0x04010004, 0x00010100}, -{0x80401000, 0x80001040, 0x80001040, 0x00000040, 0x00401040, 0x80400040, 0x80400000, 0x80001000, 0x00000000, 0x00401000, 0x00401000, 0x80401040, 0x80000040, 0x00000000, 0x00400040, 0x80400000, 0x80000000, 0x00001000, 0x00400000, 0x80401000, 0x00000040, 0x00400000, 0x80001000, 0x00001040, 0x80400040, 0x80000000, 0x00001040, 0x00400040, 0x00001000, 0x00401040, 0x80401040, 0x80000040, 0x00400040, 0x80400000, 0x00401000, 0x80401040, 0x80000040, 0x00000000, 0x00000000, 0x00401000, 0x00001040, 0x00400040, 0x80400040, 0x80000000, 0x80401000, 0x80001040, 0x80001040, 0x00000040, 0x80401040, 0x80000040, 0x80000000, 0x00001000, 0x80400000, 0x80001000, 0x00401040, 0x80400040, 0x80001000, 0x00001040, 0x00400000, 0x80401000, 0x00000040, 0x00400000, 0x00001000, 0x00401040}, -{0x00000080, 0x01040080, 0x01040000, 0x21000080, 0x00040000, 0x00000080, 0x20000000, 0x01040000, 0x20040080, 0x00040000, 0x01000080, 0x20040080, 0x21000080, 0x21040000, 0x00040080, 0x20000000, 0x01000000, 0x20040000, 0x20040000, 0x00000000, 0x20000080, 0x21040080, 0x21040080, 0x01000080, 0x21040000, 0x20000080, 0x00000000, 0x21000000, 0x01040080, 0x01000000, 0x21000000, 0x00040080, 0x00040000, 0x21000080, 0x00000080, 0x01000000, 0x20000000, 0x01040000, 0x21000080, 0x20040080, 0x01000080, 0x20000000, 0x21040000, 0x01040080, 0x20040080, 0x00000080, 0x01000000, 0x21040000, 0x21040080, 0x00040080, 0x21000000, 0x21040080, 0x01040000, 0x00000000, 0x20040000, 0x21000000, 0x00040080, 0x01000080, 0x20000080, 0x00040000, 0x00000000, 0x20040000, 0x01040080, 0x20000080}, -{0x10000008, 0x10200000, 0x00002000, 0x10202008, 0x10200000, 0x00000008, 0x10202008, 0x00200000, 0x10002000, 0x00202008, 0x00200000, 0x10000008, 0x00200008, 0x10002000, 0x10000000, 0x00002008, 0x00000000, 0x00200008, 0x10002008, 0x00002000, 0x00202000, 0x10002008, 0x00000008, 0x10200008, 0x10200008, 0x00000000, 0x00202008, 0x10202000, 0x00002008, 0x00202000, 0x10202000, 0x10000000, 0x10002000, 0x00000008, 0x10200008, 0x00202000, 0x10202008, 0x00200000, 0x00002008, 0x10000008, 0x00200000, 0x10002000, 0x10000000, 0x00002008, 0x10000008, 0x10202008, 0x00202000, 0x10200000, 0x00202008, 0x10202000, 0x00000000, 0x10200008, 0x00000008, 0x00002000, 0x10200000, 0x00202008, 0x00002000, 0x00200008, 0x10002008, 0x00000000, 0x10202000, 0x10000000, 0x00200008, 0x10002008}, -{0x00100000, 0x02100001, 0x02000401, 0x00000000, 0x00000400, 0x02000401, 0x00100401, 0x02100400, 0x02100401, 0x00100000, 0x00000000, 0x02000001, 0x00000001, 0x02000000, 0x02100001, 0x00000401, 0x02000400, 0x00100401, 0x00100001, 0x02000400, 0x02000001, 0x02100000, 0x02100400, 0x00100001, 0x02100000, 0x00000400, 0x00000401, 0x02100401, 0x00100400, 0x00000001, 0x02000000, 0x00100400, 0x02000000, 0x00100400, 0x00100000, 0x02000401, 0x02000401, 0x02100001, 0x02100001, 0x00000001, 0x00100001, 0x02000000, 0x02000400, 0x00100000, 0x02100400, 0x00000401, 0x00100401, 0x02100400, 0x00000401, 0x02000001, 0x02100401, 0x02100000, 0x00100400, 0x00000000, 0x00000001, 0x02100401, 0x00000000, 0x00100401, 0x02100000, 0x00000400, 0x02000001, 0x02000400, 0x00000400, 0x00100001}, -{0x08000820, 0x00000800, 0x00020000, 0x08020820, 0x08000000, 0x08000820, 0x00000020, 0x08000000, 0x00020020, 0x08020000, 0x08020820, 0x00020800, 0x08020800, 0x00020820, 0x00000800, 0x00000020, 0x08020000, 0x08000020, 0x08000800, 0x00000820, 0x00020800, 0x00020020, 0x08020020, 0x08020800, 0x00000820, 0x00000000, 0x00000000, 0x08020020, 0x08000020, 0x08000800, 0x00020820, 0x00020000, 0x00020820, 0x00020000, 0x08020800, 0x00000800, 0x00000020, 0x08020020, 0x00000800, 0x00020820, 0x08000800, 0x00000020, 0x08000020, 0x08020000, 0x08020020, 0x08000000, 0x00020000, 0x08000820, 0x00000000, 0x08020820, 0x00020020, 0x08000020, 0x08020000, 0x08000800, 0x08000820, 0x00000000, 0x08020820, 0x00020800, 0x00020800, 0x00000820, 0x00000820, 0x00020020, 0x08000000, 0x08020800}, - -}; - -static unsigned char iperm[16][16][8]= //Initial and final permutations -{ - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 1, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 1, 0, 0}, - {0, 1, 0, 0, 0, 1, 0, 0}, - {1, 0, 0, 0, 0, 0, 0, 0}, - {1, 1, 0, 0, 0, 0, 0, 0}, - {1, 0, 0, 0, 0, 1, 0, 0}, - {1, 1, 0, 0, 0, 1, 0, 0}, - {0, 0, 0, 0, 1, 0, 0, 0}, - {0, 1, 0, 0, 1, 0, 0, 0}, - {0, 0, 0, 0, 1, 1, 0, 0}, - {0, 1, 0, 0, 1, 1, 0, 0}, - {1, 0, 0, 0, 1, 0, 0, 0}, - {1, 1, 0, 0, 1, 0, 0, 0}, - {1, 0, 0, 0, 1, 1, 0, 0}, - {1, 1, 0, 0, 1, 1, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 1, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 0, 0, 1}, - {0, 0, 0, 1, 0, 0, 0, 1}, - {0, 0, 1, 0, 0, 0, 0, 0}, - {0, 0, 1, 1, 0, 0, 0, 0}, - {0, 0, 1, 0, 0, 0, 0, 1}, - {0, 0, 1, 1, 0, 0, 0, 1}, - {0, 0, 0, 0, 0, 0, 1, 0}, - {0, 0, 0, 1, 0, 0, 1, 0}, - {0, 0, 0, 0, 0, 0, 1, 1}, - {0, 0, 0, 1, 0, 0, 1, 1}, - {0, 0, 1, 0, 0, 0, 1, 0}, - {0, 0, 1, 1, 0, 0, 1, 0}, - {0, 0, 1, 0, 0, 0, 1, 1}, - {0, 0, 1, 1, 0, 0, 1, 1} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 2, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 2, 0, 0}, - {0, 2, 0, 0, 0, 2, 0, 0}, - {2, 0, 0, 0, 0, 0, 0, 0}, - {2, 2, 0, 0, 0, 0, 0, 0}, - {2, 0, 0, 0, 0, 2, 0, 0}, - {2, 2, 0, 0, 0, 2, 0, 0}, - {0, 0, 0, 0, 2, 0, 0, 0}, - {0, 2, 0, 0, 2, 0, 0, 0}, - {0, 0, 0, 0, 2, 2, 0, 0}, - {0, 2, 0, 0, 2, 2, 0, 0}, - {2, 0, 0, 0, 2, 0, 0, 0}, - {2, 2, 0, 0, 2, 0, 0, 0}, - {2, 0, 0, 0, 2, 2, 0, 0}, - {2, 2, 0, 0, 2, 2, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 2, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 0, 0, 2}, - {0, 0, 0, 2, 0, 0, 0, 2}, - {0, 0, 2, 0, 0, 0, 0, 0}, - {0, 0, 2, 2, 0, 0, 0, 0}, - {0, 0, 2, 0, 0, 0, 0, 2}, - {0, 0, 2, 2, 0, 0, 0, 2}, - {0, 0, 0, 0, 0, 0, 2, 0}, - {0, 0, 0, 2, 0, 0, 2, 0}, - {0, 0, 0, 0, 0, 0, 2, 2}, - {0, 0, 0, 2, 0, 0, 2, 2}, - {0, 0, 2, 0, 0, 0, 2, 0}, - {0, 0, 2, 2, 0, 0, 2, 0}, - {0, 0, 2, 0, 0, 0, 2, 2}, - {0, 0, 2, 2, 0, 0, 2, 2} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 4, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 4, 0, 0}, - {0, 4, 0, 0, 0, 4, 0, 0}, - {4, 0, 0, 0, 0, 0, 0, 0}, - {4, 4, 0, 0, 0, 0, 0, 0}, - {4, 0, 0, 0, 0, 4, 0, 0}, - {4, 4, 0, 0, 0, 4, 0, 0}, - {0, 0, 0, 0, 4, 0, 0, 0}, - {0, 4, 0, 0, 4, 0, 0, 0}, - {0, 0, 0, 0, 4, 4, 0, 0}, - {0, 4, 0, 0, 4, 4, 0, 0}, - {4, 0, 0, 0, 4, 0, 0, 0}, - {4, 4, 0, 0, 4, 0, 0, 0}, - {4, 0, 0, 0, 4, 4, 0, 0}, - {4, 4, 0, 0, 4, 4, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 4, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 0, 0, 4}, - {0, 0, 0, 4, 0, 0, 0, 4}, - {0, 0, 4, 0, 0, 0, 0, 0}, - {0, 0, 4, 4, 0, 0, 0, 0}, - {0, 0, 4, 0, 0, 0, 0, 4}, - {0, 0, 4, 4, 0, 0, 0, 4}, - {0, 0, 0, 0, 0, 0, 4, 0}, - {0, 0, 0, 4, 0, 0, 4, 0}, - {0, 0, 0, 0, 0, 0, 4, 4}, - {0, 0, 0, 4, 0, 0, 4, 4}, - {0, 0, 4, 0, 0, 0, 4, 0}, - {0, 0, 4, 4, 0, 0, 4, 0}, - {0, 0, 4, 0, 0, 0, 4, 4}, - {0, 0, 4, 4, 0, 0, 4, 4} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 8, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 8, 0, 0}, - {0, 8, 0, 0, 0, 8, 0, 0}, - {8, 0, 0, 0, 0, 0, 0, 0}, - {8, 8, 0, 0, 0, 0, 0, 0}, - {8, 0, 0, 0, 0, 8, 0, 0}, - {8, 8, 0, 0, 0, 8, 0, 0}, - {0, 0, 0, 0, 8, 0, 0, 0}, - {0, 8, 0, 0, 8, 0, 0, 0}, - {0, 0, 0, 0, 8, 8, 0, 0}, - {0, 8, 0, 0, 8, 8, 0, 0}, - {8, 0, 0, 0, 8, 0, 0, 0}, - {8, 8, 0, 0, 8, 0, 0, 0}, - {8, 0, 0, 0, 8, 8, 0, 0}, - {8, 8, 0, 0, 8, 8, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 8, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 0, 0, 8}, - {0, 0, 0, 8, 0, 0, 0, 8}, - {0, 0, 8, 0, 0, 0, 0, 0}, - {0, 0, 8, 8, 0, 0, 0, 0}, - {0, 0, 8, 0, 0, 0, 0, 8}, - {0, 0, 8, 8, 0, 0, 0, 8}, - {0, 0, 0, 0, 0, 0, 8, 0}, - {0, 0, 0, 8, 0, 0, 8, 0}, - {0, 0, 0, 0, 0, 0, 8, 8}, - {0, 0, 0, 8, 0, 0, 8, 8}, - {0, 0, 8, 0, 0, 0, 8, 0}, - {0, 0, 8, 8, 0, 0, 8, 0}, - {0, 0, 8, 0, 0, 0, 8, 8}, - {0, 0, 8, 8, 0, 0, 8, 8} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 16, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 16, 0, 0}, - {0, 16, 0, 0, 0, 16, 0, 0}, - {16, 0, 0, 0, 0, 0, 0, 0}, - {16, 16, 0, 0, 0, 0, 0, 0}, - {16, 0, 0, 0, 0, 16, 0, 0}, - {16, 16, 0, 0, 0, 16, 0, 0}, - {0, 0, 0, 0, 16, 0, 0, 0}, - {0, 16, 0, 0, 16, 0, 0, 0}, - {0, 0, 0, 0, 16, 16, 0, 0}, - {0, 16, 0, 0, 16, 16, 0, 0}, - {16, 0, 0, 0, 16, 0, 0, 0}, - {16, 16, 0, 0, 16, 0, 0, 0}, - {16, 0, 0, 0, 16, 16, 0, 0}, - {16, 16, 0, 0, 16, 16, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 16, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 0, 0, 16}, - {0, 0, 0, 16, 0, 0, 0, 16}, - {0, 0, 16, 0, 0, 0, 0, 0}, - {0, 0, 16, 16, 0, 0, 0, 0}, - {0, 0, 16, 0, 0, 0, 0, 16}, - {0, 0, 16, 16, 0, 0, 0, 16}, - {0, 0, 0, 0, 0, 0, 16, 0}, - {0, 0, 0, 16, 0, 0, 16, 0}, - {0, 0, 0, 0, 0, 0, 16, 16}, - {0, 0, 0, 16, 0, 0, 16, 16}, - {0, 0, 16, 0, 0, 0, 16, 0}, - {0, 0, 16, 16, 0, 0, 16, 0}, - {0, 0, 16, 0, 0, 0, 16, 16}, - {0, 0, 16, 16, 0, 0, 16, 16} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 32, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 32, 0, 0}, - {0, 32, 0, 0, 0, 32, 0, 0}, - {32, 0, 0, 0, 0, 0, 0, 0}, - {32, 32, 0, 0, 0, 0, 0, 0}, - {32, 0, 0, 0, 0, 32, 0, 0}, - {32, 32, 0, 0, 0, 32, 0, 0}, - {0, 0, 0, 0, 32, 0, 0, 0}, - {0, 32, 0, 0, 32, 0, 0, 0}, - {0, 0, 0, 0, 32, 32, 0, 0}, - {0, 32, 0, 0, 32, 32, 0, 0}, - {32, 0, 0, 0, 32, 0, 0, 0}, - {32, 32, 0, 0, 32, 0, 0, 0}, - {32, 0, 0, 0, 32, 32, 0, 0}, - {32, 32, 0, 0, 32, 32, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 32, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 0, 0, 32}, - {0, 0, 0, 32, 0, 0, 0, 32}, - {0, 0, 32, 0, 0, 0, 0, 0}, - {0, 0, 32, 32, 0, 0, 0, 0}, - {0, 0, 32, 0, 0, 0, 0, 32}, - {0, 0, 32, 32, 0, 0, 0, 32}, - {0, 0, 0, 0, 0, 0, 32, 0}, - {0, 0, 0, 32, 0, 0, 32, 0}, - {0, 0, 0, 0, 0, 0, 32, 32}, - {0, 0, 0, 32, 0, 0, 32, 32}, - {0, 0, 32, 0, 0, 0, 32, 0}, - {0, 0, 32, 32, 0, 0, 32, 0}, - {0, 0, 32, 0, 0, 0, 32, 32}, - {0, 0, 32, 32, 0, 0, 32, 32} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 64, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 64, 0, 0}, - {0, 64, 0, 0, 0, 64, 0, 0}, - {64, 0, 0, 0, 0, 0, 0, 0}, - {64, 64, 0, 0, 0, 0, 0, 0}, - {64, 0, 0, 0, 0, 64, 0, 0}, - {64, 64, 0, 0, 0, 64, 0, 0}, - {0, 0, 0, 0, 64, 0, 0, 0}, - {0, 64, 0, 0, 64, 0, 0, 0}, - {0, 0, 0, 0, 64, 64, 0, 0}, - {0, 64, 0, 0, 64, 64, 0, 0}, - {64, 0, 0, 0, 64, 0, 0, 0}, - {64, 64, 0, 0, 64, 0, 0, 0}, - {64, 0, 0, 0, 64, 64, 0, 0}, - {64, 64, 0, 0, 64, 64, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 64, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 0, 0, 64}, - {0, 0, 0, 64, 0, 0, 0, 64}, - {0, 0, 64, 0, 0, 0, 0, 0}, - {0, 0, 64, 64, 0, 0, 0, 0}, - {0, 0, 64, 0, 0, 0, 0, 64}, - {0, 0, 64, 64, 0, 0, 0, 64}, - {0, 0, 0, 0, 0, 0, 64, 0}, - {0, 0, 0, 64, 0, 0, 64, 0}, - {0, 0, 0, 0, 0, 0, 64, 64}, - {0, 0, 0, 64, 0, 0, 64, 64}, - {0, 0, 64, 0, 0, 0, 64, 0}, - {0, 0, 64, 64, 0, 0, 64, 0}, - {0, 0, 64, 0, 0, 0, 64, 64}, - {0, 0, 64, 64, 0, 0, 64, 64} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 128, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 128, 0, 0}, - {0, 128, 0, 0, 0, 128, 0, 0}, - {128, 0, 0, 0, 0, 0, 0, 0}, - {128, 128, 0, 0, 0, 0, 0, 0}, - {128, 0, 0, 0, 0, 128, 0, 0}, - {128, 128, 0, 0, 0, 128, 0, 0}, - {0, 0, 0, 0, 128, 0, 0, 0}, - {0, 128, 0, 0, 128, 0, 0, 0}, - {0, 0, 0, 0, 128, 128, 0, 0}, - {0, 128, 0, 0, 128, 128, 0, 0}, - {128, 0, 0, 0, 128, 0, 0, 0}, - {128, 128, 0, 0, 128, 0, 0, 0}, - {128, 0, 0, 0, 128, 128, 0, 0}, - {128, 128, 0, 0, 128, 128, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 128, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 0, 0, 128}, - {0, 0, 0, 128, 0, 0, 0, 128}, - {0, 0, 128, 0, 0, 0, 0, 0}, - {0, 0, 128, 128, 0, 0, 0, 0}, - {0, 0, 128, 0, 0, 0, 0, 128}, - {0, 0, 128, 128, 0, 0, 0, 128}, - {0, 0, 0, 0, 0, 0, 128, 0}, - {0, 0, 0, 128, 0, 0, 128, 0}, - {0, 0, 0, 0, 0, 0, 128, 128}, - {0, 0, 0, 128, 0, 0, 128, 128}, - {0, 0, 128, 0, 0, 0, 128, 0}, - {0, 0, 128, 128, 0, 0, 128, 0}, - {0, 0, 128, 0, 0, 0, 128, 128}, - {0, 0, 128, 128, 0, 0, 128, 128} - } - -}; - -static unsigned char fperm[16][16][8]= -{ - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 64, 0, 0, 0}, - {0, 0, 0, 0, 0, 64, 0, 0}, - {0, 0, 0, 0, 64, 64, 0, 0}, - {0, 0, 0, 0, 0, 0, 64, 0}, - {0, 0, 0, 0, 64, 0, 64, 0}, - {0, 0, 0, 0, 0, 64, 64, 0}, - {0, 0, 0, 0, 64, 64, 64, 0}, - {0, 0, 0, 0, 0, 0, 0, 64}, - {0, 0, 0, 0, 64, 0, 0, 64}, - {0, 0, 0, 0, 0, 64, 0, 64}, - {0, 0, 0, 0, 64, 64, 0, 64}, - {0, 0, 0, 0, 0, 0, 64, 64}, - {0, 0, 0, 0, 64, 0, 64, 64}, - {0, 0, 0, 0, 0, 64, 64, 64}, - {0, 0, 0, 0, 64, 64, 64, 64} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {64, 0, 0, 0, 0, 0, 0, 0}, - {0, 64, 0, 0, 0, 0, 0, 0}, - {64, 64, 0, 0, 0, 0, 0, 0}, - {0, 0, 64, 0, 0, 0, 0, 0}, - {64, 0, 64, 0, 0, 0, 0, 0}, - {0, 64, 64, 0, 0, 0, 0, 0}, - {64, 64, 64, 0, 0, 0, 0, 0}, - {0, 0, 0, 64, 0, 0, 0, 0}, - {64, 0, 0, 64, 0, 0, 0, 0}, - {0, 64, 0, 64, 0, 0, 0, 0}, - {64, 64, 0, 64, 0, 0, 0, 0}, - {0, 0, 64, 64, 0, 0, 0, 0}, - {64, 0, 64, 64, 0, 0, 0, 0}, - {0, 64, 64, 64, 0, 0, 0, 0}, - {64, 64, 64, 64, 0, 0, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 16, 0, 0, 0}, - {0, 0, 0, 0, 0, 16, 0, 0}, - {0, 0, 0, 0, 16, 16, 0, 0}, - {0, 0, 0, 0, 0, 0, 16, 0}, - {0, 0, 0, 0, 16, 0, 16, 0}, - {0, 0, 0, 0, 0, 16, 16, 0}, - {0, 0, 0, 0, 16, 16, 16, 0}, - {0, 0, 0, 0, 0, 0, 0, 16}, - {0, 0, 0, 0, 16, 0, 0, 16}, - {0, 0, 0, 0, 0, 16, 0, 16}, - {0, 0, 0, 0, 16, 16, 0, 16}, - {0, 0, 0, 0, 0, 0, 16, 16}, - {0, 0, 0, 0, 16, 0, 16, 16}, - {0, 0, 0, 0, 0, 16, 16, 16}, - {0, 0, 0, 0, 16, 16, 16, 16} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {16, 0, 0, 0, 0, 0, 0, 0}, - {0, 16, 0, 0, 0, 0, 0, 0}, - {16, 16, 0, 0, 0, 0, 0, 0}, - {0, 0, 16, 0, 0, 0, 0, 0}, - {16, 0, 16, 0, 0, 0, 0, 0}, - {0, 16, 16, 0, 0, 0, 0, 0}, - {16, 16, 16, 0, 0, 0, 0, 0}, - {0, 0, 0, 16, 0, 0, 0, 0}, - {16, 0, 0, 16, 0, 0, 0, 0}, - {0, 16, 0, 16, 0, 0, 0, 0}, - {16, 16, 0, 16, 0, 0, 0, 0}, - {0, 0, 16, 16, 0, 0, 0, 0}, - {16, 0, 16, 16, 0, 0, 0, 0}, - {0, 16, 16, 16, 0, 0, 0, 0}, - {16, 16, 16, 16, 0, 0, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 4, 0, 0, 0}, - {0, 0, 0, 0, 0, 4, 0, 0}, - {0, 0, 0, 0, 4, 4, 0, 0}, - {0, 0, 0, 0, 0, 0, 4, 0}, - {0, 0, 0, 0, 4, 0, 4, 0}, - {0, 0, 0, 0, 0, 4, 4, 0}, - {0, 0, 0, 0, 4, 4, 4, 0}, - {0, 0, 0, 0, 0, 0, 0, 4}, - {0, 0, 0, 0, 4, 0, 0, 4}, - {0, 0, 0, 0, 0, 4, 0, 4}, - {0, 0, 0, 0, 4, 4, 0, 4}, - {0, 0, 0, 0, 0, 0, 4, 4}, - {0, 0, 0, 0, 4, 0, 4, 4}, - {0, 0, 0, 0, 0, 4, 4, 4}, - {0, 0, 0, 0, 4, 4, 4, 4} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {4, 0, 0, 0, 0, 0, 0, 0}, - {0, 4, 0, 0, 0, 0, 0, 0}, - {4, 4, 0, 0, 0, 0, 0, 0}, - {0, 0, 4, 0, 0, 0, 0, 0}, - {4, 0, 4, 0, 0, 0, 0, 0}, - {0, 4, 4, 0, 0, 0, 0, 0}, - {4, 4, 4, 0, 0, 0, 0, 0}, - {0, 0, 0, 4, 0, 0, 0, 0}, - {4, 0, 0, 4, 0, 0, 0, 0}, - {0, 4, 0, 4, 0, 0, 0, 0}, - {4, 4, 0, 4, 0, 0, 0, 0}, - {0, 0, 4, 4, 0, 0, 0, 0}, - {4, 0, 4, 4, 0, 0, 0, 0}, - {0, 4, 4, 4, 0, 0, 0, 0}, - {4, 4, 4, 4, 0, 0, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 1, 0, 0, 0}, - {0, 0, 0, 0, 0, 1, 0, 0}, - {0, 0, 0, 0, 1, 1, 0, 0}, - {0, 0, 0, 0, 0, 0, 1, 0}, - {0, 0, 0, 0, 1, 0, 1, 0}, - {0, 0, 0, 0, 0, 1, 1, 0}, - {0, 0, 0, 0, 1, 1, 1, 0}, - {0, 0, 0, 0, 0, 0, 0, 1}, - {0, 0, 0, 0, 1, 0, 0, 1}, - {0, 0, 0, 0, 0, 1, 0, 1}, - {0, 0, 0, 0, 1, 1, 0, 1}, - {0, 0, 0, 0, 0, 0, 1, 1}, - {0, 0, 0, 0, 1, 0, 1, 1}, - {0, 0, 0, 0, 0, 1, 1, 1}, - {0, 0, 0, 0, 1, 1, 1, 1} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {1, 0, 0, 0, 0, 0, 0, 0}, - {0, 1, 0, 0, 0, 0, 0, 0}, - {1, 1, 0, 0, 0, 0, 0, 0}, - {0, 0, 1, 0, 0, 0, 0, 0}, - {1, 0, 1, 0, 0, 0, 0, 0}, - {0, 1, 1, 0, 0, 0, 0, 0}, - {1, 1, 1, 0, 0, 0, 0, 0}, - {0, 0, 0, 1, 0, 0, 0, 0}, - {1, 0, 0, 1, 0, 0, 0, 0}, - {0, 1, 0, 1, 0, 0, 0, 0}, - {1, 1, 0, 1, 0, 0, 0, 0}, - {0, 0, 1, 1, 0, 0, 0, 0}, - {1, 0, 1, 1, 0, 0, 0, 0}, - {0, 1, 1, 1, 0, 0, 0, 0}, - {1, 1, 1, 1, 0, 0, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 128, 0, 0, 0}, - {0, 0, 0, 0, 0, 128, 0, 0}, - {0, 0, 0, 0, 128, 128, 0, 0}, - {0, 0, 0, 0, 0, 0, 128, 0}, - {0, 0, 0, 0, 128, 0, 128, 0}, - {0, 0, 0, 0, 0, 128, 128, 0}, - {0, 0, 0, 0, 128, 128, 128, 0}, - {0, 0, 0, 0, 0, 0, 0, 128}, - {0, 0, 0, 0, 128, 0, 0, 128}, - {0, 0, 0, 0, 0, 128, 0, 128}, - {0, 0, 0, 0, 128, 128, 0, 128}, - {0, 0, 0, 0, 0, 0, 128, 128}, - {0, 0, 0, 0, 128, 0, 128, 128}, - {0, 0, 0, 0, 0, 128, 128, 128}, - {0, 0, 0, 0, 128, 128, 128, 128} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {128, 0, 0, 0, 0, 0, 0, 0}, - {0, 128, 0, 0, 0, 0, 0, 0}, - {128, 128, 0, 0, 0, 0, 0, 0}, - {0, 0, 128, 0, 0, 0, 0, 0}, - {128, 0, 128, 0, 0, 0, 0, 0}, - {0, 128, 128, 0, 0, 0, 0, 0}, - {128, 128, 128, 0, 0, 0, 0, 0}, - {0, 0, 0, 128, 0, 0, 0, 0}, - {128, 0, 0, 128, 0, 0, 0, 0}, - {0, 128, 0, 128, 0, 0, 0, 0}, - {128, 128, 0, 128, 0, 0, 0, 0}, - {0, 0, 128, 128, 0, 0, 0, 0}, - {128, 0, 128, 128, 0, 0, 0, 0}, - {0, 128, 128, 128, 0, 0, 0, 0}, - {128, 128, 128, 128, 0, 0, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 32, 0, 0, 0}, - {0, 0, 0, 0, 0, 32, 0, 0}, - {0, 0, 0, 0, 32, 32, 0, 0}, - {0, 0, 0, 0, 0, 0, 32, 0}, - {0, 0, 0, 0, 32, 0, 32, 0}, - {0, 0, 0, 0, 0, 32, 32, 0}, - {0, 0, 0, 0, 32, 32, 32, 0}, - {0, 0, 0, 0, 0, 0, 0, 32}, - {0, 0, 0, 0, 32, 0, 0, 32}, - {0, 0, 0, 0, 0, 32, 0, 32}, - {0, 0, 0, 0, 32, 32, 0, 32}, - {0, 0, 0, 0, 0, 0, 32, 32}, - {0, 0, 0, 0, 32, 0, 32, 32}, - {0, 0, 0, 0, 0, 32, 32, 32}, - {0, 0, 0, 0, 32, 32, 32, 32} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {32, 0, 0, 0, 0, 0, 0, 0}, - {0, 32, 0, 0, 0, 0, 0, 0}, - {32, 32, 0, 0, 0, 0, 0, 0}, - {0, 0, 32, 0, 0, 0, 0, 0}, - {32, 0, 32, 0, 0, 0, 0, 0}, - {0, 32, 32, 0, 0, 0, 0, 0}, - {32, 32, 32, 0, 0, 0, 0, 0}, - {0, 0, 0, 32, 0, 0, 0, 0}, - {32, 0, 0, 32, 0, 0, 0, 0}, - {0, 32, 0, 32, 0, 0, 0, 0}, - {32, 32, 0, 32, 0, 0, 0, 0}, - {0, 0, 32, 32, 0, 0, 0, 0}, - {32, 0, 32, 32, 0, 0, 0, 0}, - {0, 32, 32, 32, 0, 0, 0, 0}, - {32, 32, 32, 32, 0, 0, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 8, 0, 0, 0}, - {0, 0, 0, 0, 0, 8, 0, 0}, - {0, 0, 0, 0, 8, 8, 0, 0}, - {0, 0, 0, 0, 0, 0, 8, 0}, - {0, 0, 0, 0, 8, 0, 8, 0}, - {0, 0, 0, 0, 0, 8, 8, 0}, - {0, 0, 0, 0, 8, 8, 8, 0}, - {0, 0, 0, 0, 0, 0, 0, 8}, - {0, 0, 0, 0, 8, 0, 0, 8}, - {0, 0, 0, 0, 0, 8, 0, 8}, - {0, 0, 0, 0, 8, 8, 0, 8}, - {0, 0, 0, 0, 0, 0, 8, 8}, - {0, 0, 0, 0, 8, 0, 8, 8}, - {0, 0, 0, 0, 0, 8, 8, 8}, - {0, 0, 0, 0, 8, 8, 8, 8} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {8, 0, 0, 0, 0, 0, 0, 0}, - {0, 8, 0, 0, 0, 0, 0, 0}, - {8, 8, 0, 0, 0, 0, 0, 0}, - {0, 0, 8, 0, 0, 0, 0, 0}, - {8, 0, 8, 0, 0, 0, 0, 0}, - {0, 8, 8, 0, 0, 0, 0, 0}, - {8, 8, 8, 0, 0, 0, 0, 0}, - {0, 0, 0, 8, 0, 0, 0, 0}, - {8, 0, 0, 8, 0, 0, 0, 0}, - {0, 8, 0, 8, 0, 0, 0, 0}, - {8, 8, 0, 8, 0, 0, 0, 0}, - {0, 0, 8, 8, 0, 0, 0, 0}, - {8, 0, 8, 8, 0, 0, 0, 0}, - {0, 8, 8, 8, 0, 0, 0, 0}, - {8, 8, 8, 8, 0, 0, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 2, 0, 0, 0}, - {0, 0, 0, 0, 0, 2, 0, 0}, - {0, 0, 0, 0, 2, 2, 0, 0}, - {0, 0, 0, 0, 0, 0, 2, 0}, - {0, 0, 0, 0, 2, 0, 2, 0}, - {0, 0, 0, 0, 0, 2, 2, 0}, - {0, 0, 0, 0, 2, 2, 2, 0}, - {0, 0, 0, 0, 0, 0, 0, 2}, - {0, 0, 0, 0, 2, 0, 0, 2}, - {0, 0, 0, 0, 0, 2, 0, 2}, - {0, 0, 0, 0, 2, 2, 0, 2}, - {0, 0, 0, 0, 0, 0, 2, 2}, - {0, 0, 0, 0, 2, 0, 2, 2}, - {0, 0, 0, 0, 0, 2, 2, 2}, - {0, 0, 0, 0, 2, 2, 2, 2} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {2, 0, 0, 0, 0, 0, 0, 0}, - {0, 2, 0, 0, 0, 0, 0, 0}, - {2, 2, 0, 0, 0, 0, 0, 0}, - {0, 0, 2, 0, 0, 0, 0, 0}, - {2, 0, 2, 0, 0, 0, 0, 0}, - {0, 2, 2, 0, 0, 0, 0, 0}, - {2, 2, 2, 0, 0, 0, 0, 0}, - {0, 0, 0, 2, 0, 0, 0, 0}, - {2, 0, 0, 2, 0, 0, 0, 0}, - {0, 2, 0, 2, 0, 0, 0, 0}, - {2, 2, 0, 2, 0, 0, 0, 0}, - {0, 0, 2, 2, 0, 0, 0, 0}, - {2, 0, 2, 2, 0, 0, 0, 0}, - {0, 2, 2, 2, 0, 0, 0, 0}, - {2, 2, 2, 2, 0, 0, 0, 0} - } - -}; - -//bit 0 is left-most in byte -static int bytebit[] = { - 0200,0100,040,020,010,04,02,01 -}; - -#if 0 -static int nibblebit[] = { - 010,04,02,01 -}; -#endif - -//Set key (initialize key schedule array) - -static void des_setkey(char *subkey, const char *key) -{ - unsigned char (*kn)[8] = (unsigned char (*)[8]) subkey; - char pc1m[56]; //place to modify pc1 into - char pcr[56]; //place to rotate pc1 into - int i,j,l; - int m; - - //Clear key schedule - memset(subkey, 0, 16*8); - - for (j=0; j<56; j++) { //convert pc1 to bits of key - l=pc1[j]-1; //integer bit location - m = l & 07; //find bit - pc1m[j]=(key[l>>3] & //find which key byte l is in - bytebit[m]) //and which bit of that byte - ? 1 : 0; //and store 1-bit result - } - for (i=0; i<16; i++) { //key chunk for each iteration - for (j=0; j<56; j++) //rotate pc1 the right amount - pcr[j] = pc1m[(l=j+totrot[i])<(j<28? 28 : 56) ? l: l-28]; - //rotate left and right halves independently - for (j=0; j<48; j++){ //select bits individually - //check bit that goes to kn[j] - if (pcr[pc2[j]-1]){ - //mask it in if it's there - l= j % 6; - kn[i][j/6] |= bytebit[l] >> 2; - } - } - } -} - - -//Permute inblock with perm -static void permute(char *inblock,char perm[16][16][8],char *outblock) -{ - int i,j; - char *ib, *ob; //ptr to input or output block - char *p, *q; - - //Clear output block - memset(outblock, 0, 8); - - ib = inblock; - for (j = 0; j < 16; j += 2, ib++) { //for each input nibble - ob = outblock; - p = perm[j][(*ib >> 4) & 017]; - q = perm[j + 1][*ib & 017]; - for (i = 8; i != 0; i--){ //and each output byte - *ob++ |= *p++ | *q++; //OR the masks together*/ - } - } -} - -//The nonlinear function f(r,k), the heart of DES -static int f(unsigned int r,const unsigned char subkey[8]) -{ - unsigned int rval,rt; - //Run E(R) ^ K through the combined S & P boxes - //This code takes advantage of a convenient regularity in - //E, namely that each group of 6 bits in E(R) feeding - //a single S-box is a contiguous segment of R. - - rt = (r >> 1) | ((r & 1) ? 0x80000000 : 0); - rval = 0; - rval |= sp_[0][((rt >> 26) ^ *subkey++) & 0x3f]; - rval |= sp_[1][((rt >> 22) ^ *subkey++) & 0x3f]; - rval |= sp_[2][((rt >> 18) ^ *subkey++) & 0x3f]; - rval |= sp_[3][((rt >> 14) ^ *subkey++) & 0x3f]; - rval |= sp_[4][((rt >> 10) ^ *subkey++) & 0x3f]; - rval |= sp_[5][((rt >> 6) ^ *subkey++) & 0x3f]; - rval |= sp_[6][((rt >> 2) ^ *subkey++) & 0x3f]; - rt = (r << 1) | ((r & 0x80000000) ? 1 : 0); - rval |= sp_[7][(rt ^ *subkey) & 0x3f]; - - return rval; -} - -//Do one DES cipher round -static void round(int num,unsigned int *block, const unsigned char (*kn)[8]) -{ - //The rounds are numbered from 0 to 15. On even rounds - //the right half is fed to f() and the result exclusive-ORs - //the left half; on odd rounds the reverse is done. - - if(num & 1){ - block[1] ^= f(block[0],kn[num]); - } else { - block[0] ^= f(block[1],kn[num]); - } -} - -//In-place encryption of 64-bit block -static void endes(int mode, char *block, const char *subkey) -{ - int i; - unsigned int work[2]; //Working data storage - int tmp; - - if(mode == 0) - permute(block,(char (*)[16][8])iperm,(char *)work); //Initial Permutation - else - memcpy((char*)work, block, 8); - - work[0] = htonl(work[0]); - work[1] = htonl(work[1]); - - //Do the 16 rounds - for (i=0; i<16; i++) - round(i,work, (unsigned char (*)[8]) subkey); - - //Left/right half swap - tmp = work[0]; - work[0] = work[1]; - work[1] = tmp; - - work[0] = htonl(work[0]); - work[1] = htonl(work[1]); - - if(mode == 0) - permute((char *)work,(char (*)[16][8])fperm,block); //Inverse initial permutation - else - memcpy(block, (char*)work, 8); -} - -//In-place decryption of 64-bit block -static void dedes(int mode, char *block, const char *subkey) -{ - int i; - unsigned int work[2]; //Working data storage - int tmp; - - if(mode == 0) - permute(block,(char (*)[16][8])iperm,(char *)work); //Initial permutation - else - memcpy((char *)work, block, 8); - - work[0] = htonl(work[0]); - work[1] = htonl(work[1]); - - //Left/right half swap - tmp = work[0]; - work[0] = work[1]; - work[1] = tmp; - - //Do the 16 rounds in reverse order - for (i=15; i >= 0; i--) - round(i,work, (unsigned char (*)[8]) subkey); - - work[0] = htonl(work[0]); - work[1] = htonl(work[1]); - - if(mode == 0) - permute((char *)work,(char (*)[16][8])fperm,block); //Inverse initial permutation - else - memcpy(block, (char*)work, 8); -} - -std::string CDesEncrypt::SetKey(const std::string& key) -{ - if(m_mode == 2) return key; - - char temp[128]; - des_setkey(temp, key.data()); - return std::string(temp, 128); -} - -std::string CDesEncrypt::Encrypt(const std::string& data, const std::string& desKey) -{ - std::string result; - int len = (int)data.length(); - result.reserve((len & 8) + 8); - char temp[8]; - const char *ptr = data.data(); - while(len >= 8) - { - memcpy(temp, ptr, 8); - ptr += 8; - len -= 8; - endes(m_mode, temp, desKey.data()); - result.append(temp, 8); - } - if( len > 0) - { - memset(temp, 0, 8); - memcpy(temp, ptr, len); - endes(m_mode, temp, desKey.data()); - result.append(temp, 8); - } - return result; -} - -std::string CDesEncrypt::Decrypt(const std::string& data, const std::string& desKey) -{ - std::string result; - int len = (int)data.length(); - result.reserve(len); - char temp[8]; - const char *ptr = data.data(); - while(len >= 8) - { - memcpy(temp, ptr, 8); - ptr += 8; - len -= 8; - dedes(m_mode, temp, desKey.data()); - result.append(temp, 8); - } - return result; -} - -void CDesEncrypt::Encrypt(std::string& data, const std::string& desKey, std::string::size_type offset) -{ - if(offset >= data.length()) return; - int len = (int)(data.length() - offset); - data.reserve((data.length() & 8) + 8); - char temp[8]; - while(len >= 8) - { - data.copy(temp, 8, offset); - endes(m_mode, temp, desKey.data()); - data.replace( offset, 8, temp, 8); - offset += 8; - len -= 8; - } - if( len > 0) - { - memset(temp, 0, 8); - data.copy(temp, len, offset); - endes(m_mode, temp, desKey.data()); - data.replace( offset, 8, temp, 8); - } -} - -void CDesEncrypt::Decrypt(std::string& data, const std::string& desKey, std::string::size_type offset) -{ - int len = (int)(data.length() - offset); - char temp[8]; - while(len >= 8) - { - data.copy(temp, 8, offset); - dedes(m_mode, temp, desKey.data()); - data.replace(offset, 8, temp, 8); - offset += 8; - len -= 8; - } -} - diff --git a/features/aliww/source/.svn/text-base/es_eval_service.cpp.svn-base b/features/aliww/source/.svn/text-base/es_eval_service.cpp.svn-base deleted file mode 100644 index 46a1a80..0000000 --- a/features/aliww/source/.svn/text-base/es_eval_service.cpp.svn-base +++ /dev/null @@ -1,1753 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `es_eval_service.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __IMSINNER__ESICEEval__setESEval_name = "setESEval"; - -static const ::std::string __IMSINNER__ESICEEval__getESEval_name = "getESEval"; - -static const ::std::string __IMSINNER__ESICEEval__setESEvalResult_name = "setESEvalResult"; - -static const ::std::string __IMSINNER__ESICEEval__getESEvalResult_name = "getESEvalResult"; - -static const ::std::string __IMSINNER__ESICEEval__getESEvalResultToday_name = "getESEvalResultToday"; - -static const ::std::string __IMSINNER__ESICEEval__getESEvalResultHistory_name = "getESEvalResultHistory"; - -static const ::std::string __IMSINNER__ESICEEval__getESEvalResultHistorybypage_name = "getESEvalResultHistorybypage"; - -void -IceInternal::incRef(::IMSINNER::ESICEEval* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IMSINNER::ESICEEval* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::IMSINNER::ESICEEval* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::IMSINNER::ESICEEval* p) -{ - p->__decRef(); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::ESICEEvalPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::ESICEEvalPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::IMSINNER::ESICEEval; - v->__copyFrom(proxy); - } -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::ESICEEvalPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -IMSINNER::SICEESEval::operator==(const SICEESEval& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SICEESEval::operator!=(const SICEESEval& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(code != __rhs.code) - { - return true; - } - if(codename != __rhs.codename) - { - return true; - } - if(welcome != __rhs.welcome) - { - return true; - } - return false; -} - -bool -IMSINNER::SICEESEval::operator<(const SICEESEval& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(code < __rhs.code) - { - return true; - } - else if(__rhs.code < code) - { - return false; - } - if(codename < __rhs.codename) - { - return true; - } - else if(__rhs.codename < codename) - { - return false; - } - if(welcome < __rhs.welcome) - { - return true; - } - else if(__rhs.welcome < welcome) - { - return false; - } - return false; -} - -void -IMSINNER::SICEESEval::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(code); - __os->write(codename); - __os->write(welcome); -} - -void -IMSINNER::SICEESEval::__read(::IceInternal::BasicStream* __is) -{ - __is->read(code); - __is->read(codename); - __is->read(welcome); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SICEESEval* begin, const ::IMSINNER::SICEESEval* end, ::IMSINNER::__U__SICEESEvalSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SICEESEvalSeq& v, ::IMSINNER::__U__SICEESEvalSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 6); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -IMSINNER::SICEESCode::operator==(const SICEESCode& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SICEESCode::operator!=(const SICEESCode& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(code != __rhs.code) - { - return true; - } - if(codename != __rhs.codename) - { - return true; - } - if(num != __rhs.num) - { - return true; - } - return false; -} - -bool -IMSINNER::SICEESCode::operator<(const SICEESCode& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(code < __rhs.code) - { - return true; - } - else if(__rhs.code < code) - { - return false; - } - if(codename < __rhs.codename) - { - return true; - } - else if(__rhs.codename < codename) - { - return false; - } - if(num < __rhs.num) - { - return true; - } - else if(__rhs.num < num) - { - return false; - } - return false; -} - -void -IMSINNER::SICEESCode::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(code); - __os->write(codename); - __os->write(num); -} - -void -IMSINNER::SICEESCode::__read(::IceInternal::BasicStream* __is) -{ - __is->read(code); - __is->read(codename); - __is->read(num); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SICEESCode* begin, const ::IMSINNER::SICEESCode* end, ::IMSINNER::__U__SICEESCodeSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SICEESCodeSeq& v, ::IMSINNER::__U__SICEESCodeSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 9); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -IMSINNER::SICEESEvalResult::operator==(const SICEESEvalResult& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SICEESEvalResult::operator!=(const SICEESEvalResult& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(sendNum != __rhs.sendNum) - { - return true; - } - if(receNum != __rhs.receNum) - { - return true; - } - if(codes != __rhs.codes) - { - return true; - } - return false; -} - -bool -IMSINNER::SICEESEvalResult::operator<(const SICEESEvalResult& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(sendNum < __rhs.sendNum) - { - return true; - } - else if(__rhs.sendNum < sendNum) - { - return false; - } - if(receNum < __rhs.receNum) - { - return true; - } - else if(__rhs.receNum < receNum) - { - return false; - } - if(codes < __rhs.codes) - { - return true; - } - else if(__rhs.codes < codes) - { - return false; - } - return false; -} - -void -IMSINNER::SICEESEvalResult::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(sendNum); - __os->write(receNum); - if(codes.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &codes[0], &codes[0] + codes.size(), ::IMSINNER::__U__SICEESCodeSeq()); - } -} - -void -IMSINNER::SICEESEvalResult::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(sendNum); - __is->read(receNum); - ::IMSINNER::__read(__is, codes, ::IMSINNER::__U__SICEESCodeSeq()); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SICEESEvalResult* begin, const ::IMSINNER::SICEESEvalResult* end, ::IMSINNER::__U__SICEESEvalResultSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SICEESEvalResultSeq& v, ::IMSINNER::__U__SICEESEvalResultSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 10); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -IMSINNER::SICEESEvalResultEx::operator==(const SICEESEvalResultEx& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SICEESEvalResultEx::operator!=(const SICEESEvalResultEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(sendNum != __rhs.sendNum) - { - return true; - } - if(receNum != __rhs.receNum) - { - return true; - } - if(codes != __rhs.codes) - { - return true; - } - if(evalDate != __rhs.evalDate) - { - return true; - } - return false; -} - -bool -IMSINNER::SICEESEvalResultEx::operator<(const SICEESEvalResultEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(sendNum < __rhs.sendNum) - { - return true; - } - else if(__rhs.sendNum < sendNum) - { - return false; - } - if(receNum < __rhs.receNum) - { - return true; - } - else if(__rhs.receNum < receNum) - { - return false; - } - if(codes < __rhs.codes) - { - return true; - } - else if(__rhs.codes < codes) - { - return false; - } - if(evalDate < __rhs.evalDate) - { - return true; - } - else if(__rhs.evalDate < evalDate) - { - return false; - } - return false; -} - -void -IMSINNER::SICEESEvalResultEx::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(sendNum); - __os->write(receNum); - if(codes.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &codes[0], &codes[0] + codes.size(), ::IMSINNER::__U__SICEESCodeSeq()); - } - __os->write(evalDate); -} - -void -IMSINNER::SICEESEvalResultEx::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(sendNum); - __is->read(receNum); - ::IMSINNER::__read(__is, codes, ::IMSINNER::__U__SICEESCodeSeq()); - __is->read(evalDate); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SICEESEvalResultEx* begin, const ::IMSINNER::SICEESEvalResultEx* end, ::IMSINNER::__U__SICEESEvalResultExSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SICEESEvalResultExSeq& v, ::IMSINNER::__U__SICEESEvalResultExSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 11); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -IMSINNER::__addObject(const ESICEEvalPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -IMSINNER::__usesClasses(const ESICEEvalPtr& p) -{ - return p->__usesClasses(); -} - -void -IMSINNER::__decRefUnsafe(const ESICEEvalPtr& p) -{ - p->__decRefUnsafe(); -} - -void -IMSINNER::__clearHandleUnsafe(ESICEEvalPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::IMSINNER::ESICEEval::setESEval(const ::std::string& uid, const ::std::string& evalcontent, const ::std::string& welcome, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__ESICEEval__setESEval_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::ESICEEval* __del = dynamic_cast< ::IceDelegate::IMSINNER::ESICEEval*>(__delBase.get()); - return __del->setESEval(uid, evalcontent, welcome, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::ESICEEval::getESEval(const ::std::string& uid, ::std::string& evalcontent, ::std::string& welcome, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__ESICEEval__getESEval_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::ESICEEval* __del = dynamic_cast< ::IceDelegate::IMSINNER::ESICEEval*>(__delBase.get()); - return __del->getESEval(uid, evalcontent, welcome, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::ESICEEval::setESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, const ::std::string& evalresult, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__ESICEEval__setESEvalResult_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::ESICEEval* __del = dynamic_cast< ::IceDelegate::IMSINNER::ESICEEval*>(__delBase.get()); - return __del->setESEvalResult(uid, buyerid, evalId, evalresult, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::ESICEEval::getESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, ::std::string& evalresult, ::std::string& gmtcreate, ::std::string& gmtmodify, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__ESICEEval__getESEvalResult_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::ESICEEval* __del = dynamic_cast< ::IceDelegate::IMSINNER::ESICEEval*>(__delBase.get()); - return __del->getESEvalResult(uid, buyerid, evalId, evalresult, gmtcreate, gmtmodify, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::ESICEEval::getESEvalResultToday(const ::std::string& uid, ::IMSINNER::SICEESEvalResultSeq& evalInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__ESICEEval__getESEvalResultToday_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::ESICEEval* __del = dynamic_cast< ::IceDelegate::IMSINNER::ESICEEval*>(__delBase.get()); - return __del->getESEvalResultToday(uid, evalInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::ESICEEval::getESEvalResultHistory(const ::std::string& uid, const ::std::string& querytime, ::IMSINNER::SICEESEvalResultSeq& evalInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__ESICEEval__getESEvalResultHistory_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::ESICEEval* __del = dynamic_cast< ::IceDelegate::IMSINNER::ESICEEval*>(__delBase.get()); - return __del->getESEvalResultHistory(uid, querytime, evalInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::ESICEEval::getESEvalResultHistorybypage(const ::std::string& uid, const ::std::string& childid, const ::std::string& begindate, const ::std::string& enddate, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& pagecount, ::IMSINNER::SICEESEvalResultExSeq& evalInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__ESICEEval__getESEvalResultHistorybypage_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::ESICEEval* __del = dynamic_cast< ::IceDelegate::IMSINNER::ESICEEval*>(__delBase.get()); - return __del->getESEvalResultHistorybypage(uid, childid, begindate, enddate, pageno, pagesize, pagecount, evalInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::IMSINNER::ESICEEval::ice_staticId() -{ - return ::IMSINNER::ESICEEval::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::IMSINNER::ESICEEval::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::IMSINNER::ESICEEval); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::IMSINNER::ESICEEval::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::IMSINNER::ESICEEval); -} - -bool -IceProxy::IMSINNER::operator==(const ::IceProxy::IMSINNER::ESICEEval& l, const ::IceProxy::IMSINNER::ESICEEval& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::IMSINNER::operator!=(const ::IceProxy::IMSINNER::ESICEEval& l, const ::IceProxy::IMSINNER::ESICEEval& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::IMSINNER::operator<(const ::IceProxy::IMSINNER::ESICEEval& l, const ::IceProxy::IMSINNER::ESICEEval& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::IMSINNER::operator<=(const ::IceProxy::IMSINNER::ESICEEval& l, const ::IceProxy::IMSINNER::ESICEEval& r) -{ - return l < r || l == r; -} - -bool -IceProxy::IMSINNER::operator>(const ::IceProxy::IMSINNER::ESICEEval& l, const ::IceProxy::IMSINNER::ESICEEval& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::IMSINNER::operator>=(const ::IceProxy::IMSINNER::ESICEEval& l, const ::IceProxy::IMSINNER::ESICEEval& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::IMSINNER::ESICEEval::setESEval(const ::std::string& uid, const ::std::string& evalcontent, const ::std::string& welcome, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__ESICEEval__setESEval_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(evalcontent); - __os->write(welcome); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::ESICEEval::getESEval(const ::std::string& uid, ::std::string& evalcontent, ::std::string& welcome, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__ESICEEval__getESEval_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(evalcontent); - __is->read(welcome); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::ESICEEval::setESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, const ::std::string& evalresult, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__ESICEEval__setESEvalResult_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(buyerid); - __os->write(evalId); - __os->write(evalresult); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::ESICEEval::getESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, ::std::string& evalresult, ::std::string& gmtcreate, ::std::string& gmtmodify, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__ESICEEval__getESEvalResult_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(buyerid); - __os->write(evalId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(evalresult); - __is->read(gmtcreate); - __is->read(gmtmodify); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::ESICEEval::getESEvalResultToday(const ::std::string& uid, ::IMSINNER::SICEESEvalResultSeq& evalInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__ESICEEval__getESEvalResultToday_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMSINNER::__read(__is, evalInfos, ::IMSINNER::__U__SICEESEvalResultSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::ESICEEval::getESEvalResultHistory(const ::std::string& uid, const ::std::string& querytime, ::IMSINNER::SICEESEvalResultSeq& evalInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__ESICEEval__getESEvalResultHistory_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(querytime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMSINNER::__read(__is, evalInfos, ::IMSINNER::__U__SICEESEvalResultSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::ESICEEval::getESEvalResultHistorybypage(const ::std::string& uid, const ::std::string& childid, const ::std::string& begindate, const ::std::string& enddate, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& pagecount, ::IMSINNER::SICEESEvalResultExSeq& evalInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__ESICEEval__getESEvalResultHistorybypage_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(childid); - __os->write(begindate); - __os->write(enddate); - __os->write(pageno); - __os->write(pagesize); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(pagecount); - ::IMSINNER::__read(__is, evalInfos, ::IMSINNER::__U__SICEESEvalResultExSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::IMSINNER::ESICEEval::setESEval(const ::std::string& uid, const ::std::string& evalcontent, const ::std::string& welcome, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__ESICEEval__setESEval_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::ESICEEval* __servant = dynamic_cast< ::IMSINNER::ESICEEval*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setESEval(uid, evalcontent, welcome, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::ESICEEval::getESEval(const ::std::string& uid, ::std::string& evalcontent, ::std::string& welcome, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__ESICEEval__getESEval_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::ESICEEval* __servant = dynamic_cast< ::IMSINNER::ESICEEval*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESEval(uid, evalcontent, welcome, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::ESICEEval::setESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, const ::std::string& evalresult, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__ESICEEval__setESEvalResult_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::ESICEEval* __servant = dynamic_cast< ::IMSINNER::ESICEEval*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setESEvalResult(uid, buyerid, evalId, evalresult, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::ESICEEval::getESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, ::std::string& evalresult, ::std::string& gmtcreate, ::std::string& gmtmodify, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__ESICEEval__getESEvalResult_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::ESICEEval* __servant = dynamic_cast< ::IMSINNER::ESICEEval*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESEvalResult(uid, buyerid, evalId, evalresult, gmtcreate, gmtmodify, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::ESICEEval::getESEvalResultToday(const ::std::string& uid, ::IMSINNER::SICEESEvalResultSeq& evalInfos, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__ESICEEval__getESEvalResultToday_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::ESICEEval* __servant = dynamic_cast< ::IMSINNER::ESICEEval*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESEvalResultToday(uid, evalInfos, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::ESICEEval::getESEvalResultHistory(const ::std::string& uid, const ::std::string& querytime, ::IMSINNER::SICEESEvalResultSeq& evalInfos, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__ESICEEval__getESEvalResultHistory_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::ESICEEval* __servant = dynamic_cast< ::IMSINNER::ESICEEval*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESEvalResultHistory(uid, querytime, evalInfos, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::ESICEEval::getESEvalResultHistorybypage(const ::std::string& uid, const ::std::string& childid, const ::std::string& begindate, const ::std::string& enddate, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& pagecount, ::IMSINNER::SICEESEvalResultExSeq& evalInfos, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__ESICEEval__getESEvalResultHistorybypage_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::ESICEEval* __servant = dynamic_cast< ::IMSINNER::ESICEEval*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESEvalResultHistorybypage(uid, childid, begindate, enddate, pageno, pagesize, pagecount, evalInfos, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -IMSINNER::ESICEEval::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __IMSINNER__ESICEEval_ids[2] = -{ - "::IMSINNER::ESICEEval", - "::Ice::Object" -}; - -bool -IMSINNER::ESICEEval::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__IMSINNER__ESICEEval_ids, __IMSINNER__ESICEEval_ids + 2, _s); -} - -::std::vector< ::std::string> -IMSINNER::ESICEEval::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__IMSINNER__ESICEEval_ids[0], &__IMSINNER__ESICEEval_ids[2]); -} - -const ::std::string& -IMSINNER::ESICEEval::ice_id(const ::Ice::Current&) const -{ - return __IMSINNER__ESICEEval_ids[0]; -} - -const ::std::string& -IMSINNER::ESICEEval::ice_staticId() -{ - return __IMSINNER__ESICEEval_ids[0]; -} - -::IceInternal::DispatchStatus -IMSINNER::ESICEEval::___setESEval(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string evalcontent; - ::std::string welcome; - __is->read(uid); - __is->read(evalcontent); - __is->read(welcome); - ::Ice::Int __ret = setESEval(uid, evalcontent, welcome, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::ESICEEval::___getESEval(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::std::string evalcontent; - ::std::string welcome; - ::Ice::Int __ret = getESEval(uid, evalcontent, welcome, __current); - __os->write(evalcontent); - __os->write(welcome); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::ESICEEval::___setESEvalResult(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string buyerid; - ::Ice::Int evalId; - ::std::string evalresult; - __is->read(uid); - __is->read(buyerid); - __is->read(evalId); - __is->read(evalresult); - ::Ice::Int __ret = setESEvalResult(uid, buyerid, evalId, evalresult, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::ESICEEval::___getESEvalResult(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string buyerid; - ::Ice::Int evalId; - __is->read(uid); - __is->read(buyerid); - __is->read(evalId); - ::std::string evalresult; - ::std::string gmtcreate; - ::std::string gmtmodify; - ::Ice::Int __ret = getESEvalResult(uid, buyerid, evalId, evalresult, gmtcreate, gmtmodify, __current); - __os->write(evalresult); - __os->write(gmtcreate); - __os->write(gmtmodify); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::ESICEEval::___getESEvalResultToday(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::IMSINNER::SICEESEvalResultSeq evalInfos; - ::Ice::Int __ret = getESEvalResultToday(uid, evalInfos, __current); - if(evalInfos.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &evalInfos[0], &evalInfos[0] + evalInfos.size(), ::IMSINNER::__U__SICEESEvalResultSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::ESICEEval::___getESEvalResultHistory(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string querytime; - __is->read(uid); - __is->read(querytime); - ::IMSINNER::SICEESEvalResultSeq evalInfos; - ::Ice::Int __ret = getESEvalResultHistory(uid, querytime, evalInfos, __current); - if(evalInfos.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &evalInfos[0], &evalInfos[0] + evalInfos.size(), ::IMSINNER::__U__SICEESEvalResultSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::ESICEEval::___getESEvalResultHistorybypage(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string childid; - ::std::string begindate; - ::std::string enddate; - ::Ice::Int pageno; - ::Ice::Int pagesize; - __is->read(uid); - __is->read(childid); - __is->read(begindate); - __is->read(enddate); - __is->read(pageno); - __is->read(pagesize); - ::Ice::Int pagecount; - ::IMSINNER::SICEESEvalResultExSeq evalInfos; - ::Ice::Int __ret = getESEvalResultHistorybypage(uid, childid, begindate, enddate, pageno, pagesize, pagecount, evalInfos, __current); - __os->write(pagecount); - if(evalInfos.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &evalInfos[0], &evalInfos[0] + evalInfos.size(), ::IMSINNER::__U__SICEESEvalResultExSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __IMSINNER__ESICEEval_all[] = -{ - "getESEval", - "getESEvalResult", - "getESEvalResultHistory", - "getESEvalResultHistorybypage", - "getESEvalResultToday", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "setESEval", - "setESEvalResult" -}; - -::IceInternal::DispatchStatus -IMSINNER::ESICEEval::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__IMSINNER__ESICEEval_all, __IMSINNER__ESICEEval_all + 11, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __IMSINNER__ESICEEval_all) - { - case 0: - { - return ___getESEval(in, current); - } - case 1: - { - return ___getESEvalResult(in, current); - } - case 2: - { - return ___getESEvalResultHistory(in, current); - } - case 3: - { - return ___getESEvalResultHistorybypage(in, current); - } - case 4: - { - return ___getESEvalResultToday(in, current); - } - case 5: - { - return ___ice_id(in, current); - } - case 6: - { - return ___ice_ids(in, current); - } - case 7: - { - return ___ice_isA(in, current); - } - case 8: - { - return ___ice_ping(in, current); - } - case 9: - { - return ___setESEval(in, current); - } - case 10: - { - return ___setESEvalResult(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -IMSINNER::ESICEEval::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -IMSINNER::ESICEEval::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -IMSINNER::ESICEEval::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type IMSINNER::ESICEEval was not generated with stream support"; - throw ex; -} - -void -IMSINNER::ESICEEval::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type IMSINNER::ESICEEval was not generated with stream support"; - throw ex; -} - -void -IMSINNER::__patch__ESICEEvalPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::IMSINNER::ESICEEvalPtr* p = static_cast< ::IMSINNER::ESICEEvalPtr*>(__addr); - assert(p); - *p = ::IMSINNER::ESICEEvalPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::IMSINNER::ESICEEval::ice_staticId(); - throw e; - } -} - -bool -IMSINNER::operator==(const ::IMSINNER::ESICEEval& l, const ::IMSINNER::ESICEEval& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IMSINNER::operator!=(const ::IMSINNER::ESICEEval& l, const ::IMSINNER::ESICEEval& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IMSINNER::operator<(const ::IMSINNER::ESICEEval& l, const ::IMSINNER::ESICEEval& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IMSINNER::operator<=(const ::IMSINNER::ESICEEval& l, const ::IMSINNER::ESICEEval& r) -{ - return l < r || l == r; -} - -bool -IMSINNER::operator>(const ::IMSINNER::ESICEEval& l, const ::IMSINNER::ESICEEval& r) -{ - return !(l < r) && !(l == r); -} - -bool -IMSINNER::operator>=(const ::IMSINNER::ESICEEval& l, const ::IMSINNER::ESICEEval& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/es_expandarea_service.cpp.svn-base b/features/aliww/source/.svn/text-base/es_expandarea_service.cpp.svn-base deleted file mode 100644 index 03ad2f2..0000000 --- a/features/aliww/source/.svn/text-base/es_expandarea_service.cpp.svn-base +++ /dev/null @@ -1,1104 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `es_expandarea_service.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __IMSINNER__ESICEExpandArea__getESExpandArea_name = "getESExpandArea"; - -static const ::std::string __IMSINNER__ESICEExpandArea__getESExpandAreaById_name = "getESExpandAreaById"; - -static const ::std::string __IMSINNER__ESICEExpandArea__addESExpandArea_name = "addESExpandArea"; - -static const ::std::string __IMSINNER__ESICEExpandArea__updateESExpandArea_name = "updateESExpandArea"; - -static const ::std::string __IMSINNER__ESICEExpandArea__delESExpandArea_name = "delESExpandArea"; - -void -IceInternal::incRef(::IMSINNER::ESICEExpandArea* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IMSINNER::ESICEExpandArea* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::IMSINNER::ESICEExpandArea* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::IMSINNER::ESICEExpandArea* p) -{ - p->__decRef(); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::ESICEExpandAreaPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::ESICEExpandAreaPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::IMSINNER::ESICEExpandArea; - v->__copyFrom(proxy); - } -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::ESICEExpandAreaPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -IMSINNER::SICEExpandArea::operator==(const SICEExpandArea& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SICEExpandArea::operator!=(const SICEExpandArea& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(id != __rhs.id) - { - return true; - } - if(areaname != __rhs.areaname) - { - return true; - } - if(url != __rhs.url) - { - return true; - } - if(picpath != __rhs.picpath) - { - return true; - } - if(createtime != __rhs.createtime) - { - return true; - } - return false; -} - -bool -IMSINNER::SICEExpandArea::operator<(const SICEExpandArea& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(id < __rhs.id) - { - return true; - } - else if(__rhs.id < id) - { - return false; - } - if(areaname < __rhs.areaname) - { - return true; - } - else if(__rhs.areaname < areaname) - { - return false; - } - if(url < __rhs.url) - { - return true; - } - else if(__rhs.url < url) - { - return false; - } - if(picpath < __rhs.picpath) - { - return true; - } - else if(__rhs.picpath < picpath) - { - return false; - } - if(createtime < __rhs.createtime) - { - return true; - } - else if(__rhs.createtime < createtime) - { - return false; - } - return false; -} - -void -IMSINNER::SICEExpandArea::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(id); - __os->write(areaname); - __os->write(url); - __os->write(picpath); - __os->write(createtime); -} - -void -IMSINNER::SICEExpandArea::__read(::IceInternal::BasicStream* __is) -{ - __is->read(id); - __is->read(areaname); - __is->read(url); - __is->read(picpath); - __is->read(createtime); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SICEExpandArea* begin, const ::IMSINNER::SICEExpandArea* end, ::IMSINNER::__U__SICEExpandAreaSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SICEExpandAreaSeq& v, ::IMSINNER::__U__SICEExpandAreaSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 8); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -IMSINNER::__addObject(const ESICEExpandAreaPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -IMSINNER::__usesClasses(const ESICEExpandAreaPtr& p) -{ - return p->__usesClasses(); -} - -void -IMSINNER::__decRefUnsafe(const ESICEExpandAreaPtr& p) -{ - p->__decRefUnsafe(); -} - -void -IMSINNER::__clearHandleUnsafe(ESICEExpandAreaPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::IMSINNER::ESICEExpandArea::getESExpandArea(const ::std::string& uid, ::IMSINNER::SICEExpandAreaSeq& areaInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__ESICEExpandArea__getESExpandArea_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::ESICEExpandArea* __del = dynamic_cast< ::IceDelegate::IMSINNER::ESICEExpandArea*>(__delBase.get()); - return __del->getESExpandArea(uid, areaInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::ESICEExpandArea::getESExpandAreaById(const ::std::string& uid, ::Ice::Int id, ::IMSINNER::SICEExpandArea& areaInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__ESICEExpandArea__getESExpandAreaById_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::ESICEExpandArea* __del = dynamic_cast< ::IceDelegate::IMSINNER::ESICEExpandArea*>(__delBase.get()); - return __del->getESExpandAreaById(uid, id, areaInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::ESICEExpandArea::addESExpandArea(const ::std::string& uid, const ::IMSINNER::SICEExpandArea& areaInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__ESICEExpandArea__addESExpandArea_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::ESICEExpandArea* __del = dynamic_cast< ::IceDelegate::IMSINNER::ESICEExpandArea*>(__delBase.get()); - return __del->addESExpandArea(uid, areaInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::ESICEExpandArea::updateESExpandArea(const ::std::string& uid, const ::IMSINNER::SICEExpandArea& areaInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__ESICEExpandArea__updateESExpandArea_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::ESICEExpandArea* __del = dynamic_cast< ::IceDelegate::IMSINNER::ESICEExpandArea*>(__delBase.get()); - return __del->updateESExpandArea(uid, areaInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::ESICEExpandArea::delESExpandArea(const ::std::string& uid, ::Ice::Int id, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__ESICEExpandArea__delESExpandArea_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::ESICEExpandArea* __del = dynamic_cast< ::IceDelegate::IMSINNER::ESICEExpandArea*>(__delBase.get()); - return __del->delESExpandArea(uid, id, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::IMSINNER::ESICEExpandArea::ice_staticId() -{ - return ::IMSINNER::ESICEExpandArea::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::IMSINNER::ESICEExpandArea::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::IMSINNER::ESICEExpandArea); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::IMSINNER::ESICEExpandArea::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::IMSINNER::ESICEExpandArea); -} - -bool -IceProxy::IMSINNER::operator==(const ::IceProxy::IMSINNER::ESICEExpandArea& l, const ::IceProxy::IMSINNER::ESICEExpandArea& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::IMSINNER::operator!=(const ::IceProxy::IMSINNER::ESICEExpandArea& l, const ::IceProxy::IMSINNER::ESICEExpandArea& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::IMSINNER::operator<(const ::IceProxy::IMSINNER::ESICEExpandArea& l, const ::IceProxy::IMSINNER::ESICEExpandArea& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::IMSINNER::operator<=(const ::IceProxy::IMSINNER::ESICEExpandArea& l, const ::IceProxy::IMSINNER::ESICEExpandArea& r) -{ - return l < r || l == r; -} - -bool -IceProxy::IMSINNER::operator>(const ::IceProxy::IMSINNER::ESICEExpandArea& l, const ::IceProxy::IMSINNER::ESICEExpandArea& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::IMSINNER::operator>=(const ::IceProxy::IMSINNER::ESICEExpandArea& l, const ::IceProxy::IMSINNER::ESICEExpandArea& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::IMSINNER::ESICEExpandArea::getESExpandArea(const ::std::string& uid, ::IMSINNER::SICEExpandAreaSeq& areaInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__ESICEExpandArea__getESExpandArea_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMSINNER::__read(__is, areaInfos, ::IMSINNER::__U__SICEExpandAreaSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::ESICEExpandArea::getESExpandAreaById(const ::std::string& uid, ::Ice::Int id, ::IMSINNER::SICEExpandArea& areaInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__ESICEExpandArea__getESExpandAreaById_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(id); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - areaInfos.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::ESICEExpandArea::addESExpandArea(const ::std::string& uid, const ::IMSINNER::SICEExpandArea& areaInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__ESICEExpandArea__addESExpandArea_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - areaInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::ESICEExpandArea::updateESExpandArea(const ::std::string& uid, const ::IMSINNER::SICEExpandArea& areaInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__ESICEExpandArea__updateESExpandArea_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - areaInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::ESICEExpandArea::delESExpandArea(const ::std::string& uid, ::Ice::Int id, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__ESICEExpandArea__delESExpandArea_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(id); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::IMSINNER::ESICEExpandArea::getESExpandArea(const ::std::string& uid, ::IMSINNER::SICEExpandAreaSeq& areaInfos, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__ESICEExpandArea__getESExpandArea_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::ESICEExpandArea* __servant = dynamic_cast< ::IMSINNER::ESICEExpandArea*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESExpandArea(uid, areaInfos, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::ESICEExpandArea::getESExpandAreaById(const ::std::string& uid, ::Ice::Int id, ::IMSINNER::SICEExpandArea& areaInfos, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__ESICEExpandArea__getESExpandAreaById_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::ESICEExpandArea* __servant = dynamic_cast< ::IMSINNER::ESICEExpandArea*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESExpandAreaById(uid, id, areaInfos, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::ESICEExpandArea::addESExpandArea(const ::std::string& uid, const ::IMSINNER::SICEExpandArea& areaInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__ESICEExpandArea__addESExpandArea_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::ESICEExpandArea* __servant = dynamic_cast< ::IMSINNER::ESICEExpandArea*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->addESExpandArea(uid, areaInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::ESICEExpandArea::updateESExpandArea(const ::std::string& uid, const ::IMSINNER::SICEExpandArea& areaInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__ESICEExpandArea__updateESExpandArea_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::ESICEExpandArea* __servant = dynamic_cast< ::IMSINNER::ESICEExpandArea*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateESExpandArea(uid, areaInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::ESICEExpandArea::delESExpandArea(const ::std::string& uid, ::Ice::Int id, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__ESICEExpandArea__delESExpandArea_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::ESICEExpandArea* __servant = dynamic_cast< ::IMSINNER::ESICEExpandArea*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->delESExpandArea(uid, id, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -IMSINNER::ESICEExpandArea::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __IMSINNER__ESICEExpandArea_ids[2] = -{ - "::IMSINNER::ESICEExpandArea", - "::Ice::Object" -}; - -bool -IMSINNER::ESICEExpandArea::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__IMSINNER__ESICEExpandArea_ids, __IMSINNER__ESICEExpandArea_ids + 2, _s); -} - -::std::vector< ::std::string> -IMSINNER::ESICEExpandArea::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__IMSINNER__ESICEExpandArea_ids[0], &__IMSINNER__ESICEExpandArea_ids[2]); -} - -const ::std::string& -IMSINNER::ESICEExpandArea::ice_id(const ::Ice::Current&) const -{ - return __IMSINNER__ESICEExpandArea_ids[0]; -} - -const ::std::string& -IMSINNER::ESICEExpandArea::ice_staticId() -{ - return __IMSINNER__ESICEExpandArea_ids[0]; -} - -::IceInternal::DispatchStatus -IMSINNER::ESICEExpandArea::___getESExpandArea(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::IMSINNER::SICEExpandAreaSeq areaInfos; - ::Ice::Int __ret = getESExpandArea(uid, areaInfos, __current); - if(areaInfos.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &areaInfos[0], &areaInfos[0] + areaInfos.size(), ::IMSINNER::__U__SICEExpandAreaSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::ESICEExpandArea::___getESExpandAreaById(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int id; - __is->read(uid); - __is->read(id); - ::IMSINNER::SICEExpandArea areaInfos; - ::Ice::Int __ret = getESExpandAreaById(uid, id, areaInfos, __current); - areaInfos.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::ESICEExpandArea::___addESExpandArea(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::IMSINNER::SICEExpandArea areaInfo; - __is->read(uid); - areaInfo.__read(__is); - ::Ice::Int __ret = addESExpandArea(uid, areaInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::ESICEExpandArea::___updateESExpandArea(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::IMSINNER::SICEExpandArea areaInfo; - __is->read(uid); - areaInfo.__read(__is); - ::Ice::Int __ret = updateESExpandArea(uid, areaInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::ESICEExpandArea::___delESExpandArea(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int id; - __is->read(uid); - __is->read(id); - ::Ice::Int __ret = delESExpandArea(uid, id, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __IMSINNER__ESICEExpandArea_all[] = -{ - "addESExpandArea", - "delESExpandArea", - "getESExpandArea", - "getESExpandAreaById", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "updateESExpandArea" -}; - -::IceInternal::DispatchStatus -IMSINNER::ESICEExpandArea::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__IMSINNER__ESICEExpandArea_all, __IMSINNER__ESICEExpandArea_all + 9, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __IMSINNER__ESICEExpandArea_all) - { - case 0: - { - return ___addESExpandArea(in, current); - } - case 1: - { - return ___delESExpandArea(in, current); - } - case 2: - { - return ___getESExpandArea(in, current); - } - case 3: - { - return ___getESExpandAreaById(in, current); - } - case 4: - { - return ___ice_id(in, current); - } - case 5: - { - return ___ice_ids(in, current); - } - case 6: - { - return ___ice_isA(in, current); - } - case 7: - { - return ___ice_ping(in, current); - } - case 8: - { - return ___updateESExpandArea(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -IMSINNER::ESICEExpandArea::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -IMSINNER::ESICEExpandArea::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -IMSINNER::ESICEExpandArea::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type IMSINNER::ESICEExpandArea was not generated with stream support"; - throw ex; -} - -void -IMSINNER::ESICEExpandArea::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type IMSINNER::ESICEExpandArea was not generated with stream support"; - throw ex; -} - -void -IMSINNER::__patch__ESICEExpandAreaPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::IMSINNER::ESICEExpandAreaPtr* p = static_cast< ::IMSINNER::ESICEExpandAreaPtr*>(__addr); - assert(p); - *p = ::IMSINNER::ESICEExpandAreaPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::IMSINNER::ESICEExpandArea::ice_staticId(); - throw e; - } -} - -bool -IMSINNER::operator==(const ::IMSINNER::ESICEExpandArea& l, const ::IMSINNER::ESICEExpandArea& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IMSINNER::operator!=(const ::IMSINNER::ESICEExpandArea& l, const ::IMSINNER::ESICEExpandArea& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IMSINNER::operator<(const ::IMSINNER::ESICEExpandArea& l, const ::IMSINNER::ESICEExpandArea& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IMSINNER::operator<=(const ::IMSINNER::ESICEExpandArea& l, const ::IMSINNER::ESICEExpandArea& r) -{ - return l < r || l == r; -} - -bool -IMSINNER::operator>(const ::IMSINNER::ESICEExpandArea& l, const ::IMSINNER::ESICEExpandArea& r) -{ - return !(l < r) && !(l == r); -} - -bool -IMSINNER::operator>=(const ::IMSINNER::ESICEExpandArea& l, const ::IMSINNER::ESICEExpandArea& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/fdbrecent_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/fdbrecent_pack.cpp.svn-base deleted file mode 100644 index 7974249..0000000 --- a/features/aliww/source/.svn/text-base/fdbrecent_pack.cpp.svn-base +++ /dev/null @@ -1,176 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: fdbrecent_pack.cpp -// Date: 2011-01-30 12:48:58 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "fdbrecent_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SFdbRecentNode& sFdbRecentNode ) -{ - uint8_t nFieldNum = 6; - do { - if(sFdbRecentNode.m_strangerflag == 0) - nFieldNum--; - else - break; - if(sFdbRecentNode.m_recvFlag == 0) - nFieldNum--; - else - break; - if(sFdbRecentNode.m_sendFlag == 0) - nFieldNum--; - else - break; - if(sFdbRecentNode.m_validTime == 0) - nFieldNum--; - else - break; - if(sFdbRecentNode.m_recvTime == 0) - nFieldNum--; - else - break; - if(sFdbRecentNode.m_sendTime == 0) - nFieldNum--; - else - break; - } while(0); - cPackData << nFieldNum; - if(nFieldNum == 0) - return cPackData; - cPackData << FT_UINT32; - cPackData << sFdbRecentNode.m_sendTime; - if(nFieldNum == 1) - return cPackData; - cPackData << FT_UINT32; - cPackData << sFdbRecentNode.m_recvTime; - if(nFieldNum == 2) - return cPackData; - cPackData << FT_UINT32; - cPackData << sFdbRecentNode.m_validTime; - if(nFieldNum == 3) - return cPackData; - cPackData << FT_UINT32; - cPackData << sFdbRecentNode.m_sendFlag; - if(nFieldNum == 4) - return cPackData; - cPackData << FT_UINT32; - cPackData << sFdbRecentNode.m_recvFlag; - if(nFieldNum == 5) - return cPackData; - cPackData << FT_UINT32; - cPackData << sFdbRecentNode.m_strangerflag; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SFdbRecentNode& sFdbRecentNode ) -{ - uint8_t num; - try - { - cPackData >> num; - CFieldType field; - if(num < 1) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sFdbRecentNode.m_sendTime; - if(num < 2) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sFdbRecentNode.m_recvTime; - if(num < 3) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sFdbRecentNode.m_validTime; - if(num < 4) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sFdbRecentNode.m_sendFlag; - if(num < 5) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sFdbRecentNode.m_recvFlag; - if(num < 6) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sFdbRecentNode.m_strangerflag; - } - catch(PACKRETCODE) - { - return cPackData; - } - for(int i = 6; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const SFdbRecentMap& sFdbRecentMap ) -{ - uint8_t nFieldNum = 5; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sFdbRecentMap.m_pcid; - cPackData << FT_UINT32; - cPackData << sFdbRecentMap.m_ip; - cPackData << FT_UINT32; - cPackData << sFdbRecentMap.m_chgTime; - cPackData << FT_UINT32; - cPackData << sFdbRecentMap.m_loadTime; - cPackData << FT_MAP; - cPackData << FT_STRING; - cPackData << FT_STRUCT; - { - uint8_t nSize = sFdbRecentMap.m_nodes.size(); - cPackData << nSize; - map< string,SFdbRecentNode >::const_iterator itr; - for(itr = sFdbRecentMap.m_nodes.begin(); itr != sFdbRecentMap.m_nodes.end(); ++itr) - { - cPackData << itr->first; - cPackData << itr->second; - } - } - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SFdbRecentMap& sFdbRecentMap ) -{ - uint8_t num; - cPackData >> num; - if(num < 5) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sFdbRecentMap.m_pcid; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sFdbRecentMap.m_ip; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sFdbRecentMap.m_chgTime; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sFdbRecentMap.m_loadTime; - cPackData >> field; - if(field.m_baseType != FT_MAP) throw PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - cPackData >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - SFdbRecentNode value; - cPackData >> key; - cPackData >> value; - sFdbRecentMap.m_nodes[key] = value; - } - } - for(int i = 5; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - diff --git a/features/aliww/source/.svn/text-base/ftservice.cpp.svn-base b/features/aliww/source/.svn/text-base/ftservice.cpp.svn-base deleted file mode 100644 index 1a860bc..0000000 --- a/features/aliww/source/.svn/text-base/ftservice.cpp.svn-base +++ /dev/null @@ -1,1037 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `ftservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __alliFTServer__IFTService__getServiceInfo_name = "getServiceInfo"; - -static const ::std::string __alliFTServer__IFTService__getTietuServiceInfo_name = "getTietuServiceInfo"; - -static const ::std::string __alliFTServer__IFTNewService__getAddr_name = "getAddr"; - -void -IceInternal::incRef(::alliFTServer::IFTService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::alliFTServer::IFTService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::alliFTServer::IFTService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::alliFTServer::IFTService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::alliFTServer::IFTNewService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::alliFTServer::IFTNewService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::alliFTServer::IFTNewService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::alliFTServer::IFTNewService* p) -{ - p->__decRef(); -} - -void -alliFTServer::__write(::IceInternal::BasicStream* __os, const ::alliFTServer::IFTServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -alliFTServer::__read(::IceInternal::BasicStream* __is, ::alliFTServer::IFTServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::alliFTServer::IFTService; - v->__copyFrom(proxy); - } -} - -void -alliFTServer::__write(::IceInternal::BasicStream* __os, const ::alliFTServer::IFTServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -alliFTServer::__write(::IceInternal::BasicStream* __os, const ::alliFTServer::IFTNewServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -alliFTServer::__read(::IceInternal::BasicStream* __is, ::alliFTServer::IFTNewServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::alliFTServer::IFTNewService; - v->__copyFrom(proxy); - } -} - -void -alliFTServer::__write(::IceInternal::BasicStream* __os, const ::alliFTServer::IFTNewServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -alliFTServer::__addObject(const IFTServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -alliFTServer::__usesClasses(const IFTServicePtr& p) -{ - return p->__usesClasses(); -} - -void -alliFTServer::__decRefUnsafe(const IFTServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -alliFTServer::__clearHandleUnsafe(IFTServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -void -alliFTServer::__addObject(const IFTNewServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -alliFTServer::__usesClasses(const IFTNewServicePtr& p) -{ - return p->__usesClasses(); -} - -void -alliFTServer::__decRefUnsafe(const IFTNewServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -alliFTServer::__clearHandleUnsafe(IFTNewServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::alliFTServer::IFTService::getServiceInfo(const ::std::string& senduid, const ::std::string& touid, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__alliFTServer__IFTService__getServiceInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::alliFTServer::IFTService* __del = dynamic_cast< ::IceDelegate::alliFTServer::IFTService*>(__delBase.get()); - return __del->getServiceInfo(senduid, touid, srvIp, srvPort, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::alliFTServer::IFTService::getTietuServiceInfo(const ::std::string& senduid, ::Ice::Int& sessionSum, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__alliFTServer__IFTService__getTietuServiceInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::alliFTServer::IFTService* __del = dynamic_cast< ::IceDelegate::alliFTServer::IFTService*>(__delBase.get()); - return __del->getTietuServiceInfo(senduid, sessionSum, srvIp, srvPort, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::alliFTServer::IFTService::ice_staticId() -{ - return ::alliFTServer::IFTService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::alliFTServer::IFTService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::alliFTServer::IFTService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::alliFTServer::IFTService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::alliFTServer::IFTService); -} - -bool -IceProxy::alliFTServer::operator==(const ::IceProxy::alliFTServer::IFTService& l, const ::IceProxy::alliFTServer::IFTService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::alliFTServer::operator!=(const ::IceProxy::alliFTServer::IFTService& l, const ::IceProxy::alliFTServer::IFTService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::alliFTServer::operator<(const ::IceProxy::alliFTServer::IFTService& l, const ::IceProxy::alliFTServer::IFTService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::alliFTServer::operator<=(const ::IceProxy::alliFTServer::IFTService& l, const ::IceProxy::alliFTServer::IFTService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::alliFTServer::operator>(const ::IceProxy::alliFTServer::IFTService& l, const ::IceProxy::alliFTServer::IFTService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::alliFTServer::operator>=(const ::IceProxy::alliFTServer::IFTService& l, const ::IceProxy::alliFTServer::IFTService& r) -{ - return !(l < r); -} - -::Ice::Int -IceProxy::alliFTServer::IFTNewService::getAddr(::Ice::Short _cpp_typeid, const ::std::string& senduid, ::Ice::Long& ftsid, ::std::string& srvIp, ::Ice::Short& srvProt, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__alliFTServer__IFTNewService__getAddr_name); - __delBase = __getDelegate(); - ::IceDelegate::alliFTServer::IFTNewService* __del = dynamic_cast< ::IceDelegate::alliFTServer::IFTNewService*>(__delBase.get()); - return __del->getAddr(_cpp_typeid, senduid, ftsid, srvIp, srvProt, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::alliFTServer::IFTNewService::ice_staticId() -{ - return ::alliFTServer::IFTNewService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::alliFTServer::IFTNewService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::alliFTServer::IFTNewService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::alliFTServer::IFTNewService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::alliFTServer::IFTNewService); -} - -bool -IceProxy::alliFTServer::operator==(const ::IceProxy::alliFTServer::IFTNewService& l, const ::IceProxy::alliFTServer::IFTNewService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::alliFTServer::operator!=(const ::IceProxy::alliFTServer::IFTNewService& l, const ::IceProxy::alliFTServer::IFTNewService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::alliFTServer::operator<(const ::IceProxy::alliFTServer::IFTNewService& l, const ::IceProxy::alliFTServer::IFTNewService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::alliFTServer::operator<=(const ::IceProxy::alliFTServer::IFTNewService& l, const ::IceProxy::alliFTServer::IFTNewService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::alliFTServer::operator>(const ::IceProxy::alliFTServer::IFTNewService& l, const ::IceProxy::alliFTServer::IFTNewService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::alliFTServer::operator>=(const ::IceProxy::alliFTServer::IFTNewService& l, const ::IceProxy::alliFTServer::IFTNewService& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::alliFTServer::IFTService::getServiceInfo(const ::std::string& senduid, const ::std::string& touid, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __alliFTServer__IFTService__getServiceInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(senduid); - __os->write(touid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(srvIp); - __is->read(srvPort); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::alliFTServer::IFTService::getTietuServiceInfo(const ::std::string& senduid, ::Ice::Int& sessionSum, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __alliFTServer__IFTService__getTietuServiceInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(senduid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(sessionSum); - __is->read(srvIp); - __is->read(srvPort); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::alliFTServer::IFTNewService::getAddr(::Ice::Short _cpp_typeid, const ::std::string& senduid, ::Ice::Long& ftsid, ::std::string& srvIp, ::Ice::Short& srvProt, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __alliFTServer__IFTNewService__getAddr_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(_cpp_typeid); - __os->write(senduid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(ftsid); - __is->read(srvIp); - __is->read(srvProt); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::alliFTServer::IFTService::getServiceInfo(const ::std::string& senduid, const ::std::string& touid, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __alliFTServer__IFTService__getServiceInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::alliFTServer::IFTService* __servant = dynamic_cast< ::alliFTServer::IFTService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getServiceInfo(senduid, touid, srvIp, srvPort, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::alliFTServer::IFTService::getTietuServiceInfo(const ::std::string& senduid, ::Ice::Int& sessionSum, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __alliFTServer__IFTService__getTietuServiceInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::alliFTServer::IFTService* __servant = dynamic_cast< ::alliFTServer::IFTService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getTietuServiceInfo(senduid, sessionSum, srvIp, srvPort, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::alliFTServer::IFTNewService::getAddr(::Ice::Short _cpp_typeid, const ::std::string& senduid, ::Ice::Long& ftsid, ::std::string& srvIp, ::Ice::Short& srvProt, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __alliFTServer__IFTNewService__getAddr_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::alliFTServer::IFTNewService* __servant = dynamic_cast< ::alliFTServer::IFTNewService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getAddr(_cpp_typeid, senduid, ftsid, srvIp, srvProt, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -alliFTServer::IFTService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __alliFTServer__IFTService_ids[2] = -{ - "::Ice::Object", - "::alliFTServer::IFTService" -}; - -bool -alliFTServer::IFTService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__alliFTServer__IFTService_ids, __alliFTServer__IFTService_ids + 2, _s); -} - -::std::vector< ::std::string> -alliFTServer::IFTService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__alliFTServer__IFTService_ids[0], &__alliFTServer__IFTService_ids[2]); -} - -const ::std::string& -alliFTServer::IFTService::ice_id(const ::Ice::Current&) const -{ - return __alliFTServer__IFTService_ids[1]; -} - -const ::std::string& -alliFTServer::IFTService::ice_staticId() -{ - return __alliFTServer__IFTService_ids[1]; -} - -::IceInternal::DispatchStatus -alliFTServer::IFTService::___getServiceInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string senduid; - ::std::string touid; - __is->read(senduid); - __is->read(touid); - ::std::string srvIp; - ::Ice::Short srvPort; - ::Ice::Int __ret = getServiceInfo(senduid, touid, srvIp, srvPort, __current); - __os->write(srvIp); - __os->write(srvPort); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -alliFTServer::IFTService::___getTietuServiceInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string senduid; - __is->read(senduid); - ::Ice::Int sessionSum; - ::std::string srvIp; - ::Ice::Short srvPort; - ::Ice::Int __ret = getTietuServiceInfo(senduid, sessionSum, srvIp, srvPort, __current); - __os->write(sessionSum); - __os->write(srvIp); - __os->write(srvPort); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __alliFTServer__IFTService_all[] = -{ - "getServiceInfo", - "getTietuServiceInfo", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -alliFTServer::IFTService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__alliFTServer__IFTService_all, __alliFTServer__IFTService_all + 6, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __alliFTServer__IFTService_all) - { - case 0: - { - return ___getServiceInfo(in, current); - } - case 1: - { - return ___getTietuServiceInfo(in, current); - } - case 2: - { - return ___ice_id(in, current); - } - case 3: - { - return ___ice_ids(in, current); - } - case 4: - { - return ___ice_isA(in, current); - } - case 5: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -alliFTServer::IFTService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -alliFTServer::IFTService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -alliFTServer::IFTService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type alliFTServer::IFTService was not generated with stream support"; - throw ex; -} - -void -alliFTServer::IFTService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type alliFTServer::IFTService was not generated with stream support"; - throw ex; -} - -void -alliFTServer::__patch__IFTServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::alliFTServer::IFTServicePtr* p = static_cast< ::alliFTServer::IFTServicePtr*>(__addr); - assert(p); - *p = ::alliFTServer::IFTServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::alliFTServer::IFTService::ice_staticId(); - throw e; - } -} - -bool -alliFTServer::operator==(const ::alliFTServer::IFTService& l, const ::alliFTServer::IFTService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -alliFTServer::operator!=(const ::alliFTServer::IFTService& l, const ::alliFTServer::IFTService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -alliFTServer::operator<(const ::alliFTServer::IFTService& l, const ::alliFTServer::IFTService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -alliFTServer::operator<=(const ::alliFTServer::IFTService& l, const ::alliFTServer::IFTService& r) -{ - return l < r || l == r; -} - -bool -alliFTServer::operator>(const ::alliFTServer::IFTService& l, const ::alliFTServer::IFTService& r) -{ - return !(l < r) && !(l == r); -} - -bool -alliFTServer::operator>=(const ::alliFTServer::IFTService& l, const ::alliFTServer::IFTService& r) -{ - return !(l < r); -} - -::Ice::ObjectPtr -alliFTServer::IFTNewService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __alliFTServer__IFTNewService_ids[2] = -{ - "::Ice::Object", - "::alliFTServer::IFTNewService" -}; - -bool -alliFTServer::IFTNewService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__alliFTServer__IFTNewService_ids, __alliFTServer__IFTNewService_ids + 2, _s); -} - -::std::vector< ::std::string> -alliFTServer::IFTNewService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__alliFTServer__IFTNewService_ids[0], &__alliFTServer__IFTNewService_ids[2]); -} - -const ::std::string& -alliFTServer::IFTNewService::ice_id(const ::Ice::Current&) const -{ - return __alliFTServer__IFTNewService_ids[1]; -} - -const ::std::string& -alliFTServer::IFTNewService::ice_staticId() -{ - return __alliFTServer__IFTNewService_ids[1]; -} - -::IceInternal::DispatchStatus -alliFTServer::IFTNewService::___getAddr(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Short _cpp_typeid; - ::std::string senduid; - __is->read(_cpp_typeid); - __is->read(senduid); - ::Ice::Long ftsid; - ::std::string srvIp; - ::Ice::Short srvProt; - ::Ice::Int __ret = getAddr(_cpp_typeid, senduid, ftsid, srvIp, srvProt, __current); - __os->write(ftsid); - __os->write(srvIp); - __os->write(srvProt); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __alliFTServer__IFTNewService_all[] = -{ - "getAddr", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -alliFTServer::IFTNewService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__alliFTServer__IFTNewService_all, __alliFTServer__IFTNewService_all + 5, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __alliFTServer__IFTNewService_all) - { - case 0: - { - return ___getAddr(in, current); - } - case 1: - { - return ___ice_id(in, current); - } - case 2: - { - return ___ice_ids(in, current); - } - case 3: - { - return ___ice_isA(in, current); - } - case 4: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -alliFTServer::IFTNewService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -alliFTServer::IFTNewService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -alliFTServer::IFTNewService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type alliFTServer::IFTNewService was not generated with stream support"; - throw ex; -} - -void -alliFTServer::IFTNewService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type alliFTServer::IFTNewService was not generated with stream support"; - throw ex; -} - -void -alliFTServer::__patch__IFTNewServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::alliFTServer::IFTNewServicePtr* p = static_cast< ::alliFTServer::IFTNewServicePtr*>(__addr); - assert(p); - *p = ::alliFTServer::IFTNewServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::alliFTServer::IFTNewService::ice_staticId(); - throw e; - } -} - -bool -alliFTServer::operator==(const ::alliFTServer::IFTNewService& l, const ::alliFTServer::IFTNewService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -alliFTServer::operator!=(const ::alliFTServer::IFTNewService& l, const ::alliFTServer::IFTNewService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -alliFTServer::operator<(const ::alliFTServer::IFTNewService& l, const ::alliFTServer::IFTNewService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -alliFTServer::operator<=(const ::alliFTServer::IFTNewService& l, const ::alliFTServer::IFTNewService& r) -{ - return l < r || l == r; -} - -bool -alliFTServer::operator>(const ::alliFTServer::IFTNewService& l, const ::alliFTServer::IFTNewService& r) -{ - return !(l < r) && !(l == r); -} - -bool -alliFTServer::operator>=(const ::alliFTServer::IFTNewService& l, const ::alliFTServer::IFTNewService& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/get_bind_list.cpp.svn-base b/features/aliww/source/.svn/text-base/get_bind_list.cpp.svn-base deleted file mode 100644 index 24af6eb..0000000 --- a/features/aliww/source/.svn/text-base/get_bind_list.cpp.svn-base +++ /dev/null @@ -1,94 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: get_bind_list.cpp - * - * Description: - * - * Version: 1.0 - * Created: 2011年01月07日 15时53分02秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ -#include "get_bind_list.h" -#include "cbenchmark.h" -#include "paramutil.h" -#include "CWWSimulator.h" -#include "script_consts.h" -#include -using namespace std; - - -void *get_bind_list_init(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; -// create_transaction(pVuser,"GetWebBinding"); - - CWWSimulator *pWW = new (CWWSimulator); - pVuser->verb = pWW; - - string imServerIP; - uint16_t port; - - - pWW->SetServerIP(imServerIP = "10.250.3.136", port = 16000); - pWW->SetStatus(TOKEN_FLAG, DEFAULT_LOGINSTAT); - pWW->SetClient(DEFAULT_CLIENTVERSION, DEFAULT_CLIENTLANGUAGE); - -} - -void *get_bind_list_act(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - - //initilize username and password - string username, password; - char *temp = select_param_ex(pVuser); - printf("param selected: %s\n",temp); - string params; - params.assign(temp,strlen(temp)-1);//temp is end with '\n' - int pos = params.find(','); - username = params.substr(0, pos); - password = "aliyun"; - pWW->SetUser(username, password); - - string recvPack; - void** ppPack; - int retcode; - pWW->GetWebBinding(); - - pWW->Detach(); -} - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/features/aliww/source/.svn/text-base/imcntlcacheservice.cpp.svn-base b/features/aliww/source/.svn/text-base/imcntlcacheservice.cpp.svn-base deleted file mode 100644 index f7e6de3..0000000 --- a/features/aliww/source/.svn/text-base/imcntlcacheservice.cpp.svn-base +++ /dev/null @@ -1,1109 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `imcntlcacheservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__IUserCntLCacheService__getUserCntTimeStamps_name = "getUserCntTimeStamps"; - -static const ::std::string __AliIM__IUserCntLCacheService__removeUser_name = "removeUser"; - -static const ::std::string __AliIM__IUserCntLCacheService__backupUserContacts_name = "backupUserContacts"; - -static const ::std::string __AliIM__IUserCntLCacheService__getBackupedUserContacts_name = "getBackupedUserContacts"; - -static const ::std::string __AliIM__IUserCntLCacheService__addUserContact_name = "addUserContact"; - -static const ::std::string __AliIM__IUserCntLCacheService__delUserContact_name = "delUserContact"; - -void -IceInternal::incRef(::AliIM::IUserCntLCacheService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::IUserCntLCacheService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::IUserCntLCacheService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::IUserCntLCacheService* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::IUserCntLCacheServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::IUserCntLCacheServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::IUserCntLCacheService; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::IUserCntLCacheServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIM::__addObject(const IUserCntLCacheServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const IUserCntLCacheServicePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const IUserCntLCacheServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(IUserCntLCacheServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::IUserCntLCacheService::getUserCntTimeStamps(const ::std::string& longuid, ::Ice::Int& cnttimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserCntLCacheService__getUserCntTimeStamps_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserCntLCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserCntLCacheService*>(__delBase.get()); - return __del->getUserCntTimeStamps(longuid, cnttimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserCntLCacheService::removeUser(const ::std::string& longuid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserCntLCacheService__removeUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserCntLCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserCntLCacheService*>(__delBase.get()); - return __del->removeUser(longuid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserCntLCacheService::backupUserContacts(const ::std::string& longuid, ::Ice::Int cnttimes, const ::Ice::StringSeq& cntids, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserCntLCacheService__backupUserContacts_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserCntLCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserCntLCacheService*>(__delBase.get()); - return __del->backupUserContacts(longuid, cnttimes, cntids, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserCntLCacheService::getBackupedUserContacts(const ::std::string& longuid, ::Ice::Int& cnttimes, ::Ice::StringSeq& cntids, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserCntLCacheService__getBackupedUserContacts_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserCntLCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserCntLCacheService*>(__delBase.get()); - return __del->getBackupedUserContacts(longuid, cnttimes, cntids, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserCntLCacheService::addUserContact(const ::std::string& longuid, ::Ice::Int cnttimes, const ::std::string& cntid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserCntLCacheService__addUserContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserCntLCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserCntLCacheService*>(__delBase.get()); - return __del->addUserContact(longuid, cnttimes, cntid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserCntLCacheService::delUserContact(const ::std::string& longuid, ::Ice::Int cnttimes, const ::std::string& cntid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserCntLCacheService__delUserContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserCntLCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserCntLCacheService*>(__delBase.get()); - return __del->delUserContact(longuid, cnttimes, cntid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::IUserCntLCacheService::ice_staticId() -{ - return ::AliIM::IUserCntLCacheService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::IUserCntLCacheService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::IUserCntLCacheService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::IUserCntLCacheService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::IUserCntLCacheService); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::IUserCntLCacheService& l, const ::IceProxy::AliIM::IUserCntLCacheService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::IUserCntLCacheService& l, const ::IceProxy::AliIM::IUserCntLCacheService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::IUserCntLCacheService& l, const ::IceProxy::AliIM::IUserCntLCacheService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::IUserCntLCacheService& l, const ::IceProxy::AliIM::IUserCntLCacheService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::IUserCntLCacheService& l, const ::IceProxy::AliIM::IUserCntLCacheService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::IUserCntLCacheService& l, const ::IceProxy::AliIM::IUserCntLCacheService& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::IUserCntLCacheService::getUserCntTimeStamps(const ::std::string& longuid, ::Ice::Int& cnttimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserCntLCacheService__getUserCntTimeStamps_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(cnttimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserCntLCacheService::removeUser(const ::std::string& longuid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserCntLCacheService__removeUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserCntLCacheService::backupUserContacts(const ::std::string& longuid, ::Ice::Int cnttimes, const ::Ice::StringSeq& cntids, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserCntLCacheService__backupUserContacts_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - __os->write(cnttimes); - if(cntids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&cntids[0], &cntids[0] + cntids.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserCntLCacheService::getBackupedUserContacts(const ::std::string& longuid, ::Ice::Int& cnttimes, ::Ice::StringSeq& cntids, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserCntLCacheService__getBackupedUserContacts_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(cnttimes); - __is->read(cntids); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserCntLCacheService::addUserContact(const ::std::string& longuid, ::Ice::Int cnttimes, const ::std::string& cntid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserCntLCacheService__addUserContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - __os->write(cnttimes); - __os->write(cntid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserCntLCacheService::delUserContact(const ::std::string& longuid, ::Ice::Int cnttimes, const ::std::string& cntid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserCntLCacheService__delUserContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - __os->write(cnttimes); - __os->write(cntid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserCntLCacheService::getUserCntTimeStamps(const ::std::string& longuid, ::Ice::Int& cnttimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserCntLCacheService__getUserCntTimeStamps_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserCntLCacheService* __servant = dynamic_cast< ::AliIM::IUserCntLCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserCntTimeStamps(longuid, cnttimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserCntLCacheService::removeUser(const ::std::string& longuid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserCntLCacheService__removeUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserCntLCacheService* __servant = dynamic_cast< ::AliIM::IUserCntLCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->removeUser(longuid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserCntLCacheService::backupUserContacts(const ::std::string& longuid, ::Ice::Int cnttimes, const ::Ice::StringSeq& cntids, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserCntLCacheService__backupUserContacts_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserCntLCacheService* __servant = dynamic_cast< ::AliIM::IUserCntLCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->backupUserContacts(longuid, cnttimes, cntids, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserCntLCacheService::getBackupedUserContacts(const ::std::string& longuid, ::Ice::Int& cnttimes, ::Ice::StringSeq& cntids, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserCntLCacheService__getBackupedUserContacts_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserCntLCacheService* __servant = dynamic_cast< ::AliIM::IUserCntLCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getBackupedUserContacts(longuid, cnttimes, cntids, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserCntLCacheService::addUserContact(const ::std::string& longuid, ::Ice::Int cnttimes, const ::std::string& cntid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserCntLCacheService__addUserContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserCntLCacheService* __servant = dynamic_cast< ::AliIM::IUserCntLCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->addUserContact(longuid, cnttimes, cntid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserCntLCacheService::delUserContact(const ::std::string& longuid, ::Ice::Int cnttimes, const ::std::string& cntid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserCntLCacheService__delUserContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserCntLCacheService* __servant = dynamic_cast< ::AliIM::IUserCntLCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->delUserContact(longuid, cnttimes, cntid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::IUserCntLCacheService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__IUserCntLCacheService_ids[2] = -{ - "::AliIM::IUserCntLCacheService", - "::Ice::Object" -}; - -bool -AliIM::IUserCntLCacheService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__IUserCntLCacheService_ids, __AliIM__IUserCntLCacheService_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::IUserCntLCacheService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__IUserCntLCacheService_ids[0], &__AliIM__IUserCntLCacheService_ids[2]); -} - -const ::std::string& -AliIM::IUserCntLCacheService::ice_id(const ::Ice::Current&) const -{ - return __AliIM__IUserCntLCacheService_ids[0]; -} - -const ::std::string& -AliIM::IUserCntLCacheService::ice_staticId() -{ - return __AliIM__IUserCntLCacheService_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::IUserCntLCacheService::___getUserCntTimeStamps(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - __is->read(longuid); - ::Ice::Int cnttimes; - ::Ice::Int __ret = getUserCntTimeStamps(longuid, cnttimes, __current); - __os->write(cnttimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserCntLCacheService::___removeUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - __is->read(longuid); - ::Ice::Int __ret = removeUser(longuid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserCntLCacheService::___backupUserContacts(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - ::Ice::Int cnttimes; - ::Ice::StringSeq cntids; - __is->read(longuid); - __is->read(cnttimes); - __is->read(cntids); - ::Ice::Int __ret = backupUserContacts(longuid, cnttimes, cntids, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserCntLCacheService::___getBackupedUserContacts(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - __is->read(longuid); - ::Ice::Int cnttimes; - ::Ice::StringSeq cntids; - ::Ice::Int __ret = getBackupedUserContacts(longuid, cnttimes, cntids, __current); - __os->write(cnttimes); - if(cntids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&cntids[0], &cntids[0] + cntids.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserCntLCacheService::___addUserContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - ::Ice::Int cnttimes; - ::std::string cntid; - __is->read(longuid); - __is->read(cnttimes); - __is->read(cntid); - ::Ice::Int __ret = addUserContact(longuid, cnttimes, cntid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserCntLCacheService::___delUserContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - ::Ice::Int cnttimes; - ::std::string cntid; - __is->read(longuid); - __is->read(cnttimes); - __is->read(cntid); - ::Ice::Int __ret = delUserContact(longuid, cnttimes, cntid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__IUserCntLCacheService_all[] = -{ - "addUserContact", - "backupUserContacts", - "delUserContact", - "getBackupedUserContacts", - "getUserCntTimeStamps", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "removeUser" -}; - -::IceInternal::DispatchStatus -AliIM::IUserCntLCacheService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__IUserCntLCacheService_all, __AliIM__IUserCntLCacheService_all + 10, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__IUserCntLCacheService_all) - { - case 0: - { - return ___addUserContact(in, current); - } - case 1: - { - return ___backupUserContacts(in, current); - } - case 2: - { - return ___delUserContact(in, current); - } - case 3: - { - return ___getBackupedUserContacts(in, current); - } - case 4: - { - return ___getUserCntTimeStamps(in, current); - } - case 5: - { - return ___ice_id(in, current); - } - case 6: - { - return ___ice_ids(in, current); - } - case 7: - { - return ___ice_isA(in, current); - } - case 8: - { - return ___ice_ping(in, current); - } - case 9: - { - return ___removeUser(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::IUserCntLCacheService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::IUserCntLCacheService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::IUserCntLCacheService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::IUserCntLCacheService was not generated with stream support"; - throw ex; -} - -void -AliIM::IUserCntLCacheService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::IUserCntLCacheService was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__IUserCntLCacheServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::IUserCntLCacheServicePtr* p = static_cast< ::AliIM::IUserCntLCacheServicePtr*>(__addr); - assert(p); - *p = ::AliIM::IUserCntLCacheServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::IUserCntLCacheService::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::IUserCntLCacheService& l, const ::AliIM::IUserCntLCacheService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::IUserCntLCacheService& l, const ::AliIM::IUserCntLCacheService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::IUserCntLCacheService& l, const ::AliIM::IUserCntLCacheService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::IUserCntLCacheService& l, const ::AliIM::IUserCntLCacheService& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::IUserCntLCacheService& l, const ::AliIM::IUserCntLCacheService& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::IUserCntLCacheService& l, const ::AliIM::IUserCntLCacheService& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/imcontrol_service.cpp.svn-base b/features/aliww/source/.svn/text-base/imcontrol_service.cpp.svn-base deleted file mode 100644 index a08b301..0000000 --- a/features/aliww/source/.svn/text-base/imcontrol_service.cpp.svn-base +++ /dev/null @@ -1,1166 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `imcontrol_service.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __IMCoreControlService__IMSecControlService__filterMsg_name = "filterMsg"; - -static const ::std::string __IMCoreControlService__IMSecControlService__filterMsg2_name = "filterMsg2"; - -static const ::std::string __IMCoreControlService__IMSecControlService__filterMsgByFlag_name = "filterMsgByFlag"; - -static const ::std::string __IMCoreControlService__IMSecControlService__checkOPAccess_name = "checkOPAccess"; - -static const ::std::string __IMCoreControlService__IMSecControlService__writeAQLog_name = "writeAQLog"; - -static const ::std::string __IMCoreControlService__IMSecControlService__checkControlAccess_name = "checkControlAccess"; - -void -IceInternal::incRef(::IMCoreControlService::IMSecControlService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IMCoreControlService::IMSecControlService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::IMCoreControlService::IMSecControlService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::IMCoreControlService::IMSecControlService* p) -{ - p->__decRef(); -} - -void -IMCoreControlService::__write(::IceInternal::BasicStream* __os, const ::IMCoreControlService::IMSecControlServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -IMCoreControlService::__read(::IceInternal::BasicStream* __is, ::IMCoreControlService::IMSecControlServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::IMCoreControlService::IMSecControlService; - v->__copyFrom(proxy); - } -} - -void -IMCoreControlService::__write(::IceInternal::BasicStream* __os, const ::IMCoreControlService::IMSecControlServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -IMCoreControlService::__write(::IceInternal::BasicStream* __os, const ::IMCoreControlService::KVPair& v, ::IMCoreControlService::__U__KVPair) -{ - __os->writeSize(::Ice::Int(v.size())); - ::IMCoreControlService::KVPair::const_iterator p; - for(p = v.begin(); p != v.end(); ++p) - { - __os->write(p->first); - __os->write(p->second); - } -} - -void -IMCoreControlService::__read(::IceInternal::BasicStream* __is, ::IMCoreControlService::KVPair& v, ::IMCoreControlService::__U__KVPair) -{ - ::Ice::Int sz; - __is->readSize(sz); - while(sz--) - { - ::std::pair pair; - __is->read(const_cast< ::std::string&>(pair.first)); - ::IMCoreControlService::KVPair::iterator __i = v.insert(v.end(), pair); - __is->read(__i->second); - } -} - -void -IMCoreControlService::__addObject(const IMSecControlServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -IMCoreControlService::__usesClasses(const IMSecControlServicePtr& p) -{ - return p->__usesClasses(); -} - -void -IMCoreControlService::__decRefUnsafe(const IMSecControlServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -IMCoreControlService::__clearHandleUnsafe(IMSecControlServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -bool -IceProxy::IMCoreControlService::IMSecControlService::filterMsg(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMCoreControlService__IMSecControlService__filterMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::IMCoreControlService::IMSecControlService* __del = dynamic_cast< ::IceDelegate::IMCoreControlService::IMSecControlService*>(__delBase.get()); - return __del->filterMsg(fromid, toid, actdgree, ip, msg, extraattrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -bool -IceProxy::IMCoreControlService::IMSecControlService::filterMsg2(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, ::std::string& newmsg, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMCoreControlService__IMSecControlService__filterMsg2_name); - __delBase = __getDelegate(); - ::IceDelegate::IMCoreControlService::IMSecControlService* __del = dynamic_cast< ::IceDelegate::IMCoreControlService::IMSecControlService*>(__delBase.get()); - return __del->filterMsg2(fromid, toid, actdgree, ip, msg, extraattrs, newmsg, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -bool -IceProxy::IMCoreControlService::IMSecControlService::filterMsgByFlag(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, const ::std::string& checkmap, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMCoreControlService__IMSecControlService__filterMsgByFlag_name); - __delBase = __getDelegate(); - ::IceDelegate::IMCoreControlService::IMSecControlService* __del = dynamic_cast< ::IceDelegate::IMCoreControlService::IMSecControlService*>(__delBase.get()); - return __del->filterMsgByFlag(fromid, toid, actdgree, ip, msg, extraattrs, checkmap, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -bool -IceProxy::IMCoreControlService::IMSecControlService::checkOPAccess(const ::std::string& uid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& packdata, const ::IMCoreControlService::KVPair& extraattrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMCoreControlService__IMSecControlService__checkOPAccess_name); - __delBase = __getDelegate(); - ::IceDelegate::IMCoreControlService::IMSecControlService* __del = dynamic_cast< ::IceDelegate::IMCoreControlService::IMSecControlService*>(__delBase.get()); - return __del->checkOPAccess(uid, actdgree, ip, packdata, extraattrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -void -IceProxy::IMCoreControlService::IMSecControlService::writeAQLog(const ::std::string& data, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __delBase = __getDelegate(); - ::IceDelegate::IMCoreControlService::IMSecControlService* __del = dynamic_cast< ::IceDelegate::IMCoreControlService::IMSecControlService*>(__delBase.get()); - __del->writeAQLog(data, __ctx); - return; - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -bool -IceProxy::IMCoreControlService::IMSecControlService::checkControlAccess(const ::std::string& uid, ::Ice::Int actdegree, const ::std::string& ip, const ::std::string& version, ::Ice::Int checktype, const ::IMCoreControlService::KVPair& extraattrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMCoreControlService__IMSecControlService__checkControlAccess_name); - __delBase = __getDelegate(); - ::IceDelegate::IMCoreControlService::IMSecControlService* __del = dynamic_cast< ::IceDelegate::IMCoreControlService::IMSecControlService*>(__delBase.get()); - return __del->checkControlAccess(uid, actdegree, ip, version, checktype, extraattrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::IMCoreControlService::IMSecControlService::ice_staticId() -{ - return ::IMCoreControlService::IMSecControlService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::IMCoreControlService::IMSecControlService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::IMCoreControlService::IMSecControlService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::IMCoreControlService::IMSecControlService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::IMCoreControlService::IMSecControlService); -} - -bool -IceProxy::IMCoreControlService::operator==(const ::IceProxy::IMCoreControlService::IMSecControlService& l, const ::IceProxy::IMCoreControlService::IMSecControlService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::IMCoreControlService::operator!=(const ::IceProxy::IMCoreControlService::IMSecControlService& l, const ::IceProxy::IMCoreControlService::IMSecControlService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::IMCoreControlService::operator<(const ::IceProxy::IMCoreControlService::IMSecControlService& l, const ::IceProxy::IMCoreControlService::IMSecControlService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::IMCoreControlService::operator<=(const ::IceProxy::IMCoreControlService::IMSecControlService& l, const ::IceProxy::IMCoreControlService::IMSecControlService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::IMCoreControlService::operator>(const ::IceProxy::IMCoreControlService::IMSecControlService& l, const ::IceProxy::IMCoreControlService::IMSecControlService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::IMCoreControlService::operator>=(const ::IceProxy::IMCoreControlService::IMSecControlService& l, const ::IceProxy::IMCoreControlService::IMSecControlService& r) -{ - return !(l < r); -} - -bool -IceDelegateM::IMCoreControlService::IMSecControlService::filterMsg(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMCoreControlService__IMSecControlService__filterMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fromid); - __os->write(toid); - __os->write(actdgree); - __os->write(ip); - __os->write(msg); - ::IMCoreControlService::__write(__os, extraattrs, ::IMCoreControlService::__U__KVPair()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - bool __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -bool -IceDelegateM::IMCoreControlService::IMSecControlService::filterMsg2(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, ::std::string& newmsg, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMCoreControlService__IMSecControlService__filterMsg2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fromid); - __os->write(toid); - __os->write(actdgree); - __os->write(ip); - __os->write(msg); - ::IMCoreControlService::__write(__os, extraattrs, ::IMCoreControlService::__U__KVPair()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - bool __ret; - __is->read(newmsg); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -bool -IceDelegateM::IMCoreControlService::IMSecControlService::filterMsgByFlag(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, const ::std::string& checkmap, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMCoreControlService__IMSecControlService__filterMsgByFlag_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fromid); - __os->write(toid); - __os->write(actdgree); - __os->write(ip); - __os->write(msg); - ::IMCoreControlService::__write(__os, extraattrs, ::IMCoreControlService::__U__KVPair()); - __os->write(checkmap); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - bool __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -bool -IceDelegateM::IMCoreControlService::IMSecControlService::checkOPAccess(const ::std::string& uid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& packdata, const ::IMCoreControlService::KVPair& extraattrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMCoreControlService__IMSecControlService__checkOPAccess_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(actdgree); - __os->write(ip); - __os->write(packdata); - ::IMCoreControlService::__write(__os, extraattrs, ::IMCoreControlService::__U__KVPair()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - bool __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -void -IceDelegateM::IMCoreControlService::IMSecControlService::writeAQLog(const ::std::string& data, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMCoreControlService__IMSecControlService__writeAQLog_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(data); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -bool -IceDelegateM::IMCoreControlService::IMSecControlService::checkControlAccess(const ::std::string& uid, ::Ice::Int actdegree, const ::std::string& ip, const ::std::string& version, ::Ice::Int checktype, const ::IMCoreControlService::KVPair& extraattrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMCoreControlService__IMSecControlService__checkControlAccess_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(actdegree); - __os->write(ip); - __os->write(version); - __os->write(checktype); - ::IMCoreControlService::__write(__os, extraattrs, ::IMCoreControlService::__U__KVPair()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - bool __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -bool -IceDelegateD::IMCoreControlService::IMSecControlService::filterMsg(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMCoreControlService__IMSecControlService__filterMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - bool __ret; - try - { - ::IMCoreControlService::IMSecControlService* __servant = dynamic_cast< ::IMCoreControlService::IMSecControlService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->filterMsg(fromid, toid, actdgree, ip, msg, extraattrs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -bool -IceDelegateD::IMCoreControlService::IMSecControlService::filterMsg2(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, ::std::string& newmsg, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMCoreControlService__IMSecControlService__filterMsg2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - bool __ret; - try - { - ::IMCoreControlService::IMSecControlService* __servant = dynamic_cast< ::IMCoreControlService::IMSecControlService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->filterMsg2(fromid, toid, actdgree, ip, msg, extraattrs, newmsg, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -bool -IceDelegateD::IMCoreControlService::IMSecControlService::filterMsgByFlag(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, const ::std::string& checkmap, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMCoreControlService__IMSecControlService__filterMsgByFlag_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - bool __ret; - try - { - ::IMCoreControlService::IMSecControlService* __servant = dynamic_cast< ::IMCoreControlService::IMSecControlService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->filterMsgByFlag(fromid, toid, actdgree, ip, msg, extraattrs, checkmap, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -bool -IceDelegateD::IMCoreControlService::IMSecControlService::checkOPAccess(const ::std::string& uid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& packdata, const ::IMCoreControlService::KVPair& extraattrs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMCoreControlService__IMSecControlService__checkOPAccess_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - bool __ret; - try - { - ::IMCoreControlService::IMSecControlService* __servant = dynamic_cast< ::IMCoreControlService::IMSecControlService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkOPAccess(uid, actdgree, ip, packdata, extraattrs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -void -IceDelegateD::IMCoreControlService::IMSecControlService::writeAQLog(const ::std::string& data, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMCoreControlService__IMSecControlService__writeAQLog_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - try - { - ::IMCoreControlService::IMSecControlService* __servant = dynamic_cast< ::IMCoreControlService::IMSecControlService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __servant->writeAQLog(data, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return; - } -} - -bool -IceDelegateD::IMCoreControlService::IMSecControlService::checkControlAccess(const ::std::string& uid, ::Ice::Int actdegree, const ::std::string& ip, const ::std::string& version, ::Ice::Int checktype, const ::IMCoreControlService::KVPair& extraattrs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMCoreControlService__IMSecControlService__checkControlAccess_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - bool __ret; - try - { - ::IMCoreControlService::IMSecControlService* __servant = dynamic_cast< ::IMCoreControlService::IMSecControlService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkControlAccess(uid, actdegree, ip, version, checktype, extraattrs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -IMCoreControlService::IMSecControlService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __IMCoreControlService__IMSecControlService_ids[2] = -{ - "::IMCoreControlService::IMSecControlService", - "::Ice::Object" -}; - -bool -IMCoreControlService::IMSecControlService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__IMCoreControlService__IMSecControlService_ids, __IMCoreControlService__IMSecControlService_ids + 2, _s); -} - -::std::vector< ::std::string> -IMCoreControlService::IMSecControlService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__IMCoreControlService__IMSecControlService_ids[0], &__IMCoreControlService__IMSecControlService_ids[2]); -} - -const ::std::string& -IMCoreControlService::IMSecControlService::ice_id(const ::Ice::Current&) const -{ - return __IMCoreControlService__IMSecControlService_ids[0]; -} - -const ::std::string& -IMCoreControlService::IMSecControlService::ice_staticId() -{ - return __IMCoreControlService__IMSecControlService_ids[0]; -} - -::IceInternal::DispatchStatus -IMCoreControlService::IMSecControlService::___filterMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string fromid; - ::std::string toid; - ::Ice::Int actdgree; - ::std::string ip; - ::std::string msg; - ::IMCoreControlService::KVPair extraattrs; - __is->read(fromid); - __is->read(toid); - __is->read(actdgree); - __is->read(ip); - __is->read(msg); - ::IMCoreControlService::__read(__is, extraattrs, ::IMCoreControlService::__U__KVPair()); - bool __ret = filterMsg(fromid, toid, actdgree, ip, msg, extraattrs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMCoreControlService::IMSecControlService::___filterMsg2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string fromid; - ::std::string toid; - ::Ice::Int actdgree; - ::std::string ip; - ::std::string msg; - ::IMCoreControlService::KVPair extraattrs; - __is->read(fromid); - __is->read(toid); - __is->read(actdgree); - __is->read(ip); - __is->read(msg); - ::IMCoreControlService::__read(__is, extraattrs, ::IMCoreControlService::__U__KVPair()); - ::std::string newmsg; - bool __ret = filterMsg2(fromid, toid, actdgree, ip, msg, extraattrs, newmsg, __current); - __os->write(newmsg); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMCoreControlService::IMSecControlService::___filterMsgByFlag(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string fromid; - ::std::string toid; - ::Ice::Int actdgree; - ::std::string ip; - ::std::string msg; - ::IMCoreControlService::KVPair extraattrs; - ::std::string checkmap; - __is->read(fromid); - __is->read(toid); - __is->read(actdgree); - __is->read(ip); - __is->read(msg); - ::IMCoreControlService::__read(__is, extraattrs, ::IMCoreControlService::__U__KVPair()); - __is->read(checkmap); - bool __ret = filterMsgByFlag(fromid, toid, actdgree, ip, msg, extraattrs, checkmap, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMCoreControlService::IMSecControlService::___checkOPAccess(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int actdgree; - ::std::string ip; - ::std::string packdata; - ::IMCoreControlService::KVPair extraattrs; - __is->read(uid); - __is->read(actdgree); - __is->read(ip); - __is->read(packdata); - ::IMCoreControlService::__read(__is, extraattrs, ::IMCoreControlService::__U__KVPair()); - bool __ret = checkOPAccess(uid, actdgree, ip, packdata, extraattrs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMCoreControlService::IMSecControlService::___writeAQLog(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string data; - __is->read(data); - writeAQLog(data, __current); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMCoreControlService::IMSecControlService::___checkControlAccess(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int actdegree; - ::std::string ip; - ::std::string version; - ::Ice::Int checktype; - ::IMCoreControlService::KVPair extraattrs; - __is->read(uid); - __is->read(actdegree); - __is->read(ip); - __is->read(version); - __is->read(checktype); - ::IMCoreControlService::__read(__is, extraattrs, ::IMCoreControlService::__U__KVPair()); - bool __ret = checkControlAccess(uid, actdegree, ip, version, checktype, extraattrs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __IMCoreControlService__IMSecControlService_all[] = -{ - "checkControlAccess", - "checkOPAccess", - "filterMsg", - "filterMsg2", - "filterMsgByFlag", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "writeAQLog" -}; - -::IceInternal::DispatchStatus -IMCoreControlService::IMSecControlService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__IMCoreControlService__IMSecControlService_all, __IMCoreControlService__IMSecControlService_all + 10, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __IMCoreControlService__IMSecControlService_all) - { - case 0: - { - return ___checkControlAccess(in, current); - } - case 1: - { - return ___checkOPAccess(in, current); - } - case 2: - { - return ___filterMsg(in, current); - } - case 3: - { - return ___filterMsg2(in, current); - } - case 4: - { - return ___filterMsgByFlag(in, current); - } - case 5: - { - return ___ice_id(in, current); - } - case 6: - { - return ___ice_ids(in, current); - } - case 7: - { - return ___ice_isA(in, current); - } - case 8: - { - return ___ice_ping(in, current); - } - case 9: - { - return ___writeAQLog(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -IMCoreControlService::IMSecControlService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -IMCoreControlService::IMSecControlService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -IMCoreControlService::IMSecControlService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type IMCoreControlService::IMSecControlService was not generated with stream support"; - throw ex; -} - -void -IMCoreControlService::IMSecControlService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type IMCoreControlService::IMSecControlService was not generated with stream support"; - throw ex; -} - -void -IMCoreControlService::__patch__IMSecControlServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::IMCoreControlService::IMSecControlServicePtr* p = static_cast< ::IMCoreControlService::IMSecControlServicePtr*>(__addr); - assert(p); - *p = ::IMCoreControlService::IMSecControlServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::IMCoreControlService::IMSecControlService::ice_staticId(); - throw e; - } -} - -bool -IMCoreControlService::operator==(const ::IMCoreControlService::IMSecControlService& l, const ::IMCoreControlService::IMSecControlService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IMCoreControlService::operator!=(const ::IMCoreControlService::IMSecControlService& l, const ::IMCoreControlService::IMSecControlService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IMCoreControlService::operator<(const ::IMCoreControlService::IMSecControlService& l, const ::IMCoreControlService::IMSecControlService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IMCoreControlService::operator<=(const ::IMCoreControlService::IMSecControlService& l, const ::IMCoreControlService::IMSecControlService& r) -{ - return l < r || l == r; -} - -bool -IMCoreControlService::operator>(const ::IMCoreControlService::IMSecControlService& l, const ::IMCoreControlService::IMSecControlService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IMCoreControlService::operator>=(const ::IMCoreControlService::IMSecControlService& l, const ::IMCoreControlService::IMSecControlService& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/imicecommstruct.cpp.svn-base b/features/aliww/source/.svn/text-base/imicecommstruct.cpp.svn-base deleted file mode 100644 index e953792..0000000 --- a/features/aliww/source/.svn/text-base/imicecommstruct.cpp.svn-base +++ /dev/null @@ -1,285 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `imicecommstruct.ice' - -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -void -AliIMInterface::__write(::IceInternal::BasicStream* __os, const ::AliIMInterface::KVMAP& v, ::AliIMInterface::__U__KVMAP) -{ - __os->writeSize(::Ice::Int(v.size())); - ::AliIMInterface::KVMAP::const_iterator p; - for(p = v.begin(); p != v.end(); ++p) - { - __os->write(p->first); - __os->write(p->second); - } -} - -void -AliIMInterface::__read(::IceInternal::BasicStream* __is, ::AliIMInterface::KVMAP& v, ::AliIMInterface::__U__KVMAP) -{ - ::Ice::Int sz; - __is->readSize(sz); - while(sz--) - { - ::std::pair pair; - __is->read(const_cast< ::std::string&>(pair.first)); - ::AliIMInterface::KVMAP::iterator __i = v.insert(v.end(), pair); - __is->read(__i->second); - } -} - -bool -AliIMInterface::SWebBindId::operator==(const SWebBindId& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMInterface::SWebBindId::operator!=(const SWebBindId& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(prefix != __rhs.prefix) - { - return true; - } - if(webid != __rhs.webid) - { - return true; - } - if(bIMBind != __rhs.bIMBind) - { - return true; - } - return false; -} - -bool -AliIMInterface::SWebBindId::operator<(const SWebBindId& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(prefix < __rhs.prefix) - { - return true; - } - else if(__rhs.prefix < prefix) - { - return false; - } - if(webid < __rhs.webid) - { - return true; - } - else if(__rhs.webid < webid) - { - return false; - } - if(bIMBind < __rhs.bIMBind) - { - return true; - } - else if(__rhs.bIMBind < bIMBind) - { - return false; - } - return false; -} - -void -AliIMInterface::SWebBindId::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(prefix); - __os->write(webid); - __os->write(bIMBind); -} - -void -AliIMInterface::SWebBindId::__read(::IceInternal::BasicStream* __is) -{ - __is->read(prefix); - __is->read(webid); - __is->read(bIMBind); -} - -void -AliIMInterface::__write(::IceInternal::BasicStream* __os, const ::AliIMInterface::SWebBindId* begin, const ::AliIMInterface::SWebBindId* end, ::AliIMInterface::__U__SWebBindIdSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMInterface::__read(::IceInternal::BasicStream* __is, ::AliIMInterface::SWebBindIdSeq& v, ::AliIMInterface::__U__SWebBindIdSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 3); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliIMInterface::SWanghaoWebBindId::operator==(const SWanghaoWebBindId& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMInterface::SWanghaoWebBindId::operator!=(const SWanghaoWebBindId& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(id != __rhs.id) - { - return true; - } - if(webids != __rhs.webids) - { - return true; - } - return false; -} - -bool -AliIMInterface::SWanghaoWebBindId::operator<(const SWanghaoWebBindId& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(id < __rhs.id) - { - return true; - } - else if(__rhs.id < id) - { - return false; - } - if(webids < __rhs.webids) - { - return true; - } - else if(__rhs.webids < webids) - { - return false; - } - return false; -} - -void -AliIMInterface::SWanghaoWebBindId::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(id); - if(webids.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMInterface::__write(__os, &webids[0], &webids[0] + webids.size(), ::AliIMInterface::__U__SWebBindIdSeq()); - } -} - -void -AliIMInterface::SWanghaoWebBindId::__read(::IceInternal::BasicStream* __is) -{ - __is->read(id); - ::AliIMInterface::__read(__is, webids, ::AliIMInterface::__U__SWebBindIdSeq()); -} - -void -AliIMInterface::__write(::IceInternal::BasicStream* __os, const ::AliIMInterface::SWanghaoWebBindId* begin, const ::AliIMInterface::SWanghaoWebBindId* end, ::AliIMInterface::__U__SWanghaoWebBindIdSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMInterface::__read(::IceInternal::BasicStream* __is, ::AliIMInterface::SWanghaoWebBindIdSeq& v, ::AliIMInterface::__U__SWanghaoWebBindIdSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 2); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMInterface::__write(::IceInternal::BasicStream* __os, const ::AliIMInterface::KVMAP* begin, const ::AliIMInterface::KVMAP* end, ::AliIMInterface::__U__KVMAPSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - ::AliIMInterface::__write(__os, begin[i], ::AliIMInterface::__U__KVMAP()); - } -} - -void -AliIMInterface::__read(::IceInternal::BasicStream* __is, ::AliIMInterface::KVMAPSeq& v, ::AliIMInterface::__U__KVMAPSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 1); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - ::AliIMInterface::__read(__is, v[i], ::AliIMInterface::__U__KVMAP()); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} diff --git a/features/aliww/source/.svn/text-base/ims_ice_service.cpp.svn-base b/features/aliww/source/.svn/text-base/ims_ice_service.cpp.svn-base deleted file mode 100644 index 1ff0bc4..0000000 --- a/features/aliww/source/.svn/text-base/ims_ice_service.cpp.svn-base +++ /dev/null @@ -1,8178 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `ims_ice_service.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __IMSINNER__IMSICEService__getLastVisit_name = "getLastVisit"; - -static const ::std::string __IMSINNER__IMSICEService__setShareContact_name = "setShareContact"; - -static const ::std::string __IMSINNER__IMSICEService__clearLastVisit_name = "clearLastVisit"; - -static const ::std::string __IMSINNER__IMSICEService__getLastVisitEx_name = "getLastVisitEx"; - -static const ::std::string __IMSINNER__IMSICEService__HmsLogin_name = "HmsLogin"; - -static const ::std::string __IMSINNER__IMSICEService__getWorkingBuddy_name = "getWorkingBuddy"; - -static const ::std::string __IMSINNER__IMSICEService__setWaiterDenyService_name = "setWaiterDenyService"; - -static const ::std::string __IMSINNER__IMSICEService__setLastVisit_name = "setLastVisit"; - -static const ::std::string __IMSINNER__IMSICEService__setLastVisitandSrvnum_name = "setLastVisitandSrvnum"; - -static const ::std::string __IMSINNER__IMSICEService__HmsLogin6_name = "HmsLogin6"; - -static const ::std::string __IMSINNER__IMSICEService__setWaiterServerID_name = "setWaiterServerID"; - -static const ::std::string __IMSINNER__IMSICEService__isFakeOnline_name = "isFakeOnline"; - -static const ::std::string __IMSINNER__IMSICEService__setWaiterStatus_name = "setWaiterStatus"; - -static const ::std::string __IMSINNER__IMSICEService__getHelperstatus_name = "getHelperstatus"; - -static const ::std::string __IMSINNER__IMSICEService__getOfflineHelpers_name = "getOfflineHelpers"; - -static const ::std::string __IMSINNER__IMSICEService__getAllOtherHelpers_name = "getAllOtherHelpers"; - -static const ::std::string __IMSINNER__IMSICEService__setMaxServiceNum_name = "setMaxServiceNum"; - -static const ::std::string __IMSINNER__IMSICEService__chgATMHelpersServiceNum_name = "chgATMHelpersServiceNum"; - -static const ::std::string __IMSINNER__IMSICEService__HmsLoginOff_name = "HmsLoginOff"; - -static const ::std::string __IMSINNER__IMSICEService__HmsLoginOff6_name = "HmsLoginOff6"; - -static const ::std::string __IMSINNER__IMSICEService__getBuddyStatus_name = "getBuddyStatus"; - -static const ::std::string __IMSINNER__IMSICEService__EHmsLogin6_name = "EHmsLogin6"; - -static const ::std::string __IMSINNER__IMSICEService__getBuddyStatus6_name = "getBuddyStatus6"; - -static const ::std::string __IMSINNER__IMSICEService__getForWardList_name = "getForWardList"; - -static const ::std::string __IMSINNER__IMSICEService__forWardServiceUser_name = "forWardServiceUser"; - -static const ::std::string __IMSINNER__IMSICEService__closeHMSSession_name = "closeHMSSession"; - -static const ::std::string __IMSINNER__IMSICEService__NotifyHMSMsg_name = "NotifyHMSMsg"; - -static const ::std::string __IMSINNER__IMSICEService__SendHMSMsg_name = "SendHMSMsg"; - -static const ::std::string __IMSINNER__IMSICEService__changeUserStatus_name = "changeUserStatus"; - -static const ::std::string __IMSINNER__IMSICEService__getESShuntStatus_name = "getESShuntStatus"; - -static const ::std::string __IMSINNER__IMSICEService__setESShuntStatus_name = "setESShuntStatus"; - -static const ::std::string __IMSINNER__IMSICEService__getMaxESReceptNum_name = "getMaxESReceptNum"; - -static const ::std::string __IMSINNER__IMSICEService__setMaxESReceptNum_name = "setMaxESReceptNum"; - -static const ::std::string __IMSINNER__IMSICEService__getESPriority_name = "getESPriority"; - -static const ::std::string __IMSINNER__IMSICEService__setESPriority_name = "setESPriority"; - -static const ::std::string __IMSINNER__IMSICEService__getESRecvOffMsg_name = "getESRecvOffMsg"; - -static const ::std::string __IMSINNER__IMSICEService__setESRecvOffMsg_name = "setESRecvOffMsg"; - -static const ::std::string __IMSINNER__IMSICEService__getESGroupList_name = "getESGroupList"; - -static const ::std::string __IMSINNER__IMSICEService__insertESGroupInfo_name = "insertESGroupInfo"; - -static const ::std::string __IMSINNER__IMSICEService__updateESGroupInfo_name = "updateESGroupInfo"; - -static const ::std::string __IMSINNER__IMSICEService__delESGroup_name = "delESGroup"; - -static const ::std::string __IMSINNER__IMSICEService__getESGroupInfo_name = "getESGroupInfo"; - -static const ::std::string __IMSINNER__IMSICEService__getESGroupInfoByID_name = "getESGroupInfoByID"; - -static const ::std::string __IMSINNER__IMSICEService__getESUnJoinGroup_name = "getESUnJoinGroup"; - -static const ::std::string __IMSINNER__IMSICEService__getESReceptList_name = "getESReceptList"; - -static const ::std::string __IMSINNER__IMSICEService__checkESRole_name = "checkESRole"; - -static const ::std::string __IMSINNER__IMSICEService__getChildShuntInfos_name = "getChildShuntInfos"; - -static const ::std::string __IMSINNER__IMSICEService__setChildShuntInfos_name = "setChildShuntInfos"; - -static const ::std::string __IMSINNER__IMSICEService__getAgentChild_name = "getAgentChild"; - -static const ::std::string __IMSINNER__IMSICEService__setAgentChild_name = "setAgentChild"; - -static const ::std::string __IMSINNER__IMSICEService__getAgentList_name = "getAgentList"; - -static const ::std::string __IMSINNER__IMSICEService__helperMsg_name = "helperMsg"; - -void -IceInternal::incRef(::IMSINNER::IMSICEService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IMSINNER::IMSICEService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::IMSINNER::IMSICEService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::IMSINNER::IMSICEService* p) -{ - p->__decRef(); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::IMSICEServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::IMSICEServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::IMSINNER::IMSICEService; - v->__copyFrom(proxy); - } -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::IMSICEServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -IMSINNER::SHMSBuddyStatus::operator==(const SHMSBuddyStatus& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SHMSBuddyStatus::operator!=(const SHMSBuddyStatus& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(onlinestatus != __rhs.onlinestatus) - { - return true; - } - if(servicestatus != __rhs.servicestatus) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(totalnum != __rhs.totalnum) - { - return true; - } - if(daynum != __rhs.daynum) - { - return true; - } - return false; -} - -bool -IMSINNER::SHMSBuddyStatus::operator<(const SHMSBuddyStatus& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(onlinestatus < __rhs.onlinestatus) - { - return true; - } - else if(__rhs.onlinestatus < onlinestatus) - { - return false; - } - if(servicestatus < __rhs.servicestatus) - { - return true; - } - else if(__rhs.servicestatus < servicestatus) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(totalnum < __rhs.totalnum) - { - return true; - } - else if(__rhs.totalnum < totalnum) - { - return false; - } - if(daynum < __rhs.daynum) - { - return true; - } - else if(__rhs.daynum < daynum) - { - return false; - } - return false; -} - -void -IMSINNER::SHMSBuddyStatus::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(onlinestatus); - __os->write(servicestatus); - __os->write(status); - __os->write(totalnum); - __os->write(daynum); -} - -void -IMSINNER::SHMSBuddyStatus::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(onlinestatus); - __is->read(servicestatus); - __is->read(status); - __is->read(totalnum); - __is->read(daynum); -} - -bool -IMSINNER::SHMSBuddyStatus6::operator==(const SHMSBuddyStatus6& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SHMSBuddyStatus6::operator!=(const SHMSBuddyStatus6& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(childid != __rhs.childid) - { - return true; - } - if(childnick != __rhs.childnick) - { - return true; - } - if(basicstatus != __rhs.basicstatus) - { - return true; - } - if(predefstatus != __rhs.predefstatus) - { - return true; - } - if(servicestatus != __rhs.servicestatus) - { - return true; - } - if(maxservice != __rhs.maxservice) - { - return true; - } - if(curservice != __rhs.curservice) - { - return true; - } - if(version != __rhs.version) - { - return true; - } - return false; -} - -bool -IMSINNER::SHMSBuddyStatus6::operator<(const SHMSBuddyStatus6& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(childid < __rhs.childid) - { - return true; - } - else if(__rhs.childid < childid) - { - return false; - } - if(childnick < __rhs.childnick) - { - return true; - } - else if(__rhs.childnick < childnick) - { - return false; - } - if(basicstatus < __rhs.basicstatus) - { - return true; - } - else if(__rhs.basicstatus < basicstatus) - { - return false; - } - if(predefstatus < __rhs.predefstatus) - { - return true; - } - else if(__rhs.predefstatus < predefstatus) - { - return false; - } - if(servicestatus < __rhs.servicestatus) - { - return true; - } - else if(__rhs.servicestatus < servicestatus) - { - return false; - } - if(maxservice < __rhs.maxservice) - { - return true; - } - else if(__rhs.maxservice < maxservice) - { - return false; - } - if(curservice < __rhs.curservice) - { - return true; - } - else if(__rhs.curservice < curservice) - { - return false; - } - if(version < __rhs.version) - { - return true; - } - else if(__rhs.version < version) - { - return false; - } - return false; -} - -void -IMSINNER::SHMSBuddyStatus6::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(childid); - __os->write(childnick); - __os->write(basicstatus); - __os->write(predefstatus); - __os->write(servicestatus); - __os->write(maxservice); - __os->write(curservice); - __os->write(version); -} - -void -IMSINNER::SHMSBuddyStatus6::__read(::IceInternal::BasicStream* __is) -{ - __is->read(childid); - __is->read(childnick); - __is->read(basicstatus); - __is->read(predefstatus); - __is->read(servicestatus); - __is->read(maxservice); - __is->read(curservice); - __is->read(version); -} - -bool -IMSINNER::SICEReceptNum::operator==(const SICEReceptNum& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SICEReceptNum::operator!=(const SICEReceptNum& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid != __rhs.eserviceid) - { - return true; - } - if(receptnum != __rhs.receptnum) - { - return true; - } - return false; -} - -bool -IMSINNER::SICEReceptNum::operator<(const SICEReceptNum& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid < __rhs.eserviceid) - { - return true; - } - else if(__rhs.eserviceid < eserviceid) - { - return false; - } - if(receptnum < __rhs.receptnum) - { - return true; - } - else if(__rhs.receptnum < receptnum) - { - return false; - } - return false; -} - -void -IMSINNER::SICEReceptNum::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(eserviceid); - __os->write(receptnum); -} - -void -IMSINNER::SICEReceptNum::__read(::IceInternal::BasicStream* __is) -{ - __is->read(eserviceid); - __is->read(receptnum); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SICEReceptNum* begin, const ::IMSINNER::SICEReceptNum* end, ::IMSINNER::__U__SICEReceptNumSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SICEReceptNumSeq& v, ::IMSINNER::__U__SICEReceptNumSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 5); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -IMSINNER::SICEReceptStatus::operator==(const SICEReceptStatus& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SICEReceptStatus::operator!=(const SICEReceptStatus& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid != __rhs.eserviceid) - { - return true; - } - if(receptnumNow != __rhs.receptnumNow) - { - return true; - } - if(receptnumMax != __rhs.receptnumMax) - { - return true; - } - if(receptnumDaily != __rhs.receptnumDaily) - { - return true; - } - return false; -} - -bool -IMSINNER::SICEReceptStatus::operator<(const SICEReceptStatus& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid < __rhs.eserviceid) - { - return true; - } - else if(__rhs.eserviceid < eserviceid) - { - return false; - } - if(receptnumNow < __rhs.receptnumNow) - { - return true; - } - else if(__rhs.receptnumNow < receptnumNow) - { - return false; - } - if(receptnumMax < __rhs.receptnumMax) - { - return true; - } - else if(__rhs.receptnumMax < receptnumMax) - { - return false; - } - if(receptnumDaily < __rhs.receptnumDaily) - { - return true; - } - else if(__rhs.receptnumDaily < receptnumDaily) - { - return false; - } - return false; -} - -void -IMSINNER::SICEReceptStatus::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(eserviceid); - __os->write(receptnumNow); - __os->write(receptnumMax); - __os->write(receptnumDaily); -} - -void -IMSINNER::SICEReceptStatus::__read(::IceInternal::BasicStream* __is) -{ - __is->read(eserviceid); - __is->read(receptnumNow); - __is->read(receptnumMax); - __is->read(receptnumDaily); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SICEReceptStatus* begin, const ::IMSINNER::SICEReceptStatus* end, ::IMSINNER::__U__SICEReceptStatusSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SICEReceptStatusSeq& v, ::IMSINNER::__U__SICEReceptStatusSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 13); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -IMSINNER::SICEReceptPriority::operator==(const SICEReceptPriority& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SICEReceptPriority::operator!=(const SICEReceptPriority& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid != __rhs.eserviceid) - { - return true; - } - if(receptpriority != __rhs.receptpriority) - { - return true; - } - return false; -} - -bool -IMSINNER::SICEReceptPriority::operator<(const SICEReceptPriority& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid < __rhs.eserviceid) - { - return true; - } - else if(__rhs.eserviceid < eserviceid) - { - return false; - } - if(receptpriority < __rhs.receptpriority) - { - return true; - } - else if(__rhs.receptpriority < receptpriority) - { - return false; - } - return false; -} - -void -IMSINNER::SICEReceptPriority::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(eserviceid); - __os->write(receptpriority); -} - -void -IMSINNER::SICEReceptPriority::__read(::IceInternal::BasicStream* __is) -{ - __is->read(eserviceid); - __is->read(receptpriority); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SICEReceptPriority* begin, const ::IMSINNER::SICEReceptPriority* end, ::IMSINNER::__U__SICEReceptPrioritySeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SICEReceptPrioritySeq& v, ::IMSINNER::__U__SICEReceptPrioritySeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 5); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -IMSINNER::SICERecvOffMsg::operator==(const SICERecvOffMsg& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SICERecvOffMsg::operator!=(const SICERecvOffMsg& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid != __rhs.eserviceid) - { - return true; - } - if(recvoffmsg != __rhs.recvoffmsg) - { - return true; - } - return false; -} - -bool -IMSINNER::SICERecvOffMsg::operator<(const SICERecvOffMsg& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid < __rhs.eserviceid) - { - return true; - } - else if(__rhs.eserviceid < eserviceid) - { - return false; - } - if(recvoffmsg < __rhs.recvoffmsg) - { - return true; - } - else if(__rhs.recvoffmsg < recvoffmsg) - { - return false; - } - return false; -} - -void -IMSINNER::SICERecvOffMsg::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(eserviceid); - __os->write(recvoffmsg); -} - -void -IMSINNER::SICERecvOffMsg::__read(::IceInternal::BasicStream* __is) -{ - __is->read(eserviceid); - __is->read(recvoffmsg); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SICERecvOffMsg* begin, const ::IMSINNER::SICERecvOffMsg* end, ::IMSINNER::__U__SICERecvOffMsgSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SICERecvOffMsgSeq& v, ::IMSINNER::__U__SICERecvOffMsgSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 5); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -IMSINNER::SICEESGroupInfo::operator==(const SICEESGroupInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SICEESGroupInfo::operator!=(const SICEESGroupInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupName != __rhs.groupName) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(adminId != __rhs.adminId) - { - return true; - } - if(eservicelist != __rhs.eservicelist) - { - return true; - } - return false; -} - -bool -IMSINNER::SICEESGroupInfo::operator<(const SICEESGroupInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupName < __rhs.groupName) - { - return true; - } - else if(__rhs.groupName < groupName) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(adminId < __rhs.adminId) - { - return true; - } - else if(__rhs.adminId < adminId) - { - return false; - } - if(eservicelist < __rhs.eservicelist) - { - return true; - } - else if(__rhs.eservicelist < eservicelist) - { - return false; - } - return false; -} - -void -IMSINNER::SICEESGroupInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(groupName); - __os->write(groupId); - __os->write(adminId); - if(eservicelist.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&eservicelist[0], &eservicelist[0] + eservicelist.size()); - } -} - -void -IMSINNER::SICEESGroupInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(groupName); - __is->read(groupId); - __is->read(adminId); - __is->read(eservicelist); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SICEESGroupInfo* begin, const ::IMSINNER::SICEESGroupInfo* end, ::IMSINNER::__U__SICEESGroupInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SICEESGroupInfoSeq& v, ::IMSINNER::__U__SICEESGroupInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 7); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -IMSINNER::SICEBaseGroupInfo::operator==(const SICEBaseGroupInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SICEBaseGroupInfo::operator!=(const SICEBaseGroupInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupName != __rhs.groupName) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(adminId != __rhs.adminId) - { - return true; - } - return false; -} - -bool -IMSINNER::SICEBaseGroupInfo::operator<(const SICEBaseGroupInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupName < __rhs.groupName) - { - return true; - } - else if(__rhs.groupName < groupName) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(adminId < __rhs.adminId) - { - return true; - } - else if(__rhs.adminId < adminId) - { - return false; - } - return false; -} - -void -IMSINNER::SICEBaseGroupInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(groupName); - __os->write(groupId); - __os->write(adminId); -} - -void -IMSINNER::SICEBaseGroupInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(groupName); - __is->read(groupId); - __is->read(adminId); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SHMSBuddyStatus* begin, const ::IMSINNER::SHMSBuddyStatus* end, ::IMSINNER::__U__SHMSBuddyStatusSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SHMSBuddyStatusSeq& v, ::IMSINNER::__U__SHMSBuddyStatusSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 17); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -IMSINNER::SICEChildShuntInfo::operator==(const SICEChildShuntInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SICEChildShuntInfo::operator!=(const SICEChildShuntInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(childId != __rhs.childId) - { - return true; - } - if(groupName != __rhs.groupName) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(needUseOnline != __rhs.needUseOnline) - { - return true; - } - if(shuntInfo != __rhs.shuntInfo) - { - return true; - } - return false; -} - -bool -IMSINNER::SICEChildShuntInfo::operator<(const SICEChildShuntInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(childId < __rhs.childId) - { - return true; - } - else if(__rhs.childId < childId) - { - return false; - } - if(groupName < __rhs.groupName) - { - return true; - } - else if(__rhs.groupName < groupName) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(needUseOnline < __rhs.needUseOnline) - { - return true; - } - else if(__rhs.needUseOnline < needUseOnline) - { - return false; - } - if(shuntInfo < __rhs.shuntInfo) - { - return true; - } - else if(__rhs.shuntInfo < shuntInfo) - { - return false; - } - return false; -} - -void -IMSINNER::SICEChildShuntInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(childId); - __os->write(groupName); - __os->write(groupId); - __os->write(needUseOnline); - __os->write(shuntInfo); -} - -void -IMSINNER::SICEChildShuntInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(childId); - __is->read(groupName); - __is->read(groupId); - __is->read(needUseOnline); - __is->read(shuntInfo); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SICEChildShuntInfo* begin, const ::IMSINNER::SICEChildShuntInfo* end, ::IMSINNER::__U__SICEChildShuntInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SICEChildShuntInfoSeq& v, ::IMSINNER::__U__SICEChildShuntInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 8); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SHMSBuddyStatus6* begin, const ::IMSINNER::SHMSBuddyStatus6* end, ::IMSINNER::__U__SHMSBuddyStatusSeq6) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SHMSBuddyStatusSeq6& v, ::IMSINNER::__U__SHMSBuddyStatusSeq6) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 20); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -IMSINNER::__addObject(const IMSICEServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -IMSINNER::__usesClasses(const IMSICEServicePtr& p) -{ - return p->__usesClasses(); -} - -void -IMSINNER::__decRefUnsafe(const IMSICEServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -IMSINNER::__clearHandleUnsafe(IMSICEServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getLastVisit(const ::std::string& host, const ::std::string& visitor, ::std::string& hostess, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getLastVisit_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getLastVisit(host, visitor, hostess, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setShareContact(const ::std::string& uid, const ::Ice::StringSeq& cids, ::Ice::Int value, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setShareContact_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setShareContact(uid, cids, value, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::clearLastVisit(const ::std::string& host, const ::std::string& visitor, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__clearLastVisit_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->clearLastVisit(host, visitor, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getLastVisitEx(const ::std::string& host, const ::std::string& visitor, ::Ice::Int groupId, ::Ice::Int addServiceNum, ::IMSINNER::SHMSBuddyStatus6& hostess, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getLastVisitEx_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getLastVisitEx(host, visitor, groupId, addServiceNum, hostess, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::HmsLogin(const ::std::string& uid, ::Ice::StringSeq& cids, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__HmsLogin_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->HmsLogin(uid, cids, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getWorkingBuddy(const ::std::string& uid, ::Ice::StringSeq& cids, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getWorkingBuddy_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getWorkingBuddy(uid, cids, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setWaiterDenyService(const ::std::string& uid, ::Ice::Int status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setWaiterDenyService_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setWaiterDenyService(uid, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setLastVisit(const ::std::string& host, const ::std::string& visitor, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setLastVisit_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setLastVisit(host, visitor, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setLastVisitandSrvnum(const ::std::string& host, const ::std::string& visitor, ::Ice::Int srvnum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setLastVisitandSrvnum_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setLastVisitandSrvnum(host, visitor, srvnum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::HmsLogin6(const ::std::string& uid, ::Ice::Int imsid, ::Ice::StringSeq& cids, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__HmsLogin6_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->HmsLogin6(uid, imsid, cids, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setWaiterServerID(const ::std::string& uid, ::Ice::Int status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setWaiterServerID_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setWaiterServerID(uid, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::isFakeOnline(const ::std::string& uid, bool& status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__isFakeOnline_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->isFakeOnline(uid, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setWaiterStatus(const ::std::string& uid, ::Ice::Int status, ::Ice::Int imsid, bool& bneedsendfakestatus, ::Ice::Int& before, ::Ice::Int& afteronlinestatus, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setWaiterStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setWaiterStatus(uid, status, imsid, bneedsendfakestatus, before, afteronlinestatus, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getHelperstatus(const ::std::string& uid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getHelperstatus_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getHelperstatus(uid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getOfflineHelpers(const ::std::string& uid, ::Ice::StringSeq& childs, ::Ice::IntSeq& childsimsids, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getOfflineHelpers_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getOfflineHelpers(uid, childs, childsimsids, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getAllOtherHelpers(const ::std::string& uid, ::Ice::StringSeq& childs, ::Ice::IntSeq& childsimsids, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getAllOtherHelpers_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getAllOtherHelpers(uid, childs, childsimsids, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setMaxServiceNum(const ::std::string& uid, const ::std::string& childid, ::Ice::Int num, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setMaxServiceNum_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setMaxServiceNum(uid, childid, num, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::chgATMHelpersServiceNum(const ::std::string& uid, const ::std::string& childid, const ::std::string& contactid, ::Ice::Int type, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__chgATMHelpersServiceNum_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->chgATMHelpersServiceNum(uid, childid, contactid, type, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::HmsLoginOff(const ::std::string& uid, const ::std::string& childid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__HmsLoginOff_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->HmsLoginOff(uid, childid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::HmsLoginOff6(const ::std::string& uid, const ::std::string& childid, ::Ice::Int imsid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__HmsLoginOff6_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->HmsLoginOff6(uid, childid, imsid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getBuddyStatus(const ::std::string& uid, ::IMSINNER::SHMSBuddyStatusSeq& buddystatus, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getBuddyStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getBuddyStatus(uid, buddystatus, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::EHmsLogin6(const ::std::string& uid, const ::std::string& fid, ::Ice::Int imsid, ::Ice::Int logintype, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__EHmsLogin6_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->EHmsLogin6(uid, fid, imsid, logintype, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getBuddyStatus6(const ::std::string& uid, const ::std::string& fid, ::IMSINNER::SHMSBuddyStatusSeq6& buddystatus, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getBuddyStatus6_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getBuddyStatus6(uid, fid, buddystatus, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getForWardList(const ::std::string& uid, const ::std::string& fid, ::IMSINNER::SHMSBuddyStatusSeq6& buddystatus, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getForWardList_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getForWardList(uid, fid, buddystatus, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::forWardServiceUser(const ::std::string& uid, const ::std::string& fid, const ::std::string& conatctid, const ::std::string& tochildid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__forWardServiceUser_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->forWardServiceUser(uid, fid, conatctid, tochildid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::closeHMSSession(const ::std::string& uid, const ::std::string& fid, const ::std::string& conatctid, ::Ice::Int type, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__closeHMSSession_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->closeHMSSession(uid, fid, conatctid, type, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::NotifyHMSMsg(const ::std::string& fromid, const ::std::string& uid, ::Ice::Int srvid, ::Ice::Int type, const ::std::string& msg, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__NotifyHMSMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->NotifyHMSMsg(fromid, uid, srvid, type, msg, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::SendHMSMsg(const ::std::string& fid, const ::std::string& uid, const ::std::string& conatctid, ::Ice::Int srvid, ::Ice::Int type, const ::std::string& msg, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__SendHMSMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->SendHMSMsg(fid, uid, conatctid, srvid, type, msg, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::changeUserStatus(const ::std::string& uid, ::Ice::Int Stauts, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__changeUserStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->changeUserStatus(uid, Stauts, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getESShuntStatus(const ::std::string& uid, ::std::string& shunt, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getESShuntStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getESShuntStatus(uid, shunt, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setESShuntStatus(const ::std::string& uid, const ::std::string& shunt, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setESShuntStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setESShuntStatus(uid, shunt, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptNumSeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getMaxESReceptNum_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getMaxESReceptNum(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICEReceptNumSeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setMaxESReceptNum_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setMaxESReceptNum(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getESPriority(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getESPriority_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getESPriority(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setESPriority(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setESPriority_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setESPriority(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getESRecvOffMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getESRecvOffMsg(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setESRecvOffMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setESRecvOffMsg(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getESGroupList(const ::std::string& uid, ::Ice::IntSeq& groupList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getESGroupList_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getESGroupList(uid, groupList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::insertESGroupInfo(const ::std::string& uid, const ::IMSINNER::SICEESGroupInfo& groupInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__insertESGroupInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->insertESGroupInfo(uid, groupInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::updateESGroupInfo(const ::std::string& uid, const ::IMSINNER::SICEESGroupInfo& group, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__updateESGroupInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->updateESGroupInfo(uid, group, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::delESGroup(const ::std::string& uid, ::Ice::Int groupid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__delESGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->delESGroup(uid, groupid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getESGroupInfo(const ::std::string& uid, ::IMSINNER::SICEESGroupInfoSeq& groupList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getESGroupInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getESGroupInfo(uid, groupList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getESGroupInfoByID(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEESGroupInfo& groupInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getESGroupInfoByID_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getESGroupInfoByID(uid, groupId, groupInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getESUnJoinGroup(const ::std::string& uid, ::Ice::StringSeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getESUnJoinGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getESUnJoinGroup(uid, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getESReceptList(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptStatusSeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getESReceptList_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getESReceptList(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::checkESRole(const ::std::string& uid, ::Ice::Int& groupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__checkESRole_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->checkESRole(uid, groupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getChildShuntInfos(const ::std::string& uid, ::IMSINNER::SICEChildShuntInfoSeq& childInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getChildShuntInfos_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getChildShuntInfos(uid, childInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setChildShuntInfos(const ::std::string& uid, const ::IMSINNER::SICEChildShuntInfoSeq& childInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setChildShuntInfos_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setChildShuntInfos(uid, childInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getAgentChild(const ::std::string& uid, ::std::string& agentId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getAgentChild_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getAgentChild(uid, agentId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setAgentChild(const ::std::string& uid, const ::std::string& agentId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setAgentChild_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setAgentChild(uid, agentId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getAgentList(const ::std::string& uid, ::Ice::StringSeq& agentIds, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getAgentList_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getAgentList(uid, agentIds, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::helperMsg(const ::std::string& uid, const ::std::string& targetUid, const ::std::string& message, ::Ice::Int originalSid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__helperMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->helperMsg(uid, targetUid, message, originalSid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::IMSINNER::IMSICEService::ice_staticId() -{ - return ::IMSINNER::IMSICEService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::IMSINNER::IMSICEService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::IMSINNER::IMSICEService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::IMSINNER::IMSICEService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::IMSINNER::IMSICEService); -} - -bool -IceProxy::IMSINNER::operator==(const ::IceProxy::IMSINNER::IMSICEService& l, const ::IceProxy::IMSINNER::IMSICEService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::IMSINNER::operator!=(const ::IceProxy::IMSINNER::IMSICEService& l, const ::IceProxy::IMSINNER::IMSICEService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::IMSINNER::operator<(const ::IceProxy::IMSINNER::IMSICEService& l, const ::IceProxy::IMSINNER::IMSICEService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::IMSINNER::operator<=(const ::IceProxy::IMSINNER::IMSICEService& l, const ::IceProxy::IMSINNER::IMSICEService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::IMSINNER::operator>(const ::IceProxy::IMSINNER::IMSICEService& l, const ::IceProxy::IMSINNER::IMSICEService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::IMSINNER::operator>=(const ::IceProxy::IMSINNER::IMSICEService& l, const ::IceProxy::IMSINNER::IMSICEService& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getLastVisit(const ::std::string& host, const ::std::string& visitor, ::std::string& hostess, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getLastVisit_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(host); - __os->write(visitor); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(hostess); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setShareContact(const ::std::string& uid, const ::Ice::StringSeq& cids, ::Ice::Int value, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setShareContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - if(cids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&cids[0], &cids[0] + cids.size()); - } - __os->write(value); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::clearLastVisit(const ::std::string& host, const ::std::string& visitor, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__clearLastVisit_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(host); - __os->write(visitor); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getLastVisitEx(const ::std::string& host, const ::std::string& visitor, ::Ice::Int groupId, ::Ice::Int addServiceNum, ::IMSINNER::SHMSBuddyStatus6& hostess, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getLastVisitEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(host); - __os->write(visitor); - __os->write(groupId); - __os->write(addServiceNum); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - hostess.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::HmsLogin(const ::std::string& uid, ::Ice::StringSeq& cids, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__HmsLogin_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(cids); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getWorkingBuddy(const ::std::string& uid, ::Ice::StringSeq& cids, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getWorkingBuddy_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(cids); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setWaiterDenyService(const ::std::string& uid, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setWaiterDenyService_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(status); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setLastVisit(const ::std::string& host, const ::std::string& visitor, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setLastVisit_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(host); - __os->write(visitor); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setLastVisitandSrvnum(const ::std::string& host, const ::std::string& visitor, ::Ice::Int srvnum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setLastVisitandSrvnum_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(host); - __os->write(visitor); - __os->write(srvnum); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::HmsLogin6(const ::std::string& uid, ::Ice::Int imsid, ::Ice::StringSeq& cids, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__HmsLogin6_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(imsid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(cids); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setWaiterServerID(const ::std::string& uid, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setWaiterServerID_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(status); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::isFakeOnline(const ::std::string& uid, bool& status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__isFakeOnline_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(status); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setWaiterStatus(const ::std::string& uid, ::Ice::Int status, ::Ice::Int imsid, bool& bneedsendfakestatus, ::Ice::Int& before, ::Ice::Int& afteronlinestatus, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setWaiterStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(status); - __os->write(imsid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(bneedsendfakestatus); - __is->read(before); - __is->read(afteronlinestatus); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getHelperstatus(const ::std::string& uid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getHelperstatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getOfflineHelpers(const ::std::string& uid, ::Ice::StringSeq& childs, ::Ice::IntSeq& childsimsids, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getOfflineHelpers_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(childs); - __is->read(childsimsids); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getAllOtherHelpers(const ::std::string& uid, ::Ice::StringSeq& childs, ::Ice::IntSeq& childsimsids, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getAllOtherHelpers_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(childs); - __is->read(childsimsids); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setMaxServiceNum(const ::std::string& uid, const ::std::string& childid, ::Ice::Int num, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setMaxServiceNum_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(childid); - __os->write(num); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::chgATMHelpersServiceNum(const ::std::string& uid, const ::std::string& childid, const ::std::string& contactid, ::Ice::Int type, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__chgATMHelpersServiceNum_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(childid); - __os->write(contactid); - __os->write(type); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::HmsLoginOff(const ::std::string& uid, const ::std::string& childid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__HmsLoginOff_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(childid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::HmsLoginOff6(const ::std::string& uid, const ::std::string& childid, ::Ice::Int imsid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__HmsLoginOff6_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(childid); - __os->write(imsid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getBuddyStatus(const ::std::string& uid, ::IMSINNER::SHMSBuddyStatusSeq& buddystatus, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getBuddyStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMSINNER::__read(__is, buddystatus, ::IMSINNER::__U__SHMSBuddyStatusSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::EHmsLogin6(const ::std::string& uid, const ::std::string& fid, ::Ice::Int imsid, ::Ice::Int logintype, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__EHmsLogin6_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(fid); - __os->write(imsid); - __os->write(logintype); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getBuddyStatus6(const ::std::string& uid, const ::std::string& fid, ::IMSINNER::SHMSBuddyStatusSeq6& buddystatus, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getBuddyStatus6_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(fid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMSINNER::__read(__is, buddystatus, ::IMSINNER::__U__SHMSBuddyStatusSeq6()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getForWardList(const ::std::string& uid, const ::std::string& fid, ::IMSINNER::SHMSBuddyStatusSeq6& buddystatus, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getForWardList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(fid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMSINNER::__read(__is, buddystatus, ::IMSINNER::__U__SHMSBuddyStatusSeq6()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::forWardServiceUser(const ::std::string& uid, const ::std::string& fid, const ::std::string& conatctid, const ::std::string& tochildid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__forWardServiceUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(fid); - __os->write(conatctid); - __os->write(tochildid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::closeHMSSession(const ::std::string& uid, const ::std::string& fid, const ::std::string& conatctid, ::Ice::Int type, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__closeHMSSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(fid); - __os->write(conatctid); - __os->write(type); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::NotifyHMSMsg(const ::std::string& fromid, const ::std::string& uid, ::Ice::Int srvid, ::Ice::Int type, const ::std::string& msg, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__NotifyHMSMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fromid); - __os->write(uid); - __os->write(srvid); - __os->write(type); - __os->write(msg); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::SendHMSMsg(const ::std::string& fid, const ::std::string& uid, const ::std::string& conatctid, ::Ice::Int srvid, ::Ice::Int type, const ::std::string& msg, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__SendHMSMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fid); - __os->write(uid); - __os->write(conatctid); - __os->write(srvid); - __os->write(type); - __os->write(msg); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::changeUserStatus(const ::std::string& uid, ::Ice::Int Stauts, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__changeUserStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(Stauts); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getESShuntStatus(const ::std::string& uid, ::std::string& shunt, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getESShuntStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(shunt); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setESShuntStatus(const ::std::string& uid, const ::std::string& shunt, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setESShuntStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(shunt); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptNumSeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getMaxESReceptNum_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMSINNER::__read(__is, eserviceList, ::IMSINNER::__U__SICEReceptNumSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICEReceptNumSeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setMaxESReceptNum_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::IMSINNER::__U__SICEReceptNumSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getESPriority(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getESPriority_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMSINNER::__read(__is, eserviceList, ::IMSINNER::__U__SICEReceptPrioritySeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setESPriority(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setESPriority_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::IMSINNER::__U__SICEReceptPrioritySeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getESRecvOffMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMSINNER::__read(__is, eserviceList, ::IMSINNER::__U__SICERecvOffMsgSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setESRecvOffMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::IMSINNER::__U__SICERecvOffMsgSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getESGroupList(const ::std::string& uid, ::Ice::IntSeq& groupList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getESGroupList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::insertESGroupInfo(const ::std::string& uid, const ::IMSINNER::SICEESGroupInfo& groupInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__insertESGroupInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - groupInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::updateESGroupInfo(const ::std::string& uid, const ::IMSINNER::SICEESGroupInfo& group, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__updateESGroupInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - group.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::delESGroup(const ::std::string& uid, ::Ice::Int groupid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__delESGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getESGroupInfo(const ::std::string& uid, ::IMSINNER::SICEESGroupInfoSeq& groupList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getESGroupInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMSINNER::__read(__is, groupList, ::IMSINNER::__U__SICEESGroupInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getESGroupInfoByID(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEESGroupInfo& groupInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getESGroupInfoByID_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - groupInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getESUnJoinGroup(const ::std::string& uid, ::Ice::StringSeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getESUnJoinGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(eserviceList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getESReceptList(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptStatusSeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getESReceptList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMSINNER::__read(__is, eserviceList, ::IMSINNER::__U__SICEReceptStatusSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::checkESRole(const ::std::string& uid, ::Ice::Int& groupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__checkESRole_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getChildShuntInfos(const ::std::string& uid, ::IMSINNER::SICEChildShuntInfoSeq& childInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getChildShuntInfos_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMSINNER::__read(__is, childInfos, ::IMSINNER::__U__SICEChildShuntInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setChildShuntInfos(const ::std::string& uid, const ::IMSINNER::SICEChildShuntInfoSeq& childInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setChildShuntInfos_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - if(childInfos.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &childInfos[0], &childInfos[0] + childInfos.size(), ::IMSINNER::__U__SICEChildShuntInfoSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getAgentChild(const ::std::string& uid, ::std::string& agentId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getAgentChild_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(agentId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setAgentChild(const ::std::string& uid, const ::std::string& agentId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setAgentChild_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(agentId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getAgentList(const ::std::string& uid, ::Ice::StringSeq& agentIds, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getAgentList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(agentIds); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::helperMsg(const ::std::string& uid, const ::std::string& targetUid, const ::std::string& message, ::Ice::Int originalSid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__helperMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(targetUid); - __os->write(message); - __os->write(originalSid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getLastVisit(const ::std::string& host, const ::std::string& visitor, ::std::string& hostess, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getLastVisit_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getLastVisit(host, visitor, hostess, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setShareContact(const ::std::string& uid, const ::Ice::StringSeq& cids, ::Ice::Int value, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setShareContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setShareContact(uid, cids, value, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::clearLastVisit(const ::std::string& host, const ::std::string& visitor, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__clearLastVisit_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->clearLastVisit(host, visitor, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getLastVisitEx(const ::std::string& host, const ::std::string& visitor, ::Ice::Int groupId, ::Ice::Int addServiceNum, ::IMSINNER::SHMSBuddyStatus6& hostess, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getLastVisitEx_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getLastVisitEx(host, visitor, groupId, addServiceNum, hostess, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::HmsLogin(const ::std::string& uid, ::Ice::StringSeq& cids, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__HmsLogin_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->HmsLogin(uid, cids, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getWorkingBuddy(const ::std::string& uid, ::Ice::StringSeq& cids, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getWorkingBuddy_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getWorkingBuddy(uid, cids, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setWaiterDenyService(const ::std::string& uid, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setWaiterDenyService_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setWaiterDenyService(uid, status, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setLastVisit(const ::std::string& host, const ::std::string& visitor, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setLastVisit_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setLastVisit(host, visitor, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setLastVisitandSrvnum(const ::std::string& host, const ::std::string& visitor, ::Ice::Int srvnum, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setLastVisitandSrvnum_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setLastVisitandSrvnum(host, visitor, srvnum, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::HmsLogin6(const ::std::string& uid, ::Ice::Int imsid, ::Ice::StringSeq& cids, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__HmsLogin6_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->HmsLogin6(uid, imsid, cids, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setWaiterServerID(const ::std::string& uid, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setWaiterServerID_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setWaiterServerID(uid, status, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::isFakeOnline(const ::std::string& uid, bool& status, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__isFakeOnline_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->isFakeOnline(uid, status, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setWaiterStatus(const ::std::string& uid, ::Ice::Int status, ::Ice::Int imsid, bool& bneedsendfakestatus, ::Ice::Int& before, ::Ice::Int& afteronlinestatus, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setWaiterStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setWaiterStatus(uid, status, imsid, bneedsendfakestatus, before, afteronlinestatus, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getHelperstatus(const ::std::string& uid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getHelperstatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getHelperstatus(uid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getOfflineHelpers(const ::std::string& uid, ::Ice::StringSeq& childs, ::Ice::IntSeq& childsimsids, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getOfflineHelpers_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getOfflineHelpers(uid, childs, childsimsids, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getAllOtherHelpers(const ::std::string& uid, ::Ice::StringSeq& childs, ::Ice::IntSeq& childsimsids, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getAllOtherHelpers_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getAllOtherHelpers(uid, childs, childsimsids, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setMaxServiceNum(const ::std::string& uid, const ::std::string& childid, ::Ice::Int num, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setMaxServiceNum_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setMaxServiceNum(uid, childid, num, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::chgATMHelpersServiceNum(const ::std::string& uid, const ::std::string& childid, const ::std::string& contactid, ::Ice::Int type, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__chgATMHelpersServiceNum_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->chgATMHelpersServiceNum(uid, childid, contactid, type, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::HmsLoginOff(const ::std::string& uid, const ::std::string& childid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__HmsLoginOff_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->HmsLoginOff(uid, childid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::HmsLoginOff6(const ::std::string& uid, const ::std::string& childid, ::Ice::Int imsid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__HmsLoginOff6_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->HmsLoginOff6(uid, childid, imsid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getBuddyStatus(const ::std::string& uid, ::IMSINNER::SHMSBuddyStatusSeq& buddystatus, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getBuddyStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getBuddyStatus(uid, buddystatus, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::EHmsLogin6(const ::std::string& uid, const ::std::string& fid, ::Ice::Int imsid, ::Ice::Int logintype, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__EHmsLogin6_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->EHmsLogin6(uid, fid, imsid, logintype, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getBuddyStatus6(const ::std::string& uid, const ::std::string& fid, ::IMSINNER::SHMSBuddyStatusSeq6& buddystatus, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getBuddyStatus6_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getBuddyStatus6(uid, fid, buddystatus, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getForWardList(const ::std::string& uid, const ::std::string& fid, ::IMSINNER::SHMSBuddyStatusSeq6& buddystatus, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getForWardList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getForWardList(uid, fid, buddystatus, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::forWardServiceUser(const ::std::string& uid, const ::std::string& fid, const ::std::string& conatctid, const ::std::string& tochildid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__forWardServiceUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->forWardServiceUser(uid, fid, conatctid, tochildid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::closeHMSSession(const ::std::string& uid, const ::std::string& fid, const ::std::string& conatctid, ::Ice::Int type, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__closeHMSSession_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->closeHMSSession(uid, fid, conatctid, type, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::NotifyHMSMsg(const ::std::string& fromid, const ::std::string& uid, ::Ice::Int srvid, ::Ice::Int type, const ::std::string& msg, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__NotifyHMSMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->NotifyHMSMsg(fromid, uid, srvid, type, msg, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::SendHMSMsg(const ::std::string& fid, const ::std::string& uid, const ::std::string& conatctid, ::Ice::Int srvid, ::Ice::Int type, const ::std::string& msg, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__SendHMSMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->SendHMSMsg(fid, uid, conatctid, srvid, type, msg, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::changeUserStatus(const ::std::string& uid, ::Ice::Int Stauts, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__changeUserStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->changeUserStatus(uid, Stauts, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getESShuntStatus(const ::std::string& uid, ::std::string& shunt, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getESShuntStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESShuntStatus(uid, shunt, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setESShuntStatus(const ::std::string& uid, const ::std::string& shunt, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setESShuntStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setESShuntStatus(uid, shunt, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptNumSeq& eserviceList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getMaxESReceptNum_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getMaxESReceptNum(uid, groupId, eserviceList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICEReceptNumSeq& eserviceList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setMaxESReceptNum_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setMaxESReceptNum(uid, groupId, eserviceList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getESPriority(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getESPriority_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESPriority(uid, groupId, eserviceList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setESPriority(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setESPriority_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setESPriority(uid, groupId, eserviceList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getESRecvOffMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESRecvOffMsg(uid, groupId, eserviceList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setESRecvOffMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setESRecvOffMsg(uid, groupId, eserviceList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getESGroupList(const ::std::string& uid, ::Ice::IntSeq& groupList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getESGroupList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESGroupList(uid, groupList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::insertESGroupInfo(const ::std::string& uid, const ::IMSINNER::SICEESGroupInfo& groupInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__insertESGroupInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->insertESGroupInfo(uid, groupInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::updateESGroupInfo(const ::std::string& uid, const ::IMSINNER::SICEESGroupInfo& group, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__updateESGroupInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateESGroupInfo(uid, group, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::delESGroup(const ::std::string& uid, ::Ice::Int groupid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__delESGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->delESGroup(uid, groupid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getESGroupInfo(const ::std::string& uid, ::IMSINNER::SICEESGroupInfoSeq& groupList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getESGroupInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESGroupInfo(uid, groupList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getESGroupInfoByID(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEESGroupInfo& groupInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getESGroupInfoByID_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESGroupInfoByID(uid, groupId, groupInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getESUnJoinGroup(const ::std::string& uid, ::Ice::StringSeq& eserviceList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getESUnJoinGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESUnJoinGroup(uid, eserviceList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getESReceptList(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptStatusSeq& eserviceList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getESReceptList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESReceptList(uid, groupId, eserviceList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::checkESRole(const ::std::string& uid, ::Ice::Int& groupId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__checkESRole_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkESRole(uid, groupId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getChildShuntInfos(const ::std::string& uid, ::IMSINNER::SICEChildShuntInfoSeq& childInfos, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getChildShuntInfos_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getChildShuntInfos(uid, childInfos, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setChildShuntInfos(const ::std::string& uid, const ::IMSINNER::SICEChildShuntInfoSeq& childInfos, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setChildShuntInfos_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setChildShuntInfos(uid, childInfos, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getAgentChild(const ::std::string& uid, ::std::string& agentId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getAgentChild_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getAgentChild(uid, agentId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setAgentChild(const ::std::string& uid, const ::std::string& agentId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setAgentChild_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setAgentChild(uid, agentId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getAgentList(const ::std::string& uid, ::Ice::StringSeq& agentIds, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getAgentList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getAgentList(uid, agentIds, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::helperMsg(const ::std::string& uid, const ::std::string& targetUid, const ::std::string& message, ::Ice::Int originalSid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__helperMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->helperMsg(uid, targetUid, message, originalSid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -IMSINNER::IMSICEService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __IMSINNER__IMSICEService_ids[2] = -{ - "::IMSINNER::IMSICEService", - "::Ice::Object" -}; - -bool -IMSINNER::IMSICEService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__IMSINNER__IMSICEService_ids, __IMSINNER__IMSICEService_ids + 2, _s); -} - -::std::vector< ::std::string> -IMSINNER::IMSICEService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__IMSINNER__IMSICEService_ids[0], &__IMSINNER__IMSICEService_ids[2]); -} - -const ::std::string& -IMSINNER::IMSICEService::ice_id(const ::Ice::Current&) const -{ - return __IMSINNER__IMSICEService_ids[0]; -} - -const ::std::string& -IMSINNER::IMSICEService::ice_staticId() -{ - return __IMSINNER__IMSICEService_ids[0]; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getLastVisit(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string host; - ::std::string visitor; - __is->read(host); - __is->read(visitor); - ::std::string hostess; - ::Ice::Int __ret = getLastVisit(host, visitor, hostess, __current); - __os->write(hostess); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setShareContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::StringSeq cids; - ::Ice::Int value; - __is->read(uid); - __is->read(cids); - __is->read(value); - ::Ice::Int __ret = setShareContact(uid, cids, value, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___clearLastVisit(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string host; - ::std::string visitor; - __is->read(host); - __is->read(visitor); - ::Ice::Int __ret = clearLastVisit(host, visitor, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getLastVisitEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string host; - ::std::string visitor; - ::Ice::Int groupId; - ::Ice::Int addServiceNum; - __is->read(host); - __is->read(visitor); - __is->read(groupId); - __is->read(addServiceNum); - ::IMSINNER::SHMSBuddyStatus6 hostess; - ::Ice::Int __ret = getLastVisitEx(host, visitor, groupId, addServiceNum, hostess, __current); - hostess.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___HmsLogin(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::StringSeq cids; - ::Ice::Int __ret = HmsLogin(uid, cids, __current); - if(cids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&cids[0], &cids[0] + cids.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getWorkingBuddy(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::StringSeq cids; - ::Ice::Int __ret = getWorkingBuddy(uid, cids, __current); - if(cids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&cids[0], &cids[0] + cids.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setWaiterDenyService(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int status; - __is->read(uid); - __is->read(status); - ::Ice::Int __ret = setWaiterDenyService(uid, status, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setLastVisit(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string host; - ::std::string visitor; - __is->read(host); - __is->read(visitor); - ::Ice::Int __ret = setLastVisit(host, visitor, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setLastVisitandSrvnum(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string host; - ::std::string visitor; - ::Ice::Int srvnum; - __is->read(host); - __is->read(visitor); - __is->read(srvnum); - ::Ice::Int __ret = setLastVisitandSrvnum(host, visitor, srvnum, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___HmsLogin6(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int imsid; - __is->read(uid); - __is->read(imsid); - ::Ice::StringSeq cids; - ::Ice::Int __ret = HmsLogin6(uid, imsid, cids, __current); - if(cids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&cids[0], &cids[0] + cids.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setWaiterServerID(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int status; - __is->read(uid); - __is->read(status); - ::Ice::Int __ret = setWaiterServerID(uid, status, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___isFakeOnline(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - bool status; - ::Ice::Int __ret = isFakeOnline(uid, status, __current); - __os->write(status); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setWaiterStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int status; - ::Ice::Int imsid; - __is->read(uid); - __is->read(status); - __is->read(imsid); - bool bneedsendfakestatus; - ::Ice::Int before; - ::Ice::Int afteronlinestatus; - ::Ice::Int __ret = setWaiterStatus(uid, status, imsid, bneedsendfakestatus, before, afteronlinestatus, __current); - __os->write(bneedsendfakestatus); - __os->write(before); - __os->write(afteronlinestatus); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getHelperstatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::Int __ret = getHelperstatus(uid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getOfflineHelpers(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::StringSeq childs; - ::Ice::IntSeq childsimsids; - ::Ice::Int __ret = getOfflineHelpers(uid, childs, childsimsids, __current); - if(childs.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&childs[0], &childs[0] + childs.size()); - } - if(childsimsids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&childsimsids[0], &childsimsids[0] + childsimsids.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getAllOtherHelpers(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::StringSeq childs; - ::Ice::IntSeq childsimsids; - ::Ice::Int __ret = getAllOtherHelpers(uid, childs, childsimsids, __current); - if(childs.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&childs[0], &childs[0] + childs.size()); - } - if(childsimsids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&childsimsids[0], &childsimsids[0] + childsimsids.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setMaxServiceNum(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string childid; - ::Ice::Int num; - __is->read(uid); - __is->read(childid); - __is->read(num); - ::Ice::Int __ret = setMaxServiceNum(uid, childid, num, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___chgATMHelpersServiceNum(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string childid; - ::std::string contactid; - ::Ice::Int type; - __is->read(uid); - __is->read(childid); - __is->read(contactid); - __is->read(type); - ::Ice::Int __ret = chgATMHelpersServiceNum(uid, childid, contactid, type, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___HmsLoginOff(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string childid; - __is->read(uid); - __is->read(childid); - ::Ice::Int __ret = HmsLoginOff(uid, childid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___HmsLoginOff6(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string childid; - ::Ice::Int imsid; - __is->read(uid); - __is->read(childid); - __is->read(imsid); - ::Ice::Int __ret = HmsLoginOff6(uid, childid, imsid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getBuddyStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::IMSINNER::SHMSBuddyStatusSeq buddystatus; - ::Ice::Int __ret = getBuddyStatus(uid, buddystatus, __current); - if(buddystatus.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &buddystatus[0], &buddystatus[0] + buddystatus.size(), ::IMSINNER::__U__SHMSBuddyStatusSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___EHmsLogin6(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string fid; - ::Ice::Int imsid; - ::Ice::Int logintype; - __is->read(uid); - __is->read(fid); - __is->read(imsid); - __is->read(logintype); - ::Ice::Int __ret = EHmsLogin6(uid, fid, imsid, logintype, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getBuddyStatus6(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string fid; - __is->read(uid); - __is->read(fid); - ::IMSINNER::SHMSBuddyStatusSeq6 buddystatus; - ::Ice::Int __ret = getBuddyStatus6(uid, fid, buddystatus, __current); - if(buddystatus.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &buddystatus[0], &buddystatus[0] + buddystatus.size(), ::IMSINNER::__U__SHMSBuddyStatusSeq6()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getForWardList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string fid; - __is->read(uid); - __is->read(fid); - ::IMSINNER::SHMSBuddyStatusSeq6 buddystatus; - ::Ice::Int __ret = getForWardList(uid, fid, buddystatus, __current); - if(buddystatus.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &buddystatus[0], &buddystatus[0] + buddystatus.size(), ::IMSINNER::__U__SHMSBuddyStatusSeq6()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___forWardServiceUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string fid; - ::std::string conatctid; - ::std::string tochildid; - __is->read(uid); - __is->read(fid); - __is->read(conatctid); - __is->read(tochildid); - ::Ice::Int __ret = forWardServiceUser(uid, fid, conatctid, tochildid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___closeHMSSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string fid; - ::std::string conatctid; - ::Ice::Int type; - __is->read(uid); - __is->read(fid); - __is->read(conatctid); - __is->read(type); - ::Ice::Int __ret = closeHMSSession(uid, fid, conatctid, type, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___NotifyHMSMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string fromid; - ::std::string uid; - ::Ice::Int srvid; - ::Ice::Int type; - ::std::string msg; - __is->read(fromid); - __is->read(uid); - __is->read(srvid); - __is->read(type); - __is->read(msg); - ::Ice::Int __ret = NotifyHMSMsg(fromid, uid, srvid, type, msg, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___SendHMSMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string fid; - ::std::string uid; - ::std::string conatctid; - ::Ice::Int srvid; - ::Ice::Int type; - ::std::string msg; - __is->read(fid); - __is->read(uid); - __is->read(conatctid); - __is->read(srvid); - __is->read(type); - __is->read(msg); - ::Ice::Int __ret = SendHMSMsg(fid, uid, conatctid, srvid, type, msg, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___changeUserStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int Stauts; - __is->read(uid); - __is->read(Stauts); - ::Ice::Int __ret = changeUserStatus(uid, Stauts, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getESShuntStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::std::string shunt; - ::Ice::Int __ret = getESShuntStatus(uid, shunt, __current); - __os->write(shunt); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setESShuntStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string shunt; - __is->read(uid); - __is->read(shunt); - ::Ice::Int __ret = setESShuntStatus(uid, shunt, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getMaxESReceptNum(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int groupId; - __is->read(uid); - __is->read(groupId); - ::IMSINNER::SICEReceptNumSeq eserviceList; - ::Ice::Int __ret = getMaxESReceptNum(uid, groupId, eserviceList, __current); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::IMSINNER::__U__SICEReceptNumSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setMaxESReceptNum(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int groupId; - ::IMSINNER::SICEReceptNumSeq eserviceList; - __is->read(uid); - __is->read(groupId); - ::IMSINNER::__read(__is, eserviceList, ::IMSINNER::__U__SICEReceptNumSeq()); - ::Ice::Int __ret = setMaxESReceptNum(uid, groupId, eserviceList, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getESPriority(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int groupId; - __is->read(uid); - __is->read(groupId); - ::IMSINNER::SICEReceptPrioritySeq eserviceList; - ::Ice::Int __ret = getESPriority(uid, groupId, eserviceList, __current); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::IMSINNER::__U__SICEReceptPrioritySeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setESPriority(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int groupId; - ::IMSINNER::SICEReceptPrioritySeq eserviceList; - __is->read(uid); - __is->read(groupId); - ::IMSINNER::__read(__is, eserviceList, ::IMSINNER::__U__SICEReceptPrioritySeq()); - ::Ice::Int __ret = setESPriority(uid, groupId, eserviceList, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getESRecvOffMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int groupId; - __is->read(uid); - __is->read(groupId); - ::IMSINNER::SICERecvOffMsgSeq eserviceList; - ::Ice::Int __ret = getESRecvOffMsg(uid, groupId, eserviceList, __current); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::IMSINNER::__U__SICERecvOffMsgSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setESRecvOffMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int groupId; - ::IMSINNER::SICERecvOffMsgSeq eserviceList; - __is->read(uid); - __is->read(groupId); - ::IMSINNER::__read(__is, eserviceList, ::IMSINNER::__U__SICERecvOffMsgSeq()); - ::Ice::Int __ret = setESRecvOffMsg(uid, groupId, eserviceList, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getESGroupList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::IntSeq groupList; - ::Ice::Int __ret = getESGroupList(uid, groupList, __current); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&groupList[0], &groupList[0] + groupList.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___insertESGroupInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::IMSINNER::SICEESGroupInfo groupInfo; - __is->read(uid); - groupInfo.__read(__is); - ::Ice::Int __ret = insertESGroupInfo(uid, groupInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___updateESGroupInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::IMSINNER::SICEESGroupInfo group; - __is->read(uid); - group.__read(__is); - ::Ice::Int __ret = updateESGroupInfo(uid, group, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___delESGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int groupid; - __is->read(uid); - __is->read(groupid); - ::Ice::Int __ret = delESGroup(uid, groupid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getESGroupInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::IMSINNER::SICEESGroupInfoSeq groupList; - ::Ice::Int __ret = getESGroupInfo(uid, groupList, __current); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &groupList[0], &groupList[0] + groupList.size(), ::IMSINNER::__U__SICEESGroupInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getESGroupInfoByID(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int groupId; - __is->read(uid); - __is->read(groupId); - ::IMSINNER::SICEESGroupInfo groupInfo; - ::Ice::Int __ret = getESGroupInfoByID(uid, groupId, groupInfo, __current); - groupInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getESUnJoinGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::StringSeq eserviceList; - ::Ice::Int __ret = getESUnJoinGroup(uid, eserviceList, __current); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&eserviceList[0], &eserviceList[0] + eserviceList.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getESReceptList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int groupId; - __is->read(uid); - __is->read(groupId); - ::IMSINNER::SICEReceptStatusSeq eserviceList; - ::Ice::Int __ret = getESReceptList(uid, groupId, eserviceList, __current); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::IMSINNER::__U__SICEReceptStatusSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___checkESRole(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::Int groupId; - ::Ice::Int __ret = checkESRole(uid, groupId, __current); - __os->write(groupId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getChildShuntInfos(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::IMSINNER::SICEChildShuntInfoSeq childInfos; - ::Ice::Int __ret = getChildShuntInfos(uid, childInfos, __current); - if(childInfos.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &childInfos[0], &childInfos[0] + childInfos.size(), ::IMSINNER::__U__SICEChildShuntInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setChildShuntInfos(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::IMSINNER::SICEChildShuntInfoSeq childInfos; - __is->read(uid); - ::IMSINNER::__read(__is, childInfos, ::IMSINNER::__U__SICEChildShuntInfoSeq()); - ::Ice::Int __ret = setChildShuntInfos(uid, childInfos, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getAgentChild(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::std::string agentId; - ::Ice::Int __ret = getAgentChild(uid, agentId, __current); - __os->write(agentId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setAgentChild(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string agentId; - __is->read(uid); - __is->read(agentId); - ::Ice::Int __ret = setAgentChild(uid, agentId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getAgentList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::StringSeq agentIds; - ::Ice::Int __ret = getAgentList(uid, agentIds, __current); - if(agentIds.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&agentIds[0], &agentIds[0] + agentIds.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___helperMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string targetUid; - ::std::string message; - ::Ice::Int originalSid; - __is->read(uid); - __is->read(targetUid); - __is->read(message); - __is->read(originalSid); - ::Ice::Int __ret = helperMsg(uid, targetUid, message, originalSid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __IMSINNER__IMSICEService_all[] = -{ - "EHmsLogin6", - "HmsLogin", - "HmsLogin6", - "HmsLoginOff", - "HmsLoginOff6", - "NotifyHMSMsg", - "SendHMSMsg", - "changeUserStatus", - "checkESRole", - "chgATMHelpersServiceNum", - "clearLastVisit", - "closeHMSSession", - "delESGroup", - "forWardServiceUser", - "getAgentChild", - "getAgentList", - "getAllOtherHelpers", - "getBuddyStatus", - "getBuddyStatus6", - "getChildShuntInfos", - "getESGroupInfo", - "getESGroupInfoByID", - "getESGroupList", - "getESPriority", - "getESReceptList", - "getESRecvOffMsg", - "getESShuntStatus", - "getESUnJoinGroup", - "getForWardList", - "getHelperstatus", - "getLastVisit", - "getLastVisitEx", - "getMaxESReceptNum", - "getOfflineHelpers", - "getWorkingBuddy", - "helperMsg", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "insertESGroupInfo", - "isFakeOnline", - "setAgentChild", - "setChildShuntInfos", - "setESPriority", - "setESRecvOffMsg", - "setESShuntStatus", - "setLastVisit", - "setLastVisitandSrvnum", - "setMaxESReceptNum", - "setMaxServiceNum", - "setShareContact", - "setWaiterDenyService", - "setWaiterServerID", - "setWaiterStatus", - "updateESGroupInfo" -}; - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__IMSINNER__IMSICEService_all, __IMSINNER__IMSICEService_all + 56, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __IMSINNER__IMSICEService_all) - { - case 0: - { - return ___EHmsLogin6(in, current); - } - case 1: - { - return ___HmsLogin(in, current); - } - case 2: - { - return ___HmsLogin6(in, current); - } - case 3: - { - return ___HmsLoginOff(in, current); - } - case 4: - { - return ___HmsLoginOff6(in, current); - } - case 5: - { - return ___NotifyHMSMsg(in, current); - } - case 6: - { - return ___SendHMSMsg(in, current); - } - case 7: - { - return ___changeUserStatus(in, current); - } - case 8: - { - return ___checkESRole(in, current); - } - case 9: - { - return ___chgATMHelpersServiceNum(in, current); - } - case 10: - { - return ___clearLastVisit(in, current); - } - case 11: - { - return ___closeHMSSession(in, current); - } - case 12: - { - return ___delESGroup(in, current); - } - case 13: - { - return ___forWardServiceUser(in, current); - } - case 14: - { - return ___getAgentChild(in, current); - } - case 15: - { - return ___getAgentList(in, current); - } - case 16: - { - return ___getAllOtherHelpers(in, current); - } - case 17: - { - return ___getBuddyStatus(in, current); - } - case 18: - { - return ___getBuddyStatus6(in, current); - } - case 19: - { - return ___getChildShuntInfos(in, current); - } - case 20: - { - return ___getESGroupInfo(in, current); - } - case 21: - { - return ___getESGroupInfoByID(in, current); - } - case 22: - { - return ___getESGroupList(in, current); - } - case 23: - { - return ___getESPriority(in, current); - } - case 24: - { - return ___getESReceptList(in, current); - } - case 25: - { - return ___getESRecvOffMsg(in, current); - } - case 26: - { - return ___getESShuntStatus(in, current); - } - case 27: - { - return ___getESUnJoinGroup(in, current); - } - case 28: - { - return ___getForWardList(in, current); - } - case 29: - { - return ___getHelperstatus(in, current); - } - case 30: - { - return ___getLastVisit(in, current); - } - case 31: - { - return ___getLastVisitEx(in, current); - } - case 32: - { - return ___getMaxESReceptNum(in, current); - } - case 33: - { - return ___getOfflineHelpers(in, current); - } - case 34: - { - return ___getWorkingBuddy(in, current); - } - case 35: - { - return ___helperMsg(in, current); - } - case 36: - { - return ___ice_id(in, current); - } - case 37: - { - return ___ice_ids(in, current); - } - case 38: - { - return ___ice_isA(in, current); - } - case 39: - { - return ___ice_ping(in, current); - } - case 40: - { - return ___insertESGroupInfo(in, current); - } - case 41: - { - return ___isFakeOnline(in, current); - } - case 42: - { - return ___setAgentChild(in, current); - } - case 43: - { - return ___setChildShuntInfos(in, current); - } - case 44: - { - return ___setESPriority(in, current); - } - case 45: - { - return ___setESRecvOffMsg(in, current); - } - case 46: - { - return ___setESShuntStatus(in, current); - } - case 47: - { - return ___setLastVisit(in, current); - } - case 48: - { - return ___setLastVisitandSrvnum(in, current); - } - case 49: - { - return ___setMaxESReceptNum(in, current); - } - case 50: - { - return ___setMaxServiceNum(in, current); - } - case 51: - { - return ___setShareContact(in, current); - } - case 52: - { - return ___setWaiterDenyService(in, current); - } - case 53: - { - return ___setWaiterServerID(in, current); - } - case 54: - { - return ___setWaiterStatus(in, current); - } - case 55: - { - return ___updateESGroupInfo(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -IMSINNER::IMSICEService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -IMSINNER::IMSICEService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -IMSINNER::IMSICEService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type IMSINNER::IMSICEService was not generated with stream support"; - throw ex; -} - -void -IMSINNER::IMSICEService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type IMSINNER::IMSICEService was not generated with stream support"; - throw ex; -} - -void -IMSINNER::__patch__IMSICEServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::IMSINNER::IMSICEServicePtr* p = static_cast< ::IMSINNER::IMSICEServicePtr*>(__addr); - assert(p); - *p = ::IMSINNER::IMSICEServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::IMSINNER::IMSICEService::ice_staticId(); - throw e; - } -} - -bool -IMSINNER::operator==(const ::IMSINNER::IMSICEService& l, const ::IMSINNER::IMSICEService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IMSINNER::operator!=(const ::IMSINNER::IMSICEService& l, const ::IMSINNER::IMSICEService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IMSINNER::operator<(const ::IMSINNER::IMSICEService& l, const ::IMSINNER::IMSICEService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IMSINNER::operator<=(const ::IMSINNER::IMSICEService& l, const ::IMSINNER::IMSICEService& r) -{ - return l < r || l == r; -} - -bool -IMSINNER::operator>(const ::IMSINNER::IMSICEService& l, const ::IMSINNER::IMSICEService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IMSINNER::operator>=(const ::IMSINNER::IMSICEService& l, const ::IMSINNER::IMSICEService& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/ims_perf_test.cpp.svn-base b/features/aliww/source/.svn/text-base/ims_perf_test.cpp.svn-base deleted file mode 100644 index 5209985..0000000 --- a/features/aliww/source/.svn/text-base/ims_perf_test.cpp.svn-base +++ /dev/null @@ -1,229 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: get_bind_list.cpp - * - * Description: - * - * Version: 1.0 - * Created: 2011å¹´01月07æ—¥ 15æ—¶53分02秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ -#include "cbenchmark.h" -#include "paramutil.h" -#include "CWWSimulator.h" -#include "script_consts.h" -#include "ims_perf_test.h" -#include -using namespace std; - -/* - TPFS性能测试的时候由于数æ®ä¸å……足的缘故, - 需è¦ç»•è¿‡IMS登录环节 - 所以需è¦ä½¿ç”¨å­—符串"AAATESTSESSIONKEY"作为sessionno - 辛树mock -*/ - -void *ims_init(void* p) -{ - srand(time(0)); - - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - create_transaction(pVuser,"IMS"); - - CWWSimulator *pWW = new (CWWSimulator); - pVuser->verb = pWW; - - string imServerIP = "10.249.65.31"; - uint16_t port = 80; - //string imServerIP = "10.250.3.88"; - //uint16_t port = 16000; - //string tpfsIP = "10.249.197.17"; - //uint16_t tpfs_port = 16000; - char *tmp = select_param_ex(pVuser); - char *comaidx = index(tmp,','); - char *uname = strndup(tmp,comaidx-tmp-1); - char *pword = strdup(comaidx+1); - free(tmp); - - string username(uname); - string password(pword); - //string username("cntaobaoabcctv"); - //string password("system"); - pWW->SetServerIP(imServerIP, port); - //pWW->SetTpfsIP(tpfsIP, tpfs_port); - pWW->SetStatus(TOKEN_FLAG, DEFAULT_LOGINSTAT); - pWW->SetClient(DEFAULT_CLIENTVERSION, DEFAULT_CLIENTLANGUAGE); - pWW->SetUser(username,password); - - string msg; - int count = 5; - while(pWW->login(msg) != 0){ - count--; - if(count == 0){ - fail_transactionEx(pVuser,"IMS",(char*)msg.c_str()); - printf("Can't login.\n"); - cb_exit(p); - } - } - success_transactionEx(pVuser,"IMS",(char*)msg.c_str()); - //string session= "AAATESTSESSIONKEY"; - /* - int con_count = 0; - while(!pWW->m_bIsConnected) - { - pWW->SetSessionNo(session); - pWW->ConnectTpfs(); - sleep(2); - if(con_count++ > 5){ - printf("Dangerous!!! Already connect %d times.\n",con_count); - } - } - - string msg; - if(pWW->chatPidfy(msg) != 0) - fail_transactionEx(pVuser,"IMS",(char*)msg.c_str()); - */ -} - - -void *ims_login(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - pWW->SetStatus(0, DEFAULT_LOGINSTAT); - pWW->SetUser(pWW->m_username, pWW->m_password); - - string msg; - if(pWW->login(msg) == 0) - success_transactionEx(pVuser,"IMS",(char*)msg.c_str()); - else - fail_transactionEx(pVuser,"IMS",(char*)msg.c_str()); -} - -void *ims_storm_login(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - - int i; - string imServerIP = "10.249.65.31"; - long t = time(0); - uint16_t port = 80; - for (i = 0; i < 100; i++) { - char uname[128]; - sprintf(uname,"cntaobaoperftestx%dx%dx%dx%ldx%d",i,get_vuser_id(p),get_vuser_group(p),t,rand()*1000); - - string username(uname); - string password("system"); - CWWSimulator *pWW = new (CWWSimulator); - pWW->SetServerIP(imServerIP, port); - pWW->SetStatus(TOKEN_FLAG, DEFAULT_LOGINSTAT); - pWW->SetClient(DEFAULT_CLIENTVERSION, DEFAULT_CLIENTLANGUAGE); - pWW->SetUser(username,password); - - string msg; - if(pWW->login(msg) == 0) - success_transactionEx(pVuser,"IMS",(char*)msg.c_str()); - else - fail_transactionEx(pVuser,"IMS",(char*)msg.c_str()); - delete(pWW); - } -} - -void *ims_login_with_token(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - pWW->SetStatus(1, DEFAULT_LOGINSTAT); - pWW->SetUser(pWW->m_username, pWW->m_pwtoken); - - string msg; - if(pWW->login(msg) == 0) - success_transactionEx(pVuser,"IMS",(char*)msg.c_str()); - else - fail_transactionEx(pVuser,"IMS",(char*)msg.c_str()); -} - -void *ims_updateUserProfile(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - char *bloodtype[4] = {"A","B","AB","O"}; - int i = rand()%4; - string msg; - if(pWW->updateUserprofile(bloodtype[i],"13012345678",msg) == 0) - success_transactionEx(pVuser,"IMS",(char*)msg.c_str()); - else - fail_transactionEx(pVuser,"IMS",(char*)msg.c_str()); - //sleep(1); -} - -void *ims_chgStatus(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - //uint16_t CWWSimulator::chgStatus(int basicstatus,int predefstatus,string& msg) - int predefstatus = rand()%6+1; - string msg; - if(pWW->chgStatus(1,predefstatus,msg) == 0) - success_transactionEx(pVuser,"IMS",(char*)msg.c_str()); - else - fail_transactionEx(pVuser,"IMS",(char*)msg.c_str()); -} - -void *ims_search_contact(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - //uint16_t CWWSimulator::chgStatus(int basicstatus,int predefstatus,string& msg) - vector::iterator i; - //for(i = pWW->m_contactList.begin(); i < pWW->m_contactList.end(); i++) - //cout << (*i) << endl;; - - int predefstatus = rand()%6+1; - string msg; - if(pWW->chgStatus(1,predefstatus,msg) == 0) - success_transactionEx(pVuser,"IMS",(char*)msg.c_str()); - else - fail_transactionEx(pVuser,"IMS",(char*)msg.c_str()); -} - -void *ims_end(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - //pWW->Detach(); -} - - - - - - - - - - - - - - - - - - - - - diff --git a/features/aliww/source/.svn/text-base/imsc_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/imsc_pack.cpp.svn-base deleted file mode 100644 index c12e3ba..0000000 --- a/features/aliww/source/.svn/text-base/imsc_pack.cpp.svn-base +++ /dev/null @@ -1,18290 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: imsc_pack.cpp -// Date: 2011-04-27 13:35:59 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "imsc_pack.h" - -void CImHelthCheck::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_HELTH_CHECK; - m_scHead.PackData(strData); -} - -void CImHelthCheck::PackBody(string& strData) -{ -} - -void CImHelthCheck::PackData(string& strData, const string& strKey) -{ - PackHead(strData); -} - -PACKRETCODE CImHelthCheck::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CImHelthCheck::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - return PACK_RIGHT; -} - -void CImReqCheckversion::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHECKVERSION; - m_scHead.PackData(strData); -} - -void CImReqCheckversion::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_version; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqCheckversion::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqCheckversion::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqCheckversion::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspCheckversion::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHECKVERSION; - m_scHead.PackData(strData); -} - -void CImRspCheckversion::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_remark; - (*this) << FT_UINT32; - (*this) << m_connectNo; - (*this) << FT_STRING; - (*this) << m_pubkey; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspCheckversion::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspCheckversion::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_connectNo; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_pubkey; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspCheckversion::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqPrelogin::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_PRELOGIN; - m_scHead.PackData(strData); -} - -void CImReqPrelogin::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_connectNo; - (*this) << FT_STRING; - (*this) << m_workKey; - (*this) << FT_STRING; - (*this) << m_strlogin; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqPrelogin::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqPrelogin::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_connectNo; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_workKey; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_strlogin; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqPrelogin::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqLogin::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_LOGIN; - m_scHead.PackData(strData); -} - -void CImReqLogin::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)10; - (*this) << FT_UINT8; - (*this) << m_tokenFlag; - (*this) << FT_UINT32; - (*this) << m_connectNo; - (*this) << FT_STRING; - (*this) << m_password; - (*this) << FT_STRING; - (*this) << m_version; - (*this) << FT_UINT32; - (*this) << m_language; - (*this) << FT_UINT32; - (*this) << m_timestampFlag; - (*this) << FT_VECTOR; - (*this) << FT_UINT32; - { - uint32_t nLen = m_timestampList.size(); - (*this) << nLen; - VECTOR< uint32_t >::const_iterator itr; - for(itr = m_timestampList.cbegin(); itr != m_timestampList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_hardcode.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_hardcode.cbegin(); itr != m_hardcode.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_STRING; - (*this) << m_hardcheck; - (*this) << FT_STRING; - (*this) << m_rid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqLogin::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqLogin::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 9) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tokenFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_connectNo; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_password; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_language; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestampFlag; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_timestampList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - uint32_t tmpVal; - (*this) >> tmpVal; - m_timestampList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_hardcode.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_hardcode.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_hardcheck; - try - { - if(num < 10) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_rid; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqLogin::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqPrelogin1::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_PRELOGIN1; - m_scHead.PackData(strData); -} - -void CImReqPrelogin1::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_connectNo; - (*this) << FT_STRING; - (*this) << m_workKey; - (*this) << FT_STRING; - (*this) << m_strlogin; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqPrelogin1::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqPrelogin1::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_connectNo; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_workKey; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_strlogin; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqPrelogin1::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspLogin::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_LOGIN; - m_scHead.PackData(strData); -} - -void CImRspLogin::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)12; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_timestampFlag; - (*this) << FT_UINT32; - (*this) << m_clientIp; - (*this) << FT_UINT32; - (*this) << m_serverTime; - (*this) << FT_STRING; - (*this) << m_workKey; - (*this) << FT_STRING; - (*this) << m_pwtoken; - (*this) << FT_STRING; - (*this) << m_remark; - (*this) << FT_STRING; - (*this) << m_webmd5pw; - (*this) << FT_UINT32; - (*this) << m_lastClientip; - (*this) << FT_STRING; - (*this) << m_bindid; - (*this) << FT_STRING; - (*this) << m_rid; - (*this) << FT_UINT32; - (*this) << m_lastLogintime; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspLogin::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspLogin::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 11) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestampFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_clientIp; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serverTime; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_workKey; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_pwtoken; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_webmd5pw; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_lastClientip; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_bindid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_rid; - try - { - if(num < 12) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_lastLogintime; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspLogin::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqLogin2::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_LOGIN2; - m_scHead.PackData(strData); -} - -void CImReqLogin2::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_timestampFlag; - (*this) << FT_VECTOR; - (*this) << FT_UINT32; - { - uint32_t nLen = m_timestampList.size(); - (*this) << nLen; - VECTOR< uint32_t >::const_iterator itr; - for(itr = m_timestampList.cbegin(); itr != m_timestampList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_STRING; - (*this) << m_loginToken; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqLogin2::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqLogin2::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestampFlag; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_timestampList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - uint32_t tmpVal; - (*this) >> tmpVal; - m_timestampList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_loginToken; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqLogin2::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspLogin2::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_LOGIN2; - m_scHead.PackData(strData); -} - -void CImRspLogin2::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_timestampFlag; - (*this) << FT_STRING; - (*this) << m_remark; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspLogin2::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspLogin2::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestampFlag; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspLogin2::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqPreloginAgain::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_PRELOGIN_AGAIN; - m_scHead.PackData(strData); -} - -void CImReqPreloginAgain::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_connectNo; - (*this) << FT_STRING; - (*this) << m_workKey; - (*this) << FT_STRING; - (*this) << m_strloginagin; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqPreloginAgain::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqPreloginAgain::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_connectNo; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_workKey; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_strloginagin; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqPreloginAgain::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqLoginAgain::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_LOGIN_AGAIN; - m_scHead.PackData(strData); -} - -void CImReqLoginAgain::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)10; - (*this) << FT_UINT8; - (*this) << m_tokenFlag; - (*this) << FT_UINT32; - (*this) << m_connectNo; - (*this) << FT_STRING; - (*this) << m_password; - (*this) << FT_STRING; - (*this) << m_version; - (*this) << FT_UINT32; - (*this) << m_language; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_hardcode.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_hardcode.cbegin(); itr != m_hardcode.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_STRING; - (*this) << m_hardcheck; - (*this) << FT_UINT8; - (*this) << m_basicStatus; - (*this) << FT_UINT8; - (*this) << m_predefStatus; - (*this) << FT_STRING; - (*this) << m_pwcode; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqLoginAgain::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqLoginAgain::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 10) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tokenFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_connectNo; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_password; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_language; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_hardcode.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_hardcode.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_hardcheck; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_basicStatus; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_predefStatus; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_pwcode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqLoginAgain::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspLoginAgain::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_LOGIN_AGAIN; - m_scHead.PackData(strData); -} - -void CImRspLoginAgain::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_workKey; - (*this) << FT_STRING; - (*this) << m_remark; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspLoginAgain::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspLoginAgain::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_workKey; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspLoginAgain::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfLoginAgain::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_LOGIN_AGAIN; - m_scHead.PackData(strData); -} - -void CImNtfLoginAgain::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_pwcode; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfLoginAgain::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfLoginAgain::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_pwcode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfLoginAgain::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqPostlogin::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_POSTLOGIN; - m_scHead.PackData(strData); -} - -void CImReqPostlogin::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_basicStatus; - (*this) << FT_UINT8; - (*this) << m_predefStatus; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqPostlogin::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqPostlogin::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_basicStatus; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_predefStatus; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqPostlogin::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqRelogin::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_RELOGIN; - m_scHead.PackData(strData); -} - -void CImReqRelogin::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - (*this) << m_password; - (*this) << FT_STRING; - (*this) << m_version; - (*this) << FT_UINT32; - (*this) << m_connectNo; - (*this) << FT_UINT8; - (*this) << m_basicStatus; - (*this) << FT_UINT8; - (*this) << m_predefStatus; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqRelogin::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqRelogin::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_password; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_connectNo; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_basicStatus; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_predefStatus; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqRelogin::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspRelogin::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_RELOGIN; - m_scHead.PackData(strData); -} - -void CImRspRelogin::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_connectNo; - (*this) << FT_STRING; - (*this) << m_remark; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspRelogin::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspRelogin::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_connectNo; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspRelogin::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqLogoff::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_LOGOFF; - m_scHead.PackData(strData); -} - -void CImReqLogoff::PackBody(string& strData) -{ -} - -void CImReqLogoff::PackData(string& strData, const string& strKey) -{ - PackHead(strData); -} - -PACKRETCODE CImReqLogoff::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CImReqLogoff::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - return PACK_RIGHT; -} - -void CImRspLogoff::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_LOGOFF; - m_scHead.PackData(strData); -} - -void CImRspLogoff::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_remark; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspLogoff::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspLogoff::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspLogoff::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfForcedisconnect::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_FORCEDISCONNECT; - m_scHead.PackData(strData); -} - -void CImNtfForcedisconnect::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_remark; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfForcedisconnect::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfForcedisconnect::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfForcedisconnect::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SUserGroup& sUserGroup ) -{ - uint8_t nFieldNum = 3; - cPackData << nFieldNum; - cPackData << FT_INT64; - cPackData << sUserGroup.m_groupId; - cPackData << FT_INT64; - cPackData << sUserGroup.m_parentId; - cPackData << FT_STRING; - cPackData << sUserGroup.m_groupName; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SUserGroup& sUserGroup ) -{ - uint8_t num; - cPackData >> num; - if(num < 3) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_INT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sUserGroup.m_groupId; - cPackData >> field; - if(field.m_baseType != FT_INT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sUserGroup.m_parentId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sUserGroup.m_groupName; - for(int i = 3; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImReqGetgroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GETGROUP; - m_scHead.PackData(strData); -} - -void CImReqGetgroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetgroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetgroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetgroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetgroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETGROUP; - m_scHead.PackData(strData); -} - -void CImRspGetgroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_groupList.size(); - (*this) << nLen; - VECTOR< SUserGroup >::const_iterator itr; - for(itr = m_groupList.cbegin(); itr != m_groupList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetgroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetgroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_groupList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SUserGroup tmpVal; - (*this) >> tmpVal; - m_groupList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetgroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqAddgroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ADDGROUP; - m_scHead.PackData(strData); -} - -void CImReqAddgroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_groupName; - (*this) << FT_INT64; - (*this) << m_parentId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAddgroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAddgroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupName; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_parentId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAddgroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspAddgroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_ADDGROUP; - m_scHead.PackData(strData); -} - -void CImRspAddgroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRUCT; - (*this) << m_groupInfo; - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspAddgroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspAddgroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupInfo; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspAddgroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SUserChggroup& sUserChggroup ) -{ - uint8_t nFieldNum = 4; - cPackData << nFieldNum; - cPackData << FT_UINT64; - cPackData << sUserChggroup.m_mask; - cPackData << FT_INT64; - cPackData << sUserChggroup.m_groupId; - cPackData << FT_INT64; - cPackData << sUserChggroup.m_parentId; - cPackData << FT_STRING; - cPackData << sUserChggroup.m_groupName; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SUserChggroup& sUserChggroup ) -{ - uint8_t num; - cPackData >> num; - if(num < 4) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_UINT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sUserChggroup.m_mask; - cPackData >> field; - if(field.m_baseType != FT_INT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sUserChggroup.m_groupId; - cPackData >> field; - if(field.m_baseType != FT_INT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sUserChggroup.m_parentId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sUserChggroup.m_groupName; - for(int i = 4; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImReqChggroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHGGROUP; - m_scHead.PackData(strData); -} - -void CImReqChggroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_groupInfo.size(); - (*this) << nLen; - VECTOR< SUserChggroup >::const_iterator itr; - for(itr = m_groupInfo.cbegin(); itr != m_groupInfo.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChggroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChggroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_groupInfo.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SUserChggroup tmpVal; - (*this) >> tmpVal; - m_groupInfo.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChggroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChggroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHGGROUP; - m_scHead.PackData(strData); -} - -void CImRspChggroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_groupInfo.size(); - (*this) << nLen; - VECTOR< SUserChggroup >::const_iterator itr; - for(itr = m_groupInfo.cbegin(); itr != m_groupInfo.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChggroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChggroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_groupInfo.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SUserChggroup tmpVal; - (*this) >> tmpVal; - m_groupInfo.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChggroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqDelgroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_DELGROUP; - m_scHead.PackData(strData); -} - -void CImReqDelgroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_INT64; - { - uint32_t nLen = m_groupId.size(); - (*this) << nLen; - VECTOR< int64_t >::const_iterator itr; - for(itr = m_groupId.cbegin(); itr != m_groupId.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqDelgroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqDelgroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_groupId.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - int64_t tmpVal; - (*this) >> tmpVal; - m_groupId.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqDelgroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SDelGroup& sDelGroup ) -{ - uint8_t nFieldNum = 2; - cPackData << nFieldNum; - cPackData << FT_UINT32; - cPackData << sDelGroup.m_retcode; - cPackData << FT_INT64; - cPackData << sDelGroup.m_groupId; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SDelGroup& sDelGroup ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sDelGroup.m_retcode; - cPackData >> field; - if(field.m_baseType != FT_INT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sDelGroup.m_groupId; - for(int i = 2; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImRspDelgroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_DELGROUP; - m_scHead.PackData(strData); -} - -void CImRspDelgroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_groupInfo.size(); - (*this) << nLen; - VECTOR< SDelGroup >::const_iterator itr; - for(itr = m_groupInfo.cbegin(); itr != m_groupInfo.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspDelgroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspDelgroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_groupInfo.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SDelGroup tmpVal; - (*this) >> tmpVal; - m_groupInfo.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspDelgroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChguserverify::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHGUSERVERIFY; - m_scHead.PackData(strData); -} - -void CImReqChguserverify::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_addcontactFlag; - (*this) << FT_UINT8; - (*this) << m_sendmsgFlag; - (*this) << FT_UINT8; - (*this) << m_enableSearch; - (*this) << FT_STRING; - (*this) << m_question; - (*this) << FT_STRING; - (*this) << m_answer; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChguserverify::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChguserverify::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_addcontactFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sendmsgFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_enableSearch; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_question; - if(num < 5) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_answer; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChguserverify::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChguserverify::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHGUSERVERIFY; - m_scHead.PackData(strData); -} - -void CImRspChguserverify::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_addcontactFlag; - (*this) << FT_UINT8; - (*this) << m_sendmsgFlag; - (*this) << FT_UINT8; - (*this) << m_enableSearch; - (*this) << FT_STRING; - (*this) << m_question; - (*this) << FT_STRING; - (*this) << m_answer; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChguserverify::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChguserverify::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_addcontactFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sendmsgFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_enableSearch; - try - { - if(num < 5) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_question; - if(num < 6) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_answer; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChguserverify::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SChgContactInfo& sChgContactInfo ) -{ - uint8_t nFieldNum = 5; - cPackData << nFieldNum; - cPackData << FT_INT64; - cPackData << sChgContactInfo.m_mask; - cPackData << FT_STRING; - cPackData << sChgContactInfo.m_contactId; - cPackData << FT_STRING; - cPackData << sChgContactInfo.m_nickName; - cPackData << FT_STRING; - cPackData << sChgContactInfo.m_importance; - cPackData << FT_INT64; - cPackData << sChgContactInfo.m_groupId; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SChgContactInfo& sChgContactInfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 5) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_INT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sChgContactInfo.m_mask; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sChgContactInfo.m_contactId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sChgContactInfo.m_nickName; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sChgContactInfo.m_importance; - cPackData >> field; - if(field.m_baseType != FT_INT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sChgContactInfo.m_groupId; - for(int i = 5; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const SContactInfo& sContactInfo ) -{ - uint8_t nFieldNum = 4; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sContactInfo.m_contactId; - cPackData << FT_STRING; - cPackData << sContactInfo.m_nickName; - cPackData << FT_STRING; - cPackData << sContactInfo.m_importance; - cPackData << FT_INT64; - cPackData << sContactInfo.m_groupId; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SContactInfo& sContactInfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 4) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sContactInfo.m_contactId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sContactInfo.m_nickName; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sContactInfo.m_importance; - cPackData >> field; - if(field.m_baseType != FT_INT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sContactInfo.m_groupId; - for(int i = 4; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImReqGetcontact::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GETCONTACT; - m_scHead.PackData(strData); -} - -void CImReqGetcontact::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetcontact::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetcontact::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetcontact::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetcontact::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETCONTACT; - m_scHead.PackData(strData); -} - -void CImRspGetcontact::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_contactList.size(); - (*this) << nLen; - VECTOR< SContactInfo >::const_iterator itr; - for(itr = m_contactList.cbegin(); itr != m_contactList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetcontact::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetcontact::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_contactList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SContactInfo tmpVal; - (*this) >> tmpVal; - m_contactList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetcontact::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqAddcontact::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ADDCONTACT; - m_scHead.PackData(strData); -} - -void CImReqAddcontact::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRUCT; - (*this) << m_contact; - (*this) << FT_UINT8; - (*this) << m_type; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAddcontact::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAddcontact::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contact; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAddcontact::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspAddcontact::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_ADDCONTACT; - m_scHead.PackData(strData); -} - -void CImRspAddcontact::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRUCT; - (*this) << m_contact; - (*this) << FT_UINT32; - (*this) << m_timestamp; - (*this) << FT_STRING; - (*this) << m_companyname; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspAddcontact::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspAddcontact::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contact; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_companyname; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspAddcontact::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChgcontact::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHGCONTACT; - m_scHead.PackData(strData); -} - -void CImReqChgcontact::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_contactList.size(); - (*this) << nLen; - VECTOR< SChgContactInfo >::const_iterator itr; - for(itr = m_contactList.cbegin(); itr != m_contactList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChgcontact::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChgcontact::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_contactList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SChgContactInfo tmpVal; - (*this) >> tmpVal; - m_contactList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChgcontact::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChgcontact::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHGCONTACT; - m_scHead.PackData(strData); -} - -void CImRspChgcontact::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_contactList.size(); - (*this) << nLen; - VECTOR< SChgContactInfo >::const_iterator itr; - for(itr = m_contactList.cbegin(); itr != m_contactList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChgcontact::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChgcontact::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_contactList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SChgContactInfo tmpVal; - (*this) >> tmpVal; - m_contactList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChgcontact::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqDelcontact::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_DELCONTACT; - m_scHead.PackData(strData); -} - -void CImReqDelcontact::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_contactList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_contactList.cbegin(); itr != m_contactList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqDelcontact::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqDelcontact::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_contactList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_contactList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqDelcontact::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspDelcontact::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_DELCONTACT; - m_scHead.PackData(strData); -} - -void CImRspDelcontact::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_contactList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_contactList.cbegin(); itr != m_contactList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspDelcontact::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspDelcontact::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_contactList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_contactList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspDelcontact::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqAddcntack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ADDCNTACK; - m_scHead.PackData(strData); -} - -void CImReqAddcntack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_opcode; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAddcntack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAddcntack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_opcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAddcntack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspAddcntack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_ADDCNTACK; - m_scHead.PackData(strData); -} - -void CImRspAddcntack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_opcode; - (*this) << FT_INT64; - (*this) << m_groupId; - (*this) << FT_UINT32; - (*this) << m_timestamp; - (*this) << FT_STRING; - (*this) << m_contactId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspAddcntack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspAddcntack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_opcode; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspAddcntack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SContactDetailGetter& sContactDetailGetter ) -{ - uint8_t nFieldNum = 2; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sContactDetailGetter.m_contactId; - cPackData << FT_UINT32; - cPackData << sContactDetailGetter.m_timestamp; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SContactDetailGetter& sContactDetailGetter ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sContactDetailGetter.m_contactId; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sContactDetailGetter.m_timestamp; - for(int i = 2; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImReqGetcntdetail::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GETCNTDETAIL; - m_scHead.PackData(strData); -} - -void CImReqGetcntdetail::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_contacts.size(); - (*this) << nLen; - VECTOR< SContactDetailGetter >::const_iterator itr; - for(itr = m_contacts.cbegin(); itr != m_contacts.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetcntdetail::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetcntdetail::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_contacts.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SContactDetailGetter tmpVal; - (*this) >> tmpVal; - m_contacts.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetcntdetail::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SContactDetail& sContactDetail ) -{ - uint8_t nFieldNum = 2; - cPackData << nFieldNum; - cPackData << FT_MAP; - cPackData << FT_STRING; - cPackData << FT_STRING; - { - uint8_t nSize = sContactDetail.m_contactDetail.size(); - cPackData << nSize; - map< string,string >::const_iterator itr; - for(itr = sContactDetail.m_contactDetail.begin(); itr != sContactDetail.m_contactDetail.end(); ++itr) - { - cPackData << itr->first; - cPackData << itr->second; - } - } - cPackData << FT_UINT32; - cPackData << sContactDetail.m_timestamp; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SContactDetail& sContactDetail ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_MAP) throw PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - cPackData >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - cPackData >> key; - cPackData >> value; - sContactDetail.m_contactDetail[key] = value; - } - } - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sContactDetail.m_timestamp; - for(int i = 2; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImRspGetcntdetail::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETCNTDETAIL; - m_scHead.PackData(strData); -} - -void CImRspGetcntdetail::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_detailList.size(); - (*this) << nLen; - VECTOR< SContactDetail >::const_iterator itr; - for(itr = m_detailList.cbegin(); itr != m_detailList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetcntdetail::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetcntdetail::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_detailList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SContactDetail tmpVal; - (*this) >> tmpVal; - m_detailList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetcntdetail::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChguserdetail::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHGUSERDETAIL; - m_scHead.PackData(strData); -} - -void CImReqChguserdetail::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_userDetail.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_userDetail.begin(); itr != m_userDetail.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChguserdetail::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChguserdetail::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_userDetail[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChguserdetail::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChguserdetail::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHGUSERDETAIL; - m_scHead.PackData(strData); -} - -void CImRspChguserdetail::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChguserdetail::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChguserdetail::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChguserdetail::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGetcntmemo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GETCNTMEMO; - m_scHead.PackData(strData); -} - -void CImReqGetcntmemo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_contactId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetcntmemo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetcntmemo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetcntmemo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetcntmemo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETCNTMEMO; - m_scHead.PackData(strData); -} - -void CImRspGetcntmemo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_STRING; - (*this) << m_memo; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetcntmemo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetcntmemo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetcntmemo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChgcntmemo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHGCNTMEMO; - m_scHead.PackData(strData); -} - -void CImReqChgcntmemo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_STRING; - (*this) << m_memo; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChgcntmemo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChgcntmemo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChgcntmemo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChgcntmemo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHGCNTMEMO; - m_scHead.PackData(strData); -} - -void CImRspChgcntmemo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_STRING; - (*this) << m_memo; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChgcntmemo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChgcntmemo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChgcntmemo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETBLACK; - m_scHead.PackData(strData); -} - -void CImRspGetblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_blackList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_blackList.cbegin(); itr != m_blackList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetblack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_blackList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_blackList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetblack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqAddblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ADDBLACK; - m_scHead.PackData(strData); -} - -void CImReqAddblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_blackId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAddblack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAddblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAddblack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspAddblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_ADDBLACK; - m_scHead.PackData(strData); -} - -void CImRspAddblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_blackId; - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspAddblack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspAddblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspAddblack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspDelblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_DELBLACK; - m_scHead.PackData(strData); -} - -void CImRspDelblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_blackId; - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspDelblack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspDelblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspDelblack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqDelblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_DELBLACK; - m_scHead.PackData(strData); -} - -void CImReqDelblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_blackId; - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqDelblack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqDelblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqDelblack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetrevblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETREVBLACK; - m_scHead.PackData(strData); -} - -void CImRspGetrevblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_blackList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_blackList.cbegin(); itr != m_blackList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetrevblack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetrevblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_blackList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_blackList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetrevblack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetuserinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETUSERINFO; - m_scHead.PackData(strData); -} - -void CImRspGetuserinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)11; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_addcontactFlag; - (*this) << FT_UINT8; - (*this) << m_sendmsgFlag; - (*this) << FT_UINT32; - (*this) << m_activity; - (*this) << FT_UINT8; - (*this) << m_actLevel; - (*this) << FT_UINT32; - (*this) << m_needNextlevel; - (*this) << FT_UINT8; - (*this) << m_imlevel; - (*this) << FT_UINT8; - (*this) << m_mulsendflag; - (*this) << FT_UINT32; - (*this) << m_webinfo; - (*this) << FT_STRING; - (*this) << m_question; - (*this) << FT_STRING; - (*this) << m_answer; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetuserinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetuserinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 9) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_addcontactFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sendmsgFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_activity; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_actLevel; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_needNextlevel; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_imlevel; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_mulsendflag; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_webinfo; - try - { - if(num < 10) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_question; - if(num < 11) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_answer; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetuserinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SUserStatus& sUserStatus ) -{ - uint8_t nFieldNum = 3; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sUserStatus.m_userId; - cPackData << FT_UINT8; - cPackData << sUserStatus.m_basicStatus; - cPackData << FT_UINT8; - cPackData << sUserStatus.m_predefStatus; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SUserStatus& sUserStatus ) -{ - uint8_t num; - cPackData >> num; - if(num < 3) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sUserStatus.m_userId; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sUserStatus.m_basicStatus; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sUserStatus.m_predefStatus; - for(int i = 3; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImRspGetcntstatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETCNTSTATUS; - m_scHead.PackData(strData); -} - -void CImRspGetcntstatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_contactStatus.size(); - (*this) << nLen; - VECTOR< SUserStatus >::const_iterator itr; - for(itr = m_contactStatus.cbegin(); itr != m_contactStatus.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetcntstatus::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetcntstatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_contactStatus.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SUserStatus tmpVal; - (*this) >> tmpVal; - m_contactStatus.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetcntstatus::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChgstatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHGSTATUS; - m_scHead.PackData(strData); -} - -void CImReqChgstatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_basicStatus; - (*this) << FT_UINT8; - (*this) << m_predefStatus; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChgstatus::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChgstatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_basicStatus; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_predefStatus; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChgstatus::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfStatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_STATUS; - m_scHead.PackData(strData); -} - -void CImNtfStatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_userStatusList.size(); - (*this) << nLen; - VECTOR< SUserStatus >::const_iterator itr; - for(itr = m_userStatusList.cbegin(); itr != m_userStatusList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfStatus::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfStatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userStatusList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SUserStatus tmpVal; - (*this) >> tmpVal; - m_userStatusList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfStatus::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SOfflineMessage& sOfflineMessage ) -{ - uint8_t nFieldNum = 5; - do { - if(sOfflineMessage.m_serverType == 0) - nFieldNum--; - else - break; - } while(0); - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sOfflineMessage.m_fromId; - cPackData << FT_UINT8; - cPackData << sOfflineMessage.m_type; - cPackData << FT_UINT32; - cPackData << sOfflineMessage.m_sendTime; - cPackData << FT_STRING; - cPackData << sOfflineMessage.m_message; - if(nFieldNum == 4) - return cPackData; - cPackData << FT_UINT8; - cPackData << sOfflineMessage.m_serverType; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SOfflineMessage& sOfflineMessage ) -{ - uint8_t num; - cPackData >> num; - if(num < 4) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sOfflineMessage.m_fromId; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sOfflineMessage.m_type; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sOfflineMessage.m_sendTime; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sOfflineMessage.m_message; - try - { - if(num < 5) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sOfflineMessage.m_serverType; - } - catch(PACKRETCODE) - { - return cPackData; - } - for(int i = 5; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImRspGetofflinemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETOFFLINEMSG; - m_scHead.PackData(strData); -} - -void CImRspGetofflinemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_messageList.size(); - (*this) << nLen; - VECTOR< SOfflineMessage >::const_iterator itr; - for(itr = m_messageList.cbegin(); itr != m_messageList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetofflinemsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetofflinemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_messageList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SOfflineMessage tmpVal; - (*this) >> tmpVal; - m_messageList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetofflinemsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqAddofflinemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ADDOFFLINEMSG; - m_scHead.PackData(strData); -} - -void CImReqAddofflinemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_messageList.size(); - (*this) << nLen; - VECTOR< SOfflineMessage >::const_iterator itr; - for(itr = m_messageList.cbegin(); itr != m_messageList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAddofflinemsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAddofflinemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_messageList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SOfflineMessage tmpVal; - (*this) >> tmpVal; - m_messageList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAddofflinemsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqDelofflinemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_DELOFFLINEMSG; - m_scHead.PackData(strData); -} - -void CImReqDelofflinemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT32; - (*this) << m_lastTime; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqDelofflinemsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqDelofflinemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_lastTime; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqDelofflinemsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetsystemmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETSYSTEMMSG; - m_scHead.PackData(strData); -} - -void CImRspGetsystemmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_messageList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_messageList.cbegin(); itr != m_messageList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetsystemmsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetsystemmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_messageList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_messageList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetsystemmsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSendimmessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SENDIMMESSAGE; - m_scHead.PackData(strData); -} - -void CImReqSendimmessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_targetId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSendimmessage::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSendimmessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_targetId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSendimmessage::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSendmultiusermsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SENDMULTIUSERMSG; - m_scHead.PackData(strData); -} - -void CImReqSendmultiusermsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_targetList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_targetList.cbegin(); itr != m_targetList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSendmultiusermsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSendmultiusermsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_targetList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_targetList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSendmultiusermsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfImmessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_IMMESSAGE; - m_scHead.PackData(strData); -} - -void CImNtfImmessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - (*this) << m_sendId; - (*this) << FT_UINT32; - (*this) << m_sendTime; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_UINT8; - (*this) << m_serverType; - (*this) << FT_UINT8; - (*this) << m_mShiftflag; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfImmessage::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfImmessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sendId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sendTime; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serverType; - if(num < 5) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_mShiftflag; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfImmessage::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfSystemmessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_SYSTEMMESSAGE; - m_scHead.PackData(strData); -} - -void CImNtfSystemmessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT16; - (*this) << m_cmdId; - (*this) << FT_STRING; - (*this) << m_style; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfSystemmessage::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfSystemmessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_cmdId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_style; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfSystemmessage::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfSubcribeMsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_SUBCRIBE_MSG; - m_scHead.PackData(strData); -} - -void CImNtfSubcribeMsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_htmlMsg.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_htmlMsg.begin(); itr != m_htmlMsg.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfSubcribeMsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfSubcribeMsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - try - { - if(num < 2) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_htmlMsg[key] = value; - } - } - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfSubcribeMsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfExtinfoMsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_EXTINFO_MSG; - m_scHead.PackData(strData); -} - -void CImNtfExtinfoMsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT16; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfExtinfoMsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfExtinfoMsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfExtinfoMsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGettoolsprofile::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GETTOOLSPROFILE; - m_scHead.PackData(strData); -} - -void CImReqGettoolsprofile::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_VECTOR; - (*this) << FT_UINT8; - { - uint32_t nLen = m_toolTypes.size(); - (*this) << nLen; - VECTOR< uint8_t >::const_iterator itr; - for(itr = m_toolTypes.cbegin(); itr != m_toolTypes.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGettoolsprofile::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGettoolsprofile::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_toolTypes.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - uint8_t tmpVal; - (*this) >> tmpVal; - m_toolTypes.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGettoolsprofile::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SToolProfile& sToolProfile ) -{ - uint8_t nFieldNum = 2; - cPackData << nFieldNum; - cPackData << FT_UINT8; - cPackData << sToolProfile.m_toolType; - cPackData << FT_STRING; - cPackData << sToolProfile.m_profile; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SToolProfile& sToolProfile ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sToolProfile.m_toolType; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sToolProfile.m_profile; - for(int i = 2; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImRspGettoolsprofile::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETTOOLSPROFILE; - m_scHead.PackData(strData); -} - -void CImRspGettoolsprofile::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_profileList.size(); - (*this) << nLen; - VECTOR< SToolProfile >::const_iterator itr; - for(itr = m_profileList.cbegin(); itr != m_profileList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGettoolsprofile::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGettoolsprofile::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_profileList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SToolProfile tmpVal; - (*this) >> tmpVal; - m_profileList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGettoolsprofile::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChgtoolsprofile::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHGTOOLSPROFILE; - m_scHead.PackData(strData); -} - -void CImReqChgtoolsprofile::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_profileList.size(); - (*this) << nLen; - VECTOR< SToolProfile >::const_iterator itr; - for(itr = m_profileList.cbegin(); itr != m_profileList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChgtoolsprofile::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChgtoolsprofile::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_profileList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SToolProfile tmpVal; - (*this) >> tmpVal; - m_profileList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChgtoolsprofile::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChgtoolsprofile::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHGTOOLSPROFILE; - m_scHead.PackData(strData); -} - -void CImRspChgtoolsprofile::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_UINT8; - { - uint32_t nLen = m_toolTypes.size(); - (*this) << nLen; - VECTOR< uint8_t >::const_iterator itr; - for(itr = m_toolTypes.cbegin(); itr != m_toolTypes.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChgtoolsprofile::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChgtoolsprofile::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_toolTypes.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - uint8_t tmpVal; - (*this) >> tmpVal; - m_toolTypes.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChgtoolsprofile::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqPeerinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_PEERINFO; - m_scHead.PackData(strData); -} - -void CImReqPeerinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_targetId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqPeerinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqPeerinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_targetId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqPeerinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspPeerinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_PEERINFO; - m_scHead.PackData(strData); -} - -void CImRspPeerinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)9; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_targetId; - (*this) << FT_UINT32; - (*this) << m_clinetip; - (*this) << FT_STRING; - (*this) << m_version; - (*this) << FT_UINT8; - (*this) << m_basicStatus; - (*this) << FT_UINT8; - (*this) << m_predefStatus; - (*this) << FT_UINT8; - (*this) << m_addcontactFlag; - (*this) << FT_UINT8; - (*this) << m_sendmsgFlag; - (*this) << FT_UINT8; - (*this) << m_reverseContact; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspPeerinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspPeerinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 9) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_targetId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_clinetip; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_basicStatus; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_predefStatus; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_addcontactFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sendmsgFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_reverseContact; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspPeerinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSubscribeInfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SUBSCRIBE_INFO; - m_scHead.PackData(strData); -} - -void CImReqSubscribeInfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_targetList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_targetList.cbegin(); itr != m_targetList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSubscribeInfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSubscribeInfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_targetList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_targetList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSubscribeInfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspSubscribeInfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SUBSCRIBE_INFO; - m_scHead.PackData(strData); -} - -void CImRspSubscribeInfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_statusList.size(); - (*this) << nLen; - VECTOR< SUserStatus >::const_iterator itr; - for(itr = m_statusList.cbegin(); itr != m_statusList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSubscribeInfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSubscribeInfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_statusList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SUserStatus tmpVal; - (*this) >> tmpVal; - m_statusList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSubscribeInfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqDisubscribeInfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_DISUBSCRIBE_INFO; - m_scHead.PackData(strData); -} - -void CImReqDisubscribeInfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_targets.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_targets.cbegin(); itr != m_targets.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqDisubscribeInfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqDisubscribeInfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_targets.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_targets.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqDisubscribeInfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGetftsaddr::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GETFTSADDR; - m_scHead.PackData(strData); -} - -void CImReqGetftsaddr::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_sessionId; - (*this) << FT_UINT16; - (*this) << m_type; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetftsaddr::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetftsaddr::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionId; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetftsaddr::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGetappaddr::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GETAPPADDR; - m_scHead.PackData(strData); -} - -void CImReqGetappaddr::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_sessionId; - (*this) << FT_UINT16; - (*this) << m_appType; - (*this) << FT_UINT16; - (*this) << m_subType; - (*this) << FT_UINT64; - (*this) << m_objId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetappaddr::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetappaddr::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionId; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_appType; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_subType; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_objId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetappaddr::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetappaddr::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETAPPADDR; - m_scHead.PackData(strData); -} - -void CImRspGetappaddr::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)7; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_serverAddr; - (*this) << FT_UINT16; - (*this) << m_serverPort; - (*this) << FT_STRING; - (*this) << m_sessionId; - (*this) << FT_UINT16; - (*this) << m_appType; - (*this) << FT_UINT16; - (*this) << m_subType; - (*this) << FT_UINT64; - (*this) << m_objId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetappaddr::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetappaddr::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 7) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serverAddr; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serverPort; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionId; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_appType; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_subType; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_objId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetappaddr::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetftsaddr::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETFTSADDR; - m_scHead.PackData(strData); -} - -void CImRspGetftsaddr::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_serverIp; - (*this) << FT_UINT16; - (*this) << m_serverPort; - (*this) << FT_STRING; - (*this) << m_sessionId; - (*this) << FT_UINT16; - (*this) << m_type; - (*this) << FT_UINT32; - (*this) << m_sessionsum; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetftsaddr::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetftsaddr::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 6) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serverIp; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serverPort; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionId; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionsum; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetftsaddr::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChgportrait::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHGPORTRAIT; - m_scHead.PackData(strData); -} - -void CImReqChgportrait::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_portraitid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChgportrait::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChgportrait::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_portraitid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChgportrait::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChgsignature::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHGSIGNATURE; - m_scHead.PackData(strData); -} - -void CImReqChgsignature::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_signature; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChgsignature::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChgsignature::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_signature; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChgsignature::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChgsignature::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHGSIGNATURE; - m_scHead.PackData(strData); -} - -void CImRspChgsignature::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_signature; - (*this) << FT_UINT32; - (*this) << m_retcode; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChgsignature::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChgsignature::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_signature; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChgsignature::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfOperationtip::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_OPERATIONTIP; - m_scHead.PackData(strData); -} - -void CImNtfOperationtip::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_STRING; - (*this) << m_ntfmessage; - (*this) << FT_UINT32; - (*this) << m_ntftime; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfOperationtip::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfOperationtip::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_ntfmessage; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_ntftime; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfOperationtip::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SBindingInfo& sBindingInfo ) -{ - uint8_t nFieldNum = 2; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sBindingInfo.m_userId; - cPackData << FT_STRING; - cPackData << sBindingInfo.m_password; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SBindingInfo& sBindingInfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBindingInfo.m_userId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBindingInfo.m_password; - for(int i = 2; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImReqAddbinding::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ADDBINDING; - m_scHead.PackData(strData); -} - -void CImReqAddbinding::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT32; - (*this) << m_addflag; - (*this) << FT_STRUCT; - (*this) << m_binding; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAddbinding::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAddbinding::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_addflag; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_binding; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAddbinding::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspAddbinding::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_ADDBINDING; - m_scHead.PackData(strData); -} - -void CImRspAddbinding::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_STRING; - (*this) << m_webmd5pw; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspAddbinding::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspAddbinding::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_webmd5pw; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspAddbinding::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChgbinding::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHGBINDING; - m_scHead.PackData(strData); -} - -void CImReqChgbinding::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRUCT; - (*this) << m_binding; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChgbinding::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChgbinding::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_binding; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChgbinding::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChgbinding::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHGBINDING; - m_scHead.PackData(strData); -} - -void CImRspChgbinding::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_webmd5pw; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChgbinding::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChgbinding::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_webmd5pw; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChgbinding::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqDelbinding::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_DELBINDING; - m_scHead.PackData(strData); -} - -void CImReqDelbinding::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_userId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqDelbinding::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqDelbinding::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqDelbinding::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspDelbinding::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_DELBINDING; - m_scHead.PackData(strData); -} - -void CImRspDelbinding::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT32; - (*this) << m_retcode; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspDelbinding::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspDelbinding::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspDelbinding::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGetbinding::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GETBINDING; - m_scHead.PackData(strData); -} - -void CImReqGetbinding::PackBody(string& strData) -{ -} - -void CImReqGetbinding::PackData(string& strData, const string& strKey) -{ - PackHead(strData); -} - -PACKRETCODE CImReqGetbinding::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetbinding::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - return PACK_RIGHT; -} - -void CImRspGetbinding::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETBINDING; - m_scHead.PackData(strData); -} - -void CImRspGetbinding::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_bindingList.size(); - (*this) << nLen; - VECTOR< SBindingInfo >::const_iterator itr; - for(itr = m_bindingList.cbegin(); itr != m_bindingList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetbinding::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetbinding::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_bindingList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SBindingInfo tmpVal; - (*this) >> tmpVal; - m_bindingList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetbinding::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGetPwdtoken::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GET_PWDTOKEN; - m_scHead.PackData(strData); -} - -void CImReqGetPwdtoken::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_uid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetPwdtoken::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetPwdtoken::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetPwdtoken::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetPwdtoken::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GET_PWDTOKEN; - m_scHead.PackData(strData); -} - -void CImRspGetPwdtoken::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_STRING; - (*this) << m_token; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetPwdtoken::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetPwdtoken::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_token; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetPwdtoken::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqCankeysearch::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CANKEYSEARCH; - m_scHead.PackData(strData); -} - -void CImReqCankeysearch::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT8; - (*this) << m_enabled; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqCankeysearch::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqCankeysearch::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_enabled; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqCankeysearch::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGetwebSession::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GETWEB_SESSION; - m_scHead.PackData(strData); -} - -void CImReqGetwebSession::PackBody(string& strData) -{ -} - -void CImReqGetwebSession::PackData(string& strData, const string& strKey) -{ - PackHead(strData); -} - -PACKRETCODE CImReqGetwebSession::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetwebSession::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - return PACK_RIGHT; -} - -void CImRspGetwebSession::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETWEB_SESSION; - m_scHead.PackData(strData); -} - -void CImRspGetwebSession::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_expiretime; - (*this) << FT_STRING; - (*this) << m_sessionNo; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetwebSession::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetwebSession::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_expiretime; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionNo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetwebSession::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfUpdateUsrextinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_UPDATE_USREXTINFO; - m_scHead.PackData(strData); -} - -void CImNtfUpdateUsrextinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_STRING; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_value; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfUpdateUsrextinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfUpdateUsrextinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_value; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfUpdateUsrextinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqUserudbprofile::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_USERUDBPROFILE; - m_scHead.PackData(strData); -} - -void CImReqUserudbprofile::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_uid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqUserudbprofile::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqUserudbprofile::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - try - { - uint8_t num; - (*this) >> num; - CFieldType field; - if(num < 1) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqUserudbprofile::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspUserudbprofile::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_USERUDBPROFILE; - m_scHead.PackData(strData); -} - -void CImRspUserudbprofile::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_profilelist.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_profilelist.begin(); itr != m_profilelist.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - (*this) << FT_STRING; - (*this) << m_uid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspUserudbprofile::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspUserudbprofile::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_profilelist[key] = value; - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspUserudbprofile::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqUpdateUdbprofile::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_UPDATE_UDBPROFILE; - m_scHead.PackData(strData); -} - -void CImReqUpdateUdbprofile::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_profilelist.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_profilelist.begin(); itr != m_profilelist.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqUpdateUdbprofile::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqUpdateUdbprofile::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_profilelist[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqUpdateUdbprofile::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspUpdateUdbprofile::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_UPDATE_UDBPROFILE; - m_scHead.PackData(strData); -} - -void CImRspUpdateUdbprofile::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_uid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspUpdateUdbprofile::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspUpdateUdbprofile::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspUpdateUdbprofile::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGetDegree::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GET_DEGREE; - m_scHead.PackData(strData); -} - -void CImReqGetDegree::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetDegree::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetDegree::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetDegree::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetDegree::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GET_DEGREE; - m_scHead.PackData(strData); -} - -void CImRspGetDegree::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_userLevel; - (*this) << FT_UINT32; - (*this) << m_totalDegree; - (*this) << FT_UINT32; - (*this) << m_needDegree; - (*this) << FT_VECTOR; - (*this) << FT_UINT8; - { - uint32_t nLen = m_showCount.size(); - (*this) << nLen; - VECTOR< uint8_t >::const_iterator itr; - for(itr = m_showCount.cbegin(); itr != m_showCount.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetDegree::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetDegree::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 6) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userLevel; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_totalDegree; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_needDegree; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_showCount.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - uint8_t tmpVal; - (*this) >> tmpVal; - m_showCount.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetDegree::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqPeerVerifyConfig::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_PEER_VERIFY_CONFIG; - m_scHead.PackData(strData); -} - -void CImReqPeerVerifyConfig::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_clientid; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_UINT32; - (*this) << m_supportFlag; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqPeerVerifyConfig::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqPeerVerifyConfig::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_clientid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - try - { - if(num < 3) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_supportFlag; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqPeerVerifyConfig::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspPeerVerifyConfig::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_PEER_VERIFY_CONFIG; - m_scHead.PackData(strData); -} - -void CImRspPeerVerifyConfig::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_UINT8; - (*this) << m_clientid; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_retlongid; - (*this) << FT_STRING; - (*this) << m_retshowname; - (*this) << FT_STRING; - (*this) << m_question; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspPeerVerifyConfig::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspPeerVerifyConfig::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_clientid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retlongid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retshowname; - try - { - if(num < 6) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_question; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspPeerVerifyConfig::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqCheckAuthcode::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHECK_AUTHCODE; - m_scHead.PackData(strData); -} - -void CImReqCheckAuthcode::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_sessionId; - (*this) << FT_STRING; - (*this) << m_authCode; - (*this) << FT_UINT8; - (*this) << m_mode; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqCheckAuthcode::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqCheckAuthcode::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_authCode; - try - { - if(num < 3) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_mode; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqCheckAuthcode::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspCheckAuthcode::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHECK_AUTHCODE; - m_scHead.PackData(strData); -} - -void CImRspCheckAuthcode::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_sessionId; - (*this) << FT_STRING; - (*this) << m_authCode; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspCheckAuthcode::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspCheckAuthcode::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_authCode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspCheckAuthcode::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfNeedAuthcode::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_NEED_AUTHCODE; - m_scHead.PackData(strData); -} - -void CImNtfNeedAuthcode::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_origPacket; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfNeedAuthcode::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfNeedAuthcode::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_origPacket; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfNeedAuthcode::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqHelpLogin::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_HELP_LOGIN; - m_scHead.PackData(strData); -} - -void CImReqHelpLogin::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_status; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqHelpLogin::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqHelpLogin::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqHelpLogin::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SRecChildId& sRecChildId ) -{ - uint8_t nFieldNum = 2; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData.WriteData(sRecChildId.m_childId, 0, 64); - cPackData << FT_STRING; - cPackData.WriteData(sRecChildId.m_childNick, 0, 32); - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SRecChildId& sRecChildId ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData.ReadData(sRecChildId.m_childId, 64, 0); - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData.ReadData(sRecChildId.m_childNick, 32, 0); - for(int i = 2; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImRspHelpLogin::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_HELP_LOGIN; - m_scHead.PackData(strData); -} - -void CImRspHelpLogin::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_mulStatus; - (*this) << FT_STRING; - WriteData(m_parentUid, 0, 64); - (*this) << (FIELDTYPE)(FT_VECTOR + 2); - (*this) << FT_STRUCT; - { - uint16_t nLen = (uint16_t)m_childList.size(); - (*this) << nLen; - VECTOR< SRecChildId >::const_iterator itr; - for(itr = m_childList.cbegin(); itr != m_childList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspHelpLogin::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspHelpLogin::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_mulStatus; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_parentUid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint16_t nSize; - (*this) >> nSize; - m_childList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SRecChildId tmpVal; - (*this) >> tmpVal; - m_childList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspHelpLogin::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqHelpChgSrvMode::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_HELP_CHG_SRV_MODE; - m_scHead.PackData(strData); -} - -void CImReqHelpChgSrvMode::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_status; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqHelpChgSrvMode::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqHelpChgSrvMode::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqHelpChgSrvMode::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspHelpChgSrvMode::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_HELP_CHG_SRV_MODE; - m_scHead.PackData(strData); -} - -void CImRspHelpChgSrvMode::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_retcode; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspHelpChgSrvMode::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspHelpChgSrvMode::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspHelpChgSrvMode::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqHelpSetShareCid::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_HELP_SET_SHARE_CID; - m_scHead.PackData(strData); -} - -void CImReqHelpSetShareCid::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_cid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_type; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqHelpSetShareCid::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqHelpSetShareCid::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_cid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqHelpSetShareCid::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspHelpSetShareCid::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_HELP_SET_SHARE_CID; - m_scHead.PackData(strData); -} - -void CImRspHelpSetShareCid::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_retcode; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspHelpSetShareCid::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspHelpSetShareCid::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspHelpSetShareCid::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqHelpGetShareCid::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_HELP_GET_SHARE_CID; - m_scHead.PackData(strData); -} - -void CImReqHelpGetShareCid::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_cid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_type; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqHelpGetShareCid::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqHelpGetShareCid::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_cid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqHelpGetShareCid::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspHelpGetShareCid::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_HELP_GET_SHARE_CID; - m_scHead.PackData(strData); -} - -void CImRspHelpGetShareCid::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_cid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_shared; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspHelpGetShareCid::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspHelpGetShareCid::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_cid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_shared; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspHelpGetShareCid::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqHelpGetChildOnline::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_HELP_GET_CHILD_ONLINE; - m_scHead.PackData(strData); -} - -void CImReqHelpGetChildOnline::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_cid, 0, 64); - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqHelpGetChildOnline::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqHelpGetChildOnline::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_cid, 64, 0); - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqHelpGetChildOnline::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspHelpGetChildOnline::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_HELP_GET_CHILD_ONLINE; - m_scHead.PackData(strData); -} - -void CImRspHelpGetChildOnline::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_cid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_basic; - (*this) << FT_STRING; - WriteData(m_statusdef, 0, 64); - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspHelpGetChildOnline::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspHelpGetChildOnline::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_cid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_basic; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_statusdef, 64, 0); - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspHelpGetChildOnline::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqHelpGetOnlinechilds::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_HELP_GET_ONLINECHILDS; - m_scHead.PackData(strData); -} - -void CImReqHelpGetOnlinechilds::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_status; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqHelpGetOnlinechilds::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqHelpGetOnlinechilds::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqHelpGetOnlinechilds::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspHelpGetOnlinechilds::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_HELP_GET_ONLINECHILDS; - m_scHead.PackData(strData); -} - -void CImRspHelpGetOnlinechilds::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << (FIELDTYPE)(FT_VECTOR + 2); - (*this) << FT_STRUCT; - { - uint16_t nLen = (uint16_t)m_childList.size(); - (*this) << nLen; - VECTOR< SRecChildId >::const_iterator itr; - for(itr = m_childList.cbegin(); itr != m_childList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspHelpGetOnlinechilds::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspHelpGetOnlinechilds::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint16_t nSize; - (*this) >> nSize; - m_childList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SRecChildId tmpVal; - (*this) >> tmpVal; - m_childList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspHelpGetOnlinechilds::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqHelpGetServices::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_HELP_GET_SERVICES; - m_scHead.PackData(strData); -} - -void CImReqHelpGetServices::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_fid, 0, 64); - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqHelpGetServices::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqHelpGetServices::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_fid, 64, 0); - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqHelpGetServices::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspHelpGetServices::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_HELP_GET_SERVICES; - m_scHead.PackData(strData); -} - -void CImRspHelpGetServices::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_UINT32; - { - uint32_t nLen = m_serviceList.size(); - (*this) << nLen; - VECTOR< uint32_t >::const_iterator itr; - for(itr = m_serviceList.cbegin(); itr != m_serviceList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspHelpGetServices::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspHelpGetServices::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_serviceList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - uint32_t tmpVal; - (*this) >> tmpVal; - m_serviceList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspHelpGetServices::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqHelpGetBindTo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_HELP_GET_BIND_TO; - m_scHead.PackData(strData); -} - -void CImReqHelpGetBindTo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqHelpGetBindTo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqHelpGetBindTo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqHelpGetBindTo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspHelpGetBindTo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_HELP_GET_BIND_TO; - m_scHead.PackData(strData); -} - -void CImRspHelpGetBindTo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - WriteData(m_uidBinded, 0, 64); - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspHelpGetBindTo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspHelpGetBindTo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uidBinded, 64, 0); - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspHelpGetBindTo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqHelpChgServiceNum::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_HELP_CHG_SERVICE_NUM; - m_scHead.PackData(strData); -} - -void CImReqHelpChgServiceNum::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_childId, 0, 64); - (*this) << FT_STRING; - WriteData(m_contactId, 0, 64); - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_UINT8; - (*this) << m_localNum; - (*this) << FT_UINT32; - (*this) << m_localTime; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqHelpChgServiceNum::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqHelpChgServiceNum::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 6) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_childId, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_contactId, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_localNum; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_localTime; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqHelpChgServiceNum::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspHelpChgServiceNum::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_HELP_CHG_SERVICE_NUM; - m_scHead.PackData(strData); -} - -void CImRspHelpChgServiceNum::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)7; - (*this) << FT_UINT8; - (*this) << m_status; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_childId, 0, 64); - (*this) << FT_STRING; - WriteData(m_contactId, 0, 64); - (*this) << FT_UINT8; - (*this) << m_serviceNum; - (*this) << FT_UINT32; - (*this) << m_serviceTime; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspHelpChgServiceNum::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspHelpChgServiceNum::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 7) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_childId, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_contactId, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serviceNum; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serviceTime; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspHelpChgServiceNum::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSendWatchInfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SEND_WATCH_INFO; - m_scHead.PackData(strData); -} - -void CImReqSendWatchInfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSendWatchInfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSendWatchInfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSendWatchInfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfWatchInfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_WATCH_INFO; - m_scHead.PackData(strData); -} - -void CImNtfWatchInfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfWatchInfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfWatchInfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfWatchInfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfRefreshContact::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_REFRESH_CONTACT; - m_scHead.PackData(strData); -} - -void CImNtfRefreshContact::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_STRING; - (*this) << m_nickName; - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfRefreshContact::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfRefreshContact::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_nickName; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfRefreshContact::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfFeeds::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_FEEDS; - m_scHead.PackData(strData); -} - -void CImNtfFeeds::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - WriteData(m_site, 0, 8); - (*this) << FT_STRING; - (*this) << m_fromId; - (*this) << FT_UINT32; - (*this) << m_createTime; - (*this) << FT_STRING; - (*this) << m_content; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfFeeds::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfFeeds::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_site, 8, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_createTime; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_content; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfFeeds::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfUserSnsinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_USER_SNSINFO; - m_scHead.PackData(strData); -} - -void CImNtfUserSnsinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_fromId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_info.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_info.begin(); itr != m_info.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfUserSnsinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfUserSnsinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_info[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfUserSnsinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGetSipSessionid::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GET_SIP_SESSIONID; - m_scHead.PackData(strData); -} - -void CImReqGetSipSessionid::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_appId; - (*this) << FT_STRING; - (*this) << m_type; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetSipSessionid::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetSipSessionid::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_appId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetSipSessionid::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetSipSessionid::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GET_SIP_SESSIONID; - m_scHead.PackData(strData); -} - -void CImRspGetSipSessionid::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_appId; - (*this) << FT_STRING; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_sessionId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetSipSessionid::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetSipSessionid::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_appId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetSipSessionid::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqHelpGetBuddyStatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_HELP_GET_BUDDY_STATUS; - m_scHead.PackData(strData); -} - -void CImReqHelpGetBuddyStatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_status; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqHelpGetBuddyStatus::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqHelpGetBuddyStatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqHelpGetBuddyStatus::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SRecChildIdStatus& sRecChildIdStatus ) -{ - uint8_t nFieldNum = 6; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData.WriteData(sRecChildIdStatus.m_childId, 0, 64); - cPackData << FT_UINT8; - cPackData << sRecChildIdStatus.m_onlineStatus; - cPackData << FT_UINT8; - cPackData << sRecChildIdStatus.m_serviceStatus; - cPackData << FT_UINT16; - cPackData << sRecChildIdStatus.m_reserved1; - cPackData << FT_UINT16; - cPackData << sRecChildIdStatus.m_reserved2; - cPackData << FT_UINT16; - cPackData << sRecChildIdStatus.m_reserved3; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SRecChildIdStatus& sRecChildIdStatus ) -{ - uint8_t num; - cPackData >> num; - if(num < 6) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData.ReadData(sRecChildIdStatus.m_childId, 64, 0); - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sRecChildIdStatus.m_onlineStatus; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sRecChildIdStatus.m_serviceStatus; - cPackData >> field; - if(field.m_baseType != FT_UINT16) throw PACK_TYPEMATCH_ERROR; - cPackData >> sRecChildIdStatus.m_reserved1; - cPackData >> field; - if(field.m_baseType != FT_UINT16) throw PACK_TYPEMATCH_ERROR; - cPackData >> sRecChildIdStatus.m_reserved2; - cPackData >> field; - if(field.m_baseType != FT_UINT16) throw PACK_TYPEMATCH_ERROR; - cPackData >> sRecChildIdStatus.m_reserved3; - for(int i = 6; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImRspHelpGetBuddyStatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_HELP_GET_BUDDY_STATUS; - m_scHead.PackData(strData); -} - -void CImRspHelpGetBuddyStatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << (FIELDTYPE)(FT_VECTOR + 2); - (*this) << FT_STRUCT; - { - uint16_t nLen = (uint16_t)m_childList.size(); - (*this) << nLen; - VECTOR< SRecChildIdStatus >::const_iterator itr; - for(itr = m_childList.cbegin(); itr != m_childList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspHelpGetBuddyStatus::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspHelpGetBuddyStatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint16_t nSize; - (*this) >> nSize; - m_childList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SRecChildIdStatus tmpVal; - (*this) >> tmpVal; - m_childList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspHelpGetBuddyStatus::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SRecentNode& sRecentNode ) -{ - uint8_t nFieldNum = 5; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sRecentNode.m_contactId; - cPackData << FT_UINT32; - cPackData << sRecentNode.m_sendTime; - cPackData << FT_UINT32; - cPackData << sRecentNode.m_recvTime; - cPackData << FT_UINT32; - cPackData << sRecentNode.m_recvFlag; - cPackData << FT_UINT32; - cPackData << sRecentNode.m_sendFlag; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SRecentNode& sRecentNode ) -{ - uint8_t num; - cPackData >> num; - if(num < 5) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sRecentNode.m_contactId; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sRecentNode.m_sendTime; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sRecentNode.m_recvTime; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sRecentNode.m_recvFlag; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sRecentNode.m_sendFlag; - for(int i = 5; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImNtfRecent::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_RECENT; - m_scHead.PackData(strData); -} - -void CImNtfRecent::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_timeStamp; - (*this) << FT_UINT32; - (*this) << m_opType; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_recentList.size(); - (*this) << nLen; - VECTOR< SRecentNode >::const_iterator itr; - for(itr = m_recentList.cbegin(); itr != m_recentList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfRecent::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfRecent::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timeStamp; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_opType; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_recentList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SRecentNode tmpVal; - (*this) >> tmpVal; - m_recentList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfRecent::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqAddcontactNew::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ADDCONTACT_NEW; - m_scHead.PackData(strData); -} - -void CImReqAddcontactNew::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRUCT; - (*this) << m_contact; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_UINT32; - (*this) << m_supportFlag; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAddcontactNew::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAddcontactNew::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contact; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_supportFlag; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAddcontactNew::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspAddcontactNew::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_ADDCONTACT_NEW; - m_scHead.PackData(strData); -} - -void CImRspAddcontactNew::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)7; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRUCT; - (*this) << m_contact; - (*this) << FT_UINT32; - (*this) << m_timestamp; - (*this) << FT_STRING; - (*this) << m_companyname; - (*this) << FT_STRING; - (*this) << m_question; - (*this) << FT_STRING; - (*this) << m_answer; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspAddcontactNew::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspAddcontactNew::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contact; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_companyname; - try - { - if(num < 6) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_question; - if(num < 7) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_answer; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspAddcontactNew::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqAddcntackNew::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ADDCNTACK_NEW; - m_scHead.PackData(strData); -} - -void CImReqAddcntackNew::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_opcode; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_INT64; - (*this) << m_groupId; - (*this) << FT_STRING; - (*this) << m_nickName; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAddcntackNew::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAddcntackNew::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_opcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_nickName; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAddcntackNew::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspAddcntackNew::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_ADDCNTACK_NEW; - m_scHead.PackData(strData); -} - -void CImRspAddcntackNew::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_opcode; - (*this) << FT_INT64; - (*this) << m_groupId; - (*this) << FT_UINT32; - (*this) << m_timestamp; - (*this) << FT_STRING; - (*this) << m_contactId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspAddcntackNew::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspAddcntackNew::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_opcode; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspAddcntackNew::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSearchuser::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SEARCHUSER; - m_scHead.PackData(strData); -} - -void CImReqSearchuser::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT32; - (*this) << m_timestamp; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_UINT8; - (*this) << m_syncacc; - (*this) << FT_STRING; - (*this) << m_reserve; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSearchuser::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSearchuser::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_syncacc; - try - { - if(num < 5) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_reserve; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSearchuser::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SSearchUserinfo& sSearchUserinfo ) -{ - uint8_t nFieldNum = 6; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sSearchUserinfo.m_contactId; - cPackData << FT_STRING; - cPackData << sSearchUserinfo.m_nickName; - cPackData << FT_UINT8; - cPackData << sSearchUserinfo.m_age; - cPackData << FT_UINT8; - cPackData << sSearchUserinfo.m_gender; - cPackData << FT_STRING; - cPackData << sSearchUserinfo.m_city; - cPackData << FT_UINT8; - cPackData << sSearchUserinfo.m_basicStatus; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SSearchUserinfo& sSearchUserinfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 6) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSearchUserinfo.m_contactId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSearchUserinfo.m_nickName; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSearchUserinfo.m_age; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSearchUserinfo.m_gender; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSearchUserinfo.m_city; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSearchUserinfo.m_basicStatus; - for(int i = 6; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImRspSearchuser::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SEARCHUSER; - m_scHead.PackData(strData); -} - -void CImRspSearchuser::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< SSearchUserinfo >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSearchuser::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSearchuser::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SSearchUserinfo tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSearchuser::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSearchuserex::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SEARCHUSEREX; - m_scHead.PackData(strData); -} - -void CImReqSearchuserex::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)8; - (*this) << FT_UINT32; - (*this) << m_timestamp; - (*this) << FT_STRING; - (*this) << m_site; - (*this) << FT_STRING; - (*this) << m_country; - (*this) << FT_STRING; - (*this) << m_province; - (*this) << FT_STRING; - (*this) << m_city; - (*this) << FT_UINT8; - (*this) << m_gender; - (*this) << FT_UINT32; - (*this) << m_age; - (*this) << FT_STRING; - (*this) << m_job; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSearchuserex::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSearchuserex::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 8) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_site; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_country; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_province; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_city; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_gender; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_age; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_job; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSearchuserex::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SEChildId& sEChildId ) -{ - uint8_t nFieldNum = 8; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData.WriteData(sEChildId.m_childId, 0, 64); - cPackData << FT_STRING; - cPackData.WriteData(sEChildId.m_childNick, 0, 32); - cPackData << FT_UINT8; - cPackData << sEChildId.m_basicStatus; - cPackData << FT_UINT8; - cPackData << sEChildId.m_predefStatus; - cPackData << FT_UINT8; - cPackData << sEChildId.m_onServer; - cPackData << FT_UINT16; - cPackData << sEChildId.m_maxService; - cPackData << FT_UINT16; - cPackData << sEChildId.m_curService; - cPackData << FT_UINT16; - cPackData << sEChildId.m_reserved; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SEChildId& sEChildId ) -{ - uint8_t num; - cPackData >> num; - if(num < 8) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData.ReadData(sEChildId.m_childId, 64, 0); - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData.ReadData(sEChildId.m_childNick, 32, 0); - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sEChildId.m_basicStatus; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sEChildId.m_predefStatus; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sEChildId.m_onServer; - cPackData >> field; - if(field.m_baseType != FT_UINT16) throw PACK_TYPEMATCH_ERROR; - cPackData >> sEChildId.m_maxService; - cPackData >> field; - if(field.m_baseType != FT_UINT16) throw PACK_TYPEMATCH_ERROR; - cPackData >> sEChildId.m_curService; - cPackData >> field; - if(field.m_baseType != FT_UINT16) throw PACK_TYPEMATCH_ERROR; - cPackData >> sEChildId.m_reserved; - for(int i = 8; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImReqEhelpLogin::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_EHELP_LOGIN; - m_scHead.PackData(strData); -} - -void CImReqEhelpLogin::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_fid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_reserved; - (*this) << FT_UINT8; - (*this) << m_status; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqEhelpLogin::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqEhelpLogin::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_fid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_reserved; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqEhelpLogin::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspEhelpLogin::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_EHELP_LOGIN; - m_scHead.PackData(strData); -} - -void CImRspEhelpLogin::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_mulStatus; - (*this) << FT_STRING; - WriteData(m_parentUid, 0, 64); - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspEhelpLogin::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspEhelpLogin::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_mulStatus; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_parentUid, 64, 0); - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspEhelpLogin::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqEhelpGetBuddys::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_EHELP_GET_BUDDYS; - m_scHead.PackData(strData); -} - -void CImReqEhelpGetBuddys::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_fid, 0, 64); - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqEhelpGetBuddys::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqEhelpGetBuddys::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_fid, 64, 0); - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqEhelpGetBuddys::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspEhelpGetBuddys::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_EHELP_GET_BUDDYS; - m_scHead.PackData(strData); -} - -void CImRspEhelpGetBuddys::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << (FIELDTYPE)(FT_VECTOR + 2); - (*this) << FT_STRUCT; - { - uint16_t nLen = (uint16_t)m_childList.size(); - (*this) << nLen; - VECTOR< SEChildId >::const_iterator itr; - for(itr = m_childList.cbegin(); itr != m_childList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspEhelpGetBuddys::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspEhelpGetBuddys::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint16_t nSize; - (*this) >> nSize; - m_childList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SEChildId tmpVal; - (*this) >> tmpVal; - m_childList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspEhelpGetBuddys::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqEhelpSendMsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_EHELP_SEND_MSG; - m_scHead.PackData(strData); -} - -void CImReqEhelpSendMsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)7; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_fid, 0, 64); - (*this) << FT_STRING; - WriteData(m_targetId, 0, 64); - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_UINT16; - (*this) << m_cmdType; - (*this) << FT_UINT32; - (*this) << m_servNum; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqEhelpSendMsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqEhelpSendMsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 7) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_fid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_targetId, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_cmdType; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_servNum; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqEhelpSendMsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspEhelpSendMsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_EHELP_SEND_MSG; - m_scHead.PackData(strData); -} - -void CImRspEhelpSendMsg::PackBody(string& strData) -{ -} - -void CImRspEhelpSendMsg::PackData(string& strData, const string& strKey) -{ - PackHead(strData); -} - -PACKRETCODE CImRspEhelpSendMsg::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CImRspEhelpSendMsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - return PACK_RIGHT; -} - -void CImReqEhelpSendCmd::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_EHELP_SEND_CMD; - m_scHead.PackData(strData); -} - -void CImReqEhelpSendCmd::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_fid, 0, 64); - (*this) << FT_STRING; - WriteData(m_targetId, 0, 64); - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_UINT8; - (*this) << m_cmdId; - (*this) << FT_STRING; - (*this) << m_xmlCmd; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqEhelpSendCmd::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqEhelpSendCmd::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 6) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_fid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_targetId, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_cmdId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_xmlCmd; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqEhelpSendCmd::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspEhelpSendCmd::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_EHELP_SEND_CMD; - m_scHead.PackData(strData); -} - -void CImRspEhelpSendCmd::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT8; - (*this) << m_retcode; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspEhelpSendCmd::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspEhelpSendCmd::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspEhelpSendCmd::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqEhelpChgSrvMode::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_EHELP_CHG_SRV_MODE; - m_scHead.PackData(strData); -} - -void CImReqEhelpChgSrvMode::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_fid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_status; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqEhelpChgSrvMode::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqEhelpChgSrvMode::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_fid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqEhelpChgSrvMode::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspEhelpChgSrvMode::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_EHELP_CHG_SRV_MODE; - m_scHead.PackData(strData); -} - -void CImRspEhelpChgSrvMode::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_fid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_retcode; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspEhelpChgSrvMode::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspEhelpChgSrvMode::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_fid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspEhelpChgSrvMode::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqEhelpForwardUser::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_EHELP_FORWARD_USER; - m_scHead.PackData(strData); -} - -void CImReqEhelpForwardUser::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_fid, 0, 64); - (*this) << FT_STRING; - WriteData(m_contactId, 0, 64); - (*this) << FT_STRING; - WriteData(m_toChildId, 0, 64); - (*this) << FT_UINT8; - (*this) << m_type; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqEhelpForwardUser::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqEhelpForwardUser::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_fid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_contactId, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_toChildId, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqEhelpForwardUser::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspEhelpForwardUser::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_EHELP_FORWARD_USER; - m_scHead.PackData(strData); -} - -void CImRspEhelpForwardUser::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT8; - (*this) << m_retcode; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspEhelpForwardUser::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspEhelpForwardUser::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspEhelpForwardUser::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqEhelpCloseSession::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_EHELP_CLOSE_SESSION; - m_scHead.PackData(strData); -} - -void CImReqEhelpCloseSession::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_fid, 0, 64); - (*this) << FT_STRING; - WriteData(m_contactId, 0, 64); - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_UINT8; - (*this) << m_localNum; - (*this) << FT_UINT32; - (*this) << m_localTime; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqEhelpCloseSession::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqEhelpCloseSession::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 6) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_fid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_contactId, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_localNum; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_localTime; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqEhelpCloseSession::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspEhelpCloseSession::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_EHELP_CLOSE_SESSION; - m_scHead.PackData(strData); -} - -void CImRspEhelpCloseSession::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)7; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_fid, 0, 64); - (*this) << FT_STRING; - WriteData(m_contactId, 0, 64); - (*this) << FT_UINT8; - (*this) << m_serviceNum; - (*this) << FT_UINT32; - (*this) << m_serviceTime; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspEhelpCloseSession::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspEhelpCloseSession::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 7) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_fid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_contactId, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serviceNum; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serviceTime; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspEhelpCloseSession::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqEhelpGetForward::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_EHELP_GET_FORWARD; - m_scHead.PackData(strData); -} - -void CImReqEhelpGetForward::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_fid, 0, 64); - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqEhelpGetForward::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqEhelpGetForward::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_fid, 64, 0); - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqEhelpGetForward::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspEhelpGetForward::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_EHELP_GET_FORWARD; - m_scHead.PackData(strData); -} - -void CImRspEhelpGetForward::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << (FIELDTYPE)(FT_VECTOR + 2); - (*this) << FT_STRUCT; - { - uint16_t nLen = (uint16_t)m_childList.size(); - (*this) << nLen; - VECTOR< SEChildId >::const_iterator itr; - for(itr = m_childList.cbegin(); itr != m_childList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspEhelpGetForward::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspEhelpGetForward::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint16_t nSize; - (*this) >> nSize; - m_childList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SEChildId tmpVal; - (*this) >> tmpVal; - m_childList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspEhelpGetForward::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspEhelpNotifyMsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_EHELP_NOTIFY_MSG; - m_scHead.PackData(strData); -} - -void CImRspEhelpNotifyMsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_STRING; - (*this) << m_fId; - (*this) << FT_STRING; - (*this) << m_sendId; - (*this) << FT_UINT32; - (*this) << m_sendTime; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_UINT8; - (*this) << m_serverType; - (*this) << FT_UINT16; - (*this) << m_cmdType; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspEhelpNotifyMsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspEhelpNotifyMsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sendId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sendTime; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - try - { - if(num < 5) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serverType; - if(num < 6) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_cmdType; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspEhelpNotifyMsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfSystemmapmessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_SYSTEMMAPMESSAGE; - m_scHead.PackData(strData); -} - -void CImNtfSystemmapmessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_sysId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_message.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_message.begin(); itr != m_message.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - (*this) << FT_STRING; - (*this) << m_extmessage; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfSystemmapmessage::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfSystemmapmessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sysId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_message[key] = value; - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extmessage; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfSystemmapmessage::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - diff --git a/features/aliww/source/.svn/text-base/imsession.cpp.svn-base b/features/aliww/source/.svn/text-base/imsession.cpp.svn-base deleted file mode 100644 index fce29cc..0000000 --- a/features/aliww/source/.svn/text-base/imsession.cpp.svn-base +++ /dev/null @@ -1,911 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `imsession.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__SessionMgr__getUserSession_name = "getUserSession"; - -static const ::std::string __AliIM__SessionMgr__checkUserSession_name = "checkUserSession"; - -static const ::std::string __AliIM__SessionMgr__removeSession_name = "removeSession"; - -static const ::std::string __AliIM__SessionMgr__getUserExistSession_name = "getUserExistSession"; - -void -IceInternal::incRef(::AliIM::SessionMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::SessionMgr* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::SessionMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::SessionMgr* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::SessionMgrPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::SessionMgrPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::SessionMgr; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::SessionMgrPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -AliIM::SIceSession::operator==(const SIceSession& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIM::SIceSession::operator!=(const SIceSession& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(sessionNo != __rhs.sessionNo) - { - return true; - } - if(expiretime != __rhs.expiretime) - { - return true; - } - return false; -} - -bool -AliIM::SIceSession::operator<(const SIceSession& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(sessionNo < __rhs.sessionNo) - { - return true; - } - else if(__rhs.sessionNo < sessionNo) - { - return false; - } - if(expiretime < __rhs.expiretime) - { - return true; - } - else if(__rhs.expiretime < expiretime) - { - return false; - } - return false; -} - -void -AliIM::SIceSession::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(sessionNo); - __os->write(expiretime); -} - -void -AliIM::SIceSession::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(sessionNo); - __is->read(expiretime); -} - -void -AliIM::__addObject(const SessionMgrPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const SessionMgrPtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const SessionMgrPtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(SessionMgrPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::SessionMgr::getUserSession(const ::std::string& uid, ::AliIM::SIceSession& retsession, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__SessionMgr__getUserSession_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::SessionMgr* __del = dynamic_cast< ::IceDelegate::AliIM::SessionMgr*>(__delBase.get()); - return __del->getUserSession(uid, retsession, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::SessionMgr::checkUserSession(const ::std::string& uid, const ::std::string& sessionNo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__SessionMgr__checkUserSession_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::SessionMgr* __del = dynamic_cast< ::IceDelegate::AliIM::SessionMgr*>(__delBase.get()); - return __del->checkUserSession(uid, sessionNo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::SessionMgr::removeSession(const ::std::string& uid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__SessionMgr__removeSession_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::SessionMgr* __del = dynamic_cast< ::IceDelegate::AliIM::SessionMgr*>(__delBase.get()); - return __del->removeSession(uid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::SessionMgr::getUserExistSession(const ::std::string& uid, ::AliIM::SIceSession& retsession, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__SessionMgr__getUserExistSession_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::SessionMgr* __del = dynamic_cast< ::IceDelegate::AliIM::SessionMgr*>(__delBase.get()); - return __del->getUserExistSession(uid, retsession, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::SessionMgr::ice_staticId() -{ - return ::AliIM::SessionMgr::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::SessionMgr::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::SessionMgr); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::SessionMgr::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::SessionMgr); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::SessionMgr& l, const ::IceProxy::AliIM::SessionMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::SessionMgr& l, const ::IceProxy::AliIM::SessionMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::SessionMgr& l, const ::IceProxy::AliIM::SessionMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::SessionMgr& l, const ::IceProxy::AliIM::SessionMgr& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::SessionMgr& l, const ::IceProxy::AliIM::SessionMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::SessionMgr& l, const ::IceProxy::AliIM::SessionMgr& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::SessionMgr::getUserSession(const ::std::string& uid, ::AliIM::SIceSession& retsession, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__SessionMgr__getUserSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - retsession.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::SessionMgr::checkUserSession(const ::std::string& uid, const ::std::string& sessionNo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__SessionMgr__checkUserSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(sessionNo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::SessionMgr::removeSession(const ::std::string& uid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__SessionMgr__removeSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::SessionMgr::getUserExistSession(const ::std::string& uid, ::AliIM::SIceSession& retsession, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__SessionMgr__getUserExistSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - retsession.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::SessionMgr::getUserSession(const ::std::string& uid, ::AliIM::SIceSession& retsession, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__SessionMgr__getUserSession_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::SessionMgr* __servant = dynamic_cast< ::AliIM::SessionMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserSession(uid, retsession, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::SessionMgr::checkUserSession(const ::std::string& uid, const ::std::string& sessionNo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__SessionMgr__checkUserSession_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::SessionMgr* __servant = dynamic_cast< ::AliIM::SessionMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkUserSession(uid, sessionNo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::SessionMgr::removeSession(const ::std::string& uid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__SessionMgr__removeSession_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::SessionMgr* __servant = dynamic_cast< ::AliIM::SessionMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->removeSession(uid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::SessionMgr::getUserExistSession(const ::std::string& uid, ::AliIM::SIceSession& retsession, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__SessionMgr__getUserExistSession_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::SessionMgr* __servant = dynamic_cast< ::AliIM::SessionMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserExistSession(uid, retsession, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::SessionMgr::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__SessionMgr_ids[2] = -{ - "::AliIM::SessionMgr", - "::Ice::Object" -}; - -bool -AliIM::SessionMgr::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__SessionMgr_ids, __AliIM__SessionMgr_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::SessionMgr::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__SessionMgr_ids[0], &__AliIM__SessionMgr_ids[2]); -} - -const ::std::string& -AliIM::SessionMgr::ice_id(const ::Ice::Current&) const -{ - return __AliIM__SessionMgr_ids[0]; -} - -const ::std::string& -AliIM::SessionMgr::ice_staticId() -{ - return __AliIM__SessionMgr_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::SessionMgr::___getUserSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::AliIM::SIceSession retsession; - ::Ice::Int __ret = getUserSession(uid, retsession, __current); - retsession.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::SessionMgr::___checkUserSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string sessionNo; - __is->read(uid); - __is->read(sessionNo); - ::Ice::Int __ret = checkUserSession(uid, sessionNo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::SessionMgr::___removeSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::Int __ret = removeSession(uid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::SessionMgr::___getUserExistSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::AliIM::SIceSession retsession; - ::Ice::Int __ret = getUserExistSession(uid, retsession, __current); - retsession.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__SessionMgr_all[] = -{ - "checkUserSession", - "getUserExistSession", - "getUserSession", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "removeSession" -}; - -::IceInternal::DispatchStatus -AliIM::SessionMgr::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__SessionMgr_all, __AliIM__SessionMgr_all + 8, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__SessionMgr_all) - { - case 0: - { - return ___checkUserSession(in, current); - } - case 1: - { - return ___getUserExistSession(in, current); - } - case 2: - { - return ___getUserSession(in, current); - } - case 3: - { - return ___ice_id(in, current); - } - case 4: - { - return ___ice_ids(in, current); - } - case 5: - { - return ___ice_isA(in, current); - } - case 6: - { - return ___ice_ping(in, current); - } - case 7: - { - return ___removeSession(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::SessionMgr::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::SessionMgr::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::SessionMgr::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::SessionMgr was not generated with stream support"; - throw ex; -} - -void -AliIM::SessionMgr::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::SessionMgr was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__SessionMgrPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::SessionMgrPtr* p = static_cast< ::AliIM::SessionMgrPtr*>(__addr); - assert(p); - *p = ::AliIM::SessionMgrPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::SessionMgr::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::SessionMgr& l, const ::AliIM::SessionMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::SessionMgr& l, const ::AliIM::SessionMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::SessionMgr& l, const ::AliIM::SessionMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::SessionMgr& l, const ::AliIM::SessionMgr& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::SessionMgr& l, const ::AliIM::SessionMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::SessionMgr& l, const ::AliIM::SessionMgr& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/imss_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/imss_pack.cpp.svn-base deleted file mode 100644 index f7858ae..0000000 --- a/features/aliww/source/.svn/text-base/imss_pack.cpp.svn-base +++ /dev/null @@ -1,2791 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: imss_pack.cpp -// Date: 2011-01-30 12:49:14 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "imss_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SImMsg& sImMsg ) -{ - cPackData << sImMsg.m_len; - cPackData << sImMsg.m_flag; - cPackData << sImMsg.m_cmdid; - cPackData << sImMsg.m_seqid; - cPackData.WriteData(sImMsg.m_message, 0, sImMsg.m_message.length()); - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SImMsg& sImMsg ) -{ - cPackData >> sImMsg.m_len; - cPackData >> sImMsg.m_flag; - cPackData >> sImMsg.m_cmdid; - cPackData >> sImMsg.m_seqid; - cPackData.ReadData(sImMsg.m_message, 0, 0); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const SIpBlackSs& sIpBlackSs ) -{ - uint8_t nFieldNum = 4; - cPackData << nFieldNum; - cPackData << FT_UINT32; - cPackData << sIpBlackSs.m_ip; - cPackData << FT_UINT32; - cPackData << sIpBlackSs.m_starttime; - cPackData << FT_UINT32; - cPackData << sIpBlackSs.m_lasttime; - cPackData << FT_UINT32; - cPackData << sIpBlackSs.m_netmask; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SIpBlackSs& sIpBlackSs ) -{ - uint8_t num; - cPackData >> num; - if(num < 4) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sIpBlackSs.m_ip; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sIpBlackSs.m_starttime; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sIpBlackSs.m_lasttime; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sIpBlackSs.m_netmask; - for(int i = 4; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const SEhmsGroupStatus& sEhmsGroupStatus ) -{ - uint8_t nFieldNum = 5; - do { - if(sEhmsGroupStatus.m_predefsts == 0) - nFieldNum--; - else - break; - if(sEhmsGroupStatus.m_status == 0) - nFieldNum--; - else - break; - if(sEhmsGroupStatus.m_groupId == 0) - nFieldNum--; - else - break; - } while(0); - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sEhmsGroupStatus.m_userId; - cPackData << FT_STRING; - cPackData << sEhmsGroupStatus.m_groupName; - if(nFieldNum == 2) - return cPackData; - cPackData << FT_UINT32; - cPackData << sEhmsGroupStatus.m_groupId; - if(nFieldNum == 3) - return cPackData; - cPackData << FT_UINT8; - cPackData << sEhmsGroupStatus.m_status; - if(nFieldNum == 4) - return cPackData; - cPackData << FT_UINT8; - cPackData << sEhmsGroupStatus.m_predefsts; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SEhmsGroupStatus& sEhmsGroupStatus ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sEhmsGroupStatus.m_userId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sEhmsGroupStatus.m_groupName; - try - { - if(num < 3) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sEhmsGroupStatus.m_groupId; - if(num < 4) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sEhmsGroupStatus.m_status; - if(num < 5) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sEhmsGroupStatus.m_predefsts; - } - catch(PACKRETCODE) - { - return cPackData; - } - for(int i = 5; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImSsSendimmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_SENDIMMSG; - m_ssHead.PackData(strData); -} - -void CImSsSendimmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)7; - (*this) << FT_STRING; - (*this) << m_senduid; - (*this) << FT_STRING; - (*this) << m_touid; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_UINT8; - (*this) << m_esshiftflag; - (*this) << FT_UINT8; - (*this) << m_relationship; - (*this) << FT_UINT32; - (*this) << m_uniqtime; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsSendimmsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsSendimmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_senduid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_touid; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - try - { - if(num < 5) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_esshiftflag; - if(num < 6) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_relationship; - if(num < 7) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uniqtime; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsSendimmsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsForcedisconnect::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_FORCEDISCONNECT; - m_ssHead.PackData(strData); -} - -void CImSsForcedisconnect::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_UINT8; - (*this) << m_type; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsForcedisconnect::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsForcedisconnect::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsForcedisconnect::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsNtfusrstatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_NTFUSRSTATUS; - m_ssHead.PackData(strData); -} - -void CImSsNtfusrstatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_UINT8; - (*this) << m_basicstatus; - (*this) << FT_UINT8; - (*this) << m_predefstatus; - (*this) << FT_UINT32; - (*this) << m_clinetip; - (*this) << FT_STRING; - (*this) << m_version; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsNtfusrstatus::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsNtfusrstatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_basicstatus; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_predefstatus; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_clinetip; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsNtfusrstatus::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsReqPeerinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_REQ_PEERINFO; - m_ssHead.PackData(strData); -} - -void CImSsReqPeerinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_targetUid; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsReqPeerinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsReqPeerinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_targetUid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsReqPeerinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsRspPeerinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_RSP_PEERINFO; - m_ssHead.PackData(strData); -} - -void CImSsRspPeerinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)9; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_targetId; - (*this) << FT_UINT32; - (*this) << m_clinetip; - (*this) << FT_STRING; - (*this) << m_version; - (*this) << FT_UINT8; - (*this) << m_basicStatus; - (*this) << FT_UINT8; - (*this) << m_predefStatus; - (*this) << FT_UINT8; - (*this) << m_addcontactFlag; - (*this) << FT_UINT8; - (*this) << m_sendmsgFlag; - (*this) << FT_UINT8; - (*this) << m_reverseContact; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsRspPeerinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsRspPeerinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 9) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_targetId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_clinetip; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_basicStatus; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_predefStatus; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_addcontactFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sendmsgFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_reverseContact; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsRspPeerinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsNtfusrextinfoup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_NTFUSREXTINFOUP; - m_ssHead.PackData(strData); -} - -void CImSsNtfusrextinfoup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_extType; - (*this) << FT_STRING; - (*this) << m_extInfo; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsNtfusrextinfoup::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsNtfusrextinfoup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extType; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extInfo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsNtfusrextinfoup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsReqFtsaddr::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_REQ_FTSADDR; - m_ssHead.PackData(strData); -} - -void CImSsReqFtsaddr::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_sessionId; - (*this) << FT_UINT16; - (*this) << m_type; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsReqFtsaddr::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsReqFtsaddr::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionId; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsReqFtsaddr::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsRspFtsaddr::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_RSP_FTSADDR; - m_ssHead.PackData(strData); -} - -void CImSsRspFtsaddr::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_serverIp; - (*this) << FT_UINT16; - (*this) << m_serverPort; - (*this) << FT_STRING; - (*this) << m_sessionId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsRspFtsaddr::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsRspFtsaddr::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serverIp; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serverPort; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsRspFtsaddr::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsReqSubcribeMsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_REQ_SUBCRIBE_MSG; - m_ssHead.PackData(strData); -} - -void CImSsReqSubcribeMsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_msg; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_htmlMsg.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_htmlMsg.begin(); itr != m_htmlMsg.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsReqSubcribeMsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsReqSubcribeMsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msg; - try - { - if(num < 2) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_htmlMsg[key] = value; - } - } - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsReqSubcribeMsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsRspSubcribeMsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_RSP_SUBCRIBE_MSG; - m_ssHead.PackData(strData); -} - -void CImSsRspSubcribeMsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT8; - (*this) << m_status; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsRspSubcribeMsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsRspSubcribeMsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsRspSubcribeMsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImReqSystemmessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_REQ_SYSTEMMESSAGE; - m_ssHead.PackData(strData); -} - -void CImReqSystemmessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_STRING; - (*this) << m_touid; - (*this) << FT_UINT8; - (*this) << m_saveflag; - (*this) << FT_UINT32; - (*this) << m_sysid; - (*this) << FT_UINT16; - (*this) << m_cmdId; - (*this) << FT_STRING; - (*this) << m_style; - (*this) << FT_STRING; - (*this) << m_message; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSystemmessage::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImReqSystemmessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 6) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_touid; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_saveflag; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sysid; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_cmdId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_style; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSystemmessage::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImRspSystemmessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_RSP_SYSTEMMESSAGE; - m_ssHead.PackData(strData); -} - -void CImRspSystemmessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_touid; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSystemmessage::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImRspSystemmessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_touid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSystemmessage::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsNtfaddaccept::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_NTFADDACCEPT; - m_ssHead.PackData(strData); -} - -void CImSsNtfaddaccept::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_loginid; - (*this) << FT_STRING; - (*this) << m_contactid; - (*this) << FT_UINT8; - (*this) << m_status; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsNtfaddaccept::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsNtfaddaccept::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_loginid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactid; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsNtfaddaccept::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsNtfforbidip::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_NTFFORBIDIP; - m_ssHead.PackData(strData); -} - -void CImSsNtfforbidip::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << (FIELDTYPE)(FT_VECTOR + 2); - (*this) << FT_STRUCT; - { - uint16_t nLen = (uint16_t)m_blackIpList.size(); - (*this) << nLen; - VECTOR< SIpBlackSs >::const_iterator itr; - for(itr = m_blackIpList.cbegin(); itr != m_blackIpList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsNtfforbidip::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsNtfforbidip::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint16_t nSize; - (*this) >> nSize; - m_blackIpList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SIpBlackSs tmpVal; - (*this) >> tmpVal; - m_blackIpList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsNtfforbidip::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsNtfWatchInfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_NTF_WATCH_INFO; - m_ssHead.PackData(strData); -} - -void CImSsNtfWatchInfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_STRING; - (*this) << m_site; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsNtfWatchInfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsNtfWatchInfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - try - { - if(num < 3) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_site; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsNtfWatchInfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsNtfRefreshContact::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_NTF_REFRESH_CONTACT; - m_ssHead.PackData(strData); -} - -void CSsNtfRefreshContact::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_STRING; - (*this) << m_nickName; - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsNtfRefreshContact::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsNtfRefreshContact::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_nickName; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsNtfRefreshContact::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsNtfFeeds::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_NTF_FEEDS; - m_ssHead.PackData(strData); -} - -void CSsNtfFeeds::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - WriteData(m_site, 0, 8); - (*this) << FT_STRING; - (*this) << m_fromId; - (*this) << FT_UINT32; - (*this) << m_createTime; - (*this) << FT_STRING; - (*this) << m_content; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsNtfFeeds::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsNtfFeeds::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_site, 8, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_createTime; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_content; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsNtfFeeds::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsNtfUserSnsinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_NTF_USER_SNSINFO; - m_ssHead.PackData(strData); -} - -void CSsNtfUserSnsinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_fromId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_info.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_info.begin(); itr != m_info.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsNtfUserSnsinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsNtfUserSnsinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_info[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsNtfUserSnsinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsNtfAddRcnt::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_NTF_ADD_RCNT; - m_ssHead.PackData(strData); -} - -void CSsNtfAddRcnt::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - (*this) << m_fromId; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_UINT8; - (*this) << m_optime; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_site; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsNtfAddRcnt::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsNtfAddRcnt::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_optime; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_site; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsNtfAddRcnt::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsNtfOperationtip::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_NTF_OPERATIONTIP; - m_ssHead.PackData(strData); -} - -void CImSsNtfOperationtip::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_STRING; - (*this) << m_ntfmessage; - (*this) << FT_UINT32; - (*this) << m_ntftime; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsNtfOperationtip::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsNtfOperationtip::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_ntfmessage; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_ntftime; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsNtfOperationtip::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsNtfEhmsGroupsts::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_NTF_EHMS_GROUPSTS; - m_ssHead.PackData(strData); -} - -void CSsNtfEhmsGroupsts::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRUCT; - (*this) << m_groupSts; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsNtfEhmsGroupsts::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsNtfEhmsGroupsts::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupSts; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsNtfEhmsGroupsts::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsNtfEhmsLogin::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_NTF_EHMS_LOGIN; - m_ssHead.PackData(strData); -} - -void CSsNtfEhmsLogin::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_uid; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsNtfEhmsLogin::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsNtfEhmsLogin::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsNtfEhmsLogin::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsReqGetallehmsgrpsts::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_REQ_GETALLEHMSGRPSTS; - m_ssHead.PackData(strData); -} - -void CSsReqGetallehmsgrpsts::PackBody(string& strData) -{ -} - -void CSsReqGetallehmsgrpsts::PackData(string& strData) -{ - PackHead(strData); -} - -PACKRETCODE CSsReqGetallehmsgrpsts::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CSsReqGetallehmsgrpsts::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsRspGetallehmsgrpsts::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_RSP_GETALLEHMSGRPSTS; - m_ssHead.PackData(strData); -} - -void CSsRspGetallehmsgrpsts::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_groupStsList.size(); - (*this) << nLen; - VECTOR< SEhmsGroupStatus >::const_iterator itr; - for(itr = m_groupStsList.cbegin(); itr != m_groupStsList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsRspGetallehmsgrpsts::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsRspGetallehmsgrpsts::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_groupStsList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SEhmsGroupStatus tmpVal; - (*this) >> tmpVal; - m_groupStsList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsRspGetallehmsgrpsts::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsSendHmsmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_SEND_HMSMSG; - m_ssHead.PackData(strData); -} - -void CImSsSendHmsmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)9; - (*this) << FT_STRING; - (*this) << m_senduid; - (*this) << FT_STRING; - (*this) << m_targetfid; - (*this) << FT_STRING; - (*this) << m_touid; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_UINT16; - (*this) << m_actionType; - (*this) << FT_UINT16; - (*this) << m_cmdType; - (*this) << FT_UINT32; - (*this) << m_reserved; - (*this) << FT_UINT32; - (*this) << m_uniqtime; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsSendHmsmsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsSendHmsmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 9) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_senduid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_targetfid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_touid; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_actionType; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_cmdType; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_reserved; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uniqtime; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsSendHmsmsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImReqSystemmapmessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_REQ_SYSTEMMAPMESSAGE; - m_ssHead.PackData(strData); -} - -void CImReqSystemmapmessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_sysId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_mapmessage.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_mapmessage.begin(); itr != m_mapmessage.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - (*this) << FT_STRING; - (*this) << m_extmessage; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSystemmapmessage::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImReqSystemmapmessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sysId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_mapmessage[key] = value; - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extmessage; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSystemmapmessage::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImRspSystemmapmessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_RSP_SYSTEMMAPMESSAGE; - m_ssHead.PackData(strData); -} - -void CImRspSystemmapmessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT32; - (*this) << m_sysId; - (*this) << FT_UINT32; - (*this) << m_status; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSystemmapmessage::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImRspSystemmapmessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sysId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSystemmapmessage::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsNtfWebsysmessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_NTF_WEBSYSMESSAGE; - m_ssHead.PackData(strData); -} - -void CImSsNtfWebsysmessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)8; - (*this) << FT_STRING; - (*this) << m_createid; - (*this) << FT_INT32; - (*this) << m_cmdid; - (*this) << FT_STRING; - (*this) << m_style; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_STRING; - (*this) << m_serviceid; - (*this) << FT_STRING; - (*this) << m_webid; - (*this) << FT_UINT16; - (*this) << m_saveflag; - (*this) << FT_STRING; - (*this) << m_expiretime; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsNtfWebsysmessage::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsNtfWebsysmessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 8) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_createid; - (*this) >> field; - if(field.m_baseType != FT_INT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_cmdid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_style; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serviceid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_webid; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_saveflag; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_expiretime; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsNtfWebsysmessage::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsNtfWebusermessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_NTF_WEBUSERMESSAGE; - m_ssHead.PackData(strData); -} - -void CImSsNtfWebusermessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - (*this) << m_fromId; - (*this) << FT_INT32; - (*this) << m_cmdId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_info.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_info.begin(); itr != m_info.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - (*this) << FT_STRING; - (*this) << m_serviceid; - (*this) << FT_STRING; - (*this) << m_webid; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsNtfWebusermessage::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsNtfWebusermessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromId; - (*this) >> field; - if(field.m_baseType != FT_INT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_cmdId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_info[key] = value; - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serviceid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_webid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsNtfWebusermessage::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsNtfUnbindDisconnect::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_NTF_UNBIND_DISCONNECT; - m_ssHead.PackData(strData); -} - -void CSsNtfUnbindDisconnect::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_remark; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsNtfUnbindDisconnect::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsNtfUnbindDisconnect::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsNtfUnbindDisconnect::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/.svn/text-base/infoservice.cpp.svn-base b/features/aliww/source/.svn/text-base/infoservice.cpp.svn-base deleted file mode 100644 index d7ddc26..0000000 --- a/features/aliww/source/.svn/text-base/infoservice.cpp.svn-base +++ /dev/null @@ -1,2122 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `infoservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__IUserExtInfoService__getUserExtInfo_name = "getUserExtInfo"; - -static const ::std::string __AliIM__IUserExtInfoService__updateUserExtInfo_name = "updateUserExtInfo"; - -static const ::std::string __AliIM__IUserExtInfoService__notifySpaceOpen_name = "notifySpaceOpen"; - -static const ::std::string __AliIM__IUserExtInfoService__addBlogSign_name = "addBlogSign"; - -static const ::std::string __AliIM__IUserExtInfoService__NotifyPluginMsg_name = "NotifyPluginMsg"; - -static const ::std::string __AliIM__IUserExtInfoService__UpdateSignature_name = "UpdateSignature"; - -static const ::std::string __AliIM__IUserExtInfoService__getBatchSignature_name = "getBatchSignature"; - -static const ::std::string __AliIM__IUserExtInfoService__NotifyUserDoings_name = "NotifyUserDoings"; - -static const ::std::string __AliIM__IUserExtInfoService__NotifyUserDoingsClose_name = "NotifyUserDoingsClose"; - -static const ::std::string __AliIM__IUserExtInfoService__NotifyPluginMsg2_name = "NotifyPluginMsg2"; - -static const ::std::string __AliIM__IUserExtInfoService__getSpaceOpen_name = "getSpaceOpen"; - -static const ::std::string __AliIM__IUserExtInfoService__NotifyUserVip_name = "NotifyUserVip"; - -static const ::std::string __AliIM__IUserExtInfoService__NotifyAppMsg_name = "NotifyAppMsg"; - -void -IceInternal::incRef(::AliIM::IUserExtInfoService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::IUserExtInfoService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::IUserExtInfoService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::IUserExtInfoService* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::IUserExtInfoServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::IUserExtInfoServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::IUserExtInfoService; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::IUserExtInfoServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::KVMAP& v, ::AliIM::__U__KVMAP) -{ - __os->writeSize(::Ice::Int(v.size())); - ::AliIM::KVMAP::const_iterator p; - for(p = v.begin(); p != v.end(); ++p) - { - __os->write(p->first); - __os->write(p->second); - } -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::KVMAP& v, ::AliIM::__U__KVMAP) -{ - ::Ice::Int sz; - __is->readSize(sz); - while(sz--) - { - ::std::pair pair; - __is->read(const_cast< ::std::string&>(pair.first)); - ::AliIM::KVMAP::iterator __i = v.insert(v.end(), pair); - __is->read(__i->second); - } -} - -bool -AliIM::SImSign::operator==(const SImSign& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIM::SImSign::operator!=(const SImSign& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(longuid != __rhs.longuid) - { - return true; - } - if(sign != __rhs.sign) - { - return true; - } - return false; -} - -bool -AliIM::SImSign::operator<(const SImSign& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(longuid < __rhs.longuid) - { - return true; - } - else if(__rhs.longuid < longuid) - { - return false; - } - if(sign < __rhs.sign) - { - return true; - } - else if(__rhs.sign < sign) - { - return false; - } - return false; -} - -void -AliIM::SImSign::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(longuid); - __os->write(sign); -} - -void -AliIM::SImSign::__read(::IceInternal::BasicStream* __is) -{ - __is->read(longuid); - __is->read(sign); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::SImSign* begin, const ::AliIM::SImSign* end, ::AliIM::__U__SIMSignSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::SIMSignSeq& v, ::AliIM::__U__SIMSignSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 2); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIM::__addObject(const IUserExtInfoServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const IUserExtInfoServicePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const IUserExtInfoServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(IUserExtInfoServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::getUserExtInfo(::Ice::Int srvid, const ::std::string& longuid, ::AliIM::KVMAP& attrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__getUserExtInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->getUserExtInfo(srvid, longuid, attrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::updateUserExtInfo(::Ice::Int srvid, const ::std::string& longuid, ::Ice::Int reserved, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__updateUserExtInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->updateUserExtInfo(srvid, longuid, reserved, neednotify, attrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::notifySpaceOpen(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__notifySpaceOpen_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->notifySpaceOpen(longuid, neednotify, attrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::addBlogSign(const ::std::string& longuid, const ::std::string& text, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__addBlogSign_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->addBlogSign(longuid, text, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::NotifyPluginMsg(const ::std::string& longuid, const ::std::string& xmltext, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__NotifyPluginMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->NotifyPluginMsg(longuid, xmltext, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::UpdateSignature(const ::std::string& uid, const ::std::string& xmlsignature, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__UpdateSignature_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->UpdateSignature(uid, xmlsignature, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::getBatchSignature(const ::Ice::StringSeq& uids, ::AliIM::SIMSignSeq& signlist, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__getBatchSignature_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->getBatchSignature(uids, signlist, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::NotifyUserDoings(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__NotifyUserDoings_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->NotifyUserDoings(longuid, neednotify, attrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::NotifyUserDoingsClose(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__NotifyUserDoingsClose_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->NotifyUserDoingsClose(longuid, neednotify, attrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::NotifyPluginMsg2(const ::std::string& longuid, const ::std::string& xmltext, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__NotifyPluginMsg2_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->NotifyPluginMsg2(longuid, xmltext, attrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::getSpaceOpen(const ::std::string& longuid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__getSpaceOpen_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->getSpaceOpen(longuid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::NotifyUserVip(const ::std::string& longuid, ::Ice::Int viplevel, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__NotifyUserVip_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->NotifyUserVip(longuid, viplevel, neednotify, attrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::NotifyAppMsg(const ::std::string& longUid, const ::std::string& xmlstr, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__NotifyAppMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->NotifyAppMsg(longUid, xmlstr, attrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::IUserExtInfoService::ice_staticId() -{ - return ::AliIM::IUserExtInfoService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::IUserExtInfoService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::IUserExtInfoService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::IUserExtInfoService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::IUserExtInfoService); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::IUserExtInfoService& l, const ::IceProxy::AliIM::IUserExtInfoService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::IUserExtInfoService& l, const ::IceProxy::AliIM::IUserExtInfoService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::IUserExtInfoService& l, const ::IceProxy::AliIM::IUserExtInfoService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::IUserExtInfoService& l, const ::IceProxy::AliIM::IUserExtInfoService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::IUserExtInfoService& l, const ::IceProxy::AliIM::IUserExtInfoService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::IUserExtInfoService& l, const ::IceProxy::AliIM::IUserExtInfoService& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::getUserExtInfo(::Ice::Int srvid, const ::std::string& longuid, ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__getUserExtInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(srvid); - __os->write(longuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIM::__read(__is, attrs, ::AliIM::__U__KVMAP()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::updateUserExtInfo(::Ice::Int srvid, const ::std::string& longuid, ::Ice::Int reserved, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__updateUserExtInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(srvid); - __os->write(longuid); - __os->write(reserved); - __os->write(neednotify); - ::AliIM::__write(__os, attrs, ::AliIM::__U__KVMAP()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::notifySpaceOpen(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__notifySpaceOpen_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - __os->write(neednotify); - ::AliIM::__write(__os, attrs, ::AliIM::__U__KVMAP()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::addBlogSign(const ::std::string& longuid, const ::std::string& text, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__addBlogSign_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - __os->write(text); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::NotifyPluginMsg(const ::std::string& longuid, const ::std::string& xmltext, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__NotifyPluginMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - __os->write(xmltext); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::UpdateSignature(const ::std::string& uid, const ::std::string& xmlsignature, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__UpdateSignature_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(xmlsignature); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::getBatchSignature(const ::Ice::StringSeq& uids, ::AliIM::SIMSignSeq& signlist, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__getBatchSignature_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(uids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&uids[0], &uids[0] + uids.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIM::__read(__is, signlist, ::AliIM::__U__SIMSignSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::NotifyUserDoings(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__NotifyUserDoings_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - __os->write(neednotify); - ::AliIM::__write(__os, attrs, ::AliIM::__U__KVMAP()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::NotifyUserDoingsClose(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__NotifyUserDoingsClose_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - __os->write(neednotify); - ::AliIM::__write(__os, attrs, ::AliIM::__U__KVMAP()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::NotifyPluginMsg2(const ::std::string& longuid, const ::std::string& xmltext, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__NotifyPluginMsg2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - __os->write(xmltext); - ::AliIM::__write(__os, attrs, ::AliIM::__U__KVMAP()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::getSpaceOpen(const ::std::string& longuid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__getSpaceOpen_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::NotifyUserVip(const ::std::string& longuid, ::Ice::Int viplevel, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__NotifyUserVip_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - __os->write(viplevel); - __os->write(neednotify); - ::AliIM::__write(__os, attrs, ::AliIM::__U__KVMAP()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::NotifyAppMsg(const ::std::string& longUid, const ::std::string& xmlstr, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__NotifyAppMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longUid); - __os->write(xmlstr); - ::AliIM::__write(__os, attrs, ::AliIM::__U__KVMAP()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::getUserExtInfo(::Ice::Int srvid, const ::std::string& longuid, ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__getUserExtInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserExtInfo(srvid, longuid, attrs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::updateUserExtInfo(::Ice::Int srvid, const ::std::string& longuid, ::Ice::Int reserved, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__updateUserExtInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateUserExtInfo(srvid, longuid, reserved, neednotify, attrs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::notifySpaceOpen(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__notifySpaceOpen_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->notifySpaceOpen(longuid, neednotify, attrs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::addBlogSign(const ::std::string& longuid, const ::std::string& text, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__addBlogSign_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->addBlogSign(longuid, text, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::NotifyPluginMsg(const ::std::string& longuid, const ::std::string& xmltext, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__NotifyPluginMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->NotifyPluginMsg(longuid, xmltext, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::UpdateSignature(const ::std::string& uid, const ::std::string& xmlsignature, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__UpdateSignature_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateSignature(uid, xmlsignature, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::getBatchSignature(const ::Ice::StringSeq& uids, ::AliIM::SIMSignSeq& signlist, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__getBatchSignature_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getBatchSignature(uids, signlist, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::NotifyUserDoings(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__NotifyUserDoings_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->NotifyUserDoings(longuid, neednotify, attrs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::NotifyUserDoingsClose(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__NotifyUserDoingsClose_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->NotifyUserDoingsClose(longuid, neednotify, attrs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::NotifyPluginMsg2(const ::std::string& longuid, const ::std::string& xmltext, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__NotifyPluginMsg2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->NotifyPluginMsg2(longuid, xmltext, attrs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::getSpaceOpen(const ::std::string& longuid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__getSpaceOpen_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getSpaceOpen(longuid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::NotifyUserVip(const ::std::string& longuid, ::Ice::Int viplevel, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__NotifyUserVip_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->NotifyUserVip(longuid, viplevel, neednotify, attrs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::NotifyAppMsg(const ::std::string& longUid, const ::std::string& xmlstr, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__NotifyAppMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->NotifyAppMsg(longUid, xmlstr, attrs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::IUserExtInfoService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__IUserExtInfoService_ids[2] = -{ - "::AliIM::IUserExtInfoService", - "::Ice::Object" -}; - -bool -AliIM::IUserExtInfoService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__IUserExtInfoService_ids, __AliIM__IUserExtInfoService_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::IUserExtInfoService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__IUserExtInfoService_ids[0], &__AliIM__IUserExtInfoService_ids[2]); -} - -const ::std::string& -AliIM::IUserExtInfoService::ice_id(const ::Ice::Current&) const -{ - return __AliIM__IUserExtInfoService_ids[0]; -} - -const ::std::string& -AliIM::IUserExtInfoService::ice_staticId() -{ - return __AliIM__IUserExtInfoService_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___getUserExtInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int srvid; - ::std::string longuid; - __is->read(srvid); - __is->read(longuid); - ::AliIM::KVMAP attrs; - ::Ice::Int __ret = getUserExtInfo(srvid, longuid, attrs, __current); - ::AliIM::__write(__os, attrs, ::AliIM::__U__KVMAP()); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___updateUserExtInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int srvid; - ::std::string longuid; - ::Ice::Int reserved; - ::Ice::Int neednotify; - ::AliIM::KVMAP attrs; - __is->read(srvid); - __is->read(longuid); - __is->read(reserved); - __is->read(neednotify); - ::AliIM::__read(__is, attrs, ::AliIM::__U__KVMAP()); - ::Ice::Int __ret = updateUserExtInfo(srvid, longuid, reserved, neednotify, attrs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___notifySpaceOpen(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - ::Ice::Int neednotify; - ::AliIM::KVMAP attrs; - __is->read(longuid); - __is->read(neednotify); - ::AliIM::__read(__is, attrs, ::AliIM::__U__KVMAP()); - ::Ice::Int __ret = notifySpaceOpen(longuid, neednotify, attrs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___addBlogSign(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - ::std::string text; - __is->read(longuid); - __is->read(text); - ::Ice::Int __ret = addBlogSign(longuid, text, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___NotifyPluginMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - ::std::string xmltext; - __is->read(longuid); - __is->read(xmltext); - ::Ice::Int __ret = NotifyPluginMsg(longuid, xmltext, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___UpdateSignature(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string xmlsignature; - __is->read(uid); - __is->read(xmlsignature); - ::Ice::Int __ret = UpdateSignature(uid, xmlsignature, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___getBatchSignature(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::StringSeq uids; - __is->read(uids); - ::AliIM::SIMSignSeq signlist; - ::Ice::Int __ret = getBatchSignature(uids, signlist, __current); - if(signlist.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIM::__write(__os, &signlist[0], &signlist[0] + signlist.size(), ::AliIM::__U__SIMSignSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___NotifyUserDoings(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - ::Ice::Int neednotify; - ::AliIM::KVMAP attrs; - __is->read(longuid); - __is->read(neednotify); - ::AliIM::__read(__is, attrs, ::AliIM::__U__KVMAP()); - ::Ice::Int __ret = NotifyUserDoings(longuid, neednotify, attrs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___NotifyUserDoingsClose(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - ::Ice::Int neednotify; - ::AliIM::KVMAP attrs; - __is->read(longuid); - __is->read(neednotify); - ::AliIM::__read(__is, attrs, ::AliIM::__U__KVMAP()); - ::Ice::Int __ret = NotifyUserDoingsClose(longuid, neednotify, attrs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___NotifyPluginMsg2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - ::std::string xmltext; - ::AliIM::KVMAP attrs; - __is->read(longuid); - __is->read(xmltext); - ::AliIM::__read(__is, attrs, ::AliIM::__U__KVMAP()); - ::Ice::Int __ret = NotifyPluginMsg2(longuid, xmltext, attrs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___getSpaceOpen(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - __is->read(longuid); - ::Ice::Int __ret = getSpaceOpen(longuid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___NotifyUserVip(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - ::Ice::Int viplevel; - ::Ice::Int neednotify; - ::AliIM::KVMAP attrs; - __is->read(longuid); - __is->read(viplevel); - __is->read(neednotify); - ::AliIM::__read(__is, attrs, ::AliIM::__U__KVMAP()); - ::Ice::Int __ret = NotifyUserVip(longuid, viplevel, neednotify, attrs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___NotifyAppMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longUid; - ::std::string xmlstr; - ::AliIM::KVMAP attrs; - __is->read(longUid); - __is->read(xmlstr); - ::AliIM::__read(__is, attrs, ::AliIM::__U__KVMAP()); - ::Ice::Int __ret = NotifyAppMsg(longUid, xmlstr, attrs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__IUserExtInfoService_all[] = -{ - "NotifyAppMsg", - "NotifyPluginMsg", - "NotifyPluginMsg2", - "NotifyUserDoings", - "NotifyUserDoingsClose", - "NotifyUserVip", - "UpdateSignature", - "addBlogSign", - "getBatchSignature", - "getSpaceOpen", - "getUserExtInfo", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "notifySpaceOpen", - "updateUserExtInfo" -}; - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__IUserExtInfoService_all, __AliIM__IUserExtInfoService_all + 17, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__IUserExtInfoService_all) - { - case 0: - { - return ___NotifyAppMsg(in, current); - } - case 1: - { - return ___NotifyPluginMsg(in, current); - } - case 2: - { - return ___NotifyPluginMsg2(in, current); - } - case 3: - { - return ___NotifyUserDoings(in, current); - } - case 4: - { - return ___NotifyUserDoingsClose(in, current); - } - case 5: - { - return ___NotifyUserVip(in, current); - } - case 6: - { - return ___UpdateSignature(in, current); - } - case 7: - { - return ___addBlogSign(in, current); - } - case 8: - { - return ___getBatchSignature(in, current); - } - case 9: - { - return ___getSpaceOpen(in, current); - } - case 10: - { - return ___getUserExtInfo(in, current); - } - case 11: - { - return ___ice_id(in, current); - } - case 12: - { - return ___ice_ids(in, current); - } - case 13: - { - return ___ice_isA(in, current); - } - case 14: - { - return ___ice_ping(in, current); - } - case 15: - { - return ___notifySpaceOpen(in, current); - } - case 16: - { - return ___updateUserExtInfo(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::IUserExtInfoService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::IUserExtInfoService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::IUserExtInfoService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::IUserExtInfoService was not generated with stream support"; - throw ex; -} - -void -AliIM::IUserExtInfoService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::IUserExtInfoService was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__IUserExtInfoServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::IUserExtInfoServicePtr* p = static_cast< ::AliIM::IUserExtInfoServicePtr*>(__addr); - assert(p); - *p = ::AliIM::IUserExtInfoServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::IUserExtInfoService::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::IUserExtInfoService& l, const ::AliIM::IUserExtInfoService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::IUserExtInfoService& l, const ::AliIM::IUserExtInfoService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::IUserExtInfoService& l, const ::AliIM::IUserExtInfoService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::IUserExtInfoService& l, const ::AliIM::IUserExtInfoService& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::IUserExtInfoService& l, const ::AliIM::IUserExtInfoService& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::IUserExtInfoService& l, const ::AliIM::IUserExtInfoService& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/login_info_center.cpp.svn-base b/features/aliww/source/.svn/text-base/login_info_center.cpp.svn-base deleted file mode 100644 index 038d10a..0000000 --- a/features/aliww/source/.svn/text-base/login_info_center.cpp.svn-base +++ /dev/null @@ -1,1062 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `login_info_center.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __LoginInfoCenter__LoginInfoInterface__SetLoginInfo_name = "SetLoginInfo"; - -static const ::std::string __LoginInfoCenter__LoginInfoInterface__UpdateLoginInfo_name = "UpdateLoginInfo"; - -static const ::std::string __LoginInfoCenter__LoginInfoInterface__DelLoginInfo_name = "DelLoginInfo"; - -static const ::std::string __LoginInfoCenter__LoginInfoInterface__GetLoginInfo_name = "GetLoginInfo"; - -void -IceInternal::incRef(::LoginInfoCenter::LoginInfoInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::LoginInfoCenter::LoginInfoInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::LoginInfoCenter::LoginInfoInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::LoginInfoCenter::LoginInfoInterface* p) -{ - p->__decRef(); -} - -void -LoginInfoCenter::__write(::IceInternal::BasicStream* __os, const ::LoginInfoCenter::LoginInfoInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -LoginInfoCenter::__read(::IceInternal::BasicStream* __is, ::LoginInfoCenter::LoginInfoInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::LoginInfoCenter::LoginInfoInterface; - v->__copyFrom(proxy); - } -} - -void -LoginInfoCenter::__write(::IceInternal::BasicStream* __os, const ::LoginInfoCenter::LoginInfoInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -LoginInfoCenter::SICELoginInfo::operator==(const SICELoginInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -LoginInfoCenter::SICELoginInfo::operator!=(const SICELoginInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(clifd != __rhs.clifd) - { - return true; - } - if(cliip != __rhs.cliip) - { - return true; - } - if(onlineTime != __rhs.onlineTime) - { - return true; - } - if(sysMsgId != __rhs.sysMsgId) - { - return true; - } - if(language != __rhs.language) - { - return true; - } - if(activeState != __rhs.activeState) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - if(userType != __rhs.userType) - { - return true; - } - if(vipType != __rhs.vipType) - { - return true; - } - if(mulMsgFlag != __rhs.mulMsgFlag) - { - return true; - } - if(totalActDegree != __rhs.totalActDegree) - { - return true; - } - if(uid != __rhs.uid) - { - return true; - } - if(deskey != __rhs.deskey) - { - return true; - } - if(version != __rhs.version) - { - return true; - } - return false; -} - -bool -LoginInfoCenter::SICELoginInfo::operator<(const SICELoginInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(clifd < __rhs.clifd) - { - return true; - } - else if(__rhs.clifd < clifd) - { - return false; - } - if(cliip < __rhs.cliip) - { - return true; - } - else if(__rhs.cliip < cliip) - { - return false; - } - if(onlineTime < __rhs.onlineTime) - { - return true; - } - else if(__rhs.onlineTime < onlineTime) - { - return false; - } - if(sysMsgId < __rhs.sysMsgId) - { - return true; - } - else if(__rhs.sysMsgId < sysMsgId) - { - return false; - } - if(language < __rhs.language) - { - return true; - } - else if(__rhs.language < language) - { - return false; - } - if(activeState < __rhs.activeState) - { - return true; - } - else if(__rhs.activeState < activeState) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - if(userType < __rhs.userType) - { - return true; - } - else if(__rhs.userType < userType) - { - return false; - } - if(vipType < __rhs.vipType) - { - return true; - } - else if(__rhs.vipType < vipType) - { - return false; - } - if(mulMsgFlag < __rhs.mulMsgFlag) - { - return true; - } - else if(__rhs.mulMsgFlag < mulMsgFlag) - { - return false; - } - if(totalActDegree < __rhs.totalActDegree) - { - return true; - } - else if(__rhs.totalActDegree < totalActDegree) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(deskey < __rhs.deskey) - { - return true; - } - else if(__rhs.deskey < deskey) - { - return false; - } - if(version < __rhs.version) - { - return true; - } - else if(__rhs.version < version) - { - return false; - } - return false; -} - -void -LoginInfoCenter::SICELoginInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(clifd); - __os->write(cliip); - __os->write(onlineTime); - __os->write(sysMsgId); - __os->write(language); - __os->write(activeState); - __os->write(userLevel); - __os->write(userType); - __os->write(vipType); - __os->write(mulMsgFlag); - __os->write(totalActDegree); - __os->write(uid); - __os->write(deskey); - __os->write(version); -} - -void -LoginInfoCenter::SICELoginInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(clifd); - __is->read(cliip); - __is->read(onlineTime); - __is->read(sysMsgId); - __is->read(language); - __is->read(activeState); - __is->read(userLevel); - __is->read(userType); - __is->read(vipType); - __is->read(mulMsgFlag); - __is->read(totalActDegree); - __is->read(uid); - __is->read(deskey); - __is->read(version); -} - -void -LoginInfoCenter::__addObject(const LoginInfoInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -LoginInfoCenter::__usesClasses(const LoginInfoInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -LoginInfoCenter::__decRefUnsafe(const LoginInfoInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -LoginInfoCenter::__clearHandleUnsafe(LoginInfoInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::LoginInfoCenter::LoginInfoInterface::SetLoginInfo(const ::std::string& uid, const ::LoginInfoCenter::SICELoginInfo& info, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__LoginInfoCenter__LoginInfoInterface__SetLoginInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::LoginInfoCenter::LoginInfoInterface* __del = dynamic_cast< ::IceDelegate::LoginInfoCenter::LoginInfoInterface*>(__delBase.get()); - return __del->SetLoginInfo(uid, info, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::LoginInfoCenter::LoginInfoInterface::UpdateLoginInfo(const ::LoginInfoCenter::SICELoginInfo& info, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__LoginInfoCenter__LoginInfoInterface__UpdateLoginInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::LoginInfoCenter::LoginInfoInterface* __del = dynamic_cast< ::IceDelegate::LoginInfoCenter::LoginInfoInterface*>(__delBase.get()); - return __del->UpdateLoginInfo(info, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::LoginInfoCenter::LoginInfoInterface::DelLoginInfo(const ::std::string& uid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__LoginInfoCenter__LoginInfoInterface__DelLoginInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::LoginInfoCenter::LoginInfoInterface* __del = dynamic_cast< ::IceDelegate::LoginInfoCenter::LoginInfoInterface*>(__delBase.get()); - return __del->DelLoginInfo(uid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::LoginInfoCenter::LoginInfoInterface::GetLoginInfo(const ::std::string& uid, ::LoginInfoCenter::SICELoginInfo& obj, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__LoginInfoCenter__LoginInfoInterface__GetLoginInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::LoginInfoCenter::LoginInfoInterface* __del = dynamic_cast< ::IceDelegate::LoginInfoCenter::LoginInfoInterface*>(__delBase.get()); - return __del->GetLoginInfo(uid, obj, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::LoginInfoCenter::LoginInfoInterface::ice_staticId() -{ - return ::LoginInfoCenter::LoginInfoInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::LoginInfoCenter::LoginInfoInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::LoginInfoCenter::LoginInfoInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::LoginInfoCenter::LoginInfoInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::LoginInfoCenter::LoginInfoInterface); -} - -bool -IceProxy::LoginInfoCenter::operator==(const ::IceProxy::LoginInfoCenter::LoginInfoInterface& l, const ::IceProxy::LoginInfoCenter::LoginInfoInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::LoginInfoCenter::operator!=(const ::IceProxy::LoginInfoCenter::LoginInfoInterface& l, const ::IceProxy::LoginInfoCenter::LoginInfoInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::LoginInfoCenter::operator<(const ::IceProxy::LoginInfoCenter::LoginInfoInterface& l, const ::IceProxy::LoginInfoCenter::LoginInfoInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::LoginInfoCenter::operator<=(const ::IceProxy::LoginInfoCenter::LoginInfoInterface& l, const ::IceProxy::LoginInfoCenter::LoginInfoInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::LoginInfoCenter::operator>(const ::IceProxy::LoginInfoCenter::LoginInfoInterface& l, const ::IceProxy::LoginInfoCenter::LoginInfoInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::LoginInfoCenter::operator>=(const ::IceProxy::LoginInfoCenter::LoginInfoInterface& l, const ::IceProxy::LoginInfoCenter::LoginInfoInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::LoginInfoCenter::LoginInfoInterface::SetLoginInfo(const ::std::string& uid, const ::LoginInfoCenter::SICELoginInfo& info, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __LoginInfoCenter__LoginInfoInterface__SetLoginInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - info.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::LoginInfoCenter::LoginInfoInterface::UpdateLoginInfo(const ::LoginInfoCenter::SICELoginInfo& info, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __LoginInfoCenter__LoginInfoInterface__UpdateLoginInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - info.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::LoginInfoCenter::LoginInfoInterface::DelLoginInfo(const ::std::string& uid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __LoginInfoCenter__LoginInfoInterface__DelLoginInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::LoginInfoCenter::LoginInfoInterface::GetLoginInfo(const ::std::string& uid, ::LoginInfoCenter::SICELoginInfo& obj, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __LoginInfoCenter__LoginInfoInterface__GetLoginInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - obj.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::LoginInfoCenter::LoginInfoInterface::SetLoginInfo(const ::std::string& uid, const ::LoginInfoCenter::SICELoginInfo& info, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __LoginInfoCenter__LoginInfoInterface__SetLoginInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::LoginInfoCenter::LoginInfoInterface* __servant = dynamic_cast< ::LoginInfoCenter::LoginInfoInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->SetLoginInfo(uid, info, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::LoginInfoCenter::LoginInfoInterface::UpdateLoginInfo(const ::LoginInfoCenter::SICELoginInfo& info, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __LoginInfoCenter__LoginInfoInterface__UpdateLoginInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::LoginInfoCenter::LoginInfoInterface* __servant = dynamic_cast< ::LoginInfoCenter::LoginInfoInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateLoginInfo(info, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::LoginInfoCenter::LoginInfoInterface::DelLoginInfo(const ::std::string& uid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __LoginInfoCenter__LoginInfoInterface__DelLoginInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::LoginInfoCenter::LoginInfoInterface* __servant = dynamic_cast< ::LoginInfoCenter::LoginInfoInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DelLoginInfo(uid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::LoginInfoCenter::LoginInfoInterface::GetLoginInfo(const ::std::string& uid, ::LoginInfoCenter::SICELoginInfo& obj, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __LoginInfoCenter__LoginInfoInterface__GetLoginInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::LoginInfoCenter::LoginInfoInterface* __servant = dynamic_cast< ::LoginInfoCenter::LoginInfoInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetLoginInfo(uid, obj, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -LoginInfoCenter::LoginInfoInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __LoginInfoCenter__LoginInfoInterface_ids[2] = -{ - "::Ice::Object", - "::LoginInfoCenter::LoginInfoInterface" -}; - -bool -LoginInfoCenter::LoginInfoInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__LoginInfoCenter__LoginInfoInterface_ids, __LoginInfoCenter__LoginInfoInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -LoginInfoCenter::LoginInfoInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__LoginInfoCenter__LoginInfoInterface_ids[0], &__LoginInfoCenter__LoginInfoInterface_ids[2]); -} - -const ::std::string& -LoginInfoCenter::LoginInfoInterface::ice_id(const ::Ice::Current&) const -{ - return __LoginInfoCenter__LoginInfoInterface_ids[1]; -} - -const ::std::string& -LoginInfoCenter::LoginInfoInterface::ice_staticId() -{ - return __LoginInfoCenter__LoginInfoInterface_ids[1]; -} - -::IceInternal::DispatchStatus -LoginInfoCenter::LoginInfoInterface::___SetLoginInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::LoginInfoCenter::SICELoginInfo info; - __is->read(uid); - info.__read(__is); - ::Ice::Int __ret = SetLoginInfo(uid, info, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -LoginInfoCenter::LoginInfoInterface::___UpdateLoginInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::LoginInfoCenter::SICELoginInfo info; - info.__read(__is); - ::Ice::Int __ret = UpdateLoginInfo(info, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -LoginInfoCenter::LoginInfoInterface::___DelLoginInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::Int __ret = DelLoginInfo(uid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -LoginInfoCenter::LoginInfoInterface::___GetLoginInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::LoginInfoCenter::SICELoginInfo obj; - ::Ice::Int __ret = GetLoginInfo(uid, obj, __current); - obj.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __LoginInfoCenter__LoginInfoInterface_all[] = -{ - "DelLoginInfo", - "GetLoginInfo", - "SetLoginInfo", - "UpdateLoginInfo", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -LoginInfoCenter::LoginInfoInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__LoginInfoCenter__LoginInfoInterface_all, __LoginInfoCenter__LoginInfoInterface_all + 8, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __LoginInfoCenter__LoginInfoInterface_all) - { - case 0: - { - return ___DelLoginInfo(in, current); - } - case 1: - { - return ___GetLoginInfo(in, current); - } - case 2: - { - return ___SetLoginInfo(in, current); - } - case 3: - { - return ___UpdateLoginInfo(in, current); - } - case 4: - { - return ___ice_id(in, current); - } - case 5: - { - return ___ice_ids(in, current); - } - case 6: - { - return ___ice_isA(in, current); - } - case 7: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -LoginInfoCenter::LoginInfoInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -LoginInfoCenter::LoginInfoInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -LoginInfoCenter::LoginInfoInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type LoginInfoCenter::LoginInfoInterface was not generated with stream support"; - throw ex; -} - -void -LoginInfoCenter::LoginInfoInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type LoginInfoCenter::LoginInfoInterface was not generated with stream support"; - throw ex; -} - -void -LoginInfoCenter::__patch__LoginInfoInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::LoginInfoCenter::LoginInfoInterfacePtr* p = static_cast< ::LoginInfoCenter::LoginInfoInterfacePtr*>(__addr); - assert(p); - *p = ::LoginInfoCenter::LoginInfoInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::LoginInfoCenter::LoginInfoInterface::ice_staticId(); - throw e; - } -} - -bool -LoginInfoCenter::operator==(const ::LoginInfoCenter::LoginInfoInterface& l, const ::LoginInfoCenter::LoginInfoInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -LoginInfoCenter::operator!=(const ::LoginInfoCenter::LoginInfoInterface& l, const ::LoginInfoCenter::LoginInfoInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -LoginInfoCenter::operator<(const ::LoginInfoCenter::LoginInfoInterface& l, const ::LoginInfoCenter::LoginInfoInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -LoginInfoCenter::operator<=(const ::LoginInfoCenter::LoginInfoInterface& l, const ::LoginInfoCenter::LoginInfoInterface& r) -{ - return l < r || l == r; -} - -bool -LoginInfoCenter::operator>(const ::LoginInfoCenter::LoginInfoInterface& l, const ::LoginInfoCenter::LoginInfoInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -LoginInfoCenter::operator>=(const ::LoginInfoCenter::LoginInfoInterface& l, const ::LoginInfoCenter::LoginInfoInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/logss_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/logss_pack.cpp.svn-base deleted file mode 100644 index 886cca9..0000000 --- a/features/aliww/source/.svn/text-base/logss_pack.cpp.svn-base +++ /dev/null @@ -1,188 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: logss_pack.cpp -// Date: 2011-01-30 12:49:51 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "logss_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SLogServerInfo& sLogServerInfo ) -{ - uint8_t nFieldNum = 2; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sLogServerInfo.m_machineInfo; - cPackData << FT_STRING; - cPackData << sLogServerInfo.m_type; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SLogServerInfo& sLogServerInfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sLogServerInfo.m_machineInfo; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sLogServerInfo.m_type; - for(int i = 2; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CSsReqLog::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_REQ_LOG; - m_ssHead.PackData(strData); -} - -void CSsReqLog::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRUCT; - (*this) << m_hostInfo; - (*this) << FT_STRING; - (*this) << m_warnInfo; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsReqLog::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsReqLog::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_hostInfo; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_warnInfo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsReqLog::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsRspLog::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_RSP_LOG; - m_ssHead.PackData(strData); -} - -void CSsRspLog::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_info; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsRspLog::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsRspLog::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_info; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsRspLog::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/.svn/text-base/md5hash.cpp.svn-base b/features/aliww/source/.svn/text-base/md5hash.cpp.svn-base deleted file mode 100644 index 42546d7..0000000 --- a/features/aliww/source/.svn/text-base/md5hash.cpp.svn-base +++ /dev/null @@ -1,464 +0,0 @@ -#include -//#include "headers.h" -#include "md5hash.h" -#include - -//Magic initialization constants -#define MD5_INIT_STATE_0 0x67452301 -#define MD5_INIT_STATE_1 0xefcdab89 -#define MD5_INIT_STATE_2 0x98badcfe -#define MD5_INIT_STATE_3 0x10325476 - -//Constants for Transform routine. -#define MD5_S11 7 -#define MD5_S12 12 -#define MD5_S13 17 -#define MD5_S14 22 -#define MD5_S21 5 -#define MD5_S22 9 -#define MD5_S23 14 -#define MD5_S24 20 -#define MD5_S31 4 -#define MD5_S32 11 -#define MD5_S33 16 -#define MD5_S34 23 -#define MD5_S41 6 -#define MD5_S42 10 -#define MD5_S43 15 -#define MD5_S44 21 - -//Transformation Constants - Round 1 -#define MD5_T01 0xd76aa478 //Transformation Constant 1 -#define MD5_T02 0xe8c7b756 //Transformation Constant 2 -#define MD5_T03 0x242070db //Transformation Constant 3 -#define MD5_T04 0xc1bdceee //Transformation Constant 4 -#define MD5_T05 0xf57c0faf //Transformation Constant 5 -#define MD5_T06 0x4787c62a //Transformation Constant 6 -#define MD5_T07 0xa8304613 //Transformation Constant 7 -#define MD5_T08 0xfd469501 //Transformation Constant 8 -#define MD5_T09 0x698098d8 //Transformation Constant 9 -#define MD5_T10 0x8b44f7af //Transformation Constant 10 -#define MD5_T11 0xffff5bb1 //Transformation Constant 11 -#define MD5_T12 0x895cd7be //Transformation Constant 12 -#define MD5_T13 0x6b901122 //Transformation Constant 13 -#define MD5_T14 0xfd987193 //Transformation Constant 14 -#define MD5_T15 0xa679438e //Transformation Constant 15 -#define MD5_T16 0x49b40821 //Transformation Constant 16 - -//Transformation Constants - Round 2 -#define MD5_T17 0xf61e2562 //Transformation Constant 17 -#define MD5_T18 0xc040b340 //Transformation Constant 18 -#define MD5_T19 0x265e5a51 //Transformation Constant 19 -#define MD5_T20 0xe9b6c7aa //Transformation Constant 20 -#define MD5_T21 0xd62f105d //Transformation Constant 21 -#define MD5_T22 0x02441453 //Transformation Constant 22 -#define MD5_T23 0xd8a1e681 //Transformation Constant 23 -#define MD5_T24 0xe7d3fbc8 //Transformation Constant 24 -#define MD5_T25 0x21e1cde6 //Transformation Constant 25 -#define MD5_T26 0xc33707d6 //Transformation Constant 26 -#define MD5_T27 0xf4d50d87 //Transformation Constant 27 -#define MD5_T28 0x455a14ed //Transformation Constant 28 -#define MD5_T29 0xa9e3e905 //Transformation Constant 29 -#define MD5_T30 0xfcefa3f8 //Transformation Constant 30 -#define MD5_T31 0x676f02d9 //Transformation Constant 31 -#define MD5_T32 0x8d2a4c8a //Transformation Constant 32 - -//Transformation Constants - Round 3 -#define MD5_T33 0xfffa3942 //Transformation Constant 33 -#define MD5_T34 0x8771f681 //Transformation Constant 34 -#define MD5_T35 0x6d9d6122 //Transformation Constant 35 -#define MD5_T36 0xfde5380c //Transformation Constant 36 -#define MD5_T37 0xa4beea44 //Transformation Constant 37 -#define MD5_T38 0x4bdecfa9 //Transformation Constant 38 -#define MD5_T39 0xf6bb4b60 //Transformation Constant 39 -#define MD5_T40 0xbebfbc70 //Transformation Constant 40 -#define MD5_T41 0x289b7ec6 //Transformation Constant 41 -#define MD5_T42 0xeaa127fa //Transformation Constant 42 -#define MD5_T43 0xd4ef3085 //Transformation Constant 43 -#define MD5_T44 0x04881d05 //Transformation Constant 44 -#define MD5_T45 0xd9d4d039 //Transformation Constant 45 -#define MD5_T46 0xe6db99e5 //Transformation Constant 46 -#define MD5_T47 0x1fa27cf8 //Transformation Constant 47 -#define MD5_T48 0xc4ac5665 //Transformation Constant 48 - -//Transformation Constants - Round 4 -#define MD5_T49 0xf4292244 //Transformation Constant 49 -#define MD5_T50 0x432aff97 //Transformation Constant 50 -#define MD5_T51 0xab9423a7 //Transformation Constant 51 -#define MD5_T52 0xfc93a039 //Transformation Constant 52 -#define MD5_T53 0x655b59c3 //Transformation Constant 53 -#define MD5_T54 0x8f0ccc92 //Transformation Constant 54 -#define MD5_T55 0xffeff47d //Transformation Constant 55 -#define MD5_T56 0x85845dd1 //Transformation Constant 56 -#define MD5_T57 0x6fa87e4f //Transformation Constant 57 -#define MD5_T58 0xfe2ce6e0 //Transformation Constant 58 -#define MD5_T59 0xa3014314 //Transformation Constant 59 -#define MD5_T60 0x4e0811a1 //Transformation Constant 60 -#define MD5_T61 0xf7537e82 //Transformation Constant 61 -#define MD5_T62 0xbd3af235 //Transformation Constant 62 -#define MD5_T63 0x2ad7d2bb //Transformation Constant 63 -#define MD5_T64 0xeb86d391 //Transformation Constant 64 - - -//Null data (except for first unsigned char) used to finalise the checksum calculation -static unsigned char PADDING[64] = { - 0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 -}; - - - -Md5Hash::Md5Hash(void) -{ - // zero members - memset( m_lpszBuffer, 0, 64 ); - m_nCount[0] = m_nCount[1] = 0; - - // Load magic state initialization constants - m_lMD5[0] = MD5_INIT_STATE_0; - m_lMD5[1] = MD5_INIT_STATE_1; - m_lMD5[2] = MD5_INIT_STATE_2; - m_lMD5[3] = MD5_INIT_STATE_3; -} - -Md5Hash::~Md5Hash(void) -{ -} - -std::string Md5Hash::GetMD5(const std::string& buf, bool bHex) -{ - //calculate and return the checksum - Md5Hash MD5Checksum; - MD5Checksum.Update( (const unsigned char*)buf.data(), (unsigned)buf.size() ); - return MD5Checksum.Final(bHex); -} - - - -void Md5Hash::Transform(const unsigned char Block[64]) -{ - //initialise local data with current checksum - unsigned a = m_lMD5[0]; - unsigned b = m_lMD5[1]; - unsigned c = m_lMD5[2]; - unsigned d = m_lMD5[3]; - - //copy unsigned charS from input 'Block' to an array of unsignedS 'X' - unsigned X[16]; - ByteToDWord( X, Block, 64 ); - - //Perform Round 1 of the transformation - FF (a, b, c, d, X[ 0], MD5_S11, MD5_T01); - FF (d, a, b, c, X[ 1], MD5_S12, MD5_T02); - FF (c, d, a, b, X[ 2], MD5_S13, MD5_T03); - FF (b, c, d, a, X[ 3], MD5_S14, MD5_T04); - FF (a, b, c, d, X[ 4], MD5_S11, MD5_T05); - FF (d, a, b, c, X[ 5], MD5_S12, MD5_T06); - FF (c, d, a, b, X[ 6], MD5_S13, MD5_T07); - FF (b, c, d, a, X[ 7], MD5_S14, MD5_T08); - FF (a, b, c, d, X[ 8], MD5_S11, MD5_T09); - FF (d, a, b, c, X[ 9], MD5_S12, MD5_T10); - FF (c, d, a, b, X[10], MD5_S13, MD5_T11); - FF (b, c, d, a, X[11], MD5_S14, MD5_T12); - FF (a, b, c, d, X[12], MD5_S11, MD5_T13); - FF (d, a, b, c, X[13], MD5_S12, MD5_T14); - FF (c, d, a, b, X[14], MD5_S13, MD5_T15); - FF (b, c, d, a, X[15], MD5_S14, MD5_T16); - - //Perform Round 2 of the transformation - GG (a, b, c, d, X[ 1], MD5_S21, MD5_T17); - GG (d, a, b, c, X[ 6], MD5_S22, MD5_T18); - GG (c, d, a, b, X[11], MD5_S23, MD5_T19); - GG (b, c, d, a, X[ 0], MD5_S24, MD5_T20); - GG (a, b, c, d, X[ 5], MD5_S21, MD5_T21); - GG (d, a, b, c, X[10], MD5_S22, MD5_T22); - GG (c, d, a, b, X[15], MD5_S23, MD5_T23); - GG (b, c, d, a, X[ 4], MD5_S24, MD5_T24); - GG (a, b, c, d, X[ 9], MD5_S21, MD5_T25); - GG (d, a, b, c, X[14], MD5_S22, MD5_T26); - GG (c, d, a, b, X[ 3], MD5_S23, MD5_T27); - GG (b, c, d, a, X[ 8], MD5_S24, MD5_T28); - GG (a, b, c, d, X[13], MD5_S21, MD5_T29); - GG (d, a, b, c, X[ 2], MD5_S22, MD5_T30); - GG (c, d, a, b, X[ 7], MD5_S23, MD5_T31); - GG (b, c, d, a, X[12], MD5_S24, MD5_T32); - - //Perform Round 3 of the transformation - HH (a, b, c, d, X[ 5], MD5_S31, MD5_T33); - HH (d, a, b, c, X[ 8], MD5_S32, MD5_T34); - HH (c, d, a, b, X[11], MD5_S33, MD5_T35); - HH (b, c, d, a, X[14], MD5_S34, MD5_T36); - HH (a, b, c, d, X[ 1], MD5_S31, MD5_T37); - HH (d, a, b, c, X[ 4], MD5_S32, MD5_T38); - HH (c, d, a, b, X[ 7], MD5_S33, MD5_T39); - HH (b, c, d, a, X[10], MD5_S34, MD5_T40); - HH (a, b, c, d, X[13], MD5_S31, MD5_T41); - HH (d, a, b, c, X[ 0], MD5_S32, MD5_T42); - HH (c, d, a, b, X[ 3], MD5_S33, MD5_T43); - HH (b, c, d, a, X[ 6], MD5_S34, MD5_T44); - HH (a, b, c, d, X[ 9], MD5_S31, MD5_T45); - HH (d, a, b, c, X[12], MD5_S32, MD5_T46); - HH (c, d, a, b, X[15], MD5_S33, MD5_T47); - HH (b, c, d, a, X[ 2], MD5_S34, MD5_T48); - - //Perform Round 4 of the transformation - II (a, b, c, d, X[ 0], MD5_S41, MD5_T49); - II (d, a, b, c, X[ 7], MD5_S42, MD5_T50); - II (c, d, a, b, X[14], MD5_S43, MD5_T51); - II (b, c, d, a, X[ 5], MD5_S44, MD5_T52); - II (a, b, c, d, X[12], MD5_S41, MD5_T53); - II (d, a, b, c, X[ 3], MD5_S42, MD5_T54); - II (c, d, a, b, X[10], MD5_S43, MD5_T55); - II (b, c, d, a, X[ 1], MD5_S44, MD5_T56); - II (a, b, c, d, X[ 8], MD5_S41, MD5_T57); - II (d, a, b, c, X[15], MD5_S42, MD5_T58); - II (c, d, a, b, X[ 6], MD5_S43, MD5_T59); - II (b, c, d, a, X[13], MD5_S44, MD5_T60); - II (a, b, c, d, X[ 4], MD5_S41, MD5_T61); - II (d, a, b, c, X[11], MD5_S42, MD5_T62); - II (c, d, a, b, X[ 2], MD5_S43, MD5_T63); - II (b, c, d, a, X[ 9], MD5_S44, MD5_T64); - - //add the transformed values to the current checksum - m_lMD5[0] += a; - m_lMD5[1] += b; - m_lMD5[2] += c; - m_lMD5[3] += d; -} - -void Md5Hash::Update( const unsigned char* Input, unsigned nInputLen) -{ - //Compute number of bytes mod 64 - unsigned nIndex = (unsigned)((m_nCount[0] >> 3) & 0x3F); - - //Update number of bits - if ( ( m_nCount[0] += nInputLen << 3 ) < ( nInputLen << 3) ) - { - m_nCount[1]++; - } - m_nCount[1] += (nInputLen >> 29); - - //Transform as many times as possible. - unsigned i=0; - unsigned nPartLen = 64 - nIndex; - if (nInputLen >= nPartLen) - { - memcpy( &m_lpszBuffer[nIndex], Input, nPartLen ); - Transform( m_lpszBuffer ); - for (i = nPartLen; i + 63 < nInputLen; i += 64) - { - Transform( &Input[i] ); - } - nIndex = 0; - } - else - { - i = 0; - } - - // Buffer remaining input - memcpy( &m_lpszBuffer[nIndex], &Input[i], nInputLen-i); -} - -std::string Md5Hash::Final(bool bHex) -{ - //Save number of bits - unsigned char Bits[8]; - DWordToByte( Bits, m_nCount, 8 ); - - //Pad out to 56 mod 64. - unsigned nIndex = (unsigned)((m_nCount[0] >> 3) & 0x3f); - unsigned nPadLen = (nIndex < 56) ? (56 - nIndex) : (120 - nIndex); - Update( PADDING, nPadLen ); - - //Append length (before padding) - Update( Bits, 8 ); - - //Store final state in 'lpszMD5' - const int nMD5Size = 16; - unsigned char lpszMD5[ nMD5Size ]; - DWordToByte( lpszMD5, m_lMD5, nMD5Size ); - - std::string strMD5; - if(bHex) - { - strMD5.assign(reinterpret_cast(lpszMD5),nMD5Size); - } - else - { - for ( int i=0; i < nMD5Size; i++) - { - char szByte[3]; - sprintf(szByte, ("%.2x"), lpszMD5[i]); - - strMD5 += szByte; - } - assert( strMD5.size() == 32 ); - } - return strMD5; -} - -/***************************************************************************************** -FUNCTION: Md5Hash::RotateLeft -DETAILS: private -DESCRIPTION: Rotates the bits in a 32 bit unsigned left by a specified amount -RETURNS: The rotated unsigned -ARGUMENTS: unsigned x : the value to be rotated -int n : the number of bits to rotate by -*****************************************************************************************/ -unsigned Md5Hash::RotateLeft(unsigned x, int n) -{ - //check that unsigned is 4 bytes long - true in Visual C++ 6 and 32 bit Windows - assert( sizeof(x) == 4 ); - - //rotate and return x - return (x << n) | (x >> (32-n)); -} - - -/***************************************************************************************** -FUNCTION: Md5Hash::FF -DETAILS: protected -DESCRIPTION: Implementation of basic MD5 transformation algorithm -RETURNS: none -ARGUMENTS: unsigned &A, B, C, D : Current (partial) checksum -unsigned X : Input data -unsigned S : MD5_SXX Transformation constant -unsigned T : MD5_TXX Transformation constant -NOTES: None -*****************************************************************************************/ -void Md5Hash::FF( unsigned& A, unsigned B, unsigned C, unsigned D, unsigned X, unsigned S, unsigned T) -{ - unsigned F = (B & C) | (~B & D); - A += F + X + T; - A = RotateLeft(A, S); - A += B; -} - - -/***************************************************************************************** -FUNCTION: Md5Hash::GG -DETAILS: protected -DESCRIPTION: Implementation of basic MD5 transformation algorithm -RETURNS: none -ARGUMENTS: unsigned &A, B, C, D : Current (partial) checksum -unsigned X : Input data -unsigned S : MD5_SXX Transformation constant -unsigned T : MD5_TXX Transformation constant -NOTES: None -*****************************************************************************************/ -void Md5Hash::GG( unsigned& A, unsigned B, unsigned C, unsigned D, unsigned X, unsigned S, unsigned T) -{ - unsigned G = (B & D) | (C & ~D); - A += G + X + T; - A = RotateLeft(A, S); - A += B; -} - - -/***************************************************************************************** -FUNCTION: Md5Hash::HH -DETAILS: protected -DESCRIPTION: Implementation of basic MD5 transformation algorithm -RETURNS: none -ARGUMENTS: unsigned &A, B, C, D : Current (partial) checksum -unsigned X : Input data -unsigned S : MD5_SXX Transformation constant -unsigned T : MD5_TXX Transformation constant -NOTES: None -*****************************************************************************************/ -void Md5Hash::HH( unsigned& A, unsigned B, unsigned C, unsigned D, unsigned X, unsigned S, unsigned T) -{ - unsigned H = (B ^ C ^ D); - A += H + X + T; - A = RotateLeft(A, S); - A += B; -} - - -/***************************************************************************************** -FUNCTION: Md5Hash::II -DETAILS: protected -DESCRIPTION: Implementation of basic MD5 transformation algorithm -RETURNS: none -ARGUMENTS: unsigned &A, B, C, D : Current (partial) checksum -unsigned X : Input data -unsigned S : MD5_SXX Transformation constant -unsigned T : MD5_TXX Transformation constant -NOTES: None -*****************************************************************************************/ -void Md5Hash::II( unsigned& A, unsigned B, unsigned C, unsigned D, unsigned X, unsigned S, unsigned T) -{ - unsigned I = (C ^ (B | ~D)); - A += I + X + T; - A = RotateLeft(A, S); - A += B; -} - - -/***************************************************************************************** -FUNCTION: Md5Hash::ByteToDWord -DETAILS: private -DESCRIPTION: Transfers the data in an 8 bit array to a 32 bit array -RETURNS: void -ARGUMENTS: unsigned* Output : the 32 bit (unsigned long) destination array -unsigned char* Input : the 8 bit (unsigned char) source array -unsigned nLength : the number of 8 bit data items in the source array -NOTES: Four unsigned charS from the input array are transferred to each unsigned entry -of the output array. The first unsigned char is transferred to the bits (0-7) -of the output unsigned, the second unsigned char to bits 8-15 etc. -The algorithm assumes that the input array is a multiple of 4 bytes long -so that there is a perfect fit into the array of 32 bit words. -*****************************************************************************************/ -void Md5Hash::ByteToDWord(unsigned* Output, const unsigned char* Input, unsigned nLength) -{ - //entry invariants - assert( nLength % 4 == 0 ); - - //initialisations - unsigned i=0; //index to Output array - unsigned j=0; //index to Input array - - //transfer the data by shifting and copying - for ( ; j < nLength; i++, j += 4) - { - Output[i] = (unsigned)Input[j] | - (unsigned)Input[j+1] << 8 | - (unsigned)Input[j+2] << 16 | - (unsigned)Input[j+3] << 24; - } -} - -/***************************************************************************************** -FUNCTION: Md5Hash::DWordToByte -DETAILS: private -DESCRIPTION: Transfers the data in an 32 bit array to a 8 bit array -RETURNS: void -ARGUMENTS: unsigned char* Output : the 8 bit destination array -unsigned* Input : the 32 bit source array -unsigned nLength : the number of 8 bit data items in the source array -NOTES: One unsigned from the input array is transferred into four unsigned charS -in the output array. The first (0-7) bits of the first unsigned are -transferred to the first output unsigned char, bits bits 8-15 are transferred from -the second unsigned char etc. - -The algorithm assumes that the output array is a multiple of 4 bytes long -so that there is a perfect fit of 8 bit unsigned charS into the 32 bit unsigneds. -*****************************************************************************************/ -void Md5Hash::DWordToByte(unsigned char* Output, const unsigned* Input, unsigned nLength ) -{ - //entry invariants - assert( nLength % 4 == 0 ); - - //transfer the data by shifting and copying - unsigned i = 0; - unsigned j = 0; - for ( ; j < nLength; i++, j += 4) - { - Output[j] = (unsigned char)(Input[i] & 0xff); - Output[j+1] = (unsigned char)((Input[i] >> 8) & 0xff); - Output[j+2] = (unsigned char)((Input[i] >> 16) & 0xff); - Output[j+3] = (unsigned char)((Input[i] >> 24) & 0xff); - } -} diff --git a/features/aliww/source/.svn/text-base/monitorsc_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/monitorsc_pack.cpp.svn-base deleted file mode 100644 index 47423cc..0000000 --- a/features/aliww/source/.svn/text-base/monitorsc_pack.cpp.svn-base +++ /dev/null @@ -1,569 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: monitorsc_pack.cpp -// Date: 2011-01-30 12:49:47 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "monitorsc_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SAppServerInfo& sAppServerInfo ) -{ - uint8_t nFieldNum = 9; - cPackData << nFieldNum; - cPackData << FT_UINT32; - cPackData << sAppServerInfo.m_id; - cPackData << FT_STRING; - cPackData << sAppServerInfo.m_idcname; - cPackData << FT_STRING; - cPackData << sAppServerInfo.m_ip; - cPackData << FT_STRING; - cPackData << sAppServerInfo.m_apptype; - cPackData << FT_STRING; - cPackData << sAppServerInfo.m_processname; - cPackData << FT_STRING; - cPackData << sAppServerInfo.m_machineinfo; - cPackData << FT_STRING; - cPackData << sAppServerInfo.m_monitortype; - cPackData << FT_UINT32; - cPackData << sAppServerInfo.m_interval; - cPackData << FT_STRING; - cPackData << sAppServerInfo.m_version; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SAppServerInfo& sAppServerInfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 9) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sAppServerInfo.m_id; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sAppServerInfo.m_idcname; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sAppServerInfo.m_ip; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sAppServerInfo.m_apptype; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sAppServerInfo.m_processname; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sAppServerInfo.m_machineinfo; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sAppServerInfo.m_monitortype; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sAppServerInfo.m_interval; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sAppServerInfo.m_version; - for(int i = 9; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CScReqRegister::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = SC_REQ_REGISTER; - m_scHead.PackData(strData); -} - -void CScReqRegister::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRUCT; - (*this) << m_info; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScReqRegister::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CScReqRegister::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_info; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScReqRegister::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CScRspRegister::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = SC_RSP_REGISTER; - m_scHead.PackData(strData); -} - -void CScRspRegister::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_id; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScRspRegister::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CScRspRegister::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_id; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScRspRegister::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CScReqCancelRegister::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = SC_REQ_CANCEL_REGISTER; - m_scHead.PackData(strData); -} - -void CScReqCancelRegister::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRUCT; - (*this) << m_info; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScReqCancelRegister::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CScReqCancelRegister::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_info; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScReqCancelRegister::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CScRspCancelRegister::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = SC_RSP_CANCEL_REGISTER; - m_scHead.PackData(strData); -} - -void CScRspCancelRegister::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT32; - (*this) << m_retcode; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScRspCancelRegister::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CScRspCancelRegister::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScRspCancelRegister::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CScReqSvrStatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = SC_REQ_SVR_STATUS; - m_scHead.PackData(strData); -} - -void CScReqSvrStatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT32; - (*this) << m_id; - (*this) << FT_UINT32; - (*this) << m_status; - (*this) << FT_STRING; - (*this) << m_detail; - (*this) << FT_STRING; - (*this) << m_ext; - (*this) << FT_UINT32; - (*this) << m_timeelapsed; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScReqSvrStatus::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CScReqSvrStatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_id; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_detail; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_ext; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timeelapsed; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScReqSvrStatus::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - diff --git a/features/aliww/source/.svn/text-base/mosInterface.cpp.svn-base b/features/aliww/source/.svn/text-base/mosInterface.cpp.svn-base deleted file mode 100644 index 5c055e0..0000000 --- a/features/aliww/source/.svn/text-base/mosInterface.cpp.svn-base +++ /dev/null @@ -1,2793 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `mosInterface.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AMOServer__MOSInterface__getUserStatus_name = "getUserStatus"; - -static const ::std::string __AMOServer__MOSInterface__getUserStatusIp_name = "getUserStatusIp"; - -static const ::std::string __AMOServer__MOSInterface__getUserRealStatus_name = "getUserRealStatus"; - -static const ::std::string __AMOServer__MOSInterface__getUserRealStatusIp_name = "getUserRealStatusIp"; - -static const ::std::string __AMOServer__MOSInterface__getUserLastLoginTime_name = "getUserLastLoginTime"; - -static const ::std::string __AMOServer__MOSInterface__getUserCount_name = "getUserCount"; - -static const ::std::string __AMOServer__MOSInterface__getIpUsers_name = "getIpUsers"; - -static const ::std::string __AMOServer__MOSInterface__getIpUsersEx_name = "getIpUsersEx"; - -static const ::std::string __AMOServer__MOSInterface__getSameIpSiteUsers_name = "getSameIpSiteUsers"; - -static const ::std::string __AMOServer__MOSInterface__getOnlineUsers_name = "getOnlineUsers"; - -static const ::std::string __AMOServer__MOSInterface__getOnlineUser_name = "getOnlineUser"; - -static const ::std::string __AMOServer__MOSInterface__getOnlineUserEx_name = "getOnlineUserEx"; - -static const ::std::string __AMOServer__MOSInterface__getEhmsGrpSts_name = "getEhmsGrpSts"; - -void -IceInternal::incRef(::AMOServer::MOSInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AMOServer::MOSInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AMOServer::MOSInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AMOServer::MOSInterface* p) -{ - p->__decRef(); -} - -void -AMOServer::__write(::IceInternal::BasicStream* __os, const ::AMOServer::MOSInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AMOServer::__read(::IceInternal::BasicStream* __is, ::AMOServer::MOSInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AMOServer::MOSInterface; - v->__copyFrom(proxy); - } -} - -void -AMOServer::__write(::IceInternal::BasicStream* __os, const ::AMOServer::MOSInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -AMOServer::MosStatusIp::operator==(const MosStatusIp& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AMOServer::MosStatusIp::operator!=(const MosStatusIp& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(ip != __rhs.ip) - { - return true; - } - return false; -} - -bool -AMOServer::MosStatusIp::operator<(const MosStatusIp& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(ip < __rhs.ip) - { - return true; - } - else if(__rhs.ip < ip) - { - return false; - } - return false; -} - -void -AMOServer::MosStatusIp::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(status); - __os->write(ip); -} - -void -AMOServer::MosStatusIp::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(status); - __is->read(ip); -} - -bool -AMOServer::MosStatus::operator==(const MosStatus& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AMOServer::MosStatus::operator!=(const MosStatus& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - return false; -} - -bool -AMOServer::MosStatus::operator<(const MosStatus& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - return false; -} - -void -AMOServer::MosStatus::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(status); -} - -void -AMOServer::MosStatus::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(status); -} - -bool -AMOServer::LoginTime::operator==(const LoginTime& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AMOServer::LoginTime::operator!=(const LoginTime& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(time != __rhs.time) - { - return true; - } - return false; -} - -bool -AMOServer::LoginTime::operator<(const LoginTime& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(time < __rhs.time) - { - return true; - } - else if(__rhs.time < time) - { - return false; - } - return false; -} - -void -AMOServer::LoginTime::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(time); -} - -void -AMOServer::LoginTime::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(time); -} - -bool -AMOServer::UserInfo::operator==(const UserInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AMOServer::UserInfo::operator!=(const UserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(version != __rhs.version) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(ip != __rhs.ip) - { - return true; - } - return false; -} - -bool -AMOServer::UserInfo::operator<(const UserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(version < __rhs.version) - { - return true; - } - else if(__rhs.version < version) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(ip < __rhs.ip) - { - return true; - } - else if(__rhs.ip < ip) - { - return false; - } - return false; -} - -void -AMOServer::UserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(version); - __os->write(status); - __os->write(ip); -} - -void -AMOServer::UserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(version); - __is->read(status); - __is->read(ip); -} - -bool -AMOServer::UserInfoEx::operator==(const UserInfoEx& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AMOServer::UserInfoEx::operator!=(const UserInfoEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(srvId != __rhs.srvId) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(predefSts != __rhs.predefSts) - { - return true; - } - if(mobileOnlineFlag != __rhs.mobileOnlineFlag) - { - return true; - } - if(recvFlag != __rhs.recvFlag) - { - return true; - } - if(ip != __rhs.ip) - { - return true; - } - if(lastLoginTime != __rhs.lastLoginTime) - { - return true; - } - if(version != __rhs.version) - { - return true; - } - return false; -} - -bool -AMOServer::UserInfoEx::operator<(const UserInfoEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(srvId < __rhs.srvId) - { - return true; - } - else if(__rhs.srvId < srvId) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(predefSts < __rhs.predefSts) - { - return true; - } - else if(__rhs.predefSts < predefSts) - { - return false; - } - if(mobileOnlineFlag < __rhs.mobileOnlineFlag) - { - return true; - } - else if(__rhs.mobileOnlineFlag < mobileOnlineFlag) - { - return false; - } - if(recvFlag < __rhs.recvFlag) - { - return true; - } - else if(__rhs.recvFlag < recvFlag) - { - return false; - } - if(ip < __rhs.ip) - { - return true; - } - else if(__rhs.ip < ip) - { - return false; - } - if(lastLoginTime < __rhs.lastLoginTime) - { - return true; - } - else if(__rhs.lastLoginTime < lastLoginTime) - { - return false; - } - if(version < __rhs.version) - { - return true; - } - else if(__rhs.version < version) - { - return false; - } - return false; -} - -void -AMOServer::UserInfoEx::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(srvId); - __os->write(status); - __os->write(predefSts); - __os->write(mobileOnlineFlag); - __os->write(recvFlag); - __os->write(ip); - __os->write(lastLoginTime); - __os->write(version); -} - -void -AMOServer::UserInfoEx::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(srvId); - __is->read(status); - __is->read(predefSts); - __is->read(mobileOnlineFlag); - __is->read(recvFlag); - __is->read(ip); - __is->read(lastLoginTime); - __is->read(version); -} - -bool -AMOServer::GrpInfo::operator==(const GrpInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AMOServer::GrpInfo::operator!=(const GrpInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(groupName != __rhs.groupName) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - return false; -} - -bool -AMOServer::GrpInfo::operator<(const GrpInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(groupName < __rhs.groupName) - { - return true; - } - else if(__rhs.groupName < groupName) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - return false; -} - -void -AMOServer::GrpInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(groupName); - __os->write(groupId); - __os->write(status); -} - -void -AMOServer::GrpInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(groupName); - __is->read(groupId); - __is->read(status); -} - -void -AMOServer::__write(::IceInternal::BasicStream* __os, const ::AMOServer::MosStatus* begin, const ::AMOServer::MosStatus* end, ::AMOServer::__U__SICEMosStatusSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AMOServer::__read(::IceInternal::BasicStream* __is, ::AMOServer::SICEMosStatusSeq& v, ::AMOServer::__U__SICEMosStatusSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 3); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AMOServer::__write(::IceInternal::BasicStream* __os, const ::AMOServer::MosStatusIp* begin, const ::AMOServer::MosStatusIp* end, ::AMOServer::__U__SICEMosStatusIpSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AMOServer::__read(::IceInternal::BasicStream* __is, ::AMOServer::SICEMosStatusIpSeq& v, ::AMOServer::__U__SICEMosStatusIpSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 11); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AMOServer::__write(::IceInternal::BasicStream* __os, const ::AMOServer::LoginTime* begin, const ::AMOServer::LoginTime* end, ::AMOServer::__U__SICELoginTimeSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AMOServer::__read(::IceInternal::BasicStream* __is, ::AMOServer::SICELoginTimeSeq& v, ::AMOServer::__U__SICELoginTimeSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 2); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AMOServer::__write(::IceInternal::BasicStream* __os, const ::AMOServer::UserInfo* begin, const ::AMOServer::UserInfo* end, ::AMOServer::__U__SICEUserInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AMOServer::__read(::IceInternal::BasicStream* __is, ::AMOServer::SICEUserInfoSeq& v, ::AMOServer::__U__SICEUserInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 12); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AMOServer::__write(::IceInternal::BasicStream* __os, const ::AMOServer::GrpInfo* begin, const ::AMOServer::GrpInfo* end, ::AMOServer::__U__SICEGrpInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AMOServer::__read(::IceInternal::BasicStream* __is, ::AMOServer::SICEGrpInfoSeq& v, ::AMOServer::__U__SICEGrpInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 8); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AMOServer::__addObject(const MOSInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AMOServer::__usesClasses(const MOSInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -AMOServer::__decRefUnsafe(const MOSInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AMOServer::__clearHandleUnsafe(MOSInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getUserStatus(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusSeq& mosStatusList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getUserStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getUserStatus(userList, mosStatusList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getUserStatusIp(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusIpSeq& mosStatusList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getUserStatusIp_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getUserStatusIp(userList, mosStatusList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getUserRealStatus(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusSeq& mosStatusList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getUserRealStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getUserRealStatus(userList, mosStatusList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getUserRealStatusIp(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusIpSeq& mosStatusList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getUserRealStatusIp_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getUserRealStatusIp(userList, mosStatusList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getUserLastLoginTime(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICELoginTimeSeq& loginTimeList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getUserLastLoginTime_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getUserLastLoginTime(userList, loginTimeList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getUserCount(::Ice::Short type, ::Ice::Long arg1, const ::std::string& arg2, ::Ice::Long& count, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getUserCount_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getUserCount(type, arg1, arg2, count, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getIpUsers(::Ice::Long ip, ::Ice::Long count, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getIpUsers_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getIpUsers(ip, count, allCount, uidList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getIpUsersEx(::Ice::Long ip, ::Ice::Long count, ::Ice::Long netcode, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getIpUsersEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getIpUsersEx(ip, count, netcode, allCount, uidList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getSameIpSiteUsers(const ::std::string& uid, ::Ice::Long count, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getSameIpSiteUsers_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getSameIpSiteUsers(uid, count, allCount, uidList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getOnlineUsers(::Ice::Short netcode, ::Ice::Short onlineType, ::AMOServer::SICEUserInfoSeq& userlist, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getOnlineUsers_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getOnlineUsers(netcode, onlineType, userlist, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getOnlineUser(const ::std::string& uid, ::AMOServer::UserInfo& ui, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getOnlineUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getOnlineUser(uid, ui, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getOnlineUserEx(const ::std::string& uid, ::AMOServer::UserInfoEx& ui, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getOnlineUserEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getOnlineUserEx(uid, ui, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getEhmsGrpSts(const ::std::string& uid, const ::AMOServer::SICEGrpIdSeq& grpIds, ::AMOServer::SICEGrpInfoSeq& grpList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getEhmsGrpSts_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getEhmsGrpSts(uid, grpIds, grpList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AMOServer::MOSInterface::ice_staticId() -{ - return ::AMOServer::MOSInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AMOServer::MOSInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AMOServer::MOSInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AMOServer::MOSInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AMOServer::MOSInterface); -} - -bool -IceProxy::AMOServer::operator==(const ::IceProxy::AMOServer::MOSInterface& l, const ::IceProxy::AMOServer::MOSInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AMOServer::operator!=(const ::IceProxy::AMOServer::MOSInterface& l, const ::IceProxy::AMOServer::MOSInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AMOServer::operator<(const ::IceProxy::AMOServer::MOSInterface& l, const ::IceProxy::AMOServer::MOSInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AMOServer::operator<=(const ::IceProxy::AMOServer::MOSInterface& l, const ::IceProxy::AMOServer::MOSInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AMOServer::operator>(const ::IceProxy::AMOServer::MOSInterface& l, const ::IceProxy::AMOServer::MOSInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AMOServer::operator>=(const ::IceProxy::AMOServer::MOSInterface& l, const ::IceProxy::AMOServer::MOSInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getUserStatus(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusSeq& mosStatusList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getUserStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userList[0], &userList[0] + userList.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AMOServer::__read(__is, mosStatusList, ::AMOServer::__U__SICEMosStatusSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getUserStatusIp(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusIpSeq& mosStatusList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getUserStatusIp_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userList[0], &userList[0] + userList.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AMOServer::__read(__is, mosStatusList, ::AMOServer::__U__SICEMosStatusIpSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getUserRealStatus(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusSeq& mosStatusList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getUserRealStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userList[0], &userList[0] + userList.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AMOServer::__read(__is, mosStatusList, ::AMOServer::__U__SICEMosStatusSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getUserRealStatusIp(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusIpSeq& mosStatusList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getUserRealStatusIp_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userList[0], &userList[0] + userList.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AMOServer::__read(__is, mosStatusList, ::AMOServer::__U__SICEMosStatusIpSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getUserLastLoginTime(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICELoginTimeSeq& loginTimeList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getUserLastLoginTime_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userList[0], &userList[0] + userList.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AMOServer::__read(__is, loginTimeList, ::AMOServer::__U__SICELoginTimeSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getUserCount(::Ice::Short type, ::Ice::Long arg1, const ::std::string& arg2, ::Ice::Long& count, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getUserCount_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(type); - __os->write(arg1); - __os->write(arg2); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(count); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getIpUsers(::Ice::Long ip, ::Ice::Long count, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getIpUsers_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(ip); - __os->write(count); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(allCount); - __is->read(uidList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getIpUsersEx(::Ice::Long ip, ::Ice::Long count, ::Ice::Long netcode, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getIpUsersEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(ip); - __os->write(count); - __os->write(netcode); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(allCount); - __is->read(uidList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getSameIpSiteUsers(const ::std::string& uid, ::Ice::Long count, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getSameIpSiteUsers_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(count); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(allCount); - __is->read(uidList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getOnlineUsers(::Ice::Short netcode, ::Ice::Short onlineType, ::AMOServer::SICEUserInfoSeq& userlist, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getOnlineUsers_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(netcode); - __os->write(onlineType); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AMOServer::__read(__is, userlist, ::AMOServer::__U__SICEUserInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getOnlineUser(const ::std::string& uid, ::AMOServer::UserInfo& ui, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getOnlineUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ui.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getOnlineUserEx(const ::std::string& uid, ::AMOServer::UserInfoEx& ui, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getOnlineUserEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ui.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getEhmsGrpSts(const ::std::string& uid, const ::AMOServer::SICEGrpIdSeq& grpIds, ::AMOServer::SICEGrpInfoSeq& grpList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getEhmsGrpSts_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - if(grpIds.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&grpIds[0], &grpIds[0] + grpIds.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AMOServer::__read(__is, grpList, ::AMOServer::__U__SICEGrpInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getUserStatus(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusSeq& mosStatusList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getUserStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserStatus(userList, mosStatusList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getUserStatusIp(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusIpSeq& mosStatusList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getUserStatusIp_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserStatusIp(userList, mosStatusList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getUserRealStatus(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusSeq& mosStatusList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getUserRealStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserRealStatus(userList, mosStatusList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getUserRealStatusIp(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusIpSeq& mosStatusList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getUserRealStatusIp_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserRealStatusIp(userList, mosStatusList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getUserLastLoginTime(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICELoginTimeSeq& loginTimeList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getUserLastLoginTime_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserLastLoginTime(userList, loginTimeList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getUserCount(::Ice::Short type, ::Ice::Long arg1, const ::std::string& arg2, ::Ice::Long& count, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getUserCount_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserCount(type, arg1, arg2, count, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getIpUsers(::Ice::Long ip, ::Ice::Long count, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getIpUsers_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getIpUsers(ip, count, allCount, uidList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getIpUsersEx(::Ice::Long ip, ::Ice::Long count, ::Ice::Long netcode, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getIpUsersEx_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getIpUsersEx(ip, count, netcode, allCount, uidList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getSameIpSiteUsers(const ::std::string& uid, ::Ice::Long count, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getSameIpSiteUsers_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getSameIpSiteUsers(uid, count, allCount, uidList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getOnlineUsers(::Ice::Short netcode, ::Ice::Short onlineType, ::AMOServer::SICEUserInfoSeq& userlist, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getOnlineUsers_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getOnlineUsers(netcode, onlineType, userlist, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getOnlineUser(const ::std::string& uid, ::AMOServer::UserInfo& ui, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getOnlineUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getOnlineUser(uid, ui, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getOnlineUserEx(const ::std::string& uid, ::AMOServer::UserInfoEx& ui, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getOnlineUserEx_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getOnlineUserEx(uid, ui, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getEhmsGrpSts(const ::std::string& uid, const ::AMOServer::SICEGrpIdSeq& grpIds, ::AMOServer::SICEGrpInfoSeq& grpList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getEhmsGrpSts_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getEhmsGrpSts(uid, grpIds, grpList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AMOServer::MOSInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AMOServer__MOSInterface_ids[2] = -{ - "::AMOServer::MOSInterface", - "::Ice::Object" -}; - -bool -AMOServer::MOSInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AMOServer__MOSInterface_ids, __AMOServer__MOSInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -AMOServer::MOSInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AMOServer__MOSInterface_ids[0], &__AMOServer__MOSInterface_ids[2]); -} - -const ::std::string& -AMOServer::MOSInterface::ice_id(const ::Ice::Current&) const -{ - return __AMOServer__MOSInterface_ids[0]; -} - -const ::std::string& -AMOServer::MOSInterface::ice_staticId() -{ - return __AMOServer__MOSInterface_ids[0]; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getUserStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AMOServer::SICEUserIdSeq userList; - __is->read(userList); - ::AMOServer::SICEMosStatusSeq mosStatusList; - ::Ice::Int __ret = getUserStatus(userList, mosStatusList, __current); - if(mosStatusList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AMOServer::__write(__os, &mosStatusList[0], &mosStatusList[0] + mosStatusList.size(), ::AMOServer::__U__SICEMosStatusSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getUserStatusIp(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AMOServer::SICEUserIdSeq userList; - __is->read(userList); - ::AMOServer::SICEMosStatusIpSeq mosStatusList; - ::Ice::Int __ret = getUserStatusIp(userList, mosStatusList, __current); - if(mosStatusList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AMOServer::__write(__os, &mosStatusList[0], &mosStatusList[0] + mosStatusList.size(), ::AMOServer::__U__SICEMosStatusIpSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getUserRealStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AMOServer::SICEUserIdSeq userList; - __is->read(userList); - ::AMOServer::SICEMosStatusSeq mosStatusList; - ::Ice::Int __ret = getUserRealStatus(userList, mosStatusList, __current); - if(mosStatusList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AMOServer::__write(__os, &mosStatusList[0], &mosStatusList[0] + mosStatusList.size(), ::AMOServer::__U__SICEMosStatusSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getUserRealStatusIp(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AMOServer::SICEUserIdSeq userList; - __is->read(userList); - ::AMOServer::SICEMosStatusIpSeq mosStatusList; - ::Ice::Int __ret = getUserRealStatusIp(userList, mosStatusList, __current); - if(mosStatusList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AMOServer::__write(__os, &mosStatusList[0], &mosStatusList[0] + mosStatusList.size(), ::AMOServer::__U__SICEMosStatusIpSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getUserLastLoginTime(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AMOServer::SICEUserIdSeq userList; - __is->read(userList); - ::AMOServer::SICELoginTimeSeq loginTimeList; - ::Ice::Int __ret = getUserLastLoginTime(userList, loginTimeList, __current); - if(loginTimeList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AMOServer::__write(__os, &loginTimeList[0], &loginTimeList[0] + loginTimeList.size(), ::AMOServer::__U__SICELoginTimeSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getUserCount(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Short type; - ::Ice::Long arg1; - ::std::string arg2; - __is->read(type); - __is->read(arg1); - __is->read(arg2); - ::Ice::Long count; - ::Ice::Int __ret = getUserCount(type, arg1, arg2, count, __current); - __os->write(count); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getIpUsers(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long ip; - ::Ice::Long count; - __is->read(ip); - __is->read(count); - ::Ice::Long allCount; - ::AMOServer::SICEUserIdSeq uidList; - ::Ice::Int __ret = getIpUsers(ip, count, allCount, uidList, __current); - __os->write(allCount); - if(uidList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&uidList[0], &uidList[0] + uidList.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getIpUsersEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long ip; - ::Ice::Long count; - ::Ice::Long netcode; - __is->read(ip); - __is->read(count); - __is->read(netcode); - ::Ice::Long allCount; - ::AMOServer::SICEUserIdSeq uidList; - ::Ice::Int __ret = getIpUsersEx(ip, count, netcode, allCount, uidList, __current); - __os->write(allCount); - if(uidList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&uidList[0], &uidList[0] + uidList.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getSameIpSiteUsers(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Long count; - __is->read(uid); - __is->read(count); - ::Ice::Long allCount; - ::AMOServer::SICEUserIdSeq uidList; - ::Ice::Int __ret = getSameIpSiteUsers(uid, count, allCount, uidList, __current); - __os->write(allCount); - if(uidList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&uidList[0], &uidList[0] + uidList.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getOnlineUsers(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Short netcode; - ::Ice::Short onlineType; - __is->read(netcode); - __is->read(onlineType); - ::AMOServer::SICEUserInfoSeq userlist; - ::Ice::Int __ret = getOnlineUsers(netcode, onlineType, userlist, __current); - if(userlist.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AMOServer::__write(__os, &userlist[0], &userlist[0] + userlist.size(), ::AMOServer::__U__SICEUserInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getOnlineUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::AMOServer::UserInfo ui; - ::Ice::Int __ret = getOnlineUser(uid, ui, __current); - ui.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getOnlineUserEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::AMOServer::UserInfoEx ui; - ::Ice::Int __ret = getOnlineUserEx(uid, ui, __current); - ui.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getEhmsGrpSts(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::AMOServer::SICEGrpIdSeq grpIds; - __is->read(uid); - __is->read(grpIds); - ::AMOServer::SICEGrpInfoSeq grpList; - ::Ice::Int __ret = getEhmsGrpSts(uid, grpIds, grpList, __current); - if(grpList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AMOServer::__write(__os, &grpList[0], &grpList[0] + grpList.size(), ::AMOServer::__U__SICEGrpInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AMOServer__MOSInterface_all[] = -{ - "getEhmsGrpSts", - "getIpUsers", - "getIpUsersEx", - "getOnlineUser", - "getOnlineUserEx", - "getOnlineUsers", - "getSameIpSiteUsers", - "getUserCount", - "getUserLastLoginTime", - "getUserRealStatus", - "getUserRealStatusIp", - "getUserStatus", - "getUserStatusIp", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AMOServer__MOSInterface_all, __AMOServer__MOSInterface_all + 17, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AMOServer__MOSInterface_all) - { - case 0: - { - return ___getEhmsGrpSts(in, current); - } - case 1: - { - return ___getIpUsers(in, current); - } - case 2: - { - return ___getIpUsersEx(in, current); - } - case 3: - { - return ___getOnlineUser(in, current); - } - case 4: - { - return ___getOnlineUserEx(in, current); - } - case 5: - { - return ___getOnlineUsers(in, current); - } - case 6: - { - return ___getSameIpSiteUsers(in, current); - } - case 7: - { - return ___getUserCount(in, current); - } - case 8: - { - return ___getUserLastLoginTime(in, current); - } - case 9: - { - return ___getUserRealStatus(in, current); - } - case 10: - { - return ___getUserRealStatusIp(in, current); - } - case 11: - { - return ___getUserStatus(in, current); - } - case 12: - { - return ___getUserStatusIp(in, current); - } - case 13: - { - return ___ice_id(in, current); - } - case 14: - { - return ___ice_ids(in, current); - } - case 15: - { - return ___ice_isA(in, current); - } - case 16: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AMOServer::MOSInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AMOServer::MOSInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AMOServer::MOSInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AMOServer::MOSInterface was not generated with stream support"; - throw ex; -} - -void -AMOServer::MOSInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AMOServer::MOSInterface was not generated with stream support"; - throw ex; -} - -void -AMOServer::__patch__MOSInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AMOServer::MOSInterfacePtr* p = static_cast< ::AMOServer::MOSInterfacePtr*>(__addr); - assert(p); - *p = ::AMOServer::MOSInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AMOServer::MOSInterface::ice_staticId(); - throw e; - } -} - -bool -AMOServer::operator==(const ::AMOServer::MOSInterface& l, const ::AMOServer::MOSInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AMOServer::operator!=(const ::AMOServer::MOSInterface& l, const ::AMOServer::MOSInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AMOServer::operator<(const ::AMOServer::MOSInterface& l, const ::AMOServer::MOSInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AMOServer::operator<=(const ::AMOServer::MOSInterface& l, const ::AMOServer::MOSInterface& r) -{ - return l < r || l == r; -} - -bool -AMOServer::operator>(const ::AMOServer::MOSInterface& l, const ::AMOServer::MOSInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -AMOServer::operator>=(const ::AMOServer::MOSInterface& l, const ::AMOServer::MOSInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/mos_perf_test.cpp.svn-base b/features/aliww/source/.svn/text-base/mos_perf_test.cpp.svn-base deleted file mode 100644 index cd76ea3..0000000 --- a/features/aliww/source/.svn/text-base/mos_perf_test.cpp.svn-base +++ /dev/null @@ -1,130 +0,0 @@ -#include "mos_perf_test.h" - -using namespace std; -using namespace Ice; -using namespace AMOServer; - -void* mos_init(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - mos_st *ap = (mos_st *)malloc(sizeof(mos_st)); - pVuser->verb = ap; - srand(time(0)); - create_transaction(pVuser,"MOS"); - - int status = 0; - Ice::CommunicatorPtr ic; - - try{ - ic = Ice::initialize(); - - Ice::ObjectPrx base = ic->stringToProxy("mosInterfaceAdapter:default -h 10.249.65.38 -p 40001"); - MOSInterfacePrx mos = MOSInterfacePrx::checkedCast(base); - if(!mos){ - throw "Invalid proxy"; - } - ap->mos = new MOSInterfacePrx(mos); - ap->ic = new Ice::CommunicatorPtr(ic); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* mos_getUserStatus(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - mos_st *ap = (mos_st *)pVuser->verb; - int status = 0; - MOSInterfacePrx mos = *(ap->mos); - - ::AMOServer::SICEUserIdSeq userList; - ::AMOServer::SICEMosStatusSeq mosStatusList; - - int user_size = 10, i = 0; - for(i = 0; i < user_size; i++){ - string user(select_param_ex(pVuser)); - userList.push_back(user); - } - - try{ - status = mos->getUserStatus(userList, mosStatusList); - if(status == 0) - success_transactionEx(pVuser,"MOS","TextPut Sucess."); - else{ - char str_tmp[32] = {0}; - sprintf(str_tmp,"getUserStatus:Call ret status is %d",status); - fail_transactionEx(pVuser,"MOS",str_tmp); - } - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* mos_getUserCount(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - mos_st *ap = (mos_st *)pVuser->verb; - int status = 0; - MOSInterfacePrx mos = *(ap->mos); - - short type = 3; - long arg1 = 1; - string arg2; - long count; - - try{ - status = mos->getUserCount(type, arg1, arg2, count); -/* - if(status == 0) - success_transactionEx(pVuser,"MOS","TextPut Sucess."); - else{ - char str_tmp[32] = {0}; - sprintf(str_tmp,"getUserStatus:Call ret status is %d",status); - fail_transactionEx(pVuser,"MOS",str_tmp); - } -*/ - cout << "Now user count: " << count << endl; - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* mos_end(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - mos_st *ap = (mos_st *)pVuser->verb; - int status = 0; - MOSInterfacePrx mos = *(ap->mos); - Ice::CommunicatorPtr ic = *(ap->ic); - - if(ic){ - try{ - ic->destroy(); - //delete(&ic); - //delete(&mos); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } - } -} - diff --git a/features/aliww/source/.svn/text-base/mpcsc_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/mpcsc_pack.cpp.svn-base deleted file mode 100644 index 3de266c..0000000 --- a/features/aliww/source/.svn/text-base/mpcsc_pack.cpp.svn-base +++ /dev/null @@ -1,1331 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: mpcsc_pack.cpp -// Date: 2011-01-30 12:50:22 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "mpcsc_pack.h" - -void CImReqCreatechatroom::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CREATECHATROOM; - m_scHead.PackData(strData); -} - -void CImReqCreatechatroom::PackBody(string& strData) -{ -} - -void CImReqCreatechatroom::PackData(string& strData, const string& strKey) -{ - PackHead(strData); -} - -PACKRETCODE CImReqCreatechatroom::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CImReqCreatechatroom::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - return PACK_RIGHT; -} - -void CImRspCreatechatroom::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CREATECHATROOM; - m_scHead.PackData(strData); -} - -void CImRspCreatechatroom::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_roomId; - (*this) << FT_STRING; - (*this) << m_password; - (*this) << FT_STRING; - (*this) << m_mpcsIp; - (*this) << FT_UINT16; - (*this) << m_port; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspCreatechatroom::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspCreatechatroom::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_roomId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_password; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_mpcsIp; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_port; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspCreatechatroom::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CMpcsReqJoinchatroom::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = MPCS_REQ_JOINCHATROOM; - m_scHead.PackData(strData); -} - -void CMpcsReqJoinchatroom::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_password; - (*this) << FT_STRING; - (*this) << m_version; - (*this) << FT_STRING; - (*this) << m_fromId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsReqJoinchatroom::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CMpcsReqJoinchatroom::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_password; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromId; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsReqJoinchatroom::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CMpcsRspJoinchatroom::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = MPCS_RSP_JOINCHATROOM; - m_scHead.PackData(strData); -} - -void CMpcsRspJoinchatroom::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_roomId; - (*this) << FT_UINT32; - (*this) << m_maxMember; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsRspJoinchatroom::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CMpcsRspJoinchatroom::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_roomId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_maxMember; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsRspJoinchatroom::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CMpcsReqExitchatroom::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = MPCS_REQ_EXITCHATROOM; - m_scHead.PackData(strData); -} - -void CMpcsReqExitchatroom::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_userId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsReqExitchatroom::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CMpcsReqExitchatroom::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsReqExitchatroom::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CMpcsRspExitchatroom::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = MPCS_RSP_EXITCHATROOM; - m_scHead.PackData(strData); -} - -void CMpcsRspExitchatroom::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_roomId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsRspExitchatroom::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CMpcsRspExitchatroom::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_roomId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsRspExitchatroom::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CMpcsReqGetchatroomusers::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = MPCS_REQ_GETCHATROOMUSERS; - m_scHead.PackData(strData); -} - -void CMpcsReqGetchatroomusers::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_userId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsReqGetchatroomusers::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CMpcsReqGetchatroomusers::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsReqGetchatroomusers::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CMpcsRspGetchatroomusers::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = MPCS_RSP_GETCHATROOMUSERS; - m_scHead.PackData(strData); -} - -void CMpcsRspGetchatroomusers::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_roomId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsRspGetchatroomusers::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CMpcsRspGetchatroomusers::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_roomId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsRspGetchatroomusers::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CMpcsReqSendMpcmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = MPCS_REQ_SEND_MPCMSG; - m_scHead.PackData(strData); -} - -void CMpcsReqSendMpcmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_targetId; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsReqSendMpcmsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CMpcsReqSendMpcmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_targetId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsReqSendMpcmsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CMpcsRspSendMpcmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = MPCS_RSP_SEND_MPCMSG; - m_scHead.PackData(strData); -} - -void CMpcsRspSendMpcmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_roomId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_targetId; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsRspSendMpcmsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CMpcsRspSendMpcmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_roomId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_targetId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsRspSendMpcmsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CMpcsNtfMpcmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = MPCS_NTF_MPCMSG; - m_scHead.PackData(strData); -} - -void CMpcsNtfMpcmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT32; - (*this) << m_roomId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_targetId; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsNtfMpcmsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CMpcsNtfMpcmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_roomId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_targetId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsNtfMpcmsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CMpcsNtfChatroomstatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = MPCS_NTF_CHATROOMSTATUS; - m_scHead.PackData(strData); -} - -void CMpcsNtfChatroomstatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_roomId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_userId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsNtfChatroomstatus::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CMpcsNtfChatroomstatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_roomId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsNtfChatroomstatus::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CMpcsNtfForcedisconnect::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = MPCS_NTF_FORCEDISCONNECT; - m_scHead.PackData(strData); -} - -void CMpcsNtfForcedisconnect::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_roomId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_remark; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsNtfForcedisconnect::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CMpcsNtfForcedisconnect::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_roomId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsNtfForcedisconnect::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - diff --git a/features/aliww/source/.svn/text-base/mpcss_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/mpcss_pack.cpp.svn-base deleted file mode 100644 index caea521..0000000 --- a/features/aliww/source/.svn/text-base/mpcss_pack.cpp.svn-base +++ /dev/null @@ -1,552 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: mpcss_pack.cpp -// Date: 2011-01-30 12:50:24 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "mpcss_pack.h" - -void CMpcsSsReqCreatechatroom::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = MPCS_SS_REQ_CREATECHATROOM; - m_ssHead.PackData(strData); -} - -void CMpcsSsReqCreatechatroom::PackBody(string& strData) -{ -} - -void CMpcsSsReqCreatechatroom::PackData(string& strData) -{ - PackHead(strData); -} - -PACKRETCODE CMpcsSsReqCreatechatroom::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CMpcsSsReqCreatechatroom::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CMpcsSsRspCreatechatroom::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = MPCS_SS_RSP_CREATECHATROOM; - m_ssHead.PackData(strData); -} - -void CMpcsSsRspCreatechatroom::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_roomId; - (*this) << FT_STRING; - (*this) << m_password; - (*this) << FT_STRING; - (*this) << m_mpcsIp; - (*this) << FT_UINT16; - (*this) << m_port; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsSsRspCreatechatroom::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CMpcsSsRspCreatechatroom::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_roomId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_password; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_mpcsIp; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_port; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsSsRspCreatechatroom::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CMpcsSsNtfExitchatroom::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = MPCS_SS_NTF_EXITCHATROOM; - m_ssHead.PackData(strData); -} - -void CMpcsSsNtfExitchatroom::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_VECTOR; - (*this) << FT_UINT32; - { - uint32_t nLen = m_roomList.size(); - (*this) << nLen; - VECTOR< uint32_t >::const_iterator itr; - for(itr = m_roomList.cbegin(); itr != m_roomList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsSsNtfExitchatroom::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CMpcsSsNtfExitchatroom::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_roomList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - uint32_t tmpVal; - (*this) >> tmpVal; - m_roomList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsSsNtfExitchatroom::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CMpcsSsReqTransmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = MPCS_SS_REQ_TRANSMSG; - m_ssHead.PackData(strData); -} - -void CMpcsSsReqTransmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_roomId; - (*this) << FT_INT32; - (*this) << m_fd; - (*this) << FT_STRING; - (*this) << m_packet; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsSsReqTransmsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CMpcsSsReqTransmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_roomId; - (*this) >> field; - if(field.m_baseType != FT_INT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fd; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_packet; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsSsReqTransmsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CMpcsSsRspTransmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = MPCS_SS_RSP_TRANSMSG; - m_ssHead.PackData(strData); -} - -void CMpcsSsRspTransmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_deskey; - (*this) << FT_STRING; - (*this) << m_packet; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsSsRspTransmsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CMpcsSsRspTransmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_deskey; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_packet; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsSsRspTransmsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CMpcsSsNtfForcedisconnect::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = MPCS_SS_NTF_FORCEDISCONNECT; - m_ssHead.PackData(strData); -} - -void CMpcsSsNtfForcedisconnect::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_userId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsSsNtfForcedisconnect::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CMpcsSsNtfForcedisconnect::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsSsNtfForcedisconnect::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CMpcsSsNtfRoomuserinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = MPCS_SS_NTF_ROOMUSERINFO; - m_ssHead.PackData(strData); -} - -void CMpcsSsNtfRoomuserinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT32; - (*this) << m_roomId; - (*this) << FT_INT32; - (*this) << m_fd; - (*this) << FT_STRING; - (*this) << m_version; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsSsNtfRoomuserinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CMpcsSsNtfRoomuserinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_roomId; - (*this) >> field; - if(field.m_baseType != FT_INT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fd; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsSsNtfRoomuserinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/.svn/text-base/msc_head.cpp.svn-base b/features/aliww/source/.svn/text-base/msc_head.cpp.svn-base deleted file mode 100644 index 99dc370..0000000 --- a/features/aliww/source/.svn/text-base/msc_head.cpp.svn-base +++ /dev/null @@ -1,56 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: msc_head.cpp -// Date: 2011-01-30 12:49:57 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "msc_head.h" - -void CMscHead::PackData(string& strData) -{ - try - { - ResetOutBuff(strData); - (*this) << m_starter; - (*this) << m_version; - (*this) << m_flag; - (*this) << m_cmd; - (*this) << m_seq; - (*this) << m_cc; - (*this) << m_len; - (*this) << m_reserved; -; - } - catch(std::exception&) - { - strData = ""; - } -} - -PACKRETCODE CMscHead::UnpackData(const string& strData) -{ - try - { - ResetInBuff(strData); - (*this) >> m_starter; - (*this) >> m_version; - (*this) >> m_flag; - (*this) >> m_cmd; - (*this) >> m_seq; - (*this) >> m_cc; - (*this) >> m_len; - (*this) >> m_reserved; -; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - diff --git a/features/aliww/source/.svn/text-base/ngsInterface.cpp.svn-base b/features/aliww/source/.svn/text-base/ngsInterface.cpp.svn-base deleted file mode 100644 index 6978281..0000000 --- a/features/aliww/source/.svn/text-base/ngsInterface.cpp.svn-base +++ /dev/null @@ -1,464 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `ngsInterface.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__NGSInterface__notifyOperationTip_name = "notifyOperationTip"; - -void -IceInternal::incRef(::AliIM::NGSInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::NGSInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::NGSInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::NGSInterface* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::NGSInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::NGSInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::NGSInterface; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::NGSInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIM::__addObject(const NGSInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const NGSInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const NGSInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(NGSInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::NGSInterface::notifyOperationTip(const ::std::string& uid, const ::std::string& cid, const ::std::string& message, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__NGSInterface__notifyOperationTip_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::NGSInterface* __del = dynamic_cast< ::IceDelegate::AliIM::NGSInterface*>(__delBase.get()); - return __del->notifyOperationTip(uid, cid, message, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::NGSInterface::ice_staticId() -{ - return ::AliIM::NGSInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::NGSInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::NGSInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::NGSInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::NGSInterface); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::NGSInterface& l, const ::IceProxy::AliIM::NGSInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::NGSInterface& l, const ::IceProxy::AliIM::NGSInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::NGSInterface& l, const ::IceProxy::AliIM::NGSInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::NGSInterface& l, const ::IceProxy::AliIM::NGSInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::NGSInterface& l, const ::IceProxy::AliIM::NGSInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::NGSInterface& l, const ::IceProxy::AliIM::NGSInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::NGSInterface::notifyOperationTip(const ::std::string& uid, const ::std::string& cid, const ::std::string& message, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__NGSInterface__notifyOperationTip_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - __os->write(message); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::NGSInterface::notifyOperationTip(const ::std::string& uid, const ::std::string& cid, const ::std::string& message, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__NGSInterface__notifyOperationTip_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::NGSInterface* __servant = dynamic_cast< ::AliIM::NGSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->notifyOperationTip(uid, cid, message, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::NGSInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__NGSInterface_ids[2] = -{ - "::AliIM::NGSInterface", - "::Ice::Object" -}; - -bool -AliIM::NGSInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__NGSInterface_ids, __AliIM__NGSInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::NGSInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__NGSInterface_ids[0], &__AliIM__NGSInterface_ids[2]); -} - -const ::std::string& -AliIM::NGSInterface::ice_id(const ::Ice::Current&) const -{ - return __AliIM__NGSInterface_ids[0]; -} - -const ::std::string& -AliIM::NGSInterface::ice_staticId() -{ - return __AliIM__NGSInterface_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::NGSInterface::___notifyOperationTip(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string cid; - ::std::string message; - __is->read(uid); - __is->read(cid); - __is->read(message); - ::Ice::Int __ret = notifyOperationTip(uid, cid, message, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__NGSInterface_all[] = -{ - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "notifyOperationTip" -}; - -::IceInternal::DispatchStatus -AliIM::NGSInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__NGSInterface_all, __AliIM__NGSInterface_all + 5, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__NGSInterface_all) - { - case 0: - { - return ___ice_id(in, current); - } - case 1: - { - return ___ice_ids(in, current); - } - case 2: - { - return ___ice_isA(in, current); - } - case 3: - { - return ___ice_ping(in, current); - } - case 4: - { - return ___notifyOperationTip(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::NGSInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::NGSInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::NGSInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::NGSInterface was not generated with stream support"; - throw ex; -} - -void -AliIM::NGSInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::NGSInterface was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__NGSInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::NGSInterfacePtr* p = static_cast< ::AliIM::NGSInterfacePtr*>(__addr); - assert(p); - *p = ::AliIM::NGSInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::NGSInterface::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::NGSInterface& l, const ::AliIM::NGSInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::NGSInterface& l, const ::AliIM::NGSInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::NGSInterface& l, const ::AliIM::NGSInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::NGSInterface& l, const ::AliIM::NGSInterface& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::NGSInterface& l, const ::AliIM::NGSInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::NGSInterface& l, const ::AliIM::NGSInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/notifycontact.cpp.svn-base b/features/aliww/source/.svn/text-base/notifycontact.cpp.svn-base deleted file mode 100644 index 3a1eaa1..0000000 --- a/features/aliww/source/.svn/text-base/notifycontact.cpp.svn-base +++ /dev/null @@ -1,592 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `notifycontact.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__NotifyContactInterface__NotifyDelContact_name = "NotifyDelContact"; - -static const ::std::string __AliIM__NotifyContactInterface__NotifyAddContact_name = "NotifyAddContact"; - -void -IceInternal::incRef(::AliIM::NotifyContactInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::NotifyContactInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::NotifyContactInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::NotifyContactInterface* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::NotifyContactInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::NotifyContactInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::NotifyContactInterface; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::NotifyContactInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIM::__addObject(const NotifyContactInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const NotifyContactInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const NotifyContactInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(NotifyContactInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::NotifyContactInterface::NotifyDelContact(const ::std::string& loginId, const ::std::string& contactId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__NotifyContactInterface__NotifyDelContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::NotifyContactInterface* __del = dynamic_cast< ::IceDelegate::AliIM::NotifyContactInterface*>(__delBase.get()); - return __del->NotifyDelContact(loginId, contactId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::NotifyContactInterface::NotifyAddContact(const ::std::string& loginId, const ::std::string& contactId, const ::std::string& groupName, ::Ice::Int groupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__NotifyContactInterface__NotifyAddContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::NotifyContactInterface* __del = dynamic_cast< ::IceDelegate::AliIM::NotifyContactInterface*>(__delBase.get()); - return __del->NotifyAddContact(loginId, contactId, groupName, groupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::NotifyContactInterface::ice_staticId() -{ - return ::AliIM::NotifyContactInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::NotifyContactInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::NotifyContactInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::NotifyContactInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::NotifyContactInterface); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::NotifyContactInterface& l, const ::IceProxy::AliIM::NotifyContactInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::NotifyContactInterface& l, const ::IceProxy::AliIM::NotifyContactInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::NotifyContactInterface& l, const ::IceProxy::AliIM::NotifyContactInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::NotifyContactInterface& l, const ::IceProxy::AliIM::NotifyContactInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::NotifyContactInterface& l, const ::IceProxy::AliIM::NotifyContactInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::NotifyContactInterface& l, const ::IceProxy::AliIM::NotifyContactInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::NotifyContactInterface::NotifyDelContact(const ::std::string& loginId, const ::std::string& contactId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__NotifyContactInterface__NotifyDelContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::NotifyContactInterface::NotifyAddContact(const ::std::string& loginId, const ::std::string& contactId, const ::std::string& groupName, ::Ice::Int groupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__NotifyContactInterface__NotifyAddContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(contactId); - __os->write(groupName); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::NotifyContactInterface::NotifyDelContact(const ::std::string& loginId, const ::std::string& contactId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__NotifyContactInterface__NotifyDelContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::NotifyContactInterface* __servant = dynamic_cast< ::AliIM::NotifyContactInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->NotifyDelContact(loginId, contactId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::NotifyContactInterface::NotifyAddContact(const ::std::string& loginId, const ::std::string& contactId, const ::std::string& groupName, ::Ice::Int groupId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__NotifyContactInterface__NotifyAddContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::NotifyContactInterface* __servant = dynamic_cast< ::AliIM::NotifyContactInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->NotifyAddContact(loginId, contactId, groupName, groupId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::NotifyContactInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__NotifyContactInterface_ids[2] = -{ - "::AliIM::NotifyContactInterface", - "::Ice::Object" -}; - -bool -AliIM::NotifyContactInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__NotifyContactInterface_ids, __AliIM__NotifyContactInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::NotifyContactInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__NotifyContactInterface_ids[0], &__AliIM__NotifyContactInterface_ids[2]); -} - -const ::std::string& -AliIM::NotifyContactInterface::ice_id(const ::Ice::Current&) const -{ - return __AliIM__NotifyContactInterface_ids[0]; -} - -const ::std::string& -AliIM::NotifyContactInterface::ice_staticId() -{ - return __AliIM__NotifyContactInterface_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::NotifyContactInterface::___NotifyDelContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::std::string contactId; - __is->read(loginId); - __is->read(contactId); - ::Ice::Int __ret = NotifyDelContact(loginId, contactId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::NotifyContactInterface::___NotifyAddContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::std::string contactId; - ::std::string groupName; - ::Ice::Int groupId; - __is->read(loginId); - __is->read(contactId); - __is->read(groupName); - __is->read(groupId); - ::Ice::Int __ret = NotifyAddContact(loginId, contactId, groupName, groupId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__NotifyContactInterface_all[] = -{ - "NotifyAddContact", - "NotifyDelContact", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -AliIM::NotifyContactInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__NotifyContactInterface_all, __AliIM__NotifyContactInterface_all + 6, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__NotifyContactInterface_all) - { - case 0: - { - return ___NotifyAddContact(in, current); - } - case 1: - { - return ___NotifyDelContact(in, current); - } - case 2: - { - return ___ice_id(in, current); - } - case 3: - { - return ___ice_ids(in, current); - } - case 4: - { - return ___ice_isA(in, current); - } - case 5: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::NotifyContactInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::NotifyContactInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::NotifyContactInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::NotifyContactInterface was not generated with stream support"; - throw ex; -} - -void -AliIM::NotifyContactInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::NotifyContactInterface was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__NotifyContactInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::NotifyContactInterfacePtr* p = static_cast< ::AliIM::NotifyContactInterfacePtr*>(__addr); - assert(p); - *p = ::AliIM::NotifyContactInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::NotifyContactInterface::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::NotifyContactInterface& l, const ::AliIM::NotifyContactInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::NotifyContactInterface& l, const ::AliIM::NotifyContactInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::NotifyContactInterface& l, const ::AliIM::NotifyContactInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::NotifyContactInterface& l, const ::AliIM::NotifyContactInterface& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::NotifyContactInterface& l, const ::AliIM::NotifyContactInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::NotifyContactInterface& l, const ::AliIM::NotifyContactInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/paramUtil.cpp.svn-base b/features/aliww/source/.svn/text-base/paramUtil.cpp.svn-base deleted file mode 100644 index 560ac8c..0000000 --- a/features/aliww/source/.svn/text-base/paramUtil.cpp.svn-base +++ /dev/null @@ -1,221 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: paramUtil.cpp - * - * Description: - * - * Version: 1.0 - * Created: 2011年01月10日 15时52分56秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - / - */ -#include -#include -#include - -/** - * @brief init_proc_param - * split the file specified by filename into pieces of file, called by main process. - * each file contains the parameters needed for a process. - * - * @param concurrence - * number of vusers need to generate, specified by user. - * - * @param group_capacity - * number of threads contained in a process, specified by benchmark. - * - * @param filename - * name of the file contains all parameters. - */ -void init_proc_param(int concurrence, int group_capacity, char *filename) -{ - char temp_param_buf[MAX_PARAM_SIZE]; - FILE *fin, *fout; - fin = fopen(filename, "r"); - int line_num = 0; - char group_filename[100] = {0}; - while(!feof(fin)) - { - fgets(temp_param_buf, MAX_PARAM_SIZE, fin); - if(strlen(temp_param_buf) != 0) - { - line_num++; - temp_param_buf[0] = '\0'; - } - } - rewind(fin); - - int group_nums = concurrence/group_capacity +(concurrence%group_capacity == 0? 0:1); - int concurrence_mod = line_num%concurrence; - int currence_num = line_num/concurrence;//parameter number every vuser could have - int i; - for(i=0; i < concurrence/group_capacity * group_capacity; i++) - { - if(i%group_capacity == 0) - { - sprintf(group_filename, "temp/group%d.dat",i/group_capacity); - fout = fopen(group_filename, "w"); - } - for(int j = 0; j < currence_num; ) - { - fgets(temp_param_buf, MAX_PARAM_SIZE, fin); - if(strlen(temp_param_buf) != 0) - { - fputs(temp_param_buf, fout); - j++; - } - } - if(i < concurrence_mod) - { - fgets(temp_param_buf, MAX_PARAM_SIZE, fin); - if(strlen(temp_param_buf) != 0) - { - fputs(temp_param_buf, fout); - } - } - if((i+1)%group_capacity == 0) - { - fflush(fout); - fclose(fout); - } - } - - if(concurrence%group_capacity > 0) - { - sprintf(group_filename,"temp/group%d.dat",group_nums-1); - fout = fopen(group_filename,"w"); - while(!feof(fin)) - { - fgets(temp_param_buf, MAX_PARAM_SIZE, fin); - if(strlen(temp_param_buf) != 0) - { - fputs(temp_param_buf, fout); - temp_param_buf[0] = '\0'; - } - } - fflush(fout); - fclose(fout); - - } - fclose(fin);//close fin - -} - - - -/** - * @brief init_param - * initialize the process parameters.They are linked by list. - * - * @param group - * the process's group ID. - * - * @param pprocparam - * pointor of the proc_param_st. - */ -void init_param(int group, proc_param_st_t *pprocparam) -{ - char group_filename[100]; - char temp_param_buf[MAX_PARAM_SIZE]; - if(pprocparam->filename == NULL) - { - sprintf(group_filename, "temp/group%d.dat",group); - }else - { - strcpy(group_filename, pprocparam->filename); - } - printf("group_filename: %s \n",group_filename); - FILE *fin = fopen(group_filename, "r"); - INIT_LIST_HEAD(&pprocparam->params); - pprocparam->size = 0; - - while(!feof(fin)) - { - - fgets(temp_param_buf, MAX_PARAM_SIZE, fin); - int param_length = strlen(temp_param_buf); - if(param_length > 0) - { - param_st_t *pparam = (param_st_t*)malloc(sizeof(param_st_t)); - pparam->param = (char*)malloc(param_length+1); - strcpy(pparam->param , temp_param_buf); - list_add_tail(&pparam->list, &pprocparam->params); - (pprocparam->size)++; - } - - } - fclose(fin); -} - - - - -/* * - * @brief select_param - * select a parameter for a vuser. - * - * @param pprocparam - * pointor of the proc_param_st. - * - * @param vuser - * pointor of a vuser struct.We need vuser's ID and curIteNo to calculate parameter index. - * the char* pointor of the parameter selected. - */ -char* select_param(proc_param_st_t *pparamList, vuser_node_st_t *vuser) -{ - switch(pparamList->pm.main_type) - { - case 1: - { - list_head *pos; - int param_num = pparamList->size; - int user_num = vuser->b->num; - int offset = param_num / user_num; - int mod = param_num % user_num; - int user_id = vuser->id; - int index; - - if(user_id >= mod) - { - index = user_id * (offset) + mod + (vuser->curIteNo)%(offset); - } - else - { - index = (offset + 1) * user_id + (vuser->curIteNo)%(offset+1); - } - //reach to the index in the list - - pos = &(pparamList->params); - for(int i = 0;i <= index;i++)//important:the head node is empty,so i <= index - { - pos = pos->next; - } - param_st_t *target = container_of(pos, param_st_t, list); - - return target->param; - - } - case 2: - { - break; - } - case 3: - { - break; - } - default: - { - printf("parameter main type error :%d",pparamList->pm.main_type); - return NULL; - } - - } -} - diff --git a/features/aliww/source/.svn/text-base/recentCnt.cpp.svn-base b/features/aliww/source/.svn/text-base/recentCnt.cpp.svn-base deleted file mode 100644 index 8993de4..0000000 --- a/features/aliww/source/.svn/text-base/recentCnt.cpp.svn-base +++ /dev/null @@ -1,874 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `recentCnt.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__RecentCntService__updateRcnt_name = "updateRcnt"; - -static const ::std::string __AliIM__RecentCntService__getRcntList_name = "getRcntList"; - -static const ::std::string __AliIM__RecentCntService__getUserInfo_name = "getUserInfo"; - -static const ::std::string __AliIM__RecentCntService__getRcntCount_name = "getRcntCount"; - -void -IceInternal::incRef(::AliIM::RecentCntService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::RecentCntService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::RecentCntService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::RecentCntService* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::RecentCntServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::RecentCntServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::RecentCntService; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::RecentCntServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIM::__addObject(const RecentCntServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const RecentCntServicePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const RecentCntServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(RecentCntServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::RecentCntService::updateRcnt(const ::std::string& loginId, ::Ice::Int pretimestamp, ::Ice::Int curtimestamp, const ::std::string& pcid, ::Ice::Int ip, const ::AliIM::SICERecentCntSeq& rcntlist, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__RecentCntService__updateRcnt_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::RecentCntService* __del = dynamic_cast< ::IceDelegate::AliIM::RecentCntService*>(__delBase.get()); - return __del->updateRcnt(loginId, pretimestamp, curtimestamp, pcid, ip, rcntlist, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::RecentCntService::getRcntList(const ::std::string& loginId, ::Ice::Int num, const ::std::string& orderby, ::AliIM::SICERecentCntSeq& rcntlist, ::Ice::Int& timestamp, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__RecentCntService__getRcntList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::RecentCntService* __del = dynamic_cast< ::IceDelegate::AliIM::RecentCntService*>(__delBase.get()); - return __del->getRcntList(loginId, num, orderby, rcntlist, timestamp, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::RecentCntService::getUserInfo(const ::std::string& loginId, ::std::string& pcid, ::Ice::Int& ip, ::Ice::Int& timestamp, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__RecentCntService__getUserInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::RecentCntService* __del = dynamic_cast< ::IceDelegate::AliIM::RecentCntService*>(__delBase.get()); - return __del->getUserInfo(loginId, pcid, ip, timestamp, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::RecentCntService::getRcntCount(const ::std::string& loginId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__RecentCntService__getRcntCount_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::RecentCntService* __del = dynamic_cast< ::IceDelegate::AliIM::RecentCntService*>(__delBase.get()); - return __del->getRcntCount(loginId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::RecentCntService::ice_staticId() -{ - return ::AliIM::RecentCntService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::RecentCntService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::RecentCntService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::RecentCntService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::RecentCntService); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::RecentCntService& l, const ::IceProxy::AliIM::RecentCntService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::RecentCntService& l, const ::IceProxy::AliIM::RecentCntService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::RecentCntService& l, const ::IceProxy::AliIM::RecentCntService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::RecentCntService& l, const ::IceProxy::AliIM::RecentCntService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::RecentCntService& l, const ::IceProxy::AliIM::RecentCntService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::RecentCntService& l, const ::IceProxy::AliIM::RecentCntService& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::RecentCntService::updateRcnt(const ::std::string& loginId, ::Ice::Int pretimestamp, ::Ice::Int curtimestamp, const ::std::string& pcid, ::Ice::Int ip, const ::AliIM::SICERecentCntSeq& rcntlist, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__RecentCntService__updateRcnt_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(pretimestamp); - __os->write(curtimestamp); - __os->write(pcid); - __os->write(ip); - if(rcntlist.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIM::__write(__os, &rcntlist[0], &rcntlist[0] + rcntlist.size(), ::AliIM::__U__SICERecentCntSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::RecentCntService::getRcntList(const ::std::string& loginId, ::Ice::Int num, const ::std::string& orderby, ::AliIM::SICERecentCntSeq& rcntlist, ::Ice::Int& timestamp, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__RecentCntService__getRcntList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(num); - __os->write(orderby); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIM::__read(__is, rcntlist, ::AliIM::__U__SICERecentCntSeq()); - __is->read(timestamp); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::RecentCntService::getUserInfo(const ::std::string& loginId, ::std::string& pcid, ::Ice::Int& ip, ::Ice::Int& timestamp, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__RecentCntService__getUserInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(pcid); - __is->read(ip); - __is->read(timestamp); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::RecentCntService::getRcntCount(const ::std::string& loginId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__RecentCntService__getRcntCount_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::RecentCntService::updateRcnt(const ::std::string& loginId, ::Ice::Int pretimestamp, ::Ice::Int curtimestamp, const ::std::string& pcid, ::Ice::Int ip, const ::AliIM::SICERecentCntSeq& rcntlist, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__RecentCntService__updateRcnt_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::RecentCntService* __servant = dynamic_cast< ::AliIM::RecentCntService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateRcnt(loginId, pretimestamp, curtimestamp, pcid, ip, rcntlist, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::RecentCntService::getRcntList(const ::std::string& loginId, ::Ice::Int num, const ::std::string& orderby, ::AliIM::SICERecentCntSeq& rcntlist, ::Ice::Int& timestamp, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__RecentCntService__getRcntList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::RecentCntService* __servant = dynamic_cast< ::AliIM::RecentCntService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getRcntList(loginId, num, orderby, rcntlist, timestamp, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::RecentCntService::getUserInfo(const ::std::string& loginId, ::std::string& pcid, ::Ice::Int& ip, ::Ice::Int& timestamp, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__RecentCntService__getUserInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::RecentCntService* __servant = dynamic_cast< ::AliIM::RecentCntService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserInfo(loginId, pcid, ip, timestamp, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::RecentCntService::getRcntCount(const ::std::string& loginId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__RecentCntService__getRcntCount_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::RecentCntService* __servant = dynamic_cast< ::AliIM::RecentCntService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getRcntCount(loginId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::RecentCntService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__RecentCntService_ids[2] = -{ - "::AliIM::RecentCntService", - "::Ice::Object" -}; - -bool -AliIM::RecentCntService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__RecentCntService_ids, __AliIM__RecentCntService_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::RecentCntService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__RecentCntService_ids[0], &__AliIM__RecentCntService_ids[2]); -} - -const ::std::string& -AliIM::RecentCntService::ice_id(const ::Ice::Current&) const -{ - return __AliIM__RecentCntService_ids[0]; -} - -const ::std::string& -AliIM::RecentCntService::ice_staticId() -{ - return __AliIM__RecentCntService_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::RecentCntService::___updateRcnt(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::Ice::Int pretimestamp; - ::Ice::Int curtimestamp; - ::std::string pcid; - ::Ice::Int ip; - ::AliIM::SICERecentCntSeq rcntlist; - __is->read(loginId); - __is->read(pretimestamp); - __is->read(curtimestamp); - __is->read(pcid); - __is->read(ip); - ::AliIM::__read(__is, rcntlist, ::AliIM::__U__SICERecentCntSeq()); - ::Ice::Int __ret = updateRcnt(loginId, pretimestamp, curtimestamp, pcid, ip, rcntlist, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::RecentCntService::___getRcntList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::Ice::Int num; - ::std::string orderby; - __is->read(loginId); - __is->read(num); - __is->read(orderby); - ::AliIM::SICERecentCntSeq rcntlist; - ::Ice::Int timestamp; - ::Ice::Int __ret = getRcntList(loginId, num, orderby, rcntlist, timestamp, __current); - if(rcntlist.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIM::__write(__os, &rcntlist[0], &rcntlist[0] + rcntlist.size(), ::AliIM::__U__SICERecentCntSeq()); - } - __os->write(timestamp); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::RecentCntService::___getUserInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - __is->read(loginId); - ::std::string pcid; - ::Ice::Int ip; - ::Ice::Int timestamp; - ::Ice::Int __ret = getUserInfo(loginId, pcid, ip, timestamp, __current); - __os->write(pcid); - __os->write(ip); - __os->write(timestamp); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::RecentCntService::___getRcntCount(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - __is->read(loginId); - ::Ice::Int __ret = getRcntCount(loginId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__RecentCntService_all[] = -{ - "getRcntCount", - "getRcntList", - "getUserInfo", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "updateRcnt" -}; - -::IceInternal::DispatchStatus -AliIM::RecentCntService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__RecentCntService_all, __AliIM__RecentCntService_all + 8, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__RecentCntService_all) - { - case 0: - { - return ___getRcntCount(in, current); - } - case 1: - { - return ___getRcntList(in, current); - } - case 2: - { - return ___getUserInfo(in, current); - } - case 3: - { - return ___ice_id(in, current); - } - case 4: - { - return ___ice_ids(in, current); - } - case 5: - { - return ___ice_isA(in, current); - } - case 6: - { - return ___ice_ping(in, current); - } - case 7: - { - return ___updateRcnt(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::RecentCntService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::RecentCntService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::RecentCntService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::RecentCntService was not generated with stream support"; - throw ex; -} - -void -AliIM::RecentCntService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::RecentCntService was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__RecentCntServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::RecentCntServicePtr* p = static_cast< ::AliIM::RecentCntServicePtr*>(__addr); - assert(p); - *p = ::AliIM::RecentCntServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::RecentCntService::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::RecentCntService& l, const ::AliIM::RecentCntService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::RecentCntService& l, const ::AliIM::RecentCntService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::RecentCntService& l, const ::AliIM::RecentCntService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::RecentCntService& l, const ::AliIM::RecentCntService& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::RecentCntService& l, const ::AliIM::RecentCntService& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::RecentCntService& l, const ::AliIM::RecentCntService& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/recentCntCache.cpp.svn-base b/features/aliww/source/.svn/text-base/recentCntCache.cpp.svn-base deleted file mode 100644 index 9baef1d..0000000 --- a/features/aliww/source/.svn/text-base/recentCntCache.cpp.svn-base +++ /dev/null @@ -1,618 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `recentCntCache.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__RecentCntCacheService__updateRcnt_name = "updateRcnt"; - -static const ::std::string __AliIM__RecentCntCacheService__getRcntList_name = "getRcntList"; - -void -IceInternal::incRef(::AliIM::RecentCntCacheService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::RecentCntCacheService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::RecentCntCacheService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::RecentCntCacheService* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::RecentCntCacheServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::RecentCntCacheServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::RecentCntCacheService; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::RecentCntCacheServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIM::__addObject(const RecentCntCacheServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const RecentCntCacheServicePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const RecentCntCacheServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(RecentCntCacheServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::RecentCntCacheService::updateRcnt(const ::std::string& loginId, ::Ice::Int curtimestamp, const ::std::string& pcid, ::Ice::Int ip, const ::AliIM::SICERecentCntSeq& rcntlist, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__RecentCntCacheService__updateRcnt_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::RecentCntCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::RecentCntCacheService*>(__delBase.get()); - return __del->updateRcnt(loginId, curtimestamp, pcid, ip, rcntlist, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::RecentCntCacheService::getRcntList(const ::std::string& loginId, ::Ice::Int timestamp, ::AliIM::SICERecentCntSeq& rcntlist, ::Ice::Int& ip, ::std::string& pcid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__RecentCntCacheService__getRcntList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::RecentCntCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::RecentCntCacheService*>(__delBase.get()); - return __del->getRcntList(loginId, timestamp, rcntlist, ip, pcid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::RecentCntCacheService::ice_staticId() -{ - return ::AliIM::RecentCntCacheService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::RecentCntCacheService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::RecentCntCacheService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::RecentCntCacheService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::RecentCntCacheService); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::RecentCntCacheService& l, const ::IceProxy::AliIM::RecentCntCacheService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::RecentCntCacheService& l, const ::IceProxy::AliIM::RecentCntCacheService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::RecentCntCacheService& l, const ::IceProxy::AliIM::RecentCntCacheService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::RecentCntCacheService& l, const ::IceProxy::AliIM::RecentCntCacheService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::RecentCntCacheService& l, const ::IceProxy::AliIM::RecentCntCacheService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::RecentCntCacheService& l, const ::IceProxy::AliIM::RecentCntCacheService& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::RecentCntCacheService::updateRcnt(const ::std::string& loginId, ::Ice::Int curtimestamp, const ::std::string& pcid, ::Ice::Int ip, const ::AliIM::SICERecentCntSeq& rcntlist, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__RecentCntCacheService__updateRcnt_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(curtimestamp); - __os->write(pcid); - __os->write(ip); - if(rcntlist.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIM::__write(__os, &rcntlist[0], &rcntlist[0] + rcntlist.size(), ::AliIM::__U__SICERecentCntSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::RecentCntCacheService::getRcntList(const ::std::string& loginId, ::Ice::Int timestamp, ::AliIM::SICERecentCntSeq& rcntlist, ::Ice::Int& ip, ::std::string& pcid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__RecentCntCacheService__getRcntList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(timestamp); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIM::__read(__is, rcntlist, ::AliIM::__U__SICERecentCntSeq()); - __is->read(ip); - __is->read(pcid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::RecentCntCacheService::updateRcnt(const ::std::string& loginId, ::Ice::Int curtimestamp, const ::std::string& pcid, ::Ice::Int ip, const ::AliIM::SICERecentCntSeq& rcntlist, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__RecentCntCacheService__updateRcnt_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::RecentCntCacheService* __servant = dynamic_cast< ::AliIM::RecentCntCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateRcnt(loginId, curtimestamp, pcid, ip, rcntlist, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::RecentCntCacheService::getRcntList(const ::std::string& loginId, ::Ice::Int timestamp, ::AliIM::SICERecentCntSeq& rcntlist, ::Ice::Int& ip, ::std::string& pcid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__RecentCntCacheService__getRcntList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::RecentCntCacheService* __servant = dynamic_cast< ::AliIM::RecentCntCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getRcntList(loginId, timestamp, rcntlist, ip, pcid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::RecentCntCacheService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__RecentCntCacheService_ids[2] = -{ - "::AliIM::RecentCntCacheService", - "::Ice::Object" -}; - -bool -AliIM::RecentCntCacheService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__RecentCntCacheService_ids, __AliIM__RecentCntCacheService_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::RecentCntCacheService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__RecentCntCacheService_ids[0], &__AliIM__RecentCntCacheService_ids[2]); -} - -const ::std::string& -AliIM::RecentCntCacheService::ice_id(const ::Ice::Current&) const -{ - return __AliIM__RecentCntCacheService_ids[0]; -} - -const ::std::string& -AliIM::RecentCntCacheService::ice_staticId() -{ - return __AliIM__RecentCntCacheService_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::RecentCntCacheService::___updateRcnt(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::Ice::Int curtimestamp; - ::std::string pcid; - ::Ice::Int ip; - ::AliIM::SICERecentCntSeq rcntlist; - __is->read(loginId); - __is->read(curtimestamp); - __is->read(pcid); - __is->read(ip); - ::AliIM::__read(__is, rcntlist, ::AliIM::__U__SICERecentCntSeq()); - ::Ice::Int __ret = updateRcnt(loginId, curtimestamp, pcid, ip, rcntlist, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::RecentCntCacheService::___getRcntList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::Ice::Int timestamp; - __is->read(loginId); - __is->read(timestamp); - ::AliIM::SICERecentCntSeq rcntlist; - ::Ice::Int ip; - ::std::string pcid; - ::Ice::Int __ret = getRcntList(loginId, timestamp, rcntlist, ip, pcid, __current); - if(rcntlist.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIM::__write(__os, &rcntlist[0], &rcntlist[0] + rcntlist.size(), ::AliIM::__U__SICERecentCntSeq()); - } - __os->write(ip); - __os->write(pcid); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__RecentCntCacheService_all[] = -{ - "getRcntList", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "updateRcnt" -}; - -::IceInternal::DispatchStatus -AliIM::RecentCntCacheService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__RecentCntCacheService_all, __AliIM__RecentCntCacheService_all + 6, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__RecentCntCacheService_all) - { - case 0: - { - return ___getRcntList(in, current); - } - case 1: - { - return ___ice_id(in, current); - } - case 2: - { - return ___ice_ids(in, current); - } - case 3: - { - return ___ice_isA(in, current); - } - case 4: - { - return ___ice_ping(in, current); - } - case 5: - { - return ___updateRcnt(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::RecentCntCacheService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::RecentCntCacheService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::RecentCntCacheService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::RecentCntCacheService was not generated with stream support"; - throw ex; -} - -void -AliIM::RecentCntCacheService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::RecentCntCacheService was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__RecentCntCacheServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::RecentCntCacheServicePtr* p = static_cast< ::AliIM::RecentCntCacheServicePtr*>(__addr); - assert(p); - *p = ::AliIM::RecentCntCacheServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::RecentCntCacheService::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::RecentCntCacheService& l, const ::AliIM::RecentCntCacheService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::RecentCntCacheService& l, const ::AliIM::RecentCntCacheService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::RecentCntCacheService& l, const ::AliIM::RecentCntCacheService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::RecentCntCacheService& l, const ::AliIM::RecentCntCacheService& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::RecentCntCacheService& l, const ::AliIM::RecentCntCacheService& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::RecentCntCacheService& l, const ::AliIM::RecentCntCacheService& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/recentCntdatadefine.cpp.svn-base b/features/aliww/source/.svn/text-base/recentCntdatadefine.cpp.svn-base deleted file mode 100644 index 3eed7b3..0000000 --- a/features/aliww/source/.svn/text-base/recentCntdatadefine.cpp.svn-base +++ /dev/null @@ -1,190 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `recentCntdatadefine.ice' - -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -bool -AliIM::SICERecentCnt::operator==(const SICERecentCnt& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIM::SICERecentCnt::operator!=(const SICERecentCnt& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(contactId != __rhs.contactId) - { - return true; - } - if(cntmsgSnd != __rhs.cntmsgSnd) - { - return true; - } - if(cntmsgRcv != __rhs.cntmsgRcv) - { - return true; - } - if(validTime != __rhs.validTime) - { - return true; - } - if(sndflag != __rhs.sndflag) - { - return true; - } - if(revflag != __rhs.revflag) - { - return true; - } - if(strangerflag != __rhs.strangerflag) - { - return true; - } - return false; -} - -bool -AliIM::SICERecentCnt::operator<(const SICERecentCnt& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(contactId < __rhs.contactId) - { - return true; - } - else if(__rhs.contactId < contactId) - { - return false; - } - if(cntmsgSnd < __rhs.cntmsgSnd) - { - return true; - } - else if(__rhs.cntmsgSnd < cntmsgSnd) - { - return false; - } - if(cntmsgRcv < __rhs.cntmsgRcv) - { - return true; - } - else if(__rhs.cntmsgRcv < cntmsgRcv) - { - return false; - } - if(validTime < __rhs.validTime) - { - return true; - } - else if(__rhs.validTime < validTime) - { - return false; - } - if(sndflag < __rhs.sndflag) - { - return true; - } - else if(__rhs.sndflag < sndflag) - { - return false; - } - if(revflag < __rhs.revflag) - { - return true; - } - else if(__rhs.revflag < revflag) - { - return false; - } - if(strangerflag < __rhs.strangerflag) - { - return true; - } - else if(__rhs.strangerflag < strangerflag) - { - return false; - } - return false; -} - -void -AliIM::SICERecentCnt::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(contactId); - __os->write(cntmsgSnd); - __os->write(cntmsgRcv); - __os->write(validTime); - __os->write(sndflag); - __os->write(revflag); - __os->write(strangerflag); -} - -void -AliIM::SICERecentCnt::__read(::IceInternal::BasicStream* __is) -{ - __is->read(contactId); - __is->read(cntmsgSnd); - __is->read(cntmsgRcv); - __is->read(validTime); - __is->read(sndflag); - __is->read(revflag); - __is->read(strangerflag); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::SICERecentCnt* begin, const ::AliIM::SICERecentCnt* end, ::AliIM::__U__SICERecentCntSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::SICERecentCntSeq& v, ::AliIM::__U__SICERecentCntSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 37); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} diff --git a/features/aliww/source/.svn/text-base/recentContactExternal.cpp.svn-base b/features/aliww/source/.svn/text-base/recentContactExternal.cpp.svn-base deleted file mode 100644 index e7d125d..0000000 --- a/features/aliww/source/.svn/text-base/recentContactExternal.cpp.svn-base +++ /dev/null @@ -1,473 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `recentContactExternal.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__IRecentContactExternal__addRecentContact_name = "addRecentContact"; - -void -IceInternal::incRef(::AliIM::IRecentContactExternal* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::IRecentContactExternal* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::IRecentContactExternal* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::IRecentContactExternal* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::IRecentContactExternalPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::IRecentContactExternalPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::IRecentContactExternal; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::IRecentContactExternalPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIM::__addObject(const IRecentContactExternalPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const IRecentContactExternalPtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const IRecentContactExternalPtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(IRecentContactExternalPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::IRecentContactExternal::addRecentContact(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& loginId, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int optime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IRecentContactExternal__addRecentContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IRecentContactExternal* __del = dynamic_cast< ::IceDelegate::AliIM::IRecentContactExternal*>(__delBase.get()); - return __del->addRecentContact(strCaller, strServiceType, loginId, contactId, type, optime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::IRecentContactExternal::ice_staticId() -{ - return ::AliIM::IRecentContactExternal::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::IRecentContactExternal::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::IRecentContactExternal); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::IRecentContactExternal::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::IRecentContactExternal); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::IRecentContactExternal& l, const ::IceProxy::AliIM::IRecentContactExternal& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::IRecentContactExternal& l, const ::IceProxy::AliIM::IRecentContactExternal& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::IRecentContactExternal& l, const ::IceProxy::AliIM::IRecentContactExternal& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::IRecentContactExternal& l, const ::IceProxy::AliIM::IRecentContactExternal& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::IRecentContactExternal& l, const ::IceProxy::AliIM::IRecentContactExternal& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::IRecentContactExternal& l, const ::IceProxy::AliIM::IRecentContactExternal& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::IRecentContactExternal::addRecentContact(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& loginId, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int optime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IRecentContactExternal__addRecentContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(strCaller); - __os->write(strServiceType); - __os->write(loginId); - __os->write(contactId); - __os->write(type); - __os->write(optime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::IRecentContactExternal::addRecentContact(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& loginId, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int optime, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IRecentContactExternal__addRecentContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IRecentContactExternal* __servant = dynamic_cast< ::AliIM::IRecentContactExternal*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->addRecentContact(strCaller, strServiceType, loginId, contactId, type, optime, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::IRecentContactExternal::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__IRecentContactExternal_ids[2] = -{ - "::AliIM::IRecentContactExternal", - "::Ice::Object" -}; - -bool -AliIM::IRecentContactExternal::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__IRecentContactExternal_ids, __AliIM__IRecentContactExternal_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::IRecentContactExternal::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__IRecentContactExternal_ids[0], &__AliIM__IRecentContactExternal_ids[2]); -} - -const ::std::string& -AliIM::IRecentContactExternal::ice_id(const ::Ice::Current&) const -{ - return __AliIM__IRecentContactExternal_ids[0]; -} - -const ::std::string& -AliIM::IRecentContactExternal::ice_staticId() -{ - return __AliIM__IRecentContactExternal_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::IRecentContactExternal::___addRecentContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string strCaller; - ::std::string strServiceType; - ::std::string loginId; - ::std::string contactId; - ::Ice::Int type; - ::Ice::Int optime; - __is->read(strCaller); - __is->read(strServiceType); - __is->read(loginId); - __is->read(contactId); - __is->read(type); - __is->read(optime); - ::Ice::Int __ret = addRecentContact(strCaller, strServiceType, loginId, contactId, type, optime, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__IRecentContactExternal_all[] = -{ - "addRecentContact", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -AliIM::IRecentContactExternal::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__IRecentContactExternal_all, __AliIM__IRecentContactExternal_all + 5, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__IRecentContactExternal_all) - { - case 0: - { - return ___addRecentContact(in, current); - } - case 1: - { - return ___ice_id(in, current); - } - case 2: - { - return ___ice_ids(in, current); - } - case 3: - { - return ___ice_isA(in, current); - } - case 4: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::IRecentContactExternal::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::IRecentContactExternal::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::IRecentContactExternal::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::IRecentContactExternal was not generated with stream support"; - throw ex; -} - -void -AliIM::IRecentContactExternal::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::IRecentContactExternal was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__IRecentContactExternalPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::IRecentContactExternalPtr* p = static_cast< ::AliIM::IRecentContactExternalPtr*>(__addr); - assert(p); - *p = ::AliIM::IRecentContactExternalPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::IRecentContactExternal::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::IRecentContactExternal& l, const ::AliIM::IRecentContactExternal& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::IRecentContactExternal& l, const ::AliIM::IRecentContactExternal& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::IRecentContactExternal& l, const ::AliIM::IRecentContactExternal& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::IRecentContactExternal& l, const ::AliIM::IRecentContactExternal& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::IRecentContactExternal& l, const ::AliIM::IRecentContactExternal& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::IRecentContactExternal& l, const ::AliIM::IRecentContactExternal& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/rgss_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/rgss_pack.cpp.svn-base deleted file mode 100644 index 9baa3dc..0000000 --- a/features/aliww/source/.svn/text-base/rgss_pack.cpp.svn-base +++ /dev/null @@ -1,561 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: rgss_pack.cpp -// Date: 2011-01-30 12:49:18 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "rgss_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SSsuserStatus& sSsuserStatus ) -{ - uint8_t nFieldNum = 6; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sSsuserStatus.m_userId; - cPackData << FT_UINT16; - cPackData << sSsuserStatus.m_servId; - cPackData << FT_UINT8; - cPackData << sSsuserStatus.m_basicStatus; - cPackData << FT_UINT8; - cPackData << sSsuserStatus.m_predefStatus; - cPackData << FT_UINT32; - cPackData << sSsuserStatus.m_ip; - cPackData << FT_STRING; - cPackData << sSsuserStatus.m_version; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SSsuserStatus& sSsuserStatus ) -{ - uint8_t num; - cPackData >> num; - if(num < 6) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSsuserStatus.m_userId; - cPackData >> field; - if(field.m_baseType != FT_UINT16) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSsuserStatus.m_servId; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSsuserStatus.m_basicStatus; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSsuserStatus.m_predefStatus; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSsuserStatus.m_ip; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSsuserStatus.m_version; - for(int i = 6; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CSsReqGetallusersts::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_REQ_GETALLUSERSTS; - m_ssHead.PackData(strData); -} - -void CSsReqGetallusersts::PackBody(string& strData) -{ -} - -void CSsReqGetallusersts::PackData(string& strData) -{ - PackHead(strData); -} - -PACKRETCODE CSsReqGetallusersts::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CSsReqGetallusersts::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsRspGetallusersts::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_RSP_GETALLUSERSTS; - m_ssHead.PackData(strData); -} - -void CSsRspGetallusersts::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_userStsList.size(); - (*this) << nLen; - VECTOR< SSsuserStatus >::const_iterator itr; - for(itr = m_userStsList.cbegin(); itr != m_userStsList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsRspGetallusersts::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsRspGetallusersts::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userStsList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SSsuserStatus tmpVal; - (*this) >> tmpVal; - m_userStsList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsRspGetallusersts::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsReqGetuserstatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_REQ_GETUSERSTATUS; - m_ssHead.PackData(strData); -} - -void CSsReqGetuserstatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsReqGetuserstatus::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsReqGetuserstatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsReqGetuserstatus::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsRspGetuserstatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_RSP_GETUSERSTATUS; - m_ssHead.PackData(strData); -} - -void CSsRspGetuserstatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_userStsList.size(); - (*this) << nLen; - VECTOR< SSsuserStatus >::const_iterator itr; - for(itr = m_userStsList.cbegin(); itr != m_userStsList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsRspGetuserstatus::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsRspGetuserstatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userStsList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SSsuserStatus tmpVal; - (*this) >> tmpVal; - m_userStsList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsRspGetuserstatus::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsNtfuserposError::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_NTFUSERPOS_ERROR; - m_ssHead.PackData(strData); -} - -void CImSsNtfuserposError::PackBody(string& strData) -{ -} - -void CImSsNtfuserposError::PackData(string& strData) -{ - PackHead(strData); -} - -PACKRETCODE CImSsNtfuserposError::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CImSsNtfuserposError::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsRspReportuserpos::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_RSP_REPORTUSERPOS; - m_ssHead.PackData(strData); -} - -void CSsRspReportuserpos::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRUCT; - (*this) << m_userSts; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsRspReportuserpos::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsRspReportuserpos::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userSts; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsRspReportuserpos::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsNtfVersionMessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_NTF_VERSION_MESSAGE; - m_ssHead.PackData(strData); -} - -void CSsNtfVersionMessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_version; - (*this) << FT_STRING; - (*this) << m_packet; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsNtfVersionMessage::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsNtfVersionMessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_packet; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsNtfVersionMessage::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/.svn/text-base/ridsrv.cpp.svn-base b/features/aliww/source/.svn/text-base/ridsrv.cpp.svn-base deleted file mode 100644 index 7b22aff..0000000 --- a/features/aliww/source/.svn/text-base/ridsrv.cpp.svn-base +++ /dev/null @@ -1,961 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `ridsrv.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __ridService__ridSrvMgr__CheckUser_name = "CheckUser"; - -static const ::std::string __ridService__ridSrvMgr__Forbiddenpcid_name = "Forbiddenpcid"; - -static const ::std::string __ridService__ridSrvMgr__Permitpcid_name = "Permitpcid"; - -static const ::std::string __ridService__ridSrvMgr__ForbiddenIp_name = "ForbiddenIp"; - -static const ::std::string __ridService__ridSrvMgr__Permitip_name = "Permitip"; - -void -IceInternal::incRef(::ridService::ridSrvMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::ridService::ridSrvMgr* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::ridService::ridSrvMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::ridService::ridSrvMgr* p) -{ - p->__decRef(); -} - -void -ridService::__write(::IceInternal::BasicStream* __os, const ::ridService::ridSrvMgrPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -ridService::__read(::IceInternal::BasicStream* __is, ::ridService::ridSrvMgrPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::ridService::ridSrvMgr; - v->__copyFrom(proxy); - } -} - -void -ridService::__write(::IceInternal::BasicStream* __os, const ::ridService::ridSrvMgrPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -ridService::__addObject(const ridSrvMgrPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -ridService::__usesClasses(const ridSrvMgrPtr& p) -{ - return p->__usesClasses(); -} - -void -ridService::__decRefUnsafe(const ridSrvMgrPtr& p) -{ - p->__decRefUnsafe(); -} - -void -ridService::__clearHandleUnsafe(ridSrvMgrPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::ridService::ridSrvMgr::CheckUser(const ::std::string& userId, ::Ice::Int ip, const ::std::string& srid, ::std::string& drid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ridService__ridSrvMgr__CheckUser_name); - __delBase = __getDelegate(); - ::IceDelegate::ridService::ridSrvMgr* __del = dynamic_cast< ::IceDelegate::ridService::ridSrvMgr*>(__delBase.get()); - return __del->CheckUser(userId, ip, srid, drid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ridService::ridSrvMgr::Forbiddenpcid(const ::std::string& pcid, ::Ice::Int interval, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ridService__ridSrvMgr__Forbiddenpcid_name); - __delBase = __getDelegate(); - ::IceDelegate::ridService::ridSrvMgr* __del = dynamic_cast< ::IceDelegate::ridService::ridSrvMgr*>(__delBase.get()); - return __del->Forbiddenpcid(pcid, interval, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ridService::ridSrvMgr::Permitpcid(const ::std::string& pcid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ridService__ridSrvMgr__Permitpcid_name); - __delBase = __getDelegate(); - ::IceDelegate::ridService::ridSrvMgr* __del = dynamic_cast< ::IceDelegate::ridService::ridSrvMgr*>(__delBase.get()); - return __del->Permitpcid(pcid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ridService::ridSrvMgr::ForbiddenIp(const ::std::string& ip, ::Ice::Int interval, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ridService__ridSrvMgr__ForbiddenIp_name); - __delBase = __getDelegate(); - ::IceDelegate::ridService::ridSrvMgr* __del = dynamic_cast< ::IceDelegate::ridService::ridSrvMgr*>(__delBase.get()); - return __del->ForbiddenIp(ip, interval, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ridService::ridSrvMgr::Permitip(const ::std::string& ip, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ridService__ridSrvMgr__Permitip_name); - __delBase = __getDelegate(); - ::IceDelegate::ridService::ridSrvMgr* __del = dynamic_cast< ::IceDelegate::ridService::ridSrvMgr*>(__delBase.get()); - return __del->Permitip(ip, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::ridService::ridSrvMgr::ice_staticId() -{ - return ::ridService::ridSrvMgr::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::ridService::ridSrvMgr::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::ridService::ridSrvMgr); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::ridService::ridSrvMgr::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::ridService::ridSrvMgr); -} - -bool -IceProxy::ridService::operator==(const ::IceProxy::ridService::ridSrvMgr& l, const ::IceProxy::ridService::ridSrvMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::ridService::operator!=(const ::IceProxy::ridService::ridSrvMgr& l, const ::IceProxy::ridService::ridSrvMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::ridService::operator<(const ::IceProxy::ridService::ridSrvMgr& l, const ::IceProxy::ridService::ridSrvMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::ridService::operator<=(const ::IceProxy::ridService::ridSrvMgr& l, const ::IceProxy::ridService::ridSrvMgr& r) -{ - return l < r || l == r; -} - -bool -IceProxy::ridService::operator>(const ::IceProxy::ridService::ridSrvMgr& l, const ::IceProxy::ridService::ridSrvMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::ridService::operator>=(const ::IceProxy::ridService::ridSrvMgr& l, const ::IceProxy::ridService::ridSrvMgr& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::ridService::ridSrvMgr::CheckUser(const ::std::string& userId, ::Ice::Int ip, const ::std::string& srid, ::std::string& drid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ridService__ridSrvMgr__CheckUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(ip); - __os->write(srid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(drid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ridService::ridSrvMgr::Forbiddenpcid(const ::std::string& pcid, ::Ice::Int interval, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ridService__ridSrvMgr__Forbiddenpcid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(pcid); - __os->write(interval); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ridService::ridSrvMgr::Permitpcid(const ::std::string& pcid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ridService__ridSrvMgr__Permitpcid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(pcid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ridService::ridSrvMgr::ForbiddenIp(const ::std::string& ip, ::Ice::Int interval, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ridService__ridSrvMgr__ForbiddenIp_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(ip); - __os->write(interval); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ridService::ridSrvMgr::Permitip(const ::std::string& ip, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ridService__ridSrvMgr__Permitip_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(ip); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::ridService::ridSrvMgr::CheckUser(const ::std::string& userId, ::Ice::Int ip, const ::std::string& srid, ::std::string& drid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ridService__ridSrvMgr__CheckUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ridService::ridSrvMgr* __servant = dynamic_cast< ::ridService::ridSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->CheckUser(userId, ip, srid, drid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ridService::ridSrvMgr::Forbiddenpcid(const ::std::string& pcid, ::Ice::Int interval, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ridService__ridSrvMgr__Forbiddenpcid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ridService::ridSrvMgr* __servant = dynamic_cast< ::ridService::ridSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->Forbiddenpcid(pcid, interval, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ridService::ridSrvMgr::Permitpcid(const ::std::string& pcid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ridService__ridSrvMgr__Permitpcid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ridService::ridSrvMgr* __servant = dynamic_cast< ::ridService::ridSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->Permitpcid(pcid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ridService::ridSrvMgr::ForbiddenIp(const ::std::string& ip, ::Ice::Int interval, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ridService__ridSrvMgr__ForbiddenIp_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ridService::ridSrvMgr* __servant = dynamic_cast< ::ridService::ridSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->ForbiddenIp(ip, interval, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ridService::ridSrvMgr::Permitip(const ::std::string& ip, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ridService__ridSrvMgr__Permitip_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ridService::ridSrvMgr* __servant = dynamic_cast< ::ridService::ridSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->Permitip(ip, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -ridService::ridSrvMgr::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __ridService__ridSrvMgr_ids[2] = -{ - "::Ice::Object", - "::ridService::ridSrvMgr" -}; - -bool -ridService::ridSrvMgr::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__ridService__ridSrvMgr_ids, __ridService__ridSrvMgr_ids + 2, _s); -} - -::std::vector< ::std::string> -ridService::ridSrvMgr::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__ridService__ridSrvMgr_ids[0], &__ridService__ridSrvMgr_ids[2]); -} - -const ::std::string& -ridService::ridSrvMgr::ice_id(const ::Ice::Current&) const -{ - return __ridService__ridSrvMgr_ids[1]; -} - -const ::std::string& -ridService::ridSrvMgr::ice_staticId() -{ - return __ridService__ridSrvMgr_ids[1]; -} - -::IceInternal::DispatchStatus -ridService::ridSrvMgr::___CheckUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int ip; - ::std::string srid; - __is->read(userId); - __is->read(ip); - __is->read(srid); - ::std::string drid; - ::Ice::Int __ret = CheckUser(userId, ip, srid, drid, __current); - __os->write(drid); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ridService::ridSrvMgr::___Forbiddenpcid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string pcid; - ::Ice::Int interval; - __is->read(pcid); - __is->read(interval); - ::Ice::Int __ret = Forbiddenpcid(pcid, interval, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ridService::ridSrvMgr::___Permitpcid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string pcid; - __is->read(pcid); - ::Ice::Int __ret = Permitpcid(pcid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ridService::ridSrvMgr::___ForbiddenIp(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string ip; - ::Ice::Int interval; - __is->read(ip); - __is->read(interval); - ::Ice::Int __ret = ForbiddenIp(ip, interval, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ridService::ridSrvMgr::___Permitip(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string ip; - __is->read(ip); - ::Ice::Int __ret = Permitip(ip, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __ridService__ridSrvMgr_all[] = -{ - "CheckUser", - "ForbiddenIp", - "Forbiddenpcid", - "Permitip", - "Permitpcid", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -ridService::ridSrvMgr::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__ridService__ridSrvMgr_all, __ridService__ridSrvMgr_all + 9, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __ridService__ridSrvMgr_all) - { - case 0: - { - return ___CheckUser(in, current); - } - case 1: - { - return ___ForbiddenIp(in, current); - } - case 2: - { - return ___Forbiddenpcid(in, current); - } - case 3: - { - return ___Permitip(in, current); - } - case 4: - { - return ___Permitpcid(in, current); - } - case 5: - { - return ___ice_id(in, current); - } - case 6: - { - return ___ice_ids(in, current); - } - case 7: - { - return ___ice_isA(in, current); - } - case 8: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -ridService::ridSrvMgr::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -ridService::ridSrvMgr::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -ridService::ridSrvMgr::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type ridService::ridSrvMgr was not generated with stream support"; - throw ex; -} - -void -ridService::ridSrvMgr::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type ridService::ridSrvMgr was not generated with stream support"; - throw ex; -} - -void -ridService::__patch__ridSrvMgrPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::ridService::ridSrvMgrPtr* p = static_cast< ::ridService::ridSrvMgrPtr*>(__addr); - assert(p); - *p = ::ridService::ridSrvMgrPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::ridService::ridSrvMgr::ice_staticId(); - throw e; - } -} - -bool -ridService::operator==(const ::ridService::ridSrvMgr& l, const ::ridService::ridSrvMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -ridService::operator!=(const ::ridService::ridSrvMgr& l, const ::ridService::ridSrvMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -ridService::operator<(const ::ridService::ridSrvMgr& l, const ::ridService::ridSrvMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -ridService::operator<=(const ::ridService::ridSrvMgr& l, const ::ridService::ridSrvMgr& r) -{ - return l < r || l == r; -} - -bool -ridService::operator>(const ::ridService::ridSrvMgr& l, const ::ridService::ridSrvMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -ridService::operator>=(const ::ridService::ridSrvMgr& l, const ::ridService::ridSrvMgr& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/rmss_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/rmss_pack.cpp.svn-base deleted file mode 100644 index 7650cd6..0000000 --- a/features/aliww/source/.svn/text-base/rmss_pack.cpp.svn-base +++ /dev/null @@ -1,213 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: rmss_pack.cpp -// Date: 2011-01-30 12:49:21 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "rmss_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SServerInfo& sServerInfo ) -{ - uint8_t nFieldNum = 3; - cPackData << nFieldNum; - cPackData << FT_UINT16; - cPackData << sServerInfo.m_servId; - cPackData << FT_STRING; - cPackData << sServerInfo.m_hostIp; - cPackData << FT_UINT16; - cPackData << sServerInfo.m_hostPort; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SServerInfo& sServerInfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 3) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_UINT16) throw PACK_TYPEMATCH_ERROR; - cPackData >> sServerInfo.m_servId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sServerInfo.m_hostIp; - cPackData >> field; - if(field.m_baseType != FT_UINT16) throw PACK_TYPEMATCH_ERROR; - cPackData >> sServerInfo.m_hostPort; - for(int i = 3; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CSsReqRgsregister::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_REQ_RGSREGISTER; - m_ssHead.PackData(strData); -} - -void CSsReqRgsregister::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRUCT; - (*this) << m_hostInfo; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsReqRgsregister::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsReqRgsregister::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_hostInfo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsReqRgsregister::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsRspRgsregister::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_RSP_RGSREGISTER; - m_ssHead.PackData(strData); -} - -void CSsRspRgsregister::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_rgsList.size(); - (*this) << nLen; - VECTOR< SServerInfo >::const_iterator itr; - for(itr = m_rgsList.cbegin(); itr != m_rgsList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsRspRgsregister::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsRspRgsregister::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_rgsList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SServerInfo tmpVal; - (*this) >> tmpVal; - m_rgsList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsRspRgsregister::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/.svn/text-base/sc_head.cpp.svn-base b/features/aliww/source/.svn/text-base/sc_head.cpp.svn-base deleted file mode 100644 index 22bd650..0000000 --- a/features/aliww/source/.svn/text-base/sc_head.cpp.svn-base +++ /dev/null @@ -1,75 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: sc_head.cpp -// Date: 2011-04-27 13:36:55 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "sc_head.h" - -void CScHead::PackData(string& strData) -{ - try - { - ResetOutBuff(strData); - m_lrc = 0; - (*this) << m_starter; - (*this) << m_major; - (*this) << m_minor; - (*this) << m_msgtype; - (*this) << m_encrypt; - (*this) << m_compress; - (*this) << m_encode; - (*this) << m_lrc; - (*this) << m_seq; - (*this) << m_len; - (*this) << m_cmd; - (*this) << m_cc; - (*this) << m_reserved; -; - if((m_reserved & 0x01) == 1) - (*this) << m_extdata; - m_lrc = CalcLrc(strData, Size()); - SetOutCursor(7); - (*this) << m_lrc; - } - catch(std::exception&) - { - strData = ""; - } -} - -PACKRETCODE CScHead::UnpackData(const string& strData) -{ - try - { - ResetInBuff(strData); - if(CalcLrc(strData, Size()) != 0) return PACK_INVALID; - (*this) >> m_starter; - (*this) >> m_major; - (*this) >> m_minor; - (*this) >> m_msgtype; - (*this) >> m_encrypt; - (*this) >> m_compress; - (*this) >> m_encode; - (*this) >> m_lrc; - (*this) >> m_seq; - (*this) >> m_len; - (*this) >> m_cmd; - (*this) >> m_cc; - (*this) >> m_reserved; -; - if((m_reserved & 0x01) == 1) - (*this) >> m_extdata; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - diff --git a/features/aliww/source/.svn/text-base/scs_head.cpp.svn-base b/features/aliww/source/.svn/text-base/scs_head.cpp.svn-base deleted file mode 100644 index 7fb68e2..0000000 --- a/features/aliww/source/.svn/text-base/scs_head.cpp.svn-base +++ /dev/null @@ -1,56 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: scs_head.cpp -// Date: 2011-01-30 12:50:13 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "scs_head.h" - -void CScsHead::PackData(string& strData) -{ - try - { - ResetOutBuff(strData); - (*this) << m_starter; - (*this) << m_version; - (*this) << m_flag; - (*this) << m_cmd; - (*this) << m_seq; - (*this) << m_cc; - (*this) << m_len; - (*this) << m_reserved; -; - } - catch(std::exception&) - { - strData = ""; - } -} - -PACKRETCODE CScsHead::UnpackData(const string& strData) -{ - try - { - ResetInBuff(strData); - (*this) >> m_starter; - (*this) >> m_version; - (*this) >> m_flag; - (*this) >> m_cmd; - (*this) >> m_seq; - (*this) >> m_cc; - (*this) >> m_len; - (*this) >> m_reserved; -; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - diff --git a/features/aliww/source/.svn/text-base/sdkss_head.cpp.svn-base b/features/aliww/source/.svn/text-base/sdkss_head.cpp.svn-base deleted file mode 100644 index e5ca50c..0000000 --- a/features/aliww/source/.svn/text-base/sdkss_head.cpp.svn-base +++ /dev/null @@ -1,50 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: sdkss_head.cpp -// Date: 2011-01-30 12:49:54 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "sdkss_head.h" - -void CSdkssHead::PackData(string& strData) -{ - try - { - ResetOutBuff(strData); - (*this) << m_starter; - (*this) << m_cmd; - (*this) << m_len; - WriteData(m_serialNo, 0, 10); - WriteData(m_account, 0, 10); -; - } - catch(std::exception&) - { - strData = ""; - } -} - -PACKRETCODE CSdkssHead::UnpackData(const string& strData) -{ - try - { - ResetInBuff(strData); - (*this) >> m_starter; - (*this) >> m_cmd; - (*this) >> m_len; - ReadData(m_serialNo, 10, 0); - ReadData(m_account, 10, 0); -; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - diff --git a/features/aliww/source/.svn/text-base/searchuser.cpp.svn-base b/features/aliww/source/.svn/text-base/searchuser.cpp.svn-base deleted file mode 100644 index c5af5f6..0000000 --- a/features/aliww/source/.svn/text-base/searchuser.cpp.svn-base +++ /dev/null @@ -1,1568 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `searchuser.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__SearchUserInterface__searchUser_name = "searchUser"; - -static const ::std::string __AliIM__SearchUserInterface__searchUserB2BFuzzy_name = "searchUserB2BFuzzy"; - -static const ::std::string __AliIM__SearchUserInterface__getRecommendUser_name = "getRecommendUser"; - -static const ::std::string __AliIM__SearchUserInterface__getUsersByName_name = "getUsersByName"; - -static const ::std::string __AliIM__SearchUserInterface__getTribeInfo_name = "getTribeInfo"; - -static const ::std::string __AliIM__SearchUserInterface__advancedSearchUser_name = "advancedSearchUser"; - -void -IceInternal::incRef(::AliIM::SearchUserInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::SearchUserInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::SearchUserInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::SearchUserInterface* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::SearchUserInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::SearchUserInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::SearchUserInterface; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::SearchUserInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -AliIM::SSearchUserRes::operator==(const SSearchUserRes& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIM::SSearchUserRes::operator!=(const SSearchUserRes& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(contactid != __rhs.contactid) - { - return true; - } - if(nickname != __rhs.nickname) - { - return true; - } - if(site != __rhs.site) - { - return true; - } - if(age != __rhs.age) - { - return true; - } - if(gender != __rhs.gender) - { - return true; - } - if(city != __rhs.city) - { - return true; - } - if(basicStatus != __rhs.basicStatus) - { - return true; - } - return false; -} - -bool -AliIM::SSearchUserRes::operator<(const SSearchUserRes& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(contactid < __rhs.contactid) - { - return true; - } - else if(__rhs.contactid < contactid) - { - return false; - } - if(nickname < __rhs.nickname) - { - return true; - } - else if(__rhs.nickname < nickname) - { - return false; - } - if(site < __rhs.site) - { - return true; - } - else if(__rhs.site < site) - { - return false; - } - if(age < __rhs.age) - { - return true; - } - else if(__rhs.age < age) - { - return false; - } - if(gender < __rhs.gender) - { - return true; - } - else if(__rhs.gender < gender) - { - return false; - } - if(city < __rhs.city) - { - return true; - } - else if(__rhs.city < city) - { - return false; - } - if(basicStatus < __rhs.basicStatus) - { - return true; - } - else if(__rhs.basicStatus < basicStatus) - { - return false; - } - return false; -} - -void -AliIM::SSearchUserRes::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(contactid); - __os->write(nickname); - __os->write(site); - __os->write(age); - __os->write(gender); - __os->write(city); - __os->write(basicStatus); -} - -void -AliIM::SSearchUserRes::__read(::IceInternal::BasicStream* __is) -{ - __is->read(contactid); - __is->read(nickname); - __is->read(site); - __is->read(age); - __is->read(gender); - __is->read(city); - __is->read(basicStatus); -} - -bool -AliIM::STribeInfo::operator==(const STribeInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIM::STribeInfo::operator!=(const STribeInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeid != __rhs.tribeid) - { - return true; - } - if(tribename != __rhs.tribename) - { - return true; - } - if(masterId != __rhs.masterId) - { - return true; - } - if(tribeclass != __rhs.tribeclass) - { - return true; - } - if(describe != __rhs.describe) - { - return true; - } - if(bulletin != __rhs.bulletin) - { - return true; - } - if(checkmode != __rhs.checkmode) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(keyword != __rhs.keyword) - { - return true; - } - if(allowvisitor != __rhs.allowvisitor) - { - return true; - } - if(forbidsearch != __rhs.forbidsearch) - { - return true; - } - if(extsign != __rhs.extsign) - { - return true; - } - if(opentribe != __rhs.opentribe) - { - return true; - } - if(maxmembers != __rhs.maxmembers) - { - return true; - } - return false; -} - -bool -AliIM::STribeInfo::operator<(const STribeInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeid < __rhs.tribeid) - { - return true; - } - else if(__rhs.tribeid < tribeid) - { - return false; - } - if(tribename < __rhs.tribename) - { - return true; - } - else if(__rhs.tribename < tribename) - { - return false; - } - if(masterId < __rhs.masterId) - { - return true; - } - else if(__rhs.masterId < masterId) - { - return false; - } - if(tribeclass < __rhs.tribeclass) - { - return true; - } - else if(__rhs.tribeclass < tribeclass) - { - return false; - } - if(describe < __rhs.describe) - { - return true; - } - else if(__rhs.describe < describe) - { - return false; - } - if(bulletin < __rhs.bulletin) - { - return true; - } - else if(__rhs.bulletin < bulletin) - { - return false; - } - if(checkmode < __rhs.checkmode) - { - return true; - } - else if(__rhs.checkmode < checkmode) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(keyword < __rhs.keyword) - { - return true; - } - else if(__rhs.keyword < keyword) - { - return false; - } - if(allowvisitor < __rhs.allowvisitor) - { - return true; - } - else if(__rhs.allowvisitor < allowvisitor) - { - return false; - } - if(forbidsearch < __rhs.forbidsearch) - { - return true; - } - else if(__rhs.forbidsearch < forbidsearch) - { - return false; - } - if(extsign < __rhs.extsign) - { - return true; - } - else if(__rhs.extsign < extsign) - { - return false; - } - if(opentribe < __rhs.opentribe) - { - return true; - } - else if(__rhs.opentribe < opentribe) - { - return false; - } - if(maxmembers < __rhs.maxmembers) - { - return true; - } - else if(__rhs.maxmembers < maxmembers) - { - return false; - } - return false; -} - -void -AliIM::STribeInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeid); - __os->write(tribename); - __os->write(masterId); - __os->write(tribeclass); - __os->write(describe); - __os->write(bulletin); - __os->write(checkmode); - __os->write(password); - __os->write(keyword); - __os->write(allowvisitor); - __os->write(forbidsearch); - __os->write(extsign); - __os->write(opentribe); - __os->write(maxmembers); -} - -void -AliIM::STribeInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeid); - __is->read(tribename); - __is->read(masterId); - __is->read(tribeclass); - __is->read(describe); - __is->read(bulletin); - __is->read(checkmode); - __is->read(password); - __is->read(keyword); - __is->read(allowvisitor); - __is->read(forbidsearch); - __is->read(extsign); - __is->read(opentribe); - __is->read(maxmembers); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::SSearchUserRes* begin, const ::AliIM::SSearchUserRes* end, ::AliIM::__U__SearchuserResSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::SearchuserResSeq& v, ::AliIM::__U__SearchuserResSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 16); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIM::__addObject(const SearchUserInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const SearchUserInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const SearchUserInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(SearchUserInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::SearchUserInterface::searchUser(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__SearchUserInterface__searchUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::SearchUserInterface* __del = dynamic_cast< ::IceDelegate::AliIM::SearchUserInterface*>(__delBase.get()); - return __del->searchUser(uid, targetUid, retCode, retVal, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::SearchUserInterface::searchUserB2BFuzzy(const ::std::string& uid, const ::std::string& targetUid, const ::std::string& reserve, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__SearchUserInterface__searchUserB2BFuzzy_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::SearchUserInterface* __del = dynamic_cast< ::IceDelegate::AliIM::SearchUserInterface*>(__delBase.get()); - return __del->searchUserB2BFuzzy(uid, targetUid, reserve, retCode, retVal, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::SearchUserInterface::getRecommendUser(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int syncUser, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__SearchUserInterface__getRecommendUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::SearchUserInterface* __del = dynamic_cast< ::IceDelegate::AliIM::SearchUserInterface*>(__delBase.get()); - return __del->getRecommendUser(uid, targetUid, syncUser, retCode, retVal, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::SearchUserInterface::getUsersByName(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int syncUser, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__SearchUserInterface__getUsersByName_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::SearchUserInterface* __del = dynamic_cast< ::IceDelegate::AliIM::SearchUserInterface*>(__delBase.get()); - return __del->getUsersByName(uid, targetUid, syncUser, retCode, retVal, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::SearchUserInterface::getTribeInfo(const ::std::string& tribeId, ::AliIM::STribeInfo& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__SearchUserInterface__getTribeInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::SearchUserInterface* __del = dynamic_cast< ::IceDelegate::AliIM::SearchUserInterface*>(__delBase.get()); - return __del->getTribeInfo(tribeId, tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::SearchUserInterface::advancedSearchUser(const ::std::string& site, const ::std::string& country, const ::std::string& province, const ::std::string& city, ::Ice::Int gender, ::Ice::Int age, const ::std::string& job, ::Ice::Int timestamp, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__SearchUserInterface__advancedSearchUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::SearchUserInterface* __del = dynamic_cast< ::IceDelegate::AliIM::SearchUserInterface*>(__delBase.get()); - return __del->advancedSearchUser(site, country, province, city, gender, age, job, timestamp, retVal, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::SearchUserInterface::ice_staticId() -{ - return ::AliIM::SearchUserInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::SearchUserInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::SearchUserInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::SearchUserInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::SearchUserInterface); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::SearchUserInterface& l, const ::IceProxy::AliIM::SearchUserInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::SearchUserInterface& l, const ::IceProxy::AliIM::SearchUserInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::SearchUserInterface& l, const ::IceProxy::AliIM::SearchUserInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::SearchUserInterface& l, const ::IceProxy::AliIM::SearchUserInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::SearchUserInterface& l, const ::IceProxy::AliIM::SearchUserInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::SearchUserInterface& l, const ::IceProxy::AliIM::SearchUserInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::SearchUserInterface::searchUser(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__SearchUserInterface__searchUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(targetUid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(retCode); - ::AliIM::__read(__is, retVal, ::AliIM::__U__SearchuserResSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::SearchUserInterface::searchUserB2BFuzzy(const ::std::string& uid, const ::std::string& targetUid, const ::std::string& reserve, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__SearchUserInterface__searchUserB2BFuzzy_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(targetUid); - __os->write(reserve); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(retCode); - ::AliIM::__read(__is, retVal, ::AliIM::__U__SearchuserResSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::SearchUserInterface::getRecommendUser(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int syncUser, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__SearchUserInterface__getRecommendUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(targetUid); - __os->write(syncUser); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(retCode); - ::AliIM::__read(__is, retVal, ::AliIM::__U__SearchuserResSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::SearchUserInterface::getUsersByName(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int syncUser, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__SearchUserInterface__getUsersByName_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(targetUid); - __os->write(syncUser); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(retCode); - ::AliIM::__read(__is, retVal, ::AliIM::__U__SearchuserResSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::SearchUserInterface::getTribeInfo(const ::std::string& tribeId, ::AliIM::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__SearchUserInterface__getTribeInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - tribeInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::SearchUserInterface::advancedSearchUser(const ::std::string& site, const ::std::string& country, const ::std::string& province, const ::std::string& city, ::Ice::Int gender, ::Ice::Int age, const ::std::string& job, ::Ice::Int timestamp, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__SearchUserInterface__advancedSearchUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(site); - __os->write(country); - __os->write(province); - __os->write(city); - __os->write(gender); - __os->write(age); - __os->write(job); - __os->write(timestamp); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIM::__read(__is, retVal, ::AliIM::__U__SearchuserResSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::SearchUserInterface::searchUser(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__SearchUserInterface__searchUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::SearchUserInterface* __servant = dynamic_cast< ::AliIM::SearchUserInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->searchUser(uid, targetUid, retCode, retVal, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::SearchUserInterface::searchUserB2BFuzzy(const ::std::string& uid, const ::std::string& targetUid, const ::std::string& reserve, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__SearchUserInterface__searchUserB2BFuzzy_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::SearchUserInterface* __servant = dynamic_cast< ::AliIM::SearchUserInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->searchUserB2BFuzzy(uid, targetUid, reserve, retCode, retVal, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::SearchUserInterface::getRecommendUser(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int syncUser, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__SearchUserInterface__getRecommendUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::SearchUserInterface* __servant = dynamic_cast< ::AliIM::SearchUserInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getRecommendUser(uid, targetUid, syncUser, retCode, retVal, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::SearchUserInterface::getUsersByName(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int syncUser, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__SearchUserInterface__getUsersByName_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::SearchUserInterface* __servant = dynamic_cast< ::AliIM::SearchUserInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUsersByName(uid, targetUid, syncUser, retCode, retVal, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::SearchUserInterface::getTribeInfo(const ::std::string& tribeId, ::AliIM::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__SearchUserInterface__getTribeInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::SearchUserInterface* __servant = dynamic_cast< ::AliIM::SearchUserInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getTribeInfo(tribeId, tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::SearchUserInterface::advancedSearchUser(const ::std::string& site, const ::std::string& country, const ::std::string& province, const ::std::string& city, ::Ice::Int gender, ::Ice::Int age, const ::std::string& job, ::Ice::Int timestamp, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__SearchUserInterface__advancedSearchUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::SearchUserInterface* __servant = dynamic_cast< ::AliIM::SearchUserInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->advancedSearchUser(site, country, province, city, gender, age, job, timestamp, retVal, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::SearchUserInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__SearchUserInterface_ids[2] = -{ - "::AliIM::SearchUserInterface", - "::Ice::Object" -}; - -bool -AliIM::SearchUserInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__SearchUserInterface_ids, __AliIM__SearchUserInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::SearchUserInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__SearchUserInterface_ids[0], &__AliIM__SearchUserInterface_ids[2]); -} - -const ::std::string& -AliIM::SearchUserInterface::ice_id(const ::Ice::Current&) const -{ - return __AliIM__SearchUserInterface_ids[0]; -} - -const ::std::string& -AliIM::SearchUserInterface::ice_staticId() -{ - return __AliIM__SearchUserInterface_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::SearchUserInterface::___searchUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string targetUid; - __is->read(uid); - __is->read(targetUid); - ::Ice::Int retCode; - ::AliIM::SearchuserResSeq retVal; - ::Ice::Int __ret = searchUser(uid, targetUid, retCode, retVal, __current); - __os->write(retCode); - if(retVal.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIM::__write(__os, &retVal[0], &retVal[0] + retVal.size(), ::AliIM::__U__SearchuserResSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::SearchUserInterface::___searchUserB2BFuzzy(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string targetUid; - ::std::string reserve; - __is->read(uid); - __is->read(targetUid); - __is->read(reserve); - ::Ice::Int retCode; - ::AliIM::SearchuserResSeq retVal; - ::Ice::Int __ret = searchUserB2BFuzzy(uid, targetUid, reserve, retCode, retVal, __current); - __os->write(retCode); - if(retVal.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIM::__write(__os, &retVal[0], &retVal[0] + retVal.size(), ::AliIM::__U__SearchuserResSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::SearchUserInterface::___getRecommendUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string targetUid; - ::Ice::Int syncUser; - __is->read(uid); - __is->read(targetUid); - __is->read(syncUser); - ::Ice::Int retCode; - ::AliIM::SearchuserResSeq retVal; - ::Ice::Int __ret = getRecommendUser(uid, targetUid, syncUser, retCode, retVal, __current); - __os->write(retCode); - if(retVal.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIM::__write(__os, &retVal[0], &retVal[0] + retVal.size(), ::AliIM::__U__SearchuserResSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::SearchUserInterface::___getUsersByName(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string targetUid; - ::Ice::Int syncUser; - __is->read(uid); - __is->read(targetUid); - __is->read(syncUser); - ::Ice::Int retCode; - ::AliIM::SearchuserResSeq retVal; - ::Ice::Int __ret = getUsersByName(uid, targetUid, syncUser, retCode, retVal, __current); - __os->write(retCode); - if(retVal.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIM::__write(__os, &retVal[0], &retVal[0] + retVal.size(), ::AliIM::__U__SearchuserResSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::SearchUserInterface::___getTribeInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string tribeId; - __is->read(tribeId); - ::AliIM::STribeInfo tribeInfo; - ::Ice::Int __ret = getTribeInfo(tribeId, tribeInfo, __current); - tribeInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::SearchUserInterface::___advancedSearchUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string site; - ::std::string country; - ::std::string province; - ::std::string city; - ::Ice::Int gender; - ::Ice::Int age; - ::std::string job; - ::Ice::Int timestamp; - __is->read(site); - __is->read(country); - __is->read(province); - __is->read(city); - __is->read(gender); - __is->read(age); - __is->read(job); - __is->read(timestamp); - ::AliIM::SearchuserResSeq retVal; - ::Ice::Int __ret = advancedSearchUser(site, country, province, city, gender, age, job, timestamp, retVal, __current); - if(retVal.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIM::__write(__os, &retVal[0], &retVal[0] + retVal.size(), ::AliIM::__U__SearchuserResSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__SearchUserInterface_all[] = -{ - "advancedSearchUser", - "getRecommendUser", - "getTribeInfo", - "getUsersByName", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "searchUser", - "searchUserB2BFuzzy" -}; - -::IceInternal::DispatchStatus -AliIM::SearchUserInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__SearchUserInterface_all, __AliIM__SearchUserInterface_all + 10, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__SearchUserInterface_all) - { - case 0: - { - return ___advancedSearchUser(in, current); - } - case 1: - { - return ___getRecommendUser(in, current); - } - case 2: - { - return ___getTribeInfo(in, current); - } - case 3: - { - return ___getUsersByName(in, current); - } - case 4: - { - return ___ice_id(in, current); - } - case 5: - { - return ___ice_ids(in, current); - } - case 6: - { - return ___ice_isA(in, current); - } - case 7: - { - return ___ice_ping(in, current); - } - case 8: - { - return ___searchUser(in, current); - } - case 9: - { - return ___searchUserB2BFuzzy(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::SearchUserInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::SearchUserInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::SearchUserInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::SearchUserInterface was not generated with stream support"; - throw ex; -} - -void -AliIM::SearchUserInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::SearchUserInterface was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__SearchUserInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::SearchUserInterfacePtr* p = static_cast< ::AliIM::SearchUserInterfacePtr*>(__addr); - assert(p); - *p = ::AliIM::SearchUserInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::SearchUserInterface::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::SearchUserInterface& l, const ::AliIM::SearchUserInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::SearchUserInterface& l, const ::AliIM::SearchUserInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::SearchUserInterface& l, const ::AliIM::SearchUserInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::SearchUserInterface& l, const ::AliIM::SearchUserInterface& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::SearchUserInterface& l, const ::AliIM::SearchUserInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::SearchUserInterface& l, const ::AliIM::SearchUserInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/sipsession.cpp.svn-base b/features/aliww/source/.svn/text-base/sipsession.cpp.svn-base deleted file mode 100644 index 5b3812b..0000000 --- a/features/aliww/source/.svn/text-base/sipsession.cpp.svn-base +++ /dev/null @@ -1,517 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `sipsession.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __com__alisoft__member__udb__api__sns__session__sessionService__bindSession_name = "bindSession"; - -void -IceInternal::incRef(::com::alisoft::member::udb::api::sns::session::sessionService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::com::alisoft::member::udb::api::sns::session::sessionService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService* p) -{ - p->__decRef(); -} - -void -com::alisoft::member::udb::api::sns::session::__write(::IceInternal::BasicStream* __os, const ::com::alisoft::member::udb::api::sns::session::sessionServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -com::alisoft::member::udb::api::sns::session::__read(::IceInternal::BasicStream* __is, ::com::alisoft::member::udb::api::sns::session::sessionServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService; - v->__copyFrom(proxy); - } -} - -void -com::alisoft::member::udb::api::sns::session::__write(::IceInternal::BasicStream* __os, const ::com::alisoft::member::udb::api::sns::session::sessionServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -com::alisoft::member::udb::api::sns::model::SessionInfo::operator==(const SessionInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -com::alisoft::member::udb::api::sns::model::SessionInfo::operator!=(const SessionInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(sessionId != __rhs.sessionId) - { - return true; - } - return false; -} - -bool -com::alisoft::member::udb::api::sns::model::SessionInfo::operator<(const SessionInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(sessionId < __rhs.sessionId) - { - return true; - } - else if(__rhs.sessionId < sessionId) - { - return false; - } - return false; -} - -void -com::alisoft::member::udb::api::sns::model::SessionInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(sessionId); -} - -void -com::alisoft::member::udb::api::sns::model::SessionInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(sessionId); -} - -void -com::alisoft::member::udb::api::sns::session::__addObject(const sessionServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -com::alisoft::member::udb::api::sns::session::__usesClasses(const sessionServicePtr& p) -{ - return p->__usesClasses(); -} - -void -com::alisoft::member::udb::api::sns::session::__decRefUnsafe(const sessionServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -com::alisoft::member::udb::api::sns::session::__clearHandleUnsafe(sessionServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::sns::session::sessionService::bindSession(const ::std::string& appId, const ::std::string& userLongId, const ::std::string& type, ::com::alisoft::member::udb::api::sns::model::SessionInfo& sessionInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__sns__session__sessionService__bindSession_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::sns::session::sessionService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::sns::session::sessionService*>(__delBase.get()); - return __del->bindSession(appId, userLongId, type, sessionInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::com::alisoft::member::udb::api::sns::session::sessionService::ice_staticId() -{ - return ::com::alisoft::member::udb::api::sns::session::sessionService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::com::alisoft::member::udb::api::sns::session::sessionService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::com::alisoft::member::udb::api::sns::session::sessionService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::com::alisoft::member::udb::api::sns::session::sessionService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::com::alisoft::member::udb::api::sns::session::sessionService); -} - -bool -IceProxy::com::alisoft::member::udb::api::sns::session::operator==(const ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService& l, const ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::com::alisoft::member::udb::api::sns::session::operator!=(const ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService& l, const ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::com::alisoft::member::udb::api::sns::session::operator<(const ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService& l, const ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::com::alisoft::member::udb::api::sns::session::operator<=(const ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService& l, const ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::com::alisoft::member::udb::api::sns::session::operator>(const ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService& l, const ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::com::alisoft::member::udb::api::sns::session::operator>=(const ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService& l, const ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::sns::session::sessionService::bindSession(const ::std::string& appId, const ::std::string& userLongId, const ::std::string& type, ::com::alisoft::member::udb::api::sns::model::SessionInfo& sessionInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__sns__session__sessionService__bindSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(appId); - __os->write(userLongId); - __os->write(type); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - sessionInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::sns::session::sessionService::bindSession(const ::std::string& appId, const ::std::string& userLongId, const ::std::string& type, ::com::alisoft::member::udb::api::sns::model::SessionInfo& sessionInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__sns__session__sessionService__bindSession_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::sns::session::sessionService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::sns::session::sessionService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->bindSession(appId, userLongId, type, sessionInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -com::alisoft::member::udb::api::sns::session::sessionService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __com__alisoft__member__udb__api__sns__session__sessionService_ids[2] = -{ - "::Ice::Object", - "::com::alisoft::member::udb::api::sns::session::sessionService" -}; - -bool -com::alisoft::member::udb::api::sns::session::sessionService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__com__alisoft__member__udb__api__sns__session__sessionService_ids, __com__alisoft__member__udb__api__sns__session__sessionService_ids + 2, _s); -} - -::std::vector< ::std::string> -com::alisoft::member::udb::api::sns::session::sessionService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__com__alisoft__member__udb__api__sns__session__sessionService_ids[0], &__com__alisoft__member__udb__api__sns__session__sessionService_ids[2]); -} - -const ::std::string& -com::alisoft::member::udb::api::sns::session::sessionService::ice_id(const ::Ice::Current&) const -{ - return __com__alisoft__member__udb__api__sns__session__sessionService_ids[1]; -} - -const ::std::string& -com::alisoft::member::udb::api::sns::session::sessionService::ice_staticId() -{ - return __com__alisoft__member__udb__api__sns__session__sessionService_ids[1]; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::sns::session::sessionService::___bindSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string appId; - ::std::string userLongId; - ::std::string type; - __is->read(appId); - __is->read(userLongId); - __is->read(type); - ::com::alisoft::member::udb::api::sns::model::SessionInfo sessionInfo; - ::Ice::Int __ret = bindSession(appId, userLongId, type, sessionInfo, __current); - sessionInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __com__alisoft__member__udb__api__sns__session__sessionService_all[] = -{ - "bindSession", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::sns::session::sessionService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__com__alisoft__member__udb__api__sns__session__sessionService_all, __com__alisoft__member__udb__api__sns__session__sessionService_all + 5, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __com__alisoft__member__udb__api__sns__session__sessionService_all) - { - case 0: - { - return ___bindSession(in, current); - } - case 1: - { - return ___ice_id(in, current); - } - case 2: - { - return ___ice_ids(in, current); - } - case 3: - { - return ___ice_isA(in, current); - } - case 4: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -com::alisoft::member::udb::api::sns::session::sessionService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -com::alisoft::member::udb::api::sns::session::sessionService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -com::alisoft::member::udb::api::sns::session::sessionService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type com::alisoft::member::udb::api::sns::session::sessionService was not generated with stream support"; - throw ex; -} - -void -com::alisoft::member::udb::api::sns::session::sessionService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type com::alisoft::member::udb::api::sns::session::sessionService was not generated with stream support"; - throw ex; -} - -void -com::alisoft::member::udb::api::sns::session::__patch__sessionServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::com::alisoft::member::udb::api::sns::session::sessionServicePtr* p = static_cast< ::com::alisoft::member::udb::api::sns::session::sessionServicePtr*>(__addr); - assert(p); - *p = ::com::alisoft::member::udb::api::sns::session::sessionServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::com::alisoft::member::udb::api::sns::session::sessionService::ice_staticId(); - throw e; - } -} - -bool -com::alisoft::member::udb::api::sns::session::operator==(const ::com::alisoft::member::udb::api::sns::session::sessionService& l, const ::com::alisoft::member::udb::api::sns::session::sessionService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -com::alisoft::member::udb::api::sns::session::operator!=(const ::com::alisoft::member::udb::api::sns::session::sessionService& l, const ::com::alisoft::member::udb::api::sns::session::sessionService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -com::alisoft::member::udb::api::sns::session::operator<(const ::com::alisoft::member::udb::api::sns::session::sessionService& l, const ::com::alisoft::member::udb::api::sns::session::sessionService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -com::alisoft::member::udb::api::sns::session::operator<=(const ::com::alisoft::member::udb::api::sns::session::sessionService& l, const ::com::alisoft::member::udb::api::sns::session::sessionService& r) -{ - return l < r || l == r; -} - -bool -com::alisoft::member::udb::api::sns::session::operator>(const ::com::alisoft::member::udb::api::sns::session::sessionService& l, const ::com::alisoft::member::udb::api::sns::session::sessionService& r) -{ - return !(l < r) && !(l == r); -} - -bool -com::alisoft::member::udb::api::sns::session::operator>=(const ::com::alisoft::member::udb::api::sns::session::sessionService& l, const ::com::alisoft::member::udb::api::sns::session::sessionService& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/smsa_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/smsa_pack.cpp.svn-base deleted file mode 100644 index e115baf..0000000 --- a/features/aliww/source/.svn/text-base/smsa_pack.cpp.svn-base +++ /dev/null @@ -1,604 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smsa_pack.cpp -// Date: 2011-01-30 12:49:59 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "smsa_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SWebSmsUser& sWebSmsUser ) -{ - cPackData.WriteData(sWebSmsUser.m_userId, 0, 64); - cPackData.WriteData(sWebSmsUser.m_mobileNo, 0, 16); - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SWebSmsUser& sWebSmsUser ) -{ - cPackData.ReadData(sWebSmsUser.m_userId, 64, 0); - cPackData.ReadData(sWebSmsUser.m_mobileNo, 16, 0); - return cPackData; -} - -void CScNotifySmsModifyblacklist::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_mscHead.Size()) - m_mscHead.m_len = 0; - else - m_mscHead.m_len = strData.size() - m_mscHead.Size(); - if(m_mscHead.m_cmd == 0) m_mscHead.m_cmd = SC_NOTIFY_SMS_MODIFYBLACKLIST; - m_mscHead.PackData(strData); -} - -void CScNotifySmsModifyblacklist::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_mscHead.Size() + 7); - SetOutCursor( m_mscHead.Size() ); - (*this) << m_flag; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< SWebSmsUser >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - m_mscHead.m_cc = CalcCheckCode(strData, m_mscHead.Size()); - FormData(m_mscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScNotifySmsModifyblacklist::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CScNotifySmsModifyblacklist::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_mscHead.Size()); - uLongf nHeadLen = m_mscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_mscHead.Size()); - m_mscHead.ResetInBuff(strData); - if(checkCode != m_mscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - (*this) >> m_flag; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SWebSmsUser tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScNotifySmsModifyblacklist::UnpackData(string& strData) -{ - m_mscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CScSmsNotifyUploadmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_mscHead.Size()) - m_mscHead.m_len = 0; - else - m_mscHead.m_len = strData.size() - m_mscHead.Size(); - if(m_mscHead.m_cmd == 0) m_mscHead.m_cmd = SC_SMS_NOTIFY_UPLOADMSG; - m_mscHead.PackData(strData); -} - -void CScSmsNotifyUploadmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_mscHead.Size() + 7); - SetOutCursor( m_mscHead.Size() ); - WriteData(m_fromId, 0, 64); - (*this) << m_fromMobile; - (*this) << m_bindFlag; - WriteData(m_toId, 0, 64); - WriteData(m_toMobile, 0, 16); - (*this) << m_cmd; - (*this) << m_message; - m_mscHead.m_cc = CalcCheckCode(strData, m_mscHead.Size()); - FormData(m_mscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScSmsNotifyUploadmsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CScSmsNotifyUploadmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_mscHead.Size()); - uLongf nHeadLen = m_mscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_mscHead.Size()); - m_mscHead.ResetInBuff(strData); - if(checkCode != m_mscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - ReadData(m_fromId, 64, 0); - (*this) >> m_fromMobile; - (*this) >> m_bindFlag; - ReadData(m_toId, 64, 0); - ReadData(m_toMobile, 16, 0); - (*this) >> m_cmd; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScSmsNotifyUploadmsg::UnpackData(string& strData) -{ - m_mscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CScReqSmsSendMessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_mscHead.Size()) - m_mscHead.m_len = 0; - else - m_mscHead.m_len = strData.size() - m_mscHead.Size(); - if(m_mscHead.m_cmd == 0) m_mscHead.m_cmd = SC_REQ_SMS_SEND_MESSAGE; - m_mscHead.PackData(strData); -} - -void CScReqSmsSendMessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_mscHead.Size() + 7); - SetOutCursor( m_mscHead.Size() ); - WriteData(m_fromId, 0, 64); - WriteData(m_toId, 0, 64); - WriteData(m_toMobile, 0, 16); - (*this) << m_message; - (*this) << m_type; - m_mscHead.m_cc = CalcCheckCode(strData, m_mscHead.Size()); - FormData(m_mscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScReqSmsSendMessage::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CScReqSmsSendMessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_mscHead.Size()); - uLongf nHeadLen = m_mscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_mscHead.Size()); - m_mscHead.ResetInBuff(strData); - if(checkCode != m_mscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - ReadData(m_fromId, 64, 0); - ReadData(m_toId, 64, 0); - ReadData(m_toMobile, 16, 0); - (*this) >> m_message; - (*this) >> m_type; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScReqSmsSendMessage::UnpackData(string& strData) -{ - m_mscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CScRspSmsSendMessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_mscHead.Size()) - m_mscHead.m_len = 0; - else - m_mscHead.m_len = strData.size() - m_mscHead.Size(); - if(m_mscHead.m_cmd == 0) m_mscHead.m_cmd = SC_RSP_SMS_SEND_MESSAGE; - m_mscHead.PackData(strData); -} - -void CScRspSmsSendMessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_mscHead.Size() + 7); - SetOutCursor( m_mscHead.Size() ); - (*this) << m_status; - WriteData(m_fromId, 0, 64); - WriteData(m_toId, 0, 64); - WriteData(m_toMobile, 0, 16); - (*this) << m_message; - (*this) << m_type; - m_mscHead.m_cc = CalcCheckCode(strData, m_mscHead.Size()); - FormData(m_mscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScRspSmsSendMessage::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CScRspSmsSendMessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_mscHead.Size()); - uLongf nHeadLen = m_mscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_mscHead.Size()); - m_mscHead.ResetInBuff(strData); - if(checkCode != m_mscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - (*this) >> m_status; - ReadData(m_fromId, 64, 0); - ReadData(m_toId, 64, 0); - ReadData(m_toMobile, 16, 0); - (*this) >> m_message; - (*this) >> m_type; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScRspSmsSendMessage::UnpackData(string& strData) -{ - m_mscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CScNotifySmsMobileonline::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_mscHead.Size()) - m_mscHead.m_len = 0; - else - m_mscHead.m_len = strData.size() - m_mscHead.Size(); - if(m_mscHead.m_cmd == 0) m_mscHead.m_cmd = SC_NOTIFY_SMS_MOBILEONLINE; - m_mscHead.PackData(strData); -} - -void CScNotifySmsMobileonline::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_mscHead.Size() + 7); - SetOutCursor( m_mscHead.Size() ); - WriteData(m_userId, 0, 64); - (*this) << m_onlineFlag; - (*this) << m_revFlag; - m_mscHead.m_cc = CalcCheckCode(strData, m_mscHead.Size()); - FormData(m_mscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScNotifySmsMobileonline::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CScNotifySmsMobileonline::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_mscHead.Size()); - uLongf nHeadLen = m_mscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_mscHead.Size()); - m_mscHead.ResetInBuff(strData); - if(checkCode != m_mscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - ReadData(m_userId, 64, 0); - (*this) >> m_onlineFlag; - (*this) >> m_revFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScNotifySmsMobileonline::UnpackData(string& strData) -{ - m_mscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CScRspSmsMobileonline::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_mscHead.Size()) - m_mscHead.m_len = 0; - else - m_mscHead.m_len = strData.size() - m_mscHead.Size(); - if(m_mscHead.m_cmd == 0) m_mscHead.m_cmd = SC_RSP_SMS_MOBILEONLINE; - m_mscHead.PackData(strData); -} - -void CScRspSmsMobileonline::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_mscHead.Size() + 7); - SetOutCursor( m_mscHead.Size() ); - (*this) << m_status; - WriteData(m_userId, 0, 64); - (*this) << m_onlineFlag; - (*this) << m_revFlag; - m_mscHead.m_cc = CalcCheckCode(strData, m_mscHead.Size()); - FormData(m_mscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScRspSmsMobileonline::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CScRspSmsMobileonline::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_mscHead.Size()); - uLongf nHeadLen = m_mscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_mscHead.Size()); - m_mscHead.ResetInBuff(strData); - if(checkCode != m_mscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - (*this) >> m_status; - ReadData(m_userId, 64, 0); - (*this) >> m_onlineFlag; - (*this) >> m_revFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScRspSmsMobileonline::UnpackData(string& strData) -{ - m_mscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CScNotifySmsMobilebind::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_mscHead.Size()) - m_mscHead.m_len = 0; - else - m_mscHead.m_len = strData.size() - m_mscHead.Size(); - if(m_mscHead.m_cmd == 0) m_mscHead.m_cmd = SC_NOTIFY_SMS_MOBILEBIND; - m_mscHead.PackData(strData); -} - -void CScNotifySmsMobilebind::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_mscHead.Size() + 7); - SetOutCursor( m_mscHead.Size() ); - WriteData(m_userId, 0, 64); - (*this) << m_bindFlag; - m_mscHead.m_cc = CalcCheckCode(strData, m_mscHead.Size()); - FormData(m_mscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScNotifySmsMobilebind::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CScNotifySmsMobilebind::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_mscHead.Size()); - uLongf nHeadLen = m_mscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_mscHead.Size()); - m_mscHead.ResetInBuff(strData); - if(checkCode != m_mscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - ReadData(m_userId, 64, 0); - (*this) >> m_bindFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScNotifySmsMobilebind::UnpackData(string& strData) -{ - m_mscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CScConfirmSmsMobilebind::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_mscHead.Size()) - m_mscHead.m_len = 0; - else - m_mscHead.m_len = strData.size() - m_mscHead.Size(); - if(m_mscHead.m_cmd == 0) m_mscHead.m_cmd = SC_CONFIRM_SMS_MOBILEBIND; - m_mscHead.PackData(strData); -} - -void CScConfirmSmsMobilebind::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_mscHead.Size() + 7); - SetOutCursor( m_mscHead.Size() ); - (*this) << m_status; - WriteData(m_userId, 0, 64); - (*this) << m_bindFlag; - m_mscHead.m_cc = CalcCheckCode(strData, m_mscHead.Size()); - FormData(m_mscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScConfirmSmsMobilebind::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CScConfirmSmsMobilebind::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_mscHead.Size()); - uLongf nHeadLen = m_mscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_mscHead.Size()); - m_mscHead.ResetInBuff(strData); - if(checkCode != m_mscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - (*this) >> m_status; - ReadData(m_userId, 64, 0); - (*this) >> m_bindFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScConfirmSmsMobilebind::UnpackData(string& strData) -{ - m_mscHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/.svn/text-base/smsc_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/smsc_pack.cpp.svn-base deleted file mode 100644 index e9d4703..0000000 --- a/features/aliww/source/.svn/text-base/smsc_pack.cpp.svn-base +++ /dev/null @@ -1,2022 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smsc_pack.cpp -// Date: 2011-01-30 12:48:52 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "smsc_pack.h" - -void CImReqSmsSendmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SMS_SENDMSG; - m_scHead.PackData(strData); -} - -void CImReqSmsSendmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_fromId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_toUserList.size(); - (*this) << nLen; - VECTOR< SSmsUser >::const_iterator itr; - for(itr = m_toUserList.cbegin(); itr != m_toUserList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSmsSendmsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSmsSendmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_toUserList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SSmsUser tmpVal; - (*this) >> tmpVal; - m_toUserList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSmsSendmsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspSmsSendmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SMS_SENDMSG; - m_scHead.PackData(strData); -} - -void CImRspSmsSendmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_status; - (*this) << FT_STRING; - (*this) << m_fromId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_toUserList.size(); - (*this) << nLen; - VECTOR< SSmsUser >::const_iterator itr; - for(itr = m_toUserList.cbegin(); itr != m_toUserList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSmsSendmsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSmsSendmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_toUserList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SSmsUser tmpVal; - (*this) >> tmpVal; - m_toUserList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSmsSendmsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfSmsSendstatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_SMS_SENDSTATUS; - m_scHead.PackData(strData); -} - -void CImNtfSmsSendstatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_status; - (*this) << FT_STRING; - (*this) << m_fromId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_toUserList.size(); - (*this) << nLen; - VECTOR< SSmsUser >::const_iterator itr; - for(itr = m_toUserList.cbegin(); itr != m_toUserList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_STRING; - (*this) << m_errorDesc; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfSmsSendstatus::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfSmsSendstatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_toUserList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SSmsUser tmpVal; - (*this) >> tmpVal; - m_toUserList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_errorDesc; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfSmsSendstatus::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfSmsRcvmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_SMS_RCVMSG; - m_scHead.PackData(strData); -} - -void CImNtfSmsRcvmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRUCT; - (*this) << m_fromUser; - (*this) << FT_STRING; - (*this) << m_toId; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfSmsRcvmsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfSmsRcvmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromUser; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_toId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfSmsRcvmsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfSmsChargestatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_SMS_CHARGESTATUS; - m_scHead.PackData(strData); -} - -void CImNtfSmsChargestatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)7; - (*this) << FT_UINT8; - (*this) << m_status; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_chargeId; - (*this) << FT_UINT8; - (*this) << m_chargeType; - (*this) << FT_UINT32; - (*this) << m_denomination; - (*this) << FT_UINT32; - (*this) << m_balance; - (*this) << FT_UINT32; - (*this) << m_count; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfSmsChargestatus::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfSmsChargestatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 7) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_chargeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_chargeType; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_denomination; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_balance; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_count; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfSmsChargestatus::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfSmsMobileonline::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_SMS_MOBILEONLINE; - m_scHead.PackData(strData); -} - -void CImNtfSmsMobileonline::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_onlineFlag; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfSmsMobileonline::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfSmsMobileonline::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_onlineFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfSmsMobileonline::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSmsGetusermsginfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SMS_GETUSERMSGINFO; - m_scHead.PackData(strData); -} - -void CImReqSmsGetusermsginfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_userId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSmsGetusermsginfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSmsGetusermsginfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSmsGetusermsginfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspSmsGetusermsginfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SMS_GETUSERMSGINFO; - m_scHead.PackData(strData); -} - -void CImRspSmsGetusermsginfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)8; - (*this) << FT_UINT8; - (*this) << m_status; - (*this) << FT_UINT32; - (*this) << m_yesterdayMsgCount; - (*this) << FT_UINT32; - (*this) << m_todayMsgCount; - (*this) << FT_UINT32; - (*this) << m_maxMsgCount; - (*this) << FT_UINT32; - (*this) << m_balance; - (*this) << FT_UINT32; - (*this) << m_price; - (*this) << FT_UINT32; - (*this) << m_count; - (*this) << FT_UINT32; - (*this) << m_msgMaxLen; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSmsGetusermsginfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSmsGetusermsginfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 8) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_yesterdayMsgCount; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_todayMsgCount; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_maxMsgCount; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_balance; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_price; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_count; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgMaxLen; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSmsGetusermsginfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSmsGetAccount::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SMS_GET_ACCOUNT; - m_scHead.PackData(strData); -} - -void CImReqSmsGetAccount::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_userId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSmsGetAccount::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSmsGetAccount::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSmsGetAccount::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspSmsGetAccount::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SMS_GET_ACCOUNT; - m_scHead.PackData(strData); -} - -void CImRspSmsGetAccount::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_UINT8; - (*this) << m_status; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_bindFlag; - (*this) << FT_UINT8; - (*this) << m_onlineFlag; - (*this) << FT_STRING; - (*this) << m_mobileNo; - (*this) << FT_UINT8; - (*this) << m_revFlag; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSmsGetAccount::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSmsGetAccount::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 6) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_bindFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_onlineFlag; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_mobileNo; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_revFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSmsGetAccount::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSmsGetAccount2::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SMS_GET_ACCOUNT2; - m_scHead.PackData(strData); -} - -void CImReqSmsGetAccount2::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_userId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSmsGetAccount2::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSmsGetAccount2::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSmsGetAccount2::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspSmsGetAccount2::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SMS_GET_ACCOUNT2; - m_scHead.PackData(strData); -} - -void CImRspSmsGetAccount2::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_status; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_bindFlag; - (*this) << FT_UINT8; - (*this) << m_onlineFlag; - (*this) << FT_UINT8; - (*this) << m_revFlag; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSmsGetAccount2::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSmsGetAccount2::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_bindFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_onlineFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_revFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSmsGetAccount2::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfSmsMobilebind::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_SMS_MOBILEBIND; - m_scHead.PackData(strData); -} - -void CImNtfSmsMobilebind::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_bindFlag; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfSmsMobilebind::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfSmsMobilebind::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_bindFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfSmsMobilebind::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfSmsRevflag::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_SMS_REVFLAG; - m_scHead.PackData(strData); -} - -void CImNtfSmsRevflag::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_revFlag; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfSmsRevflag::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfSmsRevflag::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_revFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfSmsRevflag::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSmsGetBlacklist::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SMS_GET_BLACKLIST; - m_scHead.PackData(strData); -} - -void CImReqSmsGetBlacklist::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - WriteData(m_userId, 0, 64); - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSmsGetBlacklist::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSmsGetBlacklist::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_userId, 64, 0); - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSmsGetBlacklist::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspSmsGetBlacklist::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SMS_GET_BLACKLIST; - m_scHead.PackData(strData); -} - -void CImRspSmsGetBlacklist::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_status; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_blackList.size(); - (*this) << nLen; - VECTOR< SSmsUser >::const_iterator itr; - for(itr = m_blackList.cbegin(); itr != m_blackList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSmsGetBlacklist::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSmsGetBlacklist::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_blackList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SSmsUser tmpVal; - (*this) >> tmpVal; - m_blackList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSmsGetBlacklist::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspSmsGetuserconfig::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SMS_GETUSERCONFIG; - m_scHead.PackData(strData); -} - -void CImRspSmsGetuserconfig::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_status; - (*this) << FT_UINT8; - (*this) << m_onlineFlag; - (*this) << FT_UINT8; - (*this) << m_revFlag; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSmsGetuserconfig::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSmsGetuserconfig::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_onlineFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_revFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSmsGetuserconfig::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSmsGetMultimsglen::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SMS_GET_MULTIMSGLEN; - m_scHead.PackData(strData); -} - -void CImReqSmsGetMultimsglen::PackBody(string& strData) -{ -} - -void CImReqSmsGetMultimsglen::PackData(string& strData, const string& strKey) -{ - PackHead(strData); -} - -PACKRETCODE CImReqSmsGetMultimsglen::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CImReqSmsGetMultimsglen::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - return PACK_RIGHT; -} - -void CImRspSmsGetMultimsglen::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SMS_GET_MULTIMSGLEN; - m_scHead.PackData(strData); -} - -void CImRspSmsGetMultimsglen::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT32; - (*this) << m_msgLen; - (*this) << FT_UINT32; - (*this) << m_maxUser; - (*this) << FT_UINT32; - (*this) << m_u32Reserve; - (*this) << FT_STRING; - (*this) << m_strReserve; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSmsGetMultimsglen::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSmsGetMultimsglen::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgLen; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_maxUser; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_u32Reserve; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_strReserve; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSmsGetMultimsglen::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - diff --git a/features/aliww/source/.svn/text-base/smss_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/smss_pack.cpp.svn-base deleted file mode 100644 index 4dfaa25..0000000 --- a/features/aliww/source/.svn/text-base/smss_pack.cpp.svn-base +++ /dev/null @@ -1,847 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smss_pack.cpp -// Date: 2011-01-30 12:49:34 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "smss_pack.h" - -void CSsSmsSendmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_SMS_SENDMSG; - m_ssHead.PackData(strData); -} - -void CSsSmsSendmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRUCT; - (*this) << m_fromUser; - (*this) << FT_STRING; - (*this) << m_account; - (*this) << FT_STRING; - (*this) << m_password; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_toUserList.size(); - (*this) << nLen; - VECTOR< SSmsUser >::const_iterator itr; - for(itr = m_toUserList.cbegin(); itr != m_toUserList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_STRING; - (*this) << m_message; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsSmsSendmsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsSmsSendmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 6) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromUser; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_account; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_password; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_toUserList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SSmsUser tmpVal; - (*this) >> tmpVal; - m_toUserList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsSmsSendmsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsReqSmsGetusermsginfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_REQ_SMS_GETUSERMSGINFO; - m_ssHead.PackData(strData); -} - -void CSsReqSmsGetusermsginfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_userId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsReqSmsGetusermsginfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsReqSmsGetusermsginfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsReqSmsGetusermsginfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsRspSmsGetusermsginfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_RSP_SMS_GETUSERMSGINFO; - m_ssHead.PackData(strData); -} - -void CSsRspSmsGetusermsginfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)9; - (*this) << FT_UINT8; - (*this) << m_status; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT32; - (*this) << m_yesterdayMsgCount; - (*this) << FT_UINT32; - (*this) << m_todayMsgCount; - (*this) << FT_UINT32; - (*this) << m_maxMsgCount; - (*this) << FT_UINT32; - (*this) << m_balance; - (*this) << FT_UINT32; - (*this) << m_price; - (*this) << FT_UINT32; - (*this) << m_count; - (*this) << FT_UINT32; - (*this) << m_msgMaxLen; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsRspSmsGetusermsginfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsRspSmsGetusermsginfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 9) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_yesterdayMsgCount; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_todayMsgCount; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_maxMsgCount; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_balance; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_price; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_count; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgMaxLen; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsRspSmsGetusermsginfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CBcNotifySmsSendstatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = BC_NOTIFY_SMS_SENDSTATUS; - m_ssHead.PackData(strData); -} - -void CBcNotifySmsSendstatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_status; - (*this) << FT_STRING; - (*this) << m_fromId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_toUserList.size(); - (*this) << nLen; - VECTOR< SSmsUser >::const_iterator itr; - for(itr = m_toUserList.cbegin(); itr != m_toUserList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_STRING; - (*this) << m_errorDesc; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CBcNotifySmsSendstatus::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CBcNotifySmsSendstatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_toUserList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SSmsUser tmpVal; - (*this) >> tmpVal; - m_toUserList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_errorDesc; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CBcNotifySmsSendstatus::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CBcNotifySmsMessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = BC_NOTIFY_SMS_MESSAGE; - m_ssHead.PackData(strData); -} - -void CBcNotifySmsMessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRUCT; - (*this) << m_fromUser; - (*this) << FT_STRING; - (*this) << m_toId; - (*this) << FT_STRING; - (*this) << m_message; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CBcNotifySmsMessage::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CBcNotifySmsMessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromUser; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_toId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CBcNotifySmsMessage::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CBcNotifySmsChargestatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = BC_NOTIFY_SMS_CHARGESTATUS; - m_ssHead.PackData(strData); -} - -void CBcNotifySmsChargestatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)7; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_chargeId; - (*this) << FT_UINT8; - (*this) << m_chargeStatus; - (*this) << FT_UINT8; - (*this) << m_chargeType; - (*this) << FT_UINT32; - (*this) << m_denomination; - (*this) << FT_UINT32; - (*this) << m_balance; - (*this) << FT_UINT32; - (*this) << m_count; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CBcNotifySmsChargestatus::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CBcNotifySmsChargestatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 7) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_chargeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_chargeStatus; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_chargeType; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_denomination; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_balance; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_count; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CBcNotifySmsChargestatus::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CBcNotifySmsRevflag::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = BC_NOTIFY_SMS_REVFLAG; - m_ssHead.PackData(strData); -} - -void CBcNotifySmsRevflag::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_revFlag; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CBcNotifySmsRevflag::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CBcNotifySmsRevflag::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_revFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CBcNotifySmsRevflag::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsReqSmsGetMultimsglen::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_REQ_SMS_GET_MULTIMSGLEN; - m_ssHead.PackData(strData); -} - -void CSsReqSmsGetMultimsglen::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_userId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsReqSmsGetMultimsglen::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsReqSmsGetMultimsglen::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsReqSmsGetMultimsglen::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsRspSmsGetMultimsglen::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_RSP_SMS_GET_MULTIMSGLEN; - m_ssHead.PackData(strData); -} - -void CSsRspSmsGetMultimsglen::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT32; - (*this) << m_msgLen; - (*this) << FT_UINT32; - (*this) << m_maxUser; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT32; - (*this) << m_u32Reserve; - (*this) << FT_STRING; - (*this) << m_strReserve; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsRspSmsGetMultimsglen::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsRspSmsGetMultimsglen::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgLen; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_maxUser; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_u32Reserve; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_strReserve; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsRspSmsGetMultimsglen::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/.svn/text-base/smssdk_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/smssdk_pack.cpp.svn-base deleted file mode 100644 index 52d2e6d..0000000 --- a/features/aliww/source/.svn/text-base/smssdk_pack.cpp.svn-base +++ /dev/null @@ -1,141 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smssdk_pack.cpp -// Date: 2011-01-30 12:49:55 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "smssdk_pack.h" - -void CSmsUploadMessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_sdkssHead.Size()) - m_sdkssHead.m_len = 0; - else - m_sdkssHead.m_len = strData.size() - m_sdkssHead.Size(); - if(m_sdkssHead.m_cmd == 0) m_sdkssHead.m_cmd = SMS_UPLOAD_MESSAGE; - m_sdkssHead.PackData(strData); -} - -void CSmsUploadMessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_sdkssHead.Size() + 7); - SetOutCursor( m_sdkssHead.Size() ); - (*this) << m_transId; - (*this) << m_fromMobile; - (*this) << m_toAccount; - (*this) << m_sendTime; - (*this) << m_message; - FormData(m_sdkssHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSmsUploadMessage::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSmsUploadMessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_sdkssHead.Size()); - uLongf nHeadLen = m_sdkssHead.Size(); - SetInCursor(nHeadLen); - (*this) >> m_transId; - (*this) >> m_fromMobile; - (*this) >> m_toAccount; - (*this) >> m_sendTime; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSmsUploadMessage::UnpackData(string& strData) -{ - m_sdkssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSmsReportError::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_sdkssHead.Size()) - m_sdkssHead.m_len = 0; - else - m_sdkssHead.m_len = strData.size() - m_sdkssHead.Size(); - if(m_sdkssHead.m_cmd == 0) m_sdkssHead.m_cmd = SMS_REPORT_ERROR; - m_sdkssHead.PackData(strData); -} - -void CSmsReportError::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_sdkssHead.Size() + 7); - SetOutCursor( m_sdkssHead.Size() ); - (*this) << m_status; - (*this) << m_transId; - (*this) << m_desc; - FormData(m_sdkssHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSmsReportError::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSmsReportError::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_sdkssHead.Size()); - uLongf nHeadLen = m_sdkssHead.Size(); - SetInCursor(nHeadLen); - (*this) >> m_status; - (*this) >> m_transId; - (*this) >> m_desc; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSmsReportError::UnpackData(string& strData) -{ - m_sdkssHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/.svn/text-base/smsstrc_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/smsstrc_pack.cpp.svn-base deleted file mode 100644 index 98f1d09..0000000 --- a/features/aliww/source/.svn/text-base/smsstrc_pack.cpp.svn-base +++ /dev/null @@ -1,300 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smsstrc_pack.cpp -// Date: 2011-01-30 12:49:34 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "smsstrc_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SSmsUser& sSmsUser ) -{ - uint8_t nFieldNum = 2; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sSmsUser.m_userId; - cPackData << FT_STRING; - cPackData << sSmsUser.m_mobileNo; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SSmsUser& sSmsUser ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSmsUser.m_userId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSmsUser.m_mobileNo; - for(int i = 2; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CBcNotifySmsMobileonline::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = BC_NOTIFY_SMS_MOBILEONLINE; - m_ssHead.PackData(strData); -} - -void CBcNotifySmsMobileonline::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_onlineFlag; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CBcNotifySmsMobileonline::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CBcNotifySmsMobileonline::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_onlineFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CBcNotifySmsMobileonline::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CBcNotifySmsUserinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = BC_NOTIFY_SMS_USERINFO; - m_ssHead.PackData(strData); -} - -void CBcNotifySmsUserinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)7; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_bindFlag; - (*this) << FT_UINT8; - (*this) << m_onlineFlag; - (*this) << FT_UINT8; - (*this) << m_revFlag; - (*this) << FT_STRING; - (*this) << m_mobileNo; - (*this) << FT_UINT32; - (*this) << m_balance; - (*this) << FT_UINT32; - (*this) << m_price; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CBcNotifySmsUserinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CBcNotifySmsUserinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 7) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_bindFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_onlineFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_revFlag; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_mobileNo; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_balance; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_price; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CBcNotifySmsUserinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CBcNotifySmsUserconfig::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = BC_NOTIFY_SMS_USERCONFIG; - m_ssHead.PackData(strData); -} - -void CBcNotifySmsUserconfig::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_onlineFlag; - (*this) << FT_UINT8; - (*this) << m_revFlag; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CBcNotifySmsUserconfig::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CBcNotifySmsUserconfig::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_onlineFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_revFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CBcNotifySmsUserconfig::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/.svn/text-base/snsscores.cpp.svn-base b/features/aliww/source/.svn/text-base/snsscores.cpp.svn-base deleted file mode 100644 index d562935..0000000 --- a/features/aliww/source/.svn/text-base/snsscores.cpp.svn-base +++ /dev/null @@ -1,1685 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `snsscores.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __ALISNS__ScoreInterface__addBehaviorScore_name = "addBehaviorScore"; - -static const ::std::string __ALISNS__ScoreInterface__updateScore_name = "updateScore"; - -static const ::std::string __ALISNS__ScoreInterface__getUserTotalScore_name = "getUserTotalScore"; - -static const ::std::string __ALISNS__ScoreInterface__getUserScoreFlows_name = "getUserScoreFlows"; - -static const ::std::string __ALISNS__ScoreInterface__getBidConfig_name = "getBidConfig"; - -static const ::std::string __ALISNS__ScoreInterface__getBidScoreInfo_name = "getBidScoreInfo"; - -static const ::std::string __ALISNS__ScoreInterface__getUserBidScoreInfo_name = "getUserBidScoreInfo"; - -void -IceInternal::incRef(::ALISNS::ScoreInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::ALISNS::ScoreInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::ALISNS::ScoreInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::ALISNS::ScoreInterface* p) -{ - p->__decRef(); -} - -void -ALISNS::__write(::IceInternal::BasicStream* __os, const ::ALISNS::ScoreInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -ALISNS::__read(::IceInternal::BasicStream* __is, ::ALISNS::ScoreInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::ALISNS::ScoreInterface; - v->__copyFrom(proxy); - } -} - -void -ALISNS::__write(::IceInternal::BasicStream* __os, const ::ALISNS::ScoreInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -ALISNS::ScoreFlowUnit::operator==(const ScoreFlowUnit& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALISNS::ScoreFlowUnit::operator!=(const ScoreFlowUnit& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(flowID != __rhs.flowID) - { - return true; - } - if(gmtCreate != __rhs.gmtCreate) - { - return true; - } - if(gmtModified != __rhs.gmtModified) - { - return true; - } - if(userLongId != __rhs.userLongId) - { - return true; - } - if(behaviorId != __rhs.behaviorId) - { - return true; - } - if(behaviorName != __rhs.behaviorName) - { - return true; - } - if(score != __rhs.score) - { - return true; - } - if(note != __rhs.note) - { - return true; - } - return false; -} - -bool -ALISNS::ScoreFlowUnit::operator<(const ScoreFlowUnit& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(flowID < __rhs.flowID) - { - return true; - } - else if(__rhs.flowID < flowID) - { - return false; - } - if(gmtCreate < __rhs.gmtCreate) - { - return true; - } - else if(__rhs.gmtCreate < gmtCreate) - { - return false; - } - if(gmtModified < __rhs.gmtModified) - { - return true; - } - else if(__rhs.gmtModified < gmtModified) - { - return false; - } - if(userLongId < __rhs.userLongId) - { - return true; - } - else if(__rhs.userLongId < userLongId) - { - return false; - } - if(behaviorId < __rhs.behaviorId) - { - return true; - } - else if(__rhs.behaviorId < behaviorId) - { - return false; - } - if(behaviorName < __rhs.behaviorName) - { - return true; - } - else if(__rhs.behaviorName < behaviorName) - { - return false; - } - if(score < __rhs.score) - { - return true; - } - else if(__rhs.score < score) - { - return false; - } - if(note < __rhs.note) - { - return true; - } - else if(__rhs.note < note) - { - return false; - } - return false; -} - -void -ALISNS::ScoreFlowUnit::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(flowID); - __os->write(gmtCreate); - __os->write(gmtModified); - __os->write(userLongId); - __os->write(behaviorId); - __os->write(behaviorName); - __os->write(score); - __os->write(note); -} - -void -ALISNS::ScoreFlowUnit::__read(::IceInternal::BasicStream* __is) -{ - __is->read(flowID); - __is->read(gmtCreate); - __is->read(gmtModified); - __is->read(userLongId); - __is->read(behaviorId); - __is->read(behaviorName); - __is->read(score); - __is->read(note); -} - -bool -ALISNS::BidConfigInfo::operator==(const BidConfigInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALISNS::BidConfigInfo::operator!=(const BidConfigInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(sBid != __rhs.sBid) - { - return true; - } - if(sName != __rhs.sName) - { - return true; - } - if(sAppId != __rhs.sAppId) - { - return true; - } - if(iTimesLimit != __rhs.iTimesLimit) - { - return true; - } - if(iScoreLimit != __rhs.iScoreLimit) - { - return true; - } - if(iDayTimesLimit != __rhs.iDayTimesLimit) - { - return true; - } - if(iDayScoreLimit != __rhs.iDayScoreLimit) - { - return true; - } - if(iPersonTimesLimit != __rhs.iPersonTimesLimit) - { - return true; - } - if(iPersonScoreLimit != __rhs.iPersonScoreLimit) - { - return true; - } - if(iPersonDayTimesLimit != __rhs.iPersonDayTimesLimit) - { - return true; - } - if(iPersonDayScoreLimit != __rhs.iPersonDayScoreLimit) - { - return true; - } - if(iScoreType != __rhs.iScoreType) - { - return true; - } - if(iScore != __rhs.iScore) - { - return true; - } - if(iStatus != __rhs.iStatus) - { - return true; - } - return false; -} - -bool -ALISNS::BidConfigInfo::operator<(const BidConfigInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(sBid < __rhs.sBid) - { - return true; - } - else if(__rhs.sBid < sBid) - { - return false; - } - if(sName < __rhs.sName) - { - return true; - } - else if(__rhs.sName < sName) - { - return false; - } - if(sAppId < __rhs.sAppId) - { - return true; - } - else if(__rhs.sAppId < sAppId) - { - return false; - } - if(iTimesLimit < __rhs.iTimesLimit) - { - return true; - } - else if(__rhs.iTimesLimit < iTimesLimit) - { - return false; - } - if(iScoreLimit < __rhs.iScoreLimit) - { - return true; - } - else if(__rhs.iScoreLimit < iScoreLimit) - { - return false; - } - if(iDayTimesLimit < __rhs.iDayTimesLimit) - { - return true; - } - else if(__rhs.iDayTimesLimit < iDayTimesLimit) - { - return false; - } - if(iDayScoreLimit < __rhs.iDayScoreLimit) - { - return true; - } - else if(__rhs.iDayScoreLimit < iDayScoreLimit) - { - return false; - } - if(iPersonTimesLimit < __rhs.iPersonTimesLimit) - { - return true; - } - else if(__rhs.iPersonTimesLimit < iPersonTimesLimit) - { - return false; - } - if(iPersonScoreLimit < __rhs.iPersonScoreLimit) - { - return true; - } - else if(__rhs.iPersonScoreLimit < iPersonScoreLimit) - { - return false; - } - if(iPersonDayTimesLimit < __rhs.iPersonDayTimesLimit) - { - return true; - } - else if(__rhs.iPersonDayTimesLimit < iPersonDayTimesLimit) - { - return false; - } - if(iPersonDayScoreLimit < __rhs.iPersonDayScoreLimit) - { - return true; - } - else if(__rhs.iPersonDayScoreLimit < iPersonDayScoreLimit) - { - return false; - } - if(iScoreType < __rhs.iScoreType) - { - return true; - } - else if(__rhs.iScoreType < iScoreType) - { - return false; - } - if(iScore < __rhs.iScore) - { - return true; - } - else if(__rhs.iScore < iScore) - { - return false; - } - if(iStatus < __rhs.iStatus) - { - return true; - } - else if(__rhs.iStatus < iStatus) - { - return false; - } - return false; -} - -void -ALISNS::BidConfigInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(sBid); - __os->write(sName); - __os->write(sAppId); - __os->write(iTimesLimit); - __os->write(iScoreLimit); - __os->write(iDayTimesLimit); - __os->write(iDayScoreLimit); - __os->write(iPersonTimesLimit); - __os->write(iPersonScoreLimit); - __os->write(iPersonDayTimesLimit); - __os->write(iPersonDayScoreLimit); - __os->write(iScoreType); - __os->write(iScore); - __os->write(iStatus); -} - -void -ALISNS::BidConfigInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(sBid); - __is->read(sName); - __is->read(sAppId); - __is->read(iTimesLimit); - __is->read(iScoreLimit); - __is->read(iDayTimesLimit); - __is->read(iDayScoreLimit); - __is->read(iPersonTimesLimit); - __is->read(iPersonScoreLimit); - __is->read(iPersonDayTimesLimit); - __is->read(iPersonDayScoreLimit); - __is->read(iScoreType); - __is->read(iScore); - __is->read(iStatus); -} - -void -ALISNS::__write(::IceInternal::BasicStream* __os, const ::ALISNS::ScoreFlowUnit* begin, const ::ALISNS::ScoreFlowUnit* end, ::ALISNS::__U__ScoreFlows) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALISNS::__read(::IceInternal::BasicStream* __is, ::ALISNS::ScoreFlows& v, ::ALISNS::__U__ScoreFlows) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 14); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -ALISNS::__addObject(const ScoreInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -ALISNS::__usesClasses(const ScoreInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -ALISNS::__decRefUnsafe(const ScoreInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -ALISNS::__clearHandleUnsafe(ScoreInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::ALISNS::ScoreInterface::addBehaviorScore(const ::std::string& userLongId, const ::std::string& behaviorId, const ::std::string& note, ::Ice::Int& behaviorScore, ::Ice::Int& userScore, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALISNS__ScoreInterface__addBehaviorScore_name); - __delBase = __getDelegate(); - ::IceDelegate::ALISNS::ScoreInterface* __del = dynamic_cast< ::IceDelegate::ALISNS::ScoreInterface*>(__delBase.get()); - return __del->addBehaviorScore(userLongId, behaviorId, note, behaviorScore, userScore, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALISNS::ScoreInterface::updateScore(const ::std::string& userLongId, const ::std::string& behaviorId, const ::std::string& note, ::Ice::Int score, ::Ice::Int& userScore, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALISNS__ScoreInterface__updateScore_name); - __delBase = __getDelegate(); - ::IceDelegate::ALISNS::ScoreInterface* __del = dynamic_cast< ::IceDelegate::ALISNS::ScoreInterface*>(__delBase.get()); - return __del->updateScore(userLongId, behaviorId, note, score, userScore, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALISNS::ScoreInterface::getUserTotalScore(const ::std::string& userLongId, ::Ice::Int& userScore, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALISNS__ScoreInterface__getUserTotalScore_name); - __delBase = __getDelegate(); - ::IceDelegate::ALISNS::ScoreInterface* __del = dynamic_cast< ::IceDelegate::ALISNS::ScoreInterface*>(__delBase.get()); - return __del->getUserTotalScore(userLongId, userScore, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALISNS::ScoreInterface::getUserScoreFlows(const ::std::string& userLongId, const ::std::string& beginDate, const ::std::string& endDate, ::Ice::Int start, ::Ice::Int pageCount, ::Ice::Int& totalNum, ::ALISNS::ScoreFlows& flows, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALISNS__ScoreInterface__getUserScoreFlows_name); - __delBase = __getDelegate(); - ::IceDelegate::ALISNS::ScoreInterface* __del = dynamic_cast< ::IceDelegate::ALISNS::ScoreInterface*>(__delBase.get()); - return __del->getUserScoreFlows(userLongId, beginDate, endDate, start, pageCount, totalNum, flows, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALISNS::ScoreInterface::getBidConfig(const ::std::string& sBid, ::ALISNS::BidConfigInfo& conf, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALISNS__ScoreInterface__getBidConfig_name); - __delBase = __getDelegate(); - ::IceDelegate::ALISNS::ScoreInterface* __del = dynamic_cast< ::IceDelegate::ALISNS::ScoreInterface*>(__delBase.get()); - return __del->getBidConfig(sBid, conf, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALISNS::ScoreInterface::getBidScoreInfo(const ::std::string& sBid, ::Ice::Int& iScoreTimes, ::Ice::Int& iTotalScore, ::Ice::Int& iDayScoreTimes, ::Ice::Int& iDayTotalScore, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALISNS__ScoreInterface__getBidScoreInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::ALISNS::ScoreInterface* __del = dynamic_cast< ::IceDelegate::ALISNS::ScoreInterface*>(__delBase.get()); - return __del->getBidScoreInfo(sBid, iScoreTimes, iTotalScore, iDayScoreTimes, iDayTotalScore, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALISNS::ScoreInterface::getUserBidScoreInfo(const ::std::string& userLongId, const ::std::string& behaviorId, ::Ice::Int& iPersonTotalScore, ::Ice::Int& iPersonAwardScore, ::Ice::Int& iPersonBidTotalTimes, ::Ice::Int& iPersonBidTotalScore, ::Ice::Int& iPersonDayBidTotalTimes, ::Ice::Int& iPersonDayBidTotalScore, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALISNS__ScoreInterface__getUserBidScoreInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::ALISNS::ScoreInterface* __del = dynamic_cast< ::IceDelegate::ALISNS::ScoreInterface*>(__delBase.get()); - return __del->getUserBidScoreInfo(userLongId, behaviorId, iPersonTotalScore, iPersonAwardScore, iPersonBidTotalTimes, iPersonBidTotalScore, iPersonDayBidTotalTimes, iPersonDayBidTotalScore, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::ALISNS::ScoreInterface::ice_staticId() -{ - return ::ALISNS::ScoreInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::ALISNS::ScoreInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::ALISNS::ScoreInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::ALISNS::ScoreInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::ALISNS::ScoreInterface); -} - -bool -IceProxy::ALISNS::operator==(const ::IceProxy::ALISNS::ScoreInterface& l, const ::IceProxy::ALISNS::ScoreInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::ALISNS::operator!=(const ::IceProxy::ALISNS::ScoreInterface& l, const ::IceProxy::ALISNS::ScoreInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::ALISNS::operator<(const ::IceProxy::ALISNS::ScoreInterface& l, const ::IceProxy::ALISNS::ScoreInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::ALISNS::operator<=(const ::IceProxy::ALISNS::ScoreInterface& l, const ::IceProxy::ALISNS::ScoreInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::ALISNS::operator>(const ::IceProxy::ALISNS::ScoreInterface& l, const ::IceProxy::ALISNS::ScoreInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::ALISNS::operator>=(const ::IceProxy::ALISNS::ScoreInterface& l, const ::IceProxy::ALISNS::ScoreInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::ALISNS::ScoreInterface::addBehaviorScore(const ::std::string& userLongId, const ::std::string& behaviorId, const ::std::string& note, ::Ice::Int& behaviorScore, ::Ice::Int& userScore, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALISNS__ScoreInterface__addBehaviorScore_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userLongId); - __os->write(behaviorId); - __os->write(note); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(behaviorScore); - __is->read(userScore); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALISNS::ScoreInterface::updateScore(const ::std::string& userLongId, const ::std::string& behaviorId, const ::std::string& note, ::Ice::Int score, ::Ice::Int& userScore, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALISNS__ScoreInterface__updateScore_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userLongId); - __os->write(behaviorId); - __os->write(note); - __os->write(score); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userScore); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALISNS::ScoreInterface::getUserTotalScore(const ::std::string& userLongId, ::Ice::Int& userScore, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALISNS__ScoreInterface__getUserTotalScore_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userLongId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userScore); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALISNS::ScoreInterface::getUserScoreFlows(const ::std::string& userLongId, const ::std::string& beginDate, const ::std::string& endDate, ::Ice::Int start, ::Ice::Int pageCount, ::Ice::Int& totalNum, ::ALISNS::ScoreFlows& flows, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALISNS__ScoreInterface__getUserScoreFlows_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userLongId); - __os->write(beginDate); - __os->write(endDate); - __os->write(start); - __os->write(pageCount); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(totalNum); - ::ALISNS::__read(__is, flows, ::ALISNS::__U__ScoreFlows()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALISNS::ScoreInterface::getBidConfig(const ::std::string& sBid, ::ALISNS::BidConfigInfo& conf, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALISNS__ScoreInterface__getBidConfig_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(sBid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - conf.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALISNS::ScoreInterface::getBidScoreInfo(const ::std::string& sBid, ::Ice::Int& iScoreTimes, ::Ice::Int& iTotalScore, ::Ice::Int& iDayScoreTimes, ::Ice::Int& iDayTotalScore, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALISNS__ScoreInterface__getBidScoreInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(sBid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(iScoreTimes); - __is->read(iTotalScore); - __is->read(iDayScoreTimes); - __is->read(iDayTotalScore); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALISNS::ScoreInterface::getUserBidScoreInfo(const ::std::string& userLongId, const ::std::string& behaviorId, ::Ice::Int& iPersonTotalScore, ::Ice::Int& iPersonAwardScore, ::Ice::Int& iPersonBidTotalTimes, ::Ice::Int& iPersonBidTotalScore, ::Ice::Int& iPersonDayBidTotalTimes, ::Ice::Int& iPersonDayBidTotalScore, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALISNS__ScoreInterface__getUserBidScoreInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userLongId); - __os->write(behaviorId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(iPersonTotalScore); - __is->read(iPersonAwardScore); - __is->read(iPersonBidTotalTimes); - __is->read(iPersonBidTotalScore); - __is->read(iPersonDayBidTotalTimes); - __is->read(iPersonDayBidTotalScore); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::ALISNS::ScoreInterface::addBehaviorScore(const ::std::string& userLongId, const ::std::string& behaviorId, const ::std::string& note, ::Ice::Int& behaviorScore, ::Ice::Int& userScore, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALISNS__ScoreInterface__addBehaviorScore_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALISNS::ScoreInterface* __servant = dynamic_cast< ::ALISNS::ScoreInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->addBehaviorScore(userLongId, behaviorId, note, behaviorScore, userScore, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALISNS::ScoreInterface::updateScore(const ::std::string& userLongId, const ::std::string& behaviorId, const ::std::string& note, ::Ice::Int score, ::Ice::Int& userScore, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALISNS__ScoreInterface__updateScore_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALISNS::ScoreInterface* __servant = dynamic_cast< ::ALISNS::ScoreInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateScore(userLongId, behaviorId, note, score, userScore, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALISNS::ScoreInterface::getUserTotalScore(const ::std::string& userLongId, ::Ice::Int& userScore, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALISNS__ScoreInterface__getUserTotalScore_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALISNS::ScoreInterface* __servant = dynamic_cast< ::ALISNS::ScoreInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserTotalScore(userLongId, userScore, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALISNS::ScoreInterface::getUserScoreFlows(const ::std::string& userLongId, const ::std::string& beginDate, const ::std::string& endDate, ::Ice::Int start, ::Ice::Int pageCount, ::Ice::Int& totalNum, ::ALISNS::ScoreFlows& flows, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALISNS__ScoreInterface__getUserScoreFlows_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALISNS::ScoreInterface* __servant = dynamic_cast< ::ALISNS::ScoreInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserScoreFlows(userLongId, beginDate, endDate, start, pageCount, totalNum, flows, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALISNS::ScoreInterface::getBidConfig(const ::std::string& sBid, ::ALISNS::BidConfigInfo& conf, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALISNS__ScoreInterface__getBidConfig_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALISNS::ScoreInterface* __servant = dynamic_cast< ::ALISNS::ScoreInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getBidConfig(sBid, conf, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALISNS::ScoreInterface::getBidScoreInfo(const ::std::string& sBid, ::Ice::Int& iScoreTimes, ::Ice::Int& iTotalScore, ::Ice::Int& iDayScoreTimes, ::Ice::Int& iDayTotalScore, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALISNS__ScoreInterface__getBidScoreInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALISNS::ScoreInterface* __servant = dynamic_cast< ::ALISNS::ScoreInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getBidScoreInfo(sBid, iScoreTimes, iTotalScore, iDayScoreTimes, iDayTotalScore, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALISNS::ScoreInterface::getUserBidScoreInfo(const ::std::string& userLongId, const ::std::string& behaviorId, ::Ice::Int& iPersonTotalScore, ::Ice::Int& iPersonAwardScore, ::Ice::Int& iPersonBidTotalTimes, ::Ice::Int& iPersonBidTotalScore, ::Ice::Int& iPersonDayBidTotalTimes, ::Ice::Int& iPersonDayBidTotalScore, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALISNS__ScoreInterface__getUserBidScoreInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALISNS::ScoreInterface* __servant = dynamic_cast< ::ALISNS::ScoreInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserBidScoreInfo(userLongId, behaviorId, iPersonTotalScore, iPersonAwardScore, iPersonBidTotalTimes, iPersonBidTotalScore, iPersonDayBidTotalTimes, iPersonDayBidTotalScore, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -ALISNS::ScoreInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __ALISNS__ScoreInterface_ids[2] = -{ - "::ALISNS::ScoreInterface", - "::Ice::Object" -}; - -bool -ALISNS::ScoreInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__ALISNS__ScoreInterface_ids, __ALISNS__ScoreInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -ALISNS::ScoreInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__ALISNS__ScoreInterface_ids[0], &__ALISNS__ScoreInterface_ids[2]); -} - -const ::std::string& -ALISNS::ScoreInterface::ice_id(const ::Ice::Current&) const -{ - return __ALISNS__ScoreInterface_ids[0]; -} - -const ::std::string& -ALISNS::ScoreInterface::ice_staticId() -{ - return __ALISNS__ScoreInterface_ids[0]; -} - -::IceInternal::DispatchStatus -ALISNS::ScoreInterface::___addBehaviorScore(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userLongId; - ::std::string behaviorId; - ::std::string note; - __is->read(userLongId); - __is->read(behaviorId); - __is->read(note); - ::Ice::Int behaviorScore; - ::Ice::Int userScore; - ::Ice::Int __ret = addBehaviorScore(userLongId, behaviorId, note, behaviorScore, userScore, __current); - __os->write(behaviorScore); - __os->write(userScore); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALISNS::ScoreInterface::___updateScore(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userLongId; - ::std::string behaviorId; - ::std::string note; - ::Ice::Int score; - __is->read(userLongId); - __is->read(behaviorId); - __is->read(note); - __is->read(score); - ::Ice::Int userScore; - ::Ice::Int __ret = updateScore(userLongId, behaviorId, note, score, userScore, __current); - __os->write(userScore); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALISNS::ScoreInterface::___getUserTotalScore(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userLongId; - __is->read(userLongId); - ::Ice::Int userScore; - ::Ice::Int __ret = getUserTotalScore(userLongId, userScore, __current); - __os->write(userScore); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALISNS::ScoreInterface::___getUserScoreFlows(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userLongId; - ::std::string beginDate; - ::std::string endDate; - ::Ice::Int start; - ::Ice::Int pageCount; - __is->read(userLongId); - __is->read(beginDate); - __is->read(endDate); - __is->read(start); - __is->read(pageCount); - ::Ice::Int totalNum; - ::ALISNS::ScoreFlows flows; - ::Ice::Int __ret = getUserScoreFlows(userLongId, beginDate, endDate, start, pageCount, totalNum, flows, __current); - __os->write(totalNum); - if(flows.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALISNS::__write(__os, &flows[0], &flows[0] + flows.size(), ::ALISNS::__U__ScoreFlows()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALISNS::ScoreInterface::___getBidConfig(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string sBid; - __is->read(sBid); - ::ALISNS::BidConfigInfo conf; - ::Ice::Int __ret = getBidConfig(sBid, conf, __current); - conf.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALISNS::ScoreInterface::___getBidScoreInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string sBid; - __is->read(sBid); - ::Ice::Int iScoreTimes; - ::Ice::Int iTotalScore; - ::Ice::Int iDayScoreTimes; - ::Ice::Int iDayTotalScore; - ::Ice::Int __ret = getBidScoreInfo(sBid, iScoreTimes, iTotalScore, iDayScoreTimes, iDayTotalScore, __current); - __os->write(iScoreTimes); - __os->write(iTotalScore); - __os->write(iDayScoreTimes); - __os->write(iDayTotalScore); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALISNS::ScoreInterface::___getUserBidScoreInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userLongId; - ::std::string behaviorId; - __is->read(userLongId); - __is->read(behaviorId); - ::Ice::Int iPersonTotalScore; - ::Ice::Int iPersonAwardScore; - ::Ice::Int iPersonBidTotalTimes; - ::Ice::Int iPersonBidTotalScore; - ::Ice::Int iPersonDayBidTotalTimes; - ::Ice::Int iPersonDayBidTotalScore; - ::Ice::Int __ret = getUserBidScoreInfo(userLongId, behaviorId, iPersonTotalScore, iPersonAwardScore, iPersonBidTotalTimes, iPersonBidTotalScore, iPersonDayBidTotalTimes, iPersonDayBidTotalScore, __current); - __os->write(iPersonTotalScore); - __os->write(iPersonAwardScore); - __os->write(iPersonBidTotalTimes); - __os->write(iPersonBidTotalScore); - __os->write(iPersonDayBidTotalTimes); - __os->write(iPersonDayBidTotalScore); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __ALISNS__ScoreInterface_all[] = -{ - "addBehaviorScore", - "getBidConfig", - "getBidScoreInfo", - "getUserBidScoreInfo", - "getUserScoreFlows", - "getUserTotalScore", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "updateScore" -}; - -::IceInternal::DispatchStatus -ALISNS::ScoreInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__ALISNS__ScoreInterface_all, __ALISNS__ScoreInterface_all + 11, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __ALISNS__ScoreInterface_all) - { - case 0: - { - return ___addBehaviorScore(in, current); - } - case 1: - { - return ___getBidConfig(in, current); - } - case 2: - { - return ___getBidScoreInfo(in, current); - } - case 3: - { - return ___getUserBidScoreInfo(in, current); - } - case 4: - { - return ___getUserScoreFlows(in, current); - } - case 5: - { - return ___getUserTotalScore(in, current); - } - case 6: - { - return ___ice_id(in, current); - } - case 7: - { - return ___ice_ids(in, current); - } - case 8: - { - return ___ice_isA(in, current); - } - case 9: - { - return ___ice_ping(in, current); - } - case 10: - { - return ___updateScore(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -ALISNS::ScoreInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -ALISNS::ScoreInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -ALISNS::ScoreInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type ALISNS::ScoreInterface was not generated with stream support"; - throw ex; -} - -void -ALISNS::ScoreInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type ALISNS::ScoreInterface was not generated with stream support"; - throw ex; -} - -void -ALISNS::__patch__ScoreInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::ALISNS::ScoreInterfacePtr* p = static_cast< ::ALISNS::ScoreInterfacePtr*>(__addr); - assert(p); - *p = ::ALISNS::ScoreInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::ALISNS::ScoreInterface::ice_staticId(); - throw e; - } -} - -bool -ALISNS::operator==(const ::ALISNS::ScoreInterface& l, const ::ALISNS::ScoreInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -ALISNS::operator!=(const ::ALISNS::ScoreInterface& l, const ::ALISNS::ScoreInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -ALISNS::operator<(const ::ALISNS::ScoreInterface& l, const ::ALISNS::ScoreInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -ALISNS::operator<=(const ::ALISNS::ScoreInterface& l, const ::ALISNS::ScoreInterface& r) -{ - return l < r || l == r; -} - -bool -ALISNS::operator>(const ::ALISNS::ScoreInterface& l, const ::ALISNS::ScoreInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -ALISNS::operator>=(const ::ALISNS::ScoreInterface& l, const ::ALISNS::ScoreInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/spacecontact.cpp.svn-base b/features/aliww/source/.svn/text-base/spacecontact.cpp.svn-base deleted file mode 100644 index ed23cdc..0000000 --- a/features/aliww/source/.svn/text-base/spacecontact.cpp.svn-base +++ /dev/null @@ -1,2885 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `spacecontact.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__GetContactList_name = "GetContactList"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__GetSpaceContactList_name = "GetSpaceContactList"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__GetNotSpaceContactList_name = "GetNotSpaceContactList"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__GetContactListCount_name = "GetContactListCount"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__GetSpaceContactListCount_name = "GetSpaceContactListCount"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__GetNotSpaceContactListCount_name = "GetNotSpaceContactListCount"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__AddSpaceContact_name = "AddSpaceContact"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__DeleteSpaceContact_name = "DeleteSpaceContact"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__GetSpaceGroupList_name = "GetSpaceGroupList"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__GetSpaceGroupListEx_name = "GetSpaceGroupListEx"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__AddSpaceGroup_name = "AddSpaceGroup"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__UpdateSpaceGroup_name = "UpdateSpaceGroup"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__UpdateContactSpaceGroup_name = "UpdateContactSpaceGroup"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__RemoveSpaceGroup_name = "RemoveSpaceGroup"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__GetSpaceGroupContactList_name = "GetSpaceGroupContactList"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__UpdateContactNickName_name = "UpdateContactNickName"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__checkContact_name = "checkContact"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__checkSpaceContact_name = "checkSpaceContact"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__checkCanAddContact_name = "checkCanAddContact"; - -void -IceInternal::incRef(::AliIMDBBase::SpaceGroupInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIMDBBase::SpaceGroupInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIMDBBase::SpaceGroupInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIMDBBase::SpaceGroupInterface* p) -{ - p->__decRef(); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SpaceGroupInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SpaceGroupInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIMDBBase::SpaceGroupInterface; - v->__copyFrom(proxy); - } -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SpaceGroupInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::StrKVMap& v, ::AliIMDBBase::__U__StrKVMap) -{ - __os->writeSize(::Ice::Int(v.size())); - ::AliIMDBBase::StrKVMap::const_iterator p; - for(p = v.begin(); p != v.end(); ++p) - { - __os->write(p->first); - __os->write(p->second); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::StrKVMap& v, ::AliIMDBBase::__U__StrKVMap) -{ - ::Ice::Int sz; - __is->readSize(sz); - while(sz--) - { - ::std::pair pair; - __is->read(const_cast< ::std::string&>(pair.first)); - ::AliIMDBBase::StrKVMap::iterator __i = v.insert(v.end(), pair); - __is->read(__i->second); - } -} - -void -AliIMDBBase::__addObject(const SpaceGroupInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIMDBBase::__usesClasses(const SpaceGroupInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIMDBBase::__decRefUnsafe(const SpaceGroupInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIMDBBase::__clearHandleUnsafe(SpaceGroupInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::GetContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__GetContactList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->GetContactList(userId, pageno, pageSize, totalNum, contactList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::GetSpaceContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__GetSpaceContactList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->GetSpaceContactList(userId, pageno, pageSize, totalNum, contactList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::GetNotSpaceContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__GetNotSpaceContactList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->GetNotSpaceContactList(userId, pageno, pageSize, totalNum, contactList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::GetContactListCount(const ::std::string& userId, ::Ice::Int& recordNum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__GetContactListCount_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->GetContactListCount(userId, recordNum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::GetSpaceContactListCount(const ::std::string& userId, ::Ice::Int& recordNum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__GetSpaceContactListCount_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->GetSpaceContactListCount(userId, recordNum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::GetNotSpaceContactListCount(const ::std::string& userId, ::Ice::Int& recordNum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__GetNotSpaceContactListCount_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->GetNotSpaceContactListCount(userId, recordNum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::AddSpaceContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int groupId, ::Ice::Int cntgroupId, const ::std::string& userNickname, const ::std::string& contactNickname, ::Ice::Int& friendnum, ::Ice::Int& blacklist, ::Ice::Int& verify, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__AddSpaceContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->AddSpaceContact(userId, contactId, groupId, cntgroupId, userNickname, contactNickname, friendnum, blacklist, verify, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::DeleteSpaceContact(const ::std::string& userId, const ::std::string& contactId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__DeleteSpaceContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->DeleteSpaceContact(userId, contactId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::GetSpaceGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__GetSpaceGroupList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->GetSpaceGroupList(userId, groupList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::GetSpaceGroupListEx(const ::std::string& userId, ::spaceContact::SICESpaceGroupInfoSeq& groupList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__GetSpaceGroupListEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->GetSpaceGroupListEx(userId, groupList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::AddSpaceGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__AddSpaceGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->AddSpaceGroup(userId, groupName, groupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::UpdateSpaceGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__UpdateSpaceGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->UpdateSpaceGroup(userId, groupName, groupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::UpdateContactSpaceGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__UpdateContactSpaceGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->UpdateContactSpaceGroup(userId, contactId, srcGroupId, dstGroupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::RemoveSpaceGroup(const ::std::string& userId, ::Ice::Int groupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__RemoveSpaceGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->RemoveSpaceGroup(userId, groupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::GetSpaceGroupContactList(const ::std::string& userId, ::Ice::Int groupId, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__GetSpaceGroupContactList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->GetSpaceGroupContactList(userId, groupId, contactList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::UpdateContactNickName(const ::std::string& userId, const ::std::string& contactid, const ::std::string& nickname, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__UpdateContactNickName_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->UpdateContactNickName(userId, contactid, nickname, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::checkContact(const ::std::string& uid, const ::Ice::StringSeq& contactId, ::Ice::IntSeq& result, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__checkContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->checkContact(uid, contactId, result, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::checkSpaceContact(const ::std::string& uid, const ::Ice::StringSeq& contactId, ::Ice::IntSeq& result, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__checkSpaceContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->checkSpaceContact(uid, contactId, result, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::checkCanAddContact(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int checkType, ::Ice::Int& errorCode, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__checkCanAddContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->checkCanAddContact(uid, contactId, checkType, errorCode, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIMDBBase::SpaceGroupInterface::ice_staticId() -{ - return ::AliIMDBBase::SpaceGroupInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIMDBBase::SpaceGroupInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIMDBBase::SpaceGroupInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIMDBBase::SpaceGroupInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIMDBBase::SpaceGroupInterface); -} - -bool -IceProxy::AliIMDBBase::operator==(const ::IceProxy::AliIMDBBase::SpaceGroupInterface& l, const ::IceProxy::AliIMDBBase::SpaceGroupInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIMDBBase::operator!=(const ::IceProxy::AliIMDBBase::SpaceGroupInterface& l, const ::IceProxy::AliIMDBBase::SpaceGroupInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIMDBBase::operator<(const ::IceProxy::AliIMDBBase::SpaceGroupInterface& l, const ::IceProxy::AliIMDBBase::SpaceGroupInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIMDBBase::operator<=(const ::IceProxy::AliIMDBBase::SpaceGroupInterface& l, const ::IceProxy::AliIMDBBase::SpaceGroupInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIMDBBase::operator>(const ::IceProxy::AliIMDBBase::SpaceGroupInterface& l, const ::IceProxy::AliIMDBBase::SpaceGroupInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIMDBBase::operator>=(const ::IceProxy::AliIMDBBase::SpaceGroupInterface& l, const ::IceProxy::AliIMDBBase::SpaceGroupInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::GetContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__GetContactList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(pageno); - __os->write(pageSize); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(totalNum); - ::spaceContact::__read(__is, contactList, ::spaceContact::__U__SICESpaceContactInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::GetSpaceContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__GetSpaceContactList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(pageno); - __os->write(pageSize); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(totalNum); - ::spaceContact::__read(__is, contactList, ::spaceContact::__U__SICESpaceContactInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::GetNotSpaceContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__GetNotSpaceContactList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(pageno); - __os->write(pageSize); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(totalNum); - ::spaceContact::__read(__is, contactList, ::spaceContact::__U__SICESpaceContactInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::GetContactListCount(const ::std::string& userId, ::Ice::Int& recordNum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__GetContactListCount_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(recordNum); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::GetSpaceContactListCount(const ::std::string& userId, ::Ice::Int& recordNum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__GetSpaceContactListCount_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(recordNum); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::GetNotSpaceContactListCount(const ::std::string& userId, ::Ice::Int& recordNum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__GetNotSpaceContactListCount_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(recordNum); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::AddSpaceContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int groupId, ::Ice::Int cntgroupId, const ::std::string& userNickname, const ::std::string& contactNickname, ::Ice::Int& friendnum, ::Ice::Int& blacklist, ::Ice::Int& verify, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__AddSpaceContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - __os->write(groupId); - __os->write(cntgroupId); - __os->write(userNickname); - __os->write(contactNickname); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(friendnum); - __is->read(blacklist); - __is->read(verify); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::DeleteSpaceContact(const ::std::string& userId, const ::std::string& contactId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__DeleteSpaceContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::GetSpaceGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__GetSpaceGroupList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, groupList, ::AliIMDBBase::__U__SICEGroupInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::GetSpaceGroupListEx(const ::std::string& userId, ::spaceContact::SICESpaceGroupInfoSeq& groupList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__GetSpaceGroupListEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::spaceContact::__read(__is, groupList, ::spaceContact::__U__SICESpaceGroupInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::AddSpaceGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__AddSpaceGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupName); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::UpdateSpaceGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__UpdateSpaceGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupName); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::UpdateContactSpaceGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__UpdateContactSpaceGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - __os->write(srcGroupId); - __os->write(dstGroupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::RemoveSpaceGroup(const ::std::string& userId, ::Ice::Int groupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__RemoveSpaceGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::GetSpaceGroupContactList(const ::std::string& userId, ::Ice::Int groupId, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__GetSpaceGroupContactList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::spaceContact::__read(__is, contactList, ::spaceContact::__U__SICESpaceContactInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::UpdateContactNickName(const ::std::string& userId, const ::std::string& contactid, const ::std::string& nickname, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__UpdateContactNickName_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactid); - __os->write(nickname); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::checkContact(const ::std::string& uid, const ::Ice::StringSeq& contactId, ::Ice::IntSeq& result, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__checkContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - if(contactId.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&contactId[0], &contactId[0] + contactId.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(result); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::checkSpaceContact(const ::std::string& uid, const ::Ice::StringSeq& contactId, ::Ice::IntSeq& result, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__checkSpaceContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - if(contactId.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&contactId[0], &contactId[0] + contactId.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(result); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::checkCanAddContact(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int checkType, ::Ice::Int& errorCode, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__checkCanAddContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(contactId); - __os->write(checkType); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(errorCode); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::GetContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__GetContactList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetContactList(userId, pageno, pageSize, totalNum, contactList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::GetSpaceContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__GetSpaceContactList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetSpaceContactList(userId, pageno, pageSize, totalNum, contactList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::GetNotSpaceContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__GetNotSpaceContactList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetNotSpaceContactList(userId, pageno, pageSize, totalNum, contactList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::GetContactListCount(const ::std::string& userId, ::Ice::Int& recordNum, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__GetContactListCount_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetContactListCount(userId, recordNum, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::GetSpaceContactListCount(const ::std::string& userId, ::Ice::Int& recordNum, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__GetSpaceContactListCount_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetSpaceContactListCount(userId, recordNum, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::GetNotSpaceContactListCount(const ::std::string& userId, ::Ice::Int& recordNum, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__GetNotSpaceContactListCount_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetNotSpaceContactListCount(userId, recordNum, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::AddSpaceContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int groupId, ::Ice::Int cntgroupId, const ::std::string& userNickname, const ::std::string& contactNickname, ::Ice::Int& friendnum, ::Ice::Int& blacklist, ::Ice::Int& verify, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__AddSpaceContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddSpaceContact(userId, contactId, groupId, cntgroupId, userNickname, contactNickname, friendnum, blacklist, verify, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::DeleteSpaceContact(const ::std::string& userId, const ::std::string& contactId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__DeleteSpaceContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DeleteSpaceContact(userId, contactId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::GetSpaceGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__GetSpaceGroupList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetSpaceGroupList(userId, groupList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::GetSpaceGroupListEx(const ::std::string& userId, ::spaceContact::SICESpaceGroupInfoSeq& groupList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__GetSpaceGroupListEx_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetSpaceGroupListEx(userId, groupList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::AddSpaceGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__AddSpaceGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddSpaceGroup(userId, groupName, groupId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::UpdateSpaceGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__UpdateSpaceGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateSpaceGroup(userId, groupName, groupId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::UpdateContactSpaceGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__UpdateContactSpaceGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateContactSpaceGroup(userId, contactId, srcGroupId, dstGroupId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::RemoveSpaceGroup(const ::std::string& userId, ::Ice::Int groupId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__RemoveSpaceGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->RemoveSpaceGroup(userId, groupId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::GetSpaceGroupContactList(const ::std::string& userId, ::Ice::Int groupId, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__GetSpaceGroupContactList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetSpaceGroupContactList(userId, groupId, contactList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::UpdateContactNickName(const ::std::string& userId, const ::std::string& contactid, const ::std::string& nickname, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__UpdateContactNickName_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateContactNickName(userId, contactid, nickname, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::checkContact(const ::std::string& uid, const ::Ice::StringSeq& contactId, ::Ice::IntSeq& result, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__checkContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkContact(uid, contactId, result, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::checkSpaceContact(const ::std::string& uid, const ::Ice::StringSeq& contactId, ::Ice::IntSeq& result, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__checkSpaceContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkSpaceContact(uid, contactId, result, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::checkCanAddContact(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int checkType, ::Ice::Int& errorCode, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__checkCanAddContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkCanAddContact(uid, contactId, checkType, errorCode, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIMDBBase::SpaceGroupInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIMDBBase__SpaceGroupInterface_ids[2] = -{ - "::AliIMDBBase::SpaceGroupInterface", - "::Ice::Object" -}; - -bool -AliIMDBBase::SpaceGroupInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIMDBBase__SpaceGroupInterface_ids, __AliIMDBBase__SpaceGroupInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIMDBBase::SpaceGroupInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIMDBBase__SpaceGroupInterface_ids[0], &__AliIMDBBase__SpaceGroupInterface_ids[2]); -} - -const ::std::string& -AliIMDBBase::SpaceGroupInterface::ice_id(const ::Ice::Current&) const -{ - return __AliIMDBBase__SpaceGroupInterface_ids[0]; -} - -const ::std::string& -AliIMDBBase::SpaceGroupInterface::ice_staticId() -{ - return __AliIMDBBase__SpaceGroupInterface_ids[0]; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___GetContactList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int pageno; - ::Ice::Int pageSize; - __is->read(userId); - __is->read(pageno); - __is->read(pageSize); - ::Ice::Int totalNum; - ::spaceContact::SICESpaceContactInfoSeq contactList; - ::Ice::Int __ret = GetContactList(userId, pageno, pageSize, totalNum, contactList, __current); - __os->write(totalNum); - if(contactList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::spaceContact::__write(__os, &contactList[0], &contactList[0] + contactList.size(), ::spaceContact::__U__SICESpaceContactInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___GetSpaceContactList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int pageno; - ::Ice::Int pageSize; - __is->read(userId); - __is->read(pageno); - __is->read(pageSize); - ::Ice::Int totalNum; - ::spaceContact::SICESpaceContactInfoSeq contactList; - ::Ice::Int __ret = GetSpaceContactList(userId, pageno, pageSize, totalNum, contactList, __current); - __os->write(totalNum); - if(contactList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::spaceContact::__write(__os, &contactList[0], &contactList[0] + contactList.size(), ::spaceContact::__U__SICESpaceContactInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___GetNotSpaceContactList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int pageno; - ::Ice::Int pageSize; - __is->read(userId); - __is->read(pageno); - __is->read(pageSize); - ::Ice::Int totalNum; - ::spaceContact::SICESpaceContactInfoSeq contactList; - ::Ice::Int __ret = GetNotSpaceContactList(userId, pageno, pageSize, totalNum, contactList, __current); - __os->write(totalNum); - if(contactList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::spaceContact::__write(__os, &contactList[0], &contactList[0] + contactList.size(), ::spaceContact::__U__SICESpaceContactInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___GetContactListCount(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int recordNum; - ::Ice::Int __ret = GetContactListCount(userId, recordNum, __current); - __os->write(recordNum); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___GetSpaceContactListCount(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int recordNum; - ::Ice::Int __ret = GetSpaceContactListCount(userId, recordNum, __current); - __os->write(recordNum); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___GetNotSpaceContactListCount(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int recordNum; - ::Ice::Int __ret = GetNotSpaceContactListCount(userId, recordNum, __current); - __os->write(recordNum); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___AddSpaceContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string contactId; - ::Ice::Int groupId; - ::Ice::Int cntgroupId; - ::std::string userNickname; - ::std::string contactNickname; - __is->read(userId); - __is->read(contactId); - __is->read(groupId); - __is->read(cntgroupId); - __is->read(userNickname); - __is->read(contactNickname); - ::Ice::Int friendnum; - ::Ice::Int blacklist; - ::Ice::Int verify; - ::Ice::Int __ret = AddSpaceContact(userId, contactId, groupId, cntgroupId, userNickname, contactNickname, friendnum, blacklist, verify, __current); - __os->write(friendnum); - __os->write(blacklist); - __os->write(verify); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___DeleteSpaceContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string contactId; - __is->read(userId); - __is->read(contactId); - ::Ice::Int __ret = DeleteSpaceContact(userId, contactId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___GetSpaceGroupList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::SICEGroupInfoSeq groupList; - ::Ice::Int __ret = GetSpaceGroupList(userId, groupList, __current); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &groupList[0], &groupList[0] + groupList.size(), ::AliIMDBBase::__U__SICEGroupInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___GetSpaceGroupListEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::spaceContact::SICESpaceGroupInfoSeq groupList; - ::Ice::Int __ret = GetSpaceGroupListEx(userId, groupList, __current); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::spaceContact::__write(__os, &groupList[0], &groupList[0] + groupList.size(), ::spaceContact::__U__SICESpaceGroupInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___AddSpaceGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string groupName; - __is->read(userId); - __is->read(groupName); - ::Ice::Int groupId; - ::Ice::Int __ret = AddSpaceGroup(userId, groupName, groupId, __current); - __os->write(groupId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___UpdateSpaceGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string groupName; - ::Ice::Int groupId; - __is->read(userId); - __is->read(groupName); - __is->read(groupId); - ::Ice::Int __ret = UpdateSpaceGroup(userId, groupName, groupId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___UpdateContactSpaceGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string contactId; - ::Ice::Int srcGroupId; - ::Ice::Int dstGroupId; - __is->read(userId); - __is->read(contactId); - __is->read(srcGroupId); - __is->read(dstGroupId); - ::Ice::Int __ret = UpdateContactSpaceGroup(userId, contactId, srcGroupId, dstGroupId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___RemoveSpaceGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int groupId; - __is->read(userId); - __is->read(groupId); - ::Ice::Int __ret = RemoveSpaceGroup(userId, groupId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___GetSpaceGroupContactList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int groupId; - __is->read(userId); - __is->read(groupId); - ::spaceContact::SICESpaceContactInfoSeq contactList; - ::Ice::Int __ret = GetSpaceGroupContactList(userId, groupId, contactList, __current); - if(contactList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::spaceContact::__write(__os, &contactList[0], &contactList[0] + contactList.size(), ::spaceContact::__U__SICESpaceContactInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___UpdateContactNickName(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string contactid; - ::std::string nickname; - __is->read(userId); - __is->read(contactid); - __is->read(nickname); - ::Ice::Int __ret = UpdateContactNickName(userId, contactid, nickname, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___checkContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::StringSeq contactId; - __is->read(uid); - __is->read(contactId); - ::Ice::IntSeq result; - ::Ice::Int __ret = checkContact(uid, contactId, result, __current); - if(result.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&result[0], &result[0] + result.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___checkSpaceContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::StringSeq contactId; - __is->read(uid); - __is->read(contactId); - ::Ice::IntSeq result; - ::Ice::Int __ret = checkSpaceContact(uid, contactId, result, __current); - if(result.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&result[0], &result[0] + result.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___checkCanAddContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string contactId; - ::Ice::Int checkType; - __is->read(uid); - __is->read(contactId); - __is->read(checkType); - ::Ice::Int errorCode; - ::Ice::Int __ret = checkCanAddContact(uid, contactId, checkType, errorCode, __current); - __os->write(errorCode); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIMDBBase__SpaceGroupInterface_all[] = -{ - "AddSpaceContact", - "AddSpaceGroup", - "DeleteSpaceContact", - "GetContactList", - "GetContactListCount", - "GetNotSpaceContactList", - "GetNotSpaceContactListCount", - "GetSpaceContactList", - "GetSpaceContactListCount", - "GetSpaceGroupContactList", - "GetSpaceGroupList", - "GetSpaceGroupListEx", - "RemoveSpaceGroup", - "UpdateContactNickName", - "UpdateContactSpaceGroup", - "UpdateSpaceGroup", - "checkCanAddContact", - "checkContact", - "checkSpaceContact", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIMDBBase__SpaceGroupInterface_all, __AliIMDBBase__SpaceGroupInterface_all + 23, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIMDBBase__SpaceGroupInterface_all) - { - case 0: - { - return ___AddSpaceContact(in, current); - } - case 1: - { - return ___AddSpaceGroup(in, current); - } - case 2: - { - return ___DeleteSpaceContact(in, current); - } - case 3: - { - return ___GetContactList(in, current); - } - case 4: - { - return ___GetContactListCount(in, current); - } - case 5: - { - return ___GetNotSpaceContactList(in, current); - } - case 6: - { - return ___GetNotSpaceContactListCount(in, current); - } - case 7: - { - return ___GetSpaceContactList(in, current); - } - case 8: - { - return ___GetSpaceContactListCount(in, current); - } - case 9: - { - return ___GetSpaceGroupContactList(in, current); - } - case 10: - { - return ___GetSpaceGroupList(in, current); - } - case 11: - { - return ___GetSpaceGroupListEx(in, current); - } - case 12: - { - return ___RemoveSpaceGroup(in, current); - } - case 13: - { - return ___UpdateContactNickName(in, current); - } - case 14: - { - return ___UpdateContactSpaceGroup(in, current); - } - case 15: - { - return ___UpdateSpaceGroup(in, current); - } - case 16: - { - return ___checkCanAddContact(in, current); - } - case 17: - { - return ___checkContact(in, current); - } - case 18: - { - return ___checkSpaceContact(in, current); - } - case 19: - { - return ___ice_id(in, current); - } - case 20: - { - return ___ice_ids(in, current); - } - case 21: - { - return ___ice_isA(in, current); - } - case 22: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIMDBBase::SpaceGroupInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIMDBBase::SpaceGroupInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIMDBBase::SpaceGroupInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIMDBBase::SpaceGroupInterface was not generated with stream support"; - throw ex; -} - -void -AliIMDBBase::SpaceGroupInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIMDBBase::SpaceGroupInterface was not generated with stream support"; - throw ex; -} - -void -AliIMDBBase::__patch__SpaceGroupInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIMDBBase::SpaceGroupInterfacePtr* p = static_cast< ::AliIMDBBase::SpaceGroupInterfacePtr*>(__addr); - assert(p); - *p = ::AliIMDBBase::SpaceGroupInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIMDBBase::SpaceGroupInterface::ice_staticId(); - throw e; - } -} - -bool -AliIMDBBase::operator==(const ::AliIMDBBase::SpaceGroupInterface& l, const ::AliIMDBBase::SpaceGroupInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIMDBBase::operator!=(const ::AliIMDBBase::SpaceGroupInterface& l, const ::AliIMDBBase::SpaceGroupInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIMDBBase::operator<(const ::AliIMDBBase::SpaceGroupInterface& l, const ::AliIMDBBase::SpaceGroupInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIMDBBase::operator<=(const ::AliIMDBBase::SpaceGroupInterface& l, const ::AliIMDBBase::SpaceGroupInterface& r) -{ - return l < r || l == r; -} - -bool -AliIMDBBase::operator>(const ::AliIMDBBase::SpaceGroupInterface& l, const ::AliIMDBBase::SpaceGroupInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIMDBBase::operator>=(const ::AliIMDBBase::SpaceGroupInterface& l, const ::AliIMDBBase::SpaceGroupInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/ss_head.cpp.svn-base b/features/aliww/source/.svn/text-base/ss_head.cpp.svn-base deleted file mode 100644 index e3c026b..0000000 --- a/features/aliww/source/.svn/text-base/ss_head.cpp.svn-base +++ /dev/null @@ -1,122 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: ss_head.cpp -// Date: 2011-01-30 12:50:24 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "ss_head.h" - -CPackData& operator<< ( CPackData& cPackData, const SUserSid& sUserSid ) -{ - cPackData << sUserSid.m_userId; - cPackData << sUserSid.m_servId; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SUserSid& sUserSid ) -{ - cPackData >> sUserSid.m_userId; - cPackData >> sUserSid.m_servId; - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const SUserCommInfo& sUserCommInfo ) -{ - cPackData << sUserCommInfo.m_fromId; - { - uint32_t nLen = sUserCommInfo.m_receiverList.size(); - cPackData << nLen; - VECTOR< SUserSid >::const_iterator itr; - for(itr = sUserCommInfo.m_receiverList.begin(); itr != sUserCommInfo.m_receiverList.end(); ++itr) - { - cPackData << (*itr); - } - } - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SUserCommInfo& sUserCommInfo ) -{ - cPackData >> sUserCommInfo.m_fromId; - { - uint32_t nSize; - cPackData >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - sUserCommInfo.m_receiverList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SUserSid tmpVal; - cPackData >> tmpVal; - sUserCommInfo.m_receiverList.push_back(tmpVal); - } - } - return cPackData; -} - -void CSsHead::PackData(string& strData) -{ - try - { - ResetOutBuff(strData); - m_lrc = 0; - (*this) << m_starter; - (*this) << m_msgtype; - (*this) << m_ttl; - (*this) << m_lrc; - (*this) << m_version; - (*this) << m_origsid; - (*this) << m_cmd; - (*this) << m_seq; - (*this) << m_len; - (*this) << m_cc; - (*this) << m_reserved; -; - if((m_reserved & 0x01) == 1) - (*this) << m_userInfo; - m_lrc = CalcLrc(strData, Size()); - SetOutCursor(3); - (*this) << m_lrc; - } - catch(std::exception&) - { - strData = ""; - } -} - -PACKRETCODE CSsHead::UnpackData(const string& strData) -{ - try - { - ResetInBuff(strData); - if(CalcLrc(strData, Size()) != 0) return PACK_INVALID; - (*this) >> m_starter; - (*this) >> m_msgtype; - (*this) >> m_ttl; - (*this) >> m_lrc; - (*this) >> m_version; - (*this) >> m_origsid; - (*this) >> m_cmd; - (*this) >> m_seq; - (*this) >> m_len; - (*this) >> m_cc; - (*this) >> m_reserved; -; - if((m_reserved & 0x01) == 1) - (*this) >> m_userInfo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - diff --git a/features/aliww/source/.svn/text-base/ss_v5_head.cpp.svn-base b/features/aliww/source/.svn/text-base/ss_v5_head.cpp.svn-base deleted file mode 100644 index 5f371a4..0000000 --- a/features/aliww/source/.svn/text-base/ss_v5_head.cpp.svn-base +++ /dev/null @@ -1,56 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: ss_v5_head.cpp -// Date: 2011-01-30 12:50:03 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "ss_v5_head.h" - -void CSsV5Head::PackData(string& strData) -{ - try - { - ResetOutBuff(strData); - (*this) << m_starter; - (*this) << m_version; - (*this) << m_reserved; - (*this) << m_imsId; - (*this) << m_cmd; - (*this) << m_seq; - (*this) << m_cc; - (*this) << m_len; -; - } - catch(std::exception&) - { - strData = ""; - } -} - -PACKRETCODE CSsV5Head::UnpackData(const string& strData) -{ - try - { - ResetInBuff(strData); - (*this) >> m_starter; - (*this) >> m_version; - (*this) >> m_reserved; - (*this) >> m_imsId; - (*this) >> m_cmd; - (*this) >> m_seq; - (*this) >> m_cc; - (*this) >> m_len; -; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - diff --git a/features/aliww/source/.svn/text-base/struct.cpp.svn-base b/features/aliww/source/.svn/text-base/struct.cpp.svn-base deleted file mode 100644 index b0c4678..0000000 --- a/features/aliww/source/.svn/text-base/struct.cpp.svn-base +++ /dev/null @@ -1,55 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `struct.ice' - -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -void -com::alisoft::member::udb::api::model::__write(::IceInternal::BasicStream* __os, const ::com::alisoft::member::udb::api::model::Map& v, ::com::alisoft::member::udb::api::model::__U__Map) -{ - __os->writeSize(::Ice::Int(v.size())); - ::com::alisoft::member::udb::api::model::Map::const_iterator p; - for(p = v.begin(); p != v.end(); ++p) - { - __os->write(p->first); - __os->write(p->second); - } -} - -void -com::alisoft::member::udb::api::model::__read(::IceInternal::BasicStream* __is, ::com::alisoft::member::udb::api::model::Map& v, ::com::alisoft::member::udb::api::model::__U__Map) -{ - ::Ice::Int sz; - __is->readSize(sz); - while(sz--) - { - ::std::pair pair; - __is->read(const_cast< ::std::string&>(pair.first)); - ::com::alisoft::member::udb::api::model::Map::iterator __i = v.insert(v.end(), pair); - __is->read(__i->second); - } -} diff --git a/features/aliww/source/.svn/text-base/tags.svn-base b/features/aliww/source/.svn/text-base/tags.svn-base deleted file mode 100644 index 4a8104d..0000000 --- a/features/aliww/source/.svn/text-base/tags.svn-base +++ /dev/null @@ -1,384 +0,0 @@ -!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ -!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/ -!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/ -!_TAG_PROGRAM_NAME Exuberant Ctags // -!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/ -!_TAG_PROGRAM_VERSION 5.6 // -AddContact OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::AddContact(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& wangwangId, const ::OpenImWebService::SWebUserInfoSeq& contactList, ::OpenImWebService::CntctSeq& cnt, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -AddContact OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::AddContact(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& wangwangId, const ::OpenImWebService::SWebUserInfoSeq& contactList, ::OpenImWebService::CntctSeq& cnt, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -AddContact OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::AddContact(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& wangwangId, const ::OpenImWebService::SWebUserInfoSeq& contactList, ::OpenImWebService::CntctSeq& cnt, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -AddTribeMember OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::AddTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& member, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -AddTribeMember OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::AddTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& member, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -AddTribeMember OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::AddTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& member, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -AddWebsite OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -AddWebsite OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -AddWebsite OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -BMInit benchmark.c /^bench_t* BMInit(void *param){$/;" f -BindService OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::BindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t, const ::std::string& wangwangId, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -BindService OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::BindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t, const ::std::string& wangwangId, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -BindService OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::BindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t, const ::std::string& wangwangId, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -CSendWebsiteMsg SendWebsiteMsgDLL.cpp /^CSendWebsiteMsg::CSendWebsiteMsg()$/;" f class:CSendWebsiteMsg -ChgWebsite OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -ChgWebsite OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -ChgWebsite OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -ChgWebsiteStatus OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -ChgWebsiteStatus OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -ChgWebsiteStatus OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -Connect login.cpp /^bool CServerLogin::Connect(void)$/;" f class:CServerLogin -DelTribeMember OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::DelTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::std::string& operId, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -DelTribeMember OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::DelTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::std::string& operId, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -DelTribeMember OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::DelTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::std::string& operId, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -DelWebsite OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -DelWebsite OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -DelWebsite OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -DllMain SendWebsiteMsgDLL.cpp /^BOOL APIENTRY DllMain( HMODULE hModule,$/;" f -DoAuth OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::DoAuth(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, ::std::string& webUid, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -DoAuth OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::DoAuth(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, ::std::string& webUid, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -DoAuth OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::DoAuth(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, ::std::string& webUid, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -GetAllCurrOnline OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::GetAllCurrOnline(const ::std::string& serviceId, ::Ice::Long& number, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -GetAllCurrOnline OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::GetAllCurrOnline(const ::std::string& serviceId, ::Ice::Long& number, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -GetAllCurrOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::GetAllCurrOnline(const ::std::string& serviceId, ::Ice::Long& number, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -GetAllHisMaxOnline OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::GetAllHisMaxOnline(const ::std::string& serviceId, ::std::string& date, ::Ice::Long& number, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -GetAllHisMaxOnline OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::GetAllHisMaxOnline(const ::std::string& serviceId, ::std::string& date, ::Ice::Long& number, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -GetAllHisMaxOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::GetAllHisMaxOnline(const ::std::string& serviceId, ::std::string& date, ::Ice::Long& number, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -GetAllHisOnline OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::GetAllHisOnline(const ::std::string& serviceId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -GetAllHisOnline OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::GetAllHisOnline(const ::std::string& serviceId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -GetAllHisOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::GetAllHisOnline(const ::std::string& serviceId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -GetCurrOnline OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::GetCurrOnline(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Long& number, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -GetCurrOnline OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::GetCurrOnline(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Long& number, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -GetCurrOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::GetCurrOnline(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Long& number, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -GetHisMaxOnline OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::GetHisMaxOnline(const ::std::string& serviceId, const ::std::string& webId, ::OpenImWebService::SWebStatistics& data, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -GetHisMaxOnline OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::GetHisMaxOnline(const ::std::string& serviceId, const ::std::string& webId, ::OpenImWebService::SWebStatistics& data, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -GetHisMaxOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::GetHisMaxOnline(const ::std::string& serviceId, const ::std::string& webId, ::OpenImWebService::SWebStatistics& data, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -GetHisOnline OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::GetHisOnline(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -GetHisOnline OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::GetHisOnline(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -GetHisOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::GetHisOnline(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -INITBM benchmark.c /^bench_t* INITBM(bench_t* bp){$/;" f -ModifyWebTribe OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::ModifyWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::KVMap& items, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -ModifyWebTribe OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::ModifyWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::KVMap& items, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -ModifyWebTribe OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::ModifyWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::KVMap& items, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -QueryLog OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::QueryLog(const ::OpenImWebService::QueryItems& qi, ::OpenImWebService::SUidPairMsgSeq& rl, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -QueryLog OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::QueryLog(const ::OpenImWebService::QueryItems& qi, ::OpenImWebService::SUidPairMsgSeq& rl, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -QueryLog OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::QueryLog(const ::OpenImWebService::QueryItems& qi, ::OpenImWebService::SUidPairMsgSeq& rl, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -QuitTribe OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::QuitTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -QuitTribe OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::QuitTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -QuitTribe OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::QuitTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -SendUserMsg OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::SendUserMsg(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int cmdId, const ::std::string& fromId, const ::std::string& toId, const ::OpenImWebService::KVMap& message, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -SendUserMsg OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::SendUserMsg(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int cmdId, const ::std::string& fromId, const ::std::string& toId, const ::OpenImWebService::KVMap& message, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -SendUserMsg OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::SendUserMsg(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int cmdId, const ::std::string& fromId, const ::std::string& toId, const ::OpenImWebService::KVMap& message, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -SendWebsiteMsg OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::SendWebsiteMsg(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::StringSeq& receivers, const ::OpenImWebService::SNotifySysMsg& message, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -SendWebsiteMsg OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::SendWebsiteMsg(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::StringSeq& receivers, const ::OpenImWebService::SNotifySysMsg& message, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -SendWebsiteMsg OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::SendWebsiteMsg(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::StringSeq& receivers, const ::OpenImWebService::SNotifySysMsg& message, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -SetServer login.cpp /^void CServerLogin::SetServer(stirng& imServerIP, uint16_t port)$/;" f class:CServerLogin -SetUser login.cpp /^void CServerLogin::SetUser(string& username, string& password)$/;" f class:CServerLogin -StopWebTribe OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::StopWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -StopWebTribe OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::StopWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -StopWebTribe OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::StopWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -SyncWebTribe OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::SyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::OpenImWebService::STribeInfo& tribe, ::Ice::Long& tribeId, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -SyncWebTribe OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::SyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::OpenImWebService::STribeInfo& tribe, ::Ice::Long& tribeId, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -SyncWebTribe OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::SyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::OpenImWebService::STribeInfo& tribe, ::Ice::Long& tribeId, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -UnbindService OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::UnbindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& wangwangId, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -UnbindService OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::UnbindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& wangwangId, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -UnbindService OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::UnbindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& wangwangId, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -UpdateBulletinNew TribeInterface.cpp /^IceDelegateD::TribeUpdateServer::TribeUpdateInterface::UpdateBulletinNew(const ::std::string& uid, ::Ice::Long tribeId, const ::std::string& bulletinNew, const ::Ice::Context* __context)$/;" f class:IceDelegateD::TribeUpdateServer::TribeUpdateInterface -UpdateBulletinNew TribeInterface.cpp /^IceDelegateM::TribeUpdateServer::TribeUpdateInterface::UpdateBulletinNew(const ::std::string& uid, ::Ice::Long tribeId, const ::std::string& bulletinNew, const ::Ice::Context* __context)$/;" f class:IceDelegateM::TribeUpdateServer::TribeUpdateInterface -UpdateBulletinNew TribeInterface.cpp /^IceProxy::TribeUpdateServer::TribeUpdateInterface::UpdateBulletinNew(const ::std::string& uid, ::Ice::Long tribeId, const ::std::string& bulletinNew, const ::Ice::Context* __ctx)$/;" f class:IceProxy::TribeUpdateServer::TribeUpdateInterface -UpdateTribePictrues TribeInterface.cpp /^IceDelegateD::TribeUpdateServer::TribeUpdateInterface::UpdateTribePictrues(::Ice::Long tribeId, const ::std::string& userId, ::Ice::Int type, const ::std::string& path, const ::Ice::Context* __context)$/;" f class:IceDelegateD::TribeUpdateServer::TribeUpdateInterface -UpdateTribePictrues TribeInterface.cpp /^IceDelegateM::TribeUpdateServer::TribeUpdateInterface::UpdateTribePictrues(::Ice::Long tribeId, const ::std::string& userId, ::Ice::Int type, const ::std::string& path, const ::Ice::Context* __context)$/;" f class:IceDelegateM::TribeUpdateServer::TribeUpdateInterface -UpdateTribePictrues TribeInterface.cpp /^IceProxy::TribeUpdateServer::TribeUpdateInterface::UpdateTribePictrues(::Ice::Long tribeId, const ::std::string& userId, ::Ice::Int type, const ::std::string& path, const ::Ice::Context* __ctx)$/;" f class:IceProxy::TribeUpdateServer::TribeUpdateInterface -__IMServerData__UserInfoI__getOneSiteOnlineStatus_name user_info.cpp /^static const ::std::string __IMServerData__UserInfoI__getOneSiteOnlineStatus_name = "getOneSiteOnlineStatus";$/;" v file: -__IMServerData__UserInfoI__getOnlineCountBySite_name user_info.cpp /^static const ::std::string __IMServerData__UserInfoI__getOnlineCountBySite_name = "getOnlineCountBySite";$/;" v file: -__IMServerData__UserInfoI__getSiteIds_name user_info.cpp /^static const ::std::string __IMServerData__UserInfoI__getSiteIds_name = "getSiteIds";$/;" v file: -__IMServerData__UserInfoI__gettLoginNumBySite_name user_info.cpp /^static const ::std::string __IMServerData__UserInfoI__gettLoginNumBySite_name = "gettLoginNumBySite";$/;" v file: -__IMServerData__UserInfoI__insert_name user_info.cpp /^static const ::std::string __IMServerData__UserInfoI__insert_name = "insert";$/;" v file: -__IMServerData__UserInfoI__loginNtfy_name user_info.cpp /^static const ::std::string __IMServerData__UserInfoI__loginNtfy_name = "loginNtfy";$/;" v file: -__IMServerData__UserInfoI__query_name user_info.cpp /^static const ::std::string __IMServerData__UserInfoI__query_name = "query";$/;" v file: -__IMServerData__UserInfoI__remove_name user_info.cpp /^static const ::std::string __IMServerData__UserInfoI__remove_name = "remove";$/;" v file: -__IMServerData__UserInfoI_all user_info.cpp /^static ::std::string __IMServerData__UserInfoI_all[] =$/;" v file: -__IMServerData__UserInfoI_ids user_info.cpp /^static const ::std::string __IMServerData__UserInfoI_ids[2] =$/;" v file: -__OpenImWebService__OpenImSrvMgr__AddContact_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__AddContact_name = "AddContact";$/;" v file: -__OpenImWebService__OpenImSrvMgr__AddTribeMember_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__AddTribeMember_name = "AddTribeMember";$/;" v file: -__OpenImWebService__OpenImSrvMgr__AddWebsite_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__AddWebsite_name = "AddWebsite";$/;" v file: -__OpenImWebService__OpenImSrvMgr__BindService_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__BindService_name = "BindService";$/;" v file: -__OpenImWebService__OpenImSrvMgr__ChgWebsiteStatus_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__ChgWebsiteStatus_name = "ChgWebsiteStatus";$/;" v file: -__OpenImWebService__OpenImSrvMgr__ChgWebsite_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__ChgWebsite_name = "ChgWebsite";$/;" v file: -__OpenImWebService__OpenImSrvMgr__DelTribeMember_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__DelTribeMember_name = "DelTribeMember";$/;" v file: -__OpenImWebService__OpenImSrvMgr__DelWebsite_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__DelWebsite_name = "DelWebsite";$/;" v file: -__OpenImWebService__OpenImSrvMgr__DoAuth_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__DoAuth_name = "DoAuth";$/;" v file: -__OpenImWebService__OpenImSrvMgr__GetAllCurrOnline_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__GetAllCurrOnline_name = "GetAllCurrOnline";$/;" v file: -__OpenImWebService__OpenImSrvMgr__GetAllHisMaxOnline_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__GetAllHisMaxOnline_name = "GetAllHisMaxOnline";$/;" v file: -__OpenImWebService__OpenImSrvMgr__GetAllHisOnline_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__GetAllHisOnline_name = "GetAllHisOnline";$/;" v file: -__OpenImWebService__OpenImSrvMgr__GetCurrOnline_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__GetCurrOnline_name = "GetCurrOnline";$/;" v file: -__OpenImWebService__OpenImSrvMgr__GetHisMaxOnline_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__GetHisMaxOnline_name = "GetHisMaxOnline";$/;" v file: -__OpenImWebService__OpenImSrvMgr__GetHisOnline_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__GetHisOnline_name = "GetHisOnline";$/;" v file: -__OpenImWebService__OpenImSrvMgr__ModifyWebTribe_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__ModifyWebTribe_name = "ModifyWebTribe";$/;" v file: -__OpenImWebService__OpenImSrvMgr__QueryLog_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__QueryLog_name = "QueryLog";$/;" v file: -__OpenImWebService__OpenImSrvMgr__QuitTribe_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__QuitTribe_name = "QuitTribe";$/;" v file: -__OpenImWebService__OpenImSrvMgr__SendUserMsg_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__SendUserMsg_name = "SendUserMsg";$/;" v file: -__OpenImWebService__OpenImSrvMgr__SendWebsiteMsg_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__SendWebsiteMsg_name = "SendWebsiteMsg";$/;" v file: -__OpenImWebService__OpenImSrvMgr__StopWebTribe_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__StopWebTribe_name = "StopWebTribe";$/;" v file: -__OpenImWebService__OpenImSrvMgr__SyncWebTribe_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__SyncWebTribe_name = "SyncWebTribe";$/;" v file: -__OpenImWebService__OpenImSrvMgr__UnbindService_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__UnbindService_name = "UnbindService";$/;" v file: -__OpenImWebService__OpenImSrvMgr_all OpenIMWebService.cpp /^static ::std::string __OpenImWebService__OpenImSrvMgr_all[] =$/;" v file: -__OpenImWebService__OpenImSrvMgr_ids OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr_ids[2] =$/;" v file: -__TribeUpdateServer__TribeUpdateInterface__UpdateBulletinNew_name TribeInterface.cpp /^static const ::std::string __TribeUpdateServer__TribeUpdateInterface__UpdateBulletinNew_name = "UpdateBulletinNew";$/;" v file: -__TribeUpdateServer__TribeUpdateInterface__UpdateTribePictrues_name TribeInterface.cpp /^static const ::std::string __TribeUpdateServer__TribeUpdateInterface__UpdateTribePictrues_name = "UpdateTribePictrues";$/;" v file: -__TribeUpdateServer__TribeUpdateInterface_all TribeInterface.cpp /^static ::std::string __TribeUpdateServer__TribeUpdateInterface_all[] =$/;" v file: -__TribeUpdateServer__TribeUpdateInterface_ids TribeInterface.cpp /^static const ::std::string __TribeUpdateServer__TribeUpdateInterface_ids[2] =$/;" v file: -___AddContact OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___AddContact(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___AddTribeMember OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___AddTribeMember(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___AddWebsite OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___AddWebsite(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___BindService OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___BindService(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___ChgWebsite OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___ChgWebsite(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___ChgWebsiteStatus OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___ChgWebsiteStatus(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___DelTribeMember OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___DelTribeMember(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___DelWebsite OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___DelWebsite(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___DoAuth OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___DoAuth(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___GetAllCurrOnline OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___GetAllCurrOnline(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___GetAllHisMaxOnline OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___GetAllHisMaxOnline(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___GetAllHisOnline OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___GetAllHisOnline(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___GetCurrOnline OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___GetCurrOnline(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___GetHisMaxOnline OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___GetHisMaxOnline(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___GetHisOnline OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___GetHisOnline(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___ModifyWebTribe OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___ModifyWebTribe(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___QueryLog OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___QueryLog(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___QuitTribe OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___QuitTribe(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___SendUserMsg OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___SendUserMsg(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___SendWebsiteMsg OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___SendWebsiteMsg(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___StopWebTribe OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___StopWebTribe(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___SyncWebTribe OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___SyncWebTribe(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___UnbindService OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___UnbindService(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___UpdateBulletinNew TribeInterface.cpp /^TribeUpdateServer::TribeUpdateInterface::___UpdateBulletinNew(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:TribeUpdateServer::TribeUpdateInterface -___UpdateTribePictrues TribeInterface.cpp /^TribeUpdateServer::TribeUpdateInterface::___UpdateTribePictrues(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:TribeUpdateServer::TribeUpdateInterface -___getOneSiteOnlineStatus user_info.cpp /^IMServerData::UserInfoI::___getOneSiteOnlineStatus(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:IMServerData::UserInfoI -___getOnlineCountBySite user_info.cpp /^IMServerData::UserInfoI::___getOnlineCountBySite(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:IMServerData::UserInfoI -___getSiteIds user_info.cpp /^IMServerData::UserInfoI::___getSiteIds(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:IMServerData::UserInfoI -___gettLoginNumBySite user_info.cpp /^IMServerData::UserInfoI::___gettLoginNumBySite(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:IMServerData::UserInfoI -___insert user_info.cpp /^IMServerData::UserInfoI::___insert(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:IMServerData::UserInfoI -___loginNtfy user_info.cpp /^IMServerData::UserInfoI::___loginNtfy(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:IMServerData::UserInfoI -___query user_info.cpp /^IMServerData::UserInfoI::___query(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:IMServerData::UserInfoI -___remove user_info.cpp /^IMServerData::UserInfoI::___remove(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:IMServerData::UserInfoI -__createDelegateD OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::__createDelegateD()$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -__createDelegateD TribeInterface.cpp /^IceProxy::TribeUpdateServer::TribeUpdateInterface::__createDelegateD()$/;" f class:IceProxy::TribeUpdateServer::TribeUpdateInterface -__createDelegateD user_info.cpp /^IceProxy::IMServerData::UserInfoI::__createDelegateD()$/;" f class:IceProxy::IMServerData::UserInfoI -__createDelegateM OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::__createDelegateM()$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -__createDelegateM TribeInterface.cpp /^IceProxy::TribeUpdateServer::TribeUpdateInterface::__createDelegateM()$/;" f class:IceProxy::TribeUpdateServer::TribeUpdateInterface -__createDelegateM user_info.cpp /^IceProxy::IMServerData::UserInfoI::__createDelegateM()$/;" f class:IceProxy::IMServerData::UserInfoI -__dispatch OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)$/;" f class:OpenImWebService::OpenImSrvMgr -__dispatch TribeInterface.cpp /^TribeUpdateServer::TribeUpdateInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)$/;" f class:TribeUpdateServer::TribeUpdateInterface -__dispatch user_info.cpp /^IMServerData::UserInfoI::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)$/;" f class:IMServerData::UserInfoI -__newInstance OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::__newInstance() const$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -__newInstance TribeInterface.cpp /^IceProxy::TribeUpdateServer::TribeUpdateInterface::__newInstance() const$/;" f class:IceProxy::TribeUpdateServer::TribeUpdateInterface -__newInstance user_info.cpp /^IceProxy::IMServerData::UserInfoI::__newInstance() const$/;" f class:IceProxy::IMServerData::UserInfoI -__patch__OpenImSrvMgrPtr OpenIMWebService.cpp /^OpenImWebService::__patch__OpenImSrvMgrPtr(void* __addr, ::Ice::ObjectPtr& v)$/;" f class:OpenImWebService -__patch__TribeUpdateInterfacePtr TribeInterface.cpp /^TribeUpdateServer::__patch__TribeUpdateInterfacePtr(void* __addr, ::Ice::ObjectPtr& v)$/;" f class:TribeUpdateServer -__patch__UserInfoIPtr user_info.cpp /^IMServerData::__patch__UserInfoIPtr(void* __addr, ::Ice::ObjectPtr& v)$/;" f class:IMServerData -__read OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::__read(::IceInternal::BasicStream* __is, bool __rid)$/;" f class:OpenImWebService::OpenImSrvMgr -__read OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::__read(const ::Ice::InputStreamPtr&, bool)$/;" f class:OpenImWebService::OpenImSrvMgr -__read OpenIMWebService.cpp /^OpenImWebService::QueryItems::__read(::IceInternal::BasicStream* __is)$/;" f class:OpenImWebService::QueryItems -__read OpenIMWebService.cpp /^OpenImWebService::SMemberInfo::__read(::IceInternal::BasicStream* __is)$/;" f class:OpenImWebService::SMemberInfo -__read OpenIMWebService.cpp /^OpenImWebService::SNotifySysMsg::__read(::IceInternal::BasicStream* __is)$/;" f class:OpenImWebService::SNotifySysMsg -__read OpenIMWebService.cpp /^OpenImWebService::STribeInfo::__read(::IceInternal::BasicStream* __is)$/;" f class:OpenImWebService::STribeInfo -__read OpenIMWebService.cpp /^OpenImWebService::SUidPairMsg::__read(::IceInternal::BasicStream* __is)$/;" f class:OpenImWebService::SUidPairMsg -__read OpenIMWebService.cpp /^OpenImWebService::SUrlInfo::__read(::IceInternal::BasicStream* __is)$/;" f class:OpenImWebService::SUrlInfo -__read OpenIMWebService.cpp /^OpenImWebService::SWebOnlineStatisticsAll::__read(::IceInternal::BasicStream* __is)$/;" f class:OpenImWebService::SWebOnlineStatisticsAll -__read OpenIMWebService.cpp /^OpenImWebService::SWebStatistics::__read(::IceInternal::BasicStream* __is)$/;" f class:OpenImWebService::SWebStatistics -__read OpenIMWebService.cpp /^OpenImWebService::SWebStatisticsAll::__read(::IceInternal::BasicStream* __is)$/;" f class:OpenImWebService::SWebStatisticsAll -__read OpenIMWebService.cpp /^OpenImWebService::SWebUserInfo::__read(::IceInternal::BasicStream* __is)$/;" f class:OpenImWebService::SWebUserInfo -__read OpenIMWebService.cpp /^OpenImWebService::__read(::IceInternal::BasicStream* __is, ::OpenImWebService::OpenImSrvMgrPrx& v)$/;" f class:OpenImWebService -__read TribeInterface.cpp /^TribeUpdateServer::TribeUpdateInterface::__read(::IceInternal::BasicStream* __is, bool __rid)$/;" f class:TribeUpdateServer::TribeUpdateInterface -__read TribeInterface.cpp /^TribeUpdateServer::TribeUpdateInterface::__read(const ::Ice::InputStreamPtr&, bool)$/;" f class:TribeUpdateServer::TribeUpdateInterface -__read TribeInterface.cpp /^TribeUpdateServer::__read(::IceInternal::BasicStream* __is, ::TribeUpdateServer::TribeUpdateInterfacePrx& v)$/;" f class:TribeUpdateServer -__read user_info.cpp /^IMServerData::SWebBind::__read(::IceInternal::BasicStream* __is)$/;" f class:IMServerData::SWebBind -__read user_info.cpp /^IMServerData::Statics::__read(::IceInternal::BasicStream* __is)$/;" f class:IMServerData::Statics -__read user_info.cpp /^IMServerData::UserInfoI::__read(::IceInternal::BasicStream* __is, bool __rid)$/;" f class:IMServerData::UserInfoI -__read user_info.cpp /^IMServerData::UserInfoI::__read(const ::Ice::InputStreamPtr&, bool)$/;" f class:IMServerData::UserInfoI -__read user_info.cpp /^IMServerData::__read(::IceInternal::BasicStream* __is, ::IMServerData::UserInfoIPrx& v)$/;" f class:IMServerData -__readKVMap OpenIMWebService.cpp /^OpenImWebService::__readKVMap(::IceInternal::BasicStream* __is, ::OpenImWebService::KVMap& v)$/;" f class:OpenImWebService -__readSMemberInfoSeq OpenIMWebService.cpp /^OpenImWebService::__readSMemberInfoSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SMemberInfoSeq& v)$/;" f class:OpenImWebService -__readSNotifySysMsgSeq OpenIMWebService.cpp /^OpenImWebService::__readSNotifySysMsgSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SNotifySysMsgSeq& v)$/;" f class:OpenImWebService -__readSTribeInfoSeq OpenIMWebService.cpp /^OpenImWebService::__readSTribeInfoSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::STribeInfoSeq& v)$/;" f class:OpenImWebService -__readSUidPairMsgSeq OpenIMWebService.cpp /^OpenImWebService::__readSUidPairMsgSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SUidPairMsgSeq& v)$/;" f class:OpenImWebService -__readSUrlInfoSeq OpenIMWebService.cpp /^OpenImWebService::__readSUrlInfoSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SUrlInfoSeq& v)$/;" f class:OpenImWebService -__readSWebBindSeq user_info.cpp /^IMServerData::__readSWebBindSeq(::IceInternal::BasicStream* __is, ::IMServerData::SWebBindSeq& v)$/;" f class:IMServerData -__readSWebOnlineStatisticsAllSeq OpenIMWebService.cpp /^OpenImWebService::__readSWebOnlineStatisticsAllSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SWebOnlineStatisticsAllSeq& v)$/;" f class:OpenImWebService -__readSWebStatisticsAllSeq OpenIMWebService.cpp /^OpenImWebService::__readSWebStatisticsAllSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SWebStatisticsAllSeq& v)$/;" f class:OpenImWebService -__readSWebStatisticsSeq OpenIMWebService.cpp /^OpenImWebService::__readSWebStatisticsSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SWebStatisticsSeq& v)$/;" f class:OpenImWebService -__readSWebUserInfoSeq OpenIMWebService.cpp /^OpenImWebService::__readSWebUserInfoSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SWebUserInfoSeq& v)$/;" f class:OpenImWebService -__readStaticsSeq user_info.cpp /^IMServerData::__readStaticsSeq(::IceInternal::BasicStream* __is, ::IMServerData::StaticsSeq& v)$/;" f class:IMServerData -__write OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::__write(::IceInternal::BasicStream* __os) const$/;" f class:OpenImWebService::OpenImSrvMgr -__write OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::__write(const ::Ice::OutputStreamPtr&) const$/;" f class:OpenImWebService::OpenImSrvMgr -__write OpenIMWebService.cpp /^OpenImWebService::QueryItems::__write(::IceInternal::BasicStream* __os) const$/;" f class:OpenImWebService::QueryItems -__write OpenIMWebService.cpp /^OpenImWebService::SMemberInfo::__write(::IceInternal::BasicStream* __os) const$/;" f class:OpenImWebService::SMemberInfo -__write OpenIMWebService.cpp /^OpenImWebService::SNotifySysMsg::__write(::IceInternal::BasicStream* __os) const$/;" f class:OpenImWebService::SNotifySysMsg -__write OpenIMWebService.cpp /^OpenImWebService::STribeInfo::__write(::IceInternal::BasicStream* __os) const$/;" f class:OpenImWebService::STribeInfo -__write OpenIMWebService.cpp /^OpenImWebService::SUidPairMsg::__write(::IceInternal::BasicStream* __os) const$/;" f class:OpenImWebService::SUidPairMsg -__write OpenIMWebService.cpp /^OpenImWebService::SUrlInfo::__write(::IceInternal::BasicStream* __os) const$/;" f class:OpenImWebService::SUrlInfo -__write OpenIMWebService.cpp /^OpenImWebService::SWebOnlineStatisticsAll::__write(::IceInternal::BasicStream* __os) const$/;" f class:OpenImWebService::SWebOnlineStatisticsAll -__write OpenIMWebService.cpp /^OpenImWebService::SWebStatistics::__write(::IceInternal::BasicStream* __os) const$/;" f class:OpenImWebService::SWebStatistics -__write OpenIMWebService.cpp /^OpenImWebService::SWebStatisticsAll::__write(::IceInternal::BasicStream* __os) const$/;" f class:OpenImWebService::SWebStatisticsAll -__write OpenIMWebService.cpp /^OpenImWebService::SWebUserInfo::__write(::IceInternal::BasicStream* __os) const$/;" f class:OpenImWebService::SWebUserInfo -__write TribeInterface.cpp /^TribeUpdateServer::TribeUpdateInterface::__write(::IceInternal::BasicStream* __os) const$/;" f class:TribeUpdateServer::TribeUpdateInterface -__write TribeInterface.cpp /^TribeUpdateServer::TribeUpdateInterface::__write(const ::Ice::OutputStreamPtr&) const$/;" f class:TribeUpdateServer::TribeUpdateInterface -__write user_info.cpp /^IMServerData::SWebBind::__write(::IceInternal::BasicStream* __os) const$/;" f class:IMServerData::SWebBind -__write user_info.cpp /^IMServerData::Statics::__write(::IceInternal::BasicStream* __os) const$/;" f class:IMServerData::Statics -__write user_info.cpp /^IMServerData::UserInfoI::__write(::IceInternal::BasicStream* __os) const$/;" f class:IMServerData::UserInfoI -__write user_info.cpp /^IMServerData::UserInfoI::__write(const ::Ice::OutputStreamPtr&) const$/;" f class:IMServerData::UserInfoI -__writeKVMap OpenIMWebService.cpp /^OpenImWebService::__writeKVMap(::IceInternal::BasicStream* __os, const ::OpenImWebService::KVMap& v)$/;" f class:OpenImWebService -__writeSMemberInfoSeq OpenIMWebService.cpp /^OpenImWebService::__writeSMemberInfoSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SMemberInfo* begin, const ::OpenImWebService::SMemberInfo* end)$/;" f class:OpenImWebService -__writeSNotifySysMsgSeq OpenIMWebService.cpp /^OpenImWebService::__writeSNotifySysMsgSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SNotifySysMsg* begin, const ::OpenImWebService::SNotifySysMsg* end)$/;" f class:OpenImWebService -__writeSTribeInfoSeq OpenIMWebService.cpp /^OpenImWebService::__writeSTribeInfoSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::STribeInfo* begin, const ::OpenImWebService::STribeInfo* end)$/;" f class:OpenImWebService -__writeSUidPairMsgSeq OpenIMWebService.cpp /^OpenImWebService::__writeSUidPairMsgSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SUidPairMsg* begin, const ::OpenImWebService::SUidPairMsg* end)$/;" f class:OpenImWebService -__writeSUrlInfoSeq OpenIMWebService.cpp /^OpenImWebService::__writeSUrlInfoSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SUrlInfo* begin, const ::OpenImWebService::SUrlInfo* end)$/;" f class:OpenImWebService -__writeSWebBindSeq user_info.cpp /^IMServerData::__writeSWebBindSeq(::IceInternal::BasicStream* __os, const ::IMServerData::SWebBind* begin, const ::IMServerData::SWebBind* end)$/;" f class:IMServerData -__writeSWebOnlineStatisticsAllSeq OpenIMWebService.cpp /^OpenImWebService::__writeSWebOnlineStatisticsAllSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SWebOnlineStatisticsAll* begin, const ::OpenImWebService::SWebOnlineStatisticsAll* end)$/;" f class:OpenImWebService -__writeSWebStatisticsAllSeq OpenIMWebService.cpp /^OpenImWebService::__writeSWebStatisticsAllSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SWebStatisticsAll* begin, const ::OpenImWebService::SWebStatisticsAll* end)$/;" f class:OpenImWebService -__writeSWebStatisticsSeq OpenIMWebService.cpp /^OpenImWebService::__writeSWebStatisticsSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SWebStatistics* begin, const ::OpenImWebService::SWebStatistics* end)$/;" f class:OpenImWebService -__writeSWebUserInfoSeq OpenIMWebService.cpp /^OpenImWebService::__writeSWebUserInfoSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SWebUserInfo* begin, const ::OpenImWebService::SWebUserInfo* end)$/;" f class:OpenImWebService -__writeStaticsSeq user_info.cpp /^IMServerData::__writeStaticsSeq(::IceInternal::BasicStream* __os, const ::IMServerData::Statics* begin, const ::IMServerData::Statics* end)$/;" f class:IMServerData -actIce SendWebsiteMsgDLL.cpp /^extern "C" SENDWEBSITEMSG_API int actIce(void *ptrPrx, char *serviceId, char *webId,char **receiversPtr, int receiversSize){$/;" f -begin_AddContact OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_AddContact(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& wangwangId, const ::OpenImWebService::SWebUserInfoSeq& contactList, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_AddTribeMember OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_AddTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& member, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_AddWebsite OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_BindService OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_BindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t, const ::std::string& wangwangId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_ChgWebsite OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_ChgWebsiteStatus OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_DelTribeMember OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_DelTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::std::string& operId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_DelWebsite OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_DoAuth OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_DoAuth(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_GetAllCurrOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_GetAllCurrOnline(const ::std::string& serviceId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_GetAllHisMaxOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_GetAllHisMaxOnline(const ::std::string& serviceId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_GetAllHisOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_GetAllHisOnline(const ::std::string& serviceId, const ::std::string& fromDate, const ::std::string& toDate, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_GetCurrOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_GetCurrOnline(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_GetHisMaxOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_GetHisMaxOnline(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_GetHisOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_GetHisOnline(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& fromDate, const ::std::string& toDate, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_ModifyWebTribe OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_ModifyWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::KVMap& items, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_QueryLog OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_QueryLog(const ::OpenImWebService::QueryItems& qi, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_QuitTribe OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_QuitTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_SendUserMsg OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_SendUserMsg(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int cmdId, const ::std::string& fromId, const ::std::string& toId, const ::OpenImWebService::KVMap& message, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_SendWebsiteMsg OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_SendWebsiteMsg(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::StringSeq& receivers, const ::OpenImWebService::SNotifySysMsg& message, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_StopWebTribe OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_StopWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_SyncWebTribe OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_SyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::OpenImWebService::STribeInfo& tribe, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_UnbindService OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_UnbindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& wangwangId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_UpdateBulletinNew TribeInterface.cpp /^IceProxy::TribeUpdateServer::TribeUpdateInterface::begin_UpdateBulletinNew(const ::std::string& uid, ::Ice::Long tribeId, const ::std::string& bulletinNew, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::TribeUpdateServer::TribeUpdateInterface -begin_UpdateTribePictrues TribeInterface.cpp /^IceProxy::TribeUpdateServer::TribeUpdateInterface::begin_UpdateTribePictrues(::Ice::Long tribeId, const ::std::string& userId, ::Ice::Int type, const ::std::string& path, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::TribeUpdateServer::TribeUpdateInterface -begin_getOneSiteOnlineStatus user_info.cpp /^IceProxy::IMServerData::UserInfoI::begin_getOneSiteOnlineStatus(const ::std::string& serviceId, const ::std::string& siteid, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::IMServerData::UserInfoI -begin_getOnlineCountBySite user_info.cpp /^IceProxy::IMServerData::UserInfoI::begin_getOnlineCountBySite(const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::IMServerData::UserInfoI -begin_getSiteIds user_info.cpp /^IceProxy::IMServerData::UserInfoI::begin_getSiteIds(const ::std::string& serviceid, const ::std::string& siteid, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::IMServerData::UserInfoI -begin_gettLoginNumBySite user_info.cpp /^IceProxy::IMServerData::UserInfoI::begin_gettLoginNumBySite(const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::IMServerData::UserInfoI -begin_insert user_info.cpp /^IceProxy::IMServerData::UserInfoI::begin_insert(const ::std::string& id, const ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::IMServerData::UserInfoI -begin_loginNtfy user_info.cpp /^IceProxy::IMServerData::UserInfoI::begin_loginNtfy(const ::std::string& id, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::IMServerData::UserInfoI -begin_query user_info.cpp /^IceProxy::IMServerData::UserInfoI::begin_query(const ::std::string& id, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::IMServerData::UserInfoI -begin_remove user_info.cpp /^IceProxy::IMServerData::UserInfoI::begin_remove(const ::std::string& id, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::IMServerData::UserInfoI -benchmark benchmark.c /^void benchmark(void* param)$/;" f -bm_thread_exit benchmark.c /^void bm_thread_exit(struct bench * p){$/;" f -call_threads benchmark.c /^void call_threads(struct bench * p,long int group)$/;" f -commandline main.c /^void *commandline(void* v)$/;" f -concurrence main.c /^void *concurrence(void* param)$/;" f -create_transaction benchmark.c /^void create_transaction(vuser_node_st_t *v, char *name){$/;" f -create_vuser benchmark.c /^vuser_node_st_t* create_vuser(struct bench * p,long int group){$/;" f -dispatch benchmark.c /^void dispatch(struct bench * p)$/;" f -do_transaction benchmark.c /^transaction_st_t* do_transaction(vuser_node_st_t *v, char *name, int boool){$/;" f -do_transactionEx benchmark.c /^transaction_st_t* do_transactionEx(vuser_node_st_t *v, char *name, int boool, char *msg){$/;" f -dobench benchmark.c /^void* dobench(void* v)$/;" f -dofork benchmark.c /^void dofork(struct bench * p,int n,long int g)$/;" f -endIce SendWebsiteMsgDLL.cpp /^extern "C" SENDWEBSITEMSG_API int endIce(void *ptrIc,void *ptrPrx){$/;" f -end_AddContact OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_AddContact(::OpenImWebService::CntctSeq& cnt, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_AddTribeMember OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_AddTribeMember(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_AddWebsite OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_AddWebsite(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_BindService OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_BindService(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_ChgWebsite OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_ChgWebsite(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_ChgWebsiteStatus OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_ChgWebsiteStatus(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_DelTribeMember OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_DelTribeMember(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_DelWebsite OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_DelWebsite(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_DoAuth OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_DoAuth(::std::string& webUid, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_GetAllCurrOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_GetAllCurrOnline(::Ice::Long& number, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_GetAllHisMaxOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_GetAllHisMaxOnline(::std::string& date, ::Ice::Long& number, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_GetAllHisOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_GetAllHisOnline(::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_GetCurrOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_GetCurrOnline(::Ice::Long& number, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_GetHisMaxOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_GetHisMaxOnline(::OpenImWebService::SWebStatistics& data, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_GetHisOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_GetHisOnline(::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_ModifyWebTribe OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_ModifyWebTribe(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_QueryLog OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_QueryLog(::OpenImWebService::SUidPairMsgSeq& rl, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_QuitTribe OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_QuitTribe(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_SendUserMsg OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_SendUserMsg(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_SendWebsiteMsg OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_SendWebsiteMsg(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_StopWebTribe OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_StopWebTribe(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_SyncWebTribe OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_SyncWebTribe(::Ice::Long& tribeId, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_UnbindService OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_UnbindService(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_UpdateBulletinNew TribeInterface.cpp /^IceProxy::TribeUpdateServer::TribeUpdateInterface::end_UpdateBulletinNew(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::TribeUpdateServer::TribeUpdateInterface -end_UpdateTribePictrues TribeInterface.cpp /^IceProxy::TribeUpdateServer::TribeUpdateInterface::end_UpdateTribePictrues(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::TribeUpdateServer::TribeUpdateInterface -end_getOneSiteOnlineStatus user_info.cpp /^IceProxy::IMServerData::UserInfoI::end_getOneSiteOnlineStatus(::Ice::Long& count, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::IMServerData::UserInfoI -end_getOnlineCountBySite user_info.cpp /^IceProxy::IMServerData::UserInfoI::end_getOnlineCountBySite(::IMServerData::StaticsSeq& statics, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::IMServerData::UserInfoI -end_getSiteIds user_info.cpp /^IceProxy::IMServerData::UserInfoI::end_getSiteIds(::Ice::StringSeq& loginid, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::IMServerData::UserInfoI -end_gettLoginNumBySite user_info.cpp /^IceProxy::IMServerData::UserInfoI::end_gettLoginNumBySite(::IMServerData::StaticsSeq& lognum, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::IMServerData::UserInfoI -end_insert user_info.cpp /^IceProxy::IMServerData::UserInfoI::end_insert(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::IMServerData::UserInfoI -end_loginNtfy user_info.cpp /^IceProxy::IMServerData::UserInfoI::end_loginNtfy(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::IMServerData::UserInfoI -end_query user_info.cpp /^IceProxy::IMServerData::UserInfoI::end_query(::IMServerData::SWebBindSeq& binds, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::IMServerData::UserInfoI -end_remove user_info.cpp /^IceProxy::IMServerData::UserInfoI::end_remove(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::IMServerData::UserInfoI -faile_transaction benchmark.c /^transaction_st_t* faile_transaction(vuser_node_st_t *v, char *name){$/;" f -faile_transactionEx benchmark.c /^transaction_st_t* faile_transactionEx(vuser_node_st_t *v, char *name, char *msg){$/;" f -find_transaction benchmark.c /^transaction_st_t* find_transaction(vuser_node_st_t *v, char *name){$/;" f -fnSendWebsiteMsg SendWebsiteMsgDLL.cpp /^SENDWEBSITEMSG_API int fnSendWebsiteMsg(void)$/;" f -getOneSiteOnlineStatus user_info.cpp /^IceDelegateD::IMServerData::UserInfoI::getOneSiteOnlineStatus(const ::std::string& serviceId, const ::std::string& siteid, ::Ice::Long& count, const ::Ice::Context* __context)$/;" f class:IceDelegateD::IMServerData::UserInfoI -getOneSiteOnlineStatus user_info.cpp /^IceDelegateM::IMServerData::UserInfoI::getOneSiteOnlineStatus(const ::std::string& serviceId, const ::std::string& siteid, ::Ice::Long& count, const ::Ice::Context* __context)$/;" f class:IceDelegateM::IMServerData::UserInfoI -getOneSiteOnlineStatus user_info.cpp /^IceProxy::IMServerData::UserInfoI::getOneSiteOnlineStatus(const ::std::string& serviceId, const ::std::string& siteid, ::Ice::Long& count, const ::Ice::Context* __ctx)$/;" f class:IceProxy::IMServerData::UserInfoI -getOnlineCountBySite user_info.cpp /^IceDelegateD::IMServerData::UserInfoI::getOnlineCountBySite(::IMServerData::StaticsSeq& statics, const ::Ice::Context* __context)$/;" f class:IceDelegateD::IMServerData::UserInfoI -getOnlineCountBySite user_info.cpp /^IceDelegateM::IMServerData::UserInfoI::getOnlineCountBySite(::IMServerData::StaticsSeq& statics, const ::Ice::Context* __context)$/;" f class:IceDelegateM::IMServerData::UserInfoI -getOnlineCountBySite user_info.cpp /^IceProxy::IMServerData::UserInfoI::getOnlineCountBySite(::IMServerData::StaticsSeq& statics, const ::Ice::Context* __ctx)$/;" f class:IceProxy::IMServerData::UserInfoI -getSiteIds user_info.cpp /^IceDelegateD::IMServerData::UserInfoI::getSiteIds(const ::std::string& serviceid, const ::std::string& siteid, ::Ice::StringSeq& loginid, const ::Ice::Context* __context)$/;" f class:IceDelegateD::IMServerData::UserInfoI -getSiteIds user_info.cpp /^IceDelegateM::IMServerData::UserInfoI::getSiteIds(const ::std::string& serviceid, const ::std::string& siteid, ::Ice::StringSeq& loginid, const ::Ice::Context* __context)$/;" f class:IceDelegateM::IMServerData::UserInfoI -getSiteIds user_info.cpp /^IceProxy::IMServerData::UserInfoI::getSiteIds(const ::std::string& serviceid, const ::std::string& siteid, ::Ice::StringSeq& loginid, const ::Ice::Context* __ctx)$/;" f class:IceProxy::IMServerData::UserInfoI -get_vuser_group benchmark.c /^long int get_vuser_group(void* v){$/;" f -get_vuser_id benchmark.c /^long int get_vuser_id(void* v){$/;" f -get_vuser_ite benchmark.c /^long int get_vuser_ite(void* v){$/;" f -gettLoginNumBySite user_info.cpp /^IceDelegateD::IMServerData::UserInfoI::gettLoginNumBySite(::IMServerData::StaticsSeq& lognum, const ::Ice::Context* __context)$/;" f class:IceDelegateD::IMServerData::UserInfoI -gettLoginNumBySite user_info.cpp /^IceDelegateM::IMServerData::UserInfoI::gettLoginNumBySite(::IMServerData::StaticsSeq& lognum, const ::Ice::Context* __context)$/;" f class:IceDelegateM::IMServerData::UserInfoI -gettLoginNumBySite user_info.cpp /^IceProxy::IMServerData::UserInfoI::gettLoginNumBySite(::IMServerData::StaticsSeq& lognum, const ::Ice::Context* __ctx)$/;" f class:IceProxy::IMServerData::UserInfoI -ice_clone OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::ice_clone() const$/;" f class:OpenImWebService::OpenImSrvMgr -ice_clone TribeInterface.cpp /^TribeUpdateServer::TribeUpdateInterface::ice_clone() const$/;" f class:TribeUpdateServer::TribeUpdateInterface -ice_clone user_info.cpp /^IMServerData::UserInfoI::ice_clone() const$/;" f class:IMServerData::UserInfoI -ice_id OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::ice_id(const ::Ice::Current&) const$/;" f class:OpenImWebService::OpenImSrvMgr -ice_id TribeInterface.cpp /^TribeUpdateServer::TribeUpdateInterface::ice_id(const ::Ice::Current&) const$/;" f class:TribeUpdateServer::TribeUpdateInterface -ice_id user_info.cpp /^IMServerData::UserInfoI::ice_id(const ::Ice::Current&) const$/;" f class:IMServerData::UserInfoI -ice_ids OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::ice_ids(const ::Ice::Current&) const$/;" f class:OpenImWebService::OpenImSrvMgr -ice_ids TribeInterface.cpp /^TribeUpdateServer::TribeUpdateInterface::ice_ids(const ::Ice::Current&) const$/;" f class:TribeUpdateServer::TribeUpdateInterface -ice_ids user_info.cpp /^IMServerData::UserInfoI::ice_ids(const ::Ice::Current&) const$/;" f class:IMServerData::UserInfoI -ice_isA OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::ice_isA(const ::std::string& _s, const ::Ice::Current&) const$/;" f class:OpenImWebService::OpenImSrvMgr -ice_isA TribeInterface.cpp /^TribeUpdateServer::TribeUpdateInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const$/;" f class:TribeUpdateServer::TribeUpdateInterface -ice_isA user_info.cpp /^IMServerData::UserInfoI::ice_isA(const ::std::string& _s, const ::Ice::Current&) const$/;" f class:IMServerData::UserInfoI -ice_staticId OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::ice_staticId()$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -ice_staticId OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::ice_staticId()$/;" f class:OpenImWebService::OpenImSrvMgr -ice_staticId TribeInterface.cpp /^IceProxy::TribeUpdateServer::TribeUpdateInterface::ice_staticId()$/;" f class:IceProxy::TribeUpdateServer::TribeUpdateInterface -ice_staticId TribeInterface.cpp /^TribeUpdateServer::TribeUpdateInterface::ice_staticId()$/;" f class:TribeUpdateServer::TribeUpdateInterface -ice_staticId user_info.cpp /^IMServerData::UserInfoI::ice_staticId()$/;" f class:IMServerData::UserInfoI -ice_staticId user_info.cpp /^IceProxy::IMServerData::UserInfoI::ice_staticId()$/;" f class:IceProxy::IMServerData::UserInfoI -initIce SendWebsiteMsgDLL.cpp /^extern "C" SENDWEBSITEMSG_API int initIce(const char* conChrs, void **outPrx, void **outIc){$/;" f -init_timer benchmark.c /^int init_timer(struct bench * p,int* switcher){$/;" f -insert user_info.cpp /^IceDelegateD::IMServerData::UserInfoI::insert(const ::std::string& id, const ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __context)$/;" f class:IceDelegateD::IMServerData::UserInfoI -insert user_info.cpp /^IceDelegateM::IMServerData::UserInfoI::insert(const ::std::string& id, const ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __context)$/;" f class:IceDelegateM::IMServerData::UserInfoI -insert user_info.cpp /^IceProxy::IMServerData::UserInfoI::insert(const ::std::string& id, const ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __ctx)$/;" f class:IceProxy::IMServerData::UserInfoI -loginNtfy user_info.cpp /^IceDelegateD::IMServerData::UserInfoI::loginNtfy(const ::std::string& id, const ::Ice::Context* __context)$/;" f class:IceDelegateD::IMServerData::UserInfoI -loginNtfy user_info.cpp /^IceDelegateM::IMServerData::UserInfoI::loginNtfy(const ::std::string& id, const ::Ice::Context* __context)$/;" f class:IceDelegateM::IMServerData::UserInfoI -loginNtfy user_info.cpp /^IceProxy::IMServerData::UserInfoI::loginNtfy(const ::std::string& id, const ::Ice::Context* __ctx)$/;" f class:IceProxy::IMServerData::UserInfoI -main main.c /^int main (int argc, char* const argv[])$/;" f -nSendWebsiteMsg SendWebsiteMsgDLL.cpp /^SENDWEBSITEMSG_API int nSendWebsiteMsg=0;$/;" v -query user_info.cpp /^IceDelegateD::IMServerData::UserInfoI::query(const ::std::string& id, ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __context)$/;" f class:IceDelegateD::IMServerData::UserInfoI -query user_info.cpp /^IceDelegateM::IMServerData::UserInfoI::query(const ::std::string& id, ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __context)$/;" f class:IceDelegateM::IMServerData::UserInfoI -query user_info.cpp /^IceProxy::IMServerData::UserInfoI::query(const ::std::string& id, ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __ctx)$/;" f class:IceProxy::IMServerData::UserInfoI -read_umask benchmark.c /^mode_t read_umask(void)$/;" f -remove user_info.cpp /^IceDelegateD::IMServerData::UserInfoI::remove(const ::std::string& id, const ::Ice::Context* __context)$/;" f class:IceDelegateD::IMServerData::UserInfoI -remove user_info.cpp /^IceDelegateM::IMServerData::UserInfoI::remove(const ::std::string& id, const ::Ice::Context* __context)$/;" f class:IceDelegateM::IMServerData::UserInfoI -remove user_info.cpp /^IceProxy::IMServerData::UserInfoI::remove(const ::std::string& id, const ::Ice::Context* __ctx)$/;" f class:IceProxy::IMServerData::UserInfoI -setopenfiles benchmark.c /^void setopenfiles(void *p)$/;" f -success_transaction benchmark.c /^transaction_st_t* success_transaction(vuser_node_st_t *v, char *name){$/;" f -success_transactionEx benchmark.c /^transaction_st_t* success_transactionEx(vuser_node_st_t *v, char *name, char *msg){$/;" f -timmer_to_exit benchmark.c /^void* timmer_to_exit(void *tp){$/;" f -trans_analyse benchmark.c /^void trans_analyse(void* param){$/;" f -upCast OpenIMWebService.cpp /^::Ice::Object* IceInternal::upCast(::OpenImWebService::OpenImSrvMgr* p) { return p; }$/;" f class:IceInternal -upCast OpenIMWebService.cpp /^::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::OpenImWebService::OpenImSrvMgr* p) { return p; }$/;" f class:IceInternal -upCast TribeInterface.cpp /^::Ice::Object* IceInternal::upCast(::TribeUpdateServer::TribeUpdateInterface* p) { return p; }$/;" f class:IceInternal -upCast TribeInterface.cpp /^::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::TribeUpdateServer::TribeUpdateInterface* p) { return p; }$/;" f class:IceInternal -upCast user_info.cpp /^::Ice::Object* IceInternal::upCast(::IMServerData::UserInfoI* p) { return p; }$/;" f class:IceInternal -upCast user_info.cpp /^::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::IMServerData::UserInfoI* p) { return p; }$/;" f class:IceInternal -waitall benchmark.c /^void waitall(void *p)$/;" f diff --git a/features/aliww/source/.svn/text-base/tbWebMember.cpp.svn-base b/features/aliww/source/.svn/text-base/tbWebMember.cpp.svn-base deleted file mode 100644 index 7443ebe..0000000 --- a/features/aliww/source/.svn/text-base/tbWebMember.cpp.svn-base +++ /dev/null @@ -1,3213 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `tbWebMember.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __tbWebMember__UserProfile__GetSimpleUserProfile_name = "GetSimpleUserProfile"; - -static const ::std::string __tbWebMember__UserProfile__GetFullUserProfile_name = "GetFullUserProfile"; - -static const ::std::string __tbWebMember__UserProfile__GetUidByPenname_name = "GetUidByPenname"; - -static const ::std::string __tbWebMember__UserProfile__GetUserPwd_name = "GetUserPwd"; - -static const ::std::string __tbWebMember__UserProfile__CheckUser_name = "CheckUser"; - -static const ::std::string __tbWebMember__UserProfile__GetUserInfo_name = "GetUserInfo"; - -static const ::std::string __tbWebMember__UserProfile__GetTName_name = "GetTName"; - -static const ::std::string __tbWebMember__UserProfile__GetUDBData_name = "GetUDBData"; - -static const ::std::string __tbWebMember__UserProfile__GetExUDBData_name = "GetExUDBData"; - -static const ::std::string __tbWebMember__UserProfile__GetRates_name = "GetRates"; - -static const ::std::string __tbWebMember__UserProfile__GetBasicLoginInfo_name = "GetBasicLoginInfo"; - -static const ::std::string __tbWebMember__UserProfile__CheckUserWebToken_name = "CheckUserWebToken"; - -void -IceInternal::incRef(::tbWebMember::UserProfile* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::tbWebMember::UserProfile* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::tbWebMember::UserProfile* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::tbWebMember::UserProfile* p) -{ - p->__decRef(); -} - -void -tbWebMember::__write(::IceInternal::BasicStream* __os, const ::tbWebMember::UserProfilePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -tbWebMember::__read(::IceInternal::BasicStream* __is, ::tbWebMember::UserProfilePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::tbWebMember::UserProfile; - v->__copyFrom(proxy); - } -} - -void -tbWebMember::__write(::IceInternal::BasicStream* __os, const ::tbWebMember::UserProfilePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -tbWebMember::stbuserStatus::operator==(const stbuserStatus& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -tbWebMember::stbuserStatus::operator!=(const stbuserStatus& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(id != __rhs.id) - { - return true; - } - if(exists != __rhs.exists) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - return false; -} - -bool -tbWebMember::stbuserStatus::operator<(const stbuserStatus& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(id < __rhs.id) - { - return true; - } - else if(__rhs.id < id) - { - return false; - } - if(exists < __rhs.exists) - { - return true; - } - else if(__rhs.exists < exists) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - return false; -} - -void -tbWebMember::stbuserStatus::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(id); - __os->write(exists); - __os->write(status); -} - -void -tbWebMember::stbuserStatus::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(id); - __is->read(exists); - __is->read(status); -} - -bool -tbWebMember::stbuserPwd::operator==(const stbuserPwd& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -tbWebMember::stbuserPwd::operator!=(const stbuserPwd& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(passwd != __rhs.passwd) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - return false; -} - -bool -tbWebMember::stbuserPwd::operator<(const stbuserPwd& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(passwd < __rhs.passwd) - { - return true; - } - else if(__rhs.passwd < passwd) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - return false; -} - -void -tbWebMember::stbuserPwd::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(passwd); - __os->write(status); -} - -void -tbWebMember::stbuserPwd::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(passwd); - __is->read(status); -} - -bool -tbWebMember::stbuserInfo::operator==(const stbuserInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -tbWebMember::stbuserInfo::operator!=(const stbuserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(ratesum != __rhs.ratesum) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - if(promotedtype != __rhs.promotedtype) - { - return true; - } - if(active != __rhs.active) - { - return true; - } - if(id != __rhs.id) - { - return true; - } - return false; -} - -bool -tbWebMember::stbuserInfo::operator<(const stbuserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(ratesum < __rhs.ratesum) - { - return true; - } - else if(__rhs.ratesum < ratesum) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - if(promotedtype < __rhs.promotedtype) - { - return true; - } - else if(__rhs.promotedtype < promotedtype) - { - return false; - } - if(active < __rhs.active) - { - return true; - } - else if(__rhs.active < active) - { - return false; - } - if(id < __rhs.id) - { - return true; - } - else if(__rhs.id < id) - { - return false; - } - return false; -} - -void -tbWebMember::stbuserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(ratesum); - __os->write(userLevel); - __os->write(promotedtype); - __os->write(active); - __os->write(id); -} - -void -tbWebMember::stbuserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(ratesum); - __is->read(userLevel); - __is->read(promotedtype); - __is->read(active); - __is->read(id); -} - -bool -tbWebMember::SSimpleUserProfile::operator==(const SSimpleUserProfile& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -tbWebMember::SSimpleUserProfile::operator!=(const SSimpleUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - return false; -} - -bool -tbWebMember::SSimpleUserProfile::operator<(const SSimpleUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - return false; -} - -void -tbWebMember::SSimpleUserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(password); - __os->write(status); -} - -void -tbWebMember::SSimpleUserProfile::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(password); - __is->read(status); -} - -bool -tbWebMember::SHalfUserProfile::operator==(const SHalfUserProfile& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -tbWebMember::SHalfUserProfile::operator!=(const SHalfUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(realName != __rhs.realName) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobTitle != __rhs.jobTitle) - { - return true; - } - if(memberLevel != __rhs.memberLevel) - { - return true; - } - if(penName != __rhs.penName) - { - return true; - } - if(categoryId != __rhs.categoryId) - { - return true; - } - if(phoneArea != __rhs.phoneArea) - { - return true; - } - if(phoneStatus != __rhs.phoneStatus) - { - return true; - } - if(phone != __rhs.phone) - { - return true; - } - return false; -} - -bool -tbWebMember::SHalfUserProfile::operator<(const SHalfUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(realName < __rhs.realName) - { - return true; - } - else if(__rhs.realName < realName) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobTitle < __rhs.jobTitle) - { - return true; - } - else if(__rhs.jobTitle < jobTitle) - { - return false; - } - if(memberLevel < __rhs.memberLevel) - { - return true; - } - else if(__rhs.memberLevel < memberLevel) - { - return false; - } - if(penName < __rhs.penName) - { - return true; - } - else if(__rhs.penName < penName) - { - return false; - } - if(categoryId < __rhs.categoryId) - { - return true; - } - else if(__rhs.categoryId < categoryId) - { - return false; - } - if(phoneArea < __rhs.phoneArea) - { - return true; - } - else if(__rhs.phoneArea < phoneArea) - { - return false; - } - if(phoneStatus < __rhs.phoneStatus) - { - return true; - } - else if(__rhs.phoneStatus < phoneStatus) - { - return false; - } - if(phone < __rhs.phone) - { - return true; - } - else if(__rhs.phone < phone) - { - return false; - } - return false; -} - -void -tbWebMember::SHalfUserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(password); - __os->write(status); - __os->write(realName); - __os->write(company); - __os->write(jobTitle); - __os->write(memberLevel); - __os->write(penName); - __os->write(categoryId); - __os->write(phoneArea); - __os->write(phoneStatus); - __os->write(phone); -} - -void -tbWebMember::SHalfUserProfile::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(password); - __is->read(status); - __is->read(realName); - __is->read(company); - __is->read(jobTitle); - __is->read(memberLevel); - __is->read(penName); - __is->read(categoryId); - __is->read(phoneArea); - __is->read(phoneStatus); - __is->read(phone); -} - -bool -tbWebMember::StbFullUserProfile::operator==(const StbFullUserProfile& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -tbWebMember::StbFullUserProfile::operator!=(const StbFullUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(zip != __rhs.zip) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(birthdate != __rhs.birthdate) - { - return true; - } - if(activated != __rhs.activated) - { - return true; - } - if(id != __rhs.id) - { - return true; - } - return false; -} - -bool -tbWebMember::StbFullUserProfile::operator<(const StbFullUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(zip < __rhs.zip) - { - return true; - } - else if(__rhs.zip < zip) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(birthdate < __rhs.birthdate) - { - return true; - } - else if(__rhs.birthdate < birthdate) - { - return false; - } - if(activated < __rhs.activated) - { - return true; - } - else if(__rhs.activated < activated) - { - return false; - } - if(id < __rhs.id) - { - return true; - } - else if(__rhs.id < id) - { - return false; - } - return false; -} - -void -tbWebMember::StbFullUserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(address); - __os->write(zip); - __os->write(email); - __os->write(birthdate); - __os->write(activated); - __os->write(id); -} - -void -tbWebMember::StbFullUserProfile::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(address); - __is->read(zip); - __is->read(email); - __is->read(birthdate); - __is->read(activated); - __is->read(id); -} - -bool -tbWebMember::sUdbData::operator==(const sUdbData& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -tbWebMember::sUdbData::operator!=(const sUdbData& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(id != __rhs.id) - { - return true; - } - if(nick != __rhs.nick) - { - return true; - } - if(fullname != __rhs.fullname) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(zip != __rhs.zip) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(phone != __rhs.phone) - { - return true; - } - if(mobilephone != __rhs.mobilephone) - { - return true; - } - if(prov != __rhs.prov) - { - return true; - } - if(city != __rhs.city) - { - return true; - } - if(usergender != __rhs.usergender) - { - return true; - } - if(birthdate != __rhs.birthdate) - { - return true; - } - return false; -} - -bool -tbWebMember::sUdbData::operator<(const sUdbData& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(id < __rhs.id) - { - return true; - } - else if(__rhs.id < id) - { - return false; - } - if(nick < __rhs.nick) - { - return true; - } - else if(__rhs.nick < nick) - { - return false; - } - if(fullname < __rhs.fullname) - { - return true; - } - else if(__rhs.fullname < fullname) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(zip < __rhs.zip) - { - return true; - } - else if(__rhs.zip < zip) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(phone < __rhs.phone) - { - return true; - } - else if(__rhs.phone < phone) - { - return false; - } - if(mobilephone < __rhs.mobilephone) - { - return true; - } - else if(__rhs.mobilephone < mobilephone) - { - return false; - } - if(prov < __rhs.prov) - { - return true; - } - else if(__rhs.prov < prov) - { - return false; - } - if(city < __rhs.city) - { - return true; - } - else if(__rhs.city < city) - { - return false; - } - if(usergender < __rhs.usergender) - { - return true; - } - else if(__rhs.usergender < usergender) - { - return false; - } - if(birthdate < __rhs.birthdate) - { - return true; - } - else if(__rhs.birthdate < birthdate) - { - return false; - } - return false; -} - -void -tbWebMember::sUdbData::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(id); - __os->write(nick); - __os->write(fullname); - __os->write(password); - __os->write(email); - __os->write(zip); - __os->write(address); - __os->write(phone); - __os->write(mobilephone); - __os->write(prov); - __os->write(city); - __os->write(usergender); - __os->write(birthdate); -} - -void -tbWebMember::sUdbData::__read(::IceInternal::BasicStream* __is) -{ - __is->read(id); - __is->read(nick); - __is->read(fullname); - __is->read(password); - __is->read(email); - __is->read(zip); - __is->read(address); - __is->read(phone); - __is->read(mobilephone); - __is->read(prov); - __is->read(city); - __is->read(usergender); - __is->read(birthdate); -} - -bool -tbWebMember::SExUdbData::operator==(const SExUdbData& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -tbWebMember::SExUdbData::operator!=(const SExUdbData& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(id != __rhs.id) - { - return true; - } - if(nick != __rhs.nick) - { - return true; - } - if(fullname != __rhs.fullname) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(zip != __rhs.zip) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(phone != __rhs.phone) - { - return true; - } - if(mobilephone != __rhs.mobilephone) - { - return true; - } - if(prov != __rhs.prov) - { - return true; - } - if(city != __rhs.city) - { - return true; - } - if(usergender != __rhs.usergender) - { - return true; - } - if(birthdate != __rhs.birthdate) - { - return true; - } - if(district != __rhs.district) - { - return true; - } - if(website != __rhs.website) - { - return true; - } - if(interesting != __rhs.interesting) - { - return true; - } - return false; -} - -bool -tbWebMember::SExUdbData::operator<(const SExUdbData& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(id < __rhs.id) - { - return true; - } - else if(__rhs.id < id) - { - return false; - } - if(nick < __rhs.nick) - { - return true; - } - else if(__rhs.nick < nick) - { - return false; - } - if(fullname < __rhs.fullname) - { - return true; - } - else if(__rhs.fullname < fullname) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(zip < __rhs.zip) - { - return true; - } - else if(__rhs.zip < zip) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(phone < __rhs.phone) - { - return true; - } - else if(__rhs.phone < phone) - { - return false; - } - if(mobilephone < __rhs.mobilephone) - { - return true; - } - else if(__rhs.mobilephone < mobilephone) - { - return false; - } - if(prov < __rhs.prov) - { - return true; - } - else if(__rhs.prov < prov) - { - return false; - } - if(city < __rhs.city) - { - return true; - } - else if(__rhs.city < city) - { - return false; - } - if(usergender < __rhs.usergender) - { - return true; - } - else if(__rhs.usergender < usergender) - { - return false; - } - if(birthdate < __rhs.birthdate) - { - return true; - } - else if(__rhs.birthdate < birthdate) - { - return false; - } - if(district < __rhs.district) - { - return true; - } - else if(__rhs.district < district) - { - return false; - } - if(website < __rhs.website) - { - return true; - } - else if(__rhs.website < website) - { - return false; - } - if(interesting < __rhs.interesting) - { - return true; - } - else if(__rhs.interesting < interesting) - { - return false; - } - return false; -} - -void -tbWebMember::SExUdbData::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(id); - __os->write(nick); - __os->write(fullname); - __os->write(password); - __os->write(email); - __os->write(zip); - __os->write(address); - __os->write(phone); - __os->write(mobilephone); - __os->write(prov); - __os->write(city); - __os->write(usergender); - __os->write(birthdate); - __os->write(district); - __os->write(website); - __os->write(interesting); -} - -void -tbWebMember::SExUdbData::__read(::IceInternal::BasicStream* __is) -{ - __is->read(id); - __is->read(nick); - __is->read(fullname); - __is->read(password); - __is->read(email); - __is->read(zip); - __is->read(address); - __is->read(phone); - __is->read(mobilephone); - __is->read(prov); - __is->read(city); - __is->read(usergender); - __is->read(birthdate); - __is->read(district); - __is->read(website); - __is->read(interesting); -} - -bool -tbWebMember::SBLoginInfo::operator==(const SBLoginInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -tbWebMember::SBLoginInfo::operator!=(const SBLoginInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(passwd != __rhs.passwd) - { - return true; - } - if(actived != __rhs.actived) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(extraInfo != __rhs.extraInfo) - { - return true; - } - return false; -} - -bool -tbWebMember::SBLoginInfo::operator<(const SBLoginInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(passwd < __rhs.passwd) - { - return true; - } - else if(__rhs.passwd < passwd) - { - return false; - } - if(actived < __rhs.actived) - { - return true; - } - else if(__rhs.actived < actived) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(extraInfo < __rhs.extraInfo) - { - return true; - } - else if(__rhs.extraInfo < extraInfo) - { - return false; - } - return false; -} - -void -tbWebMember::SBLoginInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(passwd); - __os->write(actived); - __os->write(status); - __os->write(extraInfo); -} - -void -tbWebMember::SBLoginInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(passwd); - __is->read(actived); - __is->read(status); - __is->read(extraInfo); -} - -void -tbWebMember::__write(::IceInternal::BasicStream* __os, const ::tbWebMember::SSimpleUserProfile* begin, const ::tbWebMember::SSimpleUserProfile* end, ::tbWebMember::__U__SUserSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -tbWebMember::__read(::IceInternal::BasicStream* __is, ::tbWebMember::SUserSeq& v, ::tbWebMember::__U__SUserSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 3); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -tbWebMember::__write(::IceInternal::BasicStream* __os, const ::tbWebMember::SHalfUserProfile* begin, const ::tbWebMember::SHalfUserProfile* end, ::tbWebMember::__U__HUserSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -tbWebMember::__read(::IceInternal::BasicStream* __is, ::tbWebMember::HUserSeq& v, ::tbWebMember::__U__HUserSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 15); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -tbWebMember::__write(::IceInternal::BasicStream* __os, const ::tbWebMember::StbFullUserProfile* begin, const ::tbWebMember::StbFullUserProfile* end, ::tbWebMember::__U__tbFUserSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -tbWebMember::__read(::IceInternal::BasicStream* __is, ::tbWebMember::tbFUserSeq& v, ::tbWebMember::__U__tbFUserSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 10); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -tbWebMember::__addObject(const UserProfilePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -tbWebMember::__usesClasses(const UserProfilePtr& p) -{ - return p->__usesClasses(); -} - -void -tbWebMember::__decRefUnsafe(const UserProfilePtr& p) -{ - p->__decRefUnsafe(); -} - -void -tbWebMember::__clearHandleUnsafe(UserProfilePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::tbWebMember::UserProfile::GetSimpleUserProfile(const ::std::string& uid, ::tbWebMember::SSimpleUserProfile& userProfiles, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__tbWebMember__UserProfile__GetSimpleUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::tbWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::tbWebMember::UserProfile*>(__delBase.get()); - return __del->GetSimpleUserProfile(uid, userProfiles, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::tbWebMember::UserProfile::GetFullUserProfile(const ::std::string& uid, ::tbWebMember::StbFullUserProfile& userProfiles, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__tbWebMember__UserProfile__GetFullUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::tbWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::tbWebMember::UserProfile*>(__delBase.get()); - return __del->GetFullUserProfile(uid, userProfiles, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::tbWebMember::UserProfile::GetUidByPenname(const ::std::string& penName, ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__tbWebMember__UserProfile__GetUidByPenname_name); - __delBase = __getDelegate(); - ::IceDelegate::tbWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::tbWebMember::UserProfile*>(__delBase.get()); - return __del->GetUidByPenname(penName, userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::tbWebMember::UserProfile::GetUserPwd(const ::std::string& uid, ::tbWebMember::stbuserPwd& pwd, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__tbWebMember__UserProfile__GetUserPwd_name); - __delBase = __getDelegate(); - ::IceDelegate::tbWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::tbWebMember::UserProfile*>(__delBase.get()); - return __del->GetUserPwd(uid, pwd, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::tbWebMember::UserProfile::CheckUser(const ::std::string& uid, ::tbWebMember::stbuserStatus& st, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__tbWebMember__UserProfile__CheckUser_name); - __delBase = __getDelegate(); - ::IceDelegate::tbWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::tbWebMember::UserProfile*>(__delBase.get()); - return __del->CheckUser(uid, st, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::tbWebMember::UserProfile::GetUserInfo(const ::std::string& uid, ::tbWebMember::stbuserInfo& info, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__tbWebMember__UserProfile__GetUserInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::tbWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::tbWebMember::UserProfile*>(__delBase.get()); - return __del->GetUserInfo(uid, info, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::tbWebMember::UserProfile::GetTName(const ::std::string& uid, ::std::string& tname, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__tbWebMember__UserProfile__GetTName_name); - __delBase = __getDelegate(); - ::IceDelegate::tbWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::tbWebMember::UserProfile*>(__delBase.get()); - return __del->GetTName(uid, tname, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::tbWebMember::UserProfile::GetUDBData(const ::std::string& uid, ::tbWebMember::sUdbData& udbInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__tbWebMember__UserProfile__GetUDBData_name); - __delBase = __getDelegate(); - ::IceDelegate::tbWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::tbWebMember::UserProfile*>(__delBase.get()); - return __del->GetUDBData(uid, udbInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::tbWebMember::UserProfile::GetExUDBData(const ::std::string& uid, ::tbWebMember::SExUdbData& exudbInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__tbWebMember__UserProfile__GetExUDBData_name); - __delBase = __getDelegate(); - ::IceDelegate::tbWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::tbWebMember::UserProfile*>(__delBase.get()); - return __del->GetExUDBData(uid, exudbInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::tbWebMember::UserProfile::GetRates(const ::std::string& uid, ::Ice::Int& buyrates, ::Ice::Int& sellrates, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__tbWebMember__UserProfile__GetRates_name); - __delBase = __getDelegate(); - ::IceDelegate::tbWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::tbWebMember::UserProfile*>(__delBase.get()); - return __del->GetRates(uid, buyrates, sellrates, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::tbWebMember::UserProfile::GetBasicLoginInfo(const ::std::string& uid, ::tbWebMember::SBLoginInfo& info, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__tbWebMember__UserProfile__GetBasicLoginInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::tbWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::tbWebMember::UserProfile*>(__delBase.get()); - return __del->GetBasicLoginInfo(uid, info, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::tbWebMember::UserProfile::CheckUserWebToken(const ::std::string& uid, const ::std::string& token, ::std::string& reason, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__tbWebMember__UserProfile__CheckUserWebToken_name); - __delBase = __getDelegate(); - ::IceDelegate::tbWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::tbWebMember::UserProfile*>(__delBase.get()); - return __del->CheckUserWebToken(uid, token, reason, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::tbWebMember::UserProfile::ice_staticId() -{ - return ::tbWebMember::UserProfile::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::tbWebMember::UserProfile::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::tbWebMember::UserProfile); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::tbWebMember::UserProfile::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::tbWebMember::UserProfile); -} - -bool -IceProxy::tbWebMember::operator==(const ::IceProxy::tbWebMember::UserProfile& l, const ::IceProxy::tbWebMember::UserProfile& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::tbWebMember::operator!=(const ::IceProxy::tbWebMember::UserProfile& l, const ::IceProxy::tbWebMember::UserProfile& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::tbWebMember::operator<(const ::IceProxy::tbWebMember::UserProfile& l, const ::IceProxy::tbWebMember::UserProfile& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::tbWebMember::operator<=(const ::IceProxy::tbWebMember::UserProfile& l, const ::IceProxy::tbWebMember::UserProfile& r) -{ - return l < r || l == r; -} - -bool -IceProxy::tbWebMember::operator>(const ::IceProxy::tbWebMember::UserProfile& l, const ::IceProxy::tbWebMember::UserProfile& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::tbWebMember::operator>=(const ::IceProxy::tbWebMember::UserProfile& l, const ::IceProxy::tbWebMember::UserProfile& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::tbWebMember::UserProfile::GetSimpleUserProfile(const ::std::string& uid, ::tbWebMember::SSimpleUserProfile& userProfiles, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __tbWebMember__UserProfile__GetSimpleUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userProfiles.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::tbWebMember::UserProfile::GetFullUserProfile(const ::std::string& uid, ::tbWebMember::StbFullUserProfile& userProfiles, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __tbWebMember__UserProfile__GetFullUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userProfiles.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::tbWebMember::UserProfile::GetUidByPenname(const ::std::string& penName, ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __tbWebMember__UserProfile__GetUidByPenname_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(penName); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::tbWebMember::UserProfile::GetUserPwd(const ::std::string& uid, ::tbWebMember::stbuserPwd& pwd, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __tbWebMember__UserProfile__GetUserPwd_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - pwd.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::tbWebMember::UserProfile::CheckUser(const ::std::string& uid, ::tbWebMember::stbuserStatus& st, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __tbWebMember__UserProfile__CheckUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - st.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::tbWebMember::UserProfile::GetUserInfo(const ::std::string& uid, ::tbWebMember::stbuserInfo& info, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __tbWebMember__UserProfile__GetUserInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - info.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::tbWebMember::UserProfile::GetTName(const ::std::string& uid, ::std::string& tname, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __tbWebMember__UserProfile__GetTName_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(tname); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::tbWebMember::UserProfile::GetUDBData(const ::std::string& uid, ::tbWebMember::sUdbData& udbInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __tbWebMember__UserProfile__GetUDBData_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - udbInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::tbWebMember::UserProfile::GetExUDBData(const ::std::string& uid, ::tbWebMember::SExUdbData& exudbInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __tbWebMember__UserProfile__GetExUDBData_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - exudbInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::tbWebMember::UserProfile::GetRates(const ::std::string& uid, ::Ice::Int& buyrates, ::Ice::Int& sellrates, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __tbWebMember__UserProfile__GetRates_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(buyrates); - __is->read(sellrates); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::tbWebMember::UserProfile::GetBasicLoginInfo(const ::std::string& uid, ::tbWebMember::SBLoginInfo& info, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __tbWebMember__UserProfile__GetBasicLoginInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - info.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::tbWebMember::UserProfile::CheckUserWebToken(const ::std::string& uid, const ::std::string& token, ::std::string& reason, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __tbWebMember__UserProfile__CheckUserWebToken_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(token); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(reason); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::tbWebMember::UserProfile::GetSimpleUserProfile(const ::std::string& uid, ::tbWebMember::SSimpleUserProfile& userProfiles, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __tbWebMember__UserProfile__GetSimpleUserProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::tbWebMember::UserProfile* __servant = dynamic_cast< ::tbWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetSimpleUserProfile(uid, userProfiles, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::tbWebMember::UserProfile::GetFullUserProfile(const ::std::string& uid, ::tbWebMember::StbFullUserProfile& userProfiles, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __tbWebMember__UserProfile__GetFullUserProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::tbWebMember::UserProfile* __servant = dynamic_cast< ::tbWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetFullUserProfile(uid, userProfiles, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::tbWebMember::UserProfile::GetUidByPenname(const ::std::string& penName, ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __tbWebMember__UserProfile__GetUidByPenname_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::tbWebMember::UserProfile* __servant = dynamic_cast< ::tbWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUidByPenname(penName, userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::tbWebMember::UserProfile::GetUserPwd(const ::std::string& uid, ::tbWebMember::stbuserPwd& pwd, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __tbWebMember__UserProfile__GetUserPwd_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::tbWebMember::UserProfile* __servant = dynamic_cast< ::tbWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUserPwd(uid, pwd, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::tbWebMember::UserProfile::CheckUser(const ::std::string& uid, ::tbWebMember::stbuserStatus& st, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __tbWebMember__UserProfile__CheckUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::tbWebMember::UserProfile* __servant = dynamic_cast< ::tbWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->CheckUser(uid, st, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::tbWebMember::UserProfile::GetUserInfo(const ::std::string& uid, ::tbWebMember::stbuserInfo& info, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __tbWebMember__UserProfile__GetUserInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::tbWebMember::UserProfile* __servant = dynamic_cast< ::tbWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUserInfo(uid, info, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::tbWebMember::UserProfile::GetTName(const ::std::string& uid, ::std::string& tname, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __tbWebMember__UserProfile__GetTName_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::tbWebMember::UserProfile* __servant = dynamic_cast< ::tbWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetTName(uid, tname, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::tbWebMember::UserProfile::GetUDBData(const ::std::string& uid, ::tbWebMember::sUdbData& udbInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __tbWebMember__UserProfile__GetUDBData_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::tbWebMember::UserProfile* __servant = dynamic_cast< ::tbWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUDBData(uid, udbInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::tbWebMember::UserProfile::GetExUDBData(const ::std::string& uid, ::tbWebMember::SExUdbData& exudbInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __tbWebMember__UserProfile__GetExUDBData_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::tbWebMember::UserProfile* __servant = dynamic_cast< ::tbWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetExUDBData(uid, exudbInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::tbWebMember::UserProfile::GetRates(const ::std::string& uid, ::Ice::Int& buyrates, ::Ice::Int& sellrates, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __tbWebMember__UserProfile__GetRates_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::tbWebMember::UserProfile* __servant = dynamic_cast< ::tbWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetRates(uid, buyrates, sellrates, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::tbWebMember::UserProfile::GetBasicLoginInfo(const ::std::string& uid, ::tbWebMember::SBLoginInfo& info, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __tbWebMember__UserProfile__GetBasicLoginInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::tbWebMember::UserProfile* __servant = dynamic_cast< ::tbWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetBasicLoginInfo(uid, info, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::tbWebMember::UserProfile::CheckUserWebToken(const ::std::string& uid, const ::std::string& token, ::std::string& reason, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __tbWebMember__UserProfile__CheckUserWebToken_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::tbWebMember::UserProfile* __servant = dynamic_cast< ::tbWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->CheckUserWebToken(uid, token, reason, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -tbWebMember::UserProfile::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __tbWebMember__UserProfile_ids[2] = -{ - "::Ice::Object", - "::tbWebMember::UserProfile" -}; - -bool -tbWebMember::UserProfile::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__tbWebMember__UserProfile_ids, __tbWebMember__UserProfile_ids + 2, _s); -} - -::std::vector< ::std::string> -tbWebMember::UserProfile::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__tbWebMember__UserProfile_ids[0], &__tbWebMember__UserProfile_ids[2]); -} - -const ::std::string& -tbWebMember::UserProfile::ice_id(const ::Ice::Current&) const -{ - return __tbWebMember__UserProfile_ids[1]; -} - -const ::std::string& -tbWebMember::UserProfile::ice_staticId() -{ - return __tbWebMember__UserProfile_ids[1]; -} - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::___GetSimpleUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::tbWebMember::SSimpleUserProfile userProfiles; - ::Ice::Int __ret = GetSimpleUserProfile(uid, userProfiles, __current); - userProfiles.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::___GetFullUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::tbWebMember::StbFullUserProfile userProfiles; - ::Ice::Int __ret = GetFullUserProfile(uid, userProfiles, __current); - userProfiles.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::___GetUidByPenname(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string penName; - __is->read(penName); - ::std::string userId; - ::Ice::Int __ret = GetUidByPenname(penName, userId, __current); - __os->write(userId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::___GetUserPwd(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::tbWebMember::stbuserPwd pwd; - ::Ice::Int __ret = GetUserPwd(uid, pwd, __current); - pwd.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::___CheckUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::tbWebMember::stbuserStatus st; - ::Ice::Int __ret = CheckUser(uid, st, __current); - st.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::___GetUserInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::tbWebMember::stbuserInfo info; - ::Ice::Int __ret = GetUserInfo(uid, info, __current); - info.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::___GetTName(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::std::string tname; - ::Ice::Int __ret = GetTName(uid, tname, __current); - __os->write(tname); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::___GetUDBData(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::tbWebMember::sUdbData udbInfo; - ::Ice::Int __ret = GetUDBData(uid, udbInfo, __current); - udbInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::___GetExUDBData(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::tbWebMember::SExUdbData exudbInfo; - ::Ice::Int __ret = GetExUDBData(uid, exudbInfo, __current); - exudbInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::___GetRates(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::Int buyrates; - ::Ice::Int sellrates; - ::Ice::Int __ret = GetRates(uid, buyrates, sellrates, __current); - __os->write(buyrates); - __os->write(sellrates); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::___GetBasicLoginInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::tbWebMember::SBLoginInfo info; - ::Ice::Int __ret = GetBasicLoginInfo(uid, info, __current); - info.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::___CheckUserWebToken(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string token; - __is->read(uid); - __is->read(token); - ::std::string reason; - ::Ice::Int __ret = CheckUserWebToken(uid, token, reason, __current); - __os->write(reason); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __tbWebMember__UserProfile_all[] = -{ - "CheckUser", - "CheckUserWebToken", - "GetBasicLoginInfo", - "GetExUDBData", - "GetFullUserProfile", - "GetRates", - "GetSimpleUserProfile", - "GetTName", - "GetUDBData", - "GetUidByPenname", - "GetUserInfo", - "GetUserPwd", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__tbWebMember__UserProfile_all, __tbWebMember__UserProfile_all + 16, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __tbWebMember__UserProfile_all) - { - case 0: - { - return ___CheckUser(in, current); - } - case 1: - { - return ___CheckUserWebToken(in, current); - } - case 2: - { - return ___GetBasicLoginInfo(in, current); - } - case 3: - { - return ___GetExUDBData(in, current); - } - case 4: - { - return ___GetFullUserProfile(in, current); - } - case 5: - { - return ___GetRates(in, current); - } - case 6: - { - return ___GetSimpleUserProfile(in, current); - } - case 7: - { - return ___GetTName(in, current); - } - case 8: - { - return ___GetUDBData(in, current); - } - case 9: - { - return ___GetUidByPenname(in, current); - } - case 10: - { - return ___GetUserInfo(in, current); - } - case 11: - { - return ___GetUserPwd(in, current); - } - case 12: - { - return ___ice_id(in, current); - } - case 13: - { - return ___ice_ids(in, current); - } - case 14: - { - return ___ice_isA(in, current); - } - case 15: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -tbWebMember::UserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -tbWebMember::UserProfile::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -tbWebMember::UserProfile::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type tbWebMember::UserProfile was not generated with stream support"; - throw ex; -} - -void -tbWebMember::UserProfile::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type tbWebMember::UserProfile was not generated with stream support"; - throw ex; -} - -void -tbWebMember::__patch__UserProfilePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::tbWebMember::UserProfilePtr* p = static_cast< ::tbWebMember::UserProfilePtr*>(__addr); - assert(p); - *p = ::tbWebMember::UserProfilePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::tbWebMember::UserProfile::ice_staticId(); - throw e; - } -} - -bool -tbWebMember::operator==(const ::tbWebMember::UserProfile& l, const ::tbWebMember::UserProfile& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -tbWebMember::operator!=(const ::tbWebMember::UserProfile& l, const ::tbWebMember::UserProfile& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -tbWebMember::operator<(const ::tbWebMember::UserProfile& l, const ::tbWebMember::UserProfile& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -tbWebMember::operator<=(const ::tbWebMember::UserProfile& l, const ::tbWebMember::UserProfile& r) -{ - return l < r || l == r; -} - -bool -tbWebMember::operator>(const ::tbWebMember::UserProfile& l, const ::tbWebMember::UserProfile& r) -{ - return !(l < r) && !(l == r); -} - -bool -tbWebMember::operator>=(const ::tbWebMember::UserProfile& l, const ::tbWebMember::UserProfile& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/tbbdb_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/tbbdb_pack.cpp.svn-base deleted file mode 100644 index 536b221..0000000 --- a/features/aliww/source/.svn/text-base/tbbdb_pack.cpp.svn-base +++ /dev/null @@ -1,370 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tbbdb_pack.cpp -// Date: 2011-01-30 12:50:11 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "tbbdb_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SBdbtribe& sBdbtribe ) -{ - uint8_t nFieldNum = 25; - do { - if(sBdbtribe.m_memberLimit == 200) - nFieldNum--; - else - break; - if(sBdbtribe.m_groupId == 0) - nFieldNum--; - else - break; - if(sBdbtribe.m_webTid == "") - nFieldNum--; - else - break; - } while(0); - cPackData << nFieldNum; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_tribeid; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_catid; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_membertimes; - cPackData << FT_UINT16; - cPackData << sBdbtribe.m_checkmode; - cPackData << FT_UINT8; - cPackData << sBdbtribe.m_allowvisitor; - cPackData << FT_UINT8; - cPackData << sBdbtribe.m_forbidsearch; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_groupstamp; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_blackstamp; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_blacknum; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_onlinetime; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_onlineactdegree; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_chatactdegree; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_rewardactdegree; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_totalactdegree; - cPackData << FT_STRING; - cPackData << sBdbtribe.m_name; - cPackData << FT_STRING; - cPackData << sBdbtribe.m_owner; - cPackData << FT_STRING; - cPackData << sBdbtribe.m_desc; - cPackData << FT_STRING; - cPackData << sBdbtribe.m_bulletin; - cPackData << FT_STRING; - cPackData << sBdbtribe.m_password; - cPackData << FT_STRING; - cPackData << sBdbtribe.m_validcode; - cPackData << FT_STRING; - cPackData << sBdbtribe.m_keyword; - cPackData << FT_STRING; - cPackData << sBdbtribe.m_extsign; - if(nFieldNum == 22) - return cPackData; - cPackData << FT_STRING; - cPackData << sBdbtribe.m_webTid; - if(nFieldNum == 23) - return cPackData; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_groupId; - if(nFieldNum == 24) - return cPackData; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_memberLimit; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SBdbtribe& sBdbtribe ) -{ - uint8_t num; - cPackData >> num; - if(num < 22) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_tribeid; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_catid; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_membertimes; - cPackData >> field; - if(field.m_baseType != FT_UINT16) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_checkmode; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_allowvisitor; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_forbidsearch; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_groupstamp; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_blackstamp; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_blacknum; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_onlinetime; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_onlineactdegree; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_chatactdegree; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_rewardactdegree; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_totalactdegree; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_name; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_owner; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_desc; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_bulletin; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_password; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_validcode; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_keyword; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_extsign; - try - { - if(num < 23) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_webTid; - if(num < 24) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_groupId; - if(num < 25) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_memberLimit; - } - catch(PACKRETCODE) - { - return cPackData; - } - for(int i = 25; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const SBdbtribemembernode& sBdbtribemembernode ) -{ - uint8_t nFieldNum = 21; - do { - if(sBdbtribemembernode.m_popupflag == 0) - nFieldNum--; - else - break; - } while(0); - cPackData << nFieldNum; - cPackData << FT_UINT8; - cPackData << sBdbtribemembernode.m_tribelevel; - cPackData << FT_UINT8; - cPackData << sBdbtribemembernode.m_trbstatus; - cPackData << FT_UINT32; - cPackData << sBdbtribemembernode.m_lastmsgid; - cPackData << FT_UINT32; - cPackData << sBdbtribemembernode.m_logontime; - cPackData << FT_STRING; - cPackData << sBdbtribemembernode.m_userid; - cPackData << FT_STRING; - cPackData << sBdbtribemembernode.m_username; - cPackData << FT_UINT8; - cPackData << sBdbtribemembernode.m_mobilebindflag; - cPackData << FT_STRING; - cPackData << sBdbtribemembernode.m_mobileno; - cPackData << FT_STRING; - cPackData << sBdbtribemembernode.m_bindmobile; - cPackData << FT_UINT32; - cPackData << sBdbtribemembernode.m_lastchattime; - cPackData << FT_UINT32; - cPackData << sBdbtribemembernode.m_onlinetime; - cPackData << FT_UINT32; - cPackData << sBdbtribemembernode.m_onlineactive; - cPackData << FT_UINT32; - cPackData << sBdbtribemembernode.m_chatactive; - cPackData << FT_UINT32; - cPackData << sBdbtribemembernode.m_rewardactive; - cPackData << FT_UINT32; - cPackData << sBdbtribemembernode.m_totalactive; - cPackData << FT_UINT32; - cPackData << sBdbtribemembernode.m_addtimes; - cPackData << FT_STRING; - cPackData << sBdbtribemembernode.m_version; - cPackData << FT_UINT64; - cPackData << sBdbtribemembernode.m_groupid; - cPackData << FT_UINT8; - cPackData << sBdbtribemembernode.m_starmember; - cPackData << FT_UINT8; - cPackData << sBdbtribemembernode.m_openflag; - if(nFieldNum == 20) - return cPackData; - cPackData << FT_UINT8; - cPackData << sBdbtribemembernode.m_popupflag; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SBdbtribemembernode& sBdbtribemembernode ) -{ - uint8_t num; - cPackData >> num; - if(num < 20) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_tribelevel; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_trbstatus; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_lastmsgid; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_logontime; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_userid; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_username; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_mobilebindflag; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_mobileno; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_bindmobile; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_lastchattime; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_onlinetime; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_onlineactive; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_chatactive; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_rewardactive; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_totalactive; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_addtimes; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_version; - cPackData >> field; - if(field.m_baseType != FT_UINT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_groupid; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_starmember; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_openflag; - try - { - if(num < 21) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_popupflag; - } - catch(PACKRETCODE) - { - return cPackData; - } - for(int i = 21; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const SBdbtribemembernodevector& sBdbtribemembernodevector ) -{ - uint8_t nFieldNum = 1; - cPackData << nFieldNum; - cPackData << FT_VECTOR; - cPackData << FT_STRUCT; - { - uint32_t nLen = sBdbtribemembernodevector.m_nodes.size(); - cPackData << nLen; - VECTOR< SBdbtribemembernode >::const_iterator itr; - for(itr = sBdbtribemembernodevector.m_nodes.begin(); itr != sBdbtribemembernodevector.m_nodes.end(); ++itr) - { - cPackData << (*itr); - } - } - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SBdbtribemembernodevector& sBdbtribemembernodevector ) -{ - uint8_t num; - cPackData >> num; - if(num < 1) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_VECTOR) throw PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - cPackData >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - sBdbtribemembernodevector.m_nodes.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SBdbtribemembernode tmpVal; - cPackData >> tmpVal; - sBdbtribemembernodevector.m_nodes.push_back(tmpVal); - } - } - for(int i = 1; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - diff --git a/features/aliww/source/.svn/text-base/tbsc_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/tbsc_pack.cpp.svn-base deleted file mode 100644 index 15d9e1b..0000000 --- a/features/aliww/source/.svn/text-base/tbsc_pack.cpp.svn-base +++ /dev/null @@ -1,8457 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tbsc_pack.cpp -// Date: 2011-01-30 12:48:44 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "tbsc_pack.h" - -void CImReqGetTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GET_TRIBEGROUP; - m_scHead.PackData(strData); -} - -void CImReqGetTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_tribeIdList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_tribeIdList.cbegin(); itr != m_tribeIdList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetTribegroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeIdList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_tribeIdList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetTribegroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GET_TRIBEGROUP; - m_scHead.PackData(strData); -} - -void CImRspGetTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_memberGroupList.size(); - (*this) << nLen; - VECTOR< SMemberGroup >::const_iterator itr; - for(itr = m_memberGroupList.cbegin(); itr != m_memberGroupList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetTribegroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_memberGroupList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SMemberGroup tmpVal; - (*this) >> tmpVal; - m_memberGroupList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetTribegroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqAddTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ADD_TRIBEGROUP; - m_scHead.PackData(strData); -} - -void CImReqAddTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_groupName; - (*this) << FT_INT64; - (*this) << m_parentId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAddTribegroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAddTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupName; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_parentId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAddTribegroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspAddTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_ADD_TRIBEGROUP; - m_scHead.PackData(strData); -} - -void CImRspAddTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRUCT; - (*this) << m_memberGroup; - (*this) << FT_UINT32; - (*this) << m_groupStamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspAddTribegroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspAddTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberGroup; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspAddTribegroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqUpdateTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_UPDATE_TRIBEGROUP; - m_scHead.PackData(strData); -} - -void CImReqUpdateTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_INT64; - (*this) << m_groupId; - (*this) << FT_STRING; - (*this) << m_groupName; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqUpdateTribegroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqUpdateTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupName; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqUpdateTribegroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspUpdateTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_UPDATE_TRIBEGROUP; - m_scHead.PackData(strData); -} - -void CImRspUpdateTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRUCT; - (*this) << m_memberGroup; - (*this) << FT_UINT32; - (*this) << m_groupStamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspUpdateTribegroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspUpdateTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberGroup; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspUpdateTribegroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqDelTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_DEL_TRIBEGROUP; - m_scHead.PackData(strData); -} - -void CImReqDelTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqDelTribegroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqDelTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqDelTribegroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspDelTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_DEL_TRIBEGROUP; - m_scHead.PackData(strData); -} - -void CImRspDelTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_INT64; - (*this) << m_groupId; - (*this) << FT_UINT32; - (*this) << m_groupStamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspDelTribegroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspDelTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspDelTribegroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqShallowLogintribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SHALLOW_LOGINTRIBE; - m_scHead.PackData(strData); -} - -void CImReqShallowLogintribe::PackBody(string& strData) -{ -} - -void CImReqShallowLogintribe::PackData(string& strData, const string& strKey) -{ - PackHead(strData); -} - -PACKRETCODE CImReqShallowLogintribe::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CImReqShallowLogintribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - return PACK_RIGHT; -} - -void CImRspShallowLogintribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SHALLOW_LOGINTRIBE; - m_scHead.PackData(strData); -} - -void CImRspShallowLogintribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tribeIdList.size(); - (*this) << nLen; - VECTOR< STribeId >::const_iterator itr; - for(itr = m_tribeIdList.cbegin(); itr != m_tribeIdList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspShallowLogintribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspShallowLogintribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeIdList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeId tmpVal; - (*this) >> tmpVal; - m_tribeIdList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspShallowLogintribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqDeepLogintribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_DEEP_LOGINTRIBE; - m_scHead.PackData(strData); -} - -void CImReqDeepLogintribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqDeepLogintribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqDeepLogintribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqDeepLogintribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspDeepLogintribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_DEEP_LOGINTRIBE; - m_scHead.PackData(strData); -} - -void CImRspDeepLogintribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRUCT; - (*this) << m_tribeInfo; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tmStatusList.size(); - (*this) << nLen; - VECTOR< STmStatus >::const_iterator itr; - for(itr = m_tmStatusList.cbegin(); itr != m_tmStatusList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_memberStamp; - (*this) << FT_STRUCT; - (*this) << m_extInfo; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspDeepLogintribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspDeepLogintribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeInfo; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tmStatusList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STmStatus tmpVal; - (*this) >> tmpVal; - m_tmStatusList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberStamp; - try - { - if(num < 6) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extInfo; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspDeepLogintribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqInviteTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_INVITE_TRIBE; - m_scHead.PackData(strData); -} - -void CImReqInviteTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqInviteTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqInviteTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqInviteTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspInviteTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_INVITE_TRIBE; - m_scHead.PackData(strData); -} - -void CImRspInviteTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspInviteTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspInviteTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspInviteTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfInviteTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_INVITE_TRIBE; - m_scHead.PackData(strData); -} - -void CImNtfInviteTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)7; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_managerId; - (*this) << FT_STRING; - (*this) << m_validateCode; - (*this) << FT_STRING; - (*this) << m_name; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_INT64; - (*this) << m_groupId; - (*this) << FT_UINT8; - (*this) << m_flag; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfInviteTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfInviteTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 6) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_managerId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_validateCode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_name; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - try - { - if(num < 7) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_flag; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfInviteTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqOninviteJointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ONINVITE_JOINTRIBE; - m_scHead.PackData(strData); -} - -void CImReqOninviteJointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_managerId; - (*this) << FT_STRING; - (*this) << m_validateCode; - (*this) << FT_INT64; - (*this) << m_groupId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_recommendId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqOninviteJointribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqOninviteJointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_managerId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_validateCode; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - try - { - if(num < 5) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - if(num < 6) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_recommendId; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqOninviteJointribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspOninviteJointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_ONINVITE_JOINTRIBE; - m_scHead.PackData(strData); -} - -void CImRspOninviteJointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspOninviteJointribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspOninviteJointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspOninviteJointribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqAskJointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ASK_JOINTRIBE; - m_scHead.PackData(strData); -} - -void CImReqAskJointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_info; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAskJointribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAskJointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_info; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAskJointribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspAskJointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_ASK_JOINTRIBE; - m_scHead.PackData(strData); -} - -void CImRspAskJointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_tribeName; - (*this) << FT_STRING; - (*this) << m_extSign; - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspAskJointribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspAskJointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeName; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extSign; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspAskJointribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfAskJointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_ASK_JOINTRIBE; - m_scHead.PackData(strData); -} - -void CImNtfAskJointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_info; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfAskJointribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfAskJointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_info; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfAskJointribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqExamAskjointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_EXAM_ASKJOINTRIBE; - m_scHead.PackData(strData); -} - -void CImReqExamAskjointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_info; - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqExamAskjointribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqExamAskjointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_info; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqExamAskjointribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspExamAskjointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_EXAM_ASKJOINTRIBE; - m_scHead.PackData(strData); -} - -void CImRspExamAskjointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspExamAskjointribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspExamAskjointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspExamAskjointribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChglevelTribemember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHGLEVEL_TRIBEMEMBER; - m_scHead.PackData(strData); -} - -void CImReqChglevelTribemember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_UINT8; - (*this) << m_level; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChglevelTribemember::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChglevelTribemember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_level; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChglevelTribemember::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChglevelTribemember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHGLEVEL_TRIBEMEMBER; - m_scHead.PackData(strData); -} - -void CImRspChglevelTribemember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_UINT8; - (*this) << m_level; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChglevelTribemember::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChglevelTribemember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_level; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChglevelTribemember::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChgTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHG_TRIBEGROUP; - m_scHead.PackData(strData); -} - -void CImReqChgTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChgTribegroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChgTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChgTribegroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChgTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHG_TRIBEGROUP; - m_scHead.PackData(strData); -} - -void CImRspChgTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChgTribegroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChgTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChgTribegroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqAddStarmember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ADD_STARMEMBER; - m_scHead.PackData(strData); -} - -void CImReqAddStarmember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAddStarmember::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAddStarmember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAddStarmember::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspAddStarmember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_ADD_STARMEMBER; - m_scHead.PackData(strData); -} - -void CImRspAddStarmember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspAddStarmember::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspAddStarmember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspAddStarmember::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqDelStarmember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_DEL_STARMEMBER; - m_scHead.PackData(strData); -} - -void CImReqDelStarmember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqDelStarmember::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqDelStarmember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqDelStarmember::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspDelStarmember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_DEL_STARMEMBER; - m_scHead.PackData(strData); -} - -void CImRspDelStarmember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspDelStarmember::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspDelStarmember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspDelStarmember::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqDelTribemember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_DEL_TRIBEMEMBER; - m_scHead.PackData(strData); -} - -void CImReqDelTribemember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_STRING; - (*this) << m_remark; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqDelTribemember::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqDelTribemember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqDelTribemember::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspDelTribemember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_DEL_TRIBEMEMBER; - m_scHead.PackData(strData); -} - -void CImRspDelTribemember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspDelTribemember::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspDelTribemember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspDelTribemember::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGetTribeblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GET_TRIBEBLACK; - m_scHead.PackData(strData); -} - -void CImReqGetTribeblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT32; - (*this) << m_blackStamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetTribeblack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetTribeblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetTribeblack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetTribeblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GET_TRIBEBLACK; - m_scHead.PackData(strData); -} - -void CImRspGetTribeblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_blackIdList.size(); - (*this) << nLen; - VECTOR< STribeBlack >::const_iterator itr; - for(itr = m_blackIdList.cbegin(); itr != m_blackIdList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_blackStamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetTribeblack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetTribeblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_blackIdList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeBlack tmpVal; - (*this) >> tmpVal; - m_blackIdList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetTribeblack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqAddTribeblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ADD_TRIBEBLACK; - m_scHead.PackData(strData); -} - -void CImReqAddTribeblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_blackUid; - (*this) << FT_STRING; - (*this) << m_remark; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAddTribeblack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAddTribeblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackUid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAddTribeblack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspAddTribeblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_ADD_TRIBEBLACK; - m_scHead.PackData(strData); -} - -void CImRspAddTribeblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_blackUid; - (*this) << FT_UINT32; - (*this) << m_blackStamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspAddTribeblack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspAddTribeblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackUid; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspAddTribeblack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqDelTribeblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_DEL_TRIBEBLACK; - m_scHead.PackData(strData); -} - -void CImReqDelTribeblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_blackUid; - (*this) << FT_STRING; - (*this) << m_remark; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqDelTribeblack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqDelTribeblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackUid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqDelTribeblack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspDelTribeblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_DEL_TRIBEBLACK; - m_scHead.PackData(strData); -} - -void CImRspDelTribeblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_blackUid; - (*this) << FT_UINT32; - (*this) << m_blackStamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspDelTribeblack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspDelTribeblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackUid; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspDelTribeblack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqQuitTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_QUIT_TRIBE; - m_scHead.PackData(strData); -} - -void CImReqQuitTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_remark; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqQuitTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqQuitTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqQuitTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspQuitTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_QUIT_TRIBE; - m_scHead.PackData(strData); -} - -void CImRspQuitTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspQuitTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspQuitTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspQuitTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqCloseTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CLOSE_TRIBE; - m_scHead.PackData(strData); -} - -void CImReqCloseTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_remark; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqCloseTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqCloseTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqCloseTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspCloseTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CLOSE_TRIBE; - m_scHead.PackData(strData); -} - -void CImRspCloseTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspCloseTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspCloseTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspCloseTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGetTribeinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GET_TRIBEINFO; - m_scHead.PackData(strData); -} - -void CImReqGetTribeinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetTribeinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetTribeinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetTribeinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetTribeinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GET_TRIBEINFO; - m_scHead.PackData(strData); -} - -void CImRspGetTribeinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRUCT; - (*this) << m_tribeInfo; - (*this) << FT_STRUCT; - (*this) << m_extInfo; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetTribeinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetTribeinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeInfo; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extInfo; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetTribeinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqModifyTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_MODIFY_TRIBE; - m_scHead.PackData(strData); -} - -void CImReqModifyTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_items.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqModifyTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqModifyTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_items[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqModifyTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspModifyTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_MODIFY_TRIBE; - m_scHead.PackData(strData); -} - -void CImRspModifyTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_items.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspModifyTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspModifyTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_items[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspModifyTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGetTribememberinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GET_TRIBEMEMBERINFO; - m_scHead.PackData(strData); -} - -void CImReqGetTribememberinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetTribememberinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetTribememberinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetTribememberinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetTribememberinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GET_TRIBEMEMBERINFO; - m_scHead.PackData(strData); -} - -void CImRspGetTribememberinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tmInfoList.size(); - (*this) << nLen; - VECTOR< STmInfo >::const_iterator itr; - for(itr = m_tmInfoList.cbegin(); itr != m_tmInfoList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetTribememberinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetTribememberinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tmInfoList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STmInfo tmpVal; - (*this) >> tmpVal; - m_tmInfoList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetTribememberinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSendTribemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SEND_TRIBEMSG; - m_scHead.PackData(strData); -} - -void CImReqSendTribemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_msgType; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSendTribemsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSendTribemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgType; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSendTribemsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspSendTribemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SEND_TRIBEMSG; - m_scHead.PackData(strData); -} - -void CImRspSendTribemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSendTribemsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSendTribemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSendTribemsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfTribemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_TRIBEMSG; - m_scHead.PackData(strData); -} - -void CImNtfTribemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_offlineFlag; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tribeMsgList.size(); - (*this) << nLen; - VECTOR< STribeMsg >::const_iterator itr; - for(itr = m_tribeMsgList.cbegin(); itr != m_tribeMsgList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfTribemsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfTribemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_offlineFlag; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeMsgList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeMsg tmpVal; - (*this) >> tmpVal; - m_tribeMsgList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfTribemsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfTribeSysmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_TRIBE_SYSMSG; - m_scHead.PackData(strData); -} - -void CImNtfTribeSysmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_offlineFlag; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tribeSysmsgList.size(); - (*this) << nLen; - VECTOR< STribeSysmsg >::const_iterator itr; - for(itr = m_tribeSysmsgList.cbegin(); itr != m_tribeSysmsgList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfTribeSysmsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfTribeSysmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_offlineFlag; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeSysmsgList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeSysmsg tmpVal; - (*this) >> tmpVal; - m_tribeSysmsgList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfTribeSysmsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGetTribeConfig::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GET_TRIBE_CONFIG; - m_scHead.PackData(strData); -} - -void CImReqGetTribeConfig::PackBody(string& strData) -{ -} - -void CImReqGetTribeConfig::PackData(string& strData, const string& strKey) -{ - PackHead(strData); -} - -PACKRETCODE CImReqGetTribeConfig::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetTribeConfig::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - return PACK_RIGHT; -} - -void CImRspGetTribeConfig::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GET_TRIBE_CONFIG; - m_scHead.PackData(strData); -} - -void CImRspGetTribeConfig::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_addTribeVerify; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetTribeConfig::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetTribeConfig::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_addTribeVerify; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetTribeConfig::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSetTribeConfig::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SET_TRIBE_CONFIG; - m_scHead.PackData(strData); -} - -void CImReqSetTribeConfig::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT8; - (*this) << m_addTribeVerify; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSetTribeConfig::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSetTribeConfig::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_addTribeVerify; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSetTribeConfig::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspSetTribeConfig::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SET_TRIBE_CONFIG; - m_scHead.PackData(strData); -} - -void CImRspSetTribeConfig::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_addTribeVerify; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSetTribeConfig::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSetTribeConfig::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_addTribeVerify; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSetTribeConfig::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSetOpenTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SET_OPEN_TRIBE; - m_scHead.PackData(strData); -} - -void CImReqSetOpenTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_tribeIdList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_tribeIdList.cbegin(); itr != m_tribeIdList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT8; - (*this) << m_openTribe; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSetOpenTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSetOpenTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeIdList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_tribeIdList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_openTribe; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSetOpenTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspSetOpenTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SET_OPEN_TRIBE; - m_scHead.PackData(strData); -} - -void CImRspSetOpenTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_tribeIdList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_tribeIdList.cbegin(); itr != m_tribeIdList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT8; - (*this) << m_openTribe; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSetOpenTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSetOpenTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeIdList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_tribeIdList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_openTribe; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSetOpenTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqVisitTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_VISIT_TRIBE; - m_scHead.PackData(strData); -} - -void CImReqVisitTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqVisitTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqVisitTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqVisitTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspVisitTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_VISIT_TRIBE; - m_scHead.PackData(strData); -} - -void CImRspVisitTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspVisitTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspVisitTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspVisitTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqClearVisitor::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CLEAR_VISITOR; - m_scHead.PackData(strData); -} - -void CImReqClearVisitor::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqClearVisitor::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqClearVisitor::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqClearVisitor::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspClearVisitor::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CLEAR_VISITOR; - m_scHead.PackData(strData); -} - -void CImRspClearVisitor::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspClearVisitor::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspClearVisitor::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspClearVisitor::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqStartTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_START_TRIBE; - m_scHead.PackData(strData); -} - -void CImReqStartTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_items.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqStartTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqStartTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_items[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqStartTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspStartTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_START_TRIBE; - m_scHead.PackData(strData); -} - -void CImRspStartTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspStartTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspStartTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspStartTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqUpdateTribecard::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_UPDATE_TRIBECARD; - m_scHead.PackData(strData); -} - -void CImReqUpdateTribecard::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_items.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqUpdateTribecard::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqUpdateTribecard::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_items[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqUpdateTribecard::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspUpdateTribecard::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_UPDATE_TRIBECARD; - m_scHead.PackData(strData); -} - -void CImRspUpdateTribecard::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspUpdateTribecard::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspUpdateTribecard::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspUpdateTribecard::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqRecommendTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_RECOMMEND_TRIBE; - m_scHead.PackData(strData); -} - -void CImReqRecommendTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqRecommendTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqRecommendTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqRecommendTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspRecommendTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_RECOMMEND_TRIBE; - m_scHead.PackData(strData); -} - -void CImRspRecommendTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspRecommendTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspRecommendTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspRecommendTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfRecommendTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_RECOMMEND_TRIBE; - m_scHead.PackData(strData); -} - -void CImNtfRecommendTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfRecommendTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfRecommendTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfRecommendTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqAuthRecommend::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_AUTH_RECOMMEND; - m_scHead.PackData(strData); -} - -void CImReqAuthRecommend::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAuthRecommend::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAuthRecommend::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAuthRecommend::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspAuthRecommend::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_AUTH_RECOMMEND; - m_scHead.PackData(strData); -} - -void CImRspAuthRecommend::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspAuthRecommend::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspAuthRecommend::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspAuthRecommend::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqWebLogintribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_WEB_LOGINTRIBE; - m_scHead.PackData(strData); -} - -void CImReqWebLogintribe::PackBody(string& strData) -{ -} - -void CImReqWebLogintribe::PackData(string& strData, const string& strKey) -{ - PackHead(strData); -} - -PACKRETCODE CImReqWebLogintribe::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CImReqWebLogintribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - return PACK_RIGHT; -} - -void CImRspWebLogintribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_WEB_LOGINTRIBE; - m_scHead.PackData(strData); -} - -void CImRspWebLogintribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_groupList.size(); - (*this) << nLen; - VECTOR< SWebGroup >::const_iterator itr; - for(itr = m_groupList.cbegin(); itr != m_groupList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tribeIdList.size(); - (*this) << nLen; - VECTOR< STribeId >::const_iterator itr; - for(itr = m_tribeIdList.cbegin(); itr != m_tribeIdList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspWebLogintribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspWebLogintribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_groupList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SWebGroup tmpVal; - (*this) >> tmpVal; - m_groupList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeIdList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeId tmpVal; - (*this) >> tmpVal; - m_tribeIdList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspWebLogintribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSetTribeMsgPopup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SET_TRIBE_MSG_POPUP; - m_scHead.PackData(strData); -} - -void CImReqSetTribeMsgPopup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_msgPopup; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSetTribeMsgPopup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSetTribeMsgPopup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgPopup; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSetTribeMsgPopup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspSetTribeMsgPopup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SET_TRIBE_MSG_POPUP; - m_scHead.PackData(strData); -} - -void CImRspSetTribeMsgPopup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_msgPopup; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSetTribeMsgPopup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSetTribeMsgPopup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgPopup; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSetTribeMsgPopup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqTransferTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_TRANSFER_TRIBE; - m_scHead.PackData(strData); -} - -void CImReqTransferTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_transferId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqTransferTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqTransferTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_transferId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqTransferTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspTransferTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_TRANSFER_TRIBE; - m_scHead.PackData(strData); -} - -void CImRspTransferTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_altTribeId; - (*this) << FT_STRING; - (*this) << m_rctOwnerId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspTransferTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspTransferTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_altTribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_rctOwnerId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspTransferTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfTransferTribeSys::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_TRANSFER_TRIBE_SYS; - m_scHead.PackData(strData); -} - -void CImNtfTransferTribeSys::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_owner; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_tribeInfo; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfTransferTribeSys::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfTransferTribeSys::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_owner; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeInfo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfTransferTribeSys::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfTransferTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_TRANSFER_TRIBE; - m_scHead.PackData(strData); -} - -void CImNtfTransferTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_occupiedTribeId; - (*this) << FT_STRING; - (*this) << m_tribeInfo; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfTransferTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfTransferTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_occupiedTribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeInfo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfTransferTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - diff --git a/features/aliww/source/.svn/text-base/tbsmsg_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/tbsmsg_pack.cpp.svn-base deleted file mode 100644 index 71f3127..0000000 --- a/features/aliww/source/.svn/text-base/tbsmsg_pack.cpp.svn-base +++ /dev/null @@ -1,546 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tbsmsg_pack.cpp -// Date: 2011-01-30 12:50:13 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "tbsmsg_pack.h" - -void CTbscReqLoadOfflinemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_LOAD_OFFLINEMSG; - m_scsHead.PackData(strData); -} - -void CTbscReqLoadOfflinemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tribeMsgList.size(); - (*this) << nLen; - VECTOR< STribeMsg >::const_iterator itr; - for(itr = m_tribeMsgList.cbegin(); itr != m_tribeMsgList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqLoadOfflinemsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqLoadOfflinemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeMsgList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeMsg tmpVal; - (*this) >> tmpVal; - m_tribeMsgList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqLoadOfflinemsg::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqUnloadOfflinemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_UNLOAD_OFFLINEMSG; - m_scsHead.PackData(strData); -} - -void CTbscReqUnloadOfflinemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqUnloadOfflinemsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqUnloadOfflinemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqUnloadOfflinemsg::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspUnloadOfflinemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_UNLOAD_OFFLINEMSG; - m_scsHead.PackData(strData); -} - -void CTbscRspUnloadOfflinemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tribeMsgList.size(); - (*this) << nLen; - VECTOR< STribeMsg >::const_iterator itr; - for(itr = m_tribeMsgList.cbegin(); itr != m_tribeMsgList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspUnloadOfflinemsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspUnloadOfflinemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeMsgList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeMsg tmpVal; - (*this) >> tmpVal; - m_tribeMsgList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspUnloadOfflinemsg::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqAddOfflinemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_ADD_OFFLINEMSG; - m_scsHead.PackData(strData); -} - -void CTbscReqAddOfflinemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRUCT; - (*this) << m_tribeMsg; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqAddOfflinemsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqAddOfflinemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeMsg; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqAddOfflinemsg::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqGetFiltermsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_GET_FILTERMSG; - m_scsHead.PackData(strData); -} - -void CTbscReqGetFiltermsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT32; - (*this) << m_lastMsgid; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqGetFiltermsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqGetFiltermsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_lastMsgid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqGetFiltermsg::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspGetFiltermsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_GET_FILTERMSG; - m_scsHead.PackData(strData); -} - -void CTbscRspGetFiltermsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tribeMsgList.size(); - (*this) << nLen; - VECTOR< STribeMsg >::const_iterator itr; - for(itr = m_tribeMsgList.cbegin(); itr != m_tribeMsgList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspGetFiltermsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspGetFiltermsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeMsgList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeMsg tmpVal; - (*this) >> tmpVal; - m_tribeMsgList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspGetFiltermsg::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/.svn/text-base/tbss_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/tbss_pack.cpp.svn-base deleted file mode 100644 index 3985f1b..0000000 --- a/features/aliww/source/.svn/text-base/tbss_pack.cpp.svn-base +++ /dev/null @@ -1,9070 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tbss_pack.cpp -// Date: 2011-01-30 12:49:27 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "tbss_pack.h" - -void CTbsReqGetTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_GET_TRIBEGROUP; - m_ssHead.PackData(strData); -} - -void CTbsReqGetTribegroup::PackBody(string& strData) -{ -} - -void CTbsReqGetTribegroup::PackData(string& strData) -{ - PackHead(strData); -} - -PACKRETCODE CTbsReqGetTribegroup::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqGetTribegroup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspGetTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_GET_TRIBEGROUP; - m_ssHead.PackData(strData); -} - -void CTbsRspGetTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_memberGroupList.size(); - (*this) << nLen; - VECTOR< SMemberGroup >::const_iterator itr; - for(itr = m_memberGroupList.cbegin(); itr != m_memberGroupList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspGetTribegroup::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspGetTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_memberGroupList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SMemberGroup tmpVal; - (*this) >> tmpVal; - m_memberGroupList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspGetTribegroup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqAddTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_ADD_TRIBEGROUP; - m_ssHead.PackData(strData); -} - -void CTbsReqAddTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_groupName; - (*this) << FT_INT64; - (*this) << m_parentId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqAddTribegroup::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqAddTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupName; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_parentId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqAddTribegroup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspAddTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_ADD_TRIBEGROUP; - m_ssHead.PackData(strData); -} - -void CTbsRspAddTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRUCT; - (*this) << m_memberGroup; - (*this) << FT_UINT32; - (*this) << m_groupStamp; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspAddTribegroup::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspAddTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberGroup; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspAddTribegroup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqUpdateTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_UPDATE_TRIBEGROUP; - m_ssHead.PackData(strData); -} - -void CTbsReqUpdateTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_INT64; - (*this) << m_groupId; - (*this) << FT_STRING; - (*this) << m_groupName; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqUpdateTribegroup::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqUpdateTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupName; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqUpdateTribegroup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspUpdateTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_UPDATE_TRIBEGROUP; - m_ssHead.PackData(strData); -} - -void CTbsRspUpdateTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRUCT; - (*this) << m_memberGroup; - (*this) << FT_UINT32; - (*this) << m_groupStamp; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspUpdateTribegroup::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspUpdateTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberGroup; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspUpdateTribegroup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqDelTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_DEL_TRIBEGROUP; - m_ssHead.PackData(strData); -} - -void CTbsReqDelTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqDelTribegroup::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqDelTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqDelTribegroup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspDelTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_DEL_TRIBEGROUP; - m_ssHead.PackData(strData); -} - -void CTbsRspDelTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_INT64; - (*this) << m_groupId; - (*this) << FT_UINT32; - (*this) << m_groupStamp; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspDelTribegroup::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspDelTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspDelTribegroup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqShallowLogintribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_SHALLOW_LOGINTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqShallowLogintribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_basicSts; - (*this) << FT_UINT8; - (*this) << m_predefSts; - (*this) << FT_STRING; - (*this) << m_version; - (*this) << FT_UINT32; - (*this) << m_language; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqShallowLogintribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqShallowLogintribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_basicSts; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_predefSts; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_language; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqShallowLogintribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqDeepLogintribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_DEEP_LOGINTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqDeepLogintribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT32; - (*this) << m_language; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqDeepLogintribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqDeepLogintribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - try - { - uint8_t num; - (*this) >> num; - CFieldType field; - if(num < 1) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_language; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqDeepLogintribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspDeepLogintribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_DEEP_LOGINTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspDeepLogintribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRUCT; - (*this) << m_tribeInfo; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tmStatusList.size(); - (*this) << nLen; - VECTOR< STmStatus >::const_iterator itr; - for(itr = m_tmStatusList.cbegin(); itr != m_tmStatusList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_memberStamp; - (*this) << FT_STRUCT; - (*this) << m_extInfo; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspDeepLogintribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspDeepLogintribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeInfo; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tmStatusList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STmStatus tmpVal; - (*this) >> tmpVal; - m_tmStatusList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberStamp; - try - { - if(num < 6) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extInfo; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspDeepLogintribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqInviteTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_INVITE_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqInviteTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqInviteTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqInviteTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqInviteTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspInviteTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_INVITE_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspInviteTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspInviteTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspInviteTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspInviteTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsNtfInviteTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_NTF_INVITE_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsNtfInviteTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_managerId; - (*this) << FT_STRING; - (*this) << m_validateCode; - (*this) << FT_STRING; - (*this) << m_name; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsNtfInviteTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsNtfInviteTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_managerId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_validateCode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_name; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - try - { - if(num < 6) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsNtfInviteTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqOninviteJointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_ONINVITE_JOINTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqOninviteJointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_managerId; - (*this) << FT_STRING; - (*this) << m_validateCode; - (*this) << FT_INT64; - (*this) << m_groupId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_recommendId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqOninviteJointribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqOninviteJointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_managerId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_validateCode; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - if(num < 5) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - if(num < 6) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_recommendId; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqOninviteJointribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspOninviteJointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_ONINVITE_JOINTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspOninviteJointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspOninviteJointribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspOninviteJointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - try - { - if(num < 3) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspOninviteJointribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqAskJointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_ASK_JOINTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqAskJointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_info; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqAskJointribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqAskJointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_info; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqAskJointribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspAskJointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_ASK_JOINTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspAskJointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_tribeName; - (*this) << FT_STRING; - (*this) << m_extSign; - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspAskJointribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspAskJointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeName; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extSign; - try - { - if(num < 5) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspAskJointribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsNtfAskJointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_NTF_ASK_JOINTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsNtfAskJointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_info; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsNtfAskJointribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsNtfAskJointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_info; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsNtfAskJointribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqExamAskjointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_EXAM_ASKJOINTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqExamAskjointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_info; - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqExamAskjointribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqExamAskjointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_info; - try - { - if(num < 5) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqExamAskjointribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspExamAskjointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_EXAM_ASKJOINTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspExamAskjointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspExamAskjointribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspExamAskjointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - try - { - if(num < 5) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspExamAskjointribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqChglevelTribemember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_CHGLEVEL_TRIBEMEMBER; - m_ssHead.PackData(strData); -} - -void CTbsReqChglevelTribemember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_UINT8; - (*this) << m_level; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqChglevelTribemember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqChglevelTribemember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_level; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqChglevelTribemember::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspChglevelTribemember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_CHGLEVEL_TRIBEMEMBER; - m_ssHead.PackData(strData); -} - -void CTbsRspChglevelTribemember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_UINT8; - (*this) << m_level; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspChglevelTribemember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspChglevelTribemember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_level; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspChglevelTribemember::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqChgTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_CHG_TRIBEGROUP; - m_ssHead.PackData(strData); -} - -void CTbsReqChgTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqChgTribegroup::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqChgTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqChgTribegroup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspChgTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_CHG_TRIBEGROUP; - m_ssHead.PackData(strData); -} - -void CTbsRspChgTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspChgTribegroup::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspChgTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspChgTribegroup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqAddStarmember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_ADD_STARMEMBER; - m_ssHead.PackData(strData); -} - -void CTbsReqAddStarmember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqAddStarmember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqAddStarmember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqAddStarmember::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspAddStarmember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_ADD_STARMEMBER; - m_ssHead.PackData(strData); -} - -void CTbsRspAddStarmember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspAddStarmember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspAddStarmember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspAddStarmember::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqDelStarmember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_DEL_STARMEMBER; - m_ssHead.PackData(strData); -} - -void CTbsReqDelStarmember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqDelStarmember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqDelStarmember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqDelStarmember::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspDelStarmember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_DEL_STARMEMBER; - m_ssHead.PackData(strData); -} - -void CTbsRspDelStarmember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspDelStarmember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspDelStarmember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspDelStarmember::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqDelTribemember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_DEL_TRIBEMEMBER; - m_ssHead.PackData(strData); -} - -void CTbsReqDelTribemember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_STRING; - (*this) << m_remark; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqDelTribemember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqDelTribemember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqDelTribemember::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspDelTribemember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_DEL_TRIBEMEMBER; - m_ssHead.PackData(strData); -} - -void CTbsRspDelTribemember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspDelTribemember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspDelTribemember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspDelTribemember::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqGetTribeblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_GET_TRIBEBLACK; - m_ssHead.PackData(strData); -} - -void CTbsReqGetTribeblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT32; - (*this) << m_blackStamp; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqGetTribeblack::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqGetTribeblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqGetTribeblack::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspGetTribeblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_GET_TRIBEBLACK; - m_ssHead.PackData(strData); -} - -void CTbsRspGetTribeblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_blackIdList.size(); - (*this) << nLen; - VECTOR< STribeBlack >::const_iterator itr; - for(itr = m_blackIdList.cbegin(); itr != m_blackIdList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_blackStamp; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspGetTribeblack::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspGetTribeblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_blackIdList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeBlack tmpVal; - (*this) >> tmpVal; - m_blackIdList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspGetTribeblack::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqAddTribeblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_ADD_TRIBEBLACK; - m_ssHead.PackData(strData); -} - -void CTbsReqAddTribeblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_blackUid; - (*this) << FT_STRING; - (*this) << m_remark; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqAddTribeblack::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqAddTribeblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackUid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqAddTribeblack::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspAddTribeblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_ADD_TRIBEBLACK; - m_ssHead.PackData(strData); -} - -void CTbsRspAddTribeblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_blackUid; - (*this) << FT_UINT32; - (*this) << m_blackStamp; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspAddTribeblack::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspAddTribeblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackUid; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspAddTribeblack::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqDelTribeblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_DEL_TRIBEBLACK; - m_ssHead.PackData(strData); -} - -void CTbsReqDelTribeblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_blackUid; - (*this) << FT_STRING; - (*this) << m_remark; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqDelTribeblack::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqDelTribeblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackUid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqDelTribeblack::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspDelTribeblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_DEL_TRIBEBLACK; - m_ssHead.PackData(strData); -} - -void CTbsRspDelTribeblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_blackUid; - (*this) << FT_UINT32; - (*this) << m_blackStamp; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspDelTribeblack::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspDelTribeblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackUid; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspDelTribeblack::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqQuitTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_QUIT_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqQuitTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_remark; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqQuitTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqQuitTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqQuitTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspQuitTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_QUIT_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspQuitTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspQuitTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspQuitTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspQuitTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqCloseTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_CLOSE_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqCloseTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_remark; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqCloseTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqCloseTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqCloseTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspCloseTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_CLOSE_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspCloseTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspCloseTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspCloseTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspCloseTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqGetTribeinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_GET_TRIBEINFO; - m_ssHead.PackData(strData); -} - -void CTbsReqGetTribeinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqGetTribeinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqGetTribeinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqGetTribeinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspGetTribeinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_GET_TRIBEINFO; - m_ssHead.PackData(strData); -} - -void CTbsRspGetTribeinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRUCT; - (*this) << m_tribeInfo; - (*this) << FT_STRUCT; - (*this) << m_extInfo; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspGetTribeinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspGetTribeinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeInfo; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extInfo; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspGetTribeinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqModifyTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_MODIFY_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqModifyTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_items.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqModifyTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqModifyTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_items[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqModifyTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspModifyTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_MODIFY_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspModifyTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_items.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspModifyTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspModifyTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_items[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspModifyTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqGetTribememberinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_GET_TRIBEMEMBERINFO; - m_ssHead.PackData(strData); -} - -void CTbsReqGetTribememberinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqGetTribememberinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqGetTribememberinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqGetTribememberinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspGetTribememberinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_GET_TRIBEMEMBERINFO; - m_ssHead.PackData(strData); -} - -void CTbsRspGetTribememberinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tmInfoList.size(); - (*this) << nLen; - VECTOR< STmInfo >::const_iterator itr; - for(itr = m_tmInfoList.cbegin(); itr != m_tmInfoList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspGetTribememberinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspGetTribememberinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tmInfoList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STmInfo tmpVal; - (*this) >> tmpVal; - m_tmInfoList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspGetTribememberinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqSendTribemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_SEND_TRIBEMSG; - m_ssHead.PackData(strData); -} - -void CTbsReqSendTribemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_msgType; - (*this) << FT_STRING; - (*this) << m_message; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqSendTribemsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqSendTribemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgType; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqSendTribemsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspSendTribemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_SEND_TRIBEMSG; - m_ssHead.PackData(strData); -} - -void CTbsRspSendTribemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_message; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspSendTribemsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspSendTribemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspSendTribemsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsNtfTribemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_NTF_TRIBEMSG; - m_ssHead.PackData(strData); -} - -void CTbsNtfTribemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_offlineFlag; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tribeMsgList.size(); - (*this) << nLen; - VECTOR< STribeMsg >::const_iterator itr; - for(itr = m_tribeMsgList.cbegin(); itr != m_tribeMsgList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsNtfTribemsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsNtfTribemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_offlineFlag; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeMsgList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeMsg tmpVal; - (*this) >> tmpVal; - m_tribeMsgList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsNtfTribemsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsNtfTribeSysmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_NTF_TRIBE_SYSMSG; - m_ssHead.PackData(strData); -} - -void CTbsNtfTribeSysmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_offlineFlag; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tribeSysmsgList.size(); - (*this) << nLen; - VECTOR< STribeSysmsg >::const_iterator itr; - for(itr = m_tribeSysmsgList.cbegin(); itr != m_tribeSysmsgList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsNtfTribeSysmsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsNtfTribeSysmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_offlineFlag; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeSysmsgList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeSysmsg tmpVal; - (*this) >> tmpVal; - m_tribeSysmsgList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsNtfTribeSysmsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqSetOpenTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_SET_OPEN_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqSetOpenTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT8; - (*this) << m_openTribe; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqSetOpenTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqSetOpenTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_openTribe; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqSetOpenTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspSetOpenTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_SET_OPEN_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspSetOpenTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_openTribe; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspSetOpenTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspSetOpenTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_openTribe; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspSetOpenTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqVisitTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_VISIT_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqVisitTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT32; - (*this) << m_language; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqVisitTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqVisitTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - try - { - if(num < 2) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_language; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqVisitTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspVisitTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_VISIT_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspVisitTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspVisitTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspVisitTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspVisitTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqClearVisitor::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_CLEAR_VISITOR; - m_ssHead.PackData(strData); -} - -void CTbsReqClearVisitor::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqClearVisitor::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqClearVisitor::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqClearVisitor::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspClearVisitor::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_CLEAR_VISITOR; - m_ssHead.PackData(strData); -} - -void CTbsRspClearVisitor::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspClearVisitor::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspClearVisitor::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspClearVisitor::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqStartTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_START_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqStartTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_items.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqStartTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqStartTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_items[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqStartTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspStartTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_START_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspStartTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspStartTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspStartTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspStartTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsGetAllTribelist::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_GET_ALL_TRIBELIST; - m_ssHead.PackData(strData); -} - -void CTbsGetAllTribelist::PackBody(string& strData) -{ -} - -void CTbsGetAllTribelist::PackData(string& strData) -{ - PackHead(strData); -} - -PACKRETCODE CTbsGetAllTribelist::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CTbsGetAllTribelist::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspAllTribelist::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_ALL_TRIBELIST; - m_ssHead.PackData(strData); -} - -void CTbsRspAllTribelist::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_UINT32; - { - uint32_t nLen = m_tribeIdList.size(); - (*this) << nLen; - VECTOR< uint32_t >::const_iterator itr; - for(itr = m_tribeIdList.cbegin(); itr != m_tribeIdList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspAllTribelist::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspAllTribelist::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeIdList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - uint32_t tmpVal; - (*this) >> tmpVal; - m_tribeIdList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspAllTribelist::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsNtfLoadtribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_NTF_LOADTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsNtfLoadtribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsNtfLoadtribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsNtfLoadtribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsNtfLoadtribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsNtfUnloadtribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_NTF_UNLOADTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsNtfUnloadtribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsNtfUnloadtribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsNtfUnloadtribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsNtfUnloadtribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqGetOnlineinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_GET_ONLINEINFO; - m_ssHead.PackData(strData); -} - -void CTbsReqGetOnlineinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqGetOnlineinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqGetOnlineinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqGetOnlineinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspGetOnlineinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_GET_ONLINEINFO; - m_ssHead.PackData(strData); -} - -void CTbsRspGetOnlineinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT32; - (*this) << m_memberNum; - (*this) << FT_UINT32; - (*this) << m_visitorNum; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspGetOnlineinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspGetOnlineinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberNum; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_visitorNum; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspGetOnlineinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqNtfModifytribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_NTF_MODIFYTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqNtfModifytribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_itemList.size(); - (*this) << nLen; - VECTOR< SModifyItem >::const_iterator itr; - for(itr = m_itemList.cbegin(); itr != m_itemList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqNtfModifytribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqNtfModifytribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_itemList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SModifyItem tmpVal; - (*this) >> tmpVal; - m_itemList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqNtfModifytribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspNtfModifytribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_NTF_MODIFYTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspNtfModifytribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_itemList.size(); - (*this) << nLen; - VECTOR< SModifyItem >::const_iterator itr; - for(itr = m_itemList.cbegin(); itr != m_itemList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspNtfModifytribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspNtfModifytribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_itemList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SModifyItem tmpVal; - (*this) >> tmpVal; - m_itemList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspNtfModifytribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqUnloadtribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_UNLOADTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqUnloadtribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqUnloadtribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqUnloadtribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqUnloadtribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspUnloadtribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_UNLOADTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspUnloadtribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspUnloadtribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspUnloadtribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspUnloadtribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const STribeCard& sTribeCard ) -{ - uint8_t nFieldNum = 6; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sTribeCard.m_realName; - cPackData << FT_STRING; - cPackData << sTribeCard.m_phone; - cPackData << FT_STRING; - cPackData << sTribeCard.m_mobile; - cPackData << FT_STRING; - cPackData << sTribeCard.m_email; - cPackData << FT_STRING; - cPackData << sTribeCard.m_addr; - cPackData << FT_STRING; - cPackData << sTribeCard.m_memo; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, STribeCard& sTribeCard ) -{ - uint8_t num; - cPackData >> num; - if(num < 6) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeCard.m_realName; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeCard.m_phone; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeCard.m_mobile; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeCard.m_email; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeCard.m_addr; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeCard.m_memo; - for(int i = 6; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CTbsReqGetTribecard::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_GET_TRIBECARD; - m_ssHead.PackData(strData); -} - -void CTbsReqGetTribecard::PackBody(string& strData) -{ -} - -void CTbsReqGetTribecard::PackData(string& strData) -{ - PackHead(strData); -} - -PACKRETCODE CTbsReqGetTribecard::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqGetTribecard::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspGetTribecard::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_GET_TRIBECARD; - m_ssHead.PackData(strData); -} - -void CTbsRspGetTribecard::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRUCT; - (*this) << m_tribeCard; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspGetTribecard::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspGetTribecard::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeCard; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspGetTribecard::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqUpdateTribecard::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_UPDATE_TRIBECARD; - m_ssHead.PackData(strData); -} - -void CTbsReqUpdateTribecard::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_items.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqUpdateTribecard::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqUpdateTribecard::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_items[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqUpdateTribecard::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqUpdateTribecard2::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_UPDATE_TRIBECARD2; - m_ssHead.PackData(strData); -} - -void CTbsReqUpdateTribecard2::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_items.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqUpdateTribecard2::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqUpdateTribecard2::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_items[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqUpdateTribecard2::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspUpdateTribecard::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_UPDATE_TRIBECARD; - m_ssHead.PackData(strData); -} - -void CTbsRspUpdateTribecard::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspUpdateTribecard::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspUpdateTribecard::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspUpdateTribecard::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqGetMemberinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_GET_MEMBERINFO; - m_ssHead.PackData(strData); -} - -void CTbsReqGetMemberinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqGetMemberinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqGetMemberinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqGetMemberinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspGetMemberinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_GET_MEMBERINFO; - m_ssHead.PackData(strData); -} - -void CTbsRspGetMemberinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRUCT; - (*this) << m_memberInfo; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspGetMemberinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspGetMemberinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberInfo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspGetMemberinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqGetTribemanager::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_GET_TRIBEMANAGER; - m_ssHead.PackData(strData); -} - -void CTbsReqGetTribemanager::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqGetTribemanager::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqGetTribemanager::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqGetTribemanager::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspGetTribemanager::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_GET_TRIBEMANAGER; - m_ssHead.PackData(strData); -} - -void CTbsRspGetTribemanager::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_managerList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_managerList.cbegin(); itr != m_managerList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspGetTribemanager::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspGetTribemanager::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_managerList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_managerList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspGetTribemanager::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqGetUsertribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_GET_USERTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqGetUsertribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_userId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqGetUsertribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqGetUsertribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqGetUsertribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspGetUsertribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_GET_USERTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspGetUsertribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tribeList.size(); - (*this) << nLen; - VECTOR< STribeId >::const_iterator itr; - for(itr = m_tribeList.cbegin(); itr != m_tribeList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspGetUsertribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspGetUsertribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeId tmpVal; - (*this) >> tmpVal; - m_tribeList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspGetUsertribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqPostTribemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_POST_TRIBEMSG; - m_ssHead.PackData(strData); -} - -void CTbsReqPostTribemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_UINT8; - (*this) << m_msgType; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqPostTribemsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqPostTribemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgType; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqPostTribemsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspPostTribemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_POST_TRIBEMSG; - m_ssHead.PackData(strData); -} - -void CTbsRspPostTribemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_UINT8; - (*this) << m_msgType; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspPostTribemsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspPostTribemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - try - { - if(num < 5) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgType; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspPostTribemsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqGetActlevel::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_GET_ACTLEVEL; - m_ssHead.PackData(strData); -} - -void CTbsReqGetActlevel::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqGetActlevel::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqGetActlevel::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqGetActlevel::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspGetActlevel::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_GET_ACTLEVEL; - m_ssHead.PackData(strData); -} - -void CTbsRspGetActlevel::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT32; - (*this) << m_activeLevel; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspGetActlevel::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspGetActlevel::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_activeLevel; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspGetActlevel::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsNtfOfflineMsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_NTF_OFFLINE_MSG; - m_ssHead.PackData(strData); -} - -void CTbsNtfOfflineMsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_offlineMsgList.size(); - (*this) << nLen; - VECTOR< STribeMsg >::const_iterator itr; - for(itr = m_offlineMsgList.cbegin(); itr != m_offlineMsgList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_memberMsgid.size(); - (*this) << nLen; - VECTOR< STmMsgid >::const_iterator itr; - for(itr = m_memberMsgid.cbegin(); itr != m_memberMsgid.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsNtfOfflineMsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsNtfOfflineMsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_offlineMsgList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeMsg tmpVal; - (*this) >> tmpVal; - m_offlineMsgList.push_back(tmpVal); - } - } - try - { - if(num < 3) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_memberMsgid.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STmMsgid tmpVal; - (*this) >> tmpVal; - m_memberMsgid.push_back(tmpVal); - } - } - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsNtfOfflineMsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqRecommendTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_RECOMMEND_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqRecommendTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_STRING; - (*this) << m_message; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqRecommendTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqRecommendTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqRecommendTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspRecommendTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_RECOMMEND_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspRecommendTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspRecommendTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspRecommendTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspRecommendTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsNtfRecommendTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_NTF_RECOMMEND_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsNtfRecommendTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_STRING; - (*this) << m_message; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsNtfRecommendTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsNtfRecommendTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsNtfRecommendTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqAuthRecommend::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_AUTH_RECOMMEND; - m_ssHead.PackData(strData); -} - -void CTbsReqAuthRecommend::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqAuthRecommend::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqAuthRecommend::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqAuthRecommend::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspAuthRecommend::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_AUTH_RECOMMEND; - m_ssHead.PackData(strData); -} - -void CTbsRspAuthRecommend::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspAuthRecommend::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspAuthRecommend::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspAuthRecommend::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsNtfVersion::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_NTF_VERSION; - m_ssHead.PackData(strData); -} - -void CTbsNtfVersion::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_version; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsNtfVersion::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsNtfVersion::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsNtfVersion::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqActiveUser::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_ACTIVE_USER; - m_ssHead.PackData(strData); -} - -void CTbsReqActiveUser::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_webUid; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqActiveUser::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqActiveUser::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_webUid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqActiveUser::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqDisactiveUser::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_DISACTIVE_USER; - m_ssHead.PackData(strData); -} - -void CTbsReqDisactiveUser::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_webUid; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqDisactiveUser::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqDisactiveUser::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_webUid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqDisactiveUser::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqStopTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_STOP_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqStopTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqStopTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqStopTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqStopTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspStopTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_STOP_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspStopTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspStopTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspStopTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspStopTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqAddTribeMember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_ADD_TRIBE_MEMBER; - m_ssHead.PackData(strData); -} - -void CTbsReqAddTribeMember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_tribeLevel; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_name; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqAddTribeMember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqAddTribeMember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeLevel; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_name; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqAddTribeMember::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspAddTribeMember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_ADD_TRIBE_MEMBER; - m_ssHead.PackData(strData); -} - -void CTbsRspAddTribeMember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_tribeLevel; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_name; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspAddTribeMember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspAddTribeMember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeLevel; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_name; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspAddTribeMember::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqDelTribeMember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_DEL_TRIBE_MEMBER; - m_ssHead.PackData(strData); -} - -void CTbsReqDelTribeMember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_tribeLevel; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_operId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqDelTribeMember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqDelTribeMember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeLevel; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_operId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqDelTribeMember::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspDelTribeMember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_DEL_TRIBE_MEMBER; - m_ssHead.PackData(strData); -} - -void CTbsRspDelTribeMember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_tribeLevel; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_operId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspDelTribeMember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspDelTribeMember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeLevel; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_operId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspDelTribeMember::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqSetTribeMsgPopup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_SET_TRIBE_MSG_POPUP; - m_ssHead.PackData(strData); -} - -void CTbsReqSetTribeMsgPopup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_msgPopup; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqSetTribeMsgPopup::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqSetTribeMsgPopup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgPopup; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqSetTribeMsgPopup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspSetTribeMsgPopup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_SET_TRIBE_MSG_POPUP; - m_ssHead.PackData(strData); -} - -void CTbsRspSetTribeMsgPopup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_msgPopup; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspSetTribeMsgPopup::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspSetTribeMsgPopup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgPopup; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspSetTribeMsgPopup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqTransferTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_TRANSFER_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqTransferTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_transferId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqTransferTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqTransferTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_transferId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqTransferTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspTransferTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_TRANSFER_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspTransferTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_altTribeId; - (*this) << FT_STRING; - (*this) << m_rctOwnerId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspTransferTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspTransferTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_altTribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_rctOwnerId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspTransferTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsNtfTransferTribeSys::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_NTF_TRANSFER_TRIBE_SYS; - m_ssHead.PackData(strData); -} - -void CTbsNtfTransferTribeSys::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_owner; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_tribeInfo; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsNtfTransferTribeSys::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsNtfTransferTribeSys::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_owner; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeInfo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsNtfTransferTribeSys::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsNtfTransferTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_NTF_TRANSFER_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsNtfTransferTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_occupiedTribeId; - (*this) << FT_STRING; - (*this) << m_tribeInfo; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsNtfTransferTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsNtfTransferTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_occupiedTribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeInfo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsNtfTransferTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/.svn/text-base/tbsstrc_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/tbsstrc_pack.cpp.svn-base deleted file mode 100644 index f9b3347..0000000 --- a/features/aliww/source/.svn/text-base/tbsstrc_pack.cpp.svn-base +++ /dev/null @@ -1,779 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tbsstrc_pack.cpp -// Date: 2011-01-30 12:50:13 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "tbsstrc_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SGroupInfo& sGroupInfo ) -{ - uint8_t nFieldNum = 3; - cPackData << nFieldNum; - cPackData << FT_INT64; - cPackData << sGroupInfo.m_groupId; - cPackData << FT_INT64; - cPackData << sGroupInfo.m_parentId; - cPackData << FT_STRING; - cPackData << sGroupInfo.m_groupName; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SGroupInfo& sGroupInfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 3) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_INT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sGroupInfo.m_groupId; - cPackData >> field; - if(field.m_baseType != FT_INT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sGroupInfo.m_parentId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sGroupInfo.m_groupName; - for(int i = 3; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const SMemberGroup& sMemberGroup ) -{ - uint8_t nFieldNum = 3; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sMemberGroup.m_tribeId; - cPackData << FT_VECTOR; - cPackData << FT_STRUCT; - { - uint32_t nLen = sMemberGroup.m_groupList.size(); - cPackData << nLen; - VECTOR< SGroupInfo >::const_iterator itr; - for(itr = sMemberGroup.m_groupList.begin(); itr != sMemberGroup.m_groupList.end(); ++itr) - { - cPackData << (*itr); - } - } - cPackData << FT_UINT32; - cPackData << sMemberGroup.m_groupStamp; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SMemberGroup& sMemberGroup ) -{ - uint8_t num; - cPackData >> num; - if(num < 3) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sMemberGroup.m_tribeId; - cPackData >> field; - if(field.m_baseType != FT_VECTOR) throw PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - cPackData >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - sMemberGroup.m_groupList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SGroupInfo tmpVal; - cPackData >> tmpVal; - sMemberGroup.m_groupList.push_back(tmpVal); - } - } - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sMemberGroup.m_groupStamp; - for(int i = 3; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeInfo& sTribeInfo ) -{ - uint8_t nFieldNum = 15; - do { - if(sTribeInfo.m_webTribeId == "") - nFieldNum--; - else - break; - if(sTribeInfo.m_maxMembers == 300) - nFieldNum--; - else - break; - } while(0); - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sTribeInfo.m_tribeId; - cPackData << FT_STRING; - cPackData << sTribeInfo.m_tribeName; - cPackData << FT_STRING; - cPackData << sTribeInfo.m_masterid; - cPackData << FT_UINT8; - cPackData << sTribeInfo.m_class; - cPackData << FT_STRING; - cPackData << sTribeInfo.m_describe; - cPackData << FT_STRING; - cPackData << sTribeInfo.m_bulletin; - cPackData << FT_UINT8; - cPackData << sTribeInfo.m_checkMode; - cPackData << FT_STRING; - cPackData << sTribeInfo.m_password; - cPackData << FT_STRING; - cPackData << sTribeInfo.m_keyword; - cPackData << FT_UINT8; - cPackData << sTribeInfo.m_allowVisitor; - cPackData << FT_UINT8; - cPackData << sTribeInfo.m_forbidSearch; - cPackData << FT_STRING; - cPackData << sTribeInfo.m_extSign; - cPackData << FT_UINT8; - cPackData << sTribeInfo.m_openTribe; - if(nFieldNum == 13) - return cPackData; - cPackData << FT_UINT32; - cPackData << sTribeInfo.m_maxMembers; - if(nFieldNum == 14) - return cPackData; - cPackData << FT_STRING; - cPackData << sTribeInfo.m_webTribeId; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, STribeInfo& sTribeInfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 13) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_tribeId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_tribeName; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_masterid; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_class; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_describe; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_bulletin; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_checkMode; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_password; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_keyword; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_allowVisitor; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_forbidSearch; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_extSign; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_openTribe; - try - { - if(num < 14) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_maxMembers; - if(num < 15) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_webTribeId; - } - catch(PACKRETCODE) - { - return cPackData; - } - for(int i = 15; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeExtInfo& sTribeExtInfo ) -{ - uint8_t nFieldNum = 5; - do { - if(sTribeExtInfo.m_msgPopup == 0) - nFieldNum--; - else - break; - if(sTribeExtInfo.m_url == "") - nFieldNum--; - else - break; - if(sTribeExtInfo.m_title == "") - nFieldNum--; - else - break; - if(sTribeExtInfo.m_activeDegree == 0) - nFieldNum--; - else - break; - if(sTribeExtInfo.m_tribeLevel == 0) - nFieldNum--; - else - break; - } while(0); - cPackData << nFieldNum; - if(nFieldNum == 0) - return cPackData; - cPackData << FT_UINT8; - cPackData << sTribeExtInfo.m_tribeLevel; - if(nFieldNum == 1) - return cPackData; - cPackData << FT_UINT32; - cPackData << sTribeExtInfo.m_activeDegree; - if(nFieldNum == 2) - return cPackData; - cPackData << FT_STRING; - cPackData << sTribeExtInfo.m_title; - if(nFieldNum == 3) - return cPackData; - cPackData << FT_STRING; - cPackData << sTribeExtInfo.m_url; - if(nFieldNum == 4) - return cPackData; - cPackData << FT_UINT8; - cPackData << sTribeExtInfo.m_msgPopup; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, STribeExtInfo& sTribeExtInfo ) -{ - uint8_t num; - try - { - cPackData >> num; - CFieldType field; - if(num < 1) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeExtInfo.m_tribeLevel; - if(num < 2) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeExtInfo.m_activeDegree; - if(num < 3) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeExtInfo.m_title; - if(num < 4) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeExtInfo.m_url; - if(num < 5) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeExtInfo.m_msgPopup; - } - catch(PACKRETCODE) - { - return cPackData; - } - for(int i = 5; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const STmStatus& sTmStatus ) -{ - uint8_t nFieldNum = 5; - do { - if(sTmStatus.m_name == "") - nFieldNum--; - else - break; - } while(0); - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sTmStatus.m_memberId; - cPackData << FT_UINT8; - cPackData << sTmStatus.m_basicSts; - cPackData << FT_UINT8; - cPackData << sTmStatus.m_predefSts; - cPackData << FT_UINT8; - cPackData << sTmStatus.m_tribeLevel; - if(nFieldNum == 4) - return cPackData; - cPackData << FT_STRING; - cPackData << sTmStatus.m_name; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, STmStatus& sTmStatus ) -{ - uint8_t num; - cPackData >> num; - if(num < 4) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmStatus.m_memberId; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmStatus.m_basicSts; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmStatus.m_predefSts; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmStatus.m_tribeLevel; - try - { - if(num < 5) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmStatus.m_name; - } - catch(PACKRETCODE) - { - return cPackData; - } - for(int i = 5; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const STmMsgid& sTmMsgid ) -{ - uint8_t nFieldNum = 4; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sTmMsgid.m_memberId; - cPackData << FT_UINT8; - cPackData << sTmMsgid.m_basicSts; - cPackData << FT_UINT8; - cPackData << sTmMsgid.m_predefSts; - cPackData << FT_UINT32; - cPackData << sTmMsgid.m_lastMsgid; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, STmMsgid& sTmMsgid ) -{ - uint8_t num; - cPackData >> num; - if(num < 4) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmMsgid.m_memberId; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmMsgid.m_basicSts; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmMsgid.m_predefSts; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmMsgid.m_lastMsgid; - for(int i = 4; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeBlack& sTribeBlack ) -{ - uint8_t nFieldNum = 4; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sTribeBlack.m_userId; - cPackData << FT_STRING; - cPackData << sTribeBlack.m_managerId; - cPackData << FT_STRING; - cPackData << sTribeBlack.m_addDate; - cPackData << FT_STRING; - cPackData << sTribeBlack.m_remark; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, STribeBlack& sTribeBlack ) -{ - uint8_t num; - cPackData >> num; - if(num < 4) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeBlack.m_userId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeBlack.m_managerId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeBlack.m_addDate; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeBlack.m_remark; - for(int i = 4; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const STmInfo& sTmInfo ) -{ - uint8_t nFieldNum = 10; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sTmInfo.m_memberId; - cPackData << FT_STRING; - cPackData << sTmInfo.m_name; - cPackData << FT_UINT8; - cPackData << sTmInfo.m_basicSts; - cPackData << FT_UINT8; - cPackData << sTmInfo.m_predefSts; - cPackData << FT_UINT8; - cPackData << sTmInfo.m_tribeLevel; - cPackData << FT_UINT8; - cPackData << sTmInfo.m_activeLevel; - cPackData << FT_UINT32; - cPackData << sTmInfo.m_lastmsgTime; - cPackData << FT_INT64; - cPackData << sTmInfo.m_groupId; - cPackData << FT_UINT8; - cPackData << sTmInfo.m_mobileBindflag; - cPackData << FT_STRING; - cPackData << sTmInfo.m_mobileNo; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, STmInfo& sTmInfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 10) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmInfo.m_memberId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmInfo.m_name; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmInfo.m_basicSts; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmInfo.m_predefSts; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmInfo.m_tribeLevel; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmInfo.m_activeLevel; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmInfo.m_lastmsgTime; - cPackData >> field; - if(field.m_baseType != FT_INT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmInfo.m_groupId; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmInfo.m_mobileBindflag; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmInfo.m_mobileNo; - for(int i = 10; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeMsg& sTribeMsg ) -{ - uint8_t nFieldNum = 4; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sTribeMsg.m_fromId; - cPackData << FT_UINT8; - cPackData << sTribeMsg.m_msgType; - cPackData << FT_STRING; - cPackData << sTribeMsg.m_message; - cPackData << FT_UINT32; - cPackData << sTribeMsg.m_sendTime; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, STribeMsg& sTribeMsg ) -{ - uint8_t num; - cPackData >> num; - if(num < 4) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeMsg.m_fromId; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeMsg.m_msgType; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeMsg.m_message; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeMsg.m_sendTime; - for(int i = 4; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeSysmsg& sTribeSysmsg ) -{ - uint8_t nFieldNum = 8; - do { - if(sTribeSysmsg.m_showBottom == 1) - nFieldNum--; - else - break; - if(sTribeSysmsg.m_stayTime == 10000) - nFieldNum--; - else - break; - if(sTribeSysmsg.m_title == "ϵͳÌáʾ") - nFieldNum--; - else - break; - } while(0); - cPackData << nFieldNum; - cPackData << FT_UINT8; - cPackData << sTribeSysmsg.m_msgType; - cPackData << FT_STRING; - cPackData << sTribeSysmsg.m_message; - cPackData << FT_UINT32; - cPackData << sTribeSysmsg.m_sendTime; - cPackData << FT_UINT8; - cPackData << sTribeSysmsg.m_format; - cPackData << FT_STRING; - cPackData << sTribeSysmsg.m_content; - if(nFieldNum == 5) - return cPackData; - cPackData << FT_STRING; - cPackData << sTribeSysmsg.m_title; - if(nFieldNum == 6) - return cPackData; - cPackData << FT_UINT32; - cPackData << sTribeSysmsg.m_stayTime; - if(nFieldNum == 7) - return cPackData; - cPackData << FT_INT32; - cPackData << sTribeSysmsg.m_showBottom; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, STribeSysmsg& sTribeSysmsg ) -{ - uint8_t num; - cPackData >> num; - if(num < 5) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeSysmsg.m_msgType; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeSysmsg.m_message; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeSysmsg.m_sendTime; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeSysmsg.m_format; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeSysmsg.m_content; - try - { - if(num < 6) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeSysmsg.m_title; - if(num < 7) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeSysmsg.m_stayTime; - if(num < 8) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_INT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeSysmsg.m_showBottom; - } - catch(PACKRETCODE) - { - return cPackData; - } - for(int i = 8; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const SWebGroup& sWebGroup ) -{ - uint8_t nFieldNum = 5; - cPackData << nFieldNum; - cPackData << FT_UINT32; - cPackData << sWebGroup.m_groupId; - cPackData << FT_STRING; - cPackData << sWebGroup.m_groupName; - cPackData << FT_STRING; - cPackData << sWebGroup.m_serviceId; - cPackData << FT_STRING; - cPackData << sWebGroup.m_siteId; - cPackData << FT_STRING; - cPackData << sWebGroup.m_webId; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SWebGroup& sWebGroup ) -{ - uint8_t num; - cPackData >> num; - if(num < 5) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sWebGroup.m_groupId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sWebGroup.m_groupName; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sWebGroup.m_serviceId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sWebGroup.m_siteId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sWebGroup.m_webId; - for(int i = 5; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeId& sTribeId ) -{ - uint8_t nFieldNum = 9; - do { - if(sTribeId.m_msgPopup == 0) - nFieldNum--; - else - break; - if(sTribeId.m_groupId == 0) - nFieldNum--; - else - break; - } while(0); - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sTribeId.m_tribeId; - cPackData << FT_STRING; - cPackData << sTribeId.m_tribeName; - cPackData << FT_UINT8; - cPackData << sTribeId.m_tribeLevel; - cPackData << FT_UINT8; - cPackData << sTribeId.m_tribeStatus; - cPackData << FT_STRING; - cPackData << sTribeId.m_extSign; - cPackData << FT_UINT32; - cPackData << sTribeId.m_groupStamp; - cPackData << FT_UINT8; - cPackData << sTribeId.m_openTribe; - if(nFieldNum == 7) - return cPackData; - cPackData << FT_UINT32; - cPackData << sTribeId.m_groupId; - if(nFieldNum == 8) - return cPackData; - cPackData << FT_UINT8; - cPackData << sTribeId.m_msgPopup; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, STribeId& sTribeId ) -{ - uint8_t num; - cPackData >> num; - if(num < 7) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeId.m_tribeId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeId.m_tribeName; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeId.m_tribeLevel; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeId.m_tribeStatus; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeId.m_extSign; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeId.m_groupStamp; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeId.m_openTribe; - try - { - if(num < 8) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeId.m_groupId; - if(num < 9) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeId.m_msgPopup; - } - catch(PACKRETCODE) - { - return cPackData; - } - for(int i = 9; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - diff --git a/features/aliww/source/.svn/text-base/tcservice.cpp.svn-base b/features/aliww/source/.svn/text-base/tcservice.cpp.svn-base deleted file mode 100644 index b0ce519..0000000 --- a/features/aliww/source/.svn/text-base/tcservice.cpp.svn-base +++ /dev/null @@ -1,2621 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `tcservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __TribeCacheService__TCSrvMgr__GetUserTribe_name = "GetUserTribe"; - -static const ::std::string __TribeCacheService__TCSrvMgr__GetUserTribe2_name = "GetUserTribe2"; - -static const ::std::string __TribeCacheService__TCSrvMgr__AddUserTribes_name = "AddUserTribes"; - -static const ::std::string __TribeCacheService__TCSrvMgr__AddUserTribes2_name = "AddUserTribes2"; - -static const ::std::string __TribeCacheService__TCSrvMgr__AddUserTribe_name = "AddUserTribe"; - -static const ::std::string __TribeCacheService__TCSrvMgr__DelUserTribe_name = "DelUserTribe"; - -static const ::std::string __TribeCacheService__TCSrvMgr__ChgUserTribe_name = "ChgUserTribe"; - -static const ::std::string __TribeCacheService__TCSrvMgr__ChgUserTribe2_name = "ChgUserTribe2"; - -static const ::std::string __TribeCacheService__TCSrvMgr__GetOffMngMsg_name = "GetOffMngMsg"; - -static const ::std::string __TribeCacheService__TCSrvMgr__AddOffMngMsg_name = "AddOffMngMsg"; - -static const ::std::string __TribeCacheService__TCSrvMgr__AddMsgList_name = "AddMsgList"; - -static const ::std::string __TribeCacheService__TCSrvMgr__UpdateTribe_name = "UpdateTribe"; - -static const ::std::string __TribeCacheService__TCSrvMgr__RemoveTribe_name = "RemoveTribe"; - -static const ::std::string __TribeCacheService__TCSrvMgr__GetOfflineMsg_name = "GetOfflineMsg"; - -void -IceInternal::incRef(::TribeCacheService::TCSrvMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::TribeCacheService::TCSrvMgr* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::TribeCacheService::TCSrvMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::TribeCacheService::TCSrvMgr* p) -{ - p->__decRef(); -} - -void -TribeCacheService::__write(::IceInternal::BasicStream* __os, const ::TribeCacheService::TCSrvMgrPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -TribeCacheService::__read(::IceInternal::BasicStream* __is, ::TribeCacheService::TCSrvMgrPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::TribeCacheService::TCSrvMgr; - v->__copyFrom(proxy); - } -} - -void -TribeCacheService::__write(::IceInternal::BasicStream* __os, const ::TribeCacheService::TCSrvMgrPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -TribeCacheService::STribeInfo::operator==(const STribeInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -TribeCacheService::STribeInfo::operator!=(const STribeInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(tribeLevel != __rhs.tribeLevel) - { - return true; - } - if(tribeStatus != __rhs.tribeStatus) - { - return true; - } - if(extSign != __rhs.extSign) - { - return true; - } - if(groupStamp != __rhs.groupStamp) - { - return true; - } - if(openTribe != __rhs.openTribe) - { - return true; - } - return false; -} - -bool -TribeCacheService::STribeInfo::operator<(const STribeInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(tribeLevel < __rhs.tribeLevel) - { - return true; - } - else if(__rhs.tribeLevel < tribeLevel) - { - return false; - } - if(tribeStatus < __rhs.tribeStatus) - { - return true; - } - else if(__rhs.tribeStatus < tribeStatus) - { - return false; - } - if(extSign < __rhs.extSign) - { - return true; - } - else if(__rhs.extSign < extSign) - { - return false; - } - if(groupStamp < __rhs.groupStamp) - { - return true; - } - else if(__rhs.groupStamp < groupStamp) - { - return false; - } - if(openTribe < __rhs.openTribe) - { - return true; - } - else if(__rhs.openTribe < openTribe) - { - return false; - } - return false; -} - -void -TribeCacheService::STribeInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(name); - __os->write(tribeLevel); - __os->write(tribeStatus); - __os->write(extSign); - __os->write(groupStamp); - __os->write(openTribe); -} - -void -TribeCacheService::STribeInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(name); - __is->read(tribeLevel); - __is->read(tribeStatus); - __is->read(extSign); - __is->read(groupStamp); - __is->read(openTribe); -} - -void -TribeCacheService::__write(::IceInternal::BasicStream* __os, const ::TribeCacheService::STribeInfo* begin, const ::TribeCacheService::STribeInfo* end, ::TribeCacheService::__U__STribeInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -TribeCacheService::__read(::IceInternal::BasicStream* __is, ::TribeCacheService::STribeInfoSeq& v, ::TribeCacheService::__U__STribeInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 20); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -TribeCacheService::STribeInfo2::operator==(const STribeInfo2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -TribeCacheService::STribeInfo2::operator!=(const STribeInfo2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(tribeLevel != __rhs.tribeLevel) - { - return true; - } - if(tribeStatus != __rhs.tribeStatus) - { - return true; - } - if(extSign != __rhs.extSign) - { - return true; - } - if(groupStamp != __rhs.groupStamp) - { - return true; - } - if(openTribe != __rhs.openTribe) - { - return true; - } - if(popupFlag != __rhs.popupFlag) - { - return true; - } - return false; -} - -bool -TribeCacheService::STribeInfo2::operator<(const STribeInfo2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(tribeLevel < __rhs.tribeLevel) - { - return true; - } - else if(__rhs.tribeLevel < tribeLevel) - { - return false; - } - if(tribeStatus < __rhs.tribeStatus) - { - return true; - } - else if(__rhs.tribeStatus < tribeStatus) - { - return false; - } - if(extSign < __rhs.extSign) - { - return true; - } - else if(__rhs.extSign < extSign) - { - return false; - } - if(groupStamp < __rhs.groupStamp) - { - return true; - } - else if(__rhs.groupStamp < groupStamp) - { - return false; - } - if(openTribe < __rhs.openTribe) - { - return true; - } - else if(__rhs.openTribe < openTribe) - { - return false; - } - if(popupFlag < __rhs.popupFlag) - { - return true; - } - else if(__rhs.popupFlag < popupFlag) - { - return false; - } - return false; -} - -void -TribeCacheService::STribeInfo2::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(name); - __os->write(tribeLevel); - __os->write(tribeStatus); - __os->write(extSign); - __os->write(groupStamp); - __os->write(openTribe); - __os->write(popupFlag); -} - -void -TribeCacheService::STribeInfo2::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(name); - __is->read(tribeLevel); - __is->read(tribeStatus); - __is->read(extSign); - __is->read(groupStamp); - __is->read(openTribe); - __is->read(popupFlag); -} - -void -TribeCacheService::__write(::IceInternal::BasicStream* __os, const ::TribeCacheService::STribeInfo2* begin, const ::TribeCacheService::STribeInfo2* end, ::TribeCacheService::__U__STribeInfoSeq2) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -TribeCacheService::__read(::IceInternal::BasicStream* __is, ::TribeCacheService::STribeInfoSeq2& v, ::TribeCacheService::__U__STribeInfoSeq2) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 22); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -TribeCacheService::STribeOffMngMsg::operator==(const STribeOffMngMsg& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -TribeCacheService::STribeOffMngMsg::operator!=(const STribeOffMngMsg& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(memberId != __rhs.memberId) - { - return true; - } - if(type != __rhs.type) - { - return true; - } - if(message != __rhs.message) - { - return true; - } - if(sendTime != __rhs.sendTime) - { - return true; - } - return false; -} - -bool -TribeCacheService::STribeOffMngMsg::operator<(const STribeOffMngMsg& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(memberId < __rhs.memberId) - { - return true; - } - else if(__rhs.memberId < memberId) - { - return false; - } - if(type < __rhs.type) - { - return true; - } - else if(__rhs.type < type) - { - return false; - } - if(message < __rhs.message) - { - return true; - } - else if(__rhs.message < message) - { - return false; - } - if(sendTime < __rhs.sendTime) - { - return true; - } - else if(__rhs.sendTime < sendTime) - { - return false; - } - return false; -} - -void -TribeCacheService::STribeOffMngMsg::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(memberId); - __os->write(type); - __os->write(message); - __os->write(sendTime); -} - -void -TribeCacheService::STribeOffMngMsg::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(memberId); - __is->read(type); - __is->read(message); - __is->read(sendTime); -} - -void -TribeCacheService::__write(::IceInternal::BasicStream* __os, const ::TribeCacheService::STribeOffMngMsg* begin, const ::TribeCacheService::STribeOffMngMsg* end, ::TribeCacheService::__U__STribeOffMngMsgSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -TribeCacheService::__read(::IceInternal::BasicStream* __is, ::TribeCacheService::STribeOffMngMsgSeq& v, ::TribeCacheService::__U__STribeOffMngMsgSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 16); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -TribeCacheService::__addObject(const TCSrvMgrPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -TribeCacheService::__usesClasses(const TCSrvMgrPtr& p) -{ - return p->__usesClasses(); -} - -void -TribeCacheService::__decRefUnsafe(const TCSrvMgrPtr& p) -{ - p->__decRefUnsafe(); -} - -void -TribeCacheService::__clearHandleUnsafe(TCSrvMgrPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::GetUserTribe(const ::std::string& userId, ::TribeCacheService::STribeInfoSeq& tribeList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__GetUserTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->GetUserTribe(userId, tribeList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::GetUserTribe2(const ::std::string& userId, ::TribeCacheService::STribeInfoSeq2& tribeList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__GetUserTribe2_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->GetUserTribe2(userId, tribeList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::AddUserTribes(const ::std::string& userId, const ::TribeCacheService::STribeInfoSeq& tribeList, const ::TribeCacheService::STribeOffMngMsgSeq& offMngMsg, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__AddUserTribes_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->AddUserTribes(userId, tribeList, offMngMsg, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::AddUserTribes2(const ::std::string& userId, const ::TribeCacheService::STribeInfoSeq2& tribeList, const ::TribeCacheService::STribeOffMngMsgSeq& offMngMsg, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__AddUserTribes2_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->AddUserTribes2(userId, tribeList, offMngMsg, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::AddUserTribe(const ::std::string& userId, const ::TribeCacheService::STribeInfo& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__AddUserTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->AddUserTribe(userId, tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::DelUserTribe(const ::std::string& userId, ::Ice::Long tribeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__DelUserTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->DelUserTribe(userId, tribeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::ChgUserTribe(const ::std::string& userId, const ::TribeCacheService::STribeInfo& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__ChgUserTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->ChgUserTribe(userId, tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::ChgUserTribe2(const ::std::string& userId, const ::TribeCacheService::STribeInfo2& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__ChgUserTribe2_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->ChgUserTribe2(userId, tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::GetOffMngMsg(const ::std::string& userId, ::Ice::Long tribeId, ::TribeCacheService::STribeOffMngMsgSeq& offMngMsgList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__GetOffMngMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->GetOffMngMsg(userId, tribeId, offMngMsgList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::AddOffMngMsg(const ::std::string& userId, const ::TribeCacheService::STribeOffMngMsg& offMngMsg, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__AddOffMngMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->AddOffMngMsg(userId, offMngMsg, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::AddMsgList(const ::std::string& userId, const ::TribeCacheService::STribeOffMngMsgSeq& msgList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__AddMsgList_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->AddMsgList(userId, msgList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::UpdateTribe(const ::TribeCacheService::STribeInfo& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__UpdateTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->UpdateTribe(tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::RemoveTribe(::Ice::Long tribeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__RemoveTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->RemoveTribe(tribeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::GetOfflineMsg(const ::std::string& userId, ::TribeCacheService::STribeOffMngMsgSeq& offMngMsgList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__GetOfflineMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->GetOfflineMsg(userId, offMngMsgList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::TribeCacheService::TCSrvMgr::ice_staticId() -{ - return ::TribeCacheService::TCSrvMgr::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::TribeCacheService::TCSrvMgr::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::TribeCacheService::TCSrvMgr); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::TribeCacheService::TCSrvMgr::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::TribeCacheService::TCSrvMgr); -} - -bool -IceProxy::TribeCacheService::operator==(const ::IceProxy::TribeCacheService::TCSrvMgr& l, const ::IceProxy::TribeCacheService::TCSrvMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::TribeCacheService::operator!=(const ::IceProxy::TribeCacheService::TCSrvMgr& l, const ::IceProxy::TribeCacheService::TCSrvMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::TribeCacheService::operator<(const ::IceProxy::TribeCacheService::TCSrvMgr& l, const ::IceProxy::TribeCacheService::TCSrvMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::TribeCacheService::operator<=(const ::IceProxy::TribeCacheService::TCSrvMgr& l, const ::IceProxy::TribeCacheService::TCSrvMgr& r) -{ - return l < r || l == r; -} - -bool -IceProxy::TribeCacheService::operator>(const ::IceProxy::TribeCacheService::TCSrvMgr& l, const ::IceProxy::TribeCacheService::TCSrvMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::TribeCacheService::operator>=(const ::IceProxy::TribeCacheService::TCSrvMgr& l, const ::IceProxy::TribeCacheService::TCSrvMgr& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::GetUserTribe(const ::std::string& userId, ::TribeCacheService::STribeInfoSeq& tribeList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__GetUserTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::TribeCacheService::__read(__is, tribeList, ::TribeCacheService::__U__STribeInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::GetUserTribe2(const ::std::string& userId, ::TribeCacheService::STribeInfoSeq2& tribeList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__GetUserTribe2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::TribeCacheService::__read(__is, tribeList, ::TribeCacheService::__U__STribeInfoSeq2()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::AddUserTribes(const ::std::string& userId, const ::TribeCacheService::STribeInfoSeq& tribeList, const ::TribeCacheService::STribeOffMngMsgSeq& offMngMsg, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__AddUserTribes_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - if(tribeList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::TribeCacheService::__write(__os, &tribeList[0], &tribeList[0] + tribeList.size(), ::TribeCacheService::__U__STribeInfoSeq()); - } - if(offMngMsg.size() == 0) - { - __os->writeSize(0); - } - else - { - ::TribeCacheService::__write(__os, &offMngMsg[0], &offMngMsg[0] + offMngMsg.size(), ::TribeCacheService::__U__STribeOffMngMsgSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::AddUserTribes2(const ::std::string& userId, const ::TribeCacheService::STribeInfoSeq2& tribeList, const ::TribeCacheService::STribeOffMngMsgSeq& offMngMsg, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__AddUserTribes2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - if(tribeList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::TribeCacheService::__write(__os, &tribeList[0], &tribeList[0] + tribeList.size(), ::TribeCacheService::__U__STribeInfoSeq2()); - } - if(offMngMsg.size() == 0) - { - __os->writeSize(0); - } - else - { - ::TribeCacheService::__write(__os, &offMngMsg[0], &offMngMsg[0] + offMngMsg.size(), ::TribeCacheService::__U__STribeOffMngMsgSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::AddUserTribe(const ::std::string& userId, const ::TribeCacheService::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__AddUserTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::DelUserTribe(const ::std::string& userId, ::Ice::Long tribeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__DelUserTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::ChgUserTribe(const ::std::string& userId, const ::TribeCacheService::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__ChgUserTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::ChgUserTribe2(const ::std::string& userId, const ::TribeCacheService::STribeInfo2& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__ChgUserTribe2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::GetOffMngMsg(const ::std::string& userId, ::Ice::Long tribeId, ::TribeCacheService::STribeOffMngMsgSeq& offMngMsgList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__GetOffMngMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::TribeCacheService::__read(__is, offMngMsgList, ::TribeCacheService::__U__STribeOffMngMsgSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::AddOffMngMsg(const ::std::string& userId, const ::TribeCacheService::STribeOffMngMsg& offMngMsg, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__AddOffMngMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - offMngMsg.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::AddMsgList(const ::std::string& userId, const ::TribeCacheService::STribeOffMngMsgSeq& msgList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__AddMsgList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - if(msgList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::TribeCacheService::__write(__os, &msgList[0], &msgList[0] + msgList.size(), ::TribeCacheService::__U__STribeOffMngMsgSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::UpdateTribe(const ::TribeCacheService::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__UpdateTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::RemoveTribe(::Ice::Long tribeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__RemoveTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::GetOfflineMsg(const ::std::string& userId, ::TribeCacheService::STribeOffMngMsgSeq& offMngMsgList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__GetOfflineMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::TribeCacheService::__read(__is, offMngMsgList, ::TribeCacheService::__U__STribeOffMngMsgSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::GetUserTribe(const ::std::string& userId, ::TribeCacheService::STribeInfoSeq& tribeList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__GetUserTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUserTribe(userId, tribeList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::GetUserTribe2(const ::std::string& userId, ::TribeCacheService::STribeInfoSeq2& tribeList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__GetUserTribe2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUserTribe2(userId, tribeList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::AddUserTribes(const ::std::string& userId, const ::TribeCacheService::STribeInfoSeq& tribeList, const ::TribeCacheService::STribeOffMngMsgSeq& offMngMsg, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__AddUserTribes_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddUserTribes(userId, tribeList, offMngMsg, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::AddUserTribes2(const ::std::string& userId, const ::TribeCacheService::STribeInfoSeq2& tribeList, const ::TribeCacheService::STribeOffMngMsgSeq& offMngMsg, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__AddUserTribes2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddUserTribes2(userId, tribeList, offMngMsg, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::AddUserTribe(const ::std::string& userId, const ::TribeCacheService::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__AddUserTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddUserTribe(userId, tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::DelUserTribe(const ::std::string& userId, ::Ice::Long tribeId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__DelUserTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DelUserTribe(userId, tribeId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::ChgUserTribe(const ::std::string& userId, const ::TribeCacheService::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__ChgUserTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->ChgUserTribe(userId, tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::ChgUserTribe2(const ::std::string& userId, const ::TribeCacheService::STribeInfo2& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__ChgUserTribe2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->ChgUserTribe2(userId, tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::GetOffMngMsg(const ::std::string& userId, ::Ice::Long tribeId, ::TribeCacheService::STribeOffMngMsgSeq& offMngMsgList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__GetOffMngMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetOffMngMsg(userId, tribeId, offMngMsgList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::AddOffMngMsg(const ::std::string& userId, const ::TribeCacheService::STribeOffMngMsg& offMngMsg, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__AddOffMngMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddOffMngMsg(userId, offMngMsg, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::AddMsgList(const ::std::string& userId, const ::TribeCacheService::STribeOffMngMsgSeq& msgList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__AddMsgList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddMsgList(userId, msgList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::UpdateTribe(const ::TribeCacheService::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__UpdateTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateTribe(tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::RemoveTribe(::Ice::Long tribeId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__RemoveTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->RemoveTribe(tribeId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::GetOfflineMsg(const ::std::string& userId, ::TribeCacheService::STribeOffMngMsgSeq& offMngMsgList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__GetOfflineMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetOfflineMsg(userId, offMngMsgList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -TribeCacheService::TCSrvMgr::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __TribeCacheService__TCSrvMgr_ids[2] = -{ - "::Ice::Object", - "::TribeCacheService::TCSrvMgr" -}; - -bool -TribeCacheService::TCSrvMgr::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__TribeCacheService__TCSrvMgr_ids, __TribeCacheService__TCSrvMgr_ids + 2, _s); -} - -::std::vector< ::std::string> -TribeCacheService::TCSrvMgr::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__TribeCacheService__TCSrvMgr_ids[0], &__TribeCacheService__TCSrvMgr_ids[2]); -} - -const ::std::string& -TribeCacheService::TCSrvMgr::ice_id(const ::Ice::Current&) const -{ - return __TribeCacheService__TCSrvMgr_ids[1]; -} - -const ::std::string& -TribeCacheService::TCSrvMgr::ice_staticId() -{ - return __TribeCacheService__TCSrvMgr_ids[1]; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___GetUserTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::TribeCacheService::STribeInfoSeq tribeList; - ::Ice::Int __ret = GetUserTribe(userId, tribeList, __current); - if(tribeList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::TribeCacheService::__write(__os, &tribeList[0], &tribeList[0] + tribeList.size(), ::TribeCacheService::__U__STribeInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___GetUserTribe2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::TribeCacheService::STribeInfoSeq2 tribeList; - ::Ice::Int __ret = GetUserTribe2(userId, tribeList, __current); - if(tribeList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::TribeCacheService::__write(__os, &tribeList[0], &tribeList[0] + tribeList.size(), ::TribeCacheService::__U__STribeInfoSeq2()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___AddUserTribes(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::TribeCacheService::STribeInfoSeq tribeList; - ::TribeCacheService::STribeOffMngMsgSeq offMngMsg; - __is->read(userId); - ::TribeCacheService::__read(__is, tribeList, ::TribeCacheService::__U__STribeInfoSeq()); - ::TribeCacheService::__read(__is, offMngMsg, ::TribeCacheService::__U__STribeOffMngMsgSeq()); - ::Ice::Int __ret = AddUserTribes(userId, tribeList, offMngMsg, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___AddUserTribes2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::TribeCacheService::STribeInfoSeq2 tribeList; - ::TribeCacheService::STribeOffMngMsgSeq offMngMsg; - __is->read(userId); - ::TribeCacheService::__read(__is, tribeList, ::TribeCacheService::__U__STribeInfoSeq2()); - ::TribeCacheService::__read(__is, offMngMsg, ::TribeCacheService::__U__STribeOffMngMsgSeq()); - ::Ice::Int __ret = AddUserTribes2(userId, tribeList, offMngMsg, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___AddUserTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::TribeCacheService::STribeInfo tribeInfo; - __is->read(userId); - tribeInfo.__read(__is); - ::Ice::Int __ret = AddUserTribe(userId, tribeInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___DelUserTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Long tribeId; - __is->read(userId); - __is->read(tribeId); - ::Ice::Int __ret = DelUserTribe(userId, tribeId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___ChgUserTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::TribeCacheService::STribeInfo tribeInfo; - __is->read(userId); - tribeInfo.__read(__is); - ::Ice::Int __ret = ChgUserTribe(userId, tribeInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___ChgUserTribe2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::TribeCacheService::STribeInfo2 tribeInfo; - __is->read(userId); - tribeInfo.__read(__is); - ::Ice::Int __ret = ChgUserTribe2(userId, tribeInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___GetOffMngMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Long tribeId; - __is->read(userId); - __is->read(tribeId); - ::TribeCacheService::STribeOffMngMsgSeq offMngMsgList; - ::Ice::Int __ret = GetOffMngMsg(userId, tribeId, offMngMsgList, __current); - if(offMngMsgList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::TribeCacheService::__write(__os, &offMngMsgList[0], &offMngMsgList[0] + offMngMsgList.size(), ::TribeCacheService::__U__STribeOffMngMsgSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___AddOffMngMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::TribeCacheService::STribeOffMngMsg offMngMsg; - __is->read(userId); - offMngMsg.__read(__is); - ::Ice::Int __ret = AddOffMngMsg(userId, offMngMsg, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___AddMsgList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::TribeCacheService::STribeOffMngMsgSeq msgList; - __is->read(userId); - ::TribeCacheService::__read(__is, msgList, ::TribeCacheService::__U__STribeOffMngMsgSeq()); - ::Ice::Int __ret = AddMsgList(userId, msgList, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___UpdateTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::TribeCacheService::STribeInfo tribeInfo; - tribeInfo.__read(__is); - ::Ice::Int __ret = UpdateTribe(tribeInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___RemoveTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long tribeId; - __is->read(tribeId); - ::Ice::Int __ret = RemoveTribe(tribeId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___GetOfflineMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::TribeCacheService::STribeOffMngMsgSeq offMngMsgList; - ::Ice::Int __ret = GetOfflineMsg(userId, offMngMsgList, __current); - if(offMngMsgList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::TribeCacheService::__write(__os, &offMngMsgList[0], &offMngMsgList[0] + offMngMsgList.size(), ::TribeCacheService::__U__STribeOffMngMsgSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __TribeCacheService__TCSrvMgr_all[] = -{ - "AddMsgList", - "AddOffMngMsg", - "AddUserTribe", - "AddUserTribes", - "AddUserTribes2", - "ChgUserTribe", - "ChgUserTribe2", - "DelUserTribe", - "GetOffMngMsg", - "GetOfflineMsg", - "GetUserTribe", - "GetUserTribe2", - "RemoveTribe", - "UpdateTribe", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__TribeCacheService__TCSrvMgr_all, __TribeCacheService__TCSrvMgr_all + 18, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __TribeCacheService__TCSrvMgr_all) - { - case 0: - { - return ___AddMsgList(in, current); - } - case 1: - { - return ___AddOffMngMsg(in, current); - } - case 2: - { - return ___AddUserTribe(in, current); - } - case 3: - { - return ___AddUserTribes(in, current); - } - case 4: - { - return ___AddUserTribes2(in, current); - } - case 5: - { - return ___ChgUserTribe(in, current); - } - case 6: - { - return ___ChgUserTribe2(in, current); - } - case 7: - { - return ___DelUserTribe(in, current); - } - case 8: - { - return ___GetOffMngMsg(in, current); - } - case 9: - { - return ___GetOfflineMsg(in, current); - } - case 10: - { - return ___GetUserTribe(in, current); - } - case 11: - { - return ___GetUserTribe2(in, current); - } - case 12: - { - return ___RemoveTribe(in, current); - } - case 13: - { - return ___UpdateTribe(in, current); - } - case 14: - { - return ___ice_id(in, current); - } - case 15: - { - return ___ice_ids(in, current); - } - case 16: - { - return ___ice_isA(in, current); - } - case 17: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -TribeCacheService::TCSrvMgr::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -TribeCacheService::TCSrvMgr::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -TribeCacheService::TCSrvMgr::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type TribeCacheService::TCSrvMgr was not generated with stream support"; - throw ex; -} - -void -TribeCacheService::TCSrvMgr::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type TribeCacheService::TCSrvMgr was not generated with stream support"; - throw ex; -} - -void -TribeCacheService::__patch__TCSrvMgrPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::TribeCacheService::TCSrvMgrPtr* p = static_cast< ::TribeCacheService::TCSrvMgrPtr*>(__addr); - assert(p); - *p = ::TribeCacheService::TCSrvMgrPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::TribeCacheService::TCSrvMgr::ice_staticId(); - throw e; - } -} - -bool -TribeCacheService::operator==(const ::TribeCacheService::TCSrvMgr& l, const ::TribeCacheService::TCSrvMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -TribeCacheService::operator!=(const ::TribeCacheService::TCSrvMgr& l, const ::TribeCacheService::TCSrvMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -TribeCacheService::operator<(const ::TribeCacheService::TCSrvMgr& l, const ::TribeCacheService::TCSrvMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -TribeCacheService::operator<=(const ::TribeCacheService::TCSrvMgr& l, const ::TribeCacheService::TCSrvMgr& r) -{ - return l < r || l == r; -} - -bool -TribeCacheService::operator>(const ::TribeCacheService::TCSrvMgr& l, const ::TribeCacheService::TCSrvMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -TribeCacheService::operator>=(const ::TribeCacheService::TCSrvMgr& l, const ::TribeCacheService::TCSrvMgr& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/tgsc_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/tgsc_pack.cpp.svn-base deleted file mode 100644 index a3e2389..0000000 --- a/features/aliww/source/.svn/text-base/tgsc_pack.cpp.svn-base +++ /dev/null @@ -1,2997 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tgsc_pack.cpp -// Date: 2011-01-30 12:49:42 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "tgsc_pack.h" - -void CTbscReqGetOnlineinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_GET_ONLINEINFO; - m_scsHead.PackData(strData); -} - -void CTbscReqGetOnlineinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqGetOnlineinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqGetOnlineinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqGetOnlineinfo::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspGetOnlineinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_GET_ONLINEINFO; - m_scsHead.PackData(strData); -} - -void CTbscRspGetOnlineinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT32; - (*this) << m_memberNum; - (*this) << FT_UINT32; - (*this) << m_visitorNum; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspGetOnlineinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspGetOnlineinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberNum; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_visitorNum; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspGetOnlineinfo::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqNtfModifytribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_NTF_MODIFYTRIBE; - m_scsHead.PackData(strData); -} - -void CTbscReqNtfModifytribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_itemList.size(); - (*this) << nLen; - VECTOR< SModifyItem >::const_iterator itr; - for(itr = m_itemList.cbegin(); itr != m_itemList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqNtfModifytribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqNtfModifytribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_itemList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SModifyItem tmpVal; - (*this) >> tmpVal; - m_itemList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqNtfModifytribe::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspNtfModifytribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_NTF_MODIFYTRIBE; - m_scsHead.PackData(strData); -} - -void CTbscRspNtfModifytribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_itemList.size(); - (*this) << nLen; - VECTOR< SModifyItem >::const_iterator itr; - for(itr = m_itemList.cbegin(); itr != m_itemList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspNtfModifytribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspNtfModifytribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_itemList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SModifyItem tmpVal; - (*this) >> tmpVal; - m_itemList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspNtfModifytribe::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqGetTribemember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_GET_TRIBEMEMBER; - m_scsHead.PackData(strData); -} - -void CTbscReqGetTribemember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqGetTribemember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqGetTribemember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqGetTribemember::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspGetTribemember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_GET_TRIBEMEMBER; - m_scsHead.PackData(strData); -} - -void CTbscRspGetTribemember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_memberList.size(); - (*this) << nLen; - VECTOR< STmInfo >::const_iterator itr; - for(itr = m_memberList.cbegin(); itr != m_memberList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspGetTribemember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspGetTribemember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_memberList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STmInfo tmpVal; - (*this) >> tmpVal; - m_memberList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspGetTribemember::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqGetMemberinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_GET_MEMBERINFO; - m_scsHead.PackData(strData); -} - -void CTbscReqGetMemberinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqGetMemberinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqGetMemberinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqGetMemberinfo::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspGetMemberinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_GET_MEMBERINFO; - m_scsHead.PackData(strData); -} - -void CTbscRspGetMemberinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRUCT; - (*this) << m_memberInfo; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspGetMemberinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspGetMemberinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberInfo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspGetMemberinfo::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqGetTribemanager::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_GET_TRIBEMANAGER; - m_scsHead.PackData(strData); -} - -void CTbscReqGetTribemanager::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqGetTribemanager::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqGetTribemanager::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqGetTribemanager::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspGetTribemanager::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_GET_TRIBEMANAGER; - m_scsHead.PackData(strData); -} - -void CTbscRspGetTribemanager::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_managerList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_managerList.cbegin(); itr != m_managerList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspGetTribemanager::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspGetTribemanager::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_managerList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_managerList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspGetTribemanager::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqGetUsertribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_GET_USERTRIBE; - m_scsHead.PackData(strData); -} - -void CTbscReqGetUsertribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_userId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqGetUsertribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqGetUsertribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqGetUsertribe::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspGetUsertribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_GET_USERTRIBE; - m_scsHead.PackData(strData); -} - -void CTbscRspGetUsertribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tribeList.size(); - (*this) << nLen; - VECTOR< STribeId >::const_iterator itr; - for(itr = m_tribeList.cbegin(); itr != m_tribeList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspGetUsertribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspGetUsertribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeId tmpVal; - (*this) >> tmpVal; - m_tribeList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspGetUsertribe::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqSendTribemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_SEND_TRIBEMSG; - m_scsHead.PackData(strData); -} - -void CTbscReqSendTribemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_UINT8; - (*this) << m_msgType; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqSendTribemsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqSendTribemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgType; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqSendTribemsg::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspSendTribemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_SEND_TRIBEMSG; - m_scsHead.PackData(strData); -} - -void CTbscRspSendTribemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_UINT8; - (*this) << m_msgType; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspSendTribemsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspSendTribemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgType; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspSendTribemsg::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqGetTribeinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_GET_TRIBEINFO; - m_scsHead.PackData(strData); -} - -void CTbscReqGetTribeinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqGetTribeinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqGetTribeinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqGetTribeinfo::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspGetTribeinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_GET_TRIBEINFO; - m_scsHead.PackData(strData); -} - -void CTbscRspGetTribeinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRUCT; - (*this) << m_tribeInfo; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspGetTribeinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspGetTribeinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeInfo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspGetTribeinfo::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqGetActlevel::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_GET_ACTLEVEL; - m_scsHead.PackData(strData); -} - -void CTbscReqGetActlevel::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqGetActlevel::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqGetActlevel::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqGetActlevel::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspGetActlevel::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_GET_ACTLEVEL; - m_scsHead.PackData(strData); -} - -void CTbscRspGetActlevel::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT32; - (*this) << m_activeLevel; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspGetActlevel::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspGetActlevel::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_activeLevel; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspGetActlevel::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqUnloadtribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_UNLOADTRIBE; - m_scsHead.PackData(strData); -} - -void CTbscReqUnloadtribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqUnloadtribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqUnloadtribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqUnloadtribe::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspUnloadtribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_UNLOADTRIBE; - m_scsHead.PackData(strData); -} - -void CTbscRspUnloadtribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspUnloadtribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspUnloadtribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspUnloadtribe::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqActiveUser::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_ACTIVE_USER; - m_scsHead.PackData(strData); -} - -void CTbscReqActiveUser::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_webUid; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_tribeList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_tribeList.cbegin(); itr != m_tribeList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqActiveUser::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqActiveUser::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_webUid; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_tribeList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqActiveUser::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspActiveUser::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_ACTIVE_USER; - m_scsHead.PackData(strData); -} - -void CTbscRspActiveUser::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_webUid; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_tribeList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_tribeList.cbegin(); itr != m_tribeList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspActiveUser::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspActiveUser::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_webUid; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_tribeList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspActiveUser::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqDisactiveUser::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_DISACTIVE_USER; - m_scsHead.PackData(strData); -} - -void CTbscReqDisactiveUser::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_webUid; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_tribeList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_tribeList.cbegin(); itr != m_tribeList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqDisactiveUser::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqDisactiveUser::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_webUid; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_tribeList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqDisactiveUser::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspDisactiveUser::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_DISACTIVE_USER; - m_scsHead.PackData(strData); -} - -void CTbscRspDisactiveUser::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_webUid; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_tribeList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_tribeList.cbegin(); itr != m_tribeList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspDisactiveUser::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspDisactiveUser::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_webUid; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_tribeList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspDisactiveUser::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqStopTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_STOP_TRIBE; - m_scsHead.PackData(strData); -} - -void CTbscReqStopTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqStopTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqStopTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqStopTribe::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspStopTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_STOP_TRIBE; - m_scsHead.PackData(strData); -} - -void CTbscRspStopTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspStopTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspStopTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspStopTribe::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqModifyTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_MODIFY_TRIBE; - m_scsHead.PackData(strData); -} - -void CTbscReqModifyTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_items.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqModifyTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqModifyTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_items[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqModifyTribe::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspModifyTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_MODIFY_TRIBE; - m_scsHead.PackData(strData); -} - -void CTbscRspModifyTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_items.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspModifyTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspModifyTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_items[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspModifyTribe::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqAddTribeMember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_ADD_TRIBE_MEMBER; - m_scsHead.PackData(strData); -} - -void CTbscReqAddTribeMember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_tribeLevel; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_name; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqAddTribeMember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqAddTribeMember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeLevel; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_name; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqAddTribeMember::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspAddTribeMember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_ADD_TRIBE_MEMBER; - m_scsHead.PackData(strData); -} - -void CTbscRspAddTribeMember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_tribeLevel; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_name; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspAddTribeMember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspAddTribeMember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeLevel; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_name; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspAddTribeMember::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqDelTribeMember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_DEL_TRIBE_MEMBER; - m_scsHead.PackData(strData); -} - -void CTbscReqDelTribeMember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_tribeLevel; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_operId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqDelTribeMember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqDelTribeMember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeLevel; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_operId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqDelTribeMember::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspDelTribeMember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_DEL_TRIBE_MEMBER; - m_scsHead.PackData(strData); -} - -void CTbscRspDelTribeMember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_tribeLevel; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_operId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspDelTribeMember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspDelTribeMember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeLevel; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_operId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspDelTribeMember::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqQuitTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_QUIT_TRIBE; - m_scsHead.PackData(strData); -} - -void CTbscReqQuitTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_tribeLevel; - (*this) << FT_STRING; - (*this) << m_userId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqQuitTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqQuitTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeLevel; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqQuitTribe::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspQuitTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_QUIT_TRIBE; - m_scsHead.PackData(strData); -} - -void CTbscRspQuitTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspQuitTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspQuitTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspQuitTribe::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/.svn/text-base/tgsstrc_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/tgsstrc_pack.cpp.svn-base deleted file mode 100644 index 9792e69..0000000 --- a/features/aliww/source/.svn/text-base/tgsstrc_pack.cpp.svn-base +++ /dev/null @@ -1,39 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tgsstrc_pack.cpp -// Date: 2011-01-30 12:49:42 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "tgsstrc_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SModifyItem& sModifyItem ) -{ - uint8_t nFieldNum = 2; - cPackData << nFieldNum; - cPackData << FT_UINT8; - cPackData << sModifyItem.m_id; - cPackData << FT_STRING; - cPackData << sModifyItem.m_content; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SModifyItem& sModifyItem ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sModifyItem.m_id; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sModifyItem.m_content; - for(int i = 2; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - diff --git a/features/aliww/source/.svn/text-base/tmpsession.cpp.svn-base b/features/aliww/source/.svn/text-base/tmpsession.cpp.svn-base deleted file mode 100644 index ac737c4..0000000 --- a/features/aliww/source/.svn/text-base/tmpsession.cpp.svn-base +++ /dev/null @@ -1,586 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `tmpsession.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__TmpSessionMgr__getUserSession_name = "getUserSession"; - -static const ::std::string __AliIM__TmpSessionMgr__checkUserSession_name = "checkUserSession"; - -void -IceInternal::incRef(::AliIM::TmpSessionMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::TmpSessionMgr* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::TmpSessionMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::TmpSessionMgr* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::TmpSessionMgrPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::TmpSessionMgrPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::TmpSessionMgr; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::TmpSessionMgrPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIM::__addObject(const TmpSessionMgrPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const TmpSessionMgrPtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const TmpSessionMgrPtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(TmpSessionMgrPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::TmpSessionMgr::getUserSession(const ::std::string& uid, ::std::string& sessionNo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__TmpSessionMgr__getUserSession_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::TmpSessionMgr* __del = dynamic_cast< ::IceDelegate::AliIM::TmpSessionMgr*>(__delBase.get()); - return __del->getUserSession(uid, sessionNo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::TmpSessionMgr::checkUserSession(const ::std::string& uid, const ::std::string& sessionNo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__TmpSessionMgr__checkUserSession_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::TmpSessionMgr* __del = dynamic_cast< ::IceDelegate::AliIM::TmpSessionMgr*>(__delBase.get()); - return __del->checkUserSession(uid, sessionNo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::TmpSessionMgr::ice_staticId() -{ - return ::AliIM::TmpSessionMgr::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::TmpSessionMgr::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::TmpSessionMgr); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::TmpSessionMgr::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::TmpSessionMgr); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::TmpSessionMgr& l, const ::IceProxy::AliIM::TmpSessionMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::TmpSessionMgr& l, const ::IceProxy::AliIM::TmpSessionMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::TmpSessionMgr& l, const ::IceProxy::AliIM::TmpSessionMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::TmpSessionMgr& l, const ::IceProxy::AliIM::TmpSessionMgr& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::TmpSessionMgr& l, const ::IceProxy::AliIM::TmpSessionMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::TmpSessionMgr& l, const ::IceProxy::AliIM::TmpSessionMgr& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::TmpSessionMgr::getUserSession(const ::std::string& uid, ::std::string& sessionNo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__TmpSessionMgr__getUserSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(sessionNo); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::TmpSessionMgr::checkUserSession(const ::std::string& uid, const ::std::string& sessionNo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__TmpSessionMgr__checkUserSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(sessionNo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::TmpSessionMgr::getUserSession(const ::std::string& uid, ::std::string& sessionNo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__TmpSessionMgr__getUserSession_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::TmpSessionMgr* __servant = dynamic_cast< ::AliIM::TmpSessionMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserSession(uid, sessionNo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::TmpSessionMgr::checkUserSession(const ::std::string& uid, const ::std::string& sessionNo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__TmpSessionMgr__checkUserSession_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::TmpSessionMgr* __servant = dynamic_cast< ::AliIM::TmpSessionMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkUserSession(uid, sessionNo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::TmpSessionMgr::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__TmpSessionMgr_ids[2] = -{ - "::AliIM::TmpSessionMgr", - "::Ice::Object" -}; - -bool -AliIM::TmpSessionMgr::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__TmpSessionMgr_ids, __AliIM__TmpSessionMgr_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::TmpSessionMgr::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__TmpSessionMgr_ids[0], &__AliIM__TmpSessionMgr_ids[2]); -} - -const ::std::string& -AliIM::TmpSessionMgr::ice_id(const ::Ice::Current&) const -{ - return __AliIM__TmpSessionMgr_ids[0]; -} - -const ::std::string& -AliIM::TmpSessionMgr::ice_staticId() -{ - return __AliIM__TmpSessionMgr_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::TmpSessionMgr::___getUserSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::std::string sessionNo; - ::Ice::Int __ret = getUserSession(uid, sessionNo, __current); - __os->write(sessionNo); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::TmpSessionMgr::___checkUserSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string sessionNo; - __is->read(uid); - __is->read(sessionNo); - ::Ice::Int __ret = checkUserSession(uid, sessionNo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__TmpSessionMgr_all[] = -{ - "checkUserSession", - "getUserSession", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -AliIM::TmpSessionMgr::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__TmpSessionMgr_all, __AliIM__TmpSessionMgr_all + 6, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__TmpSessionMgr_all) - { - case 0: - { - return ___checkUserSession(in, current); - } - case 1: - { - return ___getUserSession(in, current); - } - case 2: - { - return ___ice_id(in, current); - } - case 3: - { - return ___ice_ids(in, current); - } - case 4: - { - return ___ice_isA(in, current); - } - case 5: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::TmpSessionMgr::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::TmpSessionMgr::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::TmpSessionMgr::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::TmpSessionMgr was not generated with stream support"; - throw ex; -} - -void -AliIM::TmpSessionMgr::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::TmpSessionMgr was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__TmpSessionMgrPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::TmpSessionMgrPtr* p = static_cast< ::AliIM::TmpSessionMgrPtr*>(__addr); - assert(p); - *p = ::AliIM::TmpSessionMgrPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::TmpSessionMgr::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::TmpSessionMgr& l, const ::AliIM::TmpSessionMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::TmpSessionMgr& l, const ::AliIM::TmpSessionMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::TmpSessionMgr& l, const ::AliIM::TmpSessionMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::TmpSessionMgr& l, const ::AliIM::TmpSessionMgr& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::TmpSessionMgr& l, const ::AliIM::TmpSessionMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::TmpSessionMgr& l, const ::AliIM::TmpSessionMgr& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/tpfs_pack.cpp.svn-base b/features/aliww/source/.svn/text-base/tpfs_pack.cpp.svn-base deleted file mode 100644 index 9c68240..0000000 --- a/features/aliww/source/.svn/text-base/tpfs_pack.cpp.svn-base +++ /dev/null @@ -1,2633 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tpfs_pack.cpp -// Date: 2011-03-09 14:14:03 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "tpfs_pack.h" - -void CImReqChatChkver::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHAT_CHKVER; - m_scHead.PackData(strData); -} - -void CImReqChatChkver::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_version; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChatChkver::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChatChkver::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChatChkver::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChatChkver::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHAT_CHKVER; - m_scHead.PackData(strData); -} - -void CImRspChatChkver::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_remark; - (*this) << FT_UINT32; - (*this) << m_connectNo; - (*this) << FT_STRING; - (*this) << m_pubkey; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChatChkver::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChatChkver::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_connectNo; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_pubkey; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChatChkver::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChatPreidentify::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHAT_PREIDENTIFY; - m_scHead.PackData(strData); -} - -void CImReqChatPreidentify::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_connectNo; - (*this) << FT_STRING; - (*this) << m_workKey; - (*this) << FT_STRING; - (*this) << m_strlogin; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChatPreidentify::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChatPreidentify::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_connectNo; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_workKey; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_strlogin; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChatPreidentify::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChatIdentify::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHAT_IDENTIFY; - m_scHead.PackData(strData); -} - -void CImReqChatIdentify::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_STRING; - (*this) << m_sessionkey; - (*this) << FT_STRING; - (*this) << m_version; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChatIdentify::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChatIdentify::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionkey; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChatIdentify::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChatIdentify::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHAT_IDENTIFY; - m_scHead.PackData(strData); -} - -void CImRspChatIdentify::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_version; - (*this) << FT_UINT16; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_msg; - (*this) << FT_STRING; - (*this) << m_sessionid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChatIdentify::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChatIdentify::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msg; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChatIdentify::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChatClose::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHAT_CLOSE; - m_scHead.PackData(strData); -} - -void CImReqChatClose::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_sessionid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChatClose::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChatClose::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChatClose::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChatClose::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHAT_CLOSE; - m_scHead.PackData(strData); -} - -void CImRspChatClose::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_UINT16; - (*this) << m_type; - (*this) << FT_UINT16; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_msg; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChatClose::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChatClose::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msg; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChatClose::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SCchatindexid& sCchatindexid ) -{ - uint8_t nFieldNum = 5; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sCchatindexid.m_userid; - cPackData << FT_STRING; - cPackData << sCchatindexid.m_peeruid; - cPackData << FT_UINT64; - cPackData << sCchatindexid.m_tm; - cPackData << FT_UINT64; - cPackData << sCchatindexid.m_seq; - cPackData << FT_UINT8; - cPackData << sCchatindexid.m_dir; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SCchatindexid& sCchatindexid ) -{ - uint8_t num; - cPackData >> num; - if(num < 5) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sCchatindexid.m_userid; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sCchatindexid.m_peeruid; - cPackData >> field; - if(field.m_baseType != FT_UINT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sCchatindexid.m_tm; - cPackData >> field; - if(field.m_baseType != FT_UINT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sCchatindexid.m_seq; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sCchatindexid.m_dir; - for(int i = 5; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImReqChatDeltext::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHAT_DELTEXT; - m_scHead.PackData(strData); -} - -void CImReqChatDeltext::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_keyseq.size(); - (*this) << nLen; - VECTOR< SCchatindexid >::const_iterator itr; - for(itr = m_keyseq.cbegin(); itr != m_keyseq.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChatDeltext::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChatDeltext::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_keyseq.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SCchatindexid tmpVal; - (*this) >> tmpVal; - m_keyseq.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChatDeltext::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChatDeltext::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHAT_DELTEXT; - m_scHead.PackData(strData); -} - -void CImRspChatDeltext::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_keyseq.size(); - (*this) << nLen; - VECTOR< SCchatindexid >::const_iterator itr; - for(itr = m_keyseq.cbegin(); itr != m_keyseq.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT16; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_msg; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChatDeltext::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChatDeltext::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_keyseq.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SCchatindexid tmpVal; - (*this) >> tmpVal; - m_keyseq.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msg; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChatDeltext::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChatGettxt::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHAT_GETTXT; - m_scHead.PackData(strData); -} - -void CImReqChatGettxt::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)8; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_STRING; - (*this) << m_fromid; - (*this) << FT_STRING; - (*this) << m_toid; - (*this) << FT_UINT64; - (*this) << m_begtime; - (*this) << FT_UINT64; - (*this) << m_endtime; - (*this) << FT_UINT64; - (*this) << m_minbegtime; - (*this) << FT_UINT32; - (*this) << m_msgnum; - (*this) << FT_UINT8; - (*this) << m_getall; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChatGettxt::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChatGettxt::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 8) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_toid; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_begtime; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_endtime; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_minbegtime; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgnum; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_getall; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChatGettxt::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const STextlogitem& sTextlogitem ) -{ - uint8_t nFieldNum = 4; - cPackData << nFieldNum; - cPackData << FT_UINT8; - cPackData << sTextlogitem.m_dir; - cPackData << FT_UINT64; - cPackData << sTextlogitem.m_seq; - cPackData << FT_UINT64; - cPackData << sTextlogitem.m_tm; - cPackData << FT_STRING; - cPackData << sTextlogitem.m_msg; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, STextlogitem& sTextlogitem ) -{ - uint8_t num; - cPackData >> num; - if(num < 4) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTextlogitem.m_dir; - cPackData >> field; - if(field.m_baseType != FT_UINT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTextlogitem.m_seq; - cPackData >> field; - if(field.m_baseType != FT_UINT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTextlogitem.m_tm; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTextlogitem.m_msg; - for(int i = 4; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImRspChatGettxt::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHAT_GETTXT; - m_scHead.PackData(strData); -} - -void CImRspChatGettxt::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)11; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_STRING; - (*this) << m_fromid; - (*this) << FT_STRING; - (*this) << m_toid; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_msgseq.size(); - (*this) << nLen; - VECTOR< STextlogitem >::const_iterator itr; - for(itr = m_msgseq.cbegin(); itr != m_msgseq.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT64; - (*this) << m_newbegtime; - (*this) << FT_UINT64; - (*this) << m_newendtime; - (*this) << FT_UINT64; - (*this) << m_nextbegtime; - (*this) << FT_UINT8; - (*this) << m_getall; - (*this) << FT_UINT8; - (*this) << m_islast; - (*this) << FT_UINT16; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_msg; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChatGettxt::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChatGettxt::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 11) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_toid; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_msgseq.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STextlogitem tmpVal; - (*this) >> tmpVal; - m_msgseq.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_newbegtime; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_newendtime; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_nextbegtime; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_getall; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_islast; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msg; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChatGettxt::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChatSettxt::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHAT_SETTXT; - m_scHead.PackData(strData); -} - -void CImReqChatSettxt::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)7; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_STRING; - (*this) << m_fromid; - (*this) << FT_STRING; - (*this) << m_toid; - (*this) << FT_UINT64; - (*this) << m_tm; - (*this) << FT_UINT64; - (*this) << m_seq; - (*this) << FT_UINT8; - (*this) << m_dir; - (*this) << FT_STRING; - (*this) << m_chatmsg; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChatSettxt::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChatSettxt::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 7) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_toid; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tm; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_seq; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_dir; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_chatmsg; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChatSettxt::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChatSettxt::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHAT_SETTXT; - m_scHead.PackData(strData); -} - -void CImRspChatSettxt::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)8; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_STRING; - (*this) << m_fromid; - (*this) << FT_STRING; - (*this) << m_toid; - (*this) << FT_UINT64; - (*this) << m_tm; - (*this) << FT_UINT64; - (*this) << m_seq; - (*this) << FT_UINT8; - (*this) << m_dir; - (*this) << FT_UINT16; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_msg; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChatSettxt::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChatSettxt::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 8) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_toid; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tm; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_seq; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_dir; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msg; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChatSettxt::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChatQuerypics::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHAT_QUERYPICS; - m_scHead.PackData(strData); -} - -void CImReqChatQuerypics::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_filenameseq.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_filenameseq.cbegin(); itr != m_filenameseq.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChatQuerypics::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChatQuerypics::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_filenameseq.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_filenameseq.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChatQuerypics::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SKeypicseqidex& sKeypicseqidex ) -{ - uint8_t nFieldNum = 2; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sKeypicseqidex.m_key; - cPackData << FT_UINT8; - cPackData << sKeypicseqidex.m_code; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SKeypicseqidex& sKeypicseqidex ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sKeypicseqidex.m_key; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sKeypicseqidex.m_code; - for(int i = 2; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImRspChatQuerypics::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHAT_QUERYPICS; - m_scHead.PackData(strData); -} - -void CImRspChatQuerypics::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_filenameseq.size(); - (*this) << nLen; - VECTOR< SKeypicseqidex >::const_iterator itr; - for(itr = m_filenameseq.cbegin(); itr != m_filenameseq.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT16; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_msg; - (*this) << FT_UINT8; - (*this) << m_islast; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChatQuerypics::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChatQuerypics::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_filenameseq.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SKeypicseqidex tmpVal; - (*this) >> tmpVal; - m_filenameseq.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msg; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_islast; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChatQuerypics::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChatPutpic::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHAT_PUTPIC; - m_scHead.PackData(strData); -} - -void CImReqChatPutpic::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_STRING; - (*this) << m_pickey; - (*this) << FT_STRING; - (*this) << m_data; - (*this) << FT_UINT64; - (*this) << m_size; - (*this) << FT_UINT64; - (*this) << m_offset; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChatPutpic::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChatPutpic::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_pickey; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_data; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_size; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_offset; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChatPutpic::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChatPutpic::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHAT_PUTPIC; - m_scHead.PackData(strData); -} - -void CImRspChatPutpic::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_STRING; - (*this) << m_pickey; - (*this) << FT_UINT64; - (*this) << m_size; - (*this) << FT_UINT64; - (*this) << m_offset; - (*this) << FT_UINT16; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_msg; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChatPutpic::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChatPutpic::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 6) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_pickey; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_size; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_offset; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msg; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChatPutpic::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SKeypicseq& sKeypicseq ) -{ - uint8_t nFieldNum = 2; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sKeypicseq.m_key; - cPackData << FT_STRING; - cPackData << sKeypicseq.m_content; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SKeypicseq& sKeypicseq ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sKeypicseq.m_key; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sKeypicseq.m_content; - for(int i = 2; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImReqChatGetpic::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHAT_GETPIC; - m_scHead.PackData(strData); -} - -void CImReqChatGetpic::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_STRING; - (*this) << m_pickey; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChatGetpic::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChatGetpic::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_pickey; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChatGetpic::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChatGetpic::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHAT_GETPIC; - m_scHead.PackData(strData); -} - -void CImRspChatGetpic::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)7; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_STRING; - (*this) << m_pickey; - (*this) << FT_STRING; - (*this) << m_data; - (*this) << FT_UINT64; - (*this) << m_size; - (*this) << FT_UINT64; - (*this) << m_offset; - (*this) << FT_UINT16; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_msg; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChatGetpic::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChatGetpic::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 7) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_pickey; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_data; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_size; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_offset; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msg; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChatGetpic::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChatGetcal::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHAT_GETCAL; - m_scHead.PackData(strData); -} - -void CImReqChatGetcal::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_STRING; - (*this) << m_toid; - (*this) << FT_STRING; - (*this) << m_startdate; - (*this) << FT_STRING; - (*this) << m_enddate; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChatGetcal::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChatGetcal::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_toid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_startdate; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_enddate; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChatGetcal::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChatGetcal::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHAT_GETCAL; - m_scHead.PackData(strData); -} - -void CImRspChatGetcal::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_STRING; - (*this) << m_toid; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_dateseq.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_dateseq.cbegin(); itr != m_dateseq.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT16; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_msg; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChatGetcal::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChatGetcal::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 6) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_toid; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_dateseq.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_dateseq.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msg; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChatGetcal::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - diff --git a/features/aliww/source/.svn/text-base/tpfs_perf_test.cpp.svn-base b/features/aliww/source/.svn/text-base/tpfs_perf_test.cpp.svn-base deleted file mode 100644 index 84f9ba2..0000000 --- a/features/aliww/source/.svn/text-base/tpfs_perf_test.cpp.svn-base +++ /dev/null @@ -1,240 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: get_bind_list.cpp - * - * Description: - * - * Version: 1.0 - * Created: 2011å¹´01月07æ—¥ 15æ—¶53分02秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ -#include "cbenchmark.h" -#include "paramutil.h" -#include "CWWSimulator.h" -#include "script_consts.h" -#include "tpfs_perf_test.h" -#include -using namespace std; - -/* - TPFS性能测试的时候由于数æ®ä¸å……足的缘故, - 需è¦ç»•è¿‡IMS登录环节 - 所以需è¦ä½¿ç”¨å­—符串"AAATESTSESSIONKEY"作为sessionno - 辛树mock -*/ - -void *tpfs_init(void* p) -{ - srand(time(0)); - - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - create_transaction(pVuser,"TPFS"); - - CWWSimulator *pWW = new (CWWSimulator); - pVuser->verb = pWW; - - string imServerIP = "10.249.199.124"; - uint16_t port = 16000; - string tpfsIP = "10.249.197.17"; - //string tpfsIP = "10.220.2.17"; - uint16_t tpfs_port = 16000; - char fromid[64]; - snprintf(fromid,64,"cnalichnabc%dx%dx%d",get_vuser_group(pVuser),get_vuser_id(pVuser),get_vuser_ite(pVuser)); - string password = "system"; - string username(fromid); -/* - char *tmp = select_param_ex(pVuser); - int comaidx = index(tmp,','); - char *uname = strndup(tmp,comaidx); - char *pword = strndup(tmp+comaidx,strlen(tmp)-i); - string username(uname); - string password(pword); -*/ - pWW->SetServerIP(imServerIP, port); - pWW->SetTpfsIP(tpfsIP, tpfs_port); - pWW->SetStatus(TOKEN_FLAG, DEFAULT_LOGINSTAT); - pWW->SetClient(DEFAULT_CLIENTVERSION, DEFAULT_CLIENTLANGUAGE); - pWW->SetUser(username,password); - - - string session= "AAATESTSESSIONKEY"; - - int con_count = 0; - while(!pWW->m_bIsConnected) - { - pWW->SetSessionNo(session); - pWW->ConnectTpfs(); - sleep(2); - if(con_count++ > 5){ - printf("Dangerous!!! Already connect %d times.\n",con_count); - } - } - - string msg; - if(pWW->chatPidfy(msg) != 0) - fail_transactionEx(pVuser,"TPFS",(char*)msg.c_str()); -} - -void *tpfs_act(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); -} -#define CHECK_CONN(__conected,__pVuser,__fun) \ - if(!__conected) \ - { \ - printf("act but not connected.\n"); \ - fail_transactionEx(__pVuser,(char *)__fun,"connect failed"); \ - return NULL; \ - } - -void *tpfs_getcal(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - CHECK_CONN(pWW->m_bIsConnected,pVuser,__FUNCTION__); - - const char* fromid = pWW->m_username.c_str(); - char toid[64]; - snprintf(toid,64,"cnalichnabc%dx%dx%d",get_vuser_group(pVuser),get_vuser_id(pVuser),1); - char* startDate = "20100201"; - char* endDate = "20110330"; - string msg; - if(pWW->chatGetcal(fromid,toid,startDate,endDate,msg) != 0) - fail_transactionEx(pVuser,"TPFS",(char *)msg.c_str()); - else - success_transaction(pVuser,"TPFS"); -} - -void *tpfs_gettext(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - CHECK_CONN(pWW->m_bIsConnected,pVuser,__FUNCTION__); - - char toid[256]; - string msg; - sprintf(toid, "cnalichnabc%dx%dx%d",get_vuser_group(pVuser),get_vuser_id(pVuser),1); - if(pWW->chatGettxt(pWW->m_username.c_str(),toid,time(0) - 100000,time(0),msg) != 0) - fail_transactionEx(pVuser,"TPFS",(char *)msg.c_str()); - else - success_transaction(pVuser,"TPFS"); -} - -void *tpfs_getpic(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - CHECK_CONN(pWW->m_bIsConnected,pVuser,__FUNCTION__); - - char picName[256] = {0}; - sprintf(picName, "ddc2ebff36f65292ce646a5831823e9d_1%d%d%d",get_vuser_group(pVuser),get_vuser_id(pVuser),get_vuser_ite(pVuser)); - - string msg; - int ret = pWW->chatGetpic(picName,msg); - if(ret != 0 && ret != 8091) - fail_transaction(pVuser,"TPFS"); - else - success_transaction(pVuser,"TPFS"); -} - -void *tpfs_putpic(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - CHECK_CONN(pWW->m_bIsConnected,pVuser,__FUNCTION__); - - long picSize = 40*1024 + rand()%10000; - char *content = (char *)malloc(picSize*sizeof(char) + 1); - char e = (char)rand()%254+1; - - memset(content,e,picSize); - content[picSize] = '\0'; - - string msg=""; - int ret=pWW->chatPutpic(content, msg); - free(content); - - if(ret != 0) - fail_transactionEx(pVuser,"TPFS",(char *)msg.c_str()); - else - success_transaction(pVuser,"TPFS"); - - return NULL; -} - -void *tpfs_putgetpic(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - CHECK_CONN(pWW->m_bIsConnected,pVuser,__FUNCTION__); - - long picSize = 40*1024 + rand()%10000; - char *content = (char *)malloc(picSize*sizeof(char) + 1); - char e = (char)rand()%254+1; - memset(content,e,picSize); - content[picSize] = '\0'; - string spicData(content); - char cpicName[256] = {0}; - sprintf(cpicName,"%s_%d",Md5Hash::GetMD5(spicData).c_str(),picSize); - - string msg; - //int ret = pWW->chatPutpic(spicData, msg); - int ret = pWW->chatPutpic(content, msg); - free(content); - - if(ret != 0) - { - fail_transactionEx(pVuser,"TPFS",(char *)msg.c_str()); - return NULL; - } - ret = pWW->chatGetpic(cpicName, msg); - if(ret != 0 && ret != 8091) - { - fail_transactionEx(pVuser,"TPFS",(char *)msg.c_str()); - } - else - success_transactionEx(pVuser,"TPFS","chatPutGetpic succ."); - return NULL; -} - -void *tpfs_end(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - //pWW->Detach(); -} - - - - - - - - - - - - - - - - - - - - - diff --git a/features/aliww/source/.svn/text-base/tradeCache.cpp.svn-base b/features/aliww/source/.svn/text-base/tradeCache.cpp.svn-base deleted file mode 100644 index ae68d80..0000000 --- a/features/aliww/source/.svn/text-base/tradeCache.cpp.svn-base +++ /dev/null @@ -1,586 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `tradeCache.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__TradeCache__checkTrade_name = "checkTrade"; - -static const ::std::string __AliIM__TradeCache__addTrade_name = "addTrade"; - -void -IceInternal::incRef(::AliIM::TradeCache* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::TradeCache* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::TradeCache* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::TradeCache* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::TradeCachePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::TradeCachePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::TradeCache; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::TradeCachePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIM::__addObject(const TradeCachePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const TradeCachePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const TradeCachePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(TradeCachePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::TradeCache::checkTrade(const ::std::string& uid1, const ::std::string& uid2, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__TradeCache__checkTrade_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::TradeCache* __del = dynamic_cast< ::IceDelegate::AliIM::TradeCache*>(__delBase.get()); - return __del->checkTrade(uid1, uid2, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::TradeCache::addTrade(const ::std::string& uid1, const ::std::string& uid2, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__TradeCache__addTrade_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::TradeCache* __del = dynamic_cast< ::IceDelegate::AliIM::TradeCache*>(__delBase.get()); - return __del->addTrade(uid1, uid2, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::TradeCache::ice_staticId() -{ - return ::AliIM::TradeCache::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::TradeCache::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::TradeCache); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::TradeCache::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::TradeCache); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::TradeCache& l, const ::IceProxy::AliIM::TradeCache& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::TradeCache& l, const ::IceProxy::AliIM::TradeCache& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::TradeCache& l, const ::IceProxy::AliIM::TradeCache& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::TradeCache& l, const ::IceProxy::AliIM::TradeCache& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::TradeCache& l, const ::IceProxy::AliIM::TradeCache& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::TradeCache& l, const ::IceProxy::AliIM::TradeCache& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::TradeCache::checkTrade(const ::std::string& uid1, const ::std::string& uid2, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__TradeCache__checkTrade_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid1); - __os->write(uid2); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::TradeCache::addTrade(const ::std::string& uid1, const ::std::string& uid2, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__TradeCache__addTrade_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid1); - __os->write(uid2); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::TradeCache::checkTrade(const ::std::string& uid1, const ::std::string& uid2, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__TradeCache__checkTrade_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::TradeCache* __servant = dynamic_cast< ::AliIM::TradeCache*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkTrade(uid1, uid2, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::TradeCache::addTrade(const ::std::string& uid1, const ::std::string& uid2, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__TradeCache__addTrade_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::TradeCache* __servant = dynamic_cast< ::AliIM::TradeCache*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->addTrade(uid1, uid2, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::TradeCache::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__TradeCache_ids[2] = -{ - "::AliIM::TradeCache", - "::Ice::Object" -}; - -bool -AliIM::TradeCache::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__TradeCache_ids, __AliIM__TradeCache_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::TradeCache::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__TradeCache_ids[0], &__AliIM__TradeCache_ids[2]); -} - -const ::std::string& -AliIM::TradeCache::ice_id(const ::Ice::Current&) const -{ - return __AliIM__TradeCache_ids[0]; -} - -const ::std::string& -AliIM::TradeCache::ice_staticId() -{ - return __AliIM__TradeCache_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::TradeCache::___checkTrade(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid1; - ::std::string uid2; - __is->read(uid1); - __is->read(uid2); - ::Ice::Int __ret = checkTrade(uid1, uid2, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::TradeCache::___addTrade(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid1; - ::std::string uid2; - __is->read(uid1); - __is->read(uid2); - ::Ice::Int __ret = addTrade(uid1, uid2, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__TradeCache_all[] = -{ - "addTrade", - "checkTrade", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -AliIM::TradeCache::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__TradeCache_all, __AliIM__TradeCache_all + 6, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__TradeCache_all) - { - case 0: - { - return ___addTrade(in, current); - } - case 1: - { - return ___checkTrade(in, current); - } - case 2: - { - return ___ice_id(in, current); - } - case 3: - { - return ___ice_ids(in, current); - } - case 4: - { - return ___ice_isA(in, current); - } - case 5: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::TradeCache::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::TradeCache::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::TradeCache::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::TradeCache was not generated with stream support"; - throw ex; -} - -void -AliIM::TradeCache::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::TradeCache was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__TradeCachePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::TradeCachePtr* p = static_cast< ::AliIM::TradeCachePtr*>(__addr); - assert(p); - *p = ::AliIM::TradeCachePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::TradeCache::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::TradeCache& l, const ::AliIM::TradeCache& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::TradeCache& l, const ::AliIM::TradeCache& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::TradeCache& l, const ::AliIM::TradeCache& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::TradeCache& l, const ::AliIM::TradeCache& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::TradeCache& l, const ::AliIM::TradeCache& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::TradeCache& l, const ::AliIM::TradeCache& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/udbservice.cpp.svn-base b/features/aliww/source/.svn/text-base/udbservice.cpp.svn-base deleted file mode 100644 index 1867868..0000000 --- a/features/aliww/source/.svn/text-base/udbservice.cpp.svn-base +++ /dev/null @@ -1,1170 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `udbservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliICEUDB__IUDBService__validateUDBUser_name = "validateUDBUser"; - -static const ::std::string __AliICEUDB__IUDBInfo__addUserProfile_name = "addUserProfile"; - -static const ::std::string __AliICEUDB__IUDBInfo__getUserProfile_name = "getUserProfile"; - -static const ::std::string __AliICEUDB__IUDBInfo__updateUserProfile_name = "updateUserProfile"; - -void -IceInternal::incRef(::AliICEUDB::IUDBService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliICEUDB::IUDBService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliICEUDB::IUDBService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliICEUDB::IUDBService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::AliICEUDB::IUDBInfo* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliICEUDB::IUDBInfo* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliICEUDB::IUDBInfo* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliICEUDB::IUDBInfo* p) -{ - p->__decRef(); -} - -void -AliICEUDB::__write(::IceInternal::BasicStream* __os, const ::AliICEUDB::IUDBServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliICEUDB::__read(::IceInternal::BasicStream* __is, ::AliICEUDB::IUDBServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliICEUDB::IUDBService; - v->__copyFrom(proxy); - } -} - -void -AliICEUDB::__write(::IceInternal::BasicStream* __os, const ::AliICEUDB::IUDBServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliICEUDB::__write(::IceInternal::BasicStream* __os, const ::AliICEUDB::IUDBInfoPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliICEUDB::__read(::IceInternal::BasicStream* __is, ::AliICEUDB::IUDBInfoPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliICEUDB::IUDBInfo; - v->__copyFrom(proxy); - } -} - -void -AliICEUDB::__write(::IceInternal::BasicStream* __os, const ::AliICEUDB::IUDBInfoPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliICEUDB::__addObject(const IUDBServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliICEUDB::__usesClasses(const IUDBServicePtr& p) -{ - return p->__usesClasses(); -} - -void -AliICEUDB::__decRefUnsafe(const IUDBServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliICEUDB::__clearHandleUnsafe(IUDBServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -void -AliICEUDB::__write(::IceInternal::BasicStream* __os, const ::AliICEUDB::KVMap& v, ::AliICEUDB::__U__KVMap) -{ - __os->writeSize(::Ice::Int(v.size())); - ::AliICEUDB::KVMap::const_iterator p; - for(p = v.begin(); p != v.end(); ++p) - { - __os->write(p->first); - __os->write(p->second); - } -} - -void -AliICEUDB::__read(::IceInternal::BasicStream* __is, ::AliICEUDB::KVMap& v, ::AliICEUDB::__U__KVMap) -{ - ::Ice::Int sz; - __is->readSize(sz); - while(sz--) - { - ::std::pair pair; - __is->read(const_cast< ::std::string&>(pair.first)); - ::AliICEUDB::KVMap::iterator __i = v.insert(v.end(), pair); - __is->read(__i->second); - } -} - -void -AliICEUDB::__addObject(const IUDBInfoPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliICEUDB::__usesClasses(const IUDBInfoPtr& p) -{ - return p->__usesClasses(); -} - -void -AliICEUDB::__decRefUnsafe(const IUDBInfoPtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliICEUDB::__clearHandleUnsafe(IUDBInfoPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliICEUDB::IUDBService::validateUDBUser(const ::std::string& site, const ::std::string& siteid, const ::std::string& sitemd5pw, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliICEUDB__IUDBService__validateUDBUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliICEUDB::IUDBService* __del = dynamic_cast< ::IceDelegate::AliICEUDB::IUDBService*>(__delBase.get()); - return __del->validateUDBUser(site, siteid, sitemd5pw, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliICEUDB::IUDBService::ice_staticId() -{ - return ::AliICEUDB::IUDBService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliICEUDB::IUDBService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliICEUDB::IUDBService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliICEUDB::IUDBService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliICEUDB::IUDBService); -} - -bool -IceProxy::AliICEUDB::operator==(const ::IceProxy::AliICEUDB::IUDBService& l, const ::IceProxy::AliICEUDB::IUDBService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliICEUDB::operator!=(const ::IceProxy::AliICEUDB::IUDBService& l, const ::IceProxy::AliICEUDB::IUDBService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliICEUDB::operator<(const ::IceProxy::AliICEUDB::IUDBService& l, const ::IceProxy::AliICEUDB::IUDBService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliICEUDB::operator<=(const ::IceProxy::AliICEUDB::IUDBService& l, const ::IceProxy::AliICEUDB::IUDBService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliICEUDB::operator>(const ::IceProxy::AliICEUDB::IUDBService& l, const ::IceProxy::AliICEUDB::IUDBService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliICEUDB::operator>=(const ::IceProxy::AliICEUDB::IUDBService& l, const ::IceProxy::AliICEUDB::IUDBService& r) -{ - return !(l < r); -} - -::Ice::Int -IceProxy::AliICEUDB::IUDBInfo::addUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliICEUDB__IUDBInfo__addUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::AliICEUDB::IUDBInfo* __del = dynamic_cast< ::IceDelegate::AliICEUDB::IUDBInfo*>(__delBase.get()); - return __del->addUserProfile(lid, kvMapArgs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliICEUDB::IUDBInfo::getUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliICEUDB__IUDBInfo__getUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::AliICEUDB::IUDBInfo* __del = dynamic_cast< ::IceDelegate::AliICEUDB::IUDBInfo*>(__delBase.get()); - return __del->getUserProfile(lid, kvMapArgs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliICEUDB::IUDBInfo::updateUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliICEUDB__IUDBInfo__updateUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::AliICEUDB::IUDBInfo* __del = dynamic_cast< ::IceDelegate::AliICEUDB::IUDBInfo*>(__delBase.get()); - return __del->updateUserProfile(lid, kvMapArgs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliICEUDB::IUDBInfo::ice_staticId() -{ - return ::AliICEUDB::IUDBInfo::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliICEUDB::IUDBInfo::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliICEUDB::IUDBInfo); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliICEUDB::IUDBInfo::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliICEUDB::IUDBInfo); -} - -bool -IceProxy::AliICEUDB::operator==(const ::IceProxy::AliICEUDB::IUDBInfo& l, const ::IceProxy::AliICEUDB::IUDBInfo& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliICEUDB::operator!=(const ::IceProxy::AliICEUDB::IUDBInfo& l, const ::IceProxy::AliICEUDB::IUDBInfo& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliICEUDB::operator<(const ::IceProxy::AliICEUDB::IUDBInfo& l, const ::IceProxy::AliICEUDB::IUDBInfo& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliICEUDB::operator<=(const ::IceProxy::AliICEUDB::IUDBInfo& l, const ::IceProxy::AliICEUDB::IUDBInfo& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliICEUDB::operator>(const ::IceProxy::AliICEUDB::IUDBInfo& l, const ::IceProxy::AliICEUDB::IUDBInfo& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliICEUDB::operator>=(const ::IceProxy::AliICEUDB::IUDBInfo& l, const ::IceProxy::AliICEUDB::IUDBInfo& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliICEUDB::IUDBService::validateUDBUser(const ::std::string& site, const ::std::string& siteid, const ::std::string& sitemd5pw, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliICEUDB__IUDBService__validateUDBUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(site); - __os->write(siteid); - __os->write(sitemd5pw); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliICEUDB::IUDBInfo::addUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliICEUDB__IUDBInfo__addUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(lid); - ::AliICEUDB::__write(__os, kvMapArgs, ::AliICEUDB::__U__KVMap()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliICEUDB::IUDBInfo::getUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliICEUDB__IUDBInfo__getUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(lid); - ::AliICEUDB::__write(__os, kvMapArgs, ::AliICEUDB::__U__KVMap()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliICEUDB::IUDBInfo::updateUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliICEUDB__IUDBInfo__updateUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(lid); - ::AliICEUDB::__write(__os, kvMapArgs, ::AliICEUDB::__U__KVMap()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliICEUDB::IUDBService::validateUDBUser(const ::std::string& site, const ::std::string& siteid, const ::std::string& sitemd5pw, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliICEUDB__IUDBService__validateUDBUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliICEUDB::IUDBService* __servant = dynamic_cast< ::AliICEUDB::IUDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->validateUDBUser(site, siteid, sitemd5pw, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliICEUDB::IUDBInfo::addUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliICEUDB__IUDBInfo__addUserProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliICEUDB::IUDBInfo* __servant = dynamic_cast< ::AliICEUDB::IUDBInfo*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->addUserProfile(lid, kvMapArgs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliICEUDB::IUDBInfo::getUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliICEUDB__IUDBInfo__getUserProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliICEUDB::IUDBInfo* __servant = dynamic_cast< ::AliICEUDB::IUDBInfo*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserProfile(lid, kvMapArgs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliICEUDB::IUDBInfo::updateUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliICEUDB__IUDBInfo__updateUserProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliICEUDB::IUDBInfo* __servant = dynamic_cast< ::AliICEUDB::IUDBInfo*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateUserProfile(lid, kvMapArgs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliICEUDB::IUDBService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliICEUDB__IUDBService_ids[2] = -{ - "::AliICEUDB::IUDBService", - "::Ice::Object" -}; - -bool -AliICEUDB::IUDBService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliICEUDB__IUDBService_ids, __AliICEUDB__IUDBService_ids + 2, _s); -} - -::std::vector< ::std::string> -AliICEUDB::IUDBService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliICEUDB__IUDBService_ids[0], &__AliICEUDB__IUDBService_ids[2]); -} - -const ::std::string& -AliICEUDB::IUDBService::ice_id(const ::Ice::Current&) const -{ - return __AliICEUDB__IUDBService_ids[0]; -} - -const ::std::string& -AliICEUDB::IUDBService::ice_staticId() -{ - return __AliICEUDB__IUDBService_ids[0]; -} - -::IceInternal::DispatchStatus -AliICEUDB::IUDBService::___validateUDBUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string site; - ::std::string siteid; - ::std::string sitemd5pw; - __is->read(site); - __is->read(siteid); - __is->read(sitemd5pw); - ::Ice::Int __ret = validateUDBUser(site, siteid, sitemd5pw, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliICEUDB__IUDBService_all[] = -{ - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "validateUDBUser" -}; - -::IceInternal::DispatchStatus -AliICEUDB::IUDBService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliICEUDB__IUDBService_all, __AliICEUDB__IUDBService_all + 5, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliICEUDB__IUDBService_all) - { - case 0: - { - return ___ice_id(in, current); - } - case 1: - { - return ___ice_ids(in, current); - } - case 2: - { - return ___ice_isA(in, current); - } - case 3: - { - return ___ice_ping(in, current); - } - case 4: - { - return ___validateUDBUser(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliICEUDB::IUDBService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliICEUDB::IUDBService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliICEUDB::IUDBService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliICEUDB::IUDBService was not generated with stream support"; - throw ex; -} - -void -AliICEUDB::IUDBService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliICEUDB::IUDBService was not generated with stream support"; - throw ex; -} - -void -AliICEUDB::__patch__IUDBServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliICEUDB::IUDBServicePtr* p = static_cast< ::AliICEUDB::IUDBServicePtr*>(__addr); - assert(p); - *p = ::AliICEUDB::IUDBServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliICEUDB::IUDBService::ice_staticId(); - throw e; - } -} - -bool -AliICEUDB::operator==(const ::AliICEUDB::IUDBService& l, const ::AliICEUDB::IUDBService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliICEUDB::operator!=(const ::AliICEUDB::IUDBService& l, const ::AliICEUDB::IUDBService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliICEUDB::operator<(const ::AliICEUDB::IUDBService& l, const ::AliICEUDB::IUDBService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliICEUDB::operator<=(const ::AliICEUDB::IUDBService& l, const ::AliICEUDB::IUDBService& r) -{ - return l < r || l == r; -} - -bool -AliICEUDB::operator>(const ::AliICEUDB::IUDBService& l, const ::AliICEUDB::IUDBService& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliICEUDB::operator>=(const ::AliICEUDB::IUDBService& l, const ::AliICEUDB::IUDBService& r) -{ - return !(l < r); -} - -::Ice::ObjectPtr -AliICEUDB::IUDBInfo::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliICEUDB__IUDBInfo_ids[2] = -{ - "::AliICEUDB::IUDBInfo", - "::Ice::Object" -}; - -bool -AliICEUDB::IUDBInfo::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliICEUDB__IUDBInfo_ids, __AliICEUDB__IUDBInfo_ids + 2, _s); -} - -::std::vector< ::std::string> -AliICEUDB::IUDBInfo::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliICEUDB__IUDBInfo_ids[0], &__AliICEUDB__IUDBInfo_ids[2]); -} - -const ::std::string& -AliICEUDB::IUDBInfo::ice_id(const ::Ice::Current&) const -{ - return __AliICEUDB__IUDBInfo_ids[0]; -} - -const ::std::string& -AliICEUDB::IUDBInfo::ice_staticId() -{ - return __AliICEUDB__IUDBInfo_ids[0]; -} - -::IceInternal::DispatchStatus -AliICEUDB::IUDBInfo::___addUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string lid; - ::AliICEUDB::KVMap kvMapArgs; - __is->read(lid); - ::AliICEUDB::__read(__is, kvMapArgs, ::AliICEUDB::__U__KVMap()); - ::Ice::Int __ret = addUserProfile(lid, kvMapArgs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliICEUDB::IUDBInfo::___getUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string lid; - ::AliICEUDB::KVMap kvMapArgs; - __is->read(lid); - ::AliICEUDB::__read(__is, kvMapArgs, ::AliICEUDB::__U__KVMap()); - ::Ice::Int __ret = getUserProfile(lid, kvMapArgs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliICEUDB::IUDBInfo::___updateUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string lid; - ::AliICEUDB::KVMap kvMapArgs; - __is->read(lid); - ::AliICEUDB::__read(__is, kvMapArgs, ::AliICEUDB::__U__KVMap()); - ::Ice::Int __ret = updateUserProfile(lid, kvMapArgs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliICEUDB__IUDBInfo_all[] = -{ - "addUserProfile", - "getUserProfile", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "updateUserProfile" -}; - -::IceInternal::DispatchStatus -AliICEUDB::IUDBInfo::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliICEUDB__IUDBInfo_all, __AliICEUDB__IUDBInfo_all + 7, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliICEUDB__IUDBInfo_all) - { - case 0: - { - return ___addUserProfile(in, current); - } - case 1: - { - return ___getUserProfile(in, current); - } - case 2: - { - return ___ice_id(in, current); - } - case 3: - { - return ___ice_ids(in, current); - } - case 4: - { - return ___ice_isA(in, current); - } - case 5: - { - return ___ice_ping(in, current); - } - case 6: - { - return ___updateUserProfile(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliICEUDB::IUDBInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliICEUDB::IUDBInfo::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliICEUDB::IUDBInfo::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliICEUDB::IUDBInfo was not generated with stream support"; - throw ex; -} - -void -AliICEUDB::IUDBInfo::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliICEUDB::IUDBInfo was not generated with stream support"; - throw ex; -} - -void -AliICEUDB::__patch__IUDBInfoPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliICEUDB::IUDBInfoPtr* p = static_cast< ::AliICEUDB::IUDBInfoPtr*>(__addr); - assert(p); - *p = ::AliICEUDB::IUDBInfoPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliICEUDB::IUDBInfo::ice_staticId(); - throw e; - } -} - -bool -AliICEUDB::operator==(const ::AliICEUDB::IUDBInfo& l, const ::AliICEUDB::IUDBInfo& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliICEUDB::operator!=(const ::AliICEUDB::IUDBInfo& l, const ::AliICEUDB::IUDBInfo& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliICEUDB::operator<(const ::AliICEUDB::IUDBInfo& l, const ::AliICEUDB::IUDBInfo& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliICEUDB::operator<=(const ::AliICEUDB::IUDBInfo& l, const ::AliICEUDB::IUDBInfo& r) -{ - return l < r || l == r; -} - -bool -AliICEUDB::operator>(const ::AliICEUDB::IUDBInfo& l, const ::AliICEUDB::IUDBInfo& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliICEUDB::operator>=(const ::AliICEUDB::IUDBInfo& l, const ::AliICEUDB::IUDBInfo& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/user_ice_service.cpp.svn-base b/features/aliww/source/.svn/text-base/user_ice_service.cpp.svn-base deleted file mode 100644 index 8aae231..0000000 --- a/features/aliww/source/.svn/text-base/user_ice_service.cpp.svn-base +++ /dev/null @@ -1,6146 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `user_ice_service.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__registerUser_name = "registerUser"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__registerAlisoft_name = "registerAlisoft"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__isCanRegister_name = "isCanRegister"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__modifyUserInfo_name = "modifyUserInfo"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__modifyImToken_name = "modifyImToken"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__modifyAepImToken_name = "modifyAepImToken"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getAepImToken_name = "getAepImToken"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__validateUser_name = "validateUser"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__validatePassport_name = "validatePassport"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__loginNotify_name = "loginNotify"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__recordCTULog_name = "recordCTULog"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__saveWebUserProfile_name = "saveWebUserProfile"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__deleteUser_name = "deleteUser"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__prohibitUser_name = "prohibitUser"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getUserBaseProfile_name = "getUserBaseProfile"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getUserWebProfile_name = "getUserWebProfile"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getUserWebBaseProfile_name = "getUserWebBaseProfile"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getUserProfileByLongId_name = "getUserProfileByLongId"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getUserProfileListByLongId_name = "getUserProfileListByLongId"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getUserProfileListByEmail_name = "getUserProfileListByEmail"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getUserProfileByUserId_name = "getUserProfileByUserId"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getUserProfileListByUserId_name = "getUserProfileListByUserId"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getUserIdByPassport_name = "getUserIdByPassport"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getLongIdByPassport_name = "getLongIdByPassport"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getUserIdByLongId_name = "getUserIdByLongId"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__isLongIdExist_name = "isLongIdExist"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getMD5PasswordByLongId_name = "getMD5PasswordByLongId"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getMatchedUserInfoList_name = "getMatchedUserInfoList"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__checkSession_name = "checkSession"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__changePasswordByUserId_name = "changePasswordByUserId"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__changePasswordByLongId_name = "changePasswordByLongId"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__updateLastLoginTime_name = "updateLastLoginTime"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__changeImBinding_name = "changeImBinding"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getImBinding_name = "getImBinding"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getRandomPassports_name = "getRandomPassports"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__isPassportHold_name = "isPassportHold"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getDomainList_name = "getDomainList"; - -void -IceInternal::incRef(::com::alisoft::member::udb::api::user::UserService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::com::alisoft::member::udb::api::user::UserService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::com::alisoft::member::udb::api::user::UserService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::com::alisoft::member::udb::api::user::UserService* p) -{ - p->__decRef(); -} - -void -com::alisoft::member::udb::api::user::__write(::IceInternal::BasicStream* __os, const ::com::alisoft::member::udb::api::user::UserServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -com::alisoft::member::udb::api::user::__read(::IceInternal::BasicStream* __is, ::com::alisoft::member::udb::api::user::UserServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::com::alisoft::member::udb::api::user::UserService; - v->__copyFrom(proxy); - } -} - -void -com::alisoft::member::udb::api::user::__write(::IceInternal::BasicStream* __os, const ::com::alisoft::member::udb::api::user::UserServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -com::alisoft::member::udb::api::model::Domain::operator==(const Domain& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -com::alisoft::member::udb::api::model::Domain::operator!=(const Domain& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(domainId != __rhs.domainId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(domainPrefix != __rhs.domainPrefix) - { - return true; - } - if(canLogin != __rhs.canLogin) - { - return true; - } - return false; -} - -bool -com::alisoft::member::udb::api::model::Domain::operator<(const Domain& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(domainId < __rhs.domainId) - { - return true; - } - else if(__rhs.domainId < domainId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(domainPrefix < __rhs.domainPrefix) - { - return true; - } - else if(__rhs.domainPrefix < domainPrefix) - { - return false; - } - if(canLogin < __rhs.canLogin) - { - return true; - } - else if(__rhs.canLogin < canLogin) - { - return false; - } - return false; -} - -void -com::alisoft::member::udb::api::model::Domain::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(domainId); - __os->write(name); - __os->write(domainPrefix); - __os->write(canLogin); -} - -void -com::alisoft::member::udb::api::model::Domain::__read(::IceInternal::BasicStream* __is) -{ - __is->read(domainId); - __is->read(name); - __is->read(domainPrefix); - __is->read(canLogin); -} - -bool -com::alisoft::member::udb::api::model::UserProfile::operator==(const UserProfile& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -com::alisoft::member::udb::api::model::UserProfile::operator!=(const UserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(userName != __rhs.userName) - { - return true; - } - if(passport != __rhs.passport) - { - return true; - } - if(isDeleted != __rhs.isDeleted) - { - return true; - } - if(gmtCreate != __rhs.gmtCreate) - { - return true; - } - if(gmtModified != __rhs.gmtModified) - { - return true; - } - if(creator != __rhs.creator) - { - return true; - } - if(Modifier != __rhs.Modifier) - { - return true; - } - if(domainPrefix != __rhs.domainPrefix) - { - return true; - } - if(loginId != __rhs.loginId) - { - return true; - } - if(longId != __rhs.longId) - { - return true; - } - if(sourceType != __rhs.sourceType) - { - return true; - } - if(gmtLogin != __rhs.gmtLogin) - { - return true; - } - if(userStatus != __rhs.userStatus) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(mobileNo != __rhs.mobileNo) - { - return true; - } - if(phoneNo != __rhs.phoneNo) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobTitle != __rhs.jobTitle) - { - return true; - } - if(country != __rhs.country) - { - return true; - } - if(province != __rhs.province) - { - return true; - } - if(city != __rhs.city) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(sex != __rhs.sex) - { - return true; - } - if(birthday != __rhs.birthday) - { - return true; - } - if(zip != __rhs.zip) - { - return true; - } - if(constellation != __rhs.constellation) - { - return true; - } - if(subCity != __rhs.subCity) - { - return true; - } - if(bloodType != __rhs.bloodType) - { - return true; - } - if(shengXiao != __rhs.shengXiao) - { - return true; - } - if(career != __rhs.career) - { - return true; - } - if(degree != __rhs.degree) - { - return true; - } - if(interest != __rhs.interest) - { - return true; - } - if(personality != __rhs.personality) - { - return true; - } - if(memo != __rhs.memo) - { - return true; - } - if(finishSchool != __rhs.finishSchool) - { - return true; - } - if(contactShowFlag != __rhs.contactShowFlag) - { - return true; - } - if(companyAddress != __rhs.companyAddress) - { - return true; - } - if(companyUrl != __rhs.companyUrl) - { - return true; - } - if(companyTel != __rhs.companyTel) - { - return true; - } - if(companyShowFlag != __rhs.companyShowFlag) - { - return true; - } - if(signature != __rhs.signature) - { - return true; - } - if(companyZip != __rhs.companyZip) - { - return true; - } - if(companyFax != __rhs.companyFax) - { - return true; - } - if(moreInterest != __rhs.moreInterest) - { - return true; - } - if(personalShowFlag != __rhs.personalShowFlag) - { - return true; - } - if(homePage != __rhs.homePage) - { - return true; - } - if(vocation != __rhs.vocation) - { - return true; - } - if(companyEmail != __rhs.companyEmail) - { - return true; - } - if(duty != __rhs.duty) - { - return true; - } - if(department != __rhs.department) - { - return true; - } - if(purchase != __rhs.purchase) - { - return true; - } - if(sales != __rhs.sales) - { - return true; - } - if(finishedPercent != __rhs.finishedPercent) - { - return true; - } - if(imgType != __rhs.imgType) - { - return true; - } - if(imgHashCode != __rhs.imgHashCode) - { - return true; - } - if(nickname != __rhs.nickname) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - return false; -} - -bool -com::alisoft::member::udb::api::model::UserProfile::operator<(const UserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(userName < __rhs.userName) - { - return true; - } - else if(__rhs.userName < userName) - { - return false; - } - if(passport < __rhs.passport) - { - return true; - } - else if(__rhs.passport < passport) - { - return false; - } - if(isDeleted < __rhs.isDeleted) - { - return true; - } - else if(__rhs.isDeleted < isDeleted) - { - return false; - } - if(gmtCreate < __rhs.gmtCreate) - { - return true; - } - else if(__rhs.gmtCreate < gmtCreate) - { - return false; - } - if(gmtModified < __rhs.gmtModified) - { - return true; - } - else if(__rhs.gmtModified < gmtModified) - { - return false; - } - if(creator < __rhs.creator) - { - return true; - } - else if(__rhs.creator < creator) - { - return false; - } - if(Modifier < __rhs.Modifier) - { - return true; - } - else if(__rhs.Modifier < Modifier) - { - return false; - } - if(domainPrefix < __rhs.domainPrefix) - { - return true; - } - else if(__rhs.domainPrefix < domainPrefix) - { - return false; - } - if(loginId < __rhs.loginId) - { - return true; - } - else if(__rhs.loginId < loginId) - { - return false; - } - if(longId < __rhs.longId) - { - return true; - } - else if(__rhs.longId < longId) - { - return false; - } - if(sourceType < __rhs.sourceType) - { - return true; - } - else if(__rhs.sourceType < sourceType) - { - return false; - } - if(gmtLogin < __rhs.gmtLogin) - { - return true; - } - else if(__rhs.gmtLogin < gmtLogin) - { - return false; - } - if(userStatus < __rhs.userStatus) - { - return true; - } - else if(__rhs.userStatus < userStatus) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(mobileNo < __rhs.mobileNo) - { - return true; - } - else if(__rhs.mobileNo < mobileNo) - { - return false; - } - if(phoneNo < __rhs.phoneNo) - { - return true; - } - else if(__rhs.phoneNo < phoneNo) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobTitle < __rhs.jobTitle) - { - return true; - } - else if(__rhs.jobTitle < jobTitle) - { - return false; - } - if(country < __rhs.country) - { - return true; - } - else if(__rhs.country < country) - { - return false; - } - if(province < __rhs.province) - { - return true; - } - else if(__rhs.province < province) - { - return false; - } - if(city < __rhs.city) - { - return true; - } - else if(__rhs.city < city) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(sex < __rhs.sex) - { - return true; - } - else if(__rhs.sex < sex) - { - return false; - } - if(birthday < __rhs.birthday) - { - return true; - } - else if(__rhs.birthday < birthday) - { - return false; - } - if(zip < __rhs.zip) - { - return true; - } - else if(__rhs.zip < zip) - { - return false; - } - if(constellation < __rhs.constellation) - { - return true; - } - else if(__rhs.constellation < constellation) - { - return false; - } - if(subCity < __rhs.subCity) - { - return true; - } - else if(__rhs.subCity < subCity) - { - return false; - } - if(bloodType < __rhs.bloodType) - { - return true; - } - else if(__rhs.bloodType < bloodType) - { - return false; - } - if(shengXiao < __rhs.shengXiao) - { - return true; - } - else if(__rhs.shengXiao < shengXiao) - { - return false; - } - if(career < __rhs.career) - { - return true; - } - else if(__rhs.career < career) - { - return false; - } - if(degree < __rhs.degree) - { - return true; - } - else if(__rhs.degree < degree) - { - return false; - } - if(interest < __rhs.interest) - { - return true; - } - else if(__rhs.interest < interest) - { - return false; - } - if(personality < __rhs.personality) - { - return true; - } - else if(__rhs.personality < personality) - { - return false; - } - if(memo < __rhs.memo) - { - return true; - } - else if(__rhs.memo < memo) - { - return false; - } - if(finishSchool < __rhs.finishSchool) - { - return true; - } - else if(__rhs.finishSchool < finishSchool) - { - return false; - } - if(contactShowFlag < __rhs.contactShowFlag) - { - return true; - } - else if(__rhs.contactShowFlag < contactShowFlag) - { - return false; - } - if(companyAddress < __rhs.companyAddress) - { - return true; - } - else if(__rhs.companyAddress < companyAddress) - { - return false; - } - if(companyUrl < __rhs.companyUrl) - { - return true; - } - else if(__rhs.companyUrl < companyUrl) - { - return false; - } - if(companyTel < __rhs.companyTel) - { - return true; - } - else if(__rhs.companyTel < companyTel) - { - return false; - } - if(companyShowFlag < __rhs.companyShowFlag) - { - return true; - } - else if(__rhs.companyShowFlag < companyShowFlag) - { - return false; - } - if(signature < __rhs.signature) - { - return true; - } - else if(__rhs.signature < signature) - { - return false; - } - if(companyZip < __rhs.companyZip) - { - return true; - } - else if(__rhs.companyZip < companyZip) - { - return false; - } - if(companyFax < __rhs.companyFax) - { - return true; - } - else if(__rhs.companyFax < companyFax) - { - return false; - } - if(moreInterest < __rhs.moreInterest) - { - return true; - } - else if(__rhs.moreInterest < moreInterest) - { - return false; - } - if(personalShowFlag < __rhs.personalShowFlag) - { - return true; - } - else if(__rhs.personalShowFlag < personalShowFlag) - { - return false; - } - if(homePage < __rhs.homePage) - { - return true; - } - else if(__rhs.homePage < homePage) - { - return false; - } - if(vocation < __rhs.vocation) - { - return true; - } - else if(__rhs.vocation < vocation) - { - return false; - } - if(companyEmail < __rhs.companyEmail) - { - return true; - } - else if(__rhs.companyEmail < companyEmail) - { - return false; - } - if(duty < __rhs.duty) - { - return true; - } - else if(__rhs.duty < duty) - { - return false; - } - if(department < __rhs.department) - { - return true; - } - else if(__rhs.department < department) - { - return false; - } - if(purchase < __rhs.purchase) - { - return true; - } - else if(__rhs.purchase < purchase) - { - return false; - } - if(sales < __rhs.sales) - { - return true; - } - else if(__rhs.sales < sales) - { - return false; - } - if(finishedPercent < __rhs.finishedPercent) - { - return true; - } - else if(__rhs.finishedPercent < finishedPercent) - { - return false; - } - if(imgType < __rhs.imgType) - { - return true; - } - else if(__rhs.imgType < imgType) - { - return false; - } - if(imgHashCode < __rhs.imgHashCode) - { - return true; - } - else if(__rhs.imgHashCode < imgHashCode) - { - return false; - } - if(nickname < __rhs.nickname) - { - return true; - } - else if(__rhs.nickname < nickname) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - return false; -} - -void -com::alisoft::member::udb::api::model::UserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(userName); - __os->write(passport); - __os->write(isDeleted); - __os->write(gmtCreate); - __os->write(gmtModified); - __os->write(creator); - __os->write(Modifier); - __os->write(domainPrefix); - __os->write(loginId); - __os->write(longId); - __os->write(sourceType); - __os->write(gmtLogin); - __os->write(userStatus); - __os->write(status); - __os->write(email); - __os->write(mobileNo); - __os->write(phoneNo); - __os->write(company); - __os->write(jobTitle); - __os->write(country); - __os->write(province); - __os->write(city); - __os->write(address); - __os->write(sex); - __os->write(birthday); - __os->write(zip); - __os->write(constellation); - __os->write(subCity); - __os->write(bloodType); - __os->write(shengXiao); - __os->write(career); - __os->write(degree); - __os->write(interest); - __os->write(personality); - __os->write(memo); - __os->write(finishSchool); - __os->write(contactShowFlag); - __os->write(companyAddress); - __os->write(companyUrl); - __os->write(companyTel); - __os->write(companyShowFlag); - __os->write(signature); - __os->write(companyZip); - __os->write(companyFax); - __os->write(moreInterest); - __os->write(personalShowFlag); - __os->write(homePage); - __os->write(vocation); - __os->write(companyEmail); - __os->write(duty); - __os->write(department); - __os->write(purchase); - __os->write(sales); - __os->write(finishedPercent); - __os->write(imgType); - __os->write(imgHashCode); - __os->write(nickname); - __os->write(userLevel); -} - -void -com::alisoft::member::udb::api::model::UserProfile::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(userName); - __is->read(passport); - __is->read(isDeleted); - __is->read(gmtCreate); - __is->read(gmtModified); - __is->read(creator); - __is->read(Modifier); - __is->read(domainPrefix); - __is->read(loginId); - __is->read(longId); - __is->read(sourceType); - __is->read(gmtLogin); - __is->read(userStatus); - __is->read(status); - __is->read(email); - __is->read(mobileNo); - __is->read(phoneNo); - __is->read(company); - __is->read(jobTitle); - __is->read(country); - __is->read(province); - __is->read(city); - __is->read(address); - __is->read(sex); - __is->read(birthday); - __is->read(zip); - __is->read(constellation); - __is->read(subCity); - __is->read(bloodType); - __is->read(shengXiao); - __is->read(career); - __is->read(degree); - __is->read(interest); - __is->read(personality); - __is->read(memo); - __is->read(finishSchool); - __is->read(contactShowFlag); - __is->read(companyAddress); - __is->read(companyUrl); - __is->read(companyTel); - __is->read(companyShowFlag); - __is->read(signature); - __is->read(companyZip); - __is->read(companyFax); - __is->read(moreInterest); - __is->read(personalShowFlag); - __is->read(homePage); - __is->read(vocation); - __is->read(companyEmail); - __is->read(duty); - __is->read(department); - __is->read(purchase); - __is->read(sales); - __is->read(finishedPercent); - __is->read(imgType); - __is->read(imgHashCode); - __is->read(nickname); - __is->read(userLevel); -} - -void -com::alisoft::member::udb::api::model::__write(::IceInternal::BasicStream* __os, const ::com::alisoft::member::udb::api::model::UserProfile* begin, const ::com::alisoft::member::udb::api::model::UserProfile* end, ::com::alisoft::member::udb::api::model::__U__UserProfileSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -com::alisoft::member::udb::api::model::__read(::IceInternal::BasicStream* __is, ::com::alisoft::member::udb::api::model::UserProfileSeq& v, ::com::alisoft::member::udb::api::model::__U__UserProfileSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 77); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -com::alisoft::member::udb::api::model::MatchedUserInfo::operator==(const MatchedUserInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -com::alisoft::member::udb::api::model::MatchedUserInfo::operator!=(const MatchedUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(longId != __rhs.longId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(activeState != __rhs.activeState) - { - return true; - } - return false; -} - -bool -com::alisoft::member::udb::api::model::MatchedUserInfo::operator<(const MatchedUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(longId < __rhs.longId) - { - return true; - } - else if(__rhs.longId < longId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(activeState < __rhs.activeState) - { - return true; - } - else if(__rhs.activeState < activeState) - { - return false; - } - return false; -} - -void -com::alisoft::member::udb::api::model::MatchedUserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(longId); - __os->write(name); - __os->write(activeState); -} - -void -com::alisoft::member::udb::api::model::MatchedUserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(longId); - __is->read(name); - __is->read(activeState); -} - -void -com::alisoft::member::udb::api::model::__write(::IceInternal::BasicStream* __os, const ::com::alisoft::member::udb::api::model::MatchedUserInfo* begin, const ::com::alisoft::member::udb::api::model::MatchedUserInfo* end, ::com::alisoft::member::udb::api::model::__U__MatchedUserInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -com::alisoft::member::udb::api::model::__read(::IceInternal::BasicStream* __is, ::com::alisoft::member::udb::api::model::MatchedUserInfoSeq& v, ::com::alisoft::member::udb::api::model::__U__MatchedUserInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 3); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -com::alisoft::member::udb::api::model::__write(::IceInternal::BasicStream* __os, const ::com::alisoft::member::udb::api::model::Domain* begin, const ::com::alisoft::member::udb::api::model::Domain* end, ::com::alisoft::member::udb::api::model::__U__DomainSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -com::alisoft::member::udb::api::model::__read(::IceInternal::BasicStream* __is, ::com::alisoft::member::udb::api::model::DomainSeq& v, ::com::alisoft::member::udb::api::model::__U__DomainSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 4); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -com::alisoft::member::udb::api::user::__addObject(const UserServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -com::alisoft::member::udb::api::user::__usesClasses(const UserServicePtr& p) -{ - return p->__usesClasses(); -} - -void -com::alisoft::member::udb::api::user::__decRefUnsafe(const UserServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -com::alisoft::member::udb::api::user::__clearHandleUnsafe(UserServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::registerUser(const ::com::alisoft::member::udb::api::model::Map& registerInfo, ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__registerUser_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->registerUser(registerInfo, userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::registerAlisoft(const ::com::alisoft::member::udb::api::model::Map& registerInfo, ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__registerAlisoft_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->registerAlisoft(registerInfo, userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::isCanRegister(const ::std::string& passport, bool& isCan, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__isCanRegister_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->isCanRegister(passport, isCan, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::modifyUserInfo(const ::com::alisoft::member::udb::api::model::Map& updateInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__modifyUserInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->modifyUserInfo(updateInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::modifyImToken(const ::std::string& longId, const ::std::string& imToken, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__modifyImToken_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->modifyImToken(longId, imToken, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::modifyAepImToken(const ::std::string& longId, const ::std::string& imToken, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__modifyAepImToken_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->modifyAepImToken(longId, imToken, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getAepImToken(const ::std::string& longId, ::std::string& imToken, ::std::string& md5pwd, ::std::string& userStatus, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getAepImToken_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getAepImToken(longId, imToken, md5pwd, userStatus, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::validateUser(const ::std::string& longId, const ::std::string& password, ::std::string& passport, ::std::string& retLongId, ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__validateUser_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->validateUser(longId, password, passport, retLongId, userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::validatePassport(const ::std::string& passport, const ::std::string& password, ::std::string& longId, ::std::string& userId, ::std::string& md5pw, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__validatePassport_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->validatePassport(passport, password, longId, userId, md5pw, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::loginNotify(const ::std::string& longId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__loginNotify_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->loginNotify(longId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::recordCTULog(const ::com::alisoft::member::udb::api::model::Map& ctuLogInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__recordCTULog_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->recordCTULog(ctuLogInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::saveWebUserProfile(const ::com::alisoft::member::udb::api::model::Map& userBaseProfile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__saveWebUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->saveWebUserProfile(userBaseProfile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::deleteUser(const ::std::string& longId, bool& success, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__deleteUser_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->deleteUser(longId, success, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::prohibitUser(const ::std::string& longId, bool& success, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__prohibitUser_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->prohibitUser(longId, success, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getUserBaseProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::Map& userBaseProfile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getUserBaseProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getUserBaseProfile(longId, userBaseProfile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getUserWebProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getUserWebProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getUserWebProfile(longId, userProfile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getUserWebBaseProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getUserWebBaseProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getUserWebBaseProfile(longId, userProfile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getUserProfileByLongId(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getUserProfileByLongId_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getUserProfileByLongId(longId, userProfile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getUserProfileListByLongId(const ::com::alisoft::member::udb::api::model::StringSeq& longIds, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getUserProfileListByLongId_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getUserProfileListByLongId(longIds, userProfileSeq, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getUserProfileListByEmail(const ::com::alisoft::member::udb::api::model::StringSeq& emails, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getUserProfileListByEmail_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getUserProfileListByEmail(emails, userProfileSeq, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getUserProfileByUserId(const ::std::string& userId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getUserProfileByUserId_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getUserProfileByUserId(userId, userProfile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getUserProfileListByUserId(const ::com::alisoft::member::udb::api::model::StringSeq& userIds, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getUserProfileListByUserId_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getUserProfileListByUserId(userIds, userProfileSeq, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getUserIdByPassport(const ::std::string& passport, ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getUserIdByPassport_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getUserIdByPassport(passport, userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getLongIdByPassport(const ::std::string& passport, ::std::string& longId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getLongIdByPassport_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getLongIdByPassport(passport, longId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getUserIdByLongId(const ::std::string& longId, ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getUserIdByLongId_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getUserIdByLongId(longId, userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::isLongIdExist(const ::std::string& longId, bool& isExist, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__isLongIdExist_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->isLongIdExist(longId, isExist, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getMD5PasswordByLongId(const ::std::string& longId, ::std::string& md5pwd, ::Ice::Int& status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getMD5PasswordByLongId_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getMD5PasswordByLongId(longId, md5pwd, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getMatchedUserInfoList(const ::std::string& loginId, ::com::alisoft::member::udb::api::model::MatchedUserInfoSeq& matchedUserInfoSeq, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getMatchedUserInfoList_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getMatchedUserInfoList(loginId, matchedUserInfoSeq, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::checkSession(const ::std::string& longId, const ::std::string& sessionNo, bool& isRight, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__checkSession_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->checkSession(longId, sessionNo, isRight, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::changePasswordByUserId(const ::std::string& userId, const ::std::string& md5Password, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__changePasswordByUserId_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->changePasswordByUserId(userId, md5Password, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::changePasswordByLongId(const ::std::string& longId, const ::std::string& md5Password, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__changePasswordByLongId_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->changePasswordByLongId(longId, md5Password, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::updateLastLoginTime(const ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__updateLastLoginTime_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->updateLastLoginTime(userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::changeImBinding(const ::std::string& userId, const ::std::string& newLongId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__changeImBinding_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->changeImBinding(userId, newLongId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getImBinding(const ::std::string& userId, ::std::string& longId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getImBinding_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getImBinding(userId, longId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getRandomPassports(::Ice::Long min, ::Ice::Long max, ::Ice::Int amount, ::com::alisoft::member::udb::api::model::StringSeq& passports, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getRandomPassports_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getRandomPassports(min, max, amount, passports, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::isPassportHold(const ::std::string& passort, bool& isHold, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__isPassportHold_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->isPassportHold(passort, isHold, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getDomainList(::com::alisoft::member::udb::api::model::DomainSeq& domainSeq, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getDomainList_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getDomainList(domainSeq, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::com::alisoft::member::udb::api::user::UserService::ice_staticId() -{ - return ::com::alisoft::member::udb::api::user::UserService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::com::alisoft::member::udb::api::user::UserService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::com::alisoft::member::udb::api::user::UserService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::com::alisoft::member::udb::api::user::UserService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::com::alisoft::member::udb::api::user::UserService); -} - -bool -IceProxy::com::alisoft::member::udb::api::user::operator==(const ::IceProxy::com::alisoft::member::udb::api::user::UserService& l, const ::IceProxy::com::alisoft::member::udb::api::user::UserService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::com::alisoft::member::udb::api::user::operator!=(const ::IceProxy::com::alisoft::member::udb::api::user::UserService& l, const ::IceProxy::com::alisoft::member::udb::api::user::UserService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::com::alisoft::member::udb::api::user::operator<(const ::IceProxy::com::alisoft::member::udb::api::user::UserService& l, const ::IceProxy::com::alisoft::member::udb::api::user::UserService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::com::alisoft::member::udb::api::user::operator<=(const ::IceProxy::com::alisoft::member::udb::api::user::UserService& l, const ::IceProxy::com::alisoft::member::udb::api::user::UserService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::com::alisoft::member::udb::api::user::operator>(const ::IceProxy::com::alisoft::member::udb::api::user::UserService& l, const ::IceProxy::com::alisoft::member::udb::api::user::UserService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::com::alisoft::member::udb::api::user::operator>=(const ::IceProxy::com::alisoft::member::udb::api::user::UserService& l, const ::IceProxy::com::alisoft::member::udb::api::user::UserService& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::registerUser(const ::com::alisoft::member::udb::api::model::Map& registerInfo, ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__registerUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - ::com::alisoft::member::udb::api::model::__write(__os, registerInfo, ::com::alisoft::member::udb::api::model::__U__Map()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::registerAlisoft(const ::com::alisoft::member::udb::api::model::Map& registerInfo, ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__registerAlisoft_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - ::com::alisoft::member::udb::api::model::__write(__os, registerInfo, ::com::alisoft::member::udb::api::model::__U__Map()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::isCanRegister(const ::std::string& passport, bool& isCan, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__isCanRegister_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(passport); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(isCan); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::modifyUserInfo(const ::com::alisoft::member::udb::api::model::Map& updateInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__modifyUserInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - ::com::alisoft::member::udb::api::model::__write(__os, updateInfo, ::com::alisoft::member::udb::api::model::__U__Map()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::modifyImToken(const ::std::string& longId, const ::std::string& imToken, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__modifyImToken_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - __os->write(imToken); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::modifyAepImToken(const ::std::string& longId, const ::std::string& imToken, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__modifyAepImToken_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - __os->write(imToken); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getAepImToken(const ::std::string& longId, ::std::string& imToken, ::std::string& md5pwd, ::std::string& userStatus, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getAepImToken_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(imToken); - __is->read(md5pwd); - __is->read(userStatus); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::validateUser(const ::std::string& longId, const ::std::string& password, ::std::string& passport, ::std::string& retLongId, ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__validateUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - __os->write(password); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(passport); - __is->read(retLongId); - __is->read(userId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::validatePassport(const ::std::string& passport, const ::std::string& password, ::std::string& longId, ::std::string& userId, ::std::string& md5pw, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__validatePassport_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(passport); - __os->write(password); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(longId); - __is->read(userId); - __is->read(md5pw); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::loginNotify(const ::std::string& longId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__loginNotify_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::recordCTULog(const ::com::alisoft::member::udb::api::model::Map& ctuLogInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__recordCTULog_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - ::com::alisoft::member::udb::api::model::__write(__os, ctuLogInfo, ::com::alisoft::member::udb::api::model::__U__Map()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::saveWebUserProfile(const ::com::alisoft::member::udb::api::model::Map& userBaseProfile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__saveWebUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - ::com::alisoft::member::udb::api::model::__write(__os, userBaseProfile, ::com::alisoft::member::udb::api::model::__U__Map()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::deleteUser(const ::std::string& longId, bool& success, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__deleteUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(success); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::prohibitUser(const ::std::string& longId, bool& success, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__prohibitUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(success); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getUserBaseProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::Map& userBaseProfile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getUserBaseProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::com::alisoft::member::udb::api::model::__read(__is, userBaseProfile, ::com::alisoft::member::udb::api::model::__U__Map()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getUserWebProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getUserWebProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userProfile.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getUserWebBaseProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getUserWebBaseProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userProfile.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getUserProfileByLongId(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getUserProfileByLongId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userProfile.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getUserProfileListByLongId(const ::com::alisoft::member::udb::api::model::StringSeq& longIds, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getUserProfileListByLongId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(longIds.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&longIds[0], &longIds[0] + longIds.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::com::alisoft::member::udb::api::model::__read(__is, userProfileSeq, ::com::alisoft::member::udb::api::model::__U__UserProfileSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getUserProfileListByEmail(const ::com::alisoft::member::udb::api::model::StringSeq& emails, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getUserProfileListByEmail_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(emails.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&emails[0], &emails[0] + emails.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::com::alisoft::member::udb::api::model::__read(__is, userProfileSeq, ::com::alisoft::member::udb::api::model::__U__UserProfileSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getUserProfileByUserId(const ::std::string& userId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getUserProfileByUserId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userProfile.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getUserProfileListByUserId(const ::com::alisoft::member::udb::api::model::StringSeq& userIds, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getUserProfileListByUserId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userIds.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userIds[0], &userIds[0] + userIds.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::com::alisoft::member::udb::api::model::__read(__is, userProfileSeq, ::com::alisoft::member::udb::api::model::__U__UserProfileSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getUserIdByPassport(const ::std::string& passport, ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getUserIdByPassport_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(passport); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getLongIdByPassport(const ::std::string& passport, ::std::string& longId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getLongIdByPassport_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(passport); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(longId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getUserIdByLongId(const ::std::string& longId, ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getUserIdByLongId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::isLongIdExist(const ::std::string& longId, bool& isExist, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__isLongIdExist_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(isExist); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getMD5PasswordByLongId(const ::std::string& longId, ::std::string& md5pwd, ::Ice::Int& status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getMD5PasswordByLongId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(md5pwd); - __is->read(status); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getMatchedUserInfoList(const ::std::string& loginId, ::com::alisoft::member::udb::api::model::MatchedUserInfoSeq& matchedUserInfoSeq, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getMatchedUserInfoList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::com::alisoft::member::udb::api::model::__read(__is, matchedUserInfoSeq, ::com::alisoft::member::udb::api::model::__U__MatchedUserInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::checkSession(const ::std::string& longId, const ::std::string& sessionNo, bool& isRight, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__checkSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - __os->write(sessionNo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(isRight); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::changePasswordByUserId(const ::std::string& userId, const ::std::string& md5Password, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__changePasswordByUserId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(md5Password); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::changePasswordByLongId(const ::std::string& longId, const ::std::string& md5Password, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__changePasswordByLongId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - __os->write(md5Password); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::updateLastLoginTime(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__updateLastLoginTime_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::changeImBinding(const ::std::string& userId, const ::std::string& newLongId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__changeImBinding_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(newLongId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getImBinding(const ::std::string& userId, ::std::string& longId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getImBinding_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(longId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getRandomPassports(::Ice::Long min, ::Ice::Long max, ::Ice::Int amount, ::com::alisoft::member::udb::api::model::StringSeq& passports, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getRandomPassports_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(min); - __os->write(max); - __os->write(amount); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(passports); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::isPassportHold(const ::std::string& passort, bool& isHold, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__isPassportHold_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(passort); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(isHold); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getDomainList(::com::alisoft::member::udb::api::model::DomainSeq& domainSeq, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getDomainList_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::com::alisoft::member::udb::api::model::__read(__is, domainSeq, ::com::alisoft::member::udb::api::model::__U__DomainSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::registerUser(const ::com::alisoft::member::udb::api::model::Map& registerInfo, ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__registerUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->registerUser(registerInfo, userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::registerAlisoft(const ::com::alisoft::member::udb::api::model::Map& registerInfo, ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__registerAlisoft_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->registerAlisoft(registerInfo, userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::isCanRegister(const ::std::string& passport, bool& isCan, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__isCanRegister_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->isCanRegister(passport, isCan, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::modifyUserInfo(const ::com::alisoft::member::udb::api::model::Map& updateInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__modifyUserInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->modifyUserInfo(updateInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::modifyImToken(const ::std::string& longId, const ::std::string& imToken, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__modifyImToken_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->modifyImToken(longId, imToken, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::modifyAepImToken(const ::std::string& longId, const ::std::string& imToken, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__modifyAepImToken_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->modifyAepImToken(longId, imToken, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getAepImToken(const ::std::string& longId, ::std::string& imToken, ::std::string& md5pwd, ::std::string& userStatus, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getAepImToken_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getAepImToken(longId, imToken, md5pwd, userStatus, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::validateUser(const ::std::string& longId, const ::std::string& password, ::std::string& passport, ::std::string& retLongId, ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__validateUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->validateUser(longId, password, passport, retLongId, userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::validatePassport(const ::std::string& passport, const ::std::string& password, ::std::string& longId, ::std::string& userId, ::std::string& md5pw, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__validatePassport_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->validatePassport(passport, password, longId, userId, md5pw, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::loginNotify(const ::std::string& longId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__loginNotify_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->loginNotify(longId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::recordCTULog(const ::com::alisoft::member::udb::api::model::Map& ctuLogInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__recordCTULog_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->recordCTULog(ctuLogInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::saveWebUserProfile(const ::com::alisoft::member::udb::api::model::Map& userBaseProfile, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__saveWebUserProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->saveWebUserProfile(userBaseProfile, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::deleteUser(const ::std::string& longId, bool& success, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__deleteUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->deleteUser(longId, success, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::prohibitUser(const ::std::string& longId, bool& success, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__prohibitUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->prohibitUser(longId, success, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getUserBaseProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::Map& userBaseProfile, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getUserBaseProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserBaseProfile(longId, userBaseProfile, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getUserWebProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getUserWebProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserWebProfile(longId, userProfile, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getUserWebBaseProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getUserWebBaseProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserWebBaseProfile(longId, userProfile, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getUserProfileByLongId(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getUserProfileByLongId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserProfileByLongId(longId, userProfile, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getUserProfileListByLongId(const ::com::alisoft::member::udb::api::model::StringSeq& longIds, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getUserProfileListByLongId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserProfileListByLongId(longIds, userProfileSeq, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getUserProfileListByEmail(const ::com::alisoft::member::udb::api::model::StringSeq& emails, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getUserProfileListByEmail_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserProfileListByEmail(emails, userProfileSeq, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getUserProfileByUserId(const ::std::string& userId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getUserProfileByUserId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserProfileByUserId(userId, userProfile, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getUserProfileListByUserId(const ::com::alisoft::member::udb::api::model::StringSeq& userIds, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getUserProfileListByUserId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserProfileListByUserId(userIds, userProfileSeq, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getUserIdByPassport(const ::std::string& passport, ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getUserIdByPassport_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserIdByPassport(passport, userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getLongIdByPassport(const ::std::string& passport, ::std::string& longId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getLongIdByPassport_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getLongIdByPassport(passport, longId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getUserIdByLongId(const ::std::string& longId, ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getUserIdByLongId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserIdByLongId(longId, userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::isLongIdExist(const ::std::string& longId, bool& isExist, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__isLongIdExist_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->isLongIdExist(longId, isExist, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getMD5PasswordByLongId(const ::std::string& longId, ::std::string& md5pwd, ::Ice::Int& status, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getMD5PasswordByLongId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getMD5PasswordByLongId(longId, md5pwd, status, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getMatchedUserInfoList(const ::std::string& loginId, ::com::alisoft::member::udb::api::model::MatchedUserInfoSeq& matchedUserInfoSeq, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getMatchedUserInfoList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getMatchedUserInfoList(loginId, matchedUserInfoSeq, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::checkSession(const ::std::string& longId, const ::std::string& sessionNo, bool& isRight, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__checkSession_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkSession(longId, sessionNo, isRight, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::changePasswordByUserId(const ::std::string& userId, const ::std::string& md5Password, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__changePasswordByUserId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->changePasswordByUserId(userId, md5Password, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::changePasswordByLongId(const ::std::string& longId, const ::std::string& md5Password, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__changePasswordByLongId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->changePasswordByLongId(longId, md5Password, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::updateLastLoginTime(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__updateLastLoginTime_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateLastLoginTime(userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::changeImBinding(const ::std::string& userId, const ::std::string& newLongId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__changeImBinding_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->changeImBinding(userId, newLongId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getImBinding(const ::std::string& userId, ::std::string& longId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getImBinding_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getImBinding(userId, longId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getRandomPassports(::Ice::Long min, ::Ice::Long max, ::Ice::Int amount, ::com::alisoft::member::udb::api::model::StringSeq& passports, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getRandomPassports_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getRandomPassports(min, max, amount, passports, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::isPassportHold(const ::std::string& passort, bool& isHold, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__isPassportHold_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->isPassportHold(passort, isHold, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getDomainList(::com::alisoft::member::udb::api::model::DomainSeq& domainSeq, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getDomainList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getDomainList(domainSeq, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -com::alisoft::member::udb::api::user::UserService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __com__alisoft__member__udb__api__user__UserService_ids[2] = -{ - "::Ice::Object", - "::com::alisoft::member::udb::api::user::UserService" -}; - -bool -com::alisoft::member::udb::api::user::UserService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__com__alisoft__member__udb__api__user__UserService_ids, __com__alisoft__member__udb__api__user__UserService_ids + 2, _s); -} - -::std::vector< ::std::string> -com::alisoft::member::udb::api::user::UserService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__com__alisoft__member__udb__api__user__UserService_ids[0], &__com__alisoft__member__udb__api__user__UserService_ids[2]); -} - -const ::std::string& -com::alisoft::member::udb::api::user::UserService::ice_id(const ::Ice::Current&) const -{ - return __com__alisoft__member__udb__api__user__UserService_ids[1]; -} - -const ::std::string& -com::alisoft::member::udb::api::user::UserService::ice_staticId() -{ - return __com__alisoft__member__udb__api__user__UserService_ids[1]; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___registerUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::com::alisoft::member::udb::api::model::Map registerInfo; - ::com::alisoft::member::udb::api::model::__read(__is, registerInfo, ::com::alisoft::member::udb::api::model::__U__Map()); - ::std::string userId; - ::Ice::Int __ret = registerUser(registerInfo, userId, __current); - __os->write(userId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___registerAlisoft(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::com::alisoft::member::udb::api::model::Map registerInfo; - ::com::alisoft::member::udb::api::model::__read(__is, registerInfo, ::com::alisoft::member::udb::api::model::__U__Map()); - ::std::string userId; - ::Ice::Int __ret = registerAlisoft(registerInfo, userId, __current); - __os->write(userId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___isCanRegister(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string passport; - __is->read(passport); - bool isCan; - ::Ice::Int __ret = isCanRegister(passport, isCan, __current); - __os->write(isCan); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___modifyUserInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::com::alisoft::member::udb::api::model::Map updateInfo; - ::com::alisoft::member::udb::api::model::__read(__is, updateInfo, ::com::alisoft::member::udb::api::model::__U__Map()); - ::Ice::Int __ret = modifyUserInfo(updateInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___modifyImToken(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - ::std::string imToken; - __is->read(longId); - __is->read(imToken); - ::Ice::Int __ret = modifyImToken(longId, imToken, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___modifyAepImToken(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - ::std::string imToken; - __is->read(longId); - __is->read(imToken); - ::Ice::Int __ret = modifyAepImToken(longId, imToken, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getAepImToken(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - __is->read(longId); - ::std::string imToken; - ::std::string md5pwd; - ::std::string userStatus; - ::Ice::Int __ret = getAepImToken(longId, imToken, md5pwd, userStatus, __current); - __os->write(imToken); - __os->write(md5pwd); - __os->write(userStatus); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___validateUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - ::std::string password; - __is->read(longId); - __is->read(password); - ::std::string passport; - ::std::string retLongId; - ::std::string userId; - ::Ice::Int __ret = validateUser(longId, password, passport, retLongId, userId, __current); - __os->write(passport); - __os->write(retLongId); - __os->write(userId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___validatePassport(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string passport; - ::std::string password; - __is->read(passport); - __is->read(password); - ::std::string longId; - ::std::string userId; - ::std::string md5pw; - ::Ice::Int __ret = validatePassport(passport, password, longId, userId, md5pw, __current); - __os->write(longId); - __os->write(userId); - __os->write(md5pw); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___loginNotify(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - __is->read(longId); - ::Ice::Int __ret = loginNotify(longId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___recordCTULog(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::com::alisoft::member::udb::api::model::Map ctuLogInfo; - ::com::alisoft::member::udb::api::model::__read(__is, ctuLogInfo, ::com::alisoft::member::udb::api::model::__U__Map()); - ::Ice::Int __ret = recordCTULog(ctuLogInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___saveWebUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::com::alisoft::member::udb::api::model::Map userBaseProfile; - ::com::alisoft::member::udb::api::model::__read(__is, userBaseProfile, ::com::alisoft::member::udb::api::model::__U__Map()); - ::Ice::Int __ret = saveWebUserProfile(userBaseProfile, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___deleteUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - __is->read(longId); - bool success; - ::Ice::Int __ret = deleteUser(longId, success, __current); - __os->write(success); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___prohibitUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - __is->read(longId); - bool success; - ::Ice::Int __ret = prohibitUser(longId, success, __current); - __os->write(success); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getUserBaseProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - __is->read(longId); - ::com::alisoft::member::udb::api::model::Map userBaseProfile; - ::Ice::Int __ret = getUserBaseProfile(longId, userBaseProfile, __current); - ::com::alisoft::member::udb::api::model::__write(__os, userBaseProfile, ::com::alisoft::member::udb::api::model::__U__Map()); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getUserWebProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - __is->read(longId); - ::com::alisoft::member::udb::api::model::UserProfile userProfile; - ::Ice::Int __ret = getUserWebProfile(longId, userProfile, __current); - userProfile.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getUserWebBaseProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - __is->read(longId); - ::com::alisoft::member::udb::api::model::UserProfile userProfile; - ::Ice::Int __ret = getUserWebBaseProfile(longId, userProfile, __current); - userProfile.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getUserProfileByLongId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - __is->read(longId); - ::com::alisoft::member::udb::api::model::UserProfile userProfile; - ::Ice::Int __ret = getUserProfileByLongId(longId, userProfile, __current); - userProfile.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getUserProfileListByLongId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::com::alisoft::member::udb::api::model::StringSeq longIds; - __is->read(longIds); - ::com::alisoft::member::udb::api::model::UserProfileSeq userProfileSeq; - ::Ice::Int __ret = getUserProfileListByLongId(longIds, userProfileSeq, __current); - if(userProfileSeq.size() == 0) - { - __os->writeSize(0); - } - else - { - ::com::alisoft::member::udb::api::model::__write(__os, &userProfileSeq[0], &userProfileSeq[0] + userProfileSeq.size(), ::com::alisoft::member::udb::api::model::__U__UserProfileSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getUserProfileListByEmail(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::com::alisoft::member::udb::api::model::StringSeq emails; - __is->read(emails); - ::com::alisoft::member::udb::api::model::UserProfileSeq userProfileSeq; - ::Ice::Int __ret = getUserProfileListByEmail(emails, userProfileSeq, __current); - if(userProfileSeq.size() == 0) - { - __os->writeSize(0); - } - else - { - ::com::alisoft::member::udb::api::model::__write(__os, &userProfileSeq[0], &userProfileSeq[0] + userProfileSeq.size(), ::com::alisoft::member::udb::api::model::__U__UserProfileSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getUserProfileByUserId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::com::alisoft::member::udb::api::model::UserProfile userProfile; - ::Ice::Int __ret = getUserProfileByUserId(userId, userProfile, __current); - userProfile.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getUserProfileListByUserId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::com::alisoft::member::udb::api::model::StringSeq userIds; - __is->read(userIds); - ::com::alisoft::member::udb::api::model::UserProfileSeq userProfileSeq; - ::Ice::Int __ret = getUserProfileListByUserId(userIds, userProfileSeq, __current); - if(userProfileSeq.size() == 0) - { - __os->writeSize(0); - } - else - { - ::com::alisoft::member::udb::api::model::__write(__os, &userProfileSeq[0], &userProfileSeq[0] + userProfileSeq.size(), ::com::alisoft::member::udb::api::model::__U__UserProfileSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getUserIdByPassport(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string passport; - __is->read(passport); - ::std::string userId; - ::Ice::Int __ret = getUserIdByPassport(passport, userId, __current); - __os->write(userId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getLongIdByPassport(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string passport; - __is->read(passport); - ::std::string longId; - ::Ice::Int __ret = getLongIdByPassport(passport, longId, __current); - __os->write(longId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getUserIdByLongId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - __is->read(longId); - ::std::string userId; - ::Ice::Int __ret = getUserIdByLongId(longId, userId, __current); - __os->write(userId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___isLongIdExist(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - __is->read(longId); - bool isExist; - ::Ice::Int __ret = isLongIdExist(longId, isExist, __current); - __os->write(isExist); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getMD5PasswordByLongId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - __is->read(longId); - ::std::string md5pwd; - ::Ice::Int status; - ::Ice::Int __ret = getMD5PasswordByLongId(longId, md5pwd, status, __current); - __os->write(md5pwd); - __os->write(status); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getMatchedUserInfoList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - __is->read(loginId); - ::com::alisoft::member::udb::api::model::MatchedUserInfoSeq matchedUserInfoSeq; - ::Ice::Int __ret = getMatchedUserInfoList(loginId, matchedUserInfoSeq, __current); - if(matchedUserInfoSeq.size() == 0) - { - __os->writeSize(0); - } - else - { - ::com::alisoft::member::udb::api::model::__write(__os, &matchedUserInfoSeq[0], &matchedUserInfoSeq[0] + matchedUserInfoSeq.size(), ::com::alisoft::member::udb::api::model::__U__MatchedUserInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___checkSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - ::std::string sessionNo; - __is->read(longId); - __is->read(sessionNo); - bool isRight; - ::Ice::Int __ret = checkSession(longId, sessionNo, isRight, __current); - __os->write(isRight); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___changePasswordByUserId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string md5Password; - __is->read(userId); - __is->read(md5Password); - ::Ice::Int __ret = changePasswordByUserId(userId, md5Password, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___changePasswordByLongId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - ::std::string md5Password; - __is->read(longId); - __is->read(md5Password); - ::Ice::Int __ret = changePasswordByLongId(longId, md5Password, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___updateLastLoginTime(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int __ret = updateLastLoginTime(userId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___changeImBinding(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string newLongId; - __is->read(userId); - __is->read(newLongId); - ::Ice::Int __ret = changeImBinding(userId, newLongId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getImBinding(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::std::string longId; - ::Ice::Int __ret = getImBinding(userId, longId, __current); - __os->write(longId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getRandomPassports(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long min; - ::Ice::Long max; - ::Ice::Int amount; - __is->read(min); - __is->read(max); - __is->read(amount); - ::com::alisoft::member::udb::api::model::StringSeq passports; - ::Ice::Int __ret = getRandomPassports(min, max, amount, passports, __current); - if(passports.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&passports[0], &passports[0] + passports.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___isPassportHold(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string passort; - __is->read(passort); - bool isHold; - ::Ice::Int __ret = isPassportHold(passort, isHold, __current); - __os->write(isHold); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getDomainList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __os = __inS.os(); - ::com::alisoft::member::udb::api::model::DomainSeq domainSeq; - ::Ice::Int __ret = getDomainList(domainSeq, __current); - if(domainSeq.size() == 0) - { - __os->writeSize(0); - } - else - { - ::com::alisoft::member::udb::api::model::__write(__os, &domainSeq[0], &domainSeq[0] + domainSeq.size(), ::com::alisoft::member::udb::api::model::__U__DomainSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __com__alisoft__member__udb__api__user__UserService_all[] = -{ - "changeImBinding", - "changePasswordByLongId", - "changePasswordByUserId", - "checkSession", - "deleteUser", - "getAepImToken", - "getDomainList", - "getImBinding", - "getLongIdByPassport", - "getMD5PasswordByLongId", - "getMatchedUserInfoList", - "getRandomPassports", - "getUserBaseProfile", - "getUserIdByLongId", - "getUserIdByPassport", - "getUserProfileByLongId", - "getUserProfileByUserId", - "getUserProfileListByEmail", - "getUserProfileListByLongId", - "getUserProfileListByUserId", - "getUserWebBaseProfile", - "getUserWebProfile", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "isCanRegister", - "isLongIdExist", - "isPassportHold", - "loginNotify", - "modifyAepImToken", - "modifyImToken", - "modifyUserInfo", - "prohibitUser", - "recordCTULog", - "registerAlisoft", - "registerUser", - "saveWebUserProfile", - "updateLastLoginTime", - "validatePassport", - "validateUser" -}; - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__com__alisoft__member__udb__api__user__UserService_all, __com__alisoft__member__udb__api__user__UserService_all + 41, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __com__alisoft__member__udb__api__user__UserService_all) - { - case 0: - { - return ___changeImBinding(in, current); - } - case 1: - { - return ___changePasswordByLongId(in, current); - } - case 2: - { - return ___changePasswordByUserId(in, current); - } - case 3: - { - return ___checkSession(in, current); - } - case 4: - { - return ___deleteUser(in, current); - } - case 5: - { - return ___getAepImToken(in, current); - } - case 6: - { - return ___getDomainList(in, current); - } - case 7: - { - return ___getImBinding(in, current); - } - case 8: - { - return ___getLongIdByPassport(in, current); - } - case 9: - { - return ___getMD5PasswordByLongId(in, current); - } - case 10: - { - return ___getMatchedUserInfoList(in, current); - } - case 11: - { - return ___getRandomPassports(in, current); - } - case 12: - { - return ___getUserBaseProfile(in, current); - } - case 13: - { - return ___getUserIdByLongId(in, current); - } - case 14: - { - return ___getUserIdByPassport(in, current); - } - case 15: - { - return ___getUserProfileByLongId(in, current); - } - case 16: - { - return ___getUserProfileByUserId(in, current); - } - case 17: - { - return ___getUserProfileListByEmail(in, current); - } - case 18: - { - return ___getUserProfileListByLongId(in, current); - } - case 19: - { - return ___getUserProfileListByUserId(in, current); - } - case 20: - { - return ___getUserWebBaseProfile(in, current); - } - case 21: - { - return ___getUserWebProfile(in, current); - } - case 22: - { - return ___ice_id(in, current); - } - case 23: - { - return ___ice_ids(in, current); - } - case 24: - { - return ___ice_isA(in, current); - } - case 25: - { - return ___ice_ping(in, current); - } - case 26: - { - return ___isCanRegister(in, current); - } - case 27: - { - return ___isLongIdExist(in, current); - } - case 28: - { - return ___isPassportHold(in, current); - } - case 29: - { - return ___loginNotify(in, current); - } - case 30: - { - return ___modifyAepImToken(in, current); - } - case 31: - { - return ___modifyImToken(in, current); - } - case 32: - { - return ___modifyUserInfo(in, current); - } - case 33: - { - return ___prohibitUser(in, current); - } - case 34: - { - return ___recordCTULog(in, current); - } - case 35: - { - return ___registerAlisoft(in, current); - } - case 36: - { - return ___registerUser(in, current); - } - case 37: - { - return ___saveWebUserProfile(in, current); - } - case 38: - { - return ___updateLastLoginTime(in, current); - } - case 39: - { - return ___validatePassport(in, current); - } - case 40: - { - return ___validateUser(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -com::alisoft::member::udb::api::user::UserService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -com::alisoft::member::udb::api::user::UserService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -com::alisoft::member::udb::api::user::UserService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type com::alisoft::member::udb::api::user::UserService was not generated with stream support"; - throw ex; -} - -void -com::alisoft::member::udb::api::user::UserService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type com::alisoft::member::udb::api::user::UserService was not generated with stream support"; - throw ex; -} - -void -com::alisoft::member::udb::api::user::__patch__UserServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::com::alisoft::member::udb::api::user::UserServicePtr* p = static_cast< ::com::alisoft::member::udb::api::user::UserServicePtr*>(__addr); - assert(p); - *p = ::com::alisoft::member::udb::api::user::UserServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::com::alisoft::member::udb::api::user::UserService::ice_staticId(); - throw e; - } -} - -bool -com::alisoft::member::udb::api::user::operator==(const ::com::alisoft::member::udb::api::user::UserService& l, const ::com::alisoft::member::udb::api::user::UserService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -com::alisoft::member::udb::api::user::operator!=(const ::com::alisoft::member::udb::api::user::UserService& l, const ::com::alisoft::member::udb::api::user::UserService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -com::alisoft::member::udb::api::user::operator<(const ::com::alisoft::member::udb::api::user::UserService& l, const ::com::alisoft::member::udb::api::user::UserService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -com::alisoft::member::udb::api::user::operator<=(const ::com::alisoft::member::udb::api::user::UserService& l, const ::com::alisoft::member::udb::api::user::UserService& r) -{ - return l < r || l == r; -} - -bool -com::alisoft::member::udb::api::user::operator>(const ::com::alisoft::member::udb::api::user::UserService& l, const ::com::alisoft::member::udb::api::user::UserService& r) -{ - return !(l < r) && !(l == r); -} - -bool -com::alisoft::member::udb::api::user::operator>=(const ::com::alisoft::member::udb::api::user::UserService& l, const ::com::alisoft::member::udb::api::user::UserService& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/user_info.cpp.svn-base b/features/aliww/source/.svn/text-base/user_info.cpp.svn-base deleted file mode 100644 index 77cf6eb..0000000 --- a/features/aliww/source/.svn/text-base/user_info.cpp.svn-base +++ /dev/null @@ -1,1592 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `user_info.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __IMServerData__UserInfoI__query_name = "query"; - -static const ::std::string __IMServerData__UserInfoI__insert_name = "insert"; - -static const ::std::string __IMServerData__UserInfoI__remove_name = "remove"; - -static const ::std::string __IMServerData__UserInfoI__loginNtfy_name = "loginNtfy"; - -static const ::std::string __IMServerData__UserInfoI__gettLoginNumBySite_name = "gettLoginNumBySite"; - -static const ::std::string __IMServerData__UserInfoI__getSiteIds_name = "getSiteIds"; - -static const ::std::string __IMServerData__UserInfoI__getOnlineCountBySite_name = "getOnlineCountBySite"; - -static const ::std::string __IMServerData__UserInfoI__getOneSiteOnlineStatus_name = "getOneSiteOnlineStatus"; - -void -IceInternal::incRef(::IMServerData::UserInfoI* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IMServerData::UserInfoI* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::IMServerData::UserInfoI* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::IMServerData::UserInfoI* p) -{ - p->__decRef(); -} - -void -IMServerData::__write(::IceInternal::BasicStream* __os, const ::IMServerData::UserInfoIPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -IMServerData::__read(::IceInternal::BasicStream* __is, ::IMServerData::UserInfoIPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::IMServerData::UserInfoI; - v->__copyFrom(proxy); - } -} - -void -IMServerData::__write(::IceInternal::BasicStream* __os, const ::IMServerData::UserInfoIPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -IMServerData::SWebBind::operator==(const SWebBind& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMServerData::SWebBind::operator!=(const SWebBind& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(serviceId != __rhs.serviceId) - { - return true; - } - if(siteId != __rhs.siteId) - { - return true; - } - if(webId != __rhs.webId) - { - return true; - } - if(webUid != __rhs.webUid) - { - return true; - } - if(webUrl != __rhs.webUrl) - { - return true; - } - return false; -} - -bool -IMServerData::SWebBind::operator<(const SWebBind& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(serviceId < __rhs.serviceId) - { - return true; - } - else if(__rhs.serviceId < serviceId) - { - return false; - } - if(siteId < __rhs.siteId) - { - return true; - } - else if(__rhs.siteId < siteId) - { - return false; - } - if(webId < __rhs.webId) - { - return true; - } - else if(__rhs.webId < webId) - { - return false; - } - if(webUid < __rhs.webUid) - { - return true; - } - else if(__rhs.webUid < webUid) - { - return false; - } - if(webUrl < __rhs.webUrl) - { - return true; - } - else if(__rhs.webUrl < webUrl) - { - return false; - } - return false; -} - -void -IMServerData::SWebBind::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(serviceId); - __os->write(siteId); - __os->write(webId); - __os->write(webUid); - if(webUrl.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&webUrl[0], &webUrl[0] + webUrl.size()); - } -} - -void -IMServerData::SWebBind::__read(::IceInternal::BasicStream* __is) -{ - __is->read(serviceId); - __is->read(siteId); - __is->read(webId); - __is->read(webUid); - __is->read(webUrl); -} - -void -IMServerData::__write(::IceInternal::BasicStream* __os, const ::IMServerData::SWebBind* begin, const ::IMServerData::SWebBind* end, ::IMServerData::__U__SWebBindSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMServerData::__read(::IceInternal::BasicStream* __is, ::IMServerData::SWebBindSeq& v, ::IMServerData::__U__SWebBindSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 5); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -IMServerData::Statics::operator==(const Statics& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMServerData::Statics::operator!=(const Statics& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(servicId != __rhs.servicId) - { - return true; - } - if(webId != __rhs.webId) - { - return true; - } - if(count != __rhs.count) - { - return true; - } - return false; -} - -bool -IMServerData::Statics::operator<(const Statics& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(servicId < __rhs.servicId) - { - return true; - } - else if(__rhs.servicId < servicId) - { - return false; - } - if(webId < __rhs.webId) - { - return true; - } - else if(__rhs.webId < webId) - { - return false; - } - if(count < __rhs.count) - { - return true; - } - else if(__rhs.count < count) - { - return false; - } - return false; -} - -void -IMServerData::Statics::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(servicId); - __os->write(webId); - __os->write(count); -} - -void -IMServerData::Statics::__read(::IceInternal::BasicStream* __is) -{ - __is->read(servicId); - __is->read(webId); - __is->read(count); -} - -void -IMServerData::__write(::IceInternal::BasicStream* __os, const ::IMServerData::Statics* begin, const ::IMServerData::Statics* end, ::IMServerData::__U__StaticsSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMServerData::__read(::IceInternal::BasicStream* __is, ::IMServerData::StaticsSeq& v, ::IMServerData::__U__StaticsSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 10); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -IMServerData::__addObject(const UserInfoIPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -IMServerData::__usesClasses(const UserInfoIPtr& p) -{ - return p->__usesClasses(); -} - -void -IMServerData::__decRefUnsafe(const UserInfoIPtr& p) -{ - p->__decRefUnsafe(); -} - -void -IMServerData::__clearHandleUnsafe(UserInfoIPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::IMServerData::UserInfoI::query(const ::std::string& id, ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMServerData__UserInfoI__query_name); - __delBase = __getDelegate(); - ::IceDelegate::IMServerData::UserInfoI* __del = dynamic_cast< ::IceDelegate::IMServerData::UserInfoI*>(__delBase.get()); - return __del->query(id, binds, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMServerData::UserInfoI::insert(const ::std::string& id, const ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMServerData__UserInfoI__insert_name); - __delBase = __getDelegate(); - ::IceDelegate::IMServerData::UserInfoI* __del = dynamic_cast< ::IceDelegate::IMServerData::UserInfoI*>(__delBase.get()); - return __del->insert(id, binds, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMServerData::UserInfoI::remove(const ::std::string& id, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMServerData__UserInfoI__remove_name); - __delBase = __getDelegate(); - ::IceDelegate::IMServerData::UserInfoI* __del = dynamic_cast< ::IceDelegate::IMServerData::UserInfoI*>(__delBase.get()); - return __del->remove(id, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMServerData::UserInfoI::loginNtfy(const ::std::string& id, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMServerData__UserInfoI__loginNtfy_name); - __delBase = __getDelegate(); - ::IceDelegate::IMServerData::UserInfoI* __del = dynamic_cast< ::IceDelegate::IMServerData::UserInfoI*>(__delBase.get()); - return __del->loginNtfy(id, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMServerData::UserInfoI::gettLoginNumBySite(::IMServerData::StaticsSeq& lognum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMServerData__UserInfoI__gettLoginNumBySite_name); - __delBase = __getDelegate(); - ::IceDelegate::IMServerData::UserInfoI* __del = dynamic_cast< ::IceDelegate::IMServerData::UserInfoI*>(__delBase.get()); - return __del->gettLoginNumBySite(lognum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMServerData::UserInfoI::getSiteIds(const ::std::string& serviceid, const ::std::string& siteid, ::Ice::StringSeq& loginid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMServerData__UserInfoI__getSiteIds_name); - __delBase = __getDelegate(); - ::IceDelegate::IMServerData::UserInfoI* __del = dynamic_cast< ::IceDelegate::IMServerData::UserInfoI*>(__delBase.get()); - return __del->getSiteIds(serviceid, siteid, loginid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMServerData::UserInfoI::getOnlineCountBySite(::IMServerData::StaticsSeq& statics, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMServerData__UserInfoI__getOnlineCountBySite_name); - __delBase = __getDelegate(); - ::IceDelegate::IMServerData::UserInfoI* __del = dynamic_cast< ::IceDelegate::IMServerData::UserInfoI*>(__delBase.get()); - return __del->getOnlineCountBySite(statics, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMServerData::UserInfoI::getOneSiteOnlineStatus(const ::std::string& serviceId, const ::std::string& siteid, ::Ice::Long& count, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMServerData__UserInfoI__getOneSiteOnlineStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::IMServerData::UserInfoI* __del = dynamic_cast< ::IceDelegate::IMServerData::UserInfoI*>(__delBase.get()); - return __del->getOneSiteOnlineStatus(serviceId, siteid, count, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::IMServerData::UserInfoI::ice_staticId() -{ - return ::IMServerData::UserInfoI::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::IMServerData::UserInfoI::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::IMServerData::UserInfoI); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::IMServerData::UserInfoI::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::IMServerData::UserInfoI); -} - -bool -IceProxy::IMServerData::operator==(const ::IceProxy::IMServerData::UserInfoI& l, const ::IceProxy::IMServerData::UserInfoI& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::IMServerData::operator!=(const ::IceProxy::IMServerData::UserInfoI& l, const ::IceProxy::IMServerData::UserInfoI& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::IMServerData::operator<(const ::IceProxy::IMServerData::UserInfoI& l, const ::IceProxy::IMServerData::UserInfoI& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::IMServerData::operator<=(const ::IceProxy::IMServerData::UserInfoI& l, const ::IceProxy::IMServerData::UserInfoI& r) -{ - return l < r || l == r; -} - -bool -IceProxy::IMServerData::operator>(const ::IceProxy::IMServerData::UserInfoI& l, const ::IceProxy::IMServerData::UserInfoI& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::IMServerData::operator>=(const ::IceProxy::IMServerData::UserInfoI& l, const ::IceProxy::IMServerData::UserInfoI& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::IMServerData::UserInfoI::query(const ::std::string& id, ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMServerData__UserInfoI__query_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(id); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMServerData::__read(__is, binds, ::IMServerData::__U__SWebBindSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMServerData::UserInfoI::insert(const ::std::string& id, const ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMServerData__UserInfoI__insert_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(id); - if(binds.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMServerData::__write(__os, &binds[0], &binds[0] + binds.size(), ::IMServerData::__U__SWebBindSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMServerData::UserInfoI::remove(const ::std::string& id, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMServerData__UserInfoI__remove_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(id); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMServerData::UserInfoI::loginNtfy(const ::std::string& id, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMServerData__UserInfoI__loginNtfy_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(id); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMServerData::UserInfoI::gettLoginNumBySite(::IMServerData::StaticsSeq& lognum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMServerData__UserInfoI__gettLoginNumBySite_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMServerData::__read(__is, lognum, ::IMServerData::__U__StaticsSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMServerData::UserInfoI::getSiteIds(const ::std::string& serviceid, const ::std::string& siteid, ::Ice::StringSeq& loginid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMServerData__UserInfoI__getSiteIds_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceid); - __os->write(siteid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(loginid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMServerData::UserInfoI::getOnlineCountBySite(::IMServerData::StaticsSeq& statics, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMServerData__UserInfoI__getOnlineCountBySite_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMServerData::__read(__is, statics, ::IMServerData::__U__StaticsSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMServerData::UserInfoI::getOneSiteOnlineStatus(const ::std::string& serviceId, const ::std::string& siteid, ::Ice::Long& count, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMServerData__UserInfoI__getOneSiteOnlineStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(siteid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(count); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::IMServerData::UserInfoI::query(const ::std::string& id, ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMServerData__UserInfoI__query_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMServerData::UserInfoI* __servant = dynamic_cast< ::IMServerData::UserInfoI*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->query(id, binds, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMServerData::UserInfoI::insert(const ::std::string& id, const ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMServerData__UserInfoI__insert_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMServerData::UserInfoI* __servant = dynamic_cast< ::IMServerData::UserInfoI*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->insert(id, binds, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMServerData::UserInfoI::remove(const ::std::string& id, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMServerData__UserInfoI__remove_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMServerData::UserInfoI* __servant = dynamic_cast< ::IMServerData::UserInfoI*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->remove(id, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMServerData::UserInfoI::loginNtfy(const ::std::string& id, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMServerData__UserInfoI__loginNtfy_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMServerData::UserInfoI* __servant = dynamic_cast< ::IMServerData::UserInfoI*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->loginNtfy(id, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMServerData::UserInfoI::gettLoginNumBySite(::IMServerData::StaticsSeq& lognum, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMServerData__UserInfoI__gettLoginNumBySite_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMServerData::UserInfoI* __servant = dynamic_cast< ::IMServerData::UserInfoI*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->gettLoginNumBySite(lognum, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMServerData::UserInfoI::getSiteIds(const ::std::string& serviceid, const ::std::string& siteid, ::Ice::StringSeq& loginid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMServerData__UserInfoI__getSiteIds_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMServerData::UserInfoI* __servant = dynamic_cast< ::IMServerData::UserInfoI*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getSiteIds(serviceid, siteid, loginid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMServerData::UserInfoI::getOnlineCountBySite(::IMServerData::StaticsSeq& statics, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMServerData__UserInfoI__getOnlineCountBySite_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMServerData::UserInfoI* __servant = dynamic_cast< ::IMServerData::UserInfoI*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getOnlineCountBySite(statics, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMServerData::UserInfoI::getOneSiteOnlineStatus(const ::std::string& serviceId, const ::std::string& siteid, ::Ice::Long& count, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMServerData__UserInfoI__getOneSiteOnlineStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMServerData::UserInfoI* __servant = dynamic_cast< ::IMServerData::UserInfoI*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getOneSiteOnlineStatus(serviceId, siteid, count, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -IMServerData::UserInfoI::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __IMServerData__UserInfoI_ids[2] = -{ - "::IMServerData::UserInfoI", - "::Ice::Object" -}; - -bool -IMServerData::UserInfoI::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__IMServerData__UserInfoI_ids, __IMServerData__UserInfoI_ids + 2, _s); -} - -::std::vector< ::std::string> -IMServerData::UserInfoI::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__IMServerData__UserInfoI_ids[0], &__IMServerData__UserInfoI_ids[2]); -} - -const ::std::string& -IMServerData::UserInfoI::ice_id(const ::Ice::Current&) const -{ - return __IMServerData__UserInfoI_ids[0]; -} - -const ::std::string& -IMServerData::UserInfoI::ice_staticId() -{ - return __IMServerData__UserInfoI_ids[0]; -} - -::IceInternal::DispatchStatus -IMServerData::UserInfoI::___query(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string id; - __is->read(id); - ::IMServerData::SWebBindSeq binds; - ::Ice::Int __ret = query(id, binds, __current); - if(binds.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMServerData::__write(__os, &binds[0], &binds[0] + binds.size(), ::IMServerData::__U__SWebBindSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMServerData::UserInfoI::___insert(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string id; - ::IMServerData::SWebBindSeq binds; - __is->read(id); - ::IMServerData::__read(__is, binds, ::IMServerData::__U__SWebBindSeq()); - ::Ice::Int __ret = insert(id, binds, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMServerData::UserInfoI::___remove(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string id; - __is->read(id); - ::Ice::Int __ret = remove(id, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMServerData::UserInfoI::___loginNtfy(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string id; - __is->read(id); - ::Ice::Int __ret = loginNtfy(id, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMServerData::UserInfoI::___gettLoginNumBySite(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __os = __inS.os(); - ::IMServerData::StaticsSeq lognum; - ::Ice::Int __ret = gettLoginNumBySite(lognum, __current); - if(lognum.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMServerData::__write(__os, &lognum[0], &lognum[0] + lognum.size(), ::IMServerData::__U__StaticsSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMServerData::UserInfoI::___getSiteIds(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string serviceid; - ::std::string siteid; - __is->read(serviceid); - __is->read(siteid); - ::Ice::StringSeq loginid; - ::Ice::Int __ret = getSiteIds(serviceid, siteid, loginid, __current); - if(loginid.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&loginid[0], &loginid[0] + loginid.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMServerData::UserInfoI::___getOnlineCountBySite(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __os = __inS.os(); - ::IMServerData::StaticsSeq statics; - ::Ice::Int __ret = getOnlineCountBySite(statics, __current); - if(statics.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMServerData::__write(__os, &statics[0], &statics[0] + statics.size(), ::IMServerData::__U__StaticsSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMServerData::UserInfoI::___getOneSiteOnlineStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string serviceId; - ::std::string siteid; - __is->read(serviceId); - __is->read(siteid); - ::Ice::Long count; - ::Ice::Int __ret = getOneSiteOnlineStatus(serviceId, siteid, count, __current); - __os->write(count); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __IMServerData__UserInfoI_all[] = -{ - "getOneSiteOnlineStatus", - "getOnlineCountBySite", - "getSiteIds", - "gettLoginNumBySite", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "insert", - "loginNtfy", - "query", - "remove" -}; - -::IceInternal::DispatchStatus -IMServerData::UserInfoI::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__IMServerData__UserInfoI_all, __IMServerData__UserInfoI_all + 12, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __IMServerData__UserInfoI_all) - { - case 0: - { - return ___getOneSiteOnlineStatus(in, current); - } - case 1: - { - return ___getOnlineCountBySite(in, current); - } - case 2: - { - return ___getSiteIds(in, current); - } - case 3: - { - return ___gettLoginNumBySite(in, current); - } - case 4: - { - return ___ice_id(in, current); - } - case 5: - { - return ___ice_ids(in, current); - } - case 6: - { - return ___ice_isA(in, current); - } - case 7: - { - return ___ice_ping(in, current); - } - case 8: - { - return ___insert(in, current); - } - case 9: - { - return ___loginNtfy(in, current); - } - case 10: - { - return ___query(in, current); - } - case 11: - { - return ___remove(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -IMServerData::UserInfoI::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -IMServerData::UserInfoI::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -IMServerData::UserInfoI::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type IMServerData::UserInfoI was not generated with stream support"; - throw ex; -} - -void -IMServerData::UserInfoI::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type IMServerData::UserInfoI was not generated with stream support"; - throw ex; -} - -void -IMServerData::__patch__UserInfoIPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::IMServerData::UserInfoIPtr* p = static_cast< ::IMServerData::UserInfoIPtr*>(__addr); - assert(p); - *p = ::IMServerData::UserInfoIPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::IMServerData::UserInfoI::ice_staticId(); - throw e; - } -} - -bool -IMServerData::operator==(const ::IMServerData::UserInfoI& l, const ::IMServerData::UserInfoI& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IMServerData::operator!=(const ::IMServerData::UserInfoI& l, const ::IMServerData::UserInfoI& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IMServerData::operator<(const ::IMServerData::UserInfoI& l, const ::IMServerData::UserInfoI& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IMServerData::operator<=(const ::IMServerData::UserInfoI& l, const ::IMServerData::UserInfoI& r) -{ - return l < r || l == r; -} - -bool -IMServerData::operator>(const ::IMServerData::UserInfoI& l, const ::IMServerData::UserInfoI& r) -{ - return !(l < r) && !(l == r); -} - -bool -IMServerData::operator>=(const ::IMServerData::UserInfoI& l, const ::IMServerData::UserInfoI& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/user_statics.cpp.svn-base b/features/aliww/source/.svn/text-base/user_statics.cpp.svn-base deleted file mode 100644 index 969a36b..0000000 --- a/features/aliww/source/.svn/text-base/user_statics.cpp.svn-base +++ /dev/null @@ -1,583 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `user_statics.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __UserStaticsX__UserStaticsI__insert_name = "insert"; - -static const ::std::string __UserStaticsX__UserStaticsI__get_name = "get"; - -void -IceInternal::incRef(::UserStaticsX::UserStaticsI* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::UserStaticsX::UserStaticsI* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::UserStaticsX::UserStaticsI* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::UserStaticsX::UserStaticsI* p) -{ - p->__decRef(); -} - -void -UserStaticsX::__write(::IceInternal::BasicStream* __os, const ::UserStaticsX::UserStaticsIPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -UserStaticsX::__read(::IceInternal::BasicStream* __is, ::UserStaticsX::UserStaticsIPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::UserStaticsX::UserStaticsI; - v->__copyFrom(proxy); - } -} - -void -UserStaticsX::__write(::IceInternal::BasicStream* __os, const ::UserStaticsX::UserStaticsIPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -UserStaticsX::__addObject(const UserStaticsIPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -UserStaticsX::__usesClasses(const UserStaticsIPtr& p) -{ - return p->__usesClasses(); -} - -void -UserStaticsX::__decRefUnsafe(const UserStaticsIPtr& p) -{ - p->__decRefUnsafe(); -} - -void -UserStaticsX::__clearHandleUnsafe(UserStaticsIPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::UserStaticsX::UserStaticsI::insert(const ::AliIMDBBase::UserStatics& delta, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__UserStaticsX__UserStaticsI__insert_name); - __delBase = __getDelegate(); - ::IceDelegate::UserStaticsX::UserStaticsI* __del = dynamic_cast< ::IceDelegate::UserStaticsX::UserStaticsI*>(__delBase.get()); - return __del->insert(delta, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::UserStaticsX::UserStaticsI::get(const ::std::string& id, ::AliIMDBBase::UserStatics& s, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__UserStaticsX__UserStaticsI__get_name); - __delBase = __getDelegate(); - ::IceDelegate::UserStaticsX::UserStaticsI* __del = dynamic_cast< ::IceDelegate::UserStaticsX::UserStaticsI*>(__delBase.get()); - return __del->get(id, s, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::UserStaticsX::UserStaticsI::ice_staticId() -{ - return ::UserStaticsX::UserStaticsI::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::UserStaticsX::UserStaticsI::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::UserStaticsX::UserStaticsI); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::UserStaticsX::UserStaticsI::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::UserStaticsX::UserStaticsI); -} - -bool -IceProxy::UserStaticsX::operator==(const ::IceProxy::UserStaticsX::UserStaticsI& l, const ::IceProxy::UserStaticsX::UserStaticsI& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::UserStaticsX::operator!=(const ::IceProxy::UserStaticsX::UserStaticsI& l, const ::IceProxy::UserStaticsX::UserStaticsI& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::UserStaticsX::operator<(const ::IceProxy::UserStaticsX::UserStaticsI& l, const ::IceProxy::UserStaticsX::UserStaticsI& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::UserStaticsX::operator<=(const ::IceProxy::UserStaticsX::UserStaticsI& l, const ::IceProxy::UserStaticsX::UserStaticsI& r) -{ - return l < r || l == r; -} - -bool -IceProxy::UserStaticsX::operator>(const ::IceProxy::UserStaticsX::UserStaticsI& l, const ::IceProxy::UserStaticsX::UserStaticsI& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::UserStaticsX::operator>=(const ::IceProxy::UserStaticsX::UserStaticsI& l, const ::IceProxy::UserStaticsX::UserStaticsI& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::UserStaticsX::UserStaticsI::insert(const ::AliIMDBBase::UserStatics& delta, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __UserStaticsX__UserStaticsI__insert_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - delta.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::UserStaticsX::UserStaticsI::get(const ::std::string& id, ::AliIMDBBase::UserStatics& s, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __UserStaticsX__UserStaticsI__get_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(id); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - s.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::UserStaticsX::UserStaticsI::insert(const ::AliIMDBBase::UserStatics& delta, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __UserStaticsX__UserStaticsI__insert_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::UserStaticsX::UserStaticsI* __servant = dynamic_cast< ::UserStaticsX::UserStaticsI*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->insert(delta, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::UserStaticsX::UserStaticsI::get(const ::std::string& id, ::AliIMDBBase::UserStatics& s, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __UserStaticsX__UserStaticsI__get_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::UserStaticsX::UserStaticsI* __servant = dynamic_cast< ::UserStaticsX::UserStaticsI*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->get(id, s, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -UserStaticsX::UserStaticsI::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __UserStaticsX__UserStaticsI_ids[2] = -{ - "::Ice::Object", - "::UserStaticsX::UserStaticsI" -}; - -bool -UserStaticsX::UserStaticsI::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__UserStaticsX__UserStaticsI_ids, __UserStaticsX__UserStaticsI_ids + 2, _s); -} - -::std::vector< ::std::string> -UserStaticsX::UserStaticsI::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__UserStaticsX__UserStaticsI_ids[0], &__UserStaticsX__UserStaticsI_ids[2]); -} - -const ::std::string& -UserStaticsX::UserStaticsI::ice_id(const ::Ice::Current&) const -{ - return __UserStaticsX__UserStaticsI_ids[1]; -} - -const ::std::string& -UserStaticsX::UserStaticsI::ice_staticId() -{ - return __UserStaticsX__UserStaticsI_ids[1]; -} - -::IceInternal::DispatchStatus -UserStaticsX::UserStaticsI::___insert(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliIMDBBase::UserStatics delta; - delta.__read(__is); - ::Ice::Int __ret = insert(delta, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -UserStaticsX::UserStaticsI::___get(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string id; - __is->read(id); - ::AliIMDBBase::UserStatics s; - ::Ice::Int __ret = get(id, s, __current); - s.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __UserStaticsX__UserStaticsI_all[] = -{ - "get", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "insert" -}; - -::IceInternal::DispatchStatus -UserStaticsX::UserStaticsI::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__UserStaticsX__UserStaticsI_all, __UserStaticsX__UserStaticsI_all + 6, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __UserStaticsX__UserStaticsI_all) - { - case 0: - { - return ___get(in, current); - } - case 1: - { - return ___ice_id(in, current); - } - case 2: - { - return ___ice_ids(in, current); - } - case 3: - { - return ___ice_isA(in, current); - } - case 4: - { - return ___ice_ping(in, current); - } - case 5: - { - return ___insert(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -UserStaticsX::UserStaticsI::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -UserStaticsX::UserStaticsI::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -UserStaticsX::UserStaticsI::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type UserStaticsX::UserStaticsI was not generated with stream support"; - throw ex; -} - -void -UserStaticsX::UserStaticsI::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type UserStaticsX::UserStaticsI was not generated with stream support"; - throw ex; -} - -void -UserStaticsX::__patch__UserStaticsIPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::UserStaticsX::UserStaticsIPtr* p = static_cast< ::UserStaticsX::UserStaticsIPtr*>(__addr); - assert(p); - *p = ::UserStaticsX::UserStaticsIPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::UserStaticsX::UserStaticsI::ice_staticId(); - throw e; - } -} - -bool -UserStaticsX::operator==(const ::UserStaticsX::UserStaticsI& l, const ::UserStaticsX::UserStaticsI& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -UserStaticsX::operator!=(const ::UserStaticsX::UserStaticsI& l, const ::UserStaticsX::UserStaticsI& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -UserStaticsX::operator<(const ::UserStaticsX::UserStaticsI& l, const ::UserStaticsX::UserStaticsI& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -UserStaticsX::operator<=(const ::UserStaticsX::UserStaticsI& l, const ::UserStaticsX::UserStaticsI& r) -{ - return l < r || l == r; -} - -bool -UserStaticsX::operator>(const ::UserStaticsX::UserStaticsI& l, const ::UserStaticsX::UserStaticsI& r) -{ - return !(l < r) && !(l == r); -} - -bool -UserStaticsX::operator>=(const ::UserStaticsX::UserStaticsI& l, const ::UserStaticsX::UserStaticsI& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/uss_perf_test.cpp.svn-base b/features/aliww/source/.svn/text-base/uss_perf_test.cpp.svn-base deleted file mode 100644 index ed7071e..0000000 --- a/features/aliww/source/.svn/text-base/uss_perf_test.cpp.svn-base +++ /dev/null @@ -1,128 +0,0 @@ -#include "uss_perf_test.h" - -using namespace std; -using namespace Ice; -using namespace UserStaticsX; - -void* uss_init(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - uss_st *ap = (uss_st *)malloc(sizeof(uss_st)); - pVuser->verb = ap; - srand(time(0)); - create_transaction(pVuser,"USS"); - - int status = 0; - Ice::CommunicatorPtr ic; - - try{ - ic = Ice::initialize(); - - Ice::ObjectPrx base = ic->stringToProxy("USSID:default -h 10.250.3.75 -p 5555"); - UserStaticsIPrx uss = UserStaticsIPrx::checkedCast(base); - if(!uss){ - throw "Invalid proxy"; - } - ap->uss = new UserStaticsIPrx(uss); - ap->ic = new Ice::CommunicatorPtr(ic); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -//int get(string id, out UserStaticsX::UserStatics s); -void* uss_get(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - uss_st *ap = (uss_st *)pVuser->verb; - int status = 0; - UserStaticsIPrx uss = *(ap->uss); - - string userId(select_param_ex(pVuser)); - AliIMDBBase::UserStatics s; - - try{ - status = uss->get( userId, s); - if(status == 0) - success_transactionEx(pVuser,"USS","get Sucess."); - else{ - char str_tmp[320] = {0}; - sprintf(str_tmp,"get:Call ret status is %d",status); - fail_transactionEx(pVuser,"USS",str_tmp); - } - printf("userId : %s; status : %d\n",userId.c_str(),status); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* uss_insert(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - uss_st *ap = (uss_st *)pVuser->verb; - int status = 0; - UserStaticsIPrx uss = *(ap->uss); - - string userId(select_param_ex(pVuser)); - AliIMDBBase::UserStatics delta; - delta.loginId = userId; - delta.type = 0; - int online_degree = rand()*1000%48; - int chat_degree = rand()*1000%48; - int reward_degree = rand()*100%10; - delta.totalDegree = online_degree + 1.5 * chat_degree + reward_degree; - - try{ - status = uss->insert( delta); - if(status == 0) - success_transactionEx(pVuser,"USS","insert Sucess."); - else{ - char str_tmp[320] = {0}; - sprintf(str_tmp,"insert:Call ret status is %d",status); - fail_transactionEx(pVuser,"USS",str_tmp); - } - printf("userId : %s; status : %d\n",userId.c_str(),status); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* uss_end(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - uss_st *ap = (uss_st *)pVuser->verb; - int status = 0; - UserStaticsIPrx uss = *(ap->uss); - Ice::CommunicatorPtr ic = *(ap->ic); - - if(ic){ - try{ - ic->destroy(); - //delete(&ic); - //delete(&dbs); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } - } -} - diff --git a/features/aliww/source/.svn/text-base/vendorchkservice.cpp.svn-base b/features/aliww/source/.svn/text-base/vendorchkservice.cpp.svn-base deleted file mode 100644 index feb3f1d..0000000 --- a/features/aliww/source/.svn/text-base/vendorchkservice.cpp.svn-base +++ /dev/null @@ -1,1095 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `vendorchkservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __VendorCheckService__VendorCheckInterface__checkVendor_name = "checkVendor"; - -static const ::std::string __VendorCheckService__VendorCheckInterface__checkEmployee_name = "checkEmployee"; - -static const ::std::string __VendorCheckService__VendorCheckInterface__checkMsgPass_name = "checkMsgPass"; - -static const ::std::string __VendorCheckService__VendorCheckInterface__isTaoJianghu_name = "isTaoJianghu"; - -static const ::std::string __VendorCheckService__VendorCheckInterface__isAllowP2p_name = "isAllowP2p"; - -static const ::std::string __VendorCheckService__VendorCheckInterface__isUidValidWithVersion_name = "isUidValidWithVersion"; - -void -IceInternal::incRef(::VendorCheckService::VendorCheckInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::VendorCheckService::VendorCheckInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::VendorCheckService::VendorCheckInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::VendorCheckService::VendorCheckInterface* p) -{ - p->__decRef(); -} - -void -VendorCheckService::__write(::IceInternal::BasicStream* __os, const ::VendorCheckService::VendorCheckInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -VendorCheckService::__read(::IceInternal::BasicStream* __is, ::VendorCheckService::VendorCheckInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::VendorCheckService::VendorCheckInterface; - v->__copyFrom(proxy); - } -} - -void -VendorCheckService::__write(::IceInternal::BasicStream* __os, const ::VendorCheckService::VendorCheckInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -VendorCheckService::__addObject(const VendorCheckInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -VendorCheckService::__usesClasses(const VendorCheckInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -VendorCheckService::__decRefUnsafe(const VendorCheckInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -VendorCheckService::__clearHandleUnsafe(VendorCheckInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::VendorCheckService::VendorCheckInterface::checkVendor(const ::std::string& uid, ::Ice::Int& flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__VendorCheckService__VendorCheckInterface__checkVendor_name); - __delBase = __getDelegate(); - ::IceDelegate::VendorCheckService::VendorCheckInterface* __del = dynamic_cast< ::IceDelegate::VendorCheckService::VendorCheckInterface*>(__delBase.get()); - return __del->checkVendor(uid, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::VendorCheckService::VendorCheckInterface::checkEmployee(const ::std::string& uid, ::Ice::Int& flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__VendorCheckService__VendorCheckInterface__checkEmployee_name); - __delBase = __getDelegate(); - ::IceDelegate::VendorCheckService::VendorCheckInterface* __del = dynamic_cast< ::IceDelegate::VendorCheckService::VendorCheckInterface*>(__delBase.get()); - return __del->checkEmployee(uid, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::VendorCheckService::VendorCheckInterface::checkMsgPass(const ::std::string& from, const ::std::string& to, ::Ice::Int& flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__VendorCheckService__VendorCheckInterface__checkMsgPass_name); - __delBase = __getDelegate(); - ::IceDelegate::VendorCheckService::VendorCheckInterface* __del = dynamic_cast< ::IceDelegate::VendorCheckService::VendorCheckInterface*>(__delBase.get()); - return __del->checkMsgPass(from, to, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::VendorCheckService::VendorCheckInterface::isTaoJianghu(const ::std::string& uid1, const ::std::string& uid2, ::Ice::Int& flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__VendorCheckService__VendorCheckInterface__isTaoJianghu_name); - __delBase = __getDelegate(); - ::IceDelegate::VendorCheckService::VendorCheckInterface* __del = dynamic_cast< ::IceDelegate::VendorCheckService::VendorCheckInterface*>(__delBase.get()); - return __del->isTaoJianghu(uid1, uid2, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::VendorCheckService::VendorCheckInterface::isAllowP2p(const ::std::string& uid, ::Ice::Int& flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__VendorCheckService__VendorCheckInterface__isAllowP2p_name); - __delBase = __getDelegate(); - ::IceDelegate::VendorCheckService::VendorCheckInterface* __del = dynamic_cast< ::IceDelegate::VendorCheckService::VendorCheckInterface*>(__delBase.get()); - return __del->isAllowP2p(uid, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::VendorCheckService::VendorCheckInterface::isUidValidWithVersion(const ::std::string& uid, const ::std::string& version, ::Ice::Int& flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__VendorCheckService__VendorCheckInterface__isUidValidWithVersion_name); - __delBase = __getDelegate(); - ::IceDelegate::VendorCheckService::VendorCheckInterface* __del = dynamic_cast< ::IceDelegate::VendorCheckService::VendorCheckInterface*>(__delBase.get()); - return __del->isUidValidWithVersion(uid, version, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::VendorCheckService::VendorCheckInterface::ice_staticId() -{ - return ::VendorCheckService::VendorCheckInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::VendorCheckService::VendorCheckInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::VendorCheckService::VendorCheckInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::VendorCheckService::VendorCheckInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::VendorCheckService::VendorCheckInterface); -} - -bool -IceProxy::VendorCheckService::operator==(const ::IceProxy::VendorCheckService::VendorCheckInterface& l, const ::IceProxy::VendorCheckService::VendorCheckInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::VendorCheckService::operator!=(const ::IceProxy::VendorCheckService::VendorCheckInterface& l, const ::IceProxy::VendorCheckService::VendorCheckInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::VendorCheckService::operator<(const ::IceProxy::VendorCheckService::VendorCheckInterface& l, const ::IceProxy::VendorCheckService::VendorCheckInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::VendorCheckService::operator<=(const ::IceProxy::VendorCheckService::VendorCheckInterface& l, const ::IceProxy::VendorCheckService::VendorCheckInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::VendorCheckService::operator>(const ::IceProxy::VendorCheckService::VendorCheckInterface& l, const ::IceProxy::VendorCheckService::VendorCheckInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::VendorCheckService::operator>=(const ::IceProxy::VendorCheckService::VendorCheckInterface& l, const ::IceProxy::VendorCheckService::VendorCheckInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::VendorCheckService::VendorCheckInterface::checkVendor(const ::std::string& uid, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __VendorCheckService__VendorCheckInterface__checkVendor_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(flag); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::VendorCheckService::VendorCheckInterface::checkEmployee(const ::std::string& uid, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __VendorCheckService__VendorCheckInterface__checkEmployee_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(flag); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::VendorCheckService::VendorCheckInterface::checkMsgPass(const ::std::string& from, const ::std::string& to, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __VendorCheckService__VendorCheckInterface__checkMsgPass_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(from); - __os->write(to); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(flag); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::VendorCheckService::VendorCheckInterface::isTaoJianghu(const ::std::string& uid1, const ::std::string& uid2, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __VendorCheckService__VendorCheckInterface__isTaoJianghu_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid1); - __os->write(uid2); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(flag); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::VendorCheckService::VendorCheckInterface::isAllowP2p(const ::std::string& uid, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __VendorCheckService__VendorCheckInterface__isAllowP2p_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(flag); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::VendorCheckService::VendorCheckInterface::isUidValidWithVersion(const ::std::string& uid, const ::std::string& version, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __VendorCheckService__VendorCheckInterface__isUidValidWithVersion_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(version); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(flag); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::VendorCheckService::VendorCheckInterface::checkVendor(const ::std::string& uid, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __VendorCheckService__VendorCheckInterface__checkVendor_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::VendorCheckService::VendorCheckInterface* __servant = dynamic_cast< ::VendorCheckService::VendorCheckInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkVendor(uid, flag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::VendorCheckService::VendorCheckInterface::checkEmployee(const ::std::string& uid, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __VendorCheckService__VendorCheckInterface__checkEmployee_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::VendorCheckService::VendorCheckInterface* __servant = dynamic_cast< ::VendorCheckService::VendorCheckInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkEmployee(uid, flag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::VendorCheckService::VendorCheckInterface::checkMsgPass(const ::std::string& from, const ::std::string& to, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __VendorCheckService__VendorCheckInterface__checkMsgPass_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::VendorCheckService::VendorCheckInterface* __servant = dynamic_cast< ::VendorCheckService::VendorCheckInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkMsgPass(from, to, flag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::VendorCheckService::VendorCheckInterface::isTaoJianghu(const ::std::string& uid1, const ::std::string& uid2, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __VendorCheckService__VendorCheckInterface__isTaoJianghu_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::VendorCheckService::VendorCheckInterface* __servant = dynamic_cast< ::VendorCheckService::VendorCheckInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->isTaoJianghu(uid1, uid2, flag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::VendorCheckService::VendorCheckInterface::isAllowP2p(const ::std::string& uid, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __VendorCheckService__VendorCheckInterface__isAllowP2p_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::VendorCheckService::VendorCheckInterface* __servant = dynamic_cast< ::VendorCheckService::VendorCheckInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->isAllowP2p(uid, flag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::VendorCheckService::VendorCheckInterface::isUidValidWithVersion(const ::std::string& uid, const ::std::string& version, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __VendorCheckService__VendorCheckInterface__isUidValidWithVersion_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::VendorCheckService::VendorCheckInterface* __servant = dynamic_cast< ::VendorCheckService::VendorCheckInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->isUidValidWithVersion(uid, version, flag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -VendorCheckService::VendorCheckInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __VendorCheckService__VendorCheckInterface_ids[2] = -{ - "::Ice::Object", - "::VendorCheckService::VendorCheckInterface" -}; - -bool -VendorCheckService::VendorCheckInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__VendorCheckService__VendorCheckInterface_ids, __VendorCheckService__VendorCheckInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -VendorCheckService::VendorCheckInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__VendorCheckService__VendorCheckInterface_ids[0], &__VendorCheckService__VendorCheckInterface_ids[2]); -} - -const ::std::string& -VendorCheckService::VendorCheckInterface::ice_id(const ::Ice::Current&) const -{ - return __VendorCheckService__VendorCheckInterface_ids[1]; -} - -const ::std::string& -VendorCheckService::VendorCheckInterface::ice_staticId() -{ - return __VendorCheckService__VendorCheckInterface_ids[1]; -} - -::IceInternal::DispatchStatus -VendorCheckService::VendorCheckInterface::___checkVendor(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::Int flag; - ::Ice::Int __ret = checkVendor(uid, flag, __current); - __os->write(flag); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -VendorCheckService::VendorCheckInterface::___checkEmployee(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::Int flag; - ::Ice::Int __ret = checkEmployee(uid, flag, __current); - __os->write(flag); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -VendorCheckService::VendorCheckInterface::___checkMsgPass(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string from; - ::std::string to; - __is->read(from); - __is->read(to); - ::Ice::Int flag; - ::Ice::Int __ret = checkMsgPass(from, to, flag, __current); - __os->write(flag); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -VendorCheckService::VendorCheckInterface::___isTaoJianghu(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid1; - ::std::string uid2; - __is->read(uid1); - __is->read(uid2); - ::Ice::Int flag; - ::Ice::Int __ret = isTaoJianghu(uid1, uid2, flag, __current); - __os->write(flag); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -VendorCheckService::VendorCheckInterface::___isAllowP2p(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::Int flag; - ::Ice::Int __ret = isAllowP2p(uid, flag, __current); - __os->write(flag); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -VendorCheckService::VendorCheckInterface::___isUidValidWithVersion(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string version; - __is->read(uid); - __is->read(version); - ::Ice::Int flag; - ::Ice::Int __ret = isUidValidWithVersion(uid, version, flag, __current); - __os->write(flag); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __VendorCheckService__VendorCheckInterface_all[] = -{ - "checkEmployee", - "checkMsgPass", - "checkVendor", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "isAllowP2p", - "isTaoJianghu", - "isUidValidWithVersion" -}; - -::IceInternal::DispatchStatus -VendorCheckService::VendorCheckInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__VendorCheckService__VendorCheckInterface_all, __VendorCheckService__VendorCheckInterface_all + 10, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __VendorCheckService__VendorCheckInterface_all) - { - case 0: - { - return ___checkEmployee(in, current); - } - case 1: - { - return ___checkMsgPass(in, current); - } - case 2: - { - return ___checkVendor(in, current); - } - case 3: - { - return ___ice_id(in, current); - } - case 4: - { - return ___ice_ids(in, current); - } - case 5: - { - return ___ice_isA(in, current); - } - case 6: - { - return ___ice_ping(in, current); - } - case 7: - { - return ___isAllowP2p(in, current); - } - case 8: - { - return ___isTaoJianghu(in, current); - } - case 9: - { - return ___isUidValidWithVersion(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -VendorCheckService::VendorCheckInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -VendorCheckService::VendorCheckInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -VendorCheckService::VendorCheckInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type VendorCheckService::VendorCheckInterface was not generated with stream support"; - throw ex; -} - -void -VendorCheckService::VendorCheckInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type VendorCheckService::VendorCheckInterface was not generated with stream support"; - throw ex; -} - -void -VendorCheckService::__patch__VendorCheckInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::VendorCheckService::VendorCheckInterfacePtr* p = static_cast< ::VendorCheckService::VendorCheckInterfacePtr*>(__addr); - assert(p); - *p = ::VendorCheckService::VendorCheckInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::VendorCheckService::VendorCheckInterface::ice_staticId(); - throw e; - } -} - -bool -VendorCheckService::operator==(const ::VendorCheckService::VendorCheckInterface& l, const ::VendorCheckService::VendorCheckInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -VendorCheckService::operator!=(const ::VendorCheckService::VendorCheckInterface& l, const ::VendorCheckService::VendorCheckInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -VendorCheckService::operator<(const ::VendorCheckService::VendorCheckInterface& l, const ::VendorCheckService::VendorCheckInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -VendorCheckService::operator<=(const ::VendorCheckService::VendorCheckInterface& l, const ::VendorCheckService::VendorCheckInterface& r) -{ - return l < r || l == r; -} - -bool -VendorCheckService::operator>(const ::VendorCheckService::VendorCheckInterface& l, const ::VendorCheckService::VendorCheckInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -VendorCheckService::operator>=(const ::VendorCheckService::VendorCheckInterface& l, const ::VendorCheckService::VendorCheckInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/.svn/text-base/webtcserv.cpp.svn-base b/features/aliww/source/.svn/text-base/webtcserv.cpp.svn-base deleted file mode 100644 index f7f126d..0000000 --- a/features/aliww/source/.svn/text-base/webtcserv.cpp.svn-base +++ /dev/null @@ -1,2292 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `webtcserv.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__GetUserTribe_name = "GetUserTribe"; - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__AddUserTribes_name = "AddUserTribes"; - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__AddUserTribe_name = "AddUserTribe"; - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__DelUserTribe_name = "DelUserTribe"; - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__ChgUserTribe_name = "ChgUserTribe"; - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__UpdateTribe_name = "UpdateTribe"; - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__RemoveTribe_name = "RemoveTribe"; - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__AddWebTribeGroup_name = "AddWebTribeGroup"; - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__ChgWebTribeGroupName_name = "ChgWebTribeGroupName"; - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__DelWebTribeGroup_name = "DelWebTribeGroup"; - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__GetWebTribeGroup_name = "GetWebTribeGroup"; - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__GetServiceWebGroup_name = "GetServiceWebGroup"; - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__GetUserWebGroup_name = "GetUserWebGroup"; - -void -IceInternal::incRef(::WebTribeCacheService::WebTCSrvMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::WebTribeCacheService::WebTCSrvMgr* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::WebTribeCacheService::WebTCSrvMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::WebTribeCacheService::WebTCSrvMgr* p) -{ - p->__decRef(); -} - -void -WebTribeCacheService::__write(::IceInternal::BasicStream* __os, const ::WebTribeCacheService::WebTCSrvMgrPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -WebTribeCacheService::__read(::IceInternal::BasicStream* __is, ::WebTribeCacheService::WebTCSrvMgrPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::WebTribeCacheService::WebTCSrvMgr; - v->__copyFrom(proxy); - } -} - -void -WebTribeCacheService::__write(::IceInternal::BasicStream* __os, const ::WebTribeCacheService::WebTCSrvMgrPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -WebTribeCacheService::SWebTribeInfo::operator==(const SWebTribeInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -WebTribeCacheService::SWebTribeInfo::operator!=(const SWebTribeInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(tribeLevel != __rhs.tribeLevel) - { - return true; - } - if(tribeStatus != __rhs.tribeStatus) - { - return true; - } - if(extSign != __rhs.extSign) - { - return true; - } - if(groupStamp != __rhs.groupStamp) - { - return true; - } - if(openTribe != __rhs.openTribe) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - return false; -} - -bool -WebTribeCacheService::SWebTribeInfo::operator<(const SWebTribeInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(tribeLevel < __rhs.tribeLevel) - { - return true; - } - else if(__rhs.tribeLevel < tribeLevel) - { - return false; - } - if(tribeStatus < __rhs.tribeStatus) - { - return true; - } - else if(__rhs.tribeStatus < tribeStatus) - { - return false; - } - if(extSign < __rhs.extSign) - { - return true; - } - else if(__rhs.extSign < extSign) - { - return false; - } - if(groupStamp < __rhs.groupStamp) - { - return true; - } - else if(__rhs.groupStamp < groupStamp) - { - return false; - } - if(openTribe < __rhs.openTribe) - { - return true; - } - else if(__rhs.openTribe < openTribe) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - return false; -} - -void -WebTribeCacheService::SWebTribeInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(name); - __os->write(tribeLevel); - __os->write(tribeStatus); - __os->write(extSign); - __os->write(groupStamp); - __os->write(openTribe); - __os->write(groupId); -} - -void -WebTribeCacheService::SWebTribeInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(name); - __is->read(tribeLevel); - __is->read(tribeStatus); - __is->read(extSign); - __is->read(groupStamp); - __is->read(openTribe); - __is->read(groupId); -} - -void -WebTribeCacheService::__write(::IceInternal::BasicStream* __os, const ::WebTribeCacheService::SWebTribeInfo* begin, const ::WebTribeCacheService::SWebTribeInfo* end, ::WebTribeCacheService::__U__SWebTribeInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -WebTribeCacheService::__read(::IceInternal::BasicStream* __is, ::WebTribeCacheService::SWebTribeInfoSeq& v, ::WebTribeCacheService::__U__SWebTribeInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 28); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -WebTribeCacheService::SWebTribeGroup::operator==(const SWebTribeGroup& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -WebTribeCacheService::SWebTribeGroup::operator!=(const SWebTribeGroup& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(groupName != __rhs.groupName) - { - return true; - } - if(serviceId != __rhs.serviceId) - { - return true; - } - if(siteId != __rhs.siteId) - { - return true; - } - if(webId != __rhs.webId) - { - return true; - } - return false; -} - -bool -WebTribeCacheService::SWebTribeGroup::operator<(const SWebTribeGroup& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(groupName < __rhs.groupName) - { - return true; - } - else if(__rhs.groupName < groupName) - { - return false; - } - if(serviceId < __rhs.serviceId) - { - return true; - } - else if(__rhs.serviceId < serviceId) - { - return false; - } - if(siteId < __rhs.siteId) - { - return true; - } - else if(__rhs.siteId < siteId) - { - return false; - } - if(webId < __rhs.webId) - { - return true; - } - else if(__rhs.webId < webId) - { - return false; - } - return false; -} - -void -WebTribeCacheService::SWebTribeGroup::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(groupId); - __os->write(groupName); - __os->write(serviceId); - __os->write(siteId); - __os->write(webId); -} - -void -WebTribeCacheService::SWebTribeGroup::__read(::IceInternal::BasicStream* __is) -{ - __is->read(groupId); - __is->read(groupName); - __is->read(serviceId); - __is->read(siteId); - __is->read(webId); -} - -void -WebTribeCacheService::__write(::IceInternal::BasicStream* __os, const ::WebTribeCacheService::SWebTribeGroup* begin, const ::WebTribeCacheService::SWebTribeGroup* end, ::WebTribeCacheService::__U__SWebTribeGroupSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -WebTribeCacheService::__read(::IceInternal::BasicStream* __is, ::WebTribeCacheService::SWebTribeGroupSeq& v, ::WebTribeCacheService::__U__SWebTribeGroupSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 12); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -WebTribeCacheService::__addObject(const WebTCSrvMgrPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -WebTribeCacheService::__usesClasses(const WebTCSrvMgrPtr& p) -{ - return p->__usesClasses(); -} - -void -WebTribeCacheService::__decRefUnsafe(const WebTCSrvMgrPtr& p) -{ - p->__decRefUnsafe(); -} - -void -WebTribeCacheService::__clearHandleUnsafe(WebTCSrvMgrPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::GetUserTribe(const ::std::string& userId, ::WebTribeCacheService::SWebTribeInfoSeq& tribeList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__GetUserTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->GetUserTribe(userId, tribeList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::AddUserTribes(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfoSeq& tribeList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__AddUserTribes_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->AddUserTribes(userId, tribeList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::AddUserTribe(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfo& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__AddUserTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->AddUserTribe(userId, tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::DelUserTribe(const ::std::string& userId, ::Ice::Long tribeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__DelUserTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->DelUserTribe(userId, tribeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::ChgUserTribe(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfo& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__ChgUserTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->ChgUserTribe(userId, tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::UpdateTribe(const ::WebTribeCacheService::SWebTribeInfo& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__UpdateTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->UpdateTribe(tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::RemoveTribe(::Ice::Long tribeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__RemoveTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->RemoveTribe(tribeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::AddWebTribeGroup(const ::WebTribeCacheService::SWebTribeGroup& webGroup, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__AddWebTribeGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->AddWebTribeGroup(webGroup, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::ChgWebTribeGroupName(::Ice::Long groupId, const ::std::string& groupName, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__ChgWebTribeGroupName_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->ChgWebTribeGroupName(groupId, groupName, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::DelWebTribeGroup(::Ice::Long groupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__DelWebTribeGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->DelWebTribeGroup(groupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::GetWebTribeGroup(::Ice::Long groupId, ::WebTribeCacheService::SWebTribeGroup& groupInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__GetWebTribeGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->GetWebTribeGroup(groupId, groupInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::GetServiceWebGroup(const ::Ice::StringSeq& webServices, ::WebTribeCacheService::SWebTribeGroupSeq& groupList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__GetServiceWebGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->GetServiceWebGroup(webServices, groupList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::GetUserWebGroup(const ::std::string& userId, ::WebTribeCacheService::SWebTribeGroupSeq& groupList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__GetUserWebGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->GetUserWebGroup(userId, groupList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::WebTribeCacheService::WebTCSrvMgr::ice_staticId() -{ - return ::WebTribeCacheService::WebTCSrvMgr::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::WebTribeCacheService::WebTCSrvMgr::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::WebTribeCacheService::WebTCSrvMgr); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::WebTribeCacheService::WebTCSrvMgr::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::WebTribeCacheService::WebTCSrvMgr); -} - -bool -IceProxy::WebTribeCacheService::operator==(const ::IceProxy::WebTribeCacheService::WebTCSrvMgr& l, const ::IceProxy::WebTribeCacheService::WebTCSrvMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::WebTribeCacheService::operator!=(const ::IceProxy::WebTribeCacheService::WebTCSrvMgr& l, const ::IceProxy::WebTribeCacheService::WebTCSrvMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::WebTribeCacheService::operator<(const ::IceProxy::WebTribeCacheService::WebTCSrvMgr& l, const ::IceProxy::WebTribeCacheService::WebTCSrvMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::WebTribeCacheService::operator<=(const ::IceProxy::WebTribeCacheService::WebTCSrvMgr& l, const ::IceProxy::WebTribeCacheService::WebTCSrvMgr& r) -{ - return l < r || l == r; -} - -bool -IceProxy::WebTribeCacheService::operator>(const ::IceProxy::WebTribeCacheService::WebTCSrvMgr& l, const ::IceProxy::WebTribeCacheService::WebTCSrvMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::WebTribeCacheService::operator>=(const ::IceProxy::WebTribeCacheService::WebTCSrvMgr& l, const ::IceProxy::WebTribeCacheService::WebTCSrvMgr& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::GetUserTribe(const ::std::string& userId, ::WebTribeCacheService::SWebTribeInfoSeq& tribeList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__GetUserTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::WebTribeCacheService::__read(__is, tribeList, ::WebTribeCacheService::__U__SWebTribeInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::AddUserTribes(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfoSeq& tribeList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__AddUserTribes_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - if(tribeList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::WebTribeCacheService::__write(__os, &tribeList[0], &tribeList[0] + tribeList.size(), ::WebTribeCacheService::__U__SWebTribeInfoSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::AddUserTribe(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__AddUserTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::DelUserTribe(const ::std::string& userId, ::Ice::Long tribeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__DelUserTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::ChgUserTribe(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__ChgUserTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::UpdateTribe(const ::WebTribeCacheService::SWebTribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__UpdateTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::RemoveTribe(::Ice::Long tribeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__RemoveTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::AddWebTribeGroup(const ::WebTribeCacheService::SWebTribeGroup& webGroup, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__AddWebTribeGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - webGroup.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::ChgWebTribeGroupName(::Ice::Long groupId, const ::std::string& groupName, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__ChgWebTribeGroupName_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(groupId); - __os->write(groupName); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::DelWebTribeGroup(::Ice::Long groupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__DelWebTribeGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::GetWebTribeGroup(::Ice::Long groupId, ::WebTribeCacheService::SWebTribeGroup& groupInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__GetWebTribeGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - groupInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::GetServiceWebGroup(const ::Ice::StringSeq& webServices, ::WebTribeCacheService::SWebTribeGroupSeq& groupList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__GetServiceWebGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(webServices.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&webServices[0], &webServices[0] + webServices.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::WebTribeCacheService::__read(__is, groupList, ::WebTribeCacheService::__U__SWebTribeGroupSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::GetUserWebGroup(const ::std::string& userId, ::WebTribeCacheService::SWebTribeGroupSeq& groupList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__GetUserWebGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::WebTribeCacheService::__read(__is, groupList, ::WebTribeCacheService::__U__SWebTribeGroupSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::GetUserTribe(const ::std::string& userId, ::WebTribeCacheService::SWebTribeInfoSeq& tribeList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__GetUserTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUserTribe(userId, tribeList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::AddUserTribes(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfoSeq& tribeList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__AddUserTribes_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddUserTribes(userId, tribeList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::AddUserTribe(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__AddUserTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddUserTribe(userId, tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::DelUserTribe(const ::std::string& userId, ::Ice::Long tribeId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__DelUserTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DelUserTribe(userId, tribeId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::ChgUserTribe(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__ChgUserTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->ChgUserTribe(userId, tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::UpdateTribe(const ::WebTribeCacheService::SWebTribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__UpdateTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateTribe(tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::RemoveTribe(::Ice::Long tribeId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__RemoveTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->RemoveTribe(tribeId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::AddWebTribeGroup(const ::WebTribeCacheService::SWebTribeGroup& webGroup, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__AddWebTribeGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddWebTribeGroup(webGroup, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::ChgWebTribeGroupName(::Ice::Long groupId, const ::std::string& groupName, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__ChgWebTribeGroupName_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->ChgWebTribeGroupName(groupId, groupName, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::DelWebTribeGroup(::Ice::Long groupId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__DelWebTribeGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DelWebTribeGroup(groupId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::GetWebTribeGroup(::Ice::Long groupId, ::WebTribeCacheService::SWebTribeGroup& groupInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__GetWebTribeGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetWebTribeGroup(groupId, groupInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::GetServiceWebGroup(const ::Ice::StringSeq& webServices, ::WebTribeCacheService::SWebTribeGroupSeq& groupList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__GetServiceWebGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetServiceWebGroup(webServices, groupList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::GetUserWebGroup(const ::std::string& userId, ::WebTribeCacheService::SWebTribeGroupSeq& groupList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__GetUserWebGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUserWebGroup(userId, groupList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -WebTribeCacheService::WebTCSrvMgr::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr_ids[2] = -{ - "::Ice::Object", - "::WebTribeCacheService::WebTCSrvMgr" -}; - -bool -WebTribeCacheService::WebTCSrvMgr::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__WebTribeCacheService__WebTCSrvMgr_ids, __WebTribeCacheService__WebTCSrvMgr_ids + 2, _s); -} - -::std::vector< ::std::string> -WebTribeCacheService::WebTCSrvMgr::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__WebTribeCacheService__WebTCSrvMgr_ids[0], &__WebTribeCacheService__WebTCSrvMgr_ids[2]); -} - -const ::std::string& -WebTribeCacheService::WebTCSrvMgr::ice_id(const ::Ice::Current&) const -{ - return __WebTribeCacheService__WebTCSrvMgr_ids[1]; -} - -const ::std::string& -WebTribeCacheService::WebTCSrvMgr::ice_staticId() -{ - return __WebTribeCacheService__WebTCSrvMgr_ids[1]; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___GetUserTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::WebTribeCacheService::SWebTribeInfoSeq tribeList; - ::Ice::Int __ret = GetUserTribe(userId, tribeList, __current); - if(tribeList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::WebTribeCacheService::__write(__os, &tribeList[0], &tribeList[0] + tribeList.size(), ::WebTribeCacheService::__U__SWebTribeInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___AddUserTribes(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::WebTribeCacheService::SWebTribeInfoSeq tribeList; - __is->read(userId); - ::WebTribeCacheService::__read(__is, tribeList, ::WebTribeCacheService::__U__SWebTribeInfoSeq()); - ::Ice::Int __ret = AddUserTribes(userId, tribeList, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___AddUserTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::WebTribeCacheService::SWebTribeInfo tribeInfo; - __is->read(userId); - tribeInfo.__read(__is); - ::Ice::Int __ret = AddUserTribe(userId, tribeInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___DelUserTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Long tribeId; - __is->read(userId); - __is->read(tribeId); - ::Ice::Int __ret = DelUserTribe(userId, tribeId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___ChgUserTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::WebTribeCacheService::SWebTribeInfo tribeInfo; - __is->read(userId); - tribeInfo.__read(__is); - ::Ice::Int __ret = ChgUserTribe(userId, tribeInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___UpdateTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::WebTribeCacheService::SWebTribeInfo tribeInfo; - tribeInfo.__read(__is); - ::Ice::Int __ret = UpdateTribe(tribeInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___RemoveTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long tribeId; - __is->read(tribeId); - ::Ice::Int __ret = RemoveTribe(tribeId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___AddWebTribeGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::WebTribeCacheService::SWebTribeGroup webGroup; - webGroup.__read(__is); - ::Ice::Int __ret = AddWebTribeGroup(webGroup, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___ChgWebTribeGroupName(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long groupId; - ::std::string groupName; - __is->read(groupId); - __is->read(groupName); - ::Ice::Int __ret = ChgWebTribeGroupName(groupId, groupName, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___DelWebTribeGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long groupId; - __is->read(groupId); - ::Ice::Int __ret = DelWebTribeGroup(groupId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___GetWebTribeGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long groupId; - __is->read(groupId); - ::WebTribeCacheService::SWebTribeGroup groupInfo; - ::Ice::Int __ret = GetWebTribeGroup(groupId, groupInfo, __current); - groupInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___GetServiceWebGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::StringSeq webServices; - __is->read(webServices); - ::WebTribeCacheService::SWebTribeGroupSeq groupList; - ::Ice::Int __ret = GetServiceWebGroup(webServices, groupList, __current); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::WebTribeCacheService::__write(__os, &groupList[0], &groupList[0] + groupList.size(), ::WebTribeCacheService::__U__SWebTribeGroupSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___GetUserWebGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::WebTribeCacheService::SWebTribeGroupSeq groupList; - ::Ice::Int __ret = GetUserWebGroup(userId, groupList, __current); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::WebTribeCacheService::__write(__os, &groupList[0], &groupList[0] + groupList.size(), ::WebTribeCacheService::__U__SWebTribeGroupSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __WebTribeCacheService__WebTCSrvMgr_all[] = -{ - "AddUserTribe", - "AddUserTribes", - "AddWebTribeGroup", - "ChgUserTribe", - "ChgWebTribeGroupName", - "DelUserTribe", - "DelWebTribeGroup", - "GetServiceWebGroup", - "GetUserTribe", - "GetUserWebGroup", - "GetWebTribeGroup", - "RemoveTribe", - "UpdateTribe", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__WebTribeCacheService__WebTCSrvMgr_all, __WebTribeCacheService__WebTCSrvMgr_all + 17, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __WebTribeCacheService__WebTCSrvMgr_all) - { - case 0: - { - return ___AddUserTribe(in, current); - } - case 1: - { - return ___AddUserTribes(in, current); - } - case 2: - { - return ___AddWebTribeGroup(in, current); - } - case 3: - { - return ___ChgUserTribe(in, current); - } - case 4: - { - return ___ChgWebTribeGroupName(in, current); - } - case 5: - { - return ___DelUserTribe(in, current); - } - case 6: - { - return ___DelWebTribeGroup(in, current); - } - case 7: - { - return ___GetServiceWebGroup(in, current); - } - case 8: - { - return ___GetUserTribe(in, current); - } - case 9: - { - return ___GetUserWebGroup(in, current); - } - case 10: - { - return ___GetWebTribeGroup(in, current); - } - case 11: - { - return ___RemoveTribe(in, current); - } - case 12: - { - return ___UpdateTribe(in, current); - } - case 13: - { - return ___ice_id(in, current); - } - case 14: - { - return ___ice_ids(in, current); - } - case 15: - { - return ___ice_isA(in, current); - } - case 16: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -WebTribeCacheService::WebTCSrvMgr::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -WebTribeCacheService::WebTCSrvMgr::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -WebTribeCacheService::WebTCSrvMgr::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type WebTribeCacheService::WebTCSrvMgr was not generated with stream support"; - throw ex; -} - -void -WebTribeCacheService::WebTCSrvMgr::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type WebTribeCacheService::WebTCSrvMgr was not generated with stream support"; - throw ex; -} - -void -WebTribeCacheService::__patch__WebTCSrvMgrPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::WebTribeCacheService::WebTCSrvMgrPtr* p = static_cast< ::WebTribeCacheService::WebTCSrvMgrPtr*>(__addr); - assert(p); - *p = ::WebTribeCacheService::WebTCSrvMgrPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::WebTribeCacheService::WebTCSrvMgr::ice_staticId(); - throw e; - } -} - -bool -WebTribeCacheService::operator==(const ::WebTribeCacheService::WebTCSrvMgr& l, const ::WebTribeCacheService::WebTCSrvMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -WebTribeCacheService::operator!=(const ::WebTribeCacheService::WebTCSrvMgr& l, const ::WebTribeCacheService::WebTCSrvMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -WebTribeCacheService::operator<(const ::WebTribeCacheService::WebTCSrvMgr& l, const ::WebTribeCacheService::WebTCSrvMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -WebTribeCacheService::operator<=(const ::WebTribeCacheService::WebTCSrvMgr& l, const ::WebTribeCacheService::WebTCSrvMgr& r) -{ - return l < r || l == r; -} - -bool -WebTribeCacheService::operator>(const ::WebTribeCacheService::WebTCSrvMgr& l, const ::WebTribeCacheService::WebTCSrvMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -WebTribeCacheService::operator>=(const ::WebTribeCacheService::WebTCSrvMgr& l, const ::WebTribeCacheService::WebTCSrvMgr& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/CWWSimulator.cpp b/features/aliww/source/CWWSimulator.cpp deleted file mode 100644 index aabb606..0000000 --- a/features/aliww/source/CWWSimulator.cpp +++ /dev/null @@ -1,1221 +0,0 @@ -/* * ===================================================================================== * * - * - * Filename: CWWSimulator.cpp - * Description: - * - * Version: 1.0 - * Created: 2010å¹´12月14æ—¥ 16æ—¶48分09秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "CWWSimulator.h" -#include "sc_head.h" -#include "imsc_cmd.h" -#include "imsc_pack.h" -#include "imsc_cmd_2Str.h" -#include "RSAWrapper.h" -#include "md5hash.h" -#include -#include -#include - -using namespace std; - -char* CWWSimulator::GetRandStr() -{ - char cstr[512]; - memset(cstr,0,512); - sprintf(cstr,"%s%d%s%d%ld",m_username.c_str(),rand(),m_password.c_str(),rand(),time(0)); - return cstr; -} - -string CWWSimulator::GetUUID() -{ - char cstr[512]; - memset(cstr,0,512); - sprintf(cstr,"%s%d%s%d%ld",m_username.size()>0?m_username.c_str():"no_name",rand(),m_password.size()>0?m_password.c_str():"no_pass",rand(),time(0)); - return string(cstr); -} - -CWWSimulator::CWWSimulator() -{ - srand(time(0)); - m_bIsConnected = false; - m_bIsReceiving = false; -} - -CWWSimulator::CWWSimulator(string& username, string& password, string version, string imServerIP, uint16_t port): - m_username(username), m_password(password), m_version(version), m_imServerIP(imServerIP), m_port(port) -{ - srand(time(0)); - m_bIsConnected = false; - m_bIsReceiving = false; - -} -CWWSimulator::~CWWSimulator() -{ - //Detach(); -} -void CWWSimulator::SetUser(string& username, string& password) -{ - m_username = username; - m_password = password; -} -void CWWSimulator::SetSessionNo(string& sessionNo) -{ - /* - tpfs测时时,tpfsæœåŠ¡å™¨å¯¹sessionno的验è¯åšäº†mock - 使得当sessionno是AAA开头的string时验è¯è‚¯å®šé€šè¿‡ - */ - //m_sessionno = "AAATESTSESSIONKEY"; - m_sessionno = sessionNo; -} - -void CWWSimulator::SetServerIP(string& imServerIP, uint16_t port) -{ - m_imServerIP = imServerIP; - m_port = port; -} -void CWWSimulator::SetTpfsIP(string& imServerIP, uint16_t port) -{ - m_tpfsIP = imServerIP; - m_tpfs_port = port; -} -void CWWSimulator::SetClient(string& version, uint32_t language) -{ - m_version = version; - m_clientLanguage = language; -} -/* -用真实密ç ç™»å½• -tokenFlag = TOKEN_FLAG = 0; -用token登录 -tokenFlag = TOKEN_FLAG = 1; -*/ -void CWWSimulator::SetStatus(uint8_t tokenFlag, int loginState) -{ - m_tokenFlag = tokenFlag; - m_nLoginState = loginState; -} - -bool CWWSimulator::ConnectTpfs(void) -{ - return Connect(m_tpfsFD,m_tpfsIP,m_tpfs_port); -} - -bool CWWSimulator::Connect(void) -{ - return Connect(m_socketFD,m_imServerIP,m_port); -} - -void setblocking(int sock) -{ - int opts; - opts=fcntl(sock,F_GETFL); - if(opts<0) - { - printf("fcntl(sock,GETFL)\n"); - exit(1); - } - opts = opts & (~O_NONBLOCK); - if(fcntl(sock,F_SETFL,opts)<0) - { - printf("fcntl(sock,SETFL,opts)\n"); - exit(1); - } -} - -bool CWWSimulator::Connect(uint32_t& fd, string ip, uint16_t port) -{ - uint32_t sockfd; - struct sockaddr_in server_addr; - - sockfd = socket(AF_INET, SOCK_STREAM, 0); - - server_addr.sin_family = AF_INET; - server_addr.sin_addr.s_addr = inet_addr(ip.c_str()); - server_addr.sin_port = htons(port); - - //cout << "serverIP: " << ip.c_str() << endl; - //cout << "port: " << port << endl; - if( (connect(sockfd, (struct sockaddr*)&server_addr, sizeof(server_addr))) != -1) - { - fd = sockfd; - setblocking(sockfd); - m_bIsConnected = true; - cout << "Server connected" << endl; - return true; - } - else - { - cout << "connect server failed" << endl; - m_bIsConnected = false; - perror("connect error!"); - return false; - } - -} - -bool CWWSimulator::SendPack(string& pack) -{ - return SendPack(pack, m_socketFD); -} - -bool CWWSimulator::SendPack(string& pack, uint32_t fd) -{ - uint32_t sendLen = 0; - uint32_t totalLen = 0; - uint32_t packSize = pack.size(); - while(packSize != totalLen) - { - sendLen = write(fd, const_cast(pack.c_str())+totalLen, packSize-totalLen); - totalLen += sendLen; - if(sendLen <= 0) - { - fprintf(stderr,"write fd err . fd == %d - %m",fd); - return false; - } - } - return true; -} - -bool CWWSimulator::StartReceiving() -{ - return StartReceiving(m_socketFD); -} - -bool CWWSimulator::StartReceiving(uint32_t fd) -{ - if(m_bIsConnected != true) - { - //cout<< "begin connect server" < vecTimeStamp; - long dwTimeStamps[16] = {0}; - for (int i=0;i<16;i++) vecTimeStamp.push_back(dwTimeStamps[i]); - reqLogin.SetTimestampList(vecTimeStamp); - VECTOR sHardCodeArray; - string sAllHardCode = "D85F450B524F2B3E20D663198181C601"; - reqLogin.SetHardcode(sHardCodeArray); - reqLogin.SetHardcheck(sAllHardCode); - string rid = "pcid=c4e0284ea47a400c814443c4771696c1"; - reqLogin.SetRid(rid); - reqLogin.PackData(m_loginstr,m_strkey); - break; - } - case IM_REQ_PRELOGIN: - { - Commander(IM_REQ_LOGIN); - CImReqPrelogin reqPrelogin; - reqPrelogin.SetConnectNo(m_connectNO); - string strRsaResult;//用æœåŠ¡ä¼ å›žçš„pubkey å°†m_usermd5str加密一下 - - int nRet = RSA_PublicEncrypt(m_pubkey.c_str(), m_pubkey.size(), - m_usermd5str.c_str(), m_usermd5str.size(), strRsaResult); - reqPrelogin.SetWorkKey(strRsaResult); - reqPrelogin.SetStrlogin(m_loginstr); - reqPrelogin.m_scHead.m_encrypt = 0; - string pack; - reqPrelogin.PackData(pack, m_strkey); - SendPack(pack); - //cout << "send IM_REQ_PRELOGIN " << endl; - break; - } - case IM_REQ_POSTLOGIN: - { - - CImReqPostlogin reqPostlogin; - reqPostlogin.SetPredefStatus(m_nLoginState& 0xff); - reqPostlogin.SetBasicStatus(m_nLoginState >> 16); - - string pack; - reqPostlogin.PackData(pack,m_strkey); - SendPack(pack); - //cout << "send IM_REQ_POSTLOGIN" << endl; - break; - } - case IM_REQ_CHGSTATUS: - { - uint64_t basicstatus = va_arg(ap, uint64_t); - uint64_t predefstatus = va_arg(ap, uint64_t); - CImReqChgstatus reqchgstatus; - reqchgstatus.SetBasicStatus(basicstatus); - reqchgstatus.SetPredefStatus(predefstatus); - string pack; - reqchgstatus.PackData(pack, m_strkey); - SendPack(pack); - break; - } - case IM_REQ_LOGOFF: - { - CImReqLogoff reqLogoff; - string pack; - reqLogoff.PackData(pack,m_strkey); - SendPack(pack); - //cout << "send IM_REQ_LOGOFF " << endl; - break; - } - case IM_REQ_GETWEB_SESSION: - { - CImReqGetwebSession reqgetws; - string pack; - reqgetws.PackData(pack,m_strkey); - SendPack(pack); - //cout << "send IM_REQ_GETWEB_SESSION" << endl; - break; - } - case IM_REQ_SENDIMMESSAGE: - { - string pack; - CImReqSendimmessage reqSendimmessage; - reqSendimmessage.SetTargetId("cntaobaojason3"); - reqSendimmessage.SetType(0x01);//是å¦å­˜ç¦»çº¿ 01å­˜ 00ä¸å­˜ - string msghead = "12345678"; - msghead[0] = 0x08; - msghead[1] = 0x00; - msghead[2] = 0x00; - msghead[3] = 0x00; - msghead[4] = 0x2F; - msghead[5] = 0x1F; - msghead[6] = 0x5D; - msghead[7] = 0x9E; - string msg = msghead + "\\C0\\S0xc.0xf0\\FArial\\TFrom CWWSimulator,In perf test"; - reqSendimmessage.SetMessage(msg); - reqSendimmessage.PackData(pack,m_strkey); - SendPack(pack); - //cout << "send IM_REQ_SENDIMMESSAGE" << endl; - break; - } - case IM_REQ_CHAT_CHKVER: - { - CImReqChatChkver reqchatcver; - reqchatcver.SetVersion(m_version); - reqchatcver.m_scHead.m_encrypt=0; - string pack; - reqchatcver.PackData(pack,""); - SendPack(pack,m_tpfsFD); - //cout << "send IM_REQ_CHAT_CHKVER" << endl; - break; - } - case IM_REQ_CHAT_IDENTIFY: - { - CImReqChatIdentify reqchatidf; - reqchatidf.m_scHead.m_reserved = 1; - reqchatidf.m_scHead.m_extdata = m_username; - reqchatidf.SetUid(m_username); - reqchatidf.SetVersion(m_version); - reqchatidf.SetSessionkey(m_sessionno); - //reqchatidf.SetSessionkey("AAATESTSESSIONKEY"); - - string randStr("xxxxxx"); - m_usermd5str = Md5Hash::GetMD5(m_username + m_password + randStr, true); - CDesEncrypt enc; - m_strkey = enc.SetKey(m_usermd5str); - - reqchatidf.PackData(m_tpfs_identifystr,m_strkey); - break; - } - case IM_REQ_CHAT_PREIDENTIFY: - { - Commander(IM_REQ_CHAT_IDENTIFY); - CImReqChatPreidentify reqchatpreidf; - string strRsaResult; - int nRet = RSA_PublicEncrypt(m_tpfs_pubkey.c_str(), m_tpfs_pubkey.size(), - m_usermd5str.c_str(), m_usermd5str.size(), strRsaResult); - reqchatpreidf.SetWorkKey(strRsaResult); - reqchatpreidf.SetConnectNo(m_tpfs_connectNO); - reqchatpreidf.SetStrlogin(m_tpfs_identifystr); - reqchatpreidf.m_scHead.m_encrypt = 0; - string pack; - reqchatpreidf.PackData(pack, m_strkey); - if(!SendPack(pack,m_tpfsFD)) - cout << "send IM_REQ_CHAT_PREIDENTIFY failed" << endl; - break; - } - case IM_REQ_CHAT_PUTPIC: - { - string pack; - string picdata = "111111111111111111112222222222222222222222333333333333333"; - //string picdata(va_arg(ap,char*)); - char cpicname[256] = {0}; - sprintf(cpicname,"%s_%d",Md5Hash::GetMD5(picdata).c_str(),picdata.length()); - string picname(cpicname); - CImReqChatPutpic reqChatPutpic; - - m_verb_sessionid = GetUUID(); - - reqChatPutpic.SetSessionid(m_verb_sessionid ); - - //reqChatPutpic.SetPickey("cc4d71902b6aea00782bb1e033cdba73_57"); - reqChatPutpic.SetPickey(picname); - reqChatPutpic.SetData(picdata); - reqChatPutpic.SetSize(picdata.size()); - reqChatPutpic.SetOffset(0); - reqChatPutpic.PackData(pack,m_strkey); - SendPack(pack,m_tpfsFD); - //cout << "send IM_REQ_CHAT_PUTPIC" << endl; - break; - } - case IM_REQ_CHAT_GETPIC: - { - char *cpicName = va_arg(ap,char *); - - string picName(cpicName); - string pack; - - CImReqChatGetpic reqChatGetpic; - m_verb_sessionid = GetUUID(); - - reqChatGetpic.SetSessionid(m_verb_sessionid); - //reqChatGetpic.SetPickey("cc4d71902b6aea00782bb1e033cdba73_57"); - reqChatGetpic.SetPickey(picName); - reqChatGetpic.PackData(pack,m_strkey); - - if(!SendPack(pack,m_tpfsFD)) - cout << "send IM_REQ_CHAT_GETPIC failed" << endl; - break; - } - case IM_REQ_CHAT_GETCAL: - { - string fromid(va_arg(ap,char*)); - string toid(va_arg(ap,char*)); - string startDate(va_arg(ap,char*)); - string endDate(va_arg(ap,char*)); - string pack; - - CImReqChatGetcal reqChatGetcal; - - m_verb_sessionid = GetUUID(); - reqChatGetcal.SetSessionid(m_verb_sessionid); - reqChatGetcal.SetUid(fromid); - reqChatGetcal.SetToid(toid); - reqChatGetcal.SetStartdate(startDate); - reqChatGetcal.SetEnddate(endDate); - //reqChatGetcal.SetToid("cntaobaoabc1999"); - //reqChatGetcal.SetStartdate("20110101"); - //reqChatGetcal.SetEnddate("20111111"); - reqChatGetcal.PackData(pack,m_strkey); - SendPack(pack,m_tpfsFD); - //cout << "send IM_REQ_CHAT_GETCAL" << endl; - break; - } - case IM_REQ_CHAT_GETTXT: - { - string fromid(va_arg(ap,char*)); - string toid(va_arg(ap, char*)); - - m_verb_sessionid = GetUUID(); - - CImReqChatGettxt reqchatgt; - reqchatgt.SetSessionid(m_verb_sessionid); - - reqchatgt.SetFromid(fromid); - reqchatgt.SetToid(toid); - reqchatgt.SetBegtime(va_arg(ap, uint64_t)); - reqchatgt.SetEndtime(va_arg(ap, uint64_t)); - reqchatgt.SetMsgnum(va_arg(ap, int)); - string pack; - reqchatgt.PackData(pack,m_strkey); - SendPack(pack, m_tpfsFD); - - //cout << "send IM_REQ_CHAT_GETTXT" << endl; - break; - } - case IM_REQ_UPDATE_UDBPROFILE: - { - string bloodType(va_arg(ap,char*)); - string mobileno(va_arg(ap, char*)); - map< string,string > m_profilelist; - m_profilelist.insert(map< string,string >::value_type("bloodType",bloodType)); - m_profilelist.insert(map< string,string >::value_type("mobileno",mobileno)); - CImReqUpdateUdbprofile req; - req.SetProfilelist(m_profilelist); - string pack; - req.PackData(pack, m_strkey); - SendPack(pack); - break; - } - default: - string cmdStr = IMSC_cmd2STR::IMSC_CMD_2STR(cmd); - //cout<< "There is no action for command:" << cmdStr << endl; - } - return ; -} - -uint16_t CWWSimulator::HandlePack(string& pack, void** p) -{ - void* pPack; - uint16_t ret = -1; - - CScHead hdr; - if(PACK_RIGHT != hdr.UnpackData(pack)) - { - //cout << "hdr Unpack failed,In HandlePack" << endl; - } - uint32_t cmd = hdr.m_cmd; - - string cmdStr = IMSC_cmd2STR::IMSC_CMD_2STR(cmd); - //cout << "cmd received: " << cmdStr <UnpackData(pack)) - { - //cout<<"CImRspCheckversion.UnpackData fail" << endl; - delete(pRspPack); - break; - } - //cout << "IM_RSP_CHECKVERSION retcode: " << pRspPack->GetRetcode() << endl; - m_connectNO = pRspPack->GetConnectNo(); - m_pubkey = pRspPack->GetPubkey(); - - ret = pRspPack->GetRetcode(); - delete(pRspPack); - break; - } - case IM_RSP_LOGIN: - { - //cout << "get IM_RSP_LOGIN " << endl; - CImRspLogin *pRspPack = new(CImRspLogin) ; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspLogin.UnpackData fail" << endl; - delete(pRspPack); - break; - } - //cout << "IM_RSP_LOGIN retcode: " << pRspPack->GetRetcode() << endl; - m_retcode = pRspPack->GetRetcode(); - m_dwTimeStampsFlag = pRspPack->GetTimestampFlag(); - m_strkey = pRspPack->GetWorkKey(); - CDesEncrypt enc; - m_strkey = enc.SetKey(m_strkey); - m_pwtoken = pRspPack->GetPwtoken(); - m_rid = pRspPack->GetRid(); - m_packRemark = pRspPack->GetRemark(); - ret = pRspPack->GetRetcode(); - delete(pRspPack); - break; - } - case IM_RSP_GETUSERINFO: - { - //cout << "get IM_RSP_GETUSERINFO" << endl; - ret = 0; - break; - } - case IM_RSP_GETGROUP: - { - //cout << "get IM_RSP_GETGROUP " << endl; - CImRspGetgroup *pRspPack = new(CImRspGetgroup) ; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspGetgroup.UnpackData fail" << endl; - delete(pRspPack); - break; - } - pRspPack->GetRetcode(); - pRspPack->GetGroupList(); - ret = pRspPack->GetRetcode(); - delete(pRspPack); - break; - } - case IM_RSP_GETCONTACT: - { - cout << "get IM_RSP_GETCONTACT " << endl; - CImRspGetcontact *pRspPack = new(CImRspGetcontact) ; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - cout<<"CImRspGetcontact.UnpackData fail" << endl; - delete(pRspPack); - break; - } - pRspPack->GetRetcode(); - VECTOR m_contactList = pRspPack->GetContactList(); - - cout <<" get contact count:"<< m_contactList.size() <GetRetcode(); - break; - } - case IM_NTF_STATUS: - { - cout << "get IM_NTF_STATUS " << endl; - CImNtfStatus *pRspPack = new(CImNtfStatus) ; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - cout<<"CImNtfStatus.UnpackData fail" << endl; - delete(pRspPack); - break; - } - VECTOR< SUserStatus > m_userStatusList = pRspPack->GetUserStatusList(); - - cout <<" get contact count:"<< m_userStatusList.size() <UnpackData(pack,m_strkey)) - { - //cout<<"CImRspLogoff.UnpackData fail" << endl; - delete(pRspPack); - break; - } - //cout << "IM_RSP_LOGOFF retcode: " << pRspPack->GetRetcode()<GetRetcode(); - delete(pRspPack); - break; - } - case IM_RSP_CHAT_IDENTIFY: - { - //cout << "get IM_RSP_CHAT_IDENTIFY " << endl; - CImRspChatIdentify *pRspPack = new(CImRspChatIdentify); - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspChatIdentify.UnpackData fail" << endl; - delete(pRspPack); - break; - } - //cout << "IM_RSP_CHAT_IDENTIFY retcode: " << pRspPack->GetRetcode() << endl; - ret = pRspPack->GetRetcode(); - delete(pRspPack); - break; - } - case IM_RSP_GETWEB_SESSION: - { - //cout << "get IM_RSP_GETWEB_SESSION" << endl; - CImRspGetwebSession *pRspPack = new(CImRspGetwebSession); - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspGetwebSession.UnpackData fail" << endl; - delete(pRspPack); - break; - } - //cout << "IM_RSP_GETWEB_SESSION retcode: " << pRspPack->GetRetcode() << endl; - //cout << "Get session NO : " << pRspPack->GetSessionNo() << endl; - m_sessionno = pRspPack->GetSessionNo(); - ret = pRspPack->GetRetcode(); - delete(pRspPack); - break; - } - case IM_RSP_CHAT_CHKVER: - { - //cout << "get IM_RSP_CHAT_CHKVER " << endl; - CImRspChatChkver *pRspPack = new(CImRspChatChkver); - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspChatChkver.UnpackData fail" << endl; - delete(pRspPack); - break; - } - //cout << "IM_RSP_CHAT_CHKVER retcode: " << pRspPack->GetRetcode() << endl; - m_tpfs_connectNO = pRspPack->GetConnectNo(); - m_tpfs_pubkey = pRspPack->GetPubkey(); - ret = pRspPack->GetRetcode(); - delete(pRspPack); - break; - } - case IM_RSP_CHAT_PUTPIC: - { - //cout << "get IM_RSP_CHAT_PUTPIC" << endl; - CImRspChatPutpic *pRspPack=new(CImRspChatPutpic); - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspChatPutpic.UnpackData fail" << endl; - delete(pRspPack); - break; - } - //cout << "IM_RSP_CHAT_PUTPIC retcode: " << pRspPack->GetRetcode() << endl; - ret = pRspPack->GetRetcode(); - delete(pRspPack); - break; - } - case IM_RSP_CHAT_GETPIC: - { - //cout << "get IM_RSP_CHAT_GETPIC " << endl; - CImRspChatGetpic *pRspPack = new(CImRspChatGetpic); - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - cout<<"CImRspChatGetpic.UnpackData fail" << endl; - delete(pRspPack); - break; - } - //cout << "IM_RSP_CHAT_GETPIC retcode: " << pRspPack->GetRetcode() << endl; - - ret = pRspPack->GetRetcode(); - delete(pRspPack); - break; - } - case IM_RSP_CHAT_GETCAL: - { - //cout << "get IM_RSP_CHAT_GETCAL " << endl; - CImRspChatGetcal *pRspPack = new(CImRspChatGetcal); - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspChatGetcal.UnpackData fail" << endl; - delete(pRspPack); - break; - } - //cout << "IM_RSP_CHAT_GETCAL retcode: " << pRspPack->GetRetcode() << endl; - - ret = pRspPack->GetRetcode(); - delete(pRspPack); - break; - } - case IM_RSP_GETBLACK: - { - ret = 0; - break; - } - case IM_RSP_GETREVBLACK: - { - ret = 0; - break; - } - case IM_RSP_CHAT_GETTXT: - { - //cout << "get IM_RSP_CHAT_GETTXT " << endl; - CImRspChatGettxt *pRspPack = new(CImRspChatGettxt); - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspChatGettxt.UnpackData fail" << endl; - delete(pRspPack); - break; - } - //cout << "IM_RSP_CHAT_GETTXT retcode: " << pRspPack->GetRetcode() << endl; - ret = pRspPack->GetRetcode(); - delete(pRspPack); - break; - } - case IM_RSP_UPDATE_UDBPROFILE: - { - //cout << "get IM_RSP_LOGOFF " << endl; - CImRspUpdateUdbprofile *pRspPack = new(CImRspUpdateUdbprofile); - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspUpdateUdbprofile.UnpackData fail" << endl; - delete(pRspPack); - break; - } - ret = pRspPack->GetRetcode(); - delete(pRspPack); - break; - } - default: - //cout << "There is no Handler for command: " << cmdStr << endl; - //cout << "username:" << m_username << " password:" << m_password << endl; - break; - } - //*p = pPack; - return ret; -} - -string CWWSimulator::ReceivePack() -{ - return ReceivePack(m_socketFD); -} - -string CWWSimulator::ReceivePack(uint32_t fd) -{ - if(fd == 0) - { - cout << "recv,but fd = 0" << endl; - return "error"; - } - char *recvBuf=new char[MAXDATASIZE]; - - string strPack; - string strTemp; - - uint32_t recvLen = 0; - uint32_t totalLen = 0; - uint32_t packSize = 0; - uint32_t storageLen; - storageLen = m_strStorage.size(); - - if(storageLen > 0) - { - packSize = UnPackhdr(m_strStorage); - if(packSize<=0) - { - fprintf(stderr,"UnPackhdr failed fd == %d\n",fd); - close(fd); - delete[] recvBuf;recvBuf=NULL; - return "error"; - - } - - if(packSize <= storageLen) - { - strPack = m_strStorage.substr(0,packSize); - m_strStorage = m_strStorage.substr(packSize); - delete[] recvBuf;recvBuf=NULL; - return strPack; - } - } - - m_bIsReceiving = true; - - while(m_bIsReceiving) - { - do - { - recvLen = recv(fd, recvBuf, MAXDATASIZE, 0); - } - while(recvLen== -1 && errno == EINTR); - - if(recvLen == 0) - { - fprintf(stderr,"fd closed by peer! recv ret == 0, fd == %d sessionid == %s - %m\n",fd,m_verb_sessionid.c_str()); - close(fd); - //m_bIsReceiving = false; - break; - } - else if(recvLen == -1) - { - fprintf(stderr,"recv error!recvLen == -1, fd == %d - %m\n",fd); - close(fd); - //Detach(); - //m_bIsReceiving = false; - //fprintf(stderr,"recv error! - %m"); - break; - } - - strTemp.assign(recvBuf, recvLen); - strTemp = m_strStorage + strTemp; - - totalLen = strTemp.size(); - packSize = UnPackhdr(strTemp); - - if(packSize == -1)//包头没有接收完整 - { - m_strStorage = strTemp; - strTemp.erase(); - continue; - } - - totalLen = strTemp.size(); - if(totalLen == packSize) - { - strPack = strTemp; - strTemp.erase(); - m_strStorage.erase(); - } - else if(totalLen < packSize) - { - m_strStorage = strTemp; - strTemp.erase(); - continue; - } - else //totalLen > packSize - { - strPack = strTemp.substr(0, packSize); - m_strStorage = strTemp.substr(packSize); - strTemp.erase(); - } - delete[] recvBuf;recvBuf=NULL; - return strPack; - //HandlePack(strPack); - } - delete[] recvBuf;recvBuf=NULL; -} -uint32_t CWWSimulator::UnPackhdr(string& pack) -{ - - CScHead hdr; - if(PACK_RIGHT != hdr.UnpackData(pack)) - { - //cout << "hdr Unpack data error,In ReceivePack" << endl; - return -1; - } - - uint32_t packSize = hdr.SizeExt() + hdr.m_len; - return packSize; - -} - -uint16_t CWWSimulator::login(string& msg) -{ - char *cmsg = (char*)malloc(1024); - string recvPack; - void *ppPack; - Connect(); - - Commander(IM_REQ_CHECKVERSION); - //cout << "==============after send IM_REQ_CHECKVERSION get 1st pack " << endl; - recvPack = ReceivePack(); - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_CHECKVERSION failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - - Commander(IM_REQ_PRELOGIN); - //cout << "==============after send IM_REQ_PRELOGIN get 1st pack " << endl; - recvPack = ReceivePack(); - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - //cout << "==============after send IM_REQ_PRELOGIN get 2nd pack " << endl; - recvPack = ReceivePack(); - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - //cout << "==============after send IM_REQ_PRELOGIN get 3rd pack " << endl; - recvPack = ReceivePack(); - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - //cout << "==============after send IM_REQ_PRELOGIN get 4th pack " << endl; - recvPack = ReceivePack(); - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - - Commander(IM_REQ_POSTLOGIN); - //cout << "==============after send IM_REQ_POSTLOGIN get 1st pack " << endl; - recvPack = ReceivePack(); - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - //cout << "==============after send IM_REQ_POSTLOGIN get 2nd pack " << endl; - recvPack = ReceivePack(); - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - free(cmsg); - return ret; -} - -uint16_t CWWSimulator::sendIMMessage(string& msg) -{ - char *cmsg = (char*)malloc(1024); - void* ppPack; - string recvPack; - Commander(IM_REQ_SENDIMMESSAGE); - //cout << "==============after send IM_REQ_SENDIMMESSAGE get 1st pack " << endl; - recvPack = ReceivePack(); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_SENDIMMESSAGE failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - free(cmsg); - return ret; -} -/* - å˜æ›´ç”¨æˆ·çŠ¶æ€ï¼Œå¦‚éšèº«ï¼Œå‚数详细定义è§æœåŠ¡å™¨ç«¯ä»£ç /imconstdef.h - BaseLib/public/include -*/ -uint16_t CWWSimulator::chgStatus(int basicstatus,int predefstatus,string& msg) -{ - void* ppPack; - Commander(IM_REQ_CHGSTATUS,basicstatus,predefstatus); - //cout << "==============after send IM_REQ_CHGSTATUS get 1st pack " << endl; - return 0; -} -uint16_t CWWSimulator::chgStatus_recieve(string& msg) -{ - char *cmsg = (char*)malloc(1024); - string recvPack; - void* ppPack; - recvPack = ReceivePack(); - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"chgstatus rsp failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - free(cmsg); - return ret; -} - -uint16_t CWWSimulator::createSession(string& msg) -{ - char *cmsg = (char*)malloc(1024); - if(!m_bIsConnected) - { - //cout << "before getwebsession must be login on" << endl; - } - - void* ppPack; - string recvPack; - Commander(IM_REQ_GETWEB_SESSION); - //cout << "==============after send IM_REQ_GETWEB_SESSION get 1st pack " << endl; - recvPack = ReceivePack(); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_GETWEB_SESSION failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - free(cmsg); - return ret; -} - -uint16_t CWWSimulator::chatPidfy(string& msg) -{ - char cmsg[512]; - void* ppPack; - string recvPack; - Commander(IM_REQ_CHAT_CHKVER); - //cout << "==============after send IM_REQ_CHAT_CHKVER get 1st pack " << endl; - recvPack = ReceivePack(m_tpfsFD); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - return ret; - } - Commander(IM_REQ_CHAT_PREIDENTIFY); - //cout << "==============after send IM_REQ_CHAT_PREIDENTIFY get 1st pack " << endl; - recvPack = ReceivePack(m_tpfsFD); - - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ) - { - sprintf(cmsg,"IM_REQ_CHAT_CHKVER failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - return ret; - } - return ret; -} - -uint16_t CWWSimulator::chatPutpic(const char* picdata, string& msg) -{ - void* ppPack; - Commander(IM_REQ_CHAT_PUTPIC, picdata); - //cout << "==============after send IM_REQ_CHAT_PUTPIC get 1st pack " << endl; - string recvPack = ReceivePack(m_tpfsFD); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - char cmsg[1024]; - sprintf(cmsg,"IM_REQ_CHAT_PUTPIC failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - } - return ret; -} - -uint16_t CWWSimulator::chatGetpic(const char* picName, string& msg) -{ - void* ppPack; - string recvPack; - Commander(IM_REQ_CHAT_GETPIC, picName); - //cout << "==============after send IM_REQ_CHAT_GETPIC get 1st pack " << endl; - recvPack = ReceivePack(m_tpfsFD); - if(recvPack.size()<24) - { - return -1; - } - - uint16_t ret = HandlePack(recvPack, &ppPack); - /* - 辛树对这个接å£çš„返回值处ç†è¿‡ï¼Œå¦‚果图片没找到会返回8091 - 这个错误代ç åªé’ˆå¯¹æ€§èƒ½æµ‹è¯•ï¼Œæ€§èƒ½æµ‹è¯•è®¤ä¸º8091å’Œ0一样算æˆåŠŸ - */ - - if(ret != 0 && ret != 8091 ) - { - char cmsg[1024]; - sprintf(cmsg,"IM_REQ_CHAT_GETPIC failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - return ret; - } - return ret; -} - -uint16_t CWWSimulator::chatGetcal(const char* fromid, const char* toid, const char* startDate, const char* endDate, string& msg) -{ - void* ppPack; - string recvPack; - Commander(IM_REQ_CHAT_GETCAL,fromid,toid,startDate,endDate); - //cout << "==============after send IM_REQ_CHAT_GETCAL get 1st pack " << endl; - recvPack = ReceivePack(m_tpfsFD); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ) - { - char cmsg[256]; - sprintf(cmsg,"IM_REQ_CHAT_GETCAL failed,ret:%d,username:%s,toid:%s\n",ret,fromid,toid); - msg = cmsg; - return ret; - } - return ret; -} - -uint16_t CWWSimulator::chatGettxt(const char* fromid, const char* toid, uint64_t startTime, uint64_t endTime, string& msg) -{ - char cmsg[512]; - void* ppPack; - Commander(IM_REQ_CHAT_GETTXT, fromid, toid, startTime, endTime, 100); - //cout << "==============after send IM_REQ_CHAT_GETTXT get 1st pack " << endl; - string recvPack; - recvPack = ReceivePack(m_tpfsFD); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_CHAT_GETTXT failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - return ret; - } - /* - CImRspChatGettxt *pPack; - do{ - recvPack = ReceivePack(m_tpfsFD); - pPack = (CImRspChatGettxt *)HandlePack(recvPack); - }while(pPack->GetIslast() == 0); - */ - return ret; -} -uint16_t CWWSimulator::updateUserprofile(const char * bloodType,const char * mobileno,string& msg) -{ - char *cmsg = (char*)malloc(1024); - void* ppPack; - string recvPack; - Commander(IM_RSP_UPDATE_UDBPROFILE,bloodType,mobileno); - recvPack = ReceivePack(); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_RSP_UPDATE_UDBPROFILE failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - free(cmsg); - return ret; -} - -void CWWSimulator::Detach(void) -{ - //char *cmsg = (char*)malloc(1024); - //void* ppPack; - //Commander(IM_REQ_LOGOFF); - //string recvPack; - //recvPack = ReceivePack(); - //uint16_t ret = HandlePack(recvPack, &ppPack); - if(m_socketFD != -1) - { - close(m_socketFD); - m_socketFD = -1; - m_bIsConnected = false; - } - //if(m_tpfsFD) - { - close(m_tpfsFD); - } - //free(cmsg); -} - -/* - void CWWSimulator::StopReceiving(void) - { - if(m_bIsReceiving) - { - Detach(); - pthread_join(m_recvThreadID, NULL); - } - } - */ diff --git a/features/aliww/source/CWWSimulator.cpp.bak b/features/aliww/source/CWWSimulator.cpp.bak deleted file mode 100644 index d791c20..0000000 --- a/features/aliww/source/CWWSimulator.cpp.bak +++ /dev/null @@ -1,1081 +0,0 @@ -/* * ===================================================================================== * * - * - * Filename: CWWSimulator.cpp - * Description: - * - * Version: 1.0 - * Created: 2010å¹´12月14æ—¥ 16æ—¶48分09秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "CWWSimulator.h" -#include "sc_head.h" -#include "imsc_cmd.h" -#include "imsc_pack.h" -#include "imsc_cmd_2Str.h" -#include "RSAWrapper.h" -#include "md5hash.h" -#include - -using namespace std; - -char* CWWSimulator::GetRandStr() -{ - char *cstr = (char *)malloc(512); - memset(cstr,0,512); - sprintf(cstr,"%s%d%s%d%ld",m_username.c_str(),rand(),m_password.c_str(),rand(),time(0)); - return cstr; -} - -CWWSimulator::CWWSimulator() -{ - srand(time(0)); - m_bIsConnected = false; - m_bIsReceiving = false; -} - -CWWSimulator::CWWSimulator(string& username, string& password, string version, string imServerIP, uint16_t port): - m_username(username), m_password(password), m_version(version), m_imServerIP(imServerIP), m_port(port) -{ - srand(time(0)); - m_bIsConnected = false; - m_bIsReceiving = false; - -} -CWWSimulator::~CWWSimulator() -{ - //Detach(); -} -void CWWSimulator::SetUser(string& username, string& password) -{ - m_username = username; - m_password = password; -} -void CWWSimulator::SetSessionNo(string& sessionNo) -{ - /* - tpfs测时时,tpfsæœåŠ¡å™¨å¯¹sessionno的验è¯åšäº†mock - 使得当sessionno是AAA开头的string时验è¯è‚¯å®šé€šè¿‡ - */ - //m_sessionno = "AAATESTSESSIONKEY"; - m_sessionno = sessionNo; -} - -void CWWSimulator::SetServerIP(string& imServerIP, uint16_t port) -{ - m_imServerIP = imServerIP; - m_port = port; -} -void CWWSimulator::SetTpfsIP(string& imServerIP, uint16_t port) -{ - m_tpfsIP = imServerIP; - m_tpfs_port = port; -} -void CWWSimulator::SetClient(string& version, uint32_t language) -{ - m_version = version; - m_clientLanguage = language; -} -void CWWSimulator::SetStatus(uint8_t tokenFlag, int loginState) -{ - m_tokenFlag = tokenFlag; - m_nLoginState = loginState; -} - -bool CWWSimulator::ConnectTpfs(void) -{ - return Connect(m_tpfsFD,m_tpfsIP,m_tpfs_port); -} - -bool CWWSimulator::Connect(void) -{ - return Connect(m_socketFD,m_imServerIP,m_port); -} - -bool CWWSimulator::Connect(uint32_t& fd, string ip, uint16_t port) -{ - uint32_t sockfd; - struct sockaddr_in server_addr; - - sockfd = socket(AF_INET, SOCK_STREAM, 0); - - server_addr.sin_family = AF_INET; - server_addr.sin_addr.s_addr = inet_addr(ip.c_str()); - server_addr.sin_port = htons(port); - - //cout << "serverIP: " << ip.c_str() << endl; - //cout << "port: " << port << endl; - if( (connect(sockfd, (struct sockaddr*)&server_addr, sizeof(server_addr))) != -1) - { - fd = sockfd; - m_bIsConnected = true; - //cout << "Server connected" << endl; - return true; - } - else - { - //cout << "connect server failed" << endl; - perror("connect error!"); - return false; - } - -} - -bool CWWSimulator::SendPack(string& pack) -{ - return SendPack(pack, m_socketFD); -} - -bool CWWSimulator::SendPack(string& pack, uint32_t fd) -{ - uint32_t sendLen = 0; - uint32_t totalLen = 0; - uint32_t packSize = pack.size(); - while(packSize != totalLen) - { - sendLen = write(fd, const_cast(pack.c_str())+totalLen, packSize-totalLen); - totalLen += sendLen; - if(sendLen <= 0){ - fprintf(stderr,"write fd err . fd == %d - %m",fd); - return false; - } - } - return true; -} - -bool CWWSimulator::StartReceiving() -{ - return StartReceiving(m_socketFD); -} - -bool CWWSimulator::StartReceiving(uint32_t fd) -{ - if(m_bIsConnected != true) - { - //cout<< "begin connect server" < vecTimeStamp; - long dwTimeStamps[16] = {0}; - for (int i=0;i<16;i++) vecTimeStamp.push_back(dwTimeStamps[i]); - reqLogin.SetTimestampList(vecTimeStamp); - VECTOR sHardCodeArray; - string sAllHardCode = "D85F450B524F2B3E20D663198181C601"; - reqLogin.SetHardcode(sHardCodeArray); - reqLogin.SetHardcheck(sAllHardCode); - string rid = "pcid=c4e0284ea47a400c814443c4771696c1"; - reqLogin.SetRid(rid); - reqLogin.PackData(m_loginstr,m_strkey); - break; - } - case IM_REQ_PRELOGIN: - { - Commander(IM_REQ_LOGIN); - CImReqPrelogin reqPrelogin; - reqPrelogin.SetConnectNo(m_connectNO); - string strRsaResult;//用æœåŠ¡ä¼ å›žçš„pubkey å°†m_usermd5str加密一下 - - int nRet = RSA_PublicEncrypt(m_pubkey.c_str(), m_pubkey.size(), - m_usermd5str.c_str(), m_usermd5str.size(), strRsaResult); - reqPrelogin.SetWorkKey(strRsaResult); - reqPrelogin.SetStrlogin(m_loginstr); - reqPrelogin.m_scHead.m_encrypt = 0; - string pack; - reqPrelogin.PackData(pack, m_strkey); - SendPack(pack); - //cout << "send IM_REQ_PRELOGIN " << endl; - break; - } - case IM_REQ_POSTLOGIN: - { - - CImReqPostlogin reqPostlogin; - reqPostlogin.SetPredefStatus(m_nLoginState& 0xff); - reqPostlogin.SetBasicStatus(m_nLoginState >> 16); - - string pack; - reqPostlogin.PackData(pack,m_strkey); - SendPack(pack); - //cout << "send IM_REQ_POSTLOGIN" << endl; - break; - } - case IM_REQ_LOGOFF: - { - CImReqLogoff reqLogoff; - string pack; - reqLogoff.PackData(pack,m_strkey); - SendPack(pack); - //cout << "send IM_REQ_LOGOFF " << endl; - break; - } - case IM_REQ_GETWEB_SESSION: - { - CImReqGetwebSession reqgetws; - string pack; - reqgetws.PackData(pack,m_strkey); - SendPack(pack); - //cout << "send IM_REQ_GETWEB_SESSION" << endl; - break; - } - case IM_REQ_SENDIMMESSAGE: - { - string pack; - CImReqSendimmessage reqSendimmessage; - reqSendimmessage.SetTargetId("cntaobaojason3"); - reqSendimmessage.SetType(0x01);//是å¦å­˜ç¦»çº¿ 01å­˜ 00ä¸å­˜ - string msghead = "12345678"; - msghead[0] = 0x08; - msghead[1] = 0x00; - msghead[2] = 0x00; - msghead[3] = 0x00; - msghead[4] = 0x2F; - msghead[5] = 0x1F; - msghead[6] = 0x5D; - msghead[7] = 0x9E; - string msg = msghead + "\\C0\\S0xc.0xf0\\FArial\\TFrom CWWSimulator,In perf test"; - reqSendimmessage.SetMessage(msg); - reqSendimmessage.PackData(pack,m_strkey); - SendPack(pack); - //cout << "send IM_REQ_SENDIMMESSAGE" << endl; - break; - } - case IM_REQ_CHAT_CHKVER: - { - CImReqChatChkver reqchatcver; - reqchatcver.SetVersion(m_version); - reqchatcver.m_scHead.m_encrypt=0; - string pack; - reqchatcver.PackData(pack,""); - SendPack(pack,m_tpfsFD); - //cout << "send IM_REQ_CHAT_CHKVER" << endl; - break; - } - case IM_REQ_CHAT_IDENTIFY: - { - CImReqChatIdentify reqchatidf; - reqchatidf.m_scHead.m_reserved = 1; - reqchatidf.m_scHead.m_extdata = m_username; - reqchatidf.SetUid(m_username); - reqchatidf.SetVersion(m_version); - reqchatidf.SetSessionkey(m_sessionno); - //reqchatidf.SetSessionkey("AAATESTSESSIONKEY"); - - string randStr("xxxxxx"); - m_usermd5str = Md5Hash::GetMD5(m_username + m_password + randStr, true); - CDesEncrypt enc; - m_strkey = enc.SetKey(m_usermd5str); - - reqchatidf.PackData(m_tpfs_identifystr,m_strkey); - break; - } - case IM_REQ_CHAT_PREIDENTIFY: - { - Commander(IM_REQ_CHAT_IDENTIFY); - CImReqChatPreidentify reqchatpreidf; - string strRsaResult; - int nRet = RSA_PublicEncrypt(m_tpfs_pubkey.c_str(), m_tpfs_pubkey.size(), - m_usermd5str.c_str(), m_usermd5str.size(), strRsaResult); - reqchatpreidf.SetWorkKey(strRsaResult); - reqchatpreidf.SetConnectNo(m_tpfs_connectNO); - reqchatpreidf.SetStrlogin(m_tpfs_identifystr); - reqchatpreidf.m_scHead.m_encrypt = 0; - string pack; - reqchatpreidf.PackData(pack, m_strkey); - SendPack(pack,m_tpfsFD); - //cout << "send IM_REQ_CHAT_PREIDENTIFY " << endl; - break; - } - case IM_REQ_CHAT_PUTPIC: - { - string pack; - //string picdata = "111111111111111111112222222222222222222222333333333333333"; - string picdata(va_arg(ap,char*)); - char cpicname[256] = {0}; - sprintf(cpicname,"%s_%d",Md5Hash::GetMD5(picdata).c_str(),picdata.length()); - string picname(cpicname); - CImReqChatPutpic reqChatPutpic; - char *csessionid = GetRandStr(); - string sessionid(csessionid); - m_verb_sessionid = sessionid; - reqChatPutpic.SetSessionid(sessionid); - //reqChatPutpic.SetPickey("cc4d71902b6aea00782bb1e033cdba73_57"); - reqChatPutpic.SetPickey(picname); - reqChatPutpic.SetData(picdata); - reqChatPutpic.SetSize(picdata.size()); - reqChatPutpic.SetOffset(0); - reqChatPutpic.PackData(pack,m_strkey); - SendPack(pack,m_tpfsFD); - free(csessionid); - //cout << "send IM_REQ_CHAT_PUTPIC" << endl; - break; - } - case IM_REQ_CHAT_GETPIC: - { - char *cpicName = va_arg(ap,char *); - string picName(cpicName); - string pack; - CImReqChatGetpic reqChatGetpic; - char *csessionid = GetRandStr(); - string sessionid(csessionid); - m_verb_sessionid = sessionid; - reqChatGetpic.SetSessionid(sessionid); - //reqChatGetpic.SetPickey("cc4d71902b6aea00782bb1e033cdba73_57"); - reqChatGetpic.SetPickey(picName); - reqChatGetpic.PackData(pack,m_strkey); - SendPack(pack,m_tpfsFD); - free(csessionid); - //cout << "send IM_REQ_CHAT_GETPIC" << endl; - break; - } - case IM_REQ_CHAT_GETCAL: - { - string fromid(va_arg(ap,char*)); - string toid(va_arg(ap,char*)); - string startDate(va_arg(ap,char*)); - string endDate(va_arg(ap,char*)); - string pack; - CImReqChatGetcal reqChatGetcal; - char *csessionid = GetRandStr(); - string sessionid(csessionid); - m_verb_sessionid = sessionid; - reqChatGetcal.SetSessionid(sessionid); - reqChatGetcal.SetUid(fromid); - reqChatGetcal.SetToid(toid); - reqChatGetcal.SetStartdate(startDate); - reqChatGetcal.SetEnddate(endDate); - //reqChatGetcal.SetToid("cntaobaoabc1999"); - //reqChatGetcal.SetStartdate("20110101"); - //reqChatGetcal.SetEnddate("20111111"); - reqChatGetcal.PackData(pack,m_strkey); - SendPack(pack,m_tpfsFD); - free(csessionid); - //cout << "send IM_REQ_CHAT_GETCAL" << endl; - break; - } - case IM_REQ_CHAT_GETTXT: - { - string fromid(va_arg(ap,char*)); - string toid(va_arg(ap, char*)); - CImReqChatGettxt reqchatgt; - char *csessionid = GetRandStr(); - string sessionid(csessionid); - m_verb_sessionid = sessionid; - reqchatgt.SetSessionid(sessionid); - reqchatgt.SetFromid(fromid); - reqchatgt.SetToid(toid); - reqchatgt.SetBegtime(va_arg(ap, uint64_t)); - reqchatgt.SetEndtime(va_arg(ap, uint64_t)); - reqchatgt.SetMsgnum(va_arg(ap, int)); - string pack; - reqchatgt.PackData(pack,m_strkey); - SendPack(pack, m_tpfsFD); - free(csessionid); - //cout << "send IM_REQ_CHAT_GETTXT" << endl; - break; - } - default: - string cmdStr = IMSC_cmd2STR::IMSC_CMD_2STR(cmd); - //cout<< "There is no action for command:" << cmdStr << endl; - } -} - -uint16_t CWWSimulator::HandlePack(string& pack, void** p) -{ - void* pPack; - uint16_t ret = -1; - - CScHead hdr; - if(PACK_RIGHT != hdr.UnpackData(pack)) - { - //cout << "hdr Unpack failed,In HandlePack" << endl; - } - uint32_t cmd = hdr.m_cmd; - - string cmdStr = IMSC_cmd2STR::IMSC_CMD_2STR(cmd); - //cout << "cmd received: " << cmdStr <UnpackData(pack)) - { - //cout<<"CImRspCheckversion.UnpackData fail" << endl; - break; - } - //cout << "IM_RSP_CHECKVERSION retcode: " << pRspPack->GetRetcode() << endl; - m_connectNO = pRspPack->GetConnectNo(); - m_pubkey = pRspPack->GetPubkey(); - - ret = pRspPack->GetRetcode(); - break; - } - case IM_RSP_LOGIN: - { - //cout << "get IM_RSP_LOGIN " << endl; - CImRspLogin *pRspPack; - pPack = new(CImRspLogin) ; - pRspPack = (CImRspLogin*)pPack; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspLogin.UnpackData fail" << endl; - break; - } - //cout << "IM_RSP_LOGIN retcode: " << pRspPack->GetRetcode() << endl; - m_retcode = pRspPack->GetRetcode(); - m_dwTimeStampsFlag = pRspPack->GetTimestampFlag(); - m_strkey = pRspPack->GetWorkKey(); - CDesEncrypt enc; - m_strkey = enc.SetKey(m_strkey); - m_pwtoken = pRspPack->GetPwtoken(); - m_rid = pRspPack->GetRid(); - m_packRemark = pRspPack->GetRemark(); - ret = pRspPack->GetRetcode(); - delete(pPack); - break; - } - case IM_RSP_GETUSERINFO: - { - //cout << "get IM_RSP_GETUSERINFO" << endl; - ret = 0; - break; - } - case IM_RSP_GETGROUP: - { - //cout << "get IM_RSP_GETGROUP " << endl; - CImRspGetgroup *pRspPack; - pPack = new(CImRspGetgroup) ; - pRspPack = (CImRspGetgroup*)pPack; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspGetgroup.UnpackData fail" << endl; - break; - } - pRspPack->GetRetcode(); - pRspPack->GetGroupList(); - ret = pRspPack->GetRetcode(); - delete(pPack); - break; - } - case IM_RSP_GETCONTACT: - { - //cout << "get IM_RSP_GETCONTACT " << endl; - ret = 0; - break; - } - case IM_RSP_LOGOFF: - { - //cout << "get IM_RSP_LOGOFF " << endl; - CImRspLogoff *pRspPack; - pPack = new(CImRspLogoff); - pRspPack = (CImRspLogoff*)pPack; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspLogoff.UnpackData fail" << endl; - break; - } - //cout << "IM_RSP_LOGOFF retcode: " << pRspPack->GetRetcode()<GetRetcode(); - delete(pPack); - break; - } - case IM_RSP_CHAT_IDENTIFY: - { - //cout << "get IM_RSP_CHAT_IDENTIFY " << endl; - CImRspChatIdentify *pRspPack; - pPack = new(CImRspChatIdentify); - pRspPack = (CImRspChatIdentify*)pPack; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspChatIdentify.UnpackData fail" << endl; - break; - } - //cout << "IM_RSP_CHAT_IDENTIFY retcode: " << pRspPack->GetRetcode() << endl; - ret = pRspPack->GetRetcode(); - delete(pPack); - break; - } - case IM_RSP_GETWEB_SESSION: - { - //cout << "get IM_RSP_GETWEB_SESSION" << endl; - CImRspGetwebSession *pRspPack; - pPack = new(CImRspGetwebSession); - pRspPack = (CImRspGetwebSession*)pPack; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspGetwebSession.UnpackData fail" << endl; - break; - } - //cout << "IM_RSP_GETWEB_SESSION retcode: " << pRspPack->GetRetcode() << endl; - //cout << "Get session NO : " << pRspPack->GetSessionNo() << endl; - m_sessionno = pRspPack->GetSessionNo(); - ret = pRspPack->GetRetcode(); - delete(pPack); - break; - } - case IM_RSP_CHAT_CHKVER: - { - //cout << "get IM_RSP_CHAT_CHKVER " << endl; - CImRspChatChkver *pRspPack; - pPack = new(CImRspChatChkver); - pRspPack = (CImRspChatChkver*)pPack; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspChatChkver.UnpackData fail" << endl; - break; - } - //cout << "IM_RSP_CHAT_CHKVER retcode: " << pRspPack->GetRetcode() << endl; - m_tpfs_connectNO = pRspPack->GetConnectNo(); - m_tpfs_pubkey = pRspPack->GetPubkey(); - ret = pRspPack->GetRetcode(); - delete(pPack); - break; - } - case IM_RSP_CHAT_PUTPIC: - { - //cout << "get IM_RSP_CHAT_PUTPIC" << endl; - CImRspChatPutpic *pRspPack; - pPack = new(CImRspChatPutpic); - pRspPack = (CImRspChatPutpic*)pPack; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspChatPutpic.UnpackData fail" << endl; - break; - } - //cout << "IM_RSP_CHAT_PUTPIC retcode: " << pRspPack->GetRetcode() << endl; - - ret = pRspPack->GetRetcode(); - delete(pPack); - break; - } - case IM_RSP_CHAT_GETPIC: - { - //cout << "get IM_RSP_CHAT_GETPIC " << endl; - CImRspChatGetpic *pRspPack; - pPack = new(CImRspChatGetpic); - pRspPack = (CImRspChatGetpic*)pPack; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - cout<<"CImRspChatGetpic.UnpackData fail" << endl; - break; - } - //cout << "IM_RSP_CHAT_GETPIC retcode: " << pRspPack->GetRetcode() << endl; - - ret = pRspPack->GetRetcode(); - delete(pPack); - break; - } - case IM_RSP_CHAT_GETCAL: - { - //cout << "get IM_RSP_CHAT_GETCAL " << endl; - CImRspChatGetcal *pRspPack; - pPack = new(CImRspChatGetcal); - pRspPack = (CImRspChatGetcal*)pPack; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspChatGetcal.UnpackData fail" << endl; - break; - } - //cout << "IM_RSP_CHAT_GETCAL retcode: " << pRspPack->GetRetcode() << endl; - - ret = pRspPack->GetRetcode(); - delete(pPack); - break; - } - case IM_RSP_GETBLACK: - { - ret = 0; - break; - } - case IM_RSP_GETREVBLACK: - { - ret = 0; - break; - } - case IM_RSP_CHAT_GETTXT: - { - //cout << "get IM_RSP_CHAT_GETTXT " << endl; - CImRspChatGettxt *pRspPack; - pPack = new(CImRspChatGettxt); - pRspPack = (CImRspChatGettxt*)pPack; - if(PACK_RIGHT != pRspPack->UnpackData(pack,m_strkey)) - { - //cout<<"CImRspChatGettxt.UnpackData fail" << endl; - break; - } - //cout << "IM_RSP_CHAT_GETTXT retcode: " << pRspPack->GetRetcode() << endl; - ret = pRspPack->GetRetcode(); - delete(pPack); - break; - } - default: - //cout << "There is no Handler for command: " << cmdStr << endl; - //cout << "username:" << m_username << " password:" << m_password << endl; - break; - } - //*p = pPack; - return ret; -} - -string CWWSimulator::ReceivePack() -{ - return ReceivePack(m_socketFD); -} - -string CWWSimulator::ReceivePack(uint32_t fd) -{ - if(fd == 0) - { - cout << "recv fd = 0" << endl; - return "error"; - } - char recvBuf[MAXDATASIZE]; - - string strPack; - string strTemp; - - uint32_t recvLen = 0; - uint32_t totalLen = 0; - uint32_t packSize = 0; - uint32_t storageLen; - storageLen = m_strStorage.size(); - - if(storageLen > 0) - { - packSize = UnPackhdr(m_strStorage); - if(packSize <= storageLen) - { - strPack = m_strStorage.substr(0,packSize); - m_strStorage = m_strStorage.substr(packSize); - return strPack; - } - } - - m_bIsReceiving = true; - - while(m_bIsReceiving) - { - do - { - recvLen = recv(fd, recvBuf, MAXDATASIZE, 0); - } - while(recvLen== -1 && errno == EINTR); - - if(recvLen == 0) - { - fprintf(stderr,"fd closed by peer! recv ret == 0, fd == %d sessionid == %s - %m\n",fd,m_verb_sessionid.c_str()); - close(fd); - //m_bIsReceiving = false; - break; - } - else if(recvLen == -1) - { - fprintf(stderr,"recv error!recvLen == -1, fd == %d - %m\n",fd); - close(fd); - //Detach(); - //m_bIsReceiving = false; - //fprintf(stderr,"recv error! - %m"); - break; - } - - strTemp.assign(recvBuf, recvLen); - strTemp = m_strStorage + strTemp; - - totalLen = strTemp.size(); - packSize = UnPackhdr(strTemp); - - if(packSize == -1)//包头没有接收完整 - { - m_strStorage = strTemp; - strTemp.erase(); - continue; - } - - totalLen = strTemp.size(); - if(totalLen == packSize) - { - strPack = strTemp; - strTemp.erase(); - m_strStorage.erase(); - } - else if(totalLen < packSize) - { - m_strStorage = strTemp; - strTemp.erase(); - continue; - } - else //totalLen > packSize - { - strPack = strTemp.substr(0, packSize); - m_strStorage = strTemp.substr(packSize); - strTemp.erase(); - } - - return strPack; - //HandlePack(strPack); - } -} -uint32_t CWWSimulator::UnPackhdr(string& pack) -{ - - CScHead hdr; - if(PACK_RIGHT != hdr.UnpackData(pack)) - { - //cout << "hdr Unpack data error,In ReceivePack" << endl; - return -1; - } - - uint32_t packSize = hdr.SizeExt() + hdr.m_len; - return packSize; - -} - -uint16_t CWWSimulator::login(string& msg) -{ - char *cmsg = (char*)malloc(1024); - string recvPack; - void *ppPack; - Connect(); - - Commander(IM_REQ_CHECKVERSION); - //cout << "==============after send IM_REQ_CHECKVERSION get 1st pack " << endl; - recvPack = ReceivePack(); - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_CHECKVERSION failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - - Commander(IM_REQ_PRELOGIN); - //cout << "==============after send IM_REQ_PRELOGIN get 1st pack " << endl; - recvPack = ReceivePack(); - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - //cout << "==============after send IM_REQ_PRELOGIN get 2nd pack " << endl; - recvPack = ReceivePack(); - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - //cout << "==============after send IM_REQ_PRELOGIN get 3rd pack " << endl; - recvPack = ReceivePack(); - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - //cout << "==============after send IM_REQ_PRELOGIN get 4th pack " << endl; - recvPack = ReceivePack(); - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - - Commander(IM_REQ_POSTLOGIN); - //cout << "==============after send IM_REQ_POSTLOGIN get 1st pack " << endl; - recvPack = ReceivePack(); - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - //cout << "==============after send IM_REQ_POSTLOGIN get 2nd pack " << endl; - recvPack = ReceivePack(); - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - free(cmsg); - return ret; -} - -uint16_t CWWSimulator::sendIMMessage(string& msg) -{ - char *cmsg = (char*)malloc(1024); - void* ppPack; - string recvPack; - Commander(IM_REQ_SENDIMMESSAGE); - //cout << "==============after send IM_REQ_SENDIMMESSAGE get 1st pack " << endl; - recvPack = ReceivePack(); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_SENDIMMESSAGE failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - free(cmsg); - return ret; -} - -uint16_t CWWSimulator::createSession(string& msg) -{ - char *cmsg = (char*)malloc(1024); - if(!m_bIsConnected) - { - //cout << "before getwebsession must be login on" << endl; - } - - void* ppPack; - string recvPack; - Commander(IM_REQ_GETWEB_SESSION); - //cout << "==============after send IM_REQ_GETWEB_SESSION get 1st pack " << endl; - recvPack = ReceivePack(); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_GETWEB_SESSION failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - free(cmsg); - return ret; -} - -uint16_t CWWSimulator::chatPidfy(string& msg) -{ - char *cmsg = (char*)malloc(1024); - void* ppPack; - string recvPack; - Commander(IM_REQ_CHAT_CHKVER); - //cout << "==============after send IM_REQ_CHAT_CHKVER get 1st pack " << endl; - recvPack = ReceivePack(m_tpfsFD); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_POSTLOGIN failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - Commander(IM_REQ_CHAT_PREIDENTIFY); - //cout << "==============after send IM_REQ_CHAT_PREIDENTIFY get 1st pack " << endl; - recvPack = ReceivePack(m_tpfsFD); - - ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_CHAT_CHKVER failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - free(cmsg); - return ret; -} - -//uint16_t CWWSimulator::chatPutpic(const string & picdata, string& msg) -uint16_t CWWSimulator::chatPutpic(const char* picdata, string& msg) -{ - char *cmsg = (char*)malloc(1024); - void* ppPack; - string recvPack; - Commander(IM_REQ_CHAT_PUTPIC, picdata); - //cout << "==============after send IM_REQ_CHAT_PUTPIC get 1st pack " << endl; - recvPack = ReceivePack(m_tpfsFD); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_CHAT_PUTPIC failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - } - free(cmsg); - return ret; -} - -uint16_t CWWSimulator::chatGetpic(const char* picName, string& msg) -{ - void* ppPack; - string recvPack; - Commander(IM_REQ_CHAT_GETPIC, picName); - //cout << "==============after send IM_REQ_CHAT_GETPIC get 1st pack " << endl; - recvPack = ReceivePack(m_tpfsFD); - if(recvPack.size()<24) - { - return -1; - } - - uint16_t ret = HandlePack(recvPack, &ppPack); - /* - 辛树对这个接å£çš„返回值处ç†è¿‡ï¼Œå¦‚果图片没找到会返回8091 - 这个错误代ç åªé’ˆå¯¹æ€§èƒ½æµ‹è¯•ï¼Œæ€§èƒ½æµ‹è¯•è®¤ä¸º8091å’Œ0一样算æˆåŠŸ - */ - - if(ret != 0 && ret != 8091 ) - { - char cmsg[1024]; - sprintf(cmsg,"IM_REQ_CHAT_GETPIC failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - return ret; - } - return ret; -} - -uint16_t CWWSimulator::chatGetcal(const char* fromid, const char* toid, const char* startDate, const char* endDate, string& msg) -{ - char *cmsg = (char*)malloc(1024); - void* ppPack; - string recvPack; - Commander(IM_REQ_CHAT_GETCAL,fromid,toid,startDate,endDate); - //cout << "==============after send IM_REQ_CHAT_GETCAL get 1st pack " << endl; - recvPack = ReceivePack(m_tpfsFD); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_CHAT_GETCAL failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - free(cmsg); - return ret; -} - -uint16_t CWWSimulator::chatGettxt(const char* fromid, const char* toid, uint64_t startTime, uint64_t endTime, string& msg) -{ - char *cmsg = (char*)malloc(1024); - void* ppPack; - Commander(IM_REQ_CHAT_GETTXT, fromid, toid, startTime, endTime, 100); - //cout << "==============after send IM_REQ_CHAT_GETTXT get 1st pack " << endl; - string recvPack; - recvPack = ReceivePack(m_tpfsFD); - - uint16_t ret = HandlePack(recvPack, &ppPack); - if(ret != 0 ){ - sprintf(cmsg,"IM_REQ_CHAT_GETTXT failed.\nret:%d,username:%s,password:%s",ret,m_username.c_str(),m_password.c_str()); - msg = cmsg; - free(cmsg); - return ret; - } - /* - CImRspChatGettxt *pPack; - do{ - recvPack = ReceivePack(m_tpfsFD); - pPack = (CImRspChatGettxt *)HandlePack(recvPack); - }while(pPack->GetIslast() == 0); - */ - free(cmsg); - return ret; -} - -void CWWSimulator::Detach(void) -{ - //char *cmsg = (char*)malloc(1024); - //void* ppPack; - //Commander(IM_REQ_LOGOFF); - //string recvPack; - //recvPack = ReceivePack(); - //uint16_t ret = HandlePack(recvPack, &ppPack); - if(m_socketFD != -1) - { - close(m_socketFD); - m_socketFD = -1; - m_bIsConnected = false; - } - //if(m_tpfsFD) - { - close(m_tpfsFD); - } - //free(cmsg); -} - -/* - void CWWSimulator::StopReceiving(void) - { - if(m_bIsReceiving) - { - Detach(); - pthread_join(m_recvThreadID, NULL); - } - } - */ diff --git a/features/aliww/source/DBStruct.cpp b/features/aliww/source/DBStruct.cpp deleted file mode 100644 index 077643b..0000000 --- a/features/aliww/source/DBStruct.cpp +++ /dev/null @@ -1,180 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `DBStruct.ice' - -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -void -AliDDB::__write(::IceInternal::BasicStream* __os, const ::AliDDB::KVMap& v, ::AliDDB::__U__KVMap) -{ - __os->writeSize(::Ice::Int(v.size())); - ::AliDDB::KVMap::const_iterator p; - for(p = v.begin(); p != v.end(); ++p) - { - __os->write(p->first); - __os->write(p->second); - } -} - -void -AliDDB::__read(::IceInternal::BasicStream* __is, ::AliDDB::KVMap& v, ::AliDDB::__U__KVMap) -{ - ::Ice::Int sz; - __is->readSize(sz); - while(sz--) - { - ::std::pair pair; - __is->read(const_cast< ::std::string&>(pair.first)); - ::AliDDB::KVMap::iterator __i = v.insert(v.end(), pair); - __is->read(__i->second); - } -} - -void -AliDDB::__write(::IceInternal::BasicStream* __os, const ::AliDDB::KVMap* begin, const ::AliDDB::KVMap* end, ::AliDDB::__U__KVMapSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - ::AliDDB::__write(__os, begin[i], ::AliDDB::__U__KVMap()); - } -} - -void -AliDDB::__read(::IceInternal::BasicStream* __is, ::AliDDB::KVMapSeq& v, ::AliDDB::__U__KVMapSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 1); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - ::AliDDB::__read(__is, v[i], ::AliDDB::__U__KVMap()); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliDDB::DBRecord::operator==(const DBRecord& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliDDB::DBRecord::operator!=(const DBRecord& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(fields != __rhs.fields) - { - return true; - } - if(blobField != __rhs.blobField) - { - return true; - } - return false; -} - -bool -AliDDB::DBRecord::operator<(const DBRecord& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(fields < __rhs.fields) - { - return true; - } - else if(__rhs.fields < fields) - { - return false; - } - if(blobField < __rhs.blobField) - { - return true; - } - else if(__rhs.blobField < blobField) - { - return false; - } - return false; -} - -void -AliDDB::DBRecord::__write(::IceInternal::BasicStream* __os) const -{ - ::AliDDB::__write(__os, fields, ::AliDDB::__U__KVMap()); - if(blobField.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliDDB::__write(__os, &blobField[0], &blobField[0] + blobField.size(), ::AliDDB::__U__KVMapSeq()); - } -} - -void -AliDDB::DBRecord::__read(::IceInternal::BasicStream* __is) -{ - ::AliDDB::__read(__is, fields, ::AliDDB::__U__KVMap()); - ::AliDDB::__read(__is, blobField, ::AliDDB::__U__KVMapSeq()); -} - -void -AliDDB::__write(::IceInternal::BasicStream* __os, const ::AliDDB::DBRecord* begin, const ::AliDDB::DBRecord* end, ::AliDDB::__U__DBRecordSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliDDB::__read(::IceInternal::BasicStream* __is, ::AliDDB::DBRecordSeq& v, ::AliDDB::__U__DBRecordSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 2); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} diff --git a/features/aliww/source/DDBInterface.cpp b/features/aliww/source/DDBInterface.cpp deleted file mode 100644 index b18ce40..0000000 --- a/features/aliww/source/DDBInterface.cpp +++ /dev/null @@ -1,1991 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `DDBInterface.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliDDB__AliDDBInterface__insertRecord_name = "insertRecord"; - -static const ::std::string __AliDDB__AliDDBInterface__insertMultiRecords_name = "insertMultiRecords"; - -static const ::std::string __AliDDB__AliDDBInterface__getRecord_name = "getRecord"; - -static const ::std::string __AliDDB__AliDDBInterface__getRecords_name = "getRecords"; - -static const ::std::string __AliDDB__AliDDBInterface__getRecordsCount_name = "getRecordsCount"; - -static const ::std::string __AliDDB__AliDDBInterface__getRecordsByPage_name = "getRecordsByPage"; - -static const ::std::string __AliDDB__AliDDBInterface__getMultiRecords_name = "getMultiRecords"; - -static const ::std::string __AliDDB__AliDDBInterface__getMultiRecordsByPage_name = "getMultiRecordsByPage"; - -static const ::std::string __AliDDB__AliDDBInterface__updateRecord_name = "updateRecord"; - -static const ::std::string __AliDDB__AliDDBInterface__updateBlob_name = "updateBlob"; - -static const ::std::string __AliDDB__AliDDBInterface__deleteRecord_name = "deleteRecord"; - -void -IceInternal::incRef(::AliDDB::AliDDBInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliDDB::AliDDBInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliDDB::AliDDBInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliDDB::AliDDBInterface* p) -{ - p->__decRef(); -} - -void -AliDDB::__write(::IceInternal::BasicStream* __os, const ::AliDDB::AliDDBInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliDDB::__read(::IceInternal::BasicStream* __is, ::AliDDB::AliDDBInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliDDB::AliDDBInterface; - v->__copyFrom(proxy); - } -} - -void -AliDDB::__write(::IceInternal::BasicStream* __os, const ::AliDDB::AliDDBInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliDDB::__addObject(const AliDDBInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliDDB::__usesClasses(const AliDDBInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -AliDDB::__decRefUnsafe(const AliDDBInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliDDB::__clearHandleUnsafe(AliDDBInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -IceAsync::AliDDB::AMD_AliDDBInterface_insertRecord::AMD_AliDDBInterface_insertRecord(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_insertRecord::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_insertRecord::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_insertRecord::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_insertRecord::ice_exception() -{ - __exception(); -} - -IceAsync::AliDDB::AMD_AliDDBInterface_updateRecord::AMD_AliDDBInterface_updateRecord(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_updateRecord::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_updateRecord::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_updateRecord::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_updateRecord::ice_exception() -{ - __exception(); -} - -IceAsync::AliDDB::AMD_AliDDBInterface_updateBlob::AMD_AliDDBInterface_updateBlob(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_updateBlob::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_updateBlob::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_updateBlob::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_updateBlob::ice_exception() -{ - __exception(); -} - -IceAsync::AliDDB::AMD_AliDDBInterface_deleteRecord::AMD_AliDDBInterface_deleteRecord(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_deleteRecord::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_deleteRecord::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_deleteRecord::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliDDB::AMD_AliDDBInterface_deleteRecord::ice_exception() -{ - __exception(); -} - -::Ice::Int -IceProxy::AliDDB::AliDDBInterface::insertRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::DBRecord& record, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliDDB__AliDDBInterface__insertRecord_name); - __delBase = __getDelegate(); - ::IceDelegate::AliDDB::AliDDBInterface* __del = dynamic_cast< ::IceDelegate::AliDDB::AliDDBInterface*>(__delBase.get()); - return __del->insertRecord(table, keys, record, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliDDB::AliDDBInterface::insertMultiRecords(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::AliDDB::DBRecord& record, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliDDB__AliDDBInterface__insertMultiRecords_name); - __delBase = __getDelegate(); - ::IceDelegate::AliDDB::AliDDBInterface* __del = dynamic_cast< ::IceDelegate::AliDDB::AliDDBInterface*>(__delBase.get()); - return __del->insertMultiRecords(table, keys, record, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliDDB::AliDDBInterface::getRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::Ice::StringSeq& blobFields, ::AliDDB::DBRecord& record, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliDDB__AliDDBInterface__getRecord_name); - __delBase = __getDelegate(); - ::IceDelegate::AliDDB::AliDDBInterface* __del = dynamic_cast< ::IceDelegate::AliDDB::AliDDBInterface*>(__delBase.get()); - return __del->getRecord(table, keys, fields, blobFields, record, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliDDB::AliDDBInterface::getRecords(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int num, ::AliDDB::DBRecord& record, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliDDB__AliDDBInterface__getRecords_name); - __delBase = __getDelegate(); - ::IceDelegate::AliDDB::AliDDBInterface* __del = dynamic_cast< ::IceDelegate::AliDDB::AliDDBInterface*>(__delBase.get()); - return __del->getRecords(table, keys, fields, condition, orderFields, num, record, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliDDB::AliDDBInterface::getRecordsCount(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::std::string& condition, ::Ice::Int& recordNum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliDDB__AliDDBInterface__getRecordsCount_name); - __delBase = __getDelegate(); - ::IceDelegate::AliDDB::AliDDBInterface* __del = dynamic_cast< ::IceDelegate::AliDDB::AliDDBInterface*>(__delBase.get()); - return __del->getRecordsCount(table, keys, condition, recordNum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliDDB::AliDDBInterface::getRecordsByPage(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& total, ::AliDDB::DBRecord& record, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliDDB__AliDDBInterface__getRecordsByPage_name); - __delBase = __getDelegate(); - ::IceDelegate::AliDDB::AliDDBInterface* __del = dynamic_cast< ::IceDelegate::AliDDB::AliDDBInterface*>(__delBase.get()); - return __del->getRecordsByPage(table, keys, fields, condition, orderFields, pageno, pagesize, total, record, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliDDB::AliDDBInterface::getMultiRecords(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int num, ::AliDDB::DBRecord& record, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliDDB__AliDDBInterface__getMultiRecords_name); - __delBase = __getDelegate(); - ::IceDelegate::AliDDB::AliDDBInterface* __del = dynamic_cast< ::IceDelegate::AliDDB::AliDDBInterface*>(__delBase.get()); - return __del->getMultiRecords(table, keys, fields, condition, orderFields, num, record, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliDDB::AliDDBInterface::getMultiRecordsByPage(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& total, ::AliDDB::DBRecord& record, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliDDB__AliDDBInterface__getMultiRecordsByPage_name); - __delBase = __getDelegate(); - ::IceDelegate::AliDDB::AliDDBInterface* __del = dynamic_cast< ::IceDelegate::AliDDB::AliDDBInterface*>(__delBase.get()); - return __del->getMultiRecordsByPage(table, keys, fields, condition, orderFields, pageno, pagesize, total, record, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliDDB::AliDDBInterface::updateRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::KVMap& uniqKey, const ::AliDDB::DBRecord& record, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliDDB__AliDDBInterface__updateRecord_name); - __delBase = __getDelegate(); - ::IceDelegate::AliDDB::AliDDBInterface* __del = dynamic_cast< ::IceDelegate::AliDDB::AliDDBInterface*>(__delBase.get()); - return __del->updateRecord(table, keys, uniqKey, record, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliDDB::AliDDBInterface::updateBlob(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::DBRecord& record, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliDDB__AliDDBInterface__updateBlob_name); - __delBase = __getDelegate(); - ::IceDelegate::AliDDB::AliDDBInterface* __del = dynamic_cast< ::IceDelegate::AliDDB::AliDDBInterface*>(__delBase.get()); - return __del->updateBlob(table, keys, record, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliDDB::AliDDBInterface::deleteRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::KVMap& uniqKey, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliDDB__AliDDBInterface__deleteRecord_name); - __delBase = __getDelegate(); - ::IceDelegate::AliDDB::AliDDBInterface* __del = dynamic_cast< ::IceDelegate::AliDDB::AliDDBInterface*>(__delBase.get()); - return __del->deleteRecord(table, keys, uniqKey, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliDDB::AliDDBInterface::ice_staticId() -{ - return ::AliDDB::AliDDBInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliDDB::AliDDBInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliDDB::AliDDBInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliDDB::AliDDBInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliDDB::AliDDBInterface); -} - -bool -IceProxy::AliDDB::operator==(const ::IceProxy::AliDDB::AliDDBInterface& l, const ::IceProxy::AliDDB::AliDDBInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliDDB::operator!=(const ::IceProxy::AliDDB::AliDDBInterface& l, const ::IceProxy::AliDDB::AliDDBInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliDDB::operator<(const ::IceProxy::AliDDB::AliDDBInterface& l, const ::IceProxy::AliDDB::AliDDBInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliDDB::operator<=(const ::IceProxy::AliDDB::AliDDBInterface& l, const ::IceProxy::AliDDB::AliDDBInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliDDB::operator>(const ::IceProxy::AliDDB::AliDDBInterface& l, const ::IceProxy::AliDDB::AliDDBInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliDDB::operator>=(const ::IceProxy::AliDDB::AliDDBInterface& l, const ::IceProxy::AliDDB::AliDDBInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliDDB::AliDDBInterface::insertRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliDDB__AliDDBInterface__insertRecord_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(table); - ::AliDDB::__write(__os, keys, ::AliDDB::__U__KVMap()); - record.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliDDB::AliDDBInterface::insertMultiRecords(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliDDB__AliDDBInterface__insertMultiRecords_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(table); - if(keys.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliDDB::__write(__os, &keys[0], &keys[0] + keys.size(), ::AliDDB::__U__KVMapSeq()); - } - record.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliDDB::AliDDBInterface::getRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::Ice::StringSeq& blobFields, ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliDDB__AliDDBInterface__getRecord_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(table); - ::AliDDB::__write(__os, keys, ::AliDDB::__U__KVMap()); - if(fields.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&fields[0], &fields[0] + fields.size()); - } - if(blobFields.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&blobFields[0], &blobFields[0] + blobFields.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - record.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliDDB::AliDDBInterface::getRecords(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int num, ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliDDB__AliDDBInterface__getRecords_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(table); - ::AliDDB::__write(__os, keys, ::AliDDB::__U__KVMap()); - if(fields.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&fields[0], &fields[0] + fields.size()); - } - __os->write(condition); - if(orderFields.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&orderFields[0], &orderFields[0] + orderFields.size()); - } - __os->write(num); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - record.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliDDB::AliDDBInterface::getRecordsCount(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::std::string& condition, ::Ice::Int& recordNum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliDDB__AliDDBInterface__getRecordsCount_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(table); - ::AliDDB::__write(__os, keys, ::AliDDB::__U__KVMap()); - __os->write(condition); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(recordNum); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliDDB::AliDDBInterface::getRecordsByPage(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& total, ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliDDB__AliDDBInterface__getRecordsByPage_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(table); - ::AliDDB::__write(__os, keys, ::AliDDB::__U__KVMap()); - if(fields.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&fields[0], &fields[0] + fields.size()); - } - __os->write(condition); - if(orderFields.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&orderFields[0], &orderFields[0] + orderFields.size()); - } - __os->write(pageno); - __os->write(pagesize); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(total); - record.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliDDB::AliDDBInterface::getMultiRecords(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int num, ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliDDB__AliDDBInterface__getMultiRecords_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(table); - if(keys.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliDDB::__write(__os, &keys[0], &keys[0] + keys.size(), ::AliDDB::__U__KVMapSeq()); - } - if(fields.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&fields[0], &fields[0] + fields.size()); - } - __os->write(condition); - if(orderFields.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&orderFields[0], &orderFields[0] + orderFields.size()); - } - __os->write(num); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - record.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliDDB::AliDDBInterface::getMultiRecordsByPage(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& total, ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliDDB__AliDDBInterface__getMultiRecordsByPage_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(table); - if(keys.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliDDB::__write(__os, &keys[0], &keys[0] + keys.size(), ::AliDDB::__U__KVMapSeq()); - } - if(fields.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&fields[0], &fields[0] + fields.size()); - } - __os->write(condition); - if(orderFields.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&orderFields[0], &orderFields[0] + orderFields.size()); - } - __os->write(pageno); - __os->write(pagesize); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(total); - record.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliDDB::AliDDBInterface::updateRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::KVMap& uniqKey, const ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliDDB__AliDDBInterface__updateRecord_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(table); - ::AliDDB::__write(__os, keys, ::AliDDB::__U__KVMap()); - ::AliDDB::__write(__os, uniqKey, ::AliDDB::__U__KVMap()); - record.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliDDB::AliDDBInterface::updateBlob(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliDDB__AliDDBInterface__updateBlob_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(table); - ::AliDDB::__write(__os, keys, ::AliDDB::__U__KVMap()); - record.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliDDB::AliDDBInterface::deleteRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::AliDDB::KVMap& uniqKey, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliDDB__AliDDBInterface__deleteRecord_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(table); - ::AliDDB::__write(__os, keys, ::AliDDB::__U__KVMap()); - ::AliDDB::__write(__os, uniqKey, ::AliDDB::__U__KVMap()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliDDB::AliDDBInterface::insertRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliDDB::AliDDBInterface::insertMultiRecords(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliDDB__AliDDBInterface__insertMultiRecords_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliDDB::AliDDBInterface* __servant = dynamic_cast< ::AliDDB::AliDDBInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->insertMultiRecords(table, keys, record, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliDDB::AliDDBInterface::getRecord(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::Ice::StringSeq& blobFields, ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliDDB__AliDDBInterface__getRecord_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliDDB::AliDDBInterface* __servant = dynamic_cast< ::AliDDB::AliDDBInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getRecord(table, keys, fields, blobFields, record, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliDDB::AliDDBInterface::getRecords(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int num, ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliDDB__AliDDBInterface__getRecords_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliDDB::AliDDBInterface* __servant = dynamic_cast< ::AliDDB::AliDDBInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getRecords(table, keys, fields, condition, orderFields, num, record, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliDDB::AliDDBInterface::getRecordsCount(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::std::string& condition, ::Ice::Int& recordNum, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliDDB__AliDDBInterface__getRecordsCount_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliDDB::AliDDBInterface* __servant = dynamic_cast< ::AliDDB::AliDDBInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getRecordsCount(table, keys, condition, recordNum, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliDDB::AliDDBInterface::getRecordsByPage(const ::std::string& table, const ::AliDDB::KVMap& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& total, ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliDDB__AliDDBInterface__getRecordsByPage_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliDDB::AliDDBInterface* __servant = dynamic_cast< ::AliDDB::AliDDBInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getRecordsByPage(table, keys, fields, condition, orderFields, pageno, pagesize, total, record, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliDDB::AliDDBInterface::getMultiRecords(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int num, ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliDDB__AliDDBInterface__getMultiRecords_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliDDB::AliDDBInterface* __servant = dynamic_cast< ::AliDDB::AliDDBInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getMultiRecords(table, keys, fields, condition, orderFields, num, record, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliDDB::AliDDBInterface::getMultiRecordsByPage(const ::std::string& table, const ::AliDDB::KVMapSeq& keys, const ::Ice::StringSeq& fields, const ::std::string& condition, const ::Ice::StringSeq& orderFields, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& total, ::AliDDB::DBRecord& record, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliDDB__AliDDBInterface__getMultiRecordsByPage_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliDDB::AliDDBInterface* __servant = dynamic_cast< ::AliDDB::AliDDBInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getMultiRecordsByPage(table, keys, fields, condition, orderFields, pageno, pagesize, total, record, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliDDB::AliDDBInterface::updateRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliDDB::AliDDBInterface::updateBlob(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::DBRecord&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliDDB::AliDDBInterface::deleteRecord(const ::std::string&, const ::AliDDB::KVMap&, const ::AliDDB::KVMap&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::ObjectPtr -AliDDB::AliDDBInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliDDB__AliDDBInterface_ids[2] = -{ - "::AliDDB::AliDDBInterface", - "::Ice::Object" -}; - -bool -AliDDB::AliDDBInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliDDB__AliDDBInterface_ids, __AliDDB__AliDDBInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -AliDDB::AliDDBInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliDDB__AliDDBInterface_ids[0], &__AliDDB__AliDDBInterface_ids[2]); -} - -const ::std::string& -AliDDB::AliDDBInterface::ice_id(const ::Ice::Current&) const -{ - return __AliDDB__AliDDBInterface_ids[0]; -} - -const ::std::string& -AliDDB::AliDDBInterface::ice_staticId() -{ - return __AliDDB__AliDDBInterface_ids[0]; -} - -::IceInternal::DispatchStatus -AliDDB::AliDDBInterface::___insertRecord(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string table; - ::AliDDB::KVMap keys; - ::AliDDB::DBRecord record; - __is->read(table); - ::AliDDB::__read(__is, keys, ::AliDDB::__U__KVMap()); - record.__read(__is); - ::AliDDB::AMD_AliDDBInterface_insertRecordPtr __cb = new IceAsync::AliDDB::AMD_AliDDBInterface_insertRecord(__inS); - try - { - insertRecord_async(__cb, table, keys, record, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliDDB::AliDDBInterface::___insertMultiRecords(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string table; - ::AliDDB::KVMapSeq keys; - ::AliDDB::DBRecord record; - __is->read(table); - ::AliDDB::__read(__is, keys, ::AliDDB::__U__KVMapSeq()); - record.__read(__is); - ::Ice::Int __ret = insertMultiRecords(table, keys, record, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliDDB::AliDDBInterface::___getRecord(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string table; - ::AliDDB::KVMap keys; - ::Ice::StringSeq fields; - ::Ice::StringSeq blobFields; - __is->read(table); - ::AliDDB::__read(__is, keys, ::AliDDB::__U__KVMap()); - __is->read(fields); - __is->read(blobFields); - ::AliDDB::DBRecord record; - ::Ice::Int __ret = getRecord(table, keys, fields, blobFields, record, __current); - record.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliDDB::AliDDBInterface::___getRecords(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string table; - ::AliDDB::KVMap keys; - ::Ice::StringSeq fields; - ::std::string condition; - ::Ice::StringSeq orderFields; - ::Ice::Int num; - __is->read(table); - ::AliDDB::__read(__is, keys, ::AliDDB::__U__KVMap()); - __is->read(fields); - __is->read(condition); - __is->read(orderFields); - __is->read(num); - ::AliDDB::DBRecord record; - ::Ice::Int __ret = getRecords(table, keys, fields, condition, orderFields, num, record, __current); - record.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliDDB::AliDDBInterface::___getRecordsCount(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string table; - ::AliDDB::KVMap keys; - ::std::string condition; - __is->read(table); - ::AliDDB::__read(__is, keys, ::AliDDB::__U__KVMap()); - __is->read(condition); - ::Ice::Int recordNum; - ::Ice::Int __ret = getRecordsCount(table, keys, condition, recordNum, __current); - __os->write(recordNum); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliDDB::AliDDBInterface::___getRecordsByPage(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string table; - ::AliDDB::KVMap keys; - ::Ice::StringSeq fields; - ::std::string condition; - ::Ice::StringSeq orderFields; - ::Ice::Int pageno; - ::Ice::Int pagesize; - __is->read(table); - ::AliDDB::__read(__is, keys, ::AliDDB::__U__KVMap()); - __is->read(fields); - __is->read(condition); - __is->read(orderFields); - __is->read(pageno); - __is->read(pagesize); - ::Ice::Int total; - ::AliDDB::DBRecord record; - ::Ice::Int __ret = getRecordsByPage(table, keys, fields, condition, orderFields, pageno, pagesize, total, record, __current); - __os->write(total); - record.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliDDB::AliDDBInterface::___getMultiRecords(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string table; - ::AliDDB::KVMapSeq keys; - ::Ice::StringSeq fields; - ::std::string condition; - ::Ice::StringSeq orderFields; - ::Ice::Int num; - __is->read(table); - ::AliDDB::__read(__is, keys, ::AliDDB::__U__KVMapSeq()); - __is->read(fields); - __is->read(condition); - __is->read(orderFields); - __is->read(num); - ::AliDDB::DBRecord record; - ::Ice::Int __ret = getMultiRecords(table, keys, fields, condition, orderFields, num, record, __current); - record.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliDDB::AliDDBInterface::___getMultiRecordsByPage(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string table; - ::AliDDB::KVMapSeq keys; - ::Ice::StringSeq fields; - ::std::string condition; - ::Ice::StringSeq orderFields; - ::Ice::Int pageno; - ::Ice::Int pagesize; - __is->read(table); - ::AliDDB::__read(__is, keys, ::AliDDB::__U__KVMapSeq()); - __is->read(fields); - __is->read(condition); - __is->read(orderFields); - __is->read(pageno); - __is->read(pagesize); - ::Ice::Int total; - ::AliDDB::DBRecord record; - ::Ice::Int __ret = getMultiRecordsByPage(table, keys, fields, condition, orderFields, pageno, pagesize, total, record, __current); - __os->write(total); - record.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliDDB::AliDDBInterface::___updateRecord(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string table; - ::AliDDB::KVMap keys; - ::AliDDB::KVMap uniqKey; - ::AliDDB::DBRecord record; - __is->read(table); - ::AliDDB::__read(__is, keys, ::AliDDB::__U__KVMap()); - ::AliDDB::__read(__is, uniqKey, ::AliDDB::__U__KVMap()); - record.__read(__is); - ::AliDDB::AMD_AliDDBInterface_updateRecordPtr __cb = new IceAsync::AliDDB::AMD_AliDDBInterface_updateRecord(__inS); - try - { - updateRecord_async(__cb, table, keys, uniqKey, record, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliDDB::AliDDBInterface::___updateBlob(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string table; - ::AliDDB::KVMap keys; - ::AliDDB::DBRecord record; - __is->read(table); - ::AliDDB::__read(__is, keys, ::AliDDB::__U__KVMap()); - record.__read(__is); - ::AliDDB::AMD_AliDDBInterface_updateBlobPtr __cb = new IceAsync::AliDDB::AMD_AliDDBInterface_updateBlob(__inS); - try - { - updateBlob_async(__cb, table, keys, record, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliDDB::AliDDBInterface::___deleteRecord(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string table; - ::AliDDB::KVMap keys; - ::AliDDB::KVMap uniqKey; - __is->read(table); - ::AliDDB::__read(__is, keys, ::AliDDB::__U__KVMap()); - ::AliDDB::__read(__is, uniqKey, ::AliDDB::__U__KVMap()); - ::AliDDB::AMD_AliDDBInterface_deleteRecordPtr __cb = new IceAsync::AliDDB::AMD_AliDDBInterface_deleteRecord(__inS); - try - { - deleteRecord_async(__cb, table, keys, uniqKey, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -static ::std::string __AliDDB__AliDDBInterface_all[] = -{ - "deleteRecord", - "getMultiRecords", - "getMultiRecordsByPage", - "getRecord", - "getRecords", - "getRecordsByPage", - "getRecordsCount", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "insertMultiRecords", - "insertRecord", - "updateBlob", - "updateRecord" -}; - -::IceInternal::DispatchStatus -AliDDB::AliDDBInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliDDB__AliDDBInterface_all, __AliDDB__AliDDBInterface_all + 15, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliDDB__AliDDBInterface_all) - { - case 0: - { - return ___deleteRecord(in, current); - } - case 1: - { - return ___getMultiRecords(in, current); - } - case 2: - { - return ___getMultiRecordsByPage(in, current); - } - case 3: - { - return ___getRecord(in, current); - } - case 4: - { - return ___getRecords(in, current); - } - case 5: - { - return ___getRecordsByPage(in, current); - } - case 6: - { - return ___getRecordsCount(in, current); - } - case 7: - { - return ___ice_id(in, current); - } - case 8: - { - return ___ice_ids(in, current); - } - case 9: - { - return ___ice_isA(in, current); - } - case 10: - { - return ___ice_ping(in, current); - } - case 11: - { - return ___insertMultiRecords(in, current); - } - case 12: - { - return ___insertRecord(in, current); - } - case 13: - { - return ___updateBlob(in, current); - } - case 14: - { - return ___updateRecord(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliDDB::AliDDBInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliDDB::AliDDBInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliDDB::AliDDBInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliDDB::AliDDBInterface was not generated with stream support"; - throw ex; -} - -void -AliDDB::AliDDBInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliDDB::AliDDBInterface was not generated with stream support"; - throw ex; -} - -void -AliDDB::__patch__AliDDBInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliDDB::AliDDBInterfacePtr* p = static_cast< ::AliDDB::AliDDBInterfacePtr*>(__addr); - assert(p); - *p = ::AliDDB::AliDDBInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliDDB::AliDDBInterface::ice_staticId(); - throw e; - } -} - -bool -AliDDB::operator==(const ::AliDDB::AliDDBInterface& l, const ::AliDDB::AliDDBInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliDDB::operator!=(const ::AliDDB::AliDDBInterface& l, const ::AliDDB::AliDDBInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliDDB::operator<(const ::AliDDB::AliDDBInterface& l, const ::AliDDB::AliDDBInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliDDB::operator<=(const ::AliDDB::AliDDBInterface& l, const ::AliDDB::AliDDBInterface& r) -{ - return l < r || l == r; -} - -bool -AliDDB::operator>(const ::AliDDB::AliDDBInterface& l, const ::AliDDB::AliDDBInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliDDB::operator>=(const ::AliDDB::AliDDBInterface& l, const ::AliDDB::AliDDBInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/EServiceRContact.cpp b/features/aliww/source/EServiceRContact.cpp deleted file mode 100644 index 5708226..0000000 --- a/features/aliww/source/EServiceRContact.cpp +++ /dev/null @@ -1,586 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `EServiceRContact.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__EServiceRecentContact__checkRCnt_name = "checkRCnt"; - -static const ::std::string __AliIM__EServiceRecentContact__addRcnt_name = "addRcnt"; - -void -IceInternal::incRef(::AliIM::EServiceRecentContact* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::EServiceRecentContact* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::EServiceRecentContact* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::EServiceRecentContact* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::EServiceRecentContactPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::EServiceRecentContactPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::EServiceRecentContact; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::EServiceRecentContactPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIM::__addObject(const EServiceRecentContactPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const EServiceRecentContactPtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const EServiceRecentContactPtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(EServiceRecentContactPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::EServiceRecentContact::checkRCnt(const ::std::string& uid, const ::std::string& cid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__EServiceRecentContact__checkRCnt_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::EServiceRecentContact* __del = dynamic_cast< ::IceDelegate::AliIM::EServiceRecentContact*>(__delBase.get()); - return __del->checkRCnt(uid, cid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::EServiceRecentContact::addRcnt(const ::std::string& uid, const ::AliIM::SICERecentCnt& rcnt, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__EServiceRecentContact__addRcnt_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::EServiceRecentContact* __del = dynamic_cast< ::IceDelegate::AliIM::EServiceRecentContact*>(__delBase.get()); - return __del->addRcnt(uid, rcnt, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::EServiceRecentContact::ice_staticId() -{ - return ::AliIM::EServiceRecentContact::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::EServiceRecentContact::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::EServiceRecentContact); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::EServiceRecentContact::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::EServiceRecentContact); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::EServiceRecentContact& l, const ::IceProxy::AliIM::EServiceRecentContact& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::EServiceRecentContact& l, const ::IceProxy::AliIM::EServiceRecentContact& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::EServiceRecentContact& l, const ::IceProxy::AliIM::EServiceRecentContact& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::EServiceRecentContact& l, const ::IceProxy::AliIM::EServiceRecentContact& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::EServiceRecentContact& l, const ::IceProxy::AliIM::EServiceRecentContact& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::EServiceRecentContact& l, const ::IceProxy::AliIM::EServiceRecentContact& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::EServiceRecentContact::checkRCnt(const ::std::string& uid, const ::std::string& cid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__EServiceRecentContact__checkRCnt_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::EServiceRecentContact::addRcnt(const ::std::string& uid, const ::AliIM::SICERecentCnt& rcnt, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__EServiceRecentContact__addRcnt_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - rcnt.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::EServiceRecentContact::checkRCnt(const ::std::string& uid, const ::std::string& cid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__EServiceRecentContact__checkRCnt_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::EServiceRecentContact* __servant = dynamic_cast< ::AliIM::EServiceRecentContact*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkRCnt(uid, cid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::EServiceRecentContact::addRcnt(const ::std::string& uid, const ::AliIM::SICERecentCnt& rcnt, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__EServiceRecentContact__addRcnt_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::EServiceRecentContact* __servant = dynamic_cast< ::AliIM::EServiceRecentContact*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->addRcnt(uid, rcnt, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::EServiceRecentContact::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__EServiceRecentContact_ids[2] = -{ - "::AliIM::EServiceRecentContact", - "::Ice::Object" -}; - -bool -AliIM::EServiceRecentContact::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__EServiceRecentContact_ids, __AliIM__EServiceRecentContact_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::EServiceRecentContact::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__EServiceRecentContact_ids[0], &__AliIM__EServiceRecentContact_ids[2]); -} - -const ::std::string& -AliIM::EServiceRecentContact::ice_id(const ::Ice::Current&) const -{ - return __AliIM__EServiceRecentContact_ids[0]; -} - -const ::std::string& -AliIM::EServiceRecentContact::ice_staticId() -{ - return __AliIM__EServiceRecentContact_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::EServiceRecentContact::___checkRCnt(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string cid; - __is->read(uid); - __is->read(cid); - ::Ice::Int __ret = checkRCnt(uid, cid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::EServiceRecentContact::___addRcnt(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::AliIM::SICERecentCnt rcnt; - __is->read(uid); - rcnt.__read(__is); - ::Ice::Int __ret = addRcnt(uid, rcnt, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__EServiceRecentContact_all[] = -{ - "addRcnt", - "checkRCnt", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -AliIM::EServiceRecentContact::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__EServiceRecentContact_all, __AliIM__EServiceRecentContact_all + 6, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__EServiceRecentContact_all) - { - case 0: - { - return ___addRcnt(in, current); - } - case 1: - { - return ___checkRCnt(in, current); - } - case 2: - { - return ___ice_id(in, current); - } - case 3: - { - return ___ice_ids(in, current); - } - case 4: - { - return ___ice_isA(in, current); - } - case 5: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::EServiceRecentContact::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::EServiceRecentContact::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::EServiceRecentContact::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::EServiceRecentContact was not generated with stream support"; - throw ex; -} - -void -AliIM::EServiceRecentContact::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::EServiceRecentContact was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__EServiceRecentContactPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::EServiceRecentContactPtr* p = static_cast< ::AliIM::EServiceRecentContactPtr*>(__addr); - assert(p); - *p = ::AliIM::EServiceRecentContactPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::EServiceRecentContact::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::EServiceRecentContact& l, const ::AliIM::EServiceRecentContact& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::EServiceRecentContact& l, const ::AliIM::EServiceRecentContact& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::EServiceRecentContact& l, const ::AliIM::EServiceRecentContact& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::EServiceRecentContact& l, const ::AliIM::EServiceRecentContact& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::EServiceRecentContact& l, const ::AliIM::EServiceRecentContact& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::EServiceRecentContact& l, const ::AliIM::EServiceRecentContact& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/Exhibitionservice.cpp b/features/aliww/source/Exhibitionservice.cpp deleted file mode 100644 index 7f56c5b..0000000 --- a/features/aliww/source/Exhibitionservice.cpp +++ /dev/null @@ -1,1460 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `Exhibitionservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__ExhibitionInterface__CheckUserWebPasswd_name = "CheckUserWebPasswd"; - -static const ::std::string __AliIM__ExhibitionInterface__getUserProfileByLongId_name = "getUserProfileByLongId"; - -void -IceInternal::incRef(::AliIM::ExhibitionInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::ExhibitionInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::ExhibitionInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::ExhibitionInterface* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::ExhibitionInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::ExhibitionInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::ExhibitionInterface; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::ExhibitionInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -AliIM::UserProfile::operator==(const UserProfile& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIM::UserProfile::operator!=(const UserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(userName != __rhs.userName) - { - return true; - } - if(passport != __rhs.passport) - { - return true; - } - if(isDeleted != __rhs.isDeleted) - { - return true; - } - if(gmtCreate != __rhs.gmtCreate) - { - return true; - } - if(gmtModified != __rhs.gmtModified) - { - return true; - } - if(creator != __rhs.creator) - { - return true; - } - if(Modifier != __rhs.Modifier) - { - return true; - } - if(domainPrefix != __rhs.domainPrefix) - { - return true; - } - if(loginId != __rhs.loginId) - { - return true; - } - if(longId != __rhs.longId) - { - return true; - } - if(sourceType != __rhs.sourceType) - { - return true; - } - if(gmtLogin != __rhs.gmtLogin) - { - return true; - } - if(userStatus != __rhs.userStatus) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(mobileNo != __rhs.mobileNo) - { - return true; - } - if(phoneNo != __rhs.phoneNo) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobTitle != __rhs.jobTitle) - { - return true; - } - if(country != __rhs.country) - { - return true; - } - if(province != __rhs.province) - { - return true; - } - if(city != __rhs.city) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(sex != __rhs.sex) - { - return true; - } - if(birthday != __rhs.birthday) - { - return true; - } - if(zip != __rhs.zip) - { - return true; - } - if(constellation != __rhs.constellation) - { - return true; - } - if(subCity != __rhs.subCity) - { - return true; - } - if(bloodType != __rhs.bloodType) - { - return true; - } - if(shengXiao != __rhs.shengXiao) - { - return true; - } - if(career != __rhs.career) - { - return true; - } - if(degree != __rhs.degree) - { - return true; - } - if(interest != __rhs.interest) - { - return true; - } - if(personality != __rhs.personality) - { - return true; - } - if(memo != __rhs.memo) - { - return true; - } - if(finishSchool != __rhs.finishSchool) - { - return true; - } - if(contactShowFlag != __rhs.contactShowFlag) - { - return true; - } - if(companyAddress != __rhs.companyAddress) - { - return true; - } - if(companyUrl != __rhs.companyUrl) - { - return true; - } - if(companyTel != __rhs.companyTel) - { - return true; - } - if(companyShowFlag != __rhs.companyShowFlag) - { - return true; - } - if(signature != __rhs.signature) - { - return true; - } - if(companyZip != __rhs.companyZip) - { - return true; - } - if(companyFax != __rhs.companyFax) - { - return true; - } - if(moreInterest != __rhs.moreInterest) - { - return true; - } - if(personalShowFlag != __rhs.personalShowFlag) - { - return true; - } - if(homePage != __rhs.homePage) - { - return true; - } - if(vocation != __rhs.vocation) - { - return true; - } - if(companyEmail != __rhs.companyEmail) - { - return true; - } - if(duty != __rhs.duty) - { - return true; - } - if(department != __rhs.department) - { - return true; - } - if(purchase != __rhs.purchase) - { - return true; - } - if(sales != __rhs.sales) - { - return true; - } - if(finishedPercent != __rhs.finishedPercent) - { - return true; - } - if(imgType != __rhs.imgType) - { - return true; - } - if(imgHashCode != __rhs.imgHashCode) - { - return true; - } - if(nickname != __rhs.nickname) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - return false; -} - -bool -AliIM::UserProfile::operator<(const UserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(userName < __rhs.userName) - { - return true; - } - else if(__rhs.userName < userName) - { - return false; - } - if(passport < __rhs.passport) - { - return true; - } - else if(__rhs.passport < passport) - { - return false; - } - if(isDeleted < __rhs.isDeleted) - { - return true; - } - else if(__rhs.isDeleted < isDeleted) - { - return false; - } - if(gmtCreate < __rhs.gmtCreate) - { - return true; - } - else if(__rhs.gmtCreate < gmtCreate) - { - return false; - } - if(gmtModified < __rhs.gmtModified) - { - return true; - } - else if(__rhs.gmtModified < gmtModified) - { - return false; - } - if(creator < __rhs.creator) - { - return true; - } - else if(__rhs.creator < creator) - { - return false; - } - if(Modifier < __rhs.Modifier) - { - return true; - } - else if(__rhs.Modifier < Modifier) - { - return false; - } - if(domainPrefix < __rhs.domainPrefix) - { - return true; - } - else if(__rhs.domainPrefix < domainPrefix) - { - return false; - } - if(loginId < __rhs.loginId) - { - return true; - } - else if(__rhs.loginId < loginId) - { - return false; - } - if(longId < __rhs.longId) - { - return true; - } - else if(__rhs.longId < longId) - { - return false; - } - if(sourceType < __rhs.sourceType) - { - return true; - } - else if(__rhs.sourceType < sourceType) - { - return false; - } - if(gmtLogin < __rhs.gmtLogin) - { - return true; - } - else if(__rhs.gmtLogin < gmtLogin) - { - return false; - } - if(userStatus < __rhs.userStatus) - { - return true; - } - else if(__rhs.userStatus < userStatus) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(mobileNo < __rhs.mobileNo) - { - return true; - } - else if(__rhs.mobileNo < mobileNo) - { - return false; - } - if(phoneNo < __rhs.phoneNo) - { - return true; - } - else if(__rhs.phoneNo < phoneNo) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobTitle < __rhs.jobTitle) - { - return true; - } - else if(__rhs.jobTitle < jobTitle) - { - return false; - } - if(country < __rhs.country) - { - return true; - } - else if(__rhs.country < country) - { - return false; - } - if(province < __rhs.province) - { - return true; - } - else if(__rhs.province < province) - { - return false; - } - if(city < __rhs.city) - { - return true; - } - else if(__rhs.city < city) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(sex < __rhs.sex) - { - return true; - } - else if(__rhs.sex < sex) - { - return false; - } - if(birthday < __rhs.birthday) - { - return true; - } - else if(__rhs.birthday < birthday) - { - return false; - } - if(zip < __rhs.zip) - { - return true; - } - else if(__rhs.zip < zip) - { - return false; - } - if(constellation < __rhs.constellation) - { - return true; - } - else if(__rhs.constellation < constellation) - { - return false; - } - if(subCity < __rhs.subCity) - { - return true; - } - else if(__rhs.subCity < subCity) - { - return false; - } - if(bloodType < __rhs.bloodType) - { - return true; - } - else if(__rhs.bloodType < bloodType) - { - return false; - } - if(shengXiao < __rhs.shengXiao) - { - return true; - } - else if(__rhs.shengXiao < shengXiao) - { - return false; - } - if(career < __rhs.career) - { - return true; - } - else if(__rhs.career < career) - { - return false; - } - if(degree < __rhs.degree) - { - return true; - } - else if(__rhs.degree < degree) - { - return false; - } - if(interest < __rhs.interest) - { - return true; - } - else if(__rhs.interest < interest) - { - return false; - } - if(personality < __rhs.personality) - { - return true; - } - else if(__rhs.personality < personality) - { - return false; - } - if(memo < __rhs.memo) - { - return true; - } - else if(__rhs.memo < memo) - { - return false; - } - if(finishSchool < __rhs.finishSchool) - { - return true; - } - else if(__rhs.finishSchool < finishSchool) - { - return false; - } - if(contactShowFlag < __rhs.contactShowFlag) - { - return true; - } - else if(__rhs.contactShowFlag < contactShowFlag) - { - return false; - } - if(companyAddress < __rhs.companyAddress) - { - return true; - } - else if(__rhs.companyAddress < companyAddress) - { - return false; - } - if(companyUrl < __rhs.companyUrl) - { - return true; - } - else if(__rhs.companyUrl < companyUrl) - { - return false; - } - if(companyTel < __rhs.companyTel) - { - return true; - } - else if(__rhs.companyTel < companyTel) - { - return false; - } - if(companyShowFlag < __rhs.companyShowFlag) - { - return true; - } - else if(__rhs.companyShowFlag < companyShowFlag) - { - return false; - } - if(signature < __rhs.signature) - { - return true; - } - else if(__rhs.signature < signature) - { - return false; - } - if(companyZip < __rhs.companyZip) - { - return true; - } - else if(__rhs.companyZip < companyZip) - { - return false; - } - if(companyFax < __rhs.companyFax) - { - return true; - } - else if(__rhs.companyFax < companyFax) - { - return false; - } - if(moreInterest < __rhs.moreInterest) - { - return true; - } - else if(__rhs.moreInterest < moreInterest) - { - return false; - } - if(personalShowFlag < __rhs.personalShowFlag) - { - return true; - } - else if(__rhs.personalShowFlag < personalShowFlag) - { - return false; - } - if(homePage < __rhs.homePage) - { - return true; - } - else if(__rhs.homePage < homePage) - { - return false; - } - if(vocation < __rhs.vocation) - { - return true; - } - else if(__rhs.vocation < vocation) - { - return false; - } - if(companyEmail < __rhs.companyEmail) - { - return true; - } - else if(__rhs.companyEmail < companyEmail) - { - return false; - } - if(duty < __rhs.duty) - { - return true; - } - else if(__rhs.duty < duty) - { - return false; - } - if(department < __rhs.department) - { - return true; - } - else if(__rhs.department < department) - { - return false; - } - if(purchase < __rhs.purchase) - { - return true; - } - else if(__rhs.purchase < purchase) - { - return false; - } - if(sales < __rhs.sales) - { - return true; - } - else if(__rhs.sales < sales) - { - return false; - } - if(finishedPercent < __rhs.finishedPercent) - { - return true; - } - else if(__rhs.finishedPercent < finishedPercent) - { - return false; - } - if(imgType < __rhs.imgType) - { - return true; - } - else if(__rhs.imgType < imgType) - { - return false; - } - if(imgHashCode < __rhs.imgHashCode) - { - return true; - } - else if(__rhs.imgHashCode < imgHashCode) - { - return false; - } - if(nickname < __rhs.nickname) - { - return true; - } - else if(__rhs.nickname < nickname) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - return false; -} - -void -AliIM::UserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(userName); - __os->write(passport); - __os->write(isDeleted); - __os->write(gmtCreate); - __os->write(gmtModified); - __os->write(creator); - __os->write(Modifier); - __os->write(domainPrefix); - __os->write(loginId); - __os->write(longId); - __os->write(sourceType); - __os->write(gmtLogin); - __os->write(userStatus); - __os->write(status); - __os->write(email); - __os->write(mobileNo); - __os->write(phoneNo); - __os->write(company); - __os->write(jobTitle); - __os->write(country); - __os->write(province); - __os->write(city); - __os->write(address); - __os->write(sex); - __os->write(birthday); - __os->write(zip); - __os->write(constellation); - __os->write(subCity); - __os->write(bloodType); - __os->write(shengXiao); - __os->write(career); - __os->write(degree); - __os->write(interest); - __os->write(personality); - __os->write(memo); - __os->write(finishSchool); - __os->write(contactShowFlag); - __os->write(companyAddress); - __os->write(companyUrl); - __os->write(companyTel); - __os->write(companyShowFlag); - __os->write(signature); - __os->write(companyZip); - __os->write(companyFax); - __os->write(moreInterest); - __os->write(personalShowFlag); - __os->write(homePage); - __os->write(vocation); - __os->write(companyEmail); - __os->write(duty); - __os->write(department); - __os->write(purchase); - __os->write(sales); - __os->write(finishedPercent); - __os->write(imgType); - __os->write(imgHashCode); - __os->write(nickname); - __os->write(userLevel); -} - -void -AliIM::UserProfile::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(userName); - __is->read(passport); - __is->read(isDeleted); - __is->read(gmtCreate); - __is->read(gmtModified); - __is->read(creator); - __is->read(Modifier); - __is->read(domainPrefix); - __is->read(loginId); - __is->read(longId); - __is->read(sourceType); - __is->read(gmtLogin); - __is->read(userStatus); - __is->read(status); - __is->read(email); - __is->read(mobileNo); - __is->read(phoneNo); - __is->read(company); - __is->read(jobTitle); - __is->read(country); - __is->read(province); - __is->read(city); - __is->read(address); - __is->read(sex); - __is->read(birthday); - __is->read(zip); - __is->read(constellation); - __is->read(subCity); - __is->read(bloodType); - __is->read(shengXiao); - __is->read(career); - __is->read(degree); - __is->read(interest); - __is->read(personality); - __is->read(memo); - __is->read(finishSchool); - __is->read(contactShowFlag); - __is->read(companyAddress); - __is->read(companyUrl); - __is->read(companyTel); - __is->read(companyShowFlag); - __is->read(signature); - __is->read(companyZip); - __is->read(companyFax); - __is->read(moreInterest); - __is->read(personalShowFlag); - __is->read(homePage); - __is->read(vocation); - __is->read(companyEmail); - __is->read(duty); - __is->read(department); - __is->read(purchase); - __is->read(sales); - __is->read(finishedPercent); - __is->read(imgType); - __is->read(imgHashCode); - __is->read(nickname); - __is->read(userLevel); -} - -void -AliIM::__addObject(const ExhibitionInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const ExhibitionInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const ExhibitionInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(ExhibitionInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::ExhibitionInterface::CheckUserWebPasswd(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& userId, const ::std::string& passwd, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__ExhibitionInterface__CheckUserWebPasswd_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::ExhibitionInterface* __del = dynamic_cast< ::IceDelegate::AliIM::ExhibitionInterface*>(__delBase.get()); - return __del->CheckUserWebPasswd(strCaller, strServiceType, userId, passwd, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::ExhibitionInterface::getUserProfileByLongId(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& longId, ::AliIM::UserProfile& userProfile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__ExhibitionInterface__getUserProfileByLongId_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::ExhibitionInterface* __del = dynamic_cast< ::IceDelegate::AliIM::ExhibitionInterface*>(__delBase.get()); - return __del->getUserProfileByLongId(strCaller, strServiceType, longId, userProfile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::ExhibitionInterface::ice_staticId() -{ - return ::AliIM::ExhibitionInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::ExhibitionInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::ExhibitionInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::ExhibitionInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::ExhibitionInterface); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::ExhibitionInterface& l, const ::IceProxy::AliIM::ExhibitionInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::ExhibitionInterface& l, const ::IceProxy::AliIM::ExhibitionInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::ExhibitionInterface& l, const ::IceProxy::AliIM::ExhibitionInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::ExhibitionInterface& l, const ::IceProxy::AliIM::ExhibitionInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::ExhibitionInterface& l, const ::IceProxy::AliIM::ExhibitionInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::ExhibitionInterface& l, const ::IceProxy::AliIM::ExhibitionInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::ExhibitionInterface::CheckUserWebPasswd(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& userId, const ::std::string& passwd, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__ExhibitionInterface__CheckUserWebPasswd_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(strCaller); - __os->write(strServiceType); - __os->write(userId); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::ExhibitionInterface::getUserProfileByLongId(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& longId, ::AliIM::UserProfile& userProfile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__ExhibitionInterface__getUserProfileByLongId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(strCaller); - __os->write(strServiceType); - __os->write(longId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userProfile.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::ExhibitionInterface::CheckUserWebPasswd(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& userId, const ::std::string& passwd, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__ExhibitionInterface__CheckUserWebPasswd_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::ExhibitionInterface* __servant = dynamic_cast< ::AliIM::ExhibitionInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->CheckUserWebPasswd(strCaller, strServiceType, userId, passwd, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::ExhibitionInterface::getUserProfileByLongId(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& longId, ::AliIM::UserProfile& userProfile, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__ExhibitionInterface__getUserProfileByLongId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::ExhibitionInterface* __servant = dynamic_cast< ::AliIM::ExhibitionInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserProfileByLongId(strCaller, strServiceType, longId, userProfile, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::ExhibitionInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__ExhibitionInterface_ids[2] = -{ - "::AliIM::ExhibitionInterface", - "::Ice::Object" -}; - -bool -AliIM::ExhibitionInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__ExhibitionInterface_ids, __AliIM__ExhibitionInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::ExhibitionInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__ExhibitionInterface_ids[0], &__AliIM__ExhibitionInterface_ids[2]); -} - -const ::std::string& -AliIM::ExhibitionInterface::ice_id(const ::Ice::Current&) const -{ - return __AliIM__ExhibitionInterface_ids[0]; -} - -const ::std::string& -AliIM::ExhibitionInterface::ice_staticId() -{ - return __AliIM__ExhibitionInterface_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::ExhibitionInterface::___CheckUserWebPasswd(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string strCaller; - ::std::string strServiceType; - ::std::string userId; - ::std::string passwd; - __is->read(strCaller); - __is->read(strServiceType); - __is->read(userId); - __is->read(passwd); - ::Ice::Int __ret = CheckUserWebPasswd(strCaller, strServiceType, userId, passwd, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::ExhibitionInterface::___getUserProfileByLongId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string strCaller; - ::std::string strServiceType; - ::std::string longId; - __is->read(strCaller); - __is->read(strServiceType); - __is->read(longId); - ::AliIM::UserProfile userProfile; - ::Ice::Int __ret = getUserProfileByLongId(strCaller, strServiceType, longId, userProfile, __current); - userProfile.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__ExhibitionInterface_all[] = -{ - "CheckUserWebPasswd", - "getUserProfileByLongId", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -AliIM::ExhibitionInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__ExhibitionInterface_all, __AliIM__ExhibitionInterface_all + 6, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__ExhibitionInterface_all) - { - case 0: - { - return ___CheckUserWebPasswd(in, current); - } - case 1: - { - return ___getUserProfileByLongId(in, current); - } - case 2: - { - return ___ice_id(in, current); - } - case 3: - { - return ___ice_ids(in, current); - } - case 4: - { - return ___ice_isA(in, current); - } - case 5: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::ExhibitionInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::ExhibitionInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::ExhibitionInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::ExhibitionInterface was not generated with stream support"; - throw ex; -} - -void -AliIM::ExhibitionInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::ExhibitionInterface was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__ExhibitionInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::ExhibitionInterfacePtr* p = static_cast< ::AliIM::ExhibitionInterfacePtr*>(__addr); - assert(p); - *p = ::AliIM::ExhibitionInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::ExhibitionInterface::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::ExhibitionInterface& l, const ::AliIM::ExhibitionInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::ExhibitionInterface& l, const ::AliIM::ExhibitionInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::ExhibitionInterface& l, const ::AliIM::ExhibitionInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::ExhibitionInterface& l, const ::AliIM::ExhibitionInterface& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::ExhibitionInterface& l, const ::AliIM::ExhibitionInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::ExhibitionInterface& l, const ::AliIM::ExhibitionInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/OpenIMWebService.cpp b/features/aliww/source/OpenIMWebService.cpp deleted file mode 100644 index d084c2d..0000000 --- a/features/aliww/source/OpenIMWebService.cpp +++ /dev/null @@ -1,5718 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.4.1 - -// -// -// Generated from file `OpenIMWebService.ice' -// -// Warning: do not edit this file. -// -// - -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 304 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __OpenImWebService__OpenImSrvMgr__BindService_name = "BindService"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__UnbindService_name = "UnbindService"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__DoAuth_name = "DoAuth"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__AddWebsite_name = "AddWebsite"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__DelWebsite_name = "DelWebsite"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__ChgWebsite_name = "ChgWebsite"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__ChgWebsiteStatus_name = "ChgWebsiteStatus"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__SyncWebTribe_name = "SyncWebTribe"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__StopWebTribe_name = "StopWebTribe"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__ModifyWebTribe_name = "ModifyWebTribe"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__AddTribeMember_name = "AddTribeMember"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__DelTribeMember_name = "DelTribeMember"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__QuitTribe_name = "QuitTribe"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__AddContact_name = "AddContact"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__SendWebsiteMsg_name = "SendWebsiteMsg"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__SendUserMsg_name = "SendUserMsg"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__GetHisOnline_name = "GetHisOnline"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__GetAllHisOnline_name = "GetAllHisOnline"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__GetCurrOnline_name = "GetCurrOnline"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__GetAllCurrOnline_name = "GetAllCurrOnline"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__GetHisMaxOnline_name = "GetHisMaxOnline"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__GetAllHisMaxOnline_name = "GetAllHisMaxOnline"; - -static const ::std::string __OpenImWebService__OpenImSrvMgr__QueryLog_name = "QueryLog"; - -::Ice::Object* IceInternal::upCast(::OpenImWebService::OpenImSrvMgr* p) { return p; } -::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::OpenImWebService::OpenImSrvMgr* p) { return p; } - -void -OpenImWebService::__read(::IceInternal::BasicStream* __is, ::OpenImWebService::OpenImSrvMgrPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::OpenImWebService::OpenImSrvMgr; - v->__copyFrom(proxy); - } -} - -void -OpenImWebService::__writeKVMap(::IceInternal::BasicStream* __os, const ::OpenImWebService::KVMap& v) -{ - __os->writeSize(::Ice::Int(v.size())); - ::OpenImWebService::KVMap::const_iterator p; - for(p = v.begin(); p != v.end(); ++p) - { - __os->write(p->first); - __os->write(p->second); - } -} - -void -OpenImWebService::__readKVMap(::IceInternal::BasicStream* __is, ::OpenImWebService::KVMap& v) -{ - ::Ice::Int sz; - __is->readSize(sz); - while(sz--) - { - ::std::pair pair; - __is->read(const_cast< ::std::string&>(pair.first)); - ::OpenImWebService::KVMap::iterator __i = v.insert(v.end(), pair); - __is->read(__i->second); - } -} - -void -OpenImWebService::SWebUserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(wangwangId); - __os->write(webUid); -} - -void -OpenImWebService::SWebUserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(wangwangId); - __is->read(webUid); -} - -void -OpenImWebService::__writeSWebUserInfoSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SWebUserInfo* begin, const ::OpenImWebService::SWebUserInfo* end) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -OpenImWebService::__readSWebUserInfoSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SWebUserInfoSeq& v) -{ - ::Ice::Int sz; - __is->readAndCheckSeqSize(2, sz); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - } -} - -void -OpenImWebService::SMemberInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(webUid); - __os->write(nickName); - __os->write(tribeLevel); -} - -void -OpenImWebService::SMemberInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(webUid); - __is->read(nickName); - __is->read(tribeLevel); -} - -void -OpenImWebService::__writeSMemberInfoSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SMemberInfo* begin, const ::OpenImWebService::SMemberInfo* end) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -OpenImWebService::__readSMemberInfoSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SMemberInfoSeq& v) -{ - ::Ice::Int sz; - __is->readAndCheckSeqSize(6, sz); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - } -} - -void -OpenImWebService::STribeInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(name); - __os->write(icon); - __os->write(description); - __os->write(bulletin); - __os->write(type); - __os->write(masterId); - if(memberList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::OpenImWebService::__writeSWebUserInfoSeq(__os, &memberList[0], &memberList[0] + memberList.size()); - } -} - -void -OpenImWebService::STribeInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(name); - __is->read(icon); - __is->read(description); - __is->read(bulletin); - __is->read(type); - __is->read(masterId); - ::OpenImWebService::__readSWebUserInfoSeq(__is, memberList); -} - -void -OpenImWebService::__writeSTribeInfoSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::STribeInfo* begin, const ::OpenImWebService::STribeInfo* end) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -OpenImWebService::__readSTribeInfoSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::STribeInfoSeq& v) -{ - ::Ice::Int sz; - __is->readAndCheckSeqSize(11, sz); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - } -} - -void -OpenImWebService::SNotifySysMsg::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(createId); - __os->write(cmdId); - __os->write(style); - __os->write(message); - __os->write(saveFlag); - __os->write(expireTime); -} - -void -OpenImWebService::SNotifySysMsg::__read(::IceInternal::BasicStream* __is) -{ - __is->read(createId); - __is->read(cmdId); - __is->read(style); - __is->read(message); - __is->read(saveFlag); - __is->read(expireTime); -} - -void -OpenImWebService::__writeSNotifySysMsgSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SNotifySysMsg* begin, const ::OpenImWebService::SNotifySysMsg* end) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -OpenImWebService::__readSNotifySysMsgSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SNotifySysMsgSeq& v) -{ - ::Ice::Int sz; - __is->readAndCheckSeqSize(12, sz); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - } -} - -void -OpenImWebService::SWebStatistics::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(date); - __os->write(maxOnline); - __os->write(loginNum); -} - -void -OpenImWebService::SWebStatistics::__read(::IceInternal::BasicStream* __is) -{ - __is->read(date); - __is->read(maxOnline); - __is->read(loginNum); -} - -void -OpenImWebService::__writeSWebStatisticsSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SWebStatistics* begin, const ::OpenImWebService::SWebStatistics* end) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -OpenImWebService::__readSWebStatisticsSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SWebStatisticsSeq& v) -{ - ::Ice::Int sz; - __is->readAndCheckSeqSize(9, sz); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - } -} - -void -OpenImWebService::SWebStatisticsAll::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(serviceId); - __os->write(webId); - if(statList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::OpenImWebService::__writeSWebStatisticsSeq(__os, &statList[0], &statList[0] + statList.size()); - } -} - -void -OpenImWebService::SWebStatisticsAll::__read(::IceInternal::BasicStream* __is) -{ - __is->read(serviceId); - __is->read(webId); - ::OpenImWebService::__readSWebStatisticsSeq(__is, statList); -} - -void -OpenImWebService::__writeSWebStatisticsAllSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SWebStatisticsAll* begin, const ::OpenImWebService::SWebStatisticsAll* end) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -OpenImWebService::__readSWebStatisticsAllSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SWebStatisticsAllSeq& v) -{ - ::Ice::Int sz; - __is->readAndCheckSeqSize(3, sz); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - } -} - -void -OpenImWebService::SWebOnlineStatisticsAll::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(serviceId); - __os->write(webId); - __os->write(maxOnline); -} - -void -OpenImWebService::SWebOnlineStatisticsAll::__read(::IceInternal::BasicStream* __is) -{ - __is->read(serviceId); - __is->read(webId); - __is->read(maxOnline); -} - -void -OpenImWebService::__writeSWebOnlineStatisticsAllSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SWebOnlineStatisticsAll* begin, const ::OpenImWebService::SWebOnlineStatisticsAll* end) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -OpenImWebService::__readSWebOnlineStatisticsAllSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SWebOnlineStatisticsAllSeq& v) -{ - ::Ice::Int sz; - __is->readAndCheckSeqSize(6, sz); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - } -} - -void -OpenImWebService::SUrlInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(baseUrl); - __os->write(trustUrl); -} - -void -OpenImWebService::SUrlInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(baseUrl); - __is->read(trustUrl); -} - -void -OpenImWebService::__writeSUrlInfoSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SUrlInfo* begin, const ::OpenImWebService::SUrlInfo* end) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -OpenImWebService::__readSUrlInfoSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SUrlInfoSeq& v) -{ - ::Ice::Int sz; - __is->readAndCheckSeqSize(2, sz); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - } -} - -void -OpenImWebService::QueryItems::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(actor); - __os->write(password); - __os->write(fromUid); - __os->write(tribeId); - __os->write(startDate); - __os->write(endDate); - __os->write(content); - __os->write(startRow); - __os->write(endRow); -} - -void -OpenImWebService::QueryItems::__read(::IceInternal::BasicStream* __is) -{ - __is->read(actor); - __is->read(password); - __is->read(fromUid); - __is->read(tribeId); - __is->read(startDate); - __is->read(endDate); - __is->read(content); - __is->read(startRow); - __is->read(endRow); -} - -void -OpenImWebService::SUidPairMsg::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(fromid); - __os->write(msgTime); - __os->write(msgcontent); -} - -void -OpenImWebService::SUidPairMsg::__read(::IceInternal::BasicStream* __is) -{ - __is->read(fromid); - __is->read(msgTime); - __is->read(msgcontent); -} - -void -OpenImWebService::__writeSUidPairMsgSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SUidPairMsg* begin, const ::OpenImWebService::SUidPairMsg* end) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -OpenImWebService::__readSUidPairMsgSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SUidPairMsgSeq& v) -{ - ::Ice::Int sz; - __is->readAndCheckSeqSize(6, sz); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - } -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::BindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t, const ::std::string& wangwangId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__BindService_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->BindService(serviceId, webId, webUid, aliuid, currToken, t, wangwangId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_BindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t, const ::std::string& wangwangId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__BindService_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__BindService_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__BindService_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(webUid); - __os->write(aliuid); - __os->write(currToken); - __os->write(t); - __os->write(wangwangId); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_BindService(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__BindService_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::UnbindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& wangwangId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__UnbindService_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->UnbindService(serviceId, webId, webUid, wangwangId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_UnbindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& wangwangId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__UnbindService_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__UnbindService_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__UnbindService_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(webUid); - __os->write(wangwangId); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_UnbindService(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__UnbindService_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::DoAuth(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, ::std::string& webUid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__DoAuth_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->DoAuth(serviceId, webId, aliuid, token, t, webUid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_DoAuth(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__DoAuth_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__DoAuth_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__DoAuth_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(aliuid); - __os->write(token); - __os->write(t); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_DoAuth(::std::string& webUid, const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__DoAuth_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(webUid); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__AddWebsite_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->AddWebsite(serviceId, webId, name, webUrl, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__AddWebsite_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__AddWebsite_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__AddWebsite_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(name); - if(webUrl.size() == 0) - { - __os->writeSize(0); - } - else - { - ::OpenImWebService::__writeSUrlInfoSeq(__os, &webUrl[0], &webUrl[0] + webUrl.size()); - } - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_AddWebsite(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__AddWebsite_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__DelWebsite_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->DelWebsite(serviceId, webId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__DelWebsite_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__DelWebsite_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__DelWebsite_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_DelWebsite(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__DelWebsite_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__ChgWebsite_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->ChgWebsite(serviceId, webId, name, webUrl, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__ChgWebsite_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__ChgWebsite_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__ChgWebsite_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(name); - if(webUrl.size() == 0) - { - __os->writeSize(0); - } - else - { - ::OpenImWebService::__writeSUrlInfoSeq(__os, &webUrl[0], &webUrl[0] + webUrl.size()); - } - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_ChgWebsite(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__ChgWebsite_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__ChgWebsiteStatus_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->ChgWebsiteStatus(serviceId, webId, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__ChgWebsiteStatus_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__ChgWebsiteStatus_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__ChgWebsiteStatus_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(status); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_ChgWebsiteStatus(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__ChgWebsiteStatus_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::SyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::OpenImWebService::STribeInfo& tribe, ::Ice::Long& tribeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__SyncWebTribe_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->SyncWebTribe(serviceId, webId, tribe, tribeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_SyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::OpenImWebService::STribeInfo& tribe, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__SyncWebTribe_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__SyncWebTribe_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__SyncWebTribe_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - tribe.__write(__os); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_SyncWebTribe(::Ice::Long& tribeId, const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__SyncWebTribe_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(tribeId); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::StopWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__StopWebTribe_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->StopWebTribe(serviceId, webId, tribeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_StopWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__StopWebTribe_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__StopWebTribe_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__StopWebTribe_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(tribeId); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_StopWebTribe(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__StopWebTribe_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::ModifyWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::KVMap& items, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__ModifyWebTribe_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->ModifyWebTribe(serviceId, webId, tribeId, items, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_ModifyWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::KVMap& items, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__ModifyWebTribe_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__ModifyWebTribe_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__ModifyWebTribe_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(tribeId); - ::OpenImWebService::__writeKVMap(__os, items); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_ModifyWebTribe(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__ModifyWebTribe_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::AddTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& member, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__AddTribeMember_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->AddTribeMember(serviceId, webId, tribeId, member, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_AddTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& member, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__AddTribeMember_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__AddTribeMember_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__AddTribeMember_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(tribeId); - member.__write(__os); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_AddTribeMember(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__AddTribeMember_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::DelTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::std::string& operId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__DelTribeMember_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->DelTribeMember(serviceId, webId, tribeId, memberId, operId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_DelTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::std::string& operId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__DelTribeMember_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__DelTribeMember_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__DelTribeMember_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(tribeId); - memberId.__write(__os); - __os->write(operId); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_DelTribeMember(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__DelTribeMember_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::QuitTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__QuitTribe_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->QuitTribe(serviceId, webId, tribeId, memberId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_QuitTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__QuitTribe_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__QuitTribe_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__QuitTribe_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(tribeId); - memberId.__write(__os); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_QuitTribe(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__QuitTribe_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::AddContact(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& wangwangId, const ::OpenImWebService::SWebUserInfoSeq& contactList, ::OpenImWebService::CntctSeq& cnt, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__AddContact_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->AddContact(serviceId, webId, wangwangId, contactList, cnt, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_AddContact(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& wangwangId, const ::OpenImWebService::SWebUserInfoSeq& contactList, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__AddContact_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__AddContact_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__AddContact_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(wangwangId); - if(contactList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::OpenImWebService::__writeSWebUserInfoSeq(__os, &contactList[0], &contactList[0] + contactList.size()); - } - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_AddContact(::OpenImWebService::CntctSeq& cnt, const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__AddContact_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(cnt); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::SendWebsiteMsg(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::StringSeq& receivers, const ::OpenImWebService::SNotifySysMsg& message, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__SendWebsiteMsg_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->SendWebsiteMsg(serviceId, webId, receivers, message, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_SendWebsiteMsg(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::StringSeq& receivers, const ::OpenImWebService::SNotifySysMsg& message, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__SendWebsiteMsg_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__SendWebsiteMsg_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__SendWebsiteMsg_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - if(receivers.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&receivers[0], &receivers[0] + receivers.size()); - } - message.__write(__os); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_SendWebsiteMsg(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__SendWebsiteMsg_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::SendUserMsg(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int cmdId, const ::std::string& fromId, const ::std::string& toId, const ::OpenImWebService::KVMap& message, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__SendUserMsg_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->SendUserMsg(serviceId, webId, cmdId, fromId, toId, message, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_SendUserMsg(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int cmdId, const ::std::string& fromId, const ::std::string& toId, const ::OpenImWebService::KVMap& message, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__SendUserMsg_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__SendUserMsg_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__SendUserMsg_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(cmdId); - __os->write(fromId); - __os->write(toId); - ::OpenImWebService::__writeKVMap(__os, message); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_SendUserMsg(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__SendUserMsg_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::GetHisOnline(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__GetHisOnline_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->GetHisOnline(serviceId, webId, fromDate, toDate, data, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_GetHisOnline(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& fromDate, const ::std::string& toDate, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__GetHisOnline_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__GetHisOnline_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__GetHisOnline_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->write(fromDate); - __os->write(toDate); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_GetHisOnline(::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__GetHisOnline_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - ::OpenImWebService::__readSWebStatisticsSeq(__is, data); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::GetAllHisOnline(const ::std::string& serviceId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__GetAllHisOnline_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->GetAllHisOnline(serviceId, fromDate, toDate, data, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_GetAllHisOnline(const ::std::string& serviceId, const ::std::string& fromDate, const ::std::string& toDate, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__GetAllHisOnline_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__GetAllHisOnline_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__GetAllHisOnline_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(fromDate); - __os->write(toDate); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_GetAllHisOnline(::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__GetAllHisOnline_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - ::OpenImWebService::__readSWebStatisticsSeq(__is, data); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::GetCurrOnline(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Long& number, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__GetCurrOnline_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->GetCurrOnline(serviceId, webId, number, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_GetCurrOnline(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__GetCurrOnline_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__GetCurrOnline_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__GetCurrOnline_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_GetCurrOnline(::Ice::Long& number, const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__GetCurrOnline_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(number); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::GetAllCurrOnline(const ::std::string& serviceId, ::Ice::Long& number, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__GetAllCurrOnline_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->GetAllCurrOnline(serviceId, number, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_GetAllCurrOnline(const ::std::string& serviceId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__GetAllCurrOnline_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__GetAllCurrOnline_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__GetAllCurrOnline_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_GetAllCurrOnline(::Ice::Long& number, const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__GetAllCurrOnline_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(number); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::GetHisMaxOnline(const ::std::string& serviceId, const ::std::string& webId, ::OpenImWebService::SWebStatistics& data, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__GetHisMaxOnline_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->GetHisMaxOnline(serviceId, webId, data, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_GetHisMaxOnline(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__GetHisMaxOnline_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__GetHisMaxOnline_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__GetHisMaxOnline_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->write(webId); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_GetHisMaxOnline(::OpenImWebService::SWebStatistics& data, const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__GetHisMaxOnline_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - data.__read(__is); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::GetAllHisMaxOnline(const ::std::string& serviceId, ::std::string& date, ::Ice::Long& number, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__GetAllHisMaxOnline_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->GetAllHisMaxOnline(serviceId, date, number, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_GetAllHisMaxOnline(const ::std::string& serviceId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__GetAllHisMaxOnline_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__GetAllHisMaxOnline_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__GetAllHisMaxOnline_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(serviceId); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_GetAllHisMaxOnline(::std::string& date, ::Ice::Long& number, const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__GetAllHisMaxOnline_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(date); - __is->read(number); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::QueryLog(const ::OpenImWebService::QueryItems& qi, ::OpenImWebService::SUidPairMsgSeq& rl, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__OpenImWebService__OpenImSrvMgr__QueryLog_name); - __delBase = __getDelegate(false); - ::IceDelegate::OpenImWebService::OpenImSrvMgr* __del = dynamic_cast< ::IceDelegate::OpenImWebService::OpenImSrvMgr*>(__delBase.get()); - return __del->QueryLog(qi, rl, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::OpenImWebService::OpenImSrvMgr::begin_QueryLog(const ::OpenImWebService::QueryItems& qi, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__OpenImWebService__OpenImSrvMgr__QueryLog_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __OpenImWebService__OpenImSrvMgr__QueryLog_name, __del, __cookie); - try - { - __result->__prepare(__OpenImWebService__OpenImSrvMgr__QueryLog_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - qi.__write(__os); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::OpenImWebService::OpenImSrvMgr::end_QueryLog(::OpenImWebService::SUidPairMsgSeq& rl, const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __OpenImWebService__OpenImSrvMgr__QueryLog_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - ::OpenImWebService::__readSUidPairMsgSeq(__is, rl); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -const ::std::string& -IceProxy::OpenImWebService::OpenImSrvMgr::ice_staticId() -{ - return ::OpenImWebService::OpenImSrvMgr::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::OpenImWebService::OpenImSrvMgr::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::OpenImWebService::OpenImSrvMgr); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::OpenImWebService::OpenImSrvMgr::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::OpenImWebService::OpenImSrvMgr); -} - -::IceProxy::Ice::Object* -IceProxy::OpenImWebService::OpenImSrvMgr::__newInstance() const -{ - return new OpenImSrvMgr; -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::BindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t, const ::std::string& wangwangId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__BindService_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(webUid); - __os->write(aliuid); - __os->write(currToken); - __os->write(t); - __os->write(wangwangId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::UnbindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& wangwangId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__UnbindService_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(webUid); - __os->write(wangwangId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::DoAuth(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, ::std::string& webUid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__DoAuth_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(aliuid); - __os->write(token); - __os->write(t); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(webUid); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__AddWebsite_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(name); - if(webUrl.size() == 0) - { - __os->writeSize(0); - } - else - { - ::OpenImWebService::__writeSUrlInfoSeq(__os, &webUrl[0], &webUrl[0] + webUrl.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__DelWebsite_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__ChgWebsite_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(name); - if(webUrl.size() == 0) - { - __os->writeSize(0); - } - else - { - ::OpenImWebService::__writeSUrlInfoSeq(__os, &webUrl[0], &webUrl[0] + webUrl.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__ChgWebsiteStatus_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(status); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::SyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::OpenImWebService::STribeInfo& tribe, ::Ice::Long& tribeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__SyncWebTribe_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - tribe.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(tribeId); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::StopWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__StopWebTribe_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::ModifyWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::KVMap& items, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__ModifyWebTribe_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(tribeId); - ::OpenImWebService::__writeKVMap(__os, items); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::AddTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& member, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__AddTribeMember_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(tribeId); - member.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::DelTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::std::string& operId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__DelTribeMember_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(tribeId); - memberId.__write(__os); - __os->write(operId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::QuitTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__QuitTribe_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(tribeId); - memberId.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::AddContact(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& wangwangId, const ::OpenImWebService::SWebUserInfoSeq& contactList, ::OpenImWebService::CntctSeq& cnt, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__AddContact_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(wangwangId); - if(contactList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::OpenImWebService::__writeSWebUserInfoSeq(__os, &contactList[0], &contactList[0] + contactList.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(cnt); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::SendWebsiteMsg(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::StringSeq& receivers, const ::OpenImWebService::SNotifySysMsg& message, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__SendWebsiteMsg_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - if(receivers.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&receivers[0], &receivers[0] + receivers.size()); - } - message.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::SendUserMsg(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int cmdId, const ::std::string& fromId, const ::std::string& toId, const ::OpenImWebService::KVMap& message, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__SendUserMsg_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(cmdId); - __os->write(fromId); - __os->write(toId); - ::OpenImWebService::__writeKVMap(__os, message); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::GetHisOnline(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__GetHisOnline_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(fromDate); - __os->write(toDate); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - ::OpenImWebService::__readSWebStatisticsSeq(__is, data); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::GetAllHisOnline(const ::std::string& serviceId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__GetAllHisOnline_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(fromDate); - __os->write(toDate); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - ::OpenImWebService::__readSWebStatisticsSeq(__is, data); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::GetCurrOnline(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Long& number, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__GetCurrOnline_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(number); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::GetAllCurrOnline(const ::std::string& serviceId, ::Ice::Long& number, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__GetAllCurrOnline_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(number); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::GetHisMaxOnline(const ::std::string& serviceId, const ::std::string& webId, ::OpenImWebService::SWebStatistics& data, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__GetHisMaxOnline_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - data.__read(__is); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::GetAllHisMaxOnline(const ::std::string& serviceId, ::std::string& date, ::Ice::Long& number, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__GetAllHisMaxOnline_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(date); - __is->read(number); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::OpenImWebService::OpenImSrvMgr::QueryLog(const ::OpenImWebService::QueryItems& qi, ::OpenImWebService::SUidPairMsgSeq& rl, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __OpenImWebService__OpenImSrvMgr__QueryLog_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - qi.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - ::OpenImWebService::__readSUidPairMsgSeq(__is, rl); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::BindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t, const ::std::string& wangwangId, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t, const ::std::string& wangwangId, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_webUid(webUid), - _m_aliuid(aliuid), - _m_currToken(currToken), - _m_t(t), - _m_wangwangId(wangwangId) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->BindService(_m_serviceId, _m_webId, _m_webUid, _m_aliuid, _m_currToken, _m_t, _m_wangwangId, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::std::string& _m_webUid; - const ::std::string& _m_aliuid; - const ::std::string& _m_currToken; - ::Ice::Long _m_t; - const ::std::string& _m_wangwangId; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__BindService_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, webUid, aliuid, currToken, t, wangwangId, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::UnbindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& wangwangId, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& wangwangId, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_webUid(webUid), - _m_wangwangId(wangwangId) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->UnbindService(_m_serviceId, _m_webId, _m_webUid, _m_wangwangId, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::std::string& _m_webUid; - const ::std::string& _m_wangwangId; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__UnbindService_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, webUid, wangwangId, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::DoAuth(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, ::std::string& webUid, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, ::std::string& webUid, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_aliuid(aliuid), - _m_token(token), - _m_t(t), - _m_webUid(webUid) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->DoAuth(_m_serviceId, _m_webId, _m_aliuid, _m_token, _m_t, _m_webUid, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::std::string& _m_aliuid; - const ::std::string& _m_token; - ::Ice::Long _m_t; - ::std::string& _m_webUid; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__DoAuth_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, aliuid, token, t, webUid, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_name(name), - _m_webUrl(webUrl) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->AddWebsite(_m_serviceId, _m_webId, _m_name, _m_webUrl, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::std::string& _m_name; - const ::OpenImWebService::SUrlInfoSeq& _m_webUrl; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__AddWebsite_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, name, webUrl, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->DelWebsite(_m_serviceId, _m_webId, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__DelWebsite_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_name(name), - _m_webUrl(webUrl) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->ChgWebsite(_m_serviceId, _m_webId, _m_name, _m_webUrl, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::std::string& _m_name; - const ::OpenImWebService::SUrlInfoSeq& _m_webUrl; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__ChgWebsite_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, name, webUrl, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_status(status) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->ChgWebsiteStatus(_m_serviceId, _m_webId, _m_status, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - ::Ice::Int _m_status; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__ChgWebsiteStatus_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, status, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::SyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::OpenImWebService::STribeInfo& tribe, ::Ice::Long& tribeId, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::OpenImWebService::STribeInfo& tribe, ::Ice::Long& tribeId, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_tribe(tribe), - _m_tribeId(tribeId) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->SyncWebTribe(_m_serviceId, _m_webId, _m_tribe, _m_tribeId, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::OpenImWebService::STribeInfo& _m_tribe; - ::Ice::Long& _m_tribeId; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__SyncWebTribe_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, tribe, tribeId, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::StopWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_tribeId(tribeId) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->StopWebTribe(_m_serviceId, _m_webId, _m_tribeId, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::std::string& _m_tribeId; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__StopWebTribe_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, tribeId, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::ModifyWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::KVMap& items, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::KVMap& items, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_tribeId(tribeId), - _m_items(items) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->ModifyWebTribe(_m_serviceId, _m_webId, _m_tribeId, _m_items, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::std::string& _m_tribeId; - const ::OpenImWebService::KVMap& _m_items; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__ModifyWebTribe_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, tribeId, items, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::AddTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& member, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& member, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_tribeId(tribeId), - _m_member(member) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->AddTribeMember(_m_serviceId, _m_webId, _m_tribeId, _m_member, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::std::string& _m_tribeId; - const ::OpenImWebService::SWebUserInfo& _m_member; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__AddTribeMember_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, tribeId, member, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::DelTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::std::string& operId, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::std::string& operId, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_tribeId(tribeId), - _m_memberId(memberId), - _m_operId(operId) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->DelTribeMember(_m_serviceId, _m_webId, _m_tribeId, _m_memberId, _m_operId, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::std::string& _m_tribeId; - const ::OpenImWebService::SWebUserInfo& _m_memberId; - const ::std::string& _m_operId; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__DelTribeMember_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, tribeId, memberId, operId, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::QuitTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_tribeId(tribeId), - _m_memberId(memberId) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->QuitTribe(_m_serviceId, _m_webId, _m_tribeId, _m_memberId, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::std::string& _m_tribeId; - const ::OpenImWebService::SWebUserInfo& _m_memberId; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__QuitTribe_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, tribeId, memberId, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::AddContact(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& wangwangId, const ::OpenImWebService::SWebUserInfoSeq& contactList, ::OpenImWebService::CntctSeq& cnt, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::std::string& wangwangId, const ::OpenImWebService::SWebUserInfoSeq& contactList, ::OpenImWebService::CntctSeq& cnt, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_wangwangId(wangwangId), - _m_contactList(contactList), - _m_cnt(cnt) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->AddContact(_m_serviceId, _m_webId, _m_wangwangId, _m_contactList, _m_cnt, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::std::string& _m_wangwangId; - const ::OpenImWebService::SWebUserInfoSeq& _m_contactList; - ::OpenImWebService::CntctSeq& _m_cnt; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__AddContact_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, wangwangId, contactList, cnt, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::SendWebsiteMsg(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::StringSeq& receivers, const ::OpenImWebService::SNotifySysMsg& message, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::Ice::StringSeq& receivers, const ::OpenImWebService::SNotifySysMsg& message, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_receivers(receivers), - _m_message(message) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->SendWebsiteMsg(_m_serviceId, _m_webId, _m_receivers, _m_message, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::Ice::StringSeq& _m_receivers; - const ::OpenImWebService::SNotifySysMsg& _m_message; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__SendWebsiteMsg_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, receivers, message, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::SendUserMsg(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int cmdId, const ::std::string& fromId, const ::std::string& toId, const ::OpenImWebService::KVMap& message, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int cmdId, const ::std::string& fromId, const ::std::string& toId, const ::OpenImWebService::KVMap& message, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_cmdId(cmdId), - _m_fromId(fromId), - _m_toId(toId), - _m_message(message) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->SendUserMsg(_m_serviceId, _m_webId, _m_cmdId, _m_fromId, _m_toId, _m_message, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - ::Ice::Int _m_cmdId; - const ::std::string& _m_fromId; - const ::std::string& _m_toId; - const ::OpenImWebService::KVMap& _m_message; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__SendUserMsg_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, cmdId, fromId, toId, message, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::GetHisOnline(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_fromDate(fromDate), - _m_toDate(toDate), - _m_data(data) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->GetHisOnline(_m_serviceId, _m_webId, _m_fromDate, _m_toDate, _m_data, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - const ::std::string& _m_fromDate; - const ::std::string& _m_toDate; - ::OpenImWebService::SWebStatisticsSeq& _m_data; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__GetHisOnline_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, fromDate, toDate, data, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::GetAllHisOnline(const ::std::string& serviceId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_fromDate(fromDate), - _m_toDate(toDate), - _m_data(data) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->GetAllHisOnline(_m_serviceId, _m_fromDate, _m_toDate, _m_data, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_fromDate; - const ::std::string& _m_toDate; - ::OpenImWebService::SWebStatisticsSeq& _m_data; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__GetAllHisOnline_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, fromDate, toDate, data, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::GetCurrOnline(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Long& number, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, ::Ice::Long& number, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_number(number) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->GetCurrOnline(_m_serviceId, _m_webId, _m_number, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - ::Ice::Long& _m_number; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__GetCurrOnline_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, number, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::GetAllCurrOnline(const ::std::string& serviceId, ::Ice::Long& number, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, ::Ice::Long& number, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_number(number) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->GetAllCurrOnline(_m_serviceId, _m_number, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - ::Ice::Long& _m_number; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__GetAllCurrOnline_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, number, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::GetHisMaxOnline(const ::std::string& serviceId, const ::std::string& webId, ::OpenImWebService::SWebStatistics& data, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, const ::std::string& webId, ::OpenImWebService::SWebStatistics& data, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_webId(webId), - _m_data(data) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->GetHisMaxOnline(_m_serviceId, _m_webId, _m_data, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - const ::std::string& _m_webId; - ::OpenImWebService::SWebStatistics& _m_data; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__GetHisMaxOnline_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, webId, data, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::GetAllHisMaxOnline(const ::std::string& serviceId, ::std::string& date, ::Ice::Long& number, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& serviceId, ::std::string& date, ::Ice::Long& number, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_serviceId(serviceId), - _m_date(date), - _m_number(number) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->GetAllHisMaxOnline(_m_serviceId, _m_date, _m_number, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_serviceId; - ::std::string& _m_date; - ::Ice::Long& _m_number; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__GetAllHisMaxOnline_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, serviceId, date, number, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::OpenImWebService::OpenImSrvMgr::QueryLog(const ::OpenImWebService::QueryItems& qi, ::OpenImWebService::SUidPairMsgSeq& rl, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::OpenImWebService::QueryItems& qi, ::OpenImWebService::SUidPairMsgSeq& rl, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_qi(qi), - _m_rl(rl) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::OpenImWebService::OpenImSrvMgr* servant = dynamic_cast< ::OpenImWebService::OpenImSrvMgr*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->QueryLog(_m_qi, _m_rl, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::OpenImWebService::QueryItems& _m_qi; - ::OpenImWebService::SUidPairMsgSeq& _m_rl; - }; - - ::Ice::Current __current; - __initCurrent(__current, __OpenImWebService__OpenImSrvMgr__QueryLog_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, qi, rl, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::ObjectPtr -OpenImWebService::OpenImSrvMgr::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __OpenImWebService__OpenImSrvMgr_ids[2] = -{ - "::Ice::Object", - "::OpenImWebService::OpenImSrvMgr" -}; - -bool -OpenImWebService::OpenImSrvMgr::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__OpenImWebService__OpenImSrvMgr_ids, __OpenImWebService__OpenImSrvMgr_ids + 2, _s); -} - -::std::vector< ::std::string> -OpenImWebService::OpenImSrvMgr::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__OpenImWebService__OpenImSrvMgr_ids[0], &__OpenImWebService__OpenImSrvMgr_ids[2]); -} - -const ::std::string& -OpenImWebService::OpenImSrvMgr::ice_id(const ::Ice::Current&) const -{ - return __OpenImWebService__OpenImSrvMgr_ids[1]; -} - -const ::std::string& -OpenImWebService::OpenImSrvMgr::ice_staticId() -{ - return __OpenImWebService__OpenImSrvMgr_ids[1]; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___BindService(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::std::string webUid; - ::std::string aliuid; - ::std::string currToken; - ::Ice::Long t; - ::std::string wangwangId; - __is->read(serviceId); - __is->read(webId); - __is->read(webUid); - __is->read(aliuid); - __is->read(currToken); - __is->read(t); - __is->read(wangwangId); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = BindService(serviceId, webId, webUid, aliuid, currToken, t, wangwangId, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___UnbindService(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::std::string webUid; - ::std::string wangwangId; - __is->read(serviceId); - __is->read(webId); - __is->read(webUid); - __is->read(wangwangId); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = UnbindService(serviceId, webId, webUid, wangwangId, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___DoAuth(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::std::string aliuid; - ::std::string token; - ::Ice::Long t; - __is->read(serviceId); - __is->read(webId); - __is->read(aliuid); - __is->read(token); - __is->read(t); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string webUid; - ::Ice::Int __ret = DoAuth(serviceId, webId, aliuid, token, t, webUid, __current); - __os->write(webUid); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___AddWebsite(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::std::string name; - ::OpenImWebService::SUrlInfoSeq webUrl; - __is->read(serviceId); - __is->read(webId); - __is->read(name); - ::OpenImWebService::__readSUrlInfoSeq(__is, webUrl); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = AddWebsite(serviceId, webId, name, webUrl, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___DelWebsite(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - __is->read(serviceId); - __is->read(webId); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = DelWebsite(serviceId, webId, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___ChgWebsite(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::std::string name; - ::OpenImWebService::SUrlInfoSeq webUrl; - __is->read(serviceId); - __is->read(webId); - __is->read(name); - ::OpenImWebService::__readSUrlInfoSeq(__is, webUrl); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = ChgWebsite(serviceId, webId, name, webUrl, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___ChgWebsiteStatus(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::Ice::Int status; - __is->read(serviceId); - __is->read(webId); - __is->read(status); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = ChgWebsiteStatus(serviceId, webId, status, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___SyncWebTribe(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::OpenImWebService::STribeInfo tribe; - __is->read(serviceId); - __is->read(webId); - tribe.__read(__is); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long tribeId; - ::Ice::Int __ret = SyncWebTribe(serviceId, webId, tribe, tribeId, __current); - __os->write(tribeId); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___StopWebTribe(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::std::string tribeId; - __is->read(serviceId); - __is->read(webId); - __is->read(tribeId); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = StopWebTribe(serviceId, webId, tribeId, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___ModifyWebTribe(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::std::string tribeId; - ::OpenImWebService::KVMap items; - __is->read(serviceId); - __is->read(webId); - __is->read(tribeId); - ::OpenImWebService::__readKVMap(__is, items); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = ModifyWebTribe(serviceId, webId, tribeId, items, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___AddTribeMember(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::std::string tribeId; - ::OpenImWebService::SWebUserInfo member; - __is->read(serviceId); - __is->read(webId); - __is->read(tribeId); - member.__read(__is); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = AddTribeMember(serviceId, webId, tribeId, member, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___DelTribeMember(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::std::string tribeId; - ::OpenImWebService::SWebUserInfo memberId; - ::std::string operId; - __is->read(serviceId); - __is->read(webId); - __is->read(tribeId); - memberId.__read(__is); - __is->read(operId); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = DelTribeMember(serviceId, webId, tribeId, memberId, operId, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___QuitTribe(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::std::string tribeId; - ::OpenImWebService::SWebUserInfo memberId; - __is->read(serviceId); - __is->read(webId); - __is->read(tribeId); - memberId.__read(__is); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = QuitTribe(serviceId, webId, tribeId, memberId, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___AddContact(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::std::string wangwangId; - ::OpenImWebService::SWebUserInfoSeq contactList; - __is->read(serviceId); - __is->read(webId); - __is->read(wangwangId); - ::OpenImWebService::__readSWebUserInfoSeq(__is, contactList); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::OpenImWebService::CntctSeq cnt; - ::Ice::Int __ret = AddContact(serviceId, webId, wangwangId, contactList, cnt, __current); - if(cnt.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&cnt[0], &cnt[0] + cnt.size()); - } - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___SendWebsiteMsg(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::Ice::StringSeq receivers; - ::OpenImWebService::SNotifySysMsg message; - __is->read(serviceId); - __is->read(webId); - __is->read(receivers); - message.__read(__is); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = SendWebsiteMsg(serviceId, webId, receivers, message, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___SendUserMsg(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::Ice::Int cmdId; - ::std::string fromId; - ::std::string toId; - ::OpenImWebService::KVMap message; - __is->read(serviceId); - __is->read(webId); - __is->read(cmdId); - __is->read(fromId); - __is->read(toId); - ::OpenImWebService::__readKVMap(__is, message); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = SendUserMsg(serviceId, webId, cmdId, fromId, toId, message, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___GetHisOnline(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - ::std::string fromDate; - ::std::string toDate; - __is->read(serviceId); - __is->read(webId); - __is->read(fromDate); - __is->read(toDate); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::OpenImWebService::SWebStatisticsSeq data; - ::Ice::Int __ret = GetHisOnline(serviceId, webId, fromDate, toDate, data, __current); - if(data.size() == 0) - { - __os->writeSize(0); - } - else - { - ::OpenImWebService::__writeSWebStatisticsSeq(__os, &data[0], &data[0] + data.size()); - } - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___GetAllHisOnline(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string fromDate; - ::std::string toDate; - __is->read(serviceId); - __is->read(fromDate); - __is->read(toDate); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::OpenImWebService::SWebStatisticsSeq data; - ::Ice::Int __ret = GetAllHisOnline(serviceId, fromDate, toDate, data, __current); - if(data.size() == 0) - { - __os->writeSize(0); - } - else - { - ::OpenImWebService::__writeSWebStatisticsSeq(__os, &data[0], &data[0] + data.size()); - } - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___GetCurrOnline(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - __is->read(serviceId); - __is->read(webId); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long number; - ::Ice::Int __ret = GetCurrOnline(serviceId, webId, number, __current); - __os->write(number); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___GetAllCurrOnline(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - __is->read(serviceId); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long number; - ::Ice::Int __ret = GetAllCurrOnline(serviceId, number, __current); - __os->write(number); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___GetHisMaxOnline(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - ::std::string webId; - __is->read(serviceId); - __is->read(webId); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::OpenImWebService::SWebStatistics data; - ::Ice::Int __ret = GetHisMaxOnline(serviceId, webId, data, __current); - data.__write(__os); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___GetAllHisMaxOnline(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string serviceId; - __is->read(serviceId); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string date; - ::Ice::Long number; - ::Ice::Int __ret = GetAllHisMaxOnline(serviceId, date, number, __current); - __os->write(date); - __os->write(number); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::___QueryLog(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::OpenImWebService::QueryItems qi; - qi.__read(__is); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::OpenImWebService::SUidPairMsgSeq rl; - ::Ice::Int __ret = QueryLog(qi, rl, __current); - if(rl.size() == 0) - { - __os->writeSize(0); - } - else - { - ::OpenImWebService::__writeSUidPairMsgSeq(__os, &rl[0], &rl[0] + rl.size()); - } - __os->write(__ret); - return ::Ice::DispatchOK; -} - -static ::std::string __OpenImWebService__OpenImSrvMgr_all[] = -{ - "AddContact", - "AddTribeMember", - "AddWebsite", - "BindService", - "ChgWebsite", - "ChgWebsiteStatus", - "DelTribeMember", - "DelWebsite", - "DoAuth", - "GetAllCurrOnline", - "GetAllHisMaxOnline", - "GetAllHisOnline", - "GetCurrOnline", - "GetHisMaxOnline", - "GetHisOnline", - "ModifyWebTribe", - "QueryLog", - "QuitTribe", - "SendUserMsg", - "SendWebsiteMsg", - "StopWebTribe", - "SyncWebTribe", - "UnbindService", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::Ice::DispatchStatus -OpenImWebService::OpenImSrvMgr::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__OpenImWebService__OpenImSrvMgr_all, __OpenImWebService__OpenImSrvMgr_all + 27, current.operation); - if(r.first == r.second) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation); - } - - switch(r.first - __OpenImWebService__OpenImSrvMgr_all) - { - case 0: - { - return ___AddContact(in, current); - } - case 1: - { - return ___AddTribeMember(in, current); - } - case 2: - { - return ___AddWebsite(in, current); - } - case 3: - { - return ___BindService(in, current); - } - case 4: - { - return ___ChgWebsite(in, current); - } - case 5: - { - return ___ChgWebsiteStatus(in, current); - } - case 6: - { - return ___DelTribeMember(in, current); - } - case 7: - { - return ___DelWebsite(in, current); - } - case 8: - { - return ___DoAuth(in, current); - } - case 9: - { - return ___GetAllCurrOnline(in, current); - } - case 10: - { - return ___GetAllHisMaxOnline(in, current); - } - case 11: - { - return ___GetAllHisOnline(in, current); - } - case 12: - { - return ___GetCurrOnline(in, current); - } - case 13: - { - return ___GetHisMaxOnline(in, current); - } - case 14: - { - return ___GetHisOnline(in, current); - } - case 15: - { - return ___ModifyWebTribe(in, current); - } - case 16: - { - return ___QueryLog(in, current); - } - case 17: - { - return ___QuitTribe(in, current); - } - case 18: - { - return ___SendUserMsg(in, current); - } - case 19: - { - return ___SendWebsiteMsg(in, current); - } - case 20: - { - return ___StopWebTribe(in, current); - } - case 21: - { - return ___SyncWebTribe(in, current); - } - case 22: - { - return ___UnbindService(in, current); - } - case 23: - { - return ___ice_id(in, current); - } - case 24: - { - return ___ice_ids(in, current); - } - case 25: - { - return ___ice_isA(in, current); - } - case 26: - { - return ___ice_ping(in, current); - } - } - - assert(false); - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation); -} - -void -OpenImWebService::OpenImSrvMgr::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -OpenImWebService::OpenImSrvMgr::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -// COMPILERFIX: Stream API is not supported with VC++ 6 -#if !defined(_MSC_VER) || (_MSC_VER >= 1300) -void -OpenImWebService::OpenImSrvMgr::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type OpenImWebService::OpenImSrvMgr was not generated with stream support"; - throw ex; -} - -void -OpenImWebService::OpenImSrvMgr::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type OpenImWebService::OpenImSrvMgr was not generated with stream support"; - throw ex; -} -#endif - -void -OpenImWebService::__patch__OpenImSrvMgrPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::OpenImWebService::OpenImSrvMgrPtr* p = static_cast< ::OpenImWebService::OpenImSrvMgrPtr*>(__addr); - assert(p); - *p = ::OpenImWebService::OpenImSrvMgrPtr::dynamicCast(v); - if(v && !*p) - { - IceInternal::Ex::throwUOE(::OpenImWebService::OpenImSrvMgr::ice_staticId(), v->ice_id()); - } -} diff --git a/features/aliww/source/README b/features/aliww/source/README deleted file mode 100644 index c3d1b52..0000000 --- a/features/aliww/source/README +++ /dev/null @@ -1,4 +0,0 @@ -ËùÓеIJâÊÔ´úÂë·ÅÔÚÕâÀï¡£ - -Õâ¸öĿ¼ֻ´æ·Å´úÂ룬 -²»°üÀ¨Êý¾ÝÒÔ¼°ÅäÖᣠ\ No newline at end of file diff --git a/features/aliww/source/RSAWrapper.cpp b/features/aliww/source/RSAWrapper.cpp deleted file mode 100644 index ea4a146..0000000 --- a/features/aliww/source/RSAWrapper.cpp +++ /dev/null @@ -1,27 +0,0 @@ -// RSAWrapper.cpp : ¶¨Òå DLL Ó¦ÓóÌÐòµÄÈë¿Úµã¡£ -// -#include "RSACipher.h" -#include "RSAWrapper.h" - -// -//#ifdef _MANAGED -//#pragma managed(push, off) -//#endif - -int RSA_PublicEncrypt(const char* szPubKey, - const int nPubKey, - const char* szOri, - const int nOriLen, - std::string& strResult) -{ - CRsaCipher rsa; - std::string strOri; - strOri.append(szOri, nOriLen); - - if(rsa.SetKey(KEY_PUB, szPubKey, nPubKey) == -1) //³öÎÊÌâÁË - return -1; - - int nRet = rsa.RSAPublicEncrypt(strOri, strResult, RSA_PKCS1_PADDING); - - return nRet; -} diff --git a/features/aliww/source/RsaCipher.cpp b/features/aliww/source/RsaCipher.cpp deleted file mode 100644 index 150d49d..0000000 --- a/features/aliww/source/RsaCipher.cpp +++ /dev/null @@ -1,333 +0,0 @@ -//#include "StdAfx.h" -#include "RSACipher.h" -#include - -using namespace std; - -int pass_cb(char *buf, int size, int rwflag, void *u) -{ - int len; - char *tmp; - - string* pstrpass = (string*)u; - if(!pstrpass) - return 0; - - len = (int)(pstrpass->size()); - - if (len <= 0) return 0; - - /* if too long, truncate */ - if (len > size) - len = size; - - tmp = (char *)pstrpass->data(); - - memcpy(buf, tmp, len); - return len; -} - -CRsaCipher::CRsaCipher(void) -: m_pRSA(NULL) -{ -} - -CRsaCipher::~CRsaCipher(void) -{ -} - -bool CRsaCipher::isKeyPresent(long type) -{ - if(!m_pRSA) - { - return false; - } - - switch(type) - { - case KEY_PUB: - return (m_pRSA->e && m_pRSA->n); - case KEY_PRI: - return !(!m_pRSA->d); - default: - return false; - } -} - -int CRsaCipher::GenKey(long bits, EALICIPHERALG alg) -{ - // ³¤¶È¼ì²â - if(bits <512) - bits = 1024; - else if( (bits != 512) && (bits != 1024) && (bits != 2048) && (bits != 4096)) - { - bits = 1024; - } - - if(GetInternalCipher(alg ) == NULL) - { - return -1; - } - - // ¿ªÊ¼²úÉúkey - if(m_pRSA) - { - RSA_free(m_pRSA); - m_pRSA = NULL; - } - - srand( (unsigned)time( NULL ) ); - // - m_pRSA = RSA_generate_key(bits , 17 , NULL , NULL); - if(!m_pRSA) - { - return -1; - } - - - // ´æ´¢Ëã·¨id - m_alg = alg; - - return 0; -} - -int CRsaCipher::GetKey(eKeyType type, std::string &retKey) -{ - if(type == 0) - { - type = KEY_PUB; - } - - if(!isKeyPresent(type)) - { - return -1; - } - - switch(type) - { - case KEY_PUB: - { - // ¶ÁÈ¡¹«Ô¿ - BIO *biopubkey = BIO_new(BIO_s_mem()); - if(1 != PEM_write_bio_RSAPublicKey(biopubkey , m_pRSA)) - { - BIO_free(biopubkey); - return -1; - } - char* buffer=new char[8092]; - int outlen=8092, retlen=0; - retlen=BIO_read(biopubkey,buffer,outlen); - BIO_free(biopubkey); - retKey.assign(buffer, retlen); - delete []buffer; - } - break; - case KEY_PRI: - { - - BIO *bioprikey = BIO_new(BIO_s_mem()); - if(1 != PEM_write_bio_RSAPrivateKey(bioprikey ,m_pRSA ,GetInternalCipher(m_alg ), - (unsigned char*)m_strPass.data() ,int(m_strPass.size()),NULL , NULL)) - { - BIO_free(bioprikey); - return -1; - } - char* buffer=new char[8092]; - int outlen=8092, retlen=0; - retlen=BIO_read(bioprikey,buffer,outlen); - BIO_free(bioprikey); - retKey.assign(buffer, retlen); - delete []buffer; - } - break; - default: - return -1; - } - - return 0; -} - -int CRsaCipher::RSAPublicEncrypt(std::string &source, std::string &to, int paddType) -{ - int blockSize=RSA_size(m_pRSA); - - unsigned char* tmpbuff = new unsigned char[blockSize+1]; - if(RSA_PKCS1_PADDING == paddType) - { - blockSize -=11; - } - else if(RSA_PKCS1_OAEP_PADDING == paddType) - { - blockSize -=41; - } - int leftlen=(int)source.size(); - if(leftlen %blockSize ) - { - source.append(blockSize-leftlen%blockSize,0); - leftlen=(int)source.size(); - } - int index=0; - while(leftlen >0) - { - int flen=blockSize; - if(leftlen < blockSize) - flen = leftlen; - int num = RSA_public_encrypt(flen, (unsigned char*)source.data()+index, tmpbuff, m_pRSA, paddType); - if(num == -1) - { - delete []tmpbuff; - return -1; - } - index +=flen; - leftlen -=flen; - to.append((char*)tmpbuff,num); - } - delete []tmpbuff; - return 0; -} - -int CRsaCipher::RSAPrivDecrypt(const std::string &source, std::string &to, int paddType) -{ - int blockSize=RSA_size(m_pRSA); - int leftlen=(int)source.size(); - if(leftlen %blockSize ) - { - return -2; - //source.append(blockSize-leftlen%blockSize,0); - //leftlen=source.size(); - } - unsigned char* tmpbuff = new unsigned char[blockSize+1]; - int decyptedLen=blockSize; - if(RSA_PKCS1_PADDING == paddType) - { - decyptedLen -=11; - } - else if(RSA_PKCS1_OAEP_PADDING == paddType) - { - decyptedLen -=41; - } - int index=0; - while(leftlen >0) - { - int flen=blockSize; - // if(leftlen < blockSize) - // flen = leftlen; - int num = RSA_private_decrypt(flen, (unsigned char*)source.data()+index, tmpbuff, m_pRSA, paddType); - if(num == -1) - { - delete []tmpbuff; - return -1; - } - if(num !=decyptedLen ) - break; - index +=flen; - leftlen -=flen; - to.append((char*)tmpbuff,num); - } - delete []tmpbuff; - return 0; -} - -int CRsaCipher::SetKey(eKeyType type, const void* pKey, int nKeyLen, const std::string privkeypass) -{ - m_strPass =privkeypass; - //BSTR bstrpass, ULONGLONG pVoid - if(type == 0) - { - type = KEY_PUB; - } - - switch(type) - { - case KEY_PUB: - { - // ÉèÖù«Ô¿ - BIO *pbiopubkey = BIO_new(BIO_s_mem()); - BIO_write(pbiopubkey , pKey, nKeyLen); - RSA* pRet = NULL; - if(!(pRet = PEM_read_bio_RSAPublicKey(pbiopubkey , NULL , NULL,NULL))) - { - BIO_free(pbiopubkey); - return -1; - } - BIO_free(pbiopubkey); - if(m_pRSA) - { - RSA_free(m_pRSA); - m_pRSA = NULL; - } - - m_pRSA = pRet; - } - break; - case KEY_PRI: - { - BIO *pBio = BIO_new(BIO_s_mem()); - BIO_write(pBio , pKey, nKeyLen); - RSA* pRet = NULL; - OpenSSL_add_all_algorithms(); - if(!(pRet = PEM_read_bio_RSAPrivateKey(pBio,NULL,pass_cb,(void*)&m_strPass))) - { - BIO_free(pBio); - return -1; - } - BIO_free(pBio); - if(m_pRSA) - { - RSA_free(m_pRSA); - m_pRSA = NULL; - } - - m_alg = ALI_CIPHER_DES3_ECB_ALG; - - m_pRSA = pRet; - } - break; - default: - return -1; - } - - return 0; -} - -EVP_CIPHER* CRsaCipher::GetInternalCipher(EALICIPHERALG alg ) -{ - // ÅжÏËã·¨ÓÐЧÐÔ - EVP_CIPHER *cipher = NULL; - - switch(alg) - { - case ALI_CIPHER_DES_ECB_ALG: - cipher = const_cast(EVP_des_ecb()); - break; - case ALI_CIPHER_DES_CFB_ALG: - cipher = const_cast(EVP_des_cfb()); - break; - case ALI_CIPHER_DES_OFB_ALG: - cipher = const_cast(EVP_des_ofb()); - break; - - case ALI_CIPHER_DES3_ECB_ALG: - cipher = const_cast(EVP_des_ede3_ecb()); - break; - case ALI_CIPHER_DES3_CFB_ALG: - cipher = const_cast(EVP_des_ede3_cfb()); - break; - case ALI_CIPHER_DES3_OFB_ALG: - cipher = const_cast(EVP_des_ede3_ofb()); - break; - case ALI_CIPHER_DES3_CBC_ALG: - cipher = const_cast(EVP_des_ede3_cbc()); - break; - case ALI_CIPHER_RC4_ALG: - cipher = const_cast(EVP_rc4()); - break; - - default: - cipher = const_cast(EVP_des_cbc()); - break; - } - - return cipher; - -} \ No newline at end of file diff --git a/features/aliww/source/TribeInterface.cpp b/features/aliww/source/TribeInterface.cpp deleted file mode 100644 index 71c9576..0000000 --- a/features/aliww/source/TribeInterface.cpp +++ /dev/null @@ -1,646 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.4.1 - -// -// -// Generated from file `TribeInterface.ice' -// -// Warning: do not edit this file. -// -// - -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 304 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __TribeUpdateServer__TribeUpdateInterface__UpdateTribePictrues_name = "UpdateTribePictrues"; - -static const ::std::string __TribeUpdateServer__TribeUpdateInterface__UpdateBulletinNew_name = "UpdateBulletinNew"; - -::Ice::Object* IceInternal::upCast(::TribeUpdateServer::TribeUpdateInterface* p) { return p; } -::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::TribeUpdateServer::TribeUpdateInterface* p) { return p; } - -void -TribeUpdateServer::__read(::IceInternal::BasicStream* __is, ::TribeUpdateServer::TribeUpdateInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::TribeUpdateServer::TribeUpdateInterface; - v->__copyFrom(proxy); - } -} - -::Ice::Int -IceProxy::TribeUpdateServer::TribeUpdateInterface::UpdateTribePictrues(::Ice::Long tribeId, const ::std::string& userId, ::Ice::Int type, const ::std::string& path, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeUpdateServer__TribeUpdateInterface__UpdateTribePictrues_name); - __delBase = __getDelegate(false); - ::IceDelegate::TribeUpdateServer::TribeUpdateInterface* __del = dynamic_cast< ::IceDelegate::TribeUpdateServer::TribeUpdateInterface*>(__delBase.get()); - return __del->UpdateTribePictrues(tribeId, userId, type, path, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::TribeUpdateServer::TribeUpdateInterface::begin_UpdateTribePictrues(::Ice::Long tribeId, const ::std::string& userId, ::Ice::Int type, const ::std::string& path, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__TribeUpdateServer__TribeUpdateInterface__UpdateTribePictrues_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __TribeUpdateServer__TribeUpdateInterface__UpdateTribePictrues_name, __del, __cookie); - try - { - __result->__prepare(__TribeUpdateServer__TribeUpdateInterface__UpdateTribePictrues_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(tribeId); - __os->write(userId); - __os->write(type); - __os->write(path); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::TribeUpdateServer::TribeUpdateInterface::end_UpdateTribePictrues(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __TribeUpdateServer__TribeUpdateInterface__UpdateTribePictrues_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -::Ice::Int -IceProxy::TribeUpdateServer::TribeUpdateInterface::UpdateBulletinNew(const ::std::string& uid, ::Ice::Long tribeId, const ::std::string& bulletinNew, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeUpdateServer__TribeUpdateInterface__UpdateBulletinNew_name); - __delBase = __getDelegate(false); - ::IceDelegate::TribeUpdateServer::TribeUpdateInterface* __del = dynamic_cast< ::IceDelegate::TribeUpdateServer::TribeUpdateInterface*>(__delBase.get()); - return __del->UpdateBulletinNew(uid, tribeId, bulletinNew, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, true, __cnt); - } - } -} - -::Ice::AsyncResultPtr -IceProxy::TribeUpdateServer::TribeUpdateInterface::begin_UpdateBulletinNew(const ::std::string& uid, ::Ice::Long tribeId, const ::std::string& bulletinNew, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie) -{ - __checkAsyncTwowayOnly(__TribeUpdateServer__TribeUpdateInterface__UpdateBulletinNew_name); - ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __TribeUpdateServer__TribeUpdateInterface__UpdateBulletinNew_name, __del, __cookie); - try - { - __result->__prepare(__TribeUpdateServer__TribeUpdateInterface__UpdateBulletinNew_name, ::Ice::Normal, __ctx); - ::IceInternal::BasicStream* __os = __result->__getOs(); - __os->write(uid); - __os->write(tribeId); - __os->write(bulletinNew); - __os->endWriteEncaps(); - __result->__send(true); - } - catch(const ::Ice::LocalException& __ex) - { - __result->__exceptionAsync(__ex); - } - return __result; -} - -::Ice::Int -IceProxy::TribeUpdateServer::TribeUpdateInterface::end_UpdateBulletinNew(const ::Ice::AsyncResultPtr& __result) -{ - ::Ice::AsyncResult::__check(__result, this, __TribeUpdateServer__TribeUpdateInterface__UpdateBulletinNew_name); - ::Ice::Int __ret; - if(!__result->__wait()) - { - try - { - __result->__throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::IceInternal::BasicStream* __is = __result->__getIs(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; -} - -const ::std::string& -IceProxy::TribeUpdateServer::TribeUpdateInterface::ice_staticId() -{ - return ::TribeUpdateServer::TribeUpdateInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::TribeUpdateServer::TribeUpdateInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::TribeUpdateServer::TribeUpdateInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::TribeUpdateServer::TribeUpdateInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::TribeUpdateServer::TribeUpdateInterface); -} - -::IceProxy::Ice::Object* -IceProxy::TribeUpdateServer::TribeUpdateInterface::__newInstance() const -{ - return new TribeUpdateInterface; -} - -::Ice::Int -IceDelegateM::TribeUpdateServer::TribeUpdateInterface::UpdateTribePictrues(::Ice::Long tribeId, const ::std::string& userId, ::Ice::Int type, const ::std::string& path, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __TribeUpdateServer__TribeUpdateInterface__UpdateTribePictrues_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(userId); - __os->write(type); - __os->write(path); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeUpdateServer::TribeUpdateInterface::UpdateBulletinNew(const ::std::string& uid, ::Ice::Long tribeId, const ::std::string& bulletinNew, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__handler.get(), __TribeUpdateServer__TribeUpdateInterface__UpdateBulletinNew_name, ::Ice::Normal, __context); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(tribeId); - __os->write(bulletinNew); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - ::Ice::Int __ret; - try - { - if(!__ok) - { - try - { - __og.throwUserException(); - } - catch(const ::Ice::UserException& __ex) - { - ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name()); - throw __uue; - } - } - ::IceInternal::BasicStream* __is = __og.is(); - __is->startReadEncaps(); - __is->read(__ret); - __is->endReadEncaps(); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::TribeUpdateServer::TribeUpdateInterface::UpdateTribePictrues(::Ice::Long tribeId, const ::std::string& userId, ::Ice::Int type, const ::std::string& path, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, ::Ice::Long tribeId, const ::std::string& userId, ::Ice::Int type, const ::std::string& path, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_tribeId(tribeId), - _m_userId(userId), - _m_type(type), - _m_path(path) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::TribeUpdateServer::TribeUpdateInterface* servant = dynamic_cast< ::TribeUpdateServer::TribeUpdateInterface*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->UpdateTribePictrues(_m_tribeId, _m_userId, _m_type, _m_path, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - ::Ice::Long _m_tribeId; - const ::std::string& _m_userId; - ::Ice::Int _m_type; - const ::std::string& _m_path; - }; - - ::Ice::Current __current; - __initCurrent(__current, __TribeUpdateServer__TribeUpdateInterface__UpdateTribePictrues_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, tribeId, userId, type, path, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::Int -IceDelegateD::TribeUpdateServer::TribeUpdateInterface::UpdateBulletinNew(const ::std::string& uid, ::Ice::Long tribeId, const ::std::string& bulletinNew, const ::Ice::Context* __context) -{ - class _DirectI : public ::IceInternal::Direct - { - public: - - _DirectI(::Ice::Int& __result, const ::std::string& uid, ::Ice::Long tribeId, const ::std::string& bulletinNew, const ::Ice::Current& __current) : - ::IceInternal::Direct(__current), - _result(__result), - _m_uid(uid), - _m_tribeId(tribeId), - _m_bulletinNew(bulletinNew) - { - } - - virtual ::Ice::DispatchStatus - run(::Ice::Object* object) - { - ::TribeUpdateServer::TribeUpdateInterface* servant = dynamic_cast< ::TribeUpdateServer::TribeUpdateInterface*>(object); - if(!servant) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, _current.id, _current.facet, _current.operation); - } - _result = servant->UpdateBulletinNew(_m_uid, _m_tribeId, _m_bulletinNew, _current); - return ::Ice::DispatchOK; - } - - private: - - ::Ice::Int& _result; - const ::std::string& _m_uid; - ::Ice::Long _m_tribeId; - const ::std::string& _m_bulletinNew; - }; - - ::Ice::Current __current; - __initCurrent(__current, __TribeUpdateServer__TribeUpdateInterface__UpdateBulletinNew_name, ::Ice::Normal, __context); - ::Ice::Int __result; - try - { - _DirectI __direct(__result, uid, tribeId, bulletinNew, __current); - try - { - __direct.servant()->__collocDispatch(__direct); - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - } - catch(const ::Ice::SystemException&) - { - throw; - } - catch(const ::IceInternal::LocalExceptionWrapper&) - { - throw; - } - catch(const ::std::exception& __ex) - { - ::IceInternal::LocalExceptionWrapper::throwWrapper(__ex); - } - catch(...) - { - throw ::IceInternal::LocalExceptionWrapper(::Ice::UnknownException(__FILE__, __LINE__, "unknown c++ exception"), false); - } - return __result; -} - -::Ice::ObjectPtr -TribeUpdateServer::TribeUpdateInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __TribeUpdateServer__TribeUpdateInterface_ids[2] = -{ - "::Ice::Object", - "::TribeUpdateServer::TribeUpdateInterface" -}; - -bool -TribeUpdateServer::TribeUpdateInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__TribeUpdateServer__TribeUpdateInterface_ids, __TribeUpdateServer__TribeUpdateInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -TribeUpdateServer::TribeUpdateInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__TribeUpdateServer__TribeUpdateInterface_ids[0], &__TribeUpdateServer__TribeUpdateInterface_ids[2]); -} - -const ::std::string& -TribeUpdateServer::TribeUpdateInterface::ice_id(const ::Ice::Current&) const -{ - return __TribeUpdateServer__TribeUpdateInterface_ids[1]; -} - -const ::std::string& -TribeUpdateServer::TribeUpdateInterface::ice_staticId() -{ - return __TribeUpdateServer__TribeUpdateInterface_ids[1]; -} - -::Ice::DispatchStatus -TribeUpdateServer::TribeUpdateInterface::___UpdateTribePictrues(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::Ice::Long tribeId; - ::std::string userId; - ::Ice::Int type; - ::std::string path; - __is->read(tribeId); - __is->read(userId); - __is->read(type); - __is->read(path); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = UpdateTribePictrues(tribeId, userId, type, path, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -::Ice::DispatchStatus -TribeUpdateServer::TribeUpdateInterface::___UpdateBulletinNew(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - __is->startReadEncaps(); - ::std::string uid; - ::Ice::Long tribeId; - ::std::string bulletinNew; - __is->read(uid); - __is->read(tribeId); - __is->read(bulletinNew); - __is->endReadEncaps(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = UpdateBulletinNew(uid, tribeId, bulletinNew, __current); - __os->write(__ret); - return ::Ice::DispatchOK; -} - -static ::std::string __TribeUpdateServer__TribeUpdateInterface_all[] = -{ - "UpdateBulletinNew", - "UpdateTribePictrues", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::Ice::DispatchStatus -TribeUpdateServer::TribeUpdateInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__TribeUpdateServer__TribeUpdateInterface_all, __TribeUpdateServer__TribeUpdateInterface_all + 6, current.operation); - if(r.first == r.second) - { - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation); - } - - switch(r.first - __TribeUpdateServer__TribeUpdateInterface_all) - { - case 0: - { - return ___UpdateBulletinNew(in, current); - } - case 1: - { - return ___UpdateTribePictrues(in, current); - } - case 2: - { - return ___ice_id(in, current); - } - case 3: - { - return ___ice_ids(in, current); - } - case 4: - { - return ___ice_isA(in, current); - } - case 5: - { - return ___ice_ping(in, current); - } - } - - assert(false); - throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation); -} - -void -TribeUpdateServer::TribeUpdateInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -TribeUpdateServer::TribeUpdateInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -// COMPILERFIX: Stream API is not supported with VC++ 6 -#if !defined(_MSC_VER) || (_MSC_VER >= 1300) -void -TribeUpdateServer::TribeUpdateInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type TribeUpdateServer::TribeUpdateInterface was not generated with stream support"; - throw ex; -} - -void -TribeUpdateServer::TribeUpdateInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type TribeUpdateServer::TribeUpdateInterface was not generated with stream support"; - throw ex; -} -#endif - -void -TribeUpdateServer::__patch__TribeUpdateInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::TribeUpdateServer::TribeUpdateInterfacePtr* p = static_cast< ::TribeUpdateServer::TribeUpdateInterfacePtr*>(__addr); - assert(p); - *p = ::TribeUpdateServer::TribeUpdateInterfacePtr::dynamicCast(v); - if(v && !*p) - { - IceInternal::Ex::throwUOE(::TribeUpdateServer::TribeUpdateInterface::ice_staticId(), v->ice_id()); - } -} diff --git a/features/aliww/source/Userudbprofile.cpp b/features/aliww/source/Userudbprofile.cpp deleted file mode 100644 index a3a2217..0000000 --- a/features/aliww/source/Userudbprofile.cpp +++ /dev/null @@ -1,107 +0,0 @@ -class CImReqUserudbprofile : public CPackData - { -public: - enum - { - CMD_ID = IM_REQ_USERUDBPROFILE - }; - CImReqUserudbprofile() : m_uid("magic") - { - } - - ~CImReqUserudbprofile() { } - CImReqUserudbprofile(const string& strUid) - { - m_uid = strUid; - } - CImReqUserudbprofile& operator=( const CImReqUserudbprofile& cImReqUserudbprofile ) - { - m_uid = cImReqUserudbprofile.m_uid; - return *this; - } - - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - private: - string m_uid; - - public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; - }; - - inline uint32_t CImReqUserudbprofile::Size() const - { - uint32_t nSize = 6; - nSize += m_uid.length(); - return nSize; - } - -class CImRspUserudbprofile : public CPackData -{ - public: - enum - - CMD_ID = IM_RSP_USERUDBPROFILE - }; - CImRspUserudbprofile() - { - } - - ~CImRspUserudbprofile() { } - CImRspUserudbprofile(const uint32_t& dwRetcode, const map< string,string >& mapProfilelist, const string& strUid) - { - m_retcode = dwRetcode; - m_profilelist = mapProfilelist; - m_uid = strUid; - } - CImRspUserudbprofile& operator=( const CImRspUserudbprofile& cImRspUserudbprofile ) - { - m_retcode = cImRspUserudbprofile.m_retcode; - m_profilelist = cImRspUserudbprofile.m_profilelist; - m_uid = cImRspUserudbprofile.m_uid; - return *this; - } - - const uint32_t& GetRetcode () const { return m_retcode; } - bool SetRetcode ( const uint32_t& dwRetcode ) - { - m_retcode = dwRetcode; - return true; - } - const map< string,string >& GetProfilelist () const { return m_profilelist; } - bool SetProfilelist ( const map< string,string >& mapProfilelist ) - { - m_profilelist = mapProfilelist; - return true; - } - const string& GetUid () const { return m_uid; } - bool SetUid ( const string& strUid ) - { - m_uid = strUid; - return true; - } - private: - uint32_t m_retcode; - map< string,string > m_profilelist; - string m_uid; - - public: - CScHead m_scHead; - void PackHead(string& strData); - void PackBody(string& strData); - void PackData(string& strData, const string& strKey = ""); - PACKRETCODE UnpackBody(string& strData); - PACKRETCODE UnpackData(string& strData, const string& strKey = ""); - uint32_t Size() const; - }; - diff --git a/features/aliww/source/WebMember.cpp b/features/aliww/source/WebMember.cpp deleted file mode 100644 index a36b6de..0000000 --- a/features/aliww/source/WebMember.cpp +++ /dev/null @@ -1,3222 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `WebMember.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __WebMember__UserProfile__GetSimpleUserProfile_name = "GetSimpleUserProfile"; - -static const ::std::string __WebMember__UserProfile__GetHalfUserProfile_name = "GetHalfUserProfile"; - -static const ::std::string __WebMember__UserProfile__GetFullUserProfile_name = "GetFullUserProfile"; - -static const ::std::string __WebMember__UserProfile__GetUserLevels_name = "GetUserLevels"; - -static const ::std::string __WebMember__UserProfile__GetUidByPenname_name = "GetUidByPenname"; - -static const ::std::string __WebMember__UserProfile__GetPassword_name = "GetPassword"; - -static const ::std::string __WebMember__UserProfile__GetUDBUserProfile_name = "GetUDBUserProfile"; - -static const ::std::string __WebMember__UserProfile__GetHalfUserProfile2_name = "GetHalfUserProfile2"; - -static const ::std::string __WebMember__UserProfile__GetFullUserProfile2_name = "GetFullUserProfile2"; - -void -IceInternal::incRef(::WebMember::UserProfile* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::WebMember::UserProfile* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::WebMember::UserProfile* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::WebMember::UserProfile* p) -{ - p->__decRef(); -} - -void -WebMember::__write(::IceInternal::BasicStream* __os, const ::WebMember::UserProfilePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -WebMember::__read(::IceInternal::BasicStream* __is, ::WebMember::UserProfilePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::WebMember::UserProfile; - v->__copyFrom(proxy); - } -} - -void -WebMember::__write(::IceInternal::BasicStream* __os, const ::WebMember::UserProfilePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -WebMember::SSimpleUserProfile::operator==(const SSimpleUserProfile& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -WebMember::SSimpleUserProfile::operator!=(const SSimpleUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - return false; -} - -bool -WebMember::SSimpleUserProfile::operator<(const SSimpleUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - return false; -} - -void -WebMember::SSimpleUserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(password); - __os->write(status); -} - -void -WebMember::SSimpleUserProfile::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(password); - __is->read(status); -} - -bool -WebMember::SHalfUserProfile::operator==(const SHalfUserProfile& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -WebMember::SHalfUserProfile::operator!=(const SHalfUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(realName != __rhs.realName) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobTitle != __rhs.jobTitle) - { - return true; - } - if(memberLevel != __rhs.memberLevel) - { - return true; - } - if(penName != __rhs.penName) - { - return true; - } - if(categoryId != __rhs.categoryId) - { - return true; - } - if(phoneArea != __rhs.phoneArea) - { - return true; - } - if(phoneStatus != __rhs.phoneStatus) - { - return true; - } - if(phone != __rhs.phone) - { - return true; - } - return false; -} - -bool -WebMember::SHalfUserProfile::operator<(const SHalfUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(realName < __rhs.realName) - { - return true; - } - else if(__rhs.realName < realName) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobTitle < __rhs.jobTitle) - { - return true; - } - else if(__rhs.jobTitle < jobTitle) - { - return false; - } - if(memberLevel < __rhs.memberLevel) - { - return true; - } - else if(__rhs.memberLevel < memberLevel) - { - return false; - } - if(penName < __rhs.penName) - { - return true; - } - else if(__rhs.penName < penName) - { - return false; - } - if(categoryId < __rhs.categoryId) - { - return true; - } - else if(__rhs.categoryId < categoryId) - { - return false; - } - if(phoneArea < __rhs.phoneArea) - { - return true; - } - else if(__rhs.phoneArea < phoneArea) - { - return false; - } - if(phoneStatus < __rhs.phoneStatus) - { - return true; - } - else if(__rhs.phoneStatus < phoneStatus) - { - return false; - } - if(phone < __rhs.phone) - { - return true; - } - else if(__rhs.phone < phone) - { - return false; - } - return false; -} - -void -WebMember::SHalfUserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(password); - __os->write(status); - __os->write(realName); - __os->write(company); - __os->write(jobTitle); - __os->write(memberLevel); - __os->write(penName); - __os->write(categoryId); - __os->write(phoneArea); - __os->write(phoneStatus); - __os->write(phone); -} - -void -WebMember::SHalfUserProfile::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(password); - __is->read(status); - __is->read(realName); - __is->read(company); - __is->read(jobTitle); - __is->read(memberLevel); - __is->read(penName); - __is->read(categoryId); - __is->read(phoneArea); - __is->read(phoneStatus); - __is->read(phone); -} - -bool -WebMember::SFullUserProfile::operator==(const SFullUserProfile& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -WebMember::SFullUserProfile::operator!=(const SFullUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(realName != __rhs.realName) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobTitle != __rhs.jobTitle) - { - return true; - } - if(memberLevel != __rhs.memberLevel) - { - return true; - } - if(penName != __rhs.penName) - { - return true; - } - if(categoryId != __rhs.categoryId) - { - return true; - } - if(phoneArea != __rhs.phoneArea) - { - return true; - } - if(phoneStatus != __rhs.phoneStatus) - { - return true; - } - if(phone != __rhs.phone) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(mobileNo != __rhs.mobileNo) - { - return true; - } - if(sex != __rhs.sex) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(buyKeywords != __rhs.buyKeywords) - { - return true; - } - if(saleKeywords != __rhs.saleKeywords) - { - return true; - } - if(faxNo != __rhs.faxNo) - { - return true; - } - if(homepageUrl != __rhs.homepageUrl) - { - return true; - } - return false; -} - -bool -WebMember::SFullUserProfile::operator<(const SFullUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(realName < __rhs.realName) - { - return true; - } - else if(__rhs.realName < realName) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobTitle < __rhs.jobTitle) - { - return true; - } - else if(__rhs.jobTitle < jobTitle) - { - return false; - } - if(memberLevel < __rhs.memberLevel) - { - return true; - } - else if(__rhs.memberLevel < memberLevel) - { - return false; - } - if(penName < __rhs.penName) - { - return true; - } - else if(__rhs.penName < penName) - { - return false; - } - if(categoryId < __rhs.categoryId) - { - return true; - } - else if(__rhs.categoryId < categoryId) - { - return false; - } - if(phoneArea < __rhs.phoneArea) - { - return true; - } - else if(__rhs.phoneArea < phoneArea) - { - return false; - } - if(phoneStatus < __rhs.phoneStatus) - { - return true; - } - else if(__rhs.phoneStatus < phoneStatus) - { - return false; - } - if(phone < __rhs.phone) - { - return true; - } - else if(__rhs.phone < phone) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(mobileNo < __rhs.mobileNo) - { - return true; - } - else if(__rhs.mobileNo < mobileNo) - { - return false; - } - if(sex < __rhs.sex) - { - return true; - } - else if(__rhs.sex < sex) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(buyKeywords < __rhs.buyKeywords) - { - return true; - } - else if(__rhs.buyKeywords < buyKeywords) - { - return false; - } - if(saleKeywords < __rhs.saleKeywords) - { - return true; - } - else if(__rhs.saleKeywords < saleKeywords) - { - return false; - } - if(faxNo < __rhs.faxNo) - { - return true; - } - else if(__rhs.faxNo < faxNo) - { - return false; - } - if(homepageUrl < __rhs.homepageUrl) - { - return true; - } - else if(__rhs.homepageUrl < homepageUrl) - { - return false; - } - return false; -} - -void -WebMember::SFullUserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(password); - __os->write(status); - __os->write(realName); - __os->write(company); - __os->write(jobTitle); - __os->write(memberLevel); - __os->write(penName); - __os->write(categoryId); - __os->write(phoneArea); - __os->write(phoneStatus); - __os->write(phone); - __os->write(email); - __os->write(mobileNo); - __os->write(sex); - __os->write(address); - __os->write(buyKeywords); - __os->write(saleKeywords); - __os->write(faxNo); - __os->write(homepageUrl); -} - -void -WebMember::SFullUserProfile::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(password); - __is->read(status); - __is->read(realName); - __is->read(company); - __is->read(jobTitle); - __is->read(memberLevel); - __is->read(penName); - __is->read(categoryId); - __is->read(phoneArea); - __is->read(phoneStatus); - __is->read(phone); - __is->read(email); - __is->read(mobileNo); - __is->read(sex); - __is->read(address); - __is->read(buyKeywords); - __is->read(saleKeywords); - __is->read(faxNo); - __is->read(homepageUrl); -} - -bool -WebMember::SUDBUserProfile::operator==(const SUDBUserProfile& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -WebMember::SUDBUserProfile::operator!=(const SUDBUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(memberId != __rhs.memberId) - { - return true; - } - if(realName != __rhs.realName) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(mobileNo != __rhs.mobileNo) - { - return true; - } - if(phone != __rhs.phone) - { - return true; - } - if(country != __rhs.country) - { - return true; - } - if(province != __rhs.province) - { - return true; - } - if(city != __rhs.city) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(homepageUrl != __rhs.homepageUrl) - { - return true; - } - if(memberLevel != __rhs.memberLevel) - { - return true; - } - if(penName != __rhs.penName) - { - return true; - } - if(phoneStatus != __rhs.phoneStatus) - { - return true; - } - if(sex != __rhs.sex) - { - return true; - } - if(jobTitle != __rhs.jobTitle) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(zip != __rhs.zip) - { - return true; - } - return false; -} - -bool -WebMember::SUDBUserProfile::operator<(const SUDBUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(memberId < __rhs.memberId) - { - return true; - } - else if(__rhs.memberId < memberId) - { - return false; - } - if(realName < __rhs.realName) - { - return true; - } - else if(__rhs.realName < realName) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(mobileNo < __rhs.mobileNo) - { - return true; - } - else if(__rhs.mobileNo < mobileNo) - { - return false; - } - if(phone < __rhs.phone) - { - return true; - } - else if(__rhs.phone < phone) - { - return false; - } - if(country < __rhs.country) - { - return true; - } - else if(__rhs.country < country) - { - return false; - } - if(province < __rhs.province) - { - return true; - } - else if(__rhs.province < province) - { - return false; - } - if(city < __rhs.city) - { - return true; - } - else if(__rhs.city < city) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(homepageUrl < __rhs.homepageUrl) - { - return true; - } - else if(__rhs.homepageUrl < homepageUrl) - { - return false; - } - if(memberLevel < __rhs.memberLevel) - { - return true; - } - else if(__rhs.memberLevel < memberLevel) - { - return false; - } - if(penName < __rhs.penName) - { - return true; - } - else if(__rhs.penName < penName) - { - return false; - } - if(phoneStatus < __rhs.phoneStatus) - { - return true; - } - else if(__rhs.phoneStatus < phoneStatus) - { - return false; - } - if(sex < __rhs.sex) - { - return true; - } - else if(__rhs.sex < sex) - { - return false; - } - if(jobTitle < __rhs.jobTitle) - { - return true; - } - else if(__rhs.jobTitle < jobTitle) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(zip < __rhs.zip) - { - return true; - } - else if(__rhs.zip < zip) - { - return false; - } - return false; -} - -void -WebMember::SUDBUserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(memberId); - __os->write(realName); - __os->write(password); - __os->write(status); - __os->write(email); - __os->write(mobileNo); - __os->write(phone); - __os->write(country); - __os->write(province); - __os->write(city); - __os->write(address); - __os->write(homepageUrl); - __os->write(memberLevel); - __os->write(penName); - __os->write(phoneStatus); - __os->write(sex); - __os->write(jobTitle); - __os->write(company); - __os->write(zip); -} - -void -WebMember::SUDBUserProfile::__read(::IceInternal::BasicStream* __is) -{ - __is->read(memberId); - __is->read(realName); - __is->read(password); - __is->read(status); - __is->read(email); - __is->read(mobileNo); - __is->read(phone); - __is->read(country); - __is->read(province); - __is->read(city); - __is->read(address); - __is->read(homepageUrl); - __is->read(memberLevel); - __is->read(penName); - __is->read(phoneStatus); - __is->read(sex); - __is->read(jobTitle); - __is->read(company); - __is->read(zip); -} - -bool -WebMember::SUserLevel::operator==(const SUserLevel& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -WebMember::SUserLevel::operator!=(const SUserLevel& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(memberId != __rhs.memberId) - { - return true; - } - if(memberLevel != __rhs.memberLevel) - { - return true; - } - return false; -} - -bool -WebMember::SUserLevel::operator<(const SUserLevel& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(memberId < __rhs.memberId) - { - return true; - } - else if(__rhs.memberId < memberId) - { - return false; - } - if(memberLevel < __rhs.memberLevel) - { - return true; - } - else if(__rhs.memberLevel < memberLevel) - { - return false; - } - return false; -} - -void -WebMember::SUserLevel::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(memberId); - __os->write(memberLevel); -} - -void -WebMember::SUserLevel::__read(::IceInternal::BasicStream* __is) -{ - __is->read(memberId); - __is->read(memberLevel); -} - -bool -WebMember::SHalfUserProfile2::operator==(const SHalfUserProfile2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -WebMember::SHalfUserProfile2::operator!=(const SHalfUserProfile2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(realName != __rhs.realName) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobTitle != __rhs.jobTitle) - { - return true; - } - if(memberLevel != __rhs.memberLevel) - { - return true; - } - if(penName != __rhs.penName) - { - return true; - } - if(categoryId != __rhs.categoryId) - { - return true; - } - if(phoneArea != __rhs.phoneArea) - { - return true; - } - if(phoneStatus != __rhs.phoneStatus) - { - return true; - } - if(phone != __rhs.phone) - { - return true; - } - if(communityLevel != __rhs.communityLevel) - { - return true; - } - return false; -} - -bool -WebMember::SHalfUserProfile2::operator<(const SHalfUserProfile2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(realName < __rhs.realName) - { - return true; - } - else if(__rhs.realName < realName) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobTitle < __rhs.jobTitle) - { - return true; - } - else if(__rhs.jobTitle < jobTitle) - { - return false; - } - if(memberLevel < __rhs.memberLevel) - { - return true; - } - else if(__rhs.memberLevel < memberLevel) - { - return false; - } - if(penName < __rhs.penName) - { - return true; - } - else if(__rhs.penName < penName) - { - return false; - } - if(categoryId < __rhs.categoryId) - { - return true; - } - else if(__rhs.categoryId < categoryId) - { - return false; - } - if(phoneArea < __rhs.phoneArea) - { - return true; - } - else if(__rhs.phoneArea < phoneArea) - { - return false; - } - if(phoneStatus < __rhs.phoneStatus) - { - return true; - } - else if(__rhs.phoneStatus < phoneStatus) - { - return false; - } - if(phone < __rhs.phone) - { - return true; - } - else if(__rhs.phone < phone) - { - return false; - } - if(communityLevel < __rhs.communityLevel) - { - return true; - } - else if(__rhs.communityLevel < communityLevel) - { - return false; - } - return false; -} - -void -WebMember::SHalfUserProfile2::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(password); - __os->write(status); - __os->write(realName); - __os->write(company); - __os->write(jobTitle); - __os->write(memberLevel); - __os->write(penName); - __os->write(categoryId); - __os->write(phoneArea); - __os->write(phoneStatus); - __os->write(phone); - __os->write(communityLevel); -} - -void -WebMember::SHalfUserProfile2::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(password); - __is->read(status); - __is->read(realName); - __is->read(company); - __is->read(jobTitle); - __is->read(memberLevel); - __is->read(penName); - __is->read(categoryId); - __is->read(phoneArea); - __is->read(phoneStatus); - __is->read(phone); - __is->read(communityLevel); -} - -bool -WebMember::SFullUserProfile2::operator==(const SFullUserProfile2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -WebMember::SFullUserProfile2::operator!=(const SFullUserProfile2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(realName != __rhs.realName) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobTitle != __rhs.jobTitle) - { - return true; - } - if(memberLevel != __rhs.memberLevel) - { - return true; - } - if(penName != __rhs.penName) - { - return true; - } - if(categoryId != __rhs.categoryId) - { - return true; - } - if(phoneArea != __rhs.phoneArea) - { - return true; - } - if(phoneStatus != __rhs.phoneStatus) - { - return true; - } - if(phone != __rhs.phone) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(mobileNo != __rhs.mobileNo) - { - return true; - } - if(sex != __rhs.sex) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(buyKeywords != __rhs.buyKeywords) - { - return true; - } - if(saleKeywords != __rhs.saleKeywords) - { - return true; - } - if(faxNo != __rhs.faxNo) - { - return true; - } - if(homepageUrl != __rhs.homepageUrl) - { - return true; - } - if(communityLevel != __rhs.communityLevel) - { - return true; - } - return false; -} - -bool -WebMember::SFullUserProfile2::operator<(const SFullUserProfile2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(realName < __rhs.realName) - { - return true; - } - else if(__rhs.realName < realName) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobTitle < __rhs.jobTitle) - { - return true; - } - else if(__rhs.jobTitle < jobTitle) - { - return false; - } - if(memberLevel < __rhs.memberLevel) - { - return true; - } - else if(__rhs.memberLevel < memberLevel) - { - return false; - } - if(penName < __rhs.penName) - { - return true; - } - else if(__rhs.penName < penName) - { - return false; - } - if(categoryId < __rhs.categoryId) - { - return true; - } - else if(__rhs.categoryId < categoryId) - { - return false; - } - if(phoneArea < __rhs.phoneArea) - { - return true; - } - else if(__rhs.phoneArea < phoneArea) - { - return false; - } - if(phoneStatus < __rhs.phoneStatus) - { - return true; - } - else if(__rhs.phoneStatus < phoneStatus) - { - return false; - } - if(phone < __rhs.phone) - { - return true; - } - else if(__rhs.phone < phone) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(mobileNo < __rhs.mobileNo) - { - return true; - } - else if(__rhs.mobileNo < mobileNo) - { - return false; - } - if(sex < __rhs.sex) - { - return true; - } - else if(__rhs.sex < sex) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(buyKeywords < __rhs.buyKeywords) - { - return true; - } - else if(__rhs.buyKeywords < buyKeywords) - { - return false; - } - if(saleKeywords < __rhs.saleKeywords) - { - return true; - } - else if(__rhs.saleKeywords < saleKeywords) - { - return false; - } - if(faxNo < __rhs.faxNo) - { - return true; - } - else if(__rhs.faxNo < faxNo) - { - return false; - } - if(homepageUrl < __rhs.homepageUrl) - { - return true; - } - else if(__rhs.homepageUrl < homepageUrl) - { - return false; - } - if(communityLevel < __rhs.communityLevel) - { - return true; - } - else if(__rhs.communityLevel < communityLevel) - { - return false; - } - return false; -} - -void -WebMember::SFullUserProfile2::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(password); - __os->write(status); - __os->write(realName); - __os->write(company); - __os->write(jobTitle); - __os->write(memberLevel); - __os->write(penName); - __os->write(categoryId); - __os->write(phoneArea); - __os->write(phoneStatus); - __os->write(phone); - __os->write(email); - __os->write(mobileNo); - __os->write(sex); - __os->write(address); - __os->write(buyKeywords); - __os->write(saleKeywords); - __os->write(faxNo); - __os->write(homepageUrl); - __os->write(communityLevel); -} - -void -WebMember::SFullUserProfile2::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(password); - __is->read(status); - __is->read(realName); - __is->read(company); - __is->read(jobTitle); - __is->read(memberLevel); - __is->read(penName); - __is->read(categoryId); - __is->read(phoneArea); - __is->read(phoneStatus); - __is->read(phone); - __is->read(email); - __is->read(mobileNo); - __is->read(sex); - __is->read(address); - __is->read(buyKeywords); - __is->read(saleKeywords); - __is->read(faxNo); - __is->read(homepageUrl); - __is->read(communityLevel); -} - -void -WebMember::__write(::IceInternal::BasicStream* __os, const ::WebMember::SSimpleUserProfile* begin, const ::WebMember::SSimpleUserProfile* end, ::WebMember::__U__SUserSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -WebMember::__read(::IceInternal::BasicStream* __is, ::WebMember::SUserSeq& v, ::WebMember::__U__SUserSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 3); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -WebMember::__write(::IceInternal::BasicStream* __os, const ::WebMember::SHalfUserProfile* begin, const ::WebMember::SHalfUserProfile* end, ::WebMember::__U__HUserSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -WebMember::__read(::IceInternal::BasicStream* __is, ::WebMember::HUserSeq& v, ::WebMember::__U__HUserSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 15); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -WebMember::__write(::IceInternal::BasicStream* __os, const ::WebMember::SFullUserProfile* begin, const ::WebMember::SFullUserProfile* end, ::WebMember::__U__FUserSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -WebMember::__read(::IceInternal::BasicStream* __is, ::WebMember::FUserSeq& v, ::WebMember::__U__FUserSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 23); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -WebMember::__write(::IceInternal::BasicStream* __os, const ::WebMember::SUserLevel* begin, const ::WebMember::SUserLevel* end, ::WebMember::__U__UserLevelSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -WebMember::__read(::IceInternal::BasicStream* __is, ::WebMember::UserLevelSeq& v, ::WebMember::__U__UserLevelSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 2); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -WebMember::__write(::IceInternal::BasicStream* __os, const ::WebMember::SHalfUserProfile2* begin, const ::WebMember::SHalfUserProfile2* end, ::WebMember::__U__HUserSeq2) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -WebMember::__read(::IceInternal::BasicStream* __is, ::WebMember::HUserSeq2& v, ::WebMember::__U__HUserSeq2) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 16); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -WebMember::__write(::IceInternal::BasicStream* __os, const ::WebMember::SFullUserProfile2* begin, const ::WebMember::SFullUserProfile2* end, ::WebMember::__U__FUserSeq2) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -WebMember::__read(::IceInternal::BasicStream* __is, ::WebMember::FUserSeq2& v, ::WebMember::__U__FUserSeq2) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 24); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -WebMember::__addObject(const UserProfilePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -WebMember::__usesClasses(const UserProfilePtr& p) -{ - return p->__usesClasses(); -} - -void -WebMember::__decRefUnsafe(const UserProfilePtr& p) -{ - p->__decRefUnsafe(); -} - -void -WebMember::__clearHandleUnsafe(UserProfilePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::WebMember::UserProfile::GetSimpleUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::SUserSeq& userProfiles, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebMember__UserProfile__GetSimpleUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::WebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::WebMember::UserProfile*>(__delBase.get()); - return __del->GetSimpleUserProfile(userIds, userProfiles, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebMember::UserProfile::GetHalfUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::HUserSeq& userProfiles, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebMember__UserProfile__GetHalfUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::WebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::WebMember::UserProfile*>(__delBase.get()); - return __del->GetHalfUserProfile(userIds, userProfiles, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebMember::UserProfile::GetFullUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::FUserSeq& userProfiles, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebMember__UserProfile__GetFullUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::WebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::WebMember::UserProfile*>(__delBase.get()); - return __del->GetFullUserProfile(userIds, userProfiles, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebMember::UserProfile::GetUserLevels(const ::WebMember::UserIdSeq& userIds, ::WebMember::UserLevelSeq& userProfiles, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebMember__UserProfile__GetUserLevels_name); - __delBase = __getDelegate(); - ::IceDelegate::WebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::WebMember::UserProfile*>(__delBase.get()); - return __del->GetUserLevels(userIds, userProfiles, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebMember::UserProfile::GetUidByPenname(const ::std::string& penName, ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebMember__UserProfile__GetUidByPenname_name); - __delBase = __getDelegate(); - ::IceDelegate::WebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::WebMember::UserProfile*>(__delBase.get()); - return __del->GetUidByPenname(penName, userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebMember::UserProfile::GetPassword(const ::std::string& userId, ::std::string& password, ::std::string& status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebMember__UserProfile__GetPassword_name); - __delBase = __getDelegate(); - ::IceDelegate::WebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::WebMember::UserProfile*>(__delBase.get()); - return __del->GetPassword(userId, password, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebMember::UserProfile::GetUDBUserProfile(const ::std::string& userId, ::WebMember::SUDBUserProfile& udbProfile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebMember__UserProfile__GetUDBUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::WebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::WebMember::UserProfile*>(__delBase.get()); - return __del->GetUDBUserProfile(userId, udbProfile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebMember::UserProfile::GetHalfUserProfile2(const ::WebMember::UserIdSeq& userIds, ::WebMember::HUserSeq2& userProfiles, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebMember__UserProfile__GetHalfUserProfile2_name); - __delBase = __getDelegate(); - ::IceDelegate::WebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::WebMember::UserProfile*>(__delBase.get()); - return __del->GetHalfUserProfile2(userIds, userProfiles, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebMember::UserProfile::GetFullUserProfile2(const ::WebMember::UserIdSeq& userIds, ::WebMember::FUserSeq2& userProfiles, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebMember__UserProfile__GetFullUserProfile2_name); - __delBase = __getDelegate(); - ::IceDelegate::WebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::WebMember::UserProfile*>(__delBase.get()); - return __del->GetFullUserProfile2(userIds, userProfiles, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::WebMember::UserProfile::ice_staticId() -{ - return ::WebMember::UserProfile::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::WebMember::UserProfile::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::WebMember::UserProfile); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::WebMember::UserProfile::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::WebMember::UserProfile); -} - -bool -IceProxy::WebMember::operator==(const ::IceProxy::WebMember::UserProfile& l, const ::IceProxy::WebMember::UserProfile& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::WebMember::operator!=(const ::IceProxy::WebMember::UserProfile& l, const ::IceProxy::WebMember::UserProfile& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::WebMember::operator<(const ::IceProxy::WebMember::UserProfile& l, const ::IceProxy::WebMember::UserProfile& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::WebMember::operator<=(const ::IceProxy::WebMember::UserProfile& l, const ::IceProxy::WebMember::UserProfile& r) -{ - return l < r || l == r; -} - -bool -IceProxy::WebMember::operator>(const ::IceProxy::WebMember::UserProfile& l, const ::IceProxy::WebMember::UserProfile& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::WebMember::operator>=(const ::IceProxy::WebMember::UserProfile& l, const ::IceProxy::WebMember::UserProfile& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::WebMember::UserProfile::GetSimpleUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::SUserSeq& userProfiles, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebMember__UserProfile__GetSimpleUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userIds.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userIds[0], &userIds[0] + userIds.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::WebMember::__read(__is, userProfiles, ::WebMember::__U__SUserSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebMember::UserProfile::GetHalfUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::HUserSeq& userProfiles, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebMember__UserProfile__GetHalfUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userIds.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userIds[0], &userIds[0] + userIds.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::WebMember::__read(__is, userProfiles, ::WebMember::__U__HUserSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebMember::UserProfile::GetFullUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::FUserSeq& userProfiles, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebMember__UserProfile__GetFullUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userIds.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userIds[0], &userIds[0] + userIds.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::WebMember::__read(__is, userProfiles, ::WebMember::__U__FUserSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebMember::UserProfile::GetUserLevels(const ::WebMember::UserIdSeq& userIds, ::WebMember::UserLevelSeq& userProfiles, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebMember__UserProfile__GetUserLevels_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userIds.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userIds[0], &userIds[0] + userIds.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::WebMember::__read(__is, userProfiles, ::WebMember::__U__UserLevelSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebMember::UserProfile::GetUidByPenname(const ::std::string& penName, ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebMember__UserProfile__GetUidByPenname_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(penName); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebMember::UserProfile::GetPassword(const ::std::string& userId, ::std::string& password, ::std::string& status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebMember__UserProfile__GetPassword_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(password); - __is->read(status); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebMember::UserProfile::GetUDBUserProfile(const ::std::string& userId, ::WebMember::SUDBUserProfile& udbProfile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebMember__UserProfile__GetUDBUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - udbProfile.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebMember::UserProfile::GetHalfUserProfile2(const ::WebMember::UserIdSeq& userIds, ::WebMember::HUserSeq2& userProfiles, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebMember__UserProfile__GetHalfUserProfile2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userIds.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userIds[0], &userIds[0] + userIds.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::WebMember::__read(__is, userProfiles, ::WebMember::__U__HUserSeq2()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebMember::UserProfile::GetFullUserProfile2(const ::WebMember::UserIdSeq& userIds, ::WebMember::FUserSeq2& userProfiles, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebMember__UserProfile__GetFullUserProfile2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userIds.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userIds[0], &userIds[0] + userIds.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::WebMember::__read(__is, userProfiles, ::WebMember::__U__FUserSeq2()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::WebMember::UserProfile::GetSimpleUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::SUserSeq& userProfiles, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebMember__UserProfile__GetSimpleUserProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebMember::UserProfile* __servant = dynamic_cast< ::WebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetSimpleUserProfile(userIds, userProfiles, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebMember::UserProfile::GetHalfUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::HUserSeq& userProfiles, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebMember__UserProfile__GetHalfUserProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebMember::UserProfile* __servant = dynamic_cast< ::WebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetHalfUserProfile(userIds, userProfiles, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebMember::UserProfile::GetFullUserProfile(const ::WebMember::UserIdSeq& userIds, ::WebMember::FUserSeq& userProfiles, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebMember__UserProfile__GetFullUserProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebMember::UserProfile* __servant = dynamic_cast< ::WebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetFullUserProfile(userIds, userProfiles, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebMember::UserProfile::GetUserLevels(const ::WebMember::UserIdSeq& userIds, ::WebMember::UserLevelSeq& userProfiles, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebMember__UserProfile__GetUserLevels_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebMember::UserProfile* __servant = dynamic_cast< ::WebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUserLevels(userIds, userProfiles, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebMember::UserProfile::GetUidByPenname(const ::std::string& penName, ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebMember__UserProfile__GetUidByPenname_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebMember::UserProfile* __servant = dynamic_cast< ::WebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUidByPenname(penName, userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebMember::UserProfile::GetPassword(const ::std::string& userId, ::std::string& password, ::std::string& status, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebMember__UserProfile__GetPassword_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebMember::UserProfile* __servant = dynamic_cast< ::WebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetPassword(userId, password, status, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebMember::UserProfile::GetUDBUserProfile(const ::std::string& userId, ::WebMember::SUDBUserProfile& udbProfile, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebMember__UserProfile__GetUDBUserProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebMember::UserProfile* __servant = dynamic_cast< ::WebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUDBUserProfile(userId, udbProfile, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebMember::UserProfile::GetHalfUserProfile2(const ::WebMember::UserIdSeq& userIds, ::WebMember::HUserSeq2& userProfiles, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebMember__UserProfile__GetHalfUserProfile2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebMember::UserProfile* __servant = dynamic_cast< ::WebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetHalfUserProfile2(userIds, userProfiles, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebMember::UserProfile::GetFullUserProfile2(const ::WebMember::UserIdSeq& userIds, ::WebMember::FUserSeq2& userProfiles, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebMember__UserProfile__GetFullUserProfile2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebMember::UserProfile* __servant = dynamic_cast< ::WebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetFullUserProfile2(userIds, userProfiles, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -WebMember::UserProfile::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __WebMember__UserProfile_ids[2] = -{ - "::Ice::Object", - "::WebMember::UserProfile" -}; - -bool -WebMember::UserProfile::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__WebMember__UserProfile_ids, __WebMember__UserProfile_ids + 2, _s); -} - -::std::vector< ::std::string> -WebMember::UserProfile::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__WebMember__UserProfile_ids[0], &__WebMember__UserProfile_ids[2]); -} - -const ::std::string& -WebMember::UserProfile::ice_id(const ::Ice::Current&) const -{ - return __WebMember__UserProfile_ids[1]; -} - -const ::std::string& -WebMember::UserProfile::ice_staticId() -{ - return __WebMember__UserProfile_ids[1]; -} - -::IceInternal::DispatchStatus -WebMember::UserProfile::___GetSimpleUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::WebMember::UserIdSeq userIds; - __is->read(userIds); - ::WebMember::SUserSeq userProfiles; - ::Ice::Int __ret = GetSimpleUserProfile(userIds, userProfiles, __current); - if(userProfiles.size() == 0) - { - __os->writeSize(0); - } - else - { - ::WebMember::__write(__os, &userProfiles[0], &userProfiles[0] + userProfiles.size(), ::WebMember::__U__SUserSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebMember::UserProfile::___GetHalfUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::WebMember::UserIdSeq userIds; - __is->read(userIds); - ::WebMember::HUserSeq userProfiles; - ::Ice::Int __ret = GetHalfUserProfile(userIds, userProfiles, __current); - if(userProfiles.size() == 0) - { - __os->writeSize(0); - } - else - { - ::WebMember::__write(__os, &userProfiles[0], &userProfiles[0] + userProfiles.size(), ::WebMember::__U__HUserSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebMember::UserProfile::___GetFullUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::WebMember::UserIdSeq userIds; - __is->read(userIds); - ::WebMember::FUserSeq userProfiles; - ::Ice::Int __ret = GetFullUserProfile(userIds, userProfiles, __current); - if(userProfiles.size() == 0) - { - __os->writeSize(0); - } - else - { - ::WebMember::__write(__os, &userProfiles[0], &userProfiles[0] + userProfiles.size(), ::WebMember::__U__FUserSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebMember::UserProfile::___GetUserLevels(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::WebMember::UserIdSeq userIds; - __is->read(userIds); - ::WebMember::UserLevelSeq userProfiles; - ::Ice::Int __ret = GetUserLevels(userIds, userProfiles, __current); - if(userProfiles.size() == 0) - { - __os->writeSize(0); - } - else - { - ::WebMember::__write(__os, &userProfiles[0], &userProfiles[0] + userProfiles.size(), ::WebMember::__U__UserLevelSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebMember::UserProfile::___GetUidByPenname(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string penName; - __is->read(penName); - ::std::string userId; - ::Ice::Int __ret = GetUidByPenname(penName, userId, __current); - __os->write(userId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebMember::UserProfile::___GetPassword(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::std::string password; - ::std::string status; - ::Ice::Int __ret = GetPassword(userId, password, status, __current); - __os->write(password); - __os->write(status); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebMember::UserProfile::___GetUDBUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::WebMember::SUDBUserProfile udbProfile; - ::Ice::Int __ret = GetUDBUserProfile(userId, udbProfile, __current); - udbProfile.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebMember::UserProfile::___GetHalfUserProfile2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::WebMember::UserIdSeq userIds; - __is->read(userIds); - ::WebMember::HUserSeq2 userProfiles; - ::Ice::Int __ret = GetHalfUserProfile2(userIds, userProfiles, __current); - if(userProfiles.size() == 0) - { - __os->writeSize(0); - } - else - { - ::WebMember::__write(__os, &userProfiles[0], &userProfiles[0] + userProfiles.size(), ::WebMember::__U__HUserSeq2()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebMember::UserProfile::___GetFullUserProfile2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::WebMember::UserIdSeq userIds; - __is->read(userIds); - ::WebMember::FUserSeq2 userProfiles; - ::Ice::Int __ret = GetFullUserProfile2(userIds, userProfiles, __current); - if(userProfiles.size() == 0) - { - __os->writeSize(0); - } - else - { - ::WebMember::__write(__os, &userProfiles[0], &userProfiles[0] + userProfiles.size(), ::WebMember::__U__FUserSeq2()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __WebMember__UserProfile_all[] = -{ - "GetFullUserProfile", - "GetFullUserProfile2", - "GetHalfUserProfile", - "GetHalfUserProfile2", - "GetPassword", - "GetSimpleUserProfile", - "GetUDBUserProfile", - "GetUidByPenname", - "GetUserLevels", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -WebMember::UserProfile::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__WebMember__UserProfile_all, __WebMember__UserProfile_all + 13, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __WebMember__UserProfile_all) - { - case 0: - { - return ___GetFullUserProfile(in, current); - } - case 1: - { - return ___GetFullUserProfile2(in, current); - } - case 2: - { - return ___GetHalfUserProfile(in, current); - } - case 3: - { - return ___GetHalfUserProfile2(in, current); - } - case 4: - { - return ___GetPassword(in, current); - } - case 5: - { - return ___GetSimpleUserProfile(in, current); - } - case 6: - { - return ___GetUDBUserProfile(in, current); - } - case 7: - { - return ___GetUidByPenname(in, current); - } - case 8: - { - return ___GetUserLevels(in, current); - } - case 9: - { - return ___ice_id(in, current); - } - case 10: - { - return ___ice_ids(in, current); - } - case 11: - { - return ___ice_isA(in, current); - } - case 12: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -WebMember::UserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -WebMember::UserProfile::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -WebMember::UserProfile::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type WebMember::UserProfile was not generated with stream support"; - throw ex; -} - -void -WebMember::UserProfile::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type WebMember::UserProfile was not generated with stream support"; - throw ex; -} - -void -WebMember::__patch__UserProfilePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::WebMember::UserProfilePtr* p = static_cast< ::WebMember::UserProfilePtr*>(__addr); - assert(p); - *p = ::WebMember::UserProfilePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::WebMember::UserProfile::ice_staticId(); - throw e; - } -} - -bool -WebMember::operator==(const ::WebMember::UserProfile& l, const ::WebMember::UserProfile& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -WebMember::operator!=(const ::WebMember::UserProfile& l, const ::WebMember::UserProfile& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -WebMember::operator<(const ::WebMember::UserProfile& l, const ::WebMember::UserProfile& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -WebMember::operator<=(const ::WebMember::UserProfile& l, const ::WebMember::UserProfile& r) -{ - return l < r || l == r; -} - -bool -WebMember::operator>(const ::WebMember::UserProfile& l, const ::WebMember::UserProfile& r) -{ - return !(l < r) && !(l == r); -} - -bool -WebMember::operator>=(const ::WebMember::UserProfile& l, const ::WebMember::UserProfile& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/aas_perf_test.cpp b/features/aliww/source/aas_perf_test.cpp deleted file mode 100644 index f68e591..0000000 --- a/features/aliww/source/aas_perf_test.cpp +++ /dev/null @@ -1,303 +0,0 @@ -#include "aas_perf_test.h" - -using namespace std; -using namespace Ice; -using namespace AASSERVICE; - -void* aas_init(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - aas_st *ap = (aas_st *)malloc(sizeof(aas_st)); - pVuser->verb = ap; - srand(time(0)); - create_transaction(pVuser,"AAS"); - - int status = 0; - Ice::CommunicatorPtr ic; - - try{ - ic = Ice::initialize(); - - Ice::ObjectPrx base = ic->stringToProxy("AAS:default -h 10.249.199.125 -p 12480: tcp -h 10.249.199.126 -p 12480: tcp -h 10.249.199.127 -p 12480: tcp -h 10.249.199.128 -p 12480"); - //Ice::ObjectPrx base = ic->stringToProxy("AAS:default -h 10.250.3.18 -p 12480"); - AasInterfacePrx aas = AasInterfacePrx::checkedCast(base); - if(!aas){ - throw "Invalid proxy"; - } - ap->aas = new AasInterfacePrx(aas); - ap->ic = new Ice::CommunicatorPtr(ic); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -struct timespec dt; - -void* aas_textput(void *p) -{ - dt.tv_sec = 0; - dt.tv_nsec = 30000000; - //nanosleep(&dt,NULL); - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - aas_st *ap = (aas_st *)pVuser->verb; - int status = 0; - AasInterfacePrx aas = *(ap->aas); - char fromID[36],toID[36]; - - sprintf(fromID,"cnalichnabc%dx%dx%d",get_vuser_group(pVuser),get_vuser_id(pVuser),get_vuser_ite(pVuser)); - sprintf(toID,"cnalichnabc%dx%dx%d",get_vuser_group(pVuser),get_vuser_id(pVuser),get_vuser_ite(pVuser)+1); - - try{ - status = aas->textput(fromID,toID,time(0),1,"hello from cbenchmark peftest."); - if(status == 0) - success_transactionEx(pVuser,"AAS","TextPut Sucess."); - else{ - char str_tmp[32] = {0}; - sprintf(str_tmp,"TextPut:Call ret status is %d",status); - fail_transactionEx(pVuser,"AAS",str_tmp); - } - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* aas_end(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - aas_st *ap = (aas_st *)pVuser->verb; - int status = 0; - AasInterfacePrx aas = *(ap->aas); - Ice::CommunicatorPtr ic = *(ap->ic); - - if(ic){ - try{ - ic->destroy(); - //delete(&ic); - //delete(&aas); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } - } -} - -void* aas_textgetput(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - aas_st *ap = (aas_st *)pVuser->verb; - int status = 0; - AasInterfacePrx aas = *(ap->aas); - char fromID[36],toID[36]; - long ts = (long)time(0); - string msg; - - sprintf(fromID,"cnalichnabc%dx%dx%d",get_vuser_group(pVuser),get_vuser_id(pVuser),get_vuser_ite(pVuser)); - sprintf(toID,"cnalichnabc%dx%dx%d",get_vuser_group(pVuser),get_vuser_id(pVuser),get_vuser_ite(pVuser)+1); - - try{ - status = aas->textput(fromID,toID,ts,1,"hello from cbenchmark peftest."); - if(status != 0){ - char str_tmp[32] = {0}; - sprintf(str_tmp,"Textput:Call ret status is %d",status); - fail_transactionEx(pVuser,"AAS",str_tmp); - return NULL; - } - - ChatRecordInfoSeq rcd; - status = aas->textget(fromID,toID,ts+1,ts-100000,100,rcd); - if(status != 0){ - char str_tmp[32] = {0}; - sprintf(str_tmp,"Textget:Call ret status is %d",status); - fail_transactionEx(pVuser,"AAS",str_tmp); - return NULL; - } - char txt[1024]; - sprintf(txt,"AAS TextPutGet Success,Result Size:%d",rcd.size()); - success_transactionEx(pVuser,"AAS",txt); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* aas_picput(void *p) -{ - long picSize = 40*1024 + rand()%10000; - char *content = (char *)malloc(picSize*sizeof(char) + 1); - char e = (char)rand()%254+1; - memset(content,e,picSize); - content[picSize] = '\0'; - string spicData(content); - - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - aas_st *ap = (aas_st *)pVuser->verb; - int status = 0; - AasInterfacePrx aas = *(ap->aas); - char cpicName[256]; - long ts = (long)time(0); - ::AASSERVICE::ByteSeq picData(picSize,e); - string msg; - sprintf(cpicName,"%s_%d",Md5Hash::GetMD5(spicData).c_str(),picSize); - string picName(cpicName); - try{ - status = aas->picput(picName,picData); - if(status == 0) - success_transactionEx(pVuser,"AAS","PicPut Sucess."); - else{ - char str_tmp[32] = {0}; - sprintf(str_tmp,"PicPut:Call ret status is %d",status); - fail_transactionEx(pVuser,"AAS",str_tmp); - } - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* aas_picputget(void *p) -{ - long picSize = 40*1024 + rand()%10000; - char *content = (char *)malloc(picSize*sizeof(char) + 1); - char e = (char)rand()%254+1; - memset(content,e,picSize); - content[picSize] = '\0'; - string spicData(content); - - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - aas_st *ap = (aas_st *)pVuser->verb; - int status = 0; - AasInterfacePrx aas = *(ap->aas); - char cpicName[256]; - long ts = (long)time(0); - ::AASSERVICE::ByteSeq picData(picSize,e); - string msg; - sprintf(cpicName,"%s_%d",Md5Hash::GetMD5(spicData).c_str(),picSize); - string picName(cpicName); - try{ - status = aas->picput(picName,picData); - if(status != 0){ - char str_tmp[32] = {0}; - sprintf(str_tmp,"PicPut:Call ret status is %d,picname is %s",status,cpicName); - printf("%s\n",str_tmp); - fail_transactionEx(pVuser,"AAS",str_tmp); - return NULL; - } - status = aas->picget(picName,picData); - if(status != 0){ - char str_tmp[32] = {0}; - sprintf(str_tmp,"PicGet:Call ret status is %d",status); - printf("%s\n",str_tmp); - fail_transactionEx(pVuser,"AAS",str_tmp); - return NULL; - } - success_transactionEx(pVuser,"AAS","PicPutGet success."); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } - free(content); -} - -void* aas_textget(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - aas_st *ap = (aas_st *)pVuser->verb; - int status = 0; - AasInterfacePrx aas = *(ap->aas); - char fromID[36],toID[36]; - long ts = (long)time(0); - string msg; - - sprintf(fromID,"cnalichnabc%dx%dx%d",get_vuser_group(pVuser),get_vuser_id(pVuser),get_vuser_ite(pVuser)); - sprintf(toID,"cnalichnabc%dx%dx%d",get_vuser_group(pVuser),get_vuser_id(pVuser),get_vuser_ite(pVuser)+1); - - try{ - ChatRecordInfoSeq rcd; - status = aas->textget(fromID,toID,ts+1,ts-100000,100,rcd); - if(status == 0){ - char txt[1024]; - sprintf(txt,"AAS TextGet Success,Result Size:%d",rcd.size()); - success_transactionEx(pVuser,"AAS",txt); - }else{ - char str_tmp[32] = {0}; - sprintf(str_tmp,"Textget:Call ret status is %d",status); - fail_transactionEx(pVuser,"AAS",str_tmp); - } - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - - -void* aas_picget(void *p) -{ - struct timeval tvStart,tvEnd; - - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - aas_st *ap = (aas_st *)pVuser->verb; - int status = 0; - AasInterfacePrx aas = *(ap->aas); - char cpicName[256],*cpicNameParam; - long ts = (long)time(0); - string msg; - sprintf(cpicName, "%04d%04d%08d%016ld_%d%d%d",rand(),rand(),rand(),time(NULL),get_vuser_group(pVuser),get_vuser_id(pVuser),get_vuser_ite(pVuser)); - //string picName(cpicName); - - cpicNameParam = select_param_ex(pVuser); - string picName(cpicNameParam); - ::AASSERVICE::ByteSeq picData; - try{ - gettimeofday(&tvStart,NULL); - status = aas->picget(picName,picData); - //终止时间 - gettimeofday(&tvEnd,NULL); - - float dif; - dif = (tvEnd.tv_sec-tvStart.tv_sec) + (tvEnd.tv_usec-tvStart.tv_usec)/1000000.0; - //printf("aas_picget cost %f\n",dif); - /* - 由于key是人造的 - 所以飞天å–ä¸åˆ°å›¾ç‰‡ - 所以这里ä¸åˆ¤æ–­è¿”回结果是å¦æ­£ç¡® - */ - success_transactionEx(pVuser,"AAS","PicPutGet success."); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} diff --git a/features/aliww/source/aasservice.cpp b/features/aliww/source/aasservice.cpp deleted file mode 100644 index 03b7c3e..0000000 --- a/features/aliww/source/aasservice.cpp +++ /dev/null @@ -1,2272 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aasservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AASSERVICE__AasInterface__textget_name = "textget"; - -static const ::std::string __AASSERVICE__AasInterface__textput_name = "textput"; - -static const ::std::string __AASSERVICE__AasInterface__textbatchput_name = "textbatchput"; - -static const ::std::string __AASSERVICE__AasInterface__textupdate_name = "textupdate"; - -static const ::std::string __AASSERVICE__AasInterface__textdelete_name = "textdelete"; - -static const ::std::string __AASSERVICE__AasInterface__textbatchdelete_name = "textbatchdelete"; - -static const ::std::string __AASSERVICE__AasInterface__picquery_name = "picquery"; - -static const ::std::string __AASSERVICE__AasInterface__picbatchquery_name = "picbatchquery"; - -static const ::std::string __AASSERVICE__AasInterface__picget_name = "picget"; - -static const ::std::string __AASSERVICE__AasInterface__picput_name = "picput"; - -void -IceInternal::incRef(::AASSERVICE::AasInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AASSERVICE::AasInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AASSERVICE::AasInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AASSERVICE::AasInterface* p) -{ - p->__decRef(); -} - -void -AASSERVICE::__write(::IceInternal::BasicStream* __os, const ::AASSERVICE::AasInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AASSERVICE::__read(::IceInternal::BasicStream* __is, ::AASSERVICE::AasInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AASSERVICE::AasInterface; - v->__copyFrom(proxy); - } -} - -void -AASSERVICE::__write(::IceInternal::BasicStream* __os, const ::AASSERVICE::AasInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -AASSERVICE::CChatRecord::operator==(const CChatRecord& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AASSERVICE::CChatRecord::operator!=(const CChatRecord& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userid != __rhs.userid) - { - return true; - } - if(peeruid != __rhs.peeruid) - { - return true; - } - if(tm != __rhs.tm) - { - return true; - } - if(seq != __rhs.seq) - { - return true; - } - if(msg != __rhs.msg) - { - return true; - } - return false; -} - -bool -AASSERVICE::CChatRecord::operator<(const CChatRecord& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userid < __rhs.userid) - { - return true; - } - else if(__rhs.userid < userid) - { - return false; - } - if(peeruid < __rhs.peeruid) - { - return true; - } - else if(__rhs.peeruid < peeruid) - { - return false; - } - if(tm < __rhs.tm) - { - return true; - } - else if(__rhs.tm < tm) - { - return false; - } - if(seq < __rhs.seq) - { - return true; - } - else if(__rhs.seq < seq) - { - return false; - } - if(msg < __rhs.msg) - { - return true; - } - else if(__rhs.msg < msg) - { - return false; - } - return false; -} - -void -AASSERVICE::CChatRecord::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userid); - __os->write(peeruid); - __os->write(tm); - __os->write(seq); - __os->write(msg); -} - -void -AASSERVICE::CChatRecord::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userid); - __is->read(peeruid); - __is->read(tm); - __is->read(seq); - __is->read(msg); -} - -bool -AASSERVICE::CChatRecordInfo::operator==(const CChatRecordInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AASSERVICE::CChatRecordInfo::operator!=(const CChatRecordInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(dir != __rhs.dir) - { - return true; - } - if(seq != __rhs.seq) - { - return true; - } - if(tm != __rhs.tm) - { - return true; - } - if(msg != __rhs.msg) - { - return true; - } - return false; -} - -bool -AASSERVICE::CChatRecordInfo::operator<(const CChatRecordInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(dir < __rhs.dir) - { - return true; - } - else if(__rhs.dir < dir) - { - return false; - } - if(seq < __rhs.seq) - { - return true; - } - else if(__rhs.seq < seq) - { - return false; - } - if(tm < __rhs.tm) - { - return true; - } - else if(__rhs.tm < tm) - { - return false; - } - if(msg < __rhs.msg) - { - return true; - } - else if(__rhs.msg < msg) - { - return false; - } - return false; -} - -void -AASSERVICE::CChatRecordInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(dir); - __os->write(seq); - __os->write(tm); - __os->write(msg); -} - -void -AASSERVICE::CChatRecordInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(dir); - __is->read(seq); - __is->read(tm); - __is->read(msg); -} - -bool -AASSERVICE::CChatRecordID::operator==(const CChatRecordID& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AASSERVICE::CChatRecordID::operator!=(const CChatRecordID& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userid != __rhs.userid) - { - return true; - } - if(peeruid != __rhs.peeruid) - { - return true; - } - if(tm != __rhs.tm) - { - return true; - } - if(seq != __rhs.seq) - { - return true; - } - if(dir != __rhs.dir) - { - return true; - } - return false; -} - -bool -AASSERVICE::CChatRecordID::operator<(const CChatRecordID& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userid < __rhs.userid) - { - return true; - } - else if(__rhs.userid < userid) - { - return false; - } - if(peeruid < __rhs.peeruid) - { - return true; - } - else if(__rhs.peeruid < peeruid) - { - return false; - } - if(tm < __rhs.tm) - { - return true; - } - else if(__rhs.tm < tm) - { - return false; - } - if(seq < __rhs.seq) - { - return true; - } - else if(__rhs.seq < seq) - { - return false; - } - if(dir < __rhs.dir) - { - return true; - } - else if(__rhs.dir < dir) - { - return false; - } - return false; -} - -void -AASSERVICE::CChatRecordID::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userid); - __os->write(peeruid); - __os->write(tm); - __os->write(seq); - __os->write(dir); -} - -void -AASSERVICE::CChatRecordID::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userid); - __is->read(peeruid); - __is->read(tm); - __is->read(seq); - __is->read(dir); -} - -void -AASSERVICE::__write(::IceInternal::BasicStream* __os, const ::AASSERVICE::CChatRecordInfo* begin, const ::AASSERVICE::CChatRecordInfo* end, ::AASSERVICE::__U__ChatRecordInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AASSERVICE::__read(::IceInternal::BasicStream* __is, ::AASSERVICE::ChatRecordInfoSeq& v, ::AASSERVICE::__U__ChatRecordInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 17); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AASSERVICE::__write(::IceInternal::BasicStream* __os, const ::AASSERVICE::CChatRecordID* begin, const ::AASSERVICE::CChatRecordID* end, ::AASSERVICE::__U__ChatRecordIDSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AASSERVICE::__read(::IceInternal::BasicStream* __is, ::AASSERVICE::ChatRecordIDSeq& v, ::AASSERVICE::__U__ChatRecordIDSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 18); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AASSERVICE::__write(::IceInternal::BasicStream* __os, const ::AASSERVICE::CChatRecord* begin, const ::AASSERVICE::CChatRecord* end, ::AASSERVICE::__U__ChatRecordSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AASSERVICE::__read(::IceInternal::BasicStream* __is, ::AASSERVICE::ChatRecordSeq& v, ::AASSERVICE::__U__ChatRecordSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 15); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AASSERVICE::__addObject(const AasInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AASSERVICE::__usesClasses(const AasInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -AASSERVICE::__decRefUnsafe(const AasInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AASSERVICE::__clearHandleUnsafe(AasInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -IceAsync::AASSERVICE::AMD_AasInterface_textget::AMD_AasInterface_textget(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textget::ice_response(::Ice::Int __ret, const ::AASSERVICE::ChatRecordInfoSeq& record) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(record.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AASSERVICE::__write(__os, &record[0], &record[0] + record.size(), ::AASSERVICE::__U__ChatRecordInfoSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textget::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textget::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textget::ice_exception() -{ - __exception(); -} - -IceAsync::AASSERVICE::AMD_AasInterface_textput::AMD_AasInterface_textput(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textput::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textput::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textput::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textput::ice_exception() -{ - __exception(); -} - -IceAsync::AASSERVICE::AMD_AasInterface_textbatchput::AMD_AasInterface_textbatchput(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textbatchput::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textbatchput::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textbatchput::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textbatchput::ice_exception() -{ - __exception(); -} - -IceAsync::AASSERVICE::AMD_AasInterface_textupdate::AMD_AasInterface_textupdate(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textupdate::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textupdate::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textupdate::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textupdate::ice_exception() -{ - __exception(); -} - -IceAsync::AASSERVICE::AMD_AasInterface_textdelete::AMD_AasInterface_textdelete(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textdelete::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textdelete::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textdelete::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textdelete::ice_exception() -{ - __exception(); -} - -IceAsync::AASSERVICE::AMD_AasInterface_textbatchdelete::AMD_AasInterface_textbatchdelete(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textbatchdelete::ice_response(::Ice::Int __ret, const ::AASSERVICE::ChatRecordIDSeq& respseq) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(respseq.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AASSERVICE::__write(__os, &respseq[0], &respseq[0] + respseq.size(), ::AASSERVICE::__U__ChatRecordIDSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textbatchdelete::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textbatchdelete::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_textbatchdelete::ice_exception() -{ - __exception(); -} - -IceAsync::AASSERVICE::AMD_AasInterface_picquery::AMD_AasInterface_picquery(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picquery::ice_response(::Ice::Int __ret, bool exist) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(exist); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picquery::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picquery::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picquery::ice_exception() -{ - __exception(); -} - -IceAsync::AASSERVICE::AMD_AasInterface_picbatchquery::AMD_AasInterface_picbatchquery(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picbatchquery::ice_response(::Ice::Int __ret, const ::AASSERVICE::ChatPicFileNameSeq& respseq) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(respseq.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&respseq[0], &respseq[0] + respseq.size()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picbatchquery::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picbatchquery::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picbatchquery::ice_exception() -{ - __exception(); -} - -IceAsync::AASSERVICE::AMD_AasInterface_picget::AMD_AasInterface_picget(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picget::ice_response(::Ice::Int __ret, const ::AASSERVICE::ByteSeq& pic) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(pic.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&pic[0], &pic[0] + pic.size()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picget::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picget::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picget::ice_exception() -{ - __exception(); -} - -IceAsync::AASSERVICE::AMD_AasInterface_picput::AMD_AasInterface_picput(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picput::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picput::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picput::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AASSERVICE::AMD_AasInterface_picput::ice_exception() -{ - __exception(); -} - -::Ice::Int -IceProxy::AASSERVICE::AasInterface::textget(const ::std::string& userid, const ::std::string& peeruid, ::Ice::Long begintime, ::Ice::Long endtime, ::Ice::Int maxret, ::AASSERVICE::ChatRecordInfoSeq& record, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AASSERVICE__AasInterface__textget_name); - __delBase = __getDelegate(); - ::IceDelegate::AASSERVICE::AasInterface* __del = dynamic_cast< ::IceDelegate::AASSERVICE::AasInterface*>(__delBase.get()); - return __del->textget(userid, peeruid, begintime, endtime, maxret, record, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AASSERVICE::AasInterface::textput(const ::std::string& fromid, const ::std::string& toid, ::Ice::Long time, ::Ice::Int seq, const ::std::string& msg, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AASSERVICE__AasInterface__textput_name); - __delBase = __getDelegate(); - ::IceDelegate::AASSERVICE::AasInterface* __del = dynamic_cast< ::IceDelegate::AASSERVICE::AasInterface*>(__delBase.get()); - return __del->textput(fromid, toid, time, seq, msg, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AASSERVICE::AasInterface::textbatchput(const ::AASSERVICE::ChatRecordSeq& seq, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AASSERVICE__AasInterface__textbatchput_name); - __delBase = __getDelegate(); - ::IceDelegate::AASSERVICE::AasInterface* __del = dynamic_cast< ::IceDelegate::AASSERVICE::AasInterface*>(__delBase.get()); - return __del->textbatchput(seq, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AASSERVICE::AasInterface::textupdate(const ::std::string& fromid, const ::std::string& toid, ::Ice::Long time, ::Ice::Int seq, const ::std::string& msg, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AASSERVICE__AasInterface__textupdate_name); - __delBase = __getDelegate(); - ::IceDelegate::AASSERVICE::AasInterface* __del = dynamic_cast< ::IceDelegate::AASSERVICE::AasInterface*>(__delBase.get()); - return __del->textupdate(fromid, toid, time, seq, msg, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AASSERVICE::AasInterface::textdelete(const ::std::string& userid, const ::std::string& peeruid, ::Ice::Long time, ::Ice::Int seq, ::Ice::Int direction, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AASSERVICE__AasInterface__textdelete_name); - __delBase = __getDelegate(); - ::IceDelegate::AASSERVICE::AasInterface* __del = dynamic_cast< ::IceDelegate::AASSERVICE::AasInterface*>(__delBase.get()); - return __del->textdelete(userid, peeruid, time, seq, direction, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AASSERVICE::AasInterface::textbatchdelete(const ::AASSERVICE::ChatRecordIDSeq& recordidseq, ::AASSERVICE::ChatRecordIDSeq& respseq, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AASSERVICE__AasInterface__textbatchdelete_name); - __delBase = __getDelegate(); - ::IceDelegate::AASSERVICE::AasInterface* __del = dynamic_cast< ::IceDelegate::AASSERVICE::AasInterface*>(__delBase.get()); - return __del->textbatchdelete(recordidseq, respseq, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AASSERVICE::AasInterface::picquery(const ::std::string& fileName, bool& exist, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AASSERVICE__AasInterface__picquery_name); - __delBase = __getDelegate(); - ::IceDelegate::AASSERVICE::AasInterface* __del = dynamic_cast< ::IceDelegate::AASSERVICE::AasInterface*>(__delBase.get()); - return __del->picquery(fileName, exist, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AASSERVICE::AasInterface::picbatchquery(const ::AASSERVICE::ChatPicFileNameSeq& filenameseq, ::AASSERVICE::ChatPicFileNameSeq& respseq, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AASSERVICE__AasInterface__picbatchquery_name); - __delBase = __getDelegate(); - ::IceDelegate::AASSERVICE::AasInterface* __del = dynamic_cast< ::IceDelegate::AASSERVICE::AasInterface*>(__delBase.get()); - return __del->picbatchquery(filenameseq, respseq, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AASSERVICE::AasInterface::picget(const ::std::string& filename, ::AASSERVICE::ByteSeq& pic, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AASSERVICE__AasInterface__picget_name); - __delBase = __getDelegate(); - ::IceDelegate::AASSERVICE::AasInterface* __del = dynamic_cast< ::IceDelegate::AASSERVICE::AasInterface*>(__delBase.get()); - return __del->picget(filename, pic, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AASSERVICE::AasInterface::picput(const ::std::string& filename, const ::AASSERVICE::ByteSeq& pic, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AASSERVICE__AasInterface__picput_name); - __delBase = __getDelegate(); - ::IceDelegate::AASSERVICE::AasInterface* __del = dynamic_cast< ::IceDelegate::AASSERVICE::AasInterface*>(__delBase.get()); - return __del->picput(filename, pic, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AASSERVICE::AasInterface::ice_staticId() -{ - return ::AASSERVICE::AasInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AASSERVICE::AasInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AASSERVICE::AasInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AASSERVICE::AasInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AASSERVICE::AasInterface); -} - -bool -IceProxy::AASSERVICE::operator==(const ::IceProxy::AASSERVICE::AasInterface& l, const ::IceProxy::AASSERVICE::AasInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AASSERVICE::operator!=(const ::IceProxy::AASSERVICE::AasInterface& l, const ::IceProxy::AASSERVICE::AasInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AASSERVICE::operator<(const ::IceProxy::AASSERVICE::AasInterface& l, const ::IceProxy::AASSERVICE::AasInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AASSERVICE::operator<=(const ::IceProxy::AASSERVICE::AasInterface& l, const ::IceProxy::AASSERVICE::AasInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AASSERVICE::operator>(const ::IceProxy::AASSERVICE::AasInterface& l, const ::IceProxy::AASSERVICE::AasInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AASSERVICE::operator>=(const ::IceProxy::AASSERVICE::AasInterface& l, const ::IceProxy::AASSERVICE::AasInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AASSERVICE::AasInterface::textget(const ::std::string& userid, const ::std::string& peeruid, ::Ice::Long begintime, ::Ice::Long endtime, ::Ice::Int maxret, ::AASSERVICE::ChatRecordInfoSeq& record, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AASSERVICE__AasInterface__textget_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userid); - __os->write(peeruid); - __os->write(begintime); - __os->write(endtime); - __os->write(maxret); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AASSERVICE::__read(__is, record, ::AASSERVICE::__U__ChatRecordInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AASSERVICE::AasInterface::textput(const ::std::string& fromid, const ::std::string& toid, ::Ice::Long time, ::Ice::Int seq, const ::std::string& msg, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AASSERVICE__AasInterface__textput_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fromid); - __os->write(toid); - __os->write(time); - __os->write(seq); - __os->write(msg); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AASSERVICE::AasInterface::textbatchput(const ::AASSERVICE::ChatRecordSeq& seq, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AASSERVICE__AasInterface__textbatchput_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(seq.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AASSERVICE::__write(__os, &seq[0], &seq[0] + seq.size(), ::AASSERVICE::__U__ChatRecordSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AASSERVICE::AasInterface::textupdate(const ::std::string& fromid, const ::std::string& toid, ::Ice::Long time, ::Ice::Int seq, const ::std::string& msg, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AASSERVICE__AasInterface__textupdate_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fromid); - __os->write(toid); - __os->write(time); - __os->write(seq); - __os->write(msg); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AASSERVICE::AasInterface::textdelete(const ::std::string& userid, const ::std::string& peeruid, ::Ice::Long time, ::Ice::Int seq, ::Ice::Int direction, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AASSERVICE__AasInterface__textdelete_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userid); - __os->write(peeruid); - __os->write(time); - __os->write(seq); - __os->write(direction); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AASSERVICE::AasInterface::textbatchdelete(const ::AASSERVICE::ChatRecordIDSeq& recordidseq, ::AASSERVICE::ChatRecordIDSeq& respseq, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AASSERVICE__AasInterface__textbatchdelete_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(recordidseq.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AASSERVICE::__write(__os, &recordidseq[0], &recordidseq[0] + recordidseq.size(), ::AASSERVICE::__U__ChatRecordIDSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AASSERVICE::__read(__is, respseq, ::AASSERVICE::__U__ChatRecordIDSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AASSERVICE::AasInterface::picquery(const ::std::string& fileName, bool& exist, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AASSERVICE__AasInterface__picquery_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fileName); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(exist); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AASSERVICE::AasInterface::picbatchquery(const ::AASSERVICE::ChatPicFileNameSeq& filenameseq, ::AASSERVICE::ChatPicFileNameSeq& respseq, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AASSERVICE__AasInterface__picbatchquery_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(filenameseq.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&filenameseq[0], &filenameseq[0] + filenameseq.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(respseq); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AASSERVICE::AasInterface::picget(const ::std::string& filename, ::AASSERVICE::ByteSeq& pic, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AASSERVICE__AasInterface__picget_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(filename); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::std::pair ___pic; - __is->read(___pic); - ::std::vector< ::Ice::Byte>(___pic.first, ___pic.second).swap(pic); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AASSERVICE::AasInterface::picput(const ::std::string& filename, const ::AASSERVICE::ByteSeq& pic, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AASSERVICE__AasInterface__picput_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(filename); - if(pic.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&pic[0], &pic[0] + pic.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AASSERVICE::AasInterface::textget(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int, ::AASSERVICE::ChatRecordInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AASSERVICE::AasInterface::textput(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AASSERVICE::AasInterface::textbatchput(const ::AASSERVICE::ChatRecordSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AASSERVICE::AasInterface::textupdate(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AASSERVICE::AasInterface::textdelete(const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AASSERVICE::AasInterface::textbatchdelete(const ::AASSERVICE::ChatRecordIDSeq&, ::AASSERVICE::ChatRecordIDSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AASSERVICE::AasInterface::picquery(const ::std::string&, bool&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AASSERVICE::AasInterface::picbatchquery(const ::AASSERVICE::ChatPicFileNameSeq&, ::AASSERVICE::ChatPicFileNameSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AASSERVICE::AasInterface::picget(const ::std::string&, ::AASSERVICE::ByteSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AASSERVICE::AasInterface::picput(const ::std::string&, const ::AASSERVICE::ByteSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::ObjectPtr -AASSERVICE::AasInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AASSERVICE__AasInterface_ids[2] = -{ - "::AASSERVICE::AasInterface", - "::Ice::Object" -}; - -bool -AASSERVICE::AasInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AASSERVICE__AasInterface_ids, __AASSERVICE__AasInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -AASSERVICE::AasInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AASSERVICE__AasInterface_ids[0], &__AASSERVICE__AasInterface_ids[2]); -} - -const ::std::string& -AASSERVICE::AasInterface::ice_id(const ::Ice::Current&) const -{ - return __AASSERVICE__AasInterface_ids[0]; -} - -const ::std::string& -AASSERVICE::AasInterface::ice_staticId() -{ - return __AASSERVICE__AasInterface_ids[0]; -} - -::IceInternal::DispatchStatus -AASSERVICE::AasInterface::___textget(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userid; - ::std::string peeruid; - ::Ice::Long begintime; - ::Ice::Long endtime; - ::Ice::Int maxret; - __is->read(userid); - __is->read(peeruid); - __is->read(begintime); - __is->read(endtime); - __is->read(maxret); - ::AASSERVICE::AMD_AasInterface_textgetPtr __cb = new IceAsync::AASSERVICE::AMD_AasInterface_textget(__inS); - try - { - textget_async(__cb, userid, peeruid, begintime, endtime, maxret, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AASSERVICE::AasInterface::___textput(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string fromid; - ::std::string toid; - ::Ice::Long time; - ::Ice::Int seq; - ::std::string msg; - __is->read(fromid); - __is->read(toid); - __is->read(time); - __is->read(seq); - __is->read(msg); - ::AASSERVICE::AMD_AasInterface_textputPtr __cb = new IceAsync::AASSERVICE::AMD_AasInterface_textput(__inS); - try - { - textput_async(__cb, fromid, toid, time, seq, msg, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AASSERVICE::AasInterface::___textbatchput(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::AASSERVICE::ChatRecordSeq seq; - ::AASSERVICE::__read(__is, seq, ::AASSERVICE::__U__ChatRecordSeq()); - ::AASSERVICE::AMD_AasInterface_textbatchputPtr __cb = new IceAsync::AASSERVICE::AMD_AasInterface_textbatchput(__inS); - try - { - textbatchput_async(__cb, seq, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AASSERVICE::AasInterface::___textupdate(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string fromid; - ::std::string toid; - ::Ice::Long time; - ::Ice::Int seq; - ::std::string msg; - __is->read(fromid); - __is->read(toid); - __is->read(time); - __is->read(seq); - __is->read(msg); - ::AASSERVICE::AMD_AasInterface_textupdatePtr __cb = new IceAsync::AASSERVICE::AMD_AasInterface_textupdate(__inS); - try - { - textupdate_async(__cb, fromid, toid, time, seq, msg, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AASSERVICE::AasInterface::___textdelete(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userid; - ::std::string peeruid; - ::Ice::Long time; - ::Ice::Int seq; - ::Ice::Int direction; - __is->read(userid); - __is->read(peeruid); - __is->read(time); - __is->read(seq); - __is->read(direction); - ::AASSERVICE::AMD_AasInterface_textdeletePtr __cb = new IceAsync::AASSERVICE::AMD_AasInterface_textdelete(__inS); - try - { - textdelete_async(__cb, userid, peeruid, time, seq, direction, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AASSERVICE::AasInterface::___textbatchdelete(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::AASSERVICE::ChatRecordIDSeq recordidseq; - ::AASSERVICE::__read(__is, recordidseq, ::AASSERVICE::__U__ChatRecordIDSeq()); - ::AASSERVICE::AMD_AasInterface_textbatchdeletePtr __cb = new IceAsync::AASSERVICE::AMD_AasInterface_textbatchdelete(__inS); - try - { - textbatchdelete_async(__cb, recordidseq, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AASSERVICE::AasInterface::___picquery(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string fileName; - __is->read(fileName); - ::AASSERVICE::AMD_AasInterface_picqueryPtr __cb = new IceAsync::AASSERVICE::AMD_AasInterface_picquery(__inS); - try - { - picquery_async(__cb, fileName, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AASSERVICE::AasInterface::___picbatchquery(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::AASSERVICE::ChatPicFileNameSeq filenameseq; - __is->read(filenameseq); - ::AASSERVICE::AMD_AasInterface_picbatchqueryPtr __cb = new IceAsync::AASSERVICE::AMD_AasInterface_picbatchquery(__inS); - try - { - picbatchquery_async(__cb, filenameseq, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AASSERVICE::AasInterface::___picget(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string filename; - __is->read(filename); - ::AASSERVICE::AMD_AasInterface_picgetPtr __cb = new IceAsync::AASSERVICE::AMD_AasInterface_picget(__inS); - try - { - picget_async(__cb, filename, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AASSERVICE::AasInterface::___picput(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string filename; - ::AASSERVICE::ByteSeq pic; - __is->read(filename); - ::std::pair ___pic; - __is->read(___pic); - ::std::vector< ::Ice::Byte>(___pic.first, ___pic.second).swap(pic); - ::AASSERVICE::AMD_AasInterface_picputPtr __cb = new IceAsync::AASSERVICE::AMD_AasInterface_picput(__inS); - try - { - picput_async(__cb, filename, pic, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -static ::std::string __AASSERVICE__AasInterface_all[] = -{ - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "picbatchquery", - "picget", - "picput", - "picquery", - "textbatchdelete", - "textbatchput", - "textdelete", - "textget", - "textput", - "textupdate" -}; - -::IceInternal::DispatchStatus -AASSERVICE::AasInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AASSERVICE__AasInterface_all, __AASSERVICE__AasInterface_all + 14, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AASSERVICE__AasInterface_all) - { - case 0: - { - return ___ice_id(in, current); - } - case 1: - { - return ___ice_ids(in, current); - } - case 2: - { - return ___ice_isA(in, current); - } - case 3: - { - return ___ice_ping(in, current); - } - case 4: - { - return ___picbatchquery(in, current); - } - case 5: - { - return ___picget(in, current); - } - case 6: - { - return ___picput(in, current); - } - case 7: - { - return ___picquery(in, current); - } - case 8: - { - return ___textbatchdelete(in, current); - } - case 9: - { - return ___textbatchput(in, current); - } - case 10: - { - return ___textdelete(in, current); - } - case 11: - { - return ___textget(in, current); - } - case 12: - { - return ___textput(in, current); - } - case 13: - { - return ___textupdate(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AASSERVICE::AasInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AASSERVICE::AasInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AASSERVICE::AasInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AASSERVICE::AasInterface was not generated with stream support"; - throw ex; -} - -void -AASSERVICE::AasInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AASSERVICE::AasInterface was not generated with stream support"; - throw ex; -} - -void -AASSERVICE::__patch__AasInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AASSERVICE::AasInterfacePtr* p = static_cast< ::AASSERVICE::AasInterfacePtr*>(__addr); - assert(p); - *p = ::AASSERVICE::AasInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AASSERVICE::AasInterface::ice_staticId(); - throw e; - } -} - -bool -AASSERVICE::operator==(const ::AASSERVICE::AasInterface& l, const ::AASSERVICE::AasInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AASSERVICE::operator!=(const ::AASSERVICE::AasInterface& l, const ::AASSERVICE::AasInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AASSERVICE::operator<(const ::AASSERVICE::AasInterface& l, const ::AASSERVICE::AasInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AASSERVICE::operator<=(const ::AASSERVICE::AasInterface& l, const ::AASSERVICE::AasInterface& r) -{ - return l < r || l == r; -} - -bool -AASSERVICE::operator>(const ::AASSERVICE::AasInterface& l, const ::AASSERVICE::AasInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -AASSERVICE::operator>=(const ::AASSERVICE::AasInterface& l, const ::AASSERVICE::AasInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/aepcacheservice.cpp b/features/aliww/source/aepcacheservice.cpp deleted file mode 100644 index 199481e..0000000 --- a/features/aliww/source/aepcacheservice.cpp +++ /dev/null @@ -1,1613 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aepcacheservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__IAEPCacheService__getWanghaoInfo_name = "getWanghaoInfo"; - -static const ::std::string __AliIM__IAEPCacheService__getBindlist_name = "getBindlist"; - -static const ::std::string __AliIM__IAEPCacheService__addWanghao_name = "addWanghao"; - -static const ::std::string __AliIM__IAEPCacheService__setWanghaoStatus_name = "setWanghaoStatus"; - -static const ::std::string __AliIM__IAEPCacheService__setBindlist_name = "setBindlist"; - -static const ::std::string __AliIM__IAEPCacheService__addBindId_name = "addBindId"; - -static const ::std::string __AliIM__IAEPCacheService__delBindId_name = "delBindId"; - -static const ::std::string __AliIM__IAEPCacheService__removeCache_name = "removeCache"; - -static const ::std::string __AliIM__IAEPCacheService__changeWanghaoPw_name = "changeWanghaoPw"; - -void -IceInternal::incRef(::AliIM::IAEPCacheService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::IAEPCacheService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::IAEPCacheService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::IAEPCacheService* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::IAEPCacheServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::IAEPCacheServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::IAEPCacheService; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::IAEPCacheServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -AliIM::SWanghaoInfoIce::operator==(const SWanghaoInfoIce& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIM::SWanghaoInfoIce::operator!=(const SWanghaoInfoIce& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uuid != __rhs.uuid) - { - return true; - } - if(whid != __rhs.whid) - { - return true; - } - if(longuid != __rhs.longuid) - { - return true; - } - if(md5pw != __rhs.md5pw) - { - return true; - } - if(imtoken != __rhs.imtoken) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - return false; -} - -bool -AliIM::SWanghaoInfoIce::operator<(const SWanghaoInfoIce& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uuid < __rhs.uuid) - { - return true; - } - else if(__rhs.uuid < uuid) - { - return false; - } - if(whid < __rhs.whid) - { - return true; - } - else if(__rhs.whid < whid) - { - return false; - } - if(longuid < __rhs.longuid) - { - return true; - } - else if(__rhs.longuid < longuid) - { - return false; - } - if(md5pw < __rhs.md5pw) - { - return true; - } - else if(__rhs.md5pw < md5pw) - { - return false; - } - if(imtoken < __rhs.imtoken) - { - return true; - } - else if(__rhs.imtoken < imtoken) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - return false; -} - -void -AliIM::SWanghaoInfoIce::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uuid); - __os->write(whid); - __os->write(longuid); - __os->write(md5pw); - __os->write(imtoken); - __os->write(status); -} - -void -AliIM::SWanghaoInfoIce::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uuid); - __is->read(whid); - __is->read(longuid); - __is->read(md5pw); - __is->read(imtoken); - __is->read(status); -} - -void -AliIM::__addObject(const IAEPCacheServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const IAEPCacheServicePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const IAEPCacheServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(IAEPCacheServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::IAEPCacheService::getWanghaoInfo(::Ice::Int idtype, const ::std::string& id, ::AliIM::SWanghaoInfoIce& info, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IAEPCacheService__getWanghaoInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IAEPCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IAEPCacheService*>(__delBase.get()); - return __del->getWanghaoInfo(idtype, id, info, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IAEPCacheService::getBindlist(::Ice::Int idtype, const ::std::string& id, ::Ice::StringSeq& bindids, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IAEPCacheService__getBindlist_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IAEPCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IAEPCacheService*>(__delBase.get()); - return __del->getBindlist(idtype, id, bindids, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IAEPCacheService::addWanghao(const ::AliIM::SWanghaoInfoIce& info, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IAEPCacheService__addWanghao_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IAEPCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IAEPCacheService*>(__delBase.get()); - return __del->addWanghao(info, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IAEPCacheService::setWanghaoStatus(::Ice::Int idtype, const ::std::string& id, ::Ice::Int status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IAEPCacheService__setWanghaoStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IAEPCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IAEPCacheService*>(__delBase.get()); - return __del->setWanghaoStatus(idtype, id, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IAEPCacheService::setBindlist(::Ice::Int idtype, const ::std::string& id, const ::Ice::StringSeq& bindids, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IAEPCacheService__setBindlist_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IAEPCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IAEPCacheService*>(__delBase.get()); - return __del->setBindlist(idtype, id, bindids, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IAEPCacheService::addBindId(::Ice::Int idtype, const ::std::string& id, const ::std::string& weblongid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IAEPCacheService__addBindId_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IAEPCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IAEPCacheService*>(__delBase.get()); - return __del->addBindId(idtype, id, weblongid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IAEPCacheService::delBindId(::Ice::Int idtype, const ::std::string& id, const ::std::string& weblongid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IAEPCacheService__delBindId_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IAEPCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IAEPCacheService*>(__delBase.get()); - return __del->delBindId(idtype, id, weblongid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IAEPCacheService::removeCache(::Ice::Int idtype, const ::std::string& id, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IAEPCacheService__removeCache_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IAEPCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IAEPCacheService*>(__delBase.get()); - return __del->removeCache(idtype, id, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IAEPCacheService::changeWanghaoPw(::Ice::Int idtype, const ::std::string& id, const ::std::string& newmd5pw, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IAEPCacheService__changeWanghaoPw_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IAEPCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IAEPCacheService*>(__delBase.get()); - return __del->changeWanghaoPw(idtype, id, newmd5pw, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::IAEPCacheService::ice_staticId() -{ - return ::AliIM::IAEPCacheService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::IAEPCacheService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::IAEPCacheService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::IAEPCacheService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::IAEPCacheService); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::IAEPCacheService& l, const ::IceProxy::AliIM::IAEPCacheService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::IAEPCacheService& l, const ::IceProxy::AliIM::IAEPCacheService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::IAEPCacheService& l, const ::IceProxy::AliIM::IAEPCacheService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::IAEPCacheService& l, const ::IceProxy::AliIM::IAEPCacheService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::IAEPCacheService& l, const ::IceProxy::AliIM::IAEPCacheService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::IAEPCacheService& l, const ::IceProxy::AliIM::IAEPCacheService& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::IAEPCacheService::getWanghaoInfo(::Ice::Int idtype, const ::std::string& id, ::AliIM::SWanghaoInfoIce& info, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IAEPCacheService__getWanghaoInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(idtype); - __os->write(id); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - info.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IAEPCacheService::getBindlist(::Ice::Int idtype, const ::std::string& id, ::Ice::StringSeq& bindids, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IAEPCacheService__getBindlist_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(idtype); - __os->write(id); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(bindids); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IAEPCacheService::addWanghao(const ::AliIM::SWanghaoInfoIce& info, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IAEPCacheService__addWanghao_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - info.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IAEPCacheService::setWanghaoStatus(::Ice::Int idtype, const ::std::string& id, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IAEPCacheService__setWanghaoStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(idtype); - __os->write(id); - __os->write(status); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IAEPCacheService::setBindlist(::Ice::Int idtype, const ::std::string& id, const ::Ice::StringSeq& bindids, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IAEPCacheService__setBindlist_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(idtype); - __os->write(id); - if(bindids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&bindids[0], &bindids[0] + bindids.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IAEPCacheService::addBindId(::Ice::Int idtype, const ::std::string& id, const ::std::string& weblongid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IAEPCacheService__addBindId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(idtype); - __os->write(id); - __os->write(weblongid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IAEPCacheService::delBindId(::Ice::Int idtype, const ::std::string& id, const ::std::string& weblongid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IAEPCacheService__delBindId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(idtype); - __os->write(id); - __os->write(weblongid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IAEPCacheService::removeCache(::Ice::Int idtype, const ::std::string& id, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IAEPCacheService__removeCache_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(idtype); - __os->write(id); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IAEPCacheService::changeWanghaoPw(::Ice::Int idtype, const ::std::string& id, const ::std::string& newmd5pw, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IAEPCacheService__changeWanghaoPw_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(idtype); - __os->write(id); - __os->write(newmd5pw); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::IAEPCacheService::getWanghaoInfo(::Ice::Int idtype, const ::std::string& id, ::AliIM::SWanghaoInfoIce& info, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IAEPCacheService__getWanghaoInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IAEPCacheService* __servant = dynamic_cast< ::AliIM::IAEPCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getWanghaoInfo(idtype, id, info, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IAEPCacheService::getBindlist(::Ice::Int idtype, const ::std::string& id, ::Ice::StringSeq& bindids, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IAEPCacheService__getBindlist_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IAEPCacheService* __servant = dynamic_cast< ::AliIM::IAEPCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getBindlist(idtype, id, bindids, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IAEPCacheService::addWanghao(const ::AliIM::SWanghaoInfoIce& info, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IAEPCacheService__addWanghao_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IAEPCacheService* __servant = dynamic_cast< ::AliIM::IAEPCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->addWanghao(info, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IAEPCacheService::setWanghaoStatus(::Ice::Int idtype, const ::std::string& id, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IAEPCacheService__setWanghaoStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IAEPCacheService* __servant = dynamic_cast< ::AliIM::IAEPCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setWanghaoStatus(idtype, id, status, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IAEPCacheService::setBindlist(::Ice::Int idtype, const ::std::string& id, const ::Ice::StringSeq& bindids, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IAEPCacheService__setBindlist_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IAEPCacheService* __servant = dynamic_cast< ::AliIM::IAEPCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setBindlist(idtype, id, bindids, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IAEPCacheService::addBindId(::Ice::Int idtype, const ::std::string& id, const ::std::string& weblongid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IAEPCacheService__addBindId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IAEPCacheService* __servant = dynamic_cast< ::AliIM::IAEPCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->addBindId(idtype, id, weblongid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IAEPCacheService::delBindId(::Ice::Int idtype, const ::std::string& id, const ::std::string& weblongid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IAEPCacheService__delBindId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IAEPCacheService* __servant = dynamic_cast< ::AliIM::IAEPCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->delBindId(idtype, id, weblongid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IAEPCacheService::removeCache(::Ice::Int idtype, const ::std::string& id, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IAEPCacheService__removeCache_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IAEPCacheService* __servant = dynamic_cast< ::AliIM::IAEPCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->removeCache(idtype, id, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IAEPCacheService::changeWanghaoPw(::Ice::Int idtype, const ::std::string& id, const ::std::string& newmd5pw, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IAEPCacheService__changeWanghaoPw_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IAEPCacheService* __servant = dynamic_cast< ::AliIM::IAEPCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->changeWanghaoPw(idtype, id, newmd5pw, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::IAEPCacheService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__IAEPCacheService_ids[2] = -{ - "::AliIM::IAEPCacheService", - "::Ice::Object" -}; - -bool -AliIM::IAEPCacheService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__IAEPCacheService_ids, __AliIM__IAEPCacheService_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::IAEPCacheService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__IAEPCacheService_ids[0], &__AliIM__IAEPCacheService_ids[2]); -} - -const ::std::string& -AliIM::IAEPCacheService::ice_id(const ::Ice::Current&) const -{ - return __AliIM__IAEPCacheService_ids[0]; -} - -const ::std::string& -AliIM::IAEPCacheService::ice_staticId() -{ - return __AliIM__IAEPCacheService_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::IAEPCacheService::___getWanghaoInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int idtype; - ::std::string id; - __is->read(idtype); - __is->read(id); - ::AliIM::SWanghaoInfoIce info; - ::Ice::Int __ret = getWanghaoInfo(idtype, id, info, __current); - info.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IAEPCacheService::___getBindlist(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int idtype; - ::std::string id; - __is->read(idtype); - __is->read(id); - ::Ice::StringSeq bindids; - ::Ice::Int __ret = getBindlist(idtype, id, bindids, __current); - if(bindids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&bindids[0], &bindids[0] + bindids.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IAEPCacheService::___addWanghao(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliIM::SWanghaoInfoIce info; - info.__read(__is); - ::Ice::Int __ret = addWanghao(info, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IAEPCacheService::___setWanghaoStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int idtype; - ::std::string id; - ::Ice::Int status; - __is->read(idtype); - __is->read(id); - __is->read(status); - ::Ice::Int __ret = setWanghaoStatus(idtype, id, status, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IAEPCacheService::___setBindlist(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int idtype; - ::std::string id; - ::Ice::StringSeq bindids; - __is->read(idtype); - __is->read(id); - __is->read(bindids); - ::Ice::Int __ret = setBindlist(idtype, id, bindids, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IAEPCacheService::___addBindId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int idtype; - ::std::string id; - ::std::string weblongid; - __is->read(idtype); - __is->read(id); - __is->read(weblongid); - ::Ice::Int __ret = addBindId(idtype, id, weblongid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IAEPCacheService::___delBindId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int idtype; - ::std::string id; - ::std::string weblongid; - __is->read(idtype); - __is->read(id); - __is->read(weblongid); - ::Ice::Int __ret = delBindId(idtype, id, weblongid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IAEPCacheService::___removeCache(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int idtype; - ::std::string id; - __is->read(idtype); - __is->read(id); - ::Ice::Int __ret = removeCache(idtype, id, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IAEPCacheService::___changeWanghaoPw(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int idtype; - ::std::string id; - ::std::string newmd5pw; - __is->read(idtype); - __is->read(id); - __is->read(newmd5pw); - ::Ice::Int __ret = changeWanghaoPw(idtype, id, newmd5pw, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__IAEPCacheService_all[] = -{ - "addBindId", - "addWanghao", - "changeWanghaoPw", - "delBindId", - "getBindlist", - "getWanghaoInfo", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "removeCache", - "setBindlist", - "setWanghaoStatus" -}; - -::IceInternal::DispatchStatus -AliIM::IAEPCacheService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__IAEPCacheService_all, __AliIM__IAEPCacheService_all + 13, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__IAEPCacheService_all) - { - case 0: - { - return ___addBindId(in, current); - } - case 1: - { - return ___addWanghao(in, current); - } - case 2: - { - return ___changeWanghaoPw(in, current); - } - case 3: - { - return ___delBindId(in, current); - } - case 4: - { - return ___getBindlist(in, current); - } - case 5: - { - return ___getWanghaoInfo(in, current); - } - case 6: - { - return ___ice_id(in, current); - } - case 7: - { - return ___ice_ids(in, current); - } - case 8: - { - return ___ice_isA(in, current); - } - case 9: - { - return ___ice_ping(in, current); - } - case 10: - { - return ___removeCache(in, current); - } - case 11: - { - return ___setBindlist(in, current); - } - case 12: - { - return ___setWanghaoStatus(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::IAEPCacheService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::IAEPCacheService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::IAEPCacheService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::IAEPCacheService was not generated with stream support"; - throw ex; -} - -void -AliIM::IAEPCacheService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::IAEPCacheService was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__IAEPCacheServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::IAEPCacheServicePtr* p = static_cast< ::AliIM::IAEPCacheServicePtr*>(__addr); - assert(p); - *p = ::AliIM::IAEPCacheServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::IAEPCacheService::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::IAEPCacheService& l, const ::AliIM::IAEPCacheService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::IAEPCacheService& l, const ::AliIM::IAEPCacheService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::IAEPCacheService& l, const ::AliIM::IAEPCacheService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::IAEPCacheService& l, const ::AliIM::IAEPCacheService& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::IAEPCacheService& l, const ::AliIM::IAEPCacheService& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::IAEPCacheService& l, const ::AliIM::IAEPCacheService& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/aepdbsadapter.cpp b/features/aliww/source/aepdbsadapter.cpp deleted file mode 100644 index 47b59c1..0000000 --- a/features/aliww/source/aepdbsadapter.cpp +++ /dev/null @@ -1,2626 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aepdbsadapter.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__getBindedWebIdList_name = "getBindedWebIdList"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__getBindedWebId_name = "getBindedWebId"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__createWanghaoWebid_name = "createWanghaoWebid"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__deleteWanghaoWebid_name = "deleteWanghaoWebid"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__updateWanghaoLastLogintime_name = "updateWanghaoLastLogintime"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__changeWanghaoPw_name = "changeWanghaoPw"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__isChangableWanghao_name = "isChangableWanghao"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__updateChangableWanghao_name = "updateChangableWanghao"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__registerWanghao_name = "registerWanghao"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__prohibitWanghao_name = "prohibitWanghao"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__getWanghaoIMBind_name = "getWanghaoIMBind"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__updateUserNameByUuid_name = "updateUserNameByUuid"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__updateWanghaoToken_name = "updateWanghaoToken"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__createWWWanghaoWebid_name = "createWWWanghaoWebid"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__deleteWWWanghaoWebid_name = "deleteWWWanghaoWebid"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__getUUIDWanghaoByWebid_name = "getUUIDWanghaoByWebid"; - -static const ::std::string __AliIMInterface__IAEPDBSAdapter__changeIMLongid_name = "changeIMLongid"; - -void -IceInternal::incRef(::AliIMInterface::IAEPDBSAdapter* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIMInterface::IAEPDBSAdapter* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIMInterface::IAEPDBSAdapter* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIMInterface::IAEPDBSAdapter* p) -{ - p->__decRef(); -} - -void -AliIMInterface::__write(::IceInternal::BasicStream* __os, const ::AliIMInterface::IAEPDBSAdapterPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIMInterface::__read(::IceInternal::BasicStream* __is, ::AliIMInterface::IAEPDBSAdapterPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIMInterface::IAEPDBSAdapter; - v->__copyFrom(proxy); - } -} - -void -AliIMInterface::__write(::IceInternal::BasicStream* __os, const ::AliIMInterface::IAEPDBSAdapterPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -AliIMInterface::SWanghaoIMBind::operator==(const SWanghaoIMBind& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMInterface::SWanghaoIMBind::operator!=(const SWanghaoIMBind& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uuid != __rhs.uuid) - { - return true; - } - if(whid != __rhs.whid) - { - return true; - } - if(longuid != __rhs.longuid) - { - return true; - } - if(whmd5pw != __rhs.whmd5pw) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(pwtoken != __rhs.pwtoken) - { - return true; - } - return false; -} - -bool -AliIMInterface::SWanghaoIMBind::operator<(const SWanghaoIMBind& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uuid < __rhs.uuid) - { - return true; - } - else if(__rhs.uuid < uuid) - { - return false; - } - if(whid < __rhs.whid) - { - return true; - } - else if(__rhs.whid < whid) - { - return false; - } - if(longuid < __rhs.longuid) - { - return true; - } - else if(__rhs.longuid < longuid) - { - return false; - } - if(whmd5pw < __rhs.whmd5pw) - { - return true; - } - else if(__rhs.whmd5pw < whmd5pw) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(pwtoken < __rhs.pwtoken) - { - return true; - } - else if(__rhs.pwtoken < pwtoken) - { - return false; - } - return false; -} - -void -AliIMInterface::SWanghaoIMBind::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uuid); - __os->write(whid); - __os->write(longuid); - __os->write(whmd5pw); - __os->write(status); - __os->write(pwtoken); -} - -void -AliIMInterface::SWanghaoIMBind::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uuid); - __is->read(whid); - __is->read(longuid); - __is->read(whmd5pw); - __is->read(status); - __is->read(pwtoken); -} - -void -AliIMInterface::__addObject(const IAEPDBSAdapterPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIMInterface::__usesClasses(const IAEPDBSAdapterPtr& p) -{ - return p->__usesClasses(); -} - -void -AliIMInterface::__decRefUnsafe(const IAEPDBSAdapterPtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIMInterface::__clearHandleUnsafe(IAEPDBSAdapterPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::getBindedWebIdList(const ::Ice::StringSeq& uuid, ::AliIMInterface::SWanghaoWebBindIdSeq& webids, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__getBindedWebIdList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->getBindedWebIdList(uuid, webids, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::getBindedWebId(const ::std::string& uuid, ::AliIMInterface::SWebBindIdSeq& webids, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__getBindedWebId_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->getBindedWebId(uuid, webids, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::createWanghaoWebid(const ::std::string& uuid, const ::std::string& longuid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__createWanghaoWebid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->createWanghaoWebid(uuid, longuid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::deleteWanghaoWebid(const ::std::string& uuid, const ::std::string& longuid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__deleteWanghaoWebid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->deleteWanghaoWebid(uuid, longuid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::updateWanghaoLastLogintime(const ::std::string& uuid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__updateWanghaoLastLogintime_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->updateWanghaoLastLogintime(uuid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::changeWanghaoPw(const ::std::string& uuid, const ::std::string& newmd5pw, const ::std::string& imtoken, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__changeWanghaoPw_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->changeWanghaoPw(uuid, newmd5pw, imtoken, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::isChangableWanghao(const ::std::string& uuid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__isChangableWanghao_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->isChangableWanghao(uuid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::updateChangableWanghao(const ::std::string& uuid, bool bChangable, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__updateChangableWanghao_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->updateChangableWanghao(uuid, bChangable, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::registerWanghao(const ::std::string& newwhid, const ::std::string& longuid, const ::std::string& md5pw, const ::std::string& imtoken, const ::AliIMInterface::KVMAP& attrs, ::std::string& uuid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__registerWanghao_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->registerWanghao(newwhid, longuid, md5pw, imtoken, attrs, uuid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::prohibitWanghao(const ::std::string& optor, const ::std::string& whid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__prohibitWanghao_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->prohibitWanghao(optor, whid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::getWanghaoIMBind(const ::std::string& id, ::Ice::Int idtype, ::AliIMInterface::SWanghaoIMBind& whimbind, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__getWanghaoIMBind_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->getWanghaoIMBind(id, idtype, whimbind, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::updateUserNameByUuid(const ::std::string& uuid, const ::std::string& username, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__updateUserNameByUuid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->updateUserNameByUuid(uuid, username, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::updateWanghaoToken(const ::std::string& whid, const ::std::string& token, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__updateWanghaoToken_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->updateWanghaoToken(whid, token, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::createWWWanghaoWebid(const ::std::string& whid, const ::std::string& longuid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__createWWWanghaoWebid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->createWWWanghaoWebid(whid, longuid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::deleteWWWanghaoWebid(const ::std::string& whid, const ::std::string& longuid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__deleteWWWanghaoWebid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->deleteWWWanghaoWebid(whid, longuid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::getUUIDWanghaoByWebid(const ::std::string& luid, ::std::string& uuid, ::std::string& whid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__getUUIDWanghaoByWebid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->getUUIDWanghaoByWebid(luid, uuid, whid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMInterface::IAEPDBSAdapter::changeIMLongid(::Ice::Int idtype, const ::std::string& id, const ::std::string& newlongid, ::std::string& retswitcheduuid, ::std::string& retoldlongid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMInterface__IAEPDBSAdapter__changeIMLongid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMInterface::IAEPDBSAdapter* __del = dynamic_cast< ::IceDelegate::AliIMInterface::IAEPDBSAdapter*>(__delBase.get()); - return __del->changeIMLongid(idtype, id, newlongid, retswitcheduuid, retoldlongid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIMInterface::IAEPDBSAdapter::ice_staticId() -{ - return ::AliIMInterface::IAEPDBSAdapter::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIMInterface::IAEPDBSAdapter::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIMInterface::IAEPDBSAdapter); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIMInterface::IAEPDBSAdapter::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIMInterface::IAEPDBSAdapter); -} - -bool -IceProxy::AliIMInterface::operator==(const ::IceProxy::AliIMInterface::IAEPDBSAdapter& l, const ::IceProxy::AliIMInterface::IAEPDBSAdapter& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIMInterface::operator!=(const ::IceProxy::AliIMInterface::IAEPDBSAdapter& l, const ::IceProxy::AliIMInterface::IAEPDBSAdapter& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIMInterface::operator<(const ::IceProxy::AliIMInterface::IAEPDBSAdapter& l, const ::IceProxy::AliIMInterface::IAEPDBSAdapter& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIMInterface::operator<=(const ::IceProxy::AliIMInterface::IAEPDBSAdapter& l, const ::IceProxy::AliIMInterface::IAEPDBSAdapter& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIMInterface::operator>(const ::IceProxy::AliIMInterface::IAEPDBSAdapter& l, const ::IceProxy::AliIMInterface::IAEPDBSAdapter& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIMInterface::operator>=(const ::IceProxy::AliIMInterface::IAEPDBSAdapter& l, const ::IceProxy::AliIMInterface::IAEPDBSAdapter& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::getBindedWebIdList(const ::Ice::StringSeq& uuid, ::AliIMInterface::SWanghaoWebBindIdSeq& webids, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__getBindedWebIdList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(uuid.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&uuid[0], &uuid[0] + uuid.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMInterface::__read(__is, webids, ::AliIMInterface::__U__SWanghaoWebBindIdSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::getBindedWebId(const ::std::string& uuid, ::AliIMInterface::SWebBindIdSeq& webids, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__getBindedWebId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMInterface::__read(__is, webids, ::AliIMInterface::__U__SWebBindIdSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::createWanghaoWebid(const ::std::string& uuid, const ::std::string& longuid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__createWanghaoWebid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uuid); - __os->write(longuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::deleteWanghaoWebid(const ::std::string& uuid, const ::std::string& longuid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__deleteWanghaoWebid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uuid); - __os->write(longuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::updateWanghaoLastLogintime(const ::std::string& uuid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__updateWanghaoLastLogintime_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::changeWanghaoPw(const ::std::string& uuid, const ::std::string& newmd5pw, const ::std::string& imtoken, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__changeWanghaoPw_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uuid); - __os->write(newmd5pw); - __os->write(imtoken); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::isChangableWanghao(const ::std::string& uuid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__isChangableWanghao_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::updateChangableWanghao(const ::std::string& uuid, bool bChangable, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__updateChangableWanghao_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uuid); - __os->write(bChangable); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::registerWanghao(const ::std::string& newwhid, const ::std::string& longuid, const ::std::string& md5pw, const ::std::string& imtoken, const ::AliIMInterface::KVMAP& attrs, ::std::string& uuid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__registerWanghao_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(newwhid); - __os->write(longuid); - __os->write(md5pw); - __os->write(imtoken); - ::AliIMInterface::__write(__os, attrs, ::AliIMInterface::__U__KVMAP()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(uuid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::prohibitWanghao(const ::std::string& optor, const ::std::string& whid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__prohibitWanghao_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(optor); - __os->write(whid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::getWanghaoIMBind(const ::std::string& id, ::Ice::Int idtype, ::AliIMInterface::SWanghaoIMBind& whimbind, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__getWanghaoIMBind_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(id); - __os->write(idtype); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - whimbind.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::updateUserNameByUuid(const ::std::string& uuid, const ::std::string& username, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__updateUserNameByUuid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uuid); - __os->write(username); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::updateWanghaoToken(const ::std::string& whid, const ::std::string& token, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__updateWanghaoToken_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(whid); - __os->write(token); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::createWWWanghaoWebid(const ::std::string& whid, const ::std::string& longuid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__createWWWanghaoWebid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(whid); - __os->write(longuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::deleteWWWanghaoWebid(const ::std::string& whid, const ::std::string& longuid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__deleteWWWanghaoWebid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(whid); - __os->write(longuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::getUUIDWanghaoByWebid(const ::std::string& luid, ::std::string& uuid, ::std::string& whid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__getUUIDWanghaoByWebid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(luid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(uuid); - __is->read(whid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMInterface::IAEPDBSAdapter::changeIMLongid(::Ice::Int idtype, const ::std::string& id, const ::std::string& newlongid, ::std::string& retswitcheduuid, ::std::string& retoldlongid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMInterface__IAEPDBSAdapter__changeIMLongid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(idtype); - __os->write(id); - __os->write(newlongid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(retswitcheduuid); - __is->read(retoldlongid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::getBindedWebIdList(const ::Ice::StringSeq& uuid, ::AliIMInterface::SWanghaoWebBindIdSeq& webids, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__getBindedWebIdList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getBindedWebIdList(uuid, webids, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::getBindedWebId(const ::std::string& uuid, ::AliIMInterface::SWebBindIdSeq& webids, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__getBindedWebId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getBindedWebId(uuid, webids, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::createWanghaoWebid(const ::std::string& uuid, const ::std::string& longuid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__createWanghaoWebid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->createWanghaoWebid(uuid, longuid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::deleteWanghaoWebid(const ::std::string& uuid, const ::std::string& longuid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__deleteWanghaoWebid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->deleteWanghaoWebid(uuid, longuid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::updateWanghaoLastLogintime(const ::std::string& uuid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__updateWanghaoLastLogintime_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateWanghaoLastLogintime(uuid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::changeWanghaoPw(const ::std::string& uuid, const ::std::string& newmd5pw, const ::std::string& imtoken, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__changeWanghaoPw_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->changeWanghaoPw(uuid, newmd5pw, imtoken, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::isChangableWanghao(const ::std::string& uuid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__isChangableWanghao_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->isChangableWanghao(uuid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::updateChangableWanghao(const ::std::string& uuid, bool bChangable, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__updateChangableWanghao_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateChangableWanghao(uuid, bChangable, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::registerWanghao(const ::std::string& newwhid, const ::std::string& longuid, const ::std::string& md5pw, const ::std::string& imtoken, const ::AliIMInterface::KVMAP& attrs, ::std::string& uuid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__registerWanghao_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->registerWanghao(newwhid, longuid, md5pw, imtoken, attrs, uuid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::prohibitWanghao(const ::std::string& optor, const ::std::string& whid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__prohibitWanghao_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->prohibitWanghao(optor, whid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::getWanghaoIMBind(const ::std::string& id, ::Ice::Int idtype, ::AliIMInterface::SWanghaoIMBind& whimbind, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__getWanghaoIMBind_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getWanghaoIMBind(id, idtype, whimbind, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::updateUserNameByUuid(const ::std::string& uuid, const ::std::string& username, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__updateUserNameByUuid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateUserNameByUuid(uuid, username, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::updateWanghaoToken(const ::std::string& whid, const ::std::string& token, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__updateWanghaoToken_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateWanghaoToken(whid, token, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::createWWWanghaoWebid(const ::std::string& whid, const ::std::string& longuid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__createWWWanghaoWebid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->createWWWanghaoWebid(whid, longuid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::deleteWWWanghaoWebid(const ::std::string& whid, const ::std::string& longuid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__deleteWWWanghaoWebid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->deleteWWWanghaoWebid(whid, longuid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::getUUIDWanghaoByWebid(const ::std::string& luid, ::std::string& uuid, ::std::string& whid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__getUUIDWanghaoByWebid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUUIDWanghaoByWebid(luid, uuid, whid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMInterface::IAEPDBSAdapter::changeIMLongid(::Ice::Int idtype, const ::std::string& id, const ::std::string& newlongid, ::std::string& retswitcheduuid, ::std::string& retoldlongid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMInterface__IAEPDBSAdapter__changeIMLongid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMInterface::IAEPDBSAdapter* __servant = dynamic_cast< ::AliIMInterface::IAEPDBSAdapter*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->changeIMLongid(idtype, id, newlongid, retswitcheduuid, retoldlongid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIMInterface::IAEPDBSAdapter::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIMInterface__IAEPDBSAdapter_ids[2] = -{ - "::AliIMInterface::IAEPDBSAdapter", - "::Ice::Object" -}; - -bool -AliIMInterface::IAEPDBSAdapter::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIMInterface__IAEPDBSAdapter_ids, __AliIMInterface__IAEPDBSAdapter_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIMInterface::IAEPDBSAdapter::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIMInterface__IAEPDBSAdapter_ids[0], &__AliIMInterface__IAEPDBSAdapter_ids[2]); -} - -const ::std::string& -AliIMInterface::IAEPDBSAdapter::ice_id(const ::Ice::Current&) const -{ - return __AliIMInterface__IAEPDBSAdapter_ids[0]; -} - -const ::std::string& -AliIMInterface::IAEPDBSAdapter::ice_staticId() -{ - return __AliIMInterface__IAEPDBSAdapter_ids[0]; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___getBindedWebIdList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::StringSeq uuid; - __is->read(uuid); - ::AliIMInterface::SWanghaoWebBindIdSeq webids; - ::Ice::Int __ret = getBindedWebIdList(uuid, webids, __current); - if(webids.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMInterface::__write(__os, &webids[0], &webids[0] + webids.size(), ::AliIMInterface::__U__SWanghaoWebBindIdSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___getBindedWebId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uuid; - __is->read(uuid); - ::AliIMInterface::SWebBindIdSeq webids; - ::Ice::Int __ret = getBindedWebId(uuid, webids, __current); - if(webids.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMInterface::__write(__os, &webids[0], &webids[0] + webids.size(), ::AliIMInterface::__U__SWebBindIdSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___createWanghaoWebid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uuid; - ::std::string longuid; - __is->read(uuid); - __is->read(longuid); - ::Ice::Int __ret = createWanghaoWebid(uuid, longuid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___deleteWanghaoWebid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uuid; - ::std::string longuid; - __is->read(uuid); - __is->read(longuid); - ::Ice::Int __ret = deleteWanghaoWebid(uuid, longuid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___updateWanghaoLastLogintime(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uuid; - __is->read(uuid); - ::Ice::Int __ret = updateWanghaoLastLogintime(uuid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___changeWanghaoPw(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uuid; - ::std::string newmd5pw; - ::std::string imtoken; - __is->read(uuid); - __is->read(newmd5pw); - __is->read(imtoken); - ::Ice::Int __ret = changeWanghaoPw(uuid, newmd5pw, imtoken, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___isChangableWanghao(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uuid; - __is->read(uuid); - ::Ice::Int __ret = isChangableWanghao(uuid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___updateChangableWanghao(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uuid; - bool bChangable; - __is->read(uuid); - __is->read(bChangable); - ::Ice::Int __ret = updateChangableWanghao(uuid, bChangable, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___registerWanghao(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string newwhid; - ::std::string longuid; - ::std::string md5pw; - ::std::string imtoken; - ::AliIMInterface::KVMAP attrs; - __is->read(newwhid); - __is->read(longuid); - __is->read(md5pw); - __is->read(imtoken); - ::AliIMInterface::__read(__is, attrs, ::AliIMInterface::__U__KVMAP()); - ::std::string uuid; - ::Ice::Int __ret = registerWanghao(newwhid, longuid, md5pw, imtoken, attrs, uuid, __current); - __os->write(uuid); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___prohibitWanghao(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string optor; - ::std::string whid; - __is->read(optor); - __is->read(whid); - ::Ice::Int __ret = prohibitWanghao(optor, whid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___getWanghaoIMBind(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string id; - ::Ice::Int idtype; - __is->read(id); - __is->read(idtype); - ::AliIMInterface::SWanghaoIMBind whimbind; - ::Ice::Int __ret = getWanghaoIMBind(id, idtype, whimbind, __current); - whimbind.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___updateUserNameByUuid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uuid; - ::std::string username; - __is->read(uuid); - __is->read(username); - ::Ice::Int __ret = updateUserNameByUuid(uuid, username, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___updateWanghaoToken(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string whid; - ::std::string token; - __is->read(whid); - __is->read(token); - ::Ice::Int __ret = updateWanghaoToken(whid, token, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___createWWWanghaoWebid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string whid; - ::std::string longuid; - __is->read(whid); - __is->read(longuid); - ::Ice::Int __ret = createWWWanghaoWebid(whid, longuid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___deleteWWWanghaoWebid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string whid; - ::std::string longuid; - __is->read(whid); - __is->read(longuid); - ::Ice::Int __ret = deleteWWWanghaoWebid(whid, longuid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___getUUIDWanghaoByWebid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string luid; - __is->read(luid); - ::std::string uuid; - ::std::string whid; - ::Ice::Int __ret = getUUIDWanghaoByWebid(luid, uuid, whid, __current); - __os->write(uuid); - __os->write(whid); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::___changeIMLongid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int idtype; - ::std::string id; - ::std::string newlongid; - __is->read(idtype); - __is->read(id); - __is->read(newlongid); - ::std::string retswitcheduuid; - ::std::string retoldlongid; - ::Ice::Int __ret = changeIMLongid(idtype, id, newlongid, retswitcheduuid, retoldlongid, __current); - __os->write(retswitcheduuid); - __os->write(retoldlongid); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIMInterface__IAEPDBSAdapter_all[] = -{ - "changeIMLongid", - "changeWanghaoPw", - "createWWWanghaoWebid", - "createWanghaoWebid", - "deleteWWWanghaoWebid", - "deleteWanghaoWebid", - "getBindedWebId", - "getBindedWebIdList", - "getUUIDWanghaoByWebid", - "getWanghaoIMBind", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "isChangableWanghao", - "prohibitWanghao", - "registerWanghao", - "updateChangableWanghao", - "updateUserNameByUuid", - "updateWanghaoLastLogintime", - "updateWanghaoToken" -}; - -::IceInternal::DispatchStatus -AliIMInterface::IAEPDBSAdapter::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIMInterface__IAEPDBSAdapter_all, __AliIMInterface__IAEPDBSAdapter_all + 21, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIMInterface__IAEPDBSAdapter_all) - { - case 0: - { - return ___changeIMLongid(in, current); - } - case 1: - { - return ___changeWanghaoPw(in, current); - } - case 2: - { - return ___createWWWanghaoWebid(in, current); - } - case 3: - { - return ___createWanghaoWebid(in, current); - } - case 4: - { - return ___deleteWWWanghaoWebid(in, current); - } - case 5: - { - return ___deleteWanghaoWebid(in, current); - } - case 6: - { - return ___getBindedWebId(in, current); - } - case 7: - { - return ___getBindedWebIdList(in, current); - } - case 8: - { - return ___getUUIDWanghaoByWebid(in, current); - } - case 9: - { - return ___getWanghaoIMBind(in, current); - } - case 10: - { - return ___ice_id(in, current); - } - case 11: - { - return ___ice_ids(in, current); - } - case 12: - { - return ___ice_isA(in, current); - } - case 13: - { - return ___ice_ping(in, current); - } - case 14: - { - return ___isChangableWanghao(in, current); - } - case 15: - { - return ___prohibitWanghao(in, current); - } - case 16: - { - return ___registerWanghao(in, current); - } - case 17: - { - return ___updateChangableWanghao(in, current); - } - case 18: - { - return ___updateUserNameByUuid(in, current); - } - case 19: - { - return ___updateWanghaoLastLogintime(in, current); - } - case 20: - { - return ___updateWanghaoToken(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIMInterface::IAEPDBSAdapter::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIMInterface::IAEPDBSAdapter::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIMInterface::IAEPDBSAdapter::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIMInterface::IAEPDBSAdapter was not generated with stream support"; - throw ex; -} - -void -AliIMInterface::IAEPDBSAdapter::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIMInterface::IAEPDBSAdapter was not generated with stream support"; - throw ex; -} - -void -AliIMInterface::__patch__IAEPDBSAdapterPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIMInterface::IAEPDBSAdapterPtr* p = static_cast< ::AliIMInterface::IAEPDBSAdapterPtr*>(__addr); - assert(p); - *p = ::AliIMInterface::IAEPDBSAdapterPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIMInterface::IAEPDBSAdapter::ice_staticId(); - throw e; - } -} - -bool -AliIMInterface::operator==(const ::AliIMInterface::IAEPDBSAdapter& l, const ::AliIMInterface::IAEPDBSAdapter& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIMInterface::operator!=(const ::AliIMInterface::IAEPDBSAdapter& l, const ::AliIMInterface::IAEPDBSAdapter& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIMInterface::operator<(const ::AliIMInterface::IAEPDBSAdapter& l, const ::AliIMInterface::IAEPDBSAdapter& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIMInterface::operator<=(const ::AliIMInterface::IAEPDBSAdapter& l, const ::AliIMInterface::IAEPDBSAdapter& r) -{ - return l < r || l == r; -} - -bool -AliIMInterface::operator>(const ::AliIMInterface::IAEPDBSAdapter& l, const ::AliIMInterface::IAEPDBSAdapter& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIMInterface::operator>=(const ::AliIMInterface::IAEPDBSAdapter& l, const ::AliIMInterface::IAEPDBSAdapter& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/aliuidpsserv.cpp b/features/aliww/source/aliuidpsserv.cpp deleted file mode 100644 index 720cde9..0000000 --- a/features/aliww/source/aliuidpsserv.cpp +++ /dev/null @@ -1,3339 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aliuidpsserv.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliUID__IAliUidPsMgr__RegisterPassport_name = "RegisterPassport"; - -static const ::std::string __AliUID__IAliUidPsMgr__AuthPassword_name = "AuthPassword"; - -static const ::std::string __AliUID__IAliUidPsMgr__AuthToken_name = "AuthToken"; - -static const ::std::string __AliUID__IAliUidPsMgr__GetAuidToken_name = "GetAuidToken"; - -static const ::std::string __AliUID__IAliUidPsMgr__GetAccountInfo_name = "GetAccountInfo"; - -static const ::std::string __AliUID__IAliUidPsMgr__ChangePassportLogin_name = "ChangePassportLogin"; - -static const ::std::string __AliUID__IAliUidPsMgr__GetProfileByPassport_name = "GetProfileByPassport"; - -static const ::std::string __AliUID__IAliUidPsMgr__UpdateProfileByPassport_name = "UpdateProfileByPassport"; - -static const ::std::string __AliUID__IAliUidPsMgr__SetPassportPassword_name = "SetPassportPassword"; - -static const ::std::string __AliUID__IAliUidPsMgr__SetPassportStatus_name = "SetPassportStatus"; - -static const ::std::string __AliUID__IAliUidPsMgr__GetPassportStatus_name = "GetPassportStatus"; - -static const ::std::string __AliUID__IAliUidPsMgr__GetAllService_name = "GetAllService"; - -static const ::std::string __AliUID__IAliUidPsMgr__BindService_name = "BindService"; - -static const ::std::string __AliUID__IAliUidPsMgr__UnbindService_name = "UnbindService"; - -static const ::std::string __AliUID__IAliUidPsMgr__GetWebUserService_name = "GetWebUserService"; - -static const ::std::string __AliUID__IAliUidPsMgr__AddWebsite_name = "AddWebsite"; - -static const ::std::string __AliUID__IAliUidPsMgr__DelWebsite_name = "DelWebsite"; - -static const ::std::string __AliUID__IAliUidPsMgr__ChgWebsite_name = "ChgWebsite"; - -static const ::std::string __AliUID__IAliUidPsMgr__ChgWebsiteStatus_name = "ChgWebsiteStatus"; - -static const ::std::string __AliUID__IAliUidPsMgr__DoAuth_name = "DoAuth"; - -void -IceInternal::incRef(::AliUID::IAliUidPsMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliUID::IAliUidPsMgr* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliUID::IAliUidPsMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliUID::IAliUidPsMgr* p) -{ - p->__decRef(); -} - -void -AliUID::__write(::IceInternal::BasicStream* __os, const ::AliUID::IAliUidPsMgrPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliUID::__read(::IceInternal::BasicStream* __is, ::AliUID::IAliUidPsMgrPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliUID::IAliUidPsMgr; - v->__copyFrom(proxy); - } -} - -void -AliUID::__write(::IceInternal::BasicStream* __os, const ::AliUID::IAliUidPsMgrPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliUID::__addObject(const IAliUidPsMgrPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliUID::__usesClasses(const IAliUidPsMgrPtr& p) -{ - return p->__usesClasses(); -} - -void -AliUID::__decRefUnsafe(const IAliUidPsMgrPtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliUID::__clearHandleUnsafe(IAliUidPsMgrPtr& p) -{ - p.__clearHandleUnsafe(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_RegisterPassport::AMD_IAliUidPsMgr_RegisterPassport(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_RegisterPassport::ice_response(::Ice::Int __ret, const ::std::string& aliuid) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(aliuid); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_RegisterPassport::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_RegisterPassport::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_RegisterPassport::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_AuthPassword::AMD_IAliUidPsMgr_AuthPassword(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_AuthPassword::ice_response(::Ice::Int __ret, ::Ice::Short userstatus) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(userstatus); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_AuthPassword::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_AuthPassword::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_AuthPassword::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_AuthToken::AMD_IAliUidPsMgr_AuthToken(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_AuthToken::ice_response(::Ice::Int __ret, const ::std::string& aliuid, ::Ice::Short userstatus) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(aliuid); - __os->write(userstatus); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_AuthToken::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_AuthToken::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_AuthToken::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAuidToken::AMD_IAliUidPsMgr_GetAuidToken(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAuidToken::ice_response(::Ice::Int __ret, const ::std::string& aliuid, const ::std::string& auidToken, ::Ice::Short userstatus) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(aliuid); - __os->write(auidToken); - __os->write(userstatus); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAuidToken::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAuidToken::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAuidToken::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAccountInfo::AMD_IAliUidPsMgr_GetAccountInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAccountInfo::ice_response(::Ice::Int __ret, const ::AliUID::SPassportAccount& account) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - account.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAccountInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAccountInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAccountInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_ChangePassportLogin::AMD_IAliUidPsMgr_ChangePassportLogin(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_ChangePassportLogin::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_ChangePassportLogin::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_ChangePassportLogin::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_ChangePassportLogin::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_GetProfileByPassport::AMD_IAliUidPsMgr_GetProfileByPassport(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetProfileByPassport::ice_response(::Ice::Int __ret, const ::std::string& profile) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(profile); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetProfileByPassport::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetProfileByPassport::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetProfileByPassport::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_UpdateProfileByPassport::AMD_IAliUidPsMgr_UpdateProfileByPassport(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_UpdateProfileByPassport::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_UpdateProfileByPassport::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_UpdateProfileByPassport::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_UpdateProfileByPassport::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_SetPassportPassword::AMD_IAliUidPsMgr_SetPassportPassword(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_SetPassportPassword::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_SetPassportPassword::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_SetPassportPassword::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_SetPassportPassword::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_SetPassportStatus::AMD_IAliUidPsMgr_SetPassportStatus(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_SetPassportStatus::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_SetPassportStatus::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_SetPassportStatus::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_SetPassportStatus::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_GetPassportStatus::AMD_IAliUidPsMgr_GetPassportStatus(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetPassportStatus::ice_response(::Ice::Int __ret, ::Ice::Short userStatus, const ::std::string& userData) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(userStatus); - __os->write(userData); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetPassportStatus::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetPassportStatus::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetPassportStatus::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAllService::AMD_IAliUidPsMgr_GetAllService(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAllService::ice_response(::Ice::Int __ret, const ::std::string& services) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(services); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAllService::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAllService::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetAllService::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_BindService::AMD_IAliUidPsMgr_BindService(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_BindService::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_BindService::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_BindService::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_BindService::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_UnbindService::AMD_IAliUidPsMgr_UnbindService(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_UnbindService::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_UnbindService::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_UnbindService::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_UnbindService::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_GetWebUserService::AMD_IAliUidPsMgr_GetWebUserService(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetWebUserService::ice_response(::Ice::Int __ret, const ::std::string& aliuid, const ::std::string& token, const ::AliUID::SWebBindSeq& webBinds) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(aliuid); - __os->write(token); - if(webBinds.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliUID::__write(__os, &webBinds[0], &webBinds[0] + webBinds.size(), ::AliUID::__U__SWebBindSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetWebUserService::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetWebUserService::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_GetWebUserService::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_AddWebsite::AMD_IAliUidPsMgr_AddWebsite(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_AddWebsite::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_AddWebsite::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_AddWebsite::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_AddWebsite::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_DelWebsite::AMD_IAliUidPsMgr_DelWebsite(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_DelWebsite::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_DelWebsite::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_DelWebsite::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_DelWebsite::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_ChgWebsite::AMD_IAliUidPsMgr_ChgWebsite(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_ChgWebsite::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_ChgWebsite::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_ChgWebsite::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_ChgWebsite::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_ChgWebsiteStatus::AMD_IAliUidPsMgr_ChgWebsiteStatus(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_ChgWebsiteStatus::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_ChgWebsiteStatus::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_ChgWebsiteStatus::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_ChgWebsiteStatus::ice_exception() -{ - __exception(); -} - -IceAsync::AliUID::AMD_IAliUidPsMgr_DoAuth::AMD_IAliUidPsMgr_DoAuth(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_DoAuth::ice_response(::Ice::Int __ret, const ::std::string& buid) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(buid); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_DoAuth::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_DoAuth::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliUID::AMD_IAliUidPsMgr_DoAuth::ice_exception() -{ - __exception(); -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::RegisterPassport(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short status, ::std::string& aliuid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__RegisterPassport_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->RegisterPassport(loginId, passwd, status, aliuid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::AuthPassword(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short& userstatus, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__AuthPassword_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->AuthPassword(loginId, passwd, userstatus, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::AuthToken(const ::std::string& loginId, const ::std::string& currToken, ::Ice::Long t, ::std::string& aliuid, ::Ice::Short& userstatus, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__AuthToken_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->AuthToken(loginId, currToken, t, aliuid, userstatus, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::GetAuidToken(const ::std::string& loginId, ::std::string& aliuid, ::std::string& auidToken, ::Ice::Short& userstatus, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__GetAuidToken_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->GetAuidToken(loginId, aliuid, auidToken, userstatus, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::GetAccountInfo(const ::std::string& loginId, ::AliUID::SPassportAccount& account, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__GetAccountInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->GetAccountInfo(loginId, account, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::ChangePassportLogin(const ::std::string& loginId, const ::AliUID::SPassportAccount& account, ::Ice::Int action, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__ChangePassportLogin_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->ChangePassportLogin(loginId, account, action, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::GetProfileByPassport(const ::std::string& loginId, ::std::string& profile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__GetProfileByPassport_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->GetProfileByPassport(loginId, profile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::UpdateProfileByPassport(const ::std::string& loginId, const ::std::string& profile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__UpdateProfileByPassport_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->UpdateProfileByPassport(loginId, profile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::SetPassportPassword(const ::std::string& loginId, const ::std::string& newPassword, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__SetPassportPassword_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->SetPassportPassword(loginId, newPassword, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::SetPassportStatus(const ::std::string& loginId, ::Ice::Short userStatus, const ::std::string& userData, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__SetPassportStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->SetPassportStatus(loginId, userStatus, userData, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::GetPassportStatus(const ::std::string& loginId, ::Ice::Short& userStatus, ::std::string& userData, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__GetPassportStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->GetPassportStatus(loginId, userStatus, userData, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::GetAllService(::std::string& services, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__GetAllService_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->GetAllService(services, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::BindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__BindService_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->BindService(serviceId, webId, webUid, aliuid, currToken, t, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::UnbindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& bindService, const ::std::string& loginId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__UnbindService_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->UnbindService(serviceId, webId, webUid, bindService, loginId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::GetWebUserService(const ::std::string& serviceId, const ::std::string& loginId, ::std::string& aliuid, ::std::string& token, ::AliUID::SWebBindSeq& webBinds, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__GetWebUserService_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->GetWebUserService(serviceId, loginId, aliuid, token, webBinds, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::AliUID::SUrlInfoSeq& webUrl, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__AddWebsite_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->AddWebsite(serviceId, webId, name, webUrl, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__DelWebsite_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->DelWebsite(serviceId, webId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::AliUID::SUrlInfoSeq& webUrl, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__ChgWebsite_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->ChgWebsite(serviceId, webId, name, webUrl, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__ChgWebsiteStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->ChgWebsiteStatus(serviceId, webId, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgr::DoAuth(const ::std::string& serviceId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, ::Ice::Int mode, ::std::string& buid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgr__DoAuth_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgr* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgr*>(__delBase.get()); - return __del->DoAuth(serviceId, aliuid, token, t, mode, buid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliUID::IAliUidPsMgr::ice_staticId() -{ - return ::AliUID::IAliUidPsMgr::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliUID::IAliUidPsMgr::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliUID::IAliUidPsMgr); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliUID::IAliUidPsMgr::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliUID::IAliUidPsMgr); -} - -bool -IceProxy::AliUID::operator==(const ::IceProxy::AliUID::IAliUidPsMgr& l, const ::IceProxy::AliUID::IAliUidPsMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliUID::operator!=(const ::IceProxy::AliUID::IAliUidPsMgr& l, const ::IceProxy::AliUID::IAliUidPsMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliUID::operator<(const ::IceProxy::AliUID::IAliUidPsMgr& l, const ::IceProxy::AliUID::IAliUidPsMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliUID::operator<=(const ::IceProxy::AliUID::IAliUidPsMgr& l, const ::IceProxy::AliUID::IAliUidPsMgr& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliUID::operator>(const ::IceProxy::AliUID::IAliUidPsMgr& l, const ::IceProxy::AliUID::IAliUidPsMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliUID::operator>=(const ::IceProxy::AliUID::IAliUidPsMgr& l, const ::IceProxy::AliUID::IAliUidPsMgr& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::RegisterPassport(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short status, ::std::string& aliuid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__RegisterPassport_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(passwd); - __os->write(status); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(aliuid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::AuthPassword(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short& userstatus, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__AuthPassword_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userstatus); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::AuthToken(const ::std::string& loginId, const ::std::string& currToken, ::Ice::Long t, ::std::string& aliuid, ::Ice::Short& userstatus, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__AuthToken_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(currToken); - __os->write(t); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(aliuid); - __is->read(userstatus); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::GetAuidToken(const ::std::string& loginId, ::std::string& aliuid, ::std::string& auidToken, ::Ice::Short& userstatus, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__GetAuidToken_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(aliuid); - __is->read(auidToken); - __is->read(userstatus); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::GetAccountInfo(const ::std::string& loginId, ::AliUID::SPassportAccount& account, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__GetAccountInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - account.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::ChangePassportLogin(const ::std::string& loginId, const ::AliUID::SPassportAccount& account, ::Ice::Int action, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__ChangePassportLogin_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - account.__write(__os); - __os->write(action); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::GetProfileByPassport(const ::std::string& loginId, ::std::string& profile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__GetProfileByPassport_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(profile); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::UpdateProfileByPassport(const ::std::string& loginId, const ::std::string& profile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__UpdateProfileByPassport_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(profile); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::SetPassportPassword(const ::std::string& loginId, const ::std::string& newPassword, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__SetPassportPassword_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(newPassword); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::SetPassportStatus(const ::std::string& loginId, ::Ice::Short userStatus, const ::std::string& userData, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__SetPassportStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(userStatus); - __os->write(userData); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::GetPassportStatus(const ::std::string& loginId, ::Ice::Short& userStatus, ::std::string& userData, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__GetPassportStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userStatus); - __is->read(userData); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::GetAllService(::std::string& services, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__GetAllService_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(services); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::BindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__BindService_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(webUid); - __os->write(aliuid); - __os->write(currToken); - __os->write(t); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::UnbindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& bindService, const ::std::string& loginId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__UnbindService_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(webUid); - __os->write(bindService); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::GetWebUserService(const ::std::string& serviceId, const ::std::string& loginId, ::std::string& aliuid, ::std::string& token, ::AliUID::SWebBindSeq& webBinds, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__GetWebUserService_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(aliuid); - __is->read(token); - ::AliUID::__read(__is, webBinds, ::AliUID::__U__SWebBindSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::AliUID::SUrlInfoSeq& webUrl, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__AddWebsite_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(name); - if(webUrl.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliUID::__write(__os, &webUrl[0], &webUrl[0] + webUrl.size(), ::AliUID::__U__SUrlInfoSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__DelWebsite_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::AliUID::SUrlInfoSeq& webUrl, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__ChgWebsite_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(name); - if(webUrl.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliUID::__write(__os, &webUrl[0], &webUrl[0] + webUrl.size(), ::AliUID::__U__SUrlInfoSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__ChgWebsiteStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(status); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgr::DoAuth(const ::std::string& serviceId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, ::Ice::Int mode, ::std::string& buid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgr__DoAuth_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(aliuid); - __os->write(token); - __os->write(t); - __os->write(mode); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(buid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::RegisterPassport(const ::std::string&, const ::std::string&, ::Ice::Short, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::AuthPassword(const ::std::string&, const ::std::string&, ::Ice::Short&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::AuthToken(const ::std::string&, const ::std::string&, ::Ice::Long, ::std::string&, ::Ice::Short&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::GetAuidToken(const ::std::string&, ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::GetAccountInfo(const ::std::string&, ::AliUID::SPassportAccount&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::ChangePassportLogin(const ::std::string&, const ::AliUID::SPassportAccount&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::GetProfileByPassport(const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::UpdateProfileByPassport(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::SetPassportPassword(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::SetPassportStatus(const ::std::string&, ::Ice::Short, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::GetPassportStatus(const ::std::string&, ::Ice::Short&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::GetAllService(::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::BindService(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::UnbindService(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::GetWebUserService(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::AliUID::SWebBindSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::AddWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::AliUID::SUrlInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::DelWebsite(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::ChgWebsite(const ::std::string&, const ::std::string&, const ::std::string&, const ::AliUID::SUrlInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::ChgWebsiteStatus(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgr::DoAuth(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long, ::Ice::Int, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::ObjectPtr -AliUID::IAliUidPsMgr::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliUID__IAliUidPsMgr_ids[2] = -{ - "::AliUID::IAliUidPsMgr", - "::Ice::Object" -}; - -bool -AliUID::IAliUidPsMgr::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliUID__IAliUidPsMgr_ids, __AliUID__IAliUidPsMgr_ids + 2, _s); -} - -::std::vector< ::std::string> -AliUID::IAliUidPsMgr::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliUID__IAliUidPsMgr_ids[0], &__AliUID__IAliUidPsMgr_ids[2]); -} - -const ::std::string& -AliUID::IAliUidPsMgr::ice_id(const ::Ice::Current&) const -{ - return __AliUID__IAliUidPsMgr_ids[0]; -} - -const ::std::string& -AliUID::IAliUidPsMgr::ice_staticId() -{ - return __AliUID__IAliUidPsMgr_ids[0]; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___RegisterPassport(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string loginId; - ::std::string passwd; - ::Ice::Short status; - __is->read(loginId); - __is->read(passwd); - __is->read(status); - ::AliUID::AMD_IAliUidPsMgr_RegisterPassportPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_RegisterPassport(__inS); - try - { - RegisterPassport_async(__cb, loginId, passwd, status, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___AuthPassword(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string loginId; - ::std::string passwd; - __is->read(loginId); - __is->read(passwd); - ::AliUID::AMD_IAliUidPsMgr_AuthPasswordPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_AuthPassword(__inS); - try - { - AuthPassword_async(__cb, loginId, passwd, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___AuthToken(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string loginId; - ::std::string currToken; - ::Ice::Long t; - __is->read(loginId); - __is->read(currToken); - __is->read(t); - ::AliUID::AMD_IAliUidPsMgr_AuthTokenPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_AuthToken(__inS); - try - { - AuthToken_async(__cb, loginId, currToken, t, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___GetAuidToken(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string loginId; - __is->read(loginId); - ::AliUID::AMD_IAliUidPsMgr_GetAuidTokenPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_GetAuidToken(__inS); - try - { - GetAuidToken_async(__cb, loginId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___GetAccountInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string loginId; - __is->read(loginId); - ::AliUID::AMD_IAliUidPsMgr_GetAccountInfoPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_GetAccountInfo(__inS); - try - { - GetAccountInfo_async(__cb, loginId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___ChangePassportLogin(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string loginId; - ::AliUID::SPassportAccount account; - ::Ice::Int action; - __is->read(loginId); - account.__read(__is); - __is->read(action); - ::AliUID::AMD_IAliUidPsMgr_ChangePassportLoginPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_ChangePassportLogin(__inS); - try - { - ChangePassportLogin_async(__cb, loginId, account, action, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___GetProfileByPassport(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string loginId; - __is->read(loginId); - ::AliUID::AMD_IAliUidPsMgr_GetProfileByPassportPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_GetProfileByPassport(__inS); - try - { - GetProfileByPassport_async(__cb, loginId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___UpdateProfileByPassport(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string loginId; - ::std::string profile; - __is->read(loginId); - __is->read(profile); - ::AliUID::AMD_IAliUidPsMgr_UpdateProfileByPassportPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_UpdateProfileByPassport(__inS); - try - { - UpdateProfileByPassport_async(__cb, loginId, profile, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___SetPassportPassword(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string loginId; - ::std::string newPassword; - __is->read(loginId); - __is->read(newPassword); - ::AliUID::AMD_IAliUidPsMgr_SetPassportPasswordPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_SetPassportPassword(__inS); - try - { - SetPassportPassword_async(__cb, loginId, newPassword, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___SetPassportStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string loginId; - ::Ice::Short userStatus; - ::std::string userData; - __is->read(loginId); - __is->read(userStatus); - __is->read(userData); - ::AliUID::AMD_IAliUidPsMgr_SetPassportStatusPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_SetPassportStatus(__inS); - try - { - SetPassportStatus_async(__cb, loginId, userStatus, userData, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___GetPassportStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string loginId; - __is->read(loginId); - ::AliUID::AMD_IAliUidPsMgr_GetPassportStatusPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_GetPassportStatus(__inS); - try - { - GetPassportStatus_async(__cb, loginId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___GetAllService(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::AliUID::AMD_IAliUidPsMgr_GetAllServicePtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_GetAllService(__inS); - try - { - GetAllService_async(__cb, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___BindService(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string serviceId; - ::std::string webId; - ::std::string webUid; - ::std::string aliuid; - ::std::string currToken; - ::Ice::Long t; - __is->read(serviceId); - __is->read(webId); - __is->read(webUid); - __is->read(aliuid); - __is->read(currToken); - __is->read(t); - ::AliUID::AMD_IAliUidPsMgr_BindServicePtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_BindService(__inS); - try - { - BindService_async(__cb, serviceId, webId, webUid, aliuid, currToken, t, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___UnbindService(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string serviceId; - ::std::string webId; - ::std::string webUid; - ::std::string bindService; - ::std::string loginId; - __is->read(serviceId); - __is->read(webId); - __is->read(webUid); - __is->read(bindService); - __is->read(loginId); - ::AliUID::AMD_IAliUidPsMgr_UnbindServicePtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_UnbindService(__inS); - try - { - UnbindService_async(__cb, serviceId, webId, webUid, bindService, loginId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___GetWebUserService(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string serviceId; - ::std::string loginId; - __is->read(serviceId); - __is->read(loginId); - ::AliUID::AMD_IAliUidPsMgr_GetWebUserServicePtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_GetWebUserService(__inS); - try - { - GetWebUserService_async(__cb, serviceId, loginId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___AddWebsite(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string serviceId; - ::std::string webId; - ::std::string name; - ::AliUID::SUrlInfoSeq webUrl; - __is->read(serviceId); - __is->read(webId); - __is->read(name); - ::AliUID::__read(__is, webUrl, ::AliUID::__U__SUrlInfoSeq()); - ::AliUID::AMD_IAliUidPsMgr_AddWebsitePtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_AddWebsite(__inS); - try - { - AddWebsite_async(__cb, serviceId, webId, name, webUrl, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___DelWebsite(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string serviceId; - ::std::string webId; - __is->read(serviceId); - __is->read(webId); - ::AliUID::AMD_IAliUidPsMgr_DelWebsitePtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_DelWebsite(__inS); - try - { - DelWebsite_async(__cb, serviceId, webId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___ChgWebsite(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string serviceId; - ::std::string webId; - ::std::string name; - ::AliUID::SUrlInfoSeq webUrl; - __is->read(serviceId); - __is->read(webId); - __is->read(name); - ::AliUID::__read(__is, webUrl, ::AliUID::__U__SUrlInfoSeq()); - ::AliUID::AMD_IAliUidPsMgr_ChgWebsitePtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_ChgWebsite(__inS); - try - { - ChgWebsite_async(__cb, serviceId, webId, name, webUrl, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___ChgWebsiteStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string serviceId; - ::std::string webId; - ::Ice::Int status; - __is->read(serviceId); - __is->read(webId); - __is->read(status); - ::AliUID::AMD_IAliUidPsMgr_ChgWebsiteStatusPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_ChgWebsiteStatus(__inS); - try - { - ChgWebsiteStatus_async(__cb, serviceId, webId, status, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::___DoAuth(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string serviceId; - ::std::string aliuid; - ::std::string token; - ::Ice::Long t; - ::Ice::Int mode; - __is->read(serviceId); - __is->read(aliuid); - __is->read(token); - __is->read(t); - __is->read(mode); - ::AliUID::AMD_IAliUidPsMgr_DoAuthPtr __cb = new IceAsync::AliUID::AMD_IAliUidPsMgr_DoAuth(__inS); - try - { - DoAuth_async(__cb, serviceId, aliuid, token, t, mode, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -static ::std::string __AliUID__IAliUidPsMgr_all[] = -{ - "AddWebsite", - "AuthPassword", - "AuthToken", - "BindService", - "ChangePassportLogin", - "ChgWebsite", - "ChgWebsiteStatus", - "DelWebsite", - "DoAuth", - "GetAccountInfo", - "GetAllService", - "GetAuidToken", - "GetPassportStatus", - "GetProfileByPassport", - "GetWebUserService", - "RegisterPassport", - "SetPassportPassword", - "SetPassportStatus", - "UnbindService", - "UpdateProfileByPassport", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgr::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliUID__IAliUidPsMgr_all, __AliUID__IAliUidPsMgr_all + 24, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliUID__IAliUidPsMgr_all) - { - case 0: - { - return ___AddWebsite(in, current); - } - case 1: - { - return ___AuthPassword(in, current); - } - case 2: - { - return ___AuthToken(in, current); - } - case 3: - { - return ___BindService(in, current); - } - case 4: - { - return ___ChangePassportLogin(in, current); - } - case 5: - { - return ___ChgWebsite(in, current); - } - case 6: - { - return ___ChgWebsiteStatus(in, current); - } - case 7: - { - return ___DelWebsite(in, current); - } - case 8: - { - return ___DoAuth(in, current); - } - case 9: - { - return ___GetAccountInfo(in, current); - } - case 10: - { - return ___GetAllService(in, current); - } - case 11: - { - return ___GetAuidToken(in, current); - } - case 12: - { - return ___GetPassportStatus(in, current); - } - case 13: - { - return ___GetProfileByPassport(in, current); - } - case 14: - { - return ___GetWebUserService(in, current); - } - case 15: - { - return ___RegisterPassport(in, current); - } - case 16: - { - return ___SetPassportPassword(in, current); - } - case 17: - { - return ___SetPassportStatus(in, current); - } - case 18: - { - return ___UnbindService(in, current); - } - case 19: - { - return ___UpdateProfileByPassport(in, current); - } - case 20: - { - return ___ice_id(in, current); - } - case 21: - { - return ___ice_ids(in, current); - } - case 22: - { - return ___ice_isA(in, current); - } - case 23: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliUID::IAliUidPsMgr::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliUID::IAliUidPsMgr::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliUID::IAliUidPsMgr::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliUID::IAliUidPsMgr was not generated with stream support"; - throw ex; -} - -void -AliUID::IAliUidPsMgr::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliUID::IAliUidPsMgr was not generated with stream support"; - throw ex; -} - -void -AliUID::__patch__IAliUidPsMgrPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliUID::IAliUidPsMgrPtr* p = static_cast< ::AliUID::IAliUidPsMgrPtr*>(__addr); - assert(p); - *p = ::AliUID::IAliUidPsMgrPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliUID::IAliUidPsMgr::ice_staticId(); - throw e; - } -} - -bool -AliUID::operator==(const ::AliUID::IAliUidPsMgr& l, const ::AliUID::IAliUidPsMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliUID::operator!=(const ::AliUID::IAliUidPsMgr& l, const ::AliUID::IAliUidPsMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliUID::operator<(const ::AliUID::IAliUidPsMgr& l, const ::AliUID::IAliUidPsMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliUID::operator<=(const ::AliUID::IAliUidPsMgr& l, const ::AliUID::IAliUidPsMgr& r) -{ - return l < r || l == r; -} - -bool -AliUID::operator>(const ::AliUID::IAliUidPsMgr& l, const ::AliUID::IAliUidPsMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliUID::operator>=(const ::AliUID::IAliUidPsMgr& l, const ::AliUID::IAliUidPsMgr& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/aliuidpsserv_sync.cpp b/features/aliww/source/aliuidpsserv_sync.cpp deleted file mode 100644 index dc0b05c..0000000 --- a/features/aliww/source/aliuidpsserv_sync.cpp +++ /dev/null @@ -1,2519 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aliuidpsserv_sync.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliUID__IAliUidPsMgrSync__RegisterPassport_name = "RegisterPassport"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__AuthPassword_name = "AuthPassword"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__AuthToken_name = "AuthToken"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__GetAuidToken_name = "GetAuidToken"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__GetAccountInfo_name = "GetAccountInfo"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__ChangePassportLogin_name = "ChangePassportLogin"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__GetProfileByPassport_name = "GetProfileByPassport"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__UpdateProfileByPassport_name = "UpdateProfileByPassport"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__SetPassportPassword_name = "SetPassportPassword"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__SetPassportStatus_name = "SetPassportStatus"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__GetPassportStatus_name = "GetPassportStatus"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__GetAllService_name = "GetAllService"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__GetWebUserService_name = "GetWebUserService"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__AddWebsite_name = "AddWebsite"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__DelWebsite_name = "DelWebsite"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__ChgWebsite_name = "ChgWebsite"; - -static const ::std::string __AliUID__IAliUidPsMgrSync__ChgWebsiteStatus_name = "ChgWebsiteStatus"; - -void -IceInternal::incRef(::AliUID::IAliUidPsMgrSync* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliUID::IAliUidPsMgrSync* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliUID::IAliUidPsMgrSync* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliUID::IAliUidPsMgrSync* p) -{ - p->__decRef(); -} - -void -AliUID::__write(::IceInternal::BasicStream* __os, const ::AliUID::IAliUidPsMgrSyncPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliUID::__read(::IceInternal::BasicStream* __is, ::AliUID::IAliUidPsMgrSyncPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliUID::IAliUidPsMgrSync; - v->__copyFrom(proxy); - } -} - -void -AliUID::__write(::IceInternal::BasicStream* __os, const ::AliUID::IAliUidPsMgrSyncPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliUID::__addObject(const IAliUidPsMgrSyncPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliUID::__usesClasses(const IAliUidPsMgrSyncPtr& p) -{ - return p->__usesClasses(); -} - -void -AliUID::__decRefUnsafe(const IAliUidPsMgrSyncPtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliUID::__clearHandleUnsafe(IAliUidPsMgrSyncPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::RegisterPassport(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short status, ::std::string& aliuid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__RegisterPassport_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->RegisterPassport(loginId, passwd, status, aliuid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::AuthPassword(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short& userstatus, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__AuthPassword_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->AuthPassword(loginId, passwd, userstatus, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::AuthToken(const ::std::string& loginId, const ::std::string& currToken, ::Ice::Long t, ::std::string& aliuid, ::Ice::Short& userstatus, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__AuthToken_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->AuthToken(loginId, currToken, t, aliuid, userstatus, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::GetAuidToken(const ::std::string& loginId, ::std::string& aliuid, ::std::string& auidToken, ::Ice::Short& userstatus, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__GetAuidToken_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->GetAuidToken(loginId, aliuid, auidToken, userstatus, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::GetAccountInfo(const ::std::string& loginId, ::AliUID::SPassportAccount& account, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__GetAccountInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->GetAccountInfo(loginId, account, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::ChangePassportLogin(const ::std::string& loginId, const ::AliUID::SPassportAccount& account, ::Ice::Int action, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__ChangePassportLogin_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->ChangePassportLogin(loginId, account, action, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::GetProfileByPassport(const ::std::string& loginId, ::std::string& profile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__GetProfileByPassport_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->GetProfileByPassport(loginId, profile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::UpdateProfileByPassport(const ::std::string& loginId, const ::std::string& profile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__UpdateProfileByPassport_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->UpdateProfileByPassport(loginId, profile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::SetPassportPassword(const ::std::string& loginId, const ::std::string& newPassword, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__SetPassportPassword_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->SetPassportPassword(loginId, newPassword, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::SetPassportStatus(const ::std::string& loginId, ::Ice::Short userStatus, const ::std::string& userData, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__SetPassportStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->SetPassportStatus(loginId, userStatus, userData, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::GetPassportStatus(const ::std::string& loginId, ::Ice::Short& userStatus, ::std::string& userData, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__GetPassportStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->GetPassportStatus(loginId, userStatus, userData, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::GetAllService(::std::string& services, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__GetAllService_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->GetAllService(services, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::GetWebUserService(const ::std::string& serviceId, const ::std::string& loginId, ::std::string& aliuid, ::std::string& token, ::AliUID::SWebBindSeq& webBinds, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__GetWebUserService_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->GetWebUserService(serviceId, loginId, aliuid, token, webBinds, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::std::string& baseUrl, const ::std::string& trustUrl, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__AddWebsite_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->AddWebsite(serviceId, webId, name, baseUrl, trustUrl, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__DelWebsite_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->DelWebsite(serviceId, webId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::std::string& baseUrl, const ::std::string& trustUrl, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__ChgWebsite_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->ChgWebsite(serviceId, webId, name, baseUrl, trustUrl, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliUID::IAliUidPsMgrSync::ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliUID__IAliUidPsMgrSync__ChgWebsiteStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliUID::IAliUidPsMgrSync* __del = dynamic_cast< ::IceDelegate::AliUID::IAliUidPsMgrSync*>(__delBase.get()); - return __del->ChgWebsiteStatus(serviceId, webId, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliUID::IAliUidPsMgrSync::ice_staticId() -{ - return ::AliUID::IAliUidPsMgrSync::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliUID::IAliUidPsMgrSync::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliUID::IAliUidPsMgrSync); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliUID::IAliUidPsMgrSync::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliUID::IAliUidPsMgrSync); -} - -bool -IceProxy::AliUID::operator==(const ::IceProxy::AliUID::IAliUidPsMgrSync& l, const ::IceProxy::AliUID::IAliUidPsMgrSync& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliUID::operator!=(const ::IceProxy::AliUID::IAliUidPsMgrSync& l, const ::IceProxy::AliUID::IAliUidPsMgrSync& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliUID::operator<(const ::IceProxy::AliUID::IAliUidPsMgrSync& l, const ::IceProxy::AliUID::IAliUidPsMgrSync& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliUID::operator<=(const ::IceProxy::AliUID::IAliUidPsMgrSync& l, const ::IceProxy::AliUID::IAliUidPsMgrSync& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliUID::operator>(const ::IceProxy::AliUID::IAliUidPsMgrSync& l, const ::IceProxy::AliUID::IAliUidPsMgrSync& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliUID::operator>=(const ::IceProxy::AliUID::IAliUidPsMgrSync& l, const ::IceProxy::AliUID::IAliUidPsMgrSync& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::RegisterPassport(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short status, ::std::string& aliuid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__RegisterPassport_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(passwd); - __os->write(status); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(aliuid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::AuthPassword(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short& userstatus, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__AuthPassword_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userstatus); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::AuthToken(const ::std::string& loginId, const ::std::string& currToken, ::Ice::Long t, ::std::string& aliuid, ::Ice::Short& userstatus, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__AuthToken_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(currToken); - __os->write(t); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(aliuid); - __is->read(userstatus); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::GetAuidToken(const ::std::string& loginId, ::std::string& aliuid, ::std::string& auidToken, ::Ice::Short& userstatus, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__GetAuidToken_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(aliuid); - __is->read(auidToken); - __is->read(userstatus); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::GetAccountInfo(const ::std::string& loginId, ::AliUID::SPassportAccount& account, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__GetAccountInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - account.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::ChangePassportLogin(const ::std::string& loginId, const ::AliUID::SPassportAccount& account, ::Ice::Int action, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__ChangePassportLogin_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - account.__write(__os); - __os->write(action); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::GetProfileByPassport(const ::std::string& loginId, ::std::string& profile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__GetProfileByPassport_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(profile); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::UpdateProfileByPassport(const ::std::string& loginId, const ::std::string& profile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__UpdateProfileByPassport_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(profile); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::SetPassportPassword(const ::std::string& loginId, const ::std::string& newPassword, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__SetPassportPassword_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(newPassword); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::SetPassportStatus(const ::std::string& loginId, ::Ice::Short userStatus, const ::std::string& userData, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__SetPassportStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(userStatus); - __os->write(userData); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::GetPassportStatus(const ::std::string& loginId, ::Ice::Short& userStatus, ::std::string& userData, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__GetPassportStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userStatus); - __is->read(userData); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::GetAllService(::std::string& services, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__GetAllService_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(services); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::GetWebUserService(const ::std::string& serviceId, const ::std::string& loginId, ::std::string& aliuid, ::std::string& token, ::AliUID::SWebBindSeq& webBinds, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__GetWebUserService_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(aliuid); - __is->read(token); - ::AliUID::__read(__is, webBinds, ::AliUID::__U__SWebBindSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::std::string& baseUrl, const ::std::string& trustUrl, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__AddWebsite_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(name); - __os->write(baseUrl); - __os->write(trustUrl); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__DelWebsite_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::std::string& baseUrl, const ::std::string& trustUrl, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__ChgWebsite_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(name); - __os->write(baseUrl); - __os->write(trustUrl); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliUID::IAliUidPsMgrSync::ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliUID__IAliUidPsMgrSync__ChgWebsiteStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(status); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::RegisterPassport(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short status, ::std::string& aliuid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__RegisterPassport_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->RegisterPassport(loginId, passwd, status, aliuid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::AuthPassword(const ::std::string& loginId, const ::std::string& passwd, ::Ice::Short& userstatus, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__AuthPassword_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AuthPassword(loginId, passwd, userstatus, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::AuthToken(const ::std::string& loginId, const ::std::string& currToken, ::Ice::Long t, ::std::string& aliuid, ::Ice::Short& userstatus, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__AuthToken_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AuthToken(loginId, currToken, t, aliuid, userstatus, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::GetAuidToken(const ::std::string& loginId, ::std::string& aliuid, ::std::string& auidToken, ::Ice::Short& userstatus, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__GetAuidToken_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetAuidToken(loginId, aliuid, auidToken, userstatus, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::GetAccountInfo(const ::std::string& loginId, ::AliUID::SPassportAccount& account, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__GetAccountInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetAccountInfo(loginId, account, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::ChangePassportLogin(const ::std::string& loginId, const ::AliUID::SPassportAccount& account, ::Ice::Int action, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__ChangePassportLogin_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->ChangePassportLogin(loginId, account, action, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::GetProfileByPassport(const ::std::string& loginId, ::std::string& profile, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__GetProfileByPassport_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetProfileByPassport(loginId, profile, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::UpdateProfileByPassport(const ::std::string& loginId, const ::std::string& profile, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__UpdateProfileByPassport_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateProfileByPassport(loginId, profile, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::SetPassportPassword(const ::std::string& loginId, const ::std::string& newPassword, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__SetPassportPassword_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->SetPassportPassword(loginId, newPassword, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::SetPassportStatus(const ::std::string& loginId, ::Ice::Short userStatus, const ::std::string& userData, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__SetPassportStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->SetPassportStatus(loginId, userStatus, userData, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::GetPassportStatus(const ::std::string& loginId, ::Ice::Short& userStatus, ::std::string& userData, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__GetPassportStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetPassportStatus(loginId, userStatus, userData, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::GetAllService(::std::string& services, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__GetAllService_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetAllService(services, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::GetWebUserService(const ::std::string& serviceId, const ::std::string& loginId, ::std::string& aliuid, ::std::string& token, ::AliUID::SWebBindSeq& webBinds, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__GetWebUserService_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetWebUserService(serviceId, loginId, aliuid, token, webBinds, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::std::string& baseUrl, const ::std::string& trustUrl, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__AddWebsite_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddWebsite(serviceId, webId, name, baseUrl, trustUrl, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__DelWebsite_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DelWebsite(serviceId, webId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::std::string& baseUrl, const ::std::string& trustUrl, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__ChgWebsite_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->ChgWebsite(serviceId, webId, name, baseUrl, trustUrl, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliUID::IAliUidPsMgrSync::ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliUID__IAliUidPsMgrSync__ChgWebsiteStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliUID::IAliUidPsMgrSync* __servant = dynamic_cast< ::AliUID::IAliUidPsMgrSync*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->ChgWebsiteStatus(serviceId, webId, status, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliUID::IAliUidPsMgrSync::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliUID__IAliUidPsMgrSync_ids[2] = -{ - "::AliUID::IAliUidPsMgrSync", - "::Ice::Object" -}; - -bool -AliUID::IAliUidPsMgrSync::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliUID__IAliUidPsMgrSync_ids, __AliUID__IAliUidPsMgrSync_ids + 2, _s); -} - -::std::vector< ::std::string> -AliUID::IAliUidPsMgrSync::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliUID__IAliUidPsMgrSync_ids[0], &__AliUID__IAliUidPsMgrSync_ids[2]); -} - -const ::std::string& -AliUID::IAliUidPsMgrSync::ice_id(const ::Ice::Current&) const -{ - return __AliUID__IAliUidPsMgrSync_ids[0]; -} - -const ::std::string& -AliUID::IAliUidPsMgrSync::ice_staticId() -{ - return __AliUID__IAliUidPsMgrSync_ids[0]; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___RegisterPassport(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::std::string passwd; - ::Ice::Short status; - __is->read(loginId); - __is->read(passwd); - __is->read(status); - ::std::string aliuid; - ::Ice::Int __ret = RegisterPassport(loginId, passwd, status, aliuid, __current); - __os->write(aliuid); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___AuthPassword(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::std::string passwd; - __is->read(loginId); - __is->read(passwd); - ::Ice::Short userstatus; - ::Ice::Int __ret = AuthPassword(loginId, passwd, userstatus, __current); - __os->write(userstatus); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___AuthToken(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::std::string currToken; - ::Ice::Long t; - __is->read(loginId); - __is->read(currToken); - __is->read(t); - ::std::string aliuid; - ::Ice::Short userstatus; - ::Ice::Int __ret = AuthToken(loginId, currToken, t, aliuid, userstatus, __current); - __os->write(aliuid); - __os->write(userstatus); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___GetAuidToken(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - __is->read(loginId); - ::std::string aliuid; - ::std::string auidToken; - ::Ice::Short userstatus; - ::Ice::Int __ret = GetAuidToken(loginId, aliuid, auidToken, userstatus, __current); - __os->write(aliuid); - __os->write(auidToken); - __os->write(userstatus); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___GetAccountInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - __is->read(loginId); - ::AliUID::SPassportAccount account; - ::Ice::Int __ret = GetAccountInfo(loginId, account, __current); - account.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___ChangePassportLogin(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::AliUID::SPassportAccount account; - ::Ice::Int action; - __is->read(loginId); - account.__read(__is); - __is->read(action); - ::Ice::Int __ret = ChangePassportLogin(loginId, account, action, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___GetProfileByPassport(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - __is->read(loginId); - ::std::string profile; - ::Ice::Int __ret = GetProfileByPassport(loginId, profile, __current); - __os->write(profile); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___UpdateProfileByPassport(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::std::string profile; - __is->read(loginId); - __is->read(profile); - ::Ice::Int __ret = UpdateProfileByPassport(loginId, profile, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___SetPassportPassword(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::std::string newPassword; - __is->read(loginId); - __is->read(newPassword); - ::Ice::Int __ret = SetPassportPassword(loginId, newPassword, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___SetPassportStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::Ice::Short userStatus; - ::std::string userData; - __is->read(loginId); - __is->read(userStatus); - __is->read(userData); - ::Ice::Int __ret = SetPassportStatus(loginId, userStatus, userData, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___GetPassportStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - __is->read(loginId); - ::Ice::Short userStatus; - ::std::string userData; - ::Ice::Int __ret = GetPassportStatus(loginId, userStatus, userData, __current); - __os->write(userStatus); - __os->write(userData); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___GetAllService(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string services; - ::Ice::Int __ret = GetAllService(services, __current); - __os->write(services); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___GetWebUserService(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string serviceId; - ::std::string loginId; - __is->read(serviceId); - __is->read(loginId); - ::std::string aliuid; - ::std::string token; - ::AliUID::SWebBindSeq webBinds; - ::Ice::Int __ret = GetWebUserService(serviceId, loginId, aliuid, token, webBinds, __current); - __os->write(aliuid); - __os->write(token); - if(webBinds.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliUID::__write(__os, &webBinds[0], &webBinds[0] + webBinds.size(), ::AliUID::__U__SWebBindSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___AddWebsite(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string serviceId; - ::std::string webId; - ::std::string name; - ::std::string baseUrl; - ::std::string trustUrl; - __is->read(serviceId); - __is->read(webId); - __is->read(name); - __is->read(baseUrl); - __is->read(trustUrl); - ::Ice::Int __ret = AddWebsite(serviceId, webId, name, baseUrl, trustUrl, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___DelWebsite(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string serviceId; - ::std::string webId; - __is->read(serviceId); - __is->read(webId); - ::Ice::Int __ret = DelWebsite(serviceId, webId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___ChgWebsite(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string serviceId; - ::std::string webId; - ::std::string name; - ::std::string baseUrl; - ::std::string trustUrl; - __is->read(serviceId); - __is->read(webId); - __is->read(name); - __is->read(baseUrl); - __is->read(trustUrl); - ::Ice::Int __ret = ChgWebsite(serviceId, webId, name, baseUrl, trustUrl, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::___ChgWebsiteStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string serviceId; - ::std::string webId; - ::Ice::Int status; - __is->read(serviceId); - __is->read(webId); - __is->read(status); - ::Ice::Int __ret = ChgWebsiteStatus(serviceId, webId, status, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliUID__IAliUidPsMgrSync_all[] = -{ - "AddWebsite", - "AuthPassword", - "AuthToken", - "ChangePassportLogin", - "ChgWebsite", - "ChgWebsiteStatus", - "DelWebsite", - "GetAccountInfo", - "GetAllService", - "GetAuidToken", - "GetPassportStatus", - "GetProfileByPassport", - "GetWebUserService", - "RegisterPassport", - "SetPassportPassword", - "SetPassportStatus", - "UpdateProfileByPassport", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -AliUID::IAliUidPsMgrSync::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliUID__IAliUidPsMgrSync_all, __AliUID__IAliUidPsMgrSync_all + 21, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliUID__IAliUidPsMgrSync_all) - { - case 0: - { - return ___AddWebsite(in, current); - } - case 1: - { - return ___AuthPassword(in, current); - } - case 2: - { - return ___AuthToken(in, current); - } - case 3: - { - return ___ChangePassportLogin(in, current); - } - case 4: - { - return ___ChgWebsite(in, current); - } - case 5: - { - return ___ChgWebsiteStatus(in, current); - } - case 6: - { - return ___DelWebsite(in, current); - } - case 7: - { - return ___GetAccountInfo(in, current); - } - case 8: - { - return ___GetAllService(in, current); - } - case 9: - { - return ___GetAuidToken(in, current); - } - case 10: - { - return ___GetPassportStatus(in, current); - } - case 11: - { - return ___GetProfileByPassport(in, current); - } - case 12: - { - return ___GetWebUserService(in, current); - } - case 13: - { - return ___RegisterPassport(in, current); - } - case 14: - { - return ___SetPassportPassword(in, current); - } - case 15: - { - return ___SetPassportStatus(in, current); - } - case 16: - { - return ___UpdateProfileByPassport(in, current); - } - case 17: - { - return ___ice_id(in, current); - } - case 18: - { - return ___ice_ids(in, current); - } - case 19: - { - return ___ice_isA(in, current); - } - case 20: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliUID::IAliUidPsMgrSync::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliUID::IAliUidPsMgrSync::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliUID::IAliUidPsMgrSync::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliUID::IAliUidPsMgrSync was not generated with stream support"; - throw ex; -} - -void -AliUID::IAliUidPsMgrSync::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliUID::IAliUidPsMgrSync was not generated with stream support"; - throw ex; -} - -void -AliUID::__patch__IAliUidPsMgrSyncPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliUID::IAliUidPsMgrSyncPtr* p = static_cast< ::AliUID::IAliUidPsMgrSyncPtr*>(__addr); - assert(p); - *p = ::AliUID::IAliUidPsMgrSyncPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliUID::IAliUidPsMgrSync::ice_staticId(); - throw e; - } -} - -bool -AliUID::operator==(const ::AliUID::IAliUidPsMgrSync& l, const ::AliUID::IAliUidPsMgrSync& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliUID::operator!=(const ::AliUID::IAliUidPsMgrSync& l, const ::AliUID::IAliUidPsMgrSync& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliUID::operator<(const ::AliUID::IAliUidPsMgrSync& l, const ::AliUID::IAliUidPsMgrSync& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliUID::operator<=(const ::AliUID::IAliUidPsMgrSync& l, const ::AliUID::IAliUidPsMgrSync& r) -{ - return l < r || l == r; -} - -bool -AliUID::operator>(const ::AliUID::IAliUidPsMgrSync& l, const ::AliUID::IAliUidPsMgrSync& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliUID::operator>=(const ::AliUID::IAliUidPsMgrSync& l, const ::AliUID::IAliUidPsMgrSync& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/aliuidstruct.cpp b/features/aliww/source/aliuidstruct.cpp deleted file mode 100644 index 7c623df..0000000 --- a/features/aliww/source/aliuidstruct.cpp +++ /dev/null @@ -1,647 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aliuidstruct.ice' - -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -bool -AliUID::SMobileUserInfo::operator==(const SMobileUserInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliUID::SMobileUserInfo::operator!=(const SMobileUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(aliuid != __rhs.aliuid) - { - return true; - } - if(mobileNo != __rhs.mobileNo) - { - return true; - } - if(mkey1 != __rhs.mkey1) - { - return true; - } - if(mkey2 != __rhs.mkey2) - { - return true; - } - if(clientKey != __rhs.clientKey) - { - return true; - } - if(wkey1 != __rhs.wkey1) - { - return true; - } - if(wkey2 != __rhs.wkey2) - { - return true; - } - if(token != __rhs.token) - { - return true; - } - if(authServices != __rhs.authServices) - { - return true; - } - return false; -} - -bool -AliUID::SMobileUserInfo::operator<(const SMobileUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(aliuid < __rhs.aliuid) - { - return true; - } - else if(__rhs.aliuid < aliuid) - { - return false; - } - if(mobileNo < __rhs.mobileNo) - { - return true; - } - else if(__rhs.mobileNo < mobileNo) - { - return false; - } - if(mkey1 < __rhs.mkey1) - { - return true; - } - else if(__rhs.mkey1 < mkey1) - { - return false; - } - if(mkey2 < __rhs.mkey2) - { - return true; - } - else if(__rhs.mkey2 < mkey2) - { - return false; - } - if(clientKey < __rhs.clientKey) - { - return true; - } - else if(__rhs.clientKey < clientKey) - { - return false; - } - if(wkey1 < __rhs.wkey1) - { - return true; - } - else if(__rhs.wkey1 < wkey1) - { - return false; - } - if(wkey2 < __rhs.wkey2) - { - return true; - } - else if(__rhs.wkey2 < wkey2) - { - return false; - } - if(token < __rhs.token) - { - return true; - } - else if(__rhs.token < token) - { - return false; - } - if(authServices < __rhs.authServices) - { - return true; - } - else if(__rhs.authServices < authServices) - { - return false; - } - return false; -} - -void -AliUID::SMobileUserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(aliuid); - __os->write(mobileNo); - __os->write(mkey1); - __os->write(mkey2); - __os->write(clientKey); - __os->write(wkey1); - __os->write(wkey2); - __os->write(token); - if(authServices.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&authServices[0], &authServices[0] + authServices.size()); - } -} - -void -AliUID::SMobileUserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(aliuid); - __is->read(mobileNo); - __is->read(mkey1); - __is->read(mkey2); - __is->read(clientKey); - __is->read(wkey1); - __is->read(wkey2); - __is->read(token); - __is->read(authServices); -} - -bool -AliUID::SServiceUser::operator==(const SServiceUser& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliUID::SServiceUser::operator!=(const SServiceUser& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(serviceId != __rhs.serviceId) - { - return true; - } - if(buid != __rhs.buid) - { - return true; - } - if(buToken != __rhs.buToken) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - return false; -} - -bool -AliUID::SServiceUser::operator<(const SServiceUser& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(serviceId < __rhs.serviceId) - { - return true; - } - else if(__rhs.serviceId < serviceId) - { - return false; - } - if(buid < __rhs.buid) - { - return true; - } - else if(__rhs.buid < buid) - { - return false; - } - if(buToken < __rhs.buToken) - { - return true; - } - else if(__rhs.buToken < buToken) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - return false; -} - -void -AliUID::SServiceUser::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(serviceId); - __os->write(buid); - __os->write(buToken); - __os->write(status); -} - -void -AliUID::SServiceUser::__read(::IceInternal::BasicStream* __is) -{ - __is->read(serviceId); - __is->read(buid); - __is->read(buToken); - __is->read(status); -} - -void -AliUID::__write(::IceInternal::BasicStream* __os, const ::AliUID::SServiceUser* begin, const ::AliUID::SServiceUser* end, ::AliUID::__U__SServiceUserSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliUID::__read(::IceInternal::BasicStream* __is, ::AliUID::SServiceUserSeq& v, ::AliUID::__U__SServiceUserSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 5); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliUID::SPassportAccount::operator==(const SPassportAccount& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliUID::SPassportAccount::operator!=(const SPassportAccount& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(aliuid != __rhs.aliuid) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(mobile != __rhs.mobile) - { - return true; - } - if(buids != __rhs.buids) - { - return true; - } - return false; -} - -bool -AliUID::SPassportAccount::operator<(const SPassportAccount& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(aliuid < __rhs.aliuid) - { - return true; - } - else if(__rhs.aliuid < aliuid) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(mobile < __rhs.mobile) - { - return true; - } - else if(__rhs.mobile < mobile) - { - return false; - } - if(buids < __rhs.buids) - { - return true; - } - else if(__rhs.buids < buids) - { - return false; - } - return false; -} - -void -AliUID::SPassportAccount::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(aliuid); - __os->write(email); - __os->write(mobile); - if(buids.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliUID::__write(__os, &buids[0], &buids[0] + buids.size(), ::AliUID::__U__SServiceUserSeq()); - } -} - -void -AliUID::SPassportAccount::__read(::IceInternal::BasicStream* __is) -{ - __is->read(aliuid); - __is->read(email); - __is->read(mobile); - ::AliUID::__read(__is, buids, ::AliUID::__U__SServiceUserSeq()); -} - -bool -AliUID::SUrlInfo::operator==(const SUrlInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliUID::SUrlInfo::operator!=(const SUrlInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(baseUrl != __rhs.baseUrl) - { - return true; - } - if(trustUrl != __rhs.trustUrl) - { - return true; - } - return false; -} - -bool -AliUID::SUrlInfo::operator<(const SUrlInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(baseUrl < __rhs.baseUrl) - { - return true; - } - else if(__rhs.baseUrl < baseUrl) - { - return false; - } - if(trustUrl < __rhs.trustUrl) - { - return true; - } - else if(__rhs.trustUrl < trustUrl) - { - return false; - } - return false; -} - -void -AliUID::SUrlInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(baseUrl); - __os->write(trustUrl); -} - -void -AliUID::SUrlInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(baseUrl); - __is->read(trustUrl); -} - -void -AliUID::__write(::IceInternal::BasicStream* __os, const ::AliUID::SUrlInfo* begin, const ::AliUID::SUrlInfo* end, ::AliUID::__U__SUrlInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliUID::__read(::IceInternal::BasicStream* __is, ::AliUID::SUrlInfoSeq& v, ::AliUID::__U__SUrlInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 2); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliUID::SWebBind::operator==(const SWebBind& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliUID::SWebBind::operator!=(const SWebBind& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(serviceId != __rhs.serviceId) - { - return true; - } - if(siteId != __rhs.siteId) - { - return true; - } - if(webId != __rhs.webId) - { - return true; - } - if(webUid != __rhs.webUid) - { - return true; - } - if(webUrl != __rhs.webUrl) - { - return true; - } - return false; -} - -bool -AliUID::SWebBind::operator<(const SWebBind& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(serviceId < __rhs.serviceId) - { - return true; - } - else if(__rhs.serviceId < serviceId) - { - return false; - } - if(siteId < __rhs.siteId) - { - return true; - } - else if(__rhs.siteId < siteId) - { - return false; - } - if(webId < __rhs.webId) - { - return true; - } - else if(__rhs.webId < webId) - { - return false; - } - if(webUid < __rhs.webUid) - { - return true; - } - else if(__rhs.webUid < webUid) - { - return false; - } - if(webUrl < __rhs.webUrl) - { - return true; - } - else if(__rhs.webUrl < webUrl) - { - return false; - } - return false; -} - -void -AliUID::SWebBind::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(serviceId); - __os->write(siteId); - __os->write(webId); - __os->write(webUid); - if(webUrl.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&webUrl[0], &webUrl[0] + webUrl.size()); - } -} - -void -AliUID::SWebBind::__read(::IceInternal::BasicStream* __is) -{ - __is->read(serviceId); - __is->read(siteId); - __is->read(webId); - __is->read(webUid); - __is->read(webUrl); -} - -void -AliUID::__write(::IceInternal::BasicStream* __os, const ::AliUID::SWebBind* begin, const ::AliUID::SWebBind* end, ::AliUID::__U__SWebBindSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliUID::__read(::IceInternal::BasicStream* __is, ::AliUID::SWebBindSeq& v, ::AliUID::__U__SWebBindSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 5); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} diff --git a/features/aliww/source/aliww.cpp b/features/aliww/source/aliww.cpp deleted file mode 100644 index b0196c6..0000000 --- a/features/aliww/source/aliww.cpp +++ /dev/null @@ -1,322 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: aliww.cpp - * - * Description: 阿里旺旺测试用例库 - * - * Version: 1.0 - * Created: 01/27/2011 10:31:46 AM - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ -#include "aliww.h" - - -void *initialize(void *p) -{ - middleware_t *pmw = (middleware_t*)p; - bench_t *pb = pmw->bp; - int scenarioID = 1; - printf("Aliww scenario:\n"); - printf("1:Get Bind List\n"); - printf("2:Bind Unbind\n"); - printf("3:TPFS GETCAL\n"); - printf("4:AAS textput\n"); - printf("5:AAS textgetput\n"); - printf("6:IMS login\n"); - printf("7:TPFS gettext\n"); - printf("8:TPFS getpic\n"); - printf("9:TPFS putpic\n"); - printf("10:AAS picput\n"); - printf("11:AAS picputget\n"); - printf("12:TPFS putgetpic\n"); - printf("13:AAS gettxt\n"); - printf("14:AAS picget\n"); - printf("15:IMS login_with_token\n"); - printf("16:IMS updateUserProfile\n"); - printf("17:IMS_MOS chgStatus\n"); - printf("18:MOS getUserStatus\n"); - printf("19:IMS storm_login\n"); - printf("20:dbs_CheckUserTokenExtra\n"); - printf("21:dbs_CheckWebWWPasswd\n"); - printf("22:dbs_CheckUserWebPasswdExtran\n"); - printf("23:dbs_GetUserInfoExNew4n\n"); - printf("24:dbs_UpdateUserDataInfo3\n"); - printf("25:ddbadmin_insertRecord\n"); - printf("26:ddbadmin_getRecord\n"); - printf("27:ddbadmin_updateRecord\n"); - printf("28:ddbadmin_deleteRecord\n"); - printf("29:ddbadmin_insertRecord_delete\n"); - printf("30:uss_insert\n"); - printf("31:uss_get\n"); - printf("32:mos_getUserCount\n"); - printf("\nSelect scenario ID:\n"); - scanf("%d",&scenarioID); - switch(scenarioID) - { - case 1: - { - set_param_file(pb, "../../data/get_bind_list.dat"); -// pmw->script.init = get_bind_list_init; -// pmw->script.act = get_bind_list_act; - - break; - } - case 2: - { - set_param_file(pb, "../../data/bind_unbind.dat"); -// pmw->script.init = bind_unbind_init; -// pmw->script.act = bind_unbind_act; - - break; - } - case 3: - { - //set_param_file(pb, "../../data/tpfs.dat"); - pmw->script.init = tpfs_init; - pmw->script.act = tpfs_getcal; - pmw->script.end = tpfs_end; - - break; - } - case 4: - { - pmw->script.init = aas_init; - pmw->script.act = aas_textput; - //pmw->script.end = aas_end; - break; - } - case 5: - { - pmw->script.init = aas_init; - pmw->script.act = aas_textgetput; - //pmw->script.end = aas_end; - break; - } - case 6: - { - set_param_file(pb, "../../data/user"); - pmw->script.init = ims_init; - pmw->script.act = ims_login; - - break; - } - case 7: - { - set_param_file(pb, "../../data/cnalichn.csv"); - pmw->script.init = tpfs_init; - pmw->script.act = tpfs_gettext; - pmw->script.end = tpfs_end; - break; - } - case 8: - { - set_param_file(pb, "../../data/picfilename"); - pmw->script.init = tpfs_init; - pmw->script.act = tpfs_getpic; - pmw->script.end = tpfs_end; - break; - } - case 9: - { - set_param_file(pb, "../../data/cnalichn.csv"); - pmw->script.init = tpfs_init; - pmw->script.act = tpfs_putpic; - pmw->script.end = tpfs_end; - break; - } - case 10: - { - set_param_file(pb, "../../data/cnalichn.csv"); - pmw->script.init = aas_init; - pmw->script.act = aas_picput; - pmw->script.end = aas_end; - break; - } - case 11: - { - set_param_file(pb, "../../data/cnalichn.csv"); - pmw->script.init = aas_init; - pmw->script.act = aas_picputget; - pmw->script.end = aas_end; - break; - } - case 12: - { - set_param_file(pb, "../../data/cnalichn.csv"); - pmw->script.init = tpfs_init; - pmw->script.act = tpfs_putgetpic; - pmw->script.end = tpfs_end; - break; - } - case 13: - { - set_param_file(pb, "../../data/cnalichn.csv"); - pmw->script.init = aas_init; - pmw->script.act = aas_textget; - pmw->script.end = aas_end; - break; - } - case 14: - { - set_param_file(pb, "../../data/picfilename"); - pmw->script.init = aas_init; - pmw->script.act = aas_picget; - pmw->script.end = aas_end; - break; - } - case 15: - { - set_param_file(pb, "../../data/user"); - pmw->script.init = ims_init; - pmw->script.act = ims_login_with_token; - pmw->script.end = ims_end; - break; - } - case 16: - { - set_param_file(pb, "../../data/user_passwd"); - pmw->script.init = ims_init; - pmw->script.act = ims_updateUserProfile; - pmw->script.end = ims_end; - break; - } - case 17: - { - set_param_file(pb, "../../data/user_passwd"); - pmw->script.init = ims_mos_init; - pmw->script.act = ims_mos_chgStatus; - pmw->script.end = ims_mos_end; - break; - } - case 18: - { - set_param_file(pb, "../../data/user"); - pmw->script.init = mos_init; - pmw->script.act = mos_getUserStatus; - pmw->script.end = mos_end; - break; - } - case 19: - { - set_param_file(pb, "../../data/user_token"); - pmw->script.init = ims_init; - pmw->script.act = ims_storm_login; - break; - } - case 20: - { - set_param_file(pb, "../../data/user_token"); - pmw->script.init = dbs_init; - pmw->script.act = dbs_CheckUserTokenExtra; - pmw->script.end = dbs_end; - break; - } - case 21: - { - set_param_file(pb, "../../data/user_token"); - pmw->script.init = dbs_init; - pmw->script.act = dbs_CheckWebWWPasswd; - pmw->script.end = dbs_end; - break; - } - case 22: - { - set_param_file(pb, "../../data/user_token"); - pmw->script.init = dbs_init; - pmw->script.act = dbs_CheckUserWebPasswdExtra; - pmw->script.end = dbs_end; - break; - } - case 23: - { - set_param_file(pb, "../../data/user"); - pmw->script.init = dbs_init; - pmw->script.act = dbs_GetUserInfoExNew4; - pmw->script.end = dbs_end; - break; - } - case 24: - { - set_param_file(pb, "../../data/user"); - pmw->script.init = dbs_init; - pmw->script.act = dbs_UpdateUserDataInfo3; - pmw->script.end = dbs_end; - break; - } - case 25: - { - pmw->script.init = ddbadmin_init; - pmw->script.act = ddbadmin_insertRecord; - pmw->script.end = ddbadmin_end; - break; - } - case 26: - { - set_param_file(pb, "../../data/user"); - pmw->script.init = ddbadmin_init; - pmw->script.act = ddbadmin_getRecord; - pmw->script.end = ddbadmin_end; - break; - } - case 27: - { - set_param_file(pb, "../../data/user"); - pmw->script.init = ddbadmin_init; - pmw->script.act = ddbadmin_updateRecord; - pmw->script.end = ddbadmin_end; - break; - } - case 28: - { - set_param_file(pb, "../../data/user"); - pmw->script.init = ddbadmin_init; - pmw->script.act = ddbadmin_deleteRecord; - pmw->script.end = ddbadmin_end; - break; - } - case 29: - { - set_param_file(pb, "../../data/user"); - pmw->script.init = ddbadmin_init; - pmw->script.act = ddbadmin_insertRecord_delete; - pmw->script.end = ddbadmin_end; - break; - } - case 30: - { - set_param_file(pb, "../../data/user"); - pmw->script.init = uss_init; - pmw->script.act = uss_insert; - pmw->script.end = uss_end; - break; - } - case 31: - { - set_param_file(pb, "../../data/user"); - pmw->script.init = uss_init; - pmw->script.act = uss_get; - pmw->script.end = uss_end; - break; - } - case 32: - { - pmw->script.init = mos_init; - pmw->script.act = mos_getUserCount; - pmw->script.end = mos_end; - break; - } - default: - { - printf("scenarioID: %d is not right.Please have a check!\n", scenarioID); - } - - } -} - diff --git a/features/aliww/source/aliyun.cpp b/features/aliww/source/aliyun.cpp deleted file mode 100644 index c9d5b24..0000000 --- a/features/aliww/source/aliyun.cpp +++ /dev/null @@ -1,1871 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `aliyun.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliYun__accountInterface__registerMember_name = "registerMember"; - -static const ::std::string __AliYun__accountInterface__checkExist_name = "checkExist"; - -static const ::std::string __AliYun__accountInterface__chgLoginMail_name = "chgLoginMail"; - -static const ::std::string __AliYun__accountInterface__chgLoginMobile_name = "chgLoginMobile"; - -static const ::std::string __AliYun__accountInterface__removeUser_name = "removeUser"; - -static const ::std::string __AliYun__accountInterface__checkUser_name = "checkUser"; - -static const ::std::string __AliYun__accountInterface__getUserProfile_name = "getUserProfile"; - -static const ::std::string __AliYun__accountInterface__setUserProfile_name = "setUserProfile"; - -static const ::std::string __AliYun__accountInterface__setUserPasswd_name = "setUserPasswd"; - -static const ::std::string __AliYun__accountInterface__setUserStatus_name = "setUserStatus"; - -static const ::std::string __AliYun__accountInterface__GetLoginInfo_name = "GetLoginInfo"; - -void -IceInternal::incRef(::AliYun::accountInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliYun::accountInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliYun::accountInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliYun::accountInterface* p) -{ - p->__decRef(); -} - -void -AliYun::__write(::IceInternal::BasicStream* __os, const ::AliYun::accountInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliYun::__read(::IceInternal::BasicStream* __is, ::AliYun::accountInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliYun::accountInterface; - v->__copyFrom(proxy); - } -} - -void -AliYun::__write(::IceInternal::BasicStream* __os, const ::AliYun::accountInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliYun::__write(::IceInternal::BasicStream* __os, const ::AliYun::KVMap& v, ::AliYun::__U__KVMap) -{ - __os->writeSize(::Ice::Int(v.size())); - ::AliYun::KVMap::const_iterator p; - for(p = v.begin(); p != v.end(); ++p) - { - __os->write(p->first); - __os->write(p->second); - } -} - -void -AliYun::__read(::IceInternal::BasicStream* __is, ::AliYun::KVMap& v, ::AliYun::__U__KVMap) -{ - ::Ice::Int sz; - __is->readSize(sz); - while(sz--) - { - ::std::pair pair; - __is->read(const_cast< ::std::string&>(pair.first)); - ::AliYun::KVMap::iterator __i = v.insert(v.end(), pair); - __is->read(__i->second); - } -} - -bool -AliYun::callerInfo::operator==(const callerInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliYun::callerInfo::operator!=(const callerInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(callId != __rhs.callId) - { - return true; - } - if(passwd != __rhs.passwd) - { - return true; - } - if(version != __rhs.version) - { - return true; - } - if(encode != __rhs.encode) - { - return true; - } - return false; -} - -bool -AliYun::callerInfo::operator<(const callerInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(callId < __rhs.callId) - { - return true; - } - else if(__rhs.callId < callId) - { - return false; - } - if(passwd < __rhs.passwd) - { - return true; - } - else if(__rhs.passwd < passwd) - { - return false; - } - if(version < __rhs.version) - { - return true; - } - else if(__rhs.version < version) - { - return false; - } - if(encode < __rhs.encode) - { - return true; - } - else if(__rhs.encode < encode) - { - return false; - } - return false; -} - -void -AliYun::callerInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(callId); - __os->write(passwd); - __os->write(version); - __os->write(encode); -} - -void -AliYun::callerInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(callId); - __is->read(passwd); - __is->read(version); - __is->read(encode); -} - -void -AliYun::__addObject(const accountInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliYun::__usesClasses(const accountInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -AliYun::__decRefUnsafe(const accountInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliYun::__clearHandleUnsafe(accountInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliYun::accountInterface::registerMember(const ::AliYun::callerInfo& caller, const ::std::string& email, const ::std::string& mobileNo, const ::std::string& passwd, ::std::string& udbUserId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliYun__accountInterface__registerMember_name); - __delBase = __getDelegate(); - ::IceDelegate::AliYun::accountInterface* __del = dynamic_cast< ::IceDelegate::AliYun::accountInterface*>(__delBase.get()); - return __del->registerMember(caller, email, mobileNo, passwd, udbUserId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliYun::accountInterface::checkExist(const ::AliYun::callerInfo& caller, const ::std::string& email, const ::std::string& mobileNo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliYun__accountInterface__checkExist_name); - __delBase = __getDelegate(); - ::IceDelegate::AliYun::accountInterface* __del = dynamic_cast< ::IceDelegate::AliYun::accountInterface*>(__delBase.get()); - return __del->checkExist(caller, email, mobileNo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliYun::accountInterface::chgLoginMail(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& email, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliYun__accountInterface__chgLoginMail_name); - __delBase = __getDelegate(); - ::IceDelegate::AliYun::accountInterface* __del = dynamic_cast< ::IceDelegate::AliYun::accountInterface*>(__delBase.get()); - return __del->chgLoginMail(caller, loginId, email, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliYun::accountInterface::chgLoginMobile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& mobileNo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliYun__accountInterface__chgLoginMobile_name); - __delBase = __getDelegate(); - ::IceDelegate::AliYun::accountInterface* __del = dynamic_cast< ::IceDelegate::AliYun::accountInterface*>(__delBase.get()); - return __del->chgLoginMobile(caller, loginId, mobileNo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliYun::accountInterface::removeUser(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliYun__accountInterface__removeUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliYun::accountInterface* __del = dynamic_cast< ::IceDelegate::AliYun::accountInterface*>(__delBase.get()); - return __del->removeUser(caller, loginId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliYun::accountInterface::checkUser(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& passwd, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliYun__accountInterface__checkUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliYun::accountInterface* __del = dynamic_cast< ::IceDelegate::AliYun::accountInterface*>(__delBase.get()); - return __del->checkUser(caller, loginId, passwd, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliYun::accountInterface::getUserProfile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::AliYun::KVMap& userProfile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliYun__accountInterface__getUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::AliYun::accountInterface* __del = dynamic_cast< ::IceDelegate::AliYun::accountInterface*>(__delBase.get()); - return __del->getUserProfile(caller, loginId, userProfile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliYun::accountInterface::setUserProfile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::AliYun::KVMap& userProfile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliYun__accountInterface__setUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::AliYun::accountInterface* __del = dynamic_cast< ::IceDelegate::AliYun::accountInterface*>(__delBase.get()); - return __del->setUserProfile(caller, loginId, userProfile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliYun::accountInterface::setUserPasswd(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& passwd, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliYun__accountInterface__setUserPasswd_name); - __delBase = __getDelegate(); - ::IceDelegate::AliYun::accountInterface* __del = dynamic_cast< ::IceDelegate::AliYun::accountInterface*>(__delBase.get()); - return __del->setUserPasswd(caller, loginId, passwd, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliYun::accountInterface::setUserStatus(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::Ice::Int status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliYun__accountInterface__setUserStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliYun::accountInterface* __del = dynamic_cast< ::IceDelegate::AliYun::accountInterface*>(__delBase.get()); - return __del->setUserStatus(caller, loginId, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliYun::accountInterface::GetLoginInfo(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::std::string& passwd, ::Ice::Int& status, ::std::string& userdata, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliYun__accountInterface__GetLoginInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliYun::accountInterface* __del = dynamic_cast< ::IceDelegate::AliYun::accountInterface*>(__delBase.get()); - return __del->GetLoginInfo(caller, loginId, passwd, status, userdata, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliYun::accountInterface::ice_staticId() -{ - return ::AliYun::accountInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliYun::accountInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliYun::accountInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliYun::accountInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliYun::accountInterface); -} - -bool -IceProxy::AliYun::operator==(const ::IceProxy::AliYun::accountInterface& l, const ::IceProxy::AliYun::accountInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliYun::operator!=(const ::IceProxy::AliYun::accountInterface& l, const ::IceProxy::AliYun::accountInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliYun::operator<(const ::IceProxy::AliYun::accountInterface& l, const ::IceProxy::AliYun::accountInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliYun::operator<=(const ::IceProxy::AliYun::accountInterface& l, const ::IceProxy::AliYun::accountInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliYun::operator>(const ::IceProxy::AliYun::accountInterface& l, const ::IceProxy::AliYun::accountInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliYun::operator>=(const ::IceProxy::AliYun::accountInterface& l, const ::IceProxy::AliYun::accountInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliYun::accountInterface::registerMember(const ::AliYun::callerInfo& caller, const ::std::string& email, const ::std::string& mobileNo, const ::std::string& passwd, ::std::string& udbUserId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliYun__accountInterface__registerMember_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - caller.__write(__os); - __os->write(email); - __os->write(mobileNo); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(udbUserId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliYun::accountInterface::checkExist(const ::AliYun::callerInfo& caller, const ::std::string& email, const ::std::string& mobileNo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliYun__accountInterface__checkExist_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - caller.__write(__os); - __os->write(email); - __os->write(mobileNo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliYun::accountInterface::chgLoginMail(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& email, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliYun__accountInterface__chgLoginMail_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - caller.__write(__os); - __os->write(loginId); - __os->write(email); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliYun::accountInterface::chgLoginMobile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& mobileNo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliYun__accountInterface__chgLoginMobile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - caller.__write(__os); - __os->write(loginId); - __os->write(mobileNo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliYun::accountInterface::removeUser(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliYun__accountInterface__removeUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - caller.__write(__os); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliYun::accountInterface::checkUser(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& passwd, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliYun__accountInterface__checkUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - caller.__write(__os); - __os->write(loginId); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliYun::accountInterface::getUserProfile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::AliYun::KVMap& userProfile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliYun__accountInterface__getUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - caller.__write(__os); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliYun::__read(__is, userProfile, ::AliYun::__U__KVMap()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliYun::accountInterface::setUserProfile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::AliYun::KVMap& userProfile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliYun__accountInterface__setUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - caller.__write(__os); - __os->write(loginId); - ::AliYun::__write(__os, userProfile, ::AliYun::__U__KVMap()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliYun::accountInterface::setUserPasswd(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& passwd, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliYun__accountInterface__setUserPasswd_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - caller.__write(__os); - __os->write(loginId); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliYun::accountInterface::setUserStatus(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliYun__accountInterface__setUserStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - caller.__write(__os); - __os->write(loginId); - __os->write(status); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliYun::accountInterface::GetLoginInfo(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::std::string& passwd, ::Ice::Int& status, ::std::string& userdata, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliYun__accountInterface__GetLoginInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - caller.__write(__os); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(passwd); - __is->read(status); - __is->read(userdata); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliYun::accountInterface::registerMember(const ::AliYun::callerInfo& caller, const ::std::string& email, const ::std::string& mobileNo, const ::std::string& passwd, ::std::string& udbUserId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliYun__accountInterface__registerMember_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliYun::accountInterface* __servant = dynamic_cast< ::AliYun::accountInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->registerMember(caller, email, mobileNo, passwd, udbUserId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliYun::accountInterface::checkExist(const ::AliYun::callerInfo& caller, const ::std::string& email, const ::std::string& mobileNo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliYun__accountInterface__checkExist_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliYun::accountInterface* __servant = dynamic_cast< ::AliYun::accountInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkExist(caller, email, mobileNo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliYun::accountInterface::chgLoginMail(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& email, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliYun__accountInterface__chgLoginMail_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliYun::accountInterface* __servant = dynamic_cast< ::AliYun::accountInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->chgLoginMail(caller, loginId, email, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliYun::accountInterface::chgLoginMobile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& mobileNo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliYun__accountInterface__chgLoginMobile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliYun::accountInterface* __servant = dynamic_cast< ::AliYun::accountInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->chgLoginMobile(caller, loginId, mobileNo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliYun::accountInterface::removeUser(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliYun__accountInterface__removeUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliYun::accountInterface* __servant = dynamic_cast< ::AliYun::accountInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->removeUser(caller, loginId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliYun::accountInterface::checkUser(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& passwd, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliYun__accountInterface__checkUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliYun::accountInterface* __servant = dynamic_cast< ::AliYun::accountInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkUser(caller, loginId, passwd, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliYun::accountInterface::getUserProfile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::AliYun::KVMap& userProfile, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliYun__accountInterface__getUserProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliYun::accountInterface* __servant = dynamic_cast< ::AliYun::accountInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserProfile(caller, loginId, userProfile, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliYun::accountInterface::setUserProfile(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::AliYun::KVMap& userProfile, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliYun__accountInterface__setUserProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliYun::accountInterface* __servant = dynamic_cast< ::AliYun::accountInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setUserProfile(caller, loginId, userProfile, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliYun::accountInterface::setUserPasswd(const ::AliYun::callerInfo& caller, const ::std::string& loginId, const ::std::string& passwd, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliYun__accountInterface__setUserPasswd_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliYun::accountInterface* __servant = dynamic_cast< ::AliYun::accountInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setUserPasswd(caller, loginId, passwd, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliYun::accountInterface::setUserStatus(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliYun__accountInterface__setUserStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliYun::accountInterface* __servant = dynamic_cast< ::AliYun::accountInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setUserStatus(caller, loginId, status, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliYun::accountInterface::GetLoginInfo(const ::AliYun::callerInfo& caller, const ::std::string& loginId, ::std::string& passwd, ::Ice::Int& status, ::std::string& userdata, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliYun__accountInterface__GetLoginInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliYun::accountInterface* __servant = dynamic_cast< ::AliYun::accountInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetLoginInfo(caller, loginId, passwd, status, userdata, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliYun::accountInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliYun__accountInterface_ids[2] = -{ - "::AliYun::accountInterface", - "::Ice::Object" -}; - -bool -AliYun::accountInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliYun__accountInterface_ids, __AliYun__accountInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -AliYun::accountInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliYun__accountInterface_ids[0], &__AliYun__accountInterface_ids[2]); -} - -const ::std::string& -AliYun::accountInterface::ice_id(const ::Ice::Current&) const -{ - return __AliYun__accountInterface_ids[0]; -} - -const ::std::string& -AliYun::accountInterface::ice_staticId() -{ - return __AliYun__accountInterface_ids[0]; -} - -::IceInternal::DispatchStatus -AliYun::accountInterface::___registerMember(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliYun::callerInfo caller; - ::std::string email; - ::std::string mobileNo; - ::std::string passwd; - caller.__read(__is); - __is->read(email); - __is->read(mobileNo); - __is->read(passwd); - ::std::string udbUserId; - ::Ice::Int __ret = registerMember(caller, email, mobileNo, passwd, udbUserId, __current); - __os->write(udbUserId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliYun::accountInterface::___checkExist(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliYun::callerInfo caller; - ::std::string email; - ::std::string mobileNo; - caller.__read(__is); - __is->read(email); - __is->read(mobileNo); - ::Ice::Int __ret = checkExist(caller, email, mobileNo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliYun::accountInterface::___chgLoginMail(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliYun::callerInfo caller; - ::std::string loginId; - ::std::string email; - caller.__read(__is); - __is->read(loginId); - __is->read(email); - ::Ice::Int __ret = chgLoginMail(caller, loginId, email, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliYun::accountInterface::___chgLoginMobile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliYun::callerInfo caller; - ::std::string loginId; - ::std::string mobileNo; - caller.__read(__is); - __is->read(loginId); - __is->read(mobileNo); - ::Ice::Int __ret = chgLoginMobile(caller, loginId, mobileNo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliYun::accountInterface::___removeUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliYun::callerInfo caller; - ::std::string loginId; - caller.__read(__is); - __is->read(loginId); - ::Ice::Int __ret = removeUser(caller, loginId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliYun::accountInterface::___checkUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliYun::callerInfo caller; - ::std::string loginId; - ::std::string passwd; - caller.__read(__is); - __is->read(loginId); - __is->read(passwd); - ::Ice::Int __ret = checkUser(caller, loginId, passwd, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliYun::accountInterface::___getUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliYun::callerInfo caller; - ::std::string loginId; - caller.__read(__is); - __is->read(loginId); - ::AliYun::KVMap userProfile; - ::Ice::Int __ret = getUserProfile(caller, loginId, userProfile, __current); - ::AliYun::__write(__os, userProfile, ::AliYun::__U__KVMap()); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliYun::accountInterface::___setUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliYun::callerInfo caller; - ::std::string loginId; - ::AliYun::KVMap userProfile; - caller.__read(__is); - __is->read(loginId); - ::AliYun::__read(__is, userProfile, ::AliYun::__U__KVMap()); - ::Ice::Int __ret = setUserProfile(caller, loginId, userProfile, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliYun::accountInterface::___setUserPasswd(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliYun::callerInfo caller; - ::std::string loginId; - ::std::string passwd; - caller.__read(__is); - __is->read(loginId); - __is->read(passwd); - ::Ice::Int __ret = setUserPasswd(caller, loginId, passwd, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliYun::accountInterface::___setUserStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliYun::callerInfo caller; - ::std::string loginId; - ::Ice::Int status; - caller.__read(__is); - __is->read(loginId); - __is->read(status); - ::Ice::Int __ret = setUserStatus(caller, loginId, status, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliYun::accountInterface::___GetLoginInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliYun::callerInfo caller; - ::std::string loginId; - caller.__read(__is); - __is->read(loginId); - ::std::string passwd; - ::Ice::Int status; - ::std::string userdata; - ::Ice::Int __ret = GetLoginInfo(caller, loginId, passwd, status, userdata, __current); - __os->write(passwd); - __os->write(status); - __os->write(userdata); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliYun__accountInterface_all[] = -{ - "GetLoginInfo", - "checkExist", - "checkUser", - "chgLoginMail", - "chgLoginMobile", - "getUserProfile", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "registerMember", - "removeUser", - "setUserPasswd", - "setUserProfile", - "setUserStatus" -}; - -::IceInternal::DispatchStatus -AliYun::accountInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliYun__accountInterface_all, __AliYun__accountInterface_all + 15, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliYun__accountInterface_all) - { - case 0: - { - return ___GetLoginInfo(in, current); - } - case 1: - { - return ___checkExist(in, current); - } - case 2: - { - return ___checkUser(in, current); - } - case 3: - { - return ___chgLoginMail(in, current); - } - case 4: - { - return ___chgLoginMobile(in, current); - } - case 5: - { - return ___getUserProfile(in, current); - } - case 6: - { - return ___ice_id(in, current); - } - case 7: - { - return ___ice_ids(in, current); - } - case 8: - { - return ___ice_isA(in, current); - } - case 9: - { - return ___ice_ping(in, current); - } - case 10: - { - return ___registerMember(in, current); - } - case 11: - { - return ___removeUser(in, current); - } - case 12: - { - return ___setUserPasswd(in, current); - } - case 13: - { - return ___setUserProfile(in, current); - } - case 14: - { - return ___setUserStatus(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliYun::accountInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliYun::accountInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliYun::accountInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliYun::accountInterface was not generated with stream support"; - throw ex; -} - -void -AliYun::accountInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliYun::accountInterface was not generated with stream support"; - throw ex; -} - -void -AliYun::__patch__accountInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliYun::accountInterfacePtr* p = static_cast< ::AliYun::accountInterfacePtr*>(__addr); - assert(p); - *p = ::AliYun::accountInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliYun::accountInterface::ice_staticId(); - throw e; - } -} - -bool -AliYun::operator==(const ::AliYun::accountInterface& l, const ::AliYun::accountInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliYun::operator!=(const ::AliYun::accountInterface& l, const ::AliYun::accountInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliYun::operator<(const ::AliYun::accountInterface& l, const ::AliYun::accountInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliYun::operator<=(const ::AliYun::accountInterface& l, const ::AliYun::accountInterface& r) -{ - return l < r || l == r; -} - -bool -AliYun::operator>(const ::AliYun::accountInterface& l, const ::AliYun::accountInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliYun::operator>=(const ::AliYun::accountInterface& l, const ::AliYun::accountInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/alliWebMember.cpp b/features/aliww/source/alliWebMember.cpp deleted file mode 100644 index c8b1299..0000000 --- a/features/aliww/source/alliWebMember.cpp +++ /dev/null @@ -1,990 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `alliWebMember.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __alliWebMember__UserProfile__GetWebMemberInfo_name = "GetWebMemberInfo"; - -static const ::std::string __alliWebMember__UserProfile__getWanghaoBindedWebId_name = "getWanghaoBindedWebId"; - -static const ::std::string __alliWebMember__UserProfile__CheckWebMemberPWInfo_name = "CheckWebMemberPWInfo"; - -void -IceInternal::incRef(::alliWebMember::UserProfile* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::alliWebMember::UserProfile* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::alliWebMember::UserProfile* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::alliWebMember::UserProfile* p) -{ - p->__decRef(); -} - -void -alliWebMember::__write(::IceInternal::BasicStream* __os, const ::alliWebMember::UserProfilePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -alliWebMember::__read(::IceInternal::BasicStream* __is, ::alliWebMember::UserProfilePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::alliWebMember::UserProfile; - v->__copyFrom(proxy); - } -} - -void -alliWebMember::__write(::IceInternal::BasicStream* __os, const ::alliWebMember::UserProfilePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -alliWebMember::SWebUserInfo::operator==(const SWebUserInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -alliWebMember::SWebUserInfo::operator!=(const SWebUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(rawpasswd != __rhs.rawpasswd) - { - return true; - } - if(md5passwd != __rhs.md5passwd) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(mobileno != __rhs.mobileno) - { - return true; - } - if(phoneno != __rhs.phoneno) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobtitle != __rhs.jobtitle) - { - return true; - } - if(birthday != __rhs.birthday) - { - return true; - } - if(sex != __rhs.sex) - { - return true; - } - if(country != __rhs.country) - { - return true; - } - if(province != __rhs.province) - { - return true; - } - if(city != __rhs.city) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - return false; -} - -bool -alliWebMember::SWebUserInfo::operator<(const SWebUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(rawpasswd < __rhs.rawpasswd) - { - return true; - } - else if(__rhs.rawpasswd < rawpasswd) - { - return false; - } - if(md5passwd < __rhs.md5passwd) - { - return true; - } - else if(__rhs.md5passwd < md5passwd) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(mobileno < __rhs.mobileno) - { - return true; - } - else if(__rhs.mobileno < mobileno) - { - return false; - } - if(phoneno < __rhs.phoneno) - { - return true; - } - else if(__rhs.phoneno < phoneno) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobtitle < __rhs.jobtitle) - { - return true; - } - else if(__rhs.jobtitle < jobtitle) - { - return false; - } - if(birthday < __rhs.birthday) - { - return true; - } - else if(__rhs.birthday < birthday) - { - return false; - } - if(sex < __rhs.sex) - { - return true; - } - else if(__rhs.sex < sex) - { - return false; - } - if(country < __rhs.country) - { - return true; - } - else if(__rhs.country < country) - { - return false; - } - if(province < __rhs.province) - { - return true; - } - else if(__rhs.province < province) - { - return false; - } - if(city < __rhs.city) - { - return true; - } - else if(__rhs.city < city) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - return false; -} - -void -alliWebMember::SWebUserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(name); - __os->write(rawpasswd); - __os->write(md5passwd); - __os->write(email); - __os->write(mobileno); - __os->write(phoneno); - __os->write(company); - __os->write(jobtitle); - __os->write(birthday); - __os->write(sex); - __os->write(country); - __os->write(province); - __os->write(city); - __os->write(address); -} - -void -alliWebMember::SWebUserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(name); - __is->read(rawpasswd); - __is->read(md5passwd); - __is->read(email); - __is->read(mobileno); - __is->read(phoneno); - __is->read(company); - __is->read(jobtitle); - __is->read(birthday); - __is->read(sex); - __is->read(country); - __is->read(province); - __is->read(city); - __is->read(address); -} - -void -alliWebMember::__write(::IceInternal::BasicStream* __os, const ::alliWebMember::SWebUserInfo* begin, const ::alliWebMember::SWebUserInfo* end, ::alliWebMember::__U__SUserSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -alliWebMember::__read(::IceInternal::BasicStream* __is, ::alliWebMember::SUserSeq& v, ::alliWebMember::__U__SUserSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 15); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -alliWebMember::__addObject(const UserProfilePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -alliWebMember::__usesClasses(const UserProfilePtr& p) -{ - return p->__usesClasses(); -} - -void -alliWebMember::__decRefUnsafe(const UserProfilePtr& p) -{ - p->__decRefUnsafe(); -} - -void -alliWebMember::__clearHandleUnsafe(UserProfilePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::alliWebMember::UserProfile::GetWebMemberInfo(const ::std::string& uid, ::alliWebMember::SWebUserInfo& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__alliWebMember__UserProfile__GetWebMemberInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::alliWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::alliWebMember::UserProfile*>(__delBase.get()); - return __del->GetWebMemberInfo(uid, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::alliWebMember::UserProfile::getWanghaoBindedWebId(const ::std::string& passportid, ::std::string& webloginId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__alliWebMember__UserProfile__getWanghaoBindedWebId_name); - __delBase = __getDelegate(); - ::IceDelegate::alliWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::alliWebMember::UserProfile*>(__delBase.get()); - return __del->getWanghaoBindedWebId(passportid, webloginId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::alliWebMember::UserProfile::CheckWebMemberPWInfo(const ::std::string& uid, const ::std::string& password, ::std::string& retmd5pw, ::std::string& rettoken, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__alliWebMember__UserProfile__CheckWebMemberPWInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::alliWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::alliWebMember::UserProfile*>(__delBase.get()); - return __del->CheckWebMemberPWInfo(uid, password, retmd5pw, rettoken, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::alliWebMember::UserProfile::ice_staticId() -{ - return ::alliWebMember::UserProfile::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::alliWebMember::UserProfile::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::alliWebMember::UserProfile); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::alliWebMember::UserProfile::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::alliWebMember::UserProfile); -} - -bool -IceProxy::alliWebMember::operator==(const ::IceProxy::alliWebMember::UserProfile& l, const ::IceProxy::alliWebMember::UserProfile& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::alliWebMember::operator!=(const ::IceProxy::alliWebMember::UserProfile& l, const ::IceProxy::alliWebMember::UserProfile& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::alliWebMember::operator<(const ::IceProxy::alliWebMember::UserProfile& l, const ::IceProxy::alliWebMember::UserProfile& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::alliWebMember::operator<=(const ::IceProxy::alliWebMember::UserProfile& l, const ::IceProxy::alliWebMember::UserProfile& r) -{ - return l < r || l == r; -} - -bool -IceProxy::alliWebMember::operator>(const ::IceProxy::alliWebMember::UserProfile& l, const ::IceProxy::alliWebMember::UserProfile& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::alliWebMember::operator>=(const ::IceProxy::alliWebMember::UserProfile& l, const ::IceProxy::alliWebMember::UserProfile& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::alliWebMember::UserProfile::GetWebMemberInfo(const ::std::string& uid, ::alliWebMember::SWebUserInfo& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __alliWebMember__UserProfile__GetWebMemberInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::alliWebMember::UserProfile::getWanghaoBindedWebId(const ::std::string& passportid, ::std::string& webloginId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __alliWebMember__UserProfile__getWanghaoBindedWebId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(passportid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(webloginId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::alliWebMember::UserProfile::CheckWebMemberPWInfo(const ::std::string& uid, const ::std::string& password, ::std::string& retmd5pw, ::std::string& rettoken, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __alliWebMember__UserProfile__CheckWebMemberPWInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(password); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(retmd5pw); - __is->read(rettoken); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::alliWebMember::UserProfile::GetWebMemberInfo(const ::std::string& uid, ::alliWebMember::SWebUserInfo& userInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __alliWebMember__UserProfile__GetWebMemberInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::alliWebMember::UserProfile* __servant = dynamic_cast< ::alliWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetWebMemberInfo(uid, userInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::alliWebMember::UserProfile::getWanghaoBindedWebId(const ::std::string& passportid, ::std::string& webloginId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __alliWebMember__UserProfile__getWanghaoBindedWebId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::alliWebMember::UserProfile* __servant = dynamic_cast< ::alliWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getWanghaoBindedWebId(passportid, webloginId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::alliWebMember::UserProfile::CheckWebMemberPWInfo(const ::std::string& uid, const ::std::string& password, ::std::string& retmd5pw, ::std::string& rettoken, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __alliWebMember__UserProfile__CheckWebMemberPWInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::alliWebMember::UserProfile* __servant = dynamic_cast< ::alliWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->CheckWebMemberPWInfo(uid, password, retmd5pw, rettoken, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -alliWebMember::UserProfile::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __alliWebMember__UserProfile_ids[2] = -{ - "::Ice::Object", - "::alliWebMember::UserProfile" -}; - -bool -alliWebMember::UserProfile::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__alliWebMember__UserProfile_ids, __alliWebMember__UserProfile_ids + 2, _s); -} - -::std::vector< ::std::string> -alliWebMember::UserProfile::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__alliWebMember__UserProfile_ids[0], &__alliWebMember__UserProfile_ids[2]); -} - -const ::std::string& -alliWebMember::UserProfile::ice_id(const ::Ice::Current&) const -{ - return __alliWebMember__UserProfile_ids[1]; -} - -const ::std::string& -alliWebMember::UserProfile::ice_staticId() -{ - return __alliWebMember__UserProfile_ids[1]; -} - -::IceInternal::DispatchStatus -alliWebMember::UserProfile::___GetWebMemberInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::alliWebMember::SWebUserInfo userInfo; - ::Ice::Int __ret = GetWebMemberInfo(uid, userInfo, __current); - userInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -alliWebMember::UserProfile::___getWanghaoBindedWebId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string passportid; - __is->read(passportid); - ::std::string webloginId; - ::Ice::Int __ret = getWanghaoBindedWebId(passportid, webloginId, __current); - __os->write(webloginId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -alliWebMember::UserProfile::___CheckWebMemberPWInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string password; - __is->read(uid); - __is->read(password); - ::std::string retmd5pw; - ::std::string rettoken; - ::Ice::Int __ret = CheckWebMemberPWInfo(uid, password, retmd5pw, rettoken, __current); - __os->write(retmd5pw); - __os->write(rettoken); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __alliWebMember__UserProfile_all[] = -{ - "CheckWebMemberPWInfo", - "GetWebMemberInfo", - "getWanghaoBindedWebId", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -alliWebMember::UserProfile::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__alliWebMember__UserProfile_all, __alliWebMember__UserProfile_all + 7, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __alliWebMember__UserProfile_all) - { - case 0: - { - return ___CheckWebMemberPWInfo(in, current); - } - case 1: - { - return ___GetWebMemberInfo(in, current); - } - case 2: - { - return ___getWanghaoBindedWebId(in, current); - } - case 3: - { - return ___ice_id(in, current); - } - case 4: - { - return ___ice_ids(in, current); - } - case 5: - { - return ___ice_isA(in, current); - } - case 6: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -alliWebMember::UserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -alliWebMember::UserProfile::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -alliWebMember::UserProfile::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type alliWebMember::UserProfile was not generated with stream support"; - throw ex; -} - -void -alliWebMember::UserProfile::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type alliWebMember::UserProfile was not generated with stream support"; - throw ex; -} - -void -alliWebMember::__patch__UserProfilePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::alliWebMember::UserProfilePtr* p = static_cast< ::alliWebMember::UserProfilePtr*>(__addr); - assert(p); - *p = ::alliWebMember::UserProfilePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::alliWebMember::UserProfile::ice_staticId(); - throw e; - } -} - -bool -alliWebMember::operator==(const ::alliWebMember::UserProfile& l, const ::alliWebMember::UserProfile& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -alliWebMember::operator!=(const ::alliWebMember::UserProfile& l, const ::alliWebMember::UserProfile& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -alliWebMember::operator<(const ::alliWebMember::UserProfile& l, const ::alliWebMember::UserProfile& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -alliWebMember::operator<=(const ::alliWebMember::UserProfile& l, const ::alliWebMember::UserProfile& r) -{ - return l < r || l == r; -} - -bool -alliWebMember::operator>(const ::alliWebMember::UserProfile& l, const ::alliWebMember::UserProfile& r) -{ - return !(l < r) && !(l == r); -} - -bool -alliWebMember::operator>=(const ::alliWebMember::UserProfile& l, const ::alliWebMember::UserProfile& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/aqdispatch_pack.cpp b/features/aliww/source/aqdispatch_pack.cpp deleted file mode 100644 index d534198..0000000 --- a/features/aliww/source/aqdispatch_pack.cpp +++ /dev/null @@ -1,510 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: aqdispatch_pack.cpp -// Date: 2011-01-30 12:50:19 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "aqdispatch_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SAqkvpair& sAqkvpair ) -{ - cPackData.WriteData(sAqkvpair.m_key, 1); - cPackData << sAqkvpair.m_value; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SAqkvpair& sAqkvpair ) -{ - cPackData.ReadData(sAqkvpair.m_key, 0, 1); - cPackData >> sAqkvpair.m_value; - return cPackData; -} - -void CAqscNotifyData::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_aqscHead.Size()) - m_aqscHead.m_len = 0; - else - m_aqscHead.m_len = strData.size() - m_aqscHead.Size(); - if(m_aqscHead.m_cmd == 0) m_aqscHead.m_cmd = AQSC_NOTIFY_DATA; - m_aqscHead.PackData(strData); -} - -void CAqscNotifyData::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_aqscHead.Size() + 7); - SetOutCursor( m_aqscHead.Size() ); - (*this) << m_serverId; - (*this) << m_dataType; - { - uint32_t nLen = m_kvList.size(); - (*this) << nLen; - VECTOR< SAqkvpair >::const_iterator itr; - for(itr = m_kvList.cbegin(); itr != m_kvList.cend(); ++itr) - { - (*this) << (*itr); - } - } - m_aqscHead.m_cc = CalcCheckCode(strData, m_aqscHead.Size()); - FormData(m_aqscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CAqscNotifyData::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CAqscNotifyData::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_aqscHead.Size()); - uLongf nHeadLen = m_aqscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_aqscHead.Size()); - m_aqscHead.ResetInBuff(strData); - if(checkCode != m_aqscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - (*this) >> m_serverId; - (*this) >> m_dataType; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_kvList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SAqkvpair tmpVal; - (*this) >> tmpVal; - m_kvList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CAqscNotifyData::UnpackData(string& strData) -{ - m_aqscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CAqscReqSubscribeData::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_aqscHead.Size()) - m_aqscHead.m_len = 0; - else - m_aqscHead.m_len = strData.size() - m_aqscHead.Size(); - if(m_aqscHead.m_cmd == 0) m_aqscHead.m_cmd = AQSC_REQ_SUBSCRIBE_DATA; - m_aqscHead.PackData(strData); -} - -void CAqscReqSubscribeData::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_aqscHead.Size() + 7); - SetOutCursor( m_aqscHead.Size() ); - (*this) << m_appid; - { - uint32_t nLen = m_subscribeList.size(); - (*this) << nLen; - VECTOR< uint16_t >::const_iterator itr; - for(itr = m_subscribeList.cbegin(); itr != m_subscribeList.cend(); ++itr) - { - (*this) << (*itr); - } - } - m_aqscHead.m_cc = CalcCheckCode(strData, m_aqscHead.Size()); - FormData(m_aqscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CAqscReqSubscribeData::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CAqscReqSubscribeData::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_aqscHead.Size()); - uLongf nHeadLen = m_aqscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_aqscHead.Size()); - m_aqscHead.ResetInBuff(strData); - if(checkCode != m_aqscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - (*this) >> m_appid; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_subscribeList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - uint16_t tmpVal; - (*this) >> tmpVal; - m_subscribeList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CAqscReqSubscribeData::UnpackData(string& strData) -{ - m_aqscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CAqscRspSubscribeData::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_aqscHead.Size()) - m_aqscHead.m_len = 0; - else - m_aqscHead.m_len = strData.size() - m_aqscHead.Size(); - if(m_aqscHead.m_cmd == 0) m_aqscHead.m_cmd = AQSC_RSP_SUBSCRIBE_DATA; - m_aqscHead.PackData(strData); -} - -void CAqscRspSubscribeData::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_aqscHead.Size() + 7); - SetOutCursor( m_aqscHead.Size() ); - (*this) << m_status; - (*this) << m_errorCode; - m_aqscHead.m_cc = CalcCheckCode(strData, m_aqscHead.Size()); - FormData(m_aqscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CAqscRspSubscribeData::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CAqscRspSubscribeData::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_aqscHead.Size()); - uLongf nHeadLen = m_aqscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_aqscHead.Size()); - m_aqscHead.ResetInBuff(strData); - if(checkCode != m_aqscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - (*this) >> m_status; - (*this) >> m_errorCode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CAqscRspSubscribeData::UnpackData(string& strData) -{ - m_aqscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CAqscReqUnsubscribeData::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_aqscHead.Size()) - m_aqscHead.m_len = 0; - else - m_aqscHead.m_len = strData.size() - m_aqscHead.Size(); - if(m_aqscHead.m_cmd == 0) m_aqscHead.m_cmd = AQSC_REQ_UNSUBSCRIBE_DATA; - m_aqscHead.PackData(strData); -} - -void CAqscReqUnsubscribeData::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_aqscHead.Size() + 7); - SetOutCursor( m_aqscHead.Size() ); - (*this) << m_appid; - { - uint32_t nLen = m_unsubscribeList.size(); - (*this) << nLen; - VECTOR< uint16_t >::const_iterator itr; - for(itr = m_unsubscribeList.cbegin(); itr != m_unsubscribeList.cend(); ++itr) - { - (*this) << (*itr); - } - } - m_aqscHead.m_cc = CalcCheckCode(strData, m_aqscHead.Size()); - FormData(m_aqscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CAqscReqUnsubscribeData::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CAqscReqUnsubscribeData::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_aqscHead.Size()); - uLongf nHeadLen = m_aqscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_aqscHead.Size()); - m_aqscHead.ResetInBuff(strData); - if(checkCode != m_aqscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - (*this) >> m_appid; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_unsubscribeList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - uint16_t tmpVal; - (*this) >> tmpVal; - m_unsubscribeList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CAqscReqUnsubscribeData::UnpackData(string& strData) -{ - m_aqscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CAqscRspUnsubscribeData::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_aqscHead.Size()) - m_aqscHead.m_len = 0; - else - m_aqscHead.m_len = strData.size() - m_aqscHead.Size(); - if(m_aqscHead.m_cmd == 0) m_aqscHead.m_cmd = AQSC_RSP_UNSUBSCRIBE_DATA; - m_aqscHead.PackData(strData); -} - -void CAqscRspUnsubscribeData::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_aqscHead.Size() + 7); - SetOutCursor( m_aqscHead.Size() ); - (*this) << m_status; - (*this) << m_errorCode; - m_aqscHead.m_cc = CalcCheckCode(strData, m_aqscHead.Size()); - FormData(m_aqscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CAqscRspUnsubscribeData::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CAqscRspUnsubscribeData::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_aqscHead.Size()); - uLongf nHeadLen = m_aqscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_aqscHead.Size()); - m_aqscHead.ResetInBuff(strData); - if(checkCode != m_aqscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - (*this) >> m_status; - (*this) >> m_errorCode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CAqscRspUnsubscribeData::UnpackData(string& strData) -{ - m_aqscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CAqscReqHealthCheck::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_aqscHead.Size()) - m_aqscHead.m_len = 0; - else - m_aqscHead.m_len = strData.size() - m_aqscHead.Size(); - if(m_aqscHead.m_cmd == 0) m_aqscHead.m_cmd = AQSC_REQ_HEALTH_CHECK; - m_aqscHead.PackData(strData); -} - -void CAqscReqHealthCheck::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_aqscHead.Size() + 7); - SetOutCursor( m_aqscHead.Size() ); - (*this) << m_appid; - m_aqscHead.m_cc = CalcCheckCode(strData, m_aqscHead.Size()); - FormData(m_aqscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CAqscReqHealthCheck::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CAqscReqHealthCheck::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_aqscHead.Size()); - uLongf nHeadLen = m_aqscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_aqscHead.Size()); - m_aqscHead.ResetInBuff(strData); - if(checkCode != m_aqscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - (*this) >> m_appid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CAqscReqHealthCheck::UnpackData(string& strData) -{ - m_aqscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CAqscRspHealthCheck::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_aqscHead.Size()) - m_aqscHead.m_len = 0; - else - m_aqscHead.m_len = strData.size() - m_aqscHead.Size(); - if(m_aqscHead.m_cmd == 0) m_aqscHead.m_cmd = AQSC_RSP_HEALTH_CHECK; - m_aqscHead.PackData(strData); -} - -void CAqscRspHealthCheck::PackBody(string& strData) -{ -} - -void CAqscRspHealthCheck::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CAqscRspHealthCheck::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CAqscRspHealthCheck::UnpackData(string& strData) -{ - m_aqscHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/aqsc_head.cpp b/features/aliww/source/aqsc_head.cpp deleted file mode 100644 index 1453722..0000000 --- a/features/aliww/source/aqsc_head.cpp +++ /dev/null @@ -1,52 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: aqsc_head.cpp -// Date: 2011-01-30 12:50:18 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "aqsc_head.h" - -void CAqscHead::PackData(string& strData) -{ - try - { - ResetOutBuff(strData); - (*this) << m_starter; - (*this) << m_version; - (*this) << m_seq; - (*this) << m_len; - (*this) << m_cmd; - (*this) << m_cc; -; - } - catch(std::exception&) - { - strData = ""; - } -} - -PACKRETCODE CAqscHead::UnpackData(const string& strData) -{ - try - { - ResetInBuff(strData); - (*this) >> m_starter; - (*this) >> m_version; - (*this) >> m_seq; - (*this) >> m_len; - (*this) >> m_cmd; - (*this) >> m_cc; -; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - diff --git a/features/aliww/source/arcacheservice.cpp b/features/aliww/source/arcacheservice.cpp deleted file mode 100644 index 20fe781..0000000 --- a/features/aliww/source/arcacheservice.cpp +++ /dev/null @@ -1,1770 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `arcacheservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__IARCacheService__getUserInfo_name = "getUserInfo"; - -static const ::std::string __AliIM__IARCacheService__updateUserLoginEx_name = "updateUserLoginEx"; - -static const ::std::string __AliIM__IARCacheService__updateUserLoginEx2_name = "updateUserLoginEx2"; - -static const ::std::string __AliIM__IARCacheService__updateUserLastLoginTime_name = "updateUserLastLoginTime"; - -static const ::std::string __AliIM__IARCacheService__updateSysMsgId_name = "updateSysMsgId"; - -static const ::std::string __AliIM__IARCacheService__updateUserDataInfo_name = "updateUserDataInfo"; - -static const ::std::string __AliIM__IARCacheService__getUserInfo2_name = "getUserInfo2"; - -static const ::std::string __AliIM__IARCacheService__updateUserDataInfo2_name = "updateUserDataInfo2"; - -void -IceInternal::incRef(::AliIM::IARCacheService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::IARCacheService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::IARCacheService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::IARCacheService* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::IARCacheServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::IARCacheServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::IARCacheService; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::IARCacheServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -AliIM::ARUSERINFO::operator==(const ARUSERINFO& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIM::ARUSERINFO::operator!=(const ARUSERINFO& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(strangerMsgCount != __rhs.strangerMsgCount) - { - return true; - } - if(addContactCount != __rhs.addContactCount) - { - return true; - } - if(reqContactCount != __rhs.reqContactCount) - { - return true; - } - if(addTribeCount != __rhs.addTribeCount) - { - return true; - } - if(lastLogonTime != __rhs.lastLogonTime) - { - return true; - } - if(sysMsgId != __rhs.sysMsgId) - { - return true; - } - if(onlineTime != __rhs.onlineTime) - { - return true; - } - if(loginIp != __rhs.loginIp) - { - return true; - } - return false; -} - -bool -AliIM::ARUSERINFO::operator<(const ARUSERINFO& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(strangerMsgCount < __rhs.strangerMsgCount) - { - return true; - } - else if(__rhs.strangerMsgCount < strangerMsgCount) - { - return false; - } - if(addContactCount < __rhs.addContactCount) - { - return true; - } - else if(__rhs.addContactCount < addContactCount) - { - return false; - } - if(reqContactCount < __rhs.reqContactCount) - { - return true; - } - else if(__rhs.reqContactCount < reqContactCount) - { - return false; - } - if(addTribeCount < __rhs.addTribeCount) - { - return true; - } - else if(__rhs.addTribeCount < addTribeCount) - { - return false; - } - if(lastLogonTime < __rhs.lastLogonTime) - { - return true; - } - else if(__rhs.lastLogonTime < lastLogonTime) - { - return false; - } - if(sysMsgId < __rhs.sysMsgId) - { - return true; - } - else if(__rhs.sysMsgId < sysMsgId) - { - return false; - } - if(onlineTime < __rhs.onlineTime) - { - return true; - } - else if(__rhs.onlineTime < onlineTime) - { - return false; - } - if(loginIp < __rhs.loginIp) - { - return true; - } - else if(__rhs.loginIp < loginIp) - { - return false; - } - return false; -} - -void -AliIM::ARUSERINFO::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(strangerMsgCount); - __os->write(addContactCount); - __os->write(reqContactCount); - __os->write(addTribeCount); - __os->write(lastLogonTime); - __os->write(sysMsgId); - __os->write(onlineTime); - __os->write(loginIp); -} - -void -AliIM::ARUSERINFO::__read(::IceInternal::BasicStream* __is) -{ - __is->read(strangerMsgCount); - __is->read(addContactCount); - __is->read(reqContactCount); - __is->read(addTribeCount); - __is->read(lastLogonTime); - __is->read(sysMsgId); - __is->read(onlineTime); - __is->read(loginIp); -} - -bool -AliIM::ARUSERCONTROLINFO::operator==(const ARUSERCONTROLINFO& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIM::ARUSERCONTROLINFO::operator!=(const ARUSERCONTROLINFO& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(strangerMsgCount != __rhs.strangerMsgCount) - { - return true; - } - if(addContactCount != __rhs.addContactCount) - { - return true; - } - if(reqContactCount != __rhs.reqContactCount) - { - return true; - } - if(addTribeCount != __rhs.addTribeCount) - { - return true; - } - return false; -} - -bool -AliIM::ARUSERCONTROLINFO::operator<(const ARUSERCONTROLINFO& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(strangerMsgCount < __rhs.strangerMsgCount) - { - return true; - } - else if(__rhs.strangerMsgCount < strangerMsgCount) - { - return false; - } - if(addContactCount < __rhs.addContactCount) - { - return true; - } - else if(__rhs.addContactCount < addContactCount) - { - return false; - } - if(reqContactCount < __rhs.reqContactCount) - { - return true; - } - else if(__rhs.reqContactCount < reqContactCount) - { - return false; - } - if(addTribeCount < __rhs.addTribeCount) - { - return true; - } - else if(__rhs.addTribeCount < addTribeCount) - { - return false; - } - return false; -} - -void -AliIM::ARUSERCONTROLINFO::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(strangerMsgCount); - __os->write(addContactCount); - __os->write(reqContactCount); - __os->write(addTribeCount); -} - -void -AliIM::ARUSERCONTROLINFO::__read(::IceInternal::BasicStream* __is) -{ - __is->read(strangerMsgCount); - __is->read(addContactCount); - __is->read(reqContactCount); - __is->read(addTribeCount); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::RIGHTTABLE& v, ::AliIM::__U__RIGHTTABLE) -{ - __os->writeSize(::Ice::Int(v.size())); - ::AliIM::RIGHTTABLE::const_iterator p; - for(p = v.begin(); p != v.end(); ++p) - { - __os->write(p->first); - __os->write(p->second); - } -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::RIGHTTABLE& v, ::AliIM::__U__RIGHTTABLE) -{ - ::Ice::Int sz; - __is->readSize(sz); - while(sz--) - { - ::std::pair pair; - __is->read(const_cast< ::Ice::Int&>(pair.first)); - ::AliIM::RIGHTTABLE::iterator __i = v.insert(v.end(), pair); - __is->read(__i->second); - } -} - -bool -AliIM::ARUSERINFO2::operator==(const ARUSERINFO2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIM::ARUSERINFO2::operator!=(const ARUSERINFO2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(rightMap != __rhs.rightMap) - { - return true; - } - if(lastLogonTime != __rhs.lastLogonTime) - { - return true; - } - if(sysMsgId != __rhs.sysMsgId) - { - return true; - } - if(onlineTime != __rhs.onlineTime) - { - return true; - } - if(loginIp != __rhs.loginIp) - { - return true; - } - return false; -} - -bool -AliIM::ARUSERINFO2::operator<(const ARUSERINFO2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(rightMap < __rhs.rightMap) - { - return true; - } - else if(__rhs.rightMap < rightMap) - { - return false; - } - if(lastLogonTime < __rhs.lastLogonTime) - { - return true; - } - else if(__rhs.lastLogonTime < lastLogonTime) - { - return false; - } - if(sysMsgId < __rhs.sysMsgId) - { - return true; - } - else if(__rhs.sysMsgId < sysMsgId) - { - return false; - } - if(onlineTime < __rhs.onlineTime) - { - return true; - } - else if(__rhs.onlineTime < onlineTime) - { - return false; - } - if(loginIp < __rhs.loginIp) - { - return true; - } - else if(__rhs.loginIp < loginIp) - { - return false; - } - return false; -} - -void -AliIM::ARUSERINFO2::__write(::IceInternal::BasicStream* __os) const -{ - ::AliIM::__write(__os, rightMap, ::AliIM::__U__RIGHTTABLE()); - __os->write(lastLogonTime); - __os->write(sysMsgId); - __os->write(onlineTime); - __os->write(loginIp); -} - -void -AliIM::ARUSERINFO2::__read(::IceInternal::BasicStream* __is) -{ - ::AliIM::__read(__is, rightMap, ::AliIM::__U__RIGHTTABLE()); - __is->read(lastLogonTime); - __is->read(sysMsgId); - __is->read(onlineTime); - __is->read(loginIp); -} - -bool -AliIM::ARUSERCONTROLINFO2::operator==(const ARUSERCONTROLINFO2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIM::ARUSERCONTROLINFO2::operator!=(const ARUSERCONTROLINFO2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(rightMap != __rhs.rightMap) - { - return true; - } - return false; -} - -bool -AliIM::ARUSERCONTROLINFO2::operator<(const ARUSERCONTROLINFO2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(rightMap < __rhs.rightMap) - { - return true; - } - else if(__rhs.rightMap < rightMap) - { - return false; - } - return false; -} - -void -AliIM::ARUSERCONTROLINFO2::__write(::IceInternal::BasicStream* __os) const -{ - ::AliIM::__write(__os, rightMap, ::AliIM::__U__RIGHTTABLE()); -} - -void -AliIM::ARUSERCONTROLINFO2::__read(::IceInternal::BasicStream* __is) -{ - ::AliIM::__read(__is, rightMap, ::AliIM::__U__RIGHTTABLE()); -} - -void -AliIM::__addObject(const IARCacheServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const IARCacheServicePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const IARCacheServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(IARCacheServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::IARCacheService::getUserInfo(const ::std::string& uid, ::AliIM::ARUSERINFO& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IARCacheService__getUserInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IARCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IARCacheService*>(__delBase.get()); - return __del->getUserInfo(uid, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IARCacheService::updateUserLoginEx(const ::std::string& uid, ::Ice::Int sysMsgId, const ::std::string& loginIp, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IARCacheService__updateUserLoginEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IARCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IARCacheService*>(__delBase.get()); - return __del->updateUserLoginEx(uid, sysMsgId, loginIp, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IARCacheService::updateUserLoginEx2(const ::std::string& uid, ::Ice::Int sysMsgId, const ::std::string& loginIp, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IARCacheService__updateUserLoginEx2_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IARCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IARCacheService*>(__delBase.get()); - return __del->updateUserLoginEx2(uid, sysMsgId, loginIp, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IARCacheService::updateUserLastLoginTime(const ::std::string& uid, ::Ice::Int lastLoginTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IARCacheService__updateUserLastLoginTime_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IARCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IARCacheService*>(__delBase.get()); - return __del->updateUserLastLoginTime(uid, lastLoginTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IARCacheService::updateSysMsgId(const ::std::string& uid, ::Ice::Int sysMsgId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IARCacheService__updateSysMsgId_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IARCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IARCacheService*>(__delBase.get()); - return __del->updateSysMsgId(uid, sysMsgId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IARCacheService::updateUserDataInfo(const ::std::string& uid, const ::AliIM::ARUSERCONTROLINFO& controlInfo, ::Ice::Int onlineTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IARCacheService__updateUserDataInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IARCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IARCacheService*>(__delBase.get()); - return __del->updateUserDataInfo(uid, controlInfo, onlineTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IARCacheService::getUserInfo2(const ::std::string& uid, ::AliIM::ARUSERINFO2& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IARCacheService__getUserInfo2_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IARCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IARCacheService*>(__delBase.get()); - return __del->getUserInfo2(uid, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IARCacheService::updateUserDataInfo2(const ::std::string& uid, const ::AliIM::ARUSERCONTROLINFO2& controlInfo, ::Ice::Int onlineTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IARCacheService__updateUserDataInfo2_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IARCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IARCacheService*>(__delBase.get()); - return __del->updateUserDataInfo2(uid, controlInfo, onlineTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::IARCacheService::ice_staticId() -{ - return ::AliIM::IARCacheService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::IARCacheService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::IARCacheService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::IARCacheService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::IARCacheService); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::IARCacheService& l, const ::IceProxy::AliIM::IARCacheService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::IARCacheService& l, const ::IceProxy::AliIM::IARCacheService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::IARCacheService& l, const ::IceProxy::AliIM::IARCacheService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::IARCacheService& l, const ::IceProxy::AliIM::IARCacheService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::IARCacheService& l, const ::IceProxy::AliIM::IARCacheService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::IARCacheService& l, const ::IceProxy::AliIM::IARCacheService& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::IARCacheService::getUserInfo(const ::std::string& uid, ::AliIM::ARUSERINFO& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IARCacheService__getUserInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IARCacheService::updateUserLoginEx(const ::std::string& uid, ::Ice::Int sysMsgId, const ::std::string& loginIp, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IARCacheService__updateUserLoginEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(sysMsgId); - __os->write(loginIp); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IARCacheService::updateUserLoginEx2(const ::std::string& uid, ::Ice::Int sysMsgId, const ::std::string& loginIp, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IARCacheService__updateUserLoginEx2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(sysMsgId); - __os->write(loginIp); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IARCacheService::updateUserLastLoginTime(const ::std::string& uid, ::Ice::Int lastLoginTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IARCacheService__updateUserLastLoginTime_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(lastLoginTime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IARCacheService::updateSysMsgId(const ::std::string& uid, ::Ice::Int sysMsgId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IARCacheService__updateSysMsgId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(sysMsgId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IARCacheService::updateUserDataInfo(const ::std::string& uid, const ::AliIM::ARUSERCONTROLINFO& controlInfo, ::Ice::Int onlineTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IARCacheService__updateUserDataInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - controlInfo.__write(__os); - __os->write(onlineTime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IARCacheService::getUserInfo2(const ::std::string& uid, ::AliIM::ARUSERINFO2& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IARCacheService__getUserInfo2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IARCacheService::updateUserDataInfo2(const ::std::string& uid, const ::AliIM::ARUSERCONTROLINFO2& controlInfo, ::Ice::Int onlineTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IARCacheService__updateUserDataInfo2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - controlInfo.__write(__os); - __os->write(onlineTime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::IARCacheService::getUserInfo(const ::std::string& uid, ::AliIM::ARUSERINFO& userInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IARCacheService__getUserInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IARCacheService* __servant = dynamic_cast< ::AliIM::IARCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserInfo(uid, userInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IARCacheService::updateUserLoginEx(const ::std::string& uid, ::Ice::Int sysMsgId, const ::std::string& loginIp, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IARCacheService__updateUserLoginEx_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IARCacheService* __servant = dynamic_cast< ::AliIM::IARCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateUserLoginEx(uid, sysMsgId, loginIp, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IARCacheService::updateUserLoginEx2(const ::std::string& uid, ::Ice::Int sysMsgId, const ::std::string& loginIp, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IARCacheService__updateUserLoginEx2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IARCacheService* __servant = dynamic_cast< ::AliIM::IARCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateUserLoginEx2(uid, sysMsgId, loginIp, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IARCacheService::updateUserLastLoginTime(const ::std::string& uid, ::Ice::Int lastLoginTime, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IARCacheService__updateUserLastLoginTime_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IARCacheService* __servant = dynamic_cast< ::AliIM::IARCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateUserLastLoginTime(uid, lastLoginTime, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IARCacheService::updateSysMsgId(const ::std::string& uid, ::Ice::Int sysMsgId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IARCacheService__updateSysMsgId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IARCacheService* __servant = dynamic_cast< ::AliIM::IARCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateSysMsgId(uid, sysMsgId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IARCacheService::updateUserDataInfo(const ::std::string& uid, const ::AliIM::ARUSERCONTROLINFO& controlInfo, ::Ice::Int onlineTime, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IARCacheService__updateUserDataInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IARCacheService* __servant = dynamic_cast< ::AliIM::IARCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateUserDataInfo(uid, controlInfo, onlineTime, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IARCacheService::getUserInfo2(const ::std::string& uid, ::AliIM::ARUSERINFO2& userInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IARCacheService__getUserInfo2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IARCacheService* __servant = dynamic_cast< ::AliIM::IARCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserInfo2(uid, userInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IARCacheService::updateUserDataInfo2(const ::std::string& uid, const ::AliIM::ARUSERCONTROLINFO2& controlInfo, ::Ice::Int onlineTime, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IARCacheService__updateUserDataInfo2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IARCacheService* __servant = dynamic_cast< ::AliIM::IARCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateUserDataInfo2(uid, controlInfo, onlineTime, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::IARCacheService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__IARCacheService_ids[2] = -{ - "::AliIM::IARCacheService", - "::Ice::Object" -}; - -bool -AliIM::IARCacheService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__IARCacheService_ids, __AliIM__IARCacheService_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::IARCacheService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__IARCacheService_ids[0], &__AliIM__IARCacheService_ids[2]); -} - -const ::std::string& -AliIM::IARCacheService::ice_id(const ::Ice::Current&) const -{ - return __AliIM__IARCacheService_ids[0]; -} - -const ::std::string& -AliIM::IARCacheService::ice_staticId() -{ - return __AliIM__IARCacheService_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::IARCacheService::___getUserInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::AliIM::ARUSERINFO userInfo; - ::Ice::Int __ret = getUserInfo(uid, userInfo, __current); - userInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IARCacheService::___updateUserLoginEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int sysMsgId; - ::std::string loginIp; - __is->read(uid); - __is->read(sysMsgId); - __is->read(loginIp); - ::Ice::Int __ret = updateUserLoginEx(uid, sysMsgId, loginIp, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IARCacheService::___updateUserLoginEx2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int sysMsgId; - ::std::string loginIp; - __is->read(uid); - __is->read(sysMsgId); - __is->read(loginIp); - ::Ice::Int __ret = updateUserLoginEx2(uid, sysMsgId, loginIp, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IARCacheService::___updateUserLastLoginTime(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int lastLoginTime; - __is->read(uid); - __is->read(lastLoginTime); - ::Ice::Int __ret = updateUserLastLoginTime(uid, lastLoginTime, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IARCacheService::___updateSysMsgId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int sysMsgId; - __is->read(uid); - __is->read(sysMsgId); - ::Ice::Int __ret = updateSysMsgId(uid, sysMsgId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IARCacheService::___updateUserDataInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::AliIM::ARUSERCONTROLINFO controlInfo; - ::Ice::Int onlineTime; - __is->read(uid); - controlInfo.__read(__is); - __is->read(onlineTime); - ::Ice::Int __ret = updateUserDataInfo(uid, controlInfo, onlineTime, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IARCacheService::___getUserInfo2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::AliIM::ARUSERINFO2 userInfo; - ::Ice::Int __ret = getUserInfo2(uid, userInfo, __current); - userInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IARCacheService::___updateUserDataInfo2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::AliIM::ARUSERCONTROLINFO2 controlInfo; - ::Ice::Int onlineTime; - __is->read(uid); - controlInfo.__read(__is); - __is->read(onlineTime); - ::Ice::Int __ret = updateUserDataInfo2(uid, controlInfo, onlineTime, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__IARCacheService_all[] = -{ - "getUserInfo", - "getUserInfo2", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "updateSysMsgId", - "updateUserDataInfo", - "updateUserDataInfo2", - "updateUserLastLoginTime", - "updateUserLoginEx", - "updateUserLoginEx2" -}; - -::IceInternal::DispatchStatus -AliIM::IARCacheService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__IARCacheService_all, __AliIM__IARCacheService_all + 12, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__IARCacheService_all) - { - case 0: - { - return ___getUserInfo(in, current); - } - case 1: - { - return ___getUserInfo2(in, current); - } - case 2: - { - return ___ice_id(in, current); - } - case 3: - { - return ___ice_ids(in, current); - } - case 4: - { - return ___ice_isA(in, current); - } - case 5: - { - return ___ice_ping(in, current); - } - case 6: - { - return ___updateSysMsgId(in, current); - } - case 7: - { - return ___updateUserDataInfo(in, current); - } - case 8: - { - return ___updateUserDataInfo2(in, current); - } - case 9: - { - return ___updateUserLastLoginTime(in, current); - } - case 10: - { - return ___updateUserLoginEx(in, current); - } - case 11: - { - return ___updateUserLoginEx2(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::IARCacheService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::IARCacheService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::IARCacheService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::IARCacheService was not generated with stream support"; - throw ex; -} - -void -AliIM::IARCacheService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::IARCacheService was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__IARCacheServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::IARCacheServicePtr* p = static_cast< ::AliIM::IARCacheServicePtr*>(__addr); - assert(p); - *p = ::AliIM::IARCacheServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::IARCacheService::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::IARCacheService& l, const ::AliIM::IARCacheService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::IARCacheService& l, const ::AliIM::IARCacheService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::IARCacheService& l, const ::AliIM::IARCacheService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::IARCacheService& l, const ::AliIM::IARCacheService& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::IARCacheService& l, const ::AliIM::IARCacheService& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::IARCacheService& l, const ::AliIM::IARCacheService& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/atmMember.cpp b/features/aliww/source/atmMember.cpp deleted file mode 100644 index 334b759..0000000 --- a/features/aliww/source/atmMember.cpp +++ /dev/null @@ -1,1862 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `atmMember.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __atmWebMember__UserProfile__GetUserPwd_name = "GetUserPwd"; - -static const ::std::string __atmWebMember__UserProfile__GetUDBData_name = "GetUDBData"; - -static const ::std::string __atmWebMember__UserProfile__GetBasicProfile_name = "GetBasicProfile"; - -static const ::std::string __atmWebMember__UserProfile__GetContactInfo_name = "GetContactInfo"; - -void -IceInternal::incRef(::atmWebMember::UserProfile* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::atmWebMember::UserProfile* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::atmWebMember::UserProfile* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::atmWebMember::UserProfile* p) -{ - p->__decRef(); -} - -void -atmWebMember::__write(::IceInternal::BasicStream* __os, const ::atmWebMember::UserProfilePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -atmWebMember::__read(::IceInternal::BasicStream* __is, ::atmWebMember::UserProfilePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::atmWebMember::UserProfile; - v->__copyFrom(proxy); - } -} - -void -atmWebMember::__write(::IceInternal::BasicStream* __os, const ::atmWebMember::UserProfilePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -atmWebMember::sBasicProfile::operator==(const sBasicProfile& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -atmWebMember::sBasicProfile::operator!=(const sBasicProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(longid != __rhs.longid) - { - return true; - } - if(isExist != __rhs.isExist) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(username != __rhs.username) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(companyname != __rhs.companyname) - { - return true; - } - if(jobTitle != __rhs.jobTitle) - { - return true; - } - if(oldOverseaLevel != __rhs.oldOverseaLevel) - { - return true; - } - if(oldGslevel != __rhs.oldGslevel) - { - return true; - } - if(memberLevel != __rhs.memberLevel) - { - return true; - } - if(categoryids != __rhs.categoryids) - { - return true; - } - if(area != __rhs.area) - { - return true; - } - if(country != __rhs.country) - { - return true; - } - if(companyId != __rhs.companyId) - { - return true; - } - return false; -} - -bool -atmWebMember::sBasicProfile::operator<(const sBasicProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(longid < __rhs.longid) - { - return true; - } - else if(__rhs.longid < longid) - { - return false; - } - if(isExist < __rhs.isExist) - { - return true; - } - else if(__rhs.isExist < isExist) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(username < __rhs.username) - { - return true; - } - else if(__rhs.username < username) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(companyname < __rhs.companyname) - { - return true; - } - else if(__rhs.companyname < companyname) - { - return false; - } - if(jobTitle < __rhs.jobTitle) - { - return true; - } - else if(__rhs.jobTitle < jobTitle) - { - return false; - } - if(oldOverseaLevel < __rhs.oldOverseaLevel) - { - return true; - } - else if(__rhs.oldOverseaLevel < oldOverseaLevel) - { - return false; - } - if(oldGslevel < __rhs.oldGslevel) - { - return true; - } - else if(__rhs.oldGslevel < oldGslevel) - { - return false; - } - if(memberLevel < __rhs.memberLevel) - { - return true; - } - else if(__rhs.memberLevel < memberLevel) - { - return false; - } - if(categoryids < __rhs.categoryids) - { - return true; - } - else if(__rhs.categoryids < categoryids) - { - return false; - } - if(area < __rhs.area) - { - return true; - } - else if(__rhs.area < area) - { - return false; - } - if(country < __rhs.country) - { - return true; - } - else if(__rhs.country < country) - { - return false; - } - if(companyId < __rhs.companyId) - { - return true; - } - else if(__rhs.companyId < companyId) - { - return false; - } - return false; -} - -void -atmWebMember::sBasicProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(longid); - __os->write(isExist); - __os->write(status); - __os->write(username); - __os->write(password); - __os->write(companyname); - __os->write(jobTitle); - __os->write(oldOverseaLevel); - __os->write(oldGslevel); - __os->write(memberLevel); - __os->write(categoryids); - __os->write(area); - __os->write(country); - __os->write(companyId); -} - -void -atmWebMember::sBasicProfile::__read(::IceInternal::BasicStream* __is) -{ - __is->read(longid); - __is->read(isExist); - __is->read(status); - __is->read(username); - __is->read(password); - __is->read(companyname); - __is->read(jobTitle); - __is->read(oldOverseaLevel); - __is->read(oldGslevel); - __is->read(memberLevel); - __is->read(categoryids); - __is->read(area); - __is->read(country); - __is->read(companyId); -} - -bool -atmWebMember::sUdbData::operator==(const sUdbData& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -atmWebMember::sUdbData::operator!=(const sUdbData& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(longid != __rhs.longid) - { - return true; - } - if(isExist != __rhs.isExist) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(username != __rhs.username) - { - return true; - } - if(country != __rhs.country) - { - return true; - } - if(companyname != __rhs.companyname) - { - return true; - } - if(jobTitle != __rhs.jobTitle) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(zip != __rhs.zip) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(phone != __rhs.phone) - { - return true; - } - if(mobilephone != __rhs.mobilephone) - { - return true; - } - if(prov != __rhs.prov) - { - return true; - } - if(city != __rhs.city) - { - return true; - } - if(usergender != __rhs.usergender) - { - return true; - } - if(companyaddress != __rhs.companyaddress) - { - return true; - } - if(companyfax != __rhs.companyfax) - { - return true; - } - if(companyzip != __rhs.companyzip) - { - return true; - } - if(companyemail != __rhs.companyemail) - { - return true; - } - if(companyurl != __rhs.companyurl) - { - return true; - } - if(purchase != __rhs.purchase) - { - return true; - } - if(provide != __rhs.provide) - { - return true; - } - if(department != __rhs.department) - { - return true; - } - return false; -} - -bool -atmWebMember::sUdbData::operator<(const sUdbData& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(longid < __rhs.longid) - { - return true; - } - else if(__rhs.longid < longid) - { - return false; - } - if(isExist < __rhs.isExist) - { - return true; - } - else if(__rhs.isExist < isExist) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(username < __rhs.username) - { - return true; - } - else if(__rhs.username < username) - { - return false; - } - if(country < __rhs.country) - { - return true; - } - else if(__rhs.country < country) - { - return false; - } - if(companyname < __rhs.companyname) - { - return true; - } - else if(__rhs.companyname < companyname) - { - return false; - } - if(jobTitle < __rhs.jobTitle) - { - return true; - } - else if(__rhs.jobTitle < jobTitle) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(zip < __rhs.zip) - { - return true; - } - else if(__rhs.zip < zip) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(phone < __rhs.phone) - { - return true; - } - else if(__rhs.phone < phone) - { - return false; - } - if(mobilephone < __rhs.mobilephone) - { - return true; - } - else if(__rhs.mobilephone < mobilephone) - { - return false; - } - if(prov < __rhs.prov) - { - return true; - } - else if(__rhs.prov < prov) - { - return false; - } - if(city < __rhs.city) - { - return true; - } - else if(__rhs.city < city) - { - return false; - } - if(usergender < __rhs.usergender) - { - return true; - } - else if(__rhs.usergender < usergender) - { - return false; - } - if(companyaddress < __rhs.companyaddress) - { - return true; - } - else if(__rhs.companyaddress < companyaddress) - { - return false; - } - if(companyfax < __rhs.companyfax) - { - return true; - } - else if(__rhs.companyfax < companyfax) - { - return false; - } - if(companyzip < __rhs.companyzip) - { - return true; - } - else if(__rhs.companyzip < companyzip) - { - return false; - } - if(companyemail < __rhs.companyemail) - { - return true; - } - else if(__rhs.companyemail < companyemail) - { - return false; - } - if(companyurl < __rhs.companyurl) - { - return true; - } - else if(__rhs.companyurl < companyurl) - { - return false; - } - if(purchase < __rhs.purchase) - { - return true; - } - else if(__rhs.purchase < purchase) - { - return false; - } - if(provide < __rhs.provide) - { - return true; - } - else if(__rhs.provide < provide) - { - return false; - } - if(department < __rhs.department) - { - return true; - } - else if(__rhs.department < department) - { - return false; - } - return false; -} - -void -atmWebMember::sUdbData::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(longid); - __os->write(isExist); - __os->write(status); - __os->write(password); - __os->write(username); - __os->write(country); - __os->write(companyname); - __os->write(jobTitle); - __os->write(email); - __os->write(zip); - __os->write(address); - __os->write(phone); - __os->write(mobilephone); - __os->write(prov); - __os->write(city); - __os->write(usergender); - __os->write(companyaddress); - __os->write(companyfax); - __os->write(companyzip); - __os->write(companyemail); - __os->write(companyurl); - __os->write(purchase); - __os->write(provide); - __os->write(department); -} - -void -atmWebMember::sUdbData::__read(::IceInternal::BasicStream* __is) -{ - __is->read(longid); - __is->read(isExist); - __is->read(status); - __is->read(password); - __is->read(username); - __is->read(country); - __is->read(companyname); - __is->read(jobTitle); - __is->read(email); - __is->read(zip); - __is->read(address); - __is->read(phone); - __is->read(mobilephone); - __is->read(prov); - __is->read(city); - __is->read(usergender); - __is->read(companyaddress); - __is->read(companyfax); - __is->read(companyzip); - __is->read(companyemail); - __is->read(companyurl); - __is->read(purchase); - __is->read(provide); - __is->read(department); -} - -bool -atmWebMember::sContactInfo::operator==(const sContactInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -atmWebMember::sContactInfo::operator!=(const sContactInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(longid != __rhs.longid) - { - return true; - } - if(isExist != __rhs.isExist) - { - return true; - } - if(firstname != __rhs.firstname) - { - return true; - } - if(lastname != __rhs.lastname) - { - return true; - } - if(country != __rhs.country) - { - return true; - } - if(companyId != __rhs.companyId) - { - return true; - } - if(companyname != __rhs.companyname) - { - return true; - } - if(companyaddress != __rhs.companyaddress) - { - return true; - } - if(companyZip != __rhs.companyZip) - { - return true; - } - if(homepageUrl != __rhs.homepageUrl) - { - return true; - } - if(bizType != __rhs.bizType) - { - return true; - } - if(provideProducts != __rhs.provideProducts) - { - return true; - } - if(jobTitle != __rhs.jobTitle) - { - return true; - } - if(categoryids != __rhs.categoryids) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(phone != __rhs.phone) - { - return true; - } - if(faxNumber != __rhs.faxNumber) - { - return true; - } - if(mobilephone != __rhs.mobilephone) - { - return true; - } - if(usergender != __rhs.usergender) - { - return true; - } - return false; -} - -bool -atmWebMember::sContactInfo::operator<(const sContactInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(longid < __rhs.longid) - { - return true; - } - else if(__rhs.longid < longid) - { - return false; - } - if(isExist < __rhs.isExist) - { - return true; - } - else if(__rhs.isExist < isExist) - { - return false; - } - if(firstname < __rhs.firstname) - { - return true; - } - else if(__rhs.firstname < firstname) - { - return false; - } - if(lastname < __rhs.lastname) - { - return true; - } - else if(__rhs.lastname < lastname) - { - return false; - } - if(country < __rhs.country) - { - return true; - } - else if(__rhs.country < country) - { - return false; - } - if(companyId < __rhs.companyId) - { - return true; - } - else if(__rhs.companyId < companyId) - { - return false; - } - if(companyname < __rhs.companyname) - { - return true; - } - else if(__rhs.companyname < companyname) - { - return false; - } - if(companyaddress < __rhs.companyaddress) - { - return true; - } - else if(__rhs.companyaddress < companyaddress) - { - return false; - } - if(companyZip < __rhs.companyZip) - { - return true; - } - else if(__rhs.companyZip < companyZip) - { - return false; - } - if(homepageUrl < __rhs.homepageUrl) - { - return true; - } - else if(__rhs.homepageUrl < homepageUrl) - { - return false; - } - if(bizType < __rhs.bizType) - { - return true; - } - else if(__rhs.bizType < bizType) - { - return false; - } - if(provideProducts < __rhs.provideProducts) - { - return true; - } - else if(__rhs.provideProducts < provideProducts) - { - return false; - } - if(jobTitle < __rhs.jobTitle) - { - return true; - } - else if(__rhs.jobTitle < jobTitle) - { - return false; - } - if(categoryids < __rhs.categoryids) - { - return true; - } - else if(__rhs.categoryids < categoryids) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(phone < __rhs.phone) - { - return true; - } - else if(__rhs.phone < phone) - { - return false; - } - if(faxNumber < __rhs.faxNumber) - { - return true; - } - else if(__rhs.faxNumber < faxNumber) - { - return false; - } - if(mobilephone < __rhs.mobilephone) - { - return true; - } - else if(__rhs.mobilephone < mobilephone) - { - return false; - } - if(usergender < __rhs.usergender) - { - return true; - } - else if(__rhs.usergender < usergender) - { - return false; - } - return false; -} - -void -atmWebMember::sContactInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(longid); - __os->write(isExist); - __os->write(firstname); - __os->write(lastname); - __os->write(country); - __os->write(companyId); - __os->write(companyname); - __os->write(companyaddress); - __os->write(companyZip); - __os->write(homepageUrl); - __os->write(bizType); - __os->write(provideProducts); - __os->write(jobTitle); - __os->write(categoryids); - __os->write(email); - __os->write(phone); - __os->write(faxNumber); - __os->write(mobilephone); - __os->write(usergender); -} - -void -atmWebMember::sContactInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(longid); - __is->read(isExist); - __is->read(firstname); - __is->read(lastname); - __is->read(country); - __is->read(companyId); - __is->read(companyname); - __is->read(companyaddress); - __is->read(companyZip); - __is->read(homepageUrl); - __is->read(bizType); - __is->read(provideProducts); - __is->read(jobTitle); - __is->read(categoryids); - __is->read(email); - __is->read(phone); - __is->read(faxNumber); - __is->read(mobilephone); - __is->read(usergender); -} - -bool -atmWebMember::SBLoginInfo::operator==(const SBLoginInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -atmWebMember::SBLoginInfo::operator!=(const SBLoginInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(longid != __rhs.longid) - { - return true; - } - if(isExist != __rhs.isExist) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(passwd != __rhs.passwd) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(seq != __rhs.seq) - { - return true; - } - return false; -} - -bool -atmWebMember::SBLoginInfo::operator<(const SBLoginInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(longid < __rhs.longid) - { - return true; - } - else if(__rhs.longid < longid) - { - return false; - } - if(isExist < __rhs.isExist) - { - return true; - } - else if(__rhs.isExist < isExist) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(passwd < __rhs.passwd) - { - return true; - } - else if(__rhs.passwd < passwd) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(seq < __rhs.seq) - { - return true; - } - else if(__rhs.seq < seq) - { - return false; - } - return false; -} - -void -atmWebMember::SBLoginInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(longid); - __os->write(isExist); - __os->write(status); - __os->write(passwd); - __os->write(email); - __os->write(seq); -} - -void -atmWebMember::SBLoginInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(longid); - __is->read(isExist); - __is->read(status); - __is->read(passwd); - __is->read(email); - __is->read(seq); -} - -void -atmWebMember::__addObject(const UserProfilePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -atmWebMember::__usesClasses(const UserProfilePtr& p) -{ - return p->__usesClasses(); -} - -void -atmWebMember::__decRefUnsafe(const UserProfilePtr& p) -{ - p->__decRefUnsafe(); -} - -void -atmWebMember::__clearHandleUnsafe(UserProfilePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::atmWebMember::UserProfile::GetUserPwd(const ::std::string& uid, ::atmWebMember::SBLoginInfo& pwdinfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__atmWebMember__UserProfile__GetUserPwd_name); - __delBase = __getDelegate(); - ::IceDelegate::atmWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::atmWebMember::UserProfile*>(__delBase.get()); - return __del->GetUserPwd(uid, pwdinfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::atmWebMember::UserProfile::GetUDBData(const ::std::string& uid, ::atmWebMember::sUdbData& udbInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__atmWebMember__UserProfile__GetUDBData_name); - __delBase = __getDelegate(); - ::IceDelegate::atmWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::atmWebMember::UserProfile*>(__delBase.get()); - return __del->GetUDBData(uid, udbInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::atmWebMember::UserProfile::GetBasicProfile(const ::std::string& uid, ::atmWebMember::sBasicProfile& info, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__atmWebMember__UserProfile__GetBasicProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::atmWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::atmWebMember::UserProfile*>(__delBase.get()); - return __del->GetBasicProfile(uid, info, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::atmWebMember::UserProfile::GetContactInfo(const ::std::string& uid, ::atmWebMember::sContactInfo& cinfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__atmWebMember__UserProfile__GetContactInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::atmWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::atmWebMember::UserProfile*>(__delBase.get()); - return __del->GetContactInfo(uid, cinfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::atmWebMember::UserProfile::ice_staticId() -{ - return ::atmWebMember::UserProfile::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::atmWebMember::UserProfile::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::atmWebMember::UserProfile); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::atmWebMember::UserProfile::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::atmWebMember::UserProfile); -} - -bool -IceProxy::atmWebMember::operator==(const ::IceProxy::atmWebMember::UserProfile& l, const ::IceProxy::atmWebMember::UserProfile& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::atmWebMember::operator!=(const ::IceProxy::atmWebMember::UserProfile& l, const ::IceProxy::atmWebMember::UserProfile& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::atmWebMember::operator<(const ::IceProxy::atmWebMember::UserProfile& l, const ::IceProxy::atmWebMember::UserProfile& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::atmWebMember::operator<=(const ::IceProxy::atmWebMember::UserProfile& l, const ::IceProxy::atmWebMember::UserProfile& r) -{ - return l < r || l == r; -} - -bool -IceProxy::atmWebMember::operator>(const ::IceProxy::atmWebMember::UserProfile& l, const ::IceProxy::atmWebMember::UserProfile& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::atmWebMember::operator>=(const ::IceProxy::atmWebMember::UserProfile& l, const ::IceProxy::atmWebMember::UserProfile& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::atmWebMember::UserProfile::GetUserPwd(const ::std::string& uid, ::atmWebMember::SBLoginInfo& pwdinfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __atmWebMember__UserProfile__GetUserPwd_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - pwdinfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::atmWebMember::UserProfile::GetUDBData(const ::std::string& uid, ::atmWebMember::sUdbData& udbInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __atmWebMember__UserProfile__GetUDBData_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - udbInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::atmWebMember::UserProfile::GetBasicProfile(const ::std::string& uid, ::atmWebMember::sBasicProfile& info, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __atmWebMember__UserProfile__GetBasicProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - info.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::atmWebMember::UserProfile::GetContactInfo(const ::std::string& uid, ::atmWebMember::sContactInfo& cinfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __atmWebMember__UserProfile__GetContactInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - cinfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::atmWebMember::UserProfile::GetUserPwd(const ::std::string& uid, ::atmWebMember::SBLoginInfo& pwdinfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __atmWebMember__UserProfile__GetUserPwd_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::atmWebMember::UserProfile* __servant = dynamic_cast< ::atmWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUserPwd(uid, pwdinfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::atmWebMember::UserProfile::GetUDBData(const ::std::string& uid, ::atmWebMember::sUdbData& udbInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __atmWebMember__UserProfile__GetUDBData_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::atmWebMember::UserProfile* __servant = dynamic_cast< ::atmWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUDBData(uid, udbInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::atmWebMember::UserProfile::GetBasicProfile(const ::std::string& uid, ::atmWebMember::sBasicProfile& info, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __atmWebMember__UserProfile__GetBasicProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::atmWebMember::UserProfile* __servant = dynamic_cast< ::atmWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetBasicProfile(uid, info, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::atmWebMember::UserProfile::GetContactInfo(const ::std::string& uid, ::atmWebMember::sContactInfo& cinfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __atmWebMember__UserProfile__GetContactInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::atmWebMember::UserProfile* __servant = dynamic_cast< ::atmWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetContactInfo(uid, cinfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -atmWebMember::UserProfile::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __atmWebMember__UserProfile_ids[2] = -{ - "::Ice::Object", - "::atmWebMember::UserProfile" -}; - -bool -atmWebMember::UserProfile::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__atmWebMember__UserProfile_ids, __atmWebMember__UserProfile_ids + 2, _s); -} - -::std::vector< ::std::string> -atmWebMember::UserProfile::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__atmWebMember__UserProfile_ids[0], &__atmWebMember__UserProfile_ids[2]); -} - -const ::std::string& -atmWebMember::UserProfile::ice_id(const ::Ice::Current&) const -{ - return __atmWebMember__UserProfile_ids[1]; -} - -const ::std::string& -atmWebMember::UserProfile::ice_staticId() -{ - return __atmWebMember__UserProfile_ids[1]; -} - -::IceInternal::DispatchStatus -atmWebMember::UserProfile::___GetUserPwd(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::atmWebMember::SBLoginInfo pwdinfo; - ::Ice::Int __ret = GetUserPwd(uid, pwdinfo, __current); - pwdinfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -atmWebMember::UserProfile::___GetUDBData(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::atmWebMember::sUdbData udbInfo; - ::Ice::Int __ret = GetUDBData(uid, udbInfo, __current); - udbInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -atmWebMember::UserProfile::___GetBasicProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::atmWebMember::sBasicProfile info; - ::Ice::Int __ret = GetBasicProfile(uid, info, __current); - info.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -atmWebMember::UserProfile::___GetContactInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::atmWebMember::sContactInfo cinfo; - ::Ice::Int __ret = GetContactInfo(uid, cinfo, __current); - cinfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __atmWebMember__UserProfile_all[] = -{ - "GetBasicProfile", - "GetContactInfo", - "GetUDBData", - "GetUserPwd", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -atmWebMember::UserProfile::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__atmWebMember__UserProfile_all, __atmWebMember__UserProfile_all + 8, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __atmWebMember__UserProfile_all) - { - case 0: - { - return ___GetBasicProfile(in, current); - } - case 1: - { - return ___GetContactInfo(in, current); - } - case 2: - { - return ___GetUDBData(in, current); - } - case 3: - { - return ___GetUserPwd(in, current); - } - case 4: - { - return ___ice_id(in, current); - } - case 5: - { - return ___ice_ids(in, current); - } - case 6: - { - return ___ice_isA(in, current); - } - case 7: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -atmWebMember::UserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -atmWebMember::UserProfile::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -atmWebMember::UserProfile::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type atmWebMember::UserProfile was not generated with stream support"; - throw ex; -} - -void -atmWebMember::UserProfile::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type atmWebMember::UserProfile was not generated with stream support"; - throw ex; -} - -void -atmWebMember::__patch__UserProfilePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::atmWebMember::UserProfilePtr* p = static_cast< ::atmWebMember::UserProfilePtr*>(__addr); - assert(p); - *p = ::atmWebMember::UserProfilePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::atmWebMember::UserProfile::ice_staticId(); - throw e; - } -} - -bool -atmWebMember::operator==(const ::atmWebMember::UserProfile& l, const ::atmWebMember::UserProfile& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -atmWebMember::operator!=(const ::atmWebMember::UserProfile& l, const ::atmWebMember::UserProfile& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -atmWebMember::operator<(const ::atmWebMember::UserProfile& l, const ::atmWebMember::UserProfile& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -atmWebMember::operator<=(const ::atmWebMember::UserProfile& l, const ::atmWebMember::UserProfile& r) -{ - return l < r || l == r; -} - -bool -atmWebMember::operator>(const ::atmWebMember::UserProfile& l, const ::atmWebMember::UserProfile& r) -{ - return !(l < r) && !(l == r); -} - -bool -atmWebMember::operator>=(const ::atmWebMember::UserProfile& l, const ::atmWebMember::UserProfile& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/authservice.cpp b/features/aliww/source/authservice.cpp deleted file mode 100644 index b34efe2..0000000 --- a/features/aliww/source/authservice.cpp +++ /dev/null @@ -1,1077 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `authservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AuthService__AuthSrvMgr__AddUser_name = "AddUser"; - -static const ::std::string __AuthService__AuthSrvMgr__DelUser_name = "DelUser"; - -static const ::std::string __AuthService__AuthSrvMgr__CheckUser_name = "CheckUser"; - -static const ::std::string __AuthService__AuthSrvMgr__ForbiddenUser_name = "ForbiddenUser"; - -static const ::std::string __AuthService__AuthSrvMgr__PermitUser_name = "PermitUser"; - -static const ::std::string __AuthService__AuthSrvMgr__GetForbiddenUser_name = "GetForbiddenUser"; - -void -IceInternal::incRef(::AuthService::AuthSrvMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AuthService::AuthSrvMgr* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AuthService::AuthSrvMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AuthService::AuthSrvMgr* p) -{ - p->__decRef(); -} - -void -AuthService::__write(::IceInternal::BasicStream* __os, const ::AuthService::AuthSrvMgrPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AuthService::__read(::IceInternal::BasicStream* __is, ::AuthService::AuthSrvMgrPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AuthService::AuthSrvMgr; - v->__copyFrom(proxy); - } -} - -void -AuthService::__write(::IceInternal::BasicStream* __os, const ::AuthService::AuthSrvMgrPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AuthService::__addObject(const AuthSrvMgrPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AuthService::__usesClasses(const AuthSrvMgrPtr& p) -{ - return p->__usesClasses(); -} - -void -AuthService::__decRefUnsafe(const AuthSrvMgrPtr& p) -{ - p->__decRefUnsafe(); -} - -void -AuthService::__clearHandleUnsafe(AuthSrvMgrPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AuthService::AuthSrvMgr::AddUser(const ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AuthService__AuthSrvMgr__AddUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AuthService::AuthSrvMgr* __del = dynamic_cast< ::IceDelegate::AuthService::AuthSrvMgr*>(__delBase.get()); - return __del->AddUser(userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AuthService::AuthSrvMgr::DelUser(const ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AuthService__AuthSrvMgr__DelUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AuthService::AuthSrvMgr* __del = dynamic_cast< ::IceDelegate::AuthService::AuthSrvMgr*>(__delBase.get()); - return __del->DelUser(userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AuthService::AuthSrvMgr::CheckUser(const ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AuthService__AuthSrvMgr__CheckUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AuthService::AuthSrvMgr* __del = dynamic_cast< ::IceDelegate::AuthService::AuthSrvMgr*>(__delBase.get()); - return __del->CheckUser(userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AuthService::AuthSrvMgr::ForbiddenUser(const ::std::string& userId, ::Ice::Int interval, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AuthService__AuthSrvMgr__ForbiddenUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AuthService::AuthSrvMgr* __del = dynamic_cast< ::IceDelegate::AuthService::AuthSrvMgr*>(__delBase.get()); - return __del->ForbiddenUser(userId, interval, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AuthService::AuthSrvMgr::PermitUser(const ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AuthService__AuthSrvMgr__PermitUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AuthService::AuthSrvMgr* __del = dynamic_cast< ::IceDelegate::AuthService::AuthSrvMgr*>(__delBase.get()); - return __del->PermitUser(userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AuthService::AuthSrvMgr::GetForbiddenUser(const ::std::string& userId, ::Ice::Int& begin, ::Ice::Int& interval, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AuthService__AuthSrvMgr__GetForbiddenUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AuthService::AuthSrvMgr* __del = dynamic_cast< ::IceDelegate::AuthService::AuthSrvMgr*>(__delBase.get()); - return __del->GetForbiddenUser(userId, begin, interval, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AuthService::AuthSrvMgr::ice_staticId() -{ - return ::AuthService::AuthSrvMgr::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AuthService::AuthSrvMgr::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AuthService::AuthSrvMgr); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AuthService::AuthSrvMgr::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AuthService::AuthSrvMgr); -} - -bool -IceProxy::AuthService::operator==(const ::IceProxy::AuthService::AuthSrvMgr& l, const ::IceProxy::AuthService::AuthSrvMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AuthService::operator!=(const ::IceProxy::AuthService::AuthSrvMgr& l, const ::IceProxy::AuthService::AuthSrvMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AuthService::operator<(const ::IceProxy::AuthService::AuthSrvMgr& l, const ::IceProxy::AuthService::AuthSrvMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AuthService::operator<=(const ::IceProxy::AuthService::AuthSrvMgr& l, const ::IceProxy::AuthService::AuthSrvMgr& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AuthService::operator>(const ::IceProxy::AuthService::AuthSrvMgr& l, const ::IceProxy::AuthService::AuthSrvMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AuthService::operator>=(const ::IceProxy::AuthService::AuthSrvMgr& l, const ::IceProxy::AuthService::AuthSrvMgr& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AuthService::AuthSrvMgr::AddUser(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AuthService__AuthSrvMgr__AddUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AuthService::AuthSrvMgr::DelUser(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AuthService__AuthSrvMgr__DelUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AuthService::AuthSrvMgr::CheckUser(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AuthService__AuthSrvMgr__CheckUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AuthService::AuthSrvMgr::ForbiddenUser(const ::std::string& userId, ::Ice::Int interval, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AuthService__AuthSrvMgr__ForbiddenUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(interval); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AuthService::AuthSrvMgr::PermitUser(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AuthService__AuthSrvMgr__PermitUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AuthService::AuthSrvMgr::GetForbiddenUser(const ::std::string& userId, ::Ice::Int& begin, ::Ice::Int& interval, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AuthService__AuthSrvMgr__GetForbiddenUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(begin); - __is->read(interval); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AuthService::AuthSrvMgr::AddUser(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AuthService__AuthSrvMgr__AddUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AuthService::AuthSrvMgr* __servant = dynamic_cast< ::AuthService::AuthSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddUser(userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AuthService::AuthSrvMgr::DelUser(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AuthService__AuthSrvMgr__DelUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AuthService::AuthSrvMgr* __servant = dynamic_cast< ::AuthService::AuthSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DelUser(userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AuthService::AuthSrvMgr::CheckUser(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AuthService__AuthSrvMgr__CheckUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AuthService::AuthSrvMgr* __servant = dynamic_cast< ::AuthService::AuthSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->CheckUser(userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AuthService::AuthSrvMgr::ForbiddenUser(const ::std::string& userId, ::Ice::Int interval, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AuthService__AuthSrvMgr__ForbiddenUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AuthService::AuthSrvMgr* __servant = dynamic_cast< ::AuthService::AuthSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->ForbiddenUser(userId, interval, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AuthService::AuthSrvMgr::PermitUser(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AuthService__AuthSrvMgr__PermitUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AuthService::AuthSrvMgr* __servant = dynamic_cast< ::AuthService::AuthSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->PermitUser(userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AuthService::AuthSrvMgr::GetForbiddenUser(const ::std::string& userId, ::Ice::Int& begin, ::Ice::Int& interval, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AuthService__AuthSrvMgr__GetForbiddenUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AuthService::AuthSrvMgr* __servant = dynamic_cast< ::AuthService::AuthSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetForbiddenUser(userId, begin, interval, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AuthService::AuthSrvMgr::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AuthService__AuthSrvMgr_ids[2] = -{ - "::AuthService::AuthSrvMgr", - "::Ice::Object" -}; - -bool -AuthService::AuthSrvMgr::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AuthService__AuthSrvMgr_ids, __AuthService__AuthSrvMgr_ids + 2, _s); -} - -::std::vector< ::std::string> -AuthService::AuthSrvMgr::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AuthService__AuthSrvMgr_ids[0], &__AuthService__AuthSrvMgr_ids[2]); -} - -const ::std::string& -AuthService::AuthSrvMgr::ice_id(const ::Ice::Current&) const -{ - return __AuthService__AuthSrvMgr_ids[0]; -} - -const ::std::string& -AuthService::AuthSrvMgr::ice_staticId() -{ - return __AuthService__AuthSrvMgr_ids[0]; -} - -::IceInternal::DispatchStatus -AuthService::AuthSrvMgr::___AddUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int __ret = AddUser(userId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AuthService::AuthSrvMgr::___DelUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int __ret = DelUser(userId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AuthService::AuthSrvMgr::___CheckUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int __ret = CheckUser(userId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AuthService::AuthSrvMgr::___ForbiddenUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int interval; - __is->read(userId); - __is->read(interval); - ::Ice::Int __ret = ForbiddenUser(userId, interval, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AuthService::AuthSrvMgr::___PermitUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int __ret = PermitUser(userId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AuthService::AuthSrvMgr::___GetForbiddenUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int begin; - ::Ice::Int interval; - ::Ice::Int __ret = GetForbiddenUser(userId, begin, interval, __current); - __os->write(begin); - __os->write(interval); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AuthService__AuthSrvMgr_all[] = -{ - "AddUser", - "CheckUser", - "DelUser", - "ForbiddenUser", - "GetForbiddenUser", - "PermitUser", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -AuthService::AuthSrvMgr::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AuthService__AuthSrvMgr_all, __AuthService__AuthSrvMgr_all + 10, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AuthService__AuthSrvMgr_all) - { - case 0: - { - return ___AddUser(in, current); - } - case 1: - { - return ___CheckUser(in, current); - } - case 2: - { - return ___DelUser(in, current); - } - case 3: - { - return ___ForbiddenUser(in, current); - } - case 4: - { - return ___GetForbiddenUser(in, current); - } - case 5: - { - return ___PermitUser(in, current); - } - case 6: - { - return ___ice_id(in, current); - } - case 7: - { - return ___ice_ids(in, current); - } - case 8: - { - return ___ice_isA(in, current); - } - case 9: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AuthService::AuthSrvMgr::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AuthService::AuthSrvMgr::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AuthService::AuthSrvMgr::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AuthService::AuthSrvMgr was not generated with stream support"; - throw ex; -} - -void -AuthService::AuthSrvMgr::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AuthService::AuthSrvMgr was not generated with stream support"; - throw ex; -} - -void -AuthService::__patch__AuthSrvMgrPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AuthService::AuthSrvMgrPtr* p = static_cast< ::AuthService::AuthSrvMgrPtr*>(__addr); - assert(p); - *p = ::AuthService::AuthSrvMgrPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AuthService::AuthSrvMgr::ice_staticId(); - throw e; - } -} - -bool -AuthService::operator==(const ::AuthService::AuthSrvMgr& l, const ::AuthService::AuthSrvMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AuthService::operator!=(const ::AuthService::AuthSrvMgr& l, const ::AuthService::AuthSrvMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AuthService::operator<(const ::AuthService::AuthSrvMgr& l, const ::AuthService::AuthSrvMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AuthService::operator<=(const ::AuthService::AuthSrvMgr& l, const ::AuthService::AuthSrvMgr& r) -{ - return l < r || l == r; -} - -bool -AuthService::operator>(const ::AuthService::AuthSrvMgr& l, const ::AuthService::AuthSrvMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -AuthService::operator>=(const ::AuthService::AuthSrvMgr& l, const ::AuthService::AuthSrvMgr& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/bind_unbind.cpp b/features/aliww/source/bind_unbind.cpp deleted file mode 100644 index 7f2f8af..0000000 --- a/features/aliww/source/bind_unbind.cpp +++ /dev/null @@ -1,105 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: bind_unbind.cpp - * - * Description: - * - * Version: 1.0 - * Created: 2011å¹´01月07æ—¥ 15æ—¶53分02秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ -#include "bind_unbind.h" -#include "cbenchmark.h" -#include "paramutil.h" -#include "script_consts.h" -#include "CWWSimulator.h" -#include -using namespace std; - - - -void *bind_unbind_init(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - -// create_transaction(pVuser,"Setbinding"); -// create_transaction(pVuser,"Unbind"); - - CWWSimulator *pWW = new (CWWSimulator); - pVuser->verb = pWW; - - string imServerIP; - uint16_t port; - - - pWW->SetServerIP(imServerIP = "10.250.3.136", port = 16000); - - pWW->SetStatus(TOKEN_FLAG, DEFAULT_LOGINSTAT); - pWW->SetClient(DEFAULT_CLIENTVERSION, DEFAULT_CLIENTLANGUAGE); - - - -} - -void *bind_unbind_act(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - string recvPack; - void** ppPack; - int retcode; - - - //initilize username and password - - string params,username, password, bindUserID, bindUserPwd; - char * temp = select_param_ex(pVuser); - //printf("params selected:%s\n", temp);//调试的时候å¯ä»¥æ‰“å°å‡ºæ¥ï¼Œçœ‹çœ‹æ˜¯å¦æ˜¯æ•°æ®é—®é¢˜ã€‚ - params.assign(temp,strlen(temp)-1); - int pos = params.find(','); - username = params.substr(0, pos); - bindUserID = params.substr(pos+1, params.length()-pos-2); - password = "aliyun"; - bindUserPwd = "system"; - pWW->SetUser(username, password); - pWW->SetBindUser(bindUserID, bindUserPwd); - - pWW->BindUnbind(); - pWW->Detach(); - - -} - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/features/aliww/source/cachss_pack.cpp b/features/aliww/source/cachss_pack.cpp deleted file mode 100644 index 4900f4d..0000000 --- a/features/aliww/source/cachss_pack.cpp +++ /dev/null @@ -1,108 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: cachss_pack.cpp -// Date: 2011-01-30 12:50:08 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "cachss_pack.h" - -void CSsCaNotify::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_CA_NOTIFY; - m_ssHead.PackData(strData); -} - -void CSsCaNotify::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_opname; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_attrs.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_attrs.begin(); itr != m_attrs.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsCaNotify::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsCaNotify::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_opname; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_attrs[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsCaNotify::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/casc_pack.cpp b/features/aliww/source/casc_pack.cpp deleted file mode 100644 index f5cd473..0000000 --- a/features/aliww/source/casc_pack.cpp +++ /dev/null @@ -1,3371 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: casc_pack.cpp -// Date: 2011-02-22 11:43:08 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "casc_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SGoodsInfo& sGoodsInfo ) -{ - uint8_t nFieldNum = 2; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sGoodsInfo.m_name; - cPackData << FT_UINT32; - cPackData << sGoodsInfo.m_count; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SGoodsInfo& sGoodsInfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sGoodsInfo.m_name; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sGoodsInfo.m_count; - for(int i = 2; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const SGoodsInfoEx& sGoodsInfoEx ) -{ - uint8_t nFieldNum = 3; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sGoodsInfoEx.m_name; - cPackData << FT_STRING; - cPackData << sGoodsInfoEx.m_info; - cPackData << FT_STRING; - cPackData << sGoodsInfoEx.m_url; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SGoodsInfoEx& sGoodsInfoEx ) -{ - uint8_t num; - cPackData >> num; - if(num < 3) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sGoodsInfoEx.m_name; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sGoodsInfoEx.m_info; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sGoodsInfoEx.m_url; - for(int i = 3; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CCascReqGoodssearch::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_GOODSSEARCH; - m_scHead.PackData(strData); -} - -void CCascReqGoodssearch::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_keyword; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqGoodssearch::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqGoodssearch::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_keyword; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqGoodssearch::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspGoodssearch::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_GOODSSEARCH; - m_scHead.PackData(strData); -} - -void CCascRspGoodssearch::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_keyword; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_goods.size(); - (*this) << nLen; - VECTOR< SGoodsInfo >::const_iterator itr; - for(itr = m_goods.cbegin(); itr != m_goods.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspGoodssearch::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspGoodssearch::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_keyword; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_goods.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SGoodsInfo tmpVal; - (*this) >> tmpVal; - m_goods.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspGoodssearch::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqGoodssearchex::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_GOODSSEARCHEX; - m_scHead.PackData(strData); -} - -void CCascReqGoodssearchex::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_keyword; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqGoodssearchex::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqGoodssearchex::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_keyword; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqGoodssearchex::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspGoodssearchex::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_GOODSSEARCHEX; - m_scHead.PackData(strData); -} - -void CCascRspGoodssearchex::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_keyword; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_goods.size(); - (*this) << nLen; - VECTOR< SGoodsInfoEx >::const_iterator itr; - for(itr = m_goods.cbegin(); itr != m_goods.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspGoodssearchex::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspGoodssearchex::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_keyword; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_goods.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SGoodsInfoEx tmpVal; - (*this) >> tmpVal; - m_goods.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspGoodssearchex::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqWwcardInfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_WWCARD_INFO; - m_scHead.PackData(strData); -} - -void CCascReqWwcardInfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_uid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqWwcardInfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqWwcardInfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqWwcardInfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspWwcardInfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_WWCARD_INFO; - m_scHead.PackData(strData); -} - -void CCascRspWwcardInfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_xmlstring; - (*this) << FT_STRING; - (*this) << m_extinfo; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspWwcardInfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspWwcardInfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_xmlstring; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extinfo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspWwcardInfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqWwcardLevel::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_WWCARD_LEVEL; - m_scHead.PackData(strData); -} - -void CCascReqWwcardLevel::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_uid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqWwcardLevel::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqWwcardLevel::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqWwcardLevel::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspWwcardLevel::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_WWCARD_LEVEL; - m_scHead.PackData(strData); -} - -void CCascRspWwcardLevel::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_UINT32; - (*this) << m_userLevel; - (*this) << FT_UINT32; - (*this) << m_totalDegree; - (*this) << FT_UINT32; - (*this) << m_needDegree; - (*this) << FT_VECTOR; - (*this) << FT_UINT8; - { - uint32_t nLen = m_showCount.size(); - (*this) << nLen; - VECTOR< uint8_t >::const_iterator itr; - for(itr = m_showCount.cbegin(); itr != m_showCount.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspWwcardLevel::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspWwcardLevel::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 6) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userLevel; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_totalDegree; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_needDegree; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_showCount.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - uint8_t tmpVal; - (*this) >> tmpVal; - m_showCount.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspWwcardLevel::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqWwcardSns::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_WWCARD_SNS; - m_scHead.PackData(strData); -} - -void CCascReqWwcardSns::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_uid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqWwcardSns::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqWwcardSns::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqWwcardSns::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspWwcardSns::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_WWCARD_SNS; - m_scHead.PackData(strData); -} - -void CCascRspWwcardSns::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_STRING; - (*this) << m_xmlstring; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspWwcardSns::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspWwcardSns::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_xmlstring; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspWwcardSns::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqWwcardEvaluate::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_WWCARD_EVALUATE; - m_scHead.PackData(strData); -} - -void CCascReqWwcardEvaluate::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_uid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqWwcardEvaluate::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqWwcardEvaluate::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqWwcardEvaluate::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspWwcardEvaluate::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_WWCARD_EVALUATE; - m_scHead.PackData(strData); -} - -void CCascRspWwcardEvaluate::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_STRING; - (*this) << m_xmlstring; - (*this) << FT_STRING; - (*this) << m_ext; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspWwcardEvaluate::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspWwcardEvaluate::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_xmlstring; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_ext; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspWwcardEvaluate::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqWwcardFavorite::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_WWCARD_FAVORITE; - m_scHead.PackData(strData); -} - -void CCascReqWwcardFavorite::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_uid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqWwcardFavorite::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqWwcardFavorite::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqWwcardFavorite::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspWwcardFavorite::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_WWCARD_FAVORITE; - m_scHead.PackData(strData); -} - -void CCascRspWwcardFavorite::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_STRING; - (*this) << m_xmlstring; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspWwcardFavorite::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspWwcardFavorite::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_xmlstring; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspWwcardFavorite::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqTradeList::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_TRADE_LIST; - m_scHead.PackData(strData); -} - -void CCascReqTradeList::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_reqstring; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqTradeList::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqTradeList::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_reqstring; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqTradeList::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspTradeList::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_TRADE_LIST; - m_scHead.PackData(strData); -} - -void CCascRspTradeList::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_xmlstring; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspTradeList::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspTradeList::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_xmlstring; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspTradeList::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspTradeInfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_TRADE_INFO; - m_scHead.PackData(strData); -} - -void CCascRspTradeInfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_xmlstring; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspTradeInfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspTradeInfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_xmlstring; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspTradeInfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqEsexpandtab::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_ESEXPANDTAB; - m_scHead.PackData(strData); -} - -void CCascReqEsexpandtab::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_reserve; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqEsexpandtab::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqEsexpandtab::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_reserve; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqEsexpandtab::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SExpandinfo& sExpandinfo ) -{ - uint8_t nFieldNum = 3; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sExpandinfo.m_name; - cPackData << FT_STRING; - cPackData << sExpandinfo.m_url; - cPackData << FT_STRING; - cPackData << sExpandinfo.m_picpath; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SExpandinfo& sExpandinfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 3) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sExpandinfo.m_name; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sExpandinfo.m_url; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sExpandinfo.m_picpath; - for(int i = 3; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CCascRspEsexpandtab::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_ESEXPANDTAB; - m_scHead.PackData(strData); -} - -void CCascRspEsexpandtab::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_expandtabs.size(); - (*this) << nLen; - VECTOR< SExpandinfo >::const_iterator itr; - for(itr = m_expandtabs.cbegin(); itr != m_expandtabs.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspEsexpandtab::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspEsexpandtab::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_expandtabs.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SExpandinfo tmpVal; - (*this) >> tmpVal; - m_expandtabs.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspEsexpandtab::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqSendEseval::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_SEND_ESEVAL; - m_scHead.PackData(strData); -} - -void CCascReqSendEseval::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_targetuid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqSendEseval::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqSendEseval::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_targetuid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqSendEseval::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspSendEseval::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_SEND_ESEVAL; - m_scHead.PackData(strData); -} - -void CCascRspSendEseval::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_targetuid; - (*this) << FT_UINT8; - (*this) << m_ret; - (*this) << FT_STRING; - (*this) << m_reserve; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspSendEseval::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspSendEseval::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_targetuid; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_ret; - try - { - if(num < 3) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_reserve; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspSendEseval::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqGetcntlist::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_GETCNTLIST; - m_scHead.PackData(strData); -} - -void CCascReqGetcntlist::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT8; - (*this) << m_type; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqGetcntlist::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqGetcntlist::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqGetcntlist::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SCntinfo& sCntinfo ) -{ - uint8_t nFieldNum = 5; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sCntinfo.m_contactid; - cPackData << FT_STRING; - cPackData << sCntinfo.m_nickname; - cPackData << FT_STRING; - cPackData << sCntinfo.m_groupname; - cPackData << FT_STRING; - cPackData << sCntinfo.m_prelogintime; - cPackData << FT_STRING; - cPackData << sCntinfo.m_createtime; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SCntinfo& sCntinfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 5) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sCntinfo.m_contactid; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sCntinfo.m_nickname; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sCntinfo.m_groupname; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sCntinfo.m_prelogintime; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sCntinfo.m_createtime; - for(int i = 5; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CCascRspGetcntlist::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_GETCNTLIST; - m_scHead.PackData(strData); -} - -void CCascRspGetcntlist::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_cntlist.size(); - (*this) << nLen; - VECTOR< SCntinfo >::const_iterator itr; - for(itr = m_cntlist.cbegin(); itr != m_cntlist.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspGetcntlist::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspGetcntlist::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_cntlist.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SCntinfo tmpVal; - (*this) >> tmpVal; - m_cntlist.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspGetcntlist::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqAuthShellcmd::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_AUTH_SHELLCMD; - m_scHead.PackData(strData); -} - -void CCascReqAuthShellcmd::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_cmdData; - (*this) << FT_STRING; - (*this) << m_sign; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqAuthShellcmd::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqAuthShellcmd::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_cmdData; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sign; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqAuthShellcmd::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspAuthShellcmd::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_AUTH_SHELLCMD; - m_scHead.PackData(strData); -} - -void CCascRspAuthShellcmd::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_cmdData; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspAuthShellcmd::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspAuthShellcmd::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_cmdData; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspAuthShellcmd::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqWwMainsearch::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_WW_MAINSEARCH; - m_scHead.PackData(strData); -} - -void CCascReqWwMainsearch::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_reqData; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqWwMainsearch::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqWwMainsearch::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_reqData; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqWwMainsearch::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspWwMainsearch::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_WW_MAINSEARCH; - m_scHead.PackData(strData); -} - -void CCascRspWwMainsearch::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_rspData; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspWwMainsearch::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspWwMainsearch::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_rspData; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspWwMainsearch::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqGetUsercrinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_GET_USERCRINFO; - m_scHead.PackData(strData); -} - -void CCascReqGetUsercrinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_STRING; - (*this) << m_version; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqGetUsercrinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqGetUsercrinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqGetUsercrinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspGetUsercrinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_GET_USERCRINFO; - m_scHead.PackData(strData); -} - -void CCascRspGetUsercrinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_crstate; - (*this) << FT_UINT32; - (*this) << m_begtime; - (*this) << FT_UINT32; - (*this) << m_crdays; - (*this) << FT_STRING; - (*this) << m_extmsg; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspGetUsercrinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspGetUsercrinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_crstate; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_begtime; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_crdays; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extmsg; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspGetUsercrinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascReqSetUsercrinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_REQ_SET_USERCRINFO; - m_scHead.PackData(strData); -} - -void CCascReqSetUsercrinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_STRING; - (*this) << m_version; - (*this) << FT_UINT8; - (*this) << m_crstate; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascReqSetUsercrinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascReqSetUsercrinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_crstate; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascReqSetUsercrinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CCascRspSetUsercrinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = CASC_RSP_SET_USERCRINFO; - m_scHead.PackData(strData); -} - -void CCascRspSetUsercrinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_crstate; - (*this) << FT_UINT32; - (*this) << m_begtime; - (*this) << FT_UINT32; - (*this) << m_crdays; - (*this) << FT_STRING; - (*this) << m_extmsg; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CCascRspSetUsercrinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CCascRspSetUsercrinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_crstate; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_begtime; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_crdays; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extmsg; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CCascRspSetUsercrinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - diff --git a/features/aliww/source/chkss_pack.cpp b/features/aliww/source/chkss_pack.cpp deleted file mode 100644 index 506c59b..0000000 --- a/features/aliww/source/chkss_pack.cpp +++ /dev/null @@ -1,96 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: chkss_pack.cpp -// Date: 2011-01-30 12:49:12 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "chkss_pack.h" - -void CSsHealthCheck::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_HEALTH_CHECK; - m_ssHead.PackData(strData); -} - -void CSsHealthCheck::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_srvstatus; - (*this) << FT_STRING; - (*this) << m_srvip; - (*this) << FT_UINT16; - (*this) << m_srvport; - (*this) << FT_UINT64; - (*this) << m_appBitmap; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsHealthCheck::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsHealthCheck::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_srvstatus; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_srvip; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_srvport; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_appBitmap; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsHealthCheck::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/contactdbservie.cpp b/features/aliww/source/contactdbservie.cpp deleted file mode 100644 index ae277a2..0000000 --- a/features/aliww/source/contactdbservie.cpp +++ /dev/null @@ -1,6265 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `contactdbservie.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIMDBBase__IContactIMDBService__CheckCanAddContact_name = "CheckCanAddContact"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__UpdateContactWebInfo_name = "UpdateContactWebInfo"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetGroupList_name = "GetGroupList"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetGroupListEx_name = "GetGroupListEx"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetContactList_name = "GetContactList"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetBlackList_name = "GetBlackList"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetReverseBlackList_name = "GetReverseBlackList"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetContactInfo_name = "GetContactInfo"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__AddGroup_name = "AddGroup"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__AddGroupEx_name = "AddGroupEx"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__AddBlackList_name = "AddBlackList"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__UpdateGroup_name = "UpdateGroup"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__MoveGroup_name = "MoveGroup"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__UpdateContactNickName_name = "UpdateContactNickName"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__UpdateContactGroup_name = "UpdateContactGroup"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__UpdateContactStatus_name = "UpdateContactStatus"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__RemoveGroup_name = "RemoveGroup"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__RemoveContact_name = "RemoveContact"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__RemoveInverfiedContact_name = "RemoveInverfiedContact"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__RemoveBlackList_name = "RemoveBlackList"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__IsBlackedByOther_name = "IsBlackedByOther"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__RemoveBatchContacts_name = "RemoveBatchContacts"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetAllContactList_name = "GetAllContactList"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__AddContact_name = "AddContact"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__ModifyCntMemo_name = "ModifyCntMemo"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetCntMemo_name = "GetCntMemo"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__updateContactClientInfo_name = "updateContactClientInfo"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__checkContact_name = "checkContact"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetContactDetailByUid_name = "GetContactDetailByUid"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetContactDetail_name = "GetContactDetail"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__AddGenContactFull_name = "AddGenContactFull"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__DelGenContact_name = "DelGenContact"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__CheckUpgradeGenCnt_name = "CheckUpgradeGenCnt"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__UpgradeGenContact_name = "UpgradeGenContact"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetUpdatedUserInfo_name = "GetUpdatedUserInfo"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__ModifyContactDetail_name = "ModifyContactDetail"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__UpdateContactGroupByCid_name = "UpdateContactGroupByCid"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__UpdateContactNickNameByCid_name = "UpdateContactNickNameByCid"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetCntModifyList_name = "GetCntModifyList"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__addUser_name = "addUser"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__addChildUser_name = "addChildUser"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__GetMultiAccountContactList_name = "GetMultiAccountContactList"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__atmAddContact_name = "atmAddContact"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__atmGetContactDetail_name = "atmGetContactDetail"; - -static const ::std::string __AliIMDBBase__IContactIMDBService__atmModifyContactDetail_name = "atmModifyContactDetail"; - -void -IceInternal::incRef(::AliIMDBBase::IContactIMDBService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIMDBBase::IContactIMDBService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIMDBBase::IContactIMDBService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIMDBBase::IContactIMDBService* p) -{ - p->__decRef(); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::IContactIMDBServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::IContactIMDBServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIMDBBase::IContactIMDBService; - v->__copyFrom(proxy); - } -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::IContactIMDBServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIMDBBase::__addObject(const IContactIMDBServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIMDBBase::__usesClasses(const IContactIMDBServicePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIMDBBase::__decRefUnsafe(const IContactIMDBServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIMDBBase::__clearHandleUnsafe(IContactIMDBServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::CheckCanAddContact(const ::std::string& userId, const ::std::string& buddyId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__CheckCanAddContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->CheckCanAddContact(userId, buddyId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::UpdateContactWebInfo(const ::std::string& userId, const ::std::string& buddyId, const ::AliIMDBBase::SUserWebBasicProfile& cntWebInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__UpdateContactWebInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->UpdateContactWebInfo(userId, buddyId, cntWebInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetGroupList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetGroupList(userId, groupList, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetGroupListEx(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoExSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetGroupListEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetGroupListEx(userId, groupList, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetContactList(const ::std::string& userId, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetContactList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetContactList(userId, getFlag, contactList, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetBlackList(const ::std::string& userId, ::Ice::StringSeq& blackList, ::Ice::Int& blacklistTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetBlackList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetBlackList(userId, blackList, blacklistTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetReverseBlackList(const ::std::string& userId, ::Ice::StringSeq& reverseBlackList, ::Ice::Int& reverseBlacklistTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetReverseBlackList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetReverseBlackList(userId, reverseBlackList, reverseBlacklistTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetContactInfo(const ::std::string& userId, const ::std::string& contactId, ::AliIMDBBase::SICEContactInfo& contactInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetContactInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetContactInfo(userId, contactId, contactInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::AddGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__AddGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->AddGroup(userId, groupName, groupId, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::AddGroupEx(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int parentId, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__AddGroupEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->AddGroupEx(userId, groupName, parentId, groupId, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::AddBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__AddBlackList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->AddBlackList(userId, blackId, blackListTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::UpdateGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__UpdateGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->UpdateGroup(userId, groupName, groupId, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::MoveGroup(const ::std::string& userId, ::Ice::Long groupId, ::Ice::Long newparentgid, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__MoveGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->MoveGroup(userId, groupId, newparentgid, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::UpdateContactNickName(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__UpdateContactNickName_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->UpdateContactNickName(userId, contactId, nickName, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::UpdateContactGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__UpdateContactGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->UpdateContactGroup(userId, contactId, srcGroupId, dstGroupId, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::UpdateContactStatus(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int status, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__UpdateContactStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->UpdateContactStatus(userId, contactId, status, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::RemoveGroup(const ::std::string& userId, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__RemoveGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->RemoveGroup(userId, groupId, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::RemoveContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__RemoveContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->RemoveContact(userId, contactId, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::RemoveInverfiedContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__RemoveInverfiedContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->RemoveInverfiedContact(userId, contactId, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::RemoveBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__RemoveBlackList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->RemoveBlackList(userId, blackId, blackListTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::IsBlackedByOther(const ::std::string& userId, const ::std::string& otheruid, bool& bBlacked, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__IsBlackedByOther_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->IsBlackedByOther(userId, otheruid, bBlacked, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::RemoveBatchContacts(const ::std::string& userId, const ::Ice::StringSeq& cids, ::Ice::StringSeq& retVect, ::Ice::Int& modifyCntTimes, ::Ice::Int& modifyGenCntTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__RemoveBatchContacts_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->RemoveBatchContacts(userId, cids, retVect, modifyCntTimes, modifyGenCntTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetAllContactList(const ::std::string& uid, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, ::Ice::Int& gencontacttimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetAllContactList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetAllContactList(uid, getFlag, contactList, contactTimes, gencontacttimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::AddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::AliIMDBBase::SUserWebBasicProfile& cntInfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__AddContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->AddContact(userId, contactId, nickName, groupId, status, cntInfo, contactTimes, retcid, retmodseqid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::ModifyCntMemo(const ::std::string& uid, const ::std::string& cntid, const ::std::string& memo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__ModifyCntMemo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->ModifyCntMemo(uid, cntid, memo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetCntMemo(const ::std::string& uid, const ::std::string& cntid, ::std::string& memo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetCntMemo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetCntMemo(uid, cntid, memo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::updateContactClientInfo(const ::std::string& uid, const ::std::string& cid, const ::std::string& data, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__updateContactClientInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->updateContactClientInfo(uid, cid, data, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::checkContact(const ::std::string& uid, const ::std::string& contactId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__checkContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->checkContact(uid, contactId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetContactDetailByUid(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetContactDetailByUid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetContactDetailByUid(uid, cid, detail, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetContactDetail_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetContactDetail(uid, cid, detail, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull& detail, ::std::string& retscid, ::std::string& retsmodseqid, ::Ice::Long& timeStamps, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__AddGenContactFull_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->AddGenContactFull(detail, retscid, retsmodseqid, timeStamps, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::DelGenContact(const ::std::string& uid, const ::std::string& cid, ::Ice::Long& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__DelGenContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->DelGenContact(uid, cid, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::CheckUpgradeGenCnt(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__CheckUpgradeGenCnt_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->CheckUpgradeGenCnt(uid, cid, contactId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::UpgradeGenContact(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& modseqid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__UpgradeGenContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->UpgradeGenContact(uid, cid, contactId, cntstamp, gencntstamp, modseqid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetUpdatedUserInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& retcid, ::std::string& modseqid, ::Ice::Long& groupid, ::std::string& nickname, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetUpdatedUserInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetUpdatedUserInfo(uid, contactId, cntstamp, gencntstamp, retcid, modseqid, groupid, nickname, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__ModifyContactDetail_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->ModifyContactDetail(detail, gencntmodifyVersion, modseqid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::UpdateContactGroupByCid(const ::std::string& userId, const ::std::string& cid, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__UpdateContactGroupByCid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->UpdateContactGroupByCid(userId, cid, srcGroupId, dstGroupId, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::UpdateContactNickNameByCid(const ::std::string& userId, const ::std::string& cid, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__UpdateContactNickNameByCid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->UpdateContactNickNameByCid(userId, cid, nickName, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetCntModifyList(::Ice::Int getFlag, const ::std::string& uid, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntCidModPairSeq& cntList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetCntModifyList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetCntModifyList(getFlag, uid, sMaxSeqId, cntList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::addUser(const ::std::string& uid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__addUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->addUser(uid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::addChildUser(const ::std::string& uid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__addChildUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->addChildUser(uid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::GetMultiAccountContactList(const ::std::string& uid, ::AliIMDBBase::SICEContactInfoSeq& contactIdList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__GetMultiAccountContactList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->GetMultiAccountContactList(uid, contactIdList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::atmAddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::atmWebMember::sContactInfo& cinfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__atmAddContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->atmAddContact(userId, contactId, nickName, groupId, status, cinfo, contactTimes, retcid, retmodseqid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::atmGetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEATMGenContactFull& detail, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__atmGetContactDetail_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->atmGetContactDetail(uid, cid, detail, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IContactIMDBService::atmModifyContactDetail(const ::AliIMDBBase::SICEATMGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IContactIMDBService__atmModifyContactDetail_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IContactIMDBService* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IContactIMDBService*>(__delBase.get()); - return __del->atmModifyContactDetail(detail, gencntmodifyVersion, modseqid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIMDBBase::IContactIMDBService::ice_staticId() -{ - return ::AliIMDBBase::IContactIMDBService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIMDBBase::IContactIMDBService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIMDBBase::IContactIMDBService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIMDBBase::IContactIMDBService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIMDBBase::IContactIMDBService); -} - -bool -IceProxy::AliIMDBBase::operator==(const ::IceProxy::AliIMDBBase::IContactIMDBService& l, const ::IceProxy::AliIMDBBase::IContactIMDBService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIMDBBase::operator!=(const ::IceProxy::AliIMDBBase::IContactIMDBService& l, const ::IceProxy::AliIMDBBase::IContactIMDBService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIMDBBase::operator<(const ::IceProxy::AliIMDBBase::IContactIMDBService& l, const ::IceProxy::AliIMDBBase::IContactIMDBService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIMDBBase::operator<=(const ::IceProxy::AliIMDBBase::IContactIMDBService& l, const ::IceProxy::AliIMDBBase::IContactIMDBService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIMDBBase::operator>(const ::IceProxy::AliIMDBBase::IContactIMDBService& l, const ::IceProxy::AliIMDBBase::IContactIMDBService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIMDBBase::operator>=(const ::IceProxy::AliIMDBBase::IContactIMDBService& l, const ::IceProxy::AliIMDBBase::IContactIMDBService& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::CheckCanAddContact(const ::std::string& userId, const ::std::string& buddyId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__CheckCanAddContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(buddyId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::UpdateContactWebInfo(const ::std::string& userId, const ::std::string& buddyId, const ::AliIMDBBase::SUserWebBasicProfile& cntWebInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__UpdateContactWebInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(buddyId); - cntWebInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetGroupList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, groupList, ::AliIMDBBase::__U__SICEGroupInfoSeq()); - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetGroupListEx(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoExSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetGroupListEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, groupList, ::AliIMDBBase::__U__SICEGroupInfoExSeq()); - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetContactList(const ::std::string& userId, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetContactList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(getFlag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, contactList, ::AliIMDBBase::__U__SICEContactInfoSeq()); - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetBlackList(const ::std::string& userId, ::Ice::StringSeq& blackList, ::Ice::Int& blacklistTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetBlackList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(blackList); - __is->read(blacklistTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetReverseBlackList(const ::std::string& userId, ::Ice::StringSeq& reverseBlackList, ::Ice::Int& reverseBlacklistTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetReverseBlackList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(reverseBlackList); - __is->read(reverseBlacklistTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetContactInfo(const ::std::string& userId, const ::std::string& contactId, ::AliIMDBBase::SICEContactInfo& contactInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetContactInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - contactInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::AddGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__AddGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupName); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupId); - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::AddGroupEx(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int parentId, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__AddGroupEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupName); - __os->write(parentId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupId); - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::AddBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__AddBlackList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(blackId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(blackListTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::UpdateGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__UpdateGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupName); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::MoveGroup(const ::std::string& userId, ::Ice::Long groupId, ::Ice::Long newparentgid, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__MoveGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupId); - __os->write(newparentgid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::UpdateContactNickName(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__UpdateContactNickName_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - __os->write(nickName); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::UpdateContactGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__UpdateContactGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - __os->write(srcGroupId); - __os->write(dstGroupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::UpdateContactStatus(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int status, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__UpdateContactStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - __os->write(status); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::RemoveGroup(const ::std::string& userId, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__RemoveGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::RemoveContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__RemoveContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::RemoveInverfiedContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__RemoveInverfiedContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::RemoveBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__RemoveBlackList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(blackId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(blackListTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::IsBlackedByOther(const ::std::string& userId, const ::std::string& otheruid, bool& bBlacked, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__IsBlackedByOther_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(otheruid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(bBlacked); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::RemoveBatchContacts(const ::std::string& userId, const ::Ice::StringSeq& cids, ::Ice::StringSeq& retVect, ::Ice::Int& modifyCntTimes, ::Ice::Int& modifyGenCntTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__RemoveBatchContacts_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - if(cids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&cids[0], &cids[0] + cids.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(retVect); - __is->read(modifyCntTimes); - __is->read(modifyGenCntTime); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetAllContactList(const ::std::string& uid, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, ::Ice::Int& gencontacttimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetAllContactList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(getFlag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, contactList, ::AliIMDBBase::__U__SICEContactInfoSeq()); - __is->read(contactTimes); - __is->read(gencontacttimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::AddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::AliIMDBBase::SUserWebBasicProfile& cntInfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__AddContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - __os->write(nickName); - __os->write(groupId); - __os->write(status); - cntInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(retcid); - __is->read(retmodseqid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::ModifyCntMemo(const ::std::string& uid, const ::std::string& cntid, const ::std::string& memo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__ModifyCntMemo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cntid); - __os->write(memo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetCntMemo(const ::std::string& uid, const ::std::string& cntid, ::std::string& memo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetCntMemo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cntid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(memo); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::updateContactClientInfo(const ::std::string& uid, const ::std::string& cid, const ::std::string& data, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__updateContactClientInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - __os->write(data); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::checkContact(const ::std::string& uid, const ::std::string& contactId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__checkContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetContactDetailByUid(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetContactDetailByUid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - detail.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetContactDetail_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - detail.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull& detail, ::std::string& retscid, ::std::string& retsmodseqid, ::Ice::Long& timeStamps, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__AddGenContactFull_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - detail.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(retscid); - __is->read(retsmodseqid); - __is->read(timeStamps); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::DelGenContact(const ::std::string& uid, const ::std::string& cid, ::Ice::Long& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__DelGenContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::CheckUpgradeGenCnt(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__CheckUpgradeGenCnt_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::UpgradeGenContact(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& modseqid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__UpgradeGenContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(cntstamp); - __is->read(gencntstamp); - __is->read(modseqid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetUpdatedUserInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& retcid, ::std::string& modseqid, ::Ice::Long& groupid, ::std::string& nickname, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetUpdatedUserInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(cntstamp); - __is->read(gencntstamp); - __is->read(retcid); - __is->read(modseqid); - __is->read(groupid); - __is->read(nickname); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__ModifyContactDetail_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - detail.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(gencntmodifyVersion); - __is->read(modseqid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::UpdateContactGroupByCid(const ::std::string& userId, const ::std::string& cid, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__UpdateContactGroupByCid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(cid); - __os->write(srcGroupId); - __os->write(dstGroupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::UpdateContactNickNameByCid(const ::std::string& userId, const ::std::string& cid, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__UpdateContactNickNameByCid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(cid); - __os->write(nickName); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetCntModifyList(::Ice::Int getFlag, const ::std::string& uid, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntCidModPairSeq& cntList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetCntModifyList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(getFlag); - __os->write(uid); - __os->write(sMaxSeqId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, cntList, ::AliIMDBBase::__U__SICECntCidModPairSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::addUser(const ::std::string& uid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__addUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::addChildUser(const ::std::string& uid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__addChildUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::GetMultiAccountContactList(const ::std::string& uid, ::AliIMDBBase::SICEContactInfoSeq& contactIdList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__GetMultiAccountContactList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, contactIdList, ::AliIMDBBase::__U__SICEContactInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::atmAddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::atmWebMember::sContactInfo& cinfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__atmAddContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - __os->write(nickName); - __os->write(groupId); - __os->write(status); - cinfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(retcid); - __is->read(retmodseqid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::atmGetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEATMGenContactFull& detail, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__atmGetContactDetail_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - detail.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IContactIMDBService::atmModifyContactDetail(const ::AliIMDBBase::SICEATMGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IContactIMDBService__atmModifyContactDetail_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - detail.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(gencntmodifyVersion); - __is->read(modseqid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::CheckCanAddContact(const ::std::string& userId, const ::std::string& buddyId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__CheckCanAddContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->CheckCanAddContact(userId, buddyId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::UpdateContactWebInfo(const ::std::string& userId, const ::std::string& buddyId, const ::AliIMDBBase::SUserWebBasicProfile& cntWebInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__UpdateContactWebInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateContactWebInfo(userId, buddyId, cntWebInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetGroupList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetGroupList(userId, groupList, groupTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetGroupListEx(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoExSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetGroupListEx_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetGroupListEx(userId, groupList, groupTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetContactList(const ::std::string& userId, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetContactList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetContactList(userId, getFlag, contactList, contactTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetBlackList(const ::std::string& userId, ::Ice::StringSeq& blackList, ::Ice::Int& blacklistTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetBlackList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetBlackList(userId, blackList, blacklistTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetReverseBlackList(const ::std::string& userId, ::Ice::StringSeq& reverseBlackList, ::Ice::Int& reverseBlacklistTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetReverseBlackList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetReverseBlackList(userId, reverseBlackList, reverseBlacklistTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetContactInfo(const ::std::string& userId, const ::std::string& contactId, ::AliIMDBBase::SICEContactInfo& contactInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetContactInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetContactInfo(userId, contactId, contactInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::AddGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__AddGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddGroup(userId, groupName, groupId, groupTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::AddGroupEx(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int parentId, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__AddGroupEx_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddGroupEx(userId, groupName, parentId, groupId, groupTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::AddBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__AddBlackList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddBlackList(userId, blackId, blackListTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::UpdateGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__UpdateGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateGroup(userId, groupName, groupId, groupTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::MoveGroup(const ::std::string& userId, ::Ice::Long groupId, ::Ice::Long newparentgid, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__MoveGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->MoveGroup(userId, groupId, newparentgid, groupTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::UpdateContactNickName(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__UpdateContactNickName_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateContactNickName(userId, contactId, nickName, contactTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::UpdateContactGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__UpdateContactGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateContactGroup(userId, contactId, srcGroupId, dstGroupId, contactTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::UpdateContactStatus(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int status, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__UpdateContactStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateContactStatus(userId, contactId, status, contactTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::RemoveGroup(const ::std::string& userId, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__RemoveGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->RemoveGroup(userId, groupId, groupTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::RemoveContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__RemoveContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->RemoveContact(userId, contactId, contactTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::RemoveInverfiedContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__RemoveInverfiedContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->RemoveInverfiedContact(userId, contactId, contactTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::RemoveBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__RemoveBlackList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->RemoveBlackList(userId, blackId, blackListTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::IsBlackedByOther(const ::std::string& userId, const ::std::string& otheruid, bool& bBlacked, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__IsBlackedByOther_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->IsBlackedByOther(userId, otheruid, bBlacked, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::RemoveBatchContacts(const ::std::string& userId, const ::Ice::StringSeq& cids, ::Ice::StringSeq& retVect, ::Ice::Int& modifyCntTimes, ::Ice::Int& modifyGenCntTime, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__RemoveBatchContacts_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->RemoveBatchContacts(userId, cids, retVect, modifyCntTimes, modifyGenCntTime, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetAllContactList(const ::std::string& uid, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, ::Ice::Int& gencontacttimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetAllContactList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetAllContactList(uid, getFlag, contactList, contactTimes, gencontacttimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::AddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::AliIMDBBase::SUserWebBasicProfile& cntInfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__AddContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddContact(userId, contactId, nickName, groupId, status, cntInfo, contactTimes, retcid, retmodseqid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::ModifyCntMemo(const ::std::string& uid, const ::std::string& cntid, const ::std::string& memo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__ModifyCntMemo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->ModifyCntMemo(uid, cntid, memo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetCntMemo(const ::std::string& uid, const ::std::string& cntid, ::std::string& memo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetCntMemo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetCntMemo(uid, cntid, memo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::updateContactClientInfo(const ::std::string& uid, const ::std::string& cid, const ::std::string& data, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__updateContactClientInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateContactClientInfo(uid, cid, data, contactTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::checkContact(const ::std::string& uid, const ::std::string& contactId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__checkContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkContact(uid, contactId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetContactDetailByUid(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetContactDetailByUid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetContactDetailByUid(uid, cid, detail, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetContactDetail_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetContactDetail(uid, cid, detail, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull& detail, ::std::string& retscid, ::std::string& retsmodseqid, ::Ice::Long& timeStamps, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__AddGenContactFull_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddGenContactFull(detail, retscid, retsmodseqid, timeStamps, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::DelGenContact(const ::std::string& uid, const ::std::string& cid, ::Ice::Long& contactTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__DelGenContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DelGenContact(uid, cid, contactTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::CheckUpgradeGenCnt(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__CheckUpgradeGenCnt_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->CheckUpgradeGenCnt(uid, cid, contactId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::UpgradeGenContact(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& modseqid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__UpgradeGenContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpgradeGenContact(uid, cid, contactId, cntstamp, gencntstamp, modseqid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetUpdatedUserInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& retcid, ::std::string& modseqid, ::Ice::Long& groupid, ::std::string& nickname, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetUpdatedUserInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUpdatedUserInfo(uid, contactId, cntstamp, gencntstamp, retcid, modseqid, groupid, nickname, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__ModifyContactDetail_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->ModifyContactDetail(detail, gencntmodifyVersion, modseqid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::UpdateContactGroupByCid(const ::std::string& userId, const ::std::string& cid, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__UpdateContactGroupByCid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateContactGroupByCid(userId, cid, srcGroupId, dstGroupId, contactTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::UpdateContactNickNameByCid(const ::std::string& userId, const ::std::string& cid, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__UpdateContactNickNameByCid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateContactNickNameByCid(userId, cid, nickName, contactTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetCntModifyList(::Ice::Int getFlag, const ::std::string& uid, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntCidModPairSeq& cntList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetCntModifyList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetCntModifyList(getFlag, uid, sMaxSeqId, cntList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::addUser(const ::std::string& uid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__addUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->addUser(uid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::addChildUser(const ::std::string& uid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__addChildUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->addChildUser(uid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::GetMultiAccountContactList(const ::std::string& uid, ::AliIMDBBase::SICEContactInfoSeq& contactIdList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__GetMultiAccountContactList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetMultiAccountContactList(uid, contactIdList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::atmAddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::atmWebMember::sContactInfo& cinfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__atmAddContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->atmAddContact(userId, contactId, nickName, groupId, status, cinfo, contactTimes, retcid, retmodseqid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::atmGetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEATMGenContactFull& detail, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__atmGetContactDetail_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->atmGetContactDetail(uid, cid, detail, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IContactIMDBService::atmModifyContactDetail(const ::AliIMDBBase::SICEATMGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__IContactIMDBService__atmModifyContactDetail_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::IContactIMDBService* __servant = dynamic_cast< ::AliIMDBBase::IContactIMDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->atmModifyContactDetail(detail, gencntmodifyVersion, modseqid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIMDBBase::IContactIMDBService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIMDBBase__IContactIMDBService_ids[2] = -{ - "::AliIMDBBase::IContactIMDBService", - "::Ice::Object" -}; - -bool -AliIMDBBase::IContactIMDBService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIMDBBase__IContactIMDBService_ids, __AliIMDBBase__IContactIMDBService_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIMDBBase::IContactIMDBService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIMDBBase__IContactIMDBService_ids[0], &__AliIMDBBase__IContactIMDBService_ids[2]); -} - -const ::std::string& -AliIMDBBase::IContactIMDBService::ice_id(const ::Ice::Current&) const -{ - return __AliIMDBBase__IContactIMDBService_ids[0]; -} - -const ::std::string& -AliIMDBBase::IContactIMDBService::ice_staticId() -{ - return __AliIMDBBase__IContactIMDBService_ids[0]; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___CheckCanAddContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string buddyId; - __is->read(userId); - __is->read(buddyId); - ::Ice::Int __ret = CheckCanAddContact(userId, buddyId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___UpdateContactWebInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string buddyId; - ::AliIMDBBase::SUserWebBasicProfile cntWebInfo; - __is->read(userId); - __is->read(buddyId); - cntWebInfo.__read(__is); - ::Ice::Int __ret = UpdateContactWebInfo(userId, buddyId, cntWebInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetGroupList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::SICEGroupInfoSeq groupList; - ::Ice::Int groupTimes; - ::Ice::Int __ret = GetGroupList(userId, groupList, groupTimes, __current); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &groupList[0], &groupList[0] + groupList.size(), ::AliIMDBBase::__U__SICEGroupInfoSeq()); - } - __os->write(groupTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetGroupListEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::SICEGroupInfoExSeq groupList; - ::Ice::Int groupTimes; - ::Ice::Int __ret = GetGroupListEx(userId, groupList, groupTimes, __current); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &groupList[0], &groupList[0] + groupList.size(), ::AliIMDBBase::__U__SICEGroupInfoExSeq()); - } - __os->write(groupTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetContactList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int getFlag; - __is->read(userId); - __is->read(getFlag); - ::AliIMDBBase::SICEContactInfoSeq contactList; - ::Ice::Int contactTimes; - ::Ice::Int __ret = GetContactList(userId, getFlag, contactList, contactTimes, __current); - if(contactList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &contactList[0], &contactList[0] + contactList.size(), ::AliIMDBBase::__U__SICEContactInfoSeq()); - } - __os->write(contactTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetBlackList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::StringSeq blackList; - ::Ice::Int blacklistTimes; - ::Ice::Int __ret = GetBlackList(userId, blackList, blacklistTimes, __current); - if(blackList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&blackList[0], &blackList[0] + blackList.size()); - } - __os->write(blacklistTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetReverseBlackList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::StringSeq reverseBlackList; - ::Ice::Int reverseBlacklistTimes; - ::Ice::Int __ret = GetReverseBlackList(userId, reverseBlackList, reverseBlacklistTimes, __current); - if(reverseBlackList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&reverseBlackList[0], &reverseBlackList[0] + reverseBlackList.size()); - } - __os->write(reverseBlacklistTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetContactInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string contactId; - __is->read(userId); - __is->read(contactId); - ::AliIMDBBase::SICEContactInfo contactInfo; - ::Ice::Int __ret = GetContactInfo(userId, contactId, contactInfo, __current); - contactInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___AddGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string groupName; - __is->read(userId); - __is->read(groupName); - ::Ice::Int groupId; - ::Ice::Int groupTimes; - ::Ice::Int __ret = AddGroup(userId, groupName, groupId, groupTimes, __current); - __os->write(groupId); - __os->write(groupTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___AddGroupEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string groupName; - ::Ice::Int parentId; - __is->read(userId); - __is->read(groupName); - __is->read(parentId); - ::Ice::Int groupId; - ::Ice::Int groupTimes; - ::Ice::Int __ret = AddGroupEx(userId, groupName, parentId, groupId, groupTimes, __current); - __os->write(groupId); - __os->write(groupTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___AddBlackList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string blackId; - __is->read(userId); - __is->read(blackId); - ::Ice::Int blackListTimes; - ::Ice::Int __ret = AddBlackList(userId, blackId, blackListTimes, __current); - __os->write(blackListTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___UpdateGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string groupName; - ::Ice::Int groupId; - __is->read(userId); - __is->read(groupName); - __is->read(groupId); - ::Ice::Int groupTimes; - ::Ice::Int __ret = UpdateGroup(userId, groupName, groupId, groupTimes, __current); - __os->write(groupTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___MoveGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Long groupId; - ::Ice::Long newparentgid; - __is->read(userId); - __is->read(groupId); - __is->read(newparentgid); - ::Ice::Int groupTimes; - ::Ice::Int __ret = MoveGroup(userId, groupId, newparentgid, groupTimes, __current); - __os->write(groupTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___UpdateContactNickName(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string contactId; - ::std::string nickName; - __is->read(userId); - __is->read(contactId); - __is->read(nickName); - ::Ice::Int contactTimes; - ::Ice::Int __ret = UpdateContactNickName(userId, contactId, nickName, contactTimes, __current); - __os->write(contactTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___UpdateContactGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string contactId; - ::Ice::Int srcGroupId; - ::Ice::Int dstGroupId; - __is->read(userId); - __is->read(contactId); - __is->read(srcGroupId); - __is->read(dstGroupId); - ::Ice::Int contactTimes; - ::Ice::Int __ret = UpdateContactGroup(userId, contactId, srcGroupId, dstGroupId, contactTimes, __current); - __os->write(contactTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___UpdateContactStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string contactId; - ::Ice::Int status; - __is->read(userId); - __is->read(contactId); - __is->read(status); - ::Ice::Int contactTimes; - ::Ice::Int __ret = UpdateContactStatus(userId, contactId, status, contactTimes, __current); - __os->write(contactTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___RemoveGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int groupId; - __is->read(userId); - __is->read(groupId); - ::Ice::Int groupTimes; - ::Ice::Int __ret = RemoveGroup(userId, groupId, groupTimes, __current); - __os->write(groupTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___RemoveContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string contactId; - __is->read(userId); - __is->read(contactId); - ::Ice::Int contactTimes; - ::Ice::Int __ret = RemoveContact(userId, contactId, contactTimes, __current); - __os->write(contactTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___RemoveInverfiedContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string contactId; - __is->read(userId); - __is->read(contactId); - ::Ice::Int contactTimes; - ::Ice::Int __ret = RemoveInverfiedContact(userId, contactId, contactTimes, __current); - __os->write(contactTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___RemoveBlackList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string blackId; - __is->read(userId); - __is->read(blackId); - ::Ice::Int blackListTimes; - ::Ice::Int __ret = RemoveBlackList(userId, blackId, blackListTimes, __current); - __os->write(blackListTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___IsBlackedByOther(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string otheruid; - __is->read(userId); - __is->read(otheruid); - bool bBlacked; - ::Ice::Int __ret = IsBlackedByOther(userId, otheruid, bBlacked, __current); - __os->write(bBlacked); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___RemoveBatchContacts(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::StringSeq cids; - __is->read(userId); - __is->read(cids); - ::Ice::StringSeq retVect; - ::Ice::Int modifyCntTimes; - ::Ice::Int modifyGenCntTime; - ::Ice::Int __ret = RemoveBatchContacts(userId, cids, retVect, modifyCntTimes, modifyGenCntTime, __current); - if(retVect.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&retVect[0], &retVect[0] + retVect.size()); - } - __os->write(modifyCntTimes); - __os->write(modifyGenCntTime); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetAllContactList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int getFlag; - __is->read(uid); - __is->read(getFlag); - ::AliIMDBBase::SICEContactInfoSeq contactList; - ::Ice::Int contactTimes; - ::Ice::Int gencontacttimes; - ::Ice::Int __ret = GetAllContactList(uid, getFlag, contactList, contactTimes, gencontacttimes, __current); - if(contactList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &contactList[0], &contactList[0] + contactList.size(), ::AliIMDBBase::__U__SICEContactInfoSeq()); - } - __os->write(contactTimes); - __os->write(gencontacttimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___AddContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string contactId; - ::std::string nickName; - ::Ice::Int groupId; - ::Ice::Int status; - ::AliIMDBBase::SUserWebBasicProfile cntInfo; - __is->read(userId); - __is->read(contactId); - __is->read(nickName); - __is->read(groupId); - __is->read(status); - cntInfo.__read(__is); - ::Ice::Int contactTimes; - ::std::string retcid; - ::std::string retmodseqid; - ::Ice::Int __ret = AddContact(userId, contactId, nickName, groupId, status, cntInfo, contactTimes, retcid, retmodseqid, __current); - __os->write(contactTimes); - __os->write(retcid); - __os->write(retmodseqid); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___ModifyCntMemo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string cntid; - ::std::string memo; - __is->read(uid); - __is->read(cntid); - __is->read(memo); - ::Ice::Int __ret = ModifyCntMemo(uid, cntid, memo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetCntMemo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string cntid; - __is->read(uid); - __is->read(cntid); - ::std::string memo; - ::Ice::Int __ret = GetCntMemo(uid, cntid, memo, __current); - __os->write(memo); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___updateContactClientInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string cid; - ::std::string data; - __is->read(uid); - __is->read(cid); - __is->read(data); - ::Ice::Int contactTimes; - ::Ice::Int __ret = updateContactClientInfo(uid, cid, data, contactTimes, __current); - __os->write(contactTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___checkContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string contactId; - __is->read(uid); - __is->read(contactId); - ::Ice::Int __ret = checkContact(uid, contactId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetContactDetailByUid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string cid; - __is->read(uid); - __is->read(cid); - ::AliIMDBBase::SICEGenContactFull detail; - ::Ice::Int __ret = GetContactDetailByUid(uid, cid, detail, __current); - detail.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetContactDetail(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string cid; - __is->read(uid); - __is->read(cid); - ::AliIMDBBase::SICEGenContactFull detail; - ::Ice::Int __ret = GetContactDetail(uid, cid, detail, __current); - detail.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___AddGenContactFull(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliIMDBBase::SICEGenContactFull detail; - detail.__read(__is); - ::std::string retscid; - ::std::string retsmodseqid; - ::Ice::Long timeStamps; - ::Ice::Int __ret = AddGenContactFull(detail, retscid, retsmodseqid, timeStamps, __current); - __os->write(retscid); - __os->write(retsmodseqid); - __os->write(timeStamps); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___DelGenContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string cid; - __is->read(uid); - __is->read(cid); - ::Ice::Long contactTimes; - ::Ice::Int __ret = DelGenContact(uid, cid, contactTimes, __current); - __os->write(contactTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___CheckUpgradeGenCnt(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string cid; - ::std::string contactId; - __is->read(uid); - __is->read(cid); - __is->read(contactId); - ::Ice::Int __ret = CheckUpgradeGenCnt(uid, cid, contactId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___UpgradeGenContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string cid; - ::std::string contactId; - __is->read(uid); - __is->read(cid); - __is->read(contactId); - ::Ice::Long cntstamp; - ::Ice::Long gencntstamp; - ::std::string modseqid; - ::Ice::Int __ret = UpgradeGenContact(uid, cid, contactId, cntstamp, gencntstamp, modseqid, __current); - __os->write(cntstamp); - __os->write(gencntstamp); - __os->write(modseqid); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetUpdatedUserInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string contactId; - __is->read(uid); - __is->read(contactId); - ::Ice::Long cntstamp; - ::Ice::Long gencntstamp; - ::std::string retcid; - ::std::string modseqid; - ::Ice::Long groupid; - ::std::string nickname; - ::Ice::Int __ret = GetUpdatedUserInfo(uid, contactId, cntstamp, gencntstamp, retcid, modseqid, groupid, nickname, __current); - __os->write(cntstamp); - __os->write(gencntstamp); - __os->write(retcid); - __os->write(modseqid); - __os->write(groupid); - __os->write(nickname); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___ModifyContactDetail(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliIMDBBase::SICEGenContactFull detail; - detail.__read(__is); - ::Ice::Long gencntmodifyVersion; - ::std::string modseqid; - ::Ice::Int __ret = ModifyContactDetail(detail, gencntmodifyVersion, modseqid, __current); - __os->write(gencntmodifyVersion); - __os->write(modseqid); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___UpdateContactGroupByCid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string cid; - ::Ice::Int srcGroupId; - ::Ice::Int dstGroupId; - __is->read(userId); - __is->read(cid); - __is->read(srcGroupId); - __is->read(dstGroupId); - ::Ice::Int contactTimes; - ::Ice::Int __ret = UpdateContactGroupByCid(userId, cid, srcGroupId, dstGroupId, contactTimes, __current); - __os->write(contactTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___UpdateContactNickNameByCid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string cid; - ::std::string nickName; - __is->read(userId); - __is->read(cid); - __is->read(nickName); - ::Ice::Int contactTimes; - ::Ice::Int __ret = UpdateContactNickNameByCid(userId, cid, nickName, contactTimes, __current); - __os->write(contactTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetCntModifyList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int getFlag; - ::std::string uid; - ::std::string sMaxSeqId; - __is->read(getFlag); - __is->read(uid); - __is->read(sMaxSeqId); - ::AliIMDBBase::SICECntCidModPairSeq cntList; - ::Ice::Int __ret = GetCntModifyList(getFlag, uid, sMaxSeqId, cntList, __current); - if(cntList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &cntList[0], &cntList[0] + cntList.size(), ::AliIMDBBase::__U__SICECntCidModPairSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___addUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::Int __ret = addUser(uid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___addChildUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::Int __ret = addChildUser(uid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___GetMultiAccountContactList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::SICEContactInfoSeq contactIdList; - ::Ice::Int __ret = GetMultiAccountContactList(uid, contactIdList, __current); - if(contactIdList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &contactIdList[0], &contactIdList[0] + contactIdList.size(), ::AliIMDBBase::__U__SICEContactInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___atmAddContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string contactId; - ::std::string nickName; - ::Ice::Int groupId; - ::Ice::Int status; - ::atmWebMember::sContactInfo cinfo; - __is->read(userId); - __is->read(contactId); - __is->read(nickName); - __is->read(groupId); - __is->read(status); - cinfo.__read(__is); - ::Ice::Int contactTimes; - ::std::string retcid; - ::std::string retmodseqid; - ::Ice::Int __ret = atmAddContact(userId, contactId, nickName, groupId, status, cinfo, contactTimes, retcid, retmodseqid, __current); - __os->write(contactTimes); - __os->write(retcid); - __os->write(retmodseqid); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___atmGetContactDetail(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string cid; - __is->read(uid); - __is->read(cid); - ::AliIMDBBase::SICEATMGenContactFull detail; - ::Ice::Int __ret = atmGetContactDetail(uid, cid, detail, __current); - detail.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::___atmModifyContactDetail(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliIMDBBase::SICEATMGenContactFull detail; - detail.__read(__is); - ::Ice::Long gencntmodifyVersion; - ::std::string modseqid; - ::Ice::Int __ret = atmModifyContactDetail(detail, gencntmodifyVersion, modseqid, __current); - __os->write(gencntmodifyVersion); - __os->write(modseqid); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIMDBBase__IContactIMDBService_all[] = -{ - "AddBlackList", - "AddContact", - "AddGenContactFull", - "AddGroup", - "AddGroupEx", - "CheckCanAddContact", - "CheckUpgradeGenCnt", - "DelGenContact", - "GetAllContactList", - "GetBlackList", - "GetCntMemo", - "GetCntModifyList", - "GetContactDetail", - "GetContactDetailByUid", - "GetContactInfo", - "GetContactList", - "GetGroupList", - "GetGroupListEx", - "GetMultiAccountContactList", - "GetReverseBlackList", - "GetUpdatedUserInfo", - "IsBlackedByOther", - "ModifyCntMemo", - "ModifyContactDetail", - "MoveGroup", - "RemoveBatchContacts", - "RemoveBlackList", - "RemoveContact", - "RemoveGroup", - "RemoveInverfiedContact", - "UpdateContactGroup", - "UpdateContactGroupByCid", - "UpdateContactNickName", - "UpdateContactNickNameByCid", - "UpdateContactStatus", - "UpdateContactWebInfo", - "UpdateGroup", - "UpgradeGenContact", - "addChildUser", - "addUser", - "atmAddContact", - "atmGetContactDetail", - "atmModifyContactDetail", - "checkContact", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "updateContactClientInfo" -}; - -::IceInternal::DispatchStatus -AliIMDBBase::IContactIMDBService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIMDBBase__IContactIMDBService_all, __AliIMDBBase__IContactIMDBService_all + 49, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIMDBBase__IContactIMDBService_all) - { - case 0: - { - return ___AddBlackList(in, current); - } - case 1: - { - return ___AddContact(in, current); - } - case 2: - { - return ___AddGenContactFull(in, current); - } - case 3: - { - return ___AddGroup(in, current); - } - case 4: - { - return ___AddGroupEx(in, current); - } - case 5: - { - return ___CheckCanAddContact(in, current); - } - case 6: - { - return ___CheckUpgradeGenCnt(in, current); - } - case 7: - { - return ___DelGenContact(in, current); - } - case 8: - { - return ___GetAllContactList(in, current); - } - case 9: - { - return ___GetBlackList(in, current); - } - case 10: - { - return ___GetCntMemo(in, current); - } - case 11: - { - return ___GetCntModifyList(in, current); - } - case 12: - { - return ___GetContactDetail(in, current); - } - case 13: - { - return ___GetContactDetailByUid(in, current); - } - case 14: - { - return ___GetContactInfo(in, current); - } - case 15: - { - return ___GetContactList(in, current); - } - case 16: - { - return ___GetGroupList(in, current); - } - case 17: - { - return ___GetGroupListEx(in, current); - } - case 18: - { - return ___GetMultiAccountContactList(in, current); - } - case 19: - { - return ___GetReverseBlackList(in, current); - } - case 20: - { - return ___GetUpdatedUserInfo(in, current); - } - case 21: - { - return ___IsBlackedByOther(in, current); - } - case 22: - { - return ___ModifyCntMemo(in, current); - } - case 23: - { - return ___ModifyContactDetail(in, current); - } - case 24: - { - return ___MoveGroup(in, current); - } - case 25: - { - return ___RemoveBatchContacts(in, current); - } - case 26: - { - return ___RemoveBlackList(in, current); - } - case 27: - { - return ___RemoveContact(in, current); - } - case 28: - { - return ___RemoveGroup(in, current); - } - case 29: - { - return ___RemoveInverfiedContact(in, current); - } - case 30: - { - return ___UpdateContactGroup(in, current); - } - case 31: - { - return ___UpdateContactGroupByCid(in, current); - } - case 32: - { - return ___UpdateContactNickName(in, current); - } - case 33: - { - return ___UpdateContactNickNameByCid(in, current); - } - case 34: - { - return ___UpdateContactStatus(in, current); - } - case 35: - { - return ___UpdateContactWebInfo(in, current); - } - case 36: - { - return ___UpdateGroup(in, current); - } - case 37: - { - return ___UpgradeGenContact(in, current); - } - case 38: - { - return ___addChildUser(in, current); - } - case 39: - { - return ___addUser(in, current); - } - case 40: - { - return ___atmAddContact(in, current); - } - case 41: - { - return ___atmGetContactDetail(in, current); - } - case 42: - { - return ___atmModifyContactDetail(in, current); - } - case 43: - { - return ___checkContact(in, current); - } - case 44: - { - return ___ice_id(in, current); - } - case 45: - { - return ___ice_ids(in, current); - } - case 46: - { - return ___ice_isA(in, current); - } - case 47: - { - return ___ice_ping(in, current); - } - case 48: - { - return ___updateContactClientInfo(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIMDBBase::IContactIMDBService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIMDBBase::IContactIMDBService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIMDBBase::IContactIMDBService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIMDBBase::IContactIMDBService was not generated with stream support"; - throw ex; -} - -void -AliIMDBBase::IContactIMDBService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIMDBBase::IContactIMDBService was not generated with stream support"; - throw ex; -} - -void -AliIMDBBase::__patch__IContactIMDBServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIMDBBase::IContactIMDBServicePtr* p = static_cast< ::AliIMDBBase::IContactIMDBServicePtr*>(__addr); - assert(p); - *p = ::AliIMDBBase::IContactIMDBServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIMDBBase::IContactIMDBService::ice_staticId(); - throw e; - } -} - -bool -AliIMDBBase::operator==(const ::AliIMDBBase::IContactIMDBService& l, const ::AliIMDBBase::IContactIMDBService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIMDBBase::operator!=(const ::AliIMDBBase::IContactIMDBService& l, const ::AliIMDBBase::IContactIMDBService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIMDBBase::operator<(const ::AliIMDBBase::IContactIMDBService& l, const ::AliIMDBBase::IContactIMDBService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIMDBBase::operator<=(const ::AliIMDBBase::IContactIMDBService& l, const ::AliIMDBBase::IContactIMDBService& r) -{ - return l < r || l == r; -} - -bool -AliIMDBBase::operator>(const ::AliIMDBBase::IContactIMDBService& l, const ::AliIMDBBase::IContactIMDBService& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIMDBBase::operator>=(const ::AliIMDBBase::IContactIMDBService& l, const ::AliIMDBBase::IContactIMDBService& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/crcservice.cpp b/features/aliww/source/crcservice.cpp deleted file mode 100644 index 24f3ea7..0000000 --- a/features/aliww/source/crcservice.cpp +++ /dev/null @@ -1,1083 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `crcservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __CRCSERVICE__CRCSInterface__GetChatRoamingServiceState_name = "GetChatRoamingServiceState"; - -static const ::std::string __CRCSERVICE__CRCSInterface__GetCRDays_name = "GetCRDays"; - -static const ::std::string __CRCSERVICE__CRCSInterface__CheckUserInfo_name = "CheckUserInfo"; - -static const ::std::string __CRCSERVICE__CRCSInterface__GetUserCRState_name = "GetUserCRState"; - -static const ::std::string __CRCSERVICE__CRCSInterface__SetUserCRState_name = "SetUserCRState"; - -void -IceInternal::incRef(::CRCSERVICE::CRCSInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::CRCSERVICE::CRCSInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::CRCSERVICE::CRCSInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::CRCSERVICE::CRCSInterface* p) -{ - p->__decRef(); -} - -void -CRCSERVICE::__write(::IceInternal::BasicStream* __os, const ::CRCSERVICE::CRCSInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -CRCSERVICE::__read(::IceInternal::BasicStream* __is, ::CRCSERVICE::CRCSInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::CRCSERVICE::CRCSInterface; - v->__copyFrom(proxy); - } -} - -void -CRCSERVICE::__write(::IceInternal::BasicStream* __os, const ::CRCSERVICE::CRCSInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -CRCSERVICE::CRDateInfo::operator==(const CRDateInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -CRCSERVICE::CRDateInfo::operator!=(const CRDateInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(beginDay != __rhs.beginDay) - { - return true; - } - if(dayCount != __rhs.dayCount) - { - return true; - } - return false; -} - -bool -CRCSERVICE::CRDateInfo::operator<(const CRDateInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(beginDay < __rhs.beginDay) - { - return true; - } - else if(__rhs.beginDay < beginDay) - { - return false; - } - if(dayCount < __rhs.dayCount) - { - return true; - } - else if(__rhs.dayCount < dayCount) - { - return false; - } - return false; -} - -void -CRCSERVICE::CRDateInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(beginDay); - __os->write(dayCount); -} - -void -CRCSERVICE::CRDateInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(beginDay); - __is->read(dayCount); -} - -bool -CRCSERVICE::UserCRInfo::operator==(const UserCRInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -CRCSERVICE::UserCRInfo::operator!=(const UserCRInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(cmdID != __rhs.cmdID) - { - return true; - } - if(beginTime != __rhs.beginTime) - { - return true; - } - return false; -} - -bool -CRCSERVICE::UserCRInfo::operator<(const UserCRInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(cmdID < __rhs.cmdID) - { - return true; - } - else if(__rhs.cmdID < cmdID) - { - return false; - } - if(beginTime < __rhs.beginTime) - { - return true; - } - else if(__rhs.beginTime < beginTime) - { - return false; - } - return false; -} - -void -CRCSERVICE::UserCRInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(cmdID); - __os->write(beginTime); -} - -void -CRCSERVICE::UserCRInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(cmdID); - __is->read(beginTime); -} - -void -CRCSERVICE::__addObject(const CRCSInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -CRCSERVICE::__usesClasses(const CRCSInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -CRCSERVICE::__decRefUnsafe(const CRCSInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -CRCSERVICE::__clearHandleUnsafe(CRCSInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::CRCSERVICE::CRCSInterface::GetChatRoamingServiceState(const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__CRCSERVICE__CRCSInterface__GetChatRoamingServiceState_name); - __delBase = __getDelegate(); - ::IceDelegate::CRCSERVICE::CRCSInterface* __del = dynamic_cast< ::IceDelegate::CRCSERVICE::CRCSInterface*>(__delBase.get()); - return __del->GetChatRoamingServiceState(__ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::CRCSERVICE::CRCSInterface::GetCRDays(const ::std::string& id, const ::std::string& version, ::CRCSERVICE::CRDateInfo& info, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__CRCSERVICE__CRCSInterface__GetCRDays_name); - __delBase = __getDelegate(); - ::IceDelegate::CRCSERVICE::CRCSInterface* __del = dynamic_cast< ::IceDelegate::CRCSERVICE::CRCSInterface*>(__delBase.get()); - return __del->GetCRDays(id, version, info, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::CRCSERVICE::CRCSInterface::CheckUserInfo(const ::std::string& id, const ::std::string& version, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__CRCSERVICE__CRCSInterface__CheckUserInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::CRCSERVICE::CRCSInterface* __del = dynamic_cast< ::IceDelegate::CRCSERVICE::CRCSInterface*>(__delBase.get()); - return __del->CheckUserInfo(id, version, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::CRCSERVICE::CRCSInterface::GetUserCRState(const ::std::string& id, const ::std::string& version, ::CRCSERVICE::UserCRInfo& crinfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__CRCSERVICE__CRCSInterface__GetUserCRState_name); - __delBase = __getDelegate(); - ::IceDelegate::CRCSERVICE::CRCSInterface* __del = dynamic_cast< ::IceDelegate::CRCSERVICE::CRCSInterface*>(__delBase.get()); - return __del->GetUserCRState(id, version, crinfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::CRCSERVICE::CRCSInterface::SetUserCRState(const ::std::string& id, const ::std::string& version, ::Ice::Int cmdId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__CRCSERVICE__CRCSInterface__SetUserCRState_name); - __delBase = __getDelegate(); - ::IceDelegate::CRCSERVICE::CRCSInterface* __del = dynamic_cast< ::IceDelegate::CRCSERVICE::CRCSInterface*>(__delBase.get()); - return __del->SetUserCRState(id, version, cmdId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::CRCSERVICE::CRCSInterface::ice_staticId() -{ - return ::CRCSERVICE::CRCSInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::CRCSERVICE::CRCSInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::CRCSERVICE::CRCSInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::CRCSERVICE::CRCSInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::CRCSERVICE::CRCSInterface); -} - -bool -IceProxy::CRCSERVICE::operator==(const ::IceProxy::CRCSERVICE::CRCSInterface& l, const ::IceProxy::CRCSERVICE::CRCSInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::CRCSERVICE::operator!=(const ::IceProxy::CRCSERVICE::CRCSInterface& l, const ::IceProxy::CRCSERVICE::CRCSInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::CRCSERVICE::operator<(const ::IceProxy::CRCSERVICE::CRCSInterface& l, const ::IceProxy::CRCSERVICE::CRCSInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::CRCSERVICE::operator<=(const ::IceProxy::CRCSERVICE::CRCSInterface& l, const ::IceProxy::CRCSERVICE::CRCSInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::CRCSERVICE::operator>(const ::IceProxy::CRCSERVICE::CRCSInterface& l, const ::IceProxy::CRCSERVICE::CRCSInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::CRCSERVICE::operator>=(const ::IceProxy::CRCSERVICE::CRCSInterface& l, const ::IceProxy::CRCSERVICE::CRCSInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::CRCSERVICE::CRCSInterface::GetChatRoamingServiceState(const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __CRCSERVICE__CRCSInterface__GetChatRoamingServiceState_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::CRCSERVICE::CRCSInterface::GetCRDays(const ::std::string& id, const ::std::string& version, ::CRCSERVICE::CRDateInfo& info, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __CRCSERVICE__CRCSInterface__GetCRDays_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(id); - __os->write(version); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - info.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::CRCSERVICE::CRCSInterface::CheckUserInfo(const ::std::string& id, const ::std::string& version, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __CRCSERVICE__CRCSInterface__CheckUserInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(id); - __os->write(version); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::CRCSERVICE::CRCSInterface::GetUserCRState(const ::std::string& id, const ::std::string& version, ::CRCSERVICE::UserCRInfo& crinfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __CRCSERVICE__CRCSInterface__GetUserCRState_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(id); - __os->write(version); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - crinfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::CRCSERVICE::CRCSInterface::SetUserCRState(const ::std::string& id, const ::std::string& version, ::Ice::Int cmdId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __CRCSERVICE__CRCSInterface__SetUserCRState_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(id); - __os->write(version); - __os->write(cmdId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::CRCSERVICE::CRCSInterface::GetChatRoamingServiceState(const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __CRCSERVICE__CRCSInterface__GetChatRoamingServiceState_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::CRCSERVICE::CRCSInterface* __servant = dynamic_cast< ::CRCSERVICE::CRCSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetChatRoamingServiceState(__current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::CRCSERVICE::CRCSInterface::GetCRDays(const ::std::string& id, const ::std::string& version, ::CRCSERVICE::CRDateInfo& info, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __CRCSERVICE__CRCSInterface__GetCRDays_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::CRCSERVICE::CRCSInterface* __servant = dynamic_cast< ::CRCSERVICE::CRCSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetCRDays(id, version, info, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::CRCSERVICE::CRCSInterface::CheckUserInfo(const ::std::string& id, const ::std::string& version, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __CRCSERVICE__CRCSInterface__CheckUserInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::CRCSERVICE::CRCSInterface* __servant = dynamic_cast< ::CRCSERVICE::CRCSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->CheckUserInfo(id, version, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::CRCSERVICE::CRCSInterface::GetUserCRState(const ::std::string& id, const ::std::string& version, ::CRCSERVICE::UserCRInfo& crinfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __CRCSERVICE__CRCSInterface__GetUserCRState_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::CRCSERVICE::CRCSInterface* __servant = dynamic_cast< ::CRCSERVICE::CRCSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUserCRState(id, version, crinfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::CRCSERVICE::CRCSInterface::SetUserCRState(const ::std::string& id, const ::std::string& version, ::Ice::Int cmdId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __CRCSERVICE__CRCSInterface__SetUserCRState_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::CRCSERVICE::CRCSInterface* __servant = dynamic_cast< ::CRCSERVICE::CRCSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->SetUserCRState(id, version, cmdId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -CRCSERVICE::CRCSInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __CRCSERVICE__CRCSInterface_ids[2] = -{ - "::CRCSERVICE::CRCSInterface", - "::Ice::Object" -}; - -bool -CRCSERVICE::CRCSInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__CRCSERVICE__CRCSInterface_ids, __CRCSERVICE__CRCSInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -CRCSERVICE::CRCSInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__CRCSERVICE__CRCSInterface_ids[0], &__CRCSERVICE__CRCSInterface_ids[2]); -} - -const ::std::string& -CRCSERVICE::CRCSInterface::ice_id(const ::Ice::Current&) const -{ - return __CRCSERVICE__CRCSInterface_ids[0]; -} - -const ::std::string& -CRCSERVICE::CRCSInterface::ice_staticId() -{ - return __CRCSERVICE__CRCSInterface_ids[0]; -} - -::IceInternal::DispatchStatus -CRCSERVICE::CRCSInterface::___GetChatRoamingServiceState(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int __ret = GetChatRoamingServiceState(__current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -CRCSERVICE::CRCSInterface::___GetCRDays(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string id; - ::std::string version; - __is->read(id); - __is->read(version); - ::CRCSERVICE::CRDateInfo info; - ::Ice::Int __ret = GetCRDays(id, version, info, __current); - info.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -CRCSERVICE::CRCSInterface::___CheckUserInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string id; - ::std::string version; - __is->read(id); - __is->read(version); - ::Ice::Int __ret = CheckUserInfo(id, version, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -CRCSERVICE::CRCSInterface::___GetUserCRState(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string id; - ::std::string version; - __is->read(id); - __is->read(version); - ::CRCSERVICE::UserCRInfo crinfo; - ::Ice::Int __ret = GetUserCRState(id, version, crinfo, __current); - crinfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -CRCSERVICE::CRCSInterface::___SetUserCRState(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string id; - ::std::string version; - ::Ice::Int cmdId; - __is->read(id); - __is->read(version); - __is->read(cmdId); - ::Ice::Int __ret = SetUserCRState(id, version, cmdId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __CRCSERVICE__CRCSInterface_all[] = -{ - "CheckUserInfo", - "GetCRDays", - "GetChatRoamingServiceState", - "GetUserCRState", - "SetUserCRState", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -CRCSERVICE::CRCSInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__CRCSERVICE__CRCSInterface_all, __CRCSERVICE__CRCSInterface_all + 9, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __CRCSERVICE__CRCSInterface_all) - { - case 0: - { - return ___CheckUserInfo(in, current); - } - case 1: - { - return ___GetCRDays(in, current); - } - case 2: - { - return ___GetChatRoamingServiceState(in, current); - } - case 3: - { - return ___GetUserCRState(in, current); - } - case 4: - { - return ___SetUserCRState(in, current); - } - case 5: - { - return ___ice_id(in, current); - } - case 6: - { - return ___ice_ids(in, current); - } - case 7: - { - return ___ice_isA(in, current); - } - case 8: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -CRCSERVICE::CRCSInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -CRCSERVICE::CRCSInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -CRCSERVICE::CRCSInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type CRCSERVICE::CRCSInterface was not generated with stream support"; - throw ex; -} - -void -CRCSERVICE::CRCSInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type CRCSERVICE::CRCSInterface was not generated with stream support"; - throw ex; -} - -void -CRCSERVICE::__patch__CRCSInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::CRCSERVICE::CRCSInterfacePtr* p = static_cast< ::CRCSERVICE::CRCSInterfacePtr*>(__addr); - assert(p); - *p = ::CRCSERVICE::CRCSInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::CRCSERVICE::CRCSInterface::ice_staticId(); - throw e; - } -} - -bool -CRCSERVICE::operator==(const ::CRCSERVICE::CRCSInterface& l, const ::CRCSERVICE::CRCSInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -CRCSERVICE::operator!=(const ::CRCSERVICE::CRCSInterface& l, const ::CRCSERVICE::CRCSInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -CRCSERVICE::operator<(const ::CRCSERVICE::CRCSInterface& l, const ::CRCSERVICE::CRCSInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -CRCSERVICE::operator<=(const ::CRCSERVICE::CRCSInterface& l, const ::CRCSERVICE::CRCSInterface& r) -{ - return l < r || l == r; -} - -bool -CRCSERVICE::operator>(const ::CRCSERVICE::CRCSInterface& l, const ::CRCSERVICE::CRCSInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -CRCSERVICE::operator>=(const ::CRCSERVICE::CRCSInterface& l, const ::CRCSERVICE::CRCSInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/dbdatadefine.cpp b/features/aliww/source/dbdatadefine.cpp deleted file mode 100644 index 76d9bd5..0000000 --- a/features/aliww/source/dbdatadefine.cpp +++ /dev/null @@ -1,11466 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbdatadefine.ice' - -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -bool -AliIMDBBase::SICEMemberInfo::operator==(const SICEMemberInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEMemberInfo::operator!=(const SICEMemberInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(memberId != __rhs.memberId) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(realname != __rhs.realname) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobtitle != __rhs.jobtitle) - { - return true; - } - if(memberlevel != __rhs.memberlevel) - { - return true; - } - if(industry != __rhs.industry) - { - return true; - } - if(area != __rhs.area) - { - return true; - } - if(penName != __rhs.penName) - { - return true; - } - if(phoneStatus != __rhs.phoneStatus) - { - return true; - } - if(title != __rhs.title) - { - return true; - } - if(country != __rhs.country) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEMemberInfo::operator<(const SICEMemberInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(memberId < __rhs.memberId) - { - return true; - } - else if(__rhs.memberId < memberId) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(realname < __rhs.realname) - { - return true; - } - else if(__rhs.realname < realname) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobtitle < __rhs.jobtitle) - { - return true; - } - else if(__rhs.jobtitle < jobtitle) - { - return false; - } - if(memberlevel < __rhs.memberlevel) - { - return true; - } - else if(__rhs.memberlevel < memberlevel) - { - return false; - } - if(industry < __rhs.industry) - { - return true; - } - else if(__rhs.industry < industry) - { - return false; - } - if(area < __rhs.area) - { - return true; - } - else if(__rhs.area < area) - { - return false; - } - if(penName < __rhs.penName) - { - return true; - } - else if(__rhs.penName < penName) - { - return false; - } - if(phoneStatus < __rhs.phoneStatus) - { - return true; - } - else if(__rhs.phoneStatus < phoneStatus) - { - return false; - } - if(title < __rhs.title) - { - return true; - } - else if(__rhs.title < title) - { - return false; - } - if(country < __rhs.country) - { - return true; - } - else if(__rhs.country < country) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEMemberInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(memberId); - __os->write(password); - __os->write(status); - __os->write(realname); - __os->write(company); - __os->write(jobtitle); - __os->write(memberlevel); - __os->write(industry); - __os->write(area); - __os->write(penName); - __os->write(phoneStatus); - __os->write(title); - __os->write(country); -} - -void -AliIMDBBase::SICEMemberInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(memberId); - __is->read(password); - __is->read(status); - __is->read(realname); - __is->read(company); - __is->read(jobtitle); - __is->read(memberlevel); - __is->read(industry); - __is->read(area); - __is->read(penName); - __is->read(phoneStatus); - __is->read(title); - __is->read(country); -} - -bool -AliIMDBBase::SExICESysMessage::operator==(const SExICESysMessage& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SExICESysMessage::operator!=(const SExICESysMessage& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(msgId != __rhs.msgId) - { - return true; - } - if(type != __rhs.type) - { - return true; - } - if(expireTime != __rhs.expireTime) - { - return true; - } - if(industry != __rhs.industry) - { - return true; - } - if(area != __rhs.area) - { - return true; - } - if(rank != __rhs.rank) - { - return true; - } - if(message != __rhs.message) - { - return true; - } - if(site != __rhs.site) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SExICESysMessage::operator<(const SExICESysMessage& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(msgId < __rhs.msgId) - { - return true; - } - else if(__rhs.msgId < msgId) - { - return false; - } - if(type < __rhs.type) - { - return true; - } - else if(__rhs.type < type) - { - return false; - } - if(expireTime < __rhs.expireTime) - { - return true; - } - else if(__rhs.expireTime < expireTime) - { - return false; - } - if(industry < __rhs.industry) - { - return true; - } - else if(__rhs.industry < industry) - { - return false; - } - if(area < __rhs.area) - { - return true; - } - else if(__rhs.area < area) - { - return false; - } - if(rank < __rhs.rank) - { - return true; - } - else if(__rhs.rank < rank) - { - return false; - } - if(message < __rhs.message) - { - return true; - } - else if(__rhs.message < message) - { - return false; - } - if(site < __rhs.site) - { - return true; - } - else if(__rhs.site < site) - { - return false; - } - return false; -} - -void -AliIMDBBase::SExICESysMessage::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(msgId); - __os->write(type); - __os->write(expireTime); - __os->write(industry); - __os->write(area); - __os->write(rank); - __os->write(message); - __os->write(site); -} - -void -AliIMDBBase::SExICESysMessage::__read(::IceInternal::BasicStream* __is) -{ - __is->read(msgId); - __is->read(type); - __is->read(expireTime); - __is->read(industry); - __is->read(area); - __is->read(rank); - __is->read(message); - __is->read(site); -} - -bool -AliIMDBBase::SICESysMessage::operator==(const SICESysMessage& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICESysMessage::operator!=(const SICESysMessage& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(msgId != __rhs.msgId) - { - return true; - } - if(type != __rhs.type) - { - return true; - } - if(expireTime != __rhs.expireTime) - { - return true; - } - if(industry != __rhs.industry) - { - return true; - } - if(area != __rhs.area) - { - return true; - } - if(rank != __rhs.rank) - { - return true; - } - if(message != __rhs.message) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICESysMessage::operator<(const SICESysMessage& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(msgId < __rhs.msgId) - { - return true; - } - else if(__rhs.msgId < msgId) - { - return false; - } - if(type < __rhs.type) - { - return true; - } - else if(__rhs.type < type) - { - return false; - } - if(expireTime < __rhs.expireTime) - { - return true; - } - else if(__rhs.expireTime < expireTime) - { - return false; - } - if(industry < __rhs.industry) - { - return true; - } - else if(__rhs.industry < industry) - { - return false; - } - if(area < __rhs.area) - { - return true; - } - else if(__rhs.area < area) - { - return false; - } - if(rank < __rhs.rank) - { - return true; - } - else if(__rhs.rank < rank) - { - return false; - } - if(message < __rhs.message) - { - return true; - } - else if(__rhs.message < message) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICESysMessage::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(msgId); - __os->write(type); - __os->write(expireTime); - __os->write(industry); - __os->write(area); - __os->write(rank); - __os->write(message); -} - -void -AliIMDBBase::SICESysMessage::__read(::IceInternal::BasicStream* __is) -{ - __is->read(msgId); - __is->read(type); - __is->read(expireTime); - __is->read(industry); - __is->read(area); - __is->read(rank); - __is->read(message); -} - -bool -AliIMDBBase::SICEVersion::operator==(const SICEVersion& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEVersion::operator!=(const SICEVersion& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(version != __rhs.version) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(remark != __rhs.remark) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEVersion::operator<(const SICEVersion& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(version < __rhs.version) - { - return true; - } - else if(__rhs.version < version) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(remark < __rhs.remark) - { - return true; - } - else if(__rhs.remark < remark) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEVersion::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(version); - __os->write(status); - __os->write(remark); -} - -void -AliIMDBBase::SICEVersion::__read(::IceInternal::BasicStream* __is) -{ - __is->read(version); - __is->read(status); - __is->read(remark); -} - -bool -AliIMDBBase::SICEUserInfo::operator==(const SICEUserInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEUserInfo::operator!=(const SICEUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(picId != __rhs.picId) - { - return true; - } - if(sysMsgId != __rhs.sysMsgId) - { - return true; - } - if(lastLoginTime != __rhs.lastLoginTime) - { - return true; - } - if(strangerMsgCount != __rhs.strangerMsgCount) - { - return true; - } - if(loginCount != __rhs.loginCount) - { - return true; - } - if(onlineTimes != __rhs.onlineTimes) - { - return true; - } - if(addContactCount != __rhs.addContactCount) - { - return true; - } - if(addTribeCount != __rhs.addTribeCount) - { - return true; - } - if(activeDegree != __rhs.activeDegree) - { - return true; - } - if(groupTimes != __rhs.groupTimes) - { - return true; - } - if(contactTimes != __rhs.contactTimes) - { - return true; - } - if(blacklistTimes != __rhs.blacklistTimes) - { - return true; - } - if(reverseBlacklistTimes != __rhs.reverseBlacklistTimes) - { - return true; - } - if(offlinemsgTimes != __rhs.offlinemsgTimes) - { - return true; - } - if(addContactVerify != __rhs.addContactVerify) - { - return true; - } - if(sendMsgVerify != __rhs.sendMsgVerify) - { - return true; - } - if(userStatus != __rhs.userStatus) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - if(newActDgree != __rhs.newActDgree) - { - return true; - } - if(gencontacttimes != __rhs.gencontacttimes) - { - return true; - } - if(rewardActDegree != __rhs.rewardActDegree) - { - return true; - } - if(onlineActDegree != __rhs.onlineActDegree) - { - return true; - } - if(createTime != __rhs.createTime) - { - return true; - } - if(accounttype != __rhs.accounttype) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEUserInfo::operator<(const SICEUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(picId < __rhs.picId) - { - return true; - } - else if(__rhs.picId < picId) - { - return false; - } - if(sysMsgId < __rhs.sysMsgId) - { - return true; - } - else if(__rhs.sysMsgId < sysMsgId) - { - return false; - } - if(lastLoginTime < __rhs.lastLoginTime) - { - return true; - } - else if(__rhs.lastLoginTime < lastLoginTime) - { - return false; - } - if(strangerMsgCount < __rhs.strangerMsgCount) - { - return true; - } - else if(__rhs.strangerMsgCount < strangerMsgCount) - { - return false; - } - if(loginCount < __rhs.loginCount) - { - return true; - } - else if(__rhs.loginCount < loginCount) - { - return false; - } - if(onlineTimes < __rhs.onlineTimes) - { - return true; - } - else if(__rhs.onlineTimes < onlineTimes) - { - return false; - } - if(addContactCount < __rhs.addContactCount) - { - return true; - } - else if(__rhs.addContactCount < addContactCount) - { - return false; - } - if(addTribeCount < __rhs.addTribeCount) - { - return true; - } - else if(__rhs.addTribeCount < addTribeCount) - { - return false; - } - if(activeDegree < __rhs.activeDegree) - { - return true; - } - else if(__rhs.activeDegree < activeDegree) - { - return false; - } - if(groupTimes < __rhs.groupTimes) - { - return true; - } - else if(__rhs.groupTimes < groupTimes) - { - return false; - } - if(contactTimes < __rhs.contactTimes) - { - return true; - } - else if(__rhs.contactTimes < contactTimes) - { - return false; - } - if(blacklistTimes < __rhs.blacklistTimes) - { - return true; - } - else if(__rhs.blacklistTimes < blacklistTimes) - { - return false; - } - if(reverseBlacklistTimes < __rhs.reverseBlacklistTimes) - { - return true; - } - else if(__rhs.reverseBlacklistTimes < reverseBlacklistTimes) - { - return false; - } - if(offlinemsgTimes < __rhs.offlinemsgTimes) - { - return true; - } - else if(__rhs.offlinemsgTimes < offlinemsgTimes) - { - return false; - } - if(addContactVerify < __rhs.addContactVerify) - { - return true; - } - else if(__rhs.addContactVerify < addContactVerify) - { - return false; - } - if(sendMsgVerify < __rhs.sendMsgVerify) - { - return true; - } - else if(__rhs.sendMsgVerify < sendMsgVerify) - { - return false; - } - if(userStatus < __rhs.userStatus) - { - return true; - } - else if(__rhs.userStatus < userStatus) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - if(newActDgree < __rhs.newActDgree) - { - return true; - } - else if(__rhs.newActDgree < newActDgree) - { - return false; - } - if(gencontacttimes < __rhs.gencontacttimes) - { - return true; - } - else if(__rhs.gencontacttimes < gencontacttimes) - { - return false; - } - if(rewardActDegree < __rhs.rewardActDegree) - { - return true; - } - else if(__rhs.rewardActDegree < rewardActDegree) - { - return false; - } - if(onlineActDegree < __rhs.onlineActDegree) - { - return true; - } - else if(__rhs.onlineActDegree < onlineActDegree) - { - return false; - } - if(createTime < __rhs.createTime) - { - return true; - } - else if(__rhs.createTime < createTime) - { - return false; - } - if(accounttype < __rhs.accounttype) - { - return true; - } - else if(__rhs.accounttype < accounttype) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEUserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(picId); - __os->write(sysMsgId); - __os->write(lastLoginTime); - __os->write(strangerMsgCount); - __os->write(loginCount); - __os->write(onlineTimes); - __os->write(addContactCount); - __os->write(addTribeCount); - __os->write(activeDegree); - __os->write(groupTimes); - __os->write(contactTimes); - __os->write(blacklistTimes); - __os->write(reverseBlacklistTimes); - __os->write(offlinemsgTimes); - __os->write(addContactVerify); - __os->write(sendMsgVerify); - __os->write(userStatus); - __os->write(userLevel); - __os->write(newActDgree); - __os->write(gencontacttimes); - __os->write(rewardActDegree); - __os->write(onlineActDegree); - __os->write(createTime); - __os->write(accounttype); -} - -void -AliIMDBBase::SICEUserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(picId); - __is->read(sysMsgId); - __is->read(lastLoginTime); - __is->read(strangerMsgCount); - __is->read(loginCount); - __is->read(onlineTimes); - __is->read(addContactCount); - __is->read(addTribeCount); - __is->read(activeDegree); - __is->read(groupTimes); - __is->read(contactTimes); - __is->read(blacklistTimes); - __is->read(reverseBlacklistTimes); - __is->read(offlinemsgTimes); - __is->read(addContactVerify); - __is->read(sendMsgVerify); - __is->read(userStatus); - __is->read(userLevel); - __is->read(newActDgree); - __is->read(gencontacttimes); - __is->read(rewardActDegree); - __is->read(onlineActDegree); - __is->read(createTime); - __is->read(accounttype); -} - -bool -AliIMDBBase::SICEUserInfo2::operator==(const SICEUserInfo2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEUserInfo2::operator!=(const SICEUserInfo2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(picId != __rhs.picId) - { - return true; - } - if(sysMsgId != __rhs.sysMsgId) - { - return true; - } - if(lastLoginTime != __rhs.lastLoginTime) - { - return true; - } - if(strangerMsgCount != __rhs.strangerMsgCount) - { - return true; - } - if(loginCount != __rhs.loginCount) - { - return true; - } - if(onlineTimes != __rhs.onlineTimes) - { - return true; - } - if(addContactCount != __rhs.addContactCount) - { - return true; - } - if(addTribeCount != __rhs.addTribeCount) - { - return true; - } - if(activeDegree != __rhs.activeDegree) - { - return true; - } - if(groupTimes != __rhs.groupTimes) - { - return true; - } - if(contactTimes != __rhs.contactTimes) - { - return true; - } - if(blacklistTimes != __rhs.blacklistTimes) - { - return true; - } - if(reverseBlacklistTimes != __rhs.reverseBlacklistTimes) - { - return true; - } - if(offlinemsgTimes != __rhs.offlinemsgTimes) - { - return true; - } - if(addContactVerify != __rhs.addContactVerify) - { - return true; - } - if(sendMsgVerify != __rhs.sendMsgVerify) - { - return true; - } - if(userStatus != __rhs.userStatus) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - if(newActDgree != __rhs.newActDgree) - { - return true; - } - if(gencontacttimes != __rhs.gencontacttimes) - { - return true; - } - if(rewardActDegree != __rhs.rewardActDegree) - { - return true; - } - if(onlineActDegree != __rhs.onlineActDegree) - { - return true; - } - if(createTime != __rhs.createTime) - { - return true; - } - if(accounttype != __rhs.accounttype) - { - return true; - } - if(userfunctions != __rhs.userfunctions) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEUserInfo2::operator<(const SICEUserInfo2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(picId < __rhs.picId) - { - return true; - } - else if(__rhs.picId < picId) - { - return false; - } - if(sysMsgId < __rhs.sysMsgId) - { - return true; - } - else if(__rhs.sysMsgId < sysMsgId) - { - return false; - } - if(lastLoginTime < __rhs.lastLoginTime) - { - return true; - } - else if(__rhs.lastLoginTime < lastLoginTime) - { - return false; - } - if(strangerMsgCount < __rhs.strangerMsgCount) - { - return true; - } - else if(__rhs.strangerMsgCount < strangerMsgCount) - { - return false; - } - if(loginCount < __rhs.loginCount) - { - return true; - } - else if(__rhs.loginCount < loginCount) - { - return false; - } - if(onlineTimes < __rhs.onlineTimes) - { - return true; - } - else if(__rhs.onlineTimes < onlineTimes) - { - return false; - } - if(addContactCount < __rhs.addContactCount) - { - return true; - } - else if(__rhs.addContactCount < addContactCount) - { - return false; - } - if(addTribeCount < __rhs.addTribeCount) - { - return true; - } - else if(__rhs.addTribeCount < addTribeCount) - { - return false; - } - if(activeDegree < __rhs.activeDegree) - { - return true; - } - else if(__rhs.activeDegree < activeDegree) - { - return false; - } - if(groupTimes < __rhs.groupTimes) - { - return true; - } - else if(__rhs.groupTimes < groupTimes) - { - return false; - } - if(contactTimes < __rhs.contactTimes) - { - return true; - } - else if(__rhs.contactTimes < contactTimes) - { - return false; - } - if(blacklistTimes < __rhs.blacklistTimes) - { - return true; - } - else if(__rhs.blacklistTimes < blacklistTimes) - { - return false; - } - if(reverseBlacklistTimes < __rhs.reverseBlacklistTimes) - { - return true; - } - else if(__rhs.reverseBlacklistTimes < reverseBlacklistTimes) - { - return false; - } - if(offlinemsgTimes < __rhs.offlinemsgTimes) - { - return true; - } - else if(__rhs.offlinemsgTimes < offlinemsgTimes) - { - return false; - } - if(addContactVerify < __rhs.addContactVerify) - { - return true; - } - else if(__rhs.addContactVerify < addContactVerify) - { - return false; - } - if(sendMsgVerify < __rhs.sendMsgVerify) - { - return true; - } - else if(__rhs.sendMsgVerify < sendMsgVerify) - { - return false; - } - if(userStatus < __rhs.userStatus) - { - return true; - } - else if(__rhs.userStatus < userStatus) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - if(newActDgree < __rhs.newActDgree) - { - return true; - } - else if(__rhs.newActDgree < newActDgree) - { - return false; - } - if(gencontacttimes < __rhs.gencontacttimes) - { - return true; - } - else if(__rhs.gencontacttimes < gencontacttimes) - { - return false; - } - if(rewardActDegree < __rhs.rewardActDegree) - { - return true; - } - else if(__rhs.rewardActDegree < rewardActDegree) - { - return false; - } - if(onlineActDegree < __rhs.onlineActDegree) - { - return true; - } - else if(__rhs.onlineActDegree < onlineActDegree) - { - return false; - } - if(createTime < __rhs.createTime) - { - return true; - } - else if(__rhs.createTime < createTime) - { - return false; - } - if(accounttype < __rhs.accounttype) - { - return true; - } - else if(__rhs.accounttype < accounttype) - { - return false; - } - if(userfunctions < __rhs.userfunctions) - { - return true; - } - else if(__rhs.userfunctions < userfunctions) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEUserInfo2::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(picId); - __os->write(sysMsgId); - __os->write(lastLoginTime); - __os->write(strangerMsgCount); - __os->write(loginCount); - __os->write(onlineTimes); - __os->write(addContactCount); - __os->write(addTribeCount); - __os->write(activeDegree); - __os->write(groupTimes); - __os->write(contactTimes); - __os->write(blacklistTimes); - __os->write(reverseBlacklistTimes); - __os->write(offlinemsgTimes); - __os->write(addContactVerify); - __os->write(sendMsgVerify); - __os->write(userStatus); - __os->write(userLevel); - __os->write(newActDgree); - __os->write(gencontacttimes); - __os->write(rewardActDegree); - __os->write(onlineActDegree); - __os->write(createTime); - __os->write(accounttype); - __os->write(userfunctions); -} - -void -AliIMDBBase::SICEUserInfo2::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(picId); - __is->read(sysMsgId); - __is->read(lastLoginTime); - __is->read(strangerMsgCount); - __is->read(loginCount); - __is->read(onlineTimes); - __is->read(addContactCount); - __is->read(addTribeCount); - __is->read(activeDegree); - __is->read(groupTimes); - __is->read(contactTimes); - __is->read(blacklistTimes); - __is->read(reverseBlacklistTimes); - __is->read(offlinemsgTimes); - __is->read(addContactVerify); - __is->read(sendMsgVerify); - __is->read(userStatus); - __is->read(userLevel); - __is->read(newActDgree); - __is->read(gencontacttimes); - __is->read(rewardActDegree); - __is->read(onlineActDegree); - __is->read(createTime); - __is->read(accounttype); - __is->read(userfunctions); -} - -bool -AliIMDBBase::SICEUserInfoEx::operator==(const SICEUserInfoEx& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEUserInfoEx::operator!=(const SICEUserInfoEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(picId != __rhs.picId) - { - return true; - } - if(sysMsgId != __rhs.sysMsgId) - { - return true; - } - if(lastLoginTime != __rhs.lastLoginTime) - { - return true; - } - if(loginCount != __rhs.loginCount) - { - return true; - } - if(strangerMsgCount != __rhs.strangerMsgCount) - { - return true; - } - if(addContactCount != __rhs.addContactCount) - { - return true; - } - if(addTribeCount != __rhs.addTribeCount) - { - return true; - } - if(groupTimes != __rhs.groupTimes) - { - return true; - } - if(contactTimes != __rhs.contactTimes) - { - return true; - } - if(blacklistTimes != __rhs.blacklistTimes) - { - return true; - } - if(reverseBlacklistTimes != __rhs.reverseBlacklistTimes) - { - return true; - } - if(offlinemsgTimes != __rhs.offlinemsgTimes) - { - return true; - } - if(gencontacttimes != __rhs.gencontacttimes) - { - return true; - } - if(toolprofiletimes != __rhs.toolprofiletimes) - { - return true; - } - if(addContactVerify != __rhs.addContactVerify) - { - return true; - } - if(sendMsgVerify != __rhs.sendMsgVerify) - { - return true; - } - if(userStatus != __rhs.userStatus) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - if(totalActDegree != __rhs.totalActDegree) - { - return true; - } - if(createTime != __rhs.createTime) - { - return true; - } - if(accounttype != __rhs.accounttype) - { - return true; - } - if(loginIp != __rhs.loginIp) - { - return true; - } - if(userfunctions != __rhs.userfunctions) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEUserInfoEx::operator<(const SICEUserInfoEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(picId < __rhs.picId) - { - return true; - } - else if(__rhs.picId < picId) - { - return false; - } - if(sysMsgId < __rhs.sysMsgId) - { - return true; - } - else if(__rhs.sysMsgId < sysMsgId) - { - return false; - } - if(lastLoginTime < __rhs.lastLoginTime) - { - return true; - } - else if(__rhs.lastLoginTime < lastLoginTime) - { - return false; - } - if(loginCount < __rhs.loginCount) - { - return true; - } - else if(__rhs.loginCount < loginCount) - { - return false; - } - if(strangerMsgCount < __rhs.strangerMsgCount) - { - return true; - } - else if(__rhs.strangerMsgCount < strangerMsgCount) - { - return false; - } - if(addContactCount < __rhs.addContactCount) - { - return true; - } - else if(__rhs.addContactCount < addContactCount) - { - return false; - } - if(addTribeCount < __rhs.addTribeCount) - { - return true; - } - else if(__rhs.addTribeCount < addTribeCount) - { - return false; - } - if(groupTimes < __rhs.groupTimes) - { - return true; - } - else if(__rhs.groupTimes < groupTimes) - { - return false; - } - if(contactTimes < __rhs.contactTimes) - { - return true; - } - else if(__rhs.contactTimes < contactTimes) - { - return false; - } - if(blacklistTimes < __rhs.blacklistTimes) - { - return true; - } - else if(__rhs.blacklistTimes < blacklistTimes) - { - return false; - } - if(reverseBlacklistTimes < __rhs.reverseBlacklistTimes) - { - return true; - } - else if(__rhs.reverseBlacklistTimes < reverseBlacklistTimes) - { - return false; - } - if(offlinemsgTimes < __rhs.offlinemsgTimes) - { - return true; - } - else if(__rhs.offlinemsgTimes < offlinemsgTimes) - { - return false; - } - if(gencontacttimes < __rhs.gencontacttimes) - { - return true; - } - else if(__rhs.gencontacttimes < gencontacttimes) - { - return false; - } - if(toolprofiletimes < __rhs.toolprofiletimes) - { - return true; - } - else if(__rhs.toolprofiletimes < toolprofiletimes) - { - return false; - } - if(addContactVerify < __rhs.addContactVerify) - { - return true; - } - else if(__rhs.addContactVerify < addContactVerify) - { - return false; - } - if(sendMsgVerify < __rhs.sendMsgVerify) - { - return true; - } - else if(__rhs.sendMsgVerify < sendMsgVerify) - { - return false; - } - if(userStatus < __rhs.userStatus) - { - return true; - } - else if(__rhs.userStatus < userStatus) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - if(totalActDegree < __rhs.totalActDegree) - { - return true; - } - else if(__rhs.totalActDegree < totalActDegree) - { - return false; - } - if(createTime < __rhs.createTime) - { - return true; - } - else if(__rhs.createTime < createTime) - { - return false; - } - if(accounttype < __rhs.accounttype) - { - return true; - } - else if(__rhs.accounttype < accounttype) - { - return false; - } - if(loginIp < __rhs.loginIp) - { - return true; - } - else if(__rhs.loginIp < loginIp) - { - return false; - } - if(userfunctions < __rhs.userfunctions) - { - return true; - } - else if(__rhs.userfunctions < userfunctions) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEUserInfoEx::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(picId); - __os->write(sysMsgId); - __os->write(lastLoginTime); - __os->write(loginCount); - __os->write(strangerMsgCount); - __os->write(addContactCount); - __os->write(addTribeCount); - __os->write(groupTimes); - __os->write(contactTimes); - __os->write(blacklistTimes); - __os->write(reverseBlacklistTimes); - __os->write(offlinemsgTimes); - __os->write(gencontacttimes); - __os->write(toolprofiletimes); - __os->write(addContactVerify); - __os->write(sendMsgVerify); - __os->write(userStatus); - __os->write(userLevel); - __os->write(totalActDegree); - __os->write(createTime); - __os->write(accounttype); - __os->write(loginIp); - __os->write(userfunctions); -} - -void -AliIMDBBase::SICEUserInfoEx::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(picId); - __is->read(sysMsgId); - __is->read(lastLoginTime); - __is->read(loginCount); - __is->read(strangerMsgCount); - __is->read(addContactCount); - __is->read(addTribeCount); - __is->read(groupTimes); - __is->read(contactTimes); - __is->read(blacklistTimes); - __is->read(reverseBlacklistTimes); - __is->read(offlinemsgTimes); - __is->read(gencontacttimes); - __is->read(toolprofiletimes); - __is->read(addContactVerify); - __is->read(sendMsgVerify); - __is->read(userStatus); - __is->read(userLevel); - __is->read(totalActDegree); - __is->read(createTime); - __is->read(accounttype); - __is->read(loginIp); - __is->read(userfunctions); -} - -bool -AliIMDBBase::SICEUserInfoNew::operator==(const SICEUserInfoNew& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEUserInfoNew::operator!=(const SICEUserInfoNew& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(picId != __rhs.picId) - { - return true; - } - if(sysMsgId != __rhs.sysMsgId) - { - return true; - } - if(lastLoginTime != __rhs.lastLoginTime) - { - return true; - } - if(strangerMsgCount != __rhs.strangerMsgCount) - { - return true; - } - if(loginCount != __rhs.loginCount) - { - return true; - } - if(onlineTimes != __rhs.onlineTimes) - { - return true; - } - if(addContactCount != __rhs.addContactCount) - { - return true; - } - if(addTribeCount != __rhs.addTribeCount) - { - return true; - } - if(activeDegree != __rhs.activeDegree) - { - return true; - } - if(groupTimes != __rhs.groupTimes) - { - return true; - } - if(contactTimes != __rhs.contactTimes) - { - return true; - } - if(blacklistTimes != __rhs.blacklistTimes) - { - return true; - } - if(reverseBlacklistTimes != __rhs.reverseBlacklistTimes) - { - return true; - } - if(offlinemsgTimes != __rhs.offlinemsgTimes) - { - return true; - } - if(addContactVerify != __rhs.addContactVerify) - { - return true; - } - if(sendMsgVerify != __rhs.sendMsgVerify) - { - return true; - } - if(userStatus != __rhs.userStatus) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - if(newActDgree != __rhs.newActDgree) - { - return true; - } - if(gencontacttimes != __rhs.gencontacttimes) - { - return true; - } - if(rewardActDegree != __rhs.rewardActDegree) - { - return true; - } - if(onlineActDegree != __rhs.onlineActDegree) - { - return true; - } - if(createTime != __rhs.createTime) - { - return true; - } - if(accounttype != __rhs.accounttype) - { - return true; - } - if(reqAddContactCount != __rhs.reqAddContactCount) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEUserInfoNew::operator<(const SICEUserInfoNew& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(picId < __rhs.picId) - { - return true; - } - else if(__rhs.picId < picId) - { - return false; - } - if(sysMsgId < __rhs.sysMsgId) - { - return true; - } - else if(__rhs.sysMsgId < sysMsgId) - { - return false; - } - if(lastLoginTime < __rhs.lastLoginTime) - { - return true; - } - else if(__rhs.lastLoginTime < lastLoginTime) - { - return false; - } - if(strangerMsgCount < __rhs.strangerMsgCount) - { - return true; - } - else if(__rhs.strangerMsgCount < strangerMsgCount) - { - return false; - } - if(loginCount < __rhs.loginCount) - { - return true; - } - else if(__rhs.loginCount < loginCount) - { - return false; - } - if(onlineTimes < __rhs.onlineTimes) - { - return true; - } - else if(__rhs.onlineTimes < onlineTimes) - { - return false; - } - if(addContactCount < __rhs.addContactCount) - { - return true; - } - else if(__rhs.addContactCount < addContactCount) - { - return false; - } - if(addTribeCount < __rhs.addTribeCount) - { - return true; - } - else if(__rhs.addTribeCount < addTribeCount) - { - return false; - } - if(activeDegree < __rhs.activeDegree) - { - return true; - } - else if(__rhs.activeDegree < activeDegree) - { - return false; - } - if(groupTimes < __rhs.groupTimes) - { - return true; - } - else if(__rhs.groupTimes < groupTimes) - { - return false; - } - if(contactTimes < __rhs.contactTimes) - { - return true; - } - else if(__rhs.contactTimes < contactTimes) - { - return false; - } - if(blacklistTimes < __rhs.blacklistTimes) - { - return true; - } - else if(__rhs.blacklistTimes < blacklistTimes) - { - return false; - } - if(reverseBlacklistTimes < __rhs.reverseBlacklistTimes) - { - return true; - } - else if(__rhs.reverseBlacklistTimes < reverseBlacklistTimes) - { - return false; - } - if(offlinemsgTimes < __rhs.offlinemsgTimes) - { - return true; - } - else if(__rhs.offlinemsgTimes < offlinemsgTimes) - { - return false; - } - if(addContactVerify < __rhs.addContactVerify) - { - return true; - } - else if(__rhs.addContactVerify < addContactVerify) - { - return false; - } - if(sendMsgVerify < __rhs.sendMsgVerify) - { - return true; - } - else if(__rhs.sendMsgVerify < sendMsgVerify) - { - return false; - } - if(userStatus < __rhs.userStatus) - { - return true; - } - else if(__rhs.userStatus < userStatus) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - if(newActDgree < __rhs.newActDgree) - { - return true; - } - else if(__rhs.newActDgree < newActDgree) - { - return false; - } - if(gencontacttimes < __rhs.gencontacttimes) - { - return true; - } - else if(__rhs.gencontacttimes < gencontacttimes) - { - return false; - } - if(rewardActDegree < __rhs.rewardActDegree) - { - return true; - } - else if(__rhs.rewardActDegree < rewardActDegree) - { - return false; - } - if(onlineActDegree < __rhs.onlineActDegree) - { - return true; - } - else if(__rhs.onlineActDegree < onlineActDegree) - { - return false; - } - if(createTime < __rhs.createTime) - { - return true; - } - else if(__rhs.createTime < createTime) - { - return false; - } - if(accounttype < __rhs.accounttype) - { - return true; - } - else if(__rhs.accounttype < accounttype) - { - return false; - } - if(reqAddContactCount < __rhs.reqAddContactCount) - { - return true; - } - else if(__rhs.reqAddContactCount < reqAddContactCount) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEUserInfoNew::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(picId); - __os->write(sysMsgId); - __os->write(lastLoginTime); - __os->write(strangerMsgCount); - __os->write(loginCount); - __os->write(onlineTimes); - __os->write(addContactCount); - __os->write(addTribeCount); - __os->write(activeDegree); - __os->write(groupTimes); - __os->write(contactTimes); - __os->write(blacklistTimes); - __os->write(reverseBlacklistTimes); - __os->write(offlinemsgTimes); - __os->write(addContactVerify); - __os->write(sendMsgVerify); - __os->write(userStatus); - __os->write(userLevel); - __os->write(newActDgree); - __os->write(gencontacttimes); - __os->write(rewardActDegree); - __os->write(onlineActDegree); - __os->write(createTime); - __os->write(accounttype); - __os->write(reqAddContactCount); -} - -void -AliIMDBBase::SICEUserInfoNew::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(picId); - __is->read(sysMsgId); - __is->read(lastLoginTime); - __is->read(strangerMsgCount); - __is->read(loginCount); - __is->read(onlineTimes); - __is->read(addContactCount); - __is->read(addTribeCount); - __is->read(activeDegree); - __is->read(groupTimes); - __is->read(contactTimes); - __is->read(blacklistTimes); - __is->read(reverseBlacklistTimes); - __is->read(offlinemsgTimes); - __is->read(addContactVerify); - __is->read(sendMsgVerify); - __is->read(userStatus); - __is->read(userLevel); - __is->read(newActDgree); - __is->read(gencontacttimes); - __is->read(rewardActDegree); - __is->read(onlineActDegree); - __is->read(createTime); - __is->read(accounttype); - __is->read(reqAddContactCount); -} - -bool -AliIMDBBase::SICEUserInfo2New::operator==(const SICEUserInfo2New& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEUserInfo2New::operator!=(const SICEUserInfo2New& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(picId != __rhs.picId) - { - return true; - } - if(sysMsgId != __rhs.sysMsgId) - { - return true; - } - if(lastLoginTime != __rhs.lastLoginTime) - { - return true; - } - if(strangerMsgCount != __rhs.strangerMsgCount) - { - return true; - } - if(loginCount != __rhs.loginCount) - { - return true; - } - if(onlineTimes != __rhs.onlineTimes) - { - return true; - } - if(addContactCount != __rhs.addContactCount) - { - return true; - } - if(addTribeCount != __rhs.addTribeCount) - { - return true; - } - if(activeDegree != __rhs.activeDegree) - { - return true; - } - if(groupTimes != __rhs.groupTimes) - { - return true; - } - if(contactTimes != __rhs.contactTimes) - { - return true; - } - if(blacklistTimes != __rhs.blacklistTimes) - { - return true; - } - if(reverseBlacklistTimes != __rhs.reverseBlacklistTimes) - { - return true; - } - if(offlinemsgTimes != __rhs.offlinemsgTimes) - { - return true; - } - if(addContactVerify != __rhs.addContactVerify) - { - return true; - } - if(sendMsgVerify != __rhs.sendMsgVerify) - { - return true; - } - if(userStatus != __rhs.userStatus) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - if(newActDgree != __rhs.newActDgree) - { - return true; - } - if(gencontacttimes != __rhs.gencontacttimes) - { - return true; - } - if(rewardActDegree != __rhs.rewardActDegree) - { - return true; - } - if(onlineActDegree != __rhs.onlineActDegree) - { - return true; - } - if(createTime != __rhs.createTime) - { - return true; - } - if(accounttype != __rhs.accounttype) - { - return true; - } - if(userfunctions != __rhs.userfunctions) - { - return true; - } - if(reqAddContactCount != __rhs.reqAddContactCount) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEUserInfo2New::operator<(const SICEUserInfo2New& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(picId < __rhs.picId) - { - return true; - } - else if(__rhs.picId < picId) - { - return false; - } - if(sysMsgId < __rhs.sysMsgId) - { - return true; - } - else if(__rhs.sysMsgId < sysMsgId) - { - return false; - } - if(lastLoginTime < __rhs.lastLoginTime) - { - return true; - } - else if(__rhs.lastLoginTime < lastLoginTime) - { - return false; - } - if(strangerMsgCount < __rhs.strangerMsgCount) - { - return true; - } - else if(__rhs.strangerMsgCount < strangerMsgCount) - { - return false; - } - if(loginCount < __rhs.loginCount) - { - return true; - } - else if(__rhs.loginCount < loginCount) - { - return false; - } - if(onlineTimes < __rhs.onlineTimes) - { - return true; - } - else if(__rhs.onlineTimes < onlineTimes) - { - return false; - } - if(addContactCount < __rhs.addContactCount) - { - return true; - } - else if(__rhs.addContactCount < addContactCount) - { - return false; - } - if(addTribeCount < __rhs.addTribeCount) - { - return true; - } - else if(__rhs.addTribeCount < addTribeCount) - { - return false; - } - if(activeDegree < __rhs.activeDegree) - { - return true; - } - else if(__rhs.activeDegree < activeDegree) - { - return false; - } - if(groupTimes < __rhs.groupTimes) - { - return true; - } - else if(__rhs.groupTimes < groupTimes) - { - return false; - } - if(contactTimes < __rhs.contactTimes) - { - return true; - } - else if(__rhs.contactTimes < contactTimes) - { - return false; - } - if(blacklistTimes < __rhs.blacklistTimes) - { - return true; - } - else if(__rhs.blacklistTimes < blacklistTimes) - { - return false; - } - if(reverseBlacklistTimes < __rhs.reverseBlacklistTimes) - { - return true; - } - else if(__rhs.reverseBlacklistTimes < reverseBlacklistTimes) - { - return false; - } - if(offlinemsgTimes < __rhs.offlinemsgTimes) - { - return true; - } - else if(__rhs.offlinemsgTimes < offlinemsgTimes) - { - return false; - } - if(addContactVerify < __rhs.addContactVerify) - { - return true; - } - else if(__rhs.addContactVerify < addContactVerify) - { - return false; - } - if(sendMsgVerify < __rhs.sendMsgVerify) - { - return true; - } - else if(__rhs.sendMsgVerify < sendMsgVerify) - { - return false; - } - if(userStatus < __rhs.userStatus) - { - return true; - } - else if(__rhs.userStatus < userStatus) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - if(newActDgree < __rhs.newActDgree) - { - return true; - } - else if(__rhs.newActDgree < newActDgree) - { - return false; - } - if(gencontacttimes < __rhs.gencontacttimes) - { - return true; - } - else if(__rhs.gencontacttimes < gencontacttimes) - { - return false; - } - if(rewardActDegree < __rhs.rewardActDegree) - { - return true; - } - else if(__rhs.rewardActDegree < rewardActDegree) - { - return false; - } - if(onlineActDegree < __rhs.onlineActDegree) - { - return true; - } - else if(__rhs.onlineActDegree < onlineActDegree) - { - return false; - } - if(createTime < __rhs.createTime) - { - return true; - } - else if(__rhs.createTime < createTime) - { - return false; - } - if(accounttype < __rhs.accounttype) - { - return true; - } - else if(__rhs.accounttype < accounttype) - { - return false; - } - if(userfunctions < __rhs.userfunctions) - { - return true; - } - else if(__rhs.userfunctions < userfunctions) - { - return false; - } - if(reqAddContactCount < __rhs.reqAddContactCount) - { - return true; - } - else if(__rhs.reqAddContactCount < reqAddContactCount) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEUserInfo2New::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(picId); - __os->write(sysMsgId); - __os->write(lastLoginTime); - __os->write(strangerMsgCount); - __os->write(loginCount); - __os->write(onlineTimes); - __os->write(addContactCount); - __os->write(addTribeCount); - __os->write(activeDegree); - __os->write(groupTimes); - __os->write(contactTimes); - __os->write(blacklistTimes); - __os->write(reverseBlacklistTimes); - __os->write(offlinemsgTimes); - __os->write(addContactVerify); - __os->write(sendMsgVerify); - __os->write(userStatus); - __os->write(userLevel); - __os->write(newActDgree); - __os->write(gencontacttimes); - __os->write(rewardActDegree); - __os->write(onlineActDegree); - __os->write(createTime); - __os->write(accounttype); - __os->write(userfunctions); - __os->write(reqAddContactCount); -} - -void -AliIMDBBase::SICEUserInfo2New::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(picId); - __is->read(sysMsgId); - __is->read(lastLoginTime); - __is->read(strangerMsgCount); - __is->read(loginCount); - __is->read(onlineTimes); - __is->read(addContactCount); - __is->read(addTribeCount); - __is->read(activeDegree); - __is->read(groupTimes); - __is->read(contactTimes); - __is->read(blacklistTimes); - __is->read(reverseBlacklistTimes); - __is->read(offlinemsgTimes); - __is->read(addContactVerify); - __is->read(sendMsgVerify); - __is->read(userStatus); - __is->read(userLevel); - __is->read(newActDgree); - __is->read(gencontacttimes); - __is->read(rewardActDegree); - __is->read(onlineActDegree); - __is->read(createTime); - __is->read(accounttype); - __is->read(userfunctions); - __is->read(reqAddContactCount); -} - -bool -AliIMDBBase::SICEUserInfoExNew::operator==(const SICEUserInfoExNew& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEUserInfoExNew::operator!=(const SICEUserInfoExNew& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(picId != __rhs.picId) - { - return true; - } - if(sysMsgId != __rhs.sysMsgId) - { - return true; - } - if(lastLoginTime != __rhs.lastLoginTime) - { - return true; - } - if(loginCount != __rhs.loginCount) - { - return true; - } - if(strangerMsgCount != __rhs.strangerMsgCount) - { - return true; - } - if(addContactCount != __rhs.addContactCount) - { - return true; - } - if(addTribeCount != __rhs.addTribeCount) - { - return true; - } - if(groupTimes != __rhs.groupTimes) - { - return true; - } - if(contactTimes != __rhs.contactTimes) - { - return true; - } - if(blacklistTimes != __rhs.blacklistTimes) - { - return true; - } - if(reverseBlacklistTimes != __rhs.reverseBlacklistTimes) - { - return true; - } - if(offlinemsgTimes != __rhs.offlinemsgTimes) - { - return true; - } - if(gencontacttimes != __rhs.gencontacttimes) - { - return true; - } - if(toolprofiletimes != __rhs.toolprofiletimes) - { - return true; - } - if(addContactVerify != __rhs.addContactVerify) - { - return true; - } - if(sendMsgVerify != __rhs.sendMsgVerify) - { - return true; - } - if(userStatus != __rhs.userStatus) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - if(totalActDegree != __rhs.totalActDegree) - { - return true; - } - if(createTime != __rhs.createTime) - { - return true; - } - if(accounttype != __rhs.accounttype) - { - return true; - } - if(loginIp != __rhs.loginIp) - { - return true; - } - if(userfunctions != __rhs.userfunctions) - { - return true; - } - if(reqAddContactCount != __rhs.reqAddContactCount) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEUserInfoExNew::operator<(const SICEUserInfoExNew& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(picId < __rhs.picId) - { - return true; - } - else if(__rhs.picId < picId) - { - return false; - } - if(sysMsgId < __rhs.sysMsgId) - { - return true; - } - else if(__rhs.sysMsgId < sysMsgId) - { - return false; - } - if(lastLoginTime < __rhs.lastLoginTime) - { - return true; - } - else if(__rhs.lastLoginTime < lastLoginTime) - { - return false; - } - if(loginCount < __rhs.loginCount) - { - return true; - } - else if(__rhs.loginCount < loginCount) - { - return false; - } - if(strangerMsgCount < __rhs.strangerMsgCount) - { - return true; - } - else if(__rhs.strangerMsgCount < strangerMsgCount) - { - return false; - } - if(addContactCount < __rhs.addContactCount) - { - return true; - } - else if(__rhs.addContactCount < addContactCount) - { - return false; - } - if(addTribeCount < __rhs.addTribeCount) - { - return true; - } - else if(__rhs.addTribeCount < addTribeCount) - { - return false; - } - if(groupTimes < __rhs.groupTimes) - { - return true; - } - else if(__rhs.groupTimes < groupTimes) - { - return false; - } - if(contactTimes < __rhs.contactTimes) - { - return true; - } - else if(__rhs.contactTimes < contactTimes) - { - return false; - } - if(blacklistTimes < __rhs.blacklistTimes) - { - return true; - } - else if(__rhs.blacklistTimes < blacklistTimes) - { - return false; - } - if(reverseBlacklistTimes < __rhs.reverseBlacklistTimes) - { - return true; - } - else if(__rhs.reverseBlacklistTimes < reverseBlacklistTimes) - { - return false; - } - if(offlinemsgTimes < __rhs.offlinemsgTimes) - { - return true; - } - else if(__rhs.offlinemsgTimes < offlinemsgTimes) - { - return false; - } - if(gencontacttimes < __rhs.gencontacttimes) - { - return true; - } - else if(__rhs.gencontacttimes < gencontacttimes) - { - return false; - } - if(toolprofiletimes < __rhs.toolprofiletimes) - { - return true; - } - else if(__rhs.toolprofiletimes < toolprofiletimes) - { - return false; - } - if(addContactVerify < __rhs.addContactVerify) - { - return true; - } - else if(__rhs.addContactVerify < addContactVerify) - { - return false; - } - if(sendMsgVerify < __rhs.sendMsgVerify) - { - return true; - } - else if(__rhs.sendMsgVerify < sendMsgVerify) - { - return false; - } - if(userStatus < __rhs.userStatus) - { - return true; - } - else if(__rhs.userStatus < userStatus) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - if(totalActDegree < __rhs.totalActDegree) - { - return true; - } - else if(__rhs.totalActDegree < totalActDegree) - { - return false; - } - if(createTime < __rhs.createTime) - { - return true; - } - else if(__rhs.createTime < createTime) - { - return false; - } - if(accounttype < __rhs.accounttype) - { - return true; - } - else if(__rhs.accounttype < accounttype) - { - return false; - } - if(loginIp < __rhs.loginIp) - { - return true; - } - else if(__rhs.loginIp < loginIp) - { - return false; - } - if(userfunctions < __rhs.userfunctions) - { - return true; - } - else if(__rhs.userfunctions < userfunctions) - { - return false; - } - if(reqAddContactCount < __rhs.reqAddContactCount) - { - return true; - } - else if(__rhs.reqAddContactCount < reqAddContactCount) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEUserInfoExNew::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(picId); - __os->write(sysMsgId); - __os->write(lastLoginTime); - __os->write(loginCount); - __os->write(strangerMsgCount); - __os->write(addContactCount); - __os->write(addTribeCount); - __os->write(groupTimes); - __os->write(contactTimes); - __os->write(blacklistTimes); - __os->write(reverseBlacklistTimes); - __os->write(offlinemsgTimes); - __os->write(gencontacttimes); - __os->write(toolprofiletimes); - __os->write(addContactVerify); - __os->write(sendMsgVerify); - __os->write(userStatus); - __os->write(userLevel); - __os->write(totalActDegree); - __os->write(createTime); - __os->write(accounttype); - __os->write(loginIp); - __os->write(userfunctions); - __os->write(reqAddContactCount); -} - -void -AliIMDBBase::SICEUserInfoExNew::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(picId); - __is->read(sysMsgId); - __is->read(lastLoginTime); - __is->read(loginCount); - __is->read(strangerMsgCount); - __is->read(addContactCount); - __is->read(addTribeCount); - __is->read(groupTimes); - __is->read(contactTimes); - __is->read(blacklistTimes); - __is->read(reverseBlacklistTimes); - __is->read(offlinemsgTimes); - __is->read(gencontacttimes); - __is->read(toolprofiletimes); - __is->read(addContactVerify); - __is->read(sendMsgVerify); - __is->read(userStatus); - __is->read(userLevel); - __is->read(totalActDegree); - __is->read(createTime); - __is->read(accounttype); - __is->read(loginIp); - __is->read(userfunctions); - __is->read(reqAddContactCount); -} - -bool -AliIMDBBase::SICEUserInfoExNew2::operator==(const SICEUserInfoExNew2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEUserInfoExNew2::operator!=(const SICEUserInfoExNew2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(picId != __rhs.picId) - { - return true; - } - if(sysMsgId != __rhs.sysMsgId) - { - return true; - } - if(lastLoginTime != __rhs.lastLoginTime) - { - return true; - } - if(loginCount != __rhs.loginCount) - { - return true; - } - if(strangerMsgCount != __rhs.strangerMsgCount) - { - return true; - } - if(addContactCount != __rhs.addContactCount) - { - return true; - } - if(addTribeCount != __rhs.addTribeCount) - { - return true; - } - if(groupTimes != __rhs.groupTimes) - { - return true; - } - if(contactTimes != __rhs.contactTimes) - { - return true; - } - if(blacklistTimes != __rhs.blacklistTimes) - { - return true; - } - if(reverseBlacklistTimes != __rhs.reverseBlacklistTimes) - { - return true; - } - if(offlinemsgTimes != __rhs.offlinemsgTimes) - { - return true; - } - if(gencontacttimes != __rhs.gencontacttimes) - { - return true; - } - if(toolprofiletimes != __rhs.toolprofiletimes) - { - return true; - } - if(addContactVerify != __rhs.addContactVerify) - { - return true; - } - if(sendMsgVerify != __rhs.sendMsgVerify) - { - return true; - } - if(userStatus != __rhs.userStatus) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - if(totalActDegree != __rhs.totalActDegree) - { - return true; - } - if(createTime != __rhs.createTime) - { - return true; - } - if(accounttype != __rhs.accounttype) - { - return true; - } - if(loginIp != __rhs.loginIp) - { - return true; - } - if(userfunctions != __rhs.userfunctions) - { - return true; - } - if(reqAddContactCount != __rhs.reqAddContactCount) - { - return true; - } - if(userValue != __rhs.userValue) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEUserInfoExNew2::operator<(const SICEUserInfoExNew2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(picId < __rhs.picId) - { - return true; - } - else if(__rhs.picId < picId) - { - return false; - } - if(sysMsgId < __rhs.sysMsgId) - { - return true; - } - else if(__rhs.sysMsgId < sysMsgId) - { - return false; - } - if(lastLoginTime < __rhs.lastLoginTime) - { - return true; - } - else if(__rhs.lastLoginTime < lastLoginTime) - { - return false; - } - if(loginCount < __rhs.loginCount) - { - return true; - } - else if(__rhs.loginCount < loginCount) - { - return false; - } - if(strangerMsgCount < __rhs.strangerMsgCount) - { - return true; - } - else if(__rhs.strangerMsgCount < strangerMsgCount) - { - return false; - } - if(addContactCount < __rhs.addContactCount) - { - return true; - } - else if(__rhs.addContactCount < addContactCount) - { - return false; - } - if(addTribeCount < __rhs.addTribeCount) - { - return true; - } - else if(__rhs.addTribeCount < addTribeCount) - { - return false; - } - if(groupTimes < __rhs.groupTimes) - { - return true; - } - else if(__rhs.groupTimes < groupTimes) - { - return false; - } - if(contactTimes < __rhs.contactTimes) - { - return true; - } - else if(__rhs.contactTimes < contactTimes) - { - return false; - } - if(blacklistTimes < __rhs.blacklistTimes) - { - return true; - } - else if(__rhs.blacklistTimes < blacklistTimes) - { - return false; - } - if(reverseBlacklistTimes < __rhs.reverseBlacklistTimes) - { - return true; - } - else if(__rhs.reverseBlacklistTimes < reverseBlacklistTimes) - { - return false; - } - if(offlinemsgTimes < __rhs.offlinemsgTimes) - { - return true; - } - else if(__rhs.offlinemsgTimes < offlinemsgTimes) - { - return false; - } - if(gencontacttimes < __rhs.gencontacttimes) - { - return true; - } - else if(__rhs.gencontacttimes < gencontacttimes) - { - return false; - } - if(toolprofiletimes < __rhs.toolprofiletimes) - { - return true; - } - else if(__rhs.toolprofiletimes < toolprofiletimes) - { - return false; - } - if(addContactVerify < __rhs.addContactVerify) - { - return true; - } - else if(__rhs.addContactVerify < addContactVerify) - { - return false; - } - if(sendMsgVerify < __rhs.sendMsgVerify) - { - return true; - } - else if(__rhs.sendMsgVerify < sendMsgVerify) - { - return false; - } - if(userStatus < __rhs.userStatus) - { - return true; - } - else if(__rhs.userStatus < userStatus) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - if(totalActDegree < __rhs.totalActDegree) - { - return true; - } - else if(__rhs.totalActDegree < totalActDegree) - { - return false; - } - if(createTime < __rhs.createTime) - { - return true; - } - else if(__rhs.createTime < createTime) - { - return false; - } - if(accounttype < __rhs.accounttype) - { - return true; - } - else if(__rhs.accounttype < accounttype) - { - return false; - } - if(loginIp < __rhs.loginIp) - { - return true; - } - else if(__rhs.loginIp < loginIp) - { - return false; - } - if(userfunctions < __rhs.userfunctions) - { - return true; - } - else if(__rhs.userfunctions < userfunctions) - { - return false; - } - if(reqAddContactCount < __rhs.reqAddContactCount) - { - return true; - } - else if(__rhs.reqAddContactCount < reqAddContactCount) - { - return false; - } - if(userValue < __rhs.userValue) - { - return true; - } - else if(__rhs.userValue < userValue) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEUserInfoExNew2::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(picId); - __os->write(sysMsgId); - __os->write(lastLoginTime); - __os->write(loginCount); - __os->write(strangerMsgCount); - __os->write(addContactCount); - __os->write(addTribeCount); - __os->write(groupTimes); - __os->write(contactTimes); - __os->write(blacklistTimes); - __os->write(reverseBlacklistTimes); - __os->write(offlinemsgTimes); - __os->write(gencontacttimes); - __os->write(toolprofiletimes); - __os->write(addContactVerify); - __os->write(sendMsgVerify); - __os->write(userStatus); - __os->write(userLevel); - __os->write(totalActDegree); - __os->write(createTime); - __os->write(accounttype); - __os->write(loginIp); - __os->write(userfunctions); - __os->write(reqAddContactCount); - __os->write(userValue); -} - -void -AliIMDBBase::SICEUserInfoExNew2::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(picId); - __is->read(sysMsgId); - __is->read(lastLoginTime); - __is->read(loginCount); - __is->read(strangerMsgCount); - __is->read(addContactCount); - __is->read(addTribeCount); - __is->read(groupTimes); - __is->read(contactTimes); - __is->read(blacklistTimes); - __is->read(reverseBlacklistTimes); - __is->read(offlinemsgTimes); - __is->read(gencontacttimes); - __is->read(toolprofiletimes); - __is->read(addContactVerify); - __is->read(sendMsgVerify); - __is->read(userStatus); - __is->read(userLevel); - __is->read(totalActDegree); - __is->read(createTime); - __is->read(accounttype); - __is->read(loginIp); - __is->read(userfunctions); - __is->read(reqAddContactCount); - __is->read(userValue); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::RIGHTTABLE& v, ::AliIMDBBase::__U__RIGHTTABLE) -{ - __os->writeSize(::Ice::Int(v.size())); - ::AliIMDBBase::RIGHTTABLE::const_iterator p; - for(p = v.begin(); p != v.end(); ++p) - { - __os->write(p->first); - __os->write(p->second); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::RIGHTTABLE& v, ::AliIMDBBase::__U__RIGHTTABLE) -{ - ::Ice::Int sz; - __is->readSize(sz); - while(sz--) - { - ::std::pair pair; - __is->read(const_cast< ::Ice::Int&>(pair.first)); - ::AliIMDBBase::RIGHTTABLE::iterator __i = v.insert(v.end(), pair); - __is->read(__i->second); - } -} - -bool -AliIMDBBase::SICEUserInfoExNew3::operator==(const SICEUserInfoExNew3& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEUserInfoExNew3::operator!=(const SICEUserInfoExNew3& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(picId != __rhs.picId) - { - return true; - } - if(sysMsgId != __rhs.sysMsgId) - { - return true; - } - if(lastLoginTime != __rhs.lastLoginTime) - { - return true; - } - if(loginCount != __rhs.loginCount) - { - return true; - } - if(groupTimes != __rhs.groupTimes) - { - return true; - } - if(contactTimes != __rhs.contactTimes) - { - return true; - } - if(blacklistTimes != __rhs.blacklistTimes) - { - return true; - } - if(reverseBlacklistTimes != __rhs.reverseBlacklistTimes) - { - return true; - } - if(offlinemsgTimes != __rhs.offlinemsgTimes) - { - return true; - } - if(gencontacttimes != __rhs.gencontacttimes) - { - return true; - } - if(toolprofiletimes != __rhs.toolprofiletimes) - { - return true; - } - if(addContactVerify != __rhs.addContactVerify) - { - return true; - } - if(sendMsgVerify != __rhs.sendMsgVerify) - { - return true; - } - if(userStatus != __rhs.userStatus) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - if(totalActDegree != __rhs.totalActDegree) - { - return true; - } - if(createTime != __rhs.createTime) - { - return true; - } - if(accounttype != __rhs.accounttype) - { - return true; - } - if(loginIp != __rhs.loginIp) - { - return true; - } - if(userfunctions != __rhs.userfunctions) - { - return true; - } - if(userValue != __rhs.userValue) - { - return true; - } - if(rightMap != __rhs.rightMap) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEUserInfoExNew3::operator<(const SICEUserInfoExNew3& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(picId < __rhs.picId) - { - return true; - } - else if(__rhs.picId < picId) - { - return false; - } - if(sysMsgId < __rhs.sysMsgId) - { - return true; - } - else if(__rhs.sysMsgId < sysMsgId) - { - return false; - } - if(lastLoginTime < __rhs.lastLoginTime) - { - return true; - } - else if(__rhs.lastLoginTime < lastLoginTime) - { - return false; - } - if(loginCount < __rhs.loginCount) - { - return true; - } - else if(__rhs.loginCount < loginCount) - { - return false; - } - if(groupTimes < __rhs.groupTimes) - { - return true; - } - else if(__rhs.groupTimes < groupTimes) - { - return false; - } - if(contactTimes < __rhs.contactTimes) - { - return true; - } - else if(__rhs.contactTimes < contactTimes) - { - return false; - } - if(blacklistTimes < __rhs.blacklistTimes) - { - return true; - } - else if(__rhs.blacklistTimes < blacklistTimes) - { - return false; - } - if(reverseBlacklistTimes < __rhs.reverseBlacklistTimes) - { - return true; - } - else if(__rhs.reverseBlacklistTimes < reverseBlacklistTimes) - { - return false; - } - if(offlinemsgTimes < __rhs.offlinemsgTimes) - { - return true; - } - else if(__rhs.offlinemsgTimes < offlinemsgTimes) - { - return false; - } - if(gencontacttimes < __rhs.gencontacttimes) - { - return true; - } - else if(__rhs.gencontacttimes < gencontacttimes) - { - return false; - } - if(toolprofiletimes < __rhs.toolprofiletimes) - { - return true; - } - else if(__rhs.toolprofiletimes < toolprofiletimes) - { - return false; - } - if(addContactVerify < __rhs.addContactVerify) - { - return true; - } - else if(__rhs.addContactVerify < addContactVerify) - { - return false; - } - if(sendMsgVerify < __rhs.sendMsgVerify) - { - return true; - } - else if(__rhs.sendMsgVerify < sendMsgVerify) - { - return false; - } - if(userStatus < __rhs.userStatus) - { - return true; - } - else if(__rhs.userStatus < userStatus) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - if(totalActDegree < __rhs.totalActDegree) - { - return true; - } - else if(__rhs.totalActDegree < totalActDegree) - { - return false; - } - if(createTime < __rhs.createTime) - { - return true; - } - else if(__rhs.createTime < createTime) - { - return false; - } - if(accounttype < __rhs.accounttype) - { - return true; - } - else if(__rhs.accounttype < accounttype) - { - return false; - } - if(loginIp < __rhs.loginIp) - { - return true; - } - else if(__rhs.loginIp < loginIp) - { - return false; - } - if(userfunctions < __rhs.userfunctions) - { - return true; - } - else if(__rhs.userfunctions < userfunctions) - { - return false; - } - if(userValue < __rhs.userValue) - { - return true; - } - else if(__rhs.userValue < userValue) - { - return false; - } - if(rightMap < __rhs.rightMap) - { - return true; - } - else if(__rhs.rightMap < rightMap) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEUserInfoExNew3::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(picId); - __os->write(sysMsgId); - __os->write(lastLoginTime); - __os->write(loginCount); - __os->write(groupTimes); - __os->write(contactTimes); - __os->write(blacklistTimes); - __os->write(reverseBlacklistTimes); - __os->write(offlinemsgTimes); - __os->write(gencontacttimes); - __os->write(toolprofiletimes); - __os->write(addContactVerify); - __os->write(sendMsgVerify); - __os->write(userStatus); - __os->write(userLevel); - __os->write(totalActDegree); - __os->write(createTime); - __os->write(accounttype); - __os->write(loginIp); - __os->write(userfunctions); - __os->write(userValue); - ::AliIMDBBase::__write(__os, rightMap, ::AliIMDBBase::__U__RIGHTTABLE()); -} - -void -AliIMDBBase::SICEUserInfoExNew3::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(picId); - __is->read(sysMsgId); - __is->read(lastLoginTime); - __is->read(loginCount); - __is->read(groupTimes); - __is->read(contactTimes); - __is->read(blacklistTimes); - __is->read(reverseBlacklistTimes); - __is->read(offlinemsgTimes); - __is->read(gencontacttimes); - __is->read(toolprofiletimes); - __is->read(addContactVerify); - __is->read(sendMsgVerify); - __is->read(userStatus); - __is->read(userLevel); - __is->read(totalActDegree); - __is->read(createTime); - __is->read(accounttype); - __is->read(loginIp); - __is->read(userfunctions); - __is->read(userValue); - ::AliIMDBBase::__read(__is, rightMap, ::AliIMDBBase::__U__RIGHTTABLE()); -} - -bool -AliIMDBBase::SICEUserInfoExNew4::operator==(const SICEUserInfoExNew4& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEUserInfoExNew4::operator!=(const SICEUserInfoExNew4& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(picId != __rhs.picId) - { - return true; - } - if(sysMsgId != __rhs.sysMsgId) - { - return true; - } - if(lastLoginTime != __rhs.lastLoginTime) - { - return true; - } - if(loginCount != __rhs.loginCount) - { - return true; - } - if(strangerMsgCount != __rhs.strangerMsgCount) - { - return true; - } - if(addContactCount != __rhs.addContactCount) - { - return true; - } - if(addTribeCount != __rhs.addTribeCount) - { - return true; - } - if(groupTimes != __rhs.groupTimes) - { - return true; - } - if(contactTimes != __rhs.contactTimes) - { - return true; - } - if(blacklistTimes != __rhs.blacklistTimes) - { - return true; - } - if(reverseBlacklistTimes != __rhs.reverseBlacklistTimes) - { - return true; - } - if(offlinemsgTimes != __rhs.offlinemsgTimes) - { - return true; - } - if(gencontacttimes != __rhs.gencontacttimes) - { - return true; - } - if(toolprofiletimes != __rhs.toolprofiletimes) - { - return true; - } - if(addContactVerify != __rhs.addContactVerify) - { - return true; - } - if(sendMsgVerify != __rhs.sendMsgVerify) - { - return true; - } - if(userStatus != __rhs.userStatus) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - if(totalActDegree != __rhs.totalActDegree) - { - return true; - } - if(createTime != __rhs.createTime) - { - return true; - } - if(accounttype != __rhs.accounttype) - { - return true; - } - if(loginIp != __rhs.loginIp) - { - return true; - } - if(userfunctions != __rhs.userfunctions) - { - return true; - } - if(userValue != __rhs.userValue) - { - return true; - } - if(rightMap != __rhs.rightMap) - { - return true; - } - if(question != __rhs.question) - { - return true; - } - if(answer != __rhs.answer) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEUserInfoExNew4::operator<(const SICEUserInfoExNew4& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(picId < __rhs.picId) - { - return true; - } - else if(__rhs.picId < picId) - { - return false; - } - if(sysMsgId < __rhs.sysMsgId) - { - return true; - } - else if(__rhs.sysMsgId < sysMsgId) - { - return false; - } - if(lastLoginTime < __rhs.lastLoginTime) - { - return true; - } - else if(__rhs.lastLoginTime < lastLoginTime) - { - return false; - } - if(loginCount < __rhs.loginCount) - { - return true; - } - else if(__rhs.loginCount < loginCount) - { - return false; - } - if(strangerMsgCount < __rhs.strangerMsgCount) - { - return true; - } - else if(__rhs.strangerMsgCount < strangerMsgCount) - { - return false; - } - if(addContactCount < __rhs.addContactCount) - { - return true; - } - else if(__rhs.addContactCount < addContactCount) - { - return false; - } - if(addTribeCount < __rhs.addTribeCount) - { - return true; - } - else if(__rhs.addTribeCount < addTribeCount) - { - return false; - } - if(groupTimes < __rhs.groupTimes) - { - return true; - } - else if(__rhs.groupTimes < groupTimes) - { - return false; - } - if(contactTimes < __rhs.contactTimes) - { - return true; - } - else if(__rhs.contactTimes < contactTimes) - { - return false; - } - if(blacklistTimes < __rhs.blacklistTimes) - { - return true; - } - else if(__rhs.blacklistTimes < blacklistTimes) - { - return false; - } - if(reverseBlacklistTimes < __rhs.reverseBlacklistTimes) - { - return true; - } - else if(__rhs.reverseBlacklistTimes < reverseBlacklistTimes) - { - return false; - } - if(offlinemsgTimes < __rhs.offlinemsgTimes) - { - return true; - } - else if(__rhs.offlinemsgTimes < offlinemsgTimes) - { - return false; - } - if(gencontacttimes < __rhs.gencontacttimes) - { - return true; - } - else if(__rhs.gencontacttimes < gencontacttimes) - { - return false; - } - if(toolprofiletimes < __rhs.toolprofiletimes) - { - return true; - } - else if(__rhs.toolprofiletimes < toolprofiletimes) - { - return false; - } - if(addContactVerify < __rhs.addContactVerify) - { - return true; - } - else if(__rhs.addContactVerify < addContactVerify) - { - return false; - } - if(sendMsgVerify < __rhs.sendMsgVerify) - { - return true; - } - else if(__rhs.sendMsgVerify < sendMsgVerify) - { - return false; - } - if(userStatus < __rhs.userStatus) - { - return true; - } - else if(__rhs.userStatus < userStatus) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - if(totalActDegree < __rhs.totalActDegree) - { - return true; - } - else if(__rhs.totalActDegree < totalActDegree) - { - return false; - } - if(createTime < __rhs.createTime) - { - return true; - } - else if(__rhs.createTime < createTime) - { - return false; - } - if(accounttype < __rhs.accounttype) - { - return true; - } - else if(__rhs.accounttype < accounttype) - { - return false; - } - if(loginIp < __rhs.loginIp) - { - return true; - } - else if(__rhs.loginIp < loginIp) - { - return false; - } - if(userfunctions < __rhs.userfunctions) - { - return true; - } - else if(__rhs.userfunctions < userfunctions) - { - return false; - } - if(userValue < __rhs.userValue) - { - return true; - } - else if(__rhs.userValue < userValue) - { - return false; - } - if(rightMap < __rhs.rightMap) - { - return true; - } - else if(__rhs.rightMap < rightMap) - { - return false; - } - if(question < __rhs.question) - { - return true; - } - else if(__rhs.question < question) - { - return false; - } - if(answer < __rhs.answer) - { - return true; - } - else if(__rhs.answer < answer) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEUserInfoExNew4::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(picId); - __os->write(sysMsgId); - __os->write(lastLoginTime); - __os->write(loginCount); - __os->write(strangerMsgCount); - __os->write(addContactCount); - __os->write(addTribeCount); - __os->write(groupTimes); - __os->write(contactTimes); - __os->write(blacklistTimes); - __os->write(reverseBlacklistTimes); - __os->write(offlinemsgTimes); - __os->write(gencontacttimes); - __os->write(toolprofiletimes); - __os->write(addContactVerify); - __os->write(sendMsgVerify); - __os->write(userStatus); - __os->write(userLevel); - __os->write(totalActDegree); - __os->write(createTime); - __os->write(accounttype); - __os->write(loginIp); - __os->write(userfunctions); - __os->write(userValue); - ::AliIMDBBase::__write(__os, rightMap, ::AliIMDBBase::__U__RIGHTTABLE()); - __os->write(question); - __os->write(answer); -} - -void -AliIMDBBase::SICEUserInfoExNew4::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(picId); - __is->read(sysMsgId); - __is->read(lastLoginTime); - __is->read(loginCount); - __is->read(strangerMsgCount); - __is->read(addContactCount); - __is->read(addTribeCount); - __is->read(groupTimes); - __is->read(contactTimes); - __is->read(blacklistTimes); - __is->read(reverseBlacklistTimes); - __is->read(offlinemsgTimes); - __is->read(gencontacttimes); - __is->read(toolprofiletimes); - __is->read(addContactVerify); - __is->read(sendMsgVerify); - __is->read(userStatus); - __is->read(userLevel); - __is->read(totalActDegree); - __is->read(createTime); - __is->read(accounttype); - __is->read(loginIp); - __is->read(userfunctions); - __is->read(userValue); - ::AliIMDBBase::__read(__is, rightMap, ::AliIMDBBase::__U__RIGHTTABLE()); - __is->read(question); - __is->read(answer); -} - -bool -AliIMDBBase::SICEGroupInfo::operator==(const SICEGroupInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEGroupInfo::operator!=(const SICEGroupInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(groupName != __rhs.groupName) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEGroupInfo::operator<(const SICEGroupInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(groupName < __rhs.groupName) - { - return true; - } - else if(__rhs.groupName < groupName) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEGroupInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(groupId); - __os->write(groupName); -} - -void -AliIMDBBase::SICEGroupInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(groupId); - __is->read(groupName); -} - -bool -AliIMDBBase::SICEGroupInfoEx::operator==(const SICEGroupInfoEx& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEGroupInfoEx::operator!=(const SICEGroupInfoEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(parentId != __rhs.parentId) - { - return true; - } - if(groupName != __rhs.groupName) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEGroupInfoEx::operator<(const SICEGroupInfoEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(parentId < __rhs.parentId) - { - return true; - } - else if(__rhs.parentId < parentId) - { - return false; - } - if(groupName < __rhs.groupName) - { - return true; - } - else if(__rhs.groupName < groupName) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEGroupInfoEx::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(groupId); - __os->write(parentId); - __os->write(groupName); -} - -void -AliIMDBBase::SICEGroupInfoEx::__read(::IceInternal::BasicStream* __is) -{ - __is->read(groupId); - __is->read(parentId); - __is->read(groupName); -} - -bool -AliIMDBBase::SICEContactInfo::operator==(const SICEContactInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEContactInfo::operator!=(const SICEContactInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(contactId != __rhs.contactId) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(nickName != __rhs.nickName) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(cid != __rhs.cid) - { - return true; - } - if(cnttype != __rhs.cnttype) - { - return true; - } - if(clientInfo != __rhs.clientInfo) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEContactInfo::operator<(const SICEContactInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(contactId < __rhs.contactId) - { - return true; - } - else if(__rhs.contactId < contactId) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(nickName < __rhs.nickName) - { - return true; - } - else if(__rhs.nickName < nickName) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(cid < __rhs.cid) - { - return true; - } - else if(__rhs.cid < cid) - { - return false; - } - if(cnttype < __rhs.cnttype) - { - return true; - } - else if(__rhs.cnttype < cnttype) - { - return false; - } - if(clientInfo < __rhs.clientInfo) - { - return true; - } - else if(__rhs.clientInfo < clientInfo) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEContactInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(contactId); - __os->write(groupId); - __os->write(nickName); - __os->write(status); - __os->write(cid); - __os->write(cnttype); - __os->write(clientInfo); -} - -void -AliIMDBBase::SICEContactInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(contactId); - __is->read(groupId); - __is->read(nickName); - __is->read(status); - __is->read(cid); - __is->read(cnttype); - __is->read(clientInfo); -} - -bool -AliIMDBBase::SICEUserId::operator==(const SICEUserId& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEUserId::operator!=(const SICEUserId& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEUserId::operator<(const SICEUserId& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEUserId::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); -} - -void -AliIMDBBase::SICEUserId::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); -} - -bool -AliIMDBBase::SICEOffLineMessege::operator==(const SICEOffLineMessege& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEOffLineMessege::operator!=(const SICEOffLineMessege& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(createTime != __rhs.createTime) - { - return true; - } - if(type != __rhs.type) - { - return true; - } - if(fromId != __rhs.fromId) - { - return true; - } - if(content != __rhs.content) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEOffLineMessege::operator<(const SICEOffLineMessege& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(createTime < __rhs.createTime) - { - return true; - } - else if(__rhs.createTime < createTime) - { - return false; - } - if(type < __rhs.type) - { - return true; - } - else if(__rhs.type < type) - { - return false; - } - if(fromId < __rhs.fromId) - { - return true; - } - else if(__rhs.fromId < fromId) - { - return false; - } - if(content < __rhs.content) - { - return true; - } - else if(__rhs.content < content) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEOffLineMessege::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(createTime); - __os->write(type); - __os->write(fromId); - __os->write(content); -} - -void -AliIMDBBase::SICEOffLineMessege::__read(::IceInternal::BasicStream* __is) -{ - __is->read(createTime); - __is->read(type); - __is->read(fromId); - __is->read(content); -} - -bool -AliIMDBBase::SICEOffLineMessegeEx::operator==(const SICEOffLineMessegeEx& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEOffLineMessegeEx::operator!=(const SICEOffLineMessegeEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(sendTime != __rhs.sendTime) - { - return true; - } - if(type != __rhs.type) - { - return true; - } - if(fromId != __rhs.fromId) - { - return true; - } - if(content != __rhs.content) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEOffLineMessegeEx::operator<(const SICEOffLineMessegeEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(sendTime < __rhs.sendTime) - { - return true; - } - else if(__rhs.sendTime < sendTime) - { - return false; - } - if(type < __rhs.type) - { - return true; - } - else if(__rhs.type < type) - { - return false; - } - if(fromId < __rhs.fromId) - { - return true; - } - else if(__rhs.fromId < fromId) - { - return false; - } - if(content < __rhs.content) - { - return true; - } - else if(__rhs.content < content) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEOffLineMessegeEx::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(sendTime); - __os->write(type); - __os->write(fromId); - __os->write(content); -} - -void -AliIMDBBase::SICEOffLineMessegeEx::__read(::IceInternal::BasicStream* __is) -{ - __is->read(sendTime); - __is->read(type); - __is->read(fromId); - __is->read(content); -} - -bool -AliIMDBBase::SICEUserDStatus::operator==(const SICEUserDStatus& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEUserDStatus::operator!=(const SICEUserDStatus& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(statusId != __rhs.statusId) - { - return true; - } - if(statusInfo != __rhs.statusInfo) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEUserDStatus::operator<(const SICEUserDStatus& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(statusId < __rhs.statusId) - { - return true; - } - else if(__rhs.statusId < statusId) - { - return false; - } - if(statusInfo < __rhs.statusInfo) - { - return true; - } - else if(__rhs.statusInfo < statusInfo) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEUserDStatus::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(statusId); - __os->write(statusInfo); -} - -void -AliIMDBBase::SICEUserDStatus::__read(::IceInternal::BasicStream* __is) -{ - __is->read(statusId); - __is->read(statusInfo); -} - -bool -AliIMDBBase::SICECntCidModPair::operator==(const SICECntCidModPair& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICECntCidModPair::operator!=(const SICECntCidModPair& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(cid != __rhs.cid) - { - return true; - } - if(modSeqId != __rhs.modSeqId) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICECntCidModPair::operator<(const SICECntCidModPair& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(cid < __rhs.cid) - { - return true; - } - else if(__rhs.cid < cid) - { - return false; - } - if(modSeqId < __rhs.modSeqId) - { - return true; - } - else if(__rhs.modSeqId < modSeqId) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICECntCidModPair::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(cid); - __os->write(modSeqId); -} - -void -AliIMDBBase::SICECntCidModPair::__read(::IceInternal::BasicStream* __is) -{ - __is->read(cid); - __is->read(modSeqId); -} - -bool -AliIMDBBase::SICECRMContactDetail::operator==(const SICECRMContactDetail& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICECRMContactDetail::operator!=(const SICECRMContactDetail& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(cntname != __rhs.cntname) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(phoneno != __rhs.phoneno) - { - return true; - } - if(mobileno != __rhs.mobileno) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(sex != __rhs.sex) - { - return true; - } - if(jobtitle != __rhs.jobtitle) - { - return true; - } - if(compaddr != __rhs.compaddr) - { - return true; - } - if(bizcatid != __rhs.bizcatid) - { - return true; - } - if(buykeys != __rhs.buykeys) - { - return true; - } - if(salekeys != __rhs.salekeys) - { - return true; - } - if(faxnumber != __rhs.faxnumber) - { - return true; - } - if(penname != __rhs.penname) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICECRMContactDetail::operator<(const SICECRMContactDetail& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(cntname < __rhs.cntname) - { - return true; - } - else if(__rhs.cntname < cntname) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(phoneno < __rhs.phoneno) - { - return true; - } - else if(__rhs.phoneno < phoneno) - { - return false; - } - if(mobileno < __rhs.mobileno) - { - return true; - } - else if(__rhs.mobileno < mobileno) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(sex < __rhs.sex) - { - return true; - } - else if(__rhs.sex < sex) - { - return false; - } - if(jobtitle < __rhs.jobtitle) - { - return true; - } - else if(__rhs.jobtitle < jobtitle) - { - return false; - } - if(compaddr < __rhs.compaddr) - { - return true; - } - else if(__rhs.compaddr < compaddr) - { - return false; - } - if(bizcatid < __rhs.bizcatid) - { - return true; - } - else if(__rhs.bizcatid < bizcatid) - { - return false; - } - if(buykeys < __rhs.buykeys) - { - return true; - } - else if(__rhs.buykeys < buykeys) - { - return false; - } - if(salekeys < __rhs.salekeys) - { - return true; - } - else if(__rhs.salekeys < salekeys) - { - return false; - } - if(faxnumber < __rhs.faxnumber) - { - return true; - } - else if(__rhs.faxnumber < faxnumber) - { - return false; - } - if(penname < __rhs.penname) - { - return true; - } - else if(__rhs.penname < penname) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICECRMContactDetail::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(cntname); - __os->write(email); - __os->write(phoneno); - __os->write(mobileno); - __os->write(company); - __os->write(sex); - __os->write(jobtitle); - __os->write(compaddr); - __os->write(bizcatid); - __os->write(buykeys); - __os->write(salekeys); - __os->write(faxnumber); - __os->write(penname); -} - -void -AliIMDBBase::SICECRMContactDetail::__read(::IceInternal::BasicStream* __is) -{ - __is->read(cntname); - __is->read(email); - __is->read(phoneno); - __is->read(mobileno); - __is->read(company); - __is->read(sex); - __is->read(jobtitle); - __is->read(compaddr); - __is->read(bizcatid); - __is->read(buykeys); - __is->read(salekeys); - __is->read(faxnumber); - __is->read(penname); -} - -bool -AliIMDBBase::SICESeqId::operator==(const SICESeqId& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICESeqId::operator!=(const SICESeqId& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(seqId != __rhs.seqId) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICESeqId::operator<(const SICESeqId& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(seqId < __rhs.seqId) - { - return true; - } - else if(__rhs.seqId < seqId) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICESeqId::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(seqId); -} - -void -AliIMDBBase::SICESeqId::__read(::IceInternal::BasicStream* __is) -{ - __is->read(seqId); -} - -bool -AliIMDBBase::SICENetPhoneChargeInfo::operator==(const SICENetPhoneChargeInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICENetPhoneChargeInfo::operator!=(const SICENetPhoneChargeInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(chargeseqid != __rhs.chargeseqid) - { - return true; - } - if(payseqid != __rhs.payseqid) - { - return true; - } - if(chargebegintime != __rhs.chargebegintime) - { - return true; - } - if(denomination != __rhs.denomination) - { - return true; - } - if(payrealmoney != __rhs.payrealmoney) - { - return true; - } - if(chargestatus != __rhs.chargestatus) - { - return true; - } - if(paystatus != __rhs.paystatus) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICENetPhoneChargeInfo::operator<(const SICENetPhoneChargeInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(chargeseqid < __rhs.chargeseqid) - { - return true; - } - else if(__rhs.chargeseqid < chargeseqid) - { - return false; - } - if(payseqid < __rhs.payseqid) - { - return true; - } - else if(__rhs.payseqid < payseqid) - { - return false; - } - if(chargebegintime < __rhs.chargebegintime) - { - return true; - } - else if(__rhs.chargebegintime < chargebegintime) - { - return false; - } - if(denomination < __rhs.denomination) - { - return true; - } - else if(__rhs.denomination < denomination) - { - return false; - } - if(payrealmoney < __rhs.payrealmoney) - { - return true; - } - else if(__rhs.payrealmoney < payrealmoney) - { - return false; - } - if(chargestatus < __rhs.chargestatus) - { - return true; - } - else if(__rhs.chargestatus < chargestatus) - { - return false; - } - if(paystatus < __rhs.paystatus) - { - return true; - } - else if(__rhs.paystatus < paystatus) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICENetPhoneChargeInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(chargeseqid); - __os->write(payseqid); - __os->write(chargebegintime); - __os->write(denomination); - __os->write(payrealmoney); - __os->write(chargestatus); - __os->write(paystatus); -} - -void -AliIMDBBase::SICENetPhoneChargeInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(chargeseqid); - __is->read(payseqid); - __is->read(chargebegintime); - __is->read(denomination); - __is->read(payrealmoney); - __is->read(chargestatus); - __is->read(paystatus); -} - -bool -AliIMDBBase::SICEGenContactFull::operator==(const SICEGenContactFull& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEGenContactFull::operator!=(const SICEGenContactFull& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(cid != __rhs.cid) - { - return true; - } - if(cntid != __rhs.cntid) - { - return true; - } - if(nickname != __rhs.nickname) - { - return true; - } - if(seqid != __rhs.seqid) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(showflag != __rhs.showflag) - { - return true; - } - if(sex != __rhs.sex) - { - return true; - } - if(cnttype != __rhs.cnttype) - { - return true; - } - if(bizcatid != __rhs.bizcatid) - { - return true; - } - if(realname != __rhs.realname) - { - return true; - } - if(email1 != __rhs.email1) - { - return true; - } - if(cphoneno1 != __rhs.cphoneno1) - { - return true; - } - if(hphoneno1 != __rhs.hphoneno1) - { - return true; - } - if(mobileno1 != __rhs.mobileno1) - { - return true; - } - if(alitalkid != __rhs.alitalkid) - { - return true; - } - if(companyname != __rhs.companyname) - { - return true; - } - if(email2 != __rhs.email2) - { - return true; - } - if(email3 != __rhs.email3) - { - return true; - } - if(cphoneno2 != __rhs.cphoneno2) - { - return true; - } - if(cphoneno3 != __rhs.cphoneno3) - { - return true; - } - if(mobileno2 != __rhs.mobileno2) - { - return true; - } - if(mobileno3 != __rhs.mobileno3) - { - return true; - } - if(buykeys != __rhs.buykeys) - { - return true; - } - if(salekeys != __rhs.salekeys) - { - return true; - } - if(jobtitle != __rhs.jobtitle) - { - return true; - } - if(compaddr != __rhs.compaddr) - { - return true; - } - if(homeaddr != __rhs.homeaddr) - { - return true; - } - if(compzip != __rhs.compzip) - { - return true; - } - if(homezip != __rhs.homezip) - { - return true; - } - if(cntpicid != __rhs.cntpicid) - { - return true; - } - if(compurl != __rhs.compurl) - { - return true; - } - if(homeurl != __rhs.homeurl) - { - return true; - } - if(wwangid != __rhs.wwangid) - { - return true; - } - if(yahooid != __rhs.yahooid) - { - return true; - } - if(msnid != __rhs.msnid) - { - return true; - } - if(qqid != __rhs.qqid) - { - return true; - } - if(deptname != __rhs.deptname) - { - return true; - } - if(managername != __rhs.managername) - { - return true; - } - if(idnumber != __rhs.idnumber) - { - return true; - } - if(workidno != __rhs.workidno) - { - return true; - } - if(faxnumber != __rhs.faxnumber) - { - return true; - } - if(penname != __rhs.penname) - { - return true; - } - if(engname != __rhs.engname) - { - return true; - } - if(consortname != __rhs.consortname) - { - return true; - } - if(avocation != __rhs.avocation) - { - return true; - } - if(assistname != __rhs.assistname) - { - return true; - } - if(childname != __rhs.childname) - { - return true; - } - if(birthday != __rhs.birthday) - { - return true; - } - if(memo != __rhs.memo) - { - return true; - } - if(firstname != __rhs.firstname) - { - return true; - } - if(lastname != __rhs.lastname) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEGenContactFull::operator<(const SICEGenContactFull& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(cid < __rhs.cid) - { - return true; - } - else if(__rhs.cid < cid) - { - return false; - } - if(cntid < __rhs.cntid) - { - return true; - } - else if(__rhs.cntid < cntid) - { - return false; - } - if(nickname < __rhs.nickname) - { - return true; - } - else if(__rhs.nickname < nickname) - { - return false; - } - if(seqid < __rhs.seqid) - { - return true; - } - else if(__rhs.seqid < seqid) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(showflag < __rhs.showflag) - { - return true; - } - else if(__rhs.showflag < showflag) - { - return false; - } - if(sex < __rhs.sex) - { - return true; - } - else if(__rhs.sex < sex) - { - return false; - } - if(cnttype < __rhs.cnttype) - { - return true; - } - else if(__rhs.cnttype < cnttype) - { - return false; - } - if(bizcatid < __rhs.bizcatid) - { - return true; - } - else if(__rhs.bizcatid < bizcatid) - { - return false; - } - if(realname < __rhs.realname) - { - return true; - } - else if(__rhs.realname < realname) - { - return false; - } - if(email1 < __rhs.email1) - { - return true; - } - else if(__rhs.email1 < email1) - { - return false; - } - if(cphoneno1 < __rhs.cphoneno1) - { - return true; - } - else if(__rhs.cphoneno1 < cphoneno1) - { - return false; - } - if(hphoneno1 < __rhs.hphoneno1) - { - return true; - } - else if(__rhs.hphoneno1 < hphoneno1) - { - return false; - } - if(mobileno1 < __rhs.mobileno1) - { - return true; - } - else if(__rhs.mobileno1 < mobileno1) - { - return false; - } - if(alitalkid < __rhs.alitalkid) - { - return true; - } - else if(__rhs.alitalkid < alitalkid) - { - return false; - } - if(companyname < __rhs.companyname) - { - return true; - } - else if(__rhs.companyname < companyname) - { - return false; - } - if(email2 < __rhs.email2) - { - return true; - } - else if(__rhs.email2 < email2) - { - return false; - } - if(email3 < __rhs.email3) - { - return true; - } - else if(__rhs.email3 < email3) - { - return false; - } - if(cphoneno2 < __rhs.cphoneno2) - { - return true; - } - else if(__rhs.cphoneno2 < cphoneno2) - { - return false; - } - if(cphoneno3 < __rhs.cphoneno3) - { - return true; - } - else if(__rhs.cphoneno3 < cphoneno3) - { - return false; - } - if(mobileno2 < __rhs.mobileno2) - { - return true; - } - else if(__rhs.mobileno2 < mobileno2) - { - return false; - } - if(mobileno3 < __rhs.mobileno3) - { - return true; - } - else if(__rhs.mobileno3 < mobileno3) - { - return false; - } - if(buykeys < __rhs.buykeys) - { - return true; - } - else if(__rhs.buykeys < buykeys) - { - return false; - } - if(salekeys < __rhs.salekeys) - { - return true; - } - else if(__rhs.salekeys < salekeys) - { - return false; - } - if(jobtitle < __rhs.jobtitle) - { - return true; - } - else if(__rhs.jobtitle < jobtitle) - { - return false; - } - if(compaddr < __rhs.compaddr) - { - return true; - } - else if(__rhs.compaddr < compaddr) - { - return false; - } - if(homeaddr < __rhs.homeaddr) - { - return true; - } - else if(__rhs.homeaddr < homeaddr) - { - return false; - } - if(compzip < __rhs.compzip) - { - return true; - } - else if(__rhs.compzip < compzip) - { - return false; - } - if(homezip < __rhs.homezip) - { - return true; - } - else if(__rhs.homezip < homezip) - { - return false; - } - if(cntpicid < __rhs.cntpicid) - { - return true; - } - else if(__rhs.cntpicid < cntpicid) - { - return false; - } - if(compurl < __rhs.compurl) - { - return true; - } - else if(__rhs.compurl < compurl) - { - return false; - } - if(homeurl < __rhs.homeurl) - { - return true; - } - else if(__rhs.homeurl < homeurl) - { - return false; - } - if(wwangid < __rhs.wwangid) - { - return true; - } - else if(__rhs.wwangid < wwangid) - { - return false; - } - if(yahooid < __rhs.yahooid) - { - return true; - } - else if(__rhs.yahooid < yahooid) - { - return false; - } - if(msnid < __rhs.msnid) - { - return true; - } - else if(__rhs.msnid < msnid) - { - return false; - } - if(qqid < __rhs.qqid) - { - return true; - } - else if(__rhs.qqid < qqid) - { - return false; - } - if(deptname < __rhs.deptname) - { - return true; - } - else if(__rhs.deptname < deptname) - { - return false; - } - if(managername < __rhs.managername) - { - return true; - } - else if(__rhs.managername < managername) - { - return false; - } - if(idnumber < __rhs.idnumber) - { - return true; - } - else if(__rhs.idnumber < idnumber) - { - return false; - } - if(workidno < __rhs.workidno) - { - return true; - } - else if(__rhs.workidno < workidno) - { - return false; - } - if(faxnumber < __rhs.faxnumber) - { - return true; - } - else if(__rhs.faxnumber < faxnumber) - { - return false; - } - if(penname < __rhs.penname) - { - return true; - } - else if(__rhs.penname < penname) - { - return false; - } - if(engname < __rhs.engname) - { - return true; - } - else if(__rhs.engname < engname) - { - return false; - } - if(consortname < __rhs.consortname) - { - return true; - } - else if(__rhs.consortname < consortname) - { - return false; - } - if(avocation < __rhs.avocation) - { - return true; - } - else if(__rhs.avocation < avocation) - { - return false; - } - if(assistname < __rhs.assistname) - { - return true; - } - else if(__rhs.assistname < assistname) - { - return false; - } - if(childname < __rhs.childname) - { - return true; - } - else if(__rhs.childname < childname) - { - return false; - } - if(birthday < __rhs.birthday) - { - return true; - } - else if(__rhs.birthday < birthday) - { - return false; - } - if(memo < __rhs.memo) - { - return true; - } - else if(__rhs.memo < memo) - { - return false; - } - if(firstname < __rhs.firstname) - { - return true; - } - else if(__rhs.firstname < firstname) - { - return false; - } - if(lastname < __rhs.lastname) - { - return true; - } - else if(__rhs.lastname < lastname) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEGenContactFull::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(cid); - __os->write(cntid); - __os->write(nickname); - __os->write(seqid); - __os->write(groupId); - __os->write(showflag); - __os->write(sex); - __os->write(cnttype); - __os->write(bizcatid); - __os->write(realname); - __os->write(email1); - __os->write(cphoneno1); - __os->write(hphoneno1); - __os->write(mobileno1); - __os->write(alitalkid); - __os->write(companyname); - __os->write(email2); - __os->write(email3); - __os->write(cphoneno2); - __os->write(cphoneno3); - __os->write(mobileno2); - __os->write(mobileno3); - __os->write(buykeys); - __os->write(salekeys); - __os->write(jobtitle); - __os->write(compaddr); - __os->write(homeaddr); - __os->write(compzip); - __os->write(homezip); - __os->write(cntpicid); - __os->write(compurl); - __os->write(homeurl); - __os->write(wwangid); - __os->write(yahooid); - __os->write(msnid); - __os->write(qqid); - __os->write(deptname); - __os->write(managername); - __os->write(idnumber); - __os->write(workidno); - __os->write(faxnumber); - __os->write(penname); - __os->write(engname); - __os->write(consortname); - __os->write(avocation); - __os->write(assistname); - __os->write(childname); - __os->write(birthday); - __os->write(memo); - __os->write(firstname); - __os->write(lastname); -} - -void -AliIMDBBase::SICEGenContactFull::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(cid); - __is->read(cntid); - __is->read(nickname); - __is->read(seqid); - __is->read(groupId); - __is->read(showflag); - __is->read(sex); - __is->read(cnttype); - __is->read(bizcatid); - __is->read(realname); - __is->read(email1); - __is->read(cphoneno1); - __is->read(hphoneno1); - __is->read(mobileno1); - __is->read(alitalkid); - __is->read(companyname); - __is->read(email2); - __is->read(email3); - __is->read(cphoneno2); - __is->read(cphoneno3); - __is->read(mobileno2); - __is->read(mobileno3); - __is->read(buykeys); - __is->read(salekeys); - __is->read(jobtitle); - __is->read(compaddr); - __is->read(homeaddr); - __is->read(compzip); - __is->read(homezip); - __is->read(cntpicid); - __is->read(compurl); - __is->read(homeurl); - __is->read(wwangid); - __is->read(yahooid); - __is->read(msnid); - __is->read(qqid); - __is->read(deptname); - __is->read(managername); - __is->read(idnumber); - __is->read(workidno); - __is->read(faxnumber); - __is->read(penname); - __is->read(engname); - __is->read(consortname); - __is->read(avocation); - __is->read(assistname); - __is->read(childname); - __is->read(birthday); - __is->read(memo); - __is->read(firstname); - __is->read(lastname); -} - -bool -AliIMDBBase::SICEATMGenContactFull::operator==(const SICEATMGenContactFull& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEATMGenContactFull::operator!=(const SICEATMGenContactFull& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(cid != __rhs.cid) - { - return true; - } - if(cntid != __rhs.cntid) - { - return true; - } - if(nickname != __rhs.nickname) - { - return true; - } - if(seqid != __rhs.seqid) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(showflag != __rhs.showflag) - { - return true; - } - if(sex != __rhs.sex) - { - return true; - } - if(cnttype != __rhs.cnttype) - { - return true; - } - if(bizcatid != __rhs.bizcatid) - { - return true; - } - if(realname != __rhs.realname) - { - return true; - } - if(email1 != __rhs.email1) - { - return true; - } - if(cphoneno1 != __rhs.cphoneno1) - { - return true; - } - if(hphoneno1 != __rhs.hphoneno1) - { - return true; - } - if(mobileno1 != __rhs.mobileno1) - { - return true; - } - if(alitalkid != __rhs.alitalkid) - { - return true; - } - if(companyname != __rhs.companyname) - { - return true; - } - if(email2 != __rhs.email2) - { - return true; - } - if(email3 != __rhs.email3) - { - return true; - } - if(cphoneno2 != __rhs.cphoneno2) - { - return true; - } - if(cphoneno3 != __rhs.cphoneno3) - { - return true; - } - if(mobileno2 != __rhs.mobileno2) - { - return true; - } - if(mobileno3 != __rhs.mobileno3) - { - return true; - } - if(buykeys != __rhs.buykeys) - { - return true; - } - if(salekeys != __rhs.salekeys) - { - return true; - } - if(jobtitle != __rhs.jobtitle) - { - return true; - } - if(compaddr != __rhs.compaddr) - { - return true; - } - if(homeaddr != __rhs.homeaddr) - { - return true; - } - if(compzip != __rhs.compzip) - { - return true; - } - if(homezip != __rhs.homezip) - { - return true; - } - if(cntpicid != __rhs.cntpicid) - { - return true; - } - if(compurl != __rhs.compurl) - { - return true; - } - if(homeurl != __rhs.homeurl) - { - return true; - } - if(wwangid != __rhs.wwangid) - { - return true; - } - if(yahooid != __rhs.yahooid) - { - return true; - } - if(msnid != __rhs.msnid) - { - return true; - } - if(qqid != __rhs.qqid) - { - return true; - } - if(deptname != __rhs.deptname) - { - return true; - } - if(managername != __rhs.managername) - { - return true; - } - if(idnumber != __rhs.idnumber) - { - return true; - } - if(workidno != __rhs.workidno) - { - return true; - } - if(faxnumber != __rhs.faxnumber) - { - return true; - } - if(penname != __rhs.penname) - { - return true; - } - if(engname != __rhs.engname) - { - return true; - } - if(consortname != __rhs.consortname) - { - return true; - } - if(avocation != __rhs.avocation) - { - return true; - } - if(assistname != __rhs.assistname) - { - return true; - } - if(childname != __rhs.childname) - { - return true; - } - if(birthday != __rhs.birthday) - { - return true; - } - if(memo != __rhs.memo) - { - return true; - } - if(companyid != __rhs.companyid) - { - return true; - } - if(cntlevel != __rhs.cntlevel) - { - return true; - } - if(country != __rhs.country) - { - return true; - } - if(productService != __rhs.productService) - { - return true; - } - if(firstname != __rhs.firstname) - { - return true; - } - if(lastname != __rhs.lastname) - { - return true; - } - if(biztype != __rhs.biztype) - { - return true; - } - if(preRegister != __rhs.preRegister) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEATMGenContactFull::operator<(const SICEATMGenContactFull& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(cid < __rhs.cid) - { - return true; - } - else if(__rhs.cid < cid) - { - return false; - } - if(cntid < __rhs.cntid) - { - return true; - } - else if(__rhs.cntid < cntid) - { - return false; - } - if(nickname < __rhs.nickname) - { - return true; - } - else if(__rhs.nickname < nickname) - { - return false; - } - if(seqid < __rhs.seqid) - { - return true; - } - else if(__rhs.seqid < seqid) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(showflag < __rhs.showflag) - { - return true; - } - else if(__rhs.showflag < showflag) - { - return false; - } - if(sex < __rhs.sex) - { - return true; - } - else if(__rhs.sex < sex) - { - return false; - } - if(cnttype < __rhs.cnttype) - { - return true; - } - else if(__rhs.cnttype < cnttype) - { - return false; - } - if(bizcatid < __rhs.bizcatid) - { - return true; - } - else if(__rhs.bizcatid < bizcatid) - { - return false; - } - if(realname < __rhs.realname) - { - return true; - } - else if(__rhs.realname < realname) - { - return false; - } - if(email1 < __rhs.email1) - { - return true; - } - else if(__rhs.email1 < email1) - { - return false; - } - if(cphoneno1 < __rhs.cphoneno1) - { - return true; - } - else if(__rhs.cphoneno1 < cphoneno1) - { - return false; - } - if(hphoneno1 < __rhs.hphoneno1) - { - return true; - } - else if(__rhs.hphoneno1 < hphoneno1) - { - return false; - } - if(mobileno1 < __rhs.mobileno1) - { - return true; - } - else if(__rhs.mobileno1 < mobileno1) - { - return false; - } - if(alitalkid < __rhs.alitalkid) - { - return true; - } - else if(__rhs.alitalkid < alitalkid) - { - return false; - } - if(companyname < __rhs.companyname) - { - return true; - } - else if(__rhs.companyname < companyname) - { - return false; - } - if(email2 < __rhs.email2) - { - return true; - } - else if(__rhs.email2 < email2) - { - return false; - } - if(email3 < __rhs.email3) - { - return true; - } - else if(__rhs.email3 < email3) - { - return false; - } - if(cphoneno2 < __rhs.cphoneno2) - { - return true; - } - else if(__rhs.cphoneno2 < cphoneno2) - { - return false; - } - if(cphoneno3 < __rhs.cphoneno3) - { - return true; - } - else if(__rhs.cphoneno3 < cphoneno3) - { - return false; - } - if(mobileno2 < __rhs.mobileno2) - { - return true; - } - else if(__rhs.mobileno2 < mobileno2) - { - return false; - } - if(mobileno3 < __rhs.mobileno3) - { - return true; - } - else if(__rhs.mobileno3 < mobileno3) - { - return false; - } - if(buykeys < __rhs.buykeys) - { - return true; - } - else if(__rhs.buykeys < buykeys) - { - return false; - } - if(salekeys < __rhs.salekeys) - { - return true; - } - else if(__rhs.salekeys < salekeys) - { - return false; - } - if(jobtitle < __rhs.jobtitle) - { - return true; - } - else if(__rhs.jobtitle < jobtitle) - { - return false; - } - if(compaddr < __rhs.compaddr) - { - return true; - } - else if(__rhs.compaddr < compaddr) - { - return false; - } - if(homeaddr < __rhs.homeaddr) - { - return true; - } - else if(__rhs.homeaddr < homeaddr) - { - return false; - } - if(compzip < __rhs.compzip) - { - return true; - } - else if(__rhs.compzip < compzip) - { - return false; - } - if(homezip < __rhs.homezip) - { - return true; - } - else if(__rhs.homezip < homezip) - { - return false; - } - if(cntpicid < __rhs.cntpicid) - { - return true; - } - else if(__rhs.cntpicid < cntpicid) - { - return false; - } - if(compurl < __rhs.compurl) - { - return true; - } - else if(__rhs.compurl < compurl) - { - return false; - } - if(homeurl < __rhs.homeurl) - { - return true; - } - else if(__rhs.homeurl < homeurl) - { - return false; - } - if(wwangid < __rhs.wwangid) - { - return true; - } - else if(__rhs.wwangid < wwangid) - { - return false; - } - if(yahooid < __rhs.yahooid) - { - return true; - } - else if(__rhs.yahooid < yahooid) - { - return false; - } - if(msnid < __rhs.msnid) - { - return true; - } - else if(__rhs.msnid < msnid) - { - return false; - } - if(qqid < __rhs.qqid) - { - return true; - } - else if(__rhs.qqid < qqid) - { - return false; - } - if(deptname < __rhs.deptname) - { - return true; - } - else if(__rhs.deptname < deptname) - { - return false; - } - if(managername < __rhs.managername) - { - return true; - } - else if(__rhs.managername < managername) - { - return false; - } - if(idnumber < __rhs.idnumber) - { - return true; - } - else if(__rhs.idnumber < idnumber) - { - return false; - } - if(workidno < __rhs.workidno) - { - return true; - } - else if(__rhs.workidno < workidno) - { - return false; - } - if(faxnumber < __rhs.faxnumber) - { - return true; - } - else if(__rhs.faxnumber < faxnumber) - { - return false; - } - if(penname < __rhs.penname) - { - return true; - } - else if(__rhs.penname < penname) - { - return false; - } - if(engname < __rhs.engname) - { - return true; - } - else if(__rhs.engname < engname) - { - return false; - } - if(consortname < __rhs.consortname) - { - return true; - } - else if(__rhs.consortname < consortname) - { - return false; - } - if(avocation < __rhs.avocation) - { - return true; - } - else if(__rhs.avocation < avocation) - { - return false; - } - if(assistname < __rhs.assistname) - { - return true; - } - else if(__rhs.assistname < assistname) - { - return false; - } - if(childname < __rhs.childname) - { - return true; - } - else if(__rhs.childname < childname) - { - return false; - } - if(birthday < __rhs.birthday) - { - return true; - } - else if(__rhs.birthday < birthday) - { - return false; - } - if(memo < __rhs.memo) - { - return true; - } - else if(__rhs.memo < memo) - { - return false; - } - if(companyid < __rhs.companyid) - { - return true; - } - else if(__rhs.companyid < companyid) - { - return false; - } - if(cntlevel < __rhs.cntlevel) - { - return true; - } - else if(__rhs.cntlevel < cntlevel) - { - return false; - } - if(country < __rhs.country) - { - return true; - } - else if(__rhs.country < country) - { - return false; - } - if(productService < __rhs.productService) - { - return true; - } - else if(__rhs.productService < productService) - { - return false; - } - if(firstname < __rhs.firstname) - { - return true; - } - else if(__rhs.firstname < firstname) - { - return false; - } - if(lastname < __rhs.lastname) - { - return true; - } - else if(__rhs.lastname < lastname) - { - return false; - } - if(biztype < __rhs.biztype) - { - return true; - } - else if(__rhs.biztype < biztype) - { - return false; - } - if(preRegister < __rhs.preRegister) - { - return true; - } - else if(__rhs.preRegister < preRegister) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEATMGenContactFull::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(cid); - __os->write(cntid); - __os->write(nickname); - __os->write(seqid); - __os->write(groupId); - __os->write(showflag); - __os->write(sex); - __os->write(cnttype); - __os->write(bizcatid); - __os->write(realname); - __os->write(email1); - __os->write(cphoneno1); - __os->write(hphoneno1); - __os->write(mobileno1); - __os->write(alitalkid); - __os->write(companyname); - __os->write(email2); - __os->write(email3); - __os->write(cphoneno2); - __os->write(cphoneno3); - __os->write(mobileno2); - __os->write(mobileno3); - __os->write(buykeys); - __os->write(salekeys); - __os->write(jobtitle); - __os->write(compaddr); - __os->write(homeaddr); - __os->write(compzip); - __os->write(homezip); - __os->write(cntpicid); - __os->write(compurl); - __os->write(homeurl); - __os->write(wwangid); - __os->write(yahooid); - __os->write(msnid); - __os->write(qqid); - __os->write(deptname); - __os->write(managername); - __os->write(idnumber); - __os->write(workidno); - __os->write(faxnumber); - __os->write(penname); - __os->write(engname); - __os->write(consortname); - __os->write(avocation); - __os->write(assistname); - __os->write(childname); - __os->write(birthday); - __os->write(memo); - __os->write(companyid); - __os->write(cntlevel); - __os->write(country); - __os->write(productService); - __os->write(firstname); - __os->write(lastname); - __os->write(biztype); - __os->write(preRegister); -} - -void -AliIMDBBase::SICEATMGenContactFull::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(cid); - __is->read(cntid); - __is->read(nickname); - __is->read(seqid); - __is->read(groupId); - __is->read(showflag); - __is->read(sex); - __is->read(cnttype); - __is->read(bizcatid); - __is->read(realname); - __is->read(email1); - __is->read(cphoneno1); - __is->read(hphoneno1); - __is->read(mobileno1); - __is->read(alitalkid); - __is->read(companyname); - __is->read(email2); - __is->read(email3); - __is->read(cphoneno2); - __is->read(cphoneno3); - __is->read(mobileno2); - __is->read(mobileno3); - __is->read(buykeys); - __is->read(salekeys); - __is->read(jobtitle); - __is->read(compaddr); - __is->read(homeaddr); - __is->read(compzip); - __is->read(homezip); - __is->read(cntpicid); - __is->read(compurl); - __is->read(homeurl); - __is->read(wwangid); - __is->read(yahooid); - __is->read(msnid); - __is->read(qqid); - __is->read(deptname); - __is->read(managername); - __is->read(idnumber); - __is->read(workidno); - __is->read(faxnumber); - __is->read(penname); - __is->read(engname); - __is->read(consortname); - __is->read(avocation); - __is->read(assistname); - __is->read(childname); - __is->read(birthday); - __is->read(memo); - __is->read(companyid); - __is->read(cntlevel); - __is->read(country); - __is->read(productService); - __is->read(firstname); - __is->read(lastname); - __is->read(biztype); - __is->read(preRegister); -} - -bool -AliIMDBBase::SICECntOtherModInfo::operator==(const SICECntOtherModInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICECntOtherModInfo::operator!=(const SICECntOtherModInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(cid != __rhs.cid) - { - return true; - } - if(modSeqId != __rhs.modSeqId) - { - return true; - } - if(memberLevel != __rhs.memberLevel) - { - return true; - } - if(smsbindflag != __rhs.smsbindflag) - { - return true; - } - if(smsmobileonlineflag != __rhs.smsmobileonlineflag) - { - return true; - } - if(smsbindmobile != __rhs.smsbindmobile) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICECntOtherModInfo::operator<(const SICECntOtherModInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(cid < __rhs.cid) - { - return true; - } - else if(__rhs.cid < cid) - { - return false; - } - if(modSeqId < __rhs.modSeqId) - { - return true; - } - else if(__rhs.modSeqId < modSeqId) - { - return false; - } - if(memberLevel < __rhs.memberLevel) - { - return true; - } - else if(__rhs.memberLevel < memberLevel) - { - return false; - } - if(smsbindflag < __rhs.smsbindflag) - { - return true; - } - else if(__rhs.smsbindflag < smsbindflag) - { - return false; - } - if(smsmobileonlineflag < __rhs.smsmobileonlineflag) - { - return true; - } - else if(__rhs.smsmobileonlineflag < smsmobileonlineflag) - { - return false; - } - if(smsbindmobile < __rhs.smsbindmobile) - { - return true; - } - else if(__rhs.smsbindmobile < smsbindmobile) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICECntOtherModInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(cid); - __os->write(modSeqId); - __os->write(memberLevel); - __os->write(smsbindflag); - __os->write(smsmobileonlineflag); - __os->write(smsbindmobile); -} - -void -AliIMDBBase::SICECntOtherModInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(cid); - __is->read(modSeqId); - __is->read(memberLevel); - __is->read(smsbindflag); - __is->read(smsmobileonlineflag); - __is->read(smsbindmobile); -} - -bool -AliIMDBBase::SICESmsUserInfo::operator==(const SICESmsUserInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICESmsUserInfo::operator!=(const SICESmsUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(bindFlag != __rhs.bindFlag) - { - return true; - } - if(mobileOnlineFlag != __rhs.mobileOnlineFlag) - { - return true; - } - if(account != __rhs.account) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(mobileNo != __rhs.mobileNo) - { - return true; - } - if(balance != __rhs.balance) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICESmsUserInfo::operator<(const SICESmsUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(bindFlag < __rhs.bindFlag) - { - return true; - } - else if(__rhs.bindFlag < bindFlag) - { - return false; - } - if(mobileOnlineFlag < __rhs.mobileOnlineFlag) - { - return true; - } - else if(__rhs.mobileOnlineFlag < mobileOnlineFlag) - { - return false; - } - if(account < __rhs.account) - { - return true; - } - else if(__rhs.account < account) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(mobileNo < __rhs.mobileNo) - { - return true; - } - else if(__rhs.mobileNo < mobileNo) - { - return false; - } - if(balance < __rhs.balance) - { - return true; - } - else if(__rhs.balance < balance) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICESmsUserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(bindFlag); - __os->write(mobileOnlineFlag); - __os->write(account); - __os->write(password); - __os->write(mobileNo); - __os->write(balance); -} - -void -AliIMDBBase::SICESmsUserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(bindFlag); - __is->read(mobileOnlineFlag); - __is->read(account); - __is->read(password); - __is->read(mobileNo); - __is->read(balance); -} - -bool -AliIMDBBase::SICEAMOSUserInfo::operator==(const SICEAMOSUserInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEAMOSUserInfo::operator!=(const SICEAMOSUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(lastLoginTime != __rhs.lastLoginTime) - { - return true; - } - if(mobileOnlineFlag != __rhs.mobileOnlineFlag) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEAMOSUserInfo::operator<(const SICEAMOSUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(lastLoginTime < __rhs.lastLoginTime) - { - return true; - } - else if(__rhs.lastLoginTime < lastLoginTime) - { - return false; - } - if(mobileOnlineFlag < __rhs.mobileOnlineFlag) - { - return true; - } - else if(__rhs.mobileOnlineFlag < mobileOnlineFlag) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEAMOSUserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(lastLoginTime); - __os->write(mobileOnlineFlag); -} - -void -AliIMDBBase::SICEAMOSUserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(lastLoginTime); - __is->read(mobileOnlineFlag); -} - -bool -AliIMDBBase::SMemberPWInfo::operator==(const SMemberPWInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SMemberPWInfo::operator!=(const SMemberPWInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(md5passwd != __rhs.md5passwd) - { - return true; - } - if(bcanlogon != __rhs.bcanlogon) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SMemberPWInfo::operator<(const SMemberPWInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(md5passwd < __rhs.md5passwd) - { - return true; - } - else if(__rhs.md5passwd < md5passwd) - { - return false; - } - if(bcanlogon < __rhs.bcanlogon) - { - return true; - } - else if(__rhs.bcanlogon < bcanlogon) - { - return false; - } - return false; -} - -void -AliIMDBBase::SMemberPWInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(md5passwd); - __os->write(bcanlogon); -} - -void -AliIMDBBase::SMemberPWInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(md5passwd); - __is->read(bcanlogon); -} - -bool -AliIMDBBase::SMemberPWInfoEx::operator==(const SMemberPWInfoEx& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SMemberPWInfoEx::operator!=(const SMemberPWInfoEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(md5passwd != __rhs.md5passwd) - { - return true; - } - if(bcanlogon != __rhs.bcanlogon) - { - return true; - } - if(activeState != __rhs.activeState) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SMemberPWInfoEx::operator<(const SMemberPWInfoEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(md5passwd < __rhs.md5passwd) - { - return true; - } - else if(__rhs.md5passwd < md5passwd) - { - return false; - } - if(bcanlogon < __rhs.bcanlogon) - { - return true; - } - else if(__rhs.bcanlogon < bcanlogon) - { - return false; - } - if(activeState < __rhs.activeState) - { - return true; - } - else if(__rhs.activeState < activeState) - { - return false; - } - return false; -} - -void -AliIMDBBase::SMemberPWInfoEx::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(md5passwd); - __os->write(bcanlogon); - __os->write(activeState); -} - -void -AliIMDBBase::SMemberPWInfoEx::__read(::IceInternal::BasicStream* __is) -{ - __is->read(md5passwd); - __is->read(bcanlogon); - __is->read(activeState); -} - -bool -AliIMDBBase::SUserWebBasicProfile::operator==(const SUserWebBasicProfile& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SUserWebBasicProfile::operator!=(const SUserWebBasicProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(nickname != __rhs.nickname) - { - return true; - } - if(realname != __rhs.realname) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(phoneno != __rhs.phoneno) - { - return true; - } - if(mobileno != __rhs.mobileno) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobtitle != __rhs.jobtitle) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(catid != __rhs.catid) - { - return true; - } - if(buykeyws != __rhs.buykeyws) - { - return true; - } - if(salekeyws != __rhs.salekeyws) - { - return true; - } - if(faxno != __rhs.faxno) - { - return true; - } - if(penname != __rhs.penname) - { - return true; - } - if(country != __rhs.country) - { - return true; - } - if(memberlevel != __rhs.memberlevel) - { - return true; - } - if(industry != __rhs.industry) - { - return true; - } - if(area != __rhs.area) - { - return true; - } - if(phoneStatus != __rhs.phoneStatus) - { - return true; - } - if(activestat != __rhs.activestat) - { - return true; - } - if(extraInfo != __rhs.extraInfo) - { - return true; - } - if(zip != __rhs.zip) - { - return true; - } - if(birthday != __rhs.birthday) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(prov != __rhs.prov) - { - return true; - } - if(city != __rhs.city) - { - return true; - } - if(usergender != __rhs.usergender) - { - return true; - } - if(birthdate != __rhs.birthdate) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(province != __rhs.province) - { - return true; - } - if(webLevel != __rhs.webLevel) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SUserWebBasicProfile::operator<(const SUserWebBasicProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(nickname < __rhs.nickname) - { - return true; - } - else if(__rhs.nickname < nickname) - { - return false; - } - if(realname < __rhs.realname) - { - return true; - } - else if(__rhs.realname < realname) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(phoneno < __rhs.phoneno) - { - return true; - } - else if(__rhs.phoneno < phoneno) - { - return false; - } - if(mobileno < __rhs.mobileno) - { - return true; - } - else if(__rhs.mobileno < mobileno) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobtitle < __rhs.jobtitle) - { - return true; - } - else if(__rhs.jobtitle < jobtitle) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(catid < __rhs.catid) - { - return true; - } - else if(__rhs.catid < catid) - { - return false; - } - if(buykeyws < __rhs.buykeyws) - { - return true; - } - else if(__rhs.buykeyws < buykeyws) - { - return false; - } - if(salekeyws < __rhs.salekeyws) - { - return true; - } - else if(__rhs.salekeyws < salekeyws) - { - return false; - } - if(faxno < __rhs.faxno) - { - return true; - } - else if(__rhs.faxno < faxno) - { - return false; - } - if(penname < __rhs.penname) - { - return true; - } - else if(__rhs.penname < penname) - { - return false; - } - if(country < __rhs.country) - { - return true; - } - else if(__rhs.country < country) - { - return false; - } - if(memberlevel < __rhs.memberlevel) - { - return true; - } - else if(__rhs.memberlevel < memberlevel) - { - return false; - } - if(industry < __rhs.industry) - { - return true; - } - else if(__rhs.industry < industry) - { - return false; - } - if(area < __rhs.area) - { - return true; - } - else if(__rhs.area < area) - { - return false; - } - if(phoneStatus < __rhs.phoneStatus) - { - return true; - } - else if(__rhs.phoneStatus < phoneStatus) - { - return false; - } - if(activestat < __rhs.activestat) - { - return true; - } - else if(__rhs.activestat < activestat) - { - return false; - } - if(extraInfo < __rhs.extraInfo) - { - return true; - } - else if(__rhs.extraInfo < extraInfo) - { - return false; - } - if(zip < __rhs.zip) - { - return true; - } - else if(__rhs.zip < zip) - { - return false; - } - if(birthday < __rhs.birthday) - { - return true; - } - else if(__rhs.birthday < birthday) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(prov < __rhs.prov) - { - return true; - } - else if(__rhs.prov < prov) - { - return false; - } - if(city < __rhs.city) - { - return true; - } - else if(__rhs.city < city) - { - return false; - } - if(usergender < __rhs.usergender) - { - return true; - } - else if(__rhs.usergender < usergender) - { - return false; - } - if(birthdate < __rhs.birthdate) - { - return true; - } - else if(__rhs.birthdate < birthdate) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(province < __rhs.province) - { - return true; - } - else if(__rhs.province < province) - { - return false; - } - if(webLevel < __rhs.webLevel) - { - return true; - } - else if(__rhs.webLevel < webLevel) - { - return false; - } - return false; -} - -void -AliIMDBBase::SUserWebBasicProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(nickname); - __os->write(realname); - __os->write(email); - __os->write(phoneno); - __os->write(mobileno); - __os->write(company); - __os->write(jobtitle); - __os->write(address); - __os->write(catid); - __os->write(buykeyws); - __os->write(salekeyws); - __os->write(faxno); - __os->write(penname); - __os->write(country); - __os->write(memberlevel); - __os->write(industry); - __os->write(area); - __os->write(phoneStatus); - __os->write(activestat); - __os->write(extraInfo); - __os->write(zip); - __os->write(birthday); - __os->write(password); - __os->write(prov); - __os->write(city); - __os->write(usergender); - __os->write(birthdate); - __os->write(status); - __os->write(province); - __os->write(webLevel); -} - -void -AliIMDBBase::SUserWebBasicProfile::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(nickname); - __is->read(realname); - __is->read(email); - __is->read(phoneno); - __is->read(mobileno); - __is->read(company); - __is->read(jobtitle); - __is->read(address); - __is->read(catid); - __is->read(buykeyws); - __is->read(salekeyws); - __is->read(faxno); - __is->read(penname); - __is->read(country); - __is->read(memberlevel); - __is->read(industry); - __is->read(area); - __is->read(phoneStatus); - __is->read(activestat); - __is->read(extraInfo); - __is->read(zip); - __is->read(birthday); - __is->read(password); - __is->read(prov); - __is->read(city); - __is->read(usergender); - __is->read(birthdate); - __is->read(status); - __is->read(province); - __is->read(webLevel); -} - -bool -AliIMDBBase::SUserWebBasicProfile2::operator==(const SUserWebBasicProfile2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SUserWebBasicProfile2::operator!=(const SUserWebBasicProfile2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(nickname != __rhs.nickname) - { - return true; - } - if(realname != __rhs.realname) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(phoneno != __rhs.phoneno) - { - return true; - } - if(mobileno != __rhs.mobileno) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobtitle != __rhs.jobtitle) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(catid != __rhs.catid) - { - return true; - } - if(buykeyws != __rhs.buykeyws) - { - return true; - } - if(salekeyws != __rhs.salekeyws) - { - return true; - } - if(faxno != __rhs.faxno) - { - return true; - } - if(penname != __rhs.penname) - { - return true; - } - if(country != __rhs.country) - { - return true; - } - if(memberlevel != __rhs.memberlevel) - { - return true; - } - if(industry != __rhs.industry) - { - return true; - } - if(area != __rhs.area) - { - return true; - } - if(phoneStatus != __rhs.phoneStatus) - { - return true; - } - if(activestat != __rhs.activestat) - { - return true; - } - if(extraInfo != __rhs.extraInfo) - { - return true; - } - if(zip != __rhs.zip) - { - return true; - } - if(birthday != __rhs.birthday) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(prov != __rhs.prov) - { - return true; - } - if(city != __rhs.city) - { - return true; - } - if(usergender != __rhs.usergender) - { - return true; - } - if(birthdate != __rhs.birthdate) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(province != __rhs.province) - { - return true; - } - if(webLevel != __rhs.webLevel) - { - return true; - } - if(subcity != __rhs.subcity) - { - return true; - } - if(homepage != __rhs.homepage) - { - return true; - } - if(interest != __rhs.interest) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SUserWebBasicProfile2::operator<(const SUserWebBasicProfile2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(nickname < __rhs.nickname) - { - return true; - } - else if(__rhs.nickname < nickname) - { - return false; - } - if(realname < __rhs.realname) - { - return true; - } - else if(__rhs.realname < realname) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(phoneno < __rhs.phoneno) - { - return true; - } - else if(__rhs.phoneno < phoneno) - { - return false; - } - if(mobileno < __rhs.mobileno) - { - return true; - } - else if(__rhs.mobileno < mobileno) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobtitle < __rhs.jobtitle) - { - return true; - } - else if(__rhs.jobtitle < jobtitle) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(catid < __rhs.catid) - { - return true; - } - else if(__rhs.catid < catid) - { - return false; - } - if(buykeyws < __rhs.buykeyws) - { - return true; - } - else if(__rhs.buykeyws < buykeyws) - { - return false; - } - if(salekeyws < __rhs.salekeyws) - { - return true; - } - else if(__rhs.salekeyws < salekeyws) - { - return false; - } - if(faxno < __rhs.faxno) - { - return true; - } - else if(__rhs.faxno < faxno) - { - return false; - } - if(penname < __rhs.penname) - { - return true; - } - else if(__rhs.penname < penname) - { - return false; - } - if(country < __rhs.country) - { - return true; - } - else if(__rhs.country < country) - { - return false; - } - if(memberlevel < __rhs.memberlevel) - { - return true; - } - else if(__rhs.memberlevel < memberlevel) - { - return false; - } - if(industry < __rhs.industry) - { - return true; - } - else if(__rhs.industry < industry) - { - return false; - } - if(area < __rhs.area) - { - return true; - } - else if(__rhs.area < area) - { - return false; - } - if(phoneStatus < __rhs.phoneStatus) - { - return true; - } - else if(__rhs.phoneStatus < phoneStatus) - { - return false; - } - if(activestat < __rhs.activestat) - { - return true; - } - else if(__rhs.activestat < activestat) - { - return false; - } - if(extraInfo < __rhs.extraInfo) - { - return true; - } - else if(__rhs.extraInfo < extraInfo) - { - return false; - } - if(zip < __rhs.zip) - { - return true; - } - else if(__rhs.zip < zip) - { - return false; - } - if(birthday < __rhs.birthday) - { - return true; - } - else if(__rhs.birthday < birthday) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(prov < __rhs.prov) - { - return true; - } - else if(__rhs.prov < prov) - { - return false; - } - if(city < __rhs.city) - { - return true; - } - else if(__rhs.city < city) - { - return false; - } - if(usergender < __rhs.usergender) - { - return true; - } - else if(__rhs.usergender < usergender) - { - return false; - } - if(birthdate < __rhs.birthdate) - { - return true; - } - else if(__rhs.birthdate < birthdate) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(province < __rhs.province) - { - return true; - } - else if(__rhs.province < province) - { - return false; - } - if(webLevel < __rhs.webLevel) - { - return true; - } - else if(__rhs.webLevel < webLevel) - { - return false; - } - if(subcity < __rhs.subcity) - { - return true; - } - else if(__rhs.subcity < subcity) - { - return false; - } - if(homepage < __rhs.homepage) - { - return true; - } - else if(__rhs.homepage < homepage) - { - return false; - } - if(interest < __rhs.interest) - { - return true; - } - else if(__rhs.interest < interest) - { - return false; - } - return false; -} - -void -AliIMDBBase::SUserWebBasicProfile2::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(nickname); - __os->write(realname); - __os->write(email); - __os->write(phoneno); - __os->write(mobileno); - __os->write(company); - __os->write(jobtitle); - __os->write(address); - __os->write(catid); - __os->write(buykeyws); - __os->write(salekeyws); - __os->write(faxno); - __os->write(penname); - __os->write(country); - __os->write(memberlevel); - __os->write(industry); - __os->write(area); - __os->write(phoneStatus); - __os->write(activestat); - __os->write(extraInfo); - __os->write(zip); - __os->write(birthday); - __os->write(password); - __os->write(prov); - __os->write(city); - __os->write(usergender); - __os->write(birthdate); - __os->write(status); - __os->write(province); - __os->write(webLevel); - __os->write(subcity); - __os->write(homepage); - __os->write(interest); -} - -void -AliIMDBBase::SUserWebBasicProfile2::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(nickname); - __is->read(realname); - __is->read(email); - __is->read(phoneno); - __is->read(mobileno); - __is->read(company); - __is->read(jobtitle); - __is->read(address); - __is->read(catid); - __is->read(buykeyws); - __is->read(salekeyws); - __is->read(faxno); - __is->read(penname); - __is->read(country); - __is->read(memberlevel); - __is->read(industry); - __is->read(area); - __is->read(phoneStatus); - __is->read(activestat); - __is->read(extraInfo); - __is->read(zip); - __is->read(birthday); - __is->read(password); - __is->read(prov); - __is->read(city); - __is->read(usergender); - __is->read(birthdate); - __is->read(status); - __is->read(province); - __is->read(webLevel); - __is->read(subcity); - __is->read(homepage); - __is->read(interest); -} - -bool -AliIMDBBase::SMatchedUserIdInfo::operator==(const SMatchedUserIdInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SMatchedUserIdInfo::operator!=(const SMatchedUserIdInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(validateflag != __rhs.validateflag) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SMatchedUserIdInfo::operator<(const SMatchedUserIdInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(validateflag < __rhs.validateflag) - { - return true; - } - else if(__rhs.validateflag < validateflag) - { - return false; - } - return false; -} - -void -AliIMDBBase::SMatchedUserIdInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(name); - __os->write(validateflag); -} - -void -AliIMDBBase::SMatchedUserIdInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(name); - __is->read(validateflag); -} - -bool -AliIMDBBase::SUdbUserInfo::operator==(const SUdbUserInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SUdbUserInfo::operator!=(const SUdbUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(rawpasswd != __rhs.rawpasswd) - { - return true; - } - if(md5passwd != __rhs.md5passwd) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(mobileno != __rhs.mobileno) - { - return true; - } - if(phoneno != __rhs.phoneno) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobtitle != __rhs.jobtitle) - { - return true; - } - if(birthday != __rhs.birthday) - { - return true; - } - if(sex != __rhs.sex) - { - return true; - } - if(country != __rhs.country) - { - return true; - } - if(province != __rhs.province) - { - return true; - } - if(city != __rhs.city) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(zip != __rhs.zip) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SUdbUserInfo::operator<(const SUdbUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(rawpasswd < __rhs.rawpasswd) - { - return true; - } - else if(__rhs.rawpasswd < rawpasswd) - { - return false; - } - if(md5passwd < __rhs.md5passwd) - { - return true; - } - else if(__rhs.md5passwd < md5passwd) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(mobileno < __rhs.mobileno) - { - return true; - } - else if(__rhs.mobileno < mobileno) - { - return false; - } - if(phoneno < __rhs.phoneno) - { - return true; - } - else if(__rhs.phoneno < phoneno) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobtitle < __rhs.jobtitle) - { - return true; - } - else if(__rhs.jobtitle < jobtitle) - { - return false; - } - if(birthday < __rhs.birthday) - { - return true; - } - else if(__rhs.birthday < birthday) - { - return false; - } - if(sex < __rhs.sex) - { - return true; - } - else if(__rhs.sex < sex) - { - return false; - } - if(country < __rhs.country) - { - return true; - } - else if(__rhs.country < country) - { - return false; - } - if(province < __rhs.province) - { - return true; - } - else if(__rhs.province < province) - { - return false; - } - if(city < __rhs.city) - { - return true; - } - else if(__rhs.city < city) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(zip < __rhs.zip) - { - return true; - } - else if(__rhs.zip < zip) - { - return false; - } - return false; -} - -void -AliIMDBBase::SUdbUserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(name); - __os->write(rawpasswd); - __os->write(md5passwd); - __os->write(email); - __os->write(mobileno); - __os->write(phoneno); - __os->write(company); - __os->write(jobtitle); - __os->write(birthday); - __os->write(sex); - __os->write(country); - __os->write(province); - __os->write(city); - __os->write(address); - __os->write(zip); -} - -void -AliIMDBBase::SUdbUserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(name); - __is->read(rawpasswd); - __is->read(md5passwd); - __is->read(email); - __is->read(mobileno); - __is->read(phoneno); - __is->read(company); - __is->read(jobtitle); - __is->read(birthday); - __is->read(sex); - __is->read(country); - __is->read(province); - __is->read(city); - __is->read(address); - __is->read(zip); -} - -bool -AliIMDBBase::SChildUserInfo::operator==(const SChildUserInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SChildUserInfo::operator!=(const SChildUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(nikename != __rhs.nikename) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(parentId != __rhs.parentId) - { - return true; - } - if(suspended != __rhs.suspended) - { - return true; - } - if(expirtTime != __rhs.expirtTime) - { - return true; - } - if(OpenTime != __rhs.OpenTime) - { - return true; - } - if(type != __rhs.type) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(receptionNum != __rhs.receptionNum) - { - return true; - } - if(priority != __rhs.priority) - { - return true; - } - if(recvOffMsg != __rhs.recvOffMsg) - { - return true; - } - if(needuseonline != __rhs.needuseonline) - { - return true; - } - if(userflag != __rhs.userflag) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SChildUserInfo::operator<(const SChildUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(nikename < __rhs.nikename) - { - return true; - } - else if(__rhs.nikename < nikename) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(parentId < __rhs.parentId) - { - return true; - } - else if(__rhs.parentId < parentId) - { - return false; - } - if(suspended < __rhs.suspended) - { - return true; - } - else if(__rhs.suspended < suspended) - { - return false; - } - if(expirtTime < __rhs.expirtTime) - { - return true; - } - else if(__rhs.expirtTime < expirtTime) - { - return false; - } - if(OpenTime < __rhs.OpenTime) - { - return true; - } - else if(__rhs.OpenTime < OpenTime) - { - return false; - } - if(type < __rhs.type) - { - return true; - } - else if(__rhs.type < type) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(receptionNum < __rhs.receptionNum) - { - return true; - } - else if(__rhs.receptionNum < receptionNum) - { - return false; - } - if(priority < __rhs.priority) - { - return true; - } - else if(__rhs.priority < priority) - { - return false; - } - if(recvOffMsg < __rhs.recvOffMsg) - { - return true; - } - else if(__rhs.recvOffMsg < recvOffMsg) - { - return false; - } - if(needuseonline < __rhs.needuseonline) - { - return true; - } - else if(__rhs.needuseonline < needuseonline) - { - return false; - } - if(userflag < __rhs.userflag) - { - return true; - } - else if(__rhs.userflag < userflag) - { - return false; - } - return false; -} - -void -AliIMDBBase::SChildUserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(nikename); - __os->write(password); - __os->write(parentId); - __os->write(suspended); - __os->write(expirtTime); - __os->write(OpenTime); - __os->write(type); - __os->write(groupId); - __os->write(receptionNum); - __os->write(priority); - __os->write(recvOffMsg); - __os->write(needuseonline); - __os->write(userflag); -} - -void -AliIMDBBase::SChildUserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(nikename); - __is->read(password); - __is->read(parentId); - __is->read(suspended); - __is->read(expirtTime); - __is->read(OpenTime); - __is->read(type); - __is->read(groupId); - __is->read(receptionNum); - __is->read(priority); - __is->read(recvOffMsg); - __is->read(needuseonline); - __is->read(userflag); -} - -bool -AliIMDBBase::SChildUserInfo2::operator==(const SChildUserInfo2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SChildUserInfo2::operator!=(const SChildUserInfo2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(nikename != __rhs.nikename) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(parentId != __rhs.parentId) - { - return true; - } - if(suspended != __rhs.suspended) - { - return true; - } - if(expirtTime != __rhs.expirtTime) - { - return true; - } - if(OpenTime != __rhs.OpenTime) - { - return true; - } - if(type != __rhs.type) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(receptionNum != __rhs.receptionNum) - { - return true; - } - if(priority != __rhs.priority) - { - return true; - } - if(recvOffMsg != __rhs.recvOffMsg) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SChildUserInfo2::operator<(const SChildUserInfo2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(nikename < __rhs.nikename) - { - return true; - } - else if(__rhs.nikename < nikename) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(parentId < __rhs.parentId) - { - return true; - } - else if(__rhs.parentId < parentId) - { - return false; - } - if(suspended < __rhs.suspended) - { - return true; - } - else if(__rhs.suspended < suspended) - { - return false; - } - if(expirtTime < __rhs.expirtTime) - { - return true; - } - else if(__rhs.expirtTime < expirtTime) - { - return false; - } - if(OpenTime < __rhs.OpenTime) - { - return true; - } - else if(__rhs.OpenTime < OpenTime) - { - return false; - } - if(type < __rhs.type) - { - return true; - } - else if(__rhs.type < type) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(receptionNum < __rhs.receptionNum) - { - return true; - } - else if(__rhs.receptionNum < receptionNum) - { - return false; - } - if(priority < __rhs.priority) - { - return true; - } - else if(__rhs.priority < priority) - { - return false; - } - if(recvOffMsg < __rhs.recvOffMsg) - { - return true; - } - else if(__rhs.recvOffMsg < recvOffMsg) - { - return false; - } - return false; -} - -void -AliIMDBBase::SChildUserInfo2::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(nikename); - __os->write(password); - __os->write(parentId); - __os->write(suspended); - __os->write(expirtTime); - __os->write(OpenTime); - __os->write(type); - __os->write(groupId); - __os->write(receptionNum); - __os->write(priority); - __os->write(recvOffMsg); -} - -void -AliIMDBBase::SChildUserInfo2::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(nikename); - __is->read(password); - __is->read(parentId); - __is->read(suspended); - __is->read(expirtTime); - __is->read(OpenTime); - __is->read(type); - __is->read(groupId); - __is->read(receptionNum); - __is->read(priority); - __is->read(recvOffMsg); -} - -bool -AliIMDBBase::SB2BChildUserInfo::operator==(const SB2BChildUserInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SB2BChildUserInfo::operator!=(const SB2BChildUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(parentId != __rhs.parentId) - { - return true; - } - if(userflag != __rhs.userflag) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SB2BChildUserInfo::operator<(const SB2BChildUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(parentId < __rhs.parentId) - { - return true; - } - else if(__rhs.parentId < parentId) - { - return false; - } - if(userflag < __rhs.userflag) - { - return true; - } - else if(__rhs.userflag < userflag) - { - return false; - } - return false; -} - -void -AliIMDBBase::SB2BChildUserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(parentId); - __os->write(userflag); -} - -void -AliIMDBBase::SB2BChildUserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(parentId); - __is->read(userflag); -} - -bool -AliIMDBBase::SICEToolProfile::operator==(const SICEToolProfile& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEToolProfile::operator!=(const SICEToolProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(type != __rhs.type) - { - return true; - } - if(profile != __rhs.profile) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEToolProfile::operator<(const SICEToolProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(type < __rhs.type) - { - return true; - } - else if(__rhs.type < type) - { - return false; - } - if(profile < __rhs.profile) - { - return true; - } - else if(__rhs.profile < profile) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEToolProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(type); - __os->write(profile); -} - -void -AliIMDBBase::SICEToolProfile::__read(::IceInternal::BasicStream* __is) -{ - __is->read(type); - __is->read(profile); -} - -bool -AliIMDBBase::SICEKvPair::operator==(const SICEKvPair& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEKvPair::operator!=(const SICEKvPair& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(key != __rhs.key) - { - return true; - } - if(value != __rhs.value) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEKvPair::operator<(const SICEKvPair& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(key < __rhs.key) - { - return true; - } - else if(__rhs.key < key) - { - return false; - } - if(value < __rhs.value) - { - return true; - } - else if(__rhs.value < value) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEKvPair::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(key); - __os->write(value); -} - -void -AliIMDBBase::SICEKvPair::__read(::IceInternal::BasicStream* __is) -{ - __is->read(key); - __is->read(value); -} - -bool -AliIMDBBase::SImPrefix::operator==(const SImPrefix& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SImPrefix::operator!=(const SImPrefix& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(prefix != __rhs.prefix) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SImPrefix::operator<(const SImPrefix& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(prefix < __rhs.prefix) - { - return true; - } - else if(__rhs.prefix < prefix) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - return false; -} - -void -AliIMDBBase::SImPrefix::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(prefix); - __os->write(name); -} - -void -AliIMDBBase::SImPrefix::__read(::IceInternal::BasicStream* __is) -{ - __is->read(prefix); - __is->read(name); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEMemberInfo* begin, const ::AliIMDBBase::SICEMemberInfo* end, ::AliIMDBBase::__U__SICEMemberInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEMemberInfoSeq& v, ::AliIMDBBase::__U__SICEMemberInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 25); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICESysMessage* begin, const ::AliIMDBBase::SICESysMessage* end, ::AliIMDBBase::__U__SICESysMessageSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICESysMessageSeq& v, ::AliIMDBBase::__U__SICESysMessageSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 22); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SExICESysMessage* begin, const ::AliIMDBBase::SExICESysMessage* end, ::AliIMDBBase::__U__SExICESysMessageSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SExICESysMessageSeq& v, ::AliIMDBBase::__U__SExICESysMessageSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 23); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEVersion* begin, const ::AliIMDBBase::SICEVersion* end, ::AliIMDBBase::__U__SICEVersionSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEVersionSeq& v, ::AliIMDBBase::__U__SICEVersionSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 3); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEUserInfo* begin, const ::AliIMDBBase::SICEUserInfo* end, ::AliIMDBBase::__U__SICEUserInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEUserInfoSeq& v, ::AliIMDBBase::__U__SICEUserInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 94); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEUserInfoEx* begin, const ::AliIMDBBase::SICEUserInfoEx* end, ::AliIMDBBase::__U__SICEUserInfoExSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEUserInfoExSeq& v, ::AliIMDBBase::__U__SICEUserInfoExSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 87); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEGroupInfo* begin, const ::AliIMDBBase::SICEGroupInfo* end, ::AliIMDBBase::__U__SICEGroupInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEGroupInfoSeq& v, ::AliIMDBBase::__U__SICEGroupInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 5); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEGroupInfoEx* begin, const ::AliIMDBBase::SICEGroupInfoEx* end, ::AliIMDBBase::__U__SICEGroupInfoExSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEGroupInfoExSeq& v, ::AliIMDBBase::__U__SICEGroupInfoExSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 17); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEContactInfo* begin, const ::AliIMDBBase::SICEContactInfo* end, ::AliIMDBBase::__U__SICEContactInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEContactInfoSeq& v, ::AliIMDBBase::__U__SICEContactInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 14); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEOffLineMessege* begin, const ::AliIMDBBase::SICEOffLineMessege* end, ::AliIMDBBase::__U__SICEOffLineMessegeSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEOffLineMessegeSeq& v, ::AliIMDBBase::__U__SICEOffLineMessegeSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 7); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEOffLineMessegeEx* begin, const ::AliIMDBBase::SICEOffLineMessegeEx* end, ::AliIMDBBase::__U__SICEOffLineMessegeExSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEOffLineMessegeExSeq& v, ::AliIMDBBase::__U__SICEOffLineMessegeExSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 10); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICECntCidModPair* begin, const ::AliIMDBBase::SICECntCidModPair* end, ::AliIMDBBase::__U__SICECntCidModPairSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICECntCidModPairSeq& v, ::AliIMDBBase::__U__SICECntCidModPairSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 2); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEUserDStatus* begin, const ::AliIMDBBase::SICEUserDStatus* end, ::AliIMDBBase::__U__SICEUserDStatusSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEUserDStatusSeq& v, ::AliIMDBBase::__U__SICEUserDStatusSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 5); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICENetPhoneChargeInfo* begin, const ::AliIMDBBase::SICENetPhoneChargeInfo* end, ::AliIMDBBase::__U__SICENetPhoneChargeInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICENetPhoneChargeInfoSeq& v, ::AliIMDBBase::__U__SICENetPhoneChargeInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 19); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEGenContactFull* begin, const ::AliIMDBBase::SICEGenContactFull* end, ::AliIMDBBase::__U__SICEGenContactFullSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEGenContactFullSeq& v, ::AliIMDBBase::__U__SICEGenContactFullSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 58); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICECntOtherModInfo* begin, const ::AliIMDBBase::SICECntOtherModInfo* end, ::AliIMDBBase::__U__SICECntOtherModInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICECntOtherModInfoSeq& v, ::AliIMDBBase::__U__SICECntOtherModInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 15); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEAMOSUserInfo* begin, const ::AliIMDBBase::SICEAMOSUserInfo* end, ::AliIMDBBase::__U__SICEAMOSUserInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEAMOSUserInfoSeq& v, ::AliIMDBBase::__U__SICEAMOSUserInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 6); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SMatchedUserIdInfo* begin, const ::AliIMDBBase::SMatchedUserIdInfo* end, ::AliIMDBBase::__U__SMatchedUserIdInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SMatchedUserIdInfoSeq& v, ::AliIMDBBase::__U__SMatchedUserIdInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 3); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SUdbUserInfo* begin, const ::AliIMDBBase::SUdbUserInfo* end, ::AliIMDBBase::__U__SUdbUserInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SUdbUserInfoSeq& v, ::AliIMDBBase::__U__SUdbUserInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 16); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SChildUserInfo* begin, const ::AliIMDBBase::SChildUserInfo* end, ::AliIMDBBase::__U__SChildUserInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SChildUserInfoSeq& v, ::AliIMDBBase::__U__SChildUserInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 38); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SB2BChildUserInfo* begin, const ::AliIMDBBase::SB2BChildUserInfo* end, ::AliIMDBBase::__U__SB2BChildUserInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SB2BChildUserInfoSeq& v, ::AliIMDBBase::__U__SB2BChildUserInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 3); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SChildUserInfo2* begin, const ::AliIMDBBase::SChildUserInfo2* end, ::AliIMDBBase::__U__SChildUserInfoSeq2) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SChildUserInfoSeq2& v, ::AliIMDBBase::__U__SChildUserInfoSeq2) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 36); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEToolProfile* begin, const ::AliIMDBBase::SICEToolProfile* end, ::AliIMDBBase::__U__SICEToolProfileSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEToolProfileSeq& v, ::AliIMDBBase::__U__SICEToolProfileSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 5); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEKvPair* begin, const ::AliIMDBBase::SICEKvPair* end, ::AliIMDBBase::__U__SICEKvPairSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEKvPairSeq& v, ::AliIMDBBase::__U__SICEKvPairSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 2); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SImPrefix* begin, const ::AliIMDBBase::SImPrefix* end, ::AliIMDBBase::__U__SImPrefixSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SImPrefixSeq& v, ::AliIMDBBase::__U__SImPrefixSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 2); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEKVMap& v, ::AliIMDBBase::__U__SICEKVMap) -{ - __os->writeSize(::Ice::Int(v.size())); - ::AliIMDBBase::SICEKVMap::const_iterator p; - for(p = v.begin(); p != v.end(); ++p) - { - __os->write(p->first); - __os->write(p->second); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEKVMap& v, ::AliIMDBBase::__U__SICEKVMap) -{ - ::Ice::Int sz; - __is->readSize(sz); - while(sz--) - { - ::std::pair pair; - __is->read(const_cast< ::std::string&>(pair.first)); - ::AliIMDBBase::SICEKVMap::iterator __i = v.insert(v.end(), pair); - __is->read(__i->second); - } -} - -bool -AliIMDBBase::SICEReceptNum::operator==(const SICEReceptNum& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEReceptNum::operator!=(const SICEReceptNum& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid != __rhs.eserviceid) - { - return true; - } - if(receptnum != __rhs.receptnum) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEReceptNum::operator<(const SICEReceptNum& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid < __rhs.eserviceid) - { - return true; - } - else if(__rhs.eserviceid < eserviceid) - { - return false; - } - if(receptnum < __rhs.receptnum) - { - return true; - } - else if(__rhs.receptnum < receptnum) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEReceptNum::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(eserviceid); - __os->write(receptnum); -} - -void -AliIMDBBase::SICEReceptNum::__read(::IceInternal::BasicStream* __is) -{ - __is->read(eserviceid); - __is->read(receptnum); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEReceptNum* begin, const ::AliIMDBBase::SICEReceptNum* end, ::AliIMDBBase::__U__SICEReceptNumSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEReceptNumSeq& v, ::AliIMDBBase::__U__SICEReceptNumSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 5); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliIMDBBase::SICEReceptPriority::operator==(const SICEReceptPriority& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEReceptPriority::operator!=(const SICEReceptPriority& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid != __rhs.eserviceid) - { - return true; - } - if(receptpriority != __rhs.receptpriority) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEReceptPriority::operator<(const SICEReceptPriority& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid < __rhs.eserviceid) - { - return true; - } - else if(__rhs.eserviceid < eserviceid) - { - return false; - } - if(receptpriority < __rhs.receptpriority) - { - return true; - } - else if(__rhs.receptpriority < receptpriority) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEReceptPriority::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(eserviceid); - __os->write(receptpriority); -} - -void -AliIMDBBase::SICEReceptPriority::__read(::IceInternal::BasicStream* __is) -{ - __is->read(eserviceid); - __is->read(receptpriority); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEReceptPriority* begin, const ::AliIMDBBase::SICEReceptPriority* end, ::AliIMDBBase::__U__SICEReceptPrioritySeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEReceptPrioritySeq& v, ::AliIMDBBase::__U__SICEReceptPrioritySeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 5); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliIMDBBase::SICERecvOffMsg::operator==(const SICERecvOffMsg& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICERecvOffMsg::operator!=(const SICERecvOffMsg& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid != __rhs.eserviceid) - { - return true; - } - if(recvoffmsg != __rhs.recvoffmsg) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICERecvOffMsg::operator<(const SICERecvOffMsg& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid < __rhs.eserviceid) - { - return true; - } - else if(__rhs.eserviceid < eserviceid) - { - return false; - } - if(recvoffmsg < __rhs.recvoffmsg) - { - return true; - } - else if(__rhs.recvoffmsg < recvoffmsg) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICERecvOffMsg::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(eserviceid); - __os->write(recvoffmsg); -} - -void -AliIMDBBase::SICERecvOffMsg::__read(::IceInternal::BasicStream* __is) -{ - __is->read(eserviceid); - __is->read(recvoffmsg); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICERecvOffMsg* begin, const ::AliIMDBBase::SICERecvOffMsg* end, ::AliIMDBBase::__U__SICERecvOffMsgSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICERecvOffMsgSeq& v, ::AliIMDBBase::__U__SICERecvOffMsgSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 5); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliIMDBBase::SICEESGroupInfo::operator==(const SICEESGroupInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEESGroupInfo::operator!=(const SICEESGroupInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupName != __rhs.groupName) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(adminId != __rhs.adminId) - { - return true; - } - if(eservicelist != __rhs.eservicelist) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEESGroupInfo::operator<(const SICEESGroupInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupName < __rhs.groupName) - { - return true; - } - else if(__rhs.groupName < groupName) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(adminId < __rhs.adminId) - { - return true; - } - else if(__rhs.adminId < adminId) - { - return false; - } - if(eservicelist < __rhs.eservicelist) - { - return true; - } - else if(__rhs.eservicelist < eservicelist) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEESGroupInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(groupName); - __os->write(groupId); - __os->write(adminId); - if(eservicelist.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&eservicelist[0], &eservicelist[0] + eservicelist.size()); - } -} - -void -AliIMDBBase::SICEESGroupInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(groupName); - __is->read(groupId); - __is->read(adminId); - __is->read(eservicelist); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEESGroupInfo* begin, const ::AliIMDBBase::SICEESGroupInfo* end, ::AliIMDBBase::__U__SICEESGroupInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEESGroupInfoSeq& v, ::AliIMDBBase::__U__SICEESGroupInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 7); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliIMDBBase::SICEESBaseGroupInfo::operator==(const SICEESBaseGroupInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEESBaseGroupInfo::operator!=(const SICEESBaseGroupInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupName != __rhs.groupName) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(adminId != __rhs.adminId) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEESBaseGroupInfo::operator<(const SICEESBaseGroupInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupName < __rhs.groupName) - { - return true; - } - else if(__rhs.groupName < groupName) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(adminId < __rhs.adminId) - { - return true; - } - else if(__rhs.adminId < adminId) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEESBaseGroupInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(groupName); - __os->write(groupId); - __os->write(adminId); -} - -void -AliIMDBBase::SICEESBaseGroupInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(groupName); - __is->read(groupId); - __is->read(adminId); -} - -bool -AliIMDBBase::SICEExpandArea::operator==(const SICEExpandArea& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEExpandArea::operator!=(const SICEExpandArea& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(id != __rhs.id) - { - return true; - } - if(areaname != __rhs.areaname) - { - return true; - } - if(url != __rhs.url) - { - return true; - } - if(picpath != __rhs.picpath) - { - return true; - } - if(createtime != __rhs.createtime) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEExpandArea::operator<(const SICEExpandArea& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(id < __rhs.id) - { - return true; - } - else if(__rhs.id < id) - { - return false; - } - if(areaname < __rhs.areaname) - { - return true; - } - else if(__rhs.areaname < areaname) - { - return false; - } - if(url < __rhs.url) - { - return true; - } - else if(__rhs.url < url) - { - return false; - } - if(picpath < __rhs.picpath) - { - return true; - } - else if(__rhs.picpath < picpath) - { - return false; - } - if(createtime < __rhs.createtime) - { - return true; - } - else if(__rhs.createtime < createtime) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEExpandArea::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(id); - __os->write(areaname); - __os->write(url); - __os->write(picpath); - __os->write(createtime); -} - -void -AliIMDBBase::SICEExpandArea::__read(::IceInternal::BasicStream* __is) -{ - __is->read(id); - __is->read(areaname); - __is->read(url); - __is->read(picpath); - __is->read(createtime); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEExpandArea* begin, const ::AliIMDBBase::SICEExpandArea* end, ::AliIMDBBase::__U__SICEExpandAreaSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEExpandAreaSeq& v, ::AliIMDBBase::__U__SICEExpandAreaSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 8); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliIMDBBase::SICEESEval::operator==(const SICEESEval& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEESEval::operator!=(const SICEESEval& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(code != __rhs.code) - { - return true; - } - if(codename != __rhs.codename) - { - return true; - } - if(welcome != __rhs.welcome) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEESEval::operator<(const SICEESEval& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(code < __rhs.code) - { - return true; - } - else if(__rhs.code < code) - { - return false; - } - if(codename < __rhs.codename) - { - return true; - } - else if(__rhs.codename < codename) - { - return false; - } - if(welcome < __rhs.welcome) - { - return true; - } - else if(__rhs.welcome < welcome) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEESEval::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(code); - __os->write(codename); - __os->write(welcome); -} - -void -AliIMDBBase::SICEESEval::__read(::IceInternal::BasicStream* __is) -{ - __is->read(code); - __is->read(codename); - __is->read(welcome); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEESEval* begin, const ::AliIMDBBase::SICEESEval* end, ::AliIMDBBase::__U__SICEESEvalSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEESEvalSeq& v, ::AliIMDBBase::__U__SICEESEvalSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 6); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliIMDBBase::SICEESCode::operator==(const SICEESCode& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEESCode::operator!=(const SICEESCode& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(code != __rhs.code) - { - return true; - } - if(codename != __rhs.codename) - { - return true; - } - if(num != __rhs.num) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEESCode::operator<(const SICEESCode& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(code < __rhs.code) - { - return true; - } - else if(__rhs.code < code) - { - return false; - } - if(codename < __rhs.codename) - { - return true; - } - else if(__rhs.codename < codename) - { - return false; - } - if(num < __rhs.num) - { - return true; - } - else if(__rhs.num < num) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEESCode::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(code); - __os->write(codename); - __os->write(num); -} - -void -AliIMDBBase::SICEESCode::__read(::IceInternal::BasicStream* __is) -{ - __is->read(code); - __is->read(codename); - __is->read(num); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEESCode* begin, const ::AliIMDBBase::SICEESCode* end, ::AliIMDBBase::__U__SICEESCodeSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEESCodeSeq& v, ::AliIMDBBase::__U__SICEESCodeSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 9); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliIMDBBase::SICEESEvalResult::operator==(const SICEESEvalResult& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEESEvalResult::operator!=(const SICEESEvalResult& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(sendNum != __rhs.sendNum) - { - return true; - } - if(receNum != __rhs.receNum) - { - return true; - } - if(codes != __rhs.codes) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEESEvalResult::operator<(const SICEESEvalResult& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(sendNum < __rhs.sendNum) - { - return true; - } - else if(__rhs.sendNum < sendNum) - { - return false; - } - if(receNum < __rhs.receNum) - { - return true; - } - else if(__rhs.receNum < receNum) - { - return false; - } - if(codes < __rhs.codes) - { - return true; - } - else if(__rhs.codes < codes) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEESEvalResult::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(sendNum); - __os->write(receNum); - if(codes.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &codes[0], &codes[0] + codes.size(), ::AliIMDBBase::__U__SICEESCodeSeq()); - } -} - -void -AliIMDBBase::SICEESEvalResult::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(sendNum); - __is->read(receNum); - ::AliIMDBBase::__read(__is, codes, ::AliIMDBBase::__U__SICEESCodeSeq()); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEESEvalResult* begin, const ::AliIMDBBase::SICEESEvalResult* end, ::AliIMDBBase::__U__SICEESEvalResultSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEESEvalResultSeq& v, ::AliIMDBBase::__U__SICEESEvalResultSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 10); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliIMDBBase::SICEESEvalResultEx::operator==(const SICEESEvalResultEx& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICEESEvalResultEx::operator!=(const SICEESEvalResultEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(sendNum != __rhs.sendNum) - { - return true; - } - if(receNum != __rhs.receNum) - { - return true; - } - if(codes != __rhs.codes) - { - return true; - } - if(evalTime != __rhs.evalTime) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICEESEvalResultEx::operator<(const SICEESEvalResultEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(sendNum < __rhs.sendNum) - { - return true; - } - else if(__rhs.sendNum < sendNum) - { - return false; - } - if(receNum < __rhs.receNum) - { - return true; - } - else if(__rhs.receNum < receNum) - { - return false; - } - if(codes < __rhs.codes) - { - return true; - } - else if(__rhs.codes < codes) - { - return false; - } - if(evalTime < __rhs.evalTime) - { - return true; - } - else if(__rhs.evalTime < evalTime) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICEESEvalResultEx::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(sendNum); - __os->write(receNum); - if(codes.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &codes[0], &codes[0] + codes.size(), ::AliIMDBBase::__U__SICEESCodeSeq()); - } - __os->write(evalTime); -} - -void -AliIMDBBase::SICEESEvalResultEx::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(sendNum); - __is->read(receNum); - ::AliIMDBBase::__read(__is, codes, ::AliIMDBBase::__U__SICEESCodeSeq()); - __is->read(evalTime); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICEESEvalResultEx* begin, const ::AliIMDBBase::SICEESEvalResultEx* end, ::AliIMDBBase::__U__SICEESEvalResultExSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICEESEvalResultExSeq& v, ::AliIMDBBase::__U__SICEESEvalResultExSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 11); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliIMDBBase::SICESqlItem::operator==(const SICESqlItem& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::SICESqlItem::operator!=(const SICESqlItem& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(type != __rhs.type) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(value != __rhs.value) - { - return true; - } - return false; -} - -bool -AliIMDBBase::SICESqlItem::operator<(const SICESqlItem& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(type < __rhs.type) - { - return true; - } - else if(__rhs.type < type) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(value < __rhs.value) - { - return true; - } - else if(__rhs.value < value) - { - return false; - } - return false; -} - -void -AliIMDBBase::SICESqlItem::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(type); - __os->write(name); - __os->write(value); -} - -void -AliIMDBBase::SICESqlItem::__read(::IceInternal::BasicStream* __is) -{ - __is->read(type); - __is->read(name); - __is->read(value); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SICESqlItem* begin, const ::AliIMDBBase::SICESqlItem* end, ::AliIMDBBase::__U__SICESqlItemSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SICESqlItemSeq& v, ::AliIMDBBase::__U__SICESqlItemSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 6); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliIMDBBase::UserStatics::operator==(const UserStatics& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMDBBase::UserStatics::operator!=(const UserStatics& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(type != __rhs.type) - { - return true; - } - if(loginId != __rhs.loginId) - { - return true; - } - if(totalDegree != __rhs.totalDegree) - { - return true; - } - if(userValue != __rhs.userValue) - { - return true; - } - if(dailyAction != __rhs.dailyAction) - { - return true; - } - if(phoneAuth != __rhs.phoneAuth) - { - return true; - } - if(emailAuth != __rhs.emailAuth) - { - return true; - } - if(identityAuth != __rhs.identityAuth) - { - return true; - } - if(tpAuth != __rhs.tpAuth) - { - return true; - } - if(tpFee != __rhs.tpFee) - { - return true; - } - if(alipayAuth != __rhs.alipayAuth) - { - return true; - } - if(buyCredit != __rhs.buyCredit) - { - return true; - } - if(sellCredit != __rhs.sellCredit) - { - return true; - } - return false; -} - -bool -AliIMDBBase::UserStatics::operator<(const UserStatics& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(type < __rhs.type) - { - return true; - } - else if(__rhs.type < type) - { - return false; - } - if(loginId < __rhs.loginId) - { - return true; - } - else if(__rhs.loginId < loginId) - { - return false; - } - if(totalDegree < __rhs.totalDegree) - { - return true; - } - else if(__rhs.totalDegree < totalDegree) - { - return false; - } - if(userValue < __rhs.userValue) - { - return true; - } - else if(__rhs.userValue < userValue) - { - return false; - } - if(dailyAction < __rhs.dailyAction) - { - return true; - } - else if(__rhs.dailyAction < dailyAction) - { - return false; - } - if(phoneAuth < __rhs.phoneAuth) - { - return true; - } - else if(__rhs.phoneAuth < phoneAuth) - { - return false; - } - if(emailAuth < __rhs.emailAuth) - { - return true; - } - else if(__rhs.emailAuth < emailAuth) - { - return false; - } - if(identityAuth < __rhs.identityAuth) - { - return true; - } - else if(__rhs.identityAuth < identityAuth) - { - return false; - } - if(tpAuth < __rhs.tpAuth) - { - return true; - } - else if(__rhs.tpAuth < tpAuth) - { - return false; - } - if(tpFee < __rhs.tpFee) - { - return true; - } - else if(__rhs.tpFee < tpFee) - { - return false; - } - if(alipayAuth < __rhs.alipayAuth) - { - return true; - } - else if(__rhs.alipayAuth < alipayAuth) - { - return false; - } - if(buyCredit < __rhs.buyCredit) - { - return true; - } - else if(__rhs.buyCredit < buyCredit) - { - return false; - } - if(sellCredit < __rhs.sellCredit) - { - return true; - } - else if(__rhs.sellCredit < sellCredit) - { - return false; - } - return false; -} - -void -AliIMDBBase::UserStatics::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(type); - __os->write(loginId); - __os->write(totalDegree); - __os->write(userValue); - __os->write(dailyAction); - __os->write(phoneAuth); - __os->write(emailAuth); - __os->write(identityAuth); - __os->write(tpAuth); - __os->write(tpFee); - __os->write(alipayAuth); - __os->write(buyCredit); - __os->write(sellCredit); -} - -void -AliIMDBBase::UserStatics::__read(::IceInternal::BasicStream* __is) -{ - __is->read(type); - __is->read(loginId); - __is->read(totalDegree); - __is->read(userValue); - __is->read(dailyAction); - __is->read(phoneAuth); - __is->read(emailAuth); - __is->read(identityAuth); - __is->read(tpAuth); - __is->read(tpFee); - __is->read(alipayAuth); - __is->read(buyCredit); - __is->read(sellCredit); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::UserStatics* begin, const ::AliIMDBBase::UserStatics* end, ::AliIMDBBase::__U__UserStaticsSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::UserStaticsSeq& v, ::AliIMDBBase::__U__UserStaticsSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 49); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} diff --git a/features/aliww/source/dbs_perf_test.cpp b/features/aliww/source/dbs_perf_test.cpp deleted file mode 100644 index 1d7d118..0000000 --- a/features/aliww/source/dbs_perf_test.cpp +++ /dev/null @@ -1,247 +0,0 @@ -#include "dbs_perf_test.h" - -using namespace std; -using namespace Ice; -using namespace AliIMDBBase; - -void* dbs_init(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - dbs_st *ap = (dbs_st *)malloc(sizeof(dbs_st)); - pVuser->verb = ap; - srand(time(0)); - create_transaction(pVuser,"DBS"); - - int status = 0; - Ice::CommunicatorPtr ic; - - try{ - ic = Ice::initialize(); - - Ice::ObjectPrx base = ic->stringToProxy("DBServerProxyId:default -h 10.250.3.34 -p 10001"); - IMDBProxyMgrPrx dbs = IMDBProxyMgrPrx::checkedCast(base); - if(!dbs){ - throw "Invalid proxy"; - } - ap->dbs = new IMDBProxyMgrPrx(dbs); - ap->ic = new Ice::CommunicatorPtr(ic); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -//int CheckUserTokenExtra(string userId, string passwd,out string lid, out string retuidtokenpw,out string retmd5passwd ,out int activeStat, out int webdata); -void* dbs_CheckUserTokenExtra(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - dbs_st *ap = (dbs_st *)pVuser->verb; - int status = 0; - IMDBProxyMgrPrx dbs = *(ap->dbs); - - char *tmp = select_param_ex(pVuser); - char *comaidx = index(tmp,','); - char *uname = strndup(tmp,comaidx-tmp-1); - char *pword = strdup(comaidx+1); - free(tmp); - string userId(uname); - string passwd(pword); - string lid; - string retuidtokenpw; - string retmd5passwd; - int activeStat; - int webdata; - - try{ - status = dbs->CheckUserTokenExtra( userId, passwd, lid, retuidtokenpw, retmd5passwd , activeStat, webdata); - if(status == 0) - success_transactionEx(pVuser,"DBS","CheckUserTokenExtra Sucess."); - else{ - char str_tmp[320] = {0}; - sprintf(str_tmp,"CheckUserTokenExtra:Call ret status is %d",status); - fail_transactionEx(pVuser,"DBS",str_tmp); - } - printf("userId : %s; status : %d\n",userId.c_str(),status); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -//int CheckWebWWPasswd(string userId, string passwd,out string lid, out string retuidtokenpw,out string retmd5passwd,out int activeStat); -void* dbs_CheckWebWWPasswd(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - dbs_st *ap = (dbs_st *)pVuser->verb; - int status = 0; - IMDBProxyMgrPrx dbs = *(ap->dbs); - - char *tmp = select_param_ex(pVuser); - char *comaidx = index(tmp,','); - char *uname = strndup(tmp,comaidx-tmp-1); - char *pword = strdup(comaidx+1); - free(tmp); - string userId(uname); - string passwd(pword); - string lid; - string retuidtokenpw; - string retmd5passwd; - int activeStat; - - try{ - status = dbs->CheckWebWWPasswd( userId, passwd, lid, retuidtokenpw, retmd5passwd,activeStat); - if(status == 0) - success_transactionEx(pVuser,"DBS","CheckWebWWPasswd Sucess."); - else{ - char str_tmp[320] = {0}; - sprintf(str_tmp,"CheckWebWWPasswd:Call ret status is %d",status); - fail_transactionEx(pVuser,"DBS",str_tmp); - } - printf("userId : %s; status : %d\n",userId.c_str(),status); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -//int CheckUserWebPasswdExtra(string userId, string passwd,out string lid, out string retuidtokenpw,out string retmd5passwd,out int activeStat, out int webdata); -void* dbs_CheckUserWebPasswdExtra(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - dbs_st *ap = (dbs_st *)pVuser->verb; - int status = 0; - IMDBProxyMgrPrx dbs = *(ap->dbs); - - char *tmp = select_param_ex(pVuser); - char *comaidx = index(tmp,','); - char *uname = strndup(tmp,comaidx-tmp-1); - char *pword = strdup(comaidx+1); - free(tmp); - string userId(uname); - string passwd(pword); - string lid; - string retuidtokenpw; - string retmd5passwd; - int activeStat; - int webdata; - - try{ - status = dbs->CheckUserWebPasswdExtra(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, webdata); - if(status == 0) - success_transactionEx(pVuser,"DBS","CheckUserWebPasswdExtra Sucess."); - else{ - char str_tmp[320] = {0}; - sprintf(str_tmp,"CheckUserWebPasswdExtra:Call ret status is %d",status); - fail_transactionEx(pVuser,"DBS",str_tmp); - } - printf("userId : %s; status : %d\n",userId.c_str(),status); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -//GetUserInfoExNew4(string userId, out SICEUserInfoExNew4 userInfo); -void* dbs_GetUserInfoExNew4(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - dbs_st *ap = (dbs_st *)pVuser->verb; - int status = 0; - IMDBProxyMgrPrx dbs = *(ap->dbs); - - string userId(select_param_ex(pVuser)); - SICEUserInfoExNew4 userInfo; - - try{ - status = dbs->GetUserInfoExNew4(userId, userInfo); - if(status == 0) - success_transactionEx(pVuser,"DBS","GetUserInfoExNew4 Sucess."); - else{ - char str_tmp[320] = {0}; - sprintf(str_tmp,"GetUserInfoExNew4:Call ret status is %d",status); - fail_transactionEx(pVuser,"DBS",str_tmp); - } - printf("userId : %s; status : %d\n",userId.c_str(),status); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} -void* dbs_UpdateUserDataInfo3(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - dbs_st *ap = (dbs_st *)pVuser->verb; - int status = 0; - IMDBProxyMgrPrx dbs = *(ap->dbs); - - string userId(select_param_ex(pVuser)); - RIGHTTABLE rightMap; - int onlineTimes = 100; - int activeDegree = 20; - float rewardActDegree = 30; - float onlineActDegree = 40; - - try{ - status = dbs->UpdateUserDataInfo3(userId, rightMap, onlineTimes, activeDegree, rewardActDegree, onlineActDegree); - if(status == 0) - success_transactionEx(pVuser,"DBS","UpdateUserDataInfo3 Sucess."); - else{ - char str_tmp[320] = {0}; - sprintf(str_tmp,"UpdateUserDataInfo3:Call ret status is %d",status); - fail_transactionEx(pVuser,"DBS",str_tmp); - } - printf("userId : %s; status : %d\n",userId.c_str(),status); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* dbs_end(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - dbs_st *ap = (dbs_st *)pVuser->verb; - int status = 0; - IMDBProxyMgrPrx dbs = *(ap->dbs); - Ice::CommunicatorPtr ic = *(ap->ic); - - if(ic){ - try{ - ic->destroy(); - //delete(&ic); - //delete(&dbs); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } - } -} - diff --git a/features/aliww/source/dbservice.cpp b/features/aliww/source/dbservice.cpp deleted file mode 100644 index 5d44e4e..0000000 --- a/features/aliww/source/dbservice.cpp +++ /dev/null @@ -1,31808 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__sayhello_name = "sayhello"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckUserToken_name = "CheckUserToken"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckTmpSession_name = "CheckTmpSession"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckUserWebPasswd_name = "CheckUserWebPasswd"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckUserPasswd_name = "CheckUserPasswd"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckUserWebToken_name = "CheckUserWebToken"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetAtmLongid_name = "GetAtmLongid"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddUser60_name = "AddUser60"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetWebMemberPWInfo_name = "GetWebMemberPWInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetWebMemberPWInfoEx_name = "GetWebMemberPWInfoEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserWebBasicProfile_name = "GetUserWebBasicProfile"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckCanAddContact_name = "CheckCanAddContact"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__QueryMatchedUserIds_name = "QueryMatchedUserIds"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateContactWebInfo_name = "UpdateContactWebInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__DelTaobaoUser_name = "DelTaobaoUser"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__DelAnyUser_name = "DelAnyUser"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddUserKeyWord_name = "AddUserKeyWord"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserKeyWord_name = "UpdateUserKeyWord"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserKeyWord_name = "GetUserKeyWord"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__QueryUserIdsByKeyWord_name = "QueryUserIdsByKeyWord"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetBatchMemberInfo_name = "GetBatchMemberInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetAllVersion_name = "GetAllVersion"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetAllSysMsg_name = "GetAllSysMsg"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetAllExSysMsg_name = "GetAllExSysMsg"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserInfo_name = "GetUserInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserInfo2_name = "GetUserInfo2"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserInfoEx_name = "GetUserInfoEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserInfoNew_name = "GetUserInfoNew"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserInfo2New_name = "GetUserInfo2New"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserInfoExNew_name = "GetUserInfoExNew"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserInfoExNew2_name = "GetUserInfoExNew2"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserInfoExNew3_name = "GetUserInfoExNew3"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserInfoExNew4_name = "GetUserInfoExNew4"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserVerifyInfo_name = "GetUserVerifyInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserVerifyInfoEx_name = "GetUserVerifyInfoEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserVerifyInfoQuestion_name = "GetUserVerifyInfoQuestion"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetGroupList_name = "GetGroupList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetGroupListEx_name = "GetGroupListEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetContactList_name = "GetContactList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetBlackList_name = "GetBlackList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetReverseBlackList_name = "GetReverseBlackList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetOfflineMsg_name = "GetOfflineMsg"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetOfflineMsgEx_name = "GetOfflineMsgEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetOfflineMsgCount_name = "GetOfflineMsgCount"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetEnetOfflineMsgNum_name = "GetEnetOfflineMsgNum"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetContactInfo_name = "GetContactInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetOfflineMsgNum_name = "GetOfflineMsgNum"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetToolProfiles_name = "GetToolProfiles"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetToolProfilesEx_name = "GetToolProfilesEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetSysMsg_name = "GetSysMsg"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddUser_name = "AddUser"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddGroup_name = "AddGroup"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddGroupEx_name = "AddGroupEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddBlackList_name = "AddBlackList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddOfflineMsg_name = "AddOfflineMsg"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddExpriteTimeOfflineMsg_name = "AddExpriteTimeOfflineMsg"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddOfflineMsgNoSMS_name = "AddOfflineMsgNoSMS"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddOfflineMsgEx_name = "AddOfflineMsgEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserLogin_name = "UpdateUserLogin"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserLoginEx_name = "UpdateUserLoginEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserLoginDataInfo_name = "UpdateUserLoginDataInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserLoginDataInfoEx_name = "UpdateUserLoginDataInfoEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserSysMsgId_name = "UpdateUserSysMsgId"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserDataInfo_name = "UpdateUserDataInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserDataInfo2_name = "UpdateUserDataInfo2"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserDataInfo3_name = "UpdateUserDataInfo3"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserVerifySet_name = "UpdateUserVerifySet"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserVerifySetEx_name = "UpdateUserVerifySetEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserVerifySetQuestion_name = "UpdateUserVerifySetQuestion"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateGroup_name = "UpdateGroup"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__MoveGroup_name = "MoveGroup"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateContactNickName_name = "UpdateContactNickName"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateContactGroup_name = "UpdateContactGroup"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateContactStatus_name = "UpdateContactStatus"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateNotifyMessage_name = "UpdateNotifyMessage"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateToolProfiles_name = "UpdateToolProfiles"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateToolProfilesEx_name = "UpdateToolProfilesEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__RemoveGroup_name = "RemoveGroup"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__RemoveContact_name = "RemoveContact"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__RemoveInverfiedContact_name = "RemoveInverfiedContact"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__RemoveBlackList_name = "RemoveBlackList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__IsBlackedByOther_name = "IsBlackedByOther"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__RemoveBatchContacts_name = "RemoveBatchContacts"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserDStatus_name = "GetUserDStatus"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddUserDStatus_name = "AddUserDStatus"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__RemoveUserDStatus_name = "RemoveUserDStatus"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetAllContactList_name = "GetAllContactList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetCntModifyList_name = "GetCntModifyList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddGenContactFull_name = "AddGenContactFull"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetContactDetail_name = "GetContactDetail"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__DelGenContact_name = "DelGenContact"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddContact_name = "AddContact"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckUpgradeGenCnt_name = "CheckUpgradeGenCnt"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__ModifyGenCntID_name = "ModifyGenCntID"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpgradeGenContact_name = "UpgradeGenContact"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUpdatedUserInfo_name = "GetUpdatedUserInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__ModifyContactDetail_name = "ModifyContactDetail"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateContactGroupByCid_name = "UpdateContactGroupByCid"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateContactNickNameByCid_name = "UpdateContactNickNameByCid"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetCRMContactDetail_name = "GetCRMContactDetail"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetHardCodeIds_name = "GetHardCodeIds"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateHardCodeIds_name = "UpdateHardCodeIds"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetCntOtherModifyList_name = "GetCntOtherModifyList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetCntOtherModifyInfo_name = "GetCntOtherModifyInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserCRInfo_name = "GetUserCRInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__SetUserCRInfo_name = "SetUserCRInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetSmsUserInfoByUid_name = "GetSmsUserInfoByUid"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetSmsUserMsgInfo_name = "GetSmsUserMsgInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__DelOfflineMsg_name = "DelOfflineMsg"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__DelOfflineMsgEx_name = "DelOfflineMsgEx"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__DelWapOfflineMsg_name = "DelWapOfflineMsg"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__ModifyCntMemo_name = "ModifyCntMemo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetCntMemo_name = "GetCntMemo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserTribe_name = "GetUserTribe"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserTribeConfig_name = "GetUserTribeConfig"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserTribeConfig_name = "UpdateUserTribeConfig"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetTribeOffMngMsg_name = "GetTribeOffMngMsg"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__DelTribeOffMngMsg_name = "DelTribeOffMngMsg"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__ModifyPersonalShow_name = "ModifyPersonalShow"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetPersonalShow_name = "GetPersonalShow"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetAllOnlineSmsUser_name = "GetAllOnlineSmsUser"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserKeyWordDegree_name = "GetUserKeyWordDegree"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetUserValue_name = "GetUserValue"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserMd5Password_name = "UpdateUserMd5Password"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__InsertYahooUser_name = "InsertYahooUser"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetContactDetailByUid_name = "GetContactDetailByUid"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetChildTeamList_name = "GetChildTeamList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetChildTeamList2_name = "GetChildTeamList2"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetChildUserInfo_name = "GetChildUserInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetChildUserInfo2_name = "GetChildUserInfo2"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetShareContactList_name = "GetShareContactList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetContactShareInfo_name = "GetContactShareInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__SetContactShareInfo_name = "SetContactShareInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetMultiAccountContactList_name = "GetMultiAccountContactList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetMultiServiceList_name = "GetMultiServiceList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetMultiBindToUser_name = "GetMultiBindToUser"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetWebBinds_name = "GetWebBinds"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__AddWebBind_name = "AddWebBind"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__ChangeWebBind_name = "ChangeWebBind"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__DelWebBind_name = "DelWebBind"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getUserSession_name = "getUserSession"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__checkUserSession_name = "checkUserSession"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__removeSession_name = "removeSession"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateSignature_name = "UpdateSignature"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__updateContactClientInfo_name = "updateContactClientInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getUserProfile_name = "getUserProfile"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getPeerVerifyFlag_name = "getPeerVerifyFlag"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getPeerVerifyFlagQuestion_name = "getPeerVerifyFlagQuestion"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getNickName_name = "getNickName"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getFTServiceInfo_name = "getFTServiceInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getTietuServiceInfo_name = "getTietuServiceInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getFTSAddr_name = "getFTSAddr"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__registerWanghao_name = "registerWanghao"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__updateUserProfile_name = "updateUserProfile"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__loadSitePrefix_name = "loadSitePrefix"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__updateAepUserId_name = "updateAepUserId"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__updateVipflag_name = "updateVipflag"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__checkWangHaoPwd_name = "checkWangHaoPwd"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__checkCanLogin_name = "checkCanLogin"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__GetSIPSessionId_name = "GetSIPSessionId"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckGsContact_name = "CheckGsContact"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateSmsAuthCode_name = "UpdateSmsAuthCode"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckSmsAuthCode_name = "CheckSmsAuthCode"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__UpdateUserValueBySmsAuth_name = "UpdateUserValueBySmsAuth"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckSmsAuthStatus_name = "CheckSmsAuthStatus"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckUserTokenExtra_name = "CheckUserTokenExtra"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckUserWebPasswdExtra_name = "CheckUserWebPasswdExtra"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESShuntStatus_name = "getESShuntStatus"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__setESShuntStatus_name = "setESShuntStatus"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getMaxESReceptNum_name = "getMaxESReceptNum"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__setMaxESReceptNum_name = "setMaxESReceptNum"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESPriority_name = "getESPriority"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__setESPriority_name = "setESPriority"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESRecvOffMsg_name = "getESRecvOffMsg"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__setESRecvOffMsg_name = "setESRecvOffMsg"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESGroupList_name = "getESGroupList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__insertESGroupInfo_name = "insertESGroupInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__updateESGroupInfo_name = "updateESGroupInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__delESGroup_name = "delESGroup"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESGroupInfo_name = "getESGroupInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESGroupInfoByID_name = "getESGroupInfoByID"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESUserFunc_name = "getESUserFunc"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESUnJoinGroup_name = "getESUnJoinGroup"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__checkESRole_name = "checkESRole"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__CheckWebWWPasswd_name = "CheckWebWWPasswd"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESExpandArea_name = "getESExpandArea"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESExpandAreaById_name = "getESExpandAreaById"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__addESExpandArea_name = "addESExpandArea"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__updateESExpandArea_name = "updateESExpandArea"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__delESExpandArea_name = "delESExpandArea"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__setESEval_name = "setESEval"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESEval_name = "getESEval"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__sendESEvalResult_name = "sendESEvalResult"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__setESEvalResult_name = "setESEvalResult"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESEvalResult_name = "getESEvalResult"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESEvalResultToday_name = "getESEvalResultToday"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESEvalResultHistory_name = "getESEvalResultHistory"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getESEvalResultHistorybypage_name = "getESEvalResultHistorybypage"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getLastLoginTime_name = "getLastLoginTime"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getChildShuntInfos_name = "getChildShuntInfos"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__setChildShuntInfos_name = "setChildShuntInfos"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getAgentChild_name = "getAgentChild"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__setAgentChild_name = "setAgentChild"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getAgentList_name = "getAgentList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getB2BChildTeamList_name = "getB2BChildTeamList"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getB2BChildInfo_name = "getB2BChildInfo"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__getB2BChildParentId_name = "getB2BChildParentId"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__addB2BChild_name = "addB2BChild"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__updateB2BChild_name = "updateB2BChild"; - -static const ::std::string __AliIMDBBase__IMDBProxyMgr__deleteB2BChild_name = "deleteB2BChild"; - -void -IceInternal::incRef(::AliIMDBBase::IMDBProxyMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIMDBBase::IMDBProxyMgr* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIMDBBase::IMDBProxyMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIMDBBase::IMDBProxyMgr* p) -{ - p->__decRef(); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::IMDBProxyMgrPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::IMDBProxyMgrPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIMDBBase::IMDBProxyMgr; - v->__copyFrom(proxy); - } -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::IMDBProxyMgrPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIMDBBase::__addObject(const IMDBProxyMgrPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIMDBBase::__usesClasses(const IMDBProxyMgrPtr& p) -{ - return p->__usesClasses(); -} - -void -AliIMDBBase::__decRefUnsafe(const IMDBProxyMgrPtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIMDBBase::__clearHandleUnsafe(IMDBProxyMgrPtr& p) -{ - p.__clearHandleUnsafe(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_sayhello::AMD_IMDBProxyMgr_sayhello(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_sayhello::ice_response(::Ice::Int __ret, const ::std::string& helloword) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(helloword); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_sayhello::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_sayhello::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_sayhello::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserToken::AMD_IMDBProxyMgr_CheckUserToken(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserToken::ice_response(::Ice::Int __ret, const ::std::string& lid, const ::std::string& retuidtokenpw, const ::std::string& retmd5passwd, ::Ice::Int activeStat) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(lid); - __os->write(retuidtokenpw); - __os->write(retmd5passwd); - __os->write(activeStat); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserToken::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserToken::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserToken::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckTmpSession::AMD_IMDBProxyMgr_CheckTmpSession(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckTmpSession::ice_response(::Ice::Int __ret, const ::std::string& lid, const ::std::string& retuidtokenpw, const ::std::string& retmd5passwd, ::Ice::Int activeStat) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(lid); - __os->write(retuidtokenpw); - __os->write(retmd5passwd); - __os->write(activeStat); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckTmpSession::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckTmpSession::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckTmpSession::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswd::AMD_IMDBProxyMgr_CheckUserWebPasswd(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswd::ice_response(::Ice::Int __ret, const ::std::string& lid, const ::std::string& retuidtokenpw, const ::std::string& retmd5passwd, ::Ice::Int activeStat) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(lid); - __os->write(retuidtokenpw); - __os->write(retmd5passwd); - __os->write(activeStat); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswd::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswd::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswd::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserPasswd::AMD_IMDBProxyMgr_CheckUserPasswd(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserPasswd::ice_response(::Ice::Int __ret, const ::std::string& retuidtokenpw, const ::std::string& retmd5passwd, ::Ice::Int activeStat) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(retuidtokenpw); - __os->write(retmd5passwd); - __os->write(activeStat); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserPasswd::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserPasswd::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserPasswd::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebToken::AMD_IMDBProxyMgr_CheckUserWebToken(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebToken::ice_response(::Ice::Int __ret, const ::std::string& reason) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(reason); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebToken::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebToken::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebToken::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAtmLongid::AMD_IMDBProxyMgr_GetAtmLongid(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAtmLongid::ice_response(::Ice::Int __ret, const ::std::string& longId) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(longId); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAtmLongid::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAtmLongid::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAtmLongid::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUser60::AMD_IMDBProxyMgr_AddUser60(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUser60::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUser60::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUser60::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUser60::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfo::AMD_IMDBProxyMgr_GetWebMemberPWInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfo::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SMemberPWInfo& pwInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - pwInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfoEx::AMD_IMDBProxyMgr_GetWebMemberPWInfoEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfoEx::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SMemberPWInfoEx& pwInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - pwInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfoEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfoEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfoEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserWebBasicProfile::AMD_IMDBProxyMgr_GetUserWebBasicProfile(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserWebBasicProfile::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SUserWebBasicProfile& profile) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - profile.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserWebBasicProfile::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserWebBasicProfile::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserWebBasicProfile::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckCanAddContact::AMD_IMDBProxyMgr_CheckCanAddContact(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckCanAddContact::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckCanAddContact::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckCanAddContact::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckCanAddContact::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_QueryMatchedUserIds::AMD_IMDBProxyMgr_QueryMatchedUserIds(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_QueryMatchedUserIds::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SMatchedUserIdInfoSeq& matchedIds) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(matchedIds.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &matchedIds[0], &matchedIds[0] + matchedIds.size(), ::AliIMDBBase::__U__SMatchedUserIdInfoSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_QueryMatchedUserIds::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_QueryMatchedUserIds::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_QueryMatchedUserIds::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactWebInfo::AMD_IMDBProxyMgr_UpdateContactWebInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactWebInfo::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactWebInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactWebInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactWebInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelTaobaoUser::AMD_IMDBProxyMgr_DelTaobaoUser(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelTaobaoUser::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelTaobaoUser::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelTaobaoUser::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelTaobaoUser::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelAnyUser::AMD_IMDBProxyMgr_DelAnyUser(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelAnyUser::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelAnyUser::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelAnyUser::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelAnyUser::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUserKeyWord::AMD_IMDBProxyMgr_AddUserKeyWord(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUserKeyWord::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUserKeyWord::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUserKeyWord::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUserKeyWord::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserKeyWord::AMD_IMDBProxyMgr_UpdateUserKeyWord(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserKeyWord::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserKeyWord::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserKeyWord::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserKeyWord::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWord::AMD_IMDBProxyMgr_GetUserKeyWord(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWord::ice_response(::Ice::Int __ret, const ::std::string& keyword, ::Ice::Int flag) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(keyword); - __os->write(flag); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWord::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWord::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWord::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_QueryUserIdsByKeyWord::AMD_IMDBProxyMgr_QueryUserIdsByKeyWord(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_QueryUserIdsByKeyWord::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SMatchedUserIdInfoSeq& matchedIds) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(matchedIds.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &matchedIds[0], &matchedIds[0] + matchedIds.size(), ::AliIMDBBase::__U__SMatchedUserIdInfoSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_QueryUserIdsByKeyWord::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_QueryUserIdsByKeyWord::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_QueryUserIdsByKeyWord::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetBatchMemberInfo::AMD_IMDBProxyMgr_GetBatchMemberInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetBatchMemberInfo::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEMemberInfoSeq& memberInfoList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(memberInfoList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &memberInfoList[0], &memberInfoList[0] + memberInfoList.size(), ::AliIMDBBase::__U__SICEMemberInfoSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetBatchMemberInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetBatchMemberInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetBatchMemberInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllVersion::AMD_IMDBProxyMgr_GetAllVersion(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllVersion::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEVersionSeq& versionList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(versionList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &versionList[0], &versionList[0] + versionList.size(), ::AliIMDBBase::__U__SICEVersionSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllVersion::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllVersion::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllVersion::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllSysMsg::AMD_IMDBProxyMgr_GetAllSysMsg(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllSysMsg::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICESysMessageSeq& sysMsgList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(sysMsgList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &sysMsgList[0], &sysMsgList[0] + sysMsgList.size(), ::AliIMDBBase::__U__SICESysMessageSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllSysMsg::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllSysMsg::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllSysMsg::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllExSysMsg::AMD_IMDBProxyMgr_GetAllExSysMsg(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllExSysMsg::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SExICESysMessageSeq& sysMsgList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(sysMsgList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &sysMsgList[0], &sysMsgList[0] + sysMsgList.size(), ::AliIMDBBase::__U__SExICESysMessageSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllExSysMsg::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllExSysMsg::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllExSysMsg::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo::AMD_IMDBProxyMgr_GetUserInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEUserInfo& userInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - userInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2::AMD_IMDBProxyMgr_GetUserInfo2(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEUserInfo2& userInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - userInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoEx::AMD_IMDBProxyMgr_GetUserInfoEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoEx::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEUserInfoEx& userInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - userInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoNew::AMD_IMDBProxyMgr_GetUserInfoNew(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoNew::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEUserInfoNew& userInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - userInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoNew::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoNew::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoNew::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2New::AMD_IMDBProxyMgr_GetUserInfo2New(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2New::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEUserInfo2New& userInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - userInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2New::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2New::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2New::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew::AMD_IMDBProxyMgr_GetUserInfoExNew(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEUserInfoExNew& userInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - userInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew2::AMD_IMDBProxyMgr_GetUserInfoExNew2(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew2::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEUserInfoExNew2& userInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - userInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew2::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew2::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew2::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew3::AMD_IMDBProxyMgr_GetUserInfoExNew3(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew3::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEUserInfoExNew3& userInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - userInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew3::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew3::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew3::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew4::AMD_IMDBProxyMgr_GetUserInfoExNew4(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew4::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEUserInfoExNew4& userInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - userInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew4::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew4::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew4::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfo::AMD_IMDBProxyMgr_GetUserVerifyInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfo::ice_response(::Ice::Int __ret, ::Ice::Byte addcontactverify, ::Ice::Byte sendmsgverify) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(addcontactverify); - __os->write(sendmsgverify); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoEx::AMD_IMDBProxyMgr_GetUserVerifyInfoEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoEx::ice_response(::Ice::Int __ret, ::Ice::Byte addcontactverify, ::Ice::Byte sendmsgverify, ::Ice::Byte enableSearchFlag) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(addcontactverify); - __os->write(sendmsgverify); - __os->write(enableSearchFlag); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoQuestion::AMD_IMDBProxyMgr_GetUserVerifyInfoQuestion(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoQuestion::ice_response(::Ice::Int __ret, ::Ice::Byte addcontactverify, ::Ice::Byte sendmsgverify, ::Ice::Byte enableSearchFlag, const ::std::string& question, const ::std::string& answer) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(addcontactverify); - __os->write(sendmsgverify); - __os->write(enableSearchFlag); - __os->write(question); - __os->write(answer); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoQuestion::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoQuestion::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoQuestion::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupList::AMD_IMDBProxyMgr_GetGroupList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupList::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEGroupInfoSeq& groupList, ::Ice::Int groupTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &groupList[0], &groupList[0] + groupList.size(), ::AliIMDBBase::__U__SICEGroupInfoSeq()); - } - __os->write(groupTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupListEx::AMD_IMDBProxyMgr_GetGroupListEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupListEx::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEGroupInfoExSeq& groupList, ::Ice::Int groupTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &groupList[0], &groupList[0] + groupList.size(), ::AliIMDBBase::__U__SICEGroupInfoExSeq()); - } - __os->write(groupTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupListEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupListEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupListEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactList::AMD_IMDBProxyMgr_GetContactList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactList::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int contactTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(contactList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &contactList[0], &contactList[0] + contactList.size(), ::AliIMDBBase::__U__SICEContactInfoSeq()); - } - __os->write(contactTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetBlackList::AMD_IMDBProxyMgr_GetBlackList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetBlackList::ice_response(::Ice::Int __ret, const ::Ice::StringSeq& blackList, ::Ice::Int blacklistTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(blackList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&blackList[0], &blackList[0] + blackList.size()); - } - __os->write(blacklistTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetBlackList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetBlackList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetBlackList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetReverseBlackList::AMD_IMDBProxyMgr_GetReverseBlackList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetReverseBlackList::ice_response(::Ice::Int __ret, const ::Ice::StringSeq& reverseBlackList, ::Ice::Int reverseBlacklistTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(reverseBlackList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&reverseBlackList[0], &reverseBlackList[0] + reverseBlackList.size()); - } - __os->write(reverseBlacklistTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetReverseBlackList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetReverseBlackList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetReverseBlackList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsg::AMD_IMDBProxyMgr_GetOfflineMsg(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsg::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEOffLineMessegeSeq& offlineMsgList, ::Ice::Int offlinemsgTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(offlineMsgList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &offlineMsgList[0], &offlineMsgList[0] + offlineMsgList.size(), ::AliIMDBBase::__U__SICEOffLineMessegeSeq()); - } - __os->write(offlinemsgTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsg::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsg::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsg::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgEx::AMD_IMDBProxyMgr_GetOfflineMsgEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgEx::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEOffLineMessegeExSeq& offlineMsgList, ::Ice::Int offlinemsgTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(offlineMsgList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &offlineMsgList[0], &offlineMsgList[0] + offlineMsgList.size(), ::AliIMDBBase::__U__SICEOffLineMessegeExSeq()); - } - __os->write(offlinemsgTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgCount::AMD_IMDBProxyMgr_GetOfflineMsgCount(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgCount::ice_response(::Ice::Int __ret, ::Ice::Int chatMsgNum, ::Ice::Int sysMsgNum) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(chatMsgNum); - __os->write(sysMsgNum); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgCount::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgCount::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgCount::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetEnetOfflineMsgNum::AMD_IMDBProxyMgr_GetEnetOfflineMsgNum(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetEnetOfflineMsgNum::ice_response(::Ice::Int __ret, ::Ice::Int msgNum) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(msgNum); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetEnetOfflineMsgNum::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetEnetOfflineMsgNum::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetEnetOfflineMsgNum::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactInfo::AMD_IMDBProxyMgr_GetContactInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactInfo::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEContactInfo& contactInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - contactInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgNum::AMD_IMDBProxyMgr_GetOfflineMsgNum(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgNum::ice_response(::Ice::Int __ret, ::Ice::Int msgNum) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(msgNum); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgNum::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgNum::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgNum::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfiles::AMD_IMDBProxyMgr_GetToolProfiles(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfiles::ice_response(::Ice::Int __ret, const ::Ice::StringSeq& toolProfilesList, ::Ice::Int toolTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(toolProfilesList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&toolProfilesList[0], &toolProfilesList[0] + toolProfilesList.size()); - } - __os->write(toolTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfiles::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfiles::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfiles::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfilesEx::AMD_IMDBProxyMgr_GetToolProfilesEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfilesEx::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEToolProfileSeq& toolProfilesList, ::Ice::Int toolTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(toolProfilesList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &toolProfilesList[0], &toolProfilesList[0] + toolProfilesList.size(), ::AliIMDBBase::__U__SICEToolProfileSeq()); - } - __os->write(toolTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfilesEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfilesEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfilesEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSysMsg::AMD_IMDBProxyMgr_GetSysMsg(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSysMsg::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICESysMessage& sysMsg) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - sysMsg.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSysMsg::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSysMsg::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSysMsg::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUser::AMD_IMDBProxyMgr_AddUser(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUser::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUser::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUser::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUser::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGroup::AMD_IMDBProxyMgr_AddGroup(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGroup::ice_response(::Ice::Int __ret, ::Ice::Int groupId, ::Ice::Int groupTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(groupId); - __os->write(groupTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGroup::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGroup::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGroup::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGroupEx::AMD_IMDBProxyMgr_AddGroupEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGroupEx::ice_response(::Ice::Int __ret, ::Ice::Int groupId, ::Ice::Int groupTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(groupId); - __os->write(groupTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGroupEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGroupEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGroupEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddBlackList::AMD_IMDBProxyMgr_AddBlackList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddBlackList::ice_response(::Ice::Int __ret, ::Ice::Int blackListTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(blackListTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddBlackList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddBlackList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddBlackList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsg::AMD_IMDBProxyMgr_AddOfflineMsg(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsg::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsg::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsg::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsg::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsg::AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsg(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsg::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsg::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsg::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsg::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgNoSMS::AMD_IMDBProxyMgr_AddOfflineMsgNoSMS(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgNoSMS::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgNoSMS::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgNoSMS::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgNoSMS::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgEx::AMD_IMDBProxyMgr_AddOfflineMsgEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgEx::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLogin::AMD_IMDBProxyMgr_UpdateUserLogin(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLogin::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLogin::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLogin::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLogin::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginEx::AMD_IMDBProxyMgr_UpdateUserLoginEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginEx::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfo::AMD_IMDBProxyMgr_UpdateUserLoginDataInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfo::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoEx::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoEx::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserSysMsgId::AMD_IMDBProxyMgr_UpdateUserSysMsgId(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserSysMsgId::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserSysMsgId::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserSysMsgId::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserSysMsgId::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo::AMD_IMDBProxyMgr_UpdateUserDataInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo2::AMD_IMDBProxyMgr_UpdateUserDataInfo2(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo2::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo2::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo2::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo2::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo3::AMD_IMDBProxyMgr_UpdateUserDataInfo3(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo3::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo3::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo3::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo3::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySet::AMD_IMDBProxyMgr_UpdateUserVerifySet(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySet::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySet::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySet::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySet::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetEx::AMD_IMDBProxyMgr_UpdateUserVerifySetEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetEx::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetQuestion::AMD_IMDBProxyMgr_UpdateUserVerifySetQuestion(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetQuestion::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetQuestion::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetQuestion::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetQuestion::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateGroup::AMD_IMDBProxyMgr_UpdateGroup(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateGroup::ice_response(::Ice::Int __ret, ::Ice::Int groupTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(groupTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateGroup::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateGroup::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateGroup::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_MoveGroup::AMD_IMDBProxyMgr_MoveGroup(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_MoveGroup::ice_response(::Ice::Int __ret, ::Ice::Int groupTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(groupTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_MoveGroup::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_MoveGroup::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_MoveGroup::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickName::AMD_IMDBProxyMgr_UpdateContactNickName(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickName::ice_response(::Ice::Int __ret, ::Ice::Int contactTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(contactTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickName::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickName::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickName::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroup::AMD_IMDBProxyMgr_UpdateContactGroup(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroup::ice_response(::Ice::Int __ret, ::Ice::Int contactTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(contactTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroup::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroup::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroup::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactStatus::AMD_IMDBProxyMgr_UpdateContactStatus(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactStatus::ice_response(::Ice::Int __ret, ::Ice::Int contactTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(contactTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactStatus::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactStatus::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactStatus::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateNotifyMessage::AMD_IMDBProxyMgr_UpdateNotifyMessage(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateNotifyMessage::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateNotifyMessage::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateNotifyMessage::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateNotifyMessage::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfiles::AMD_IMDBProxyMgr_UpdateToolProfiles(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfiles::ice_response(::Ice::Int __ret, ::Ice::Int toolTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(toolTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfiles::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfiles::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfiles::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfilesEx::AMD_IMDBProxyMgr_UpdateToolProfilesEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfilesEx::ice_response(::Ice::Int __ret, ::Ice::Int toolTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(toolTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfilesEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfilesEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfilesEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveGroup::AMD_IMDBProxyMgr_RemoveGroup(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveGroup::ice_response(::Ice::Int __ret, ::Ice::Int groupTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(groupTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveGroup::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveGroup::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveGroup::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveContact::AMD_IMDBProxyMgr_RemoveContact(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveContact::ice_response(::Ice::Int __ret, ::Ice::Int contactTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(contactTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveContact::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveContact::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveContact::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveInverfiedContact::AMD_IMDBProxyMgr_RemoveInverfiedContact(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveInverfiedContact::ice_response(::Ice::Int __ret, ::Ice::Int contactTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(contactTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveInverfiedContact::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveInverfiedContact::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveInverfiedContact::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBlackList::AMD_IMDBProxyMgr_RemoveBlackList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBlackList::ice_response(::Ice::Int __ret, ::Ice::Int blackListTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(blackListTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBlackList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBlackList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBlackList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_IsBlackedByOther::AMD_IMDBProxyMgr_IsBlackedByOther(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_IsBlackedByOther::ice_response(::Ice::Int __ret, bool bBlacked) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(bBlacked); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_IsBlackedByOther::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_IsBlackedByOther::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_IsBlackedByOther::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBatchContacts::AMD_IMDBProxyMgr_RemoveBatchContacts(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBatchContacts::ice_response(::Ice::Int __ret, const ::Ice::StringSeq& retVect, ::Ice::Int modifyCntTimes, ::Ice::Int modifyGenCntTime) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(retVect.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&retVect[0], &retVect[0] + retVect.size()); - } - __os->write(modifyCntTimes); - __os->write(modifyGenCntTime); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBatchContacts::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBatchContacts::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBatchContacts::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserDStatus::AMD_IMDBProxyMgr_GetUserDStatus(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserDStatus::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEUserDStatusSeq& userDStatusList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(userDStatusList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &userDStatusList[0], &userDStatusList[0] + userDStatusList.size(), ::AliIMDBBase::__U__SICEUserDStatusSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserDStatus::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserDStatus::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserDStatus::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUserDStatus::AMD_IMDBProxyMgr_AddUserDStatus(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUserDStatus::ice_response(::Ice::Int __ret, ::Ice::Int statusId) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(statusId); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUserDStatus::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUserDStatus::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUserDStatus::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveUserDStatus::AMD_IMDBProxyMgr_RemoveUserDStatus(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveUserDStatus::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveUserDStatus::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveUserDStatus::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveUserDStatus::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllContactList::AMD_IMDBProxyMgr_GetAllContactList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllContactList::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int contactTimes, ::Ice::Int gencontacttimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(contactList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &contactList[0], &contactList[0] + contactList.size(), ::AliIMDBBase::__U__SICEContactInfoSeq()); - } - __os->write(contactTimes); - __os->write(gencontacttimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllContactList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllContactList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllContactList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntModifyList::AMD_IMDBProxyMgr_GetCntModifyList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntModifyList::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICECntCidModPairSeq& cntList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(cntList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &cntList[0], &cntList[0] + cntList.size(), ::AliIMDBBase::__U__SICECntCidModPairSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntModifyList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntModifyList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntModifyList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGenContactFull::AMD_IMDBProxyMgr_AddGenContactFull(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGenContactFull::ice_response(::Ice::Int __ret, const ::std::string& retscid, const ::std::string& retsmodseqid, ::Ice::Long timeStamps) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(retscid); - __os->write(retsmodseqid); - __os->write(timeStamps); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGenContactFull::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGenContactFull::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGenContactFull::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetail::AMD_IMDBProxyMgr_GetContactDetail(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetail::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEGenContactFull& detail) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - detail.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetail::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetail::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetail::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelGenContact::AMD_IMDBProxyMgr_DelGenContact(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelGenContact::ice_response(::Ice::Int __ret, ::Ice::Long contactTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(contactTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelGenContact::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelGenContact::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelGenContact::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddContact::AMD_IMDBProxyMgr_AddContact(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddContact::ice_response(::Ice::Int __ret, ::Ice::Int contactTimes, const ::std::string& retcid, const ::std::string& retmodseqid) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(contactTimes); - __os->write(retcid); - __os->write(retmodseqid); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddContact::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddContact::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddContact::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUpgradeGenCnt::AMD_IMDBProxyMgr_CheckUpgradeGenCnt(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUpgradeGenCnt::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUpgradeGenCnt::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUpgradeGenCnt::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUpgradeGenCnt::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyGenCntID::AMD_IMDBProxyMgr_ModifyGenCntID(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyGenCntID::ice_response(::Ice::Int __ret, const ::std::string& modseqid) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(modseqid); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyGenCntID::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyGenCntID::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyGenCntID::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpgradeGenContact::AMD_IMDBProxyMgr_UpgradeGenContact(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpgradeGenContact::ice_response(::Ice::Int __ret, ::Ice::Long cntstamp, ::Ice::Long gencntstamp, const ::std::string& modseqid) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(cntstamp); - __os->write(gencntstamp); - __os->write(modseqid); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpgradeGenContact::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpgradeGenContact::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpgradeGenContact::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUpdatedUserInfo::AMD_IMDBProxyMgr_GetUpdatedUserInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUpdatedUserInfo::ice_response(::Ice::Int __ret, ::Ice::Long cntstamp, ::Ice::Long gencntstamp, const ::std::string& retcid, const ::std::string& modseqid, ::Ice::Long groupid, const ::std::string& nickname) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(cntstamp); - __os->write(gencntstamp); - __os->write(retcid); - __os->write(modseqid); - __os->write(groupid); - __os->write(nickname); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUpdatedUserInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUpdatedUserInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUpdatedUserInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyContactDetail::AMD_IMDBProxyMgr_ModifyContactDetail(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyContactDetail::ice_response(::Ice::Int __ret, ::Ice::Long gencntmodifyVersion, const ::std::string& modseqid) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(gencntmodifyVersion); - __os->write(modseqid); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyContactDetail::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyContactDetail::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyContactDetail::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroupByCid::AMD_IMDBProxyMgr_UpdateContactGroupByCid(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroupByCid::ice_response(::Ice::Int __ret, ::Ice::Int contactTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(contactTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroupByCid::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroupByCid::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroupByCid::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickNameByCid::AMD_IMDBProxyMgr_UpdateContactNickNameByCid(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickNameByCid::ice_response(::Ice::Int __ret, ::Ice::Int contactTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(contactTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickNameByCid::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickNameByCid::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickNameByCid::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCRMContactDetail::AMD_IMDBProxyMgr_GetCRMContactDetail(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCRMContactDetail::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICECRMContactDetail& cntDetail) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - cntDetail.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCRMContactDetail::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCRMContactDetail::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCRMContactDetail::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetHardCodeIds::AMD_IMDBProxyMgr_GetHardCodeIds(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetHardCodeIds::ice_response(::Ice::Int __ret, ::Ice::Int count, const ::std::string& allids) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(count); - __os->write(allids); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetHardCodeIds::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetHardCodeIds::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetHardCodeIds::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateHardCodeIds::AMD_IMDBProxyMgr_UpdateHardCodeIds(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateHardCodeIds::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateHardCodeIds::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateHardCodeIds::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateHardCodeIds::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyList::AMD_IMDBProxyMgr_GetCntOtherModifyList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyList::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICECntOtherModInfoSeq& cntList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(cntList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &cntList[0], &cntList[0] + cntList.size(), ::AliIMDBBase::__U__SICECntOtherModInfoSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyInfo::AMD_IMDBProxyMgr_GetCntOtherModifyInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyInfo::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICECntOtherModInfo& cntOtherModInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - cntOtherModInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserCRInfo::AMD_IMDBProxyMgr_GetUserCRInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserCRInfo::ice_response(::Ice::Int __ret, ::Ice::Int crState, ::Ice::Int begTime, ::Ice::Int activeDegree) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(crState); - __os->write(begTime); - __os->write(activeDegree); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserCRInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserCRInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserCRInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_SetUserCRInfo::AMD_IMDBProxyMgr_SetUserCRInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_SetUserCRInfo::ice_response(::Ice::Int __ret, ::Ice::Int begTime) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(begTime); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_SetUserCRInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_SetUserCRInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_SetUserCRInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserInfoByUid::AMD_IMDBProxyMgr_GetSmsUserInfoByUid(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserInfoByUid::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICESmsUserInfo& smsUserInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - smsUserInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserInfoByUid::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserInfoByUid::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserInfoByUid::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserMsgInfo::AMD_IMDBProxyMgr_GetSmsUserMsgInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserMsgInfo::ice_response(::Ice::Int __ret, ::Ice::Int todaySmsCount, ::Ice::Int yesterdaySmsCount) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(todaySmsCount); - __os->write(yesterdaySmsCount); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserMsgInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserMsgInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserMsgInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsg::AMD_IMDBProxyMgr_DelOfflineMsg(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsg::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsg::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsg::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsg::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsgEx::AMD_IMDBProxyMgr_DelOfflineMsgEx(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsgEx::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsgEx::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsgEx::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsgEx::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelWapOfflineMsg::AMD_IMDBProxyMgr_DelWapOfflineMsg(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelWapOfflineMsg::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelWapOfflineMsg::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelWapOfflineMsg::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelWapOfflineMsg::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyCntMemo::AMD_IMDBProxyMgr_ModifyCntMemo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyCntMemo::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyCntMemo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyCntMemo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyCntMemo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntMemo::AMD_IMDBProxyMgr_GetCntMemo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntMemo::ice_response(::Ice::Int __ret, const ::std::string& memo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(memo); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntMemo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntMemo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntMemo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribe::AMD_IMDBProxyMgr_GetUserTribe(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribe::ice_response(::Ice::Int __ret, const ::ALiIMDBTribe::STribeIdDbSeq& tribeIdList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(tribeIdList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &tribeIdList[0], &tribeIdList[0] + tribeIdList.size(), ::ALiIMDBTribe::__U__STribeIdDbSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribe::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribe::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribe::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribeConfig::AMD_IMDBProxyMgr_GetUserTribeConfig(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribeConfig::ice_response(::Ice::Int __ret, ::Ice::Int addVerify) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(addVerify); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribeConfig::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribeConfig::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribeConfig::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserTribeConfig::AMD_IMDBProxyMgr_UpdateUserTribeConfig(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserTribeConfig::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserTribeConfig::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserTribeConfig::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserTribeConfig::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetTribeOffMngMsg::AMD_IMDBProxyMgr_GetTribeOffMngMsg(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetTribeOffMngMsg::ice_response(::Ice::Int __ret, const ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(offlineMsgList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &offlineMsgList[0], &offlineMsgList[0] + offlineMsgList.size(), ::ALiIMDBTribe::__U__STribeOfflineMsgSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetTribeOffMngMsg::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetTribeOffMngMsg::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetTribeOffMngMsg::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelTribeOffMngMsg::AMD_IMDBProxyMgr_DelTribeOffMngMsg(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelTribeOffMngMsg::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelTribeOffMngMsg::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelTribeOffMngMsg::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelTribeOffMngMsg::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyPersonalShow::AMD_IMDBProxyMgr_ModifyPersonalShow(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyPersonalShow::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyPersonalShow::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyPersonalShow::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyPersonalShow::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetPersonalShow::AMD_IMDBProxyMgr_GetPersonalShow(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetPersonalShow::ice_response(::Ice::Int __ret, const ::std::string& show) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(show); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetPersonalShow::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetPersonalShow::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetPersonalShow::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllOnlineSmsUser::AMD_IMDBProxyMgr_GetAllOnlineSmsUser(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllOnlineSmsUser::ice_response(::Ice::Int __ret, const ::Ice::StringSeq& userList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(userList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userList[0], &userList[0] + userList.size()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllOnlineSmsUser::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllOnlineSmsUser::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllOnlineSmsUser::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWordDegree::AMD_IMDBProxyMgr_GetUserKeyWordDegree(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWordDegree::ice_response(::Ice::Int __ret, const ::std::string& keyword, ::Ice::Int flag, ::Ice::Float degree) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(keyword); - __os->write(flag); - __os->write(degree); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWordDegree::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWordDegree::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWordDegree::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserValue::AMD_IMDBProxyMgr_GetUserValue(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserValue::ice_response(::Ice::Int __ret, ::Ice::Int uservalue) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(uservalue); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserValue::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserValue::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserValue::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserMd5Password::AMD_IMDBProxyMgr_UpdateUserMd5Password(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserMd5Password::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserMd5Password::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserMd5Password::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserMd5Password::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_InsertYahooUser::AMD_IMDBProxyMgr_InsertYahooUser(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_InsertYahooUser::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_InsertYahooUser::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_InsertYahooUser::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_InsertYahooUser::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetailByUid::AMD_IMDBProxyMgr_GetContactDetailByUid(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetailByUid::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEGenContactFull& detail) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - detail.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetailByUid::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetailByUid::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetailByUid::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList::AMD_IMDBProxyMgr_GetChildTeamList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SChildUserInfoSeq& childTeamList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(childTeamList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &childTeamList[0], &childTeamList[0] + childTeamList.size(), ::AliIMDBBase::__U__SChildUserInfoSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList2::AMD_IMDBProxyMgr_GetChildTeamList2(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList2::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SChildUserInfoSeq2& childTeamList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(childTeamList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &childTeamList[0], &childTeamList[0] + childTeamList.size(), ::AliIMDBBase::__U__SChildUserInfoSeq2()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList2::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList2::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList2::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo::AMD_IMDBProxyMgr_GetChildUserInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SChildUserInfo& childInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - childInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo2::AMD_IMDBProxyMgr_GetChildUserInfo2(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo2::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SChildUserInfo2& childInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - childInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo2::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo2::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo2::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetShareContactList::AMD_IMDBProxyMgr_GetShareContactList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetShareContactList::ice_response(::Ice::Int __ret, const ::Ice::StringSeq& shareContactIdList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(shareContactIdList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&shareContactIdList[0], &shareContactIdList[0] + shareContactIdList.size()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetShareContactList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetShareContactList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetShareContactList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactShareInfo::AMD_IMDBProxyMgr_GetContactShareInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactShareInfo::ice_response(::Ice::Int __ret, ::Ice::Int value) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(value); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactShareInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactShareInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactShareInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_SetContactShareInfo::AMD_IMDBProxyMgr_SetContactShareInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_SetContactShareInfo::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_SetContactShareInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_SetContactShareInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_SetContactShareInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiAccountContactList::AMD_IMDBProxyMgr_GetMultiAccountContactList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiAccountContactList::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEContactInfoSeq& contactIdList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(contactIdList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &contactIdList[0], &contactIdList[0] + contactIdList.size(), ::AliIMDBBase::__U__SICEContactInfoSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiAccountContactList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiAccountContactList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiAccountContactList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiServiceList::AMD_IMDBProxyMgr_GetMultiServiceList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiServiceList::ice_response(::Ice::Int __ret, const ::Ice::IntSeq& ServiceList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(ServiceList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&ServiceList[0], &ServiceList[0] + ServiceList.size()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiServiceList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiServiceList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiServiceList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiBindToUser::AMD_IMDBProxyMgr_GetMultiBindToUser(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiBindToUser::ice_response(::Ice::Int __ret, const ::std::string& bindToUser) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(bindToUser); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiBindToUser::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiBindToUser::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiBindToUser::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebBinds::AMD_IMDBProxyMgr_GetWebBinds(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebBinds::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEKvPairSeq& binds) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(binds.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &binds[0], &binds[0] + binds.size(), ::AliIMDBBase::__U__SICEKvPairSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebBinds::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebBinds::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebBinds::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddWebBind::AMD_IMDBProxyMgr_AddWebBind(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddWebBind::ice_response(::Ice::Int __ret, const ::std::string& webmd5pw) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(webmd5pw); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddWebBind::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddWebBind::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddWebBind::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ChangeWebBind::AMD_IMDBProxyMgr_ChangeWebBind(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ChangeWebBind::ice_response(::Ice::Int __ret, const ::std::string& webmd5pw) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(webmd5pw); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ChangeWebBind::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ChangeWebBind::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ChangeWebBind::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelWebBind::AMD_IMDBProxyMgr_DelWebBind(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelWebBind::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelWebBind::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelWebBind::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelWebBind::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getUserSession::AMD_IMDBProxyMgr_getUserSession(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getUserSession::ice_response(::Ice::Int __ret, const ::AliIM::SIceSession& retsession) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - retsession.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getUserSession::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getUserSession::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getUserSession::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkUserSession::AMD_IMDBProxyMgr_checkUserSession(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkUserSession::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkUserSession::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkUserSession::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkUserSession::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_removeSession::AMD_IMDBProxyMgr_removeSession(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_removeSession::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_removeSession::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_removeSession::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_removeSession::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSignature::AMD_IMDBProxyMgr_UpdateSignature(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSignature::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSignature::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSignature::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSignature::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateContactClientInfo::AMD_IMDBProxyMgr_updateContactClientInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateContactClientInfo::ice_response(::Ice::Int __ret, ::Ice::Int contactTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(contactTimes); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateContactClientInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateContactClientInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateContactClientInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getUserProfile::AMD_IMDBProxyMgr_getUserProfile(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getUserProfile::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEKVMap& profilemap) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - ::AliIMDBBase::__write(__os, profilemap, ::AliIMDBBase::__U__SICEKVMap()); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getUserProfile::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getUserProfile::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getUserProfile::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlag::AMD_IMDBProxyMgr_getPeerVerifyFlag(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlag::ice_response(::Ice::Int __ret, ::Ice::Int flag) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(flag); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlag::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlag::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlag::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlagQuestion::AMD_IMDBProxyMgr_getPeerVerifyFlagQuestion(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlagQuestion::ice_response(::Ice::Int __ret, ::Ice::Int flag, const ::std::string& question, const ::std::string& answer) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(flag); - __os->write(question); - __os->write(answer); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlagQuestion::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlagQuestion::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlagQuestion::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getNickName::AMD_IMDBProxyMgr_getNickName(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getNickName::ice_response(::Ice::Int __ret, const ::std::string& nickname) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(nickname); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getNickName::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getNickName::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getNickName::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getFTServiceInfo::AMD_IMDBProxyMgr_getFTServiceInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getFTServiceInfo::ice_response(::Ice::Int __ret, const ::std::string& srvIp, ::Ice::Short srvPort) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(srvIp); - __os->write(srvPort); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getFTServiceInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getFTServiceInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getFTServiceInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getTietuServiceInfo::AMD_IMDBProxyMgr_getTietuServiceInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getTietuServiceInfo::ice_response(::Ice::Int __ret, ::Ice::Int sessionSum, const ::std::string& srvIp, ::Ice::Short srvPort) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(sessionSum); - __os->write(srvIp); - __os->write(srvPort); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getTietuServiceInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getTietuServiceInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getTietuServiceInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getFTSAddr::AMD_IMDBProxyMgr_getFTSAddr(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getFTSAddr::ice_response(::Ice::Int __ret, ::Ice::Long ftsid, const ::std::string& srvIp, ::Ice::Short srvPort) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(ftsid); - __os->write(srvIp); - __os->write(srvPort); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getFTSAddr::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getFTSAddr::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getFTSAddr::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_registerWanghao::AMD_IMDBProxyMgr_registerWanghao(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_registerWanghao::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_registerWanghao::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_registerWanghao::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_registerWanghao::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateUserProfile::AMD_IMDBProxyMgr_updateUserProfile(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateUserProfile::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateUserProfile::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateUserProfile::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateUserProfile::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_loadSitePrefix::AMD_IMDBProxyMgr_loadSitePrefix(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_loadSitePrefix::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SImPrefixSeq& pv) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(pv.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &pv[0], &pv[0] + pv.size(), ::AliIMDBBase::__U__SImPrefixSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_loadSitePrefix::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_loadSitePrefix::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_loadSitePrefix::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateAepUserId::AMD_IMDBProxyMgr_updateAepUserId(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateAepUserId::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateAepUserId::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateAepUserId::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateAepUserId::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateVipflag::AMD_IMDBProxyMgr_updateVipflag(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateVipflag::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateVipflag::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateVipflag::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateVipflag::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkWangHaoPwd::AMD_IMDBProxyMgr_checkWangHaoPwd(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkWangHaoPwd::ice_response(::Ice::Int __ret, const ::std::string& retluid, const ::std::string& retPwToken, const ::std::string& retmd5passwd, ::Ice::Int activeState) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(retluid); - __os->write(retPwToken); - __os->write(retmd5passwd); - __os->write(activeState); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkWangHaoPwd::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkWangHaoPwd::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkWangHaoPwd::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkCanLogin::AMD_IMDBProxyMgr_checkCanLogin(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkCanLogin::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkCanLogin::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkCanLogin::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkCanLogin::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSIPSessionId::AMD_IMDBProxyMgr_GetSIPSessionId(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSIPSessionId::ice_response(::Ice::Int __ret, const ::std::string& sessionId) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(sessionId); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSIPSessionId::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSIPSessionId::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSIPSessionId::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckGsContact::AMD_IMDBProxyMgr_CheckGsContact(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckGsContact::ice_response(::Ice::Int __ret, ::Ice::Int flag) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(flag); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckGsContact::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckGsContact::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckGsContact::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSmsAuthCode::AMD_IMDBProxyMgr_UpdateSmsAuthCode(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSmsAuthCode::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSmsAuthCode::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSmsAuthCode::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSmsAuthCode::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthCode::AMD_IMDBProxyMgr_CheckSmsAuthCode(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthCode::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthCode::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthCode::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthCode::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserValueBySmsAuth::AMD_IMDBProxyMgr_UpdateUserValueBySmsAuth(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserValueBySmsAuth::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserValueBySmsAuth::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserValueBySmsAuth::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserValueBySmsAuth::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthStatus::AMD_IMDBProxyMgr_CheckSmsAuthStatus(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthStatus::ice_response(::Ice::Int __ret, ::Ice::Int status) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(status); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthStatus::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthStatus::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthStatus::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserTokenExtra::AMD_IMDBProxyMgr_CheckUserTokenExtra(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserTokenExtra::ice_response(::Ice::Int __ret, const ::std::string& lid, const ::std::string& retuidtokenpw, const ::std::string& retmd5passwd, ::Ice::Int activeStat, ::Ice::Int webdata) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(lid); - __os->write(retuidtokenpw); - __os->write(retmd5passwd); - __os->write(activeStat); - __os->write(webdata); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserTokenExtra::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserTokenExtra::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserTokenExtra::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswdExtra::AMD_IMDBProxyMgr_CheckUserWebPasswdExtra(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswdExtra::ice_response(::Ice::Int __ret, const ::std::string& lid, const ::std::string& retuidtokenpw, const ::std::string& retmd5passwd, ::Ice::Int activeStat, ::Ice::Int webdata) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(lid); - __os->write(retuidtokenpw); - __os->write(retmd5passwd); - __os->write(activeStat); - __os->write(webdata); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswdExtra::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswdExtra::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswdExtra::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESShuntStatus::AMD_IMDBProxyMgr_getESShuntStatus(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESShuntStatus::ice_response(::Ice::Int __ret, const ::std::string& shunt) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(shunt); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESShuntStatus::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESShuntStatus::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESShuntStatus::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESShuntStatus::AMD_IMDBProxyMgr_setESShuntStatus(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESShuntStatus::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESShuntStatus::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESShuntStatus::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESShuntStatus::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getMaxESReceptNum::AMD_IMDBProxyMgr_getMaxESReceptNum(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getMaxESReceptNum::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEReceptNumSeq& eserviceList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::AliIMDBBase::__U__SICEReceptNumSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getMaxESReceptNum::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getMaxESReceptNum::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getMaxESReceptNum::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setMaxESReceptNum::AMD_IMDBProxyMgr_setMaxESReceptNum(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setMaxESReceptNum::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setMaxESReceptNum::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setMaxESReceptNum::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setMaxESReceptNum::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESPriority::AMD_IMDBProxyMgr_getESPriority(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESPriority::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEReceptPrioritySeq& eserviceList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::AliIMDBBase::__U__SICEReceptPrioritySeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESPriority::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESPriority::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESPriority::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESPriority::AMD_IMDBProxyMgr_setESPriority(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESPriority::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESPriority::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESPriority::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESPriority::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESRecvOffMsg::AMD_IMDBProxyMgr_getESRecvOffMsg(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESRecvOffMsg::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICERecvOffMsgSeq& eserviceList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::AliIMDBBase::__U__SICERecvOffMsgSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESRecvOffMsg::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESRecvOffMsg::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESRecvOffMsg::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESRecvOffMsg::AMD_IMDBProxyMgr_setESRecvOffMsg(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESRecvOffMsg::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESRecvOffMsg::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESRecvOffMsg::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESRecvOffMsg::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupList::AMD_IMDBProxyMgr_getESGroupList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupList::ice_response(::Ice::Int __ret, const ::Ice::IntSeq& groupList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&groupList[0], &groupList[0] + groupList.size()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_insertESGroupInfo::AMD_IMDBProxyMgr_insertESGroupInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_insertESGroupInfo::ice_response(::Ice::Int __ret, ::Ice::Int groupId) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(groupId); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_insertESGroupInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_insertESGroupInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_insertESGroupInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateESGroupInfo::AMD_IMDBProxyMgr_updateESGroupInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateESGroupInfo::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateESGroupInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateESGroupInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateESGroupInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_delESGroup::AMD_IMDBProxyMgr_delESGroup(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_delESGroup::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_delESGroup::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_delESGroup::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_delESGroup::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfo::AMD_IMDBProxyMgr_getESGroupInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfo::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEESGroupInfoSeq& groupList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &groupList[0], &groupList[0] + groupList.size(), ::AliIMDBBase::__U__SICEESGroupInfoSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfoByID::AMD_IMDBProxyMgr_getESGroupInfoByID(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfoByID::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEESGroupInfo& groupInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - groupInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfoByID::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfoByID::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfoByID::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESUserFunc::AMD_IMDBProxyMgr_getESUserFunc(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESUserFunc::ice_response(::Ice::Int __ret, const ::std::string& userflag, ::Ice::Int groupId) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(userflag); - __os->write(groupId); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESUserFunc::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESUserFunc::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESUserFunc::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESUnJoinGroup::AMD_IMDBProxyMgr_getESUnJoinGroup(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESUnJoinGroup::ice_response(::Ice::Int __ret, const ::Ice::StringSeq& eserviceList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&eserviceList[0], &eserviceList[0] + eserviceList.size()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESUnJoinGroup::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESUnJoinGroup::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESUnJoinGroup::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkESRole::AMD_IMDBProxyMgr_checkESRole(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkESRole::ice_response(::Ice::Int __ret, ::Ice::Int groupId) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(groupId); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkESRole::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkESRole::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkESRole::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckWebWWPasswd::AMD_IMDBProxyMgr_CheckWebWWPasswd(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckWebWWPasswd::ice_response(::Ice::Int __ret, const ::std::string& lid, const ::std::string& retuidtokenpw, const ::std::string& retmd5passwd, ::Ice::Int activeStat) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(lid); - __os->write(retuidtokenpw); - __os->write(retmd5passwd); - __os->write(activeStat); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckWebWWPasswd::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckWebWWPasswd::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckWebWWPasswd::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandArea::AMD_IMDBProxyMgr_getESExpandArea(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandArea::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEExpandAreaSeq& areaInfos) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(areaInfos.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &areaInfos[0], &areaInfos[0] + areaInfos.size(), ::AliIMDBBase::__U__SICEExpandAreaSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandArea::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandArea::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandArea::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandAreaById::AMD_IMDBProxyMgr_getESExpandAreaById(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandAreaById::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEExpandArea& areaInfos) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - areaInfos.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandAreaById::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandAreaById::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandAreaById::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_addESExpandArea::AMD_IMDBProxyMgr_addESExpandArea(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_addESExpandArea::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_addESExpandArea::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_addESExpandArea::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_addESExpandArea::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateESExpandArea::AMD_IMDBProxyMgr_updateESExpandArea(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateESExpandArea::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateESExpandArea::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateESExpandArea::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateESExpandArea::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_delESExpandArea::AMD_IMDBProxyMgr_delESExpandArea(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_delESExpandArea::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_delESExpandArea::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_delESExpandArea::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_delESExpandArea::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESEval::AMD_IMDBProxyMgr_setESEval(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESEval::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESEval::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESEval::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESEval::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEval::AMD_IMDBProxyMgr_getESEval(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEval::ice_response(::Ice::Int __ret, const ::std::string& evalcontent, const ::std::string& welcome) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(evalcontent); - __os->write(welcome); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEval::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEval::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEval::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_sendESEvalResult::AMD_IMDBProxyMgr_sendESEvalResult(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_sendESEvalResult::ice_response(::Ice::Int __ret, ::Ice::Int evalId) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(evalId); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_sendESEvalResult::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_sendESEvalResult::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_sendESEvalResult::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESEvalResult::AMD_IMDBProxyMgr_setESEvalResult(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESEvalResult::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESEvalResult::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESEvalResult::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESEvalResult::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResult::AMD_IMDBProxyMgr_getESEvalResult(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResult::ice_response(::Ice::Int __ret, const ::std::string& evalresult, const ::std::string& gmtcreate, const ::std::string& gmtmodify) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(evalresult); - __os->write(gmtcreate); - __os->write(gmtmodify); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResult::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResult::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResult::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultToday::AMD_IMDBProxyMgr_getESEvalResultToday(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultToday::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEESEvalResultSeq& evalInfos) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(evalInfos.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &evalInfos[0], &evalInfos[0] + evalInfos.size(), ::AliIMDBBase::__U__SICEESEvalResultSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultToday::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultToday::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultToday::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistory::AMD_IMDBProxyMgr_getESEvalResultHistory(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistory::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SICEESEvalResultSeq& evalInfos) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(evalInfos.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &evalInfos[0], &evalInfos[0] + evalInfos.size(), ::AliIMDBBase::__U__SICEESEvalResultSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistory::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistory::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistory::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistorybypage::AMD_IMDBProxyMgr_getESEvalResultHistorybypage(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistorybypage::ice_response(::Ice::Int __ret, ::Ice::Int pagecount, const ::AliIMDBBase::SICEESEvalResultExSeq& evalInfos) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(pagecount); - if(evalInfos.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &evalInfos[0], &evalInfos[0] + evalInfos.size(), ::AliIMDBBase::__U__SICEESEvalResultExSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistorybypage::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistorybypage::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistorybypage::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getLastLoginTime::AMD_IMDBProxyMgr_getLastLoginTime(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getLastLoginTime::ice_response(::Ice::Int __ret, const ::Ice::StringSeq& loginTimes) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(loginTimes.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&loginTimes[0], &loginTimes[0] + loginTimes.size()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getLastLoginTime::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getLastLoginTime::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getLastLoginTime::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getChildShuntInfos::AMD_IMDBProxyMgr_getChildShuntInfos(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getChildShuntInfos::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SChildUserInfoSeq& childInfos) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(childInfos.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &childInfos[0], &childInfos[0] + childInfos.size(), ::AliIMDBBase::__U__SChildUserInfoSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getChildShuntInfos::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getChildShuntInfos::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getChildShuntInfos::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setChildShuntInfos::AMD_IMDBProxyMgr_setChildShuntInfos(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setChildShuntInfos::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setChildShuntInfos::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setChildShuntInfos::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setChildShuntInfos::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getAgentChild::AMD_IMDBProxyMgr_getAgentChild(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getAgentChild::ice_response(::Ice::Int __ret, const ::std::string& agentId) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(agentId); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getAgentChild::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getAgentChild::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getAgentChild::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setAgentChild::AMD_IMDBProxyMgr_setAgentChild(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setAgentChild::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setAgentChild::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setAgentChild::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setAgentChild::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getAgentList::AMD_IMDBProxyMgr_getAgentList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getAgentList::ice_response(::Ice::Int __ret, const ::Ice::StringSeq& agentIds) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(agentIds.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&agentIds[0], &agentIds[0] + agentIds.size()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getAgentList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getAgentList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getAgentList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildTeamList::AMD_IMDBProxyMgr_getB2BChildTeamList(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildTeamList::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SB2BChildUserInfoSeq& childTeamList) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - if(childTeamList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &childTeamList[0], &childTeamList[0] + childTeamList.size(), ::AliIMDBBase::__U__SB2BChildUserInfoSeq()); - } - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildTeamList::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildTeamList::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildTeamList::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildInfo::AMD_IMDBProxyMgr_getB2BChildInfo(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildInfo::ice_response(::Ice::Int __ret, const ::AliIMDBBase::SB2BChildUserInfo& childInfo) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - childInfo.__write(__os); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildInfo::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildInfo::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildInfo::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildParentId::AMD_IMDBProxyMgr_getB2BChildParentId(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildParentId::ice_response(::Ice::Int __ret, const ::std::string& fid) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(fid); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildParentId::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildParentId::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildParentId::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_addB2BChild::AMD_IMDBProxyMgr_addB2BChild(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_addB2BChild::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_addB2BChild::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_addB2BChild::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_addB2BChild::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateB2BChild::AMD_IMDBProxyMgr_updateB2BChild(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateB2BChild::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateB2BChild::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateB2BChild::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateB2BChild::ice_exception() -{ - __exception(); -} - -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_deleteB2BChild::AMD_IMDBProxyMgr_deleteB2BChild(::IceInternal::Incoming& in) : - ::IceInternal::IncomingAsync(in) -{ -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_deleteB2BChild::ice_response(::Ice::Int __ret) -{ - try - { - ::IceInternal::BasicStream* __os = this->__os(); - __os->write(__ret); - } - catch(const ::Ice::Exception& __ex) - { - __exception(__ex); - return; - } - __response(true); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_deleteB2BChild::ice_exception(const ::Ice::Exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_deleteB2BChild::ice_exception(const ::std::exception& ex) -{ - __exception(ex); -} - -void -IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_deleteB2BChild::ice_exception() -{ - __exception(); -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::sayhello(const ::std::string& userId, ::std::string& helloword, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__sayhello_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->sayhello(userId, helloword, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckUserToken(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckUserToken_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckUserToken(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckTmpSession(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckTmpSession_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckTmpSession(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckUserWebPasswd(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckUserWebPasswd_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckUserWebPasswd(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckUserPasswd(const ::std::string& userId, bool btokenpw, const ::std::string& passwd, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckUserPasswd_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckUserPasswd(userId, btokenpw, passwd, retuidtokenpw, retmd5passwd, activeStat, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckUserWebToken(const ::std::string& userId, const ::std::string& token, ::std::string& reason, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckUserWebToken_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckUserWebToken(userId, token, reason, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetAtmLongid(const ::std::string& userId, ::std::string& longId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetAtmLongid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetAtmLongid(userId, longId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddUser60(const ::std::string& userId, const ::std::string& md5passwd, const ::std::string& tokenpw, ::Ice::Int languageid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddUser60_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddUser60(userId, md5passwd, tokenpw, languageid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetWebMemberPWInfo(const ::std::string& userId, ::AliIMDBBase::SMemberPWInfo& pwInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetWebMemberPWInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetWebMemberPWInfo(userId, pwInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetWebMemberPWInfoEx(const ::std::string& userId, ::AliIMDBBase::SMemberPWInfoEx& pwInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetWebMemberPWInfoEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetWebMemberPWInfoEx(userId, pwInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserWebBasicProfile(const ::std::string& userId, ::AliIMDBBase::SUserWebBasicProfile& profile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserWebBasicProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserWebBasicProfile(userId, profile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckCanAddContact(const ::std::string& userId, const ::std::string& buddyId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckCanAddContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckCanAddContact(userId, buddyId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::QueryMatchedUserIds(const ::std::string& finduid, const ::std::string& shortId, ::AliIMDBBase::SMatchedUserIdInfoSeq& matchedIds, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__QueryMatchedUserIds_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->QueryMatchedUserIds(finduid, shortId, matchedIds, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateContactWebInfo(const ::std::string& userId, const ::std::string& buddyId, const ::AliIMDBBase::SUserWebBasicProfile& cntWebInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateContactWebInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateContactWebInfo(userId, buddyId, cntWebInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::DelTaobaoUser(const ::std::string& webId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__DelTaobaoUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->DelTaobaoUser(webId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::DelAnyUser(const ::std::string& imuserId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__DelAnyUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->DelAnyUser(imuserId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddUserKeyWord(const ::std::string& userId, const ::std::string& keyword, ::Ice::Int flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddUserKeyWord_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddUserKeyWord(userId, keyword, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserKeyWord(const ::std::string& userId, const ::std::string& keyword, ::Ice::Int flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserKeyWord_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserKeyWord(userId, keyword, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserKeyWord(const ::std::string& userId, ::std::string& keyword, ::Ice::Int& flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserKeyWord_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserKeyWord(userId, keyword, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::QueryUserIdsByKeyWord(const ::std::string& keyword, ::AliIMDBBase::SMatchedUserIdInfoSeq& matchedIds, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__QueryUserIdsByKeyWord_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->QueryUserIdsByKeyWord(keyword, matchedIds, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetBatchMemberInfo(const ::Ice::StringSeq& userIds, ::AliIMDBBase::SICEMemberInfoSeq& memberInfoList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetBatchMemberInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetBatchMemberInfo(userIds, memberInfoList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetAllVersion(::AliIMDBBase::SICEVersionSeq& versionList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetAllVersion_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetAllVersion(versionList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetAllSysMsg(::AliIMDBBase::SICESysMessageSeq& sysMsgList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetAllSysMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetAllSysMsg(sysMsgList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetAllExSysMsg(::AliIMDBBase::SExICESysMessageSeq& sysMsgList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetAllExSysMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetAllExSysMsg(sysMsgList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserInfo(const ::std::string& userId, ::AliIMDBBase::SICEUserInfo& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserInfo(userId, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserInfo2(const ::std::string& userId, ::AliIMDBBase::SICEUserInfo2& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserInfo2_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserInfo2(userId, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserInfoEx(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoEx& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserInfoEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserInfoEx(userId, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserInfoNew(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoNew& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserInfoNew_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserInfoNew(userId, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserInfo2New(const ::std::string& userId, ::AliIMDBBase::SICEUserInfo2New& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserInfo2New_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserInfo2New(userId, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserInfoExNew(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserInfoExNew_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserInfoExNew(userId, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserInfoExNew2(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew2& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserInfoExNew2_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserInfoExNew2(userId, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserInfoExNew3(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew3& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserInfoExNew3_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserInfoExNew3(userId, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserInfoExNew4(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew4& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserInfoExNew4_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserInfoExNew4(userId, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserVerifyInfo(const ::std::string& userId, ::Ice::Byte& addcontactverify, ::Ice::Byte& sendmsgverify, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserVerifyInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserVerifyInfo(userId, addcontactverify, sendmsgverify, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserVerifyInfoEx(const ::std::string& userId, ::Ice::Byte& addcontactverify, ::Ice::Byte& sendmsgverify, ::Ice::Byte& enableSearchFlag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserVerifyInfoEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserVerifyInfoEx(userId, addcontactverify, sendmsgverify, enableSearchFlag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserVerifyInfoQuestion(const ::std::string& userId, ::Ice::Byte& addcontactverify, ::Ice::Byte& sendmsgverify, ::Ice::Byte& enableSearchFlag, ::std::string& question, ::std::string& answer, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserVerifyInfoQuestion_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserVerifyInfoQuestion(userId, addcontactverify, sendmsgverify, enableSearchFlag, question, answer, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetGroupList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetGroupList(userId, groupList, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetGroupListEx(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoExSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetGroupListEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetGroupListEx(userId, groupList, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetContactList(const ::std::string& userId, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetContactList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetContactList(userId, getFlag, contactList, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetBlackList(const ::std::string& userId, ::Ice::StringSeq& blackList, ::Ice::Int& blacklistTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetBlackList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetBlackList(userId, blackList, blacklistTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetReverseBlackList(const ::std::string& userId, ::Ice::StringSeq& reverseBlackList, ::Ice::Int& reverseBlacklistTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetReverseBlackList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetReverseBlackList(userId, reverseBlackList, reverseBlacklistTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetOfflineMsg(const ::std::string& userId, ::AliIMDBBase::SICEOffLineMessegeSeq& offlineMsgList, ::Ice::Int& offlinemsgTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetOfflineMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetOfflineMsg(userId, offlineMsgList, offlinemsgTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetOfflineMsgEx(const ::std::string& userId, ::AliIMDBBase::SICEOffLineMessegeExSeq& offlineMsgList, ::Ice::Int& offlinemsgTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetOfflineMsgEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetOfflineMsgEx(userId, offlineMsgList, offlinemsgTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetOfflineMsgCount(const ::std::string& uid, ::Ice::Int& chatMsgNum, ::Ice::Int& sysMsgNum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetOfflineMsgCount_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetOfflineMsgCount(uid, chatMsgNum, sysMsgNum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetEnetOfflineMsgNum(const ::std::string& toId, const ::std::string& fromId, const ::Ice::IntSeq& types, ::Ice::Int& msgNum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetEnetOfflineMsgNum_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetEnetOfflineMsgNum(toId, fromId, types, msgNum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetContactInfo(const ::std::string& userId, const ::std::string& contactId, ::AliIMDBBase::SICEContactInfo& contactInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetContactInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetContactInfo(userId, contactId, contactInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetOfflineMsgNum(const ::std::string& userId, ::Ice::Int& msgNum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetOfflineMsgNum_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetOfflineMsgNum(userId, msgNum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetToolProfiles(const ::std::string& userId, ::Ice::Int type, ::Ice::Int nowTimes, ::Ice::StringSeq& toolProfilesList, ::Ice::Int& toolTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetToolProfiles_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetToolProfiles(userId, type, nowTimes, toolProfilesList, toolTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetToolProfilesEx(const ::std::string& userId, ::Ice::Int nowTimes, ::AliIMDBBase::SICEToolProfileSeq& toolProfilesList, ::Ice::Int& toolTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetToolProfilesEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetToolProfilesEx(userId, nowTimes, toolProfilesList, toolTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetSysMsg(::Ice::Int sysId, ::AliIMDBBase::SICESysMessage& sysMsg, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetSysMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetSysMsg(sysId, sysMsg, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddUser(const ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddUser(userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddGroup(userId, groupName, groupId, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddGroupEx(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int parentId, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddGroupEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddGroupEx(userId, groupName, parentId, groupId, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddBlackList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddBlackList(userId, blackId, blackListTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddOfflineMsg(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddOfflineMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddOfflineMsg(fromId, toId, type, content, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddExpriteTimeOfflineMsg(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, const ::std::string& expireTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddExpriteTimeOfflineMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddExpriteTimeOfflineMsg(fromId, toId, type, content, expireTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddOfflineMsgNoSMS(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddOfflineMsgNoSMS_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddOfflineMsgNoSMS(fromId, toId, type, content, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddOfflineMsgEx(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, ::Ice::Long uniqueMsgTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddOfflineMsgEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddOfflineMsgEx(fromId, toId, type, content, uniqueMsgTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserLogin(const ::std::string& userId, ::Ice::Int sysMsgId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserLogin_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserLogin(userId, sysMsgId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserLoginEx(const ::std::string& userId, ::Ice::Int sysMsgId, const ::std::string& loginIp, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserLoginEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserLoginEx(userId, sysMsgId, loginIp, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserLoginDataInfo(const ::std::string& userId, ::Ice::Int sysMsgId, const ::std::string& loginIp, ::Ice::Int onlineTimes, ::Ice::Int lastLoginTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserLoginDataInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserLoginDataInfo(userId, sysMsgId, loginIp, onlineTimes, lastLoginTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserLoginDataInfoEx(const ::std::string& userId, ::Ice::Int sysMsgId, const ::std::string& loginIp, ::Ice::Int onlineTimes, ::Ice::Int lastLoginTime, ::Ice::Int isNeedToUpdate, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserLoginDataInfoEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserLoginDataInfoEx(userId, sysMsgId, loginIp, onlineTimes, lastLoginTime, isNeedToUpdate, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserSysMsgId(const ::std::string& userId, ::Ice::Int sysMsgId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserSysMsgId_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserSysMsgId(userId, sysMsgId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserDataInfo(const ::std::string& userId, ::Ice::Int strangerMsgCount, ::Ice::Int onlineTimes, ::Ice::Int addContactCount, ::Ice::Int activeDegree, ::Ice::Float rewardActDegree, ::Ice::Float onlineActDegree, ::Ice::Int addTribeCount, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserDataInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserDataInfo(userId, strangerMsgCount, onlineTimes, addContactCount, activeDegree, rewardActDegree, onlineActDegree, addTribeCount, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserDataInfo2(const ::std::string& userId, ::Ice::Int strangerMsgCount, ::Ice::Int onlineTimes, ::Ice::Int addContactCount, ::Ice::Int activeDegree, ::Ice::Float rewardActDegree, ::Ice::Float onlineActDegree, ::Ice::Int addTribeCount, ::Ice::Int reqAddContactCount, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserDataInfo2_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserDataInfo2(userId, strangerMsgCount, onlineTimes, addContactCount, activeDegree, rewardActDegree, onlineActDegree, addTribeCount, reqAddContactCount, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserDataInfo3(const ::std::string& userId, const ::AliIMDBBase::RIGHTTABLE& rightMap, ::Ice::Int onlineTimes, ::Ice::Int activeDegree, ::Ice::Float rewardActDegree, ::Ice::Float onlineActDegree, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserDataInfo3_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserDataInfo3(userId, rightMap, onlineTimes, activeDegree, rewardActDegree, onlineActDegree, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserVerifySet(const ::std::string& userId, ::Ice::Int addContactVerify, ::Ice::Int sendMsgVerify, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserVerifySet_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserVerifySet(userId, addContactVerify, sendMsgVerify, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserVerifySetEx(const ::std::string& userId, ::Ice::Int addContactVerify, ::Ice::Int sendMsgVerify, ::Ice::Int enbleSearchFlag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserVerifySetEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserVerifySetEx(userId, addContactVerify, sendMsgVerify, enbleSearchFlag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserVerifySetQuestion(const ::std::string& userId, ::Ice::Int addContactVerify, ::Ice::Int sendMsgVerify, ::Ice::Int enbleSearchFlag, const ::std::string& question, const ::std::string& answer, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserVerifySetQuestion_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserVerifySetQuestion(userId, addContactVerify, sendMsgVerify, enbleSearchFlag, question, answer, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateGroup(userId, groupName, groupId, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::MoveGroup(const ::std::string& userId, ::Ice::Long groupId, ::Ice::Long newparentgid, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__MoveGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->MoveGroup(userId, groupId, newparentgid, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateContactNickName(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateContactNickName_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateContactNickName(userId, contactId, nickName, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateContactGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateContactGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateContactGroup(userId, contactId, srcGroupId, dstGroupId, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateContactStatus(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int status, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateContactStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateContactStatus(userId, contactId, status, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateNotifyMessage(::Ice::Int msgId, ::Ice::Int status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateNotifyMessage_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateNotifyMessage(msgId, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateToolProfiles(const ::std::string& userId, ::Ice::Int type, const ::Ice::StringSeq& toolProfilsList, ::Ice::Int& toolTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateToolProfiles_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateToolProfiles(userId, type, toolProfilsList, toolTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateToolProfilesEx(const ::std::string& userId, const ::AliIMDBBase::SICEToolProfileSeq& toolProfilsList, ::Ice::Int& toolTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateToolProfilesEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateToolProfilesEx(userId, toolProfilsList, toolTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::RemoveGroup(const ::std::string& userId, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__RemoveGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->RemoveGroup(userId, groupId, groupTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::RemoveContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__RemoveContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->RemoveContact(userId, contactId, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::RemoveInverfiedContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__RemoveInverfiedContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->RemoveInverfiedContact(userId, contactId, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::RemoveBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__RemoveBlackList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->RemoveBlackList(userId, blackId, blackListTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::IsBlackedByOther(const ::std::string& userId, const ::std::string& otheruid, bool& bBlacked, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__IsBlackedByOther_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->IsBlackedByOther(userId, otheruid, bBlacked, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::RemoveBatchContacts(const ::std::string& userId, const ::Ice::StringSeq& cids, ::Ice::StringSeq& retVect, ::Ice::Int& modifyCntTimes, ::Ice::Int& modifyGenCntTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__RemoveBatchContacts_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->RemoveBatchContacts(userId, cids, retVect, modifyCntTimes, modifyGenCntTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserDStatus(const ::std::string& userId, ::AliIMDBBase::SICEUserDStatusSeq& userDStatusList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserDStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserDStatus(userId, userDStatusList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddUserDStatus(const ::std::string& userId, const ::std::string& userDStatus, ::Ice::Int& statusId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddUserDStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddUserDStatus(userId, userDStatus, statusId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::RemoveUserDStatus(const ::std::string& userId, ::Ice::Int statusId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__RemoveUserDStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->RemoveUserDStatus(userId, statusId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetAllContactList(const ::std::string& uid, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, ::Ice::Int& gencontacttimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetAllContactList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetAllContactList(uid, getFlag, contactList, contactTimes, gencontacttimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetCntModifyList(::Ice::Int getFlag, const ::std::string& uid, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntCidModPairSeq& cntList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetCntModifyList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetCntModifyList(getFlag, uid, sMaxSeqId, cntList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull& detail, ::std::string& retscid, ::std::string& retsmodseqid, ::Ice::Long& timeStamps, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddGenContactFull_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddGenContactFull(detail, retscid, retsmodseqid, timeStamps, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetContactDetail_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetContactDetail(uid, cid, detail, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::DelGenContact(const ::std::string& uid, const ::std::string& cid, ::Ice::Long& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__DelGenContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->DelGenContact(uid, cid, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::AliIMDBBase::SUserWebBasicProfile& cntInfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddContact(userId, contactId, nickName, groupId, status, cntInfo, contactTimes, retcid, retmodseqid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckUpgradeGenCnt(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckUpgradeGenCnt_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckUpgradeGenCnt(uid, cid, contactId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::ModifyGenCntID(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::std::string& modseqid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__ModifyGenCntID_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->ModifyGenCntID(uid, cid, contactId, modseqid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpgradeGenContact(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& modseqid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpgradeGenContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpgradeGenContact(uid, cid, contactId, cntstamp, gencntstamp, modseqid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUpdatedUserInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& retcid, ::std::string& modseqid, ::Ice::Long& groupid, ::std::string& nickname, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUpdatedUserInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUpdatedUserInfo(uid, contactId, cntstamp, gencntstamp, retcid, modseqid, groupid, nickname, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__ModifyContactDetail_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->ModifyContactDetail(detail, gencntmodifyVersion, modseqid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateContactGroupByCid(const ::std::string& userId, const ::std::string& cid, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateContactGroupByCid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateContactGroupByCid(userId, cid, srcGroupId, dstGroupId, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateContactNickNameByCid(const ::std::string& userId, const ::std::string& cid, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateContactNickNameByCid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateContactNickNameByCid(userId, cid, nickName, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetCRMContactDetail(const ::std::string& userId, const ::std::string& cntid, ::AliIMDBBase::SICECRMContactDetail& cntDetail, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetCRMContactDetail_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetCRMContactDetail(userId, cntid, cntDetail, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetHardCodeIds(const ::std::string& uuid, ::Ice::Int& count, ::std::string& allids, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetHardCodeIds_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetHardCodeIds(uuid, count, allids, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateHardCodeIds(const ::std::string& uuid, const ::std::string& id, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateHardCodeIds_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateHardCodeIds(uuid, id, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetCntOtherModifyList(const ::std::string& userId, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntOtherModInfoSeq& cntList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetCntOtherModifyList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetCntOtherModifyList(userId, sMaxSeqId, cntList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetCntOtherModifyInfo(const ::std::string& userId, ::AliIMDBBase::SICECntOtherModInfo& cntOtherModInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetCntOtherModifyInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetCntOtherModifyInfo(userId, cntOtherModInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserCRInfo(const ::std::string& uid, ::Ice::Int& crState, ::Ice::Int& begTime, ::Ice::Int& activeDegree, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserCRInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserCRInfo(uid, crState, begTime, activeDegree, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::SetUserCRInfo(const ::std::string& uid, ::Ice::Int crState, ::Ice::Int& begTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__SetUserCRInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->SetUserCRInfo(uid, crState, begTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetSmsUserInfoByUid(const ::std::string& userId, ::AliIMDBBase::SICESmsUserInfo& smsUserInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetSmsUserInfoByUid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetSmsUserInfoByUid(userId, smsUserInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetSmsUserMsgInfo(const ::std::string& userId, ::Ice::Int& todaySmsCount, ::Ice::Int& yesterdaySmsCount, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetSmsUserMsgInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetSmsUserMsgInfo(userId, todaySmsCount, yesterdaySmsCount, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::DelOfflineMsg(const ::std::string& uid, const ::std::string& date, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__DelOfflineMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->DelOfflineMsg(uid, date, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::DelOfflineMsgEx(const ::std::string& uid, ::Ice::Int date, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__DelOfflineMsgEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->DelOfflineMsgEx(uid, date, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::DelWapOfflineMsg(const ::std::string& uid, const ::std::string& date, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__DelWapOfflineMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->DelWapOfflineMsg(uid, date, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::ModifyCntMemo(const ::std::string& uid, const ::std::string& cntid, const ::std::string& memo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__ModifyCntMemo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->ModifyCntMemo(uid, cntid, memo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetCntMemo(const ::std::string& uid, const ::std::string& cntid, ::std::string& memo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetCntMemo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetCntMemo(uid, cntid, memo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserTribe(const ::std::string& userId, ::ALiIMDBTribe::STribeIdDbSeq& tribeIdList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserTribe(userId, tribeIdList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserTribeConfig(const ::std::string& userId, ::Ice::Int& addVerify, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserTribeConfig_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserTribeConfig(userId, addVerify, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserTribeConfig(const ::std::string& userId, ::Ice::Int addVerify, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserTribeConfig_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserTribeConfig(userId, addVerify, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetTribeOffMngMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetTribeOffMngMsg(tribeId, memberId, offlineMsgList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::DelTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__DelTribeOffMngMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->DelTribeOffMngMsg(tribeId, memberId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::ModifyPersonalShow(const ::std::string& uid, const ::std::string& newshow, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__ModifyPersonalShow_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->ModifyPersonalShow(uid, newshow, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetPersonalShow(const ::std::string& uid, ::std::string& show, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetPersonalShow_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetPersonalShow(uid, show, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetAllOnlineSmsUser(::Ice::StringSeq& userList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetAllOnlineSmsUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetAllOnlineSmsUser(userList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserKeyWordDegree(const ::std::string& userId, ::std::string& keyword, ::Ice::Int& flag, ::Ice::Float& degree, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserKeyWordDegree_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserKeyWordDegree(userId, keyword, flag, degree, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetUserValue(const ::std::string& userId, ::Ice::Int& uservalue, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetUserValue_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetUserValue(userId, uservalue, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserMd5Password(const ::std::string& userId, const ::std::string& password, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserMd5Password_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserMd5Password(userId, password, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::InsertYahooUser(const ::AliIMDBBase::SUdbUserInfo& userInfo, ::Ice::Int activeDegree, const ::AliIMDBBase::SICEGenContactFullSeq& contactList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__InsertYahooUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->InsertYahooUser(userInfo, activeDegree, contactList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetContactDetailByUid(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetContactDetailByUid_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetContactDetailByUid(uid, cid, detail, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetChildTeamList(const ::std::string& parentId, ::AliIMDBBase::SChildUserInfoSeq& childTeamList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetChildTeamList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetChildTeamList(parentId, childTeamList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetChildTeamList2(const ::std::string& parentId, ::AliIMDBBase::SChildUserInfoSeq2& childTeamList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetChildTeamList2_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetChildTeamList2(parentId, childTeamList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetChildUserInfo(const ::std::string& childId, ::AliIMDBBase::SChildUserInfo& childInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetChildUserInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetChildUserInfo(childId, childInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetChildUserInfo2(const ::std::string& childId, ::AliIMDBBase::SChildUserInfo2& childInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetChildUserInfo2_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetChildUserInfo2(childId, childInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetShareContactList(const ::std::string& uid, ::Ice::StringSeq& shareContactIdList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetShareContactList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetShareContactList(uid, shareContactIdList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetContactShareInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int& value, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetContactShareInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetContactShareInfo(uid, contactId, type, value, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::SetContactShareInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int value, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__SetContactShareInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->SetContactShareInfo(uid, contactId, type, value, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetMultiAccountContactList(const ::std::string& uid, ::AliIMDBBase::SICEContactInfoSeq& contactIdList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetMultiAccountContactList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetMultiAccountContactList(uid, contactIdList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetMultiServiceList(const ::std::string& uid, ::Ice::IntSeq& ServiceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetMultiServiceList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetMultiServiceList(uid, ServiceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetMultiBindToUser(const ::std::string& uid, ::std::string& bindToUser, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetMultiBindToUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetMultiBindToUser(uid, bindToUser, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetWebBinds(const ::std::string& uid, ::AliIMDBBase::SICEKvPairSeq& binds, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetWebBinds_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetWebBinds(uid, binds, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::AddWebBind(const ::std::string& uid, const ::AliIMDBBase::SICEKvPair& bind, ::std::string& webmd5pw, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__AddWebBind_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->AddWebBind(uid, bind, webmd5pw, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::ChangeWebBind(const ::std::string& uid, const ::AliIMDBBase::SICEKvPair& newbind, ::std::string& webmd5pw, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__ChangeWebBind_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->ChangeWebBind(uid, newbind, webmd5pw, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::DelWebBind(const ::std::string& uid, const ::std::string& binduid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__DelWebBind_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->DelWebBind(uid, binduid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getUserSession(const ::std::string& uid, ::AliIM::SIceSession& retsession, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getUserSession_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getUserSession(uid, retsession, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::checkUserSession(const ::std::string& uid, const ::std::string& sessionNo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__checkUserSession_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->checkUserSession(uid, sessionNo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::removeSession(const ::std::string& uid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__removeSession_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->removeSession(uid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateSignature(const ::std::string& uid, const ::std::string& signature, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateSignature_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateSignature(uid, signature, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::updateContactClientInfo(const ::std::string& uid, const ::std::string& cid, const ::std::string& data, ::Ice::Int& contactTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__updateContactClientInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->updateContactClientInfo(uid, cid, data, contactTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getUserProfile(const ::std::string& uid, ::AliIMDBBase::SICEKVMap& profilemap, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getUserProfile(uid, profilemap, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getPeerVerifyFlag(const ::std::string& uid, const ::std::string& cid, ::Ice::Int& flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getPeerVerifyFlag_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getPeerVerifyFlag(uid, cid, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getPeerVerifyFlagQuestion(const ::std::string& uid, const ::std::string& cid, ::Ice::Int& flag, ::std::string& question, ::std::string& answer, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getPeerVerifyFlagQuestion_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getPeerVerifyFlagQuestion(uid, cid, flag, question, answer, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getNickName(const ::std::string& uid, ::std::string& nickname, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getNickName_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getNickName(uid, nickname, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getFTServiceInfo(const ::std::string& senduid, const ::std::string& touid, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getFTServiceInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getFTServiceInfo(senduid, touid, srvIp, srvPort, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getTietuServiceInfo(const ::std::string& senduid, ::Ice::Int& sessionSum, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getTietuServiceInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getTietuServiceInfo(senduid, sessionSum, srvIp, srvPort, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getFTSAddr(::Ice::Short type, const ::std::string& senduid, ::Ice::Long& ftsid, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getFTSAddr_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getFTSAddr(type, senduid, ftsid, srvIp, srvPort, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::registerWanghao(const ::std::string& longuid, const ::AliIMInterface::KVMAP& attrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__registerWanghao_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->registerWanghao(longuid, attrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::updateUserProfile(const ::std::string& longuid, const ::AliIMInterface::KVMAP& newattrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__updateUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->updateUserProfile(longuid, newattrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::loadSitePrefix(::AliIMDBBase::SImPrefixSeq& pv, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__loadSitePrefix_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->loadSitePrefix(pv, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::updateAepUserId(const ::std::string& longuid, const ::std::string& aepuserid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__updateAepUserId_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->updateAepUserId(longuid, aepuserid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::updateVipflag(const ::std::string& uid, ::Ice::Int flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__updateVipflag_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->updateVipflag(uid, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::checkWangHaoPwd(const ::std::string& longuid, bool btokenpw, const ::std::string& pw, ::std::string& retluid, ::std::string& retPwToken, ::std::string& retmd5passwd, ::Ice::Int& activeState, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__checkWangHaoPwd_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->checkWangHaoPwd(longuid, btokenpw, pw, retluid, retPwToken, retmd5passwd, activeState, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::checkCanLogin(const ::std::string& uid, ::Ice::Int version, const ::std::string& extrainfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__checkCanLogin_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->checkCanLogin(uid, version, extrainfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::GetSIPSessionId(const ::std::string& uid, const ::std::string& appid, const ::std::string& type, ::std::string& sessionId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__GetSIPSessionId_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->GetSIPSessionId(uid, appid, type, sessionId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckGsContact(const ::std::string& uid, const ::std::string& contactid, ::Ice::Int& flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckGsContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckGsContact(uid, contactid, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateSmsAuthCode(const ::std::string& uid, const ::std::string& phoneNo, const ::std::string& code, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateSmsAuthCode_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateSmsAuthCode(uid, phoneNo, code, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckSmsAuthCode(const ::std::string& uid, const ::std::string& phoneNo, const ::std::string& code, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckSmsAuthCode_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckSmsAuthCode(uid, phoneNo, code, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::UpdateUserValueBySmsAuth(const ::std::string& uid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__UpdateUserValueBySmsAuth_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->UpdateUserValueBySmsAuth(uid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckSmsAuthStatus(const ::std::string& uid, ::Ice::Int& status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckSmsAuthStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckSmsAuthStatus(uid, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckUserTokenExtra(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, ::Ice::Int& webdata, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckUserTokenExtra_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckUserTokenExtra(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, webdata, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckUserWebPasswdExtra(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, ::Ice::Int& webdata, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckUserWebPasswdExtra_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckUserWebPasswdExtra(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, webdata, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESShuntStatus(const ::std::string& uid, ::std::string& shunt, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESShuntStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESShuntStatus(uid, shunt, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::setESShuntStatus(const ::std::string& uid, const ::std::string& shunt, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__setESShuntStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->setESShuntStatus(uid, shunt, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICEReceptNumSeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getMaxESReceptNum_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getMaxESReceptNum(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::setMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, const ::AliIMDBBase::SICEReceptNumSeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__setMaxESReceptNum_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->setMaxESReceptNum(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESPriority(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESPriority_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESPriority(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::setESPriority(const ::std::string& uid, ::Ice::Int groupId, const ::AliIMDBBase::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__setESPriority_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->setESPriority(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESRecvOffMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESRecvOffMsg(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::setESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, const ::AliIMDBBase::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__setESRecvOffMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->setESRecvOffMsg(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESGroupList(const ::std::string& uid, ::Ice::IntSeq& groupList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESGroupList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESGroupList(uid, groupList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::insertESGroupInfo(const ::std::string& uid, const ::AliIMDBBase::SICEESGroupInfo& groupInfo, ::Ice::Int& groupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__insertESGroupInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->insertESGroupInfo(uid, groupInfo, groupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::updateESGroupInfo(const ::std::string& uid, const ::AliIMDBBase::SICEESGroupInfo& group, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__updateESGroupInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->updateESGroupInfo(uid, group, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::delESGroup(const ::std::string& uid, ::Ice::Int groupid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__delESGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->delESGroup(uid, groupid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESGroupInfo(const ::std::string& uid, ::AliIMDBBase::SICEESGroupInfoSeq& groupList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESGroupInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESGroupInfo(uid, groupList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESGroupInfoByID(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICEESGroupInfo& groupInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESGroupInfoByID_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESGroupInfoByID(uid, groupId, groupInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESUserFunc(const ::std::string& uid, const ::std::string& childid, ::std::string& userflag, ::Ice::Int& groupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESUserFunc_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESUserFunc(uid, childid, userflag, groupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESUnJoinGroup(const ::std::string& uid, ::Ice::StringSeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESUnJoinGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESUnJoinGroup(uid, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::checkESRole(const ::std::string& uid, ::Ice::Int& groupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__checkESRole_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->checkESRole(uid, groupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::CheckWebWWPasswd(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__CheckWebWWPasswd_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->CheckWebWWPasswd(userId, passwd, lid, retuidtokenpw, retmd5passwd, activeStat, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESExpandArea(const ::std::string& uid, ::AliIMDBBase::SICEExpandAreaSeq& areaInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESExpandArea_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESExpandArea(uid, areaInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESExpandAreaById(const ::std::string& uid, ::Ice::Int id, ::AliIMDBBase::SICEExpandArea& areaInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESExpandAreaById_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESExpandAreaById(uid, id, areaInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::addESExpandArea(const ::std::string& uid, const ::AliIMDBBase::SICEExpandArea& areaInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__addESExpandArea_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->addESExpandArea(uid, areaInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::updateESExpandArea(const ::std::string& uid, const ::AliIMDBBase::SICEExpandArea& areaInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__updateESExpandArea_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->updateESExpandArea(uid, areaInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::delESExpandArea(const ::std::string& uid, ::Ice::Int id, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__delESExpandArea_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->delESExpandArea(uid, id, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::setESEval(const ::std::string& uid, const ::std::string& evalcontent, const ::std::string& welcome, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__setESEval_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->setESEval(uid, evalcontent, welcome, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESEval(const ::std::string& uid, ::std::string& evalcontent, ::std::string& welcome, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESEval_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESEval(uid, evalcontent, welcome, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::sendESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int& evalId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__sendESEvalResult_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->sendESEvalResult(uid, buyerid, evalId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::setESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, const ::std::string& evalresult, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__setESEvalResult_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->setESEvalResult(uid, buyerid, evalId, evalresult, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, ::std::string& evalresult, ::std::string& gmtcreate, ::std::string& gmtmodify, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESEvalResult_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESEvalResult(uid, buyerid, evalId, evalresult, gmtcreate, gmtmodify, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESEvalResultToday(const ::std::string& uid, ::AliIMDBBase::SICEESEvalResultSeq& evalInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESEvalResultToday_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESEvalResultToday(uid, evalInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESEvalResultHistory(const ::std::string& uid, const ::std::string& querytime, ::AliIMDBBase::SICEESEvalResultSeq& evalInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESEvalResultHistory_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESEvalResultHistory(uid, querytime, evalInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getESEvalResultHistorybypage(const ::std::string& uid, const ::std::string& childid, const ::std::string& begindate, const ::std::string& enddate, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& pagecount, ::AliIMDBBase::SICEESEvalResultExSeq& evalInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getESEvalResultHistorybypage_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getESEvalResultHistorybypage(uid, childid, begindate, enddate, pageno, pagesize, pagecount, evalInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getLastLoginTime(const ::Ice::StringSeq& loginids, ::Ice::StringSeq& loginTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getLastLoginTime_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getLastLoginTime(loginids, loginTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getChildShuntInfos(const ::std::string& uid, ::AliIMDBBase::SChildUserInfoSeq& childInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getChildShuntInfos_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getChildShuntInfos(uid, childInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::setChildShuntInfos(const ::std::string& uid, const ::AliIMDBBase::SChildUserInfoSeq& childinfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__setChildShuntInfos_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->setChildShuntInfos(uid, childinfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getAgentChild(const ::std::string& uid, ::std::string& agentId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getAgentChild_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getAgentChild(uid, agentId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::setAgentChild(const ::std::string& uid, const ::std::string& agentId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__setAgentChild_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->setAgentChild(uid, agentId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getAgentList(const ::std::string& uid, ::Ice::StringSeq& agentIds, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getAgentList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getAgentList(uid, agentIds, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getB2BChildTeamList(const ::std::string& parentId, ::AliIMDBBase::SB2BChildUserInfoSeq& childTeamList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getB2BChildTeamList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getB2BChildTeamList(parentId, childTeamList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getB2BChildInfo(const ::std::string& parentId, const ::std::string& childid, ::AliIMDBBase::SB2BChildUserInfo& childInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getB2BChildInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getB2BChildInfo(parentId, childid, childInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::getB2BChildParentId(const ::std::string& childId, ::std::string& fid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__getB2BChildParentId_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->getB2BChildParentId(childId, fid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::addB2BChild(const ::std::string& fid, const ::std::string& childId, const ::std::string& userflag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__addB2BChild_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->addB2BChild(fid, childId, userflag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::updateB2BChild(const ::std::string& fid, const ::std::string& childId, const ::std::string& userflag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__updateB2BChild_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->updateB2BChild(fid, childId, userflag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::IMDBProxyMgr::deleteB2BChild(const ::std::string& fid, const ::std::string& childId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__IMDBProxyMgr__deleteB2BChild_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::IMDBProxyMgr* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::IMDBProxyMgr*>(__delBase.get()); - return __del->deleteB2BChild(fid, childId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIMDBBase::IMDBProxyMgr::ice_staticId() -{ - return ::AliIMDBBase::IMDBProxyMgr::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIMDBBase::IMDBProxyMgr::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIMDBBase::IMDBProxyMgr); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIMDBBase::IMDBProxyMgr::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIMDBBase::IMDBProxyMgr); -} - -bool -IceProxy::AliIMDBBase::operator==(const ::IceProxy::AliIMDBBase::IMDBProxyMgr& l, const ::IceProxy::AliIMDBBase::IMDBProxyMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIMDBBase::operator!=(const ::IceProxy::AliIMDBBase::IMDBProxyMgr& l, const ::IceProxy::AliIMDBBase::IMDBProxyMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIMDBBase::operator<(const ::IceProxy::AliIMDBBase::IMDBProxyMgr& l, const ::IceProxy::AliIMDBBase::IMDBProxyMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIMDBBase::operator<=(const ::IceProxy::AliIMDBBase::IMDBProxyMgr& l, const ::IceProxy::AliIMDBBase::IMDBProxyMgr& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIMDBBase::operator>(const ::IceProxy::AliIMDBBase::IMDBProxyMgr& l, const ::IceProxy::AliIMDBBase::IMDBProxyMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIMDBBase::operator>=(const ::IceProxy::AliIMDBBase::IMDBProxyMgr& l, const ::IceProxy::AliIMDBBase::IMDBProxyMgr& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::sayhello(const ::std::string& userId, ::std::string& helloword, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__sayhello_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(helloword); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckUserToken(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckUserToken_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(lid); - __is->read(retuidtokenpw); - __is->read(retmd5passwd); - __is->read(activeStat); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckTmpSession(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckTmpSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(lid); - __is->read(retuidtokenpw); - __is->read(retmd5passwd); - __is->read(activeStat); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckUserWebPasswd(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckUserWebPasswd_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(lid); - __is->read(retuidtokenpw); - __is->read(retmd5passwd); - __is->read(activeStat); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckUserPasswd(const ::std::string& userId, bool btokenpw, const ::std::string& passwd, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckUserPasswd_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(btokenpw); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(retuidtokenpw); - __is->read(retmd5passwd); - __is->read(activeStat); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckUserWebToken(const ::std::string& userId, const ::std::string& token, ::std::string& reason, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckUserWebToken_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(token); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(reason); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetAtmLongid(const ::std::string& userId, ::std::string& longId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetAtmLongid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(longId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddUser60(const ::std::string& userId, const ::std::string& md5passwd, const ::std::string& tokenpw, ::Ice::Int languageid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddUser60_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(md5passwd); - __os->write(tokenpw); - __os->write(languageid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetWebMemberPWInfo(const ::std::string& userId, ::AliIMDBBase::SMemberPWInfo& pwInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetWebMemberPWInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - pwInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetWebMemberPWInfoEx(const ::std::string& userId, ::AliIMDBBase::SMemberPWInfoEx& pwInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetWebMemberPWInfoEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - pwInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserWebBasicProfile(const ::std::string& userId, ::AliIMDBBase::SUserWebBasicProfile& profile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserWebBasicProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - profile.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckCanAddContact(const ::std::string& userId, const ::std::string& buddyId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckCanAddContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(buddyId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::QueryMatchedUserIds(const ::std::string& finduid, const ::std::string& shortId, ::AliIMDBBase::SMatchedUserIdInfoSeq& matchedIds, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__QueryMatchedUserIds_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(finduid); - __os->write(shortId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, matchedIds, ::AliIMDBBase::__U__SMatchedUserIdInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateContactWebInfo(const ::std::string& userId, const ::std::string& buddyId, const ::AliIMDBBase::SUserWebBasicProfile& cntWebInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateContactWebInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(buddyId); - cntWebInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::DelTaobaoUser(const ::std::string& webId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__DelTaobaoUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(webId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::DelAnyUser(const ::std::string& imuserId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__DelAnyUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(imuserId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddUserKeyWord(const ::std::string& userId, const ::std::string& keyword, ::Ice::Int flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddUserKeyWord_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(keyword); - __os->write(flag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserKeyWord(const ::std::string& userId, const ::std::string& keyword, ::Ice::Int flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserKeyWord_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(keyword); - __os->write(flag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserKeyWord(const ::std::string& userId, ::std::string& keyword, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserKeyWord_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(keyword); - __is->read(flag); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::QueryUserIdsByKeyWord(const ::std::string& keyword, ::AliIMDBBase::SMatchedUserIdInfoSeq& matchedIds, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__QueryUserIdsByKeyWord_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(keyword); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, matchedIds, ::AliIMDBBase::__U__SMatchedUserIdInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetBatchMemberInfo(const ::Ice::StringSeq& userIds, ::AliIMDBBase::SICEMemberInfoSeq& memberInfoList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetBatchMemberInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userIds.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userIds[0], &userIds[0] + userIds.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, memberInfoList, ::AliIMDBBase::__U__SICEMemberInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetAllVersion(::AliIMDBBase::SICEVersionSeq& versionList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetAllVersion_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, versionList, ::AliIMDBBase::__U__SICEVersionSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetAllSysMsg(::AliIMDBBase::SICESysMessageSeq& sysMsgList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetAllSysMsg_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, sysMsgList, ::AliIMDBBase::__U__SICESysMessageSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetAllExSysMsg(::AliIMDBBase::SExICESysMessageSeq& sysMsgList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetAllExSysMsg_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, sysMsgList, ::AliIMDBBase::__U__SExICESysMessageSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserInfo(const ::std::string& userId, ::AliIMDBBase::SICEUserInfo& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserInfo2(const ::std::string& userId, ::AliIMDBBase::SICEUserInfo2& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserInfo2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserInfoEx(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoEx& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserInfoEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserInfoNew(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoNew& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserInfoNew_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserInfo2New(const ::std::string& userId, ::AliIMDBBase::SICEUserInfo2New& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserInfo2New_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserInfoExNew(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserInfoExNew_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserInfoExNew2(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew2& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserInfoExNew2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserInfoExNew3(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew3& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserInfoExNew3_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserInfoExNew4(const ::std::string& userId, ::AliIMDBBase::SICEUserInfoExNew4& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserInfoExNew4_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserVerifyInfo(const ::std::string& userId, ::Ice::Byte& addcontactverify, ::Ice::Byte& sendmsgverify, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserVerifyInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(addcontactverify); - __is->read(sendmsgverify); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserVerifyInfoEx(const ::std::string& userId, ::Ice::Byte& addcontactverify, ::Ice::Byte& sendmsgverify, ::Ice::Byte& enableSearchFlag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserVerifyInfoEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(addcontactverify); - __is->read(sendmsgverify); - __is->read(enableSearchFlag); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserVerifyInfoQuestion(const ::std::string& userId, ::Ice::Byte& addcontactverify, ::Ice::Byte& sendmsgverify, ::Ice::Byte& enableSearchFlag, ::std::string& question, ::std::string& answer, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserVerifyInfoQuestion_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(addcontactverify); - __is->read(sendmsgverify); - __is->read(enableSearchFlag); - __is->read(question); - __is->read(answer); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetGroupList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, groupList, ::AliIMDBBase::__U__SICEGroupInfoSeq()); - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetGroupListEx(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoExSeq& groupList, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetGroupListEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, groupList, ::AliIMDBBase::__U__SICEGroupInfoExSeq()); - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetContactList(const ::std::string& userId, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetContactList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(getFlag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, contactList, ::AliIMDBBase::__U__SICEContactInfoSeq()); - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetBlackList(const ::std::string& userId, ::Ice::StringSeq& blackList, ::Ice::Int& blacklistTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetBlackList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(blackList); - __is->read(blacklistTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetReverseBlackList(const ::std::string& userId, ::Ice::StringSeq& reverseBlackList, ::Ice::Int& reverseBlacklistTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetReverseBlackList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(reverseBlackList); - __is->read(reverseBlacklistTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetOfflineMsg(const ::std::string& userId, ::AliIMDBBase::SICEOffLineMessegeSeq& offlineMsgList, ::Ice::Int& offlinemsgTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetOfflineMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, offlineMsgList, ::AliIMDBBase::__U__SICEOffLineMessegeSeq()); - __is->read(offlinemsgTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetOfflineMsgEx(const ::std::string& userId, ::AliIMDBBase::SICEOffLineMessegeExSeq& offlineMsgList, ::Ice::Int& offlinemsgTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetOfflineMsgEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, offlineMsgList, ::AliIMDBBase::__U__SICEOffLineMessegeExSeq()); - __is->read(offlinemsgTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetOfflineMsgCount(const ::std::string& uid, ::Ice::Int& chatMsgNum, ::Ice::Int& sysMsgNum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetOfflineMsgCount_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(chatMsgNum); - __is->read(sysMsgNum); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetEnetOfflineMsgNum(const ::std::string& toId, const ::std::string& fromId, const ::Ice::IntSeq& types, ::Ice::Int& msgNum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetEnetOfflineMsgNum_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(toId); - __os->write(fromId); - if(types.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&types[0], &types[0] + types.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(msgNum); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetContactInfo(const ::std::string& userId, const ::std::string& contactId, ::AliIMDBBase::SICEContactInfo& contactInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetContactInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - contactInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetOfflineMsgNum(const ::std::string& userId, ::Ice::Int& msgNum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetOfflineMsgNum_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(msgNum); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetToolProfiles(const ::std::string& userId, ::Ice::Int type, ::Ice::Int nowTimes, ::Ice::StringSeq& toolProfilesList, ::Ice::Int& toolTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetToolProfiles_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(type); - __os->write(nowTimes); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(toolProfilesList); - __is->read(toolTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetToolProfilesEx(const ::std::string& userId, ::Ice::Int nowTimes, ::AliIMDBBase::SICEToolProfileSeq& toolProfilesList, ::Ice::Int& toolTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetToolProfilesEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(nowTimes); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, toolProfilesList, ::AliIMDBBase::__U__SICEToolProfileSeq()); - __is->read(toolTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetSysMsg(::Ice::Int sysId, ::AliIMDBBase::SICESysMessage& sysMsg, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetSysMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(sysId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - sysMsg.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddUser(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupName); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupId); - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddGroupEx(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int parentId, ::Ice::Int& groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddGroupEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupName); - __os->write(parentId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupId); - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddBlackList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(blackId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(blackListTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddOfflineMsg(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddOfflineMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fromId); - __os->write(toId); - __os->write(type); - __os->write(content); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddExpriteTimeOfflineMsg(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, const ::std::string& expireTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddExpriteTimeOfflineMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fromId); - __os->write(toId); - __os->write(type); - __os->write(content); - __os->write(expireTime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddOfflineMsgNoSMS(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddOfflineMsgNoSMS_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fromId); - __os->write(toId); - __os->write(type); - __os->write(content); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddOfflineMsgEx(const ::std::string& fromId, const ::std::string& toId, ::Ice::Int type, const ::std::string& content, ::Ice::Long uniqueMsgTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddOfflineMsgEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fromId); - __os->write(toId); - __os->write(type); - __os->write(content); - __os->write(uniqueMsgTime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserLogin(const ::std::string& userId, ::Ice::Int sysMsgId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserLogin_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(sysMsgId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserLoginEx(const ::std::string& userId, ::Ice::Int sysMsgId, const ::std::string& loginIp, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserLoginEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(sysMsgId); - __os->write(loginIp); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserLoginDataInfo(const ::std::string& userId, ::Ice::Int sysMsgId, const ::std::string& loginIp, ::Ice::Int onlineTimes, ::Ice::Int lastLoginTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserLoginDataInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(sysMsgId); - __os->write(loginIp); - __os->write(onlineTimes); - __os->write(lastLoginTime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserLoginDataInfoEx(const ::std::string& userId, ::Ice::Int sysMsgId, const ::std::string& loginIp, ::Ice::Int onlineTimes, ::Ice::Int lastLoginTime, ::Ice::Int isNeedToUpdate, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserLoginDataInfoEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(sysMsgId); - __os->write(loginIp); - __os->write(onlineTimes); - __os->write(lastLoginTime); - __os->write(isNeedToUpdate); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserSysMsgId(const ::std::string& userId, ::Ice::Int sysMsgId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserSysMsgId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(sysMsgId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserDataInfo(const ::std::string& userId, ::Ice::Int strangerMsgCount, ::Ice::Int onlineTimes, ::Ice::Int addContactCount, ::Ice::Int activeDegree, ::Ice::Float rewardActDegree, ::Ice::Float onlineActDegree, ::Ice::Int addTribeCount, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserDataInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(strangerMsgCount); - __os->write(onlineTimes); - __os->write(addContactCount); - __os->write(activeDegree); - __os->write(rewardActDegree); - __os->write(onlineActDegree); - __os->write(addTribeCount); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserDataInfo2(const ::std::string& userId, ::Ice::Int strangerMsgCount, ::Ice::Int onlineTimes, ::Ice::Int addContactCount, ::Ice::Int activeDegree, ::Ice::Float rewardActDegree, ::Ice::Float onlineActDegree, ::Ice::Int addTribeCount, ::Ice::Int reqAddContactCount, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserDataInfo2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(strangerMsgCount); - __os->write(onlineTimes); - __os->write(addContactCount); - __os->write(activeDegree); - __os->write(rewardActDegree); - __os->write(onlineActDegree); - __os->write(addTribeCount); - __os->write(reqAddContactCount); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserDataInfo3(const ::std::string& userId, const ::AliIMDBBase::RIGHTTABLE& rightMap, ::Ice::Int onlineTimes, ::Ice::Int activeDegree, ::Ice::Float rewardActDegree, ::Ice::Float onlineActDegree, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserDataInfo3_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - ::AliIMDBBase::__write(__os, rightMap, ::AliIMDBBase::__U__RIGHTTABLE()); - __os->write(onlineTimes); - __os->write(activeDegree); - __os->write(rewardActDegree); - __os->write(onlineActDegree); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserVerifySet(const ::std::string& userId, ::Ice::Int addContactVerify, ::Ice::Int sendMsgVerify, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserVerifySet_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(addContactVerify); - __os->write(sendMsgVerify); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserVerifySetEx(const ::std::string& userId, ::Ice::Int addContactVerify, ::Ice::Int sendMsgVerify, ::Ice::Int enbleSearchFlag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserVerifySetEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(addContactVerify); - __os->write(sendMsgVerify); - __os->write(enbleSearchFlag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserVerifySetQuestion(const ::std::string& userId, ::Ice::Int addContactVerify, ::Ice::Int sendMsgVerify, ::Ice::Int enbleSearchFlag, const ::std::string& question, const ::std::string& answer, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserVerifySetQuestion_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(addContactVerify); - __os->write(sendMsgVerify); - __os->write(enbleSearchFlag); - __os->write(question); - __os->write(answer); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupName); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::MoveGroup(const ::std::string& userId, ::Ice::Long groupId, ::Ice::Long newparentgid, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__MoveGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupId); - __os->write(newparentgid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateContactNickName(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateContactNickName_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - __os->write(nickName); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateContactGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateContactGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - __os->write(srcGroupId); - __os->write(dstGroupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateContactStatus(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int status, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateContactStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - __os->write(status); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateNotifyMessage(::Ice::Int msgId, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateNotifyMessage_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(msgId); - __os->write(status); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateToolProfiles(const ::std::string& userId, ::Ice::Int type, const ::Ice::StringSeq& toolProfilsList, ::Ice::Int& toolTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateToolProfiles_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(type); - if(toolProfilsList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&toolProfilsList[0], &toolProfilsList[0] + toolProfilsList.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(toolTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateToolProfilesEx(const ::std::string& userId, const ::AliIMDBBase::SICEToolProfileSeq& toolProfilsList, ::Ice::Int& toolTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateToolProfilesEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - if(toolProfilsList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &toolProfilsList[0], &toolProfilsList[0] + toolProfilsList.size(), ::AliIMDBBase::__U__SICEToolProfileSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(toolTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::RemoveGroup(const ::std::string& userId, ::Ice::Int groupId, ::Ice::Int& groupTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__RemoveGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::RemoveContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__RemoveContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::RemoveInverfiedContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__RemoveInverfiedContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::RemoveBlackList(const ::std::string& userId, const ::std::string& blackId, ::Ice::Int& blackListTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__RemoveBlackList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(blackId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(blackListTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::IsBlackedByOther(const ::std::string& userId, const ::std::string& otheruid, bool& bBlacked, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__IsBlackedByOther_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(otheruid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(bBlacked); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::RemoveBatchContacts(const ::std::string& userId, const ::Ice::StringSeq& cids, ::Ice::StringSeq& retVect, ::Ice::Int& modifyCntTimes, ::Ice::Int& modifyGenCntTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__RemoveBatchContacts_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - if(cids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&cids[0], &cids[0] + cids.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(retVect); - __is->read(modifyCntTimes); - __is->read(modifyGenCntTime); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserDStatus(const ::std::string& userId, ::AliIMDBBase::SICEUserDStatusSeq& userDStatusList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserDStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, userDStatusList, ::AliIMDBBase::__U__SICEUserDStatusSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddUserDStatus(const ::std::string& userId, const ::std::string& userDStatus, ::Ice::Int& statusId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddUserDStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(userDStatus); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(statusId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::RemoveUserDStatus(const ::std::string& userId, ::Ice::Int statusId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__RemoveUserDStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(statusId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetAllContactList(const ::std::string& uid, ::Ice::Int getFlag, ::AliIMDBBase::SICEContactInfoSeq& contactList, ::Ice::Int& contactTimes, ::Ice::Int& gencontacttimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetAllContactList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(getFlag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, contactList, ::AliIMDBBase::__U__SICEContactInfoSeq()); - __is->read(contactTimes); - __is->read(gencontacttimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetCntModifyList(::Ice::Int getFlag, const ::std::string& uid, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntCidModPairSeq& cntList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetCntModifyList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(getFlag); - __os->write(uid); - __os->write(sMaxSeqId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, cntList, ::AliIMDBBase::__U__SICECntCidModPairSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull& detail, ::std::string& retscid, ::std::string& retsmodseqid, ::Ice::Long& timeStamps, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddGenContactFull_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - detail.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(retscid); - __is->read(retsmodseqid); - __is->read(timeStamps); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetContactDetail(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetContactDetail_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - detail.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::DelGenContact(const ::std::string& uid, const ::std::string& cid, ::Ice::Long& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__DelGenContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddContact(const ::std::string& userId, const ::std::string& contactId, const ::std::string& nickName, ::Ice::Int groupId, ::Ice::Int status, const ::AliIMDBBase::SUserWebBasicProfile& cntInfo, ::Ice::Int& contactTimes, ::std::string& retcid, ::std::string& retmodseqid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - __os->write(nickName); - __os->write(groupId); - __os->write(status); - cntInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(retcid); - __is->read(retmodseqid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckUpgradeGenCnt(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckUpgradeGenCnt_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::ModifyGenCntID(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::std::string& modseqid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__ModifyGenCntID_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(modseqid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpgradeGenContact(const ::std::string& uid, const ::std::string& cid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& modseqid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpgradeGenContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(cntstamp); - __is->read(gencntstamp); - __is->read(modseqid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUpdatedUserInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Long& cntstamp, ::Ice::Long& gencntstamp, ::std::string& retcid, ::std::string& modseqid, ::Ice::Long& groupid, ::std::string& nickname, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUpdatedUserInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(cntstamp); - __is->read(gencntstamp); - __is->read(retcid); - __is->read(modseqid); - __is->read(groupid); - __is->read(nickname); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull& detail, ::Ice::Long& gencntmodifyVersion, ::std::string& modseqid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__ModifyContactDetail_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - detail.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(gencntmodifyVersion); - __is->read(modseqid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateContactGroupByCid(const ::std::string& userId, const ::std::string& cid, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateContactGroupByCid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(cid); - __os->write(srcGroupId); - __os->write(dstGroupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateContactNickNameByCid(const ::std::string& userId, const ::std::string& cid, const ::std::string& nickName, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateContactNickNameByCid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(cid); - __os->write(nickName); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetCRMContactDetail(const ::std::string& userId, const ::std::string& cntid, ::AliIMDBBase::SICECRMContactDetail& cntDetail, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetCRMContactDetail_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(cntid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - cntDetail.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetHardCodeIds(const ::std::string& uuid, ::Ice::Int& count, ::std::string& allids, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetHardCodeIds_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(count); - __is->read(allids); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateHardCodeIds(const ::std::string& uuid, const ::std::string& id, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateHardCodeIds_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uuid); - __os->write(id); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetCntOtherModifyList(const ::std::string& userId, const ::std::string& sMaxSeqId, ::AliIMDBBase::SICECntOtherModInfoSeq& cntList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetCntOtherModifyList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(sMaxSeqId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, cntList, ::AliIMDBBase::__U__SICECntOtherModInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetCntOtherModifyInfo(const ::std::string& userId, ::AliIMDBBase::SICECntOtherModInfo& cntOtherModInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetCntOtherModifyInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - cntOtherModInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserCRInfo(const ::std::string& uid, ::Ice::Int& crState, ::Ice::Int& begTime, ::Ice::Int& activeDegree, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserCRInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(crState); - __is->read(begTime); - __is->read(activeDegree); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::SetUserCRInfo(const ::std::string& uid, ::Ice::Int crState, ::Ice::Int& begTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__SetUserCRInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(crState); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(begTime); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetSmsUserInfoByUid(const ::std::string& userId, ::AliIMDBBase::SICESmsUserInfo& smsUserInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetSmsUserInfoByUid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - smsUserInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetSmsUserMsgInfo(const ::std::string& userId, ::Ice::Int& todaySmsCount, ::Ice::Int& yesterdaySmsCount, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetSmsUserMsgInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(todaySmsCount); - __is->read(yesterdaySmsCount); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::DelOfflineMsg(const ::std::string& uid, const ::std::string& date, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__DelOfflineMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(date); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::DelOfflineMsgEx(const ::std::string& uid, ::Ice::Int date, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__DelOfflineMsgEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(date); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::DelWapOfflineMsg(const ::std::string& uid, const ::std::string& date, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__DelWapOfflineMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(date); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::ModifyCntMemo(const ::std::string& uid, const ::std::string& cntid, const ::std::string& memo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__ModifyCntMemo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cntid); - __os->write(memo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetCntMemo(const ::std::string& uid, const ::std::string& cntid, ::std::string& memo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetCntMemo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cntid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(memo); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserTribe(const ::std::string& userId, ::ALiIMDBTribe::STribeIdDbSeq& tribeIdList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, tribeIdList, ::ALiIMDBTribe::__U__STribeIdDbSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserTribeConfig(const ::std::string& userId, ::Ice::Int& addVerify, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserTribeConfig_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(addVerify); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserTribeConfig(const ::std::string& userId, ::Ice::Int addVerify, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserTribeConfig_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(addVerify); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetTribeOffMngMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, offlineMsgList, ::ALiIMDBTribe::__U__STribeOfflineMsgSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::DelTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__DelTribeOffMngMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::ModifyPersonalShow(const ::std::string& uid, const ::std::string& newshow, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__ModifyPersonalShow_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(newshow); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetPersonalShow(const ::std::string& uid, ::std::string& show, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetPersonalShow_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(show); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetAllOnlineSmsUser(::Ice::StringSeq& userList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetAllOnlineSmsUser_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserKeyWordDegree(const ::std::string& userId, ::std::string& keyword, ::Ice::Int& flag, ::Ice::Float& degree, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserKeyWordDegree_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(keyword); - __is->read(flag); - __is->read(degree); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetUserValue(const ::std::string& userId, ::Ice::Int& uservalue, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetUserValue_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(uservalue); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserMd5Password(const ::std::string& userId, const ::std::string& password, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserMd5Password_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(password); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::InsertYahooUser(const ::AliIMDBBase::SUdbUserInfo& userInfo, ::Ice::Int activeDegree, const ::AliIMDBBase::SICEGenContactFullSeq& contactList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__InsertYahooUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - userInfo.__write(__os); - __os->write(activeDegree); - if(contactList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &contactList[0], &contactList[0] + contactList.size(), ::AliIMDBBase::__U__SICEGenContactFullSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetContactDetailByUid(const ::std::string& uid, const ::std::string& cid, ::AliIMDBBase::SICEGenContactFull& detail, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetContactDetailByUid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - detail.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetChildTeamList(const ::std::string& parentId, ::AliIMDBBase::SChildUserInfoSeq& childTeamList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetChildTeamList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(parentId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, childTeamList, ::AliIMDBBase::__U__SChildUserInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetChildTeamList2(const ::std::string& parentId, ::AliIMDBBase::SChildUserInfoSeq2& childTeamList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetChildTeamList2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(parentId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, childTeamList, ::AliIMDBBase::__U__SChildUserInfoSeq2()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetChildUserInfo(const ::std::string& childId, ::AliIMDBBase::SChildUserInfo& childInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetChildUserInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(childId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - childInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetChildUserInfo2(const ::std::string& childId, ::AliIMDBBase::SChildUserInfo2& childInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetChildUserInfo2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(childId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - childInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetShareContactList(const ::std::string& uid, ::Ice::StringSeq& shareContactIdList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetShareContactList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(shareContactIdList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetContactShareInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int& value, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetContactShareInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(contactId); - __os->write(type); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(value); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::SetContactShareInfo(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int value, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__SetContactShareInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(contactId); - __os->write(type); - __os->write(value); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetMultiAccountContactList(const ::std::string& uid, ::AliIMDBBase::SICEContactInfoSeq& contactIdList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetMultiAccountContactList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, contactIdList, ::AliIMDBBase::__U__SICEContactInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetMultiServiceList(const ::std::string& uid, ::Ice::IntSeq& ServiceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetMultiServiceList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(ServiceList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetMultiBindToUser(const ::std::string& uid, ::std::string& bindToUser, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetMultiBindToUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(bindToUser); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetWebBinds(const ::std::string& uid, ::AliIMDBBase::SICEKvPairSeq& binds, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetWebBinds_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, binds, ::AliIMDBBase::__U__SICEKvPairSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::AddWebBind(const ::std::string& uid, const ::AliIMDBBase::SICEKvPair& bind, ::std::string& webmd5pw, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__AddWebBind_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - bind.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(webmd5pw); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::ChangeWebBind(const ::std::string& uid, const ::AliIMDBBase::SICEKvPair& newbind, ::std::string& webmd5pw, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__ChangeWebBind_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - newbind.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(webmd5pw); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::DelWebBind(const ::std::string& uid, const ::std::string& binduid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__DelWebBind_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(binduid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getUserSession(const ::std::string& uid, ::AliIM::SIceSession& retsession, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getUserSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - retsession.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::checkUserSession(const ::std::string& uid, const ::std::string& sessionNo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__checkUserSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(sessionNo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::removeSession(const ::std::string& uid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__removeSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateSignature(const ::std::string& uid, const ::std::string& signature, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateSignature_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(signature); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::updateContactClientInfo(const ::std::string& uid, const ::std::string& cid, const ::std::string& data, ::Ice::Int& contactTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__updateContactClientInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - __os->write(data); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(contactTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getUserProfile(const ::std::string& uid, ::AliIMDBBase::SICEKVMap& profilemap, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, profilemap, ::AliIMDBBase::__U__SICEKVMap()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getPeerVerifyFlag(const ::std::string& uid, const ::std::string& cid, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getPeerVerifyFlag_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(flag); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getPeerVerifyFlagQuestion(const ::std::string& uid, const ::std::string& cid, ::Ice::Int& flag, ::std::string& question, ::std::string& answer, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getPeerVerifyFlagQuestion_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(flag); - __is->read(question); - __is->read(answer); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getNickName(const ::std::string& uid, ::std::string& nickname, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getNickName_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(nickname); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getFTServiceInfo(const ::std::string& senduid, const ::std::string& touid, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getFTServiceInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(senduid); - __os->write(touid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(srvIp); - __is->read(srvPort); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getTietuServiceInfo(const ::std::string& senduid, ::Ice::Int& sessionSum, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getTietuServiceInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(senduid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(sessionSum); - __is->read(srvIp); - __is->read(srvPort); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getFTSAddr(::Ice::Short type, const ::std::string& senduid, ::Ice::Long& ftsid, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getFTSAddr_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(type); - __os->write(senduid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(ftsid); - __is->read(srvIp); - __is->read(srvPort); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::registerWanghao(const ::std::string& longuid, const ::AliIMInterface::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__registerWanghao_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - ::AliIMInterface::__write(__os, attrs, ::AliIMInterface::__U__KVMAP()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::updateUserProfile(const ::std::string& longuid, const ::AliIMInterface::KVMAP& newattrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__updateUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - ::AliIMInterface::__write(__os, newattrs, ::AliIMInterface::__U__KVMAP()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::loadSitePrefix(::AliIMDBBase::SImPrefixSeq& pv, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__loadSitePrefix_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, pv, ::AliIMDBBase::__U__SImPrefixSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::updateAepUserId(const ::std::string& longuid, const ::std::string& aepuserid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__updateAepUserId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - __os->write(aepuserid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::updateVipflag(const ::std::string& uid, ::Ice::Int flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__updateVipflag_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(flag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::checkWangHaoPwd(const ::std::string& longuid, bool btokenpw, const ::std::string& pw, ::std::string& retluid, ::std::string& retPwToken, ::std::string& retmd5passwd, ::Ice::Int& activeState, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__checkWangHaoPwd_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - __os->write(btokenpw); - __os->write(pw); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(retluid); - __is->read(retPwToken); - __is->read(retmd5passwd); - __is->read(activeState); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::checkCanLogin(const ::std::string& uid, ::Ice::Int version, const ::std::string& extrainfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__checkCanLogin_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(version); - __os->write(extrainfo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::GetSIPSessionId(const ::std::string& uid, const ::std::string& appid, const ::std::string& type, ::std::string& sessionId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__GetSIPSessionId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(appid); - __os->write(type); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(sessionId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckGsContact(const ::std::string& uid, const ::std::string& contactid, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckGsContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(contactid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(flag); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateSmsAuthCode(const ::std::string& uid, const ::std::string& phoneNo, const ::std::string& code, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateSmsAuthCode_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(phoneNo); - __os->write(code); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckSmsAuthCode(const ::std::string& uid, const ::std::string& phoneNo, const ::std::string& code, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckSmsAuthCode_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(phoneNo); - __os->write(code); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::UpdateUserValueBySmsAuth(const ::std::string& uid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__UpdateUserValueBySmsAuth_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckSmsAuthStatus(const ::std::string& uid, ::Ice::Int& status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckSmsAuthStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(status); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckUserTokenExtra(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, ::Ice::Int& webdata, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckUserTokenExtra_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(lid); - __is->read(retuidtokenpw); - __is->read(retmd5passwd); - __is->read(activeStat); - __is->read(webdata); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckUserWebPasswdExtra(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, ::Ice::Int& webdata, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckUserWebPasswdExtra_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(lid); - __is->read(retuidtokenpw); - __is->read(retmd5passwd); - __is->read(activeStat); - __is->read(webdata); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESShuntStatus(const ::std::string& uid, ::std::string& shunt, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESShuntStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(shunt); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::setESShuntStatus(const ::std::string& uid, const ::std::string& shunt, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__setESShuntStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(shunt); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICEReceptNumSeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getMaxESReceptNum_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, eserviceList, ::AliIMDBBase::__U__SICEReceptNumSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::setMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, const ::AliIMDBBase::SICEReceptNumSeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__setMaxESReceptNum_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::AliIMDBBase::__U__SICEReceptNumSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESPriority(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESPriority_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, eserviceList, ::AliIMDBBase::__U__SICEReceptPrioritySeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::setESPriority(const ::std::string& uid, ::Ice::Int groupId, const ::AliIMDBBase::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__setESPriority_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::AliIMDBBase::__U__SICEReceptPrioritySeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESRecvOffMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, eserviceList, ::AliIMDBBase::__U__SICERecvOffMsgSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::setESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, const ::AliIMDBBase::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__setESRecvOffMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::AliIMDBBase::__U__SICERecvOffMsgSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESGroupList(const ::std::string& uid, ::Ice::IntSeq& groupList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESGroupList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::insertESGroupInfo(const ::std::string& uid, const ::AliIMDBBase::SICEESGroupInfo& groupInfo, ::Ice::Int& groupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__insertESGroupInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - groupInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::updateESGroupInfo(const ::std::string& uid, const ::AliIMDBBase::SICEESGroupInfo& group, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__updateESGroupInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - group.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::delESGroup(const ::std::string& uid, ::Ice::Int groupid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__delESGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESGroupInfo(const ::std::string& uid, ::AliIMDBBase::SICEESGroupInfoSeq& groupList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESGroupInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, groupList, ::AliIMDBBase::__U__SICEESGroupInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESGroupInfoByID(const ::std::string& uid, ::Ice::Int groupId, ::AliIMDBBase::SICEESGroupInfo& groupInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESGroupInfoByID_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - groupInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESUserFunc(const ::std::string& uid, const ::std::string& childid, ::std::string& userflag, ::Ice::Int& groupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESUserFunc_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(childid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userflag); - __is->read(groupId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESUnJoinGroup(const ::std::string& uid, ::Ice::StringSeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESUnJoinGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(eserviceList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::checkESRole(const ::std::string& uid, ::Ice::Int& groupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__checkESRole_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::CheckWebWWPasswd(const ::std::string& userId, const ::std::string& passwd, ::std::string& lid, ::std::string& retuidtokenpw, ::std::string& retmd5passwd, ::Ice::Int& activeStat, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__CheckWebWWPasswd_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(passwd); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(lid); - __is->read(retuidtokenpw); - __is->read(retmd5passwd); - __is->read(activeStat); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESExpandArea(const ::std::string& uid, ::AliIMDBBase::SICEExpandAreaSeq& areaInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESExpandArea_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, areaInfos, ::AliIMDBBase::__U__SICEExpandAreaSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESExpandAreaById(const ::std::string& uid, ::Ice::Int id, ::AliIMDBBase::SICEExpandArea& areaInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESExpandAreaById_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(id); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - areaInfos.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::addESExpandArea(const ::std::string& uid, const ::AliIMDBBase::SICEExpandArea& areaInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__addESExpandArea_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - areaInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::updateESExpandArea(const ::std::string& uid, const ::AliIMDBBase::SICEExpandArea& areaInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__updateESExpandArea_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - areaInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::delESExpandArea(const ::std::string& uid, ::Ice::Int id, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__delESExpandArea_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(id); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::setESEval(const ::std::string& uid, const ::std::string& evalcontent, const ::std::string& welcome, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__setESEval_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(evalcontent); - __os->write(welcome); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESEval(const ::std::string& uid, ::std::string& evalcontent, ::std::string& welcome, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESEval_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(evalcontent); - __is->read(welcome); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::sendESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int& evalId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__sendESEvalResult_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(buyerid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(evalId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::setESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, const ::std::string& evalresult, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__setESEvalResult_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(buyerid); - __os->write(evalId); - __os->write(evalresult); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, ::std::string& evalresult, ::std::string& gmtcreate, ::std::string& gmtmodify, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESEvalResult_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(buyerid); - __os->write(evalId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(evalresult); - __is->read(gmtcreate); - __is->read(gmtmodify); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESEvalResultToday(const ::std::string& uid, ::AliIMDBBase::SICEESEvalResultSeq& evalInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESEvalResultToday_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, evalInfos, ::AliIMDBBase::__U__SICEESEvalResultSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESEvalResultHistory(const ::std::string& uid, const ::std::string& querytime, ::AliIMDBBase::SICEESEvalResultSeq& evalInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESEvalResultHistory_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(querytime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, evalInfos, ::AliIMDBBase::__U__SICEESEvalResultSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getESEvalResultHistorybypage(const ::std::string& uid, const ::std::string& childid, const ::std::string& begindate, const ::std::string& enddate, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& pagecount, ::AliIMDBBase::SICEESEvalResultExSeq& evalInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getESEvalResultHistorybypage_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(childid); - __os->write(begindate); - __os->write(enddate); - __os->write(pageno); - __os->write(pagesize); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(pagecount); - ::AliIMDBBase::__read(__is, evalInfos, ::AliIMDBBase::__U__SICEESEvalResultExSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getLastLoginTime(const ::Ice::StringSeq& loginids, ::Ice::StringSeq& loginTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getLastLoginTime_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(loginids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&loginids[0], &loginids[0] + loginids.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(loginTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getChildShuntInfos(const ::std::string& uid, ::AliIMDBBase::SChildUserInfoSeq& childInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getChildShuntInfos_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, childInfos, ::AliIMDBBase::__U__SChildUserInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::setChildShuntInfos(const ::std::string& uid, const ::AliIMDBBase::SChildUserInfoSeq& childinfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__setChildShuntInfos_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - if(childinfos.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &childinfos[0], &childinfos[0] + childinfos.size(), ::AliIMDBBase::__U__SChildUserInfoSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getAgentChild(const ::std::string& uid, ::std::string& agentId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getAgentChild_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(agentId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::setAgentChild(const ::std::string& uid, const ::std::string& agentId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__setAgentChild_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(agentId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getAgentList(const ::std::string& uid, ::Ice::StringSeq& agentIds, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getAgentList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(agentIds); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getB2BChildTeamList(const ::std::string& parentId, ::AliIMDBBase::SB2BChildUserInfoSeq& childTeamList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getB2BChildTeamList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(parentId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, childTeamList, ::AliIMDBBase::__U__SB2BChildUserInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getB2BChildInfo(const ::std::string& parentId, const ::std::string& childid, ::AliIMDBBase::SB2BChildUserInfo& childInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getB2BChildInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(parentId); - __os->write(childid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - childInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::getB2BChildParentId(const ::std::string& childId, ::std::string& fid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__getB2BChildParentId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(childId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(fid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::addB2BChild(const ::std::string& fid, const ::std::string& childId, const ::std::string& userflag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__addB2BChild_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fid); - __os->write(childId); - __os->write(userflag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::updateB2BChild(const ::std::string& fid, const ::std::string& childId, const ::std::string& userflag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__updateB2BChild_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fid); - __os->write(childId); - __os->write(userflag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::IMDBProxyMgr::deleteB2BChild(const ::std::string& fid, const ::std::string& childId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__IMDBProxyMgr__deleteB2BChild_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fid); - __os->write(childId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::sayhello(const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckUserToken(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckTmpSession(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckUserWebPasswd(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckUserPasswd(const ::std::string&, bool, const ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckUserWebToken(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetAtmLongid(const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddUser60(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetWebMemberPWInfo(const ::std::string&, ::AliIMDBBase::SMemberPWInfo&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetWebMemberPWInfoEx(const ::std::string&, ::AliIMDBBase::SMemberPWInfoEx&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserWebBasicProfile(const ::std::string&, ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckCanAddContact(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::QueryMatchedUserIds(const ::std::string&, const ::std::string&, ::AliIMDBBase::SMatchedUserIdInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateContactWebInfo(const ::std::string&, const ::std::string&, const ::AliIMDBBase::SUserWebBasicProfile&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::DelTaobaoUser(const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::DelAnyUser(const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddUserKeyWord(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserKeyWord(const ::std::string&, const ::std::string&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserKeyWord(const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::QueryUserIdsByKeyWord(const ::std::string&, ::AliIMDBBase::SMatchedUserIdInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetBatchMemberInfo(const ::Ice::StringSeq&, ::AliIMDBBase::SICEMemberInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetAllVersion(::AliIMDBBase::SICEVersionSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetAllSysMsg(::AliIMDBBase::SICESysMessageSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetAllExSysMsg(::AliIMDBBase::SExICESysMessageSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserInfo(const ::std::string&, ::AliIMDBBase::SICEUserInfo&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserInfo2(const ::std::string&, ::AliIMDBBase::SICEUserInfo2&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserInfoEx(const ::std::string&, ::AliIMDBBase::SICEUserInfoEx&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserInfoNew(const ::std::string&, ::AliIMDBBase::SICEUserInfoNew&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserInfo2New(const ::std::string&, ::AliIMDBBase::SICEUserInfo2New&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserInfoExNew(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserInfoExNew2(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew2&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserInfoExNew3(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew3&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserInfoExNew4(const ::std::string&, ::AliIMDBBase::SICEUserInfoExNew4&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserVerifyInfo(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserVerifyInfoEx(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, ::Ice::Byte&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserVerifyInfoQuestion(const ::std::string&, ::Ice::Byte&, ::Ice::Byte&, ::Ice::Byte&, ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetGroupList(const ::std::string&, ::AliIMDBBase::SICEGroupInfoSeq&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetGroupListEx(const ::std::string&, ::AliIMDBBase::SICEGroupInfoExSeq&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetReverseBlackList(const ::std::string&, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetOfflineMsg(const ::std::string&, ::AliIMDBBase::SICEOffLineMessegeSeq&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetOfflineMsgEx(const ::std::string&, ::AliIMDBBase::SICEOffLineMessegeExSeq&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetOfflineMsgCount(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetEnetOfflineMsgNum(const ::std::string&, const ::std::string&, const ::Ice::IntSeq&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetContactInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEContactInfo&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetOfflineMsgNum(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetToolProfiles(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetToolProfilesEx(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEToolProfileSeq&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetSysMsg(::Ice::Int, ::AliIMDBBase::SICESysMessage&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddUser(const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddGroup(const ::std::string&, const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddGroupEx(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddOfflineMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddExpriteTimeOfflineMsg(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddOfflineMsgNoSMS(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddOfflineMsgEx(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Long, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserLogin(const ::std::string&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserLoginEx(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserLoginDataInfo(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserLoginDataInfoEx(const ::std::string&, ::Ice::Int, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserSysMsgId(const ::std::string&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserDataInfo(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserDataInfo2(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserDataInfo3(const ::std::string&, const ::AliIMDBBase::RIGHTTABLE&, ::Ice::Int, ::Ice::Int, ::Ice::Float, ::Ice::Float, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserVerifySet(const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserVerifySetEx(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserVerifySetQuestion(const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int, const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::MoveGroup(const ::std::string&, ::Ice::Long, ::Ice::Long, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateContactNickName(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateContactGroup(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateContactStatus(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateNotifyMessage(::Ice::Int, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateToolProfiles(const ::std::string&, ::Ice::Int, const ::Ice::StringSeq&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateToolProfilesEx(const ::std::string&, const ::AliIMDBBase::SICEToolProfileSeq&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::RemoveGroup(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::RemoveContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::RemoveInverfiedContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::RemoveBlackList(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::IsBlackedByOther(const ::std::string&, const ::std::string&, bool&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::RemoveBatchContacts(const ::std::string&, const ::Ice::StringSeq&, ::Ice::StringSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserDStatus(const ::std::string&, ::AliIMDBBase::SICEUserDStatusSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddUserDStatus(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::RemoveUserDStatus(const ::std::string&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetAllContactList(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEContactInfoSeq&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetCntModifyList(::Ice::Int, const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntCidModPairSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddGenContactFull(const ::AliIMDBBase::SICEGenContactFull&, ::std::string&, ::std::string&, ::Ice::Long&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::DelGenContact(const ::std::string&, const ::std::string&, ::Ice::Long&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::AliIMDBBase::SUserWebBasicProfile&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckUpgradeGenCnt(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::ModifyGenCntID(const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpgradeGenContact(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUpdatedUserInfo(const ::std::string&, const ::std::string&, ::Ice::Long&, ::Ice::Long&, ::std::string&, ::std::string&, ::Ice::Long&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::ModifyContactDetail(const ::AliIMDBBase::SICEGenContactFull&, ::Ice::Long&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateContactGroupByCid(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateContactNickNameByCid(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetCRMContactDetail(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECRMContactDetail&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetHardCodeIds(const ::std::string&, ::Ice::Int&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateHardCodeIds(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetCntOtherModifyList(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICECntOtherModInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetCntOtherModifyInfo(const ::std::string&, ::AliIMDBBase::SICECntOtherModInfo&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserCRInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::SetUserCRInfo(const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetSmsUserInfoByUid(const ::std::string&, ::AliIMDBBase::SICESmsUserInfo&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetSmsUserMsgInfo(const ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::DelOfflineMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::DelOfflineMsgEx(const ::std::string&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::DelWapOfflineMsg(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::ModifyCntMemo(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetCntMemo(const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserTribe(const ::std::string&, ::ALiIMDBTribe::STribeIdDbSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserTribeConfig(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserTribeConfig(const ::std::string&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetTribeOffMngMsg(::Ice::Int, const ::std::string&, ::ALiIMDBTribe::STribeOfflineMsgSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::DelTribeOffMngMsg(::Ice::Int, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::ModifyPersonalShow(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetPersonalShow(const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetAllOnlineSmsUser(::Ice::StringSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserKeyWordDegree(const ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Float&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetUserValue(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserMd5Password(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::InsertYahooUser(const ::AliIMDBBase::SUdbUserInfo&, ::Ice::Int, const ::AliIMDBBase::SICEGenContactFullSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetContactDetailByUid(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEGenContactFull&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetChildTeamList(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetChildTeamList2(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq2&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetChildUserInfo(const ::std::string&, ::AliIMDBBase::SChildUserInfo&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetChildUserInfo2(const ::std::string&, ::AliIMDBBase::SChildUserInfo2&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetShareContactList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetContactShareInfo(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::SetContactShareInfo(const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetMultiAccountContactList(const ::std::string&, ::AliIMDBBase::SICEContactInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetMultiServiceList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetMultiBindToUser(const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetWebBinds(const ::std::string&, ::AliIMDBBase::SICEKvPairSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::AddWebBind(const ::std::string&, const ::AliIMDBBase::SICEKvPair&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::ChangeWebBind(const ::std::string&, const ::AliIMDBBase::SICEKvPair&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::DelWebBind(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getUserSession(const ::std::string&, ::AliIM::SIceSession&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::checkUserSession(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::removeSession(const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateSignature(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::updateContactClientInfo(const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getUserProfile(const ::std::string&, ::AliIMDBBase::SICEKVMap&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getPeerVerifyFlag(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getPeerVerifyFlagQuestion(const ::std::string&, const ::std::string&, ::Ice::Int&, ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getNickName(const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getFTServiceInfo(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Short&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getTietuServiceInfo(const ::std::string&, ::Ice::Int&, ::std::string&, ::Ice::Short&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getFTSAddr(::Ice::Short, const ::std::string&, ::Ice::Long&, ::std::string&, ::Ice::Short&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::registerWanghao(const ::std::string&, const ::AliIMInterface::KVMAP&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::updateUserProfile(const ::std::string&, const ::AliIMInterface::KVMAP&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::loadSitePrefix(::AliIMDBBase::SImPrefixSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::updateAepUserId(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::updateVipflag(const ::std::string&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::checkWangHaoPwd(const ::std::string&, bool, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::checkCanLogin(const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::GetSIPSessionId(const ::std::string&, const ::std::string&, const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckGsContact(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateSmsAuthCode(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckSmsAuthCode(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::UpdateUserValueBySmsAuth(const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckSmsAuthStatus(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckUserTokenExtra(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckUserWebPasswdExtra(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESShuntStatus(const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::setESShuntStatus(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getMaxESReceptNum(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEReceptNumSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::setMaxESReceptNum(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICEReceptNumSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESPriority(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEReceptPrioritySeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::setESPriority(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICEReceptPrioritySeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESRecvOffMsg(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICERecvOffMsgSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::setESRecvOffMsg(const ::std::string&, ::Ice::Int, const ::AliIMDBBase::SICERecvOffMsgSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESGroupList(const ::std::string&, ::Ice::IntSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::insertESGroupInfo(const ::std::string&, const ::AliIMDBBase::SICEESGroupInfo&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::updateESGroupInfo(const ::std::string&, const ::AliIMDBBase::SICEESGroupInfo&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::delESGroup(const ::std::string&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESGroupInfo(const ::std::string&, ::AliIMDBBase::SICEESGroupInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESGroupInfoByID(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEESGroupInfo&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESUserFunc(const ::std::string&, const ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESUnJoinGroup(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::checkESRole(const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::CheckWebWWPasswd(const ::std::string&, const ::std::string&, ::std::string&, ::std::string&, ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESExpandArea(const ::std::string&, ::AliIMDBBase::SICEExpandAreaSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESExpandAreaById(const ::std::string&, ::Ice::Int, ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::addESExpandArea(const ::std::string&, const ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::updateESExpandArea(const ::std::string&, const ::AliIMDBBase::SICEExpandArea&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::delESExpandArea(const ::std::string&, ::Ice::Int, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::setESEval(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESEval(const ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::sendESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::setESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESEvalResult(const ::std::string&, const ::std::string&, ::Ice::Int, ::std::string&, ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESEvalResultToday(const ::std::string&, ::AliIMDBBase::SICEESEvalResultSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESEvalResultHistory(const ::std::string&, const ::std::string&, ::AliIMDBBase::SICEESEvalResultSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getESEvalResultHistorybypage(const ::std::string&, const ::std::string&, const ::std::string&, const ::std::string&, ::Ice::Int, ::Ice::Int, ::Ice::Int&, ::AliIMDBBase::SICEESEvalResultExSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getLastLoginTime(const ::Ice::StringSeq&, ::Ice::StringSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getChildShuntInfos(const ::std::string&, ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::setChildShuntInfos(const ::std::string&, const ::AliIMDBBase::SChildUserInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getAgentChild(const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::setAgentChild(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getAgentList(const ::std::string&, ::Ice::StringSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getB2BChildTeamList(const ::std::string&, ::AliIMDBBase::SB2BChildUserInfoSeq&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getB2BChildInfo(const ::std::string&, const ::std::string&, ::AliIMDBBase::SB2BChildUserInfo&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::getB2BChildParentId(const ::std::string&, ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::addB2BChild(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::updateB2BChild(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::Int -IceDelegateD::AliIMDBBase::IMDBProxyMgr::deleteB2BChild(const ::std::string&, const ::std::string&, const ::Ice::Context*) -{ - throw ::Ice::CollocationOptimizationException(__FILE__, __LINE__); - return ::Ice::Int(); // to avoid a warning with some compilers; -} - -::Ice::ObjectPtr -AliIMDBBase::IMDBProxyMgr::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIMDBBase__IMDBProxyMgr_ids[2] = -{ - "::AliIMDBBase::IMDBProxyMgr", - "::Ice::Object" -}; - -bool -AliIMDBBase::IMDBProxyMgr::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIMDBBase__IMDBProxyMgr_ids, __AliIMDBBase__IMDBProxyMgr_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIMDBBase::IMDBProxyMgr::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIMDBBase__IMDBProxyMgr_ids[0], &__AliIMDBBase__IMDBProxyMgr_ids[2]); -} - -const ::std::string& -AliIMDBBase::IMDBProxyMgr::ice_id(const ::Ice::Current&) const -{ - return __AliIMDBBase__IMDBProxyMgr_ids[0]; -} - -const ::std::string& -AliIMDBBase::IMDBProxyMgr::ice_staticId() -{ - return __AliIMDBBase__IMDBProxyMgr_ids[0]; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___sayhello(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_sayhelloPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_sayhello(__inS); - try - { - sayhello_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckUserToken(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string passwd; - __is->read(userId); - __is->read(passwd); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserTokenPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserToken(__inS); - try - { - CheckUserToken_async(__cb, userId, passwd, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckTmpSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string passwd; - __is->read(userId); - __is->read(passwd); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckTmpSessionPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckTmpSession(__inS); - try - { - CheckTmpSession_async(__cb, userId, passwd, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckUserWebPasswd(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string passwd; - __is->read(userId); - __is->read(passwd); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswdPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswd(__inS); - try - { - CheckUserWebPasswd_async(__cb, userId, passwd, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckUserPasswd(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - bool btokenpw; - ::std::string passwd; - __is->read(userId); - __is->read(btokenpw); - __is->read(passwd); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserPasswdPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserPasswd(__inS); - try - { - CheckUserPasswd_async(__cb, userId, btokenpw, passwd, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckUserWebToken(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string token; - __is->read(userId); - __is->read(token); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebTokenPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebToken(__inS); - try - { - CheckUserWebToken_async(__cb, userId, token, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetAtmLongid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetAtmLongidPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAtmLongid(__inS); - try - { - GetAtmLongid_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddUser60(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string md5passwd; - ::std::string tokenpw; - ::Ice::Int languageid; - __is->read(userId); - __is->read(md5passwd); - __is->read(tokenpw); - __is->read(languageid); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddUser60Ptr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUser60(__inS); - try - { - AddUser60_async(__cb, userId, md5passwd, tokenpw, languageid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetWebMemberPWInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfo(__inS); - try - { - GetWebMemberPWInfo_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetWebMemberPWInfoEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfoExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebMemberPWInfoEx(__inS); - try - { - GetWebMemberPWInfoEx_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserWebBasicProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserWebBasicProfilePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserWebBasicProfile(__inS); - try - { - GetUserWebBasicProfile_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckCanAddContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string buddyId; - __is->read(userId); - __is->read(buddyId); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckCanAddContactPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckCanAddContact(__inS); - try - { - CheckCanAddContact_async(__cb, userId, buddyId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___QueryMatchedUserIds(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string finduid; - ::std::string shortId; - __is->read(finduid); - __is->read(shortId); - ::AliIMDBBase::AMD_IMDBProxyMgr_QueryMatchedUserIdsPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_QueryMatchedUserIds(__inS); - try - { - QueryMatchedUserIds_async(__cb, finduid, shortId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateContactWebInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string buddyId; - ::AliIMDBBase::SUserWebBasicProfile cntWebInfo; - __is->read(userId); - __is->read(buddyId); - cntWebInfo.__read(__is); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactWebInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactWebInfo(__inS); - try - { - UpdateContactWebInfo_async(__cb, userId, buddyId, cntWebInfo, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___DelTaobaoUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string webId; - __is->read(webId); - ::AliIMDBBase::AMD_IMDBProxyMgr_DelTaobaoUserPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelTaobaoUser(__inS); - try - { - DelTaobaoUser_async(__cb, webId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___DelAnyUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string imuserId; - __is->read(imuserId); - ::AliIMDBBase::AMD_IMDBProxyMgr_DelAnyUserPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelAnyUser(__inS); - try - { - DelAnyUser_async(__cb, imuserId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddUserKeyWord(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string keyword; - ::Ice::Int flag; - __is->read(userId); - __is->read(keyword); - __is->read(flag); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddUserKeyWordPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUserKeyWord(__inS); - try - { - AddUserKeyWord_async(__cb, userId, keyword, flag, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserKeyWord(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string keyword; - ::Ice::Int flag; - __is->read(userId); - __is->read(keyword); - __is->read(flag); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserKeyWordPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserKeyWord(__inS); - try - { - UpdateUserKeyWord_async(__cb, userId, keyword, flag, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserKeyWord(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWordPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWord(__inS); - try - { - GetUserKeyWord_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___QueryUserIdsByKeyWord(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string keyword; - __is->read(keyword); - ::AliIMDBBase::AMD_IMDBProxyMgr_QueryUserIdsByKeyWordPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_QueryUserIdsByKeyWord(__inS); - try - { - QueryUserIdsByKeyWord_async(__cb, keyword, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetBatchMemberInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::Ice::StringSeq userIds; - __is->read(userIds); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetBatchMemberInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetBatchMemberInfo(__inS); - try - { - GetBatchMemberInfo_async(__cb, userIds, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetAllVersion(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllVersionPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllVersion(__inS); - try - { - GetAllVersion_async(__cb, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetAllSysMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllSysMsgPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllSysMsg(__inS); - try - { - GetAllSysMsg_async(__cb, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetAllExSysMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllExSysMsgPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllExSysMsg(__inS); - try - { - GetAllExSysMsg_async(__cb, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo(__inS); - try - { - GetUserInfo_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserInfo2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2Ptr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2(__inS); - try - { - GetUserInfo2_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserInfoEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoEx(__inS); - try - { - GetUserInfoEx_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserInfoNew(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoNewPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoNew(__inS); - try - { - GetUserInfoNew_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserInfo2New(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2NewPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfo2New(__inS); - try - { - GetUserInfo2New_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserInfoExNew(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNewPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew(__inS); - try - { - GetUserInfoExNew_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserInfoExNew2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew2Ptr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew2(__inS); - try - { - GetUserInfoExNew2_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserInfoExNew3(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew3Ptr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew3(__inS); - try - { - GetUserInfoExNew3_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserInfoExNew4(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew4Ptr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserInfoExNew4(__inS); - try - { - GetUserInfoExNew4_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserVerifyInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfo(__inS); - try - { - GetUserVerifyInfo_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserVerifyInfoEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoEx(__inS); - try - { - GetUserVerifyInfoEx_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserVerifyInfoQuestion(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoQuestionPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserVerifyInfoQuestion(__inS); - try - { - GetUserVerifyInfoQuestion_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetGroupList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupList(__inS); - try - { - GetGroupList_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetGroupListEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupListExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetGroupListEx(__inS); - try - { - GetGroupListEx_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetContactList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int getFlag; - __is->read(userId); - __is->read(getFlag); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactList(__inS); - try - { - GetContactList_async(__cb, userId, getFlag, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetBlackList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetBlackListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetBlackList(__inS); - try - { - GetBlackList_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetReverseBlackList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetReverseBlackListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetReverseBlackList(__inS); - try - { - GetReverseBlackList_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetOfflineMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsg(__inS); - try - { - GetOfflineMsg_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetOfflineMsgEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgEx(__inS); - try - { - GetOfflineMsgEx_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetOfflineMsgCount(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgCountPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgCount(__inS); - try - { - GetOfflineMsgCount_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetEnetOfflineMsgNum(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string toId; - ::std::string fromId; - ::Ice::IntSeq types; - __is->read(toId); - __is->read(fromId); - __is->read(types); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetEnetOfflineMsgNumPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetEnetOfflineMsgNum(__inS); - try - { - GetEnetOfflineMsgNum_async(__cb, toId, fromId, types, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetContactInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string contactId; - __is->read(userId); - __is->read(contactId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactInfo(__inS); - try - { - GetContactInfo_async(__cb, userId, contactId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetOfflineMsgNum(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgNumPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetOfflineMsgNum(__inS); - try - { - GetOfflineMsgNum_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetToolProfiles(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int type; - ::Ice::Int nowTimes; - __is->read(userId); - __is->read(type); - __is->read(nowTimes); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfilesPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfiles(__inS); - try - { - GetToolProfiles_async(__cb, userId, type, nowTimes, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetToolProfilesEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int nowTimes; - __is->read(userId); - __is->read(nowTimes); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfilesExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetToolProfilesEx(__inS); - try - { - GetToolProfilesEx_async(__cb, userId, nowTimes, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetSysMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::Ice::Int sysId; - __is->read(sysId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetSysMsgPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSysMsg(__inS); - try - { - GetSysMsg_async(__cb, sysId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddUserPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUser(__inS); - try - { - AddUser_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string groupName; - __is->read(userId); - __is->read(groupName); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddGroupPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGroup(__inS); - try - { - AddGroup_async(__cb, userId, groupName, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddGroupEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string groupName; - ::Ice::Int parentId; - __is->read(userId); - __is->read(groupName); - __is->read(parentId); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddGroupExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGroupEx(__inS); - try - { - AddGroupEx_async(__cb, userId, groupName, parentId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddBlackList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string blackId; - __is->read(userId); - __is->read(blackId); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddBlackListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddBlackList(__inS); - try - { - AddBlackList_async(__cb, userId, blackId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddOfflineMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string fromId; - ::std::string toId; - ::Ice::Int type; - ::std::string content; - __is->read(fromId); - __is->read(toId); - __is->read(type); - __is->read(content); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsg(__inS); - try - { - AddOfflineMsg_async(__cb, fromId, toId, type, content, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddExpriteTimeOfflineMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string fromId; - ::std::string toId; - ::Ice::Int type; - ::std::string content; - ::std::string expireTime; - __is->read(fromId); - __is->read(toId); - __is->read(type); - __is->read(content); - __is->read(expireTime); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsgPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddExpriteTimeOfflineMsg(__inS); - try - { - AddExpriteTimeOfflineMsg_async(__cb, fromId, toId, type, content, expireTime, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddOfflineMsgNoSMS(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string fromId; - ::std::string toId; - ::Ice::Int type; - ::std::string content; - __is->read(fromId); - __is->read(toId); - __is->read(type); - __is->read(content); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgNoSMSPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgNoSMS(__inS); - try - { - AddOfflineMsgNoSMS_async(__cb, fromId, toId, type, content, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddOfflineMsgEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string fromId; - ::std::string toId; - ::Ice::Int type; - ::std::string content; - ::Ice::Long uniqueMsgTime; - __is->read(fromId); - __is->read(toId); - __is->read(type); - __is->read(content); - __is->read(uniqueMsgTime); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddOfflineMsgEx(__inS); - try - { - AddOfflineMsgEx_async(__cb, fromId, toId, type, content, uniqueMsgTime, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserLogin(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int sysMsgId; - __is->read(userId); - __is->read(sysMsgId); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLogin(__inS); - try - { - UpdateUserLogin_async(__cb, userId, sysMsgId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserLoginEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int sysMsgId; - ::std::string loginIp; - __is->read(userId); - __is->read(sysMsgId); - __is->read(loginIp); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginEx(__inS); - try - { - UpdateUserLoginEx_async(__cb, userId, sysMsgId, loginIp, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserLoginDataInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int sysMsgId; - ::std::string loginIp; - ::Ice::Int onlineTimes; - ::Ice::Int lastLoginTime; - __is->read(userId); - __is->read(sysMsgId); - __is->read(loginIp); - __is->read(onlineTimes); - __is->read(lastLoginTime); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfo(__inS); - try - { - UpdateUserLoginDataInfo_async(__cb, userId, sysMsgId, loginIp, onlineTimes, lastLoginTime, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserLoginDataInfoEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int sysMsgId; - ::std::string loginIp; - ::Ice::Int onlineTimes; - ::Ice::Int lastLoginTime; - ::Ice::Int isNeedToUpdate; - __is->read(userId); - __is->read(sysMsgId); - __is->read(loginIp); - __is->read(onlineTimes); - __is->read(lastLoginTime); - __is->read(isNeedToUpdate); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserLoginDataInfoEx(__inS); - try - { - UpdateUserLoginDataInfoEx_async(__cb, userId, sysMsgId, loginIp, onlineTimes, lastLoginTime, isNeedToUpdate, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserSysMsgId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int sysMsgId; - __is->read(userId); - __is->read(sysMsgId); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserSysMsgIdPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserSysMsgId(__inS); - try - { - UpdateUserSysMsgId_async(__cb, userId, sysMsgId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserDataInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int strangerMsgCount; - ::Ice::Int onlineTimes; - ::Ice::Int addContactCount; - ::Ice::Int activeDegree; - ::Ice::Float rewardActDegree; - ::Ice::Float onlineActDegree; - ::Ice::Int addTribeCount; - __is->read(userId); - __is->read(strangerMsgCount); - __is->read(onlineTimes); - __is->read(addContactCount); - __is->read(activeDegree); - __is->read(rewardActDegree); - __is->read(onlineActDegree); - __is->read(addTribeCount); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo(__inS); - try - { - UpdateUserDataInfo_async(__cb, userId, strangerMsgCount, onlineTimes, addContactCount, activeDegree, rewardActDegree, onlineActDegree, addTribeCount, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserDataInfo2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int strangerMsgCount; - ::Ice::Int onlineTimes; - ::Ice::Int addContactCount; - ::Ice::Int activeDegree; - ::Ice::Float rewardActDegree; - ::Ice::Float onlineActDegree; - ::Ice::Int addTribeCount; - ::Ice::Int reqAddContactCount; - __is->read(userId); - __is->read(strangerMsgCount); - __is->read(onlineTimes); - __is->read(addContactCount); - __is->read(activeDegree); - __is->read(rewardActDegree); - __is->read(onlineActDegree); - __is->read(addTribeCount); - __is->read(reqAddContactCount); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo2Ptr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo2(__inS); - try - { - UpdateUserDataInfo2_async(__cb, userId, strangerMsgCount, onlineTimes, addContactCount, activeDegree, rewardActDegree, onlineActDegree, addTribeCount, reqAddContactCount, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserDataInfo3(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::AliIMDBBase::RIGHTTABLE rightMap; - ::Ice::Int onlineTimes; - ::Ice::Int activeDegree; - ::Ice::Float rewardActDegree; - ::Ice::Float onlineActDegree; - __is->read(userId); - ::AliIMDBBase::__read(__is, rightMap, ::AliIMDBBase::__U__RIGHTTABLE()); - __is->read(onlineTimes); - __is->read(activeDegree); - __is->read(rewardActDegree); - __is->read(onlineActDegree); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo3Ptr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserDataInfo3(__inS); - try - { - UpdateUserDataInfo3_async(__cb, userId, rightMap, onlineTimes, activeDegree, rewardActDegree, onlineActDegree, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserVerifySet(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int addContactVerify; - ::Ice::Int sendMsgVerify; - __is->read(userId); - __is->read(addContactVerify); - __is->read(sendMsgVerify); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySet(__inS); - try - { - UpdateUserVerifySet_async(__cb, userId, addContactVerify, sendMsgVerify, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserVerifySetEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int addContactVerify; - ::Ice::Int sendMsgVerify; - ::Ice::Int enbleSearchFlag; - __is->read(userId); - __is->read(addContactVerify); - __is->read(sendMsgVerify); - __is->read(enbleSearchFlag); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetEx(__inS); - try - { - UpdateUserVerifySetEx_async(__cb, userId, addContactVerify, sendMsgVerify, enbleSearchFlag, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserVerifySetQuestion(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int addContactVerify; - ::Ice::Int sendMsgVerify; - ::Ice::Int enbleSearchFlag; - ::std::string question; - ::std::string answer; - __is->read(userId); - __is->read(addContactVerify); - __is->read(sendMsgVerify); - __is->read(enbleSearchFlag); - __is->read(question); - __is->read(answer); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetQuestionPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserVerifySetQuestion(__inS); - try - { - UpdateUserVerifySetQuestion_async(__cb, userId, addContactVerify, sendMsgVerify, enbleSearchFlag, question, answer, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string groupName; - ::Ice::Int groupId; - __is->read(userId); - __is->read(groupName); - __is->read(groupId); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateGroupPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateGroup(__inS); - try - { - UpdateGroup_async(__cb, userId, groupName, groupId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___MoveGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Long groupId; - ::Ice::Long newparentgid; - __is->read(userId); - __is->read(groupId); - __is->read(newparentgid); - ::AliIMDBBase::AMD_IMDBProxyMgr_MoveGroupPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_MoveGroup(__inS); - try - { - MoveGroup_async(__cb, userId, groupId, newparentgid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateContactNickName(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string contactId; - ::std::string nickName; - __is->read(userId); - __is->read(contactId); - __is->read(nickName); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickNamePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickName(__inS); - try - { - UpdateContactNickName_async(__cb, userId, contactId, nickName, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateContactGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string contactId; - ::Ice::Int srcGroupId; - ::Ice::Int dstGroupId; - __is->read(userId); - __is->read(contactId); - __is->read(srcGroupId); - __is->read(dstGroupId); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroupPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroup(__inS); - try - { - UpdateContactGroup_async(__cb, userId, contactId, srcGroupId, dstGroupId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateContactStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string contactId; - ::Ice::Int status; - __is->read(userId); - __is->read(contactId); - __is->read(status); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactStatusPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactStatus(__inS); - try - { - UpdateContactStatus_async(__cb, userId, contactId, status, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateNotifyMessage(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::Ice::Int msgId; - ::Ice::Int status; - __is->read(msgId); - __is->read(status); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateNotifyMessagePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateNotifyMessage(__inS); - try - { - UpdateNotifyMessage_async(__cb, msgId, status, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateToolProfiles(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int type; - ::Ice::StringSeq toolProfilsList; - __is->read(userId); - __is->read(type); - __is->read(toolProfilsList); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfilesPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfiles(__inS); - try - { - UpdateToolProfiles_async(__cb, userId, type, toolProfilsList, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateToolProfilesEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::AliIMDBBase::SICEToolProfileSeq toolProfilsList; - __is->read(userId); - ::AliIMDBBase::__read(__is, toolProfilsList, ::AliIMDBBase::__U__SICEToolProfileSeq()); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfilesExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateToolProfilesEx(__inS); - try - { - UpdateToolProfilesEx_async(__cb, userId, toolProfilsList, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___RemoveGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int groupId; - __is->read(userId); - __is->read(groupId); - ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveGroupPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveGroup(__inS); - try - { - RemoveGroup_async(__cb, userId, groupId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___RemoveContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string contactId; - __is->read(userId); - __is->read(contactId); - ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveContactPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveContact(__inS); - try - { - RemoveContact_async(__cb, userId, contactId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___RemoveInverfiedContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string contactId; - __is->read(userId); - __is->read(contactId); - ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveInverfiedContactPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveInverfiedContact(__inS); - try - { - RemoveInverfiedContact_async(__cb, userId, contactId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___RemoveBlackList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string blackId; - __is->read(userId); - __is->read(blackId); - ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBlackListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBlackList(__inS); - try - { - RemoveBlackList_async(__cb, userId, blackId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___IsBlackedByOther(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string otheruid; - __is->read(userId); - __is->read(otheruid); - ::AliIMDBBase::AMD_IMDBProxyMgr_IsBlackedByOtherPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_IsBlackedByOther(__inS); - try - { - IsBlackedByOther_async(__cb, userId, otheruid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___RemoveBatchContacts(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::StringSeq cids; - __is->read(userId); - __is->read(cids); - ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBatchContactsPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveBatchContacts(__inS); - try - { - RemoveBatchContacts_async(__cb, userId, cids, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserDStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserDStatusPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserDStatus(__inS); - try - { - GetUserDStatus_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddUserDStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string userDStatus; - __is->read(userId); - __is->read(userDStatus); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddUserDStatusPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddUserDStatus(__inS); - try - { - AddUserDStatus_async(__cb, userId, userDStatus, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___RemoveUserDStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int statusId; - __is->read(userId); - __is->read(statusId); - ::AliIMDBBase::AMD_IMDBProxyMgr_RemoveUserDStatusPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_RemoveUserDStatus(__inS); - try - { - RemoveUserDStatus_async(__cb, userId, statusId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetAllContactList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int getFlag; - __is->read(uid); - __is->read(getFlag); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllContactListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllContactList(__inS); - try - { - GetAllContactList_async(__cb, uid, getFlag, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetCntModifyList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::Ice::Int getFlag; - ::std::string uid; - ::std::string sMaxSeqId; - __is->read(getFlag); - __is->read(uid); - __is->read(sMaxSeqId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntModifyListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntModifyList(__inS); - try - { - GetCntModifyList_async(__cb, getFlag, uid, sMaxSeqId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddGenContactFull(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::AliIMDBBase::SICEGenContactFull detail; - detail.__read(__is); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddGenContactFullPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddGenContactFull(__inS); - try - { - AddGenContactFull_async(__cb, detail, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetContactDetail(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string cid; - __is->read(uid); - __is->read(cid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetailPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetail(__inS); - try - { - GetContactDetail_async(__cb, uid, cid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___DelGenContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string cid; - __is->read(uid); - __is->read(cid); - ::AliIMDBBase::AMD_IMDBProxyMgr_DelGenContactPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelGenContact(__inS); - try - { - DelGenContact_async(__cb, uid, cid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string contactId; - ::std::string nickName; - ::Ice::Int groupId; - ::Ice::Int status; - ::AliIMDBBase::SUserWebBasicProfile cntInfo; - __is->read(userId); - __is->read(contactId); - __is->read(nickName); - __is->read(groupId); - __is->read(status); - cntInfo.__read(__is); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddContactPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddContact(__inS); - try - { - AddContact_async(__cb, userId, contactId, nickName, groupId, status, cntInfo, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckUpgradeGenCnt(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string cid; - ::std::string contactId; - __is->read(uid); - __is->read(cid); - __is->read(contactId); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUpgradeGenCntPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUpgradeGenCnt(__inS); - try - { - CheckUpgradeGenCnt_async(__cb, uid, cid, contactId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___ModifyGenCntID(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string cid; - ::std::string contactId; - __is->read(uid); - __is->read(cid); - __is->read(contactId); - ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyGenCntIDPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyGenCntID(__inS); - try - { - ModifyGenCntID_async(__cb, uid, cid, contactId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpgradeGenContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string cid; - ::std::string contactId; - __is->read(uid); - __is->read(cid); - __is->read(contactId); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpgradeGenContactPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpgradeGenContact(__inS); - try - { - UpgradeGenContact_async(__cb, uid, cid, contactId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUpdatedUserInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string contactId; - __is->read(uid); - __is->read(contactId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUpdatedUserInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUpdatedUserInfo(__inS); - try - { - GetUpdatedUserInfo_async(__cb, uid, contactId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___ModifyContactDetail(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::AliIMDBBase::SICEGenContactFull detail; - detail.__read(__is); - ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyContactDetailPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyContactDetail(__inS); - try - { - ModifyContactDetail_async(__cb, detail, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateContactGroupByCid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string cid; - ::Ice::Int srcGroupId; - ::Ice::Int dstGroupId; - __is->read(userId); - __is->read(cid); - __is->read(srcGroupId); - __is->read(dstGroupId); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroupByCidPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactGroupByCid(__inS); - try - { - UpdateContactGroupByCid_async(__cb, userId, cid, srcGroupId, dstGroupId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateContactNickNameByCid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string cid; - ::std::string nickName; - __is->read(userId); - __is->read(cid); - __is->read(nickName); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickNameByCidPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateContactNickNameByCid(__inS); - try - { - UpdateContactNickNameByCid_async(__cb, userId, cid, nickName, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetCRMContactDetail(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string cntid; - __is->read(userId); - __is->read(cntid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetCRMContactDetailPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCRMContactDetail(__inS); - try - { - GetCRMContactDetail_async(__cb, userId, cntid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetHardCodeIds(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uuid; - __is->read(uuid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetHardCodeIdsPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetHardCodeIds(__inS); - try - { - GetHardCodeIds_async(__cb, uuid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateHardCodeIds(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uuid; - ::std::string id; - __is->read(uuid); - __is->read(id); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateHardCodeIdsPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateHardCodeIds(__inS); - try - { - UpdateHardCodeIds_async(__cb, uuid, id, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetCntOtherModifyList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string sMaxSeqId; - __is->read(userId); - __is->read(sMaxSeqId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyList(__inS); - try - { - GetCntOtherModifyList_async(__cb, userId, sMaxSeqId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetCntOtherModifyInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntOtherModifyInfo(__inS); - try - { - GetCntOtherModifyInfo_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserCRInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserCRInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserCRInfo(__inS); - try - { - GetUserCRInfo_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___SetUserCRInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int crState; - __is->read(uid); - __is->read(crState); - ::AliIMDBBase::AMD_IMDBProxyMgr_SetUserCRInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_SetUserCRInfo(__inS); - try - { - SetUserCRInfo_async(__cb, uid, crState, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetSmsUserInfoByUid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserInfoByUidPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserInfoByUid(__inS); - try - { - GetSmsUserInfoByUid_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetSmsUserMsgInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserMsgInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSmsUserMsgInfo(__inS); - try - { - GetSmsUserMsgInfo_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___DelOfflineMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string date; - __is->read(uid); - __is->read(date); - ::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsgPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsg(__inS); - try - { - DelOfflineMsg_async(__cb, uid, date, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___DelOfflineMsgEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int date; - __is->read(uid); - __is->read(date); - ::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsgExPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelOfflineMsgEx(__inS); - try - { - DelOfflineMsgEx_async(__cb, uid, date, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___DelWapOfflineMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string date; - __is->read(uid); - __is->read(date); - ::AliIMDBBase::AMD_IMDBProxyMgr_DelWapOfflineMsgPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelWapOfflineMsg(__inS); - try - { - DelWapOfflineMsg_async(__cb, uid, date, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___ModifyCntMemo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string cntid; - ::std::string memo; - __is->read(uid); - __is->read(cntid); - __is->read(memo); - ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyCntMemoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyCntMemo(__inS); - try - { - ModifyCntMemo_async(__cb, uid, cntid, memo, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetCntMemo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string cntid; - __is->read(uid); - __is->read(cntid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetCntMemoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetCntMemo(__inS); - try - { - GetCntMemo_async(__cb, uid, cntid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribe(__inS); - try - { - GetUserTribe_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserTribeConfig(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribeConfigPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserTribeConfig(__inS); - try - { - GetUserTribeConfig_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserTribeConfig(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::Ice::Int addVerify; - __is->read(userId); - __is->read(addVerify); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserTribeConfigPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserTribeConfig(__inS); - try - { - UpdateUserTribeConfig_async(__cb, userId, addVerify, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetTribeOffMngMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::Ice::Int tribeId; - ::std::string memberId; - __is->read(tribeId); - __is->read(memberId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetTribeOffMngMsgPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetTribeOffMngMsg(__inS); - try - { - GetTribeOffMngMsg_async(__cb, tribeId, memberId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___DelTribeOffMngMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::Ice::Int tribeId; - ::std::string memberId; - __is->read(tribeId); - __is->read(memberId); - ::AliIMDBBase::AMD_IMDBProxyMgr_DelTribeOffMngMsgPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelTribeOffMngMsg(__inS); - try - { - DelTribeOffMngMsg_async(__cb, tribeId, memberId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___ModifyPersonalShow(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string newshow; - __is->read(uid); - __is->read(newshow); - ::AliIMDBBase::AMD_IMDBProxyMgr_ModifyPersonalShowPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ModifyPersonalShow(__inS); - try - { - ModifyPersonalShow_async(__cb, uid, newshow, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetPersonalShow(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetPersonalShowPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetPersonalShow(__inS); - try - { - GetPersonalShow_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetAllOnlineSmsUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetAllOnlineSmsUserPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetAllOnlineSmsUser(__inS); - try - { - GetAllOnlineSmsUser_async(__cb, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserKeyWordDegree(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWordDegreePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserKeyWordDegree(__inS); - try - { - GetUserKeyWordDegree_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetUserValue(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetUserValuePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetUserValue(__inS); - try - { - GetUserValue_async(__cb, userId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserMd5Password(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string password; - __is->read(userId); - __is->read(password); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserMd5PasswordPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserMd5Password(__inS); - try - { - UpdateUserMd5Password_async(__cb, userId, password, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___InsertYahooUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::AliIMDBBase::SUdbUserInfo userInfo; - ::Ice::Int activeDegree; - ::AliIMDBBase::SICEGenContactFullSeq contactList; - userInfo.__read(__is); - __is->read(activeDegree); - ::AliIMDBBase::__read(__is, contactList, ::AliIMDBBase::__U__SICEGenContactFullSeq()); - ::AliIMDBBase::AMD_IMDBProxyMgr_InsertYahooUserPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_InsertYahooUser(__inS); - try - { - InsertYahooUser_async(__cb, userInfo, activeDegree, contactList, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetContactDetailByUid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string cid; - __is->read(uid); - __is->read(cid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetailByUidPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactDetailByUid(__inS); - try - { - GetContactDetailByUid_async(__cb, uid, cid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetChildTeamList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string parentId; - __is->read(parentId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList(__inS); - try - { - GetChildTeamList_async(__cb, parentId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetChildTeamList2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string parentId; - __is->read(parentId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList2Ptr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildTeamList2(__inS); - try - { - GetChildTeamList2_async(__cb, parentId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetChildUserInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string childId; - __is->read(childId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo(__inS); - try - { - GetChildUserInfo_async(__cb, childId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetChildUserInfo2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string childId; - __is->read(childId); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo2Ptr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetChildUserInfo2(__inS); - try - { - GetChildUserInfo2_async(__cb, childId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetShareContactList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetShareContactListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetShareContactList(__inS); - try - { - GetShareContactList_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetContactShareInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string contactId; - ::Ice::Int type; - __is->read(uid); - __is->read(contactId); - __is->read(type); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetContactShareInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetContactShareInfo(__inS); - try - { - GetContactShareInfo_async(__cb, uid, contactId, type, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___SetContactShareInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string contactId; - ::Ice::Int type; - ::Ice::Int value; - __is->read(uid); - __is->read(contactId); - __is->read(type); - __is->read(value); - ::AliIMDBBase::AMD_IMDBProxyMgr_SetContactShareInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_SetContactShareInfo(__inS); - try - { - SetContactShareInfo_async(__cb, uid, contactId, type, value, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetMultiAccountContactList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiAccountContactListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiAccountContactList(__inS); - try - { - GetMultiAccountContactList_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetMultiServiceList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiServiceListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiServiceList(__inS); - try - { - GetMultiServiceList_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetMultiBindToUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiBindToUserPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetMultiBindToUser(__inS); - try - { - GetMultiBindToUser_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetWebBinds(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetWebBindsPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetWebBinds(__inS); - try - { - GetWebBinds_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___AddWebBind(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::AliIMDBBase::SICEKvPair bind; - __is->read(uid); - bind.__read(__is); - ::AliIMDBBase::AMD_IMDBProxyMgr_AddWebBindPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_AddWebBind(__inS); - try - { - AddWebBind_async(__cb, uid, bind, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___ChangeWebBind(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::AliIMDBBase::SICEKvPair newbind; - __is->read(uid); - newbind.__read(__is); - ::AliIMDBBase::AMD_IMDBProxyMgr_ChangeWebBindPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_ChangeWebBind(__inS); - try - { - ChangeWebBind_async(__cb, uid, newbind, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___DelWebBind(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string binduid; - __is->read(uid); - __is->read(binduid); - ::AliIMDBBase::AMD_IMDBProxyMgr_DelWebBindPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_DelWebBind(__inS); - try - { - DelWebBind_async(__cb, uid, binduid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getUserSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getUserSessionPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getUserSession(__inS); - try - { - getUserSession_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___checkUserSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string sessionNo; - __is->read(uid); - __is->read(sessionNo); - ::AliIMDBBase::AMD_IMDBProxyMgr_checkUserSessionPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkUserSession(__inS); - try - { - checkUserSession_async(__cb, uid, sessionNo, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___removeSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_removeSessionPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_removeSession(__inS); - try - { - removeSession_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateSignature(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string signature; - __is->read(uid); - __is->read(signature); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSignaturePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSignature(__inS); - try - { - UpdateSignature_async(__cb, uid, signature, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___updateContactClientInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string cid; - ::std::string data; - __is->read(uid); - __is->read(cid); - __is->read(data); - ::AliIMDBBase::AMD_IMDBProxyMgr_updateContactClientInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateContactClientInfo(__inS); - try - { - updateContactClientInfo_async(__cb, uid, cid, data, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getUserProfilePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getUserProfile(__inS); - try - { - getUserProfile_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getPeerVerifyFlag(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string cid; - __is->read(uid); - __is->read(cid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlagPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlag(__inS); - try - { - getPeerVerifyFlag_async(__cb, uid, cid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getPeerVerifyFlagQuestion(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string cid; - __is->read(uid); - __is->read(cid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlagQuestionPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getPeerVerifyFlagQuestion(__inS); - try - { - getPeerVerifyFlagQuestion_async(__cb, uid, cid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getNickName(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getNickNamePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getNickName(__inS); - try - { - getNickName_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getFTServiceInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string senduid; - ::std::string touid; - __is->read(senduid); - __is->read(touid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getFTServiceInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getFTServiceInfo(__inS); - try - { - getFTServiceInfo_async(__cb, senduid, touid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getTietuServiceInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string senduid; - __is->read(senduid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getTietuServiceInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getTietuServiceInfo(__inS); - try - { - getTietuServiceInfo_async(__cb, senduid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getFTSAddr(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::Ice::Short type; - ::std::string senduid; - __is->read(type); - __is->read(senduid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getFTSAddrPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getFTSAddr(__inS); - try - { - getFTSAddr_async(__cb, type, senduid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___registerWanghao(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string longuid; - ::AliIMInterface::KVMAP attrs; - __is->read(longuid); - ::AliIMInterface::__read(__is, attrs, ::AliIMInterface::__U__KVMAP()); - ::AliIMDBBase::AMD_IMDBProxyMgr_registerWanghaoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_registerWanghao(__inS); - try - { - registerWanghao_async(__cb, longuid, attrs, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___updateUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string longuid; - ::AliIMInterface::KVMAP newattrs; - __is->read(longuid); - ::AliIMInterface::__read(__is, newattrs, ::AliIMInterface::__U__KVMAP()); - ::AliIMDBBase::AMD_IMDBProxyMgr_updateUserProfilePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateUserProfile(__inS); - try - { - updateUserProfile_async(__cb, longuid, newattrs, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___loadSitePrefix(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::AliIMDBBase::AMD_IMDBProxyMgr_loadSitePrefixPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_loadSitePrefix(__inS); - try - { - loadSitePrefix_async(__cb, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___updateAepUserId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string longuid; - ::std::string aepuserid; - __is->read(longuid); - __is->read(aepuserid); - ::AliIMDBBase::AMD_IMDBProxyMgr_updateAepUserIdPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateAepUserId(__inS); - try - { - updateAepUserId_async(__cb, longuid, aepuserid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___updateVipflag(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int flag; - __is->read(uid); - __is->read(flag); - ::AliIMDBBase::AMD_IMDBProxyMgr_updateVipflagPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateVipflag(__inS); - try - { - updateVipflag_async(__cb, uid, flag, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___checkWangHaoPwd(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string longuid; - bool btokenpw; - ::std::string pw; - __is->read(longuid); - __is->read(btokenpw); - __is->read(pw); - ::AliIMDBBase::AMD_IMDBProxyMgr_checkWangHaoPwdPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkWangHaoPwd(__inS); - try - { - checkWangHaoPwd_async(__cb, longuid, btokenpw, pw, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___checkCanLogin(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int version; - ::std::string extrainfo; - __is->read(uid); - __is->read(version); - __is->read(extrainfo); - ::AliIMDBBase::AMD_IMDBProxyMgr_checkCanLoginPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkCanLogin(__inS); - try - { - checkCanLogin_async(__cb, uid, version, extrainfo, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___GetSIPSessionId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string appid; - ::std::string type; - __is->read(uid); - __is->read(appid); - __is->read(type); - ::AliIMDBBase::AMD_IMDBProxyMgr_GetSIPSessionIdPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_GetSIPSessionId(__inS); - try - { - GetSIPSessionId_async(__cb, uid, appid, type, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckGsContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string contactid; - __is->read(uid); - __is->read(contactid); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckGsContactPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckGsContact(__inS); - try - { - CheckGsContact_async(__cb, uid, contactid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateSmsAuthCode(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string phoneNo; - ::std::string code; - __is->read(uid); - __is->read(phoneNo); - __is->read(code); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSmsAuthCodePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateSmsAuthCode(__inS); - try - { - UpdateSmsAuthCode_async(__cb, uid, phoneNo, code, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckSmsAuthCode(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string phoneNo; - ::std::string code; - __is->read(uid); - __is->read(phoneNo); - __is->read(code); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthCodePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthCode(__inS); - try - { - CheckSmsAuthCode_async(__cb, uid, phoneNo, code, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___UpdateUserValueBySmsAuth(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserValueBySmsAuthPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_UpdateUserValueBySmsAuth(__inS); - try - { - UpdateUserValueBySmsAuth_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckSmsAuthStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthStatusPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckSmsAuthStatus(__inS); - try - { - CheckSmsAuthStatus_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckUserTokenExtra(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string passwd; - __is->read(userId); - __is->read(passwd); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserTokenExtraPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserTokenExtra(__inS); - try - { - CheckUserTokenExtra_async(__cb, userId, passwd, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckUserWebPasswdExtra(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string passwd; - __is->read(userId); - __is->read(passwd); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswdExtraPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckUserWebPasswdExtra(__inS); - try - { - CheckUserWebPasswdExtra_async(__cb, userId, passwd, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESShuntStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESShuntStatusPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESShuntStatus(__inS); - try - { - getESShuntStatus_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___setESShuntStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string shunt; - __is->read(uid); - __is->read(shunt); - ::AliIMDBBase::AMD_IMDBProxyMgr_setESShuntStatusPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESShuntStatus(__inS); - try - { - setESShuntStatus_async(__cb, uid, shunt, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getMaxESReceptNum(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int groupId; - __is->read(uid); - __is->read(groupId); - ::AliIMDBBase::AMD_IMDBProxyMgr_getMaxESReceptNumPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getMaxESReceptNum(__inS); - try - { - getMaxESReceptNum_async(__cb, uid, groupId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___setMaxESReceptNum(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int groupId; - ::AliIMDBBase::SICEReceptNumSeq eserviceList; - __is->read(uid); - __is->read(groupId); - ::AliIMDBBase::__read(__is, eserviceList, ::AliIMDBBase::__U__SICEReceptNumSeq()); - ::AliIMDBBase::AMD_IMDBProxyMgr_setMaxESReceptNumPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setMaxESReceptNum(__inS); - try - { - setMaxESReceptNum_async(__cb, uid, groupId, eserviceList, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESPriority(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int groupId; - __is->read(uid); - __is->read(groupId); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESPriorityPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESPriority(__inS); - try - { - getESPriority_async(__cb, uid, groupId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___setESPriority(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int groupId; - ::AliIMDBBase::SICEReceptPrioritySeq eserviceList; - __is->read(uid); - __is->read(groupId); - ::AliIMDBBase::__read(__is, eserviceList, ::AliIMDBBase::__U__SICEReceptPrioritySeq()); - ::AliIMDBBase::AMD_IMDBProxyMgr_setESPriorityPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESPriority(__inS); - try - { - setESPriority_async(__cb, uid, groupId, eserviceList, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESRecvOffMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int groupId; - __is->read(uid); - __is->read(groupId); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESRecvOffMsgPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESRecvOffMsg(__inS); - try - { - getESRecvOffMsg_async(__cb, uid, groupId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___setESRecvOffMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int groupId; - ::AliIMDBBase::SICERecvOffMsgSeq eserviceList; - __is->read(uid); - __is->read(groupId); - ::AliIMDBBase::__read(__is, eserviceList, ::AliIMDBBase::__U__SICERecvOffMsgSeq()); - ::AliIMDBBase::AMD_IMDBProxyMgr_setESRecvOffMsgPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESRecvOffMsg(__inS); - try - { - setESRecvOffMsg_async(__cb, uid, groupId, eserviceList, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESGroupList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupList(__inS); - try - { - getESGroupList_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___insertESGroupInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::AliIMDBBase::SICEESGroupInfo groupInfo; - __is->read(uid); - groupInfo.__read(__is); - ::AliIMDBBase::AMD_IMDBProxyMgr_insertESGroupInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_insertESGroupInfo(__inS); - try - { - insertESGroupInfo_async(__cb, uid, groupInfo, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___updateESGroupInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::AliIMDBBase::SICEESGroupInfo group; - __is->read(uid); - group.__read(__is); - ::AliIMDBBase::AMD_IMDBProxyMgr_updateESGroupInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateESGroupInfo(__inS); - try - { - updateESGroupInfo_async(__cb, uid, group, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___delESGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int groupid; - __is->read(uid); - __is->read(groupid); - ::AliIMDBBase::AMD_IMDBProxyMgr_delESGroupPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_delESGroup(__inS); - try - { - delESGroup_async(__cb, uid, groupid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESGroupInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfo(__inS); - try - { - getESGroupInfo_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESGroupInfoByID(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int groupId; - __is->read(uid); - __is->read(groupId); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfoByIDPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESGroupInfoByID(__inS); - try - { - getESGroupInfoByID_async(__cb, uid, groupId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESUserFunc(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string childid; - __is->read(uid); - __is->read(childid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESUserFuncPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESUserFunc(__inS); - try - { - getESUserFunc_async(__cb, uid, childid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESUnJoinGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESUnJoinGroupPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESUnJoinGroup(__inS); - try - { - getESUnJoinGroup_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___checkESRole(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_checkESRolePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_checkESRole(__inS); - try - { - checkESRole_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___CheckWebWWPasswd(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string userId; - ::std::string passwd; - __is->read(userId); - __is->read(passwd); - ::AliIMDBBase::AMD_IMDBProxyMgr_CheckWebWWPasswdPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_CheckWebWWPasswd(__inS); - try - { - CheckWebWWPasswd_async(__cb, userId, passwd, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESExpandArea(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandAreaPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandArea(__inS); - try - { - getESExpandArea_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESExpandAreaById(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int id; - __is->read(uid); - __is->read(id); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandAreaByIdPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESExpandAreaById(__inS); - try - { - getESExpandAreaById_async(__cb, uid, id, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___addESExpandArea(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::AliIMDBBase::SICEExpandArea areaInfo; - __is->read(uid); - areaInfo.__read(__is); - ::AliIMDBBase::AMD_IMDBProxyMgr_addESExpandAreaPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_addESExpandArea(__inS); - try - { - addESExpandArea_async(__cb, uid, areaInfo, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___updateESExpandArea(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::AliIMDBBase::SICEExpandArea areaInfo; - __is->read(uid); - areaInfo.__read(__is); - ::AliIMDBBase::AMD_IMDBProxyMgr_updateESExpandAreaPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateESExpandArea(__inS); - try - { - updateESExpandArea_async(__cb, uid, areaInfo, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___delESExpandArea(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::Ice::Int id; - __is->read(uid); - __is->read(id); - ::AliIMDBBase::AMD_IMDBProxyMgr_delESExpandAreaPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_delESExpandArea(__inS); - try - { - delESExpandArea_async(__cb, uid, id, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___setESEval(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string evalcontent; - ::std::string welcome; - __is->read(uid); - __is->read(evalcontent); - __is->read(welcome); - ::AliIMDBBase::AMD_IMDBProxyMgr_setESEvalPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESEval(__inS); - try - { - setESEval_async(__cb, uid, evalcontent, welcome, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESEval(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEval(__inS); - try - { - getESEval_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___sendESEvalResult(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string buyerid; - __is->read(uid); - __is->read(buyerid); - ::AliIMDBBase::AMD_IMDBProxyMgr_sendESEvalResultPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_sendESEvalResult(__inS); - try - { - sendESEvalResult_async(__cb, uid, buyerid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___setESEvalResult(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string buyerid; - ::Ice::Int evalId; - ::std::string evalresult; - __is->read(uid); - __is->read(buyerid); - __is->read(evalId); - __is->read(evalresult); - ::AliIMDBBase::AMD_IMDBProxyMgr_setESEvalResultPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setESEvalResult(__inS); - try - { - setESEvalResult_async(__cb, uid, buyerid, evalId, evalresult, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESEvalResult(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string buyerid; - ::Ice::Int evalId; - __is->read(uid); - __is->read(buyerid); - __is->read(evalId); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResult(__inS); - try - { - getESEvalResult_async(__cb, uid, buyerid, evalId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESEvalResultToday(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultTodayPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultToday(__inS); - try - { - getESEvalResultToday_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESEvalResultHistory(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string querytime; - __is->read(uid); - __is->read(querytime); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistoryPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistory(__inS); - try - { - getESEvalResultHistory_async(__cb, uid, querytime, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getESEvalResultHistorybypage(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string childid; - ::std::string begindate; - ::std::string enddate; - ::Ice::Int pageno; - ::Ice::Int pagesize; - __is->read(uid); - __is->read(childid); - __is->read(begindate); - __is->read(enddate); - __is->read(pageno); - __is->read(pagesize); - ::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistorybypagePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getESEvalResultHistorybypage(__inS); - try - { - getESEvalResultHistorybypage_async(__cb, uid, childid, begindate, enddate, pageno, pagesize, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getLastLoginTime(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::Ice::StringSeq loginids; - __is->read(loginids); - ::AliIMDBBase::AMD_IMDBProxyMgr_getLastLoginTimePtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getLastLoginTime(__inS); - try - { - getLastLoginTime_async(__cb, loginids, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getChildShuntInfos(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getChildShuntInfosPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getChildShuntInfos(__inS); - try - { - getChildShuntInfos_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___setChildShuntInfos(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::AliIMDBBase::SChildUserInfoSeq childinfos; - __is->read(uid); - ::AliIMDBBase::__read(__is, childinfos, ::AliIMDBBase::__U__SChildUserInfoSeq()); - ::AliIMDBBase::AMD_IMDBProxyMgr_setChildShuntInfosPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setChildShuntInfos(__inS); - try - { - setChildShuntInfos_async(__cb, uid, childinfos, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getAgentChild(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getAgentChildPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getAgentChild(__inS); - try - { - getAgentChild_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___setAgentChild(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - ::std::string agentId; - __is->read(uid); - __is->read(agentId); - ::AliIMDBBase::AMD_IMDBProxyMgr_setAgentChildPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_setAgentChild(__inS); - try - { - setAgentChild_async(__cb, uid, agentId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getAgentList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string uid; - __is->read(uid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getAgentListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getAgentList(__inS); - try - { - getAgentList_async(__cb, uid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getB2BChildTeamList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string parentId; - __is->read(parentId); - ::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildTeamListPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildTeamList(__inS); - try - { - getB2BChildTeamList_async(__cb, parentId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getB2BChildInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string parentId; - ::std::string childid; - __is->read(parentId); - __is->read(childid); - ::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildInfoPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildInfo(__inS); - try - { - getB2BChildInfo_async(__cb, parentId, childid, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___getB2BChildParentId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string childId; - __is->read(childId); - ::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildParentIdPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_getB2BChildParentId(__inS); - try - { - getB2BChildParentId_async(__cb, childId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___addB2BChild(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string fid; - ::std::string childId; - ::std::string userflag; - __is->read(fid); - __is->read(childId); - __is->read(userflag); - ::AliIMDBBase::AMD_IMDBProxyMgr_addB2BChildPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_addB2BChild(__inS); - try - { - addB2BChild_async(__cb, fid, childId, userflag, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___updateB2BChild(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string fid; - ::std::string childId; - ::std::string userflag; - __is->read(fid); - __is->read(childId); - __is->read(userflag); - ::AliIMDBBase::AMD_IMDBProxyMgr_updateB2BChildPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_updateB2BChild(__inS); - try - { - updateB2BChild_async(__cb, fid, childId, userflag, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::___deleteB2BChild(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string fid; - ::std::string childId; - __is->read(fid); - __is->read(childId); - ::AliIMDBBase::AMD_IMDBProxyMgr_deleteB2BChildPtr __cb = new IceAsync::AliIMDBBase::AMD_IMDBProxyMgr_deleteB2BChild(__inS); - try - { - deleteB2BChild_async(__cb, fid, childId, __current); - } - catch(const ::Ice::Exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(const ::std::exception& __ex) - { - __cb->ice_exception(__ex); - } - catch(...) - { - __cb->ice_exception(); - } - return ::IceInternal::DispatchAsync; -} - -static ::std::string __AliIMDBBase__IMDBProxyMgr_all[] = -{ - "AddBlackList", - "AddContact", - "AddExpriteTimeOfflineMsg", - "AddGenContactFull", - "AddGroup", - "AddGroupEx", - "AddOfflineMsg", - "AddOfflineMsgEx", - "AddOfflineMsgNoSMS", - "AddUser", - "AddUser60", - "AddUserDStatus", - "AddUserKeyWord", - "AddWebBind", - "ChangeWebBind", - "CheckCanAddContact", - "CheckGsContact", - "CheckSmsAuthCode", - "CheckSmsAuthStatus", - "CheckTmpSession", - "CheckUpgradeGenCnt", - "CheckUserPasswd", - "CheckUserToken", - "CheckUserTokenExtra", - "CheckUserWebPasswd", - "CheckUserWebPasswdExtra", - "CheckUserWebToken", - "CheckWebWWPasswd", - "DelAnyUser", - "DelGenContact", - "DelOfflineMsg", - "DelOfflineMsgEx", - "DelTaobaoUser", - "DelTribeOffMngMsg", - "DelWapOfflineMsg", - "DelWebBind", - "GetAllContactList", - "GetAllExSysMsg", - "GetAllOnlineSmsUser", - "GetAllSysMsg", - "GetAllVersion", - "GetAtmLongid", - "GetBatchMemberInfo", - "GetBlackList", - "GetCRMContactDetail", - "GetChildTeamList", - "GetChildTeamList2", - "GetChildUserInfo", - "GetChildUserInfo2", - "GetCntMemo", - "GetCntModifyList", - "GetCntOtherModifyInfo", - "GetCntOtherModifyList", - "GetContactDetail", - "GetContactDetailByUid", - "GetContactInfo", - "GetContactList", - "GetContactShareInfo", - "GetEnetOfflineMsgNum", - "GetGroupList", - "GetGroupListEx", - "GetHardCodeIds", - "GetMultiAccountContactList", - "GetMultiBindToUser", - "GetMultiServiceList", - "GetOfflineMsg", - "GetOfflineMsgCount", - "GetOfflineMsgEx", - "GetOfflineMsgNum", - "GetPersonalShow", - "GetReverseBlackList", - "GetSIPSessionId", - "GetShareContactList", - "GetSmsUserInfoByUid", - "GetSmsUserMsgInfo", - "GetSysMsg", - "GetToolProfiles", - "GetToolProfilesEx", - "GetTribeOffMngMsg", - "GetUpdatedUserInfo", - "GetUserCRInfo", - "GetUserDStatus", - "GetUserInfo", - "GetUserInfo2", - "GetUserInfo2New", - "GetUserInfoEx", - "GetUserInfoExNew", - "GetUserInfoExNew2", - "GetUserInfoExNew3", - "GetUserInfoExNew4", - "GetUserInfoNew", - "GetUserKeyWord", - "GetUserKeyWordDegree", - "GetUserTribe", - "GetUserTribeConfig", - "GetUserValue", - "GetUserVerifyInfo", - "GetUserVerifyInfoEx", - "GetUserVerifyInfoQuestion", - "GetUserWebBasicProfile", - "GetWebBinds", - "GetWebMemberPWInfo", - "GetWebMemberPWInfoEx", - "InsertYahooUser", - "IsBlackedByOther", - "ModifyCntMemo", - "ModifyContactDetail", - "ModifyGenCntID", - "ModifyPersonalShow", - "MoveGroup", - "QueryMatchedUserIds", - "QueryUserIdsByKeyWord", - "RemoveBatchContacts", - "RemoveBlackList", - "RemoveContact", - "RemoveGroup", - "RemoveInverfiedContact", - "RemoveUserDStatus", - "SetContactShareInfo", - "SetUserCRInfo", - "UpdateContactGroup", - "UpdateContactGroupByCid", - "UpdateContactNickName", - "UpdateContactNickNameByCid", - "UpdateContactStatus", - "UpdateContactWebInfo", - "UpdateGroup", - "UpdateHardCodeIds", - "UpdateNotifyMessage", - "UpdateSignature", - "UpdateSmsAuthCode", - "UpdateToolProfiles", - "UpdateToolProfilesEx", - "UpdateUserDataInfo", - "UpdateUserDataInfo2", - "UpdateUserDataInfo3", - "UpdateUserKeyWord", - "UpdateUserLogin", - "UpdateUserLoginDataInfo", - "UpdateUserLoginDataInfoEx", - "UpdateUserLoginEx", - "UpdateUserMd5Password", - "UpdateUserSysMsgId", - "UpdateUserTribeConfig", - "UpdateUserValueBySmsAuth", - "UpdateUserVerifySet", - "UpdateUserVerifySetEx", - "UpdateUserVerifySetQuestion", - "UpgradeGenContact", - "addB2BChild", - "addESExpandArea", - "checkCanLogin", - "checkESRole", - "checkUserSession", - "checkWangHaoPwd", - "delESExpandArea", - "delESGroup", - "deleteB2BChild", - "getAgentChild", - "getAgentList", - "getB2BChildInfo", - "getB2BChildParentId", - "getB2BChildTeamList", - "getChildShuntInfos", - "getESEval", - "getESEvalResult", - "getESEvalResultHistory", - "getESEvalResultHistorybypage", - "getESEvalResultToday", - "getESExpandArea", - "getESExpandAreaById", - "getESGroupInfo", - "getESGroupInfoByID", - "getESGroupList", - "getESPriority", - "getESRecvOffMsg", - "getESShuntStatus", - "getESUnJoinGroup", - "getESUserFunc", - "getFTSAddr", - "getFTServiceInfo", - "getLastLoginTime", - "getMaxESReceptNum", - "getNickName", - "getPeerVerifyFlag", - "getPeerVerifyFlagQuestion", - "getTietuServiceInfo", - "getUserProfile", - "getUserSession", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "insertESGroupInfo", - "loadSitePrefix", - "registerWanghao", - "removeSession", - "sayhello", - "sendESEvalResult", - "setAgentChild", - "setChildShuntInfos", - "setESEval", - "setESEvalResult", - "setESPriority", - "setESRecvOffMsg", - "setESShuntStatus", - "setMaxESReceptNum", - "updateAepUserId", - "updateB2BChild", - "updateContactClientInfo", - "updateESExpandArea", - "updateESGroupInfo", - "updateUserProfile", - "updateVipflag" -}; - -::IceInternal::DispatchStatus -AliIMDBBase::IMDBProxyMgr::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIMDBBase__IMDBProxyMgr_all, __AliIMDBBase__IMDBProxyMgr_all + 214, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIMDBBase__IMDBProxyMgr_all) - { - case 0: - { - return ___AddBlackList(in, current); - } - case 1: - { - return ___AddContact(in, current); - } - case 2: - { - return ___AddExpriteTimeOfflineMsg(in, current); - } - case 3: - { - return ___AddGenContactFull(in, current); - } - case 4: - { - return ___AddGroup(in, current); - } - case 5: - { - return ___AddGroupEx(in, current); - } - case 6: - { - return ___AddOfflineMsg(in, current); - } - case 7: - { - return ___AddOfflineMsgEx(in, current); - } - case 8: - { - return ___AddOfflineMsgNoSMS(in, current); - } - case 9: - { - return ___AddUser(in, current); - } - case 10: - { - return ___AddUser60(in, current); - } - case 11: - { - return ___AddUserDStatus(in, current); - } - case 12: - { - return ___AddUserKeyWord(in, current); - } - case 13: - { - return ___AddWebBind(in, current); - } - case 14: - { - return ___ChangeWebBind(in, current); - } - case 15: - { - return ___CheckCanAddContact(in, current); - } - case 16: - { - return ___CheckGsContact(in, current); - } - case 17: - { - return ___CheckSmsAuthCode(in, current); - } - case 18: - { - return ___CheckSmsAuthStatus(in, current); - } - case 19: - { - return ___CheckTmpSession(in, current); - } - case 20: - { - return ___CheckUpgradeGenCnt(in, current); - } - case 21: - { - return ___CheckUserPasswd(in, current); - } - case 22: - { - return ___CheckUserToken(in, current); - } - case 23: - { - return ___CheckUserTokenExtra(in, current); - } - case 24: - { - return ___CheckUserWebPasswd(in, current); - } - case 25: - { - return ___CheckUserWebPasswdExtra(in, current); - } - case 26: - { - return ___CheckUserWebToken(in, current); - } - case 27: - { - return ___CheckWebWWPasswd(in, current); - } - case 28: - { - return ___DelAnyUser(in, current); - } - case 29: - { - return ___DelGenContact(in, current); - } - case 30: - { - return ___DelOfflineMsg(in, current); - } - case 31: - { - return ___DelOfflineMsgEx(in, current); - } - case 32: - { - return ___DelTaobaoUser(in, current); - } - case 33: - { - return ___DelTribeOffMngMsg(in, current); - } - case 34: - { - return ___DelWapOfflineMsg(in, current); - } - case 35: - { - return ___DelWebBind(in, current); - } - case 36: - { - return ___GetAllContactList(in, current); - } - case 37: - { - return ___GetAllExSysMsg(in, current); - } - case 38: - { - return ___GetAllOnlineSmsUser(in, current); - } - case 39: - { - return ___GetAllSysMsg(in, current); - } - case 40: - { - return ___GetAllVersion(in, current); - } - case 41: - { - return ___GetAtmLongid(in, current); - } - case 42: - { - return ___GetBatchMemberInfo(in, current); - } - case 43: - { - return ___GetBlackList(in, current); - } - case 44: - { - return ___GetCRMContactDetail(in, current); - } - case 45: - { - return ___GetChildTeamList(in, current); - } - case 46: - { - return ___GetChildTeamList2(in, current); - } - case 47: - { - return ___GetChildUserInfo(in, current); - } - case 48: - { - return ___GetChildUserInfo2(in, current); - } - case 49: - { - return ___GetCntMemo(in, current); - } - case 50: - { - return ___GetCntModifyList(in, current); - } - case 51: - { - return ___GetCntOtherModifyInfo(in, current); - } - case 52: - { - return ___GetCntOtherModifyList(in, current); - } - case 53: - { - return ___GetContactDetail(in, current); - } - case 54: - { - return ___GetContactDetailByUid(in, current); - } - case 55: - { - return ___GetContactInfo(in, current); - } - case 56: - { - return ___GetContactList(in, current); - } - case 57: - { - return ___GetContactShareInfo(in, current); - } - case 58: - { - return ___GetEnetOfflineMsgNum(in, current); - } - case 59: - { - return ___GetGroupList(in, current); - } - case 60: - { - return ___GetGroupListEx(in, current); - } - case 61: - { - return ___GetHardCodeIds(in, current); - } - case 62: - { - return ___GetMultiAccountContactList(in, current); - } - case 63: - { - return ___GetMultiBindToUser(in, current); - } - case 64: - { - return ___GetMultiServiceList(in, current); - } - case 65: - { - return ___GetOfflineMsg(in, current); - } - case 66: - { - return ___GetOfflineMsgCount(in, current); - } - case 67: - { - return ___GetOfflineMsgEx(in, current); - } - case 68: - { - return ___GetOfflineMsgNum(in, current); - } - case 69: - { - return ___GetPersonalShow(in, current); - } - case 70: - { - return ___GetReverseBlackList(in, current); - } - case 71: - { - return ___GetSIPSessionId(in, current); - } - case 72: - { - return ___GetShareContactList(in, current); - } - case 73: - { - return ___GetSmsUserInfoByUid(in, current); - } - case 74: - { - return ___GetSmsUserMsgInfo(in, current); - } - case 75: - { - return ___GetSysMsg(in, current); - } - case 76: - { - return ___GetToolProfiles(in, current); - } - case 77: - { - return ___GetToolProfilesEx(in, current); - } - case 78: - { - return ___GetTribeOffMngMsg(in, current); - } - case 79: - { - return ___GetUpdatedUserInfo(in, current); - } - case 80: - { - return ___GetUserCRInfo(in, current); - } - case 81: - { - return ___GetUserDStatus(in, current); - } - case 82: - { - return ___GetUserInfo(in, current); - } - case 83: - { - return ___GetUserInfo2(in, current); - } - case 84: - { - return ___GetUserInfo2New(in, current); - } - case 85: - { - return ___GetUserInfoEx(in, current); - } - case 86: - { - return ___GetUserInfoExNew(in, current); - } - case 87: - { - return ___GetUserInfoExNew2(in, current); - } - case 88: - { - return ___GetUserInfoExNew3(in, current); - } - case 89: - { - return ___GetUserInfoExNew4(in, current); - } - case 90: - { - return ___GetUserInfoNew(in, current); - } - case 91: - { - return ___GetUserKeyWord(in, current); - } - case 92: - { - return ___GetUserKeyWordDegree(in, current); - } - case 93: - { - return ___GetUserTribe(in, current); - } - case 94: - { - return ___GetUserTribeConfig(in, current); - } - case 95: - { - return ___GetUserValue(in, current); - } - case 96: - { - return ___GetUserVerifyInfo(in, current); - } - case 97: - { - return ___GetUserVerifyInfoEx(in, current); - } - case 98: - { - return ___GetUserVerifyInfoQuestion(in, current); - } - case 99: - { - return ___GetUserWebBasicProfile(in, current); - } - case 100: - { - return ___GetWebBinds(in, current); - } - case 101: - { - return ___GetWebMemberPWInfo(in, current); - } - case 102: - { - return ___GetWebMemberPWInfoEx(in, current); - } - case 103: - { - return ___InsertYahooUser(in, current); - } - case 104: - { - return ___IsBlackedByOther(in, current); - } - case 105: - { - return ___ModifyCntMemo(in, current); - } - case 106: - { - return ___ModifyContactDetail(in, current); - } - case 107: - { - return ___ModifyGenCntID(in, current); - } - case 108: - { - return ___ModifyPersonalShow(in, current); - } - case 109: - { - return ___MoveGroup(in, current); - } - case 110: - { - return ___QueryMatchedUserIds(in, current); - } - case 111: - { - return ___QueryUserIdsByKeyWord(in, current); - } - case 112: - { - return ___RemoveBatchContacts(in, current); - } - case 113: - { - return ___RemoveBlackList(in, current); - } - case 114: - { - return ___RemoveContact(in, current); - } - case 115: - { - return ___RemoveGroup(in, current); - } - case 116: - { - return ___RemoveInverfiedContact(in, current); - } - case 117: - { - return ___RemoveUserDStatus(in, current); - } - case 118: - { - return ___SetContactShareInfo(in, current); - } - case 119: - { - return ___SetUserCRInfo(in, current); - } - case 120: - { - return ___UpdateContactGroup(in, current); - } - case 121: - { - return ___UpdateContactGroupByCid(in, current); - } - case 122: - { - return ___UpdateContactNickName(in, current); - } - case 123: - { - return ___UpdateContactNickNameByCid(in, current); - } - case 124: - { - return ___UpdateContactStatus(in, current); - } - case 125: - { - return ___UpdateContactWebInfo(in, current); - } - case 126: - { - return ___UpdateGroup(in, current); - } - case 127: - { - return ___UpdateHardCodeIds(in, current); - } - case 128: - { - return ___UpdateNotifyMessage(in, current); - } - case 129: - { - return ___UpdateSignature(in, current); - } - case 130: - { - return ___UpdateSmsAuthCode(in, current); - } - case 131: - { - return ___UpdateToolProfiles(in, current); - } - case 132: - { - return ___UpdateToolProfilesEx(in, current); - } - case 133: - { - return ___UpdateUserDataInfo(in, current); - } - case 134: - { - return ___UpdateUserDataInfo2(in, current); - } - case 135: - { - return ___UpdateUserDataInfo3(in, current); - } - case 136: - { - return ___UpdateUserKeyWord(in, current); - } - case 137: - { - return ___UpdateUserLogin(in, current); - } - case 138: - { - return ___UpdateUserLoginDataInfo(in, current); - } - case 139: - { - return ___UpdateUserLoginDataInfoEx(in, current); - } - case 140: - { - return ___UpdateUserLoginEx(in, current); - } - case 141: - { - return ___UpdateUserMd5Password(in, current); - } - case 142: - { - return ___UpdateUserSysMsgId(in, current); - } - case 143: - { - return ___UpdateUserTribeConfig(in, current); - } - case 144: - { - return ___UpdateUserValueBySmsAuth(in, current); - } - case 145: - { - return ___UpdateUserVerifySet(in, current); - } - case 146: - { - return ___UpdateUserVerifySetEx(in, current); - } - case 147: - { - return ___UpdateUserVerifySetQuestion(in, current); - } - case 148: - { - return ___UpgradeGenContact(in, current); - } - case 149: - { - return ___addB2BChild(in, current); - } - case 150: - { - return ___addESExpandArea(in, current); - } - case 151: - { - return ___checkCanLogin(in, current); - } - case 152: - { - return ___checkESRole(in, current); - } - case 153: - { - return ___checkUserSession(in, current); - } - case 154: - { - return ___checkWangHaoPwd(in, current); - } - case 155: - { - return ___delESExpandArea(in, current); - } - case 156: - { - return ___delESGroup(in, current); - } - case 157: - { - return ___deleteB2BChild(in, current); - } - case 158: - { - return ___getAgentChild(in, current); - } - case 159: - { - return ___getAgentList(in, current); - } - case 160: - { - return ___getB2BChildInfo(in, current); - } - case 161: - { - return ___getB2BChildParentId(in, current); - } - case 162: - { - return ___getB2BChildTeamList(in, current); - } - case 163: - { - return ___getChildShuntInfos(in, current); - } - case 164: - { - return ___getESEval(in, current); - } - case 165: - { - return ___getESEvalResult(in, current); - } - case 166: - { - return ___getESEvalResultHistory(in, current); - } - case 167: - { - return ___getESEvalResultHistorybypage(in, current); - } - case 168: - { - return ___getESEvalResultToday(in, current); - } - case 169: - { - return ___getESExpandArea(in, current); - } - case 170: - { - return ___getESExpandAreaById(in, current); - } - case 171: - { - return ___getESGroupInfo(in, current); - } - case 172: - { - return ___getESGroupInfoByID(in, current); - } - case 173: - { - return ___getESGroupList(in, current); - } - case 174: - { - return ___getESPriority(in, current); - } - case 175: - { - return ___getESRecvOffMsg(in, current); - } - case 176: - { - return ___getESShuntStatus(in, current); - } - case 177: - { - return ___getESUnJoinGroup(in, current); - } - case 178: - { - return ___getESUserFunc(in, current); - } - case 179: - { - return ___getFTSAddr(in, current); - } - case 180: - { - return ___getFTServiceInfo(in, current); - } - case 181: - { - return ___getLastLoginTime(in, current); - } - case 182: - { - return ___getMaxESReceptNum(in, current); - } - case 183: - { - return ___getNickName(in, current); - } - case 184: - { - return ___getPeerVerifyFlag(in, current); - } - case 185: - { - return ___getPeerVerifyFlagQuestion(in, current); - } - case 186: - { - return ___getTietuServiceInfo(in, current); - } - case 187: - { - return ___getUserProfile(in, current); - } - case 188: - { - return ___getUserSession(in, current); - } - case 189: - { - return ___ice_id(in, current); - } - case 190: - { - return ___ice_ids(in, current); - } - case 191: - { - return ___ice_isA(in, current); - } - case 192: - { - return ___ice_ping(in, current); - } - case 193: - { - return ___insertESGroupInfo(in, current); - } - case 194: - { - return ___loadSitePrefix(in, current); - } - case 195: - { - return ___registerWanghao(in, current); - } - case 196: - { - return ___removeSession(in, current); - } - case 197: - { - return ___sayhello(in, current); - } - case 198: - { - return ___sendESEvalResult(in, current); - } - case 199: - { - return ___setAgentChild(in, current); - } - case 200: - { - return ___setChildShuntInfos(in, current); - } - case 201: - { - return ___setESEval(in, current); - } - case 202: - { - return ___setESEvalResult(in, current); - } - case 203: - { - return ___setESPriority(in, current); - } - case 204: - { - return ___setESRecvOffMsg(in, current); - } - case 205: - { - return ___setESShuntStatus(in, current); - } - case 206: - { - return ___setMaxESReceptNum(in, current); - } - case 207: - { - return ___updateAepUserId(in, current); - } - case 208: - { - return ___updateB2BChild(in, current); - } - case 209: - { - return ___updateContactClientInfo(in, current); - } - case 210: - { - return ___updateESExpandArea(in, current); - } - case 211: - { - return ___updateESGroupInfo(in, current); - } - case 212: - { - return ___updateUserProfile(in, current); - } - case 213: - { - return ___updateVipflag(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIMDBBase::IMDBProxyMgr::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIMDBBase::IMDBProxyMgr::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIMDBBase::IMDBProxyMgr::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIMDBBase::IMDBProxyMgr was not generated with stream support"; - throw ex; -} - -void -AliIMDBBase::IMDBProxyMgr::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIMDBBase::IMDBProxyMgr was not generated with stream support"; - throw ex; -} - -void -AliIMDBBase::__patch__IMDBProxyMgrPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIMDBBase::IMDBProxyMgrPtr* p = static_cast< ::AliIMDBBase::IMDBProxyMgrPtr*>(__addr); - assert(p); - *p = ::AliIMDBBase::IMDBProxyMgrPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIMDBBase::IMDBProxyMgr::ice_staticId(); - throw e; - } -} - -bool -AliIMDBBase::operator==(const ::AliIMDBBase::IMDBProxyMgr& l, const ::AliIMDBBase::IMDBProxyMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIMDBBase::operator!=(const ::AliIMDBBase::IMDBProxyMgr& l, const ::AliIMDBBase::IMDBProxyMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIMDBBase::operator<(const ::AliIMDBBase::IMDBProxyMgr& l, const ::AliIMDBBase::IMDBProxyMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIMDBBase::operator<=(const ::AliIMDBBase::IMDBProxyMgr& l, const ::AliIMDBBase::IMDBProxyMgr& r) -{ - return l < r || l == r; -} - -bool -AliIMDBBase::operator>(const ::AliIMDBBase::IMDBProxyMgr& l, const ::AliIMDBBase::IMDBProxyMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIMDBBase::operator>=(const ::AliIMDBBase::IMDBProxyMgr& l, const ::AliIMDBBase::IMDBProxyMgr& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/dbsmsservice.cpp b/features/aliww/source/dbsmsservice.cpp deleted file mode 100644 index f328dd7..0000000 --- a/features/aliww/source/dbsmsservice.cpp +++ /dev/null @@ -1,5719 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbsmsservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBAddValidate_name = "DBAddValidate"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetValidateInfoWithUpdate_name = "DBGetValidateInfoWithUpdate"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBRemoveValidate_name = "DBRemoveValidate"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBUpdateValidateMobile_name = "DBUpdateValidateMobile"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsUser_name = "DBAddSmsUser"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBBindMobile_name = "DBBindMobile"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserInfoByUid_name = "DBGetSmsUserInfoByUid"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserInfoByAccount_name = "DBGetSmsUserInfoByAccount"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserInfoByMobile_name = "DBGetSmsUserInfoByMobile"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserMsgInfo_name = "DBGetSmsUserMsgInfo"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsFunctionLog_name = "DBAddSmsFunctionLog"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBSetMobileOnlineFlag_name = "DBSetMobileOnlineFlag"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBSetMobileBindFlag_name = "DBSetMobileBindFlag"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBSetMessageRevFlag_name = "DBSetMessageRevFlag"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBSetSmsRebind_name = "DBSetSmsRebind"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsMessage_name = "DBAddSmsMessage"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsMessage_name = "DBGetSmsMessage"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsMessage2_name = "DBGetSmsMessage2"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsMsgStatus_name = "DBUpdateSmsMsgStatus"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsMsgStatus2_name = "DBUpdateSmsMsgStatus2"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsMailing_name = "DBGetSmsMailing"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsMailing_name = "DBUpdateSmsMailing"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsDiscount_name = "DBGetSmsDiscount"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsNeedChargeRecord_name = "DBGetSmsNeedChargeRecord"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsChargeRecordInfo_name = "DBGetSmsChargeRecordInfo"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsChargeRecords_name = "DBGetSmsChargeRecords"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsChargeRecord_name = "DBAddSmsChargeRecord"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsChargeRecordStatus_name = "DBUpdateSmsChargeRecordStatus"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsBlacks_name = "DBGetSmsBlacks"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsBlack_name = "DBAddSmsBlack"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBCheckSmsBlack_name = "DBCheckSmsBlack"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBDelSmsBlack_name = "DBDelSmsBlack"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetRemindTime_name = "DBGetRemindTime"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBUpdateRemindTime_name = "DBUpdateRemindTime"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetAllMsgRevUser_name = "DBGetAllMsgRevUser"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsTempUsers_name = "DBGetSmsTempUsers"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsTempUser_name = "DBAddSmsTempUser"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBDelSmsTempUser_name = "DBDelSmsTempUser"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetUserBaseInfo_name = "DBGetUserBaseInfo"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserBalance_name = "DBGetSmsUserBalance"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBUpdatePresentRemindFlag_name = "DBUpdatePresentRemindFlag"; - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr__DBFeedBack_name = "DBFeedBack"; - -void -IceInternal::incRef(::ALiIMDBSms::SmsDBProxyMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::ALiIMDBSms::SmsDBProxyMgr* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::ALiIMDBSms::SmsDBProxyMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::ALiIMDBSms::SmsDBProxyMgr* p) -{ - p->__decRef(); -} - -void -ALiIMDBSms::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBSms::SmsDBProxyMgrPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -ALiIMDBSms::__read(::IceInternal::BasicStream* __is, ::ALiIMDBSms::SmsDBProxyMgrPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::ALiIMDBSms::SmsDBProxyMgr; - v->__copyFrom(proxy); - } -} - -void -ALiIMDBSms::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBSms::SmsDBProxyMgrPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -ALiIMDBSms::__addObject(const SmsDBProxyMgrPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -ALiIMDBSms::__usesClasses(const SmsDBProxyMgrPtr& p) -{ - return p->__usesClasses(); -} - -void -ALiIMDBSms::__decRefUnsafe(const SmsDBProxyMgrPtr& p) -{ - p->__decRefUnsafe(); -} - -void -ALiIMDBSms::__clearHandleUnsafe(SmsDBProxyMgrPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBAddValidate(const ::std::string& userId, ::Ice::Int type, const ::std::string& mobileNo, const ::std::string& validateCode, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBAddValidate_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBAddValidate(userId, type, mobileNo, validateCode, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetValidateInfoWithUpdate(const ::std::string& userId, ::Ice::Int type, ::Ice::Int updateFlag, ::std::string& validateCode, ::std::string& mobileNo, ::Ice::Int& sendTimes, ::Ice::Int& validateTimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetValidateInfoWithUpdate_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetValidateInfoWithUpdate(userId, type, updateFlag, validateCode, mobileNo, sendTimes, validateTimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBRemoveValidate(const ::std::string& userId, ::Ice::Int type, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBRemoveValidate_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBRemoveValidate(userId, type, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBUpdateValidateMobile(const ::std::string& userId, ::Ice::Int type, const ::std::string& mobileNo, const ::std::string& validatecode, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBUpdateValidateMobile_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateValidateMobile(userId, type, mobileNo, validatecode, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsUser(const ::std::string& userId, const ::std::string& mobileNo, ::std::string& account, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBAddSmsUser_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBAddSmsUser(userId, mobileNo, account, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBBindMobile(const ::std::string& userId, const ::std::string& mobileNo, ::Ice::Int balance, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBBindMobile_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBBindMobile(userId, mobileNo, balance, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserInfoByUid(const ::std::string& userId, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserInfoByUid_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsUserInfoByUid(userId, smsUserInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserInfoByAccount(const ::std::string& account, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserInfoByAccount_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsUserInfoByAccount(account, smsUserInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserInfoByMobile(const ::std::string& mobileNo, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserInfoByMobile_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsUserInfoByMobile(mobileNo, smsUserInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserMsgInfo(const ::std::string& userId, ::Ice::Int& todaySmsCount, ::Ice::Int& yesterdaySmsCount, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserMsgInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsUserMsgInfo(userId, todaySmsCount, yesterdaySmsCount, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsFunctionLog(const ::std::string& userId, ::Ice::Int functionType, ::Ice::Int action, const ::std::string& mobileNo, ::Ice::Int status, ::Ice::Int fromType, const ::std::string& errorDesc, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBAddSmsFunctionLog_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBAddSmsFunctionLog(userId, functionType, action, mobileNo, status, fromType, errorDesc, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBSetMobileOnlineFlag(const ::std::string& userId, ::Ice::Int onlineFlag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBSetMobileOnlineFlag_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBSetMobileOnlineFlag(userId, onlineFlag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBSetMobileBindFlag(const ::std::string& userId, ::Ice::Int bindFlag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBSetMobileBindFlag_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBSetMobileBindFlag(userId, bindFlag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBSetMessageRevFlag(const ::std::string& userId, ::Ice::Int revFlag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBSetMessageRevFlag_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBSetMessageRevFlag(userId, revFlag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBSetSmsRebind(const ::std::string& userId, const ::std::string& mobileNo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBSetSmsRebind_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBSetSmsRebind(userId, mobileNo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsMessage(const ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, ::std::string& msgId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBAddSmsMessage_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBAddSmsMessage(smsMsgInfo, msgId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsMessage(const ::std::string& msgId, ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsMessage_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsMessage(msgId, smsMsgInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsMessage2(const ::std::string& transId, ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsMessage2_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsMessage2(transId, smsMsgInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBUpdateSmsMsgStatus(const ::std::string& msgId, ::Ice::Int status, const ::std::string& errorDesc, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsMsgStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateSmsMsgStatus(msgId, status, errorDesc, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBUpdateSmsMsgStatus2(const ::std::string& transId, ::Ice::Int status, const ::std::string& errorDesc, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsMsgStatus2_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateSmsMsgStatus2(transId, status, errorDesc, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsMailing(const ::std::string& userId, ::Ice::Int& flag, ::std::string& address, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsMailing_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsMailing(userId, flag, address, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBUpdateSmsMailing(const ::std::string& userId, ::Ice::Int flag, const ::std::string& address, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsMailing_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateSmsMailing(userId, flag, address, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsDiscount(const ::std::string& userId, ::Ice::Float& discount, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsDiscount_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsDiscount(userId, discount, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsNeedChargeRecord(::Ice::Int inmins, ::Ice::Int type, ::std::string& seqid, ::std::string& account, ::std::string& passwd, ::Ice::Int& denomination, ::std::string& uid, ::Ice::Int& trytime, ::std::string& payId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsNeedChargeRecord_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsNeedChargeRecord(inmins, type, seqid, account, passwd, denomination, uid, trytime, payId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsChargeRecordInfo(const ::std::string& seqid, ::std::string& account, ::std::string& passwd, ::Ice::Int& denomination, ::std::string& uid, ::Ice::Int& status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsChargeRecordInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsChargeRecordInfo(seqid, account, passwd, denomination, uid, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsChargeRecords(const ::std::string& uid, const ::std::string& beginTime, const ::std::string& endTime, ::ALiIMDBSms::SChargeInfoSeq& chargeRecordList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsChargeRecords_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsChargeRecords(uid, beginTime, endTime, chargeRecordList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsChargeRecord(const ::std::string& userId, ::Ice::Int type, const ::std::string& account, const ::std::string& password, ::Ice::Int denomination, ::Ice::Int money, const ::std::string& payId, ::std::string& chargeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBAddSmsChargeRecord_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBAddSmsChargeRecord(userId, type, account, password, denomination, money, payId, chargeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBUpdateSmsChargeRecordStatus(const ::std::string& seqId, ::Ice::Int status, const ::std::string& desc, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsChargeRecordStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateSmsChargeRecordStatus(seqId, status, desc, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsBlacks(const ::std::string& mobileNo, ::Ice::StringSeq& blackNoList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsBlacks_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsBlacks(mobileNo, blackNoList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsBlack(const ::std::string& mobileNo, const ::std::string& blackNo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBAddSmsBlack_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBAddSmsBlack(mobileNo, blackNo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBCheckSmsBlack(const ::std::string& fromMobile, const ::std::string& toMobile, ::Ice::Int& blackFlag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBCheckSmsBlack_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBCheckSmsBlack(fromMobile, toMobile, blackFlag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBDelSmsBlack(const ::std::string& mobileNo, const ::std::string& blackNo, const ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBDelSmsBlack_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBDelSmsBlack(mobileNo, blackNo, userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetRemindTime(const ::std::string& mobileNo, ::std::string& remindTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetRemindTime_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetRemindTime(mobileNo, remindTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBUpdateRemindTime(const ::std::string& mobileNo, const ::std::string& remindTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBUpdateRemindTime_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateRemindTime(mobileNo, remindTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetAllMsgRevUser(::ALiIMDBSms::SSmsRevUserSeq& smsRevUserList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetAllMsgRevUser_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetAllMsgRevUser(smsRevUserList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsTempUsers(::ALiIMDBSms::SSmsTempUserSeq& smsTempUserList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsTempUsers_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsTempUsers(smsTempUserList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsTempUser(const ::ALiIMDBSms::SSmsTempUser& smsTempUser, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBAddSmsTempUser_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBAddSmsTempUser(smsTempUser, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBDelSmsTempUser(const ::std::string& account, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBDelSmsTempUser_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBDelSmsTempUser(account, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetUserBaseInfo(const ::std::string& userId, ::ALiIMDBSms::SUserBaseInfo& userInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetUserBaseInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetUserBaseInfo(userId, userInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserBalance(const ::std::string& userId, ::ALiIMDBSms::SSmsUserBalance& balanceInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserBalance_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBGetSmsUserBalance(userId, balanceInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBUpdatePresentRemindFlag(const ::std::string& userId, ::Ice::Int flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBUpdatePresentRemindFlag_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBUpdatePresentRemindFlag(userId, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBSms::SmsDBProxyMgr::DBFeedBack(const ::std::string& beginTime, const ::std::string& endTime, ::Ice::Int& feeNum, ::Ice::Int& presentNum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBSms__SmsDBProxyMgr__DBFeedBack_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBSms::SmsDBProxyMgr*>(__delBase.get()); - return __del->DBFeedBack(beginTime, endTime, feeNum, presentNum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::ALiIMDBSms::SmsDBProxyMgr::ice_staticId() -{ - return ::ALiIMDBSms::SmsDBProxyMgr::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::ALiIMDBSms::SmsDBProxyMgr::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::ALiIMDBSms::SmsDBProxyMgr); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::ALiIMDBSms::SmsDBProxyMgr::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::ALiIMDBSms::SmsDBProxyMgr); -} - -bool -IceProxy::ALiIMDBSms::operator==(const ::IceProxy::ALiIMDBSms::SmsDBProxyMgr& l, const ::IceProxy::ALiIMDBSms::SmsDBProxyMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::ALiIMDBSms::operator!=(const ::IceProxy::ALiIMDBSms::SmsDBProxyMgr& l, const ::IceProxy::ALiIMDBSms::SmsDBProxyMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::ALiIMDBSms::operator<(const ::IceProxy::ALiIMDBSms::SmsDBProxyMgr& l, const ::IceProxy::ALiIMDBSms::SmsDBProxyMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::ALiIMDBSms::operator<=(const ::IceProxy::ALiIMDBSms::SmsDBProxyMgr& l, const ::IceProxy::ALiIMDBSms::SmsDBProxyMgr& r) -{ - return l < r || l == r; -} - -bool -IceProxy::ALiIMDBSms::operator>(const ::IceProxy::ALiIMDBSms::SmsDBProxyMgr& l, const ::IceProxy::ALiIMDBSms::SmsDBProxyMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::ALiIMDBSms::operator>=(const ::IceProxy::ALiIMDBSms::SmsDBProxyMgr& l, const ::IceProxy::ALiIMDBSms::SmsDBProxyMgr& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBAddValidate(const ::std::string& userId, ::Ice::Int type, const ::std::string& mobileNo, const ::std::string& validateCode, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBAddValidate_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(type); - __os->write(mobileNo); - __os->write(validateCode); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetValidateInfoWithUpdate(const ::std::string& userId, ::Ice::Int type, ::Ice::Int updateFlag, ::std::string& validateCode, ::std::string& mobileNo, ::Ice::Int& sendTimes, ::Ice::Int& validateTimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetValidateInfoWithUpdate_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(type); - __os->write(updateFlag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(validateCode); - __is->read(mobileNo); - __is->read(sendTimes); - __is->read(validateTimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBRemoveValidate(const ::std::string& userId, ::Ice::Int type, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBRemoveValidate_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(type); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBUpdateValidateMobile(const ::std::string& userId, ::Ice::Int type, const ::std::string& mobileNo, const ::std::string& validatecode, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBUpdateValidateMobile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(type); - __os->write(mobileNo); - __os->write(validatecode); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsUser(const ::std::string& userId, const ::std::string& mobileNo, ::std::string& account, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(mobileNo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(account); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBBindMobile(const ::std::string& userId, const ::std::string& mobileNo, ::Ice::Int balance, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBBindMobile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(mobileNo); - __os->write(balance); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserInfoByUid(const ::std::string& userId, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserInfoByUid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - smsUserInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserInfoByAccount(const ::std::string& account, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserInfoByAccount_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(account); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - smsUserInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserInfoByMobile(const ::std::string& mobileNo, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserInfoByMobile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(mobileNo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - smsUserInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserMsgInfo(const ::std::string& userId, ::Ice::Int& todaySmsCount, ::Ice::Int& yesterdaySmsCount, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserMsgInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(todaySmsCount); - __is->read(yesterdaySmsCount); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsFunctionLog(const ::std::string& userId, ::Ice::Int functionType, ::Ice::Int action, const ::std::string& mobileNo, ::Ice::Int status, ::Ice::Int fromType, const ::std::string& errorDesc, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsFunctionLog_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(functionType); - __os->write(action); - __os->write(mobileNo); - __os->write(status); - __os->write(fromType); - __os->write(errorDesc); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBSetMobileOnlineFlag(const ::std::string& userId, ::Ice::Int onlineFlag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBSetMobileOnlineFlag_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(onlineFlag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBSetMobileBindFlag(const ::std::string& userId, ::Ice::Int bindFlag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBSetMobileBindFlag_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(bindFlag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBSetMessageRevFlag(const ::std::string& userId, ::Ice::Int revFlag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBSetMessageRevFlag_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(revFlag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBSetSmsRebind(const ::std::string& userId, const ::std::string& mobileNo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBSetSmsRebind_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(mobileNo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsMessage(const ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, ::std::string& msgId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsMessage_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - smsMsgInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(msgId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsMessage(const ::std::string& msgId, ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsMessage_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(msgId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - smsMsgInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsMessage2(const ::std::string& transId, ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsMessage2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(transId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - smsMsgInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBUpdateSmsMsgStatus(const ::std::string& msgId, ::Ice::Int status, const ::std::string& errorDesc, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsMsgStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(msgId); - __os->write(status); - __os->write(errorDesc); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBUpdateSmsMsgStatus2(const ::std::string& transId, ::Ice::Int status, const ::std::string& errorDesc, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsMsgStatus2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(transId); - __os->write(status); - __os->write(errorDesc); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsMailing(const ::std::string& userId, ::Ice::Int& flag, ::std::string& address, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsMailing_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(flag); - __is->read(address); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBUpdateSmsMailing(const ::std::string& userId, ::Ice::Int flag, const ::std::string& address, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsMailing_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(flag); - __os->write(address); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsDiscount(const ::std::string& userId, ::Ice::Float& discount, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsDiscount_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(discount); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsNeedChargeRecord(::Ice::Int inmins, ::Ice::Int type, ::std::string& seqid, ::std::string& account, ::std::string& passwd, ::Ice::Int& denomination, ::std::string& uid, ::Ice::Int& trytime, ::std::string& payId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsNeedChargeRecord_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(inmins); - __os->write(type); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(seqid); - __is->read(account); - __is->read(passwd); - __is->read(denomination); - __is->read(uid); - __is->read(trytime); - __is->read(payId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsChargeRecordInfo(const ::std::string& seqid, ::std::string& account, ::std::string& passwd, ::Ice::Int& denomination, ::std::string& uid, ::Ice::Int& status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsChargeRecordInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(seqid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(account); - __is->read(passwd); - __is->read(denomination); - __is->read(uid); - __is->read(status); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsChargeRecords(const ::std::string& uid, const ::std::string& beginTime, const ::std::string& endTime, ::ALiIMDBSms::SChargeInfoSeq& chargeRecordList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsChargeRecords_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(beginTime); - __os->write(endTime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBSms::__read(__is, chargeRecordList, ::ALiIMDBSms::__U__SChargeInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsChargeRecord(const ::std::string& userId, ::Ice::Int type, const ::std::string& account, const ::std::string& password, ::Ice::Int denomination, ::Ice::Int money, const ::std::string& payId, ::std::string& chargeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsChargeRecord_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(type); - __os->write(account); - __os->write(password); - __os->write(denomination); - __os->write(money); - __os->write(payId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(chargeId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBUpdateSmsChargeRecordStatus(const ::std::string& seqId, ::Ice::Int status, const ::std::string& desc, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsChargeRecordStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(seqId); - __os->write(status); - __os->write(desc); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsBlacks(const ::std::string& mobileNo, ::Ice::StringSeq& blackNoList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsBlacks_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(mobileNo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(blackNoList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsBlack(const ::std::string& mobileNo, const ::std::string& blackNo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsBlack_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(mobileNo); - __os->write(blackNo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBCheckSmsBlack(const ::std::string& fromMobile, const ::std::string& toMobile, ::Ice::Int& blackFlag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBCheckSmsBlack_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fromMobile); - __os->write(toMobile); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(blackFlag); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBDelSmsBlack(const ::std::string& mobileNo, const ::std::string& blackNo, const ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBDelSmsBlack_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(mobileNo); - __os->write(blackNo); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetRemindTime(const ::std::string& mobileNo, ::std::string& remindTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetRemindTime_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(mobileNo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(remindTime); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBUpdateRemindTime(const ::std::string& mobileNo, const ::std::string& remindTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBUpdateRemindTime_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(mobileNo); - __os->write(remindTime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetAllMsgRevUser(::ALiIMDBSms::SSmsRevUserSeq& smsRevUserList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetAllMsgRevUser_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(smsRevUserList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsTempUsers(::ALiIMDBSms::SSmsTempUserSeq& smsTempUserList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsTempUsers_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBSms::__read(__is, smsTempUserList, ::ALiIMDBSms::__U__SSmsTempUserSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsTempUser(const ::ALiIMDBSms::SSmsTempUser& smsTempUser, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsTempUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - smsTempUser.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBDelSmsTempUser(const ::std::string& account, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBDelSmsTempUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(account); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetUserBaseInfo(const ::std::string& userId, ::ALiIMDBSms::SUserBaseInfo& userInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetUserBaseInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserBalance(const ::std::string& userId, ::ALiIMDBSms::SSmsUserBalance& balanceInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserBalance_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - balanceInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBUpdatePresentRemindFlag(const ::std::string& userId, ::Ice::Int flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBUpdatePresentRemindFlag_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(flag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBSms::SmsDBProxyMgr::DBFeedBack(const ::std::string& beginTime, const ::std::string& endTime, ::Ice::Int& feeNum, ::Ice::Int& presentNum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBSms__SmsDBProxyMgr__DBFeedBack_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(beginTime); - __os->write(endTime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(feeNum); - __is->read(presentNum); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBAddValidate(const ::std::string& userId, ::Ice::Int type, const ::std::string& mobileNo, const ::std::string& validateCode, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBAddValidate_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddValidate(userId, type, mobileNo, validateCode, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetValidateInfoWithUpdate(const ::std::string& userId, ::Ice::Int type, ::Ice::Int updateFlag, ::std::string& validateCode, ::std::string& mobileNo, ::Ice::Int& sendTimes, ::Ice::Int& validateTimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetValidateInfoWithUpdate_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetValidateInfoWithUpdate(userId, type, updateFlag, validateCode, mobileNo, sendTimes, validateTimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBRemoveValidate(const ::std::string& userId, ::Ice::Int type, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBRemoveValidate_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBRemoveValidate(userId, type, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBUpdateValidateMobile(const ::std::string& userId, ::Ice::Int type, const ::std::string& mobileNo, const ::std::string& validatecode, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBUpdateValidateMobile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateValidateMobile(userId, type, mobileNo, validatecode, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsUser(const ::std::string& userId, const ::std::string& mobileNo, ::std::string& account, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddSmsUser(userId, mobileNo, account, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBBindMobile(const ::std::string& userId, const ::std::string& mobileNo, ::Ice::Int balance, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBBindMobile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBBindMobile(userId, mobileNo, balance, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserInfoByUid(const ::std::string& userId, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserInfoByUid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsUserInfoByUid(userId, smsUserInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserInfoByAccount(const ::std::string& account, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserInfoByAccount_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsUserInfoByAccount(account, smsUserInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserInfoByMobile(const ::std::string& mobileNo, ::ALiIMDBSms::SSmsUserInfo& smsUserInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserInfoByMobile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsUserInfoByMobile(mobileNo, smsUserInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserMsgInfo(const ::std::string& userId, ::Ice::Int& todaySmsCount, ::Ice::Int& yesterdaySmsCount, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserMsgInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsUserMsgInfo(userId, todaySmsCount, yesterdaySmsCount, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsFunctionLog(const ::std::string& userId, ::Ice::Int functionType, ::Ice::Int action, const ::std::string& mobileNo, ::Ice::Int status, ::Ice::Int fromType, const ::std::string& errorDesc, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsFunctionLog_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddSmsFunctionLog(userId, functionType, action, mobileNo, status, fromType, errorDesc, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBSetMobileOnlineFlag(const ::std::string& userId, ::Ice::Int onlineFlag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBSetMobileOnlineFlag_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBSetMobileOnlineFlag(userId, onlineFlag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBSetMobileBindFlag(const ::std::string& userId, ::Ice::Int bindFlag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBSetMobileBindFlag_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBSetMobileBindFlag(userId, bindFlag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBSetMessageRevFlag(const ::std::string& userId, ::Ice::Int revFlag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBSetMessageRevFlag_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBSetMessageRevFlag(userId, revFlag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBSetSmsRebind(const ::std::string& userId, const ::std::string& mobileNo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBSetSmsRebind_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBSetSmsRebind(userId, mobileNo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsMessage(const ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, ::std::string& msgId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsMessage_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddSmsMessage(smsMsgInfo, msgId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsMessage(const ::std::string& msgId, ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsMessage_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsMessage(msgId, smsMsgInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsMessage2(const ::std::string& transId, ::ALiIMDBSms::SSmsMsgInfo& smsMsgInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsMessage2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsMessage2(transId, smsMsgInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBUpdateSmsMsgStatus(const ::std::string& msgId, ::Ice::Int status, const ::std::string& errorDesc, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsMsgStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateSmsMsgStatus(msgId, status, errorDesc, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBUpdateSmsMsgStatus2(const ::std::string& transId, ::Ice::Int status, const ::std::string& errorDesc, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsMsgStatus2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateSmsMsgStatus2(transId, status, errorDesc, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsMailing(const ::std::string& userId, ::Ice::Int& flag, ::std::string& address, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsMailing_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsMailing(userId, flag, address, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBUpdateSmsMailing(const ::std::string& userId, ::Ice::Int flag, const ::std::string& address, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsMailing_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateSmsMailing(userId, flag, address, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsDiscount(const ::std::string& userId, ::Ice::Float& discount, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsDiscount_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsDiscount(userId, discount, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsNeedChargeRecord(::Ice::Int inmins, ::Ice::Int type, ::std::string& seqid, ::std::string& account, ::std::string& passwd, ::Ice::Int& denomination, ::std::string& uid, ::Ice::Int& trytime, ::std::string& payId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsNeedChargeRecord_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsNeedChargeRecord(inmins, type, seqid, account, passwd, denomination, uid, trytime, payId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsChargeRecordInfo(const ::std::string& seqid, ::std::string& account, ::std::string& passwd, ::Ice::Int& denomination, ::std::string& uid, ::Ice::Int& status, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsChargeRecordInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsChargeRecordInfo(seqid, account, passwd, denomination, uid, status, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsChargeRecords(const ::std::string& uid, const ::std::string& beginTime, const ::std::string& endTime, ::ALiIMDBSms::SChargeInfoSeq& chargeRecordList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsChargeRecords_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsChargeRecords(uid, beginTime, endTime, chargeRecordList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsChargeRecord(const ::std::string& userId, ::Ice::Int type, const ::std::string& account, const ::std::string& password, ::Ice::Int denomination, ::Ice::Int money, const ::std::string& payId, ::std::string& chargeId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsChargeRecord_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddSmsChargeRecord(userId, type, account, password, denomination, money, payId, chargeId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBUpdateSmsChargeRecordStatus(const ::std::string& seqId, ::Ice::Int status, const ::std::string& desc, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBUpdateSmsChargeRecordStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateSmsChargeRecordStatus(seqId, status, desc, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsBlacks(const ::std::string& mobileNo, ::Ice::StringSeq& blackNoList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsBlacks_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsBlacks(mobileNo, blackNoList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsBlack(const ::std::string& mobileNo, const ::std::string& blackNo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsBlack_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddSmsBlack(mobileNo, blackNo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBCheckSmsBlack(const ::std::string& fromMobile, const ::std::string& toMobile, ::Ice::Int& blackFlag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBCheckSmsBlack_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBCheckSmsBlack(fromMobile, toMobile, blackFlag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBDelSmsBlack(const ::std::string& mobileNo, const ::std::string& blackNo, const ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBDelSmsBlack_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBDelSmsBlack(mobileNo, blackNo, userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetRemindTime(const ::std::string& mobileNo, ::std::string& remindTime, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetRemindTime_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetRemindTime(mobileNo, remindTime, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBUpdateRemindTime(const ::std::string& mobileNo, const ::std::string& remindTime, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBUpdateRemindTime_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateRemindTime(mobileNo, remindTime, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetAllMsgRevUser(::ALiIMDBSms::SSmsRevUserSeq& smsRevUserList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetAllMsgRevUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetAllMsgRevUser(smsRevUserList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsTempUsers(::ALiIMDBSms::SSmsTempUserSeq& smsTempUserList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsTempUsers_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsTempUsers(smsTempUserList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBAddSmsTempUser(const ::ALiIMDBSms::SSmsTempUser& smsTempUser, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBAddSmsTempUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddSmsTempUser(smsTempUser, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBDelSmsTempUser(const ::std::string& account, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBDelSmsTempUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBDelSmsTempUser(account, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetUserBaseInfo(const ::std::string& userId, ::ALiIMDBSms::SUserBaseInfo& userInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetUserBaseInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetUserBaseInfo(userId, userInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBGetSmsUserBalance(const ::std::string& userId, ::ALiIMDBSms::SSmsUserBalance& balanceInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBGetSmsUserBalance_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetSmsUserBalance(userId, balanceInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBUpdatePresentRemindFlag(const ::std::string& userId, ::Ice::Int flag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBUpdatePresentRemindFlag_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdatePresentRemindFlag(userId, flag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBSms::SmsDBProxyMgr::DBFeedBack(const ::std::string& beginTime, const ::std::string& endTime, ::Ice::Int& feeNum, ::Ice::Int& presentNum, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBSms__SmsDBProxyMgr__DBFeedBack_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBSms::SmsDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBSms::SmsDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBFeedBack(beginTime, endTime, feeNum, presentNum, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -ALiIMDBSms::SmsDBProxyMgr::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __ALiIMDBSms__SmsDBProxyMgr_ids[2] = -{ - "::ALiIMDBSms::SmsDBProxyMgr", - "::Ice::Object" -}; - -bool -ALiIMDBSms::SmsDBProxyMgr::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__ALiIMDBSms__SmsDBProxyMgr_ids, __ALiIMDBSms__SmsDBProxyMgr_ids + 2, _s); -} - -::std::vector< ::std::string> -ALiIMDBSms::SmsDBProxyMgr::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__ALiIMDBSms__SmsDBProxyMgr_ids[0], &__ALiIMDBSms__SmsDBProxyMgr_ids[2]); -} - -const ::std::string& -ALiIMDBSms::SmsDBProxyMgr::ice_id(const ::Ice::Current&) const -{ - return __ALiIMDBSms__SmsDBProxyMgr_ids[0]; -} - -const ::std::string& -ALiIMDBSms::SmsDBProxyMgr::ice_staticId() -{ - return __ALiIMDBSms__SmsDBProxyMgr_ids[0]; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBAddValidate(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int type; - ::std::string mobileNo; - ::std::string validateCode; - __is->read(userId); - __is->read(type); - __is->read(mobileNo); - __is->read(validateCode); - ::Ice::Int __ret = DBAddValidate(userId, type, mobileNo, validateCode, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetValidateInfoWithUpdate(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int type; - ::Ice::Int updateFlag; - __is->read(userId); - __is->read(type); - __is->read(updateFlag); - ::std::string validateCode; - ::std::string mobileNo; - ::Ice::Int sendTimes; - ::Ice::Int validateTimes; - ::Ice::Int __ret = DBGetValidateInfoWithUpdate(userId, type, updateFlag, validateCode, mobileNo, sendTimes, validateTimes, __current); - __os->write(validateCode); - __os->write(mobileNo); - __os->write(sendTimes); - __os->write(validateTimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBRemoveValidate(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int type; - __is->read(userId); - __is->read(type); - ::Ice::Int __ret = DBRemoveValidate(userId, type, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBUpdateValidateMobile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int type; - ::std::string mobileNo; - ::std::string validatecode; - __is->read(userId); - __is->read(type); - __is->read(mobileNo); - __is->read(validatecode); - ::Ice::Int __ret = DBUpdateValidateMobile(userId, type, mobileNo, validatecode, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBAddSmsUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string mobileNo; - __is->read(userId); - __is->read(mobileNo); - ::std::string account; - ::Ice::Int __ret = DBAddSmsUser(userId, mobileNo, account, __current); - __os->write(account); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBBindMobile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string mobileNo; - ::Ice::Int balance; - __is->read(userId); - __is->read(mobileNo); - __is->read(balance); - ::Ice::Int __ret = DBBindMobile(userId, mobileNo, balance, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsUserInfoByUid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::ALiIMDBSms::SSmsUserInfo smsUserInfo; - ::Ice::Int __ret = DBGetSmsUserInfoByUid(userId, smsUserInfo, __current); - smsUserInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsUserInfoByAccount(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string account; - __is->read(account); - ::ALiIMDBSms::SSmsUserInfo smsUserInfo; - ::Ice::Int __ret = DBGetSmsUserInfoByAccount(account, smsUserInfo, __current); - smsUserInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsUserInfoByMobile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string mobileNo; - __is->read(mobileNo); - ::ALiIMDBSms::SSmsUserInfo smsUserInfo; - ::Ice::Int __ret = DBGetSmsUserInfoByMobile(mobileNo, smsUserInfo, __current); - smsUserInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsUserMsgInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int todaySmsCount; - ::Ice::Int yesterdaySmsCount; - ::Ice::Int __ret = DBGetSmsUserMsgInfo(userId, todaySmsCount, yesterdaySmsCount, __current); - __os->write(todaySmsCount); - __os->write(yesterdaySmsCount); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBAddSmsFunctionLog(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int functionType; - ::Ice::Int action; - ::std::string mobileNo; - ::Ice::Int status; - ::Ice::Int fromType; - ::std::string errorDesc; - __is->read(userId); - __is->read(functionType); - __is->read(action); - __is->read(mobileNo); - __is->read(status); - __is->read(fromType); - __is->read(errorDesc); - ::Ice::Int __ret = DBAddSmsFunctionLog(userId, functionType, action, mobileNo, status, fromType, errorDesc, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBSetMobileOnlineFlag(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int onlineFlag; - __is->read(userId); - __is->read(onlineFlag); - ::Ice::Int __ret = DBSetMobileOnlineFlag(userId, onlineFlag, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBSetMobileBindFlag(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int bindFlag; - __is->read(userId); - __is->read(bindFlag); - ::Ice::Int __ret = DBSetMobileBindFlag(userId, bindFlag, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBSetMessageRevFlag(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int revFlag; - __is->read(userId); - __is->read(revFlag); - ::Ice::Int __ret = DBSetMessageRevFlag(userId, revFlag, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBSetSmsRebind(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string mobileNo; - __is->read(userId); - __is->read(mobileNo); - ::Ice::Int __ret = DBSetSmsRebind(userId, mobileNo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBAddSmsMessage(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBSms::SSmsMsgInfo smsMsgInfo; - smsMsgInfo.__read(__is); - ::std::string msgId; - ::Ice::Int __ret = DBAddSmsMessage(smsMsgInfo, msgId, __current); - __os->write(msgId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsMessage(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string msgId; - __is->read(msgId); - ::ALiIMDBSms::SSmsMsgInfo smsMsgInfo; - ::Ice::Int __ret = DBGetSmsMessage(msgId, smsMsgInfo, __current); - smsMsgInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsMessage2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string transId; - __is->read(transId); - ::ALiIMDBSms::SSmsMsgInfo smsMsgInfo; - ::Ice::Int __ret = DBGetSmsMessage2(transId, smsMsgInfo, __current); - smsMsgInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBUpdateSmsMsgStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string msgId; - ::Ice::Int status; - ::std::string errorDesc; - __is->read(msgId); - __is->read(status); - __is->read(errorDesc); - ::Ice::Int __ret = DBUpdateSmsMsgStatus(msgId, status, errorDesc, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBUpdateSmsMsgStatus2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string transId; - ::Ice::Int status; - ::std::string errorDesc; - __is->read(transId); - __is->read(status); - __is->read(errorDesc); - ::Ice::Int __ret = DBUpdateSmsMsgStatus2(transId, status, errorDesc, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsMailing(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int flag; - ::std::string address; - ::Ice::Int __ret = DBGetSmsMailing(userId, flag, address, __current); - __os->write(flag); - __os->write(address); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBUpdateSmsMailing(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int flag; - ::std::string address; - __is->read(userId); - __is->read(flag); - __is->read(address); - ::Ice::Int __ret = DBUpdateSmsMailing(userId, flag, address, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsDiscount(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Float discount; - ::Ice::Int __ret = DBGetSmsDiscount(userId, discount, __current); - __os->write(discount); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsNeedChargeRecord(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int inmins; - ::Ice::Int type; - __is->read(inmins); - __is->read(type); - ::std::string seqid; - ::std::string account; - ::std::string passwd; - ::Ice::Int denomination; - ::std::string uid; - ::Ice::Int trytime; - ::std::string payId; - ::Ice::Int __ret = DBGetSmsNeedChargeRecord(inmins, type, seqid, account, passwd, denomination, uid, trytime, payId, __current); - __os->write(seqid); - __os->write(account); - __os->write(passwd); - __os->write(denomination); - __os->write(uid); - __os->write(trytime); - __os->write(payId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsChargeRecordInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string seqid; - __is->read(seqid); - ::std::string account; - ::std::string passwd; - ::Ice::Int denomination; - ::std::string uid; - ::Ice::Int status; - ::Ice::Int __ret = DBGetSmsChargeRecordInfo(seqid, account, passwd, denomination, uid, status, __current); - __os->write(account); - __os->write(passwd); - __os->write(denomination); - __os->write(uid); - __os->write(status); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsChargeRecords(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string beginTime; - ::std::string endTime; - __is->read(uid); - __is->read(beginTime); - __is->read(endTime); - ::ALiIMDBSms::SChargeInfoSeq chargeRecordList; - ::Ice::Int __ret = DBGetSmsChargeRecords(uid, beginTime, endTime, chargeRecordList, __current); - if(chargeRecordList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBSms::__write(__os, &chargeRecordList[0], &chargeRecordList[0] + chargeRecordList.size(), ::ALiIMDBSms::__U__SChargeInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBAddSmsChargeRecord(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int type; - ::std::string account; - ::std::string password; - ::Ice::Int denomination; - ::Ice::Int money; - ::std::string payId; - __is->read(userId); - __is->read(type); - __is->read(account); - __is->read(password); - __is->read(denomination); - __is->read(money); - __is->read(payId); - ::std::string chargeId; - ::Ice::Int __ret = DBAddSmsChargeRecord(userId, type, account, password, denomination, money, payId, chargeId, __current); - __os->write(chargeId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBUpdateSmsChargeRecordStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string seqId; - ::Ice::Int status; - ::std::string desc; - __is->read(seqId); - __is->read(status); - __is->read(desc); - ::Ice::Int __ret = DBUpdateSmsChargeRecordStatus(seqId, status, desc, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsBlacks(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string mobileNo; - __is->read(mobileNo); - ::Ice::StringSeq blackNoList; - ::Ice::Int __ret = DBGetSmsBlacks(mobileNo, blackNoList, __current); - if(blackNoList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&blackNoList[0], &blackNoList[0] + blackNoList.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBAddSmsBlack(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string mobileNo; - ::std::string blackNo; - __is->read(mobileNo); - __is->read(blackNo); - ::Ice::Int __ret = DBAddSmsBlack(mobileNo, blackNo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBCheckSmsBlack(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string fromMobile; - ::std::string toMobile; - __is->read(fromMobile); - __is->read(toMobile); - ::Ice::Int blackFlag; - ::Ice::Int __ret = DBCheckSmsBlack(fromMobile, toMobile, blackFlag, __current); - __os->write(blackFlag); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBDelSmsBlack(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string mobileNo; - ::std::string blackNo; - ::std::string userId; - __is->read(mobileNo); - __is->read(blackNo); - __is->read(userId); - ::Ice::Int __ret = DBDelSmsBlack(mobileNo, blackNo, userId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetRemindTime(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string mobileNo; - __is->read(mobileNo); - ::std::string remindTime; - ::Ice::Int __ret = DBGetRemindTime(mobileNo, remindTime, __current); - __os->write(remindTime); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBUpdateRemindTime(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string mobileNo; - ::std::string remindTime; - __is->read(mobileNo); - __is->read(remindTime); - ::Ice::Int __ret = DBUpdateRemindTime(mobileNo, remindTime, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetAllMsgRevUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBSms::SSmsRevUserSeq smsRevUserList; - ::Ice::Int __ret = DBGetAllMsgRevUser(smsRevUserList, __current); - if(smsRevUserList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&smsRevUserList[0], &smsRevUserList[0] + smsRevUserList.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsTempUsers(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBSms::SSmsTempUserSeq smsTempUserList; - ::Ice::Int __ret = DBGetSmsTempUsers(smsTempUserList, __current); - if(smsTempUserList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBSms::__write(__os, &smsTempUserList[0], &smsTempUserList[0] + smsTempUserList.size(), ::ALiIMDBSms::__U__SSmsTempUserSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBAddSmsTempUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBSms::SSmsTempUser smsTempUser; - smsTempUser.__read(__is); - ::Ice::Int __ret = DBAddSmsTempUser(smsTempUser, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBDelSmsTempUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string account; - __is->read(account); - ::Ice::Int __ret = DBDelSmsTempUser(account, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetUserBaseInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::ALiIMDBSms::SUserBaseInfo userInfo; - ::Ice::Int __ret = DBGetUserBaseInfo(userId, userInfo, __current); - userInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBGetSmsUserBalance(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::ALiIMDBSms::SSmsUserBalance balanceInfo; - ::Ice::Int __ret = DBGetSmsUserBalance(userId, balanceInfo, __current); - balanceInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBUpdatePresentRemindFlag(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int flag; - __is->read(userId); - __is->read(flag); - ::Ice::Int __ret = DBUpdatePresentRemindFlag(userId, flag, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::___DBFeedBack(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string beginTime; - ::std::string endTime; - __is->read(beginTime); - __is->read(endTime); - ::Ice::Int feeNum; - ::Ice::Int presentNum; - ::Ice::Int __ret = DBFeedBack(beginTime, endTime, feeNum, presentNum, __current); - __os->write(feeNum); - __os->write(presentNum); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __ALiIMDBSms__SmsDBProxyMgr_all[] = -{ - "DBAddSmsBlack", - "DBAddSmsChargeRecord", - "DBAddSmsFunctionLog", - "DBAddSmsMessage", - "DBAddSmsTempUser", - "DBAddSmsUser", - "DBAddValidate", - "DBBindMobile", - "DBCheckSmsBlack", - "DBDelSmsBlack", - "DBDelSmsTempUser", - "DBFeedBack", - "DBGetAllMsgRevUser", - "DBGetRemindTime", - "DBGetSmsBlacks", - "DBGetSmsChargeRecordInfo", - "DBGetSmsChargeRecords", - "DBGetSmsDiscount", - "DBGetSmsMailing", - "DBGetSmsMessage", - "DBGetSmsMessage2", - "DBGetSmsNeedChargeRecord", - "DBGetSmsTempUsers", - "DBGetSmsUserBalance", - "DBGetSmsUserInfoByAccount", - "DBGetSmsUserInfoByMobile", - "DBGetSmsUserInfoByUid", - "DBGetSmsUserMsgInfo", - "DBGetUserBaseInfo", - "DBGetValidateInfoWithUpdate", - "DBRemoveValidate", - "DBSetMessageRevFlag", - "DBSetMobileBindFlag", - "DBSetMobileOnlineFlag", - "DBSetSmsRebind", - "DBUpdatePresentRemindFlag", - "DBUpdateRemindTime", - "DBUpdateSmsChargeRecordStatus", - "DBUpdateSmsMailing", - "DBUpdateSmsMsgStatus", - "DBUpdateSmsMsgStatus2", - "DBUpdateValidateMobile", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -ALiIMDBSms::SmsDBProxyMgr::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__ALiIMDBSms__SmsDBProxyMgr_all, __ALiIMDBSms__SmsDBProxyMgr_all + 46, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __ALiIMDBSms__SmsDBProxyMgr_all) - { - case 0: - { - return ___DBAddSmsBlack(in, current); - } - case 1: - { - return ___DBAddSmsChargeRecord(in, current); - } - case 2: - { - return ___DBAddSmsFunctionLog(in, current); - } - case 3: - { - return ___DBAddSmsMessage(in, current); - } - case 4: - { - return ___DBAddSmsTempUser(in, current); - } - case 5: - { - return ___DBAddSmsUser(in, current); - } - case 6: - { - return ___DBAddValidate(in, current); - } - case 7: - { - return ___DBBindMobile(in, current); - } - case 8: - { - return ___DBCheckSmsBlack(in, current); - } - case 9: - { - return ___DBDelSmsBlack(in, current); - } - case 10: - { - return ___DBDelSmsTempUser(in, current); - } - case 11: - { - return ___DBFeedBack(in, current); - } - case 12: - { - return ___DBGetAllMsgRevUser(in, current); - } - case 13: - { - return ___DBGetRemindTime(in, current); - } - case 14: - { - return ___DBGetSmsBlacks(in, current); - } - case 15: - { - return ___DBGetSmsChargeRecordInfo(in, current); - } - case 16: - { - return ___DBGetSmsChargeRecords(in, current); - } - case 17: - { - return ___DBGetSmsDiscount(in, current); - } - case 18: - { - return ___DBGetSmsMailing(in, current); - } - case 19: - { - return ___DBGetSmsMessage(in, current); - } - case 20: - { - return ___DBGetSmsMessage2(in, current); - } - case 21: - { - return ___DBGetSmsNeedChargeRecord(in, current); - } - case 22: - { - return ___DBGetSmsTempUsers(in, current); - } - case 23: - { - return ___DBGetSmsUserBalance(in, current); - } - case 24: - { - return ___DBGetSmsUserInfoByAccount(in, current); - } - case 25: - { - return ___DBGetSmsUserInfoByMobile(in, current); - } - case 26: - { - return ___DBGetSmsUserInfoByUid(in, current); - } - case 27: - { - return ___DBGetSmsUserMsgInfo(in, current); - } - case 28: - { - return ___DBGetUserBaseInfo(in, current); - } - case 29: - { - return ___DBGetValidateInfoWithUpdate(in, current); - } - case 30: - { - return ___DBRemoveValidate(in, current); - } - case 31: - { - return ___DBSetMessageRevFlag(in, current); - } - case 32: - { - return ___DBSetMobileBindFlag(in, current); - } - case 33: - { - return ___DBSetMobileOnlineFlag(in, current); - } - case 34: - { - return ___DBSetSmsRebind(in, current); - } - case 35: - { - return ___DBUpdatePresentRemindFlag(in, current); - } - case 36: - { - return ___DBUpdateRemindTime(in, current); - } - case 37: - { - return ___DBUpdateSmsChargeRecordStatus(in, current); - } - case 38: - { - return ___DBUpdateSmsMailing(in, current); - } - case 39: - { - return ___DBUpdateSmsMsgStatus(in, current); - } - case 40: - { - return ___DBUpdateSmsMsgStatus2(in, current); - } - case 41: - { - return ___DBUpdateValidateMobile(in, current); - } - case 42: - { - return ___ice_id(in, current); - } - case 43: - { - return ___ice_ids(in, current); - } - case 44: - { - return ___ice_isA(in, current); - } - case 45: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -ALiIMDBSms::SmsDBProxyMgr::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -ALiIMDBSms::SmsDBProxyMgr::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -ALiIMDBSms::SmsDBProxyMgr::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type ALiIMDBSms::SmsDBProxyMgr was not generated with stream support"; - throw ex; -} - -void -ALiIMDBSms::SmsDBProxyMgr::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type ALiIMDBSms::SmsDBProxyMgr was not generated with stream support"; - throw ex; -} - -void -ALiIMDBSms::__patch__SmsDBProxyMgrPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::ALiIMDBSms::SmsDBProxyMgrPtr* p = static_cast< ::ALiIMDBSms::SmsDBProxyMgrPtr*>(__addr); - assert(p); - *p = ::ALiIMDBSms::SmsDBProxyMgrPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::ALiIMDBSms::SmsDBProxyMgr::ice_staticId(); - throw e; - } -} - -bool -ALiIMDBSms::operator==(const ::ALiIMDBSms::SmsDBProxyMgr& l, const ::ALiIMDBSms::SmsDBProxyMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -ALiIMDBSms::operator!=(const ::ALiIMDBSms::SmsDBProxyMgr& l, const ::ALiIMDBSms::SmsDBProxyMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -ALiIMDBSms::operator<(const ::ALiIMDBSms::SmsDBProxyMgr& l, const ::ALiIMDBSms::SmsDBProxyMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -ALiIMDBSms::operator<=(const ::ALiIMDBSms::SmsDBProxyMgr& l, const ::ALiIMDBSms::SmsDBProxyMgr& r) -{ - return l < r || l == r; -} - -bool -ALiIMDBSms::operator>(const ::ALiIMDBSms::SmsDBProxyMgr& l, const ::ALiIMDBSms::SmsDBProxyMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -ALiIMDBSms::operator>=(const ::ALiIMDBSms::SmsDBProxyMgr& l, const ::ALiIMDBSms::SmsDBProxyMgr& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/dbsmsstructs.cpp b/features/aliww/source/dbsmsstructs.cpp deleted file mode 100644 index 3018d36..0000000 --- a/features/aliww/source/dbsmsstructs.cpp +++ /dev/null @@ -1,982 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbsmsstructs.ice' - -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -bool -ALiIMDBSms::SSmsUserInfo::operator==(const SSmsUserInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBSms::SSmsUserInfo::operator!=(const SSmsUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(bindFlag != __rhs.bindFlag) - { - return true; - } - if(mobileOnlineFlag != __rhs.mobileOnlineFlag) - { - return true; - } - if(revFlag != __rhs.revFlag) - { - return true; - } - if(account != __rhs.account) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(mobileNo != __rhs.mobileNo) - { - return true; - } - if(balance != __rhs.balance) - { - return true; - } - return false; -} - -bool -ALiIMDBSms::SSmsUserInfo::operator<(const SSmsUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(bindFlag < __rhs.bindFlag) - { - return true; - } - else if(__rhs.bindFlag < bindFlag) - { - return false; - } - if(mobileOnlineFlag < __rhs.mobileOnlineFlag) - { - return true; - } - else if(__rhs.mobileOnlineFlag < mobileOnlineFlag) - { - return false; - } - if(revFlag < __rhs.revFlag) - { - return true; - } - else if(__rhs.revFlag < revFlag) - { - return false; - } - if(account < __rhs.account) - { - return true; - } - else if(__rhs.account < account) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(mobileNo < __rhs.mobileNo) - { - return true; - } - else if(__rhs.mobileNo < mobileNo) - { - return false; - } - if(balance < __rhs.balance) - { - return true; - } - else if(__rhs.balance < balance) - { - return false; - } - return false; -} - -void -ALiIMDBSms::SSmsUserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(bindFlag); - __os->write(mobileOnlineFlag); - __os->write(revFlag); - __os->write(account); - __os->write(password); - __os->write(mobileNo); - __os->write(balance); -} - -void -ALiIMDBSms::SSmsUserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(bindFlag); - __is->read(mobileOnlineFlag); - __is->read(revFlag); - __is->read(account); - __is->read(password); - __is->read(mobileNo); - __is->read(balance); -} - -bool -ALiIMDBSms::SSmsMsgInfo::operator==(const SSmsMsgInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBSms::SSmsMsgInfo::operator!=(const SSmsMsgInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(msgId != __rhs.msgId) - { - return true; - } - if(inoutType != __rhs.inoutType) - { - return true; - } - if(infoType != __rhs.infoType) - { - return true; - } - if(payType != __rhs.payType) - { - return true; - } - if(fromId != __rhs.fromId) - { - return true; - } - if(fromMobile != __rhs.fromMobile) - { - return true; - } - if(toId != __rhs.toId) - { - return true; - } - if(toMobile != __rhs.toMobile) - { - return true; - } - if(content != __rhs.content) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(errorDesc != __rhs.errorDesc) - { - return true; - } - if(transId != __rhs.transId) - { - return true; - } - if(sendTime != __rhs.sendTime) - { - return true; - } - return false; -} - -bool -ALiIMDBSms::SSmsMsgInfo::operator<(const SSmsMsgInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(msgId < __rhs.msgId) - { - return true; - } - else if(__rhs.msgId < msgId) - { - return false; - } - if(inoutType < __rhs.inoutType) - { - return true; - } - else if(__rhs.inoutType < inoutType) - { - return false; - } - if(infoType < __rhs.infoType) - { - return true; - } - else if(__rhs.infoType < infoType) - { - return false; - } - if(payType < __rhs.payType) - { - return true; - } - else if(__rhs.payType < payType) - { - return false; - } - if(fromId < __rhs.fromId) - { - return true; - } - else if(__rhs.fromId < fromId) - { - return false; - } - if(fromMobile < __rhs.fromMobile) - { - return true; - } - else if(__rhs.fromMobile < fromMobile) - { - return false; - } - if(toId < __rhs.toId) - { - return true; - } - else if(__rhs.toId < toId) - { - return false; - } - if(toMobile < __rhs.toMobile) - { - return true; - } - else if(__rhs.toMobile < toMobile) - { - return false; - } - if(content < __rhs.content) - { - return true; - } - else if(__rhs.content < content) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(errorDesc < __rhs.errorDesc) - { - return true; - } - else if(__rhs.errorDesc < errorDesc) - { - return false; - } - if(transId < __rhs.transId) - { - return true; - } - else if(__rhs.transId < transId) - { - return false; - } - if(sendTime < __rhs.sendTime) - { - return true; - } - else if(__rhs.sendTime < sendTime) - { - return false; - } - return false; -} - -void -ALiIMDBSms::SSmsMsgInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(msgId); - __os->write(inoutType); - __os->write(infoType); - __os->write(payType); - __os->write(fromId); - __os->write(fromMobile); - __os->write(toId); - __os->write(toMobile); - __os->write(content); - __os->write(status); - __os->write(errorDesc); - __os->write(transId); - __os->write(sendTime); -} - -void -ALiIMDBSms::SSmsMsgInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(msgId); - __is->read(inoutType); - __is->read(infoType); - __is->read(payType); - __is->read(fromId); - __is->read(fromMobile); - __is->read(toId); - __is->read(toMobile); - __is->read(content); - __is->read(status); - __is->read(errorDesc); - __is->read(transId); - __is->read(sendTime); -} - -bool -ALiIMDBSms::SChargeInfo::operator==(const SChargeInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBSms::SChargeInfo::operator!=(const SChargeInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(chargeSeqId != __rhs.chargeSeqId) - { - return true; - } - if(paySeqId != __rhs.paySeqId) - { - return true; - } - if(chargeBeginTime != __rhs.chargeBeginTime) - { - return true; - } - if(denomination != __rhs.denomination) - { - return true; - } - if(payRealMoney != __rhs.payRealMoney) - { - return true; - } - if(chargeStatus != __rhs.chargeStatus) - { - return true; - } - if(payStatus != __rhs.payStatus) - { - return true; - } - return false; -} - -bool -ALiIMDBSms::SChargeInfo::operator<(const SChargeInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(chargeSeqId < __rhs.chargeSeqId) - { - return true; - } - else if(__rhs.chargeSeqId < chargeSeqId) - { - return false; - } - if(paySeqId < __rhs.paySeqId) - { - return true; - } - else if(__rhs.paySeqId < paySeqId) - { - return false; - } - if(chargeBeginTime < __rhs.chargeBeginTime) - { - return true; - } - else if(__rhs.chargeBeginTime < chargeBeginTime) - { - return false; - } - if(denomination < __rhs.denomination) - { - return true; - } - else if(__rhs.denomination < denomination) - { - return false; - } - if(payRealMoney < __rhs.payRealMoney) - { - return true; - } - else if(__rhs.payRealMoney < payRealMoney) - { - return false; - } - if(chargeStatus < __rhs.chargeStatus) - { - return true; - } - else if(__rhs.chargeStatus < chargeStatus) - { - return false; - } - if(payStatus < __rhs.payStatus) - { - return true; - } - else if(__rhs.payStatus < payStatus) - { - return false; - } - return false; -} - -void -ALiIMDBSms::SChargeInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(chargeSeqId); - __os->write(paySeqId); - __os->write(chargeBeginTime); - __os->write(denomination); - __os->write(payRealMoney); - __os->write(chargeStatus); - __os->write(payStatus); -} - -void -ALiIMDBSms::SChargeInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(chargeSeqId); - __is->read(paySeqId); - __is->read(chargeBeginTime); - __is->read(denomination); - __is->read(payRealMoney); - __is->read(chargeStatus); - __is->read(payStatus); -} - -bool -ALiIMDBSms::SSmsTempUser::operator==(const SSmsTempUser& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBSms::SSmsTempUser::operator!=(const SSmsTempUser& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(account != __rhs.account) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(userId != __rhs.userId) - { - return true; - } - if(addTime != __rhs.addTime) - { - return true; - } - return false; -} - -bool -ALiIMDBSms::SSmsTempUser::operator<(const SSmsTempUser& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(account < __rhs.account) - { - return true; - } - else if(__rhs.account < account) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(addTime < __rhs.addTime) - { - return true; - } - else if(__rhs.addTime < addTime) - { - return false; - } - return false; -} - -void -ALiIMDBSms::SSmsTempUser::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(account); - __os->write(password); - __os->write(userId); - __os->write(addTime); -} - -void -ALiIMDBSms::SSmsTempUser::__read(::IceInternal::BasicStream* __is) -{ - __is->read(account); - __is->read(password); - __is->read(userId); - __is->read(addTime); -} - -bool -ALiIMDBSms::SUserBaseInfo::operator==(const SUserBaseInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBSms::SUserBaseInfo::operator!=(const SUserBaseInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(userName != __rhs.userName) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobtitle != __rhs.jobtitle) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - return false; -} - -bool -ALiIMDBSms::SUserBaseInfo::operator<(const SUserBaseInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(userName < __rhs.userName) - { - return true; - } - else if(__rhs.userName < userName) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobtitle < __rhs.jobtitle) - { - return true; - } - else if(__rhs.jobtitle < jobtitle) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - return false; -} - -void -ALiIMDBSms::SUserBaseInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(userName); - __os->write(email); - __os->write(company); - __os->write(jobtitle); - __os->write(address); -} - -void -ALiIMDBSms::SUserBaseInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(userName); - __is->read(email); - __is->read(company); - __is->read(jobtitle); - __is->read(address); -} - -bool -ALiIMDBSms::SSmsUserBalance::operator==(const SSmsUserBalance& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBSms::SSmsUserBalance::operator!=(const SSmsUserBalance& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(balance != __rhs.balance) - { - return true; - } - if(presentBalance != __rhs.presentBalance) - { - return true; - } - if(presentExpireTime != __rhs.presentExpireTime) - { - return true; - } - if(presentRemindFlag != __rhs.presentRemindFlag) - { - return true; - } - return false; -} - -bool -ALiIMDBSms::SSmsUserBalance::operator<(const SSmsUserBalance& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(balance < __rhs.balance) - { - return true; - } - else if(__rhs.balance < balance) - { - return false; - } - if(presentBalance < __rhs.presentBalance) - { - return true; - } - else if(__rhs.presentBalance < presentBalance) - { - return false; - } - if(presentExpireTime < __rhs.presentExpireTime) - { - return true; - } - else if(__rhs.presentExpireTime < presentExpireTime) - { - return false; - } - if(presentRemindFlag < __rhs.presentRemindFlag) - { - return true; - } - else if(__rhs.presentRemindFlag < presentRemindFlag) - { - return false; - } - return false; -} - -void -ALiIMDBSms::SSmsUserBalance::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(balance); - __os->write(presentBalance); - __os->write(presentExpireTime); - __os->write(presentRemindFlag); -} - -void -ALiIMDBSms::SSmsUserBalance::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(balance); - __is->read(presentBalance); - __is->read(presentExpireTime); - __is->read(presentRemindFlag); -} - -void -ALiIMDBSms::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBSms::SSmsUserInfo* begin, const ::ALiIMDBSms::SSmsUserInfo* end, ::ALiIMDBSms::__U__SSmsUserInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBSms::__read(::IceInternal::BasicStream* __is, ::ALiIMDBSms::SSmsUserInfoSeq& v, ::ALiIMDBSms::__U__SSmsUserInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 20); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -ALiIMDBSms::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBSms::SSmsMsgInfo* begin, const ::ALiIMDBSms::SSmsMsgInfo* end, ::ALiIMDBSms::__U__SSmsMsgInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBSms::__read(::IceInternal::BasicStream* __is, ::ALiIMDBSms::SSmsMsgInfoSeq& v, ::ALiIMDBSms::__U__SSmsMsgInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 25); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -ALiIMDBSms::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBSms::SChargeInfo* begin, const ::ALiIMDBSms::SChargeInfo* end, ::ALiIMDBSms::__U__SChargeInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBSms::__read(::IceInternal::BasicStream* __is, ::ALiIMDBSms::SChargeInfoSeq& v, ::ALiIMDBSms::__U__SChargeInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 19); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -ALiIMDBSms::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBSms::SSmsTempUser* begin, const ::ALiIMDBSms::SSmsTempUser* end, ::ALiIMDBSms::__U__SSmsTempUserSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBSms::__read(::IceInternal::BasicStream* __is, ::ALiIMDBSms::SSmsTempUserSeq& v, ::ALiIMDBSms::__U__SSmsTempUserSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 4); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -ALiIMDBSms::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBSms::SSmsUserBalance* begin, const ::ALiIMDBSms::SSmsUserBalance* end, ::ALiIMDBSms::__U__SSmsUserBalanceSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBSms::__read(::IceInternal::BasicStream* __is, ::ALiIMDBSms::SSmsUserBalanceSeq& v, ::ALiIMDBSms::__U__SSmsUserBalanceSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 14); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} diff --git a/features/aliww/source/dbspacedatadefine.cpp b/features/aliww/source/dbspacedatadefine.cpp deleted file mode 100644 index 38a3e0f..0000000 --- a/features/aliww/source/dbspacedatadefine.cpp +++ /dev/null @@ -1,323 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbspacedatadefine.ice' - -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -bool -spaceContact::SICESpaceContactInfo::operator==(const SICESpaceContactInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -spaceContact::SICESpaceContactInfo::operator!=(const SICESpaceContactInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(contactId != __rhs.contactId) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(nickName != __rhs.nickName) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(spaceCreateTime != __rhs.spaceCreateTime) - { - return true; - } - if(cid != __rhs.cid) - { - return true; - } - if(spacecnttype != __rhs.spacecnttype) - { - return true; - } - if(modseqid != __rhs.modseqid) - { - return true; - } - return false; -} - -bool -spaceContact::SICESpaceContactInfo::operator<(const SICESpaceContactInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(contactId < __rhs.contactId) - { - return true; - } - else if(__rhs.contactId < contactId) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(nickName < __rhs.nickName) - { - return true; - } - else if(__rhs.nickName < nickName) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(spaceCreateTime < __rhs.spaceCreateTime) - { - return true; - } - else if(__rhs.spaceCreateTime < spaceCreateTime) - { - return false; - } - if(cid < __rhs.cid) - { - return true; - } - else if(__rhs.cid < cid) - { - return false; - } - if(spacecnttype < __rhs.spacecnttype) - { - return true; - } - else if(__rhs.spacecnttype < spacecnttype) - { - return false; - } - if(modseqid < __rhs.modseqid) - { - return true; - } - else if(__rhs.modseqid < modseqid) - { - return false; - } - return false; -} - -void -spaceContact::SICESpaceContactInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(contactId); - __os->write(groupId); - __os->write(nickName); - __os->write(status); - __os->write(spaceCreateTime); - __os->write(cid); - __os->write(spacecnttype); - __os->write(modseqid); -} - -void -spaceContact::SICESpaceContactInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(contactId); - __is->read(groupId); - __is->read(nickName); - __is->read(status); - __is->read(spaceCreateTime); - __is->read(cid); - __is->read(spacecnttype); - __is->read(modseqid); -} - -bool -spaceContact::SICESpaceGroupInfo::operator==(const SICESpaceGroupInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -spaceContact::SICESpaceGroupInfo::operator!=(const SICESpaceGroupInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(parentId != __rhs.parentId) - { - return true; - } - if(groupName != __rhs.groupName) - { - return true; - } - if(cntNum != __rhs.cntNum) - { - return true; - } - return false; -} - -bool -spaceContact::SICESpaceGroupInfo::operator<(const SICESpaceGroupInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(parentId < __rhs.parentId) - { - return true; - } - else if(__rhs.parentId < parentId) - { - return false; - } - if(groupName < __rhs.groupName) - { - return true; - } - else if(__rhs.groupName < groupName) - { - return false; - } - if(cntNum < __rhs.cntNum) - { - return true; - } - else if(__rhs.cntNum < cntNum) - { - return false; - } - return false; -} - -void -spaceContact::SICESpaceGroupInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(groupId); - __os->write(parentId); - __os->write(groupName); - __os->write(cntNum); -} - -void -spaceContact::SICESpaceGroupInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(groupId); - __is->read(parentId); - __is->read(groupName); - __is->read(cntNum); -} - -void -spaceContact::__write(::IceInternal::BasicStream* __os, const ::spaceContact::SICESpaceGroupInfo* begin, const ::spaceContact::SICESpaceGroupInfo* end, ::spaceContact::__U__SICESpaceGroupInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -spaceContact::__read(::IceInternal::BasicStream* __is, ::spaceContact::SICESpaceGroupInfoSeq& v, ::spaceContact::__U__SICESpaceGroupInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 21); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -spaceContact::__write(::IceInternal::BasicStream* __os, const ::spaceContact::SICESpaceContactInfo* begin, const ::spaceContact::SICESpaceContactInfo* end, ::spaceContact::__U__SICESpaceContactInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -spaceContact::__read(::IceInternal::BasicStream* __is, ::spaceContact::SICESpaceContactInfoSeq& v, ::spaceContact::__U__SICESpaceContactInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 15); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} diff --git a/features/aliww/source/dbss_v5_pack.cpp b/features/aliww/source/dbss_v5_pack.cpp deleted file mode 100644 index 398762f..0000000 --- a/features/aliww/source/dbss_v5_pack.cpp +++ /dev/null @@ -1,77 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: dbss_v5_pack.cpp -// Date: 2011-01-30 12:50:05 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "dbss_v5_pack.h" - -void CSsReqSmsRevimmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssV5Head.Size()) - m_ssV5Head.m_len = 0; - else - m_ssV5Head.m_len = strData.size() - m_ssV5Head.Size(); - if(m_ssV5Head.m_cmd == 0) m_ssV5Head.m_cmd = SS_REQ_SMS_REVIMMSG; - m_ssV5Head.PackData(strData); -} - -void CSsReqSmsRevimmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_ssV5Head.Size() + 7); - SetOutCursor( m_ssV5Head.Size() ); - (*this) << m_fromId; - (*this) << m_toId; - (*this) << m_message; - m_ssV5Head.m_cc = CalcCheckCode(strData, m_ssV5Head.Size()); - FormData(m_ssV5Head.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsReqSmsRevimmsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsReqSmsRevimmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_ssV5Head.Size()); - uLongf nHeadLen = m_ssV5Head.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_ssV5Head.Size()); - m_ssV5Head.ResetInBuff(strData); - if(checkCode != m_ssV5Head.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - (*this) >> m_fromId; - (*this) >> m_toId; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsReqSmsRevimmsg::UnpackData(string& strData) -{ - m_ssV5Head.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/dbtbsservice60.cpp b/features/aliww/source/dbtbsservice60.cpp deleted file mode 100644 index 4f7b352..0000000 --- a/features/aliww/source/dbtbsservice60.cpp +++ /dev/null @@ -1,9078 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbtbsservice60.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBStartTribe_name = "DBStartTribe"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeInfo_name = "DBGetTribeInfo"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeInfo_name = "DBUpdateTribeInfo"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeMaster_name = "DBUpdateTribeMaster"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeActiveDegree_name = "DBGetTribeActiveDegree"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeActDegree_name = "DBUpdateTribeActDegree"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBDeleteTribe_name = "DBDeleteTribe"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetAddedTribeNum_name = "DBGetAddedTribeNum"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBCheckAddedTribeFull_name = "DBCheckAddedTribeFull"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMemberNum_name = "DBGetTribeMemberNum"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeMember_name = "DBAddTribeMember"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__TCAddTribeMember_name = "TCAddTribeMember"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMember_name = "DBGetTribeMember"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMemberInfo_name = "DBGetTribeMemberInfo"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMemberInfo2_name = "DBGetTribeMemberInfo2"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribe_name = "DBGetUserTribe"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribe2_name = "DBGetUserTribe2"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateMemberLevel_name = "DBUpdateMemberLevel"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateLastMsgId_name = "DBUpdateLastMsgId"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBDeleteMember_name = "DBDeleteMember"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeOfflineMsg_name = "DBAddTribeOfflineMsg"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeOfflineMsg_name = "DBGetTribeOfflineMsg"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBDelTribeOfflineMsg_name = "DBDelTribeOfflineMsg"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeOffMngMsg_name = "DBAddTribeOffMngMsg"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeOffMngMsg_name = "DBGetTribeOffMngMsg"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBDelTribeOffMngMsg_name = "DBDelTribeOffMngMsg"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribeConfig_name = "DBGetUserTribeConfig"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateUserTribeConfig_name = "DBUpdateUserTribeConfig"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeCard_name = "DBUpdateTribeCard"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeCard_name = "DBGetTribeCard"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateMemberActDegree_name = "DBUpdateMemberActDegree"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeGroup_name = "DBGetTribeGroup"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeGroup_name = "DBAddTribeGroup"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeGroup_name = "DBUpdateTribeGroup"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBDelTribeGroup_name = "DBDelTribeGroup"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateUserGroup_name = "DBUpdateUserGroup"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBAddStarMember_name = "DBAddStarMember"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBDelStarMember_name = "DBDelStarMember"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateOpenTribe_name = "DBUpdateOpenTribe"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBNotifyTribeInfo_name = "DBNotifyTribeInfo"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeInfo2_name = "DBGetTribeInfo2"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeInfo3_name = "DBGetTribeInfo3"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBCreateTribe_name = "DBCreateTribe"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeIdByWebId_name = "DBGetTribeIdByWebId"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBAddWebTribeMember_name = "DBAddWebTribeMember"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBDeleteWebMember_name = "DBDeleteWebMember"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetAllWebTribeGroup_name = "DBGetAllWebTribeGroup"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetWebTribeGroup_name = "DBGetWebTribeGroup"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetWebTribeGroupById_name = "DBGetWebTribeGroupById"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBAddWebTribeGroup_name = "DBAddWebTribeGroup"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateWebTribeGroupName_name = "DBUpdateWebTribeGroupName"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBDelWebTribeGroup_name = "DBDelWebTribeGroup"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserWebTribeGroup_name = "DBGetUserWebTribeGroup"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserWebTribe_name = "DBGetUserWebTribe"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeInfo2_name = "DBUpdateTribeInfo2"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBNotifyWebTribeInfo_name = "DBNotifyWebTribeInfo"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBSyncWebTribe_name = "DBSyncWebTribe"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetWebUserDisactiveTribe_name = "DBGetWebUserDisactiveTribe"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetWebUserActiveTribe_name = "DBGetWebUserActiveTribe"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBActiveTribeWebMember_name = "DBActiveTribeWebMember"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBDisactiveTribeWebMember_name = "DBDisactiveTribeWebMember"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBDeleteWebTribe_name = "DBDeleteWebTribe"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeMsgSetting_name = "DBUpdateTribeMsgSetting"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBTransferTribe_name = "DBTransferTribe"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBCheckAddedTribeFull2_name = "DBCheckAddedTribeFull2"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeLimit_name = "DBUpdateTribeLimit"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBIncrUserTribes_name = "DBIncrUserTribes"; - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribeNum_name = "DBGetUserTribeNum"; - -void -IceInternal::incRef(::ALiIMDBTribe::TribeDBProxyMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::ALiIMDBTribe::TribeDBProxyMgr* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::ALiIMDBTribe::TribeDBProxyMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::ALiIMDBTribe::TribeDBProxyMgr* p) -{ - p->__decRef(); -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::TribeDBProxyMgrPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -ALiIMDBTribe::__read(::IceInternal::BasicStream* __is, ::ALiIMDBTribe::TribeDBProxyMgrPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr; - v->__copyFrom(proxy); - } -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::TribeDBProxyMgrPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -ALiIMDBTribe::__addObject(const TribeDBProxyMgrPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -ALiIMDBTribe::__usesClasses(const TribeDBProxyMgrPtr& p) -{ - return p->__usesClasses(); -} - -void -ALiIMDBTribe::__decRefUnsafe(const TribeDBProxyMgrPtr& p) -{ - p->__decRefUnsafe(); -} - -void -ALiIMDBTribe::__clearHandleUnsafe(TribeDBProxyMgrPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBStartTribe(const ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBStartTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBStartTribe(tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeInfo(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeInfo(tribeId, tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeInfo(const ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateTribeInfo(tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeMaster(::Ice::Int tribeId, const ::std::string& masterId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeMaster_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateTribeMaster(tribeId, masterId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeActiveDegree(::Ice::Int tribeId, ::Ice::Int& onlineTimes, ::Ice::Double& onlineDegree, ::Ice::Int& discussDegree, ::Ice::Double& rewardDegree, ::Ice::Int& masterOffer, ::Ice::Double& totalDegree, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeActiveDegree_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeActiveDegree(tribeId, onlineTimes, onlineDegree, discussDegree, rewardDegree, masterOffer, totalDegree, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeActDegree(::Ice::Int tribeId, ::Ice::Double onlineDegree, ::Ice::Int discussDegree, ::Ice::Double rewardDegree, ::Ice::Double totalDegree, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeActDegree_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateTribeActDegree(tribeId, onlineDegree, discussDegree, rewardDegree, totalDegree, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBDeleteTribe(::Ice::Int tribeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBDeleteTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBDeleteTribe(tribeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetAddedTribeNum(const ::std::string& userId, ::Ice::Int& tribeNum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetAddedTribeNum_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetAddedTribeNum(userId, tribeNum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBCheckAddedTribeFull(const ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBCheckAddedTribeFull_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBCheckAddedTribeFull(userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeMemberNum(::Ice::Int tribeId, ::Ice::Int level, ::Ice::Int& memberNum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMemberNum_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeMemberNum(tribeId, level, memberNum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBAddTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, const ::std::string& operId, ::Ice::Long groupId, ::Ice::Int& blackStamp, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeMember_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBAddTribeMember(tribeId, memberId, level, operId, groupId, blackStamp, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::TCAddTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Short openFlag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__TCAddTribeMember_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->TCAddTribeMember(tribeId, memberId, level, openFlag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::ALiIMDBTribe::STribeMemberSeq& tribeMemberList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMember_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeMember(tribeId, memberId, level, tribeMemberList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeMemberInfo(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeMemberInfoSeq& tribeMemberInfoList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMemberInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeMemberInfo(tribeId, memberId, tribeMemberInfoList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeMemberInfo2(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeMemberInfoSeq2& tribeMemberInfoList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMemberInfo2_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeMemberInfo2(tribeId, memberId, tribeMemberInfoList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserTribe(const ::std::string& userId, ::ALiIMDBTribe::STribeIdSeq& tribeIdList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetUserTribe(userId, tribeIdList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserTribe2(const ::std::string& userId, ::ALiIMDBTribe::STribeIdSeq2& tribeIdList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribe2_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetUserTribe2(userId, tribeIdList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateMemberLevel(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateMemberLevel_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateMemberLevel(tribeId, memberId, level, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateLastMsgId(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int msgId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateLastMsgId_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateLastMsgId(tribeId, memberId, msgId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBDeleteMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Int& blackStamp, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBDeleteMember_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBDeleteMember(tribeId, memberId, level, blackStamp, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBAddTribeOfflineMsg(::Ice::Int tribeId, const ::std::string& fromId, ::Ice::Int type, const ::std::string& message, ::Ice::Int sendTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeOfflineMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBAddTribeOfflineMsg(tribeId, fromId, type, message, sendTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeOfflineMsg(::Ice::Int tribeId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeOfflineMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeOfflineMsg(tribeId, offlineMsgList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBDelTribeOfflineMsg(::Ice::Int tribeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBDelTribeOfflineMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBDelTribeOfflineMsg(tribeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBAddTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& toId, ::Ice::Int type, const ::std::string& message, ::Ice::Int sendTime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeOffMngMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBAddTribeOffMngMsg(tribeId, toId, type, message, sendTime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeOffMngMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeOffMngMsg(tribeId, memberId, offlineMsgList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBDelTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBDelTribeOffMngMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBDelTribeOffMngMsg(tribeId, memberId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserTribeConfig(const ::std::string& userId, ::Ice::Int& addVerify, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribeConfig_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetUserTribeConfig(userId, addVerify, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateUserTribeConfig(const ::std::string& userId, ::Ice::Int addVerify, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateUserTribeConfig_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateUserTribeConfig(userId, addVerify, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeCard(::Ice::Int tribeId, const ::std::string& memberId, const ::ALiIMDBTribe::STribeCard& tribeCard, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeCard_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateTribeCard(tribeId, memberId, tribeCard, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeCard(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeCard& tribeCard, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeCard_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeCard(tribeId, memberId, tribeCard, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateMemberActDegree(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Double onlineActDegree, ::Ice::Int chatActDegree, ::Ice::Double rewardActDegree, ::Ice::Double totalActDegree, ::Ice::Int lastMsgid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateMemberActDegree_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateMemberActDegree(tribeId, memberId, onlineActDegree, chatActDegree, rewardActDegree, totalActDegree, lastMsgid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeGroup(::Ice::Int tribeId, ::ALiIMDBTribe::STribeGroupSeq& tribeGroupList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeGroup(tribeId, tribeGroupList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBAddTribeGroup(::Ice::Int tribeId, const ::std::string& groupName, ::Ice::Long parentId, ::Ice::Long& groupId, ::Ice::Int& groupStamp, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBAddTribeGroup(tribeId, groupName, parentId, groupId, groupStamp, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeGroup(::Ice::Int tribeId, ::Ice::Long groupId, const ::std::string& groupName, ::Ice::Int& groupStamp, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateTribeGroup(tribeId, groupId, groupName, groupStamp, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBDelTribeGroup(::Ice::Int tribeId, ::Ice::Long groupId, ::Ice::Int& groupStamp, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBDelTribeGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBDelTribeGroup(tribeId, groupId, groupStamp, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateUserGroup(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Long groupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateUserGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateUserGroup(tribeId, memberId, groupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBAddStarMember(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBAddStarMember_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBAddStarMember(tribeId, memberId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBDelStarMember(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBDelStarMember_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBDelStarMember(tribeId, memberId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateOpenTribe(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Short openFlag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateOpenTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateOpenTribe(tribeId, memberId, openFlag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBNotifyTribeInfo(const ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBNotifyTribeInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBNotifyTribeInfo(tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeInfo2(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeInfo2_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeInfo2(tribeId, tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeInfo3(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo3& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeInfo3_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeInfo3(tribeId, tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBCreateTribe(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, ::Ice::Int& tribeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBCreateTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBCreateTribe(tribeInfo, tribeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeIdByWebId(const ::std::string& serviceId, const ::std::string& webid, const ::std::string& webtid, ::Ice::Int& tribeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeIdByWebId_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetTribeIdByWebId(serviceId, webid, webtid, tribeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBAddWebTribeMember(const ::ALiIMDBTribe::STribeMember2& memberInfo, ::Ice::Int& blackStamp, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBAddWebTribeMember_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBAddWebTribeMember(memberInfo, blackStamp, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBDeleteWebMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Int& blackStamp, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBDeleteWebMember_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBDeleteWebMember(tribeId, memberId, level, blackStamp, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetAllWebTribeGroup(::ALiIMDBTribe::SWebTribeGroupSeq& groupList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetAllWebTribeGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetAllWebTribeGroup(groupList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetWebTribeGroup(const ::std::string& serviceId, const ::std::string& webId, ::ALiIMDBTribe::SWebTribeGroup& groupInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetWebTribeGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetWebTribeGroup(serviceId, webId, groupInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetWebTribeGroupById(::Ice::Long groupId, ::ALiIMDBTribe::SWebTribeGroup& groupInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetWebTribeGroupById_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetWebTribeGroupById(groupId, groupInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBAddWebTribeGroup(const ::ALiIMDBTribe::SWebTribeGroup& groupInfo, ::Ice::Long& groupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBAddWebTribeGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBAddWebTribeGroup(groupInfo, groupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateWebTribeGroupName(::Ice::Long groupId, const ::std::string& name, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateWebTribeGroupName_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateWebTribeGroupName(groupId, name, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBDelWebTribeGroup(::Ice::Long groupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBDelWebTribeGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBDelWebTribeGroup(groupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserWebTribeGroup(const ::std::string& userId, ::ALiIMDBTribe::SWebTribeGroupSeq& groupList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetUserWebTribeGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetUserWebTribeGroup(userId, groupList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserWebTribe(const ::std::string& userId, ::ALiIMDBTribe::SWebTribeIdSeq& tribeList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetUserWebTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetUserWebTribe(userId, tribeList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeInfo2(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeInfo2_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateTribeInfo2(tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBNotifyWebTribeInfo(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBNotifyWebTribeInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBNotifyWebTribeInfo(tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBSyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::ALiIMDBTribe::STribeMember2Seq& memberList, ::Ice::Int& tribeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBSyncWebTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBSyncWebTribe(serviceId, webId, tribeInfo, memberList, tribeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetWebUserDisactiveTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, ::Ice::IntSeq& tribeList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetWebUserDisactiveTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetWebUserDisactiveTribe(serviceId, webId, webUid, tribeList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetWebUserActiveTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& userId, ::Ice::IntSeq& tribeList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetWebUserActiveTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetWebUserActiveTribe(serviceId, webId, userId, tribeList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBActiveTribeWebMember(::Ice::Int tribeId, const ::std::string& webuid, const ::std::string& memberId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBActiveTribeWebMember_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBActiveTribeWebMember(tribeId, webuid, memberId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBDisactiveTribeWebMember(::Ice::Int tribeId, const ::std::string& webuid, const ::std::string& memberId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBDisactiveTribeWebMember_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBDisactiveTribeWebMember(tribeId, webuid, memberId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBDeleteWebTribe(::Ice::Int tribeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBDeleteWebTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBDeleteWebTribe(tribeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeMsgSetting(::Ice::Int tribeId, const ::std::string& userId, ::Ice::Short popflag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeMsgSetting_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateTribeMsgSetting(tribeId, userId, popflag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBTransferTribe(::Ice::Int tribeId, const ::std::string& userId, const ::std::string& transferId, ::std::string& vacantId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBTransferTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBTransferTribe(tribeId, userId, transferId, vacantId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBCheckAddedTribeFull2(const ::std::string& userId, bool& limit, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBCheckAddedTribeFull2_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBCheckAddedTribeFull2(userId, limit, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeLimit(::Ice::Int tribeId, ::Ice::Int limit, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeLimit_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBUpdateTribeLimit(tribeId, limit, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBIncrUserTribes(const ::std::string& userId, ::Ice::Int tribeNum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBIncrUserTribes_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBIncrUserTribes(userId, tribeNum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserTribeNum(const ::std::string& userId, ::Ice::Int& tribeNum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribeNum_name); - __delBase = __getDelegate(); - ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr* __del = dynamic_cast< ::IceDelegate::ALiIMDBTribe::TribeDBProxyMgr*>(__delBase.get()); - return __del->DBGetUserTribeNum(userId, tribeNum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::ice_staticId() -{ - return ::ALiIMDBTribe::TribeDBProxyMgr::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::ALiIMDBTribe::TribeDBProxyMgr::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr); -} - -bool -IceProxy::ALiIMDBTribe::operator==(const ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr& l, const ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::ALiIMDBTribe::operator!=(const ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr& l, const ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::ALiIMDBTribe::operator<(const ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr& l, const ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::ALiIMDBTribe::operator<=(const ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr& l, const ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr& r) -{ - return l < r || l == r; -} - -bool -IceProxy::ALiIMDBTribe::operator>(const ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr& l, const ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::ALiIMDBTribe::operator>=(const ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr& l, const ::IceProxy::ALiIMDBTribe::TribeDBProxyMgr& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBStartTribe(const ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBStartTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeInfo(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - tribeInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeInfo(const ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeMaster(::Ice::Int tribeId, const ::std::string& masterId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeMaster_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(masterId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeActiveDegree(::Ice::Int tribeId, ::Ice::Int& onlineTimes, ::Ice::Double& onlineDegree, ::Ice::Int& discussDegree, ::Ice::Double& rewardDegree, ::Ice::Int& masterOffer, ::Ice::Double& totalDegree, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeActiveDegree_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(onlineTimes); - __is->read(onlineDegree); - __is->read(discussDegree); - __is->read(rewardDegree); - __is->read(masterOffer); - __is->read(totalDegree); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeActDegree(::Ice::Int tribeId, ::Ice::Double onlineDegree, ::Ice::Int discussDegree, ::Ice::Double rewardDegree, ::Ice::Double totalDegree, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeActDegree_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(onlineDegree); - __os->write(discussDegree); - __os->write(rewardDegree); - __os->write(totalDegree); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBDeleteTribe(::Ice::Int tribeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBDeleteTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetAddedTribeNum(const ::std::string& userId, ::Ice::Int& tribeNum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetAddedTribeNum_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(tribeNum); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBCheckAddedTribeFull(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBCheckAddedTribeFull_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeMemberNum(::Ice::Int tribeId, ::Ice::Int level, ::Ice::Int& memberNum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMemberNum_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(level); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(memberNum); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBAddTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, const ::std::string& operId, ::Ice::Long groupId, ::Ice::Int& blackStamp, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeMember_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - __os->write(level); - __os->write(operId); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(blackStamp); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::TCAddTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Short openFlag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__TCAddTribeMember_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - __os->write(level); - __os->write(openFlag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::ALiIMDBTribe::STribeMemberSeq& tribeMemberList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMember_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - __os->write(level); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, tribeMemberList, ::ALiIMDBTribe::__U__STribeMemberSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeMemberInfo(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeMemberInfoSeq& tribeMemberInfoList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMemberInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, tribeMemberInfoList, ::ALiIMDBTribe::__U__STribeMemberInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeMemberInfo2(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeMemberInfoSeq2& tribeMemberInfoList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMemberInfo2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, tribeMemberInfoList, ::ALiIMDBTribe::__U__STribeMemberInfoSeq2()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserTribe(const ::std::string& userId, ::ALiIMDBTribe::STribeIdSeq& tribeIdList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, tribeIdList, ::ALiIMDBTribe::__U__STribeIdSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserTribe2(const ::std::string& userId, ::ALiIMDBTribe::STribeIdSeq2& tribeIdList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribe2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, tribeIdList, ::ALiIMDBTribe::__U__STribeIdSeq2()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateMemberLevel(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateMemberLevel_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - __os->write(level); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateLastMsgId(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int msgId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateLastMsgId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - __os->write(msgId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBDeleteMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Int& blackStamp, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBDeleteMember_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - __os->write(level); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(blackStamp); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBAddTribeOfflineMsg(::Ice::Int tribeId, const ::std::string& fromId, ::Ice::Int type, const ::std::string& message, ::Ice::Int sendTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeOfflineMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(fromId); - __os->write(type); - __os->write(message); - __os->write(sendTime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeOfflineMsg(::Ice::Int tribeId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeOfflineMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, offlineMsgList, ::ALiIMDBTribe::__U__STribeOfflineMsgSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBDelTribeOfflineMsg(::Ice::Int tribeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBDelTribeOfflineMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBAddTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& toId, ::Ice::Int type, const ::std::string& message, ::Ice::Int sendTime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeOffMngMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(toId); - __os->write(type); - __os->write(message); - __os->write(sendTime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeOffMngMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, offlineMsgList, ::ALiIMDBTribe::__U__STribeOfflineMsgSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBDelTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBDelTribeOffMngMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserTribeConfig(const ::std::string& userId, ::Ice::Int& addVerify, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribeConfig_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(addVerify); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateUserTribeConfig(const ::std::string& userId, ::Ice::Int addVerify, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateUserTribeConfig_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(addVerify); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeCard(::Ice::Int tribeId, const ::std::string& memberId, const ::ALiIMDBTribe::STribeCard& tribeCard, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeCard_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - tribeCard.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeCard(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeCard& tribeCard, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeCard_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - tribeCard.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateMemberActDegree(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Double onlineActDegree, ::Ice::Int chatActDegree, ::Ice::Double rewardActDegree, ::Ice::Double totalActDegree, ::Ice::Int lastMsgid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateMemberActDegree_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - __os->write(onlineActDegree); - __os->write(chatActDegree); - __os->write(rewardActDegree); - __os->write(totalActDegree); - __os->write(lastMsgid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeGroup(::Ice::Int tribeId, ::ALiIMDBTribe::STribeGroupSeq& tribeGroupList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, tribeGroupList, ::ALiIMDBTribe::__U__STribeGroupSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBAddTribeGroup(::Ice::Int tribeId, const ::std::string& groupName, ::Ice::Long parentId, ::Ice::Long& groupId, ::Ice::Int& groupStamp, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(groupName); - __os->write(parentId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupId); - __is->read(groupStamp); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeGroup(::Ice::Int tribeId, ::Ice::Long groupId, const ::std::string& groupName, ::Ice::Int& groupStamp, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(groupId); - __os->write(groupName); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupStamp); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBDelTribeGroup(::Ice::Int tribeId, ::Ice::Long groupId, ::Ice::Int& groupStamp, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBDelTribeGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupStamp); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateUserGroup(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Long groupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateUserGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBAddStarMember(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBAddStarMember_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBDelStarMember(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBDelStarMember_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateOpenTribe(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Short openFlag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateOpenTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - __os->write(openFlag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBNotifyTribeInfo(const ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBNotifyTribeInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeInfo2(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeInfo2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - tribeInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeInfo3(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo3& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeInfo3_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - tribeInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBCreateTribe(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, ::Ice::Int& tribeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBCreateTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(tribeId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeIdByWebId(const ::std::string& serviceId, const ::std::string& webid, const ::std::string& webtid, ::Ice::Int& tribeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeIdByWebId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webid); - __os->write(webtid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(tribeId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBAddWebTribeMember(const ::ALiIMDBTribe::STribeMember2& memberInfo, ::Ice::Int& blackStamp, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBAddWebTribeMember_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - memberInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(blackStamp); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBDeleteWebMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Int& blackStamp, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBDeleteWebMember_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(memberId); - __os->write(level); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(blackStamp); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetAllWebTribeGroup(::ALiIMDBTribe::SWebTribeGroupSeq& groupList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetAllWebTribeGroup_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, groupList, ::ALiIMDBTribe::__U__SWebTribeGroupSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetWebTribeGroup(const ::std::string& serviceId, const ::std::string& webId, ::ALiIMDBTribe::SWebTribeGroup& groupInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetWebTribeGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - groupInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetWebTribeGroupById(::Ice::Long groupId, ::ALiIMDBTribe::SWebTribeGroup& groupInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetWebTribeGroupById_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - groupInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBAddWebTribeGroup(const ::ALiIMDBTribe::SWebTribeGroup& groupInfo, ::Ice::Long& groupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBAddWebTribeGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - groupInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateWebTribeGroupName(::Ice::Long groupId, const ::std::string& name, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateWebTribeGroupName_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(groupId); - __os->write(name); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBDelWebTribeGroup(::Ice::Long groupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBDelWebTribeGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserWebTribeGroup(const ::std::string& userId, ::ALiIMDBTribe::SWebTribeGroupSeq& groupList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserWebTribeGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, groupList, ::ALiIMDBTribe::__U__SWebTribeGroupSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserWebTribe(const ::std::string& userId, ::ALiIMDBTribe::SWebTribeIdSeq& tribeList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserWebTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::ALiIMDBTribe::__read(__is, tribeList, ::ALiIMDBTribe::__U__SWebTribeIdSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeInfo2(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeInfo2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBNotifyWebTribeInfo(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBNotifyWebTribeInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBSyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::ALiIMDBTribe::STribeMember2Seq& memberList, ::Ice::Int& tribeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBSyncWebTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - tribeInfo.__write(__os); - if(memberList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &memberList[0], &memberList[0] + memberList.size(), ::ALiIMDBTribe::__U__STribeMember2Seq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(tribeId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetWebUserDisactiveTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, ::Ice::IntSeq& tribeList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetWebUserDisactiveTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(webUid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(tribeList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetWebUserActiveTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& userId, ::Ice::IntSeq& tribeList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetWebUserActiveTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(webId); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(tribeList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBActiveTribeWebMember(::Ice::Int tribeId, const ::std::string& webuid, const ::std::string& memberId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBActiveTribeWebMember_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(webuid); - __os->write(memberId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBDisactiveTribeWebMember(::Ice::Int tribeId, const ::std::string& webuid, const ::std::string& memberId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBDisactiveTribeWebMember_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(webuid); - __os->write(memberId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBDeleteWebTribe(::Ice::Int tribeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBDeleteWebTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeMsgSetting(::Ice::Int tribeId, const ::std::string& userId, ::Ice::Short popflag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeMsgSetting_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(userId); - __os->write(popflag); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBTransferTribe(::Ice::Int tribeId, const ::std::string& userId, const ::std::string& transferId, ::std::string& vacantId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBTransferTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(userId); - __os->write(transferId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(vacantId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBCheckAddedTribeFull2(const ::std::string& userId, bool& limit, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBCheckAddedTribeFull2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(limit); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeLimit(::Ice::Int tribeId, ::Ice::Int limit, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeLimit_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - __os->write(limit); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBIncrUserTribes(const ::std::string& userId, ::Ice::Int tribeNum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBIncrUserTribes_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(tribeNum); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserTribeNum(const ::std::string& userId, ::Ice::Int& tribeNum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribeNum_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(tribeNum); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBStartTribe(const ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBStartTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBStartTribe(tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeInfo(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeInfo(tribeId, tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeInfo(const ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateTribeInfo(tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeMaster(::Ice::Int tribeId, const ::std::string& masterId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeMaster_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateTribeMaster(tribeId, masterId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeActiveDegree(::Ice::Int tribeId, ::Ice::Int& onlineTimes, ::Ice::Double& onlineDegree, ::Ice::Int& discussDegree, ::Ice::Double& rewardDegree, ::Ice::Int& masterOffer, ::Ice::Double& totalDegree, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeActiveDegree_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeActiveDegree(tribeId, onlineTimes, onlineDegree, discussDegree, rewardDegree, masterOffer, totalDegree, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeActDegree(::Ice::Int tribeId, ::Ice::Double onlineDegree, ::Ice::Int discussDegree, ::Ice::Double rewardDegree, ::Ice::Double totalDegree, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeActDegree_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateTribeActDegree(tribeId, onlineDegree, discussDegree, rewardDegree, totalDegree, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBDeleteTribe(::Ice::Int tribeId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBDeleteTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBDeleteTribe(tribeId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetAddedTribeNum(const ::std::string& userId, ::Ice::Int& tribeNum, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetAddedTribeNum_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetAddedTribeNum(userId, tribeNum, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBCheckAddedTribeFull(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBCheckAddedTribeFull_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBCheckAddedTribeFull(userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeMemberNum(::Ice::Int tribeId, ::Ice::Int level, ::Ice::Int& memberNum, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMemberNum_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeMemberNum(tribeId, level, memberNum, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBAddTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, const ::std::string& operId, ::Ice::Long groupId, ::Ice::Int& blackStamp, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeMember_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddTribeMember(tribeId, memberId, level, operId, groupId, blackStamp, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::TCAddTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Short openFlag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__TCAddTribeMember_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->TCAddTribeMember(tribeId, memberId, level, openFlag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::ALiIMDBTribe::STribeMemberSeq& tribeMemberList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMember_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeMember(tribeId, memberId, level, tribeMemberList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeMemberInfo(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeMemberInfoSeq& tribeMemberInfoList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMemberInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeMemberInfo(tribeId, memberId, tribeMemberInfoList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeMemberInfo2(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeMemberInfoSeq2& tribeMemberInfoList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeMemberInfo2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeMemberInfo2(tribeId, memberId, tribeMemberInfoList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserTribe(const ::std::string& userId, ::ALiIMDBTribe::STribeIdSeq& tribeIdList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetUserTribe(userId, tribeIdList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserTribe2(const ::std::string& userId, ::ALiIMDBTribe::STribeIdSeq2& tribeIdList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribe2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetUserTribe2(userId, tribeIdList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateMemberLevel(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateMemberLevel_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateMemberLevel(tribeId, memberId, level, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateLastMsgId(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int msgId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateLastMsgId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateLastMsgId(tribeId, memberId, msgId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBDeleteMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Int& blackStamp, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBDeleteMember_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBDeleteMember(tribeId, memberId, level, blackStamp, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBAddTribeOfflineMsg(::Ice::Int tribeId, const ::std::string& fromId, ::Ice::Int type, const ::std::string& message, ::Ice::Int sendTime, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeOfflineMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddTribeOfflineMsg(tribeId, fromId, type, message, sendTime, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeOfflineMsg(::Ice::Int tribeId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeOfflineMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeOfflineMsg(tribeId, offlineMsgList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBDelTribeOfflineMsg(::Ice::Int tribeId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBDelTribeOfflineMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBDelTribeOfflineMsg(tribeId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBAddTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& toId, ::Ice::Int type, const ::std::string& message, ::Ice::Int sendTime, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeOffMngMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddTribeOffMngMsg(tribeId, toId, type, message, sendTime, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeOfflineMsgSeq& offlineMsgList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeOffMngMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeOffMngMsg(tribeId, memberId, offlineMsgList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBDelTribeOffMngMsg(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBDelTribeOffMngMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBDelTribeOffMngMsg(tribeId, memberId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserTribeConfig(const ::std::string& userId, ::Ice::Int& addVerify, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribeConfig_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetUserTribeConfig(userId, addVerify, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateUserTribeConfig(const ::std::string& userId, ::Ice::Int addVerify, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateUserTribeConfig_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateUserTribeConfig(userId, addVerify, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeCard(::Ice::Int tribeId, const ::std::string& memberId, const ::ALiIMDBTribe::STribeCard& tribeCard, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeCard_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateTribeCard(tribeId, memberId, tribeCard, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeCard(::Ice::Int tribeId, const ::std::string& memberId, ::ALiIMDBTribe::STribeCard& tribeCard, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeCard_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeCard(tribeId, memberId, tribeCard, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateMemberActDegree(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Double onlineActDegree, ::Ice::Int chatActDegree, ::Ice::Double rewardActDegree, ::Ice::Double totalActDegree, ::Ice::Int lastMsgid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateMemberActDegree_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateMemberActDegree(tribeId, memberId, onlineActDegree, chatActDegree, rewardActDegree, totalActDegree, lastMsgid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeGroup(::Ice::Int tribeId, ::ALiIMDBTribe::STribeGroupSeq& tribeGroupList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeGroup(tribeId, tribeGroupList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBAddTribeGroup(::Ice::Int tribeId, const ::std::string& groupName, ::Ice::Long parentId, ::Ice::Long& groupId, ::Ice::Int& groupStamp, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBAddTribeGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddTribeGroup(tribeId, groupName, parentId, groupId, groupStamp, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeGroup(::Ice::Int tribeId, ::Ice::Long groupId, const ::std::string& groupName, ::Ice::Int& groupStamp, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateTribeGroup(tribeId, groupId, groupName, groupStamp, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBDelTribeGroup(::Ice::Int tribeId, ::Ice::Long groupId, ::Ice::Int& groupStamp, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBDelTribeGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBDelTribeGroup(tribeId, groupId, groupStamp, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateUserGroup(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Long groupId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateUserGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateUserGroup(tribeId, memberId, groupId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBAddStarMember(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBAddStarMember_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddStarMember(tribeId, memberId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBDelStarMember(::Ice::Int tribeId, const ::std::string& memberId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBDelStarMember_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBDelStarMember(tribeId, memberId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateOpenTribe(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Short openFlag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateOpenTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateOpenTribe(tribeId, memberId, openFlag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBNotifyTribeInfo(const ::ALiIMDBTribe::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBNotifyTribeInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBNotifyTribeInfo(tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeInfo2(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeInfo2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeInfo2(tribeId, tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeInfo3(::Ice::Int tribeId, ::ALiIMDBTribe::STribeInfo3& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeInfo3_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeInfo3(tribeId, tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBCreateTribe(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, ::Ice::Int& tribeId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBCreateTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBCreateTribe(tribeInfo, tribeId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetTribeIdByWebId(const ::std::string& serviceId, const ::std::string& webid, const ::std::string& webtid, ::Ice::Int& tribeId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetTribeIdByWebId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetTribeIdByWebId(serviceId, webid, webtid, tribeId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBAddWebTribeMember(const ::ALiIMDBTribe::STribeMember2& memberInfo, ::Ice::Int& blackStamp, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBAddWebTribeMember_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddWebTribeMember(memberInfo, blackStamp, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBDeleteWebMember(::Ice::Int tribeId, const ::std::string& memberId, ::Ice::Int level, ::Ice::Int& blackStamp, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBDeleteWebMember_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBDeleteWebMember(tribeId, memberId, level, blackStamp, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetAllWebTribeGroup(::ALiIMDBTribe::SWebTribeGroupSeq& groupList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetAllWebTribeGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetAllWebTribeGroup(groupList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetWebTribeGroup(const ::std::string& serviceId, const ::std::string& webId, ::ALiIMDBTribe::SWebTribeGroup& groupInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetWebTribeGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetWebTribeGroup(serviceId, webId, groupInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetWebTribeGroupById(::Ice::Long groupId, ::ALiIMDBTribe::SWebTribeGroup& groupInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetWebTribeGroupById_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetWebTribeGroupById(groupId, groupInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBAddWebTribeGroup(const ::ALiIMDBTribe::SWebTribeGroup& groupInfo, ::Ice::Long& groupId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBAddWebTribeGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBAddWebTribeGroup(groupInfo, groupId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateWebTribeGroupName(::Ice::Long groupId, const ::std::string& name, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateWebTribeGroupName_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateWebTribeGroupName(groupId, name, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBDelWebTribeGroup(::Ice::Long groupId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBDelWebTribeGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBDelWebTribeGroup(groupId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserWebTribeGroup(const ::std::string& userId, ::ALiIMDBTribe::SWebTribeGroupSeq& groupList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserWebTribeGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetUserWebTribeGroup(userId, groupList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserWebTribe(const ::std::string& userId, ::ALiIMDBTribe::SWebTribeIdSeq& tribeList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserWebTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetUserWebTribe(userId, tribeList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeInfo2(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeInfo2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateTribeInfo2(tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBNotifyWebTribeInfo(const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBNotifyWebTribeInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBNotifyWebTribeInfo(tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBSyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::ALiIMDBTribe::STribeInfo2& tribeInfo, const ::ALiIMDBTribe::STribeMember2Seq& memberList, ::Ice::Int& tribeId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBSyncWebTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBSyncWebTribe(serviceId, webId, tribeInfo, memberList, tribeId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetWebUserDisactiveTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, ::Ice::IntSeq& tribeList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetWebUserDisactiveTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetWebUserDisactiveTribe(serviceId, webId, webUid, tribeList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetWebUserActiveTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& userId, ::Ice::IntSeq& tribeList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetWebUserActiveTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetWebUserActiveTribe(serviceId, webId, userId, tribeList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBActiveTribeWebMember(::Ice::Int tribeId, const ::std::string& webuid, const ::std::string& memberId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBActiveTribeWebMember_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBActiveTribeWebMember(tribeId, webuid, memberId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBDisactiveTribeWebMember(::Ice::Int tribeId, const ::std::string& webuid, const ::std::string& memberId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBDisactiveTribeWebMember_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBDisactiveTribeWebMember(tribeId, webuid, memberId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBDeleteWebTribe(::Ice::Int tribeId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBDeleteWebTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBDeleteWebTribe(tribeId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeMsgSetting(::Ice::Int tribeId, const ::std::string& userId, ::Ice::Short popflag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeMsgSetting_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateTribeMsgSetting(tribeId, userId, popflag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBTransferTribe(::Ice::Int tribeId, const ::std::string& userId, const ::std::string& transferId, ::std::string& vacantId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBTransferTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBTransferTribe(tribeId, userId, transferId, vacantId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBCheckAddedTribeFull2(const ::std::string& userId, bool& limit, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBCheckAddedTribeFull2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBCheckAddedTribeFull2(userId, limit, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBUpdateTribeLimit(::Ice::Int tribeId, ::Ice::Int limit, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBUpdateTribeLimit_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBUpdateTribeLimit(tribeId, limit, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBIncrUserTribes(const ::std::string& userId, ::Ice::Int tribeNum, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBIncrUserTribes_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBIncrUserTribes(userId, tribeNum, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALiIMDBTribe::TribeDBProxyMgr::DBGetUserTribeNum(const ::std::string& userId, ::Ice::Int& tribeNum, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALiIMDBTribe__TribeDBProxyMgr__DBGetUserTribeNum_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALiIMDBTribe::TribeDBProxyMgr* __servant = dynamic_cast< ::ALiIMDBTribe::TribeDBProxyMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DBGetUserTribeNum(userId, tribeNum, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -ALiIMDBTribe::TribeDBProxyMgr::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __ALiIMDBTribe__TribeDBProxyMgr_ids[2] = -{ - "::ALiIMDBTribe::TribeDBProxyMgr", - "::Ice::Object" -}; - -bool -ALiIMDBTribe::TribeDBProxyMgr::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__ALiIMDBTribe__TribeDBProxyMgr_ids, __ALiIMDBTribe__TribeDBProxyMgr_ids + 2, _s); -} - -::std::vector< ::std::string> -ALiIMDBTribe::TribeDBProxyMgr::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__ALiIMDBTribe__TribeDBProxyMgr_ids[0], &__ALiIMDBTribe__TribeDBProxyMgr_ids[2]); -} - -const ::std::string& -ALiIMDBTribe::TribeDBProxyMgr::ice_id(const ::Ice::Current&) const -{ - return __ALiIMDBTribe__TribeDBProxyMgr_ids[0]; -} - -const ::std::string& -ALiIMDBTribe::TribeDBProxyMgr::ice_staticId() -{ - return __ALiIMDBTribe__TribeDBProxyMgr_ids[0]; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBStartTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBTribe::STribeInfo tribeInfo; - tribeInfo.__read(__is); - ::Ice::Int __ret = DBStartTribe(tribeInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - __is->read(tribeId); - ::ALiIMDBTribe::STribeInfo tribeInfo; - ::Ice::Int __ret = DBGetTribeInfo(tribeId, tribeInfo, __current); - tribeInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateTribeInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBTribe::STribeInfo tribeInfo; - tribeInfo.__read(__is); - ::Ice::Int __ret = DBUpdateTribeInfo(tribeInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateTribeMaster(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string masterId; - __is->read(tribeId); - __is->read(masterId); - ::Ice::Int __ret = DBUpdateTribeMaster(tribeId, masterId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeActiveDegree(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - __is->read(tribeId); - ::Ice::Int onlineTimes; - ::Ice::Double onlineDegree; - ::Ice::Int discussDegree; - ::Ice::Double rewardDegree; - ::Ice::Int masterOffer; - ::Ice::Double totalDegree; - ::Ice::Int __ret = DBGetTribeActiveDegree(tribeId, onlineTimes, onlineDegree, discussDegree, rewardDegree, masterOffer, totalDegree, __current); - __os->write(onlineTimes); - __os->write(onlineDegree); - __os->write(discussDegree); - __os->write(rewardDegree); - __os->write(masterOffer); - __os->write(totalDegree); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateTribeActDegree(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::Ice::Double onlineDegree; - ::Ice::Int discussDegree; - ::Ice::Double rewardDegree; - ::Ice::Double totalDegree; - __is->read(tribeId); - __is->read(onlineDegree); - __is->read(discussDegree); - __is->read(rewardDegree); - __is->read(totalDegree); - ::Ice::Int __ret = DBUpdateTribeActDegree(tribeId, onlineDegree, discussDegree, rewardDegree, totalDegree, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBDeleteTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - __is->read(tribeId); - ::Ice::Int __ret = DBDeleteTribe(tribeId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetAddedTribeNum(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int tribeNum; - ::Ice::Int __ret = DBGetAddedTribeNum(userId, tribeNum, __current); - __os->write(tribeNum); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBCheckAddedTribeFull(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int __ret = DBCheckAddedTribeFull(userId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeMemberNum(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::Ice::Int level; - __is->read(tribeId); - __is->read(level); - ::Ice::Int memberNum; - ::Ice::Int __ret = DBGetTribeMemberNum(tribeId, level, memberNum, __current); - __os->write(memberNum); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBAddTribeMember(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - ::Ice::Int level; - ::std::string operId; - ::Ice::Long groupId; - __is->read(tribeId); - __is->read(memberId); - __is->read(level); - __is->read(operId); - __is->read(groupId); - ::Ice::Int blackStamp; - ::Ice::Int __ret = DBAddTribeMember(tribeId, memberId, level, operId, groupId, blackStamp, __current); - __os->write(blackStamp); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___TCAddTribeMember(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - ::Ice::Int level; - ::Ice::Short openFlag; - __is->read(tribeId); - __is->read(memberId); - __is->read(level); - __is->read(openFlag); - ::Ice::Int __ret = TCAddTribeMember(tribeId, memberId, level, openFlag, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeMember(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - ::Ice::Int level; - __is->read(tribeId); - __is->read(memberId); - __is->read(level); - ::ALiIMDBTribe::STribeMemberSeq tribeMemberList; - ::Ice::Int __ret = DBGetTribeMember(tribeId, memberId, level, tribeMemberList, __current); - if(tribeMemberList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &tribeMemberList[0], &tribeMemberList[0] + tribeMemberList.size(), ::ALiIMDBTribe::__U__STribeMemberSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeMemberInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - __is->read(tribeId); - __is->read(memberId); - ::ALiIMDBTribe::STribeMemberInfoSeq tribeMemberInfoList; - ::Ice::Int __ret = DBGetTribeMemberInfo(tribeId, memberId, tribeMemberInfoList, __current); - if(tribeMemberInfoList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &tribeMemberInfoList[0], &tribeMemberInfoList[0] + tribeMemberInfoList.size(), ::ALiIMDBTribe::__U__STribeMemberInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeMemberInfo2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - __is->read(tribeId); - __is->read(memberId); - ::ALiIMDBTribe::STribeMemberInfoSeq2 tribeMemberInfoList; - ::Ice::Int __ret = DBGetTribeMemberInfo2(tribeId, memberId, tribeMemberInfoList, __current); - if(tribeMemberInfoList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &tribeMemberInfoList[0], &tribeMemberInfoList[0] + tribeMemberInfoList.size(), ::ALiIMDBTribe::__U__STribeMemberInfoSeq2()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetUserTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::ALiIMDBTribe::STribeIdSeq tribeIdList; - ::Ice::Int __ret = DBGetUserTribe(userId, tribeIdList, __current); - if(tribeIdList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &tribeIdList[0], &tribeIdList[0] + tribeIdList.size(), ::ALiIMDBTribe::__U__STribeIdSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetUserTribe2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::ALiIMDBTribe::STribeIdSeq2 tribeIdList; - ::Ice::Int __ret = DBGetUserTribe2(userId, tribeIdList, __current); - if(tribeIdList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &tribeIdList[0], &tribeIdList[0] + tribeIdList.size(), ::ALiIMDBTribe::__U__STribeIdSeq2()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateMemberLevel(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - ::Ice::Int level; - __is->read(tribeId); - __is->read(memberId); - __is->read(level); - ::Ice::Int __ret = DBUpdateMemberLevel(tribeId, memberId, level, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateLastMsgId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - ::Ice::Int msgId; - __is->read(tribeId); - __is->read(memberId); - __is->read(msgId); - ::Ice::Int __ret = DBUpdateLastMsgId(tribeId, memberId, msgId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBDeleteMember(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - ::Ice::Int level; - __is->read(tribeId); - __is->read(memberId); - __is->read(level); - ::Ice::Int blackStamp; - ::Ice::Int __ret = DBDeleteMember(tribeId, memberId, level, blackStamp, __current); - __os->write(blackStamp); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBAddTribeOfflineMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string fromId; - ::Ice::Int type; - ::std::string message; - ::Ice::Int sendTime; - __is->read(tribeId); - __is->read(fromId); - __is->read(type); - __is->read(message); - __is->read(sendTime); - ::Ice::Int __ret = DBAddTribeOfflineMsg(tribeId, fromId, type, message, sendTime, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeOfflineMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - __is->read(tribeId); - ::ALiIMDBTribe::STribeOfflineMsgSeq offlineMsgList; - ::Ice::Int __ret = DBGetTribeOfflineMsg(tribeId, offlineMsgList, __current); - if(offlineMsgList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &offlineMsgList[0], &offlineMsgList[0] + offlineMsgList.size(), ::ALiIMDBTribe::__U__STribeOfflineMsgSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBDelTribeOfflineMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - __is->read(tribeId); - ::Ice::Int __ret = DBDelTribeOfflineMsg(tribeId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBAddTribeOffMngMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string toId; - ::Ice::Int type; - ::std::string message; - ::Ice::Int sendTime; - __is->read(tribeId); - __is->read(toId); - __is->read(type); - __is->read(message); - __is->read(sendTime); - ::Ice::Int __ret = DBAddTribeOffMngMsg(tribeId, toId, type, message, sendTime, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeOffMngMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - __is->read(tribeId); - __is->read(memberId); - ::ALiIMDBTribe::STribeOfflineMsgSeq offlineMsgList; - ::Ice::Int __ret = DBGetTribeOffMngMsg(tribeId, memberId, offlineMsgList, __current); - if(offlineMsgList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &offlineMsgList[0], &offlineMsgList[0] + offlineMsgList.size(), ::ALiIMDBTribe::__U__STribeOfflineMsgSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBDelTribeOffMngMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - __is->read(tribeId); - __is->read(memberId); - ::Ice::Int __ret = DBDelTribeOffMngMsg(tribeId, memberId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetUserTribeConfig(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int addVerify; - ::Ice::Int __ret = DBGetUserTribeConfig(userId, addVerify, __current); - __os->write(addVerify); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateUserTribeConfig(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int addVerify; - __is->read(userId); - __is->read(addVerify); - ::Ice::Int __ret = DBUpdateUserTribeConfig(userId, addVerify, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateTribeCard(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - ::ALiIMDBTribe::STribeCard tribeCard; - __is->read(tribeId); - __is->read(memberId); - tribeCard.__read(__is); - ::Ice::Int __ret = DBUpdateTribeCard(tribeId, memberId, tribeCard, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeCard(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - __is->read(tribeId); - __is->read(memberId); - ::ALiIMDBTribe::STribeCard tribeCard; - ::Ice::Int __ret = DBGetTribeCard(tribeId, memberId, tribeCard, __current); - tribeCard.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateMemberActDegree(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - ::Ice::Double onlineActDegree; - ::Ice::Int chatActDegree; - ::Ice::Double rewardActDegree; - ::Ice::Double totalActDegree; - ::Ice::Int lastMsgid; - __is->read(tribeId); - __is->read(memberId); - __is->read(onlineActDegree); - __is->read(chatActDegree); - __is->read(rewardActDegree); - __is->read(totalActDegree); - __is->read(lastMsgid); - ::Ice::Int __ret = DBUpdateMemberActDegree(tribeId, memberId, onlineActDegree, chatActDegree, rewardActDegree, totalActDegree, lastMsgid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - __is->read(tribeId); - ::ALiIMDBTribe::STribeGroupSeq tribeGroupList; - ::Ice::Int __ret = DBGetTribeGroup(tribeId, tribeGroupList, __current); - if(tribeGroupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &tribeGroupList[0], &tribeGroupList[0] + tribeGroupList.size(), ::ALiIMDBTribe::__U__STribeGroupSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBAddTribeGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string groupName; - ::Ice::Long parentId; - __is->read(tribeId); - __is->read(groupName); - __is->read(parentId); - ::Ice::Long groupId; - ::Ice::Int groupStamp; - ::Ice::Int __ret = DBAddTribeGroup(tribeId, groupName, parentId, groupId, groupStamp, __current); - __os->write(groupId); - __os->write(groupStamp); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateTribeGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::Ice::Long groupId; - ::std::string groupName; - __is->read(tribeId); - __is->read(groupId); - __is->read(groupName); - ::Ice::Int groupStamp; - ::Ice::Int __ret = DBUpdateTribeGroup(tribeId, groupId, groupName, groupStamp, __current); - __os->write(groupStamp); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBDelTribeGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::Ice::Long groupId; - __is->read(tribeId); - __is->read(groupId); - ::Ice::Int groupStamp; - ::Ice::Int __ret = DBDelTribeGroup(tribeId, groupId, groupStamp, __current); - __os->write(groupStamp); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateUserGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - ::Ice::Long groupId; - __is->read(tribeId); - __is->read(memberId); - __is->read(groupId); - ::Ice::Int __ret = DBUpdateUserGroup(tribeId, memberId, groupId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBAddStarMember(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - __is->read(tribeId); - __is->read(memberId); - ::Ice::Int __ret = DBAddStarMember(tribeId, memberId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBDelStarMember(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - __is->read(tribeId); - __is->read(memberId); - ::Ice::Int __ret = DBDelStarMember(tribeId, memberId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateOpenTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - ::Ice::Short openFlag; - __is->read(tribeId); - __is->read(memberId); - __is->read(openFlag); - ::Ice::Int __ret = DBUpdateOpenTribe(tribeId, memberId, openFlag, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBNotifyTribeInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBTribe::STribeInfo tribeInfo; - tribeInfo.__read(__is); - ::Ice::Int __ret = DBNotifyTribeInfo(tribeInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeInfo2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - __is->read(tribeId); - ::ALiIMDBTribe::STribeInfo2 tribeInfo; - ::Ice::Int __ret = DBGetTribeInfo2(tribeId, tribeInfo, __current); - tribeInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeInfo3(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - __is->read(tribeId); - ::ALiIMDBTribe::STribeInfo3 tribeInfo; - ::Ice::Int __ret = DBGetTribeInfo3(tribeId, tribeInfo, __current); - tribeInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBCreateTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBTribe::STribeInfo2 tribeInfo; - tribeInfo.__read(__is); - ::Ice::Int tribeId; - ::Ice::Int __ret = DBCreateTribe(tribeInfo, tribeId, __current); - __os->write(tribeId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetTribeIdByWebId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string serviceId; - ::std::string webid; - ::std::string webtid; - __is->read(serviceId); - __is->read(webid); - __is->read(webtid); - ::Ice::Int tribeId; - ::Ice::Int __ret = DBGetTribeIdByWebId(serviceId, webid, webtid, tribeId, __current); - __os->write(tribeId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBAddWebTribeMember(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBTribe::STribeMember2 memberInfo; - memberInfo.__read(__is); - ::Ice::Int blackStamp; - ::Ice::Int __ret = DBAddWebTribeMember(memberInfo, blackStamp, __current); - __os->write(blackStamp); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBDeleteWebMember(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string memberId; - ::Ice::Int level; - __is->read(tribeId); - __is->read(memberId); - __is->read(level); - ::Ice::Int blackStamp; - ::Ice::Int __ret = DBDeleteWebMember(tribeId, memberId, level, blackStamp, __current); - __os->write(blackStamp); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetAllWebTribeGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBTribe::SWebTribeGroupSeq groupList; - ::Ice::Int __ret = DBGetAllWebTribeGroup(groupList, __current); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &groupList[0], &groupList[0] + groupList.size(), ::ALiIMDBTribe::__U__SWebTribeGroupSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetWebTribeGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string serviceId; - ::std::string webId; - __is->read(serviceId); - __is->read(webId); - ::ALiIMDBTribe::SWebTribeGroup groupInfo; - ::Ice::Int __ret = DBGetWebTribeGroup(serviceId, webId, groupInfo, __current); - groupInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetWebTribeGroupById(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long groupId; - __is->read(groupId); - ::ALiIMDBTribe::SWebTribeGroup groupInfo; - ::Ice::Int __ret = DBGetWebTribeGroupById(groupId, groupInfo, __current); - groupInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBAddWebTribeGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBTribe::SWebTribeGroup groupInfo; - groupInfo.__read(__is); - ::Ice::Long groupId; - ::Ice::Int __ret = DBAddWebTribeGroup(groupInfo, groupId, __current); - __os->write(groupId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateWebTribeGroupName(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long groupId; - ::std::string name; - __is->read(groupId); - __is->read(name); - ::Ice::Int __ret = DBUpdateWebTribeGroupName(groupId, name, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBDelWebTribeGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long groupId; - __is->read(groupId); - ::Ice::Int __ret = DBDelWebTribeGroup(groupId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetUserWebTribeGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::ALiIMDBTribe::SWebTribeGroupSeq groupList; - ::Ice::Int __ret = DBGetUserWebTribeGroup(userId, groupList, __current); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &groupList[0], &groupList[0] + groupList.size(), ::ALiIMDBTribe::__U__SWebTribeGroupSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetUserWebTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::ALiIMDBTribe::SWebTribeIdSeq tribeList; - ::Ice::Int __ret = DBGetUserWebTribe(userId, tribeList, __current); - if(tribeList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALiIMDBTribe::__write(__os, &tribeList[0], &tribeList[0] + tribeList.size(), ::ALiIMDBTribe::__U__SWebTribeIdSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateTribeInfo2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBTribe::STribeInfo2 tribeInfo; - tribeInfo.__read(__is); - ::Ice::Int __ret = DBUpdateTribeInfo2(tribeInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBNotifyWebTribeInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::ALiIMDBTribe::STribeInfo2 tribeInfo; - tribeInfo.__read(__is); - ::Ice::Int __ret = DBNotifyWebTribeInfo(tribeInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBSyncWebTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string serviceId; - ::std::string webId; - ::ALiIMDBTribe::STribeInfo2 tribeInfo; - ::ALiIMDBTribe::STribeMember2Seq memberList; - __is->read(serviceId); - __is->read(webId); - tribeInfo.__read(__is); - ::ALiIMDBTribe::__read(__is, memberList, ::ALiIMDBTribe::__U__STribeMember2Seq()); - ::Ice::Int tribeId; - ::Ice::Int __ret = DBSyncWebTribe(serviceId, webId, tribeInfo, memberList, tribeId, __current); - __os->write(tribeId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetWebUserDisactiveTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string serviceId; - ::std::string webId; - ::std::string webUid; - __is->read(serviceId); - __is->read(webId); - __is->read(webUid); - ::Ice::IntSeq tribeList; - ::Ice::Int __ret = DBGetWebUserDisactiveTribe(serviceId, webId, webUid, tribeList, __current); - if(tribeList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&tribeList[0], &tribeList[0] + tribeList.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetWebUserActiveTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string serviceId; - ::std::string webId; - ::std::string userId; - __is->read(serviceId); - __is->read(webId); - __is->read(userId); - ::Ice::IntSeq tribeList; - ::Ice::Int __ret = DBGetWebUserActiveTribe(serviceId, webId, userId, tribeList, __current); - if(tribeList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&tribeList[0], &tribeList[0] + tribeList.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBActiveTribeWebMember(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string webuid; - ::std::string memberId; - __is->read(tribeId); - __is->read(webuid); - __is->read(memberId); - ::Ice::Int __ret = DBActiveTribeWebMember(tribeId, webuid, memberId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBDisactiveTribeWebMember(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string webuid; - ::std::string memberId; - __is->read(tribeId); - __is->read(webuid); - __is->read(memberId); - ::Ice::Int __ret = DBDisactiveTribeWebMember(tribeId, webuid, memberId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBDeleteWebTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - __is->read(tribeId); - ::Ice::Int __ret = DBDeleteWebTribe(tribeId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateTribeMsgSetting(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string userId; - ::Ice::Short popflag; - __is->read(tribeId); - __is->read(userId); - __is->read(popflag); - ::Ice::Int __ret = DBUpdateTribeMsgSetting(tribeId, userId, popflag, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBTransferTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::std::string userId; - ::std::string transferId; - __is->read(tribeId); - __is->read(userId); - __is->read(transferId); - ::std::string vacantId; - ::Ice::Int __ret = DBTransferTribe(tribeId, userId, transferId, vacantId, __current); - __os->write(vacantId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBCheckAddedTribeFull2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - bool limit; - ::Ice::Int __ret = DBCheckAddedTribeFull2(userId, limit, __current); - __os->write(limit); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBUpdateTribeLimit(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int tribeId; - ::Ice::Int limit; - __is->read(tribeId); - __is->read(limit); - ::Ice::Int __ret = DBUpdateTribeLimit(tribeId, limit, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBIncrUserTribes(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int tribeNum; - __is->read(userId); - __is->read(tribeNum); - ::Ice::Int __ret = DBIncrUserTribes(userId, tribeNum, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::___DBGetUserTribeNum(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int tribeNum; - ::Ice::Int __ret = DBGetUserTribeNum(userId, tribeNum, __current); - __os->write(tribeNum); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __ALiIMDBTribe__TribeDBProxyMgr_all[] = -{ - "DBActiveTribeWebMember", - "DBAddStarMember", - "DBAddTribeGroup", - "DBAddTribeMember", - "DBAddTribeOffMngMsg", - "DBAddTribeOfflineMsg", - "DBAddWebTribeGroup", - "DBAddWebTribeMember", - "DBCheckAddedTribeFull", - "DBCheckAddedTribeFull2", - "DBCreateTribe", - "DBDelStarMember", - "DBDelTribeGroup", - "DBDelTribeOffMngMsg", - "DBDelTribeOfflineMsg", - "DBDelWebTribeGroup", - "DBDeleteMember", - "DBDeleteTribe", - "DBDeleteWebMember", - "DBDeleteWebTribe", - "DBDisactiveTribeWebMember", - "DBGetAddedTribeNum", - "DBGetAllWebTribeGroup", - "DBGetTribeActiveDegree", - "DBGetTribeCard", - "DBGetTribeGroup", - "DBGetTribeIdByWebId", - "DBGetTribeInfo", - "DBGetTribeInfo2", - "DBGetTribeInfo3", - "DBGetTribeMember", - "DBGetTribeMemberInfo", - "DBGetTribeMemberInfo2", - "DBGetTribeMemberNum", - "DBGetTribeOffMngMsg", - "DBGetTribeOfflineMsg", - "DBGetUserTribe", - "DBGetUserTribe2", - "DBGetUserTribeConfig", - "DBGetUserTribeNum", - "DBGetUserWebTribe", - "DBGetUserWebTribeGroup", - "DBGetWebTribeGroup", - "DBGetWebTribeGroupById", - "DBGetWebUserActiveTribe", - "DBGetWebUserDisactiveTribe", - "DBIncrUserTribes", - "DBNotifyTribeInfo", - "DBNotifyWebTribeInfo", - "DBStartTribe", - "DBSyncWebTribe", - "DBTransferTribe", - "DBUpdateLastMsgId", - "DBUpdateMemberActDegree", - "DBUpdateMemberLevel", - "DBUpdateOpenTribe", - "DBUpdateTribeActDegree", - "DBUpdateTribeCard", - "DBUpdateTribeGroup", - "DBUpdateTribeInfo", - "DBUpdateTribeInfo2", - "DBUpdateTribeLimit", - "DBUpdateTribeMaster", - "DBUpdateTribeMsgSetting", - "DBUpdateUserGroup", - "DBUpdateUserTribeConfig", - "DBUpdateWebTribeGroupName", - "TCAddTribeMember", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -ALiIMDBTribe::TribeDBProxyMgr::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__ALiIMDBTribe__TribeDBProxyMgr_all, __ALiIMDBTribe__TribeDBProxyMgr_all + 72, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __ALiIMDBTribe__TribeDBProxyMgr_all) - { - case 0: - { - return ___DBActiveTribeWebMember(in, current); - } - case 1: - { - return ___DBAddStarMember(in, current); - } - case 2: - { - return ___DBAddTribeGroup(in, current); - } - case 3: - { - return ___DBAddTribeMember(in, current); - } - case 4: - { - return ___DBAddTribeOffMngMsg(in, current); - } - case 5: - { - return ___DBAddTribeOfflineMsg(in, current); - } - case 6: - { - return ___DBAddWebTribeGroup(in, current); - } - case 7: - { - return ___DBAddWebTribeMember(in, current); - } - case 8: - { - return ___DBCheckAddedTribeFull(in, current); - } - case 9: - { - return ___DBCheckAddedTribeFull2(in, current); - } - case 10: - { - return ___DBCreateTribe(in, current); - } - case 11: - { - return ___DBDelStarMember(in, current); - } - case 12: - { - return ___DBDelTribeGroup(in, current); - } - case 13: - { - return ___DBDelTribeOffMngMsg(in, current); - } - case 14: - { - return ___DBDelTribeOfflineMsg(in, current); - } - case 15: - { - return ___DBDelWebTribeGroup(in, current); - } - case 16: - { - return ___DBDeleteMember(in, current); - } - case 17: - { - return ___DBDeleteTribe(in, current); - } - case 18: - { - return ___DBDeleteWebMember(in, current); - } - case 19: - { - return ___DBDeleteWebTribe(in, current); - } - case 20: - { - return ___DBDisactiveTribeWebMember(in, current); - } - case 21: - { - return ___DBGetAddedTribeNum(in, current); - } - case 22: - { - return ___DBGetAllWebTribeGroup(in, current); - } - case 23: - { - return ___DBGetTribeActiveDegree(in, current); - } - case 24: - { - return ___DBGetTribeCard(in, current); - } - case 25: - { - return ___DBGetTribeGroup(in, current); - } - case 26: - { - return ___DBGetTribeIdByWebId(in, current); - } - case 27: - { - return ___DBGetTribeInfo(in, current); - } - case 28: - { - return ___DBGetTribeInfo2(in, current); - } - case 29: - { - return ___DBGetTribeInfo3(in, current); - } - case 30: - { - return ___DBGetTribeMember(in, current); - } - case 31: - { - return ___DBGetTribeMemberInfo(in, current); - } - case 32: - { - return ___DBGetTribeMemberInfo2(in, current); - } - case 33: - { - return ___DBGetTribeMemberNum(in, current); - } - case 34: - { - return ___DBGetTribeOffMngMsg(in, current); - } - case 35: - { - return ___DBGetTribeOfflineMsg(in, current); - } - case 36: - { - return ___DBGetUserTribe(in, current); - } - case 37: - { - return ___DBGetUserTribe2(in, current); - } - case 38: - { - return ___DBGetUserTribeConfig(in, current); - } - case 39: - { - return ___DBGetUserTribeNum(in, current); - } - case 40: - { - return ___DBGetUserWebTribe(in, current); - } - case 41: - { - return ___DBGetUserWebTribeGroup(in, current); - } - case 42: - { - return ___DBGetWebTribeGroup(in, current); - } - case 43: - { - return ___DBGetWebTribeGroupById(in, current); - } - case 44: - { - return ___DBGetWebUserActiveTribe(in, current); - } - case 45: - { - return ___DBGetWebUserDisactiveTribe(in, current); - } - case 46: - { - return ___DBIncrUserTribes(in, current); - } - case 47: - { - return ___DBNotifyTribeInfo(in, current); - } - case 48: - { - return ___DBNotifyWebTribeInfo(in, current); - } - case 49: - { - return ___DBStartTribe(in, current); - } - case 50: - { - return ___DBSyncWebTribe(in, current); - } - case 51: - { - return ___DBTransferTribe(in, current); - } - case 52: - { - return ___DBUpdateLastMsgId(in, current); - } - case 53: - { - return ___DBUpdateMemberActDegree(in, current); - } - case 54: - { - return ___DBUpdateMemberLevel(in, current); - } - case 55: - { - return ___DBUpdateOpenTribe(in, current); - } - case 56: - { - return ___DBUpdateTribeActDegree(in, current); - } - case 57: - { - return ___DBUpdateTribeCard(in, current); - } - case 58: - { - return ___DBUpdateTribeGroup(in, current); - } - case 59: - { - return ___DBUpdateTribeInfo(in, current); - } - case 60: - { - return ___DBUpdateTribeInfo2(in, current); - } - case 61: - { - return ___DBUpdateTribeLimit(in, current); - } - case 62: - { - return ___DBUpdateTribeMaster(in, current); - } - case 63: - { - return ___DBUpdateTribeMsgSetting(in, current); - } - case 64: - { - return ___DBUpdateUserGroup(in, current); - } - case 65: - { - return ___DBUpdateUserTribeConfig(in, current); - } - case 66: - { - return ___DBUpdateWebTribeGroupName(in, current); - } - case 67: - { - return ___TCAddTribeMember(in, current); - } - case 68: - { - return ___ice_id(in, current); - } - case 69: - { - return ___ice_ids(in, current); - } - case 70: - { - return ___ice_isA(in, current); - } - case 71: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -ALiIMDBTribe::TribeDBProxyMgr::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -ALiIMDBTribe::TribeDBProxyMgr::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -ALiIMDBTribe::TribeDBProxyMgr::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type ALiIMDBTribe::TribeDBProxyMgr was not generated with stream support"; - throw ex; -} - -void -ALiIMDBTribe::TribeDBProxyMgr::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type ALiIMDBTribe::TribeDBProxyMgr was not generated with stream support"; - throw ex; -} - -void -ALiIMDBTribe::__patch__TribeDBProxyMgrPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::ALiIMDBTribe::TribeDBProxyMgrPtr* p = static_cast< ::ALiIMDBTribe::TribeDBProxyMgrPtr*>(__addr); - assert(p); - *p = ::ALiIMDBTribe::TribeDBProxyMgrPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::ALiIMDBTribe::TribeDBProxyMgr::ice_staticId(); - throw e; - } -} - -bool -ALiIMDBTribe::operator==(const ::ALiIMDBTribe::TribeDBProxyMgr& l, const ::ALiIMDBTribe::TribeDBProxyMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -ALiIMDBTribe::operator!=(const ::ALiIMDBTribe::TribeDBProxyMgr& l, const ::ALiIMDBTribe::TribeDBProxyMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -ALiIMDBTribe::operator<(const ::ALiIMDBTribe::TribeDBProxyMgr& l, const ::ALiIMDBTribe::TribeDBProxyMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -ALiIMDBTribe::operator<=(const ::ALiIMDBTribe::TribeDBProxyMgr& l, const ::ALiIMDBTribe::TribeDBProxyMgr& r) -{ - return l < r || l == r; -} - -bool -ALiIMDBTribe::operator>(const ::ALiIMDBTribe::TribeDBProxyMgr& l, const ::ALiIMDBTribe::TribeDBProxyMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -ALiIMDBTribe::operator>=(const ::ALiIMDBTribe::TribeDBProxyMgr& l, const ::ALiIMDBTribe::TribeDBProxyMgr& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/dbtbsstructs60.cpp b/features/aliww/source/dbtbsstructs60.cpp deleted file mode 100644 index 0f20de9..0000000 --- a/features/aliww/source/dbtbsstructs60.cpp +++ /dev/null @@ -1,3260 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `dbtbsstructs60.ice' - -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -bool -ALiIMDBTribe::STribeInfo::operator==(const STribeInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeInfo::operator!=(const STribeInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(masterId != __rhs.masterId) - { - return true; - } - if(createrId != __rhs.createrId) - { - return true; - } - if(tribeclass != __rhs.tribeclass) - { - return true; - } - if(describe != __rhs.describe) - { - return true; - } - if(bulletin != __rhs.bulletin) - { - return true; - } - if(checkMode != __rhs.checkMode) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(validateCode != __rhs.validateCode) - { - return true; - } - if(lastMsgid != __rhs.lastMsgid) - { - return true; - } - if(memberTimes != __rhs.memberTimes) - { - return true; - } - if(onlineTimes != __rhs.onlineTimes) - { - return true; - } - if(onlineDegree != __rhs.onlineDegree) - { - return true; - } - if(discussDegree != __rhs.discussDegree) - { - return true; - } - if(rewardDegree != __rhs.rewardDegree) - { - return true; - } - if(masterOffer != __rhs.masterOffer) - { - return true; - } - if(totalDegree != __rhs.totalDegree) - { - return true; - } - if(keyword != __rhs.keyword) - { - return true; - } - if(allowVisitor != __rhs.allowVisitor) - { - return true; - } - if(forbidSearch != __rhs.forbidSearch) - { - return true; - } - if(extSign != __rhs.extSign) - { - return true; - } - if(groupStamp != __rhs.groupStamp) - { - return true; - } - if(blackStamp != __rhs.blackStamp) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeInfo::operator<(const STribeInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(masterId < __rhs.masterId) - { - return true; - } - else if(__rhs.masterId < masterId) - { - return false; - } - if(createrId < __rhs.createrId) - { - return true; - } - else if(__rhs.createrId < createrId) - { - return false; - } - if(tribeclass < __rhs.tribeclass) - { - return true; - } - else if(__rhs.tribeclass < tribeclass) - { - return false; - } - if(describe < __rhs.describe) - { - return true; - } - else if(__rhs.describe < describe) - { - return false; - } - if(bulletin < __rhs.bulletin) - { - return true; - } - else if(__rhs.bulletin < bulletin) - { - return false; - } - if(checkMode < __rhs.checkMode) - { - return true; - } - else if(__rhs.checkMode < checkMode) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(validateCode < __rhs.validateCode) - { - return true; - } - else if(__rhs.validateCode < validateCode) - { - return false; - } - if(lastMsgid < __rhs.lastMsgid) - { - return true; - } - else if(__rhs.lastMsgid < lastMsgid) - { - return false; - } - if(memberTimes < __rhs.memberTimes) - { - return true; - } - else if(__rhs.memberTimes < memberTimes) - { - return false; - } - if(onlineTimes < __rhs.onlineTimes) - { - return true; - } - else if(__rhs.onlineTimes < onlineTimes) - { - return false; - } - if(onlineDegree < __rhs.onlineDegree) - { - return true; - } - else if(__rhs.onlineDegree < onlineDegree) - { - return false; - } - if(discussDegree < __rhs.discussDegree) - { - return true; - } - else if(__rhs.discussDegree < discussDegree) - { - return false; - } - if(rewardDegree < __rhs.rewardDegree) - { - return true; - } - else if(__rhs.rewardDegree < rewardDegree) - { - return false; - } - if(masterOffer < __rhs.masterOffer) - { - return true; - } - else if(__rhs.masterOffer < masterOffer) - { - return false; - } - if(totalDegree < __rhs.totalDegree) - { - return true; - } - else if(__rhs.totalDegree < totalDegree) - { - return false; - } - if(keyword < __rhs.keyword) - { - return true; - } - else if(__rhs.keyword < keyword) - { - return false; - } - if(allowVisitor < __rhs.allowVisitor) - { - return true; - } - else if(__rhs.allowVisitor < allowVisitor) - { - return false; - } - if(forbidSearch < __rhs.forbidSearch) - { - return true; - } - else if(__rhs.forbidSearch < forbidSearch) - { - return false; - } - if(extSign < __rhs.extSign) - { - return true; - } - else if(__rhs.extSign < extSign) - { - return false; - } - if(groupStamp < __rhs.groupStamp) - { - return true; - } - else if(__rhs.groupStamp < groupStamp) - { - return false; - } - if(blackStamp < __rhs.blackStamp) - { - return true; - } - else if(__rhs.blackStamp < blackStamp) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(name); - __os->write(masterId); - __os->write(createrId); - __os->write(tribeclass); - __os->write(describe); - __os->write(bulletin); - __os->write(checkMode); - __os->write(password); - __os->write(validateCode); - __os->write(lastMsgid); - __os->write(memberTimes); - __os->write(onlineTimes); - __os->write(onlineDegree); - __os->write(discussDegree); - __os->write(rewardDegree); - __os->write(masterOffer); - __os->write(totalDegree); - __os->write(keyword); - __os->write(allowVisitor); - __os->write(forbidSearch); - __os->write(extSign); - __os->write(groupStamp); - __os->write(blackStamp); -} - -void -ALiIMDBTribe::STribeInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(name); - __is->read(masterId); - __is->read(createrId); - __is->read(tribeclass); - __is->read(describe); - __is->read(bulletin); - __is->read(checkMode); - __is->read(password); - __is->read(validateCode); - __is->read(lastMsgid); - __is->read(memberTimes); - __is->read(onlineTimes); - __is->read(onlineDegree); - __is->read(discussDegree); - __is->read(rewardDegree); - __is->read(masterOffer); - __is->read(totalDegree); - __is->read(keyword); - __is->read(allowVisitor); - __is->read(forbidSearch); - __is->read(extSign); - __is->read(groupStamp); - __is->read(blackStamp); -} - -bool -ALiIMDBTribe::STribeOfflineMsg::operator==(const STribeOfflineMsg& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeOfflineMsg::operator!=(const STribeOfflineMsg& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(memberId != __rhs.memberId) - { - return true; - } - if(type != __rhs.type) - { - return true; - } - if(message != __rhs.message) - { - return true; - } - if(sendTime != __rhs.sendTime) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeOfflineMsg::operator<(const STribeOfflineMsg& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(memberId < __rhs.memberId) - { - return true; - } - else if(__rhs.memberId < memberId) - { - return false; - } - if(type < __rhs.type) - { - return true; - } - else if(__rhs.type < type) - { - return false; - } - if(message < __rhs.message) - { - return true; - } - else if(__rhs.message < message) - { - return false; - } - if(sendTime < __rhs.sendTime) - { - return true; - } - else if(__rhs.sendTime < sendTime) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeOfflineMsg::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(memberId); - __os->write(type); - __os->write(message); - __os->write(sendTime); -} - -void -ALiIMDBTribe::STribeOfflineMsg::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(memberId); - __is->read(type); - __is->read(message); - __is->read(sendTime); -} - -bool -ALiIMDBTribe::STribeMemberInfo::operator==(const STribeMemberInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeMemberInfo::operator!=(const STribeMemberInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(memberLevel != __rhs.memberLevel) - { - return true; - } - if(tribeLevel != __rhs.tribeLevel) - { - return true; - } - if(mobileBindFlag != __rhs.mobileBindFlag) - { - return true; - } - if(mobileNo != __rhs.mobileNo) - { - return true; - } - if(bindMobile != __rhs.bindMobile) - { - return true; - } - if(lastMsgid != __rhs.lastMsgid) - { - return true; - } - if(onlineDegree != __rhs.onlineDegree) - { - return true; - } - if(discussDegree != __rhs.discussDegree) - { - return true; - } - if(rewardDegree != __rhs.rewardDegree) - { - return true; - } - if(totalDegree != __rhs.totalDegree) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(starMember != __rhs.starMember) - { - return true; - } - if(openFlag != __rhs.openFlag) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeMemberInfo::operator<(const STribeMemberInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(memberLevel < __rhs.memberLevel) - { - return true; - } - else if(__rhs.memberLevel < memberLevel) - { - return false; - } - if(tribeLevel < __rhs.tribeLevel) - { - return true; - } - else if(__rhs.tribeLevel < tribeLevel) - { - return false; - } - if(mobileBindFlag < __rhs.mobileBindFlag) - { - return true; - } - else if(__rhs.mobileBindFlag < mobileBindFlag) - { - return false; - } - if(mobileNo < __rhs.mobileNo) - { - return true; - } - else if(__rhs.mobileNo < mobileNo) - { - return false; - } - if(bindMobile < __rhs.bindMobile) - { - return true; - } - else if(__rhs.bindMobile < bindMobile) - { - return false; - } - if(lastMsgid < __rhs.lastMsgid) - { - return true; - } - else if(__rhs.lastMsgid < lastMsgid) - { - return false; - } - if(onlineDegree < __rhs.onlineDegree) - { - return true; - } - else if(__rhs.onlineDegree < onlineDegree) - { - return false; - } - if(discussDegree < __rhs.discussDegree) - { - return true; - } - else if(__rhs.discussDegree < discussDegree) - { - return false; - } - if(rewardDegree < __rhs.rewardDegree) - { - return true; - } - else if(__rhs.rewardDegree < rewardDegree) - { - return false; - } - if(totalDegree < __rhs.totalDegree) - { - return true; - } - else if(__rhs.totalDegree < totalDegree) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(starMember < __rhs.starMember) - { - return true; - } - else if(__rhs.starMember < starMember) - { - return false; - } - if(openFlag < __rhs.openFlag) - { - return true; - } - else if(__rhs.openFlag < openFlag) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeMemberInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(name); - __os->write(memberLevel); - __os->write(tribeLevel); - __os->write(mobileBindFlag); - __os->write(mobileNo); - __os->write(bindMobile); - __os->write(lastMsgid); - __os->write(onlineDegree); - __os->write(discussDegree); - __os->write(rewardDegree); - __os->write(totalDegree); - __os->write(groupId); - __os->write(starMember); - __os->write(openFlag); -} - -void -ALiIMDBTribe::STribeMemberInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(name); - __is->read(memberLevel); - __is->read(tribeLevel); - __is->read(mobileBindFlag); - __is->read(mobileNo); - __is->read(bindMobile); - __is->read(lastMsgid); - __is->read(onlineDegree); - __is->read(discussDegree); - __is->read(rewardDegree); - __is->read(totalDegree); - __is->read(groupId); - __is->read(starMember); - __is->read(openFlag); -} - -bool -ALiIMDBTribe::STribeMemberInfo2::operator==(const STribeMemberInfo2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeMemberInfo2::operator!=(const STribeMemberInfo2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(memberLevel != __rhs.memberLevel) - { - return true; - } - if(tribeLevel != __rhs.tribeLevel) - { - return true; - } - if(mobileBindFlag != __rhs.mobileBindFlag) - { - return true; - } - if(mobileNo != __rhs.mobileNo) - { - return true; - } - if(bindMobile != __rhs.bindMobile) - { - return true; - } - if(lastMsgid != __rhs.lastMsgid) - { - return true; - } - if(onlineDegree != __rhs.onlineDegree) - { - return true; - } - if(discussDegree != __rhs.discussDegree) - { - return true; - } - if(rewardDegree != __rhs.rewardDegree) - { - return true; - } - if(totalDegree != __rhs.totalDegree) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(starMember != __rhs.starMember) - { - return true; - } - if(openFlag != __rhs.openFlag) - { - return true; - } - if(popupFlag != __rhs.popupFlag) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeMemberInfo2::operator<(const STribeMemberInfo2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(memberLevel < __rhs.memberLevel) - { - return true; - } - else if(__rhs.memberLevel < memberLevel) - { - return false; - } - if(tribeLevel < __rhs.tribeLevel) - { - return true; - } - else if(__rhs.tribeLevel < tribeLevel) - { - return false; - } - if(mobileBindFlag < __rhs.mobileBindFlag) - { - return true; - } - else if(__rhs.mobileBindFlag < mobileBindFlag) - { - return false; - } - if(mobileNo < __rhs.mobileNo) - { - return true; - } - else if(__rhs.mobileNo < mobileNo) - { - return false; - } - if(bindMobile < __rhs.bindMobile) - { - return true; - } - else if(__rhs.bindMobile < bindMobile) - { - return false; - } - if(lastMsgid < __rhs.lastMsgid) - { - return true; - } - else if(__rhs.lastMsgid < lastMsgid) - { - return false; - } - if(onlineDegree < __rhs.onlineDegree) - { - return true; - } - else if(__rhs.onlineDegree < onlineDegree) - { - return false; - } - if(discussDegree < __rhs.discussDegree) - { - return true; - } - else if(__rhs.discussDegree < discussDegree) - { - return false; - } - if(rewardDegree < __rhs.rewardDegree) - { - return true; - } - else if(__rhs.rewardDegree < rewardDegree) - { - return false; - } - if(totalDegree < __rhs.totalDegree) - { - return true; - } - else if(__rhs.totalDegree < totalDegree) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(starMember < __rhs.starMember) - { - return true; - } - else if(__rhs.starMember < starMember) - { - return false; - } - if(openFlag < __rhs.openFlag) - { - return true; - } - else if(__rhs.openFlag < openFlag) - { - return false; - } - if(popupFlag < __rhs.popupFlag) - { - return true; - } - else if(__rhs.popupFlag < popupFlag) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeMemberInfo2::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(name); - __os->write(memberLevel); - __os->write(tribeLevel); - __os->write(mobileBindFlag); - __os->write(mobileNo); - __os->write(bindMobile); - __os->write(lastMsgid); - __os->write(onlineDegree); - __os->write(discussDegree); - __os->write(rewardDegree); - __os->write(totalDegree); - __os->write(groupId); - __os->write(starMember); - __os->write(openFlag); - __os->write(popupFlag); -} - -void -ALiIMDBTribe::STribeMemberInfo2::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(name); - __is->read(memberLevel); - __is->read(tribeLevel); - __is->read(mobileBindFlag); - __is->read(mobileNo); - __is->read(bindMobile); - __is->read(lastMsgid); - __is->read(onlineDegree); - __is->read(discussDegree); - __is->read(rewardDegree); - __is->read(totalDegree); - __is->read(groupId); - __is->read(starMember); - __is->read(openFlag); - __is->read(popupFlag); -} - -bool -ALiIMDBTribe::STribeMember::operator==(const STribeMember& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeMember::operator!=(const STribeMember& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(memberId != __rhs.memberId) - { - return true; - } - if(level != __rhs.level) - { - return true; - } - if(lastMsgid != __rhs.lastMsgid) - { - return true; - } - if(operId != __rhs.operId) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeMember::operator<(const STribeMember& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(memberId < __rhs.memberId) - { - return true; - } - else if(__rhs.memberId < memberId) - { - return false; - } - if(level < __rhs.level) - { - return true; - } - else if(__rhs.level < level) - { - return false; - } - if(lastMsgid < __rhs.lastMsgid) - { - return true; - } - else if(__rhs.lastMsgid < lastMsgid) - { - return false; - } - if(operId < __rhs.operId) - { - return true; - } - else if(__rhs.operId < operId) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeMember::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(memberId); - __os->write(level); - __os->write(lastMsgid); - __os->write(operId); - __os->write(groupId); -} - -void -ALiIMDBTribe::STribeMember::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(memberId); - __is->read(level); - __is->read(lastMsgid); - __is->read(operId); - __is->read(groupId); -} - -bool -ALiIMDBTribe::STribeId::operator==(const STribeId& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeId::operator!=(const STribeId& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(tribeLevel != __rhs.tribeLevel) - { - return true; - } - if(tribeStatus != __rhs.tribeStatus) - { - return true; - } - if(extSign != __rhs.extSign) - { - return true; - } - if(groupStamp != __rhs.groupStamp) - { - return true; - } - if(openTribe != __rhs.openTribe) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeId::operator<(const STribeId& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(tribeLevel < __rhs.tribeLevel) - { - return true; - } - else if(__rhs.tribeLevel < tribeLevel) - { - return false; - } - if(tribeStatus < __rhs.tribeStatus) - { - return true; - } - else if(__rhs.tribeStatus < tribeStatus) - { - return false; - } - if(extSign < __rhs.extSign) - { - return true; - } - else if(__rhs.extSign < extSign) - { - return false; - } - if(groupStamp < __rhs.groupStamp) - { - return true; - } - else if(__rhs.groupStamp < groupStamp) - { - return false; - } - if(openTribe < __rhs.openTribe) - { - return true; - } - else if(__rhs.openTribe < openTribe) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeId::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(name); - __os->write(tribeLevel); - __os->write(tribeStatus); - __os->write(extSign); - __os->write(groupStamp); - __os->write(openTribe); -} - -void -ALiIMDBTribe::STribeId::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(name); - __is->read(tribeLevel); - __is->read(tribeStatus); - __is->read(extSign); - __is->read(groupStamp); - __is->read(openTribe); -} - -bool -ALiIMDBTribe::STribeId2::operator==(const STribeId2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeId2::operator!=(const STribeId2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(tribeLevel != __rhs.tribeLevel) - { - return true; - } - if(tribeStatus != __rhs.tribeStatus) - { - return true; - } - if(extSign != __rhs.extSign) - { - return true; - } - if(groupStamp != __rhs.groupStamp) - { - return true; - } - if(openTribe != __rhs.openTribe) - { - return true; - } - if(popupFlag != __rhs.popupFlag) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeId2::operator<(const STribeId2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(tribeLevel < __rhs.tribeLevel) - { - return true; - } - else if(__rhs.tribeLevel < tribeLevel) - { - return false; - } - if(tribeStatus < __rhs.tribeStatus) - { - return true; - } - else if(__rhs.tribeStatus < tribeStatus) - { - return false; - } - if(extSign < __rhs.extSign) - { - return true; - } - else if(__rhs.extSign < extSign) - { - return false; - } - if(groupStamp < __rhs.groupStamp) - { - return true; - } - else if(__rhs.groupStamp < groupStamp) - { - return false; - } - if(openTribe < __rhs.openTribe) - { - return true; - } - else if(__rhs.openTribe < openTribe) - { - return false; - } - if(popupFlag < __rhs.popupFlag) - { - return true; - } - else if(__rhs.popupFlag < popupFlag) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeId2::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(name); - __os->write(tribeLevel); - __os->write(tribeStatus); - __os->write(extSign); - __os->write(groupStamp); - __os->write(openTribe); - __os->write(popupFlag); -} - -void -ALiIMDBTribe::STribeId2::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(name); - __is->read(tribeLevel); - __is->read(tribeStatus); - __is->read(extSign); - __is->read(groupStamp); - __is->read(openTribe); - __is->read(popupFlag); -} - -bool -ALiIMDBTribe::STribeIdDb::operator==(const STribeIdDb& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeIdDb::operator!=(const STribeIdDb& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(tribeLevel != __rhs.tribeLevel) - { - return true; - } - if(tribeStatus != __rhs.tribeStatus) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeIdDb::operator<(const STribeIdDb& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(tribeLevel < __rhs.tribeLevel) - { - return true; - } - else if(__rhs.tribeLevel < tribeLevel) - { - return false; - } - if(tribeStatus < __rhs.tribeStatus) - { - return true; - } - else if(__rhs.tribeStatus < tribeStatus) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeIdDb::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(name); - __os->write(tribeLevel); - __os->write(tribeStatus); -} - -void -ALiIMDBTribe::STribeIdDb::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(name); - __is->read(tribeLevel); - __is->read(tribeStatus); -} - -bool -ALiIMDBTribe::STribeGroup::operator==(const STribeGroup& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeGroup::operator!=(const STribeGroup& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(groupName != __rhs.groupName) - { - return true; - } - if(parentId != __rhs.parentId) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeGroup::operator<(const STribeGroup& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(groupName < __rhs.groupName) - { - return true; - } - else if(__rhs.groupName < groupName) - { - return false; - } - if(parentId < __rhs.parentId) - { - return true; - } - else if(__rhs.parentId < parentId) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeGroup::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(groupId); - __os->write(groupName); - __os->write(parentId); -} - -void -ALiIMDBTribe::STribeGroup::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(groupId); - __is->read(groupName); - __is->read(parentId); -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::STribeMemberInfo* begin, const ::ALiIMDBTribe::STribeMemberInfo* end, ::ALiIMDBTribe::__U__STribeMemberInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBTribe::__read(::IceInternal::BasicStream* __is, ::ALiIMDBTribe::STribeMemberInfoSeq& v, ::ALiIMDBTribe::__U__STribeMemberInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 54); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::STribeMemberInfo2* begin, const ::ALiIMDBTribe::STribeMemberInfo2* end, ::ALiIMDBTribe::__U__STribeMemberInfoSeq2) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBTribe::__read(::IceInternal::BasicStream* __is, ::ALiIMDBTribe::STribeMemberInfoSeq2& v, ::ALiIMDBTribe::__U__STribeMemberInfoSeq2) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 58); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::STribeOfflineMsg* begin, const ::ALiIMDBTribe::STribeOfflineMsg* end, ::ALiIMDBTribe::__U__STribeOfflineMsgSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBTribe::__read(::IceInternal::BasicStream* __is, ::ALiIMDBTribe::STribeOfflineMsgSeq& v, ::ALiIMDBTribe::__U__STribeOfflineMsgSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 16); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::STribeMember* begin, const ::ALiIMDBTribe::STribeMember* end, ::ALiIMDBTribe::__U__STribeMemberSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBTribe::__read(::IceInternal::BasicStream* __is, ::ALiIMDBTribe::STribeMemberSeq& v, ::ALiIMDBTribe::__U__STribeMemberSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 26); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::STribeId* begin, const ::ALiIMDBTribe::STribeId* end, ::ALiIMDBTribe::__U__STribeIdSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBTribe::__read(::IceInternal::BasicStream* __is, ::ALiIMDBTribe::STribeIdSeq& v, ::ALiIMDBTribe::__U__STribeIdSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 20); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::STribeId2* begin, const ::ALiIMDBTribe::STribeId2* end, ::ALiIMDBTribe::__U__STribeIdSeq2) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBTribe::__read(::IceInternal::BasicStream* __is, ::ALiIMDBTribe::STribeIdSeq2& v, ::ALiIMDBTribe::__U__STribeIdSeq2) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 22); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::STribeIdDb* begin, const ::ALiIMDBTribe::STribeIdDb* end, ::ALiIMDBTribe::__U__STribeIdDbSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBTribe::__read(::IceInternal::BasicStream* __is, ::ALiIMDBTribe::STribeIdDbSeq& v, ::ALiIMDBTribe::__U__STribeIdDbSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 13); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::STribeGroup* begin, const ::ALiIMDBTribe::STribeGroup* end, ::ALiIMDBTribe::__U__STribeGroupSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBTribe::__read(::IceInternal::BasicStream* __is, ::ALiIMDBTribe::STribeGroupSeq& v, ::ALiIMDBTribe::__U__STribeGroupSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 25); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -ALiIMDBTribe::STribeCard::operator==(const STribeCard& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeCard::operator!=(const STribeCard& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(memberId != __rhs.memberId) - { - return true; - } - if(realName != __rhs.realName) - { - return true; - } - if(phoneNum != __rhs.phoneNum) - { - return true; - } - if(mobileNum != __rhs.mobileNum) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(memo != __rhs.memo) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeCard::operator<(const STribeCard& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(memberId < __rhs.memberId) - { - return true; - } - else if(__rhs.memberId < memberId) - { - return false; - } - if(realName < __rhs.realName) - { - return true; - } - else if(__rhs.realName < realName) - { - return false; - } - if(phoneNum < __rhs.phoneNum) - { - return true; - } - else if(__rhs.phoneNum < phoneNum) - { - return false; - } - if(mobileNum < __rhs.mobileNum) - { - return true; - } - else if(__rhs.mobileNum < mobileNum) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(memo < __rhs.memo) - { - return true; - } - else if(__rhs.memo < memo) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeCard::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(memberId); - __os->write(realName); - __os->write(phoneNum); - __os->write(mobileNum); - __os->write(email); - __os->write(address); - __os->write(memo); -} - -void -ALiIMDBTribe::STribeCard::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(memberId); - __is->read(realName); - __is->read(phoneNum); - __is->read(mobileNum); - __is->read(email); - __is->read(address); - __is->read(memo); -} - -bool -ALiIMDBTribe::STribeInfo2::operator==(const STribeInfo2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeInfo2::operator!=(const STribeInfo2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(masterId != __rhs.masterId) - { - return true; - } - if(createrId != __rhs.createrId) - { - return true; - } - if(tribeclass != __rhs.tribeclass) - { - return true; - } - if(describe != __rhs.describe) - { - return true; - } - if(bulletin != __rhs.bulletin) - { - return true; - } - if(checkMode != __rhs.checkMode) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(validateCode != __rhs.validateCode) - { - return true; - } - if(lastMsgid != __rhs.lastMsgid) - { - return true; - } - if(memberTimes != __rhs.memberTimes) - { - return true; - } - if(onlineTimes != __rhs.onlineTimes) - { - return true; - } - if(onlineDegree != __rhs.onlineDegree) - { - return true; - } - if(discussDegree != __rhs.discussDegree) - { - return true; - } - if(rewardDegree != __rhs.rewardDegree) - { - return true; - } - if(masterOffer != __rhs.masterOffer) - { - return true; - } - if(totalDegree != __rhs.totalDegree) - { - return true; - } - if(keyword != __rhs.keyword) - { - return true; - } - if(allowVisitor != __rhs.allowVisitor) - { - return true; - } - if(forbidSearch != __rhs.forbidSearch) - { - return true; - } - if(extSign != __rhs.extSign) - { - return true; - } - if(groupStamp != __rhs.groupStamp) - { - return true; - } - if(blackStamp != __rhs.blackStamp) - { - return true; - } - if(webTid != __rhs.webTid) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeInfo2::operator<(const STribeInfo2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(masterId < __rhs.masterId) - { - return true; - } - else if(__rhs.masterId < masterId) - { - return false; - } - if(createrId < __rhs.createrId) - { - return true; - } - else if(__rhs.createrId < createrId) - { - return false; - } - if(tribeclass < __rhs.tribeclass) - { - return true; - } - else if(__rhs.tribeclass < tribeclass) - { - return false; - } - if(describe < __rhs.describe) - { - return true; - } - else if(__rhs.describe < describe) - { - return false; - } - if(bulletin < __rhs.bulletin) - { - return true; - } - else if(__rhs.bulletin < bulletin) - { - return false; - } - if(checkMode < __rhs.checkMode) - { - return true; - } - else if(__rhs.checkMode < checkMode) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(validateCode < __rhs.validateCode) - { - return true; - } - else if(__rhs.validateCode < validateCode) - { - return false; - } - if(lastMsgid < __rhs.lastMsgid) - { - return true; - } - else if(__rhs.lastMsgid < lastMsgid) - { - return false; - } - if(memberTimes < __rhs.memberTimes) - { - return true; - } - else if(__rhs.memberTimes < memberTimes) - { - return false; - } - if(onlineTimes < __rhs.onlineTimes) - { - return true; - } - else if(__rhs.onlineTimes < onlineTimes) - { - return false; - } - if(onlineDegree < __rhs.onlineDegree) - { - return true; - } - else if(__rhs.onlineDegree < onlineDegree) - { - return false; - } - if(discussDegree < __rhs.discussDegree) - { - return true; - } - else if(__rhs.discussDegree < discussDegree) - { - return false; - } - if(rewardDegree < __rhs.rewardDegree) - { - return true; - } - else if(__rhs.rewardDegree < rewardDegree) - { - return false; - } - if(masterOffer < __rhs.masterOffer) - { - return true; - } - else if(__rhs.masterOffer < masterOffer) - { - return false; - } - if(totalDegree < __rhs.totalDegree) - { - return true; - } - else if(__rhs.totalDegree < totalDegree) - { - return false; - } - if(keyword < __rhs.keyword) - { - return true; - } - else if(__rhs.keyword < keyword) - { - return false; - } - if(allowVisitor < __rhs.allowVisitor) - { - return true; - } - else if(__rhs.allowVisitor < allowVisitor) - { - return false; - } - if(forbidSearch < __rhs.forbidSearch) - { - return true; - } - else if(__rhs.forbidSearch < forbidSearch) - { - return false; - } - if(extSign < __rhs.extSign) - { - return true; - } - else if(__rhs.extSign < extSign) - { - return false; - } - if(groupStamp < __rhs.groupStamp) - { - return true; - } - else if(__rhs.groupStamp < groupStamp) - { - return false; - } - if(blackStamp < __rhs.blackStamp) - { - return true; - } - else if(__rhs.blackStamp < blackStamp) - { - return false; - } - if(webTid < __rhs.webTid) - { - return true; - } - else if(__rhs.webTid < webTid) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeInfo2::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(name); - __os->write(masterId); - __os->write(createrId); - __os->write(tribeclass); - __os->write(describe); - __os->write(bulletin); - __os->write(checkMode); - __os->write(password); - __os->write(validateCode); - __os->write(lastMsgid); - __os->write(memberTimes); - __os->write(onlineTimes); - __os->write(onlineDegree); - __os->write(discussDegree); - __os->write(rewardDegree); - __os->write(masterOffer); - __os->write(totalDegree); - __os->write(keyword); - __os->write(allowVisitor); - __os->write(forbidSearch); - __os->write(extSign); - __os->write(groupStamp); - __os->write(blackStamp); - __os->write(webTid); - __os->write(groupId); -} - -void -ALiIMDBTribe::STribeInfo2::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(name); - __is->read(masterId); - __is->read(createrId); - __is->read(tribeclass); - __is->read(describe); - __is->read(bulletin); - __is->read(checkMode); - __is->read(password); - __is->read(validateCode); - __is->read(lastMsgid); - __is->read(memberTimes); - __is->read(onlineTimes); - __is->read(onlineDegree); - __is->read(discussDegree); - __is->read(rewardDegree); - __is->read(masterOffer); - __is->read(totalDegree); - __is->read(keyword); - __is->read(allowVisitor); - __is->read(forbidSearch); - __is->read(extSign); - __is->read(groupStamp); - __is->read(blackStamp); - __is->read(webTid); - __is->read(groupId); -} - -bool -ALiIMDBTribe::STribeMember2::operator==(const STribeMember2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeMember2::operator!=(const STribeMember2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(memberId != __rhs.memberId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(level != __rhs.level) - { - return true; - } - if(lastMsgid != __rhs.lastMsgid) - { - return true; - } - if(operId != __rhs.operId) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeMember2::operator<(const STribeMember2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(memberId < __rhs.memberId) - { - return true; - } - else if(__rhs.memberId < memberId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(level < __rhs.level) - { - return true; - } - else if(__rhs.level < level) - { - return false; - } - if(lastMsgid < __rhs.lastMsgid) - { - return true; - } - else if(__rhs.lastMsgid < lastMsgid) - { - return false; - } - if(operId < __rhs.operId) - { - return true; - } - else if(__rhs.operId < operId) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeMember2::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(memberId); - __os->write(name); - __os->write(level); - __os->write(lastMsgid); - __os->write(operId); - __os->write(groupId); -} - -void -ALiIMDBTribe::STribeMember2::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(memberId); - __is->read(name); - __is->read(level); - __is->read(lastMsgid); - __is->read(operId); - __is->read(groupId); -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::STribeMember2* begin, const ::ALiIMDBTribe::STribeMember2* end, ::ALiIMDBTribe::__U__STribeMember2Seq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBTribe::__read(::IceInternal::BasicStream* __is, ::ALiIMDBTribe::STribeMember2Seq& v, ::ALiIMDBTribe::__U__STribeMember2Seq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 27); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -ALiIMDBTribe::STribeInfo3::operator==(const STribeInfo3& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::STribeInfo3::operator!=(const STribeInfo3& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(masterId != __rhs.masterId) - { - return true; - } - if(createrId != __rhs.createrId) - { - return true; - } - if(tribeclass != __rhs.tribeclass) - { - return true; - } - if(describe != __rhs.describe) - { - return true; - } - if(bulletin != __rhs.bulletin) - { - return true; - } - if(checkMode != __rhs.checkMode) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(validateCode != __rhs.validateCode) - { - return true; - } - if(lastMsgid != __rhs.lastMsgid) - { - return true; - } - if(memberTimes != __rhs.memberTimes) - { - return true; - } - if(onlineTimes != __rhs.onlineTimes) - { - return true; - } - if(onlineDegree != __rhs.onlineDegree) - { - return true; - } - if(discussDegree != __rhs.discussDegree) - { - return true; - } - if(rewardDegree != __rhs.rewardDegree) - { - return true; - } - if(masterOffer != __rhs.masterOffer) - { - return true; - } - if(totalDegree != __rhs.totalDegree) - { - return true; - } - if(keyword != __rhs.keyword) - { - return true; - } - if(allowVisitor != __rhs.allowVisitor) - { - return true; - } - if(forbidSearch != __rhs.forbidSearch) - { - return true; - } - if(extSign != __rhs.extSign) - { - return true; - } - if(groupStamp != __rhs.groupStamp) - { - return true; - } - if(blackStamp != __rhs.blackStamp) - { - return true; - } - if(webTid != __rhs.webTid) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(tribeLimit != __rhs.tribeLimit) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::STribeInfo3::operator<(const STribeInfo3& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(masterId < __rhs.masterId) - { - return true; - } - else if(__rhs.masterId < masterId) - { - return false; - } - if(createrId < __rhs.createrId) - { - return true; - } - else if(__rhs.createrId < createrId) - { - return false; - } - if(tribeclass < __rhs.tribeclass) - { - return true; - } - else if(__rhs.tribeclass < tribeclass) - { - return false; - } - if(describe < __rhs.describe) - { - return true; - } - else if(__rhs.describe < describe) - { - return false; - } - if(bulletin < __rhs.bulletin) - { - return true; - } - else if(__rhs.bulletin < bulletin) - { - return false; - } - if(checkMode < __rhs.checkMode) - { - return true; - } - else if(__rhs.checkMode < checkMode) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(validateCode < __rhs.validateCode) - { - return true; - } - else if(__rhs.validateCode < validateCode) - { - return false; - } - if(lastMsgid < __rhs.lastMsgid) - { - return true; - } - else if(__rhs.lastMsgid < lastMsgid) - { - return false; - } - if(memberTimes < __rhs.memberTimes) - { - return true; - } - else if(__rhs.memberTimes < memberTimes) - { - return false; - } - if(onlineTimes < __rhs.onlineTimes) - { - return true; - } - else if(__rhs.onlineTimes < onlineTimes) - { - return false; - } - if(onlineDegree < __rhs.onlineDegree) - { - return true; - } - else if(__rhs.onlineDegree < onlineDegree) - { - return false; - } - if(discussDegree < __rhs.discussDegree) - { - return true; - } - else if(__rhs.discussDegree < discussDegree) - { - return false; - } - if(rewardDegree < __rhs.rewardDegree) - { - return true; - } - else if(__rhs.rewardDegree < rewardDegree) - { - return false; - } - if(masterOffer < __rhs.masterOffer) - { - return true; - } - else if(__rhs.masterOffer < masterOffer) - { - return false; - } - if(totalDegree < __rhs.totalDegree) - { - return true; - } - else if(__rhs.totalDegree < totalDegree) - { - return false; - } - if(keyword < __rhs.keyword) - { - return true; - } - else if(__rhs.keyword < keyword) - { - return false; - } - if(allowVisitor < __rhs.allowVisitor) - { - return true; - } - else if(__rhs.allowVisitor < allowVisitor) - { - return false; - } - if(forbidSearch < __rhs.forbidSearch) - { - return true; - } - else if(__rhs.forbidSearch < forbidSearch) - { - return false; - } - if(extSign < __rhs.extSign) - { - return true; - } - else if(__rhs.extSign < extSign) - { - return false; - } - if(groupStamp < __rhs.groupStamp) - { - return true; - } - else if(__rhs.groupStamp < groupStamp) - { - return false; - } - if(blackStamp < __rhs.blackStamp) - { - return true; - } - else if(__rhs.blackStamp < blackStamp) - { - return false; - } - if(webTid < __rhs.webTid) - { - return true; - } - else if(__rhs.webTid < webTid) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(tribeLimit < __rhs.tribeLimit) - { - return true; - } - else if(__rhs.tribeLimit < tribeLimit) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::STribeInfo3::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(name); - __os->write(masterId); - __os->write(createrId); - __os->write(tribeclass); - __os->write(describe); - __os->write(bulletin); - __os->write(checkMode); - __os->write(password); - __os->write(validateCode); - __os->write(lastMsgid); - __os->write(memberTimes); - __os->write(onlineTimes); - __os->write(onlineDegree); - __os->write(discussDegree); - __os->write(rewardDegree); - __os->write(masterOffer); - __os->write(totalDegree); - __os->write(keyword); - __os->write(allowVisitor); - __os->write(forbidSearch); - __os->write(extSign); - __os->write(groupStamp); - __os->write(blackStamp); - __os->write(webTid); - __os->write(groupId); - __os->write(tribeLimit); -} - -void -ALiIMDBTribe::STribeInfo3::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(name); - __is->read(masterId); - __is->read(createrId); - __is->read(tribeclass); - __is->read(describe); - __is->read(bulletin); - __is->read(checkMode); - __is->read(password); - __is->read(validateCode); - __is->read(lastMsgid); - __is->read(memberTimes); - __is->read(onlineTimes); - __is->read(onlineDegree); - __is->read(discussDegree); - __is->read(rewardDegree); - __is->read(masterOffer); - __is->read(totalDegree); - __is->read(keyword); - __is->read(allowVisitor); - __is->read(forbidSearch); - __is->read(extSign); - __is->read(groupStamp); - __is->read(blackStamp); - __is->read(webTid); - __is->read(groupId); - __is->read(tribeLimit); -} - -bool -ALiIMDBTribe::SWebTribeGroup::operator==(const SWebTribeGroup& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::SWebTribeGroup::operator!=(const SWebTribeGroup& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(groupName != __rhs.groupName) - { - return true; - } - if(serviceId != __rhs.serviceId) - { - return true; - } - if(siteId != __rhs.siteId) - { - return true; - } - if(webId != __rhs.webId) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::SWebTribeGroup::operator<(const SWebTribeGroup& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(groupName < __rhs.groupName) - { - return true; - } - else if(__rhs.groupName < groupName) - { - return false; - } - if(serviceId < __rhs.serviceId) - { - return true; - } - else if(__rhs.serviceId < serviceId) - { - return false; - } - if(siteId < __rhs.siteId) - { - return true; - } - else if(__rhs.siteId < siteId) - { - return false; - } - if(webId < __rhs.webId) - { - return true; - } - else if(__rhs.webId < webId) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::SWebTribeGroup::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(groupId); - __os->write(groupName); - __os->write(serviceId); - __os->write(siteId); - __os->write(webId); -} - -void -ALiIMDBTribe::SWebTribeGroup::__read(::IceInternal::BasicStream* __is) -{ - __is->read(groupId); - __is->read(groupName); - __is->read(serviceId); - __is->read(siteId); - __is->read(webId); -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::SWebTribeGroup* begin, const ::ALiIMDBTribe::SWebTribeGroup* end, ::ALiIMDBTribe::__U__SWebTribeGroupSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBTribe::__read(::IceInternal::BasicStream* __is, ::ALiIMDBTribe::SWebTribeGroupSeq& v, ::ALiIMDBTribe::__U__SWebTribeGroupSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 12); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -ALiIMDBTribe::SWebTribeId::operator==(const SWebTribeId& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALiIMDBTribe::SWebTribeId::operator!=(const SWebTribeId& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(tribeLevel != __rhs.tribeLevel) - { - return true; - } - if(tribeStatus != __rhs.tribeStatus) - { - return true; - } - if(extSign != __rhs.extSign) - { - return true; - } - if(groupStamp != __rhs.groupStamp) - { - return true; - } - if(openTribe != __rhs.openTribe) - { - return true; - } - if(webTid != __rhs.webTid) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - return false; -} - -bool -ALiIMDBTribe::SWebTribeId::operator<(const SWebTribeId& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(tribeLevel < __rhs.tribeLevel) - { - return true; - } - else if(__rhs.tribeLevel < tribeLevel) - { - return false; - } - if(tribeStatus < __rhs.tribeStatus) - { - return true; - } - else if(__rhs.tribeStatus < tribeStatus) - { - return false; - } - if(extSign < __rhs.extSign) - { - return true; - } - else if(__rhs.extSign < extSign) - { - return false; - } - if(groupStamp < __rhs.groupStamp) - { - return true; - } - else if(__rhs.groupStamp < groupStamp) - { - return false; - } - if(openTribe < __rhs.openTribe) - { - return true; - } - else if(__rhs.openTribe < openTribe) - { - return false; - } - if(webTid < __rhs.webTid) - { - return true; - } - else if(__rhs.webTid < webTid) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - return false; -} - -void -ALiIMDBTribe::SWebTribeId::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(name); - __os->write(tribeLevel); - __os->write(tribeStatus); - __os->write(extSign); - __os->write(groupStamp); - __os->write(openTribe); - __os->write(webTid); - __os->write(groupId); -} - -void -ALiIMDBTribe::SWebTribeId::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(name); - __is->read(tribeLevel); - __is->read(tribeStatus); - __is->read(extSign); - __is->read(groupStamp); - __is->read(openTribe); - __is->read(webTid); - __is->read(groupId); -} - -void -ALiIMDBTribe::__write(::IceInternal::BasicStream* __os, const ::ALiIMDBTribe::SWebTribeId* begin, const ::ALiIMDBTribe::SWebTribeId* end, ::ALiIMDBTribe::__U__SWebTribeIdSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALiIMDBTribe::__read(::IceInternal::BasicStream* __is, ::ALiIMDBTribe::SWebTribeIdSeq& v, ::ALiIMDBTribe::__U__SWebTribeIdSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 29); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} diff --git a/features/aliww/source/ddbadmin_perf_test.cpp b/features/aliww/source/ddbadmin_perf_test.cpp deleted file mode 100644 index e4231db..0000000 --- a/features/aliww/source/ddbadmin_perf_test.cpp +++ /dev/null @@ -1,283 +0,0 @@ -#include "ddbadmin_perf_test.h" - -using namespace std; -using namespace Ice; -using namespace AliDDB; - -void* ddbadmin_init(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - ddbadmin_st *ap = (ddbadmin_st *)malloc(sizeof(ddbadmin_st)); - pVuser->verb = ap; - srand(time(0)); - create_transaction(pVuser,"DDBAdmin"); - - int status = 0; - Ice::CommunicatorPtr ic; - - try{ - ic = Ice::initialize(); - - Ice::ObjectPrx base = ic->stringToProxy("DDBAdminMgrProxyId:default -h 10.250.2.12 -p 20000"); - AliDDBInterfacePrx ddbadmin = AliDDBInterfacePrx::checkedCast(base); - if(!ddbadmin){ - throw "Invalid proxy"; - } - ap->ddbadmin = new AliDDBInterfacePrx(ddbadmin); - ap->ic = new Ice::CommunicatorPtr(ic); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* ddbadmin_insertRecord(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - ddbadmin_st *ap = (ddbadmin_st *)pVuser->verb; - int status = 0; - AliDDBInterfacePrx ddbadmin = *(ap->ddbadmin); - - string table = "im_user"; - KVMap key; - char cvalue[256]; - sprintf(cvalue,"ddbadmin_insertRecord%dx%dx%d",get_vuser_id(pVuser),get_vuser_group(pVuser),get_vuser_ite(pVuser)); - string value(cvalue); - key["login_id"] = value; - DBRecord record; - record.fields["web_id"]="cntaobao"; - record.fields["sys_msg_id"]="100"; - record.fields["group_times"]="1"; - record.fields["contact_times"]="2"; - record.fields["blacklist_times"]="3"; - record.fields["reverse_blacklist_times"]="4"; - record.fields["user_status"]="0"; - record.fields["tools_times"]="5"; - record.fields["multi_account_flag"]="0"; - record.fields["add_contact_verify"]="1"; - record.fields["send_msg_verify"]="1"; - record.fields["add_tribe_verify"]="1"; - - try{ - status = ddbadmin->insertRecord(table, key, record); - if(status == 0) - success_transactionEx(pVuser,"DDBAdmin","insertRecord Sucess."); - else{ - char str_tmp[32] = {0}; - sprintf(str_tmp,"insertRecord:Call ret status is %d",status); - fail_transactionEx(pVuser,"DDBAdmin",str_tmp); - } - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* ddbadmin_getRecord(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - ddbadmin_st *ap = (ddbadmin_st *)pVuser->verb; - int status = 0; - AliDDBInterfacePrx ddbadmin = *(ap->ddbadmin); - - string table = "im_user"; - KVMap key; - string value( select_param_ex(pVuser)); - key["login_id"] = value; - vector fields, bf; - fields.push_back("web_id"); - fields.push_back("sys_msg_id"); - fields.push_back("group_times"); - fields.push_back("contact_times"); - fields.push_back("blacklist_times"); - fields.push_back("reverse_blacklist_times"); - fields.push_back("user_status"); - fields.push_back("tools_times"); - fields.push_back("multi_account_flag"); - fields.push_back("add_contact_verify"); - fields.push_back("send_msg_verify"); - fields.push_back("add_tribe_verify"); - fields.push_back("gmt_create"); - fields.push_back("gmt_modified"); - DBRecord record; - - try{ - status = ddbadmin->getRecord(table, key, fields, bf, record); - if(status == 0) - success_transactionEx(pVuser,"DDBAdmin","getRecord Sucess."); - else{ - char str_tmp[32] = {0}; - sprintf(str_tmp,"getRecord:Call ret status is %d",status); - fail_transactionEx(pVuser,"DDBAdmin",str_tmp); - } - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - - -void* ddbadmin_deleteRecord(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - ddbadmin_st *ap = (ddbadmin_st *)pVuser->verb; - int status = 0; - AliDDBInterfacePrx ddbadmin = *(ap->ddbadmin); - - string table = "im_user"; - KVMap key, uniqKey; - string value( select_param_ex(pVuser)); - key["login_id"] = value; - - try{ - status = ddbadmin->deleteRecord(table, key, uniqKey); - if(status == 0) - success_transactionEx(pVuser,"DDBAdmin","deleteRecord Sucess."); - else{ - char str_tmp[32] = {0}; - sprintf(str_tmp,"deleteRecord:Call ret status is %d",status); - fail_transactionEx(pVuser,"DDBAdmin",str_tmp); - } - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* ddbadmin_updateRecord(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - ddbadmin_st *ap = (ddbadmin_st *)pVuser->verb; - int status = 0; - AliDDBInterfacePrx ddbadmin = *(ap->ddbadmin); - - string table = "im_user"; - KVMap key, uniqKey; - string value( select_param_ex(pVuser)); - key["login_id"] = value; - DBRecord record; - record.fields["web_id"]="cnalichn"; - record.fields["sys_msg_id"]="100"; - record.fields["group_times"]="1"; - record.fields["contact_times"]="2"; - record.fields["blacklist_times"]="3"; - record.fields["reverse_blacklist_times"]="4"; - record.fields["user_status"]="0"; - record.fields["tools_times"]="5"; - record.fields["multi_account_flag"]="0"; - record.fields["add_contact_verify"]="1"; - record.fields["send_msg_verify"]="1"; - record.fields["add_tribe_verify"]="1"; - - try{ - status = ddbadmin->updateRecord(table, key, uniqKey, record); - if(status == 0) - success_transactionEx(pVuser,"DDBAdmin","TextPut Sucess."); - else{ - char str_tmp[32] = {0}; - sprintf(str_tmp,"getUserStatus:Call ret status is %d",status); - fail_transactionEx(pVuser,"DDBAdmin",str_tmp); - } - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* ddbadmin_insertRecord_delete(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - ddbadmin_st *ap = (ddbadmin_st *)pVuser->verb; - int status = 0; - AliDDBInterfacePrx ddbadmin = *(ap->ddbadmin); - - string table = "im_user"; - KVMap key, uniqKey; - char cvalue[256]; - sprintf(cvalue,"ddbadmin_insertRecord%dx%dx%d",get_vuser_id(pVuser),get_vuser_group(pVuser),get_vuser_ite(pVuser)); - string value(cvalue); - key["login_id"] = value; - DBRecord record; - record.fields["web_id"]="cntaobao"; - record.fields["sys_msg_id"]="100"; - record.fields["group_times"]="1"; - record.fields["contact_times"]="2"; - record.fields["blacklist_times"]="3"; - record.fields["reverse_blacklist_times"]="4"; - record.fields["user_status"]="0"; - record.fields["tools_times"]="5"; - record.fields["multi_account_flag"]="0"; - record.fields["add_contact_verify"]="1"; - record.fields["send_msg_verify"]="1"; - record.fields["add_tribe_verify"]="1"; - - try{ - status = ddbadmin->insertRecord(table, key, record); - if(status == 0) - success_transactionEx(pVuser,"DDBAdmin","insertRecord Sucess."); - else{ - char str_tmp[32] = {0}; - sprintf(str_tmp,"insertRecord:Call ret status is %d",status); - fail_transactionEx(pVuser,"DDBAdmin",str_tmp); - } - status = ddbadmin->deleteRecord(table, key, uniqKey); - if(status == 0) - success_transactionEx(pVuser,"DDBAdmin","deleteRecord Sucess."); - else{ - char str_tmp[32] = {0}; - sprintf(str_tmp,"deleteRecord:Call ret status is %d",status); - fail_transactionEx(pVuser,"DDBAdmin",str_tmp); - } - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} -void* ddbadmin_end(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - ddbadmin_st *ap = (ddbadmin_st *)pVuser->verb; - int status = 0; - AliDDBInterfacePrx ddbadmin = *(ap->ddbadmin); - Ice::CommunicatorPtr ic = *(ap->ic); - - if(ic){ - try{ - ic->destroy(); - //delete(&ic); - //delete(&ddbadmin); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } - } -} - diff --git a/features/aliww/source/des.cpp b/features/aliww/source/des.cpp deleted file mode 100644 index d076b19..0000000 --- a/features/aliww/source/des.cpp +++ /dev/null @@ -1,999 +0,0 @@ -//Sofware DES functions -//written 12 Dec 1986 by Phil Karn, KA9Q; large sections adapted from -//the 1977 public-domain program by Jim Gillogly - -#include -#ifdef _WIN32 -#include -#else -#include -#endif -#include "des.h" - -//initial permutation IP -#if 0 -static char ip[] = { - 58, 50, 42, 34, 26, 18, 10, 2, - 60, 52, 44, 36, 28, 20, 12, 4, - 62, 54, 46, 38, 30, 22, 14, 6, - 64, 56, 48, 40, 32, 24, 16, 8, - 57, 49, 41, 33, 25, 17, 9, 1, - 59, 51, 43, 35, 27, 19, 11, 3, - 61, 53, 45, 37, 29, 21, 13, 5, - 63, 55, 47, 39, 31, 23, 15, 7 -}; -#endif - -//final permutation IP^-1 -#if 0 -static char fp[] = { - 40, 8, 48, 16, 56, 24, 64, 32, - 39, 7, 47, 15, 55, 23, 63, 31, - 38, 6, 46, 14, 54, 22, 62, 30, - 37, 5, 45, 13, 53, 21, 61, 29, - 36, 4, 44, 12, 52, 20, 60, 28, - 35, 3, 43, 11, 51, 19, 59, 27, - 34, 2, 42, 10, 50, 18, 58, 26, - 33, 1, 41, 9, 49, 17, 57, 25 -}; -#endif - -//permuted choice table (key) -static char pc1[] = { - 57, 49, 41, 33, 25, 17, 9, - 1, 58, 50, 42, 34, 26, 18, - 10, 2, 59, 51, 43, 35, 27, - 19, 11, 3, 60, 52, 44, 36, - - 63, 55, 47, 39, 31, 23, 15, - 7, 62, 54, 46, 38, 30, 22, - 14, 6, 61, 53, 45, 37, 29, - 21, 13, 5, 28, 20, 12, 4 -}; - -//number left rotations of pc1 -static char totrot[] = { - 1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28 -}; - -//permuted choice key (table) -static char pc2[] = { - 14, 17, 11, 24, 1, 5, - 3, 28, 15, 6, 21, 10, - 23, 19, 12, 4, 26, 8, - 16, 7, 27, 20, 13, 2, - 41, 52, 31, 37, 47, 55, - 30, 40, 51, 45, 33, 48, - 44, 49, 39, 56, 34, 53, - 46, 42, 50, 36, 29, 32 -}; - -//The (in)famous S-boxes -#if 0 -static char si[8][64] = { - //S1 - {14, 4, 13, 1, 2, 15, 11, 8, 3, 10, 6, 12, 5, 9, 0, 7, - 0, 15, 7, 4, 14, 2, 13, 1, 10, 6, 12, 11, 9, 5, 3, 8, - 4, 1, 14, 8, 13, 6, 2, 11, 15, 12, 9, 7, 3, 10, 5, 0, - 15, 12, 8, 2, 4, 9, 1, 7, 5, 11, 3, 14, 10, 0, 6, 13}, - - //S2 - {15, 1, 8, 14, 6, 11, 3, 4, 9, 7, 2, 13, 12, 0, 5, 10, - 3, 13, 4, 7, 15, 2, 8, 14, 12, 0, 1, 10, 6, 9, 11, 5, - 0, 14, 7, 11, 10, 4, 13, 1, 5, 8, 12, 6, 9, 3, 2, 15, - 13, 8, 10, 1, 3, 15, 4, 2, 11, 6, 7, 12, 0, 5, 14, 9}, - - //S3 - {10, 0, 9, 14, 6, 3, 15, 5, 1, 13, 12, 7, 11, 4, 2, 8, - 13, 7, 0, 9, 3, 4, 6, 10, 2, 8, 5, 14, 12, 11, 15, 1, - 13, 6, 4, 9, 8, 15, 3, 0, 11, 1, 2, 12, 5, 10, 14, 7, - 1, 10, 13, 0, 6, 9, 8, 7, 4, 15, 14, 3, 11, 5, 2, 12}, - - //S4 - {7, 13, 14, 3, 0, 6, 9, 10, 1, 2, 8, 5, 11, 12, 4, 15, - 13, 8, 11, 5, 6, 15, 0, 3, 4, 7, 2, 12, 1, 10, 14, 9, - 10, 6, 9, 0, 12, 11, 7, 13, 15, 1, 3, 14, 5, 2, 8, 4, - 3, 15, 0, 6, 10, 1, 13, 8, 9, 4, 5, 11, 12, 7, 2, 14}, - - //S5 - {2, 12, 4, 1, 7, 10, 11, 6, 8, 5, 3, 15, 13, 0, 14, 9, - 14, 11, 2, 12, 4, 7, 13, 1, 5, 0, 15, 10, 3, 9, 8, 6, - 4, 2, 1, 11, 10, 13, 7, 8, 15, 9, 12, 5, 6, 3, 0, 14, - 11, 8, 12, 7, 1, 14, 2, 13, 6, 15, 0, 9, 10, 4, 5, 3}, - - //S6 - {12, 1, 10, 15, 9, 2, 6, 8, 0, 13, 3, 4, 14, 7, 5, 11, - 10, 15, 4, 2, 7, 12, 9, 5, 6, 1, 13, 14, 0, 11, 3, 8, - 9, 14, 15, 5, 2, 8, 12, 3, 7, 0, 4, 10, 1, 13, 11, 6, - 4, 3, 2, 12, 9, 5, 15, 10, 11, 14, 1, 7, 6, 0, 8, 13}, - - //S7 - {4, 11, 2, 14, 15, 0, 8, 13, 3, 12, 9, 7, 5, 10, 6, 1, - 13, 0, 11, 7, 4, 9, 1, 10, 14, 3, 5, 12, 2, 15, 8, 6, - 1, 4, 11, 13, 12, 3, 7, 14, 10, 15, 6, 8, 0, 5, 9, 2, - 6, 11, 13, 8, 1, 4, 10, 7, 9, 5, 0, 15, 14, 2, 3, 12}, - - //S8 - {13, 2, 8, 4, 6, 15, 11, 1, 10, 9, 3, 14, 5, 0, 12, 7, - 1, 15, 13, 8, 10, 3, 7, 4, 12, 5, 6, 11, 0, 14, 9, 2, - 7, 11, 4, 1, 9, 12, 14, 2, 0, 6, 10, 13, 15, 3, 5, 8, - 2, 1, 14, 7, 4, 10, 8, 13, 15, 12, 9, 0, 3, 5, 6, 11} -}; -#endif - -//32-bit permutation function P used on the output of the S-boxes -#if 0 -static char p32i[] = { - 16, 7, 20, 21, - 29, 12, 28, 17, - 1, 15, 23, 26, - 5, 18, 31, 10, - 2, 8, 24, 14, - 32, 27, 3, 9, - 19, 13, 30, 6, - 22, 11, 4, 25 -}; -#endif -//End of DES-defined tables - -//Lookup tables initialized once only at startup by desinit() -static int sp_[8][64]= //Combined S and P boxes -{ -{0x00808200, 0x00000000, 0x00008000, 0x00808202, 0x00808002, 0x00008202, 0x00000002, 0x00008000, 0x00000200, 0x00808200, 0x00808202, 0x00000200, 0x00800202, 0x00808002, 0x00800000, 0x00000002, 0x00000202, 0x00800200, 0x00800200, 0x00008200, 0x00008200, 0x00808000, 0x00808000, 0x00800202, 0x00008002, 0x00800002, 0x00800002, 0x00008002, 0x00000000, 0x00000202, 0x00008202, 0x00800000, 0x00008000, 0x00808202, 0x00000002, 0x00808000, 0x00808200, 0x00800000, 0x00800000, 0x00000200, 0x00808002, 0x00008000, 0x00008200, 0x00800002, 0x00000200, 0x00000002, 0x00800202, 0x00008202, 0x00808202, 0x00008002, 0x00808000, 0x00800202, 0x00800002, 0x00000202, 0x00008202, 0x00808200, 0x00000202, 0x00800200, 0x00800200, 0x00000000, 0x00008002, 0x00008200, 0x00000000, 0x00808002}, -{0x40084010, 0x40004000, 0x00004000, 0x00084010, 0x00080000, 0x00000010, 0x40080010, 0x40004010, 0x40000010, 0x40084010, 0x40084000, 0x40000000, 0x40004000, 0x00080000, 0x00000010, 0x40080010, 0x00084000, 0x00080010, 0x40004010, 0x00000000, 0x40000000, 0x00004000, 0x00084010, 0x40080000, 0x00080010, 0x40000010, 0x00000000, 0x00084000, 0x00004010, 0x40084000, 0x40080000, 0x00004010, 0x00000000, 0x00084010, 0x40080010, 0x00080000, 0x40004010, 0x40080000, 0x40084000, 0x00004000, 0x40080000, 0x40004000, 0x00000010, 0x40084010, 0x00084010, 0x00000010, 0x00004000, 0x40000000, 0x00004010, 0x40084000, 0x00080000, 0x40000010, 0x00080010, 0x40004010, 0x40000010, 0x00080010, 0x00084000, 0x00000000, 0x40004000, 0x00004010, 0x40000000, 0x40080010, 0x40084010, 0x00084000}, -{0x00000104, 0x04010100, 0x00000000, 0x04010004, 0x04000100, 0x00000000, 0x00010104, 0x04000100, 0x00010004, 0x04000004, 0x04000004, 0x00010000, 0x04010104, 0x00010004, 0x04010000, 0x00000104, 0x04000000, 0x00000004, 0x04010100, 0x00000100, 0x00010100, 0x04010000, 0x04010004, 0x00010104, 0x04000104, 0x00010100, 0x00010000, 0x04000104, 0x00000004, 0x04010104, 0x00000100, 0x04000000, 0x04010100, 0x04000000, 0x00010004, 0x00000104, 0x00010000, 0x04010100, 0x04000100, 0x00000000, 0x00000100, 0x00010004, 0x04010104, 0x04000100, 0x04000004, 0x00000100, 0x00000000, 0x04010004, 0x04000104, 0x00010000, 0x04000000, 0x04010104, 0x00000004, 0x00010104, 0x00010100, 0x04000004, 0x04010000, 0x04000104, 0x00000104, 0x04010000, 0x00010104, 0x00000004, 0x04010004, 0x00010100}, -{0x80401000, 0x80001040, 0x80001040, 0x00000040, 0x00401040, 0x80400040, 0x80400000, 0x80001000, 0x00000000, 0x00401000, 0x00401000, 0x80401040, 0x80000040, 0x00000000, 0x00400040, 0x80400000, 0x80000000, 0x00001000, 0x00400000, 0x80401000, 0x00000040, 0x00400000, 0x80001000, 0x00001040, 0x80400040, 0x80000000, 0x00001040, 0x00400040, 0x00001000, 0x00401040, 0x80401040, 0x80000040, 0x00400040, 0x80400000, 0x00401000, 0x80401040, 0x80000040, 0x00000000, 0x00000000, 0x00401000, 0x00001040, 0x00400040, 0x80400040, 0x80000000, 0x80401000, 0x80001040, 0x80001040, 0x00000040, 0x80401040, 0x80000040, 0x80000000, 0x00001000, 0x80400000, 0x80001000, 0x00401040, 0x80400040, 0x80001000, 0x00001040, 0x00400000, 0x80401000, 0x00000040, 0x00400000, 0x00001000, 0x00401040}, -{0x00000080, 0x01040080, 0x01040000, 0x21000080, 0x00040000, 0x00000080, 0x20000000, 0x01040000, 0x20040080, 0x00040000, 0x01000080, 0x20040080, 0x21000080, 0x21040000, 0x00040080, 0x20000000, 0x01000000, 0x20040000, 0x20040000, 0x00000000, 0x20000080, 0x21040080, 0x21040080, 0x01000080, 0x21040000, 0x20000080, 0x00000000, 0x21000000, 0x01040080, 0x01000000, 0x21000000, 0x00040080, 0x00040000, 0x21000080, 0x00000080, 0x01000000, 0x20000000, 0x01040000, 0x21000080, 0x20040080, 0x01000080, 0x20000000, 0x21040000, 0x01040080, 0x20040080, 0x00000080, 0x01000000, 0x21040000, 0x21040080, 0x00040080, 0x21000000, 0x21040080, 0x01040000, 0x00000000, 0x20040000, 0x21000000, 0x00040080, 0x01000080, 0x20000080, 0x00040000, 0x00000000, 0x20040000, 0x01040080, 0x20000080}, -{0x10000008, 0x10200000, 0x00002000, 0x10202008, 0x10200000, 0x00000008, 0x10202008, 0x00200000, 0x10002000, 0x00202008, 0x00200000, 0x10000008, 0x00200008, 0x10002000, 0x10000000, 0x00002008, 0x00000000, 0x00200008, 0x10002008, 0x00002000, 0x00202000, 0x10002008, 0x00000008, 0x10200008, 0x10200008, 0x00000000, 0x00202008, 0x10202000, 0x00002008, 0x00202000, 0x10202000, 0x10000000, 0x10002000, 0x00000008, 0x10200008, 0x00202000, 0x10202008, 0x00200000, 0x00002008, 0x10000008, 0x00200000, 0x10002000, 0x10000000, 0x00002008, 0x10000008, 0x10202008, 0x00202000, 0x10200000, 0x00202008, 0x10202000, 0x00000000, 0x10200008, 0x00000008, 0x00002000, 0x10200000, 0x00202008, 0x00002000, 0x00200008, 0x10002008, 0x00000000, 0x10202000, 0x10000000, 0x00200008, 0x10002008}, -{0x00100000, 0x02100001, 0x02000401, 0x00000000, 0x00000400, 0x02000401, 0x00100401, 0x02100400, 0x02100401, 0x00100000, 0x00000000, 0x02000001, 0x00000001, 0x02000000, 0x02100001, 0x00000401, 0x02000400, 0x00100401, 0x00100001, 0x02000400, 0x02000001, 0x02100000, 0x02100400, 0x00100001, 0x02100000, 0x00000400, 0x00000401, 0x02100401, 0x00100400, 0x00000001, 0x02000000, 0x00100400, 0x02000000, 0x00100400, 0x00100000, 0x02000401, 0x02000401, 0x02100001, 0x02100001, 0x00000001, 0x00100001, 0x02000000, 0x02000400, 0x00100000, 0x02100400, 0x00000401, 0x00100401, 0x02100400, 0x00000401, 0x02000001, 0x02100401, 0x02100000, 0x00100400, 0x00000000, 0x00000001, 0x02100401, 0x00000000, 0x00100401, 0x02100000, 0x00000400, 0x02000001, 0x02000400, 0x00000400, 0x00100001}, -{0x08000820, 0x00000800, 0x00020000, 0x08020820, 0x08000000, 0x08000820, 0x00000020, 0x08000000, 0x00020020, 0x08020000, 0x08020820, 0x00020800, 0x08020800, 0x00020820, 0x00000800, 0x00000020, 0x08020000, 0x08000020, 0x08000800, 0x00000820, 0x00020800, 0x00020020, 0x08020020, 0x08020800, 0x00000820, 0x00000000, 0x00000000, 0x08020020, 0x08000020, 0x08000800, 0x00020820, 0x00020000, 0x00020820, 0x00020000, 0x08020800, 0x00000800, 0x00000020, 0x08020020, 0x00000800, 0x00020820, 0x08000800, 0x00000020, 0x08000020, 0x08020000, 0x08020020, 0x08000000, 0x00020000, 0x08000820, 0x00000000, 0x08020820, 0x00020020, 0x08000020, 0x08020000, 0x08000800, 0x08000820, 0x00000000, 0x08020820, 0x00020800, 0x00020800, 0x00000820, 0x00000820, 0x00020020, 0x08000000, 0x08020800}, - -}; - -static unsigned char iperm[16][16][8]= //Initial and final permutations -{ - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 1, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 1, 0, 0}, - {0, 1, 0, 0, 0, 1, 0, 0}, - {1, 0, 0, 0, 0, 0, 0, 0}, - {1, 1, 0, 0, 0, 0, 0, 0}, - {1, 0, 0, 0, 0, 1, 0, 0}, - {1, 1, 0, 0, 0, 1, 0, 0}, - {0, 0, 0, 0, 1, 0, 0, 0}, - {0, 1, 0, 0, 1, 0, 0, 0}, - {0, 0, 0, 0, 1, 1, 0, 0}, - {0, 1, 0, 0, 1, 1, 0, 0}, - {1, 0, 0, 0, 1, 0, 0, 0}, - {1, 1, 0, 0, 1, 0, 0, 0}, - {1, 0, 0, 0, 1, 1, 0, 0}, - {1, 1, 0, 0, 1, 1, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 1, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 0, 0, 1}, - {0, 0, 0, 1, 0, 0, 0, 1}, - {0, 0, 1, 0, 0, 0, 0, 0}, - {0, 0, 1, 1, 0, 0, 0, 0}, - {0, 0, 1, 0, 0, 0, 0, 1}, - {0, 0, 1, 1, 0, 0, 0, 1}, - {0, 0, 0, 0, 0, 0, 1, 0}, - {0, 0, 0, 1, 0, 0, 1, 0}, - {0, 0, 0, 0, 0, 0, 1, 1}, - {0, 0, 0, 1, 0, 0, 1, 1}, - {0, 0, 1, 0, 0, 0, 1, 0}, - {0, 0, 1, 1, 0, 0, 1, 0}, - {0, 0, 1, 0, 0, 0, 1, 1}, - {0, 0, 1, 1, 0, 0, 1, 1} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 2, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 2, 0, 0}, - {0, 2, 0, 0, 0, 2, 0, 0}, - {2, 0, 0, 0, 0, 0, 0, 0}, - {2, 2, 0, 0, 0, 0, 0, 0}, - {2, 0, 0, 0, 0, 2, 0, 0}, - {2, 2, 0, 0, 0, 2, 0, 0}, - {0, 0, 0, 0, 2, 0, 0, 0}, - {0, 2, 0, 0, 2, 0, 0, 0}, - {0, 0, 0, 0, 2, 2, 0, 0}, - {0, 2, 0, 0, 2, 2, 0, 0}, - {2, 0, 0, 0, 2, 0, 0, 0}, - {2, 2, 0, 0, 2, 0, 0, 0}, - {2, 0, 0, 0, 2, 2, 0, 0}, - {2, 2, 0, 0, 2, 2, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 2, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 0, 0, 2}, - {0, 0, 0, 2, 0, 0, 0, 2}, - {0, 0, 2, 0, 0, 0, 0, 0}, - {0, 0, 2, 2, 0, 0, 0, 0}, - {0, 0, 2, 0, 0, 0, 0, 2}, - {0, 0, 2, 2, 0, 0, 0, 2}, - {0, 0, 0, 0, 0, 0, 2, 0}, - {0, 0, 0, 2, 0, 0, 2, 0}, - {0, 0, 0, 0, 0, 0, 2, 2}, - {0, 0, 0, 2, 0, 0, 2, 2}, - {0, 0, 2, 0, 0, 0, 2, 0}, - {0, 0, 2, 2, 0, 0, 2, 0}, - {0, 0, 2, 0, 0, 0, 2, 2}, - {0, 0, 2, 2, 0, 0, 2, 2} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 4, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 4, 0, 0}, - {0, 4, 0, 0, 0, 4, 0, 0}, - {4, 0, 0, 0, 0, 0, 0, 0}, - {4, 4, 0, 0, 0, 0, 0, 0}, - {4, 0, 0, 0, 0, 4, 0, 0}, - {4, 4, 0, 0, 0, 4, 0, 0}, - {0, 0, 0, 0, 4, 0, 0, 0}, - {0, 4, 0, 0, 4, 0, 0, 0}, - {0, 0, 0, 0, 4, 4, 0, 0}, - {0, 4, 0, 0, 4, 4, 0, 0}, - {4, 0, 0, 0, 4, 0, 0, 0}, - {4, 4, 0, 0, 4, 0, 0, 0}, - {4, 0, 0, 0, 4, 4, 0, 0}, - {4, 4, 0, 0, 4, 4, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 4, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 0, 0, 4}, - {0, 0, 0, 4, 0, 0, 0, 4}, - {0, 0, 4, 0, 0, 0, 0, 0}, - {0, 0, 4, 4, 0, 0, 0, 0}, - {0, 0, 4, 0, 0, 0, 0, 4}, - {0, 0, 4, 4, 0, 0, 0, 4}, - {0, 0, 0, 0, 0, 0, 4, 0}, - {0, 0, 0, 4, 0, 0, 4, 0}, - {0, 0, 0, 0, 0, 0, 4, 4}, - {0, 0, 0, 4, 0, 0, 4, 4}, - {0, 0, 4, 0, 0, 0, 4, 0}, - {0, 0, 4, 4, 0, 0, 4, 0}, - {0, 0, 4, 0, 0, 0, 4, 4}, - {0, 0, 4, 4, 0, 0, 4, 4} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 8, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 8, 0, 0}, - {0, 8, 0, 0, 0, 8, 0, 0}, - {8, 0, 0, 0, 0, 0, 0, 0}, - {8, 8, 0, 0, 0, 0, 0, 0}, - {8, 0, 0, 0, 0, 8, 0, 0}, - {8, 8, 0, 0, 0, 8, 0, 0}, - {0, 0, 0, 0, 8, 0, 0, 0}, - {0, 8, 0, 0, 8, 0, 0, 0}, - {0, 0, 0, 0, 8, 8, 0, 0}, - {0, 8, 0, 0, 8, 8, 0, 0}, - {8, 0, 0, 0, 8, 0, 0, 0}, - {8, 8, 0, 0, 8, 0, 0, 0}, - {8, 0, 0, 0, 8, 8, 0, 0}, - {8, 8, 0, 0, 8, 8, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 8, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 0, 0, 8}, - {0, 0, 0, 8, 0, 0, 0, 8}, - {0, 0, 8, 0, 0, 0, 0, 0}, - {0, 0, 8, 8, 0, 0, 0, 0}, - {0, 0, 8, 0, 0, 0, 0, 8}, - {0, 0, 8, 8, 0, 0, 0, 8}, - {0, 0, 0, 0, 0, 0, 8, 0}, - {0, 0, 0, 8, 0, 0, 8, 0}, - {0, 0, 0, 0, 0, 0, 8, 8}, - {0, 0, 0, 8, 0, 0, 8, 8}, - {0, 0, 8, 0, 0, 0, 8, 0}, - {0, 0, 8, 8, 0, 0, 8, 0}, - {0, 0, 8, 0, 0, 0, 8, 8}, - {0, 0, 8, 8, 0, 0, 8, 8} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 16, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 16, 0, 0}, - {0, 16, 0, 0, 0, 16, 0, 0}, - {16, 0, 0, 0, 0, 0, 0, 0}, - {16, 16, 0, 0, 0, 0, 0, 0}, - {16, 0, 0, 0, 0, 16, 0, 0}, - {16, 16, 0, 0, 0, 16, 0, 0}, - {0, 0, 0, 0, 16, 0, 0, 0}, - {0, 16, 0, 0, 16, 0, 0, 0}, - {0, 0, 0, 0, 16, 16, 0, 0}, - {0, 16, 0, 0, 16, 16, 0, 0}, - {16, 0, 0, 0, 16, 0, 0, 0}, - {16, 16, 0, 0, 16, 0, 0, 0}, - {16, 0, 0, 0, 16, 16, 0, 0}, - {16, 16, 0, 0, 16, 16, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 16, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 0, 0, 16}, - {0, 0, 0, 16, 0, 0, 0, 16}, - {0, 0, 16, 0, 0, 0, 0, 0}, - {0, 0, 16, 16, 0, 0, 0, 0}, - {0, 0, 16, 0, 0, 0, 0, 16}, - {0, 0, 16, 16, 0, 0, 0, 16}, - {0, 0, 0, 0, 0, 0, 16, 0}, - {0, 0, 0, 16, 0, 0, 16, 0}, - {0, 0, 0, 0, 0, 0, 16, 16}, - {0, 0, 0, 16, 0, 0, 16, 16}, - {0, 0, 16, 0, 0, 0, 16, 0}, - {0, 0, 16, 16, 0, 0, 16, 0}, - {0, 0, 16, 0, 0, 0, 16, 16}, - {0, 0, 16, 16, 0, 0, 16, 16} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 32, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 32, 0, 0}, - {0, 32, 0, 0, 0, 32, 0, 0}, - {32, 0, 0, 0, 0, 0, 0, 0}, - {32, 32, 0, 0, 0, 0, 0, 0}, - {32, 0, 0, 0, 0, 32, 0, 0}, - {32, 32, 0, 0, 0, 32, 0, 0}, - {0, 0, 0, 0, 32, 0, 0, 0}, - {0, 32, 0, 0, 32, 0, 0, 0}, - {0, 0, 0, 0, 32, 32, 0, 0}, - {0, 32, 0, 0, 32, 32, 0, 0}, - {32, 0, 0, 0, 32, 0, 0, 0}, - {32, 32, 0, 0, 32, 0, 0, 0}, - {32, 0, 0, 0, 32, 32, 0, 0}, - {32, 32, 0, 0, 32, 32, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 32, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 0, 0, 32}, - {0, 0, 0, 32, 0, 0, 0, 32}, - {0, 0, 32, 0, 0, 0, 0, 0}, - {0, 0, 32, 32, 0, 0, 0, 0}, - {0, 0, 32, 0, 0, 0, 0, 32}, - {0, 0, 32, 32, 0, 0, 0, 32}, - {0, 0, 0, 0, 0, 0, 32, 0}, - {0, 0, 0, 32, 0, 0, 32, 0}, - {0, 0, 0, 0, 0, 0, 32, 32}, - {0, 0, 0, 32, 0, 0, 32, 32}, - {0, 0, 32, 0, 0, 0, 32, 0}, - {0, 0, 32, 32, 0, 0, 32, 0}, - {0, 0, 32, 0, 0, 0, 32, 32}, - {0, 0, 32, 32, 0, 0, 32, 32} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 64, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 64, 0, 0}, - {0, 64, 0, 0, 0, 64, 0, 0}, - {64, 0, 0, 0, 0, 0, 0, 0}, - {64, 64, 0, 0, 0, 0, 0, 0}, - {64, 0, 0, 0, 0, 64, 0, 0}, - {64, 64, 0, 0, 0, 64, 0, 0}, - {0, 0, 0, 0, 64, 0, 0, 0}, - {0, 64, 0, 0, 64, 0, 0, 0}, - {0, 0, 0, 0, 64, 64, 0, 0}, - {0, 64, 0, 0, 64, 64, 0, 0}, - {64, 0, 0, 0, 64, 0, 0, 0}, - {64, 64, 0, 0, 64, 0, 0, 0}, - {64, 0, 0, 0, 64, 64, 0, 0}, - {64, 64, 0, 0, 64, 64, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 64, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 0, 0, 64}, - {0, 0, 0, 64, 0, 0, 0, 64}, - {0, 0, 64, 0, 0, 0, 0, 0}, - {0, 0, 64, 64, 0, 0, 0, 0}, - {0, 0, 64, 0, 0, 0, 0, 64}, - {0, 0, 64, 64, 0, 0, 0, 64}, - {0, 0, 0, 0, 0, 0, 64, 0}, - {0, 0, 0, 64, 0, 0, 64, 0}, - {0, 0, 0, 0, 0, 0, 64, 64}, - {0, 0, 0, 64, 0, 0, 64, 64}, - {0, 0, 64, 0, 0, 0, 64, 0}, - {0, 0, 64, 64, 0, 0, 64, 0}, - {0, 0, 64, 0, 0, 0, 64, 64}, - {0, 0, 64, 64, 0, 0, 64, 64} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 128, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 128, 0, 0}, - {0, 128, 0, 0, 0, 128, 0, 0}, - {128, 0, 0, 0, 0, 0, 0, 0}, - {128, 128, 0, 0, 0, 0, 0, 0}, - {128, 0, 0, 0, 0, 128, 0, 0}, - {128, 128, 0, 0, 0, 128, 0, 0}, - {0, 0, 0, 0, 128, 0, 0, 0}, - {0, 128, 0, 0, 128, 0, 0, 0}, - {0, 0, 0, 0, 128, 128, 0, 0}, - {0, 128, 0, 0, 128, 128, 0, 0}, - {128, 0, 0, 0, 128, 0, 0, 0}, - {128, 128, 0, 0, 128, 0, 0, 0}, - {128, 0, 0, 0, 128, 128, 0, 0}, - {128, 128, 0, 0, 128, 128, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 128, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 0, 0, 128}, - {0, 0, 0, 128, 0, 0, 0, 128}, - {0, 0, 128, 0, 0, 0, 0, 0}, - {0, 0, 128, 128, 0, 0, 0, 0}, - {0, 0, 128, 0, 0, 0, 0, 128}, - {0, 0, 128, 128, 0, 0, 0, 128}, - {0, 0, 0, 0, 0, 0, 128, 0}, - {0, 0, 0, 128, 0, 0, 128, 0}, - {0, 0, 0, 0, 0, 0, 128, 128}, - {0, 0, 0, 128, 0, 0, 128, 128}, - {0, 0, 128, 0, 0, 0, 128, 0}, - {0, 0, 128, 128, 0, 0, 128, 0}, - {0, 0, 128, 0, 0, 0, 128, 128}, - {0, 0, 128, 128, 0, 0, 128, 128} - } - -}; - -static unsigned char fperm[16][16][8]= -{ - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 64, 0, 0, 0}, - {0, 0, 0, 0, 0, 64, 0, 0}, - {0, 0, 0, 0, 64, 64, 0, 0}, - {0, 0, 0, 0, 0, 0, 64, 0}, - {0, 0, 0, 0, 64, 0, 64, 0}, - {0, 0, 0, 0, 0, 64, 64, 0}, - {0, 0, 0, 0, 64, 64, 64, 0}, - {0, 0, 0, 0, 0, 0, 0, 64}, - {0, 0, 0, 0, 64, 0, 0, 64}, - {0, 0, 0, 0, 0, 64, 0, 64}, - {0, 0, 0, 0, 64, 64, 0, 64}, - {0, 0, 0, 0, 0, 0, 64, 64}, - {0, 0, 0, 0, 64, 0, 64, 64}, - {0, 0, 0, 0, 0, 64, 64, 64}, - {0, 0, 0, 0, 64, 64, 64, 64} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {64, 0, 0, 0, 0, 0, 0, 0}, - {0, 64, 0, 0, 0, 0, 0, 0}, - {64, 64, 0, 0, 0, 0, 0, 0}, - {0, 0, 64, 0, 0, 0, 0, 0}, - {64, 0, 64, 0, 0, 0, 0, 0}, - {0, 64, 64, 0, 0, 0, 0, 0}, - {64, 64, 64, 0, 0, 0, 0, 0}, - {0, 0, 0, 64, 0, 0, 0, 0}, - {64, 0, 0, 64, 0, 0, 0, 0}, - {0, 64, 0, 64, 0, 0, 0, 0}, - {64, 64, 0, 64, 0, 0, 0, 0}, - {0, 0, 64, 64, 0, 0, 0, 0}, - {64, 0, 64, 64, 0, 0, 0, 0}, - {0, 64, 64, 64, 0, 0, 0, 0}, - {64, 64, 64, 64, 0, 0, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 16, 0, 0, 0}, - {0, 0, 0, 0, 0, 16, 0, 0}, - {0, 0, 0, 0, 16, 16, 0, 0}, - {0, 0, 0, 0, 0, 0, 16, 0}, - {0, 0, 0, 0, 16, 0, 16, 0}, - {0, 0, 0, 0, 0, 16, 16, 0}, - {0, 0, 0, 0, 16, 16, 16, 0}, - {0, 0, 0, 0, 0, 0, 0, 16}, - {0, 0, 0, 0, 16, 0, 0, 16}, - {0, 0, 0, 0, 0, 16, 0, 16}, - {0, 0, 0, 0, 16, 16, 0, 16}, - {0, 0, 0, 0, 0, 0, 16, 16}, - {0, 0, 0, 0, 16, 0, 16, 16}, - {0, 0, 0, 0, 0, 16, 16, 16}, - {0, 0, 0, 0, 16, 16, 16, 16} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {16, 0, 0, 0, 0, 0, 0, 0}, - {0, 16, 0, 0, 0, 0, 0, 0}, - {16, 16, 0, 0, 0, 0, 0, 0}, - {0, 0, 16, 0, 0, 0, 0, 0}, - {16, 0, 16, 0, 0, 0, 0, 0}, - {0, 16, 16, 0, 0, 0, 0, 0}, - {16, 16, 16, 0, 0, 0, 0, 0}, - {0, 0, 0, 16, 0, 0, 0, 0}, - {16, 0, 0, 16, 0, 0, 0, 0}, - {0, 16, 0, 16, 0, 0, 0, 0}, - {16, 16, 0, 16, 0, 0, 0, 0}, - {0, 0, 16, 16, 0, 0, 0, 0}, - {16, 0, 16, 16, 0, 0, 0, 0}, - {0, 16, 16, 16, 0, 0, 0, 0}, - {16, 16, 16, 16, 0, 0, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 4, 0, 0, 0}, - {0, 0, 0, 0, 0, 4, 0, 0}, - {0, 0, 0, 0, 4, 4, 0, 0}, - {0, 0, 0, 0, 0, 0, 4, 0}, - {0, 0, 0, 0, 4, 0, 4, 0}, - {0, 0, 0, 0, 0, 4, 4, 0}, - {0, 0, 0, 0, 4, 4, 4, 0}, - {0, 0, 0, 0, 0, 0, 0, 4}, - {0, 0, 0, 0, 4, 0, 0, 4}, - {0, 0, 0, 0, 0, 4, 0, 4}, - {0, 0, 0, 0, 4, 4, 0, 4}, - {0, 0, 0, 0, 0, 0, 4, 4}, - {0, 0, 0, 0, 4, 0, 4, 4}, - {0, 0, 0, 0, 0, 4, 4, 4}, - {0, 0, 0, 0, 4, 4, 4, 4} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {4, 0, 0, 0, 0, 0, 0, 0}, - {0, 4, 0, 0, 0, 0, 0, 0}, - {4, 4, 0, 0, 0, 0, 0, 0}, - {0, 0, 4, 0, 0, 0, 0, 0}, - {4, 0, 4, 0, 0, 0, 0, 0}, - {0, 4, 4, 0, 0, 0, 0, 0}, - {4, 4, 4, 0, 0, 0, 0, 0}, - {0, 0, 0, 4, 0, 0, 0, 0}, - {4, 0, 0, 4, 0, 0, 0, 0}, - {0, 4, 0, 4, 0, 0, 0, 0}, - {4, 4, 0, 4, 0, 0, 0, 0}, - {0, 0, 4, 4, 0, 0, 0, 0}, - {4, 0, 4, 4, 0, 0, 0, 0}, - {0, 4, 4, 4, 0, 0, 0, 0}, - {4, 4, 4, 4, 0, 0, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 1, 0, 0, 0}, - {0, 0, 0, 0, 0, 1, 0, 0}, - {0, 0, 0, 0, 1, 1, 0, 0}, - {0, 0, 0, 0, 0, 0, 1, 0}, - {0, 0, 0, 0, 1, 0, 1, 0}, - {0, 0, 0, 0, 0, 1, 1, 0}, - {0, 0, 0, 0, 1, 1, 1, 0}, - {0, 0, 0, 0, 0, 0, 0, 1}, - {0, 0, 0, 0, 1, 0, 0, 1}, - {0, 0, 0, 0, 0, 1, 0, 1}, - {0, 0, 0, 0, 1, 1, 0, 1}, - {0, 0, 0, 0, 0, 0, 1, 1}, - {0, 0, 0, 0, 1, 0, 1, 1}, - {0, 0, 0, 0, 0, 1, 1, 1}, - {0, 0, 0, 0, 1, 1, 1, 1} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {1, 0, 0, 0, 0, 0, 0, 0}, - {0, 1, 0, 0, 0, 0, 0, 0}, - {1, 1, 0, 0, 0, 0, 0, 0}, - {0, 0, 1, 0, 0, 0, 0, 0}, - {1, 0, 1, 0, 0, 0, 0, 0}, - {0, 1, 1, 0, 0, 0, 0, 0}, - {1, 1, 1, 0, 0, 0, 0, 0}, - {0, 0, 0, 1, 0, 0, 0, 0}, - {1, 0, 0, 1, 0, 0, 0, 0}, - {0, 1, 0, 1, 0, 0, 0, 0}, - {1, 1, 0, 1, 0, 0, 0, 0}, - {0, 0, 1, 1, 0, 0, 0, 0}, - {1, 0, 1, 1, 0, 0, 0, 0}, - {0, 1, 1, 1, 0, 0, 0, 0}, - {1, 1, 1, 1, 0, 0, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 128, 0, 0, 0}, - {0, 0, 0, 0, 0, 128, 0, 0}, - {0, 0, 0, 0, 128, 128, 0, 0}, - {0, 0, 0, 0, 0, 0, 128, 0}, - {0, 0, 0, 0, 128, 0, 128, 0}, - {0, 0, 0, 0, 0, 128, 128, 0}, - {0, 0, 0, 0, 128, 128, 128, 0}, - {0, 0, 0, 0, 0, 0, 0, 128}, - {0, 0, 0, 0, 128, 0, 0, 128}, - {0, 0, 0, 0, 0, 128, 0, 128}, - {0, 0, 0, 0, 128, 128, 0, 128}, - {0, 0, 0, 0, 0, 0, 128, 128}, - {0, 0, 0, 0, 128, 0, 128, 128}, - {0, 0, 0, 0, 0, 128, 128, 128}, - {0, 0, 0, 0, 128, 128, 128, 128} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {128, 0, 0, 0, 0, 0, 0, 0}, - {0, 128, 0, 0, 0, 0, 0, 0}, - {128, 128, 0, 0, 0, 0, 0, 0}, - {0, 0, 128, 0, 0, 0, 0, 0}, - {128, 0, 128, 0, 0, 0, 0, 0}, - {0, 128, 128, 0, 0, 0, 0, 0}, - {128, 128, 128, 0, 0, 0, 0, 0}, - {0, 0, 0, 128, 0, 0, 0, 0}, - {128, 0, 0, 128, 0, 0, 0, 0}, - {0, 128, 0, 128, 0, 0, 0, 0}, - {128, 128, 0, 128, 0, 0, 0, 0}, - {0, 0, 128, 128, 0, 0, 0, 0}, - {128, 0, 128, 128, 0, 0, 0, 0}, - {0, 128, 128, 128, 0, 0, 0, 0}, - {128, 128, 128, 128, 0, 0, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 32, 0, 0, 0}, - {0, 0, 0, 0, 0, 32, 0, 0}, - {0, 0, 0, 0, 32, 32, 0, 0}, - {0, 0, 0, 0, 0, 0, 32, 0}, - {0, 0, 0, 0, 32, 0, 32, 0}, - {0, 0, 0, 0, 0, 32, 32, 0}, - {0, 0, 0, 0, 32, 32, 32, 0}, - {0, 0, 0, 0, 0, 0, 0, 32}, - {0, 0, 0, 0, 32, 0, 0, 32}, - {0, 0, 0, 0, 0, 32, 0, 32}, - {0, 0, 0, 0, 32, 32, 0, 32}, - {0, 0, 0, 0, 0, 0, 32, 32}, - {0, 0, 0, 0, 32, 0, 32, 32}, - {0, 0, 0, 0, 0, 32, 32, 32}, - {0, 0, 0, 0, 32, 32, 32, 32} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {32, 0, 0, 0, 0, 0, 0, 0}, - {0, 32, 0, 0, 0, 0, 0, 0}, - {32, 32, 0, 0, 0, 0, 0, 0}, - {0, 0, 32, 0, 0, 0, 0, 0}, - {32, 0, 32, 0, 0, 0, 0, 0}, - {0, 32, 32, 0, 0, 0, 0, 0}, - {32, 32, 32, 0, 0, 0, 0, 0}, - {0, 0, 0, 32, 0, 0, 0, 0}, - {32, 0, 0, 32, 0, 0, 0, 0}, - {0, 32, 0, 32, 0, 0, 0, 0}, - {32, 32, 0, 32, 0, 0, 0, 0}, - {0, 0, 32, 32, 0, 0, 0, 0}, - {32, 0, 32, 32, 0, 0, 0, 0}, - {0, 32, 32, 32, 0, 0, 0, 0}, - {32, 32, 32, 32, 0, 0, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 8, 0, 0, 0}, - {0, 0, 0, 0, 0, 8, 0, 0}, - {0, 0, 0, 0, 8, 8, 0, 0}, - {0, 0, 0, 0, 0, 0, 8, 0}, - {0, 0, 0, 0, 8, 0, 8, 0}, - {0, 0, 0, 0, 0, 8, 8, 0}, - {0, 0, 0, 0, 8, 8, 8, 0}, - {0, 0, 0, 0, 0, 0, 0, 8}, - {0, 0, 0, 0, 8, 0, 0, 8}, - {0, 0, 0, 0, 0, 8, 0, 8}, - {0, 0, 0, 0, 8, 8, 0, 8}, - {0, 0, 0, 0, 0, 0, 8, 8}, - {0, 0, 0, 0, 8, 0, 8, 8}, - {0, 0, 0, 0, 0, 8, 8, 8}, - {0, 0, 0, 0, 8, 8, 8, 8} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {8, 0, 0, 0, 0, 0, 0, 0}, - {0, 8, 0, 0, 0, 0, 0, 0}, - {8, 8, 0, 0, 0, 0, 0, 0}, - {0, 0, 8, 0, 0, 0, 0, 0}, - {8, 0, 8, 0, 0, 0, 0, 0}, - {0, 8, 8, 0, 0, 0, 0, 0}, - {8, 8, 8, 0, 0, 0, 0, 0}, - {0, 0, 0, 8, 0, 0, 0, 0}, - {8, 0, 0, 8, 0, 0, 0, 0}, - {0, 8, 0, 8, 0, 0, 0, 0}, - {8, 8, 0, 8, 0, 0, 0, 0}, - {0, 0, 8, 8, 0, 0, 0, 0}, - {8, 0, 8, 8, 0, 0, 0, 0}, - {0, 8, 8, 8, 0, 0, 0, 0}, - {8, 8, 8, 8, 0, 0, 0, 0} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 2, 0, 0, 0}, - {0, 0, 0, 0, 0, 2, 0, 0}, - {0, 0, 0, 0, 2, 2, 0, 0}, - {0, 0, 0, 0, 0, 0, 2, 0}, - {0, 0, 0, 0, 2, 0, 2, 0}, - {0, 0, 0, 0, 0, 2, 2, 0}, - {0, 0, 0, 0, 2, 2, 2, 0}, - {0, 0, 0, 0, 0, 0, 0, 2}, - {0, 0, 0, 0, 2, 0, 0, 2}, - {0, 0, 0, 0, 0, 2, 0, 2}, - {0, 0, 0, 0, 2, 2, 0, 2}, - {0, 0, 0, 0, 0, 0, 2, 2}, - {0, 0, 0, 0, 2, 0, 2, 2}, - {0, 0, 0, 0, 0, 2, 2, 2}, - {0, 0, 0, 0, 2, 2, 2, 2} - }, - { - {0, 0, 0, 0, 0, 0, 0, 0}, - {2, 0, 0, 0, 0, 0, 0, 0}, - {0, 2, 0, 0, 0, 0, 0, 0}, - {2, 2, 0, 0, 0, 0, 0, 0}, - {0, 0, 2, 0, 0, 0, 0, 0}, - {2, 0, 2, 0, 0, 0, 0, 0}, - {0, 2, 2, 0, 0, 0, 0, 0}, - {2, 2, 2, 0, 0, 0, 0, 0}, - {0, 0, 0, 2, 0, 0, 0, 0}, - {2, 0, 0, 2, 0, 0, 0, 0}, - {0, 2, 0, 2, 0, 0, 0, 0}, - {2, 2, 0, 2, 0, 0, 0, 0}, - {0, 0, 2, 2, 0, 0, 0, 0}, - {2, 0, 2, 2, 0, 0, 0, 0}, - {0, 2, 2, 2, 0, 0, 0, 0}, - {2, 2, 2, 2, 0, 0, 0, 0} - } - -}; - -//bit 0 is left-most in byte -static int bytebit[] = { - 0200,0100,040,020,010,04,02,01 -}; - -#if 0 -static int nibblebit[] = { - 010,04,02,01 -}; -#endif - -//Set key (initialize key schedule array) - -static void des_setkey(char *subkey, const char *key) -{ - unsigned char (*kn)[8] = (unsigned char (*)[8]) subkey; - char pc1m[56]; //place to modify pc1 into - char pcr[56]; //place to rotate pc1 into - int i,j,l; - int m; - - //Clear key schedule - memset(subkey, 0, 16*8); - - for (j=0; j<56; j++) { //convert pc1 to bits of key - l=pc1[j]-1; //integer bit location - m = l & 07; //find bit - pc1m[j]=(key[l>>3] & //find which key byte l is in - bytebit[m]) //and which bit of that byte - ? 1 : 0; //and store 1-bit result - } - for (i=0; i<16; i++) { //key chunk for each iteration - for (j=0; j<56; j++) //rotate pc1 the right amount - pcr[j] = pc1m[(l=j+totrot[i])<(j<28? 28 : 56) ? l: l-28]; - //rotate left and right halves independently - for (j=0; j<48; j++){ //select bits individually - //check bit that goes to kn[j] - if (pcr[pc2[j]-1]){ - //mask it in if it's there - l= j % 6; - kn[i][j/6] |= bytebit[l] >> 2; - } - } - } -} - - -//Permute inblock with perm -static void permute(char *inblock,char perm[16][16][8],char *outblock) -{ - int i,j; - char *ib, *ob; //ptr to input or output block - char *p, *q; - - //Clear output block - memset(outblock, 0, 8); - - ib = inblock; - for (j = 0; j < 16; j += 2, ib++) { //for each input nibble - ob = outblock; - p = perm[j][(*ib >> 4) & 017]; - q = perm[j + 1][*ib & 017]; - for (i = 8; i != 0; i--){ //and each output byte - *ob++ |= *p++ | *q++; //OR the masks together*/ - } - } -} - -//The nonlinear function f(r,k), the heart of DES -static int f(unsigned int r,const unsigned char subkey[8]) -{ - unsigned int rval,rt; - //Run E(R) ^ K through the combined S & P boxes - //This code takes advantage of a convenient regularity in - //E, namely that each group of 6 bits in E(R) feeding - //a single S-box is a contiguous segment of R. - - rt = (r >> 1) | ((r & 1) ? 0x80000000 : 0); - rval = 0; - rval |= sp_[0][((rt >> 26) ^ *subkey++) & 0x3f]; - rval |= sp_[1][((rt >> 22) ^ *subkey++) & 0x3f]; - rval |= sp_[2][((rt >> 18) ^ *subkey++) & 0x3f]; - rval |= sp_[3][((rt >> 14) ^ *subkey++) & 0x3f]; - rval |= sp_[4][((rt >> 10) ^ *subkey++) & 0x3f]; - rval |= sp_[5][((rt >> 6) ^ *subkey++) & 0x3f]; - rval |= sp_[6][((rt >> 2) ^ *subkey++) & 0x3f]; - rt = (r << 1) | ((r & 0x80000000) ? 1 : 0); - rval |= sp_[7][(rt ^ *subkey) & 0x3f]; - - return rval; -} - -//Do one DES cipher round -static void round(int num,unsigned int *block, const unsigned char (*kn)[8]) -{ - //The rounds are numbered from 0 to 15. On even rounds - //the right half is fed to f() and the result exclusive-ORs - //the left half; on odd rounds the reverse is done. - - if(num & 1){ - block[1] ^= f(block[0],kn[num]); - } else { - block[0] ^= f(block[1],kn[num]); - } -} - -//In-place encryption of 64-bit block -static void endes(int mode, char *block, const char *subkey) -{ - int i; - unsigned int work[2]; //Working data storage - int tmp; - - if(mode == 0) - permute(block,(char (*)[16][8])iperm,(char *)work); //Initial Permutation - else - memcpy((char*)work, block, 8); - - work[0] = htonl(work[0]); - work[1] = htonl(work[1]); - - //Do the 16 rounds - for (i=0; i<16; i++) - round(i,work, (unsigned char (*)[8]) subkey); - - //Left/right half swap - tmp = work[0]; - work[0] = work[1]; - work[1] = tmp; - - work[0] = htonl(work[0]); - work[1] = htonl(work[1]); - - if(mode == 0) - permute((char *)work,(char (*)[16][8])fperm,block); //Inverse initial permutation - else - memcpy(block, (char*)work, 8); -} - -//In-place decryption of 64-bit block -static void dedes(int mode, char *block, const char *subkey) -{ - int i; - unsigned int work[2]; //Working data storage - int tmp; - - if(mode == 0) - permute(block,(char (*)[16][8])iperm,(char *)work); //Initial permutation - else - memcpy((char *)work, block, 8); - - work[0] = htonl(work[0]); - work[1] = htonl(work[1]); - - //Left/right half swap - tmp = work[0]; - work[0] = work[1]; - work[1] = tmp; - - //Do the 16 rounds in reverse order - for (i=15; i >= 0; i--) - round(i,work, (unsigned char (*)[8]) subkey); - - work[0] = htonl(work[0]); - work[1] = htonl(work[1]); - - if(mode == 0) - permute((char *)work,(char (*)[16][8])fperm,block); //Inverse initial permutation - else - memcpy(block, (char*)work, 8); -} - -std::string CDesEncrypt::SetKey(const std::string& key) -{ - if(m_mode == 2) return key; - - char temp[128]; - des_setkey(temp, key.data()); - return std::string(temp, 128); -} - -std::string CDesEncrypt::Encrypt(const std::string& data, const std::string& desKey) -{ - std::string result; - int len = (int)data.length(); - result.reserve((len & 8) + 8); - char temp[8]; - const char *ptr = data.data(); - while(len >= 8) - { - memcpy(temp, ptr, 8); - ptr += 8; - len -= 8; - endes(m_mode, temp, desKey.data()); - result.append(temp, 8); - } - if( len > 0) - { - memset(temp, 0, 8); - memcpy(temp, ptr, len); - endes(m_mode, temp, desKey.data()); - result.append(temp, 8); - } - return result; -} - -std::string CDesEncrypt::Decrypt(const std::string& data, const std::string& desKey) -{ - std::string result; - int len = (int)data.length(); - result.reserve(len); - char temp[8]; - const char *ptr = data.data(); - while(len >= 8) - { - memcpy(temp, ptr, 8); - ptr += 8; - len -= 8; - dedes(m_mode, temp, desKey.data()); - result.append(temp, 8); - } - return result; -} - -void CDesEncrypt::Encrypt(std::string& data, const std::string& desKey, std::string::size_type offset) -{ - if(offset >= data.length()) return; - int len = (int)(data.length() - offset); - data.reserve((data.length() & 8) + 8); - char temp[8]; - while(len >= 8) - { - data.copy(temp, 8, offset); - endes(m_mode, temp, desKey.data()); - data.replace( offset, 8, temp, 8); - offset += 8; - len -= 8; - } - if( len > 0) - { - memset(temp, 0, 8); - data.copy(temp, len, offset); - endes(m_mode, temp, desKey.data()); - data.replace( offset, 8, temp, 8); - } -} - -void CDesEncrypt::Decrypt(std::string& data, const std::string& desKey, std::string::size_type offset) -{ - int len = (int)(data.length() - offset); - char temp[8]; - while(len >= 8) - { - data.copy(temp, 8, offset); - dedes(m_mode, temp, desKey.data()); - data.replace(offset, 8, temp, 8); - offset += 8; - len -= 8; - } -} - diff --git a/features/aliww/source/es_eval_service.cpp b/features/aliww/source/es_eval_service.cpp deleted file mode 100644 index 46a1a80..0000000 --- a/features/aliww/source/es_eval_service.cpp +++ /dev/null @@ -1,1753 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `es_eval_service.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __IMSINNER__ESICEEval__setESEval_name = "setESEval"; - -static const ::std::string __IMSINNER__ESICEEval__getESEval_name = "getESEval"; - -static const ::std::string __IMSINNER__ESICEEval__setESEvalResult_name = "setESEvalResult"; - -static const ::std::string __IMSINNER__ESICEEval__getESEvalResult_name = "getESEvalResult"; - -static const ::std::string __IMSINNER__ESICEEval__getESEvalResultToday_name = "getESEvalResultToday"; - -static const ::std::string __IMSINNER__ESICEEval__getESEvalResultHistory_name = "getESEvalResultHistory"; - -static const ::std::string __IMSINNER__ESICEEval__getESEvalResultHistorybypage_name = "getESEvalResultHistorybypage"; - -void -IceInternal::incRef(::IMSINNER::ESICEEval* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IMSINNER::ESICEEval* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::IMSINNER::ESICEEval* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::IMSINNER::ESICEEval* p) -{ - p->__decRef(); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::ESICEEvalPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::ESICEEvalPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::IMSINNER::ESICEEval; - v->__copyFrom(proxy); - } -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::ESICEEvalPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -IMSINNER::SICEESEval::operator==(const SICEESEval& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SICEESEval::operator!=(const SICEESEval& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(code != __rhs.code) - { - return true; - } - if(codename != __rhs.codename) - { - return true; - } - if(welcome != __rhs.welcome) - { - return true; - } - return false; -} - -bool -IMSINNER::SICEESEval::operator<(const SICEESEval& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(code < __rhs.code) - { - return true; - } - else if(__rhs.code < code) - { - return false; - } - if(codename < __rhs.codename) - { - return true; - } - else if(__rhs.codename < codename) - { - return false; - } - if(welcome < __rhs.welcome) - { - return true; - } - else if(__rhs.welcome < welcome) - { - return false; - } - return false; -} - -void -IMSINNER::SICEESEval::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(code); - __os->write(codename); - __os->write(welcome); -} - -void -IMSINNER::SICEESEval::__read(::IceInternal::BasicStream* __is) -{ - __is->read(code); - __is->read(codename); - __is->read(welcome); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SICEESEval* begin, const ::IMSINNER::SICEESEval* end, ::IMSINNER::__U__SICEESEvalSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SICEESEvalSeq& v, ::IMSINNER::__U__SICEESEvalSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 6); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -IMSINNER::SICEESCode::operator==(const SICEESCode& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SICEESCode::operator!=(const SICEESCode& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(code != __rhs.code) - { - return true; - } - if(codename != __rhs.codename) - { - return true; - } - if(num != __rhs.num) - { - return true; - } - return false; -} - -bool -IMSINNER::SICEESCode::operator<(const SICEESCode& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(code < __rhs.code) - { - return true; - } - else if(__rhs.code < code) - { - return false; - } - if(codename < __rhs.codename) - { - return true; - } - else if(__rhs.codename < codename) - { - return false; - } - if(num < __rhs.num) - { - return true; - } - else if(__rhs.num < num) - { - return false; - } - return false; -} - -void -IMSINNER::SICEESCode::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(code); - __os->write(codename); - __os->write(num); -} - -void -IMSINNER::SICEESCode::__read(::IceInternal::BasicStream* __is) -{ - __is->read(code); - __is->read(codename); - __is->read(num); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SICEESCode* begin, const ::IMSINNER::SICEESCode* end, ::IMSINNER::__U__SICEESCodeSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SICEESCodeSeq& v, ::IMSINNER::__U__SICEESCodeSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 9); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -IMSINNER::SICEESEvalResult::operator==(const SICEESEvalResult& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SICEESEvalResult::operator!=(const SICEESEvalResult& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(sendNum != __rhs.sendNum) - { - return true; - } - if(receNum != __rhs.receNum) - { - return true; - } - if(codes != __rhs.codes) - { - return true; - } - return false; -} - -bool -IMSINNER::SICEESEvalResult::operator<(const SICEESEvalResult& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(sendNum < __rhs.sendNum) - { - return true; - } - else if(__rhs.sendNum < sendNum) - { - return false; - } - if(receNum < __rhs.receNum) - { - return true; - } - else if(__rhs.receNum < receNum) - { - return false; - } - if(codes < __rhs.codes) - { - return true; - } - else if(__rhs.codes < codes) - { - return false; - } - return false; -} - -void -IMSINNER::SICEESEvalResult::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(sendNum); - __os->write(receNum); - if(codes.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &codes[0], &codes[0] + codes.size(), ::IMSINNER::__U__SICEESCodeSeq()); - } -} - -void -IMSINNER::SICEESEvalResult::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(sendNum); - __is->read(receNum); - ::IMSINNER::__read(__is, codes, ::IMSINNER::__U__SICEESCodeSeq()); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SICEESEvalResult* begin, const ::IMSINNER::SICEESEvalResult* end, ::IMSINNER::__U__SICEESEvalResultSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SICEESEvalResultSeq& v, ::IMSINNER::__U__SICEESEvalResultSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 10); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -IMSINNER::SICEESEvalResultEx::operator==(const SICEESEvalResultEx& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SICEESEvalResultEx::operator!=(const SICEESEvalResultEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(sendNum != __rhs.sendNum) - { - return true; - } - if(receNum != __rhs.receNum) - { - return true; - } - if(codes != __rhs.codes) - { - return true; - } - if(evalDate != __rhs.evalDate) - { - return true; - } - return false; -} - -bool -IMSINNER::SICEESEvalResultEx::operator<(const SICEESEvalResultEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(sendNum < __rhs.sendNum) - { - return true; - } - else if(__rhs.sendNum < sendNum) - { - return false; - } - if(receNum < __rhs.receNum) - { - return true; - } - else if(__rhs.receNum < receNum) - { - return false; - } - if(codes < __rhs.codes) - { - return true; - } - else if(__rhs.codes < codes) - { - return false; - } - if(evalDate < __rhs.evalDate) - { - return true; - } - else if(__rhs.evalDate < evalDate) - { - return false; - } - return false; -} - -void -IMSINNER::SICEESEvalResultEx::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(sendNum); - __os->write(receNum); - if(codes.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &codes[0], &codes[0] + codes.size(), ::IMSINNER::__U__SICEESCodeSeq()); - } - __os->write(evalDate); -} - -void -IMSINNER::SICEESEvalResultEx::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(sendNum); - __is->read(receNum); - ::IMSINNER::__read(__is, codes, ::IMSINNER::__U__SICEESCodeSeq()); - __is->read(evalDate); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SICEESEvalResultEx* begin, const ::IMSINNER::SICEESEvalResultEx* end, ::IMSINNER::__U__SICEESEvalResultExSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SICEESEvalResultExSeq& v, ::IMSINNER::__U__SICEESEvalResultExSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 11); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -IMSINNER::__addObject(const ESICEEvalPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -IMSINNER::__usesClasses(const ESICEEvalPtr& p) -{ - return p->__usesClasses(); -} - -void -IMSINNER::__decRefUnsafe(const ESICEEvalPtr& p) -{ - p->__decRefUnsafe(); -} - -void -IMSINNER::__clearHandleUnsafe(ESICEEvalPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::IMSINNER::ESICEEval::setESEval(const ::std::string& uid, const ::std::string& evalcontent, const ::std::string& welcome, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__ESICEEval__setESEval_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::ESICEEval* __del = dynamic_cast< ::IceDelegate::IMSINNER::ESICEEval*>(__delBase.get()); - return __del->setESEval(uid, evalcontent, welcome, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::ESICEEval::getESEval(const ::std::string& uid, ::std::string& evalcontent, ::std::string& welcome, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__ESICEEval__getESEval_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::ESICEEval* __del = dynamic_cast< ::IceDelegate::IMSINNER::ESICEEval*>(__delBase.get()); - return __del->getESEval(uid, evalcontent, welcome, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::ESICEEval::setESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, const ::std::string& evalresult, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__ESICEEval__setESEvalResult_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::ESICEEval* __del = dynamic_cast< ::IceDelegate::IMSINNER::ESICEEval*>(__delBase.get()); - return __del->setESEvalResult(uid, buyerid, evalId, evalresult, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::ESICEEval::getESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, ::std::string& evalresult, ::std::string& gmtcreate, ::std::string& gmtmodify, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__ESICEEval__getESEvalResult_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::ESICEEval* __del = dynamic_cast< ::IceDelegate::IMSINNER::ESICEEval*>(__delBase.get()); - return __del->getESEvalResult(uid, buyerid, evalId, evalresult, gmtcreate, gmtmodify, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::ESICEEval::getESEvalResultToday(const ::std::string& uid, ::IMSINNER::SICEESEvalResultSeq& evalInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__ESICEEval__getESEvalResultToday_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::ESICEEval* __del = dynamic_cast< ::IceDelegate::IMSINNER::ESICEEval*>(__delBase.get()); - return __del->getESEvalResultToday(uid, evalInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::ESICEEval::getESEvalResultHistory(const ::std::string& uid, const ::std::string& querytime, ::IMSINNER::SICEESEvalResultSeq& evalInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__ESICEEval__getESEvalResultHistory_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::ESICEEval* __del = dynamic_cast< ::IceDelegate::IMSINNER::ESICEEval*>(__delBase.get()); - return __del->getESEvalResultHistory(uid, querytime, evalInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::ESICEEval::getESEvalResultHistorybypage(const ::std::string& uid, const ::std::string& childid, const ::std::string& begindate, const ::std::string& enddate, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& pagecount, ::IMSINNER::SICEESEvalResultExSeq& evalInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__ESICEEval__getESEvalResultHistorybypage_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::ESICEEval* __del = dynamic_cast< ::IceDelegate::IMSINNER::ESICEEval*>(__delBase.get()); - return __del->getESEvalResultHistorybypage(uid, childid, begindate, enddate, pageno, pagesize, pagecount, evalInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::IMSINNER::ESICEEval::ice_staticId() -{ - return ::IMSINNER::ESICEEval::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::IMSINNER::ESICEEval::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::IMSINNER::ESICEEval); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::IMSINNER::ESICEEval::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::IMSINNER::ESICEEval); -} - -bool -IceProxy::IMSINNER::operator==(const ::IceProxy::IMSINNER::ESICEEval& l, const ::IceProxy::IMSINNER::ESICEEval& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::IMSINNER::operator!=(const ::IceProxy::IMSINNER::ESICEEval& l, const ::IceProxy::IMSINNER::ESICEEval& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::IMSINNER::operator<(const ::IceProxy::IMSINNER::ESICEEval& l, const ::IceProxy::IMSINNER::ESICEEval& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::IMSINNER::operator<=(const ::IceProxy::IMSINNER::ESICEEval& l, const ::IceProxy::IMSINNER::ESICEEval& r) -{ - return l < r || l == r; -} - -bool -IceProxy::IMSINNER::operator>(const ::IceProxy::IMSINNER::ESICEEval& l, const ::IceProxy::IMSINNER::ESICEEval& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::IMSINNER::operator>=(const ::IceProxy::IMSINNER::ESICEEval& l, const ::IceProxy::IMSINNER::ESICEEval& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::IMSINNER::ESICEEval::setESEval(const ::std::string& uid, const ::std::string& evalcontent, const ::std::string& welcome, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__ESICEEval__setESEval_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(evalcontent); - __os->write(welcome); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::ESICEEval::getESEval(const ::std::string& uid, ::std::string& evalcontent, ::std::string& welcome, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__ESICEEval__getESEval_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(evalcontent); - __is->read(welcome); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::ESICEEval::setESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, const ::std::string& evalresult, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__ESICEEval__setESEvalResult_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(buyerid); - __os->write(evalId); - __os->write(evalresult); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::ESICEEval::getESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, ::std::string& evalresult, ::std::string& gmtcreate, ::std::string& gmtmodify, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__ESICEEval__getESEvalResult_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(buyerid); - __os->write(evalId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(evalresult); - __is->read(gmtcreate); - __is->read(gmtmodify); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::ESICEEval::getESEvalResultToday(const ::std::string& uid, ::IMSINNER::SICEESEvalResultSeq& evalInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__ESICEEval__getESEvalResultToday_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMSINNER::__read(__is, evalInfos, ::IMSINNER::__U__SICEESEvalResultSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::ESICEEval::getESEvalResultHistory(const ::std::string& uid, const ::std::string& querytime, ::IMSINNER::SICEESEvalResultSeq& evalInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__ESICEEval__getESEvalResultHistory_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(querytime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMSINNER::__read(__is, evalInfos, ::IMSINNER::__U__SICEESEvalResultSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::ESICEEval::getESEvalResultHistorybypage(const ::std::string& uid, const ::std::string& childid, const ::std::string& begindate, const ::std::string& enddate, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& pagecount, ::IMSINNER::SICEESEvalResultExSeq& evalInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__ESICEEval__getESEvalResultHistorybypage_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(childid); - __os->write(begindate); - __os->write(enddate); - __os->write(pageno); - __os->write(pagesize); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(pagecount); - ::IMSINNER::__read(__is, evalInfos, ::IMSINNER::__U__SICEESEvalResultExSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::IMSINNER::ESICEEval::setESEval(const ::std::string& uid, const ::std::string& evalcontent, const ::std::string& welcome, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__ESICEEval__setESEval_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::ESICEEval* __servant = dynamic_cast< ::IMSINNER::ESICEEval*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setESEval(uid, evalcontent, welcome, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::ESICEEval::getESEval(const ::std::string& uid, ::std::string& evalcontent, ::std::string& welcome, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__ESICEEval__getESEval_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::ESICEEval* __servant = dynamic_cast< ::IMSINNER::ESICEEval*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESEval(uid, evalcontent, welcome, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::ESICEEval::setESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, const ::std::string& evalresult, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__ESICEEval__setESEvalResult_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::ESICEEval* __servant = dynamic_cast< ::IMSINNER::ESICEEval*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setESEvalResult(uid, buyerid, evalId, evalresult, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::ESICEEval::getESEvalResult(const ::std::string& uid, const ::std::string& buyerid, ::Ice::Int evalId, ::std::string& evalresult, ::std::string& gmtcreate, ::std::string& gmtmodify, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__ESICEEval__getESEvalResult_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::ESICEEval* __servant = dynamic_cast< ::IMSINNER::ESICEEval*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESEvalResult(uid, buyerid, evalId, evalresult, gmtcreate, gmtmodify, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::ESICEEval::getESEvalResultToday(const ::std::string& uid, ::IMSINNER::SICEESEvalResultSeq& evalInfos, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__ESICEEval__getESEvalResultToday_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::ESICEEval* __servant = dynamic_cast< ::IMSINNER::ESICEEval*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESEvalResultToday(uid, evalInfos, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::ESICEEval::getESEvalResultHistory(const ::std::string& uid, const ::std::string& querytime, ::IMSINNER::SICEESEvalResultSeq& evalInfos, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__ESICEEval__getESEvalResultHistory_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::ESICEEval* __servant = dynamic_cast< ::IMSINNER::ESICEEval*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESEvalResultHistory(uid, querytime, evalInfos, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::ESICEEval::getESEvalResultHistorybypage(const ::std::string& uid, const ::std::string& childid, const ::std::string& begindate, const ::std::string& enddate, ::Ice::Int pageno, ::Ice::Int pagesize, ::Ice::Int& pagecount, ::IMSINNER::SICEESEvalResultExSeq& evalInfos, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__ESICEEval__getESEvalResultHistorybypage_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::ESICEEval* __servant = dynamic_cast< ::IMSINNER::ESICEEval*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESEvalResultHistorybypage(uid, childid, begindate, enddate, pageno, pagesize, pagecount, evalInfos, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -IMSINNER::ESICEEval::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __IMSINNER__ESICEEval_ids[2] = -{ - "::IMSINNER::ESICEEval", - "::Ice::Object" -}; - -bool -IMSINNER::ESICEEval::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__IMSINNER__ESICEEval_ids, __IMSINNER__ESICEEval_ids + 2, _s); -} - -::std::vector< ::std::string> -IMSINNER::ESICEEval::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__IMSINNER__ESICEEval_ids[0], &__IMSINNER__ESICEEval_ids[2]); -} - -const ::std::string& -IMSINNER::ESICEEval::ice_id(const ::Ice::Current&) const -{ - return __IMSINNER__ESICEEval_ids[0]; -} - -const ::std::string& -IMSINNER::ESICEEval::ice_staticId() -{ - return __IMSINNER__ESICEEval_ids[0]; -} - -::IceInternal::DispatchStatus -IMSINNER::ESICEEval::___setESEval(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string evalcontent; - ::std::string welcome; - __is->read(uid); - __is->read(evalcontent); - __is->read(welcome); - ::Ice::Int __ret = setESEval(uid, evalcontent, welcome, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::ESICEEval::___getESEval(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::std::string evalcontent; - ::std::string welcome; - ::Ice::Int __ret = getESEval(uid, evalcontent, welcome, __current); - __os->write(evalcontent); - __os->write(welcome); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::ESICEEval::___setESEvalResult(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string buyerid; - ::Ice::Int evalId; - ::std::string evalresult; - __is->read(uid); - __is->read(buyerid); - __is->read(evalId); - __is->read(evalresult); - ::Ice::Int __ret = setESEvalResult(uid, buyerid, evalId, evalresult, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::ESICEEval::___getESEvalResult(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string buyerid; - ::Ice::Int evalId; - __is->read(uid); - __is->read(buyerid); - __is->read(evalId); - ::std::string evalresult; - ::std::string gmtcreate; - ::std::string gmtmodify; - ::Ice::Int __ret = getESEvalResult(uid, buyerid, evalId, evalresult, gmtcreate, gmtmodify, __current); - __os->write(evalresult); - __os->write(gmtcreate); - __os->write(gmtmodify); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::ESICEEval::___getESEvalResultToday(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::IMSINNER::SICEESEvalResultSeq evalInfos; - ::Ice::Int __ret = getESEvalResultToday(uid, evalInfos, __current); - if(evalInfos.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &evalInfos[0], &evalInfos[0] + evalInfos.size(), ::IMSINNER::__U__SICEESEvalResultSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::ESICEEval::___getESEvalResultHistory(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string querytime; - __is->read(uid); - __is->read(querytime); - ::IMSINNER::SICEESEvalResultSeq evalInfos; - ::Ice::Int __ret = getESEvalResultHistory(uid, querytime, evalInfos, __current); - if(evalInfos.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &evalInfos[0], &evalInfos[0] + evalInfos.size(), ::IMSINNER::__U__SICEESEvalResultSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::ESICEEval::___getESEvalResultHistorybypage(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string childid; - ::std::string begindate; - ::std::string enddate; - ::Ice::Int pageno; - ::Ice::Int pagesize; - __is->read(uid); - __is->read(childid); - __is->read(begindate); - __is->read(enddate); - __is->read(pageno); - __is->read(pagesize); - ::Ice::Int pagecount; - ::IMSINNER::SICEESEvalResultExSeq evalInfos; - ::Ice::Int __ret = getESEvalResultHistorybypage(uid, childid, begindate, enddate, pageno, pagesize, pagecount, evalInfos, __current); - __os->write(pagecount); - if(evalInfos.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &evalInfos[0], &evalInfos[0] + evalInfos.size(), ::IMSINNER::__U__SICEESEvalResultExSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __IMSINNER__ESICEEval_all[] = -{ - "getESEval", - "getESEvalResult", - "getESEvalResultHistory", - "getESEvalResultHistorybypage", - "getESEvalResultToday", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "setESEval", - "setESEvalResult" -}; - -::IceInternal::DispatchStatus -IMSINNER::ESICEEval::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__IMSINNER__ESICEEval_all, __IMSINNER__ESICEEval_all + 11, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __IMSINNER__ESICEEval_all) - { - case 0: - { - return ___getESEval(in, current); - } - case 1: - { - return ___getESEvalResult(in, current); - } - case 2: - { - return ___getESEvalResultHistory(in, current); - } - case 3: - { - return ___getESEvalResultHistorybypage(in, current); - } - case 4: - { - return ___getESEvalResultToday(in, current); - } - case 5: - { - return ___ice_id(in, current); - } - case 6: - { - return ___ice_ids(in, current); - } - case 7: - { - return ___ice_isA(in, current); - } - case 8: - { - return ___ice_ping(in, current); - } - case 9: - { - return ___setESEval(in, current); - } - case 10: - { - return ___setESEvalResult(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -IMSINNER::ESICEEval::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -IMSINNER::ESICEEval::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -IMSINNER::ESICEEval::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type IMSINNER::ESICEEval was not generated with stream support"; - throw ex; -} - -void -IMSINNER::ESICEEval::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type IMSINNER::ESICEEval was not generated with stream support"; - throw ex; -} - -void -IMSINNER::__patch__ESICEEvalPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::IMSINNER::ESICEEvalPtr* p = static_cast< ::IMSINNER::ESICEEvalPtr*>(__addr); - assert(p); - *p = ::IMSINNER::ESICEEvalPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::IMSINNER::ESICEEval::ice_staticId(); - throw e; - } -} - -bool -IMSINNER::operator==(const ::IMSINNER::ESICEEval& l, const ::IMSINNER::ESICEEval& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IMSINNER::operator!=(const ::IMSINNER::ESICEEval& l, const ::IMSINNER::ESICEEval& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IMSINNER::operator<(const ::IMSINNER::ESICEEval& l, const ::IMSINNER::ESICEEval& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IMSINNER::operator<=(const ::IMSINNER::ESICEEval& l, const ::IMSINNER::ESICEEval& r) -{ - return l < r || l == r; -} - -bool -IMSINNER::operator>(const ::IMSINNER::ESICEEval& l, const ::IMSINNER::ESICEEval& r) -{ - return !(l < r) && !(l == r); -} - -bool -IMSINNER::operator>=(const ::IMSINNER::ESICEEval& l, const ::IMSINNER::ESICEEval& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/es_expandarea_service.cpp b/features/aliww/source/es_expandarea_service.cpp deleted file mode 100644 index 03ad2f2..0000000 --- a/features/aliww/source/es_expandarea_service.cpp +++ /dev/null @@ -1,1104 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `es_expandarea_service.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __IMSINNER__ESICEExpandArea__getESExpandArea_name = "getESExpandArea"; - -static const ::std::string __IMSINNER__ESICEExpandArea__getESExpandAreaById_name = "getESExpandAreaById"; - -static const ::std::string __IMSINNER__ESICEExpandArea__addESExpandArea_name = "addESExpandArea"; - -static const ::std::string __IMSINNER__ESICEExpandArea__updateESExpandArea_name = "updateESExpandArea"; - -static const ::std::string __IMSINNER__ESICEExpandArea__delESExpandArea_name = "delESExpandArea"; - -void -IceInternal::incRef(::IMSINNER::ESICEExpandArea* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IMSINNER::ESICEExpandArea* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::IMSINNER::ESICEExpandArea* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::IMSINNER::ESICEExpandArea* p) -{ - p->__decRef(); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::ESICEExpandAreaPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::ESICEExpandAreaPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::IMSINNER::ESICEExpandArea; - v->__copyFrom(proxy); - } -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::ESICEExpandAreaPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -IMSINNER::SICEExpandArea::operator==(const SICEExpandArea& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SICEExpandArea::operator!=(const SICEExpandArea& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(id != __rhs.id) - { - return true; - } - if(areaname != __rhs.areaname) - { - return true; - } - if(url != __rhs.url) - { - return true; - } - if(picpath != __rhs.picpath) - { - return true; - } - if(createtime != __rhs.createtime) - { - return true; - } - return false; -} - -bool -IMSINNER::SICEExpandArea::operator<(const SICEExpandArea& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(id < __rhs.id) - { - return true; - } - else if(__rhs.id < id) - { - return false; - } - if(areaname < __rhs.areaname) - { - return true; - } - else if(__rhs.areaname < areaname) - { - return false; - } - if(url < __rhs.url) - { - return true; - } - else if(__rhs.url < url) - { - return false; - } - if(picpath < __rhs.picpath) - { - return true; - } - else if(__rhs.picpath < picpath) - { - return false; - } - if(createtime < __rhs.createtime) - { - return true; - } - else if(__rhs.createtime < createtime) - { - return false; - } - return false; -} - -void -IMSINNER::SICEExpandArea::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(id); - __os->write(areaname); - __os->write(url); - __os->write(picpath); - __os->write(createtime); -} - -void -IMSINNER::SICEExpandArea::__read(::IceInternal::BasicStream* __is) -{ - __is->read(id); - __is->read(areaname); - __is->read(url); - __is->read(picpath); - __is->read(createtime); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SICEExpandArea* begin, const ::IMSINNER::SICEExpandArea* end, ::IMSINNER::__U__SICEExpandAreaSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SICEExpandAreaSeq& v, ::IMSINNER::__U__SICEExpandAreaSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 8); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -IMSINNER::__addObject(const ESICEExpandAreaPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -IMSINNER::__usesClasses(const ESICEExpandAreaPtr& p) -{ - return p->__usesClasses(); -} - -void -IMSINNER::__decRefUnsafe(const ESICEExpandAreaPtr& p) -{ - p->__decRefUnsafe(); -} - -void -IMSINNER::__clearHandleUnsafe(ESICEExpandAreaPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::IMSINNER::ESICEExpandArea::getESExpandArea(const ::std::string& uid, ::IMSINNER::SICEExpandAreaSeq& areaInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__ESICEExpandArea__getESExpandArea_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::ESICEExpandArea* __del = dynamic_cast< ::IceDelegate::IMSINNER::ESICEExpandArea*>(__delBase.get()); - return __del->getESExpandArea(uid, areaInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::ESICEExpandArea::getESExpandAreaById(const ::std::string& uid, ::Ice::Int id, ::IMSINNER::SICEExpandArea& areaInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__ESICEExpandArea__getESExpandAreaById_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::ESICEExpandArea* __del = dynamic_cast< ::IceDelegate::IMSINNER::ESICEExpandArea*>(__delBase.get()); - return __del->getESExpandAreaById(uid, id, areaInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::ESICEExpandArea::addESExpandArea(const ::std::string& uid, const ::IMSINNER::SICEExpandArea& areaInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__ESICEExpandArea__addESExpandArea_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::ESICEExpandArea* __del = dynamic_cast< ::IceDelegate::IMSINNER::ESICEExpandArea*>(__delBase.get()); - return __del->addESExpandArea(uid, areaInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::ESICEExpandArea::updateESExpandArea(const ::std::string& uid, const ::IMSINNER::SICEExpandArea& areaInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__ESICEExpandArea__updateESExpandArea_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::ESICEExpandArea* __del = dynamic_cast< ::IceDelegate::IMSINNER::ESICEExpandArea*>(__delBase.get()); - return __del->updateESExpandArea(uid, areaInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::ESICEExpandArea::delESExpandArea(const ::std::string& uid, ::Ice::Int id, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__ESICEExpandArea__delESExpandArea_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::ESICEExpandArea* __del = dynamic_cast< ::IceDelegate::IMSINNER::ESICEExpandArea*>(__delBase.get()); - return __del->delESExpandArea(uid, id, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::IMSINNER::ESICEExpandArea::ice_staticId() -{ - return ::IMSINNER::ESICEExpandArea::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::IMSINNER::ESICEExpandArea::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::IMSINNER::ESICEExpandArea); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::IMSINNER::ESICEExpandArea::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::IMSINNER::ESICEExpandArea); -} - -bool -IceProxy::IMSINNER::operator==(const ::IceProxy::IMSINNER::ESICEExpandArea& l, const ::IceProxy::IMSINNER::ESICEExpandArea& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::IMSINNER::operator!=(const ::IceProxy::IMSINNER::ESICEExpandArea& l, const ::IceProxy::IMSINNER::ESICEExpandArea& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::IMSINNER::operator<(const ::IceProxy::IMSINNER::ESICEExpandArea& l, const ::IceProxy::IMSINNER::ESICEExpandArea& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::IMSINNER::operator<=(const ::IceProxy::IMSINNER::ESICEExpandArea& l, const ::IceProxy::IMSINNER::ESICEExpandArea& r) -{ - return l < r || l == r; -} - -bool -IceProxy::IMSINNER::operator>(const ::IceProxy::IMSINNER::ESICEExpandArea& l, const ::IceProxy::IMSINNER::ESICEExpandArea& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::IMSINNER::operator>=(const ::IceProxy::IMSINNER::ESICEExpandArea& l, const ::IceProxy::IMSINNER::ESICEExpandArea& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::IMSINNER::ESICEExpandArea::getESExpandArea(const ::std::string& uid, ::IMSINNER::SICEExpandAreaSeq& areaInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__ESICEExpandArea__getESExpandArea_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMSINNER::__read(__is, areaInfos, ::IMSINNER::__U__SICEExpandAreaSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::ESICEExpandArea::getESExpandAreaById(const ::std::string& uid, ::Ice::Int id, ::IMSINNER::SICEExpandArea& areaInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__ESICEExpandArea__getESExpandAreaById_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(id); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - areaInfos.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::ESICEExpandArea::addESExpandArea(const ::std::string& uid, const ::IMSINNER::SICEExpandArea& areaInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__ESICEExpandArea__addESExpandArea_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - areaInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::ESICEExpandArea::updateESExpandArea(const ::std::string& uid, const ::IMSINNER::SICEExpandArea& areaInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__ESICEExpandArea__updateESExpandArea_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - areaInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::ESICEExpandArea::delESExpandArea(const ::std::string& uid, ::Ice::Int id, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__ESICEExpandArea__delESExpandArea_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(id); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::IMSINNER::ESICEExpandArea::getESExpandArea(const ::std::string& uid, ::IMSINNER::SICEExpandAreaSeq& areaInfos, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__ESICEExpandArea__getESExpandArea_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::ESICEExpandArea* __servant = dynamic_cast< ::IMSINNER::ESICEExpandArea*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESExpandArea(uid, areaInfos, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::ESICEExpandArea::getESExpandAreaById(const ::std::string& uid, ::Ice::Int id, ::IMSINNER::SICEExpandArea& areaInfos, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__ESICEExpandArea__getESExpandAreaById_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::ESICEExpandArea* __servant = dynamic_cast< ::IMSINNER::ESICEExpandArea*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESExpandAreaById(uid, id, areaInfos, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::ESICEExpandArea::addESExpandArea(const ::std::string& uid, const ::IMSINNER::SICEExpandArea& areaInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__ESICEExpandArea__addESExpandArea_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::ESICEExpandArea* __servant = dynamic_cast< ::IMSINNER::ESICEExpandArea*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->addESExpandArea(uid, areaInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::ESICEExpandArea::updateESExpandArea(const ::std::string& uid, const ::IMSINNER::SICEExpandArea& areaInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__ESICEExpandArea__updateESExpandArea_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::ESICEExpandArea* __servant = dynamic_cast< ::IMSINNER::ESICEExpandArea*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateESExpandArea(uid, areaInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::ESICEExpandArea::delESExpandArea(const ::std::string& uid, ::Ice::Int id, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__ESICEExpandArea__delESExpandArea_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::ESICEExpandArea* __servant = dynamic_cast< ::IMSINNER::ESICEExpandArea*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->delESExpandArea(uid, id, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -IMSINNER::ESICEExpandArea::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __IMSINNER__ESICEExpandArea_ids[2] = -{ - "::IMSINNER::ESICEExpandArea", - "::Ice::Object" -}; - -bool -IMSINNER::ESICEExpandArea::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__IMSINNER__ESICEExpandArea_ids, __IMSINNER__ESICEExpandArea_ids + 2, _s); -} - -::std::vector< ::std::string> -IMSINNER::ESICEExpandArea::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__IMSINNER__ESICEExpandArea_ids[0], &__IMSINNER__ESICEExpandArea_ids[2]); -} - -const ::std::string& -IMSINNER::ESICEExpandArea::ice_id(const ::Ice::Current&) const -{ - return __IMSINNER__ESICEExpandArea_ids[0]; -} - -const ::std::string& -IMSINNER::ESICEExpandArea::ice_staticId() -{ - return __IMSINNER__ESICEExpandArea_ids[0]; -} - -::IceInternal::DispatchStatus -IMSINNER::ESICEExpandArea::___getESExpandArea(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::IMSINNER::SICEExpandAreaSeq areaInfos; - ::Ice::Int __ret = getESExpandArea(uid, areaInfos, __current); - if(areaInfos.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &areaInfos[0], &areaInfos[0] + areaInfos.size(), ::IMSINNER::__U__SICEExpandAreaSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::ESICEExpandArea::___getESExpandAreaById(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int id; - __is->read(uid); - __is->read(id); - ::IMSINNER::SICEExpandArea areaInfos; - ::Ice::Int __ret = getESExpandAreaById(uid, id, areaInfos, __current); - areaInfos.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::ESICEExpandArea::___addESExpandArea(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::IMSINNER::SICEExpandArea areaInfo; - __is->read(uid); - areaInfo.__read(__is); - ::Ice::Int __ret = addESExpandArea(uid, areaInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::ESICEExpandArea::___updateESExpandArea(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::IMSINNER::SICEExpandArea areaInfo; - __is->read(uid); - areaInfo.__read(__is); - ::Ice::Int __ret = updateESExpandArea(uid, areaInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::ESICEExpandArea::___delESExpandArea(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int id; - __is->read(uid); - __is->read(id); - ::Ice::Int __ret = delESExpandArea(uid, id, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __IMSINNER__ESICEExpandArea_all[] = -{ - "addESExpandArea", - "delESExpandArea", - "getESExpandArea", - "getESExpandAreaById", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "updateESExpandArea" -}; - -::IceInternal::DispatchStatus -IMSINNER::ESICEExpandArea::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__IMSINNER__ESICEExpandArea_all, __IMSINNER__ESICEExpandArea_all + 9, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __IMSINNER__ESICEExpandArea_all) - { - case 0: - { - return ___addESExpandArea(in, current); - } - case 1: - { - return ___delESExpandArea(in, current); - } - case 2: - { - return ___getESExpandArea(in, current); - } - case 3: - { - return ___getESExpandAreaById(in, current); - } - case 4: - { - return ___ice_id(in, current); - } - case 5: - { - return ___ice_ids(in, current); - } - case 6: - { - return ___ice_isA(in, current); - } - case 7: - { - return ___ice_ping(in, current); - } - case 8: - { - return ___updateESExpandArea(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -IMSINNER::ESICEExpandArea::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -IMSINNER::ESICEExpandArea::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -IMSINNER::ESICEExpandArea::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type IMSINNER::ESICEExpandArea was not generated with stream support"; - throw ex; -} - -void -IMSINNER::ESICEExpandArea::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type IMSINNER::ESICEExpandArea was not generated with stream support"; - throw ex; -} - -void -IMSINNER::__patch__ESICEExpandAreaPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::IMSINNER::ESICEExpandAreaPtr* p = static_cast< ::IMSINNER::ESICEExpandAreaPtr*>(__addr); - assert(p); - *p = ::IMSINNER::ESICEExpandAreaPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::IMSINNER::ESICEExpandArea::ice_staticId(); - throw e; - } -} - -bool -IMSINNER::operator==(const ::IMSINNER::ESICEExpandArea& l, const ::IMSINNER::ESICEExpandArea& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IMSINNER::operator!=(const ::IMSINNER::ESICEExpandArea& l, const ::IMSINNER::ESICEExpandArea& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IMSINNER::operator<(const ::IMSINNER::ESICEExpandArea& l, const ::IMSINNER::ESICEExpandArea& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IMSINNER::operator<=(const ::IMSINNER::ESICEExpandArea& l, const ::IMSINNER::ESICEExpandArea& r) -{ - return l < r || l == r; -} - -bool -IMSINNER::operator>(const ::IMSINNER::ESICEExpandArea& l, const ::IMSINNER::ESICEExpandArea& r) -{ - return !(l < r) && !(l == r); -} - -bool -IMSINNER::operator>=(const ::IMSINNER::ESICEExpandArea& l, const ::IMSINNER::ESICEExpandArea& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/fdbrecent_pack.cpp b/features/aliww/source/fdbrecent_pack.cpp deleted file mode 100644 index 7974249..0000000 --- a/features/aliww/source/fdbrecent_pack.cpp +++ /dev/null @@ -1,176 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: fdbrecent_pack.cpp -// Date: 2011-01-30 12:48:58 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "fdbrecent_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SFdbRecentNode& sFdbRecentNode ) -{ - uint8_t nFieldNum = 6; - do { - if(sFdbRecentNode.m_strangerflag == 0) - nFieldNum--; - else - break; - if(sFdbRecentNode.m_recvFlag == 0) - nFieldNum--; - else - break; - if(sFdbRecentNode.m_sendFlag == 0) - nFieldNum--; - else - break; - if(sFdbRecentNode.m_validTime == 0) - nFieldNum--; - else - break; - if(sFdbRecentNode.m_recvTime == 0) - nFieldNum--; - else - break; - if(sFdbRecentNode.m_sendTime == 0) - nFieldNum--; - else - break; - } while(0); - cPackData << nFieldNum; - if(nFieldNum == 0) - return cPackData; - cPackData << FT_UINT32; - cPackData << sFdbRecentNode.m_sendTime; - if(nFieldNum == 1) - return cPackData; - cPackData << FT_UINT32; - cPackData << sFdbRecentNode.m_recvTime; - if(nFieldNum == 2) - return cPackData; - cPackData << FT_UINT32; - cPackData << sFdbRecentNode.m_validTime; - if(nFieldNum == 3) - return cPackData; - cPackData << FT_UINT32; - cPackData << sFdbRecentNode.m_sendFlag; - if(nFieldNum == 4) - return cPackData; - cPackData << FT_UINT32; - cPackData << sFdbRecentNode.m_recvFlag; - if(nFieldNum == 5) - return cPackData; - cPackData << FT_UINT32; - cPackData << sFdbRecentNode.m_strangerflag; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SFdbRecentNode& sFdbRecentNode ) -{ - uint8_t num; - try - { - cPackData >> num; - CFieldType field; - if(num < 1) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sFdbRecentNode.m_sendTime; - if(num < 2) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sFdbRecentNode.m_recvTime; - if(num < 3) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sFdbRecentNode.m_validTime; - if(num < 4) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sFdbRecentNode.m_sendFlag; - if(num < 5) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sFdbRecentNode.m_recvFlag; - if(num < 6) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sFdbRecentNode.m_strangerflag; - } - catch(PACKRETCODE) - { - return cPackData; - } - for(int i = 6; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const SFdbRecentMap& sFdbRecentMap ) -{ - uint8_t nFieldNum = 5; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sFdbRecentMap.m_pcid; - cPackData << FT_UINT32; - cPackData << sFdbRecentMap.m_ip; - cPackData << FT_UINT32; - cPackData << sFdbRecentMap.m_chgTime; - cPackData << FT_UINT32; - cPackData << sFdbRecentMap.m_loadTime; - cPackData << FT_MAP; - cPackData << FT_STRING; - cPackData << FT_STRUCT; - { - uint8_t nSize = sFdbRecentMap.m_nodes.size(); - cPackData << nSize; - map< string,SFdbRecentNode >::const_iterator itr; - for(itr = sFdbRecentMap.m_nodes.begin(); itr != sFdbRecentMap.m_nodes.end(); ++itr) - { - cPackData << itr->first; - cPackData << itr->second; - } - } - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SFdbRecentMap& sFdbRecentMap ) -{ - uint8_t num; - cPackData >> num; - if(num < 5) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sFdbRecentMap.m_pcid; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sFdbRecentMap.m_ip; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sFdbRecentMap.m_chgTime; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sFdbRecentMap.m_loadTime; - cPackData >> field; - if(field.m_baseType != FT_MAP) throw PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - cPackData >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - SFdbRecentNode value; - cPackData >> key; - cPackData >> value; - sFdbRecentMap.m_nodes[key] = value; - } - } - for(int i = 5; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - diff --git a/features/aliww/source/ftservice.cpp b/features/aliww/source/ftservice.cpp deleted file mode 100644 index 1a860bc..0000000 --- a/features/aliww/source/ftservice.cpp +++ /dev/null @@ -1,1037 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `ftservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __alliFTServer__IFTService__getServiceInfo_name = "getServiceInfo"; - -static const ::std::string __alliFTServer__IFTService__getTietuServiceInfo_name = "getTietuServiceInfo"; - -static const ::std::string __alliFTServer__IFTNewService__getAddr_name = "getAddr"; - -void -IceInternal::incRef(::alliFTServer::IFTService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::alliFTServer::IFTService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::alliFTServer::IFTService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::alliFTServer::IFTService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::alliFTServer::IFTNewService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::alliFTServer::IFTNewService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::alliFTServer::IFTNewService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::alliFTServer::IFTNewService* p) -{ - p->__decRef(); -} - -void -alliFTServer::__write(::IceInternal::BasicStream* __os, const ::alliFTServer::IFTServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -alliFTServer::__read(::IceInternal::BasicStream* __is, ::alliFTServer::IFTServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::alliFTServer::IFTService; - v->__copyFrom(proxy); - } -} - -void -alliFTServer::__write(::IceInternal::BasicStream* __os, const ::alliFTServer::IFTServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -alliFTServer::__write(::IceInternal::BasicStream* __os, const ::alliFTServer::IFTNewServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -alliFTServer::__read(::IceInternal::BasicStream* __is, ::alliFTServer::IFTNewServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::alliFTServer::IFTNewService; - v->__copyFrom(proxy); - } -} - -void -alliFTServer::__write(::IceInternal::BasicStream* __os, const ::alliFTServer::IFTNewServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -alliFTServer::__addObject(const IFTServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -alliFTServer::__usesClasses(const IFTServicePtr& p) -{ - return p->__usesClasses(); -} - -void -alliFTServer::__decRefUnsafe(const IFTServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -alliFTServer::__clearHandleUnsafe(IFTServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -void -alliFTServer::__addObject(const IFTNewServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -alliFTServer::__usesClasses(const IFTNewServicePtr& p) -{ - return p->__usesClasses(); -} - -void -alliFTServer::__decRefUnsafe(const IFTNewServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -alliFTServer::__clearHandleUnsafe(IFTNewServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::alliFTServer::IFTService::getServiceInfo(const ::std::string& senduid, const ::std::string& touid, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__alliFTServer__IFTService__getServiceInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::alliFTServer::IFTService* __del = dynamic_cast< ::IceDelegate::alliFTServer::IFTService*>(__delBase.get()); - return __del->getServiceInfo(senduid, touid, srvIp, srvPort, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::alliFTServer::IFTService::getTietuServiceInfo(const ::std::string& senduid, ::Ice::Int& sessionSum, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__alliFTServer__IFTService__getTietuServiceInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::alliFTServer::IFTService* __del = dynamic_cast< ::IceDelegate::alliFTServer::IFTService*>(__delBase.get()); - return __del->getTietuServiceInfo(senduid, sessionSum, srvIp, srvPort, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::alliFTServer::IFTService::ice_staticId() -{ - return ::alliFTServer::IFTService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::alliFTServer::IFTService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::alliFTServer::IFTService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::alliFTServer::IFTService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::alliFTServer::IFTService); -} - -bool -IceProxy::alliFTServer::operator==(const ::IceProxy::alliFTServer::IFTService& l, const ::IceProxy::alliFTServer::IFTService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::alliFTServer::operator!=(const ::IceProxy::alliFTServer::IFTService& l, const ::IceProxy::alliFTServer::IFTService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::alliFTServer::operator<(const ::IceProxy::alliFTServer::IFTService& l, const ::IceProxy::alliFTServer::IFTService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::alliFTServer::operator<=(const ::IceProxy::alliFTServer::IFTService& l, const ::IceProxy::alliFTServer::IFTService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::alliFTServer::operator>(const ::IceProxy::alliFTServer::IFTService& l, const ::IceProxy::alliFTServer::IFTService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::alliFTServer::operator>=(const ::IceProxy::alliFTServer::IFTService& l, const ::IceProxy::alliFTServer::IFTService& r) -{ - return !(l < r); -} - -::Ice::Int -IceProxy::alliFTServer::IFTNewService::getAddr(::Ice::Short _cpp_typeid, const ::std::string& senduid, ::Ice::Long& ftsid, ::std::string& srvIp, ::Ice::Short& srvProt, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__alliFTServer__IFTNewService__getAddr_name); - __delBase = __getDelegate(); - ::IceDelegate::alliFTServer::IFTNewService* __del = dynamic_cast< ::IceDelegate::alliFTServer::IFTNewService*>(__delBase.get()); - return __del->getAddr(_cpp_typeid, senduid, ftsid, srvIp, srvProt, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::alliFTServer::IFTNewService::ice_staticId() -{ - return ::alliFTServer::IFTNewService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::alliFTServer::IFTNewService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::alliFTServer::IFTNewService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::alliFTServer::IFTNewService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::alliFTServer::IFTNewService); -} - -bool -IceProxy::alliFTServer::operator==(const ::IceProxy::alliFTServer::IFTNewService& l, const ::IceProxy::alliFTServer::IFTNewService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::alliFTServer::operator!=(const ::IceProxy::alliFTServer::IFTNewService& l, const ::IceProxy::alliFTServer::IFTNewService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::alliFTServer::operator<(const ::IceProxy::alliFTServer::IFTNewService& l, const ::IceProxy::alliFTServer::IFTNewService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::alliFTServer::operator<=(const ::IceProxy::alliFTServer::IFTNewService& l, const ::IceProxy::alliFTServer::IFTNewService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::alliFTServer::operator>(const ::IceProxy::alliFTServer::IFTNewService& l, const ::IceProxy::alliFTServer::IFTNewService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::alliFTServer::operator>=(const ::IceProxy::alliFTServer::IFTNewService& l, const ::IceProxy::alliFTServer::IFTNewService& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::alliFTServer::IFTService::getServiceInfo(const ::std::string& senduid, const ::std::string& touid, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __alliFTServer__IFTService__getServiceInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(senduid); - __os->write(touid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(srvIp); - __is->read(srvPort); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::alliFTServer::IFTService::getTietuServiceInfo(const ::std::string& senduid, ::Ice::Int& sessionSum, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __alliFTServer__IFTService__getTietuServiceInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(senduid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(sessionSum); - __is->read(srvIp); - __is->read(srvPort); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::alliFTServer::IFTNewService::getAddr(::Ice::Short _cpp_typeid, const ::std::string& senduid, ::Ice::Long& ftsid, ::std::string& srvIp, ::Ice::Short& srvProt, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __alliFTServer__IFTNewService__getAddr_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(_cpp_typeid); - __os->write(senduid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(ftsid); - __is->read(srvIp); - __is->read(srvProt); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::alliFTServer::IFTService::getServiceInfo(const ::std::string& senduid, const ::std::string& touid, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __alliFTServer__IFTService__getServiceInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::alliFTServer::IFTService* __servant = dynamic_cast< ::alliFTServer::IFTService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getServiceInfo(senduid, touid, srvIp, srvPort, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::alliFTServer::IFTService::getTietuServiceInfo(const ::std::string& senduid, ::Ice::Int& sessionSum, ::std::string& srvIp, ::Ice::Short& srvPort, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __alliFTServer__IFTService__getTietuServiceInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::alliFTServer::IFTService* __servant = dynamic_cast< ::alliFTServer::IFTService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getTietuServiceInfo(senduid, sessionSum, srvIp, srvPort, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::alliFTServer::IFTNewService::getAddr(::Ice::Short _cpp_typeid, const ::std::string& senduid, ::Ice::Long& ftsid, ::std::string& srvIp, ::Ice::Short& srvProt, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __alliFTServer__IFTNewService__getAddr_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::alliFTServer::IFTNewService* __servant = dynamic_cast< ::alliFTServer::IFTNewService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getAddr(_cpp_typeid, senduid, ftsid, srvIp, srvProt, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -alliFTServer::IFTService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __alliFTServer__IFTService_ids[2] = -{ - "::Ice::Object", - "::alliFTServer::IFTService" -}; - -bool -alliFTServer::IFTService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__alliFTServer__IFTService_ids, __alliFTServer__IFTService_ids + 2, _s); -} - -::std::vector< ::std::string> -alliFTServer::IFTService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__alliFTServer__IFTService_ids[0], &__alliFTServer__IFTService_ids[2]); -} - -const ::std::string& -alliFTServer::IFTService::ice_id(const ::Ice::Current&) const -{ - return __alliFTServer__IFTService_ids[1]; -} - -const ::std::string& -alliFTServer::IFTService::ice_staticId() -{ - return __alliFTServer__IFTService_ids[1]; -} - -::IceInternal::DispatchStatus -alliFTServer::IFTService::___getServiceInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string senduid; - ::std::string touid; - __is->read(senduid); - __is->read(touid); - ::std::string srvIp; - ::Ice::Short srvPort; - ::Ice::Int __ret = getServiceInfo(senduid, touid, srvIp, srvPort, __current); - __os->write(srvIp); - __os->write(srvPort); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -alliFTServer::IFTService::___getTietuServiceInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string senduid; - __is->read(senduid); - ::Ice::Int sessionSum; - ::std::string srvIp; - ::Ice::Short srvPort; - ::Ice::Int __ret = getTietuServiceInfo(senduid, sessionSum, srvIp, srvPort, __current); - __os->write(sessionSum); - __os->write(srvIp); - __os->write(srvPort); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __alliFTServer__IFTService_all[] = -{ - "getServiceInfo", - "getTietuServiceInfo", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -alliFTServer::IFTService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__alliFTServer__IFTService_all, __alliFTServer__IFTService_all + 6, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __alliFTServer__IFTService_all) - { - case 0: - { - return ___getServiceInfo(in, current); - } - case 1: - { - return ___getTietuServiceInfo(in, current); - } - case 2: - { - return ___ice_id(in, current); - } - case 3: - { - return ___ice_ids(in, current); - } - case 4: - { - return ___ice_isA(in, current); - } - case 5: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -alliFTServer::IFTService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -alliFTServer::IFTService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -alliFTServer::IFTService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type alliFTServer::IFTService was not generated with stream support"; - throw ex; -} - -void -alliFTServer::IFTService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type alliFTServer::IFTService was not generated with stream support"; - throw ex; -} - -void -alliFTServer::__patch__IFTServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::alliFTServer::IFTServicePtr* p = static_cast< ::alliFTServer::IFTServicePtr*>(__addr); - assert(p); - *p = ::alliFTServer::IFTServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::alliFTServer::IFTService::ice_staticId(); - throw e; - } -} - -bool -alliFTServer::operator==(const ::alliFTServer::IFTService& l, const ::alliFTServer::IFTService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -alliFTServer::operator!=(const ::alliFTServer::IFTService& l, const ::alliFTServer::IFTService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -alliFTServer::operator<(const ::alliFTServer::IFTService& l, const ::alliFTServer::IFTService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -alliFTServer::operator<=(const ::alliFTServer::IFTService& l, const ::alliFTServer::IFTService& r) -{ - return l < r || l == r; -} - -bool -alliFTServer::operator>(const ::alliFTServer::IFTService& l, const ::alliFTServer::IFTService& r) -{ - return !(l < r) && !(l == r); -} - -bool -alliFTServer::operator>=(const ::alliFTServer::IFTService& l, const ::alliFTServer::IFTService& r) -{ - return !(l < r); -} - -::Ice::ObjectPtr -alliFTServer::IFTNewService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __alliFTServer__IFTNewService_ids[2] = -{ - "::Ice::Object", - "::alliFTServer::IFTNewService" -}; - -bool -alliFTServer::IFTNewService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__alliFTServer__IFTNewService_ids, __alliFTServer__IFTNewService_ids + 2, _s); -} - -::std::vector< ::std::string> -alliFTServer::IFTNewService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__alliFTServer__IFTNewService_ids[0], &__alliFTServer__IFTNewService_ids[2]); -} - -const ::std::string& -alliFTServer::IFTNewService::ice_id(const ::Ice::Current&) const -{ - return __alliFTServer__IFTNewService_ids[1]; -} - -const ::std::string& -alliFTServer::IFTNewService::ice_staticId() -{ - return __alliFTServer__IFTNewService_ids[1]; -} - -::IceInternal::DispatchStatus -alliFTServer::IFTNewService::___getAddr(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Short _cpp_typeid; - ::std::string senduid; - __is->read(_cpp_typeid); - __is->read(senduid); - ::Ice::Long ftsid; - ::std::string srvIp; - ::Ice::Short srvProt; - ::Ice::Int __ret = getAddr(_cpp_typeid, senduid, ftsid, srvIp, srvProt, __current); - __os->write(ftsid); - __os->write(srvIp); - __os->write(srvProt); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __alliFTServer__IFTNewService_all[] = -{ - "getAddr", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -alliFTServer::IFTNewService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__alliFTServer__IFTNewService_all, __alliFTServer__IFTNewService_all + 5, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __alliFTServer__IFTNewService_all) - { - case 0: - { - return ___getAddr(in, current); - } - case 1: - { - return ___ice_id(in, current); - } - case 2: - { - return ___ice_ids(in, current); - } - case 3: - { - return ___ice_isA(in, current); - } - case 4: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -alliFTServer::IFTNewService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -alliFTServer::IFTNewService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -alliFTServer::IFTNewService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type alliFTServer::IFTNewService was not generated with stream support"; - throw ex; -} - -void -alliFTServer::IFTNewService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type alliFTServer::IFTNewService was not generated with stream support"; - throw ex; -} - -void -alliFTServer::__patch__IFTNewServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::alliFTServer::IFTNewServicePtr* p = static_cast< ::alliFTServer::IFTNewServicePtr*>(__addr); - assert(p); - *p = ::alliFTServer::IFTNewServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::alliFTServer::IFTNewService::ice_staticId(); - throw e; - } -} - -bool -alliFTServer::operator==(const ::alliFTServer::IFTNewService& l, const ::alliFTServer::IFTNewService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -alliFTServer::operator!=(const ::alliFTServer::IFTNewService& l, const ::alliFTServer::IFTNewService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -alliFTServer::operator<(const ::alliFTServer::IFTNewService& l, const ::alliFTServer::IFTNewService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -alliFTServer::operator<=(const ::alliFTServer::IFTNewService& l, const ::alliFTServer::IFTNewService& r) -{ - return l < r || l == r; -} - -bool -alliFTServer::operator>(const ::alliFTServer::IFTNewService& l, const ::alliFTServer::IFTNewService& r) -{ - return !(l < r) && !(l == r); -} - -bool -alliFTServer::operator>=(const ::alliFTServer::IFTNewService& l, const ::alliFTServer::IFTNewService& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/get_bind_list.cpp b/features/aliww/source/get_bind_list.cpp deleted file mode 100644 index 24af6eb..0000000 --- a/features/aliww/source/get_bind_list.cpp +++ /dev/null @@ -1,94 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: get_bind_list.cpp - * - * Description: - * - * Version: 1.0 - * Created: 2011å¹´01月07æ—¥ 15æ—¶53分02秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ -#include "get_bind_list.h" -#include "cbenchmark.h" -#include "paramutil.h" -#include "CWWSimulator.h" -#include "script_consts.h" -#include -using namespace std; - - -void *get_bind_list_init(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; -// create_transaction(pVuser,"GetWebBinding"); - - CWWSimulator *pWW = new (CWWSimulator); - pVuser->verb = pWW; - - string imServerIP; - uint16_t port; - - - pWW->SetServerIP(imServerIP = "10.250.3.136", port = 16000); - pWW->SetStatus(TOKEN_FLAG, DEFAULT_LOGINSTAT); - pWW->SetClient(DEFAULT_CLIENTVERSION, DEFAULT_CLIENTLANGUAGE); - -} - -void *get_bind_list_act(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - - //initilize username and password - string username, password; - char *temp = select_param_ex(pVuser); - printf("param selected: %s\n",temp); - string params; - params.assign(temp,strlen(temp)-1);//temp is end with '\n' - int pos = params.find(','); - username = params.substr(0, pos); - password = "aliyun"; - pWW->SetUser(username, password); - - string recvPack; - void** ppPack; - int retcode; - pWW->GetWebBinding(); - - pWW->Detach(); -} - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/features/aliww/source/imcntlcacheservice.cpp b/features/aliww/source/imcntlcacheservice.cpp deleted file mode 100644 index f7e6de3..0000000 --- a/features/aliww/source/imcntlcacheservice.cpp +++ /dev/null @@ -1,1109 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `imcntlcacheservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__IUserCntLCacheService__getUserCntTimeStamps_name = "getUserCntTimeStamps"; - -static const ::std::string __AliIM__IUserCntLCacheService__removeUser_name = "removeUser"; - -static const ::std::string __AliIM__IUserCntLCacheService__backupUserContacts_name = "backupUserContacts"; - -static const ::std::string __AliIM__IUserCntLCacheService__getBackupedUserContacts_name = "getBackupedUserContacts"; - -static const ::std::string __AliIM__IUserCntLCacheService__addUserContact_name = "addUserContact"; - -static const ::std::string __AliIM__IUserCntLCacheService__delUserContact_name = "delUserContact"; - -void -IceInternal::incRef(::AliIM::IUserCntLCacheService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::IUserCntLCacheService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::IUserCntLCacheService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::IUserCntLCacheService* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::IUserCntLCacheServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::IUserCntLCacheServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::IUserCntLCacheService; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::IUserCntLCacheServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIM::__addObject(const IUserCntLCacheServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const IUserCntLCacheServicePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const IUserCntLCacheServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(IUserCntLCacheServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::IUserCntLCacheService::getUserCntTimeStamps(const ::std::string& longuid, ::Ice::Int& cnttimes, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserCntLCacheService__getUserCntTimeStamps_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserCntLCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserCntLCacheService*>(__delBase.get()); - return __del->getUserCntTimeStamps(longuid, cnttimes, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserCntLCacheService::removeUser(const ::std::string& longuid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserCntLCacheService__removeUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserCntLCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserCntLCacheService*>(__delBase.get()); - return __del->removeUser(longuid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserCntLCacheService::backupUserContacts(const ::std::string& longuid, ::Ice::Int cnttimes, const ::Ice::StringSeq& cntids, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserCntLCacheService__backupUserContacts_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserCntLCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserCntLCacheService*>(__delBase.get()); - return __del->backupUserContacts(longuid, cnttimes, cntids, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserCntLCacheService::getBackupedUserContacts(const ::std::string& longuid, ::Ice::Int& cnttimes, ::Ice::StringSeq& cntids, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserCntLCacheService__getBackupedUserContacts_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserCntLCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserCntLCacheService*>(__delBase.get()); - return __del->getBackupedUserContacts(longuid, cnttimes, cntids, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserCntLCacheService::addUserContact(const ::std::string& longuid, ::Ice::Int cnttimes, const ::std::string& cntid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserCntLCacheService__addUserContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserCntLCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserCntLCacheService*>(__delBase.get()); - return __del->addUserContact(longuid, cnttimes, cntid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserCntLCacheService::delUserContact(const ::std::string& longuid, ::Ice::Int cnttimes, const ::std::string& cntid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserCntLCacheService__delUserContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserCntLCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserCntLCacheService*>(__delBase.get()); - return __del->delUserContact(longuid, cnttimes, cntid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::IUserCntLCacheService::ice_staticId() -{ - return ::AliIM::IUserCntLCacheService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::IUserCntLCacheService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::IUserCntLCacheService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::IUserCntLCacheService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::IUserCntLCacheService); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::IUserCntLCacheService& l, const ::IceProxy::AliIM::IUserCntLCacheService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::IUserCntLCacheService& l, const ::IceProxy::AliIM::IUserCntLCacheService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::IUserCntLCacheService& l, const ::IceProxy::AliIM::IUserCntLCacheService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::IUserCntLCacheService& l, const ::IceProxy::AliIM::IUserCntLCacheService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::IUserCntLCacheService& l, const ::IceProxy::AliIM::IUserCntLCacheService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::IUserCntLCacheService& l, const ::IceProxy::AliIM::IUserCntLCacheService& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::IUserCntLCacheService::getUserCntTimeStamps(const ::std::string& longuid, ::Ice::Int& cnttimes, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserCntLCacheService__getUserCntTimeStamps_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(cnttimes); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserCntLCacheService::removeUser(const ::std::string& longuid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserCntLCacheService__removeUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserCntLCacheService::backupUserContacts(const ::std::string& longuid, ::Ice::Int cnttimes, const ::Ice::StringSeq& cntids, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserCntLCacheService__backupUserContacts_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - __os->write(cnttimes); - if(cntids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&cntids[0], &cntids[0] + cntids.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserCntLCacheService::getBackupedUserContacts(const ::std::string& longuid, ::Ice::Int& cnttimes, ::Ice::StringSeq& cntids, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserCntLCacheService__getBackupedUserContacts_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(cnttimes); - __is->read(cntids); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserCntLCacheService::addUserContact(const ::std::string& longuid, ::Ice::Int cnttimes, const ::std::string& cntid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserCntLCacheService__addUserContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - __os->write(cnttimes); - __os->write(cntid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserCntLCacheService::delUserContact(const ::std::string& longuid, ::Ice::Int cnttimes, const ::std::string& cntid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserCntLCacheService__delUserContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - __os->write(cnttimes); - __os->write(cntid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserCntLCacheService::getUserCntTimeStamps(const ::std::string& longuid, ::Ice::Int& cnttimes, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserCntLCacheService__getUserCntTimeStamps_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserCntLCacheService* __servant = dynamic_cast< ::AliIM::IUserCntLCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserCntTimeStamps(longuid, cnttimes, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserCntLCacheService::removeUser(const ::std::string& longuid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserCntLCacheService__removeUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserCntLCacheService* __servant = dynamic_cast< ::AliIM::IUserCntLCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->removeUser(longuid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserCntLCacheService::backupUserContacts(const ::std::string& longuid, ::Ice::Int cnttimes, const ::Ice::StringSeq& cntids, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserCntLCacheService__backupUserContacts_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserCntLCacheService* __servant = dynamic_cast< ::AliIM::IUserCntLCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->backupUserContacts(longuid, cnttimes, cntids, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserCntLCacheService::getBackupedUserContacts(const ::std::string& longuid, ::Ice::Int& cnttimes, ::Ice::StringSeq& cntids, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserCntLCacheService__getBackupedUserContacts_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserCntLCacheService* __servant = dynamic_cast< ::AliIM::IUserCntLCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getBackupedUserContacts(longuid, cnttimes, cntids, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserCntLCacheService::addUserContact(const ::std::string& longuid, ::Ice::Int cnttimes, const ::std::string& cntid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserCntLCacheService__addUserContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserCntLCacheService* __servant = dynamic_cast< ::AliIM::IUserCntLCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->addUserContact(longuid, cnttimes, cntid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserCntLCacheService::delUserContact(const ::std::string& longuid, ::Ice::Int cnttimes, const ::std::string& cntid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserCntLCacheService__delUserContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserCntLCacheService* __servant = dynamic_cast< ::AliIM::IUserCntLCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->delUserContact(longuid, cnttimes, cntid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::IUserCntLCacheService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__IUserCntLCacheService_ids[2] = -{ - "::AliIM::IUserCntLCacheService", - "::Ice::Object" -}; - -bool -AliIM::IUserCntLCacheService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__IUserCntLCacheService_ids, __AliIM__IUserCntLCacheService_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::IUserCntLCacheService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__IUserCntLCacheService_ids[0], &__AliIM__IUserCntLCacheService_ids[2]); -} - -const ::std::string& -AliIM::IUserCntLCacheService::ice_id(const ::Ice::Current&) const -{ - return __AliIM__IUserCntLCacheService_ids[0]; -} - -const ::std::string& -AliIM::IUserCntLCacheService::ice_staticId() -{ - return __AliIM__IUserCntLCacheService_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::IUserCntLCacheService::___getUserCntTimeStamps(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - __is->read(longuid); - ::Ice::Int cnttimes; - ::Ice::Int __ret = getUserCntTimeStamps(longuid, cnttimes, __current); - __os->write(cnttimes); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserCntLCacheService::___removeUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - __is->read(longuid); - ::Ice::Int __ret = removeUser(longuid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserCntLCacheService::___backupUserContacts(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - ::Ice::Int cnttimes; - ::Ice::StringSeq cntids; - __is->read(longuid); - __is->read(cnttimes); - __is->read(cntids); - ::Ice::Int __ret = backupUserContacts(longuid, cnttimes, cntids, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserCntLCacheService::___getBackupedUserContacts(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - __is->read(longuid); - ::Ice::Int cnttimes; - ::Ice::StringSeq cntids; - ::Ice::Int __ret = getBackupedUserContacts(longuid, cnttimes, cntids, __current); - __os->write(cnttimes); - if(cntids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&cntids[0], &cntids[0] + cntids.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserCntLCacheService::___addUserContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - ::Ice::Int cnttimes; - ::std::string cntid; - __is->read(longuid); - __is->read(cnttimes); - __is->read(cntid); - ::Ice::Int __ret = addUserContact(longuid, cnttimes, cntid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserCntLCacheService::___delUserContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - ::Ice::Int cnttimes; - ::std::string cntid; - __is->read(longuid); - __is->read(cnttimes); - __is->read(cntid); - ::Ice::Int __ret = delUserContact(longuid, cnttimes, cntid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__IUserCntLCacheService_all[] = -{ - "addUserContact", - "backupUserContacts", - "delUserContact", - "getBackupedUserContacts", - "getUserCntTimeStamps", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "removeUser" -}; - -::IceInternal::DispatchStatus -AliIM::IUserCntLCacheService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__IUserCntLCacheService_all, __AliIM__IUserCntLCacheService_all + 10, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__IUserCntLCacheService_all) - { - case 0: - { - return ___addUserContact(in, current); - } - case 1: - { - return ___backupUserContacts(in, current); - } - case 2: - { - return ___delUserContact(in, current); - } - case 3: - { - return ___getBackupedUserContacts(in, current); - } - case 4: - { - return ___getUserCntTimeStamps(in, current); - } - case 5: - { - return ___ice_id(in, current); - } - case 6: - { - return ___ice_ids(in, current); - } - case 7: - { - return ___ice_isA(in, current); - } - case 8: - { - return ___ice_ping(in, current); - } - case 9: - { - return ___removeUser(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::IUserCntLCacheService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::IUserCntLCacheService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::IUserCntLCacheService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::IUserCntLCacheService was not generated with stream support"; - throw ex; -} - -void -AliIM::IUserCntLCacheService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::IUserCntLCacheService was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__IUserCntLCacheServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::IUserCntLCacheServicePtr* p = static_cast< ::AliIM::IUserCntLCacheServicePtr*>(__addr); - assert(p); - *p = ::AliIM::IUserCntLCacheServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::IUserCntLCacheService::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::IUserCntLCacheService& l, const ::AliIM::IUserCntLCacheService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::IUserCntLCacheService& l, const ::AliIM::IUserCntLCacheService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::IUserCntLCacheService& l, const ::AliIM::IUserCntLCacheService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::IUserCntLCacheService& l, const ::AliIM::IUserCntLCacheService& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::IUserCntLCacheService& l, const ::AliIM::IUserCntLCacheService& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::IUserCntLCacheService& l, const ::AliIM::IUserCntLCacheService& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/imcontrol_service.cpp b/features/aliww/source/imcontrol_service.cpp deleted file mode 100644 index a08b301..0000000 --- a/features/aliww/source/imcontrol_service.cpp +++ /dev/null @@ -1,1166 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `imcontrol_service.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __IMCoreControlService__IMSecControlService__filterMsg_name = "filterMsg"; - -static const ::std::string __IMCoreControlService__IMSecControlService__filterMsg2_name = "filterMsg2"; - -static const ::std::string __IMCoreControlService__IMSecControlService__filterMsgByFlag_name = "filterMsgByFlag"; - -static const ::std::string __IMCoreControlService__IMSecControlService__checkOPAccess_name = "checkOPAccess"; - -static const ::std::string __IMCoreControlService__IMSecControlService__writeAQLog_name = "writeAQLog"; - -static const ::std::string __IMCoreControlService__IMSecControlService__checkControlAccess_name = "checkControlAccess"; - -void -IceInternal::incRef(::IMCoreControlService::IMSecControlService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IMCoreControlService::IMSecControlService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::IMCoreControlService::IMSecControlService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::IMCoreControlService::IMSecControlService* p) -{ - p->__decRef(); -} - -void -IMCoreControlService::__write(::IceInternal::BasicStream* __os, const ::IMCoreControlService::IMSecControlServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -IMCoreControlService::__read(::IceInternal::BasicStream* __is, ::IMCoreControlService::IMSecControlServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::IMCoreControlService::IMSecControlService; - v->__copyFrom(proxy); - } -} - -void -IMCoreControlService::__write(::IceInternal::BasicStream* __os, const ::IMCoreControlService::IMSecControlServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -IMCoreControlService::__write(::IceInternal::BasicStream* __os, const ::IMCoreControlService::KVPair& v, ::IMCoreControlService::__U__KVPair) -{ - __os->writeSize(::Ice::Int(v.size())); - ::IMCoreControlService::KVPair::const_iterator p; - for(p = v.begin(); p != v.end(); ++p) - { - __os->write(p->first); - __os->write(p->second); - } -} - -void -IMCoreControlService::__read(::IceInternal::BasicStream* __is, ::IMCoreControlService::KVPair& v, ::IMCoreControlService::__U__KVPair) -{ - ::Ice::Int sz; - __is->readSize(sz); - while(sz--) - { - ::std::pair pair; - __is->read(const_cast< ::std::string&>(pair.first)); - ::IMCoreControlService::KVPair::iterator __i = v.insert(v.end(), pair); - __is->read(__i->second); - } -} - -void -IMCoreControlService::__addObject(const IMSecControlServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -IMCoreControlService::__usesClasses(const IMSecControlServicePtr& p) -{ - return p->__usesClasses(); -} - -void -IMCoreControlService::__decRefUnsafe(const IMSecControlServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -IMCoreControlService::__clearHandleUnsafe(IMSecControlServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -bool -IceProxy::IMCoreControlService::IMSecControlService::filterMsg(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMCoreControlService__IMSecControlService__filterMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::IMCoreControlService::IMSecControlService* __del = dynamic_cast< ::IceDelegate::IMCoreControlService::IMSecControlService*>(__delBase.get()); - return __del->filterMsg(fromid, toid, actdgree, ip, msg, extraattrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -bool -IceProxy::IMCoreControlService::IMSecControlService::filterMsg2(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, ::std::string& newmsg, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMCoreControlService__IMSecControlService__filterMsg2_name); - __delBase = __getDelegate(); - ::IceDelegate::IMCoreControlService::IMSecControlService* __del = dynamic_cast< ::IceDelegate::IMCoreControlService::IMSecControlService*>(__delBase.get()); - return __del->filterMsg2(fromid, toid, actdgree, ip, msg, extraattrs, newmsg, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -bool -IceProxy::IMCoreControlService::IMSecControlService::filterMsgByFlag(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, const ::std::string& checkmap, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMCoreControlService__IMSecControlService__filterMsgByFlag_name); - __delBase = __getDelegate(); - ::IceDelegate::IMCoreControlService::IMSecControlService* __del = dynamic_cast< ::IceDelegate::IMCoreControlService::IMSecControlService*>(__delBase.get()); - return __del->filterMsgByFlag(fromid, toid, actdgree, ip, msg, extraattrs, checkmap, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -bool -IceProxy::IMCoreControlService::IMSecControlService::checkOPAccess(const ::std::string& uid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& packdata, const ::IMCoreControlService::KVPair& extraattrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMCoreControlService__IMSecControlService__checkOPAccess_name); - __delBase = __getDelegate(); - ::IceDelegate::IMCoreControlService::IMSecControlService* __del = dynamic_cast< ::IceDelegate::IMCoreControlService::IMSecControlService*>(__delBase.get()); - return __del->checkOPAccess(uid, actdgree, ip, packdata, extraattrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -void -IceProxy::IMCoreControlService::IMSecControlService::writeAQLog(const ::std::string& data, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __delBase = __getDelegate(); - ::IceDelegate::IMCoreControlService::IMSecControlService* __del = dynamic_cast< ::IceDelegate::IMCoreControlService::IMSecControlService*>(__delBase.get()); - __del->writeAQLog(data, __ctx); - return; - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -bool -IceProxy::IMCoreControlService::IMSecControlService::checkControlAccess(const ::std::string& uid, ::Ice::Int actdegree, const ::std::string& ip, const ::std::string& version, ::Ice::Int checktype, const ::IMCoreControlService::KVPair& extraattrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMCoreControlService__IMSecControlService__checkControlAccess_name); - __delBase = __getDelegate(); - ::IceDelegate::IMCoreControlService::IMSecControlService* __del = dynamic_cast< ::IceDelegate::IMCoreControlService::IMSecControlService*>(__delBase.get()); - return __del->checkControlAccess(uid, actdegree, ip, version, checktype, extraattrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::IMCoreControlService::IMSecControlService::ice_staticId() -{ - return ::IMCoreControlService::IMSecControlService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::IMCoreControlService::IMSecControlService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::IMCoreControlService::IMSecControlService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::IMCoreControlService::IMSecControlService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::IMCoreControlService::IMSecControlService); -} - -bool -IceProxy::IMCoreControlService::operator==(const ::IceProxy::IMCoreControlService::IMSecControlService& l, const ::IceProxy::IMCoreControlService::IMSecControlService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::IMCoreControlService::operator!=(const ::IceProxy::IMCoreControlService::IMSecControlService& l, const ::IceProxy::IMCoreControlService::IMSecControlService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::IMCoreControlService::operator<(const ::IceProxy::IMCoreControlService::IMSecControlService& l, const ::IceProxy::IMCoreControlService::IMSecControlService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::IMCoreControlService::operator<=(const ::IceProxy::IMCoreControlService::IMSecControlService& l, const ::IceProxy::IMCoreControlService::IMSecControlService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::IMCoreControlService::operator>(const ::IceProxy::IMCoreControlService::IMSecControlService& l, const ::IceProxy::IMCoreControlService::IMSecControlService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::IMCoreControlService::operator>=(const ::IceProxy::IMCoreControlService::IMSecControlService& l, const ::IceProxy::IMCoreControlService::IMSecControlService& r) -{ - return !(l < r); -} - -bool -IceDelegateM::IMCoreControlService::IMSecControlService::filterMsg(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMCoreControlService__IMSecControlService__filterMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fromid); - __os->write(toid); - __os->write(actdgree); - __os->write(ip); - __os->write(msg); - ::IMCoreControlService::__write(__os, extraattrs, ::IMCoreControlService::__U__KVPair()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - bool __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -bool -IceDelegateM::IMCoreControlService::IMSecControlService::filterMsg2(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, ::std::string& newmsg, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMCoreControlService__IMSecControlService__filterMsg2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fromid); - __os->write(toid); - __os->write(actdgree); - __os->write(ip); - __os->write(msg); - ::IMCoreControlService::__write(__os, extraattrs, ::IMCoreControlService::__U__KVPair()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - bool __ret; - __is->read(newmsg); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -bool -IceDelegateM::IMCoreControlService::IMSecControlService::filterMsgByFlag(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, const ::std::string& checkmap, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMCoreControlService__IMSecControlService__filterMsgByFlag_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fromid); - __os->write(toid); - __os->write(actdgree); - __os->write(ip); - __os->write(msg); - ::IMCoreControlService::__write(__os, extraattrs, ::IMCoreControlService::__U__KVPair()); - __os->write(checkmap); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - bool __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -bool -IceDelegateM::IMCoreControlService::IMSecControlService::checkOPAccess(const ::std::string& uid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& packdata, const ::IMCoreControlService::KVPair& extraattrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMCoreControlService__IMSecControlService__checkOPAccess_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(actdgree); - __os->write(ip); - __os->write(packdata); - ::IMCoreControlService::__write(__os, extraattrs, ::IMCoreControlService::__U__KVPair()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - bool __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -void -IceDelegateM::IMCoreControlService::IMSecControlService::writeAQLog(const ::std::string& data, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMCoreControlService__IMSecControlService__writeAQLog_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(data); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -bool -IceDelegateM::IMCoreControlService::IMSecControlService::checkControlAccess(const ::std::string& uid, ::Ice::Int actdegree, const ::std::string& ip, const ::std::string& version, ::Ice::Int checktype, const ::IMCoreControlService::KVPair& extraattrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMCoreControlService__IMSecControlService__checkControlAccess_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(actdegree); - __os->write(ip); - __os->write(version); - __os->write(checktype); - ::IMCoreControlService::__write(__os, extraattrs, ::IMCoreControlService::__U__KVPair()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - bool __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -bool -IceDelegateD::IMCoreControlService::IMSecControlService::filterMsg(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMCoreControlService__IMSecControlService__filterMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - bool __ret; - try - { - ::IMCoreControlService::IMSecControlService* __servant = dynamic_cast< ::IMCoreControlService::IMSecControlService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->filterMsg(fromid, toid, actdgree, ip, msg, extraattrs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -bool -IceDelegateD::IMCoreControlService::IMSecControlService::filterMsg2(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, ::std::string& newmsg, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMCoreControlService__IMSecControlService__filterMsg2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - bool __ret; - try - { - ::IMCoreControlService::IMSecControlService* __servant = dynamic_cast< ::IMCoreControlService::IMSecControlService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->filterMsg2(fromid, toid, actdgree, ip, msg, extraattrs, newmsg, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -bool -IceDelegateD::IMCoreControlService::IMSecControlService::filterMsgByFlag(const ::std::string& fromid, const ::std::string& toid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& msg, const ::IMCoreControlService::KVPair& extraattrs, const ::std::string& checkmap, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMCoreControlService__IMSecControlService__filterMsgByFlag_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - bool __ret; - try - { - ::IMCoreControlService::IMSecControlService* __servant = dynamic_cast< ::IMCoreControlService::IMSecControlService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->filterMsgByFlag(fromid, toid, actdgree, ip, msg, extraattrs, checkmap, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -bool -IceDelegateD::IMCoreControlService::IMSecControlService::checkOPAccess(const ::std::string& uid, ::Ice::Int actdgree, const ::std::string& ip, const ::std::string& packdata, const ::IMCoreControlService::KVPair& extraattrs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMCoreControlService__IMSecControlService__checkOPAccess_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - bool __ret; - try - { - ::IMCoreControlService::IMSecControlService* __servant = dynamic_cast< ::IMCoreControlService::IMSecControlService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkOPAccess(uid, actdgree, ip, packdata, extraattrs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -void -IceDelegateD::IMCoreControlService::IMSecControlService::writeAQLog(const ::std::string& data, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMCoreControlService__IMSecControlService__writeAQLog_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - try - { - ::IMCoreControlService::IMSecControlService* __servant = dynamic_cast< ::IMCoreControlService::IMSecControlService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __servant->writeAQLog(data, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return; - } -} - -bool -IceDelegateD::IMCoreControlService::IMSecControlService::checkControlAccess(const ::std::string& uid, ::Ice::Int actdegree, const ::std::string& ip, const ::std::string& version, ::Ice::Int checktype, const ::IMCoreControlService::KVPair& extraattrs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMCoreControlService__IMSecControlService__checkControlAccess_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - bool __ret; - try - { - ::IMCoreControlService::IMSecControlService* __servant = dynamic_cast< ::IMCoreControlService::IMSecControlService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkControlAccess(uid, actdegree, ip, version, checktype, extraattrs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -IMCoreControlService::IMSecControlService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __IMCoreControlService__IMSecControlService_ids[2] = -{ - "::IMCoreControlService::IMSecControlService", - "::Ice::Object" -}; - -bool -IMCoreControlService::IMSecControlService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__IMCoreControlService__IMSecControlService_ids, __IMCoreControlService__IMSecControlService_ids + 2, _s); -} - -::std::vector< ::std::string> -IMCoreControlService::IMSecControlService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__IMCoreControlService__IMSecControlService_ids[0], &__IMCoreControlService__IMSecControlService_ids[2]); -} - -const ::std::string& -IMCoreControlService::IMSecControlService::ice_id(const ::Ice::Current&) const -{ - return __IMCoreControlService__IMSecControlService_ids[0]; -} - -const ::std::string& -IMCoreControlService::IMSecControlService::ice_staticId() -{ - return __IMCoreControlService__IMSecControlService_ids[0]; -} - -::IceInternal::DispatchStatus -IMCoreControlService::IMSecControlService::___filterMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string fromid; - ::std::string toid; - ::Ice::Int actdgree; - ::std::string ip; - ::std::string msg; - ::IMCoreControlService::KVPair extraattrs; - __is->read(fromid); - __is->read(toid); - __is->read(actdgree); - __is->read(ip); - __is->read(msg); - ::IMCoreControlService::__read(__is, extraattrs, ::IMCoreControlService::__U__KVPair()); - bool __ret = filterMsg(fromid, toid, actdgree, ip, msg, extraattrs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMCoreControlService::IMSecControlService::___filterMsg2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string fromid; - ::std::string toid; - ::Ice::Int actdgree; - ::std::string ip; - ::std::string msg; - ::IMCoreControlService::KVPair extraattrs; - __is->read(fromid); - __is->read(toid); - __is->read(actdgree); - __is->read(ip); - __is->read(msg); - ::IMCoreControlService::__read(__is, extraattrs, ::IMCoreControlService::__U__KVPair()); - ::std::string newmsg; - bool __ret = filterMsg2(fromid, toid, actdgree, ip, msg, extraattrs, newmsg, __current); - __os->write(newmsg); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMCoreControlService::IMSecControlService::___filterMsgByFlag(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string fromid; - ::std::string toid; - ::Ice::Int actdgree; - ::std::string ip; - ::std::string msg; - ::IMCoreControlService::KVPair extraattrs; - ::std::string checkmap; - __is->read(fromid); - __is->read(toid); - __is->read(actdgree); - __is->read(ip); - __is->read(msg); - ::IMCoreControlService::__read(__is, extraattrs, ::IMCoreControlService::__U__KVPair()); - __is->read(checkmap); - bool __ret = filterMsgByFlag(fromid, toid, actdgree, ip, msg, extraattrs, checkmap, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMCoreControlService::IMSecControlService::___checkOPAccess(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int actdgree; - ::std::string ip; - ::std::string packdata; - ::IMCoreControlService::KVPair extraattrs; - __is->read(uid); - __is->read(actdgree); - __is->read(ip); - __is->read(packdata); - ::IMCoreControlService::__read(__is, extraattrs, ::IMCoreControlService::__U__KVPair()); - bool __ret = checkOPAccess(uid, actdgree, ip, packdata, extraattrs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMCoreControlService::IMSecControlService::___writeAQLog(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::std::string data; - __is->read(data); - writeAQLog(data, __current); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMCoreControlService::IMSecControlService::___checkControlAccess(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int actdegree; - ::std::string ip; - ::std::string version; - ::Ice::Int checktype; - ::IMCoreControlService::KVPair extraattrs; - __is->read(uid); - __is->read(actdegree); - __is->read(ip); - __is->read(version); - __is->read(checktype); - ::IMCoreControlService::__read(__is, extraattrs, ::IMCoreControlService::__U__KVPair()); - bool __ret = checkControlAccess(uid, actdegree, ip, version, checktype, extraattrs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __IMCoreControlService__IMSecControlService_all[] = -{ - "checkControlAccess", - "checkOPAccess", - "filterMsg", - "filterMsg2", - "filterMsgByFlag", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "writeAQLog" -}; - -::IceInternal::DispatchStatus -IMCoreControlService::IMSecControlService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__IMCoreControlService__IMSecControlService_all, __IMCoreControlService__IMSecControlService_all + 10, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __IMCoreControlService__IMSecControlService_all) - { - case 0: - { - return ___checkControlAccess(in, current); - } - case 1: - { - return ___checkOPAccess(in, current); - } - case 2: - { - return ___filterMsg(in, current); - } - case 3: - { - return ___filterMsg2(in, current); - } - case 4: - { - return ___filterMsgByFlag(in, current); - } - case 5: - { - return ___ice_id(in, current); - } - case 6: - { - return ___ice_ids(in, current); - } - case 7: - { - return ___ice_isA(in, current); - } - case 8: - { - return ___ice_ping(in, current); - } - case 9: - { - return ___writeAQLog(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -IMCoreControlService::IMSecControlService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -IMCoreControlService::IMSecControlService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -IMCoreControlService::IMSecControlService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type IMCoreControlService::IMSecControlService was not generated with stream support"; - throw ex; -} - -void -IMCoreControlService::IMSecControlService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type IMCoreControlService::IMSecControlService was not generated with stream support"; - throw ex; -} - -void -IMCoreControlService::__patch__IMSecControlServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::IMCoreControlService::IMSecControlServicePtr* p = static_cast< ::IMCoreControlService::IMSecControlServicePtr*>(__addr); - assert(p); - *p = ::IMCoreControlService::IMSecControlServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::IMCoreControlService::IMSecControlService::ice_staticId(); - throw e; - } -} - -bool -IMCoreControlService::operator==(const ::IMCoreControlService::IMSecControlService& l, const ::IMCoreControlService::IMSecControlService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IMCoreControlService::operator!=(const ::IMCoreControlService::IMSecControlService& l, const ::IMCoreControlService::IMSecControlService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IMCoreControlService::operator<(const ::IMCoreControlService::IMSecControlService& l, const ::IMCoreControlService::IMSecControlService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IMCoreControlService::operator<=(const ::IMCoreControlService::IMSecControlService& l, const ::IMCoreControlService::IMSecControlService& r) -{ - return l < r || l == r; -} - -bool -IMCoreControlService::operator>(const ::IMCoreControlService::IMSecControlService& l, const ::IMCoreControlService::IMSecControlService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IMCoreControlService::operator>=(const ::IMCoreControlService::IMSecControlService& l, const ::IMCoreControlService::IMSecControlService& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/imicecommstruct.cpp b/features/aliww/source/imicecommstruct.cpp deleted file mode 100644 index e953792..0000000 --- a/features/aliww/source/imicecommstruct.cpp +++ /dev/null @@ -1,285 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `imicecommstruct.ice' - -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -void -AliIMInterface::__write(::IceInternal::BasicStream* __os, const ::AliIMInterface::KVMAP& v, ::AliIMInterface::__U__KVMAP) -{ - __os->writeSize(::Ice::Int(v.size())); - ::AliIMInterface::KVMAP::const_iterator p; - for(p = v.begin(); p != v.end(); ++p) - { - __os->write(p->first); - __os->write(p->second); - } -} - -void -AliIMInterface::__read(::IceInternal::BasicStream* __is, ::AliIMInterface::KVMAP& v, ::AliIMInterface::__U__KVMAP) -{ - ::Ice::Int sz; - __is->readSize(sz); - while(sz--) - { - ::std::pair pair; - __is->read(const_cast< ::std::string&>(pair.first)); - ::AliIMInterface::KVMAP::iterator __i = v.insert(v.end(), pair); - __is->read(__i->second); - } -} - -bool -AliIMInterface::SWebBindId::operator==(const SWebBindId& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMInterface::SWebBindId::operator!=(const SWebBindId& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(prefix != __rhs.prefix) - { - return true; - } - if(webid != __rhs.webid) - { - return true; - } - if(bIMBind != __rhs.bIMBind) - { - return true; - } - return false; -} - -bool -AliIMInterface::SWebBindId::operator<(const SWebBindId& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(prefix < __rhs.prefix) - { - return true; - } - else if(__rhs.prefix < prefix) - { - return false; - } - if(webid < __rhs.webid) - { - return true; - } - else if(__rhs.webid < webid) - { - return false; - } - if(bIMBind < __rhs.bIMBind) - { - return true; - } - else if(__rhs.bIMBind < bIMBind) - { - return false; - } - return false; -} - -void -AliIMInterface::SWebBindId::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(prefix); - __os->write(webid); - __os->write(bIMBind); -} - -void -AliIMInterface::SWebBindId::__read(::IceInternal::BasicStream* __is) -{ - __is->read(prefix); - __is->read(webid); - __is->read(bIMBind); -} - -void -AliIMInterface::__write(::IceInternal::BasicStream* __os, const ::AliIMInterface::SWebBindId* begin, const ::AliIMInterface::SWebBindId* end, ::AliIMInterface::__U__SWebBindIdSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMInterface::__read(::IceInternal::BasicStream* __is, ::AliIMInterface::SWebBindIdSeq& v, ::AliIMInterface::__U__SWebBindIdSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 3); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -AliIMInterface::SWanghaoWebBindId::operator==(const SWanghaoWebBindId& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIMInterface::SWanghaoWebBindId::operator!=(const SWanghaoWebBindId& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(id != __rhs.id) - { - return true; - } - if(webids != __rhs.webids) - { - return true; - } - return false; -} - -bool -AliIMInterface::SWanghaoWebBindId::operator<(const SWanghaoWebBindId& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(id < __rhs.id) - { - return true; - } - else if(__rhs.id < id) - { - return false; - } - if(webids < __rhs.webids) - { - return true; - } - else if(__rhs.webids < webids) - { - return false; - } - return false; -} - -void -AliIMInterface::SWanghaoWebBindId::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(id); - if(webids.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMInterface::__write(__os, &webids[0], &webids[0] + webids.size(), ::AliIMInterface::__U__SWebBindIdSeq()); - } -} - -void -AliIMInterface::SWanghaoWebBindId::__read(::IceInternal::BasicStream* __is) -{ - __is->read(id); - ::AliIMInterface::__read(__is, webids, ::AliIMInterface::__U__SWebBindIdSeq()); -} - -void -AliIMInterface::__write(::IceInternal::BasicStream* __os, const ::AliIMInterface::SWanghaoWebBindId* begin, const ::AliIMInterface::SWanghaoWebBindId* end, ::AliIMInterface::__U__SWanghaoWebBindIdSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIMInterface::__read(::IceInternal::BasicStream* __is, ::AliIMInterface::SWanghaoWebBindIdSeq& v, ::AliIMInterface::__U__SWanghaoWebBindIdSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 2); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIMInterface::__write(::IceInternal::BasicStream* __os, const ::AliIMInterface::KVMAP* begin, const ::AliIMInterface::KVMAP* end, ::AliIMInterface::__U__KVMAPSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - ::AliIMInterface::__write(__os, begin[i], ::AliIMInterface::__U__KVMAP()); - } -} - -void -AliIMInterface::__read(::IceInternal::BasicStream* __is, ::AliIMInterface::KVMAPSeq& v, ::AliIMInterface::__U__KVMAPSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 1); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - ::AliIMInterface::__read(__is, v[i], ::AliIMInterface::__U__KVMAP()); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} diff --git a/features/aliww/source/ims_ice_service.cpp b/features/aliww/source/ims_ice_service.cpp deleted file mode 100644 index 1ff0bc4..0000000 --- a/features/aliww/source/ims_ice_service.cpp +++ /dev/null @@ -1,8178 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `ims_ice_service.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __IMSINNER__IMSICEService__getLastVisit_name = "getLastVisit"; - -static const ::std::string __IMSINNER__IMSICEService__setShareContact_name = "setShareContact"; - -static const ::std::string __IMSINNER__IMSICEService__clearLastVisit_name = "clearLastVisit"; - -static const ::std::string __IMSINNER__IMSICEService__getLastVisitEx_name = "getLastVisitEx"; - -static const ::std::string __IMSINNER__IMSICEService__HmsLogin_name = "HmsLogin"; - -static const ::std::string __IMSINNER__IMSICEService__getWorkingBuddy_name = "getWorkingBuddy"; - -static const ::std::string __IMSINNER__IMSICEService__setWaiterDenyService_name = "setWaiterDenyService"; - -static const ::std::string __IMSINNER__IMSICEService__setLastVisit_name = "setLastVisit"; - -static const ::std::string __IMSINNER__IMSICEService__setLastVisitandSrvnum_name = "setLastVisitandSrvnum"; - -static const ::std::string __IMSINNER__IMSICEService__HmsLogin6_name = "HmsLogin6"; - -static const ::std::string __IMSINNER__IMSICEService__setWaiterServerID_name = "setWaiterServerID"; - -static const ::std::string __IMSINNER__IMSICEService__isFakeOnline_name = "isFakeOnline"; - -static const ::std::string __IMSINNER__IMSICEService__setWaiterStatus_name = "setWaiterStatus"; - -static const ::std::string __IMSINNER__IMSICEService__getHelperstatus_name = "getHelperstatus"; - -static const ::std::string __IMSINNER__IMSICEService__getOfflineHelpers_name = "getOfflineHelpers"; - -static const ::std::string __IMSINNER__IMSICEService__getAllOtherHelpers_name = "getAllOtherHelpers"; - -static const ::std::string __IMSINNER__IMSICEService__setMaxServiceNum_name = "setMaxServiceNum"; - -static const ::std::string __IMSINNER__IMSICEService__chgATMHelpersServiceNum_name = "chgATMHelpersServiceNum"; - -static const ::std::string __IMSINNER__IMSICEService__HmsLoginOff_name = "HmsLoginOff"; - -static const ::std::string __IMSINNER__IMSICEService__HmsLoginOff6_name = "HmsLoginOff6"; - -static const ::std::string __IMSINNER__IMSICEService__getBuddyStatus_name = "getBuddyStatus"; - -static const ::std::string __IMSINNER__IMSICEService__EHmsLogin6_name = "EHmsLogin6"; - -static const ::std::string __IMSINNER__IMSICEService__getBuddyStatus6_name = "getBuddyStatus6"; - -static const ::std::string __IMSINNER__IMSICEService__getForWardList_name = "getForWardList"; - -static const ::std::string __IMSINNER__IMSICEService__forWardServiceUser_name = "forWardServiceUser"; - -static const ::std::string __IMSINNER__IMSICEService__closeHMSSession_name = "closeHMSSession"; - -static const ::std::string __IMSINNER__IMSICEService__NotifyHMSMsg_name = "NotifyHMSMsg"; - -static const ::std::string __IMSINNER__IMSICEService__SendHMSMsg_name = "SendHMSMsg"; - -static const ::std::string __IMSINNER__IMSICEService__changeUserStatus_name = "changeUserStatus"; - -static const ::std::string __IMSINNER__IMSICEService__getESShuntStatus_name = "getESShuntStatus"; - -static const ::std::string __IMSINNER__IMSICEService__setESShuntStatus_name = "setESShuntStatus"; - -static const ::std::string __IMSINNER__IMSICEService__getMaxESReceptNum_name = "getMaxESReceptNum"; - -static const ::std::string __IMSINNER__IMSICEService__setMaxESReceptNum_name = "setMaxESReceptNum"; - -static const ::std::string __IMSINNER__IMSICEService__getESPriority_name = "getESPriority"; - -static const ::std::string __IMSINNER__IMSICEService__setESPriority_name = "setESPriority"; - -static const ::std::string __IMSINNER__IMSICEService__getESRecvOffMsg_name = "getESRecvOffMsg"; - -static const ::std::string __IMSINNER__IMSICEService__setESRecvOffMsg_name = "setESRecvOffMsg"; - -static const ::std::string __IMSINNER__IMSICEService__getESGroupList_name = "getESGroupList"; - -static const ::std::string __IMSINNER__IMSICEService__insertESGroupInfo_name = "insertESGroupInfo"; - -static const ::std::string __IMSINNER__IMSICEService__updateESGroupInfo_name = "updateESGroupInfo"; - -static const ::std::string __IMSINNER__IMSICEService__delESGroup_name = "delESGroup"; - -static const ::std::string __IMSINNER__IMSICEService__getESGroupInfo_name = "getESGroupInfo"; - -static const ::std::string __IMSINNER__IMSICEService__getESGroupInfoByID_name = "getESGroupInfoByID"; - -static const ::std::string __IMSINNER__IMSICEService__getESUnJoinGroup_name = "getESUnJoinGroup"; - -static const ::std::string __IMSINNER__IMSICEService__getESReceptList_name = "getESReceptList"; - -static const ::std::string __IMSINNER__IMSICEService__checkESRole_name = "checkESRole"; - -static const ::std::string __IMSINNER__IMSICEService__getChildShuntInfos_name = "getChildShuntInfos"; - -static const ::std::string __IMSINNER__IMSICEService__setChildShuntInfos_name = "setChildShuntInfos"; - -static const ::std::string __IMSINNER__IMSICEService__getAgentChild_name = "getAgentChild"; - -static const ::std::string __IMSINNER__IMSICEService__setAgentChild_name = "setAgentChild"; - -static const ::std::string __IMSINNER__IMSICEService__getAgentList_name = "getAgentList"; - -static const ::std::string __IMSINNER__IMSICEService__helperMsg_name = "helperMsg"; - -void -IceInternal::incRef(::IMSINNER::IMSICEService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IMSINNER::IMSICEService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::IMSINNER::IMSICEService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::IMSINNER::IMSICEService* p) -{ - p->__decRef(); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::IMSICEServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::IMSICEServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::IMSINNER::IMSICEService; - v->__copyFrom(proxy); - } -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::IMSICEServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -IMSINNER::SHMSBuddyStatus::operator==(const SHMSBuddyStatus& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SHMSBuddyStatus::operator!=(const SHMSBuddyStatus& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(onlinestatus != __rhs.onlinestatus) - { - return true; - } - if(servicestatus != __rhs.servicestatus) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(totalnum != __rhs.totalnum) - { - return true; - } - if(daynum != __rhs.daynum) - { - return true; - } - return false; -} - -bool -IMSINNER::SHMSBuddyStatus::operator<(const SHMSBuddyStatus& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(onlinestatus < __rhs.onlinestatus) - { - return true; - } - else if(__rhs.onlinestatus < onlinestatus) - { - return false; - } - if(servicestatus < __rhs.servicestatus) - { - return true; - } - else if(__rhs.servicestatus < servicestatus) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(totalnum < __rhs.totalnum) - { - return true; - } - else if(__rhs.totalnum < totalnum) - { - return false; - } - if(daynum < __rhs.daynum) - { - return true; - } - else if(__rhs.daynum < daynum) - { - return false; - } - return false; -} - -void -IMSINNER::SHMSBuddyStatus::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(onlinestatus); - __os->write(servicestatus); - __os->write(status); - __os->write(totalnum); - __os->write(daynum); -} - -void -IMSINNER::SHMSBuddyStatus::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(onlinestatus); - __is->read(servicestatus); - __is->read(status); - __is->read(totalnum); - __is->read(daynum); -} - -bool -IMSINNER::SHMSBuddyStatus6::operator==(const SHMSBuddyStatus6& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SHMSBuddyStatus6::operator!=(const SHMSBuddyStatus6& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(childid != __rhs.childid) - { - return true; - } - if(childnick != __rhs.childnick) - { - return true; - } - if(basicstatus != __rhs.basicstatus) - { - return true; - } - if(predefstatus != __rhs.predefstatus) - { - return true; - } - if(servicestatus != __rhs.servicestatus) - { - return true; - } - if(maxservice != __rhs.maxservice) - { - return true; - } - if(curservice != __rhs.curservice) - { - return true; - } - if(version != __rhs.version) - { - return true; - } - return false; -} - -bool -IMSINNER::SHMSBuddyStatus6::operator<(const SHMSBuddyStatus6& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(childid < __rhs.childid) - { - return true; - } - else if(__rhs.childid < childid) - { - return false; - } - if(childnick < __rhs.childnick) - { - return true; - } - else if(__rhs.childnick < childnick) - { - return false; - } - if(basicstatus < __rhs.basicstatus) - { - return true; - } - else if(__rhs.basicstatus < basicstatus) - { - return false; - } - if(predefstatus < __rhs.predefstatus) - { - return true; - } - else if(__rhs.predefstatus < predefstatus) - { - return false; - } - if(servicestatus < __rhs.servicestatus) - { - return true; - } - else if(__rhs.servicestatus < servicestatus) - { - return false; - } - if(maxservice < __rhs.maxservice) - { - return true; - } - else if(__rhs.maxservice < maxservice) - { - return false; - } - if(curservice < __rhs.curservice) - { - return true; - } - else if(__rhs.curservice < curservice) - { - return false; - } - if(version < __rhs.version) - { - return true; - } - else if(__rhs.version < version) - { - return false; - } - return false; -} - -void -IMSINNER::SHMSBuddyStatus6::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(childid); - __os->write(childnick); - __os->write(basicstatus); - __os->write(predefstatus); - __os->write(servicestatus); - __os->write(maxservice); - __os->write(curservice); - __os->write(version); -} - -void -IMSINNER::SHMSBuddyStatus6::__read(::IceInternal::BasicStream* __is) -{ - __is->read(childid); - __is->read(childnick); - __is->read(basicstatus); - __is->read(predefstatus); - __is->read(servicestatus); - __is->read(maxservice); - __is->read(curservice); - __is->read(version); -} - -bool -IMSINNER::SICEReceptNum::operator==(const SICEReceptNum& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SICEReceptNum::operator!=(const SICEReceptNum& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid != __rhs.eserviceid) - { - return true; - } - if(receptnum != __rhs.receptnum) - { - return true; - } - return false; -} - -bool -IMSINNER::SICEReceptNum::operator<(const SICEReceptNum& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid < __rhs.eserviceid) - { - return true; - } - else if(__rhs.eserviceid < eserviceid) - { - return false; - } - if(receptnum < __rhs.receptnum) - { - return true; - } - else if(__rhs.receptnum < receptnum) - { - return false; - } - return false; -} - -void -IMSINNER::SICEReceptNum::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(eserviceid); - __os->write(receptnum); -} - -void -IMSINNER::SICEReceptNum::__read(::IceInternal::BasicStream* __is) -{ - __is->read(eserviceid); - __is->read(receptnum); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SICEReceptNum* begin, const ::IMSINNER::SICEReceptNum* end, ::IMSINNER::__U__SICEReceptNumSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SICEReceptNumSeq& v, ::IMSINNER::__U__SICEReceptNumSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 5); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -IMSINNER::SICEReceptStatus::operator==(const SICEReceptStatus& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SICEReceptStatus::operator!=(const SICEReceptStatus& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid != __rhs.eserviceid) - { - return true; - } - if(receptnumNow != __rhs.receptnumNow) - { - return true; - } - if(receptnumMax != __rhs.receptnumMax) - { - return true; - } - if(receptnumDaily != __rhs.receptnumDaily) - { - return true; - } - return false; -} - -bool -IMSINNER::SICEReceptStatus::operator<(const SICEReceptStatus& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid < __rhs.eserviceid) - { - return true; - } - else if(__rhs.eserviceid < eserviceid) - { - return false; - } - if(receptnumNow < __rhs.receptnumNow) - { - return true; - } - else if(__rhs.receptnumNow < receptnumNow) - { - return false; - } - if(receptnumMax < __rhs.receptnumMax) - { - return true; - } - else if(__rhs.receptnumMax < receptnumMax) - { - return false; - } - if(receptnumDaily < __rhs.receptnumDaily) - { - return true; - } - else if(__rhs.receptnumDaily < receptnumDaily) - { - return false; - } - return false; -} - -void -IMSINNER::SICEReceptStatus::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(eserviceid); - __os->write(receptnumNow); - __os->write(receptnumMax); - __os->write(receptnumDaily); -} - -void -IMSINNER::SICEReceptStatus::__read(::IceInternal::BasicStream* __is) -{ - __is->read(eserviceid); - __is->read(receptnumNow); - __is->read(receptnumMax); - __is->read(receptnumDaily); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SICEReceptStatus* begin, const ::IMSINNER::SICEReceptStatus* end, ::IMSINNER::__U__SICEReceptStatusSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SICEReceptStatusSeq& v, ::IMSINNER::__U__SICEReceptStatusSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 13); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -IMSINNER::SICEReceptPriority::operator==(const SICEReceptPriority& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SICEReceptPriority::operator!=(const SICEReceptPriority& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid != __rhs.eserviceid) - { - return true; - } - if(receptpriority != __rhs.receptpriority) - { - return true; - } - return false; -} - -bool -IMSINNER::SICEReceptPriority::operator<(const SICEReceptPriority& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid < __rhs.eserviceid) - { - return true; - } - else if(__rhs.eserviceid < eserviceid) - { - return false; - } - if(receptpriority < __rhs.receptpriority) - { - return true; - } - else if(__rhs.receptpriority < receptpriority) - { - return false; - } - return false; -} - -void -IMSINNER::SICEReceptPriority::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(eserviceid); - __os->write(receptpriority); -} - -void -IMSINNER::SICEReceptPriority::__read(::IceInternal::BasicStream* __is) -{ - __is->read(eserviceid); - __is->read(receptpriority); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SICEReceptPriority* begin, const ::IMSINNER::SICEReceptPriority* end, ::IMSINNER::__U__SICEReceptPrioritySeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SICEReceptPrioritySeq& v, ::IMSINNER::__U__SICEReceptPrioritySeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 5); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -IMSINNER::SICERecvOffMsg::operator==(const SICERecvOffMsg& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SICERecvOffMsg::operator!=(const SICERecvOffMsg& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid != __rhs.eserviceid) - { - return true; - } - if(recvoffmsg != __rhs.recvoffmsg) - { - return true; - } - return false; -} - -bool -IMSINNER::SICERecvOffMsg::operator<(const SICERecvOffMsg& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(eserviceid < __rhs.eserviceid) - { - return true; - } - else if(__rhs.eserviceid < eserviceid) - { - return false; - } - if(recvoffmsg < __rhs.recvoffmsg) - { - return true; - } - else if(__rhs.recvoffmsg < recvoffmsg) - { - return false; - } - return false; -} - -void -IMSINNER::SICERecvOffMsg::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(eserviceid); - __os->write(recvoffmsg); -} - -void -IMSINNER::SICERecvOffMsg::__read(::IceInternal::BasicStream* __is) -{ - __is->read(eserviceid); - __is->read(recvoffmsg); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SICERecvOffMsg* begin, const ::IMSINNER::SICERecvOffMsg* end, ::IMSINNER::__U__SICERecvOffMsgSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SICERecvOffMsgSeq& v, ::IMSINNER::__U__SICERecvOffMsgSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 5); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -IMSINNER::SICEESGroupInfo::operator==(const SICEESGroupInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SICEESGroupInfo::operator!=(const SICEESGroupInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupName != __rhs.groupName) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(adminId != __rhs.adminId) - { - return true; - } - if(eservicelist != __rhs.eservicelist) - { - return true; - } - return false; -} - -bool -IMSINNER::SICEESGroupInfo::operator<(const SICEESGroupInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupName < __rhs.groupName) - { - return true; - } - else if(__rhs.groupName < groupName) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(adminId < __rhs.adminId) - { - return true; - } - else if(__rhs.adminId < adminId) - { - return false; - } - if(eservicelist < __rhs.eservicelist) - { - return true; - } - else if(__rhs.eservicelist < eservicelist) - { - return false; - } - return false; -} - -void -IMSINNER::SICEESGroupInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(groupName); - __os->write(groupId); - __os->write(adminId); - if(eservicelist.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&eservicelist[0], &eservicelist[0] + eservicelist.size()); - } -} - -void -IMSINNER::SICEESGroupInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(groupName); - __is->read(groupId); - __is->read(adminId); - __is->read(eservicelist); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SICEESGroupInfo* begin, const ::IMSINNER::SICEESGroupInfo* end, ::IMSINNER::__U__SICEESGroupInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SICEESGroupInfoSeq& v, ::IMSINNER::__U__SICEESGroupInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 7); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -IMSINNER::SICEBaseGroupInfo::operator==(const SICEBaseGroupInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SICEBaseGroupInfo::operator!=(const SICEBaseGroupInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupName != __rhs.groupName) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(adminId != __rhs.adminId) - { - return true; - } - return false; -} - -bool -IMSINNER::SICEBaseGroupInfo::operator<(const SICEBaseGroupInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupName < __rhs.groupName) - { - return true; - } - else if(__rhs.groupName < groupName) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(adminId < __rhs.adminId) - { - return true; - } - else if(__rhs.adminId < adminId) - { - return false; - } - return false; -} - -void -IMSINNER::SICEBaseGroupInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(groupName); - __os->write(groupId); - __os->write(adminId); -} - -void -IMSINNER::SICEBaseGroupInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(groupName); - __is->read(groupId); - __is->read(adminId); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SHMSBuddyStatus* begin, const ::IMSINNER::SHMSBuddyStatus* end, ::IMSINNER::__U__SHMSBuddyStatusSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SHMSBuddyStatusSeq& v, ::IMSINNER::__U__SHMSBuddyStatusSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 17); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -IMSINNER::SICEChildShuntInfo::operator==(const SICEChildShuntInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMSINNER::SICEChildShuntInfo::operator!=(const SICEChildShuntInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(childId != __rhs.childId) - { - return true; - } - if(groupName != __rhs.groupName) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(needUseOnline != __rhs.needUseOnline) - { - return true; - } - if(shuntInfo != __rhs.shuntInfo) - { - return true; - } - return false; -} - -bool -IMSINNER::SICEChildShuntInfo::operator<(const SICEChildShuntInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(childId < __rhs.childId) - { - return true; - } - else if(__rhs.childId < childId) - { - return false; - } - if(groupName < __rhs.groupName) - { - return true; - } - else if(__rhs.groupName < groupName) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(needUseOnline < __rhs.needUseOnline) - { - return true; - } - else if(__rhs.needUseOnline < needUseOnline) - { - return false; - } - if(shuntInfo < __rhs.shuntInfo) - { - return true; - } - else if(__rhs.shuntInfo < shuntInfo) - { - return false; - } - return false; -} - -void -IMSINNER::SICEChildShuntInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(childId); - __os->write(groupName); - __os->write(groupId); - __os->write(needUseOnline); - __os->write(shuntInfo); -} - -void -IMSINNER::SICEChildShuntInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(childId); - __is->read(groupName); - __is->read(groupId); - __is->read(needUseOnline); - __is->read(shuntInfo); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SICEChildShuntInfo* begin, const ::IMSINNER::SICEChildShuntInfo* end, ::IMSINNER::__U__SICEChildShuntInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SICEChildShuntInfoSeq& v, ::IMSINNER::__U__SICEChildShuntInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 8); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -IMSINNER::__write(::IceInternal::BasicStream* __os, const ::IMSINNER::SHMSBuddyStatus6* begin, const ::IMSINNER::SHMSBuddyStatus6* end, ::IMSINNER::__U__SHMSBuddyStatusSeq6) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMSINNER::__read(::IceInternal::BasicStream* __is, ::IMSINNER::SHMSBuddyStatusSeq6& v, ::IMSINNER::__U__SHMSBuddyStatusSeq6) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 20); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -IMSINNER::__addObject(const IMSICEServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -IMSINNER::__usesClasses(const IMSICEServicePtr& p) -{ - return p->__usesClasses(); -} - -void -IMSINNER::__decRefUnsafe(const IMSICEServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -IMSINNER::__clearHandleUnsafe(IMSICEServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getLastVisit(const ::std::string& host, const ::std::string& visitor, ::std::string& hostess, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getLastVisit_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getLastVisit(host, visitor, hostess, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setShareContact(const ::std::string& uid, const ::Ice::StringSeq& cids, ::Ice::Int value, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setShareContact_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setShareContact(uid, cids, value, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::clearLastVisit(const ::std::string& host, const ::std::string& visitor, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__clearLastVisit_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->clearLastVisit(host, visitor, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getLastVisitEx(const ::std::string& host, const ::std::string& visitor, ::Ice::Int groupId, ::Ice::Int addServiceNum, ::IMSINNER::SHMSBuddyStatus6& hostess, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getLastVisitEx_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getLastVisitEx(host, visitor, groupId, addServiceNum, hostess, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::HmsLogin(const ::std::string& uid, ::Ice::StringSeq& cids, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__HmsLogin_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->HmsLogin(uid, cids, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getWorkingBuddy(const ::std::string& uid, ::Ice::StringSeq& cids, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getWorkingBuddy_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getWorkingBuddy(uid, cids, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setWaiterDenyService(const ::std::string& uid, ::Ice::Int status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setWaiterDenyService_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setWaiterDenyService(uid, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setLastVisit(const ::std::string& host, const ::std::string& visitor, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setLastVisit_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setLastVisit(host, visitor, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setLastVisitandSrvnum(const ::std::string& host, const ::std::string& visitor, ::Ice::Int srvnum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setLastVisitandSrvnum_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setLastVisitandSrvnum(host, visitor, srvnum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::HmsLogin6(const ::std::string& uid, ::Ice::Int imsid, ::Ice::StringSeq& cids, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__HmsLogin6_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->HmsLogin6(uid, imsid, cids, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setWaiterServerID(const ::std::string& uid, ::Ice::Int status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setWaiterServerID_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setWaiterServerID(uid, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::isFakeOnline(const ::std::string& uid, bool& status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__isFakeOnline_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->isFakeOnline(uid, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setWaiterStatus(const ::std::string& uid, ::Ice::Int status, ::Ice::Int imsid, bool& bneedsendfakestatus, ::Ice::Int& before, ::Ice::Int& afteronlinestatus, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setWaiterStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setWaiterStatus(uid, status, imsid, bneedsendfakestatus, before, afteronlinestatus, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getHelperstatus(const ::std::string& uid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getHelperstatus_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getHelperstatus(uid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getOfflineHelpers(const ::std::string& uid, ::Ice::StringSeq& childs, ::Ice::IntSeq& childsimsids, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getOfflineHelpers_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getOfflineHelpers(uid, childs, childsimsids, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getAllOtherHelpers(const ::std::string& uid, ::Ice::StringSeq& childs, ::Ice::IntSeq& childsimsids, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getAllOtherHelpers_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getAllOtherHelpers(uid, childs, childsimsids, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setMaxServiceNum(const ::std::string& uid, const ::std::string& childid, ::Ice::Int num, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setMaxServiceNum_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setMaxServiceNum(uid, childid, num, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::chgATMHelpersServiceNum(const ::std::string& uid, const ::std::string& childid, const ::std::string& contactid, ::Ice::Int type, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__chgATMHelpersServiceNum_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->chgATMHelpersServiceNum(uid, childid, contactid, type, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::HmsLoginOff(const ::std::string& uid, const ::std::string& childid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__HmsLoginOff_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->HmsLoginOff(uid, childid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::HmsLoginOff6(const ::std::string& uid, const ::std::string& childid, ::Ice::Int imsid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__HmsLoginOff6_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->HmsLoginOff6(uid, childid, imsid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getBuddyStatus(const ::std::string& uid, ::IMSINNER::SHMSBuddyStatusSeq& buddystatus, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getBuddyStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getBuddyStatus(uid, buddystatus, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::EHmsLogin6(const ::std::string& uid, const ::std::string& fid, ::Ice::Int imsid, ::Ice::Int logintype, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__EHmsLogin6_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->EHmsLogin6(uid, fid, imsid, logintype, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getBuddyStatus6(const ::std::string& uid, const ::std::string& fid, ::IMSINNER::SHMSBuddyStatusSeq6& buddystatus, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getBuddyStatus6_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getBuddyStatus6(uid, fid, buddystatus, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getForWardList(const ::std::string& uid, const ::std::string& fid, ::IMSINNER::SHMSBuddyStatusSeq6& buddystatus, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getForWardList_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getForWardList(uid, fid, buddystatus, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::forWardServiceUser(const ::std::string& uid, const ::std::string& fid, const ::std::string& conatctid, const ::std::string& tochildid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__forWardServiceUser_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->forWardServiceUser(uid, fid, conatctid, tochildid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::closeHMSSession(const ::std::string& uid, const ::std::string& fid, const ::std::string& conatctid, ::Ice::Int type, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__closeHMSSession_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->closeHMSSession(uid, fid, conatctid, type, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::NotifyHMSMsg(const ::std::string& fromid, const ::std::string& uid, ::Ice::Int srvid, ::Ice::Int type, const ::std::string& msg, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__NotifyHMSMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->NotifyHMSMsg(fromid, uid, srvid, type, msg, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::SendHMSMsg(const ::std::string& fid, const ::std::string& uid, const ::std::string& conatctid, ::Ice::Int srvid, ::Ice::Int type, const ::std::string& msg, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__SendHMSMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->SendHMSMsg(fid, uid, conatctid, srvid, type, msg, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::changeUserStatus(const ::std::string& uid, ::Ice::Int Stauts, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__changeUserStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->changeUserStatus(uid, Stauts, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getESShuntStatus(const ::std::string& uid, ::std::string& shunt, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getESShuntStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getESShuntStatus(uid, shunt, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setESShuntStatus(const ::std::string& uid, const ::std::string& shunt, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setESShuntStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setESShuntStatus(uid, shunt, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptNumSeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getMaxESReceptNum_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getMaxESReceptNum(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICEReceptNumSeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setMaxESReceptNum_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setMaxESReceptNum(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getESPriority(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getESPriority_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getESPriority(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setESPriority(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setESPriority_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setESPriority(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getESRecvOffMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getESRecvOffMsg(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setESRecvOffMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setESRecvOffMsg(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getESGroupList(const ::std::string& uid, ::Ice::IntSeq& groupList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getESGroupList_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getESGroupList(uid, groupList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::insertESGroupInfo(const ::std::string& uid, const ::IMSINNER::SICEESGroupInfo& groupInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__insertESGroupInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->insertESGroupInfo(uid, groupInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::updateESGroupInfo(const ::std::string& uid, const ::IMSINNER::SICEESGroupInfo& group, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__updateESGroupInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->updateESGroupInfo(uid, group, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::delESGroup(const ::std::string& uid, ::Ice::Int groupid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__delESGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->delESGroup(uid, groupid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getESGroupInfo(const ::std::string& uid, ::IMSINNER::SICEESGroupInfoSeq& groupList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getESGroupInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getESGroupInfo(uid, groupList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getESGroupInfoByID(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEESGroupInfo& groupInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getESGroupInfoByID_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getESGroupInfoByID(uid, groupId, groupInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getESUnJoinGroup(const ::std::string& uid, ::Ice::StringSeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getESUnJoinGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getESUnJoinGroup(uid, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getESReceptList(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptStatusSeq& eserviceList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getESReceptList_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getESReceptList(uid, groupId, eserviceList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::checkESRole(const ::std::string& uid, ::Ice::Int& groupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__checkESRole_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->checkESRole(uid, groupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getChildShuntInfos(const ::std::string& uid, ::IMSINNER::SICEChildShuntInfoSeq& childInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getChildShuntInfos_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getChildShuntInfos(uid, childInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setChildShuntInfos(const ::std::string& uid, const ::IMSINNER::SICEChildShuntInfoSeq& childInfos, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setChildShuntInfos_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setChildShuntInfos(uid, childInfos, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getAgentChild(const ::std::string& uid, ::std::string& agentId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getAgentChild_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getAgentChild(uid, agentId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::setAgentChild(const ::std::string& uid, const ::std::string& agentId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__setAgentChild_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->setAgentChild(uid, agentId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::getAgentList(const ::std::string& uid, ::Ice::StringSeq& agentIds, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__getAgentList_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->getAgentList(uid, agentIds, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMSINNER::IMSICEService::helperMsg(const ::std::string& uid, const ::std::string& targetUid, const ::std::string& message, ::Ice::Int originalSid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMSINNER__IMSICEService__helperMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::IMSINNER::IMSICEService* __del = dynamic_cast< ::IceDelegate::IMSINNER::IMSICEService*>(__delBase.get()); - return __del->helperMsg(uid, targetUid, message, originalSid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::IMSINNER::IMSICEService::ice_staticId() -{ - return ::IMSINNER::IMSICEService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::IMSINNER::IMSICEService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::IMSINNER::IMSICEService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::IMSINNER::IMSICEService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::IMSINNER::IMSICEService); -} - -bool -IceProxy::IMSINNER::operator==(const ::IceProxy::IMSINNER::IMSICEService& l, const ::IceProxy::IMSINNER::IMSICEService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::IMSINNER::operator!=(const ::IceProxy::IMSINNER::IMSICEService& l, const ::IceProxy::IMSINNER::IMSICEService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::IMSINNER::operator<(const ::IceProxy::IMSINNER::IMSICEService& l, const ::IceProxy::IMSINNER::IMSICEService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::IMSINNER::operator<=(const ::IceProxy::IMSINNER::IMSICEService& l, const ::IceProxy::IMSINNER::IMSICEService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::IMSINNER::operator>(const ::IceProxy::IMSINNER::IMSICEService& l, const ::IceProxy::IMSINNER::IMSICEService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::IMSINNER::operator>=(const ::IceProxy::IMSINNER::IMSICEService& l, const ::IceProxy::IMSINNER::IMSICEService& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getLastVisit(const ::std::string& host, const ::std::string& visitor, ::std::string& hostess, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getLastVisit_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(host); - __os->write(visitor); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(hostess); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setShareContact(const ::std::string& uid, const ::Ice::StringSeq& cids, ::Ice::Int value, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setShareContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - if(cids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&cids[0], &cids[0] + cids.size()); - } - __os->write(value); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::clearLastVisit(const ::std::string& host, const ::std::string& visitor, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__clearLastVisit_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(host); - __os->write(visitor); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getLastVisitEx(const ::std::string& host, const ::std::string& visitor, ::Ice::Int groupId, ::Ice::Int addServiceNum, ::IMSINNER::SHMSBuddyStatus6& hostess, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getLastVisitEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(host); - __os->write(visitor); - __os->write(groupId); - __os->write(addServiceNum); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - hostess.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::HmsLogin(const ::std::string& uid, ::Ice::StringSeq& cids, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__HmsLogin_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(cids); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getWorkingBuddy(const ::std::string& uid, ::Ice::StringSeq& cids, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getWorkingBuddy_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(cids); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setWaiterDenyService(const ::std::string& uid, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setWaiterDenyService_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(status); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setLastVisit(const ::std::string& host, const ::std::string& visitor, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setLastVisit_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(host); - __os->write(visitor); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setLastVisitandSrvnum(const ::std::string& host, const ::std::string& visitor, ::Ice::Int srvnum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setLastVisitandSrvnum_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(host); - __os->write(visitor); - __os->write(srvnum); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::HmsLogin6(const ::std::string& uid, ::Ice::Int imsid, ::Ice::StringSeq& cids, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__HmsLogin6_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(imsid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(cids); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setWaiterServerID(const ::std::string& uid, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setWaiterServerID_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(status); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::isFakeOnline(const ::std::string& uid, bool& status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__isFakeOnline_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(status); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setWaiterStatus(const ::std::string& uid, ::Ice::Int status, ::Ice::Int imsid, bool& bneedsendfakestatus, ::Ice::Int& before, ::Ice::Int& afteronlinestatus, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setWaiterStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(status); - __os->write(imsid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(bneedsendfakestatus); - __is->read(before); - __is->read(afteronlinestatus); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getHelperstatus(const ::std::string& uid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getHelperstatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getOfflineHelpers(const ::std::string& uid, ::Ice::StringSeq& childs, ::Ice::IntSeq& childsimsids, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getOfflineHelpers_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(childs); - __is->read(childsimsids); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getAllOtherHelpers(const ::std::string& uid, ::Ice::StringSeq& childs, ::Ice::IntSeq& childsimsids, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getAllOtherHelpers_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(childs); - __is->read(childsimsids); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setMaxServiceNum(const ::std::string& uid, const ::std::string& childid, ::Ice::Int num, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setMaxServiceNum_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(childid); - __os->write(num); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::chgATMHelpersServiceNum(const ::std::string& uid, const ::std::string& childid, const ::std::string& contactid, ::Ice::Int type, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__chgATMHelpersServiceNum_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(childid); - __os->write(contactid); - __os->write(type); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::HmsLoginOff(const ::std::string& uid, const ::std::string& childid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__HmsLoginOff_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(childid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::HmsLoginOff6(const ::std::string& uid, const ::std::string& childid, ::Ice::Int imsid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__HmsLoginOff6_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(childid); - __os->write(imsid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getBuddyStatus(const ::std::string& uid, ::IMSINNER::SHMSBuddyStatusSeq& buddystatus, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getBuddyStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMSINNER::__read(__is, buddystatus, ::IMSINNER::__U__SHMSBuddyStatusSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::EHmsLogin6(const ::std::string& uid, const ::std::string& fid, ::Ice::Int imsid, ::Ice::Int logintype, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__EHmsLogin6_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(fid); - __os->write(imsid); - __os->write(logintype); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getBuddyStatus6(const ::std::string& uid, const ::std::string& fid, ::IMSINNER::SHMSBuddyStatusSeq6& buddystatus, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getBuddyStatus6_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(fid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMSINNER::__read(__is, buddystatus, ::IMSINNER::__U__SHMSBuddyStatusSeq6()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getForWardList(const ::std::string& uid, const ::std::string& fid, ::IMSINNER::SHMSBuddyStatusSeq6& buddystatus, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getForWardList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(fid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMSINNER::__read(__is, buddystatus, ::IMSINNER::__U__SHMSBuddyStatusSeq6()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::forWardServiceUser(const ::std::string& uid, const ::std::string& fid, const ::std::string& conatctid, const ::std::string& tochildid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__forWardServiceUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(fid); - __os->write(conatctid); - __os->write(tochildid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::closeHMSSession(const ::std::string& uid, const ::std::string& fid, const ::std::string& conatctid, ::Ice::Int type, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__closeHMSSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(fid); - __os->write(conatctid); - __os->write(type); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::NotifyHMSMsg(const ::std::string& fromid, const ::std::string& uid, ::Ice::Int srvid, ::Ice::Int type, const ::std::string& msg, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__NotifyHMSMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fromid); - __os->write(uid); - __os->write(srvid); - __os->write(type); - __os->write(msg); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::SendHMSMsg(const ::std::string& fid, const ::std::string& uid, const ::std::string& conatctid, ::Ice::Int srvid, ::Ice::Int type, const ::std::string& msg, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__SendHMSMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(fid); - __os->write(uid); - __os->write(conatctid); - __os->write(srvid); - __os->write(type); - __os->write(msg); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::changeUserStatus(const ::std::string& uid, ::Ice::Int Stauts, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__changeUserStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(Stauts); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getESShuntStatus(const ::std::string& uid, ::std::string& shunt, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getESShuntStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(shunt); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setESShuntStatus(const ::std::string& uid, const ::std::string& shunt, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setESShuntStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(shunt); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptNumSeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getMaxESReceptNum_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMSINNER::__read(__is, eserviceList, ::IMSINNER::__U__SICEReceptNumSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICEReceptNumSeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setMaxESReceptNum_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::IMSINNER::__U__SICEReceptNumSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getESPriority(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getESPriority_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMSINNER::__read(__is, eserviceList, ::IMSINNER::__U__SICEReceptPrioritySeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setESPriority(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setESPriority_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::IMSINNER::__U__SICEReceptPrioritySeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getESRecvOffMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMSINNER::__read(__is, eserviceList, ::IMSINNER::__U__SICERecvOffMsgSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setESRecvOffMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::IMSINNER::__U__SICERecvOffMsgSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getESGroupList(const ::std::string& uid, ::Ice::IntSeq& groupList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getESGroupList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::insertESGroupInfo(const ::std::string& uid, const ::IMSINNER::SICEESGroupInfo& groupInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__insertESGroupInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - groupInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::updateESGroupInfo(const ::std::string& uid, const ::IMSINNER::SICEESGroupInfo& group, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__updateESGroupInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - group.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::delESGroup(const ::std::string& uid, ::Ice::Int groupid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__delESGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getESGroupInfo(const ::std::string& uid, ::IMSINNER::SICEESGroupInfoSeq& groupList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getESGroupInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMSINNER::__read(__is, groupList, ::IMSINNER::__U__SICEESGroupInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getESGroupInfoByID(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEESGroupInfo& groupInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getESGroupInfoByID_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - groupInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getESUnJoinGroup(const ::std::string& uid, ::Ice::StringSeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getESUnJoinGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(eserviceList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getESReceptList(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptStatusSeq& eserviceList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getESReceptList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMSINNER::__read(__is, eserviceList, ::IMSINNER::__U__SICEReceptStatusSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::checkESRole(const ::std::string& uid, ::Ice::Int& groupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__checkESRole_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getChildShuntInfos(const ::std::string& uid, ::IMSINNER::SICEChildShuntInfoSeq& childInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getChildShuntInfos_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMSINNER::__read(__is, childInfos, ::IMSINNER::__U__SICEChildShuntInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setChildShuntInfos(const ::std::string& uid, const ::IMSINNER::SICEChildShuntInfoSeq& childInfos, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setChildShuntInfos_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - if(childInfos.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &childInfos[0], &childInfos[0] + childInfos.size(), ::IMSINNER::__U__SICEChildShuntInfoSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getAgentChild(const ::std::string& uid, ::std::string& agentId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getAgentChild_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(agentId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::setAgentChild(const ::std::string& uid, const ::std::string& agentId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__setAgentChild_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(agentId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::getAgentList(const ::std::string& uid, ::Ice::StringSeq& agentIds, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__getAgentList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(agentIds); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMSINNER::IMSICEService::helperMsg(const ::std::string& uid, const ::std::string& targetUid, const ::std::string& message, ::Ice::Int originalSid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMSINNER__IMSICEService__helperMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(targetUid); - __os->write(message); - __os->write(originalSid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getLastVisit(const ::std::string& host, const ::std::string& visitor, ::std::string& hostess, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getLastVisit_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getLastVisit(host, visitor, hostess, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setShareContact(const ::std::string& uid, const ::Ice::StringSeq& cids, ::Ice::Int value, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setShareContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setShareContact(uid, cids, value, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::clearLastVisit(const ::std::string& host, const ::std::string& visitor, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__clearLastVisit_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->clearLastVisit(host, visitor, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getLastVisitEx(const ::std::string& host, const ::std::string& visitor, ::Ice::Int groupId, ::Ice::Int addServiceNum, ::IMSINNER::SHMSBuddyStatus6& hostess, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getLastVisitEx_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getLastVisitEx(host, visitor, groupId, addServiceNum, hostess, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::HmsLogin(const ::std::string& uid, ::Ice::StringSeq& cids, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__HmsLogin_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->HmsLogin(uid, cids, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getWorkingBuddy(const ::std::string& uid, ::Ice::StringSeq& cids, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getWorkingBuddy_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getWorkingBuddy(uid, cids, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setWaiterDenyService(const ::std::string& uid, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setWaiterDenyService_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setWaiterDenyService(uid, status, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setLastVisit(const ::std::string& host, const ::std::string& visitor, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setLastVisit_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setLastVisit(host, visitor, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setLastVisitandSrvnum(const ::std::string& host, const ::std::string& visitor, ::Ice::Int srvnum, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setLastVisitandSrvnum_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setLastVisitandSrvnum(host, visitor, srvnum, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::HmsLogin6(const ::std::string& uid, ::Ice::Int imsid, ::Ice::StringSeq& cids, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__HmsLogin6_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->HmsLogin6(uid, imsid, cids, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setWaiterServerID(const ::std::string& uid, ::Ice::Int status, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setWaiterServerID_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setWaiterServerID(uid, status, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::isFakeOnline(const ::std::string& uid, bool& status, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__isFakeOnline_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->isFakeOnline(uid, status, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setWaiterStatus(const ::std::string& uid, ::Ice::Int status, ::Ice::Int imsid, bool& bneedsendfakestatus, ::Ice::Int& before, ::Ice::Int& afteronlinestatus, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setWaiterStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setWaiterStatus(uid, status, imsid, bneedsendfakestatus, before, afteronlinestatus, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getHelperstatus(const ::std::string& uid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getHelperstatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getHelperstatus(uid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getOfflineHelpers(const ::std::string& uid, ::Ice::StringSeq& childs, ::Ice::IntSeq& childsimsids, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getOfflineHelpers_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getOfflineHelpers(uid, childs, childsimsids, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getAllOtherHelpers(const ::std::string& uid, ::Ice::StringSeq& childs, ::Ice::IntSeq& childsimsids, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getAllOtherHelpers_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getAllOtherHelpers(uid, childs, childsimsids, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setMaxServiceNum(const ::std::string& uid, const ::std::string& childid, ::Ice::Int num, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setMaxServiceNum_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setMaxServiceNum(uid, childid, num, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::chgATMHelpersServiceNum(const ::std::string& uid, const ::std::string& childid, const ::std::string& contactid, ::Ice::Int type, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__chgATMHelpersServiceNum_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->chgATMHelpersServiceNum(uid, childid, contactid, type, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::HmsLoginOff(const ::std::string& uid, const ::std::string& childid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__HmsLoginOff_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->HmsLoginOff(uid, childid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::HmsLoginOff6(const ::std::string& uid, const ::std::string& childid, ::Ice::Int imsid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__HmsLoginOff6_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->HmsLoginOff6(uid, childid, imsid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getBuddyStatus(const ::std::string& uid, ::IMSINNER::SHMSBuddyStatusSeq& buddystatus, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getBuddyStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getBuddyStatus(uid, buddystatus, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::EHmsLogin6(const ::std::string& uid, const ::std::string& fid, ::Ice::Int imsid, ::Ice::Int logintype, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__EHmsLogin6_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->EHmsLogin6(uid, fid, imsid, logintype, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getBuddyStatus6(const ::std::string& uid, const ::std::string& fid, ::IMSINNER::SHMSBuddyStatusSeq6& buddystatus, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getBuddyStatus6_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getBuddyStatus6(uid, fid, buddystatus, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getForWardList(const ::std::string& uid, const ::std::string& fid, ::IMSINNER::SHMSBuddyStatusSeq6& buddystatus, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getForWardList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getForWardList(uid, fid, buddystatus, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::forWardServiceUser(const ::std::string& uid, const ::std::string& fid, const ::std::string& conatctid, const ::std::string& tochildid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__forWardServiceUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->forWardServiceUser(uid, fid, conatctid, tochildid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::closeHMSSession(const ::std::string& uid, const ::std::string& fid, const ::std::string& conatctid, ::Ice::Int type, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__closeHMSSession_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->closeHMSSession(uid, fid, conatctid, type, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::NotifyHMSMsg(const ::std::string& fromid, const ::std::string& uid, ::Ice::Int srvid, ::Ice::Int type, const ::std::string& msg, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__NotifyHMSMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->NotifyHMSMsg(fromid, uid, srvid, type, msg, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::SendHMSMsg(const ::std::string& fid, const ::std::string& uid, const ::std::string& conatctid, ::Ice::Int srvid, ::Ice::Int type, const ::std::string& msg, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__SendHMSMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->SendHMSMsg(fid, uid, conatctid, srvid, type, msg, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::changeUserStatus(const ::std::string& uid, ::Ice::Int Stauts, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__changeUserStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->changeUserStatus(uid, Stauts, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getESShuntStatus(const ::std::string& uid, ::std::string& shunt, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getESShuntStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESShuntStatus(uid, shunt, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setESShuntStatus(const ::std::string& uid, const ::std::string& shunt, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setESShuntStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setESShuntStatus(uid, shunt, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptNumSeq& eserviceList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getMaxESReceptNum_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getMaxESReceptNum(uid, groupId, eserviceList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setMaxESReceptNum(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICEReceptNumSeq& eserviceList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setMaxESReceptNum_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setMaxESReceptNum(uid, groupId, eserviceList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getESPriority(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getESPriority_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESPriority(uid, groupId, eserviceList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setESPriority(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICEReceptPrioritySeq& eserviceList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setESPriority_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setESPriority(uid, groupId, eserviceList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getESRecvOffMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESRecvOffMsg(uid, groupId, eserviceList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setESRecvOffMsg(const ::std::string& uid, ::Ice::Int groupId, const ::IMSINNER::SICERecvOffMsgSeq& eserviceList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setESRecvOffMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setESRecvOffMsg(uid, groupId, eserviceList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getESGroupList(const ::std::string& uid, ::Ice::IntSeq& groupList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getESGroupList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESGroupList(uid, groupList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::insertESGroupInfo(const ::std::string& uid, const ::IMSINNER::SICEESGroupInfo& groupInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__insertESGroupInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->insertESGroupInfo(uid, groupInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::updateESGroupInfo(const ::std::string& uid, const ::IMSINNER::SICEESGroupInfo& group, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__updateESGroupInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateESGroupInfo(uid, group, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::delESGroup(const ::std::string& uid, ::Ice::Int groupid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__delESGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->delESGroup(uid, groupid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getESGroupInfo(const ::std::string& uid, ::IMSINNER::SICEESGroupInfoSeq& groupList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getESGroupInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESGroupInfo(uid, groupList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getESGroupInfoByID(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEESGroupInfo& groupInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getESGroupInfoByID_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESGroupInfoByID(uid, groupId, groupInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getESUnJoinGroup(const ::std::string& uid, ::Ice::StringSeq& eserviceList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getESUnJoinGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESUnJoinGroup(uid, eserviceList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getESReceptList(const ::std::string& uid, ::Ice::Int groupId, ::IMSINNER::SICEReceptStatusSeq& eserviceList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getESReceptList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getESReceptList(uid, groupId, eserviceList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::checkESRole(const ::std::string& uid, ::Ice::Int& groupId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__checkESRole_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkESRole(uid, groupId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getChildShuntInfos(const ::std::string& uid, ::IMSINNER::SICEChildShuntInfoSeq& childInfos, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getChildShuntInfos_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getChildShuntInfos(uid, childInfos, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setChildShuntInfos(const ::std::string& uid, const ::IMSINNER::SICEChildShuntInfoSeq& childInfos, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setChildShuntInfos_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setChildShuntInfos(uid, childInfos, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getAgentChild(const ::std::string& uid, ::std::string& agentId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getAgentChild_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getAgentChild(uid, agentId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::setAgentChild(const ::std::string& uid, const ::std::string& agentId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__setAgentChild_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->setAgentChild(uid, agentId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::getAgentList(const ::std::string& uid, ::Ice::StringSeq& agentIds, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__getAgentList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getAgentList(uid, agentIds, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMSINNER::IMSICEService::helperMsg(const ::std::string& uid, const ::std::string& targetUid, const ::std::string& message, ::Ice::Int originalSid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMSINNER__IMSICEService__helperMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMSINNER::IMSICEService* __servant = dynamic_cast< ::IMSINNER::IMSICEService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->helperMsg(uid, targetUid, message, originalSid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -IMSINNER::IMSICEService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __IMSINNER__IMSICEService_ids[2] = -{ - "::IMSINNER::IMSICEService", - "::Ice::Object" -}; - -bool -IMSINNER::IMSICEService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__IMSINNER__IMSICEService_ids, __IMSINNER__IMSICEService_ids + 2, _s); -} - -::std::vector< ::std::string> -IMSINNER::IMSICEService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__IMSINNER__IMSICEService_ids[0], &__IMSINNER__IMSICEService_ids[2]); -} - -const ::std::string& -IMSINNER::IMSICEService::ice_id(const ::Ice::Current&) const -{ - return __IMSINNER__IMSICEService_ids[0]; -} - -const ::std::string& -IMSINNER::IMSICEService::ice_staticId() -{ - return __IMSINNER__IMSICEService_ids[0]; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getLastVisit(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string host; - ::std::string visitor; - __is->read(host); - __is->read(visitor); - ::std::string hostess; - ::Ice::Int __ret = getLastVisit(host, visitor, hostess, __current); - __os->write(hostess); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setShareContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::StringSeq cids; - ::Ice::Int value; - __is->read(uid); - __is->read(cids); - __is->read(value); - ::Ice::Int __ret = setShareContact(uid, cids, value, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___clearLastVisit(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string host; - ::std::string visitor; - __is->read(host); - __is->read(visitor); - ::Ice::Int __ret = clearLastVisit(host, visitor, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getLastVisitEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string host; - ::std::string visitor; - ::Ice::Int groupId; - ::Ice::Int addServiceNum; - __is->read(host); - __is->read(visitor); - __is->read(groupId); - __is->read(addServiceNum); - ::IMSINNER::SHMSBuddyStatus6 hostess; - ::Ice::Int __ret = getLastVisitEx(host, visitor, groupId, addServiceNum, hostess, __current); - hostess.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___HmsLogin(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::StringSeq cids; - ::Ice::Int __ret = HmsLogin(uid, cids, __current); - if(cids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&cids[0], &cids[0] + cids.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getWorkingBuddy(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::StringSeq cids; - ::Ice::Int __ret = getWorkingBuddy(uid, cids, __current); - if(cids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&cids[0], &cids[0] + cids.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setWaiterDenyService(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int status; - __is->read(uid); - __is->read(status); - ::Ice::Int __ret = setWaiterDenyService(uid, status, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setLastVisit(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string host; - ::std::string visitor; - __is->read(host); - __is->read(visitor); - ::Ice::Int __ret = setLastVisit(host, visitor, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setLastVisitandSrvnum(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string host; - ::std::string visitor; - ::Ice::Int srvnum; - __is->read(host); - __is->read(visitor); - __is->read(srvnum); - ::Ice::Int __ret = setLastVisitandSrvnum(host, visitor, srvnum, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___HmsLogin6(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int imsid; - __is->read(uid); - __is->read(imsid); - ::Ice::StringSeq cids; - ::Ice::Int __ret = HmsLogin6(uid, imsid, cids, __current); - if(cids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&cids[0], &cids[0] + cids.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setWaiterServerID(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int status; - __is->read(uid); - __is->read(status); - ::Ice::Int __ret = setWaiterServerID(uid, status, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___isFakeOnline(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - bool status; - ::Ice::Int __ret = isFakeOnline(uid, status, __current); - __os->write(status); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setWaiterStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int status; - ::Ice::Int imsid; - __is->read(uid); - __is->read(status); - __is->read(imsid); - bool bneedsendfakestatus; - ::Ice::Int before; - ::Ice::Int afteronlinestatus; - ::Ice::Int __ret = setWaiterStatus(uid, status, imsid, bneedsendfakestatus, before, afteronlinestatus, __current); - __os->write(bneedsendfakestatus); - __os->write(before); - __os->write(afteronlinestatus); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getHelperstatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::Int __ret = getHelperstatus(uid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getOfflineHelpers(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::StringSeq childs; - ::Ice::IntSeq childsimsids; - ::Ice::Int __ret = getOfflineHelpers(uid, childs, childsimsids, __current); - if(childs.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&childs[0], &childs[0] + childs.size()); - } - if(childsimsids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&childsimsids[0], &childsimsids[0] + childsimsids.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getAllOtherHelpers(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::StringSeq childs; - ::Ice::IntSeq childsimsids; - ::Ice::Int __ret = getAllOtherHelpers(uid, childs, childsimsids, __current); - if(childs.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&childs[0], &childs[0] + childs.size()); - } - if(childsimsids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&childsimsids[0], &childsimsids[0] + childsimsids.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setMaxServiceNum(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string childid; - ::Ice::Int num; - __is->read(uid); - __is->read(childid); - __is->read(num); - ::Ice::Int __ret = setMaxServiceNum(uid, childid, num, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___chgATMHelpersServiceNum(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string childid; - ::std::string contactid; - ::Ice::Int type; - __is->read(uid); - __is->read(childid); - __is->read(contactid); - __is->read(type); - ::Ice::Int __ret = chgATMHelpersServiceNum(uid, childid, contactid, type, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___HmsLoginOff(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string childid; - __is->read(uid); - __is->read(childid); - ::Ice::Int __ret = HmsLoginOff(uid, childid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___HmsLoginOff6(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string childid; - ::Ice::Int imsid; - __is->read(uid); - __is->read(childid); - __is->read(imsid); - ::Ice::Int __ret = HmsLoginOff6(uid, childid, imsid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getBuddyStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::IMSINNER::SHMSBuddyStatusSeq buddystatus; - ::Ice::Int __ret = getBuddyStatus(uid, buddystatus, __current); - if(buddystatus.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &buddystatus[0], &buddystatus[0] + buddystatus.size(), ::IMSINNER::__U__SHMSBuddyStatusSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___EHmsLogin6(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string fid; - ::Ice::Int imsid; - ::Ice::Int logintype; - __is->read(uid); - __is->read(fid); - __is->read(imsid); - __is->read(logintype); - ::Ice::Int __ret = EHmsLogin6(uid, fid, imsid, logintype, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getBuddyStatus6(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string fid; - __is->read(uid); - __is->read(fid); - ::IMSINNER::SHMSBuddyStatusSeq6 buddystatus; - ::Ice::Int __ret = getBuddyStatus6(uid, fid, buddystatus, __current); - if(buddystatus.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &buddystatus[0], &buddystatus[0] + buddystatus.size(), ::IMSINNER::__U__SHMSBuddyStatusSeq6()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getForWardList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string fid; - __is->read(uid); - __is->read(fid); - ::IMSINNER::SHMSBuddyStatusSeq6 buddystatus; - ::Ice::Int __ret = getForWardList(uid, fid, buddystatus, __current); - if(buddystatus.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &buddystatus[0], &buddystatus[0] + buddystatus.size(), ::IMSINNER::__U__SHMSBuddyStatusSeq6()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___forWardServiceUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string fid; - ::std::string conatctid; - ::std::string tochildid; - __is->read(uid); - __is->read(fid); - __is->read(conatctid); - __is->read(tochildid); - ::Ice::Int __ret = forWardServiceUser(uid, fid, conatctid, tochildid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___closeHMSSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string fid; - ::std::string conatctid; - ::Ice::Int type; - __is->read(uid); - __is->read(fid); - __is->read(conatctid); - __is->read(type); - ::Ice::Int __ret = closeHMSSession(uid, fid, conatctid, type, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___NotifyHMSMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string fromid; - ::std::string uid; - ::Ice::Int srvid; - ::Ice::Int type; - ::std::string msg; - __is->read(fromid); - __is->read(uid); - __is->read(srvid); - __is->read(type); - __is->read(msg); - ::Ice::Int __ret = NotifyHMSMsg(fromid, uid, srvid, type, msg, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___SendHMSMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string fid; - ::std::string uid; - ::std::string conatctid; - ::Ice::Int srvid; - ::Ice::Int type; - ::std::string msg; - __is->read(fid); - __is->read(uid); - __is->read(conatctid); - __is->read(srvid); - __is->read(type); - __is->read(msg); - ::Ice::Int __ret = SendHMSMsg(fid, uid, conatctid, srvid, type, msg, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___changeUserStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int Stauts; - __is->read(uid); - __is->read(Stauts); - ::Ice::Int __ret = changeUserStatus(uid, Stauts, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getESShuntStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::std::string shunt; - ::Ice::Int __ret = getESShuntStatus(uid, shunt, __current); - __os->write(shunt); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setESShuntStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string shunt; - __is->read(uid); - __is->read(shunt); - ::Ice::Int __ret = setESShuntStatus(uid, shunt, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getMaxESReceptNum(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int groupId; - __is->read(uid); - __is->read(groupId); - ::IMSINNER::SICEReceptNumSeq eserviceList; - ::Ice::Int __ret = getMaxESReceptNum(uid, groupId, eserviceList, __current); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::IMSINNER::__U__SICEReceptNumSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setMaxESReceptNum(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int groupId; - ::IMSINNER::SICEReceptNumSeq eserviceList; - __is->read(uid); - __is->read(groupId); - ::IMSINNER::__read(__is, eserviceList, ::IMSINNER::__U__SICEReceptNumSeq()); - ::Ice::Int __ret = setMaxESReceptNum(uid, groupId, eserviceList, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getESPriority(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int groupId; - __is->read(uid); - __is->read(groupId); - ::IMSINNER::SICEReceptPrioritySeq eserviceList; - ::Ice::Int __ret = getESPriority(uid, groupId, eserviceList, __current); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::IMSINNER::__U__SICEReceptPrioritySeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setESPriority(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int groupId; - ::IMSINNER::SICEReceptPrioritySeq eserviceList; - __is->read(uid); - __is->read(groupId); - ::IMSINNER::__read(__is, eserviceList, ::IMSINNER::__U__SICEReceptPrioritySeq()); - ::Ice::Int __ret = setESPriority(uid, groupId, eserviceList, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getESRecvOffMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int groupId; - __is->read(uid); - __is->read(groupId); - ::IMSINNER::SICERecvOffMsgSeq eserviceList; - ::Ice::Int __ret = getESRecvOffMsg(uid, groupId, eserviceList, __current); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::IMSINNER::__U__SICERecvOffMsgSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setESRecvOffMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int groupId; - ::IMSINNER::SICERecvOffMsgSeq eserviceList; - __is->read(uid); - __is->read(groupId); - ::IMSINNER::__read(__is, eserviceList, ::IMSINNER::__U__SICERecvOffMsgSeq()); - ::Ice::Int __ret = setESRecvOffMsg(uid, groupId, eserviceList, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getESGroupList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::IntSeq groupList; - ::Ice::Int __ret = getESGroupList(uid, groupList, __current); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&groupList[0], &groupList[0] + groupList.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___insertESGroupInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::IMSINNER::SICEESGroupInfo groupInfo; - __is->read(uid); - groupInfo.__read(__is); - ::Ice::Int __ret = insertESGroupInfo(uid, groupInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___updateESGroupInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::IMSINNER::SICEESGroupInfo group; - __is->read(uid); - group.__read(__is); - ::Ice::Int __ret = updateESGroupInfo(uid, group, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___delESGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int groupid; - __is->read(uid); - __is->read(groupid); - ::Ice::Int __ret = delESGroup(uid, groupid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getESGroupInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::IMSINNER::SICEESGroupInfoSeq groupList; - ::Ice::Int __ret = getESGroupInfo(uid, groupList, __current); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &groupList[0], &groupList[0] + groupList.size(), ::IMSINNER::__U__SICEESGroupInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getESGroupInfoByID(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int groupId; - __is->read(uid); - __is->read(groupId); - ::IMSINNER::SICEESGroupInfo groupInfo; - ::Ice::Int __ret = getESGroupInfoByID(uid, groupId, groupInfo, __current); - groupInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getESUnJoinGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::StringSeq eserviceList; - ::Ice::Int __ret = getESUnJoinGroup(uid, eserviceList, __current); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&eserviceList[0], &eserviceList[0] + eserviceList.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getESReceptList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Int groupId; - __is->read(uid); - __is->read(groupId); - ::IMSINNER::SICEReceptStatusSeq eserviceList; - ::Ice::Int __ret = getESReceptList(uid, groupId, eserviceList, __current); - if(eserviceList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &eserviceList[0], &eserviceList[0] + eserviceList.size(), ::IMSINNER::__U__SICEReceptStatusSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___checkESRole(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::Int groupId; - ::Ice::Int __ret = checkESRole(uid, groupId, __current); - __os->write(groupId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getChildShuntInfos(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::IMSINNER::SICEChildShuntInfoSeq childInfos; - ::Ice::Int __ret = getChildShuntInfos(uid, childInfos, __current); - if(childInfos.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMSINNER::__write(__os, &childInfos[0], &childInfos[0] + childInfos.size(), ::IMSINNER::__U__SICEChildShuntInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setChildShuntInfos(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::IMSINNER::SICEChildShuntInfoSeq childInfos; - __is->read(uid); - ::IMSINNER::__read(__is, childInfos, ::IMSINNER::__U__SICEChildShuntInfoSeq()); - ::Ice::Int __ret = setChildShuntInfos(uid, childInfos, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getAgentChild(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::std::string agentId; - ::Ice::Int __ret = getAgentChild(uid, agentId, __current); - __os->write(agentId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___setAgentChild(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string agentId; - __is->read(uid); - __is->read(agentId); - ::Ice::Int __ret = setAgentChild(uid, agentId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___getAgentList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::StringSeq agentIds; - ::Ice::Int __ret = getAgentList(uid, agentIds, __current); - if(agentIds.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&agentIds[0], &agentIds[0] + agentIds.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::___helperMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string targetUid; - ::std::string message; - ::Ice::Int originalSid; - __is->read(uid); - __is->read(targetUid); - __is->read(message); - __is->read(originalSid); - ::Ice::Int __ret = helperMsg(uid, targetUid, message, originalSid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __IMSINNER__IMSICEService_all[] = -{ - "EHmsLogin6", - "HmsLogin", - "HmsLogin6", - "HmsLoginOff", - "HmsLoginOff6", - "NotifyHMSMsg", - "SendHMSMsg", - "changeUserStatus", - "checkESRole", - "chgATMHelpersServiceNum", - "clearLastVisit", - "closeHMSSession", - "delESGroup", - "forWardServiceUser", - "getAgentChild", - "getAgentList", - "getAllOtherHelpers", - "getBuddyStatus", - "getBuddyStatus6", - "getChildShuntInfos", - "getESGroupInfo", - "getESGroupInfoByID", - "getESGroupList", - "getESPriority", - "getESReceptList", - "getESRecvOffMsg", - "getESShuntStatus", - "getESUnJoinGroup", - "getForWardList", - "getHelperstatus", - "getLastVisit", - "getLastVisitEx", - "getMaxESReceptNum", - "getOfflineHelpers", - "getWorkingBuddy", - "helperMsg", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "insertESGroupInfo", - "isFakeOnline", - "setAgentChild", - "setChildShuntInfos", - "setESPriority", - "setESRecvOffMsg", - "setESShuntStatus", - "setLastVisit", - "setLastVisitandSrvnum", - "setMaxESReceptNum", - "setMaxServiceNum", - "setShareContact", - "setWaiterDenyService", - "setWaiterServerID", - "setWaiterStatus", - "updateESGroupInfo" -}; - -::IceInternal::DispatchStatus -IMSINNER::IMSICEService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__IMSINNER__IMSICEService_all, __IMSINNER__IMSICEService_all + 56, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __IMSINNER__IMSICEService_all) - { - case 0: - { - return ___EHmsLogin6(in, current); - } - case 1: - { - return ___HmsLogin(in, current); - } - case 2: - { - return ___HmsLogin6(in, current); - } - case 3: - { - return ___HmsLoginOff(in, current); - } - case 4: - { - return ___HmsLoginOff6(in, current); - } - case 5: - { - return ___NotifyHMSMsg(in, current); - } - case 6: - { - return ___SendHMSMsg(in, current); - } - case 7: - { - return ___changeUserStatus(in, current); - } - case 8: - { - return ___checkESRole(in, current); - } - case 9: - { - return ___chgATMHelpersServiceNum(in, current); - } - case 10: - { - return ___clearLastVisit(in, current); - } - case 11: - { - return ___closeHMSSession(in, current); - } - case 12: - { - return ___delESGroup(in, current); - } - case 13: - { - return ___forWardServiceUser(in, current); - } - case 14: - { - return ___getAgentChild(in, current); - } - case 15: - { - return ___getAgentList(in, current); - } - case 16: - { - return ___getAllOtherHelpers(in, current); - } - case 17: - { - return ___getBuddyStatus(in, current); - } - case 18: - { - return ___getBuddyStatus6(in, current); - } - case 19: - { - return ___getChildShuntInfos(in, current); - } - case 20: - { - return ___getESGroupInfo(in, current); - } - case 21: - { - return ___getESGroupInfoByID(in, current); - } - case 22: - { - return ___getESGroupList(in, current); - } - case 23: - { - return ___getESPriority(in, current); - } - case 24: - { - return ___getESReceptList(in, current); - } - case 25: - { - return ___getESRecvOffMsg(in, current); - } - case 26: - { - return ___getESShuntStatus(in, current); - } - case 27: - { - return ___getESUnJoinGroup(in, current); - } - case 28: - { - return ___getForWardList(in, current); - } - case 29: - { - return ___getHelperstatus(in, current); - } - case 30: - { - return ___getLastVisit(in, current); - } - case 31: - { - return ___getLastVisitEx(in, current); - } - case 32: - { - return ___getMaxESReceptNum(in, current); - } - case 33: - { - return ___getOfflineHelpers(in, current); - } - case 34: - { - return ___getWorkingBuddy(in, current); - } - case 35: - { - return ___helperMsg(in, current); - } - case 36: - { - return ___ice_id(in, current); - } - case 37: - { - return ___ice_ids(in, current); - } - case 38: - { - return ___ice_isA(in, current); - } - case 39: - { - return ___ice_ping(in, current); - } - case 40: - { - return ___insertESGroupInfo(in, current); - } - case 41: - { - return ___isFakeOnline(in, current); - } - case 42: - { - return ___setAgentChild(in, current); - } - case 43: - { - return ___setChildShuntInfos(in, current); - } - case 44: - { - return ___setESPriority(in, current); - } - case 45: - { - return ___setESRecvOffMsg(in, current); - } - case 46: - { - return ___setESShuntStatus(in, current); - } - case 47: - { - return ___setLastVisit(in, current); - } - case 48: - { - return ___setLastVisitandSrvnum(in, current); - } - case 49: - { - return ___setMaxESReceptNum(in, current); - } - case 50: - { - return ___setMaxServiceNum(in, current); - } - case 51: - { - return ___setShareContact(in, current); - } - case 52: - { - return ___setWaiterDenyService(in, current); - } - case 53: - { - return ___setWaiterServerID(in, current); - } - case 54: - { - return ___setWaiterStatus(in, current); - } - case 55: - { - return ___updateESGroupInfo(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -IMSINNER::IMSICEService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -IMSINNER::IMSICEService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -IMSINNER::IMSICEService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type IMSINNER::IMSICEService was not generated with stream support"; - throw ex; -} - -void -IMSINNER::IMSICEService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type IMSINNER::IMSICEService was not generated with stream support"; - throw ex; -} - -void -IMSINNER::__patch__IMSICEServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::IMSINNER::IMSICEServicePtr* p = static_cast< ::IMSINNER::IMSICEServicePtr*>(__addr); - assert(p); - *p = ::IMSINNER::IMSICEServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::IMSINNER::IMSICEService::ice_staticId(); - throw e; - } -} - -bool -IMSINNER::operator==(const ::IMSINNER::IMSICEService& l, const ::IMSINNER::IMSICEService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IMSINNER::operator!=(const ::IMSINNER::IMSICEService& l, const ::IMSINNER::IMSICEService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IMSINNER::operator<(const ::IMSINNER::IMSICEService& l, const ::IMSINNER::IMSICEService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IMSINNER::operator<=(const ::IMSINNER::IMSICEService& l, const ::IMSINNER::IMSICEService& r) -{ - return l < r || l == r; -} - -bool -IMSINNER::operator>(const ::IMSINNER::IMSICEService& l, const ::IMSINNER::IMSICEService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IMSINNER::operator>=(const ::IMSINNER::IMSICEService& l, const ::IMSINNER::IMSICEService& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/ims_perf_test.cpp b/features/aliww/source/ims_perf_test.cpp deleted file mode 100644 index 5209985..0000000 --- a/features/aliww/source/ims_perf_test.cpp +++ /dev/null @@ -1,229 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: get_bind_list.cpp - * - * Description: - * - * Version: 1.0 - * Created: 2011å¹´01月07æ—¥ 15æ—¶53分02秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ -#include "cbenchmark.h" -#include "paramutil.h" -#include "CWWSimulator.h" -#include "script_consts.h" -#include "ims_perf_test.h" -#include -using namespace std; - -/* - TPFS性能测试的时候由于数æ®ä¸å……足的缘故, - 需è¦ç»•è¿‡IMS登录环节 - 所以需è¦ä½¿ç”¨å­—符串"AAATESTSESSIONKEY"作为sessionno - 辛树mock -*/ - -void *ims_init(void* p) -{ - srand(time(0)); - - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - create_transaction(pVuser,"IMS"); - - CWWSimulator *pWW = new (CWWSimulator); - pVuser->verb = pWW; - - string imServerIP = "10.249.65.31"; - uint16_t port = 80; - //string imServerIP = "10.250.3.88"; - //uint16_t port = 16000; - //string tpfsIP = "10.249.197.17"; - //uint16_t tpfs_port = 16000; - char *tmp = select_param_ex(pVuser); - char *comaidx = index(tmp,','); - char *uname = strndup(tmp,comaidx-tmp-1); - char *pword = strdup(comaidx+1); - free(tmp); - - string username(uname); - string password(pword); - //string username("cntaobaoabcctv"); - //string password("system"); - pWW->SetServerIP(imServerIP, port); - //pWW->SetTpfsIP(tpfsIP, tpfs_port); - pWW->SetStatus(TOKEN_FLAG, DEFAULT_LOGINSTAT); - pWW->SetClient(DEFAULT_CLIENTVERSION, DEFAULT_CLIENTLANGUAGE); - pWW->SetUser(username,password); - - string msg; - int count = 5; - while(pWW->login(msg) != 0){ - count--; - if(count == 0){ - fail_transactionEx(pVuser,"IMS",(char*)msg.c_str()); - printf("Can't login.\n"); - cb_exit(p); - } - } - success_transactionEx(pVuser,"IMS",(char*)msg.c_str()); - //string session= "AAATESTSESSIONKEY"; - /* - int con_count = 0; - while(!pWW->m_bIsConnected) - { - pWW->SetSessionNo(session); - pWW->ConnectTpfs(); - sleep(2); - if(con_count++ > 5){ - printf("Dangerous!!! Already connect %d times.\n",con_count); - } - } - - string msg; - if(pWW->chatPidfy(msg) != 0) - fail_transactionEx(pVuser,"IMS",(char*)msg.c_str()); - */ -} - - -void *ims_login(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - pWW->SetStatus(0, DEFAULT_LOGINSTAT); - pWW->SetUser(pWW->m_username, pWW->m_password); - - string msg; - if(pWW->login(msg) == 0) - success_transactionEx(pVuser,"IMS",(char*)msg.c_str()); - else - fail_transactionEx(pVuser,"IMS",(char*)msg.c_str()); -} - -void *ims_storm_login(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - - int i; - string imServerIP = "10.249.65.31"; - long t = time(0); - uint16_t port = 80; - for (i = 0; i < 100; i++) { - char uname[128]; - sprintf(uname,"cntaobaoperftestx%dx%dx%dx%ldx%d",i,get_vuser_id(p),get_vuser_group(p),t,rand()*1000); - - string username(uname); - string password("system"); - CWWSimulator *pWW = new (CWWSimulator); - pWW->SetServerIP(imServerIP, port); - pWW->SetStatus(TOKEN_FLAG, DEFAULT_LOGINSTAT); - pWW->SetClient(DEFAULT_CLIENTVERSION, DEFAULT_CLIENTLANGUAGE); - pWW->SetUser(username,password); - - string msg; - if(pWW->login(msg) == 0) - success_transactionEx(pVuser,"IMS",(char*)msg.c_str()); - else - fail_transactionEx(pVuser,"IMS",(char*)msg.c_str()); - delete(pWW); - } -} - -void *ims_login_with_token(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - pWW->SetStatus(1, DEFAULT_LOGINSTAT); - pWW->SetUser(pWW->m_username, pWW->m_pwtoken); - - string msg; - if(pWW->login(msg) == 0) - success_transactionEx(pVuser,"IMS",(char*)msg.c_str()); - else - fail_transactionEx(pVuser,"IMS",(char*)msg.c_str()); -} - -void *ims_updateUserProfile(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - char *bloodtype[4] = {"A","B","AB","O"}; - int i = rand()%4; - string msg; - if(pWW->updateUserprofile(bloodtype[i],"13012345678",msg) == 0) - success_transactionEx(pVuser,"IMS",(char*)msg.c_str()); - else - fail_transactionEx(pVuser,"IMS",(char*)msg.c_str()); - //sleep(1); -} - -void *ims_chgStatus(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - //uint16_t CWWSimulator::chgStatus(int basicstatus,int predefstatus,string& msg) - int predefstatus = rand()%6+1; - string msg; - if(pWW->chgStatus(1,predefstatus,msg) == 0) - success_transactionEx(pVuser,"IMS",(char*)msg.c_str()); - else - fail_transactionEx(pVuser,"IMS",(char*)msg.c_str()); -} - -void *ims_search_contact(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - //uint16_t CWWSimulator::chgStatus(int basicstatus,int predefstatus,string& msg) - vector::iterator i; - //for(i = pWW->m_contactList.begin(); i < pWW->m_contactList.end(); i++) - //cout << (*i) << endl;; - - int predefstatus = rand()%6+1; - string msg; - if(pWW->chgStatus(1,predefstatus,msg) == 0) - success_transactionEx(pVuser,"IMS",(char*)msg.c_str()); - else - fail_transactionEx(pVuser,"IMS",(char*)msg.c_str()); -} - -void *ims_end(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - //pWW->Detach(); -} - - - - - - - - - - - - - - - - - - - - - diff --git a/features/aliww/source/imsc_pack.cpp b/features/aliww/source/imsc_pack.cpp deleted file mode 100644 index c12e3ba..0000000 --- a/features/aliww/source/imsc_pack.cpp +++ /dev/null @@ -1,18290 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: imsc_pack.cpp -// Date: 2011-04-27 13:35:59 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "imsc_pack.h" - -void CImHelthCheck::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_HELTH_CHECK; - m_scHead.PackData(strData); -} - -void CImHelthCheck::PackBody(string& strData) -{ -} - -void CImHelthCheck::PackData(string& strData, const string& strKey) -{ - PackHead(strData); -} - -PACKRETCODE CImHelthCheck::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CImHelthCheck::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - return PACK_RIGHT; -} - -void CImReqCheckversion::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHECKVERSION; - m_scHead.PackData(strData); -} - -void CImReqCheckversion::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_version; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqCheckversion::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqCheckversion::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqCheckversion::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspCheckversion::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHECKVERSION; - m_scHead.PackData(strData); -} - -void CImRspCheckversion::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_remark; - (*this) << FT_UINT32; - (*this) << m_connectNo; - (*this) << FT_STRING; - (*this) << m_pubkey; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspCheckversion::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspCheckversion::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_connectNo; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_pubkey; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspCheckversion::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqPrelogin::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_PRELOGIN; - m_scHead.PackData(strData); -} - -void CImReqPrelogin::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_connectNo; - (*this) << FT_STRING; - (*this) << m_workKey; - (*this) << FT_STRING; - (*this) << m_strlogin; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqPrelogin::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqPrelogin::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_connectNo; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_workKey; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_strlogin; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqPrelogin::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqLogin::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_LOGIN; - m_scHead.PackData(strData); -} - -void CImReqLogin::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)10; - (*this) << FT_UINT8; - (*this) << m_tokenFlag; - (*this) << FT_UINT32; - (*this) << m_connectNo; - (*this) << FT_STRING; - (*this) << m_password; - (*this) << FT_STRING; - (*this) << m_version; - (*this) << FT_UINT32; - (*this) << m_language; - (*this) << FT_UINT32; - (*this) << m_timestampFlag; - (*this) << FT_VECTOR; - (*this) << FT_UINT32; - { - uint32_t nLen = m_timestampList.size(); - (*this) << nLen; - VECTOR< uint32_t >::const_iterator itr; - for(itr = m_timestampList.cbegin(); itr != m_timestampList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_hardcode.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_hardcode.cbegin(); itr != m_hardcode.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_STRING; - (*this) << m_hardcheck; - (*this) << FT_STRING; - (*this) << m_rid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqLogin::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqLogin::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 9) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tokenFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_connectNo; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_password; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_language; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestampFlag; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_timestampList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - uint32_t tmpVal; - (*this) >> tmpVal; - m_timestampList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_hardcode.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_hardcode.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_hardcheck; - try - { - if(num < 10) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_rid; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqLogin::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqPrelogin1::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_PRELOGIN1; - m_scHead.PackData(strData); -} - -void CImReqPrelogin1::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_connectNo; - (*this) << FT_STRING; - (*this) << m_workKey; - (*this) << FT_STRING; - (*this) << m_strlogin; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqPrelogin1::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqPrelogin1::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_connectNo; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_workKey; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_strlogin; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqPrelogin1::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspLogin::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_LOGIN; - m_scHead.PackData(strData); -} - -void CImRspLogin::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)12; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_timestampFlag; - (*this) << FT_UINT32; - (*this) << m_clientIp; - (*this) << FT_UINT32; - (*this) << m_serverTime; - (*this) << FT_STRING; - (*this) << m_workKey; - (*this) << FT_STRING; - (*this) << m_pwtoken; - (*this) << FT_STRING; - (*this) << m_remark; - (*this) << FT_STRING; - (*this) << m_webmd5pw; - (*this) << FT_UINT32; - (*this) << m_lastClientip; - (*this) << FT_STRING; - (*this) << m_bindid; - (*this) << FT_STRING; - (*this) << m_rid; - (*this) << FT_UINT32; - (*this) << m_lastLogintime; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspLogin::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspLogin::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 11) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestampFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_clientIp; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serverTime; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_workKey; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_pwtoken; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_webmd5pw; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_lastClientip; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_bindid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_rid; - try - { - if(num < 12) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_lastLogintime; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspLogin::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqLogin2::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_LOGIN2; - m_scHead.PackData(strData); -} - -void CImReqLogin2::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_timestampFlag; - (*this) << FT_VECTOR; - (*this) << FT_UINT32; - { - uint32_t nLen = m_timestampList.size(); - (*this) << nLen; - VECTOR< uint32_t >::const_iterator itr; - for(itr = m_timestampList.cbegin(); itr != m_timestampList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_STRING; - (*this) << m_loginToken; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqLogin2::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqLogin2::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestampFlag; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_timestampList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - uint32_t tmpVal; - (*this) >> tmpVal; - m_timestampList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_loginToken; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqLogin2::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspLogin2::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_LOGIN2; - m_scHead.PackData(strData); -} - -void CImRspLogin2::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_timestampFlag; - (*this) << FT_STRING; - (*this) << m_remark; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspLogin2::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspLogin2::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestampFlag; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspLogin2::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqPreloginAgain::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_PRELOGIN_AGAIN; - m_scHead.PackData(strData); -} - -void CImReqPreloginAgain::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_connectNo; - (*this) << FT_STRING; - (*this) << m_workKey; - (*this) << FT_STRING; - (*this) << m_strloginagin; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqPreloginAgain::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqPreloginAgain::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_connectNo; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_workKey; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_strloginagin; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqPreloginAgain::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqLoginAgain::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_LOGIN_AGAIN; - m_scHead.PackData(strData); -} - -void CImReqLoginAgain::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)10; - (*this) << FT_UINT8; - (*this) << m_tokenFlag; - (*this) << FT_UINT32; - (*this) << m_connectNo; - (*this) << FT_STRING; - (*this) << m_password; - (*this) << FT_STRING; - (*this) << m_version; - (*this) << FT_UINT32; - (*this) << m_language; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_hardcode.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_hardcode.cbegin(); itr != m_hardcode.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_STRING; - (*this) << m_hardcheck; - (*this) << FT_UINT8; - (*this) << m_basicStatus; - (*this) << FT_UINT8; - (*this) << m_predefStatus; - (*this) << FT_STRING; - (*this) << m_pwcode; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqLoginAgain::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqLoginAgain::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 10) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tokenFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_connectNo; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_password; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_language; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_hardcode.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_hardcode.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_hardcheck; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_basicStatus; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_predefStatus; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_pwcode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqLoginAgain::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspLoginAgain::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_LOGIN_AGAIN; - m_scHead.PackData(strData); -} - -void CImRspLoginAgain::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_workKey; - (*this) << FT_STRING; - (*this) << m_remark; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspLoginAgain::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspLoginAgain::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_workKey; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspLoginAgain::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfLoginAgain::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_LOGIN_AGAIN; - m_scHead.PackData(strData); -} - -void CImNtfLoginAgain::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_pwcode; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfLoginAgain::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfLoginAgain::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_pwcode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfLoginAgain::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqPostlogin::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_POSTLOGIN; - m_scHead.PackData(strData); -} - -void CImReqPostlogin::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_basicStatus; - (*this) << FT_UINT8; - (*this) << m_predefStatus; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqPostlogin::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqPostlogin::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_basicStatus; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_predefStatus; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqPostlogin::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqRelogin::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_RELOGIN; - m_scHead.PackData(strData); -} - -void CImReqRelogin::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - (*this) << m_password; - (*this) << FT_STRING; - (*this) << m_version; - (*this) << FT_UINT32; - (*this) << m_connectNo; - (*this) << FT_UINT8; - (*this) << m_basicStatus; - (*this) << FT_UINT8; - (*this) << m_predefStatus; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqRelogin::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqRelogin::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_password; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_connectNo; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_basicStatus; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_predefStatus; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqRelogin::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspRelogin::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_RELOGIN; - m_scHead.PackData(strData); -} - -void CImRspRelogin::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_connectNo; - (*this) << FT_STRING; - (*this) << m_remark; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspRelogin::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspRelogin::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_connectNo; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspRelogin::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqLogoff::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_LOGOFF; - m_scHead.PackData(strData); -} - -void CImReqLogoff::PackBody(string& strData) -{ -} - -void CImReqLogoff::PackData(string& strData, const string& strKey) -{ - PackHead(strData); -} - -PACKRETCODE CImReqLogoff::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CImReqLogoff::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - return PACK_RIGHT; -} - -void CImRspLogoff::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_LOGOFF; - m_scHead.PackData(strData); -} - -void CImRspLogoff::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_remark; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspLogoff::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspLogoff::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspLogoff::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfForcedisconnect::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_FORCEDISCONNECT; - m_scHead.PackData(strData); -} - -void CImNtfForcedisconnect::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_remark; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfForcedisconnect::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfForcedisconnect::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfForcedisconnect::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SUserGroup& sUserGroup ) -{ - uint8_t nFieldNum = 3; - cPackData << nFieldNum; - cPackData << FT_INT64; - cPackData << sUserGroup.m_groupId; - cPackData << FT_INT64; - cPackData << sUserGroup.m_parentId; - cPackData << FT_STRING; - cPackData << sUserGroup.m_groupName; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SUserGroup& sUserGroup ) -{ - uint8_t num; - cPackData >> num; - if(num < 3) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_INT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sUserGroup.m_groupId; - cPackData >> field; - if(field.m_baseType != FT_INT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sUserGroup.m_parentId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sUserGroup.m_groupName; - for(int i = 3; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImReqGetgroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GETGROUP; - m_scHead.PackData(strData); -} - -void CImReqGetgroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetgroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetgroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetgroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetgroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETGROUP; - m_scHead.PackData(strData); -} - -void CImRspGetgroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_groupList.size(); - (*this) << nLen; - VECTOR< SUserGroup >::const_iterator itr; - for(itr = m_groupList.cbegin(); itr != m_groupList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetgroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetgroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_groupList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SUserGroup tmpVal; - (*this) >> tmpVal; - m_groupList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetgroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqAddgroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ADDGROUP; - m_scHead.PackData(strData); -} - -void CImReqAddgroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_groupName; - (*this) << FT_INT64; - (*this) << m_parentId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAddgroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAddgroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupName; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_parentId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAddgroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspAddgroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_ADDGROUP; - m_scHead.PackData(strData); -} - -void CImRspAddgroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRUCT; - (*this) << m_groupInfo; - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspAddgroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspAddgroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupInfo; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspAddgroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SUserChggroup& sUserChggroup ) -{ - uint8_t nFieldNum = 4; - cPackData << nFieldNum; - cPackData << FT_UINT64; - cPackData << sUserChggroup.m_mask; - cPackData << FT_INT64; - cPackData << sUserChggroup.m_groupId; - cPackData << FT_INT64; - cPackData << sUserChggroup.m_parentId; - cPackData << FT_STRING; - cPackData << sUserChggroup.m_groupName; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SUserChggroup& sUserChggroup ) -{ - uint8_t num; - cPackData >> num; - if(num < 4) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_UINT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sUserChggroup.m_mask; - cPackData >> field; - if(field.m_baseType != FT_INT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sUserChggroup.m_groupId; - cPackData >> field; - if(field.m_baseType != FT_INT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sUserChggroup.m_parentId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sUserChggroup.m_groupName; - for(int i = 4; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImReqChggroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHGGROUP; - m_scHead.PackData(strData); -} - -void CImReqChggroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_groupInfo.size(); - (*this) << nLen; - VECTOR< SUserChggroup >::const_iterator itr; - for(itr = m_groupInfo.cbegin(); itr != m_groupInfo.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChggroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChggroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_groupInfo.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SUserChggroup tmpVal; - (*this) >> tmpVal; - m_groupInfo.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChggroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChggroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHGGROUP; - m_scHead.PackData(strData); -} - -void CImRspChggroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_groupInfo.size(); - (*this) << nLen; - VECTOR< SUserChggroup >::const_iterator itr; - for(itr = m_groupInfo.cbegin(); itr != m_groupInfo.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChggroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChggroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_groupInfo.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SUserChggroup tmpVal; - (*this) >> tmpVal; - m_groupInfo.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChggroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqDelgroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_DELGROUP; - m_scHead.PackData(strData); -} - -void CImReqDelgroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_INT64; - { - uint32_t nLen = m_groupId.size(); - (*this) << nLen; - VECTOR< int64_t >::const_iterator itr; - for(itr = m_groupId.cbegin(); itr != m_groupId.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqDelgroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqDelgroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_groupId.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - int64_t tmpVal; - (*this) >> tmpVal; - m_groupId.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqDelgroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SDelGroup& sDelGroup ) -{ - uint8_t nFieldNum = 2; - cPackData << nFieldNum; - cPackData << FT_UINT32; - cPackData << sDelGroup.m_retcode; - cPackData << FT_INT64; - cPackData << sDelGroup.m_groupId; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SDelGroup& sDelGroup ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sDelGroup.m_retcode; - cPackData >> field; - if(field.m_baseType != FT_INT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sDelGroup.m_groupId; - for(int i = 2; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImRspDelgroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_DELGROUP; - m_scHead.PackData(strData); -} - -void CImRspDelgroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_groupInfo.size(); - (*this) << nLen; - VECTOR< SDelGroup >::const_iterator itr; - for(itr = m_groupInfo.cbegin(); itr != m_groupInfo.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspDelgroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspDelgroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_groupInfo.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SDelGroup tmpVal; - (*this) >> tmpVal; - m_groupInfo.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspDelgroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChguserverify::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHGUSERVERIFY; - m_scHead.PackData(strData); -} - -void CImReqChguserverify::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_addcontactFlag; - (*this) << FT_UINT8; - (*this) << m_sendmsgFlag; - (*this) << FT_UINT8; - (*this) << m_enableSearch; - (*this) << FT_STRING; - (*this) << m_question; - (*this) << FT_STRING; - (*this) << m_answer; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChguserverify::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChguserverify::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_addcontactFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sendmsgFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_enableSearch; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_question; - if(num < 5) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_answer; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChguserverify::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChguserverify::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHGUSERVERIFY; - m_scHead.PackData(strData); -} - -void CImRspChguserverify::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_addcontactFlag; - (*this) << FT_UINT8; - (*this) << m_sendmsgFlag; - (*this) << FT_UINT8; - (*this) << m_enableSearch; - (*this) << FT_STRING; - (*this) << m_question; - (*this) << FT_STRING; - (*this) << m_answer; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChguserverify::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChguserverify::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_addcontactFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sendmsgFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_enableSearch; - try - { - if(num < 5) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_question; - if(num < 6) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_answer; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChguserverify::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SChgContactInfo& sChgContactInfo ) -{ - uint8_t nFieldNum = 5; - cPackData << nFieldNum; - cPackData << FT_INT64; - cPackData << sChgContactInfo.m_mask; - cPackData << FT_STRING; - cPackData << sChgContactInfo.m_contactId; - cPackData << FT_STRING; - cPackData << sChgContactInfo.m_nickName; - cPackData << FT_STRING; - cPackData << sChgContactInfo.m_importance; - cPackData << FT_INT64; - cPackData << sChgContactInfo.m_groupId; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SChgContactInfo& sChgContactInfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 5) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_INT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sChgContactInfo.m_mask; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sChgContactInfo.m_contactId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sChgContactInfo.m_nickName; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sChgContactInfo.m_importance; - cPackData >> field; - if(field.m_baseType != FT_INT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sChgContactInfo.m_groupId; - for(int i = 5; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const SContactInfo& sContactInfo ) -{ - uint8_t nFieldNum = 4; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sContactInfo.m_contactId; - cPackData << FT_STRING; - cPackData << sContactInfo.m_nickName; - cPackData << FT_STRING; - cPackData << sContactInfo.m_importance; - cPackData << FT_INT64; - cPackData << sContactInfo.m_groupId; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SContactInfo& sContactInfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 4) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sContactInfo.m_contactId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sContactInfo.m_nickName; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sContactInfo.m_importance; - cPackData >> field; - if(field.m_baseType != FT_INT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sContactInfo.m_groupId; - for(int i = 4; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImReqGetcontact::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GETCONTACT; - m_scHead.PackData(strData); -} - -void CImReqGetcontact::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetcontact::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetcontact::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetcontact::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetcontact::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETCONTACT; - m_scHead.PackData(strData); -} - -void CImRspGetcontact::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_contactList.size(); - (*this) << nLen; - VECTOR< SContactInfo >::const_iterator itr; - for(itr = m_contactList.cbegin(); itr != m_contactList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetcontact::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetcontact::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_contactList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SContactInfo tmpVal; - (*this) >> tmpVal; - m_contactList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetcontact::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqAddcontact::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ADDCONTACT; - m_scHead.PackData(strData); -} - -void CImReqAddcontact::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRUCT; - (*this) << m_contact; - (*this) << FT_UINT8; - (*this) << m_type; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAddcontact::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAddcontact::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contact; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAddcontact::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspAddcontact::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_ADDCONTACT; - m_scHead.PackData(strData); -} - -void CImRspAddcontact::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRUCT; - (*this) << m_contact; - (*this) << FT_UINT32; - (*this) << m_timestamp; - (*this) << FT_STRING; - (*this) << m_companyname; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspAddcontact::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspAddcontact::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contact; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_companyname; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspAddcontact::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChgcontact::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHGCONTACT; - m_scHead.PackData(strData); -} - -void CImReqChgcontact::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_contactList.size(); - (*this) << nLen; - VECTOR< SChgContactInfo >::const_iterator itr; - for(itr = m_contactList.cbegin(); itr != m_contactList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChgcontact::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChgcontact::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_contactList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SChgContactInfo tmpVal; - (*this) >> tmpVal; - m_contactList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChgcontact::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChgcontact::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHGCONTACT; - m_scHead.PackData(strData); -} - -void CImRspChgcontact::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_contactList.size(); - (*this) << nLen; - VECTOR< SChgContactInfo >::const_iterator itr; - for(itr = m_contactList.cbegin(); itr != m_contactList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChgcontact::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChgcontact::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_contactList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SChgContactInfo tmpVal; - (*this) >> tmpVal; - m_contactList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChgcontact::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqDelcontact::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_DELCONTACT; - m_scHead.PackData(strData); -} - -void CImReqDelcontact::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_contactList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_contactList.cbegin(); itr != m_contactList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqDelcontact::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqDelcontact::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_contactList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_contactList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqDelcontact::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspDelcontact::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_DELCONTACT; - m_scHead.PackData(strData); -} - -void CImRspDelcontact::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_contactList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_contactList.cbegin(); itr != m_contactList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspDelcontact::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspDelcontact::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_contactList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_contactList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspDelcontact::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqAddcntack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ADDCNTACK; - m_scHead.PackData(strData); -} - -void CImReqAddcntack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_opcode; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAddcntack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAddcntack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_opcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAddcntack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspAddcntack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_ADDCNTACK; - m_scHead.PackData(strData); -} - -void CImRspAddcntack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_opcode; - (*this) << FT_INT64; - (*this) << m_groupId; - (*this) << FT_UINT32; - (*this) << m_timestamp; - (*this) << FT_STRING; - (*this) << m_contactId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspAddcntack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspAddcntack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_opcode; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspAddcntack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SContactDetailGetter& sContactDetailGetter ) -{ - uint8_t nFieldNum = 2; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sContactDetailGetter.m_contactId; - cPackData << FT_UINT32; - cPackData << sContactDetailGetter.m_timestamp; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SContactDetailGetter& sContactDetailGetter ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sContactDetailGetter.m_contactId; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sContactDetailGetter.m_timestamp; - for(int i = 2; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImReqGetcntdetail::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GETCNTDETAIL; - m_scHead.PackData(strData); -} - -void CImReqGetcntdetail::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_contacts.size(); - (*this) << nLen; - VECTOR< SContactDetailGetter >::const_iterator itr; - for(itr = m_contacts.cbegin(); itr != m_contacts.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetcntdetail::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetcntdetail::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_contacts.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SContactDetailGetter tmpVal; - (*this) >> tmpVal; - m_contacts.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetcntdetail::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SContactDetail& sContactDetail ) -{ - uint8_t nFieldNum = 2; - cPackData << nFieldNum; - cPackData << FT_MAP; - cPackData << FT_STRING; - cPackData << FT_STRING; - { - uint8_t nSize = sContactDetail.m_contactDetail.size(); - cPackData << nSize; - map< string,string >::const_iterator itr; - for(itr = sContactDetail.m_contactDetail.begin(); itr != sContactDetail.m_contactDetail.end(); ++itr) - { - cPackData << itr->first; - cPackData << itr->second; - } - } - cPackData << FT_UINT32; - cPackData << sContactDetail.m_timestamp; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SContactDetail& sContactDetail ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_MAP) throw PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - cPackData >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - cPackData >> key; - cPackData >> value; - sContactDetail.m_contactDetail[key] = value; - } - } - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sContactDetail.m_timestamp; - for(int i = 2; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImRspGetcntdetail::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETCNTDETAIL; - m_scHead.PackData(strData); -} - -void CImRspGetcntdetail::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_detailList.size(); - (*this) << nLen; - VECTOR< SContactDetail >::const_iterator itr; - for(itr = m_detailList.cbegin(); itr != m_detailList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetcntdetail::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetcntdetail::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_detailList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SContactDetail tmpVal; - (*this) >> tmpVal; - m_detailList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetcntdetail::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChguserdetail::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHGUSERDETAIL; - m_scHead.PackData(strData); -} - -void CImReqChguserdetail::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_userDetail.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_userDetail.begin(); itr != m_userDetail.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChguserdetail::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChguserdetail::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_userDetail[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChguserdetail::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChguserdetail::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHGUSERDETAIL; - m_scHead.PackData(strData); -} - -void CImRspChguserdetail::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChguserdetail::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChguserdetail::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChguserdetail::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGetcntmemo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GETCNTMEMO; - m_scHead.PackData(strData); -} - -void CImReqGetcntmemo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_contactId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetcntmemo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetcntmemo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetcntmemo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetcntmemo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETCNTMEMO; - m_scHead.PackData(strData); -} - -void CImRspGetcntmemo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_STRING; - (*this) << m_memo; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetcntmemo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetcntmemo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetcntmemo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChgcntmemo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHGCNTMEMO; - m_scHead.PackData(strData); -} - -void CImReqChgcntmemo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_STRING; - (*this) << m_memo; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChgcntmemo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChgcntmemo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChgcntmemo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChgcntmemo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHGCNTMEMO; - m_scHead.PackData(strData); -} - -void CImRspChgcntmemo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_STRING; - (*this) << m_memo; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChgcntmemo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChgcntmemo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChgcntmemo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETBLACK; - m_scHead.PackData(strData); -} - -void CImRspGetblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_blackList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_blackList.cbegin(); itr != m_blackList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetblack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_blackList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_blackList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetblack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqAddblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ADDBLACK; - m_scHead.PackData(strData); -} - -void CImReqAddblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_blackId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAddblack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAddblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAddblack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspAddblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_ADDBLACK; - m_scHead.PackData(strData); -} - -void CImRspAddblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_blackId; - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspAddblack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspAddblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspAddblack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspDelblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_DELBLACK; - m_scHead.PackData(strData); -} - -void CImRspDelblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_blackId; - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspDelblack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspDelblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspDelblack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqDelblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_DELBLACK; - m_scHead.PackData(strData); -} - -void CImReqDelblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_blackId; - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqDelblack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqDelblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqDelblack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetrevblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETREVBLACK; - m_scHead.PackData(strData); -} - -void CImRspGetrevblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_blackList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_blackList.cbegin(); itr != m_blackList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetrevblack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetrevblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_blackList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_blackList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetrevblack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetuserinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETUSERINFO; - m_scHead.PackData(strData); -} - -void CImRspGetuserinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)11; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_addcontactFlag; - (*this) << FT_UINT8; - (*this) << m_sendmsgFlag; - (*this) << FT_UINT32; - (*this) << m_activity; - (*this) << FT_UINT8; - (*this) << m_actLevel; - (*this) << FT_UINT32; - (*this) << m_needNextlevel; - (*this) << FT_UINT8; - (*this) << m_imlevel; - (*this) << FT_UINT8; - (*this) << m_mulsendflag; - (*this) << FT_UINT32; - (*this) << m_webinfo; - (*this) << FT_STRING; - (*this) << m_question; - (*this) << FT_STRING; - (*this) << m_answer; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetuserinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetuserinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 9) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_addcontactFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sendmsgFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_activity; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_actLevel; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_needNextlevel; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_imlevel; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_mulsendflag; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_webinfo; - try - { - if(num < 10) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_question; - if(num < 11) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_answer; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetuserinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SUserStatus& sUserStatus ) -{ - uint8_t nFieldNum = 3; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sUserStatus.m_userId; - cPackData << FT_UINT8; - cPackData << sUserStatus.m_basicStatus; - cPackData << FT_UINT8; - cPackData << sUserStatus.m_predefStatus; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SUserStatus& sUserStatus ) -{ - uint8_t num; - cPackData >> num; - if(num < 3) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sUserStatus.m_userId; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sUserStatus.m_basicStatus; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sUserStatus.m_predefStatus; - for(int i = 3; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImRspGetcntstatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETCNTSTATUS; - m_scHead.PackData(strData); -} - -void CImRspGetcntstatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_contactStatus.size(); - (*this) << nLen; - VECTOR< SUserStatus >::const_iterator itr; - for(itr = m_contactStatus.cbegin(); itr != m_contactStatus.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetcntstatus::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetcntstatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_contactStatus.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SUserStatus tmpVal; - (*this) >> tmpVal; - m_contactStatus.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetcntstatus::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChgstatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHGSTATUS; - m_scHead.PackData(strData); -} - -void CImReqChgstatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_basicStatus; - (*this) << FT_UINT8; - (*this) << m_predefStatus; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChgstatus::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChgstatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_basicStatus; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_predefStatus; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChgstatus::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfStatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_STATUS; - m_scHead.PackData(strData); -} - -void CImNtfStatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_userStatusList.size(); - (*this) << nLen; - VECTOR< SUserStatus >::const_iterator itr; - for(itr = m_userStatusList.cbegin(); itr != m_userStatusList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfStatus::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfStatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userStatusList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SUserStatus tmpVal; - (*this) >> tmpVal; - m_userStatusList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfStatus::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SOfflineMessage& sOfflineMessage ) -{ - uint8_t nFieldNum = 5; - do { - if(sOfflineMessage.m_serverType == 0) - nFieldNum--; - else - break; - } while(0); - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sOfflineMessage.m_fromId; - cPackData << FT_UINT8; - cPackData << sOfflineMessage.m_type; - cPackData << FT_UINT32; - cPackData << sOfflineMessage.m_sendTime; - cPackData << FT_STRING; - cPackData << sOfflineMessage.m_message; - if(nFieldNum == 4) - return cPackData; - cPackData << FT_UINT8; - cPackData << sOfflineMessage.m_serverType; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SOfflineMessage& sOfflineMessage ) -{ - uint8_t num; - cPackData >> num; - if(num < 4) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sOfflineMessage.m_fromId; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sOfflineMessage.m_type; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sOfflineMessage.m_sendTime; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sOfflineMessage.m_message; - try - { - if(num < 5) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sOfflineMessage.m_serverType; - } - catch(PACKRETCODE) - { - return cPackData; - } - for(int i = 5; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImRspGetofflinemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETOFFLINEMSG; - m_scHead.PackData(strData); -} - -void CImRspGetofflinemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_messageList.size(); - (*this) << nLen; - VECTOR< SOfflineMessage >::const_iterator itr; - for(itr = m_messageList.cbegin(); itr != m_messageList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetofflinemsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetofflinemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_messageList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SOfflineMessage tmpVal; - (*this) >> tmpVal; - m_messageList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetofflinemsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqAddofflinemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ADDOFFLINEMSG; - m_scHead.PackData(strData); -} - -void CImReqAddofflinemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_messageList.size(); - (*this) << nLen; - VECTOR< SOfflineMessage >::const_iterator itr; - for(itr = m_messageList.cbegin(); itr != m_messageList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAddofflinemsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAddofflinemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_messageList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SOfflineMessage tmpVal; - (*this) >> tmpVal; - m_messageList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAddofflinemsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqDelofflinemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_DELOFFLINEMSG; - m_scHead.PackData(strData); -} - -void CImReqDelofflinemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT32; - (*this) << m_lastTime; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqDelofflinemsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqDelofflinemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_lastTime; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqDelofflinemsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetsystemmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETSYSTEMMSG; - m_scHead.PackData(strData); -} - -void CImRspGetsystemmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_messageList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_messageList.cbegin(); itr != m_messageList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetsystemmsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetsystemmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_messageList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_messageList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetsystemmsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSendimmessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SENDIMMESSAGE; - m_scHead.PackData(strData); -} - -void CImReqSendimmessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_targetId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSendimmessage::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSendimmessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_targetId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSendimmessage::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSendmultiusermsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SENDMULTIUSERMSG; - m_scHead.PackData(strData); -} - -void CImReqSendmultiusermsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_targetList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_targetList.cbegin(); itr != m_targetList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSendmultiusermsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSendmultiusermsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_targetList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_targetList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSendmultiusermsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfImmessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_IMMESSAGE; - m_scHead.PackData(strData); -} - -void CImNtfImmessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - (*this) << m_sendId; - (*this) << FT_UINT32; - (*this) << m_sendTime; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_UINT8; - (*this) << m_serverType; - (*this) << FT_UINT8; - (*this) << m_mShiftflag; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfImmessage::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfImmessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sendId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sendTime; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serverType; - if(num < 5) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_mShiftflag; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfImmessage::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfSystemmessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_SYSTEMMESSAGE; - m_scHead.PackData(strData); -} - -void CImNtfSystemmessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT16; - (*this) << m_cmdId; - (*this) << FT_STRING; - (*this) << m_style; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfSystemmessage::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfSystemmessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_cmdId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_style; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfSystemmessage::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfSubcribeMsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_SUBCRIBE_MSG; - m_scHead.PackData(strData); -} - -void CImNtfSubcribeMsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_htmlMsg.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_htmlMsg.begin(); itr != m_htmlMsg.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfSubcribeMsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfSubcribeMsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - try - { - if(num < 2) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_htmlMsg[key] = value; - } - } - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfSubcribeMsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfExtinfoMsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_EXTINFO_MSG; - m_scHead.PackData(strData); -} - -void CImNtfExtinfoMsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT16; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfExtinfoMsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfExtinfoMsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfExtinfoMsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGettoolsprofile::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GETTOOLSPROFILE; - m_scHead.PackData(strData); -} - -void CImReqGettoolsprofile::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_VECTOR; - (*this) << FT_UINT8; - { - uint32_t nLen = m_toolTypes.size(); - (*this) << nLen; - VECTOR< uint8_t >::const_iterator itr; - for(itr = m_toolTypes.cbegin(); itr != m_toolTypes.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGettoolsprofile::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGettoolsprofile::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_toolTypes.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - uint8_t tmpVal; - (*this) >> tmpVal; - m_toolTypes.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGettoolsprofile::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SToolProfile& sToolProfile ) -{ - uint8_t nFieldNum = 2; - cPackData << nFieldNum; - cPackData << FT_UINT8; - cPackData << sToolProfile.m_toolType; - cPackData << FT_STRING; - cPackData << sToolProfile.m_profile; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SToolProfile& sToolProfile ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sToolProfile.m_toolType; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sToolProfile.m_profile; - for(int i = 2; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImRspGettoolsprofile::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETTOOLSPROFILE; - m_scHead.PackData(strData); -} - -void CImRspGettoolsprofile::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_profileList.size(); - (*this) << nLen; - VECTOR< SToolProfile >::const_iterator itr; - for(itr = m_profileList.cbegin(); itr != m_profileList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGettoolsprofile::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGettoolsprofile::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_profileList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SToolProfile tmpVal; - (*this) >> tmpVal; - m_profileList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGettoolsprofile::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChgtoolsprofile::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHGTOOLSPROFILE; - m_scHead.PackData(strData); -} - -void CImReqChgtoolsprofile::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_profileList.size(); - (*this) << nLen; - VECTOR< SToolProfile >::const_iterator itr; - for(itr = m_profileList.cbegin(); itr != m_profileList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChgtoolsprofile::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChgtoolsprofile::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_profileList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SToolProfile tmpVal; - (*this) >> tmpVal; - m_profileList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChgtoolsprofile::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChgtoolsprofile::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHGTOOLSPROFILE; - m_scHead.PackData(strData); -} - -void CImRspChgtoolsprofile::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_UINT8; - { - uint32_t nLen = m_toolTypes.size(); - (*this) << nLen; - VECTOR< uint8_t >::const_iterator itr; - for(itr = m_toolTypes.cbegin(); itr != m_toolTypes.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChgtoolsprofile::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChgtoolsprofile::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_toolTypes.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - uint8_t tmpVal; - (*this) >> tmpVal; - m_toolTypes.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChgtoolsprofile::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqPeerinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_PEERINFO; - m_scHead.PackData(strData); -} - -void CImReqPeerinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_targetId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqPeerinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqPeerinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_targetId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqPeerinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspPeerinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_PEERINFO; - m_scHead.PackData(strData); -} - -void CImRspPeerinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)9; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_targetId; - (*this) << FT_UINT32; - (*this) << m_clinetip; - (*this) << FT_STRING; - (*this) << m_version; - (*this) << FT_UINT8; - (*this) << m_basicStatus; - (*this) << FT_UINT8; - (*this) << m_predefStatus; - (*this) << FT_UINT8; - (*this) << m_addcontactFlag; - (*this) << FT_UINT8; - (*this) << m_sendmsgFlag; - (*this) << FT_UINT8; - (*this) << m_reverseContact; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspPeerinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspPeerinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 9) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_targetId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_clinetip; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_basicStatus; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_predefStatus; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_addcontactFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sendmsgFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_reverseContact; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspPeerinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSubscribeInfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SUBSCRIBE_INFO; - m_scHead.PackData(strData); -} - -void CImReqSubscribeInfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_targetList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_targetList.cbegin(); itr != m_targetList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSubscribeInfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSubscribeInfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_targetList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_targetList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSubscribeInfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspSubscribeInfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SUBSCRIBE_INFO; - m_scHead.PackData(strData); -} - -void CImRspSubscribeInfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_statusList.size(); - (*this) << nLen; - VECTOR< SUserStatus >::const_iterator itr; - for(itr = m_statusList.cbegin(); itr != m_statusList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSubscribeInfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSubscribeInfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_statusList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SUserStatus tmpVal; - (*this) >> tmpVal; - m_statusList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSubscribeInfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqDisubscribeInfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_DISUBSCRIBE_INFO; - m_scHead.PackData(strData); -} - -void CImReqDisubscribeInfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_targets.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_targets.cbegin(); itr != m_targets.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqDisubscribeInfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqDisubscribeInfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_targets.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_targets.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqDisubscribeInfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGetftsaddr::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GETFTSADDR; - m_scHead.PackData(strData); -} - -void CImReqGetftsaddr::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_sessionId; - (*this) << FT_UINT16; - (*this) << m_type; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetftsaddr::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetftsaddr::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionId; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetftsaddr::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGetappaddr::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GETAPPADDR; - m_scHead.PackData(strData); -} - -void CImReqGetappaddr::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_sessionId; - (*this) << FT_UINT16; - (*this) << m_appType; - (*this) << FT_UINT16; - (*this) << m_subType; - (*this) << FT_UINT64; - (*this) << m_objId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetappaddr::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetappaddr::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionId; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_appType; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_subType; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_objId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetappaddr::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetappaddr::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETAPPADDR; - m_scHead.PackData(strData); -} - -void CImRspGetappaddr::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)7; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_serverAddr; - (*this) << FT_UINT16; - (*this) << m_serverPort; - (*this) << FT_STRING; - (*this) << m_sessionId; - (*this) << FT_UINT16; - (*this) << m_appType; - (*this) << FT_UINT16; - (*this) << m_subType; - (*this) << FT_UINT64; - (*this) << m_objId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetappaddr::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetappaddr::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 7) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serverAddr; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serverPort; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionId; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_appType; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_subType; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_objId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetappaddr::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetftsaddr::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETFTSADDR; - m_scHead.PackData(strData); -} - -void CImRspGetftsaddr::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_serverIp; - (*this) << FT_UINT16; - (*this) << m_serverPort; - (*this) << FT_STRING; - (*this) << m_sessionId; - (*this) << FT_UINT16; - (*this) << m_type; - (*this) << FT_UINT32; - (*this) << m_sessionsum; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetftsaddr::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetftsaddr::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 6) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serverIp; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serverPort; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionId; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionsum; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetftsaddr::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChgportrait::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHGPORTRAIT; - m_scHead.PackData(strData); -} - -void CImReqChgportrait::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_portraitid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChgportrait::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChgportrait::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_portraitid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChgportrait::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChgsignature::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHGSIGNATURE; - m_scHead.PackData(strData); -} - -void CImReqChgsignature::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_signature; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChgsignature::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChgsignature::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_signature; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChgsignature::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChgsignature::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHGSIGNATURE; - m_scHead.PackData(strData); -} - -void CImRspChgsignature::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_signature; - (*this) << FT_UINT32; - (*this) << m_retcode; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChgsignature::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChgsignature::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_signature; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChgsignature::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfOperationtip::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_OPERATIONTIP; - m_scHead.PackData(strData); -} - -void CImNtfOperationtip::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_STRING; - (*this) << m_ntfmessage; - (*this) << FT_UINT32; - (*this) << m_ntftime; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfOperationtip::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfOperationtip::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_ntfmessage; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_ntftime; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfOperationtip::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SBindingInfo& sBindingInfo ) -{ - uint8_t nFieldNum = 2; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sBindingInfo.m_userId; - cPackData << FT_STRING; - cPackData << sBindingInfo.m_password; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SBindingInfo& sBindingInfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBindingInfo.m_userId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBindingInfo.m_password; - for(int i = 2; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImReqAddbinding::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ADDBINDING; - m_scHead.PackData(strData); -} - -void CImReqAddbinding::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT32; - (*this) << m_addflag; - (*this) << FT_STRUCT; - (*this) << m_binding; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAddbinding::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAddbinding::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_addflag; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_binding; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAddbinding::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspAddbinding::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_ADDBINDING; - m_scHead.PackData(strData); -} - -void CImRspAddbinding::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_STRING; - (*this) << m_webmd5pw; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspAddbinding::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspAddbinding::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_webmd5pw; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspAddbinding::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChgbinding::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHGBINDING; - m_scHead.PackData(strData); -} - -void CImReqChgbinding::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRUCT; - (*this) << m_binding; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChgbinding::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChgbinding::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_binding; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChgbinding::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChgbinding::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHGBINDING; - m_scHead.PackData(strData); -} - -void CImRspChgbinding::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_webmd5pw; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChgbinding::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChgbinding::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_webmd5pw; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChgbinding::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqDelbinding::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_DELBINDING; - m_scHead.PackData(strData); -} - -void CImReqDelbinding::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_userId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqDelbinding::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqDelbinding::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqDelbinding::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspDelbinding::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_DELBINDING; - m_scHead.PackData(strData); -} - -void CImRspDelbinding::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT32; - (*this) << m_retcode; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspDelbinding::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspDelbinding::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspDelbinding::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGetbinding::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GETBINDING; - m_scHead.PackData(strData); -} - -void CImReqGetbinding::PackBody(string& strData) -{ -} - -void CImReqGetbinding::PackData(string& strData, const string& strKey) -{ - PackHead(strData); -} - -PACKRETCODE CImReqGetbinding::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetbinding::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - return PACK_RIGHT; -} - -void CImRspGetbinding::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETBINDING; - m_scHead.PackData(strData); -} - -void CImRspGetbinding::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_bindingList.size(); - (*this) << nLen; - VECTOR< SBindingInfo >::const_iterator itr; - for(itr = m_bindingList.cbegin(); itr != m_bindingList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetbinding::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetbinding::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_bindingList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SBindingInfo tmpVal; - (*this) >> tmpVal; - m_bindingList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetbinding::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGetPwdtoken::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GET_PWDTOKEN; - m_scHead.PackData(strData); -} - -void CImReqGetPwdtoken::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_uid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetPwdtoken::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetPwdtoken::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetPwdtoken::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetPwdtoken::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GET_PWDTOKEN; - m_scHead.PackData(strData); -} - -void CImRspGetPwdtoken::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_STRING; - (*this) << m_token; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetPwdtoken::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetPwdtoken::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_token; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetPwdtoken::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqCankeysearch::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CANKEYSEARCH; - m_scHead.PackData(strData); -} - -void CImReqCankeysearch::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT8; - (*this) << m_enabled; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqCankeysearch::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqCankeysearch::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_enabled; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqCankeysearch::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGetwebSession::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GETWEB_SESSION; - m_scHead.PackData(strData); -} - -void CImReqGetwebSession::PackBody(string& strData) -{ -} - -void CImReqGetwebSession::PackData(string& strData, const string& strKey) -{ - PackHead(strData); -} - -PACKRETCODE CImReqGetwebSession::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetwebSession::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - return PACK_RIGHT; -} - -void CImRspGetwebSession::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GETWEB_SESSION; - m_scHead.PackData(strData); -} - -void CImRspGetwebSession::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_expiretime; - (*this) << FT_STRING; - (*this) << m_sessionNo; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetwebSession::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetwebSession::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_expiretime; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionNo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetwebSession::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfUpdateUsrextinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_UPDATE_USREXTINFO; - m_scHead.PackData(strData); -} - -void CImNtfUpdateUsrextinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_STRING; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_value; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfUpdateUsrextinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfUpdateUsrextinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_value; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfUpdateUsrextinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqUserudbprofile::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_USERUDBPROFILE; - m_scHead.PackData(strData); -} - -void CImReqUserudbprofile::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_uid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqUserudbprofile::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqUserudbprofile::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - try - { - uint8_t num; - (*this) >> num; - CFieldType field; - if(num < 1) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqUserudbprofile::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspUserudbprofile::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_USERUDBPROFILE; - m_scHead.PackData(strData); -} - -void CImRspUserudbprofile::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_profilelist.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_profilelist.begin(); itr != m_profilelist.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - (*this) << FT_STRING; - (*this) << m_uid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspUserudbprofile::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspUserudbprofile::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_profilelist[key] = value; - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspUserudbprofile::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqUpdateUdbprofile::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_UPDATE_UDBPROFILE; - m_scHead.PackData(strData); -} - -void CImReqUpdateUdbprofile::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_profilelist.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_profilelist.begin(); itr != m_profilelist.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqUpdateUdbprofile::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqUpdateUdbprofile::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_profilelist[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqUpdateUdbprofile::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspUpdateUdbprofile::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_UPDATE_UDBPROFILE; - m_scHead.PackData(strData); -} - -void CImRspUpdateUdbprofile::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_uid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspUpdateUdbprofile::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspUpdateUdbprofile::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspUpdateUdbprofile::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGetDegree::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GET_DEGREE; - m_scHead.PackData(strData); -} - -void CImReqGetDegree::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetDegree::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetDegree::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetDegree::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetDegree::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GET_DEGREE; - m_scHead.PackData(strData); -} - -void CImRspGetDegree::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_userLevel; - (*this) << FT_UINT32; - (*this) << m_totalDegree; - (*this) << FT_UINT32; - (*this) << m_needDegree; - (*this) << FT_VECTOR; - (*this) << FT_UINT8; - { - uint32_t nLen = m_showCount.size(); - (*this) << nLen; - VECTOR< uint8_t >::const_iterator itr; - for(itr = m_showCount.cbegin(); itr != m_showCount.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetDegree::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetDegree::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 6) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userLevel; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_totalDegree; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_needDegree; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_showCount.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - uint8_t tmpVal; - (*this) >> tmpVal; - m_showCount.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetDegree::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqPeerVerifyConfig::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_PEER_VERIFY_CONFIG; - m_scHead.PackData(strData); -} - -void CImReqPeerVerifyConfig::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_clientid; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_UINT32; - (*this) << m_supportFlag; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqPeerVerifyConfig::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqPeerVerifyConfig::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_clientid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - try - { - if(num < 3) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_supportFlag; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqPeerVerifyConfig::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspPeerVerifyConfig::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_PEER_VERIFY_CONFIG; - m_scHead.PackData(strData); -} - -void CImRspPeerVerifyConfig::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_UINT8; - (*this) << m_clientid; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_retlongid; - (*this) << FT_STRING; - (*this) << m_retshowname; - (*this) << FT_STRING; - (*this) << m_question; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspPeerVerifyConfig::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspPeerVerifyConfig::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_clientid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retlongid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retshowname; - try - { - if(num < 6) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_question; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspPeerVerifyConfig::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqCheckAuthcode::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHECK_AUTHCODE; - m_scHead.PackData(strData); -} - -void CImReqCheckAuthcode::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_sessionId; - (*this) << FT_STRING; - (*this) << m_authCode; - (*this) << FT_UINT8; - (*this) << m_mode; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqCheckAuthcode::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqCheckAuthcode::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_authCode; - try - { - if(num < 3) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_mode; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqCheckAuthcode::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspCheckAuthcode::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHECK_AUTHCODE; - m_scHead.PackData(strData); -} - -void CImRspCheckAuthcode::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_sessionId; - (*this) << FT_STRING; - (*this) << m_authCode; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspCheckAuthcode::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspCheckAuthcode::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_authCode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspCheckAuthcode::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfNeedAuthcode::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_NEED_AUTHCODE; - m_scHead.PackData(strData); -} - -void CImNtfNeedAuthcode::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_origPacket; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfNeedAuthcode::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfNeedAuthcode::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_origPacket; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfNeedAuthcode::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqHelpLogin::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_HELP_LOGIN; - m_scHead.PackData(strData); -} - -void CImReqHelpLogin::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_status; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqHelpLogin::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqHelpLogin::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqHelpLogin::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SRecChildId& sRecChildId ) -{ - uint8_t nFieldNum = 2; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData.WriteData(sRecChildId.m_childId, 0, 64); - cPackData << FT_STRING; - cPackData.WriteData(sRecChildId.m_childNick, 0, 32); - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SRecChildId& sRecChildId ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData.ReadData(sRecChildId.m_childId, 64, 0); - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData.ReadData(sRecChildId.m_childNick, 32, 0); - for(int i = 2; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImRspHelpLogin::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_HELP_LOGIN; - m_scHead.PackData(strData); -} - -void CImRspHelpLogin::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_mulStatus; - (*this) << FT_STRING; - WriteData(m_parentUid, 0, 64); - (*this) << (FIELDTYPE)(FT_VECTOR + 2); - (*this) << FT_STRUCT; - { - uint16_t nLen = (uint16_t)m_childList.size(); - (*this) << nLen; - VECTOR< SRecChildId >::const_iterator itr; - for(itr = m_childList.cbegin(); itr != m_childList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspHelpLogin::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspHelpLogin::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_mulStatus; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_parentUid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint16_t nSize; - (*this) >> nSize; - m_childList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SRecChildId tmpVal; - (*this) >> tmpVal; - m_childList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspHelpLogin::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqHelpChgSrvMode::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_HELP_CHG_SRV_MODE; - m_scHead.PackData(strData); -} - -void CImReqHelpChgSrvMode::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_status; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqHelpChgSrvMode::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqHelpChgSrvMode::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqHelpChgSrvMode::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspHelpChgSrvMode::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_HELP_CHG_SRV_MODE; - m_scHead.PackData(strData); -} - -void CImRspHelpChgSrvMode::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_retcode; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspHelpChgSrvMode::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspHelpChgSrvMode::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspHelpChgSrvMode::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqHelpSetShareCid::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_HELP_SET_SHARE_CID; - m_scHead.PackData(strData); -} - -void CImReqHelpSetShareCid::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_cid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_type; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqHelpSetShareCid::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqHelpSetShareCid::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_cid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqHelpSetShareCid::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspHelpSetShareCid::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_HELP_SET_SHARE_CID; - m_scHead.PackData(strData); -} - -void CImRspHelpSetShareCid::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_retcode; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspHelpSetShareCid::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspHelpSetShareCid::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspHelpSetShareCid::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqHelpGetShareCid::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_HELP_GET_SHARE_CID; - m_scHead.PackData(strData); -} - -void CImReqHelpGetShareCid::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_cid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_type; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqHelpGetShareCid::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqHelpGetShareCid::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_cid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqHelpGetShareCid::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspHelpGetShareCid::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_HELP_GET_SHARE_CID; - m_scHead.PackData(strData); -} - -void CImRspHelpGetShareCid::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_cid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_shared; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspHelpGetShareCid::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspHelpGetShareCid::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_cid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_shared; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspHelpGetShareCid::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqHelpGetChildOnline::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_HELP_GET_CHILD_ONLINE; - m_scHead.PackData(strData); -} - -void CImReqHelpGetChildOnline::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_cid, 0, 64); - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqHelpGetChildOnline::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqHelpGetChildOnline::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_cid, 64, 0); - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqHelpGetChildOnline::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspHelpGetChildOnline::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_HELP_GET_CHILD_ONLINE; - m_scHead.PackData(strData); -} - -void CImRspHelpGetChildOnline::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_cid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_basic; - (*this) << FT_STRING; - WriteData(m_statusdef, 0, 64); - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspHelpGetChildOnline::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspHelpGetChildOnline::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_cid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_basic; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_statusdef, 64, 0); - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspHelpGetChildOnline::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqHelpGetOnlinechilds::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_HELP_GET_ONLINECHILDS; - m_scHead.PackData(strData); -} - -void CImReqHelpGetOnlinechilds::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_status; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqHelpGetOnlinechilds::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqHelpGetOnlinechilds::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqHelpGetOnlinechilds::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspHelpGetOnlinechilds::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_HELP_GET_ONLINECHILDS; - m_scHead.PackData(strData); -} - -void CImRspHelpGetOnlinechilds::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << (FIELDTYPE)(FT_VECTOR + 2); - (*this) << FT_STRUCT; - { - uint16_t nLen = (uint16_t)m_childList.size(); - (*this) << nLen; - VECTOR< SRecChildId >::const_iterator itr; - for(itr = m_childList.cbegin(); itr != m_childList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspHelpGetOnlinechilds::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspHelpGetOnlinechilds::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint16_t nSize; - (*this) >> nSize; - m_childList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SRecChildId tmpVal; - (*this) >> tmpVal; - m_childList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspHelpGetOnlinechilds::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqHelpGetServices::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_HELP_GET_SERVICES; - m_scHead.PackData(strData); -} - -void CImReqHelpGetServices::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_fid, 0, 64); - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqHelpGetServices::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqHelpGetServices::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_fid, 64, 0); - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqHelpGetServices::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspHelpGetServices::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_HELP_GET_SERVICES; - m_scHead.PackData(strData); -} - -void CImRspHelpGetServices::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_UINT32; - { - uint32_t nLen = m_serviceList.size(); - (*this) << nLen; - VECTOR< uint32_t >::const_iterator itr; - for(itr = m_serviceList.cbegin(); itr != m_serviceList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspHelpGetServices::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspHelpGetServices::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_serviceList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - uint32_t tmpVal; - (*this) >> tmpVal; - m_serviceList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspHelpGetServices::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqHelpGetBindTo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_HELP_GET_BIND_TO; - m_scHead.PackData(strData); -} - -void CImReqHelpGetBindTo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqHelpGetBindTo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqHelpGetBindTo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqHelpGetBindTo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspHelpGetBindTo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_HELP_GET_BIND_TO; - m_scHead.PackData(strData); -} - -void CImRspHelpGetBindTo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - WriteData(m_uidBinded, 0, 64); - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspHelpGetBindTo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspHelpGetBindTo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uidBinded, 64, 0); - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspHelpGetBindTo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqHelpChgServiceNum::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_HELP_CHG_SERVICE_NUM; - m_scHead.PackData(strData); -} - -void CImReqHelpChgServiceNum::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_childId, 0, 64); - (*this) << FT_STRING; - WriteData(m_contactId, 0, 64); - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_UINT8; - (*this) << m_localNum; - (*this) << FT_UINT32; - (*this) << m_localTime; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqHelpChgServiceNum::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqHelpChgServiceNum::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 6) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_childId, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_contactId, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_localNum; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_localTime; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqHelpChgServiceNum::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspHelpChgServiceNum::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_HELP_CHG_SERVICE_NUM; - m_scHead.PackData(strData); -} - -void CImRspHelpChgServiceNum::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)7; - (*this) << FT_UINT8; - (*this) << m_status; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_childId, 0, 64); - (*this) << FT_STRING; - WriteData(m_contactId, 0, 64); - (*this) << FT_UINT8; - (*this) << m_serviceNum; - (*this) << FT_UINT32; - (*this) << m_serviceTime; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspHelpChgServiceNum::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspHelpChgServiceNum::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 7) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_childId, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_contactId, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serviceNum; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serviceTime; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspHelpChgServiceNum::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSendWatchInfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SEND_WATCH_INFO; - m_scHead.PackData(strData); -} - -void CImReqSendWatchInfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSendWatchInfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSendWatchInfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSendWatchInfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfWatchInfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_WATCH_INFO; - m_scHead.PackData(strData); -} - -void CImNtfWatchInfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfWatchInfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfWatchInfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfWatchInfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfRefreshContact::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_REFRESH_CONTACT; - m_scHead.PackData(strData); -} - -void CImNtfRefreshContact::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_STRING; - (*this) << m_nickName; - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfRefreshContact::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfRefreshContact::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_nickName; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfRefreshContact::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfFeeds::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_FEEDS; - m_scHead.PackData(strData); -} - -void CImNtfFeeds::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - WriteData(m_site, 0, 8); - (*this) << FT_STRING; - (*this) << m_fromId; - (*this) << FT_UINT32; - (*this) << m_createTime; - (*this) << FT_STRING; - (*this) << m_content; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfFeeds::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfFeeds::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_site, 8, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_createTime; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_content; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfFeeds::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfUserSnsinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_USER_SNSINFO; - m_scHead.PackData(strData); -} - -void CImNtfUserSnsinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_fromId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_info.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_info.begin(); itr != m_info.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfUserSnsinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfUserSnsinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_info[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfUserSnsinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGetSipSessionid::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GET_SIP_SESSIONID; - m_scHead.PackData(strData); -} - -void CImReqGetSipSessionid::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_appId; - (*this) << FT_STRING; - (*this) << m_type; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetSipSessionid::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetSipSessionid::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_appId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetSipSessionid::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetSipSessionid::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GET_SIP_SESSIONID; - m_scHead.PackData(strData); -} - -void CImRspGetSipSessionid::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_appId; - (*this) << FT_STRING; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_sessionId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetSipSessionid::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetSipSessionid::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_appId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetSipSessionid::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqHelpGetBuddyStatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_HELP_GET_BUDDY_STATUS; - m_scHead.PackData(strData); -} - -void CImReqHelpGetBuddyStatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_status; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqHelpGetBuddyStatus::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqHelpGetBuddyStatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqHelpGetBuddyStatus::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SRecChildIdStatus& sRecChildIdStatus ) -{ - uint8_t nFieldNum = 6; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData.WriteData(sRecChildIdStatus.m_childId, 0, 64); - cPackData << FT_UINT8; - cPackData << sRecChildIdStatus.m_onlineStatus; - cPackData << FT_UINT8; - cPackData << sRecChildIdStatus.m_serviceStatus; - cPackData << FT_UINT16; - cPackData << sRecChildIdStatus.m_reserved1; - cPackData << FT_UINT16; - cPackData << sRecChildIdStatus.m_reserved2; - cPackData << FT_UINT16; - cPackData << sRecChildIdStatus.m_reserved3; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SRecChildIdStatus& sRecChildIdStatus ) -{ - uint8_t num; - cPackData >> num; - if(num < 6) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData.ReadData(sRecChildIdStatus.m_childId, 64, 0); - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sRecChildIdStatus.m_onlineStatus; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sRecChildIdStatus.m_serviceStatus; - cPackData >> field; - if(field.m_baseType != FT_UINT16) throw PACK_TYPEMATCH_ERROR; - cPackData >> sRecChildIdStatus.m_reserved1; - cPackData >> field; - if(field.m_baseType != FT_UINT16) throw PACK_TYPEMATCH_ERROR; - cPackData >> sRecChildIdStatus.m_reserved2; - cPackData >> field; - if(field.m_baseType != FT_UINT16) throw PACK_TYPEMATCH_ERROR; - cPackData >> sRecChildIdStatus.m_reserved3; - for(int i = 6; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImRspHelpGetBuddyStatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_HELP_GET_BUDDY_STATUS; - m_scHead.PackData(strData); -} - -void CImRspHelpGetBuddyStatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << (FIELDTYPE)(FT_VECTOR + 2); - (*this) << FT_STRUCT; - { - uint16_t nLen = (uint16_t)m_childList.size(); - (*this) << nLen; - VECTOR< SRecChildIdStatus >::const_iterator itr; - for(itr = m_childList.cbegin(); itr != m_childList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspHelpGetBuddyStatus::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspHelpGetBuddyStatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint16_t nSize; - (*this) >> nSize; - m_childList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SRecChildIdStatus tmpVal; - (*this) >> tmpVal; - m_childList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspHelpGetBuddyStatus::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SRecentNode& sRecentNode ) -{ - uint8_t nFieldNum = 5; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sRecentNode.m_contactId; - cPackData << FT_UINT32; - cPackData << sRecentNode.m_sendTime; - cPackData << FT_UINT32; - cPackData << sRecentNode.m_recvTime; - cPackData << FT_UINT32; - cPackData << sRecentNode.m_recvFlag; - cPackData << FT_UINT32; - cPackData << sRecentNode.m_sendFlag; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SRecentNode& sRecentNode ) -{ - uint8_t num; - cPackData >> num; - if(num < 5) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sRecentNode.m_contactId; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sRecentNode.m_sendTime; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sRecentNode.m_recvTime; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sRecentNode.m_recvFlag; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sRecentNode.m_sendFlag; - for(int i = 5; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImNtfRecent::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_RECENT; - m_scHead.PackData(strData); -} - -void CImNtfRecent::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_timeStamp; - (*this) << FT_UINT32; - (*this) << m_opType; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_recentList.size(); - (*this) << nLen; - VECTOR< SRecentNode >::const_iterator itr; - for(itr = m_recentList.cbegin(); itr != m_recentList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfRecent::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfRecent::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timeStamp; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_opType; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_recentList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SRecentNode tmpVal; - (*this) >> tmpVal; - m_recentList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfRecent::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqAddcontactNew::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ADDCONTACT_NEW; - m_scHead.PackData(strData); -} - -void CImReqAddcontactNew::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRUCT; - (*this) << m_contact; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_UINT32; - (*this) << m_supportFlag; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAddcontactNew::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAddcontactNew::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contact; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_supportFlag; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAddcontactNew::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspAddcontactNew::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_ADDCONTACT_NEW; - m_scHead.PackData(strData); -} - -void CImRspAddcontactNew::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)7; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRUCT; - (*this) << m_contact; - (*this) << FT_UINT32; - (*this) << m_timestamp; - (*this) << FT_STRING; - (*this) << m_companyname; - (*this) << FT_STRING; - (*this) << m_question; - (*this) << FT_STRING; - (*this) << m_answer; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspAddcontactNew::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspAddcontactNew::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contact; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_companyname; - try - { - if(num < 6) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_question; - if(num < 7) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_answer; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspAddcontactNew::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqAddcntackNew::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ADDCNTACK_NEW; - m_scHead.PackData(strData); -} - -void CImReqAddcntackNew::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_opcode; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_INT64; - (*this) << m_groupId; - (*this) << FT_STRING; - (*this) << m_nickName; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAddcntackNew::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAddcntackNew::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_opcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_nickName; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAddcntackNew::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspAddcntackNew::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_ADDCNTACK_NEW; - m_scHead.PackData(strData); -} - -void CImRspAddcntackNew::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_opcode; - (*this) << FT_INT64; - (*this) << m_groupId; - (*this) << FT_UINT32; - (*this) << m_timestamp; - (*this) << FT_STRING; - (*this) << m_contactId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspAddcntackNew::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspAddcntackNew::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_opcode; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspAddcntackNew::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSearchuser::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SEARCHUSER; - m_scHead.PackData(strData); -} - -void CImReqSearchuser::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT32; - (*this) << m_timestamp; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_UINT8; - (*this) << m_syncacc; - (*this) << FT_STRING; - (*this) << m_reserve; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSearchuser::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSearchuser::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_syncacc; - try - { - if(num < 5) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_reserve; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSearchuser::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SSearchUserinfo& sSearchUserinfo ) -{ - uint8_t nFieldNum = 6; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sSearchUserinfo.m_contactId; - cPackData << FT_STRING; - cPackData << sSearchUserinfo.m_nickName; - cPackData << FT_UINT8; - cPackData << sSearchUserinfo.m_age; - cPackData << FT_UINT8; - cPackData << sSearchUserinfo.m_gender; - cPackData << FT_STRING; - cPackData << sSearchUserinfo.m_city; - cPackData << FT_UINT8; - cPackData << sSearchUserinfo.m_basicStatus; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SSearchUserinfo& sSearchUserinfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 6) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSearchUserinfo.m_contactId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSearchUserinfo.m_nickName; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSearchUserinfo.m_age; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSearchUserinfo.m_gender; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSearchUserinfo.m_city; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSearchUserinfo.m_basicStatus; - for(int i = 6; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImRspSearchuser::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SEARCHUSER; - m_scHead.PackData(strData); -} - -void CImRspSearchuser::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< SSearchUserinfo >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_timestamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSearchuser::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSearchuser::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SSearchUserinfo tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSearchuser::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSearchuserex::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SEARCHUSEREX; - m_scHead.PackData(strData); -} - -void CImReqSearchuserex::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)8; - (*this) << FT_UINT32; - (*this) << m_timestamp; - (*this) << FT_STRING; - (*this) << m_site; - (*this) << FT_STRING; - (*this) << m_country; - (*this) << FT_STRING; - (*this) << m_province; - (*this) << FT_STRING; - (*this) << m_city; - (*this) << FT_UINT8; - (*this) << m_gender; - (*this) << FT_UINT32; - (*this) << m_age; - (*this) << FT_STRING; - (*this) << m_job; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSearchuserex::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSearchuserex::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 8) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timestamp; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_site; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_country; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_province; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_city; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_gender; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_age; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_job; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSearchuserex::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SEChildId& sEChildId ) -{ - uint8_t nFieldNum = 8; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData.WriteData(sEChildId.m_childId, 0, 64); - cPackData << FT_STRING; - cPackData.WriteData(sEChildId.m_childNick, 0, 32); - cPackData << FT_UINT8; - cPackData << sEChildId.m_basicStatus; - cPackData << FT_UINT8; - cPackData << sEChildId.m_predefStatus; - cPackData << FT_UINT8; - cPackData << sEChildId.m_onServer; - cPackData << FT_UINT16; - cPackData << sEChildId.m_maxService; - cPackData << FT_UINT16; - cPackData << sEChildId.m_curService; - cPackData << FT_UINT16; - cPackData << sEChildId.m_reserved; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SEChildId& sEChildId ) -{ - uint8_t num; - cPackData >> num; - if(num < 8) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData.ReadData(sEChildId.m_childId, 64, 0); - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData.ReadData(sEChildId.m_childNick, 32, 0); - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sEChildId.m_basicStatus; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sEChildId.m_predefStatus; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sEChildId.m_onServer; - cPackData >> field; - if(field.m_baseType != FT_UINT16) throw PACK_TYPEMATCH_ERROR; - cPackData >> sEChildId.m_maxService; - cPackData >> field; - if(field.m_baseType != FT_UINT16) throw PACK_TYPEMATCH_ERROR; - cPackData >> sEChildId.m_curService; - cPackData >> field; - if(field.m_baseType != FT_UINT16) throw PACK_TYPEMATCH_ERROR; - cPackData >> sEChildId.m_reserved; - for(int i = 8; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImReqEhelpLogin::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_EHELP_LOGIN; - m_scHead.PackData(strData); -} - -void CImReqEhelpLogin::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_fid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_reserved; - (*this) << FT_UINT8; - (*this) << m_status; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqEhelpLogin::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqEhelpLogin::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_fid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_reserved; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqEhelpLogin::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspEhelpLogin::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_EHELP_LOGIN; - m_scHead.PackData(strData); -} - -void CImRspEhelpLogin::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_mulStatus; - (*this) << FT_STRING; - WriteData(m_parentUid, 0, 64); - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspEhelpLogin::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspEhelpLogin::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_mulStatus; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_parentUid, 64, 0); - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspEhelpLogin::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqEhelpGetBuddys::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_EHELP_GET_BUDDYS; - m_scHead.PackData(strData); -} - -void CImReqEhelpGetBuddys::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_fid, 0, 64); - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqEhelpGetBuddys::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqEhelpGetBuddys::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_fid, 64, 0); - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqEhelpGetBuddys::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspEhelpGetBuddys::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_EHELP_GET_BUDDYS; - m_scHead.PackData(strData); -} - -void CImRspEhelpGetBuddys::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << (FIELDTYPE)(FT_VECTOR + 2); - (*this) << FT_STRUCT; - { - uint16_t nLen = (uint16_t)m_childList.size(); - (*this) << nLen; - VECTOR< SEChildId >::const_iterator itr; - for(itr = m_childList.cbegin(); itr != m_childList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspEhelpGetBuddys::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspEhelpGetBuddys::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint16_t nSize; - (*this) >> nSize; - m_childList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SEChildId tmpVal; - (*this) >> tmpVal; - m_childList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspEhelpGetBuddys::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqEhelpSendMsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_EHELP_SEND_MSG; - m_scHead.PackData(strData); -} - -void CImReqEhelpSendMsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)7; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_fid, 0, 64); - (*this) << FT_STRING; - WriteData(m_targetId, 0, 64); - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_UINT16; - (*this) << m_cmdType; - (*this) << FT_UINT32; - (*this) << m_servNum; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqEhelpSendMsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqEhelpSendMsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 7) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_fid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_targetId, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_cmdType; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_servNum; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqEhelpSendMsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspEhelpSendMsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_EHELP_SEND_MSG; - m_scHead.PackData(strData); -} - -void CImRspEhelpSendMsg::PackBody(string& strData) -{ -} - -void CImRspEhelpSendMsg::PackData(string& strData, const string& strKey) -{ - PackHead(strData); -} - -PACKRETCODE CImRspEhelpSendMsg::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CImRspEhelpSendMsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - return PACK_RIGHT; -} - -void CImReqEhelpSendCmd::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_EHELP_SEND_CMD; - m_scHead.PackData(strData); -} - -void CImReqEhelpSendCmd::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_fid, 0, 64); - (*this) << FT_STRING; - WriteData(m_targetId, 0, 64); - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_UINT8; - (*this) << m_cmdId; - (*this) << FT_STRING; - (*this) << m_xmlCmd; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqEhelpSendCmd::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqEhelpSendCmd::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 6) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_fid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_targetId, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_cmdId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_xmlCmd; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqEhelpSendCmd::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspEhelpSendCmd::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_EHELP_SEND_CMD; - m_scHead.PackData(strData); -} - -void CImRspEhelpSendCmd::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT8; - (*this) << m_retcode; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspEhelpSendCmd::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspEhelpSendCmd::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspEhelpSendCmd::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqEhelpChgSrvMode::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_EHELP_CHG_SRV_MODE; - m_scHead.PackData(strData); -} - -void CImReqEhelpChgSrvMode::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_fid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_status; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqEhelpChgSrvMode::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqEhelpChgSrvMode::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_fid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqEhelpChgSrvMode::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspEhelpChgSrvMode::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_EHELP_CHG_SRV_MODE; - m_scHead.PackData(strData); -} - -void CImRspEhelpChgSrvMode::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_fid, 0, 64); - (*this) << FT_UINT8; - (*this) << m_retcode; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspEhelpChgSrvMode::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspEhelpChgSrvMode::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_fid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspEhelpChgSrvMode::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqEhelpForwardUser::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_EHELP_FORWARD_USER; - m_scHead.PackData(strData); -} - -void CImReqEhelpForwardUser::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_fid, 0, 64); - (*this) << FT_STRING; - WriteData(m_contactId, 0, 64); - (*this) << FT_STRING; - WriteData(m_toChildId, 0, 64); - (*this) << FT_UINT8; - (*this) << m_type; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqEhelpForwardUser::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqEhelpForwardUser::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_fid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_contactId, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_toChildId, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqEhelpForwardUser::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspEhelpForwardUser::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_EHELP_FORWARD_USER; - m_scHead.PackData(strData); -} - -void CImRspEhelpForwardUser::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT8; - (*this) << m_retcode; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspEhelpForwardUser::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspEhelpForwardUser::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspEhelpForwardUser::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqEhelpCloseSession::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_EHELP_CLOSE_SESSION; - m_scHead.PackData(strData); -} - -void CImReqEhelpCloseSession::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_fid, 0, 64); - (*this) << FT_STRING; - WriteData(m_contactId, 0, 64); - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_UINT8; - (*this) << m_localNum; - (*this) << FT_UINT32; - (*this) << m_localTime; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqEhelpCloseSession::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqEhelpCloseSession::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 6) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_fid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_contactId, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_localNum; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_localTime; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqEhelpCloseSession::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspEhelpCloseSession::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_EHELP_CLOSE_SESSION; - m_scHead.PackData(strData); -} - -void CImRspEhelpCloseSession::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)7; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_fid, 0, 64); - (*this) << FT_STRING; - WriteData(m_contactId, 0, 64); - (*this) << FT_UINT8; - (*this) << m_serviceNum; - (*this) << FT_UINT32; - (*this) << m_serviceTime; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspEhelpCloseSession::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspEhelpCloseSession::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 7) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_fid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_contactId, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serviceNum; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serviceTime; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspEhelpCloseSession::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqEhelpGetForward::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_EHELP_GET_FORWARD; - m_scHead.PackData(strData); -} - -void CImReqEhelpGetForward::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - WriteData(m_uid, 0, 64); - (*this) << FT_STRING; - WriteData(m_fid, 0, 64); - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqEhelpGetForward::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqEhelpGetForward::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_uid, 64, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_fid, 64, 0); - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqEhelpGetForward::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspEhelpGetForward::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_EHELP_GET_FORWARD; - m_scHead.PackData(strData); -} - -void CImRspEhelpGetForward::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << (FIELDTYPE)(FT_VECTOR + 2); - (*this) << FT_STRUCT; - { - uint16_t nLen = (uint16_t)m_childList.size(); - (*this) << nLen; - VECTOR< SEChildId >::const_iterator itr; - for(itr = m_childList.cbegin(); itr != m_childList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspEhelpGetForward::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspEhelpGetForward::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint16_t nSize; - (*this) >> nSize; - m_childList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SEChildId tmpVal; - (*this) >> tmpVal; - m_childList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspEhelpGetForward::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspEhelpNotifyMsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_EHELP_NOTIFY_MSG; - m_scHead.PackData(strData); -} - -void CImRspEhelpNotifyMsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_STRING; - (*this) << m_fId; - (*this) << FT_STRING; - (*this) << m_sendId; - (*this) << FT_UINT32; - (*this) << m_sendTime; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_UINT8; - (*this) << m_serverType; - (*this) << FT_UINT16; - (*this) << m_cmdType; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspEhelpNotifyMsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspEhelpNotifyMsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sendId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sendTime; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - try - { - if(num < 5) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serverType; - if(num < 6) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_cmdType; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspEhelpNotifyMsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfSystemmapmessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_SYSTEMMAPMESSAGE; - m_scHead.PackData(strData); -} - -void CImNtfSystemmapmessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_sysId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_message.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_message.begin(); itr != m_message.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - (*this) << FT_STRING; - (*this) << m_extmessage; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfSystemmapmessage::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfSystemmapmessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sysId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_message[key] = value; - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extmessage; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfSystemmapmessage::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - diff --git a/features/aliww/source/imsession.cpp b/features/aliww/source/imsession.cpp deleted file mode 100644 index fce29cc..0000000 --- a/features/aliww/source/imsession.cpp +++ /dev/null @@ -1,911 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `imsession.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__SessionMgr__getUserSession_name = "getUserSession"; - -static const ::std::string __AliIM__SessionMgr__checkUserSession_name = "checkUserSession"; - -static const ::std::string __AliIM__SessionMgr__removeSession_name = "removeSession"; - -static const ::std::string __AliIM__SessionMgr__getUserExistSession_name = "getUserExistSession"; - -void -IceInternal::incRef(::AliIM::SessionMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::SessionMgr* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::SessionMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::SessionMgr* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::SessionMgrPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::SessionMgrPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::SessionMgr; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::SessionMgrPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -AliIM::SIceSession::operator==(const SIceSession& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIM::SIceSession::operator!=(const SIceSession& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(sessionNo != __rhs.sessionNo) - { - return true; - } - if(expiretime != __rhs.expiretime) - { - return true; - } - return false; -} - -bool -AliIM::SIceSession::operator<(const SIceSession& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(sessionNo < __rhs.sessionNo) - { - return true; - } - else if(__rhs.sessionNo < sessionNo) - { - return false; - } - if(expiretime < __rhs.expiretime) - { - return true; - } - else if(__rhs.expiretime < expiretime) - { - return false; - } - return false; -} - -void -AliIM::SIceSession::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(sessionNo); - __os->write(expiretime); -} - -void -AliIM::SIceSession::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(sessionNo); - __is->read(expiretime); -} - -void -AliIM::__addObject(const SessionMgrPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const SessionMgrPtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const SessionMgrPtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(SessionMgrPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::SessionMgr::getUserSession(const ::std::string& uid, ::AliIM::SIceSession& retsession, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__SessionMgr__getUserSession_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::SessionMgr* __del = dynamic_cast< ::IceDelegate::AliIM::SessionMgr*>(__delBase.get()); - return __del->getUserSession(uid, retsession, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::SessionMgr::checkUserSession(const ::std::string& uid, const ::std::string& sessionNo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__SessionMgr__checkUserSession_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::SessionMgr* __del = dynamic_cast< ::IceDelegate::AliIM::SessionMgr*>(__delBase.get()); - return __del->checkUserSession(uid, sessionNo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::SessionMgr::removeSession(const ::std::string& uid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__SessionMgr__removeSession_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::SessionMgr* __del = dynamic_cast< ::IceDelegate::AliIM::SessionMgr*>(__delBase.get()); - return __del->removeSession(uid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::SessionMgr::getUserExistSession(const ::std::string& uid, ::AliIM::SIceSession& retsession, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__SessionMgr__getUserExistSession_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::SessionMgr* __del = dynamic_cast< ::IceDelegate::AliIM::SessionMgr*>(__delBase.get()); - return __del->getUserExistSession(uid, retsession, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::SessionMgr::ice_staticId() -{ - return ::AliIM::SessionMgr::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::SessionMgr::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::SessionMgr); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::SessionMgr::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::SessionMgr); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::SessionMgr& l, const ::IceProxy::AliIM::SessionMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::SessionMgr& l, const ::IceProxy::AliIM::SessionMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::SessionMgr& l, const ::IceProxy::AliIM::SessionMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::SessionMgr& l, const ::IceProxy::AliIM::SessionMgr& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::SessionMgr& l, const ::IceProxy::AliIM::SessionMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::SessionMgr& l, const ::IceProxy::AliIM::SessionMgr& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::SessionMgr::getUserSession(const ::std::string& uid, ::AliIM::SIceSession& retsession, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__SessionMgr__getUserSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - retsession.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::SessionMgr::checkUserSession(const ::std::string& uid, const ::std::string& sessionNo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__SessionMgr__checkUserSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(sessionNo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::SessionMgr::removeSession(const ::std::string& uid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__SessionMgr__removeSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::SessionMgr::getUserExistSession(const ::std::string& uid, ::AliIM::SIceSession& retsession, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__SessionMgr__getUserExistSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - retsession.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::SessionMgr::getUserSession(const ::std::string& uid, ::AliIM::SIceSession& retsession, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__SessionMgr__getUserSession_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::SessionMgr* __servant = dynamic_cast< ::AliIM::SessionMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserSession(uid, retsession, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::SessionMgr::checkUserSession(const ::std::string& uid, const ::std::string& sessionNo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__SessionMgr__checkUserSession_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::SessionMgr* __servant = dynamic_cast< ::AliIM::SessionMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkUserSession(uid, sessionNo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::SessionMgr::removeSession(const ::std::string& uid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__SessionMgr__removeSession_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::SessionMgr* __servant = dynamic_cast< ::AliIM::SessionMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->removeSession(uid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::SessionMgr::getUserExistSession(const ::std::string& uid, ::AliIM::SIceSession& retsession, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__SessionMgr__getUserExistSession_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::SessionMgr* __servant = dynamic_cast< ::AliIM::SessionMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserExistSession(uid, retsession, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::SessionMgr::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__SessionMgr_ids[2] = -{ - "::AliIM::SessionMgr", - "::Ice::Object" -}; - -bool -AliIM::SessionMgr::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__SessionMgr_ids, __AliIM__SessionMgr_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::SessionMgr::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__SessionMgr_ids[0], &__AliIM__SessionMgr_ids[2]); -} - -const ::std::string& -AliIM::SessionMgr::ice_id(const ::Ice::Current&) const -{ - return __AliIM__SessionMgr_ids[0]; -} - -const ::std::string& -AliIM::SessionMgr::ice_staticId() -{ - return __AliIM__SessionMgr_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::SessionMgr::___getUserSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::AliIM::SIceSession retsession; - ::Ice::Int __ret = getUserSession(uid, retsession, __current); - retsession.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::SessionMgr::___checkUserSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string sessionNo; - __is->read(uid); - __is->read(sessionNo); - ::Ice::Int __ret = checkUserSession(uid, sessionNo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::SessionMgr::___removeSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::Int __ret = removeSession(uid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::SessionMgr::___getUserExistSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::AliIM::SIceSession retsession; - ::Ice::Int __ret = getUserExistSession(uid, retsession, __current); - retsession.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__SessionMgr_all[] = -{ - "checkUserSession", - "getUserExistSession", - "getUserSession", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "removeSession" -}; - -::IceInternal::DispatchStatus -AliIM::SessionMgr::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__SessionMgr_all, __AliIM__SessionMgr_all + 8, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__SessionMgr_all) - { - case 0: - { - return ___checkUserSession(in, current); - } - case 1: - { - return ___getUserExistSession(in, current); - } - case 2: - { - return ___getUserSession(in, current); - } - case 3: - { - return ___ice_id(in, current); - } - case 4: - { - return ___ice_ids(in, current); - } - case 5: - { - return ___ice_isA(in, current); - } - case 6: - { - return ___ice_ping(in, current); - } - case 7: - { - return ___removeSession(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::SessionMgr::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::SessionMgr::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::SessionMgr::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::SessionMgr was not generated with stream support"; - throw ex; -} - -void -AliIM::SessionMgr::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::SessionMgr was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__SessionMgrPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::SessionMgrPtr* p = static_cast< ::AliIM::SessionMgrPtr*>(__addr); - assert(p); - *p = ::AliIM::SessionMgrPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::SessionMgr::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::SessionMgr& l, const ::AliIM::SessionMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::SessionMgr& l, const ::AliIM::SessionMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::SessionMgr& l, const ::AliIM::SessionMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::SessionMgr& l, const ::AliIM::SessionMgr& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::SessionMgr& l, const ::AliIM::SessionMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::SessionMgr& l, const ::AliIM::SessionMgr& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/imss_pack.cpp b/features/aliww/source/imss_pack.cpp deleted file mode 100644 index f7858ae..0000000 --- a/features/aliww/source/imss_pack.cpp +++ /dev/null @@ -1,2791 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: imss_pack.cpp -// Date: 2011-01-30 12:49:14 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "imss_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SImMsg& sImMsg ) -{ - cPackData << sImMsg.m_len; - cPackData << sImMsg.m_flag; - cPackData << sImMsg.m_cmdid; - cPackData << sImMsg.m_seqid; - cPackData.WriteData(sImMsg.m_message, 0, sImMsg.m_message.length()); - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SImMsg& sImMsg ) -{ - cPackData >> sImMsg.m_len; - cPackData >> sImMsg.m_flag; - cPackData >> sImMsg.m_cmdid; - cPackData >> sImMsg.m_seqid; - cPackData.ReadData(sImMsg.m_message, 0, 0); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const SIpBlackSs& sIpBlackSs ) -{ - uint8_t nFieldNum = 4; - cPackData << nFieldNum; - cPackData << FT_UINT32; - cPackData << sIpBlackSs.m_ip; - cPackData << FT_UINT32; - cPackData << sIpBlackSs.m_starttime; - cPackData << FT_UINT32; - cPackData << sIpBlackSs.m_lasttime; - cPackData << FT_UINT32; - cPackData << sIpBlackSs.m_netmask; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SIpBlackSs& sIpBlackSs ) -{ - uint8_t num; - cPackData >> num; - if(num < 4) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sIpBlackSs.m_ip; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sIpBlackSs.m_starttime; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sIpBlackSs.m_lasttime; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sIpBlackSs.m_netmask; - for(int i = 4; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const SEhmsGroupStatus& sEhmsGroupStatus ) -{ - uint8_t nFieldNum = 5; - do { - if(sEhmsGroupStatus.m_predefsts == 0) - nFieldNum--; - else - break; - if(sEhmsGroupStatus.m_status == 0) - nFieldNum--; - else - break; - if(sEhmsGroupStatus.m_groupId == 0) - nFieldNum--; - else - break; - } while(0); - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sEhmsGroupStatus.m_userId; - cPackData << FT_STRING; - cPackData << sEhmsGroupStatus.m_groupName; - if(nFieldNum == 2) - return cPackData; - cPackData << FT_UINT32; - cPackData << sEhmsGroupStatus.m_groupId; - if(nFieldNum == 3) - return cPackData; - cPackData << FT_UINT8; - cPackData << sEhmsGroupStatus.m_status; - if(nFieldNum == 4) - return cPackData; - cPackData << FT_UINT8; - cPackData << sEhmsGroupStatus.m_predefsts; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SEhmsGroupStatus& sEhmsGroupStatus ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sEhmsGroupStatus.m_userId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sEhmsGroupStatus.m_groupName; - try - { - if(num < 3) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sEhmsGroupStatus.m_groupId; - if(num < 4) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sEhmsGroupStatus.m_status; - if(num < 5) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sEhmsGroupStatus.m_predefsts; - } - catch(PACKRETCODE) - { - return cPackData; - } - for(int i = 5; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImSsSendimmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_SENDIMMSG; - m_ssHead.PackData(strData); -} - -void CImSsSendimmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)7; - (*this) << FT_STRING; - (*this) << m_senduid; - (*this) << FT_STRING; - (*this) << m_touid; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_UINT8; - (*this) << m_esshiftflag; - (*this) << FT_UINT8; - (*this) << m_relationship; - (*this) << FT_UINT32; - (*this) << m_uniqtime; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsSendimmsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsSendimmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_senduid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_touid; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - try - { - if(num < 5) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_esshiftflag; - if(num < 6) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_relationship; - if(num < 7) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uniqtime; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsSendimmsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsForcedisconnect::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_FORCEDISCONNECT; - m_ssHead.PackData(strData); -} - -void CImSsForcedisconnect::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_UINT8; - (*this) << m_type; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsForcedisconnect::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsForcedisconnect::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsForcedisconnect::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsNtfusrstatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_NTFUSRSTATUS; - m_ssHead.PackData(strData); -} - -void CImSsNtfusrstatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_UINT8; - (*this) << m_basicstatus; - (*this) << FT_UINT8; - (*this) << m_predefstatus; - (*this) << FT_UINT32; - (*this) << m_clinetip; - (*this) << FT_STRING; - (*this) << m_version; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsNtfusrstatus::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsNtfusrstatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_basicstatus; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_predefstatus; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_clinetip; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsNtfusrstatus::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsReqPeerinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_REQ_PEERINFO; - m_ssHead.PackData(strData); -} - -void CImSsReqPeerinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_targetUid; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsReqPeerinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsReqPeerinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_targetUid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsReqPeerinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsRspPeerinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_RSP_PEERINFO; - m_ssHead.PackData(strData); -} - -void CImSsRspPeerinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)9; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_targetId; - (*this) << FT_UINT32; - (*this) << m_clinetip; - (*this) << FT_STRING; - (*this) << m_version; - (*this) << FT_UINT8; - (*this) << m_basicStatus; - (*this) << FT_UINT8; - (*this) << m_predefStatus; - (*this) << FT_UINT8; - (*this) << m_addcontactFlag; - (*this) << FT_UINT8; - (*this) << m_sendmsgFlag; - (*this) << FT_UINT8; - (*this) << m_reverseContact; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsRspPeerinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsRspPeerinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 9) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_targetId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_clinetip; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_basicStatus; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_predefStatus; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_addcontactFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sendmsgFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_reverseContact; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsRspPeerinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsNtfusrextinfoup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_NTFUSREXTINFOUP; - m_ssHead.PackData(strData); -} - -void CImSsNtfusrextinfoup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_extType; - (*this) << FT_STRING; - (*this) << m_extInfo; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsNtfusrextinfoup::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsNtfusrextinfoup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extType; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extInfo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsNtfusrextinfoup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsReqFtsaddr::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_REQ_FTSADDR; - m_ssHead.PackData(strData); -} - -void CImSsReqFtsaddr::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_sessionId; - (*this) << FT_UINT16; - (*this) << m_type; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsReqFtsaddr::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsReqFtsaddr::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionId; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsReqFtsaddr::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsRspFtsaddr::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_RSP_FTSADDR; - m_ssHead.PackData(strData); -} - -void CImSsRspFtsaddr::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_serverIp; - (*this) << FT_UINT16; - (*this) << m_serverPort; - (*this) << FT_STRING; - (*this) << m_sessionId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsRspFtsaddr::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsRspFtsaddr::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serverIp; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serverPort; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsRspFtsaddr::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsReqSubcribeMsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_REQ_SUBCRIBE_MSG; - m_ssHead.PackData(strData); -} - -void CImSsReqSubcribeMsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_msg; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_htmlMsg.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_htmlMsg.begin(); itr != m_htmlMsg.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsReqSubcribeMsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsReqSubcribeMsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msg; - try - { - if(num < 2) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_htmlMsg[key] = value; - } - } - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsReqSubcribeMsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsRspSubcribeMsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_RSP_SUBCRIBE_MSG; - m_ssHead.PackData(strData); -} - -void CImSsRspSubcribeMsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT8; - (*this) << m_status; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsRspSubcribeMsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsRspSubcribeMsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsRspSubcribeMsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImReqSystemmessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_REQ_SYSTEMMESSAGE; - m_ssHead.PackData(strData); -} - -void CImReqSystemmessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_STRING; - (*this) << m_touid; - (*this) << FT_UINT8; - (*this) << m_saveflag; - (*this) << FT_UINT32; - (*this) << m_sysid; - (*this) << FT_UINT16; - (*this) << m_cmdId; - (*this) << FT_STRING; - (*this) << m_style; - (*this) << FT_STRING; - (*this) << m_message; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSystemmessage::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImReqSystemmessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 6) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_touid; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_saveflag; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sysid; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_cmdId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_style; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSystemmessage::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImRspSystemmessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_RSP_SYSTEMMESSAGE; - m_ssHead.PackData(strData); -} - -void CImRspSystemmessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_touid; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSystemmessage::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImRspSystemmessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_touid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSystemmessage::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsNtfaddaccept::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_NTFADDACCEPT; - m_ssHead.PackData(strData); -} - -void CImSsNtfaddaccept::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_loginid; - (*this) << FT_STRING; - (*this) << m_contactid; - (*this) << FT_UINT8; - (*this) << m_status; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsNtfaddaccept::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsNtfaddaccept::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_loginid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactid; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsNtfaddaccept::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsNtfforbidip::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_NTFFORBIDIP; - m_ssHead.PackData(strData); -} - -void CImSsNtfforbidip::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << (FIELDTYPE)(FT_VECTOR + 2); - (*this) << FT_STRUCT; - { - uint16_t nLen = (uint16_t)m_blackIpList.size(); - (*this) << nLen; - VECTOR< SIpBlackSs >::const_iterator itr; - for(itr = m_blackIpList.cbegin(); itr != m_blackIpList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsNtfforbidip::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsNtfforbidip::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint16_t nSize; - (*this) >> nSize; - m_blackIpList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SIpBlackSs tmpVal; - (*this) >> tmpVal; - m_blackIpList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsNtfforbidip::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsNtfWatchInfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_NTF_WATCH_INFO; - m_ssHead.PackData(strData); -} - -void CImSsNtfWatchInfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_STRING; - (*this) << m_site; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsNtfWatchInfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsNtfWatchInfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - try - { - if(num < 3) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_site; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsNtfWatchInfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsNtfRefreshContact::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_NTF_REFRESH_CONTACT; - m_ssHead.PackData(strData); -} - -void CSsNtfRefreshContact::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_STRING; - (*this) << m_nickName; - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsNtfRefreshContact::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsNtfRefreshContact::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_nickName; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsNtfRefreshContact::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsNtfFeeds::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_NTF_FEEDS; - m_ssHead.PackData(strData); -} - -void CSsNtfFeeds::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - WriteData(m_site, 0, 8); - (*this) << FT_STRING; - (*this) << m_fromId; - (*this) << FT_UINT32; - (*this) << m_createTime; - (*this) << FT_STRING; - (*this) << m_content; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsNtfFeeds::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsNtfFeeds::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_site, 8, 0); - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_createTime; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_content; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsNtfFeeds::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsNtfUserSnsinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_NTF_USER_SNSINFO; - m_ssHead.PackData(strData); -} - -void CSsNtfUserSnsinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_fromId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_info.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_info.begin(); itr != m_info.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsNtfUserSnsinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsNtfUserSnsinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_info[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsNtfUserSnsinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsNtfAddRcnt::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_NTF_ADD_RCNT; - m_ssHead.PackData(strData); -} - -void CSsNtfAddRcnt::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - (*this) << m_fromId; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_UINT8; - (*this) << m_optime; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_site; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsNtfAddRcnt::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsNtfAddRcnt::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_optime; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_site; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsNtfAddRcnt::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsNtfOperationtip::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_NTF_OPERATIONTIP; - m_ssHead.PackData(strData); -} - -void CImSsNtfOperationtip::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_contactId; - (*this) << FT_STRING; - (*this) << m_ntfmessage; - (*this) << FT_UINT32; - (*this) << m_ntftime; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsNtfOperationtip::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsNtfOperationtip::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_contactId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_ntfmessage; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_ntftime; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsNtfOperationtip::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsNtfEhmsGroupsts::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_NTF_EHMS_GROUPSTS; - m_ssHead.PackData(strData); -} - -void CSsNtfEhmsGroupsts::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRUCT; - (*this) << m_groupSts; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsNtfEhmsGroupsts::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsNtfEhmsGroupsts::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupSts; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsNtfEhmsGroupsts::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsNtfEhmsLogin::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_NTF_EHMS_LOGIN; - m_ssHead.PackData(strData); -} - -void CSsNtfEhmsLogin::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_uid; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsNtfEhmsLogin::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsNtfEhmsLogin::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsNtfEhmsLogin::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsReqGetallehmsgrpsts::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_REQ_GETALLEHMSGRPSTS; - m_ssHead.PackData(strData); -} - -void CSsReqGetallehmsgrpsts::PackBody(string& strData) -{ -} - -void CSsReqGetallehmsgrpsts::PackData(string& strData) -{ - PackHead(strData); -} - -PACKRETCODE CSsReqGetallehmsgrpsts::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CSsReqGetallehmsgrpsts::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsRspGetallehmsgrpsts::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_RSP_GETALLEHMSGRPSTS; - m_ssHead.PackData(strData); -} - -void CSsRspGetallehmsgrpsts::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_groupStsList.size(); - (*this) << nLen; - VECTOR< SEhmsGroupStatus >::const_iterator itr; - for(itr = m_groupStsList.cbegin(); itr != m_groupStsList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsRspGetallehmsgrpsts::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsRspGetallehmsgrpsts::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_groupStsList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SEhmsGroupStatus tmpVal; - (*this) >> tmpVal; - m_groupStsList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsRspGetallehmsgrpsts::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsSendHmsmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_SEND_HMSMSG; - m_ssHead.PackData(strData); -} - -void CImSsSendHmsmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)9; - (*this) << FT_STRING; - (*this) << m_senduid; - (*this) << FT_STRING; - (*this) << m_targetfid; - (*this) << FT_STRING; - (*this) << m_touid; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_UINT16; - (*this) << m_actionType; - (*this) << FT_UINT16; - (*this) << m_cmdType; - (*this) << FT_UINT32; - (*this) << m_reserved; - (*this) << FT_UINT32; - (*this) << m_uniqtime; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsSendHmsmsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsSendHmsmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 9) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_senduid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_targetfid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_touid; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_actionType; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_cmdType; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_reserved; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uniqtime; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsSendHmsmsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImReqSystemmapmessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_REQ_SYSTEMMAPMESSAGE; - m_ssHead.PackData(strData); -} - -void CImReqSystemmapmessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_sysId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_mapmessage.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_mapmessage.begin(); itr != m_mapmessage.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - (*this) << FT_STRING; - (*this) << m_extmessage; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSystemmapmessage::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImReqSystemmapmessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sysId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_mapmessage[key] = value; - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extmessage; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSystemmapmessage::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImRspSystemmapmessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_RSP_SYSTEMMAPMESSAGE; - m_ssHead.PackData(strData); -} - -void CImRspSystemmapmessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT32; - (*this) << m_sysId; - (*this) << FT_UINT32; - (*this) << m_status; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSystemmapmessage::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImRspSystemmapmessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sysId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSystemmapmessage::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsNtfWebsysmessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_NTF_WEBSYSMESSAGE; - m_ssHead.PackData(strData); -} - -void CImSsNtfWebsysmessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)8; - (*this) << FT_STRING; - (*this) << m_createid; - (*this) << FT_INT32; - (*this) << m_cmdid; - (*this) << FT_STRING; - (*this) << m_style; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_STRING; - (*this) << m_serviceid; - (*this) << FT_STRING; - (*this) << m_webid; - (*this) << FT_UINT16; - (*this) << m_saveflag; - (*this) << FT_STRING; - (*this) << m_expiretime; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsNtfWebsysmessage::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsNtfWebsysmessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 8) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_createid; - (*this) >> field; - if(field.m_baseType != FT_INT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_cmdid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_style; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serviceid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_webid; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_saveflag; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_expiretime; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsNtfWebsysmessage::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsNtfWebusermessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_NTF_WEBUSERMESSAGE; - m_ssHead.PackData(strData); -} - -void CImSsNtfWebusermessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - (*this) << m_fromId; - (*this) << FT_INT32; - (*this) << m_cmdId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_info.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_info.begin(); itr != m_info.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - (*this) << FT_STRING; - (*this) << m_serviceid; - (*this) << FT_STRING; - (*this) << m_webid; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImSsNtfWebusermessage::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CImSsNtfWebusermessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromId; - (*this) >> field; - if(field.m_baseType != FT_INT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_cmdId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_info[key] = value; - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_serviceid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_webid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImSsNtfWebusermessage::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsNtfUnbindDisconnect::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_NTF_UNBIND_DISCONNECT; - m_ssHead.PackData(strData); -} - -void CSsNtfUnbindDisconnect::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_remark; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsNtfUnbindDisconnect::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsNtfUnbindDisconnect::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsNtfUnbindDisconnect::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/infoservice.cpp b/features/aliww/source/infoservice.cpp deleted file mode 100644 index d7ddc26..0000000 --- a/features/aliww/source/infoservice.cpp +++ /dev/null @@ -1,2122 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `infoservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__IUserExtInfoService__getUserExtInfo_name = "getUserExtInfo"; - -static const ::std::string __AliIM__IUserExtInfoService__updateUserExtInfo_name = "updateUserExtInfo"; - -static const ::std::string __AliIM__IUserExtInfoService__notifySpaceOpen_name = "notifySpaceOpen"; - -static const ::std::string __AliIM__IUserExtInfoService__addBlogSign_name = "addBlogSign"; - -static const ::std::string __AliIM__IUserExtInfoService__NotifyPluginMsg_name = "NotifyPluginMsg"; - -static const ::std::string __AliIM__IUserExtInfoService__UpdateSignature_name = "UpdateSignature"; - -static const ::std::string __AliIM__IUserExtInfoService__getBatchSignature_name = "getBatchSignature"; - -static const ::std::string __AliIM__IUserExtInfoService__NotifyUserDoings_name = "NotifyUserDoings"; - -static const ::std::string __AliIM__IUserExtInfoService__NotifyUserDoingsClose_name = "NotifyUserDoingsClose"; - -static const ::std::string __AliIM__IUserExtInfoService__NotifyPluginMsg2_name = "NotifyPluginMsg2"; - -static const ::std::string __AliIM__IUserExtInfoService__getSpaceOpen_name = "getSpaceOpen"; - -static const ::std::string __AliIM__IUserExtInfoService__NotifyUserVip_name = "NotifyUserVip"; - -static const ::std::string __AliIM__IUserExtInfoService__NotifyAppMsg_name = "NotifyAppMsg"; - -void -IceInternal::incRef(::AliIM::IUserExtInfoService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::IUserExtInfoService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::IUserExtInfoService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::IUserExtInfoService* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::IUserExtInfoServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::IUserExtInfoServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::IUserExtInfoService; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::IUserExtInfoServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::KVMAP& v, ::AliIM::__U__KVMAP) -{ - __os->writeSize(::Ice::Int(v.size())); - ::AliIM::KVMAP::const_iterator p; - for(p = v.begin(); p != v.end(); ++p) - { - __os->write(p->first); - __os->write(p->second); - } -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::KVMAP& v, ::AliIM::__U__KVMAP) -{ - ::Ice::Int sz; - __is->readSize(sz); - while(sz--) - { - ::std::pair pair; - __is->read(const_cast< ::std::string&>(pair.first)); - ::AliIM::KVMAP::iterator __i = v.insert(v.end(), pair); - __is->read(__i->second); - } -} - -bool -AliIM::SImSign::operator==(const SImSign& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIM::SImSign::operator!=(const SImSign& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(longuid != __rhs.longuid) - { - return true; - } - if(sign != __rhs.sign) - { - return true; - } - return false; -} - -bool -AliIM::SImSign::operator<(const SImSign& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(longuid < __rhs.longuid) - { - return true; - } - else if(__rhs.longuid < longuid) - { - return false; - } - if(sign < __rhs.sign) - { - return true; - } - else if(__rhs.sign < sign) - { - return false; - } - return false; -} - -void -AliIM::SImSign::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(longuid); - __os->write(sign); -} - -void -AliIM::SImSign::__read(::IceInternal::BasicStream* __is) -{ - __is->read(longuid); - __is->read(sign); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::SImSign* begin, const ::AliIM::SImSign* end, ::AliIM::__U__SIMSignSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::SIMSignSeq& v, ::AliIM::__U__SIMSignSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 2); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIM::__addObject(const IUserExtInfoServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const IUserExtInfoServicePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const IUserExtInfoServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(IUserExtInfoServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::getUserExtInfo(::Ice::Int srvid, const ::std::string& longuid, ::AliIM::KVMAP& attrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__getUserExtInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->getUserExtInfo(srvid, longuid, attrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::updateUserExtInfo(::Ice::Int srvid, const ::std::string& longuid, ::Ice::Int reserved, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__updateUserExtInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->updateUserExtInfo(srvid, longuid, reserved, neednotify, attrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::notifySpaceOpen(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__notifySpaceOpen_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->notifySpaceOpen(longuid, neednotify, attrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::addBlogSign(const ::std::string& longuid, const ::std::string& text, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__addBlogSign_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->addBlogSign(longuid, text, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::NotifyPluginMsg(const ::std::string& longuid, const ::std::string& xmltext, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__NotifyPluginMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->NotifyPluginMsg(longuid, xmltext, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::UpdateSignature(const ::std::string& uid, const ::std::string& xmlsignature, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__UpdateSignature_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->UpdateSignature(uid, xmlsignature, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::getBatchSignature(const ::Ice::StringSeq& uids, ::AliIM::SIMSignSeq& signlist, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__getBatchSignature_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->getBatchSignature(uids, signlist, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::NotifyUserDoings(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__NotifyUserDoings_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->NotifyUserDoings(longuid, neednotify, attrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::NotifyUserDoingsClose(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__NotifyUserDoingsClose_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->NotifyUserDoingsClose(longuid, neednotify, attrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::NotifyPluginMsg2(const ::std::string& longuid, const ::std::string& xmltext, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__NotifyPluginMsg2_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->NotifyPluginMsg2(longuid, xmltext, attrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::getSpaceOpen(const ::std::string& longuid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__getSpaceOpen_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->getSpaceOpen(longuid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::NotifyUserVip(const ::std::string& longuid, ::Ice::Int viplevel, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__NotifyUserVip_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->NotifyUserVip(longuid, viplevel, neednotify, attrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::IUserExtInfoService::NotifyAppMsg(const ::std::string& longUid, const ::std::string& xmlstr, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IUserExtInfoService__NotifyAppMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IUserExtInfoService* __del = dynamic_cast< ::IceDelegate::AliIM::IUserExtInfoService*>(__delBase.get()); - return __del->NotifyAppMsg(longUid, xmlstr, attrs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::IUserExtInfoService::ice_staticId() -{ - return ::AliIM::IUserExtInfoService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::IUserExtInfoService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::IUserExtInfoService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::IUserExtInfoService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::IUserExtInfoService); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::IUserExtInfoService& l, const ::IceProxy::AliIM::IUserExtInfoService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::IUserExtInfoService& l, const ::IceProxy::AliIM::IUserExtInfoService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::IUserExtInfoService& l, const ::IceProxy::AliIM::IUserExtInfoService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::IUserExtInfoService& l, const ::IceProxy::AliIM::IUserExtInfoService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::IUserExtInfoService& l, const ::IceProxy::AliIM::IUserExtInfoService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::IUserExtInfoService& l, const ::IceProxy::AliIM::IUserExtInfoService& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::getUserExtInfo(::Ice::Int srvid, const ::std::string& longuid, ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__getUserExtInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(srvid); - __os->write(longuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIM::__read(__is, attrs, ::AliIM::__U__KVMAP()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::updateUserExtInfo(::Ice::Int srvid, const ::std::string& longuid, ::Ice::Int reserved, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__updateUserExtInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(srvid); - __os->write(longuid); - __os->write(reserved); - __os->write(neednotify); - ::AliIM::__write(__os, attrs, ::AliIM::__U__KVMAP()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::notifySpaceOpen(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__notifySpaceOpen_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - __os->write(neednotify); - ::AliIM::__write(__os, attrs, ::AliIM::__U__KVMAP()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::addBlogSign(const ::std::string& longuid, const ::std::string& text, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__addBlogSign_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - __os->write(text); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::NotifyPluginMsg(const ::std::string& longuid, const ::std::string& xmltext, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__NotifyPluginMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - __os->write(xmltext); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::UpdateSignature(const ::std::string& uid, const ::std::string& xmlsignature, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__UpdateSignature_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(xmlsignature); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::getBatchSignature(const ::Ice::StringSeq& uids, ::AliIM::SIMSignSeq& signlist, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__getBatchSignature_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(uids.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&uids[0], &uids[0] + uids.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIM::__read(__is, signlist, ::AliIM::__U__SIMSignSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::NotifyUserDoings(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__NotifyUserDoings_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - __os->write(neednotify); - ::AliIM::__write(__os, attrs, ::AliIM::__U__KVMAP()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::NotifyUserDoingsClose(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__NotifyUserDoingsClose_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - __os->write(neednotify); - ::AliIM::__write(__os, attrs, ::AliIM::__U__KVMAP()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::NotifyPluginMsg2(const ::std::string& longuid, const ::std::string& xmltext, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__NotifyPluginMsg2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - __os->write(xmltext); - ::AliIM::__write(__os, attrs, ::AliIM::__U__KVMAP()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::getSpaceOpen(const ::std::string& longuid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__getSpaceOpen_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::NotifyUserVip(const ::std::string& longuid, ::Ice::Int viplevel, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__NotifyUserVip_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longuid); - __os->write(viplevel); - __os->write(neednotify); - ::AliIM::__write(__os, attrs, ::AliIM::__U__KVMAP()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::IUserExtInfoService::NotifyAppMsg(const ::std::string& longUid, const ::std::string& xmlstr, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IUserExtInfoService__NotifyAppMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longUid); - __os->write(xmlstr); - ::AliIM::__write(__os, attrs, ::AliIM::__U__KVMAP()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::getUserExtInfo(::Ice::Int srvid, const ::std::string& longuid, ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__getUserExtInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserExtInfo(srvid, longuid, attrs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::updateUserExtInfo(::Ice::Int srvid, const ::std::string& longuid, ::Ice::Int reserved, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__updateUserExtInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateUserExtInfo(srvid, longuid, reserved, neednotify, attrs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::notifySpaceOpen(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__notifySpaceOpen_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->notifySpaceOpen(longuid, neednotify, attrs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::addBlogSign(const ::std::string& longuid, const ::std::string& text, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__addBlogSign_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->addBlogSign(longuid, text, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::NotifyPluginMsg(const ::std::string& longuid, const ::std::string& xmltext, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__NotifyPluginMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->NotifyPluginMsg(longuid, xmltext, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::UpdateSignature(const ::std::string& uid, const ::std::string& xmlsignature, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__UpdateSignature_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateSignature(uid, xmlsignature, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::getBatchSignature(const ::Ice::StringSeq& uids, ::AliIM::SIMSignSeq& signlist, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__getBatchSignature_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getBatchSignature(uids, signlist, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::NotifyUserDoings(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__NotifyUserDoings_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->NotifyUserDoings(longuid, neednotify, attrs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::NotifyUserDoingsClose(const ::std::string& longuid, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__NotifyUserDoingsClose_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->NotifyUserDoingsClose(longuid, neednotify, attrs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::NotifyPluginMsg2(const ::std::string& longuid, const ::std::string& xmltext, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__NotifyPluginMsg2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->NotifyPluginMsg2(longuid, xmltext, attrs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::getSpaceOpen(const ::std::string& longuid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__getSpaceOpen_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getSpaceOpen(longuid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::NotifyUserVip(const ::std::string& longuid, ::Ice::Int viplevel, ::Ice::Int neednotify, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__NotifyUserVip_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->NotifyUserVip(longuid, viplevel, neednotify, attrs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::IUserExtInfoService::NotifyAppMsg(const ::std::string& longUid, const ::std::string& xmlstr, const ::AliIM::KVMAP& attrs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IUserExtInfoService__NotifyAppMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IUserExtInfoService* __servant = dynamic_cast< ::AliIM::IUserExtInfoService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->NotifyAppMsg(longUid, xmlstr, attrs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::IUserExtInfoService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__IUserExtInfoService_ids[2] = -{ - "::AliIM::IUserExtInfoService", - "::Ice::Object" -}; - -bool -AliIM::IUserExtInfoService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__IUserExtInfoService_ids, __AliIM__IUserExtInfoService_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::IUserExtInfoService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__IUserExtInfoService_ids[0], &__AliIM__IUserExtInfoService_ids[2]); -} - -const ::std::string& -AliIM::IUserExtInfoService::ice_id(const ::Ice::Current&) const -{ - return __AliIM__IUserExtInfoService_ids[0]; -} - -const ::std::string& -AliIM::IUserExtInfoService::ice_staticId() -{ - return __AliIM__IUserExtInfoService_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___getUserExtInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int srvid; - ::std::string longuid; - __is->read(srvid); - __is->read(longuid); - ::AliIM::KVMAP attrs; - ::Ice::Int __ret = getUserExtInfo(srvid, longuid, attrs, __current); - ::AliIM::__write(__os, attrs, ::AliIM::__U__KVMAP()); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___updateUserExtInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Int srvid; - ::std::string longuid; - ::Ice::Int reserved; - ::Ice::Int neednotify; - ::AliIM::KVMAP attrs; - __is->read(srvid); - __is->read(longuid); - __is->read(reserved); - __is->read(neednotify); - ::AliIM::__read(__is, attrs, ::AliIM::__U__KVMAP()); - ::Ice::Int __ret = updateUserExtInfo(srvid, longuid, reserved, neednotify, attrs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___notifySpaceOpen(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - ::Ice::Int neednotify; - ::AliIM::KVMAP attrs; - __is->read(longuid); - __is->read(neednotify); - ::AliIM::__read(__is, attrs, ::AliIM::__U__KVMAP()); - ::Ice::Int __ret = notifySpaceOpen(longuid, neednotify, attrs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___addBlogSign(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - ::std::string text; - __is->read(longuid); - __is->read(text); - ::Ice::Int __ret = addBlogSign(longuid, text, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___NotifyPluginMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - ::std::string xmltext; - __is->read(longuid); - __is->read(xmltext); - ::Ice::Int __ret = NotifyPluginMsg(longuid, xmltext, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___UpdateSignature(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string xmlsignature; - __is->read(uid); - __is->read(xmlsignature); - ::Ice::Int __ret = UpdateSignature(uid, xmlsignature, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___getBatchSignature(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::StringSeq uids; - __is->read(uids); - ::AliIM::SIMSignSeq signlist; - ::Ice::Int __ret = getBatchSignature(uids, signlist, __current); - if(signlist.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIM::__write(__os, &signlist[0], &signlist[0] + signlist.size(), ::AliIM::__U__SIMSignSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___NotifyUserDoings(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - ::Ice::Int neednotify; - ::AliIM::KVMAP attrs; - __is->read(longuid); - __is->read(neednotify); - ::AliIM::__read(__is, attrs, ::AliIM::__U__KVMAP()); - ::Ice::Int __ret = NotifyUserDoings(longuid, neednotify, attrs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___NotifyUserDoingsClose(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - ::Ice::Int neednotify; - ::AliIM::KVMAP attrs; - __is->read(longuid); - __is->read(neednotify); - ::AliIM::__read(__is, attrs, ::AliIM::__U__KVMAP()); - ::Ice::Int __ret = NotifyUserDoingsClose(longuid, neednotify, attrs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___NotifyPluginMsg2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - ::std::string xmltext; - ::AliIM::KVMAP attrs; - __is->read(longuid); - __is->read(xmltext); - ::AliIM::__read(__is, attrs, ::AliIM::__U__KVMAP()); - ::Ice::Int __ret = NotifyPluginMsg2(longuid, xmltext, attrs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___getSpaceOpen(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - __is->read(longuid); - ::Ice::Int __ret = getSpaceOpen(longuid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___NotifyUserVip(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longuid; - ::Ice::Int viplevel; - ::Ice::Int neednotify; - ::AliIM::KVMAP attrs; - __is->read(longuid); - __is->read(viplevel); - __is->read(neednotify); - ::AliIM::__read(__is, attrs, ::AliIM::__U__KVMAP()); - ::Ice::Int __ret = NotifyUserVip(longuid, viplevel, neednotify, attrs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::___NotifyAppMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longUid; - ::std::string xmlstr; - ::AliIM::KVMAP attrs; - __is->read(longUid); - __is->read(xmlstr); - ::AliIM::__read(__is, attrs, ::AliIM::__U__KVMAP()); - ::Ice::Int __ret = NotifyAppMsg(longUid, xmlstr, attrs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__IUserExtInfoService_all[] = -{ - "NotifyAppMsg", - "NotifyPluginMsg", - "NotifyPluginMsg2", - "NotifyUserDoings", - "NotifyUserDoingsClose", - "NotifyUserVip", - "UpdateSignature", - "addBlogSign", - "getBatchSignature", - "getSpaceOpen", - "getUserExtInfo", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "notifySpaceOpen", - "updateUserExtInfo" -}; - -::IceInternal::DispatchStatus -AliIM::IUserExtInfoService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__IUserExtInfoService_all, __AliIM__IUserExtInfoService_all + 17, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__IUserExtInfoService_all) - { - case 0: - { - return ___NotifyAppMsg(in, current); - } - case 1: - { - return ___NotifyPluginMsg(in, current); - } - case 2: - { - return ___NotifyPluginMsg2(in, current); - } - case 3: - { - return ___NotifyUserDoings(in, current); - } - case 4: - { - return ___NotifyUserDoingsClose(in, current); - } - case 5: - { - return ___NotifyUserVip(in, current); - } - case 6: - { - return ___UpdateSignature(in, current); - } - case 7: - { - return ___addBlogSign(in, current); - } - case 8: - { - return ___getBatchSignature(in, current); - } - case 9: - { - return ___getSpaceOpen(in, current); - } - case 10: - { - return ___getUserExtInfo(in, current); - } - case 11: - { - return ___ice_id(in, current); - } - case 12: - { - return ___ice_ids(in, current); - } - case 13: - { - return ___ice_isA(in, current); - } - case 14: - { - return ___ice_ping(in, current); - } - case 15: - { - return ___notifySpaceOpen(in, current); - } - case 16: - { - return ___updateUserExtInfo(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::IUserExtInfoService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::IUserExtInfoService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::IUserExtInfoService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::IUserExtInfoService was not generated with stream support"; - throw ex; -} - -void -AliIM::IUserExtInfoService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::IUserExtInfoService was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__IUserExtInfoServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::IUserExtInfoServicePtr* p = static_cast< ::AliIM::IUserExtInfoServicePtr*>(__addr); - assert(p); - *p = ::AliIM::IUserExtInfoServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::IUserExtInfoService::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::IUserExtInfoService& l, const ::AliIM::IUserExtInfoService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::IUserExtInfoService& l, const ::AliIM::IUserExtInfoService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::IUserExtInfoService& l, const ::AliIM::IUserExtInfoService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::IUserExtInfoService& l, const ::AliIM::IUserExtInfoService& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::IUserExtInfoService& l, const ::AliIM::IUserExtInfoService& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::IUserExtInfoService& l, const ::AliIM::IUserExtInfoService& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/login_info_center.cpp b/features/aliww/source/login_info_center.cpp deleted file mode 100644 index 038d10a..0000000 --- a/features/aliww/source/login_info_center.cpp +++ /dev/null @@ -1,1062 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `login_info_center.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __LoginInfoCenter__LoginInfoInterface__SetLoginInfo_name = "SetLoginInfo"; - -static const ::std::string __LoginInfoCenter__LoginInfoInterface__UpdateLoginInfo_name = "UpdateLoginInfo"; - -static const ::std::string __LoginInfoCenter__LoginInfoInterface__DelLoginInfo_name = "DelLoginInfo"; - -static const ::std::string __LoginInfoCenter__LoginInfoInterface__GetLoginInfo_name = "GetLoginInfo"; - -void -IceInternal::incRef(::LoginInfoCenter::LoginInfoInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::LoginInfoCenter::LoginInfoInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::LoginInfoCenter::LoginInfoInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::LoginInfoCenter::LoginInfoInterface* p) -{ - p->__decRef(); -} - -void -LoginInfoCenter::__write(::IceInternal::BasicStream* __os, const ::LoginInfoCenter::LoginInfoInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -LoginInfoCenter::__read(::IceInternal::BasicStream* __is, ::LoginInfoCenter::LoginInfoInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::LoginInfoCenter::LoginInfoInterface; - v->__copyFrom(proxy); - } -} - -void -LoginInfoCenter::__write(::IceInternal::BasicStream* __os, const ::LoginInfoCenter::LoginInfoInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -LoginInfoCenter::SICELoginInfo::operator==(const SICELoginInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -LoginInfoCenter::SICELoginInfo::operator!=(const SICELoginInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(clifd != __rhs.clifd) - { - return true; - } - if(cliip != __rhs.cliip) - { - return true; - } - if(onlineTime != __rhs.onlineTime) - { - return true; - } - if(sysMsgId != __rhs.sysMsgId) - { - return true; - } - if(language != __rhs.language) - { - return true; - } - if(activeState != __rhs.activeState) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - if(userType != __rhs.userType) - { - return true; - } - if(vipType != __rhs.vipType) - { - return true; - } - if(mulMsgFlag != __rhs.mulMsgFlag) - { - return true; - } - if(totalActDegree != __rhs.totalActDegree) - { - return true; - } - if(uid != __rhs.uid) - { - return true; - } - if(deskey != __rhs.deskey) - { - return true; - } - if(version != __rhs.version) - { - return true; - } - return false; -} - -bool -LoginInfoCenter::SICELoginInfo::operator<(const SICELoginInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(clifd < __rhs.clifd) - { - return true; - } - else if(__rhs.clifd < clifd) - { - return false; - } - if(cliip < __rhs.cliip) - { - return true; - } - else if(__rhs.cliip < cliip) - { - return false; - } - if(onlineTime < __rhs.onlineTime) - { - return true; - } - else if(__rhs.onlineTime < onlineTime) - { - return false; - } - if(sysMsgId < __rhs.sysMsgId) - { - return true; - } - else if(__rhs.sysMsgId < sysMsgId) - { - return false; - } - if(language < __rhs.language) - { - return true; - } - else if(__rhs.language < language) - { - return false; - } - if(activeState < __rhs.activeState) - { - return true; - } - else if(__rhs.activeState < activeState) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - if(userType < __rhs.userType) - { - return true; - } - else if(__rhs.userType < userType) - { - return false; - } - if(vipType < __rhs.vipType) - { - return true; - } - else if(__rhs.vipType < vipType) - { - return false; - } - if(mulMsgFlag < __rhs.mulMsgFlag) - { - return true; - } - else if(__rhs.mulMsgFlag < mulMsgFlag) - { - return false; - } - if(totalActDegree < __rhs.totalActDegree) - { - return true; - } - else if(__rhs.totalActDegree < totalActDegree) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(deskey < __rhs.deskey) - { - return true; - } - else if(__rhs.deskey < deskey) - { - return false; - } - if(version < __rhs.version) - { - return true; - } - else if(__rhs.version < version) - { - return false; - } - return false; -} - -void -LoginInfoCenter::SICELoginInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(clifd); - __os->write(cliip); - __os->write(onlineTime); - __os->write(sysMsgId); - __os->write(language); - __os->write(activeState); - __os->write(userLevel); - __os->write(userType); - __os->write(vipType); - __os->write(mulMsgFlag); - __os->write(totalActDegree); - __os->write(uid); - __os->write(deskey); - __os->write(version); -} - -void -LoginInfoCenter::SICELoginInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(clifd); - __is->read(cliip); - __is->read(onlineTime); - __is->read(sysMsgId); - __is->read(language); - __is->read(activeState); - __is->read(userLevel); - __is->read(userType); - __is->read(vipType); - __is->read(mulMsgFlag); - __is->read(totalActDegree); - __is->read(uid); - __is->read(deskey); - __is->read(version); -} - -void -LoginInfoCenter::__addObject(const LoginInfoInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -LoginInfoCenter::__usesClasses(const LoginInfoInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -LoginInfoCenter::__decRefUnsafe(const LoginInfoInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -LoginInfoCenter::__clearHandleUnsafe(LoginInfoInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::LoginInfoCenter::LoginInfoInterface::SetLoginInfo(const ::std::string& uid, const ::LoginInfoCenter::SICELoginInfo& info, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__LoginInfoCenter__LoginInfoInterface__SetLoginInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::LoginInfoCenter::LoginInfoInterface* __del = dynamic_cast< ::IceDelegate::LoginInfoCenter::LoginInfoInterface*>(__delBase.get()); - return __del->SetLoginInfo(uid, info, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::LoginInfoCenter::LoginInfoInterface::UpdateLoginInfo(const ::LoginInfoCenter::SICELoginInfo& info, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__LoginInfoCenter__LoginInfoInterface__UpdateLoginInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::LoginInfoCenter::LoginInfoInterface* __del = dynamic_cast< ::IceDelegate::LoginInfoCenter::LoginInfoInterface*>(__delBase.get()); - return __del->UpdateLoginInfo(info, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::LoginInfoCenter::LoginInfoInterface::DelLoginInfo(const ::std::string& uid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__LoginInfoCenter__LoginInfoInterface__DelLoginInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::LoginInfoCenter::LoginInfoInterface* __del = dynamic_cast< ::IceDelegate::LoginInfoCenter::LoginInfoInterface*>(__delBase.get()); - return __del->DelLoginInfo(uid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::LoginInfoCenter::LoginInfoInterface::GetLoginInfo(const ::std::string& uid, ::LoginInfoCenter::SICELoginInfo& obj, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__LoginInfoCenter__LoginInfoInterface__GetLoginInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::LoginInfoCenter::LoginInfoInterface* __del = dynamic_cast< ::IceDelegate::LoginInfoCenter::LoginInfoInterface*>(__delBase.get()); - return __del->GetLoginInfo(uid, obj, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::LoginInfoCenter::LoginInfoInterface::ice_staticId() -{ - return ::LoginInfoCenter::LoginInfoInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::LoginInfoCenter::LoginInfoInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::LoginInfoCenter::LoginInfoInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::LoginInfoCenter::LoginInfoInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::LoginInfoCenter::LoginInfoInterface); -} - -bool -IceProxy::LoginInfoCenter::operator==(const ::IceProxy::LoginInfoCenter::LoginInfoInterface& l, const ::IceProxy::LoginInfoCenter::LoginInfoInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::LoginInfoCenter::operator!=(const ::IceProxy::LoginInfoCenter::LoginInfoInterface& l, const ::IceProxy::LoginInfoCenter::LoginInfoInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::LoginInfoCenter::operator<(const ::IceProxy::LoginInfoCenter::LoginInfoInterface& l, const ::IceProxy::LoginInfoCenter::LoginInfoInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::LoginInfoCenter::operator<=(const ::IceProxy::LoginInfoCenter::LoginInfoInterface& l, const ::IceProxy::LoginInfoCenter::LoginInfoInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::LoginInfoCenter::operator>(const ::IceProxy::LoginInfoCenter::LoginInfoInterface& l, const ::IceProxy::LoginInfoCenter::LoginInfoInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::LoginInfoCenter::operator>=(const ::IceProxy::LoginInfoCenter::LoginInfoInterface& l, const ::IceProxy::LoginInfoCenter::LoginInfoInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::LoginInfoCenter::LoginInfoInterface::SetLoginInfo(const ::std::string& uid, const ::LoginInfoCenter::SICELoginInfo& info, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __LoginInfoCenter__LoginInfoInterface__SetLoginInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - info.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::LoginInfoCenter::LoginInfoInterface::UpdateLoginInfo(const ::LoginInfoCenter::SICELoginInfo& info, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __LoginInfoCenter__LoginInfoInterface__UpdateLoginInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - info.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::LoginInfoCenter::LoginInfoInterface::DelLoginInfo(const ::std::string& uid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __LoginInfoCenter__LoginInfoInterface__DelLoginInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::LoginInfoCenter::LoginInfoInterface::GetLoginInfo(const ::std::string& uid, ::LoginInfoCenter::SICELoginInfo& obj, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __LoginInfoCenter__LoginInfoInterface__GetLoginInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - obj.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::LoginInfoCenter::LoginInfoInterface::SetLoginInfo(const ::std::string& uid, const ::LoginInfoCenter::SICELoginInfo& info, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __LoginInfoCenter__LoginInfoInterface__SetLoginInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::LoginInfoCenter::LoginInfoInterface* __servant = dynamic_cast< ::LoginInfoCenter::LoginInfoInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->SetLoginInfo(uid, info, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::LoginInfoCenter::LoginInfoInterface::UpdateLoginInfo(const ::LoginInfoCenter::SICELoginInfo& info, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __LoginInfoCenter__LoginInfoInterface__UpdateLoginInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::LoginInfoCenter::LoginInfoInterface* __servant = dynamic_cast< ::LoginInfoCenter::LoginInfoInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateLoginInfo(info, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::LoginInfoCenter::LoginInfoInterface::DelLoginInfo(const ::std::string& uid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __LoginInfoCenter__LoginInfoInterface__DelLoginInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::LoginInfoCenter::LoginInfoInterface* __servant = dynamic_cast< ::LoginInfoCenter::LoginInfoInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DelLoginInfo(uid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::LoginInfoCenter::LoginInfoInterface::GetLoginInfo(const ::std::string& uid, ::LoginInfoCenter::SICELoginInfo& obj, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __LoginInfoCenter__LoginInfoInterface__GetLoginInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::LoginInfoCenter::LoginInfoInterface* __servant = dynamic_cast< ::LoginInfoCenter::LoginInfoInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetLoginInfo(uid, obj, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -LoginInfoCenter::LoginInfoInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __LoginInfoCenter__LoginInfoInterface_ids[2] = -{ - "::Ice::Object", - "::LoginInfoCenter::LoginInfoInterface" -}; - -bool -LoginInfoCenter::LoginInfoInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__LoginInfoCenter__LoginInfoInterface_ids, __LoginInfoCenter__LoginInfoInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -LoginInfoCenter::LoginInfoInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__LoginInfoCenter__LoginInfoInterface_ids[0], &__LoginInfoCenter__LoginInfoInterface_ids[2]); -} - -const ::std::string& -LoginInfoCenter::LoginInfoInterface::ice_id(const ::Ice::Current&) const -{ - return __LoginInfoCenter__LoginInfoInterface_ids[1]; -} - -const ::std::string& -LoginInfoCenter::LoginInfoInterface::ice_staticId() -{ - return __LoginInfoCenter__LoginInfoInterface_ids[1]; -} - -::IceInternal::DispatchStatus -LoginInfoCenter::LoginInfoInterface::___SetLoginInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::LoginInfoCenter::SICELoginInfo info; - __is->read(uid); - info.__read(__is); - ::Ice::Int __ret = SetLoginInfo(uid, info, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -LoginInfoCenter::LoginInfoInterface::___UpdateLoginInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::LoginInfoCenter::SICELoginInfo info; - info.__read(__is); - ::Ice::Int __ret = UpdateLoginInfo(info, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -LoginInfoCenter::LoginInfoInterface::___DelLoginInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::Int __ret = DelLoginInfo(uid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -LoginInfoCenter::LoginInfoInterface::___GetLoginInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::LoginInfoCenter::SICELoginInfo obj; - ::Ice::Int __ret = GetLoginInfo(uid, obj, __current); - obj.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __LoginInfoCenter__LoginInfoInterface_all[] = -{ - "DelLoginInfo", - "GetLoginInfo", - "SetLoginInfo", - "UpdateLoginInfo", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -LoginInfoCenter::LoginInfoInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__LoginInfoCenter__LoginInfoInterface_all, __LoginInfoCenter__LoginInfoInterface_all + 8, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __LoginInfoCenter__LoginInfoInterface_all) - { - case 0: - { - return ___DelLoginInfo(in, current); - } - case 1: - { - return ___GetLoginInfo(in, current); - } - case 2: - { - return ___SetLoginInfo(in, current); - } - case 3: - { - return ___UpdateLoginInfo(in, current); - } - case 4: - { - return ___ice_id(in, current); - } - case 5: - { - return ___ice_ids(in, current); - } - case 6: - { - return ___ice_isA(in, current); - } - case 7: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -LoginInfoCenter::LoginInfoInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -LoginInfoCenter::LoginInfoInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -LoginInfoCenter::LoginInfoInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type LoginInfoCenter::LoginInfoInterface was not generated with stream support"; - throw ex; -} - -void -LoginInfoCenter::LoginInfoInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type LoginInfoCenter::LoginInfoInterface was not generated with stream support"; - throw ex; -} - -void -LoginInfoCenter::__patch__LoginInfoInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::LoginInfoCenter::LoginInfoInterfacePtr* p = static_cast< ::LoginInfoCenter::LoginInfoInterfacePtr*>(__addr); - assert(p); - *p = ::LoginInfoCenter::LoginInfoInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::LoginInfoCenter::LoginInfoInterface::ice_staticId(); - throw e; - } -} - -bool -LoginInfoCenter::operator==(const ::LoginInfoCenter::LoginInfoInterface& l, const ::LoginInfoCenter::LoginInfoInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -LoginInfoCenter::operator!=(const ::LoginInfoCenter::LoginInfoInterface& l, const ::LoginInfoCenter::LoginInfoInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -LoginInfoCenter::operator<(const ::LoginInfoCenter::LoginInfoInterface& l, const ::LoginInfoCenter::LoginInfoInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -LoginInfoCenter::operator<=(const ::LoginInfoCenter::LoginInfoInterface& l, const ::LoginInfoCenter::LoginInfoInterface& r) -{ - return l < r || l == r; -} - -bool -LoginInfoCenter::operator>(const ::LoginInfoCenter::LoginInfoInterface& l, const ::LoginInfoCenter::LoginInfoInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -LoginInfoCenter::operator>=(const ::LoginInfoCenter::LoginInfoInterface& l, const ::LoginInfoCenter::LoginInfoInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/logss_pack.cpp b/features/aliww/source/logss_pack.cpp deleted file mode 100644 index 886cca9..0000000 --- a/features/aliww/source/logss_pack.cpp +++ /dev/null @@ -1,188 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: logss_pack.cpp -// Date: 2011-01-30 12:49:51 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "logss_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SLogServerInfo& sLogServerInfo ) -{ - uint8_t nFieldNum = 2; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sLogServerInfo.m_machineInfo; - cPackData << FT_STRING; - cPackData << sLogServerInfo.m_type; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SLogServerInfo& sLogServerInfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sLogServerInfo.m_machineInfo; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sLogServerInfo.m_type; - for(int i = 2; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CSsReqLog::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_REQ_LOG; - m_ssHead.PackData(strData); -} - -void CSsReqLog::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRUCT; - (*this) << m_hostInfo; - (*this) << FT_STRING; - (*this) << m_warnInfo; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsReqLog::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsReqLog::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_hostInfo; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_warnInfo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsReqLog::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsRspLog::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_RSP_LOG; - m_ssHead.PackData(strData); -} - -void CSsRspLog::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_info; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsRspLog::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsRspLog::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_info; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsRspLog::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/md5hash.cpp b/features/aliww/source/md5hash.cpp deleted file mode 100644 index 42546d7..0000000 --- a/features/aliww/source/md5hash.cpp +++ /dev/null @@ -1,464 +0,0 @@ -#include -//#include "headers.h" -#include "md5hash.h" -#include - -//Magic initialization constants -#define MD5_INIT_STATE_0 0x67452301 -#define MD5_INIT_STATE_1 0xefcdab89 -#define MD5_INIT_STATE_2 0x98badcfe -#define MD5_INIT_STATE_3 0x10325476 - -//Constants for Transform routine. -#define MD5_S11 7 -#define MD5_S12 12 -#define MD5_S13 17 -#define MD5_S14 22 -#define MD5_S21 5 -#define MD5_S22 9 -#define MD5_S23 14 -#define MD5_S24 20 -#define MD5_S31 4 -#define MD5_S32 11 -#define MD5_S33 16 -#define MD5_S34 23 -#define MD5_S41 6 -#define MD5_S42 10 -#define MD5_S43 15 -#define MD5_S44 21 - -//Transformation Constants - Round 1 -#define MD5_T01 0xd76aa478 //Transformation Constant 1 -#define MD5_T02 0xe8c7b756 //Transformation Constant 2 -#define MD5_T03 0x242070db //Transformation Constant 3 -#define MD5_T04 0xc1bdceee //Transformation Constant 4 -#define MD5_T05 0xf57c0faf //Transformation Constant 5 -#define MD5_T06 0x4787c62a //Transformation Constant 6 -#define MD5_T07 0xa8304613 //Transformation Constant 7 -#define MD5_T08 0xfd469501 //Transformation Constant 8 -#define MD5_T09 0x698098d8 //Transformation Constant 9 -#define MD5_T10 0x8b44f7af //Transformation Constant 10 -#define MD5_T11 0xffff5bb1 //Transformation Constant 11 -#define MD5_T12 0x895cd7be //Transformation Constant 12 -#define MD5_T13 0x6b901122 //Transformation Constant 13 -#define MD5_T14 0xfd987193 //Transformation Constant 14 -#define MD5_T15 0xa679438e //Transformation Constant 15 -#define MD5_T16 0x49b40821 //Transformation Constant 16 - -//Transformation Constants - Round 2 -#define MD5_T17 0xf61e2562 //Transformation Constant 17 -#define MD5_T18 0xc040b340 //Transformation Constant 18 -#define MD5_T19 0x265e5a51 //Transformation Constant 19 -#define MD5_T20 0xe9b6c7aa //Transformation Constant 20 -#define MD5_T21 0xd62f105d //Transformation Constant 21 -#define MD5_T22 0x02441453 //Transformation Constant 22 -#define MD5_T23 0xd8a1e681 //Transformation Constant 23 -#define MD5_T24 0xe7d3fbc8 //Transformation Constant 24 -#define MD5_T25 0x21e1cde6 //Transformation Constant 25 -#define MD5_T26 0xc33707d6 //Transformation Constant 26 -#define MD5_T27 0xf4d50d87 //Transformation Constant 27 -#define MD5_T28 0x455a14ed //Transformation Constant 28 -#define MD5_T29 0xa9e3e905 //Transformation Constant 29 -#define MD5_T30 0xfcefa3f8 //Transformation Constant 30 -#define MD5_T31 0x676f02d9 //Transformation Constant 31 -#define MD5_T32 0x8d2a4c8a //Transformation Constant 32 - -//Transformation Constants - Round 3 -#define MD5_T33 0xfffa3942 //Transformation Constant 33 -#define MD5_T34 0x8771f681 //Transformation Constant 34 -#define MD5_T35 0x6d9d6122 //Transformation Constant 35 -#define MD5_T36 0xfde5380c //Transformation Constant 36 -#define MD5_T37 0xa4beea44 //Transformation Constant 37 -#define MD5_T38 0x4bdecfa9 //Transformation Constant 38 -#define MD5_T39 0xf6bb4b60 //Transformation Constant 39 -#define MD5_T40 0xbebfbc70 //Transformation Constant 40 -#define MD5_T41 0x289b7ec6 //Transformation Constant 41 -#define MD5_T42 0xeaa127fa //Transformation Constant 42 -#define MD5_T43 0xd4ef3085 //Transformation Constant 43 -#define MD5_T44 0x04881d05 //Transformation Constant 44 -#define MD5_T45 0xd9d4d039 //Transformation Constant 45 -#define MD5_T46 0xe6db99e5 //Transformation Constant 46 -#define MD5_T47 0x1fa27cf8 //Transformation Constant 47 -#define MD5_T48 0xc4ac5665 //Transformation Constant 48 - -//Transformation Constants - Round 4 -#define MD5_T49 0xf4292244 //Transformation Constant 49 -#define MD5_T50 0x432aff97 //Transformation Constant 50 -#define MD5_T51 0xab9423a7 //Transformation Constant 51 -#define MD5_T52 0xfc93a039 //Transformation Constant 52 -#define MD5_T53 0x655b59c3 //Transformation Constant 53 -#define MD5_T54 0x8f0ccc92 //Transformation Constant 54 -#define MD5_T55 0xffeff47d //Transformation Constant 55 -#define MD5_T56 0x85845dd1 //Transformation Constant 56 -#define MD5_T57 0x6fa87e4f //Transformation Constant 57 -#define MD5_T58 0xfe2ce6e0 //Transformation Constant 58 -#define MD5_T59 0xa3014314 //Transformation Constant 59 -#define MD5_T60 0x4e0811a1 //Transformation Constant 60 -#define MD5_T61 0xf7537e82 //Transformation Constant 61 -#define MD5_T62 0xbd3af235 //Transformation Constant 62 -#define MD5_T63 0x2ad7d2bb //Transformation Constant 63 -#define MD5_T64 0xeb86d391 //Transformation Constant 64 - - -//Null data (except for first unsigned char) used to finalise the checksum calculation -static unsigned char PADDING[64] = { - 0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 -}; - - - -Md5Hash::Md5Hash(void) -{ - // zero members - memset( m_lpszBuffer, 0, 64 ); - m_nCount[0] = m_nCount[1] = 0; - - // Load magic state initialization constants - m_lMD5[0] = MD5_INIT_STATE_0; - m_lMD5[1] = MD5_INIT_STATE_1; - m_lMD5[2] = MD5_INIT_STATE_2; - m_lMD5[3] = MD5_INIT_STATE_3; -} - -Md5Hash::~Md5Hash(void) -{ -} - -std::string Md5Hash::GetMD5(const std::string& buf, bool bHex) -{ - //calculate and return the checksum - Md5Hash MD5Checksum; - MD5Checksum.Update( (const unsigned char*)buf.data(), (unsigned)buf.size() ); - return MD5Checksum.Final(bHex); -} - - - -void Md5Hash::Transform(const unsigned char Block[64]) -{ - //initialise local data with current checksum - unsigned a = m_lMD5[0]; - unsigned b = m_lMD5[1]; - unsigned c = m_lMD5[2]; - unsigned d = m_lMD5[3]; - - //copy unsigned charS from input 'Block' to an array of unsignedS 'X' - unsigned X[16]; - ByteToDWord( X, Block, 64 ); - - //Perform Round 1 of the transformation - FF (a, b, c, d, X[ 0], MD5_S11, MD5_T01); - FF (d, a, b, c, X[ 1], MD5_S12, MD5_T02); - FF (c, d, a, b, X[ 2], MD5_S13, MD5_T03); - FF (b, c, d, a, X[ 3], MD5_S14, MD5_T04); - FF (a, b, c, d, X[ 4], MD5_S11, MD5_T05); - FF (d, a, b, c, X[ 5], MD5_S12, MD5_T06); - FF (c, d, a, b, X[ 6], MD5_S13, MD5_T07); - FF (b, c, d, a, X[ 7], MD5_S14, MD5_T08); - FF (a, b, c, d, X[ 8], MD5_S11, MD5_T09); - FF (d, a, b, c, X[ 9], MD5_S12, MD5_T10); - FF (c, d, a, b, X[10], MD5_S13, MD5_T11); - FF (b, c, d, a, X[11], MD5_S14, MD5_T12); - FF (a, b, c, d, X[12], MD5_S11, MD5_T13); - FF (d, a, b, c, X[13], MD5_S12, MD5_T14); - FF (c, d, a, b, X[14], MD5_S13, MD5_T15); - FF (b, c, d, a, X[15], MD5_S14, MD5_T16); - - //Perform Round 2 of the transformation - GG (a, b, c, d, X[ 1], MD5_S21, MD5_T17); - GG (d, a, b, c, X[ 6], MD5_S22, MD5_T18); - GG (c, d, a, b, X[11], MD5_S23, MD5_T19); - GG (b, c, d, a, X[ 0], MD5_S24, MD5_T20); - GG (a, b, c, d, X[ 5], MD5_S21, MD5_T21); - GG (d, a, b, c, X[10], MD5_S22, MD5_T22); - GG (c, d, a, b, X[15], MD5_S23, MD5_T23); - GG (b, c, d, a, X[ 4], MD5_S24, MD5_T24); - GG (a, b, c, d, X[ 9], MD5_S21, MD5_T25); - GG (d, a, b, c, X[14], MD5_S22, MD5_T26); - GG (c, d, a, b, X[ 3], MD5_S23, MD5_T27); - GG (b, c, d, a, X[ 8], MD5_S24, MD5_T28); - GG (a, b, c, d, X[13], MD5_S21, MD5_T29); - GG (d, a, b, c, X[ 2], MD5_S22, MD5_T30); - GG (c, d, a, b, X[ 7], MD5_S23, MD5_T31); - GG (b, c, d, a, X[12], MD5_S24, MD5_T32); - - //Perform Round 3 of the transformation - HH (a, b, c, d, X[ 5], MD5_S31, MD5_T33); - HH (d, a, b, c, X[ 8], MD5_S32, MD5_T34); - HH (c, d, a, b, X[11], MD5_S33, MD5_T35); - HH (b, c, d, a, X[14], MD5_S34, MD5_T36); - HH (a, b, c, d, X[ 1], MD5_S31, MD5_T37); - HH (d, a, b, c, X[ 4], MD5_S32, MD5_T38); - HH (c, d, a, b, X[ 7], MD5_S33, MD5_T39); - HH (b, c, d, a, X[10], MD5_S34, MD5_T40); - HH (a, b, c, d, X[13], MD5_S31, MD5_T41); - HH (d, a, b, c, X[ 0], MD5_S32, MD5_T42); - HH (c, d, a, b, X[ 3], MD5_S33, MD5_T43); - HH (b, c, d, a, X[ 6], MD5_S34, MD5_T44); - HH (a, b, c, d, X[ 9], MD5_S31, MD5_T45); - HH (d, a, b, c, X[12], MD5_S32, MD5_T46); - HH (c, d, a, b, X[15], MD5_S33, MD5_T47); - HH (b, c, d, a, X[ 2], MD5_S34, MD5_T48); - - //Perform Round 4 of the transformation - II (a, b, c, d, X[ 0], MD5_S41, MD5_T49); - II (d, a, b, c, X[ 7], MD5_S42, MD5_T50); - II (c, d, a, b, X[14], MD5_S43, MD5_T51); - II (b, c, d, a, X[ 5], MD5_S44, MD5_T52); - II (a, b, c, d, X[12], MD5_S41, MD5_T53); - II (d, a, b, c, X[ 3], MD5_S42, MD5_T54); - II (c, d, a, b, X[10], MD5_S43, MD5_T55); - II (b, c, d, a, X[ 1], MD5_S44, MD5_T56); - II (a, b, c, d, X[ 8], MD5_S41, MD5_T57); - II (d, a, b, c, X[15], MD5_S42, MD5_T58); - II (c, d, a, b, X[ 6], MD5_S43, MD5_T59); - II (b, c, d, a, X[13], MD5_S44, MD5_T60); - II (a, b, c, d, X[ 4], MD5_S41, MD5_T61); - II (d, a, b, c, X[11], MD5_S42, MD5_T62); - II (c, d, a, b, X[ 2], MD5_S43, MD5_T63); - II (b, c, d, a, X[ 9], MD5_S44, MD5_T64); - - //add the transformed values to the current checksum - m_lMD5[0] += a; - m_lMD5[1] += b; - m_lMD5[2] += c; - m_lMD5[3] += d; -} - -void Md5Hash::Update( const unsigned char* Input, unsigned nInputLen) -{ - //Compute number of bytes mod 64 - unsigned nIndex = (unsigned)((m_nCount[0] >> 3) & 0x3F); - - //Update number of bits - if ( ( m_nCount[0] += nInputLen << 3 ) < ( nInputLen << 3) ) - { - m_nCount[1]++; - } - m_nCount[1] += (nInputLen >> 29); - - //Transform as many times as possible. - unsigned i=0; - unsigned nPartLen = 64 - nIndex; - if (nInputLen >= nPartLen) - { - memcpy( &m_lpszBuffer[nIndex], Input, nPartLen ); - Transform( m_lpszBuffer ); - for (i = nPartLen; i + 63 < nInputLen; i += 64) - { - Transform( &Input[i] ); - } - nIndex = 0; - } - else - { - i = 0; - } - - // Buffer remaining input - memcpy( &m_lpszBuffer[nIndex], &Input[i], nInputLen-i); -} - -std::string Md5Hash::Final(bool bHex) -{ - //Save number of bits - unsigned char Bits[8]; - DWordToByte( Bits, m_nCount, 8 ); - - //Pad out to 56 mod 64. - unsigned nIndex = (unsigned)((m_nCount[0] >> 3) & 0x3f); - unsigned nPadLen = (nIndex < 56) ? (56 - nIndex) : (120 - nIndex); - Update( PADDING, nPadLen ); - - //Append length (before padding) - Update( Bits, 8 ); - - //Store final state in 'lpszMD5' - const int nMD5Size = 16; - unsigned char lpszMD5[ nMD5Size ]; - DWordToByte( lpszMD5, m_lMD5, nMD5Size ); - - std::string strMD5; - if(bHex) - { - strMD5.assign(reinterpret_cast(lpszMD5),nMD5Size); - } - else - { - for ( int i=0; i < nMD5Size; i++) - { - char szByte[3]; - sprintf(szByte, ("%.2x"), lpszMD5[i]); - - strMD5 += szByte; - } - assert( strMD5.size() == 32 ); - } - return strMD5; -} - -/***************************************************************************************** -FUNCTION: Md5Hash::RotateLeft -DETAILS: private -DESCRIPTION: Rotates the bits in a 32 bit unsigned left by a specified amount -RETURNS: The rotated unsigned -ARGUMENTS: unsigned x : the value to be rotated -int n : the number of bits to rotate by -*****************************************************************************************/ -unsigned Md5Hash::RotateLeft(unsigned x, int n) -{ - //check that unsigned is 4 bytes long - true in Visual C++ 6 and 32 bit Windows - assert( sizeof(x) == 4 ); - - //rotate and return x - return (x << n) | (x >> (32-n)); -} - - -/***************************************************************************************** -FUNCTION: Md5Hash::FF -DETAILS: protected -DESCRIPTION: Implementation of basic MD5 transformation algorithm -RETURNS: none -ARGUMENTS: unsigned &A, B, C, D : Current (partial) checksum -unsigned X : Input data -unsigned S : MD5_SXX Transformation constant -unsigned T : MD5_TXX Transformation constant -NOTES: None -*****************************************************************************************/ -void Md5Hash::FF( unsigned& A, unsigned B, unsigned C, unsigned D, unsigned X, unsigned S, unsigned T) -{ - unsigned F = (B & C) | (~B & D); - A += F + X + T; - A = RotateLeft(A, S); - A += B; -} - - -/***************************************************************************************** -FUNCTION: Md5Hash::GG -DETAILS: protected -DESCRIPTION: Implementation of basic MD5 transformation algorithm -RETURNS: none -ARGUMENTS: unsigned &A, B, C, D : Current (partial) checksum -unsigned X : Input data -unsigned S : MD5_SXX Transformation constant -unsigned T : MD5_TXX Transformation constant -NOTES: None -*****************************************************************************************/ -void Md5Hash::GG( unsigned& A, unsigned B, unsigned C, unsigned D, unsigned X, unsigned S, unsigned T) -{ - unsigned G = (B & D) | (C & ~D); - A += G + X + T; - A = RotateLeft(A, S); - A += B; -} - - -/***************************************************************************************** -FUNCTION: Md5Hash::HH -DETAILS: protected -DESCRIPTION: Implementation of basic MD5 transformation algorithm -RETURNS: none -ARGUMENTS: unsigned &A, B, C, D : Current (partial) checksum -unsigned X : Input data -unsigned S : MD5_SXX Transformation constant -unsigned T : MD5_TXX Transformation constant -NOTES: None -*****************************************************************************************/ -void Md5Hash::HH( unsigned& A, unsigned B, unsigned C, unsigned D, unsigned X, unsigned S, unsigned T) -{ - unsigned H = (B ^ C ^ D); - A += H + X + T; - A = RotateLeft(A, S); - A += B; -} - - -/***************************************************************************************** -FUNCTION: Md5Hash::II -DETAILS: protected -DESCRIPTION: Implementation of basic MD5 transformation algorithm -RETURNS: none -ARGUMENTS: unsigned &A, B, C, D : Current (partial) checksum -unsigned X : Input data -unsigned S : MD5_SXX Transformation constant -unsigned T : MD5_TXX Transformation constant -NOTES: None -*****************************************************************************************/ -void Md5Hash::II( unsigned& A, unsigned B, unsigned C, unsigned D, unsigned X, unsigned S, unsigned T) -{ - unsigned I = (C ^ (B | ~D)); - A += I + X + T; - A = RotateLeft(A, S); - A += B; -} - - -/***************************************************************************************** -FUNCTION: Md5Hash::ByteToDWord -DETAILS: private -DESCRIPTION: Transfers the data in an 8 bit array to a 32 bit array -RETURNS: void -ARGUMENTS: unsigned* Output : the 32 bit (unsigned long) destination array -unsigned char* Input : the 8 bit (unsigned char) source array -unsigned nLength : the number of 8 bit data items in the source array -NOTES: Four unsigned charS from the input array are transferred to each unsigned entry -of the output array. The first unsigned char is transferred to the bits (0-7) -of the output unsigned, the second unsigned char to bits 8-15 etc. -The algorithm assumes that the input array is a multiple of 4 bytes long -so that there is a perfect fit into the array of 32 bit words. -*****************************************************************************************/ -void Md5Hash::ByteToDWord(unsigned* Output, const unsigned char* Input, unsigned nLength) -{ - //entry invariants - assert( nLength % 4 == 0 ); - - //initialisations - unsigned i=0; //index to Output array - unsigned j=0; //index to Input array - - //transfer the data by shifting and copying - for ( ; j < nLength; i++, j += 4) - { - Output[i] = (unsigned)Input[j] | - (unsigned)Input[j+1] << 8 | - (unsigned)Input[j+2] << 16 | - (unsigned)Input[j+3] << 24; - } -} - -/***************************************************************************************** -FUNCTION: Md5Hash::DWordToByte -DETAILS: private -DESCRIPTION: Transfers the data in an 32 bit array to a 8 bit array -RETURNS: void -ARGUMENTS: unsigned char* Output : the 8 bit destination array -unsigned* Input : the 32 bit source array -unsigned nLength : the number of 8 bit data items in the source array -NOTES: One unsigned from the input array is transferred into four unsigned charS -in the output array. The first (0-7) bits of the first unsigned are -transferred to the first output unsigned char, bits bits 8-15 are transferred from -the second unsigned char etc. - -The algorithm assumes that the output array is a multiple of 4 bytes long -so that there is a perfect fit of 8 bit unsigned charS into the 32 bit unsigneds. -*****************************************************************************************/ -void Md5Hash::DWordToByte(unsigned char* Output, const unsigned* Input, unsigned nLength ) -{ - //entry invariants - assert( nLength % 4 == 0 ); - - //transfer the data by shifting and copying - unsigned i = 0; - unsigned j = 0; - for ( ; j < nLength; i++, j += 4) - { - Output[j] = (unsigned char)(Input[i] & 0xff); - Output[j+1] = (unsigned char)((Input[i] >> 8) & 0xff); - Output[j+2] = (unsigned char)((Input[i] >> 16) & 0xff); - Output[j+3] = (unsigned char)((Input[i] >> 24) & 0xff); - } -} diff --git a/features/aliww/source/monitorsc_pack.cpp b/features/aliww/source/monitorsc_pack.cpp deleted file mode 100644 index 47423cc..0000000 --- a/features/aliww/source/monitorsc_pack.cpp +++ /dev/null @@ -1,569 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: monitorsc_pack.cpp -// Date: 2011-01-30 12:49:47 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "monitorsc_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SAppServerInfo& sAppServerInfo ) -{ - uint8_t nFieldNum = 9; - cPackData << nFieldNum; - cPackData << FT_UINT32; - cPackData << sAppServerInfo.m_id; - cPackData << FT_STRING; - cPackData << sAppServerInfo.m_idcname; - cPackData << FT_STRING; - cPackData << sAppServerInfo.m_ip; - cPackData << FT_STRING; - cPackData << sAppServerInfo.m_apptype; - cPackData << FT_STRING; - cPackData << sAppServerInfo.m_processname; - cPackData << FT_STRING; - cPackData << sAppServerInfo.m_machineinfo; - cPackData << FT_STRING; - cPackData << sAppServerInfo.m_monitortype; - cPackData << FT_UINT32; - cPackData << sAppServerInfo.m_interval; - cPackData << FT_STRING; - cPackData << sAppServerInfo.m_version; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SAppServerInfo& sAppServerInfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 9) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sAppServerInfo.m_id; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sAppServerInfo.m_idcname; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sAppServerInfo.m_ip; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sAppServerInfo.m_apptype; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sAppServerInfo.m_processname; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sAppServerInfo.m_machineinfo; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sAppServerInfo.m_monitortype; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sAppServerInfo.m_interval; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sAppServerInfo.m_version; - for(int i = 9; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CScReqRegister::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = SC_REQ_REGISTER; - m_scHead.PackData(strData); -} - -void CScReqRegister::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRUCT; - (*this) << m_info; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScReqRegister::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CScReqRegister::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_info; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScReqRegister::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CScRspRegister::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = SC_RSP_REGISTER; - m_scHead.PackData(strData); -} - -void CScRspRegister::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_id; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScRspRegister::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CScRspRegister::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_id; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScRspRegister::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CScReqCancelRegister::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = SC_REQ_CANCEL_REGISTER; - m_scHead.PackData(strData); -} - -void CScReqCancelRegister::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRUCT; - (*this) << m_info; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScReqCancelRegister::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CScReqCancelRegister::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_info; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScReqCancelRegister::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CScRspCancelRegister::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = SC_RSP_CANCEL_REGISTER; - m_scHead.PackData(strData); -} - -void CScRspCancelRegister::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT32; - (*this) << m_retcode; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScRspCancelRegister::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CScRspCancelRegister::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScRspCancelRegister::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CScReqSvrStatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = SC_REQ_SVR_STATUS; - m_scHead.PackData(strData); -} - -void CScReqSvrStatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT32; - (*this) << m_id; - (*this) << FT_UINT32; - (*this) << m_status; - (*this) << FT_STRING; - (*this) << m_detail; - (*this) << FT_STRING; - (*this) << m_ext; - (*this) << FT_UINT32; - (*this) << m_timeelapsed; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScReqSvrStatus::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CScReqSvrStatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_id; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_detail; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_ext; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_timeelapsed; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScReqSvrStatus::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - diff --git a/features/aliww/source/mosInterface.cpp b/features/aliww/source/mosInterface.cpp deleted file mode 100644 index 5c055e0..0000000 --- a/features/aliww/source/mosInterface.cpp +++ /dev/null @@ -1,2793 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `mosInterface.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AMOServer__MOSInterface__getUserStatus_name = "getUserStatus"; - -static const ::std::string __AMOServer__MOSInterface__getUserStatusIp_name = "getUserStatusIp"; - -static const ::std::string __AMOServer__MOSInterface__getUserRealStatus_name = "getUserRealStatus"; - -static const ::std::string __AMOServer__MOSInterface__getUserRealStatusIp_name = "getUserRealStatusIp"; - -static const ::std::string __AMOServer__MOSInterface__getUserLastLoginTime_name = "getUserLastLoginTime"; - -static const ::std::string __AMOServer__MOSInterface__getUserCount_name = "getUserCount"; - -static const ::std::string __AMOServer__MOSInterface__getIpUsers_name = "getIpUsers"; - -static const ::std::string __AMOServer__MOSInterface__getIpUsersEx_name = "getIpUsersEx"; - -static const ::std::string __AMOServer__MOSInterface__getSameIpSiteUsers_name = "getSameIpSiteUsers"; - -static const ::std::string __AMOServer__MOSInterface__getOnlineUsers_name = "getOnlineUsers"; - -static const ::std::string __AMOServer__MOSInterface__getOnlineUser_name = "getOnlineUser"; - -static const ::std::string __AMOServer__MOSInterface__getOnlineUserEx_name = "getOnlineUserEx"; - -static const ::std::string __AMOServer__MOSInterface__getEhmsGrpSts_name = "getEhmsGrpSts"; - -void -IceInternal::incRef(::AMOServer::MOSInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AMOServer::MOSInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AMOServer::MOSInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AMOServer::MOSInterface* p) -{ - p->__decRef(); -} - -void -AMOServer::__write(::IceInternal::BasicStream* __os, const ::AMOServer::MOSInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AMOServer::__read(::IceInternal::BasicStream* __is, ::AMOServer::MOSInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AMOServer::MOSInterface; - v->__copyFrom(proxy); - } -} - -void -AMOServer::__write(::IceInternal::BasicStream* __os, const ::AMOServer::MOSInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -AMOServer::MosStatusIp::operator==(const MosStatusIp& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AMOServer::MosStatusIp::operator!=(const MosStatusIp& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(ip != __rhs.ip) - { - return true; - } - return false; -} - -bool -AMOServer::MosStatusIp::operator<(const MosStatusIp& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(ip < __rhs.ip) - { - return true; - } - else if(__rhs.ip < ip) - { - return false; - } - return false; -} - -void -AMOServer::MosStatusIp::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(status); - __os->write(ip); -} - -void -AMOServer::MosStatusIp::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(status); - __is->read(ip); -} - -bool -AMOServer::MosStatus::operator==(const MosStatus& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AMOServer::MosStatus::operator!=(const MosStatus& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - return false; -} - -bool -AMOServer::MosStatus::operator<(const MosStatus& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - return false; -} - -void -AMOServer::MosStatus::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(status); -} - -void -AMOServer::MosStatus::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(status); -} - -bool -AMOServer::LoginTime::operator==(const LoginTime& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AMOServer::LoginTime::operator!=(const LoginTime& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(time != __rhs.time) - { - return true; - } - return false; -} - -bool -AMOServer::LoginTime::operator<(const LoginTime& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(time < __rhs.time) - { - return true; - } - else if(__rhs.time < time) - { - return false; - } - return false; -} - -void -AMOServer::LoginTime::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(time); -} - -void -AMOServer::LoginTime::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(time); -} - -bool -AMOServer::UserInfo::operator==(const UserInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AMOServer::UserInfo::operator!=(const UserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(version != __rhs.version) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(ip != __rhs.ip) - { - return true; - } - return false; -} - -bool -AMOServer::UserInfo::operator<(const UserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(version < __rhs.version) - { - return true; - } - else if(__rhs.version < version) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(ip < __rhs.ip) - { - return true; - } - else if(__rhs.ip < ip) - { - return false; - } - return false; -} - -void -AMOServer::UserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(version); - __os->write(status); - __os->write(ip); -} - -void -AMOServer::UserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(version); - __is->read(status); - __is->read(ip); -} - -bool -AMOServer::UserInfoEx::operator==(const UserInfoEx& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AMOServer::UserInfoEx::operator!=(const UserInfoEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(srvId != __rhs.srvId) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(predefSts != __rhs.predefSts) - { - return true; - } - if(mobileOnlineFlag != __rhs.mobileOnlineFlag) - { - return true; - } - if(recvFlag != __rhs.recvFlag) - { - return true; - } - if(ip != __rhs.ip) - { - return true; - } - if(lastLoginTime != __rhs.lastLoginTime) - { - return true; - } - if(version != __rhs.version) - { - return true; - } - return false; -} - -bool -AMOServer::UserInfoEx::operator<(const UserInfoEx& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(srvId < __rhs.srvId) - { - return true; - } - else if(__rhs.srvId < srvId) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(predefSts < __rhs.predefSts) - { - return true; - } - else if(__rhs.predefSts < predefSts) - { - return false; - } - if(mobileOnlineFlag < __rhs.mobileOnlineFlag) - { - return true; - } - else if(__rhs.mobileOnlineFlag < mobileOnlineFlag) - { - return false; - } - if(recvFlag < __rhs.recvFlag) - { - return true; - } - else if(__rhs.recvFlag < recvFlag) - { - return false; - } - if(ip < __rhs.ip) - { - return true; - } - else if(__rhs.ip < ip) - { - return false; - } - if(lastLoginTime < __rhs.lastLoginTime) - { - return true; - } - else if(__rhs.lastLoginTime < lastLoginTime) - { - return false; - } - if(version < __rhs.version) - { - return true; - } - else if(__rhs.version < version) - { - return false; - } - return false; -} - -void -AMOServer::UserInfoEx::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(srvId); - __os->write(status); - __os->write(predefSts); - __os->write(mobileOnlineFlag); - __os->write(recvFlag); - __os->write(ip); - __os->write(lastLoginTime); - __os->write(version); -} - -void -AMOServer::UserInfoEx::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(srvId); - __is->read(status); - __is->read(predefSts); - __is->read(mobileOnlineFlag); - __is->read(recvFlag); - __is->read(ip); - __is->read(lastLoginTime); - __is->read(version); -} - -bool -AMOServer::GrpInfo::operator==(const GrpInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AMOServer::GrpInfo::operator!=(const GrpInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(groupName != __rhs.groupName) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - return false; -} - -bool -AMOServer::GrpInfo::operator<(const GrpInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(groupName < __rhs.groupName) - { - return true; - } - else if(__rhs.groupName < groupName) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - return false; -} - -void -AMOServer::GrpInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(groupName); - __os->write(groupId); - __os->write(status); -} - -void -AMOServer::GrpInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(groupName); - __is->read(groupId); - __is->read(status); -} - -void -AMOServer::__write(::IceInternal::BasicStream* __os, const ::AMOServer::MosStatus* begin, const ::AMOServer::MosStatus* end, ::AMOServer::__U__SICEMosStatusSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AMOServer::__read(::IceInternal::BasicStream* __is, ::AMOServer::SICEMosStatusSeq& v, ::AMOServer::__U__SICEMosStatusSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 3); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AMOServer::__write(::IceInternal::BasicStream* __os, const ::AMOServer::MosStatusIp* begin, const ::AMOServer::MosStatusIp* end, ::AMOServer::__U__SICEMosStatusIpSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AMOServer::__read(::IceInternal::BasicStream* __is, ::AMOServer::SICEMosStatusIpSeq& v, ::AMOServer::__U__SICEMosStatusIpSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 11); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AMOServer::__write(::IceInternal::BasicStream* __os, const ::AMOServer::LoginTime* begin, const ::AMOServer::LoginTime* end, ::AMOServer::__U__SICELoginTimeSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AMOServer::__read(::IceInternal::BasicStream* __is, ::AMOServer::SICELoginTimeSeq& v, ::AMOServer::__U__SICELoginTimeSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 2); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AMOServer::__write(::IceInternal::BasicStream* __os, const ::AMOServer::UserInfo* begin, const ::AMOServer::UserInfo* end, ::AMOServer::__U__SICEUserInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AMOServer::__read(::IceInternal::BasicStream* __is, ::AMOServer::SICEUserInfoSeq& v, ::AMOServer::__U__SICEUserInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 12); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AMOServer::__write(::IceInternal::BasicStream* __os, const ::AMOServer::GrpInfo* begin, const ::AMOServer::GrpInfo* end, ::AMOServer::__U__SICEGrpInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AMOServer::__read(::IceInternal::BasicStream* __is, ::AMOServer::SICEGrpInfoSeq& v, ::AMOServer::__U__SICEGrpInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 8); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AMOServer::__addObject(const MOSInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AMOServer::__usesClasses(const MOSInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -AMOServer::__decRefUnsafe(const MOSInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AMOServer::__clearHandleUnsafe(MOSInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getUserStatus(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusSeq& mosStatusList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getUserStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getUserStatus(userList, mosStatusList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getUserStatusIp(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusIpSeq& mosStatusList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getUserStatusIp_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getUserStatusIp(userList, mosStatusList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getUserRealStatus(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusSeq& mosStatusList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getUserRealStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getUserRealStatus(userList, mosStatusList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getUserRealStatusIp(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusIpSeq& mosStatusList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getUserRealStatusIp_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getUserRealStatusIp(userList, mosStatusList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getUserLastLoginTime(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICELoginTimeSeq& loginTimeList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getUserLastLoginTime_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getUserLastLoginTime(userList, loginTimeList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getUserCount(::Ice::Short type, ::Ice::Long arg1, const ::std::string& arg2, ::Ice::Long& count, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getUserCount_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getUserCount(type, arg1, arg2, count, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getIpUsers(::Ice::Long ip, ::Ice::Long count, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getIpUsers_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getIpUsers(ip, count, allCount, uidList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getIpUsersEx(::Ice::Long ip, ::Ice::Long count, ::Ice::Long netcode, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getIpUsersEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getIpUsersEx(ip, count, netcode, allCount, uidList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getSameIpSiteUsers(const ::std::string& uid, ::Ice::Long count, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getSameIpSiteUsers_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getSameIpSiteUsers(uid, count, allCount, uidList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getOnlineUsers(::Ice::Short netcode, ::Ice::Short onlineType, ::AMOServer::SICEUserInfoSeq& userlist, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getOnlineUsers_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getOnlineUsers(netcode, onlineType, userlist, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getOnlineUser(const ::std::string& uid, ::AMOServer::UserInfo& ui, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getOnlineUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getOnlineUser(uid, ui, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getOnlineUserEx(const ::std::string& uid, ::AMOServer::UserInfoEx& ui, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getOnlineUserEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getOnlineUserEx(uid, ui, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AMOServer::MOSInterface::getEhmsGrpSts(const ::std::string& uid, const ::AMOServer::SICEGrpIdSeq& grpIds, ::AMOServer::SICEGrpInfoSeq& grpList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AMOServer__MOSInterface__getEhmsGrpSts_name); - __delBase = __getDelegate(); - ::IceDelegate::AMOServer::MOSInterface* __del = dynamic_cast< ::IceDelegate::AMOServer::MOSInterface*>(__delBase.get()); - return __del->getEhmsGrpSts(uid, grpIds, grpList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AMOServer::MOSInterface::ice_staticId() -{ - return ::AMOServer::MOSInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AMOServer::MOSInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AMOServer::MOSInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AMOServer::MOSInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AMOServer::MOSInterface); -} - -bool -IceProxy::AMOServer::operator==(const ::IceProxy::AMOServer::MOSInterface& l, const ::IceProxy::AMOServer::MOSInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AMOServer::operator!=(const ::IceProxy::AMOServer::MOSInterface& l, const ::IceProxy::AMOServer::MOSInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AMOServer::operator<(const ::IceProxy::AMOServer::MOSInterface& l, const ::IceProxy::AMOServer::MOSInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AMOServer::operator<=(const ::IceProxy::AMOServer::MOSInterface& l, const ::IceProxy::AMOServer::MOSInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AMOServer::operator>(const ::IceProxy::AMOServer::MOSInterface& l, const ::IceProxy::AMOServer::MOSInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AMOServer::operator>=(const ::IceProxy::AMOServer::MOSInterface& l, const ::IceProxy::AMOServer::MOSInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getUserStatus(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusSeq& mosStatusList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getUserStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userList[0], &userList[0] + userList.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AMOServer::__read(__is, mosStatusList, ::AMOServer::__U__SICEMosStatusSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getUserStatusIp(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusIpSeq& mosStatusList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getUserStatusIp_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userList[0], &userList[0] + userList.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AMOServer::__read(__is, mosStatusList, ::AMOServer::__U__SICEMosStatusIpSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getUserRealStatus(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusSeq& mosStatusList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getUserRealStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userList[0], &userList[0] + userList.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AMOServer::__read(__is, mosStatusList, ::AMOServer::__U__SICEMosStatusSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getUserRealStatusIp(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusIpSeq& mosStatusList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getUserRealStatusIp_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userList[0], &userList[0] + userList.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AMOServer::__read(__is, mosStatusList, ::AMOServer::__U__SICEMosStatusIpSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getUserLastLoginTime(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICELoginTimeSeq& loginTimeList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getUserLastLoginTime_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userList[0], &userList[0] + userList.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AMOServer::__read(__is, loginTimeList, ::AMOServer::__U__SICELoginTimeSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getUserCount(::Ice::Short type, ::Ice::Long arg1, const ::std::string& arg2, ::Ice::Long& count, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getUserCount_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(type); - __os->write(arg1); - __os->write(arg2); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(count); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getIpUsers(::Ice::Long ip, ::Ice::Long count, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getIpUsers_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(ip); - __os->write(count); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(allCount); - __is->read(uidList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getIpUsersEx(::Ice::Long ip, ::Ice::Long count, ::Ice::Long netcode, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getIpUsersEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(ip); - __os->write(count); - __os->write(netcode); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(allCount); - __is->read(uidList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getSameIpSiteUsers(const ::std::string& uid, ::Ice::Long count, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getSameIpSiteUsers_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(count); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(allCount); - __is->read(uidList); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getOnlineUsers(::Ice::Short netcode, ::Ice::Short onlineType, ::AMOServer::SICEUserInfoSeq& userlist, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getOnlineUsers_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(netcode); - __os->write(onlineType); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AMOServer::__read(__is, userlist, ::AMOServer::__U__SICEUserInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getOnlineUser(const ::std::string& uid, ::AMOServer::UserInfo& ui, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getOnlineUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ui.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getOnlineUserEx(const ::std::string& uid, ::AMOServer::UserInfoEx& ui, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getOnlineUserEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ui.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AMOServer::MOSInterface::getEhmsGrpSts(const ::std::string& uid, const ::AMOServer::SICEGrpIdSeq& grpIds, ::AMOServer::SICEGrpInfoSeq& grpList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AMOServer__MOSInterface__getEhmsGrpSts_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - if(grpIds.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&grpIds[0], &grpIds[0] + grpIds.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AMOServer::__read(__is, grpList, ::AMOServer::__U__SICEGrpInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getUserStatus(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusSeq& mosStatusList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getUserStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserStatus(userList, mosStatusList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getUserStatusIp(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusIpSeq& mosStatusList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getUserStatusIp_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserStatusIp(userList, mosStatusList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getUserRealStatus(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusSeq& mosStatusList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getUserRealStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserRealStatus(userList, mosStatusList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getUserRealStatusIp(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICEMosStatusIpSeq& mosStatusList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getUserRealStatusIp_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserRealStatusIp(userList, mosStatusList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getUserLastLoginTime(const ::AMOServer::SICEUserIdSeq& userList, ::AMOServer::SICELoginTimeSeq& loginTimeList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getUserLastLoginTime_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserLastLoginTime(userList, loginTimeList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getUserCount(::Ice::Short type, ::Ice::Long arg1, const ::std::string& arg2, ::Ice::Long& count, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getUserCount_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserCount(type, arg1, arg2, count, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getIpUsers(::Ice::Long ip, ::Ice::Long count, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getIpUsers_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getIpUsers(ip, count, allCount, uidList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getIpUsersEx(::Ice::Long ip, ::Ice::Long count, ::Ice::Long netcode, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getIpUsersEx_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getIpUsersEx(ip, count, netcode, allCount, uidList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getSameIpSiteUsers(const ::std::string& uid, ::Ice::Long count, ::Ice::Long& allCount, ::AMOServer::SICEUserIdSeq& uidList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getSameIpSiteUsers_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getSameIpSiteUsers(uid, count, allCount, uidList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getOnlineUsers(::Ice::Short netcode, ::Ice::Short onlineType, ::AMOServer::SICEUserInfoSeq& userlist, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getOnlineUsers_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getOnlineUsers(netcode, onlineType, userlist, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getOnlineUser(const ::std::string& uid, ::AMOServer::UserInfo& ui, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getOnlineUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getOnlineUser(uid, ui, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getOnlineUserEx(const ::std::string& uid, ::AMOServer::UserInfoEx& ui, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getOnlineUserEx_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getOnlineUserEx(uid, ui, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AMOServer::MOSInterface::getEhmsGrpSts(const ::std::string& uid, const ::AMOServer::SICEGrpIdSeq& grpIds, ::AMOServer::SICEGrpInfoSeq& grpList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AMOServer__MOSInterface__getEhmsGrpSts_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AMOServer::MOSInterface* __servant = dynamic_cast< ::AMOServer::MOSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getEhmsGrpSts(uid, grpIds, grpList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AMOServer::MOSInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AMOServer__MOSInterface_ids[2] = -{ - "::AMOServer::MOSInterface", - "::Ice::Object" -}; - -bool -AMOServer::MOSInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AMOServer__MOSInterface_ids, __AMOServer__MOSInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -AMOServer::MOSInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AMOServer__MOSInterface_ids[0], &__AMOServer__MOSInterface_ids[2]); -} - -const ::std::string& -AMOServer::MOSInterface::ice_id(const ::Ice::Current&) const -{ - return __AMOServer__MOSInterface_ids[0]; -} - -const ::std::string& -AMOServer::MOSInterface::ice_staticId() -{ - return __AMOServer__MOSInterface_ids[0]; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getUserStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AMOServer::SICEUserIdSeq userList; - __is->read(userList); - ::AMOServer::SICEMosStatusSeq mosStatusList; - ::Ice::Int __ret = getUserStatus(userList, mosStatusList, __current); - if(mosStatusList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AMOServer::__write(__os, &mosStatusList[0], &mosStatusList[0] + mosStatusList.size(), ::AMOServer::__U__SICEMosStatusSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getUserStatusIp(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AMOServer::SICEUserIdSeq userList; - __is->read(userList); - ::AMOServer::SICEMosStatusIpSeq mosStatusList; - ::Ice::Int __ret = getUserStatusIp(userList, mosStatusList, __current); - if(mosStatusList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AMOServer::__write(__os, &mosStatusList[0], &mosStatusList[0] + mosStatusList.size(), ::AMOServer::__U__SICEMosStatusIpSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getUserRealStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AMOServer::SICEUserIdSeq userList; - __is->read(userList); - ::AMOServer::SICEMosStatusSeq mosStatusList; - ::Ice::Int __ret = getUserRealStatus(userList, mosStatusList, __current); - if(mosStatusList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AMOServer::__write(__os, &mosStatusList[0], &mosStatusList[0] + mosStatusList.size(), ::AMOServer::__U__SICEMosStatusSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getUserRealStatusIp(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AMOServer::SICEUserIdSeq userList; - __is->read(userList); - ::AMOServer::SICEMosStatusIpSeq mosStatusList; - ::Ice::Int __ret = getUserRealStatusIp(userList, mosStatusList, __current); - if(mosStatusList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AMOServer::__write(__os, &mosStatusList[0], &mosStatusList[0] + mosStatusList.size(), ::AMOServer::__U__SICEMosStatusIpSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getUserLastLoginTime(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AMOServer::SICEUserIdSeq userList; - __is->read(userList); - ::AMOServer::SICELoginTimeSeq loginTimeList; - ::Ice::Int __ret = getUserLastLoginTime(userList, loginTimeList, __current); - if(loginTimeList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AMOServer::__write(__os, &loginTimeList[0], &loginTimeList[0] + loginTimeList.size(), ::AMOServer::__U__SICELoginTimeSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getUserCount(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Short type; - ::Ice::Long arg1; - ::std::string arg2; - __is->read(type); - __is->read(arg1); - __is->read(arg2); - ::Ice::Long count; - ::Ice::Int __ret = getUserCount(type, arg1, arg2, count, __current); - __os->write(count); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getIpUsers(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long ip; - ::Ice::Long count; - __is->read(ip); - __is->read(count); - ::Ice::Long allCount; - ::AMOServer::SICEUserIdSeq uidList; - ::Ice::Int __ret = getIpUsers(ip, count, allCount, uidList, __current); - __os->write(allCount); - if(uidList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&uidList[0], &uidList[0] + uidList.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getIpUsersEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long ip; - ::Ice::Long count; - ::Ice::Long netcode; - __is->read(ip); - __is->read(count); - __is->read(netcode); - ::Ice::Long allCount; - ::AMOServer::SICEUserIdSeq uidList; - ::Ice::Int __ret = getIpUsersEx(ip, count, netcode, allCount, uidList, __current); - __os->write(allCount); - if(uidList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&uidList[0], &uidList[0] + uidList.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getSameIpSiteUsers(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::Long count; - __is->read(uid); - __is->read(count); - ::Ice::Long allCount; - ::AMOServer::SICEUserIdSeq uidList; - ::Ice::Int __ret = getSameIpSiteUsers(uid, count, allCount, uidList, __current); - __os->write(allCount); - if(uidList.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&uidList[0], &uidList[0] + uidList.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getOnlineUsers(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Short netcode; - ::Ice::Short onlineType; - __is->read(netcode); - __is->read(onlineType); - ::AMOServer::SICEUserInfoSeq userlist; - ::Ice::Int __ret = getOnlineUsers(netcode, onlineType, userlist, __current); - if(userlist.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AMOServer::__write(__os, &userlist[0], &userlist[0] + userlist.size(), ::AMOServer::__U__SICEUserInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getOnlineUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::AMOServer::UserInfo ui; - ::Ice::Int __ret = getOnlineUser(uid, ui, __current); - ui.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getOnlineUserEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::AMOServer::UserInfoEx ui; - ::Ice::Int __ret = getOnlineUserEx(uid, ui, __current); - ui.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::___getEhmsGrpSts(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::AMOServer::SICEGrpIdSeq grpIds; - __is->read(uid); - __is->read(grpIds); - ::AMOServer::SICEGrpInfoSeq grpList; - ::Ice::Int __ret = getEhmsGrpSts(uid, grpIds, grpList, __current); - if(grpList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AMOServer::__write(__os, &grpList[0], &grpList[0] + grpList.size(), ::AMOServer::__U__SICEGrpInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AMOServer__MOSInterface_all[] = -{ - "getEhmsGrpSts", - "getIpUsers", - "getIpUsersEx", - "getOnlineUser", - "getOnlineUserEx", - "getOnlineUsers", - "getSameIpSiteUsers", - "getUserCount", - "getUserLastLoginTime", - "getUserRealStatus", - "getUserRealStatusIp", - "getUserStatus", - "getUserStatusIp", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -AMOServer::MOSInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AMOServer__MOSInterface_all, __AMOServer__MOSInterface_all + 17, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AMOServer__MOSInterface_all) - { - case 0: - { - return ___getEhmsGrpSts(in, current); - } - case 1: - { - return ___getIpUsers(in, current); - } - case 2: - { - return ___getIpUsersEx(in, current); - } - case 3: - { - return ___getOnlineUser(in, current); - } - case 4: - { - return ___getOnlineUserEx(in, current); - } - case 5: - { - return ___getOnlineUsers(in, current); - } - case 6: - { - return ___getSameIpSiteUsers(in, current); - } - case 7: - { - return ___getUserCount(in, current); - } - case 8: - { - return ___getUserLastLoginTime(in, current); - } - case 9: - { - return ___getUserRealStatus(in, current); - } - case 10: - { - return ___getUserRealStatusIp(in, current); - } - case 11: - { - return ___getUserStatus(in, current); - } - case 12: - { - return ___getUserStatusIp(in, current); - } - case 13: - { - return ___ice_id(in, current); - } - case 14: - { - return ___ice_ids(in, current); - } - case 15: - { - return ___ice_isA(in, current); - } - case 16: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AMOServer::MOSInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AMOServer::MOSInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AMOServer::MOSInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AMOServer::MOSInterface was not generated with stream support"; - throw ex; -} - -void -AMOServer::MOSInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AMOServer::MOSInterface was not generated with stream support"; - throw ex; -} - -void -AMOServer::__patch__MOSInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AMOServer::MOSInterfacePtr* p = static_cast< ::AMOServer::MOSInterfacePtr*>(__addr); - assert(p); - *p = ::AMOServer::MOSInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AMOServer::MOSInterface::ice_staticId(); - throw e; - } -} - -bool -AMOServer::operator==(const ::AMOServer::MOSInterface& l, const ::AMOServer::MOSInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AMOServer::operator!=(const ::AMOServer::MOSInterface& l, const ::AMOServer::MOSInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AMOServer::operator<(const ::AMOServer::MOSInterface& l, const ::AMOServer::MOSInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AMOServer::operator<=(const ::AMOServer::MOSInterface& l, const ::AMOServer::MOSInterface& r) -{ - return l < r || l == r; -} - -bool -AMOServer::operator>(const ::AMOServer::MOSInterface& l, const ::AMOServer::MOSInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -AMOServer::operator>=(const ::AMOServer::MOSInterface& l, const ::AMOServer::MOSInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/mos_perf_test.cpp b/features/aliww/source/mos_perf_test.cpp deleted file mode 100644 index cd76ea3..0000000 --- a/features/aliww/source/mos_perf_test.cpp +++ /dev/null @@ -1,130 +0,0 @@ -#include "mos_perf_test.h" - -using namespace std; -using namespace Ice; -using namespace AMOServer; - -void* mos_init(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - mos_st *ap = (mos_st *)malloc(sizeof(mos_st)); - pVuser->verb = ap; - srand(time(0)); - create_transaction(pVuser,"MOS"); - - int status = 0; - Ice::CommunicatorPtr ic; - - try{ - ic = Ice::initialize(); - - Ice::ObjectPrx base = ic->stringToProxy("mosInterfaceAdapter:default -h 10.249.65.38 -p 40001"); - MOSInterfacePrx mos = MOSInterfacePrx::checkedCast(base); - if(!mos){ - throw "Invalid proxy"; - } - ap->mos = new MOSInterfacePrx(mos); - ap->ic = new Ice::CommunicatorPtr(ic); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* mos_getUserStatus(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - mos_st *ap = (mos_st *)pVuser->verb; - int status = 0; - MOSInterfacePrx mos = *(ap->mos); - - ::AMOServer::SICEUserIdSeq userList; - ::AMOServer::SICEMosStatusSeq mosStatusList; - - int user_size = 10, i = 0; - for(i = 0; i < user_size; i++){ - string user(select_param_ex(pVuser)); - userList.push_back(user); - } - - try{ - status = mos->getUserStatus(userList, mosStatusList); - if(status == 0) - success_transactionEx(pVuser,"MOS","TextPut Sucess."); - else{ - char str_tmp[32] = {0}; - sprintf(str_tmp,"getUserStatus:Call ret status is %d",status); - fail_transactionEx(pVuser,"MOS",str_tmp); - } - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* mos_getUserCount(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - mos_st *ap = (mos_st *)pVuser->verb; - int status = 0; - MOSInterfacePrx mos = *(ap->mos); - - short type = 3; - long arg1 = 1; - string arg2; - long count; - - try{ - status = mos->getUserCount(type, arg1, arg2, count); -/* - if(status == 0) - success_transactionEx(pVuser,"MOS","TextPut Sucess."); - else{ - char str_tmp[32] = {0}; - sprintf(str_tmp,"getUserStatus:Call ret status is %d",status); - fail_transactionEx(pVuser,"MOS",str_tmp); - } -*/ - cout << "Now user count: " << count << endl; - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* mos_end(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - mos_st *ap = (mos_st *)pVuser->verb; - int status = 0; - MOSInterfacePrx mos = *(ap->mos); - Ice::CommunicatorPtr ic = *(ap->ic); - - if(ic){ - try{ - ic->destroy(); - //delete(&ic); - //delete(&mos); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } - } -} - diff --git a/features/aliww/source/mpcsc_pack.cpp b/features/aliww/source/mpcsc_pack.cpp deleted file mode 100644 index 3de266c..0000000 --- a/features/aliww/source/mpcsc_pack.cpp +++ /dev/null @@ -1,1331 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: mpcsc_pack.cpp -// Date: 2011-01-30 12:50:22 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "mpcsc_pack.h" - -void CImReqCreatechatroom::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CREATECHATROOM; - m_scHead.PackData(strData); -} - -void CImReqCreatechatroom::PackBody(string& strData) -{ -} - -void CImReqCreatechatroom::PackData(string& strData, const string& strKey) -{ - PackHead(strData); -} - -PACKRETCODE CImReqCreatechatroom::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CImReqCreatechatroom::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - return PACK_RIGHT; -} - -void CImRspCreatechatroom::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CREATECHATROOM; - m_scHead.PackData(strData); -} - -void CImRspCreatechatroom::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_roomId; - (*this) << FT_STRING; - (*this) << m_password; - (*this) << FT_STRING; - (*this) << m_mpcsIp; - (*this) << FT_UINT16; - (*this) << m_port; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspCreatechatroom::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspCreatechatroom::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_roomId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_password; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_mpcsIp; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_port; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspCreatechatroom::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CMpcsReqJoinchatroom::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = MPCS_REQ_JOINCHATROOM; - m_scHead.PackData(strData); -} - -void CMpcsReqJoinchatroom::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_password; - (*this) << FT_STRING; - (*this) << m_version; - (*this) << FT_STRING; - (*this) << m_fromId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsReqJoinchatroom::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CMpcsReqJoinchatroom::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_password; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromId; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsReqJoinchatroom::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CMpcsRspJoinchatroom::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = MPCS_RSP_JOINCHATROOM; - m_scHead.PackData(strData); -} - -void CMpcsRspJoinchatroom::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_roomId; - (*this) << FT_UINT32; - (*this) << m_maxMember; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsRspJoinchatroom::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CMpcsRspJoinchatroom::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_roomId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_maxMember; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsRspJoinchatroom::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CMpcsReqExitchatroom::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = MPCS_REQ_EXITCHATROOM; - m_scHead.PackData(strData); -} - -void CMpcsReqExitchatroom::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_userId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsReqExitchatroom::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CMpcsReqExitchatroom::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsReqExitchatroom::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CMpcsRspExitchatroom::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = MPCS_RSP_EXITCHATROOM; - m_scHead.PackData(strData); -} - -void CMpcsRspExitchatroom::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_roomId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsRspExitchatroom::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CMpcsRspExitchatroom::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_roomId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsRspExitchatroom::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CMpcsReqGetchatroomusers::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = MPCS_REQ_GETCHATROOMUSERS; - m_scHead.PackData(strData); -} - -void CMpcsReqGetchatroomusers::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_userId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsReqGetchatroomusers::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CMpcsReqGetchatroomusers::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsReqGetchatroomusers::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CMpcsRspGetchatroomusers::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = MPCS_RSP_GETCHATROOMUSERS; - m_scHead.PackData(strData); -} - -void CMpcsRspGetchatroomusers::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_roomId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsRspGetchatroomusers::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CMpcsRspGetchatroomusers::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_roomId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsRspGetchatroomusers::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CMpcsReqSendMpcmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = MPCS_REQ_SEND_MPCMSG; - m_scHead.PackData(strData); -} - -void CMpcsReqSendMpcmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_targetId; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsReqSendMpcmsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CMpcsReqSendMpcmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_targetId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsReqSendMpcmsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CMpcsRspSendMpcmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = MPCS_RSP_SEND_MPCMSG; - m_scHead.PackData(strData); -} - -void CMpcsRspSendMpcmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_roomId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_targetId; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsRspSendMpcmsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CMpcsRspSendMpcmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_roomId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_targetId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsRspSendMpcmsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CMpcsNtfMpcmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = MPCS_NTF_MPCMSG; - m_scHead.PackData(strData); -} - -void CMpcsNtfMpcmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT32; - (*this) << m_roomId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_targetId; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsNtfMpcmsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CMpcsNtfMpcmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_roomId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_targetId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsNtfMpcmsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CMpcsNtfChatroomstatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = MPCS_NTF_CHATROOMSTATUS; - m_scHead.PackData(strData); -} - -void CMpcsNtfChatroomstatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_roomId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_userId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsNtfChatroomstatus::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CMpcsNtfChatroomstatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_roomId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsNtfChatroomstatus::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CMpcsNtfForcedisconnect::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = MPCS_NTF_FORCEDISCONNECT; - m_scHead.PackData(strData); -} - -void CMpcsNtfForcedisconnect::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_roomId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_remark; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsNtfForcedisconnect::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CMpcsNtfForcedisconnect::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_roomId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsNtfForcedisconnect::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - diff --git a/features/aliww/source/mpcss_pack.cpp b/features/aliww/source/mpcss_pack.cpp deleted file mode 100644 index caea521..0000000 --- a/features/aliww/source/mpcss_pack.cpp +++ /dev/null @@ -1,552 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: mpcss_pack.cpp -// Date: 2011-01-30 12:50:24 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "mpcss_pack.h" - -void CMpcsSsReqCreatechatroom::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = MPCS_SS_REQ_CREATECHATROOM; - m_ssHead.PackData(strData); -} - -void CMpcsSsReqCreatechatroom::PackBody(string& strData) -{ -} - -void CMpcsSsReqCreatechatroom::PackData(string& strData) -{ - PackHead(strData); -} - -PACKRETCODE CMpcsSsReqCreatechatroom::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CMpcsSsReqCreatechatroom::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CMpcsSsRspCreatechatroom::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = MPCS_SS_RSP_CREATECHATROOM; - m_ssHead.PackData(strData); -} - -void CMpcsSsRspCreatechatroom::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT32; - (*this) << m_roomId; - (*this) << FT_STRING; - (*this) << m_password; - (*this) << FT_STRING; - (*this) << m_mpcsIp; - (*this) << FT_UINT16; - (*this) << m_port; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsSsRspCreatechatroom::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CMpcsSsRspCreatechatroom::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_roomId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_password; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_mpcsIp; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_port; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsSsRspCreatechatroom::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CMpcsSsNtfExitchatroom::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = MPCS_SS_NTF_EXITCHATROOM; - m_ssHead.PackData(strData); -} - -void CMpcsSsNtfExitchatroom::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_VECTOR; - (*this) << FT_UINT32; - { - uint32_t nLen = m_roomList.size(); - (*this) << nLen; - VECTOR< uint32_t >::const_iterator itr; - for(itr = m_roomList.cbegin(); itr != m_roomList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsSsNtfExitchatroom::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CMpcsSsNtfExitchatroom::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_roomList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - uint32_t tmpVal; - (*this) >> tmpVal; - m_roomList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsSsNtfExitchatroom::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CMpcsSsReqTransmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = MPCS_SS_REQ_TRANSMSG; - m_ssHead.PackData(strData); -} - -void CMpcsSsReqTransmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_roomId; - (*this) << FT_INT32; - (*this) << m_fd; - (*this) << FT_STRING; - (*this) << m_packet; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsSsReqTransmsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CMpcsSsReqTransmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_roomId; - (*this) >> field; - if(field.m_baseType != FT_INT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fd; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_packet; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsSsReqTransmsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CMpcsSsRspTransmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = MPCS_SS_RSP_TRANSMSG; - m_ssHead.PackData(strData); -} - -void CMpcsSsRspTransmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_deskey; - (*this) << FT_STRING; - (*this) << m_packet; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsSsRspTransmsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CMpcsSsRspTransmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_deskey; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_packet; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsSsRspTransmsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CMpcsSsNtfForcedisconnect::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = MPCS_SS_NTF_FORCEDISCONNECT; - m_ssHead.PackData(strData); -} - -void CMpcsSsNtfForcedisconnect::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_userId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsSsNtfForcedisconnect::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CMpcsSsNtfForcedisconnect::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsSsNtfForcedisconnect::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CMpcsSsNtfRoomuserinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = MPCS_SS_NTF_ROOMUSERINFO; - m_ssHead.PackData(strData); -} - -void CMpcsSsNtfRoomuserinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT32; - (*this) << m_roomId; - (*this) << FT_INT32; - (*this) << m_fd; - (*this) << FT_STRING; - (*this) << m_version; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CMpcsSsNtfRoomuserinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CMpcsSsNtfRoomuserinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_roomId; - (*this) >> field; - if(field.m_baseType != FT_INT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fd; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CMpcsSsNtfRoomuserinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/msc_head.cpp b/features/aliww/source/msc_head.cpp deleted file mode 100644 index 99dc370..0000000 --- a/features/aliww/source/msc_head.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: msc_head.cpp -// Date: 2011-01-30 12:49:57 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "msc_head.h" - -void CMscHead::PackData(string& strData) -{ - try - { - ResetOutBuff(strData); - (*this) << m_starter; - (*this) << m_version; - (*this) << m_flag; - (*this) << m_cmd; - (*this) << m_seq; - (*this) << m_cc; - (*this) << m_len; - (*this) << m_reserved; -; - } - catch(std::exception&) - { - strData = ""; - } -} - -PACKRETCODE CMscHead::UnpackData(const string& strData) -{ - try - { - ResetInBuff(strData); - (*this) >> m_starter; - (*this) >> m_version; - (*this) >> m_flag; - (*this) >> m_cmd; - (*this) >> m_seq; - (*this) >> m_cc; - (*this) >> m_len; - (*this) >> m_reserved; -; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - diff --git a/features/aliww/source/ngsInterface.cpp b/features/aliww/source/ngsInterface.cpp deleted file mode 100644 index 6978281..0000000 --- a/features/aliww/source/ngsInterface.cpp +++ /dev/null @@ -1,464 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `ngsInterface.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__NGSInterface__notifyOperationTip_name = "notifyOperationTip"; - -void -IceInternal::incRef(::AliIM::NGSInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::NGSInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::NGSInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::NGSInterface* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::NGSInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::NGSInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::NGSInterface; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::NGSInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIM::__addObject(const NGSInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const NGSInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const NGSInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(NGSInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::NGSInterface::notifyOperationTip(const ::std::string& uid, const ::std::string& cid, const ::std::string& message, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__NGSInterface__notifyOperationTip_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::NGSInterface* __del = dynamic_cast< ::IceDelegate::AliIM::NGSInterface*>(__delBase.get()); - return __del->notifyOperationTip(uid, cid, message, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::NGSInterface::ice_staticId() -{ - return ::AliIM::NGSInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::NGSInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::NGSInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::NGSInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::NGSInterface); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::NGSInterface& l, const ::IceProxy::AliIM::NGSInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::NGSInterface& l, const ::IceProxy::AliIM::NGSInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::NGSInterface& l, const ::IceProxy::AliIM::NGSInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::NGSInterface& l, const ::IceProxy::AliIM::NGSInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::NGSInterface& l, const ::IceProxy::AliIM::NGSInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::NGSInterface& l, const ::IceProxy::AliIM::NGSInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::NGSInterface::notifyOperationTip(const ::std::string& uid, const ::std::string& cid, const ::std::string& message, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__NGSInterface__notifyOperationTip_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(cid); - __os->write(message); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::NGSInterface::notifyOperationTip(const ::std::string& uid, const ::std::string& cid, const ::std::string& message, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__NGSInterface__notifyOperationTip_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::NGSInterface* __servant = dynamic_cast< ::AliIM::NGSInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->notifyOperationTip(uid, cid, message, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::NGSInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__NGSInterface_ids[2] = -{ - "::AliIM::NGSInterface", - "::Ice::Object" -}; - -bool -AliIM::NGSInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__NGSInterface_ids, __AliIM__NGSInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::NGSInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__NGSInterface_ids[0], &__AliIM__NGSInterface_ids[2]); -} - -const ::std::string& -AliIM::NGSInterface::ice_id(const ::Ice::Current&) const -{ - return __AliIM__NGSInterface_ids[0]; -} - -const ::std::string& -AliIM::NGSInterface::ice_staticId() -{ - return __AliIM__NGSInterface_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::NGSInterface::___notifyOperationTip(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string cid; - ::std::string message; - __is->read(uid); - __is->read(cid); - __is->read(message); - ::Ice::Int __ret = notifyOperationTip(uid, cid, message, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__NGSInterface_all[] = -{ - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "notifyOperationTip" -}; - -::IceInternal::DispatchStatus -AliIM::NGSInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__NGSInterface_all, __AliIM__NGSInterface_all + 5, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__NGSInterface_all) - { - case 0: - { - return ___ice_id(in, current); - } - case 1: - { - return ___ice_ids(in, current); - } - case 2: - { - return ___ice_isA(in, current); - } - case 3: - { - return ___ice_ping(in, current); - } - case 4: - { - return ___notifyOperationTip(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::NGSInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::NGSInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::NGSInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::NGSInterface was not generated with stream support"; - throw ex; -} - -void -AliIM::NGSInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::NGSInterface was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__NGSInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::NGSInterfacePtr* p = static_cast< ::AliIM::NGSInterfacePtr*>(__addr); - assert(p); - *p = ::AliIM::NGSInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::NGSInterface::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::NGSInterface& l, const ::AliIM::NGSInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::NGSInterface& l, const ::AliIM::NGSInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::NGSInterface& l, const ::AliIM::NGSInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::NGSInterface& l, const ::AliIM::NGSInterface& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::NGSInterface& l, const ::AliIM::NGSInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::NGSInterface& l, const ::AliIM::NGSInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/notifycontact.cpp b/features/aliww/source/notifycontact.cpp deleted file mode 100644 index 3a1eaa1..0000000 --- a/features/aliww/source/notifycontact.cpp +++ /dev/null @@ -1,592 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `notifycontact.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__NotifyContactInterface__NotifyDelContact_name = "NotifyDelContact"; - -static const ::std::string __AliIM__NotifyContactInterface__NotifyAddContact_name = "NotifyAddContact"; - -void -IceInternal::incRef(::AliIM::NotifyContactInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::NotifyContactInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::NotifyContactInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::NotifyContactInterface* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::NotifyContactInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::NotifyContactInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::NotifyContactInterface; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::NotifyContactInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIM::__addObject(const NotifyContactInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const NotifyContactInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const NotifyContactInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(NotifyContactInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::NotifyContactInterface::NotifyDelContact(const ::std::string& loginId, const ::std::string& contactId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__NotifyContactInterface__NotifyDelContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::NotifyContactInterface* __del = dynamic_cast< ::IceDelegate::AliIM::NotifyContactInterface*>(__delBase.get()); - return __del->NotifyDelContact(loginId, contactId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::NotifyContactInterface::NotifyAddContact(const ::std::string& loginId, const ::std::string& contactId, const ::std::string& groupName, ::Ice::Int groupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__NotifyContactInterface__NotifyAddContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::NotifyContactInterface* __del = dynamic_cast< ::IceDelegate::AliIM::NotifyContactInterface*>(__delBase.get()); - return __del->NotifyAddContact(loginId, contactId, groupName, groupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::NotifyContactInterface::ice_staticId() -{ - return ::AliIM::NotifyContactInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::NotifyContactInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::NotifyContactInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::NotifyContactInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::NotifyContactInterface); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::NotifyContactInterface& l, const ::IceProxy::AliIM::NotifyContactInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::NotifyContactInterface& l, const ::IceProxy::AliIM::NotifyContactInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::NotifyContactInterface& l, const ::IceProxy::AliIM::NotifyContactInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::NotifyContactInterface& l, const ::IceProxy::AliIM::NotifyContactInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::NotifyContactInterface& l, const ::IceProxy::AliIM::NotifyContactInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::NotifyContactInterface& l, const ::IceProxy::AliIM::NotifyContactInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::NotifyContactInterface::NotifyDelContact(const ::std::string& loginId, const ::std::string& contactId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__NotifyContactInterface__NotifyDelContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::NotifyContactInterface::NotifyAddContact(const ::std::string& loginId, const ::std::string& contactId, const ::std::string& groupName, ::Ice::Int groupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__NotifyContactInterface__NotifyAddContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(contactId); - __os->write(groupName); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::NotifyContactInterface::NotifyDelContact(const ::std::string& loginId, const ::std::string& contactId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__NotifyContactInterface__NotifyDelContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::NotifyContactInterface* __servant = dynamic_cast< ::AliIM::NotifyContactInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->NotifyDelContact(loginId, contactId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::NotifyContactInterface::NotifyAddContact(const ::std::string& loginId, const ::std::string& contactId, const ::std::string& groupName, ::Ice::Int groupId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__NotifyContactInterface__NotifyAddContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::NotifyContactInterface* __servant = dynamic_cast< ::AliIM::NotifyContactInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->NotifyAddContact(loginId, contactId, groupName, groupId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::NotifyContactInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__NotifyContactInterface_ids[2] = -{ - "::AliIM::NotifyContactInterface", - "::Ice::Object" -}; - -bool -AliIM::NotifyContactInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__NotifyContactInterface_ids, __AliIM__NotifyContactInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::NotifyContactInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__NotifyContactInterface_ids[0], &__AliIM__NotifyContactInterface_ids[2]); -} - -const ::std::string& -AliIM::NotifyContactInterface::ice_id(const ::Ice::Current&) const -{ - return __AliIM__NotifyContactInterface_ids[0]; -} - -const ::std::string& -AliIM::NotifyContactInterface::ice_staticId() -{ - return __AliIM__NotifyContactInterface_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::NotifyContactInterface::___NotifyDelContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::std::string contactId; - __is->read(loginId); - __is->read(contactId); - ::Ice::Int __ret = NotifyDelContact(loginId, contactId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::NotifyContactInterface::___NotifyAddContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::std::string contactId; - ::std::string groupName; - ::Ice::Int groupId; - __is->read(loginId); - __is->read(contactId); - __is->read(groupName); - __is->read(groupId); - ::Ice::Int __ret = NotifyAddContact(loginId, contactId, groupName, groupId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__NotifyContactInterface_all[] = -{ - "NotifyAddContact", - "NotifyDelContact", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -AliIM::NotifyContactInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__NotifyContactInterface_all, __AliIM__NotifyContactInterface_all + 6, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__NotifyContactInterface_all) - { - case 0: - { - return ___NotifyAddContact(in, current); - } - case 1: - { - return ___NotifyDelContact(in, current); - } - case 2: - { - return ___ice_id(in, current); - } - case 3: - { - return ___ice_ids(in, current); - } - case 4: - { - return ___ice_isA(in, current); - } - case 5: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::NotifyContactInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::NotifyContactInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::NotifyContactInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::NotifyContactInterface was not generated with stream support"; - throw ex; -} - -void -AliIM::NotifyContactInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::NotifyContactInterface was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__NotifyContactInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::NotifyContactInterfacePtr* p = static_cast< ::AliIM::NotifyContactInterfacePtr*>(__addr); - assert(p); - *p = ::AliIM::NotifyContactInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::NotifyContactInterface::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::NotifyContactInterface& l, const ::AliIM::NotifyContactInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::NotifyContactInterface& l, const ::AliIM::NotifyContactInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::NotifyContactInterface& l, const ::AliIM::NotifyContactInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::NotifyContactInterface& l, const ::AliIM::NotifyContactInterface& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::NotifyContactInterface& l, const ::AliIM::NotifyContactInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::NotifyContactInterface& l, const ::AliIM::NotifyContactInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/paramUtil.cpp b/features/aliww/source/paramUtil.cpp deleted file mode 100644 index 560ac8c..0000000 --- a/features/aliww/source/paramUtil.cpp +++ /dev/null @@ -1,221 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: paramUtil.cpp - * - * Description: - * - * Version: 1.0 - * Created: 2011年01月10日 15时52分56秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - / - */ -#include -#include -#include - -/** - * @brief init_proc_param - * split the file specified by filename into pieces of file, called by main process. - * each file contains the parameters needed for a process. - * - * @param concurrence - * number of vusers need to generate, specified by user. - * - * @param group_capacity - * number of threads contained in a process, specified by benchmark. - * - * @param filename - * name of the file contains all parameters. - */ -void init_proc_param(int concurrence, int group_capacity, char *filename) -{ - char temp_param_buf[MAX_PARAM_SIZE]; - FILE *fin, *fout; - fin = fopen(filename, "r"); - int line_num = 0; - char group_filename[100] = {0}; - while(!feof(fin)) - { - fgets(temp_param_buf, MAX_PARAM_SIZE, fin); - if(strlen(temp_param_buf) != 0) - { - line_num++; - temp_param_buf[0] = '\0'; - } - } - rewind(fin); - - int group_nums = concurrence/group_capacity +(concurrence%group_capacity == 0? 0:1); - int concurrence_mod = line_num%concurrence; - int currence_num = line_num/concurrence;//parameter number every vuser could have - int i; - for(i=0; i < concurrence/group_capacity * group_capacity; i++) - { - if(i%group_capacity == 0) - { - sprintf(group_filename, "temp/group%d.dat",i/group_capacity); - fout = fopen(group_filename, "w"); - } - for(int j = 0; j < currence_num; ) - { - fgets(temp_param_buf, MAX_PARAM_SIZE, fin); - if(strlen(temp_param_buf) != 0) - { - fputs(temp_param_buf, fout); - j++; - } - } - if(i < concurrence_mod) - { - fgets(temp_param_buf, MAX_PARAM_SIZE, fin); - if(strlen(temp_param_buf) != 0) - { - fputs(temp_param_buf, fout); - } - } - if((i+1)%group_capacity == 0) - { - fflush(fout); - fclose(fout); - } - } - - if(concurrence%group_capacity > 0) - { - sprintf(group_filename,"temp/group%d.dat",group_nums-1); - fout = fopen(group_filename,"w"); - while(!feof(fin)) - { - fgets(temp_param_buf, MAX_PARAM_SIZE, fin); - if(strlen(temp_param_buf) != 0) - { - fputs(temp_param_buf, fout); - temp_param_buf[0] = '\0'; - } - } - fflush(fout); - fclose(fout); - - } - fclose(fin);//close fin - -} - - - -/** - * @brief init_param - * initialize the process parameters.They are linked by list. - * - * @param group - * the process's group ID. - * - * @param pprocparam - * pointor of the proc_param_st. - */ -void init_param(int group, proc_param_st_t *pprocparam) -{ - char group_filename[100]; - char temp_param_buf[MAX_PARAM_SIZE]; - if(pprocparam->filename == NULL) - { - sprintf(group_filename, "temp/group%d.dat",group); - }else - { - strcpy(group_filename, pprocparam->filename); - } - printf("group_filename: %s \n",group_filename); - FILE *fin = fopen(group_filename, "r"); - INIT_LIST_HEAD(&pprocparam->params); - pprocparam->size = 0; - - while(!feof(fin)) - { - - fgets(temp_param_buf, MAX_PARAM_SIZE, fin); - int param_length = strlen(temp_param_buf); - if(param_length > 0) - { - param_st_t *pparam = (param_st_t*)malloc(sizeof(param_st_t)); - pparam->param = (char*)malloc(param_length+1); - strcpy(pparam->param , temp_param_buf); - list_add_tail(&pparam->list, &pprocparam->params); - (pprocparam->size)++; - } - - } - fclose(fin); -} - - - - -/* * - * @brief select_param - * select a parameter for a vuser. - * - * @param pprocparam - * pointor of the proc_param_st. - * - * @param vuser - * pointor of a vuser struct.We need vuser's ID and curIteNo to calculate parameter index. - * the char* pointor of the parameter selected. - */ -char* select_param(proc_param_st_t *pparamList, vuser_node_st_t *vuser) -{ - switch(pparamList->pm.main_type) - { - case 1: - { - list_head *pos; - int param_num = pparamList->size; - int user_num = vuser->b->num; - int offset = param_num / user_num; - int mod = param_num % user_num; - int user_id = vuser->id; - int index; - - if(user_id >= mod) - { - index = user_id * (offset) + mod + (vuser->curIteNo)%(offset); - } - else - { - index = (offset + 1) * user_id + (vuser->curIteNo)%(offset+1); - } - //reach to the index in the list - - pos = &(pparamList->params); - for(int i = 0;i <= index;i++)//important:the head node is empty,so i <= index - { - pos = pos->next; - } - param_st_t *target = container_of(pos, param_st_t, list); - - return target->param; - - } - case 2: - { - break; - } - case 3: - { - break; - } - default: - { - printf("parameter main type error :%d",pparamList->pm.main_type); - return NULL; - } - - } -} - diff --git a/features/aliww/source/recentCnt.cpp b/features/aliww/source/recentCnt.cpp deleted file mode 100644 index 8993de4..0000000 --- a/features/aliww/source/recentCnt.cpp +++ /dev/null @@ -1,874 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `recentCnt.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__RecentCntService__updateRcnt_name = "updateRcnt"; - -static const ::std::string __AliIM__RecentCntService__getRcntList_name = "getRcntList"; - -static const ::std::string __AliIM__RecentCntService__getUserInfo_name = "getUserInfo"; - -static const ::std::string __AliIM__RecentCntService__getRcntCount_name = "getRcntCount"; - -void -IceInternal::incRef(::AliIM::RecentCntService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::RecentCntService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::RecentCntService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::RecentCntService* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::RecentCntServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::RecentCntServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::RecentCntService; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::RecentCntServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIM::__addObject(const RecentCntServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const RecentCntServicePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const RecentCntServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(RecentCntServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::RecentCntService::updateRcnt(const ::std::string& loginId, ::Ice::Int pretimestamp, ::Ice::Int curtimestamp, const ::std::string& pcid, ::Ice::Int ip, const ::AliIM::SICERecentCntSeq& rcntlist, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__RecentCntService__updateRcnt_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::RecentCntService* __del = dynamic_cast< ::IceDelegate::AliIM::RecentCntService*>(__delBase.get()); - return __del->updateRcnt(loginId, pretimestamp, curtimestamp, pcid, ip, rcntlist, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::RecentCntService::getRcntList(const ::std::string& loginId, ::Ice::Int num, const ::std::string& orderby, ::AliIM::SICERecentCntSeq& rcntlist, ::Ice::Int& timestamp, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__RecentCntService__getRcntList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::RecentCntService* __del = dynamic_cast< ::IceDelegate::AliIM::RecentCntService*>(__delBase.get()); - return __del->getRcntList(loginId, num, orderby, rcntlist, timestamp, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::RecentCntService::getUserInfo(const ::std::string& loginId, ::std::string& pcid, ::Ice::Int& ip, ::Ice::Int& timestamp, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__RecentCntService__getUserInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::RecentCntService* __del = dynamic_cast< ::IceDelegate::AliIM::RecentCntService*>(__delBase.get()); - return __del->getUserInfo(loginId, pcid, ip, timestamp, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::RecentCntService::getRcntCount(const ::std::string& loginId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__RecentCntService__getRcntCount_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::RecentCntService* __del = dynamic_cast< ::IceDelegate::AliIM::RecentCntService*>(__delBase.get()); - return __del->getRcntCount(loginId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::RecentCntService::ice_staticId() -{ - return ::AliIM::RecentCntService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::RecentCntService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::RecentCntService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::RecentCntService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::RecentCntService); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::RecentCntService& l, const ::IceProxy::AliIM::RecentCntService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::RecentCntService& l, const ::IceProxy::AliIM::RecentCntService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::RecentCntService& l, const ::IceProxy::AliIM::RecentCntService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::RecentCntService& l, const ::IceProxy::AliIM::RecentCntService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::RecentCntService& l, const ::IceProxy::AliIM::RecentCntService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::RecentCntService& l, const ::IceProxy::AliIM::RecentCntService& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::RecentCntService::updateRcnt(const ::std::string& loginId, ::Ice::Int pretimestamp, ::Ice::Int curtimestamp, const ::std::string& pcid, ::Ice::Int ip, const ::AliIM::SICERecentCntSeq& rcntlist, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__RecentCntService__updateRcnt_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(pretimestamp); - __os->write(curtimestamp); - __os->write(pcid); - __os->write(ip); - if(rcntlist.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIM::__write(__os, &rcntlist[0], &rcntlist[0] + rcntlist.size(), ::AliIM::__U__SICERecentCntSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::RecentCntService::getRcntList(const ::std::string& loginId, ::Ice::Int num, const ::std::string& orderby, ::AliIM::SICERecentCntSeq& rcntlist, ::Ice::Int& timestamp, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__RecentCntService__getRcntList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(num); - __os->write(orderby); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIM::__read(__is, rcntlist, ::AliIM::__U__SICERecentCntSeq()); - __is->read(timestamp); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::RecentCntService::getUserInfo(const ::std::string& loginId, ::std::string& pcid, ::Ice::Int& ip, ::Ice::Int& timestamp, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__RecentCntService__getUserInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(pcid); - __is->read(ip); - __is->read(timestamp); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::RecentCntService::getRcntCount(const ::std::string& loginId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__RecentCntService__getRcntCount_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::RecentCntService::updateRcnt(const ::std::string& loginId, ::Ice::Int pretimestamp, ::Ice::Int curtimestamp, const ::std::string& pcid, ::Ice::Int ip, const ::AliIM::SICERecentCntSeq& rcntlist, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__RecentCntService__updateRcnt_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::RecentCntService* __servant = dynamic_cast< ::AliIM::RecentCntService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateRcnt(loginId, pretimestamp, curtimestamp, pcid, ip, rcntlist, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::RecentCntService::getRcntList(const ::std::string& loginId, ::Ice::Int num, const ::std::string& orderby, ::AliIM::SICERecentCntSeq& rcntlist, ::Ice::Int& timestamp, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__RecentCntService__getRcntList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::RecentCntService* __servant = dynamic_cast< ::AliIM::RecentCntService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getRcntList(loginId, num, orderby, rcntlist, timestamp, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::RecentCntService::getUserInfo(const ::std::string& loginId, ::std::string& pcid, ::Ice::Int& ip, ::Ice::Int& timestamp, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__RecentCntService__getUserInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::RecentCntService* __servant = dynamic_cast< ::AliIM::RecentCntService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserInfo(loginId, pcid, ip, timestamp, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::RecentCntService::getRcntCount(const ::std::string& loginId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__RecentCntService__getRcntCount_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::RecentCntService* __servant = dynamic_cast< ::AliIM::RecentCntService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getRcntCount(loginId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::RecentCntService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__RecentCntService_ids[2] = -{ - "::AliIM::RecentCntService", - "::Ice::Object" -}; - -bool -AliIM::RecentCntService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__RecentCntService_ids, __AliIM__RecentCntService_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::RecentCntService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__RecentCntService_ids[0], &__AliIM__RecentCntService_ids[2]); -} - -const ::std::string& -AliIM::RecentCntService::ice_id(const ::Ice::Current&) const -{ - return __AliIM__RecentCntService_ids[0]; -} - -const ::std::string& -AliIM::RecentCntService::ice_staticId() -{ - return __AliIM__RecentCntService_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::RecentCntService::___updateRcnt(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::Ice::Int pretimestamp; - ::Ice::Int curtimestamp; - ::std::string pcid; - ::Ice::Int ip; - ::AliIM::SICERecentCntSeq rcntlist; - __is->read(loginId); - __is->read(pretimestamp); - __is->read(curtimestamp); - __is->read(pcid); - __is->read(ip); - ::AliIM::__read(__is, rcntlist, ::AliIM::__U__SICERecentCntSeq()); - ::Ice::Int __ret = updateRcnt(loginId, pretimestamp, curtimestamp, pcid, ip, rcntlist, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::RecentCntService::___getRcntList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::Ice::Int num; - ::std::string orderby; - __is->read(loginId); - __is->read(num); - __is->read(orderby); - ::AliIM::SICERecentCntSeq rcntlist; - ::Ice::Int timestamp; - ::Ice::Int __ret = getRcntList(loginId, num, orderby, rcntlist, timestamp, __current); - if(rcntlist.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIM::__write(__os, &rcntlist[0], &rcntlist[0] + rcntlist.size(), ::AliIM::__U__SICERecentCntSeq()); - } - __os->write(timestamp); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::RecentCntService::___getUserInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - __is->read(loginId); - ::std::string pcid; - ::Ice::Int ip; - ::Ice::Int timestamp; - ::Ice::Int __ret = getUserInfo(loginId, pcid, ip, timestamp, __current); - __os->write(pcid); - __os->write(ip); - __os->write(timestamp); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::RecentCntService::___getRcntCount(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - __is->read(loginId); - ::Ice::Int __ret = getRcntCount(loginId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__RecentCntService_all[] = -{ - "getRcntCount", - "getRcntList", - "getUserInfo", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "updateRcnt" -}; - -::IceInternal::DispatchStatus -AliIM::RecentCntService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__RecentCntService_all, __AliIM__RecentCntService_all + 8, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__RecentCntService_all) - { - case 0: - { - return ___getRcntCount(in, current); - } - case 1: - { - return ___getRcntList(in, current); - } - case 2: - { - return ___getUserInfo(in, current); - } - case 3: - { - return ___ice_id(in, current); - } - case 4: - { - return ___ice_ids(in, current); - } - case 5: - { - return ___ice_isA(in, current); - } - case 6: - { - return ___ice_ping(in, current); - } - case 7: - { - return ___updateRcnt(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::RecentCntService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::RecentCntService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::RecentCntService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::RecentCntService was not generated with stream support"; - throw ex; -} - -void -AliIM::RecentCntService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::RecentCntService was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__RecentCntServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::RecentCntServicePtr* p = static_cast< ::AliIM::RecentCntServicePtr*>(__addr); - assert(p); - *p = ::AliIM::RecentCntServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::RecentCntService::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::RecentCntService& l, const ::AliIM::RecentCntService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::RecentCntService& l, const ::AliIM::RecentCntService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::RecentCntService& l, const ::AliIM::RecentCntService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::RecentCntService& l, const ::AliIM::RecentCntService& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::RecentCntService& l, const ::AliIM::RecentCntService& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::RecentCntService& l, const ::AliIM::RecentCntService& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/recentCntCache.cpp b/features/aliww/source/recentCntCache.cpp deleted file mode 100644 index 9baef1d..0000000 --- a/features/aliww/source/recentCntCache.cpp +++ /dev/null @@ -1,618 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `recentCntCache.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__RecentCntCacheService__updateRcnt_name = "updateRcnt"; - -static const ::std::string __AliIM__RecentCntCacheService__getRcntList_name = "getRcntList"; - -void -IceInternal::incRef(::AliIM::RecentCntCacheService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::RecentCntCacheService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::RecentCntCacheService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::RecentCntCacheService* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::RecentCntCacheServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::RecentCntCacheServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::RecentCntCacheService; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::RecentCntCacheServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIM::__addObject(const RecentCntCacheServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const RecentCntCacheServicePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const RecentCntCacheServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(RecentCntCacheServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::RecentCntCacheService::updateRcnt(const ::std::string& loginId, ::Ice::Int curtimestamp, const ::std::string& pcid, ::Ice::Int ip, const ::AliIM::SICERecentCntSeq& rcntlist, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__RecentCntCacheService__updateRcnt_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::RecentCntCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::RecentCntCacheService*>(__delBase.get()); - return __del->updateRcnt(loginId, curtimestamp, pcid, ip, rcntlist, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::RecentCntCacheService::getRcntList(const ::std::string& loginId, ::Ice::Int timestamp, ::AliIM::SICERecentCntSeq& rcntlist, ::Ice::Int& ip, ::std::string& pcid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__RecentCntCacheService__getRcntList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::RecentCntCacheService* __del = dynamic_cast< ::IceDelegate::AliIM::RecentCntCacheService*>(__delBase.get()); - return __del->getRcntList(loginId, timestamp, rcntlist, ip, pcid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::RecentCntCacheService::ice_staticId() -{ - return ::AliIM::RecentCntCacheService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::RecentCntCacheService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::RecentCntCacheService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::RecentCntCacheService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::RecentCntCacheService); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::RecentCntCacheService& l, const ::IceProxy::AliIM::RecentCntCacheService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::RecentCntCacheService& l, const ::IceProxy::AliIM::RecentCntCacheService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::RecentCntCacheService& l, const ::IceProxy::AliIM::RecentCntCacheService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::RecentCntCacheService& l, const ::IceProxy::AliIM::RecentCntCacheService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::RecentCntCacheService& l, const ::IceProxy::AliIM::RecentCntCacheService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::RecentCntCacheService& l, const ::IceProxy::AliIM::RecentCntCacheService& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::RecentCntCacheService::updateRcnt(const ::std::string& loginId, ::Ice::Int curtimestamp, const ::std::string& pcid, ::Ice::Int ip, const ::AliIM::SICERecentCntSeq& rcntlist, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__RecentCntCacheService__updateRcnt_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(curtimestamp); - __os->write(pcid); - __os->write(ip); - if(rcntlist.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIM::__write(__os, &rcntlist[0], &rcntlist[0] + rcntlist.size(), ::AliIM::__U__SICERecentCntSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::RecentCntCacheService::getRcntList(const ::std::string& loginId, ::Ice::Int timestamp, ::AliIM::SICERecentCntSeq& rcntlist, ::Ice::Int& ip, ::std::string& pcid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__RecentCntCacheService__getRcntList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - __os->write(timestamp); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIM::__read(__is, rcntlist, ::AliIM::__U__SICERecentCntSeq()); - __is->read(ip); - __is->read(pcid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::RecentCntCacheService::updateRcnt(const ::std::string& loginId, ::Ice::Int curtimestamp, const ::std::string& pcid, ::Ice::Int ip, const ::AliIM::SICERecentCntSeq& rcntlist, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__RecentCntCacheService__updateRcnt_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::RecentCntCacheService* __servant = dynamic_cast< ::AliIM::RecentCntCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateRcnt(loginId, curtimestamp, pcid, ip, rcntlist, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::RecentCntCacheService::getRcntList(const ::std::string& loginId, ::Ice::Int timestamp, ::AliIM::SICERecentCntSeq& rcntlist, ::Ice::Int& ip, ::std::string& pcid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__RecentCntCacheService__getRcntList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::RecentCntCacheService* __servant = dynamic_cast< ::AliIM::RecentCntCacheService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getRcntList(loginId, timestamp, rcntlist, ip, pcid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::RecentCntCacheService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__RecentCntCacheService_ids[2] = -{ - "::AliIM::RecentCntCacheService", - "::Ice::Object" -}; - -bool -AliIM::RecentCntCacheService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__RecentCntCacheService_ids, __AliIM__RecentCntCacheService_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::RecentCntCacheService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__RecentCntCacheService_ids[0], &__AliIM__RecentCntCacheService_ids[2]); -} - -const ::std::string& -AliIM::RecentCntCacheService::ice_id(const ::Ice::Current&) const -{ - return __AliIM__RecentCntCacheService_ids[0]; -} - -const ::std::string& -AliIM::RecentCntCacheService::ice_staticId() -{ - return __AliIM__RecentCntCacheService_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::RecentCntCacheService::___updateRcnt(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::Ice::Int curtimestamp; - ::std::string pcid; - ::Ice::Int ip; - ::AliIM::SICERecentCntSeq rcntlist; - __is->read(loginId); - __is->read(curtimestamp); - __is->read(pcid); - __is->read(ip); - ::AliIM::__read(__is, rcntlist, ::AliIM::__U__SICERecentCntSeq()); - ::Ice::Int __ret = updateRcnt(loginId, curtimestamp, pcid, ip, rcntlist, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::RecentCntCacheService::___getRcntList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - ::Ice::Int timestamp; - __is->read(loginId); - __is->read(timestamp); - ::AliIM::SICERecentCntSeq rcntlist; - ::Ice::Int ip; - ::std::string pcid; - ::Ice::Int __ret = getRcntList(loginId, timestamp, rcntlist, ip, pcid, __current); - if(rcntlist.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIM::__write(__os, &rcntlist[0], &rcntlist[0] + rcntlist.size(), ::AliIM::__U__SICERecentCntSeq()); - } - __os->write(ip); - __os->write(pcid); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__RecentCntCacheService_all[] = -{ - "getRcntList", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "updateRcnt" -}; - -::IceInternal::DispatchStatus -AliIM::RecentCntCacheService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__RecentCntCacheService_all, __AliIM__RecentCntCacheService_all + 6, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__RecentCntCacheService_all) - { - case 0: - { - return ___getRcntList(in, current); - } - case 1: - { - return ___ice_id(in, current); - } - case 2: - { - return ___ice_ids(in, current); - } - case 3: - { - return ___ice_isA(in, current); - } - case 4: - { - return ___ice_ping(in, current); - } - case 5: - { - return ___updateRcnt(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::RecentCntCacheService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::RecentCntCacheService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::RecentCntCacheService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::RecentCntCacheService was not generated with stream support"; - throw ex; -} - -void -AliIM::RecentCntCacheService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::RecentCntCacheService was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__RecentCntCacheServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::RecentCntCacheServicePtr* p = static_cast< ::AliIM::RecentCntCacheServicePtr*>(__addr); - assert(p); - *p = ::AliIM::RecentCntCacheServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::RecentCntCacheService::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::RecentCntCacheService& l, const ::AliIM::RecentCntCacheService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::RecentCntCacheService& l, const ::AliIM::RecentCntCacheService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::RecentCntCacheService& l, const ::AliIM::RecentCntCacheService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::RecentCntCacheService& l, const ::AliIM::RecentCntCacheService& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::RecentCntCacheService& l, const ::AliIM::RecentCntCacheService& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::RecentCntCacheService& l, const ::AliIM::RecentCntCacheService& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/recentCntdatadefine.cpp b/features/aliww/source/recentCntdatadefine.cpp deleted file mode 100644 index 3eed7b3..0000000 --- a/features/aliww/source/recentCntdatadefine.cpp +++ /dev/null @@ -1,190 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `recentCntdatadefine.ice' - -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -bool -AliIM::SICERecentCnt::operator==(const SICERecentCnt& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIM::SICERecentCnt::operator!=(const SICERecentCnt& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(contactId != __rhs.contactId) - { - return true; - } - if(cntmsgSnd != __rhs.cntmsgSnd) - { - return true; - } - if(cntmsgRcv != __rhs.cntmsgRcv) - { - return true; - } - if(validTime != __rhs.validTime) - { - return true; - } - if(sndflag != __rhs.sndflag) - { - return true; - } - if(revflag != __rhs.revflag) - { - return true; - } - if(strangerflag != __rhs.strangerflag) - { - return true; - } - return false; -} - -bool -AliIM::SICERecentCnt::operator<(const SICERecentCnt& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(contactId < __rhs.contactId) - { - return true; - } - else if(__rhs.contactId < contactId) - { - return false; - } - if(cntmsgSnd < __rhs.cntmsgSnd) - { - return true; - } - else if(__rhs.cntmsgSnd < cntmsgSnd) - { - return false; - } - if(cntmsgRcv < __rhs.cntmsgRcv) - { - return true; - } - else if(__rhs.cntmsgRcv < cntmsgRcv) - { - return false; - } - if(validTime < __rhs.validTime) - { - return true; - } - else if(__rhs.validTime < validTime) - { - return false; - } - if(sndflag < __rhs.sndflag) - { - return true; - } - else if(__rhs.sndflag < sndflag) - { - return false; - } - if(revflag < __rhs.revflag) - { - return true; - } - else if(__rhs.revflag < revflag) - { - return false; - } - if(strangerflag < __rhs.strangerflag) - { - return true; - } - else if(__rhs.strangerflag < strangerflag) - { - return false; - } - return false; -} - -void -AliIM::SICERecentCnt::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(contactId); - __os->write(cntmsgSnd); - __os->write(cntmsgRcv); - __os->write(validTime); - __os->write(sndflag); - __os->write(revflag); - __os->write(strangerflag); -} - -void -AliIM::SICERecentCnt::__read(::IceInternal::BasicStream* __is) -{ - __is->read(contactId); - __is->read(cntmsgSnd); - __is->read(cntmsgRcv); - __is->read(validTime); - __is->read(sndflag); - __is->read(revflag); - __is->read(strangerflag); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::SICERecentCnt* begin, const ::AliIM::SICERecentCnt* end, ::AliIM::__U__SICERecentCntSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::SICERecentCntSeq& v, ::AliIM::__U__SICERecentCntSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 37); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} diff --git a/features/aliww/source/recentContactExternal.cpp b/features/aliww/source/recentContactExternal.cpp deleted file mode 100644 index e7d125d..0000000 --- a/features/aliww/source/recentContactExternal.cpp +++ /dev/null @@ -1,473 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `recentContactExternal.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__IRecentContactExternal__addRecentContact_name = "addRecentContact"; - -void -IceInternal::incRef(::AliIM::IRecentContactExternal* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::IRecentContactExternal* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::IRecentContactExternal* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::IRecentContactExternal* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::IRecentContactExternalPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::IRecentContactExternalPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::IRecentContactExternal; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::IRecentContactExternalPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIM::__addObject(const IRecentContactExternalPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const IRecentContactExternalPtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const IRecentContactExternalPtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(IRecentContactExternalPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::IRecentContactExternal::addRecentContact(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& loginId, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int optime, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__IRecentContactExternal__addRecentContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::IRecentContactExternal* __del = dynamic_cast< ::IceDelegate::AliIM::IRecentContactExternal*>(__delBase.get()); - return __del->addRecentContact(strCaller, strServiceType, loginId, contactId, type, optime, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::IRecentContactExternal::ice_staticId() -{ - return ::AliIM::IRecentContactExternal::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::IRecentContactExternal::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::IRecentContactExternal); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::IRecentContactExternal::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::IRecentContactExternal); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::IRecentContactExternal& l, const ::IceProxy::AliIM::IRecentContactExternal& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::IRecentContactExternal& l, const ::IceProxy::AliIM::IRecentContactExternal& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::IRecentContactExternal& l, const ::IceProxy::AliIM::IRecentContactExternal& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::IRecentContactExternal& l, const ::IceProxy::AliIM::IRecentContactExternal& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::IRecentContactExternal& l, const ::IceProxy::AliIM::IRecentContactExternal& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::IRecentContactExternal& l, const ::IceProxy::AliIM::IRecentContactExternal& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::IRecentContactExternal::addRecentContact(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& loginId, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int optime, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__IRecentContactExternal__addRecentContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(strCaller); - __os->write(strServiceType); - __os->write(loginId); - __os->write(contactId); - __os->write(type); - __os->write(optime); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::IRecentContactExternal::addRecentContact(const ::std::string& strCaller, const ::std::string& strServiceType, const ::std::string& loginId, const ::std::string& contactId, ::Ice::Int type, ::Ice::Int optime, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__IRecentContactExternal__addRecentContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::IRecentContactExternal* __servant = dynamic_cast< ::AliIM::IRecentContactExternal*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->addRecentContact(strCaller, strServiceType, loginId, contactId, type, optime, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::IRecentContactExternal::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__IRecentContactExternal_ids[2] = -{ - "::AliIM::IRecentContactExternal", - "::Ice::Object" -}; - -bool -AliIM::IRecentContactExternal::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__IRecentContactExternal_ids, __AliIM__IRecentContactExternal_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::IRecentContactExternal::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__IRecentContactExternal_ids[0], &__AliIM__IRecentContactExternal_ids[2]); -} - -const ::std::string& -AliIM::IRecentContactExternal::ice_id(const ::Ice::Current&) const -{ - return __AliIM__IRecentContactExternal_ids[0]; -} - -const ::std::string& -AliIM::IRecentContactExternal::ice_staticId() -{ - return __AliIM__IRecentContactExternal_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::IRecentContactExternal::___addRecentContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string strCaller; - ::std::string strServiceType; - ::std::string loginId; - ::std::string contactId; - ::Ice::Int type; - ::Ice::Int optime; - __is->read(strCaller); - __is->read(strServiceType); - __is->read(loginId); - __is->read(contactId); - __is->read(type); - __is->read(optime); - ::Ice::Int __ret = addRecentContact(strCaller, strServiceType, loginId, contactId, type, optime, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__IRecentContactExternal_all[] = -{ - "addRecentContact", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -AliIM::IRecentContactExternal::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__IRecentContactExternal_all, __AliIM__IRecentContactExternal_all + 5, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__IRecentContactExternal_all) - { - case 0: - { - return ___addRecentContact(in, current); - } - case 1: - { - return ___ice_id(in, current); - } - case 2: - { - return ___ice_ids(in, current); - } - case 3: - { - return ___ice_isA(in, current); - } - case 4: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::IRecentContactExternal::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::IRecentContactExternal::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::IRecentContactExternal::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::IRecentContactExternal was not generated with stream support"; - throw ex; -} - -void -AliIM::IRecentContactExternal::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::IRecentContactExternal was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__IRecentContactExternalPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::IRecentContactExternalPtr* p = static_cast< ::AliIM::IRecentContactExternalPtr*>(__addr); - assert(p); - *p = ::AliIM::IRecentContactExternalPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::IRecentContactExternal::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::IRecentContactExternal& l, const ::AliIM::IRecentContactExternal& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::IRecentContactExternal& l, const ::AliIM::IRecentContactExternal& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::IRecentContactExternal& l, const ::AliIM::IRecentContactExternal& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::IRecentContactExternal& l, const ::AliIM::IRecentContactExternal& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::IRecentContactExternal& l, const ::AliIM::IRecentContactExternal& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::IRecentContactExternal& l, const ::AliIM::IRecentContactExternal& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/rgss_pack.cpp b/features/aliww/source/rgss_pack.cpp deleted file mode 100644 index 9baa3dc..0000000 --- a/features/aliww/source/rgss_pack.cpp +++ /dev/null @@ -1,561 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: rgss_pack.cpp -// Date: 2011-01-30 12:49:18 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "rgss_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SSsuserStatus& sSsuserStatus ) -{ - uint8_t nFieldNum = 6; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sSsuserStatus.m_userId; - cPackData << FT_UINT16; - cPackData << sSsuserStatus.m_servId; - cPackData << FT_UINT8; - cPackData << sSsuserStatus.m_basicStatus; - cPackData << FT_UINT8; - cPackData << sSsuserStatus.m_predefStatus; - cPackData << FT_UINT32; - cPackData << sSsuserStatus.m_ip; - cPackData << FT_STRING; - cPackData << sSsuserStatus.m_version; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SSsuserStatus& sSsuserStatus ) -{ - uint8_t num; - cPackData >> num; - if(num < 6) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSsuserStatus.m_userId; - cPackData >> field; - if(field.m_baseType != FT_UINT16) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSsuserStatus.m_servId; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSsuserStatus.m_basicStatus; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSsuserStatus.m_predefStatus; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSsuserStatus.m_ip; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSsuserStatus.m_version; - for(int i = 6; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CSsReqGetallusersts::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_REQ_GETALLUSERSTS; - m_ssHead.PackData(strData); -} - -void CSsReqGetallusersts::PackBody(string& strData) -{ -} - -void CSsReqGetallusersts::PackData(string& strData) -{ - PackHead(strData); -} - -PACKRETCODE CSsReqGetallusersts::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CSsReqGetallusersts::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsRspGetallusersts::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_RSP_GETALLUSERSTS; - m_ssHead.PackData(strData); -} - -void CSsRspGetallusersts::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_userStsList.size(); - (*this) << nLen; - VECTOR< SSsuserStatus >::const_iterator itr; - for(itr = m_userStsList.cbegin(); itr != m_userStsList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsRspGetallusersts::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsRspGetallusersts::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userStsList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SSsuserStatus tmpVal; - (*this) >> tmpVal; - m_userStsList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsRspGetallusersts::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsReqGetuserstatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_REQ_GETUSERSTATUS; - m_ssHead.PackData(strData); -} - -void CSsReqGetuserstatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsReqGetuserstatus::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsReqGetuserstatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsReqGetuserstatus::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsRspGetuserstatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_RSP_GETUSERSTATUS; - m_ssHead.PackData(strData); -} - -void CSsRspGetuserstatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_userStsList.size(); - (*this) << nLen; - VECTOR< SSsuserStatus >::const_iterator itr; - for(itr = m_userStsList.cbegin(); itr != m_userStsList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsRspGetuserstatus::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsRspGetuserstatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userStsList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SSsuserStatus tmpVal; - (*this) >> tmpVal; - m_userStsList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsRspGetuserstatus::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CImSsNtfuserposError::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = IM_SS_NTFUSERPOS_ERROR; - m_ssHead.PackData(strData); -} - -void CImSsNtfuserposError::PackBody(string& strData) -{ -} - -void CImSsNtfuserposError::PackData(string& strData) -{ - PackHead(strData); -} - -PACKRETCODE CImSsNtfuserposError::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CImSsNtfuserposError::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsRspReportuserpos::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_RSP_REPORTUSERPOS; - m_ssHead.PackData(strData); -} - -void CSsRspReportuserpos::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRUCT; - (*this) << m_userSts; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsRspReportuserpos::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsRspReportuserpos::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userSts; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsRspReportuserpos::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsNtfVersionMessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_NTF_VERSION_MESSAGE; - m_ssHead.PackData(strData); -} - -void CSsNtfVersionMessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_version; - (*this) << FT_STRING; - (*this) << m_packet; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsNtfVersionMessage::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsNtfVersionMessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_packet; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsNtfVersionMessage::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/ridsrv.cpp b/features/aliww/source/ridsrv.cpp deleted file mode 100644 index 7b22aff..0000000 --- a/features/aliww/source/ridsrv.cpp +++ /dev/null @@ -1,961 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `ridsrv.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __ridService__ridSrvMgr__CheckUser_name = "CheckUser"; - -static const ::std::string __ridService__ridSrvMgr__Forbiddenpcid_name = "Forbiddenpcid"; - -static const ::std::string __ridService__ridSrvMgr__Permitpcid_name = "Permitpcid"; - -static const ::std::string __ridService__ridSrvMgr__ForbiddenIp_name = "ForbiddenIp"; - -static const ::std::string __ridService__ridSrvMgr__Permitip_name = "Permitip"; - -void -IceInternal::incRef(::ridService::ridSrvMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::ridService::ridSrvMgr* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::ridService::ridSrvMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::ridService::ridSrvMgr* p) -{ - p->__decRef(); -} - -void -ridService::__write(::IceInternal::BasicStream* __os, const ::ridService::ridSrvMgrPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -ridService::__read(::IceInternal::BasicStream* __is, ::ridService::ridSrvMgrPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::ridService::ridSrvMgr; - v->__copyFrom(proxy); - } -} - -void -ridService::__write(::IceInternal::BasicStream* __os, const ::ridService::ridSrvMgrPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -ridService::__addObject(const ridSrvMgrPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -ridService::__usesClasses(const ridSrvMgrPtr& p) -{ - return p->__usesClasses(); -} - -void -ridService::__decRefUnsafe(const ridSrvMgrPtr& p) -{ - p->__decRefUnsafe(); -} - -void -ridService::__clearHandleUnsafe(ridSrvMgrPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::ridService::ridSrvMgr::CheckUser(const ::std::string& userId, ::Ice::Int ip, const ::std::string& srid, ::std::string& drid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ridService__ridSrvMgr__CheckUser_name); - __delBase = __getDelegate(); - ::IceDelegate::ridService::ridSrvMgr* __del = dynamic_cast< ::IceDelegate::ridService::ridSrvMgr*>(__delBase.get()); - return __del->CheckUser(userId, ip, srid, drid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ridService::ridSrvMgr::Forbiddenpcid(const ::std::string& pcid, ::Ice::Int interval, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ridService__ridSrvMgr__Forbiddenpcid_name); - __delBase = __getDelegate(); - ::IceDelegate::ridService::ridSrvMgr* __del = dynamic_cast< ::IceDelegate::ridService::ridSrvMgr*>(__delBase.get()); - return __del->Forbiddenpcid(pcid, interval, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ridService::ridSrvMgr::Permitpcid(const ::std::string& pcid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ridService__ridSrvMgr__Permitpcid_name); - __delBase = __getDelegate(); - ::IceDelegate::ridService::ridSrvMgr* __del = dynamic_cast< ::IceDelegate::ridService::ridSrvMgr*>(__delBase.get()); - return __del->Permitpcid(pcid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ridService::ridSrvMgr::ForbiddenIp(const ::std::string& ip, ::Ice::Int interval, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ridService__ridSrvMgr__ForbiddenIp_name); - __delBase = __getDelegate(); - ::IceDelegate::ridService::ridSrvMgr* __del = dynamic_cast< ::IceDelegate::ridService::ridSrvMgr*>(__delBase.get()); - return __del->ForbiddenIp(ip, interval, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ridService::ridSrvMgr::Permitip(const ::std::string& ip, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ridService__ridSrvMgr__Permitip_name); - __delBase = __getDelegate(); - ::IceDelegate::ridService::ridSrvMgr* __del = dynamic_cast< ::IceDelegate::ridService::ridSrvMgr*>(__delBase.get()); - return __del->Permitip(ip, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::ridService::ridSrvMgr::ice_staticId() -{ - return ::ridService::ridSrvMgr::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::ridService::ridSrvMgr::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::ridService::ridSrvMgr); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::ridService::ridSrvMgr::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::ridService::ridSrvMgr); -} - -bool -IceProxy::ridService::operator==(const ::IceProxy::ridService::ridSrvMgr& l, const ::IceProxy::ridService::ridSrvMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::ridService::operator!=(const ::IceProxy::ridService::ridSrvMgr& l, const ::IceProxy::ridService::ridSrvMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::ridService::operator<(const ::IceProxy::ridService::ridSrvMgr& l, const ::IceProxy::ridService::ridSrvMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::ridService::operator<=(const ::IceProxy::ridService::ridSrvMgr& l, const ::IceProxy::ridService::ridSrvMgr& r) -{ - return l < r || l == r; -} - -bool -IceProxy::ridService::operator>(const ::IceProxy::ridService::ridSrvMgr& l, const ::IceProxy::ridService::ridSrvMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::ridService::operator>=(const ::IceProxy::ridService::ridSrvMgr& l, const ::IceProxy::ridService::ridSrvMgr& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::ridService::ridSrvMgr::CheckUser(const ::std::string& userId, ::Ice::Int ip, const ::std::string& srid, ::std::string& drid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ridService__ridSrvMgr__CheckUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(ip); - __os->write(srid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(drid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ridService::ridSrvMgr::Forbiddenpcid(const ::std::string& pcid, ::Ice::Int interval, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ridService__ridSrvMgr__Forbiddenpcid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(pcid); - __os->write(interval); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ridService::ridSrvMgr::Permitpcid(const ::std::string& pcid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ridService__ridSrvMgr__Permitpcid_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(pcid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ridService::ridSrvMgr::ForbiddenIp(const ::std::string& ip, ::Ice::Int interval, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ridService__ridSrvMgr__ForbiddenIp_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(ip); - __os->write(interval); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ridService::ridSrvMgr::Permitip(const ::std::string& ip, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ridService__ridSrvMgr__Permitip_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(ip); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::ridService::ridSrvMgr::CheckUser(const ::std::string& userId, ::Ice::Int ip, const ::std::string& srid, ::std::string& drid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ridService__ridSrvMgr__CheckUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ridService::ridSrvMgr* __servant = dynamic_cast< ::ridService::ridSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->CheckUser(userId, ip, srid, drid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ridService::ridSrvMgr::Forbiddenpcid(const ::std::string& pcid, ::Ice::Int interval, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ridService__ridSrvMgr__Forbiddenpcid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ridService::ridSrvMgr* __servant = dynamic_cast< ::ridService::ridSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->Forbiddenpcid(pcid, interval, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ridService::ridSrvMgr::Permitpcid(const ::std::string& pcid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ridService__ridSrvMgr__Permitpcid_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ridService::ridSrvMgr* __servant = dynamic_cast< ::ridService::ridSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->Permitpcid(pcid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ridService::ridSrvMgr::ForbiddenIp(const ::std::string& ip, ::Ice::Int interval, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ridService__ridSrvMgr__ForbiddenIp_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ridService::ridSrvMgr* __servant = dynamic_cast< ::ridService::ridSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->ForbiddenIp(ip, interval, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ridService::ridSrvMgr::Permitip(const ::std::string& ip, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ridService__ridSrvMgr__Permitip_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ridService::ridSrvMgr* __servant = dynamic_cast< ::ridService::ridSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->Permitip(ip, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -ridService::ridSrvMgr::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __ridService__ridSrvMgr_ids[2] = -{ - "::Ice::Object", - "::ridService::ridSrvMgr" -}; - -bool -ridService::ridSrvMgr::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__ridService__ridSrvMgr_ids, __ridService__ridSrvMgr_ids + 2, _s); -} - -::std::vector< ::std::string> -ridService::ridSrvMgr::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__ridService__ridSrvMgr_ids[0], &__ridService__ridSrvMgr_ids[2]); -} - -const ::std::string& -ridService::ridSrvMgr::ice_id(const ::Ice::Current&) const -{ - return __ridService__ridSrvMgr_ids[1]; -} - -const ::std::string& -ridService::ridSrvMgr::ice_staticId() -{ - return __ridService__ridSrvMgr_ids[1]; -} - -::IceInternal::DispatchStatus -ridService::ridSrvMgr::___CheckUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int ip; - ::std::string srid; - __is->read(userId); - __is->read(ip); - __is->read(srid); - ::std::string drid; - ::Ice::Int __ret = CheckUser(userId, ip, srid, drid, __current); - __os->write(drid); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ridService::ridSrvMgr::___Forbiddenpcid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string pcid; - ::Ice::Int interval; - __is->read(pcid); - __is->read(interval); - ::Ice::Int __ret = Forbiddenpcid(pcid, interval, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ridService::ridSrvMgr::___Permitpcid(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string pcid; - __is->read(pcid); - ::Ice::Int __ret = Permitpcid(pcid, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ridService::ridSrvMgr::___ForbiddenIp(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string ip; - ::Ice::Int interval; - __is->read(ip); - __is->read(interval); - ::Ice::Int __ret = ForbiddenIp(ip, interval, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ridService::ridSrvMgr::___Permitip(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string ip; - __is->read(ip); - ::Ice::Int __ret = Permitip(ip, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __ridService__ridSrvMgr_all[] = -{ - "CheckUser", - "ForbiddenIp", - "Forbiddenpcid", - "Permitip", - "Permitpcid", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -ridService::ridSrvMgr::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__ridService__ridSrvMgr_all, __ridService__ridSrvMgr_all + 9, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __ridService__ridSrvMgr_all) - { - case 0: - { - return ___CheckUser(in, current); - } - case 1: - { - return ___ForbiddenIp(in, current); - } - case 2: - { - return ___Forbiddenpcid(in, current); - } - case 3: - { - return ___Permitip(in, current); - } - case 4: - { - return ___Permitpcid(in, current); - } - case 5: - { - return ___ice_id(in, current); - } - case 6: - { - return ___ice_ids(in, current); - } - case 7: - { - return ___ice_isA(in, current); - } - case 8: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -ridService::ridSrvMgr::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -ridService::ridSrvMgr::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -ridService::ridSrvMgr::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type ridService::ridSrvMgr was not generated with stream support"; - throw ex; -} - -void -ridService::ridSrvMgr::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type ridService::ridSrvMgr was not generated with stream support"; - throw ex; -} - -void -ridService::__patch__ridSrvMgrPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::ridService::ridSrvMgrPtr* p = static_cast< ::ridService::ridSrvMgrPtr*>(__addr); - assert(p); - *p = ::ridService::ridSrvMgrPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::ridService::ridSrvMgr::ice_staticId(); - throw e; - } -} - -bool -ridService::operator==(const ::ridService::ridSrvMgr& l, const ::ridService::ridSrvMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -ridService::operator!=(const ::ridService::ridSrvMgr& l, const ::ridService::ridSrvMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -ridService::operator<(const ::ridService::ridSrvMgr& l, const ::ridService::ridSrvMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -ridService::operator<=(const ::ridService::ridSrvMgr& l, const ::ridService::ridSrvMgr& r) -{ - return l < r || l == r; -} - -bool -ridService::operator>(const ::ridService::ridSrvMgr& l, const ::ridService::ridSrvMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -ridService::operator>=(const ::ridService::ridSrvMgr& l, const ::ridService::ridSrvMgr& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/rmss_pack.cpp b/features/aliww/source/rmss_pack.cpp deleted file mode 100644 index 7650cd6..0000000 --- a/features/aliww/source/rmss_pack.cpp +++ /dev/null @@ -1,213 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: rmss_pack.cpp -// Date: 2011-01-30 12:49:21 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "rmss_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SServerInfo& sServerInfo ) -{ - uint8_t nFieldNum = 3; - cPackData << nFieldNum; - cPackData << FT_UINT16; - cPackData << sServerInfo.m_servId; - cPackData << FT_STRING; - cPackData << sServerInfo.m_hostIp; - cPackData << FT_UINT16; - cPackData << sServerInfo.m_hostPort; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SServerInfo& sServerInfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 3) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_UINT16) throw PACK_TYPEMATCH_ERROR; - cPackData >> sServerInfo.m_servId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sServerInfo.m_hostIp; - cPackData >> field; - if(field.m_baseType != FT_UINT16) throw PACK_TYPEMATCH_ERROR; - cPackData >> sServerInfo.m_hostPort; - for(int i = 3; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CSsReqRgsregister::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_REQ_RGSREGISTER; - m_ssHead.PackData(strData); -} - -void CSsReqRgsregister::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRUCT; - (*this) << m_hostInfo; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsReqRgsregister::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsReqRgsregister::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_hostInfo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsReqRgsregister::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsRspRgsregister::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_RSP_RGSREGISTER; - m_ssHead.PackData(strData); -} - -void CSsRspRgsregister::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_rgsList.size(); - (*this) << nLen; - VECTOR< SServerInfo >::const_iterator itr; - for(itr = m_rgsList.cbegin(); itr != m_rgsList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsRspRgsregister::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsRspRgsregister::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_rgsList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SServerInfo tmpVal; - (*this) >> tmpVal; - m_rgsList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsRspRgsregister::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/sc_head.cpp b/features/aliww/source/sc_head.cpp deleted file mode 100644 index 22bd650..0000000 --- a/features/aliww/source/sc_head.cpp +++ /dev/null @@ -1,75 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: sc_head.cpp -// Date: 2011-04-27 13:36:55 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "sc_head.h" - -void CScHead::PackData(string& strData) -{ - try - { - ResetOutBuff(strData); - m_lrc = 0; - (*this) << m_starter; - (*this) << m_major; - (*this) << m_minor; - (*this) << m_msgtype; - (*this) << m_encrypt; - (*this) << m_compress; - (*this) << m_encode; - (*this) << m_lrc; - (*this) << m_seq; - (*this) << m_len; - (*this) << m_cmd; - (*this) << m_cc; - (*this) << m_reserved; -; - if((m_reserved & 0x01) == 1) - (*this) << m_extdata; - m_lrc = CalcLrc(strData, Size()); - SetOutCursor(7); - (*this) << m_lrc; - } - catch(std::exception&) - { - strData = ""; - } -} - -PACKRETCODE CScHead::UnpackData(const string& strData) -{ - try - { - ResetInBuff(strData); - if(CalcLrc(strData, Size()) != 0) return PACK_INVALID; - (*this) >> m_starter; - (*this) >> m_major; - (*this) >> m_minor; - (*this) >> m_msgtype; - (*this) >> m_encrypt; - (*this) >> m_compress; - (*this) >> m_encode; - (*this) >> m_lrc; - (*this) >> m_seq; - (*this) >> m_len; - (*this) >> m_cmd; - (*this) >> m_cc; - (*this) >> m_reserved; -; - if((m_reserved & 0x01) == 1) - (*this) >> m_extdata; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - diff --git a/features/aliww/source/scs_head.cpp b/features/aliww/source/scs_head.cpp deleted file mode 100644 index 7fb68e2..0000000 --- a/features/aliww/source/scs_head.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: scs_head.cpp -// Date: 2011-01-30 12:50:13 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "scs_head.h" - -void CScsHead::PackData(string& strData) -{ - try - { - ResetOutBuff(strData); - (*this) << m_starter; - (*this) << m_version; - (*this) << m_flag; - (*this) << m_cmd; - (*this) << m_seq; - (*this) << m_cc; - (*this) << m_len; - (*this) << m_reserved; -; - } - catch(std::exception&) - { - strData = ""; - } -} - -PACKRETCODE CScsHead::UnpackData(const string& strData) -{ - try - { - ResetInBuff(strData); - (*this) >> m_starter; - (*this) >> m_version; - (*this) >> m_flag; - (*this) >> m_cmd; - (*this) >> m_seq; - (*this) >> m_cc; - (*this) >> m_len; - (*this) >> m_reserved; -; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - diff --git a/features/aliww/source/sdkss_head.cpp b/features/aliww/source/sdkss_head.cpp deleted file mode 100644 index e5ca50c..0000000 --- a/features/aliww/source/sdkss_head.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: sdkss_head.cpp -// Date: 2011-01-30 12:49:54 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "sdkss_head.h" - -void CSdkssHead::PackData(string& strData) -{ - try - { - ResetOutBuff(strData); - (*this) << m_starter; - (*this) << m_cmd; - (*this) << m_len; - WriteData(m_serialNo, 0, 10); - WriteData(m_account, 0, 10); -; - } - catch(std::exception&) - { - strData = ""; - } -} - -PACKRETCODE CSdkssHead::UnpackData(const string& strData) -{ - try - { - ResetInBuff(strData); - (*this) >> m_starter; - (*this) >> m_cmd; - (*this) >> m_len; - ReadData(m_serialNo, 10, 0); - ReadData(m_account, 10, 0); -; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - diff --git a/features/aliww/source/searchuser.cpp b/features/aliww/source/searchuser.cpp deleted file mode 100644 index c5af5f6..0000000 --- a/features/aliww/source/searchuser.cpp +++ /dev/null @@ -1,1568 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `searchuser.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__SearchUserInterface__searchUser_name = "searchUser"; - -static const ::std::string __AliIM__SearchUserInterface__searchUserB2BFuzzy_name = "searchUserB2BFuzzy"; - -static const ::std::string __AliIM__SearchUserInterface__getRecommendUser_name = "getRecommendUser"; - -static const ::std::string __AliIM__SearchUserInterface__getUsersByName_name = "getUsersByName"; - -static const ::std::string __AliIM__SearchUserInterface__getTribeInfo_name = "getTribeInfo"; - -static const ::std::string __AliIM__SearchUserInterface__advancedSearchUser_name = "advancedSearchUser"; - -void -IceInternal::incRef(::AliIM::SearchUserInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::SearchUserInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::SearchUserInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::SearchUserInterface* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::SearchUserInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::SearchUserInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::SearchUserInterface; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::SearchUserInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -AliIM::SSearchUserRes::operator==(const SSearchUserRes& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIM::SSearchUserRes::operator!=(const SSearchUserRes& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(contactid != __rhs.contactid) - { - return true; - } - if(nickname != __rhs.nickname) - { - return true; - } - if(site != __rhs.site) - { - return true; - } - if(age != __rhs.age) - { - return true; - } - if(gender != __rhs.gender) - { - return true; - } - if(city != __rhs.city) - { - return true; - } - if(basicStatus != __rhs.basicStatus) - { - return true; - } - return false; -} - -bool -AliIM::SSearchUserRes::operator<(const SSearchUserRes& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(contactid < __rhs.contactid) - { - return true; - } - else if(__rhs.contactid < contactid) - { - return false; - } - if(nickname < __rhs.nickname) - { - return true; - } - else if(__rhs.nickname < nickname) - { - return false; - } - if(site < __rhs.site) - { - return true; - } - else if(__rhs.site < site) - { - return false; - } - if(age < __rhs.age) - { - return true; - } - else if(__rhs.age < age) - { - return false; - } - if(gender < __rhs.gender) - { - return true; - } - else if(__rhs.gender < gender) - { - return false; - } - if(city < __rhs.city) - { - return true; - } - else if(__rhs.city < city) - { - return false; - } - if(basicStatus < __rhs.basicStatus) - { - return true; - } - else if(__rhs.basicStatus < basicStatus) - { - return false; - } - return false; -} - -void -AliIM::SSearchUserRes::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(contactid); - __os->write(nickname); - __os->write(site); - __os->write(age); - __os->write(gender); - __os->write(city); - __os->write(basicStatus); -} - -void -AliIM::SSearchUserRes::__read(::IceInternal::BasicStream* __is) -{ - __is->read(contactid); - __is->read(nickname); - __is->read(site); - __is->read(age); - __is->read(gender); - __is->read(city); - __is->read(basicStatus); -} - -bool -AliIM::STribeInfo::operator==(const STribeInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -AliIM::STribeInfo::operator!=(const STribeInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeid != __rhs.tribeid) - { - return true; - } - if(tribename != __rhs.tribename) - { - return true; - } - if(masterId != __rhs.masterId) - { - return true; - } - if(tribeclass != __rhs.tribeclass) - { - return true; - } - if(describe != __rhs.describe) - { - return true; - } - if(bulletin != __rhs.bulletin) - { - return true; - } - if(checkmode != __rhs.checkmode) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(keyword != __rhs.keyword) - { - return true; - } - if(allowvisitor != __rhs.allowvisitor) - { - return true; - } - if(forbidsearch != __rhs.forbidsearch) - { - return true; - } - if(extsign != __rhs.extsign) - { - return true; - } - if(opentribe != __rhs.opentribe) - { - return true; - } - if(maxmembers != __rhs.maxmembers) - { - return true; - } - return false; -} - -bool -AliIM::STribeInfo::operator<(const STribeInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeid < __rhs.tribeid) - { - return true; - } - else if(__rhs.tribeid < tribeid) - { - return false; - } - if(tribename < __rhs.tribename) - { - return true; - } - else if(__rhs.tribename < tribename) - { - return false; - } - if(masterId < __rhs.masterId) - { - return true; - } - else if(__rhs.masterId < masterId) - { - return false; - } - if(tribeclass < __rhs.tribeclass) - { - return true; - } - else if(__rhs.tribeclass < tribeclass) - { - return false; - } - if(describe < __rhs.describe) - { - return true; - } - else if(__rhs.describe < describe) - { - return false; - } - if(bulletin < __rhs.bulletin) - { - return true; - } - else if(__rhs.bulletin < bulletin) - { - return false; - } - if(checkmode < __rhs.checkmode) - { - return true; - } - else if(__rhs.checkmode < checkmode) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(keyword < __rhs.keyword) - { - return true; - } - else if(__rhs.keyword < keyword) - { - return false; - } - if(allowvisitor < __rhs.allowvisitor) - { - return true; - } - else if(__rhs.allowvisitor < allowvisitor) - { - return false; - } - if(forbidsearch < __rhs.forbidsearch) - { - return true; - } - else if(__rhs.forbidsearch < forbidsearch) - { - return false; - } - if(extsign < __rhs.extsign) - { - return true; - } - else if(__rhs.extsign < extsign) - { - return false; - } - if(opentribe < __rhs.opentribe) - { - return true; - } - else if(__rhs.opentribe < opentribe) - { - return false; - } - if(maxmembers < __rhs.maxmembers) - { - return true; - } - else if(__rhs.maxmembers < maxmembers) - { - return false; - } - return false; -} - -void -AliIM::STribeInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeid); - __os->write(tribename); - __os->write(masterId); - __os->write(tribeclass); - __os->write(describe); - __os->write(bulletin); - __os->write(checkmode); - __os->write(password); - __os->write(keyword); - __os->write(allowvisitor); - __os->write(forbidsearch); - __os->write(extsign); - __os->write(opentribe); - __os->write(maxmembers); -} - -void -AliIM::STribeInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeid); - __is->read(tribename); - __is->read(masterId); - __is->read(tribeclass); - __is->read(describe); - __is->read(bulletin); - __is->read(checkmode); - __is->read(password); - __is->read(keyword); - __is->read(allowvisitor); - __is->read(forbidsearch); - __is->read(extsign); - __is->read(opentribe); - __is->read(maxmembers); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::SSearchUserRes* begin, const ::AliIM::SSearchUserRes* end, ::AliIM::__U__SearchuserResSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::SearchuserResSeq& v, ::AliIM::__U__SearchuserResSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 16); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -AliIM::__addObject(const SearchUserInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const SearchUserInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const SearchUserInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(SearchUserInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::SearchUserInterface::searchUser(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__SearchUserInterface__searchUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::SearchUserInterface* __del = dynamic_cast< ::IceDelegate::AliIM::SearchUserInterface*>(__delBase.get()); - return __del->searchUser(uid, targetUid, retCode, retVal, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::SearchUserInterface::searchUserB2BFuzzy(const ::std::string& uid, const ::std::string& targetUid, const ::std::string& reserve, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__SearchUserInterface__searchUserB2BFuzzy_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::SearchUserInterface* __del = dynamic_cast< ::IceDelegate::AliIM::SearchUserInterface*>(__delBase.get()); - return __del->searchUserB2BFuzzy(uid, targetUid, reserve, retCode, retVal, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::SearchUserInterface::getRecommendUser(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int syncUser, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__SearchUserInterface__getRecommendUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::SearchUserInterface* __del = dynamic_cast< ::IceDelegate::AliIM::SearchUserInterface*>(__delBase.get()); - return __del->getRecommendUser(uid, targetUid, syncUser, retCode, retVal, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::SearchUserInterface::getUsersByName(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int syncUser, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__SearchUserInterface__getUsersByName_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::SearchUserInterface* __del = dynamic_cast< ::IceDelegate::AliIM::SearchUserInterface*>(__delBase.get()); - return __del->getUsersByName(uid, targetUid, syncUser, retCode, retVal, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::SearchUserInterface::getTribeInfo(const ::std::string& tribeId, ::AliIM::STribeInfo& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__SearchUserInterface__getTribeInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::SearchUserInterface* __del = dynamic_cast< ::IceDelegate::AliIM::SearchUserInterface*>(__delBase.get()); - return __del->getTribeInfo(tribeId, tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::SearchUserInterface::advancedSearchUser(const ::std::string& site, const ::std::string& country, const ::std::string& province, const ::std::string& city, ::Ice::Int gender, ::Ice::Int age, const ::std::string& job, ::Ice::Int timestamp, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__SearchUserInterface__advancedSearchUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::SearchUserInterface* __del = dynamic_cast< ::IceDelegate::AliIM::SearchUserInterface*>(__delBase.get()); - return __del->advancedSearchUser(site, country, province, city, gender, age, job, timestamp, retVal, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::SearchUserInterface::ice_staticId() -{ - return ::AliIM::SearchUserInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::SearchUserInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::SearchUserInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::SearchUserInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::SearchUserInterface); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::SearchUserInterface& l, const ::IceProxy::AliIM::SearchUserInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::SearchUserInterface& l, const ::IceProxy::AliIM::SearchUserInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::SearchUserInterface& l, const ::IceProxy::AliIM::SearchUserInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::SearchUserInterface& l, const ::IceProxy::AliIM::SearchUserInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::SearchUserInterface& l, const ::IceProxy::AliIM::SearchUserInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::SearchUserInterface& l, const ::IceProxy::AliIM::SearchUserInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::SearchUserInterface::searchUser(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__SearchUserInterface__searchUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(targetUid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(retCode); - ::AliIM::__read(__is, retVal, ::AliIM::__U__SearchuserResSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::SearchUserInterface::searchUserB2BFuzzy(const ::std::string& uid, const ::std::string& targetUid, const ::std::string& reserve, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__SearchUserInterface__searchUserB2BFuzzy_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(targetUid); - __os->write(reserve); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(retCode); - ::AliIM::__read(__is, retVal, ::AliIM::__U__SearchuserResSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::SearchUserInterface::getRecommendUser(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int syncUser, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__SearchUserInterface__getRecommendUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(targetUid); - __os->write(syncUser); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(retCode); - ::AliIM::__read(__is, retVal, ::AliIM::__U__SearchuserResSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::SearchUserInterface::getUsersByName(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int syncUser, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__SearchUserInterface__getUsersByName_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(targetUid); - __os->write(syncUser); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(retCode); - ::AliIM::__read(__is, retVal, ::AliIM::__U__SearchuserResSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::SearchUserInterface::getTribeInfo(const ::std::string& tribeId, ::AliIM::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__SearchUserInterface__getTribeInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - tribeInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::SearchUserInterface::advancedSearchUser(const ::std::string& site, const ::std::string& country, const ::std::string& province, const ::std::string& city, ::Ice::Int gender, ::Ice::Int age, const ::std::string& job, ::Ice::Int timestamp, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__SearchUserInterface__advancedSearchUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(site); - __os->write(country); - __os->write(province); - __os->write(city); - __os->write(gender); - __os->write(age); - __os->write(job); - __os->write(timestamp); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIM::__read(__is, retVal, ::AliIM::__U__SearchuserResSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::SearchUserInterface::searchUser(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__SearchUserInterface__searchUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::SearchUserInterface* __servant = dynamic_cast< ::AliIM::SearchUserInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->searchUser(uid, targetUid, retCode, retVal, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::SearchUserInterface::searchUserB2BFuzzy(const ::std::string& uid, const ::std::string& targetUid, const ::std::string& reserve, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__SearchUserInterface__searchUserB2BFuzzy_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::SearchUserInterface* __servant = dynamic_cast< ::AliIM::SearchUserInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->searchUserB2BFuzzy(uid, targetUid, reserve, retCode, retVal, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::SearchUserInterface::getRecommendUser(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int syncUser, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__SearchUserInterface__getRecommendUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::SearchUserInterface* __servant = dynamic_cast< ::AliIM::SearchUserInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getRecommendUser(uid, targetUid, syncUser, retCode, retVal, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::SearchUserInterface::getUsersByName(const ::std::string& uid, const ::std::string& targetUid, ::Ice::Int syncUser, ::Ice::Int& retCode, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__SearchUserInterface__getUsersByName_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::SearchUserInterface* __servant = dynamic_cast< ::AliIM::SearchUserInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUsersByName(uid, targetUid, syncUser, retCode, retVal, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::SearchUserInterface::getTribeInfo(const ::std::string& tribeId, ::AliIM::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__SearchUserInterface__getTribeInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::SearchUserInterface* __servant = dynamic_cast< ::AliIM::SearchUserInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getTribeInfo(tribeId, tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::SearchUserInterface::advancedSearchUser(const ::std::string& site, const ::std::string& country, const ::std::string& province, const ::std::string& city, ::Ice::Int gender, ::Ice::Int age, const ::std::string& job, ::Ice::Int timestamp, ::AliIM::SearchuserResSeq& retVal, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__SearchUserInterface__advancedSearchUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::SearchUserInterface* __servant = dynamic_cast< ::AliIM::SearchUserInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->advancedSearchUser(site, country, province, city, gender, age, job, timestamp, retVal, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::SearchUserInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__SearchUserInterface_ids[2] = -{ - "::AliIM::SearchUserInterface", - "::Ice::Object" -}; - -bool -AliIM::SearchUserInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__SearchUserInterface_ids, __AliIM__SearchUserInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::SearchUserInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__SearchUserInterface_ids[0], &__AliIM__SearchUserInterface_ids[2]); -} - -const ::std::string& -AliIM::SearchUserInterface::ice_id(const ::Ice::Current&) const -{ - return __AliIM__SearchUserInterface_ids[0]; -} - -const ::std::string& -AliIM::SearchUserInterface::ice_staticId() -{ - return __AliIM__SearchUserInterface_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::SearchUserInterface::___searchUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string targetUid; - __is->read(uid); - __is->read(targetUid); - ::Ice::Int retCode; - ::AliIM::SearchuserResSeq retVal; - ::Ice::Int __ret = searchUser(uid, targetUid, retCode, retVal, __current); - __os->write(retCode); - if(retVal.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIM::__write(__os, &retVal[0], &retVal[0] + retVal.size(), ::AliIM::__U__SearchuserResSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::SearchUserInterface::___searchUserB2BFuzzy(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string targetUid; - ::std::string reserve; - __is->read(uid); - __is->read(targetUid); - __is->read(reserve); - ::Ice::Int retCode; - ::AliIM::SearchuserResSeq retVal; - ::Ice::Int __ret = searchUserB2BFuzzy(uid, targetUid, reserve, retCode, retVal, __current); - __os->write(retCode); - if(retVal.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIM::__write(__os, &retVal[0], &retVal[0] + retVal.size(), ::AliIM::__U__SearchuserResSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::SearchUserInterface::___getRecommendUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string targetUid; - ::Ice::Int syncUser; - __is->read(uid); - __is->read(targetUid); - __is->read(syncUser); - ::Ice::Int retCode; - ::AliIM::SearchuserResSeq retVal; - ::Ice::Int __ret = getRecommendUser(uid, targetUid, syncUser, retCode, retVal, __current); - __os->write(retCode); - if(retVal.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIM::__write(__os, &retVal[0], &retVal[0] + retVal.size(), ::AliIM::__U__SearchuserResSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::SearchUserInterface::___getUsersByName(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string targetUid; - ::Ice::Int syncUser; - __is->read(uid); - __is->read(targetUid); - __is->read(syncUser); - ::Ice::Int retCode; - ::AliIM::SearchuserResSeq retVal; - ::Ice::Int __ret = getUsersByName(uid, targetUid, syncUser, retCode, retVal, __current); - __os->write(retCode); - if(retVal.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIM::__write(__os, &retVal[0], &retVal[0] + retVal.size(), ::AliIM::__U__SearchuserResSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::SearchUserInterface::___getTribeInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string tribeId; - __is->read(tribeId); - ::AliIM::STribeInfo tribeInfo; - ::Ice::Int __ret = getTribeInfo(tribeId, tribeInfo, __current); - tribeInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::SearchUserInterface::___advancedSearchUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string site; - ::std::string country; - ::std::string province; - ::std::string city; - ::Ice::Int gender; - ::Ice::Int age; - ::std::string job; - ::Ice::Int timestamp; - __is->read(site); - __is->read(country); - __is->read(province); - __is->read(city); - __is->read(gender); - __is->read(age); - __is->read(job); - __is->read(timestamp); - ::AliIM::SearchuserResSeq retVal; - ::Ice::Int __ret = advancedSearchUser(site, country, province, city, gender, age, job, timestamp, retVal, __current); - if(retVal.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIM::__write(__os, &retVal[0], &retVal[0] + retVal.size(), ::AliIM::__U__SearchuserResSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__SearchUserInterface_all[] = -{ - "advancedSearchUser", - "getRecommendUser", - "getTribeInfo", - "getUsersByName", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "searchUser", - "searchUserB2BFuzzy" -}; - -::IceInternal::DispatchStatus -AliIM::SearchUserInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__SearchUserInterface_all, __AliIM__SearchUserInterface_all + 10, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__SearchUserInterface_all) - { - case 0: - { - return ___advancedSearchUser(in, current); - } - case 1: - { - return ___getRecommendUser(in, current); - } - case 2: - { - return ___getTribeInfo(in, current); - } - case 3: - { - return ___getUsersByName(in, current); - } - case 4: - { - return ___ice_id(in, current); - } - case 5: - { - return ___ice_ids(in, current); - } - case 6: - { - return ___ice_isA(in, current); - } - case 7: - { - return ___ice_ping(in, current); - } - case 8: - { - return ___searchUser(in, current); - } - case 9: - { - return ___searchUserB2BFuzzy(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::SearchUserInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::SearchUserInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::SearchUserInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::SearchUserInterface was not generated with stream support"; - throw ex; -} - -void -AliIM::SearchUserInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::SearchUserInterface was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__SearchUserInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::SearchUserInterfacePtr* p = static_cast< ::AliIM::SearchUserInterfacePtr*>(__addr); - assert(p); - *p = ::AliIM::SearchUserInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::SearchUserInterface::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::SearchUserInterface& l, const ::AliIM::SearchUserInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::SearchUserInterface& l, const ::AliIM::SearchUserInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::SearchUserInterface& l, const ::AliIM::SearchUserInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::SearchUserInterface& l, const ::AliIM::SearchUserInterface& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::SearchUserInterface& l, const ::AliIM::SearchUserInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::SearchUserInterface& l, const ::AliIM::SearchUserInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/sipsession.cpp b/features/aliww/source/sipsession.cpp deleted file mode 100644 index 5b3812b..0000000 --- a/features/aliww/source/sipsession.cpp +++ /dev/null @@ -1,517 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `sipsession.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __com__alisoft__member__udb__api__sns__session__sessionService__bindSession_name = "bindSession"; - -void -IceInternal::incRef(::com::alisoft::member::udb::api::sns::session::sessionService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::com::alisoft::member::udb::api::sns::session::sessionService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService* p) -{ - p->__decRef(); -} - -void -com::alisoft::member::udb::api::sns::session::__write(::IceInternal::BasicStream* __os, const ::com::alisoft::member::udb::api::sns::session::sessionServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -com::alisoft::member::udb::api::sns::session::__read(::IceInternal::BasicStream* __is, ::com::alisoft::member::udb::api::sns::session::sessionServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService; - v->__copyFrom(proxy); - } -} - -void -com::alisoft::member::udb::api::sns::session::__write(::IceInternal::BasicStream* __os, const ::com::alisoft::member::udb::api::sns::session::sessionServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -com::alisoft::member::udb::api::sns::model::SessionInfo::operator==(const SessionInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -com::alisoft::member::udb::api::sns::model::SessionInfo::operator!=(const SessionInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(sessionId != __rhs.sessionId) - { - return true; - } - return false; -} - -bool -com::alisoft::member::udb::api::sns::model::SessionInfo::operator<(const SessionInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(sessionId < __rhs.sessionId) - { - return true; - } - else if(__rhs.sessionId < sessionId) - { - return false; - } - return false; -} - -void -com::alisoft::member::udb::api::sns::model::SessionInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(sessionId); -} - -void -com::alisoft::member::udb::api::sns::model::SessionInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(sessionId); -} - -void -com::alisoft::member::udb::api::sns::session::__addObject(const sessionServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -com::alisoft::member::udb::api::sns::session::__usesClasses(const sessionServicePtr& p) -{ - return p->__usesClasses(); -} - -void -com::alisoft::member::udb::api::sns::session::__decRefUnsafe(const sessionServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -com::alisoft::member::udb::api::sns::session::__clearHandleUnsafe(sessionServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::sns::session::sessionService::bindSession(const ::std::string& appId, const ::std::string& userLongId, const ::std::string& type, ::com::alisoft::member::udb::api::sns::model::SessionInfo& sessionInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__sns__session__sessionService__bindSession_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::sns::session::sessionService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::sns::session::sessionService*>(__delBase.get()); - return __del->bindSession(appId, userLongId, type, sessionInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::com::alisoft::member::udb::api::sns::session::sessionService::ice_staticId() -{ - return ::com::alisoft::member::udb::api::sns::session::sessionService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::com::alisoft::member::udb::api::sns::session::sessionService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::com::alisoft::member::udb::api::sns::session::sessionService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::com::alisoft::member::udb::api::sns::session::sessionService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::com::alisoft::member::udb::api::sns::session::sessionService); -} - -bool -IceProxy::com::alisoft::member::udb::api::sns::session::operator==(const ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService& l, const ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::com::alisoft::member::udb::api::sns::session::operator!=(const ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService& l, const ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::com::alisoft::member::udb::api::sns::session::operator<(const ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService& l, const ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::com::alisoft::member::udb::api::sns::session::operator<=(const ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService& l, const ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::com::alisoft::member::udb::api::sns::session::operator>(const ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService& l, const ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::com::alisoft::member::udb::api::sns::session::operator>=(const ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService& l, const ::IceProxy::com::alisoft::member::udb::api::sns::session::sessionService& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::sns::session::sessionService::bindSession(const ::std::string& appId, const ::std::string& userLongId, const ::std::string& type, ::com::alisoft::member::udb::api::sns::model::SessionInfo& sessionInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__sns__session__sessionService__bindSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(appId); - __os->write(userLongId); - __os->write(type); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - sessionInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::sns::session::sessionService::bindSession(const ::std::string& appId, const ::std::string& userLongId, const ::std::string& type, ::com::alisoft::member::udb::api::sns::model::SessionInfo& sessionInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__sns__session__sessionService__bindSession_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::sns::session::sessionService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::sns::session::sessionService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->bindSession(appId, userLongId, type, sessionInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -com::alisoft::member::udb::api::sns::session::sessionService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __com__alisoft__member__udb__api__sns__session__sessionService_ids[2] = -{ - "::Ice::Object", - "::com::alisoft::member::udb::api::sns::session::sessionService" -}; - -bool -com::alisoft::member::udb::api::sns::session::sessionService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__com__alisoft__member__udb__api__sns__session__sessionService_ids, __com__alisoft__member__udb__api__sns__session__sessionService_ids + 2, _s); -} - -::std::vector< ::std::string> -com::alisoft::member::udb::api::sns::session::sessionService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__com__alisoft__member__udb__api__sns__session__sessionService_ids[0], &__com__alisoft__member__udb__api__sns__session__sessionService_ids[2]); -} - -const ::std::string& -com::alisoft::member::udb::api::sns::session::sessionService::ice_id(const ::Ice::Current&) const -{ - return __com__alisoft__member__udb__api__sns__session__sessionService_ids[1]; -} - -const ::std::string& -com::alisoft::member::udb::api::sns::session::sessionService::ice_staticId() -{ - return __com__alisoft__member__udb__api__sns__session__sessionService_ids[1]; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::sns::session::sessionService::___bindSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string appId; - ::std::string userLongId; - ::std::string type; - __is->read(appId); - __is->read(userLongId); - __is->read(type); - ::com::alisoft::member::udb::api::sns::model::SessionInfo sessionInfo; - ::Ice::Int __ret = bindSession(appId, userLongId, type, sessionInfo, __current); - sessionInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __com__alisoft__member__udb__api__sns__session__sessionService_all[] = -{ - "bindSession", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::sns::session::sessionService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__com__alisoft__member__udb__api__sns__session__sessionService_all, __com__alisoft__member__udb__api__sns__session__sessionService_all + 5, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __com__alisoft__member__udb__api__sns__session__sessionService_all) - { - case 0: - { - return ___bindSession(in, current); - } - case 1: - { - return ___ice_id(in, current); - } - case 2: - { - return ___ice_ids(in, current); - } - case 3: - { - return ___ice_isA(in, current); - } - case 4: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -com::alisoft::member::udb::api::sns::session::sessionService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -com::alisoft::member::udb::api::sns::session::sessionService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -com::alisoft::member::udb::api::sns::session::sessionService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type com::alisoft::member::udb::api::sns::session::sessionService was not generated with stream support"; - throw ex; -} - -void -com::alisoft::member::udb::api::sns::session::sessionService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type com::alisoft::member::udb::api::sns::session::sessionService was not generated with stream support"; - throw ex; -} - -void -com::alisoft::member::udb::api::sns::session::__patch__sessionServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::com::alisoft::member::udb::api::sns::session::sessionServicePtr* p = static_cast< ::com::alisoft::member::udb::api::sns::session::sessionServicePtr*>(__addr); - assert(p); - *p = ::com::alisoft::member::udb::api::sns::session::sessionServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::com::alisoft::member::udb::api::sns::session::sessionService::ice_staticId(); - throw e; - } -} - -bool -com::alisoft::member::udb::api::sns::session::operator==(const ::com::alisoft::member::udb::api::sns::session::sessionService& l, const ::com::alisoft::member::udb::api::sns::session::sessionService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -com::alisoft::member::udb::api::sns::session::operator!=(const ::com::alisoft::member::udb::api::sns::session::sessionService& l, const ::com::alisoft::member::udb::api::sns::session::sessionService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -com::alisoft::member::udb::api::sns::session::operator<(const ::com::alisoft::member::udb::api::sns::session::sessionService& l, const ::com::alisoft::member::udb::api::sns::session::sessionService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -com::alisoft::member::udb::api::sns::session::operator<=(const ::com::alisoft::member::udb::api::sns::session::sessionService& l, const ::com::alisoft::member::udb::api::sns::session::sessionService& r) -{ - return l < r || l == r; -} - -bool -com::alisoft::member::udb::api::sns::session::operator>(const ::com::alisoft::member::udb::api::sns::session::sessionService& l, const ::com::alisoft::member::udb::api::sns::session::sessionService& r) -{ - return !(l < r) && !(l == r); -} - -bool -com::alisoft::member::udb::api::sns::session::operator>=(const ::com::alisoft::member::udb::api::sns::session::sessionService& l, const ::com::alisoft::member::udb::api::sns::session::sessionService& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/smsa_pack.cpp b/features/aliww/source/smsa_pack.cpp deleted file mode 100644 index e115baf..0000000 --- a/features/aliww/source/smsa_pack.cpp +++ /dev/null @@ -1,604 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smsa_pack.cpp -// Date: 2011-01-30 12:49:59 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "smsa_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SWebSmsUser& sWebSmsUser ) -{ - cPackData.WriteData(sWebSmsUser.m_userId, 0, 64); - cPackData.WriteData(sWebSmsUser.m_mobileNo, 0, 16); - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SWebSmsUser& sWebSmsUser ) -{ - cPackData.ReadData(sWebSmsUser.m_userId, 64, 0); - cPackData.ReadData(sWebSmsUser.m_mobileNo, 16, 0); - return cPackData; -} - -void CScNotifySmsModifyblacklist::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_mscHead.Size()) - m_mscHead.m_len = 0; - else - m_mscHead.m_len = strData.size() - m_mscHead.Size(); - if(m_mscHead.m_cmd == 0) m_mscHead.m_cmd = SC_NOTIFY_SMS_MODIFYBLACKLIST; - m_mscHead.PackData(strData); -} - -void CScNotifySmsModifyblacklist::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_mscHead.Size() + 7); - SetOutCursor( m_mscHead.Size() ); - (*this) << m_flag; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< SWebSmsUser >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - m_mscHead.m_cc = CalcCheckCode(strData, m_mscHead.Size()); - FormData(m_mscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScNotifySmsModifyblacklist::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CScNotifySmsModifyblacklist::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_mscHead.Size()); - uLongf nHeadLen = m_mscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_mscHead.Size()); - m_mscHead.ResetInBuff(strData); - if(checkCode != m_mscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - (*this) >> m_flag; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SWebSmsUser tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScNotifySmsModifyblacklist::UnpackData(string& strData) -{ - m_mscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CScSmsNotifyUploadmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_mscHead.Size()) - m_mscHead.m_len = 0; - else - m_mscHead.m_len = strData.size() - m_mscHead.Size(); - if(m_mscHead.m_cmd == 0) m_mscHead.m_cmd = SC_SMS_NOTIFY_UPLOADMSG; - m_mscHead.PackData(strData); -} - -void CScSmsNotifyUploadmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_mscHead.Size() + 7); - SetOutCursor( m_mscHead.Size() ); - WriteData(m_fromId, 0, 64); - (*this) << m_fromMobile; - (*this) << m_bindFlag; - WriteData(m_toId, 0, 64); - WriteData(m_toMobile, 0, 16); - (*this) << m_cmd; - (*this) << m_message; - m_mscHead.m_cc = CalcCheckCode(strData, m_mscHead.Size()); - FormData(m_mscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScSmsNotifyUploadmsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CScSmsNotifyUploadmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_mscHead.Size()); - uLongf nHeadLen = m_mscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_mscHead.Size()); - m_mscHead.ResetInBuff(strData); - if(checkCode != m_mscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - ReadData(m_fromId, 64, 0); - (*this) >> m_fromMobile; - (*this) >> m_bindFlag; - ReadData(m_toId, 64, 0); - ReadData(m_toMobile, 16, 0); - (*this) >> m_cmd; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScSmsNotifyUploadmsg::UnpackData(string& strData) -{ - m_mscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CScReqSmsSendMessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_mscHead.Size()) - m_mscHead.m_len = 0; - else - m_mscHead.m_len = strData.size() - m_mscHead.Size(); - if(m_mscHead.m_cmd == 0) m_mscHead.m_cmd = SC_REQ_SMS_SEND_MESSAGE; - m_mscHead.PackData(strData); -} - -void CScReqSmsSendMessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_mscHead.Size() + 7); - SetOutCursor( m_mscHead.Size() ); - WriteData(m_fromId, 0, 64); - WriteData(m_toId, 0, 64); - WriteData(m_toMobile, 0, 16); - (*this) << m_message; - (*this) << m_type; - m_mscHead.m_cc = CalcCheckCode(strData, m_mscHead.Size()); - FormData(m_mscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScReqSmsSendMessage::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CScReqSmsSendMessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_mscHead.Size()); - uLongf nHeadLen = m_mscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_mscHead.Size()); - m_mscHead.ResetInBuff(strData); - if(checkCode != m_mscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - ReadData(m_fromId, 64, 0); - ReadData(m_toId, 64, 0); - ReadData(m_toMobile, 16, 0); - (*this) >> m_message; - (*this) >> m_type; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScReqSmsSendMessage::UnpackData(string& strData) -{ - m_mscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CScRspSmsSendMessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_mscHead.Size()) - m_mscHead.m_len = 0; - else - m_mscHead.m_len = strData.size() - m_mscHead.Size(); - if(m_mscHead.m_cmd == 0) m_mscHead.m_cmd = SC_RSP_SMS_SEND_MESSAGE; - m_mscHead.PackData(strData); -} - -void CScRspSmsSendMessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_mscHead.Size() + 7); - SetOutCursor( m_mscHead.Size() ); - (*this) << m_status; - WriteData(m_fromId, 0, 64); - WriteData(m_toId, 0, 64); - WriteData(m_toMobile, 0, 16); - (*this) << m_message; - (*this) << m_type; - m_mscHead.m_cc = CalcCheckCode(strData, m_mscHead.Size()); - FormData(m_mscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScRspSmsSendMessage::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CScRspSmsSendMessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_mscHead.Size()); - uLongf nHeadLen = m_mscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_mscHead.Size()); - m_mscHead.ResetInBuff(strData); - if(checkCode != m_mscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - (*this) >> m_status; - ReadData(m_fromId, 64, 0); - ReadData(m_toId, 64, 0); - ReadData(m_toMobile, 16, 0); - (*this) >> m_message; - (*this) >> m_type; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScRspSmsSendMessage::UnpackData(string& strData) -{ - m_mscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CScNotifySmsMobileonline::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_mscHead.Size()) - m_mscHead.m_len = 0; - else - m_mscHead.m_len = strData.size() - m_mscHead.Size(); - if(m_mscHead.m_cmd == 0) m_mscHead.m_cmd = SC_NOTIFY_SMS_MOBILEONLINE; - m_mscHead.PackData(strData); -} - -void CScNotifySmsMobileonline::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_mscHead.Size() + 7); - SetOutCursor( m_mscHead.Size() ); - WriteData(m_userId, 0, 64); - (*this) << m_onlineFlag; - (*this) << m_revFlag; - m_mscHead.m_cc = CalcCheckCode(strData, m_mscHead.Size()); - FormData(m_mscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScNotifySmsMobileonline::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CScNotifySmsMobileonline::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_mscHead.Size()); - uLongf nHeadLen = m_mscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_mscHead.Size()); - m_mscHead.ResetInBuff(strData); - if(checkCode != m_mscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - ReadData(m_userId, 64, 0); - (*this) >> m_onlineFlag; - (*this) >> m_revFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScNotifySmsMobileonline::UnpackData(string& strData) -{ - m_mscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CScRspSmsMobileonline::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_mscHead.Size()) - m_mscHead.m_len = 0; - else - m_mscHead.m_len = strData.size() - m_mscHead.Size(); - if(m_mscHead.m_cmd == 0) m_mscHead.m_cmd = SC_RSP_SMS_MOBILEONLINE; - m_mscHead.PackData(strData); -} - -void CScRspSmsMobileonline::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_mscHead.Size() + 7); - SetOutCursor( m_mscHead.Size() ); - (*this) << m_status; - WriteData(m_userId, 0, 64); - (*this) << m_onlineFlag; - (*this) << m_revFlag; - m_mscHead.m_cc = CalcCheckCode(strData, m_mscHead.Size()); - FormData(m_mscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScRspSmsMobileonline::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CScRspSmsMobileonline::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_mscHead.Size()); - uLongf nHeadLen = m_mscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_mscHead.Size()); - m_mscHead.ResetInBuff(strData); - if(checkCode != m_mscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - (*this) >> m_status; - ReadData(m_userId, 64, 0); - (*this) >> m_onlineFlag; - (*this) >> m_revFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScRspSmsMobileonline::UnpackData(string& strData) -{ - m_mscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CScNotifySmsMobilebind::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_mscHead.Size()) - m_mscHead.m_len = 0; - else - m_mscHead.m_len = strData.size() - m_mscHead.Size(); - if(m_mscHead.m_cmd == 0) m_mscHead.m_cmd = SC_NOTIFY_SMS_MOBILEBIND; - m_mscHead.PackData(strData); -} - -void CScNotifySmsMobilebind::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_mscHead.Size() + 7); - SetOutCursor( m_mscHead.Size() ); - WriteData(m_userId, 0, 64); - (*this) << m_bindFlag; - m_mscHead.m_cc = CalcCheckCode(strData, m_mscHead.Size()); - FormData(m_mscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScNotifySmsMobilebind::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CScNotifySmsMobilebind::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_mscHead.Size()); - uLongf nHeadLen = m_mscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_mscHead.Size()); - m_mscHead.ResetInBuff(strData); - if(checkCode != m_mscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - ReadData(m_userId, 64, 0); - (*this) >> m_bindFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScNotifySmsMobilebind::UnpackData(string& strData) -{ - m_mscHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CScConfirmSmsMobilebind::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_mscHead.Size()) - m_mscHead.m_len = 0; - else - m_mscHead.m_len = strData.size() - m_mscHead.Size(); - if(m_mscHead.m_cmd == 0) m_mscHead.m_cmd = SC_CONFIRM_SMS_MOBILEBIND; - m_mscHead.PackData(strData); -} - -void CScConfirmSmsMobilebind::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_mscHead.Size() + 7); - SetOutCursor( m_mscHead.Size() ); - (*this) << m_status; - WriteData(m_userId, 0, 64); - (*this) << m_bindFlag; - m_mscHead.m_cc = CalcCheckCode(strData, m_mscHead.Size()); - FormData(m_mscHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CScConfirmSmsMobilebind::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CScConfirmSmsMobilebind::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_mscHead.Size()); - uLongf nHeadLen = m_mscHead.Size(); - uint16_t checkCode = CalcCheckCode(strData, m_mscHead.Size()); - m_mscHead.ResetInBuff(strData); - if(checkCode != m_mscHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor(nHeadLen); - (*this) >> m_status; - ReadData(m_userId, 64, 0); - (*this) >> m_bindFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CScConfirmSmsMobilebind::UnpackData(string& strData) -{ - m_mscHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/smsc_pack.cpp b/features/aliww/source/smsc_pack.cpp deleted file mode 100644 index e9d4703..0000000 --- a/features/aliww/source/smsc_pack.cpp +++ /dev/null @@ -1,2022 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smsc_pack.cpp -// Date: 2011-01-30 12:48:52 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "smsc_pack.h" - -void CImReqSmsSendmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SMS_SENDMSG; - m_scHead.PackData(strData); -} - -void CImReqSmsSendmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_fromId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_toUserList.size(); - (*this) << nLen; - VECTOR< SSmsUser >::const_iterator itr; - for(itr = m_toUserList.cbegin(); itr != m_toUserList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSmsSendmsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSmsSendmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_toUserList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SSmsUser tmpVal; - (*this) >> tmpVal; - m_toUserList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSmsSendmsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspSmsSendmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SMS_SENDMSG; - m_scHead.PackData(strData); -} - -void CImRspSmsSendmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_status; - (*this) << FT_STRING; - (*this) << m_fromId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_toUserList.size(); - (*this) << nLen; - VECTOR< SSmsUser >::const_iterator itr; - for(itr = m_toUserList.cbegin(); itr != m_toUserList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSmsSendmsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSmsSendmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_toUserList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SSmsUser tmpVal; - (*this) >> tmpVal; - m_toUserList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSmsSendmsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfSmsSendstatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_SMS_SENDSTATUS; - m_scHead.PackData(strData); -} - -void CImNtfSmsSendstatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_status; - (*this) << FT_STRING; - (*this) << m_fromId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_toUserList.size(); - (*this) << nLen; - VECTOR< SSmsUser >::const_iterator itr; - for(itr = m_toUserList.cbegin(); itr != m_toUserList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_STRING; - (*this) << m_errorDesc; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfSmsSendstatus::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfSmsSendstatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_toUserList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SSmsUser tmpVal; - (*this) >> tmpVal; - m_toUserList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_errorDesc; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfSmsSendstatus::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfSmsRcvmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_SMS_RCVMSG; - m_scHead.PackData(strData); -} - -void CImNtfSmsRcvmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRUCT; - (*this) << m_fromUser; - (*this) << FT_STRING; - (*this) << m_toId; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfSmsRcvmsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfSmsRcvmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromUser; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_toId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfSmsRcvmsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfSmsChargestatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_SMS_CHARGESTATUS; - m_scHead.PackData(strData); -} - -void CImNtfSmsChargestatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)7; - (*this) << FT_UINT8; - (*this) << m_status; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_chargeId; - (*this) << FT_UINT8; - (*this) << m_chargeType; - (*this) << FT_UINT32; - (*this) << m_denomination; - (*this) << FT_UINT32; - (*this) << m_balance; - (*this) << FT_UINT32; - (*this) << m_count; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfSmsChargestatus::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfSmsChargestatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 7) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_chargeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_chargeType; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_denomination; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_balance; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_count; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfSmsChargestatus::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfSmsMobileonline::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_SMS_MOBILEONLINE; - m_scHead.PackData(strData); -} - -void CImNtfSmsMobileonline::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_onlineFlag; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfSmsMobileonline::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfSmsMobileonline::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_onlineFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfSmsMobileonline::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSmsGetusermsginfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SMS_GETUSERMSGINFO; - m_scHead.PackData(strData); -} - -void CImReqSmsGetusermsginfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_userId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSmsGetusermsginfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSmsGetusermsginfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSmsGetusermsginfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspSmsGetusermsginfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SMS_GETUSERMSGINFO; - m_scHead.PackData(strData); -} - -void CImRspSmsGetusermsginfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)8; - (*this) << FT_UINT8; - (*this) << m_status; - (*this) << FT_UINT32; - (*this) << m_yesterdayMsgCount; - (*this) << FT_UINT32; - (*this) << m_todayMsgCount; - (*this) << FT_UINT32; - (*this) << m_maxMsgCount; - (*this) << FT_UINT32; - (*this) << m_balance; - (*this) << FT_UINT32; - (*this) << m_price; - (*this) << FT_UINT32; - (*this) << m_count; - (*this) << FT_UINT32; - (*this) << m_msgMaxLen; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSmsGetusermsginfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSmsGetusermsginfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 8) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_yesterdayMsgCount; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_todayMsgCount; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_maxMsgCount; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_balance; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_price; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_count; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgMaxLen; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSmsGetusermsginfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSmsGetAccount::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SMS_GET_ACCOUNT; - m_scHead.PackData(strData); -} - -void CImReqSmsGetAccount::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_userId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSmsGetAccount::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSmsGetAccount::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSmsGetAccount::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspSmsGetAccount::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SMS_GET_ACCOUNT; - m_scHead.PackData(strData); -} - -void CImRspSmsGetAccount::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_UINT8; - (*this) << m_status; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_bindFlag; - (*this) << FT_UINT8; - (*this) << m_onlineFlag; - (*this) << FT_STRING; - (*this) << m_mobileNo; - (*this) << FT_UINT8; - (*this) << m_revFlag; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSmsGetAccount::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSmsGetAccount::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 6) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_bindFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_onlineFlag; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_mobileNo; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_revFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSmsGetAccount::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSmsGetAccount2::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SMS_GET_ACCOUNT2; - m_scHead.PackData(strData); -} - -void CImReqSmsGetAccount2::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_userId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSmsGetAccount2::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSmsGetAccount2::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSmsGetAccount2::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspSmsGetAccount2::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SMS_GET_ACCOUNT2; - m_scHead.PackData(strData); -} - -void CImRspSmsGetAccount2::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_status; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_bindFlag; - (*this) << FT_UINT8; - (*this) << m_onlineFlag; - (*this) << FT_UINT8; - (*this) << m_revFlag; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSmsGetAccount2::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSmsGetAccount2::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_bindFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_onlineFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_revFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSmsGetAccount2::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfSmsMobilebind::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_SMS_MOBILEBIND; - m_scHead.PackData(strData); -} - -void CImNtfSmsMobilebind::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_bindFlag; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfSmsMobilebind::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfSmsMobilebind::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_bindFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfSmsMobilebind::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfSmsRevflag::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_SMS_REVFLAG; - m_scHead.PackData(strData); -} - -void CImNtfSmsRevflag::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_revFlag; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfSmsRevflag::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfSmsRevflag::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_revFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfSmsRevflag::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSmsGetBlacklist::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SMS_GET_BLACKLIST; - m_scHead.PackData(strData); -} - -void CImReqSmsGetBlacklist::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - WriteData(m_userId, 0, 64); - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSmsGetBlacklist::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSmsGetBlacklist::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - ReadData(m_userId, 64, 0); - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSmsGetBlacklist::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspSmsGetBlacklist::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SMS_GET_BLACKLIST; - m_scHead.PackData(strData); -} - -void CImRspSmsGetBlacklist::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_status; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_blackList.size(); - (*this) << nLen; - VECTOR< SSmsUser >::const_iterator itr; - for(itr = m_blackList.cbegin(); itr != m_blackList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSmsGetBlacklist::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSmsGetBlacklist::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_blackList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SSmsUser tmpVal; - (*this) >> tmpVal; - m_blackList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSmsGetBlacklist::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspSmsGetuserconfig::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SMS_GETUSERCONFIG; - m_scHead.PackData(strData); -} - -void CImRspSmsGetuserconfig::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_status; - (*this) << FT_UINT8; - (*this) << m_onlineFlag; - (*this) << FT_UINT8; - (*this) << m_revFlag; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSmsGetuserconfig::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSmsGetuserconfig::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_onlineFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_revFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSmsGetuserconfig::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSmsGetMultimsglen::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SMS_GET_MULTIMSGLEN; - m_scHead.PackData(strData); -} - -void CImReqSmsGetMultimsglen::PackBody(string& strData) -{ -} - -void CImReqSmsGetMultimsglen::PackData(string& strData, const string& strKey) -{ - PackHead(strData); -} - -PACKRETCODE CImReqSmsGetMultimsglen::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CImReqSmsGetMultimsglen::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - return PACK_RIGHT; -} - -void CImRspSmsGetMultimsglen::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SMS_GET_MULTIMSGLEN; - m_scHead.PackData(strData); -} - -void CImRspSmsGetMultimsglen::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT32; - (*this) << m_msgLen; - (*this) << FT_UINT32; - (*this) << m_maxUser; - (*this) << FT_UINT32; - (*this) << m_u32Reserve; - (*this) << FT_STRING; - (*this) << m_strReserve; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSmsGetMultimsglen::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSmsGetMultimsglen::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgLen; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_maxUser; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_u32Reserve; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_strReserve; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSmsGetMultimsglen::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - diff --git a/features/aliww/source/smss_pack.cpp b/features/aliww/source/smss_pack.cpp deleted file mode 100644 index 4dfaa25..0000000 --- a/features/aliww/source/smss_pack.cpp +++ /dev/null @@ -1,847 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smss_pack.cpp -// Date: 2011-01-30 12:49:34 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "smss_pack.h" - -void CSsSmsSendmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_SMS_SENDMSG; - m_ssHead.PackData(strData); -} - -void CSsSmsSendmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRUCT; - (*this) << m_fromUser; - (*this) << FT_STRING; - (*this) << m_account; - (*this) << FT_STRING; - (*this) << m_password; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_toUserList.size(); - (*this) << nLen; - VECTOR< SSmsUser >::const_iterator itr; - for(itr = m_toUserList.cbegin(); itr != m_toUserList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_STRING; - (*this) << m_message; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsSmsSendmsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsSmsSendmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 6) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromUser; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_account; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_password; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_toUserList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SSmsUser tmpVal; - (*this) >> tmpVal; - m_toUserList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsSmsSendmsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsReqSmsGetusermsginfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_REQ_SMS_GETUSERMSGINFO; - m_ssHead.PackData(strData); -} - -void CSsReqSmsGetusermsginfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_userId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsReqSmsGetusermsginfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsReqSmsGetusermsginfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsReqSmsGetusermsginfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsRspSmsGetusermsginfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_RSP_SMS_GETUSERMSGINFO; - m_ssHead.PackData(strData); -} - -void CSsRspSmsGetusermsginfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)9; - (*this) << FT_UINT8; - (*this) << m_status; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT32; - (*this) << m_yesterdayMsgCount; - (*this) << FT_UINT32; - (*this) << m_todayMsgCount; - (*this) << FT_UINT32; - (*this) << m_maxMsgCount; - (*this) << FT_UINT32; - (*this) << m_balance; - (*this) << FT_UINT32; - (*this) << m_price; - (*this) << FT_UINT32; - (*this) << m_count; - (*this) << FT_UINT32; - (*this) << m_msgMaxLen; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsRspSmsGetusermsginfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsRspSmsGetusermsginfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 9) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_yesterdayMsgCount; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_todayMsgCount; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_maxMsgCount; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_balance; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_price; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_count; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgMaxLen; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsRspSmsGetusermsginfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CBcNotifySmsSendstatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = BC_NOTIFY_SMS_SENDSTATUS; - m_ssHead.PackData(strData); -} - -void CBcNotifySmsSendstatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_status; - (*this) << FT_STRING; - (*this) << m_fromId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_toUserList.size(); - (*this) << nLen; - VECTOR< SSmsUser >::const_iterator itr; - for(itr = m_toUserList.cbegin(); itr != m_toUserList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_STRING; - (*this) << m_errorDesc; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CBcNotifySmsSendstatus::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CBcNotifySmsSendstatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_status; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_toUserList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SSmsUser tmpVal; - (*this) >> tmpVal; - m_toUserList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_errorDesc; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CBcNotifySmsSendstatus::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CBcNotifySmsMessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = BC_NOTIFY_SMS_MESSAGE; - m_ssHead.PackData(strData); -} - -void CBcNotifySmsMessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRUCT; - (*this) << m_fromUser; - (*this) << FT_STRING; - (*this) << m_toId; - (*this) << FT_STRING; - (*this) << m_message; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CBcNotifySmsMessage::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CBcNotifySmsMessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromUser; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_toId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CBcNotifySmsMessage::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CBcNotifySmsChargestatus::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = BC_NOTIFY_SMS_CHARGESTATUS; - m_ssHead.PackData(strData); -} - -void CBcNotifySmsChargestatus::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)7; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_chargeId; - (*this) << FT_UINT8; - (*this) << m_chargeStatus; - (*this) << FT_UINT8; - (*this) << m_chargeType; - (*this) << FT_UINT32; - (*this) << m_denomination; - (*this) << FT_UINT32; - (*this) << m_balance; - (*this) << FT_UINT32; - (*this) << m_count; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CBcNotifySmsChargestatus::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CBcNotifySmsChargestatus::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 7) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_chargeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_chargeStatus; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_chargeType; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_denomination; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_balance; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_count; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CBcNotifySmsChargestatus::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CBcNotifySmsRevflag::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = BC_NOTIFY_SMS_REVFLAG; - m_ssHead.PackData(strData); -} - -void CBcNotifySmsRevflag::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_revFlag; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CBcNotifySmsRevflag::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CBcNotifySmsRevflag::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_revFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CBcNotifySmsRevflag::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsReqSmsGetMultimsglen::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_REQ_SMS_GET_MULTIMSGLEN; - m_ssHead.PackData(strData); -} - -void CSsReqSmsGetMultimsglen::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_userId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsReqSmsGetMultimsglen::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsReqSmsGetMultimsglen::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsReqSmsGetMultimsglen::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSsRspSmsGetMultimsglen::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = SS_RSP_SMS_GET_MULTIMSGLEN; - m_ssHead.PackData(strData); -} - -void CSsRspSmsGetMultimsglen::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT32; - (*this) << m_msgLen; - (*this) << FT_UINT32; - (*this) << m_maxUser; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT32; - (*this) << m_u32Reserve; - (*this) << FT_STRING; - (*this) << m_strReserve; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSsRspSmsGetMultimsglen::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSsRspSmsGetMultimsglen::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgLen; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_maxUser; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_u32Reserve; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_strReserve; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSsRspSmsGetMultimsglen::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/smssdk_pack.cpp b/features/aliww/source/smssdk_pack.cpp deleted file mode 100644 index 52d2e6d..0000000 --- a/features/aliww/source/smssdk_pack.cpp +++ /dev/null @@ -1,141 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smssdk_pack.cpp -// Date: 2011-01-30 12:49:55 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "smssdk_pack.h" - -void CSmsUploadMessage::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_sdkssHead.Size()) - m_sdkssHead.m_len = 0; - else - m_sdkssHead.m_len = strData.size() - m_sdkssHead.Size(); - if(m_sdkssHead.m_cmd == 0) m_sdkssHead.m_cmd = SMS_UPLOAD_MESSAGE; - m_sdkssHead.PackData(strData); -} - -void CSmsUploadMessage::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_sdkssHead.Size() + 7); - SetOutCursor( m_sdkssHead.Size() ); - (*this) << m_transId; - (*this) << m_fromMobile; - (*this) << m_toAccount; - (*this) << m_sendTime; - (*this) << m_message; - FormData(m_sdkssHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSmsUploadMessage::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSmsUploadMessage::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_sdkssHead.Size()); - uLongf nHeadLen = m_sdkssHead.Size(); - SetInCursor(nHeadLen); - (*this) >> m_transId; - (*this) >> m_fromMobile; - (*this) >> m_toAccount; - (*this) >> m_sendTime; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSmsUploadMessage::UnpackData(string& strData) -{ - m_sdkssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CSmsReportError::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_sdkssHead.Size()) - m_sdkssHead.m_len = 0; - else - m_sdkssHead.m_len = strData.size() - m_sdkssHead.Size(); - if(m_sdkssHead.m_cmd == 0) m_sdkssHead.m_cmd = SMS_REPORT_ERROR; - m_sdkssHead.PackData(strData); -} - -void CSmsReportError::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - strData.reserve(Size() + m_sdkssHead.Size() + 7); - SetOutCursor( m_sdkssHead.Size() ); - (*this) << m_status; - (*this) << m_transId; - (*this) << m_desc; - FormData(m_sdkssHead.Size()); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CSmsReportError::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CSmsReportError::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - SetInCursor(m_sdkssHead.Size()); - uLongf nHeadLen = m_sdkssHead.Size(); - SetInCursor(nHeadLen); - (*this) >> m_status; - (*this) >> m_transId; - (*this) >> m_desc; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CSmsReportError::UnpackData(string& strData) -{ - m_sdkssHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/smsstrc_pack.cpp b/features/aliww/source/smsstrc_pack.cpp deleted file mode 100644 index 98f1d09..0000000 --- a/features/aliww/source/smsstrc_pack.cpp +++ /dev/null @@ -1,300 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: smsstrc_pack.cpp -// Date: 2011-01-30 12:49:34 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "smsstrc_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SSmsUser& sSmsUser ) -{ - uint8_t nFieldNum = 2; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sSmsUser.m_userId; - cPackData << FT_STRING; - cPackData << sSmsUser.m_mobileNo; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SSmsUser& sSmsUser ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSmsUser.m_userId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sSmsUser.m_mobileNo; - for(int i = 2; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CBcNotifySmsMobileonline::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = BC_NOTIFY_SMS_MOBILEONLINE; - m_ssHead.PackData(strData); -} - -void CBcNotifySmsMobileonline::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_onlineFlag; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CBcNotifySmsMobileonline::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CBcNotifySmsMobileonline::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_onlineFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CBcNotifySmsMobileonline::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CBcNotifySmsUserinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = BC_NOTIFY_SMS_USERINFO; - m_ssHead.PackData(strData); -} - -void CBcNotifySmsUserinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)7; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_bindFlag; - (*this) << FT_UINT8; - (*this) << m_onlineFlag; - (*this) << FT_UINT8; - (*this) << m_revFlag; - (*this) << FT_STRING; - (*this) << m_mobileNo; - (*this) << FT_UINT32; - (*this) << m_balance; - (*this) << FT_UINT32; - (*this) << m_price; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CBcNotifySmsUserinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CBcNotifySmsUserinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 7) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_bindFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_onlineFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_revFlag; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_mobileNo; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_balance; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_price; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CBcNotifySmsUserinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CBcNotifySmsUserconfig::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = BC_NOTIFY_SMS_USERCONFIG; - m_ssHead.PackData(strData); -} - -void CBcNotifySmsUserconfig::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_onlineFlag; - (*this) << FT_UINT8; - (*this) << m_revFlag; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CBcNotifySmsUserconfig::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CBcNotifySmsUserconfig::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_onlineFlag; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_revFlag; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CBcNotifySmsUserconfig::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/snsscores.cpp b/features/aliww/source/snsscores.cpp deleted file mode 100644 index d562935..0000000 --- a/features/aliww/source/snsscores.cpp +++ /dev/null @@ -1,1685 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `snsscores.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __ALISNS__ScoreInterface__addBehaviorScore_name = "addBehaviorScore"; - -static const ::std::string __ALISNS__ScoreInterface__updateScore_name = "updateScore"; - -static const ::std::string __ALISNS__ScoreInterface__getUserTotalScore_name = "getUserTotalScore"; - -static const ::std::string __ALISNS__ScoreInterface__getUserScoreFlows_name = "getUserScoreFlows"; - -static const ::std::string __ALISNS__ScoreInterface__getBidConfig_name = "getBidConfig"; - -static const ::std::string __ALISNS__ScoreInterface__getBidScoreInfo_name = "getBidScoreInfo"; - -static const ::std::string __ALISNS__ScoreInterface__getUserBidScoreInfo_name = "getUserBidScoreInfo"; - -void -IceInternal::incRef(::ALISNS::ScoreInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::ALISNS::ScoreInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::ALISNS::ScoreInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::ALISNS::ScoreInterface* p) -{ - p->__decRef(); -} - -void -ALISNS::__write(::IceInternal::BasicStream* __os, const ::ALISNS::ScoreInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -ALISNS::__read(::IceInternal::BasicStream* __is, ::ALISNS::ScoreInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::ALISNS::ScoreInterface; - v->__copyFrom(proxy); - } -} - -void -ALISNS::__write(::IceInternal::BasicStream* __os, const ::ALISNS::ScoreInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -ALISNS::ScoreFlowUnit::operator==(const ScoreFlowUnit& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALISNS::ScoreFlowUnit::operator!=(const ScoreFlowUnit& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(flowID != __rhs.flowID) - { - return true; - } - if(gmtCreate != __rhs.gmtCreate) - { - return true; - } - if(gmtModified != __rhs.gmtModified) - { - return true; - } - if(userLongId != __rhs.userLongId) - { - return true; - } - if(behaviorId != __rhs.behaviorId) - { - return true; - } - if(behaviorName != __rhs.behaviorName) - { - return true; - } - if(score != __rhs.score) - { - return true; - } - if(note != __rhs.note) - { - return true; - } - return false; -} - -bool -ALISNS::ScoreFlowUnit::operator<(const ScoreFlowUnit& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(flowID < __rhs.flowID) - { - return true; - } - else if(__rhs.flowID < flowID) - { - return false; - } - if(gmtCreate < __rhs.gmtCreate) - { - return true; - } - else if(__rhs.gmtCreate < gmtCreate) - { - return false; - } - if(gmtModified < __rhs.gmtModified) - { - return true; - } - else if(__rhs.gmtModified < gmtModified) - { - return false; - } - if(userLongId < __rhs.userLongId) - { - return true; - } - else if(__rhs.userLongId < userLongId) - { - return false; - } - if(behaviorId < __rhs.behaviorId) - { - return true; - } - else if(__rhs.behaviorId < behaviorId) - { - return false; - } - if(behaviorName < __rhs.behaviorName) - { - return true; - } - else if(__rhs.behaviorName < behaviorName) - { - return false; - } - if(score < __rhs.score) - { - return true; - } - else if(__rhs.score < score) - { - return false; - } - if(note < __rhs.note) - { - return true; - } - else if(__rhs.note < note) - { - return false; - } - return false; -} - -void -ALISNS::ScoreFlowUnit::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(flowID); - __os->write(gmtCreate); - __os->write(gmtModified); - __os->write(userLongId); - __os->write(behaviorId); - __os->write(behaviorName); - __os->write(score); - __os->write(note); -} - -void -ALISNS::ScoreFlowUnit::__read(::IceInternal::BasicStream* __is) -{ - __is->read(flowID); - __is->read(gmtCreate); - __is->read(gmtModified); - __is->read(userLongId); - __is->read(behaviorId); - __is->read(behaviorName); - __is->read(score); - __is->read(note); -} - -bool -ALISNS::BidConfigInfo::operator==(const BidConfigInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -ALISNS::BidConfigInfo::operator!=(const BidConfigInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(sBid != __rhs.sBid) - { - return true; - } - if(sName != __rhs.sName) - { - return true; - } - if(sAppId != __rhs.sAppId) - { - return true; - } - if(iTimesLimit != __rhs.iTimesLimit) - { - return true; - } - if(iScoreLimit != __rhs.iScoreLimit) - { - return true; - } - if(iDayTimesLimit != __rhs.iDayTimesLimit) - { - return true; - } - if(iDayScoreLimit != __rhs.iDayScoreLimit) - { - return true; - } - if(iPersonTimesLimit != __rhs.iPersonTimesLimit) - { - return true; - } - if(iPersonScoreLimit != __rhs.iPersonScoreLimit) - { - return true; - } - if(iPersonDayTimesLimit != __rhs.iPersonDayTimesLimit) - { - return true; - } - if(iPersonDayScoreLimit != __rhs.iPersonDayScoreLimit) - { - return true; - } - if(iScoreType != __rhs.iScoreType) - { - return true; - } - if(iScore != __rhs.iScore) - { - return true; - } - if(iStatus != __rhs.iStatus) - { - return true; - } - return false; -} - -bool -ALISNS::BidConfigInfo::operator<(const BidConfigInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(sBid < __rhs.sBid) - { - return true; - } - else if(__rhs.sBid < sBid) - { - return false; - } - if(sName < __rhs.sName) - { - return true; - } - else if(__rhs.sName < sName) - { - return false; - } - if(sAppId < __rhs.sAppId) - { - return true; - } - else if(__rhs.sAppId < sAppId) - { - return false; - } - if(iTimesLimit < __rhs.iTimesLimit) - { - return true; - } - else if(__rhs.iTimesLimit < iTimesLimit) - { - return false; - } - if(iScoreLimit < __rhs.iScoreLimit) - { - return true; - } - else if(__rhs.iScoreLimit < iScoreLimit) - { - return false; - } - if(iDayTimesLimit < __rhs.iDayTimesLimit) - { - return true; - } - else if(__rhs.iDayTimesLimit < iDayTimesLimit) - { - return false; - } - if(iDayScoreLimit < __rhs.iDayScoreLimit) - { - return true; - } - else if(__rhs.iDayScoreLimit < iDayScoreLimit) - { - return false; - } - if(iPersonTimesLimit < __rhs.iPersonTimesLimit) - { - return true; - } - else if(__rhs.iPersonTimesLimit < iPersonTimesLimit) - { - return false; - } - if(iPersonScoreLimit < __rhs.iPersonScoreLimit) - { - return true; - } - else if(__rhs.iPersonScoreLimit < iPersonScoreLimit) - { - return false; - } - if(iPersonDayTimesLimit < __rhs.iPersonDayTimesLimit) - { - return true; - } - else if(__rhs.iPersonDayTimesLimit < iPersonDayTimesLimit) - { - return false; - } - if(iPersonDayScoreLimit < __rhs.iPersonDayScoreLimit) - { - return true; - } - else if(__rhs.iPersonDayScoreLimit < iPersonDayScoreLimit) - { - return false; - } - if(iScoreType < __rhs.iScoreType) - { - return true; - } - else if(__rhs.iScoreType < iScoreType) - { - return false; - } - if(iScore < __rhs.iScore) - { - return true; - } - else if(__rhs.iScore < iScore) - { - return false; - } - if(iStatus < __rhs.iStatus) - { - return true; - } - else if(__rhs.iStatus < iStatus) - { - return false; - } - return false; -} - -void -ALISNS::BidConfigInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(sBid); - __os->write(sName); - __os->write(sAppId); - __os->write(iTimesLimit); - __os->write(iScoreLimit); - __os->write(iDayTimesLimit); - __os->write(iDayScoreLimit); - __os->write(iPersonTimesLimit); - __os->write(iPersonScoreLimit); - __os->write(iPersonDayTimesLimit); - __os->write(iPersonDayScoreLimit); - __os->write(iScoreType); - __os->write(iScore); - __os->write(iStatus); -} - -void -ALISNS::BidConfigInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(sBid); - __is->read(sName); - __is->read(sAppId); - __is->read(iTimesLimit); - __is->read(iScoreLimit); - __is->read(iDayTimesLimit); - __is->read(iDayScoreLimit); - __is->read(iPersonTimesLimit); - __is->read(iPersonScoreLimit); - __is->read(iPersonDayTimesLimit); - __is->read(iPersonDayScoreLimit); - __is->read(iScoreType); - __is->read(iScore); - __is->read(iStatus); -} - -void -ALISNS::__write(::IceInternal::BasicStream* __os, const ::ALISNS::ScoreFlowUnit* begin, const ::ALISNS::ScoreFlowUnit* end, ::ALISNS::__U__ScoreFlows) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -ALISNS::__read(::IceInternal::BasicStream* __is, ::ALISNS::ScoreFlows& v, ::ALISNS::__U__ScoreFlows) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 14); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -ALISNS::__addObject(const ScoreInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -ALISNS::__usesClasses(const ScoreInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -ALISNS::__decRefUnsafe(const ScoreInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -ALISNS::__clearHandleUnsafe(ScoreInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::ALISNS::ScoreInterface::addBehaviorScore(const ::std::string& userLongId, const ::std::string& behaviorId, const ::std::string& note, ::Ice::Int& behaviorScore, ::Ice::Int& userScore, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALISNS__ScoreInterface__addBehaviorScore_name); - __delBase = __getDelegate(); - ::IceDelegate::ALISNS::ScoreInterface* __del = dynamic_cast< ::IceDelegate::ALISNS::ScoreInterface*>(__delBase.get()); - return __del->addBehaviorScore(userLongId, behaviorId, note, behaviorScore, userScore, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALISNS::ScoreInterface::updateScore(const ::std::string& userLongId, const ::std::string& behaviorId, const ::std::string& note, ::Ice::Int score, ::Ice::Int& userScore, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALISNS__ScoreInterface__updateScore_name); - __delBase = __getDelegate(); - ::IceDelegate::ALISNS::ScoreInterface* __del = dynamic_cast< ::IceDelegate::ALISNS::ScoreInterface*>(__delBase.get()); - return __del->updateScore(userLongId, behaviorId, note, score, userScore, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALISNS::ScoreInterface::getUserTotalScore(const ::std::string& userLongId, ::Ice::Int& userScore, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALISNS__ScoreInterface__getUserTotalScore_name); - __delBase = __getDelegate(); - ::IceDelegate::ALISNS::ScoreInterface* __del = dynamic_cast< ::IceDelegate::ALISNS::ScoreInterface*>(__delBase.get()); - return __del->getUserTotalScore(userLongId, userScore, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALISNS::ScoreInterface::getUserScoreFlows(const ::std::string& userLongId, const ::std::string& beginDate, const ::std::string& endDate, ::Ice::Int start, ::Ice::Int pageCount, ::Ice::Int& totalNum, ::ALISNS::ScoreFlows& flows, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALISNS__ScoreInterface__getUserScoreFlows_name); - __delBase = __getDelegate(); - ::IceDelegate::ALISNS::ScoreInterface* __del = dynamic_cast< ::IceDelegate::ALISNS::ScoreInterface*>(__delBase.get()); - return __del->getUserScoreFlows(userLongId, beginDate, endDate, start, pageCount, totalNum, flows, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALISNS::ScoreInterface::getBidConfig(const ::std::string& sBid, ::ALISNS::BidConfigInfo& conf, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALISNS__ScoreInterface__getBidConfig_name); - __delBase = __getDelegate(); - ::IceDelegate::ALISNS::ScoreInterface* __del = dynamic_cast< ::IceDelegate::ALISNS::ScoreInterface*>(__delBase.get()); - return __del->getBidConfig(sBid, conf, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALISNS::ScoreInterface::getBidScoreInfo(const ::std::string& sBid, ::Ice::Int& iScoreTimes, ::Ice::Int& iTotalScore, ::Ice::Int& iDayScoreTimes, ::Ice::Int& iDayTotalScore, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALISNS__ScoreInterface__getBidScoreInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::ALISNS::ScoreInterface* __del = dynamic_cast< ::IceDelegate::ALISNS::ScoreInterface*>(__delBase.get()); - return __del->getBidScoreInfo(sBid, iScoreTimes, iTotalScore, iDayScoreTimes, iDayTotalScore, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::ALISNS::ScoreInterface::getUserBidScoreInfo(const ::std::string& userLongId, const ::std::string& behaviorId, ::Ice::Int& iPersonTotalScore, ::Ice::Int& iPersonAwardScore, ::Ice::Int& iPersonBidTotalTimes, ::Ice::Int& iPersonBidTotalScore, ::Ice::Int& iPersonDayBidTotalTimes, ::Ice::Int& iPersonDayBidTotalScore, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__ALISNS__ScoreInterface__getUserBidScoreInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::ALISNS::ScoreInterface* __del = dynamic_cast< ::IceDelegate::ALISNS::ScoreInterface*>(__delBase.get()); - return __del->getUserBidScoreInfo(userLongId, behaviorId, iPersonTotalScore, iPersonAwardScore, iPersonBidTotalTimes, iPersonBidTotalScore, iPersonDayBidTotalTimes, iPersonDayBidTotalScore, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::ALISNS::ScoreInterface::ice_staticId() -{ - return ::ALISNS::ScoreInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::ALISNS::ScoreInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::ALISNS::ScoreInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::ALISNS::ScoreInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::ALISNS::ScoreInterface); -} - -bool -IceProxy::ALISNS::operator==(const ::IceProxy::ALISNS::ScoreInterface& l, const ::IceProxy::ALISNS::ScoreInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::ALISNS::operator!=(const ::IceProxy::ALISNS::ScoreInterface& l, const ::IceProxy::ALISNS::ScoreInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::ALISNS::operator<(const ::IceProxy::ALISNS::ScoreInterface& l, const ::IceProxy::ALISNS::ScoreInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::ALISNS::operator<=(const ::IceProxy::ALISNS::ScoreInterface& l, const ::IceProxy::ALISNS::ScoreInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::ALISNS::operator>(const ::IceProxy::ALISNS::ScoreInterface& l, const ::IceProxy::ALISNS::ScoreInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::ALISNS::operator>=(const ::IceProxy::ALISNS::ScoreInterface& l, const ::IceProxy::ALISNS::ScoreInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::ALISNS::ScoreInterface::addBehaviorScore(const ::std::string& userLongId, const ::std::string& behaviorId, const ::std::string& note, ::Ice::Int& behaviorScore, ::Ice::Int& userScore, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALISNS__ScoreInterface__addBehaviorScore_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userLongId); - __os->write(behaviorId); - __os->write(note); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(behaviorScore); - __is->read(userScore); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALISNS::ScoreInterface::updateScore(const ::std::string& userLongId, const ::std::string& behaviorId, const ::std::string& note, ::Ice::Int score, ::Ice::Int& userScore, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALISNS__ScoreInterface__updateScore_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userLongId); - __os->write(behaviorId); - __os->write(note); - __os->write(score); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userScore); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALISNS::ScoreInterface::getUserTotalScore(const ::std::string& userLongId, ::Ice::Int& userScore, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALISNS__ScoreInterface__getUserTotalScore_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userLongId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userScore); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALISNS::ScoreInterface::getUserScoreFlows(const ::std::string& userLongId, const ::std::string& beginDate, const ::std::string& endDate, ::Ice::Int start, ::Ice::Int pageCount, ::Ice::Int& totalNum, ::ALISNS::ScoreFlows& flows, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALISNS__ScoreInterface__getUserScoreFlows_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userLongId); - __os->write(beginDate); - __os->write(endDate); - __os->write(start); - __os->write(pageCount); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(totalNum); - ::ALISNS::__read(__is, flows, ::ALISNS::__U__ScoreFlows()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALISNS::ScoreInterface::getBidConfig(const ::std::string& sBid, ::ALISNS::BidConfigInfo& conf, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALISNS__ScoreInterface__getBidConfig_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(sBid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - conf.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALISNS::ScoreInterface::getBidScoreInfo(const ::std::string& sBid, ::Ice::Int& iScoreTimes, ::Ice::Int& iTotalScore, ::Ice::Int& iDayScoreTimes, ::Ice::Int& iDayTotalScore, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALISNS__ScoreInterface__getBidScoreInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(sBid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(iScoreTimes); - __is->read(iTotalScore); - __is->read(iDayScoreTimes); - __is->read(iDayTotalScore); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::ALISNS::ScoreInterface::getUserBidScoreInfo(const ::std::string& userLongId, const ::std::string& behaviorId, ::Ice::Int& iPersonTotalScore, ::Ice::Int& iPersonAwardScore, ::Ice::Int& iPersonBidTotalTimes, ::Ice::Int& iPersonBidTotalScore, ::Ice::Int& iPersonDayBidTotalTimes, ::Ice::Int& iPersonDayBidTotalScore, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __ALISNS__ScoreInterface__getUserBidScoreInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userLongId); - __os->write(behaviorId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(iPersonTotalScore); - __is->read(iPersonAwardScore); - __is->read(iPersonBidTotalTimes); - __is->read(iPersonBidTotalScore); - __is->read(iPersonDayBidTotalTimes); - __is->read(iPersonDayBidTotalScore); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::ALISNS::ScoreInterface::addBehaviorScore(const ::std::string& userLongId, const ::std::string& behaviorId, const ::std::string& note, ::Ice::Int& behaviorScore, ::Ice::Int& userScore, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALISNS__ScoreInterface__addBehaviorScore_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALISNS::ScoreInterface* __servant = dynamic_cast< ::ALISNS::ScoreInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->addBehaviorScore(userLongId, behaviorId, note, behaviorScore, userScore, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALISNS::ScoreInterface::updateScore(const ::std::string& userLongId, const ::std::string& behaviorId, const ::std::string& note, ::Ice::Int score, ::Ice::Int& userScore, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALISNS__ScoreInterface__updateScore_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALISNS::ScoreInterface* __servant = dynamic_cast< ::ALISNS::ScoreInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateScore(userLongId, behaviorId, note, score, userScore, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALISNS::ScoreInterface::getUserTotalScore(const ::std::string& userLongId, ::Ice::Int& userScore, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALISNS__ScoreInterface__getUserTotalScore_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALISNS::ScoreInterface* __servant = dynamic_cast< ::ALISNS::ScoreInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserTotalScore(userLongId, userScore, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALISNS::ScoreInterface::getUserScoreFlows(const ::std::string& userLongId, const ::std::string& beginDate, const ::std::string& endDate, ::Ice::Int start, ::Ice::Int pageCount, ::Ice::Int& totalNum, ::ALISNS::ScoreFlows& flows, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALISNS__ScoreInterface__getUserScoreFlows_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALISNS::ScoreInterface* __servant = dynamic_cast< ::ALISNS::ScoreInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserScoreFlows(userLongId, beginDate, endDate, start, pageCount, totalNum, flows, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALISNS::ScoreInterface::getBidConfig(const ::std::string& sBid, ::ALISNS::BidConfigInfo& conf, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALISNS__ScoreInterface__getBidConfig_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALISNS::ScoreInterface* __servant = dynamic_cast< ::ALISNS::ScoreInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getBidConfig(sBid, conf, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALISNS::ScoreInterface::getBidScoreInfo(const ::std::string& sBid, ::Ice::Int& iScoreTimes, ::Ice::Int& iTotalScore, ::Ice::Int& iDayScoreTimes, ::Ice::Int& iDayTotalScore, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALISNS__ScoreInterface__getBidScoreInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALISNS::ScoreInterface* __servant = dynamic_cast< ::ALISNS::ScoreInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getBidScoreInfo(sBid, iScoreTimes, iTotalScore, iDayScoreTimes, iDayTotalScore, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::ALISNS::ScoreInterface::getUserBidScoreInfo(const ::std::string& userLongId, const ::std::string& behaviorId, ::Ice::Int& iPersonTotalScore, ::Ice::Int& iPersonAwardScore, ::Ice::Int& iPersonBidTotalTimes, ::Ice::Int& iPersonBidTotalScore, ::Ice::Int& iPersonDayBidTotalTimes, ::Ice::Int& iPersonDayBidTotalScore, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __ALISNS__ScoreInterface__getUserBidScoreInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::ALISNS::ScoreInterface* __servant = dynamic_cast< ::ALISNS::ScoreInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserBidScoreInfo(userLongId, behaviorId, iPersonTotalScore, iPersonAwardScore, iPersonBidTotalTimes, iPersonBidTotalScore, iPersonDayBidTotalTimes, iPersonDayBidTotalScore, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -ALISNS::ScoreInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __ALISNS__ScoreInterface_ids[2] = -{ - "::ALISNS::ScoreInterface", - "::Ice::Object" -}; - -bool -ALISNS::ScoreInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__ALISNS__ScoreInterface_ids, __ALISNS__ScoreInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -ALISNS::ScoreInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__ALISNS__ScoreInterface_ids[0], &__ALISNS__ScoreInterface_ids[2]); -} - -const ::std::string& -ALISNS::ScoreInterface::ice_id(const ::Ice::Current&) const -{ - return __ALISNS__ScoreInterface_ids[0]; -} - -const ::std::string& -ALISNS::ScoreInterface::ice_staticId() -{ - return __ALISNS__ScoreInterface_ids[0]; -} - -::IceInternal::DispatchStatus -ALISNS::ScoreInterface::___addBehaviorScore(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userLongId; - ::std::string behaviorId; - ::std::string note; - __is->read(userLongId); - __is->read(behaviorId); - __is->read(note); - ::Ice::Int behaviorScore; - ::Ice::Int userScore; - ::Ice::Int __ret = addBehaviorScore(userLongId, behaviorId, note, behaviorScore, userScore, __current); - __os->write(behaviorScore); - __os->write(userScore); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALISNS::ScoreInterface::___updateScore(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userLongId; - ::std::string behaviorId; - ::std::string note; - ::Ice::Int score; - __is->read(userLongId); - __is->read(behaviorId); - __is->read(note); - __is->read(score); - ::Ice::Int userScore; - ::Ice::Int __ret = updateScore(userLongId, behaviorId, note, score, userScore, __current); - __os->write(userScore); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALISNS::ScoreInterface::___getUserTotalScore(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userLongId; - __is->read(userLongId); - ::Ice::Int userScore; - ::Ice::Int __ret = getUserTotalScore(userLongId, userScore, __current); - __os->write(userScore); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALISNS::ScoreInterface::___getUserScoreFlows(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userLongId; - ::std::string beginDate; - ::std::string endDate; - ::Ice::Int start; - ::Ice::Int pageCount; - __is->read(userLongId); - __is->read(beginDate); - __is->read(endDate); - __is->read(start); - __is->read(pageCount); - ::Ice::Int totalNum; - ::ALISNS::ScoreFlows flows; - ::Ice::Int __ret = getUserScoreFlows(userLongId, beginDate, endDate, start, pageCount, totalNum, flows, __current); - __os->write(totalNum); - if(flows.size() == 0) - { - __os->writeSize(0); - } - else - { - ::ALISNS::__write(__os, &flows[0], &flows[0] + flows.size(), ::ALISNS::__U__ScoreFlows()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALISNS::ScoreInterface::___getBidConfig(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string sBid; - __is->read(sBid); - ::ALISNS::BidConfigInfo conf; - ::Ice::Int __ret = getBidConfig(sBid, conf, __current); - conf.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALISNS::ScoreInterface::___getBidScoreInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string sBid; - __is->read(sBid); - ::Ice::Int iScoreTimes; - ::Ice::Int iTotalScore; - ::Ice::Int iDayScoreTimes; - ::Ice::Int iDayTotalScore; - ::Ice::Int __ret = getBidScoreInfo(sBid, iScoreTimes, iTotalScore, iDayScoreTimes, iDayTotalScore, __current); - __os->write(iScoreTimes); - __os->write(iTotalScore); - __os->write(iDayScoreTimes); - __os->write(iDayTotalScore); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -ALISNS::ScoreInterface::___getUserBidScoreInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userLongId; - ::std::string behaviorId; - __is->read(userLongId); - __is->read(behaviorId); - ::Ice::Int iPersonTotalScore; - ::Ice::Int iPersonAwardScore; - ::Ice::Int iPersonBidTotalTimes; - ::Ice::Int iPersonBidTotalScore; - ::Ice::Int iPersonDayBidTotalTimes; - ::Ice::Int iPersonDayBidTotalScore; - ::Ice::Int __ret = getUserBidScoreInfo(userLongId, behaviorId, iPersonTotalScore, iPersonAwardScore, iPersonBidTotalTimes, iPersonBidTotalScore, iPersonDayBidTotalTimes, iPersonDayBidTotalScore, __current); - __os->write(iPersonTotalScore); - __os->write(iPersonAwardScore); - __os->write(iPersonBidTotalTimes); - __os->write(iPersonBidTotalScore); - __os->write(iPersonDayBidTotalTimes); - __os->write(iPersonDayBidTotalScore); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __ALISNS__ScoreInterface_all[] = -{ - "addBehaviorScore", - "getBidConfig", - "getBidScoreInfo", - "getUserBidScoreInfo", - "getUserScoreFlows", - "getUserTotalScore", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "updateScore" -}; - -::IceInternal::DispatchStatus -ALISNS::ScoreInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__ALISNS__ScoreInterface_all, __ALISNS__ScoreInterface_all + 11, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __ALISNS__ScoreInterface_all) - { - case 0: - { - return ___addBehaviorScore(in, current); - } - case 1: - { - return ___getBidConfig(in, current); - } - case 2: - { - return ___getBidScoreInfo(in, current); - } - case 3: - { - return ___getUserBidScoreInfo(in, current); - } - case 4: - { - return ___getUserScoreFlows(in, current); - } - case 5: - { - return ___getUserTotalScore(in, current); - } - case 6: - { - return ___ice_id(in, current); - } - case 7: - { - return ___ice_ids(in, current); - } - case 8: - { - return ___ice_isA(in, current); - } - case 9: - { - return ___ice_ping(in, current); - } - case 10: - { - return ___updateScore(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -ALISNS::ScoreInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -ALISNS::ScoreInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -ALISNS::ScoreInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type ALISNS::ScoreInterface was not generated with stream support"; - throw ex; -} - -void -ALISNS::ScoreInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type ALISNS::ScoreInterface was not generated with stream support"; - throw ex; -} - -void -ALISNS::__patch__ScoreInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::ALISNS::ScoreInterfacePtr* p = static_cast< ::ALISNS::ScoreInterfacePtr*>(__addr); - assert(p); - *p = ::ALISNS::ScoreInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::ALISNS::ScoreInterface::ice_staticId(); - throw e; - } -} - -bool -ALISNS::operator==(const ::ALISNS::ScoreInterface& l, const ::ALISNS::ScoreInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -ALISNS::operator!=(const ::ALISNS::ScoreInterface& l, const ::ALISNS::ScoreInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -ALISNS::operator<(const ::ALISNS::ScoreInterface& l, const ::ALISNS::ScoreInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -ALISNS::operator<=(const ::ALISNS::ScoreInterface& l, const ::ALISNS::ScoreInterface& r) -{ - return l < r || l == r; -} - -bool -ALISNS::operator>(const ::ALISNS::ScoreInterface& l, const ::ALISNS::ScoreInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -ALISNS::operator>=(const ::ALISNS::ScoreInterface& l, const ::ALISNS::ScoreInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/spacecontact.cpp b/features/aliww/source/spacecontact.cpp deleted file mode 100644 index ed23cdc..0000000 --- a/features/aliww/source/spacecontact.cpp +++ /dev/null @@ -1,2885 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `spacecontact.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__GetContactList_name = "GetContactList"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__GetSpaceContactList_name = "GetSpaceContactList"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__GetNotSpaceContactList_name = "GetNotSpaceContactList"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__GetContactListCount_name = "GetContactListCount"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__GetSpaceContactListCount_name = "GetSpaceContactListCount"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__GetNotSpaceContactListCount_name = "GetNotSpaceContactListCount"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__AddSpaceContact_name = "AddSpaceContact"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__DeleteSpaceContact_name = "DeleteSpaceContact"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__GetSpaceGroupList_name = "GetSpaceGroupList"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__GetSpaceGroupListEx_name = "GetSpaceGroupListEx"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__AddSpaceGroup_name = "AddSpaceGroup"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__UpdateSpaceGroup_name = "UpdateSpaceGroup"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__UpdateContactSpaceGroup_name = "UpdateContactSpaceGroup"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__RemoveSpaceGroup_name = "RemoveSpaceGroup"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__GetSpaceGroupContactList_name = "GetSpaceGroupContactList"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__UpdateContactNickName_name = "UpdateContactNickName"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__checkContact_name = "checkContact"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__checkSpaceContact_name = "checkSpaceContact"; - -static const ::std::string __AliIMDBBase__SpaceGroupInterface__checkCanAddContact_name = "checkCanAddContact"; - -void -IceInternal::incRef(::AliIMDBBase::SpaceGroupInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIMDBBase::SpaceGroupInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIMDBBase::SpaceGroupInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIMDBBase::SpaceGroupInterface* p) -{ - p->__decRef(); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SpaceGroupInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::SpaceGroupInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIMDBBase::SpaceGroupInterface; - v->__copyFrom(proxy); - } -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::SpaceGroupInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIMDBBase::__write(::IceInternal::BasicStream* __os, const ::AliIMDBBase::StrKVMap& v, ::AliIMDBBase::__U__StrKVMap) -{ - __os->writeSize(::Ice::Int(v.size())); - ::AliIMDBBase::StrKVMap::const_iterator p; - for(p = v.begin(); p != v.end(); ++p) - { - __os->write(p->first); - __os->write(p->second); - } -} - -void -AliIMDBBase::__read(::IceInternal::BasicStream* __is, ::AliIMDBBase::StrKVMap& v, ::AliIMDBBase::__U__StrKVMap) -{ - ::Ice::Int sz; - __is->readSize(sz); - while(sz--) - { - ::std::pair pair; - __is->read(const_cast< ::std::string&>(pair.first)); - ::AliIMDBBase::StrKVMap::iterator __i = v.insert(v.end(), pair); - __is->read(__i->second); - } -} - -void -AliIMDBBase::__addObject(const SpaceGroupInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIMDBBase::__usesClasses(const SpaceGroupInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIMDBBase::__decRefUnsafe(const SpaceGroupInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIMDBBase::__clearHandleUnsafe(SpaceGroupInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::GetContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__GetContactList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->GetContactList(userId, pageno, pageSize, totalNum, contactList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::GetSpaceContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__GetSpaceContactList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->GetSpaceContactList(userId, pageno, pageSize, totalNum, contactList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::GetNotSpaceContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__GetNotSpaceContactList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->GetNotSpaceContactList(userId, pageno, pageSize, totalNum, contactList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::GetContactListCount(const ::std::string& userId, ::Ice::Int& recordNum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__GetContactListCount_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->GetContactListCount(userId, recordNum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::GetSpaceContactListCount(const ::std::string& userId, ::Ice::Int& recordNum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__GetSpaceContactListCount_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->GetSpaceContactListCount(userId, recordNum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::GetNotSpaceContactListCount(const ::std::string& userId, ::Ice::Int& recordNum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__GetNotSpaceContactListCount_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->GetNotSpaceContactListCount(userId, recordNum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::AddSpaceContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int groupId, ::Ice::Int cntgroupId, const ::std::string& userNickname, const ::std::string& contactNickname, ::Ice::Int& friendnum, ::Ice::Int& blacklist, ::Ice::Int& verify, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__AddSpaceContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->AddSpaceContact(userId, contactId, groupId, cntgroupId, userNickname, contactNickname, friendnum, blacklist, verify, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::DeleteSpaceContact(const ::std::string& userId, const ::std::string& contactId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__DeleteSpaceContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->DeleteSpaceContact(userId, contactId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::GetSpaceGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__GetSpaceGroupList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->GetSpaceGroupList(userId, groupList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::GetSpaceGroupListEx(const ::std::string& userId, ::spaceContact::SICESpaceGroupInfoSeq& groupList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__GetSpaceGroupListEx_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->GetSpaceGroupListEx(userId, groupList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::AddSpaceGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__AddSpaceGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->AddSpaceGroup(userId, groupName, groupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::UpdateSpaceGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__UpdateSpaceGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->UpdateSpaceGroup(userId, groupName, groupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::UpdateContactSpaceGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__UpdateContactSpaceGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->UpdateContactSpaceGroup(userId, contactId, srcGroupId, dstGroupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::RemoveSpaceGroup(const ::std::string& userId, ::Ice::Int groupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__RemoveSpaceGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->RemoveSpaceGroup(userId, groupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::GetSpaceGroupContactList(const ::std::string& userId, ::Ice::Int groupId, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__GetSpaceGroupContactList_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->GetSpaceGroupContactList(userId, groupId, contactList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::UpdateContactNickName(const ::std::string& userId, const ::std::string& contactid, const ::std::string& nickname, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__UpdateContactNickName_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->UpdateContactNickName(userId, contactid, nickname, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::checkContact(const ::std::string& uid, const ::Ice::StringSeq& contactId, ::Ice::IntSeq& result, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__checkContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->checkContact(uid, contactId, result, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::checkSpaceContact(const ::std::string& uid, const ::Ice::StringSeq& contactId, ::Ice::IntSeq& result, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__checkSpaceContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->checkSpaceContact(uid, contactId, result, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIMDBBase::SpaceGroupInterface::checkCanAddContact(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int checkType, ::Ice::Int& errorCode, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIMDBBase__SpaceGroupInterface__checkCanAddContact_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIMDBBase::SpaceGroupInterface* __del = dynamic_cast< ::IceDelegate::AliIMDBBase::SpaceGroupInterface*>(__delBase.get()); - return __del->checkCanAddContact(uid, contactId, checkType, errorCode, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIMDBBase::SpaceGroupInterface::ice_staticId() -{ - return ::AliIMDBBase::SpaceGroupInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIMDBBase::SpaceGroupInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIMDBBase::SpaceGroupInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIMDBBase::SpaceGroupInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIMDBBase::SpaceGroupInterface); -} - -bool -IceProxy::AliIMDBBase::operator==(const ::IceProxy::AliIMDBBase::SpaceGroupInterface& l, const ::IceProxy::AliIMDBBase::SpaceGroupInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIMDBBase::operator!=(const ::IceProxy::AliIMDBBase::SpaceGroupInterface& l, const ::IceProxy::AliIMDBBase::SpaceGroupInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIMDBBase::operator<(const ::IceProxy::AliIMDBBase::SpaceGroupInterface& l, const ::IceProxy::AliIMDBBase::SpaceGroupInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIMDBBase::operator<=(const ::IceProxy::AliIMDBBase::SpaceGroupInterface& l, const ::IceProxy::AliIMDBBase::SpaceGroupInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIMDBBase::operator>(const ::IceProxy::AliIMDBBase::SpaceGroupInterface& l, const ::IceProxy::AliIMDBBase::SpaceGroupInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIMDBBase::operator>=(const ::IceProxy::AliIMDBBase::SpaceGroupInterface& l, const ::IceProxy::AliIMDBBase::SpaceGroupInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::GetContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__GetContactList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(pageno); - __os->write(pageSize); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(totalNum); - ::spaceContact::__read(__is, contactList, ::spaceContact::__U__SICESpaceContactInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::GetSpaceContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__GetSpaceContactList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(pageno); - __os->write(pageSize); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(totalNum); - ::spaceContact::__read(__is, contactList, ::spaceContact::__U__SICESpaceContactInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::GetNotSpaceContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__GetNotSpaceContactList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(pageno); - __os->write(pageSize); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(totalNum); - ::spaceContact::__read(__is, contactList, ::spaceContact::__U__SICESpaceContactInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::GetContactListCount(const ::std::string& userId, ::Ice::Int& recordNum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__GetContactListCount_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(recordNum); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::GetSpaceContactListCount(const ::std::string& userId, ::Ice::Int& recordNum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__GetSpaceContactListCount_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(recordNum); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::GetNotSpaceContactListCount(const ::std::string& userId, ::Ice::Int& recordNum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__GetNotSpaceContactListCount_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(recordNum); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::AddSpaceContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int groupId, ::Ice::Int cntgroupId, const ::std::string& userNickname, const ::std::string& contactNickname, ::Ice::Int& friendnum, ::Ice::Int& blacklist, ::Ice::Int& verify, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__AddSpaceContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - __os->write(groupId); - __os->write(cntgroupId); - __os->write(userNickname); - __os->write(contactNickname); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(friendnum); - __is->read(blacklist); - __is->read(verify); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::DeleteSpaceContact(const ::std::string& userId, const ::std::string& contactId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__DeleteSpaceContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::GetSpaceGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__GetSpaceGroupList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::AliIMDBBase::__read(__is, groupList, ::AliIMDBBase::__U__SICEGroupInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::GetSpaceGroupListEx(const ::std::string& userId, ::spaceContact::SICESpaceGroupInfoSeq& groupList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__GetSpaceGroupListEx_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::spaceContact::__read(__is, groupList, ::spaceContact::__U__SICESpaceGroupInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::AddSpaceGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__AddSpaceGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupName); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(groupId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::UpdateSpaceGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__UpdateSpaceGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupName); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::UpdateContactSpaceGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__UpdateContactSpaceGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactId); - __os->write(srcGroupId); - __os->write(dstGroupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::RemoveSpaceGroup(const ::std::string& userId, ::Ice::Int groupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__RemoveSpaceGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::GetSpaceGroupContactList(const ::std::string& userId, ::Ice::Int groupId, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__GetSpaceGroupContactList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::spaceContact::__read(__is, contactList, ::spaceContact::__U__SICESpaceContactInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::UpdateContactNickName(const ::std::string& userId, const ::std::string& contactid, const ::std::string& nickname, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__UpdateContactNickName_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(contactid); - __os->write(nickname); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::checkContact(const ::std::string& uid, const ::Ice::StringSeq& contactId, ::Ice::IntSeq& result, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__checkContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - if(contactId.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&contactId[0], &contactId[0] + contactId.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(result); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::checkSpaceContact(const ::std::string& uid, const ::Ice::StringSeq& contactId, ::Ice::IntSeq& result, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__checkSpaceContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - if(contactId.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&contactId[0], &contactId[0] + contactId.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(result); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIMDBBase::SpaceGroupInterface::checkCanAddContact(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int checkType, ::Ice::Int& errorCode, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIMDBBase__SpaceGroupInterface__checkCanAddContact_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(contactId); - __os->write(checkType); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(errorCode); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::GetContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__GetContactList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetContactList(userId, pageno, pageSize, totalNum, contactList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::GetSpaceContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__GetSpaceContactList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetSpaceContactList(userId, pageno, pageSize, totalNum, contactList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::GetNotSpaceContactList(const ::std::string& userId, ::Ice::Int pageno, ::Ice::Int pageSize, ::Ice::Int& totalNum, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__GetNotSpaceContactList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetNotSpaceContactList(userId, pageno, pageSize, totalNum, contactList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::GetContactListCount(const ::std::string& userId, ::Ice::Int& recordNum, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__GetContactListCount_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetContactListCount(userId, recordNum, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::GetSpaceContactListCount(const ::std::string& userId, ::Ice::Int& recordNum, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__GetSpaceContactListCount_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetSpaceContactListCount(userId, recordNum, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::GetNotSpaceContactListCount(const ::std::string& userId, ::Ice::Int& recordNum, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__GetNotSpaceContactListCount_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetNotSpaceContactListCount(userId, recordNum, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::AddSpaceContact(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int groupId, ::Ice::Int cntgroupId, const ::std::string& userNickname, const ::std::string& contactNickname, ::Ice::Int& friendnum, ::Ice::Int& blacklist, ::Ice::Int& verify, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__AddSpaceContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddSpaceContact(userId, contactId, groupId, cntgroupId, userNickname, contactNickname, friendnum, blacklist, verify, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::DeleteSpaceContact(const ::std::string& userId, const ::std::string& contactId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__DeleteSpaceContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DeleteSpaceContact(userId, contactId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::GetSpaceGroupList(const ::std::string& userId, ::AliIMDBBase::SICEGroupInfoSeq& groupList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__GetSpaceGroupList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetSpaceGroupList(userId, groupList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::GetSpaceGroupListEx(const ::std::string& userId, ::spaceContact::SICESpaceGroupInfoSeq& groupList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__GetSpaceGroupListEx_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetSpaceGroupListEx(userId, groupList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::AddSpaceGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int& groupId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__AddSpaceGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddSpaceGroup(userId, groupName, groupId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::UpdateSpaceGroup(const ::std::string& userId, const ::std::string& groupName, ::Ice::Int groupId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__UpdateSpaceGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateSpaceGroup(userId, groupName, groupId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::UpdateContactSpaceGroup(const ::std::string& userId, const ::std::string& contactId, ::Ice::Int srcGroupId, ::Ice::Int dstGroupId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__UpdateContactSpaceGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateContactSpaceGroup(userId, contactId, srcGroupId, dstGroupId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::RemoveSpaceGroup(const ::std::string& userId, ::Ice::Int groupId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__RemoveSpaceGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->RemoveSpaceGroup(userId, groupId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::GetSpaceGroupContactList(const ::std::string& userId, ::Ice::Int groupId, ::spaceContact::SICESpaceContactInfoSeq& contactList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__GetSpaceGroupContactList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetSpaceGroupContactList(userId, groupId, contactList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::UpdateContactNickName(const ::std::string& userId, const ::std::string& contactid, const ::std::string& nickname, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__UpdateContactNickName_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateContactNickName(userId, contactid, nickname, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::checkContact(const ::std::string& uid, const ::Ice::StringSeq& contactId, ::Ice::IntSeq& result, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__checkContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkContact(uid, contactId, result, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::checkSpaceContact(const ::std::string& uid, const ::Ice::StringSeq& contactId, ::Ice::IntSeq& result, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__checkSpaceContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkSpaceContact(uid, contactId, result, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIMDBBase::SpaceGroupInterface::checkCanAddContact(const ::std::string& uid, const ::std::string& contactId, ::Ice::Int checkType, ::Ice::Int& errorCode, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIMDBBase__SpaceGroupInterface__checkCanAddContact_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIMDBBase::SpaceGroupInterface* __servant = dynamic_cast< ::AliIMDBBase::SpaceGroupInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkCanAddContact(uid, contactId, checkType, errorCode, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIMDBBase::SpaceGroupInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIMDBBase__SpaceGroupInterface_ids[2] = -{ - "::AliIMDBBase::SpaceGroupInterface", - "::Ice::Object" -}; - -bool -AliIMDBBase::SpaceGroupInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIMDBBase__SpaceGroupInterface_ids, __AliIMDBBase__SpaceGroupInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIMDBBase::SpaceGroupInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIMDBBase__SpaceGroupInterface_ids[0], &__AliIMDBBase__SpaceGroupInterface_ids[2]); -} - -const ::std::string& -AliIMDBBase::SpaceGroupInterface::ice_id(const ::Ice::Current&) const -{ - return __AliIMDBBase__SpaceGroupInterface_ids[0]; -} - -const ::std::string& -AliIMDBBase::SpaceGroupInterface::ice_staticId() -{ - return __AliIMDBBase__SpaceGroupInterface_ids[0]; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___GetContactList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int pageno; - ::Ice::Int pageSize; - __is->read(userId); - __is->read(pageno); - __is->read(pageSize); - ::Ice::Int totalNum; - ::spaceContact::SICESpaceContactInfoSeq contactList; - ::Ice::Int __ret = GetContactList(userId, pageno, pageSize, totalNum, contactList, __current); - __os->write(totalNum); - if(contactList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::spaceContact::__write(__os, &contactList[0], &contactList[0] + contactList.size(), ::spaceContact::__U__SICESpaceContactInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___GetSpaceContactList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int pageno; - ::Ice::Int pageSize; - __is->read(userId); - __is->read(pageno); - __is->read(pageSize); - ::Ice::Int totalNum; - ::spaceContact::SICESpaceContactInfoSeq contactList; - ::Ice::Int __ret = GetSpaceContactList(userId, pageno, pageSize, totalNum, contactList, __current); - __os->write(totalNum); - if(contactList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::spaceContact::__write(__os, &contactList[0], &contactList[0] + contactList.size(), ::spaceContact::__U__SICESpaceContactInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___GetNotSpaceContactList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int pageno; - ::Ice::Int pageSize; - __is->read(userId); - __is->read(pageno); - __is->read(pageSize); - ::Ice::Int totalNum; - ::spaceContact::SICESpaceContactInfoSeq contactList; - ::Ice::Int __ret = GetNotSpaceContactList(userId, pageno, pageSize, totalNum, contactList, __current); - __os->write(totalNum); - if(contactList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::spaceContact::__write(__os, &contactList[0], &contactList[0] + contactList.size(), ::spaceContact::__U__SICESpaceContactInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___GetContactListCount(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int recordNum; - ::Ice::Int __ret = GetContactListCount(userId, recordNum, __current); - __os->write(recordNum); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___GetSpaceContactListCount(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int recordNum; - ::Ice::Int __ret = GetSpaceContactListCount(userId, recordNum, __current); - __os->write(recordNum); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___GetNotSpaceContactListCount(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int recordNum; - ::Ice::Int __ret = GetNotSpaceContactListCount(userId, recordNum, __current); - __os->write(recordNum); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___AddSpaceContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string contactId; - ::Ice::Int groupId; - ::Ice::Int cntgroupId; - ::std::string userNickname; - ::std::string contactNickname; - __is->read(userId); - __is->read(contactId); - __is->read(groupId); - __is->read(cntgroupId); - __is->read(userNickname); - __is->read(contactNickname); - ::Ice::Int friendnum; - ::Ice::Int blacklist; - ::Ice::Int verify; - ::Ice::Int __ret = AddSpaceContact(userId, contactId, groupId, cntgroupId, userNickname, contactNickname, friendnum, blacklist, verify, __current); - __os->write(friendnum); - __os->write(blacklist); - __os->write(verify); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___DeleteSpaceContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string contactId; - __is->read(userId); - __is->read(contactId); - ::Ice::Int __ret = DeleteSpaceContact(userId, contactId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___GetSpaceGroupList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::AliIMDBBase::SICEGroupInfoSeq groupList; - ::Ice::Int __ret = GetSpaceGroupList(userId, groupList, __current); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::AliIMDBBase::__write(__os, &groupList[0], &groupList[0] + groupList.size(), ::AliIMDBBase::__U__SICEGroupInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___GetSpaceGroupListEx(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::spaceContact::SICESpaceGroupInfoSeq groupList; - ::Ice::Int __ret = GetSpaceGroupListEx(userId, groupList, __current); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::spaceContact::__write(__os, &groupList[0], &groupList[0] + groupList.size(), ::spaceContact::__U__SICESpaceGroupInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___AddSpaceGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string groupName; - __is->read(userId); - __is->read(groupName); - ::Ice::Int groupId; - ::Ice::Int __ret = AddSpaceGroup(userId, groupName, groupId, __current); - __os->write(groupId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___UpdateSpaceGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string groupName; - ::Ice::Int groupId; - __is->read(userId); - __is->read(groupName); - __is->read(groupId); - ::Ice::Int __ret = UpdateSpaceGroup(userId, groupName, groupId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___UpdateContactSpaceGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string contactId; - ::Ice::Int srcGroupId; - ::Ice::Int dstGroupId; - __is->read(userId); - __is->read(contactId); - __is->read(srcGroupId); - __is->read(dstGroupId); - ::Ice::Int __ret = UpdateContactSpaceGroup(userId, contactId, srcGroupId, dstGroupId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___RemoveSpaceGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int groupId; - __is->read(userId); - __is->read(groupId); - ::Ice::Int __ret = RemoveSpaceGroup(userId, groupId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___GetSpaceGroupContactList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Int groupId; - __is->read(userId); - __is->read(groupId); - ::spaceContact::SICESpaceContactInfoSeq contactList; - ::Ice::Int __ret = GetSpaceGroupContactList(userId, groupId, contactList, __current); - if(contactList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::spaceContact::__write(__os, &contactList[0], &contactList[0] + contactList.size(), ::spaceContact::__U__SICESpaceContactInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___UpdateContactNickName(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string contactid; - ::std::string nickname; - __is->read(userId); - __is->read(contactid); - __is->read(nickname); - ::Ice::Int __ret = UpdateContactNickName(userId, contactid, nickname, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___checkContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::StringSeq contactId; - __is->read(uid); - __is->read(contactId); - ::Ice::IntSeq result; - ::Ice::Int __ret = checkContact(uid, contactId, result, __current); - if(result.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&result[0], &result[0] + result.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___checkSpaceContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::Ice::StringSeq contactId; - __is->read(uid); - __is->read(contactId); - ::Ice::IntSeq result; - ::Ice::Int __ret = checkSpaceContact(uid, contactId, result, __current); - if(result.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&result[0], &result[0] + result.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::___checkCanAddContact(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string contactId; - ::Ice::Int checkType; - __is->read(uid); - __is->read(contactId); - __is->read(checkType); - ::Ice::Int errorCode; - ::Ice::Int __ret = checkCanAddContact(uid, contactId, checkType, errorCode, __current); - __os->write(errorCode); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIMDBBase__SpaceGroupInterface_all[] = -{ - "AddSpaceContact", - "AddSpaceGroup", - "DeleteSpaceContact", - "GetContactList", - "GetContactListCount", - "GetNotSpaceContactList", - "GetNotSpaceContactListCount", - "GetSpaceContactList", - "GetSpaceContactListCount", - "GetSpaceGroupContactList", - "GetSpaceGroupList", - "GetSpaceGroupListEx", - "RemoveSpaceGroup", - "UpdateContactNickName", - "UpdateContactSpaceGroup", - "UpdateSpaceGroup", - "checkCanAddContact", - "checkContact", - "checkSpaceContact", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -AliIMDBBase::SpaceGroupInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIMDBBase__SpaceGroupInterface_all, __AliIMDBBase__SpaceGroupInterface_all + 23, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIMDBBase__SpaceGroupInterface_all) - { - case 0: - { - return ___AddSpaceContact(in, current); - } - case 1: - { - return ___AddSpaceGroup(in, current); - } - case 2: - { - return ___DeleteSpaceContact(in, current); - } - case 3: - { - return ___GetContactList(in, current); - } - case 4: - { - return ___GetContactListCount(in, current); - } - case 5: - { - return ___GetNotSpaceContactList(in, current); - } - case 6: - { - return ___GetNotSpaceContactListCount(in, current); - } - case 7: - { - return ___GetSpaceContactList(in, current); - } - case 8: - { - return ___GetSpaceContactListCount(in, current); - } - case 9: - { - return ___GetSpaceGroupContactList(in, current); - } - case 10: - { - return ___GetSpaceGroupList(in, current); - } - case 11: - { - return ___GetSpaceGroupListEx(in, current); - } - case 12: - { - return ___RemoveSpaceGroup(in, current); - } - case 13: - { - return ___UpdateContactNickName(in, current); - } - case 14: - { - return ___UpdateContactSpaceGroup(in, current); - } - case 15: - { - return ___UpdateSpaceGroup(in, current); - } - case 16: - { - return ___checkCanAddContact(in, current); - } - case 17: - { - return ___checkContact(in, current); - } - case 18: - { - return ___checkSpaceContact(in, current); - } - case 19: - { - return ___ice_id(in, current); - } - case 20: - { - return ___ice_ids(in, current); - } - case 21: - { - return ___ice_isA(in, current); - } - case 22: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIMDBBase::SpaceGroupInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIMDBBase::SpaceGroupInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIMDBBase::SpaceGroupInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIMDBBase::SpaceGroupInterface was not generated with stream support"; - throw ex; -} - -void -AliIMDBBase::SpaceGroupInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIMDBBase::SpaceGroupInterface was not generated with stream support"; - throw ex; -} - -void -AliIMDBBase::__patch__SpaceGroupInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIMDBBase::SpaceGroupInterfacePtr* p = static_cast< ::AliIMDBBase::SpaceGroupInterfacePtr*>(__addr); - assert(p); - *p = ::AliIMDBBase::SpaceGroupInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIMDBBase::SpaceGroupInterface::ice_staticId(); - throw e; - } -} - -bool -AliIMDBBase::operator==(const ::AliIMDBBase::SpaceGroupInterface& l, const ::AliIMDBBase::SpaceGroupInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIMDBBase::operator!=(const ::AliIMDBBase::SpaceGroupInterface& l, const ::AliIMDBBase::SpaceGroupInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIMDBBase::operator<(const ::AliIMDBBase::SpaceGroupInterface& l, const ::AliIMDBBase::SpaceGroupInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIMDBBase::operator<=(const ::AliIMDBBase::SpaceGroupInterface& l, const ::AliIMDBBase::SpaceGroupInterface& r) -{ - return l < r || l == r; -} - -bool -AliIMDBBase::operator>(const ::AliIMDBBase::SpaceGroupInterface& l, const ::AliIMDBBase::SpaceGroupInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIMDBBase::operator>=(const ::AliIMDBBase::SpaceGroupInterface& l, const ::AliIMDBBase::SpaceGroupInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/ss_head.cpp b/features/aliww/source/ss_head.cpp deleted file mode 100644 index e3c026b..0000000 --- a/features/aliww/source/ss_head.cpp +++ /dev/null @@ -1,122 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: ss_head.cpp -// Date: 2011-01-30 12:50:24 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "ss_head.h" - -CPackData& operator<< ( CPackData& cPackData, const SUserSid& sUserSid ) -{ - cPackData << sUserSid.m_userId; - cPackData << sUserSid.m_servId; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SUserSid& sUserSid ) -{ - cPackData >> sUserSid.m_userId; - cPackData >> sUserSid.m_servId; - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const SUserCommInfo& sUserCommInfo ) -{ - cPackData << sUserCommInfo.m_fromId; - { - uint32_t nLen = sUserCommInfo.m_receiverList.size(); - cPackData << nLen; - VECTOR< SUserSid >::const_iterator itr; - for(itr = sUserCommInfo.m_receiverList.begin(); itr != sUserCommInfo.m_receiverList.end(); ++itr) - { - cPackData << (*itr); - } - } - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SUserCommInfo& sUserCommInfo ) -{ - cPackData >> sUserCommInfo.m_fromId; - { - uint32_t nSize; - cPackData >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - sUserCommInfo.m_receiverList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SUserSid tmpVal; - cPackData >> tmpVal; - sUserCommInfo.m_receiverList.push_back(tmpVal); - } - } - return cPackData; -} - -void CSsHead::PackData(string& strData) -{ - try - { - ResetOutBuff(strData); - m_lrc = 0; - (*this) << m_starter; - (*this) << m_msgtype; - (*this) << m_ttl; - (*this) << m_lrc; - (*this) << m_version; - (*this) << m_origsid; - (*this) << m_cmd; - (*this) << m_seq; - (*this) << m_len; - (*this) << m_cc; - (*this) << m_reserved; -; - if((m_reserved & 0x01) == 1) - (*this) << m_userInfo; - m_lrc = CalcLrc(strData, Size()); - SetOutCursor(3); - (*this) << m_lrc; - } - catch(std::exception&) - { - strData = ""; - } -} - -PACKRETCODE CSsHead::UnpackData(const string& strData) -{ - try - { - ResetInBuff(strData); - if(CalcLrc(strData, Size()) != 0) return PACK_INVALID; - (*this) >> m_starter; - (*this) >> m_msgtype; - (*this) >> m_ttl; - (*this) >> m_lrc; - (*this) >> m_version; - (*this) >> m_origsid; - (*this) >> m_cmd; - (*this) >> m_seq; - (*this) >> m_len; - (*this) >> m_cc; - (*this) >> m_reserved; -; - if((m_reserved & 0x01) == 1) - (*this) >> m_userInfo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - diff --git a/features/aliww/source/ss_v5_head.cpp b/features/aliww/source/ss_v5_head.cpp deleted file mode 100644 index 5f371a4..0000000 --- a/features/aliww/source/ss_v5_head.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: ss_v5_head.cpp -// Date: 2011-01-30 12:50:03 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "ss_v5_head.h" - -void CSsV5Head::PackData(string& strData) -{ - try - { - ResetOutBuff(strData); - (*this) << m_starter; - (*this) << m_version; - (*this) << m_reserved; - (*this) << m_imsId; - (*this) << m_cmd; - (*this) << m_seq; - (*this) << m_cc; - (*this) << m_len; -; - } - catch(std::exception&) - { - strData = ""; - } -} - -PACKRETCODE CSsV5Head::UnpackData(const string& strData) -{ - try - { - ResetInBuff(strData); - (*this) >> m_starter; - (*this) >> m_version; - (*this) >> m_reserved; - (*this) >> m_imsId; - (*this) >> m_cmd; - (*this) >> m_seq; - (*this) >> m_cc; - (*this) >> m_len; -; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - diff --git a/features/aliww/source/struct.cpp b/features/aliww/source/struct.cpp deleted file mode 100644 index b0c4678..0000000 --- a/features/aliww/source/struct.cpp +++ /dev/null @@ -1,55 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `struct.ice' - -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -void -com::alisoft::member::udb::api::model::__write(::IceInternal::BasicStream* __os, const ::com::alisoft::member::udb::api::model::Map& v, ::com::alisoft::member::udb::api::model::__U__Map) -{ - __os->writeSize(::Ice::Int(v.size())); - ::com::alisoft::member::udb::api::model::Map::const_iterator p; - for(p = v.begin(); p != v.end(); ++p) - { - __os->write(p->first); - __os->write(p->second); - } -} - -void -com::alisoft::member::udb::api::model::__read(::IceInternal::BasicStream* __is, ::com::alisoft::member::udb::api::model::Map& v, ::com::alisoft::member::udb::api::model::__U__Map) -{ - ::Ice::Int sz; - __is->readSize(sz); - while(sz--) - { - ::std::pair pair; - __is->read(const_cast< ::std::string&>(pair.first)); - ::com::alisoft::member::udb::api::model::Map::iterator __i = v.insert(v.end(), pair); - __is->read(__i->second); - } -} diff --git a/features/aliww/source/tags b/features/aliww/source/tags deleted file mode 100644 index 4a8104d..0000000 --- a/features/aliww/source/tags +++ /dev/null @@ -1,384 +0,0 @@ -!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ -!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/ -!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/ -!_TAG_PROGRAM_NAME Exuberant Ctags // -!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/ -!_TAG_PROGRAM_VERSION 5.6 // -AddContact OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::AddContact(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& wangwangId, const ::OpenImWebService::SWebUserInfoSeq& contactList, ::OpenImWebService::CntctSeq& cnt, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -AddContact OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::AddContact(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& wangwangId, const ::OpenImWebService::SWebUserInfoSeq& contactList, ::OpenImWebService::CntctSeq& cnt, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -AddContact OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::AddContact(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& wangwangId, const ::OpenImWebService::SWebUserInfoSeq& contactList, ::OpenImWebService::CntctSeq& cnt, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -AddTribeMember OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::AddTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& member, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -AddTribeMember OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::AddTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& member, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -AddTribeMember OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::AddTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& member, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -AddWebsite OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -AddWebsite OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -AddWebsite OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -BMInit benchmark.c /^bench_t* BMInit(void *param){$/;" f -BindService OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::BindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t, const ::std::string& wangwangId, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -BindService OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::BindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t, const ::std::string& wangwangId, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -BindService OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::BindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t, const ::std::string& wangwangId, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -CSendWebsiteMsg SendWebsiteMsgDLL.cpp /^CSendWebsiteMsg::CSendWebsiteMsg()$/;" f class:CSendWebsiteMsg -ChgWebsite OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -ChgWebsite OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -ChgWebsite OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -ChgWebsiteStatus OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -ChgWebsiteStatus OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -ChgWebsiteStatus OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -Connect login.cpp /^bool CServerLogin::Connect(void)$/;" f class:CServerLogin -DelTribeMember OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::DelTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::std::string& operId, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -DelTribeMember OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::DelTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::std::string& operId, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -DelTribeMember OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::DelTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::std::string& operId, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -DelWebsite OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -DelWebsite OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -DelWebsite OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -DllMain SendWebsiteMsgDLL.cpp /^BOOL APIENTRY DllMain( HMODULE hModule,$/;" f -DoAuth OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::DoAuth(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, ::std::string& webUid, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -DoAuth OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::DoAuth(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, ::std::string& webUid, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -DoAuth OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::DoAuth(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, ::std::string& webUid, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -GetAllCurrOnline OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::GetAllCurrOnline(const ::std::string& serviceId, ::Ice::Long& number, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -GetAllCurrOnline OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::GetAllCurrOnline(const ::std::string& serviceId, ::Ice::Long& number, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -GetAllCurrOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::GetAllCurrOnline(const ::std::string& serviceId, ::Ice::Long& number, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -GetAllHisMaxOnline OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::GetAllHisMaxOnline(const ::std::string& serviceId, ::std::string& date, ::Ice::Long& number, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -GetAllHisMaxOnline OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::GetAllHisMaxOnline(const ::std::string& serviceId, ::std::string& date, ::Ice::Long& number, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -GetAllHisMaxOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::GetAllHisMaxOnline(const ::std::string& serviceId, ::std::string& date, ::Ice::Long& number, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -GetAllHisOnline OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::GetAllHisOnline(const ::std::string& serviceId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -GetAllHisOnline OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::GetAllHisOnline(const ::std::string& serviceId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -GetAllHisOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::GetAllHisOnline(const ::std::string& serviceId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -GetCurrOnline OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::GetCurrOnline(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Long& number, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -GetCurrOnline OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::GetCurrOnline(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Long& number, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -GetCurrOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::GetCurrOnline(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Long& number, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -GetHisMaxOnline OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::GetHisMaxOnline(const ::std::string& serviceId, const ::std::string& webId, ::OpenImWebService::SWebStatistics& data, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -GetHisMaxOnline OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::GetHisMaxOnline(const ::std::string& serviceId, const ::std::string& webId, ::OpenImWebService::SWebStatistics& data, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -GetHisMaxOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::GetHisMaxOnline(const ::std::string& serviceId, const ::std::string& webId, ::OpenImWebService::SWebStatistics& data, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -GetHisOnline OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::GetHisOnline(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -GetHisOnline OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::GetHisOnline(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -GetHisOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::GetHisOnline(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& fromDate, const ::std::string& toDate, ::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -INITBM benchmark.c /^bench_t* INITBM(bench_t* bp){$/;" f -ModifyWebTribe OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::ModifyWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::KVMap& items, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -ModifyWebTribe OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::ModifyWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::KVMap& items, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -ModifyWebTribe OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::ModifyWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::KVMap& items, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -QueryLog OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::QueryLog(const ::OpenImWebService::QueryItems& qi, ::OpenImWebService::SUidPairMsgSeq& rl, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -QueryLog OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::QueryLog(const ::OpenImWebService::QueryItems& qi, ::OpenImWebService::SUidPairMsgSeq& rl, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -QueryLog OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::QueryLog(const ::OpenImWebService::QueryItems& qi, ::OpenImWebService::SUidPairMsgSeq& rl, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -QuitTribe OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::QuitTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -QuitTribe OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::QuitTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -QuitTribe OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::QuitTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -SendUserMsg OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::SendUserMsg(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int cmdId, const ::std::string& fromId, const ::std::string& toId, const ::OpenImWebService::KVMap& message, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -SendUserMsg OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::SendUserMsg(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int cmdId, const ::std::string& fromId, const ::std::string& toId, const ::OpenImWebService::KVMap& message, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -SendUserMsg OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::SendUserMsg(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int cmdId, const ::std::string& fromId, const ::std::string& toId, const ::OpenImWebService::KVMap& message, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -SendWebsiteMsg OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::SendWebsiteMsg(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::StringSeq& receivers, const ::OpenImWebService::SNotifySysMsg& message, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -SendWebsiteMsg OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::SendWebsiteMsg(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::StringSeq& receivers, const ::OpenImWebService::SNotifySysMsg& message, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -SendWebsiteMsg OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::SendWebsiteMsg(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::StringSeq& receivers, const ::OpenImWebService::SNotifySysMsg& message, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -SetServer login.cpp /^void CServerLogin::SetServer(stirng& imServerIP, uint16_t port)$/;" f class:CServerLogin -SetUser login.cpp /^void CServerLogin::SetUser(string& username, string& password)$/;" f class:CServerLogin -StopWebTribe OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::StopWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -StopWebTribe OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::StopWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -StopWebTribe OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::StopWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -SyncWebTribe OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::SyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::OpenImWebService::STribeInfo& tribe, ::Ice::Long& tribeId, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -SyncWebTribe OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::SyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::OpenImWebService::STribeInfo& tribe, ::Ice::Long& tribeId, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -SyncWebTribe OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::SyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::OpenImWebService::STribeInfo& tribe, ::Ice::Long& tribeId, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -UnbindService OpenIMWebService.cpp /^IceDelegateD::OpenImWebService::OpenImSrvMgr::UnbindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& wangwangId, const ::Ice::Context* __context)$/;" f class:IceDelegateD::OpenImWebService::OpenImSrvMgr -UnbindService OpenIMWebService.cpp /^IceDelegateM::OpenImWebService::OpenImSrvMgr::UnbindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& wangwangId, const ::Ice::Context* __context)$/;" f class:IceDelegateM::OpenImWebService::OpenImSrvMgr -UnbindService OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::UnbindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& wangwangId, const ::Ice::Context* __ctx)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -UpdateBulletinNew TribeInterface.cpp /^IceDelegateD::TribeUpdateServer::TribeUpdateInterface::UpdateBulletinNew(const ::std::string& uid, ::Ice::Long tribeId, const ::std::string& bulletinNew, const ::Ice::Context* __context)$/;" f class:IceDelegateD::TribeUpdateServer::TribeUpdateInterface -UpdateBulletinNew TribeInterface.cpp /^IceDelegateM::TribeUpdateServer::TribeUpdateInterface::UpdateBulletinNew(const ::std::string& uid, ::Ice::Long tribeId, const ::std::string& bulletinNew, const ::Ice::Context* __context)$/;" f class:IceDelegateM::TribeUpdateServer::TribeUpdateInterface -UpdateBulletinNew TribeInterface.cpp /^IceProxy::TribeUpdateServer::TribeUpdateInterface::UpdateBulletinNew(const ::std::string& uid, ::Ice::Long tribeId, const ::std::string& bulletinNew, const ::Ice::Context* __ctx)$/;" f class:IceProxy::TribeUpdateServer::TribeUpdateInterface -UpdateTribePictrues TribeInterface.cpp /^IceDelegateD::TribeUpdateServer::TribeUpdateInterface::UpdateTribePictrues(::Ice::Long tribeId, const ::std::string& userId, ::Ice::Int type, const ::std::string& path, const ::Ice::Context* __context)$/;" f class:IceDelegateD::TribeUpdateServer::TribeUpdateInterface -UpdateTribePictrues TribeInterface.cpp /^IceDelegateM::TribeUpdateServer::TribeUpdateInterface::UpdateTribePictrues(::Ice::Long tribeId, const ::std::string& userId, ::Ice::Int type, const ::std::string& path, const ::Ice::Context* __context)$/;" f class:IceDelegateM::TribeUpdateServer::TribeUpdateInterface -UpdateTribePictrues TribeInterface.cpp /^IceProxy::TribeUpdateServer::TribeUpdateInterface::UpdateTribePictrues(::Ice::Long tribeId, const ::std::string& userId, ::Ice::Int type, const ::std::string& path, const ::Ice::Context* __ctx)$/;" f class:IceProxy::TribeUpdateServer::TribeUpdateInterface -__IMServerData__UserInfoI__getOneSiteOnlineStatus_name user_info.cpp /^static const ::std::string __IMServerData__UserInfoI__getOneSiteOnlineStatus_name = "getOneSiteOnlineStatus";$/;" v file: -__IMServerData__UserInfoI__getOnlineCountBySite_name user_info.cpp /^static const ::std::string __IMServerData__UserInfoI__getOnlineCountBySite_name = "getOnlineCountBySite";$/;" v file: -__IMServerData__UserInfoI__getSiteIds_name user_info.cpp /^static const ::std::string __IMServerData__UserInfoI__getSiteIds_name = "getSiteIds";$/;" v file: -__IMServerData__UserInfoI__gettLoginNumBySite_name user_info.cpp /^static const ::std::string __IMServerData__UserInfoI__gettLoginNumBySite_name = "gettLoginNumBySite";$/;" v file: -__IMServerData__UserInfoI__insert_name user_info.cpp /^static const ::std::string __IMServerData__UserInfoI__insert_name = "insert";$/;" v file: -__IMServerData__UserInfoI__loginNtfy_name user_info.cpp /^static const ::std::string __IMServerData__UserInfoI__loginNtfy_name = "loginNtfy";$/;" v file: -__IMServerData__UserInfoI__query_name user_info.cpp /^static const ::std::string __IMServerData__UserInfoI__query_name = "query";$/;" v file: -__IMServerData__UserInfoI__remove_name user_info.cpp /^static const ::std::string __IMServerData__UserInfoI__remove_name = "remove";$/;" v file: -__IMServerData__UserInfoI_all user_info.cpp /^static ::std::string __IMServerData__UserInfoI_all[] =$/;" v file: -__IMServerData__UserInfoI_ids user_info.cpp /^static const ::std::string __IMServerData__UserInfoI_ids[2] =$/;" v file: -__OpenImWebService__OpenImSrvMgr__AddContact_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__AddContact_name = "AddContact";$/;" v file: -__OpenImWebService__OpenImSrvMgr__AddTribeMember_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__AddTribeMember_name = "AddTribeMember";$/;" v file: -__OpenImWebService__OpenImSrvMgr__AddWebsite_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__AddWebsite_name = "AddWebsite";$/;" v file: -__OpenImWebService__OpenImSrvMgr__BindService_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__BindService_name = "BindService";$/;" v file: -__OpenImWebService__OpenImSrvMgr__ChgWebsiteStatus_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__ChgWebsiteStatus_name = "ChgWebsiteStatus";$/;" v file: -__OpenImWebService__OpenImSrvMgr__ChgWebsite_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__ChgWebsite_name = "ChgWebsite";$/;" v file: -__OpenImWebService__OpenImSrvMgr__DelTribeMember_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__DelTribeMember_name = "DelTribeMember";$/;" v file: -__OpenImWebService__OpenImSrvMgr__DelWebsite_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__DelWebsite_name = "DelWebsite";$/;" v file: -__OpenImWebService__OpenImSrvMgr__DoAuth_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__DoAuth_name = "DoAuth";$/;" v file: -__OpenImWebService__OpenImSrvMgr__GetAllCurrOnline_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__GetAllCurrOnline_name = "GetAllCurrOnline";$/;" v file: -__OpenImWebService__OpenImSrvMgr__GetAllHisMaxOnline_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__GetAllHisMaxOnline_name = "GetAllHisMaxOnline";$/;" v file: -__OpenImWebService__OpenImSrvMgr__GetAllHisOnline_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__GetAllHisOnline_name = "GetAllHisOnline";$/;" v file: -__OpenImWebService__OpenImSrvMgr__GetCurrOnline_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__GetCurrOnline_name = "GetCurrOnline";$/;" v file: -__OpenImWebService__OpenImSrvMgr__GetHisMaxOnline_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__GetHisMaxOnline_name = "GetHisMaxOnline";$/;" v file: -__OpenImWebService__OpenImSrvMgr__GetHisOnline_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__GetHisOnline_name = "GetHisOnline";$/;" v file: -__OpenImWebService__OpenImSrvMgr__ModifyWebTribe_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__ModifyWebTribe_name = "ModifyWebTribe";$/;" v file: -__OpenImWebService__OpenImSrvMgr__QueryLog_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__QueryLog_name = "QueryLog";$/;" v file: -__OpenImWebService__OpenImSrvMgr__QuitTribe_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__QuitTribe_name = "QuitTribe";$/;" v file: -__OpenImWebService__OpenImSrvMgr__SendUserMsg_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__SendUserMsg_name = "SendUserMsg";$/;" v file: -__OpenImWebService__OpenImSrvMgr__SendWebsiteMsg_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__SendWebsiteMsg_name = "SendWebsiteMsg";$/;" v file: -__OpenImWebService__OpenImSrvMgr__StopWebTribe_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__StopWebTribe_name = "StopWebTribe";$/;" v file: -__OpenImWebService__OpenImSrvMgr__SyncWebTribe_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__SyncWebTribe_name = "SyncWebTribe";$/;" v file: -__OpenImWebService__OpenImSrvMgr__UnbindService_name OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr__UnbindService_name = "UnbindService";$/;" v file: -__OpenImWebService__OpenImSrvMgr_all OpenIMWebService.cpp /^static ::std::string __OpenImWebService__OpenImSrvMgr_all[] =$/;" v file: -__OpenImWebService__OpenImSrvMgr_ids OpenIMWebService.cpp /^static const ::std::string __OpenImWebService__OpenImSrvMgr_ids[2] =$/;" v file: -__TribeUpdateServer__TribeUpdateInterface__UpdateBulletinNew_name TribeInterface.cpp /^static const ::std::string __TribeUpdateServer__TribeUpdateInterface__UpdateBulletinNew_name = "UpdateBulletinNew";$/;" v file: -__TribeUpdateServer__TribeUpdateInterface__UpdateTribePictrues_name TribeInterface.cpp /^static const ::std::string __TribeUpdateServer__TribeUpdateInterface__UpdateTribePictrues_name = "UpdateTribePictrues";$/;" v file: -__TribeUpdateServer__TribeUpdateInterface_all TribeInterface.cpp /^static ::std::string __TribeUpdateServer__TribeUpdateInterface_all[] =$/;" v file: -__TribeUpdateServer__TribeUpdateInterface_ids TribeInterface.cpp /^static const ::std::string __TribeUpdateServer__TribeUpdateInterface_ids[2] =$/;" v file: -___AddContact OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___AddContact(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___AddTribeMember OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___AddTribeMember(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___AddWebsite OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___AddWebsite(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___BindService OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___BindService(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___ChgWebsite OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___ChgWebsite(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___ChgWebsiteStatus OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___ChgWebsiteStatus(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___DelTribeMember OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___DelTribeMember(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___DelWebsite OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___DelWebsite(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___DoAuth OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___DoAuth(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___GetAllCurrOnline OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___GetAllCurrOnline(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___GetAllHisMaxOnline OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___GetAllHisMaxOnline(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___GetAllHisOnline OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___GetAllHisOnline(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___GetCurrOnline OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___GetCurrOnline(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___GetHisMaxOnline OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___GetHisMaxOnline(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___GetHisOnline OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___GetHisOnline(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___ModifyWebTribe OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___ModifyWebTribe(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___QueryLog OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___QueryLog(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___QuitTribe OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___QuitTribe(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___SendUserMsg OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___SendUserMsg(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___SendWebsiteMsg OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___SendWebsiteMsg(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___StopWebTribe OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___StopWebTribe(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___SyncWebTribe OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___SyncWebTribe(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___UnbindService OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::___UnbindService(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:OpenImWebService::OpenImSrvMgr -___UpdateBulletinNew TribeInterface.cpp /^TribeUpdateServer::TribeUpdateInterface::___UpdateBulletinNew(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:TribeUpdateServer::TribeUpdateInterface -___UpdateTribePictrues TribeInterface.cpp /^TribeUpdateServer::TribeUpdateInterface::___UpdateTribePictrues(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:TribeUpdateServer::TribeUpdateInterface -___getOneSiteOnlineStatus user_info.cpp /^IMServerData::UserInfoI::___getOneSiteOnlineStatus(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:IMServerData::UserInfoI -___getOnlineCountBySite user_info.cpp /^IMServerData::UserInfoI::___getOnlineCountBySite(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:IMServerData::UserInfoI -___getSiteIds user_info.cpp /^IMServerData::UserInfoI::___getSiteIds(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:IMServerData::UserInfoI -___gettLoginNumBySite user_info.cpp /^IMServerData::UserInfoI::___gettLoginNumBySite(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:IMServerData::UserInfoI -___insert user_info.cpp /^IMServerData::UserInfoI::___insert(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:IMServerData::UserInfoI -___loginNtfy user_info.cpp /^IMServerData::UserInfoI::___loginNtfy(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:IMServerData::UserInfoI -___query user_info.cpp /^IMServerData::UserInfoI::___query(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:IMServerData::UserInfoI -___remove user_info.cpp /^IMServerData::UserInfoI::___remove(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)$/;" f class:IMServerData::UserInfoI -__createDelegateD OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::__createDelegateD()$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -__createDelegateD TribeInterface.cpp /^IceProxy::TribeUpdateServer::TribeUpdateInterface::__createDelegateD()$/;" f class:IceProxy::TribeUpdateServer::TribeUpdateInterface -__createDelegateD user_info.cpp /^IceProxy::IMServerData::UserInfoI::__createDelegateD()$/;" f class:IceProxy::IMServerData::UserInfoI -__createDelegateM OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::__createDelegateM()$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -__createDelegateM TribeInterface.cpp /^IceProxy::TribeUpdateServer::TribeUpdateInterface::__createDelegateM()$/;" f class:IceProxy::TribeUpdateServer::TribeUpdateInterface -__createDelegateM user_info.cpp /^IceProxy::IMServerData::UserInfoI::__createDelegateM()$/;" f class:IceProxy::IMServerData::UserInfoI -__dispatch OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)$/;" f class:OpenImWebService::OpenImSrvMgr -__dispatch TribeInterface.cpp /^TribeUpdateServer::TribeUpdateInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)$/;" f class:TribeUpdateServer::TribeUpdateInterface -__dispatch user_info.cpp /^IMServerData::UserInfoI::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)$/;" f class:IMServerData::UserInfoI -__newInstance OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::__newInstance() const$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -__newInstance TribeInterface.cpp /^IceProxy::TribeUpdateServer::TribeUpdateInterface::__newInstance() const$/;" f class:IceProxy::TribeUpdateServer::TribeUpdateInterface -__newInstance user_info.cpp /^IceProxy::IMServerData::UserInfoI::__newInstance() const$/;" f class:IceProxy::IMServerData::UserInfoI -__patch__OpenImSrvMgrPtr OpenIMWebService.cpp /^OpenImWebService::__patch__OpenImSrvMgrPtr(void* __addr, ::Ice::ObjectPtr& v)$/;" f class:OpenImWebService -__patch__TribeUpdateInterfacePtr TribeInterface.cpp /^TribeUpdateServer::__patch__TribeUpdateInterfacePtr(void* __addr, ::Ice::ObjectPtr& v)$/;" f class:TribeUpdateServer -__patch__UserInfoIPtr user_info.cpp /^IMServerData::__patch__UserInfoIPtr(void* __addr, ::Ice::ObjectPtr& v)$/;" f class:IMServerData -__read OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::__read(::IceInternal::BasicStream* __is, bool __rid)$/;" f class:OpenImWebService::OpenImSrvMgr -__read OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::__read(const ::Ice::InputStreamPtr&, bool)$/;" f class:OpenImWebService::OpenImSrvMgr -__read OpenIMWebService.cpp /^OpenImWebService::QueryItems::__read(::IceInternal::BasicStream* __is)$/;" f class:OpenImWebService::QueryItems -__read OpenIMWebService.cpp /^OpenImWebService::SMemberInfo::__read(::IceInternal::BasicStream* __is)$/;" f class:OpenImWebService::SMemberInfo -__read OpenIMWebService.cpp /^OpenImWebService::SNotifySysMsg::__read(::IceInternal::BasicStream* __is)$/;" f class:OpenImWebService::SNotifySysMsg -__read OpenIMWebService.cpp /^OpenImWebService::STribeInfo::__read(::IceInternal::BasicStream* __is)$/;" f class:OpenImWebService::STribeInfo -__read OpenIMWebService.cpp /^OpenImWebService::SUidPairMsg::__read(::IceInternal::BasicStream* __is)$/;" f class:OpenImWebService::SUidPairMsg -__read OpenIMWebService.cpp /^OpenImWebService::SUrlInfo::__read(::IceInternal::BasicStream* __is)$/;" f class:OpenImWebService::SUrlInfo -__read OpenIMWebService.cpp /^OpenImWebService::SWebOnlineStatisticsAll::__read(::IceInternal::BasicStream* __is)$/;" f class:OpenImWebService::SWebOnlineStatisticsAll -__read OpenIMWebService.cpp /^OpenImWebService::SWebStatistics::__read(::IceInternal::BasicStream* __is)$/;" f class:OpenImWebService::SWebStatistics -__read OpenIMWebService.cpp /^OpenImWebService::SWebStatisticsAll::__read(::IceInternal::BasicStream* __is)$/;" f class:OpenImWebService::SWebStatisticsAll -__read OpenIMWebService.cpp /^OpenImWebService::SWebUserInfo::__read(::IceInternal::BasicStream* __is)$/;" f class:OpenImWebService::SWebUserInfo -__read OpenIMWebService.cpp /^OpenImWebService::__read(::IceInternal::BasicStream* __is, ::OpenImWebService::OpenImSrvMgrPrx& v)$/;" f class:OpenImWebService -__read TribeInterface.cpp /^TribeUpdateServer::TribeUpdateInterface::__read(::IceInternal::BasicStream* __is, bool __rid)$/;" f class:TribeUpdateServer::TribeUpdateInterface -__read TribeInterface.cpp /^TribeUpdateServer::TribeUpdateInterface::__read(const ::Ice::InputStreamPtr&, bool)$/;" f class:TribeUpdateServer::TribeUpdateInterface -__read TribeInterface.cpp /^TribeUpdateServer::__read(::IceInternal::BasicStream* __is, ::TribeUpdateServer::TribeUpdateInterfacePrx& v)$/;" f class:TribeUpdateServer -__read user_info.cpp /^IMServerData::SWebBind::__read(::IceInternal::BasicStream* __is)$/;" f class:IMServerData::SWebBind -__read user_info.cpp /^IMServerData::Statics::__read(::IceInternal::BasicStream* __is)$/;" f class:IMServerData::Statics -__read user_info.cpp /^IMServerData::UserInfoI::__read(::IceInternal::BasicStream* __is, bool __rid)$/;" f class:IMServerData::UserInfoI -__read user_info.cpp /^IMServerData::UserInfoI::__read(const ::Ice::InputStreamPtr&, bool)$/;" f class:IMServerData::UserInfoI -__read user_info.cpp /^IMServerData::__read(::IceInternal::BasicStream* __is, ::IMServerData::UserInfoIPrx& v)$/;" f class:IMServerData -__readKVMap OpenIMWebService.cpp /^OpenImWebService::__readKVMap(::IceInternal::BasicStream* __is, ::OpenImWebService::KVMap& v)$/;" f class:OpenImWebService -__readSMemberInfoSeq OpenIMWebService.cpp /^OpenImWebService::__readSMemberInfoSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SMemberInfoSeq& v)$/;" f class:OpenImWebService -__readSNotifySysMsgSeq OpenIMWebService.cpp /^OpenImWebService::__readSNotifySysMsgSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SNotifySysMsgSeq& v)$/;" f class:OpenImWebService -__readSTribeInfoSeq OpenIMWebService.cpp /^OpenImWebService::__readSTribeInfoSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::STribeInfoSeq& v)$/;" f class:OpenImWebService -__readSUidPairMsgSeq OpenIMWebService.cpp /^OpenImWebService::__readSUidPairMsgSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SUidPairMsgSeq& v)$/;" f class:OpenImWebService -__readSUrlInfoSeq OpenIMWebService.cpp /^OpenImWebService::__readSUrlInfoSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SUrlInfoSeq& v)$/;" f class:OpenImWebService -__readSWebBindSeq user_info.cpp /^IMServerData::__readSWebBindSeq(::IceInternal::BasicStream* __is, ::IMServerData::SWebBindSeq& v)$/;" f class:IMServerData -__readSWebOnlineStatisticsAllSeq OpenIMWebService.cpp /^OpenImWebService::__readSWebOnlineStatisticsAllSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SWebOnlineStatisticsAllSeq& v)$/;" f class:OpenImWebService -__readSWebStatisticsAllSeq OpenIMWebService.cpp /^OpenImWebService::__readSWebStatisticsAllSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SWebStatisticsAllSeq& v)$/;" f class:OpenImWebService -__readSWebStatisticsSeq OpenIMWebService.cpp /^OpenImWebService::__readSWebStatisticsSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SWebStatisticsSeq& v)$/;" f class:OpenImWebService -__readSWebUserInfoSeq OpenIMWebService.cpp /^OpenImWebService::__readSWebUserInfoSeq(::IceInternal::BasicStream* __is, ::OpenImWebService::SWebUserInfoSeq& v)$/;" f class:OpenImWebService -__readStaticsSeq user_info.cpp /^IMServerData::__readStaticsSeq(::IceInternal::BasicStream* __is, ::IMServerData::StaticsSeq& v)$/;" f class:IMServerData -__write OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::__write(::IceInternal::BasicStream* __os) const$/;" f class:OpenImWebService::OpenImSrvMgr -__write OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::__write(const ::Ice::OutputStreamPtr&) const$/;" f class:OpenImWebService::OpenImSrvMgr -__write OpenIMWebService.cpp /^OpenImWebService::QueryItems::__write(::IceInternal::BasicStream* __os) const$/;" f class:OpenImWebService::QueryItems -__write OpenIMWebService.cpp /^OpenImWebService::SMemberInfo::__write(::IceInternal::BasicStream* __os) const$/;" f class:OpenImWebService::SMemberInfo -__write OpenIMWebService.cpp /^OpenImWebService::SNotifySysMsg::__write(::IceInternal::BasicStream* __os) const$/;" f class:OpenImWebService::SNotifySysMsg -__write OpenIMWebService.cpp /^OpenImWebService::STribeInfo::__write(::IceInternal::BasicStream* __os) const$/;" f class:OpenImWebService::STribeInfo -__write OpenIMWebService.cpp /^OpenImWebService::SUidPairMsg::__write(::IceInternal::BasicStream* __os) const$/;" f class:OpenImWebService::SUidPairMsg -__write OpenIMWebService.cpp /^OpenImWebService::SUrlInfo::__write(::IceInternal::BasicStream* __os) const$/;" f class:OpenImWebService::SUrlInfo -__write OpenIMWebService.cpp /^OpenImWebService::SWebOnlineStatisticsAll::__write(::IceInternal::BasicStream* __os) const$/;" f class:OpenImWebService::SWebOnlineStatisticsAll -__write OpenIMWebService.cpp /^OpenImWebService::SWebStatistics::__write(::IceInternal::BasicStream* __os) const$/;" f class:OpenImWebService::SWebStatistics -__write OpenIMWebService.cpp /^OpenImWebService::SWebStatisticsAll::__write(::IceInternal::BasicStream* __os) const$/;" f class:OpenImWebService::SWebStatisticsAll -__write OpenIMWebService.cpp /^OpenImWebService::SWebUserInfo::__write(::IceInternal::BasicStream* __os) const$/;" f class:OpenImWebService::SWebUserInfo -__write TribeInterface.cpp /^TribeUpdateServer::TribeUpdateInterface::__write(::IceInternal::BasicStream* __os) const$/;" f class:TribeUpdateServer::TribeUpdateInterface -__write TribeInterface.cpp /^TribeUpdateServer::TribeUpdateInterface::__write(const ::Ice::OutputStreamPtr&) const$/;" f class:TribeUpdateServer::TribeUpdateInterface -__write user_info.cpp /^IMServerData::SWebBind::__write(::IceInternal::BasicStream* __os) const$/;" f class:IMServerData::SWebBind -__write user_info.cpp /^IMServerData::Statics::__write(::IceInternal::BasicStream* __os) const$/;" f class:IMServerData::Statics -__write user_info.cpp /^IMServerData::UserInfoI::__write(::IceInternal::BasicStream* __os) const$/;" f class:IMServerData::UserInfoI -__write user_info.cpp /^IMServerData::UserInfoI::__write(const ::Ice::OutputStreamPtr&) const$/;" f class:IMServerData::UserInfoI -__writeKVMap OpenIMWebService.cpp /^OpenImWebService::__writeKVMap(::IceInternal::BasicStream* __os, const ::OpenImWebService::KVMap& v)$/;" f class:OpenImWebService -__writeSMemberInfoSeq OpenIMWebService.cpp /^OpenImWebService::__writeSMemberInfoSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SMemberInfo* begin, const ::OpenImWebService::SMemberInfo* end)$/;" f class:OpenImWebService -__writeSNotifySysMsgSeq OpenIMWebService.cpp /^OpenImWebService::__writeSNotifySysMsgSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SNotifySysMsg* begin, const ::OpenImWebService::SNotifySysMsg* end)$/;" f class:OpenImWebService -__writeSTribeInfoSeq OpenIMWebService.cpp /^OpenImWebService::__writeSTribeInfoSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::STribeInfo* begin, const ::OpenImWebService::STribeInfo* end)$/;" f class:OpenImWebService -__writeSUidPairMsgSeq OpenIMWebService.cpp /^OpenImWebService::__writeSUidPairMsgSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SUidPairMsg* begin, const ::OpenImWebService::SUidPairMsg* end)$/;" f class:OpenImWebService -__writeSUrlInfoSeq OpenIMWebService.cpp /^OpenImWebService::__writeSUrlInfoSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SUrlInfo* begin, const ::OpenImWebService::SUrlInfo* end)$/;" f class:OpenImWebService -__writeSWebBindSeq user_info.cpp /^IMServerData::__writeSWebBindSeq(::IceInternal::BasicStream* __os, const ::IMServerData::SWebBind* begin, const ::IMServerData::SWebBind* end)$/;" f class:IMServerData -__writeSWebOnlineStatisticsAllSeq OpenIMWebService.cpp /^OpenImWebService::__writeSWebOnlineStatisticsAllSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SWebOnlineStatisticsAll* begin, const ::OpenImWebService::SWebOnlineStatisticsAll* end)$/;" f class:OpenImWebService -__writeSWebStatisticsAllSeq OpenIMWebService.cpp /^OpenImWebService::__writeSWebStatisticsAllSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SWebStatisticsAll* begin, const ::OpenImWebService::SWebStatisticsAll* end)$/;" f class:OpenImWebService -__writeSWebStatisticsSeq OpenIMWebService.cpp /^OpenImWebService::__writeSWebStatisticsSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SWebStatistics* begin, const ::OpenImWebService::SWebStatistics* end)$/;" f class:OpenImWebService -__writeSWebUserInfoSeq OpenIMWebService.cpp /^OpenImWebService::__writeSWebUserInfoSeq(::IceInternal::BasicStream* __os, const ::OpenImWebService::SWebUserInfo* begin, const ::OpenImWebService::SWebUserInfo* end)$/;" f class:OpenImWebService -__writeStaticsSeq user_info.cpp /^IMServerData::__writeStaticsSeq(::IceInternal::BasicStream* __os, const ::IMServerData::Statics* begin, const ::IMServerData::Statics* end)$/;" f class:IMServerData -actIce SendWebsiteMsgDLL.cpp /^extern "C" SENDWEBSITEMSG_API int actIce(void *ptrPrx, char *serviceId, char *webId,char **receiversPtr, int receiversSize){$/;" f -begin_AddContact OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_AddContact(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& wangwangId, const ::OpenImWebService::SWebUserInfoSeq& contactList, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_AddTribeMember OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_AddTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& member, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_AddWebsite OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_AddWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_BindService OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_BindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& aliuid, const ::std::string& currToken, ::Ice::Long t, const ::std::string& wangwangId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_ChgWebsite OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_ChgWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& name, const ::OpenImWebService::SUrlInfoSeq& webUrl, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_ChgWebsiteStatus OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_ChgWebsiteStatus(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int status, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_DelTribeMember OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_DelTribeMember(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::std::string& operId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_DelWebsite OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_DelWebsite(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_DoAuth OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_DoAuth(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& aliuid, const ::std::string& token, ::Ice::Long t, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_GetAllCurrOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_GetAllCurrOnline(const ::std::string& serviceId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_GetAllHisMaxOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_GetAllHisMaxOnline(const ::std::string& serviceId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_GetAllHisOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_GetAllHisOnline(const ::std::string& serviceId, const ::std::string& fromDate, const ::std::string& toDate, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_GetCurrOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_GetCurrOnline(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_GetHisMaxOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_GetHisMaxOnline(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_GetHisOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_GetHisOnline(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& fromDate, const ::std::string& toDate, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_ModifyWebTribe OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_ModifyWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::KVMap& items, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_QueryLog OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_QueryLog(const ::OpenImWebService::QueryItems& qi, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_QuitTribe OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_QuitTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::OpenImWebService::SWebUserInfo& memberId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_SendUserMsg OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_SendUserMsg(const ::std::string& serviceId, const ::std::string& webId, ::Ice::Int cmdId, const ::std::string& fromId, const ::std::string& toId, const ::OpenImWebService::KVMap& message, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_SendWebsiteMsg OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_SendWebsiteMsg(const ::std::string& serviceId, const ::std::string& webId, const ::Ice::StringSeq& receivers, const ::OpenImWebService::SNotifySysMsg& message, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_StopWebTribe OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_StopWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& tribeId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_SyncWebTribe OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_SyncWebTribe(const ::std::string& serviceId, const ::std::string& webId, const ::OpenImWebService::STribeInfo& tribe, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_UnbindService OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::begin_UnbindService(const ::std::string& serviceId, const ::std::string& webId, const ::std::string& webUid, const ::std::string& wangwangId, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -begin_UpdateBulletinNew TribeInterface.cpp /^IceProxy::TribeUpdateServer::TribeUpdateInterface::begin_UpdateBulletinNew(const ::std::string& uid, ::Ice::Long tribeId, const ::std::string& bulletinNew, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::TribeUpdateServer::TribeUpdateInterface -begin_UpdateTribePictrues TribeInterface.cpp /^IceProxy::TribeUpdateServer::TribeUpdateInterface::begin_UpdateTribePictrues(::Ice::Long tribeId, const ::std::string& userId, ::Ice::Int type, const ::std::string& path, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::TribeUpdateServer::TribeUpdateInterface -begin_getOneSiteOnlineStatus user_info.cpp /^IceProxy::IMServerData::UserInfoI::begin_getOneSiteOnlineStatus(const ::std::string& serviceId, const ::std::string& siteid, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::IMServerData::UserInfoI -begin_getOnlineCountBySite user_info.cpp /^IceProxy::IMServerData::UserInfoI::begin_getOnlineCountBySite(const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::IMServerData::UserInfoI -begin_getSiteIds user_info.cpp /^IceProxy::IMServerData::UserInfoI::begin_getSiteIds(const ::std::string& serviceid, const ::std::string& siteid, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::IMServerData::UserInfoI -begin_gettLoginNumBySite user_info.cpp /^IceProxy::IMServerData::UserInfoI::begin_gettLoginNumBySite(const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::IMServerData::UserInfoI -begin_insert user_info.cpp /^IceProxy::IMServerData::UserInfoI::begin_insert(const ::std::string& id, const ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::IMServerData::UserInfoI -begin_loginNtfy user_info.cpp /^IceProxy::IMServerData::UserInfoI::begin_loginNtfy(const ::std::string& id, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::IMServerData::UserInfoI -begin_query user_info.cpp /^IceProxy::IMServerData::UserInfoI::begin_query(const ::std::string& id, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::IMServerData::UserInfoI -begin_remove user_info.cpp /^IceProxy::IMServerData::UserInfoI::begin_remove(const ::std::string& id, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)$/;" f class:IceProxy::IMServerData::UserInfoI -benchmark benchmark.c /^void benchmark(void* param)$/;" f -bm_thread_exit benchmark.c /^void bm_thread_exit(struct bench * p){$/;" f -call_threads benchmark.c /^void call_threads(struct bench * p,long int group)$/;" f -commandline main.c /^void *commandline(void* v)$/;" f -concurrence main.c /^void *concurrence(void* param)$/;" f -create_transaction benchmark.c /^void create_transaction(vuser_node_st_t *v, char *name){$/;" f -create_vuser benchmark.c /^vuser_node_st_t* create_vuser(struct bench * p,long int group){$/;" f -dispatch benchmark.c /^void dispatch(struct bench * p)$/;" f -do_transaction benchmark.c /^transaction_st_t* do_transaction(vuser_node_st_t *v, char *name, int boool){$/;" f -do_transactionEx benchmark.c /^transaction_st_t* do_transactionEx(vuser_node_st_t *v, char *name, int boool, char *msg){$/;" f -dobench benchmark.c /^void* dobench(void* v)$/;" f -dofork benchmark.c /^void dofork(struct bench * p,int n,long int g)$/;" f -endIce SendWebsiteMsgDLL.cpp /^extern "C" SENDWEBSITEMSG_API int endIce(void *ptrIc,void *ptrPrx){$/;" f -end_AddContact OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_AddContact(::OpenImWebService::CntctSeq& cnt, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_AddTribeMember OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_AddTribeMember(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_AddWebsite OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_AddWebsite(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_BindService OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_BindService(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_ChgWebsite OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_ChgWebsite(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_ChgWebsiteStatus OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_ChgWebsiteStatus(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_DelTribeMember OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_DelTribeMember(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_DelWebsite OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_DelWebsite(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_DoAuth OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_DoAuth(::std::string& webUid, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_GetAllCurrOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_GetAllCurrOnline(::Ice::Long& number, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_GetAllHisMaxOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_GetAllHisMaxOnline(::std::string& date, ::Ice::Long& number, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_GetAllHisOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_GetAllHisOnline(::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_GetCurrOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_GetCurrOnline(::Ice::Long& number, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_GetHisMaxOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_GetHisMaxOnline(::OpenImWebService::SWebStatistics& data, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_GetHisOnline OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_GetHisOnline(::OpenImWebService::SWebStatisticsSeq& data, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_ModifyWebTribe OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_ModifyWebTribe(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_QueryLog OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_QueryLog(::OpenImWebService::SUidPairMsgSeq& rl, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_QuitTribe OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_QuitTribe(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_SendUserMsg OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_SendUserMsg(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_SendWebsiteMsg OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_SendWebsiteMsg(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_StopWebTribe OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_StopWebTribe(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_SyncWebTribe OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_SyncWebTribe(::Ice::Long& tribeId, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_UnbindService OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::end_UnbindService(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -end_UpdateBulletinNew TribeInterface.cpp /^IceProxy::TribeUpdateServer::TribeUpdateInterface::end_UpdateBulletinNew(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::TribeUpdateServer::TribeUpdateInterface -end_UpdateTribePictrues TribeInterface.cpp /^IceProxy::TribeUpdateServer::TribeUpdateInterface::end_UpdateTribePictrues(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::TribeUpdateServer::TribeUpdateInterface -end_getOneSiteOnlineStatus user_info.cpp /^IceProxy::IMServerData::UserInfoI::end_getOneSiteOnlineStatus(::Ice::Long& count, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::IMServerData::UserInfoI -end_getOnlineCountBySite user_info.cpp /^IceProxy::IMServerData::UserInfoI::end_getOnlineCountBySite(::IMServerData::StaticsSeq& statics, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::IMServerData::UserInfoI -end_getSiteIds user_info.cpp /^IceProxy::IMServerData::UserInfoI::end_getSiteIds(::Ice::StringSeq& loginid, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::IMServerData::UserInfoI -end_gettLoginNumBySite user_info.cpp /^IceProxy::IMServerData::UserInfoI::end_gettLoginNumBySite(::IMServerData::StaticsSeq& lognum, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::IMServerData::UserInfoI -end_insert user_info.cpp /^IceProxy::IMServerData::UserInfoI::end_insert(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::IMServerData::UserInfoI -end_loginNtfy user_info.cpp /^IceProxy::IMServerData::UserInfoI::end_loginNtfy(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::IMServerData::UserInfoI -end_query user_info.cpp /^IceProxy::IMServerData::UserInfoI::end_query(::IMServerData::SWebBindSeq& binds, const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::IMServerData::UserInfoI -end_remove user_info.cpp /^IceProxy::IMServerData::UserInfoI::end_remove(const ::Ice::AsyncResultPtr& __result)$/;" f class:IceProxy::IMServerData::UserInfoI -faile_transaction benchmark.c /^transaction_st_t* faile_transaction(vuser_node_st_t *v, char *name){$/;" f -faile_transactionEx benchmark.c /^transaction_st_t* faile_transactionEx(vuser_node_st_t *v, char *name, char *msg){$/;" f -find_transaction benchmark.c /^transaction_st_t* find_transaction(vuser_node_st_t *v, char *name){$/;" f -fnSendWebsiteMsg SendWebsiteMsgDLL.cpp /^SENDWEBSITEMSG_API int fnSendWebsiteMsg(void)$/;" f -getOneSiteOnlineStatus user_info.cpp /^IceDelegateD::IMServerData::UserInfoI::getOneSiteOnlineStatus(const ::std::string& serviceId, const ::std::string& siteid, ::Ice::Long& count, const ::Ice::Context* __context)$/;" f class:IceDelegateD::IMServerData::UserInfoI -getOneSiteOnlineStatus user_info.cpp /^IceDelegateM::IMServerData::UserInfoI::getOneSiteOnlineStatus(const ::std::string& serviceId, const ::std::string& siteid, ::Ice::Long& count, const ::Ice::Context* __context)$/;" f class:IceDelegateM::IMServerData::UserInfoI -getOneSiteOnlineStatus user_info.cpp /^IceProxy::IMServerData::UserInfoI::getOneSiteOnlineStatus(const ::std::string& serviceId, const ::std::string& siteid, ::Ice::Long& count, const ::Ice::Context* __ctx)$/;" f class:IceProxy::IMServerData::UserInfoI -getOnlineCountBySite user_info.cpp /^IceDelegateD::IMServerData::UserInfoI::getOnlineCountBySite(::IMServerData::StaticsSeq& statics, const ::Ice::Context* __context)$/;" f class:IceDelegateD::IMServerData::UserInfoI -getOnlineCountBySite user_info.cpp /^IceDelegateM::IMServerData::UserInfoI::getOnlineCountBySite(::IMServerData::StaticsSeq& statics, const ::Ice::Context* __context)$/;" f class:IceDelegateM::IMServerData::UserInfoI -getOnlineCountBySite user_info.cpp /^IceProxy::IMServerData::UserInfoI::getOnlineCountBySite(::IMServerData::StaticsSeq& statics, const ::Ice::Context* __ctx)$/;" f class:IceProxy::IMServerData::UserInfoI -getSiteIds user_info.cpp /^IceDelegateD::IMServerData::UserInfoI::getSiteIds(const ::std::string& serviceid, const ::std::string& siteid, ::Ice::StringSeq& loginid, const ::Ice::Context* __context)$/;" f class:IceDelegateD::IMServerData::UserInfoI -getSiteIds user_info.cpp /^IceDelegateM::IMServerData::UserInfoI::getSiteIds(const ::std::string& serviceid, const ::std::string& siteid, ::Ice::StringSeq& loginid, const ::Ice::Context* __context)$/;" f class:IceDelegateM::IMServerData::UserInfoI -getSiteIds user_info.cpp /^IceProxy::IMServerData::UserInfoI::getSiteIds(const ::std::string& serviceid, const ::std::string& siteid, ::Ice::StringSeq& loginid, const ::Ice::Context* __ctx)$/;" f class:IceProxy::IMServerData::UserInfoI -get_vuser_group benchmark.c /^long int get_vuser_group(void* v){$/;" f -get_vuser_id benchmark.c /^long int get_vuser_id(void* v){$/;" f -get_vuser_ite benchmark.c /^long int get_vuser_ite(void* v){$/;" f -gettLoginNumBySite user_info.cpp /^IceDelegateD::IMServerData::UserInfoI::gettLoginNumBySite(::IMServerData::StaticsSeq& lognum, const ::Ice::Context* __context)$/;" f class:IceDelegateD::IMServerData::UserInfoI -gettLoginNumBySite user_info.cpp /^IceDelegateM::IMServerData::UserInfoI::gettLoginNumBySite(::IMServerData::StaticsSeq& lognum, const ::Ice::Context* __context)$/;" f class:IceDelegateM::IMServerData::UserInfoI -gettLoginNumBySite user_info.cpp /^IceProxy::IMServerData::UserInfoI::gettLoginNumBySite(::IMServerData::StaticsSeq& lognum, const ::Ice::Context* __ctx)$/;" f class:IceProxy::IMServerData::UserInfoI -ice_clone OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::ice_clone() const$/;" f class:OpenImWebService::OpenImSrvMgr -ice_clone TribeInterface.cpp /^TribeUpdateServer::TribeUpdateInterface::ice_clone() const$/;" f class:TribeUpdateServer::TribeUpdateInterface -ice_clone user_info.cpp /^IMServerData::UserInfoI::ice_clone() const$/;" f class:IMServerData::UserInfoI -ice_id OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::ice_id(const ::Ice::Current&) const$/;" f class:OpenImWebService::OpenImSrvMgr -ice_id TribeInterface.cpp /^TribeUpdateServer::TribeUpdateInterface::ice_id(const ::Ice::Current&) const$/;" f class:TribeUpdateServer::TribeUpdateInterface -ice_id user_info.cpp /^IMServerData::UserInfoI::ice_id(const ::Ice::Current&) const$/;" f class:IMServerData::UserInfoI -ice_ids OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::ice_ids(const ::Ice::Current&) const$/;" f class:OpenImWebService::OpenImSrvMgr -ice_ids TribeInterface.cpp /^TribeUpdateServer::TribeUpdateInterface::ice_ids(const ::Ice::Current&) const$/;" f class:TribeUpdateServer::TribeUpdateInterface -ice_ids user_info.cpp /^IMServerData::UserInfoI::ice_ids(const ::Ice::Current&) const$/;" f class:IMServerData::UserInfoI -ice_isA OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::ice_isA(const ::std::string& _s, const ::Ice::Current&) const$/;" f class:OpenImWebService::OpenImSrvMgr -ice_isA TribeInterface.cpp /^TribeUpdateServer::TribeUpdateInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const$/;" f class:TribeUpdateServer::TribeUpdateInterface -ice_isA user_info.cpp /^IMServerData::UserInfoI::ice_isA(const ::std::string& _s, const ::Ice::Current&) const$/;" f class:IMServerData::UserInfoI -ice_staticId OpenIMWebService.cpp /^IceProxy::OpenImWebService::OpenImSrvMgr::ice_staticId()$/;" f class:IceProxy::OpenImWebService::OpenImSrvMgr -ice_staticId OpenIMWebService.cpp /^OpenImWebService::OpenImSrvMgr::ice_staticId()$/;" f class:OpenImWebService::OpenImSrvMgr -ice_staticId TribeInterface.cpp /^IceProxy::TribeUpdateServer::TribeUpdateInterface::ice_staticId()$/;" f class:IceProxy::TribeUpdateServer::TribeUpdateInterface -ice_staticId TribeInterface.cpp /^TribeUpdateServer::TribeUpdateInterface::ice_staticId()$/;" f class:TribeUpdateServer::TribeUpdateInterface -ice_staticId user_info.cpp /^IMServerData::UserInfoI::ice_staticId()$/;" f class:IMServerData::UserInfoI -ice_staticId user_info.cpp /^IceProxy::IMServerData::UserInfoI::ice_staticId()$/;" f class:IceProxy::IMServerData::UserInfoI -initIce SendWebsiteMsgDLL.cpp /^extern "C" SENDWEBSITEMSG_API int initIce(const char* conChrs, void **outPrx, void **outIc){$/;" f -init_timer benchmark.c /^int init_timer(struct bench * p,int* switcher){$/;" f -insert user_info.cpp /^IceDelegateD::IMServerData::UserInfoI::insert(const ::std::string& id, const ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __context)$/;" f class:IceDelegateD::IMServerData::UserInfoI -insert user_info.cpp /^IceDelegateM::IMServerData::UserInfoI::insert(const ::std::string& id, const ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __context)$/;" f class:IceDelegateM::IMServerData::UserInfoI -insert user_info.cpp /^IceProxy::IMServerData::UserInfoI::insert(const ::std::string& id, const ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __ctx)$/;" f class:IceProxy::IMServerData::UserInfoI -loginNtfy user_info.cpp /^IceDelegateD::IMServerData::UserInfoI::loginNtfy(const ::std::string& id, const ::Ice::Context* __context)$/;" f class:IceDelegateD::IMServerData::UserInfoI -loginNtfy user_info.cpp /^IceDelegateM::IMServerData::UserInfoI::loginNtfy(const ::std::string& id, const ::Ice::Context* __context)$/;" f class:IceDelegateM::IMServerData::UserInfoI -loginNtfy user_info.cpp /^IceProxy::IMServerData::UserInfoI::loginNtfy(const ::std::string& id, const ::Ice::Context* __ctx)$/;" f class:IceProxy::IMServerData::UserInfoI -main main.c /^int main (int argc, char* const argv[])$/;" f -nSendWebsiteMsg SendWebsiteMsgDLL.cpp /^SENDWEBSITEMSG_API int nSendWebsiteMsg=0;$/;" v -query user_info.cpp /^IceDelegateD::IMServerData::UserInfoI::query(const ::std::string& id, ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __context)$/;" f class:IceDelegateD::IMServerData::UserInfoI -query user_info.cpp /^IceDelegateM::IMServerData::UserInfoI::query(const ::std::string& id, ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __context)$/;" f class:IceDelegateM::IMServerData::UserInfoI -query user_info.cpp /^IceProxy::IMServerData::UserInfoI::query(const ::std::string& id, ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __ctx)$/;" f class:IceProxy::IMServerData::UserInfoI -read_umask benchmark.c /^mode_t read_umask(void)$/;" f -remove user_info.cpp /^IceDelegateD::IMServerData::UserInfoI::remove(const ::std::string& id, const ::Ice::Context* __context)$/;" f class:IceDelegateD::IMServerData::UserInfoI -remove user_info.cpp /^IceDelegateM::IMServerData::UserInfoI::remove(const ::std::string& id, const ::Ice::Context* __context)$/;" f class:IceDelegateM::IMServerData::UserInfoI -remove user_info.cpp /^IceProxy::IMServerData::UserInfoI::remove(const ::std::string& id, const ::Ice::Context* __ctx)$/;" f class:IceProxy::IMServerData::UserInfoI -setopenfiles benchmark.c /^void setopenfiles(void *p)$/;" f -success_transaction benchmark.c /^transaction_st_t* success_transaction(vuser_node_st_t *v, char *name){$/;" f -success_transactionEx benchmark.c /^transaction_st_t* success_transactionEx(vuser_node_st_t *v, char *name, char *msg){$/;" f -timmer_to_exit benchmark.c /^void* timmer_to_exit(void *tp){$/;" f -trans_analyse benchmark.c /^void trans_analyse(void* param){$/;" f -upCast OpenIMWebService.cpp /^::Ice::Object* IceInternal::upCast(::OpenImWebService::OpenImSrvMgr* p) { return p; }$/;" f class:IceInternal -upCast OpenIMWebService.cpp /^::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::OpenImWebService::OpenImSrvMgr* p) { return p; }$/;" f class:IceInternal -upCast TribeInterface.cpp /^::Ice::Object* IceInternal::upCast(::TribeUpdateServer::TribeUpdateInterface* p) { return p; }$/;" f class:IceInternal -upCast TribeInterface.cpp /^::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::TribeUpdateServer::TribeUpdateInterface* p) { return p; }$/;" f class:IceInternal -upCast user_info.cpp /^::Ice::Object* IceInternal::upCast(::IMServerData::UserInfoI* p) { return p; }$/;" f class:IceInternal -upCast user_info.cpp /^::IceProxy::Ice::Object* IceInternal::upCast(::IceProxy::IMServerData::UserInfoI* p) { return p; }$/;" f class:IceInternal -waitall benchmark.c /^void waitall(void *p)$/;" f diff --git a/features/aliww/source/tbWebMember.cpp b/features/aliww/source/tbWebMember.cpp deleted file mode 100644 index 7443ebe..0000000 --- a/features/aliww/source/tbWebMember.cpp +++ /dev/null @@ -1,3213 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `tbWebMember.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __tbWebMember__UserProfile__GetSimpleUserProfile_name = "GetSimpleUserProfile"; - -static const ::std::string __tbWebMember__UserProfile__GetFullUserProfile_name = "GetFullUserProfile"; - -static const ::std::string __tbWebMember__UserProfile__GetUidByPenname_name = "GetUidByPenname"; - -static const ::std::string __tbWebMember__UserProfile__GetUserPwd_name = "GetUserPwd"; - -static const ::std::string __tbWebMember__UserProfile__CheckUser_name = "CheckUser"; - -static const ::std::string __tbWebMember__UserProfile__GetUserInfo_name = "GetUserInfo"; - -static const ::std::string __tbWebMember__UserProfile__GetTName_name = "GetTName"; - -static const ::std::string __tbWebMember__UserProfile__GetUDBData_name = "GetUDBData"; - -static const ::std::string __tbWebMember__UserProfile__GetExUDBData_name = "GetExUDBData"; - -static const ::std::string __tbWebMember__UserProfile__GetRates_name = "GetRates"; - -static const ::std::string __tbWebMember__UserProfile__GetBasicLoginInfo_name = "GetBasicLoginInfo"; - -static const ::std::string __tbWebMember__UserProfile__CheckUserWebToken_name = "CheckUserWebToken"; - -void -IceInternal::incRef(::tbWebMember::UserProfile* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::tbWebMember::UserProfile* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::tbWebMember::UserProfile* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::tbWebMember::UserProfile* p) -{ - p->__decRef(); -} - -void -tbWebMember::__write(::IceInternal::BasicStream* __os, const ::tbWebMember::UserProfilePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -tbWebMember::__read(::IceInternal::BasicStream* __is, ::tbWebMember::UserProfilePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::tbWebMember::UserProfile; - v->__copyFrom(proxy); - } -} - -void -tbWebMember::__write(::IceInternal::BasicStream* __os, const ::tbWebMember::UserProfilePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -tbWebMember::stbuserStatus::operator==(const stbuserStatus& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -tbWebMember::stbuserStatus::operator!=(const stbuserStatus& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(id != __rhs.id) - { - return true; - } - if(exists != __rhs.exists) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - return false; -} - -bool -tbWebMember::stbuserStatus::operator<(const stbuserStatus& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(id < __rhs.id) - { - return true; - } - else if(__rhs.id < id) - { - return false; - } - if(exists < __rhs.exists) - { - return true; - } - else if(__rhs.exists < exists) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - return false; -} - -void -tbWebMember::stbuserStatus::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(id); - __os->write(exists); - __os->write(status); -} - -void -tbWebMember::stbuserStatus::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(id); - __is->read(exists); - __is->read(status); -} - -bool -tbWebMember::stbuserPwd::operator==(const stbuserPwd& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -tbWebMember::stbuserPwd::operator!=(const stbuserPwd& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(passwd != __rhs.passwd) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - return false; -} - -bool -tbWebMember::stbuserPwd::operator<(const stbuserPwd& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(passwd < __rhs.passwd) - { - return true; - } - else if(__rhs.passwd < passwd) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - return false; -} - -void -tbWebMember::stbuserPwd::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(passwd); - __os->write(status); -} - -void -tbWebMember::stbuserPwd::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(passwd); - __is->read(status); -} - -bool -tbWebMember::stbuserInfo::operator==(const stbuserInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -tbWebMember::stbuserInfo::operator!=(const stbuserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(ratesum != __rhs.ratesum) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - if(promotedtype != __rhs.promotedtype) - { - return true; - } - if(active != __rhs.active) - { - return true; - } - if(id != __rhs.id) - { - return true; - } - return false; -} - -bool -tbWebMember::stbuserInfo::operator<(const stbuserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(ratesum < __rhs.ratesum) - { - return true; - } - else if(__rhs.ratesum < ratesum) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - if(promotedtype < __rhs.promotedtype) - { - return true; - } - else if(__rhs.promotedtype < promotedtype) - { - return false; - } - if(active < __rhs.active) - { - return true; - } - else if(__rhs.active < active) - { - return false; - } - if(id < __rhs.id) - { - return true; - } - else if(__rhs.id < id) - { - return false; - } - return false; -} - -void -tbWebMember::stbuserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(ratesum); - __os->write(userLevel); - __os->write(promotedtype); - __os->write(active); - __os->write(id); -} - -void -tbWebMember::stbuserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(ratesum); - __is->read(userLevel); - __is->read(promotedtype); - __is->read(active); - __is->read(id); -} - -bool -tbWebMember::SSimpleUserProfile::operator==(const SSimpleUserProfile& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -tbWebMember::SSimpleUserProfile::operator!=(const SSimpleUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - return false; -} - -bool -tbWebMember::SSimpleUserProfile::operator<(const SSimpleUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - return false; -} - -void -tbWebMember::SSimpleUserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(password); - __os->write(status); -} - -void -tbWebMember::SSimpleUserProfile::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(password); - __is->read(status); -} - -bool -tbWebMember::SHalfUserProfile::operator==(const SHalfUserProfile& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -tbWebMember::SHalfUserProfile::operator!=(const SHalfUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(realName != __rhs.realName) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobTitle != __rhs.jobTitle) - { - return true; - } - if(memberLevel != __rhs.memberLevel) - { - return true; - } - if(penName != __rhs.penName) - { - return true; - } - if(categoryId != __rhs.categoryId) - { - return true; - } - if(phoneArea != __rhs.phoneArea) - { - return true; - } - if(phoneStatus != __rhs.phoneStatus) - { - return true; - } - if(phone != __rhs.phone) - { - return true; - } - return false; -} - -bool -tbWebMember::SHalfUserProfile::operator<(const SHalfUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(realName < __rhs.realName) - { - return true; - } - else if(__rhs.realName < realName) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobTitle < __rhs.jobTitle) - { - return true; - } - else if(__rhs.jobTitle < jobTitle) - { - return false; - } - if(memberLevel < __rhs.memberLevel) - { - return true; - } - else if(__rhs.memberLevel < memberLevel) - { - return false; - } - if(penName < __rhs.penName) - { - return true; - } - else if(__rhs.penName < penName) - { - return false; - } - if(categoryId < __rhs.categoryId) - { - return true; - } - else if(__rhs.categoryId < categoryId) - { - return false; - } - if(phoneArea < __rhs.phoneArea) - { - return true; - } - else if(__rhs.phoneArea < phoneArea) - { - return false; - } - if(phoneStatus < __rhs.phoneStatus) - { - return true; - } - else if(__rhs.phoneStatus < phoneStatus) - { - return false; - } - if(phone < __rhs.phone) - { - return true; - } - else if(__rhs.phone < phone) - { - return false; - } - return false; -} - -void -tbWebMember::SHalfUserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(password); - __os->write(status); - __os->write(realName); - __os->write(company); - __os->write(jobTitle); - __os->write(memberLevel); - __os->write(penName); - __os->write(categoryId); - __os->write(phoneArea); - __os->write(phoneStatus); - __os->write(phone); -} - -void -tbWebMember::SHalfUserProfile::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(password); - __is->read(status); - __is->read(realName); - __is->read(company); - __is->read(jobTitle); - __is->read(memberLevel); - __is->read(penName); - __is->read(categoryId); - __is->read(phoneArea); - __is->read(phoneStatus); - __is->read(phone); -} - -bool -tbWebMember::StbFullUserProfile::operator==(const StbFullUserProfile& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -tbWebMember::StbFullUserProfile::operator!=(const StbFullUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(zip != __rhs.zip) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(birthdate != __rhs.birthdate) - { - return true; - } - if(activated != __rhs.activated) - { - return true; - } - if(id != __rhs.id) - { - return true; - } - return false; -} - -bool -tbWebMember::StbFullUserProfile::operator<(const StbFullUserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(zip < __rhs.zip) - { - return true; - } - else if(__rhs.zip < zip) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(birthdate < __rhs.birthdate) - { - return true; - } - else if(__rhs.birthdate < birthdate) - { - return false; - } - if(activated < __rhs.activated) - { - return true; - } - else if(__rhs.activated < activated) - { - return false; - } - if(id < __rhs.id) - { - return true; - } - else if(__rhs.id < id) - { - return false; - } - return false; -} - -void -tbWebMember::StbFullUserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(address); - __os->write(zip); - __os->write(email); - __os->write(birthdate); - __os->write(activated); - __os->write(id); -} - -void -tbWebMember::StbFullUserProfile::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(address); - __is->read(zip); - __is->read(email); - __is->read(birthdate); - __is->read(activated); - __is->read(id); -} - -bool -tbWebMember::sUdbData::operator==(const sUdbData& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -tbWebMember::sUdbData::operator!=(const sUdbData& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(id != __rhs.id) - { - return true; - } - if(nick != __rhs.nick) - { - return true; - } - if(fullname != __rhs.fullname) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(zip != __rhs.zip) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(phone != __rhs.phone) - { - return true; - } - if(mobilephone != __rhs.mobilephone) - { - return true; - } - if(prov != __rhs.prov) - { - return true; - } - if(city != __rhs.city) - { - return true; - } - if(usergender != __rhs.usergender) - { - return true; - } - if(birthdate != __rhs.birthdate) - { - return true; - } - return false; -} - -bool -tbWebMember::sUdbData::operator<(const sUdbData& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(id < __rhs.id) - { - return true; - } - else if(__rhs.id < id) - { - return false; - } - if(nick < __rhs.nick) - { - return true; - } - else if(__rhs.nick < nick) - { - return false; - } - if(fullname < __rhs.fullname) - { - return true; - } - else if(__rhs.fullname < fullname) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(zip < __rhs.zip) - { - return true; - } - else if(__rhs.zip < zip) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(phone < __rhs.phone) - { - return true; - } - else if(__rhs.phone < phone) - { - return false; - } - if(mobilephone < __rhs.mobilephone) - { - return true; - } - else if(__rhs.mobilephone < mobilephone) - { - return false; - } - if(prov < __rhs.prov) - { - return true; - } - else if(__rhs.prov < prov) - { - return false; - } - if(city < __rhs.city) - { - return true; - } - else if(__rhs.city < city) - { - return false; - } - if(usergender < __rhs.usergender) - { - return true; - } - else if(__rhs.usergender < usergender) - { - return false; - } - if(birthdate < __rhs.birthdate) - { - return true; - } - else if(__rhs.birthdate < birthdate) - { - return false; - } - return false; -} - -void -tbWebMember::sUdbData::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(id); - __os->write(nick); - __os->write(fullname); - __os->write(password); - __os->write(email); - __os->write(zip); - __os->write(address); - __os->write(phone); - __os->write(mobilephone); - __os->write(prov); - __os->write(city); - __os->write(usergender); - __os->write(birthdate); -} - -void -tbWebMember::sUdbData::__read(::IceInternal::BasicStream* __is) -{ - __is->read(id); - __is->read(nick); - __is->read(fullname); - __is->read(password); - __is->read(email); - __is->read(zip); - __is->read(address); - __is->read(phone); - __is->read(mobilephone); - __is->read(prov); - __is->read(city); - __is->read(usergender); - __is->read(birthdate); -} - -bool -tbWebMember::SExUdbData::operator==(const SExUdbData& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -tbWebMember::SExUdbData::operator!=(const SExUdbData& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(id != __rhs.id) - { - return true; - } - if(nick != __rhs.nick) - { - return true; - } - if(fullname != __rhs.fullname) - { - return true; - } - if(password != __rhs.password) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(zip != __rhs.zip) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(phone != __rhs.phone) - { - return true; - } - if(mobilephone != __rhs.mobilephone) - { - return true; - } - if(prov != __rhs.prov) - { - return true; - } - if(city != __rhs.city) - { - return true; - } - if(usergender != __rhs.usergender) - { - return true; - } - if(birthdate != __rhs.birthdate) - { - return true; - } - if(district != __rhs.district) - { - return true; - } - if(website != __rhs.website) - { - return true; - } - if(interesting != __rhs.interesting) - { - return true; - } - return false; -} - -bool -tbWebMember::SExUdbData::operator<(const SExUdbData& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(id < __rhs.id) - { - return true; - } - else if(__rhs.id < id) - { - return false; - } - if(nick < __rhs.nick) - { - return true; - } - else if(__rhs.nick < nick) - { - return false; - } - if(fullname < __rhs.fullname) - { - return true; - } - else if(__rhs.fullname < fullname) - { - return false; - } - if(password < __rhs.password) - { - return true; - } - else if(__rhs.password < password) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(zip < __rhs.zip) - { - return true; - } - else if(__rhs.zip < zip) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(phone < __rhs.phone) - { - return true; - } - else if(__rhs.phone < phone) - { - return false; - } - if(mobilephone < __rhs.mobilephone) - { - return true; - } - else if(__rhs.mobilephone < mobilephone) - { - return false; - } - if(prov < __rhs.prov) - { - return true; - } - else if(__rhs.prov < prov) - { - return false; - } - if(city < __rhs.city) - { - return true; - } - else if(__rhs.city < city) - { - return false; - } - if(usergender < __rhs.usergender) - { - return true; - } - else if(__rhs.usergender < usergender) - { - return false; - } - if(birthdate < __rhs.birthdate) - { - return true; - } - else if(__rhs.birthdate < birthdate) - { - return false; - } - if(district < __rhs.district) - { - return true; - } - else if(__rhs.district < district) - { - return false; - } - if(website < __rhs.website) - { - return true; - } - else if(__rhs.website < website) - { - return false; - } - if(interesting < __rhs.interesting) - { - return true; - } - else if(__rhs.interesting < interesting) - { - return false; - } - return false; -} - -void -tbWebMember::SExUdbData::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(id); - __os->write(nick); - __os->write(fullname); - __os->write(password); - __os->write(email); - __os->write(zip); - __os->write(address); - __os->write(phone); - __os->write(mobilephone); - __os->write(prov); - __os->write(city); - __os->write(usergender); - __os->write(birthdate); - __os->write(district); - __os->write(website); - __os->write(interesting); -} - -void -tbWebMember::SExUdbData::__read(::IceInternal::BasicStream* __is) -{ - __is->read(id); - __is->read(nick); - __is->read(fullname); - __is->read(password); - __is->read(email); - __is->read(zip); - __is->read(address); - __is->read(phone); - __is->read(mobilephone); - __is->read(prov); - __is->read(city); - __is->read(usergender); - __is->read(birthdate); - __is->read(district); - __is->read(website); - __is->read(interesting); -} - -bool -tbWebMember::SBLoginInfo::operator==(const SBLoginInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -tbWebMember::SBLoginInfo::operator!=(const SBLoginInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid != __rhs.uid) - { - return true; - } - if(passwd != __rhs.passwd) - { - return true; - } - if(actived != __rhs.actived) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(extraInfo != __rhs.extraInfo) - { - return true; - } - return false; -} - -bool -tbWebMember::SBLoginInfo::operator<(const SBLoginInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(uid < __rhs.uid) - { - return true; - } - else if(__rhs.uid < uid) - { - return false; - } - if(passwd < __rhs.passwd) - { - return true; - } - else if(__rhs.passwd < passwd) - { - return false; - } - if(actived < __rhs.actived) - { - return true; - } - else if(__rhs.actived < actived) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(extraInfo < __rhs.extraInfo) - { - return true; - } - else if(__rhs.extraInfo < extraInfo) - { - return false; - } - return false; -} - -void -tbWebMember::SBLoginInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(uid); - __os->write(passwd); - __os->write(actived); - __os->write(status); - __os->write(extraInfo); -} - -void -tbWebMember::SBLoginInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(uid); - __is->read(passwd); - __is->read(actived); - __is->read(status); - __is->read(extraInfo); -} - -void -tbWebMember::__write(::IceInternal::BasicStream* __os, const ::tbWebMember::SSimpleUserProfile* begin, const ::tbWebMember::SSimpleUserProfile* end, ::tbWebMember::__U__SUserSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -tbWebMember::__read(::IceInternal::BasicStream* __is, ::tbWebMember::SUserSeq& v, ::tbWebMember::__U__SUserSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 3); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -tbWebMember::__write(::IceInternal::BasicStream* __os, const ::tbWebMember::SHalfUserProfile* begin, const ::tbWebMember::SHalfUserProfile* end, ::tbWebMember::__U__HUserSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -tbWebMember::__read(::IceInternal::BasicStream* __is, ::tbWebMember::HUserSeq& v, ::tbWebMember::__U__HUserSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 15); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -tbWebMember::__write(::IceInternal::BasicStream* __os, const ::tbWebMember::StbFullUserProfile* begin, const ::tbWebMember::StbFullUserProfile* end, ::tbWebMember::__U__tbFUserSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -tbWebMember::__read(::IceInternal::BasicStream* __is, ::tbWebMember::tbFUserSeq& v, ::tbWebMember::__U__tbFUserSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 10); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -tbWebMember::__addObject(const UserProfilePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -tbWebMember::__usesClasses(const UserProfilePtr& p) -{ - return p->__usesClasses(); -} - -void -tbWebMember::__decRefUnsafe(const UserProfilePtr& p) -{ - p->__decRefUnsafe(); -} - -void -tbWebMember::__clearHandleUnsafe(UserProfilePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::tbWebMember::UserProfile::GetSimpleUserProfile(const ::std::string& uid, ::tbWebMember::SSimpleUserProfile& userProfiles, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__tbWebMember__UserProfile__GetSimpleUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::tbWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::tbWebMember::UserProfile*>(__delBase.get()); - return __del->GetSimpleUserProfile(uid, userProfiles, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::tbWebMember::UserProfile::GetFullUserProfile(const ::std::string& uid, ::tbWebMember::StbFullUserProfile& userProfiles, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__tbWebMember__UserProfile__GetFullUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::tbWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::tbWebMember::UserProfile*>(__delBase.get()); - return __del->GetFullUserProfile(uid, userProfiles, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::tbWebMember::UserProfile::GetUidByPenname(const ::std::string& penName, ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__tbWebMember__UserProfile__GetUidByPenname_name); - __delBase = __getDelegate(); - ::IceDelegate::tbWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::tbWebMember::UserProfile*>(__delBase.get()); - return __del->GetUidByPenname(penName, userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::tbWebMember::UserProfile::GetUserPwd(const ::std::string& uid, ::tbWebMember::stbuserPwd& pwd, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__tbWebMember__UserProfile__GetUserPwd_name); - __delBase = __getDelegate(); - ::IceDelegate::tbWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::tbWebMember::UserProfile*>(__delBase.get()); - return __del->GetUserPwd(uid, pwd, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::tbWebMember::UserProfile::CheckUser(const ::std::string& uid, ::tbWebMember::stbuserStatus& st, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__tbWebMember__UserProfile__CheckUser_name); - __delBase = __getDelegate(); - ::IceDelegate::tbWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::tbWebMember::UserProfile*>(__delBase.get()); - return __del->CheckUser(uid, st, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::tbWebMember::UserProfile::GetUserInfo(const ::std::string& uid, ::tbWebMember::stbuserInfo& info, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__tbWebMember__UserProfile__GetUserInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::tbWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::tbWebMember::UserProfile*>(__delBase.get()); - return __del->GetUserInfo(uid, info, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::tbWebMember::UserProfile::GetTName(const ::std::string& uid, ::std::string& tname, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__tbWebMember__UserProfile__GetTName_name); - __delBase = __getDelegate(); - ::IceDelegate::tbWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::tbWebMember::UserProfile*>(__delBase.get()); - return __del->GetTName(uid, tname, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::tbWebMember::UserProfile::GetUDBData(const ::std::string& uid, ::tbWebMember::sUdbData& udbInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__tbWebMember__UserProfile__GetUDBData_name); - __delBase = __getDelegate(); - ::IceDelegate::tbWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::tbWebMember::UserProfile*>(__delBase.get()); - return __del->GetUDBData(uid, udbInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::tbWebMember::UserProfile::GetExUDBData(const ::std::string& uid, ::tbWebMember::SExUdbData& exudbInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__tbWebMember__UserProfile__GetExUDBData_name); - __delBase = __getDelegate(); - ::IceDelegate::tbWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::tbWebMember::UserProfile*>(__delBase.get()); - return __del->GetExUDBData(uid, exudbInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::tbWebMember::UserProfile::GetRates(const ::std::string& uid, ::Ice::Int& buyrates, ::Ice::Int& sellrates, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__tbWebMember__UserProfile__GetRates_name); - __delBase = __getDelegate(); - ::IceDelegate::tbWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::tbWebMember::UserProfile*>(__delBase.get()); - return __del->GetRates(uid, buyrates, sellrates, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::tbWebMember::UserProfile::GetBasicLoginInfo(const ::std::string& uid, ::tbWebMember::SBLoginInfo& info, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__tbWebMember__UserProfile__GetBasicLoginInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::tbWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::tbWebMember::UserProfile*>(__delBase.get()); - return __del->GetBasicLoginInfo(uid, info, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::tbWebMember::UserProfile::CheckUserWebToken(const ::std::string& uid, const ::std::string& token, ::std::string& reason, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__tbWebMember__UserProfile__CheckUserWebToken_name); - __delBase = __getDelegate(); - ::IceDelegate::tbWebMember::UserProfile* __del = dynamic_cast< ::IceDelegate::tbWebMember::UserProfile*>(__delBase.get()); - return __del->CheckUserWebToken(uid, token, reason, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::tbWebMember::UserProfile::ice_staticId() -{ - return ::tbWebMember::UserProfile::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::tbWebMember::UserProfile::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::tbWebMember::UserProfile); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::tbWebMember::UserProfile::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::tbWebMember::UserProfile); -} - -bool -IceProxy::tbWebMember::operator==(const ::IceProxy::tbWebMember::UserProfile& l, const ::IceProxy::tbWebMember::UserProfile& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::tbWebMember::operator!=(const ::IceProxy::tbWebMember::UserProfile& l, const ::IceProxy::tbWebMember::UserProfile& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::tbWebMember::operator<(const ::IceProxy::tbWebMember::UserProfile& l, const ::IceProxy::tbWebMember::UserProfile& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::tbWebMember::operator<=(const ::IceProxy::tbWebMember::UserProfile& l, const ::IceProxy::tbWebMember::UserProfile& r) -{ - return l < r || l == r; -} - -bool -IceProxy::tbWebMember::operator>(const ::IceProxy::tbWebMember::UserProfile& l, const ::IceProxy::tbWebMember::UserProfile& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::tbWebMember::operator>=(const ::IceProxy::tbWebMember::UserProfile& l, const ::IceProxy::tbWebMember::UserProfile& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::tbWebMember::UserProfile::GetSimpleUserProfile(const ::std::string& uid, ::tbWebMember::SSimpleUserProfile& userProfiles, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __tbWebMember__UserProfile__GetSimpleUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userProfiles.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::tbWebMember::UserProfile::GetFullUserProfile(const ::std::string& uid, ::tbWebMember::StbFullUserProfile& userProfiles, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __tbWebMember__UserProfile__GetFullUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userProfiles.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::tbWebMember::UserProfile::GetUidByPenname(const ::std::string& penName, ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __tbWebMember__UserProfile__GetUidByPenname_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(penName); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::tbWebMember::UserProfile::GetUserPwd(const ::std::string& uid, ::tbWebMember::stbuserPwd& pwd, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __tbWebMember__UserProfile__GetUserPwd_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - pwd.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::tbWebMember::UserProfile::CheckUser(const ::std::string& uid, ::tbWebMember::stbuserStatus& st, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __tbWebMember__UserProfile__CheckUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - st.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::tbWebMember::UserProfile::GetUserInfo(const ::std::string& uid, ::tbWebMember::stbuserInfo& info, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __tbWebMember__UserProfile__GetUserInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - info.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::tbWebMember::UserProfile::GetTName(const ::std::string& uid, ::std::string& tname, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __tbWebMember__UserProfile__GetTName_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(tname); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::tbWebMember::UserProfile::GetUDBData(const ::std::string& uid, ::tbWebMember::sUdbData& udbInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __tbWebMember__UserProfile__GetUDBData_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - udbInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::tbWebMember::UserProfile::GetExUDBData(const ::std::string& uid, ::tbWebMember::SExUdbData& exudbInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __tbWebMember__UserProfile__GetExUDBData_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - exudbInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::tbWebMember::UserProfile::GetRates(const ::std::string& uid, ::Ice::Int& buyrates, ::Ice::Int& sellrates, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __tbWebMember__UserProfile__GetRates_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(buyrates); - __is->read(sellrates); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::tbWebMember::UserProfile::GetBasicLoginInfo(const ::std::string& uid, ::tbWebMember::SBLoginInfo& info, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __tbWebMember__UserProfile__GetBasicLoginInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - info.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::tbWebMember::UserProfile::CheckUserWebToken(const ::std::string& uid, const ::std::string& token, ::std::string& reason, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __tbWebMember__UserProfile__CheckUserWebToken_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(token); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(reason); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::tbWebMember::UserProfile::GetSimpleUserProfile(const ::std::string& uid, ::tbWebMember::SSimpleUserProfile& userProfiles, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __tbWebMember__UserProfile__GetSimpleUserProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::tbWebMember::UserProfile* __servant = dynamic_cast< ::tbWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetSimpleUserProfile(uid, userProfiles, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::tbWebMember::UserProfile::GetFullUserProfile(const ::std::string& uid, ::tbWebMember::StbFullUserProfile& userProfiles, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __tbWebMember__UserProfile__GetFullUserProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::tbWebMember::UserProfile* __servant = dynamic_cast< ::tbWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetFullUserProfile(uid, userProfiles, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::tbWebMember::UserProfile::GetUidByPenname(const ::std::string& penName, ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __tbWebMember__UserProfile__GetUidByPenname_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::tbWebMember::UserProfile* __servant = dynamic_cast< ::tbWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUidByPenname(penName, userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::tbWebMember::UserProfile::GetUserPwd(const ::std::string& uid, ::tbWebMember::stbuserPwd& pwd, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __tbWebMember__UserProfile__GetUserPwd_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::tbWebMember::UserProfile* __servant = dynamic_cast< ::tbWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUserPwd(uid, pwd, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::tbWebMember::UserProfile::CheckUser(const ::std::string& uid, ::tbWebMember::stbuserStatus& st, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __tbWebMember__UserProfile__CheckUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::tbWebMember::UserProfile* __servant = dynamic_cast< ::tbWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->CheckUser(uid, st, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::tbWebMember::UserProfile::GetUserInfo(const ::std::string& uid, ::tbWebMember::stbuserInfo& info, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __tbWebMember__UserProfile__GetUserInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::tbWebMember::UserProfile* __servant = dynamic_cast< ::tbWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUserInfo(uid, info, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::tbWebMember::UserProfile::GetTName(const ::std::string& uid, ::std::string& tname, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __tbWebMember__UserProfile__GetTName_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::tbWebMember::UserProfile* __servant = dynamic_cast< ::tbWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetTName(uid, tname, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::tbWebMember::UserProfile::GetUDBData(const ::std::string& uid, ::tbWebMember::sUdbData& udbInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __tbWebMember__UserProfile__GetUDBData_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::tbWebMember::UserProfile* __servant = dynamic_cast< ::tbWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUDBData(uid, udbInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::tbWebMember::UserProfile::GetExUDBData(const ::std::string& uid, ::tbWebMember::SExUdbData& exudbInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __tbWebMember__UserProfile__GetExUDBData_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::tbWebMember::UserProfile* __servant = dynamic_cast< ::tbWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetExUDBData(uid, exudbInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::tbWebMember::UserProfile::GetRates(const ::std::string& uid, ::Ice::Int& buyrates, ::Ice::Int& sellrates, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __tbWebMember__UserProfile__GetRates_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::tbWebMember::UserProfile* __servant = dynamic_cast< ::tbWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetRates(uid, buyrates, sellrates, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::tbWebMember::UserProfile::GetBasicLoginInfo(const ::std::string& uid, ::tbWebMember::SBLoginInfo& info, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __tbWebMember__UserProfile__GetBasicLoginInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::tbWebMember::UserProfile* __servant = dynamic_cast< ::tbWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetBasicLoginInfo(uid, info, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::tbWebMember::UserProfile::CheckUserWebToken(const ::std::string& uid, const ::std::string& token, ::std::string& reason, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __tbWebMember__UserProfile__CheckUserWebToken_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::tbWebMember::UserProfile* __servant = dynamic_cast< ::tbWebMember::UserProfile*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->CheckUserWebToken(uid, token, reason, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -tbWebMember::UserProfile::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __tbWebMember__UserProfile_ids[2] = -{ - "::Ice::Object", - "::tbWebMember::UserProfile" -}; - -bool -tbWebMember::UserProfile::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__tbWebMember__UserProfile_ids, __tbWebMember__UserProfile_ids + 2, _s); -} - -::std::vector< ::std::string> -tbWebMember::UserProfile::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__tbWebMember__UserProfile_ids[0], &__tbWebMember__UserProfile_ids[2]); -} - -const ::std::string& -tbWebMember::UserProfile::ice_id(const ::Ice::Current&) const -{ - return __tbWebMember__UserProfile_ids[1]; -} - -const ::std::string& -tbWebMember::UserProfile::ice_staticId() -{ - return __tbWebMember__UserProfile_ids[1]; -} - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::___GetSimpleUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::tbWebMember::SSimpleUserProfile userProfiles; - ::Ice::Int __ret = GetSimpleUserProfile(uid, userProfiles, __current); - userProfiles.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::___GetFullUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::tbWebMember::StbFullUserProfile userProfiles; - ::Ice::Int __ret = GetFullUserProfile(uid, userProfiles, __current); - userProfiles.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::___GetUidByPenname(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string penName; - __is->read(penName); - ::std::string userId; - ::Ice::Int __ret = GetUidByPenname(penName, userId, __current); - __os->write(userId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::___GetUserPwd(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::tbWebMember::stbuserPwd pwd; - ::Ice::Int __ret = GetUserPwd(uid, pwd, __current); - pwd.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::___CheckUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::tbWebMember::stbuserStatus st; - ::Ice::Int __ret = CheckUser(uid, st, __current); - st.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::___GetUserInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::tbWebMember::stbuserInfo info; - ::Ice::Int __ret = GetUserInfo(uid, info, __current); - info.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::___GetTName(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::std::string tname; - ::Ice::Int __ret = GetTName(uid, tname, __current); - __os->write(tname); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::___GetUDBData(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::tbWebMember::sUdbData udbInfo; - ::Ice::Int __ret = GetUDBData(uid, udbInfo, __current); - udbInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::___GetExUDBData(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::tbWebMember::SExUdbData exudbInfo; - ::Ice::Int __ret = GetExUDBData(uid, exudbInfo, __current); - exudbInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::___GetRates(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::Int buyrates; - ::Ice::Int sellrates; - ::Ice::Int __ret = GetRates(uid, buyrates, sellrates, __current); - __os->write(buyrates); - __os->write(sellrates); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::___GetBasicLoginInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::tbWebMember::SBLoginInfo info; - ::Ice::Int __ret = GetBasicLoginInfo(uid, info, __current); - info.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::___CheckUserWebToken(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string token; - __is->read(uid); - __is->read(token); - ::std::string reason; - ::Ice::Int __ret = CheckUserWebToken(uid, token, reason, __current); - __os->write(reason); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __tbWebMember__UserProfile_all[] = -{ - "CheckUser", - "CheckUserWebToken", - "GetBasicLoginInfo", - "GetExUDBData", - "GetFullUserProfile", - "GetRates", - "GetSimpleUserProfile", - "GetTName", - "GetUDBData", - "GetUidByPenname", - "GetUserInfo", - "GetUserPwd", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -tbWebMember::UserProfile::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__tbWebMember__UserProfile_all, __tbWebMember__UserProfile_all + 16, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __tbWebMember__UserProfile_all) - { - case 0: - { - return ___CheckUser(in, current); - } - case 1: - { - return ___CheckUserWebToken(in, current); - } - case 2: - { - return ___GetBasicLoginInfo(in, current); - } - case 3: - { - return ___GetExUDBData(in, current); - } - case 4: - { - return ___GetFullUserProfile(in, current); - } - case 5: - { - return ___GetRates(in, current); - } - case 6: - { - return ___GetSimpleUserProfile(in, current); - } - case 7: - { - return ___GetTName(in, current); - } - case 8: - { - return ___GetUDBData(in, current); - } - case 9: - { - return ___GetUidByPenname(in, current); - } - case 10: - { - return ___GetUserInfo(in, current); - } - case 11: - { - return ___GetUserPwd(in, current); - } - case 12: - { - return ___ice_id(in, current); - } - case 13: - { - return ___ice_ids(in, current); - } - case 14: - { - return ___ice_isA(in, current); - } - case 15: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -tbWebMember::UserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -tbWebMember::UserProfile::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -tbWebMember::UserProfile::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type tbWebMember::UserProfile was not generated with stream support"; - throw ex; -} - -void -tbWebMember::UserProfile::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type tbWebMember::UserProfile was not generated with stream support"; - throw ex; -} - -void -tbWebMember::__patch__UserProfilePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::tbWebMember::UserProfilePtr* p = static_cast< ::tbWebMember::UserProfilePtr*>(__addr); - assert(p); - *p = ::tbWebMember::UserProfilePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::tbWebMember::UserProfile::ice_staticId(); - throw e; - } -} - -bool -tbWebMember::operator==(const ::tbWebMember::UserProfile& l, const ::tbWebMember::UserProfile& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -tbWebMember::operator!=(const ::tbWebMember::UserProfile& l, const ::tbWebMember::UserProfile& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -tbWebMember::operator<(const ::tbWebMember::UserProfile& l, const ::tbWebMember::UserProfile& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -tbWebMember::operator<=(const ::tbWebMember::UserProfile& l, const ::tbWebMember::UserProfile& r) -{ - return l < r || l == r; -} - -bool -tbWebMember::operator>(const ::tbWebMember::UserProfile& l, const ::tbWebMember::UserProfile& r) -{ - return !(l < r) && !(l == r); -} - -bool -tbWebMember::operator>=(const ::tbWebMember::UserProfile& l, const ::tbWebMember::UserProfile& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/tbbdb_pack.cpp b/features/aliww/source/tbbdb_pack.cpp deleted file mode 100644 index 536b221..0000000 --- a/features/aliww/source/tbbdb_pack.cpp +++ /dev/null @@ -1,370 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tbbdb_pack.cpp -// Date: 2011-01-30 12:50:11 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "tbbdb_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SBdbtribe& sBdbtribe ) -{ - uint8_t nFieldNum = 25; - do { - if(sBdbtribe.m_memberLimit == 200) - nFieldNum--; - else - break; - if(sBdbtribe.m_groupId == 0) - nFieldNum--; - else - break; - if(sBdbtribe.m_webTid == "") - nFieldNum--; - else - break; - } while(0); - cPackData << nFieldNum; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_tribeid; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_catid; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_membertimes; - cPackData << FT_UINT16; - cPackData << sBdbtribe.m_checkmode; - cPackData << FT_UINT8; - cPackData << sBdbtribe.m_allowvisitor; - cPackData << FT_UINT8; - cPackData << sBdbtribe.m_forbidsearch; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_groupstamp; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_blackstamp; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_blacknum; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_onlinetime; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_onlineactdegree; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_chatactdegree; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_rewardactdegree; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_totalactdegree; - cPackData << FT_STRING; - cPackData << sBdbtribe.m_name; - cPackData << FT_STRING; - cPackData << sBdbtribe.m_owner; - cPackData << FT_STRING; - cPackData << sBdbtribe.m_desc; - cPackData << FT_STRING; - cPackData << sBdbtribe.m_bulletin; - cPackData << FT_STRING; - cPackData << sBdbtribe.m_password; - cPackData << FT_STRING; - cPackData << sBdbtribe.m_validcode; - cPackData << FT_STRING; - cPackData << sBdbtribe.m_keyword; - cPackData << FT_STRING; - cPackData << sBdbtribe.m_extsign; - if(nFieldNum == 22) - return cPackData; - cPackData << FT_STRING; - cPackData << sBdbtribe.m_webTid; - if(nFieldNum == 23) - return cPackData; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_groupId; - if(nFieldNum == 24) - return cPackData; - cPackData << FT_UINT32; - cPackData << sBdbtribe.m_memberLimit; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SBdbtribe& sBdbtribe ) -{ - uint8_t num; - cPackData >> num; - if(num < 22) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_tribeid; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_catid; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_membertimes; - cPackData >> field; - if(field.m_baseType != FT_UINT16) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_checkmode; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_allowvisitor; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_forbidsearch; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_groupstamp; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_blackstamp; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_blacknum; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_onlinetime; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_onlineactdegree; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_chatactdegree; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_rewardactdegree; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_totalactdegree; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_name; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_owner; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_desc; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_bulletin; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_password; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_validcode; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_keyword; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_extsign; - try - { - if(num < 23) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_webTid; - if(num < 24) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_groupId; - if(num < 25) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribe.m_memberLimit; - } - catch(PACKRETCODE) - { - return cPackData; - } - for(int i = 25; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const SBdbtribemembernode& sBdbtribemembernode ) -{ - uint8_t nFieldNum = 21; - do { - if(sBdbtribemembernode.m_popupflag == 0) - nFieldNum--; - else - break; - } while(0); - cPackData << nFieldNum; - cPackData << FT_UINT8; - cPackData << sBdbtribemembernode.m_tribelevel; - cPackData << FT_UINT8; - cPackData << sBdbtribemembernode.m_trbstatus; - cPackData << FT_UINT32; - cPackData << sBdbtribemembernode.m_lastmsgid; - cPackData << FT_UINT32; - cPackData << sBdbtribemembernode.m_logontime; - cPackData << FT_STRING; - cPackData << sBdbtribemembernode.m_userid; - cPackData << FT_STRING; - cPackData << sBdbtribemembernode.m_username; - cPackData << FT_UINT8; - cPackData << sBdbtribemembernode.m_mobilebindflag; - cPackData << FT_STRING; - cPackData << sBdbtribemembernode.m_mobileno; - cPackData << FT_STRING; - cPackData << sBdbtribemembernode.m_bindmobile; - cPackData << FT_UINT32; - cPackData << sBdbtribemembernode.m_lastchattime; - cPackData << FT_UINT32; - cPackData << sBdbtribemembernode.m_onlinetime; - cPackData << FT_UINT32; - cPackData << sBdbtribemembernode.m_onlineactive; - cPackData << FT_UINT32; - cPackData << sBdbtribemembernode.m_chatactive; - cPackData << FT_UINT32; - cPackData << sBdbtribemembernode.m_rewardactive; - cPackData << FT_UINT32; - cPackData << sBdbtribemembernode.m_totalactive; - cPackData << FT_UINT32; - cPackData << sBdbtribemembernode.m_addtimes; - cPackData << FT_STRING; - cPackData << sBdbtribemembernode.m_version; - cPackData << FT_UINT64; - cPackData << sBdbtribemembernode.m_groupid; - cPackData << FT_UINT8; - cPackData << sBdbtribemembernode.m_starmember; - cPackData << FT_UINT8; - cPackData << sBdbtribemembernode.m_openflag; - if(nFieldNum == 20) - return cPackData; - cPackData << FT_UINT8; - cPackData << sBdbtribemembernode.m_popupflag; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SBdbtribemembernode& sBdbtribemembernode ) -{ - uint8_t num; - cPackData >> num; - if(num < 20) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_tribelevel; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_trbstatus; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_lastmsgid; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_logontime; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_userid; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_username; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_mobilebindflag; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_mobileno; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_bindmobile; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_lastchattime; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_onlinetime; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_onlineactive; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_chatactive; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_rewardactive; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_totalactive; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_addtimes; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_version; - cPackData >> field; - if(field.m_baseType != FT_UINT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_groupid; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_starmember; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_openflag; - try - { - if(num < 21) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sBdbtribemembernode.m_popupflag; - } - catch(PACKRETCODE) - { - return cPackData; - } - for(int i = 21; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const SBdbtribemembernodevector& sBdbtribemembernodevector ) -{ - uint8_t nFieldNum = 1; - cPackData << nFieldNum; - cPackData << FT_VECTOR; - cPackData << FT_STRUCT; - { - uint32_t nLen = sBdbtribemembernodevector.m_nodes.size(); - cPackData << nLen; - VECTOR< SBdbtribemembernode >::const_iterator itr; - for(itr = sBdbtribemembernodevector.m_nodes.begin(); itr != sBdbtribemembernodevector.m_nodes.end(); ++itr) - { - cPackData << (*itr); - } - } - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SBdbtribemembernodevector& sBdbtribemembernodevector ) -{ - uint8_t num; - cPackData >> num; - if(num < 1) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_VECTOR) throw PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - cPackData >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - sBdbtribemembernodevector.m_nodes.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SBdbtribemembernode tmpVal; - cPackData >> tmpVal; - sBdbtribemembernodevector.m_nodes.push_back(tmpVal); - } - } - for(int i = 1; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - diff --git a/features/aliww/source/tbsc_pack.cpp b/features/aliww/source/tbsc_pack.cpp deleted file mode 100644 index 15d9e1b..0000000 --- a/features/aliww/source/tbsc_pack.cpp +++ /dev/null @@ -1,8457 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tbsc_pack.cpp -// Date: 2011-01-30 12:48:44 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "tbsc_pack.h" - -void CImReqGetTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GET_TRIBEGROUP; - m_scHead.PackData(strData); -} - -void CImReqGetTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_tribeIdList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_tribeIdList.cbegin(); itr != m_tribeIdList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetTribegroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeIdList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_tribeIdList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetTribegroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GET_TRIBEGROUP; - m_scHead.PackData(strData); -} - -void CImRspGetTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_memberGroupList.size(); - (*this) << nLen; - VECTOR< SMemberGroup >::const_iterator itr; - for(itr = m_memberGroupList.cbegin(); itr != m_memberGroupList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetTribegroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_memberGroupList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SMemberGroup tmpVal; - (*this) >> tmpVal; - m_memberGroupList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetTribegroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqAddTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ADD_TRIBEGROUP; - m_scHead.PackData(strData); -} - -void CImReqAddTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_groupName; - (*this) << FT_INT64; - (*this) << m_parentId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAddTribegroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAddTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupName; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_parentId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAddTribegroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspAddTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_ADD_TRIBEGROUP; - m_scHead.PackData(strData); -} - -void CImRspAddTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRUCT; - (*this) << m_memberGroup; - (*this) << FT_UINT32; - (*this) << m_groupStamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspAddTribegroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspAddTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberGroup; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspAddTribegroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqUpdateTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_UPDATE_TRIBEGROUP; - m_scHead.PackData(strData); -} - -void CImReqUpdateTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_INT64; - (*this) << m_groupId; - (*this) << FT_STRING; - (*this) << m_groupName; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqUpdateTribegroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqUpdateTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupName; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqUpdateTribegroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspUpdateTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_UPDATE_TRIBEGROUP; - m_scHead.PackData(strData); -} - -void CImRspUpdateTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRUCT; - (*this) << m_memberGroup; - (*this) << FT_UINT32; - (*this) << m_groupStamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspUpdateTribegroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspUpdateTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberGroup; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspUpdateTribegroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqDelTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_DEL_TRIBEGROUP; - m_scHead.PackData(strData); -} - -void CImReqDelTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqDelTribegroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqDelTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqDelTribegroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspDelTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_DEL_TRIBEGROUP; - m_scHead.PackData(strData); -} - -void CImRspDelTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_INT64; - (*this) << m_groupId; - (*this) << FT_UINT32; - (*this) << m_groupStamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspDelTribegroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspDelTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspDelTribegroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqShallowLogintribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SHALLOW_LOGINTRIBE; - m_scHead.PackData(strData); -} - -void CImReqShallowLogintribe::PackBody(string& strData) -{ -} - -void CImReqShallowLogintribe::PackData(string& strData, const string& strKey) -{ - PackHead(strData); -} - -PACKRETCODE CImReqShallowLogintribe::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CImReqShallowLogintribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - return PACK_RIGHT; -} - -void CImRspShallowLogintribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SHALLOW_LOGINTRIBE; - m_scHead.PackData(strData); -} - -void CImRspShallowLogintribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tribeIdList.size(); - (*this) << nLen; - VECTOR< STribeId >::const_iterator itr; - for(itr = m_tribeIdList.cbegin(); itr != m_tribeIdList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspShallowLogintribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspShallowLogintribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeIdList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeId tmpVal; - (*this) >> tmpVal; - m_tribeIdList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspShallowLogintribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqDeepLogintribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_DEEP_LOGINTRIBE; - m_scHead.PackData(strData); -} - -void CImReqDeepLogintribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqDeepLogintribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqDeepLogintribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqDeepLogintribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspDeepLogintribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_DEEP_LOGINTRIBE; - m_scHead.PackData(strData); -} - -void CImRspDeepLogintribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRUCT; - (*this) << m_tribeInfo; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tmStatusList.size(); - (*this) << nLen; - VECTOR< STmStatus >::const_iterator itr; - for(itr = m_tmStatusList.cbegin(); itr != m_tmStatusList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_memberStamp; - (*this) << FT_STRUCT; - (*this) << m_extInfo; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspDeepLogintribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspDeepLogintribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeInfo; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tmStatusList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STmStatus tmpVal; - (*this) >> tmpVal; - m_tmStatusList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberStamp; - try - { - if(num < 6) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extInfo; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspDeepLogintribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqInviteTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_INVITE_TRIBE; - m_scHead.PackData(strData); -} - -void CImReqInviteTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqInviteTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqInviteTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqInviteTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspInviteTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_INVITE_TRIBE; - m_scHead.PackData(strData); -} - -void CImRspInviteTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspInviteTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspInviteTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspInviteTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfInviteTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_INVITE_TRIBE; - m_scHead.PackData(strData); -} - -void CImNtfInviteTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)7; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_managerId; - (*this) << FT_STRING; - (*this) << m_validateCode; - (*this) << FT_STRING; - (*this) << m_name; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_INT64; - (*this) << m_groupId; - (*this) << FT_UINT8; - (*this) << m_flag; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfInviteTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfInviteTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 6) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_managerId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_validateCode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_name; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - try - { - if(num < 7) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_flag; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfInviteTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqOninviteJointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ONINVITE_JOINTRIBE; - m_scHead.PackData(strData); -} - -void CImReqOninviteJointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_managerId; - (*this) << FT_STRING; - (*this) << m_validateCode; - (*this) << FT_INT64; - (*this) << m_groupId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_recommendId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqOninviteJointribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqOninviteJointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_managerId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_validateCode; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - try - { - if(num < 5) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - if(num < 6) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_recommendId; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqOninviteJointribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspOninviteJointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_ONINVITE_JOINTRIBE; - m_scHead.PackData(strData); -} - -void CImRspOninviteJointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspOninviteJointribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspOninviteJointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspOninviteJointribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqAskJointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ASK_JOINTRIBE; - m_scHead.PackData(strData); -} - -void CImReqAskJointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_info; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAskJointribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAskJointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_info; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAskJointribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspAskJointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_ASK_JOINTRIBE; - m_scHead.PackData(strData); -} - -void CImRspAskJointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_tribeName; - (*this) << FT_STRING; - (*this) << m_extSign; - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspAskJointribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspAskJointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeName; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extSign; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspAskJointribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfAskJointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_ASK_JOINTRIBE; - m_scHead.PackData(strData); -} - -void CImNtfAskJointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_info; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfAskJointribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfAskJointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_info; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfAskJointribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqExamAskjointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_EXAM_ASKJOINTRIBE; - m_scHead.PackData(strData); -} - -void CImReqExamAskjointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_info; - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqExamAskjointribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqExamAskjointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_info; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqExamAskjointribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspExamAskjointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_EXAM_ASKJOINTRIBE; - m_scHead.PackData(strData); -} - -void CImRspExamAskjointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspExamAskjointribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspExamAskjointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspExamAskjointribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChglevelTribemember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHGLEVEL_TRIBEMEMBER; - m_scHead.PackData(strData); -} - -void CImReqChglevelTribemember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_UINT8; - (*this) << m_level; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChglevelTribemember::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChglevelTribemember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_level; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChglevelTribemember::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChglevelTribemember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHGLEVEL_TRIBEMEMBER; - m_scHead.PackData(strData); -} - -void CImRspChglevelTribemember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_UINT8; - (*this) << m_level; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChglevelTribemember::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChglevelTribemember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_level; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChglevelTribemember::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChgTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHG_TRIBEGROUP; - m_scHead.PackData(strData); -} - -void CImReqChgTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChgTribegroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChgTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChgTribegroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChgTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHG_TRIBEGROUP; - m_scHead.PackData(strData); -} - -void CImRspChgTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChgTribegroup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChgTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChgTribegroup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqAddStarmember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ADD_STARMEMBER; - m_scHead.PackData(strData); -} - -void CImReqAddStarmember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAddStarmember::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAddStarmember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAddStarmember::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspAddStarmember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_ADD_STARMEMBER; - m_scHead.PackData(strData); -} - -void CImRspAddStarmember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspAddStarmember::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspAddStarmember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspAddStarmember::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqDelStarmember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_DEL_STARMEMBER; - m_scHead.PackData(strData); -} - -void CImReqDelStarmember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqDelStarmember::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqDelStarmember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqDelStarmember::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspDelStarmember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_DEL_STARMEMBER; - m_scHead.PackData(strData); -} - -void CImRspDelStarmember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspDelStarmember::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspDelStarmember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspDelStarmember::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqDelTribemember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_DEL_TRIBEMEMBER; - m_scHead.PackData(strData); -} - -void CImReqDelTribemember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_STRING; - (*this) << m_remark; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqDelTribemember::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqDelTribemember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqDelTribemember::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspDelTribemember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_DEL_TRIBEMEMBER; - m_scHead.PackData(strData); -} - -void CImRspDelTribemember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspDelTribemember::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspDelTribemember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspDelTribemember::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGetTribeblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GET_TRIBEBLACK; - m_scHead.PackData(strData); -} - -void CImReqGetTribeblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT32; - (*this) << m_blackStamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetTribeblack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetTribeblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetTribeblack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetTribeblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GET_TRIBEBLACK; - m_scHead.PackData(strData); -} - -void CImRspGetTribeblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_blackIdList.size(); - (*this) << nLen; - VECTOR< STribeBlack >::const_iterator itr; - for(itr = m_blackIdList.cbegin(); itr != m_blackIdList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_blackStamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetTribeblack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetTribeblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_blackIdList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeBlack tmpVal; - (*this) >> tmpVal; - m_blackIdList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetTribeblack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqAddTribeblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_ADD_TRIBEBLACK; - m_scHead.PackData(strData); -} - -void CImReqAddTribeblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_blackUid; - (*this) << FT_STRING; - (*this) << m_remark; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAddTribeblack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAddTribeblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackUid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAddTribeblack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspAddTribeblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_ADD_TRIBEBLACK; - m_scHead.PackData(strData); -} - -void CImRspAddTribeblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_blackUid; - (*this) << FT_UINT32; - (*this) << m_blackStamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspAddTribeblack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspAddTribeblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackUid; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspAddTribeblack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqDelTribeblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_DEL_TRIBEBLACK; - m_scHead.PackData(strData); -} - -void CImReqDelTribeblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_blackUid; - (*this) << FT_STRING; - (*this) << m_remark; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqDelTribeblack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqDelTribeblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackUid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqDelTribeblack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspDelTribeblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_DEL_TRIBEBLACK; - m_scHead.PackData(strData); -} - -void CImRspDelTribeblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_blackUid; - (*this) << FT_UINT32; - (*this) << m_blackStamp; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspDelTribeblack::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspDelTribeblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackUid; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspDelTribeblack::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqQuitTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_QUIT_TRIBE; - m_scHead.PackData(strData); -} - -void CImReqQuitTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_remark; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqQuitTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqQuitTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqQuitTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspQuitTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_QUIT_TRIBE; - m_scHead.PackData(strData); -} - -void CImRspQuitTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspQuitTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspQuitTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspQuitTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqCloseTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CLOSE_TRIBE; - m_scHead.PackData(strData); -} - -void CImReqCloseTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_remark; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqCloseTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqCloseTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqCloseTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspCloseTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CLOSE_TRIBE; - m_scHead.PackData(strData); -} - -void CImRspCloseTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspCloseTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspCloseTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspCloseTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGetTribeinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GET_TRIBEINFO; - m_scHead.PackData(strData); -} - -void CImReqGetTribeinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetTribeinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetTribeinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetTribeinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetTribeinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GET_TRIBEINFO; - m_scHead.PackData(strData); -} - -void CImRspGetTribeinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRUCT; - (*this) << m_tribeInfo; - (*this) << FT_STRUCT; - (*this) << m_extInfo; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetTribeinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetTribeinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeInfo; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extInfo; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetTribeinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqModifyTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_MODIFY_TRIBE; - m_scHead.PackData(strData); -} - -void CImReqModifyTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_items.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqModifyTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqModifyTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_items[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqModifyTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspModifyTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_MODIFY_TRIBE; - m_scHead.PackData(strData); -} - -void CImRspModifyTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_items.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspModifyTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspModifyTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_items[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspModifyTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGetTribememberinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GET_TRIBEMEMBERINFO; - m_scHead.PackData(strData); -} - -void CImReqGetTribememberinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqGetTribememberinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqGetTribememberinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetTribememberinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspGetTribememberinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GET_TRIBEMEMBERINFO; - m_scHead.PackData(strData); -} - -void CImRspGetTribememberinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tmInfoList.size(); - (*this) << nLen; - VECTOR< STmInfo >::const_iterator itr; - for(itr = m_tmInfoList.cbegin(); itr != m_tmInfoList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetTribememberinfo::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetTribememberinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tmInfoList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STmInfo tmpVal; - (*this) >> tmpVal; - m_tmInfoList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetTribememberinfo::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSendTribemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SEND_TRIBEMSG; - m_scHead.PackData(strData); -} - -void CImReqSendTribemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_msgType; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSendTribemsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSendTribemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgType; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSendTribemsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspSendTribemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SEND_TRIBEMSG; - m_scHead.PackData(strData); -} - -void CImRspSendTribemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSendTribemsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSendTribemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSendTribemsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfTribemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_TRIBEMSG; - m_scHead.PackData(strData); -} - -void CImNtfTribemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_offlineFlag; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tribeMsgList.size(); - (*this) << nLen; - VECTOR< STribeMsg >::const_iterator itr; - for(itr = m_tribeMsgList.cbegin(); itr != m_tribeMsgList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfTribemsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfTribemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_offlineFlag; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeMsgList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeMsg tmpVal; - (*this) >> tmpVal; - m_tribeMsgList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfTribemsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfTribeSysmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_TRIBE_SYSMSG; - m_scHead.PackData(strData); -} - -void CImNtfTribeSysmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_offlineFlag; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tribeSysmsgList.size(); - (*this) << nLen; - VECTOR< STribeSysmsg >::const_iterator itr; - for(itr = m_tribeSysmsgList.cbegin(); itr != m_tribeSysmsgList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfTribeSysmsg::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfTribeSysmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_offlineFlag; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeSysmsgList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeSysmsg tmpVal; - (*this) >> tmpVal; - m_tribeSysmsgList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfTribeSysmsg::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqGetTribeConfig::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_GET_TRIBE_CONFIG; - m_scHead.PackData(strData); -} - -void CImReqGetTribeConfig::PackBody(string& strData) -{ -} - -void CImReqGetTribeConfig::PackData(string& strData, const string& strKey) -{ - PackHead(strData); -} - -PACKRETCODE CImReqGetTribeConfig::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CImReqGetTribeConfig::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - return PACK_RIGHT; -} - -void CImRspGetTribeConfig::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_GET_TRIBE_CONFIG; - m_scHead.PackData(strData); -} - -void CImRspGetTribeConfig::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_addTribeVerify; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspGetTribeConfig::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspGetTribeConfig::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_addTribeVerify; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspGetTribeConfig::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSetTribeConfig::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SET_TRIBE_CONFIG; - m_scHead.PackData(strData); -} - -void CImReqSetTribeConfig::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT8; - (*this) << m_addTribeVerify; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSetTribeConfig::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSetTribeConfig::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_addTribeVerify; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSetTribeConfig::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspSetTribeConfig::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SET_TRIBE_CONFIG; - m_scHead.PackData(strData); -} - -void CImRspSetTribeConfig::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_addTribeVerify; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSetTribeConfig::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSetTribeConfig::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_addTribeVerify; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSetTribeConfig::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSetOpenTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SET_OPEN_TRIBE; - m_scHead.PackData(strData); -} - -void CImReqSetOpenTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_tribeIdList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_tribeIdList.cbegin(); itr != m_tribeIdList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT8; - (*this) << m_openTribe; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSetOpenTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSetOpenTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeIdList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_tribeIdList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_openTribe; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSetOpenTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspSetOpenTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SET_OPEN_TRIBE; - m_scHead.PackData(strData); -} - -void CImRspSetOpenTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_tribeIdList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_tribeIdList.cbegin(); itr != m_tribeIdList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT8; - (*this) << m_openTribe; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSetOpenTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSetOpenTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeIdList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_tribeIdList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_openTribe; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSetOpenTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqVisitTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_VISIT_TRIBE; - m_scHead.PackData(strData); -} - -void CImReqVisitTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqVisitTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqVisitTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqVisitTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspVisitTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_VISIT_TRIBE; - m_scHead.PackData(strData); -} - -void CImRspVisitTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspVisitTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspVisitTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspVisitTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqClearVisitor::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CLEAR_VISITOR; - m_scHead.PackData(strData); -} - -void CImReqClearVisitor::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqClearVisitor::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqClearVisitor::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqClearVisitor::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspClearVisitor::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CLEAR_VISITOR; - m_scHead.PackData(strData); -} - -void CImRspClearVisitor::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspClearVisitor::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspClearVisitor::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspClearVisitor::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqStartTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_START_TRIBE; - m_scHead.PackData(strData); -} - -void CImReqStartTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_items.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqStartTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqStartTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_items[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqStartTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspStartTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_START_TRIBE; - m_scHead.PackData(strData); -} - -void CImRspStartTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspStartTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspStartTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspStartTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqUpdateTribecard::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_UPDATE_TRIBECARD; - m_scHead.PackData(strData); -} - -void CImReqUpdateTribecard::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_items.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqUpdateTribecard::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqUpdateTribecard::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_items[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqUpdateTribecard::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspUpdateTribecard::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_UPDATE_TRIBECARD; - m_scHead.PackData(strData); -} - -void CImRspUpdateTribecard::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspUpdateTribecard::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspUpdateTribecard::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspUpdateTribecard::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqRecommendTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_RECOMMEND_TRIBE; - m_scHead.PackData(strData); -} - -void CImReqRecommendTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqRecommendTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqRecommendTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqRecommendTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspRecommendTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_RECOMMEND_TRIBE; - m_scHead.PackData(strData); -} - -void CImRspRecommendTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspRecommendTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspRecommendTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspRecommendTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfRecommendTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_RECOMMEND_TRIBE; - m_scHead.PackData(strData); -} - -void CImNtfRecommendTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_STRING; - (*this) << m_message; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfRecommendTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfRecommendTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfRecommendTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqAuthRecommend::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_AUTH_RECOMMEND; - m_scHead.PackData(strData); -} - -void CImReqAuthRecommend::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqAuthRecommend::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqAuthRecommend::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqAuthRecommend::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspAuthRecommend::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_AUTH_RECOMMEND; - m_scHead.PackData(strData); -} - -void CImRspAuthRecommend::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_INT64; - (*this) << m_groupId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspAuthRecommend::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspAuthRecommend::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspAuthRecommend::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqWebLogintribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_WEB_LOGINTRIBE; - m_scHead.PackData(strData); -} - -void CImReqWebLogintribe::PackBody(string& strData) -{ -} - -void CImReqWebLogintribe::PackData(string& strData, const string& strKey) -{ - PackHead(strData); -} - -PACKRETCODE CImReqWebLogintribe::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CImReqWebLogintribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - return PACK_RIGHT; -} - -void CImRspWebLogintribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_WEB_LOGINTRIBE; - m_scHead.PackData(strData); -} - -void CImRspWebLogintribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_groupList.size(); - (*this) << nLen; - VECTOR< SWebGroup >::const_iterator itr; - for(itr = m_groupList.cbegin(); itr != m_groupList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tribeIdList.size(); - (*this) << nLen; - VECTOR< STribeId >::const_iterator itr; - for(itr = m_tribeIdList.cbegin(); itr != m_tribeIdList.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspWebLogintribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspWebLogintribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_groupList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SWebGroup tmpVal; - (*this) >> tmpVal; - m_groupList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeIdList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeId tmpVal; - (*this) >> tmpVal; - m_tribeIdList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspWebLogintribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqSetTribeMsgPopup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_SET_TRIBE_MSG_POPUP; - m_scHead.PackData(strData); -} - -void CImReqSetTribeMsgPopup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_msgPopup; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqSetTribeMsgPopup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqSetTribeMsgPopup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgPopup; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqSetTribeMsgPopup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspSetTribeMsgPopup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_SET_TRIBE_MSG_POPUP; - m_scHead.PackData(strData); -} - -void CImRspSetTribeMsgPopup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_msgPopup; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspSetTribeMsgPopup::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspSetTribeMsgPopup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgPopup; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspSetTribeMsgPopup::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqTransferTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_TRANSFER_TRIBE; - m_scHead.PackData(strData); -} - -void CImReqTransferTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_transferId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqTransferTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqTransferTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_transferId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqTransferTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspTransferTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_TRANSFER_TRIBE; - m_scHead.PackData(strData); -} - -void CImRspTransferTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_altTribeId; - (*this) << FT_STRING; - (*this) << m_rctOwnerId; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspTransferTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspTransferTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_altTribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_rctOwnerId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspTransferTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfTransferTribeSys::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_TRANSFER_TRIBE_SYS; - m_scHead.PackData(strData); -} - -void CImNtfTransferTribeSys::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_owner; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_tribeInfo; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfTransferTribeSys::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfTransferTribeSys::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_owner; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeInfo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfTransferTribeSys::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImNtfTransferTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_NTF_TRANSFER_TRIBE; - m_scHead.PackData(strData); -} - -void CImNtfTransferTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_occupiedTribeId; - (*this) << FT_STRING; - (*this) << m_tribeInfo; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImNtfTransferTribe::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImNtfTransferTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_occupiedTribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeInfo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImNtfTransferTribe::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - diff --git a/features/aliww/source/tbsmsg_pack.cpp b/features/aliww/source/tbsmsg_pack.cpp deleted file mode 100644 index 71f3127..0000000 --- a/features/aliww/source/tbsmsg_pack.cpp +++ /dev/null @@ -1,546 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tbsmsg_pack.cpp -// Date: 2011-01-30 12:50:13 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "tbsmsg_pack.h" - -void CTbscReqLoadOfflinemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_LOAD_OFFLINEMSG; - m_scsHead.PackData(strData); -} - -void CTbscReqLoadOfflinemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tribeMsgList.size(); - (*this) << nLen; - VECTOR< STribeMsg >::const_iterator itr; - for(itr = m_tribeMsgList.cbegin(); itr != m_tribeMsgList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqLoadOfflinemsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqLoadOfflinemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeMsgList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeMsg tmpVal; - (*this) >> tmpVal; - m_tribeMsgList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqLoadOfflinemsg::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqUnloadOfflinemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_UNLOAD_OFFLINEMSG; - m_scsHead.PackData(strData); -} - -void CTbscReqUnloadOfflinemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqUnloadOfflinemsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqUnloadOfflinemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqUnloadOfflinemsg::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspUnloadOfflinemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_UNLOAD_OFFLINEMSG; - m_scsHead.PackData(strData); -} - -void CTbscRspUnloadOfflinemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tribeMsgList.size(); - (*this) << nLen; - VECTOR< STribeMsg >::const_iterator itr; - for(itr = m_tribeMsgList.cbegin(); itr != m_tribeMsgList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspUnloadOfflinemsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspUnloadOfflinemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeMsgList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeMsg tmpVal; - (*this) >> tmpVal; - m_tribeMsgList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspUnloadOfflinemsg::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqAddOfflinemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_ADD_OFFLINEMSG; - m_scsHead.PackData(strData); -} - -void CTbscReqAddOfflinemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRUCT; - (*this) << m_tribeMsg; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqAddOfflinemsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqAddOfflinemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeMsg; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqAddOfflinemsg::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqGetFiltermsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_GET_FILTERMSG; - m_scsHead.PackData(strData); -} - -void CTbscReqGetFiltermsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT32; - (*this) << m_lastMsgid; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqGetFiltermsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqGetFiltermsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_lastMsgid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqGetFiltermsg::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspGetFiltermsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_GET_FILTERMSG; - m_scsHead.PackData(strData); -} - -void CTbscRspGetFiltermsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tribeMsgList.size(); - (*this) << nLen; - VECTOR< STribeMsg >::const_iterator itr; - for(itr = m_tribeMsgList.cbegin(); itr != m_tribeMsgList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspGetFiltermsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspGetFiltermsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeMsgList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeMsg tmpVal; - (*this) >> tmpVal; - m_tribeMsgList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspGetFiltermsg::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/tbss_pack.cpp b/features/aliww/source/tbss_pack.cpp deleted file mode 100644 index 3985f1b..0000000 --- a/features/aliww/source/tbss_pack.cpp +++ /dev/null @@ -1,9070 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tbss_pack.cpp -// Date: 2011-01-30 12:49:27 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "tbss_pack.h" - -void CTbsReqGetTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_GET_TRIBEGROUP; - m_ssHead.PackData(strData); -} - -void CTbsReqGetTribegroup::PackBody(string& strData) -{ -} - -void CTbsReqGetTribegroup::PackData(string& strData) -{ - PackHead(strData); -} - -PACKRETCODE CTbsReqGetTribegroup::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqGetTribegroup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspGetTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_GET_TRIBEGROUP; - m_ssHead.PackData(strData); -} - -void CTbsRspGetTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_memberGroupList.size(); - (*this) << nLen; - VECTOR< SMemberGroup >::const_iterator itr; - for(itr = m_memberGroupList.cbegin(); itr != m_memberGroupList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspGetTribegroup::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspGetTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_memberGroupList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SMemberGroup tmpVal; - (*this) >> tmpVal; - m_memberGroupList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspGetTribegroup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqAddTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_ADD_TRIBEGROUP; - m_ssHead.PackData(strData); -} - -void CTbsReqAddTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_groupName; - (*this) << FT_INT64; - (*this) << m_parentId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqAddTribegroup::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqAddTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupName; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_parentId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqAddTribegroup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspAddTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_ADD_TRIBEGROUP; - m_ssHead.PackData(strData); -} - -void CTbsRspAddTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRUCT; - (*this) << m_memberGroup; - (*this) << FT_UINT32; - (*this) << m_groupStamp; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspAddTribegroup::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspAddTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberGroup; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspAddTribegroup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqUpdateTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_UPDATE_TRIBEGROUP; - m_ssHead.PackData(strData); -} - -void CTbsReqUpdateTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_INT64; - (*this) << m_groupId; - (*this) << FT_STRING; - (*this) << m_groupName; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqUpdateTribegroup::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqUpdateTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupName; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqUpdateTribegroup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspUpdateTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_UPDATE_TRIBEGROUP; - m_ssHead.PackData(strData); -} - -void CTbsRspUpdateTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRUCT; - (*this) << m_memberGroup; - (*this) << FT_UINT32; - (*this) << m_groupStamp; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspUpdateTribegroup::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspUpdateTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberGroup; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspUpdateTribegroup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqDelTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_DEL_TRIBEGROUP; - m_ssHead.PackData(strData); -} - -void CTbsReqDelTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqDelTribegroup::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqDelTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqDelTribegroup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspDelTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_DEL_TRIBEGROUP; - m_ssHead.PackData(strData); -} - -void CTbsRspDelTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_INT64; - (*this) << m_groupId; - (*this) << FT_UINT32; - (*this) << m_groupStamp; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspDelTribegroup::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspDelTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspDelTribegroup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqShallowLogintribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_SHALLOW_LOGINTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqShallowLogintribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_basicSts; - (*this) << FT_UINT8; - (*this) << m_predefSts; - (*this) << FT_STRING; - (*this) << m_version; - (*this) << FT_UINT32; - (*this) << m_language; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqShallowLogintribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqShallowLogintribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_basicSts; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_predefSts; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_language; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqShallowLogintribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqDeepLogintribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_DEEP_LOGINTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqDeepLogintribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT32; - (*this) << m_language; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqDeepLogintribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqDeepLogintribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - try - { - uint8_t num; - (*this) >> num; - CFieldType field; - if(num < 1) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_language; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqDeepLogintribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspDeepLogintribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_DEEP_LOGINTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspDeepLogintribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRUCT; - (*this) << m_tribeInfo; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tmStatusList.size(); - (*this) << nLen; - VECTOR< STmStatus >::const_iterator itr; - for(itr = m_tmStatusList.cbegin(); itr != m_tmStatusList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_memberStamp; - (*this) << FT_STRUCT; - (*this) << m_extInfo; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspDeepLogintribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspDeepLogintribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeInfo; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tmStatusList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STmStatus tmpVal; - (*this) >> tmpVal; - m_tmStatusList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberStamp; - try - { - if(num < 6) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extInfo; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspDeepLogintribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqInviteTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_INVITE_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqInviteTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqInviteTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqInviteTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqInviteTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspInviteTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_INVITE_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspInviteTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspInviteTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspInviteTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspInviteTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsNtfInviteTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_NTF_INVITE_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsNtfInviteTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_managerId; - (*this) << FT_STRING; - (*this) << m_validateCode; - (*this) << FT_STRING; - (*this) << m_name; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsNtfInviteTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsNtfInviteTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_managerId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_validateCode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_name; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - try - { - if(num < 6) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsNtfInviteTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqOninviteJointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_ONINVITE_JOINTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqOninviteJointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_managerId; - (*this) << FT_STRING; - (*this) << m_validateCode; - (*this) << FT_INT64; - (*this) << m_groupId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_recommendId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqOninviteJointribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqOninviteJointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_managerId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_validateCode; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - if(num < 5) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - if(num < 6) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_recommendId; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqOninviteJointribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspOninviteJointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_ONINVITE_JOINTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspOninviteJointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspOninviteJointribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspOninviteJointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - try - { - if(num < 3) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspOninviteJointribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqAskJointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_ASK_JOINTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqAskJointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_info; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqAskJointribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqAskJointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_info; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqAskJointribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspAskJointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_ASK_JOINTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspAskJointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_tribeName; - (*this) << FT_STRING; - (*this) << m_extSign; - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspAskJointribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspAskJointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeName; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extSign; - try - { - if(num < 5) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspAskJointribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsNtfAskJointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_NTF_ASK_JOINTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsNtfAskJointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_info; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsNtfAskJointribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsNtfAskJointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_info; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsNtfAskJointribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqExamAskjointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_EXAM_ASKJOINTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqExamAskjointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_STRING; - (*this) << m_info; - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqExamAskjointribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqExamAskjointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_info; - try - { - if(num < 5) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqExamAskjointribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspExamAskjointribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_EXAM_ASKJOINTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspExamAskjointribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_UINT8; - (*this) << m_type; - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspExamAskjointribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspExamAskjointribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - try - { - if(num < 5) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspExamAskjointribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqChglevelTribemember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_CHGLEVEL_TRIBEMEMBER; - m_ssHead.PackData(strData); -} - -void CTbsReqChglevelTribemember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_UINT8; - (*this) << m_level; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqChglevelTribemember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqChglevelTribemember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_level; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqChglevelTribemember::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspChglevelTribemember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_CHGLEVEL_TRIBEMEMBER; - m_ssHead.PackData(strData); -} - -void CTbsRspChglevelTribemember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_UINT8; - (*this) << m_level; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspChglevelTribemember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspChglevelTribemember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_level; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspChglevelTribemember::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqChgTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_CHG_TRIBEGROUP; - m_ssHead.PackData(strData); -} - -void CTbsReqChgTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqChgTribegroup::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqChgTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqChgTribegroup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspChgTribegroup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_CHG_TRIBEGROUP; - m_ssHead.PackData(strData); -} - -void CTbsRspChgTribegroup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspChgTribegroup::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspChgTribegroup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspChgTribegroup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqAddStarmember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_ADD_STARMEMBER; - m_ssHead.PackData(strData); -} - -void CTbsReqAddStarmember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqAddStarmember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqAddStarmember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqAddStarmember::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspAddStarmember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_ADD_STARMEMBER; - m_ssHead.PackData(strData); -} - -void CTbsRspAddStarmember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspAddStarmember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspAddStarmember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspAddStarmember::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqDelStarmember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_DEL_STARMEMBER; - m_ssHead.PackData(strData); -} - -void CTbsReqDelStarmember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqDelStarmember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqDelStarmember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqDelStarmember::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspDelStarmember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_DEL_STARMEMBER; - m_ssHead.PackData(strData); -} - -void CTbsRspDelStarmember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspDelStarmember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspDelStarmember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspDelStarmember::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqDelTribemember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_DEL_TRIBEMEMBER; - m_ssHead.PackData(strData); -} - -void CTbsReqDelTribemember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_STRING; - (*this) << m_remark; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqDelTribemember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqDelTribemember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqDelTribemember::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspDelTribemember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_DEL_TRIBEMEMBER; - m_ssHead.PackData(strData); -} - -void CTbsRspDelTribemember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspDelTribemember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspDelTribemember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspDelTribemember::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqGetTribeblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_GET_TRIBEBLACK; - m_ssHead.PackData(strData); -} - -void CTbsReqGetTribeblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT32; - (*this) << m_blackStamp; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqGetTribeblack::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqGetTribeblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqGetTribeblack::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspGetTribeblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_GET_TRIBEBLACK; - m_ssHead.PackData(strData); -} - -void CTbsRspGetTribeblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_blackIdList.size(); - (*this) << nLen; - VECTOR< STribeBlack >::const_iterator itr; - for(itr = m_blackIdList.cbegin(); itr != m_blackIdList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT32; - (*this) << m_blackStamp; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspGetTribeblack::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspGetTribeblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_blackIdList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeBlack tmpVal; - (*this) >> tmpVal; - m_blackIdList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspGetTribeblack::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqAddTribeblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_ADD_TRIBEBLACK; - m_ssHead.PackData(strData); -} - -void CTbsReqAddTribeblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_blackUid; - (*this) << FT_STRING; - (*this) << m_remark; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqAddTribeblack::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqAddTribeblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackUid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqAddTribeblack::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspAddTribeblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_ADD_TRIBEBLACK; - m_ssHead.PackData(strData); -} - -void CTbsRspAddTribeblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_blackUid; - (*this) << FT_UINT32; - (*this) << m_blackStamp; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspAddTribeblack::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspAddTribeblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackUid; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspAddTribeblack::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqDelTribeblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_DEL_TRIBEBLACK; - m_ssHead.PackData(strData); -} - -void CTbsReqDelTribeblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_blackUid; - (*this) << FT_STRING; - (*this) << m_remark; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqDelTribeblack::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqDelTribeblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackUid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqDelTribeblack::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspDelTribeblack::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_DEL_TRIBEBLACK; - m_ssHead.PackData(strData); -} - -void CTbsRspDelTribeblack::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_blackUid; - (*this) << FT_UINT32; - (*this) << m_blackStamp; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspDelTribeblack::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspDelTribeblack::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackUid; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_blackStamp; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspDelTribeblack::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqQuitTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_QUIT_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqQuitTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_remark; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqQuitTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqQuitTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqQuitTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspQuitTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_QUIT_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspQuitTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspQuitTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspQuitTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspQuitTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqCloseTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_CLOSE_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqCloseTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_remark; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqCloseTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqCloseTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqCloseTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspCloseTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_CLOSE_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspCloseTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspCloseTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspCloseTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspCloseTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqGetTribeinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_GET_TRIBEINFO; - m_ssHead.PackData(strData); -} - -void CTbsReqGetTribeinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqGetTribeinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqGetTribeinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqGetTribeinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspGetTribeinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_GET_TRIBEINFO; - m_ssHead.PackData(strData); -} - -void CTbsRspGetTribeinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRUCT; - (*this) << m_tribeInfo; - (*this) << FT_STRUCT; - (*this) << m_extInfo; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspGetTribeinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspGetTribeinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeInfo; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_extInfo; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspGetTribeinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqModifyTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_MODIFY_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqModifyTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_items.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqModifyTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqModifyTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_items[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqModifyTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspModifyTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_MODIFY_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspModifyTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_items.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspModifyTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspModifyTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_items[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspModifyTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqGetTribememberinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_GET_TRIBEMEMBERINFO; - m_ssHead.PackData(strData); -} - -void CTbsReqGetTribememberinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqGetTribememberinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqGetTribememberinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqGetTribememberinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspGetTribememberinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_GET_TRIBEMEMBERINFO; - m_ssHead.PackData(strData); -} - -void CTbsRspGetTribememberinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tmInfoList.size(); - (*this) << nLen; - VECTOR< STmInfo >::const_iterator itr; - for(itr = m_tmInfoList.cbegin(); itr != m_tmInfoList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspGetTribememberinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspGetTribememberinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tmInfoList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STmInfo tmpVal; - (*this) >> tmpVal; - m_tmInfoList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspGetTribememberinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqSendTribemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_SEND_TRIBEMSG; - m_ssHead.PackData(strData); -} - -void CTbsReqSendTribemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_msgType; - (*this) << FT_STRING; - (*this) << m_message; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqSendTribemsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqSendTribemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgType; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqSendTribemsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspSendTribemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_SEND_TRIBEMSG; - m_ssHead.PackData(strData); -} - -void CTbsRspSendTribemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_message; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspSendTribemsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspSendTribemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspSendTribemsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsNtfTribemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_NTF_TRIBEMSG; - m_ssHead.PackData(strData); -} - -void CTbsNtfTribemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_offlineFlag; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tribeMsgList.size(); - (*this) << nLen; - VECTOR< STribeMsg >::const_iterator itr; - for(itr = m_tribeMsgList.cbegin(); itr != m_tribeMsgList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsNtfTribemsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsNtfTribemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_offlineFlag; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeMsgList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeMsg tmpVal; - (*this) >> tmpVal; - m_tribeMsgList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsNtfTribemsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsNtfTribeSysmsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_NTF_TRIBE_SYSMSG; - m_ssHead.PackData(strData); -} - -void CTbsNtfTribeSysmsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_offlineFlag; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tribeSysmsgList.size(); - (*this) << nLen; - VECTOR< STribeSysmsg >::const_iterator itr; - for(itr = m_tribeSysmsgList.cbegin(); itr != m_tribeSysmsgList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsNtfTribeSysmsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsNtfTribeSysmsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_offlineFlag; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeSysmsgList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeSysmsg tmpVal; - (*this) >> tmpVal; - m_tribeSysmsgList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsNtfTribeSysmsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqSetOpenTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_SET_OPEN_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqSetOpenTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_UINT8; - (*this) << m_openTribe; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqSetOpenTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqSetOpenTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_openTribe; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqSetOpenTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspSetOpenTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_SET_OPEN_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspSetOpenTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_UINT8; - (*this) << m_openTribe; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspSetOpenTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspSetOpenTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_openTribe; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspSetOpenTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqVisitTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_VISIT_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqVisitTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT32; - (*this) << m_language; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqVisitTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqVisitTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - try - { - if(num < 2) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_language; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqVisitTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspVisitTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_VISIT_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspVisitTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspVisitTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspVisitTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspVisitTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqClearVisitor::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_CLEAR_VISITOR; - m_ssHead.PackData(strData); -} - -void CTbsReqClearVisitor::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqClearVisitor::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqClearVisitor::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqClearVisitor::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspClearVisitor::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_CLEAR_VISITOR; - m_ssHead.PackData(strData); -} - -void CTbsRspClearVisitor::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspClearVisitor::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspClearVisitor::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspClearVisitor::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqStartTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_START_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqStartTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_items.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqStartTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqStartTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_items[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqStartTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspStartTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_START_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspStartTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspStartTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspStartTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspStartTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsGetAllTribelist::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_GET_ALL_TRIBELIST; - m_ssHead.PackData(strData); -} - -void CTbsGetAllTribelist::PackBody(string& strData) -{ -} - -void CTbsGetAllTribelist::PackData(string& strData) -{ - PackHead(strData); -} - -PACKRETCODE CTbsGetAllTribelist::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CTbsGetAllTribelist::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspAllTribelist::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_ALL_TRIBELIST; - m_ssHead.PackData(strData); -} - -void CTbsRspAllTribelist::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_VECTOR; - (*this) << FT_UINT32; - { - uint32_t nLen = m_tribeIdList.size(); - (*this) << nLen; - VECTOR< uint32_t >::const_iterator itr; - for(itr = m_tribeIdList.cbegin(); itr != m_tribeIdList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspAllTribelist::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspAllTribelist::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeIdList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - uint32_t tmpVal; - (*this) >> tmpVal; - m_tribeIdList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspAllTribelist::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsNtfLoadtribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_NTF_LOADTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsNtfLoadtribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsNtfLoadtribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsNtfLoadtribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsNtfLoadtribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsNtfUnloadtribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_NTF_UNLOADTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsNtfUnloadtribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsNtfUnloadtribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsNtfUnloadtribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsNtfUnloadtribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqGetOnlineinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_GET_ONLINEINFO; - m_ssHead.PackData(strData); -} - -void CTbsReqGetOnlineinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqGetOnlineinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqGetOnlineinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqGetOnlineinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspGetOnlineinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_GET_ONLINEINFO; - m_ssHead.PackData(strData); -} - -void CTbsRspGetOnlineinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT32; - (*this) << m_memberNum; - (*this) << FT_UINT32; - (*this) << m_visitorNum; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspGetOnlineinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspGetOnlineinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberNum; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_visitorNum; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspGetOnlineinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqNtfModifytribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_NTF_MODIFYTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqNtfModifytribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_itemList.size(); - (*this) << nLen; - VECTOR< SModifyItem >::const_iterator itr; - for(itr = m_itemList.cbegin(); itr != m_itemList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqNtfModifytribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqNtfModifytribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_itemList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SModifyItem tmpVal; - (*this) >> tmpVal; - m_itemList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqNtfModifytribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspNtfModifytribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_NTF_MODIFYTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspNtfModifytribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_itemList.size(); - (*this) << nLen; - VECTOR< SModifyItem >::const_iterator itr; - for(itr = m_itemList.cbegin(); itr != m_itemList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspNtfModifytribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspNtfModifytribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_itemList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SModifyItem tmpVal; - (*this) >> tmpVal; - m_itemList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspNtfModifytribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqUnloadtribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_UNLOADTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqUnloadtribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqUnloadtribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqUnloadtribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqUnloadtribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspUnloadtribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_UNLOADTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspUnloadtribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspUnloadtribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspUnloadtribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspUnloadtribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const STribeCard& sTribeCard ) -{ - uint8_t nFieldNum = 6; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sTribeCard.m_realName; - cPackData << FT_STRING; - cPackData << sTribeCard.m_phone; - cPackData << FT_STRING; - cPackData << sTribeCard.m_mobile; - cPackData << FT_STRING; - cPackData << sTribeCard.m_email; - cPackData << FT_STRING; - cPackData << sTribeCard.m_addr; - cPackData << FT_STRING; - cPackData << sTribeCard.m_memo; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, STribeCard& sTribeCard ) -{ - uint8_t num; - cPackData >> num; - if(num < 6) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeCard.m_realName; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeCard.m_phone; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeCard.m_mobile; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeCard.m_email; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeCard.m_addr; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeCard.m_memo; - for(int i = 6; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CTbsReqGetTribecard::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_GET_TRIBECARD; - m_ssHead.PackData(strData); -} - -void CTbsReqGetTribecard::PackBody(string& strData) -{ -} - -void CTbsReqGetTribecard::PackData(string& strData) -{ - PackHead(strData); -} - -PACKRETCODE CTbsReqGetTribecard::UnpackBody(string& strData) -{ - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqGetTribecard::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspGetTribecard::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_GET_TRIBECARD; - m_ssHead.PackData(strData); -} - -void CTbsRspGetTribecard::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRUCT; - (*this) << m_tribeCard; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspGetTribecard::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspGetTribecard::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeCard; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspGetTribecard::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqUpdateTribecard::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_UPDATE_TRIBECARD; - m_ssHead.PackData(strData); -} - -void CTbsReqUpdateTribecard::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_items.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqUpdateTribecard::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqUpdateTribecard::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_items[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqUpdateTribecard::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqUpdateTribecard2::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_UPDATE_TRIBECARD2; - m_ssHead.PackData(strData); -} - -void CTbsReqUpdateTribecard2::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_items.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqUpdateTribecard2::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqUpdateTribecard2::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_items[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqUpdateTribecard2::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspUpdateTribecard::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_UPDATE_TRIBECARD; - m_ssHead.PackData(strData); -} - -void CTbsRspUpdateTribecard::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspUpdateTribecard::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspUpdateTribecard::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspUpdateTribecard::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqGetMemberinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_GET_MEMBERINFO; - m_ssHead.PackData(strData); -} - -void CTbsReqGetMemberinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqGetMemberinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqGetMemberinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqGetMemberinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspGetMemberinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_GET_MEMBERINFO; - m_ssHead.PackData(strData); -} - -void CTbsRspGetMemberinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRUCT; - (*this) << m_memberInfo; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspGetMemberinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspGetMemberinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberInfo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspGetMemberinfo::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqGetTribemanager::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_GET_TRIBEMANAGER; - m_ssHead.PackData(strData); -} - -void CTbsReqGetTribemanager::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqGetTribemanager::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqGetTribemanager::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqGetTribemanager::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspGetTribemanager::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_GET_TRIBEMANAGER; - m_ssHead.PackData(strData); -} - -void CTbsRspGetTribemanager::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_managerList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_managerList.cbegin(); itr != m_managerList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspGetTribemanager::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspGetTribemanager::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_managerList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_managerList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspGetTribemanager::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqGetUsertribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_GET_USERTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqGetUsertribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_userId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqGetUsertribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqGetUsertribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqGetUsertribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspGetUsertribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_GET_USERTRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspGetUsertribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tribeList.size(); - (*this) << nLen; - VECTOR< STribeId >::const_iterator itr; - for(itr = m_tribeList.cbegin(); itr != m_tribeList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspGetUsertribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspGetUsertribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeId tmpVal; - (*this) >> tmpVal; - m_tribeList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspGetUsertribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqPostTribemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_POST_TRIBEMSG; - m_ssHead.PackData(strData); -} - -void CTbsReqPostTribemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_UINT8; - (*this) << m_msgType; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqPostTribemsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqPostTribemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgType; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqPostTribemsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspPostTribemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_POST_TRIBEMSG; - m_ssHead.PackData(strData); -} - -void CTbsRspPostTribemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_UINT8; - (*this) << m_msgType; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspPostTribemsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspPostTribemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - try - { - if(num < 5) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgType; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspPostTribemsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqGetActlevel::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_GET_ACTLEVEL; - m_ssHead.PackData(strData); -} - -void CTbsReqGetActlevel::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqGetActlevel::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqGetActlevel::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqGetActlevel::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspGetActlevel::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_GET_ACTLEVEL; - m_ssHead.PackData(strData); -} - -void CTbsRspGetActlevel::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT32; - (*this) << m_activeLevel; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspGetActlevel::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspGetActlevel::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_activeLevel; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspGetActlevel::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsNtfOfflineMsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_NTF_OFFLINE_MSG; - m_ssHead.PackData(strData); -} - -void CTbsNtfOfflineMsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_offlineMsgList.size(); - (*this) << nLen; - VECTOR< STribeMsg >::const_iterator itr; - for(itr = m_offlineMsgList.cbegin(); itr != m_offlineMsgList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_memberMsgid.size(); - (*this) << nLen; - VECTOR< STmMsgid >::const_iterator itr; - for(itr = m_memberMsgid.cbegin(); itr != m_memberMsgid.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsNtfOfflineMsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsNtfOfflineMsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_offlineMsgList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeMsg tmpVal; - (*this) >> tmpVal; - m_offlineMsgList.push_back(tmpVal); - } - } - try - { - if(num < 3) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_memberMsgid.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STmMsgid tmpVal; - (*this) >> tmpVal; - m_memberMsgid.push_back(tmpVal); - } - } - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsNtfOfflineMsg::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqRecommendTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_RECOMMEND_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqRecommendTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_STRING; - (*this) << m_message; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqRecommendTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqRecommendTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqRecommendTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspRecommendTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_RECOMMEND_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspRecommendTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspRecommendTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspRecommendTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspRecommendTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsNtfRecommendTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_NTF_RECOMMEND_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsNtfRecommendTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_STRING; - (*this) << m_message; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsNtfRecommendTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsNtfRecommendTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsNtfRecommendTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqAuthRecommend::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_AUTH_RECOMMEND; - m_ssHead.PackData(strData); -} - -void CTbsReqAuthRecommend::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqAuthRecommend::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqAuthRecommend::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqAuthRecommend::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspAuthRecommend::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_AUTH_RECOMMEND; - m_ssHead.PackData(strData); -} - -void CTbsRspAuthRecommend::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_memberId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_userList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_userList.cbegin(); itr != m_userList.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_INT64; - (*this) << m_groupId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspAuthRecommend::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspAuthRecommend::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_userList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_userList.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_INT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_groupId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspAuthRecommend::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsNtfVersion::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_NTF_VERSION; - m_ssHead.PackData(strData); -} - -void CTbsNtfVersion::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_version; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsNtfVersion::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsNtfVersion::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsNtfVersion::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqActiveUser::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_ACTIVE_USER; - m_ssHead.PackData(strData); -} - -void CTbsReqActiveUser::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_webUid; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqActiveUser::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqActiveUser::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_webUid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqActiveUser::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqDisactiveUser::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_DISACTIVE_USER; - m_ssHead.PackData(strData); -} - -void CTbsReqDisactiveUser::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_webUid; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqDisactiveUser::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqDisactiveUser::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_webUid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqDisactiveUser::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqStopTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_STOP_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqStopTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqStopTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqStopTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqStopTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspStopTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_STOP_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspStopTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspStopTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspStopTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspStopTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqAddTribeMember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_ADD_TRIBE_MEMBER; - m_ssHead.PackData(strData); -} - -void CTbsReqAddTribeMember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_tribeLevel; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_name; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqAddTribeMember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqAddTribeMember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeLevel; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_name; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqAddTribeMember::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspAddTribeMember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_ADD_TRIBE_MEMBER; - m_ssHead.PackData(strData); -} - -void CTbsRspAddTribeMember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_tribeLevel; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_name; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspAddTribeMember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspAddTribeMember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeLevel; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_name; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspAddTribeMember::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqDelTribeMember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_DEL_TRIBE_MEMBER; - m_ssHead.PackData(strData); -} - -void CTbsReqDelTribeMember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_tribeLevel; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_operId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqDelTribeMember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqDelTribeMember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeLevel; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_operId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqDelTribeMember::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspDelTribeMember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_DEL_TRIBE_MEMBER; - m_ssHead.PackData(strData); -} - -void CTbsRspDelTribeMember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_tribeLevel; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_operId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspDelTribeMember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspDelTribeMember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeLevel; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_operId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspDelTribeMember::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqSetTribeMsgPopup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_SET_TRIBE_MSG_POPUP; - m_ssHead.PackData(strData); -} - -void CTbsReqSetTribeMsgPopup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_msgPopup; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqSetTribeMsgPopup::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqSetTribeMsgPopup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgPopup; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqSetTribeMsgPopup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspSetTribeMsgPopup::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_SET_TRIBE_MSG_POPUP; - m_ssHead.PackData(strData); -} - -void CTbsRspSetTribeMsgPopup::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_msgPopup; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspSetTribeMsgPopup::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspSetTribeMsgPopup::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgPopup; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspSetTribeMsgPopup::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsReqTransferTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_REQ_TRANSFER_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsReqTransferTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_transferId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsReqTransferTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsReqTransferTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_transferId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsReqTransferTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsRspTransferTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_RSP_TRANSFER_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsRspTransferTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_altTribeId; - (*this) << FT_STRING; - (*this) << m_rctOwnerId; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsRspTransferTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsRspTransferTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_altTribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_rctOwnerId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsRspTransferTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsNtfTransferTribeSys::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_NTF_TRANSFER_TRIBE_SYS; - m_ssHead.PackData(strData); -} - -void CTbsNtfTransferTribeSys::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_owner; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_tribeInfo; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsNtfTransferTribeSys::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsNtfTransferTribeSys::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_owner; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeInfo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsNtfTransferTribeSys::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbsNtfTransferTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_ssHead.Size()) - m_ssHead.m_len = m_ssHead.SizeExt() - m_ssHead.Size(); - else - m_ssHead.m_len = strData.size() - m_ssHead.Size(); - if(m_ssHead.m_cmd == 0) m_ssHead.m_cmd = TBS_NTF_TRANSFER_TRIBE; - m_ssHead.PackData(strData); -} - -void CTbsNtfTransferTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_ssHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_occupiedTribeId; - (*this) << FT_STRING; - (*this) << m_tribeInfo; - FormData( nHeadLen ); - m_ssHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbsNtfTransferTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbsNtfTransferTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_ssHead.PeekSize(); - m_ssHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_ssHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_occupiedTribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeInfo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbsNtfTransferTribe::UnpackData(string& strData) -{ - m_ssHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/tbsstrc_pack.cpp b/features/aliww/source/tbsstrc_pack.cpp deleted file mode 100644 index f9b3347..0000000 --- a/features/aliww/source/tbsstrc_pack.cpp +++ /dev/null @@ -1,779 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tbsstrc_pack.cpp -// Date: 2011-01-30 12:50:13 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "tbsstrc_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SGroupInfo& sGroupInfo ) -{ - uint8_t nFieldNum = 3; - cPackData << nFieldNum; - cPackData << FT_INT64; - cPackData << sGroupInfo.m_groupId; - cPackData << FT_INT64; - cPackData << sGroupInfo.m_parentId; - cPackData << FT_STRING; - cPackData << sGroupInfo.m_groupName; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SGroupInfo& sGroupInfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 3) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_INT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sGroupInfo.m_groupId; - cPackData >> field; - if(field.m_baseType != FT_INT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sGroupInfo.m_parentId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sGroupInfo.m_groupName; - for(int i = 3; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const SMemberGroup& sMemberGroup ) -{ - uint8_t nFieldNum = 3; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sMemberGroup.m_tribeId; - cPackData << FT_VECTOR; - cPackData << FT_STRUCT; - { - uint32_t nLen = sMemberGroup.m_groupList.size(); - cPackData << nLen; - VECTOR< SGroupInfo >::const_iterator itr; - for(itr = sMemberGroup.m_groupList.begin(); itr != sMemberGroup.m_groupList.end(); ++itr) - { - cPackData << (*itr); - } - } - cPackData << FT_UINT32; - cPackData << sMemberGroup.m_groupStamp; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SMemberGroup& sMemberGroup ) -{ - uint8_t num; - cPackData >> num; - if(num < 3) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sMemberGroup.m_tribeId; - cPackData >> field; - if(field.m_baseType != FT_VECTOR) throw PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - cPackData >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - sMemberGroup.m_groupList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SGroupInfo tmpVal; - cPackData >> tmpVal; - sMemberGroup.m_groupList.push_back(tmpVal); - } - } - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sMemberGroup.m_groupStamp; - for(int i = 3; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeInfo& sTribeInfo ) -{ - uint8_t nFieldNum = 15; - do { - if(sTribeInfo.m_webTribeId == "") - nFieldNum--; - else - break; - if(sTribeInfo.m_maxMembers == 300) - nFieldNum--; - else - break; - } while(0); - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sTribeInfo.m_tribeId; - cPackData << FT_STRING; - cPackData << sTribeInfo.m_tribeName; - cPackData << FT_STRING; - cPackData << sTribeInfo.m_masterid; - cPackData << FT_UINT8; - cPackData << sTribeInfo.m_class; - cPackData << FT_STRING; - cPackData << sTribeInfo.m_describe; - cPackData << FT_STRING; - cPackData << sTribeInfo.m_bulletin; - cPackData << FT_UINT8; - cPackData << sTribeInfo.m_checkMode; - cPackData << FT_STRING; - cPackData << sTribeInfo.m_password; - cPackData << FT_STRING; - cPackData << sTribeInfo.m_keyword; - cPackData << FT_UINT8; - cPackData << sTribeInfo.m_allowVisitor; - cPackData << FT_UINT8; - cPackData << sTribeInfo.m_forbidSearch; - cPackData << FT_STRING; - cPackData << sTribeInfo.m_extSign; - cPackData << FT_UINT8; - cPackData << sTribeInfo.m_openTribe; - if(nFieldNum == 13) - return cPackData; - cPackData << FT_UINT32; - cPackData << sTribeInfo.m_maxMembers; - if(nFieldNum == 14) - return cPackData; - cPackData << FT_STRING; - cPackData << sTribeInfo.m_webTribeId; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, STribeInfo& sTribeInfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 13) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_tribeId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_tribeName; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_masterid; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_class; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_describe; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_bulletin; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_checkMode; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_password; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_keyword; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_allowVisitor; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_forbidSearch; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_extSign; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_openTribe; - try - { - if(num < 14) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_maxMembers; - if(num < 15) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeInfo.m_webTribeId; - } - catch(PACKRETCODE) - { - return cPackData; - } - for(int i = 15; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeExtInfo& sTribeExtInfo ) -{ - uint8_t nFieldNum = 5; - do { - if(sTribeExtInfo.m_msgPopup == 0) - nFieldNum--; - else - break; - if(sTribeExtInfo.m_url == "") - nFieldNum--; - else - break; - if(sTribeExtInfo.m_title == "") - nFieldNum--; - else - break; - if(sTribeExtInfo.m_activeDegree == 0) - nFieldNum--; - else - break; - if(sTribeExtInfo.m_tribeLevel == 0) - nFieldNum--; - else - break; - } while(0); - cPackData << nFieldNum; - if(nFieldNum == 0) - return cPackData; - cPackData << FT_UINT8; - cPackData << sTribeExtInfo.m_tribeLevel; - if(nFieldNum == 1) - return cPackData; - cPackData << FT_UINT32; - cPackData << sTribeExtInfo.m_activeDegree; - if(nFieldNum == 2) - return cPackData; - cPackData << FT_STRING; - cPackData << sTribeExtInfo.m_title; - if(nFieldNum == 3) - return cPackData; - cPackData << FT_STRING; - cPackData << sTribeExtInfo.m_url; - if(nFieldNum == 4) - return cPackData; - cPackData << FT_UINT8; - cPackData << sTribeExtInfo.m_msgPopup; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, STribeExtInfo& sTribeExtInfo ) -{ - uint8_t num; - try - { - cPackData >> num; - CFieldType field; - if(num < 1) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeExtInfo.m_tribeLevel; - if(num < 2) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeExtInfo.m_activeDegree; - if(num < 3) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeExtInfo.m_title; - if(num < 4) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeExtInfo.m_url; - if(num < 5) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeExtInfo.m_msgPopup; - } - catch(PACKRETCODE) - { - return cPackData; - } - for(int i = 5; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const STmStatus& sTmStatus ) -{ - uint8_t nFieldNum = 5; - do { - if(sTmStatus.m_name == "") - nFieldNum--; - else - break; - } while(0); - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sTmStatus.m_memberId; - cPackData << FT_UINT8; - cPackData << sTmStatus.m_basicSts; - cPackData << FT_UINT8; - cPackData << sTmStatus.m_predefSts; - cPackData << FT_UINT8; - cPackData << sTmStatus.m_tribeLevel; - if(nFieldNum == 4) - return cPackData; - cPackData << FT_STRING; - cPackData << sTmStatus.m_name; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, STmStatus& sTmStatus ) -{ - uint8_t num; - cPackData >> num; - if(num < 4) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmStatus.m_memberId; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmStatus.m_basicSts; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmStatus.m_predefSts; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmStatus.m_tribeLevel; - try - { - if(num < 5) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmStatus.m_name; - } - catch(PACKRETCODE) - { - return cPackData; - } - for(int i = 5; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const STmMsgid& sTmMsgid ) -{ - uint8_t nFieldNum = 4; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sTmMsgid.m_memberId; - cPackData << FT_UINT8; - cPackData << sTmMsgid.m_basicSts; - cPackData << FT_UINT8; - cPackData << sTmMsgid.m_predefSts; - cPackData << FT_UINT32; - cPackData << sTmMsgid.m_lastMsgid; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, STmMsgid& sTmMsgid ) -{ - uint8_t num; - cPackData >> num; - if(num < 4) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmMsgid.m_memberId; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmMsgid.m_basicSts; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmMsgid.m_predefSts; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmMsgid.m_lastMsgid; - for(int i = 4; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeBlack& sTribeBlack ) -{ - uint8_t nFieldNum = 4; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sTribeBlack.m_userId; - cPackData << FT_STRING; - cPackData << sTribeBlack.m_managerId; - cPackData << FT_STRING; - cPackData << sTribeBlack.m_addDate; - cPackData << FT_STRING; - cPackData << sTribeBlack.m_remark; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, STribeBlack& sTribeBlack ) -{ - uint8_t num; - cPackData >> num; - if(num < 4) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeBlack.m_userId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeBlack.m_managerId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeBlack.m_addDate; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeBlack.m_remark; - for(int i = 4; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const STmInfo& sTmInfo ) -{ - uint8_t nFieldNum = 10; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sTmInfo.m_memberId; - cPackData << FT_STRING; - cPackData << sTmInfo.m_name; - cPackData << FT_UINT8; - cPackData << sTmInfo.m_basicSts; - cPackData << FT_UINT8; - cPackData << sTmInfo.m_predefSts; - cPackData << FT_UINT8; - cPackData << sTmInfo.m_tribeLevel; - cPackData << FT_UINT8; - cPackData << sTmInfo.m_activeLevel; - cPackData << FT_UINT32; - cPackData << sTmInfo.m_lastmsgTime; - cPackData << FT_INT64; - cPackData << sTmInfo.m_groupId; - cPackData << FT_UINT8; - cPackData << sTmInfo.m_mobileBindflag; - cPackData << FT_STRING; - cPackData << sTmInfo.m_mobileNo; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, STmInfo& sTmInfo ) -{ - uint8_t num; - cPackData >> num; - if(num < 10) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmInfo.m_memberId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmInfo.m_name; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmInfo.m_basicSts; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmInfo.m_predefSts; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmInfo.m_tribeLevel; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmInfo.m_activeLevel; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmInfo.m_lastmsgTime; - cPackData >> field; - if(field.m_baseType != FT_INT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmInfo.m_groupId; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmInfo.m_mobileBindflag; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTmInfo.m_mobileNo; - for(int i = 10; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeMsg& sTribeMsg ) -{ - uint8_t nFieldNum = 4; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sTribeMsg.m_fromId; - cPackData << FT_UINT8; - cPackData << sTribeMsg.m_msgType; - cPackData << FT_STRING; - cPackData << sTribeMsg.m_message; - cPackData << FT_UINT32; - cPackData << sTribeMsg.m_sendTime; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, STribeMsg& sTribeMsg ) -{ - uint8_t num; - cPackData >> num; - if(num < 4) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeMsg.m_fromId; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeMsg.m_msgType; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeMsg.m_message; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeMsg.m_sendTime; - for(int i = 4; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeSysmsg& sTribeSysmsg ) -{ - uint8_t nFieldNum = 8; - do { - if(sTribeSysmsg.m_showBottom == 1) - nFieldNum--; - else - break; - if(sTribeSysmsg.m_stayTime == 10000) - nFieldNum--; - else - break; - if(sTribeSysmsg.m_title == "ϵͳÌáʾ") - nFieldNum--; - else - break; - } while(0); - cPackData << nFieldNum; - cPackData << FT_UINT8; - cPackData << sTribeSysmsg.m_msgType; - cPackData << FT_STRING; - cPackData << sTribeSysmsg.m_message; - cPackData << FT_UINT32; - cPackData << sTribeSysmsg.m_sendTime; - cPackData << FT_UINT8; - cPackData << sTribeSysmsg.m_format; - cPackData << FT_STRING; - cPackData << sTribeSysmsg.m_content; - if(nFieldNum == 5) - return cPackData; - cPackData << FT_STRING; - cPackData << sTribeSysmsg.m_title; - if(nFieldNum == 6) - return cPackData; - cPackData << FT_UINT32; - cPackData << sTribeSysmsg.m_stayTime; - if(nFieldNum == 7) - return cPackData; - cPackData << FT_INT32; - cPackData << sTribeSysmsg.m_showBottom; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, STribeSysmsg& sTribeSysmsg ) -{ - uint8_t num; - cPackData >> num; - if(num < 5) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeSysmsg.m_msgType; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeSysmsg.m_message; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeSysmsg.m_sendTime; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeSysmsg.m_format; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeSysmsg.m_content; - try - { - if(num < 6) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeSysmsg.m_title; - if(num < 7) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeSysmsg.m_stayTime; - if(num < 8) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_INT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeSysmsg.m_showBottom; - } - catch(PACKRETCODE) - { - return cPackData; - } - for(int i = 8; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const SWebGroup& sWebGroup ) -{ - uint8_t nFieldNum = 5; - cPackData << nFieldNum; - cPackData << FT_UINT32; - cPackData << sWebGroup.m_groupId; - cPackData << FT_STRING; - cPackData << sWebGroup.m_groupName; - cPackData << FT_STRING; - cPackData << sWebGroup.m_serviceId; - cPackData << FT_STRING; - cPackData << sWebGroup.m_siteId; - cPackData << FT_STRING; - cPackData << sWebGroup.m_webId; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SWebGroup& sWebGroup ) -{ - uint8_t num; - cPackData >> num; - if(num < 5) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sWebGroup.m_groupId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sWebGroup.m_groupName; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sWebGroup.m_serviceId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sWebGroup.m_siteId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sWebGroup.m_webId; - for(int i = 5; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -CPackData& operator<< ( CPackData& cPackData, const STribeId& sTribeId ) -{ - uint8_t nFieldNum = 9; - do { - if(sTribeId.m_msgPopup == 0) - nFieldNum--; - else - break; - if(sTribeId.m_groupId == 0) - nFieldNum--; - else - break; - } while(0); - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sTribeId.m_tribeId; - cPackData << FT_STRING; - cPackData << sTribeId.m_tribeName; - cPackData << FT_UINT8; - cPackData << sTribeId.m_tribeLevel; - cPackData << FT_UINT8; - cPackData << sTribeId.m_tribeStatus; - cPackData << FT_STRING; - cPackData << sTribeId.m_extSign; - cPackData << FT_UINT32; - cPackData << sTribeId.m_groupStamp; - cPackData << FT_UINT8; - cPackData << sTribeId.m_openTribe; - if(nFieldNum == 7) - return cPackData; - cPackData << FT_UINT32; - cPackData << sTribeId.m_groupId; - if(nFieldNum == 8) - return cPackData; - cPackData << FT_UINT8; - cPackData << sTribeId.m_msgPopup; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, STribeId& sTribeId ) -{ - uint8_t num; - cPackData >> num; - if(num < 7) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeId.m_tribeId; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeId.m_tribeName; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeId.m_tribeLevel; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeId.m_tribeStatus; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeId.m_extSign; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeId.m_groupStamp; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeId.m_openTribe; - try - { - if(num < 8) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT32) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeId.m_groupId; - if(num < 9) return cPackData; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTribeId.m_msgPopup; - } - catch(PACKRETCODE) - { - return cPackData; - } - for(int i = 9; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - diff --git a/features/aliww/source/tcservice.cpp b/features/aliww/source/tcservice.cpp deleted file mode 100644 index b0ce519..0000000 --- a/features/aliww/source/tcservice.cpp +++ /dev/null @@ -1,2621 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `tcservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __TribeCacheService__TCSrvMgr__GetUserTribe_name = "GetUserTribe"; - -static const ::std::string __TribeCacheService__TCSrvMgr__GetUserTribe2_name = "GetUserTribe2"; - -static const ::std::string __TribeCacheService__TCSrvMgr__AddUserTribes_name = "AddUserTribes"; - -static const ::std::string __TribeCacheService__TCSrvMgr__AddUserTribes2_name = "AddUserTribes2"; - -static const ::std::string __TribeCacheService__TCSrvMgr__AddUserTribe_name = "AddUserTribe"; - -static const ::std::string __TribeCacheService__TCSrvMgr__DelUserTribe_name = "DelUserTribe"; - -static const ::std::string __TribeCacheService__TCSrvMgr__ChgUserTribe_name = "ChgUserTribe"; - -static const ::std::string __TribeCacheService__TCSrvMgr__ChgUserTribe2_name = "ChgUserTribe2"; - -static const ::std::string __TribeCacheService__TCSrvMgr__GetOffMngMsg_name = "GetOffMngMsg"; - -static const ::std::string __TribeCacheService__TCSrvMgr__AddOffMngMsg_name = "AddOffMngMsg"; - -static const ::std::string __TribeCacheService__TCSrvMgr__AddMsgList_name = "AddMsgList"; - -static const ::std::string __TribeCacheService__TCSrvMgr__UpdateTribe_name = "UpdateTribe"; - -static const ::std::string __TribeCacheService__TCSrvMgr__RemoveTribe_name = "RemoveTribe"; - -static const ::std::string __TribeCacheService__TCSrvMgr__GetOfflineMsg_name = "GetOfflineMsg"; - -void -IceInternal::incRef(::TribeCacheService::TCSrvMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::TribeCacheService::TCSrvMgr* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::TribeCacheService::TCSrvMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::TribeCacheService::TCSrvMgr* p) -{ - p->__decRef(); -} - -void -TribeCacheService::__write(::IceInternal::BasicStream* __os, const ::TribeCacheService::TCSrvMgrPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -TribeCacheService::__read(::IceInternal::BasicStream* __is, ::TribeCacheService::TCSrvMgrPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::TribeCacheService::TCSrvMgr; - v->__copyFrom(proxy); - } -} - -void -TribeCacheService::__write(::IceInternal::BasicStream* __os, const ::TribeCacheService::TCSrvMgrPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -TribeCacheService::STribeInfo::operator==(const STribeInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -TribeCacheService::STribeInfo::operator!=(const STribeInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(tribeLevel != __rhs.tribeLevel) - { - return true; - } - if(tribeStatus != __rhs.tribeStatus) - { - return true; - } - if(extSign != __rhs.extSign) - { - return true; - } - if(groupStamp != __rhs.groupStamp) - { - return true; - } - if(openTribe != __rhs.openTribe) - { - return true; - } - return false; -} - -bool -TribeCacheService::STribeInfo::operator<(const STribeInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(tribeLevel < __rhs.tribeLevel) - { - return true; - } - else if(__rhs.tribeLevel < tribeLevel) - { - return false; - } - if(tribeStatus < __rhs.tribeStatus) - { - return true; - } - else if(__rhs.tribeStatus < tribeStatus) - { - return false; - } - if(extSign < __rhs.extSign) - { - return true; - } - else if(__rhs.extSign < extSign) - { - return false; - } - if(groupStamp < __rhs.groupStamp) - { - return true; - } - else if(__rhs.groupStamp < groupStamp) - { - return false; - } - if(openTribe < __rhs.openTribe) - { - return true; - } - else if(__rhs.openTribe < openTribe) - { - return false; - } - return false; -} - -void -TribeCacheService::STribeInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(name); - __os->write(tribeLevel); - __os->write(tribeStatus); - __os->write(extSign); - __os->write(groupStamp); - __os->write(openTribe); -} - -void -TribeCacheService::STribeInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(name); - __is->read(tribeLevel); - __is->read(tribeStatus); - __is->read(extSign); - __is->read(groupStamp); - __is->read(openTribe); -} - -void -TribeCacheService::__write(::IceInternal::BasicStream* __os, const ::TribeCacheService::STribeInfo* begin, const ::TribeCacheService::STribeInfo* end, ::TribeCacheService::__U__STribeInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -TribeCacheService::__read(::IceInternal::BasicStream* __is, ::TribeCacheService::STribeInfoSeq& v, ::TribeCacheService::__U__STribeInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 20); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -TribeCacheService::STribeInfo2::operator==(const STribeInfo2& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -TribeCacheService::STribeInfo2::operator!=(const STribeInfo2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(tribeLevel != __rhs.tribeLevel) - { - return true; - } - if(tribeStatus != __rhs.tribeStatus) - { - return true; - } - if(extSign != __rhs.extSign) - { - return true; - } - if(groupStamp != __rhs.groupStamp) - { - return true; - } - if(openTribe != __rhs.openTribe) - { - return true; - } - if(popupFlag != __rhs.popupFlag) - { - return true; - } - return false; -} - -bool -TribeCacheService::STribeInfo2::operator<(const STribeInfo2& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(tribeLevel < __rhs.tribeLevel) - { - return true; - } - else if(__rhs.tribeLevel < tribeLevel) - { - return false; - } - if(tribeStatus < __rhs.tribeStatus) - { - return true; - } - else if(__rhs.tribeStatus < tribeStatus) - { - return false; - } - if(extSign < __rhs.extSign) - { - return true; - } - else if(__rhs.extSign < extSign) - { - return false; - } - if(groupStamp < __rhs.groupStamp) - { - return true; - } - else if(__rhs.groupStamp < groupStamp) - { - return false; - } - if(openTribe < __rhs.openTribe) - { - return true; - } - else if(__rhs.openTribe < openTribe) - { - return false; - } - if(popupFlag < __rhs.popupFlag) - { - return true; - } - else if(__rhs.popupFlag < popupFlag) - { - return false; - } - return false; -} - -void -TribeCacheService::STribeInfo2::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(name); - __os->write(tribeLevel); - __os->write(tribeStatus); - __os->write(extSign); - __os->write(groupStamp); - __os->write(openTribe); - __os->write(popupFlag); -} - -void -TribeCacheService::STribeInfo2::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(name); - __is->read(tribeLevel); - __is->read(tribeStatus); - __is->read(extSign); - __is->read(groupStamp); - __is->read(openTribe); - __is->read(popupFlag); -} - -void -TribeCacheService::__write(::IceInternal::BasicStream* __os, const ::TribeCacheService::STribeInfo2* begin, const ::TribeCacheService::STribeInfo2* end, ::TribeCacheService::__U__STribeInfoSeq2) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -TribeCacheService::__read(::IceInternal::BasicStream* __is, ::TribeCacheService::STribeInfoSeq2& v, ::TribeCacheService::__U__STribeInfoSeq2) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 22); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -TribeCacheService::STribeOffMngMsg::operator==(const STribeOffMngMsg& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -TribeCacheService::STribeOffMngMsg::operator!=(const STribeOffMngMsg& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(memberId != __rhs.memberId) - { - return true; - } - if(type != __rhs.type) - { - return true; - } - if(message != __rhs.message) - { - return true; - } - if(sendTime != __rhs.sendTime) - { - return true; - } - return false; -} - -bool -TribeCacheService::STribeOffMngMsg::operator<(const STribeOffMngMsg& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(memberId < __rhs.memberId) - { - return true; - } - else if(__rhs.memberId < memberId) - { - return false; - } - if(type < __rhs.type) - { - return true; - } - else if(__rhs.type < type) - { - return false; - } - if(message < __rhs.message) - { - return true; - } - else if(__rhs.message < message) - { - return false; - } - if(sendTime < __rhs.sendTime) - { - return true; - } - else if(__rhs.sendTime < sendTime) - { - return false; - } - return false; -} - -void -TribeCacheService::STribeOffMngMsg::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(memberId); - __os->write(type); - __os->write(message); - __os->write(sendTime); -} - -void -TribeCacheService::STribeOffMngMsg::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(memberId); - __is->read(type); - __is->read(message); - __is->read(sendTime); -} - -void -TribeCacheService::__write(::IceInternal::BasicStream* __os, const ::TribeCacheService::STribeOffMngMsg* begin, const ::TribeCacheService::STribeOffMngMsg* end, ::TribeCacheService::__U__STribeOffMngMsgSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -TribeCacheService::__read(::IceInternal::BasicStream* __is, ::TribeCacheService::STribeOffMngMsgSeq& v, ::TribeCacheService::__U__STribeOffMngMsgSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 16); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -TribeCacheService::__addObject(const TCSrvMgrPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -TribeCacheService::__usesClasses(const TCSrvMgrPtr& p) -{ - return p->__usesClasses(); -} - -void -TribeCacheService::__decRefUnsafe(const TCSrvMgrPtr& p) -{ - p->__decRefUnsafe(); -} - -void -TribeCacheService::__clearHandleUnsafe(TCSrvMgrPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::GetUserTribe(const ::std::string& userId, ::TribeCacheService::STribeInfoSeq& tribeList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__GetUserTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->GetUserTribe(userId, tribeList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::GetUserTribe2(const ::std::string& userId, ::TribeCacheService::STribeInfoSeq2& tribeList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__GetUserTribe2_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->GetUserTribe2(userId, tribeList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::AddUserTribes(const ::std::string& userId, const ::TribeCacheService::STribeInfoSeq& tribeList, const ::TribeCacheService::STribeOffMngMsgSeq& offMngMsg, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__AddUserTribes_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->AddUserTribes(userId, tribeList, offMngMsg, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::AddUserTribes2(const ::std::string& userId, const ::TribeCacheService::STribeInfoSeq2& tribeList, const ::TribeCacheService::STribeOffMngMsgSeq& offMngMsg, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__AddUserTribes2_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->AddUserTribes2(userId, tribeList, offMngMsg, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::AddUserTribe(const ::std::string& userId, const ::TribeCacheService::STribeInfo& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__AddUserTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->AddUserTribe(userId, tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::DelUserTribe(const ::std::string& userId, ::Ice::Long tribeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__DelUserTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->DelUserTribe(userId, tribeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::ChgUserTribe(const ::std::string& userId, const ::TribeCacheService::STribeInfo& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__ChgUserTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->ChgUserTribe(userId, tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::ChgUserTribe2(const ::std::string& userId, const ::TribeCacheService::STribeInfo2& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__ChgUserTribe2_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->ChgUserTribe2(userId, tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::GetOffMngMsg(const ::std::string& userId, ::Ice::Long tribeId, ::TribeCacheService::STribeOffMngMsgSeq& offMngMsgList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__GetOffMngMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->GetOffMngMsg(userId, tribeId, offMngMsgList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::AddOffMngMsg(const ::std::string& userId, const ::TribeCacheService::STribeOffMngMsg& offMngMsg, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__AddOffMngMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->AddOffMngMsg(userId, offMngMsg, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::AddMsgList(const ::std::string& userId, const ::TribeCacheService::STribeOffMngMsgSeq& msgList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__AddMsgList_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->AddMsgList(userId, msgList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::UpdateTribe(const ::TribeCacheService::STribeInfo& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__UpdateTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->UpdateTribe(tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::RemoveTribe(::Ice::Long tribeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__RemoveTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->RemoveTribe(tribeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::TribeCacheService::TCSrvMgr::GetOfflineMsg(const ::std::string& userId, ::TribeCacheService::STribeOffMngMsgSeq& offMngMsgList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__TribeCacheService__TCSrvMgr__GetOfflineMsg_name); - __delBase = __getDelegate(); - ::IceDelegate::TribeCacheService::TCSrvMgr* __del = dynamic_cast< ::IceDelegate::TribeCacheService::TCSrvMgr*>(__delBase.get()); - return __del->GetOfflineMsg(userId, offMngMsgList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::TribeCacheService::TCSrvMgr::ice_staticId() -{ - return ::TribeCacheService::TCSrvMgr::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::TribeCacheService::TCSrvMgr::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::TribeCacheService::TCSrvMgr); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::TribeCacheService::TCSrvMgr::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::TribeCacheService::TCSrvMgr); -} - -bool -IceProxy::TribeCacheService::operator==(const ::IceProxy::TribeCacheService::TCSrvMgr& l, const ::IceProxy::TribeCacheService::TCSrvMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::TribeCacheService::operator!=(const ::IceProxy::TribeCacheService::TCSrvMgr& l, const ::IceProxy::TribeCacheService::TCSrvMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::TribeCacheService::operator<(const ::IceProxy::TribeCacheService::TCSrvMgr& l, const ::IceProxy::TribeCacheService::TCSrvMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::TribeCacheService::operator<=(const ::IceProxy::TribeCacheService::TCSrvMgr& l, const ::IceProxy::TribeCacheService::TCSrvMgr& r) -{ - return l < r || l == r; -} - -bool -IceProxy::TribeCacheService::operator>(const ::IceProxy::TribeCacheService::TCSrvMgr& l, const ::IceProxy::TribeCacheService::TCSrvMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::TribeCacheService::operator>=(const ::IceProxy::TribeCacheService::TCSrvMgr& l, const ::IceProxy::TribeCacheService::TCSrvMgr& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::GetUserTribe(const ::std::string& userId, ::TribeCacheService::STribeInfoSeq& tribeList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__GetUserTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::TribeCacheService::__read(__is, tribeList, ::TribeCacheService::__U__STribeInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::GetUserTribe2(const ::std::string& userId, ::TribeCacheService::STribeInfoSeq2& tribeList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__GetUserTribe2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::TribeCacheService::__read(__is, tribeList, ::TribeCacheService::__U__STribeInfoSeq2()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::AddUserTribes(const ::std::string& userId, const ::TribeCacheService::STribeInfoSeq& tribeList, const ::TribeCacheService::STribeOffMngMsgSeq& offMngMsg, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__AddUserTribes_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - if(tribeList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::TribeCacheService::__write(__os, &tribeList[0], &tribeList[0] + tribeList.size(), ::TribeCacheService::__U__STribeInfoSeq()); - } - if(offMngMsg.size() == 0) - { - __os->writeSize(0); - } - else - { - ::TribeCacheService::__write(__os, &offMngMsg[0], &offMngMsg[0] + offMngMsg.size(), ::TribeCacheService::__U__STribeOffMngMsgSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::AddUserTribes2(const ::std::string& userId, const ::TribeCacheService::STribeInfoSeq2& tribeList, const ::TribeCacheService::STribeOffMngMsgSeq& offMngMsg, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__AddUserTribes2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - if(tribeList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::TribeCacheService::__write(__os, &tribeList[0], &tribeList[0] + tribeList.size(), ::TribeCacheService::__U__STribeInfoSeq2()); - } - if(offMngMsg.size() == 0) - { - __os->writeSize(0); - } - else - { - ::TribeCacheService::__write(__os, &offMngMsg[0], &offMngMsg[0] + offMngMsg.size(), ::TribeCacheService::__U__STribeOffMngMsgSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::AddUserTribe(const ::std::string& userId, const ::TribeCacheService::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__AddUserTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::DelUserTribe(const ::std::string& userId, ::Ice::Long tribeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__DelUserTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::ChgUserTribe(const ::std::string& userId, const ::TribeCacheService::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__ChgUserTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::ChgUserTribe2(const ::std::string& userId, const ::TribeCacheService::STribeInfo2& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__ChgUserTribe2_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::GetOffMngMsg(const ::std::string& userId, ::Ice::Long tribeId, ::TribeCacheService::STribeOffMngMsgSeq& offMngMsgList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__GetOffMngMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::TribeCacheService::__read(__is, offMngMsgList, ::TribeCacheService::__U__STribeOffMngMsgSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::AddOffMngMsg(const ::std::string& userId, const ::TribeCacheService::STribeOffMngMsg& offMngMsg, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__AddOffMngMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - offMngMsg.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::AddMsgList(const ::std::string& userId, const ::TribeCacheService::STribeOffMngMsgSeq& msgList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__AddMsgList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - if(msgList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::TribeCacheService::__write(__os, &msgList[0], &msgList[0] + msgList.size(), ::TribeCacheService::__U__STribeOffMngMsgSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::UpdateTribe(const ::TribeCacheService::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__UpdateTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::RemoveTribe(::Ice::Long tribeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__RemoveTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::TribeCacheService::TCSrvMgr::GetOfflineMsg(const ::std::string& userId, ::TribeCacheService::STribeOffMngMsgSeq& offMngMsgList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __TribeCacheService__TCSrvMgr__GetOfflineMsg_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::TribeCacheService::__read(__is, offMngMsgList, ::TribeCacheService::__U__STribeOffMngMsgSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::GetUserTribe(const ::std::string& userId, ::TribeCacheService::STribeInfoSeq& tribeList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__GetUserTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUserTribe(userId, tribeList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::GetUserTribe2(const ::std::string& userId, ::TribeCacheService::STribeInfoSeq2& tribeList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__GetUserTribe2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUserTribe2(userId, tribeList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::AddUserTribes(const ::std::string& userId, const ::TribeCacheService::STribeInfoSeq& tribeList, const ::TribeCacheService::STribeOffMngMsgSeq& offMngMsg, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__AddUserTribes_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddUserTribes(userId, tribeList, offMngMsg, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::AddUserTribes2(const ::std::string& userId, const ::TribeCacheService::STribeInfoSeq2& tribeList, const ::TribeCacheService::STribeOffMngMsgSeq& offMngMsg, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__AddUserTribes2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddUserTribes2(userId, tribeList, offMngMsg, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::AddUserTribe(const ::std::string& userId, const ::TribeCacheService::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__AddUserTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddUserTribe(userId, tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::DelUserTribe(const ::std::string& userId, ::Ice::Long tribeId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__DelUserTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DelUserTribe(userId, tribeId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::ChgUserTribe(const ::std::string& userId, const ::TribeCacheService::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__ChgUserTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->ChgUserTribe(userId, tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::ChgUserTribe2(const ::std::string& userId, const ::TribeCacheService::STribeInfo2& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__ChgUserTribe2_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->ChgUserTribe2(userId, tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::GetOffMngMsg(const ::std::string& userId, ::Ice::Long tribeId, ::TribeCacheService::STribeOffMngMsgSeq& offMngMsgList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__GetOffMngMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetOffMngMsg(userId, tribeId, offMngMsgList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::AddOffMngMsg(const ::std::string& userId, const ::TribeCacheService::STribeOffMngMsg& offMngMsg, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__AddOffMngMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddOffMngMsg(userId, offMngMsg, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::AddMsgList(const ::std::string& userId, const ::TribeCacheService::STribeOffMngMsgSeq& msgList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__AddMsgList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddMsgList(userId, msgList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::UpdateTribe(const ::TribeCacheService::STribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__UpdateTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateTribe(tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::RemoveTribe(::Ice::Long tribeId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__RemoveTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->RemoveTribe(tribeId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::TribeCacheService::TCSrvMgr::GetOfflineMsg(const ::std::string& userId, ::TribeCacheService::STribeOffMngMsgSeq& offMngMsgList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __TribeCacheService__TCSrvMgr__GetOfflineMsg_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::TribeCacheService::TCSrvMgr* __servant = dynamic_cast< ::TribeCacheService::TCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetOfflineMsg(userId, offMngMsgList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -TribeCacheService::TCSrvMgr::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __TribeCacheService__TCSrvMgr_ids[2] = -{ - "::Ice::Object", - "::TribeCacheService::TCSrvMgr" -}; - -bool -TribeCacheService::TCSrvMgr::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__TribeCacheService__TCSrvMgr_ids, __TribeCacheService__TCSrvMgr_ids + 2, _s); -} - -::std::vector< ::std::string> -TribeCacheService::TCSrvMgr::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__TribeCacheService__TCSrvMgr_ids[0], &__TribeCacheService__TCSrvMgr_ids[2]); -} - -const ::std::string& -TribeCacheService::TCSrvMgr::ice_id(const ::Ice::Current&) const -{ - return __TribeCacheService__TCSrvMgr_ids[1]; -} - -const ::std::string& -TribeCacheService::TCSrvMgr::ice_staticId() -{ - return __TribeCacheService__TCSrvMgr_ids[1]; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___GetUserTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::TribeCacheService::STribeInfoSeq tribeList; - ::Ice::Int __ret = GetUserTribe(userId, tribeList, __current); - if(tribeList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::TribeCacheService::__write(__os, &tribeList[0], &tribeList[0] + tribeList.size(), ::TribeCacheService::__U__STribeInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___GetUserTribe2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::TribeCacheService::STribeInfoSeq2 tribeList; - ::Ice::Int __ret = GetUserTribe2(userId, tribeList, __current); - if(tribeList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::TribeCacheService::__write(__os, &tribeList[0], &tribeList[0] + tribeList.size(), ::TribeCacheService::__U__STribeInfoSeq2()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___AddUserTribes(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::TribeCacheService::STribeInfoSeq tribeList; - ::TribeCacheService::STribeOffMngMsgSeq offMngMsg; - __is->read(userId); - ::TribeCacheService::__read(__is, tribeList, ::TribeCacheService::__U__STribeInfoSeq()); - ::TribeCacheService::__read(__is, offMngMsg, ::TribeCacheService::__U__STribeOffMngMsgSeq()); - ::Ice::Int __ret = AddUserTribes(userId, tribeList, offMngMsg, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___AddUserTribes2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::TribeCacheService::STribeInfoSeq2 tribeList; - ::TribeCacheService::STribeOffMngMsgSeq offMngMsg; - __is->read(userId); - ::TribeCacheService::__read(__is, tribeList, ::TribeCacheService::__U__STribeInfoSeq2()); - ::TribeCacheService::__read(__is, offMngMsg, ::TribeCacheService::__U__STribeOffMngMsgSeq()); - ::Ice::Int __ret = AddUserTribes2(userId, tribeList, offMngMsg, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___AddUserTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::TribeCacheService::STribeInfo tribeInfo; - __is->read(userId); - tribeInfo.__read(__is); - ::Ice::Int __ret = AddUserTribe(userId, tribeInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___DelUserTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Long tribeId; - __is->read(userId); - __is->read(tribeId); - ::Ice::Int __ret = DelUserTribe(userId, tribeId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___ChgUserTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::TribeCacheService::STribeInfo tribeInfo; - __is->read(userId); - tribeInfo.__read(__is); - ::Ice::Int __ret = ChgUserTribe(userId, tribeInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___ChgUserTribe2(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::TribeCacheService::STribeInfo2 tribeInfo; - __is->read(userId); - tribeInfo.__read(__is); - ::Ice::Int __ret = ChgUserTribe2(userId, tribeInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___GetOffMngMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Long tribeId; - __is->read(userId); - __is->read(tribeId); - ::TribeCacheService::STribeOffMngMsgSeq offMngMsgList; - ::Ice::Int __ret = GetOffMngMsg(userId, tribeId, offMngMsgList, __current); - if(offMngMsgList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::TribeCacheService::__write(__os, &offMngMsgList[0], &offMngMsgList[0] + offMngMsgList.size(), ::TribeCacheService::__U__STribeOffMngMsgSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___AddOffMngMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::TribeCacheService::STribeOffMngMsg offMngMsg; - __is->read(userId); - offMngMsg.__read(__is); - ::Ice::Int __ret = AddOffMngMsg(userId, offMngMsg, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___AddMsgList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::TribeCacheService::STribeOffMngMsgSeq msgList; - __is->read(userId); - ::TribeCacheService::__read(__is, msgList, ::TribeCacheService::__U__STribeOffMngMsgSeq()); - ::Ice::Int __ret = AddMsgList(userId, msgList, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___UpdateTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::TribeCacheService::STribeInfo tribeInfo; - tribeInfo.__read(__is); - ::Ice::Int __ret = UpdateTribe(tribeInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___RemoveTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long tribeId; - __is->read(tribeId); - ::Ice::Int __ret = RemoveTribe(tribeId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::___GetOfflineMsg(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::TribeCacheService::STribeOffMngMsgSeq offMngMsgList; - ::Ice::Int __ret = GetOfflineMsg(userId, offMngMsgList, __current); - if(offMngMsgList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::TribeCacheService::__write(__os, &offMngMsgList[0], &offMngMsgList[0] + offMngMsgList.size(), ::TribeCacheService::__U__STribeOffMngMsgSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __TribeCacheService__TCSrvMgr_all[] = -{ - "AddMsgList", - "AddOffMngMsg", - "AddUserTribe", - "AddUserTribes", - "AddUserTribes2", - "ChgUserTribe", - "ChgUserTribe2", - "DelUserTribe", - "GetOffMngMsg", - "GetOfflineMsg", - "GetUserTribe", - "GetUserTribe2", - "RemoveTribe", - "UpdateTribe", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -TribeCacheService::TCSrvMgr::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__TribeCacheService__TCSrvMgr_all, __TribeCacheService__TCSrvMgr_all + 18, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __TribeCacheService__TCSrvMgr_all) - { - case 0: - { - return ___AddMsgList(in, current); - } - case 1: - { - return ___AddOffMngMsg(in, current); - } - case 2: - { - return ___AddUserTribe(in, current); - } - case 3: - { - return ___AddUserTribes(in, current); - } - case 4: - { - return ___AddUserTribes2(in, current); - } - case 5: - { - return ___ChgUserTribe(in, current); - } - case 6: - { - return ___ChgUserTribe2(in, current); - } - case 7: - { - return ___DelUserTribe(in, current); - } - case 8: - { - return ___GetOffMngMsg(in, current); - } - case 9: - { - return ___GetOfflineMsg(in, current); - } - case 10: - { - return ___GetUserTribe(in, current); - } - case 11: - { - return ___GetUserTribe2(in, current); - } - case 12: - { - return ___RemoveTribe(in, current); - } - case 13: - { - return ___UpdateTribe(in, current); - } - case 14: - { - return ___ice_id(in, current); - } - case 15: - { - return ___ice_ids(in, current); - } - case 16: - { - return ___ice_isA(in, current); - } - case 17: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -TribeCacheService::TCSrvMgr::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -TribeCacheService::TCSrvMgr::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -TribeCacheService::TCSrvMgr::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type TribeCacheService::TCSrvMgr was not generated with stream support"; - throw ex; -} - -void -TribeCacheService::TCSrvMgr::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type TribeCacheService::TCSrvMgr was not generated with stream support"; - throw ex; -} - -void -TribeCacheService::__patch__TCSrvMgrPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::TribeCacheService::TCSrvMgrPtr* p = static_cast< ::TribeCacheService::TCSrvMgrPtr*>(__addr); - assert(p); - *p = ::TribeCacheService::TCSrvMgrPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::TribeCacheService::TCSrvMgr::ice_staticId(); - throw e; - } -} - -bool -TribeCacheService::operator==(const ::TribeCacheService::TCSrvMgr& l, const ::TribeCacheService::TCSrvMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -TribeCacheService::operator!=(const ::TribeCacheService::TCSrvMgr& l, const ::TribeCacheService::TCSrvMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -TribeCacheService::operator<(const ::TribeCacheService::TCSrvMgr& l, const ::TribeCacheService::TCSrvMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -TribeCacheService::operator<=(const ::TribeCacheService::TCSrvMgr& l, const ::TribeCacheService::TCSrvMgr& r) -{ - return l < r || l == r; -} - -bool -TribeCacheService::operator>(const ::TribeCacheService::TCSrvMgr& l, const ::TribeCacheService::TCSrvMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -TribeCacheService::operator>=(const ::TribeCacheService::TCSrvMgr& l, const ::TribeCacheService::TCSrvMgr& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/tgsc_pack.cpp b/features/aliww/source/tgsc_pack.cpp deleted file mode 100644 index a3e2389..0000000 --- a/features/aliww/source/tgsc_pack.cpp +++ /dev/null @@ -1,2997 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tgsc_pack.cpp -// Date: 2011-01-30 12:49:42 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "tgsc_pack.h" - -void CTbscReqGetOnlineinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_GET_ONLINEINFO; - m_scsHead.PackData(strData); -} - -void CTbscReqGetOnlineinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqGetOnlineinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqGetOnlineinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqGetOnlineinfo::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspGetOnlineinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_GET_ONLINEINFO; - m_scsHead.PackData(strData); -} - -void CTbscRspGetOnlineinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT32; - (*this) << m_memberNum; - (*this) << FT_UINT32; - (*this) << m_visitorNum; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspGetOnlineinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspGetOnlineinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberNum; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_visitorNum; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspGetOnlineinfo::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqNtfModifytribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_NTF_MODIFYTRIBE; - m_scsHead.PackData(strData); -} - -void CTbscReqNtfModifytribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_itemList.size(); - (*this) << nLen; - VECTOR< SModifyItem >::const_iterator itr; - for(itr = m_itemList.cbegin(); itr != m_itemList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqNtfModifytribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqNtfModifytribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_itemList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SModifyItem tmpVal; - (*this) >> tmpVal; - m_itemList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqNtfModifytribe::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspNtfModifytribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_NTF_MODIFYTRIBE; - m_scsHead.PackData(strData); -} - -void CTbscRspNtfModifytribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_itemList.size(); - (*this) << nLen; - VECTOR< SModifyItem >::const_iterator itr; - for(itr = m_itemList.cbegin(); itr != m_itemList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspNtfModifytribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspNtfModifytribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_itemList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SModifyItem tmpVal; - (*this) >> tmpVal; - m_itemList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspNtfModifytribe::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqGetTribemember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_GET_TRIBEMEMBER; - m_scsHead.PackData(strData); -} - -void CTbscReqGetTribemember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqGetTribemember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqGetTribemember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqGetTribemember::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspGetTribemember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_GET_TRIBEMEMBER; - m_scsHead.PackData(strData); -} - -void CTbscRspGetTribemember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_memberList.size(); - (*this) << nLen; - VECTOR< STmInfo >::const_iterator itr; - for(itr = m_memberList.cbegin(); itr != m_memberList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspGetTribemember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspGetTribemember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_memberList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STmInfo tmpVal; - (*this) >> tmpVal; - m_memberList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspGetTribemember::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqGetMemberinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_GET_MEMBERINFO; - m_scsHead.PackData(strData); -} - -void CTbscReqGetMemberinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqGetMemberinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqGetMemberinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqGetMemberinfo::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspGetMemberinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_GET_MEMBERINFO; - m_scsHead.PackData(strData); -} - -void CTbscRspGetMemberinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRUCT; - (*this) << m_memberInfo; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspGetMemberinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspGetMemberinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_memberInfo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspGetMemberinfo::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqGetTribemanager::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_GET_TRIBEMANAGER; - m_scsHead.PackData(strData); -} - -void CTbscReqGetTribemanager::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqGetTribemanager::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqGetTribemanager::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqGetTribemanager::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspGetTribemanager::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_GET_TRIBEMANAGER; - m_scsHead.PackData(strData); -} - -void CTbscRspGetTribemanager::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_managerList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_managerList.cbegin(); itr != m_managerList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspGetTribemanager::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspGetTribemanager::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_managerList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_managerList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspGetTribemanager::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqGetUsertribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_GET_USERTRIBE; - m_scsHead.PackData(strData); -} - -void CTbscReqGetUsertribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_userId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqGetUsertribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqGetUsertribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqGetUsertribe::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspGetUsertribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_GET_USERTRIBE; - m_scsHead.PackData(strData); -} - -void CTbscRspGetUsertribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_tribeList.size(); - (*this) << nLen; - VECTOR< STribeId >::const_iterator itr; - for(itr = m_tribeList.cbegin(); itr != m_tribeList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspGetUsertribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspGetUsertribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STribeId tmpVal; - (*this) >> tmpVal; - m_tribeList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspGetUsertribe::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqSendTribemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_SEND_TRIBEMSG; - m_scsHead.PackData(strData); -} - -void CTbscReqSendTribemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_UINT8; - (*this) << m_msgType; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqSendTribemsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqSendTribemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgType; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqSendTribemsg::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspSendTribemsg::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_SEND_TRIBEMSG; - m_scsHead.PackData(strData); -} - -void CTbscRspSendTribemsg::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRING; - (*this) << m_message; - (*this) << FT_UINT8; - (*this) << m_msgType; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspSendTribemsg::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspSendTribemsg::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_message; - try - { - if(num < 4) return PACK_RIGHT; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgType; - } - catch(PACKRETCODE) - { - return PACK_RIGHT; - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspSendTribemsg::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqGetTribeinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_GET_TRIBEINFO; - m_scsHead.PackData(strData); -} - -void CTbscReqGetTribeinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqGetTribeinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqGetTribeinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqGetTribeinfo::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspGetTribeinfo::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_GET_TRIBEINFO; - m_scsHead.PackData(strData); -} - -void CTbscRspGetTribeinfo::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_STRUCT; - (*this) << m_tribeInfo; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspGetTribeinfo::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspGetTribeinfo::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_STRUCT) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeInfo; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspGetTribeinfo::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqGetActlevel::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_GET_ACTLEVEL; - m_scsHead.PackData(strData); -} - -void CTbscReqGetActlevel::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqGetActlevel::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqGetActlevel::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqGetActlevel::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspGetActlevel::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_GET_ACTLEVEL; - m_scsHead.PackData(strData); -} - -void CTbscRspGetActlevel::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT32; - (*this) << m_activeLevel; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspGetActlevel::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspGetActlevel::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_activeLevel; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspGetActlevel::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqUnloadtribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_UNLOADTRIBE; - m_scsHead.PackData(strData); -} - -void CTbscReqUnloadtribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqUnloadtribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqUnloadtribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqUnloadtribe::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspUnloadtribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_UNLOADTRIBE; - m_scsHead.PackData(strData); -} - -void CTbscRspUnloadtribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspUnloadtribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspUnloadtribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspUnloadtribe::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqActiveUser::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_ACTIVE_USER; - m_scsHead.PackData(strData); -} - -void CTbscReqActiveUser::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_webUid; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_tribeList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_tribeList.cbegin(); itr != m_tribeList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqActiveUser::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqActiveUser::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_webUid; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_tribeList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqActiveUser::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspActiveUser::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_ACTIVE_USER; - m_scsHead.PackData(strData); -} - -void CTbscRspActiveUser::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_webUid; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_tribeList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_tribeList.cbegin(); itr != m_tribeList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspActiveUser::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspActiveUser::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_webUid; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_tribeList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspActiveUser::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqDisactiveUser::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_DISACTIVE_USER; - m_scsHead.PackData(strData); -} - -void CTbscReqDisactiveUser::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_webUid; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_tribeList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_tribeList.cbegin(); itr != m_tribeList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqDisactiveUser::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqDisactiveUser::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_webUid; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_tribeList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqDisactiveUser::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspDisactiveUser::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_DISACTIVE_USER; - m_scsHead.PackData(strData); -} - -void CTbscRspDisactiveUser::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_webUid; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_tribeList.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_tribeList.cbegin(); itr != m_tribeList.cend(); ++itr) - { - (*this) << (*itr); - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspDisactiveUser::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspDisactiveUser::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_webUid; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_tribeList.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_tribeList.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspDisactiveUser::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqStopTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_STOP_TRIBE; - m_scsHead.PackData(strData); -} - -void CTbscReqStopTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqStopTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqStopTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqStopTribe::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspStopTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_STOP_TRIBE; - m_scsHead.PackData(strData); -} - -void CTbscRspStopTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspStopTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspStopTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspStopTribe::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqModifyTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_MODIFY_TRIBE; - m_scsHead.PackData(strData); -} - -void CTbscReqModifyTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_items.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqModifyTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqModifyTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_items[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqModifyTribe::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspModifyTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_MODIFY_TRIBE; - m_scsHead.PackData(strData); -} - -void CTbscRspModifyTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_MAP; - (*this) << FT_STRING; - (*this) << FT_STRING; - { - uint8_t nSize = m_items.size(); - (*this) << nSize; - map< string,string >::const_iterator itr; - for(itr = m_items.begin(); itr != m_items.end(); ++itr) - { - (*this) << itr->first; - (*this) << itr->second; - } - } - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspModifyTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspModifyTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_MAP) return PACK_TYPEMATCH_ERROR; - { - uint8_t nSize; - (*this) >> nSize; - for(uint32_t i = 0; i < nSize; i++) - { - string key; - string value; - (*this) >> key; - (*this) >> value; - m_items[key] = value; - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspModifyTribe::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqAddTribeMember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_ADD_TRIBE_MEMBER; - m_scsHead.PackData(strData); -} - -void CTbscReqAddTribeMember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_tribeLevel; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_name; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqAddTribeMember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqAddTribeMember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeLevel; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_name; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqAddTribeMember::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspAddTribeMember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_ADD_TRIBE_MEMBER; - m_scsHead.PackData(strData); -} - -void CTbscRspAddTribeMember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_tribeLevel; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_name; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspAddTribeMember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspAddTribeMember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeLevel; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_name; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspAddTribeMember::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqDelTribeMember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_DEL_TRIBE_MEMBER; - m_scsHead.PackData(strData); -} - -void CTbscReqDelTribeMember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_tribeLevel; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_operId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqDelTribeMember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqDelTribeMember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeLevel; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_operId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqDelTribeMember::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspDelTribeMember::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_DEL_TRIBE_MEMBER; - m_scsHead.PackData(strData); -} - -void CTbscRspDelTribeMember::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_tribeLevel; - (*this) << FT_STRING; - (*this) << m_userId; - (*this) << FT_STRING; - (*this) << m_operId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspDelTribeMember::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspDelTribeMember::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeLevel; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_operId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspDelTribeMember::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscReqQuitTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_REQ_QUIT_TRIBE; - m_scsHead.PackData(strData); -} - -void CTbscReqQuitTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_tribeId; - (*this) << FT_UINT8; - (*this) << m_tribeLevel; - (*this) << FT_STRING; - (*this) << m_userId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscReqQuitTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscReqQuitTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeLevel; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_userId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscReqQuitTribe::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - -void CTbscRspQuitTribe::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scsHead.Size()) - m_scsHead.m_len = 0; - else - m_scsHead.m_len = strData.size() - m_scsHead.Size(); - if(m_scsHead.m_cmd == 0) m_scsHead.m_cmd = TBSC_RSP_QUIT_TRIBE; - m_scsHead.PackData(strData); -} - -void CTbscRspQuitTribe::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_UINT8; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_tribeId; - FormData( nHeadLen ); - m_scsHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CTbscRspQuitTribe::PackData(string& strData) -{ - PackBody(strData); - PackHead(strData); -} - -PACKRETCODE CTbscRspQuitTribe::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scsHead.Size(); - m_scsHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scsHead.PeekCc()) return PACK_CHECKCODE_ERROR; - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tribeId; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CTbscRspQuitTribe::UnpackData(string& strData) -{ - m_scsHead.UnpackData(strData); - return UnpackBody(strData); -} - diff --git a/features/aliww/source/tgsstrc_pack.cpp b/features/aliww/source/tgsstrc_pack.cpp deleted file mode 100644 index 9792e69..0000000 --- a/features/aliww/source/tgsstrc_pack.cpp +++ /dev/null @@ -1,39 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tgsstrc_pack.cpp -// Date: 2011-01-30 12:49:42 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "tgsstrc_pack.h" - -CPackData& operator<< ( CPackData& cPackData, const SModifyItem& sModifyItem ) -{ - uint8_t nFieldNum = 2; - cPackData << nFieldNum; - cPackData << FT_UINT8; - cPackData << sModifyItem.m_id; - cPackData << FT_STRING; - cPackData << sModifyItem.m_content; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SModifyItem& sModifyItem ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sModifyItem.m_id; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sModifyItem.m_content; - for(int i = 2; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - diff --git a/features/aliww/source/tmpsession.cpp b/features/aliww/source/tmpsession.cpp deleted file mode 100644 index ac737c4..0000000 --- a/features/aliww/source/tmpsession.cpp +++ /dev/null @@ -1,586 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `tmpsession.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__TmpSessionMgr__getUserSession_name = "getUserSession"; - -static const ::std::string __AliIM__TmpSessionMgr__checkUserSession_name = "checkUserSession"; - -void -IceInternal::incRef(::AliIM::TmpSessionMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::TmpSessionMgr* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::TmpSessionMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::TmpSessionMgr* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::TmpSessionMgrPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::TmpSessionMgrPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::TmpSessionMgr; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::TmpSessionMgrPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIM::__addObject(const TmpSessionMgrPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const TmpSessionMgrPtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const TmpSessionMgrPtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(TmpSessionMgrPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::TmpSessionMgr::getUserSession(const ::std::string& uid, ::std::string& sessionNo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__TmpSessionMgr__getUserSession_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::TmpSessionMgr* __del = dynamic_cast< ::IceDelegate::AliIM::TmpSessionMgr*>(__delBase.get()); - return __del->getUserSession(uid, sessionNo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::TmpSessionMgr::checkUserSession(const ::std::string& uid, const ::std::string& sessionNo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__TmpSessionMgr__checkUserSession_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::TmpSessionMgr* __del = dynamic_cast< ::IceDelegate::AliIM::TmpSessionMgr*>(__delBase.get()); - return __del->checkUserSession(uid, sessionNo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::TmpSessionMgr::ice_staticId() -{ - return ::AliIM::TmpSessionMgr::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::TmpSessionMgr::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::TmpSessionMgr); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::TmpSessionMgr::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::TmpSessionMgr); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::TmpSessionMgr& l, const ::IceProxy::AliIM::TmpSessionMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::TmpSessionMgr& l, const ::IceProxy::AliIM::TmpSessionMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::TmpSessionMgr& l, const ::IceProxy::AliIM::TmpSessionMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::TmpSessionMgr& l, const ::IceProxy::AliIM::TmpSessionMgr& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::TmpSessionMgr& l, const ::IceProxy::AliIM::TmpSessionMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::TmpSessionMgr& l, const ::IceProxy::AliIM::TmpSessionMgr& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::TmpSessionMgr::getUserSession(const ::std::string& uid, ::std::string& sessionNo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__TmpSessionMgr__getUserSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(sessionNo); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::TmpSessionMgr::checkUserSession(const ::std::string& uid, const ::std::string& sessionNo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__TmpSessionMgr__checkUserSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(sessionNo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::TmpSessionMgr::getUserSession(const ::std::string& uid, ::std::string& sessionNo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__TmpSessionMgr__getUserSession_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::TmpSessionMgr* __servant = dynamic_cast< ::AliIM::TmpSessionMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserSession(uid, sessionNo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::TmpSessionMgr::checkUserSession(const ::std::string& uid, const ::std::string& sessionNo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__TmpSessionMgr__checkUserSession_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::TmpSessionMgr* __servant = dynamic_cast< ::AliIM::TmpSessionMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkUserSession(uid, sessionNo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::TmpSessionMgr::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__TmpSessionMgr_ids[2] = -{ - "::AliIM::TmpSessionMgr", - "::Ice::Object" -}; - -bool -AliIM::TmpSessionMgr::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__TmpSessionMgr_ids, __AliIM__TmpSessionMgr_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::TmpSessionMgr::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__TmpSessionMgr_ids[0], &__AliIM__TmpSessionMgr_ids[2]); -} - -const ::std::string& -AliIM::TmpSessionMgr::ice_id(const ::Ice::Current&) const -{ - return __AliIM__TmpSessionMgr_ids[0]; -} - -const ::std::string& -AliIM::TmpSessionMgr::ice_staticId() -{ - return __AliIM__TmpSessionMgr_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::TmpSessionMgr::___getUserSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::std::string sessionNo; - ::Ice::Int __ret = getUserSession(uid, sessionNo, __current); - __os->write(sessionNo); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::TmpSessionMgr::___checkUserSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string sessionNo; - __is->read(uid); - __is->read(sessionNo); - ::Ice::Int __ret = checkUserSession(uid, sessionNo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__TmpSessionMgr_all[] = -{ - "checkUserSession", - "getUserSession", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -AliIM::TmpSessionMgr::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__TmpSessionMgr_all, __AliIM__TmpSessionMgr_all + 6, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__TmpSessionMgr_all) - { - case 0: - { - return ___checkUserSession(in, current); - } - case 1: - { - return ___getUserSession(in, current); - } - case 2: - { - return ___ice_id(in, current); - } - case 3: - { - return ___ice_ids(in, current); - } - case 4: - { - return ___ice_isA(in, current); - } - case 5: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::TmpSessionMgr::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::TmpSessionMgr::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::TmpSessionMgr::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::TmpSessionMgr was not generated with stream support"; - throw ex; -} - -void -AliIM::TmpSessionMgr::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::TmpSessionMgr was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__TmpSessionMgrPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::TmpSessionMgrPtr* p = static_cast< ::AliIM::TmpSessionMgrPtr*>(__addr); - assert(p); - *p = ::AliIM::TmpSessionMgrPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::TmpSessionMgr::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::TmpSessionMgr& l, const ::AliIM::TmpSessionMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::TmpSessionMgr& l, const ::AliIM::TmpSessionMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::TmpSessionMgr& l, const ::AliIM::TmpSessionMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::TmpSessionMgr& l, const ::AliIM::TmpSessionMgr& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::TmpSessionMgr& l, const ::AliIM::TmpSessionMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::TmpSessionMgr& l, const ::AliIM::TmpSessionMgr& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/tpfs_pack.cpp b/features/aliww/source/tpfs_pack.cpp deleted file mode 100644 index 9c68240..0000000 --- a/features/aliww/source/tpfs_pack.cpp +++ /dev/null @@ -1,2633 +0,0 @@ -/*--------------------------------------------------------------------------- -// Filename: tpfs_pack.cpp -// Date: 2011-03-09 14:14:03 -// Author: autogen -// Note: this is a auto-generated file, DON'T MODIFY IT! -// created by root -//---------------------------------------------------------------------------*/ -#include "tpfs_pack.h" - -void CImReqChatChkver::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHAT_CHKVER; - m_scHead.PackData(strData); -} - -void CImReqChatChkver::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_version; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChatChkver::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChatChkver::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChatChkver::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChatChkver::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHAT_CHKVER; - m_scHead.PackData(strData); -} - -void CImRspChatChkver::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_UINT32; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_remark; - (*this) << FT_UINT32; - (*this) << m_connectNo; - (*this) << FT_STRING; - (*this) << m_pubkey; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChatChkver::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChatChkver::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_remark; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_connectNo; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_pubkey; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChatChkver::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChatPreidentify::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHAT_PREIDENTIFY; - m_scHead.PackData(strData); -} - -void CImReqChatPreidentify::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_UINT32; - (*this) << m_connectNo; - (*this) << FT_STRING; - (*this) << m_workKey; - (*this) << FT_STRING; - (*this) << m_strlogin; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChatPreidentify::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChatPreidentify::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_connectNo; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_workKey; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_strlogin; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChatPreidentify::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChatIdentify::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHAT_IDENTIFY; - m_scHead.PackData(strData); -} - -void CImReqChatIdentify::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)3; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_STRING; - (*this) << m_sessionkey; - (*this) << FT_STRING; - (*this) << m_version; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChatIdentify::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChatIdentify::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 3) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionkey; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChatIdentify::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChatIdentify::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHAT_IDENTIFY; - m_scHead.PackData(strData); -} - -void CImRspChatIdentify::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_version; - (*this) << FT_UINT16; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_msg; - (*this) << FT_STRING; - (*this) << m_sessionid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChatIdentify::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChatIdentify::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_version; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msg; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChatIdentify::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChatClose::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHAT_CLOSE; - m_scHead.PackData(strData); -} - -void CImReqChatClose::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)1; - (*this) << FT_STRING; - (*this) << m_sessionid; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChatClose::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChatClose::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 1) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChatClose::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChatClose::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHAT_CLOSE; - m_scHead.PackData(strData); -} - -void CImRspChatClose::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_UINT16; - (*this) << m_type; - (*this) << FT_UINT16; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_msg; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChatClose::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChatClose::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_type; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msg; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChatClose::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SCchatindexid& sCchatindexid ) -{ - uint8_t nFieldNum = 5; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sCchatindexid.m_userid; - cPackData << FT_STRING; - cPackData << sCchatindexid.m_peeruid; - cPackData << FT_UINT64; - cPackData << sCchatindexid.m_tm; - cPackData << FT_UINT64; - cPackData << sCchatindexid.m_seq; - cPackData << FT_UINT8; - cPackData << sCchatindexid.m_dir; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SCchatindexid& sCchatindexid ) -{ - uint8_t num; - cPackData >> num; - if(num < 5) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sCchatindexid.m_userid; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sCchatindexid.m_peeruid; - cPackData >> field; - if(field.m_baseType != FT_UINT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sCchatindexid.m_tm; - cPackData >> field; - if(field.m_baseType != FT_UINT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sCchatindexid.m_seq; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sCchatindexid.m_dir; - for(int i = 5; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImReqChatDeltext::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHAT_DELTEXT; - m_scHead.PackData(strData); -} - -void CImReqChatDeltext::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_keyseq.size(); - (*this) << nLen; - VECTOR< SCchatindexid >::const_iterator itr; - for(itr = m_keyseq.cbegin(); itr != m_keyseq.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChatDeltext::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChatDeltext::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_keyseq.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SCchatindexid tmpVal; - (*this) >> tmpVal; - m_keyseq.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChatDeltext::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChatDeltext::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHAT_DELTEXT; - m_scHead.PackData(strData); -} - -void CImRspChatDeltext::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)4; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_keyseq.size(); - (*this) << nLen; - VECTOR< SCchatindexid >::const_iterator itr; - for(itr = m_keyseq.cbegin(); itr != m_keyseq.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT16; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_msg; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChatDeltext::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChatDeltext::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 4) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_keyseq.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SCchatindexid tmpVal; - (*this) >> tmpVal; - m_keyseq.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msg; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChatDeltext::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChatGettxt::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHAT_GETTXT; - m_scHead.PackData(strData); -} - -void CImReqChatGettxt::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)8; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_STRING; - (*this) << m_fromid; - (*this) << FT_STRING; - (*this) << m_toid; - (*this) << FT_UINT64; - (*this) << m_begtime; - (*this) << FT_UINT64; - (*this) << m_endtime; - (*this) << FT_UINT64; - (*this) << m_minbegtime; - (*this) << FT_UINT32; - (*this) << m_msgnum; - (*this) << FT_UINT8; - (*this) << m_getall; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChatGettxt::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChatGettxt::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 8) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_toid; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_begtime; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_endtime; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_minbegtime; - (*this) >> field; - if(field.m_baseType != FT_UINT32) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msgnum; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_getall; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChatGettxt::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const STextlogitem& sTextlogitem ) -{ - uint8_t nFieldNum = 4; - cPackData << nFieldNum; - cPackData << FT_UINT8; - cPackData << sTextlogitem.m_dir; - cPackData << FT_UINT64; - cPackData << sTextlogitem.m_seq; - cPackData << FT_UINT64; - cPackData << sTextlogitem.m_tm; - cPackData << FT_STRING; - cPackData << sTextlogitem.m_msg; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, STextlogitem& sTextlogitem ) -{ - uint8_t num; - cPackData >> num; - if(num < 4) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTextlogitem.m_dir; - cPackData >> field; - if(field.m_baseType != FT_UINT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTextlogitem.m_seq; - cPackData >> field; - if(field.m_baseType != FT_UINT64) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTextlogitem.m_tm; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sTextlogitem.m_msg; - for(int i = 4; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImRspChatGettxt::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHAT_GETTXT; - m_scHead.PackData(strData); -} - -void CImRspChatGettxt::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)11; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_STRING; - (*this) << m_fromid; - (*this) << FT_STRING; - (*this) << m_toid; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_msgseq.size(); - (*this) << nLen; - VECTOR< STextlogitem >::const_iterator itr; - for(itr = m_msgseq.cbegin(); itr != m_msgseq.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT64; - (*this) << m_newbegtime; - (*this) << FT_UINT64; - (*this) << m_newendtime; - (*this) << FT_UINT64; - (*this) << m_nextbegtime; - (*this) << FT_UINT8; - (*this) << m_getall; - (*this) << FT_UINT8; - (*this) << m_islast; - (*this) << FT_UINT16; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_msg; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChatGettxt::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChatGettxt::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 11) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_toid; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_msgseq.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - STextlogitem tmpVal; - (*this) >> tmpVal; - m_msgseq.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_newbegtime; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_newendtime; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_nextbegtime; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_getall; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_islast; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msg; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChatGettxt::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChatSettxt::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHAT_SETTXT; - m_scHead.PackData(strData); -} - -void CImReqChatSettxt::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)7; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_STRING; - (*this) << m_fromid; - (*this) << FT_STRING; - (*this) << m_toid; - (*this) << FT_UINT64; - (*this) << m_tm; - (*this) << FT_UINT64; - (*this) << m_seq; - (*this) << FT_UINT8; - (*this) << m_dir; - (*this) << FT_STRING; - (*this) << m_chatmsg; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChatSettxt::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChatSettxt::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 7) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_toid; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tm; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_seq; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_dir; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_chatmsg; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChatSettxt::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChatSettxt::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHAT_SETTXT; - m_scHead.PackData(strData); -} - -void CImRspChatSettxt::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)8; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_STRING; - (*this) << m_fromid; - (*this) << FT_STRING; - (*this) << m_toid; - (*this) << FT_UINT64; - (*this) << m_tm; - (*this) << FT_UINT64; - (*this) << m_seq; - (*this) << FT_UINT8; - (*this) << m_dir; - (*this) << FT_UINT16; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_msg; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChatSettxt::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChatSettxt::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 8) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_fromid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_toid; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_tm; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_seq; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_dir; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msg; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChatSettxt::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChatQuerypics::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHAT_QUERYPICS; - m_scHead.PackData(strData); -} - -void CImReqChatQuerypics::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_filenameseq.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_filenameseq.cbegin(); itr != m_filenameseq.cend(); ++itr) - { - (*this) << (*itr); - } - } - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChatQuerypics::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChatQuerypics::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_filenameseq.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_filenameseq.push_back(tmpVal); - } - } - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChatQuerypics::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SKeypicseqidex& sKeypicseqidex ) -{ - uint8_t nFieldNum = 2; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sKeypicseqidex.m_key; - cPackData << FT_UINT8; - cPackData << sKeypicseqidex.m_code; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SKeypicseqidex& sKeypicseqidex ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sKeypicseqidex.m_key; - cPackData >> field; - if(field.m_baseType != FT_UINT8) throw PACK_TYPEMATCH_ERROR; - cPackData >> sKeypicseqidex.m_code; - for(int i = 2; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImRspChatQuerypics::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHAT_QUERYPICS; - m_scHead.PackData(strData); -} - -void CImRspChatQuerypics::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_VECTOR; - (*this) << FT_STRUCT; - { - uint32_t nLen = m_filenameseq.size(); - (*this) << nLen; - VECTOR< SKeypicseqidex >::const_iterator itr; - for(itr = m_filenameseq.cbegin(); itr != m_filenameseq.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT16; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_msg; - (*this) << FT_UINT8; - (*this) << m_islast; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChatQuerypics::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChatQuerypics::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_filenameseq.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - SKeypicseqidex tmpVal; - (*this) >> tmpVal; - m_filenameseq.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msg; - (*this) >> field; - if(field.m_baseType != FT_UINT8) return PACK_TYPEMATCH_ERROR; - (*this) >> m_islast; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChatQuerypics::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChatPutpic::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHAT_PUTPIC; - m_scHead.PackData(strData); -} - -void CImReqChatPutpic::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_STRING; - (*this) << m_pickey; - (*this) << FT_STRING; - (*this) << m_data; - (*this) << FT_UINT64; - (*this) << m_size; - (*this) << FT_UINT64; - (*this) << m_offset; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChatPutpic::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChatPutpic::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_pickey; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_data; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_size; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_offset; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChatPutpic::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChatPutpic::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHAT_PUTPIC; - m_scHead.PackData(strData); -} - -void CImRspChatPutpic::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_STRING; - (*this) << m_pickey; - (*this) << FT_UINT64; - (*this) << m_size; - (*this) << FT_UINT64; - (*this) << m_offset; - (*this) << FT_UINT16; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_msg; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChatPutpic::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChatPutpic::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 6) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_pickey; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_size; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_offset; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msg; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChatPutpic::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -CPackData& operator<< ( CPackData& cPackData, const SKeypicseq& sKeypicseq ) -{ - uint8_t nFieldNum = 2; - cPackData << nFieldNum; - cPackData << FT_STRING; - cPackData << sKeypicseq.m_key; - cPackData << FT_STRING; - cPackData << sKeypicseq.m_content; - - return cPackData; - -} - -CPackData& operator>> ( CPackData& cPackData, SKeypicseq& sKeypicseq ) -{ - uint8_t num; - cPackData >> num; - if(num < 2) throw PACK_LENGTH_ERROR; - CFieldType field; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sKeypicseq.m_key; - cPackData >> field; - if(field.m_baseType != FT_STRING) throw PACK_TYPEMATCH_ERROR; - cPackData >> sKeypicseq.m_content; - for(int i = 2; i < num; i++) - cPackData.PeekField(); - return cPackData; -} - -void CImReqChatGetpic::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHAT_GETPIC; - m_scHead.PackData(strData); -} - -void CImReqChatGetpic::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)2; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_STRING; - (*this) << m_pickey; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChatGetpic::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChatGetpic::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 2) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_pickey; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChatGetpic::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChatGetpic::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHAT_GETPIC; - m_scHead.PackData(strData); -} - -void CImRspChatGetpic::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)7; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_STRING; - (*this) << m_pickey; - (*this) << FT_STRING; - (*this) << m_data; - (*this) << FT_UINT64; - (*this) << m_size; - (*this) << FT_UINT64; - (*this) << m_offset; - (*this) << FT_UINT16; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_msg; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChatGetpic::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChatGetpic::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 7) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_pickey; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_data; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_size; - (*this) >> field; - if(field.m_baseType != FT_UINT64) return PACK_TYPEMATCH_ERROR; - (*this) >> m_offset; - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msg; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChatGetpic::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImReqChatGetcal::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_REQ_CHAT_GETCAL; - m_scHead.PackData(strData); -} - -void CImReqChatGetcal::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)5; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_STRING; - (*this) << m_toid; - (*this) << FT_STRING; - (*this) << m_startdate; - (*this) << FT_STRING; - (*this) << m_enddate; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImReqChatGetcal::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImReqChatGetcal::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 5) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_toid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_startdate; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_enddate; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImReqChatGetcal::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - -void CImRspChatGetcal::PackHead(string& strData) -{ - ResetOutBuff(strData); - if(strData.size() < m_scHead.Size()) - m_scHead.m_len = m_scHead.SizeExt() - m_scHead.Size(); - else - m_scHead.m_len = strData.size() - m_scHead.Size(); - if(m_scHead.m_cmd == 0) m_scHead.m_cmd = IM_RSP_CHAT_GETCAL; - m_scHead.PackData(strData); -} - -void CImRspChatGetcal::PackBody(string& strData) -{ - try - { - ResetOutBuff(strData); - uint32_t nHeadLen = m_scHead.SizeExt(); - strData.reserve(Size() + nHeadLen + 7); - SetOutCursor(nHeadLen); - (*this) << (uint8_t)6; - (*this) << FT_STRING; - (*this) << m_sessionid; - (*this) << FT_STRING; - (*this) << m_uid; - (*this) << FT_STRING; - (*this) << m_toid; - (*this) << FT_VECTOR; - (*this) << FT_STRING; - { - uint32_t nLen = m_dateseq.size(); - (*this) << nLen; - VECTOR< string >::const_iterator itr; - for(itr = m_dateseq.cbegin(); itr != m_dateseq.cend(); ++itr) - { - (*this) << (*itr); - } - } - (*this) << FT_UINT16; - (*this) << m_retcode; - (*this) << FT_STRING; - (*this) << m_msg; - uLongf falllen = strData.size() - nHeadLen; - if(falllen > COMPRESS_THRESHOLD) - { - if(CompressData2(strData, nHeadLen)) - m_scHead.m_compress = 1; - } - - FormData( nHeadLen ); - m_scHead.m_cc = CalcCheckCode(strData, nHeadLen); - } - catch(std::exception&) - { - strData = ""; - } -} - -void CImRspChatGetcal::PackData(string& strData, const string& strKey) -{ - PackBody(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Encrypt(strData, strKey, m_scHead.SizeExt()); - } - PackHead(strData); -} - -PACKRETCODE CImRspChatGetcal::UnpackBody(string& strData) -{ - try - { - ResetInBuff(strData); - uint32_t nHeadLen = m_scHead.PeekSize(); - m_scHead.ResetInBuff(strData); - uint16_t checkCode = CalcCheckCode(strData, nHeadLen); - if(checkCode != m_scHead.PeekCc()) return PACK_CHECKCODE_ERROR; - if(m_scHead.PeekCompress() == 1) - { - if(UncompressData2(strData, nHeadLen) == false) - return PACK_SYSTEM_ERROR; - } - SetInCursor( nHeadLen ); - uint8_t num; - (*this) >> num; - if(num < 6) return PACK_LENGTH_ERROR; - CFieldType field; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_sessionid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_uid; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_toid; - (*this) >> field; - if(field.m_baseType != FT_VECTOR) return PACK_TYPEMATCH_ERROR; - { - uint32_t nSize; - (*this) >> nSize; - if(nSize > MAX_RECORD_SIZE) throw PACK_LENGTH_ERROR; - m_dateseq.reserve(nSize); - for(uint32_t i = 0; i < nSize; i++) - { - string tmpVal; - (*this) >> tmpVal; - m_dateseq.push_back(tmpVal); - } - } - (*this) >> field; - if(field.m_baseType != FT_UINT16) return PACK_TYPEMATCH_ERROR; - (*this) >> m_retcode; - (*this) >> field; - if(field.m_baseType != FT_STRING) return PACK_TYPEMATCH_ERROR; - (*this) >> m_msg; - } - catch(PACKRETCODE ret) - { - return ret; - } - catch(std::exception&) - { - return PACK_SYSTEM_ERROR; - } - return PACK_RIGHT; -} - -PACKRETCODE CImRspChatGetcal::UnpackData(string& strData, const string& strKey) -{ - m_scHead.UnpackData(strData); - if(m_scHead.m_encrypt == 1 && !strKey.empty()) - { - CDesEncrypt des; - des.Decrypt(strData, strKey, m_scHead.PeekSize()); - } - return UnpackBody(strData); -} - diff --git a/features/aliww/source/tpfs_perf_test.cpp b/features/aliww/source/tpfs_perf_test.cpp deleted file mode 100644 index 84f9ba2..0000000 --- a/features/aliww/source/tpfs_perf_test.cpp +++ /dev/null @@ -1,240 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: get_bind_list.cpp - * - * Description: - * - * Version: 1.0 - * Created: 2011å¹´01月07æ—¥ 15æ—¶53分02秒 - * Revision: none - * Compiler: gcc - * - * Author: Davi.Q (), - * Company: Aliyun - * - * ===================================================================================== - */ -#include "cbenchmark.h" -#include "paramutil.h" -#include "CWWSimulator.h" -#include "script_consts.h" -#include "tpfs_perf_test.h" -#include -using namespace std; - -/* - TPFS性能测试的时候由于数æ®ä¸å……足的缘故, - 需è¦ç»•è¿‡IMS登录环节 - 所以需è¦ä½¿ç”¨å­—符串"AAATESTSESSIONKEY"作为sessionno - 辛树mock -*/ - -void *tpfs_init(void* p) -{ - srand(time(0)); - - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - create_transaction(pVuser,"TPFS"); - - CWWSimulator *pWW = new (CWWSimulator); - pVuser->verb = pWW; - - string imServerIP = "10.249.199.124"; - uint16_t port = 16000; - string tpfsIP = "10.249.197.17"; - //string tpfsIP = "10.220.2.17"; - uint16_t tpfs_port = 16000; - char fromid[64]; - snprintf(fromid,64,"cnalichnabc%dx%dx%d",get_vuser_group(pVuser),get_vuser_id(pVuser),get_vuser_ite(pVuser)); - string password = "system"; - string username(fromid); -/* - char *tmp = select_param_ex(pVuser); - int comaidx = index(tmp,','); - char *uname = strndup(tmp,comaidx); - char *pword = strndup(tmp+comaidx,strlen(tmp)-i); - string username(uname); - string password(pword); -*/ - pWW->SetServerIP(imServerIP, port); - pWW->SetTpfsIP(tpfsIP, tpfs_port); - pWW->SetStatus(TOKEN_FLAG, DEFAULT_LOGINSTAT); - pWW->SetClient(DEFAULT_CLIENTVERSION, DEFAULT_CLIENTLANGUAGE); - pWW->SetUser(username,password); - - - string session= "AAATESTSESSIONKEY"; - - int con_count = 0; - while(!pWW->m_bIsConnected) - { - pWW->SetSessionNo(session); - pWW->ConnectTpfs(); - sleep(2); - if(con_count++ > 5){ - printf("Dangerous!!! Already connect %d times.\n",con_count); - } - } - - string msg; - if(pWW->chatPidfy(msg) != 0) - fail_transactionEx(pVuser,"TPFS",(char*)msg.c_str()); -} - -void *tpfs_act(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); -} -#define CHECK_CONN(__conected,__pVuser,__fun) \ - if(!__conected) \ - { \ - printf("act but not connected.\n"); \ - fail_transactionEx(__pVuser,(char *)__fun,"connect failed"); \ - return NULL; \ - } - -void *tpfs_getcal(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - CHECK_CONN(pWW->m_bIsConnected,pVuser,__FUNCTION__); - - const char* fromid = pWW->m_username.c_str(); - char toid[64]; - snprintf(toid,64,"cnalichnabc%dx%dx%d",get_vuser_group(pVuser),get_vuser_id(pVuser),1); - char* startDate = "20100201"; - char* endDate = "20110330"; - string msg; - if(pWW->chatGetcal(fromid,toid,startDate,endDate,msg) != 0) - fail_transactionEx(pVuser,"TPFS",(char *)msg.c_str()); - else - success_transaction(pVuser,"TPFS"); -} - -void *tpfs_gettext(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - CHECK_CONN(pWW->m_bIsConnected,pVuser,__FUNCTION__); - - char toid[256]; - string msg; - sprintf(toid, "cnalichnabc%dx%dx%d",get_vuser_group(pVuser),get_vuser_id(pVuser),1); - if(pWW->chatGettxt(pWW->m_username.c_str(),toid,time(0) - 100000,time(0),msg) != 0) - fail_transactionEx(pVuser,"TPFS",(char *)msg.c_str()); - else - success_transaction(pVuser,"TPFS"); -} - -void *tpfs_getpic(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - CHECK_CONN(pWW->m_bIsConnected,pVuser,__FUNCTION__); - - char picName[256] = {0}; - sprintf(picName, "ddc2ebff36f65292ce646a5831823e9d_1%d%d%d",get_vuser_group(pVuser),get_vuser_id(pVuser),get_vuser_ite(pVuser)); - - string msg; - int ret = pWW->chatGetpic(picName,msg); - if(ret != 0 && ret != 8091) - fail_transaction(pVuser,"TPFS"); - else - success_transaction(pVuser,"TPFS"); -} - -void *tpfs_putpic(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - CHECK_CONN(pWW->m_bIsConnected,pVuser,__FUNCTION__); - - long picSize = 40*1024 + rand()%10000; - char *content = (char *)malloc(picSize*sizeof(char) + 1); - char e = (char)rand()%254+1; - - memset(content,e,picSize); - content[picSize] = '\0'; - - string msg=""; - int ret=pWW->chatPutpic(content, msg); - free(content); - - if(ret != 0) - fail_transactionEx(pVuser,"TPFS",(char *)msg.c_str()); - else - success_transaction(pVuser,"TPFS"); - - return NULL; -} - -void *tpfs_putgetpic(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - CHECK_CONN(pWW->m_bIsConnected,pVuser,__FUNCTION__); - - long picSize = 40*1024 + rand()%10000; - char *content = (char *)malloc(picSize*sizeof(char) + 1); - char e = (char)rand()%254+1; - memset(content,e,picSize); - content[picSize] = '\0'; - string spicData(content); - char cpicName[256] = {0}; - sprintf(cpicName,"%s_%d",Md5Hash::GetMD5(spicData).c_str(),picSize); - - string msg; - //int ret = pWW->chatPutpic(spicData, msg); - int ret = pWW->chatPutpic(content, msg); - free(content); - - if(ret != 0) - { - fail_transactionEx(pVuser,"TPFS",(char *)msg.c_str()); - return NULL; - } - ret = pWW->chatGetpic(cpicName, msg); - if(ret != 0 && ret != 8091) - { - fail_transactionEx(pVuser,"TPFS",(char *)msg.c_str()); - } - else - success_transactionEx(pVuser,"TPFS","chatPutGetpic succ."); - return NULL; -} - -void *tpfs_end(void* p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - CWWSimulator *pWW = (CWWSimulator*)(pVuser->verb); - - //pWW->Detach(); -} - - - - - - - - - - - - - - - - - - - - - diff --git a/features/aliww/source/tradeCache.cpp b/features/aliww/source/tradeCache.cpp deleted file mode 100644 index ae68d80..0000000 --- a/features/aliww/source/tradeCache.cpp +++ /dev/null @@ -1,586 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `tradeCache.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliIM__TradeCache__checkTrade_name = "checkTrade"; - -static const ::std::string __AliIM__TradeCache__addTrade_name = "addTrade"; - -void -IceInternal::incRef(::AliIM::TradeCache* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliIM::TradeCache* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliIM::TradeCache* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliIM::TradeCache* p) -{ - p->__decRef(); -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::TradeCachePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliIM::__read(::IceInternal::BasicStream* __is, ::AliIM::TradeCachePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliIM::TradeCache; - v->__copyFrom(proxy); - } -} - -void -AliIM::__write(::IceInternal::BasicStream* __os, const ::AliIM::TradeCachePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliIM::__addObject(const TradeCachePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliIM::__usesClasses(const TradeCachePtr& p) -{ - return p->__usesClasses(); -} - -void -AliIM::__decRefUnsafe(const TradeCachePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliIM::__clearHandleUnsafe(TradeCachePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliIM::TradeCache::checkTrade(const ::std::string& uid1, const ::std::string& uid2, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__TradeCache__checkTrade_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::TradeCache* __del = dynamic_cast< ::IceDelegate::AliIM::TradeCache*>(__delBase.get()); - return __del->checkTrade(uid1, uid2, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliIM::TradeCache::addTrade(const ::std::string& uid1, const ::std::string& uid2, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliIM__TradeCache__addTrade_name); - __delBase = __getDelegate(); - ::IceDelegate::AliIM::TradeCache* __del = dynamic_cast< ::IceDelegate::AliIM::TradeCache*>(__delBase.get()); - return __del->addTrade(uid1, uid2, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliIM::TradeCache::ice_staticId() -{ - return ::AliIM::TradeCache::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliIM::TradeCache::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliIM::TradeCache); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliIM::TradeCache::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliIM::TradeCache); -} - -bool -IceProxy::AliIM::operator==(const ::IceProxy::AliIM::TradeCache& l, const ::IceProxy::AliIM::TradeCache& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliIM::operator!=(const ::IceProxy::AliIM::TradeCache& l, const ::IceProxy::AliIM::TradeCache& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliIM::operator<(const ::IceProxy::AliIM::TradeCache& l, const ::IceProxy::AliIM::TradeCache& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliIM::operator<=(const ::IceProxy::AliIM::TradeCache& l, const ::IceProxy::AliIM::TradeCache& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliIM::operator>(const ::IceProxy::AliIM::TradeCache& l, const ::IceProxy::AliIM::TradeCache& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliIM::operator>=(const ::IceProxy::AliIM::TradeCache& l, const ::IceProxy::AliIM::TradeCache& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliIM::TradeCache::checkTrade(const ::std::string& uid1, const ::std::string& uid2, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__TradeCache__checkTrade_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid1); - __os->write(uid2); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliIM::TradeCache::addTrade(const ::std::string& uid1, const ::std::string& uid2, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliIM__TradeCache__addTrade_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid1); - __os->write(uid2); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliIM::TradeCache::checkTrade(const ::std::string& uid1, const ::std::string& uid2, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__TradeCache__checkTrade_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::TradeCache* __servant = dynamic_cast< ::AliIM::TradeCache*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkTrade(uid1, uid2, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliIM::TradeCache::addTrade(const ::std::string& uid1, const ::std::string& uid2, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliIM__TradeCache__addTrade_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliIM::TradeCache* __servant = dynamic_cast< ::AliIM::TradeCache*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->addTrade(uid1, uid2, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliIM::TradeCache::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliIM__TradeCache_ids[2] = -{ - "::AliIM::TradeCache", - "::Ice::Object" -}; - -bool -AliIM::TradeCache::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliIM__TradeCache_ids, __AliIM__TradeCache_ids + 2, _s); -} - -::std::vector< ::std::string> -AliIM::TradeCache::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliIM__TradeCache_ids[0], &__AliIM__TradeCache_ids[2]); -} - -const ::std::string& -AliIM::TradeCache::ice_id(const ::Ice::Current&) const -{ - return __AliIM__TradeCache_ids[0]; -} - -const ::std::string& -AliIM::TradeCache::ice_staticId() -{ - return __AliIM__TradeCache_ids[0]; -} - -::IceInternal::DispatchStatus -AliIM::TradeCache::___checkTrade(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid1; - ::std::string uid2; - __is->read(uid1); - __is->read(uid2); - ::Ice::Int __ret = checkTrade(uid1, uid2, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliIM::TradeCache::___addTrade(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid1; - ::std::string uid2; - __is->read(uid1); - __is->read(uid2); - ::Ice::Int __ret = addTrade(uid1, uid2, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliIM__TradeCache_all[] = -{ - "addTrade", - "checkTrade", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -AliIM::TradeCache::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliIM__TradeCache_all, __AliIM__TradeCache_all + 6, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliIM__TradeCache_all) - { - case 0: - { - return ___addTrade(in, current); - } - case 1: - { - return ___checkTrade(in, current); - } - case 2: - { - return ___ice_id(in, current); - } - case 3: - { - return ___ice_ids(in, current); - } - case 4: - { - return ___ice_isA(in, current); - } - case 5: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliIM::TradeCache::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliIM::TradeCache::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliIM::TradeCache::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::TradeCache was not generated with stream support"; - throw ex; -} - -void -AliIM::TradeCache::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliIM::TradeCache was not generated with stream support"; - throw ex; -} - -void -AliIM::__patch__TradeCachePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliIM::TradeCachePtr* p = static_cast< ::AliIM::TradeCachePtr*>(__addr); - assert(p); - *p = ::AliIM::TradeCachePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliIM::TradeCache::ice_staticId(); - throw e; - } -} - -bool -AliIM::operator==(const ::AliIM::TradeCache& l, const ::AliIM::TradeCache& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliIM::operator!=(const ::AliIM::TradeCache& l, const ::AliIM::TradeCache& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliIM::operator<(const ::AliIM::TradeCache& l, const ::AliIM::TradeCache& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliIM::operator<=(const ::AliIM::TradeCache& l, const ::AliIM::TradeCache& r) -{ - return l < r || l == r; -} - -bool -AliIM::operator>(const ::AliIM::TradeCache& l, const ::AliIM::TradeCache& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliIM::operator>=(const ::AliIM::TradeCache& l, const ::AliIM::TradeCache& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/udbservice.cpp b/features/aliww/source/udbservice.cpp deleted file mode 100644 index 1867868..0000000 --- a/features/aliww/source/udbservice.cpp +++ /dev/null @@ -1,1170 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `udbservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __AliICEUDB__IUDBService__validateUDBUser_name = "validateUDBUser"; - -static const ::std::string __AliICEUDB__IUDBInfo__addUserProfile_name = "addUserProfile"; - -static const ::std::string __AliICEUDB__IUDBInfo__getUserProfile_name = "getUserProfile"; - -static const ::std::string __AliICEUDB__IUDBInfo__updateUserProfile_name = "updateUserProfile"; - -void -IceInternal::incRef(::AliICEUDB::IUDBService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliICEUDB::IUDBService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliICEUDB::IUDBService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliICEUDB::IUDBService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::AliICEUDB::IUDBInfo* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::AliICEUDB::IUDBInfo* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::AliICEUDB::IUDBInfo* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::AliICEUDB::IUDBInfo* p) -{ - p->__decRef(); -} - -void -AliICEUDB::__write(::IceInternal::BasicStream* __os, const ::AliICEUDB::IUDBServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliICEUDB::__read(::IceInternal::BasicStream* __is, ::AliICEUDB::IUDBServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliICEUDB::IUDBService; - v->__copyFrom(proxy); - } -} - -void -AliICEUDB::__write(::IceInternal::BasicStream* __os, const ::AliICEUDB::IUDBServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliICEUDB::__write(::IceInternal::BasicStream* __os, const ::AliICEUDB::IUDBInfoPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -AliICEUDB::__read(::IceInternal::BasicStream* __is, ::AliICEUDB::IUDBInfoPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::AliICEUDB::IUDBInfo; - v->__copyFrom(proxy); - } -} - -void -AliICEUDB::__write(::IceInternal::BasicStream* __os, const ::AliICEUDB::IUDBInfoPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -AliICEUDB::__addObject(const IUDBServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliICEUDB::__usesClasses(const IUDBServicePtr& p) -{ - return p->__usesClasses(); -} - -void -AliICEUDB::__decRefUnsafe(const IUDBServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliICEUDB::__clearHandleUnsafe(IUDBServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -void -AliICEUDB::__write(::IceInternal::BasicStream* __os, const ::AliICEUDB::KVMap& v, ::AliICEUDB::__U__KVMap) -{ - __os->writeSize(::Ice::Int(v.size())); - ::AliICEUDB::KVMap::const_iterator p; - for(p = v.begin(); p != v.end(); ++p) - { - __os->write(p->first); - __os->write(p->second); - } -} - -void -AliICEUDB::__read(::IceInternal::BasicStream* __is, ::AliICEUDB::KVMap& v, ::AliICEUDB::__U__KVMap) -{ - ::Ice::Int sz; - __is->readSize(sz); - while(sz--) - { - ::std::pair pair; - __is->read(const_cast< ::std::string&>(pair.first)); - ::AliICEUDB::KVMap::iterator __i = v.insert(v.end(), pair); - __is->read(__i->second); - } -} - -void -AliICEUDB::__addObject(const IUDBInfoPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -AliICEUDB::__usesClasses(const IUDBInfoPtr& p) -{ - return p->__usesClasses(); -} - -void -AliICEUDB::__decRefUnsafe(const IUDBInfoPtr& p) -{ - p->__decRefUnsafe(); -} - -void -AliICEUDB::__clearHandleUnsafe(IUDBInfoPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::AliICEUDB::IUDBService::validateUDBUser(const ::std::string& site, const ::std::string& siteid, const ::std::string& sitemd5pw, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliICEUDB__IUDBService__validateUDBUser_name); - __delBase = __getDelegate(); - ::IceDelegate::AliICEUDB::IUDBService* __del = dynamic_cast< ::IceDelegate::AliICEUDB::IUDBService*>(__delBase.get()); - return __del->validateUDBUser(site, siteid, sitemd5pw, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliICEUDB::IUDBService::ice_staticId() -{ - return ::AliICEUDB::IUDBService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliICEUDB::IUDBService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliICEUDB::IUDBService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliICEUDB::IUDBService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliICEUDB::IUDBService); -} - -bool -IceProxy::AliICEUDB::operator==(const ::IceProxy::AliICEUDB::IUDBService& l, const ::IceProxy::AliICEUDB::IUDBService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliICEUDB::operator!=(const ::IceProxy::AliICEUDB::IUDBService& l, const ::IceProxy::AliICEUDB::IUDBService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliICEUDB::operator<(const ::IceProxy::AliICEUDB::IUDBService& l, const ::IceProxy::AliICEUDB::IUDBService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliICEUDB::operator<=(const ::IceProxy::AliICEUDB::IUDBService& l, const ::IceProxy::AliICEUDB::IUDBService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliICEUDB::operator>(const ::IceProxy::AliICEUDB::IUDBService& l, const ::IceProxy::AliICEUDB::IUDBService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliICEUDB::operator>=(const ::IceProxy::AliICEUDB::IUDBService& l, const ::IceProxy::AliICEUDB::IUDBService& r) -{ - return !(l < r); -} - -::Ice::Int -IceProxy::AliICEUDB::IUDBInfo::addUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliICEUDB__IUDBInfo__addUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::AliICEUDB::IUDBInfo* __del = dynamic_cast< ::IceDelegate::AliICEUDB::IUDBInfo*>(__delBase.get()); - return __del->addUserProfile(lid, kvMapArgs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliICEUDB::IUDBInfo::getUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliICEUDB__IUDBInfo__getUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::AliICEUDB::IUDBInfo* __del = dynamic_cast< ::IceDelegate::AliICEUDB::IUDBInfo*>(__delBase.get()); - return __del->getUserProfile(lid, kvMapArgs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::AliICEUDB::IUDBInfo::updateUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__AliICEUDB__IUDBInfo__updateUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::AliICEUDB::IUDBInfo* __del = dynamic_cast< ::IceDelegate::AliICEUDB::IUDBInfo*>(__delBase.get()); - return __del->updateUserProfile(lid, kvMapArgs, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::AliICEUDB::IUDBInfo::ice_staticId() -{ - return ::AliICEUDB::IUDBInfo::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::AliICEUDB::IUDBInfo::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::AliICEUDB::IUDBInfo); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::AliICEUDB::IUDBInfo::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::AliICEUDB::IUDBInfo); -} - -bool -IceProxy::AliICEUDB::operator==(const ::IceProxy::AliICEUDB::IUDBInfo& l, const ::IceProxy::AliICEUDB::IUDBInfo& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::AliICEUDB::operator!=(const ::IceProxy::AliICEUDB::IUDBInfo& l, const ::IceProxy::AliICEUDB::IUDBInfo& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::AliICEUDB::operator<(const ::IceProxy::AliICEUDB::IUDBInfo& l, const ::IceProxy::AliICEUDB::IUDBInfo& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::AliICEUDB::operator<=(const ::IceProxy::AliICEUDB::IUDBInfo& l, const ::IceProxy::AliICEUDB::IUDBInfo& r) -{ - return l < r || l == r; -} - -bool -IceProxy::AliICEUDB::operator>(const ::IceProxy::AliICEUDB::IUDBInfo& l, const ::IceProxy::AliICEUDB::IUDBInfo& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::AliICEUDB::operator>=(const ::IceProxy::AliICEUDB::IUDBInfo& l, const ::IceProxy::AliICEUDB::IUDBInfo& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::AliICEUDB::IUDBService::validateUDBUser(const ::std::string& site, const ::std::string& siteid, const ::std::string& sitemd5pw, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliICEUDB__IUDBService__validateUDBUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(site); - __os->write(siteid); - __os->write(sitemd5pw); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliICEUDB::IUDBInfo::addUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliICEUDB__IUDBInfo__addUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(lid); - ::AliICEUDB::__write(__os, kvMapArgs, ::AliICEUDB::__U__KVMap()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliICEUDB::IUDBInfo::getUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliICEUDB__IUDBInfo__getUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(lid); - ::AliICEUDB::__write(__os, kvMapArgs, ::AliICEUDB::__U__KVMap()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::AliICEUDB::IUDBInfo::updateUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __AliICEUDB__IUDBInfo__updateUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(lid); - ::AliICEUDB::__write(__os, kvMapArgs, ::AliICEUDB::__U__KVMap()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::AliICEUDB::IUDBService::validateUDBUser(const ::std::string& site, const ::std::string& siteid, const ::std::string& sitemd5pw, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliICEUDB__IUDBService__validateUDBUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliICEUDB::IUDBService* __servant = dynamic_cast< ::AliICEUDB::IUDBService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->validateUDBUser(site, siteid, sitemd5pw, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliICEUDB::IUDBInfo::addUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliICEUDB__IUDBInfo__addUserProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliICEUDB::IUDBInfo* __servant = dynamic_cast< ::AliICEUDB::IUDBInfo*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->addUserProfile(lid, kvMapArgs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliICEUDB::IUDBInfo::getUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliICEUDB__IUDBInfo__getUserProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliICEUDB::IUDBInfo* __servant = dynamic_cast< ::AliICEUDB::IUDBInfo*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserProfile(lid, kvMapArgs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::AliICEUDB::IUDBInfo::updateUserProfile(const ::std::string& lid, const ::AliICEUDB::KVMap& kvMapArgs, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __AliICEUDB__IUDBInfo__updateUserProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::AliICEUDB::IUDBInfo* __servant = dynamic_cast< ::AliICEUDB::IUDBInfo*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateUserProfile(lid, kvMapArgs, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -AliICEUDB::IUDBService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliICEUDB__IUDBService_ids[2] = -{ - "::AliICEUDB::IUDBService", - "::Ice::Object" -}; - -bool -AliICEUDB::IUDBService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliICEUDB__IUDBService_ids, __AliICEUDB__IUDBService_ids + 2, _s); -} - -::std::vector< ::std::string> -AliICEUDB::IUDBService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliICEUDB__IUDBService_ids[0], &__AliICEUDB__IUDBService_ids[2]); -} - -const ::std::string& -AliICEUDB::IUDBService::ice_id(const ::Ice::Current&) const -{ - return __AliICEUDB__IUDBService_ids[0]; -} - -const ::std::string& -AliICEUDB::IUDBService::ice_staticId() -{ - return __AliICEUDB__IUDBService_ids[0]; -} - -::IceInternal::DispatchStatus -AliICEUDB::IUDBService::___validateUDBUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string site; - ::std::string siteid; - ::std::string sitemd5pw; - __is->read(site); - __is->read(siteid); - __is->read(sitemd5pw); - ::Ice::Int __ret = validateUDBUser(site, siteid, sitemd5pw, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliICEUDB__IUDBService_all[] = -{ - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "validateUDBUser" -}; - -::IceInternal::DispatchStatus -AliICEUDB::IUDBService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliICEUDB__IUDBService_all, __AliICEUDB__IUDBService_all + 5, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliICEUDB__IUDBService_all) - { - case 0: - { - return ___ice_id(in, current); - } - case 1: - { - return ___ice_ids(in, current); - } - case 2: - { - return ___ice_isA(in, current); - } - case 3: - { - return ___ice_ping(in, current); - } - case 4: - { - return ___validateUDBUser(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliICEUDB::IUDBService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliICEUDB::IUDBService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliICEUDB::IUDBService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliICEUDB::IUDBService was not generated with stream support"; - throw ex; -} - -void -AliICEUDB::IUDBService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliICEUDB::IUDBService was not generated with stream support"; - throw ex; -} - -void -AliICEUDB::__patch__IUDBServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliICEUDB::IUDBServicePtr* p = static_cast< ::AliICEUDB::IUDBServicePtr*>(__addr); - assert(p); - *p = ::AliICEUDB::IUDBServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliICEUDB::IUDBService::ice_staticId(); - throw e; - } -} - -bool -AliICEUDB::operator==(const ::AliICEUDB::IUDBService& l, const ::AliICEUDB::IUDBService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliICEUDB::operator!=(const ::AliICEUDB::IUDBService& l, const ::AliICEUDB::IUDBService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliICEUDB::operator<(const ::AliICEUDB::IUDBService& l, const ::AliICEUDB::IUDBService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliICEUDB::operator<=(const ::AliICEUDB::IUDBService& l, const ::AliICEUDB::IUDBService& r) -{ - return l < r || l == r; -} - -bool -AliICEUDB::operator>(const ::AliICEUDB::IUDBService& l, const ::AliICEUDB::IUDBService& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliICEUDB::operator>=(const ::AliICEUDB::IUDBService& l, const ::AliICEUDB::IUDBService& r) -{ - return !(l < r); -} - -::Ice::ObjectPtr -AliICEUDB::IUDBInfo::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __AliICEUDB__IUDBInfo_ids[2] = -{ - "::AliICEUDB::IUDBInfo", - "::Ice::Object" -}; - -bool -AliICEUDB::IUDBInfo::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__AliICEUDB__IUDBInfo_ids, __AliICEUDB__IUDBInfo_ids + 2, _s); -} - -::std::vector< ::std::string> -AliICEUDB::IUDBInfo::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__AliICEUDB__IUDBInfo_ids[0], &__AliICEUDB__IUDBInfo_ids[2]); -} - -const ::std::string& -AliICEUDB::IUDBInfo::ice_id(const ::Ice::Current&) const -{ - return __AliICEUDB__IUDBInfo_ids[0]; -} - -const ::std::string& -AliICEUDB::IUDBInfo::ice_staticId() -{ - return __AliICEUDB__IUDBInfo_ids[0]; -} - -::IceInternal::DispatchStatus -AliICEUDB::IUDBInfo::___addUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string lid; - ::AliICEUDB::KVMap kvMapArgs; - __is->read(lid); - ::AliICEUDB::__read(__is, kvMapArgs, ::AliICEUDB::__U__KVMap()); - ::Ice::Int __ret = addUserProfile(lid, kvMapArgs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliICEUDB::IUDBInfo::___getUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string lid; - ::AliICEUDB::KVMap kvMapArgs; - __is->read(lid); - ::AliICEUDB::__read(__is, kvMapArgs, ::AliICEUDB::__U__KVMap()); - ::Ice::Int __ret = getUserProfile(lid, kvMapArgs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -AliICEUDB::IUDBInfo::___updateUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string lid; - ::AliICEUDB::KVMap kvMapArgs; - __is->read(lid); - ::AliICEUDB::__read(__is, kvMapArgs, ::AliICEUDB::__U__KVMap()); - ::Ice::Int __ret = updateUserProfile(lid, kvMapArgs, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __AliICEUDB__IUDBInfo_all[] = -{ - "addUserProfile", - "getUserProfile", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "updateUserProfile" -}; - -::IceInternal::DispatchStatus -AliICEUDB::IUDBInfo::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__AliICEUDB__IUDBInfo_all, __AliICEUDB__IUDBInfo_all + 7, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __AliICEUDB__IUDBInfo_all) - { - case 0: - { - return ___addUserProfile(in, current); - } - case 1: - { - return ___getUserProfile(in, current); - } - case 2: - { - return ___ice_id(in, current); - } - case 3: - { - return ___ice_ids(in, current); - } - case 4: - { - return ___ice_isA(in, current); - } - case 5: - { - return ___ice_ping(in, current); - } - case 6: - { - return ___updateUserProfile(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -AliICEUDB::IUDBInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -AliICEUDB::IUDBInfo::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -AliICEUDB::IUDBInfo::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliICEUDB::IUDBInfo was not generated with stream support"; - throw ex; -} - -void -AliICEUDB::IUDBInfo::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type AliICEUDB::IUDBInfo was not generated with stream support"; - throw ex; -} - -void -AliICEUDB::__patch__IUDBInfoPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::AliICEUDB::IUDBInfoPtr* p = static_cast< ::AliICEUDB::IUDBInfoPtr*>(__addr); - assert(p); - *p = ::AliICEUDB::IUDBInfoPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::AliICEUDB::IUDBInfo::ice_staticId(); - throw e; - } -} - -bool -AliICEUDB::operator==(const ::AliICEUDB::IUDBInfo& l, const ::AliICEUDB::IUDBInfo& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -AliICEUDB::operator!=(const ::AliICEUDB::IUDBInfo& l, const ::AliICEUDB::IUDBInfo& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -AliICEUDB::operator<(const ::AliICEUDB::IUDBInfo& l, const ::AliICEUDB::IUDBInfo& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -AliICEUDB::operator<=(const ::AliICEUDB::IUDBInfo& l, const ::AliICEUDB::IUDBInfo& r) -{ - return l < r || l == r; -} - -bool -AliICEUDB::operator>(const ::AliICEUDB::IUDBInfo& l, const ::AliICEUDB::IUDBInfo& r) -{ - return !(l < r) && !(l == r); -} - -bool -AliICEUDB::operator>=(const ::AliICEUDB::IUDBInfo& l, const ::AliICEUDB::IUDBInfo& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/user_ice_service.cpp b/features/aliww/source/user_ice_service.cpp deleted file mode 100644 index 8aae231..0000000 --- a/features/aliww/source/user_ice_service.cpp +++ /dev/null @@ -1,6146 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `user_ice_service.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__registerUser_name = "registerUser"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__registerAlisoft_name = "registerAlisoft"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__isCanRegister_name = "isCanRegister"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__modifyUserInfo_name = "modifyUserInfo"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__modifyImToken_name = "modifyImToken"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__modifyAepImToken_name = "modifyAepImToken"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getAepImToken_name = "getAepImToken"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__validateUser_name = "validateUser"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__validatePassport_name = "validatePassport"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__loginNotify_name = "loginNotify"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__recordCTULog_name = "recordCTULog"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__saveWebUserProfile_name = "saveWebUserProfile"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__deleteUser_name = "deleteUser"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__prohibitUser_name = "prohibitUser"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getUserBaseProfile_name = "getUserBaseProfile"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getUserWebProfile_name = "getUserWebProfile"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getUserWebBaseProfile_name = "getUserWebBaseProfile"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getUserProfileByLongId_name = "getUserProfileByLongId"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getUserProfileListByLongId_name = "getUserProfileListByLongId"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getUserProfileListByEmail_name = "getUserProfileListByEmail"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getUserProfileByUserId_name = "getUserProfileByUserId"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getUserProfileListByUserId_name = "getUserProfileListByUserId"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getUserIdByPassport_name = "getUserIdByPassport"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getLongIdByPassport_name = "getLongIdByPassport"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getUserIdByLongId_name = "getUserIdByLongId"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__isLongIdExist_name = "isLongIdExist"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getMD5PasswordByLongId_name = "getMD5PasswordByLongId"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getMatchedUserInfoList_name = "getMatchedUserInfoList"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__checkSession_name = "checkSession"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__changePasswordByUserId_name = "changePasswordByUserId"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__changePasswordByLongId_name = "changePasswordByLongId"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__updateLastLoginTime_name = "updateLastLoginTime"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__changeImBinding_name = "changeImBinding"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getImBinding_name = "getImBinding"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getRandomPassports_name = "getRandomPassports"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__isPassportHold_name = "isPassportHold"; - -static const ::std::string __com__alisoft__member__udb__api__user__UserService__getDomainList_name = "getDomainList"; - -void -IceInternal::incRef(::com::alisoft::member::udb::api::user::UserService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::com::alisoft::member::udb::api::user::UserService* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::com::alisoft::member::udb::api::user::UserService* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::com::alisoft::member::udb::api::user::UserService* p) -{ - p->__decRef(); -} - -void -com::alisoft::member::udb::api::user::__write(::IceInternal::BasicStream* __os, const ::com::alisoft::member::udb::api::user::UserServicePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -com::alisoft::member::udb::api::user::__read(::IceInternal::BasicStream* __is, ::com::alisoft::member::udb::api::user::UserServicePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::com::alisoft::member::udb::api::user::UserService; - v->__copyFrom(proxy); - } -} - -void -com::alisoft::member::udb::api::user::__write(::IceInternal::BasicStream* __os, const ::com::alisoft::member::udb::api::user::UserServicePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -com::alisoft::member::udb::api::model::Domain::operator==(const Domain& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -com::alisoft::member::udb::api::model::Domain::operator!=(const Domain& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(domainId != __rhs.domainId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(domainPrefix != __rhs.domainPrefix) - { - return true; - } - if(canLogin != __rhs.canLogin) - { - return true; - } - return false; -} - -bool -com::alisoft::member::udb::api::model::Domain::operator<(const Domain& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(domainId < __rhs.domainId) - { - return true; - } - else if(__rhs.domainId < domainId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(domainPrefix < __rhs.domainPrefix) - { - return true; - } - else if(__rhs.domainPrefix < domainPrefix) - { - return false; - } - if(canLogin < __rhs.canLogin) - { - return true; - } - else if(__rhs.canLogin < canLogin) - { - return false; - } - return false; -} - -void -com::alisoft::member::udb::api::model::Domain::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(domainId); - __os->write(name); - __os->write(domainPrefix); - __os->write(canLogin); -} - -void -com::alisoft::member::udb::api::model::Domain::__read(::IceInternal::BasicStream* __is) -{ - __is->read(domainId); - __is->read(name); - __is->read(domainPrefix); - __is->read(canLogin); -} - -bool -com::alisoft::member::udb::api::model::UserProfile::operator==(const UserProfile& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -com::alisoft::member::udb::api::model::UserProfile::operator!=(const UserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId != __rhs.userId) - { - return true; - } - if(userName != __rhs.userName) - { - return true; - } - if(passport != __rhs.passport) - { - return true; - } - if(isDeleted != __rhs.isDeleted) - { - return true; - } - if(gmtCreate != __rhs.gmtCreate) - { - return true; - } - if(gmtModified != __rhs.gmtModified) - { - return true; - } - if(creator != __rhs.creator) - { - return true; - } - if(Modifier != __rhs.Modifier) - { - return true; - } - if(domainPrefix != __rhs.domainPrefix) - { - return true; - } - if(loginId != __rhs.loginId) - { - return true; - } - if(longId != __rhs.longId) - { - return true; - } - if(sourceType != __rhs.sourceType) - { - return true; - } - if(gmtLogin != __rhs.gmtLogin) - { - return true; - } - if(userStatus != __rhs.userStatus) - { - return true; - } - if(status != __rhs.status) - { - return true; - } - if(email != __rhs.email) - { - return true; - } - if(mobileNo != __rhs.mobileNo) - { - return true; - } - if(phoneNo != __rhs.phoneNo) - { - return true; - } - if(company != __rhs.company) - { - return true; - } - if(jobTitle != __rhs.jobTitle) - { - return true; - } - if(country != __rhs.country) - { - return true; - } - if(province != __rhs.province) - { - return true; - } - if(city != __rhs.city) - { - return true; - } - if(address != __rhs.address) - { - return true; - } - if(sex != __rhs.sex) - { - return true; - } - if(birthday != __rhs.birthday) - { - return true; - } - if(zip != __rhs.zip) - { - return true; - } - if(constellation != __rhs.constellation) - { - return true; - } - if(subCity != __rhs.subCity) - { - return true; - } - if(bloodType != __rhs.bloodType) - { - return true; - } - if(shengXiao != __rhs.shengXiao) - { - return true; - } - if(career != __rhs.career) - { - return true; - } - if(degree != __rhs.degree) - { - return true; - } - if(interest != __rhs.interest) - { - return true; - } - if(personality != __rhs.personality) - { - return true; - } - if(memo != __rhs.memo) - { - return true; - } - if(finishSchool != __rhs.finishSchool) - { - return true; - } - if(contactShowFlag != __rhs.contactShowFlag) - { - return true; - } - if(companyAddress != __rhs.companyAddress) - { - return true; - } - if(companyUrl != __rhs.companyUrl) - { - return true; - } - if(companyTel != __rhs.companyTel) - { - return true; - } - if(companyShowFlag != __rhs.companyShowFlag) - { - return true; - } - if(signature != __rhs.signature) - { - return true; - } - if(companyZip != __rhs.companyZip) - { - return true; - } - if(companyFax != __rhs.companyFax) - { - return true; - } - if(moreInterest != __rhs.moreInterest) - { - return true; - } - if(personalShowFlag != __rhs.personalShowFlag) - { - return true; - } - if(homePage != __rhs.homePage) - { - return true; - } - if(vocation != __rhs.vocation) - { - return true; - } - if(companyEmail != __rhs.companyEmail) - { - return true; - } - if(duty != __rhs.duty) - { - return true; - } - if(department != __rhs.department) - { - return true; - } - if(purchase != __rhs.purchase) - { - return true; - } - if(sales != __rhs.sales) - { - return true; - } - if(finishedPercent != __rhs.finishedPercent) - { - return true; - } - if(imgType != __rhs.imgType) - { - return true; - } - if(imgHashCode != __rhs.imgHashCode) - { - return true; - } - if(nickname != __rhs.nickname) - { - return true; - } - if(userLevel != __rhs.userLevel) - { - return true; - } - return false; -} - -bool -com::alisoft::member::udb::api::model::UserProfile::operator<(const UserProfile& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(userId < __rhs.userId) - { - return true; - } - else if(__rhs.userId < userId) - { - return false; - } - if(userName < __rhs.userName) - { - return true; - } - else if(__rhs.userName < userName) - { - return false; - } - if(passport < __rhs.passport) - { - return true; - } - else if(__rhs.passport < passport) - { - return false; - } - if(isDeleted < __rhs.isDeleted) - { - return true; - } - else if(__rhs.isDeleted < isDeleted) - { - return false; - } - if(gmtCreate < __rhs.gmtCreate) - { - return true; - } - else if(__rhs.gmtCreate < gmtCreate) - { - return false; - } - if(gmtModified < __rhs.gmtModified) - { - return true; - } - else if(__rhs.gmtModified < gmtModified) - { - return false; - } - if(creator < __rhs.creator) - { - return true; - } - else if(__rhs.creator < creator) - { - return false; - } - if(Modifier < __rhs.Modifier) - { - return true; - } - else if(__rhs.Modifier < Modifier) - { - return false; - } - if(domainPrefix < __rhs.domainPrefix) - { - return true; - } - else if(__rhs.domainPrefix < domainPrefix) - { - return false; - } - if(loginId < __rhs.loginId) - { - return true; - } - else if(__rhs.loginId < loginId) - { - return false; - } - if(longId < __rhs.longId) - { - return true; - } - else if(__rhs.longId < longId) - { - return false; - } - if(sourceType < __rhs.sourceType) - { - return true; - } - else if(__rhs.sourceType < sourceType) - { - return false; - } - if(gmtLogin < __rhs.gmtLogin) - { - return true; - } - else if(__rhs.gmtLogin < gmtLogin) - { - return false; - } - if(userStatus < __rhs.userStatus) - { - return true; - } - else if(__rhs.userStatus < userStatus) - { - return false; - } - if(status < __rhs.status) - { - return true; - } - else if(__rhs.status < status) - { - return false; - } - if(email < __rhs.email) - { - return true; - } - else if(__rhs.email < email) - { - return false; - } - if(mobileNo < __rhs.mobileNo) - { - return true; - } - else if(__rhs.mobileNo < mobileNo) - { - return false; - } - if(phoneNo < __rhs.phoneNo) - { - return true; - } - else if(__rhs.phoneNo < phoneNo) - { - return false; - } - if(company < __rhs.company) - { - return true; - } - else if(__rhs.company < company) - { - return false; - } - if(jobTitle < __rhs.jobTitle) - { - return true; - } - else if(__rhs.jobTitle < jobTitle) - { - return false; - } - if(country < __rhs.country) - { - return true; - } - else if(__rhs.country < country) - { - return false; - } - if(province < __rhs.province) - { - return true; - } - else if(__rhs.province < province) - { - return false; - } - if(city < __rhs.city) - { - return true; - } - else if(__rhs.city < city) - { - return false; - } - if(address < __rhs.address) - { - return true; - } - else if(__rhs.address < address) - { - return false; - } - if(sex < __rhs.sex) - { - return true; - } - else if(__rhs.sex < sex) - { - return false; - } - if(birthday < __rhs.birthday) - { - return true; - } - else if(__rhs.birthday < birthday) - { - return false; - } - if(zip < __rhs.zip) - { - return true; - } - else if(__rhs.zip < zip) - { - return false; - } - if(constellation < __rhs.constellation) - { - return true; - } - else if(__rhs.constellation < constellation) - { - return false; - } - if(subCity < __rhs.subCity) - { - return true; - } - else if(__rhs.subCity < subCity) - { - return false; - } - if(bloodType < __rhs.bloodType) - { - return true; - } - else if(__rhs.bloodType < bloodType) - { - return false; - } - if(shengXiao < __rhs.shengXiao) - { - return true; - } - else if(__rhs.shengXiao < shengXiao) - { - return false; - } - if(career < __rhs.career) - { - return true; - } - else if(__rhs.career < career) - { - return false; - } - if(degree < __rhs.degree) - { - return true; - } - else if(__rhs.degree < degree) - { - return false; - } - if(interest < __rhs.interest) - { - return true; - } - else if(__rhs.interest < interest) - { - return false; - } - if(personality < __rhs.personality) - { - return true; - } - else if(__rhs.personality < personality) - { - return false; - } - if(memo < __rhs.memo) - { - return true; - } - else if(__rhs.memo < memo) - { - return false; - } - if(finishSchool < __rhs.finishSchool) - { - return true; - } - else if(__rhs.finishSchool < finishSchool) - { - return false; - } - if(contactShowFlag < __rhs.contactShowFlag) - { - return true; - } - else if(__rhs.contactShowFlag < contactShowFlag) - { - return false; - } - if(companyAddress < __rhs.companyAddress) - { - return true; - } - else if(__rhs.companyAddress < companyAddress) - { - return false; - } - if(companyUrl < __rhs.companyUrl) - { - return true; - } - else if(__rhs.companyUrl < companyUrl) - { - return false; - } - if(companyTel < __rhs.companyTel) - { - return true; - } - else if(__rhs.companyTel < companyTel) - { - return false; - } - if(companyShowFlag < __rhs.companyShowFlag) - { - return true; - } - else if(__rhs.companyShowFlag < companyShowFlag) - { - return false; - } - if(signature < __rhs.signature) - { - return true; - } - else if(__rhs.signature < signature) - { - return false; - } - if(companyZip < __rhs.companyZip) - { - return true; - } - else if(__rhs.companyZip < companyZip) - { - return false; - } - if(companyFax < __rhs.companyFax) - { - return true; - } - else if(__rhs.companyFax < companyFax) - { - return false; - } - if(moreInterest < __rhs.moreInterest) - { - return true; - } - else if(__rhs.moreInterest < moreInterest) - { - return false; - } - if(personalShowFlag < __rhs.personalShowFlag) - { - return true; - } - else if(__rhs.personalShowFlag < personalShowFlag) - { - return false; - } - if(homePage < __rhs.homePage) - { - return true; - } - else if(__rhs.homePage < homePage) - { - return false; - } - if(vocation < __rhs.vocation) - { - return true; - } - else if(__rhs.vocation < vocation) - { - return false; - } - if(companyEmail < __rhs.companyEmail) - { - return true; - } - else if(__rhs.companyEmail < companyEmail) - { - return false; - } - if(duty < __rhs.duty) - { - return true; - } - else if(__rhs.duty < duty) - { - return false; - } - if(department < __rhs.department) - { - return true; - } - else if(__rhs.department < department) - { - return false; - } - if(purchase < __rhs.purchase) - { - return true; - } - else if(__rhs.purchase < purchase) - { - return false; - } - if(sales < __rhs.sales) - { - return true; - } - else if(__rhs.sales < sales) - { - return false; - } - if(finishedPercent < __rhs.finishedPercent) - { - return true; - } - else if(__rhs.finishedPercent < finishedPercent) - { - return false; - } - if(imgType < __rhs.imgType) - { - return true; - } - else if(__rhs.imgType < imgType) - { - return false; - } - if(imgHashCode < __rhs.imgHashCode) - { - return true; - } - else if(__rhs.imgHashCode < imgHashCode) - { - return false; - } - if(nickname < __rhs.nickname) - { - return true; - } - else if(__rhs.nickname < nickname) - { - return false; - } - if(userLevel < __rhs.userLevel) - { - return true; - } - else if(__rhs.userLevel < userLevel) - { - return false; - } - return false; -} - -void -com::alisoft::member::udb::api::model::UserProfile::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(userId); - __os->write(userName); - __os->write(passport); - __os->write(isDeleted); - __os->write(gmtCreate); - __os->write(gmtModified); - __os->write(creator); - __os->write(Modifier); - __os->write(domainPrefix); - __os->write(loginId); - __os->write(longId); - __os->write(sourceType); - __os->write(gmtLogin); - __os->write(userStatus); - __os->write(status); - __os->write(email); - __os->write(mobileNo); - __os->write(phoneNo); - __os->write(company); - __os->write(jobTitle); - __os->write(country); - __os->write(province); - __os->write(city); - __os->write(address); - __os->write(sex); - __os->write(birthday); - __os->write(zip); - __os->write(constellation); - __os->write(subCity); - __os->write(bloodType); - __os->write(shengXiao); - __os->write(career); - __os->write(degree); - __os->write(interest); - __os->write(personality); - __os->write(memo); - __os->write(finishSchool); - __os->write(contactShowFlag); - __os->write(companyAddress); - __os->write(companyUrl); - __os->write(companyTel); - __os->write(companyShowFlag); - __os->write(signature); - __os->write(companyZip); - __os->write(companyFax); - __os->write(moreInterest); - __os->write(personalShowFlag); - __os->write(homePage); - __os->write(vocation); - __os->write(companyEmail); - __os->write(duty); - __os->write(department); - __os->write(purchase); - __os->write(sales); - __os->write(finishedPercent); - __os->write(imgType); - __os->write(imgHashCode); - __os->write(nickname); - __os->write(userLevel); -} - -void -com::alisoft::member::udb::api::model::UserProfile::__read(::IceInternal::BasicStream* __is) -{ - __is->read(userId); - __is->read(userName); - __is->read(passport); - __is->read(isDeleted); - __is->read(gmtCreate); - __is->read(gmtModified); - __is->read(creator); - __is->read(Modifier); - __is->read(domainPrefix); - __is->read(loginId); - __is->read(longId); - __is->read(sourceType); - __is->read(gmtLogin); - __is->read(userStatus); - __is->read(status); - __is->read(email); - __is->read(mobileNo); - __is->read(phoneNo); - __is->read(company); - __is->read(jobTitle); - __is->read(country); - __is->read(province); - __is->read(city); - __is->read(address); - __is->read(sex); - __is->read(birthday); - __is->read(zip); - __is->read(constellation); - __is->read(subCity); - __is->read(bloodType); - __is->read(shengXiao); - __is->read(career); - __is->read(degree); - __is->read(interest); - __is->read(personality); - __is->read(memo); - __is->read(finishSchool); - __is->read(contactShowFlag); - __is->read(companyAddress); - __is->read(companyUrl); - __is->read(companyTel); - __is->read(companyShowFlag); - __is->read(signature); - __is->read(companyZip); - __is->read(companyFax); - __is->read(moreInterest); - __is->read(personalShowFlag); - __is->read(homePage); - __is->read(vocation); - __is->read(companyEmail); - __is->read(duty); - __is->read(department); - __is->read(purchase); - __is->read(sales); - __is->read(finishedPercent); - __is->read(imgType); - __is->read(imgHashCode); - __is->read(nickname); - __is->read(userLevel); -} - -void -com::alisoft::member::udb::api::model::__write(::IceInternal::BasicStream* __os, const ::com::alisoft::member::udb::api::model::UserProfile* begin, const ::com::alisoft::member::udb::api::model::UserProfile* end, ::com::alisoft::member::udb::api::model::__U__UserProfileSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -com::alisoft::member::udb::api::model::__read(::IceInternal::BasicStream* __is, ::com::alisoft::member::udb::api::model::UserProfileSeq& v, ::com::alisoft::member::udb::api::model::__U__UserProfileSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 77); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -com::alisoft::member::udb::api::model::MatchedUserInfo::operator==(const MatchedUserInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -com::alisoft::member::udb::api::model::MatchedUserInfo::operator!=(const MatchedUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(longId != __rhs.longId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(activeState != __rhs.activeState) - { - return true; - } - return false; -} - -bool -com::alisoft::member::udb::api::model::MatchedUserInfo::operator<(const MatchedUserInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(longId < __rhs.longId) - { - return true; - } - else if(__rhs.longId < longId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(activeState < __rhs.activeState) - { - return true; - } - else if(__rhs.activeState < activeState) - { - return false; - } - return false; -} - -void -com::alisoft::member::udb::api::model::MatchedUserInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(longId); - __os->write(name); - __os->write(activeState); -} - -void -com::alisoft::member::udb::api::model::MatchedUserInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(longId); - __is->read(name); - __is->read(activeState); -} - -void -com::alisoft::member::udb::api::model::__write(::IceInternal::BasicStream* __os, const ::com::alisoft::member::udb::api::model::MatchedUserInfo* begin, const ::com::alisoft::member::udb::api::model::MatchedUserInfo* end, ::com::alisoft::member::udb::api::model::__U__MatchedUserInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -com::alisoft::member::udb::api::model::__read(::IceInternal::BasicStream* __is, ::com::alisoft::member::udb::api::model::MatchedUserInfoSeq& v, ::com::alisoft::member::udb::api::model::__U__MatchedUserInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 3); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -com::alisoft::member::udb::api::model::__write(::IceInternal::BasicStream* __os, const ::com::alisoft::member::udb::api::model::Domain* begin, const ::com::alisoft::member::udb::api::model::Domain* end, ::com::alisoft::member::udb::api::model::__U__DomainSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -com::alisoft::member::udb::api::model::__read(::IceInternal::BasicStream* __is, ::com::alisoft::member::udb::api::model::DomainSeq& v, ::com::alisoft::member::udb::api::model::__U__DomainSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 4); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -com::alisoft::member::udb::api::user::__addObject(const UserServicePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -com::alisoft::member::udb::api::user::__usesClasses(const UserServicePtr& p) -{ - return p->__usesClasses(); -} - -void -com::alisoft::member::udb::api::user::__decRefUnsafe(const UserServicePtr& p) -{ - p->__decRefUnsafe(); -} - -void -com::alisoft::member::udb::api::user::__clearHandleUnsafe(UserServicePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::registerUser(const ::com::alisoft::member::udb::api::model::Map& registerInfo, ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__registerUser_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->registerUser(registerInfo, userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::registerAlisoft(const ::com::alisoft::member::udb::api::model::Map& registerInfo, ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__registerAlisoft_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->registerAlisoft(registerInfo, userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::isCanRegister(const ::std::string& passport, bool& isCan, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__isCanRegister_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->isCanRegister(passport, isCan, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::modifyUserInfo(const ::com::alisoft::member::udb::api::model::Map& updateInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__modifyUserInfo_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->modifyUserInfo(updateInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::modifyImToken(const ::std::string& longId, const ::std::string& imToken, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__modifyImToken_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->modifyImToken(longId, imToken, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::modifyAepImToken(const ::std::string& longId, const ::std::string& imToken, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__modifyAepImToken_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->modifyAepImToken(longId, imToken, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getAepImToken(const ::std::string& longId, ::std::string& imToken, ::std::string& md5pwd, ::std::string& userStatus, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getAepImToken_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getAepImToken(longId, imToken, md5pwd, userStatus, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::validateUser(const ::std::string& longId, const ::std::string& password, ::std::string& passport, ::std::string& retLongId, ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__validateUser_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->validateUser(longId, password, passport, retLongId, userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::validatePassport(const ::std::string& passport, const ::std::string& password, ::std::string& longId, ::std::string& userId, ::std::string& md5pw, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__validatePassport_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->validatePassport(passport, password, longId, userId, md5pw, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::loginNotify(const ::std::string& longId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__loginNotify_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->loginNotify(longId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::recordCTULog(const ::com::alisoft::member::udb::api::model::Map& ctuLogInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__recordCTULog_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->recordCTULog(ctuLogInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::saveWebUserProfile(const ::com::alisoft::member::udb::api::model::Map& userBaseProfile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__saveWebUserProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->saveWebUserProfile(userBaseProfile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::deleteUser(const ::std::string& longId, bool& success, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__deleteUser_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->deleteUser(longId, success, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::prohibitUser(const ::std::string& longId, bool& success, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__prohibitUser_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->prohibitUser(longId, success, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getUserBaseProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::Map& userBaseProfile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getUserBaseProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getUserBaseProfile(longId, userBaseProfile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getUserWebProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getUserWebProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getUserWebProfile(longId, userProfile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getUserWebBaseProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getUserWebBaseProfile_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getUserWebBaseProfile(longId, userProfile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getUserProfileByLongId(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getUserProfileByLongId_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getUserProfileByLongId(longId, userProfile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getUserProfileListByLongId(const ::com::alisoft::member::udb::api::model::StringSeq& longIds, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getUserProfileListByLongId_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getUserProfileListByLongId(longIds, userProfileSeq, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getUserProfileListByEmail(const ::com::alisoft::member::udb::api::model::StringSeq& emails, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getUserProfileListByEmail_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getUserProfileListByEmail(emails, userProfileSeq, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getUserProfileByUserId(const ::std::string& userId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getUserProfileByUserId_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getUserProfileByUserId(userId, userProfile, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getUserProfileListByUserId(const ::com::alisoft::member::udb::api::model::StringSeq& userIds, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getUserProfileListByUserId_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getUserProfileListByUserId(userIds, userProfileSeq, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getUserIdByPassport(const ::std::string& passport, ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getUserIdByPassport_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getUserIdByPassport(passport, userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getLongIdByPassport(const ::std::string& passport, ::std::string& longId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getLongIdByPassport_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getLongIdByPassport(passport, longId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getUserIdByLongId(const ::std::string& longId, ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getUserIdByLongId_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getUserIdByLongId(longId, userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::isLongIdExist(const ::std::string& longId, bool& isExist, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__isLongIdExist_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->isLongIdExist(longId, isExist, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getMD5PasswordByLongId(const ::std::string& longId, ::std::string& md5pwd, ::Ice::Int& status, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getMD5PasswordByLongId_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getMD5PasswordByLongId(longId, md5pwd, status, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getMatchedUserInfoList(const ::std::string& loginId, ::com::alisoft::member::udb::api::model::MatchedUserInfoSeq& matchedUserInfoSeq, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getMatchedUserInfoList_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getMatchedUserInfoList(loginId, matchedUserInfoSeq, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::checkSession(const ::std::string& longId, const ::std::string& sessionNo, bool& isRight, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__checkSession_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->checkSession(longId, sessionNo, isRight, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::changePasswordByUserId(const ::std::string& userId, const ::std::string& md5Password, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__changePasswordByUserId_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->changePasswordByUserId(userId, md5Password, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::changePasswordByLongId(const ::std::string& longId, const ::std::string& md5Password, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__changePasswordByLongId_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->changePasswordByLongId(longId, md5Password, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::updateLastLoginTime(const ::std::string& userId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__updateLastLoginTime_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->updateLastLoginTime(userId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::changeImBinding(const ::std::string& userId, const ::std::string& newLongId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__changeImBinding_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->changeImBinding(userId, newLongId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getImBinding(const ::std::string& userId, ::std::string& longId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getImBinding_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getImBinding(userId, longId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getRandomPassports(::Ice::Long min, ::Ice::Long max, ::Ice::Int amount, ::com::alisoft::member::udb::api::model::StringSeq& passports, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getRandomPassports_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getRandomPassports(min, max, amount, passports, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::isPassportHold(const ::std::string& passort, bool& isHold, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__isPassportHold_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->isPassportHold(passort, isHold, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::com::alisoft::member::udb::api::user::UserService::getDomainList(::com::alisoft::member::udb::api::model::DomainSeq& domainSeq, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__com__alisoft__member__udb__api__user__UserService__getDomainList_name); - __delBase = __getDelegate(); - ::IceDelegate::com::alisoft::member::udb::api::user::UserService* __del = dynamic_cast< ::IceDelegate::com::alisoft::member::udb::api::user::UserService*>(__delBase.get()); - return __del->getDomainList(domainSeq, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::com::alisoft::member::udb::api::user::UserService::ice_staticId() -{ - return ::com::alisoft::member::udb::api::user::UserService::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::com::alisoft::member::udb::api::user::UserService::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::com::alisoft::member::udb::api::user::UserService); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::com::alisoft::member::udb::api::user::UserService::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::com::alisoft::member::udb::api::user::UserService); -} - -bool -IceProxy::com::alisoft::member::udb::api::user::operator==(const ::IceProxy::com::alisoft::member::udb::api::user::UserService& l, const ::IceProxy::com::alisoft::member::udb::api::user::UserService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::com::alisoft::member::udb::api::user::operator!=(const ::IceProxy::com::alisoft::member::udb::api::user::UserService& l, const ::IceProxy::com::alisoft::member::udb::api::user::UserService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::com::alisoft::member::udb::api::user::operator<(const ::IceProxy::com::alisoft::member::udb::api::user::UserService& l, const ::IceProxy::com::alisoft::member::udb::api::user::UserService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::com::alisoft::member::udb::api::user::operator<=(const ::IceProxy::com::alisoft::member::udb::api::user::UserService& l, const ::IceProxy::com::alisoft::member::udb::api::user::UserService& r) -{ - return l < r || l == r; -} - -bool -IceProxy::com::alisoft::member::udb::api::user::operator>(const ::IceProxy::com::alisoft::member::udb::api::user::UserService& l, const ::IceProxy::com::alisoft::member::udb::api::user::UserService& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::com::alisoft::member::udb::api::user::operator>=(const ::IceProxy::com::alisoft::member::udb::api::user::UserService& l, const ::IceProxy::com::alisoft::member::udb::api::user::UserService& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::registerUser(const ::com::alisoft::member::udb::api::model::Map& registerInfo, ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__registerUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - ::com::alisoft::member::udb::api::model::__write(__os, registerInfo, ::com::alisoft::member::udb::api::model::__U__Map()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::registerAlisoft(const ::com::alisoft::member::udb::api::model::Map& registerInfo, ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__registerAlisoft_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - ::com::alisoft::member::udb::api::model::__write(__os, registerInfo, ::com::alisoft::member::udb::api::model::__U__Map()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::isCanRegister(const ::std::string& passport, bool& isCan, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__isCanRegister_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(passport); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(isCan); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::modifyUserInfo(const ::com::alisoft::member::udb::api::model::Map& updateInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__modifyUserInfo_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - ::com::alisoft::member::udb::api::model::__write(__os, updateInfo, ::com::alisoft::member::udb::api::model::__U__Map()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::modifyImToken(const ::std::string& longId, const ::std::string& imToken, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__modifyImToken_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - __os->write(imToken); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::modifyAepImToken(const ::std::string& longId, const ::std::string& imToken, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__modifyAepImToken_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - __os->write(imToken); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getAepImToken(const ::std::string& longId, ::std::string& imToken, ::std::string& md5pwd, ::std::string& userStatus, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getAepImToken_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(imToken); - __is->read(md5pwd); - __is->read(userStatus); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::validateUser(const ::std::string& longId, const ::std::string& password, ::std::string& passport, ::std::string& retLongId, ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__validateUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - __os->write(password); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(passport); - __is->read(retLongId); - __is->read(userId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::validatePassport(const ::std::string& passport, const ::std::string& password, ::std::string& longId, ::std::string& userId, ::std::string& md5pw, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__validatePassport_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(passport); - __os->write(password); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(longId); - __is->read(userId); - __is->read(md5pw); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::loginNotify(const ::std::string& longId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__loginNotify_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::recordCTULog(const ::com::alisoft::member::udb::api::model::Map& ctuLogInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__recordCTULog_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - ::com::alisoft::member::udb::api::model::__write(__os, ctuLogInfo, ::com::alisoft::member::udb::api::model::__U__Map()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::saveWebUserProfile(const ::com::alisoft::member::udb::api::model::Map& userBaseProfile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__saveWebUserProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - ::com::alisoft::member::udb::api::model::__write(__os, userBaseProfile, ::com::alisoft::member::udb::api::model::__U__Map()); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::deleteUser(const ::std::string& longId, bool& success, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__deleteUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(success); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::prohibitUser(const ::std::string& longId, bool& success, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__prohibitUser_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(success); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getUserBaseProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::Map& userBaseProfile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getUserBaseProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::com::alisoft::member::udb::api::model::__read(__is, userBaseProfile, ::com::alisoft::member::udb::api::model::__U__Map()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getUserWebProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getUserWebProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userProfile.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getUserWebBaseProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getUserWebBaseProfile_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userProfile.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getUserProfileByLongId(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getUserProfileByLongId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userProfile.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getUserProfileListByLongId(const ::com::alisoft::member::udb::api::model::StringSeq& longIds, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getUserProfileListByLongId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(longIds.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&longIds[0], &longIds[0] + longIds.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::com::alisoft::member::udb::api::model::__read(__is, userProfileSeq, ::com::alisoft::member::udb::api::model::__U__UserProfileSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getUserProfileListByEmail(const ::com::alisoft::member::udb::api::model::StringSeq& emails, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getUserProfileListByEmail_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(emails.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&emails[0], &emails[0] + emails.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::com::alisoft::member::udb::api::model::__read(__is, userProfileSeq, ::com::alisoft::member::udb::api::model::__U__UserProfileSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getUserProfileByUserId(const ::std::string& userId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getUserProfileByUserId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - userProfile.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getUserProfileListByUserId(const ::com::alisoft::member::udb::api::model::StringSeq& userIds, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getUserProfileListByUserId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(userIds.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&userIds[0], &userIds[0] + userIds.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::com::alisoft::member::udb::api::model::__read(__is, userProfileSeq, ::com::alisoft::member::udb::api::model::__U__UserProfileSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getUserIdByPassport(const ::std::string& passport, ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getUserIdByPassport_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(passport); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getLongIdByPassport(const ::std::string& passport, ::std::string& longId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getLongIdByPassport_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(passport); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(longId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getUserIdByLongId(const ::std::string& longId, ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getUserIdByLongId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(userId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::isLongIdExist(const ::std::string& longId, bool& isExist, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__isLongIdExist_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(isExist); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getMD5PasswordByLongId(const ::std::string& longId, ::std::string& md5pwd, ::Ice::Int& status, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getMD5PasswordByLongId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(md5pwd); - __is->read(status); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getMatchedUserInfoList(const ::std::string& loginId, ::com::alisoft::member::udb::api::model::MatchedUserInfoSeq& matchedUserInfoSeq, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getMatchedUserInfoList_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(loginId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::com::alisoft::member::udb::api::model::__read(__is, matchedUserInfoSeq, ::com::alisoft::member::udb::api::model::__U__MatchedUserInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::checkSession(const ::std::string& longId, const ::std::string& sessionNo, bool& isRight, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__checkSession_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - __os->write(sessionNo); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(isRight); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::changePasswordByUserId(const ::std::string& userId, const ::std::string& md5Password, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__changePasswordByUserId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(md5Password); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::changePasswordByLongId(const ::std::string& longId, const ::std::string& md5Password, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__changePasswordByLongId_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(longId); - __os->write(md5Password); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::updateLastLoginTime(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__updateLastLoginTime_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::changeImBinding(const ::std::string& userId, const ::std::string& newLongId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__changeImBinding_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(newLongId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getImBinding(const ::std::string& userId, ::std::string& longId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getImBinding_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(longId); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getRandomPassports(::Ice::Long min, ::Ice::Long max, ::Ice::Int amount, ::com::alisoft::member::udb::api::model::StringSeq& passports, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getRandomPassports_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(min); - __os->write(max); - __os->write(amount); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(passports); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::isPassportHold(const ::std::string& passort, bool& isHold, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__isPassportHold_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(passort); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(isHold); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::com::alisoft::member::udb::api::user::UserService::getDomainList(::com::alisoft::member::udb::api::model::DomainSeq& domainSeq, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __com__alisoft__member__udb__api__user__UserService__getDomainList_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::com::alisoft::member::udb::api::model::__read(__is, domainSeq, ::com::alisoft::member::udb::api::model::__U__DomainSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::registerUser(const ::com::alisoft::member::udb::api::model::Map& registerInfo, ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__registerUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->registerUser(registerInfo, userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::registerAlisoft(const ::com::alisoft::member::udb::api::model::Map& registerInfo, ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__registerAlisoft_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->registerAlisoft(registerInfo, userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::isCanRegister(const ::std::string& passport, bool& isCan, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__isCanRegister_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->isCanRegister(passport, isCan, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::modifyUserInfo(const ::com::alisoft::member::udb::api::model::Map& updateInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__modifyUserInfo_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->modifyUserInfo(updateInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::modifyImToken(const ::std::string& longId, const ::std::string& imToken, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__modifyImToken_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->modifyImToken(longId, imToken, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::modifyAepImToken(const ::std::string& longId, const ::std::string& imToken, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__modifyAepImToken_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->modifyAepImToken(longId, imToken, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getAepImToken(const ::std::string& longId, ::std::string& imToken, ::std::string& md5pwd, ::std::string& userStatus, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getAepImToken_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getAepImToken(longId, imToken, md5pwd, userStatus, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::validateUser(const ::std::string& longId, const ::std::string& password, ::std::string& passport, ::std::string& retLongId, ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__validateUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->validateUser(longId, password, passport, retLongId, userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::validatePassport(const ::std::string& passport, const ::std::string& password, ::std::string& longId, ::std::string& userId, ::std::string& md5pw, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__validatePassport_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->validatePassport(passport, password, longId, userId, md5pw, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::loginNotify(const ::std::string& longId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__loginNotify_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->loginNotify(longId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::recordCTULog(const ::com::alisoft::member::udb::api::model::Map& ctuLogInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__recordCTULog_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->recordCTULog(ctuLogInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::saveWebUserProfile(const ::com::alisoft::member::udb::api::model::Map& userBaseProfile, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__saveWebUserProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->saveWebUserProfile(userBaseProfile, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::deleteUser(const ::std::string& longId, bool& success, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__deleteUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->deleteUser(longId, success, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::prohibitUser(const ::std::string& longId, bool& success, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__prohibitUser_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->prohibitUser(longId, success, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getUserBaseProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::Map& userBaseProfile, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getUserBaseProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserBaseProfile(longId, userBaseProfile, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getUserWebProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getUserWebProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserWebProfile(longId, userProfile, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getUserWebBaseProfile(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getUserWebBaseProfile_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserWebBaseProfile(longId, userProfile, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getUserProfileByLongId(const ::std::string& longId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getUserProfileByLongId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserProfileByLongId(longId, userProfile, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getUserProfileListByLongId(const ::com::alisoft::member::udb::api::model::StringSeq& longIds, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getUserProfileListByLongId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserProfileListByLongId(longIds, userProfileSeq, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getUserProfileListByEmail(const ::com::alisoft::member::udb::api::model::StringSeq& emails, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getUserProfileListByEmail_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserProfileListByEmail(emails, userProfileSeq, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getUserProfileByUserId(const ::std::string& userId, ::com::alisoft::member::udb::api::model::UserProfile& userProfile, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getUserProfileByUserId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserProfileByUserId(userId, userProfile, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getUserProfileListByUserId(const ::com::alisoft::member::udb::api::model::StringSeq& userIds, ::com::alisoft::member::udb::api::model::UserProfileSeq& userProfileSeq, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getUserProfileListByUserId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserProfileListByUserId(userIds, userProfileSeq, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getUserIdByPassport(const ::std::string& passport, ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getUserIdByPassport_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserIdByPassport(passport, userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getLongIdByPassport(const ::std::string& passport, ::std::string& longId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getLongIdByPassport_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getLongIdByPassport(passport, longId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getUserIdByLongId(const ::std::string& longId, ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getUserIdByLongId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getUserIdByLongId(longId, userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::isLongIdExist(const ::std::string& longId, bool& isExist, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__isLongIdExist_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->isLongIdExist(longId, isExist, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getMD5PasswordByLongId(const ::std::string& longId, ::std::string& md5pwd, ::Ice::Int& status, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getMD5PasswordByLongId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getMD5PasswordByLongId(longId, md5pwd, status, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getMatchedUserInfoList(const ::std::string& loginId, ::com::alisoft::member::udb::api::model::MatchedUserInfoSeq& matchedUserInfoSeq, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getMatchedUserInfoList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getMatchedUserInfoList(loginId, matchedUserInfoSeq, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::checkSession(const ::std::string& longId, const ::std::string& sessionNo, bool& isRight, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__checkSession_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkSession(longId, sessionNo, isRight, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::changePasswordByUserId(const ::std::string& userId, const ::std::string& md5Password, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__changePasswordByUserId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->changePasswordByUserId(userId, md5Password, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::changePasswordByLongId(const ::std::string& longId, const ::std::string& md5Password, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__changePasswordByLongId_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->changePasswordByLongId(longId, md5Password, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::updateLastLoginTime(const ::std::string& userId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__updateLastLoginTime_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->updateLastLoginTime(userId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::changeImBinding(const ::std::string& userId, const ::std::string& newLongId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__changeImBinding_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->changeImBinding(userId, newLongId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getImBinding(const ::std::string& userId, ::std::string& longId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getImBinding_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getImBinding(userId, longId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getRandomPassports(::Ice::Long min, ::Ice::Long max, ::Ice::Int amount, ::com::alisoft::member::udb::api::model::StringSeq& passports, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getRandomPassports_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getRandomPassports(min, max, amount, passports, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::isPassportHold(const ::std::string& passort, bool& isHold, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__isPassportHold_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->isPassportHold(passort, isHold, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::com::alisoft::member::udb::api::user::UserService::getDomainList(::com::alisoft::member::udb::api::model::DomainSeq& domainSeq, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __com__alisoft__member__udb__api__user__UserService__getDomainList_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::com::alisoft::member::udb::api::user::UserService* __servant = dynamic_cast< ::com::alisoft::member::udb::api::user::UserService*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getDomainList(domainSeq, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -com::alisoft::member::udb::api::user::UserService::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __com__alisoft__member__udb__api__user__UserService_ids[2] = -{ - "::Ice::Object", - "::com::alisoft::member::udb::api::user::UserService" -}; - -bool -com::alisoft::member::udb::api::user::UserService::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__com__alisoft__member__udb__api__user__UserService_ids, __com__alisoft__member__udb__api__user__UserService_ids + 2, _s); -} - -::std::vector< ::std::string> -com::alisoft::member::udb::api::user::UserService::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__com__alisoft__member__udb__api__user__UserService_ids[0], &__com__alisoft__member__udb__api__user__UserService_ids[2]); -} - -const ::std::string& -com::alisoft::member::udb::api::user::UserService::ice_id(const ::Ice::Current&) const -{ - return __com__alisoft__member__udb__api__user__UserService_ids[1]; -} - -const ::std::string& -com::alisoft::member::udb::api::user::UserService::ice_staticId() -{ - return __com__alisoft__member__udb__api__user__UserService_ids[1]; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___registerUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::com::alisoft::member::udb::api::model::Map registerInfo; - ::com::alisoft::member::udb::api::model::__read(__is, registerInfo, ::com::alisoft::member::udb::api::model::__U__Map()); - ::std::string userId; - ::Ice::Int __ret = registerUser(registerInfo, userId, __current); - __os->write(userId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___registerAlisoft(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::com::alisoft::member::udb::api::model::Map registerInfo; - ::com::alisoft::member::udb::api::model::__read(__is, registerInfo, ::com::alisoft::member::udb::api::model::__U__Map()); - ::std::string userId; - ::Ice::Int __ret = registerAlisoft(registerInfo, userId, __current); - __os->write(userId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___isCanRegister(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string passport; - __is->read(passport); - bool isCan; - ::Ice::Int __ret = isCanRegister(passport, isCan, __current); - __os->write(isCan); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___modifyUserInfo(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::com::alisoft::member::udb::api::model::Map updateInfo; - ::com::alisoft::member::udb::api::model::__read(__is, updateInfo, ::com::alisoft::member::udb::api::model::__U__Map()); - ::Ice::Int __ret = modifyUserInfo(updateInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___modifyImToken(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - ::std::string imToken; - __is->read(longId); - __is->read(imToken); - ::Ice::Int __ret = modifyImToken(longId, imToken, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___modifyAepImToken(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - ::std::string imToken; - __is->read(longId); - __is->read(imToken); - ::Ice::Int __ret = modifyAepImToken(longId, imToken, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getAepImToken(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - __is->read(longId); - ::std::string imToken; - ::std::string md5pwd; - ::std::string userStatus; - ::Ice::Int __ret = getAepImToken(longId, imToken, md5pwd, userStatus, __current); - __os->write(imToken); - __os->write(md5pwd); - __os->write(userStatus); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___validateUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - ::std::string password; - __is->read(longId); - __is->read(password); - ::std::string passport; - ::std::string retLongId; - ::std::string userId; - ::Ice::Int __ret = validateUser(longId, password, passport, retLongId, userId, __current); - __os->write(passport); - __os->write(retLongId); - __os->write(userId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___validatePassport(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string passport; - ::std::string password; - __is->read(passport); - __is->read(password); - ::std::string longId; - ::std::string userId; - ::std::string md5pw; - ::Ice::Int __ret = validatePassport(passport, password, longId, userId, md5pw, __current); - __os->write(longId); - __os->write(userId); - __os->write(md5pw); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___loginNotify(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - __is->read(longId); - ::Ice::Int __ret = loginNotify(longId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___recordCTULog(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::com::alisoft::member::udb::api::model::Map ctuLogInfo; - ::com::alisoft::member::udb::api::model::__read(__is, ctuLogInfo, ::com::alisoft::member::udb::api::model::__U__Map()); - ::Ice::Int __ret = recordCTULog(ctuLogInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___saveWebUserProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::com::alisoft::member::udb::api::model::Map userBaseProfile; - ::com::alisoft::member::udb::api::model::__read(__is, userBaseProfile, ::com::alisoft::member::udb::api::model::__U__Map()); - ::Ice::Int __ret = saveWebUserProfile(userBaseProfile, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___deleteUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - __is->read(longId); - bool success; - ::Ice::Int __ret = deleteUser(longId, success, __current); - __os->write(success); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___prohibitUser(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - __is->read(longId); - bool success; - ::Ice::Int __ret = prohibitUser(longId, success, __current); - __os->write(success); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getUserBaseProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - __is->read(longId); - ::com::alisoft::member::udb::api::model::Map userBaseProfile; - ::Ice::Int __ret = getUserBaseProfile(longId, userBaseProfile, __current); - ::com::alisoft::member::udb::api::model::__write(__os, userBaseProfile, ::com::alisoft::member::udb::api::model::__U__Map()); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getUserWebProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - __is->read(longId); - ::com::alisoft::member::udb::api::model::UserProfile userProfile; - ::Ice::Int __ret = getUserWebProfile(longId, userProfile, __current); - userProfile.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getUserWebBaseProfile(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - __is->read(longId); - ::com::alisoft::member::udb::api::model::UserProfile userProfile; - ::Ice::Int __ret = getUserWebBaseProfile(longId, userProfile, __current); - userProfile.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getUserProfileByLongId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - __is->read(longId); - ::com::alisoft::member::udb::api::model::UserProfile userProfile; - ::Ice::Int __ret = getUserProfileByLongId(longId, userProfile, __current); - userProfile.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getUserProfileListByLongId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::com::alisoft::member::udb::api::model::StringSeq longIds; - __is->read(longIds); - ::com::alisoft::member::udb::api::model::UserProfileSeq userProfileSeq; - ::Ice::Int __ret = getUserProfileListByLongId(longIds, userProfileSeq, __current); - if(userProfileSeq.size() == 0) - { - __os->writeSize(0); - } - else - { - ::com::alisoft::member::udb::api::model::__write(__os, &userProfileSeq[0], &userProfileSeq[0] + userProfileSeq.size(), ::com::alisoft::member::udb::api::model::__U__UserProfileSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getUserProfileListByEmail(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::com::alisoft::member::udb::api::model::StringSeq emails; - __is->read(emails); - ::com::alisoft::member::udb::api::model::UserProfileSeq userProfileSeq; - ::Ice::Int __ret = getUserProfileListByEmail(emails, userProfileSeq, __current); - if(userProfileSeq.size() == 0) - { - __os->writeSize(0); - } - else - { - ::com::alisoft::member::udb::api::model::__write(__os, &userProfileSeq[0], &userProfileSeq[0] + userProfileSeq.size(), ::com::alisoft::member::udb::api::model::__U__UserProfileSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getUserProfileByUserId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::com::alisoft::member::udb::api::model::UserProfile userProfile; - ::Ice::Int __ret = getUserProfileByUserId(userId, userProfile, __current); - userProfile.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getUserProfileListByUserId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::com::alisoft::member::udb::api::model::StringSeq userIds; - __is->read(userIds); - ::com::alisoft::member::udb::api::model::UserProfileSeq userProfileSeq; - ::Ice::Int __ret = getUserProfileListByUserId(userIds, userProfileSeq, __current); - if(userProfileSeq.size() == 0) - { - __os->writeSize(0); - } - else - { - ::com::alisoft::member::udb::api::model::__write(__os, &userProfileSeq[0], &userProfileSeq[0] + userProfileSeq.size(), ::com::alisoft::member::udb::api::model::__U__UserProfileSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getUserIdByPassport(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string passport; - __is->read(passport); - ::std::string userId; - ::Ice::Int __ret = getUserIdByPassport(passport, userId, __current); - __os->write(userId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getLongIdByPassport(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string passport; - __is->read(passport); - ::std::string longId; - ::Ice::Int __ret = getLongIdByPassport(passport, longId, __current); - __os->write(longId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getUserIdByLongId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - __is->read(longId); - ::std::string userId; - ::Ice::Int __ret = getUserIdByLongId(longId, userId, __current); - __os->write(userId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___isLongIdExist(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - __is->read(longId); - bool isExist; - ::Ice::Int __ret = isLongIdExist(longId, isExist, __current); - __os->write(isExist); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getMD5PasswordByLongId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - __is->read(longId); - ::std::string md5pwd; - ::Ice::Int status; - ::Ice::Int __ret = getMD5PasswordByLongId(longId, md5pwd, status, __current); - __os->write(md5pwd); - __os->write(status); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getMatchedUserInfoList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string loginId; - __is->read(loginId); - ::com::alisoft::member::udb::api::model::MatchedUserInfoSeq matchedUserInfoSeq; - ::Ice::Int __ret = getMatchedUserInfoList(loginId, matchedUserInfoSeq, __current); - if(matchedUserInfoSeq.size() == 0) - { - __os->writeSize(0); - } - else - { - ::com::alisoft::member::udb::api::model::__write(__os, &matchedUserInfoSeq[0], &matchedUserInfoSeq[0] + matchedUserInfoSeq.size(), ::com::alisoft::member::udb::api::model::__U__MatchedUserInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___checkSession(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - ::std::string sessionNo; - __is->read(longId); - __is->read(sessionNo); - bool isRight; - ::Ice::Int __ret = checkSession(longId, sessionNo, isRight, __current); - __os->write(isRight); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___changePasswordByUserId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string md5Password; - __is->read(userId); - __is->read(md5Password); - ::Ice::Int __ret = changePasswordByUserId(userId, md5Password, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___changePasswordByLongId(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string longId; - ::std::string md5Password; - __is->read(longId); - __is->read(md5Password); - ::Ice::Int __ret = changePasswordByLongId(longId, md5Password, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___updateLastLoginTime(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::Ice::Int __ret = updateLastLoginTime(userId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___changeImBinding(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::std::string newLongId; - __is->read(userId); - __is->read(newLongId); - ::Ice::Int __ret = changeImBinding(userId, newLongId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getImBinding(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::std::string longId; - ::Ice::Int __ret = getImBinding(userId, longId, __current); - __os->write(longId); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getRandomPassports(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long min; - ::Ice::Long max; - ::Ice::Int amount; - __is->read(min); - __is->read(max); - __is->read(amount); - ::com::alisoft::member::udb::api::model::StringSeq passports; - ::Ice::Int __ret = getRandomPassports(min, max, amount, passports, __current); - if(passports.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&passports[0], &passports[0] + passports.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___isPassportHold(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string passort; - __is->read(passort); - bool isHold; - ::Ice::Int __ret = isPassportHold(passort, isHold, __current); - __os->write(isHold); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::___getDomainList(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __os = __inS.os(); - ::com::alisoft::member::udb::api::model::DomainSeq domainSeq; - ::Ice::Int __ret = getDomainList(domainSeq, __current); - if(domainSeq.size() == 0) - { - __os->writeSize(0); - } - else - { - ::com::alisoft::member::udb::api::model::__write(__os, &domainSeq[0], &domainSeq[0] + domainSeq.size(), ::com::alisoft::member::udb::api::model::__U__DomainSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __com__alisoft__member__udb__api__user__UserService_all[] = -{ - "changeImBinding", - "changePasswordByLongId", - "changePasswordByUserId", - "checkSession", - "deleteUser", - "getAepImToken", - "getDomainList", - "getImBinding", - "getLongIdByPassport", - "getMD5PasswordByLongId", - "getMatchedUserInfoList", - "getRandomPassports", - "getUserBaseProfile", - "getUserIdByLongId", - "getUserIdByPassport", - "getUserProfileByLongId", - "getUserProfileByUserId", - "getUserProfileListByEmail", - "getUserProfileListByLongId", - "getUserProfileListByUserId", - "getUserWebBaseProfile", - "getUserWebProfile", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "isCanRegister", - "isLongIdExist", - "isPassportHold", - "loginNotify", - "modifyAepImToken", - "modifyImToken", - "modifyUserInfo", - "prohibitUser", - "recordCTULog", - "registerAlisoft", - "registerUser", - "saveWebUserProfile", - "updateLastLoginTime", - "validatePassport", - "validateUser" -}; - -::IceInternal::DispatchStatus -com::alisoft::member::udb::api::user::UserService::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__com__alisoft__member__udb__api__user__UserService_all, __com__alisoft__member__udb__api__user__UserService_all + 41, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __com__alisoft__member__udb__api__user__UserService_all) - { - case 0: - { - return ___changeImBinding(in, current); - } - case 1: - { - return ___changePasswordByLongId(in, current); - } - case 2: - { - return ___changePasswordByUserId(in, current); - } - case 3: - { - return ___checkSession(in, current); - } - case 4: - { - return ___deleteUser(in, current); - } - case 5: - { - return ___getAepImToken(in, current); - } - case 6: - { - return ___getDomainList(in, current); - } - case 7: - { - return ___getImBinding(in, current); - } - case 8: - { - return ___getLongIdByPassport(in, current); - } - case 9: - { - return ___getMD5PasswordByLongId(in, current); - } - case 10: - { - return ___getMatchedUserInfoList(in, current); - } - case 11: - { - return ___getRandomPassports(in, current); - } - case 12: - { - return ___getUserBaseProfile(in, current); - } - case 13: - { - return ___getUserIdByLongId(in, current); - } - case 14: - { - return ___getUserIdByPassport(in, current); - } - case 15: - { - return ___getUserProfileByLongId(in, current); - } - case 16: - { - return ___getUserProfileByUserId(in, current); - } - case 17: - { - return ___getUserProfileListByEmail(in, current); - } - case 18: - { - return ___getUserProfileListByLongId(in, current); - } - case 19: - { - return ___getUserProfileListByUserId(in, current); - } - case 20: - { - return ___getUserWebBaseProfile(in, current); - } - case 21: - { - return ___getUserWebProfile(in, current); - } - case 22: - { - return ___ice_id(in, current); - } - case 23: - { - return ___ice_ids(in, current); - } - case 24: - { - return ___ice_isA(in, current); - } - case 25: - { - return ___ice_ping(in, current); - } - case 26: - { - return ___isCanRegister(in, current); - } - case 27: - { - return ___isLongIdExist(in, current); - } - case 28: - { - return ___isPassportHold(in, current); - } - case 29: - { - return ___loginNotify(in, current); - } - case 30: - { - return ___modifyAepImToken(in, current); - } - case 31: - { - return ___modifyImToken(in, current); - } - case 32: - { - return ___modifyUserInfo(in, current); - } - case 33: - { - return ___prohibitUser(in, current); - } - case 34: - { - return ___recordCTULog(in, current); - } - case 35: - { - return ___registerAlisoft(in, current); - } - case 36: - { - return ___registerUser(in, current); - } - case 37: - { - return ___saveWebUserProfile(in, current); - } - case 38: - { - return ___updateLastLoginTime(in, current); - } - case 39: - { - return ___validatePassport(in, current); - } - case 40: - { - return ___validateUser(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -com::alisoft::member::udb::api::user::UserService::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -com::alisoft::member::udb::api::user::UserService::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -com::alisoft::member::udb::api::user::UserService::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type com::alisoft::member::udb::api::user::UserService was not generated with stream support"; - throw ex; -} - -void -com::alisoft::member::udb::api::user::UserService::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type com::alisoft::member::udb::api::user::UserService was not generated with stream support"; - throw ex; -} - -void -com::alisoft::member::udb::api::user::__patch__UserServicePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::com::alisoft::member::udb::api::user::UserServicePtr* p = static_cast< ::com::alisoft::member::udb::api::user::UserServicePtr*>(__addr); - assert(p); - *p = ::com::alisoft::member::udb::api::user::UserServicePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::com::alisoft::member::udb::api::user::UserService::ice_staticId(); - throw e; - } -} - -bool -com::alisoft::member::udb::api::user::operator==(const ::com::alisoft::member::udb::api::user::UserService& l, const ::com::alisoft::member::udb::api::user::UserService& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -com::alisoft::member::udb::api::user::operator!=(const ::com::alisoft::member::udb::api::user::UserService& l, const ::com::alisoft::member::udb::api::user::UserService& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -com::alisoft::member::udb::api::user::operator<(const ::com::alisoft::member::udb::api::user::UserService& l, const ::com::alisoft::member::udb::api::user::UserService& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -com::alisoft::member::udb::api::user::operator<=(const ::com::alisoft::member::udb::api::user::UserService& l, const ::com::alisoft::member::udb::api::user::UserService& r) -{ - return l < r || l == r; -} - -bool -com::alisoft::member::udb::api::user::operator>(const ::com::alisoft::member::udb::api::user::UserService& l, const ::com::alisoft::member::udb::api::user::UserService& r) -{ - return !(l < r) && !(l == r); -} - -bool -com::alisoft::member::udb::api::user::operator>=(const ::com::alisoft::member::udb::api::user::UserService& l, const ::com::alisoft::member::udb::api::user::UserService& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/user_info.cpp b/features/aliww/source/user_info.cpp deleted file mode 100644 index 77cf6eb..0000000 --- a/features/aliww/source/user_info.cpp +++ /dev/null @@ -1,1592 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `user_info.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __IMServerData__UserInfoI__query_name = "query"; - -static const ::std::string __IMServerData__UserInfoI__insert_name = "insert"; - -static const ::std::string __IMServerData__UserInfoI__remove_name = "remove"; - -static const ::std::string __IMServerData__UserInfoI__loginNtfy_name = "loginNtfy"; - -static const ::std::string __IMServerData__UserInfoI__gettLoginNumBySite_name = "gettLoginNumBySite"; - -static const ::std::string __IMServerData__UserInfoI__getSiteIds_name = "getSiteIds"; - -static const ::std::string __IMServerData__UserInfoI__getOnlineCountBySite_name = "getOnlineCountBySite"; - -static const ::std::string __IMServerData__UserInfoI__getOneSiteOnlineStatus_name = "getOneSiteOnlineStatus"; - -void -IceInternal::incRef(::IMServerData::UserInfoI* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IMServerData::UserInfoI* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::IMServerData::UserInfoI* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::IMServerData::UserInfoI* p) -{ - p->__decRef(); -} - -void -IMServerData::__write(::IceInternal::BasicStream* __os, const ::IMServerData::UserInfoIPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -IMServerData::__read(::IceInternal::BasicStream* __is, ::IMServerData::UserInfoIPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::IMServerData::UserInfoI; - v->__copyFrom(proxy); - } -} - -void -IMServerData::__write(::IceInternal::BasicStream* __os, const ::IMServerData::UserInfoIPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -IMServerData::SWebBind::operator==(const SWebBind& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMServerData::SWebBind::operator!=(const SWebBind& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(serviceId != __rhs.serviceId) - { - return true; - } - if(siteId != __rhs.siteId) - { - return true; - } - if(webId != __rhs.webId) - { - return true; - } - if(webUid != __rhs.webUid) - { - return true; - } - if(webUrl != __rhs.webUrl) - { - return true; - } - return false; -} - -bool -IMServerData::SWebBind::operator<(const SWebBind& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(serviceId < __rhs.serviceId) - { - return true; - } - else if(__rhs.serviceId < serviceId) - { - return false; - } - if(siteId < __rhs.siteId) - { - return true; - } - else if(__rhs.siteId < siteId) - { - return false; - } - if(webId < __rhs.webId) - { - return true; - } - else if(__rhs.webId < webId) - { - return false; - } - if(webUid < __rhs.webUid) - { - return true; - } - else if(__rhs.webUid < webUid) - { - return false; - } - if(webUrl < __rhs.webUrl) - { - return true; - } - else if(__rhs.webUrl < webUrl) - { - return false; - } - return false; -} - -void -IMServerData::SWebBind::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(serviceId); - __os->write(siteId); - __os->write(webId); - __os->write(webUid); - if(webUrl.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&webUrl[0], &webUrl[0] + webUrl.size()); - } -} - -void -IMServerData::SWebBind::__read(::IceInternal::BasicStream* __is) -{ - __is->read(serviceId); - __is->read(siteId); - __is->read(webId); - __is->read(webUid); - __is->read(webUrl); -} - -void -IMServerData::__write(::IceInternal::BasicStream* __os, const ::IMServerData::SWebBind* begin, const ::IMServerData::SWebBind* end, ::IMServerData::__U__SWebBindSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMServerData::__read(::IceInternal::BasicStream* __is, ::IMServerData::SWebBindSeq& v, ::IMServerData::__U__SWebBindSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 5); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -IMServerData::Statics::operator==(const Statics& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -IMServerData::Statics::operator!=(const Statics& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(servicId != __rhs.servicId) - { - return true; - } - if(webId != __rhs.webId) - { - return true; - } - if(count != __rhs.count) - { - return true; - } - return false; -} - -bool -IMServerData::Statics::operator<(const Statics& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(servicId < __rhs.servicId) - { - return true; - } - else if(__rhs.servicId < servicId) - { - return false; - } - if(webId < __rhs.webId) - { - return true; - } - else if(__rhs.webId < webId) - { - return false; - } - if(count < __rhs.count) - { - return true; - } - else if(__rhs.count < count) - { - return false; - } - return false; -} - -void -IMServerData::Statics::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(servicId); - __os->write(webId); - __os->write(count); -} - -void -IMServerData::Statics::__read(::IceInternal::BasicStream* __is) -{ - __is->read(servicId); - __is->read(webId); - __is->read(count); -} - -void -IMServerData::__write(::IceInternal::BasicStream* __os, const ::IMServerData::Statics* begin, const ::IMServerData::Statics* end, ::IMServerData::__U__StaticsSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -IMServerData::__read(::IceInternal::BasicStream* __is, ::IMServerData::StaticsSeq& v, ::IMServerData::__U__StaticsSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 10); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -IMServerData::__addObject(const UserInfoIPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -IMServerData::__usesClasses(const UserInfoIPtr& p) -{ - return p->__usesClasses(); -} - -void -IMServerData::__decRefUnsafe(const UserInfoIPtr& p) -{ - p->__decRefUnsafe(); -} - -void -IMServerData::__clearHandleUnsafe(UserInfoIPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::IMServerData::UserInfoI::query(const ::std::string& id, ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMServerData__UserInfoI__query_name); - __delBase = __getDelegate(); - ::IceDelegate::IMServerData::UserInfoI* __del = dynamic_cast< ::IceDelegate::IMServerData::UserInfoI*>(__delBase.get()); - return __del->query(id, binds, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMServerData::UserInfoI::insert(const ::std::string& id, const ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMServerData__UserInfoI__insert_name); - __delBase = __getDelegate(); - ::IceDelegate::IMServerData::UserInfoI* __del = dynamic_cast< ::IceDelegate::IMServerData::UserInfoI*>(__delBase.get()); - return __del->insert(id, binds, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMServerData::UserInfoI::remove(const ::std::string& id, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMServerData__UserInfoI__remove_name); - __delBase = __getDelegate(); - ::IceDelegate::IMServerData::UserInfoI* __del = dynamic_cast< ::IceDelegate::IMServerData::UserInfoI*>(__delBase.get()); - return __del->remove(id, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMServerData::UserInfoI::loginNtfy(const ::std::string& id, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMServerData__UserInfoI__loginNtfy_name); - __delBase = __getDelegate(); - ::IceDelegate::IMServerData::UserInfoI* __del = dynamic_cast< ::IceDelegate::IMServerData::UserInfoI*>(__delBase.get()); - return __del->loginNtfy(id, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMServerData::UserInfoI::gettLoginNumBySite(::IMServerData::StaticsSeq& lognum, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMServerData__UserInfoI__gettLoginNumBySite_name); - __delBase = __getDelegate(); - ::IceDelegate::IMServerData::UserInfoI* __del = dynamic_cast< ::IceDelegate::IMServerData::UserInfoI*>(__delBase.get()); - return __del->gettLoginNumBySite(lognum, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMServerData::UserInfoI::getSiteIds(const ::std::string& serviceid, const ::std::string& siteid, ::Ice::StringSeq& loginid, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMServerData__UserInfoI__getSiteIds_name); - __delBase = __getDelegate(); - ::IceDelegate::IMServerData::UserInfoI* __del = dynamic_cast< ::IceDelegate::IMServerData::UserInfoI*>(__delBase.get()); - return __del->getSiteIds(serviceid, siteid, loginid, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMServerData::UserInfoI::getOnlineCountBySite(::IMServerData::StaticsSeq& statics, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMServerData__UserInfoI__getOnlineCountBySite_name); - __delBase = __getDelegate(); - ::IceDelegate::IMServerData::UserInfoI* __del = dynamic_cast< ::IceDelegate::IMServerData::UserInfoI*>(__delBase.get()); - return __del->getOnlineCountBySite(statics, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::IMServerData::UserInfoI::getOneSiteOnlineStatus(const ::std::string& serviceId, const ::std::string& siteid, ::Ice::Long& count, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__IMServerData__UserInfoI__getOneSiteOnlineStatus_name); - __delBase = __getDelegate(); - ::IceDelegate::IMServerData::UserInfoI* __del = dynamic_cast< ::IceDelegate::IMServerData::UserInfoI*>(__delBase.get()); - return __del->getOneSiteOnlineStatus(serviceId, siteid, count, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::IMServerData::UserInfoI::ice_staticId() -{ - return ::IMServerData::UserInfoI::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::IMServerData::UserInfoI::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::IMServerData::UserInfoI); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::IMServerData::UserInfoI::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::IMServerData::UserInfoI); -} - -bool -IceProxy::IMServerData::operator==(const ::IceProxy::IMServerData::UserInfoI& l, const ::IceProxy::IMServerData::UserInfoI& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::IMServerData::operator!=(const ::IceProxy::IMServerData::UserInfoI& l, const ::IceProxy::IMServerData::UserInfoI& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::IMServerData::operator<(const ::IceProxy::IMServerData::UserInfoI& l, const ::IceProxy::IMServerData::UserInfoI& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::IMServerData::operator<=(const ::IceProxy::IMServerData::UserInfoI& l, const ::IceProxy::IMServerData::UserInfoI& r) -{ - return l < r || l == r; -} - -bool -IceProxy::IMServerData::operator>(const ::IceProxy::IMServerData::UserInfoI& l, const ::IceProxy::IMServerData::UserInfoI& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::IMServerData::operator>=(const ::IceProxy::IMServerData::UserInfoI& l, const ::IceProxy::IMServerData::UserInfoI& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::IMServerData::UserInfoI::query(const ::std::string& id, ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMServerData__UserInfoI__query_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(id); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMServerData::__read(__is, binds, ::IMServerData::__U__SWebBindSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMServerData::UserInfoI::insert(const ::std::string& id, const ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMServerData__UserInfoI__insert_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(id); - if(binds.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMServerData::__write(__os, &binds[0], &binds[0] + binds.size(), ::IMServerData::__U__SWebBindSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMServerData::UserInfoI::remove(const ::std::string& id, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMServerData__UserInfoI__remove_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(id); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMServerData::UserInfoI::loginNtfy(const ::std::string& id, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMServerData__UserInfoI__loginNtfy_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(id); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMServerData::UserInfoI::gettLoginNumBySite(::IMServerData::StaticsSeq& lognum, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMServerData__UserInfoI__gettLoginNumBySite_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMServerData::__read(__is, lognum, ::IMServerData::__U__StaticsSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMServerData::UserInfoI::getSiteIds(const ::std::string& serviceid, const ::std::string& siteid, ::Ice::StringSeq& loginid, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMServerData__UserInfoI__getSiteIds_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceid); - __os->write(siteid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(loginid); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMServerData::UserInfoI::getOnlineCountBySite(::IMServerData::StaticsSeq& statics, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMServerData__UserInfoI__getOnlineCountBySite_name, ::Ice::Normal, __context, __compress); - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::IMServerData::__read(__is, statics, ::IMServerData::__U__StaticsSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::IMServerData::UserInfoI::getOneSiteOnlineStatus(const ::std::string& serviceId, const ::std::string& siteid, ::Ice::Long& count, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __IMServerData__UserInfoI__getOneSiteOnlineStatus_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(serviceId); - __os->write(siteid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(count); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::IMServerData::UserInfoI::query(const ::std::string& id, ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMServerData__UserInfoI__query_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMServerData::UserInfoI* __servant = dynamic_cast< ::IMServerData::UserInfoI*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->query(id, binds, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMServerData::UserInfoI::insert(const ::std::string& id, const ::IMServerData::SWebBindSeq& binds, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMServerData__UserInfoI__insert_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMServerData::UserInfoI* __servant = dynamic_cast< ::IMServerData::UserInfoI*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->insert(id, binds, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMServerData::UserInfoI::remove(const ::std::string& id, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMServerData__UserInfoI__remove_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMServerData::UserInfoI* __servant = dynamic_cast< ::IMServerData::UserInfoI*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->remove(id, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMServerData::UserInfoI::loginNtfy(const ::std::string& id, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMServerData__UserInfoI__loginNtfy_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMServerData::UserInfoI* __servant = dynamic_cast< ::IMServerData::UserInfoI*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->loginNtfy(id, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMServerData::UserInfoI::gettLoginNumBySite(::IMServerData::StaticsSeq& lognum, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMServerData__UserInfoI__gettLoginNumBySite_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMServerData::UserInfoI* __servant = dynamic_cast< ::IMServerData::UserInfoI*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->gettLoginNumBySite(lognum, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMServerData::UserInfoI::getSiteIds(const ::std::string& serviceid, const ::std::string& siteid, ::Ice::StringSeq& loginid, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMServerData__UserInfoI__getSiteIds_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMServerData::UserInfoI* __servant = dynamic_cast< ::IMServerData::UserInfoI*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getSiteIds(serviceid, siteid, loginid, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMServerData::UserInfoI::getOnlineCountBySite(::IMServerData::StaticsSeq& statics, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMServerData__UserInfoI__getOnlineCountBySite_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMServerData::UserInfoI* __servant = dynamic_cast< ::IMServerData::UserInfoI*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getOnlineCountBySite(statics, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::IMServerData::UserInfoI::getOneSiteOnlineStatus(const ::std::string& serviceId, const ::std::string& siteid, ::Ice::Long& count, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __IMServerData__UserInfoI__getOneSiteOnlineStatus_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::IMServerData::UserInfoI* __servant = dynamic_cast< ::IMServerData::UserInfoI*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->getOneSiteOnlineStatus(serviceId, siteid, count, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -IMServerData::UserInfoI::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __IMServerData__UserInfoI_ids[2] = -{ - "::IMServerData::UserInfoI", - "::Ice::Object" -}; - -bool -IMServerData::UserInfoI::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__IMServerData__UserInfoI_ids, __IMServerData__UserInfoI_ids + 2, _s); -} - -::std::vector< ::std::string> -IMServerData::UserInfoI::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__IMServerData__UserInfoI_ids[0], &__IMServerData__UserInfoI_ids[2]); -} - -const ::std::string& -IMServerData::UserInfoI::ice_id(const ::Ice::Current&) const -{ - return __IMServerData__UserInfoI_ids[0]; -} - -const ::std::string& -IMServerData::UserInfoI::ice_staticId() -{ - return __IMServerData__UserInfoI_ids[0]; -} - -::IceInternal::DispatchStatus -IMServerData::UserInfoI::___query(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string id; - __is->read(id); - ::IMServerData::SWebBindSeq binds; - ::Ice::Int __ret = query(id, binds, __current); - if(binds.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMServerData::__write(__os, &binds[0], &binds[0] + binds.size(), ::IMServerData::__U__SWebBindSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMServerData::UserInfoI::___insert(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string id; - ::IMServerData::SWebBindSeq binds; - __is->read(id); - ::IMServerData::__read(__is, binds, ::IMServerData::__U__SWebBindSeq()); - ::Ice::Int __ret = insert(id, binds, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMServerData::UserInfoI::___remove(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string id; - __is->read(id); - ::Ice::Int __ret = remove(id, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMServerData::UserInfoI::___loginNtfy(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string id; - __is->read(id); - ::Ice::Int __ret = loginNtfy(id, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMServerData::UserInfoI::___gettLoginNumBySite(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __os = __inS.os(); - ::IMServerData::StaticsSeq lognum; - ::Ice::Int __ret = gettLoginNumBySite(lognum, __current); - if(lognum.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMServerData::__write(__os, &lognum[0], &lognum[0] + lognum.size(), ::IMServerData::__U__StaticsSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMServerData::UserInfoI::___getSiteIds(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string serviceid; - ::std::string siteid; - __is->read(serviceid); - __is->read(siteid); - ::Ice::StringSeq loginid; - ::Ice::Int __ret = getSiteIds(serviceid, siteid, loginid, __current); - if(loginid.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&loginid[0], &loginid[0] + loginid.size()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMServerData::UserInfoI::___getOnlineCountBySite(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __os = __inS.os(); - ::IMServerData::StaticsSeq statics; - ::Ice::Int __ret = getOnlineCountBySite(statics, __current); - if(statics.size() == 0) - { - __os->writeSize(0); - } - else - { - ::IMServerData::__write(__os, &statics[0], &statics[0] + statics.size(), ::IMServerData::__U__StaticsSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -IMServerData::UserInfoI::___getOneSiteOnlineStatus(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string serviceId; - ::std::string siteid; - __is->read(serviceId); - __is->read(siteid); - ::Ice::Long count; - ::Ice::Int __ret = getOneSiteOnlineStatus(serviceId, siteid, count, __current); - __os->write(count); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __IMServerData__UserInfoI_all[] = -{ - "getOneSiteOnlineStatus", - "getOnlineCountBySite", - "getSiteIds", - "gettLoginNumBySite", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "insert", - "loginNtfy", - "query", - "remove" -}; - -::IceInternal::DispatchStatus -IMServerData::UserInfoI::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__IMServerData__UserInfoI_all, __IMServerData__UserInfoI_all + 12, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __IMServerData__UserInfoI_all) - { - case 0: - { - return ___getOneSiteOnlineStatus(in, current); - } - case 1: - { - return ___getOnlineCountBySite(in, current); - } - case 2: - { - return ___getSiteIds(in, current); - } - case 3: - { - return ___gettLoginNumBySite(in, current); - } - case 4: - { - return ___ice_id(in, current); - } - case 5: - { - return ___ice_ids(in, current); - } - case 6: - { - return ___ice_isA(in, current); - } - case 7: - { - return ___ice_ping(in, current); - } - case 8: - { - return ___insert(in, current); - } - case 9: - { - return ___loginNtfy(in, current); - } - case 10: - { - return ___query(in, current); - } - case 11: - { - return ___remove(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -IMServerData::UserInfoI::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -IMServerData::UserInfoI::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -IMServerData::UserInfoI::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type IMServerData::UserInfoI was not generated with stream support"; - throw ex; -} - -void -IMServerData::UserInfoI::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type IMServerData::UserInfoI was not generated with stream support"; - throw ex; -} - -void -IMServerData::__patch__UserInfoIPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::IMServerData::UserInfoIPtr* p = static_cast< ::IMServerData::UserInfoIPtr*>(__addr); - assert(p); - *p = ::IMServerData::UserInfoIPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::IMServerData::UserInfoI::ice_staticId(); - throw e; - } -} - -bool -IMServerData::operator==(const ::IMServerData::UserInfoI& l, const ::IMServerData::UserInfoI& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IMServerData::operator!=(const ::IMServerData::UserInfoI& l, const ::IMServerData::UserInfoI& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IMServerData::operator<(const ::IMServerData::UserInfoI& l, const ::IMServerData::UserInfoI& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IMServerData::operator<=(const ::IMServerData::UserInfoI& l, const ::IMServerData::UserInfoI& r) -{ - return l < r || l == r; -} - -bool -IMServerData::operator>(const ::IMServerData::UserInfoI& l, const ::IMServerData::UserInfoI& r) -{ - return !(l < r) && !(l == r); -} - -bool -IMServerData::operator>=(const ::IMServerData::UserInfoI& l, const ::IMServerData::UserInfoI& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/user_statics.cpp b/features/aliww/source/user_statics.cpp deleted file mode 100644 index 969a36b..0000000 --- a/features/aliww/source/user_statics.cpp +++ /dev/null @@ -1,583 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `user_statics.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __UserStaticsX__UserStaticsI__insert_name = "insert"; - -static const ::std::string __UserStaticsX__UserStaticsI__get_name = "get"; - -void -IceInternal::incRef(::UserStaticsX::UserStaticsI* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::UserStaticsX::UserStaticsI* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::UserStaticsX::UserStaticsI* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::UserStaticsX::UserStaticsI* p) -{ - p->__decRef(); -} - -void -UserStaticsX::__write(::IceInternal::BasicStream* __os, const ::UserStaticsX::UserStaticsIPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -UserStaticsX::__read(::IceInternal::BasicStream* __is, ::UserStaticsX::UserStaticsIPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::UserStaticsX::UserStaticsI; - v->__copyFrom(proxy); - } -} - -void -UserStaticsX::__write(::IceInternal::BasicStream* __os, const ::UserStaticsX::UserStaticsIPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -UserStaticsX::__addObject(const UserStaticsIPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -UserStaticsX::__usesClasses(const UserStaticsIPtr& p) -{ - return p->__usesClasses(); -} - -void -UserStaticsX::__decRefUnsafe(const UserStaticsIPtr& p) -{ - p->__decRefUnsafe(); -} - -void -UserStaticsX::__clearHandleUnsafe(UserStaticsIPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::UserStaticsX::UserStaticsI::insert(const ::AliIMDBBase::UserStatics& delta, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__UserStaticsX__UserStaticsI__insert_name); - __delBase = __getDelegate(); - ::IceDelegate::UserStaticsX::UserStaticsI* __del = dynamic_cast< ::IceDelegate::UserStaticsX::UserStaticsI*>(__delBase.get()); - return __del->insert(delta, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::UserStaticsX::UserStaticsI::get(const ::std::string& id, ::AliIMDBBase::UserStatics& s, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__UserStaticsX__UserStaticsI__get_name); - __delBase = __getDelegate(); - ::IceDelegate::UserStaticsX::UserStaticsI* __del = dynamic_cast< ::IceDelegate::UserStaticsX::UserStaticsI*>(__delBase.get()); - return __del->get(id, s, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::UserStaticsX::UserStaticsI::ice_staticId() -{ - return ::UserStaticsX::UserStaticsI::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::UserStaticsX::UserStaticsI::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::UserStaticsX::UserStaticsI); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::UserStaticsX::UserStaticsI::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::UserStaticsX::UserStaticsI); -} - -bool -IceProxy::UserStaticsX::operator==(const ::IceProxy::UserStaticsX::UserStaticsI& l, const ::IceProxy::UserStaticsX::UserStaticsI& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::UserStaticsX::operator!=(const ::IceProxy::UserStaticsX::UserStaticsI& l, const ::IceProxy::UserStaticsX::UserStaticsI& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::UserStaticsX::operator<(const ::IceProxy::UserStaticsX::UserStaticsI& l, const ::IceProxy::UserStaticsX::UserStaticsI& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::UserStaticsX::operator<=(const ::IceProxy::UserStaticsX::UserStaticsI& l, const ::IceProxy::UserStaticsX::UserStaticsI& r) -{ - return l < r || l == r; -} - -bool -IceProxy::UserStaticsX::operator>(const ::IceProxy::UserStaticsX::UserStaticsI& l, const ::IceProxy::UserStaticsX::UserStaticsI& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::UserStaticsX::operator>=(const ::IceProxy::UserStaticsX::UserStaticsI& l, const ::IceProxy::UserStaticsX::UserStaticsI& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::UserStaticsX::UserStaticsI::insert(const ::AliIMDBBase::UserStatics& delta, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __UserStaticsX__UserStaticsI__insert_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - delta.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::UserStaticsX::UserStaticsI::get(const ::std::string& id, ::AliIMDBBase::UserStatics& s, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __UserStaticsX__UserStaticsI__get_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(id); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - s.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::UserStaticsX::UserStaticsI::insert(const ::AliIMDBBase::UserStatics& delta, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __UserStaticsX__UserStaticsI__insert_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::UserStaticsX::UserStaticsI* __servant = dynamic_cast< ::UserStaticsX::UserStaticsI*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->insert(delta, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::UserStaticsX::UserStaticsI::get(const ::std::string& id, ::AliIMDBBase::UserStatics& s, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __UserStaticsX__UserStaticsI__get_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::UserStaticsX::UserStaticsI* __servant = dynamic_cast< ::UserStaticsX::UserStaticsI*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->get(id, s, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -UserStaticsX::UserStaticsI::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __UserStaticsX__UserStaticsI_ids[2] = -{ - "::Ice::Object", - "::UserStaticsX::UserStaticsI" -}; - -bool -UserStaticsX::UserStaticsI::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__UserStaticsX__UserStaticsI_ids, __UserStaticsX__UserStaticsI_ids + 2, _s); -} - -::std::vector< ::std::string> -UserStaticsX::UserStaticsI::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__UserStaticsX__UserStaticsI_ids[0], &__UserStaticsX__UserStaticsI_ids[2]); -} - -const ::std::string& -UserStaticsX::UserStaticsI::ice_id(const ::Ice::Current&) const -{ - return __UserStaticsX__UserStaticsI_ids[1]; -} - -const ::std::string& -UserStaticsX::UserStaticsI::ice_staticId() -{ - return __UserStaticsX__UserStaticsI_ids[1]; -} - -::IceInternal::DispatchStatus -UserStaticsX::UserStaticsI::___insert(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::AliIMDBBase::UserStatics delta; - delta.__read(__is); - ::Ice::Int __ret = insert(delta, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -UserStaticsX::UserStaticsI::___get(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string id; - __is->read(id); - ::AliIMDBBase::UserStatics s; - ::Ice::Int __ret = get(id, s, __current); - s.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __UserStaticsX__UserStaticsI_all[] = -{ - "get", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "insert" -}; - -::IceInternal::DispatchStatus -UserStaticsX::UserStaticsI::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__UserStaticsX__UserStaticsI_all, __UserStaticsX__UserStaticsI_all + 6, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __UserStaticsX__UserStaticsI_all) - { - case 0: - { - return ___get(in, current); - } - case 1: - { - return ___ice_id(in, current); - } - case 2: - { - return ___ice_ids(in, current); - } - case 3: - { - return ___ice_isA(in, current); - } - case 4: - { - return ___ice_ping(in, current); - } - case 5: - { - return ___insert(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -UserStaticsX::UserStaticsI::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -UserStaticsX::UserStaticsI::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -UserStaticsX::UserStaticsI::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type UserStaticsX::UserStaticsI was not generated with stream support"; - throw ex; -} - -void -UserStaticsX::UserStaticsI::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type UserStaticsX::UserStaticsI was not generated with stream support"; - throw ex; -} - -void -UserStaticsX::__patch__UserStaticsIPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::UserStaticsX::UserStaticsIPtr* p = static_cast< ::UserStaticsX::UserStaticsIPtr*>(__addr); - assert(p); - *p = ::UserStaticsX::UserStaticsIPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::UserStaticsX::UserStaticsI::ice_staticId(); - throw e; - } -} - -bool -UserStaticsX::operator==(const ::UserStaticsX::UserStaticsI& l, const ::UserStaticsX::UserStaticsI& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -UserStaticsX::operator!=(const ::UserStaticsX::UserStaticsI& l, const ::UserStaticsX::UserStaticsI& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -UserStaticsX::operator<(const ::UserStaticsX::UserStaticsI& l, const ::UserStaticsX::UserStaticsI& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -UserStaticsX::operator<=(const ::UserStaticsX::UserStaticsI& l, const ::UserStaticsX::UserStaticsI& r) -{ - return l < r || l == r; -} - -bool -UserStaticsX::operator>(const ::UserStaticsX::UserStaticsI& l, const ::UserStaticsX::UserStaticsI& r) -{ - return !(l < r) && !(l == r); -} - -bool -UserStaticsX::operator>=(const ::UserStaticsX::UserStaticsI& l, const ::UserStaticsX::UserStaticsI& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/uss_perf_test.cpp b/features/aliww/source/uss_perf_test.cpp deleted file mode 100644 index ed7071e..0000000 --- a/features/aliww/source/uss_perf_test.cpp +++ /dev/null @@ -1,128 +0,0 @@ -#include "uss_perf_test.h" - -using namespace std; -using namespace Ice; -using namespace UserStaticsX; - -void* uss_init(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - uss_st *ap = (uss_st *)malloc(sizeof(uss_st)); - pVuser->verb = ap; - srand(time(0)); - create_transaction(pVuser,"USS"); - - int status = 0; - Ice::CommunicatorPtr ic; - - try{ - ic = Ice::initialize(); - - Ice::ObjectPrx base = ic->stringToProxy("USSID:default -h 10.250.3.75 -p 5555"); - UserStaticsIPrx uss = UserStaticsIPrx::checkedCast(base); - if(!uss){ - throw "Invalid proxy"; - } - ap->uss = new UserStaticsIPrx(uss); - ap->ic = new Ice::CommunicatorPtr(ic); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -//int get(string id, out UserStaticsX::UserStatics s); -void* uss_get(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - uss_st *ap = (uss_st *)pVuser->verb; - int status = 0; - UserStaticsIPrx uss = *(ap->uss); - - string userId(select_param_ex(pVuser)); - AliIMDBBase::UserStatics s; - - try{ - status = uss->get( userId, s); - if(status == 0) - success_transactionEx(pVuser,"USS","get Sucess."); - else{ - char str_tmp[320] = {0}; - sprintf(str_tmp,"get:Call ret status is %d",status); - fail_transactionEx(pVuser,"USS",str_tmp); - } - printf("userId : %s; status : %d\n",userId.c_str(),status); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* uss_insert(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - uss_st *ap = (uss_st *)pVuser->verb; - int status = 0; - UserStaticsIPrx uss = *(ap->uss); - - string userId(select_param_ex(pVuser)); - AliIMDBBase::UserStatics delta; - delta.loginId = userId; - delta.type = 0; - int online_degree = rand()*1000%48; - int chat_degree = rand()*1000%48; - int reward_degree = rand()*100%10; - delta.totalDegree = online_degree + 1.5 * chat_degree + reward_degree; - - try{ - status = uss->insert( delta); - if(status == 0) - success_transactionEx(pVuser,"USS","insert Sucess."); - else{ - char str_tmp[320] = {0}; - sprintf(str_tmp,"insert:Call ret status is %d",status); - fail_transactionEx(pVuser,"USS",str_tmp); - } - printf("userId : %s; status : %d\n",userId.c_str(),status); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } -} - -void* uss_end(void *p) -{ - vuser_node_st_t *pVuser = (vuser_node_st_t*)p; - bench_t *bp = (bench_t *)pVuser->b->b; - uss_st *ap = (uss_st *)pVuser->verb; - int status = 0; - UserStaticsIPrx uss = *(ap->uss); - Ice::CommunicatorPtr ic = *(ap->ic); - - if(ic){ - try{ - ic->destroy(); - //delete(&ic); - //delete(&dbs); - }catch(const Ice::Exception& ex){ - cerr << ex << endl; - status = 1; - }catch(const char* msg){ - cerr << msg << endl; - status = 1; - } - } -} - diff --git a/features/aliww/source/vendorchkservice.cpp b/features/aliww/source/vendorchkservice.cpp deleted file mode 100644 index feb3f1d..0000000 --- a/features/aliww/source/vendorchkservice.cpp +++ /dev/null @@ -1,1095 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `vendorchkservice.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __VendorCheckService__VendorCheckInterface__checkVendor_name = "checkVendor"; - -static const ::std::string __VendorCheckService__VendorCheckInterface__checkEmployee_name = "checkEmployee"; - -static const ::std::string __VendorCheckService__VendorCheckInterface__checkMsgPass_name = "checkMsgPass"; - -static const ::std::string __VendorCheckService__VendorCheckInterface__isTaoJianghu_name = "isTaoJianghu"; - -static const ::std::string __VendorCheckService__VendorCheckInterface__isAllowP2p_name = "isAllowP2p"; - -static const ::std::string __VendorCheckService__VendorCheckInterface__isUidValidWithVersion_name = "isUidValidWithVersion"; - -void -IceInternal::incRef(::VendorCheckService::VendorCheckInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::VendorCheckService::VendorCheckInterface* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::VendorCheckService::VendorCheckInterface* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::VendorCheckService::VendorCheckInterface* p) -{ - p->__decRef(); -} - -void -VendorCheckService::__write(::IceInternal::BasicStream* __os, const ::VendorCheckService::VendorCheckInterfacePrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -VendorCheckService::__read(::IceInternal::BasicStream* __is, ::VendorCheckService::VendorCheckInterfacePrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::VendorCheckService::VendorCheckInterface; - v->__copyFrom(proxy); - } -} - -void -VendorCheckService::__write(::IceInternal::BasicStream* __os, const ::VendorCheckService::VendorCheckInterfacePtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -void -VendorCheckService::__addObject(const VendorCheckInterfacePtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -VendorCheckService::__usesClasses(const VendorCheckInterfacePtr& p) -{ - return p->__usesClasses(); -} - -void -VendorCheckService::__decRefUnsafe(const VendorCheckInterfacePtr& p) -{ - p->__decRefUnsafe(); -} - -void -VendorCheckService::__clearHandleUnsafe(VendorCheckInterfacePtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::VendorCheckService::VendorCheckInterface::checkVendor(const ::std::string& uid, ::Ice::Int& flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__VendorCheckService__VendorCheckInterface__checkVendor_name); - __delBase = __getDelegate(); - ::IceDelegate::VendorCheckService::VendorCheckInterface* __del = dynamic_cast< ::IceDelegate::VendorCheckService::VendorCheckInterface*>(__delBase.get()); - return __del->checkVendor(uid, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::VendorCheckService::VendorCheckInterface::checkEmployee(const ::std::string& uid, ::Ice::Int& flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__VendorCheckService__VendorCheckInterface__checkEmployee_name); - __delBase = __getDelegate(); - ::IceDelegate::VendorCheckService::VendorCheckInterface* __del = dynamic_cast< ::IceDelegate::VendorCheckService::VendorCheckInterface*>(__delBase.get()); - return __del->checkEmployee(uid, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::VendorCheckService::VendorCheckInterface::checkMsgPass(const ::std::string& from, const ::std::string& to, ::Ice::Int& flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__VendorCheckService__VendorCheckInterface__checkMsgPass_name); - __delBase = __getDelegate(); - ::IceDelegate::VendorCheckService::VendorCheckInterface* __del = dynamic_cast< ::IceDelegate::VendorCheckService::VendorCheckInterface*>(__delBase.get()); - return __del->checkMsgPass(from, to, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::VendorCheckService::VendorCheckInterface::isTaoJianghu(const ::std::string& uid1, const ::std::string& uid2, ::Ice::Int& flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__VendorCheckService__VendorCheckInterface__isTaoJianghu_name); - __delBase = __getDelegate(); - ::IceDelegate::VendorCheckService::VendorCheckInterface* __del = dynamic_cast< ::IceDelegate::VendorCheckService::VendorCheckInterface*>(__delBase.get()); - return __del->isTaoJianghu(uid1, uid2, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::VendorCheckService::VendorCheckInterface::isAllowP2p(const ::std::string& uid, ::Ice::Int& flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__VendorCheckService__VendorCheckInterface__isAllowP2p_name); - __delBase = __getDelegate(); - ::IceDelegate::VendorCheckService::VendorCheckInterface* __del = dynamic_cast< ::IceDelegate::VendorCheckService::VendorCheckInterface*>(__delBase.get()); - return __del->isAllowP2p(uid, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::VendorCheckService::VendorCheckInterface::isUidValidWithVersion(const ::std::string& uid, const ::std::string& version, ::Ice::Int& flag, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__VendorCheckService__VendorCheckInterface__isUidValidWithVersion_name); - __delBase = __getDelegate(); - ::IceDelegate::VendorCheckService::VendorCheckInterface* __del = dynamic_cast< ::IceDelegate::VendorCheckService::VendorCheckInterface*>(__delBase.get()); - return __del->isUidValidWithVersion(uid, version, flag, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::VendorCheckService::VendorCheckInterface::ice_staticId() -{ - return ::VendorCheckService::VendorCheckInterface::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::VendorCheckService::VendorCheckInterface::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::VendorCheckService::VendorCheckInterface); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::VendorCheckService::VendorCheckInterface::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::VendorCheckService::VendorCheckInterface); -} - -bool -IceProxy::VendorCheckService::operator==(const ::IceProxy::VendorCheckService::VendorCheckInterface& l, const ::IceProxy::VendorCheckService::VendorCheckInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::VendorCheckService::operator!=(const ::IceProxy::VendorCheckService::VendorCheckInterface& l, const ::IceProxy::VendorCheckService::VendorCheckInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::VendorCheckService::operator<(const ::IceProxy::VendorCheckService::VendorCheckInterface& l, const ::IceProxy::VendorCheckService::VendorCheckInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::VendorCheckService::operator<=(const ::IceProxy::VendorCheckService::VendorCheckInterface& l, const ::IceProxy::VendorCheckService::VendorCheckInterface& r) -{ - return l < r || l == r; -} - -bool -IceProxy::VendorCheckService::operator>(const ::IceProxy::VendorCheckService::VendorCheckInterface& l, const ::IceProxy::VendorCheckService::VendorCheckInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::VendorCheckService::operator>=(const ::IceProxy::VendorCheckService::VendorCheckInterface& l, const ::IceProxy::VendorCheckService::VendorCheckInterface& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::VendorCheckService::VendorCheckInterface::checkVendor(const ::std::string& uid, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __VendorCheckService__VendorCheckInterface__checkVendor_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(flag); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::VendorCheckService::VendorCheckInterface::checkEmployee(const ::std::string& uid, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __VendorCheckService__VendorCheckInterface__checkEmployee_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(flag); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::VendorCheckService::VendorCheckInterface::checkMsgPass(const ::std::string& from, const ::std::string& to, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __VendorCheckService__VendorCheckInterface__checkMsgPass_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(from); - __os->write(to); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(flag); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::VendorCheckService::VendorCheckInterface::isTaoJianghu(const ::std::string& uid1, const ::std::string& uid2, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __VendorCheckService__VendorCheckInterface__isTaoJianghu_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid1); - __os->write(uid2); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(flag); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::VendorCheckService::VendorCheckInterface::isAllowP2p(const ::std::string& uid, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __VendorCheckService__VendorCheckInterface__isAllowP2p_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(flag); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::VendorCheckService::VendorCheckInterface::isUidValidWithVersion(const ::std::string& uid, const ::std::string& version, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __VendorCheckService__VendorCheckInterface__isUidValidWithVersion_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(uid); - __os->write(version); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(flag); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::VendorCheckService::VendorCheckInterface::checkVendor(const ::std::string& uid, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __VendorCheckService__VendorCheckInterface__checkVendor_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::VendorCheckService::VendorCheckInterface* __servant = dynamic_cast< ::VendorCheckService::VendorCheckInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkVendor(uid, flag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::VendorCheckService::VendorCheckInterface::checkEmployee(const ::std::string& uid, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __VendorCheckService__VendorCheckInterface__checkEmployee_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::VendorCheckService::VendorCheckInterface* __servant = dynamic_cast< ::VendorCheckService::VendorCheckInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkEmployee(uid, flag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::VendorCheckService::VendorCheckInterface::checkMsgPass(const ::std::string& from, const ::std::string& to, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __VendorCheckService__VendorCheckInterface__checkMsgPass_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::VendorCheckService::VendorCheckInterface* __servant = dynamic_cast< ::VendorCheckService::VendorCheckInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->checkMsgPass(from, to, flag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::VendorCheckService::VendorCheckInterface::isTaoJianghu(const ::std::string& uid1, const ::std::string& uid2, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __VendorCheckService__VendorCheckInterface__isTaoJianghu_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::VendorCheckService::VendorCheckInterface* __servant = dynamic_cast< ::VendorCheckService::VendorCheckInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->isTaoJianghu(uid1, uid2, flag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::VendorCheckService::VendorCheckInterface::isAllowP2p(const ::std::string& uid, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __VendorCheckService__VendorCheckInterface__isAllowP2p_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::VendorCheckService::VendorCheckInterface* __servant = dynamic_cast< ::VendorCheckService::VendorCheckInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->isAllowP2p(uid, flag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::VendorCheckService::VendorCheckInterface::isUidValidWithVersion(const ::std::string& uid, const ::std::string& version, ::Ice::Int& flag, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __VendorCheckService__VendorCheckInterface__isUidValidWithVersion_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::VendorCheckService::VendorCheckInterface* __servant = dynamic_cast< ::VendorCheckService::VendorCheckInterface*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->isUidValidWithVersion(uid, version, flag, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -VendorCheckService::VendorCheckInterface::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __VendorCheckService__VendorCheckInterface_ids[2] = -{ - "::Ice::Object", - "::VendorCheckService::VendorCheckInterface" -}; - -bool -VendorCheckService::VendorCheckInterface::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__VendorCheckService__VendorCheckInterface_ids, __VendorCheckService__VendorCheckInterface_ids + 2, _s); -} - -::std::vector< ::std::string> -VendorCheckService::VendorCheckInterface::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__VendorCheckService__VendorCheckInterface_ids[0], &__VendorCheckService__VendorCheckInterface_ids[2]); -} - -const ::std::string& -VendorCheckService::VendorCheckInterface::ice_id(const ::Ice::Current&) const -{ - return __VendorCheckService__VendorCheckInterface_ids[1]; -} - -const ::std::string& -VendorCheckService::VendorCheckInterface::ice_staticId() -{ - return __VendorCheckService__VendorCheckInterface_ids[1]; -} - -::IceInternal::DispatchStatus -VendorCheckService::VendorCheckInterface::___checkVendor(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::Int flag; - ::Ice::Int __ret = checkVendor(uid, flag, __current); - __os->write(flag); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -VendorCheckService::VendorCheckInterface::___checkEmployee(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::Int flag; - ::Ice::Int __ret = checkEmployee(uid, flag, __current); - __os->write(flag); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -VendorCheckService::VendorCheckInterface::___checkMsgPass(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string from; - ::std::string to; - __is->read(from); - __is->read(to); - ::Ice::Int flag; - ::Ice::Int __ret = checkMsgPass(from, to, flag, __current); - __os->write(flag); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -VendorCheckService::VendorCheckInterface::___isTaoJianghu(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid1; - ::std::string uid2; - __is->read(uid1); - __is->read(uid2); - ::Ice::Int flag; - ::Ice::Int __ret = isTaoJianghu(uid1, uid2, flag, __current); - __os->write(flag); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -VendorCheckService::VendorCheckInterface::___isAllowP2p(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - __is->read(uid); - ::Ice::Int flag; - ::Ice::Int __ret = isAllowP2p(uid, flag, __current); - __os->write(flag); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -VendorCheckService::VendorCheckInterface::___isUidValidWithVersion(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string uid; - ::std::string version; - __is->read(uid); - __is->read(version); - ::Ice::Int flag; - ::Ice::Int __ret = isUidValidWithVersion(uid, version, flag, __current); - __os->write(flag); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __VendorCheckService__VendorCheckInterface_all[] = -{ - "checkEmployee", - "checkMsgPass", - "checkVendor", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping", - "isAllowP2p", - "isTaoJianghu", - "isUidValidWithVersion" -}; - -::IceInternal::DispatchStatus -VendorCheckService::VendorCheckInterface::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__VendorCheckService__VendorCheckInterface_all, __VendorCheckService__VendorCheckInterface_all + 10, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __VendorCheckService__VendorCheckInterface_all) - { - case 0: - { - return ___checkEmployee(in, current); - } - case 1: - { - return ___checkMsgPass(in, current); - } - case 2: - { - return ___checkVendor(in, current); - } - case 3: - { - return ___ice_id(in, current); - } - case 4: - { - return ___ice_ids(in, current); - } - case 5: - { - return ___ice_isA(in, current); - } - case 6: - { - return ___ice_ping(in, current); - } - case 7: - { - return ___isAllowP2p(in, current); - } - case 8: - { - return ___isTaoJianghu(in, current); - } - case 9: - { - return ___isUidValidWithVersion(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -VendorCheckService::VendorCheckInterface::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -VendorCheckService::VendorCheckInterface::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -VendorCheckService::VendorCheckInterface::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type VendorCheckService::VendorCheckInterface was not generated with stream support"; - throw ex; -} - -void -VendorCheckService::VendorCheckInterface::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type VendorCheckService::VendorCheckInterface was not generated with stream support"; - throw ex; -} - -void -VendorCheckService::__patch__VendorCheckInterfacePtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::VendorCheckService::VendorCheckInterfacePtr* p = static_cast< ::VendorCheckService::VendorCheckInterfacePtr*>(__addr); - assert(p); - *p = ::VendorCheckService::VendorCheckInterfacePtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::VendorCheckService::VendorCheckInterface::ice_staticId(); - throw e; - } -} - -bool -VendorCheckService::operator==(const ::VendorCheckService::VendorCheckInterface& l, const ::VendorCheckService::VendorCheckInterface& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -VendorCheckService::operator!=(const ::VendorCheckService::VendorCheckInterface& l, const ::VendorCheckService::VendorCheckInterface& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -VendorCheckService::operator<(const ::VendorCheckService::VendorCheckInterface& l, const ::VendorCheckService::VendorCheckInterface& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -VendorCheckService::operator<=(const ::VendorCheckService::VendorCheckInterface& l, const ::VendorCheckService::VendorCheckInterface& r) -{ - return l < r || l == r; -} - -bool -VendorCheckService::operator>(const ::VendorCheckService::VendorCheckInterface& l, const ::VendorCheckService::VendorCheckInterface& r) -{ - return !(l < r) && !(l == r); -} - -bool -VendorCheckService::operator>=(const ::VendorCheckService::VendorCheckInterface& l, const ::VendorCheckService::VendorCheckInterface& r) -{ - return !(l < r); -} diff --git a/features/aliww/source/webtcserv.cpp b/features/aliww/source/webtcserv.cpp deleted file mode 100644 index f7f126d..0000000 --- a/features/aliww/source/webtcserv.cpp +++ /dev/null @@ -1,2292 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -// Ice version 3.2.1 -// Generated from file `webtcserv.ice' - -#include -#include -#include -#include -#include -#include -#include - -#ifndef ICE_IGNORE_VERSION -# if ICE_INT_VERSION / 100 != 302 -# error Ice version mismatch! -# endif -# if ICE_INT_VERSION % 100 > 50 -# error Beta header file detected -# endif -# if ICE_INT_VERSION % 100 < 1 -# error Ice patch level mismatch! -# endif -#endif - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__GetUserTribe_name = "GetUserTribe"; - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__AddUserTribes_name = "AddUserTribes"; - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__AddUserTribe_name = "AddUserTribe"; - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__DelUserTribe_name = "DelUserTribe"; - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__ChgUserTribe_name = "ChgUserTribe"; - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__UpdateTribe_name = "UpdateTribe"; - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__RemoveTribe_name = "RemoveTribe"; - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__AddWebTribeGroup_name = "AddWebTribeGroup"; - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__ChgWebTribeGroupName_name = "ChgWebTribeGroupName"; - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__DelWebTribeGroup_name = "DelWebTribeGroup"; - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__GetWebTribeGroup_name = "GetWebTribeGroup"; - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__GetServiceWebGroup_name = "GetServiceWebGroup"; - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr__GetUserWebGroup_name = "GetUserWebGroup"; - -void -IceInternal::incRef(::WebTribeCacheService::WebTCSrvMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::WebTribeCacheService::WebTCSrvMgr* p) -{ - p->__decRef(); -} - -void -IceInternal::incRef(::IceProxy::WebTribeCacheService::WebTCSrvMgr* p) -{ - p->__incRef(); -} - -void -IceInternal::decRef(::IceProxy::WebTribeCacheService::WebTCSrvMgr* p) -{ - p->__decRef(); -} - -void -WebTribeCacheService::__write(::IceInternal::BasicStream* __os, const ::WebTribeCacheService::WebTCSrvMgrPrx& v) -{ - __os->write(::Ice::ObjectPrx(v)); -} - -void -WebTribeCacheService::__read(::IceInternal::BasicStream* __is, ::WebTribeCacheService::WebTCSrvMgrPrx& v) -{ - ::Ice::ObjectPrx proxy; - __is->read(proxy); - if(!proxy) - { - v = 0; - } - else - { - v = new ::IceProxy::WebTribeCacheService::WebTCSrvMgr; - v->__copyFrom(proxy); - } -} - -void -WebTribeCacheService::__write(::IceInternal::BasicStream* __os, const ::WebTribeCacheService::WebTCSrvMgrPtr& v) -{ - __os->write(::Ice::ObjectPtr(v)); -} - -bool -WebTribeCacheService::SWebTribeInfo::operator==(const SWebTribeInfo& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -WebTribeCacheService::SWebTribeInfo::operator!=(const SWebTribeInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId != __rhs.tribeId) - { - return true; - } - if(name != __rhs.name) - { - return true; - } - if(tribeLevel != __rhs.tribeLevel) - { - return true; - } - if(tribeStatus != __rhs.tribeStatus) - { - return true; - } - if(extSign != __rhs.extSign) - { - return true; - } - if(groupStamp != __rhs.groupStamp) - { - return true; - } - if(openTribe != __rhs.openTribe) - { - return true; - } - if(groupId != __rhs.groupId) - { - return true; - } - return false; -} - -bool -WebTribeCacheService::SWebTribeInfo::operator<(const SWebTribeInfo& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(tribeId < __rhs.tribeId) - { - return true; - } - else if(__rhs.tribeId < tribeId) - { - return false; - } - if(name < __rhs.name) - { - return true; - } - else if(__rhs.name < name) - { - return false; - } - if(tribeLevel < __rhs.tribeLevel) - { - return true; - } - else if(__rhs.tribeLevel < tribeLevel) - { - return false; - } - if(tribeStatus < __rhs.tribeStatus) - { - return true; - } - else if(__rhs.tribeStatus < tribeStatus) - { - return false; - } - if(extSign < __rhs.extSign) - { - return true; - } - else if(__rhs.extSign < extSign) - { - return false; - } - if(groupStamp < __rhs.groupStamp) - { - return true; - } - else if(__rhs.groupStamp < groupStamp) - { - return false; - } - if(openTribe < __rhs.openTribe) - { - return true; - } - else if(__rhs.openTribe < openTribe) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - return false; -} - -void -WebTribeCacheService::SWebTribeInfo::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(tribeId); - __os->write(name); - __os->write(tribeLevel); - __os->write(tribeStatus); - __os->write(extSign); - __os->write(groupStamp); - __os->write(openTribe); - __os->write(groupId); -} - -void -WebTribeCacheService::SWebTribeInfo::__read(::IceInternal::BasicStream* __is) -{ - __is->read(tribeId); - __is->read(name); - __is->read(tribeLevel); - __is->read(tribeStatus); - __is->read(extSign); - __is->read(groupStamp); - __is->read(openTribe); - __is->read(groupId); -} - -void -WebTribeCacheService::__write(::IceInternal::BasicStream* __os, const ::WebTribeCacheService::SWebTribeInfo* begin, const ::WebTribeCacheService::SWebTribeInfo* end, ::WebTribeCacheService::__U__SWebTribeInfoSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -WebTribeCacheService::__read(::IceInternal::BasicStream* __is, ::WebTribeCacheService::SWebTribeInfoSeq& v, ::WebTribeCacheService::__U__SWebTribeInfoSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 28); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -bool -WebTribeCacheService::SWebTribeGroup::operator==(const SWebTribeGroup& __rhs) const -{ - return !operator!=(__rhs); -} - -bool -WebTribeCacheService::SWebTribeGroup::operator!=(const SWebTribeGroup& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupId != __rhs.groupId) - { - return true; - } - if(groupName != __rhs.groupName) - { - return true; - } - if(serviceId != __rhs.serviceId) - { - return true; - } - if(siteId != __rhs.siteId) - { - return true; - } - if(webId != __rhs.webId) - { - return true; - } - return false; -} - -bool -WebTribeCacheService::SWebTribeGroup::operator<(const SWebTribeGroup& __rhs) const -{ - if(this == &__rhs) - { - return false; - } - if(groupId < __rhs.groupId) - { - return true; - } - else if(__rhs.groupId < groupId) - { - return false; - } - if(groupName < __rhs.groupName) - { - return true; - } - else if(__rhs.groupName < groupName) - { - return false; - } - if(serviceId < __rhs.serviceId) - { - return true; - } - else if(__rhs.serviceId < serviceId) - { - return false; - } - if(siteId < __rhs.siteId) - { - return true; - } - else if(__rhs.siteId < siteId) - { - return false; - } - if(webId < __rhs.webId) - { - return true; - } - else if(__rhs.webId < webId) - { - return false; - } - return false; -} - -void -WebTribeCacheService::SWebTribeGroup::__write(::IceInternal::BasicStream* __os) const -{ - __os->write(groupId); - __os->write(groupName); - __os->write(serviceId); - __os->write(siteId); - __os->write(webId); -} - -void -WebTribeCacheService::SWebTribeGroup::__read(::IceInternal::BasicStream* __is) -{ - __is->read(groupId); - __is->read(groupName); - __is->read(serviceId); - __is->read(siteId); - __is->read(webId); -} - -void -WebTribeCacheService::__write(::IceInternal::BasicStream* __os, const ::WebTribeCacheService::SWebTribeGroup* begin, const ::WebTribeCacheService::SWebTribeGroup* end, ::WebTribeCacheService::__U__SWebTribeGroupSeq) -{ - ::Ice::Int size = static_cast< ::Ice::Int>(end - begin); - __os->writeSize(size); - for(int i = 0; i < size; ++i) - { - begin[i].__write(__os); - } -} - -void -WebTribeCacheService::__read(::IceInternal::BasicStream* __is, ::WebTribeCacheService::SWebTribeGroupSeq& v, ::WebTribeCacheService::__U__SWebTribeGroupSeq) -{ - ::Ice::Int sz; - __is->readSize(sz); - __is->startSeq(sz, 12); - v.resize(sz); - for(int i = 0; i < sz; ++i) - { - v[i].__read(__is); - __is->checkSeq(); - __is->endElement(); - } - __is->endSeq(sz); -} - -void -WebTribeCacheService::__addObject(const WebTCSrvMgrPtr& p, ::IceInternal::GCCountMap& c) -{ - p->__addObject(c); -} - -bool -WebTribeCacheService::__usesClasses(const WebTCSrvMgrPtr& p) -{ - return p->__usesClasses(); -} - -void -WebTribeCacheService::__decRefUnsafe(const WebTCSrvMgrPtr& p) -{ - p->__decRefUnsafe(); -} - -void -WebTribeCacheService::__clearHandleUnsafe(WebTCSrvMgrPtr& p) -{ - p.__clearHandleUnsafe(); -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::GetUserTribe(const ::std::string& userId, ::WebTribeCacheService::SWebTribeInfoSeq& tribeList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__GetUserTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->GetUserTribe(userId, tribeList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::AddUserTribes(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfoSeq& tribeList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__AddUserTribes_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->AddUserTribes(userId, tribeList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::AddUserTribe(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfo& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__AddUserTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->AddUserTribe(userId, tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::DelUserTribe(const ::std::string& userId, ::Ice::Long tribeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__DelUserTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->DelUserTribe(userId, tribeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::ChgUserTribe(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfo& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__ChgUserTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->ChgUserTribe(userId, tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::UpdateTribe(const ::WebTribeCacheService::SWebTribeInfo& tribeInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__UpdateTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->UpdateTribe(tribeInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::RemoveTribe(::Ice::Long tribeId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__RemoveTribe_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->RemoveTribe(tribeId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::AddWebTribeGroup(const ::WebTribeCacheService::SWebTribeGroup& webGroup, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__AddWebTribeGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->AddWebTribeGroup(webGroup, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::ChgWebTribeGroupName(::Ice::Long groupId, const ::std::string& groupName, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__ChgWebTribeGroupName_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->ChgWebTribeGroupName(groupId, groupName, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::DelWebTribeGroup(::Ice::Long groupId, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__DelWebTribeGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->DelWebTribeGroup(groupId, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::GetWebTribeGroup(::Ice::Long groupId, ::WebTribeCacheService::SWebTribeGroup& groupInfo, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__GetWebTribeGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->GetWebTribeGroup(groupId, groupInfo, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::GetServiceWebGroup(const ::Ice::StringSeq& webServices, ::WebTribeCacheService::SWebTribeGroupSeq& groupList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__GetServiceWebGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->GetServiceWebGroup(webServices, groupList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -::Ice::Int -IceProxy::WebTribeCacheService::WebTCSrvMgr::GetUserWebGroup(const ::std::string& userId, ::WebTribeCacheService::SWebTribeGroupSeq& groupList, const ::Ice::Context* __ctx) -{ - int __cnt = 0; - while(true) - { - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase; - try - { - __checkTwowayOnly(__WebTribeCacheService__WebTCSrvMgr__GetUserWebGroup_name); - __delBase = __getDelegate(); - ::IceDelegate::WebTribeCacheService::WebTCSrvMgr* __del = dynamic_cast< ::IceDelegate::WebTribeCacheService::WebTCSrvMgr*>(__delBase.get()); - return __del->GetUserWebGroup(userId, groupList, __ctx); - } - catch(const ::IceInternal::LocalExceptionWrapper& __ex) - { - __handleExceptionWrapper(__delBase, __ex); - } - catch(const ::Ice::LocalException& __ex) - { - __handleException(__delBase, __ex, __cnt); - } - } -} - -const ::std::string& -IceProxy::WebTribeCacheService::WebTCSrvMgr::ice_staticId() -{ - return ::WebTribeCacheService::WebTCSrvMgr::ice_staticId(); -} - -::IceInternal::Handle< ::IceDelegateM::Ice::Object> -IceProxy::WebTribeCacheService::WebTCSrvMgr::__createDelegateM() -{ - return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM::WebTribeCacheService::WebTCSrvMgr); -} - -::IceInternal::Handle< ::IceDelegateD::Ice::Object> -IceProxy::WebTribeCacheService::WebTCSrvMgr::__createDelegateD() -{ - return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD::WebTribeCacheService::WebTCSrvMgr); -} - -bool -IceProxy::WebTribeCacheService::operator==(const ::IceProxy::WebTribeCacheService::WebTCSrvMgr& l, const ::IceProxy::WebTribeCacheService::WebTCSrvMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -IceProxy::WebTribeCacheService::operator!=(const ::IceProxy::WebTribeCacheService::WebTCSrvMgr& l, const ::IceProxy::WebTribeCacheService::WebTCSrvMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -IceProxy::WebTribeCacheService::operator<(const ::IceProxy::WebTribeCacheService::WebTCSrvMgr& l, const ::IceProxy::WebTribeCacheService::WebTCSrvMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -IceProxy::WebTribeCacheService::operator<=(const ::IceProxy::WebTribeCacheService::WebTCSrvMgr& l, const ::IceProxy::WebTribeCacheService::WebTCSrvMgr& r) -{ - return l < r || l == r; -} - -bool -IceProxy::WebTribeCacheService::operator>(const ::IceProxy::WebTribeCacheService::WebTCSrvMgr& l, const ::IceProxy::WebTribeCacheService::WebTCSrvMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -IceProxy::WebTribeCacheService::operator>=(const ::IceProxy::WebTribeCacheService::WebTCSrvMgr& l, const ::IceProxy::WebTribeCacheService::WebTCSrvMgr& r) -{ - return !(l < r); -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::GetUserTribe(const ::std::string& userId, ::WebTribeCacheService::SWebTribeInfoSeq& tribeList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__GetUserTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::WebTribeCacheService::__read(__is, tribeList, ::WebTribeCacheService::__U__SWebTribeInfoSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::AddUserTribes(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfoSeq& tribeList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__AddUserTribes_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - if(tribeList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::WebTribeCacheService::__write(__os, &tribeList[0], &tribeList[0] + tribeList.size(), ::WebTribeCacheService::__U__SWebTribeInfoSeq()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::AddUserTribe(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__AddUserTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::DelUserTribe(const ::std::string& userId, ::Ice::Long tribeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__DelUserTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::ChgUserTribe(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__ChgUserTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::UpdateTribe(const ::WebTribeCacheService::SWebTribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__UpdateTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - tribeInfo.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::RemoveTribe(::Ice::Long tribeId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__RemoveTribe_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(tribeId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::AddWebTribeGroup(const ::WebTribeCacheService::SWebTribeGroup& webGroup, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__AddWebTribeGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - webGroup.__write(__os); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::ChgWebTribeGroupName(::Ice::Long groupId, const ::std::string& groupName, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__ChgWebTribeGroupName_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(groupId); - __os->write(groupName); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::DelWebTribeGroup(::Ice::Long groupId, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__DelWebTribeGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::GetWebTribeGroup(::Ice::Long groupId, ::WebTribeCacheService::SWebTribeGroup& groupInfo, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__GetWebTribeGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(groupId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - groupInfo.__read(__is); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::GetServiceWebGroup(const ::Ice::StringSeq& webServices, ::WebTribeCacheService::SWebTribeGroupSeq& groupList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__GetServiceWebGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - if(webServices.size() == 0) - { - __os->writeSize(0); - } - else - { - __os->write(&webServices[0], &webServices[0] + webServices.size()); - } - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::WebTribeCacheService::__read(__is, groupList, ::WebTribeCacheService::__U__SWebTribeGroupSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateM::WebTribeCacheService::WebTCSrvMgr::GetUserWebGroup(const ::std::string& userId, ::WebTribeCacheService::SWebTribeGroupSeq& groupList, const ::Ice::Context* __context) -{ - ::IceInternal::Outgoing __og(__connection.get(), __reference.get(), __WebTribeCacheService__WebTCSrvMgr__GetUserWebGroup_name, ::Ice::Normal, __context, __compress); - try - { - ::IceInternal::BasicStream* __os = __og.os(); - __os->write(userId); - } - catch(const ::Ice::LocalException& __ex) - { - __og.abort(__ex); - } - bool __ok = __og.invoke(); - try - { - ::IceInternal::BasicStream* __is = __og.is(); - if(!__ok) - { - try - { - __is->throwException(); - } - catch(const ::Ice::UserException& __ex) - { - throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name()); - } - } - ::Ice::Int __ret; - ::WebTribeCacheService::__read(__is, groupList, ::WebTribeCacheService::__U__SWebTribeGroupSeq()); - __is->read(__ret); - return __ret; - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::GetUserTribe(const ::std::string& userId, ::WebTribeCacheService::SWebTribeInfoSeq& tribeList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__GetUserTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUserTribe(userId, tribeList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::AddUserTribes(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfoSeq& tribeList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__AddUserTribes_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddUserTribes(userId, tribeList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::AddUserTribe(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__AddUserTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddUserTribe(userId, tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::DelUserTribe(const ::std::string& userId, ::Ice::Long tribeId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__DelUserTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DelUserTribe(userId, tribeId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::ChgUserTribe(const ::std::string& userId, const ::WebTribeCacheService::SWebTribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__ChgUserTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->ChgUserTribe(userId, tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::UpdateTribe(const ::WebTribeCacheService::SWebTribeInfo& tribeInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__UpdateTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->UpdateTribe(tribeInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::RemoveTribe(::Ice::Long tribeId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__RemoveTribe_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->RemoveTribe(tribeId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::AddWebTribeGroup(const ::WebTribeCacheService::SWebTribeGroup& webGroup, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__AddWebTribeGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->AddWebTribeGroup(webGroup, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::ChgWebTribeGroupName(::Ice::Long groupId, const ::std::string& groupName, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__ChgWebTribeGroupName_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->ChgWebTribeGroupName(groupId, groupName, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::DelWebTribeGroup(::Ice::Long groupId, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__DelWebTribeGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->DelWebTribeGroup(groupId, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::GetWebTribeGroup(::Ice::Long groupId, ::WebTribeCacheService::SWebTribeGroup& groupInfo, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__GetWebTribeGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetWebTribeGroup(groupId, groupInfo, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::GetServiceWebGroup(const ::Ice::StringSeq& webServices, ::WebTribeCacheService::SWebTribeGroupSeq& groupList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__GetServiceWebGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetServiceWebGroup(webServices, groupList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::Int -IceDelegateD::WebTribeCacheService::WebTCSrvMgr::GetUserWebGroup(const ::std::string& userId, ::WebTribeCacheService::SWebTribeGroupSeq& groupList, const ::Ice::Context* __context) -{ - ::Ice::Current __current; - __initCurrent(__current, __WebTribeCacheService__WebTCSrvMgr__GetUserWebGroup_name, ::Ice::Normal, __context); - while(true) - { - ::IceInternal::Direct __direct(__current); - ::Ice::Int __ret; - try - { - ::WebTribeCacheService::WebTCSrvMgr* __servant = dynamic_cast< ::WebTribeCacheService::WebTCSrvMgr*>(__direct.servant().get()); - if(!__servant) - { - ::Ice::OperationNotExistException __opEx(__FILE__, __LINE__); - __opEx.id = __current.id; - __opEx.facet = __current.facet; - __opEx.operation = __current.operation; - throw __opEx; - } - try - { - __ret = __servant->GetUserWebGroup(userId, groupList, __current); - } - catch(const ::Ice::LocalException& __ex) - { - throw ::IceInternal::LocalExceptionWrapper(__ex, false); - } - } - catch(...) - { - __direct.destroy(); - throw; - } - __direct.destroy(); - return __ret; - } -} - -::Ice::ObjectPtr -WebTribeCacheService::WebTCSrvMgr::ice_clone() const -{ - throw ::Ice::CloneNotImplementedException(__FILE__, __LINE__); - return 0; // to avoid a warning with some compilers -} - -static const ::std::string __WebTribeCacheService__WebTCSrvMgr_ids[2] = -{ - "::Ice::Object", - "::WebTribeCacheService::WebTCSrvMgr" -}; - -bool -WebTribeCacheService::WebTCSrvMgr::ice_isA(const ::std::string& _s, const ::Ice::Current&) const -{ - return ::std::binary_search(__WebTribeCacheService__WebTCSrvMgr_ids, __WebTribeCacheService__WebTCSrvMgr_ids + 2, _s); -} - -::std::vector< ::std::string> -WebTribeCacheService::WebTCSrvMgr::ice_ids(const ::Ice::Current&) const -{ - return ::std::vector< ::std::string>(&__WebTribeCacheService__WebTCSrvMgr_ids[0], &__WebTribeCacheService__WebTCSrvMgr_ids[2]); -} - -const ::std::string& -WebTribeCacheService::WebTCSrvMgr::ice_id(const ::Ice::Current&) const -{ - return __WebTribeCacheService__WebTCSrvMgr_ids[1]; -} - -const ::std::string& -WebTribeCacheService::WebTCSrvMgr::ice_staticId() -{ - return __WebTribeCacheService__WebTCSrvMgr_ids[1]; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___GetUserTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::WebTribeCacheService::SWebTribeInfoSeq tribeList; - ::Ice::Int __ret = GetUserTribe(userId, tribeList, __current); - if(tribeList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::WebTribeCacheService::__write(__os, &tribeList[0], &tribeList[0] + tribeList.size(), ::WebTribeCacheService::__U__SWebTribeInfoSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___AddUserTribes(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::WebTribeCacheService::SWebTribeInfoSeq tribeList; - __is->read(userId); - ::WebTribeCacheService::__read(__is, tribeList, ::WebTribeCacheService::__U__SWebTribeInfoSeq()); - ::Ice::Int __ret = AddUserTribes(userId, tribeList, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___AddUserTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::WebTribeCacheService::SWebTribeInfo tribeInfo; - __is->read(userId); - tribeInfo.__read(__is); - ::Ice::Int __ret = AddUserTribe(userId, tribeInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___DelUserTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::Ice::Long tribeId; - __is->read(userId); - __is->read(tribeId); - ::Ice::Int __ret = DelUserTribe(userId, tribeId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___ChgUserTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - ::WebTribeCacheService::SWebTribeInfo tribeInfo; - __is->read(userId); - tribeInfo.__read(__is); - ::Ice::Int __ret = ChgUserTribe(userId, tribeInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___UpdateTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::WebTribeCacheService::SWebTribeInfo tribeInfo; - tribeInfo.__read(__is); - ::Ice::Int __ret = UpdateTribe(tribeInfo, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___RemoveTribe(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long tribeId; - __is->read(tribeId); - ::Ice::Int __ret = RemoveTribe(tribeId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___AddWebTribeGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::WebTribeCacheService::SWebTribeGroup webGroup; - webGroup.__read(__is); - ::Ice::Int __ret = AddWebTribeGroup(webGroup, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___ChgWebTribeGroupName(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long groupId; - ::std::string groupName; - __is->read(groupId); - __is->read(groupName); - ::Ice::Int __ret = ChgWebTribeGroupName(groupId, groupName, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___DelWebTribeGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long groupId; - __is->read(groupId); - ::Ice::Int __ret = DelWebTribeGroup(groupId, __current); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___GetWebTribeGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::Long groupId; - __is->read(groupId); - ::WebTribeCacheService::SWebTribeGroup groupInfo; - ::Ice::Int __ret = GetWebTribeGroup(groupId, groupInfo, __current); - groupInfo.__write(__os); - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___GetServiceWebGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::Ice::StringSeq webServices; - __is->read(webServices); - ::WebTribeCacheService::SWebTribeGroupSeq groupList; - ::Ice::Int __ret = GetServiceWebGroup(webServices, groupList, __current); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::WebTribeCacheService::__write(__os, &groupList[0], &groupList[0] + groupList.size(), ::WebTribeCacheService::__U__SWebTribeGroupSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::___GetUserWebGroup(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) -{ - __checkMode(::Ice::Normal, __current.mode); - ::IceInternal::BasicStream* __is = __inS.is(); - ::IceInternal::BasicStream* __os = __inS.os(); - ::std::string userId; - __is->read(userId); - ::WebTribeCacheService::SWebTribeGroupSeq groupList; - ::Ice::Int __ret = GetUserWebGroup(userId, groupList, __current); - if(groupList.size() == 0) - { - __os->writeSize(0); - } - else - { - ::WebTribeCacheService::__write(__os, &groupList[0], &groupList[0] + groupList.size(), ::WebTribeCacheService::__U__SWebTribeGroupSeq()); - } - __os->write(__ret); - return ::IceInternal::DispatchOK; -} - -static ::std::string __WebTribeCacheService__WebTCSrvMgr_all[] = -{ - "AddUserTribe", - "AddUserTribes", - "AddWebTribeGroup", - "ChgUserTribe", - "ChgWebTribeGroupName", - "DelUserTribe", - "DelWebTribeGroup", - "GetServiceWebGroup", - "GetUserTribe", - "GetUserWebGroup", - "GetWebTribeGroup", - "RemoveTribe", - "UpdateTribe", - "ice_id", - "ice_ids", - "ice_isA", - "ice_ping" -}; - -::IceInternal::DispatchStatus -WebTribeCacheService::WebTCSrvMgr::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current) -{ - ::std::pair< ::std::string*, ::std::string*> r = ::std::equal_range(__WebTribeCacheService__WebTCSrvMgr_all, __WebTribeCacheService__WebTCSrvMgr_all + 17, current.operation); - if(r.first == r.second) - { - return ::IceInternal::DispatchOperationNotExist; - } - - switch(r.first - __WebTribeCacheService__WebTCSrvMgr_all) - { - case 0: - { - return ___AddUserTribe(in, current); - } - case 1: - { - return ___AddUserTribes(in, current); - } - case 2: - { - return ___AddWebTribeGroup(in, current); - } - case 3: - { - return ___ChgUserTribe(in, current); - } - case 4: - { - return ___ChgWebTribeGroupName(in, current); - } - case 5: - { - return ___DelUserTribe(in, current); - } - case 6: - { - return ___DelWebTribeGroup(in, current); - } - case 7: - { - return ___GetServiceWebGroup(in, current); - } - case 8: - { - return ___GetUserTribe(in, current); - } - case 9: - { - return ___GetUserWebGroup(in, current); - } - case 10: - { - return ___GetWebTribeGroup(in, current); - } - case 11: - { - return ___RemoveTribe(in, current); - } - case 12: - { - return ___UpdateTribe(in, current); - } - case 13: - { - return ___ice_id(in, current); - } - case 14: - { - return ___ice_ids(in, current); - } - case 15: - { - return ___ice_isA(in, current); - } - case 16: - { - return ___ice_ping(in, current); - } - } - - assert(false); - return ::IceInternal::DispatchOperationNotExist; -} - -void -WebTribeCacheService::WebTCSrvMgr::__write(::IceInternal::BasicStream* __os) const -{ - __os->writeTypeId(ice_staticId()); - __os->startWriteSlice(); - __os->endWriteSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__write(__os); -#else - ::Ice::Object::__write(__os); -#endif -} - -void -WebTribeCacheService::WebTCSrvMgr::__read(::IceInternal::BasicStream* __is, bool __rid) -{ - if(__rid) - { - ::std::string myId; - __is->readTypeId(myId); - } - __is->startReadSlice(); - __is->endReadSlice(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug - Object::__read(__is, true); -#else - ::Ice::Object::__read(__is, true); -#endif -} - -void -WebTribeCacheService::WebTCSrvMgr::__write(const ::Ice::OutputStreamPtr&) const -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type WebTribeCacheService::WebTCSrvMgr was not generated with stream support"; - throw ex; -} - -void -WebTribeCacheService::WebTCSrvMgr::__read(const ::Ice::InputStreamPtr&, bool) -{ - Ice::MarshalException ex(__FILE__, __LINE__); - ex.reason = "type WebTribeCacheService::WebTCSrvMgr was not generated with stream support"; - throw ex; -} - -void -WebTribeCacheService::__patch__WebTCSrvMgrPtr(void* __addr, ::Ice::ObjectPtr& v) -{ - ::WebTribeCacheService::WebTCSrvMgrPtr* p = static_cast< ::WebTribeCacheService::WebTCSrvMgrPtr*>(__addr); - assert(p); - *p = ::WebTribeCacheService::WebTCSrvMgrPtr::dynamicCast(v); - if(v && !*p) - { - ::Ice::UnexpectedObjectException e(__FILE__, __LINE__); - e.type = v->ice_id(); - e.expectedType = ::WebTribeCacheService::WebTCSrvMgr::ice_staticId(); - throw e; - } -} - -bool -WebTribeCacheService::operator==(const ::WebTribeCacheService::WebTCSrvMgr& l, const ::WebTribeCacheService::WebTCSrvMgr& r) -{ - return static_cast(l) == static_cast(r); -} - -bool -WebTribeCacheService::operator!=(const ::WebTribeCacheService::WebTCSrvMgr& l, const ::WebTribeCacheService::WebTCSrvMgr& r) -{ - return static_cast(l) != static_cast(r); -} - -bool -WebTribeCacheService::operator<(const ::WebTribeCacheService::WebTCSrvMgr& l, const ::WebTribeCacheService::WebTCSrvMgr& r) -{ - return static_cast(l) < static_cast(r); -} - -bool -WebTribeCacheService::operator<=(const ::WebTribeCacheService::WebTCSrvMgr& l, const ::WebTribeCacheService::WebTCSrvMgr& r) -{ - return l < r || l == r; -} - -bool -WebTribeCacheService::operator>(const ::WebTribeCacheService::WebTCSrvMgr& l, const ::WebTribeCacheService::WebTCSrvMgr& r) -{ - return !(l < r) && !(l == r); -} - -bool -WebTribeCacheService::operator>=(const ::WebTribeCacheService::WebTCSrvMgr& l, const ::WebTribeCacheService::WebTCSrvMgr& r) -{ - return !(l < r); -} diff --git a/features/smtp/lib/libsmtp---0.1.0/.cproject b/features/smtp/lib/libsmtp---0.1.0/.cproject deleted file mode 100644 index 418b8ba..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/.cproject +++ /dev/null @@ -1,210 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/features/smtp/lib/libsmtp---0.1.0/.project b/features/smtp/lib/libsmtp---0.1.0/.project deleted file mode 100644 index e47f579..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/.project +++ /dev/null @@ -1,79 +0,0 @@ - - - libsmtp---0.1.0 - - - - - - org.eclipse.cdt.managedbuilder.core.genmakebuilder - clean,full,incremental, - - - ?name? - - - - org.eclipse.cdt.make.core.append_environment - true - - - org.eclipse.cdt.make.core.autoBuildTarget - all - - - org.eclipse.cdt.make.core.buildArguments - - - - org.eclipse.cdt.make.core.buildCommand - make - - - org.eclipse.cdt.make.core.cleanBuildTarget - clean - - - org.eclipse.cdt.make.core.contents - org.eclipse.cdt.make.core.activeConfigSettings - - - org.eclipse.cdt.make.core.enableAutoBuild - false - - - org.eclipse.cdt.make.core.enableCleanBuild - true - - - org.eclipse.cdt.make.core.enableFullBuild - true - - - org.eclipse.cdt.make.core.fullBuildTarget - all - - - org.eclipse.cdt.make.core.stopOnError - true - - - org.eclipse.cdt.make.core.useDefaultBuildCmd - true - - - - - org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder - full,incremental, - - - - - - org.eclipse.cdt.core.cnature - org.eclipse.cdt.core.ccnature - org.eclipse.cdt.managedbuilder.core.managedBuildNature - org.eclipse.cdt.managedbuilder.core.ScannerConfigNature - - diff --git a/features/smtp/lib/libsmtp---0.1.0/.svn/entries b/features/smtp/lib/libsmtp---0.1.0/.svn/entries deleted file mode 100644 index c2b2e90..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/.svn/entries +++ /dev/null @@ -1,411 +0,0 @@ -10 - -dir -46 -svn://cuiz.me/cbenchmark/trunk/cbenchmark/features/smtp/lib/libsmtp---0.1.0 -svn://cuiz.me - - - -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - -01675afb-4c4d-4bd7-85dd-1440927b3546 - -lang -dir - -configure -file - - - - -2011-06-28T07:31:19.000000Z -01d596aec5b28baa06302917efc32d2f -2011-06-02T07:01:04.009901Z -35 -cuizheng -has-props - - - - - - - - - - - - - - - - - - - - -195209 - -Makefile.in -file - - - - -2011-06-28T07:31:19.000000Z -c18c39b634eaad0454299adf802e1080 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -1136 - -.project -file - - - - -2011-06-28T07:31:19.000000Z -df0e0c67065638283af9102855b3d266 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2342 - -ldconfig.wrapper -file - - - - -2011-06-28T07:31:19.000000Z -fcf15fb8b3e02c4694da8ea15752aac3 -2011-06-02T07:01:04.009901Z -35 -cuizheng -has-props - - - - - - - - - - - - - - - - - - - - -2853 - -doc -dir - -config.log -file - - - - -2011-06-28T07:31:19.000000Z -0d6898f6bf494ac81149e14a44106359 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -17254 - -src -dir - -.cproject -file - - - - -2011-06-28T07:31:19.000000Z -6d5bbf60ba209cd6db791ca9d6313223 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -11360 - -config.status -file - - - - -2011-06-28T07:31:19.000000Z -5d27209dbb30e0f7948e3bfb41d0a490 -2011-06-02T07:01:04.009901Z -35 -cuizheng -has-props - - - - - - - - - - - - - - - - - - - - -20864 - -config.guess -file - - - - -2011-06-28T07:31:19.000000Z -8ce7cf40226cb159c2f74571e9d54f0a -2011-06-02T07:01:04.009901Z -35 -cuizheng -has-props - - - - - - - - - - - - - - - - - - - - -38470 - -Makefile -file - - - - -2011-06-28T07:31:19.000000Z -78b19b5523a3f2b8b1936d10d0501f36 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -1058 - -config.sub -file - - - - -2011-06-28T07:31:19.000000Z -6a68180e4ff9b2d91945ff0205c79483 -2011-06-02T07:01:04.009901Z -35 -cuizheng -has-props - - - - - - - - - - - - - - - - - - - - -29027 - -install-sh -file - - - - -2011-06-28T07:31:19.000000Z -5afe8eb5573965dfb58378e4e46f3813 -2011-06-02T07:01:04.009901Z -35 -cuizheng -has-props - - - - - - - - - - - - - - - - - - - - -5598 - diff --git a/features/smtp/lib/libsmtp---0.1.0/.svn/prop-base/config.guess.svn-base b/features/smtp/lib/libsmtp---0.1.0/.svn/prop-base/config.guess.svn-base deleted file mode 100644 index 869ac71..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/.svn/prop-base/config.guess.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 1 -* -END diff --git a/features/smtp/lib/libsmtp---0.1.0/.svn/prop-base/config.status.svn-base b/features/smtp/lib/libsmtp---0.1.0/.svn/prop-base/config.status.svn-base deleted file mode 100644 index 869ac71..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/.svn/prop-base/config.status.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 1 -* -END diff --git a/features/smtp/lib/libsmtp---0.1.0/.svn/prop-base/config.sub.svn-base b/features/smtp/lib/libsmtp---0.1.0/.svn/prop-base/config.sub.svn-base deleted file mode 100644 index 869ac71..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/.svn/prop-base/config.sub.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 1 -* -END diff --git a/features/smtp/lib/libsmtp---0.1.0/.svn/prop-base/configure.svn-base b/features/smtp/lib/libsmtp---0.1.0/.svn/prop-base/configure.svn-base deleted file mode 100644 index 869ac71..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/.svn/prop-base/configure.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 1 -* -END diff --git a/features/smtp/lib/libsmtp---0.1.0/.svn/prop-base/install-sh.svn-base b/features/smtp/lib/libsmtp---0.1.0/.svn/prop-base/install-sh.svn-base deleted file mode 100644 index 869ac71..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/.svn/prop-base/install-sh.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 1 -* -END diff --git a/features/smtp/lib/libsmtp---0.1.0/.svn/prop-base/ldconfig.wrapper.svn-base b/features/smtp/lib/libsmtp---0.1.0/.svn/prop-base/ldconfig.wrapper.svn-base deleted file mode 100644 index 869ac71..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/.svn/prop-base/ldconfig.wrapper.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 1 -* -END diff --git a/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/.cproject.svn-base b/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/.cproject.svn-base deleted file mode 100644 index 418b8ba..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/.cproject.svn-base +++ /dev/null @@ -1,210 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/.project.svn-base b/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/.project.svn-base deleted file mode 100644 index e47f579..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/.project.svn-base +++ /dev/null @@ -1,79 +0,0 @@ - - - libsmtp---0.1.0 - - - - - - org.eclipse.cdt.managedbuilder.core.genmakebuilder - clean,full,incremental, - - - ?name? - - - - org.eclipse.cdt.make.core.append_environment - true - - - org.eclipse.cdt.make.core.autoBuildTarget - all - - - org.eclipse.cdt.make.core.buildArguments - - - - org.eclipse.cdt.make.core.buildCommand - make - - - org.eclipse.cdt.make.core.cleanBuildTarget - clean - - - org.eclipse.cdt.make.core.contents - org.eclipse.cdt.make.core.activeConfigSettings - - - org.eclipse.cdt.make.core.enableAutoBuild - false - - - org.eclipse.cdt.make.core.enableCleanBuild - true - - - org.eclipse.cdt.make.core.enableFullBuild - true - - - org.eclipse.cdt.make.core.fullBuildTarget - all - - - org.eclipse.cdt.make.core.stopOnError - true - - - org.eclipse.cdt.make.core.useDefaultBuildCmd - true - - - - - org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder - full,incremental, - - - - - - org.eclipse.cdt.core.cnature - org.eclipse.cdt.core.ccnature - org.eclipse.cdt.managedbuilder.core.managedBuildNature - org.eclipse.cdt.managedbuilder.core.ScannerConfigNature - - diff --git a/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/Makefile.in.svn-base b/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/Makefile.in.svn-base deleted file mode 100644 index fdf9999..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/Makefile.in.svn-base +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (C) 2003 Timo Benk t_benk@web.de -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the -# Free Software Foundation, Inc., 59 Temple Place, Suite 330, -# Boston, MA 02111-1307 USA - -all: - (@macosx_deployment_target@cd src; make all) - -clean: - (@macosx_deployment_target@cd src; make clean) - -install: all - (@macosx_deployment_target@cd src; make install) - -distclean: clean - find . -name "Makefile" -exec rm {} \; - /bin/rm -f \ - config.h \ - config.status \ - config.cache \ - config.log - diff --git a/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/Makefile.svn-base b/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/Makefile.svn-base deleted file mode 100644 index d053fdf..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/Makefile.svn-base +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (C) 2003 Timo Benk t_benk@web.de -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the -# Free Software Foundation, Inc., 59 Temple Place, Suite 330, -# Boston, MA 02111-1307 USA - -all: - (cd src; make all) - -clean: - (cd src; make clean) - -install: all - (cd src; make install) - -distclean: clean - find . -name "Makefile" -exec rm {} \; - /bin/rm -f \ - config.h \ - config.status \ - config.cache \ - config.log - diff --git a/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/config.guess.svn-base b/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/config.guess.svn-base deleted file mode 100644 index ed2e03b..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/config.guess.svn-base +++ /dev/null @@ -1,1321 +0,0 @@ -#! /bin/sh -# Attempt to guess a canonical system name. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002 Free Software Foundation, Inc. - -timestamp='2002-03-20' - -# This file is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# Originally written by Per Bothner . -# Please send patches to . Submit a context -# diff and a properly formatted ChangeLog entry. -# -# This script attempts to guess a canonical system name similar to -# config.sub. If it succeeds, it prints the system name on stdout, and -# exits with 0. Otherwise, it exits with 1. -# -# The plan is that this can be called by configure scripts if you -# don't specify an explicit build system type. - -me=`echo "$0" | sed -e 's,.*/,,'` - -usage="\ -Usage: $0 [OPTION] - -Output the configuration name of the system \`$me' is run on. - -Operation modes: - -h, --help print this help, then exit - -t, --time-stamp print date of last modification, then exit - -v, --version print version number, then exit - -Report bugs and patches to ." - -version="\ -GNU config.guess ($timestamp) - -Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -Free Software Foundation, Inc. - -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." - -help=" -Try \`$me --help' for more information." - -# Parse command line -while test $# -gt 0 ; do - case $1 in - --time-stamp | --time* | -t ) - echo "$timestamp" ; exit 0 ;; - --version | -v ) - echo "$version" ; exit 0 ;; - --help | --h* | -h ) - echo "$usage"; exit 0 ;; - -- ) # Stop option processing - shift; break ;; - - ) # Use stdin as input. - break ;; - -* ) - echo "$me: invalid option $1$help" >&2 - exit 1 ;; - * ) - break ;; - esac -done - -if test $# != 0; then - echo "$me: too many arguments$help" >&2 - exit 1 -fi - - -dummy=dummy-$$ -trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15 - -# CC_FOR_BUILD -- compiler used by this script. -# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still -# use `HOST_CC' if defined, but it is deprecated. - -set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in - ,,) echo "int dummy(){}" > $dummy.c ; - for c in cc gcc c89 c99 ; do - ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ; - if test $? = 0 ; then - CC_FOR_BUILD="$c"; break ; - fi ; - done ; - rm -f $dummy.c $dummy.o $dummy.rel ; - if test x"$CC_FOR_BUILD" = x ; then - CC_FOR_BUILD=no_compiler_found ; - fi - ;; - ,,*) CC_FOR_BUILD=$CC ;; - ,*,*) CC_FOR_BUILD=$HOST_CC ;; -esac' - -# This is needed to find uname on a Pyramid OSx when run in the BSD universe. -# (ghazi@noc.rutgers.edu 1994-08-24) -if (test -f /.attbin/uname) >/dev/null 2>&1 ; then - PATH=$PATH:/.attbin ; export PATH -fi - -UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown -UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown -UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown - -# Note: order is significant - the case branches are not exclusive. - -case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in - *:NetBSD:*:*) - # NetBSD (nbsd) targets should (where applicable) match one or - # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, - # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently - # switched to ELF, *-*-netbsd* would select the old - # object file format. This provides both forward - # compatibility and a consistent mechanism for selecting the - # object file format. - # - # Note: NetBSD doesn't particularly care about the vendor - # portion of the name. We always set it to "unknown". - sysctl="sysctl -n hw.machine_arch" - UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ - /usr/sbin/$sysctl 2>/dev/null || echo unknown)` - case "${UNAME_MACHINE_ARCH}" in - arm*) machine=arm-unknown ;; - sh3el) machine=shl-unknown ;; - sh3eb) machine=sh-unknown ;; - *) machine=${UNAME_MACHINE_ARCH}-unknown ;; - esac - # The Operating System including object format, if it has switched - # to ELF recently, or will in the future. - case "${UNAME_MACHINE_ARCH}" in - arm*|i386|m68k|ns32k|sh3*|sparc|vax) - eval $set_cc_for_build - if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep __ELF__ >/dev/null - then - # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). - # Return netbsd for either. FIX? - os=netbsd - else - os=netbsdelf - fi - ;; - *) - os=netbsd - ;; - esac - # The OS release - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` - # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: - # contains redundant information, the shorter form: - # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. - echo "${machine}-${os}${release}" - exit 0 ;; - amiga:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - arc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - hp300:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mac68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - macppc:OpenBSD:*:*) - echo powerpc-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme88k:OpenBSD:*:*) - echo m88k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvmeppc:OpenBSD:*:*) - echo powerpc-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - pmax:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - sgi:OpenBSD:*:*) - echo mipseb-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - sun3:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - wgrisc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - *:OpenBSD:*:*) - echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - alpha:OSF1:*:*) - if test $UNAME_RELEASE = "V4.0"; then - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` - fi - # A Vn.n version is a released version. - # A Tn.n version is a released field test version. - # A Xn.n version is an unreleased experimental baselevel. - # 1.2 uses "1.2" for uname -r. - cat <$dummy.s - .data -\$Lformat: - .byte 37,100,45,37,120,10,0 # "%d-%x\n" - - .text - .globl main - .align 4 - .ent main -main: - .frame \$30,16,\$26,0 - ldgp \$29,0(\$27) - .prologue 1 - .long 0x47e03d80 # implver \$0 - lda \$2,-1 - .long 0x47e20c21 # amask \$2,\$1 - lda \$16,\$Lformat - mov \$0,\$17 - not \$1,\$18 - jsr \$26,printf - ldgp \$29,0(\$26) - mov 0,\$16 - jsr \$26,exit - .end main -EOF - eval $set_cc_for_build - $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null - if test "$?" = 0 ; then - case `./$dummy` in - 0-0) - UNAME_MACHINE="alpha" - ;; - 1-0) - UNAME_MACHINE="alphaev5" - ;; - 1-1) - UNAME_MACHINE="alphaev56" - ;; - 1-101) - UNAME_MACHINE="alphapca56" - ;; - 2-303) - UNAME_MACHINE="alphaev6" - ;; - 2-307) - UNAME_MACHINE="alphaev67" - ;; - 2-1307) - UNAME_MACHINE="alphaev68" - ;; - esac - fi - rm -f $dummy.s $dummy - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - exit 0 ;; - Alpha\ *:Windows_NT*:*) - # How do we know it's Interix rather than the generic POSIX subsystem? - # Should we change UNAME_MACHINE based on the output of uname instead - # of the specific Alpha model? - echo alpha-pc-interix - exit 0 ;; - 21064:Windows_NT:50:3) - echo alpha-dec-winnt3.5 - exit 0 ;; - Amiga*:UNIX_System_V:4.0:*) - echo m68k-unknown-sysv4 - exit 0;; - *:[Aa]miga[Oo][Ss]:*:*) - echo ${UNAME_MACHINE}-unknown-amigaos - exit 0 ;; - *:[Mm]orph[Oo][Ss]:*:*) - echo ${UNAME_MACHINE}-unknown-morphos - exit 0 ;; - *:OS/390:*:*) - echo i370-ibm-openedition - exit 0 ;; - arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) - echo arm-acorn-riscix${UNAME_RELEASE} - exit 0;; - SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) - echo hppa1.1-hitachi-hiuxmpp - exit 0;; - Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) - # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. - if test "`(/bin/universe) 2>/dev/null`" = att ; then - echo pyramid-pyramid-sysv3 - else - echo pyramid-pyramid-bsd - fi - exit 0 ;; - NILE*:*:*:dcosx) - echo pyramid-pyramid-svr4 - exit 0 ;; - sun4H:SunOS:5.*:*) - echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) - echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - i86pc:SunOS:5.*:*) - echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - sun4*:SunOS:6*:*) - # According to config.sub, this is the proper way to canonicalize - # SunOS6. Hard to guess exactly what SunOS6 will be like, but - # it's likely to be more like Solaris than SunOS4. - echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - sun4*:SunOS:*:*) - case "`/usr/bin/arch -k`" in - Series*|S4*) - UNAME_RELEASE=`uname -v` - ;; - esac - # Japanese Language versions have a version number like `4.1.3-JL'. - echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` - exit 0 ;; - sun3*:SunOS:*:*) - echo m68k-sun-sunos${UNAME_RELEASE} - exit 0 ;; - sun*:*:4.2BSD:*) - UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` - test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 - case "`/bin/arch`" in - sun3) - echo m68k-sun-sunos${UNAME_RELEASE} - ;; - sun4) - echo sparc-sun-sunos${UNAME_RELEASE} - ;; - esac - exit 0 ;; - aushp:SunOS:*:*) - echo sparc-auspex-sunos${UNAME_RELEASE} - exit 0 ;; - # The situation for MiNT is a little confusing. The machine name - # can be virtually everything (everything which is not - # "atarist" or "atariste" at least should have a processor - # > m68000). The system name ranges from "MiNT" over "FreeMiNT" - # to the lowercase version "mint" (or "freemint"). Finally - # the system name "TOS" denotes a system which is actually not - # MiNT. But MiNT is downward compatible to TOS, so this should - # be no problem. - atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit 0 ;; - atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit 0 ;; - *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit 0 ;; - milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) - echo m68k-milan-mint${UNAME_RELEASE} - exit 0 ;; - hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) - echo m68k-hades-mint${UNAME_RELEASE} - exit 0 ;; - *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) - echo m68k-unknown-mint${UNAME_RELEASE} - exit 0 ;; - powerpc:machten:*:*) - echo powerpc-apple-machten${UNAME_RELEASE} - exit 0 ;; - RISC*:Mach:*:*) - echo mips-dec-mach_bsd4.3 - exit 0 ;; - RISC*:ULTRIX:*:*) - echo mips-dec-ultrix${UNAME_RELEASE} - exit 0 ;; - VAX*:ULTRIX*:*:*) - echo vax-dec-ultrix${UNAME_RELEASE} - exit 0 ;; - 2020:CLIX:*:* | 2430:CLIX:*:*) - echo clipper-intergraph-clix${UNAME_RELEASE} - exit 0 ;; - mips:*:*:UMIPS | mips:*:*:RISCos) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c -#ifdef __cplusplus -#include /* for printf() prototype */ - int main (int argc, char *argv[]) { -#else - int main (argc, argv) int argc; char *argv[]; { -#endif - #if defined (host_mips) && defined (MIPSEB) - #if defined (SYSTYPE_SYSV) - printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); - #endif - #if defined (SYSTYPE_SVR4) - printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); - #endif - #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) - printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); - #endif - #endif - exit (-1); - } -EOF - $CC_FOR_BUILD $dummy.c -o $dummy \ - && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ - && rm -f $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy - echo mips-mips-riscos${UNAME_RELEASE} - exit 0 ;; - Motorola:PowerMAX_OS:*:*) - echo powerpc-motorola-powermax - exit 0 ;; - Night_Hawk:Power_UNIX:*:*) - echo powerpc-harris-powerunix - exit 0 ;; - m88k:CX/UX:7*:*) - echo m88k-harris-cxux7 - exit 0 ;; - m88k:*:4*:R4*) - echo m88k-motorola-sysv4 - exit 0 ;; - m88k:*:3*:R3*) - echo m88k-motorola-sysv3 - exit 0 ;; - AViiON:dgux:*:*) - # DG/UX returns AViiON for all architectures - UNAME_PROCESSOR=`/usr/bin/uname -p` - if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] - then - if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ - [ ${TARGET_BINARY_INTERFACE}x = x ] - then - echo m88k-dg-dgux${UNAME_RELEASE} - else - echo m88k-dg-dguxbcs${UNAME_RELEASE} - fi - else - echo i586-dg-dgux${UNAME_RELEASE} - fi - exit 0 ;; - M88*:DolphinOS:*:*) # DolphinOS (SVR3) - echo m88k-dolphin-sysv3 - exit 0 ;; - M88*:*:R3*:*) - # Delta 88k system running SVR3 - echo m88k-motorola-sysv3 - exit 0 ;; - XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) - echo m88k-tektronix-sysv3 - exit 0 ;; - Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) - echo m68k-tektronix-bsd - exit 0 ;; - *:IRIX*:*:*) - echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` - exit 0 ;; - ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id - exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' - i*86:AIX:*:*) - echo i386-ibm-aix - exit 0 ;; - ia64:AIX:*:*) - if [ -x /usr/bin/oslevel ] ; then - IBM_REV=`/usr/bin/oslevel` - else - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} - fi - echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} - exit 0 ;; - *:AIX:2:3) - if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - - main() - { - if (!__power_pc()) - exit(1); - puts("powerpc-ibm-aix3.2.5"); - exit(0); - } -EOF - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy - echo rs6000-ibm-aix3.2.5 - elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then - echo rs6000-ibm-aix3.2.4 - else - echo rs6000-ibm-aix3.2 - fi - exit 0 ;; - *:AIX:*:[45]) - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` - if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then - IBM_ARCH=rs6000 - else - IBM_ARCH=powerpc - fi - if [ -x /usr/bin/oslevel ] ; then - IBM_REV=`/usr/bin/oslevel` - else - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} - fi - echo ${IBM_ARCH}-ibm-aix${IBM_REV} - exit 0 ;; - *:AIX:*:*) - echo rs6000-ibm-aix - exit 0 ;; - ibmrt:4.4BSD:*|romp-ibm:BSD:*) - echo romp-ibm-bsd4.4 - exit 0 ;; - ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and - echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to - exit 0 ;; # report: romp-ibm BSD 4.3 - *:BOSX:*:*) - echo rs6000-bull-bosx - exit 0 ;; - DPX/2?00:B.O.S.:*:*) - echo m68k-bull-sysv3 - exit 0 ;; - 9000/[34]??:4.3bsd:1.*:*) - echo m68k-hp-bsd - exit 0 ;; - hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) - echo m68k-hp-bsd4.4 - exit 0 ;; - 9000/[34678]??:HP-UX:*:*) - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` - case "${UNAME_MACHINE}" in - 9000/31? ) HP_ARCH=m68000 ;; - 9000/[34]?? ) HP_ARCH=m68k ;; - 9000/[678][0-9][0-9]) - if [ -x /usr/bin/getconf ]; then - sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` - sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` - case "${sc_cpu_version}" in - 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 - 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 - 532) # CPU_PA_RISC2_0 - case "${sc_kernel_bits}" in - 32) HP_ARCH="hppa2.0n" ;; - 64) HP_ARCH="hppa2.0w" ;; - '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 - esac ;; - esac - fi - if [ "${HP_ARCH}" = "" ]; then - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - - #define _HPUX_SOURCE - #include - #include - - int main () - { - #if defined(_SC_KERNEL_BITS) - long bits = sysconf(_SC_KERNEL_BITS); - #endif - long cpu = sysconf (_SC_CPU_VERSION); - - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1"); break; - case CPU_PA_RISC2_0: - #if defined(_SC_KERNEL_BITS) - switch (bits) - { - case 64: puts ("hppa2.0w"); break; - case 32: puts ("hppa2.0n"); break; - default: puts ("hppa2.0"); break; - } break; - #else /* !defined(_SC_KERNEL_BITS) */ - puts ("hppa2.0"); break; - #endif - default: puts ("hppa1.0"); break; - } - exit (0); - } -EOF - (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`./$dummy` - if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi - rm -f $dummy.c $dummy - fi ;; - esac - echo ${HP_ARCH}-hp-hpux${HPUX_REV} - exit 0 ;; - ia64:HP-UX:*:*) - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` - echo ia64-hp-hpux${HPUX_REV} - exit 0 ;; - 3050*:HI-UX:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - int - main () - { - long cpu = sysconf (_SC_CPU_VERSION); - /* The order matters, because CPU_IS_HP_MC68K erroneously returns - true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct - results, however. */ - if (CPU_IS_PA_RISC (cpu)) - { - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; - case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; - default: puts ("hppa-hitachi-hiuxwe2"); break; - } - } - else if (CPU_IS_HP_MC68K (cpu)) - puts ("m68k-hitachi-hiuxwe2"); - else puts ("unknown-hitachi-hiuxwe2"); - exit (0); - } -EOF - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy - echo unknown-hitachi-hiuxwe2 - exit 0 ;; - 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) - echo hppa1.1-hp-bsd - exit 0 ;; - 9000/8??:4.3bsd:*:*) - echo hppa1.0-hp-bsd - exit 0 ;; - *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) - echo hppa1.0-hp-mpeix - exit 0 ;; - hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) - echo hppa1.1-hp-osf - exit 0 ;; - hp8??:OSF1:*:*) - echo hppa1.0-hp-osf - exit 0 ;; - i*86:OSF1:*:*) - if [ -x /usr/sbin/sysversion ] ; then - echo ${UNAME_MACHINE}-unknown-osf1mk - else - echo ${UNAME_MACHINE}-unknown-osf1 - fi - exit 0 ;; - parisc*:Lites*:*:*) - echo hppa1.1-hp-lites - exit 0 ;; - C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) - echo c1-convex-bsd - exit 0 ;; - C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit 0 ;; - C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) - echo c34-convex-bsd - exit 0 ;; - C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) - echo c38-convex-bsd - exit 0 ;; - C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) - echo c4-convex-bsd - exit 0 ;; - CRAY*Y-MP:*:*:*) - echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; - CRAY*[A-Z]90:*:*:*) - echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ - | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ - -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ - -e 's/\.[^.]*$/.X/' - exit 0 ;; - CRAY*TS:*:*:*) - echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; - CRAY*T3D:*:*:*) - echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; - CRAY*T3E:*:*:*) - echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; - CRAY*SV1:*:*:*) - echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; - F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) - FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` - echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit 0 ;; - i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) - echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} - exit 0 ;; - sparc*:BSD/OS:*:*) - echo sparc-unknown-bsdi${UNAME_RELEASE} - exit 0 ;; - *:BSD/OS:*:*) - echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} - exit 0 ;; - *:FreeBSD:*:*) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` - exit 0 ;; - i*:CYGWIN*:*) - echo ${UNAME_MACHINE}-pc-cygwin - exit 0 ;; - i*:MINGW*:*) - echo ${UNAME_MACHINE}-pc-mingw32 - exit 0 ;; - i*:PW*:*) - echo ${UNAME_MACHINE}-pc-pw32 - exit 0 ;; - x86:Interix*:3*) - echo i386-pc-interix3 - exit 0 ;; - i*:Windows_NT*:* | Pentium*:Windows_NT*:*) - # How do we know it's Interix rather than the generic POSIX subsystem? - # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we - # UNAME_MACHINE based on the output of uname instead of i386? - echo i386-pc-interix - exit 0 ;; - i*:UWIN*:*) - echo ${UNAME_MACHINE}-pc-uwin - exit 0 ;; - p*:CYGWIN*:*) - echo powerpcle-unknown-cygwin - exit 0 ;; - prep*:SunOS:5.*:*) - echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - *:GNU:*:*) - echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` - exit 0 ;; - i*86:Minix:*:*) - echo ${UNAME_MACHINE}-pc-minix - exit 0 ;; - arm*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; - ia64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; - m68*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; - mips:Linux:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #undef CPU - #undef mips - #undef mipsel - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=mipsel - #else - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=mips - #else - CPU= - #endif - #endif -EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` - rm -f $dummy.c - test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0 - ;; - ppc:Linux:*:*) - echo powerpc-unknown-linux-gnu - exit 0 ;; - ppc64:Linux:*:*) - echo powerpc64-unknown-linux-gnu - exit 0 ;; - alpha:Linux:*:*) - case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in - EV5) UNAME_MACHINE=alphaev5 ;; - EV56) UNAME_MACHINE=alphaev56 ;; - PCA56) UNAME_MACHINE=alphapca56 ;; - PCA57) UNAME_MACHINE=alphapca56 ;; - EV6) UNAME_MACHINE=alphaev6 ;; - EV67) UNAME_MACHINE=alphaev67 ;; - EV68*) UNAME_MACHINE=alphaev68 ;; - esac - objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null - if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} - exit 0 ;; - parisc:Linux:*:* | hppa:Linux:*:*) - # Look for CPU level - case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in - PA7*) echo hppa1.1-unknown-linux-gnu ;; - PA8*) echo hppa2.0-unknown-linux-gnu ;; - *) echo hppa-unknown-linux-gnu ;; - esac - exit 0 ;; - parisc64:Linux:*:* | hppa64:Linux:*:*) - echo hppa64-unknown-linux-gnu - exit 0 ;; - s390:Linux:*:* | s390x:Linux:*:*) - echo ${UNAME_MACHINE}-ibm-linux - exit 0 ;; - sh*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; - sparc:Linux:*:* | sparc64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; - x86_64:Linux:*:*) - echo x86_64-unknown-linux-gnu - exit 0 ;; - i*86:Linux:*:*) - # The BFD linker knows what the default object file format is, so - # first see if it will tell us. cd to the root directory to prevent - # problems with other programs or directories called `ld' in the path. - # Set LC_ALL=C to ensure ld outputs messages in English. - ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ - | sed -ne '/supported targets:/!d - s/[ ][ ]*/ /g - s/.*supported targets: *// - s/ .*// - p'` - case "$ld_supported_targets" in - elf32-i386) - TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" - ;; - a.out-i386-linux) - echo "${UNAME_MACHINE}-pc-linux-gnuaout" - exit 0 ;; - coff-i386) - echo "${UNAME_MACHINE}-pc-linux-gnucoff" - exit 0 ;; - "") - # Either a pre-BFD a.out linker (linux-gnuoldld) or - # one that does not give us useful --help. - echo "${UNAME_MACHINE}-pc-linux-gnuoldld" - exit 0 ;; - esac - # Determine whether the default compiler is a.out or elf - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - #ifdef __ELF__ - # ifdef __GLIBC__ - # if __GLIBC__ >= 2 - LIBC=gnu - # else - LIBC=gnulibc1 - # endif - # else - LIBC=gnulibc1 - # endif - #else - #ifdef __INTEL_COMPILER - LIBC=gnu - #else - LIBC=gnuaout - #endif - #endif -EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` - rm -f $dummy.c - test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 - test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 - ;; - i*86:DYNIX/ptx:4*:*) - # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. - # earlier versions are messed up and put the nodename in both - # sysname and nodename. - echo i386-sequent-sysv4 - exit 0 ;; - i*86:UNIX_SV:4.2MP:2.*) - # Unixware is an offshoot of SVR4, but it has its own version - # number series starting with 2... - # I am not positive that other SVR4 systems won't match this, - # I just have to hope. -- rms. - # Use sysv4.2uw... so that sysv4* matches it. - echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} - exit 0 ;; - i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) - UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` - if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then - echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} - else - echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} - fi - exit 0 ;; - i*86:*:5:[78]*) - case `/bin/uname -X | grep "^Machine"` in - *486*) UNAME_MACHINE=i486 ;; - *Pentium) UNAME_MACHINE=i586 ;; - *Pent*|*Celeron) UNAME_MACHINE=i686 ;; - esac - echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} - exit 0 ;; - i*86:*:3.2:*) - if test -f /usr/options/cb.name; then - UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then - UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')` - (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486 - (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \ - && UNAME_MACHINE=i586 - (/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \ - && UNAME_MACHINE=i686 - (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \ - && UNAME_MACHINE=i686 - echo ${UNAME_MACHINE}-pc-sco$UNAME_REL - else - echo ${UNAME_MACHINE}-pc-sysv32 - fi - exit 0 ;; - i*86:*DOS:*:*) - echo ${UNAME_MACHINE}-pc-msdosdjgpp - exit 0 ;; - pc:*:*:*) - # Left here for compatibility: - # uname -m prints for DJGPP always 'pc', but it prints nothing about - # the processor, so we play safe by assuming i386. - echo i386-pc-msdosdjgpp - exit 0 ;; - Intel:Mach:3*:*) - echo i386-pc-mach3 - exit 0 ;; - paragon:*:*:*) - echo i860-intel-osf1 - exit 0 ;; - i860:*:4.*:*) # i860-SVR4 - if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then - echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 - else # Add other i860-SVR4 vendors below as they are discovered. - echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 - fi - exit 0 ;; - mini*:CTIX:SYS*5:*) - # "miniframe" - echo m68010-convergent-sysv - exit 0 ;; - M68*:*:R3V[567]*:*) - test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; - 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0) - OS_REL='' - test -r /etc/.relid \ - && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && echo i486-ncr-sysv4.3${OS_REL} && exit 0 - /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ - && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; - 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && echo i486-ncr-sysv4 && exit 0 ;; - m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) - echo m68k-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - mc68030:UNIX_System_V:4.*:*) - echo m68k-atari-sysv4 - exit 0 ;; - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) - echo i386-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - TSUNAMI:LynxOS:2.*:*) - echo sparc-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - rs6000:LynxOS:2.*:*) - echo rs6000-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) - echo powerpc-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - SM[BE]S:UNIX_SV:*:*) - echo mips-dde-sysv${UNAME_RELEASE} - exit 0 ;; - RM*:ReliantUNIX-*:*:*) - echo mips-sni-sysv4 - exit 0 ;; - RM*:SINIX-*:*:*) - echo mips-sni-sysv4 - exit 0 ;; - *:SINIX-*:*:*) - if uname -p 2>/dev/null >/dev/null ; then - UNAME_MACHINE=`(uname -p) 2>/dev/null` - echo ${UNAME_MACHINE}-sni-sysv4 - else - echo ns32k-sni-sysv - fi - exit 0 ;; - PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort - # says - echo i586-unisys-sysv4 - exit 0 ;; - *:UNIX_System_V:4*:FTX*) - # From Gerald Hewes . - # How about differentiating between stratus architectures? -djm - echo hppa1.1-stratus-sysv4 - exit 0 ;; - *:*:*:FTX*) - # From seanf@swdc.stratus.com. - echo i860-stratus-sysv4 - exit 0 ;; - *:VOS:*:*) - # From Paul.Green@stratus.com. - echo hppa1.1-stratus-vos - exit 0 ;; - mc68*:A/UX:*:*) - echo m68k-apple-aux${UNAME_RELEASE} - exit 0 ;; - news*:NEWS-OS:6*:*) - echo mips-sony-newsos6 - exit 0 ;; - R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) - if [ -d /usr/nec ]; then - echo mips-nec-sysv${UNAME_RELEASE} - else - echo mips-unknown-sysv${UNAME_RELEASE} - fi - exit 0 ;; - BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. - echo powerpc-be-beos - exit 0 ;; - BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. - echo powerpc-apple-beos - exit 0 ;; - BePC:BeOS:*:*) # BeOS running on Intel PC compatible. - echo i586-pc-beos - exit 0 ;; - SX-4:SUPER-UX:*:*) - echo sx4-nec-superux${UNAME_RELEASE} - exit 0 ;; - SX-5:SUPER-UX:*:*) - echo sx5-nec-superux${UNAME_RELEASE} - exit 0 ;; - Power*:Rhapsody:*:*) - echo powerpc-apple-rhapsody${UNAME_RELEASE} - exit 0 ;; - *:Rhapsody:*:*) - echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} - exit 0 ;; - *:Darwin:*:*) - echo `uname -p`-apple-darwin${UNAME_RELEASE} - exit 0 ;; - *:procnto*:*:* | *:QNX:[0123456789]*:*) - UNAME_PROCESSOR=`uname -p` - if test "$UNAME_PROCESSOR" = "x86"; then - UNAME_PROCESSOR=i386 - UNAME_MACHINE=pc - fi - echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} - exit 0 ;; - *:QNX:*:4*) - echo i386-pc-qnx - exit 0 ;; - NSR-[GKLNPTVW]:NONSTOP_KERNEL:*:*) - echo nsr-tandem-nsk${UNAME_RELEASE} - exit 0 ;; - *:NonStop-UX:*:*) - echo mips-compaq-nonstopux - exit 0 ;; - BS2000:POSIX*:*:*) - echo bs2000-siemens-sysv - exit 0 ;; - DS/*:UNIX_System_V:*:*) - echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} - exit 0 ;; - *:Plan9:*:*) - # "uname -m" is not consistent, so use $cputype instead. 386 - # is converted to i386 for consistency with other x86 - # operating systems. - if test "$cputype" = "386"; then - UNAME_MACHINE=i386 - else - UNAME_MACHINE="$cputype" - fi - echo ${UNAME_MACHINE}-unknown-plan9 - exit 0 ;; - i*86:OS/2:*:*) - # If we were able to find `uname', then EMX Unix compatibility - # is probably installed. - echo ${UNAME_MACHINE}-pc-os2-emx - exit 0 ;; - *:TOPS-10:*:*) - echo pdp10-unknown-tops10 - exit 0 ;; - *:TENEX:*:*) - echo pdp10-unknown-tenex - exit 0 ;; - KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) - echo pdp10-dec-tops20 - exit 0 ;; - XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) - echo pdp10-xkl-tops20 - exit 0 ;; - *:TOPS-20:*:*) - echo pdp10-unknown-tops20 - exit 0 ;; - *:ITS:*:*) - echo pdp10-unknown-its - exit 0 ;; - i*86:XTS-300:*:STOP) - echo ${UNAME_MACHINE}-unknown-stop - exit 0 ;; - i*86:atheos:*:*) - echo ${UNAME_MACHINE}-unknown-atheos - exit 0 ;; -esac - -#echo '(No uname command or uname output not recognized.)' 1>&2 -#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 - -eval $set_cc_for_build -cat >$dummy.c < -# include -#endif -main () -{ -#if defined (sony) -#if defined (MIPSEB) - /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, - I don't know.... */ - printf ("mips-sony-bsd\n"); exit (0); -#else -#include - printf ("m68k-sony-newsos%s\n", -#ifdef NEWSOS4 - "4" -#else - "" -#endif - ); exit (0); -#endif -#endif - -#if defined (__arm) && defined (__acorn) && defined (__unix) - printf ("arm-acorn-riscix"); exit (0); -#endif - -#if defined (hp300) && !defined (hpux) - printf ("m68k-hp-bsd\n"); exit (0); -#endif - -#if defined (NeXT) -#if !defined (__ARCHITECTURE__) -#define __ARCHITECTURE__ "m68k" -#endif - int version; - version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; - if (version < 4) - printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); - else - printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); - exit (0); -#endif - -#if defined (MULTIMAX) || defined (n16) -#if defined (UMAXV) - printf ("ns32k-encore-sysv\n"); exit (0); -#else -#if defined (CMU) - printf ("ns32k-encore-mach\n"); exit (0); -#else - printf ("ns32k-encore-bsd\n"); exit (0); -#endif -#endif -#endif - -#if defined (__386BSD__) - printf ("i386-pc-bsd\n"); exit (0); -#endif - -#if defined (sequent) -#if defined (i386) - printf ("i386-sequent-dynix\n"); exit (0); -#endif -#if defined (ns32000) - printf ("ns32k-sequent-dynix\n"); exit (0); -#endif -#endif - -#if defined (_SEQUENT_) - struct utsname un; - - uname(&un); - - if (strncmp(un.version, "V2", 2) == 0) { - printf ("i386-sequent-ptx2\n"); exit (0); - } - if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ - printf ("i386-sequent-ptx1\n"); exit (0); - } - printf ("i386-sequent-ptx\n"); exit (0); - -#endif - -#if defined (vax) -# if !defined (ultrix) -# include -# if defined (BSD) -# if BSD == 43 - printf ("vax-dec-bsd4.3\n"); exit (0); -# else -# if BSD == 199006 - printf ("vax-dec-bsd4.3reno\n"); exit (0); -# else - printf ("vax-dec-bsd\n"); exit (0); -# endif -# endif -# else - printf ("vax-dec-bsd\n"); exit (0); -# endif -# else - printf ("vax-dec-ultrix\n"); exit (0); -# endif -#endif - -#if defined (alliant) && defined (i860) - printf ("i860-alliant-bsd\n"); exit (0); -#endif - - exit (1); -} -EOF - -$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0 -rm -f $dummy.c $dummy - -# Apollos put the system type in the environment. - -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } - -# Convex versions that predate uname can use getsysinfo(1) - -if [ -x /usr/convex/getsysinfo ] -then - case `getsysinfo -f cpu_type` in - c1*) - echo c1-convex-bsd - exit 0 ;; - c2*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit 0 ;; - c34*) - echo c34-convex-bsd - exit 0 ;; - c38*) - echo c38-convex-bsd - exit 0 ;; - c4*) - echo c4-convex-bsd - exit 0 ;; - esac -fi - -cat >&2 < in order to provide the needed -information to handle your system. - -config.guess timestamp = $timestamp - -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null` - -hostinfo = `(hostinfo) 2>/dev/null` -/bin/universe = `(/bin/universe) 2>/dev/null` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` -/bin/arch = `(/bin/arch) 2>/dev/null` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` - -UNAME_MACHINE = ${UNAME_MACHINE} -UNAME_RELEASE = ${UNAME_RELEASE} -UNAME_SYSTEM = ${UNAME_SYSTEM} -UNAME_VERSION = ${UNAME_VERSION} -EOF - -exit 1 - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "timestamp='" -# time-stamp-format: "%:y-%02m-%02d" -# time-stamp-end: "'" -# End: diff --git a/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/config.log.svn-base b/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/config.log.svn-base deleted file mode 100644 index 6939c1e..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/config.log.svn-base +++ /dev/null @@ -1,542 +0,0 @@ -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by libsmtp-- configure 0.1, which was -generated by GNU Autoconf 2.53. Invocation command line was - - $ ./configure --prefix=/usr/local/libsmtp---0.1.0 - -## --------- ## -## Platform. ## -## --------- ## - -hostname = localhost.localdomain -uname -m = x86_64 -uname -r = 2.6.18-164.el5 -uname -s = Linux -uname -v = #1 SMP Tue Aug 18 15:51:48 EDT 2009 - -/usr/bin/uname -p = unknown -/bin/uname -X = unknown - -/bin/arch = x86_64 -/usr/bin/arch -k = unknown -/usr/convex/getsysinfo = unknown -hostinfo = unknown -/bin/machine = unknown -/usr/bin/oslevel = unknown -/bin/universe = unknown - -PATH: /usr/local/subversion-1.6.15/bin/ -PATH: /usr/local/doxygen/bin/ -PATH: /usr/local/ctags-5.8/bin/ -PATH: /usr/local/vim73/bin/ -PATH: /usr/local/httpd-2.3.8/bin/ -PATH: /usr/local/httpd-2.3.8/bin/ -PATH: /usr/local/ice/ThirdParty-Sources-3.4.0/bin/ -PATH: /usr/local/subversion-1.6.6/bin/ -PATH: /usr/local/sqult-3.6.11/bin/ -PATH: /usr/local/jdk1.6.0_21/bin/ -PATH: /usr/local/ruby-1.9.2/bin/ -PATH: /usr/lib64/qt-3.3/bin -PATH: /usr/kerberos/bin -PATH: /usr/local/bin -PATH: /usr/bin -PATH: /bin -PATH: /usr/X11R6/bin -PATH: /home/zheng.cuizh/bin - - -## ----------- ## -## Core tests. ## -## ----------- ## - -configure:1264: checking for gcc -configure:1280: found /usr/bin/gcc -configure:1290: result: gcc -configure:1534: checking for C compiler version -configure:1537: gcc --version &5 -gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46) -Copyright (C) 2006 Free Software Foundation, Inc. -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -configure:1540: $? = 0 -configure:1542: gcc -v &5 -Using built-in specs. -Target: x86_64-redhat-linux -Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux -Thread model: posix -gcc version 4.1.2 20080704 (Red Hat 4.1.2-46) -configure:1545: $? = 0 -configure:1547: gcc -V &5 -gcc: '-V' option must have argument -configure:1550: $? = 1 -configure:1576: checking for C compiler default output -configure:1579: gcc conftest.c >&5 -configure:1582: $? = 0 -configure:1615: result: a.out -configure:1620: checking whether the C compiler works -configure:1626: ./a.out -configure:1629: $? = 0 -configure:1644: result: yes -configure:1651: checking whether we are cross compiling -configure:1653: result: no -configure:1656: checking for suffix of executables -configure:1658: gcc -o conftest conftest.c >&5 -configure:1661: $? = 0 -configure:1683: result: -configure:1689: checking for suffix of object files -configure:1713: gcc -c conftest.c >&5 -configure:1716: $? = 0 -configure:1735: result: o -configure:1739: checking whether we are using the GNU C compiler -configure:1766: gcc -c conftest.c >&5 -configure:1769: $? = 0 -configure:1772: test -s conftest.o -configure:1775: $? = 0 -configure:1787: result: yes -configure:1793: checking whether gcc accepts -g -configure:1817: gcc -c -g conftest.c >&5 -configure:1820: $? = 0 -configure:1823: test -s conftest.o -configure:1826: $? = 0 -configure:1836: result: yes -configure:1863: gcc -c -g -O2 conftest.c >&5 -conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me' -configure:1866: $? = 1 -configure: failed program was: -#ifndef __cplusplus - choke me -#endif -configure:1976: checking whether make sets ${MAKE} -configure:1996: result: yes -configure:2042: checking for a BSD-compatible install -configure:2096: result: /usr/bin/install -c -configure:2172: checking how to run the C preprocessor -configure:2198: gcc -E conftest.c -configure:2204: $? = 0 -configure:2231: gcc -E conftest.c -configure:2227:28: error: ac_nonexistent.h: No such file or directory -configure:2237: $? = 1 -configure: failed program was: -#line 2226 "configure" -#include "confdefs.h" -#include -configure:2274: result: gcc -E -configure:2289: gcc -E conftest.c -configure:2295: $? = 0 -configure:2322: gcc -E conftest.c -configure:2318:28: error: ac_nonexistent.h: No such file or directory -configure:2328: $? = 1 -configure: failed program was: -#line 2317 "configure" -#include "confdefs.h" -#include -configure:2368: checking for ANSI C header files -configure:2382: gcc -E conftest.c -configure:2388: $? = 0 -configure:2475: gcc -o conftest -g -O2 conftest.c >&5 -configure: In function 'main': -configure:2466: warning: incompatible implicit declaration of built-in function 'exit' -configure:2478: $? = 0 -configure:2480: ./conftest -configure:2483: $? = 0 -configure:2497: result: yes -configure:2521: checking for sys/types.h -configure:2534: gcc -c -g -O2 conftest.c >&5 -configure:2537: $? = 0 -configure:2540: test -s conftest.o -configure:2543: $? = 0 -configure:2553: result: yes -configure:2521: checking for sys/stat.h -configure:2534: gcc -c -g -O2 conftest.c >&5 -configure:2537: $? = 0 -configure:2540: test -s conftest.o -configure:2543: $? = 0 -configure:2553: result: yes -configure:2521: checking for stdlib.h -configure:2534: gcc -c -g -O2 conftest.c >&5 -configure:2537: $? = 0 -configure:2540: test -s conftest.o -configure:2543: $? = 0 -configure:2553: result: yes -configure:2521: checking for string.h -configure:2534: gcc -c -g -O2 conftest.c >&5 -configure:2537: $? = 0 -configure:2540: test -s conftest.o -configure:2543: $? = 0 -configure:2553: result: yes -configure:2521: checking for memory.h -configure:2534: gcc -c -g -O2 conftest.c >&5 -configure:2537: $? = 0 -configure:2540: test -s conftest.o -configure:2543: $? = 0 -configure:2553: result: yes -configure:2521: checking for strings.h -configure:2534: gcc -c -g -O2 conftest.c >&5 -configure:2537: $? = 0 -configure:2540: test -s conftest.o -configure:2543: $? = 0 -configure:2553: result: yes -configure:2521: checking for inttypes.h -configure:2534: gcc -c -g -O2 conftest.c >&5 -configure:2537: $? = 0 -configure:2540: test -s conftest.o -configure:2543: $? = 0 -configure:2553: result: yes -configure:2521: checking for stdint.h -configure:2534: gcc -c -g -O2 conftest.c >&5 -configure:2537: $? = 0 -configure:2540: test -s conftest.o -configure:2543: $? = 0 -configure:2553: result: yes -configure:2521: checking for unistd.h -configure:2534: gcc -c -g -O2 conftest.c >&5 -configure:2537: $? = 0 -configure:2540: test -s conftest.o -configure:2543: $? = 0 -configure:2553: result: yes -configure:2575: checking arpa/inet.h usability -configure:2584: gcc -c -g -O2 conftest.c >&5 -configure:2587: $? = 0 -configure:2590: test -s conftest.o -configure:2593: $? = 0 -configure:2602: result: yes -configure:2606: checking arpa/inet.h presence -configure:2613: gcc -E conftest.c -configure:2619: $? = 0 -configure:2637: result: yes -configure:2655: checking for arpa/inet.h -configure:2662: result: yes -configure:2683: checking errno.h usability -configure:2692: gcc -c -g -O2 conftest.c >&5 -configure:2695: $? = 0 -configure:2698: test -s conftest.o -configure:2701: $? = 0 -configure:2710: result: yes -configure:2714: checking errno.h presence -configure:2721: gcc -E conftest.c -configure:2727: $? = 0 -configure:2745: result: yes -configure:2763: checking for errno.h -configure:2770: result: yes -configure:2791: checking libintl.h usability -configure:2800: gcc -c -g -O2 conftest.c >&5 -configure:2803: $? = 0 -configure:2806: test -s conftest.o -configure:2809: $? = 0 -configure:2818: result: yes -configure:2822: checking libintl.h presence -configure:2829: gcc -E conftest.c -configure:2835: $? = 0 -configure:2853: result: yes -configure:2871: checking for libintl.h -configure:2878: result: yes -configure:2899: checking locale.h usability -configure:2908: gcc -c -g -O2 conftest.c >&5 -configure:2911: $? = 0 -configure:2914: test -s conftest.o -configure:2917: $? = 0 -configure:2926: result: yes -configure:2930: checking locale.h presence -configure:2937: gcc -E conftest.c -configure:2943: $? = 0 -configure:2961: result: yes -configure:2979: checking for locale.h -configure:2986: result: yes -configure:3007: checking netdb.h usability -configure:3016: gcc -c -g -O2 conftest.c >&5 -configure:3019: $? = 0 -configure:3022: test -s conftest.o -configure:3025: $? = 0 -configure:3034: result: yes -configure:3038: checking netdb.h presence -configure:3045: gcc -E conftest.c -configure:3051: $? = 0 -configure:3069: result: yes -configure:3087: checking for netdb.h -configure:3094: result: yes -configure:3115: checking netinet/in.h usability -configure:3124: gcc -c -g -O2 conftest.c >&5 -configure:3127: $? = 0 -configure:3130: test -s conftest.o -configure:3133: $? = 0 -configure:3142: result: yes -configure:3146: checking netinet/in.h presence -configure:3153: gcc -E conftest.c -configure:3159: $? = 0 -configure:3177: result: yes -configure:3195: checking for netinet/in.h -configure:3202: result: yes -configure:3223: checking stdio.h usability -configure:3232: gcc -c -g -O2 conftest.c >&5 -configure:3235: $? = 0 -configure:3238: test -s conftest.o -configure:3241: $? = 0 -configure:3250: result: yes -configure:3254: checking stdio.h presence -configure:3261: gcc -E conftest.c -configure:3267: $? = 0 -configure:3285: result: yes -configure:3303: checking for stdio.h -configure:3310: result: yes -configure:3322: checking for stdlib.h -configure:3327: result: yes -configure:3430: checking for string.h -configure:3435: result: yes -configure:3538: checking for strings.h -configure:3543: result: yes -configure:3655: checking sys/socket.h usability -configure:3664: gcc -c -g -O2 conftest.c >&5 -configure:3667: $? = 0 -configure:3670: test -s conftest.o -configure:3673: $? = 0 -configure:3682: result: yes -configure:3686: checking sys/socket.h presence -configure:3693: gcc -E conftest.c -configure:3699: $? = 0 -configure:3717: result: yes -configure:3735: checking for sys/socket.h -configure:3742: result: yes -configure:3763: checking sys/time.h usability -configure:3772: gcc -c -g -O2 conftest.c >&5 -configure:3775: $? = 0 -configure:3778: test -s conftest.o -configure:3781: $? = 0 -configure:3790: result: yes -configure:3794: checking sys/time.h presence -configure:3801: gcc -E conftest.c -configure:3807: $? = 0 -configure:3825: result: yes -configure:3843: checking for sys/time.h -configure:3850: result: yes -configure:3862: checking for unistd.h -configure:3867: result: yes -configure:3980: checking openssl/sha.h usability -configure:3989: gcc -c -g -O2 conftest.c >&5 -configure:3992: $? = 0 -configure:3995: test -s conftest.o -configure:3998: $? = 0 -configure:4007: result: yes -configure:4011: checking openssl/sha.h presence -configure:4018: gcc -E conftest.c -configure:4024: $? = 0 -configure:4042: result: yes -configure:4060: checking for openssl/sha.h -configure:4067: result: yes -configure:4090: checking openssl/md5.h usability -configure:4099: gcc -c -g -O2 conftest.c >&5 -configure:4102: $? = 0 -configure:4105: test -s conftest.o -configure:4108: $? = 0 -configure:4117: result: yes -configure:4121: checking openssl/md5.h presence -configure:4128: gcc -E conftest.c -configure:4134: $? = 0 -configure:4152: result: yes -configure:4170: checking for openssl/md5.h -configure:4177: result: yes -configure:4200: checking openssl/hmac.h usability -configure:4209: gcc -c -g -O2 conftest.c >&5 -configure:4212: $? = 0 -configure:4215: test -s conftest.o -configure:4218: $? = 0 -configure:4227: result: yes -configure:4231: checking openssl/hmac.h presence -configure:4238: gcc -E conftest.c -configure:4244: $? = 0 -configure:4262: result: yes -configure:4280: checking for openssl/hmac.h -configure:4287: result: yes -configure:4300: checking for gettext -configure:4343: gcc -o conftest -g -O2 conftest.c >&5 -configure:4315: warning: conflicting types for built-in function 'gettext' -configure:4346: $? = 0 -configure:4349: test -s conftest -configure:4352: $? = 0 -configure:4362: result: yes -configure:4439: checking for socket -configure:4482: gcc -o conftest -g -O2 conftest.c >&5 -configure:4485: $? = 0 -configure:4488: test -s conftest -configure:4491: $? = 0 -configure:4501: result: yes -configure:4578: checking for gethostbyname -configure:4621: gcc -o conftest -g -O2 conftest.c >&5 -configure:4624: $? = 0 -configure:4627: test -s conftest -configure:4630: $? = 0 -configure:4640: result: yes -configure:4723: checking for dlopen -configure:4766: gcc -o conftest -g -O2 conftest.c >&5 -/tmp/ccC83RKW.o: In function `main': -/home/zheng.cuizh/libsmtp---0.1.0/configure:4756: undefined reference to `dlopen' -collect2: ld returned 1 exit status -configure:4769: $? = 1 -configure: failed program was: -#line 4728 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char dlopen (); below. */ -#include -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char dlopen (); -char (*f) (); - -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_dlopen) || defined (__stub___dlopen) -choke me -#else -f = dlopen; -#endif - - ; - return 0; -} -configure:4785: result: no -configure:4791: checking for dlopen in -ldl -configure:4824: gcc -o conftest -g -O2 conftest.c -ldl >&5 -configure:4827: $? = 0 -configure:4830: test -s conftest -configure:4833: $? = 0 -configure:4844: result: yes -configure:4865: checking for HMAC in -lssl -configure:4898: gcc -o conftest -g -O2 conftest.c -lssl -ldl >&5 -configure:4901: $? = 0 -configure:4904: test -s conftest -configure:4907: $? = 0 -configure:4918: result: yes -configure:5059: checking for gcc option to accept ANSI C -configure:5122: gcc -c -g -O2 conftest.c >&5 -configure:5125: $? = 0 -configure:5128: test -s conftest.o -configure:5131: $? = 0 -configure:5148: result: none needed -configure:5156: checking for an ANSI C-conforming const -configure:5226: gcc -c -g -O2 conftest.c >&5 -configure:5229: $? = 0 -configure:5232: test -s conftest.o -configure:5235: $? = 0 -configure:5245: result: yes -configure:5257: checking for ANSI C header files -configure:5386: result: yes -configure:5658: creating ./config.status - -## ---------------------- ## -## Running config.status. ## -## ---------------------- ## - -This file was extended by libsmtp-- config.status 0.1, which was -generated by GNU Autoconf 2.53. Invocation command line was - - CONFIG_FILES = - CONFIG_HEADERS = - CONFIG_LINKS = - CONFIG_COMMANDS = - $ ./config.status - -on localhost.localdomain - -config.status:576: creating Makefile -config.status:576: creating src/Makefile -config.status:576: creating src/plugins/Makefile - -## ---------------- ## -## Cache variables. ## -## ---------------- ## - -ac_cv_c_compiler_gnu=yes -ac_cv_c_const=yes -ac_cv_env_CC_set= -ac_cv_env_CC_value= -ac_cv_env_CFLAGS_set= -ac_cv_env_CFLAGS_value= -ac_cv_env_CPPFLAGS_set= -ac_cv_env_CPPFLAGS_value= -ac_cv_env_CPP_set= -ac_cv_env_CPP_value= -ac_cv_env_LDFLAGS_set= -ac_cv_env_LDFLAGS_value= -ac_cv_env_build_alias_set= -ac_cv_env_build_alias_value= -ac_cv_env_host_alias_set= -ac_cv_env_host_alias_value= -ac_cv_env_target_alias_set= -ac_cv_env_target_alias_value= -ac_cv_exeext= -ac_cv_func_dlopen=no -ac_cv_func_gethostbyname=yes -ac_cv_func_gettext=yes -ac_cv_func_socket=yes -ac_cv_header_arpa_inet_h=yes -ac_cv_header_errno_h=yes -ac_cv_header_inttypes_h=yes -ac_cv_header_libintl_h=yes -ac_cv_header_locale_h=yes -ac_cv_header_memory_h=yes -ac_cv_header_netdb_h=yes -ac_cv_header_netinet_in_h=yes -ac_cv_header_openssl_hmac_h=yes -ac_cv_header_openssl_md5_h=yes -ac_cv_header_openssl_sha_h=yes -ac_cv_header_stdc=yes -ac_cv_header_stdint_h=yes -ac_cv_header_stdio_h=yes -ac_cv_header_stdlib_h=yes -ac_cv_header_string_h=yes -ac_cv_header_strings_h=yes -ac_cv_header_sys_socket_h=yes -ac_cv_header_sys_stat_h=yes -ac_cv_header_sys_time_h=yes -ac_cv_header_sys_types_h=yes -ac_cv_header_unistd_h=yes -ac_cv_lib_dl_dlopen=yes -ac_cv_lib_ssl_HMAC=yes -ac_cv_objext=o -ac_cv_path_install='/usr/bin/install -c' -ac_cv_prog_CPP='gcc -E' -ac_cv_prog_ac_ct_CC=gcc -ac_cv_prog_cc_g=yes -ac_cv_prog_cc_stdc= -ac_cv_prog_make_make_set=yes - -## ----------- ## -## confdefs.h. ## -## ----------- ## - -#define PACKAGE_NAME "libsmtp--" -#define PACKAGE_TARNAME "libsmtp--" -#define PACKAGE_VERSION "0.1" -#define PACKAGE_STRING "libsmtp-- 0.1" -#define PACKAGE_BUGREPORT "Timo Benk " -#define STDC_HEADERS 1 -#define HAVE_SYS_TYPES_H 1 -#define HAVE_SYS_STAT_H 1 -#define HAVE_STDLIB_H 1 -#define HAVE_STRING_H 1 -#define HAVE_MEMORY_H 1 -#define HAVE_STRINGS_H 1 -#define HAVE_INTTYPES_H 1 -#define HAVE_STDINT_H 1 -#define HAVE_UNISTD_H 1 -#define HAVE_LIBDL 1 -#define STDC_HEADERS 1 - -configure: exit 0 diff --git a/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/config.status.svn-base b/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/config.status.svn-base deleted file mode 100644 index 272a191..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/config.status.svn-base +++ /dev/null @@ -1,650 +0,0 @@ -#! /bin/sh -# Generated by configure. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -debug=false -SHELL=${CONFIG_SHELL-/bin/sh} - -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## - -# Be Bourne compatible -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then - set -o posix -fi - -# NLS nuisances. -# Support unset when possible. -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - -(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && - { $as_unset LANG || test "${LANG+set}" != set; } || - { LANG=C; export LANG; } -(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && - { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || - { LC_ALL=C; export LC_ALL; } -(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && - { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || - { LC_TIME=C; export LC_TIME; } -(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && - { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || - { LC_CTYPE=C; export LC_CTYPE; } -(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && - { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || - { LANGUAGE=C; export LANGUAGE; } -(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && - { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || - { LC_COLLATE=C; export LC_COLLATE; } -(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && - { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || - { LC_NUMERIC=C; export LC_NUMERIC; } -(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && - { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || - { LC_MESSAGES=C; export LC_MESSAGES; } - - -# Name of the executable. -as_me=`(basename "$0") 2>/dev/null || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)$' \| \ - . : '\(.\)' 2>/dev/null || -echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } - /^X\/\(\/\/\)$/{ s//\1/; q; } - /^X\/\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` - -# PATH needs CR, and LINENO needs CR and PATH. -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conftest.sh - echo "exit 0" >>conftest.sh - chmod +x conftest.sh - if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conftest.sh -fi - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x$as_lineno_3" = "x$as_lineno_2" || { - # Find who we are. Look in the path if we contain no path at all - # relative or not. - case $0 in - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done - - ;; - esac - # We did not find ourselves, most probably we were run as `sh COMMAND' - # in which case we are not to be found in the path. - if test "x$as_myself" = x; then - as_myself=$0 - fi - if test ! -f "$as_myself"; then - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} - { (exit 1); exit 1; }; } - fi - case $CONFIG_SHELL in - '') - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for as_base in sh bash ksh sh5; do - case $as_dir in - /*) - if ("$as_dir/$as_base" -c ' - as_lineno_1=$LINENO - as_lineno_2=$LINENO - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then - CONFIG_SHELL=$as_dir/$as_base - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$0" ${1+"$@"} - fi;; - esac - done -done -;; - esac - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line before each line; the second 'sed' does the real - # work. The second script uses 'N' to pair each line-number line - # with the numbered line, and appends trailing '-' during - # substitution so that $LINENO is not a special case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) - sed '=' <$as_myself | - sed ' - N - s,$,-, - : loop - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, - t loop - s,-$,, - s,^['$as_cr_digits']*\n,, - ' >$as_me.lineno && - chmod +x $as_me.lineno || - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensible to this). - . ./$as_me.lineno - # Exit status is that of the last command. - exit -} - - -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in - *c*,-n*) ECHO_N= ECHO_C=' -' ECHO_T=' ' ;; - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; - *) ECHO_N= ECHO_C='\c' ECHO_T= ;; -esac - -if expr a : '\(a\)' >/dev/null 2>&1; then - as_expr=expr -else - as_expr=false -fi - -rm -f conf$$ conf$$.exe conf$$.file -echo >conf$$.file -if ln -s conf$$.file conf$$ 2>/dev/null; then - # We could just check for DJGPP; but this test a) works b) is more generic - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). - if test -f conf$$.exe; then - # Don't use ln at all; we don't have any links - as_ln_s='cp -p' - else - as_ln_s='ln -s' - fi -elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.file - -as_executable_p="test -f" - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" - - -# IFS -# We need space, tab and new line, in precisely that order. -as_nl=' -' -IFS=" $as_nl" - -# CDPATH. -$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } - -exec 6>&1 - -# Open the log real soon, to keep \$[0] and so on meaningful, and to -# report actual input values of CONFIG_FILES etc. instead of their -# values after options handling. Logging --version etc. is OK. -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX -## Running $as_me. ## -_ASBOX -} >&5 -cat >&5 <<_CSEOF - -This file was extended by libsmtp-- $as_me 0.1, which was -generated by GNU Autoconf 2.53. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ - -_CSEOF -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 -echo >&5 -config_files=" Makefile src/Makefile src/plugins/Makefile" - -ac_cs_usage="\ -\`$as_me' instantiates files from templates according to the -current configuration. - -Usage: $0 [OPTIONS] [FILE]... - - -h, --help print this help, then exit - -V, --version print version number, then exit - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - -Configuration files: -$config_files - -Report bugs to ." -ac_cs_version="\ -libsmtp-- config.status 0.1 -configured by ./configure, generated by GNU Autoconf 2.53, - with options \"'--prefix=/usr/local/libsmtp---0.1.0'\" - -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 -Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." -srcdir=. -INSTALL="/usr/bin/install -c" -# If no file are specified by the user, then we need to provide default -# value. By we need to know if files were specified by the user. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=*) - ac_option=`expr "x$1" : 'x\([^=]*\)='` - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` - shift - set dummy "$ac_option" "$ac_optarg" ${1+"$@"} - shift - ;; - -*);; - *) # This is not an option, so the user has probably given explicit - # arguments. - ac_need_defaults=false;; - esac - - case $1 in - # Handling of the options. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - echo "running /bin/sh ./configure " '--prefix=/usr/local/libsmtp---0.1.0' " --no-create --no-recursion" - exec /bin/sh ./configure '--prefix=/usr/local/libsmtp---0.1.0' --no-create --no-recursion ;; - --version | --vers* | -V ) - echo "$ac_cs_version"; exit 0 ;; - --he | --h) - # Conflict between --help and --header - { { echo "$as_me:$LINENO: error: ambiguous option: $1 -Try \`$0 --help' for more information." >&5 -echo "$as_me: error: ambiguous option: $1 -Try \`$0 --help' for more information." >&2;} - { (exit 1); exit 1; }; };; - --help | --hel | -h ) - echo "$ac_cs_usage"; exit 0 ;; - --debug | --d* | -d ) - debug=: ;; - --file | --fil | --fi | --f ) - shift - CONFIG_FILES="$CONFIG_FILES $1" - ac_need_defaults=false;; - --header | --heade | --head | --hea ) - shift - CONFIG_HEADERS="$CONFIG_HEADERS $1" - ac_need_defaults=false;; - - # This is an error. - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 -Try \`$0 --help' for more information." >&5 -echo "$as_me: error: unrecognized option: $1 -Try \`$0 --help' for more information." >&2;} - { (exit 1); exit 1; }; } ;; - - *) ac_config_targets="$ac_config_targets $1" ;; - - esac - shift -done - -for ac_config_target in $ac_config_targets -do - case "$ac_config_target" in - # Handling of arguments. - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; - "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; - "src/plugins/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;; - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;} - { (exit 1); exit 1; }; };; - esac -done - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files -fi - -# Create a temporary directory, and hook for its removal unless debugging. -$debug || -{ - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 - trap '{ (exit 1); exit 1; }' 1 2 13 15 -} - -# Create a (secure) tmp directory for tmp files. -: ${TMPDIR=/tmp} -{ - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=$TMPDIR/cs$$-$RANDOM - (umask 077 && mkdir $tmp) -} || -{ - echo "$me: cannot create a temporary directory in $TMPDIR" >&2 - { (exit 1); exit 1; } -} - - -# -# CONFIG_FILES section. -# - -# No need to generate the scripts if there are no CONFIG_FILES. -# This happens for instance when ./config.status config.h -if test -n "$CONFIG_FILES"; then - # Protect against being on the right side of a sed subst in config.status. - sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g; - s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF -s,@SHELL@,/bin/sh,;t t -s,@PATH_SEPARATOR@,:,;t t -s,@PACKAGE_NAME@,libsmtp--,;t t -s,@PACKAGE_TARNAME@,libsmtp--,;t t -s,@PACKAGE_VERSION@,0.1,;t t -s,@PACKAGE_STRING@,libsmtp-- 0.1,;t t -s,@PACKAGE_BUGREPORT@,Timo Benk ,;t t -s,@exec_prefix@,${prefix},;t t -s,@prefix@,/usr/local/libsmtp---0.1.0,;t t -s,@program_transform_name@,s,x,x,,;t t -s,@bindir@,${exec_prefix}/bin,;t t -s,@sbindir@,${exec_prefix}/sbin,;t t -s,@libexecdir@,${exec_prefix}/libexec,;t t -s,@datadir@,${prefix}/share,;t t -s,@sysconfdir@,${prefix}/etc,;t t -s,@sharedstatedir@,${prefix}/com,;t t -s,@localstatedir@,${prefix}/var,;t t -s,@libdir@,${exec_prefix}/lib,;t t -s,@includedir@,${prefix}/include,;t t -s,@oldincludedir@,/usr/include,;t t -s,@infodir@,${prefix}/info,;t t -s,@mandir@,${prefix}/man,;t t -s,@build_alias@,,;t t -s,@host_alias@,,;t t -s,@target_alias@,,;t t -s,@DEFS@,-DPACKAGE_NAME=\"libsmtp--\" -DPACKAGE_TARNAME=\"libsmtp--\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"libsmtp--\ 0.1\" -DPACKAGE_BUGREPORT=\"Timo\ Benk\ \\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 ,;t t -s,@ECHO_C@,,;t t -s,@ECHO_N@,-n,;t t -s,@ECHO_T@,,;t t -s,@LIBS@,-ldl -lssl,;t t -s,@CC@,gcc,;t t -s,@CFLAGS@,-g -O2 -pedantic -fno-builtin-log -fPIC -Os -Wall -DPLUGINDIR=\"$(libdir)/libsmtp--/plugins\" -DLOCALEDIR=\"$(sharedir)/locale\" -DTEXTDOMAIN=\"libsmtp--\",;t t -s,@LDFLAGS@, -s -shared -nostartfiles -Wl,-hlibsmtp--.so.$(LIBVER),;t t -s,@CPPFLAGS@,,;t t -s,@ac_ct_CC@,gcc,;t t -s,@EXEEXT@,,;t t -s,@OBJEXT@,o,;t t -s,@SET_MAKE@,,;t t -s,@INSTALL_PROGRAM@,${INSTALL},;t t -s,@INSTALL_SCRIPT@,${INSTALL},;t t -s,@INSTALL_DATA@,${INSTALL} -m 644,;t t -s,@CPP@,gcc -E,;t t -s,@objs@,$(SSL_OBJS) $(NO_SSL_OBJS),;t t -s,@hdrs@,includes/ssl/*.h,;t t -s,@ssl@,-D__USE_SSL_,;t t -s,@lib_nam@,libsmtp--,;t t -s,@lib_ver_major@,0,;t t -s,@lib_ver_minor@,1,;t t -s,@lib_ver_release@,0,;t t -s,@lib_ext@,so,;t t -s,@macos_dlfcn@,,;t t -s,@ldflags_plg@, -s -shared -nostartfiles,;t t -s,@bldtyp_lib@,,;t t -s,@bldtyp_plg@,,;t t -s,@libs_plg@,,;t t -s,@strip@,strip --remove-section=.note --remove-section=.comment,;t t -s,@macosx_deployment_target@,,;t t -CEOF - - # Split the substitutions into bite-sized pieces for seds with - # small command number limits, like on Digital OSF/1 and HP-UX. - ac_max_sed_lines=48 - ac_sed_frag=1 # Number of current file. - ac_beg=1 # First line for current file. - ac_end=$ac_max_sed_lines # Line after last line for current file. - ac_more_lines=: - ac_sed_cmds= - while $ac_more_lines; do - if test $ac_beg -gt 1; then - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag - else - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag - fi - if test ! -s $tmp/subs.frag; then - ac_more_lines=false - else - # The purpose of the label and of the branching condition is to - # speed up the sed processing (if there are no `@' at all, there - # is no need to browse any of the substitutions). - # These are the two extra sed commands mentioned above. - (echo ':t - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed - if test -z "$ac_sed_cmds"; then - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" - else - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" - fi - ac_sed_frag=`expr $ac_sed_frag + 1` - ac_beg=$ac_end - ac_end=`expr $ac_end + $ac_max_sed_lines` - fi - done - if test -z "$ac_sed_cmds"; then - ac_sed_cmds=cat - fi -fi # test -n "$CONFIG_FILES" - -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". - case $ac_file in - - | *:- | *:-:* ) # input from stdin - cat >$tmp/stdin - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; - * ) ac_file_in=$ac_file.in ;; - esac - - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. - ac_dir=`(dirname "$ac_file") 2>/dev/null || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| \ - . : '\(.\)' 2>/dev/null || -echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } - /^X\(\/\/\)[^/].*/{ s//\1/; q; } - /^X\(\/\/\)$/{ s//\1/; q; } - /^X\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` - { case "$ac_dir" in - [\\/]* | ?:[\\/]* ) as_incr_dir=;; - *) as_incr_dir=.;; -esac -as_dummy="$ac_dir" -for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do - case $as_mkdir_dir in - # Skip DOS drivespec - ?:) as_incr_dir=$as_mkdir_dir ;; - *) - as_incr_dir=$as_incr_dir/$as_mkdir_dir - test -d "$as_incr_dir" || - mkdir "$as_incr_dir" || - { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 -echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} - { (exit 1); exit 1; }; } - ;; - esac -done; } - - ac_builddir=. - -if test "$ac_dir" != .; then - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` - # A "../" for each directory in $ac_dir_suffix. - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` -else - ac_dir_suffix= ac_top_builddir= -fi - -case $srcdir in - .) # No --srcdir option. We are building in place. - ac_srcdir=. - if test -z "$ac_top_builddir"; then - ac_top_srcdir=. - else - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` - fi ;; - [\\/]* | ?:[\\/]* ) # Absolute path. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir ;; - *) # Relative path. - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_builddir$srcdir ;; -esac -# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be -# absolute. -ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` -ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` -ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` - - - case $INSTALL in - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; - *) ac_INSTALL=$ac_top_builddir$INSTALL ;; - esac - - if test x"$ac_file" != x-; then - { echo "$as_me:$LINENO: creating $ac_file" >&5 -echo "$as_me: creating $ac_file" >&6;} - rm -f "$ac_file" - fi - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - if test x"$ac_file" = x-; then - configure_input= - else - configure_input="$ac_file. " - fi - configure_input=$configure_input"Generated from `echo $ac_file_in | - sed 's,.*/,,'` by configure." - - # First look for the input files in the build tree, otherwise in the - # src tree. - ac_file_inputs=`IFS=: - for f in $ac_file_in; do - case $f in - -) echo $tmp/stdin ;; - [\\/$]*) - # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 -echo "$as_me: error: cannot find input file: $f" >&2;} - { (exit 1); exit 1; }; } - echo $f;; - *) # Relative - if test -f "$f"; then - # Build tree - echo $f - elif test -f "$srcdir/$f"; then - # Source tree - echo $srcdir/$f - else - # /dev/null tree - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 -echo "$as_me: error: cannot find input file: $f" >&2;} - { (exit 1); exit 1; }; } - fi;; - esac - done` || { (exit 1); exit 1; } - sed "/^[ ]*VPATH[ ]*=/{ -s/:*\$(srcdir):*/:/; -s/:*\${srcdir}:*/:/; -s/:*@srcdir@:*/:/; -s/^\([^=]*=[ ]*\):*/\1/; -s/:*$//; -s/^[^=]*=[ ]*$//; -} - -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s,@configure_input@,$configure_input,;t t -s,@srcdir@,$ac_srcdir,;t t -s,@abs_srcdir@,$ac_abs_srcdir,;t t -s,@top_srcdir@,$ac_top_srcdir,;t t -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t -s,@builddir@,$ac_builddir,;t t -s,@abs_builddir@,$ac_abs_builddir,;t t -s,@top_builddir@,$ac_top_builddir,;t t -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t -s,@INSTALL@,$ac_INSTALL,;t t -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out - rm -f $tmp/stdin - if test x"$ac_file" != x-; then - mv $tmp/out $ac_file - else - cat $tmp/out - rm -f $tmp/out - fi - -done - -{ (exit 0); exit 0; } diff --git a/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/config.sub.svn-base b/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/config.sub.svn-base deleted file mode 100644 index f365797..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/config.sub.svn-base +++ /dev/null @@ -1,1443 +0,0 @@ -#! /bin/sh -# Configuration validation subroutine script. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002 Free Software Foundation, Inc. - -timestamp='2002-03-07' - -# This file is (in principle) common to ALL GNU software. -# The presence of a machine in this file suggests that SOME GNU software -# can handle that machine. It does not imply ALL GNU software can. -# -# This file is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, -# Boston, MA 02111-1307, USA. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# Please send patches to . Submit a context -# diff and a properly formatted ChangeLog entry. -# -# Configuration subroutine to validate and canonicalize a configuration type. -# Supply the specified configuration type as an argument. -# If it is invalid, we print an error message on stderr and exit with code 1. -# Otherwise, we print the canonical config type on stdout and succeed. - -# This file is supposed to be the same for all GNU packages -# and recognize all the CPU types, system types and aliases -# that are meaningful with *any* GNU software. -# Each package is responsible for reporting which valid configurations -# it does not support. The user should be able to distinguish -# a failure to support a valid configuration from a meaningless -# configuration. - -# The goal of this file is to map all the various variations of a given -# machine specification into a single specification in the form: -# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM -# or in some cases, the newer four-part form: -# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM -# It is wrong to echo any other type of specification. - -me=`echo "$0" | sed -e 's,.*/,,'` - -usage="\ -Usage: $0 [OPTION] CPU-MFR-OPSYS - $0 [OPTION] ALIAS - -Canonicalize a configuration name. - -Operation modes: - -h, --help print this help, then exit - -t, --time-stamp print date of last modification, then exit - -v, --version print version number, then exit - -Report bugs and patches to ." - -version="\ -GNU config.sub ($timestamp) - -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -Free Software Foundation, Inc. - -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." - -help=" -Try \`$me --help' for more information." - -# Parse command line -while test $# -gt 0 ; do - case $1 in - --time-stamp | --time* | -t ) - echo "$timestamp" ; exit 0 ;; - --version | -v ) - echo "$version" ; exit 0 ;; - --help | --h* | -h ) - echo "$usage"; exit 0 ;; - -- ) # Stop option processing - shift; break ;; - - ) # Use stdin as input. - break ;; - -* ) - echo "$me: invalid option $1$help" - exit 1 ;; - - *local*) - # First pass through any local machine types. - echo $1 - exit 0;; - - * ) - break ;; - esac -done - -case $# in - 0) echo "$me: missing argument$help" >&2 - exit 1;; - 1) ;; - *) echo "$me: too many arguments$help" >&2 - exit 1;; -esac - -# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). -# Here we must recognize all the valid KERNEL-OS combinations. -maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` -case $maybe_os in - nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*) - os=-$maybe_os - basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` - ;; - *) - basic_machine=`echo $1 | sed 's/-[^-]*$//'` - if [ $basic_machine != $1 ] - then os=`echo $1 | sed 's/.*-/-/'` - else os=; fi - ;; -esac - -### Let's recognize common machines as not being operating systems so -### that things like config.sub decstation-3100 work. We also -### recognize some manufacturers as not being operating systems, so we -### can provide default operating systems below. -case $os in - -sun*os*) - # Prevent following clause from handling this invalid input. - ;; - -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ - -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ - -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ - -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ - -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ - -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple | -axis) - os= - basic_machine=$1 - ;; - -sim | -cisco | -oki | -wec | -winbond) - os= - basic_machine=$1 - ;; - -scout) - ;; - -wrs) - os=-vxworks - basic_machine=$1 - ;; - -chorusos*) - os=-chorusos - basic_machine=$1 - ;; - -chorusrdb) - os=-chorusrdb - basic_machine=$1 - ;; - -hiux*) - os=-hiuxwe2 - ;; - -sco5) - os=-sco3.2v5 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco4) - os=-sco3.2v4 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2.[4-9]*) - os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2v[4-9]*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco*) - os=-sco3.2v2 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -udk*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -isc) - os=-isc2.2 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -clix*) - basic_machine=clipper-intergraph - ;; - -isc*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -lynx*) - os=-lynxos - ;; - -ptx*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` - ;; - -windowsnt*) - os=`echo $os | sed -e 's/windowsnt/winnt/'` - ;; - -psos*) - os=-psos - ;; - -mint | -mint[0-9]*) - basic_machine=m68k-atari - os=-mint - ;; -esac - -# Decode aliases for certain CPU-COMPANY combinations. -case $basic_machine in - # Recognize the basic CPU types without company name. - # Some are omitted here because they have special meanings below. - 1750a | 580 \ - | a29k \ - | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ - | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ - | c4x | clipper \ - | d10v | d30v | dsp16xx \ - | fr30 \ - | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ - | i370 | i860 | i960 | ia64 \ - | m32r | m68000 | m68k | m88k | mcore \ - | mips | mips16 | mips64 | mips64el | mips64orion | mips64orionel \ - | mips64vr4100 | mips64vr4100el | mips64vr4300 \ - | mips64vr4300el | mips64vr5000 | mips64vr5000el \ - | mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \ - | mipsisa32 | mipsisa64 \ - | mn10200 | mn10300 \ - | ns16k | ns32k \ - | openrisc | or32 \ - | pdp10 | pdp11 | pj | pjl \ - | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ - | pyramid \ - | sh | sh[34] | sh[34]eb | shbe | shle | sh64 \ - | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \ - | strongarm \ - | tahoe | thumb | tic80 | tron \ - | v850 | v850e \ - | we32k \ - | x86 | xscale | xstormy16 | xtensa \ - | z8k) - basic_machine=$basic_machine-unknown - ;; - m6811 | m68hc11 | m6812 | m68hc12) - # Motorola 68HC11/12. - basic_machine=$basic_machine-unknown - os=-none - ;; - m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) - ;; - - # We use `pc' rather than `unknown' - # because (1) that's what they normally are, and - # (2) the word "unknown" tends to confuse beginning users. - i*86 | x86_64) - basic_machine=$basic_machine-pc - ;; - # Object if more than one company name word. - *-*-*) - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 - exit 1 - ;; - # Recognize the basic CPU types with company name. - 580-* \ - | a29k-* \ - | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ - | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ - | arm-* | armbe-* | armle-* | armv*-* \ - | avr-* \ - | bs2000-* \ - | c[123]* | c30-* | [cjt]90-* | c54x-* \ - | clipper-* | cydra-* \ - | d10v-* | d30v-* \ - | elxsi-* \ - | f30[01]-* | f700-* | fr30-* | fx80-* \ - | h8300-* | h8500-* \ - | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ - | i*86-* | i860-* | i960-* | ia64-* \ - | m32r-* \ - | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ - | m88110-* | m88k-* | mcore-* \ - | mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \ - | mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \ - | mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipseb-* \ - | mipsle-* | mipsel-* | mipstx39-* | mipstx39el-* \ - | none-* | np1-* | ns16k-* | ns32k-* \ - | orion-* \ - | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ - | pyramid-* \ - | romp-* | rs6000-* \ - | sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* | sh64-* \ - | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ - | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ - | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \ - | v850-* | v850e-* | vax-* \ - | we32k-* \ - | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ - | xtensa-* \ - | ymp-* \ - | z8k-*) - ;; - # Recognize the various machine names and aliases which stand - # for a CPU type and a company and sometimes even an OS. - 386bsd) - basic_machine=i386-unknown - os=-bsd - ;; - 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) - basic_machine=m68000-att - ;; - 3b*) - basic_machine=we32k-att - ;; - a29khif) - basic_machine=a29k-amd - os=-udi - ;; - adobe68k) - basic_machine=m68010-adobe - os=-scout - ;; - alliant | fx80) - basic_machine=fx80-alliant - ;; - altos | altos3068) - basic_machine=m68k-altos - ;; - am29k) - basic_machine=a29k-none - os=-bsd - ;; - amdahl) - basic_machine=580-amdahl - os=-sysv - ;; - amiga | amiga-*) - basic_machine=m68k-unknown - ;; - amigaos | amigados) - basic_machine=m68k-unknown - os=-amigaos - ;; - amigaunix | amix) - basic_machine=m68k-unknown - os=-sysv4 - ;; - apollo68) - basic_machine=m68k-apollo - os=-sysv - ;; - apollo68bsd) - basic_machine=m68k-apollo - os=-bsd - ;; - aux) - basic_machine=m68k-apple - os=-aux - ;; - balance) - basic_machine=ns32k-sequent - os=-dynix - ;; - c90) - basic_machine=c90-cray - os=-unicos - ;; - convex-c1) - basic_machine=c1-convex - os=-bsd - ;; - convex-c2) - basic_machine=c2-convex - os=-bsd - ;; - convex-c32) - basic_machine=c32-convex - os=-bsd - ;; - convex-c34) - basic_machine=c34-convex - os=-bsd - ;; - convex-c38) - basic_machine=c38-convex - os=-bsd - ;; - cray | j90) - basic_machine=j90-cray - os=-unicos - ;; - crds | unos) - basic_machine=m68k-crds - ;; - cris | cris-* | etrax*) - basic_machine=cris-axis - ;; - da30 | da30-*) - basic_machine=m68k-da30 - ;; - decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) - basic_machine=mips-dec - ;; - decsystem10* | dec10*) - basic_machine=pdp10-dec - os=-tops10 - ;; - decsystem20* | dec20*) - basic_machine=pdp10-dec - os=-tops20 - ;; - delta | 3300 | motorola-3300 | motorola-delta \ - | 3300-motorola | delta-motorola) - basic_machine=m68k-motorola - ;; - delta88) - basic_machine=m88k-motorola - os=-sysv3 - ;; - dpx20 | dpx20-*) - basic_machine=rs6000-bull - os=-bosx - ;; - dpx2* | dpx2*-bull) - basic_machine=m68k-bull - os=-sysv3 - ;; - ebmon29k) - basic_machine=a29k-amd - os=-ebmon - ;; - elxsi) - basic_machine=elxsi-elxsi - os=-bsd - ;; - encore | umax | mmax) - basic_machine=ns32k-encore - ;; - es1800 | OSE68k | ose68k | ose | OSE) - basic_machine=m68k-ericsson - os=-ose - ;; - fx2800) - basic_machine=i860-alliant - ;; - genix) - basic_machine=ns32k-ns - ;; - gmicro) - basic_machine=tron-gmicro - os=-sysv - ;; - go32) - basic_machine=i386-pc - os=-go32 - ;; - h3050r* | hiux*) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - h8300hms) - basic_machine=h8300-hitachi - os=-hms - ;; - h8300xray) - basic_machine=h8300-hitachi - os=-xray - ;; - h8500hms) - basic_machine=h8500-hitachi - os=-hms - ;; - harris) - basic_machine=m88k-harris - os=-sysv3 - ;; - hp300-*) - basic_machine=m68k-hp - ;; - hp300bsd) - basic_machine=m68k-hp - os=-bsd - ;; - hp300hpux) - basic_machine=m68k-hp - os=-hpux - ;; - hp3k9[0-9][0-9] | hp9[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hp9k2[0-9][0-9] | hp9k31[0-9]) - basic_machine=m68000-hp - ;; - hp9k3[2-9][0-9]) - basic_machine=m68k-hp - ;; - hp9k6[0-9][0-9] | hp6[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hp9k7[0-79][0-9] | hp7[0-79][0-9]) - basic_machine=hppa1.1-hp - ;; - hp9k78[0-9] | hp78[0-9]) - # FIXME: really hppa2.0-hp - basic_machine=hppa1.1-hp - ;; - hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) - # FIXME: really hppa2.0-hp - basic_machine=hppa1.1-hp - ;; - hp9k8[0-9][13679] | hp8[0-9][13679]) - basic_machine=hppa1.1-hp - ;; - hp9k8[0-9][0-9] | hp8[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hppa-next) - os=-nextstep3 - ;; - hppaosf) - basic_machine=hppa1.1-hp - os=-osf - ;; - hppro) - basic_machine=hppa1.1-hp - os=-proelf - ;; - i370-ibm* | ibm*) - basic_machine=i370-ibm - ;; -# I'm not sure what "Sysv32" means. Should this be sysv3.2? - i*86v32) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv32 - ;; - i*86v4*) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv4 - ;; - i*86v) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv - ;; - i*86sol2) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-solaris2 - ;; - i386mach) - basic_machine=i386-mach - os=-mach - ;; - i386-vsta | vsta) - basic_machine=i386-unknown - os=-vsta - ;; - iris | iris4d) - basic_machine=mips-sgi - case $os in - -irix*) - ;; - *) - os=-irix4 - ;; - esac - ;; - isi68 | isi) - basic_machine=m68k-isi - os=-sysv - ;; - m88k-omron*) - basic_machine=m88k-omron - ;; - magnum | m3230) - basic_machine=mips-mips - os=-sysv - ;; - merlin) - basic_machine=ns32k-utek - os=-sysv - ;; - mingw32) - basic_machine=i386-pc - os=-mingw32 - ;; - miniframe) - basic_machine=m68000-convergent - ;; - *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) - basic_machine=m68k-atari - os=-mint - ;; - mips3*-*) - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` - ;; - mips3*) - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown - ;; - mmix*) - basic_machine=mmix-knuth - os=-mmixware - ;; - monitor) - basic_machine=m68k-rom68k - os=-coff - ;; - morphos) - basic_machine=powerpc-unknown - os=-morphos - ;; - msdos) - basic_machine=i386-pc - os=-msdos - ;; - mvs) - basic_machine=i370-ibm - os=-mvs - ;; - ncr3000) - basic_machine=i486-ncr - os=-sysv4 - ;; - netbsd386) - basic_machine=i386-unknown - os=-netbsd - ;; - netwinder) - basic_machine=armv4l-rebel - os=-linux - ;; - news | news700 | news800 | news900) - basic_machine=m68k-sony - os=-newsos - ;; - news1000) - basic_machine=m68030-sony - os=-newsos - ;; - news-3600 | risc-news) - basic_machine=mips-sony - os=-newsos - ;; - necv70) - basic_machine=v70-nec - os=-sysv - ;; - next | m*-next ) - basic_machine=m68k-next - case $os in - -nextstep* ) - ;; - -ns2*) - os=-nextstep2 - ;; - *) - os=-nextstep3 - ;; - esac - ;; - nh3000) - basic_machine=m68k-harris - os=-cxux - ;; - nh[45]000) - basic_machine=m88k-harris - os=-cxux - ;; - nindy960) - basic_machine=i960-intel - os=-nindy - ;; - mon960) - basic_machine=i960-intel - os=-mon960 - ;; - nonstopux) - basic_machine=mips-compaq - os=-nonstopux - ;; - np1) - basic_machine=np1-gould - ;; - nsr-tandem) - basic_machine=nsr-tandem - ;; - op50n-* | op60c-*) - basic_machine=hppa1.1-oki - os=-proelf - ;; - or32 | or32-*) - basic_machine=or32-unknown - os=-coff - ;; - OSE68000 | ose68000) - basic_machine=m68000-ericsson - os=-ose - ;; - os68k) - basic_machine=m68k-none - os=-os68k - ;; - pa-hitachi) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - paragon) - basic_machine=i860-intel - os=-osf - ;; - pbd) - basic_machine=sparc-tti - ;; - pbb) - basic_machine=m68k-tti - ;; - pc532 | pc532-*) - basic_machine=ns32k-pc532 - ;; - pentium | p5 | k5 | k6 | nexgen | viac3) - basic_machine=i586-pc - ;; - pentiumpro | p6 | 6x86 | athlon) - basic_machine=i686-pc - ;; - pentiumii | pentium2) - basic_machine=i686-pc - ;; - pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) - basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pentiumpro-* | p6-* | 6x86-* | athlon-*) - basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pentiumii-* | pentium2-*) - basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pn) - basic_machine=pn-gould - ;; - power) basic_machine=power-ibm - ;; - ppc) basic_machine=powerpc-unknown - ;; - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ppcle | powerpclittle | ppc-le | powerpc-little) - basic_machine=powerpcle-unknown - ;; - ppcle-* | powerpclittle-*) - basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ppc64) basic_machine=powerpc64-unknown - ;; - ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ppc64le | powerpc64little | ppc64-le | powerpc64-little) - basic_machine=powerpc64le-unknown - ;; - ppc64le-* | powerpc64little-*) - basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ps2) - basic_machine=i386-ibm - ;; - pw32) - basic_machine=i586-unknown - os=-pw32 - ;; - rom68k) - basic_machine=m68k-rom68k - os=-coff - ;; - rm[46]00) - basic_machine=mips-siemens - ;; - rtpc | rtpc-*) - basic_machine=romp-ibm - ;; - s390 | s390-*) - basic_machine=s390-ibm - ;; - s390x | s390x-*) - basic_machine=s390x-ibm - ;; - sa29200) - basic_machine=a29k-amd - os=-udi - ;; - sequent) - basic_machine=i386-sequent - ;; - sh) - basic_machine=sh-hitachi - os=-hms - ;; - sparclite-wrs | simso-wrs) - basic_machine=sparclite-wrs - os=-vxworks - ;; - sps7) - basic_machine=m68k-bull - os=-sysv2 - ;; - spur) - basic_machine=spur-unknown - ;; - st2000) - basic_machine=m68k-tandem - ;; - stratus) - basic_machine=i860-stratus - os=-sysv4 - ;; - sun2) - basic_machine=m68000-sun - ;; - sun2os3) - basic_machine=m68000-sun - os=-sunos3 - ;; - sun2os4) - basic_machine=m68000-sun - os=-sunos4 - ;; - sun3os3) - basic_machine=m68k-sun - os=-sunos3 - ;; - sun3os4) - basic_machine=m68k-sun - os=-sunos4 - ;; - sun4os3) - basic_machine=sparc-sun - os=-sunos3 - ;; - sun4os4) - basic_machine=sparc-sun - os=-sunos4 - ;; - sun4sol2) - basic_machine=sparc-sun - os=-solaris2 - ;; - sun3 | sun3-*) - basic_machine=m68k-sun - ;; - sun4) - basic_machine=sparc-sun - ;; - sun386 | sun386i | roadrunner) - basic_machine=i386-sun - ;; - sv1) - basic_machine=sv1-cray - os=-unicos - ;; - symmetry) - basic_machine=i386-sequent - os=-dynix - ;; - t3d) - basic_machine=alpha-cray - os=-unicos - ;; - t3e) - basic_machine=alphaev5-cray - os=-unicos - ;; - t90) - basic_machine=t90-cray - os=-unicos - ;; - tic54x | c54x*) - basic_machine=tic54x-unknown - os=-coff - ;; - tx39) - basic_machine=mipstx39-unknown - ;; - tx39el) - basic_machine=mipstx39el-unknown - ;; - toad1) - basic_machine=pdp10-xkl - os=-tops20 - ;; - tower | tower-32) - basic_machine=m68k-ncr - ;; - udi29k) - basic_machine=a29k-amd - os=-udi - ;; - ultra3) - basic_machine=a29k-nyu - os=-sym1 - ;; - v810 | necv810) - basic_machine=v810-nec - os=-none - ;; - vaxv) - basic_machine=vax-dec - os=-sysv - ;; - vms) - basic_machine=vax-dec - os=-vms - ;; - vpp*|vx|vx-*) - basic_machine=f301-fujitsu - ;; - vxworks960) - basic_machine=i960-wrs - os=-vxworks - ;; - vxworks68) - basic_machine=m68k-wrs - os=-vxworks - ;; - vxworks29k) - basic_machine=a29k-wrs - os=-vxworks - ;; - w65*) - basic_machine=w65-wdc - os=-none - ;; - w89k-*) - basic_machine=hppa1.1-winbond - os=-proelf - ;; - windows32) - basic_machine=i386-pc - os=-windows32-msvcrt - ;; - xps | xps100) - basic_machine=xps100-honeywell - ;; - ymp) - basic_machine=ymp-cray - os=-unicos - ;; - z8k-*-coff) - basic_machine=z8k-unknown - os=-sim - ;; - none) - basic_machine=none-none - os=-none - ;; - -# Here we handle the default manufacturer of certain CPU types. It is in -# some cases the only manufacturer, in others, it is the most popular. - w89k) - basic_machine=hppa1.1-winbond - ;; - op50n) - basic_machine=hppa1.1-oki - ;; - op60c) - basic_machine=hppa1.1-oki - ;; - romp) - basic_machine=romp-ibm - ;; - rs6000) - basic_machine=rs6000-ibm - ;; - vax) - basic_machine=vax-dec - ;; - pdp10) - # there are many clones, so DEC is not a safe bet - basic_machine=pdp10-unknown - ;; - pdp11) - basic_machine=pdp11-dec - ;; - we32k) - basic_machine=we32k-att - ;; - sh3 | sh4 | sh3eb | sh4eb) - basic_machine=sh-unknown - ;; - sh64) - basic_machine=sh64-unknown - ;; - sparc | sparcv9 | sparcv9b) - basic_machine=sparc-sun - ;; - cydra) - basic_machine=cydra-cydrome - ;; - orion) - basic_machine=orion-highlevel - ;; - orion105) - basic_machine=clipper-highlevel - ;; - mac | mpw | mac-mpw) - basic_machine=m68k-apple - ;; - pmac | pmac-mpw) - basic_machine=powerpc-apple - ;; - c4x*) - basic_machine=c4x-none - os=-coff - ;; - *-unknown) - # Make sure to match an already-canonicalized machine name. - ;; - *) - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 - exit 1 - ;; -esac - -# Here we canonicalize certain aliases for manufacturers. -case $basic_machine in - *-digital*) - basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` - ;; - *-commodore*) - basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` - ;; - *) - ;; -esac - -# Decode manufacturer-specific aliases for certain operating systems. - -if [ x"$os" != x"" ] -then -case $os in - # First match some system type aliases - # that might get confused with valid system types. - # -solaris* is a basic system type, with this one exception. - -solaris1 | -solaris1.*) - os=`echo $os | sed -e 's|solaris1|sunos4|'` - ;; - -solaris) - os=-solaris2 - ;; - -svr4*) - os=-sysv4 - ;; - -unixware*) - os=-sysv4.2uw - ;; - -gnu/linux*) - os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` - ;; - # First accept the basic system types. - # The portable systems comes first. - # Each alternative MUST END IN A *, to match a version number. - # -sysv* is not here because it comes later, after sysvr4. - -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ - | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ - | -aos* \ - | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ - | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ - | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ - | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ - | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ - | -chorusos* | -chorusrdb* \ - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ - | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ - | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ - | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ - | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ - | -morphos* | -superux* | -rtmk* | -rtmk-nova*) - # Remember, each alternative MUST END IN *, to match a version number. - ;; - -qnx*) - case $basic_machine in - x86-* | i*86-*) - ;; - *) - os=-nto$os - ;; - esac - ;; - -nto*) - os=-nto-qnx - ;; - -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ - | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ - | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) - ;; - -mac*) - os=`echo $os | sed -e 's|mac|macos|'` - ;; - -linux*) - os=`echo $os | sed -e 's|linux|linux-gnu|'` - ;; - -sunos5*) - os=`echo $os | sed -e 's|sunos5|solaris2|'` - ;; - -sunos6*) - os=`echo $os | sed -e 's|sunos6|solaris3|'` - ;; - -opened*) - os=-openedition - ;; - -wince*) - os=-wince - ;; - -osfrose*) - os=-osfrose - ;; - -osf*) - os=-osf - ;; - -utek*) - os=-bsd - ;; - -dynix*) - os=-bsd - ;; - -acis*) - os=-aos - ;; - -atheos*) - os=-atheos - ;; - -386bsd) - os=-bsd - ;; - -ctix* | -uts*) - os=-sysv - ;; - -nova*) - os=-rtmk-nova - ;; - -ns2 ) - os=-nextstep2 - ;; - -nsk*) - os=-nsk - ;; - # Preserve the version number of sinix5. - -sinix5.*) - os=`echo $os | sed -e 's|sinix|sysv|'` - ;; - -sinix*) - os=-sysv4 - ;; - -triton*) - os=-sysv3 - ;; - -oss*) - os=-sysv3 - ;; - -svr4) - os=-sysv4 - ;; - -svr3) - os=-sysv3 - ;; - -sysvr4) - os=-sysv4 - ;; - # This must come after -sysvr4. - -sysv*) - ;; - -ose*) - os=-ose - ;; - -es1800*) - os=-ose - ;; - -xenix) - os=-xenix - ;; - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) - os=-mint - ;; - -none) - ;; - *) - # Get rid of the `-' at the beginning of $os. - os=`echo $os | sed 's/[^-]*-//'` - echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 - exit 1 - ;; -esac -else - -# Here we handle the default operating systems that come with various machines. -# The value should be what the vendor currently ships out the door with their -# machine or put another way, the most popular os provided with the machine. - -# Note that if you're going to try to match "-MANUFACTURER" here (say, -# "-sun"), then you have to tell the case statement up towards the top -# that MANUFACTURER isn't an operating system. Otherwise, code above -# will signal an error saying that MANUFACTURER isn't an operating -# system, and we'll never get to this point. - -case $basic_machine in - *-acorn) - os=-riscix1.2 - ;; - arm*-rebel) - os=-linux - ;; - arm*-semi) - os=-aout - ;; - # This must come before the *-dec entry. - pdp10-*) - os=-tops20 - ;; - pdp11-*) - os=-none - ;; - *-dec | vax-*) - os=-ultrix4.2 - ;; - m68*-apollo) - os=-domain - ;; - i386-sun) - os=-sunos4.0.2 - ;; - m68000-sun) - os=-sunos3 - # This also exists in the configure program, but was not the - # default. - # os=-sunos4 - ;; - m68*-cisco) - os=-aout - ;; - mips*-cisco) - os=-elf - ;; - mips*-*) - os=-elf - ;; - or32-*) - os=-coff - ;; - *-tti) # must be before sparc entry or we get the wrong os. - os=-sysv3 - ;; - sparc-* | *-sun) - os=-sunos4.1.1 - ;; - *-be) - os=-beos - ;; - *-ibm) - os=-aix - ;; - *-wec) - os=-proelf - ;; - *-winbond) - os=-proelf - ;; - *-oki) - os=-proelf - ;; - *-hp) - os=-hpux - ;; - *-hitachi) - os=-hiux - ;; - i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) - os=-sysv - ;; - *-cbm) - os=-amigaos - ;; - *-dg) - os=-dgux - ;; - *-dolphin) - os=-sysv3 - ;; - m68k-ccur) - os=-rtu - ;; - m88k-omron*) - os=-luna - ;; - *-next ) - os=-nextstep - ;; - *-sequent) - os=-ptx - ;; - *-crds) - os=-unos - ;; - *-ns) - os=-genix - ;; - i370-*) - os=-mvs - ;; - *-next) - os=-nextstep3 - ;; - *-gould) - os=-sysv - ;; - *-highlevel) - os=-bsd - ;; - *-encore) - os=-bsd - ;; - *-sgi) - os=-irix - ;; - *-siemens) - os=-sysv4 - ;; - *-masscomp) - os=-rtu - ;; - f30[01]-fujitsu | f700-fujitsu) - os=-uxpv - ;; - *-rom68k) - os=-coff - ;; - *-*bug) - os=-coff - ;; - *-apple) - os=-macos - ;; - *-atari*) - os=-mint - ;; - *) - os=-none - ;; -esac -fi - -# Here we handle the case where we know the os, and the CPU type, but not the -# manufacturer. We pick the logical manufacturer. -vendor=unknown -case $basic_machine in - *-unknown) - case $os in - -riscix*) - vendor=acorn - ;; - -sunos*) - vendor=sun - ;; - -aix*) - vendor=ibm - ;; - -beos*) - vendor=be - ;; - -hpux*) - vendor=hp - ;; - -mpeix*) - vendor=hp - ;; - -hiux*) - vendor=hitachi - ;; - -unos*) - vendor=crds - ;; - -dgux*) - vendor=dg - ;; - -luna*) - vendor=omron - ;; - -genix*) - vendor=ns - ;; - -mvs* | -opened*) - vendor=ibm - ;; - -ptx*) - vendor=sequent - ;; - -vxsim* | -vxworks*) - vendor=wrs - ;; - -aux*) - vendor=apple - ;; - -hms*) - vendor=hitachi - ;; - -mpw* | -macos*) - vendor=apple - ;; - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) - vendor=atari - ;; - -vos*) - vendor=stratus - ;; - esac - basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` - ;; -esac - -echo $basic_machine$os -exit 0 - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "timestamp='" -# time-stamp-format: "%:y-%02m-%02d" -# time-stamp-end: "'" -# End: diff --git a/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/configure.svn-base b/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/configure.svn-base deleted file mode 100644 index d00c81d..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/configure.svn-base +++ /dev/null @@ -1,6381 +0,0 @@ -#! /bin/sh -# Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.53 for libsmtp-- 0.1. -# -# Report bugs to >. -# -# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 -# Free Software Foundation, Inc. -# This configure script is free software; the Free Software Foundation -# gives unlimited permission to copy, distribute and modify it. - -if expr a : '\(a\)' >/dev/null 2>&1; then - as_expr=expr -else - as_expr=false -fi - - -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## - -# Be Bourne compatible -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then - set -o posix -fi - -# NLS nuisances. -# Support unset when possible. -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - -(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && - { $as_unset LANG || test "${LANG+set}" != set; } || - { LANG=C; export LANG; } -(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && - { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || - { LC_ALL=C; export LC_ALL; } -(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && - { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || - { LC_TIME=C; export LC_TIME; } -(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && - { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || - { LC_CTYPE=C; export LC_CTYPE; } -(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && - { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || - { LANGUAGE=C; export LANGUAGE; } -(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && - { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || - { LC_COLLATE=C; export LC_COLLATE; } -(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && - { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || - { LC_NUMERIC=C; export LC_NUMERIC; } -(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && - { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || - { LC_MESSAGES=C; export LC_MESSAGES; } - - -# Name of the executable. -as_me=`(basename "$0") 2>/dev/null || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)$' \| \ - . : '\(.\)' 2>/dev/null || -echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } - /^X\/\(\/\/\)$/{ s//\1/; q; } - /^X\/\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` - -# PATH needs CR, and LINENO needs CR and PATH. -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conftest.sh - echo "exit 0" >>conftest.sh - chmod +x conftest.sh - if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conftest.sh -fi - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x$as_lineno_3" = "x$as_lineno_2" || { - # Find who we are. Look in the path if we contain no path at all - # relative or not. - case $0 in - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done - - ;; - esac - # We did not find ourselves, most probably we were run as `sh COMMAND' - # in which case we are not to be found in the path. - if test "x$as_myself" = x; then - as_myself=$0 - fi - if test ! -f "$as_myself"; then - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 - { (exit 1); exit 1; }; } - fi - case $CONFIG_SHELL in - '') - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for as_base in sh bash ksh sh5; do - case $as_dir in - /*) - if ("$as_dir/$as_base" -c ' - as_lineno_1=$LINENO - as_lineno_2=$LINENO - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then - CONFIG_SHELL=$as_dir/$as_base - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$0" ${1+"$@"} - fi;; - esac - done -done -;; - esac - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line before each line; the second 'sed' does the real - # work. The second script uses 'N' to pair each line-number line - # with the numbered line, and appends trailing '-' during - # substitution so that $LINENO is not a special case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) - sed '=' <$as_myself | - sed ' - N - s,$,-, - : loop - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, - t loop - s,-$,, - s,^['$as_cr_digits']*\n,, - ' >$as_me.lineno && - chmod +x $as_me.lineno || - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensible to this). - . ./$as_me.lineno - # Exit status is that of the last command. - exit -} - - -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in - *c*,-n*) ECHO_N= ECHO_C=' -' ECHO_T=' ' ;; - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; - *) ECHO_N= ECHO_C='\c' ECHO_T= ;; -esac - -if expr a : '\(a\)' >/dev/null 2>&1; then - as_expr=expr -else - as_expr=false -fi - -rm -f conf$$ conf$$.exe conf$$.file -echo >conf$$.file -if ln -s conf$$.file conf$$ 2>/dev/null; then - # We could just check for DJGPP; but this test a) works b) is more generic - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). - if test -f conf$$.exe; then - # Don't use ln at all; we don't have any links - as_ln_s='cp -p' - else - as_ln_s='ln -s' - fi -elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.file - -as_executable_p="test -f" - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" - - -# IFS -# We need space, tab and new line, in precisely that order. -as_nl=' -' -IFS=" $as_nl" - -# CDPATH. -$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } - - -# Name of the host. -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, -# so uname gets run too. -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` - -exec 6>&1 - -# -# Initializations. -# -ac_default_prefix=/usr/local -cross_compiling=no -subdirs= -MFLAGS= -MAKEFLAGS= -SHELL=${CONFIG_SHELL-/bin/sh} - -# Maximum number of lines to put in a shell here document. -# This variable seems obsolete. It should probably be removed, and -# only ac_max_sed_lines should be used. -: ${ac_max_here_lines=38} - -# Identity of this package. -PACKAGE_NAME='libsmtp--' -PACKAGE_TARNAME='libsmtp--' -PACKAGE_VERSION='0.1' -PACKAGE_STRING='libsmtp-- 0.1' -PACKAGE_BUGREPORT='Timo Benk ' - -ac_unique_file="src/smtp.h" -# Factoring default headers for most tests. -ac_includes_default="\ -#include -#if HAVE_SYS_TYPES_H -# include -#endif -#if HAVE_SYS_STAT_H -# include -#endif -#if STDC_HEADERS -# include -# include -#else -# if HAVE_STDLIB_H -# include -# endif -#endif -#if HAVE_STRING_H -# if !STDC_HEADERS && HAVE_MEMORY_H -# include -# endif -# include -#endif -#if HAVE_STRINGS_H -# include -#endif -#if HAVE_INTTYPES_H -# include -#else -# if HAVE_STDINT_H -# include -# endif -#endif -#if HAVE_UNISTD_H -# include -#endif" - - -# Initialize some variables set by options. -ac_init_help= -ac_init_version=false -# The variables have the same names as the options, with -# dashes changed to underlines. -cache_file=/dev/null -exec_prefix=NONE -no_create= -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -verbose= -x_includes=NONE -x_libraries=NONE - -# Installation directory options. -# These are left unexpanded so users can "make install exec_prefix=/foo" -# and all the variables that are supposed to be based on exec_prefix -# by default will actually change. -# Use braces instead of parens because sh, perl, etc. also accept them. -bindir='${exec_prefix}/bin' -sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' -datadir='${prefix}/share' -sysconfdir='${prefix}/etc' -sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' -libdir='${exec_prefix}/lib' -includedir='${prefix}/include' -oldincludedir='/usr/include' -infodir='${prefix}/info' -mandir='${prefix}/man' - -ac_prev= -for ac_option -do - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval "$ac_prev=\$ac_option" - ac_prev= - continue - fi - - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case $ac_option in - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=bindir ;; - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir=$ac_optarg ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=build_alias ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build_alias=$ac_optarg ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file=$ac_optarg ;; - - --config-cache | -C) - cache_file=config.cache ;; - - -datadir | --datadir | --datadi | --datad | --data | --dat | --da) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ - | --da=*) - datadir=$ac_optarg ;; - - -disable-* | --disable-*) - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid feature name: $ac_feature" >&2 - { (exit 1); exit 1; }; } - ac_feature=`echo $ac_feature | sed 's/-/_/g'` - eval "enable_$ac_feature=no" ;; - - -enable-* | --enable-*) - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid feature name: $ac_feature" >&2 - { (exit 1); exit 1; }; } - ac_feature=`echo $ac_feature | sed 's/-/_/g'` - case $ac_option in - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; - *) ac_optarg=yes ;; - esac - eval "enable_$ac_feature='$ac_optarg'" ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix=$ac_optarg ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he | -h) - ac_init_help=long ;; - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) - ac_init_help=recursive ;; - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) - ac_init_help=short ;; - - -host | --host | --hos | --ho) - ac_prev=host_alias ;; - -host=* | --host=* | --hos=* | --ho=*) - host_alias=$ac_optarg ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=includedir ;; - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ - | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir=$ac_optarg ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=infodir ;; - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir=$ac_optarg ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=libdir ;; - -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir=$ac_optarg ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=libexecdir ;; - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ - | --libexe=* | --libex=* | --libe=*) - libexecdir=$ac_optarg ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst \ - | --locals | --local | --loca | --loc | --lo) - ac_prev=localstatedir ;; - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* \ - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) - localstatedir=$ac_optarg ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir=$ac_optarg ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c | -n) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=oldincludedir ;; - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir=$ac_optarg ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix=$ac_optarg ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix=$ac_optarg ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix=$ac_optarg ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name=$ac_optarg ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=sbindir ;; - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ - | --sbi=* | --sb=*) - sbindir=$ac_optarg ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=sharedstatedir ;; - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ - | --sha=* | --sh=*) - sharedstatedir=$ac_optarg ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site=$ac_optarg ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir=$ac_optarg ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=sysconfdir ;; - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir=$ac_optarg ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target_alias ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target_alias=$ac_optarg ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers | -V) - ac_init_version=: ;; - - -with-* | --with-*) - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid package name: $ac_package" >&2 - { (exit 1); exit 1; }; } - ac_package=`echo $ac_package| sed 's/-/_/g'` - case $ac_option in - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; - *) ac_optarg=yes ;; - esac - eval "with_$ac_package='$ac_optarg'" ;; - - -without-* | --without-*) - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid package name: $ac_package" >&2 - { (exit 1); exit 1; }; } - ac_package=`echo $ac_package | sed 's/-/_/g'` - eval "with_$ac_package=no" ;; - - --x) - # Obsolete; use --with-x. - with_x=yes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=x_includes ;; - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes=$ac_optarg ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=x_libraries ;; - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries=$ac_optarg ;; - - -*) { echo "$as_me: error: unrecognized option: $ac_option -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; } - ;; - - *=*) - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` - # Reject names that are not valid shell variable names. - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 - { (exit 1); exit 1; }; } - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` - eval "$ac_envvar='$ac_optarg'" - export $ac_envvar ;; - - *) - # FIXME: should be removed in autoconf 3.0. - echo "$as_me: WARNING: you should use --build, --host, --target" >&2 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} - ;; - - esac -done - -if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` - { echo "$as_me: error: missing argument to $ac_option" >&2 - { (exit 1); exit 1; }; } -fi - -# Be sure to have absolute paths. -for ac_var in exec_prefix prefix -do - eval ac_val=$`echo $ac_var` - case $ac_val in - [\\/$]* | ?:[\\/]* | NONE | '' ) ;; - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 - { (exit 1); exit 1; }; };; - esac -done - -# Be sure to have absolute paths. -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ - localstatedir libdir includedir oldincludedir infodir mandir -do - eval ac_val=$`echo $ac_var` - case $ac_val in - [\\/$]* | ?:[\\/]* ) ;; - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 - { (exit 1); exit 1; }; };; - esac -done - -# There might be people who depend on the old broken behavior: `$host' -# used to hold the argument of --host etc. -# FIXME: To remove some day. -build=$build_alias -host=$host_alias -target=$target_alias - -# FIXME: To remove some day. -if test "x$host_alias" != x; then - if test "x$build_alias" = x; then - cross_compiling=maybe - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used." >&2 - elif test "x$build_alias" != "x$host_alias"; then - cross_compiling=yes - fi -fi - -ac_tool_prefix= -test -n "$host_alias" && ac_tool_prefix=$host_alias- - -test "$silent" = yes && exec 6>/dev/null - - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then its parent. - ac_confdir=`(dirname "$0") 2>/dev/null || -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$0" : 'X\(//\)[^/]' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| \ - . : '\(.\)' 2>/dev/null || -echo X"$0" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } - /^X\(\/\/\)[^/].*/{ s//\1/; q; } - /^X\(\/\/\)$/{ s//\1/; q; } - /^X\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` - srcdir=$ac_confdir - if test ! -r $srcdir/$ac_unique_file; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -fi -if test ! -r $srcdir/$ac_unique_file; then - if test "$ac_srcdir_defaulted" = yes; then - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 - { (exit 1); exit 1; }; } - else - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 - { (exit 1); exit 1; }; } - fi -fi -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` -ac_env_build_alias_set=${build_alias+set} -ac_env_build_alias_value=$build_alias -ac_cv_env_build_alias_set=${build_alias+set} -ac_cv_env_build_alias_value=$build_alias -ac_env_host_alias_set=${host_alias+set} -ac_env_host_alias_value=$host_alias -ac_cv_env_host_alias_set=${host_alias+set} -ac_cv_env_host_alias_value=$host_alias -ac_env_target_alias_set=${target_alias+set} -ac_env_target_alias_value=$target_alias -ac_cv_env_target_alias_set=${target_alias+set} -ac_cv_env_target_alias_value=$target_alias -ac_env_CC_set=${CC+set} -ac_env_CC_value=$CC -ac_cv_env_CC_set=${CC+set} -ac_cv_env_CC_value=$CC -ac_env_CFLAGS_set=${CFLAGS+set} -ac_env_CFLAGS_value=$CFLAGS -ac_cv_env_CFLAGS_set=${CFLAGS+set} -ac_cv_env_CFLAGS_value=$CFLAGS -ac_env_LDFLAGS_set=${LDFLAGS+set} -ac_env_LDFLAGS_value=$LDFLAGS -ac_cv_env_LDFLAGS_set=${LDFLAGS+set} -ac_cv_env_LDFLAGS_value=$LDFLAGS -ac_env_CPPFLAGS_set=${CPPFLAGS+set} -ac_env_CPPFLAGS_value=$CPPFLAGS -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} -ac_cv_env_CPPFLAGS_value=$CPPFLAGS -ac_env_CPP_set=${CPP+set} -ac_env_CPP_value=$CPP -ac_cv_env_CPP_set=${CPP+set} -ac_cv_env_CPP_value=$CPP - -# -# Report the --help message. -# -if test "$ac_init_help" = "long"; then - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat <<_ACEOF -\`configure' configures libsmtp-- 0.1 to adapt to many kinds of systems. - -Usage: $0 [OPTION]... [VAR=VALUE]... - -To assign environment variables (e.g., CC, CFLAGS...), specify them as -VAR=VALUE. See below for descriptions of some of the useful variables. - -Defaults for the options are specified in brackets. - -Configuration: - -h, --help display this help and exit - --help=short display options specific to this package - --help=recursive display the short help of all the included packages - -V, --version display version information and exit - -q, --quiet, --silent do not print \`checking...' messages - --cache-file=FILE cache test results in FILE [disabled] - -C, --config-cache alias for \`--cache-file=config.cache' - -n, --no-create do not create output files - --srcdir=DIR find the sources in DIR [configure dir or \`..'] - -_ACEOF - - cat <<_ACEOF -Installation directories: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [PREFIX] - -By default, \`make install' will install all the files in -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -an installation prefix other than \`$ac_default_prefix' using \`--prefix', -for instance \`--prefix=\$HOME'. - -For better control, use the options below. - -Fine tuning of the installation directories: - --bindir=DIR user executables [EPREFIX/bin] - --sbindir=DIR system admin executables [EPREFIX/sbin] - --libexecdir=DIR program executables [EPREFIX/libexec] - --datadir=DIR read-only architecture-independent data [PREFIX/share] - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] - --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --libdir=DIR object code libraries [EPREFIX/lib] - --includedir=DIR C header files [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc [/usr/include] - --infodir=DIR info documentation [PREFIX/info] - --mandir=DIR man documentation [PREFIX/man] -_ACEOF - - cat <<\_ACEOF -_ACEOF -fi - -if test -n "$ac_init_help"; then - case $ac_init_help in - short | recursive ) echo "Configuration of libsmtp-- 0.1:";; - esac - cat <<\_ACEOF - -Optional Features: - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --enable-prettylog enable pretty formatted log messages. this option is - disabled per default because pretty logging will eat - up lots of cpu time. - --disable-ssl disable SSL support that is needed to use the - supplied plugins and the ssl encryption layer. SSL - support is enabled per default. - -Optional Packages: - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --with-libdir add libdir to the library path. multiple directories - should be delimited by one whitespace character and - needs to be quoted. - --with-includedir add includedir to the library path. multiple - directories should be delimited by one whitespace - character and needs to be quoted. - --with-ssl specify the directory where openssl is installed in. - -Some influential environment variables: - CC C compiler command - CFLAGS C compiler flags - LDFLAGS linker flags, e.g. -L if you have libraries in a - nonstandard directory - CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have - headers in a nonstandard directory - CPP C preprocessor - -Use these variables to override the choices made by `configure' or to help -it to find libraries and programs with nonstandard names/locations. - -Report bugs to >. -_ACEOF -fi - -if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - ac_popdir=`pwd` - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue - test -d $ac_dir || continue - ac_builddir=. - -if test "$ac_dir" != .; then - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` - # A "../" for each directory in $ac_dir_suffix. - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` -else - ac_dir_suffix= ac_top_builddir= -fi - -case $srcdir in - .) # No --srcdir option. We are building in place. - ac_srcdir=. - if test -z "$ac_top_builddir"; then - ac_top_srcdir=. - else - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` - fi ;; - [\\/]* | ?:[\\/]* ) # Absolute path. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir ;; - *) # Relative path. - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_builddir$srcdir ;; -esac -# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be -# absolute. -ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` -ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` -ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` - - cd $ac_dir - # Check for guested configure; otherwise get Cygnus style configure. - if test -f $ac_srcdir/configure.gnu; then - echo - $SHELL $ac_srcdir/configure.gnu --help=recursive - elif test -f $ac_srcdir/configure; then - echo - $SHELL $ac_srcdir/configure --help=recursive - elif test -f $ac_srcdir/configure.ac || - test -f $ac_srcdir/configure.in; then - echo - $ac_configure --help - else - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 - fi - cd $ac_popdir - done -fi - -test -n "$ac_init_help" && exit 0 -if $ac_init_version; then - cat <<\_ACEOF -libsmtp-- configure 0.1 -generated by GNU Autoconf 2.53 - -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 -Free Software Foundation, Inc. -This configure script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it. -_ACEOF - exit 0 -fi -exec 5>config.log -cat >&5 <<_ACEOF -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by libsmtp-- $as_me 0.1, which was -generated by GNU Autoconf 2.53. Invocation command line was - - $ $0 $@ - -_ACEOF -{ -cat <<_ASUNAME -## --------- ## -## Platform. ## -## --------- ## - -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` - -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -hostinfo = `(hostinfo) 2>/dev/null || echo unknown` -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` - -_ASUNAME - -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - echo "PATH: $as_dir" -done - -} >&5 - -cat >&5 <<_ACEOF - - -## ----------- ## -## Core tests. ## -## ----------- ## - -_ACEOF - - -# Keep a trace of the command line. -# Strip out --no-create and --no-recursion so they do not pile up. -# Also quote any args containing shell meta-characters. -ac_configure_args= -ac_sep= -for ac_arg -do - case $ac_arg in - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c | -n ) continue ;; - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - continue ;; - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - case " $ac_configure_args " in - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" - ac_sep=" " ;; - esac - # Get rid of the leading space. -done - -# When interrupted or exit'd, cleanup temporary files, and complete -# config.log. We remove comments because anyway the quotes in there -# would cause problems or look ugly. -# WARNING: Be sure not to use single quotes in there, as some shells, -# such as our DU 5.0 friend, will then `close' the trap. -trap 'exit_status=$? - # Save into config.log some information that might help in debugging. - { - echo - cat <<\_ASBOX -## ---------------- ## -## Cache variables. ## -## ---------------- ## -_ASBOX - echo - # The following way of writing the cache mishandles newlines in values, -{ - (set) 2>&1 | - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in - *ac_space=\ *) - sed -n \ - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" - ;; - *) - sed -n \ - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" - ;; - esac; -} - echo - if test -s confdefs.h; then - cat <<\_ASBOX -## ----------- ## -## confdefs.h. ## -## ----------- ## -_ASBOX - echo - sed "/^$/d" confdefs.h - echo - fi - test "$ac_signal" != 0 && - echo "$as_me: caught signal $ac_signal" - echo "$as_me: exit $exit_status" - } >&5 - rm -f core core.* *.core && - rm -rf conftest* confdefs* conf$$* $ac_clean_files && - exit $exit_status - ' 0 -for ac_signal in 1 2 13 15; do - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal -done -ac_signal=0 - -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -rf conftest* confdefs.h -# AIX cpp loses on an empty file, so make sure it contains at least a newline. -echo >confdefs.h - -# Predefined preprocessor variables. - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF - - -# Let the site file select an alternate cache file if it wants to. -# Prefer explicitly selected file to automatically selected ones. -if test -z "$CONFIG_SITE"; then - if test "x$prefix" != xNONE; then - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" - else - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" - fi -fi -for ac_site_file in $CONFIG_SITE; do - if test -r "$ac_site_file"; then - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 -echo "$as_me: loading site script $ac_site_file" >&6;} - sed 's/^/| /' "$ac_site_file" >&5 - . "$ac_site_file" - fi -done - -if test -r "$cache_file"; then - # Some versions of bash will fail to source /dev/null (special - # files actually), so we avoid doing that. - if test -f "$cache_file"; then - { echo "$as_me:$LINENO: loading cache $cache_file" >&5 -echo "$as_me: loading cache $cache_file" >&6;} - case $cache_file in - [\\/]* | ?:[\\/]* ) . $cache_file;; - *) . ./$cache_file;; - esac - fi -else - { echo "$as_me:$LINENO: creating cache $cache_file" >&5 -echo "$as_me: creating cache $cache_file" >&6;} - >$cache_file -fi - -# Check that the precious variables saved in the cache have kept the same -# value. -ac_cache_corrupted=false -for ac_var in `(set) 2>&1 | - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do - eval ac_old_set=\$ac_cv_env_${ac_var}_set - eval ac_new_set=\$ac_env_${ac_var}_set - eval ac_old_val="\$ac_cv_env_${ac_var}_value" - eval ac_new_val="\$ac_env_${ac_var}_value" - case $ac_old_set,$ac_new_set in - set,) - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,set) - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,);; - *) - if test "x$ac_old_val" != "x$ac_new_val"; then - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 -echo "$as_me: former value: $ac_old_val" >&2;} - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 -echo "$as_me: current value: $ac_new_val" >&2;} - ac_cache_corrupted=: - fi;; - esac - # Pass precious variables to config.status. - if test "$ac_new_set" = set; then - case $ac_new_val in - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; - *) ac_arg=$ac_var=$ac_new_val ;; - esac - case " $ac_configure_args " in - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; - esac - fi -done -if $ac_cache_corrupted; then - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 -echo "$as_me: error: changes in the environment can compromise the build" >&2;} - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} - { (exit 1); exit 1; }; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# Checks for programs. -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CC="${ac_tool_prefix}gcc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_CC="gcc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -echo "${ECHO_T}$ac_ct_CC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - CC=$ac_ct_CC -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CC="${ac_tool_prefix}cc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_CC="cc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -echo "${ECHO_T}$ac_ct_CC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - CC=$ac_ct_CC -else - CC="$ac_cv_prog_CC" -fi - -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - set dummy "$as_dir/$ac_word" ${1+"$@"} - shift - ac_cv_prog_CC="$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_CC="$ac_prog" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -echo "${ECHO_T}$ac_ct_CC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - test -n "$ac_ct_CC" && break -done - - CC=$ac_ct_CC -fi - -fi - - -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 -echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} - { (exit 1); exit 1; }; } - -# Provide some information about the compiler. -echo "$as_me:$LINENO:" \ - "checking for C compiler version" >&5 -ac_compiler=`set X $ac_compile; echo $2` -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 - (eval $ac_compiler --version &5) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 - (eval $ac_compiler -v &5) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 - (eval $ac_compiler -V &5) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" - -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ - - ; - return 0; -} -_ACEOF -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files a.out a.exe" -# Try to create an executable without -o first, disregard a.out. -# It will help us diagnose broken compilers, and finding out an intuition -# of exeext. -echo "$as_me:$LINENO: checking for C compiler default output" >&5 -echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 - (eval $ac_link_default) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # Find the output, starting from the most likely. This scheme is -# not robust to junk in `.', hence go to wildcards (a.*) only as a last -# resort. - -# Be careful to initialize this variable, since it used to be cached. -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. -ac_cv_exeext= -for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; - ls a.out conftest 2>/dev/null; - ls a.* conftest.* 2>/dev/null`; do - case $ac_file in - *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;; - a.out ) # We found the default executable, but exeext='' is most - # certainly right. - break;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - # FIXME: I believe we export ac_cv_exeext for Libtool --akim. - export ac_cv_exeext - break;; - * ) break;; - esac -done -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5 -echo "$as_me: error: C compiler cannot create executables" >&2;} - { (exit 77); exit 77; }; } -fi - -ac_exeext=$ac_cv_exeext -echo "$as_me:$LINENO: result: $ac_file" >&5 -echo "${ECHO_T}$ac_file" >&6 - -# Check the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -echo "$as_me:$LINENO: checking whether the C compiler works" >&5 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 -# If not cross compiling, check that we can run a simple program. -if test "$cross_compiling" != yes; then - if { ac_try='./$ac_file' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - cross_compiling=no - else - if test "$cross_compiling" = maybe; then - cross_compiling=yes - else - { { echo "$as_me:$LINENO: error: cannot run C compiled programs. -If you meant to cross compile, use \`--host'." >&5 -echo "$as_me: error: cannot run C compiled programs. -If you meant to cross compile, use \`--host'." >&2;} - { (exit 1); exit 1; }; } - fi - fi -fi -echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6 - -rm -f a.out a.exe conftest$ac_cv_exeext -ac_clean_files=$ac_clean_files_save -# Check the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 -echo "$as_me:$LINENO: result: $cross_compiling" >&5 -echo "${ECHO_T}$cross_compiling" >&6 - -echo "$as_me:$LINENO: checking for suffix of executables" >&5 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # If both `conftest.exe' and `conftest' are `present' (well, observable) -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -# work properly (i.e., refer to `conftest.exe'), while it won't with -# `rm'. -for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do - case $ac_file in - *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - export ac_cv_exeext - break;; - * ) break;; - esac -done -else - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} - { (exit 1); exit 1; }; } -fi - -rm -f conftest$ac_cv_exeext -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 -echo "${ECHO_T}$ac_cv_exeext" >&6 - -rm -f conftest.$ac_ext -EXEEXT=$ac_cv_exeext -ac_exeext=$EXEEXT -echo "$as_me:$LINENO: checking for suffix of object files" >&5 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 -if test "${ac_cv_objext+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" - -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.o conftest.obj -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` - break;; - esac -done -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 -echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} - { (exit 1); exit 1; }; } -fi - -rm -f conftest.$ac_cv_objext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 -echo "${ECHO_T}$ac_cv_objext" >&6 -OBJEXT=$ac_cv_objext -ac_objext=$OBJEXT -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 -if test "${ac_cv_c_compiler_gnu+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" - -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_compiler_gnu=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_compiler_gnu=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -ac_cv_c_compiler_gnu=$ac_compiler_gnu - -fi -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 -GCC=`test $ac_compiler_gnu = yes && echo yes` -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS -CFLAGS="-g" -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 -if test "${ac_cv_prog_cc_g+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" - -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_prog_cc_g=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_prog_cc_g=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -# Some people use a C++ compiler to compile C. Since we use `exit', -# in C++ we need to declare it. In case someone uses the same compiler -# for both compiling C and C++ we need to have the C++ compiler decide -# the declaration of exit, since it's the most demanding environment. -cat >conftest.$ac_ext <<_ACEOF -#ifndef __cplusplus - choke me -#endif -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - for ac_declaration in \ - ''\ - '#include ' \ - 'extern "C" void std::exit (int) throw (); using std::exit;' \ - 'extern "C" void std::exit (int); using std::exit;' \ - 'extern "C" void exit (int) throw ();' \ - 'extern "C" void exit (int);' \ - 'void exit (int);' -do - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -$ac_declaration -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -exit (42); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - : -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -continue -fi -rm -f conftest.$ac_objext conftest.$ac_ext - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_declaration -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -exit (42); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - break -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -fi -rm -f conftest.$ac_objext conftest.$ac_ext -done -rm -f conftest* -if test -n "$ac_declaration"; then - echo '#ifdef __cplusplus' >>confdefs.h - echo $ac_declaration >>confdefs.h - echo '#endif' >>confdefs.h -fi - -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -fi -rm -f conftest.$ac_objext conftest.$ac_ext -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5 -echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.make <<\_ACEOF -all: - @echo 'ac_maketemp="${MAKE}"' -_ACEOF -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` -if test -n "$ac_maketemp"; then - eval ac_cv_prog_make_${ac_make}_set=yes -else - eval ac_cv_prog_make_${ac_make}_set=no -fi -rm -f conftest.make -fi -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then - echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6 - SET_MAKE= -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 - SET_MAKE="MAKE=${MAKE-make}" -fi - -ac_aux_dir= -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do - if test -f $ac_dir/install-sh; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f $ac_dir/install.sh; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break - elif test -f $ac_dir/shtool; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/shtool install -c" - break - fi -done -if test -z "$ac_aux_dir"; then - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} - { (exit 1); exit 1; }; } -fi -ac_config_guess="$SHELL $ac_aux_dir/config.guess" -ac_config_sub="$SHELL $ac_aux_dir/config.sub" -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. - -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AmigaOS /C/install, which installs bootblocks on floppy discs -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -# ./install, which can be erroneously created by make from ./install.sh. -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 -if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in - ./ | .// | /cC/* | \ - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ - /usr/ucb/* ) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then - if test $ac_prog = install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - elif test $ac_prog = install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # program-specific install script used by HP pwplus--don't use. - : - else - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" - break 3 - fi - fi - done - done - ;; -esac -done - - -fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL=$ac_cv_path_install - else - # As a last resort, use the slow shell script. We don't cache a - # path for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the path is relative. - INSTALL=$ac_install_sh - fi -fi -echo "$as_me:$LINENO: result: $INSTALL" >&5 -echo "${ECHO_T}$INSTALL" >&6 - -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - - -# configure parameters - -# Check whether --with-libdir or --without-libdir was given. -if test "${with_libdir+set}" = set; then - withval="$with_libdir" - for i in $withval; do - LDFLAGS="$LDFLAGS -L$i"; - done - -fi; - - -# Check whether --with-includedir or --without-includedir was given. -if test "${with_includedir+set}" = set; then - withval="$with_includedir" - for i in $withval; do - CFLAGS="$CFLAGS -I$i"; - CPPFLAGS="$CFLAGS" - done - -fi; - - -# Check whether --with-ssl or --without-ssl was given. -if test "${with_ssl+set}" = set; then - withval="$with_ssl" - CFLAGS="$CFLAGS -I$withval/include"; - CPPFLAGS="$CFLAGS" - LDFLAGS="$LDFLAGS -L$withval/lib" - -fi; - -# per default ssl is supported -use_ssl="true" - -# Check whether --enable-prettylog or --disable-prettylog was given. -if test "${enable_prettylog+set}" = set; then - enableval="$enable_prettylog" - if test "$enableval" != "no"; then - CFLAGS="$CFLAGS -D__PRETTY_LOG_" - CPPFLAGS="$CFLAGS" - fi - -fi; - -# Check whether --enable-ssl or --disable-ssl was given. -if test "${enable_ssl+set}" = set; then - enableval="$enable_ssl" - if test "$enableval" = "no"; then - use_ssl=""; - ssl=""; - objs='$(NO_SSL_OBJS)'; - hdrs='includes/nossl/*.h'; - fi - -fi; - -# Check for header files. - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include - Syntax error -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - : -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether non-existent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - # Broken: success on invalid input. -continue -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - break -fi - - done - ac_cv_prog_CPP=$CPP - -fi - CPP=$ac_cv_prog_CPP -else - ac_cv_prog_CPP=$CPP -fi -echo "$as_me:$LINENO: result: $CPP" >&5 -echo "${ECHO_T}$CPP" >&6 -ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include - Syntax error -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - : -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether non-existent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - # Broken: success on invalid input. -continue -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - : -else - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} - { (exit 1); exit 1; }; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -echo "$as_me:$LINENO: checking for ANSI C header files" >&5 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 -if test "${ac_cv_header_stdc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -#include -#include -#include - -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_cv_header_stdc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_cv_header_stdc=no -fi -rm -f conftest.err conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "memchr" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "free" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then - : -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - exit(2); - exit (0); -} -_ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - : -else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -( exit $ac_status ) -ac_cv_header_stdc=no -fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi -fi -fi -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 -echo "${ECHO_T}$ac_cv_header_stdc" >&6 -if test $ac_cv_header_stdc = yes; then - -cat >>confdefs.h <<\_ACEOF -#define STDC_HEADERS 1 -_ACEOF - -fi - -# On IRIX 5.3, sys/types and inttypes.h are conflicting. - - - - - - - - - -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 -if eval "test \"\${$as_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default - -#include <$ac_header> -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_Header=yes" -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -eval "$as_ac_Header=no" -fi -rm -f conftest.$ac_objext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -if test "${ac_cv_header_arpa_inet_h+set}" = set; then - echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 -echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 -if test "${ac_cv_header_arpa_inet_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 -echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 -echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 -echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 -echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 -if test "${ac_cv_header_arpa_inet_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_arpa_inet_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 -echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 - -fi -if test $ac_cv_header_arpa_inet_h = yes; then - : -else - echo -e "\n*** cannot find arpa/inet.h ***\n"; exit -fi - - -if test "${ac_cv_header_errno_h+set}" = set; then - echo "$as_me:$LINENO: checking for errno.h" >&5 -echo $ECHO_N "checking for errno.h... $ECHO_C" >&6 -if test "${ac_cv_header_errno_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 -echo "${ECHO_T}$ac_cv_header_errno_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking errno.h usability" >&5 -echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking errno.h presence" >&5 -echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: errno.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: errno.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for errno.h" >&5 -echo $ECHO_N "checking for errno.h... $ECHO_C" >&6 -if test "${ac_cv_header_errno_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_errno_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 -echo "${ECHO_T}$ac_cv_header_errno_h" >&6 - -fi -if test $ac_cv_header_errno_h = yes; then - : -else - echo -e "\n*** cannot find errno.h ***\n"; exit -fi - - -if test "${ac_cv_header_libintl_h+set}" = set; then - echo "$as_me:$LINENO: checking for libintl.h" >&5 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 -if test "${ac_cv_header_libintl_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking libintl.h usability" >&5 -echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking libintl.h presence" >&5 -echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for libintl.h" >&5 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 -if test "${ac_cv_header_libintl_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_libintl_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 - -fi -if test $ac_cv_header_libintl_h = yes; then - : -else - echo -e "\n*** cannot find libintl.h ***\n"; exit -fi - - -if test "${ac_cv_header_locale_h+set}" = set; then - echo "$as_me:$LINENO: checking for locale.h" >&5 -echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 -if test "${ac_cv_header_locale_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 -echo "${ECHO_T}$ac_cv_header_locale_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking locale.h usability" >&5 -echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking locale.h presence" >&5 -echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for locale.h" >&5 -echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 -if test "${ac_cv_header_locale_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_locale_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 -echo "${ECHO_T}$ac_cv_header_locale_h" >&6 - -fi -if test $ac_cv_header_locale_h = yes; then - : -else - echo -e "\n*** cannot find locale.h ***\n"; exit -fi - - -if test "${ac_cv_header_netdb_h+set}" = set; then - echo "$as_me:$LINENO: checking for netdb.h" >&5 -echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6 -if test "${ac_cv_header_netdb_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 -echo "${ECHO_T}$ac_cv_header_netdb_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking netdb.h usability" >&5 -echo $ECHO_N "checking netdb.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking netdb.h presence" >&5 -echo $ECHO_N "checking netdb.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: netdb.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: netdb.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for netdb.h" >&5 -echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6 -if test "${ac_cv_header_netdb_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_netdb_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 -echo "${ECHO_T}$ac_cv_header_netdb_h" >&6 - -fi -if test $ac_cv_header_netdb_h = yes; then - : -else - echo -e "\n*** cannot find netdb.h ***\n"; exit -fi - - -if test "${ac_cv_header_netinet_in_h+set}" = set; then - echo "$as_me:$LINENO: checking for netinet/in.h" >&5 -echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 -if test "${ac_cv_header_netinet_in_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 -echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 -echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 -echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for netinet/in.h" >&5 -echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 -if test "${ac_cv_header_netinet_in_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_netinet_in_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 -echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 - -fi -if test $ac_cv_header_netinet_in_h = yes; then - : -else - echo -e "\n*** cannot find netinet/in.h ***\n"; exit -fi - - -if test "${ac_cv_header_stdio_h+set}" = set; then - echo "$as_me:$LINENO: checking for stdio.h" >&5 -echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6 -if test "${ac_cv_header_stdio_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 -echo "${ECHO_T}$ac_cv_header_stdio_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking stdio.h usability" >&5 -echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking stdio.h presence" >&5 -echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: stdio.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: stdio.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for stdio.h" >&5 -echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6 -if test "${ac_cv_header_stdio_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_stdio_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 -echo "${ECHO_T}$ac_cv_header_stdio_h" >&6 - -fi -if test $ac_cv_header_stdio_h = yes; then - : -else - echo -e "\n*** cannot find stdio.h ***\n"; exit -fi - - -if test "${ac_cv_header_stdlib_h+set}" = set; then - echo "$as_me:$LINENO: checking for stdlib.h" >&5 -echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6 -if test "${ac_cv_header_stdlib_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 -echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking stdlib.h usability" >&5 -echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking stdlib.h presence" >&5 -echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: stdlib.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: stdlib.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for stdlib.h" >&5 -echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6 -if test "${ac_cv_header_stdlib_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_stdlib_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 -echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6 - -fi -if test $ac_cv_header_stdlib_h = yes; then - : -else - echo -e "\n*** cannot find stdlib.h ***\n"; exit -fi - - -if test "${ac_cv_header_string_h+set}" = set; then - echo "$as_me:$LINENO: checking for string.h" >&5 -echo $ECHO_N "checking for string.h... $ECHO_C" >&6 -if test "${ac_cv_header_string_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 -echo "${ECHO_T}$ac_cv_header_string_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking string.h usability" >&5 -echo $ECHO_N "checking string.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking string.h presence" >&5 -echo $ECHO_N "checking string.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: string.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: string.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for string.h" >&5 -echo $ECHO_N "checking for string.h... $ECHO_C" >&6 -if test "${ac_cv_header_string_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_string_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 -echo "${ECHO_T}$ac_cv_header_string_h" >&6 - -fi -if test $ac_cv_header_string_h = yes; then - : -else - echo -e "\n*** cannot find string.h ***\n"; exit -fi - - -if test "${ac_cv_header_strings_h+set}" = set; then - echo "$as_me:$LINENO: checking for strings.h" >&5 -echo $ECHO_N "checking for strings.h... $ECHO_C" >&6 -if test "${ac_cv_header_strings_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5 -echo "${ECHO_T}$ac_cv_header_strings_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking strings.h usability" >&5 -echo $ECHO_N "checking strings.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking strings.h presence" >&5 -echo $ECHO_N "checking strings.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: strings.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: strings.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: strings.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: strings.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: strings.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: strings.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: strings.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: strings.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: strings.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: strings.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for strings.h" >&5 -echo $ECHO_N "checking for strings.h... $ECHO_C" >&6 -if test "${ac_cv_header_strings_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_strings_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5 -echo "${ECHO_T}$ac_cv_header_strings_h" >&6 - -fi -if test $ac_cv_header_strings_h = yes; then - : -else - echo -e "\n*** cannot find strings.h ***\n"; exit -fi - - -if test "${ac_cv_header_sys_socket_h+set}" = set; then - echo "$as_me:$LINENO: checking for sys/socket.h" >&5 -echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6 -if test "${ac_cv_header_sys_socket_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 -echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking sys/socket.h usability" >&5 -echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking sys/socket.h presence" >&5 -echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: sys/socket.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: sys/socket.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for sys/socket.h" >&5 -echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6 -if test "${ac_cv_header_sys_socket_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_sys_socket_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 -echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6 - -fi -if test $ac_cv_header_sys_socket_h = yes; then - : -else - echo -e "\n*** cannot find sys/socket.h ***\n"; exit -fi - - -if test "${ac_cv_header_sys_time_h+set}" = set; then - echo "$as_me:$LINENO: checking for sys/time.h" >&5 -echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6 -if test "${ac_cv_header_sys_time_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 -echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking sys/time.h usability" >&5 -echo $ECHO_N "checking sys/time.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking sys/time.h presence" >&5 -echo $ECHO_N "checking sys/time.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: sys/time.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: sys/time.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for sys/time.h" >&5 -echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6 -if test "${ac_cv_header_sys_time_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_sys_time_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 -echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6 - -fi -if test $ac_cv_header_sys_time_h = yes; then - : -else - echo -e "\n*** cannot find sys/time.h ***\n"; exit -fi - - -if test "${ac_cv_header_unistd_h+set}" = set; then - echo "$as_me:$LINENO: checking for unistd.h" >&5 -echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6 -if test "${ac_cv_header_unistd_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 -echo "${ECHO_T}$ac_cv_header_unistd_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking unistd.h usability" >&5 -echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking unistd.h presence" >&5 -echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: unistd.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: unistd.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for unistd.h" >&5 -echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6 -if test "${ac_cv_header_unistd_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_unistd_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 -echo "${ECHO_T}$ac_cv_header_unistd_h" >&6 - -fi -if test $ac_cv_header_unistd_h = yes; then - : -else - echo -e "\n*** cannot find unistd.h ***\n"; exit -fi - - -if test -n "$use_ssl"; then - if test "${ac_cv_header_openssl_sha_h+set}" = set; then - echo "$as_me:$LINENO: checking for openssl/sha.h" >&5 -echo $ECHO_N "checking for openssl/sha.h... $ECHO_C" >&6 -if test "${ac_cv_header_openssl_sha_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_openssl_sha_h" >&5 -echo "${ECHO_T}$ac_cv_header_openssl_sha_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking openssl/sha.h usability" >&5 -echo $ECHO_N "checking openssl/sha.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking openssl/sha.h presence" >&5 -echo $ECHO_N "checking openssl/sha.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: openssl/sha.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: openssl/sha.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: openssl/sha.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: openssl/sha.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: openssl/sha.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: openssl/sha.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: openssl/sha.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: openssl/sha.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: openssl/sha.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: openssl/sha.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for openssl/sha.h" >&5 -echo $ECHO_N "checking for openssl/sha.h... $ECHO_C" >&6 -if test "${ac_cv_header_openssl_sha_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_openssl_sha_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_openssl_sha_h" >&5 -echo "${ECHO_T}$ac_cv_header_openssl_sha_h" >&6 - -fi -if test $ac_cv_header_openssl_sha_h = yes; then - : -else - use_ssl="" -fi - - -fi -if test -n "$use_ssl"; then - if test "${ac_cv_header_openssl_md5_h+set}" = set; then - echo "$as_me:$LINENO: checking for openssl/md5.h" >&5 -echo $ECHO_N "checking for openssl/md5.h... $ECHO_C" >&6 -if test "${ac_cv_header_openssl_md5_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_openssl_md5_h" >&5 -echo "${ECHO_T}$ac_cv_header_openssl_md5_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking openssl/md5.h usability" >&5 -echo $ECHO_N "checking openssl/md5.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking openssl/md5.h presence" >&5 -echo $ECHO_N "checking openssl/md5.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: openssl/md5.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: openssl/md5.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: openssl/md5.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: openssl/md5.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: openssl/md5.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: openssl/md5.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: openssl/md5.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: openssl/md5.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: openssl/md5.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: openssl/md5.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for openssl/md5.h" >&5 -echo $ECHO_N "checking for openssl/md5.h... $ECHO_C" >&6 -if test "${ac_cv_header_openssl_md5_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_openssl_md5_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_openssl_md5_h" >&5 -echo "${ECHO_T}$ac_cv_header_openssl_md5_h" >&6 - -fi -if test $ac_cv_header_openssl_md5_h = yes; then - : -else - use_ssl="" -fi - - -fi -if test -n "$use_ssl"; then - if test "${ac_cv_header_openssl_hmac_h+set}" = set; then - echo "$as_me:$LINENO: checking for openssl/hmac.h" >&5 -echo $ECHO_N "checking for openssl/hmac.h... $ECHO_C" >&6 -if test "${ac_cv_header_openssl_hmac_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_openssl_hmac_h" >&5 -echo "${ECHO_T}$ac_cv_header_openssl_hmac_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking openssl/hmac.h usability" >&5 -echo $ECHO_N "checking openssl/hmac.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking openssl/hmac.h presence" >&5 -echo $ECHO_N "checking openssl/hmac.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: openssl/hmac.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: openssl/hmac.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: openssl/hmac.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: openssl/hmac.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: openssl/hmac.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: openssl/hmac.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: openssl/hmac.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: openssl/hmac.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: openssl/hmac.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: openssl/hmac.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for openssl/hmac.h" >&5 -echo $ECHO_N "checking for openssl/hmac.h... $ECHO_C" >&6 -if test "${ac_cv_header_openssl_hmac_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_openssl_hmac_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_openssl_hmac_h" >&5 -echo "${ECHO_T}$ac_cv_header_openssl_hmac_h" >&6 - -fi -if test $ac_cv_header_openssl_hmac_h = yes; then - : -else - use_ssl="" -fi - - -fi - -echo "$as_me:$LINENO: checking for gettext" >&5 -echo $ECHO_N "checking for gettext... $ECHO_C" >&6 -if test "${ac_cv_func_gettext+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char gettext (); below. */ -#include -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char gettext (); -char (*f) (); - -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_gettext) || defined (__stub___gettext) -choke me -#else -f = gettext; -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_func_gettext=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_func_gettext=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: $ac_cv_func_gettext" >&5 -echo "${ECHO_T}$ac_cv_func_gettext" >&6 -if test $ac_cv_func_gettext = yes; then - : -else - -echo "$as_me:$LINENO: checking for gettext in -lintl" >&5 -echo $ECHO_N "checking for gettext in -lintl... $ECHO_C" >&6 -if test "${ac_cv_lib_intl_gettext+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lintl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char gettext (); -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -gettext (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_intl_gettext=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_lib_intl_gettext=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_lib_intl_gettext" >&5 -echo "${ECHO_T}$ac_cv_lib_intl_gettext" >&6 -if test $ac_cv_lib_intl_gettext = yes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBINTL 1 -_ACEOF - - LIBS="-lintl $LIBS" - -else - echo -e "\n*** You need to get libintl ***\n";exit - -fi - - -fi - - -echo "$as_me:$LINENO: checking for socket" >&5 -echo $ECHO_N "checking for socket... $ECHO_C" >&6 -if test "${ac_cv_func_socket+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char socket (); below. */ -#include -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char socket (); -char (*f) (); - -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_socket) || defined (__stub___socket) -choke me -#else -f = socket; -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_func_socket=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_func_socket=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 -echo "${ECHO_T}$ac_cv_func_socket" >&6 -if test $ac_cv_func_socket = yes; then - : -else - -echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 -echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 -if test "${ac_cv_lib_socket_socket+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lsocket $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char socket (); -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -socket (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_socket_socket=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_lib_socket_socket=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 -echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 -if test $ac_cv_lib_socket_socket = yes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBSOCKET 1 -_ACEOF - - LIBS="-lsocket $LIBS" - -else - echo -e "\n*** You need to get libsocket ***\n";exit - -fi - - -fi - - -echo "$as_me:$LINENO: checking for gethostbyname" >&5 -echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 -if test "${ac_cv_func_gethostbyname+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char gethostbyname (); below. */ -#include -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char gethostbyname (); -char (*f) (); - -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) -choke me -#else -f = gethostbyname; -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_func_gethostbyname=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_func_gethostbyname=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 -echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 -if test $ac_cv_func_gethostbyname = yes; then - : -else - -echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 -echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 -if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lnsl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char gethostbyname (); -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -gethostbyname (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_nsl_gethostbyname=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_lib_nsl_gethostbyname=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 -echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 -if test $ac_cv_lib_nsl_gethostbyname = yes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBNSL 1 -_ACEOF - - LIBS="-lnsl $LIBS" - -else - echo -e "\n*** You need to get libnsl ***\n";exit - -fi - - -fi - - -# we do not need -ldl on MacOS -case $(./config.guess) in - *-*-darwin*) - break - ;; - *) - echo "$as_me:$LINENO: checking for dlopen" >&5 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 -if test "${ac_cv_func_dlopen+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char dlopen (); below. */ -#include -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char dlopen (); -char (*f) (); - -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_dlopen) || defined (__stub___dlopen) -choke me -#else -f = dlopen; -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_func_dlopen=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_func_dlopen=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6 -if test $ac_cv_func_dlopen = yes; then - : -else - -echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char dlopen (); -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -dlopen (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_dl_dlopen=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_lib_dl_dlopen=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 -if test $ac_cv_lib_dl_dlopen = yes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBDL 1 -_ACEOF - - LIBS="-ldl $LIBS" - -else - echo -e "\n*** You need to get libdl(compat) ***\n";exit - -fi - - -fi - - ;; -esac - -if test -n "$use_ssl"; then - echo "$as_me:$LINENO: checking for HMAC in -lssl" >&5 -echo $ECHO_N "checking for HMAC in -lssl... $ECHO_C" >&6 -if test "${ac_cv_lib_ssl_HMAC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lssl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char HMAC (); -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -HMAC (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_ssl_HMAC=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_lib_ssl_HMAC=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_HMAC" >&5 -echo "${ECHO_T}$ac_cv_lib_ssl_HMAC" >&6 -if test $ac_cv_lib_ssl_HMAC = yes; then - if test -n "$use_ssl"; then - LIBS="$LIBS -lssl"; - fi -else - echo "$as_me:$LINENO: checking for HMAC in -lcrypto" >&5 -echo $ECHO_N "checking for HMAC in -lcrypto... $ECHO_C" >&6 -if test "${ac_cv_lib_crypto_HMAC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lcrypto $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char HMAC (); -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -HMAC (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_crypto_HMAC=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_lib_crypto_HMAC=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_HMAC" >&5 -echo "${ECHO_T}$ac_cv_lib_crypto_HMAC" >&6 -if test $ac_cv_lib_crypto_HMAC = yes; then - if test -n "$use_ssl"; then - LIBS="$LIBS -lcrypto"; - fi; - echo "$as_me:$LINENO: checking for SSL_new in -lssl" >&5 -echo $ECHO_N "checking for SSL_new in -lssl... $ECHO_C" >&6 -if test "${ac_cv_lib_ssl_SSL_new+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lssl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char SSL_new (); -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -SSL_new (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_ssl_SSL_new=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_lib_ssl_SSL_new=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_new" >&5 -echo "${ECHO_T}$ac_cv_lib_ssl_SSL_new" >&6 -if test $ac_cv_lib_ssl_SSL_new = yes; then - if test -n "$use_ssl"; then - LIBS="$LIBS -lssl"; - fi -else - use_ssl=""; - -fi - -else - use_ssl=""; - -fi - - -fi - -fi - -# Checks for typedefs, structures, and compiler characteristics. -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 -if test "${ac_cv_prog_cc_stdc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_prog_cc_stdc=no -ac_save_CC=$CC -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -#include -#include -#include -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -# Don't try gcc -ansi; that turns off useful extensions and -# breaks some systems' header files. -# AIX -qlanglvl=ansi -# Ultrix and OSF/1 -std1 -# HP-UX 10.20 and later -Ae -# HP-UX older versions -Aa -D_HPUX_SOURCE -# SVR4 -Xc -D__EXTENSIONS__ -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_prog_cc_stdc=$ac_arg -break -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -fi -rm -f conftest.$ac_objext -done -rm -f conftest.$ac_ext conftest.$ac_objext -CC=$ac_save_CC - -fi - -case "x$ac_cv_prog_cc_stdc" in - x|xno) - echo "$as_me:$LINENO: result: none needed" >&5 -echo "${ECHO_T}none needed" >&6 ;; - *) - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 - CC="$CC $ac_cv_prog_cc_stdc" ;; -esac - -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 -if test "${ac_cv_c_const+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" - -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -/* FIXME: Include the comments suggested by Paul. */ -#ifndef __cplusplus - /* Ultrix mips cc rejects this. */ - typedef int charset[2]; - const charset x; - /* SunOS 4.1.1 cc rejects this. */ - char const *const *ccp; - char **p; - /* NEC SVR4.0.2 mips cc rejects this. */ - struct point {int x, y;}; - static struct point const zero = {0,0}; - /* AIX XL C 1.02.0.0 rejects this. - It does not let you subtract one const X* pointer from another in - an arm of an if-expression whose if-part is not a constant - expression */ - const char *g = "string"; - ccp = &g + (g ? g-g : 0); - /* HPUX 7.0 cc rejects these. */ - ++ccp; - p = (char**) ccp; - ccp = (char const *const *) p; - { /* SCO 3.2v4 cc rejects this. */ - char *t; - char const *s = 0 ? (char *) 0 : (char const *) 0; - - *t++ = 0; - } - { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ - int x[] = {25, 17}; - const int *foo = &x[0]; - ++foo; - } - { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ - typedef const int *iptr; - iptr p = 0; - ++p; - } - { /* AIX XL C 1.02.0.0 rejects this saying - "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ - struct s { int j; const int *ap[3]; }; - struct s *b; b->j = 5; - } - { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ - const int foo = 10; - } -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_c_const=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_c_const=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 -echo "${ECHO_T}$ac_cv_c_const" >&6 -if test $ac_cv_c_const = no; then - -cat >>confdefs.h <<\_ACEOF -#define const -_ACEOF - -fi - - -# Check for library functions. -echo "$as_me:$LINENO: checking for ANSI C header files" >&5 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 -if test "${ac_cv_header_stdc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -#include -#include -#include - -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_cv_header_stdc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_cv_header_stdc=no -fi -rm -f conftest.err conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "memchr" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "free" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then - : -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - exit(2); - exit (0); -} -_ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - : -else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -( exit $ac_status ) -ac_cv_header_stdc=no -fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi -fi -fi -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 -echo "${ECHO_T}$ac_cv_header_stdc" >&6 -if test $ac_cv_header_stdc = yes; then - -cat >>confdefs.h <<\_ACEOF -#define STDC_HEADERS 1 -_ACEOF - -fi - - -# ssl support -if test -n "$use_ssl" -then - ssl="-D__USE_SSL_"; - objs='$(SSL_OBJS) $(NO_SSL_OBJS)'; - hdrs='includes/ssl/*.h'; -else - echo -e "\n*** SSL support is disabled ***\n"; - objs='$(NO_SSL_OBJS)'; - hdrs='includes/nossl/*.h'; -fi - -# set the compiler flags depending on the operating system -case $(./config.guess) in - *-*-freebsd*) - CFLAGS="$CFLAGS -fno-builtin-log -fPIC -Os -Wall" - CFLAGS="$CFLAGS -DPLUGINDIR=\\\"\$(libdir)/libsmtp--/plugins\\\"" - CFLAGS="$CFLAGS -DLOCALEDIR=\\\"\$(sharedir)/locale\\\"" - CFLAGS="$CFLAGS -DTEXTDOMAIN=\\\"libsmtp--\\\"" - - ldflags_plg="$LDFLAGS -s -shared -nostartfiles" - LDFLAGS="$LDFLAGS -s -shared -nostartfiles -Wl,-soname,libsmtp--.so.\$(LIBVER)" - - lib_nam="libsmtp--" - lib_ver_major="0" - lib_ver_minor="1" - lib_ver_release="0" - lib_ext="so" - - strip="strip --remove-section=.note --remove-section=.comment" - ;; - *-*-openbsd*) - CFLAGS="$CFLAGS -pedantic -fno-builtin-log -fPIC -Os -Wall" - CFLAGS="$CFLAGS -DPLUGINDIR=\\\"\$(libdir)/libsmtp--/plugins\\\"" - CFLAGS="$CFLAGS -DLOCALEDIR=\\\"\$(sharedir)/locale\\\"" - CFLAGS="$CFLAGS -DTEXTDOMAIN=\\\"libsmtp--\\\"" - - ldflags_plg="$LDFLAGS -s -shared -nostartfiles" - LDFLAGS="$LDFLAGS -s -shared -nostartfiles -Wl,-soname,libsmtp--.so.\$(LIBVER)" - - lib_nam="libsmtp--" - lib_ver_major="0" - lib_ver_minor="1" - lib_ver_release="0" - lib_ext="so" - - strip="strip --remove-section=.note --remove-section=.comment" - ;; - *-*-linux*) - CFLAGS="$CFLAGS -pedantic -fno-builtin-log -fPIC -Os -Wall" - CFLAGS="$CFLAGS -DPLUGINDIR=\\\"\$(libdir)/libsmtp--/plugins\\\"" - CFLAGS="$CFLAGS -DLOCALEDIR=\\\"\$(sharedir)/locale\\\"" - CFLAGS="$CFLAGS -DTEXTDOMAIN=\\\"libsmtp--\\\"" - - ldflags_plg="$LDFLAGS -s -shared -nostartfiles" - LDFLAGS="$LDFLAGS -s -shared -nostartfiles -Wl,-hlibsmtp--.so.\$(LIBVER)" - - lib_nam="libsmtp--" - lib_ver_major="0" - lib_ver_minor="1" - lib_ver_release="0" - lib_ext="so" - - strip="strip --remove-section=.note --remove-section=.comment" - ;; - *-*-solaris*) - CFLAGS="$CFLAGS -pedantic -fno-builtin-log -fPIC -Os -Wall" - CFLAGS="$CFLAGS -DPLUGINDIR=\\\"\$(libdir)/libsmtp--/plugins\\\"" - CFLAGS="$CFLAGS -DLOCALEDIR=\\\"\$(sharedir)/locale\\\"" - CFLAGS="$CFLAGS -DTEXTDOMAIN=\\\"libsmtp--\\\"" - - ldflags_plg="$LDFLAGS -s -shared -nostartfiles" - LDFLAGS="$LDFLAGS -s -shared -nostartfiles -Wl,-hlibsmtp--.so.\$(LIBVER)" - - lib_nam="libsmtp--" - lib_ver_major="0" - lib_ver_minor="1" - lib_ver_release="0" - lib_ext="so" - - strip="/usr/ccs/bin/strip -x" - ;; - *-*-darwin*) - CFLAGS="$CFLAGS -no-cpp-precomp -pedantic -fno-builtin-log -fPIC -Os -Wall" - CFLAGS="$CFLAGS -DPLUGINDIR=\\\"\$(libdir)/libsmtp--/plugins\\\"" - CFLAGS="$CFLAGS -DLOCALEDIR=\\\"\$(sharedir)/locale\\\"" - CFLAGS="$CFLAGS -DTEXTDOMAIN=\\\"libsmtp--\\\"" - CFLAGS="$CFLAGS -D__MACOS_" - - ldflags_plg="$LDFLAGS -L../ -Wl,-bundle,-x,-multiply_defined,suppress" - libs_plg="$LIBS -lsmtp--" - - # i cannot find any -fini switch on MacOS :-( - LDFLAGS="$LDFLAGS -dynamiclib -nostartfiles" - LDFLAGS="$LDFLAGS -Wl,-dynamic,-current_version,\$(LIBVER)," - LDFLAGS="$LDFLAGS-compatibility_version,\$(LIBCOMPAT)," - LDFLAGS="$LDFLAGS-install_name,\$(LIBNAM).\$(LIBEXT),-init,__init,-x" - - bldtyp_plg="-bundle" - bldtyp_lib="-dynamic" - - macos_dlfcn="dlfcn.o" - - lib_nam="libsmtp--" - lib_ver_major="0" - lib_ver_minor="1" - lib_ver_release="0" - lib_ext="dylib" - - strip="strip -x" - macosx_deployment_target='if test -z "$$MACOSX_DEPLOYMENT_TARGET"; then export MACOSX_DEPLOYMENT_TARGET="10.2"; fi; ' - ;; - *) - CFLAGS="$CFLAGS -pedantic -fno-builtin-log -fPIC -Os -Wall" - CFLAGS="$CFLAGS -DPLUGINDIR=\\\"\$(libdir)/libsmtp--/plugins\\\"" - CFLAGS="$CFLAGS -DLOCALEDIR=\\\"\$(sharedir)/locale\\\"" - CFLAGS="$CFLAGS -DTEXTDOMAIN=\\\"libsmtp--\\\"" - - ldflags_plg="$LDFLAGS -s -shared -nostartfiles" - LDFLAGS="$LDFLAGS -s -shared -nostartfiles -Wl,-hlibsmtp--.so.\$(LIBVER)" - - lib_nam="libsmtp--" - lib_ver_major="0" - lib_ver_minor="1" - lib_ver_release="0" - lib_ext="so" - - strip="strip --remove-section=.note --remove-section=.comment" - ;; -esac - - - - - - - - - - - - - - - - - -ac_config_files="$ac_config_files Makefile src/Makefile src/plugins/Makefile" - - -cat >confcache <<\_ACEOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overriden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF - -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, don't put newlines in cache variables' values. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -{ - (set) 2>&1 | - case `(ac_space=' '; set | grep ac_space) 2>&1` in - *ac_space=\ *) - # `set' does not quote correctly, so add quotes (double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \). - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n \ - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" - ;; - esac; -} | - sed ' - t clear - : clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ - t end - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ - : end' >>confcache -if cmp -s $cache_file confcache; then :; else - if test -w $cache_file; then - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" - cat confcache >$cache_file - else - echo "not updating unwritable cache $cache_file" - fi -fi -rm -f confcache - -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - -# VPATH may cause trouble with some makes, so we remove $(srcdir), -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and -# trailing colons and then remove the whole line if VPATH becomes empty -# (actually we leave an empty line to preserve line numbers). -if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=/{ -s/:*\$(srcdir):*/:/; -s/:*\${srcdir}:*/:/; -s/:*@srcdir@:*/:/; -s/^\([^=]*=[ ]*\):*/\1/; -s/:*$//; -s/^[^=]*=[ ]*$//; -}' -fi - -# Transform confdefs.h into DEFS. -# Protect against shell expansion while executing Makefile rules. -# Protect against Makefile macro expansion. -# -# If the first sed substitution is executed (which looks for macros that -# take arguments), then we branch to the quote section. Otherwise, -# look for a macro that doesn't take arguments. -cat >confdef2opt.sed <<\_ACEOF -t clear -: clear -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g -t quote -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g -t quote -d -: quote -s,[ `~#$^&*(){}\\|;'"<>?],\\&,g -s,\[,\\&,g -s,\],\\&,g -s,\$,$$,g -p -_ACEOF -# We use echo to avoid assuming a particular line-breaking character. -# The extra dot is to prevent the shell from consuming trailing -# line-breaks from the sub-command output. A line-break within -# single-quotes doesn't work because, if this script is created in a -# platform that uses two characters for line-breaks (e.g., DOS), tr -# would break. -ac_LF_and_DOT=`echo; echo .` -DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` -rm -f confdef2opt.sed - - - -: ${CONFIG_STATUS=./config.status} -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 -echo "$as_me: creating $CONFIG_STATUS" >&6;} -cat >$CONFIG_STATUS <<_ACEOF -#! $SHELL -# Generated by $as_me. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -debug=false -SHELL=\${CONFIG_SHELL-$SHELL} -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF - -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## - -# Be Bourne compatible -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then - set -o posix -fi - -# NLS nuisances. -# Support unset when possible. -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - -(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && - { $as_unset LANG || test "${LANG+set}" != set; } || - { LANG=C; export LANG; } -(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && - { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || - { LC_ALL=C; export LC_ALL; } -(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && - { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || - { LC_TIME=C; export LC_TIME; } -(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && - { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || - { LC_CTYPE=C; export LC_CTYPE; } -(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && - { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || - { LANGUAGE=C; export LANGUAGE; } -(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && - { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || - { LC_COLLATE=C; export LC_COLLATE; } -(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && - { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || - { LC_NUMERIC=C; export LC_NUMERIC; } -(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && - { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || - { LC_MESSAGES=C; export LC_MESSAGES; } - - -# Name of the executable. -as_me=`(basename "$0") 2>/dev/null || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)$' \| \ - . : '\(.\)' 2>/dev/null || -echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } - /^X\/\(\/\/\)$/{ s//\1/; q; } - /^X\/\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` - -# PATH needs CR, and LINENO needs CR and PATH. -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conftest.sh - echo "exit 0" >>conftest.sh - chmod +x conftest.sh - if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conftest.sh -fi - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x$as_lineno_3" = "x$as_lineno_2" || { - # Find who we are. Look in the path if we contain no path at all - # relative or not. - case $0 in - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done - - ;; - esac - # We did not find ourselves, most probably we were run as `sh COMMAND' - # in which case we are not to be found in the path. - if test "x$as_myself" = x; then - as_myself=$0 - fi - if test ! -f "$as_myself"; then - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} - { (exit 1); exit 1; }; } - fi - case $CONFIG_SHELL in - '') - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for as_base in sh bash ksh sh5; do - case $as_dir in - /*) - if ("$as_dir/$as_base" -c ' - as_lineno_1=$LINENO - as_lineno_2=$LINENO - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then - CONFIG_SHELL=$as_dir/$as_base - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$0" ${1+"$@"} - fi;; - esac - done -done -;; - esac - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line before each line; the second 'sed' does the real - # work. The second script uses 'N' to pair each line-number line - # with the numbered line, and appends trailing '-' during - # substitution so that $LINENO is not a special case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) - sed '=' <$as_myself | - sed ' - N - s,$,-, - : loop - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, - t loop - s,-$,, - s,^['$as_cr_digits']*\n,, - ' >$as_me.lineno && - chmod +x $as_me.lineno || - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensible to this). - . ./$as_me.lineno - # Exit status is that of the last command. - exit -} - - -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in - *c*,-n*) ECHO_N= ECHO_C=' -' ECHO_T=' ' ;; - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; - *) ECHO_N= ECHO_C='\c' ECHO_T= ;; -esac - -if expr a : '\(a\)' >/dev/null 2>&1; then - as_expr=expr -else - as_expr=false -fi - -rm -f conf$$ conf$$.exe conf$$.file -echo >conf$$.file -if ln -s conf$$.file conf$$ 2>/dev/null; then - # We could just check for DJGPP; but this test a) works b) is more generic - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). - if test -f conf$$.exe; then - # Don't use ln at all; we don't have any links - as_ln_s='cp -p' - else - as_ln_s='ln -s' - fi -elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.file - -as_executable_p="test -f" - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" - - -# IFS -# We need space, tab and new line, in precisely that order. -as_nl=' -' -IFS=" $as_nl" - -# CDPATH. -$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } - -exec 6>&1 - -# Open the log real soon, to keep \$[0] and so on meaningful, and to -# report actual input values of CONFIG_FILES etc. instead of their -# values after options handling. Logging --version etc. is OK. -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX -## Running $as_me. ## -_ASBOX -} >&5 -cat >&5 <<_CSEOF - -This file was extended by libsmtp-- $as_me 0.1, which was -generated by GNU Autoconf 2.53. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ - -_CSEOF -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 -echo >&5 -_ACEOF - -# Files that config.status was made for. -if test -n "$ac_config_files"; then - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS -fi - -if test -n "$ac_config_headers"; then - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS -fi - -if test -n "$ac_config_links"; then - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS -fi - -if test -n "$ac_config_commands"; then - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS -fi - -cat >>$CONFIG_STATUS <<\_ACEOF - -ac_cs_usage="\ -\`$as_me' instantiates files from templates according to the -current configuration. - -Usage: $0 [OPTIONS] [FILE]... - - -h, --help print this help, then exit - -V, --version print version number, then exit - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - -Configuration files: -$config_files - -Report bugs to ." -_ACEOF - -cat >>$CONFIG_STATUS <<_ACEOF -ac_cs_version="\\ -libsmtp-- config.status 0.1 -configured by $0, generated by GNU Autoconf 2.53, - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" - -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 -Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." -srcdir=$srcdir -INSTALL="$INSTALL" -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF -# If no file are specified by the user, then we need to provide default -# value. By we need to know if files were specified by the user. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=*) - ac_option=`expr "x$1" : 'x\([^=]*\)='` - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` - shift - set dummy "$ac_option" "$ac_optarg" ${1+"$@"} - shift - ;; - -*);; - *) # This is not an option, so the user has probably given explicit - # arguments. - ac_need_defaults=false;; - esac - - case $1 in - # Handling of the options. -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" - exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF - --version | --vers* | -V ) - echo "$ac_cs_version"; exit 0 ;; - --he | --h) - # Conflict between --help and --header - { { echo "$as_me:$LINENO: error: ambiguous option: $1 -Try \`$0 --help' for more information." >&5 -echo "$as_me: error: ambiguous option: $1 -Try \`$0 --help' for more information." >&2;} - { (exit 1); exit 1; }; };; - --help | --hel | -h ) - echo "$ac_cs_usage"; exit 0 ;; - --debug | --d* | -d ) - debug=: ;; - --file | --fil | --fi | --f ) - shift - CONFIG_FILES="$CONFIG_FILES $1" - ac_need_defaults=false;; - --header | --heade | --head | --hea ) - shift - CONFIG_HEADERS="$CONFIG_HEADERS $1" - ac_need_defaults=false;; - - # This is an error. - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 -Try \`$0 --help' for more information." >&5 -echo "$as_me: error: unrecognized option: $1 -Try \`$0 --help' for more information." >&2;} - { (exit 1); exit 1; }; } ;; - - *) ac_config_targets="$ac_config_targets $1" ;; - - esac - shift -done - -_ACEOF - - - - - -cat >>$CONFIG_STATUS <<\_ACEOF -for ac_config_target in $ac_config_targets -do - case "$ac_config_target" in - # Handling of arguments. - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; - "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; - "src/plugins/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;; - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;} - { (exit 1); exit 1; }; };; - esac -done - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files -fi - -# Create a temporary directory, and hook for its removal unless debugging. -$debug || -{ - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 - trap '{ (exit 1); exit 1; }' 1 2 13 15 -} - -# Create a (secure) tmp directory for tmp files. -: ${TMPDIR=/tmp} -{ - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=$TMPDIR/cs$$-$RANDOM - (umask 077 && mkdir $tmp) -} || -{ - echo "$me: cannot create a temporary directory in $TMPDIR" >&2 - { (exit 1); exit 1; } -} - -_ACEOF - -cat >>$CONFIG_STATUS <<_ACEOF - -# -# CONFIG_FILES section. -# - -# No need to generate the scripts if there are no CONFIG_FILES. -# This happens for instance when ./config.status config.h -if test -n "\$CONFIG_FILES"; then - # Protect against being on the right side of a sed subst in config.status. - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF -s,@SHELL@,$SHELL,;t t -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t -s,@exec_prefix@,$exec_prefix,;t t -s,@prefix@,$prefix,;t t -s,@program_transform_name@,$program_transform_name,;t t -s,@bindir@,$bindir,;t t -s,@sbindir@,$sbindir,;t t -s,@libexecdir@,$libexecdir,;t t -s,@datadir@,$datadir,;t t -s,@sysconfdir@,$sysconfdir,;t t -s,@sharedstatedir@,$sharedstatedir,;t t -s,@localstatedir@,$localstatedir,;t t -s,@libdir@,$libdir,;t t -s,@includedir@,$includedir,;t t -s,@oldincludedir@,$oldincludedir,;t t -s,@infodir@,$infodir,;t t -s,@mandir@,$mandir,;t t -s,@build_alias@,$build_alias,;t t -s,@host_alias@,$host_alias,;t t -s,@target_alias@,$target_alias,;t t -s,@DEFS@,$DEFS,;t t -s,@ECHO_C@,$ECHO_C,;t t -s,@ECHO_N@,$ECHO_N,;t t -s,@ECHO_T@,$ECHO_T,;t t -s,@LIBS@,$LIBS,;t t -s,@CC@,$CC,;t t -s,@CFLAGS@,$CFLAGS,;t t -s,@LDFLAGS@,$LDFLAGS,;t t -s,@CPPFLAGS@,$CPPFLAGS,;t t -s,@ac_ct_CC@,$ac_ct_CC,;t t -s,@EXEEXT@,$EXEEXT,;t t -s,@OBJEXT@,$OBJEXT,;t t -s,@SET_MAKE@,$SET_MAKE,;t t -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t -s,@INSTALL_DATA@,$INSTALL_DATA,;t t -s,@CPP@,$CPP,;t t -s,@objs@,$objs,;t t -s,@hdrs@,$hdrs,;t t -s,@ssl@,$ssl,;t t -s,@lib_nam@,$lib_nam,;t t -s,@lib_ver_major@,$lib_ver_major,;t t -s,@lib_ver_minor@,$lib_ver_minor,;t t -s,@lib_ver_release@,$lib_ver_release,;t t -s,@lib_ext@,$lib_ext,;t t -s,@macos_dlfcn@,$macos_dlfcn,;t t -s,@ldflags_plg@,$ldflags_plg,;t t -s,@bldtyp_lib@,$bldtyp_lib,;t t -s,@bldtyp_plg@,$bldtyp_plg,;t t -s,@libs_plg@,$libs_plg,;t t -s,@strip@,$strip,;t t -s,@macosx_deployment_target@,$macosx_deployment_target,;t t -CEOF - -_ACEOF - - cat >>$CONFIG_STATUS <<\_ACEOF - # Split the substitutions into bite-sized pieces for seds with - # small command number limits, like on Digital OSF/1 and HP-UX. - ac_max_sed_lines=48 - ac_sed_frag=1 # Number of current file. - ac_beg=1 # First line for current file. - ac_end=$ac_max_sed_lines # Line after last line for current file. - ac_more_lines=: - ac_sed_cmds= - while $ac_more_lines; do - if test $ac_beg -gt 1; then - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag - else - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag - fi - if test ! -s $tmp/subs.frag; then - ac_more_lines=false - else - # The purpose of the label and of the branching condition is to - # speed up the sed processing (if there are no `@' at all, there - # is no need to browse any of the substitutions). - # These are the two extra sed commands mentioned above. - (echo ':t - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed - if test -z "$ac_sed_cmds"; then - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" - else - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" - fi - ac_sed_frag=`expr $ac_sed_frag + 1` - ac_beg=$ac_end - ac_end=`expr $ac_end + $ac_max_sed_lines` - fi - done - if test -z "$ac_sed_cmds"; then - ac_sed_cmds=cat - fi -fi # test -n "$CONFIG_FILES" - -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". - case $ac_file in - - | *:- | *:-:* ) # input from stdin - cat >$tmp/stdin - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; - * ) ac_file_in=$ac_file.in ;; - esac - - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. - ac_dir=`(dirname "$ac_file") 2>/dev/null || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| \ - . : '\(.\)' 2>/dev/null || -echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } - /^X\(\/\/\)[^/].*/{ s//\1/; q; } - /^X\(\/\/\)$/{ s//\1/; q; } - /^X\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` - { case "$ac_dir" in - [\\/]* | ?:[\\/]* ) as_incr_dir=;; - *) as_incr_dir=.;; -esac -as_dummy="$ac_dir" -for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do - case $as_mkdir_dir in - # Skip DOS drivespec - ?:) as_incr_dir=$as_mkdir_dir ;; - *) - as_incr_dir=$as_incr_dir/$as_mkdir_dir - test -d "$as_incr_dir" || - mkdir "$as_incr_dir" || - { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 -echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} - { (exit 1); exit 1; }; } - ;; - esac -done; } - - ac_builddir=. - -if test "$ac_dir" != .; then - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` - # A "../" for each directory in $ac_dir_suffix. - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` -else - ac_dir_suffix= ac_top_builddir= -fi - -case $srcdir in - .) # No --srcdir option. We are building in place. - ac_srcdir=. - if test -z "$ac_top_builddir"; then - ac_top_srcdir=. - else - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` - fi ;; - [\\/]* | ?:[\\/]* ) # Absolute path. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir ;; - *) # Relative path. - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_builddir$srcdir ;; -esac -# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be -# absolute. -ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` -ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` -ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` - - - case $INSTALL in - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; - *) ac_INSTALL=$ac_top_builddir$INSTALL ;; - esac - - if test x"$ac_file" != x-; then - { echo "$as_me:$LINENO: creating $ac_file" >&5 -echo "$as_me: creating $ac_file" >&6;} - rm -f "$ac_file" - fi - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - if test x"$ac_file" = x-; then - configure_input= - else - configure_input="$ac_file. " - fi - configure_input=$configure_input"Generated from `echo $ac_file_in | - sed 's,.*/,,'` by configure." - - # First look for the input files in the build tree, otherwise in the - # src tree. - ac_file_inputs=`IFS=: - for f in $ac_file_in; do - case $f in - -) echo $tmp/stdin ;; - [\\/$]*) - # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 -echo "$as_me: error: cannot find input file: $f" >&2;} - { (exit 1); exit 1; }; } - echo $f;; - *) # Relative - if test -f "$f"; then - # Build tree - echo $f - elif test -f "$srcdir/$f"; then - # Source tree - echo $srcdir/$f - else - # /dev/null tree - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 -echo "$as_me: error: cannot find input file: $f" >&2;} - { (exit 1); exit 1; }; } - fi;; - esac - done` || { (exit 1); exit 1; } -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF - sed "$ac_vpsub -$extrasub -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s,@configure_input@,$configure_input,;t t -s,@srcdir@,$ac_srcdir,;t t -s,@abs_srcdir@,$ac_abs_srcdir,;t t -s,@top_srcdir@,$ac_top_srcdir,;t t -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t -s,@builddir@,$ac_builddir,;t t -s,@abs_builddir@,$ac_abs_builddir,;t t -s,@top_builddir@,$ac_top_builddir,;t t -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t -s,@INSTALL@,$ac_INSTALL,;t t -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out - rm -f $tmp/stdin - if test x"$ac_file" != x-; then - mv $tmp/out $ac_file - else - cat $tmp/out - rm -f $tmp/out - fi - -done -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF - -{ (exit 0); exit 0; } -_ACEOF -chmod +x $CONFIG_STATUS -ac_clean_files=$ac_clean_files_save - - -# configure is writing to config.log, and then calls config.status. -# config.status does its own redirection, appending to config.log. -# Unfortunately, on DOS this fails, as config.log is still kept open -# by configure, so config.status won't be able to write to it; its -# output is simply discarded. So we exec the FD to /dev/null, -# effectively closing config.log, so it can be properly (re)opened and -# appended to by config.status. When coming back to configure, we -# need to make the FD available again. -if test "$no_create" != yes; then - ac_cs_success=: - exec 5>/dev/null - $SHELL $CONFIG_STATUS || ac_cs_success=false - exec 5>>config.log - # Use ||, not &&, to avoid exiting from the if with $? = 1, which - # would make configure fail if this is the last instruction. - $ac_cs_success || { (exit 1); exit 1; } -fi - - diff --git a/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/install-sh.svn-base b/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/install-sh.svn-base deleted file mode 100644 index e9de238..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/install-sh.svn-base +++ /dev/null @@ -1,251 +0,0 @@ -#!/bin/sh -# -# install - install a program, script, or datafile -# This comes from X11R5 (mit/util/scripts/install.sh). -# -# Copyright 1991 by the Massachusetts Institute of Technology -# -# Permission to use, copy, modify, distribute, and sell this software and its -# documentation for any purpose is hereby granted without fee, provided that -# the above copyright notice appear in all copies and that both that -# copyright notice and this permission notice appear in supporting -# documentation, and that the name of M.I.T. not be used in advertising or -# publicity pertaining to distribution of the software without specific, -# written prior permission. M.I.T. makes no representations about the -# suitability of this software for any purpose. It is provided "as is" -# without express or implied warranty. -# -# Calling this script install-sh is preferred over install.sh, to prevent -# `make' implicit rules from creating a file called install from it -# when there is no Makefile. -# -# This script is compatible with the BSD install script, but was written -# from scratch. It can only install one file at a time, a restriction -# shared with many OS's install programs. - - -# set DOITPROG to echo to test this script - -# Don't use :- since 4.3BSD and earlier shells don't like it. -doit="${DOITPROG-}" - - -# put in absolute paths if you don't have them in your path; or use env. vars. - -mvprog="${MVPROG-mv}" -cpprog="${CPPROG-cp}" -chmodprog="${CHMODPROG-chmod}" -chownprog="${CHOWNPROG-chown}" -chgrpprog="${CHGRPPROG-chgrp}" -stripprog="${STRIPPROG-strip}" -rmprog="${RMPROG-rm}" -mkdirprog="${MKDIRPROG-mkdir}" - -transformbasename="" -transform_arg="" -instcmd="$mvprog" -chmodcmd="$chmodprog 0755" -chowncmd="" -chgrpcmd="" -stripcmd="" -rmcmd="$rmprog -f" -mvcmd="$mvprog" -src="" -dst="" -dir_arg="" - -while [ x"$1" != x ]; do - case $1 in - -c) instcmd="$cpprog" - shift - continue;; - - -d) dir_arg=true - shift - continue;; - - -m) chmodcmd="$chmodprog $2" - shift - shift - continue;; - - -o) chowncmd="$chownprog $2" - shift - shift - continue;; - - -g) chgrpcmd="$chgrpprog $2" - shift - shift - continue;; - - -s) stripcmd="$stripprog" - shift - continue;; - - -t=*) transformarg=`echo $1 | sed 's/-t=//'` - shift - continue;; - - -b=*) transformbasename=`echo $1 | sed 's/-b=//'` - shift - continue;; - - *) if [ x"$src" = x ] - then - src=$1 - else - # this colon is to work around a 386BSD /bin/sh bug - : - dst=$1 - fi - shift - continue;; - esac -done - -if [ x"$src" = x ] -then - echo "install: no input file specified" - exit 1 -else - true -fi - -if [ x"$dir_arg" != x ]; then - dst=$src - src="" - - if [ -d $dst ]; then - instcmd=: - chmodcmd="" - else - instcmd=mkdir - fi -else - -# Waiting for this to be detected by the "$instcmd $src $dsttmp" command -# might cause directories to be created, which would be especially bad -# if $src (and thus $dsttmp) contains '*'. - - if [ -f $src -o -d $src ] - then - true - else - echo "install: $src does not exist" - exit 1 - fi - - if [ x"$dst" = x ] - then - echo "install: no destination specified" - exit 1 - else - true - fi - -# If destination is a directory, append the input filename; if your system -# does not like double slashes in filenames, you may need to add some logic - - if [ -d $dst ] - then - dst="$dst"/`basename $src` - else - true - fi -fi - -## this sed command emulates the dirname command -dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` - -# Make sure that the destination directory exists. -# this part is taken from Noah Friedman's mkinstalldirs script - -# Skip lots of stat calls in the usual case. -if [ ! -d "$dstdir" ]; then -defaultIFS=' -' -IFS="${IFS-${defaultIFS}}" - -oIFS="${IFS}" -# Some sh's can't handle IFS=/ for some reason. -IFS='%' -set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'` -IFS="${oIFS}" - -pathcomp='' - -while [ $# -ne 0 ] ; do - pathcomp="${pathcomp}${1}" - shift - - if [ ! -d "${pathcomp}" ] ; - then - $mkdirprog "${pathcomp}" - else - true - fi - - pathcomp="${pathcomp}/" -done -fi - -if [ x"$dir_arg" != x ] -then - $doit $instcmd $dst && - - if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi && - if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi && - if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi && - if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi -else - -# If we're going to rename the final executable, determine the name now. - - if [ x"$transformarg" = x ] - then - dstfile=`basename $dst` - else - dstfile=`basename $dst $transformbasename | - sed $transformarg`$transformbasename - fi - -# don't allow the sed command to completely eliminate the filename - - if [ x"$dstfile" = x ] - then - dstfile=`basename $dst` - else - true - fi - -# Make a temp file name in the proper directory. - - dsttmp=$dstdir/#inst.$$# - -# Move or copy the file name to the temp name - - $doit $instcmd $src $dsttmp && - - trap "rm -f ${dsttmp}" 0 && - -# and set any options; do chmod last to preserve setuid bits - -# If any of these fail, we abort the whole thing. If we want to -# ignore errors from any of these, just make sure not to ignore -# errors from the above "$doit $instcmd $src $dsttmp" command. - - if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi && - if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi && - if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi && - if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi && - -# Now rename the file to the real destination. - - $doit $rmcmd -f $dstdir/$dstfile && - $doit $mvcmd $dsttmp $dstdir/$dstfile - -fi && - - -exit 0 diff --git a/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/ldconfig.wrapper.svn-base b/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/ldconfig.wrapper.svn-base deleted file mode 100644 index 22c2b0b..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/.svn/text-base/ldconfig.wrapper.svn-base +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/sh - -# run ldconfig depending on the operating system -case `./config.guess` in - *-*-darwin*) - echo "!!!!!!!!!!!!!!!!!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!!!!!" - echo " " - echo " You will need to set the environment variable " - echo " DYLD_LIBRARY_PATH to point to: " - echo " " - echo " \"$@\" " - echo " " - echo "!!!!!!!!!!!!!!!!!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!!!!!" - ;; - *-*-solaris*) - # does the following id command work on all Solaris machines? - if test `id | cut -d= -f2 | cut -d\( -f1` != 0 - then - echo "!!!!!!!!!!!!!!!!!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!!!!!" - echo " " - echo " You will need to run the following command as root: " - echo " " - echo " \"crle -i $@\" " - echo " " - echo " or you will need to set the environment variable " - echo " LD_LIBRARY_PATH to point to: " - echo " " - echo " \"$@\" " - echo " " - echo "!!!!!!!!!!!!!!!!!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!!!!!" - else - crle -i $@ - fi - ;; - *) - if test `id -u` != 0 - then - echo "!!!!!!!!!!!!!!!!!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!!!!!" - echo " " - echo " You will need to run the following command as root: " - echo " " - echo " \"ldconfig $@\" " - echo " " - echo " or you will need to set the environment variable " - echo " LD_LIBRARY_PATH to point to: " - echo " " - echo " \"$@\" " - echo " " - echo "!!!!!!!!!!!!!!!!!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!!!!!" - else - /sbin/ldconfig $@ - fi - ;; -esac diff --git a/features/smtp/lib/libsmtp---0.1.0/Makefile b/features/smtp/lib/libsmtp---0.1.0/Makefile deleted file mode 100644 index d053fdf..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (C) 2003 Timo Benk t_benk@web.de -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the -# Free Software Foundation, Inc., 59 Temple Place, Suite 330, -# Boston, MA 02111-1307 USA - -all: - (cd src; make all) - -clean: - (cd src; make clean) - -install: all - (cd src; make install) - -distclean: clean - find . -name "Makefile" -exec rm {} \; - /bin/rm -f \ - config.h \ - config.status \ - config.cache \ - config.log - diff --git a/features/smtp/lib/libsmtp---0.1.0/Makefile.in b/features/smtp/lib/libsmtp---0.1.0/Makefile.in deleted file mode 100644 index fdf9999..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/Makefile.in +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (C) 2003 Timo Benk t_benk@web.de -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the -# Free Software Foundation, Inc., 59 Temple Place, Suite 330, -# Boston, MA 02111-1307 USA - -all: - (@macosx_deployment_target@cd src; make all) - -clean: - (@macosx_deployment_target@cd src; make clean) - -install: all - (@macosx_deployment_target@cd src; make install) - -distclean: clean - find . -name "Makefile" -exec rm {} \; - /bin/rm -f \ - config.h \ - config.status \ - config.cache \ - config.log - diff --git a/features/smtp/lib/libsmtp---0.1.0/config.guess b/features/smtp/lib/libsmtp---0.1.0/config.guess deleted file mode 100755 index ed2e03b..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/config.guess +++ /dev/null @@ -1,1321 +0,0 @@ -#! /bin/sh -# Attempt to guess a canonical system name. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002 Free Software Foundation, Inc. - -timestamp='2002-03-20' - -# This file is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# Originally written by Per Bothner . -# Please send patches to . Submit a context -# diff and a properly formatted ChangeLog entry. -# -# This script attempts to guess a canonical system name similar to -# config.sub. If it succeeds, it prints the system name on stdout, and -# exits with 0. Otherwise, it exits with 1. -# -# The plan is that this can be called by configure scripts if you -# don't specify an explicit build system type. - -me=`echo "$0" | sed -e 's,.*/,,'` - -usage="\ -Usage: $0 [OPTION] - -Output the configuration name of the system \`$me' is run on. - -Operation modes: - -h, --help print this help, then exit - -t, --time-stamp print date of last modification, then exit - -v, --version print version number, then exit - -Report bugs and patches to ." - -version="\ -GNU config.guess ($timestamp) - -Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -Free Software Foundation, Inc. - -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." - -help=" -Try \`$me --help' for more information." - -# Parse command line -while test $# -gt 0 ; do - case $1 in - --time-stamp | --time* | -t ) - echo "$timestamp" ; exit 0 ;; - --version | -v ) - echo "$version" ; exit 0 ;; - --help | --h* | -h ) - echo "$usage"; exit 0 ;; - -- ) # Stop option processing - shift; break ;; - - ) # Use stdin as input. - break ;; - -* ) - echo "$me: invalid option $1$help" >&2 - exit 1 ;; - * ) - break ;; - esac -done - -if test $# != 0; then - echo "$me: too many arguments$help" >&2 - exit 1 -fi - - -dummy=dummy-$$ -trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15 - -# CC_FOR_BUILD -- compiler used by this script. -# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still -# use `HOST_CC' if defined, but it is deprecated. - -set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in - ,,) echo "int dummy(){}" > $dummy.c ; - for c in cc gcc c89 c99 ; do - ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ; - if test $? = 0 ; then - CC_FOR_BUILD="$c"; break ; - fi ; - done ; - rm -f $dummy.c $dummy.o $dummy.rel ; - if test x"$CC_FOR_BUILD" = x ; then - CC_FOR_BUILD=no_compiler_found ; - fi - ;; - ,,*) CC_FOR_BUILD=$CC ;; - ,*,*) CC_FOR_BUILD=$HOST_CC ;; -esac' - -# This is needed to find uname on a Pyramid OSx when run in the BSD universe. -# (ghazi@noc.rutgers.edu 1994-08-24) -if (test -f /.attbin/uname) >/dev/null 2>&1 ; then - PATH=$PATH:/.attbin ; export PATH -fi - -UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown -UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown -UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown - -# Note: order is significant - the case branches are not exclusive. - -case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in - *:NetBSD:*:*) - # NetBSD (nbsd) targets should (where applicable) match one or - # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, - # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently - # switched to ELF, *-*-netbsd* would select the old - # object file format. This provides both forward - # compatibility and a consistent mechanism for selecting the - # object file format. - # - # Note: NetBSD doesn't particularly care about the vendor - # portion of the name. We always set it to "unknown". - sysctl="sysctl -n hw.machine_arch" - UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ - /usr/sbin/$sysctl 2>/dev/null || echo unknown)` - case "${UNAME_MACHINE_ARCH}" in - arm*) machine=arm-unknown ;; - sh3el) machine=shl-unknown ;; - sh3eb) machine=sh-unknown ;; - *) machine=${UNAME_MACHINE_ARCH}-unknown ;; - esac - # The Operating System including object format, if it has switched - # to ELF recently, or will in the future. - case "${UNAME_MACHINE_ARCH}" in - arm*|i386|m68k|ns32k|sh3*|sparc|vax) - eval $set_cc_for_build - if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep __ELF__ >/dev/null - then - # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). - # Return netbsd for either. FIX? - os=netbsd - else - os=netbsdelf - fi - ;; - *) - os=netbsd - ;; - esac - # The OS release - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` - # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: - # contains redundant information, the shorter form: - # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. - echo "${machine}-${os}${release}" - exit 0 ;; - amiga:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - arc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - hp300:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mac68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - macppc:OpenBSD:*:*) - echo powerpc-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme88k:OpenBSD:*:*) - echo m88k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvmeppc:OpenBSD:*:*) - echo powerpc-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - pmax:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - sgi:OpenBSD:*:*) - echo mipseb-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - sun3:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - wgrisc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - *:OpenBSD:*:*) - echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - alpha:OSF1:*:*) - if test $UNAME_RELEASE = "V4.0"; then - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` - fi - # A Vn.n version is a released version. - # A Tn.n version is a released field test version. - # A Xn.n version is an unreleased experimental baselevel. - # 1.2 uses "1.2" for uname -r. - cat <$dummy.s - .data -\$Lformat: - .byte 37,100,45,37,120,10,0 # "%d-%x\n" - - .text - .globl main - .align 4 - .ent main -main: - .frame \$30,16,\$26,0 - ldgp \$29,0(\$27) - .prologue 1 - .long 0x47e03d80 # implver \$0 - lda \$2,-1 - .long 0x47e20c21 # amask \$2,\$1 - lda \$16,\$Lformat - mov \$0,\$17 - not \$1,\$18 - jsr \$26,printf - ldgp \$29,0(\$26) - mov 0,\$16 - jsr \$26,exit - .end main -EOF - eval $set_cc_for_build - $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null - if test "$?" = 0 ; then - case `./$dummy` in - 0-0) - UNAME_MACHINE="alpha" - ;; - 1-0) - UNAME_MACHINE="alphaev5" - ;; - 1-1) - UNAME_MACHINE="alphaev56" - ;; - 1-101) - UNAME_MACHINE="alphapca56" - ;; - 2-303) - UNAME_MACHINE="alphaev6" - ;; - 2-307) - UNAME_MACHINE="alphaev67" - ;; - 2-1307) - UNAME_MACHINE="alphaev68" - ;; - esac - fi - rm -f $dummy.s $dummy - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - exit 0 ;; - Alpha\ *:Windows_NT*:*) - # How do we know it's Interix rather than the generic POSIX subsystem? - # Should we change UNAME_MACHINE based on the output of uname instead - # of the specific Alpha model? - echo alpha-pc-interix - exit 0 ;; - 21064:Windows_NT:50:3) - echo alpha-dec-winnt3.5 - exit 0 ;; - Amiga*:UNIX_System_V:4.0:*) - echo m68k-unknown-sysv4 - exit 0;; - *:[Aa]miga[Oo][Ss]:*:*) - echo ${UNAME_MACHINE}-unknown-amigaos - exit 0 ;; - *:[Mm]orph[Oo][Ss]:*:*) - echo ${UNAME_MACHINE}-unknown-morphos - exit 0 ;; - *:OS/390:*:*) - echo i370-ibm-openedition - exit 0 ;; - arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) - echo arm-acorn-riscix${UNAME_RELEASE} - exit 0;; - SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) - echo hppa1.1-hitachi-hiuxmpp - exit 0;; - Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) - # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. - if test "`(/bin/universe) 2>/dev/null`" = att ; then - echo pyramid-pyramid-sysv3 - else - echo pyramid-pyramid-bsd - fi - exit 0 ;; - NILE*:*:*:dcosx) - echo pyramid-pyramid-svr4 - exit 0 ;; - sun4H:SunOS:5.*:*) - echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) - echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - i86pc:SunOS:5.*:*) - echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - sun4*:SunOS:6*:*) - # According to config.sub, this is the proper way to canonicalize - # SunOS6. Hard to guess exactly what SunOS6 will be like, but - # it's likely to be more like Solaris than SunOS4. - echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - sun4*:SunOS:*:*) - case "`/usr/bin/arch -k`" in - Series*|S4*) - UNAME_RELEASE=`uname -v` - ;; - esac - # Japanese Language versions have a version number like `4.1.3-JL'. - echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` - exit 0 ;; - sun3*:SunOS:*:*) - echo m68k-sun-sunos${UNAME_RELEASE} - exit 0 ;; - sun*:*:4.2BSD:*) - UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` - test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 - case "`/bin/arch`" in - sun3) - echo m68k-sun-sunos${UNAME_RELEASE} - ;; - sun4) - echo sparc-sun-sunos${UNAME_RELEASE} - ;; - esac - exit 0 ;; - aushp:SunOS:*:*) - echo sparc-auspex-sunos${UNAME_RELEASE} - exit 0 ;; - # The situation for MiNT is a little confusing. The machine name - # can be virtually everything (everything which is not - # "atarist" or "atariste" at least should have a processor - # > m68000). The system name ranges from "MiNT" over "FreeMiNT" - # to the lowercase version "mint" (or "freemint"). Finally - # the system name "TOS" denotes a system which is actually not - # MiNT. But MiNT is downward compatible to TOS, so this should - # be no problem. - atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit 0 ;; - atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit 0 ;; - *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit 0 ;; - milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) - echo m68k-milan-mint${UNAME_RELEASE} - exit 0 ;; - hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) - echo m68k-hades-mint${UNAME_RELEASE} - exit 0 ;; - *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) - echo m68k-unknown-mint${UNAME_RELEASE} - exit 0 ;; - powerpc:machten:*:*) - echo powerpc-apple-machten${UNAME_RELEASE} - exit 0 ;; - RISC*:Mach:*:*) - echo mips-dec-mach_bsd4.3 - exit 0 ;; - RISC*:ULTRIX:*:*) - echo mips-dec-ultrix${UNAME_RELEASE} - exit 0 ;; - VAX*:ULTRIX*:*:*) - echo vax-dec-ultrix${UNAME_RELEASE} - exit 0 ;; - 2020:CLIX:*:* | 2430:CLIX:*:*) - echo clipper-intergraph-clix${UNAME_RELEASE} - exit 0 ;; - mips:*:*:UMIPS | mips:*:*:RISCos) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c -#ifdef __cplusplus -#include /* for printf() prototype */ - int main (int argc, char *argv[]) { -#else - int main (argc, argv) int argc; char *argv[]; { -#endif - #if defined (host_mips) && defined (MIPSEB) - #if defined (SYSTYPE_SYSV) - printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); - #endif - #if defined (SYSTYPE_SVR4) - printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); - #endif - #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) - printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); - #endif - #endif - exit (-1); - } -EOF - $CC_FOR_BUILD $dummy.c -o $dummy \ - && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ - && rm -f $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy - echo mips-mips-riscos${UNAME_RELEASE} - exit 0 ;; - Motorola:PowerMAX_OS:*:*) - echo powerpc-motorola-powermax - exit 0 ;; - Night_Hawk:Power_UNIX:*:*) - echo powerpc-harris-powerunix - exit 0 ;; - m88k:CX/UX:7*:*) - echo m88k-harris-cxux7 - exit 0 ;; - m88k:*:4*:R4*) - echo m88k-motorola-sysv4 - exit 0 ;; - m88k:*:3*:R3*) - echo m88k-motorola-sysv3 - exit 0 ;; - AViiON:dgux:*:*) - # DG/UX returns AViiON for all architectures - UNAME_PROCESSOR=`/usr/bin/uname -p` - if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] - then - if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ - [ ${TARGET_BINARY_INTERFACE}x = x ] - then - echo m88k-dg-dgux${UNAME_RELEASE} - else - echo m88k-dg-dguxbcs${UNAME_RELEASE} - fi - else - echo i586-dg-dgux${UNAME_RELEASE} - fi - exit 0 ;; - M88*:DolphinOS:*:*) # DolphinOS (SVR3) - echo m88k-dolphin-sysv3 - exit 0 ;; - M88*:*:R3*:*) - # Delta 88k system running SVR3 - echo m88k-motorola-sysv3 - exit 0 ;; - XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) - echo m88k-tektronix-sysv3 - exit 0 ;; - Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) - echo m68k-tektronix-bsd - exit 0 ;; - *:IRIX*:*:*) - echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` - exit 0 ;; - ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id - exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' - i*86:AIX:*:*) - echo i386-ibm-aix - exit 0 ;; - ia64:AIX:*:*) - if [ -x /usr/bin/oslevel ] ; then - IBM_REV=`/usr/bin/oslevel` - else - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} - fi - echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} - exit 0 ;; - *:AIX:2:3) - if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - - main() - { - if (!__power_pc()) - exit(1); - puts("powerpc-ibm-aix3.2.5"); - exit(0); - } -EOF - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy - echo rs6000-ibm-aix3.2.5 - elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then - echo rs6000-ibm-aix3.2.4 - else - echo rs6000-ibm-aix3.2 - fi - exit 0 ;; - *:AIX:*:[45]) - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` - if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then - IBM_ARCH=rs6000 - else - IBM_ARCH=powerpc - fi - if [ -x /usr/bin/oslevel ] ; then - IBM_REV=`/usr/bin/oslevel` - else - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} - fi - echo ${IBM_ARCH}-ibm-aix${IBM_REV} - exit 0 ;; - *:AIX:*:*) - echo rs6000-ibm-aix - exit 0 ;; - ibmrt:4.4BSD:*|romp-ibm:BSD:*) - echo romp-ibm-bsd4.4 - exit 0 ;; - ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and - echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to - exit 0 ;; # report: romp-ibm BSD 4.3 - *:BOSX:*:*) - echo rs6000-bull-bosx - exit 0 ;; - DPX/2?00:B.O.S.:*:*) - echo m68k-bull-sysv3 - exit 0 ;; - 9000/[34]??:4.3bsd:1.*:*) - echo m68k-hp-bsd - exit 0 ;; - hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) - echo m68k-hp-bsd4.4 - exit 0 ;; - 9000/[34678]??:HP-UX:*:*) - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` - case "${UNAME_MACHINE}" in - 9000/31? ) HP_ARCH=m68000 ;; - 9000/[34]?? ) HP_ARCH=m68k ;; - 9000/[678][0-9][0-9]) - if [ -x /usr/bin/getconf ]; then - sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` - sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` - case "${sc_cpu_version}" in - 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 - 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 - 532) # CPU_PA_RISC2_0 - case "${sc_kernel_bits}" in - 32) HP_ARCH="hppa2.0n" ;; - 64) HP_ARCH="hppa2.0w" ;; - '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 - esac ;; - esac - fi - if [ "${HP_ARCH}" = "" ]; then - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - - #define _HPUX_SOURCE - #include - #include - - int main () - { - #if defined(_SC_KERNEL_BITS) - long bits = sysconf(_SC_KERNEL_BITS); - #endif - long cpu = sysconf (_SC_CPU_VERSION); - - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1"); break; - case CPU_PA_RISC2_0: - #if defined(_SC_KERNEL_BITS) - switch (bits) - { - case 64: puts ("hppa2.0w"); break; - case 32: puts ("hppa2.0n"); break; - default: puts ("hppa2.0"); break; - } break; - #else /* !defined(_SC_KERNEL_BITS) */ - puts ("hppa2.0"); break; - #endif - default: puts ("hppa1.0"); break; - } - exit (0); - } -EOF - (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`./$dummy` - if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi - rm -f $dummy.c $dummy - fi ;; - esac - echo ${HP_ARCH}-hp-hpux${HPUX_REV} - exit 0 ;; - ia64:HP-UX:*:*) - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` - echo ia64-hp-hpux${HPUX_REV} - exit 0 ;; - 3050*:HI-UX:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - int - main () - { - long cpu = sysconf (_SC_CPU_VERSION); - /* The order matters, because CPU_IS_HP_MC68K erroneously returns - true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct - results, however. */ - if (CPU_IS_PA_RISC (cpu)) - { - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; - case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; - default: puts ("hppa-hitachi-hiuxwe2"); break; - } - } - else if (CPU_IS_HP_MC68K (cpu)) - puts ("m68k-hitachi-hiuxwe2"); - else puts ("unknown-hitachi-hiuxwe2"); - exit (0); - } -EOF - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy - echo unknown-hitachi-hiuxwe2 - exit 0 ;; - 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) - echo hppa1.1-hp-bsd - exit 0 ;; - 9000/8??:4.3bsd:*:*) - echo hppa1.0-hp-bsd - exit 0 ;; - *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) - echo hppa1.0-hp-mpeix - exit 0 ;; - hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) - echo hppa1.1-hp-osf - exit 0 ;; - hp8??:OSF1:*:*) - echo hppa1.0-hp-osf - exit 0 ;; - i*86:OSF1:*:*) - if [ -x /usr/sbin/sysversion ] ; then - echo ${UNAME_MACHINE}-unknown-osf1mk - else - echo ${UNAME_MACHINE}-unknown-osf1 - fi - exit 0 ;; - parisc*:Lites*:*:*) - echo hppa1.1-hp-lites - exit 0 ;; - C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) - echo c1-convex-bsd - exit 0 ;; - C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit 0 ;; - C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) - echo c34-convex-bsd - exit 0 ;; - C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) - echo c38-convex-bsd - exit 0 ;; - C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) - echo c4-convex-bsd - exit 0 ;; - CRAY*Y-MP:*:*:*) - echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; - CRAY*[A-Z]90:*:*:*) - echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ - | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ - -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ - -e 's/\.[^.]*$/.X/' - exit 0 ;; - CRAY*TS:*:*:*) - echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; - CRAY*T3D:*:*:*) - echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; - CRAY*T3E:*:*:*) - echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; - CRAY*SV1:*:*:*) - echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; - F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) - FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` - echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit 0 ;; - i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) - echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} - exit 0 ;; - sparc*:BSD/OS:*:*) - echo sparc-unknown-bsdi${UNAME_RELEASE} - exit 0 ;; - *:BSD/OS:*:*) - echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} - exit 0 ;; - *:FreeBSD:*:*) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` - exit 0 ;; - i*:CYGWIN*:*) - echo ${UNAME_MACHINE}-pc-cygwin - exit 0 ;; - i*:MINGW*:*) - echo ${UNAME_MACHINE}-pc-mingw32 - exit 0 ;; - i*:PW*:*) - echo ${UNAME_MACHINE}-pc-pw32 - exit 0 ;; - x86:Interix*:3*) - echo i386-pc-interix3 - exit 0 ;; - i*:Windows_NT*:* | Pentium*:Windows_NT*:*) - # How do we know it's Interix rather than the generic POSIX subsystem? - # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we - # UNAME_MACHINE based on the output of uname instead of i386? - echo i386-pc-interix - exit 0 ;; - i*:UWIN*:*) - echo ${UNAME_MACHINE}-pc-uwin - exit 0 ;; - p*:CYGWIN*:*) - echo powerpcle-unknown-cygwin - exit 0 ;; - prep*:SunOS:5.*:*) - echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - *:GNU:*:*) - echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` - exit 0 ;; - i*86:Minix:*:*) - echo ${UNAME_MACHINE}-pc-minix - exit 0 ;; - arm*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; - ia64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; - m68*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; - mips:Linux:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #undef CPU - #undef mips - #undef mipsel - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=mipsel - #else - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=mips - #else - CPU= - #endif - #endif -EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` - rm -f $dummy.c - test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0 - ;; - ppc:Linux:*:*) - echo powerpc-unknown-linux-gnu - exit 0 ;; - ppc64:Linux:*:*) - echo powerpc64-unknown-linux-gnu - exit 0 ;; - alpha:Linux:*:*) - case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in - EV5) UNAME_MACHINE=alphaev5 ;; - EV56) UNAME_MACHINE=alphaev56 ;; - PCA56) UNAME_MACHINE=alphapca56 ;; - PCA57) UNAME_MACHINE=alphapca56 ;; - EV6) UNAME_MACHINE=alphaev6 ;; - EV67) UNAME_MACHINE=alphaev67 ;; - EV68*) UNAME_MACHINE=alphaev68 ;; - esac - objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null - if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} - exit 0 ;; - parisc:Linux:*:* | hppa:Linux:*:*) - # Look for CPU level - case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in - PA7*) echo hppa1.1-unknown-linux-gnu ;; - PA8*) echo hppa2.0-unknown-linux-gnu ;; - *) echo hppa-unknown-linux-gnu ;; - esac - exit 0 ;; - parisc64:Linux:*:* | hppa64:Linux:*:*) - echo hppa64-unknown-linux-gnu - exit 0 ;; - s390:Linux:*:* | s390x:Linux:*:*) - echo ${UNAME_MACHINE}-ibm-linux - exit 0 ;; - sh*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; - sparc:Linux:*:* | sparc64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; - x86_64:Linux:*:*) - echo x86_64-unknown-linux-gnu - exit 0 ;; - i*86:Linux:*:*) - # The BFD linker knows what the default object file format is, so - # first see if it will tell us. cd to the root directory to prevent - # problems with other programs or directories called `ld' in the path. - # Set LC_ALL=C to ensure ld outputs messages in English. - ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ - | sed -ne '/supported targets:/!d - s/[ ][ ]*/ /g - s/.*supported targets: *// - s/ .*// - p'` - case "$ld_supported_targets" in - elf32-i386) - TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" - ;; - a.out-i386-linux) - echo "${UNAME_MACHINE}-pc-linux-gnuaout" - exit 0 ;; - coff-i386) - echo "${UNAME_MACHINE}-pc-linux-gnucoff" - exit 0 ;; - "") - # Either a pre-BFD a.out linker (linux-gnuoldld) or - # one that does not give us useful --help. - echo "${UNAME_MACHINE}-pc-linux-gnuoldld" - exit 0 ;; - esac - # Determine whether the default compiler is a.out or elf - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - #ifdef __ELF__ - # ifdef __GLIBC__ - # if __GLIBC__ >= 2 - LIBC=gnu - # else - LIBC=gnulibc1 - # endif - # else - LIBC=gnulibc1 - # endif - #else - #ifdef __INTEL_COMPILER - LIBC=gnu - #else - LIBC=gnuaout - #endif - #endif -EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` - rm -f $dummy.c - test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 - test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 - ;; - i*86:DYNIX/ptx:4*:*) - # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. - # earlier versions are messed up and put the nodename in both - # sysname and nodename. - echo i386-sequent-sysv4 - exit 0 ;; - i*86:UNIX_SV:4.2MP:2.*) - # Unixware is an offshoot of SVR4, but it has its own version - # number series starting with 2... - # I am not positive that other SVR4 systems won't match this, - # I just have to hope. -- rms. - # Use sysv4.2uw... so that sysv4* matches it. - echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} - exit 0 ;; - i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) - UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` - if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then - echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} - else - echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} - fi - exit 0 ;; - i*86:*:5:[78]*) - case `/bin/uname -X | grep "^Machine"` in - *486*) UNAME_MACHINE=i486 ;; - *Pentium) UNAME_MACHINE=i586 ;; - *Pent*|*Celeron) UNAME_MACHINE=i686 ;; - esac - echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} - exit 0 ;; - i*86:*:3.2:*) - if test -f /usr/options/cb.name; then - UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then - UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')` - (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486 - (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \ - && UNAME_MACHINE=i586 - (/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \ - && UNAME_MACHINE=i686 - (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \ - && UNAME_MACHINE=i686 - echo ${UNAME_MACHINE}-pc-sco$UNAME_REL - else - echo ${UNAME_MACHINE}-pc-sysv32 - fi - exit 0 ;; - i*86:*DOS:*:*) - echo ${UNAME_MACHINE}-pc-msdosdjgpp - exit 0 ;; - pc:*:*:*) - # Left here for compatibility: - # uname -m prints for DJGPP always 'pc', but it prints nothing about - # the processor, so we play safe by assuming i386. - echo i386-pc-msdosdjgpp - exit 0 ;; - Intel:Mach:3*:*) - echo i386-pc-mach3 - exit 0 ;; - paragon:*:*:*) - echo i860-intel-osf1 - exit 0 ;; - i860:*:4.*:*) # i860-SVR4 - if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then - echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 - else # Add other i860-SVR4 vendors below as they are discovered. - echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 - fi - exit 0 ;; - mini*:CTIX:SYS*5:*) - # "miniframe" - echo m68010-convergent-sysv - exit 0 ;; - M68*:*:R3V[567]*:*) - test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; - 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0) - OS_REL='' - test -r /etc/.relid \ - && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && echo i486-ncr-sysv4.3${OS_REL} && exit 0 - /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ - && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; - 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && echo i486-ncr-sysv4 && exit 0 ;; - m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) - echo m68k-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - mc68030:UNIX_System_V:4.*:*) - echo m68k-atari-sysv4 - exit 0 ;; - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) - echo i386-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - TSUNAMI:LynxOS:2.*:*) - echo sparc-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - rs6000:LynxOS:2.*:*) - echo rs6000-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) - echo powerpc-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - SM[BE]S:UNIX_SV:*:*) - echo mips-dde-sysv${UNAME_RELEASE} - exit 0 ;; - RM*:ReliantUNIX-*:*:*) - echo mips-sni-sysv4 - exit 0 ;; - RM*:SINIX-*:*:*) - echo mips-sni-sysv4 - exit 0 ;; - *:SINIX-*:*:*) - if uname -p 2>/dev/null >/dev/null ; then - UNAME_MACHINE=`(uname -p) 2>/dev/null` - echo ${UNAME_MACHINE}-sni-sysv4 - else - echo ns32k-sni-sysv - fi - exit 0 ;; - PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort - # says - echo i586-unisys-sysv4 - exit 0 ;; - *:UNIX_System_V:4*:FTX*) - # From Gerald Hewes . - # How about differentiating between stratus architectures? -djm - echo hppa1.1-stratus-sysv4 - exit 0 ;; - *:*:*:FTX*) - # From seanf@swdc.stratus.com. - echo i860-stratus-sysv4 - exit 0 ;; - *:VOS:*:*) - # From Paul.Green@stratus.com. - echo hppa1.1-stratus-vos - exit 0 ;; - mc68*:A/UX:*:*) - echo m68k-apple-aux${UNAME_RELEASE} - exit 0 ;; - news*:NEWS-OS:6*:*) - echo mips-sony-newsos6 - exit 0 ;; - R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) - if [ -d /usr/nec ]; then - echo mips-nec-sysv${UNAME_RELEASE} - else - echo mips-unknown-sysv${UNAME_RELEASE} - fi - exit 0 ;; - BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. - echo powerpc-be-beos - exit 0 ;; - BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. - echo powerpc-apple-beos - exit 0 ;; - BePC:BeOS:*:*) # BeOS running on Intel PC compatible. - echo i586-pc-beos - exit 0 ;; - SX-4:SUPER-UX:*:*) - echo sx4-nec-superux${UNAME_RELEASE} - exit 0 ;; - SX-5:SUPER-UX:*:*) - echo sx5-nec-superux${UNAME_RELEASE} - exit 0 ;; - Power*:Rhapsody:*:*) - echo powerpc-apple-rhapsody${UNAME_RELEASE} - exit 0 ;; - *:Rhapsody:*:*) - echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} - exit 0 ;; - *:Darwin:*:*) - echo `uname -p`-apple-darwin${UNAME_RELEASE} - exit 0 ;; - *:procnto*:*:* | *:QNX:[0123456789]*:*) - UNAME_PROCESSOR=`uname -p` - if test "$UNAME_PROCESSOR" = "x86"; then - UNAME_PROCESSOR=i386 - UNAME_MACHINE=pc - fi - echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} - exit 0 ;; - *:QNX:*:4*) - echo i386-pc-qnx - exit 0 ;; - NSR-[GKLNPTVW]:NONSTOP_KERNEL:*:*) - echo nsr-tandem-nsk${UNAME_RELEASE} - exit 0 ;; - *:NonStop-UX:*:*) - echo mips-compaq-nonstopux - exit 0 ;; - BS2000:POSIX*:*:*) - echo bs2000-siemens-sysv - exit 0 ;; - DS/*:UNIX_System_V:*:*) - echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} - exit 0 ;; - *:Plan9:*:*) - # "uname -m" is not consistent, so use $cputype instead. 386 - # is converted to i386 for consistency with other x86 - # operating systems. - if test "$cputype" = "386"; then - UNAME_MACHINE=i386 - else - UNAME_MACHINE="$cputype" - fi - echo ${UNAME_MACHINE}-unknown-plan9 - exit 0 ;; - i*86:OS/2:*:*) - # If we were able to find `uname', then EMX Unix compatibility - # is probably installed. - echo ${UNAME_MACHINE}-pc-os2-emx - exit 0 ;; - *:TOPS-10:*:*) - echo pdp10-unknown-tops10 - exit 0 ;; - *:TENEX:*:*) - echo pdp10-unknown-tenex - exit 0 ;; - KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) - echo pdp10-dec-tops20 - exit 0 ;; - XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) - echo pdp10-xkl-tops20 - exit 0 ;; - *:TOPS-20:*:*) - echo pdp10-unknown-tops20 - exit 0 ;; - *:ITS:*:*) - echo pdp10-unknown-its - exit 0 ;; - i*86:XTS-300:*:STOP) - echo ${UNAME_MACHINE}-unknown-stop - exit 0 ;; - i*86:atheos:*:*) - echo ${UNAME_MACHINE}-unknown-atheos - exit 0 ;; -esac - -#echo '(No uname command or uname output not recognized.)' 1>&2 -#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 - -eval $set_cc_for_build -cat >$dummy.c < -# include -#endif -main () -{ -#if defined (sony) -#if defined (MIPSEB) - /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, - I don't know.... */ - printf ("mips-sony-bsd\n"); exit (0); -#else -#include - printf ("m68k-sony-newsos%s\n", -#ifdef NEWSOS4 - "4" -#else - "" -#endif - ); exit (0); -#endif -#endif - -#if defined (__arm) && defined (__acorn) && defined (__unix) - printf ("arm-acorn-riscix"); exit (0); -#endif - -#if defined (hp300) && !defined (hpux) - printf ("m68k-hp-bsd\n"); exit (0); -#endif - -#if defined (NeXT) -#if !defined (__ARCHITECTURE__) -#define __ARCHITECTURE__ "m68k" -#endif - int version; - version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; - if (version < 4) - printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); - else - printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); - exit (0); -#endif - -#if defined (MULTIMAX) || defined (n16) -#if defined (UMAXV) - printf ("ns32k-encore-sysv\n"); exit (0); -#else -#if defined (CMU) - printf ("ns32k-encore-mach\n"); exit (0); -#else - printf ("ns32k-encore-bsd\n"); exit (0); -#endif -#endif -#endif - -#if defined (__386BSD__) - printf ("i386-pc-bsd\n"); exit (0); -#endif - -#if defined (sequent) -#if defined (i386) - printf ("i386-sequent-dynix\n"); exit (0); -#endif -#if defined (ns32000) - printf ("ns32k-sequent-dynix\n"); exit (0); -#endif -#endif - -#if defined (_SEQUENT_) - struct utsname un; - - uname(&un); - - if (strncmp(un.version, "V2", 2) == 0) { - printf ("i386-sequent-ptx2\n"); exit (0); - } - if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ - printf ("i386-sequent-ptx1\n"); exit (0); - } - printf ("i386-sequent-ptx\n"); exit (0); - -#endif - -#if defined (vax) -# if !defined (ultrix) -# include -# if defined (BSD) -# if BSD == 43 - printf ("vax-dec-bsd4.3\n"); exit (0); -# else -# if BSD == 199006 - printf ("vax-dec-bsd4.3reno\n"); exit (0); -# else - printf ("vax-dec-bsd\n"); exit (0); -# endif -# endif -# else - printf ("vax-dec-bsd\n"); exit (0); -# endif -# else - printf ("vax-dec-ultrix\n"); exit (0); -# endif -#endif - -#if defined (alliant) && defined (i860) - printf ("i860-alliant-bsd\n"); exit (0); -#endif - - exit (1); -} -EOF - -$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0 -rm -f $dummy.c $dummy - -# Apollos put the system type in the environment. - -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } - -# Convex versions that predate uname can use getsysinfo(1) - -if [ -x /usr/convex/getsysinfo ] -then - case `getsysinfo -f cpu_type` in - c1*) - echo c1-convex-bsd - exit 0 ;; - c2*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit 0 ;; - c34*) - echo c34-convex-bsd - exit 0 ;; - c38*) - echo c38-convex-bsd - exit 0 ;; - c4*) - echo c4-convex-bsd - exit 0 ;; - esac -fi - -cat >&2 < in order to provide the needed -information to handle your system. - -config.guess timestamp = $timestamp - -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null` - -hostinfo = `(hostinfo) 2>/dev/null` -/bin/universe = `(/bin/universe) 2>/dev/null` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` -/bin/arch = `(/bin/arch) 2>/dev/null` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` - -UNAME_MACHINE = ${UNAME_MACHINE} -UNAME_RELEASE = ${UNAME_RELEASE} -UNAME_SYSTEM = ${UNAME_SYSTEM} -UNAME_VERSION = ${UNAME_VERSION} -EOF - -exit 1 - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "timestamp='" -# time-stamp-format: "%:y-%02m-%02d" -# time-stamp-end: "'" -# End: diff --git a/features/smtp/lib/libsmtp---0.1.0/config.log b/features/smtp/lib/libsmtp---0.1.0/config.log deleted file mode 100644 index 6939c1e..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/config.log +++ /dev/null @@ -1,542 +0,0 @@ -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by libsmtp-- configure 0.1, which was -generated by GNU Autoconf 2.53. Invocation command line was - - $ ./configure --prefix=/usr/local/libsmtp---0.1.0 - -## --------- ## -## Platform. ## -## --------- ## - -hostname = localhost.localdomain -uname -m = x86_64 -uname -r = 2.6.18-164.el5 -uname -s = Linux -uname -v = #1 SMP Tue Aug 18 15:51:48 EDT 2009 - -/usr/bin/uname -p = unknown -/bin/uname -X = unknown - -/bin/arch = x86_64 -/usr/bin/arch -k = unknown -/usr/convex/getsysinfo = unknown -hostinfo = unknown -/bin/machine = unknown -/usr/bin/oslevel = unknown -/bin/universe = unknown - -PATH: /usr/local/subversion-1.6.15/bin/ -PATH: /usr/local/doxygen/bin/ -PATH: /usr/local/ctags-5.8/bin/ -PATH: /usr/local/vim73/bin/ -PATH: /usr/local/httpd-2.3.8/bin/ -PATH: /usr/local/httpd-2.3.8/bin/ -PATH: /usr/local/ice/ThirdParty-Sources-3.4.0/bin/ -PATH: /usr/local/subversion-1.6.6/bin/ -PATH: /usr/local/sqult-3.6.11/bin/ -PATH: /usr/local/jdk1.6.0_21/bin/ -PATH: /usr/local/ruby-1.9.2/bin/ -PATH: /usr/lib64/qt-3.3/bin -PATH: /usr/kerberos/bin -PATH: /usr/local/bin -PATH: /usr/bin -PATH: /bin -PATH: /usr/X11R6/bin -PATH: /home/zheng.cuizh/bin - - -## ----------- ## -## Core tests. ## -## ----------- ## - -configure:1264: checking for gcc -configure:1280: found /usr/bin/gcc -configure:1290: result: gcc -configure:1534: checking for C compiler version -configure:1537: gcc --version &5 -gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46) -Copyright (C) 2006 Free Software Foundation, Inc. -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -configure:1540: $? = 0 -configure:1542: gcc -v &5 -Using built-in specs. -Target: x86_64-redhat-linux -Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux -Thread model: posix -gcc version 4.1.2 20080704 (Red Hat 4.1.2-46) -configure:1545: $? = 0 -configure:1547: gcc -V &5 -gcc: '-V' option must have argument -configure:1550: $? = 1 -configure:1576: checking for C compiler default output -configure:1579: gcc conftest.c >&5 -configure:1582: $? = 0 -configure:1615: result: a.out -configure:1620: checking whether the C compiler works -configure:1626: ./a.out -configure:1629: $? = 0 -configure:1644: result: yes -configure:1651: checking whether we are cross compiling -configure:1653: result: no -configure:1656: checking for suffix of executables -configure:1658: gcc -o conftest conftest.c >&5 -configure:1661: $? = 0 -configure:1683: result: -configure:1689: checking for suffix of object files -configure:1713: gcc -c conftest.c >&5 -configure:1716: $? = 0 -configure:1735: result: o -configure:1739: checking whether we are using the GNU C compiler -configure:1766: gcc -c conftest.c >&5 -configure:1769: $? = 0 -configure:1772: test -s conftest.o -configure:1775: $? = 0 -configure:1787: result: yes -configure:1793: checking whether gcc accepts -g -configure:1817: gcc -c -g conftest.c >&5 -configure:1820: $? = 0 -configure:1823: test -s conftest.o -configure:1826: $? = 0 -configure:1836: result: yes -configure:1863: gcc -c -g -O2 conftest.c >&5 -conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me' -configure:1866: $? = 1 -configure: failed program was: -#ifndef __cplusplus - choke me -#endif -configure:1976: checking whether make sets ${MAKE} -configure:1996: result: yes -configure:2042: checking for a BSD-compatible install -configure:2096: result: /usr/bin/install -c -configure:2172: checking how to run the C preprocessor -configure:2198: gcc -E conftest.c -configure:2204: $? = 0 -configure:2231: gcc -E conftest.c -configure:2227:28: error: ac_nonexistent.h: No such file or directory -configure:2237: $? = 1 -configure: failed program was: -#line 2226 "configure" -#include "confdefs.h" -#include -configure:2274: result: gcc -E -configure:2289: gcc -E conftest.c -configure:2295: $? = 0 -configure:2322: gcc -E conftest.c -configure:2318:28: error: ac_nonexistent.h: No such file or directory -configure:2328: $? = 1 -configure: failed program was: -#line 2317 "configure" -#include "confdefs.h" -#include -configure:2368: checking for ANSI C header files -configure:2382: gcc -E conftest.c -configure:2388: $? = 0 -configure:2475: gcc -o conftest -g -O2 conftest.c >&5 -configure: In function 'main': -configure:2466: warning: incompatible implicit declaration of built-in function 'exit' -configure:2478: $? = 0 -configure:2480: ./conftest -configure:2483: $? = 0 -configure:2497: result: yes -configure:2521: checking for sys/types.h -configure:2534: gcc -c -g -O2 conftest.c >&5 -configure:2537: $? = 0 -configure:2540: test -s conftest.o -configure:2543: $? = 0 -configure:2553: result: yes -configure:2521: checking for sys/stat.h -configure:2534: gcc -c -g -O2 conftest.c >&5 -configure:2537: $? = 0 -configure:2540: test -s conftest.o -configure:2543: $? = 0 -configure:2553: result: yes -configure:2521: checking for stdlib.h -configure:2534: gcc -c -g -O2 conftest.c >&5 -configure:2537: $? = 0 -configure:2540: test -s conftest.o -configure:2543: $? = 0 -configure:2553: result: yes -configure:2521: checking for string.h -configure:2534: gcc -c -g -O2 conftest.c >&5 -configure:2537: $? = 0 -configure:2540: test -s conftest.o -configure:2543: $? = 0 -configure:2553: result: yes -configure:2521: checking for memory.h -configure:2534: gcc -c -g -O2 conftest.c >&5 -configure:2537: $? = 0 -configure:2540: test -s conftest.o -configure:2543: $? = 0 -configure:2553: result: yes -configure:2521: checking for strings.h -configure:2534: gcc -c -g -O2 conftest.c >&5 -configure:2537: $? = 0 -configure:2540: test -s conftest.o -configure:2543: $? = 0 -configure:2553: result: yes -configure:2521: checking for inttypes.h -configure:2534: gcc -c -g -O2 conftest.c >&5 -configure:2537: $? = 0 -configure:2540: test -s conftest.o -configure:2543: $? = 0 -configure:2553: result: yes -configure:2521: checking for stdint.h -configure:2534: gcc -c -g -O2 conftest.c >&5 -configure:2537: $? = 0 -configure:2540: test -s conftest.o -configure:2543: $? = 0 -configure:2553: result: yes -configure:2521: checking for unistd.h -configure:2534: gcc -c -g -O2 conftest.c >&5 -configure:2537: $? = 0 -configure:2540: test -s conftest.o -configure:2543: $? = 0 -configure:2553: result: yes -configure:2575: checking arpa/inet.h usability -configure:2584: gcc -c -g -O2 conftest.c >&5 -configure:2587: $? = 0 -configure:2590: test -s conftest.o -configure:2593: $? = 0 -configure:2602: result: yes -configure:2606: checking arpa/inet.h presence -configure:2613: gcc -E conftest.c -configure:2619: $? = 0 -configure:2637: result: yes -configure:2655: checking for arpa/inet.h -configure:2662: result: yes -configure:2683: checking errno.h usability -configure:2692: gcc -c -g -O2 conftest.c >&5 -configure:2695: $? = 0 -configure:2698: test -s conftest.o -configure:2701: $? = 0 -configure:2710: result: yes -configure:2714: checking errno.h presence -configure:2721: gcc -E conftest.c -configure:2727: $? = 0 -configure:2745: result: yes -configure:2763: checking for errno.h -configure:2770: result: yes -configure:2791: checking libintl.h usability -configure:2800: gcc -c -g -O2 conftest.c >&5 -configure:2803: $? = 0 -configure:2806: test -s conftest.o -configure:2809: $? = 0 -configure:2818: result: yes -configure:2822: checking libintl.h presence -configure:2829: gcc -E conftest.c -configure:2835: $? = 0 -configure:2853: result: yes -configure:2871: checking for libintl.h -configure:2878: result: yes -configure:2899: checking locale.h usability -configure:2908: gcc -c -g -O2 conftest.c >&5 -configure:2911: $? = 0 -configure:2914: test -s conftest.o -configure:2917: $? = 0 -configure:2926: result: yes -configure:2930: checking locale.h presence -configure:2937: gcc -E conftest.c -configure:2943: $? = 0 -configure:2961: result: yes -configure:2979: checking for locale.h -configure:2986: result: yes -configure:3007: checking netdb.h usability -configure:3016: gcc -c -g -O2 conftest.c >&5 -configure:3019: $? = 0 -configure:3022: test -s conftest.o -configure:3025: $? = 0 -configure:3034: result: yes -configure:3038: checking netdb.h presence -configure:3045: gcc -E conftest.c -configure:3051: $? = 0 -configure:3069: result: yes -configure:3087: checking for netdb.h -configure:3094: result: yes -configure:3115: checking netinet/in.h usability -configure:3124: gcc -c -g -O2 conftest.c >&5 -configure:3127: $? = 0 -configure:3130: test -s conftest.o -configure:3133: $? = 0 -configure:3142: result: yes -configure:3146: checking netinet/in.h presence -configure:3153: gcc -E conftest.c -configure:3159: $? = 0 -configure:3177: result: yes -configure:3195: checking for netinet/in.h -configure:3202: result: yes -configure:3223: checking stdio.h usability -configure:3232: gcc -c -g -O2 conftest.c >&5 -configure:3235: $? = 0 -configure:3238: test -s conftest.o -configure:3241: $? = 0 -configure:3250: result: yes -configure:3254: checking stdio.h presence -configure:3261: gcc -E conftest.c -configure:3267: $? = 0 -configure:3285: result: yes -configure:3303: checking for stdio.h -configure:3310: result: yes -configure:3322: checking for stdlib.h -configure:3327: result: yes -configure:3430: checking for string.h -configure:3435: result: yes -configure:3538: checking for strings.h -configure:3543: result: yes -configure:3655: checking sys/socket.h usability -configure:3664: gcc -c -g -O2 conftest.c >&5 -configure:3667: $? = 0 -configure:3670: test -s conftest.o -configure:3673: $? = 0 -configure:3682: result: yes -configure:3686: checking sys/socket.h presence -configure:3693: gcc -E conftest.c -configure:3699: $? = 0 -configure:3717: result: yes -configure:3735: checking for sys/socket.h -configure:3742: result: yes -configure:3763: checking sys/time.h usability -configure:3772: gcc -c -g -O2 conftest.c >&5 -configure:3775: $? = 0 -configure:3778: test -s conftest.o -configure:3781: $? = 0 -configure:3790: result: yes -configure:3794: checking sys/time.h presence -configure:3801: gcc -E conftest.c -configure:3807: $? = 0 -configure:3825: result: yes -configure:3843: checking for sys/time.h -configure:3850: result: yes -configure:3862: checking for unistd.h -configure:3867: result: yes -configure:3980: checking openssl/sha.h usability -configure:3989: gcc -c -g -O2 conftest.c >&5 -configure:3992: $? = 0 -configure:3995: test -s conftest.o -configure:3998: $? = 0 -configure:4007: result: yes -configure:4011: checking openssl/sha.h presence -configure:4018: gcc -E conftest.c -configure:4024: $? = 0 -configure:4042: result: yes -configure:4060: checking for openssl/sha.h -configure:4067: result: yes -configure:4090: checking openssl/md5.h usability -configure:4099: gcc -c -g -O2 conftest.c >&5 -configure:4102: $? = 0 -configure:4105: test -s conftest.o -configure:4108: $? = 0 -configure:4117: result: yes -configure:4121: checking openssl/md5.h presence -configure:4128: gcc -E conftest.c -configure:4134: $? = 0 -configure:4152: result: yes -configure:4170: checking for openssl/md5.h -configure:4177: result: yes -configure:4200: checking openssl/hmac.h usability -configure:4209: gcc -c -g -O2 conftest.c >&5 -configure:4212: $? = 0 -configure:4215: test -s conftest.o -configure:4218: $? = 0 -configure:4227: result: yes -configure:4231: checking openssl/hmac.h presence -configure:4238: gcc -E conftest.c -configure:4244: $? = 0 -configure:4262: result: yes -configure:4280: checking for openssl/hmac.h -configure:4287: result: yes -configure:4300: checking for gettext -configure:4343: gcc -o conftest -g -O2 conftest.c >&5 -configure:4315: warning: conflicting types for built-in function 'gettext' -configure:4346: $? = 0 -configure:4349: test -s conftest -configure:4352: $? = 0 -configure:4362: result: yes -configure:4439: checking for socket -configure:4482: gcc -o conftest -g -O2 conftest.c >&5 -configure:4485: $? = 0 -configure:4488: test -s conftest -configure:4491: $? = 0 -configure:4501: result: yes -configure:4578: checking for gethostbyname -configure:4621: gcc -o conftest -g -O2 conftest.c >&5 -configure:4624: $? = 0 -configure:4627: test -s conftest -configure:4630: $? = 0 -configure:4640: result: yes -configure:4723: checking for dlopen -configure:4766: gcc -o conftest -g -O2 conftest.c >&5 -/tmp/ccC83RKW.o: In function `main': -/home/zheng.cuizh/libsmtp---0.1.0/configure:4756: undefined reference to `dlopen' -collect2: ld returned 1 exit status -configure:4769: $? = 1 -configure: failed program was: -#line 4728 "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char dlopen (); below. */ -#include -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char dlopen (); -char (*f) (); - -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_dlopen) || defined (__stub___dlopen) -choke me -#else -f = dlopen; -#endif - - ; - return 0; -} -configure:4785: result: no -configure:4791: checking for dlopen in -ldl -configure:4824: gcc -o conftest -g -O2 conftest.c -ldl >&5 -configure:4827: $? = 0 -configure:4830: test -s conftest -configure:4833: $? = 0 -configure:4844: result: yes -configure:4865: checking for HMAC in -lssl -configure:4898: gcc -o conftest -g -O2 conftest.c -lssl -ldl >&5 -configure:4901: $? = 0 -configure:4904: test -s conftest -configure:4907: $? = 0 -configure:4918: result: yes -configure:5059: checking for gcc option to accept ANSI C -configure:5122: gcc -c -g -O2 conftest.c >&5 -configure:5125: $? = 0 -configure:5128: test -s conftest.o -configure:5131: $? = 0 -configure:5148: result: none needed -configure:5156: checking for an ANSI C-conforming const -configure:5226: gcc -c -g -O2 conftest.c >&5 -configure:5229: $? = 0 -configure:5232: test -s conftest.o -configure:5235: $? = 0 -configure:5245: result: yes -configure:5257: checking for ANSI C header files -configure:5386: result: yes -configure:5658: creating ./config.status - -## ---------------------- ## -## Running config.status. ## -## ---------------------- ## - -This file was extended by libsmtp-- config.status 0.1, which was -generated by GNU Autoconf 2.53. Invocation command line was - - CONFIG_FILES = - CONFIG_HEADERS = - CONFIG_LINKS = - CONFIG_COMMANDS = - $ ./config.status - -on localhost.localdomain - -config.status:576: creating Makefile -config.status:576: creating src/Makefile -config.status:576: creating src/plugins/Makefile - -## ---------------- ## -## Cache variables. ## -## ---------------- ## - -ac_cv_c_compiler_gnu=yes -ac_cv_c_const=yes -ac_cv_env_CC_set= -ac_cv_env_CC_value= -ac_cv_env_CFLAGS_set= -ac_cv_env_CFLAGS_value= -ac_cv_env_CPPFLAGS_set= -ac_cv_env_CPPFLAGS_value= -ac_cv_env_CPP_set= -ac_cv_env_CPP_value= -ac_cv_env_LDFLAGS_set= -ac_cv_env_LDFLAGS_value= -ac_cv_env_build_alias_set= -ac_cv_env_build_alias_value= -ac_cv_env_host_alias_set= -ac_cv_env_host_alias_value= -ac_cv_env_target_alias_set= -ac_cv_env_target_alias_value= -ac_cv_exeext= -ac_cv_func_dlopen=no -ac_cv_func_gethostbyname=yes -ac_cv_func_gettext=yes -ac_cv_func_socket=yes -ac_cv_header_arpa_inet_h=yes -ac_cv_header_errno_h=yes -ac_cv_header_inttypes_h=yes -ac_cv_header_libintl_h=yes -ac_cv_header_locale_h=yes -ac_cv_header_memory_h=yes -ac_cv_header_netdb_h=yes -ac_cv_header_netinet_in_h=yes -ac_cv_header_openssl_hmac_h=yes -ac_cv_header_openssl_md5_h=yes -ac_cv_header_openssl_sha_h=yes -ac_cv_header_stdc=yes -ac_cv_header_stdint_h=yes -ac_cv_header_stdio_h=yes -ac_cv_header_stdlib_h=yes -ac_cv_header_string_h=yes -ac_cv_header_strings_h=yes -ac_cv_header_sys_socket_h=yes -ac_cv_header_sys_stat_h=yes -ac_cv_header_sys_time_h=yes -ac_cv_header_sys_types_h=yes -ac_cv_header_unistd_h=yes -ac_cv_lib_dl_dlopen=yes -ac_cv_lib_ssl_HMAC=yes -ac_cv_objext=o -ac_cv_path_install='/usr/bin/install -c' -ac_cv_prog_CPP='gcc -E' -ac_cv_prog_ac_ct_CC=gcc -ac_cv_prog_cc_g=yes -ac_cv_prog_cc_stdc= -ac_cv_prog_make_make_set=yes - -## ----------- ## -## confdefs.h. ## -## ----------- ## - -#define PACKAGE_NAME "libsmtp--" -#define PACKAGE_TARNAME "libsmtp--" -#define PACKAGE_VERSION "0.1" -#define PACKAGE_STRING "libsmtp-- 0.1" -#define PACKAGE_BUGREPORT "Timo Benk " -#define STDC_HEADERS 1 -#define HAVE_SYS_TYPES_H 1 -#define HAVE_SYS_STAT_H 1 -#define HAVE_STDLIB_H 1 -#define HAVE_STRING_H 1 -#define HAVE_MEMORY_H 1 -#define HAVE_STRINGS_H 1 -#define HAVE_INTTYPES_H 1 -#define HAVE_STDINT_H 1 -#define HAVE_UNISTD_H 1 -#define HAVE_LIBDL 1 -#define STDC_HEADERS 1 - -configure: exit 0 diff --git a/features/smtp/lib/libsmtp---0.1.0/config.status b/features/smtp/lib/libsmtp---0.1.0/config.status deleted file mode 100755 index 272a191..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/config.status +++ /dev/null @@ -1,650 +0,0 @@ -#! /bin/sh -# Generated by configure. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -debug=false -SHELL=${CONFIG_SHELL-/bin/sh} - -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## - -# Be Bourne compatible -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then - set -o posix -fi - -# NLS nuisances. -# Support unset when possible. -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - -(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && - { $as_unset LANG || test "${LANG+set}" != set; } || - { LANG=C; export LANG; } -(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && - { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || - { LC_ALL=C; export LC_ALL; } -(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && - { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || - { LC_TIME=C; export LC_TIME; } -(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && - { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || - { LC_CTYPE=C; export LC_CTYPE; } -(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && - { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || - { LANGUAGE=C; export LANGUAGE; } -(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && - { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || - { LC_COLLATE=C; export LC_COLLATE; } -(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && - { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || - { LC_NUMERIC=C; export LC_NUMERIC; } -(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && - { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || - { LC_MESSAGES=C; export LC_MESSAGES; } - - -# Name of the executable. -as_me=`(basename "$0") 2>/dev/null || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)$' \| \ - . : '\(.\)' 2>/dev/null || -echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } - /^X\/\(\/\/\)$/{ s//\1/; q; } - /^X\/\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` - -# PATH needs CR, and LINENO needs CR and PATH. -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conftest.sh - echo "exit 0" >>conftest.sh - chmod +x conftest.sh - if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conftest.sh -fi - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x$as_lineno_3" = "x$as_lineno_2" || { - # Find who we are. Look in the path if we contain no path at all - # relative or not. - case $0 in - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done - - ;; - esac - # We did not find ourselves, most probably we were run as `sh COMMAND' - # in which case we are not to be found in the path. - if test "x$as_myself" = x; then - as_myself=$0 - fi - if test ! -f "$as_myself"; then - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} - { (exit 1); exit 1; }; } - fi - case $CONFIG_SHELL in - '') - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for as_base in sh bash ksh sh5; do - case $as_dir in - /*) - if ("$as_dir/$as_base" -c ' - as_lineno_1=$LINENO - as_lineno_2=$LINENO - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then - CONFIG_SHELL=$as_dir/$as_base - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$0" ${1+"$@"} - fi;; - esac - done -done -;; - esac - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line before each line; the second 'sed' does the real - # work. The second script uses 'N' to pair each line-number line - # with the numbered line, and appends trailing '-' during - # substitution so that $LINENO is not a special case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) - sed '=' <$as_myself | - sed ' - N - s,$,-, - : loop - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, - t loop - s,-$,, - s,^['$as_cr_digits']*\n,, - ' >$as_me.lineno && - chmod +x $as_me.lineno || - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensible to this). - . ./$as_me.lineno - # Exit status is that of the last command. - exit -} - - -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in - *c*,-n*) ECHO_N= ECHO_C=' -' ECHO_T=' ' ;; - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; - *) ECHO_N= ECHO_C='\c' ECHO_T= ;; -esac - -if expr a : '\(a\)' >/dev/null 2>&1; then - as_expr=expr -else - as_expr=false -fi - -rm -f conf$$ conf$$.exe conf$$.file -echo >conf$$.file -if ln -s conf$$.file conf$$ 2>/dev/null; then - # We could just check for DJGPP; but this test a) works b) is more generic - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). - if test -f conf$$.exe; then - # Don't use ln at all; we don't have any links - as_ln_s='cp -p' - else - as_ln_s='ln -s' - fi -elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.file - -as_executable_p="test -f" - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" - - -# IFS -# We need space, tab and new line, in precisely that order. -as_nl=' -' -IFS=" $as_nl" - -# CDPATH. -$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } - -exec 6>&1 - -# Open the log real soon, to keep \$[0] and so on meaningful, and to -# report actual input values of CONFIG_FILES etc. instead of their -# values after options handling. Logging --version etc. is OK. -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX -## Running $as_me. ## -_ASBOX -} >&5 -cat >&5 <<_CSEOF - -This file was extended by libsmtp-- $as_me 0.1, which was -generated by GNU Autoconf 2.53. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ - -_CSEOF -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 -echo >&5 -config_files=" Makefile src/Makefile src/plugins/Makefile" - -ac_cs_usage="\ -\`$as_me' instantiates files from templates according to the -current configuration. - -Usage: $0 [OPTIONS] [FILE]... - - -h, --help print this help, then exit - -V, --version print version number, then exit - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - -Configuration files: -$config_files - -Report bugs to ." -ac_cs_version="\ -libsmtp-- config.status 0.1 -configured by ./configure, generated by GNU Autoconf 2.53, - with options \"'--prefix=/usr/local/libsmtp---0.1.0'\" - -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 -Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." -srcdir=. -INSTALL="/usr/bin/install -c" -# If no file are specified by the user, then we need to provide default -# value. By we need to know if files were specified by the user. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=*) - ac_option=`expr "x$1" : 'x\([^=]*\)='` - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` - shift - set dummy "$ac_option" "$ac_optarg" ${1+"$@"} - shift - ;; - -*);; - *) # This is not an option, so the user has probably given explicit - # arguments. - ac_need_defaults=false;; - esac - - case $1 in - # Handling of the options. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - echo "running /bin/sh ./configure " '--prefix=/usr/local/libsmtp---0.1.0' " --no-create --no-recursion" - exec /bin/sh ./configure '--prefix=/usr/local/libsmtp---0.1.0' --no-create --no-recursion ;; - --version | --vers* | -V ) - echo "$ac_cs_version"; exit 0 ;; - --he | --h) - # Conflict between --help and --header - { { echo "$as_me:$LINENO: error: ambiguous option: $1 -Try \`$0 --help' for more information." >&5 -echo "$as_me: error: ambiguous option: $1 -Try \`$0 --help' for more information." >&2;} - { (exit 1); exit 1; }; };; - --help | --hel | -h ) - echo "$ac_cs_usage"; exit 0 ;; - --debug | --d* | -d ) - debug=: ;; - --file | --fil | --fi | --f ) - shift - CONFIG_FILES="$CONFIG_FILES $1" - ac_need_defaults=false;; - --header | --heade | --head | --hea ) - shift - CONFIG_HEADERS="$CONFIG_HEADERS $1" - ac_need_defaults=false;; - - # This is an error. - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 -Try \`$0 --help' for more information." >&5 -echo "$as_me: error: unrecognized option: $1 -Try \`$0 --help' for more information." >&2;} - { (exit 1); exit 1; }; } ;; - - *) ac_config_targets="$ac_config_targets $1" ;; - - esac - shift -done - -for ac_config_target in $ac_config_targets -do - case "$ac_config_target" in - # Handling of arguments. - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; - "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; - "src/plugins/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;; - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;} - { (exit 1); exit 1; }; };; - esac -done - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files -fi - -# Create a temporary directory, and hook for its removal unless debugging. -$debug || -{ - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 - trap '{ (exit 1); exit 1; }' 1 2 13 15 -} - -# Create a (secure) tmp directory for tmp files. -: ${TMPDIR=/tmp} -{ - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=$TMPDIR/cs$$-$RANDOM - (umask 077 && mkdir $tmp) -} || -{ - echo "$me: cannot create a temporary directory in $TMPDIR" >&2 - { (exit 1); exit 1; } -} - - -# -# CONFIG_FILES section. -# - -# No need to generate the scripts if there are no CONFIG_FILES. -# This happens for instance when ./config.status config.h -if test -n "$CONFIG_FILES"; then - # Protect against being on the right side of a sed subst in config.status. - sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g; - s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF -s,@SHELL@,/bin/sh,;t t -s,@PATH_SEPARATOR@,:,;t t -s,@PACKAGE_NAME@,libsmtp--,;t t -s,@PACKAGE_TARNAME@,libsmtp--,;t t -s,@PACKAGE_VERSION@,0.1,;t t -s,@PACKAGE_STRING@,libsmtp-- 0.1,;t t -s,@PACKAGE_BUGREPORT@,Timo Benk ,;t t -s,@exec_prefix@,${prefix},;t t -s,@prefix@,/usr/local/libsmtp---0.1.0,;t t -s,@program_transform_name@,s,x,x,,;t t -s,@bindir@,${exec_prefix}/bin,;t t -s,@sbindir@,${exec_prefix}/sbin,;t t -s,@libexecdir@,${exec_prefix}/libexec,;t t -s,@datadir@,${prefix}/share,;t t -s,@sysconfdir@,${prefix}/etc,;t t -s,@sharedstatedir@,${prefix}/com,;t t -s,@localstatedir@,${prefix}/var,;t t -s,@libdir@,${exec_prefix}/lib,;t t -s,@includedir@,${prefix}/include,;t t -s,@oldincludedir@,/usr/include,;t t -s,@infodir@,${prefix}/info,;t t -s,@mandir@,${prefix}/man,;t t -s,@build_alias@,,;t t -s,@host_alias@,,;t t -s,@target_alias@,,;t t -s,@DEFS@,-DPACKAGE_NAME=\"libsmtp--\" -DPACKAGE_TARNAME=\"libsmtp--\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"libsmtp--\ 0.1\" -DPACKAGE_BUGREPORT=\"Timo\ Benk\ \\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 ,;t t -s,@ECHO_C@,,;t t -s,@ECHO_N@,-n,;t t -s,@ECHO_T@,,;t t -s,@LIBS@,-ldl -lssl,;t t -s,@CC@,gcc,;t t -s,@CFLAGS@,-g -O2 -pedantic -fno-builtin-log -fPIC -Os -Wall -DPLUGINDIR=\"$(libdir)/libsmtp--/plugins\" -DLOCALEDIR=\"$(sharedir)/locale\" -DTEXTDOMAIN=\"libsmtp--\",;t t -s,@LDFLAGS@, -s -shared -nostartfiles -Wl,-hlibsmtp--.so.$(LIBVER),;t t -s,@CPPFLAGS@,,;t t -s,@ac_ct_CC@,gcc,;t t -s,@EXEEXT@,,;t t -s,@OBJEXT@,o,;t t -s,@SET_MAKE@,,;t t -s,@INSTALL_PROGRAM@,${INSTALL},;t t -s,@INSTALL_SCRIPT@,${INSTALL},;t t -s,@INSTALL_DATA@,${INSTALL} -m 644,;t t -s,@CPP@,gcc -E,;t t -s,@objs@,$(SSL_OBJS) $(NO_SSL_OBJS),;t t -s,@hdrs@,includes/ssl/*.h,;t t -s,@ssl@,-D__USE_SSL_,;t t -s,@lib_nam@,libsmtp--,;t t -s,@lib_ver_major@,0,;t t -s,@lib_ver_minor@,1,;t t -s,@lib_ver_release@,0,;t t -s,@lib_ext@,so,;t t -s,@macos_dlfcn@,,;t t -s,@ldflags_plg@, -s -shared -nostartfiles,;t t -s,@bldtyp_lib@,,;t t -s,@bldtyp_plg@,,;t t -s,@libs_plg@,,;t t -s,@strip@,strip --remove-section=.note --remove-section=.comment,;t t -s,@macosx_deployment_target@,,;t t -CEOF - - # Split the substitutions into bite-sized pieces for seds with - # small command number limits, like on Digital OSF/1 and HP-UX. - ac_max_sed_lines=48 - ac_sed_frag=1 # Number of current file. - ac_beg=1 # First line for current file. - ac_end=$ac_max_sed_lines # Line after last line for current file. - ac_more_lines=: - ac_sed_cmds= - while $ac_more_lines; do - if test $ac_beg -gt 1; then - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag - else - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag - fi - if test ! -s $tmp/subs.frag; then - ac_more_lines=false - else - # The purpose of the label and of the branching condition is to - # speed up the sed processing (if there are no `@' at all, there - # is no need to browse any of the substitutions). - # These are the two extra sed commands mentioned above. - (echo ':t - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed - if test -z "$ac_sed_cmds"; then - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" - else - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" - fi - ac_sed_frag=`expr $ac_sed_frag + 1` - ac_beg=$ac_end - ac_end=`expr $ac_end + $ac_max_sed_lines` - fi - done - if test -z "$ac_sed_cmds"; then - ac_sed_cmds=cat - fi -fi # test -n "$CONFIG_FILES" - -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". - case $ac_file in - - | *:- | *:-:* ) # input from stdin - cat >$tmp/stdin - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; - * ) ac_file_in=$ac_file.in ;; - esac - - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. - ac_dir=`(dirname "$ac_file") 2>/dev/null || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| \ - . : '\(.\)' 2>/dev/null || -echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } - /^X\(\/\/\)[^/].*/{ s//\1/; q; } - /^X\(\/\/\)$/{ s//\1/; q; } - /^X\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` - { case "$ac_dir" in - [\\/]* | ?:[\\/]* ) as_incr_dir=;; - *) as_incr_dir=.;; -esac -as_dummy="$ac_dir" -for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do - case $as_mkdir_dir in - # Skip DOS drivespec - ?:) as_incr_dir=$as_mkdir_dir ;; - *) - as_incr_dir=$as_incr_dir/$as_mkdir_dir - test -d "$as_incr_dir" || - mkdir "$as_incr_dir" || - { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 -echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} - { (exit 1); exit 1; }; } - ;; - esac -done; } - - ac_builddir=. - -if test "$ac_dir" != .; then - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` - # A "../" for each directory in $ac_dir_suffix. - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` -else - ac_dir_suffix= ac_top_builddir= -fi - -case $srcdir in - .) # No --srcdir option. We are building in place. - ac_srcdir=. - if test -z "$ac_top_builddir"; then - ac_top_srcdir=. - else - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` - fi ;; - [\\/]* | ?:[\\/]* ) # Absolute path. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir ;; - *) # Relative path. - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_builddir$srcdir ;; -esac -# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be -# absolute. -ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` -ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` -ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` - - - case $INSTALL in - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; - *) ac_INSTALL=$ac_top_builddir$INSTALL ;; - esac - - if test x"$ac_file" != x-; then - { echo "$as_me:$LINENO: creating $ac_file" >&5 -echo "$as_me: creating $ac_file" >&6;} - rm -f "$ac_file" - fi - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - if test x"$ac_file" = x-; then - configure_input= - else - configure_input="$ac_file. " - fi - configure_input=$configure_input"Generated from `echo $ac_file_in | - sed 's,.*/,,'` by configure." - - # First look for the input files in the build tree, otherwise in the - # src tree. - ac_file_inputs=`IFS=: - for f in $ac_file_in; do - case $f in - -) echo $tmp/stdin ;; - [\\/$]*) - # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 -echo "$as_me: error: cannot find input file: $f" >&2;} - { (exit 1); exit 1; }; } - echo $f;; - *) # Relative - if test -f "$f"; then - # Build tree - echo $f - elif test -f "$srcdir/$f"; then - # Source tree - echo $srcdir/$f - else - # /dev/null tree - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 -echo "$as_me: error: cannot find input file: $f" >&2;} - { (exit 1); exit 1; }; } - fi;; - esac - done` || { (exit 1); exit 1; } - sed "/^[ ]*VPATH[ ]*=/{ -s/:*\$(srcdir):*/:/; -s/:*\${srcdir}:*/:/; -s/:*@srcdir@:*/:/; -s/^\([^=]*=[ ]*\):*/\1/; -s/:*$//; -s/^[^=]*=[ ]*$//; -} - -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s,@configure_input@,$configure_input,;t t -s,@srcdir@,$ac_srcdir,;t t -s,@abs_srcdir@,$ac_abs_srcdir,;t t -s,@top_srcdir@,$ac_top_srcdir,;t t -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t -s,@builddir@,$ac_builddir,;t t -s,@abs_builddir@,$ac_abs_builddir,;t t -s,@top_builddir@,$ac_top_builddir,;t t -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t -s,@INSTALL@,$ac_INSTALL,;t t -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out - rm -f $tmp/stdin - if test x"$ac_file" != x-; then - mv $tmp/out $ac_file - else - cat $tmp/out - rm -f $tmp/out - fi - -done - -{ (exit 0); exit 0; } diff --git a/features/smtp/lib/libsmtp---0.1.0/config.sub b/features/smtp/lib/libsmtp---0.1.0/config.sub deleted file mode 100755 index f365797..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/config.sub +++ /dev/null @@ -1,1443 +0,0 @@ -#! /bin/sh -# Configuration validation subroutine script. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002 Free Software Foundation, Inc. - -timestamp='2002-03-07' - -# This file is (in principle) common to ALL GNU software. -# The presence of a machine in this file suggests that SOME GNU software -# can handle that machine. It does not imply ALL GNU software can. -# -# This file is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, -# Boston, MA 02111-1307, USA. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# Please send patches to . Submit a context -# diff and a properly formatted ChangeLog entry. -# -# Configuration subroutine to validate and canonicalize a configuration type. -# Supply the specified configuration type as an argument. -# If it is invalid, we print an error message on stderr and exit with code 1. -# Otherwise, we print the canonical config type on stdout and succeed. - -# This file is supposed to be the same for all GNU packages -# and recognize all the CPU types, system types and aliases -# that are meaningful with *any* GNU software. -# Each package is responsible for reporting which valid configurations -# it does not support. The user should be able to distinguish -# a failure to support a valid configuration from a meaningless -# configuration. - -# The goal of this file is to map all the various variations of a given -# machine specification into a single specification in the form: -# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM -# or in some cases, the newer four-part form: -# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM -# It is wrong to echo any other type of specification. - -me=`echo "$0" | sed -e 's,.*/,,'` - -usage="\ -Usage: $0 [OPTION] CPU-MFR-OPSYS - $0 [OPTION] ALIAS - -Canonicalize a configuration name. - -Operation modes: - -h, --help print this help, then exit - -t, --time-stamp print date of last modification, then exit - -v, --version print version number, then exit - -Report bugs and patches to ." - -version="\ -GNU config.sub ($timestamp) - -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -Free Software Foundation, Inc. - -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." - -help=" -Try \`$me --help' for more information." - -# Parse command line -while test $# -gt 0 ; do - case $1 in - --time-stamp | --time* | -t ) - echo "$timestamp" ; exit 0 ;; - --version | -v ) - echo "$version" ; exit 0 ;; - --help | --h* | -h ) - echo "$usage"; exit 0 ;; - -- ) # Stop option processing - shift; break ;; - - ) # Use stdin as input. - break ;; - -* ) - echo "$me: invalid option $1$help" - exit 1 ;; - - *local*) - # First pass through any local machine types. - echo $1 - exit 0;; - - * ) - break ;; - esac -done - -case $# in - 0) echo "$me: missing argument$help" >&2 - exit 1;; - 1) ;; - *) echo "$me: too many arguments$help" >&2 - exit 1;; -esac - -# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). -# Here we must recognize all the valid KERNEL-OS combinations. -maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` -case $maybe_os in - nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*) - os=-$maybe_os - basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` - ;; - *) - basic_machine=`echo $1 | sed 's/-[^-]*$//'` - if [ $basic_machine != $1 ] - then os=`echo $1 | sed 's/.*-/-/'` - else os=; fi - ;; -esac - -### Let's recognize common machines as not being operating systems so -### that things like config.sub decstation-3100 work. We also -### recognize some manufacturers as not being operating systems, so we -### can provide default operating systems below. -case $os in - -sun*os*) - # Prevent following clause from handling this invalid input. - ;; - -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ - -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ - -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ - -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ - -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ - -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple | -axis) - os= - basic_machine=$1 - ;; - -sim | -cisco | -oki | -wec | -winbond) - os= - basic_machine=$1 - ;; - -scout) - ;; - -wrs) - os=-vxworks - basic_machine=$1 - ;; - -chorusos*) - os=-chorusos - basic_machine=$1 - ;; - -chorusrdb) - os=-chorusrdb - basic_machine=$1 - ;; - -hiux*) - os=-hiuxwe2 - ;; - -sco5) - os=-sco3.2v5 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco4) - os=-sco3.2v4 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2.[4-9]*) - os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2v[4-9]*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco*) - os=-sco3.2v2 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -udk*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -isc) - os=-isc2.2 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -clix*) - basic_machine=clipper-intergraph - ;; - -isc*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -lynx*) - os=-lynxos - ;; - -ptx*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` - ;; - -windowsnt*) - os=`echo $os | sed -e 's/windowsnt/winnt/'` - ;; - -psos*) - os=-psos - ;; - -mint | -mint[0-9]*) - basic_machine=m68k-atari - os=-mint - ;; -esac - -# Decode aliases for certain CPU-COMPANY combinations. -case $basic_machine in - # Recognize the basic CPU types without company name. - # Some are omitted here because they have special meanings below. - 1750a | 580 \ - | a29k \ - | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ - | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ - | c4x | clipper \ - | d10v | d30v | dsp16xx \ - | fr30 \ - | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ - | i370 | i860 | i960 | ia64 \ - | m32r | m68000 | m68k | m88k | mcore \ - | mips | mips16 | mips64 | mips64el | mips64orion | mips64orionel \ - | mips64vr4100 | mips64vr4100el | mips64vr4300 \ - | mips64vr4300el | mips64vr5000 | mips64vr5000el \ - | mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \ - | mipsisa32 | mipsisa64 \ - | mn10200 | mn10300 \ - | ns16k | ns32k \ - | openrisc | or32 \ - | pdp10 | pdp11 | pj | pjl \ - | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ - | pyramid \ - | sh | sh[34] | sh[34]eb | shbe | shle | sh64 \ - | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \ - | strongarm \ - | tahoe | thumb | tic80 | tron \ - | v850 | v850e \ - | we32k \ - | x86 | xscale | xstormy16 | xtensa \ - | z8k) - basic_machine=$basic_machine-unknown - ;; - m6811 | m68hc11 | m6812 | m68hc12) - # Motorola 68HC11/12. - basic_machine=$basic_machine-unknown - os=-none - ;; - m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) - ;; - - # We use `pc' rather than `unknown' - # because (1) that's what they normally are, and - # (2) the word "unknown" tends to confuse beginning users. - i*86 | x86_64) - basic_machine=$basic_machine-pc - ;; - # Object if more than one company name word. - *-*-*) - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 - exit 1 - ;; - # Recognize the basic CPU types with company name. - 580-* \ - | a29k-* \ - | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ - | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ - | arm-* | armbe-* | armle-* | armv*-* \ - | avr-* \ - | bs2000-* \ - | c[123]* | c30-* | [cjt]90-* | c54x-* \ - | clipper-* | cydra-* \ - | d10v-* | d30v-* \ - | elxsi-* \ - | f30[01]-* | f700-* | fr30-* | fx80-* \ - | h8300-* | h8500-* \ - | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ - | i*86-* | i860-* | i960-* | ia64-* \ - | m32r-* \ - | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ - | m88110-* | m88k-* | mcore-* \ - | mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \ - | mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \ - | mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipseb-* \ - | mipsle-* | mipsel-* | mipstx39-* | mipstx39el-* \ - | none-* | np1-* | ns16k-* | ns32k-* \ - | orion-* \ - | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ - | pyramid-* \ - | romp-* | rs6000-* \ - | sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* | sh64-* \ - | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ - | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ - | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \ - | v850-* | v850e-* | vax-* \ - | we32k-* \ - | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ - | xtensa-* \ - | ymp-* \ - | z8k-*) - ;; - # Recognize the various machine names and aliases which stand - # for a CPU type and a company and sometimes even an OS. - 386bsd) - basic_machine=i386-unknown - os=-bsd - ;; - 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) - basic_machine=m68000-att - ;; - 3b*) - basic_machine=we32k-att - ;; - a29khif) - basic_machine=a29k-amd - os=-udi - ;; - adobe68k) - basic_machine=m68010-adobe - os=-scout - ;; - alliant | fx80) - basic_machine=fx80-alliant - ;; - altos | altos3068) - basic_machine=m68k-altos - ;; - am29k) - basic_machine=a29k-none - os=-bsd - ;; - amdahl) - basic_machine=580-amdahl - os=-sysv - ;; - amiga | amiga-*) - basic_machine=m68k-unknown - ;; - amigaos | amigados) - basic_machine=m68k-unknown - os=-amigaos - ;; - amigaunix | amix) - basic_machine=m68k-unknown - os=-sysv4 - ;; - apollo68) - basic_machine=m68k-apollo - os=-sysv - ;; - apollo68bsd) - basic_machine=m68k-apollo - os=-bsd - ;; - aux) - basic_machine=m68k-apple - os=-aux - ;; - balance) - basic_machine=ns32k-sequent - os=-dynix - ;; - c90) - basic_machine=c90-cray - os=-unicos - ;; - convex-c1) - basic_machine=c1-convex - os=-bsd - ;; - convex-c2) - basic_machine=c2-convex - os=-bsd - ;; - convex-c32) - basic_machine=c32-convex - os=-bsd - ;; - convex-c34) - basic_machine=c34-convex - os=-bsd - ;; - convex-c38) - basic_machine=c38-convex - os=-bsd - ;; - cray | j90) - basic_machine=j90-cray - os=-unicos - ;; - crds | unos) - basic_machine=m68k-crds - ;; - cris | cris-* | etrax*) - basic_machine=cris-axis - ;; - da30 | da30-*) - basic_machine=m68k-da30 - ;; - decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) - basic_machine=mips-dec - ;; - decsystem10* | dec10*) - basic_machine=pdp10-dec - os=-tops10 - ;; - decsystem20* | dec20*) - basic_machine=pdp10-dec - os=-tops20 - ;; - delta | 3300 | motorola-3300 | motorola-delta \ - | 3300-motorola | delta-motorola) - basic_machine=m68k-motorola - ;; - delta88) - basic_machine=m88k-motorola - os=-sysv3 - ;; - dpx20 | dpx20-*) - basic_machine=rs6000-bull - os=-bosx - ;; - dpx2* | dpx2*-bull) - basic_machine=m68k-bull - os=-sysv3 - ;; - ebmon29k) - basic_machine=a29k-amd - os=-ebmon - ;; - elxsi) - basic_machine=elxsi-elxsi - os=-bsd - ;; - encore | umax | mmax) - basic_machine=ns32k-encore - ;; - es1800 | OSE68k | ose68k | ose | OSE) - basic_machine=m68k-ericsson - os=-ose - ;; - fx2800) - basic_machine=i860-alliant - ;; - genix) - basic_machine=ns32k-ns - ;; - gmicro) - basic_machine=tron-gmicro - os=-sysv - ;; - go32) - basic_machine=i386-pc - os=-go32 - ;; - h3050r* | hiux*) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - h8300hms) - basic_machine=h8300-hitachi - os=-hms - ;; - h8300xray) - basic_machine=h8300-hitachi - os=-xray - ;; - h8500hms) - basic_machine=h8500-hitachi - os=-hms - ;; - harris) - basic_machine=m88k-harris - os=-sysv3 - ;; - hp300-*) - basic_machine=m68k-hp - ;; - hp300bsd) - basic_machine=m68k-hp - os=-bsd - ;; - hp300hpux) - basic_machine=m68k-hp - os=-hpux - ;; - hp3k9[0-9][0-9] | hp9[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hp9k2[0-9][0-9] | hp9k31[0-9]) - basic_machine=m68000-hp - ;; - hp9k3[2-9][0-9]) - basic_machine=m68k-hp - ;; - hp9k6[0-9][0-9] | hp6[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hp9k7[0-79][0-9] | hp7[0-79][0-9]) - basic_machine=hppa1.1-hp - ;; - hp9k78[0-9] | hp78[0-9]) - # FIXME: really hppa2.0-hp - basic_machine=hppa1.1-hp - ;; - hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) - # FIXME: really hppa2.0-hp - basic_machine=hppa1.1-hp - ;; - hp9k8[0-9][13679] | hp8[0-9][13679]) - basic_machine=hppa1.1-hp - ;; - hp9k8[0-9][0-9] | hp8[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hppa-next) - os=-nextstep3 - ;; - hppaosf) - basic_machine=hppa1.1-hp - os=-osf - ;; - hppro) - basic_machine=hppa1.1-hp - os=-proelf - ;; - i370-ibm* | ibm*) - basic_machine=i370-ibm - ;; -# I'm not sure what "Sysv32" means. Should this be sysv3.2? - i*86v32) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv32 - ;; - i*86v4*) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv4 - ;; - i*86v) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv - ;; - i*86sol2) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-solaris2 - ;; - i386mach) - basic_machine=i386-mach - os=-mach - ;; - i386-vsta | vsta) - basic_machine=i386-unknown - os=-vsta - ;; - iris | iris4d) - basic_machine=mips-sgi - case $os in - -irix*) - ;; - *) - os=-irix4 - ;; - esac - ;; - isi68 | isi) - basic_machine=m68k-isi - os=-sysv - ;; - m88k-omron*) - basic_machine=m88k-omron - ;; - magnum | m3230) - basic_machine=mips-mips - os=-sysv - ;; - merlin) - basic_machine=ns32k-utek - os=-sysv - ;; - mingw32) - basic_machine=i386-pc - os=-mingw32 - ;; - miniframe) - basic_machine=m68000-convergent - ;; - *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) - basic_machine=m68k-atari - os=-mint - ;; - mips3*-*) - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` - ;; - mips3*) - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown - ;; - mmix*) - basic_machine=mmix-knuth - os=-mmixware - ;; - monitor) - basic_machine=m68k-rom68k - os=-coff - ;; - morphos) - basic_machine=powerpc-unknown - os=-morphos - ;; - msdos) - basic_machine=i386-pc - os=-msdos - ;; - mvs) - basic_machine=i370-ibm - os=-mvs - ;; - ncr3000) - basic_machine=i486-ncr - os=-sysv4 - ;; - netbsd386) - basic_machine=i386-unknown - os=-netbsd - ;; - netwinder) - basic_machine=armv4l-rebel - os=-linux - ;; - news | news700 | news800 | news900) - basic_machine=m68k-sony - os=-newsos - ;; - news1000) - basic_machine=m68030-sony - os=-newsos - ;; - news-3600 | risc-news) - basic_machine=mips-sony - os=-newsos - ;; - necv70) - basic_machine=v70-nec - os=-sysv - ;; - next | m*-next ) - basic_machine=m68k-next - case $os in - -nextstep* ) - ;; - -ns2*) - os=-nextstep2 - ;; - *) - os=-nextstep3 - ;; - esac - ;; - nh3000) - basic_machine=m68k-harris - os=-cxux - ;; - nh[45]000) - basic_machine=m88k-harris - os=-cxux - ;; - nindy960) - basic_machine=i960-intel - os=-nindy - ;; - mon960) - basic_machine=i960-intel - os=-mon960 - ;; - nonstopux) - basic_machine=mips-compaq - os=-nonstopux - ;; - np1) - basic_machine=np1-gould - ;; - nsr-tandem) - basic_machine=nsr-tandem - ;; - op50n-* | op60c-*) - basic_machine=hppa1.1-oki - os=-proelf - ;; - or32 | or32-*) - basic_machine=or32-unknown - os=-coff - ;; - OSE68000 | ose68000) - basic_machine=m68000-ericsson - os=-ose - ;; - os68k) - basic_machine=m68k-none - os=-os68k - ;; - pa-hitachi) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - paragon) - basic_machine=i860-intel - os=-osf - ;; - pbd) - basic_machine=sparc-tti - ;; - pbb) - basic_machine=m68k-tti - ;; - pc532 | pc532-*) - basic_machine=ns32k-pc532 - ;; - pentium | p5 | k5 | k6 | nexgen | viac3) - basic_machine=i586-pc - ;; - pentiumpro | p6 | 6x86 | athlon) - basic_machine=i686-pc - ;; - pentiumii | pentium2) - basic_machine=i686-pc - ;; - pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) - basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pentiumpro-* | p6-* | 6x86-* | athlon-*) - basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pentiumii-* | pentium2-*) - basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pn) - basic_machine=pn-gould - ;; - power) basic_machine=power-ibm - ;; - ppc) basic_machine=powerpc-unknown - ;; - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ppcle | powerpclittle | ppc-le | powerpc-little) - basic_machine=powerpcle-unknown - ;; - ppcle-* | powerpclittle-*) - basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ppc64) basic_machine=powerpc64-unknown - ;; - ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ppc64le | powerpc64little | ppc64-le | powerpc64-little) - basic_machine=powerpc64le-unknown - ;; - ppc64le-* | powerpc64little-*) - basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ps2) - basic_machine=i386-ibm - ;; - pw32) - basic_machine=i586-unknown - os=-pw32 - ;; - rom68k) - basic_machine=m68k-rom68k - os=-coff - ;; - rm[46]00) - basic_machine=mips-siemens - ;; - rtpc | rtpc-*) - basic_machine=romp-ibm - ;; - s390 | s390-*) - basic_machine=s390-ibm - ;; - s390x | s390x-*) - basic_machine=s390x-ibm - ;; - sa29200) - basic_machine=a29k-amd - os=-udi - ;; - sequent) - basic_machine=i386-sequent - ;; - sh) - basic_machine=sh-hitachi - os=-hms - ;; - sparclite-wrs | simso-wrs) - basic_machine=sparclite-wrs - os=-vxworks - ;; - sps7) - basic_machine=m68k-bull - os=-sysv2 - ;; - spur) - basic_machine=spur-unknown - ;; - st2000) - basic_machine=m68k-tandem - ;; - stratus) - basic_machine=i860-stratus - os=-sysv4 - ;; - sun2) - basic_machine=m68000-sun - ;; - sun2os3) - basic_machine=m68000-sun - os=-sunos3 - ;; - sun2os4) - basic_machine=m68000-sun - os=-sunos4 - ;; - sun3os3) - basic_machine=m68k-sun - os=-sunos3 - ;; - sun3os4) - basic_machine=m68k-sun - os=-sunos4 - ;; - sun4os3) - basic_machine=sparc-sun - os=-sunos3 - ;; - sun4os4) - basic_machine=sparc-sun - os=-sunos4 - ;; - sun4sol2) - basic_machine=sparc-sun - os=-solaris2 - ;; - sun3 | sun3-*) - basic_machine=m68k-sun - ;; - sun4) - basic_machine=sparc-sun - ;; - sun386 | sun386i | roadrunner) - basic_machine=i386-sun - ;; - sv1) - basic_machine=sv1-cray - os=-unicos - ;; - symmetry) - basic_machine=i386-sequent - os=-dynix - ;; - t3d) - basic_machine=alpha-cray - os=-unicos - ;; - t3e) - basic_machine=alphaev5-cray - os=-unicos - ;; - t90) - basic_machine=t90-cray - os=-unicos - ;; - tic54x | c54x*) - basic_machine=tic54x-unknown - os=-coff - ;; - tx39) - basic_machine=mipstx39-unknown - ;; - tx39el) - basic_machine=mipstx39el-unknown - ;; - toad1) - basic_machine=pdp10-xkl - os=-tops20 - ;; - tower | tower-32) - basic_machine=m68k-ncr - ;; - udi29k) - basic_machine=a29k-amd - os=-udi - ;; - ultra3) - basic_machine=a29k-nyu - os=-sym1 - ;; - v810 | necv810) - basic_machine=v810-nec - os=-none - ;; - vaxv) - basic_machine=vax-dec - os=-sysv - ;; - vms) - basic_machine=vax-dec - os=-vms - ;; - vpp*|vx|vx-*) - basic_machine=f301-fujitsu - ;; - vxworks960) - basic_machine=i960-wrs - os=-vxworks - ;; - vxworks68) - basic_machine=m68k-wrs - os=-vxworks - ;; - vxworks29k) - basic_machine=a29k-wrs - os=-vxworks - ;; - w65*) - basic_machine=w65-wdc - os=-none - ;; - w89k-*) - basic_machine=hppa1.1-winbond - os=-proelf - ;; - windows32) - basic_machine=i386-pc - os=-windows32-msvcrt - ;; - xps | xps100) - basic_machine=xps100-honeywell - ;; - ymp) - basic_machine=ymp-cray - os=-unicos - ;; - z8k-*-coff) - basic_machine=z8k-unknown - os=-sim - ;; - none) - basic_machine=none-none - os=-none - ;; - -# Here we handle the default manufacturer of certain CPU types. It is in -# some cases the only manufacturer, in others, it is the most popular. - w89k) - basic_machine=hppa1.1-winbond - ;; - op50n) - basic_machine=hppa1.1-oki - ;; - op60c) - basic_machine=hppa1.1-oki - ;; - romp) - basic_machine=romp-ibm - ;; - rs6000) - basic_machine=rs6000-ibm - ;; - vax) - basic_machine=vax-dec - ;; - pdp10) - # there are many clones, so DEC is not a safe bet - basic_machine=pdp10-unknown - ;; - pdp11) - basic_machine=pdp11-dec - ;; - we32k) - basic_machine=we32k-att - ;; - sh3 | sh4 | sh3eb | sh4eb) - basic_machine=sh-unknown - ;; - sh64) - basic_machine=sh64-unknown - ;; - sparc | sparcv9 | sparcv9b) - basic_machine=sparc-sun - ;; - cydra) - basic_machine=cydra-cydrome - ;; - orion) - basic_machine=orion-highlevel - ;; - orion105) - basic_machine=clipper-highlevel - ;; - mac | mpw | mac-mpw) - basic_machine=m68k-apple - ;; - pmac | pmac-mpw) - basic_machine=powerpc-apple - ;; - c4x*) - basic_machine=c4x-none - os=-coff - ;; - *-unknown) - # Make sure to match an already-canonicalized machine name. - ;; - *) - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 - exit 1 - ;; -esac - -# Here we canonicalize certain aliases for manufacturers. -case $basic_machine in - *-digital*) - basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` - ;; - *-commodore*) - basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` - ;; - *) - ;; -esac - -# Decode manufacturer-specific aliases for certain operating systems. - -if [ x"$os" != x"" ] -then -case $os in - # First match some system type aliases - # that might get confused with valid system types. - # -solaris* is a basic system type, with this one exception. - -solaris1 | -solaris1.*) - os=`echo $os | sed -e 's|solaris1|sunos4|'` - ;; - -solaris) - os=-solaris2 - ;; - -svr4*) - os=-sysv4 - ;; - -unixware*) - os=-sysv4.2uw - ;; - -gnu/linux*) - os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` - ;; - # First accept the basic system types. - # The portable systems comes first. - # Each alternative MUST END IN A *, to match a version number. - # -sysv* is not here because it comes later, after sysvr4. - -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ - | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ - | -aos* \ - | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ - | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ - | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ - | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ - | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ - | -chorusos* | -chorusrdb* \ - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ - | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ - | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ - | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ - | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ - | -morphos* | -superux* | -rtmk* | -rtmk-nova*) - # Remember, each alternative MUST END IN *, to match a version number. - ;; - -qnx*) - case $basic_machine in - x86-* | i*86-*) - ;; - *) - os=-nto$os - ;; - esac - ;; - -nto*) - os=-nto-qnx - ;; - -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ - | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ - | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) - ;; - -mac*) - os=`echo $os | sed -e 's|mac|macos|'` - ;; - -linux*) - os=`echo $os | sed -e 's|linux|linux-gnu|'` - ;; - -sunos5*) - os=`echo $os | sed -e 's|sunos5|solaris2|'` - ;; - -sunos6*) - os=`echo $os | sed -e 's|sunos6|solaris3|'` - ;; - -opened*) - os=-openedition - ;; - -wince*) - os=-wince - ;; - -osfrose*) - os=-osfrose - ;; - -osf*) - os=-osf - ;; - -utek*) - os=-bsd - ;; - -dynix*) - os=-bsd - ;; - -acis*) - os=-aos - ;; - -atheos*) - os=-atheos - ;; - -386bsd) - os=-bsd - ;; - -ctix* | -uts*) - os=-sysv - ;; - -nova*) - os=-rtmk-nova - ;; - -ns2 ) - os=-nextstep2 - ;; - -nsk*) - os=-nsk - ;; - # Preserve the version number of sinix5. - -sinix5.*) - os=`echo $os | sed -e 's|sinix|sysv|'` - ;; - -sinix*) - os=-sysv4 - ;; - -triton*) - os=-sysv3 - ;; - -oss*) - os=-sysv3 - ;; - -svr4) - os=-sysv4 - ;; - -svr3) - os=-sysv3 - ;; - -sysvr4) - os=-sysv4 - ;; - # This must come after -sysvr4. - -sysv*) - ;; - -ose*) - os=-ose - ;; - -es1800*) - os=-ose - ;; - -xenix) - os=-xenix - ;; - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) - os=-mint - ;; - -none) - ;; - *) - # Get rid of the `-' at the beginning of $os. - os=`echo $os | sed 's/[^-]*-//'` - echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 - exit 1 - ;; -esac -else - -# Here we handle the default operating systems that come with various machines. -# The value should be what the vendor currently ships out the door with their -# machine or put another way, the most popular os provided with the machine. - -# Note that if you're going to try to match "-MANUFACTURER" here (say, -# "-sun"), then you have to tell the case statement up towards the top -# that MANUFACTURER isn't an operating system. Otherwise, code above -# will signal an error saying that MANUFACTURER isn't an operating -# system, and we'll never get to this point. - -case $basic_machine in - *-acorn) - os=-riscix1.2 - ;; - arm*-rebel) - os=-linux - ;; - arm*-semi) - os=-aout - ;; - # This must come before the *-dec entry. - pdp10-*) - os=-tops20 - ;; - pdp11-*) - os=-none - ;; - *-dec | vax-*) - os=-ultrix4.2 - ;; - m68*-apollo) - os=-domain - ;; - i386-sun) - os=-sunos4.0.2 - ;; - m68000-sun) - os=-sunos3 - # This also exists in the configure program, but was not the - # default. - # os=-sunos4 - ;; - m68*-cisco) - os=-aout - ;; - mips*-cisco) - os=-elf - ;; - mips*-*) - os=-elf - ;; - or32-*) - os=-coff - ;; - *-tti) # must be before sparc entry or we get the wrong os. - os=-sysv3 - ;; - sparc-* | *-sun) - os=-sunos4.1.1 - ;; - *-be) - os=-beos - ;; - *-ibm) - os=-aix - ;; - *-wec) - os=-proelf - ;; - *-winbond) - os=-proelf - ;; - *-oki) - os=-proelf - ;; - *-hp) - os=-hpux - ;; - *-hitachi) - os=-hiux - ;; - i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) - os=-sysv - ;; - *-cbm) - os=-amigaos - ;; - *-dg) - os=-dgux - ;; - *-dolphin) - os=-sysv3 - ;; - m68k-ccur) - os=-rtu - ;; - m88k-omron*) - os=-luna - ;; - *-next ) - os=-nextstep - ;; - *-sequent) - os=-ptx - ;; - *-crds) - os=-unos - ;; - *-ns) - os=-genix - ;; - i370-*) - os=-mvs - ;; - *-next) - os=-nextstep3 - ;; - *-gould) - os=-sysv - ;; - *-highlevel) - os=-bsd - ;; - *-encore) - os=-bsd - ;; - *-sgi) - os=-irix - ;; - *-siemens) - os=-sysv4 - ;; - *-masscomp) - os=-rtu - ;; - f30[01]-fujitsu | f700-fujitsu) - os=-uxpv - ;; - *-rom68k) - os=-coff - ;; - *-*bug) - os=-coff - ;; - *-apple) - os=-macos - ;; - *-atari*) - os=-mint - ;; - *) - os=-none - ;; -esac -fi - -# Here we handle the case where we know the os, and the CPU type, but not the -# manufacturer. We pick the logical manufacturer. -vendor=unknown -case $basic_machine in - *-unknown) - case $os in - -riscix*) - vendor=acorn - ;; - -sunos*) - vendor=sun - ;; - -aix*) - vendor=ibm - ;; - -beos*) - vendor=be - ;; - -hpux*) - vendor=hp - ;; - -mpeix*) - vendor=hp - ;; - -hiux*) - vendor=hitachi - ;; - -unos*) - vendor=crds - ;; - -dgux*) - vendor=dg - ;; - -luna*) - vendor=omron - ;; - -genix*) - vendor=ns - ;; - -mvs* | -opened*) - vendor=ibm - ;; - -ptx*) - vendor=sequent - ;; - -vxsim* | -vxworks*) - vendor=wrs - ;; - -aux*) - vendor=apple - ;; - -hms*) - vendor=hitachi - ;; - -mpw* | -macos*) - vendor=apple - ;; - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) - vendor=atari - ;; - -vos*) - vendor=stratus - ;; - esac - basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` - ;; -esac - -echo $basic_machine$os -exit 0 - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "timestamp='" -# time-stamp-format: "%:y-%02m-%02d" -# time-stamp-end: "'" -# End: diff --git a/features/smtp/lib/libsmtp---0.1.0/configure b/features/smtp/lib/libsmtp---0.1.0/configure deleted file mode 100755 index d00c81d..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/configure +++ /dev/null @@ -1,6381 +0,0 @@ -#! /bin/sh -# Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.53 for libsmtp-- 0.1. -# -# Report bugs to >. -# -# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 -# Free Software Foundation, Inc. -# This configure script is free software; the Free Software Foundation -# gives unlimited permission to copy, distribute and modify it. - -if expr a : '\(a\)' >/dev/null 2>&1; then - as_expr=expr -else - as_expr=false -fi - - -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## - -# Be Bourne compatible -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then - set -o posix -fi - -# NLS nuisances. -# Support unset when possible. -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - -(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && - { $as_unset LANG || test "${LANG+set}" != set; } || - { LANG=C; export LANG; } -(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && - { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || - { LC_ALL=C; export LC_ALL; } -(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && - { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || - { LC_TIME=C; export LC_TIME; } -(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && - { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || - { LC_CTYPE=C; export LC_CTYPE; } -(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && - { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || - { LANGUAGE=C; export LANGUAGE; } -(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && - { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || - { LC_COLLATE=C; export LC_COLLATE; } -(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && - { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || - { LC_NUMERIC=C; export LC_NUMERIC; } -(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && - { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || - { LC_MESSAGES=C; export LC_MESSAGES; } - - -# Name of the executable. -as_me=`(basename "$0") 2>/dev/null || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)$' \| \ - . : '\(.\)' 2>/dev/null || -echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } - /^X\/\(\/\/\)$/{ s//\1/; q; } - /^X\/\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` - -# PATH needs CR, and LINENO needs CR and PATH. -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conftest.sh - echo "exit 0" >>conftest.sh - chmod +x conftest.sh - if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conftest.sh -fi - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x$as_lineno_3" = "x$as_lineno_2" || { - # Find who we are. Look in the path if we contain no path at all - # relative or not. - case $0 in - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done - - ;; - esac - # We did not find ourselves, most probably we were run as `sh COMMAND' - # in which case we are not to be found in the path. - if test "x$as_myself" = x; then - as_myself=$0 - fi - if test ! -f "$as_myself"; then - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 - { (exit 1); exit 1; }; } - fi - case $CONFIG_SHELL in - '') - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for as_base in sh bash ksh sh5; do - case $as_dir in - /*) - if ("$as_dir/$as_base" -c ' - as_lineno_1=$LINENO - as_lineno_2=$LINENO - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then - CONFIG_SHELL=$as_dir/$as_base - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$0" ${1+"$@"} - fi;; - esac - done -done -;; - esac - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line before each line; the second 'sed' does the real - # work. The second script uses 'N' to pair each line-number line - # with the numbered line, and appends trailing '-' during - # substitution so that $LINENO is not a special case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) - sed '=' <$as_myself | - sed ' - N - s,$,-, - : loop - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, - t loop - s,-$,, - s,^['$as_cr_digits']*\n,, - ' >$as_me.lineno && - chmod +x $as_me.lineno || - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensible to this). - . ./$as_me.lineno - # Exit status is that of the last command. - exit -} - - -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in - *c*,-n*) ECHO_N= ECHO_C=' -' ECHO_T=' ' ;; - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; - *) ECHO_N= ECHO_C='\c' ECHO_T= ;; -esac - -if expr a : '\(a\)' >/dev/null 2>&1; then - as_expr=expr -else - as_expr=false -fi - -rm -f conf$$ conf$$.exe conf$$.file -echo >conf$$.file -if ln -s conf$$.file conf$$ 2>/dev/null; then - # We could just check for DJGPP; but this test a) works b) is more generic - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). - if test -f conf$$.exe; then - # Don't use ln at all; we don't have any links - as_ln_s='cp -p' - else - as_ln_s='ln -s' - fi -elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.file - -as_executable_p="test -f" - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" - - -# IFS -# We need space, tab and new line, in precisely that order. -as_nl=' -' -IFS=" $as_nl" - -# CDPATH. -$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } - - -# Name of the host. -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, -# so uname gets run too. -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` - -exec 6>&1 - -# -# Initializations. -# -ac_default_prefix=/usr/local -cross_compiling=no -subdirs= -MFLAGS= -MAKEFLAGS= -SHELL=${CONFIG_SHELL-/bin/sh} - -# Maximum number of lines to put in a shell here document. -# This variable seems obsolete. It should probably be removed, and -# only ac_max_sed_lines should be used. -: ${ac_max_here_lines=38} - -# Identity of this package. -PACKAGE_NAME='libsmtp--' -PACKAGE_TARNAME='libsmtp--' -PACKAGE_VERSION='0.1' -PACKAGE_STRING='libsmtp-- 0.1' -PACKAGE_BUGREPORT='Timo Benk ' - -ac_unique_file="src/smtp.h" -# Factoring default headers for most tests. -ac_includes_default="\ -#include -#if HAVE_SYS_TYPES_H -# include -#endif -#if HAVE_SYS_STAT_H -# include -#endif -#if STDC_HEADERS -# include -# include -#else -# if HAVE_STDLIB_H -# include -# endif -#endif -#if HAVE_STRING_H -# if !STDC_HEADERS && HAVE_MEMORY_H -# include -# endif -# include -#endif -#if HAVE_STRINGS_H -# include -#endif -#if HAVE_INTTYPES_H -# include -#else -# if HAVE_STDINT_H -# include -# endif -#endif -#if HAVE_UNISTD_H -# include -#endif" - - -# Initialize some variables set by options. -ac_init_help= -ac_init_version=false -# The variables have the same names as the options, with -# dashes changed to underlines. -cache_file=/dev/null -exec_prefix=NONE -no_create= -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -verbose= -x_includes=NONE -x_libraries=NONE - -# Installation directory options. -# These are left unexpanded so users can "make install exec_prefix=/foo" -# and all the variables that are supposed to be based on exec_prefix -# by default will actually change. -# Use braces instead of parens because sh, perl, etc. also accept them. -bindir='${exec_prefix}/bin' -sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' -datadir='${prefix}/share' -sysconfdir='${prefix}/etc' -sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' -libdir='${exec_prefix}/lib' -includedir='${prefix}/include' -oldincludedir='/usr/include' -infodir='${prefix}/info' -mandir='${prefix}/man' - -ac_prev= -for ac_option -do - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval "$ac_prev=\$ac_option" - ac_prev= - continue - fi - - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case $ac_option in - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=bindir ;; - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir=$ac_optarg ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=build_alias ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build_alias=$ac_optarg ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file=$ac_optarg ;; - - --config-cache | -C) - cache_file=config.cache ;; - - -datadir | --datadir | --datadi | --datad | --data | --dat | --da) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ - | --da=*) - datadir=$ac_optarg ;; - - -disable-* | --disable-*) - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid feature name: $ac_feature" >&2 - { (exit 1); exit 1; }; } - ac_feature=`echo $ac_feature | sed 's/-/_/g'` - eval "enable_$ac_feature=no" ;; - - -enable-* | --enable-*) - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid feature name: $ac_feature" >&2 - { (exit 1); exit 1; }; } - ac_feature=`echo $ac_feature | sed 's/-/_/g'` - case $ac_option in - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; - *) ac_optarg=yes ;; - esac - eval "enable_$ac_feature='$ac_optarg'" ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix=$ac_optarg ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he | -h) - ac_init_help=long ;; - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) - ac_init_help=recursive ;; - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) - ac_init_help=short ;; - - -host | --host | --hos | --ho) - ac_prev=host_alias ;; - -host=* | --host=* | --hos=* | --ho=*) - host_alias=$ac_optarg ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=includedir ;; - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ - | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir=$ac_optarg ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=infodir ;; - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir=$ac_optarg ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=libdir ;; - -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir=$ac_optarg ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=libexecdir ;; - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ - | --libexe=* | --libex=* | --libe=*) - libexecdir=$ac_optarg ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst \ - | --locals | --local | --loca | --loc | --lo) - ac_prev=localstatedir ;; - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* \ - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) - localstatedir=$ac_optarg ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir=$ac_optarg ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c | -n) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=oldincludedir ;; - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir=$ac_optarg ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix=$ac_optarg ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix=$ac_optarg ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix=$ac_optarg ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name=$ac_optarg ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=sbindir ;; - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ - | --sbi=* | --sb=*) - sbindir=$ac_optarg ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=sharedstatedir ;; - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ - | --sha=* | --sh=*) - sharedstatedir=$ac_optarg ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site=$ac_optarg ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir=$ac_optarg ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=sysconfdir ;; - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir=$ac_optarg ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target_alias ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target_alias=$ac_optarg ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers | -V) - ac_init_version=: ;; - - -with-* | --with-*) - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid package name: $ac_package" >&2 - { (exit 1); exit 1; }; } - ac_package=`echo $ac_package| sed 's/-/_/g'` - case $ac_option in - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; - *) ac_optarg=yes ;; - esac - eval "with_$ac_package='$ac_optarg'" ;; - - -without-* | --without-*) - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid package name: $ac_package" >&2 - { (exit 1); exit 1; }; } - ac_package=`echo $ac_package | sed 's/-/_/g'` - eval "with_$ac_package=no" ;; - - --x) - # Obsolete; use --with-x. - with_x=yes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=x_includes ;; - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes=$ac_optarg ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=x_libraries ;; - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries=$ac_optarg ;; - - -*) { echo "$as_me: error: unrecognized option: $ac_option -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; } - ;; - - *=*) - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` - # Reject names that are not valid shell variable names. - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 - { (exit 1); exit 1; }; } - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` - eval "$ac_envvar='$ac_optarg'" - export $ac_envvar ;; - - *) - # FIXME: should be removed in autoconf 3.0. - echo "$as_me: WARNING: you should use --build, --host, --target" >&2 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} - ;; - - esac -done - -if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` - { echo "$as_me: error: missing argument to $ac_option" >&2 - { (exit 1); exit 1; }; } -fi - -# Be sure to have absolute paths. -for ac_var in exec_prefix prefix -do - eval ac_val=$`echo $ac_var` - case $ac_val in - [\\/$]* | ?:[\\/]* | NONE | '' ) ;; - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 - { (exit 1); exit 1; }; };; - esac -done - -# Be sure to have absolute paths. -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ - localstatedir libdir includedir oldincludedir infodir mandir -do - eval ac_val=$`echo $ac_var` - case $ac_val in - [\\/$]* | ?:[\\/]* ) ;; - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 - { (exit 1); exit 1; }; };; - esac -done - -# There might be people who depend on the old broken behavior: `$host' -# used to hold the argument of --host etc. -# FIXME: To remove some day. -build=$build_alias -host=$host_alias -target=$target_alias - -# FIXME: To remove some day. -if test "x$host_alias" != x; then - if test "x$build_alias" = x; then - cross_compiling=maybe - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used." >&2 - elif test "x$build_alias" != "x$host_alias"; then - cross_compiling=yes - fi -fi - -ac_tool_prefix= -test -n "$host_alias" && ac_tool_prefix=$host_alias- - -test "$silent" = yes && exec 6>/dev/null - - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then its parent. - ac_confdir=`(dirname "$0") 2>/dev/null || -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$0" : 'X\(//\)[^/]' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| \ - . : '\(.\)' 2>/dev/null || -echo X"$0" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } - /^X\(\/\/\)[^/].*/{ s//\1/; q; } - /^X\(\/\/\)$/{ s//\1/; q; } - /^X\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` - srcdir=$ac_confdir - if test ! -r $srcdir/$ac_unique_file; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -fi -if test ! -r $srcdir/$ac_unique_file; then - if test "$ac_srcdir_defaulted" = yes; then - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 - { (exit 1); exit 1; }; } - else - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 - { (exit 1); exit 1; }; } - fi -fi -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` -ac_env_build_alias_set=${build_alias+set} -ac_env_build_alias_value=$build_alias -ac_cv_env_build_alias_set=${build_alias+set} -ac_cv_env_build_alias_value=$build_alias -ac_env_host_alias_set=${host_alias+set} -ac_env_host_alias_value=$host_alias -ac_cv_env_host_alias_set=${host_alias+set} -ac_cv_env_host_alias_value=$host_alias -ac_env_target_alias_set=${target_alias+set} -ac_env_target_alias_value=$target_alias -ac_cv_env_target_alias_set=${target_alias+set} -ac_cv_env_target_alias_value=$target_alias -ac_env_CC_set=${CC+set} -ac_env_CC_value=$CC -ac_cv_env_CC_set=${CC+set} -ac_cv_env_CC_value=$CC -ac_env_CFLAGS_set=${CFLAGS+set} -ac_env_CFLAGS_value=$CFLAGS -ac_cv_env_CFLAGS_set=${CFLAGS+set} -ac_cv_env_CFLAGS_value=$CFLAGS -ac_env_LDFLAGS_set=${LDFLAGS+set} -ac_env_LDFLAGS_value=$LDFLAGS -ac_cv_env_LDFLAGS_set=${LDFLAGS+set} -ac_cv_env_LDFLAGS_value=$LDFLAGS -ac_env_CPPFLAGS_set=${CPPFLAGS+set} -ac_env_CPPFLAGS_value=$CPPFLAGS -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} -ac_cv_env_CPPFLAGS_value=$CPPFLAGS -ac_env_CPP_set=${CPP+set} -ac_env_CPP_value=$CPP -ac_cv_env_CPP_set=${CPP+set} -ac_cv_env_CPP_value=$CPP - -# -# Report the --help message. -# -if test "$ac_init_help" = "long"; then - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat <<_ACEOF -\`configure' configures libsmtp-- 0.1 to adapt to many kinds of systems. - -Usage: $0 [OPTION]... [VAR=VALUE]... - -To assign environment variables (e.g., CC, CFLAGS...), specify them as -VAR=VALUE. See below for descriptions of some of the useful variables. - -Defaults for the options are specified in brackets. - -Configuration: - -h, --help display this help and exit - --help=short display options specific to this package - --help=recursive display the short help of all the included packages - -V, --version display version information and exit - -q, --quiet, --silent do not print \`checking...' messages - --cache-file=FILE cache test results in FILE [disabled] - -C, --config-cache alias for \`--cache-file=config.cache' - -n, --no-create do not create output files - --srcdir=DIR find the sources in DIR [configure dir or \`..'] - -_ACEOF - - cat <<_ACEOF -Installation directories: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [PREFIX] - -By default, \`make install' will install all the files in -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -an installation prefix other than \`$ac_default_prefix' using \`--prefix', -for instance \`--prefix=\$HOME'. - -For better control, use the options below. - -Fine tuning of the installation directories: - --bindir=DIR user executables [EPREFIX/bin] - --sbindir=DIR system admin executables [EPREFIX/sbin] - --libexecdir=DIR program executables [EPREFIX/libexec] - --datadir=DIR read-only architecture-independent data [PREFIX/share] - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] - --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --libdir=DIR object code libraries [EPREFIX/lib] - --includedir=DIR C header files [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc [/usr/include] - --infodir=DIR info documentation [PREFIX/info] - --mandir=DIR man documentation [PREFIX/man] -_ACEOF - - cat <<\_ACEOF -_ACEOF -fi - -if test -n "$ac_init_help"; then - case $ac_init_help in - short | recursive ) echo "Configuration of libsmtp-- 0.1:";; - esac - cat <<\_ACEOF - -Optional Features: - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --enable-prettylog enable pretty formatted log messages. this option is - disabled per default because pretty logging will eat - up lots of cpu time. - --disable-ssl disable SSL support that is needed to use the - supplied plugins and the ssl encryption layer. SSL - support is enabled per default. - -Optional Packages: - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --with-libdir add libdir to the library path. multiple directories - should be delimited by one whitespace character and - needs to be quoted. - --with-includedir add includedir to the library path. multiple - directories should be delimited by one whitespace - character and needs to be quoted. - --with-ssl specify the directory where openssl is installed in. - -Some influential environment variables: - CC C compiler command - CFLAGS C compiler flags - LDFLAGS linker flags, e.g. -L if you have libraries in a - nonstandard directory - CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have - headers in a nonstandard directory - CPP C preprocessor - -Use these variables to override the choices made by `configure' or to help -it to find libraries and programs with nonstandard names/locations. - -Report bugs to >. -_ACEOF -fi - -if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - ac_popdir=`pwd` - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue - test -d $ac_dir || continue - ac_builddir=. - -if test "$ac_dir" != .; then - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` - # A "../" for each directory in $ac_dir_suffix. - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` -else - ac_dir_suffix= ac_top_builddir= -fi - -case $srcdir in - .) # No --srcdir option. We are building in place. - ac_srcdir=. - if test -z "$ac_top_builddir"; then - ac_top_srcdir=. - else - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` - fi ;; - [\\/]* | ?:[\\/]* ) # Absolute path. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir ;; - *) # Relative path. - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_builddir$srcdir ;; -esac -# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be -# absolute. -ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` -ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` -ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` - - cd $ac_dir - # Check for guested configure; otherwise get Cygnus style configure. - if test -f $ac_srcdir/configure.gnu; then - echo - $SHELL $ac_srcdir/configure.gnu --help=recursive - elif test -f $ac_srcdir/configure; then - echo - $SHELL $ac_srcdir/configure --help=recursive - elif test -f $ac_srcdir/configure.ac || - test -f $ac_srcdir/configure.in; then - echo - $ac_configure --help - else - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 - fi - cd $ac_popdir - done -fi - -test -n "$ac_init_help" && exit 0 -if $ac_init_version; then - cat <<\_ACEOF -libsmtp-- configure 0.1 -generated by GNU Autoconf 2.53 - -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 -Free Software Foundation, Inc. -This configure script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it. -_ACEOF - exit 0 -fi -exec 5>config.log -cat >&5 <<_ACEOF -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by libsmtp-- $as_me 0.1, which was -generated by GNU Autoconf 2.53. Invocation command line was - - $ $0 $@ - -_ACEOF -{ -cat <<_ASUNAME -## --------- ## -## Platform. ## -## --------- ## - -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` - -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -hostinfo = `(hostinfo) 2>/dev/null || echo unknown` -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` - -_ASUNAME - -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - echo "PATH: $as_dir" -done - -} >&5 - -cat >&5 <<_ACEOF - - -## ----------- ## -## Core tests. ## -## ----------- ## - -_ACEOF - - -# Keep a trace of the command line. -# Strip out --no-create and --no-recursion so they do not pile up. -# Also quote any args containing shell meta-characters. -ac_configure_args= -ac_sep= -for ac_arg -do - case $ac_arg in - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c | -n ) continue ;; - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - continue ;; - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - case " $ac_configure_args " in - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" - ac_sep=" " ;; - esac - # Get rid of the leading space. -done - -# When interrupted or exit'd, cleanup temporary files, and complete -# config.log. We remove comments because anyway the quotes in there -# would cause problems or look ugly. -# WARNING: Be sure not to use single quotes in there, as some shells, -# such as our DU 5.0 friend, will then `close' the trap. -trap 'exit_status=$? - # Save into config.log some information that might help in debugging. - { - echo - cat <<\_ASBOX -## ---------------- ## -## Cache variables. ## -## ---------------- ## -_ASBOX - echo - # The following way of writing the cache mishandles newlines in values, -{ - (set) 2>&1 | - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in - *ac_space=\ *) - sed -n \ - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" - ;; - *) - sed -n \ - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" - ;; - esac; -} - echo - if test -s confdefs.h; then - cat <<\_ASBOX -## ----------- ## -## confdefs.h. ## -## ----------- ## -_ASBOX - echo - sed "/^$/d" confdefs.h - echo - fi - test "$ac_signal" != 0 && - echo "$as_me: caught signal $ac_signal" - echo "$as_me: exit $exit_status" - } >&5 - rm -f core core.* *.core && - rm -rf conftest* confdefs* conf$$* $ac_clean_files && - exit $exit_status - ' 0 -for ac_signal in 1 2 13 15; do - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal -done -ac_signal=0 - -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -rf conftest* confdefs.h -# AIX cpp loses on an empty file, so make sure it contains at least a newline. -echo >confdefs.h - -# Predefined preprocessor variables. - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF - - -# Let the site file select an alternate cache file if it wants to. -# Prefer explicitly selected file to automatically selected ones. -if test -z "$CONFIG_SITE"; then - if test "x$prefix" != xNONE; then - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" - else - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" - fi -fi -for ac_site_file in $CONFIG_SITE; do - if test -r "$ac_site_file"; then - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 -echo "$as_me: loading site script $ac_site_file" >&6;} - sed 's/^/| /' "$ac_site_file" >&5 - . "$ac_site_file" - fi -done - -if test -r "$cache_file"; then - # Some versions of bash will fail to source /dev/null (special - # files actually), so we avoid doing that. - if test -f "$cache_file"; then - { echo "$as_me:$LINENO: loading cache $cache_file" >&5 -echo "$as_me: loading cache $cache_file" >&6;} - case $cache_file in - [\\/]* | ?:[\\/]* ) . $cache_file;; - *) . ./$cache_file;; - esac - fi -else - { echo "$as_me:$LINENO: creating cache $cache_file" >&5 -echo "$as_me: creating cache $cache_file" >&6;} - >$cache_file -fi - -# Check that the precious variables saved in the cache have kept the same -# value. -ac_cache_corrupted=false -for ac_var in `(set) 2>&1 | - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do - eval ac_old_set=\$ac_cv_env_${ac_var}_set - eval ac_new_set=\$ac_env_${ac_var}_set - eval ac_old_val="\$ac_cv_env_${ac_var}_value" - eval ac_new_val="\$ac_env_${ac_var}_value" - case $ac_old_set,$ac_new_set in - set,) - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,set) - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,);; - *) - if test "x$ac_old_val" != "x$ac_new_val"; then - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 -echo "$as_me: former value: $ac_old_val" >&2;} - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 -echo "$as_me: current value: $ac_new_val" >&2;} - ac_cache_corrupted=: - fi;; - esac - # Pass precious variables to config.status. - if test "$ac_new_set" = set; then - case $ac_new_val in - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; - *) ac_arg=$ac_var=$ac_new_val ;; - esac - case " $ac_configure_args " in - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; - esac - fi -done -if $ac_cache_corrupted; then - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 -echo "$as_me: error: changes in the environment can compromise the build" >&2;} - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} - { (exit 1); exit 1; }; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# Checks for programs. -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CC="${ac_tool_prefix}gcc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_CC="gcc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -echo "${ECHO_T}$ac_ct_CC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - CC=$ac_ct_CC -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CC="${ac_tool_prefix}cc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_CC="cc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -echo "${ECHO_T}$ac_ct_CC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - CC=$ac_ct_CC -else - CC="$ac_cv_prog_CC" -fi - -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - set dummy "$as_dir/$ac_word" ${1+"$@"} - shift - ac_cv_prog_CC="$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_CC="$ac_prog" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -echo "${ECHO_T}$ac_ct_CC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - test -n "$ac_ct_CC" && break -done - - CC=$ac_ct_CC -fi - -fi - - -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 -echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} - { (exit 1); exit 1; }; } - -# Provide some information about the compiler. -echo "$as_me:$LINENO:" \ - "checking for C compiler version" >&5 -ac_compiler=`set X $ac_compile; echo $2` -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 - (eval $ac_compiler --version &5) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 - (eval $ac_compiler -v &5) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 - (eval $ac_compiler -V &5) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" - -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ - - ; - return 0; -} -_ACEOF -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files a.out a.exe" -# Try to create an executable without -o first, disregard a.out. -# It will help us diagnose broken compilers, and finding out an intuition -# of exeext. -echo "$as_me:$LINENO: checking for C compiler default output" >&5 -echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 - (eval $ac_link_default) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # Find the output, starting from the most likely. This scheme is -# not robust to junk in `.', hence go to wildcards (a.*) only as a last -# resort. - -# Be careful to initialize this variable, since it used to be cached. -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. -ac_cv_exeext= -for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; - ls a.out conftest 2>/dev/null; - ls a.* conftest.* 2>/dev/null`; do - case $ac_file in - *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;; - a.out ) # We found the default executable, but exeext='' is most - # certainly right. - break;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - # FIXME: I believe we export ac_cv_exeext for Libtool --akim. - export ac_cv_exeext - break;; - * ) break;; - esac -done -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5 -echo "$as_me: error: C compiler cannot create executables" >&2;} - { (exit 77); exit 77; }; } -fi - -ac_exeext=$ac_cv_exeext -echo "$as_me:$LINENO: result: $ac_file" >&5 -echo "${ECHO_T}$ac_file" >&6 - -# Check the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -echo "$as_me:$LINENO: checking whether the C compiler works" >&5 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 -# If not cross compiling, check that we can run a simple program. -if test "$cross_compiling" != yes; then - if { ac_try='./$ac_file' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - cross_compiling=no - else - if test "$cross_compiling" = maybe; then - cross_compiling=yes - else - { { echo "$as_me:$LINENO: error: cannot run C compiled programs. -If you meant to cross compile, use \`--host'." >&5 -echo "$as_me: error: cannot run C compiled programs. -If you meant to cross compile, use \`--host'." >&2;} - { (exit 1); exit 1; }; } - fi - fi -fi -echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6 - -rm -f a.out a.exe conftest$ac_cv_exeext -ac_clean_files=$ac_clean_files_save -# Check the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 -echo "$as_me:$LINENO: result: $cross_compiling" >&5 -echo "${ECHO_T}$cross_compiling" >&6 - -echo "$as_me:$LINENO: checking for suffix of executables" >&5 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # If both `conftest.exe' and `conftest' are `present' (well, observable) -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -# work properly (i.e., refer to `conftest.exe'), while it won't with -# `rm'. -for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do - case $ac_file in - *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - export ac_cv_exeext - break;; - * ) break;; - esac -done -else - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} - { (exit 1); exit 1; }; } -fi - -rm -f conftest$ac_cv_exeext -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 -echo "${ECHO_T}$ac_cv_exeext" >&6 - -rm -f conftest.$ac_ext -EXEEXT=$ac_cv_exeext -ac_exeext=$EXEEXT -echo "$as_me:$LINENO: checking for suffix of object files" >&5 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 -if test "${ac_cv_objext+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" - -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.o conftest.obj -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` - break;; - esac -done -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 -echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} - { (exit 1); exit 1; }; } -fi - -rm -f conftest.$ac_cv_objext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 -echo "${ECHO_T}$ac_cv_objext" >&6 -OBJEXT=$ac_cv_objext -ac_objext=$OBJEXT -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 -if test "${ac_cv_c_compiler_gnu+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" - -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_compiler_gnu=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_compiler_gnu=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -ac_cv_c_compiler_gnu=$ac_compiler_gnu - -fi -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 -GCC=`test $ac_compiler_gnu = yes && echo yes` -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS -CFLAGS="-g" -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 -if test "${ac_cv_prog_cc_g+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" - -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_prog_cc_g=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_prog_cc_g=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -# Some people use a C++ compiler to compile C. Since we use `exit', -# in C++ we need to declare it. In case someone uses the same compiler -# for both compiling C and C++ we need to have the C++ compiler decide -# the declaration of exit, since it's the most demanding environment. -cat >conftest.$ac_ext <<_ACEOF -#ifndef __cplusplus - choke me -#endif -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - for ac_declaration in \ - ''\ - '#include ' \ - 'extern "C" void std::exit (int) throw (); using std::exit;' \ - 'extern "C" void std::exit (int); using std::exit;' \ - 'extern "C" void exit (int) throw ();' \ - 'extern "C" void exit (int);' \ - 'void exit (int);' -do - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -$ac_declaration -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -exit (42); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - : -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -continue -fi -rm -f conftest.$ac_objext conftest.$ac_ext - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_declaration -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -exit (42); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - break -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -fi -rm -f conftest.$ac_objext conftest.$ac_ext -done -rm -f conftest* -if test -n "$ac_declaration"; then - echo '#ifdef __cplusplus' >>confdefs.h - echo $ac_declaration >>confdefs.h - echo '#endif' >>confdefs.h -fi - -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -fi -rm -f conftest.$ac_objext conftest.$ac_ext -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5 -echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.make <<\_ACEOF -all: - @echo 'ac_maketemp="${MAKE}"' -_ACEOF -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` -if test -n "$ac_maketemp"; then - eval ac_cv_prog_make_${ac_make}_set=yes -else - eval ac_cv_prog_make_${ac_make}_set=no -fi -rm -f conftest.make -fi -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then - echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6 - SET_MAKE= -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 - SET_MAKE="MAKE=${MAKE-make}" -fi - -ac_aux_dir= -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do - if test -f $ac_dir/install-sh; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f $ac_dir/install.sh; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break - elif test -f $ac_dir/shtool; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/shtool install -c" - break - fi -done -if test -z "$ac_aux_dir"; then - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} - { (exit 1); exit 1; }; } -fi -ac_config_guess="$SHELL $ac_aux_dir/config.guess" -ac_config_sub="$SHELL $ac_aux_dir/config.sub" -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. - -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AmigaOS /C/install, which installs bootblocks on floppy discs -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -# ./install, which can be erroneously created by make from ./install.sh. -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 -if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in - ./ | .// | /cC/* | \ - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ - /usr/ucb/* ) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then - if test $ac_prog = install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - elif test $ac_prog = install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # program-specific install script used by HP pwplus--don't use. - : - else - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" - break 3 - fi - fi - done - done - ;; -esac -done - - -fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL=$ac_cv_path_install - else - # As a last resort, use the slow shell script. We don't cache a - # path for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the path is relative. - INSTALL=$ac_install_sh - fi -fi -echo "$as_me:$LINENO: result: $INSTALL" >&5 -echo "${ECHO_T}$INSTALL" >&6 - -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - - -# configure parameters - -# Check whether --with-libdir or --without-libdir was given. -if test "${with_libdir+set}" = set; then - withval="$with_libdir" - for i in $withval; do - LDFLAGS="$LDFLAGS -L$i"; - done - -fi; - - -# Check whether --with-includedir or --without-includedir was given. -if test "${with_includedir+set}" = set; then - withval="$with_includedir" - for i in $withval; do - CFLAGS="$CFLAGS -I$i"; - CPPFLAGS="$CFLAGS" - done - -fi; - - -# Check whether --with-ssl or --without-ssl was given. -if test "${with_ssl+set}" = set; then - withval="$with_ssl" - CFLAGS="$CFLAGS -I$withval/include"; - CPPFLAGS="$CFLAGS" - LDFLAGS="$LDFLAGS -L$withval/lib" - -fi; - -# per default ssl is supported -use_ssl="true" - -# Check whether --enable-prettylog or --disable-prettylog was given. -if test "${enable_prettylog+set}" = set; then - enableval="$enable_prettylog" - if test "$enableval" != "no"; then - CFLAGS="$CFLAGS -D__PRETTY_LOG_" - CPPFLAGS="$CFLAGS" - fi - -fi; - -# Check whether --enable-ssl or --disable-ssl was given. -if test "${enable_ssl+set}" = set; then - enableval="$enable_ssl" - if test "$enableval" = "no"; then - use_ssl=""; - ssl=""; - objs='$(NO_SSL_OBJS)'; - hdrs='includes/nossl/*.h'; - fi - -fi; - -# Check for header files. - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include - Syntax error -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - : -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether non-existent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - # Broken: success on invalid input. -continue -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - break -fi - - done - ac_cv_prog_CPP=$CPP - -fi - CPP=$ac_cv_prog_CPP -else - ac_cv_prog_CPP=$CPP -fi -echo "$as_me:$LINENO: result: $CPP" >&5 -echo "${ECHO_T}$CPP" >&6 -ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include - Syntax error -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - : -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether non-existent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - # Broken: success on invalid input. -continue -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - : -else - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} - { (exit 1); exit 1; }; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -echo "$as_me:$LINENO: checking for ANSI C header files" >&5 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 -if test "${ac_cv_header_stdc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -#include -#include -#include - -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_cv_header_stdc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_cv_header_stdc=no -fi -rm -f conftest.err conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "memchr" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "free" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then - : -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - exit(2); - exit (0); -} -_ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - : -else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -( exit $ac_status ) -ac_cv_header_stdc=no -fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi -fi -fi -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 -echo "${ECHO_T}$ac_cv_header_stdc" >&6 -if test $ac_cv_header_stdc = yes; then - -cat >>confdefs.h <<\_ACEOF -#define STDC_HEADERS 1 -_ACEOF - -fi - -# On IRIX 5.3, sys/types and inttypes.h are conflicting. - - - - - - - - - -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 -if eval "test \"\${$as_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default - -#include <$ac_header> -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_Header=yes" -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -eval "$as_ac_Header=no" -fi -rm -f conftest.$ac_objext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -if test "${ac_cv_header_arpa_inet_h+set}" = set; then - echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 -echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 -if test "${ac_cv_header_arpa_inet_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 -echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 -echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 -echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 -echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 -if test "${ac_cv_header_arpa_inet_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_arpa_inet_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 -echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 - -fi -if test $ac_cv_header_arpa_inet_h = yes; then - : -else - echo -e "\n*** cannot find arpa/inet.h ***\n"; exit -fi - - -if test "${ac_cv_header_errno_h+set}" = set; then - echo "$as_me:$LINENO: checking for errno.h" >&5 -echo $ECHO_N "checking for errno.h... $ECHO_C" >&6 -if test "${ac_cv_header_errno_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 -echo "${ECHO_T}$ac_cv_header_errno_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking errno.h usability" >&5 -echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking errno.h presence" >&5 -echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: errno.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: errno.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for errno.h" >&5 -echo $ECHO_N "checking for errno.h... $ECHO_C" >&6 -if test "${ac_cv_header_errno_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_errno_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 -echo "${ECHO_T}$ac_cv_header_errno_h" >&6 - -fi -if test $ac_cv_header_errno_h = yes; then - : -else - echo -e "\n*** cannot find errno.h ***\n"; exit -fi - - -if test "${ac_cv_header_libintl_h+set}" = set; then - echo "$as_me:$LINENO: checking for libintl.h" >&5 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 -if test "${ac_cv_header_libintl_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking libintl.h usability" >&5 -echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking libintl.h presence" >&5 -echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for libintl.h" >&5 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 -if test "${ac_cv_header_libintl_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_libintl_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 - -fi -if test $ac_cv_header_libintl_h = yes; then - : -else - echo -e "\n*** cannot find libintl.h ***\n"; exit -fi - - -if test "${ac_cv_header_locale_h+set}" = set; then - echo "$as_me:$LINENO: checking for locale.h" >&5 -echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 -if test "${ac_cv_header_locale_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 -echo "${ECHO_T}$ac_cv_header_locale_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking locale.h usability" >&5 -echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking locale.h presence" >&5 -echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for locale.h" >&5 -echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 -if test "${ac_cv_header_locale_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_locale_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 -echo "${ECHO_T}$ac_cv_header_locale_h" >&6 - -fi -if test $ac_cv_header_locale_h = yes; then - : -else - echo -e "\n*** cannot find locale.h ***\n"; exit -fi - - -if test "${ac_cv_header_netdb_h+set}" = set; then - echo "$as_me:$LINENO: checking for netdb.h" >&5 -echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6 -if test "${ac_cv_header_netdb_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 -echo "${ECHO_T}$ac_cv_header_netdb_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking netdb.h usability" >&5 -echo $ECHO_N "checking netdb.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking netdb.h presence" >&5 -echo $ECHO_N "checking netdb.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: netdb.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: netdb.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for netdb.h" >&5 -echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6 -if test "${ac_cv_header_netdb_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_netdb_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 -echo "${ECHO_T}$ac_cv_header_netdb_h" >&6 - -fi -if test $ac_cv_header_netdb_h = yes; then - : -else - echo -e "\n*** cannot find netdb.h ***\n"; exit -fi - - -if test "${ac_cv_header_netinet_in_h+set}" = set; then - echo "$as_me:$LINENO: checking for netinet/in.h" >&5 -echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 -if test "${ac_cv_header_netinet_in_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 -echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 -echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 -echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for netinet/in.h" >&5 -echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 -if test "${ac_cv_header_netinet_in_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_netinet_in_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 -echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 - -fi -if test $ac_cv_header_netinet_in_h = yes; then - : -else - echo -e "\n*** cannot find netinet/in.h ***\n"; exit -fi - - -if test "${ac_cv_header_stdio_h+set}" = set; then - echo "$as_me:$LINENO: checking for stdio.h" >&5 -echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6 -if test "${ac_cv_header_stdio_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 -echo "${ECHO_T}$ac_cv_header_stdio_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking stdio.h usability" >&5 -echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking stdio.h presence" >&5 -echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: stdio.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: stdio.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for stdio.h" >&5 -echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6 -if test "${ac_cv_header_stdio_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_stdio_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 -echo "${ECHO_T}$ac_cv_header_stdio_h" >&6 - -fi -if test $ac_cv_header_stdio_h = yes; then - : -else - echo -e "\n*** cannot find stdio.h ***\n"; exit -fi - - -if test "${ac_cv_header_stdlib_h+set}" = set; then - echo "$as_me:$LINENO: checking for stdlib.h" >&5 -echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6 -if test "${ac_cv_header_stdlib_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 -echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking stdlib.h usability" >&5 -echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking stdlib.h presence" >&5 -echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: stdlib.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: stdlib.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for stdlib.h" >&5 -echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6 -if test "${ac_cv_header_stdlib_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_stdlib_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 -echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6 - -fi -if test $ac_cv_header_stdlib_h = yes; then - : -else - echo -e "\n*** cannot find stdlib.h ***\n"; exit -fi - - -if test "${ac_cv_header_string_h+set}" = set; then - echo "$as_me:$LINENO: checking for string.h" >&5 -echo $ECHO_N "checking for string.h... $ECHO_C" >&6 -if test "${ac_cv_header_string_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 -echo "${ECHO_T}$ac_cv_header_string_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking string.h usability" >&5 -echo $ECHO_N "checking string.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking string.h presence" >&5 -echo $ECHO_N "checking string.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: string.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: string.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for string.h" >&5 -echo $ECHO_N "checking for string.h... $ECHO_C" >&6 -if test "${ac_cv_header_string_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_string_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 -echo "${ECHO_T}$ac_cv_header_string_h" >&6 - -fi -if test $ac_cv_header_string_h = yes; then - : -else - echo -e "\n*** cannot find string.h ***\n"; exit -fi - - -if test "${ac_cv_header_strings_h+set}" = set; then - echo "$as_me:$LINENO: checking for strings.h" >&5 -echo $ECHO_N "checking for strings.h... $ECHO_C" >&6 -if test "${ac_cv_header_strings_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5 -echo "${ECHO_T}$ac_cv_header_strings_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking strings.h usability" >&5 -echo $ECHO_N "checking strings.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking strings.h presence" >&5 -echo $ECHO_N "checking strings.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: strings.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: strings.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: strings.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: strings.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: strings.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: strings.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: strings.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: strings.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: strings.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: strings.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for strings.h" >&5 -echo $ECHO_N "checking for strings.h... $ECHO_C" >&6 -if test "${ac_cv_header_strings_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_strings_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5 -echo "${ECHO_T}$ac_cv_header_strings_h" >&6 - -fi -if test $ac_cv_header_strings_h = yes; then - : -else - echo -e "\n*** cannot find strings.h ***\n"; exit -fi - - -if test "${ac_cv_header_sys_socket_h+set}" = set; then - echo "$as_me:$LINENO: checking for sys/socket.h" >&5 -echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6 -if test "${ac_cv_header_sys_socket_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 -echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking sys/socket.h usability" >&5 -echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking sys/socket.h presence" >&5 -echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: sys/socket.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: sys/socket.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for sys/socket.h" >&5 -echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6 -if test "${ac_cv_header_sys_socket_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_sys_socket_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 -echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6 - -fi -if test $ac_cv_header_sys_socket_h = yes; then - : -else - echo -e "\n*** cannot find sys/socket.h ***\n"; exit -fi - - -if test "${ac_cv_header_sys_time_h+set}" = set; then - echo "$as_me:$LINENO: checking for sys/time.h" >&5 -echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6 -if test "${ac_cv_header_sys_time_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 -echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking sys/time.h usability" >&5 -echo $ECHO_N "checking sys/time.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking sys/time.h presence" >&5 -echo $ECHO_N "checking sys/time.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: sys/time.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: sys/time.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for sys/time.h" >&5 -echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6 -if test "${ac_cv_header_sys_time_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_sys_time_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 -echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6 - -fi -if test $ac_cv_header_sys_time_h = yes; then - : -else - echo -e "\n*** cannot find sys/time.h ***\n"; exit -fi - - -if test "${ac_cv_header_unistd_h+set}" = set; then - echo "$as_me:$LINENO: checking for unistd.h" >&5 -echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6 -if test "${ac_cv_header_unistd_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 -echo "${ECHO_T}$ac_cv_header_unistd_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking unistd.h usability" >&5 -echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking unistd.h presence" >&5 -echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: unistd.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: unistd.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for unistd.h" >&5 -echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6 -if test "${ac_cv_header_unistd_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_unistd_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 -echo "${ECHO_T}$ac_cv_header_unistd_h" >&6 - -fi -if test $ac_cv_header_unistd_h = yes; then - : -else - echo -e "\n*** cannot find unistd.h ***\n"; exit -fi - - -if test -n "$use_ssl"; then - if test "${ac_cv_header_openssl_sha_h+set}" = set; then - echo "$as_me:$LINENO: checking for openssl/sha.h" >&5 -echo $ECHO_N "checking for openssl/sha.h... $ECHO_C" >&6 -if test "${ac_cv_header_openssl_sha_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_openssl_sha_h" >&5 -echo "${ECHO_T}$ac_cv_header_openssl_sha_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking openssl/sha.h usability" >&5 -echo $ECHO_N "checking openssl/sha.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking openssl/sha.h presence" >&5 -echo $ECHO_N "checking openssl/sha.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: openssl/sha.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: openssl/sha.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: openssl/sha.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: openssl/sha.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: openssl/sha.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: openssl/sha.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: openssl/sha.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: openssl/sha.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: openssl/sha.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: openssl/sha.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for openssl/sha.h" >&5 -echo $ECHO_N "checking for openssl/sha.h... $ECHO_C" >&6 -if test "${ac_cv_header_openssl_sha_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_openssl_sha_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_openssl_sha_h" >&5 -echo "${ECHO_T}$ac_cv_header_openssl_sha_h" >&6 - -fi -if test $ac_cv_header_openssl_sha_h = yes; then - : -else - use_ssl="" -fi - - -fi -if test -n "$use_ssl"; then - if test "${ac_cv_header_openssl_md5_h+set}" = set; then - echo "$as_me:$LINENO: checking for openssl/md5.h" >&5 -echo $ECHO_N "checking for openssl/md5.h... $ECHO_C" >&6 -if test "${ac_cv_header_openssl_md5_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_openssl_md5_h" >&5 -echo "${ECHO_T}$ac_cv_header_openssl_md5_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking openssl/md5.h usability" >&5 -echo $ECHO_N "checking openssl/md5.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking openssl/md5.h presence" >&5 -echo $ECHO_N "checking openssl/md5.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: openssl/md5.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: openssl/md5.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: openssl/md5.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: openssl/md5.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: openssl/md5.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: openssl/md5.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: openssl/md5.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: openssl/md5.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: openssl/md5.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: openssl/md5.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for openssl/md5.h" >&5 -echo $ECHO_N "checking for openssl/md5.h... $ECHO_C" >&6 -if test "${ac_cv_header_openssl_md5_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_openssl_md5_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_openssl_md5_h" >&5 -echo "${ECHO_T}$ac_cv_header_openssl_md5_h" >&6 - -fi -if test $ac_cv_header_openssl_md5_h = yes; then - : -else - use_ssl="" -fi - - -fi -if test -n "$use_ssl"; then - if test "${ac_cv_header_openssl_hmac_h+set}" = set; then - echo "$as_me:$LINENO: checking for openssl/hmac.h" >&5 -echo $ECHO_N "checking for openssl/hmac.h... $ECHO_C" >&6 -if test "${ac_cv_header_openssl_hmac_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: $ac_cv_header_openssl_hmac_h" >&5 -echo "${ECHO_T}$ac_cv_header_openssl_hmac_h" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking openssl/hmac.h usability" >&5 -echo $ECHO_N "checking openssl/hmac.h usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking openssl/hmac.h presence" >&5 -echo $ECHO_N "checking openssl/hmac.h presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: openssl/hmac.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: openssl/hmac.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: openssl/hmac.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: openssl/hmac.h: proceeding with the preprocessor's result" >&2;};; - no:yes ) - { echo "$as_me:$LINENO: WARNING: openssl/hmac.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: openssl/hmac.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: openssl/hmac.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: openssl/hmac.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: openssl/hmac.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: openssl/hmac.h: proceeding with the preprocessor's result" >&2;};; -esac -echo "$as_me:$LINENO: checking for openssl/hmac.h" >&5 -echo $ECHO_N "checking for openssl/hmac.h... $ECHO_C" >&6 -if test "${ac_cv_header_openssl_hmac_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_openssl_hmac_h=$ac_header_preproc -fi -echo "$as_me:$LINENO: result: $ac_cv_header_openssl_hmac_h" >&5 -echo "${ECHO_T}$ac_cv_header_openssl_hmac_h" >&6 - -fi -if test $ac_cv_header_openssl_hmac_h = yes; then - : -else - use_ssl="" -fi - - -fi - -echo "$as_me:$LINENO: checking for gettext" >&5 -echo $ECHO_N "checking for gettext... $ECHO_C" >&6 -if test "${ac_cv_func_gettext+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char gettext (); below. */ -#include -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char gettext (); -char (*f) (); - -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_gettext) || defined (__stub___gettext) -choke me -#else -f = gettext; -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_func_gettext=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_func_gettext=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: $ac_cv_func_gettext" >&5 -echo "${ECHO_T}$ac_cv_func_gettext" >&6 -if test $ac_cv_func_gettext = yes; then - : -else - -echo "$as_me:$LINENO: checking for gettext in -lintl" >&5 -echo $ECHO_N "checking for gettext in -lintl... $ECHO_C" >&6 -if test "${ac_cv_lib_intl_gettext+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lintl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char gettext (); -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -gettext (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_intl_gettext=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_lib_intl_gettext=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_lib_intl_gettext" >&5 -echo "${ECHO_T}$ac_cv_lib_intl_gettext" >&6 -if test $ac_cv_lib_intl_gettext = yes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBINTL 1 -_ACEOF - - LIBS="-lintl $LIBS" - -else - echo -e "\n*** You need to get libintl ***\n";exit - -fi - - -fi - - -echo "$as_me:$LINENO: checking for socket" >&5 -echo $ECHO_N "checking for socket... $ECHO_C" >&6 -if test "${ac_cv_func_socket+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char socket (); below. */ -#include -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char socket (); -char (*f) (); - -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_socket) || defined (__stub___socket) -choke me -#else -f = socket; -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_func_socket=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_func_socket=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 -echo "${ECHO_T}$ac_cv_func_socket" >&6 -if test $ac_cv_func_socket = yes; then - : -else - -echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 -echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 -if test "${ac_cv_lib_socket_socket+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lsocket $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char socket (); -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -socket (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_socket_socket=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_lib_socket_socket=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 -echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 -if test $ac_cv_lib_socket_socket = yes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBSOCKET 1 -_ACEOF - - LIBS="-lsocket $LIBS" - -else - echo -e "\n*** You need to get libsocket ***\n";exit - -fi - - -fi - - -echo "$as_me:$LINENO: checking for gethostbyname" >&5 -echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 -if test "${ac_cv_func_gethostbyname+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char gethostbyname (); below. */ -#include -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char gethostbyname (); -char (*f) (); - -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) -choke me -#else -f = gethostbyname; -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_func_gethostbyname=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_func_gethostbyname=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 -echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 -if test $ac_cv_func_gethostbyname = yes; then - : -else - -echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 -echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 -if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lnsl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char gethostbyname (); -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -gethostbyname (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_nsl_gethostbyname=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_lib_nsl_gethostbyname=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 -echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 -if test $ac_cv_lib_nsl_gethostbyname = yes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBNSL 1 -_ACEOF - - LIBS="-lnsl $LIBS" - -else - echo -e "\n*** You need to get libnsl ***\n";exit - -fi - - -fi - - -# we do not need -ldl on MacOS -case $(./config.guess) in - *-*-darwin*) - break - ;; - *) - echo "$as_me:$LINENO: checking for dlopen" >&5 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 -if test "${ac_cv_func_dlopen+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char dlopen (); below. */ -#include -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char dlopen (); -char (*f) (); - -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_dlopen) || defined (__stub___dlopen) -choke me -#else -f = dlopen; -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_func_dlopen=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_func_dlopen=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6 -if test $ac_cv_func_dlopen = yes; then - : -else - -echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char dlopen (); -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -dlopen (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_dl_dlopen=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_lib_dl_dlopen=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 -if test $ac_cv_lib_dl_dlopen = yes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBDL 1 -_ACEOF - - LIBS="-ldl $LIBS" - -else - echo -e "\n*** You need to get libdl(compat) ***\n";exit - -fi - - -fi - - ;; -esac - -if test -n "$use_ssl"; then - echo "$as_me:$LINENO: checking for HMAC in -lssl" >&5 -echo $ECHO_N "checking for HMAC in -lssl... $ECHO_C" >&6 -if test "${ac_cv_lib_ssl_HMAC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lssl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char HMAC (); -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -HMAC (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_ssl_HMAC=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_lib_ssl_HMAC=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_HMAC" >&5 -echo "${ECHO_T}$ac_cv_lib_ssl_HMAC" >&6 -if test $ac_cv_lib_ssl_HMAC = yes; then - if test -n "$use_ssl"; then - LIBS="$LIBS -lssl"; - fi -else - echo "$as_me:$LINENO: checking for HMAC in -lcrypto" >&5 -echo $ECHO_N "checking for HMAC in -lcrypto... $ECHO_C" >&6 -if test "${ac_cv_lib_crypto_HMAC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lcrypto $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char HMAC (); -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -HMAC (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_crypto_HMAC=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_lib_crypto_HMAC=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_HMAC" >&5 -echo "${ECHO_T}$ac_cv_lib_crypto_HMAC" >&6 -if test $ac_cv_lib_crypto_HMAC = yes; then - if test -n "$use_ssl"; then - LIBS="$LIBS -lcrypto"; - fi; - echo "$as_me:$LINENO: checking for SSL_new in -lssl" >&5 -echo $ECHO_N "checking for SSL_new in -lssl... $ECHO_C" >&6 -if test "${ac_cv_lib_ssl_SSL_new+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lssl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char SSL_new (); -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -SSL_new (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_ssl_SSL_new=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_lib_ssl_SSL_new=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_new" >&5 -echo "${ECHO_T}$ac_cv_lib_ssl_SSL_new" >&6 -if test $ac_cv_lib_ssl_SSL_new = yes; then - if test -n "$use_ssl"; then - LIBS="$LIBS -lssl"; - fi -else - use_ssl=""; - -fi - -else - use_ssl=""; - -fi - - -fi - -fi - -# Checks for typedefs, structures, and compiler characteristics. -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 -if test "${ac_cv_prog_cc_stdc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_prog_cc_stdc=no -ac_save_CC=$CC -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -#include -#include -#include -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -# Don't try gcc -ansi; that turns off useful extensions and -# breaks some systems' header files. -# AIX -qlanglvl=ansi -# Ultrix and OSF/1 -std1 -# HP-UX 10.20 and later -Ae -# HP-UX older versions -Aa -D_HPUX_SOURCE -# SVR4 -Xc -D__EXTENSIONS__ -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_prog_cc_stdc=$ac_arg -break -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -fi -rm -f conftest.$ac_objext -done -rm -f conftest.$ac_ext conftest.$ac_objext -CC=$ac_save_CC - -fi - -case "x$ac_cv_prog_cc_stdc" in - x|xno) - echo "$as_me:$LINENO: result: none needed" >&5 -echo "${ECHO_T}none needed" >&6 ;; - *) - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 - CC="$CC $ac_cv_prog_cc_stdc" ;; -esac - -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 -if test "${ac_cv_c_const+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" - -#ifdef F77_DUMMY_MAIN -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } -#endif -int -main () -{ -/* FIXME: Include the comments suggested by Paul. */ -#ifndef __cplusplus - /* Ultrix mips cc rejects this. */ - typedef int charset[2]; - const charset x; - /* SunOS 4.1.1 cc rejects this. */ - char const *const *ccp; - char **p; - /* NEC SVR4.0.2 mips cc rejects this. */ - struct point {int x, y;}; - static struct point const zero = {0,0}; - /* AIX XL C 1.02.0.0 rejects this. - It does not let you subtract one const X* pointer from another in - an arm of an if-expression whose if-part is not a constant - expression */ - const char *g = "string"; - ccp = &g + (g ? g-g : 0); - /* HPUX 7.0 cc rejects these. */ - ++ccp; - p = (char**) ccp; - ccp = (char const *const *) p; - { /* SCO 3.2v4 cc rejects this. */ - char *t; - char const *s = 0 ? (char *) 0 : (char const *) 0; - - *t++ = 0; - } - { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ - int x[] = {25, 17}; - const int *foo = &x[0]; - ++foo; - } - { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ - typedef const int *iptr; - iptr p = 0; - ++p; - } - { /* AIX XL C 1.02.0.0 rejects this saying - "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ - struct s { int j; const int *ap[3]; }; - struct s *b; b->j = 5; - } - { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ - const int foo = 10; - } -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_c_const=yes -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_cv_c_const=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 -echo "${ECHO_T}$ac_cv_c_const" >&6 -if test $ac_cv_c_const = no; then - -cat >>confdefs.h <<\_ACEOF -#define const -_ACEOF - -fi - - -# Check for library functions. -echo "$as_me:$LINENO: checking for ANSI C header files" >&5 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 -if test "${ac_cv_header_stdc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -#include -#include -#include - -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_cv_header_stdc=yes -else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_cv_header_stdc=no -fi -rm -f conftest.err conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "memchr" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "free" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then - : -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -#include "confdefs.h" -#include -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - exit(2); - exit (0); -} -_ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - : -else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -( exit $ac_status ) -ac_cv_header_stdc=no -fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi -fi -fi -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 -echo "${ECHO_T}$ac_cv_header_stdc" >&6 -if test $ac_cv_header_stdc = yes; then - -cat >>confdefs.h <<\_ACEOF -#define STDC_HEADERS 1 -_ACEOF - -fi - - -# ssl support -if test -n "$use_ssl" -then - ssl="-D__USE_SSL_"; - objs='$(SSL_OBJS) $(NO_SSL_OBJS)'; - hdrs='includes/ssl/*.h'; -else - echo -e "\n*** SSL support is disabled ***\n"; - objs='$(NO_SSL_OBJS)'; - hdrs='includes/nossl/*.h'; -fi - -# set the compiler flags depending on the operating system -case $(./config.guess) in - *-*-freebsd*) - CFLAGS="$CFLAGS -fno-builtin-log -fPIC -Os -Wall" - CFLAGS="$CFLAGS -DPLUGINDIR=\\\"\$(libdir)/libsmtp--/plugins\\\"" - CFLAGS="$CFLAGS -DLOCALEDIR=\\\"\$(sharedir)/locale\\\"" - CFLAGS="$CFLAGS -DTEXTDOMAIN=\\\"libsmtp--\\\"" - - ldflags_plg="$LDFLAGS -s -shared -nostartfiles" - LDFLAGS="$LDFLAGS -s -shared -nostartfiles -Wl,-soname,libsmtp--.so.\$(LIBVER)" - - lib_nam="libsmtp--" - lib_ver_major="0" - lib_ver_minor="1" - lib_ver_release="0" - lib_ext="so" - - strip="strip --remove-section=.note --remove-section=.comment" - ;; - *-*-openbsd*) - CFLAGS="$CFLAGS -pedantic -fno-builtin-log -fPIC -Os -Wall" - CFLAGS="$CFLAGS -DPLUGINDIR=\\\"\$(libdir)/libsmtp--/plugins\\\"" - CFLAGS="$CFLAGS -DLOCALEDIR=\\\"\$(sharedir)/locale\\\"" - CFLAGS="$CFLAGS -DTEXTDOMAIN=\\\"libsmtp--\\\"" - - ldflags_plg="$LDFLAGS -s -shared -nostartfiles" - LDFLAGS="$LDFLAGS -s -shared -nostartfiles -Wl,-soname,libsmtp--.so.\$(LIBVER)" - - lib_nam="libsmtp--" - lib_ver_major="0" - lib_ver_minor="1" - lib_ver_release="0" - lib_ext="so" - - strip="strip --remove-section=.note --remove-section=.comment" - ;; - *-*-linux*) - CFLAGS="$CFLAGS -pedantic -fno-builtin-log -fPIC -Os -Wall" - CFLAGS="$CFLAGS -DPLUGINDIR=\\\"\$(libdir)/libsmtp--/plugins\\\"" - CFLAGS="$CFLAGS -DLOCALEDIR=\\\"\$(sharedir)/locale\\\"" - CFLAGS="$CFLAGS -DTEXTDOMAIN=\\\"libsmtp--\\\"" - - ldflags_plg="$LDFLAGS -s -shared -nostartfiles" - LDFLAGS="$LDFLAGS -s -shared -nostartfiles -Wl,-hlibsmtp--.so.\$(LIBVER)" - - lib_nam="libsmtp--" - lib_ver_major="0" - lib_ver_minor="1" - lib_ver_release="0" - lib_ext="so" - - strip="strip --remove-section=.note --remove-section=.comment" - ;; - *-*-solaris*) - CFLAGS="$CFLAGS -pedantic -fno-builtin-log -fPIC -Os -Wall" - CFLAGS="$CFLAGS -DPLUGINDIR=\\\"\$(libdir)/libsmtp--/plugins\\\"" - CFLAGS="$CFLAGS -DLOCALEDIR=\\\"\$(sharedir)/locale\\\"" - CFLAGS="$CFLAGS -DTEXTDOMAIN=\\\"libsmtp--\\\"" - - ldflags_plg="$LDFLAGS -s -shared -nostartfiles" - LDFLAGS="$LDFLAGS -s -shared -nostartfiles -Wl,-hlibsmtp--.so.\$(LIBVER)" - - lib_nam="libsmtp--" - lib_ver_major="0" - lib_ver_minor="1" - lib_ver_release="0" - lib_ext="so" - - strip="/usr/ccs/bin/strip -x" - ;; - *-*-darwin*) - CFLAGS="$CFLAGS -no-cpp-precomp -pedantic -fno-builtin-log -fPIC -Os -Wall" - CFLAGS="$CFLAGS -DPLUGINDIR=\\\"\$(libdir)/libsmtp--/plugins\\\"" - CFLAGS="$CFLAGS -DLOCALEDIR=\\\"\$(sharedir)/locale\\\"" - CFLAGS="$CFLAGS -DTEXTDOMAIN=\\\"libsmtp--\\\"" - CFLAGS="$CFLAGS -D__MACOS_" - - ldflags_plg="$LDFLAGS -L../ -Wl,-bundle,-x,-multiply_defined,suppress" - libs_plg="$LIBS -lsmtp--" - - # i cannot find any -fini switch on MacOS :-( - LDFLAGS="$LDFLAGS -dynamiclib -nostartfiles" - LDFLAGS="$LDFLAGS -Wl,-dynamic,-current_version,\$(LIBVER)," - LDFLAGS="$LDFLAGS-compatibility_version,\$(LIBCOMPAT)," - LDFLAGS="$LDFLAGS-install_name,\$(LIBNAM).\$(LIBEXT),-init,__init,-x" - - bldtyp_plg="-bundle" - bldtyp_lib="-dynamic" - - macos_dlfcn="dlfcn.o" - - lib_nam="libsmtp--" - lib_ver_major="0" - lib_ver_minor="1" - lib_ver_release="0" - lib_ext="dylib" - - strip="strip -x" - macosx_deployment_target='if test -z "$$MACOSX_DEPLOYMENT_TARGET"; then export MACOSX_DEPLOYMENT_TARGET="10.2"; fi; ' - ;; - *) - CFLAGS="$CFLAGS -pedantic -fno-builtin-log -fPIC -Os -Wall" - CFLAGS="$CFLAGS -DPLUGINDIR=\\\"\$(libdir)/libsmtp--/plugins\\\"" - CFLAGS="$CFLAGS -DLOCALEDIR=\\\"\$(sharedir)/locale\\\"" - CFLAGS="$CFLAGS -DTEXTDOMAIN=\\\"libsmtp--\\\"" - - ldflags_plg="$LDFLAGS -s -shared -nostartfiles" - LDFLAGS="$LDFLAGS -s -shared -nostartfiles -Wl,-hlibsmtp--.so.\$(LIBVER)" - - lib_nam="libsmtp--" - lib_ver_major="0" - lib_ver_minor="1" - lib_ver_release="0" - lib_ext="so" - - strip="strip --remove-section=.note --remove-section=.comment" - ;; -esac - - - - - - - - - - - - - - - - - -ac_config_files="$ac_config_files Makefile src/Makefile src/plugins/Makefile" - - -cat >confcache <<\_ACEOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overriden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF - -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, don't put newlines in cache variables' values. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -{ - (set) 2>&1 | - case `(ac_space=' '; set | grep ac_space) 2>&1` in - *ac_space=\ *) - # `set' does not quote correctly, so add quotes (double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \). - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n \ - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" - ;; - esac; -} | - sed ' - t clear - : clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ - t end - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ - : end' >>confcache -if cmp -s $cache_file confcache; then :; else - if test -w $cache_file; then - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" - cat confcache >$cache_file - else - echo "not updating unwritable cache $cache_file" - fi -fi -rm -f confcache - -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - -# VPATH may cause trouble with some makes, so we remove $(srcdir), -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and -# trailing colons and then remove the whole line if VPATH becomes empty -# (actually we leave an empty line to preserve line numbers). -if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=/{ -s/:*\$(srcdir):*/:/; -s/:*\${srcdir}:*/:/; -s/:*@srcdir@:*/:/; -s/^\([^=]*=[ ]*\):*/\1/; -s/:*$//; -s/^[^=]*=[ ]*$//; -}' -fi - -# Transform confdefs.h into DEFS. -# Protect against shell expansion while executing Makefile rules. -# Protect against Makefile macro expansion. -# -# If the first sed substitution is executed (which looks for macros that -# take arguments), then we branch to the quote section. Otherwise, -# look for a macro that doesn't take arguments. -cat >confdef2opt.sed <<\_ACEOF -t clear -: clear -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g -t quote -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g -t quote -d -: quote -s,[ `~#$^&*(){}\\|;'"<>?],\\&,g -s,\[,\\&,g -s,\],\\&,g -s,\$,$$,g -p -_ACEOF -# We use echo to avoid assuming a particular line-breaking character. -# The extra dot is to prevent the shell from consuming trailing -# line-breaks from the sub-command output. A line-break within -# single-quotes doesn't work because, if this script is created in a -# platform that uses two characters for line-breaks (e.g., DOS), tr -# would break. -ac_LF_and_DOT=`echo; echo .` -DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` -rm -f confdef2opt.sed - - - -: ${CONFIG_STATUS=./config.status} -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 -echo "$as_me: creating $CONFIG_STATUS" >&6;} -cat >$CONFIG_STATUS <<_ACEOF -#! $SHELL -# Generated by $as_me. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -debug=false -SHELL=\${CONFIG_SHELL-$SHELL} -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF - -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## - -# Be Bourne compatible -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then - set -o posix -fi - -# NLS nuisances. -# Support unset when possible. -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - -(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && - { $as_unset LANG || test "${LANG+set}" != set; } || - { LANG=C; export LANG; } -(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && - { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || - { LC_ALL=C; export LC_ALL; } -(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && - { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || - { LC_TIME=C; export LC_TIME; } -(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && - { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || - { LC_CTYPE=C; export LC_CTYPE; } -(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && - { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || - { LANGUAGE=C; export LANGUAGE; } -(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && - { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || - { LC_COLLATE=C; export LC_COLLATE; } -(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && - { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || - { LC_NUMERIC=C; export LC_NUMERIC; } -(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && - { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || - { LC_MESSAGES=C; export LC_MESSAGES; } - - -# Name of the executable. -as_me=`(basename "$0") 2>/dev/null || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)$' \| \ - . : '\(.\)' 2>/dev/null || -echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } - /^X\/\(\/\/\)$/{ s//\1/; q; } - /^X\/\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` - -# PATH needs CR, and LINENO needs CR and PATH. -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conftest.sh - echo "exit 0" >>conftest.sh - chmod +x conftest.sh - if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conftest.sh -fi - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x$as_lineno_3" = "x$as_lineno_2" || { - # Find who we are. Look in the path if we contain no path at all - # relative or not. - case $0 in - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done - - ;; - esac - # We did not find ourselves, most probably we were run as `sh COMMAND' - # in which case we are not to be found in the path. - if test "x$as_myself" = x; then - as_myself=$0 - fi - if test ! -f "$as_myself"; then - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} - { (exit 1); exit 1; }; } - fi - case $CONFIG_SHELL in - '') - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for as_base in sh bash ksh sh5; do - case $as_dir in - /*) - if ("$as_dir/$as_base" -c ' - as_lineno_1=$LINENO - as_lineno_2=$LINENO - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then - CONFIG_SHELL=$as_dir/$as_base - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$0" ${1+"$@"} - fi;; - esac - done -done -;; - esac - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line before each line; the second 'sed' does the real - # work. The second script uses 'N' to pair each line-number line - # with the numbered line, and appends trailing '-' during - # substitution so that $LINENO is not a special case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) - sed '=' <$as_myself | - sed ' - N - s,$,-, - : loop - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, - t loop - s,-$,, - s,^['$as_cr_digits']*\n,, - ' >$as_me.lineno && - chmod +x $as_me.lineno || - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensible to this). - . ./$as_me.lineno - # Exit status is that of the last command. - exit -} - - -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in - *c*,-n*) ECHO_N= ECHO_C=' -' ECHO_T=' ' ;; - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; - *) ECHO_N= ECHO_C='\c' ECHO_T= ;; -esac - -if expr a : '\(a\)' >/dev/null 2>&1; then - as_expr=expr -else - as_expr=false -fi - -rm -f conf$$ conf$$.exe conf$$.file -echo >conf$$.file -if ln -s conf$$.file conf$$ 2>/dev/null; then - # We could just check for DJGPP; but this test a) works b) is more generic - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). - if test -f conf$$.exe; then - # Don't use ln at all; we don't have any links - as_ln_s='cp -p' - else - as_ln_s='ln -s' - fi -elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.file - -as_executable_p="test -f" - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" - - -# IFS -# We need space, tab and new line, in precisely that order. -as_nl=' -' -IFS=" $as_nl" - -# CDPATH. -$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } - -exec 6>&1 - -# Open the log real soon, to keep \$[0] and so on meaningful, and to -# report actual input values of CONFIG_FILES etc. instead of their -# values after options handling. Logging --version etc. is OK. -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX -## Running $as_me. ## -_ASBOX -} >&5 -cat >&5 <<_CSEOF - -This file was extended by libsmtp-- $as_me 0.1, which was -generated by GNU Autoconf 2.53. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ - -_CSEOF -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 -echo >&5 -_ACEOF - -# Files that config.status was made for. -if test -n "$ac_config_files"; then - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS -fi - -if test -n "$ac_config_headers"; then - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS -fi - -if test -n "$ac_config_links"; then - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS -fi - -if test -n "$ac_config_commands"; then - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS -fi - -cat >>$CONFIG_STATUS <<\_ACEOF - -ac_cs_usage="\ -\`$as_me' instantiates files from templates according to the -current configuration. - -Usage: $0 [OPTIONS] [FILE]... - - -h, --help print this help, then exit - -V, --version print version number, then exit - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - -Configuration files: -$config_files - -Report bugs to ." -_ACEOF - -cat >>$CONFIG_STATUS <<_ACEOF -ac_cs_version="\\ -libsmtp-- config.status 0.1 -configured by $0, generated by GNU Autoconf 2.53, - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" - -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 -Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." -srcdir=$srcdir -INSTALL="$INSTALL" -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF -# If no file are specified by the user, then we need to provide default -# value. By we need to know if files were specified by the user. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=*) - ac_option=`expr "x$1" : 'x\([^=]*\)='` - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` - shift - set dummy "$ac_option" "$ac_optarg" ${1+"$@"} - shift - ;; - -*);; - *) # This is not an option, so the user has probably given explicit - # arguments. - ac_need_defaults=false;; - esac - - case $1 in - # Handling of the options. -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" - exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF - --version | --vers* | -V ) - echo "$ac_cs_version"; exit 0 ;; - --he | --h) - # Conflict between --help and --header - { { echo "$as_me:$LINENO: error: ambiguous option: $1 -Try \`$0 --help' for more information." >&5 -echo "$as_me: error: ambiguous option: $1 -Try \`$0 --help' for more information." >&2;} - { (exit 1); exit 1; }; };; - --help | --hel | -h ) - echo "$ac_cs_usage"; exit 0 ;; - --debug | --d* | -d ) - debug=: ;; - --file | --fil | --fi | --f ) - shift - CONFIG_FILES="$CONFIG_FILES $1" - ac_need_defaults=false;; - --header | --heade | --head | --hea ) - shift - CONFIG_HEADERS="$CONFIG_HEADERS $1" - ac_need_defaults=false;; - - # This is an error. - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 -Try \`$0 --help' for more information." >&5 -echo "$as_me: error: unrecognized option: $1 -Try \`$0 --help' for more information." >&2;} - { (exit 1); exit 1; }; } ;; - - *) ac_config_targets="$ac_config_targets $1" ;; - - esac - shift -done - -_ACEOF - - - - - -cat >>$CONFIG_STATUS <<\_ACEOF -for ac_config_target in $ac_config_targets -do - case "$ac_config_target" in - # Handling of arguments. - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; - "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; - "src/plugins/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;; - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;} - { (exit 1); exit 1; }; };; - esac -done - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files -fi - -# Create a temporary directory, and hook for its removal unless debugging. -$debug || -{ - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 - trap '{ (exit 1); exit 1; }' 1 2 13 15 -} - -# Create a (secure) tmp directory for tmp files. -: ${TMPDIR=/tmp} -{ - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=$TMPDIR/cs$$-$RANDOM - (umask 077 && mkdir $tmp) -} || -{ - echo "$me: cannot create a temporary directory in $TMPDIR" >&2 - { (exit 1); exit 1; } -} - -_ACEOF - -cat >>$CONFIG_STATUS <<_ACEOF - -# -# CONFIG_FILES section. -# - -# No need to generate the scripts if there are no CONFIG_FILES. -# This happens for instance when ./config.status config.h -if test -n "\$CONFIG_FILES"; then - # Protect against being on the right side of a sed subst in config.status. - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF -s,@SHELL@,$SHELL,;t t -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t -s,@exec_prefix@,$exec_prefix,;t t -s,@prefix@,$prefix,;t t -s,@program_transform_name@,$program_transform_name,;t t -s,@bindir@,$bindir,;t t -s,@sbindir@,$sbindir,;t t -s,@libexecdir@,$libexecdir,;t t -s,@datadir@,$datadir,;t t -s,@sysconfdir@,$sysconfdir,;t t -s,@sharedstatedir@,$sharedstatedir,;t t -s,@localstatedir@,$localstatedir,;t t -s,@libdir@,$libdir,;t t -s,@includedir@,$includedir,;t t -s,@oldincludedir@,$oldincludedir,;t t -s,@infodir@,$infodir,;t t -s,@mandir@,$mandir,;t t -s,@build_alias@,$build_alias,;t t -s,@host_alias@,$host_alias,;t t -s,@target_alias@,$target_alias,;t t -s,@DEFS@,$DEFS,;t t -s,@ECHO_C@,$ECHO_C,;t t -s,@ECHO_N@,$ECHO_N,;t t -s,@ECHO_T@,$ECHO_T,;t t -s,@LIBS@,$LIBS,;t t -s,@CC@,$CC,;t t -s,@CFLAGS@,$CFLAGS,;t t -s,@LDFLAGS@,$LDFLAGS,;t t -s,@CPPFLAGS@,$CPPFLAGS,;t t -s,@ac_ct_CC@,$ac_ct_CC,;t t -s,@EXEEXT@,$EXEEXT,;t t -s,@OBJEXT@,$OBJEXT,;t t -s,@SET_MAKE@,$SET_MAKE,;t t -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t -s,@INSTALL_DATA@,$INSTALL_DATA,;t t -s,@CPP@,$CPP,;t t -s,@objs@,$objs,;t t -s,@hdrs@,$hdrs,;t t -s,@ssl@,$ssl,;t t -s,@lib_nam@,$lib_nam,;t t -s,@lib_ver_major@,$lib_ver_major,;t t -s,@lib_ver_minor@,$lib_ver_minor,;t t -s,@lib_ver_release@,$lib_ver_release,;t t -s,@lib_ext@,$lib_ext,;t t -s,@macos_dlfcn@,$macos_dlfcn,;t t -s,@ldflags_plg@,$ldflags_plg,;t t -s,@bldtyp_lib@,$bldtyp_lib,;t t -s,@bldtyp_plg@,$bldtyp_plg,;t t -s,@libs_plg@,$libs_plg,;t t -s,@strip@,$strip,;t t -s,@macosx_deployment_target@,$macosx_deployment_target,;t t -CEOF - -_ACEOF - - cat >>$CONFIG_STATUS <<\_ACEOF - # Split the substitutions into bite-sized pieces for seds with - # small command number limits, like on Digital OSF/1 and HP-UX. - ac_max_sed_lines=48 - ac_sed_frag=1 # Number of current file. - ac_beg=1 # First line for current file. - ac_end=$ac_max_sed_lines # Line after last line for current file. - ac_more_lines=: - ac_sed_cmds= - while $ac_more_lines; do - if test $ac_beg -gt 1; then - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag - else - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag - fi - if test ! -s $tmp/subs.frag; then - ac_more_lines=false - else - # The purpose of the label and of the branching condition is to - # speed up the sed processing (if there are no `@' at all, there - # is no need to browse any of the substitutions). - # These are the two extra sed commands mentioned above. - (echo ':t - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed - if test -z "$ac_sed_cmds"; then - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" - else - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" - fi - ac_sed_frag=`expr $ac_sed_frag + 1` - ac_beg=$ac_end - ac_end=`expr $ac_end + $ac_max_sed_lines` - fi - done - if test -z "$ac_sed_cmds"; then - ac_sed_cmds=cat - fi -fi # test -n "$CONFIG_FILES" - -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". - case $ac_file in - - | *:- | *:-:* ) # input from stdin - cat >$tmp/stdin - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; - * ) ac_file_in=$ac_file.in ;; - esac - - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. - ac_dir=`(dirname "$ac_file") 2>/dev/null || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| \ - . : '\(.\)' 2>/dev/null || -echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } - /^X\(\/\/\)[^/].*/{ s//\1/; q; } - /^X\(\/\/\)$/{ s//\1/; q; } - /^X\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` - { case "$ac_dir" in - [\\/]* | ?:[\\/]* ) as_incr_dir=;; - *) as_incr_dir=.;; -esac -as_dummy="$ac_dir" -for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do - case $as_mkdir_dir in - # Skip DOS drivespec - ?:) as_incr_dir=$as_mkdir_dir ;; - *) - as_incr_dir=$as_incr_dir/$as_mkdir_dir - test -d "$as_incr_dir" || - mkdir "$as_incr_dir" || - { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 -echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} - { (exit 1); exit 1; }; } - ;; - esac -done; } - - ac_builddir=. - -if test "$ac_dir" != .; then - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` - # A "../" for each directory in $ac_dir_suffix. - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` -else - ac_dir_suffix= ac_top_builddir= -fi - -case $srcdir in - .) # No --srcdir option. We are building in place. - ac_srcdir=. - if test -z "$ac_top_builddir"; then - ac_top_srcdir=. - else - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` - fi ;; - [\\/]* | ?:[\\/]* ) # Absolute path. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir ;; - *) # Relative path. - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_builddir$srcdir ;; -esac -# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be -# absolute. -ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` -ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` -ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` - - - case $INSTALL in - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; - *) ac_INSTALL=$ac_top_builddir$INSTALL ;; - esac - - if test x"$ac_file" != x-; then - { echo "$as_me:$LINENO: creating $ac_file" >&5 -echo "$as_me: creating $ac_file" >&6;} - rm -f "$ac_file" - fi - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - if test x"$ac_file" = x-; then - configure_input= - else - configure_input="$ac_file. " - fi - configure_input=$configure_input"Generated from `echo $ac_file_in | - sed 's,.*/,,'` by configure." - - # First look for the input files in the build tree, otherwise in the - # src tree. - ac_file_inputs=`IFS=: - for f in $ac_file_in; do - case $f in - -) echo $tmp/stdin ;; - [\\/$]*) - # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 -echo "$as_me: error: cannot find input file: $f" >&2;} - { (exit 1); exit 1; }; } - echo $f;; - *) # Relative - if test -f "$f"; then - # Build tree - echo $f - elif test -f "$srcdir/$f"; then - # Source tree - echo $srcdir/$f - else - # /dev/null tree - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 -echo "$as_me: error: cannot find input file: $f" >&2;} - { (exit 1); exit 1; }; } - fi;; - esac - done` || { (exit 1); exit 1; } -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF - sed "$ac_vpsub -$extrasub -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s,@configure_input@,$configure_input,;t t -s,@srcdir@,$ac_srcdir,;t t -s,@abs_srcdir@,$ac_abs_srcdir,;t t -s,@top_srcdir@,$ac_top_srcdir,;t t -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t -s,@builddir@,$ac_builddir,;t t -s,@abs_builddir@,$ac_abs_builddir,;t t -s,@top_builddir@,$ac_top_builddir,;t t -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t -s,@INSTALL@,$ac_INSTALL,;t t -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out - rm -f $tmp/stdin - if test x"$ac_file" != x-; then - mv $tmp/out $ac_file - else - cat $tmp/out - rm -f $tmp/out - fi - -done -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF - -{ (exit 0); exit 0; } -_ACEOF -chmod +x $CONFIG_STATUS -ac_clean_files=$ac_clean_files_save - - -# configure is writing to config.log, and then calls config.status. -# config.status does its own redirection, appending to config.log. -# Unfortunately, on DOS this fails, as config.log is still kept open -# by configure, so config.status won't be able to write to it; its -# output is simply discarded. So we exec the FD to /dev/null, -# effectively closing config.log, so it can be properly (re)opened and -# appended to by config.status. When coming back to configure, we -# need to make the FD available again. -if test "$no_create" != yes; then - ac_cs_success=: - exec 5>/dev/null - $SHELL $CONFIG_STATUS || ac_cs_success=false - exec 5>>config.log - # Use ||, not &&, to avoid exiting from the if with $? = 1, which - # would make configure fail if this is the last instruction. - $ac_cs_success || { (exit 1); exit 1; } -fi - - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/.svn/entries b/features/smtp/lib/libsmtp---0.1.0/doc/.svn/entries deleted file mode 100644 index 84811eb..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/.svn/entries +++ /dev/null @@ -1,238 +0,0 @@ -10 - -dir -46 -svn://cuiz.me/cbenchmark/trunk/cbenchmark/features/smtp/lib/libsmtp---0.1.0/doc -svn://cuiz.me - - - -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - -01675afb-4c4d-4bd7-85dd-1440927b3546 - -TODO -file - - - - -2011-06-28T07:31:18.000000Z -0251081fffc8a9db880f4e42259712d3 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -124 - -CHANGELOG -file - - - - -2011-06-28T07:31:18.000000Z -90ba93186fb34631f048393a3acc12d7 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -33 - -rfc -dir - -README -file - - - - -2011-06-28T07:31:18.000000Z -87f0c0a5a9bc572abe23139ec44c8dc2 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -3501 - -examples -dir - -LGPL -file - - - - -2011-06-28T07:31:18.000000Z -84e0bc9b7ca6053d5e8c673021069d2a -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -26472 - -README.MacOS -file - - - - -2011-06-28T07:31:18.000000Z -a70446c3b1f3323c06a96680fe408c7d -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -376 - -README.thread_safety -file - - - - -2011-06-28T07:31:18.000000Z -494103f68a148c3254412746b1c2af59 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -816 - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/.svn/text-base/CHANGELOG.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/.svn/text-base/CHANGELOG.svn-base deleted file mode 100644 index deef935..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/.svn/text-base/CHANGELOG.svn-base +++ /dev/null @@ -1,4 +0,0 @@ -Version 0.1: - -* initial release - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/.svn/text-base/LGPL.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/.svn/text-base/LGPL.svn-base deleted file mode 100644 index 3caebab..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/.svn/text-base/LGPL.svn-base +++ /dev/null @@ -1,504 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. - - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! - - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/.svn/text-base/README.MacOS.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/.svn/text-base/README.MacOS.svn-base deleted file mode 100644 index 7292ed2..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/.svn/text-base/README.MacOS.svn-base +++ /dev/null @@ -1,11 +0,0 @@ -Installation notes for MacOS -============================ - -You will need macOS 10.2 or above. The default -MACOSX_DEPLOYMENT_TARGET is 10.2, if that is -not what you want set the environment variable -MACOSX_DEPLOYMENT_TARGET to your deployment target. -Additionally you will need at least the following -packages installed. - -libintl - http://macosx.forked.net/p/libintl.pkg.tgz diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/.svn/text-base/README.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/.svn/text-base/README.svn-base deleted file mode 100644 index f1aa229..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/.svn/text-base/README.svn-base +++ /dev/null @@ -1,129 +0,0 @@ -libsmtp-- version 0.1 - -Preface -======= - -libsmtp-- is a library that implements the client part of the SMTP -protocol. libsmtp-- is a rewrite in C of libsmtp++, which is written -in C++. The main reason was the enormous size of the C++ library - -about 500k. libsmtp++ will be maintained in addition in the future, -but it will become a wrapper around libsmtp--. - -libsmtp-- should be easy to integrate and at the same time it should -provide all the SMTP features that are of importance. - -Currently the following features are implemented: -CRAM-MD5 authentication -CRAM-SHA1 authentication [untested] -LOGIN authentication -PLAIN authentication -ANONYMOUS authentication -EXTERNAL authentication [untested] -STARTTLS ssl encryption -SMTPS ssl encryption - -The following features will be implemented in later releases: -NTLM [Microsoft] -SKEY -DIGEST-MD5 -DIGEST-SHA1 -(both are a bit difficult to implement in contrast to the CRAM-* -methods) - - -History -======= - -libsmtp++ was part of pushmail [1]. Sometime i realized that the SMTP -part of pushmail was well designed enough to be outsourced into -a library, so that maybe someone else will benefit from it. -Then i realized that the C++ object was too big, so i started to -rewrite libsmtp++ in C, and libsmtp-- was born. - -That's it:-) - - -Documentation -============= - -Currently you will find a step by step guide in the directory -doc/examples. - - -Warning -======= - -This library is in the process of being developed. I will try to make -the library as good and clean as possible, but by no means i will -preserve the interface from one unstable minor version to the next if -i see some way to improve the interface. That means, that the interface -from one unstable libsmtp-- release to the other (all uneven releases, -for example 0.1.0 to 0.1.1) may change. - -However, once a stable state is reached, indicated by an even release -number (0.2, 0.4 etc), you can be sure that the interface will not -change anymore (for example from 0.2.0 to 0.2.1 the interface will -stay the same, but the 0.4.0 interface will be, of course, different). - - -Requirements -============ - -You will need the openssl [2] library and the openssl headers -to compile libsmtp--. - - -cvs info -======== - -you can obtain the latest sources via cvs. just press enter when you are -prompted for a password. - -# cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/libsmtp co -P libsmtp---dev - - -Credits -======= - -This is at least a partial credits-list of people that have -contributed to the libsmtp-- project. - -Brett Blackham -=> FreeBSD port - -Gaetano -=> italian translations - -Vitaly Ovchinnikov -=> russian translations -=> bugfixes - -Ricardo Pacheco -=> spanish translations - -Jean-Baptiste LE STANG -=> MacOS port - - -I18N -==== - -I need people who can translate the messages into other languages. If you -are interested in contributing please message me at "Timo Benk -". - -Thanks goes to the following people who contributed by sending translations: - -Gaetano - Italian translation -Vitaly Ovchinnikov - Russian translation -Ricardo Pacheco - Spanish translation - - _________________________________________________________________ - - -References -========== - -[1] http://pushmail.sourceforge.net -[2] http://www.openssl.org - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/.svn/text-base/README.thread_safety.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/.svn/text-base/README.thread_safety.svn-base deleted file mode 100644 index 8ec62f6..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/.svn/text-base/README.thread_safety.svn-base +++ /dev/null @@ -1,19 +0,0 @@ -libsmtp-- and thread safety -=========================== - -libsmtp-- is not thread safe, nor will it be ever be. - -libsmtp-- is designed for simplicity, design and ease of use. It -is not meant to be used in any high loaded production software -like email servers (of course), but it is meant to be useful if you -want to add SMTP features to your software or if you are writing -some sort of email client. In such a software project the libsmtp-- -functions are not excessively called, exactly then when you want to -send an email message, and so there will be no big performance loss -if you syncronize your threads when you use the libsmtp-- functions. - -If you have a good reason why to make libsmtp-- nevertheless thread -safe, do not hesitate to message me. Maybe you can convince me :-) - -Timo Benk - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/.svn/text-base/TODO.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/.svn/text-base/TODO.svn-base deleted file mode 100644 index 78089e8..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/.svn/text-base/TODO.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -general: -======== -* more plugins -* maybe, but only very maybe, libsmtp-- will become thread - safe somewhere in the future diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/CHANGELOG b/features/smtp/lib/libsmtp---0.1.0/doc/CHANGELOG deleted file mode 100644 index deef935..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/CHANGELOG +++ /dev/null @@ -1,4 +0,0 @@ -Version 0.1: - -* initial release - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/LGPL b/features/smtp/lib/libsmtp---0.1.0/doc/LGPL deleted file mode 100644 index 3caebab..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/LGPL +++ /dev/null @@ -1,504 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. - - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! - - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/README b/features/smtp/lib/libsmtp---0.1.0/doc/README deleted file mode 100644 index f1aa229..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/README +++ /dev/null @@ -1,129 +0,0 @@ -libsmtp-- version 0.1 - -Preface -======= - -libsmtp-- is a library that implements the client part of the SMTP -protocol. libsmtp-- is a rewrite in C of libsmtp++, which is written -in C++. The main reason was the enormous size of the C++ library - -about 500k. libsmtp++ will be maintained in addition in the future, -but it will become a wrapper around libsmtp--. - -libsmtp-- should be easy to integrate and at the same time it should -provide all the SMTP features that are of importance. - -Currently the following features are implemented: -CRAM-MD5 authentication -CRAM-SHA1 authentication [untested] -LOGIN authentication -PLAIN authentication -ANONYMOUS authentication -EXTERNAL authentication [untested] -STARTTLS ssl encryption -SMTPS ssl encryption - -The following features will be implemented in later releases: -NTLM [Microsoft] -SKEY -DIGEST-MD5 -DIGEST-SHA1 -(both are a bit difficult to implement in contrast to the CRAM-* -methods) - - -History -======= - -libsmtp++ was part of pushmail [1]. Sometime i realized that the SMTP -part of pushmail was well designed enough to be outsourced into -a library, so that maybe someone else will benefit from it. -Then i realized that the C++ object was too big, so i started to -rewrite libsmtp++ in C, and libsmtp-- was born. - -That's it:-) - - -Documentation -============= - -Currently you will find a step by step guide in the directory -doc/examples. - - -Warning -======= - -This library is in the process of being developed. I will try to make -the library as good and clean as possible, but by no means i will -preserve the interface from one unstable minor version to the next if -i see some way to improve the interface. That means, that the interface -from one unstable libsmtp-- release to the other (all uneven releases, -for example 0.1.0 to 0.1.1) may change. - -However, once a stable state is reached, indicated by an even release -number (0.2, 0.4 etc), you can be sure that the interface will not -change anymore (for example from 0.2.0 to 0.2.1 the interface will -stay the same, but the 0.4.0 interface will be, of course, different). - - -Requirements -============ - -You will need the openssl [2] library and the openssl headers -to compile libsmtp--. - - -cvs info -======== - -you can obtain the latest sources via cvs. just press enter when you are -prompted for a password. - -# cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/libsmtp co -P libsmtp---dev - - -Credits -======= - -This is at least a partial credits-list of people that have -contributed to the libsmtp-- project. - -Brett Blackham -=> FreeBSD port - -Gaetano -=> italian translations - -Vitaly Ovchinnikov -=> russian translations -=> bugfixes - -Ricardo Pacheco -=> spanish translations - -Jean-Baptiste LE STANG -=> MacOS port - - -I18N -==== - -I need people who can translate the messages into other languages. If you -are interested in contributing please message me at "Timo Benk -". - -Thanks goes to the following people who contributed by sending translations: - -Gaetano - Italian translation -Vitaly Ovchinnikov - Russian translation -Ricardo Pacheco - Spanish translation - - _________________________________________________________________ - - -References -========== - -[1] http://pushmail.sourceforge.net -[2] http://www.openssl.org - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/README.MacOS b/features/smtp/lib/libsmtp---0.1.0/doc/README.MacOS deleted file mode 100644 index 7292ed2..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/README.MacOS +++ /dev/null @@ -1,11 +0,0 @@ -Installation notes for MacOS -============================ - -You will need macOS 10.2 or above. The default -MACOSX_DEPLOYMENT_TARGET is 10.2, if that is -not what you want set the environment variable -MACOSX_DEPLOYMENT_TARGET to your deployment target. -Additionally you will need at least the following -packages installed. - -libintl - http://macosx.forked.net/p/libintl.pkg.tgz diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/README.thread_safety b/features/smtp/lib/libsmtp---0.1.0/doc/README.thread_safety deleted file mode 100644 index 8ec62f6..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/README.thread_safety +++ /dev/null @@ -1,19 +0,0 @@ -libsmtp-- and thread safety -=========================== - -libsmtp-- is not thread safe, nor will it be ever be. - -libsmtp-- is designed for simplicity, design and ease of use. It -is not meant to be used in any high loaded production software -like email servers (of course), but it is meant to be useful if you -want to add SMTP features to your software or if you are writing -some sort of email client. In such a software project the libsmtp-- -functions are not excessively called, exactly then when you want to -send an email message, and so there will be no big performance loss -if you syncronize your threads when you use the libsmtp-- functions. - -If you have a good reason why to make libsmtp-- nevertheless thread -safe, do not hesitate to message me. Maybe you can convince me :-) - -Timo Benk - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/TODO b/features/smtp/lib/libsmtp---0.1.0/doc/TODO deleted file mode 100644 index 78089e8..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/TODO +++ /dev/null @@ -1,5 +0,0 @@ -general: -======== -* more plugins -* maybe, but only very maybe, libsmtp-- will become thread - safe somewhere in the future diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/entries b/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/entries deleted file mode 100644 index 3deb42b..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/entries +++ /dev/null @@ -1,439 +0,0 @@ -10 - -dir -46 -svn://cuiz.me/cbenchmark/trunk/cbenchmark/features/smtp/lib/libsmtp---0.1.0/doc/examples -svn://cuiz.me - - - -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - -01675afb-4c4d-4bd7-85dd-1440927b3546 - -example_4.c -file - - - - -2011-06-28T07:31:18.000000Z -8c2d5413ffc4219ffb9d8726338a1543 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2303 - -example_5.c -file - - - - -2011-06-28T07:31:18.000000Z -3dbab44e281746c08982e9fe5a248d12 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -1584 - -plugins -dir - -example_6.c -file - - - - -2011-06-28T07:31:18.000000Z -9805e153f8793d4d83f7350cbfc262f4 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -752 - -example_7.c -file - - - - -2011-06-28T07:31:18.000000Z -c971ee0f28d3c7e5472a41e9c28bc41c -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -259 - -main -file - - - - -2011-06-28T07:31:18.000000Z -764521de07df9310154b632424fc0ea0 -2011-06-02T07:01:04.009901Z -35 -cuizheng -has-props - - - - - - - - - - - - - - - - - - - - -9482 - -main.c -file - - - - -2011-06-28T07:31:18.000000Z -d3299082ee9d1496ab173c5653735113 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -894 - -make.sh -file - - - - -2011-06-28T07:31:18.000000Z -54f4df1c1494702e3c8c25f48a712da6 -2011-06-02T07:01:04.009901Z -35 -cuizheng -has-props - - - - - - - - - - - - - - - - - - - - -115 - -example_1 -file - - - - -2011-06-28T07:31:18.000000Z -d99e1603b25cdc895c9206c351f56e52 -2011-06-02T07:01:04.009901Z -35 -cuizheng -has-props - - - - - - - - - - - - - - - - - - - - -32786 - -example_1.c -file - - - - -2011-06-28T07:31:18.000000Z -578dfcc4e95d2f627c9c36b3fbb874a1 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -1384 - -example_2 -file - - - - -2011-06-28T07:31:18.000000Z -dd97f6b0b18fa564e955477d92a58f04 -2011-06-02T07:01:04.009901Z -35 -cuizheng -has-props - - - - - - - - - - - - - - - - - - - - -32018 - -example_2.c -file - - - - -2011-06-28T07:31:18.000000Z -1349f406f08260552103811719055dc9 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -1769 - -example_3.c -file - - - - -2011-06-28T07:31:18.000000Z -12900d701e8bfd57199826f36bc5c0dc -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -1724 - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/prop-base/example_1.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/prop-base/example_1.svn-base deleted file mode 100644 index dbc918b..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/prop-base/example_1.svn-base +++ /dev/null @@ -1,9 +0,0 @@ -K 14 -svn:executable -V 1 -* -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/prop-base/example_2.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/prop-base/example_2.svn-base deleted file mode 100644 index dbc918b..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/prop-base/example_2.svn-base +++ /dev/null @@ -1,9 +0,0 @@ -K 14 -svn:executable -V 1 -* -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/prop-base/main.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/prop-base/main.svn-base deleted file mode 100644 index dbc918b..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/prop-base/main.svn-base +++ /dev/null @@ -1,9 +0,0 @@ -K 14 -svn:executable -V 1 -* -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/prop-base/make.sh.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/prop-base/make.sh.svn-base deleted file mode 100644 index 869ac71..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/prop-base/make.sh.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 1 -* -END diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_1.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_1.c.svn-base deleted file mode 100644 index e83c5c6..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_1.c.svn-base +++ /dev/null @@ -1,80 +0,0 @@ -#include -#include - -/** - * A very simple example. - * The email message "msg" will be sent to the smtp - * server test.smtp.org. - * It should be mostly self explaining. - * - * compile with: - * gcc -lsmtp-- example_1.c -o example_1 - */ - -/** - * the email message that is to be sent. - */ -char *msg = -"To: bouncer@test.smtp.org\n" -"Subject: test\n" -"\n" -"\n" -"test\n"; - -/** - * the list of recipients - */ -char *rcpts[] = { "zheng.cuizh@gmail.com", NULL }; - -/** - * main () - */ -main() -{ - /** - * The smtp_srv_t object. - */ - smtp_srv_t srv; - - /** - * The smtp_srv_t object must be initialized. - */ - smtp_init (&srv, "smtp.yeah.net", "cbtest@yeah.net", "smtp.yeah.net", 25, 60); - - /** - * Connect to the SMTP server. - */ - if (smtp_connect (&srv) == -1) - { - puts (err_str_error ()); - smtp_cleanup (&srv); - exit (1); - } - - /** - * Send the message. - */ - if (smtp_send_msg (&srv, msg, rcpts) == -1) - { - puts (err_str_error ()); - smtp_cleanup (&srv); - exit (1); - } - - /** - * Close the connection to the SMTP server. - */ - if (smtp_close (&srv) == -1) - { - puts (err_str_error ()); - } - - /** - * Free unneeded resources. - */ - smtp_cleanup (&srv); - - puts ("The message was successfully sent."); - exit(0); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_1.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_1.svn-base deleted file mode 100644 index 8a35eb40406a1614db62a186a83636eb11dc9238..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 32786 zcmcJ23wTu3wf{b6GBYRSBpGG`nIS<&gEnn71VxNi+X*3%Xn;t9jjeT<%nZp$k{M?v z5YSpwv>;INjr9Rmt=L+Nt*!WIi`Dw*?Sr=3+UK=a??r2S@lh}Lww3>Ht+mh0WQ6a3 z|KI<+CtuFl`?uD9@4fcgYwvUBbDcelOv6ylWvY)W^6mFT7?QhET_fz(Sevp`L>;e= zQyw60{70BVPjNZVeL8CAX=y$eo)zRaHDE@>p`VT7Q_j=LAw4O*;uXVlDVMA3!DhaE> zKZSqnPuE}C(fQ(=FI_y)_~^E`YX1C-{~*#4uNgr7C6w#5`%`83c^XgR8P@L7NB$`I zEx=3T-%1(B)r0?1Tvxxkz6^hhm~q{X|5E;Ybv&Oa!?zGKuDSRx<#+0z+OZVhNfnCg zN&NfNTZenASCY4IJqQ=!kuv;SN5PK)?pIS(&=Y}6snhwcR2`mvRjno}BaED-afSYn z8_j1KXB>-S$d$Q6JY$#Qx_r?uAcx0mk>2;93MQ{!$5ED#u$@hGg9>&Z`5@%n!DXUR`h@cKUXUqpVY!q@k( ze~|nn#$MmW{!fvgs^<0W>|aiPs*=|?u>WlGd&!?+{{r$;6}-L@{<(kY-u$x*yEebl zb>*uEd;7be-M7n%sIF(9+{2G&cY7o1z%5{Wcl&lKW7ih@Ef?V zJal-xnIk{&IFU9#dmvuIatqwwqb55rO6ZnTJ(OQb=CM}vkOQ5-OCniAY>4C-dJ5lx z<#0-$`8CE@;^Ro~3Y`%2%q3+G^b#1<2_WmwVUqX|$wQoM$z4^rhb2%;dUyZQp z{_xY?PyWNTQm$ISgp*XF0t2Yz7mY<{C>^Lq<7A3hxDy7DQj`}8-*4|Hw0U^Y6( z$ZTKFmc;B}4_x7%E&18aJzFlF-HP^WL!;p0{_!|z5xO^RK{8#as(fATtc7T-EB|bv zUu|&_HvX1wcE^6#P`J{lm%d zXfl_J4JE^CW4Ul{JRXO4)%eKBx-evSz6E(}aD6NcUK+F;k!9+4m!i>Vj@^pqRy=7w zq03mmTp1HS!)1G|?dVdC!04aG-8;n4UgNvk?5K8RTzR+#9gc7crx1T>&CCWg5C4ad zk1a$$dt1d;_qo@aUvQmU6S>-RB}s;oi$nxn4kW&!-@&Q((^dZ5BrxkZ93^zQPM7I`8J zou{9x^mC1VUag-u>*tsC^V|CQjDD8Ky9461^m?w$uNHT7oDpt@di>$=JZMWNhfi*8 zZEHQPbzZo6c`_01isc1AY2LgKLyi7l;-3Hi6!-roH%fUTDopyP^fDUzbn*CS*W?@W zuK925S1OEuR_<1i1B&A%cxK}nD1dZrhfhb&eepKT>vTDZpe4c`|F@<<1sKVR*l1=X z8J*h_S96BbqsciXGL)7@q6VMDI`EuCIzC5-$SE_ITAz&O)%0IpkCa`zkP*vUF+P?{ z4UM7AT(%kIkoFFJ>ld@N3F@>3};ZpgJ;cnxY28J^m%A_#)J(yxRtRxfYY}aL zXjO-ByA&}ExS~`xS+TiR5=?bUkPf3)5u$HSHBn?OFWo{X=?GEjv*9roDx zsPZh7R#MgV#MwzqW)pf6+BKO_o<&0T5py&)GLnufPnTeIHuR^A@^s%Rg+@A*SL+6N zrRB&~NjH#g#luUj=&>$?)9mYS?>I+!&YljB$9e?!sfO9!w{&i_due~?;?CvDyX?n6 zeKWDpiRH%TBG=i}*brqt=v~Ijh5fRVd9robe-vK@7sY;ME?0|H{XPn2|2v5QG?tPy zI+w0k(z(37zjLAT_EIteFX--%_Vq9CUbubB$0^_L7exBFghh@0dTEQofJsbd`Vka^*YGxD07h zo|h`$N!k}*ZP~OZVl=dM>dnh>;AC$_< z_(`1mI*ffBh4RO;sE>t)jCji*A5^|`j6ZQ*qH8Z$u_(Hv6IGw}Lap$1;x;(GDmt3f zb)V%?Q@zX?H8kX_dqu!lHdTG~xk5u^o#*vNJGy(jXe8!8N%2LY0VmgFqVZH_I7ucg zHQ>$r$5IJZv(TxVz&XfiO{ex&_*W;_MMsijs%DXfEPrZ^Ad59(bH&tj>3Z@7uA(T; zHl8__sx9bGq;-m_rpNd*gW&+GO4TeejN^!>Ij|oksadKcZ1v}o`6$Z_%tV;|U^L6A znq|gu%-!Z6Iuf~8lOz6kK0Bgn&NUV@dspC12$GuRy3%_~Yess`_&6%Y_eHE%N@_=U zp55MYztoqi*<>u?7*&9za?NJrHZF|iM}ueAW%8=#8eIaPpW2PuTCy_y;j9td5Sxa;sI%EgIfv2)C-)!MSoZZNfZHooWeW z?wZ}GE#FQo>5^k>qN54wOd0Q*YLeqMuju}1XQ=nEu2AzQ!76Oxg=(p4UKK>-d(CSy z$b8k@dH(HNVeUKjcm_oP^S{5yKo|-NN}y^E9Atkprm)O9RrC6EZi&`v?pAL|=r)`5 zPF3^QbC?*ZK9Mr_)_V4JL20^pJe5r*q9wU}djk`Dt9cZ>BRNb|bMJgte8Wy9NZ(oe z5bD5JWfv+!_nWYHtv`_(f-yqXG#lGFTHS9x?DQLHw2wIB#*eCz2K%UPu%M*Xdrs&1 z$~)13M0|HrN*KeOX++-aosdf3DA`kXF17|bDJf_*R|!^8ZBu`}T6|E2&@8Iv`t!L8 zeG;H_pxq#hK|7Ymlsz~OlZvXj@oDT^m`!12F6>g?^}B6k=5ffQ#4xq}cJF#9rU?~T zCt+3ft4K1iUVIgHMg=Z;mixA452?VV;`XsT3w&1Qc4%GWgHg&`;4-0ytI6^g_?-Bf zSrZ6cE^)S2f0}4lR5ww!+U$!}V59Iw?2A<3Dse-3O`@|0t`=ni+AF*?E(4#JXa>-O z#>XIFRA7??S;@5(xJKy1)%Q{|TP{FO%%+SDVKl4)TgPUT=DWeDCP@(3MuI>F$igm2 z@cyo47$cYb2*vZQui-kPaOs5V@?KIMHV`C9suXFfm@Sf7T1IfehhF94Sge|%;sqV9 zKypxis=r2gS>3_DAP<$msDubtzedrHiBDHm+Nmm%fPsvon--GfM$f50c9>&~pl$ow zmG`q(ArenS>=C7++Exo{NI$sdbv0Fza_n4 zfSb_&ZK18?CiFidO*kw~=->PH@l>Z1+=Bkcqy;xX#GwibO?cV0s07~z?3hqZ=r&yG zy^Pz?zu9R+B4Uc=h0@$G%q*kp{{x5ul@gU=) z=|nU+0q*OD84Yur`)|CRea+nF{+qtRzE*B?|IOlSlM1;-3LUAYHuvw4Ht*uNxq;C5 z%74e396>L`=y(k7lz5=nKwnkf4O>ub-#b%bnUG$v+q;2#L9I?gdOh@BYC%vH5_ zi5Eo~y%^pviMQ8IU5rIc?cL%X;I^*4SK3;Ja;@&Q8Lpt(`=o;Mwr)@8iis$)_Z8_o z6O(Yn{8hqftWP2!e-8*@lVNMcm4$ch9;$Lz({{jGSyiD< z(5Ui4ue;psN6j|`q~@twWqQ4wyIt)?PPe0WA(097L)DIcNsCtpO(cP41ohdBW}&(< zb57u35oYc+0>hv{yb+n47sL)~*k5`?hjVti9yJ>}%tmSbM4XB2v+xm5T1- zo>+UC^u%6{n@39RrZ@*4U`UUK+AY^JxROELHEXv&!XW0}fm2&gSKdt@Lgn~2*C{mt zKh@4I?H*51Yd$?B>aL-HOD+)JTr4e4FY{^SHqCHY~RPpYOGA`ROZjTdmg#v_EU z8i@_%R8>Gv`CWvq9;clNRaK|KUIHf^becv72p!8&5mnW64X*U(R#W!tjh}FNhW#=2 z2aN=mKI6}%M^f>1(ReIAj3h$FMT}4QbHlN@(cxHbSXIq3G5}c*jEzsIs$-1}?B9W2 zNwpnq?^(PIYlzLap}Kv)!Hv<_$WWTs5I*l_n?0%g@TjWV^li=x%rK7XuBtXSO5fBG zb}a8v-fP~V=st!`0FEx69ie6nd#~}ssjBuGXTxTS2~ryH(a8+(cht}iNsqPc!F8nbRDJW8+-rO=)lf}6 zB04IxGR|^e|FY#+rf>ZwC9`LGp)aPhoX!UCR$J=b+AHxYJ3V+&PFasiqR@n}j^R!# zGYd#h2+3Ey6FtrP?!TT$br59D)q3*p>9ppRPLpMDb2nycR--&1F@ueJK)6z=H@ z*wc625tmnSNz5!OHt>-1IOrh4l=qZ$^ zSL;Vos)^F-5T$tAGpG&UtJr9nkl{&Hq7~zpyxVLzmG$aVoRG5P?_NLTYvz>;KHcRO$>o2n6Zk3um zD5YwXntV%YG9oqkw$x;o)Z{x-lf6=t?@G9VVom-{YI3F2z>k-@l!J=ICn;1NQ$T0fs+i6)X6D6&?C#_!QM%X@j`of&u-&cPu}@w|`l* zb0E5~y&r1My;(5(9>9&)@M&mYyb2?3pZ8u!ST%K)AstNl6XT(tb+7C4rgMwG!6 zls_zhr#2XYH!&RR&o*{z`&b+{*Fo59Reg`~E5^v`6D2!P{SrN|h{dFSnT|9VxCH~T zzE^u2d6`&$uJ(rg*r)?mR$mN(PUalH^fB2r~Lv< z6orUNs_x$U6O8~F9O_Tf*;PDW*S8p=AzA)Goy|GMJ6vSgWu!2zMt~b5=pW>BSM_s^ z76!upK}hACsy|tCG>bW@{uHB+8Co$vCCMgHKhH=p(&kTKnV(IsQ}w56C=$4knsB~x zEpv2108vS~WaKIq6vg`?YQket`7Fv*2^XmyTrr^k7ttw?C3Gq#NFksW<&IU2N=~3y zi6r^JG>@1l!^QAG&nI;A5rPs1`iq>mG(6MMl#Yg4f0|K;?0Br3C^&U%N%{ZQkPm{> zW6>-c^v*;`-y$P~!7x|(x{R3s$aAvtoo#f$qv{DVq+@V#bV)eqSwv&Bcq0t)lL^>k zHNoTiCT?s;#KemOCDd!0?VsAYF=g*}wCItd$Fj*7YX6L)q~$gq%Ko|d>SR~q7h*^V zvWjcJAhfWO?T2Lx&hG5!SN4nDNLL_jZnqDRx!pGtXBBym1ZLx9WZI@21?_`SNaD(V zOX5~GDU|lxqEA|^n%LSF1-tH~@XCJo*GMb42TGS^|Jex9sJGu_!4euwr)ld<*?%!E zf~`ALvJ0c^zZw)KBo(9V|1d~z3t<;DIRuezA2gmIe-dMz%@e4Ww~X%-G>B~^`8e$WEBn8VLnZOS?wAn#@5cLtuSw-n zB{}?uQ4ywC^Q+pNg#KwvAqY!&oR2ZN%5pFqqP-Bi!2mkjGiU>kMZL{qJ&K0*ShVYf zLC5!V_@3bV2EO0S_Xqg?3g4gM`ysy1L}PiZ)A`CV5 zpq&`#597#_X`YNuhNX_0&ON37{N7GwyG$SAn6V8vtLF0!)JtkMk$7o9?ZIwMga#Na zV4%K%ox?Cc-wGEpLUsU;MK&RiMP@(i>%e8~kqaow$C?$3G~N_PIlX3 z*h=d0ApMp|RmV;ukr$+?cz7j&_lT>rz(r%P@&p67edMC3Dv4UDxK$vMn*n%fgTP~vR%`7m#78d41V=@oz(hMO9_ud9EZXpp zq?wg-Sx6O3KO!dD1}QQDeTz_9H5JiH@`6O2!DD&hu@+Be;0ocJE=)7%9;**`FYP5Y z((b~oh=j{ks~RUt{j-#HJN)I<#2F@nGZB$B%wthdi)=2!Pp--z(~VhQf(uNv!-km+ z9yL8ADv6B^|n7qtPTyj10>;T}DRT0$I2IPzXgX zpm*AI{|P)68FnQ`u4gX0=6ZwZZ3Q~HDvQ;8q_(#X~|ToGu#cj z$I4SEvgP~kg^TQ;ece1W`TSRq#q~-`mTc8I<<~ZLOYEfJQ~s;gA(ZtK+zh(OXyBH3 z0bayUv3e{rgnO)q;kFLrCfOp6N^WezD(MC$O3!1x439;&QDH5NuS!lu$6W=wMW)h{ z__&sidMoW(trVI}t49od*fGd!7fXw%cRr{DR~vtguzpbwsCz0@l8Y zHZ`iQ7sx^qwg*HGeO`Nys=6UWF_K-3F&GkIZKFtoRX2-4M^)V-W-}Ob#$n8i^KL}d z4l$nTeWa>ezr%_8kOCRxJQi(+=|$X%1+;Zl^~Kd-K^b`mYex0g1 zNNJc&VLK;hidEHH!qjZjhD+7kuW*o79mk69g{tZuDIoR_B@Bb_3K*$A-hid(Z?Yil zLP)Kaf zLuz?<|M^k0M)yL>iQ%!9A%{3ahqYBB8T<__R z+TpAED(i`8DY4T%;MnQ>PMdtqkoxxd$)2%7_H(NqG^Ae!d0pzDU)LzDao40*!_rf= zM;EaY_q)}rj>r}w<9vnYfv<#*@V=I?|vhT6TYU#Tb&JnWYMaR+! zR-=M-y{y&Ool6rY4;-wLRo!x8r7aD%`_=V}-H&?sc|_>xYVYfcE?u^;Q`MbUg5b+iVn8d?q+`urz4nM5`3soP=?s=BQNQttS? zR^7ITC=-R;ec@l&D<{0DWI0uL?LLSW7!Hf4zPQYwY!^x+He2eh6L;9o(9w~)>%}`8 zo9@w(G?x5zH%P&;OOswZrm-6ZYvrhMh;I~;-XvHXW3WBpU>nd|1dWuSWJ;hjXrS&8 zY8O-Srd2*0i(}ngcdOvNlkk#oUljTP)44Ut#Dajg31OuUIEr&FLbzQB!%Rqx;Y1~x z_znRx3}%y=kr)*Ex;q7(U^I~&!O0U%Ilt$1OWGHmo-ytlg9(t#s*N zmUX}QXdgbCp_kaKuTTz1dWzJtzAAnkWEJz_1LDUvF6}drMcw+ENXAxYswv5%vK~AJ zdB<`Ick6Gs$rMU1pkzY#Sg#R{EV4p-6QoMbU;wq|7f9q{QY9HC5tJTK_=$_mw#CSq z!Qom!^h+nx$?MR`Wa+U6iHpp+C9x0%q)kL3+in@jiQsOKp#1YR_dZq&(=#}~<(%3j z>({iY=D$-Mo)#yLf}uxr23Frq7AJH(ZbsE~aQg1VjU<3$NpG7`C3~(j!gtM~W)cCB z#k(yK)N01D(wuUZfYJ1LUd=d8x4A6?m06pdme&|F&K5AtTdFfo(3@V$_Yow<`6!y= zA~S0E6v~WRYA@u3`{4|qw!`sW;f$#f&ZUp{3TOD2voBbE4MNPAb}9R?H_XyQ%?JvB z13q+^YsQRCOmD3wyV{Hf@!=KiGXP67kPFpLb?UJwi}jR%QK|7o@K_XQk-J36XC-YP zB0$&yFdf78ERS^s+|myEP{)i$Y6Xw=1tP4@4xSoi+lM;l3YtF!f!X7flhrZTa#b)7 z<|;mrbIiU+5e^nA+THL$zjjaD2kp2>@Rnh9XFOz3^UnVW?bwXHKY^O}F50%13a z>R{#;X~h#+MVh(wUzvsxeNJCr5AX2I-1Zt5%f_m2%RtFbN23(=EZ@#Ke z_{=~Sa?yRU_D0w+@6KxPLch*QUISfz9G>UAjccR_d4su(4)?j&x@0%8S1@|*!#&{= z#bZD)%m~W8PKRA7Sb7!0uGd(?pTS-NY*Fsdx~R{ZO~V?Y!-hlH(Q#kq+DARHDdW$b ztlS%1ix-m*JHDqV_vNni*)o;+6LXdO3fC^>}q;RVvuu3w87`TTSxJ- z;TKfmxJSovzzC3>aerAya1c9HqzAaa?z(`>c*qEJQy#y`)rZ;M4D6)<54*@{;%eGx zqSNT^@rWyi&WnlJ4A8d^+>g07wv&I48E7T{cXYk%HR<>-&iJq9eTe;qH*YS%Kfy4UoicS)KKncU3YK`zGPyT0=4i%m-%su z{bdt-5`*LDVL#Tv4w!)vN^if5%*w8&gC_6TxPRs%x$bH@WCps4{(^3!O)lOEa{p3? z-|q6KGkJ`ToO1ulMKc5Xh0BjaBFNiI8rbCuyibw*S|_sGg)^k`LW%U+-{{!(xcpjp zk@=R#+;27MVV9crM=eq0;4KN3F85~)eOSYNA&YQKGQ8X4juv)%utsvP)EiPhtfFv0 zfzBi#$1#lt8AXKHaOTl6s0raBJ4Q`hqs>yx7~xjb13+<7y?vN!1TXcTPRT*O$|!DOnCqq^=1Q&a)ehl~MD z9j1*z_d4^Uc1Nu82+`C$UeSf<($u!Hu+nobH)WQH6sV-ElKSDk+LR3t>_HY~GpSGR z?dA|?winW3G>y})gT1AI!nlyZZ4KT~jO22vV@zR#>#z%o?2`u&_2SJRD# zKbFbp<9Q`R_W|>1gy;SB5<2bVy1!?|K5bAL-mNSp04%d;JUO25}U$njvaow9+g5=e;j>J&~`fck{#V|fA@Taw8V zhJ9wM2prjycYog$0RSn>r@j)WLe`ifc_B4e`5%3VGJURTkDU-tnmrRncn=(m4z_N02P^Y;aa_{F*Pe_w0 zD%JqtF6abQR&cg_%f#$t$GdCOvS8~@Epj*r1rbTGs{t}%>wgpI}HSiLFt z8XX*C9;oxN6ZcvTW3U6}?Q-{oG2<*f#DQg!$<-M48pFT_CL8VU^~M>@i17?CH$0vv z(}8kdq9g6nk>b6ebUwwp(xsZzTTY7d>J_SvW*A@wIy0r;=2z~|87WQZMZeZ~k-1+gsS_>hG{<)1Z_M$sp{!TX zC%FSxk_$_qcQNOAEb8#})L#t;|0_Heb+#fm@8|Kt7$Fo$7WJ_b`puBN4n0hC>J)M! zfl`w-HO({PqG_d)jPZyrLhRI2N}^*n%MtWOY)vq>&q(Sp2g zT;u}7Dq@f(=p_c~K$65h(7|vqp|=o9H>Yw*5Aj%^2U6#B8>g$mpnNxlp-xd=_=hSu z&c}&PU820)n*LjmSoP6sZTEEsB{=JNXcyE0ow*$9pk=!6)4g;z7a!UnzZHeqxUdp> zz@WmIP4W_(%+m%%M$1mV7RHjoNH9Otb4Y54p=b5+yj?C?1N@L10CGg@_&?Io>~RI?<#6|p zHGQwk&!$87Pc*O(YCEQNwk45>!E!y1vf7zV2m9p(GfL;myvd#-ez|)BPFqHV$wX?$+bD zamg!bK#3uVjvlCK{{)4lC8= zE`=vYdz)r~j!_I5l~`}rv^t@&(c6882BCmZfWkaISXxz*7o-d-)?@X+Q-2vTRMOoc z(wfU-jRLV~#b8jFN)BC|74-aZ4KdNOK$0LswR8OB>p(r$Psz~xMuCCnBQ{(U20Cq? zdaV8MSfsd1G|a_mai{WF?-8B!_Hz0@M1t_sL8>Q>+K>)eI&sYhT*s>i>G#Wtm-OJ$ zqjemBXR?imkSAlO9D`t;MOGwq>yy!?p|nxQ9xz~Bvh%}GFj?n{(qa(OCb)~@LO+Lj z5(;TFPdjSCy9BJTleu^-lT^Vk34jk3P^{UsUL^(Z7TmVik})iJ-#(7aSA86wLH%Y~ zU9}ryCwM=d2q4quTGE`NWGD;j4T`YF=pbECZ&J*z{se{knk3L{XXO>$Rmj~Q!A=wm z5#>}+zYEaHmo*ofmDL3qC4H zzfHSca?aQxJtmnLu-7`ssa>ggm3p5pcMixgm8rAgO zli;($^Dx3gG|?mwd~N{ENcKQ7EaQD+%)r>(FU0!1gm`W;Sp|PcqTbc?BcpmfMf@YN zK5a0oH<9rIhx6@i>}JXhDKrk&#BM_ zEEZf%zr%8T5)E%9jwMy-Gn$U|JoS1NiW*}}sg|&y=l&d8seuiqKbysiW1&IAU=A$4 z*D?^-0M^E>RK_9WX%rd8V^@HhEi~-tFs?v~{3+uFrf+uzenI|=H2p@GpNDp6R0BI) z0UF$)F`dcV!N3EWw@gB54exRVX#9pU+JBELKvE!du|Z;hlo@(oJ%!!<#856j7w1e3 zIyDHZ>?Fd;INqrVq@ZAn0NvWLGiIpd>vRGKk&jq*Os@+=muUE1M28P@Vj0cr#n7c1 zhmOKXVL_=vpVOp&ka`9Qr9*7cHMgMx9jQ23hc;^VjTQK+2BlD>vfVXwm1fvfp^xP| zfrWgvCU334&H(~rbdw2)4N9R+nz$X2W0-`#ZCoMkOUE0RK)TPOy?{i1Bu5`=(K5c* zz#aiMrI2^AAgP8e`_NV_-Pz`(8n)7?hmvh)<7 z>G-f}xalh#TbI4oL2ef0Y`jyMAB|;H!>vosrTB3kKwe-F^majq`6D{K@go)pjL3^s z!%m7scI+uoaUV#;8}sZEo-2%!D7em;`X!-mH1O6@CYz2!1;N0}#&NEp;oj_W?)ZjX zPWiG>u(yv3yQtV+=vSPLVUKU3M%-5_N?aq#|9 zdK5M?_18-YE#3&v!YcS1@h();NW$^V00D;&YLQmc z7W$AJtPVBvfI*=G3RmdEEUjoUNqR=;Bid^P=o>7dj~X(m`Y`ff=~1B*H4x+llM0=r z{b9fK{7{SD41kp_d2y6_B4{%oLlKzl-pqF6nwmc z1o}K3zw%R&L-P$%<7k~r$_&j=r|IJ07*-N0PpD1%>vUrH^vt5p*@X>?{Z8iQ0(+SO(THF$NErVDH5t6T*(9BaH$W(EY4zZna&V+X81?di#KQXLA zUo_|}ENu0%s1#|ZLOXR}%p=((4Drs$RiV2yeiy#%hLbwxqpRHAGFs>?27zjMG=VWTCiQ8wU9ROGBLUNTQ6SEcM`qgcCnc3`v?8 za83bV?u!lanxkQrFa!nSFhc@`ajG;L$7#2Q;e8yeS^3Uf?vzZgf+=~sAuH;*#tdI2rvqbW$sGpS9A-`8-Nt*6}2Ndc6Nd2$0a3Z#TGCxuWA zms2hqX^JQ`nMXC=SL(0AA=5sk&V=|2&zfWN(Ue*GLxy;RDGhV6VES8z^hvt->QxCf z>ttEG;QJu-?ZH{6NY?9k5}P$od_mPjG0!@c(wu!d68bf~6%`*n-Z}Kv329|GzNO3X zDydRU%+%rodlh}Ia38vAZ^b-XW2%Z%X;saW6n4rh=9AeKMYpl5ol_O3Q4-Xwj!K2I zrxk6IQA|KFIZab>x*VLrB!mxsq_V2w41JP@GhgvB$$T?^F|p!Isvn#-QJA)o_p=tl zJG-JEpR%T+n9axI6MD=0(L0qozHdo?Zy(CDbXk-(f=$&#OlI?MLG)O&TqxTqD4=;J zEv-(V&xRWOB}wC0%HwWt1b3yJ4~3HZL%Hl4L^utsuIu()rkd%%i7}P(YgD?z)hmff zHPV+y3F8rMsAl;JsnM{SlBjgim$CUWrW!tvANS*}K$XjCu#lPQ%4MBV^|7k%0MeMP zTs2iyABW0~cN$!lINi1Q*aAvG590Ekpy**uGmOB8Y;sn*8JPkz2z?j92v95(Dc-!R zF2vt91s^(tw?>j9Zwtm5r)a@#C~kSgAm8DN3%5{Yq|!gCm~F+vW{;?aT*~JPiO)D3EOFzsfOQ(c+ef@ z6)Mw2Wi%JPpRfr~ZPeeC7k9(>drdX&2D*i!?lNaQmz~2S`UBsL#mTdg@kFwSD`s}! zG!}9+_)5V^o;iH3LJ~*~&KZiw=iui#qVwmS1m$@+mY1LGn8TkPo}*)(908fs@ky+b zFWn;7{3Y>W%6w*I9B-Dlup2oc8I;Tyyl|kvSntGFi!%)#Qeef$2l&^lS|>gd!Ej+L zlDd(DvqH}J3z=Tf6PGAx;>NeS#DPg(QzI z;YN?ap*Rh~d{%IsA}+Ggi;JgFamr*MZaP4uU8p^{&_VF}eZI7IFf>g^uDHU6tMUQ! zL-kgjb?oE!SWoc1&N|_Vo#;E30djY7cTo3L`kncp@@DAAbs`*N%j>Wy^% z8e~Ql*MW}hM0XEF!@v6BY;GvM#u&lxbtwLh2|Ac8r1{&DFu~vxO}P}-yO>L4+3!Tj zO2Y?JVp#G@?>6AW!K8HwK;KG`B9bmoibr9um3FQ8Feuis7)rd*pPZf!NoFX$vDDEH z1%MX+d_1QR74KN<;|jEgG?EuKs5SCBYhiIL-oobn2S1!Fukkx4TWH8g&!OfJTOSpd zv{sz*Nv%p@GL>b4Di|c>I137nR}W-YhATUpq-8T+uFWa7TgZ#RWO2q40Hr50qAmj; zAi}4Ki)rfyanja&@j<1PC$tzo-HeYRlb9?lRz>eSlqJHRBJ5~zjQ&$@CA%M zMa-8ohD^1_r=jAbCAV%ACxBH8POr&x*m2SO-Pw$4!A4@TrF}v7N%`22YQfiCTX==g zl2|u}z>1%+X*0#id#NW1S{4>lV$`k-I#de}qZYRLw@{OVmga_RN#dmg`j#i#GYUS{ z633ym91@hrMR7!oIAf!!I8w)mr&|lhE%D%Ia1baxN~TY+(kVxLO@qvM6bpOtvKoz< zf}gspLyHX#($=Ep#0R>Pj+=Amcu-%C6BA#tYX5&+IN(e(63KqK%!q!^1GXg~6_Z;}4+T>B_Z&2|jT_1xF zDoG*z2{Qs8ra&Ejht4pjCoZQGo-{PNI`EIlvk>0--3X^s|D2dguJZDq0~-BCgOmSP zDk9ANiZ1AJI;>M}htGKqfKI>p;P{>2eXuCQxWatL{x_bKwv&Git06cjZYO-RJHn)9 z9o{LYlfDz)!7nZg@BD5>M2CNgW0N$fp3B2u0*vy7$(k?ccRGR^aMID_LOVMCHE@)M zZ}mi&)T+bpVqfv*l*17)mxELqe!mXCUx(lARE&;wVr5Yk(;{jRCrx-{pH*hcBBw{GRp#ZqmsJt7ZyJ|S zFMH)la`1HgJLPxg6%w;YN`LsX67DNyk(Z}0Tt~jUD0gP$14I~#3%@5?N^~J75i?Q> zvD<}NZ{mo!TRHkhX&@IQnxjWd#=XkX4<_T5a_0TXc%^dY^T~MecPS_1Rmz!vC*yYE zcWEc%#ow`PUE9;rC-p z1L1Ic;rAscSB`w1j0cq?cPHbaQg6ZSQg{RH2$xGW908^NU9N=-n@i0+ z3jZ-j!Dk%>4<7|T_5(PL9}{1l`iCbniAHju0>6(s3517oZm18o<3||(U^|k$Gmg-X zos1Xj*^vW%8t>BcrZc_=fm1%i-UwX9YXVNfH^|$L7_oVxAY1>BFQoQvv_t{mgGqF)WA%MsgGYTVK5nTXpp zW$~P+2{!=`J4_|ddyazdEsJL>{B-@W44)#fdZ`S5OXF`aUX+JtY5ZUr|Gn_jRf_^n zMg2H?8IE2zjq#%VboBk%zvM}luRgBhclK1A@v@+d-@$u{->gyF%lhYM z822ms@zv6czF_S~f2N;zrOQcoJ@6y_PV&{v&#ZjgsV8kZ8*!xHTi$V$cy@9;c42qP zu{qttcyV4MU4bt$HJ1GBF)ZBqTpkBuTH^Tm;tqT*Ioi|R*H6EO99=lccXmgCM0Oxp z;3it;&z*M~e`bKbwUHq2sR)P9<`0de2XQ!x4MzAOwh1L>CHXR|PN#F}LQZB8zKqcs zb$pbJ<1R+T1}KiGbQ2+p*XomG&4O_$i-UpKBfw^5ln*Ir2*;vSbaBtJ1?@f2Ws4T| z;U}i}x1^|ilLIqnX;3G&k_3dO1kgMS&&SuSyF1t%s&i5NnQHxW(ed0k$F52l;v@gV z-=U@tphhC4zbDNJ@Ubu2G^Agro=n$?mH$@tWG2~3jN+@I*to!fG@NumeX$jNayG^6 z&nZp%p>6Qy(tLOe?>gu%<1`=tN;VanDh$Npk7IM*otN2g76NI?FKF|Asqp_Fff)Fx diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_2.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_2.c.svn-base deleted file mode 100644 index 192b2b3..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_2.c.svn-base +++ /dev/null @@ -1,87 +0,0 @@ -#include -#include - -/** - * This example shows how to use SMTP Auth with libsmtp--. - * In this case the best SMTP Auth mechanism will be - * determined automagically. In the next example i will - * show you how to force a specific mechanism. - * - * gcc -lsmtp-- example_2.c -o example_2 - */ - -/** - * the email message that is to be sent. - */ -char *msg = -"To: zheng.cuizh@gmail.com\n" -"Subject: Test\n" -"\n" -"\n" -"Test From CBenchmark.\n"; - -/** - * the list of recipients - */ -char *rcpts[] = { "zheng.cuizh@gmail.com", NULL }; - -/** - * main () - */ -example() -{ - /** - * The smtp_srv_t object. - */ - smtp_srv_t srv; - - /** - * The smtp_srv_t object must be initialized. - */ - smtp_init (&srv, "smtp.yeah.net", "cbtest@yeah.net", "smtp.yeah.net", 25, 60); - - /** - * Set the credentials. The second parameter describes - * the authentication mechanism. If it is set to auto, - * the best authentication mechanism will be determined - * automagically. - */ - smtp_set_credentials (&srv, "auto", "cbtest@yeah.net", "yijiushiwo", ""); - - /** - * Connect to the SMTP server. - */ - if (smtp_connect (&srv) == -1) - { - puts (err_str_error ()); - //smtp_cleanup (&srv); - exit (1); - } - - /** - * Send the message. - */ - if (smtp_send_msg (&srv, msg, rcpts) == -1) - { - puts (err_str_error ()); - //smtp_cleanup (&srv); - exit (1); - } - - /** - * Close the connection to the SMTP server. - */ - if (smtp_close (&srv) == -1) - { - puts (err_str_error ()); - } - - /** - * Free unneeded resources. - */ - //smtp_cleanup (&srv); - - puts ("The message was successfully sent."); - exit(0); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_2.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_2.svn-base deleted file mode 100644 index 9a79328e5b19b1df330257a15a2a90be88b562d7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 32018 zcmd6Q3wT?_weD=mlDDI6TalbtiW4F*P?v(^KnR9HYsYb7QztRDL(PGr$dY1-*p`sw z#Gya~4KzSf!lRJ1JVIMaXj2;cB9uPTLLuz|4lU5q$7yMSHng0c0Bujs=_$GYT5Cp< z1-Ym9yWe-eD}Ua5WvRCO4%Mza zxE`;LWm-=O^|sKW83HnQq|5-y!;AlRjc=bJaC1+&m`qLSyWyiK@uf6hO7offc3l;7 zwt*I#7KY=4q z#`UZY@2P+<({L(ZM2E|7CmaQSE8yknZ`Ja?s{($qPHbld{B;eVjr(yrOt%wtIthf! z(_gIN*H*wuj`Z7z|8n{_8LCtt?laYFwcUv@#INB4xChh>^_uSARXY9W0QalckL=a- znp}NX!*^A{cLPr8Z_;qn?gx%Se=*>Jvi9mioPJcUfbyvp-7k9>ic2&)I-Z$`<_oc0 zAsSWDwdsj8fbppq1!H6B%aSU3?)vCJax|SUBy(M3v3x$6S7Ygs{CFXI$|hB;y5@%;ivmTom_A zPGu)KnG)wjB08QQ)huI~e3EjHQ^t!`G?|DMVkq%QJ}QoSN#@?Hs?1;v}k9H*q{iaT3w1S&m;qaT3j|YY@kse^maS8$3@{ zMO4o<`wOlk&v5a#o8Rh9=d1yv>bdTf&Y{7{k)Ds9vk$bY;Ph-e=ZGt!4(5gO*d;q141uJd>R>^#!&81Vl^S)cjn zhF2c<{1rj#!p@6+@aWq5`J1_XtC8W2NRtXsm;>_n=#thU{|!L&Uiat^I*+{cgGaY- zUk#d`t6tj+#-458>PNXcA3htA&V6A9)m{m4_iUSW4c|`BQiCPlqS7;Q-!{*O8B;qc zbRQDB9MRoTqC2=3;g23ZGC6l2l2r$9BGh$H96S^E?|@bvTt$!@JUiT|*$r(v`JNkQ zZ2;ilanrd6HTU2CZn$R>M2d9qc|a+vfMj)|CVm=V)c@C%+4qQ%3-SU&B!j`8ZS&5y zkhiq$LJl52QV7(~2kehF+V}={4<-9LHTH!hJMPEzlsxrbrG_$RMJ`JvCq`T2lj+M+ z9i!v1^jK>=Gd=^I;1cN0vm!&ud|}3n8FY&*%VowRT}zS^@zi)Mx2|=DdPinfrL7y2 zu~h3svY_H41u%CM<7#92lJsOgmEMq1vB^RPwHit#Bjd?@J~o<+Y>4F}`N?=3(Y2Ff zV;duRDD_s@AWiP~lHMfQ+o%G~&Bo5LE*ntRl;3J{s%^5F<^o6m&p}o^H+I(fuXT0R zmg^Xx6%85sQJ8)bE5!v0{i5|U9AgKoW8J%J5nOXrC=f%Igb%d&`hIK+7 zjo;yxfGOWDjW;^$6-{S!RY=D*n~G??MT&)fFUYMZAEQGXHGGTC*uW1|3Bu^q{hH3` zQj;IV&gI{&=^-zU8@U|P@hdg{KXu%cQz!fX{ATRx%8Wm*1%8*lKcMg5*7v9N{a5<_ zCw+fQ-|Msh&3tUqH}kNGtL0r?XGL0;uU!4^$Rb!Xr$$a~Yin;iqis>7WgwY|^u!7R zKV{LPcdP#c>c#)xP@~*5BBcjPKdQ7&i_*}668-H%N=5K*th-@^$tJrJcd`43F#Rsfp{Zb|C4+nF-vCy`z@{(q%z~l1!a0{LDBX+g$>UIiA;Qf=Ey5o9wuwF zpl1K%W|YWH1J$msnw-d|M<>vb@l-6QEW0Y7%H#@>A~-!!P_8mEidR)vO=I$ECZ_dN zF^Q*YEHg10p|I`InYp6TLVBFaFk=U;6Fj!pJ_g08lDxfM`((tbcLL?L<$4YQh{mNk zYgTxPgA?b=w34DiC5+_lwXXt$eH$*;Ye>0`~Vy029Hi_C!KABse%qiDG z0r;IsKqg}2N##0KKp`iKmBWTiE}>kf2`J*^lCd!)vq<7C&S2+YpK_fp(KZJqR<6bM z)T^4?Ye!HX*BSd!B3E;VlSTU}SGz=)I&0Ipd?A{}Dn_}^BmuaZdz^fHopPP^%pk@3 zoqT>QTG*IHk=|Q{B;C#E8!Qx*B0<79=P~49{|XloAqk`A47yM*Lc1ZC7RmJyF|*Sm zhu8<)(4uuSaH$tWd@LE8n9LGxm~g(sxLl5uhTT!Bn=FsqYY0p-C6MM(?$}!lwHaF8 zY|1@S1?}x>_A`nKuiWt&41$o62A5H}6Mlw8oc_+C9_3CNA+PLQ(XHHTjgVR9?oo-h zJ6)?*tms}jq}(ZibT}XE?p@vkK$`k0i8U3QNMMEMzGOCchJJLI*C7nAO?CI$cLM6Q zsrPtUnEol00}IUfIxNss#M|XeOpYt>QfVbs+enn%MC58lPeQvU6Uw_x(0(G0#>U1n zapmn1Sc3xtD671^cS)s@50%xv1yN}^3f0gBsGYb~Q!9FHn)O_RL!Dh8P~LNABjU9m z!gZ$Q>Kt6TFxtCvsC#+$fT~{g6rlcjn1f^aiG{Q@O;3zc;X~D{*kW*AG=)DOc{sn3 zSQS^r`Rzg$i(UH`D(3v2Q~(-FNgmxRSFh+E=p5=^s;c`b8v!rr9f}SP4fL*DuBy)~ zfmd}6b(atWB}6|+hdP(^bsMI^5^iYmLIWKtL3=w-H_+83=<@EBC{3TioL|DMUfFwo z_rPEY_rVfw$%=l%FjNYa>iFKGPt;Q~51W8f$$ zOi`KFR8ItQY2|;9&Q}En29*C~>q_KFWnQWLr|3u|uo8r=I@TVTXjA?+i)KJ*J}Lb| zoystm9_`SzL{(=WqP!1F-lJGIjEJzZ0aEAwE^9w0p#rfSm`;Y zy7rRQ%c3i~A^Kc3rhI=lE+dm`qvJ^}`y7v&+Er%M(2%d~7X@QGB>LL(1c$`B&+m_R z_4fDBNGyDi(u=~(O|H*IU`uLrI)#J$@{SEfh#(bdIX7&-x<+BSDBt)vd6skQ09nEl`|%d5Io)^SYT9vFQmbiYP-1mcC!PlTj z>ISsX`^zOGJ!f(fg7JS6i;yzu=+3jddNLsLQgvIb6`Z09l2)#}&iWKr#txvta~rb- zRd>Cvfj>a)#&WwsgBk*v^m`?!v^5WT9q(MmBA9S^F#Zo6h3mKxlw zYp|x&D7R>elr+Jux(Twn$WeCc)qO%UP6gN(8HG`SCclk&-OZbyM8yM<-Z&2wB*G4=y-xUQ?`12E$Q*P-|GJ9WU2SC ztx)%pz^WXgC2wfm%K{PoUiXR&GJh?1p5J{f!hOe?%%Tb){{8a|h`>OBH&xXgJjC%9 zOkvrLs_xa<+!AfI+^zl~-0cq8ovQ9nA7Erh?a5TQ*DvE(4~(WuC)04HM$1b1#wJGg z*YYTMQ%abq<=**ciKUDXr0;Ba5Hj%loT4Cfzll_D2qe;@a0sZn7Hc~vtNYEnO}~*w zJIRcj07N4V_8#3}A<3)%1Kk&>>ZvAV;=hY>!Wia4Bk`8%DG~Z+DV}ojvGuS?$v~^S zMqpL74)xb-B?eOn&7$gVzJNvO7l!hIc8d^(oLB)<_Q)jM8mjKr$L3IzM3if3kE*_G zw}Zkw0)3Q7QQL2?z6^$GLIpPpud00+Sq3kYSe27i!4E&decN_MRq%2N`&pj_uaLPN zR@dZ6l*$&oQt*-5Fq$m*5s9_1B@nzy(rl}}kZ@PmHdC?Mol8}4v(R-om#E-15{B`b zL}w3PE5-z@S43%C20tdr45J54PC&t^;1*$7!_o>~FZfjLy_C%j7ojAs=Bxu{lv2U1 z6UUR~yUD60O%U8hia-X)(jI8=p`KM3BOiVe)$?D5jUmX0_%aFAQ~lxEhy|7;nNnn} zVzx-;Xc@s3AAOmtW3y=n!3#81h3sJb)P9l5vaX9`As#Bhap8#6zCy`PNKA_=V?;$7 zFqk#AX)#M~^t=k@Qk-H3+IFy0RbO!p%Iv?Q9tF?GsCBngU%{;#_?#pttsA&c+Rb*v zn%AiXb_)^gY8AL&WEw*A1U@g}2s%LE3leTAHhJKS0%_wW4?G~Tc4u9BV!aCNm1u{P zQ-KF1+{3*g@D<6dpL;{#YtkErxd{Vb7u*_d!oWk)gehslz`i$5Ael~a3kJR+Ew~9P z4k9Qv;gvT+2>wlQ$B`s-8?LFolG`wFooPctVwPid6S)58EKJ*B;XwmMF`G?77F#`> zqn{BVhiQ;ryHN!`eiFk&3?I)VqRA;x-;`o#gxfrD>m3|x;WiI^;>#Rs<2Dc6Cb4!A z$n8?;j#_H-zz%8i9!{GZ2#v1-cfQ66^fMS8kAZhfIxuWtud3=zH=x@7H?i%JlU}g9 zdK348dYy&zf_h$@(~^USM*YrjaS!&hTvgZq zvViLE69E+*-JY-&6HyfJ^U`;wrooZ&7YI&ceHsGg+ariAmZJ?@+4N7Ua#VASAU7=cGNDUGGTtG z`teU|^=hDrB%oP=`W=SmV7f7JUcjLen5owb7!C#M?Ybw{Z}=6b+`>Jv{<0vqZyWc- z`VYUGW9{4%>o1pBhY0!#5p)mt#QH0xC-!sNJW}en#F=@RL3%XQ-*7Vn*Dz3b&HC*R zF%Wa_@ab)5s_HH8f^huTH7GTOI7w$$^_D<9iOtva#M+GV)mXhPtY3qdKtcOvSPz{@ zQ9Fq7tb9J}z4O|n*ucP8OT2FI*Qh^x9Lso)opABR)W9j(DXgn5AA&ane3B#uX`BZFSG!@II zlyAP31(5B)*yNP*9cyjk_zv_+l6JJSZ}}>$A+Gxr#O?n%E)0#0jb?Za;jg~V;YhlW z8dtt8U+1F04P#7q<-2aK^i7>$*Fc}DzWxuC+ zSlb!dNH&k}D?j00hS`+1e;~Xvh1&nDr%;|=?I)#HQ|00iqj=lnkcR(d?5327L>tC0RBv+-RQAh{ zaz@IDPv&xH5Hr2nuSmMEfvB_F2e0Km3tuQ2Z4!qk63Tv6#1wMSS0J@NNHii+drhR) z;$+~Y&5;*C+5aXh?lzI+A*ofnNb+@&WQR!d4UuGzNb*gQWWPxA&%!rclH^}Rl50eg ze-%llM3Vm@lFT|7dstq{P*nC|Nn}a{{GSx#*+o>5{oho3vLziH5h+B=D*boCY_*Ue zd6Dh6sM^wK@ad3fBAJCDYgcLbXEhw| zcMaKX1x&+8J9sT>2zT?|5+a??Pr`Dxt2Jt02}Oh0wyk~)Vt4a?i#4Y`gEgnS`2ejX zS1#{eiQ)6fH_%NQur-^W;9+CQ;Obx1*V}bLbZDR(G9~Qtfo2=k#7>EDoRR2z<7xvCsM`!^rCsB|lK( z3O%og$E0zUPBav}9RsnkUq|QiGO_VI9gPHX$wF>p6b|crW11DxR+!TP?AW?7)aF<^t=OZm7!G-;Zn0Rr@gL+Mi^Dj<*LOIVED|)OHu^n=TIzOT$ zX}OJ?a(*na2HBN(RvZZ-HgTQj1Q$`V{jh4ux!qku%6YyQ`3gw8+ns~tZuieS2IqHZ zj|6VxRpi>H5`~;YFi7Icd0o<04jGir8)8q|Y??UQ7X`oWG=Am$`De&0v=>H~?flUS z)2Me|W5p64$z*8jOgaB%T>@WsxNH|jIe)Tvx>{N$pU$VtO8DPaRfJM4tZg?5{@t2EAS~f==*7h%%foSq_Co3w z1JKzXM;mx;>TO>8VKlVYrd=-#I=+5@uL-_x;_GdE-NV=4^7V1P9_H&jG?v#sldprg z&RUKlaO06%kGhQCc~w-O^9LRTv=amSVG?C>xlTnV!%|1h=AJTiL4UV$+%7-Tn6nKR zyY6F6)Jy8Nka}r?^x(H9L=zkqa8TdE!4%xjI}t)b$PeJP$tUEs$?a!<32+&E6atj| zz_=n}KR*p8+vl4>1pFg}C%&iK!IQOy_}e?si-#^?65dsX`%c1E88V2)s5~wf6pE zdK8jEa8kqtBHC&3+V=ow(}ss+&7@S}QlUZgBoWazNQns0*9l6irV_Mag z*vqFAut4~tE7JnJ*B->Rn)Z_B((b}eB*OKoS97Pz)sg@vZCZZDoV3YHtl9v!9y0NBGtC|ADJrd)RJ5<~*>i*c)#3M?Q_@-` zeITlq1TM@f@N^pHlVOh9raS)wc3cAT&wTM{mwF;ARcm+mUvLuPZRWa z)1V@5ZdaBDVQXmLyhcl(pk8|)z+U?>uGQpnpIduk*&zLhI)=0H+64Bm#)X$bQ1(0z z__jL}nZlCfS~wk)?MQ;OslV;CHX@U~H+ zA>VD{&{4kI#cc*>&Lo_fao&ya?GWdg-beE7{1#{GM-JqW^V+l-rWbLmm(bRg@0065 zf;#d*CYKKe31zpe*viTA5vt9<3D~Y>H{PG5 zbbd##Lw*1LOD;;t;k9(Suu=IAQ68@5h?AFtzRLHy5Vbh8;o^Jax6IO}(^%cRRQcYN z3S$3Ico_I+0d~}$01fW@i!2CxP?HNO0Ty9b@5*J$_t%3|wbQUxo+9rV`*+}2qw2Nz zjs)0;p?s>iq|7DBG*v!JL+k*2k}-InTx@!fml7oP zUxs*HYM@`zP+H@z&#Z%|$G2Bku_efIe^5u;XwMyI>nyUUv6M9e80f?Cqh+h$y0f-& z9jN$To4l6(od}MRCoejYNw66eYUpRHzTrHYFnQo$m8=>Dh?KT8*zeacBz`~Y;pY>g zucvdcC%SUg(r(poei;O3zWSrfRz}(6Y8a;D_nMX&ikJ&t;X?fpSNm_c@ETeU8Ttb! zn?gd&dmC$1Y7~!-R(2DzG+A8i)ACk?1D`*3K~a zo^Y@Y(Ax#tQ3fSf0-Zqvc86el7>g&E3b|Mu>+Xh~0`H#&FXQ{9;D;H{tw}BxFn&r9 zYc%6H&bbKU4nd?Ck)FVbN;L7E0?aZnm&}gEV9+<*CD18`CX!<~d7>KbCLp`$$ni0e zf$vNZy95DO9U;gqlTNM&!#x7W4p2EfI*uWs8a^#ZYy}ZgDu82nzZpxBYx^ythzF%Ur51-4@^I`VqsRX1wMQhn#kT?#qiu-Vn#IcP_ z`wZk!x4$TwvCT|1Wo1JNyv=LQF6s~%&Fs3D0Awmy-*VFhjaYe5663jb7ppMDgC@xI43Z` zu~6;x;FvS(a*kndn6-zR6A}Op_|RdlIdir!zO9!0YIB+-)~@Wc0G4K;5X4S0_1aX# zM#{jd(eP!6*pz08y3ELDBW*tt0Piq}j$wb6*S;EIX$O6%W6oS^1+V>aLafV;oE~N0 zhdSnJnm+{sx5sIxs$*_sQ7{eWDn5{N%>IYL2M-ml{vB;ft)s)#dSj%0-beZTcRHSo z@{#X(*O*~U$HEDm%3zewyH>zx*ReG1n~w?X@{-3Er*i9lC%)3Ea@nklU=575o<1nH>FgV!9J3RBYy}}iF0CkwJ zPFITRfwJwhJQs*z;92U{U4dP+o^BnjVh6crx%;dx%Fqtv$S3Vt=_aow**Y6IzDmd8 zpXGSJj>9t8fHTlg%bp8$iY>~4NRQjl{;w87{3j85W3D(X2;h)oOw8hOkL7tyz{_XBSCR@Ph$ScoJ-83_xU$_G}B!aTNpaHww!M7-p zpXp3?yK#n89w?Ds`*WSzUUxt%FLK}VnEQoBebudI{YGmPIe1HorN{FjOCQ$oT+AvQ zlML_nc%sGK9;}f(YxIVcAFC)FP@ppjC~-_fLkvZN*l_02GNKWY5;;aqTtizh!i5sM zWH3%W37vHtk!x5|!xjbj0Ig@OW^U(rSzeJmtK#w^mPg2u$} z8Mpk4pMK6gw;+M2}9mM2{*NaaosGU$zXmoR0eCXiUC9UII_S)xo+qWO_6z zHtAZ%u!w=lR3S%oJyR|*1t1R@0~(v6jX}>w*Cm}st?~%b*aDuhh3eAS_6lC_?#5?{gjEbgU2URpWKZ7nJ(nl|Xjwk>l{g)`#wD5;%56sJ$&(?fgjN zx4TMe<|o|iAa9peGe6aUT`o~GFK`bbJ*<`a&t0O-p@?}x`-N`NeNc9!n1AJx2@T4Z zC$wK{DId^^`!|~Y8I+3Xf9u-Mitaf*8NB3@$pGrsG~wG6{L3y;@KC5cIsD!wlfx#r zOp>p$qKLgj&!4S`+hGE2mHx`d$^`<=QH9N*Upynkao(&p|!45EQmwTqHIp^ph4p=ss zT!&$=VHnte$ws^9GV3fR#CQfUpPDR?>p&uD6d{& z>S%&tCZID@`Vo5N`G}R~>@cKtS)+1v%X5`=3u97@5tBfpuD13u3KkNW66rk7>cvxd zIF1d1kLui}7|W{<&t~gi!9gwn4V;4Af@O*48q4PSc8kT@M$cCxnDFWOSkJZA@r>SX z1#rs1Jaf6O|U(K{sBEMB-m8>OBt);fmoviSIgq>9mXofU*@ksJbLxhc=})>TXn zT|vU3N=XNTg=XE!DCi186?N-Yi&ju{Fo!C18XpSvY_q<`#0RV(J(TJBxXuomfzmXZ zOjrFz>v^Vrp-d)P*J+CF)?b+7MN8SgMW5sjTtgu&f&Pp+&udeMZ>0We8Tg+Nv8l6_ zsChq+7slXFK-tvC%J8>A_ZobJ@YE^fL;~d|YigQjBt+9n4LReHTnCX;Pbo`|DS1U$ zLAQkLhwlZdFVROZfk(j0-5zD-1ArwI{-$_l256y|-e{SuKLL!@-!ofSaI zJo4IgfY|RR92b*9yrKoF8{ul9I*F*(6saf#g0(~-P0&vS)PW?6{lJ6ZQi9%2P`Vi5 zk{#l;KL$vH={BaT!J+&a;-OAaS@{R6IL${0PhFz2-WvZ4pxE@$Yi-X>7G*g91Xvf; z0nJDR(6e6qh%lg5s9+@}3u8C5zhImM0#{%pPC||boGh&`^ zFul8ZtMzsY<$1*FMhR$H7Qns^G;)4&oX%A!&$qe6z___IJPTt5n8r|itfYQ-&Uk)P?~fd^4=Yyc?FzglEj!klpP zHbDunsY=bIX4#1b=FRMCHJ5}`j4x1gSC_|+pvR)UWH$yK2;G(N7)9^boo=vuaIkmP zN*DPTEbMUDrD4Zw@(}^wqroj`&%dEPa1v)0U1@K{ zrlqdF^pPY+5l`#8boErCCAGAJ-EREej+I za#Wk+Ctm{8YyS&5djC));Q5Fh*8~HeHc!3wGl! zTt=^wLZ1=1<7^;jSm?g}oS47%INU?}$+Cu855`XDemW6AuFVZ(IYr4)7SbCO5e=h* zbRoS-aeVFjiR+7!L5q`4j@HXOa z3NfCNF(?)KmgJu*k*mn?-rfA9ReKpF{G@oFHo0oIQ1mH@ZgDvUJO~#0#b^4sXf6zk zo2l!P%M+dKv{KjgSHTm?r>evKJhP#-)|5lq7gza@zrQ@JX_cpU7L%Ij>G?-SK*6TEx4P1iRJh-9G*&?NUHFMG#=}D>h&rd zwI)`Ql(3-Z{v2MT0h?TbTn-P8g-0xlDX{q7z<{_0U~Sw+bsV)GLzUq?b_c21!YO0J zxPxhmr>*B0zug^tmg1La{H^W)5AE={2JCPLX>f-pbRq8m0S{>2G6`oic$Yg!<2Rhu z@z1)0qy@s4TBHWZn4#y@)7afljOGgqan97DQ-kozPD7lEQ~IdR-X)um=Ab$>CL*SVr@DF?_j(!$x69aY3oVAJM4)Ci4s$N^@+|lG{{; zj#Qeg!<#kv<|@2ZgK{Wg+3y;@MiXqQ(#P@*v!Jil=&e=QIRG<8H@Se=p%mVtk=v0t zhDrGA*45I!bi8o|wEKM83rG~k^7Nt>t>gPG>=9s73S}1$l4`nPKiZ15JNuke(^eYw zFtVLoe0_;*n?R4p*k{)i)Q4*NxbQA@@QTuGCZ1AFpZGkd*5hn2klO@uE}p3@jK{L7 zY3GXbD1Dp269ycI=6%v=1cejcIlX&DB;}5-c;u zep;}bEj)FU&1K>+K``)gahz*tx;Hn#9p7>)F`p9*_VzK#)+TAkO}i?N~|O|(ED1WsYFgS?TtYSv|fkoiogd2c*x>+IyHUemrS$E zRZ9c3>7kEtG55G?DZwV5i`>m$b=A`FY1#_n^~(&%jZ2GO{iA9G<=fIn{{Kb|fW z$QjY}O~D)>eL8tA85^{5dF<#4ynHhBFQV$7AsX%!aG}V%2SPs*SQS6TRaEgm7AW>E z^J6OXti&8K6;$XsiTfRF52?`e62ohX;-LMB^eAj(>bI9*uojd3sgSnU(i$!Fg2c|I zWHJB$Orjk;3#-u2CAw72A`Qng0~8!ys6|#yd-z>)usYnr0|u1}D*VFlW^F}_NwPD- zC+Vmiq<64{-($(7>c_}~r$>cP)_@Q%m{j-_9ghU0=Z9PMW&pfw$xEYT>x36*P#doS zPKyq7cddf47H+dh*t1Aub7`e-QE5Zr)9~^RQs|3x`YJ$G4llOIjH7if88b9PouR9P zV^~R;JmGd7Z_t_H)icYw2UPe>YZmf3ZYTQcVJm#SY?B#Z_;^Bvw_1OP>x5=Zt!@c; zBLmq%R)kXHsIa`l1Q-`DM)}3a(9y(nlV-x!8m&`HDB-+WYpl)KWy0{oGqSQ95tg@{ z(9Bar$W-wO&9R-9iyO>KXTm%5f^>&FkVvWUCoMV)3tzn~Dn;9=@ZFjj^GGfUN4y!i zDtwQ|?7@6N{TnY1QQ^;OAZ8cd+m|N1S3|$5p(^}2i$sax3`mUk^)X-Hrx(6hPg73h zcW0%1zh*z+W@m=HmIY#@t*Y=BH1f$ZqzdohhUe8bZ<{v%{!N@ zf#UM}{c0}F{>8YZ=8}>t#@%?c8y=#-^9pmj-v9z$$(ONaUf7e?`Buoa#CswwJ1%6`(6DV)CI zB@3n9)-=KgSeoKgMp9*@WvK@@B~1D}F(heXz&QoHxi2=#YmTP1LJ$%V^Nb28f>Wi@ zI8M7YrS>yhi}Ig6U}~mU!IZtzloNAY!@yAx4y9KZCBz0nRPp&SHYq@TnE-9&rzuG5 zGm$2x?{B)&(Npe6qyoypJh_P)1zJM6rg5mItEiN7X^JQ|nODuduRQL6LWxb!!u9{;9Hd!TUkz-GlQ_lcG29BsPDM#6qf> zQl5W0<$3&>$mnN?R#m;{1as)E8`{b;v6ZXvD5+A-Ow{TJxsP5~xF21$ziJV!F;&&+ zw5sMw3OnUhi^=VZsyo=#&a0|3C<|&GBGXOnzz+C*X6M%m9j`$y=eC<{lxMbb+h_US>+207kK>iQ&gXj{tZqEk;I<{`smJ>kPzkybRrQIA zZuTt83ckysV2y_%GvEoKS0h+KN`(@|!*{jC^y$+RwTRY9b`-6nH1L{8oUv1WW<;LC zICGYImxK48Xns#`kQjoRUq>5)Nd0V(%_?K|z#ph<1v0owq@WN{BXZ;PK@u({jPqzk z42s;OFuT3xGa`3PzCmI!_M@j07VTHK`w4jDX`fj%c!G6irKjIum$G z!aAV^)tL*Wcw#Hy?{`eg%(MblhZo&pQBjyK2&1JGeZNBhbtZK=RgJ4<{jIJRR}0-j zQFmD|na?fYLH)MZ#^UhV*kmGEf-5FA;0)GsH2%tg(;^G_XoX~u9$7FNk1v>NUmRV$ z=oHw`saW9@yhUYlY5~7ac!5rJdIIEC$6K-FiwXR)Ta=nUoY0!0!e_@O@o>3>Q4&%^ z$wD!T04j_nPkfyOGoT?GR$_dHfBo8x5+f~)5QZaJ9C-w*bQ!(ko^QEp_P9=&<7#QN8|>pg>pG6E2(~ zC6Fm7*>UIgjY7fUwXkx^nIAYvC^4G&6?1GA>b-P+A!JsSmV(B8qPqu@;je6%{SBp; z8DscdhvHY6po7U;nqMyoFAUz&luu*Hi|IsG{w7Jb8{VE1gQcwWcmv)YOoo>L=yeHF zMKb5f_9$+*(#92^2gOnrLy6b=)AQ4uV_LPJJ+4mF3k`>48PxZsjLiC(I+7%T2OI3 zeIOe%EbLs8R?c|7Hm}%qAJS!)tc z7|@G5*?Ccnsn$47pyiRF+%AbDVPc@v!OJCyji=)%3I;k|S~(+06rZL+3Yl?odV-YB zH{v}SBXs8t9)JqL6HZnq+ikcFWO45Y6s3rn2nIPu7l0^TnLO9#3{)%q| zKFV%2^hiNtKcLHKC1!&IT-!9E>?uT_86BE-IezJ_{cMARuj^aBgQg(ku zqQ$G}cLspzmGpYC{8#EuXznLzLQ}rV`x4;kn+gVQzN=vF5zSAzq#)+g!*pAxEa{%D)`O!-pt)L71#WR&m?QflE3cu_>NtK>1k0w zze;&k^4|rTa{eC8-}4Xh-&?^ytoesEe`S7^@y}QAuhIN#{z3kSz)xMy)Zct3#C(@; zJ5{a>Z}K;C*$-TK{SW&hfI$8}zNr?u6|aWh+`kV@IluXiO9YEA`mNz>>0V_&WnQlXQwbyDum6MmWS+kh|L-(EeV3&CS4mrY6#gqlgzGmI3>8t;bQJ!J z6T*LvQ7pO;mHh8I3jeOP!qBey%&oHh79EBE1u4*r=7>jG7;%7X)gu8KDiaI zm9#T~smOw9TP_inb1N7sqMUbyh?o&aEBLpY1~-1q_+Ny7Q-3ork-B`R{39O*0>3vZ zGOUOS(NV5$l+M^O2QxScEWVHSDE>LI=s3#uTO{D zZ~Oix;oYi6nR$3R{S3U0vK%5|H!LwTZ(VqfR4Ep9v*v#pIebN{q`TWC*BSO#I5EX1%Av?;Pa0HkGu^|-P?ullUDW< z8t+y3K4~QbmC(X>ZH)b4@Fy|+?d?l?&BB*UE8Dl5;Uzhn@jj^GyY>8Lh99YEDrZMU zf1c9t{T1+|m47p*U#~hU`p-=auTyQ>9zm3UcjNj_<^KZURGxBgH8Fe_|L-KXrvSHH zuOBgX1JTm&CHz~ixA*fy4EL-4igNy);jbU5?EhW}Dgd1MJ*xx$3ivV&r}->mh|BIL z9R>crigdOjPQU&N_{joR7gxYv*YGUEOZulr!`B1;PT$YH9Pr~b4c+Ld4E=U+IufSq zVh#Ty?(g)S+y^V@wb`J)!|=C%pZ5vC>HEBudf?fLbl%iOcu~{u)&16#?3JUW!|yi7 zEN9kVU50^NU1gu*g@?6}FW@XjYaHLU?ZOLtqkX-DL-d8-=+bGibGwQt@=m}5G}XFz z;i5D6Nq2hPLxQ5GgAZ?RA05k#;Cv3dG4L(0DJ9Mhc{!-gr+ej6&Sn{2&d`nb{Yi|n zG2v1|>=xmK%AMHJ<$bG`boND8En7B-&lmA`im2d;e1?y-U_(mRLZ`U&0=)RRw@X~3 z?404R2gmtazm;Doeus|{)0;3mI?6x!%lv%)hqjKAQ|ZEVJnz{n*)W>^wd3h@I-Tj? eF6JbseX`hWX_bG5SgIh0o8_Ct=3B*F!~X?#dm{n> diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_3.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_3.c.svn-base deleted file mode 100644 index bd20199..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_3.c.svn-base +++ /dev/null @@ -1,86 +0,0 @@ -#include -#include - -/** - * This example shows how to use SMTP Auth with - * libsmtp-- while forcing the SMTP Auth mechanism. - * - * gcc -lsmtp-- example_3.c -o example_3 - */ - -/** - * the email message that is to be sent. - */ -char *msg = -"To: bouncer@test.smtp.org\n" -"Subject: test\n" -"\n" -"\n" -"test\n"; - -/** - * the list of recipients - */ -char *rcpts[] = { "bouncer@test.smtp.org", NULL }; - -/** - * main () - */ -main() -{ - /** - * The smtp_srv_t object. - */ - smtp_srv_t srv; - - /** - * The smtp_srv_t object must be initialized. - */ - smtp_init (&srv, "test.smtp.org", "bouncer@test.smtp.org", "test.smtp.org", 25, 60); - - /** - * Set the credentials. The second parameter describes - * the authentication mechanism. If it is not set to auto, - * the chosen authentication mechanism will be used - CRAM-MD5 - * in this case. It depends on the plugins that are loaded which - * authentication schemes are supported. - */ - smtp_set_credentials (&srv, "cram-md5", "user10", "pass10", ""); - - /** - * Connect to the SMTP server. - */ - if (smtp_connect (&srv) == -1) - { - puts (err_str_error ()); - smtp_cleanup (&srv); - exit (1); - } - - /** - * Send the message. - */ - if (smtp_send_msg (&srv, msg, rcpts) == -1) - { - puts (err_str_error ()); - smtp_cleanup (&srv); - exit (1); - } - - /** - * Close the connection to the SMTP server. - */ - if (smtp_close (&srv) == -1) - { - puts (err_str_error ()); - } - - /** - * Free unneeded resources. - */ - smtp_cleanup (&srv); - - puts ("The message was successfully sent."); - exit(0); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_4.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_4.c.svn-base deleted file mode 100644 index d231379..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_4.c.svn-base +++ /dev/null @@ -1,100 +0,0 @@ -#include -#include - -/** - * This example shows how to use ssl encryption with - * libsmtp--. - * - * compile with: - * gcc -lsmtp-- example_4.c -o example_4 - */ - -/** - * the email message that is to be sent. - */ -char *msg = -"To: bouncer@test.smtp.org\n" -"Subject: test\n" -"\n" -"\n" -"test\n"; - -/** - * the list of recipients - */ -char *rcpts[] = { "bouncer@test.smtp.org", NULL }; - -/** - * main () - */ -main() -{ - /** - * The smtp_srv_t object. - */ - smtp_srv_t srv; - - /** - * The smtp_srv_t object must be initialized. - */ - smtp_init (&srv, "test.smtp.org", "bouncer@test.smtp.org", "test.smtp.org", 25, 60); - - /** - * Set the credentials. The second parameter describes - * the authentication mechanism. If it is not set to auto, - * the chosen authentication mechanism will be used. - */ - smtp_set_credentials (&srv, "auto", "user10", "pass10", ""); - - /** - * Let's tell libsmtp-- that we want to use ssl - * encryption. You need to specify which type - * of ssl implementation you would use. If the - * smtp server listens on port 25 it will probably - * be STARTTLS, if the smtp server listens on port 465 - * it will most likely SMTPS. - * You must also specify if the ssl certificates should - * be verified by specifying VERIFY_PEER, resp. VERIFY_NONE - * as the third parameter. If you choose VERIFY_PEER, you - * must also set the last two parameters, the certificate - * file and the certificate directory, to reasonable values. - */ - smtp_ssl_opts (&srv, STARTTLS, VERIFY_PEER, "/home/timo/cacert.pem", "/etc/ssl/certs"); - - /** - * Connect to the SMTP server. - */ - if (smtp_connect (&srv) == -1) - { - puts (err_str_error ()); - smtp_cleanup (&srv); - exit (1); - } - - /** - * Send the message. - */ - if (smtp_send_msg (&srv, msg, rcpts) == -1) - { - puts (err_str_error ()); - smtp_cleanup (&srv); - exit (1); - } - - /** - * Close the connection to the SMTP server. - */ - if (smtp_close (&srv) == -1) - { - puts (err_str_error ()); - } - - /** - * Free unneeded resources. - */ - smtp_cleanup (&srv); - - puts ("The message was successfully sent."); - exit(0); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_5.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_5.c.svn-base deleted file mode 100644 index eff0317..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_5.c.svn-base +++ /dev/null @@ -1,92 +0,0 @@ -#include -#include - -/** - * This example shows how to use the logging mechanism - * to gather information about what is going on by specifying - * a callback function. - * - * compile with: - * gcc -lsmtp-- example_5.c -o example_5 - */ - -/** - * the callback function. - */ -void callback (const char *msg, verbosity_t lvl) -{ - puts (msg); -} - -/** - * the email message that is to be sent. - */ -char *msg = -"To: bouncer@test.smtp.org\n" -"Subject: test\n" -"\n" -"\n" -"test\n"; - -/** - * the list of recipients - */ -char *rcpts[] = { "bouncer@test.smtp.org", NULL }; - -/** - * main () - */ -main() -{ - /** - * The smtp_srv_t object. - */ - smtp_srv_t srv; - - /** - * The smtp_srv_t object must be initialized. - */ - smtp_init (&srv, "test.smtp.org", "bouncer@test.smtp.org", "test.smtp.org", 25, 60); - - /** - * Initialize the callback function. - */ - log_init (&callback); - - /** - * Connect to the SMTP server. - */ - if (smtp_connect (&srv) == -1) - { - puts (err_str_error ()); - smtp_cleanup (&srv); - exit (1); - } - - /** - * Send the message. - */ - if (smtp_send_msg (&srv, msg, rcpts) == -1) - { - puts (err_str_error ()); - smtp_cleanup (&srv); - exit (1); - } - - /** - * Close the connection to the SMTP server. - */ - if (smtp_close (&srv) == -1) - { - puts (err_str_error ()); - } - - /** - * Free unneeded resources. - */ - smtp_cleanup (&srv); - - puts ("The message was successfully sent."); - exit(0); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_6.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_6.c.svn-base deleted file mode 100644 index a98c85f..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_6.c.svn-base +++ /dev/null @@ -1,37 +0,0 @@ -#include -#include -#include - -/** - * Just a little plugin information gathering example. - * - * compile with: - * gcc -lsmtp-- example_6.c -o example_6 - */ - -/** - * main () - */ -main() -{ - int idx = 0; - plugin_t **plg = plg_plugins (); - - while (plg[idx] != NULL) - { - printf ("\n"); - printf ("Plugin: %s\n", plg[idx]->PATH); - printf ("Name: %s\n", plg[idx]->NAME); - printf ("Comment: %s\n", plg[idx]->COMMENT); - - /* The SASL keyword can be used as a parameter for - * the smtp_set_credentials() function. - */ - printf ("SASL keyword: %s\n", plg[idx]->SASL); - - idx = idx + 1; - } - - exit(0); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_7.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_7.c.svn-base deleted file mode 100644 index b5b89a1..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/example_7.c.svn-base +++ /dev/null @@ -1,8 +0,0 @@ -/** - * No more examples left. Take a look into the header files for more - * information, the functions are all well documented. - * - * If you want to take a look at a full featured tool that uses - * libsmtp--, give http://pushmail.sourceforge.net a try. - */ - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/main.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/main.c.svn-base deleted file mode 100644 index f232284..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/main.c.svn-base +++ /dev/null @@ -1,40 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: main.c - * - * Description: - * - * Version: 1.0 - * Created: 2011年02月21日 17时50分37秒 - * Revision: none - * Compiler: gcc - * - * Author: YOUR NAME (), - * Company: - * - * ===================================================================================== - */ - -#include -#include -#include - -int main(int argc, const char *argv[]) -{ - void* hd = dlopen("./libexample_2.so",RTLD_NOW); - void (*example)(void); - - example = dlsym(hd,"example"); - if(fork() == 0){ - printf("This is process[%d]\n",getpid()); -// void* hd = dlopen("./libexample_2.so",RTLD_NOW); -// example = dlsym(hd,"example"); - example(); - }else{ - printf("This is process[%d]\n",getpid()); - } - dlclose(hd); - - return 0; -} diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/main.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/examples/.svn/text-base/main.svn-base deleted file mode 100644 index c09edbd56dc44d6f9a13ac91ef9264414038a068..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9482 zcmcIqeQ;FO6~FJjZ1O@v2p<9ph1CXyj#&c67rg*o{#(W?!E8beWWY6NmUfVNfoyWl)9@830Zd`PRx}eVeLW}hFBr4 z5!HZr;4)+mQj23cO0Jpeq^AL`LS7|6H7thcQcDs{xr9hDUO5@WTJ+gkOJpj9R|05< zWj#UpCu+MT&U7P{V;7f)>`+9z39_3YJEmMOrd&U)8(vGv-%`~831tHbc`sAh7JzSi zFB3+-K#mH!0TRjPshm zYi0Qx!6CNY<}G(i*W4b|90L1s7U^L8$49-2s4{91tB0!rt{2}q`fz90o9E9wxNGSP zhc7go`~3$9Pn+_9&a>qlCmwxyZ8)<_X26F5xBK}KRsz!3;IiX4NK}Z`F1(HK^)7rH z;WxSPeT46K;rCMi{}S**v;xW@oah)#JI;$EQh z#B6bl#)+SB0sR|}Tm5O8ef`OVna+e#8PgQz?R(7ak-k_u6G?T(L+NxREyD5McrqOU zn%>tB_vAn%fi5DsQ2#(YVy*>G!i*(i8DZ`Qf_drw%s_K9hG_Av@wFh-i&C4|olHF- z`XZTuSXd0CVu{RdVVamtW#|vZ62gpxLzxg{^rX`k4p1U2HU|S6Iw9a%-;Gcgs~J_G zn*38?RPrBI)#9-&t#OjQDh5MT6E9*WB+O3(#e7UwzFNv3ruN4%OkF1RP7+=N5)C1V zkJxa21~FsQhTG?pm1Nq;6$)A7QKltv{ww-}DMn`K5;eX@Qgd}gY z11anU#lH^^V;%fMo_|z%h5yiKMlDXrDh%7x-TwT0J5ce!`gRB;vKvQ6YrBQNc?9pL zE@}S5yNcjs0c85ujqO?H9~@Quc~2F{#RacPts&1v46$x(@7u3?{sydqaqc@kHfOoG z+dsJe=PEdcIGKebPz_m@`d7xme;_}0x}*5c>9OHqEC&?Bo8N!lpU+Odj1Bh62t0g+ zKYmgy`tw~={-OO-FaH{mGZu2G@E2eXjb@h>o&qNS`YXSKTp6MeL6xDdOT~$E3kx}S z?q-?0f2xoGMjBudWcm;aeE>^IB$y93O$PJvrb6)WiZR72g859-R51T=)1^TEqCbCs z(}W*#&p_GRJMzUq{>{Rve?#oUo~J-Lu7W_l^H$i8`n;L^d;iknw;Jm@1Ow-EX(8EnF(4Os931xr1gsUv| z?hO#eKX|E_Sukh$Mrho@b2{|%kcL?H0(FEn77BB)-Z+Z!*|R^DLiljua?DC3h@H_` z+6(^!sbp^?oxX2H_=~f^eu;KV6EqVJjkC-77@xr+l7*ARJ8gU zeHfk&+=t+WdaGk}(>&t9QEUhaa zeNs#!WT*z*%X_g&&62r2a;ham)64Wa(K@1wiC#gJ3HA@BV>Hiko1L)WQvY!CEF#?N zF(k*hPO?t<9FONrmZAA&ea5RSduUfFbKEJCpQC(o_o)-!U%CTbqW|O`;@fX z{wLp`rZ&{_dT1D{udR`S&o`!n@?Lqv@n-2i2anQ9xa1}V6_0~Ju7DHb1#-nMq20Zm zmuq;au7VzYy<&AV*&kW`P&AV0^Yvz94@Ggxvo>4Ja;LRAoa|jq(_Y#Nt=DMTL^{@& zfbQ&#hEhV&wRAL@%6LmKY{P_VQ$x9`MspZdlabW*Xi~+a#gmCXFY>xa)>E&k(lske zwUsF~9Fd?v613TRo`B|&l@!Wi~6 zuu!i2Q08^l@YJtd^|Z{63SB=6oUR{(d+kS{HcQd%e@7eyu<<>k4rl&aItTWbqj+i1N>d*>IOH-%v6|jwI-JnQB#T6m606p1wxE z`iOqtqx!u^?@?jvtH^l}*8tep<{D|OK|@??FtPPPODru{l|4iXrIkVzdv$CmOjQtDC&6!Z2@bx9KzGx^N z6~6Gk1io`fnn_tXdm^cHESYc!Cgi0e@enE!HxSPVpL{9tWg*fEM|3FJywxP=Bl!0w%!?+Z}$#}d1foEPfpNk#Us1h3l>=4I(vfc9cGo}|%GZs7ly!}nzD zRcnGm#(*0n0(jh5pry+^($B($Yb)C?RSl3}yb<7)Qu)TCg^@MDT!gih?G4ocM8G~m z647pv(um`An_zJZFt~SM`I``cKND7PQO-v$Qbvps*$YF@{R47zU8tn)OAbc0@=I! z+b#bIw9yyWe~RqSlRei{Iwf7^k-iNVHIW?_Y`?&j=@P}c8SLScqf9Lhua&Vrp25C_ z>~VdvCwKf=0Jt&Kzk}>?H*QZZQ7oLn{sKMtkJycYciT73U_UU>eL_`<5B(N65b2 zWzXY=;q^1vPm#U-n>O0G%kQ7TUZsH(})U2x)82%hhq z_`=e6CMUi~@cit=7Ym+uo%oe@vBYbF26qXu7)`imJI39+aK`a{u`+3bcb(2WO)Pf; zBx%As1AcV{4o?J({(A95wc*Iad7uizLTsh5D{zpLt%YV`}-i}DTQ9M&?l$`+gw8SgN;ZFg_ z@^tG4aOHFg*y-AB997i0;#pVRKhJ=F0Jx%7j$4oHuu4By&VXM(1CHy=bmiFwxT01* zU-tm+6_w9R7;yWVbR6pgDJSuIF-rZy)Ar+p^S<8F7UD_3y)4-14`#rhmww9gm7i=z zBwlvF=fQ8e@Eb_w9N=@|^qS|lD#AYoym6ZP)<8w<_2u(pd_SJ6Hi(n1@vutb^8_AV z*;AYJQ!ns%4AYRj3$Y3C>CTC_6Yf4&{(|&F#z3|a`+y7INBCD=IG-;kB4HG71iNt3?29LRLUB`m(lJBXoUlIpgtPtq`#4V5mW?vZ zrtKYfc9|?;80O24EOh(5}i=0GZfpPJyyPb##J53J>3I6-)LZEg;3-Ov#z(ec!+j@a2DU;INjr9Rmt=L+Nt*!WIi`Dw*?Sr=3+UK=a??r2S@lh}Lww3>Ht+mh0WQ6a3 z|KI<+CtuFl`?uD9@4fcgYwvUBbDcelOv6ylWvY)W^6mFT7?QhET_fz(Sevp`L>;e= zQyw60{70BVPjNZVeL8CAX=y$eo)zRaHDE@>p`VT7Q_j=LAw4O*;uXVlDVMA3!DhaE> zKZSqnPuE}C(fQ(=FI_y)_~^E`YX1C-{~*#4uNgr7C6w#5`%`83c^XgR8P@L7NB$`I zEx=3T-%1(B)r0?1Tvxxkz6^hhm~q{X|5E;Ybv&Oa!?zGKuDSRx<#+0z+OZVhNfnCg zN&NfNTZenASCY4IJqQ=!kuv;SN5PK)?pIS(&=Y}6snhwcR2`mvRjno}BaED-afSYn z8_j1KXB>-S$d$Q6JY$#Qx_r?uAcx0mk>2;93MQ{!$5ED#u$@hGg9>&Z`5@%n!DXUR`h@cKUXUqpVY!q@k( ze~|nn#$MmW{!fvgs^<0W>|aiPs*=|?u>WlGd&!?+{{r$;6}-L@{<(kY-u$x*yEebl zb>*uEd;7be-M7n%sIF(9+{2G&cY7o1z%5{Wcl&lKW7ih@Ef?V zJal-xnIk{&IFU9#dmvuIatqwwqb55rO6ZnTJ(OQb=CM}vkOQ5-OCniAY>4C-dJ5lx z<#0-$`8CE@;^Ro~3Y`%2%q3+G^b#1<2_WmwVUqX|$wQoM$z4^rhb2%;dUyZQp z{_xY?PyWNTQm$ISgp*XF0t2Yz7mY<{C>^Lq<7A3hxDy7DQj`}8-*4|Hw0U^Y6( z$ZTKFmc;B}4_x7%E&18aJzFlF-HP^WL!;p0{_!|z5xO^RK{8#as(fATtc7T-EB|bv zUu|&_HvX1wcE^6#P`J{lm%d zXfl_J4JE^CW4Ul{JRXO4)%eKBx-evSz6E(}aD6NcUK+F;k!9+4m!i>Vj@^pqRy=7w zq03mmTp1HS!)1G|?dVdC!04aG-8;n4UgNvk?5K8RTzR+#9gc7crx1T>&CCWg5C4ad zk1a$$dt1d;_qo@aUvQmU6S>-RB}s;oi$nxn4kW&!-@&Q((^dZ5BrxkZ93^zQPM7I`8J zou{9x^mC1VUag-u>*tsC^V|CQjDD8Ky9461^m?w$uNHT7oDpt@di>$=JZMWNhfi*8 zZEHQPbzZo6c`_01isc1AY2LgKLyi7l;-3Hi6!-roH%fUTDopyP^fDUzbn*CS*W?@W zuK925S1OEuR_<1i1B&A%cxK}nD1dZrhfhb&eepKT>vTDZpe4c`|F@<<1sKVR*l1=X z8J*h_S96BbqsciXGL)7@q6VMDI`EuCIzC5-$SE_ITAz&O)%0IpkCa`zkP*vUF+P?{ z4UM7AT(%kIkoFFJ>ld@N3F@>3};ZpgJ;cnxY28J^m%A_#)J(yxRtRxfYY}aL zXjO-ByA&}ExS~`xS+TiR5=?bUkPf3)5u$HSHBn?OFWo{X=?GEjv*9roDx zsPZh7R#MgV#MwzqW)pf6+BKO_o<&0T5py&)GLnufPnTeIHuR^A@^s%Rg+@A*SL+6N zrRB&~NjH#g#luUj=&>$?)9mYS?>I+!&YljB$9e?!sfO9!w{&i_due~?;?CvDyX?n6 zeKWDpiRH%TBG=i}*brqt=v~Ijh5fRVd9robe-vK@7sY;ME?0|H{XPn2|2v5QG?tPy zI+w0k(z(37zjLAT_EIteFX--%_Vq9CUbubB$0^_L7exBFghh@0dTEQofJsbd`Vka^*YGxD07h zo|h`$N!k}*ZP~OZVl=dM>dnh>;AC$_< z_(`1mI*ffBh4RO;sE>t)jCji*A5^|`j6ZQ*qH8Z$u_(Hv6IGw}Lap$1;x;(GDmt3f zb)V%?Q@zX?H8kX_dqu!lHdTG~xk5u^o#*vNJGy(jXe8!8N%2LY0VmgFqVZH_I7ucg zHQ>$r$5IJZv(TxVz&XfiO{ex&_*W;_MMsijs%DXfEPrZ^Ad59(bH&tj>3Z@7uA(T; zHl8__sx9bGq;-m_rpNd*gW&+GO4TeejN^!>Ij|oksadKcZ1v}o`6$Z_%tV;|U^L6A znq|gu%-!Z6Iuf~8lOz6kK0Bgn&NUV@dspC12$GuRy3%_~Yess`_&6%Y_eHE%N@_=U zp55MYztoqi*<>u?7*&9za?NJrHZF|iM}ueAW%8=#8eIaPpW2PuTCy_y;j9td5Sxa;sI%EgIfv2)C-)!MSoZZNfZHooWeW z?wZ}GE#FQo>5^k>qN54wOd0Q*YLeqMuju}1XQ=nEu2AzQ!76Oxg=(p4UKK>-d(CSy z$b8k@dH(HNVeUKjcm_oP^S{5yKo|-NN}y^E9Atkprm)O9RrC6EZi&`v?pAL|=r)`5 zPF3^QbC?*ZK9Mr_)_V4JL20^pJe5r*q9wU}djk`Dt9cZ>BRNb|bMJgte8Wy9NZ(oe z5bD5JWfv+!_nWYHtv`_(f-yqXG#lGFTHS9x?DQLHw2wIB#*eCz2K%UPu%M*Xdrs&1 z$~)13M0|HrN*KeOX++-aosdf3DA`kXF17|bDJf_*R|!^8ZBu`}T6|E2&@8Iv`t!L8 zeG;H_pxq#hK|7Ymlsz~OlZvXj@oDT^m`!12F6>g?^}B6k=5ffQ#4xq}cJF#9rU?~T zCt+3ft4K1iUVIgHMg=Z;mixA452?VV;`XsT3w&1Qc4%GWgHg&`;4-0ytI6^g_?-Bf zSrZ6cE^)S2f0}4lR5ww!+U$!}V59Iw?2A<3Dse-3O`@|0t`=ni+AF*?E(4#JXa>-O z#>XIFRA7??S;@5(xJKy1)%Q{|TP{FO%%+SDVKl4)TgPUT=DWeDCP@(3MuI>F$igm2 z@cyo47$cYb2*vZQui-kPaOs5V@?KIMHV`C9suXFfm@Sf7T1IfehhF94Sge|%;sqV9 zKypxis=r2gS>3_DAP<$msDubtzedrHiBDHm+Nmm%fPsvon--GfM$f50c9>&~pl$ow zmG`q(ArenS>=C7++Exo{NI$sdbv0Fza_n4 zfSb_&ZK18?CiFidO*kw~=->PH@l>Z1+=Bkcqy;xX#GwibO?cV0s07~z?3hqZ=r&yG zy^Pz?zu9R+B4Uc=h0@$G%q*kp{{x5ul@gU=) z=|nU+0q*OD84Yur`)|CRea+nF{+qtRzE*B?|IOlSlM1;-3LUAYHuvw4Ht*uNxq;C5 z%74e396>L`=y(k7lz5=nKwnkf4O>ub-#b%bnUG$v+q;2#L9I?gdOh@BYC%vH5_ zi5Eo~y%^pviMQ8IU5rIc?cL%X;I^*4SK3;Ja;@&Q8Lpt(`=o;Mwr)@8iis$)_Z8_o z6O(Yn{8hqftWP2!e-8*@lVNMcm4$ch9;$Lz({{jGSyiD< z(5Ui4ue;psN6j|`q~@twWqQ4wyIt)?PPe0WA(097L)DIcNsCtpO(cP41ohdBW}&(< zb57u35oYc+0>hv{yb+n47sL)~*k5`?hjVti9yJ>}%tmSbM4XB2v+xm5T1- zo>+UC^u%6{n@39RrZ@*4U`UUK+AY^JxROELHEXv&!XW0}fm2&gSKdt@Lgn~2*C{mt zKh@4I?H*51Yd$?B>aL-HOD+)JTr4e4FY{^SHqCHY~RPpYOGA`ROZjTdmg#v_EU z8i@_%R8>Gv`CWvq9;clNRaK|KUIHf^becv72p!8&5mnW64X*U(R#W!tjh}FNhW#=2 z2aN=mKI6}%M^f>1(ReIAj3h$FMT}4QbHlN@(cxHbSXIq3G5}c*jEzsIs$-1}?B9W2 zNwpnq?^(PIYlzLap}Kv)!Hv<_$WWTs5I*l_n?0%g@TjWV^li=x%rK7XuBtXSO5fBG zb}a8v-fP~V=st!`0FEx69ie6nd#~}ssjBuGXTxTS2~ryH(a8+(cht}iNsqPc!F8nbRDJW8+-rO=)lf}6 zB04IxGR|^e|FY#+rf>ZwC9`LGp)aPhoX!UCR$J=b+AHxYJ3V+&PFasiqR@n}j^R!# zGYd#h2+3Ey6FtrP?!TT$br59D)q3*p>9ppRPLpMDb2nycR--&1F@ueJK)6z=H@ z*wc625tmnSNz5!OHt>-1IOrh4l=qZ$^ zSL;Vos)^F-5T$tAGpG&UtJr9nkl{&Hq7~zpyxVLzmG$aVoRG5P?_NLTYvz>;KHcRO$>o2n6Zk3um zD5YwXntV%YG9oqkw$x;o)Z{x-lf6=t?@G9VVom-{YI3F2z>k-@l!J=ICn;1NQ$T0fs+i6)X6D6&?C#_!QM%X@j`of&u-&cPu}@w|`l* zb0E5~y&r1My;(5(9>9&)@M&mYyb2?3pZ8u!ST%K)AstNl6XT(tb+7C4rgMwG!6 zls_zhr#2XYH!&RR&o*{z`&b+{*Fo59Reg`~E5^v`6D2!P{SrN|h{dFSnT|9VxCH~T zzE^u2d6`&$uJ(rg*r)?mR$mN(PUalH^fB2r~Lv< z6orUNs_x$U6O8~F9O_Tf*;PDW*S8p=AzA)Goy|GMJ6vSgWu!2zMt~b5=pW>BSM_s^ z76!upK}hACsy|tCG>bW@{uHB+8Co$vCCMgHKhH=p(&kTKnV(IsQ}w56C=$4knsB~x zEpv2108vS~WaKIq6vg`?YQket`7Fv*2^XmyTrr^k7ttw?C3Gq#NFksW<&IU2N=~3y zi6r^JG>@1l!^QAG&nI;A5rPs1`iq>mG(6MMl#Yg4f0|K;?0Br3C^&U%N%{ZQkPm{> zW6>-c^v*;`-y$P~!7x|(x{R3s$aAvtoo#f$qv{DVq+@V#bV)eqSwv&Bcq0t)lL^>k zHNoTiCT?s;#KemOCDd!0?VsAYF=g*}wCItd$Fj*7YX6L)q~$gq%Ko|d>SR~q7h*^V zvWjcJAhfWO?T2Lx&hG5!SN4nDNLL_jZnqDRx!pGtXBBym1ZLx9WZI@21?_`SNaD(V zOX5~GDU|lxqEA|^n%LSF1-tH~@XCJo*GMb42TGS^|Jex9sJGu_!4euwr)ld<*?%!E zf~`ALvJ0c^zZw)KBo(9V|1d~z3t<;DIRuezA2gmIe-dMz%@e4Ww~X%-G>B~^`8e$WEBn8VLnZOS?wAn#@5cLtuSw-n zB{}?uQ4ywC^Q+pNg#KwvAqY!&oR2ZN%5pFqqP-Bi!2mkjGiU>kMZL{qJ&K0*ShVYf zLC5!V_@3bV2EO0S_Xqg?3g4gM`ysy1L}PiZ)A`CV5 zpq&`#597#_X`YNuhNX_0&ON37{N7GwyG$SAn6V8vtLF0!)JtkMk$7o9?ZIwMga#Na zV4%K%ox?Cc-wGEpLUsU;MK&RiMP@(i>%e8~kqaow$C?$3G~N_PIlX3 z*h=d0ApMp|RmV;ukr$+?cz7j&_lT>rz(r%P@&p67edMC3Dv4UDxK$vMn*n%fgTP~vR%`7m#78d41V=@oz(hMO9_ud9EZXpp zq?wg-Sx6O3KO!dD1}QQDeTz_9H5JiH@`6O2!DD&hu@+Be;0ocJE=)7%9;**`FYP5Y z((b~oh=j{ks~RUt{j-#HJN)I<#2F@nGZB$B%wthdi)=2!Pp--z(~VhQf(uNv!-km+ z9yL8ADv6B^|n7qtPTyj10>;T}DRT0$I2IPzXgX zpm*AI{|P)68FnQ`u4gX0=6ZwZZ3Q~HDvQ;8q_(#X~|ToGu#cj z$I4SEvgP~kg^TQ;ece1W`TSRq#q~-`mTc8I<<~ZLOYEfJQ~s;gA(ZtK+zh(OXyBH3 z0bayUv3e{rgnO)q;kFLrCfOp6N^WezD(MC$O3!1x439;&QDH5NuS!lu$6W=wMW)h{ z__&sidMoW(trVI}t49od*fGd!7fXw%cRr{DR~vtguzpbwsCz0@l8Y zHZ`iQ7sx^qwg*HGeO`Nys=6UWF_K-3F&GkIZKFtoRX2-4M^)V-W-}Ob#$n8i^KL}d z4l$nTeWa>ezr%_8kOCRxJQi(+=|$X%1+;Zl^~Kd-K^b`mYex0g1 zNNJc&VLK;hidEHH!qjZjhD+7kuW*o79mk69g{tZuDIoR_B@Bb_3K*$A-hid(Z?Yil zLP)Kaf zLuz?<|M^k0M)yL>iQ%!9A%{3ahqYBB8T<__R z+TpAED(i`8DY4T%;MnQ>PMdtqkoxxd$)2%7_H(NqG^Ae!d0pzDU)LzDao40*!_rf= zM;EaY_q)}rj>r}w<9vnYfv<#*@V=I?|vhT6TYU#Tb&JnWYMaR+! zR-=M-y{y&Ool6rY4;-wLRo!x8r7aD%`_=V}-H&?sc|_>xYVYfcE?u^;Q`MbUg5b+iVn8d?q+`urz4nM5`3soP=?s=BQNQttS? zR^7ITC=-R;ec@l&D<{0DWI0uL?LLSW7!Hf4zPQYwY!^x+He2eh6L;9o(9w~)>%}`8 zo9@w(G?x5zH%P&;OOswZrm-6ZYvrhMh;I~;-XvHXW3WBpU>nd|1dWuSWJ;hjXrS&8 zY8O-Srd2*0i(}ngcdOvNlkk#oUljTP)44Ut#Dajg31OuUIEr&FLbzQB!%Rqx;Y1~x z_znRx3}%y=kr)*Ex;q7(U^I~&!O0U%Ilt$1OWGHmo-ytlg9(t#s*N zmUX}QXdgbCp_kaKuTTz1dWzJtzAAnkWEJz_1LDUvF6}drMcw+ENXAxYswv5%vK~AJ zdB<`Ick6Gs$rMU1pkzY#Sg#R{EV4p-6QoMbU;wq|7f9q{QY9HC5tJTK_=$_mw#CSq z!Qom!^h+nx$?MR`Wa+U6iHpp+C9x0%q)kL3+in@jiQsOKp#1YR_dZq&(=#}~<(%3j z>({iY=D$-Mo)#yLf}uxr23Frq7AJH(ZbsE~aQg1VjU<3$NpG7`C3~(j!gtM~W)cCB z#k(yK)N01D(wuUZfYJ1LUd=d8x4A6?m06pdme&|F&K5AtTdFfo(3@V$_Yow<`6!y= zA~S0E6v~WRYA@u3`{4|qw!`sW;f$#f&ZUp{3TOD2voBbE4MNPAb}9R?H_XyQ%?JvB z13q+^YsQRCOmD3wyV{Hf@!=KiGXP67kPFpLb?UJwi}jR%QK|7o@K_XQk-J36XC-YP zB0$&yFdf78ERS^s+|myEP{)i$Y6Xw=1tP4@4xSoi+lM;l3YtF!f!X7flhrZTa#b)7 z<|;mrbIiU+5e^nA+THL$zjjaD2kp2>@Rnh9XFOz3^UnVW?bwXHKY^O}F50%13a z>R{#;X~h#+MVh(wUzvsxeNJCr5AX2I-1Zt5%f_m2%RtFbN23(=EZ@#Ke z_{=~Sa?yRU_D0w+@6KxPLch*QUISfz9G>UAjccR_d4su(4)?j&x@0%8S1@|*!#&{= z#bZD)%m~W8PKRA7Sb7!0uGd(?pTS-NY*Fsdx~R{ZO~V?Y!-hlH(Q#kq+DARHDdW$b ztlS%1ix-m*JHDqV_vNni*)o;+6LXdO3fC^>}q;RVvuu3w87`TTSxJ- z;TKfmxJSovzzC3>aerAya1c9HqzAaa?z(`>c*qEJQy#y`)rZ;M4D6)<54*@{;%eGx zqSNT^@rWyi&WnlJ4A8d^+>g07wv&I48E7T{cXYk%HR<>-&iJq9eTe;qH*YS%Kfy4UoicS)KKncU3YK`zGPyT0=4i%m-%su z{bdt-5`*LDVL#Tv4w!)vN^if5%*w8&gC_6TxPRs%x$bH@WCps4{(^3!O)lOEa{p3? z-|q6KGkJ`ToO1ulMKc5Xh0BjaBFNiI8rbCuyibw*S|_sGg)^k`LW%U+-{{!(xcpjp zk@=R#+;27MVV9crM=eq0;4KN3F85~)eOSYNA&YQKGQ8X4juv)%utsvP)EiPhtfFv0 zfzBi#$1#lt8AXKHaOTl6s0raBJ4Q`hqs>yx7~xjb13+<7y?vN!1TXcTPRT*O$|!DOnCqq^=1Q&a)ehl~MD z9j1*z_d4^Uc1Nu82+`C$UeSf<($u!Hu+nobH)WQH6sV-ElKSDk+LR3t>_HY~GpSGR z?dA|?winW3G>y})gT1AI!nlyZZ4KT~jO22vV@zR#>#z%o?2`u&_2SJRD# zKbFbp<9Q`R_W|>1gy;SB5<2bVy1!?|K5bAL-mNSp04%d;JUO25}U$njvaow9+g5=e;j>J&~`fck{#V|fA@Taw8V zhJ9wM2prjycYog$0RSn>r@j)WLe`ifc_B4e`5%3VGJURTkDU-tnmrRncn=(m4z_N02P^Y;aa_{F*Pe_w0 zD%JqtF6abQR&cg_%f#$t$GdCOvS8~@Epj*r1rbTGs{t}%>wgpI}HSiLFt z8XX*C9;oxN6ZcvTW3U6}?Q-{oG2<*f#DQg!$<-M48pFT_CL8VU^~M>@i17?CH$0vv z(}8kdq9g6nk>b6ebUwwp(xsZzTTY7d>J_SvW*A@wIy0r;=2z~|87WQZMZeZ~k-1+gsS_>hG{<)1Z_M$sp{!TX zC%FSxk_$_qcQNOAEb8#})L#t;|0_Heb+#fm@8|Kt7$Fo$7WJ_b`puBN4n0hC>J)M! zfl`w-HO({PqG_d)jPZyrLhRI2N}^*n%MtWOY)vq>&q(Sp2g zT;u}7Dq@f(=p_c~K$65h(7|vqp|=o9H>Yw*5Aj%^2U6#B8>g$mpnNxlp-xd=_=hSu z&c}&PU820)n*LjmSoP6sZTEEsB{=JNXcyE0ow*$9pk=!6)4g;z7a!UnzZHeqxUdp> zz@WmIP4W_(%+m%%M$1mV7RHjoNH9Otb4Y54p=b5+yj?C?1N@L10CGg@_&?Io>~RI?<#6|p zHGQwk&!$87Pc*O(YCEQNwk45>!E!y1vf7zV2m9p(GfL;myvd#-ez|)BPFqHV$wX?$+bD zamg!bK#3uVjvlCK{{)4lC8= zE`=vYdz)r~j!_I5l~`}rv^t@&(c6882BCmZfWkaISXxz*7o-d-)?@X+Q-2vTRMOoc z(wfU-jRLV~#b8jFN)BC|74-aZ4KdNOK$0LswR8OB>p(r$Psz~xMuCCnBQ{(U20Cq? zdaV8MSfsd1G|a_mai{WF?-8B!_Hz0@M1t_sL8>Q>+K>)eI&sYhT*s>i>G#Wtm-OJ$ zqjemBXR?imkSAlO9D`t;MOGwq>yy!?p|nxQ9xz~Bvh%}GFj?n{(qa(OCb)~@LO+Lj z5(;TFPdjSCy9BJTleu^-lT^Vk34jk3P^{UsUL^(Z7TmVik})iJ-#(7aSA86wLH%Y~ zU9}ryCwM=d2q4quTGE`NWGD;j4T`YF=pbECZ&J*z{se{knk3L{XXO>$Rmj~Q!A=wm z5#>}+zYEaHmo*ofmDL3qC4H zzfHSca?aQxJtmnLu-7`ssa>ggm3p5pcMixgm8rAgO zli;($^Dx3gG|?mwd~N{ENcKQ7EaQD+%)r>(FU0!1gm`W;Sp|PcqTbc?BcpmfMf@YN zK5a0oH<9rIhx6@i>}JXhDKrk&#BM_ zEEZf%zr%8T5)E%9jwMy-Gn$U|JoS1NiW*}}sg|&y=l&d8seuiqKbysiW1&IAU=A$4 z*D?^-0M^E>RK_9WX%rd8V^@HhEi~-tFs?v~{3+uFrf+uzenI|=H2p@GpNDp6R0BI) z0UF$)F`dcV!N3EWw@gB54exRVX#9pU+JBELKvE!du|Z;hlo@(oJ%!!<#856j7w1e3 zIyDHZ>?Fd;INqrVq@ZAn0NvWLGiIpd>vRGKk&jq*Os@+=muUE1M28P@Vj0cr#n7c1 zhmOKXVL_=vpVOp&ka`9Qr9*7cHMgMx9jQ23hc;^VjTQK+2BlD>vfVXwm1fvfp^xP| zfrWgvCU334&H(~rbdw2)4N9R+nz$X2W0-`#ZCoMkOUE0RK)TPOy?{i1Bu5`=(K5c* zz#aiMrI2^AAgP8e`_NV_-Pz`(8n)7?hmvh)<7 z>G-f}xalh#TbI4oL2ef0Y`jyMAB|;H!>vosrTB3kKwe-F^majq`6D{K@go)pjL3^s z!%m7scI+uoaUV#;8}sZEo-2%!D7em;`X!-mH1O6@CYz2!1;N0}#&NEp;oj_W?)ZjX zPWiG>u(yv3yQtV+=vSPLVUKU3M%-5_N?aq#|9 zdK5M?_18-YE#3&v!YcS1@h();NW$^V00D;&YLQmc z7W$AJtPVBvfI*=G3RmdEEUjoUNqR=;Bid^P=o>7dj~X(m`Y`ff=~1B*H4x+llM0=r z{b9fK{7{SD41kp_d2y6_B4{%oLlKzl-pqF6nwmc z1o}K3zw%R&L-P$%<7k~r$_&j=r|IJ07*-N0PpD1%>vUrH^vt5p*@X>?{Z8iQ0(+SO(THF$NErVDH5t6T*(9BaH$W(EY4zZna&V+X81?di#KQXLA zUo_|}ENu0%s1#|ZLOXR}%p=((4Drs$RiV2yeiy#%hLbwxqpRHAGFs>?27zjMG=VWTCiQ8wU9ROGBLUNTQ6SEcM`qgcCnc3`v?8 za83bV?u!lanxkQrFa!nSFhc@`ajG;L$7#2Q;e8yeS^3Uf?vzZgf+=~sAuH;*#tdI2rvqbW$sGpS9A-`8-Nt*6}2Ndc6Nd2$0a3Z#TGCxuWA zms2hqX^JQ`nMXC=SL(0AA=5sk&V=|2&zfWN(Ue*GLxy;RDGhV6VES8z^hvt->QxCf z>ttEG;QJu-?ZH{6NY?9k5}P$od_mPjG0!@c(wu!d68bf~6%`*n-Z}Kv329|GzNO3X zDydRU%+%rodlh}Ia38vAZ^b-XW2%Z%X;saW6n4rh=9AeKMYpl5ol_O3Q4-Xwj!K2I zrxk6IQA|KFIZab>x*VLrB!mxsq_V2w41JP@GhgvB$$T?^F|p!Isvn#-QJA)o_p=tl zJG-JEpR%T+n9axI6MD=0(L0qozHdo?Zy(CDbXk-(f=$&#OlI?MLG)O&TqxTqD4=;J zEv-(V&xRWOB}wC0%HwWt1b3yJ4~3HZL%Hl4L^utsuIu()rkd%%i7}P(YgD?z)hmff zHPV+y3F8rMsAl;JsnM{SlBjgim$CUWrW!tvANS*}K$XjCu#lPQ%4MBV^|7k%0MeMP zTs2iyABW0~cN$!lINi1Q*aAvG590Ekpy**uGmOB8Y;sn*8JPkz2z?j92v95(Dc-!R zF2vt91s^(tw?>j9Zwtm5r)a@#C~kSgAm8DN3%5{Yq|!gCm~F+vW{;?aT*~JPiO)D3EOFzsfOQ(c+ef@ z6)Mw2Wi%JPpRfr~ZPeeC7k9(>drdX&2D*i!?lNaQmz~2S`UBsL#mTdg@kFwSD`s}! zG!}9+_)5V^o;iH3LJ~*~&KZiw=iui#qVwmS1m$@+mY1LGn8TkPo}*)(908fs@ky+b zFWn;7{3Y>W%6w*I9B-Dlup2oc8I;Tyyl|kvSntGFi!%)#Qeef$2l&^lS|>gd!Ej+L zlDd(DvqH}J3z=Tf6PGAx;>NeS#DPg(QzI z;YN?ap*Rh~d{%IsA}+Ggi;JgFamr*MZaP4uU8p^{&_VF}eZI7IFf>g^uDHU6tMUQ! zL-kgjb?oE!SWoc1&N|_Vo#;E30djY7cTo3L`kncp@@DAAbs`*N%j>Wy^% z8e~Ql*MW}hM0XEF!@v6BY;GvM#u&lxbtwLh2|Ac8r1{&DFu~vxO}P}-yO>L4+3!Tj zO2Y?JVp#G@?>6AW!K8HwK;KG`B9bmoibr9um3FQ8Feuis7)rd*pPZf!NoFX$vDDEH z1%MX+d_1QR74KN<;|jEgG?EuKs5SCBYhiIL-oobn2S1!Fukkx4TWH8g&!OfJTOSpd zv{sz*Nv%p@GL>b4Di|c>I137nR}W-YhATUpq-8T+uFWa7TgZ#RWO2q40Hr50qAmj; zAi}4Ki)rfyanja&@j<1PC$tzo-HeYRlb9?lRz>eSlqJHRBJ5~zjQ&$@CA%M zMa-8ohD^1_r=jAbCAV%ACxBH8POr&x*m2SO-Pw$4!A4@TrF}v7N%`22YQfiCTX==g zl2|u}z>1%+X*0#id#NW1S{4>lV$`k-I#de}qZYRLw@{OVmga_RN#dmg`j#i#GYUS{ z633ym91@hrMR7!oIAf!!I8w)mr&|lhE%D%Ia1baxN~TY+(kVxLO@qvM6bpOtvKoz< zf}gspLyHX#($=Ep#0R>Pj+=Amcu-%C6BA#tYX5&+IN(e(63KqK%!q!^1GXg~6_Z;}4+T>B_Z&2|jT_1xF zDoG*z2{Qs8ra&Ejht4pjCoZQGo-{PNI`EIlvk>0--3X^s|D2dguJZDq0~-BCgOmSP zDk9ANiZ1AJI;>M}htGKqfKI>p;P{>2eXuCQxWatL{x_bKwv&Git06cjZYO-RJHn)9 z9o{LYlfDz)!7nZg@BD5>M2CNgW0N$fp3B2u0*vy7$(k?ccRGR^aMID_LOVMCHE@)M zZ}mi&)T+bpVqfv*l*17)mxELqe!mXCUx(lARE&;wVr5Yk(;{jRCrx-{pH*hcBBw{GRp#ZqmsJt7ZyJ|S zFMH)la`1HgJLPxg6%w;YN`LsX67DNyk(Z}0Tt~jUD0gP$14I~#3%@5?N^~J75i?Q> zvD<}NZ{mo!TRHkhX&@IQnxjWd#=XkX4<_T5a_0TXc%^dY^T~MecPS_1Rmz!vC*yYE zcWEc%#ow`PUE9;rC-p z1L1Ic;rAscSB`w1j0cq?cPHbaQg6ZSQg{RH2$xGW908^NU9N=-n@i0+ z3jZ-j!Dk%>4<7|T_5(PL9}{1l`iCbniAHju0>6(s3517oZm18o<3||(U^|k$Gmg-X zos1Xj*^vW%8t>BcrZc_=fm1%i-UwX9YXVNfH^|$L7_oVxAY1>BFQoQvv_t{mgGqF)WA%MsgGYTVK5nTXpp zW$~P+2{!=`J4_|ddyazdEsJL>{B-@W44)#fdZ`S5OXF`aUX+JtY5ZUr|Gn_jRf_^n zMg2H?8IE2zjq#%VboBk%zvM}luRgBhclK1A@v@+d-@$u{->gyF%lhYM z822ms@zv6czF_S~f2N;zrOQcoJ@6y_PV&{v&#ZjgsV8kZ8*!xHTi$V$cy@9;c42qP zu{qttcyV4MU4bt$HJ1GBF)ZBqTpkBuTH^Tm;tqT*Ioi|R*H6EO99=lccXmgCM0Oxp z;3it;&z*M~e`bKbwUHq2sR)P9<`0de2XQ!x4MzAOwh1L>CHXR|PN#F}LQZB8zKqcs zb$pbJ<1R+T1}KiGbQ2+p*XomG&4O_$i-UpKBfw^5ln*Ir2*;vSbaBtJ1?@f2Ws4T| z;U}i}x1^|ilLIqnX;3G&k_3dO1kgMS&&SuSyF1t%s&i5NnQHxW(ed0k$F52l;v@gV z-=U@tphhC4zbDNJ@Ubu2G^Agro=n$?mH$@tWG2~3jN+@I*to!fG@NumeX$jNayG^6 z&nZp%p>6Qy(tLOe?>gu%<1`=tN;VanDh$Npk7IM*otN2g76NI?FKF|Asqp_Fff)Fx diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/example_1.c b/features/smtp/lib/libsmtp---0.1.0/doc/examples/example_1.c deleted file mode 100644 index e83c5c6..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/examples/example_1.c +++ /dev/null @@ -1,80 +0,0 @@ -#include -#include - -/** - * A very simple example. - * The email message "msg" will be sent to the smtp - * server test.smtp.org. - * It should be mostly self explaining. - * - * compile with: - * gcc -lsmtp-- example_1.c -o example_1 - */ - -/** - * the email message that is to be sent. - */ -char *msg = -"To: bouncer@test.smtp.org\n" -"Subject: test\n" -"\n" -"\n" -"test\n"; - -/** - * the list of recipients - */ -char *rcpts[] = { "zheng.cuizh@gmail.com", NULL }; - -/** - * main () - */ -main() -{ - /** - * The smtp_srv_t object. - */ - smtp_srv_t srv; - - /** - * The smtp_srv_t object must be initialized. - */ - smtp_init (&srv, "smtp.yeah.net", "cbtest@yeah.net", "smtp.yeah.net", 25, 60); - - /** - * Connect to the SMTP server. - */ - if (smtp_connect (&srv) == -1) - { - puts (err_str_error ()); - smtp_cleanup (&srv); - exit (1); - } - - /** - * Send the message. - */ - if (smtp_send_msg (&srv, msg, rcpts) == -1) - { - puts (err_str_error ()); - smtp_cleanup (&srv); - exit (1); - } - - /** - * Close the connection to the SMTP server. - */ - if (smtp_close (&srv) == -1) - { - puts (err_str_error ()); - } - - /** - * Free unneeded resources. - */ - smtp_cleanup (&srv); - - puts ("The message was successfully sent."); - exit(0); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/example_2 b/features/smtp/lib/libsmtp---0.1.0/doc/examples/example_2 deleted file mode 100755 index 9a79328e5b19b1df330257a15a2a90be88b562d7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 32018 zcmd6Q3wT?_weD=mlDDI6TalbtiW4F*P?v(^KnR9HYsYb7QztRDL(PGr$dY1-*p`sw z#Gya~4KzSf!lRJ1JVIMaXj2;cB9uPTLLuz|4lU5q$7yMSHng0c0Bujs=_$GYT5Cp< z1-Ym9yWe-eD}Ua5WvRCO4%Mza zxE`;LWm-=O^|sKW83HnQq|5-y!;AlRjc=bJaC1+&m`qLSyWyiK@uf6hO7offc3l;7 zwt*I#7KY=4q z#`UZY@2P+<({L(ZM2E|7CmaQSE8yknZ`Ja?s{($qPHbld{B;eVjr(yrOt%wtIthf! z(_gIN*H*wuj`Z7z|8n{_8LCtt?laYFwcUv@#INB4xChh>^_uSARXY9W0QalckL=a- znp}NX!*^A{cLPr8Z_;qn?gx%Se=*>Jvi9mioPJcUfbyvp-7k9>ic2&)I-Z$`<_oc0 zAsSWDwdsj8fbppq1!H6B%aSU3?)vCJax|SUBy(M3v3x$6S7Ygs{CFXI$|hB;y5@%;ivmTom_A zPGu)KnG)wjB08QQ)huI~e3EjHQ^t!`G?|DMVkq%QJ}QoSN#@?Hs?1;v}k9H*q{iaT3w1S&m;qaT3j|YY@kse^maS8$3@{ zMO4o<`wOlk&v5a#o8Rh9=d1yv>bdTf&Y{7{k)Ds9vk$bY;Ph-e=ZGt!4(5gO*d;q141uJd>R>^#!&81Vl^S)cjn zhF2c<{1rj#!p@6+@aWq5`J1_XtC8W2NRtXsm;>_n=#thU{|!L&Uiat^I*+{cgGaY- zUk#d`t6tj+#-458>PNXcA3htA&V6A9)m{m4_iUSW4c|`BQiCPlqS7;Q-!{*O8B;qc zbRQDB9MRoTqC2=3;g23ZGC6l2l2r$9BGh$H96S^E?|@bvTt$!@JUiT|*$r(v`JNkQ zZ2;ilanrd6HTU2CZn$R>M2d9qc|a+vfMj)|CVm=V)c@C%+4qQ%3-SU&B!j`8ZS&5y zkhiq$LJl52QV7(~2kehF+V}={4<-9LHTH!hJMPEzlsxrbrG_$RMJ`JvCq`T2lj+M+ z9i!v1^jK>=Gd=^I;1cN0vm!&ud|}3n8FY&*%VowRT}zS^@zi)Mx2|=DdPinfrL7y2 zu~h3svY_H41u%CM<7#92lJsOgmEMq1vB^RPwHit#Bjd?@J~o<+Y>4F}`N?=3(Y2Ff zV;duRDD_s@AWiP~lHMfQ+o%G~&Bo5LE*ntRl;3J{s%^5F<^o6m&p}o^H+I(fuXT0R zmg^Xx6%85sQJ8)bE5!v0{i5|U9AgKoW8J%J5nOXrC=f%Igb%d&`hIK+7 zjo;yxfGOWDjW;^$6-{S!RY=D*n~G??MT&)fFUYMZAEQGXHGGTC*uW1|3Bu^q{hH3` zQj;IV&gI{&=^-zU8@U|P@hdg{KXu%cQz!fX{ATRx%8Wm*1%8*lKcMg5*7v9N{a5<_ zCw+fQ-|Msh&3tUqH}kNGtL0r?XGL0;uU!4^$Rb!Xr$$a~Yin;iqis>7WgwY|^u!7R zKV{LPcdP#c>c#)xP@~*5BBcjPKdQ7&i_*}668-H%N=5K*th-@^$tJrJcd`43F#Rsfp{Zb|C4+nF-vCy`z@{(q%z~l1!a0{LDBX+g$>UIiA;Qf=Ey5o9wuwF zpl1K%W|YWH1J$msnw-d|M<>vb@l-6QEW0Y7%H#@>A~-!!P_8mEidR)vO=I$ECZ_dN zF^Q*YEHg10p|I`InYp6TLVBFaFk=U;6Fj!pJ_g08lDxfM`((tbcLL?L<$4YQh{mNk zYgTxPgA?b=w34DiC5+_lwXXt$eH$*;Ye>0`~Vy029Hi_C!KABse%qiDG z0r;IsKqg}2N##0KKp`iKmBWTiE}>kf2`J*^lCd!)vq<7C&S2+YpK_fp(KZJqR<6bM z)T^4?Ye!HX*BSd!B3E;VlSTU}SGz=)I&0Ipd?A{}Dn_}^BmuaZdz^fHopPP^%pk@3 zoqT>QTG*IHk=|Q{B;C#E8!Qx*B0<79=P~49{|XloAqk`A47yM*Lc1ZC7RmJyF|*Sm zhu8<)(4uuSaH$tWd@LE8n9LGxm~g(sxLl5uhTT!Bn=FsqYY0p-C6MM(?$}!lwHaF8 zY|1@S1?}x>_A`nKuiWt&41$o62A5H}6Mlw8oc_+C9_3CNA+PLQ(XHHTjgVR9?oo-h zJ6)?*tms}jq}(ZibT}XE?p@vkK$`k0i8U3QNMMEMzGOCchJJLI*C7nAO?CI$cLM6Q zsrPtUnEol00}IUfIxNss#M|XeOpYt>QfVbs+enn%MC58lPeQvU6Uw_x(0(G0#>U1n zapmn1Sc3xtD671^cS)s@50%xv1yN}^3f0gBsGYb~Q!9FHn)O_RL!Dh8P~LNABjU9m z!gZ$Q>Kt6TFxtCvsC#+$fT~{g6rlcjn1f^aiG{Q@O;3zc;X~D{*kW*AG=)DOc{sn3 zSQS^r`Rzg$i(UH`D(3v2Q~(-FNgmxRSFh+E=p5=^s;c`b8v!rr9f}SP4fL*DuBy)~ zfmd}6b(atWB}6|+hdP(^bsMI^5^iYmLIWKtL3=w-H_+83=<@EBC{3TioL|DMUfFwo z_rPEY_rVfw$%=l%FjNYa>iFKGPt;Q~51W8f$$ zOi`KFR8ItQY2|;9&Q}En29*C~>q_KFWnQWLr|3u|uo8r=I@TVTXjA?+i)KJ*J}Lb| zoystm9_`SzL{(=WqP!1F-lJGIjEJzZ0aEAwE^9w0p#rfSm`;Y zy7rRQ%c3i~A^Kc3rhI=lE+dm`qvJ^}`y7v&+Er%M(2%d~7X@QGB>LL(1c$`B&+m_R z_4fDBNGyDi(u=~(O|H*IU`uLrI)#J$@{SEfh#(bdIX7&-x<+BSDBt)vd6skQ09nEl`|%d5Io)^SYT9vFQmbiYP-1mcC!PlTj z>ISsX`^zOGJ!f(fg7JS6i;yzu=+3jddNLsLQgvIb6`Z09l2)#}&iWKr#txvta~rb- zRd>Cvfj>a)#&WwsgBk*v^m`?!v^5WT9q(MmBA9S^F#Zo6h3mKxlw zYp|x&D7R>elr+Jux(Twn$WeCc)qO%UP6gN(8HG`SCclk&-OZbyM8yM<-Z&2wB*G4=y-xUQ?`12E$Q*P-|GJ9WU2SC ztx)%pz^WXgC2wfm%K{PoUiXR&GJh?1p5J{f!hOe?%%Tb){{8a|h`>OBH&xXgJjC%9 zOkvrLs_xa<+!AfI+^zl~-0cq8ovQ9nA7Erh?a5TQ*DvE(4~(WuC)04HM$1b1#wJGg z*YYTMQ%abq<=**ciKUDXr0;Ba5Hj%loT4Cfzll_D2qe;@a0sZn7Hc~vtNYEnO}~*w zJIRcj07N4V_8#3}A<3)%1Kk&>>ZvAV;=hY>!Wia4Bk`8%DG~Z+DV}ojvGuS?$v~^S zMqpL74)xb-B?eOn&7$gVzJNvO7l!hIc8d^(oLB)<_Q)jM8mjKr$L3IzM3if3kE*_G zw}Zkw0)3Q7QQL2?z6^$GLIpPpud00+Sq3kYSe27i!4E&decN_MRq%2N`&pj_uaLPN zR@dZ6l*$&oQt*-5Fq$m*5s9_1B@nzy(rl}}kZ@PmHdC?Mol8}4v(R-om#E-15{B`b zL}w3PE5-z@S43%C20tdr45J54PC&t^;1*$7!_o>~FZfjLy_C%j7ojAs=Bxu{lv2U1 z6UUR~yUD60O%U8hia-X)(jI8=p`KM3BOiVe)$?D5jUmX0_%aFAQ~lxEhy|7;nNnn} zVzx-;Xc@s3AAOmtW3y=n!3#81h3sJb)P9l5vaX9`As#Bhap8#6zCy`PNKA_=V?;$7 zFqk#AX)#M~^t=k@Qk-H3+IFy0RbO!p%Iv?Q9tF?GsCBngU%{;#_?#pttsA&c+Rb*v zn%AiXb_)^gY8AL&WEw*A1U@g}2s%LE3leTAHhJKS0%_wW4?G~Tc4u9BV!aCNm1u{P zQ-KF1+{3*g@D<6dpL;{#YtkErxd{Vb7u*_d!oWk)gehslz`i$5Ael~a3kJR+Ew~9P z4k9Qv;gvT+2>wlQ$B`s-8?LFolG`wFooPctVwPid6S)58EKJ*B;XwmMF`G?77F#`> zqn{BVhiQ;ryHN!`eiFk&3?I)VqRA;x-;`o#gxfrD>m3|x;WiI^;>#Rs<2Dc6Cb4!A z$n8?;j#_H-zz%8i9!{GZ2#v1-cfQ66^fMS8kAZhfIxuWtud3=zH=x@7H?i%JlU}g9 zdK348dYy&zf_h$@(~^USM*YrjaS!&hTvgZq zvViLE69E+*-JY-&6HyfJ^U`;wrooZ&7YI&ceHsGg+ariAmZJ?@+4N7Ua#VASAU7=cGNDUGGTtG z`teU|^=hDrB%oP=`W=SmV7f7JUcjLen5owb7!C#M?Ybw{Z}=6b+`>Jv{<0vqZyWc- z`VYUGW9{4%>o1pBhY0!#5p)mt#QH0xC-!sNJW}en#F=@RL3%XQ-*7Vn*Dz3b&HC*R zF%Wa_@ab)5s_HH8f^huTH7GTOI7w$$^_D<9iOtva#M+GV)mXhPtY3qdKtcOvSPz{@ zQ9Fq7tb9J}z4O|n*ucP8OT2FI*Qh^x9Lso)opABR)W9j(DXgn5AA&ane3B#uX`BZFSG!@II zlyAP31(5B)*yNP*9cyjk_zv_+l6JJSZ}}>$A+Gxr#O?n%E)0#0jb?Za;jg~V;YhlW z8dtt8U+1F04P#7q<-2aK^i7>$*Fc}DzWxuC+ zSlb!dNH&k}D?j00hS`+1e;~Xvh1&nDr%;|=?I)#HQ|00iqj=lnkcR(d?5327L>tC0RBv+-RQAh{ zaz@IDPv&xH5Hr2nuSmMEfvB_F2e0Km3tuQ2Z4!qk63Tv6#1wMSS0J@NNHii+drhR) z;$+~Y&5;*C+5aXh?lzI+A*ofnNb+@&WQR!d4UuGzNb*gQWWPxA&%!rclH^}Rl50eg ze-%llM3Vm@lFT|7dstq{P*nC|Nn}a{{GSx#*+o>5{oho3vLziH5h+B=D*boCY_*Ue zd6Dh6sM^wK@ad3fBAJCDYgcLbXEhw| zcMaKX1x&+8J9sT>2zT?|5+a??Pr`Dxt2Jt02}Oh0wyk~)Vt4a?i#4Y`gEgnS`2ejX zS1#{eiQ)6fH_%NQur-^W;9+CQ;Obx1*V}bLbZDR(G9~Qtfo2=k#7>EDoRR2z<7xvCsM`!^rCsB|lK( z3O%og$E0zUPBav}9RsnkUq|QiGO_VI9gPHX$wF>p6b|crW11DxR+!TP?AW?7)aF<^t=OZm7!G-;Zn0Rr@gL+Mi^Dj<*LOIVED|)OHu^n=TIzOT$ zX}OJ?a(*na2HBN(RvZZ-HgTQj1Q$`V{jh4ux!qku%6YyQ`3gw8+ns~tZuieS2IqHZ zj|6VxRpi>H5`~;YFi7Icd0o<04jGir8)8q|Y??UQ7X`oWG=Am$`De&0v=>H~?flUS z)2Me|W5p64$z*8jOgaB%T>@WsxNH|jIe)Tvx>{N$pU$VtO8DPaRfJM4tZg?5{@t2EAS~f==*7h%%foSq_Co3w z1JKzXM;mx;>TO>8VKlVYrd=-#I=+5@uL-_x;_GdE-NV=4^7V1P9_H&jG?v#sldprg z&RUKlaO06%kGhQCc~w-O^9LRTv=amSVG?C>xlTnV!%|1h=AJTiL4UV$+%7-Tn6nKR zyY6F6)Jy8Nka}r?^x(H9L=zkqa8TdE!4%xjI}t)b$PeJP$tUEs$?a!<32+&E6atj| zz_=n}KR*p8+vl4>1pFg}C%&iK!IQOy_}e?si-#^?65dsX`%c1E88V2)s5~wf6pE zdK8jEa8kqtBHC&3+V=ow(}ss+&7@S}QlUZgBoWazNQns0*9l6irV_Mag z*vqFAut4~tE7JnJ*B->Rn)Z_B((b}eB*OKoS97Pz)sg@vZCZZDoV3YHtl9v!9y0NBGtC|ADJrd)RJ5<~*>i*c)#3M?Q_@-` zeITlq1TM@f@N^pHlVOh9raS)wc3cAT&wTM{mwF;ARcm+mUvLuPZRWa z)1V@5ZdaBDVQXmLyhcl(pk8|)z+U?>uGQpnpIduk*&zLhI)=0H+64Bm#)X$bQ1(0z z__jL}nZlCfS~wk)?MQ;OslV;CHX@U~H+ zA>VD{&{4kI#cc*>&Lo_fao&ya?GWdg-beE7{1#{GM-JqW^V+l-rWbLmm(bRg@0065 zf;#d*CYKKe31zpe*viTA5vt9<3D~Y>H{PG5 zbbd##Lw*1LOD;;t;k9(Suu=IAQ68@5h?AFtzRLHy5Vbh8;o^Jax6IO}(^%cRRQcYN z3S$3Ico_I+0d~}$01fW@i!2CxP?HNO0Ty9b@5*J$_t%3|wbQUxo+9rV`*+}2qw2Nz zjs)0;p?s>iq|7DBG*v!JL+k*2k}-InTx@!fml7oP zUxs*HYM@`zP+H@z&#Z%|$G2Bku_efIe^5u;XwMyI>nyUUv6M9e80f?Cqh+h$y0f-& z9jN$To4l6(od}MRCoejYNw66eYUpRHzTrHYFnQo$m8=>Dh?KT8*zeacBz`~Y;pY>g zucvdcC%SUg(r(poei;O3zWSrfRz}(6Y8a;D_nMX&ikJ&t;X?fpSNm_c@ETeU8Ttb! zn?gd&dmC$1Y7~!-R(2DzG+A8i)ACk?1D`*3K~a zo^Y@Y(Ax#tQ3fSf0-Zqvc86el7>g&E3b|Mu>+Xh~0`H#&FXQ{9;D;H{tw}BxFn&r9 zYc%6H&bbKU4nd?Ck)FVbN;L7E0?aZnm&}gEV9+<*CD18`CX!<~d7>KbCLp`$$ni0e zf$vNZy95DO9U;gqlTNM&!#x7W4p2EfI*uWs8a^#ZYy}ZgDu82nzZpxBYx^ythzF%Ur51-4@^I`VqsRX1wMQhn#kT?#qiu-Vn#IcP_ z`wZk!x4$TwvCT|1Wo1JNyv=LQF6s~%&Fs3D0Awmy-*VFhjaYe5663jb7ppMDgC@xI43Z` zu~6;x;FvS(a*kndn6-zR6A}Op_|RdlIdir!zO9!0YIB+-)~@Wc0G4K;5X4S0_1aX# zM#{jd(eP!6*pz08y3ELDBW*tt0Piq}j$wb6*S;EIX$O6%W6oS^1+V>aLafV;oE~N0 zhdSnJnm+{sx5sIxs$*_sQ7{eWDn5{N%>IYL2M-ml{vB;ft)s)#dSj%0-beZTcRHSo z@{#X(*O*~U$HEDm%3zewyH>zx*ReG1n~w?X@{-3Er*i9lC%)3Ea@nklU=575o<1nH>FgV!9J3RBYy}}iF0CkwJ zPFITRfwJwhJQs*z;92U{U4dP+o^BnjVh6crx%;dx%Fqtv$S3Vt=_aow**Y6IzDmd8 zpXGSJj>9t8fHTlg%bp8$iY>~4NRQjl{;w87{3j85W3D(X2;h)oOw8hOkL7tyz{_XBSCR@Ph$ScoJ-83_xU$_G}B!aTNpaHww!M7-p zpXp3?yK#n89w?Ds`*WSzUUxt%FLK}VnEQoBebudI{YGmPIe1HorN{FjOCQ$oT+AvQ zlML_nc%sGK9;}f(YxIVcAFC)FP@ppjC~-_fLkvZN*l_02GNKWY5;;aqTtizh!i5sM zWH3%W37vHtk!x5|!xjbj0Ig@OW^U(rSzeJmtK#w^mPg2u$} z8Mpk4pMK6gw;+M2}9mM2{*NaaosGU$zXmoR0eCXiUC9UII_S)xo+qWO_6z zHtAZ%u!w=lR3S%oJyR|*1t1R@0~(v6jX}>w*Cm}st?~%b*aDuhh3eAS_6lC_?#5?{gjEbgU2URpWKZ7nJ(nl|Xjwk>l{g)`#wD5;%56sJ$&(?fgjN zx4TMe<|o|iAa9peGe6aUT`o~GFK`bbJ*<`a&t0O-p@?}x`-N`NeNc9!n1AJx2@T4Z zC$wK{DId^^`!|~Y8I+3Xf9u-Mitaf*8NB3@$pGrsG~wG6{L3y;@KC5cIsD!wlfx#r zOp>p$qKLgj&!4S`+hGE2mHx`d$^`<=QH9N*Upynkao(&p|!45EQmwTqHIp^ph4p=ss zT!&$=VHnte$ws^9GV3fR#CQfUpPDR?>p&uD6d{& z>S%&tCZID@`Vo5N`G}R~>@cKtS)+1v%X5`=3u97@5tBfpuD13u3KkNW66rk7>cvxd zIF1d1kLui}7|W{<&t~gi!9gwn4V;4Af@O*48q4PSc8kT@M$cCxnDFWOSkJZA@r>SX z1#rs1Jaf6O|U(K{sBEMB-m8>OBt);fmoviSIgq>9mXofU*@ksJbLxhc=})>TXn zT|vU3N=XNTg=XE!DCi186?N-Yi&ju{Fo!C18XpSvY_q<`#0RV(J(TJBxXuomfzmXZ zOjrFz>v^Vrp-d)P*J+CF)?b+7MN8SgMW5sjTtgu&f&Pp+&udeMZ>0We8Tg+Nv8l6_ zsChq+7slXFK-tvC%J8>A_ZobJ@YE^fL;~d|YigQjBt+9n4LReHTnCX;Pbo`|DS1U$ zLAQkLhwlZdFVROZfk(j0-5zD-1ArwI{-$_l256y|-e{SuKLL!@-!ofSaI zJo4IgfY|RR92b*9yrKoF8{ul9I*F*(6saf#g0(~-P0&vS)PW?6{lJ6ZQi9%2P`Vi5 zk{#l;KL$vH={BaT!J+&a;-OAaS@{R6IL${0PhFz2-WvZ4pxE@$Yi-X>7G*g91Xvf; z0nJDR(6e6qh%lg5s9+@}3u8C5zhImM0#{%pPC||boGh&`^ zFul8ZtMzsY<$1*FMhR$H7Qns^G;)4&oX%A!&$qe6z___IJPTt5n8r|itfYQ-&Uk)P?~fd^4=Yyc?FzglEj!klpP zHbDunsY=bIX4#1b=FRMCHJ5}`j4x1gSC_|+pvR)UWH$yK2;G(N7)9^boo=vuaIkmP zN*DPTEbMUDrD4Zw@(}^wqroj`&%dEPa1v)0U1@K{ zrlqdF^pPY+5l`#8boErCCAGAJ-EREej+I za#Wk+Ctm{8YyS&5djC));Q5Fh*8~HeHc!3wGl! zTt=^wLZ1=1<7^;jSm?g}oS47%INU?}$+Cu855`XDemW6AuFVZ(IYr4)7SbCO5e=h* zbRoS-aeVFjiR+7!L5q`4j@HXOa z3NfCNF(?)KmgJu*k*mn?-rfA9ReKpF{G@oFHo0oIQ1mH@ZgDvUJO~#0#b^4sXf6zk zo2l!P%M+dKv{KjgSHTm?r>evKJhP#-)|5lq7gza@zrQ@JX_cpU7L%Ij>G?-SK*6TEx4P1iRJh-9G*&?NUHFMG#=}D>h&rd zwI)`Ql(3-Z{v2MT0h?TbTn-P8g-0xlDX{q7z<{_0U~Sw+bsV)GLzUq?b_c21!YO0J zxPxhmr>*B0zug^tmg1La{H^W)5AE={2JCPLX>f-pbRq8m0S{>2G6`oic$Yg!<2Rhu z@z1)0qy@s4TBHWZn4#y@)7afljOGgqan97DQ-kozPD7lEQ~IdR-X)um=Ab$>CL*SVr@DF?_j(!$x69aY3oVAJM4)Ci4s$N^@+|lG{{; zj#Qeg!<#kv<|@2ZgK{Wg+3y;@MiXqQ(#P@*v!Jil=&e=QIRG<8H@Se=p%mVtk=v0t zhDrGA*45I!bi8o|wEKM83rG~k^7Nt>t>gPG>=9s73S}1$l4`nPKiZ15JNuke(^eYw zFtVLoe0_;*n?R4p*k{)i)Q4*NxbQA@@QTuGCZ1AFpZGkd*5hn2klO@uE}p3@jK{L7 zY3GXbD1Dp269ycI=6%v=1cejcIlX&DB;}5-c;u zep;}bEj)FU&1K>+K``)gahz*tx;Hn#9p7>)F`p9*_VzK#)+TAkO}i?N~|O|(ED1WsYFgS?TtYSv|fkoiogd2c*x>+IyHUemrS$E zRZ9c3>7kEtG55G?DZwV5i`>m$b=A`FY1#_n^~(&%jZ2GO{iA9G<=fIn{{Kb|fW z$QjY}O~D)>eL8tA85^{5dF<#4ynHhBFQV$7AsX%!aG}V%2SPs*SQS6TRaEgm7AW>E z^J6OXti&8K6;$XsiTfRF52?`e62ohX;-LMB^eAj(>bI9*uojd3sgSnU(i$!Fg2c|I zWHJB$Orjk;3#-u2CAw72A`Qng0~8!ys6|#yd-z>)usYnr0|u1}D*VFlW^F}_NwPD- zC+Vmiq<64{-($(7>c_}~r$>cP)_@Q%m{j-_9ghU0=Z9PMW&pfw$xEYT>x36*P#doS zPKyq7cddf47H+dh*t1Aub7`e-QE5Zr)9~^RQs|3x`YJ$G4llOIjH7if88b9PouR9P zV^~R;JmGd7Z_t_H)icYw2UPe>YZmf3ZYTQcVJm#SY?B#Z_;^Bvw_1OP>x5=Zt!@c; zBLmq%R)kXHsIa`l1Q-`DM)}3a(9y(nlV-x!8m&`HDB-+WYpl)KWy0{oGqSQ95tg@{ z(9Bar$W-wO&9R-9iyO>KXTm%5f^>&FkVvWUCoMV)3tzn~Dn;9=@ZFjj^GGfUN4y!i zDtwQ|?7@6N{TnY1QQ^;OAZ8cd+m|N1S3|$5p(^}2i$sax3`mUk^)X-Hrx(6hPg73h zcW0%1zh*z+W@m=HmIY#@t*Y=BH1f$ZqzdohhUe8bZ<{v%{!N@ zf#UM}{c0}F{>8YZ=8}>t#@%?c8y=#-^9pmj-v9z$$(ONaUf7e?`Buoa#CswwJ1%6`(6DV)CI zB@3n9)-=KgSeoKgMp9*@WvK@@B~1D}F(heXz&QoHxi2=#YmTP1LJ$%V^Nb28f>Wi@ zI8M7YrS>yhi}Ig6U}~mU!IZtzloNAY!@yAx4y9KZCBz0nRPp&SHYq@TnE-9&rzuG5 zGm$2x?{B)&(Npe6qyoypJh_P)1zJM6rg5mItEiN7X^JQ|nODuduRQL6LWxb!!u9{;9Hd!TUkz-GlQ_lcG29BsPDM#6qf> zQl5W0<$3&>$mnN?R#m;{1as)E8`{b;v6ZXvD5+A-Ow{TJxsP5~xF21$ziJV!F;&&+ zw5sMw3OnUhi^=VZsyo=#&a0|3C<|&GBGXOnzz+C*X6M%m9j`$y=eC<{lxMbb+h_US>+207kK>iQ&gXj{tZqEk;I<{`smJ>kPzkybRrQIA zZuTt83ckysV2y_%GvEoKS0h+KN`(@|!*{jC^y$+RwTRY9b`-6nH1L{8oUv1WW<;LC zICGYImxK48Xns#`kQjoRUq>5)Nd0V(%_?K|z#ph<1v0owq@WN{BXZ;PK@u({jPqzk z42s;OFuT3xGa`3PzCmI!_M@j07VTHK`w4jDX`fj%c!G6irKjIum$G z!aAV^)tL*Wcw#Hy?{`eg%(MblhZo&pQBjyK2&1JGeZNBhbtZK=RgJ4<{jIJRR}0-j zQFmD|na?fYLH)MZ#^UhV*kmGEf-5FA;0)GsH2%tg(;^G_XoX~u9$7FNk1v>NUmRV$ z=oHw`saW9@yhUYlY5~7ac!5rJdIIEC$6K-FiwXR)Ta=nUoY0!0!e_@O@o>3>Q4&%^ z$wD!T04j_nPkfyOGoT?GR$_dHfBo8x5+f~)5QZaJ9C-w*bQ!(ko^QEp_P9=&<7#QN8|>pg>pG6E2(~ zC6Fm7*>UIgjY7fUwXkx^nIAYvC^4G&6?1GA>b-P+A!JsSmV(B8qPqu@;je6%{SBp; z8DscdhvHY6po7U;nqMyoFAUz&luu*Hi|IsG{w7Jb8{VE1gQcwWcmv)YOoo>L=yeHF zMKb5f_9$+*(#92^2gOnrLy6b=)AQ4uV_LPJJ+4mF3k`>48PxZsjLiC(I+7%T2OI3 zeIOe%EbLs8R?c|7Hm}%qAJS!)tc z7|@G5*?Ccnsn$47pyiRF+%AbDVPc@v!OJCyji=)%3I;k|S~(+06rZL+3Yl?odV-YB zH{v}SBXs8t9)JqL6HZnq+ikcFWO45Y6s3rn2nIPu7l0^TnLO9#3{)%q| zKFV%2^hiNtKcLHKC1!&IT-!9E>?uT_86BE-IezJ_{cMARuj^aBgQg(ku zqQ$G}cLspzmGpYC{8#EuXznLzLQ}rV`x4;kn+gVQzN=vF5zSAzq#)+g!*pAxEa{%D)`O!-pt)L71#WR&m?QflE3cu_>NtK>1k0w zze;&k^4|rTa{eC8-}4Xh-&?^ytoesEe`S7^@y}QAuhIN#{z3kSz)xMy)Zct3#C(@; zJ5{a>Z}K;C*$-TK{SW&hfI$8}zNr?u6|aWh+`kV@IluXiO9YEA`mNz>>0V_&WnQlXQwbyDum6MmWS+kh|L-(EeV3&CS4mrY6#gqlgzGmI3>8t;bQJ!J z6T*LvQ7pO;mHh8I3jeOP!qBey%&oHh79EBE1u4*r=7>jG7;%7X)gu8KDiaI zm9#T~smOw9TP_inb1N7sqMUbyh?o&aEBLpY1~-1q_+Ny7Q-3ork-B`R{39O*0>3vZ zGOUOS(NV5$l+M^O2QxScEWVHSDE>LI=s3#uTO{D zZ~Oix;oYi6nR$3R{S3U0vK%5|H!LwTZ(VqfR4Ep9v*v#pIebN{q`TWC*BSO#I5EX1%Av?;Pa0HkGu^|-P?ullUDW< z8t+y3K4~QbmC(X>ZH)b4@Fy|+?d?l?&BB*UE8Dl5;Uzhn@jj^GyY>8Lh99YEDrZMU zf1c9t{T1+|m47p*U#~hU`p-=auTyQ>9zm3UcjNj_<^KZURGxBgH8Fe_|L-KXrvSHH zuOBgX1JTm&CHz~ixA*fy4EL-4igNy);jbU5?EhW}Dgd1MJ*xx$3ivV&r}->mh|BIL z9R>crigdOjPQU&N_{joR7gxYv*YGUEOZulr!`B1;PT$YH9Pr~b4c+Ld4E=U+IufSq zVh#Ty?(g)S+y^V@wb`J)!|=C%pZ5vC>HEBudf?fLbl%iOcu~{u)&16#?3JUW!|yi7 zEN9kVU50^NU1gu*g@?6}FW@XjYaHLU?ZOLtqkX-DL-d8-=+bGibGwQt@=m}5G}XFz z;i5D6Nq2hPLxQ5GgAZ?RA05k#;Cv3dG4L(0DJ9Mhc{!-gr+ej6&Sn{2&d`nb{Yi|n zG2v1|>=xmK%AMHJ<$bG`boND8En7B-&lmA`im2d;e1?y-U_(mRLZ`U&0=)RRw@X~3 z?404R2gmtazm;Doeus|{)0;3mI?6x!%lv%)hqjKAQ|ZEVJnz{n*)W>^wd3h@I-Tj? eF6JbseX`hWX_bG5SgIh0o8_Ct=3B*F!~X?#dm{n> diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/example_2.c b/features/smtp/lib/libsmtp---0.1.0/doc/examples/example_2.c deleted file mode 100644 index 192b2b3..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/examples/example_2.c +++ /dev/null @@ -1,87 +0,0 @@ -#include -#include - -/** - * This example shows how to use SMTP Auth with libsmtp--. - * In this case the best SMTP Auth mechanism will be - * determined automagically. In the next example i will - * show you how to force a specific mechanism. - * - * gcc -lsmtp-- example_2.c -o example_2 - */ - -/** - * the email message that is to be sent. - */ -char *msg = -"To: zheng.cuizh@gmail.com\n" -"Subject: Test\n" -"\n" -"\n" -"Test From CBenchmark.\n"; - -/** - * the list of recipients - */ -char *rcpts[] = { "zheng.cuizh@gmail.com", NULL }; - -/** - * main () - */ -example() -{ - /** - * The smtp_srv_t object. - */ - smtp_srv_t srv; - - /** - * The smtp_srv_t object must be initialized. - */ - smtp_init (&srv, "smtp.yeah.net", "cbtest@yeah.net", "smtp.yeah.net", 25, 60); - - /** - * Set the credentials. The second parameter describes - * the authentication mechanism. If it is set to auto, - * the best authentication mechanism will be determined - * automagically. - */ - smtp_set_credentials (&srv, "auto", "cbtest@yeah.net", "yijiushiwo", ""); - - /** - * Connect to the SMTP server. - */ - if (smtp_connect (&srv) == -1) - { - puts (err_str_error ()); - //smtp_cleanup (&srv); - exit (1); - } - - /** - * Send the message. - */ - if (smtp_send_msg (&srv, msg, rcpts) == -1) - { - puts (err_str_error ()); - //smtp_cleanup (&srv); - exit (1); - } - - /** - * Close the connection to the SMTP server. - */ - if (smtp_close (&srv) == -1) - { - puts (err_str_error ()); - } - - /** - * Free unneeded resources. - */ - //smtp_cleanup (&srv); - - puts ("The message was successfully sent."); - exit(0); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/example_3.c b/features/smtp/lib/libsmtp---0.1.0/doc/examples/example_3.c deleted file mode 100644 index bd20199..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/examples/example_3.c +++ /dev/null @@ -1,86 +0,0 @@ -#include -#include - -/** - * This example shows how to use SMTP Auth with - * libsmtp-- while forcing the SMTP Auth mechanism. - * - * gcc -lsmtp-- example_3.c -o example_3 - */ - -/** - * the email message that is to be sent. - */ -char *msg = -"To: bouncer@test.smtp.org\n" -"Subject: test\n" -"\n" -"\n" -"test\n"; - -/** - * the list of recipients - */ -char *rcpts[] = { "bouncer@test.smtp.org", NULL }; - -/** - * main () - */ -main() -{ - /** - * The smtp_srv_t object. - */ - smtp_srv_t srv; - - /** - * The smtp_srv_t object must be initialized. - */ - smtp_init (&srv, "test.smtp.org", "bouncer@test.smtp.org", "test.smtp.org", 25, 60); - - /** - * Set the credentials. The second parameter describes - * the authentication mechanism. If it is not set to auto, - * the chosen authentication mechanism will be used - CRAM-MD5 - * in this case. It depends on the plugins that are loaded which - * authentication schemes are supported. - */ - smtp_set_credentials (&srv, "cram-md5", "user10", "pass10", ""); - - /** - * Connect to the SMTP server. - */ - if (smtp_connect (&srv) == -1) - { - puts (err_str_error ()); - smtp_cleanup (&srv); - exit (1); - } - - /** - * Send the message. - */ - if (smtp_send_msg (&srv, msg, rcpts) == -1) - { - puts (err_str_error ()); - smtp_cleanup (&srv); - exit (1); - } - - /** - * Close the connection to the SMTP server. - */ - if (smtp_close (&srv) == -1) - { - puts (err_str_error ()); - } - - /** - * Free unneeded resources. - */ - smtp_cleanup (&srv); - - puts ("The message was successfully sent."); - exit(0); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/example_4.c b/features/smtp/lib/libsmtp---0.1.0/doc/examples/example_4.c deleted file mode 100644 index d231379..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/examples/example_4.c +++ /dev/null @@ -1,100 +0,0 @@ -#include -#include - -/** - * This example shows how to use ssl encryption with - * libsmtp--. - * - * compile with: - * gcc -lsmtp-- example_4.c -o example_4 - */ - -/** - * the email message that is to be sent. - */ -char *msg = -"To: bouncer@test.smtp.org\n" -"Subject: test\n" -"\n" -"\n" -"test\n"; - -/** - * the list of recipients - */ -char *rcpts[] = { "bouncer@test.smtp.org", NULL }; - -/** - * main () - */ -main() -{ - /** - * The smtp_srv_t object. - */ - smtp_srv_t srv; - - /** - * The smtp_srv_t object must be initialized. - */ - smtp_init (&srv, "test.smtp.org", "bouncer@test.smtp.org", "test.smtp.org", 25, 60); - - /** - * Set the credentials. The second parameter describes - * the authentication mechanism. If it is not set to auto, - * the chosen authentication mechanism will be used. - */ - smtp_set_credentials (&srv, "auto", "user10", "pass10", ""); - - /** - * Let's tell libsmtp-- that we want to use ssl - * encryption. You need to specify which type - * of ssl implementation you would use. If the - * smtp server listens on port 25 it will probably - * be STARTTLS, if the smtp server listens on port 465 - * it will most likely SMTPS. - * You must also specify if the ssl certificates should - * be verified by specifying VERIFY_PEER, resp. VERIFY_NONE - * as the third parameter. If you choose VERIFY_PEER, you - * must also set the last two parameters, the certificate - * file and the certificate directory, to reasonable values. - */ - smtp_ssl_opts (&srv, STARTTLS, VERIFY_PEER, "/home/timo/cacert.pem", "/etc/ssl/certs"); - - /** - * Connect to the SMTP server. - */ - if (smtp_connect (&srv) == -1) - { - puts (err_str_error ()); - smtp_cleanup (&srv); - exit (1); - } - - /** - * Send the message. - */ - if (smtp_send_msg (&srv, msg, rcpts) == -1) - { - puts (err_str_error ()); - smtp_cleanup (&srv); - exit (1); - } - - /** - * Close the connection to the SMTP server. - */ - if (smtp_close (&srv) == -1) - { - puts (err_str_error ()); - } - - /** - * Free unneeded resources. - */ - smtp_cleanup (&srv); - - puts ("The message was successfully sent."); - exit(0); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/example_5.c b/features/smtp/lib/libsmtp---0.1.0/doc/examples/example_5.c deleted file mode 100644 index eff0317..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/examples/example_5.c +++ /dev/null @@ -1,92 +0,0 @@ -#include -#include - -/** - * This example shows how to use the logging mechanism - * to gather information about what is going on by specifying - * a callback function. - * - * compile with: - * gcc -lsmtp-- example_5.c -o example_5 - */ - -/** - * the callback function. - */ -void callback (const char *msg, verbosity_t lvl) -{ - puts (msg); -} - -/** - * the email message that is to be sent. - */ -char *msg = -"To: bouncer@test.smtp.org\n" -"Subject: test\n" -"\n" -"\n" -"test\n"; - -/** - * the list of recipients - */ -char *rcpts[] = { "bouncer@test.smtp.org", NULL }; - -/** - * main () - */ -main() -{ - /** - * The smtp_srv_t object. - */ - smtp_srv_t srv; - - /** - * The smtp_srv_t object must be initialized. - */ - smtp_init (&srv, "test.smtp.org", "bouncer@test.smtp.org", "test.smtp.org", 25, 60); - - /** - * Initialize the callback function. - */ - log_init (&callback); - - /** - * Connect to the SMTP server. - */ - if (smtp_connect (&srv) == -1) - { - puts (err_str_error ()); - smtp_cleanup (&srv); - exit (1); - } - - /** - * Send the message. - */ - if (smtp_send_msg (&srv, msg, rcpts) == -1) - { - puts (err_str_error ()); - smtp_cleanup (&srv); - exit (1); - } - - /** - * Close the connection to the SMTP server. - */ - if (smtp_close (&srv) == -1) - { - puts (err_str_error ()); - } - - /** - * Free unneeded resources. - */ - smtp_cleanup (&srv); - - puts ("The message was successfully sent."); - exit(0); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/example_6.c b/features/smtp/lib/libsmtp---0.1.0/doc/examples/example_6.c deleted file mode 100644 index a98c85f..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/examples/example_6.c +++ /dev/null @@ -1,37 +0,0 @@ -#include -#include -#include - -/** - * Just a little plugin information gathering example. - * - * compile with: - * gcc -lsmtp-- example_6.c -o example_6 - */ - -/** - * main () - */ -main() -{ - int idx = 0; - plugin_t **plg = plg_plugins (); - - while (plg[idx] != NULL) - { - printf ("\n"); - printf ("Plugin: %s\n", plg[idx]->PATH); - printf ("Name: %s\n", plg[idx]->NAME); - printf ("Comment: %s\n", plg[idx]->COMMENT); - - /* The SASL keyword can be used as a parameter for - * the smtp_set_credentials() function. - */ - printf ("SASL keyword: %s\n", plg[idx]->SASL); - - idx = idx + 1; - } - - exit(0); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/example_7.c b/features/smtp/lib/libsmtp---0.1.0/doc/examples/example_7.c deleted file mode 100644 index b5b89a1..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/examples/example_7.c +++ /dev/null @@ -1,8 +0,0 @@ -/** - * No more examples left. Take a look into the header files for more - * information, the functions are all well documented. - * - * If you want to take a look at a full featured tool that uses - * libsmtp--, give http://pushmail.sourceforge.net a try. - */ - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/main b/features/smtp/lib/libsmtp---0.1.0/doc/examples/main deleted file mode 100755 index c09edbd56dc44d6f9a13ac91ef9264414038a068..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9482 zcmcIqeQ;FO6~FJjZ1O@v2p<9ph1CXyj#&c67rg*o{#(W?!E8beWWY6NmUfVNfoyWl)9@830Zd`PRx}eVeLW}hFBr4 z5!HZr;4)+mQj23cO0Jpeq^AL`LS7|6H7thcQcDs{xr9hDUO5@WTJ+gkOJpj9R|05< zWj#UpCu+MT&U7P{V;7f)>`+9z39_3YJEmMOrd&U)8(vGv-%`~831tHbc`sAh7JzSi zFB3+-K#mH!0TRjPshm zYi0Qx!6CNY<}G(i*W4b|90L1s7U^L8$49-2s4{91tB0!rt{2}q`fz90o9E9wxNGSP zhc7go`~3$9Pn+_9&a>qlCmwxyZ8)<_X26F5xBK}KRsz!3;IiX4NK}Z`F1(HK^)7rH z;WxSPeT46K;rCMi{}S**v;xW@oah)#JI;$EQh z#B6bl#)+SB0sR|}Tm5O8ef`OVna+e#8PgQz?R(7ak-k_u6G?T(L+NxREyD5McrqOU zn%>tB_vAn%fi5DsQ2#(YVy*>G!i*(i8DZ`Qf_drw%s_K9hG_Av@wFh-i&C4|olHF- z`XZTuSXd0CVu{RdVVamtW#|vZ62gpxLzxg{^rX`k4p1U2HU|S6Iw9a%-;Gcgs~J_G zn*38?RPrBI)#9-&t#OjQDh5MT6E9*WB+O3(#e7UwzFNv3ruN4%OkF1RP7+=N5)C1V zkJxa21~FsQhTG?pm1Nq;6$)A7QKltv{ww-}DMn`K5;eX@Qgd}gY z11anU#lH^^V;%fMo_|z%h5yiKMlDXrDh%7x-TwT0J5ce!`gRB;vKvQ6YrBQNc?9pL zE@}S5yNcjs0c85ujqO?H9~@Quc~2F{#RacPts&1v46$x(@7u3?{sydqaqc@kHfOoG z+dsJe=PEdcIGKebPz_m@`d7xme;_}0x}*5c>9OHqEC&?Bo8N!lpU+Odj1Bh62t0g+ zKYmgy`tw~={-OO-FaH{mGZu2G@E2eXjb@h>o&qNS`YXSKTp6MeL6xDdOT~$E3kx}S z?q-?0f2xoGMjBudWcm;aeE>^IB$y93O$PJvrb6)WiZR72g859-R51T=)1^TEqCbCs z(}W*#&p_GRJMzUq{>{Rve?#oUo~J-Lu7W_l^H$i8`n;L^d;iknw;Jm@1Ow-EX(8EnF(4Os931xr1gsUv| z?hO#eKX|E_Sukh$Mrho@b2{|%kcL?H0(FEn77BB)-Z+Z!*|R^DLiljua?DC3h@H_` z+6(^!sbp^?oxX2H_=~f^eu;KV6EqVJjkC-77@xr+l7*ARJ8gU zeHfk&+=t+WdaGk}(>&t9QEUhaa zeNs#!WT*z*%X_g&&62r2a;ham)64Wa(K@1wiC#gJ3HA@BV>Hiko1L)WQvY!CEF#?N zF(k*hPO?t<9FONrmZAA&ea5RSduUfFbKEJCpQC(o_o)-!U%CTbqW|O`;@fX z{wLp`rZ&{_dT1D{udR`S&o`!n@?Lqv@n-2i2anQ9xa1}V6_0~Ju7DHb1#-nMq20Zm zmuq;au7VzYy<&AV*&kW`P&AV0^Yvz94@Ggxvo>4Ja;LRAoa|jq(_Y#Nt=DMTL^{@& zfbQ&#hEhV&wRAL@%6LmKY{P_VQ$x9`MspZdlabW*Xi~+a#gmCXFY>xa)>E&k(lske zwUsF~9Fd?v613TRo`B|&l@!Wi~6 zuu!i2Q08^l@YJtd^|Z{63SB=6oUR{(d+kS{HcQd%e@7eyu<<>k4rl&aItTWbqj+i1N>d*>IOH-%v6|jwI-JnQB#T6m606p1wxE z`iOqtqx!u^?@?jvtH^l}*8tep<{D|OK|@??FtPPPODru{l|4iXrIkVzdv$CmOjQtDC&6!Z2@bx9KzGx^N z6~6Gk1io`fnn_tXdm^cHESYc!Cgi0e@enE!HxSPVpL{9tWg*fEM|3FJywxP=Bl!0w%!?+Z}$#}d1foEPfpNk#Us1h3l>=4I(vfc9cGo}|%GZs7ly!}nzD zRcnGm#(*0n0(jh5pry+^($B($Yb)C?RSl3}yb<7)Qu)TCg^@MDT!gih?G4ocM8G~m z647pv(um`An_zJZFt~SM`I``cKND7PQO-v$Qbvps*$YF@{R47zU8tn)OAbc0@=I! z+b#bIw9yyWe~RqSlRei{Iwf7^k-iNVHIW?_Y`?&j=@P}c8SLScqf9Lhua&Vrp25C_ z>~VdvCwKf=0Jt&Kzk}>?H*QZZQ7oLn{sKMtkJycYciT73U_UU>eL_`<5B(N65b2 zWzXY=;q^1vPm#U-n>O0G%kQ7TUZsH(})U2x)82%hhq z_`=e6CMUi~@cit=7Ym+uo%oe@vBYbF26qXu7)`imJI39+aK`a{u`+3bcb(2WO)Pf; zBx%As1AcV{4o?J({(A95wc*Iad7uizLTsh5D{zpLt%YV`}-i}DTQ9M&?l$`+gw8SgN;ZFg_ z@^tG4aOHFg*y-AB997i0;#pVRKhJ=F0Jx%7j$4oHuu4By&VXM(1CHy=bmiFwxT01* zU-tm+6_w9R7;yWVbR6pgDJSuIF-rZy)Ar+p^S<8F7UD_3y)4-14`#rhmww9gm7i=z zBwlvF=fQ8e@Eb_w9N=@|^qS|lD#AYoym6ZP)<8w<_2u(pd_SJ6Hi(n1@vutb^8_AV z*;AYJQ!ns%4AYRj3$Y3C>CTC_6Yf4&{(|&F#z3|a`+y7INBCD=IG-;kB4HG71iNt3?29LRLUB`m(lJBXoUlIpgtPtq`#4V5mW?vZ zrtKYfc9|?;80O24EOh(5}i=0GZfpPJyyPb##J53J>3I6-)LZEg;3-Ov#z(ec!+j@a2DU -#include -#include - -int main(int argc, const char *argv[]) -{ - void* hd = dlopen("./libexample_2.so",RTLD_NOW); - void (*example)(void); - - example = dlsym(hd,"example"); - if(fork() == 0){ - printf("This is process[%d]\n",getpid()); -// void* hd = dlopen("./libexample_2.so",RTLD_NOW); -// example = dlsym(hd,"example"); - example(); - }else{ - printf("This is process[%d]\n",getpid()); - } - dlclose(hd); - - return 0; -} diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/make.sh b/features/smtp/lib/libsmtp---0.1.0/doc/examples/make.sh deleted file mode 100755 index caf364f..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/examples/make.sh +++ /dev/null @@ -1 +0,0 @@ -gcc -g -I /usr/local/libsmtp---0.1.0/include/ -lsmtp-- -L /usr/local/libsmtp---0.1.0/lib/ example_2.c -o example_2 diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/plugins/.svn/entries b/features/smtp/lib/libsmtp---0.1.0/doc/examples/plugins/.svn/entries deleted file mode 100644 index 7df12ac..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/examples/plugins/.svn/entries +++ /dev/null @@ -1,62 +0,0 @@ -10 - -dir -46 -svn://cuiz.me/cbenchmark/trunk/cbenchmark/features/smtp/lib/libsmtp---0.1.0/doc/examples/plugins -svn://cuiz.me - - - -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - -01675afb-4c4d-4bd7-85dd-1440927b3546 - -plg_anonymous.c -file - - - - -2011-06-28T07:31:18.000000Z -b7c3fa011ead2a11ff92e7c25de5f8a0 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -5714 - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/plugins/.svn/text-base/plg_anonymous.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/examples/plugins/.svn/text-base/plg_anonymous.c.svn-base deleted file mode 100644 index fbec4d4..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/examples/plugins/.svn/text-base/plg_anonymous.c.svn-base +++ /dev/null @@ -1,162 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * compile with: * - * gcc -shared -lsmtp-- plg_anonymous.c -o plg_anonymous.so * - * * - ************************************************************************/ - - -#include -#include -#include -#include - -/** - * The name of the plugin. NAME should not be NULL. - */ -const char *NAME = "SASL plugin ANONYMOUS - Ver. 1.0"; - -/** - * The SASL keyword as it shows up in the AUTH line - * in the EHLO response from the SMTP server. - * SASL should not be NULL. - */ -const char *SASL = "ANONYMOUS"; - -/** - * A place for a comment. COMMENT should not be NULL. - */ -const char *COMMENT = "(C) Timo Benk 2003"; - -/** - * A bigger WEIGHT value means a higher priority in - * the plugin array. - * - * plugins[0]->WEIGHT == 250 - * plugins[1]->WEIGHT == 59 - * plugins[2]->WEIGHT == 54 - * ... - */ -const unsigned char WEIGHT = 10; - -/** - * plg_init() will be called once when the plugin is loaded. - */ -void plg_init () { /* do nothing */ } - -/** - * plg_cleanup() will be called once when the plugin is - * unloaded. - */ -void plg_cleanup () { /* do nothing */ } - -/** - * plg_authenticate() is called by libsmtp after a positive - * response to the EHLO command was received. All stuff - * needed for authentication should be implemented here. - * If plg_authenticate() fails for some reason, -1 must be - * returned and an appropriate error message must be set with - * the function err_set_error(). On success 0 is expected to - * be returned. - * - * @param srv The smtp_srv_t object. - * - * @returns 0 on success, otherwise -1. - */ -int plg_authenticate (smtp_srv_t * srv) -{ - char *enc, *rsp; - int siz; - - enc = (char*)malloc_ (2 * strlen (srv->username) + 4); - siz = alg_b64_encode (srv->username, strlen (srv->username), enc); - - if (smtp_write (srv, "AUTH ANONYMOUS ", 15) == -1) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - if (smtp_write (srv, enc, siz) == -1) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - free_ (rsp, enc, NULL); - return (0); -} - -/** - * plg_read() will be called by libsmtp anytime it reads - * from the underlying socket. If the SASL mechanism - * implements some sort of decryption, this is the place - * for it. - * If there is no need for decryption/modifying of the data - * block, ssl_read() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_read() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually stored in buf must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes that were stored in buf or -1 - * if an error occured. - */ -int plg_read (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_read (&srv->sck, buf, bufsiz)); -} - -/** - * plg_write() will be called by libsmtp anytime it writes - * to the underlying socket. If the SASL mechanism - * implements some sort of encryption, this is the place - * for it. - * If there is no need for encryption/modifying of the data - * block, ssl_write() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_write() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually written must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually written or -1 if an error - * occured. - */ -int plg_write (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_write (&srv->sck, buf, bufsiz)); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/examples/plugins/plg_anonymous.c b/features/smtp/lib/libsmtp---0.1.0/doc/examples/plugins/plg_anonymous.c deleted file mode 100644 index fbec4d4..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/examples/plugins/plg_anonymous.c +++ /dev/null @@ -1,162 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * compile with: * - * gcc -shared -lsmtp-- plg_anonymous.c -o plg_anonymous.so * - * * - ************************************************************************/ - - -#include -#include -#include -#include - -/** - * The name of the plugin. NAME should not be NULL. - */ -const char *NAME = "SASL plugin ANONYMOUS - Ver. 1.0"; - -/** - * The SASL keyword as it shows up in the AUTH line - * in the EHLO response from the SMTP server. - * SASL should not be NULL. - */ -const char *SASL = "ANONYMOUS"; - -/** - * A place for a comment. COMMENT should not be NULL. - */ -const char *COMMENT = "(C) Timo Benk 2003"; - -/** - * A bigger WEIGHT value means a higher priority in - * the plugin array. - * - * plugins[0]->WEIGHT == 250 - * plugins[1]->WEIGHT == 59 - * plugins[2]->WEIGHT == 54 - * ... - */ -const unsigned char WEIGHT = 10; - -/** - * plg_init() will be called once when the plugin is loaded. - */ -void plg_init () { /* do nothing */ } - -/** - * plg_cleanup() will be called once when the plugin is - * unloaded. - */ -void plg_cleanup () { /* do nothing */ } - -/** - * plg_authenticate() is called by libsmtp after a positive - * response to the EHLO command was received. All stuff - * needed for authentication should be implemented here. - * If plg_authenticate() fails for some reason, -1 must be - * returned and an appropriate error message must be set with - * the function err_set_error(). On success 0 is expected to - * be returned. - * - * @param srv The smtp_srv_t object. - * - * @returns 0 on success, otherwise -1. - */ -int plg_authenticate (smtp_srv_t * srv) -{ - char *enc, *rsp; - int siz; - - enc = (char*)malloc_ (2 * strlen (srv->username) + 4); - siz = alg_b64_encode (srv->username, strlen (srv->username), enc); - - if (smtp_write (srv, "AUTH ANONYMOUS ", 15) == -1) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - if (smtp_write (srv, enc, siz) == -1) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - free_ (rsp, enc, NULL); - return (0); -} - -/** - * plg_read() will be called by libsmtp anytime it reads - * from the underlying socket. If the SASL mechanism - * implements some sort of decryption, this is the place - * for it. - * If there is no need for decryption/modifying of the data - * block, ssl_read() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_read() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually stored in buf must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes that were stored in buf or -1 - * if an error occured. - */ -int plg_read (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_read (&srv->sck, buf, bufsiz)); -} - -/** - * plg_write() will be called by libsmtp anytime it writes - * to the underlying socket. If the SASL mechanism - * implements some sort of encryption, this is the place - * for it. - * If there is no need for encryption/modifying of the data - * block, ssl_write() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_write() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually written must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually written or -1 if an error - * occured. - */ -int plg_write (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_write (&srv->sck, buf, bufsiz)); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/entries b/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/entries deleted file mode 100644 index ad9fbba..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/entries +++ /dev/null @@ -1,368 +0,0 @@ -10 - -dir -46 -svn://cuiz.me/cbenchmark/trunk/cbenchmark/features/smtp/lib/libsmtp---0.1.0/doc/rfc -svn://cuiz.me - - - -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - -01675afb-4c4d-4bd7-85dd-1440927b3546 - -rfc1321.txt -file - - - - -2011-06-28T07:31:18.000000Z -c6beb4140671d319f6433a3399cf6df2 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -35222 - -rfc2104.txt -file - - - - -2011-06-28T07:31:18.000000Z -d108e0788d01554ad3d1cd49558b2d20 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -22297 - -rfc2222.txt -file - - - - -2011-06-28T07:31:18.000000Z -a692a183140d0c2aff620b959f0f56ed -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -35010 - -rfc0821.txt -file - - - - -2011-06-28T07:31:18.000000Z -a23c27fac2732113aa8ad6df7dc50d7c -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -120432 - -rfc2245.txt -file - - - - -2011-06-28T07:31:18.000000Z -a1ec4f21a9c79e64ccd5770f764d07e4 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -9974 - -rfc2821.txt -file - - - - -2011-06-28T07:31:18.000000Z -721cb1c387ac4146fc7540a3c41bfc49 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -192503 - -rfc1760.txt -file - - - - -2011-06-28T07:31:18.000000Z -f440795e3a18ae479b4a5745ce75ec5e -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -31124 - -rfc2831.txt -file - - - - -2011-06-28T07:31:18.000000Z -43aefd048a18d9f537f8f1855443b899 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -58124 - -rfc3174.txt -file - - - - -2011-06-28T07:31:18.000000Z -b5dbbcd0627d1fadc887e2e1a436ec53 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -35525 - -rfc2554.txt -file - - - - -2011-06-28T07:31:18.000000Z -da374308c160c15ec4a27fada7fa19d2 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -20534 - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc0821.txt.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc0821.txt.svn-base deleted file mode 100644 index d877b72..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc0821.txt.svn-base +++ /dev/null @@ -1,4050 +0,0 @@ - - - - RFC 821 - - - - - - SIMPLE MAIL TRANSFER PROTOCOL - - - - Jonathan B. Postel - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - August 1982 - - - - Information Sciences Institute - University of Southern California - 4676 Admiralty Way - Marina del Rey, California 90291 - - (213) 822-1511 - - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - TABLE OF CONTENTS - - 1. INTRODUCTION .................................................. 1 - - 2. THE SMTP MODEL ................................................ 2 - - 3. THE SMTP PROCEDURE ............................................ 4 - - 3.1. Mail ..................................................... 4 - 3.2. Forwarding ............................................... 7 - 3.3. Verifying and Expanding .................................. 8 - 3.4. Sending and Mailing ..................................... 11 - 3.5. Opening and Closing ..................................... 13 - 3.6. Relaying ................................................ 14 - 3.7. Domains ................................................. 17 - 3.8. Changing Roles .......................................... 18 - - 4. THE SMTP SPECIFICATIONS ...................................... 19 - - 4.1. SMTP Commands ........................................... 19 - 4.1.1. Command Semantics ..................................... 19 - 4.1.2. Command Syntax ........................................ 27 - 4.2. SMTP Replies ............................................ 34 - 4.2.1. Reply Codes by Function Group ......................... 35 - 4.2.2. Reply Codes in Numeric Order .......................... 36 - 4.3. Sequencing of Commands and Replies ...................... 37 - 4.4. State Diagrams .......................................... 39 - 4.5. Details ................................................. 41 - 4.5.1. Minimum Implementation ................................ 41 - 4.5.2. Transparency .......................................... 41 - 4.5.3. Sizes ................................................. 42 - - APPENDIX A: TCP ................................................. 44 - APPENDIX B: NCP ................................................. 45 - APPENDIX C: NITS ................................................ 46 - APPENDIX D: X.25 ................................................ 47 - APPENDIX E: Theory of Reply Codes ............................... 48 - APPENDIX F: Scenarios ........................................... 51 - - GLOSSARY ......................................................... 64 - - REFERENCES ....................................................... 67 - - - - -Network Working Group J. Postel -Request for Comments: DRAFT ISI -Replaces: RFC 788, 780, 772 August 1982 - - SIMPLE MAIL TRANSFER PROTOCOL - - -1. INTRODUCTION - - The objective of Simple Mail Transfer Protocol (SMTP) is to transfer - mail reliably and efficiently. - - SMTP is independent of the particular transmission subsystem and - requires only a reliable ordered data stream channel. Appendices A, - B, C, and D describe the use of SMTP with various transport services. - A Glossary provides the definitions of terms as used in this - document. - - An important feature of SMTP is its capability to relay mail across - transport service environments. A transport service provides an - interprocess communication environment (IPCE). An IPCE may cover one - network, several networks, or a subset of a network. It is important - to realize that transport systems (or IPCEs) are not one-to-one with - networks. A process can communicate directly with another process - through any mutually known IPCE. Mail is an application or use of - interprocess communication. Mail can be communicated between - processes in different IPCEs by relaying through a process connected - to two (or more) IPCEs. More specifically, mail can be relayed - between hosts on different transport systems by a host on both - transport systems. - - - - - - - - - - - - - - - - - - - - - - - - -Postel [Page 1] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - -2. THE SMTP MODEL - - The SMTP design is based on the following model of communication: as - the result of a user mail request, the sender-SMTP establishes a - two-way transmission channel to a receiver-SMTP. The receiver-SMTP - may be either the ultimate destination or an intermediate. SMTP - commands are generated by the sender-SMTP and sent to the - receiver-SMTP. SMTP replies are sent from the receiver-SMTP to the - sender-SMTP in response to the commands. - - Once the transmission channel is established, the SMTP-sender sends a - MAIL command indicating the sender of the mail. If the SMTP-receiver - can accept mail it responds with an OK reply. The SMTP-sender then - sends a RCPT command identifying a recipient of the mail. If the - SMTP-receiver can accept mail for that recipient it responds with an - OK reply; if not, it responds with a reply rejecting that recipient - (but not the whole mail transaction). The SMTP-sender and - SMTP-receiver may negotiate several recipients. When the recipients - have been negotiated the SMTP-sender sends the mail data, terminating - with a special sequence. If the SMTP-receiver successfully processes - the mail data it responds with an OK reply. The dialog is purposely - lock-step, one-at-a-time. - - ------------------------------------------------------------- - - - +----------+ +----------+ - +------+ | | | | - | User |<-->| | SMTP | | - +------+ | Sender- |Commands/Replies| Receiver-| - +------+ | SMTP |<-------------->| SMTP | +------+ - | File |<-->| | and Mail | |<-->| File | - |System| | | | | |System| - +------+ +----------+ +----------+ +------+ - - - Sender-SMTP Receiver-SMTP - - Model for SMTP Use - - Figure 1 - - ------------------------------------------------------------- - - The SMTP provides mechanisms for the transmission of mail; directly - from the sending user's host to the receiving user's host when the - - - -[Page 2] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - two host are connected to the same transport service, or via one or - more relay SMTP-servers when the source and destination hosts are not - connected to the same transport service. - - To be able to provide the relay capability the SMTP-server must be - supplied with the name of the ultimate destination host as well as - the destination mailbox name. - - The argument to the MAIL command is a reverse-path, which specifies - who the mail is from. The argument to the RCPT command is a - forward-path, which specifies who the mail is to. The forward-path - is a source route, while the reverse-path is a return route (which - may be used to return a message to the sender when an error occurs - with a relayed message). - - When the same message is sent to multiple recipients the SMTP - encourages the transmission of only one copy of the data for all the - recipients at the same destination host. - - The mail commands and replies have a rigid syntax. Replies also have - a numeric code. In the following, examples appear which use actual - commands and replies. The complete lists of commands and replies - appears in Section 4 on specifications. - - Commands and replies are not case sensitive. That is, a command or - reply word may be upper case, lower case, or any mixture of upper and - lower case. Note that this is not true of mailbox user names. For - some hosts the user name is case sensitive, and SMTP implementations - must take case to preserve the case of user names as they appear in - mailbox arguments. Host names are not case sensitive. - - Commands and replies are composed of characters from the ASCII - character set [1]. When the transport service provides an 8-bit byte - (octet) transmission channel, each 7-bit character is transmitted - right justified in an octet with the high order bit cleared to zero. - - When specifying the general form of a command or reply, an argument - (or special symbol) will be denoted by a meta-linguistic variable (or - constant), for example, "" or "". Here the - angle brackets indicate these are meta-linguistic variables. - However, some arguments use the angle brackets literally. For - example, an actual reverse-path is enclosed in angle brackets, i.e., - "" is an instance of (the - angle brackets are actually transmitted in the command or reply). - - - - - -Postel [Page 3] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - -3. THE SMTP PROCEDURES - - This section presents the procedures used in SMTP in several parts. - First comes the basic mail procedure defined as a mail transaction. - Following this are descriptions of forwarding mail, verifying mailbox - names and expanding mailing lists, sending to terminals instead of or - in combination with mailboxes, and the opening and closing exchanges. - At the end of this section are comments on relaying, a note on mail - domains, and a discussion of changing roles. Throughout this section - are examples of partial command and reply sequences, several complete - scenarios are presented in Appendix F. - - 3.1. MAIL - - There are three steps to SMTP mail transactions. The transaction - is started with a MAIL command which gives the sender - identification. A series of one or more RCPT commands follows - giving the receiver information. Then a DATA command gives the - mail data. And finally, the end of mail data indicator confirms - the transaction. - - The first step in the procedure is the MAIL command. The - contains the source mailbox. - - MAIL FROM: - - This command tells the SMTP-receiver that a new mail - transaction is starting and to reset all its state tables and - buffers, including any recipients or mail data. It gives the - reverse-path which can be used to report errors. If accepted, - the receiver-SMTP returns a 250 OK reply. - - The can contain more than just a mailbox. The - is a reverse source routing list of hosts and - source mailbox. The first host in the should be - the host sending this command. - - The second step in the procedure is the RCPT command. - - RCPT TO: - - This command gives a forward-path identifying one recipient. - If accepted, the receiver-SMTP returns a 250 OK reply, and - stores the forward-path. If the recipient is unknown the - receiver-SMTP returns a 550 Failure reply. This second step of - the procedure can be repeated any number of times. - - - -[Page 4] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - The can contain more than just a mailbox. The - is a source routing list of hosts and the - destination mailbox. The first host in the - should be the host receiving this command. - - The third step in the procedure is the DATA command. - - DATA - - If accepted, the receiver-SMTP returns a 354 Intermediate reply - and considers all succeeding lines to be the message text. - When the end of text is received and stored the SMTP-receiver - sends a 250 OK reply. - - Since the mail data is sent on the transmission channel the end - of the mail data must be indicated so that the command and - reply dialog can be resumed. SMTP indicates the end of the - mail data by sending a line containing only a period. A - transparency procedure is used to prevent this from interfering - with the user's text (see Section 4.5.2). - - Please note that the mail data includes the memo header - items such as Date, Subject, To, Cc, From [2]. - - The end of mail data indicator also confirms the mail - transaction and tells the receiver-SMTP to now process the - stored recipients and mail data. If accepted, the - receiver-SMTP returns a 250 OK reply. The DATA command should - fail only if the mail transaction was incomplete (for example, - no recipients), or if resources are not available. - - The above procedure is an example of a mail transaction. These - commands must be used only in the order discussed above. - Example 1 (below) illustrates the use of these commands in a mail - transaction. - - - - - - - - - - - - - - -Postel [Page 5] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - ------------------------------------------------------------- - - Example of the SMTP Procedure - - This SMTP example shows mail sent by Smith at host Alpha.ARPA, - to Jones, Green, and Brown at host Beta.ARPA. Here we assume - that host Alpha contacts host Beta directly. - - S: MAIL FROM: - R: 250 OK - - S: RCPT TO: - R: 250 OK - - S: RCPT TO: - R: 550 No such user here - - S: RCPT TO: - R: 250 OK - - S: DATA - R: 354 Start mail input; end with . - S: Blah blah blah... - S: ...etc. etc. etc. - S: . - R: 250 OK - - The mail has now been accepted for Jones and Brown. Green did - not have a mailbox at host Beta. - - Example 1 - - ------------------------------------------------------------- - - - - - - - - - - - - - - - - -[Page 6] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - 3.2. FORWARDING - - There are some cases where the destination information in the - is incorrect, but the receiver-SMTP knows the - correct destination. In such cases, one of the following replies - should be used to allow the sender to contact the correct - destination. - - 251 User not local; will forward to - - This reply indicates that the receiver-SMTP knows the user's - mailbox is on another host and indicates the correct - forward-path to use in the future. Note that either the - host or user or both may be different. The receiver takes - responsibility for delivering the message. - - 551 User not local; please try - - This reply indicates that the receiver-SMTP knows the user's - mailbox is on another host and indicates the correct - forward-path to use. Note that either the host or user or - both may be different. The receiver refuses to accept mail - for this user, and the sender must either redirect the mail - according to the information provided or return an error - response to the originating user. - - Example 2 illustrates the use of these responses. - - ------------------------------------------------------------- - - Example of Forwarding - - Either - - S: RCPT TO: - R: 251 User not local; will forward to - - Or - - S: RCPT TO: - R: 551 User not local; please try - - Example 2 - - ------------------------------------------------------------- - - - - -Postel [Page 7] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - 3.3. VERIFYING AND EXPANDING - - SMTP provides as additional features, commands to verify a user - name or expand a mailing list. This is done with the VRFY and - EXPN commands, which have character string arguments. For the - VRFY command, the string is a user name, and the response may - include the full name of the user and must include the mailbox of - the user. For the EXPN command, the string identifies a mailing - list, and the multiline response may include the full name of the - users and must give the mailboxes on the mailing list. - - "User name" is a fuzzy term and used purposely. If a host - implements the VRFY or EXPN commands then at least local mailboxes - must be recognized as "user names". If a host chooses to - recognize other strings as "user names" that is allowed. - - In some hosts the distinction between a mailing list and an alias - for a single mailbox is a bit fuzzy, since a common data structure - may hold both types of entries, and it is possible to have mailing - lists of one mailbox. If a request is made to verify a mailing - list a positive response can be given if on receipt of a message - so addressed it will be delivered to everyone on the list, - otherwise an error should be reported (e.g., "550 That is a - mailing list, not a user"). If a request is made to expand a user - name a positive response can be formed by returning a list - containing one name, or an error can be reported (e.g., "550 That - is a user name, not a mailing list"). - - In the case of a multiline reply (normal for EXPN) exactly one - mailbox is to be specified on each line of the reply. In the case - of an ambiguous request, for example, "VRFY Smith", where there - are two Smith's the response must be "553 User ambiguous". - - The case of verifying a user name is straightforward as shown in - example 3. - - - - - - - - - - - - - - -[Page 8] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - ------------------------------------------------------------- - - Example of Verifying a User Name - - Either - - S: VRFY Smith - R: 250 Fred Smith - - Or - - S: VRFY Smith - R: 251 User not local; will forward to - - Or - - S: VRFY Jones - R: 550 String does not match anything. - - Or - - S: VRFY Jones - R: 551 User not local; please try - - Or - - S: VRFY Gourzenkyinplatz - R: 553 User ambiguous. - - Example 3 - - ------------------------------------------------------------- - - - - - - - - - - - - - - - - - -Postel [Page 9] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - The case of expanding a mailbox list requires a multiline reply as - shown in example 4. - - ------------------------------------------------------------- - - Example of Expanding a Mailing List - - Either - - S: EXPN Example-People - R: 250-Jon Postel - R: 250-Fred Fonebone - R: 250-Sam Q. Smith - R: 250-Quincy Smith <@USC-ISIF.ARPA:Q-Smith@ISI-VAXA.ARPA> - R: 250- - R: 250 - - Or - - S: EXPN Executive-Washroom-List - R: 550 Access Denied to You. - - Example 4 - - ------------------------------------------------------------- - - The character string arguments of the VRFY and EXPN commands - cannot be further restricted due to the variety of implementations - of the user name and mailbox list concepts. On some systems it - may be appropriate for the argument of the EXPN command to be a - file name for a file containing a mailing list, but again there is - a variety of file naming conventions in the Internet. - - The VRFY and EXPN commands are not included in the minimum - implementation (Section 4.5.1), and are not required to work - across relays when they are implemented. - - - - - - - - - - - - - -[Page 10] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - 3.4. SENDING AND MAILING - - The main purpose of SMTP is to deliver messages to user's - mailboxes. A very similar service provided by some hosts is to - deliver messages to user's terminals (provided the user is active - on the host). The delivery to the user's mailbox is called - "mailing", the delivery to the user's terminal is called - "sending". Because in many hosts the implementation of sending is - nearly identical to the implementation of mailing these two - functions are combined in SMTP. However the sending commands are - not included in the required minimum implementation - (Section 4.5.1). Users should have the ability to control the - writing of messages on their terminals. Most hosts permit the - users to accept or refuse such messages. - - The following three command are defined to support the sending - options. These are used in the mail transaction instead of the - MAIL command and inform the receiver-SMTP of the special semantics - of this transaction: - - SEND FROM: - - The SEND command requires that the mail data be delivered to - the user's terminal. If the user is not active (or not - accepting terminal messages) on the host a 450 reply may - returned to a RCPT command. The mail transaction is - successful if the message is delivered the terminal. - - SOML FROM: - - The Send Or MaiL command requires that the mail data be - delivered to the user's terminal if the user is active (and - accepting terminal messages) on the host. If the user is - not active (or not accepting terminal messages) then the - mail data is entered into the user's mailbox. The mail - transaction is successful if the message is delivered either - to the terminal or the mailbox. - - SAML FROM: - - The Send And MaiL command requires that the mail data be - delivered to the user's terminal if the user is active (and - accepting terminal messages) on the host. In any case the - mail data is entered into the user's mailbox. The mail - transaction is successful if the message is delivered the - mailbox. - - - -Postel [Page 11] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - The same reply codes that are used for the MAIL commands are used - for these commands. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -[Page 12] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - 3.5. OPENING AND CLOSING - - At the time the transmission channel is opened there is an - exchange to ensure that the hosts are communicating with the hosts - they think they are. - - The following two commands are used in transmission channel - opening and closing: - - HELO - - QUIT - - In the HELO command the host sending the command identifies - itself; the command may be interpreted as saying "Hello, I am - ". - - ------------------------------------------------------------- - - Example of Connection Opening - - R: 220 BBN-UNIX.ARPA Simple Mail Transfer Service Ready - S: HELO USC-ISIF.ARPA - R: 250 BBN-UNIX.ARPA - - Example 5 - - ------------------------------------------------------------- - - ------------------------------------------------------------- - - Example of Connection Closing - - S: QUIT - R: 221 BBN-UNIX.ARPA Service closing transmission channel - - Example 6 - - ------------------------------------------------------------- - - - - - - - - - - -Postel [Page 13] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - 3.6. RELAYING - - The forward-path may be a source route of the form - "@ONE,@TWO:JOE@THREE", where ONE, TWO, and THREE are hosts. This - form is used to emphasize the distinction between an address and a - route. The mailbox is an absolute address, and the route is - information about how to get there. The two concepts should not - be confused. - - Conceptually the elements of the forward-path are moved to the - reverse-path as the message is relayed from one server-SMTP to - another. The reverse-path is a reverse source route, (i.e., a - source route from the current location of the message to the - originator of the message). When a server-SMTP deletes its - identifier from the forward-path and inserts it into the - reverse-path, it must use the name it is known by in the - environment it is sending into, not the environment the mail came - from, in case the server-SMTP is known by different names in - different environments. - - If when the message arrives at an SMTP the first element of the - forward-path is not the identifier of that SMTP the element is not - deleted from the forward-path and is used to determine the next - SMTP to send the message to. In any case, the SMTP adds its own - identifier to the reverse-path. - - Using source routing the receiver-SMTP receives mail to be relayed - to another server-SMTP The receiver-SMTP may accept or reject the - task of relaying the mail in the same way it accepts or rejects - mail for a local user. The receiver-SMTP transforms the command - arguments by moving its own identifier from the forward-path to - the beginning of the reverse-path. The receiver-SMTP then becomes - a sender-SMTP, establishes a transmission channel to the next SMTP - in the forward-path, and sends it the mail. - - The first host in the reverse-path should be the host sending the - SMTP commands, and the first host in the forward-path should be - the host receiving the SMTP commands. - - Notice that the forward-path and reverse-path appear in the SMTP - commands and replies, but not necessarily in the message. That - is, there is no need for these paths and especially this syntax to - appear in the "To:" , "From:", "CC:", etc. fields of the message - header. - - If a server-SMTP has accepted the task of relaying the mail and - - - -[Page 14] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - later finds that the forward-path is incorrect or that the mail - cannot be delivered for whatever reason, then it must construct an - "undeliverable mail" notification message and send it to the - originator of the undeliverable mail (as indicated by the - reverse-path). - - This notification message must be from the server-SMTP at this - host. Of course, server-SMTPs should not send notification - messages about problems with notification messages. One way to - prevent loops in error reporting is to specify a null reverse-path - in the MAIL command of a notification message. When such a - message is relayed it is permissible to leave the reverse-path - null. A MAIL command with a null reverse-path appears as follows: - - MAIL FROM:<> - - An undeliverable mail notification message is shown in example 7. - This notification is in response to a message originated by JOE at - HOSTW and sent via HOSTX to HOSTY with instructions to relay it on - to HOSTZ. What we see in the example is the transaction between - HOSTY and HOSTX, which is the first step in the return of the - notification message. - - - - - - - - - - - - - - - - - - - - - - - - - - - -Postel [Page 15] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - ------------------------------------------------------------- - - Example Undeliverable Mail Notification Message - - S: MAIL FROM:<> - R: 250 ok - S: RCPT TO:<@HOSTX.ARPA:JOE@HOSTW.ARPA> - R: 250 ok - S: DATA - R: 354 send the mail data, end with . - S: Date: 23 Oct 81 11:22:33 - S: From: SMTP@HOSTY.ARPA - S: To: JOE@HOSTW.ARPA - S: Subject: Mail System Problem - S: - S: Sorry JOE, your message to SAM@HOSTZ.ARPA lost. - S: HOSTZ.ARPA said this: - S: "550 No Such User" - S: . - R: 250 ok - - Example 7 - - ------------------------------------------------------------- - - - - - - - - - - - - - - - - - - - - - - - - - -[Page 16] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - 3.7. DOMAINS - - Domains are a recently introduced concept in the ARPA Internet - mail system. The use of domains changes the address space from a - flat global space of simple character string host names to a - hierarchically structured rooted tree of global addresses. The - host name is replaced by a domain and host designator which is a - sequence of domain element strings separated by periods with the - understanding that the domain elements are ordered from the most - specific to the most general. - - For example, "USC-ISIF.ARPA", "Fred.Cambridge.UK", and - "PC7.LCS.MIT.ARPA" might be host-and-domain identifiers. - - Whenever domain names are used in SMTP only the official names are - used, the use of nicknames or aliases is not allowed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Postel [Page 17] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - 3.8. CHANGING ROLES - - The TURN command may be used to reverse the roles of the two - programs communicating over the transmission channel. - - If program-A is currently the sender-SMTP and it sends the TURN - command and receives an ok reply (250) then program-A becomes the - receiver-SMTP. - - If program-B is currently the receiver-SMTP and it receives the - TURN command and sends an ok reply (250) then program-B becomes - the sender-SMTP. - - To refuse to change roles the receiver sends the 502 reply. - - Please note that this command is optional. It would not normally - be used in situations where the transmission channel is TCP. - However, when the cost of establishing the transmission channel is - high, this command may be quite useful. For example, this command - may be useful in supporting be mail exchange using the public - switched telephone system as a transmission channel, especially if - some hosts poll other hosts for mail exchanges. - - - - - - - - - - - - - - - - - - - - - - - - - - - -[Page 18] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - -4. THE SMTP SPECIFICATIONS - - 4.1. SMTP COMMANDS - - 4.1.1. COMMAND SEMANTICS - - The SMTP commands define the mail transfer or the mail system - function requested by the user. SMTP commands are character - strings terminated by . The command codes themselves are - alphabetic characters terminated by if parameters follow - and otherwise. The syntax of mailboxes must conform to - receiver site conventions. The SMTP commands are discussed - below. The SMTP replies are discussed in the Section 4.2. - - A mail transaction involves several data objects which are - communicated as arguments to different commands. The - reverse-path is the argument of the MAIL command, the - forward-path is the argument of the RCPT command, and the mail - data is the argument of the DATA command. These arguments or - data objects must be transmitted and held pending the - confirmation communicated by the end of mail data indication - which finalizes the transaction. The model for this is that - distinct buffers are provided to hold the types of data - objects, that is, there is a reverse-path buffer, a - forward-path buffer, and a mail data buffer. Specific commands - cause information to be appended to a specific buffer, or cause - one or more buffers to be cleared. - - HELLO (HELO) - - This command is used to identify the sender-SMTP to the - receiver-SMTP. The argument field contains the host name of - the sender-SMTP. - - The receiver-SMTP identifies itself to the sender-SMTP in - the connection greeting reply, and in the response to this - command. - - This command and an OK reply to it confirm that both the - sender-SMTP and the receiver-SMTP are in the initial state, - that is, there is no transaction in progress and all state - tables and buffers are cleared. - - - - - - - -Postel [Page 19] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - MAIL (MAIL) - - This command is used to initiate a mail transaction in which - the mail data is delivered to one or more mailboxes. The - argument field contains a reverse-path. - - The reverse-path consists of an optional list of hosts and - the sender mailbox. When the list of hosts is present, it - is a "reverse" source route and indicates that the mail was - relayed through each host on the list (the first host in the - list was the most recent relay). This list is used as a - source route to return non-delivery notices to the sender. - As each relay host adds itself to the beginning of the list, - it must use its name as known in the IPCE to which it is - relaying the mail rather than the IPCE from which the mail - came (if they are different). In some types of error - reporting messages (for example, undeliverable mail - notifications) the reverse-path may be null (see Example 7). - - This command clears the reverse-path buffer, the - forward-path buffer, and the mail data buffer; and inserts - the reverse-path information from this command into the - reverse-path buffer. - - RECIPIENT (RCPT) - - This command is used to identify an individual recipient of - the mail data; multiple recipients are specified by multiple - use of this command. - - The forward-path consists of an optional list of hosts and a - required destination mailbox. When the list of hosts is - present, it is a source route and indicates that the mail - must be relayed to the next host on the list. If the - receiver-SMTP does not implement the relay function it may - user the same reply it would for an unknown local user - (550). - - When mail is relayed, the relay host must remove itself from - the beginning forward-path and put itself at the beginning - of the reverse-path. When mail reaches its ultimate - destination (the forward-path contains only a destination - mailbox), the receiver-SMTP inserts it into the destination - mailbox in accordance with its host mail conventions. - - - - - -[Page 20] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - For example, mail received at relay host A with arguments - - FROM: - TO:<@HOSTA.ARPA,@HOSTB.ARPA:USERC@HOSTD.ARPA> - - will be relayed on to host B with arguments - - FROM:<@HOSTA.ARPA:USERX@HOSTY.ARPA> - TO:<@HOSTB.ARPA:USERC@HOSTD.ARPA>. - - This command causes its forward-path argument to be appended - to the forward-path buffer. - - DATA (DATA) - - The receiver treats the lines following the command as mail - data from the sender. This command causes the mail data - from this command to be appended to the mail data buffer. - The mail data may contain any of the 128 ASCII character - codes. - - The mail data is terminated by a line containing only a - period, that is the character sequence "." (see - Section 4.5.2 on Transparency). This is the end of mail - data indication. - - The end of mail data indication requires that the receiver - must now process the stored mail transaction information. - This processing consumes the information in the reverse-path - buffer, the forward-path buffer, and the mail data buffer, - and on the completion of this command these buffers are - cleared. If the processing is successful the receiver must - send an OK reply. If the processing fails completely the - receiver must send a failure reply. - - When the receiver-SMTP accepts a message either for relaying - or for final delivery it inserts at the beginning of the - mail data a time stamp line. The time stamp line indicates - the identity of the host that sent the message, and the - identity of the host that received the message (and is - inserting this time stamp), and the date and time the - message was received. Relayed messages will have multiple - time stamp lines. - - When the receiver-SMTP makes the "final delivery" of a - message it inserts at the beginning of the mail data a - - - -Postel [Page 21] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - return path line. The return path line preserves the - information in the from the MAIL command. - Here, final delivery means the message leaves the SMTP - world. Normally, this would mean it has been delivered to - the destination user, but in some cases it may be further - processed and transmitted by another mail system. - - It is possible for the mailbox in the return path be - different from the actual sender's mailbox, for example, - if error responses are to be delivered a special error - handling mailbox rather than the message senders. - - The preceding two paragraphs imply that the final mail data - will begin with a return path line, followed by one or more - time stamp lines. These lines will be followed by the mail - data header and body [2]. See Example 8. - - Special mention is needed of the response and further action - required when the processing following the end of mail data - indication is partially successful. This could arise if - after accepting several recipients and the mail data, the - receiver-SMTP finds that the mail data can be successfully - delivered to some of the recipients, but it cannot be to - others (for example, due to mailbox space allocation - problems). In such a situation, the response to the DATA - command must be an OK reply. But, the receiver-SMTP must - compose and send an "undeliverable mail" notification - message to the originator of the message. Either a single - notification which lists all of the recipients that failed - to get the message, or separate notification messages must - be sent for each failed recipient (see Example 7). All - undeliverable mail notification messages are sent using the - MAIL command (even if they result from processing a SEND, - SOML, or SAML command). - - - - - - - - - - - - - - - -[Page 22] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - ------------------------------------------------------------- - - Example of Return Path and Received Time Stamps - - Return-Path: <@GHI.ARPA,@DEF.ARPA,@ABC.ARPA:JOE@ABC.ARPA> - Received: from GHI.ARPA by JKL.ARPA ; 27 Oct 81 15:27:39 PST - Received: from DEF.ARPA by GHI.ARPA ; 27 Oct 81 15:15:13 PST - Received: from ABC.ARPA by DEF.ARPA ; 27 Oct 81 15:01:59 PST - Date: 27 Oct 81 15:01:01 PST - From: JOE@ABC.ARPA - Subject: Improved Mailing System Installed - To: SAM@JKL.ARPA - - This is to inform you that ... - - Example 8 - - ------------------------------------------------------------- - - SEND (SEND) - - This command is used to initiate a mail transaction in which - the mail data is delivered to one or more terminals. The - argument field contains a reverse-path. This command is - successful if the message is delivered to a terminal. - - The reverse-path consists of an optional list of hosts and - the sender mailbox. When the list of hosts is present, it - is a "reverse" source route and indicates that the mail was - relayed through each host on the list (the first host in the - list was the most recent relay). This list is used as a - source route to return non-delivery notices to the sender. - As each relay host adds itself to the beginning of the list, - it must use its name as known in the IPCE to which it is - relaying the mail rather than the IPCE from which the mail - came (if they are different). - - This command clears the reverse-path buffer, the - forward-path buffer, and the mail data buffer; and inserts - the reverse-path information from this command into the - reverse-path buffer. - - SEND OR MAIL (SOML) - - This command is used to initiate a mail transaction in which - the mail data is delivered to one or more terminals or - - - -Postel [Page 23] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - mailboxes. For each recipient the mail data is delivered to - the recipient's terminal if the recipient is active on the - host (and accepting terminal messages), otherwise to the - recipient's mailbox. The argument field contains a - reverse-path. This command is successful if the message is - delivered to a terminal or the mailbox. - - The reverse-path consists of an optional list of hosts and - the sender mailbox. When the list of hosts is present, it - is a "reverse" source route and indicates that the mail was - relayed through each host on the list (the first host in the - list was the most recent relay). This list is used as a - source route to return non-delivery notices to the sender. - As each relay host adds itself to the beginning of the list, - it must use its name as known in the IPCE to which it is - relaying the mail rather than the IPCE from which the mail - came (if they are different). - - This command clears the reverse-path buffer, the - forward-path buffer, and the mail data buffer; and inserts - the reverse-path information from this command into the - reverse-path buffer. - - SEND AND MAIL (SAML) - - This command is used to initiate a mail transaction in which - the mail data is delivered to one or more terminals and - mailboxes. For each recipient the mail data is delivered to - the recipient's terminal if the recipient is active on the - host (and accepting terminal messages), and for all - recipients to the recipient's mailbox. The argument field - contains a reverse-path. This command is successful if the - message is delivered to the mailbox. - - The reverse-path consists of an optional list of hosts and - the sender mailbox. When the list of hosts is present, it - is a "reverse" source route and indicates that the mail was - relayed through each host on the list (the first host in the - list was the most recent relay). This list is used as a - source route to return non-delivery notices to the sender. - As each relay host adds itself to the beginning of the list, - it must use its name as known in the IPCE to which it is - relaying the mail rather than the IPCE from which the mail - came (if they are different). - - This command clears the reverse-path buffer, the - - - -[Page 24] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - forward-path buffer, and the mail data buffer; and inserts - the reverse-path information from this command into the - reverse-path buffer. - - RESET (RSET) - - This command specifies that the current mail transaction is - to be aborted. Any stored sender, recipients, and mail data - must be discarded, and all buffers and state tables cleared. - The receiver must send an OK reply. - - VERIFY (VRFY) - - This command asks the receiver to confirm that the argument - identifies a user. If it is a user name, the full name of - the user (if known) and the fully specified mailbox are - returned. - - This command has no effect on any of the reverse-path - buffer, the forward-path buffer, or the mail data buffer. - - EXPAND (EXPN) - - This command asks the receiver to confirm that the argument - identifies a mailing list, and if so, to return the - membership of that list. The full name of the users (if - known) and the fully specified mailboxes are returned in a - multiline reply. - - This command has no effect on any of the reverse-path - buffer, the forward-path buffer, or the mail data buffer. - - HELP (HELP) - - This command causes the receiver to send helpful information - to the sender of the HELP command. The command may take an - argument (e.g., any command name) and return more specific - information as a response. - - This command has no effect on any of the reverse-path - buffer, the forward-path buffer, or the mail data buffer. - - - - - - - - -Postel [Page 25] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - NOOP (NOOP) - - This command does not affect any parameters or previously - entered commands. It specifies no action other than that - the receiver send an OK reply. - - This command has no effect on any of the reverse-path - buffer, the forward-path buffer, or the mail data buffer. - - QUIT (QUIT) - - This command specifies that the receiver must send an OK - reply, and then close the transmission channel. - - The receiver should not close the transmission channel until - it receives and replies to a QUIT command (even if there was - an error). The sender should not close the transmission - channel until it send a QUIT command and receives the reply - (even if there was an error response to a previous command). - If the connection is closed prematurely the receiver should - act as if a RSET command had been received (canceling any - pending transaction, but not undoing any previously - completed transaction), the sender should act as if the - command or transaction in progress had received a temporary - error (4xx). - - TURN (TURN) - - This command specifies that the receiver must either (1) - send an OK reply and then take on the role of the - sender-SMTP, or (2) send a refusal reply and retain the role - of the receiver-SMTP. - - If program-A is currently the sender-SMTP and it sends the - TURN command and receives an OK reply (250) then program-A - becomes the receiver-SMTP. Program-A is then in the initial - state as if the transmission channel just opened, and it - then sends the 220 service ready greeting. - - If program-B is currently the receiver-SMTP and it receives - the TURN command and sends an OK reply (250) then program-B - becomes the sender-SMTP. Program-B is then in the initial - state as if the transmission channel just opened, and it - then expects to receive the 220 service ready greeting. - - To refuse to change roles the receiver sends the 502 reply. - - - -[Page 26] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - There are restrictions on the order in which these command may - be used. - - The first command in a session must be the HELO command. - The HELO command may be used later in a session as well. If - the HELO command argument is not acceptable a 501 failure - reply must be returned and the receiver-SMTP must stay in - the same state. - - The NOOP, HELP, EXPN, and VRFY commands can be used at any - time during a session. - - The MAIL, SEND, SOML, or SAML commands begin a mail - transaction. Once started a mail transaction consists of - one of the transaction beginning commands, one or more RCPT - commands, and a DATA command, in that order. A mail - transaction may be aborted by the RSET command. There may - be zero or more transactions in a session. - - If the transaction beginning command argument is not - acceptable a 501 failure reply must be returned and the - receiver-SMTP must stay in the same state. If the commands - in a transaction are out of order a 503 failure reply must - be returned and the receiver-SMTP must stay in the same - state. - - The last command in a session must be the QUIT command. The - QUIT command can not be used at any other time in a session. - - 4.1.2. COMMAND SYNTAX - - The commands consist of a command code followed by an argument - field. Command codes are four alphabetic characters. Upper - and lower case alphabetic characters are to be treated - identically. Thus, any of the following may represent the mail - command: - - MAIL Mail mail MaIl mAIl - - This also applies to any symbols representing parameter values, - such as "TO" or "to" for the forward-path. Command codes and - the argument fields are separated by one or more spaces. - However, within the reverse-path and forward-path arguments - case is important. In particular, in some hosts the user - "smith" is different from the user "Smith". - - - - -Postel [Page 27] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - The argument field consists of a variable length character - string ending with the character sequence . The receiver - is to take no action until this sequence is received. - - Square brackets denote an optional argument field. If the - option is not taken, the appropriate default is implied. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -[Page 28] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - The following are the SMTP commands: - - HELO - - MAIL FROM: - - RCPT TO: - - DATA - - RSET - - SEND FROM: - - SOML FROM: - - SAML FROM: - - VRFY - - EXPN - - HELP [ ] - - NOOP - - QUIT - - TURN - - - - - - - - - - - - - - - - - - - - -Postel [Page 29] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - The syntax of the above argument fields (using BNF notation - where applicable) is given below. The "..." notation indicates - that a field may be repeated one or more times. - - ::= - - ::= - - ::= "<" [ ":" ] ">" - - ::= | "," - - ::= "@" - - ::= | "." - - ::= | "#" | "[" "]" - - ::= "@" - - ::= | - - ::= - - ::= | - - ::= | - - ::= | | "-" - - ::= | "." - - ::= | - - ::= """ """ - - ::= "\" | "\" | | - - ::= | "\" - - ::= "." "." "." - - ::= | - - ::= - - - - -[Page 30] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - ::= the carriage return character (ASCII code 13) - - ::= the line feed character (ASCII code 10) - - ::= the space character (ASCII code 32) - - ::= one, two, or three digits representing a decimal - integer value in the range 0 through 255 - - ::= any one of the 52 alphabetic characters A through Z - in upper case and a through z in lower case - - ::= any one of the 128 ASCII characters, but not any - or - - ::= any one of the ten digits 0 through 9 - - ::= any one of the 128 ASCII characters except , - , quote ("), or backslash (\) - - ::= any one of the 128 ASCII characters (no exceptions) - - ::= "<" | ">" | "(" | ")" | "[" | "]" | "\" | "." - | "," | ";" | ":" | "@" """ | the control - characters (ASCII codes 0 through 31 inclusive and - 127) - - Note that the backslash, "\", is a quote character, which is - used to indicate that the next character is to be used - literally (instead of its normal interpretation). For example, - "Joe\,Smith" could be used to indicate a single nine character - user field with comma being the fourth character of the field. - - Hosts are generally known by names which are translated to - addresses in each host. Note that the name elements of domains - are the official names -- no use of nicknames or aliases is - allowed. - - Sometimes a host is not known to the translation function and - communication is blocked. To bypass this barrier two numeric - forms are also allowed for host "names". One form is a decimal - integer prefixed by a pound sign, "#", which indicates the - number is the address of the host. Another form is four small - decimal integers separated by dots and enclosed by brackets, - e.g., "[123.255.37.2]", which indicates a 32-bit ARPA Internet - Address in four 8-bit fields. - - - -Postel [Page 31] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - The time stamp line and the return path line are formally - defined as follows: - - ::= "Return-Path:" - - ::= "Received:" - - ::= ";" - - - ::= "FROM" - - ::= "BY" - - ::= [] [] [] [] - - ::= "VIA" - - ::= "WITH" - - ::= "ID" - - ::= "FOR" - - ::= The standard names for links are registered with - the Network Information Center. - - ::= The standard names for protocols are - registered with the Network Information Center. - - ::=
::= the one or two decimal integer day of the month in - the range 1 to 31. - - ::= "JAN" | "FEB" | "MAR" | "APR" | "MAY" | "JUN" | - "JUL" | "AUG" | "SEP" | "OCT" | "NOV" | "DEC" - - ::= the two decimal integer year of the century in the - range 00 to 99. - - - - - -[Page 32] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - ::= the two decimal integer hour of the day in the - range 00 to 24. - - ::= the two decimal integer minute of the hour in the - range 00 to 59. - - ::= the two decimal integer second of the minute in the - range 00 to 59. - - ::= "UT" for Universal Time (the default) or other - time zone designator (as in [2]). - - - - ------------------------------------------------------------- - - Return Path Example - - Return-Path: <@CHARLIE.ARPA,@BAKER.ARPA:JOE@ABLE.ARPA> - - Example 9 - - ------------------------------------------------------------- - - ------------------------------------------------------------- - - Time Stamp Line Example - - Received: FROM ABC.ARPA BY XYZ.ARPA ; 22 OCT 81 09:23:59 PDT - - Received: from ABC.ARPA by XYZ.ARPA via TELENET with X25 - id M12345 for Smith@PDQ.ARPA ; 22 OCT 81 09:23:59 PDT - - Example 10 - - ------------------------------------------------------------- - - - - - - - - - - - - - -Postel [Page 33] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - 4.2. SMTP REPLIES - - Replies to SMTP commands are devised to ensure the synchronization - of requests and actions in the process of mail transfer, and to - guarantee that the sender-SMTP always knows the state of the - receiver-SMTP. Every command must generate exactly one reply. - - The details of the command-reply sequence are made explicit in - Section 5.3 on Sequencing and Section 5.4 State Diagrams. - - An SMTP reply consists of a three digit number (transmitted as - three alphanumeric characters) followed by some text. The number - is intended for use by automata to determine what state to enter - next; the text is meant for the human user. It is intended that - the three digits contain enough encoded information that the - sender-SMTP need not examine the text and may either discard it or - pass it on to the user, as appropriate. In particular, the text - may be receiver-dependent and context dependent, so there are - likely to be varying texts for each reply code. A discussion of - the theory of reply codes is given in Appendix E. Formally, a - reply is defined to be the sequence: a three-digit code, , - one line of text, and , or a multiline reply (as defined in - Appendix E). Only the EXPN and HELP commands are expected to - result in multiline replies in normal circumstances, however - multiline replies are allowed for any command. - - - - - - - - - - - - - - - - - - - - - - - - -[Page 34] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - 4.2.1. REPLY CODES BY FUNCTION GROUPS - - 500 Syntax error, command unrecognized - [This may include errors such as command line too long] - 501 Syntax error in parameters or arguments - 502 Command not implemented - 503 Bad sequence of commands - 504 Command parameter not implemented - - 211 System status, or system help reply - 214 Help message - [Information on how to use the receiver or the meaning of a - particular non-standard command; this reply is useful only - to the human user] - - 220 Service ready - 221 Service closing transmission channel - 421 Service not available, - closing transmission channel - [This may be a reply to any command if the service knows it - must shut down] - - 250 Requested mail action okay, completed - 251 User not local; will forward to - 450 Requested mail action not taken: mailbox unavailable - [E.g., mailbox busy] - 550 Requested action not taken: mailbox unavailable - [E.g., mailbox not found, no access] - 451 Requested action aborted: error in processing - 551 User not local; please try - 452 Requested action not taken: insufficient system storage - 552 Requested mail action aborted: exceeded storage allocation - 553 Requested action not taken: mailbox name not allowed - [E.g., mailbox syntax incorrect] - 354 Start mail input; end with . - 554 Transaction failed - - - - - - - - - - - - - -Postel [Page 35] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - 4.2.2. NUMERIC ORDER LIST OF REPLY CODES - - 211 System status, or system help reply - 214 Help message - [Information on how to use the receiver or the meaning of a - particular non-standard command; this reply is useful only - to the human user] - 220 Service ready - 221 Service closing transmission channel - 250 Requested mail action okay, completed - 251 User not local; will forward to - - 354 Start mail input; end with . - - 421 Service not available, - closing transmission channel - [This may be a reply to any command if the service knows it - must shut down] - 450 Requested mail action not taken: mailbox unavailable - [E.g., mailbox busy] - 451 Requested action aborted: local error in processing - 452 Requested action not taken: insufficient system storage - - 500 Syntax error, command unrecognized - [This may include errors such as command line too long] - 501 Syntax error in parameters or arguments - 502 Command not implemented - 503 Bad sequence of commands - 504 Command parameter not implemented - 550 Requested action not taken: mailbox unavailable - [E.g., mailbox not found, no access] - 551 User not local; please try - 552 Requested mail action aborted: exceeded storage allocation - 553 Requested action not taken: mailbox name not allowed - [E.g., mailbox syntax incorrect] - 554 Transaction failed - - - - - - - - - - - - - -[Page 36] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - 4.3. SEQUENCING OF COMMANDS AND REPLIES - - The communication between the sender and receiver is intended to - be an alternating dialogue, controlled by the sender. As such, - the sender issues a command and the receiver responds with a - reply. The sender must wait for this response before sending - further commands. - - One important reply is the connection greeting. Normally, a - receiver will send a 220 "Service ready" reply when the connection - is completed. The sender should wait for this greeting message - before sending any commands. - - Note: all the greeting type replies have the official name of - the server host as the first word following the reply code. - - For example, - - 220 USC-ISIF.ARPA Service ready - - The table below lists alternative success and failure replies for - each command. These must be strictly adhered to; a receiver may - substitute text in the replies, but the meaning and action implied - by the code numbers and by the specific command reply sequence - cannot be altered. - - COMMAND-REPLY SEQUENCES - - Each command is listed with its possible replies. The prefixes - used before the possible replies are "P" for preliminary (not - used in SMTP), "I" for intermediate, "S" for success, "F" for - failure, and "E" for error. The 421 reply (service not - available, closing transmission channel) may be given to any - command if the SMTP-receiver knows it must shut down. This - listing forms the basis for the State Diagrams in Section 4.4. - - CONNECTION ESTABLISHMENT - S: 220 - F: 421 - HELO - S: 250 - E: 500, 501, 504, 421 - MAIL - S: 250 - F: 552, 451, 452 - E: 500, 501, 421 - - - -Postel [Page 37] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - RCPT - S: 250, 251 - F: 550, 551, 552, 553, 450, 451, 452 - E: 500, 501, 503, 421 - DATA - I: 354 -> data -> S: 250 - F: 552, 554, 451, 452 - F: 451, 554 - E: 500, 501, 503, 421 - RSET - S: 250 - E: 500, 501, 504, 421 - SEND - S: 250 - F: 552, 451, 452 - E: 500, 501, 502, 421 - SOML - S: 250 - F: 552, 451, 452 - E: 500, 501, 502, 421 - SAML - S: 250 - F: 552, 451, 452 - E: 500, 501, 502, 421 - VRFY - S: 250, 251 - F: 550, 551, 553 - E: 500, 501, 502, 504, 421 - EXPN - S: 250 - F: 550 - E: 500, 501, 502, 504, 421 - HELP - S: 211, 214 - E: 500, 501, 502, 504, 421 - NOOP - S: 250 - E: 500, 421 - QUIT - S: 221 - E: 500 - TURN - S: 250 - F: 502 - E: 500, 503 - - - - -[Page 38] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - 4.4. STATE DIAGRAMS - - Following are state diagrams for a simple-minded SMTP - implementation. Only the first digit of the reply codes is used. - There is one state diagram for each group of SMTP commands. The - command groupings were determined by constructing a model for each - command and then collecting together the commands with - structurally identical models. - - For each command there are three possible outcomes: "success" - (S), "failure" (F), and "error" (E). In the state diagrams below - we use the symbol B for "begin", and the symbol W for "wait for - reply". - - First, the diagram that represents most of the SMTP commands: - - - 1,3 +---+ - ----------->| E | - | +---+ - | - +---+ cmd +---+ 2 +---+ - | B |---------->| W |---------->| S | - +---+ +---+ +---+ - | - | 4,5 +---+ - ----------->| F | - +---+ - - - This diagram models the commands: - - HELO, MAIL, RCPT, RSET, SEND, SOML, SAML, VRFY, EXPN, HELP, - NOOP, QUIT, TURN. - - - - - - - - - - - - - - - -Postel [Page 39] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - A more complex diagram models the DATA command: - - - +---+ DATA +---+ 1,2 +---+ - | B |---------->| W |-------------------->| E | - +---+ +---+ ------------>+---+ - 3| |4,5 | - | | | - -------------- ----- | - | | | +---+ - | ---------- -------->| S | - | | | | +---+ - | | ------------ - | | | | - V 1,3| |2 | - +---+ data +---+ --------------->+---+ - | |---------->| W | | F | - +---+ +---+-------------------->+---+ - 4,5 - - - Note that the "data" here is a series of lines sent from the - sender to the receiver with no response expected until the last - line is sent. - - - - - - - - - - - - - - - - - - - - - - - - - -[Page 40] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - 4.5. DETAILS - - 4.5.1. MINIMUM IMPLEMENTATION - - In order to make SMTP workable, the following minimum - implementation is required for all receivers: - - COMMANDS -- HELO - MAIL - RCPT - DATA - RSET - NOOP - QUIT - - 4.5.2. TRANSPARENCY - - Without some provision for data transparency the character - sequence "." ends the mail text and cannot be sent - by the user. In general, users are not aware of such - "forbidden" sequences. To allow all user composed text to be - transmitted transparently the following procedures are used. - - 1. Before sending a line of mail text the sender-SMTP checks - the first character of the line. If it is a period, one - additional period is inserted at the beginning of the line. - - 2. When a line of mail text is received by the receiver-SMTP - it checks the line. If the line is composed of a single - period it is the end of mail. If the first character is a - period and there are other characters on the line, the first - character is deleted. - - The mail data may contain any of the 128 ASCII characters. All - characters are to be delivered to the recipient's mailbox - including format effectors and other control characters. If - the transmission channel provides an 8-bit byte (octets) data - stream, the 7-bit ASCII codes are transmitted right justified - in the octets with the high order bits cleared to zero. - - In some systems it may be necessary to transform the data as - it is received and stored. This may be necessary for hosts - that use a different character set than ASCII as their local - character set, or that store data in records rather than - - - - - -Postel [Page 41] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - strings. If such transforms are necessary, they must be - reversible -- especially if such transforms are applied to - mail being relayed. - - 4.5.3. SIZES - - There are several objects that have required minimum maximum - sizes. That is, every implementation must be able to receive - objects of at least these sizes, but must not send objects - larger than these sizes. - - - **************************************************** - * * - * TO THE MAXIMUM EXTENT POSSIBLE, IMPLEMENTATION * - * TECHNIQUES WHICH IMPOSE NO LIMITS ON THE LENGTH * - * OF THESE OBJECTS SHOULD BE USED. * - * * - **************************************************** - - user - - The maximum total length of a user name is 64 characters. - - domain - - The maximum total length of a domain name or number is 64 - characters. - - path - - The maximum total length of a reverse-path or - forward-path is 256 characters (including the punctuation - and element separators). - - command line - - The maximum total length of a command line including the - command word and the is 512 characters. - - reply line - - The maximum total length of a reply line including the - reply code and the is 512 characters. - - - - - -[Page 42] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - text line - - The maximum total length of a text line including the - is 1000 characters (but not counting the leading - dot duplicated for transparency). - - recipients buffer - - The maximum total number of recipients that must be - buffered is 100 recipients. - - - **************************************************** - * * - * TO THE MAXIMUM EXTENT POSSIBLE, IMPLEMENTATION * - * TECHNIQUES WHICH IMPOSE NO LIMITS ON THE LENGTH * - * OF THESE OBJECTS SHOULD BE USED. * - * * - **************************************************** - - Errors due to exceeding these limits may be reported by using - the reply codes, for example: - - 500 Line too long. - - 501 Path too long - - 552 Too many recipients. - - 552 Too much mail data. - - - - - - - - - - - - - - - - - - - -Postel [Page 43] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - -APPENDIX A - - TCP Transport service - - The Transmission Control Protocol [3] is used in the ARPA - Internet, and in any network following the US DoD standards for - internetwork protocols. - - Connection Establishment - - The SMTP transmission channel is a TCP connection established - between the sender process port U and the receiver process port - L. This single full duplex connection is used as the - transmission channel. This protocol is assigned the service - port 25 (31 octal), that is L=25. - - Data Transfer - - The TCP connection supports the transmission of 8-bit bytes. - The SMTP data is 7-bit ASCII characters. Each character is - transmitted as an 8-bit byte with the high-order bit cleared to - zero. - - - - - - - - - - - - - - - - - - - - - - - - - - - -[Page 44] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - -APPENDIX B - - NCP Transport service - - The ARPANET Host-to-Host Protocol [4] (implemented by the Network - Control Program) may be used in the ARPANET. - - Connection Establishment - - The SMTP transmission channel is established via NCP between - the sender process socket U and receiver process socket L. The - Initial Connection Protocol [5] is followed resulting in a pair - of simplex connections. This pair of connections is used as - the transmission channel. This protocol is assigned the - contact socket 25 (31 octal), that is L=25. - - Data Transfer - - The NCP data connections are established in 8-bit byte mode. - The SMTP data is 7-bit ASCII characters. Each character is - transmitted as an 8-bit byte with the high-order bit cleared to - zero. - - - - - - - - - - - - - - - - - - - - - - - - - - - -Postel [Page 45] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - -APPENDIX C - - NITS - - The Network Independent Transport Service [6] may be used. - - Connection Establishment - - The SMTP transmission channel is established via NITS between - the sender process and receiver process. The sender process - executes the CONNECT primitive, and the waiting receiver - process executes the ACCEPT primitive. - - Data Transfer - - The NITS connection supports the transmission of 8-bit bytes. - The SMTP data is 7-bit ASCII characters. Each character is - transmitted as an 8-bit byte with the high-order bit cleared to - zero. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -[Page 46] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - -APPENDIX D - - X.25 Transport service - - It may be possible to use the X.25 service [7] as provided by the - Public Data Networks directly, however, it is suggested that a - reliable end-to-end protocol such as TCP be used on top of X.25 - connections. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Postel [Page 47] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - -APPENDIX E - - Theory of Reply Codes - - The three digits of the reply each have a special significance. - The first digit denotes whether the response is good, bad or - incomplete. An unsophisticated sender-SMTP will be able to - determine its next action (proceed as planned, redo, retrench, - etc.) by simply examining this first digit. A sender-SMTP that - wants to know approximately what kind of error occurred (e.g., - mail system error, command syntax error) may examine the second - digit, reserving the third digit for the finest gradation of - information. - - There are five values for the first digit of the reply code: - - 1yz Positive Preliminary reply - - The command has been accepted, but the requested action - is being held in abeyance, pending confirmation of the - information in this reply. The sender-SMTP should send - another command specifying whether to continue or abort - the action. - - [Note: SMTP does not have any commands that allow this - type of reply, and so does not have the continue or - abort commands.] - - 2yz Positive Completion reply - - The requested action has been successfully completed. A - new request may be initiated. - - 3yz Positive Intermediate reply - - The command has been accepted, but the requested action - is being held in abeyance, pending receipt of further - information. The sender-SMTP should send another command - specifying this information. This reply is used in - command sequence groups. - - 4yz Transient Negative Completion reply - - The command was not accepted and the requested action did - not occur. However, the error condition is temporary and - the action may be requested again. The sender should - - - -[Page 48] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - return to the beginning of the command sequence (if any). - It is difficult to assign a meaning to "transient" when - two different sites (receiver- and sender- SMTPs) must - agree on the interpretation. Each reply in this category - might have a different time value, but the sender-SMTP is - encouraged to try again. A rule of thumb to determine if - a reply fits into the 4yz or the 5yz category (see below) - is that replies are 4yz if they can be repeated without - any change in command form or in properties of the sender - or receiver. (E.g., the command is repeated identically - and the receiver does not put up a new implementation.) - - 5yz Permanent Negative Completion reply - - The command was not accepted and the requested action did - not occur. The sender-SMTP is discouraged from repeating - the exact request (in the same sequence). Even some - "permanent" error conditions can be corrected, so the - human user may want to direct the sender-SMTP to - reinitiate the command sequence by direct action at some - point in the future (e.g., after the spelling has been - changed, or the user has altered the account status). - - The second digit encodes responses in specific categories: - - x0z Syntax -- These replies refer to syntax errors, - syntactically correct commands that don't fit any - functional category, and unimplemented or superfluous - commands. - - x1z Information -- These are replies to requests for - information, such as status or help. - - x2z Connections -- These are replies referring to the - transmission channel. - - x3z Unspecified as yet. - - x4z Unspecified as yet. - - x5z Mail system -- These replies indicate the status of - the receiver mail system vis-a-vis the requested - transfer or other mail system action. - - The third digit gives a finer gradation of meaning in each - category specified by the second digit. The list of replies - - - -Postel [Page 49] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - illustrates this. Each reply text is recommended rather than - mandatory, and may even change according to the command with - which it is associated. On the other hand, the reply codes - must strictly follow the specifications in this section. - Receiver implementations should not invent new codes for - slightly different situations from the ones described here, but - rather adapt codes already defined. - - For example, a command such as NOOP whose successful execution - does not offer the sender-SMTP any new information will return - a 250 reply. The response is 502 when the command requests an - unimplemented non-site-specific action. A refinement of that - is the 504 reply for a command that is implemented, but that - requests an unimplemented parameter. - - The reply text may be longer than a single line; in these cases - the complete text must be marked so the sender-SMTP knows when it - can stop reading the reply. This requires a special format to - indicate a multiple line reply. - - The format for multiline replies requires that every line, - except the last, begin with the reply code, followed - immediately by a hyphen, "-" (also known as minus), followed by - text. The last line will begin with the reply code, followed - immediately by , optionally some text, and . - - For example: - 123-First line - 123-Second line - 123-234 text beginning with numbers - 123 The last line - - In many cases the sender-SMTP then simply needs to search for - the reply code followed by at the beginning of a line, and - ignore all preceding lines. In a few cases, there is important - data for the sender in the reply "text". The sender will know - these cases from the current context. - - - - - - - - - - - - -[Page 50] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - -APPENDIX F - - Scenarios - - This section presents complete scenarios of several types of SMTP - sessions. - - A Typical SMTP Transaction Scenario - - This SMTP example shows mail sent by Smith at host USC-ISIF, to - Jones, Green, and Brown at host BBN-UNIX. Here we assume that - host USC-ISIF contacts host BBN-UNIX directly. The mail is - accepted for Jones and Brown. Green does not have a mailbox at - host BBN-UNIX. - - ------------------------------------------------------------- - - R: 220 BBN-UNIX.ARPA Simple Mail Transfer Service Ready - S: HELO USC-ISIF.ARPA - R: 250 BBN-UNIX.ARPA - - S: MAIL FROM: - R: 250 OK - - S: RCPT TO: - R: 250 OK - - S: RCPT TO: - R: 550 No such user here - - S: RCPT TO: - R: 250 OK - - S: DATA - R: 354 Start mail input; end with . - S: Blah blah blah... - S: ...etc. etc. etc. - S: . - R: 250 OK - - S: QUIT - R: 221 BBN-UNIX.ARPA Service closing transmission channel - - Scenario 1 - - ------------------------------------------------------------- - - - -Postel [Page 51] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - Aborted SMTP Transaction Scenario - - ------------------------------------------------------------- - - R: 220 MIT-Multics.ARPA Simple Mail Transfer Service Ready - S: HELO ISI-VAXA.ARPA - R: 250 MIT-Multics.ARPA - - S: MAIL FROM: - R: 250 OK - - S: RCPT TO: - R: 250 OK - - S: RCPT TO: - R: 550 No such user here - - S: RSET - R: 250 OK - - S: QUIT - R: 221 MIT-Multics.ARPA Service closing transmission channel - - Scenario 2 - - ------------------------------------------------------------- - - - - - - - - - - - - - - - - - - - - - - - -[Page 52] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - Relayed Mail Scenario - - ------------------------------------------------------------- - - Step 1 -- Source Host to Relay Host - - R: 220 USC-ISIE.ARPA Simple Mail Transfer Service Ready - S: HELO MIT-AI.ARPA - R: 250 USC-ISIE.ARPA - - S: MAIL FROM: - R: 250 OK - - S: RCPT TO:<@USC-ISIE.ARPA:Jones@BBN-VAX.ARPA> - R: 250 OK - - S: DATA - R: 354 Start mail input; end with . - S: Date: 2 Nov 81 22:33:44 - S: From: John Q. Public - S: Subject: The Next Meeting of the Board - S: To: Jones@BBN-Vax.ARPA - S: - S: Bill: - S: The next meeting of the board of directors will be - S: on Tuesday. - S: John. - S: . - R: 250 OK - - S: QUIT - R: 221 USC-ISIE.ARPA Service closing transmission channel - - - - - - - - - - - - - - - - - -Postel [Page 53] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - Step 2 -- Relay Host to Destination Host - - R: 220 BBN-VAX.ARPA Simple Mail Transfer Service Ready - S: HELO USC-ISIE.ARPA - R: 250 BBN-VAX.ARPA - - S: MAIL FROM:<@USC-ISIE.ARPA:JQP@MIT-AI.ARPA> - R: 250 OK - - S: RCPT TO: - R: 250 OK - - S: DATA - R: 354 Start mail input; end with . - S: Received: from MIT-AI.ARPA by USC-ISIE.ARPA ; - 2 Nov 81 22:40:10 UT - S: Date: 2 Nov 81 22:33:44 - S: From: John Q. Public - S: Subject: The Next Meeting of the Board - S: To: Jones@BBN-Vax.ARPA - S: - S: Bill: - S: The next meeting of the board of directors will be - S: on Tuesday. - S: John. - S: . - R: 250 OK - - S: QUIT - R: 221 USC-ISIE.ARPA Service closing transmission channel - - Scenario 3 - - ------------------------------------------------------------- - - - - - - - - - - - - - - - -[Page 54] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - Verifying and Sending Scenario - - ------------------------------------------------------------- - - R: 220 SU-SCORE.ARPA Simple Mail Transfer Service Ready - S: HELO MIT-MC.ARPA - R: 250 SU-SCORE.ARPA - - S: VRFY Crispin - R: 250 Mark Crispin - - S: SEND FROM: - R: 250 OK - - S: RCPT TO: - R: 250 OK - - S: DATA - R: 354 Start mail input; end with . - S: Blah blah blah... - S: ...etc. etc. etc. - S: . - R: 250 OK - - S: QUIT - R: 221 SU-SCORE.ARPA Service closing transmission channel - - Scenario 4 - - ------------------------------------------------------------- - - - - - - - - - - - - - - - - - - - -Postel [Page 55] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - Sending and Mailing Scenarios - - First the user's name is verified, then an attempt is made to - send to the user's terminal. When that fails, the messages is - mailed to the user's mailbox. - - ------------------------------------------------------------- - - R: 220 SU-SCORE.ARPA Simple Mail Transfer Service Ready - S: HELO MIT-MC.ARPA - R: 250 SU-SCORE.ARPA - - S: VRFY Crispin - R: 250 Mark Crispin - - S: SEND FROM: - R: 250 OK - - S: RCPT TO: - R: 450 User not active now - - S: RSET - R: 250 OK - - S: MAIL FROM: - R: 250 OK - - S: RCPT TO: - R: 250 OK - - S: DATA - R: 354 Start mail input; end with . - S: Blah blah blah... - S: ...etc. etc. etc. - S: . - R: 250 OK - - S: QUIT - R: 221 SU-SCORE.ARPA Service closing transmission channel - - Scenario 5 - - ------------------------------------------------------------- - - - - - - -[Page 56] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - Doing the preceding scenario more efficiently. - - ------------------------------------------------------------- - - R: 220 SU-SCORE.ARPA Simple Mail Transfer Service Ready - S: HELO MIT-MC.ARPA - R: 250 SU-SCORE.ARPA - - S: VRFY Crispin - R: 250 Mark Crispin - - S: SOML FROM: - R: 250 OK - - S: RCPT TO: - R: 250 User not active now, so will do mail. - - S: DATA - R: 354 Start mail input; end with . - S: Blah blah blah... - S: ...etc. etc. etc. - S: . - R: 250 OK - - S: QUIT - R: 221 SU-SCORE.ARPA Service closing transmission channel - - Scenario 6 - - ------------------------------------------------------------- - - - - - - - - - - - - - - - - - - - -Postel [Page 57] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - Mailing List Scenario - - First each of two mailing lists are expanded in separate sessions - with different hosts. Then the message is sent to everyone that - appeared on either list (but no duplicates) via a relay host. - - ------------------------------------------------------------- - - Step 1 -- Expanding the First List - - R: 220 MIT-AI.ARPA Simple Mail Transfer Service Ready - S: HELO SU-SCORE.ARPA - R: 250 MIT-AI.ARPA - - S: EXPN Example-People - R: 250- - R: 250-Fred Fonebone - R: 250-Xenon Y. Zither - R: 250-Quincy Smith <@USC-ISIF.ARPA:Q-Smith@ISI-VAXA.ARPA> - R: 250- - R: 250 - - S: QUIT - R: 221 MIT-AI.ARPA Service closing transmission channel - - - - - - - - - - - - - - - - - - - - - - - - - -[Page 58] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - Step 2 -- Expanding the Second List - - R: 220 MIT-MC.ARPA Simple Mail Transfer Service Ready - S: HELO SU-SCORE.ARPA - R: 250 MIT-MC.ARPA - - S: EXPN Interested-Parties - R: 250-Al Calico - R: 250- - R: 250-Quincy Smith <@USC-ISIF.ARPA:Q-Smith@ISI-VAXA.ARPA> - R: 250- - R: 250 - - S: QUIT - R: 221 MIT-MC.ARPA Service closing transmission channel - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Postel [Page 59] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - Step 3 -- Mailing to All via a Relay Host - - R: 220 USC-ISIE.ARPA Simple Mail Transfer Service Ready - S: HELO SU-SCORE.ARPA - R: 250 USC-ISIE.ARPA - - S: MAIL FROM: - R: 250 OK - S: RCPT TO:<@USC-ISIE.ARPA:ABC@MIT-MC.ARPA> - R: 250 OK - S: RCPT TO:<@USC-ISIE.ARPA:Fonebone@USC-ISIQA.ARPA> - R: 250 OK - S: RCPT TO:<@USC-ISIE.ARPA:XYZ@MIT-AI.ARPA> - R: 250 OK - S: RCPT - TO:<@USC-ISIE.ARPA,@USC-ISIF.ARPA:Q-Smith@ISI-VAXA.ARPA> - R: 250 OK - S: RCPT TO:<@USC-ISIE.ARPA:joe@FOO-UNIX.ARPA> - R: 250 OK - S: RCPT TO:<@USC-ISIE.ARPA:xyz@BAR-UNIX.ARPA> - R: 250 OK - S: RCPT TO:<@USC-ISIE.ARPA:fred@BBN-UNIX.ARPA> - R: 250 OK - - S: DATA - R: 354 Start mail input; end with . - S: Blah blah blah... - S: ...etc. etc. etc. - S: . - R: 250 OK - - S: QUIT - R: 221 USC-ISIE.ARPA Service closing transmission channel - - Scenario 7 - - ------------------------------------------------------------- - - - - - - - - - - - - -[Page 60] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - Forwarding Scenarios - - ------------------------------------------------------------- - - R: 220 USC-ISIF.ARPA Simple Mail Transfer Service Ready - S: HELO LBL-UNIX.ARPA - R: 250 USC-ISIF.ARPA - - S: MAIL FROM: - R: 250 OK - - S: RCPT TO: - R: 251 User not local; will forward to - - S: DATA - R: 354 Start mail input; end with . - S: Blah blah blah... - S: ...etc. etc. etc. - S: . - R: 250 OK - - S: QUIT - R: 221 USC-ISIF.ARPA Service closing transmission channel - - Scenario 8 - - ------------------------------------------------------------- - - - - - - - - - - - - - - - - - - - - - - -Postel [Page 61] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - ------------------------------------------------------------- - - Step 1 -- Trying the Mailbox at the First Host - - R: 220 USC-ISIF.ARPA Simple Mail Transfer Service Ready - S: HELO LBL-UNIX.ARPA - R: 250 USC-ISIF.ARPA - - S: MAIL FROM: - R: 250 OK - - S: RCPT TO: - R: 251 User not local; will forward to - - S: RSET - R: 250 OK - - S: QUIT - R: 221 USC-ISIF.ARPA Service closing transmission channel - - Step 2 -- Delivering the Mail at the Second Host - - R: 220 USC-ISI.ARPA Simple Mail Transfer Service Ready - S: HELO LBL-UNIX.ARPA - R: 250 USC-ISI.ARPA - - S: MAIL FROM: - R: 250 OK - - S: RCPT TO: - R: OK - - S: DATA - R: 354 Start mail input; end with . - S: Blah blah blah... - S: ...etc. etc. etc. - S: . - R: 250 OK - - S: QUIT - R: 221 USC-ISI.ARPA Service closing transmission channel - - Scenario 9 - - ------------------------------------------------------------- - - - - -[Page 62] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - Too Many Recipients Scenario - - ------------------------------------------------------------- - - R: 220 BERKELEY.ARPA Simple Mail Transfer Service Ready - S: HELO USC-ISIF.ARPA - R: 250 BERKELEY.ARPA - - S: MAIL FROM: - R: 250 OK - - S: RCPT TO: - R: 250 OK - - S: RCPT TO: - R: 552 Recipient storage full, try again in another transaction - - S: DATA - R: 354 Start mail input; end with . - S: Blah blah blah... - S: ...etc. etc. etc. - S: . - R: 250 OK - - S: MAIL FROM: - R: 250 OK - - S: RCPT TO: - R: 250 OK - - S: DATA - R: 354 Start mail input; end with . - S: Blah blah blah... - S: ...etc. etc. etc. - S: . - R: 250 OK - - S: QUIT - R: 221 BERKELEY.ARPA Service closing transmission channel - - Scenario 10 - - ------------------------------------------------------------- - - Note that a real implementation must handle many recipients as - specified in Section 4.5.3. - - - -Postel [Page 63] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - -GLOSSARY - - ASCII - - American Standard Code for Information Interchange [1]. - - command - - A request for a mail service action sent by the sender-SMTP to the - receiver-SMTP. - - domain - - The hierarchially structured global character string address of a - host computer in the mail system. - - end of mail data indication - - A special sequence of characters that indicates the end of the - mail data. In particular, the five characters carriage return, - line feed, period, carriage return, line feed, in that order. - - host - - A computer in the internetwork environment on which mailboxes or - SMTP processes reside. - - line - - A a sequence of ASCII characters ending with a . - - mail data - - A sequence of ASCII characters of arbitrary length, which conforms - to the standard set in the Standard for the Format of ARPA - Internet Text Messages (RFC 822 [2]). - - mailbox - - A character string (address) which identifies a user to whom mail - is to be sent. Mailbox normally consists of the host and user - specifications. The standard mailbox naming convention is defined - to be "user@domain". Additionally, the "container" in which mail - is stored. - - - - - -[Page 64] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - receiver-SMTP process - - A process which transfers mail in cooperation with a sender-SMTP - process. It waits for a connection to be established via the - transport service. It receives SMTP commands from the - sender-SMTP, sends replies, and performs the specified operations. - - reply - - A reply is an acknowledgment (positive or negative) sent from - receiver to sender via the transmission channel in response to a - command. The general form of a reply is a completion code - (including error codes) followed by a text string. The codes are - for use by programs and the text is usually intended for human - users. - - sender-SMTP process - - A process which transfers mail in cooperation with a receiver-SMTP - process. A local language may be used in the user interface - command/reply dialogue. The sender-SMTP initiates the transport - service connection. It initiates SMTP commands, receives replies, - and governs the transfer of mail. - - session - - The set of exchanges that occur while the transmission channel is - open. - - transaction - - The set of exchanges required for one message to be transmitted - for one or more recipients. - - transmission channel - - A full-duplex communication path between a sender-SMTP and a - receiver-SMTP for the exchange of commands, replies, and mail - text. - - transport service - - Any reliable stream-oriented data communication services. For - example, NCP, TCP, NITS. - - - - - -Postel [Page 65] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - user - - A human being (or a process on behalf of a human being) wishing to - obtain mail transfer service. In addition, a recipient of - computer mail. - - word - - A sequence of printing characters. - - - - The characters carriage return and line feed (in that order). - - - - The space character. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -[Page 66] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - -REFERENCES - - [1] ASCII - - ASCII, "USA Code for Information Interchange", United States of - America Standards Institute, X3.4, 1968. Also in: Feinler, E. - and J. Postel, eds., "ARPANET Protocol Handbook", NIC 7104, for - the Defense Communications Agency by SRI International, Menlo - Park, California, Revised January 1978. - - [2] RFC 822 - - Crocker, D., "Standard for the Format of ARPA Internet Text - Messages," RFC 822, Department of Electrical Engineering, - University of Delaware, August 1982. - - [3] TCP - - Postel, J., ed., "Transmission Control Protocol - DARPA Internet - Program Protocol Specification", RFC 793, USC/Information Sciences - Institute, NTIS AD Number A111091, September 1981. Also in: - Feinler, E. and J. Postel, eds., "Internet Protocol Transition - Workbook", SRI International, Menlo Park, California, March 1982. - - [4] NCP - - McKenzie,A., "Host/Host Protocol for the ARPA Network", NIC 8246, - January 1972. Also in: Feinler, E. and J. Postel, eds., "ARPANET - Protocol Handbook", NIC 7104, for the Defense Communications - Agency by SRI International, Menlo Park, California, Revised - January 1978. - - [5] Initial Connection Protocol - - Postel, J., "Official Initial Connection Protocol", NIC 7101, - 11 June 1971. Also in: Feinler, E. and J. Postel, eds., "ARPANET - Protocol Handbook", NIC 7104, for the Defense Communications - Agency by SRI International, Menlo Park, California, Revised - January 1978. - - [6] NITS - - PSS/SG3, "A Network Independent Transport Service", Study Group 3, - The Post Office PSS Users Group, February 1980. Available from - the DCPU, National Physical Laboratory, Teddington, UK. - - - - -Postel [Page 67] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - [7] X.25 - - CCITT, "Recommendation X.25 - Interface Between Data Terminal - Equipment (DTE) and Data Circuit-terminating Equipment (DCE) for - Terminals Operating in the Packet Mode on Public Data Networks," - CCITT Orange Book, Vol. VIII.2, International Telephone and - Telegraph Consultative Committee, Geneva, 1976. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -[Page 68] Postel - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc1321.txt.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc1321.txt.svn-base deleted file mode 100644 index 68af27d..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc1321.txt.svn-base +++ /dev/null @@ -1,1179 +0,0 @@ - - - - - - -Network Working Group R. Rivest -Request for Comments: 1321 MIT Laboratory for Computer Science - and RSA Data Security, Inc. - April 1992 - - - The MD5 Message-Digest Algorithm - -Status of this Memo - - This memo provides information for the Internet community. It does - not specify an Internet standard. Distribution of this memo is - unlimited. - -Acknowlegements - - We would like to thank Don Coppersmith, Burt Kaliski, Ralph Merkle, - David Chaum, and Noam Nisan for numerous helpful comments and - suggestions. - -Table of Contents - - 1. Executive Summary 1 - 2. Terminology and Notation 2 - 3. MD5 Algorithm Description 3 - 4. Summary 6 - 5. Differences Between MD4 and MD5 6 - References 7 - APPENDIX A - Reference Implementation 7 - Security Considerations 21 - Author's Address 21 - -1. Executive Summary - - This document describes the MD5 message-digest algorithm. The - algorithm takes as input a message of arbitrary length and produces - as output a 128-bit "fingerprint" or "message digest" of the input. - It is conjectured that it is computationally infeasible to produce - two messages having the same message digest, or to produce any - message having a given prespecified target message digest. The MD5 - algorithm is intended for digital signature applications, where a - large file must be "compressed" in a secure manner before being - encrypted with a private (secret) key under a public-key cryptosystem - such as RSA. - - - - - - - -Rivest [Page 1] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - - The MD5 algorithm is designed to be quite fast on 32-bit machines. In - addition, the MD5 algorithm does not require any large substitution - tables; the algorithm can be coded quite compactly. - - The MD5 algorithm is an extension of the MD4 message-digest algorithm - 1,2]. MD5 is slightly slower than MD4, but is more "conservative" in - design. MD5 was designed because it was felt that MD4 was perhaps - being adopted for use more quickly than justified by the existing - critical review; because MD4 was designed to be exceptionally fast, - it is "at the edge" in terms of risking successful cryptanalytic - attack. MD5 backs off a bit, giving up a little in speed for a much - greater likelihood of ultimate security. It incorporates some - suggestions made by various reviewers, and contains additional - optimizations. The MD5 algorithm is being placed in the public domain - for review and possible adoption as a standard. - - For OSI-based applications, MD5's object identifier is - - md5 OBJECT IDENTIFIER ::= - iso(1) member-body(2) US(840) rsadsi(113549) digestAlgorithm(2) 5} - - In the X.509 type AlgorithmIdentifier [3], the parameters for MD5 - should have type NULL. - -2. Terminology and Notation - - In this document a "word" is a 32-bit quantity and a "byte" is an - eight-bit quantity. A sequence of bits can be interpreted in a - natural manner as a sequence of bytes, where each consecutive group - of eight bits is interpreted as a byte with the high-order (most - significant) bit of each byte listed first. Similarly, a sequence of - bytes can be interpreted as a sequence of 32-bit words, where each - consecutive group of four bytes is interpreted as a word with the - low-order (least significant) byte given first. - - Let x_i denote "x sub i". If the subscript is an expression, we - surround it in braces, as in x_{i+1}. Similarly, we use ^ for - superscripts (exponentiation), so that x^i denotes x to the i-th - power. - - Let the symbol "+" denote addition of words (i.e., modulo-2^32 - addition). Let X <<< s denote the 32-bit value obtained by circularly - shifting (rotating) X left by s bit positions. Let not(X) denote the - bit-wise complement of X, and let X v Y denote the bit-wise OR of X - and Y. Let X xor Y denote the bit-wise XOR of X and Y, and let XY - denote the bit-wise AND of X and Y. - - - - - -Rivest [Page 2] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - -3. MD5 Algorithm Description - - We begin by supposing that we have a b-bit message as input, and that - we wish to find its message digest. Here b is an arbitrary - nonnegative integer; b may be zero, it need not be a multiple of - eight, and it may be arbitrarily large. We imagine the bits of the - message written down as follows: - - m_0 m_1 ... m_{b-1} - - The following five steps are performed to compute the message digest - of the message. - -3.1 Step 1. Append Padding Bits - - The message is "padded" (extended) so that its length (in bits) is - congruent to 448, modulo 512. That is, the message is extended so - that it is just 64 bits shy of being a multiple of 512 bits long. - Padding is always performed, even if the length of the message is - already congruent to 448, modulo 512. - - Padding is performed as follows: a single "1" bit is appended to the - message, and then "0" bits are appended so that the length in bits of - the padded message becomes congruent to 448, modulo 512. In all, at - least one bit and at most 512 bits are appended. - -3.2 Step 2. Append Length - - A 64-bit representation of b (the length of the message before the - padding bits were added) is appended to the result of the previous - step. In the unlikely event that b is greater than 2^64, then only - the low-order 64 bits of b are used. (These bits are appended as two - 32-bit words and appended low-order word first in accordance with the - previous conventions.) - - At this point the resulting message (after padding with bits and with - b) has a length that is an exact multiple of 512 bits. Equivalently, - this message has a length that is an exact multiple of 16 (32-bit) - words. Let M[0 ... N-1] denote the words of the resulting message, - where N is a multiple of 16. - -3.3 Step 3. Initialize MD Buffer - - A four-word buffer (A,B,C,D) is used to compute the message digest. - Here each of A, B, C, D is a 32-bit register. These registers are - initialized to the following values in hexadecimal, low-order bytes - first): - - - - -Rivest [Page 3] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - - word A: 01 23 45 67 - word B: 89 ab cd ef - word C: fe dc ba 98 - word D: 76 54 32 10 - -3.4 Step 4. Process Message in 16-Word Blocks - - We first define four auxiliary functions that each take as input - three 32-bit words and produce as output one 32-bit word. - - F(X,Y,Z) = XY v not(X) Z - G(X,Y,Z) = XZ v Y not(Z) - H(X,Y,Z) = X xor Y xor Z - I(X,Y,Z) = Y xor (X v not(Z)) - - In each bit position F acts as a conditional: if X then Y else Z. - The function F could have been defined using + instead of v since XY - and not(X)Z will never have 1's in the same bit position.) It is - interesting to note that if the bits of X, Y, and Z are independent - and unbiased, the each bit of F(X,Y,Z) will be independent and - unbiased. - - The functions G, H, and I are similar to the function F, in that they - act in "bitwise parallel" to produce their output from the bits of X, - Y, and Z, in such a manner that if the corresponding bits of X, Y, - and Z are independent and unbiased, then each bit of G(X,Y,Z), - H(X,Y,Z), and I(X,Y,Z) will be independent and unbiased. Note that - the function H is the bit-wise "xor" or "parity" function of its - inputs. - - This step uses a 64-element table T[1 ... 64] constructed from the - sine function. Let T[i] denote the i-th element of the table, which - is equal to the integer part of 4294967296 times abs(sin(i)), where i - is in radians. The elements of the table are given in the appendix. - - Do the following: - - /* Process each 16-word block. */ - For i = 0 to N/16-1 do - - /* Copy block i into X. */ - For j = 0 to 15 do - Set X[j] to M[i*16+j]. - end /* of loop on j */ - - /* Save A as AA, B as BB, C as CC, and D as DD. */ - AA = A - BB = B - - - -Rivest [Page 4] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - - CC = C - DD = D - - /* Round 1. */ - /* Let [abcd k s i] denote the operation - a = b + ((a + F(b,c,d) + X[k] + T[i]) <<< s). */ - /* Do the following 16 operations. */ - [ABCD 0 7 1] [DABC 1 12 2] [CDAB 2 17 3] [BCDA 3 22 4] - [ABCD 4 7 5] [DABC 5 12 6] [CDAB 6 17 7] [BCDA 7 22 8] - [ABCD 8 7 9] [DABC 9 12 10] [CDAB 10 17 11] [BCDA 11 22 12] - [ABCD 12 7 13] [DABC 13 12 14] [CDAB 14 17 15] [BCDA 15 22 16] - - /* Round 2. */ - /* Let [abcd k s i] denote the operation - a = b + ((a + G(b,c,d) + X[k] + T[i]) <<< s). */ - /* Do the following 16 operations. */ - [ABCD 1 5 17] [DABC 6 9 18] [CDAB 11 14 19] [BCDA 0 20 20] - [ABCD 5 5 21] [DABC 10 9 22] [CDAB 15 14 23] [BCDA 4 20 24] - [ABCD 9 5 25] [DABC 14 9 26] [CDAB 3 14 27] [BCDA 8 20 28] - [ABCD 13 5 29] [DABC 2 9 30] [CDAB 7 14 31] [BCDA 12 20 32] - - /* Round 3. */ - /* Let [abcd k s t] denote the operation - a = b + ((a + H(b,c,d) + X[k] + T[i]) <<< s). */ - /* Do the following 16 operations. */ - [ABCD 5 4 33] [DABC 8 11 34] [CDAB 11 16 35] [BCDA 14 23 36] - [ABCD 1 4 37] [DABC 4 11 38] [CDAB 7 16 39] [BCDA 10 23 40] - [ABCD 13 4 41] [DABC 0 11 42] [CDAB 3 16 43] [BCDA 6 23 44] - [ABCD 9 4 45] [DABC 12 11 46] [CDAB 15 16 47] [BCDA 2 23 48] - - /* Round 4. */ - /* Let [abcd k s t] denote the operation - a = b + ((a + I(b,c,d) + X[k] + T[i]) <<< s). */ - /* Do the following 16 operations. */ - [ABCD 0 6 49] [DABC 7 10 50] [CDAB 14 15 51] [BCDA 5 21 52] - [ABCD 12 6 53] [DABC 3 10 54] [CDAB 10 15 55] [BCDA 1 21 56] - [ABCD 8 6 57] [DABC 15 10 58] [CDAB 6 15 59] [BCDA 13 21 60] - [ABCD 4 6 61] [DABC 11 10 62] [CDAB 2 15 63] [BCDA 9 21 64] - - /* Then perform the following additions. (That is increment each - of the four registers by the value it had before this block - was started.) */ - A = A + AA - B = B + BB - C = C + CC - D = D + DD - - end /* of loop on i */ - - - -Rivest [Page 5] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - -3.5 Step 5. Output - - The message digest produced as output is A, B, C, D. That is, we - begin with the low-order byte of A, and end with the high-order byte - of D. - - This completes the description of MD5. A reference implementation in - C is given in the appendix. - -4. Summary - - The MD5 message-digest algorithm is simple to implement, and provides - a "fingerprint" or message digest of a message of arbitrary length. - It is conjectured that the difficulty of coming up with two messages - having the same message digest is on the order of 2^64 operations, - and that the difficulty of coming up with any message having a given - message digest is on the order of 2^128 operations. The MD5 algorithm - has been carefully scrutinized for weaknesses. It is, however, a - relatively new algorithm and further security analysis is of course - justified, as is the case with any new proposal of this sort. - -5. Differences Between MD4 and MD5 - - The following are the differences between MD4 and MD5: - - 1. A fourth round has been added. - - 2. Each step now has a unique additive constant. - - 3. The function g in round 2 was changed from (XY v XZ v YZ) to - (XZ v Y not(Z)) to make g less symmetric. - - 4. Each step now adds in the result of the previous step. This - promotes a faster "avalanche effect". - - 5. The order in which input words are accessed in rounds 2 and - 3 is changed, to make these patterns less like each other. - - 6. The shift amounts in each round have been approximately - optimized, to yield a faster "avalanche effect." The shifts in - different rounds are distinct. - - - - - - - - - - -Rivest [Page 6] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - -References - - [1] Rivest, R., "The MD4 Message Digest Algorithm", RFC 1320, MIT and - RSA Data Security, Inc., April 1992. - - [2] Rivest, R., "The MD4 message digest algorithm", in A.J. Menezes - and S.A. Vanstone, editors, Advances in Cryptology - CRYPTO '90 - Proceedings, pages 303-311, Springer-Verlag, 1991. - - [3] CCITT Recommendation X.509 (1988), "The Directory - - Authentication Framework." - -APPENDIX A - Reference Implementation - - This appendix contains the following files taken from RSAREF: A - Cryptographic Toolkit for Privacy-Enhanced Mail: - - global.h -- global header file - - md5.h -- header file for MD5 - - md5c.c -- source code for MD5 - - For more information on RSAREF, send email to . - - The appendix also includes the following file: - - mddriver.c -- test driver for MD2, MD4 and MD5 - - The driver compiles for MD5 by default but can compile for MD2 or MD4 - if the symbol MD is defined on the C compiler command line as 2 or 4. - - The implementation is portable and should work on many different - plaforms. However, it is not difficult to optimize the implementation - on particular platforms, an exercise left to the reader. For example, - on "little-endian" platforms where the lowest-addressed byte in a 32- - bit word is the least significant and there are no alignment - restrictions, the call to Decode in MD5Transform can be replaced with - a typecast. - -A.1 global.h - -/* GLOBAL.H - RSAREF types and constants - */ - -/* PROTOTYPES should be set to one if and only if the compiler supports - function argument prototyping. -The following makes PROTOTYPES default to 0 if it has not already - - - -Rivest [Page 7] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - - been defined with C compiler flags. - */ -#ifndef PROTOTYPES -#define PROTOTYPES 0 -#endif - -/* POINTER defines a generic pointer type */ -typedef unsigned char *POINTER; - -/* UINT2 defines a two byte word */ -typedef unsigned short int UINT2; - -/* UINT4 defines a four byte word */ -typedef unsigned long int UINT4; - -/* PROTO_LIST is defined depending on how PROTOTYPES is defined above. -If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it - returns an empty list. - */ -#if PROTOTYPES -#define PROTO_LIST(list) list -#else -#define PROTO_LIST(list) () -#endif - -A.2 md5.h - -/* MD5.H - header file for MD5C.C - */ - -/* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All -rights reserved. - -License to copy and use this software is granted provided that it -is identified as the "RSA Data Security, Inc. MD5 Message-Digest -Algorithm" in all material mentioning or referencing this software -or this function. - -License is also granted to make and use derivative works provided -that such works are identified as "derived from the RSA Data -Security, Inc. MD5 Message-Digest Algorithm" in all material -mentioning or referencing the derived work. - -RSA Data Security, Inc. makes no representations concerning either -the merchantability of this software or the suitability of this -software for any particular purpose. It is provided "as is" -without express or implied warranty of any kind. - - - - -Rivest [Page 8] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - -These notices must be retained in any copies of any part of this -documentation and/or software. - */ - -/* MD5 context. */ -typedef struct { - UINT4 state[4]; /* state (ABCD) */ - UINT4 count[2]; /* number of bits, modulo 2^64 (lsb first) */ - unsigned char buffer[64]; /* input buffer */ -} MD5_CTX; - -void MD5Init PROTO_LIST ((MD5_CTX *)); -void MD5Update PROTO_LIST - ((MD5_CTX *, unsigned char *, unsigned int)); -void MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *)); - -A.3 md5c.c - -/* MD5C.C - RSA Data Security, Inc., MD5 message-digest algorithm - */ - -/* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All -rights reserved. - -License to copy and use this software is granted provided that it -is identified as the "RSA Data Security, Inc. MD5 Message-Digest -Algorithm" in all material mentioning or referencing this software -or this function. - -License is also granted to make and use derivative works provided -that such works are identified as "derived from the RSA Data -Security, Inc. MD5 Message-Digest Algorithm" in all material -mentioning or referencing the derived work. - -RSA Data Security, Inc. makes no representations concerning either -the merchantability of this software or the suitability of this -software for any particular purpose. It is provided "as is" -without express or implied warranty of any kind. - -These notices must be retained in any copies of any part of this -documentation and/or software. - */ - -#include "global.h" -#include "md5.h" - -/* Constants for MD5Transform routine. - */ - - - -Rivest [Page 9] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - -#define S11 7 -#define S12 12 -#define S13 17 -#define S14 22 -#define S21 5 -#define S22 9 -#define S23 14 -#define S24 20 -#define S31 4 -#define S32 11 -#define S33 16 -#define S34 23 -#define S41 6 -#define S42 10 -#define S43 15 -#define S44 21 - -static void MD5Transform PROTO_LIST ((UINT4 [4], unsigned char [64])); -static void Encode PROTO_LIST - ((unsigned char *, UINT4 *, unsigned int)); -static void Decode PROTO_LIST - ((UINT4 *, unsigned char *, unsigned int)); -static void MD5_memcpy PROTO_LIST ((POINTER, POINTER, unsigned int)); -static void MD5_memset PROTO_LIST ((POINTER, int, unsigned int)); - -static unsigned char PADDING[64] = { - 0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 -}; - -/* F, G, H and I are basic MD5 functions. - */ -#define F(x, y, z) (((x) & (y)) | ((~x) & (z))) -#define G(x, y, z) (((x) & (z)) | ((y) & (~z))) -#define H(x, y, z) ((x) ^ (y) ^ (z)) -#define I(x, y, z) ((y) ^ ((x) | (~z))) - -/* ROTATE_LEFT rotates x left n bits. - */ -#define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32-(n)))) - -/* FF, GG, HH, and II transformations for rounds 1, 2, 3, and 4. -Rotation is separate from addition to prevent recomputation. - */ -#define FF(a, b, c, d, x, s, ac) { \ - (a) += F ((b), (c), (d)) + (x) + (UINT4)(ac); \ - (a) = ROTATE_LEFT ((a), (s)); \ - - - -Rivest [Page 10] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - - (a) += (b); \ - } -#define GG(a, b, c, d, x, s, ac) { \ - (a) += G ((b), (c), (d)) + (x) + (UINT4)(ac); \ - (a) = ROTATE_LEFT ((a), (s)); \ - (a) += (b); \ - } -#define HH(a, b, c, d, x, s, ac) { \ - (a) += H ((b), (c), (d)) + (x) + (UINT4)(ac); \ - (a) = ROTATE_LEFT ((a), (s)); \ - (a) += (b); \ - } -#define II(a, b, c, d, x, s, ac) { \ - (a) += I ((b), (c), (d)) + (x) + (UINT4)(ac); \ - (a) = ROTATE_LEFT ((a), (s)); \ - (a) += (b); \ - } - -/* MD5 initialization. Begins an MD5 operation, writing a new context. - */ -void MD5Init (context) -MD5_CTX *context; /* context */ -{ - context->count[0] = context->count[1] = 0; - /* Load magic initialization constants. -*/ - context->state[0] = 0x67452301; - context->state[1] = 0xefcdab89; - context->state[2] = 0x98badcfe; - context->state[3] = 0x10325476; -} - -/* MD5 block update operation. Continues an MD5 message-digest - operation, processing another message block, and updating the - context. - */ -void MD5Update (context, input, inputLen) -MD5_CTX *context; /* context */ -unsigned char *input; /* input block */ -unsigned int inputLen; /* length of input block */ -{ - unsigned int i, index, partLen; - - /* Compute number of bytes mod 64 */ - index = (unsigned int)((context->count[0] >> 3) & 0x3F); - - /* Update number of bits */ - if ((context->count[0] += ((UINT4)inputLen << 3)) - - - -Rivest [Page 11] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - - < ((UINT4)inputLen << 3)) - context->count[1]++; - context->count[1] += ((UINT4)inputLen >> 29); - - partLen = 64 - index; - - /* Transform as many times as possible. -*/ - if (inputLen >= partLen) { - MD5_memcpy - ((POINTER)&context->buffer[index], (POINTER)input, partLen); - MD5Transform (context->state, context->buffer); - - for (i = partLen; i + 63 < inputLen; i += 64) - MD5Transform (context->state, &input[i]); - - index = 0; - } - else - i = 0; - - /* Buffer remaining input */ - MD5_memcpy - ((POINTER)&context->buffer[index], (POINTER)&input[i], - inputLen-i); -} - -/* MD5 finalization. Ends an MD5 message-digest operation, writing the - the message digest and zeroizing the context. - */ -void MD5Final (digest, context) -unsigned char digest[16]; /* message digest */ -MD5_CTX *context; /* context */ -{ - unsigned char bits[8]; - unsigned int index, padLen; - - /* Save number of bits */ - Encode (bits, context->count, 8); - - /* Pad out to 56 mod 64. -*/ - index = (unsigned int)((context->count[0] >> 3) & 0x3f); - padLen = (index < 56) ? (56 - index) : (120 - index); - MD5Update (context, PADDING, padLen); - - /* Append length (before padding) */ - MD5Update (context, bits, 8); - - - -Rivest [Page 12] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - - /* Store state in digest */ - Encode (digest, context->state, 16); - - /* Zeroize sensitive information. -*/ - MD5_memset ((POINTER)context, 0, sizeof (*context)); -} - -/* MD5 basic transformation. Transforms state based on block. - */ -static void MD5Transform (state, block) -UINT4 state[4]; -unsigned char block[64]; -{ - UINT4 a = state[0], b = state[1], c = state[2], d = state[3], x[16]; - - Decode (x, block, 64); - - /* Round 1 */ - FF (a, b, c, d, x[ 0], S11, 0xd76aa478); /* 1 */ - FF (d, a, b, c, x[ 1], S12, 0xe8c7b756); /* 2 */ - FF (c, d, a, b, x[ 2], S13, 0x242070db); /* 3 */ - FF (b, c, d, a, x[ 3], S14, 0xc1bdceee); /* 4 */ - FF (a, b, c, d, x[ 4], S11, 0xf57c0faf); /* 5 */ - FF (d, a, b, c, x[ 5], S12, 0x4787c62a); /* 6 */ - FF (c, d, a, b, x[ 6], S13, 0xa8304613); /* 7 */ - FF (b, c, d, a, x[ 7], S14, 0xfd469501); /* 8 */ - FF (a, b, c, d, x[ 8], S11, 0x698098d8); /* 9 */ - FF (d, a, b, c, x[ 9], S12, 0x8b44f7af); /* 10 */ - FF (c, d, a, b, x[10], S13, 0xffff5bb1); /* 11 */ - FF (b, c, d, a, x[11], S14, 0x895cd7be); /* 12 */ - FF (a, b, c, d, x[12], S11, 0x6b901122); /* 13 */ - FF (d, a, b, c, x[13], S12, 0xfd987193); /* 14 */ - FF (c, d, a, b, x[14], S13, 0xa679438e); /* 15 */ - FF (b, c, d, a, x[15], S14, 0x49b40821); /* 16 */ - - /* Round 2 */ - GG (a, b, c, d, x[ 1], S21, 0xf61e2562); /* 17 */ - GG (d, a, b, c, x[ 6], S22, 0xc040b340); /* 18 */ - GG (c, d, a, b, x[11], S23, 0x265e5a51); /* 19 */ - GG (b, c, d, a, x[ 0], S24, 0xe9b6c7aa); /* 20 */ - GG (a, b, c, d, x[ 5], S21, 0xd62f105d); /* 21 */ - GG (d, a, b, c, x[10], S22, 0x2441453); /* 22 */ - GG (c, d, a, b, x[15], S23, 0xd8a1e681); /* 23 */ - GG (b, c, d, a, x[ 4], S24, 0xe7d3fbc8); /* 24 */ - GG (a, b, c, d, x[ 9], S21, 0x21e1cde6); /* 25 */ - GG (d, a, b, c, x[14], S22, 0xc33707d6); /* 26 */ - GG (c, d, a, b, x[ 3], S23, 0xf4d50d87); /* 27 */ - - - -Rivest [Page 13] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - - GG (b, c, d, a, x[ 8], S24, 0x455a14ed); /* 28 */ - GG (a, b, c, d, x[13], S21, 0xa9e3e905); /* 29 */ - GG (d, a, b, c, x[ 2], S22, 0xfcefa3f8); /* 30 */ - GG (c, d, a, b, x[ 7], S23, 0x676f02d9); /* 31 */ - GG (b, c, d, a, x[12], S24, 0x8d2a4c8a); /* 32 */ - - /* Round 3 */ - HH (a, b, c, d, x[ 5], S31, 0xfffa3942); /* 33 */ - HH (d, a, b, c, x[ 8], S32, 0x8771f681); /* 34 */ - HH (c, d, a, b, x[11], S33, 0x6d9d6122); /* 35 */ - HH (b, c, d, a, x[14], S34, 0xfde5380c); /* 36 */ - HH (a, b, c, d, x[ 1], S31, 0xa4beea44); /* 37 */ - HH (d, a, b, c, x[ 4], S32, 0x4bdecfa9); /* 38 */ - HH (c, d, a, b, x[ 7], S33, 0xf6bb4b60); /* 39 */ - HH (b, c, d, a, x[10], S34, 0xbebfbc70); /* 40 */ - HH (a, b, c, d, x[13], S31, 0x289b7ec6); /* 41 */ - HH (d, a, b, c, x[ 0], S32, 0xeaa127fa); /* 42 */ - HH (c, d, a, b, x[ 3], S33, 0xd4ef3085); /* 43 */ - HH (b, c, d, a, x[ 6], S34, 0x4881d05); /* 44 */ - HH (a, b, c, d, x[ 9], S31, 0xd9d4d039); /* 45 */ - HH (d, a, b, c, x[12], S32, 0xe6db99e5); /* 46 */ - HH (c, d, a, b, x[15], S33, 0x1fa27cf8); /* 47 */ - HH (b, c, d, a, x[ 2], S34, 0xc4ac5665); /* 48 */ - - /* Round 4 */ - II (a, b, c, d, x[ 0], S41, 0xf4292244); /* 49 */ - II (d, a, b, c, x[ 7], S42, 0x432aff97); /* 50 */ - II (c, d, a, b, x[14], S43, 0xab9423a7); /* 51 */ - II (b, c, d, a, x[ 5], S44, 0xfc93a039); /* 52 */ - II (a, b, c, d, x[12], S41, 0x655b59c3); /* 53 */ - II (d, a, b, c, x[ 3], S42, 0x8f0ccc92); /* 54 */ - II (c, d, a, b, x[10], S43, 0xffeff47d); /* 55 */ - II (b, c, d, a, x[ 1], S44, 0x85845dd1); /* 56 */ - II (a, b, c, d, x[ 8], S41, 0x6fa87e4f); /* 57 */ - II (d, a, b, c, x[15], S42, 0xfe2ce6e0); /* 58 */ - II (c, d, a, b, x[ 6], S43, 0xa3014314); /* 59 */ - II (b, c, d, a, x[13], S44, 0x4e0811a1); /* 60 */ - II (a, b, c, d, x[ 4], S41, 0xf7537e82); /* 61 */ - II (d, a, b, c, x[11], S42, 0xbd3af235); /* 62 */ - II (c, d, a, b, x[ 2], S43, 0x2ad7d2bb); /* 63 */ - II (b, c, d, a, x[ 9], S44, 0xeb86d391); /* 64 */ - - state[0] += a; - state[1] += b; - state[2] += c; - state[3] += d; - - /* Zeroize sensitive information. - - - -Rivest [Page 14] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - -*/ - MD5_memset ((POINTER)x, 0, sizeof (x)); -} - -/* Encodes input (UINT4) into output (unsigned char). Assumes len is - a multiple of 4. - */ -static void Encode (output, input, len) -unsigned char *output; -UINT4 *input; -unsigned int len; -{ - unsigned int i, j; - - for (i = 0, j = 0; j < len; i++, j += 4) { - output[j] = (unsigned char)(input[i] & 0xff); - output[j+1] = (unsigned char)((input[i] >> 8) & 0xff); - output[j+2] = (unsigned char)((input[i] >> 16) & 0xff); - output[j+3] = (unsigned char)((input[i] >> 24) & 0xff); - } -} - -/* Decodes input (unsigned char) into output (UINT4). Assumes len is - a multiple of 4. - */ -static void Decode (output, input, len) -UINT4 *output; -unsigned char *input; -unsigned int len; -{ - unsigned int i, j; - - for (i = 0, j = 0; j < len; i++, j += 4) - output[i] = ((UINT4)input[j]) | (((UINT4)input[j+1]) << 8) | - (((UINT4)input[j+2]) << 16) | (((UINT4)input[j+3]) << 24); -} - -/* Note: Replace "for loop" with standard memcpy if possible. - */ - -static void MD5_memcpy (output, input, len) -POINTER output; -POINTER input; -unsigned int len; -{ - unsigned int i; - - for (i = 0; i < len; i++) - - - -Rivest [Page 15] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - - output[i] = input[i]; -} - -/* Note: Replace "for loop" with standard memset if possible. - */ -static void MD5_memset (output, value, len) -POINTER output; -int value; -unsigned int len; -{ - unsigned int i; - - for (i = 0; i < len; i++) - ((char *)output)[i] = (char)value; -} - -A.4 mddriver.c - -/* MDDRIVER.C - test driver for MD2, MD4 and MD5 - */ - -/* Copyright (C) 1990-2, RSA Data Security, Inc. Created 1990. All -rights reserved. - -RSA Data Security, Inc. makes no representations concerning either -the merchantability of this software or the suitability of this -software for any particular purpose. It is provided "as is" -without express or implied warranty of any kind. - -These notices must be retained in any copies of any part of this -documentation and/or software. - */ - -/* The following makes MD default to MD5 if it has not already been - defined with C compiler flags. - */ -#ifndef MD -#define MD MD5 -#endif - -#include -#include -#include -#include "global.h" -#if MD == 2 -#include "md2.h" -#endif -#if MD == 4 - - - -Rivest [Page 16] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - -#include "md4.h" -#endif -#if MD == 5 -#include "md5.h" -#endif - -/* Length of test block, number of test blocks. - */ -#define TEST_BLOCK_LEN 1000 -#define TEST_BLOCK_COUNT 1000 - -static void MDString PROTO_LIST ((char *)); -static void MDTimeTrial PROTO_LIST ((void)); -static void MDTestSuite PROTO_LIST ((void)); -static void MDFile PROTO_LIST ((char *)); -static void MDFilter PROTO_LIST ((void)); -static void MDPrint PROTO_LIST ((unsigned char [16])); - -#if MD == 2 -#define MD_CTX MD2_CTX -#define MDInit MD2Init -#define MDUpdate MD2Update -#define MDFinal MD2Final -#endif -#if MD == 4 -#define MD_CTX MD4_CTX -#define MDInit MD4Init -#define MDUpdate MD4Update -#define MDFinal MD4Final -#endif -#if MD == 5 -#define MD_CTX MD5_CTX -#define MDInit MD5Init -#define MDUpdate MD5Update -#define MDFinal MD5Final -#endif - -/* Main driver. - -Arguments (may be any combination): - -sstring - digests string - -t - runs time trial - -x - runs test script - filename - digests file - (none) - digests standard input - */ -int main (argc, argv) -int argc; - - - -Rivest [Page 17] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - -char *argv[]; -{ - int i; - - if (argc > 1) - for (i = 1; i < argc; i++) - if (argv[i][0] == '-' && argv[i][1] == 's') - MDString (argv[i] + 2); - else if (strcmp (argv[i], "-t") == 0) - MDTimeTrial (); - else if (strcmp (argv[i], "-x") == 0) - MDTestSuite (); - else - MDFile (argv[i]); - else - MDFilter (); - - return (0); -} - -/* Digests a string and prints the result. - */ -static void MDString (string) -char *string; -{ - MD_CTX context; - unsigned char digest[16]; - unsigned int len = strlen (string); - - MDInit (&context); - MDUpdate (&context, string, len); - MDFinal (digest, &context); - - printf ("MD%d (\"%s\") = ", MD, string); - MDPrint (digest); - printf ("\n"); -} - -/* Measures the time to digest TEST_BLOCK_COUNT TEST_BLOCK_LEN-byte - blocks. - */ -static void MDTimeTrial () -{ - MD_CTX context; - time_t endTime, startTime; - unsigned char block[TEST_BLOCK_LEN], digest[16]; - unsigned int i; - - - - -Rivest [Page 18] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - - printf - ("MD%d time trial. Digesting %d %d-byte blocks ...", MD, - TEST_BLOCK_LEN, TEST_BLOCK_COUNT); - - /* Initialize block */ - for (i = 0; i < TEST_BLOCK_LEN; i++) - block[i] = (unsigned char)(i & 0xff); - - /* Start timer */ - time (&startTime); - - /* Digest blocks */ - MDInit (&context); - for (i = 0; i < TEST_BLOCK_COUNT; i++) - MDUpdate (&context, block, TEST_BLOCK_LEN); - MDFinal (digest, &context); - - /* Stop timer */ - time (&endTime); - - printf (" done\n"); - printf ("Digest = "); - MDPrint (digest); - printf ("\nTime = %ld seconds\n", (long)(endTime-startTime)); - printf - ("Speed = %ld bytes/second\n", - (long)TEST_BLOCK_LEN * (long)TEST_BLOCK_COUNT/(endTime-startTime)); -} - -/* Digests a reference suite of strings and prints the results. - */ -static void MDTestSuite () -{ - printf ("MD%d test suite:\n", MD); - - MDString (""); - MDString ("a"); - MDString ("abc"); - MDString ("message digest"); - MDString ("abcdefghijklmnopqrstuvwxyz"); - MDString - ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"); - MDString - ("1234567890123456789012345678901234567890\ -1234567890123456789012345678901234567890"); -} - -/* Digests a file and prints the result. - - - -Rivest [Page 19] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - - */ -static void MDFile (filename) -char *filename; -{ - FILE *file; - MD_CTX context; - int len; - unsigned char buffer[1024], digest[16]; - - if ((file = fopen (filename, "rb")) == NULL) - printf ("%s can't be opened\n", filename); - - else { - MDInit (&context); - while (len = fread (buffer, 1, 1024, file)) - MDUpdate (&context, buffer, len); - MDFinal (digest, &context); - - fclose (file); - - printf ("MD%d (%s) = ", MD, filename); - MDPrint (digest); - printf ("\n"); - } -} - -/* Digests the standard input and prints the result. - */ -static void MDFilter () -{ - MD_CTX context; - int len; - unsigned char buffer[16], digest[16]; - - MDInit (&context); - while (len = fread (buffer, 1, 16, stdin)) - MDUpdate (&context, buffer, len); - MDFinal (digest, &context); - - MDPrint (digest); - printf ("\n"); -} - -/* Prints a message digest in hexadecimal. - */ -static void MDPrint (digest) -unsigned char digest[16]; -{ - - - -Rivest [Page 20] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - - unsigned int i; - - for (i = 0; i < 16; i++) - printf ("%02x", digest[i]); -} - -A.5 Test suite - - The MD5 test suite (driver option "-x") should print the following - results: - -MD5 test suite: -MD5 ("") = d41d8cd98f00b204e9800998ecf8427e -MD5 ("a") = 0cc175b9c0f1b6a831c399e269772661 -MD5 ("abc") = 900150983cd24fb0d6963f7d28e17f72 -MD5 ("message digest") = f96b697d7cb7938d525a2f31aaf161d0 -MD5 ("abcdefghijklmnopqrstuvwxyz") = c3fcd3d76192e4007dfb496cca67e13b -MD5 ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") = -d174ab98d277d9f5a5611c2c9f419d9f -MD5 ("123456789012345678901234567890123456789012345678901234567890123456 -78901234567890") = 57edf4a22be3c955ac49da2e2107b67a - -Security Considerations - - The level of security discussed in this memo is considered to be - sufficient for implementing very high security hybrid digital- - signature schemes based on MD5 and a public-key cryptosystem. - -Author's Address - - Ronald L. Rivest - Massachusetts Institute of Technology - Laboratory for Computer Science - NE43-324 - 545 Technology Square - Cambridge, MA 02139-1986 - - Phone: (617) 253-5880 - EMail: rivest@theory.lcs.mit.edu - - - - - - - - - - - - -Rivest [Page 21] - \ No newline at end of file diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc1760.txt.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc1760.txt.svn-base deleted file mode 100644 index 067b607..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc1760.txt.svn-base +++ /dev/null @@ -1,675 +0,0 @@ - - - - - - -Network Working Group N. Haller -Request for Comments: 1760 Bellcore -Category: Informational February 1995 - - - The S/KEY One-Time Password System - -Status of this Memo - - This memo provides information for the Internet community. This memo - does not specify an Internet standard of any kind. Distribution of - this memo is unlimited. - -Abstract - - This document describes the S/KEY* One-Time Password system as - released for public use by Bellcore and as described in reference - [3]. A reference implementation and documentation are available by - anonymous ftp from ftp.bellcore.com in the directories pub/nmh/... - -Overview - - One form of attack on computing system connected to the Internet is - eavesdropping on network connections to obtain login id's and - passwords of legitimate users. The captured login id and password - are, at a later time, used gain access to the system. The S/KEY - One-Time Password system is designed to counter this type of attack, - called a replay attack. - - With the S/KEY system, only a single use password ever crosses the - network. The user's secret pass-phrase never crosses the network at - any time, including during login or when executing other commands - requiring authentication such as the UNIX commands passwd or su. - Thus, it is not vulnerable to eavesdropping/replay attacks. Added - security is provided by the property that no secret information need - be stored on any system, including the host being protected. - - The S/KEY system protects against external passive attacks against - the authentication subsystem. It does not prevent a network - eavesdropper from gaining access to private information, and does not - provide protection against "inside jobs" or against active attacks - where the potential intruder as able to intercept and modify the - packet stream. - - - - - - - - -Haller [Page 1] - -RFC 1760 The S/KEY One-Time Password System February 1995 - - -Introduction - - There are two sides to the operation of the S/KEY one-time password - system. On the client side, the appropriate one-time password must - be generated. On the host side, the server must verify the one-time - password and permit the secure changing of the user's secret pass- - phrase. - - An S/KEY system client passes the user's secret pass-phrase through - multiple applications of a secure hash function to produce a one-time - password. On each use, the number of applications is reduced by one. - Thus a unique sequence of passwords is generated. The S/KEY system - host verifies the one-time password by making one pass though the - secure hash function and comparing the result with the previous one- - time password. This technique was first suggested by Leslie Lamport - [1]. - -Secure Hash Function - - A secure hash function is a function that is easy to compute in the - forward direction, but computationally infeasible to invert. The - S/KEY system is based on the MD4 Message Digest algorithm designed by - Ronald Rivest [2]. Since the S/KEY authentication system went into - use, the MD5 Message Digest was released. We have chosen to continue - to use MD4 due the large number of client programs that have been - distributed. Some sites have generated functionally similar systems - based on MD5. Clearly clients and hosts must use the same secure - hash function to interoperate. - - The S/KEY system one-time passwords are 64 bits in length. This is - believed to be long enough to be secure and short enough to be - manually entered (see below, Form of Passwords) when necessary. - - The S/KEY system applies the secure hash function multiple times, - producing a 64 bit final output. MD4 accepts an arbitrary number of - bits as input and produces a 128 bit output. The S/KEY secure hash - function consists of applying MD4 to a 64 bit input and folding the - output of MD4 with exclusive or to produce a 64 bit output. - -Generation of One-Time Passwords - - This section describes the computation of the S/KEY one-time - passwords. It consists of a preparatory step in which all inputs are - combined, a generation step where the secure hash function is applied - multiple times, and an output function where the 64 bit one-time - - - - - - -Haller [Page 2] - -RFC 1760 The S/KEY One-Time Password System February 1995 - - - password is displayed in readable form. - - The client's secret pass phrase may be of any length and should be - more than eight characters. As the S/KEY secure hash function - described above accepts a 64 bit input, a preparatory step is needed. - In this step, the pass phrase is concatenated with a seed that is - transmitted from the server in clear text. This non-secret seed - allows a client to use the same secret pass phrase on multiple - machines (using different seeds) and to safely recycle secret - passwords by changing the seed. (For ease in parsing, the seed may - not contain any blanks, and should consist of strictly alphanumeric - characters.) The result of the concatenation is passed through MD4, - and then reduced to 64 bits by exclusive-OR of the two 8-byte halves. - - The following code fragment uses the MD4 implementation defined in - RFC 1320 [2] and defines the preparatory step: - - strcpy(buf,seed); - strcat(buf,passwd); - MDbegin(&md) - MDupdate(&md,(unsigned char *)buf,8*buflen); - - /* Fold result to 64 bits */ - md.buffer[0] ^= md.buffer[2]; - md.buffer[1] ^= md.buffer[3]; - - A sequence of one-time passwords is produced by applying the secure - hash function multiple times to the output of the preparatory step - (called S). That is, the first one-time password is produced by - passing S through the secure hash function a number of times (N) - specified by the user. The next one-time password is generated by - passing S though the secure hash function N-1 times. An eavesdropper - who has monitored the transmission of a one-time password would not - be able to generate any succeeding password because doing so would - require inverting the hash function. - -Form of Passwords - - The one-time password generated by the above procedure is 64 bits in - length. Entering a 64 bit number is a difficult and error prone - process. Some S/KEY system one-time password calculator programs - insert this password into the input stream, others make it available - for system cut and paste. Some arrangements require the one-time - password to be entered manually. The S/KEY system is designed to - facilitate this manual entry without impeding automatic methods. The - one-time password is therefore converted to, and accepted as, a - sequence of six short (1 to 4 letter) English words. Each word is - chosen from a dictionary of 2048 words; at 11 bits per word, all - - - -Haller [Page 3] - -RFC 1760 The S/KEY One-Time Password System February 1995 - - - one-time passwords may be encoded. Interoperability requires at all - S/KEY system hosts and calculators use the same dictionary. The - standard dictionary is attached to this RFC. - -Verification of One-Time Passwords - - A function on the host system that requires S/KEY authentication is - expected to issue an S/KEY challenge. This challenge give the client - the current S/KEY parameters - the sequence number and seed. It is - important that the S/KEY challenge be in a standard format so that - automated clients (see below) can recognize the challenge and extract - the parameters. The format of the challenge is: - - s/key sequence_integer seed - - The three tokens are separated by single space characters. The - challenge is terminated by a blank or a newline. - - Given the parameters and the secret pass phrase, the client can - compute (or lookup) the one time password. It then passes it to the - host system where it can be verified. - - The host system has a file (on the UNIX reference implementation it - is /etc/skeykeys) containing, for each user, the one-time password - from the last successful login, or it may be initialized with the - first one-time password of the sequence using the keyinit command - (this command name may be implementation dependent). To verify an - authentication attempt, it passes the transmitted one-time password - through the secure hash function one time. If the result of this - operation matches the stored previous one-time password, the - authentication is successful and the accepted one-time password is - stored for future use. - - Because the number of hash function applications executed by the - client decreases by one each time, at some point the user must - reinitialize the system of be unable to login again. This is done by - using the keyinit command which allows the changing of the secret - pass phrase, the iteration count, and the seed. A frequent technique - is to increment a trailing digit(s) of the seed and to reset the - iteration count (to something in range of 500-1000). - -Clients - - Several programs are available to calculate S/KEY one time passwords. - Included in the reference implementation are command line interfaces - for UNIX and PC systems (key), TSR interfaces for PCs (ctkey, - termkey, and popkey), and GUI interfaces for Macintosh and Windows - (keyapp and un-named Macintosh interface). - - - -Haller [Page 4] - -RFC 1760 The S/KEY One-Time Password System February 1995 - - - The most basic calculator is the key command whose format is: - - key [-n count] sequence seed - - The optional count is used to display more than a single one time - password. This is useful to create a paper list of one time - passwords. - - The most automated calculator is the termkey program that runs as a - Terminate and Stay Resident (TSR) program on a PC. It scans the - screen to find the S/KEY parameters, prompts for the secret pass - phrase, and stuffs the one time password into the keyboard buffer. - -Acknowledgements - - The idea behind S/KEY authentication was first proposed by Leslie - Lamport [1]. The specific system described was proposed by Phil - Karn, who also wrote most of the reference implementation. - -References - - [1] Lamport, L., "Password Authentication with Insecure - Communication", Communications of the ACM 24.11, November 1981, - 770-772. - - [2] Rivest, R., "The MD4 Message-Digest Algorithm", RFC 1320, MIT and - RSA Data Security, Inc., April 1992 - - [3] Haller, N., "The S/KEY One-Time Password System", Proceedings of - the ISOC Symposium on Network and Distributed System Security, - February 1994, San Diego, CA - - [4] Haller, N., and R. Atkinson, "On Internet Authentication", RFC - 1704, Bell Communications Research and Naval Research Laboratory, - October 1994 - - - - - - - - - - - - - - - - -Haller [Page 5] - -RFC 1760 The S/KEY One-Time Password System February 1995 - - -Security Considerations - - This entire document is about Security Considerations. - -Author's Address - - Neil Haller - Bellcore - MRE 2Q-280 - 445 South Street - Morristown, NJ, 07960-6438, USA - - Phone: +1 201 829-4478 - Fax: +1 201 829-2504 - EMail: nmh@bellcore.com - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Haller [Page 6] - -RFC 1760 The S/KEY One-Time Password System February 1995 - - -Dictionary for Converting Between S/KEY 6-Word and Binary Formats - - This dictionary is from the module put.c. The code for this module, - and an implementation of the entire S/KEY One Time Password System is - available by anonymous ftp from ftp.bellcore.com in the directory - pub/nmh/skey. - - -{ "A", "ABE", "ACE", "ACT", "AD", "ADA", "ADD", -"AGO", "AID", "AIM", "AIR", "ALL", "ALP", "AM", "AMY", -"AN", "ANA", "AND", "ANN", "ANT", "ANY", "APE", "APS", -"APT", "ARC", "ARE", "ARK", "ARM", "ART", "AS", "ASH", -"ASK", "AT", "ATE", "AUG", "AUK", "AVE", "AWE", "AWK", -"AWL", "AWN", "AX", "AYE", "BAD", "BAG", "BAH", "BAM", -"BAN", "BAR", "BAT", "BAY", "BE", "BED", "BEE", "BEG", -"BEN", "BET", "BEY", "BIB", "BID", "BIG", "BIN", "BIT", -"BOB", "BOG", "BON", "BOO", "BOP", "BOW", "BOY", "BUB", -"BUD", "BUG", "BUM", "BUN", "BUS", "BUT", "BUY", "BY", -"BYE", "CAB", "CAL", "CAM", "CAN", "CAP", "CAR", "CAT", -"CAW", "COD", "COG", "COL", "CON", "COO", "COP", "COT", -"COW", "COY", "CRY", "CUB", "CUE", "CUP", "CUR", "CUT", -"DAB", "DAD", "DAM", "DAN", "DAR", "DAY", "DEE", "DEL", -"DEN", "DES", "DEW", "DID", "DIE", "DIG", "DIN", "DIP", -"DO", "DOE", "DOG", "DON", "DOT", "DOW", "DRY", "DUB", -"DUD", "DUE", "DUG", "DUN", "EAR", "EAT", "ED", "EEL", -"EGG", "EGO", "ELI", "ELK", "ELM", "ELY", "EM", "END", -"EST", "ETC", "EVA", "EVE", "EWE", "EYE", "FAD", "FAN", -"FAR", "FAT", "FAY", "FED", "FEE", "FEW", "FIB", "FIG", -"FIN", "FIR", "FIT", "FLO", "FLY", "FOE", "FOG", "FOR", -"FRY", "FUM", "FUN", "FUR", "GAB", "GAD", "GAG", "GAL", -"GAM", "GAP", "GAS", "GAY", "GEE", "GEL", "GEM", "GET", -"GIG", "GIL", "GIN", "GO", "GOT", "GUM", "GUN", "GUS", -"GUT", "GUY", "GYM", "GYP", "HA", "HAD", "HAL", "HAM", -"HAN", "HAP", "HAS", "HAT", "HAW", "HAY", "HE", "HEM", -"HEN", "HER", "HEW", "HEY", "HI", "HID", "HIM", "HIP", -"HIS", "HIT", "HO", "HOB", "HOC", "HOE", "HOG", "HOP", -"HOT", "HOW", "HUB", "HUE", "HUG", "HUH", "HUM", "HUT", -"I", "ICY", "IDA", "IF", "IKE", "ILL", "INK", "INN", -"IO", "ION", "IQ", "IRA", "IRE", "IRK", "IS", "IT", -"ITS", "IVY", "JAB", "JAG", "JAM", "JAN", "JAR", "JAW", -"JAY", "JET", "JIG", "JIM", "JO", "JOB", "JOE", "JOG", -"JOT", "JOY", "JUG", "JUT", "KAY", "KEG", "KEN", "KEY", -"KID", "KIM", "KIN", "KIT", "LA", "LAB", "LAC", "LAD", -"LAG", "LAM", "LAP", "LAW", "LAY", "LEA", "LED", "LEE", -"LEG", "LEN", "LEO", "LET", "LEW", "LID", "LIE", "LIN", -"LIP", "LIT", "LO", "LOB", "LOG", "LOP", "LOS", "LOT", -"LOU", "LOW", "LOY", "LUG", "LYE", "MA", "MAC", "MAD", -"MAE", "MAN", "MAO", "MAP", "MAT", "MAW", "MAY", "ME", - - - -Haller [Page 7] - -RFC 1760 The S/KEY One-Time Password System February 1995 - - -"MEG", "MEL", "MEN", "MET", "MEW", "MID", "MIN", "MIT", -"MOB", "MOD", "MOE", "MOO", "MOP", "MOS", "MOT", "MOW", -"MUD", "MUG", "MUM", "MY", "NAB", "NAG", "NAN", "NAP", -"NAT", "NAY", "NE", "NED", "NEE", "NET", "NEW", "NIB", -"NIL", "NIP", "NIT", "NO", "NOB", "NOD", "NON", "NOR", -"NOT", "NOV", "NOW", "NU", "NUN", "NUT", "O", "OAF", -"OAK", "OAR", "OAT", "ODD", "ODE", "OF", "OFF", "OFT", -"OH", "OIL", "OK", "OLD", "ON", "ONE", "OR", "ORB", -"ORE", "ORR", "OS", "OTT", "OUR", "OUT", "OVA", "OW", -"OWE", "OWL", "OWN", "OX", "PA", "PAD", "PAL", "PAM", -"PAN", "PAP", "PAR", "PAT", "PAW", "PAY", "PEA", "PEG", -"PEN", "PEP", "PER", "PET", "PEW", "PHI", "PI", "PIE", -"PIN", "PIT", "PLY", "PO", "POD", "POE", "POP", "POT", -"POW", "PRO", "PRY", "PUB", "PUG", "PUN", "PUP", "PUT", -"QUO", "RAG", "RAM", "RAN", "RAP", "RAT", "RAW", "RAY", -"REB", "RED", "REP", "RET", "RIB", "RID", "RIG", "RIM", -"RIO", "RIP", "ROB", "ROD", "ROE", "RON", "ROT", "ROW", -"ROY", "RUB", "RUE", "RUG", "RUM", "RUN", "RYE", "SAC", -"SAD", "SAG", "SAL", "SAM", "SAN", "SAP", "SAT", "SAW", -"SAY", "SEA", "SEC", "SEE", "SEN", "SET", "SEW", "SHE", -"SHY", "SIN", "SIP", "SIR", "SIS", "SIT", "SKI", "SKY", -"SLY", "SO", "SOB", "SOD", "SON", "SOP", "SOW", "SOY", -"SPA", "SPY", "SUB", "SUD", "SUE", "SUM", "SUN", "SUP", -"TAB", "TAD", "TAG", "TAN", "TAP", "TAR", "TEA", "TED", -"TEE", "TEN", "THE", "THY", "TIC", "TIE", "TIM", "TIN", -"TIP", "TO", "TOE", "TOG", "TOM", "TON", "TOO", "TOP", -"TOW", "TOY", "TRY", "TUB", "TUG", "TUM", "TUN", "TWO", -"UN", "UP", "US", "USE", "VAN", "VAT", "VET", "VIE", -"WAD", "WAG", "WAR", "WAS", "WAY", "WE", "WEB", "WED", -"WEE", "WET", "WHO", "WHY", "WIN", "WIT", "WOK", "WON", -"WOO", "WOW", "WRY", "WU", "YAM", "YAP", "YAW", "YE", -"YEA", "YES", "YET", "YOU", "ABED", "ABEL", "ABET", "ABLE", -"ABUT", "ACHE", "ACID", "ACME", "ACRE", "ACTA", "ACTS", "ADAM", -"ADDS", "ADEN", "AFAR", "AFRO", "AGEE", "AHEM", "AHOY", "AIDA", -"AIDE", "AIDS", "AIRY", "AJAR", "AKIN", "ALAN", "ALEC", "ALGA", -"ALIA", "ALLY", "ALMA", "ALOE", "ALSO", "ALTO", "ALUM", "ALVA", -"AMEN", "AMES", "AMID", "AMMO", "AMOK", "AMOS", "AMRA", "ANDY", -"ANEW", "ANNA", "ANNE", "ANTE", "ANTI", "AQUA", "ARAB", "ARCH", -"AREA", "ARGO", "ARID", "ARMY", "ARTS", "ARTY", "ASIA", "ASKS", -"ATOM", "AUNT", "AURA", "AUTO", "AVER", "AVID", "AVIS", "AVON", -"AVOW", "AWAY", "AWRY", "BABE", "BABY", "BACH", "BACK", "BADE", -"BAIL", "BAIT", "BAKE", "BALD", "BALE", "BALI", "BALK", "BALL", -"BALM", "BAND", "BANE", "BANG", "BANK", "BARB", "BARD", "BARE", -"BARK", "BARN", "BARR", "BASE", "BASH", "BASK", "BASS", "BATE", -"BATH", "BAWD", "BAWL", "BEAD", "BEAK", "BEAM", "BEAN", "BEAR", -"BEAT", "BEAU", "BECK", "BEEF", "BEEN", "BEER", "BEET", "BELA", -"BELL", "BELT", "BEND", "BENT", "BERG", "BERN", "BERT", "BESS", -"BEST", "BETA", "BETH", "BHOY", "BIAS", "BIDE", "BIEN", "BILE", - - - -Haller [Page 8] - -RFC 1760 The S/KEY One-Time Password System February 1995 - - -"BILK", "BILL", "BIND", "BING", "BIRD", "BITE", "BITS", "BLAB", -"BLAT", "BLED", "BLEW", "BLOB", "BLOC", "BLOT", "BLOW", "BLUE", -"BLUM", "BLUR", "BOAR", "BOAT", "BOCA", "BOCK", "BODE", "BODY", -"BOGY", "BOHR", "BOIL", "BOLD", "BOLO", "BOLT", "BOMB", "BONA", -"BOND", "BONE", "BONG", "BONN", "BONY", "BOOK", "BOOM", "BOON", -"BOOT", "BORE", "BORG", "BORN", "BOSE", "BOSS", "BOTH", "BOUT", -"BOWL", "BOYD", "BRAD", "BRAE", "BRAG", "BRAN", "BRAY", "BRED", -"BREW", "BRIG", "BRIM", "BROW", "BUCK", "BUDD", "BUFF", "BULB", -"BULK", "BULL", "BUNK", "BUNT", "BUOY", "BURG", "BURL", "BURN", -"BURR", "BURT", "BURY", "BUSH", "BUSS", "BUST", "BUSY", "BYTE", -"CADY", "CAFE", "CAGE", "CAIN", "CAKE", "CALF", "CALL", "CALM", -"CAME", "CANE", "CANT", "CARD", "CARE", "CARL", "CARR", "CART", -"CASE", "CASH", "CASK", "CAST", "CAVE", "CEIL", "CELL", "CENT", -"CERN", "CHAD", "CHAR", "CHAT", "CHAW", "CHEF", "CHEN", "CHEW", -"CHIC", "CHIN", "CHOU", "CHOW", "CHUB", "CHUG", "CHUM", "CITE", -"CITY", "CLAD", "CLAM", "CLAN", "CLAW", "CLAY", "CLOD", "CLOG", -"CLOT", "CLUB", "CLUE", "COAL", "COAT", "COCA", "COCK", "COCO", -"CODA", "CODE", "CODY", "COED", "COIL", "COIN", "COKE", "COLA", -"COLD", "COLT", "COMA", "COMB", "COME", "COOK", "COOL", "COON", -"COOT", "CORD", "CORE", "CORK", "CORN", "COST", "COVE", "COWL", -"CRAB", "CRAG", "CRAM", "CRAY", "CREW", "CRIB", "CROW", "CRUD", -"CUBA", "CUBE", "CUFF", "CULL", "CULT", "CUNY", "CURB", "CURD", -"CURE", "CURL", "CURT", "CUTS", "DADE", "DALE", "DAME", "DANA", -"DANE", "DANG", "DANK", "DARE", "DARK", "DARN", "DART", "DASH", -"DATA", "DATE", "DAVE", "DAVY", "DAWN", "DAYS", "DEAD", "DEAF", -"DEAL", "DEAN", "DEAR", "DEBT", "DECK", "DEED", "DEEM", "DEER", -"DEFT", "DEFY", "DELL", "DENT", "DENY", "DESK", "DIAL", "DICE", -"DIED", "DIET", "DIME", "DINE", "DING", "DINT", "DIRE", "DIRT", -"DISC", "DISH", "DISK", "DIVE", "DOCK", "DOES", "DOLE", "DOLL", -"DOLT", "DOME", "DONE", "DOOM", "DOOR", "DORA", "DOSE", "DOTE", -"DOUG", "DOUR", "DOVE", "DOWN", "DRAB", "DRAG", "DRAM", "DRAW", -"DREW", "DRUB", "DRUG", "DRUM", "DUAL", "DUCK", "DUCT", "DUEL", -"DUET", "DUKE", "DULL", "DUMB", "DUNE", "DUNK", "DUSK", "DUST", -"DUTY", "EACH", "EARL", "EARN", "EASE", "EAST", "EASY", "EBEN", -"ECHO", "EDDY", "EDEN", "EDGE", "EDGY", "EDIT", "EDNA", "EGAN", -"ELAN", "ELBA", "ELLA", "ELSE", "EMIL", "EMIT", "EMMA", "ENDS", -"ERIC", "EROS", "EVEN", "EVER", "EVIL", "EYED", "FACE", "FACT", -"FADE", "FAIL", "FAIN", "FAIR", "FAKE", "FALL", "FAME", "FANG", -"FARM", "FAST", "FATE", "FAWN", "FEAR", "FEAT", "FEED", "FEEL", -"FEET", "FELL", "FELT", "FEND", "FERN", "FEST", "FEUD", "FIEF", -"FIGS", "FILE", "FILL", "FILM", "FIND", "FINE", "FINK", "FIRE", -"FIRM", "FISH", "FISK", "FIST", "FITS", "FIVE", "FLAG", "FLAK", -"FLAM", "FLAT", "FLAW", "FLEA", "FLED", "FLEW", "FLIT", "FLOC", -"FLOG", "FLOW", "FLUB", "FLUE", "FOAL", "FOAM", "FOGY", "FOIL", -"FOLD", "FOLK", "FOND", "FONT", "FOOD", "FOOL", "FOOT", "FORD", -"FORE", "FORK", "FORM", "FORT", "FOSS", "FOUL", "FOUR", "FOWL", -"FRAU", "FRAY", "FRED", "FREE", "FRET", "FREY", "FROG", "FROM", -"FUEL", "FULL", "FUME", "FUND", "FUNK", "FURY", "FUSE", "FUSS", - - - -Haller [Page 9] - -RFC 1760 The S/KEY One-Time Password System February 1995 - - -"GAFF", "GAGE", "GAIL", "GAIN", "GAIT", "GALA", "GALE", "GALL", -"GALT", "GAME", "GANG", "GARB", "GARY", "GASH", "GATE", "GAUL", -"GAUR", "GAVE", "GAWK", "GEAR", "GELD", "GENE", "GENT", "GERM", -"GETS", "GIBE", "GIFT", "GILD", "GILL", "GILT", "GINA", "GIRD", -"GIRL", "GIST", "GIVE", "GLAD", "GLEE", "GLEN", "GLIB", "GLOB", -"GLOM", "GLOW", "GLUE", "GLUM", "GLUT", "GOAD", "GOAL", "GOAT", -"GOER", "GOES", "GOLD", "GOLF", "GONE", "GONG", "GOOD", "GOOF", -"GORE", "GORY", "GOSH", "GOUT", "GOWN", "GRAB", "GRAD", "GRAY", -"GREG", "GREW", "GREY", "GRID", "GRIM", "GRIN", "GRIT", "GROW", -"GRUB", "GULF", "GULL", "GUNK", "GURU", "GUSH", "GUST", "GWEN", -"GWYN", "HAAG", "HAAS", "HACK", "HAIL", "HAIR", "HALE", "HALF", -"HALL", "HALO", "HALT", "HAND", "HANG", "HANK", "HANS", "HARD", -"HARK", "HARM", "HART", "HASH", "HAST", "HATE", "HATH", "HAUL", -"HAVE", "HAWK", "HAYS", "HEAD", "HEAL", "HEAR", "HEAT", "HEBE", -"HECK", "HEED", "HEEL", "HEFT", "HELD", "HELL", "HELM", "HERB", -"HERD", "HERE", "HERO", "HERS", "HESS", "HEWN", "HICK", "HIDE", -"HIGH", "HIKE", "HILL", "HILT", "HIND", "HINT", "HIRE", "HISS", -"HIVE", "HOBO", "HOCK", "HOFF", "HOLD", "HOLE", "HOLM", "HOLT", -"HOME", "HONE", "HONK", "HOOD", "HOOF", "HOOK", "HOOT", "HORN", -"HOSE", "HOST", "HOUR", "HOVE", "HOWE", "HOWL", "HOYT", "HUCK", -"HUED", "HUFF", "HUGE", "HUGH", "HUGO", "HULK", "HULL", "HUNK", -"HUNT", "HURD", "HURL", "HURT", "HUSH", "HYDE", "HYMN", "IBIS", -"ICON", "IDEA", "IDLE", "IFFY", "INCA", "INCH", "INTO", "IONS", -"IOTA", "IOWA", "IRIS", "IRMA", "IRON", "ISLE", "ITCH", "ITEM", -"IVAN", "JACK", "JADE", "JAIL", "JAKE", "JANE", "JAVA", "JEAN", -"JEFF", "JERK", "JESS", "JEST", "JIBE", "JILL", "JILT", "JIVE", -"JOAN", "JOBS", "JOCK", "JOEL", "JOEY", "JOHN", "JOIN", "JOKE", -"JOLT", "JOVE", "JUDD", "JUDE", "JUDO", "JUDY", "JUJU", "JUKE", -"JULY", "JUNE", "JUNK", "JUNO", "JURY", "JUST", "JUTE", "KAHN", -"KALE", "KANE", "KANT", "KARL", "KATE", "KEEL", "KEEN", "KENO", -"KENT", "KERN", "KERR", "KEYS", "KICK", "KILL", "KIND", "KING", -"KIRK", "KISS", "KITE", "KLAN", "KNEE", "KNEW", "KNIT", "KNOB", -"KNOT", "KNOW", "KOCH", "KONG", "KUDO", "KURD", "KURT", "KYLE", -"LACE", "LACK", "LACY", "LADY", "LAID", "LAIN", "LAIR", "LAKE", -"LAMB", "LAME", "LAND", "LANE", "LANG", "LARD", "LARK", "LASS", -"LAST", "LATE", "LAUD", "LAVA", "LAWN", "LAWS", "LAYS", "LEAD", -"LEAF", "LEAK", "LEAN", "LEAR", "LEEK", "LEER", "LEFT", "LEND", -"LENS", "LENT", "LEON", "LESK", "LESS", "LEST", "LETS", "LIAR", -"LICE", "LICK", "LIED", "LIEN", "LIES", "LIEU", "LIFE", "LIFT", -"LIKE", "LILA", "LILT", "LILY", "LIMA", "LIMB", "LIME", "LIND", -"LINE", "LINK", "LINT", "LION", "LISA", "LIST", "LIVE", "LOAD", -"LOAF", "LOAM", "LOAN", "LOCK", "LOFT", "LOGE", "LOIS", "LOLA", -"LONE", "LONG", "LOOK", "LOON", "LOOT", "LORD", "LORE", "LOSE", -"LOSS", "LOST", "LOUD", "LOVE", "LOWE", "LUCK", "LUCY", "LUGE", -"LUKE", "LULU", "LUND", "LUNG", "LURA", "LURE", "LURK", "LUSH", -"LUST", "LYLE", "LYNN", "LYON", "LYRA", "MACE", "MADE", "MAGI", -"MAID", "MAIL", "MAIN", "MAKE", "MALE", "MALI", "MALL", "MALT", -"MANA", "MANN", "MANY", "MARC", "MARE", "MARK", "MARS", "MART", - - - -Haller [Page 10] - -RFC 1760 The S/KEY One-Time Password System February 1995 - - -"MARY", "MASH", "MASK", "MASS", "MAST", "MATE", "MATH", "MAUL", -"MAYO", "MEAD", "MEAL", "MEAN", "MEAT", "MEEK", "MEET", "MELD", -"MELT", "MEMO", "MEND", "MENU", "MERT", "MESH", "MESS", "MICE", -"MIKE", "MILD", "MILE", "MILK", "MILL", "MILT", "MIMI", "MIND", -"MINE", "MINI", "MINK", "MINT", "MIRE", "MISS", "MIST", "MITE", -"MITT", "MOAN", "MOAT", "MOCK", "MODE", "MOLD", "MOLE", "MOLL", -"MOLT", "MONA", "MONK", "MONT", "MOOD", "MOON", "MOOR", "MOOT", -"MORE", "MORN", "MORT", "MOSS", "MOST", "MOTH", "MOVE", "MUCH", -"MUCK", "MUDD", "MUFF", "MULE", "MULL", "MURK", "MUSH", "MUST", -"MUTE", "MUTT", "MYRA", "MYTH", "NAGY", "NAIL", "NAIR", "NAME", -"NARY", "NASH", "NAVE", "NAVY", "NEAL", "NEAR", "NEAT", "NECK", -"NEED", "NEIL", "NELL", "NEON", "NERO", "NESS", "NEST", "NEWS", -"NEWT", "NIBS", "NICE", "NICK", "NILE", "NINA", "NINE", "NOAH", -"NODE", "NOEL", "NOLL", "NONE", "NOOK", "NOON", "NORM", "NOSE", -"NOTE", "NOUN", "NOVA", "NUDE", "NULL", "NUMB", "OATH", "OBEY", -"OBOE", "ODIN", "OHIO", "OILY", "OINT", "OKAY", "OLAF", "OLDY", -"OLGA", "OLIN", "OMAN", "OMEN", "OMIT", "ONCE", "ONES", "ONLY", -"ONTO", "ONUS", "ORAL", "ORGY", "OSLO", "OTIS", "OTTO", "OUCH", -"OUST", "OUTS", "OVAL", "OVEN", "OVER", "OWLY", "OWNS", "QUAD", -"QUIT", "QUOD", "RACE", "RACK", "RACY", "RAFT", "RAGE", "RAID", -"RAIL", "RAIN", "RAKE", "RANK", "RANT", "RARE", "RASH", "RATE", -"RAVE", "RAYS", "READ", "REAL", "REAM", "REAR", "RECK", "REED", -"REEF", "REEK", "REEL", "REID", "REIN", "RENA", "REND", "RENT", -"REST", "RICE", "RICH", "RICK", "RIDE", "RIFT", "RILL", "RIME", -"RING", "RINK", "RISE", "RISK", "RITE", "ROAD", "ROAM", "ROAR", -"ROBE", "ROCK", "RODE", "ROIL", "ROLL", "ROME", "ROOD", "ROOF", -"ROOK", "ROOM", "ROOT", "ROSA", "ROSE", "ROSS", "ROSY", "ROTH", -"ROUT", "ROVE", "ROWE", "ROWS", "RUBE", "RUBY", "RUDE", "RUDY", -"RUIN", "RULE", "RUNG", "RUNS", "RUNT", "RUSE", "RUSH", "RUSK", -"RUSS", "RUST", "RUTH", "SACK", "SAFE", "SAGE", "SAID", "SAIL", -"SALE", "SALK", "SALT", "SAME", "SAND", "SANE", "SANG", "SANK", -"SARA", "SAUL", "SAVE", "SAYS", "SCAN", "SCAR", "SCAT", "SCOT", -"SEAL", "SEAM", "SEAR", "SEAT", "SEED", "SEEK", "SEEM", "SEEN", -"SEES", "SELF", "SELL", "SEND", "SENT", "SETS", "SEWN", "SHAG", -"SHAM", "SHAW", "SHAY", "SHED", "SHIM", "SHIN", "SHOD", "SHOE", -"SHOT", "SHOW", "SHUN", "SHUT", "SICK", "SIDE", "SIFT", "SIGH", -"SIGN", "SILK", "SILL", "SILO", "SILT", "SINE", "SING", "SINK", -"SIRE", "SITE", "SITS", "SITU", "SKAT", "SKEW", "SKID", "SKIM", -"SKIN", "SKIT", "SLAB", "SLAM", "SLAT", "SLAY", "SLED", "SLEW", -"SLID", "SLIM", "SLIT", "SLOB", "SLOG", "SLOT", "SLOW", "SLUG", -"SLUM", "SLUR", "SMOG", "SMUG", "SNAG", "SNOB", "SNOW", "SNUB", -"SNUG", "SOAK", "SOAR", "SOCK", "SODA", "SOFA", "SOFT", "SOIL", -"SOLD", "SOME", "SONG", "SOON", "SOOT", "SORE", "SORT", "SOUL", -"SOUR", "SOWN", "STAB", "STAG", "STAN", "STAR", "STAY", "STEM", -"STEW", "STIR", "STOW", "STUB", "STUN", "SUCH", "SUDS", "SUIT", -"SULK", "SUMS", "SUNG", "SUNK", "SURE", "SURF", "SWAB", "SWAG", -"SWAM", "SWAN", "SWAT", "SWAY", "SWIM", "SWUM", "TACK", "TACT", -"TAIL", "TAKE", "TALE", "TALK", "TALL", "TANK", "TASK", "TATE", - - - -Haller [Page 11] - -RFC 1760 The S/KEY One-Time Password System February 1995 - - -"TAUT", "TEAL", "TEAM", "TEAR", "TECH", "TEEM", "TEEN", "TEET", -"TELL", "TEND", "TENT", "TERM", "TERN", "TESS", "TEST", "THAN", -"THAT", "THEE", "THEM", "THEN", "THEY", "THIN", "THIS", "THUD", -"THUG", "TICK", "TIDE", "TIDY", "TIED", "TIER", "TILE", "TILL", -"TILT", "TIME", "TINA", "TINE", "TINT", "TINY", "TIRE", "TOAD", -"TOGO", "TOIL", "TOLD", "TOLL", "TONE", "TONG", "TONY", "TOOK", -"TOOL", "TOOT", "TORE", "TORN", "TOTE", "TOUR", "TOUT", "TOWN", -"TRAG", "TRAM", "TRAY", "TREE", "TREK", "TRIG", "TRIM", "TRIO", -"TROD", "TROT", "TROY", "TRUE", "TUBA", "TUBE", "TUCK", "TUFT", -"TUNA", "TUNE", "TUNG", "TURF", "TURN", "TUSK", "TWIG", "TWIN", -"TWIT", "ULAN", "UNIT", "URGE", "USED", "USER", "USES", "UTAH", -"VAIL", "VAIN", "VALE", "VARY", "VASE", "VAST", "VEAL", "VEDA", -"VEIL", "VEIN", "VEND", "VENT", "VERB", "VERY", "VETO", "VICE", -"VIEW", "VINE", "VISE", "VOID", "VOLT", "VOTE", "WACK", "WADE", -"WAGE", "WAIL", "WAIT", "WAKE", "WALE", "WALK", "WALL", "WALT", -"WAND", "WANE", "WANG", "WANT", "WARD", "WARM", "WARN", "WART", -"WASH", "WAST", "WATS", "WATT", "WAVE", "WAVY", "WAYS", "WEAK", -"WEAL", "WEAN", "WEAR", "WEED", "WEEK", "WEIR", "WELD", "WELL", -"WELT", "WENT", "WERE", "WERT", "WEST", "WHAM", "WHAT", "WHEE", -"WHEN", "WHET", "WHOA", "WHOM", "WICK", "WIFE", "WILD", "WILL", -"WIND", "WINE", "WING", "WINK", "WINO", "WIRE", "WISE", "WISH", -"WITH", "WOLF", "WONT", "WOOD", "WOOL", "WORD", "WORE", "WORK", -"WORM", "WORN", "WOVE", "WRIT", "WYNN", "YALE", "YANG", "YANK", -"YARD", "YARN", "YAWL", "YAWN", "YEAH", "YEAR", "YELL", "YOGA", -"YOKE" }; - - - - - - - - - - - - - - - - - - - - - - - - - - -Haller [Page 12] - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc2104.txt.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc2104.txt.svn-base deleted file mode 100644 index 1fb8fe1..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc2104.txt.svn-base +++ /dev/null @@ -1,619 +0,0 @@ - - - - - - -Network Working Group H. Krawczyk -Request for Comments: 2104 IBM -Category: Informational M. Bellare - UCSD - R. Canetti - IBM - February 1997 - - - HMAC: Keyed-Hashing for Message Authentication - -Status of This Memo - - This memo provides information for the Internet community. This memo - does not specify an Internet standard of any kind. Distribution of - this memo is unlimited. - -Abstract - - This document describes HMAC, a mechanism for message authentication - using cryptographic hash functions. HMAC can be used with any - iterative cryptographic hash function, e.g., MD5, SHA-1, in - combination with a secret shared key. The cryptographic strength of - HMAC depends on the properties of the underlying hash function. - -1. Introduction - - Providing a way to check the integrity of information transmitted - over or stored in an unreliable medium is a prime necessity in the - world of open computing and communications. Mechanisms that provide - such integrity check based on a secret key are usually called - "message authentication codes" (MAC). Typically, message - authentication codes are used between two parties that share a secret - key in order to validate information transmitted between these - parties. In this document we present such a MAC mechanism based on - cryptographic hash functions. This mechanism, called HMAC, is based - on work by the authors [BCK1] where the construction is presented and - cryptographically analyzed. We refer to that work for the details on - the rationale and security analysis of HMAC, and its comparison to - other keyed-hash methods. - - - - - - - - - - - -Krawczyk, et. al. Informational [Page 1] - -RFC 2104 HMAC February 1997 - - - HMAC can be used in combination with any iterated cryptographic hash - function. MD5 and SHA-1 are examples of such hash functions. HMAC - also uses a secret key for calculation and verification of the - message authentication values. The main goals behind this - construction are - - * To use, without modifications, available hash functions. - In particular, hash functions that perform well in software, - and for which code is freely and widely available. - - * To preserve the original performance of the hash function without - incurring a significant degradation. - - * To use and handle keys in a simple way. - - * To have a well understood cryptographic analysis of the strength of - the authentication mechanism based on reasonable assumptions on the - underlying hash function. - - * To allow for easy replaceability of the underlying hash function in - case that faster or more secure hash functions are found or - required. - - This document specifies HMAC using a generic cryptographic hash - function (denoted by H). Specific instantiations of HMAC need to - define a particular hash function. Current candidates for such hash - functions include SHA-1 [SHA], MD5 [MD5], RIPEMD-128/160 [RIPEMD]. - These different realizations of HMAC will be denoted by HMAC-SHA1, - HMAC-MD5, HMAC-RIPEMD, etc. - - Note: To the date of writing of this document MD5 and SHA-1 are the - most widely used cryptographic hash functions. MD5 has been recently - shown to be vulnerable to collision search attacks [Dobb]. This - attack and other currently known weaknesses of MD5 do not compromise - the use of MD5 within HMAC as specified in this document (see - [Dobb]); however, SHA-1 appears to be a cryptographically stronger - function. To this date, MD5 can be considered for use in HMAC for - applications where the superior performance of MD5 is critical. In - any case, implementers and users need to be aware of possible - cryptanalytic developments regarding any of these cryptographic hash - functions, and the eventual need to replace the underlying hash - function. (See section 6 for more information on the security of - HMAC.) - - - - - - - - -Krawczyk, et. al. Informational [Page 2] - -RFC 2104 HMAC February 1997 - - -2. Definition of HMAC - - The definition of HMAC requires a cryptographic hash function, which - we denote by H, and a secret key K. We assume H to be a cryptographic - hash function where data is hashed by iterating a basic compression - function on blocks of data. We denote by B the byte-length of such - blocks (B=64 for all the above mentioned examples of hash functions), - and by L the byte-length of hash outputs (L=16 for MD5, L=20 for - SHA-1). The authentication key K can be of any length up to B, the - block length of the hash function. Applications that use keys longer - than B bytes will first hash the key using H and then use the - resultant L byte string as the actual key to HMAC. In any case the - minimal recommended length for K is L bytes (as the hash output - length). See section 3 for more information on keys. - - We define two fixed and different strings ipad and opad as follows - (the 'i' and 'o' are mnemonics for inner and outer): - - ipad = the byte 0x36 repeated B times - opad = the byte 0x5C repeated B times. - - To compute HMAC over the data `text' we perform - - H(K XOR opad, H(K XOR ipad, text)) - - Namely, - - (1) append zeros to the end of K to create a B byte string - (e.g., if K is of length 20 bytes and B=64, then K will be - appended with 44 zero bytes 0x00) - (2) XOR (bitwise exclusive-OR) the B byte string computed in step - (1) with ipad - (3) append the stream of data 'text' to the B byte string resulting - from step (2) - (4) apply H to the stream generated in step (3) - (5) XOR (bitwise exclusive-OR) the B byte string computed in - step (1) with opad - (6) append the H result from step (4) to the B byte string - resulting from step (5) - (7) apply H to the stream generated in step (6) and output - the result - - For illustration purposes, sample code based on MD5 is provided as an - appendix. - - - - - - - -Krawczyk, et. al. Informational [Page 3] - -RFC 2104 HMAC February 1997 - - -3. Keys - - The key for HMAC can be of any length (keys longer than B bytes are - first hashed using H). However, less than L bytes is strongly - discouraged as it would decrease the security strength of the - function. Keys longer than L bytes are acceptable but the extra - length would not significantly increase the function strength. (A - longer key may be advisable if the randomness of the key is - considered weak.) - - Keys need to be chosen at random (or using a cryptographically strong - pseudo-random generator seeded with a random seed), and periodically - refreshed. (Current attacks do not indicate a specific recommended - frequency for key changes as these attacks are practically - infeasible. However, periodic key refreshment is a fundamental - security practice that helps against potential weaknesses of the - function and keys, and limits the damage of an exposed key.) - -4. Implementation Note - - HMAC is defined in such a way that the underlying hash function H can - be used with no modification to its code. In particular, it uses the - function H with the pre-defined initial value IV (a fixed value - specified by each iterative hash function to initialize its - compression function). However, if desired, a performance - improvement can be achieved at the cost of (possibly) modifying the - code of H to support variable IVs. - - The idea is that the intermediate results of the compression function - on the B-byte blocks (K XOR ipad) and (K XOR opad) can be precomputed - only once at the time of generation of the key K, or before its first - use. These intermediate results are stored and then used to - initialize the IV of H each time that a message needs to be - authenticated. This method saves, for each authenticated message, - the application of the compression function of H on two B-byte blocks - (i.e., on (K XOR ipad) and (K XOR opad)). Such a savings may be - significant when authenticating short streams of data. We stress - that the stored intermediate values need to be treated and protected - the same as secret keys. - - Choosing to implement HMAC in the above way is a decision of the - local implementation and has no effect on inter-operability. - - - - - - - - - -Krawczyk, et. al. Informational [Page 4] - -RFC 2104 HMAC February 1997 - - -5. Truncated output - - A well-known practice with message authentication codes is to - truncate the output of the MAC and output only part of the bits - (e.g., [MM, ANSI]). Preneel and van Oorschot [PV] show some - analytical advantages of truncating the output of hash-based MAC - functions. The results in this area are not absolute as for the - overall security advantages of truncation. It has advantages (less - information on the hash result available to an attacker) and - disadvantages (less bits to predict for the attacker). Applications - of HMAC can choose to truncate the output of HMAC by outputting the t - leftmost bits of the HMAC computation for some parameter t (namely, - the computation is carried in the normal way as defined in section 2 - above but the end result is truncated to t bits). We recommend that - the output length t be not less than half the length of the hash - output (to match the birthday attack bound) and not less than 80 bits - (a suitable lower bound on the number of bits that need to be - predicted by an attacker). We propose denoting a realization of HMAC - that uses a hash function H with t bits of output as HMAC-H-t. For - example, HMAC-SHA1-80 denotes HMAC computed using the SHA-1 function - and with the output truncated to 80 bits. (If the parameter t is not - specified, e.g. HMAC-MD5, then it is assumed that all the bits of the - hash are output.) - -6. Security - - The security of the message authentication mechanism presented here - depends on cryptographic properties of the hash function H: the - resistance to collision finding (limited to the case where the - initial value is secret and random, and where the output of the - function is not explicitly available to the attacker), and the - message authentication property of the compression function of H when - applied to single blocks (in HMAC these blocks are partially unknown - to an attacker as they contain the result of the inner H computation - and, in particular, cannot be fully chosen by the attacker). - - These properties, and actually stronger ones, are commonly assumed - for hash functions of the kind used with HMAC. In particular, a hash - function for which the above properties do not hold would become - unsuitable for most (probably, all) cryptographic applications, - including alternative message authentication schemes based on such - functions. (For a complete analysis and rationale of the HMAC - function the reader is referred to [BCK1].) - - - - - - - - -Krawczyk, et. al. Informational [Page 5] - -RFC 2104 HMAC February 1997 - - - Given the limited confidence gained so far as for the cryptographic - strength of candidate hash functions, it is important to observe the - following two properties of the HMAC construction and its secure use - for message authentication: - - 1. The construction is independent of the details of the particular - hash function H in use and then the latter can be replaced by any - other secure (iterative) cryptographic hash function. - - 2. Message authentication, as opposed to encryption, has a - "transient" effect. A published breaking of a message authentication - scheme would lead to the replacement of that scheme, but would have - no adversarial effect on information authenticated in the past. This - is in sharp contrast with encryption, where information encrypted - today may suffer from exposure in the future if, and when, the - encryption algorithm is broken. - - The strongest attack known against HMAC is based on the frequency of - collisions for the hash function H ("birthday attack") [PV,BCK2], and - is totally impractical for minimally reasonable hash functions. - - As an example, if we consider a hash function like MD5 where the - output length equals L=16 bytes (128 bits) the attacker needs to - acquire the correct message authentication tags computed (with the - _same_ secret key K!) on about 2**64 known plaintexts. This would - require the processing of at least 2**64 blocks under H, an - impossible task in any realistic scenario (for a block length of 64 - bytes this would take 250,000 years in a continuous 1Gbps link, and - without changing the secret key K during all this time). This attack - could become realistic only if serious flaws in the collision - behavior of the function H are discovered (e.g. collisions found - after 2**30 messages). Such a discovery would determine the immediate - replacement of the function H (the effects of such failure would be - far more severe for the traditional uses of H in the context of - digital signatures, public key certificates, etc.). - - Note: this attack needs to be strongly contrasted with regular - collision attacks on cryptographic hash functions where no secret key - is involved and where 2**64 off-line parallelizable (!) operations - suffice to find collisions. The latter attack is approaching - feasibility [VW] while the birthday attack on HMAC is totally - impractical. (In the above examples, if one uses a hash function - with, say, 160 bit of output then 2**64 should be replaced by 2**80.) - - - - - - - - -Krawczyk, et. al. Informational [Page 6] - -RFC 2104 HMAC February 1997 - - - A correct implementation of the above construction, the choice of - random (or cryptographically pseudorandom) keys, a secure key - exchange mechanism, frequent key refreshments, and good secrecy - protection of keys are all essential ingredients for the security of - the integrity verification mechanism provided by HMAC. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Krawczyk, et. al. Informational [Page 7] - -RFC 2104 HMAC February 1997 - - -Appendix -- Sample Code - - For the sake of illustration we provide the following sample code for - the implementation of HMAC-MD5 as well as some corresponding test - vectors (the code is based on MD5 code as described in [MD5]). - -/* -** Function: hmac_md5 -*/ - -void -hmac_md5(text, text_len, key, key_len, digest) -unsigned char* text; /* pointer to data stream */ -int text_len; /* length of data stream */ -unsigned char* key; /* pointer to authentication key */ -int key_len; /* length of authentication key */ -caddr_t digest; /* caller digest to be filled in */ - -{ - MD5_CTX context; - unsigned char k_ipad[65]; /* inner padding - - * key XORd with ipad - */ - unsigned char k_opad[65]; /* outer padding - - * key XORd with opad - */ - unsigned char tk[16]; - int i; - /* if key is longer than 64 bytes reset it to key=MD5(key) */ - if (key_len > 64) { - - MD5_CTX tctx; - - MD5Init(&tctx); - MD5Update(&tctx, key, key_len); - MD5Final(tk, &tctx); - - key = tk; - key_len = 16; - } - - /* - * the HMAC_MD5 transform looks like: - * - * MD5(K XOR opad, MD5(K XOR ipad, text)) - * - * where K is an n byte key - * ipad is the byte 0x36 repeated 64 times - - - -Krawczyk, et. al. Informational [Page 8] - -RFC 2104 HMAC February 1997 - - - * opad is the byte 0x5c repeated 64 times - * and text is the data being protected - */ - - /* start out by storing key in pads */ - bzero( k_ipad, sizeof k_ipad); - bzero( k_opad, sizeof k_opad); - bcopy( key, k_ipad, key_len); - bcopy( key, k_opad, key_len); - - /* XOR key with ipad and opad values */ - for (i=0; i<64; i++) { - k_ipad[i] ^= 0x36; - k_opad[i] ^= 0x5c; - } - /* - * perform inner MD5 - */ - MD5Init(&context); /* init context for 1st - * pass */ - MD5Update(&context, k_ipad, 64) /* start with inner pad */ - MD5Update(&context, text, text_len); /* then text of datagram */ - MD5Final(digest, &context); /* finish up 1st pass */ - /* - * perform outer MD5 - */ - MD5Init(&context); /* init context for 2nd - * pass */ - MD5Update(&context, k_opad, 64); /* start with outer pad */ - MD5Update(&context, digest, 16); /* then results of 1st - * hash */ - MD5Final(digest, &context); /* finish up 2nd pass */ -} - -Test Vectors (Trailing '\0' of a character string not included in test): - - key = 0x0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b - key_len = 16 bytes - data = "Hi There" - data_len = 8 bytes - digest = 0x9294727a3638bb1c13f48ef8158bfc9d - - key = "Jefe" - data = "what do ya want for nothing?" - data_len = 28 bytes - digest = 0x750c783e6ab0b503eaa86e310a5db738 - - key = 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA - - - -Krawczyk, et. al. Informational [Page 9] - -RFC 2104 HMAC February 1997 - - - key_len 16 bytes - data = 0xDDDDDDDDDDDDDDDDDDDD... - ..DDDDDDDDDDDDDDDDDDDD... - ..DDDDDDDDDDDDDDDDDDDD... - ..DDDDDDDDDDDDDDDDDDDD... - ..DDDDDDDDDDDDDDDDDDDD - data_len = 50 bytes - digest = 0x56be34521d144c88dbb8c733f0e8b3f6 - -Acknowledgments - - Pau-Chen Cheng, Jeff Kraemer, and Michael Oehler, have provided - useful comments on early drafts, and ran the first interoperability - tests of this specification. Jeff and Pau-Chen kindly provided the - sample code and test vectors that appear in the appendix. Burt - Kaliski, Bart Preneel, Matt Robshaw, Adi Shamir, and Paul van - Oorschot have provided useful comments and suggestions during the - investigation of the HMAC construction. - -References - - [ANSI] ANSI X9.9, "American National Standard for Financial - Institution Message Authentication (Wholesale)," American - Bankers Association, 1981. Revised 1986. - - [Atk] Atkinson, R., "IP Authentication Header", RFC 1826, August - 1995. - - [BCK1] M. Bellare, R. Canetti, and H. Krawczyk, - "Keyed Hash Functions and Message Authentication", - Proceedings of Crypto'96, LNCS 1109, pp. 1-15. - (http://www.research.ibm.com/security/keyed-md5.html) - - [BCK2] M. Bellare, R. Canetti, and H. Krawczyk, - "Pseudorandom Functions Revisited: The Cascade Construction", - Proceedings of FOCS'96. - - [Dobb] H. Dobbertin, "The Status of MD5 After a Recent Attack", - RSA Labs' CryptoBytes, Vol. 2 No. 2, Summer 1996. - http://www.rsa.com/rsalabs/pubs/cryptobytes.html - - [PV] B. Preneel and P. van Oorschot, "Building fast MACs from hash - functions", Advances in Cryptology -- CRYPTO'95 Proceedings, - Lecture Notes in Computer Science, Springer-Verlag Vol.963, - 1995, pp. 1-14. - - [MD5] Rivest, R., "The MD5 Message-Digest Algorithm", - RFC 1321, April 1992. - - - -Krawczyk, et. al. Informational [Page 10] - -RFC 2104 HMAC February 1997 - - - [MM] Meyer, S. and Matyas, S.M., Cryptography, New York Wiley, - 1982. - - [RIPEMD] H. Dobbertin, A. Bosselaers, and B. Preneel, "RIPEMD-160: A - strengthened version of RIPEMD", Fast Software Encryption, - LNCS Vol 1039, pp. 71-82. - ftp://ftp.esat.kuleuven.ac.be/pub/COSIC/bosselae/ripemd/. - - [SHA] NIST, FIPS PUB 180-1: Secure Hash Standard, April 1995. - - [Tsu] G. Tsudik, "Message authentication with one-way hash - functions", In Proceedings of Infocom'92, May 1992. - (Also in "Access Control and Policy Enforcement in - Internetworks", Ph.D. Dissertation, Computer Science - Department, University of Southern California, April 1991.) - - [VW] P. van Oorschot and M. Wiener, "Parallel Collision - Search with Applications to Hash Functions and Discrete - Logarithms", Proceedings of the 2nd ACM Conf. Computer and - Communications Security, Fairfax, VA, November 1994. - -Authors' Addresses - - Hugo Krawczyk - IBM T.J. Watson Research Center - P.O.Box 704 - Yorktown Heights, NY 10598 - - EMail: hugo@watson.ibm.com - - Mihir Bellare - Dept of Computer Science and Engineering - Mail Code 0114 - University of California at San Diego - 9500 Gilman Drive - La Jolla, CA 92093 - - EMail: mihir@cs.ucsd.edu - - Ran Canetti - IBM T.J. Watson Research Center - P.O.Box 704 - Yorktown Heights, NY 10598 - - EMail: canetti@watson.ibm.com - - - - - - -Krawczyk, et. al. Informational [Page 11] - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc2222.txt.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc2222.txt.svn-base deleted file mode 100644 index 2b0a2ab..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc2222.txt.svn-base +++ /dev/null @@ -1,899 +0,0 @@ - - - - - - -Network Working Group J. Myers -Request for Comments: 2222 Netscape Communications -Category: Standards Track October 1997 - - - Simple Authentication and Security Layer (SASL) - -Status of this Memo - - This document specifies an Internet standards track protocol for the - Internet community, and requests discussion and suggestions for - improvements. Please refer to the current edition of the "Internet - Official Protocol Standards" (STD 1) for the standardization state - and status of this protocol. Distribution of this memo is unlimited. - -Copyright Notice - - Copyright (C) The Internet Society (1997). All Rights Reserved. - -Table of Contents - - 1. Abstract .............................................. 2 - 2. Organization of this Document ......................... 2 - 2.1. How to Read This Document ............................. 2 - 2.2. Conventions Used in this Document ..................... 2 - 2.3. Examples .............................................. 3 - 3. Introduction and Overview ............................. 3 - 4. Profiling requirements ................................ 4 - 5. Specific issues ....................................... 5 - 5.1. Client sends data first ............................... 5 - 5.2. Server returns success with additional data ........... 5 - 5.3. Multiple authentications .............................. 5 - 6. Registration procedures ............................... 6 - 6.1. Comments on SASL mechanism registrations .............. 6 - 6.2. Location of Registered SASL Mechanism List ............ 6 - 6.3. Change Control ........................................ 7 - 6.4. Registration Template ................................. 7 - 7. Mechanism definitions ................................. 8 - 7.1. Kerberos version 4 mechanism .......................... 8 - 7.2. GSSAPI mechanism ...................................... 9 - 7.2.1 Client side of authentication protocol exchange ....... 9 - 7.2.2 Server side of authentication protocol exchange ....... 10 - 7.2.3 Security layer ........................................ 11 - 7.3. S/Key mechanism ....................................... 11 - 7.4. External mechanism .................................... 12 - 8. References ............................................ 13 - 9. Security Considerations ............................... 13 - 10. Author's Address ...................................... 14 - - - -Myers Standards Track [Page 1] - -RFC 2222 SASL October 1997 - - - Appendix A. Relation of SASL to Transport Security .......... 15 - Full Copyright Statement .................................... 16 - -1. Abstract - - This document describes a method for adding authentication support to - connection-based protocols. To use this specification, a protocol - includes a command for identifying and authenticating a user to a - server and for optionally negotiating protection of subsequent - protocol interactions. If its use is negotiated, a security layer is - inserted between the protocol and the connection. This document - describes how a protocol specifies such a command, defines several - mechanisms for use by the command, and defines the protocol used for - carrying a negotiated security layer over the connection. - -2. Organization of this Document - -2.1. How to Read This Document - - This document is written to serve two different audiences, protocol - designers using this specification to support authentication in their - protocol, and implementors of clients or servers for those protocols - using this specification. - - The sections "Introduction and Overview", "Profiling requirements", - and "Security Considerations" cover issues that protocol designers - need to understand and address in profiling this specification for - use in a specific protocol. - - Implementors of a protocol using this specification need the - protocol-specific profiling information in addition to the - information in this document. - -2.2. Conventions Used in this Document - - In examples, "C:" and "S:" indicate lines sent by the client and - server respectively. - - The key words "MUST", "MUST NOT", "SHOULD", "SHOULD NOT", and "MAY" - in this document are to be interpreted as defined in "Key words for - use in RFCs to Indicate Requirement Levels" [RFC 2119]. - - - - - - - - - - -Myers Standards Track [Page 2] - -RFC 2222 SASL October 1997 - - -2.3. Examples - - Examples in this document are for the IMAP profile [RFC 2060] of this - specification. The base64 encoding of challenges and responses, as - well as the "+ " preceding the responses are part of the IMAP4 - profile, not part of the SASL specification itself. - -3. Introduction and Overview - - The Simple Authentication and Security Layer (SASL) is a method for - adding authentication support to connection-based protocols. To use - this specification, a protocol includes a command for identifying and - authenticating a user to a server and for optionally negotiating a - security layer for subsequent protocol interactions. - - The command has a required argument identifying a SASL mechanism. - SASL mechanisms are named by strings, from 1 to 20 characters in - length, consisting of upper-case letters, digits, hyphens, and/or - underscores. SASL mechanism names must be registered with the IANA. - Procedures for registering new SASL mechanisms are given in the - section "Registration procedures" - - If a server supports the requested mechanism, it initiates an - authentication protocol exchange. This consists of a series of - server challenges and client responses that are specific to the - requested mechanism. The challenges and responses are defined by the - mechanisms as binary tokens of arbitrary length. The protocol's - profile then specifies how these binary tokens are then encoded for - transfer over the connection. - - After receiving the authentication command or any client response, a - server may issue a challenge, indicate failure, or indicate - completion. The protocol's profile specifies how the server - indicates which of the above it is doing. - - After receiving a challenge, a client may issue a response or abort - the exchange. The protocol's profile specifies how the client - indicates which of the above it is doing. - - During the authentication protocol exchange, the mechanism performs - authentication, transmits an authorization identity (frequently known - as a userid) from the client to server, and negotiates the use of a - mechanism-specific security layer. If the use of a security layer is - agreed upon, then the mechanism must also define or negotiate the - maximum cipher-text buffer size that each side is able to receive. - - - - - - -Myers Standards Track [Page 3] - -RFC 2222 SASL October 1997 - - - The transmitted authorization identity may be different than the - identity in the client's authentication credentials. This permits - agents such as proxy servers to authenticate using their own - credentials, yet request the access privileges of the identity for - which they are proxying. With any mechanism, transmitting an - authorization identity of the empty string directs the server to - derive an authorization identity from the client's authentication - credentials. - - If use of a security layer is negotiated, it is applied to all - subsequent data sent over the connection. The security layer takes - effect immediately following the last response of the authentication - exchange for data sent by the client and the completion indication - for data sent by the server. Once the security layer is in effect, - the protocol stream is processed by the security layer into buffers - of cipher-text. Each buffer is transferred over the connection as a - stream of octets prepended with a four octet field in network byte - order that represents the length of the following buffer. The length - of the cipher-text buffer must be no larger than the maximum size - that was defined or negotiated by the other side. - -4. Profiling requirements - - In order to use this specification, a protocol definition must supply - the following information: - - 1. A service name, to be selected from the IANA registry of "service" - elements for the GSSAPI host-based service name form [RFC 2078]. - - 2. A definition of the command to initiate the authentication - protocol exchange. This command must have as a parameter the - mechanism name being selected by the client. - - The command SHOULD have an optional parameter giving an initial - response. This optional parameter allows the client to avoid a - round trip when using a mechanism which is defined to have the - client send data first. When this initial response is sent by the - client and the selected mechanism is defined to have the server - start with an initial challenge, the command fails. See section - 5.1 of this document for further information. - - 3. A definition of the method by which the authentication protocol - exchange is carried out, including how the challenges and - responses are encoded, how the server indicates completion or - failure of the exchange, how the client aborts an exchange, and - how the exchange method interacts with any line length limits in - the protocol. - - - - -Myers Standards Track [Page 4] - -RFC 2222 SASL October 1997 - - - 4. Identification of the octet where any negotiated security layer - starts to take effect, in both directions. - - 5. A specification of how the authorization identity passed from the - client to the server is to be interpreted. - -5. Specific issues - -5.1. Client sends data first - - Some mechanisms specify that the first data sent in the - authentication protocol exchange is from the client to the server. - - If a protocol's profile permits the command which initiates an - authentication protocol exchange to contain an initial client - response, this parameter SHOULD be used with such mechanisms. - - If the initial client response parameter is not given, or if a - protocol's profile does not permit the command which initiates an - authentication protocol exchange to contain an initial client - response, then the server issues a challenge with no data. The - client's response to this challenge is then used as the initial - client response. (The server then proceeds to send the next - challenge, indicates completion, or indicates failure.) - -5.2. Server returns success with additional data - - Some mechanisms may specify that server challenge data be sent to the - client along with an indication of successful completion of the - exchange. This data would, for example, authenticate the server to - the client. - - If a protocol's profile does not permit this server challenge to be - returned with a success indication, then the server issues the server - challenge without an indication of successful completion. The client - then responds with no data. After receiving this empty response, the - server then indicates successful completion. - -5.3. Multiple authentications - - Unless otherwise stated by the protocol's profile, only one - successful SASL negotiation may occur in a protocol session. In this - case, once an authentication protocol exchange has successfully - completed, further attempts to initiate an authentication protocol - exchange fail. - - - - - - -Myers Standards Track [Page 5] - -RFC 2222 SASL October 1997 - - - In the case that a profile explicitly permits multiple successful - SASL negotiations to occur, then in no case may multiple security - layers be simultaneously in effect. If a security layer is in effect - and a subsequent SASL negotiation selects no security layer, the - original security layer remains in effect. If a security layer is in - effect and a subsequent SASL negotiation selects a second security - layer, then the second security layer replaces the first. - -6. Registration procedures - - Registration of a SASL mechanism is done by filling in the template - in section 6.4 and sending it in to iana@isi.edu. IANA has the right - to reject obviously bogus registrations, but will perform no review - of clams made in the registration form. - - There is no naming convention for SASL mechanisms; any name that - conforms to the syntax of a SASL mechanism name can be registered. - - While the registration procedures do not require it, authors of SASL - mechanisms are encouraged to seek community review and comment - whenever that is feasible. Authors may seek community review by - posting a specification of their proposed mechanism as an internet- - draft. SASL mechanisms intended for widespread use should be - standardized through the normal IETF process, when appropriate. - -6.1. Comments on SASL mechanism registrations - - Comments on registered SASL mechanisms should first be sent to the - "owner" of the mechanism. Submitters of comments may, after a - reasonable attempt to contact the owner, request IANA to attach their - comment to the SASL mechanism registration itself. If IANA approves - of this the comment will be made accessible in conjunction with the - SASL mechanism registration itself. - -6.2. Location of Registered SASL Mechanism List - - SASL mechanism registrations will be posted in the anonymous FTP - directory "ftp://ftp.isi.edu/in-notes/iana/assignments/sasl- - mechanisms/" and all registered SASL mechanisms will be listed in the - periodically issued "Assigned Numbers" RFC [currently STD 2, RFC - 1700]. The SASL mechanism description and other supporting material - may also be published as an Informational RFC by sending it to "rfc- - editor@isi.edu" (please follow the instructions to RFC authors [RFC - 2223]). - - - - - - - -Myers Standards Track [Page 6] - -RFC 2222 SASL October 1997 - - -6.3. Change Control - - Once a SASL mechanism registration has been published by IANA, the - author may request a change to its definition. The change request - follows the same procedure as the registration request. - - The owner of a SASL mechanism may pass responsibility for the SASL - mechanism to another person or agency by informing IANA; this can be - done without discussion or review. - - The IESG may reassign responsibility for a SASL mechanism. The most - common case of this will be to enable changes to be made to - mechanisms where the author of the registration has died, moved out - of contact or is otherwise unable to make changes that are important - to the community. - - SASL mechanism registrations may not be deleted; mechanisms which are - no longer believed appropriate for use can be declared OBSOLETE by a - change to their "intended use" field; such SASL mechanisms will be - clearly marked in the lists published by IANA. - - The IESG is considered to be the owner of all SASL mechanisms which - are on the IETF standards track. - -6.4. Registration Template - - To: iana@iana.org - Subject: Registration of SASL mechanism X - - SASL mechanism name: - - Security considerations: - - Published specification (optional, recommended): - - Person & email address to contact for further information: - - Intended usage: - - (One of COMMON, LIMITED USE or OBSOLETE) - - Author/Change controller: - - (Any other information that the author deems interesting may be - added below this line.) - - - - - - -Myers Standards Track [Page 7] - -RFC 2222 SASL October 1997 - - -7. Mechanism definitions - - The following mechanisms are hereby defined. - -7.1. Kerberos version 4 mechanism - - The mechanism name associated with Kerberos version 4 is - "KERBEROS_V4". - - The first challenge consists of a random 32-bit number in network - byte order. The client responds with a Kerberos ticket and an - authenticator for the principal "service.hostname@realm", where - "service" is the service name specified in the protocol's profile, - "hostname" is the first component of the host name of the server with - all letters in lower case, and where "realm" is the Kerberos realm of - the server. The encrypted checksum field included within the - Kerberos authenticator contains the server provided challenge in - network byte order. - - Upon decrypting and verifying the ticket and authenticator, the - server verifies that the contained checksum field equals the original - server provided random 32-bit number. Should the verification be - successful, the server must add one to the checksum and construct 8 - octets of data, with the first four octets containing the incremented - checksum in network byte order, the fifth octet containing a bit-mask - specifying the security layers supported by the server, and the sixth - through eighth octets containing, in network byte order, the maximum - cipher-text buffer size the server is able to receive. The server - must encrypt using DES ECB mode the 8 octets of data in the session - key and issue that encrypted data in a second challenge. The client - considers the server authenticated if the first four octets of the - un-encrypted data is equal to one plus the checksum it previously - sent. - - The client must construct data with the first four octets containing - the original server-issued checksum in network byte order, the fifth - octet containing the bit-mask specifying the selected security layer, - the sixth through eighth octets containing in network byte order the - maximum cipher-text buffer size the client is able to receive, and - the following octets containing the authorization identity. The - client must then append from one to eight zero-valued octets so that - the length of the data is a multiple of eight octets. The client must - then encrypt using DES PCBC mode the data with the session key and - respond with the encrypted data. The server decrypts the data and - verifies the contained checksum. The server must verify that the - principal identified in the Kerberos ticket is authorized to connect - as that authorization identity. After this verification, the - authentication process is complete. - - - -Myers Standards Track [Page 8] - -RFC 2222 SASL October 1997 - - - The security layers and their corresponding bit-masks are as follows: - - 1 No security layer - 2 Integrity (krb_mk_safe) protection - 4 Privacy (krb_mk_priv) protection - - Other bit-masks may be defined in the future; bits which are not - understood must be negotiated off. - - EXAMPLE: The following are two Kerberos version 4 login scenarios to - the IMAP4 protocol (note that the line breaks in the sample - authenticators are for editorial clarity and are not in real - authenticators) - - S: * OK IMAP4 Server - C: A001 AUTHENTICATE KERBEROS_V4 - S: + AmFYig== - C: BAcAQU5EUkVXLkNNVS5FRFUAOCAsho84kLN3/IJmrMG+25a4DT - +nZImJjnTNHJUtxAA+o0KPKfHEcAFs9a3CL5Oebe/ydHJUwYFd - WwuQ1MWiy6IesKvjL5rL9WjXUb9MwT9bpObYLGOKi1Qh - S: + or//EoAADZI= - C: DiAF5A4gA+oOIALuBkAAmw== - S: A001 OK Kerberos V4 authentication successful - - - S: * OK IMAP4 Server - C: A001 AUTHENTICATE KERBEROS_V4 - S: + gcfgCA== - C: BAcAQU5EUkVXLkNNVS5FRFUAOCAsho84kLN3/IJmrMG+25a4DT - +nZImJjnTNHJUtxAA+o0KPKfHEcAFs9a3CL5Oebe/ydHJUwYFd - WwuQ1MWiy6IesKvjL5rL9WjXUb9MwT9bpObYLGOKi1Qh - S: A001 NO Kerberos V4 authentication failed - -7.2. GSSAPI mechanism - - The mechanism name associated with all mechanisms employing the - GSSAPI [RFC 2078] is "GSSAPI". - -7.2.1 Client side of authentication protocol exchange - - The client calls GSS_Init_sec_context, passing in 0 for - input_context_handle (initially) and a targ_name equal to output_name - from GSS_Import_Name called with input_name_type of - GSS_C_NT_HOSTBASED_SERVICE and input_name_string of - "service@hostname" where "service" is the service name specified in - the protocol's profile, and "hostname" is the fully qualified host - name of the server. The client then responds with the resulting - output_token. If GSS_Init_sec_context returns GSS_S_CONTINUE_NEEDED, - - - -Myers Standards Track [Page 9] - -RFC 2222 SASL October 1997 - - - then the client should expect the server to issue a token in a - subsequent challenge. The client must pass the token to another call - to GSS_Init_sec_context, repeating the actions in this paragraph. - - When GSS_Init_sec_context returns GSS_S_COMPLETE, the client takes - the following actions: If the last call to GSS_Init_sec_context - returned an output_token, then the client responds with the - output_token, otherwise the client responds with no data. The client - should then expect the server to issue a token in a subsequent - challenge. The client passes this token to GSS_Unwrap and interprets - the first octet of resulting cleartext as a bit-mask specifying the - security layers supported by the server and the second through fourth - octets as the maximum size output_message to send to the server. The - client then constructs data, with the first octet containing the - bit-mask specifying the selected security layer, the second through - fourth octets containing in network byte order the maximum size - output_message the client is able to receive, and the remaining - octets containing the authorization identity. The client passes the - data to GSS_Wrap with conf_flag set to FALSE, and responds with the - generated output_message. The client can then consider the server - authenticated. - -7.2.2 Server side of authentication protocol exchange - - The server passes the initial client response to - GSS_Accept_sec_context as input_token, setting input_context_handle - to 0 (initially). If GSS_Accept_sec_context returns - GSS_S_CONTINUE_NEEDED, the server returns the generated output_token - to the client in challenge and passes the resulting response to - another call to GSS_Accept_sec_context, repeating the actions in this - paragraph. - - When GSS_Accept_sec_context returns GSS_S_COMPLETE, the client takes - the following actions: If the last call to GSS_Accept_sec_context - returned an output_token, the server returns it to the client in a - challenge and expects a reply from the client with no data. Whether - or not an output_token was returned (and after receipt of any - response from the client to such an output_token), the server then - constructs 4 octets of data, with the first octet containing a bit- - mask specifying the security layers supported by the server and the - second through fourth octets containing in network byte order the - maximum size output_token the server is able to receive. The server - must then pass the plaintext to GSS_Wrap with conf_flag set to FALSE - and issue the generated output_message to the client in a challenge. - The server must then pass the resulting response to GSS_Unwrap and - interpret the first octet of resulting cleartext as the bit-mask for - the selected security layer, the second through fourth octets as the - maximum size output_message to send to the client, and the remaining - - - -Myers Standards Track [Page 10] - -RFC 2222 SASL October 1997 - - - octets as the authorization identity. The server must verify that - the src_name is authorized to authenticate as the authorization - identity. After these verifications, the authentication process is - complete. - -7.2.3 Security layer - - The security layers and their corresponding bit-masks are as follows: - - 1 No security layer - 2 Integrity protection. - Sender calls GSS_Wrap with conf_flag set to FALSE - 4 Privacy protection. - Sender calls GSS_Wrap with conf_flag set to TRUE - - Other bit-masks may be defined in the future; bits which are not - understood must be negotiated off. - -7.3. S/Key mechanism - - The mechanism name associated with S/Key [RFC 1760] using the MD4 - digest algorithm is "SKEY". - - The client sends an initial response with the authorization identity. - - The server then issues a challenge which contains the decimal - sequence number followed by a single space and the seed string for - the indicated authorization identity. The client responds with the - one-time-password, as either a 64-bit value in network byte order or - encoded in the "six English words" format. - - The server must verify the one-time-password. After this - verification, the authentication process is complete. - - S/Key authentication does not provide for any security layers. - - EXAMPLE: The following are two S/Key login scenarios in the IMAP4 - protocol. - - S: * OK IMAP4 Server - C: A001 AUTHENTICATE SKEY - S: + - C: bW9yZ2Fu - S: + OTUgUWE1ODMwOA== - C: Rk9VUiBNQU5OIFNPT04gRklSIFZBUlkgTUFTSA== - S: A001 OK S/Key authentication successful - - - - - -Myers Standards Track [Page 11] - -RFC 2222 SASL October 1997 - - - S: * OK IMAP4 Server - C: A001 AUTHENTICATE SKEY - S: + - C: c21pdGg= - S: + OTUgUWE1ODMwOA== - C: BsAY3g4gBNo= - S: A001 NO S/Key authentication failed - - The following is an S/Key login scenario in an IMAP4-like protocol - which has an optional "initial response" argument to the AUTHENTICATE - command. - - S: * OK IMAP4-Like Server - C: A001 AUTHENTICATE SKEY bW9yZ2Fu - S: + OTUgUWE1ODMwOA== - C: Rk9VUiBNQU5OIFNPT04gRklSIFZBUlkgTUFTSA== - S: A001 OK S/Key authentication successful - -7.4. External mechanism - - The mechanism name associated with external authentication is - "EXTERNAL". - - The client sends an initial response with the authorization identity. - - The server uses information, external to SASL, to determine whether - the client is authorized to authenticate as the authorization - identity. If the client is so authorized, the server indicates - successful completion of the authentication exchange; otherwise the - server indicates failure. - - The system providing this external information may be, for example, - IPsec or TLS. - - If the client sends the empty string as the authorization identity - (thus requesting the authorization identity be derived from the - client's authentication credentials), the authorization identity is - to be derived from authentication credentials which exist in the - system which is providing the external authentication. - - - - - - - - - - - - -Myers Standards Track [Page 12] - -RFC 2222 SASL October 1997 - - -8. References - - [RFC 2060] Crispin, M., "Internet Message Access Protocol - Version - 4rev1", RFC 2060, December 1996. - - [RFC 2078] Linn, J., "Generic Security Service Application Program - Interface, Version 2", RFC 2078, January 1997. - - [RFC 2119] Bradner, S., "Key words for use in RFCs to Indicate - Requirement Levels", RFC 2119, March 1997. - - [RFC 2223] Postel, J., and J. Reynolds, "Instructions to RFC - Authors", RFC 2223, October 1997. - - [RFC 1760] Haller, N., "The S/Key One-Time Password System", RFC - 1760, February 1995. - - [RFC 1700] Reynolds, J., and J. Postel, "Assigned Numbers", STD 2, - RFC 1700, October 1994. - -9. Security Considerations - - Security issues are discussed throughout this memo. - - The mechanisms that support integrity protection are designed such - that the negotiation of the security layer and authorization identity - is integrity protected. When the client selects a security layer - with at least integrity protection, this protects against an active - attacker hijacking the connection and modifying the authentication - exchange to negotiate a plaintext connection. - - When a server or client supports multiple authentication mechanisms, - each of which has a different security strength, it is possible for - an active attacker to cause a party to use the least secure mechanism - supported. To protect against this sort of attack, a client or - server which supports mechanisms of different strengths should have a - configurable minimum strength that it will use. It is not sufficient - for this minimum strength check to only be on the server, since an - active attacker can change which mechanisms the client sees as being - supported, causing the client to send authentication credentials for - its weakest supported mechanism. - - - - - - - - - - -Myers Standards Track [Page 13] - -RFC 2222 SASL October 1997 - - - The client's selection of a SASL mechanism is done in the clear and - may be modified by an active attacker. It is important for any new - SASL mechanisms to be designed such that an active attacker cannot - obtain an authentication with weaker security properties by modifying - the SASL mechanism name and/or the challenges and responses. - - Any protocol interactions prior to authentication are performed in - the clear and may be modified by an active attacker. In the case - where a client selects integrity protection, it is important that any - security-sensitive protocol negotiations be performed after - authentication is complete. Protocols should be designed such that - negotiations performed prior to authentication should be either - ignored or revalidated once authentication is complete. - -10. Author's Address - - John G. Myers - Netscape Communications - 501 E. Middlefield Road - Mail Stop MV-029 - Mountain View, CA 94043-4042 - - EMail: jgmyers@netscape.com - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Myers Standards Track [Page 14] - -RFC 2222 SASL October 1997 - - -Appendix A. Relation of SASL to Transport Security - - Questions have been raised about the relationship between SASL and - various services (such as IPsec and TLS) which provide a secured - connection. - - Two of the key features of SASL are: - - 1. The separation of the authorization identity from the identity in - the client's credentials. This permits agents such as proxy - servers to authenticate using their own credentials, yet request - the access privileges of the identity for which they are proxying. - - 2. Upon successful completion of an authentication exchange, the - server knows the authorization identity the client wishes to use. - This allows servers to move to a "user is authenticated" state in - the protocol. - - These features are extremely important to some application protocols, - yet Transport Security services do not always provide them. To - define SASL mechanisms based on these services would be a very messy - task, as the framing of these services would be redundant with the - framing of SASL and some method of providing these important SASL - features would have to be devised. - - Sometimes it is desired to enable within an existing connection the - use of a security service which does not fit the SASL model. (TLS is - an example of such a service.) This can be done by adding a command, - for example "STARTTLS", to the protocol. Such a command is outside - the scope of SASL, and should be different from the command which - starts a SASL authentication protocol exchange. - - In certain situations, it is reasonable to use SASL underneath one of - these Transport Security services. The transport service would - secure the connection, either service would authenticate the client, - and SASL would negotiate the authorization identity. The SASL - negotiation would be what moves the protocol from "unauthenticated" - to "authenticated" state. The "EXTERNAL" SASL mechanism is - explicitly intended to handle the case where the transport service - secures the connection and authenticates the client and SASL - negotiates the authorization identity. - - When using SASL underneath a sufficiently strong Transport Security - service, a SASL security layer would most likely be redundant. The - client and server would thus probably want to negotiate off the use - of a SASL security layer. - - - - - -Myers Standards Track [Page 15] - -RFC 2222 SASL October 1997 - - -Full Copyright Statement - - Copyright (C) The Internet Society (1997). All Rights Reserved. - - This document and translations of it may be copied and furnished to - others, and derivative works that comment on or otherwise explain it - or assist in its implmentation may be prepared, copied, published - andand distributed, in whole or in part, without restriction of any - kind, provided that the above copyright notice and this paragraph are - included on all such copies and derivative works. However, this - document itself may not be modified in any way, such as by removing - the copyright notice or references to the Internet Society or other - Internet organizations, except as needed for the purpose of - developing Internet standards in which case the procedures for - copyrights defined in the Internet Standards process must be - followed, or as required to translate it into languages other than - English. - - The limited permissions granted above are perpetual and will not be - revoked by the Internet Society or its successors or assigns. - - This document and the information contained herein is provided on an - "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING - TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION - HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF - MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. - - - - - - - - - - - - - - - - - - - - - - - - -Myers Standards Track [Page 16] - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc2245.txt.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc2245.txt.svn-base deleted file mode 100644 index 1025a90..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc2245.txt.svn-base +++ /dev/null @@ -1,283 +0,0 @@ - - - - - - -Network Working Group C. Newman -Request for Comments: 2245 Innosoft -Category: Standards Track November 1997 - - - Anonymous SASL Mechanism - -Status of this Memo - - This document specifies an Internet standards track protocol for the - Internet community, and requests discussion and suggestions for - improvements. Please refer to the current edition of the "Internet - Official Protocol Standards" (STD 1) for the standardization state - and status of this protocol. Distribution of this memo is unlimited. - -Copyright Notice - - Copyright (C) The Internet Society (1997). All Rights Reserved. - -Abstract - - It is common practice on the Internet to permit anonymous access to - various services. Traditionally, this has been done with a plain - text password mechanism using "anonymous" as the user name and - optional trace information, such as an email address, as the - password. As plaintext login commands are not permitted in new IETF - protocols, a new way to provide anonymous login is needed within the - context of the SASL [SASL] framework. - -1. Conventions Used in this Document - - The key words "MUST", "MUST NOT", "SHOULD", "SHOULD NOT", and "MAY" - in this document are to be interpreted as defined in "Key words for - use in RFCs to Indicate Requirement Levels" [KEYWORDS]. - -2. Anonymous SASL mechanism - - The mechanism name associated with anonymous access is "ANONYMOUS". - The mechanism consists of a single message from the client to the - server. The client sends optional trace information in the form of a - human readable string. The trace information should take one of - three forms: an Internet email address, an opaque string which does - not contain the '@' character and can be interpreted by the system - administrator of the client's domain, or nothing. For privacy - reasons, an Internet email address should only be used with - permission from the user. - - - - - -Newman Standards Track [Page 1] - -RFC 2245 Anonymous SASL Mechanism November 1997 - - - A server which permits anonymous access will announce support for the - ANONYMOUS mechanism, and allow anyone to log in using that mechanism, - usually with restricted access. - - The formal grammar for the client message using Augmented BNF [ABNF] - follows. - - message = [email / token] - - TCHAR = %x20-3F / %x41-7E - ;; any printable US-ASCII character except '@' - - email = addr-spec - ;; as defined in [IMAIL], except with no free - ;; insertion of linear-white-space, and the - ;; local-part MUST either be entirely enclosed in - ;; quotes or entirely unquoted - - token = 1*255TCHAR - -3. Example - - - Here is a sample anonymous login between an IMAP client and server. - In this example, "C:" and "S:" indicate lines sent by the client and - server respectively. If such lines are wrapped without a new "C:" or - "S:" label, then the wrapping is for editorial clarity and is not - part of the command. - - Note that this example uses the IMAP profile [IMAP4] of SASL. The - base64 encoding of challenges and responses, as well as the "+ " - preceding the responses are part of the IMAP4 profile, not part of - SASL itself. Newer profiles of SASL will include the client message - with the AUTHENTICATE command itself so the extra round trip below - (the server response with an empty "+ ") can be eliminated. - - In this example, the user's opaque identification token is "sirhc". - - S: * OK IMAP4 server ready - C: A001 CAPABILITY - S: * CAPABILITY IMAP4 IMAP4rev1 AUTH=CRAM-MD5 AUTH=ANONYMOUS - S: A001 OK done - C: A002 AUTHENTICATE ANONYMOUS - S: + - C: c2lyaGM= - S: A003 OK Welcome, trace information has been logged. - - - - - -Newman Standards Track [Page 2] - -RFC 2245 Anonymous SASL Mechanism November 1997 - - -4. Security Considerations - - The anonymous mechanism grants access to information by anyone. For - this reason it should be disabled by default so the administrator can - make an explicit decision to enable it. - - If the anonymous user has any write privileges, a denial of service - attack is possible by filling up all available space. This can be - prevented by disabling all write access by anonymous users. - - If anonymous users have read and write access to the same area, the - server can be used as a communication mechanism to anonymously - exchange information. Servers which accept anonymous submissions - should implement the common "drop box" model which forbids anonymous - read access to the area where anonymous submissions are accepted. - - If the anonymous user can run many expensive operations (e.g., an - IMAP SEARCH BODY command), this could enable a denial of service - attack. Servers are encouraged to limit the number of anonymous - users and reduce their priority or limit their resource usage. - - If there is no idle timeout for the anonymous user and there is a - limit on the number of anonymous users, a denial of service attack is - enabled. Servers should implement an idle timeout for anonymous - users. - - The trace information is not authenticated so it can be falsified. - This can be used as an attempt to get someone else in trouble for - access to questionable information. Administrators trying to trace - abuse need to realize this information may be falsified. - - A client which uses the user's correct email address as trace - information without explicit permission may violate that user's - privacy. Information about who accesses an anonymous archive on a - sensitive subject (e.g., sexual abuse) has strong privacy needs. - Clients should not send the email address without explicit permission - of the user and should offer the option of supplying no trace token - -- thus only exposing the source IP address and time. Anonymous - proxy servers could enhance this privacy, but would have to consider - the resulting potential denial of service attacks. - - Anonymous connections are susceptible to man in the middle attacks - which view or alter the data transferred. Clients and servers are - encouraged to support external integrity and encryption mechanisms. - - Protocols which fail to require an explicit anonymous login are more - susceptible to break-ins given certain common implementation - techniques. Specifically, Unix servers which offer user login may - - - -Newman Standards Track [Page 3] - -RFC 2245 Anonymous SASL Mechanism November 1997 - - - initially start up as root and switch to the appropriate user id - after an explicit login command. Normally such servers refuse all - data access commands prior to explicit login and may enter a - restricted security environment (e.g., the Unix chroot function) for - anonymous users. If anonymous access is not explicitly requested, - the entire data access machinery is exposed to external security - attacks without the chance for explicit protective measures. - Protocols which offer restricted data access should not allow - anonymous data access without an explicit login step. - -5. References - - [ABNF] Crocker, D. and P. Overell, "Augmented BNF for Syntax - Specifications: ABNF", RFC 2234, November 1997. - - [IMAIL] Crocker, D., "Standard for the Format of Arpa Internet Text - Messages", STD 11, RFC 822, August 1982. - - [IMAP4] Crispin, M., "Internet Message Access Protocol - Version - 4rev1", RFC 2060, December 1996. - - [KEYWORDS] Bradner, S., "Key words for use in RFCs to Indicate - Requirement Levels", RFC 2119, March 1997. - - [SASL] Myers, J., "Simple Authentication and Security Layer (SASL)", - RFC 2222, October 1997. - -6. Author's Address - - Chris Newman - Innosoft International, Inc. - 1050 Lakes Drive - West Covina, CA 91790 USA - - Email: chris.newman@innosoft.com - - - - - - - - - - - - - - - - -Newman Standards Track [Page 4] - -RFC 2245 Anonymous SASL Mechanism November 1997 - - -7. Full Copyright Statement - - Copyright (C) The Internet Society (1997). All Rights Reserved. - - This document and translations of it may be copied and furnished to - others, and derivative works that comment on or otherwise explain it - or assist in its implementation may be prepared, copied, published - and distributed, in whole or in part, without restriction of any - kind, provided that the above copyright notice and this paragraph are - included on all such copies and derivative works. However, this - document itself may not be modified in any way, such as by removing - the copyright notice or references to the Internet Society or other - Internet organizations, except as needed for the purpose of - developing Internet standards in which case the procedures for - copyrights defined in the Internet Standards process must be - followed, or as required to translate it into languages other than - English. - - The limited permissions granted above are perpetual and will not be - revoked by the Internet Society or its successors or assigns. - - This document and the information contained herein is provided on an - "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING - TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION - HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF - MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. - - - - - - - - - - - - - - - - - - - - - - - - -Newman Standards Track [Page 5] - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc2554.txt.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc2554.txt.svn-base deleted file mode 100644 index 2922dea..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc2554.txt.svn-base +++ /dev/null @@ -1,619 +0,0 @@ - - - - - - -Network Working Group J. Myers -Request for Comments: 2554 Netscape Communications -Category: Standards Track March 1999 - - - SMTP Service Extension - for Authentication - -Status of this Memo - - This document specifies an Internet standards track protocol for the - Internet community, and requests discussion and suggestions for - improvements. Please refer to the current edition of the "Internet - Official Protocol Standards" (STD 1) for the standardization state - and status of this protocol. Distribution of this memo is unlimited. - -Copyright Notice - - Copyright (C) The Internet Society (1999). All Rights Reserved. - - -1. Introduction - - This document defines an SMTP service extension [ESMTP] whereby an - SMTP client may indicate an authentication mechanism to the server, - perform an authentication protocol exchange, and optionally negotiate - a security layer for subsequent protocol interactions. This - extension is a profile of the Simple Authentication and Security - Layer [SASL]. - - -2. Conventions Used in this Document - - In examples, "C:" and "S:" indicate lines sent by the client and - server respectively. - - The key words "MUST", "MUST NOT", "SHOULD", "SHOULD NOT", and "MAY" - in this document are to be interpreted as defined in "Key words for - use in RFCs to Indicate Requirement Levels" [KEYWORDS]. - - -3. The Authentication service extension - - - (1) the name of the SMTP service extension is "Authentication" - - (2) the EHLO keyword value associated with this extension is "AUTH" - - - - -Myers Standards Track [Page 1] - -RFC 2554 SMTP Authentication March 1999 - - - (3) The AUTH EHLO keyword contains as a parameter a space separated - list of the names of supported SASL mechanisms. - - (4) a new SMTP verb "AUTH" is defined - - (5) an optional parameter using the keyword "AUTH" is added to the - MAIL FROM command, and extends the maximum line length of the - MAIL FROM command by 500 characters. - - (6) this extension is appropriate for the submission protocol - [SUBMIT]. - - -4. The AUTH command - - AUTH mechanism [initial-response] - - Arguments: - a string identifying a SASL authentication mechanism. - an optional base64-encoded response - - Restrictions: - After an AUTH command has successfully completed, no more AUTH - commands may be issued in the same session. After a successful - AUTH command completes, a server MUST reject any further AUTH - commands with a 503 reply. - - The AUTH command is not permitted during a mail transaction. - - Discussion: - The AUTH command indicates an authentication mechanism to the - server. If the server supports the requested authentication - mechanism, it performs an authentication protocol exchange to - authenticate and identify the user. Optionally, it also - negotiates a security layer for subsequent protocol - interactions. If the requested authentication mechanism is not - supported, the server rejects the AUTH command with a 504 - reply. - - The authentication protocol exchange consists of a series of - server challenges and client answers that are specific to the - authentication mechanism. A server challenge, otherwise known - as a ready response, is a 334 reply with the text part - containing a BASE64 encoded string. The client answer consists - of a line containing a BASE64 encoded string. If the client - wishes to cancel an authentication exchange, it issues a line - with a single "*". If the server receives such an answer, it - MUST reject the AUTH command by sending a 501 reply. - - - -Myers Standards Track [Page 2] - -RFC 2554 SMTP Authentication March 1999 - - - The optional initial-response argument to the AUTH command is - used to save a round trip when using authentication mechanisms - that are defined to send no data in the initial challenge. - When the initial-response argument is used with such a - mechanism, the initial empty challenge is not sent to the - client and the server uses the data in the initial-response - argument as if it were sent in response to the empty challenge. - Unlike a zero-length client answer to a 334 reply, a zero- - length initial response is sent as a single equals sign ("="). - If the client uses an initial-response argument to the AUTH - command with a mechanism that sends data in the initial - challenge, the server rejects the AUTH command with a 535 - reply. - - If the server cannot BASE64 decode the argument, it rejects the - AUTH command with a 501 reply. If the server rejects the - authentication data, it SHOULD reject the AUTH command with a - 535 reply unless a more specific error code, such as one listed - in section 6, is appropriate. Should the client successfully - complete the authentication exchange, the SMTP server issues a - 235 reply. - - The service name specified by this protocol's profile of SASL - is "smtp". - - If a security layer is negotiated through the SASL - authentication exchange, it takes effect immediately following - the CRLF that concludes the authentication exchange for the - client, and the CRLF of the success reply for the server. Upon - a security layer's taking effect, the SMTP protocol is reset to - the initial state (the state in SMTP after a server issues a - 220 service ready greeting). The server MUST discard any - knowledge obtained from the client, such as the argument to the - EHLO command, which was not obtained from the SASL negotiation - itself. The client MUST discard any knowledge obtained from - the server, such as the list of SMTP service extensions, which - was not obtained from the SASL negotiation itself (with the - exception that a client MAY compare the list of advertised SASL - mechanisms before and after authentication in order to detect - an active down-negotiation attack). The client SHOULD send an - EHLO command as the first command after a successful SASL - negotiation which results in the enabling of a security layer. - - The server is not required to support any particular - authentication mechanism, nor are authentication mechanisms - required to support any security layers. If an AUTH command - fails, the client may try another authentication mechanism by - issuing another AUTH command. - - - -Myers Standards Track [Page 3] - -RFC 2554 SMTP Authentication March 1999 - - - If an AUTH command fails, the server MUST behave the same as if - the client had not issued the AUTH command. - - The BASE64 string may in general be arbitrarily long. Clients - and servers MUST be able to support challenges and responses - that are as long as are generated by the authentication - mechanisms they support, independent of any line length - limitations the client or server may have in other parts of its - protocol implementation. - - Examples: - S: 220 smtp.example.com ESMTP server ready - C: EHLO jgm.example.com - S: 250-smtp.example.com - S: 250 AUTH CRAM-MD5 DIGEST-MD5 - C: AUTH FOOBAR - S: 504 Unrecognized authentication type. - C: AUTH CRAM-MD5 - S: 334 - PENCeUxFREJoU0NnbmhNWitOMjNGNndAZWx3b29kLmlubm9zb2Z0LmNvbT4= - C: ZnJlZCA5ZTk1YWVlMDljNDBhZjJiODRhMGMyYjNiYmFlNzg2ZQ== - S: 235 Authentication successful. - - - -5. The AUTH parameter to the MAIL FROM command - - AUTH=addr-spec - - Arguments: - An addr-spec containing the identity which submitted the message - to the delivery system, or the two character sequence "<>" - indicating such an identity is unknown or insufficiently - authenticated. To comply with the restrictions imposed on ESMTP - parameters, the addr-spec is encoded inside an xtext. The syntax - of an xtext is described in section 5 of [ESMTP-DSN]. - - Discussion: - The optional AUTH parameter to the MAIL FROM command allows - cooperating agents in a trusted environment to communicate the - authentication of individual messages. - - If the server trusts the authenticated identity of the client to - assert that the message was originally submitted by the supplied - addr-spec, then the server SHOULD supply the same addr-spec in an - AUTH parameter when relaying the message to any server which - supports the AUTH extension. - - - - -Myers Standards Track [Page 4] - -RFC 2554 SMTP Authentication March 1999 - - - A MAIL FROM parameter of AUTH=<> indicates that the original - submitter of the message is not known. The server MUST NOT treat - the message as having been originally submitted by the client. - - If the AUTH parameter to the MAIL FROM is not supplied, the - client has authenticated, and the server believes the message is - an original submission by the client, the server MAY supply the - client's identity in the addr-spec in an AUTH parameter when - relaying the message to any server which supports the AUTH - extension. - - If the server does not sufficiently trust the authenticated - identity of the client, or if the client is not authenticated, - then the server MUST behave as if the AUTH=<> parameter was - supplied. The server MAY, however, write the value of the AUTH - parameter to a log file. - - If an AUTH=<> parameter was supplied, either explicitly or due to - the requirement in the previous paragraph, then the server MUST - supply the AUTH=<> parameter when relaying the message to any - server which it has authenticated to using the AUTH extension. - - A server MAY treat expansion of a mailing list as a new - submission, setting the AUTH parameter to the mailing list - address or mailing list administration address when relaying the - message to list subscribers. - - It is conforming for an implementation to be hard-coded to treat - all clients as being insufficiently trusted. In that case, the - implementation does nothing more than parse and discard - syntactically valid AUTH parameters to the MAIL FROM command and - supply AUTH=<> parameters to any servers to which it - authenticates using the AUTH extension. - - Examples: - C: MAIL FROM: AUTH=e+3Dmc2@example.com - S: 250 OK - - - - - - - - - - - - - - -Myers Standards Track [Page 5] - -RFC 2554 SMTP Authentication March 1999 - - -6. Error Codes - - The following error codes may be used to indicate various conditions - as described. - - 432 A password transition is needed - - This response to the AUTH command indicates that the user needs to - transition to the selected authentication mechanism. This typically - done by authenticating once using the PLAIN authentication mechanism. - - 534 Authentication mechanism is too weak - - This response to the AUTH command indicates that the selected - authentication mechanism is weaker than server policy permits for - that user. - - 538 Encryption required for requested authentication mechanism - - This response to the AUTH command indicates that the selected - authentication mechanism may only be used when the underlying SMTP - connection is encrypted. - - 454 Temporary authentication failure - - This response to the AUTH command indicates that the authentication - failed due to a temporary server failure. - - 530 Authentication required - - This response may be returned by any command other than AUTH, EHLO, - HELO, NOOP, RSET, or QUIT. It indicates that server policy requires - authentication in order to perform the requested action. - - - - - - - - - - - - - - - - - - -Myers Standards Track [Page 6] - -RFC 2554 SMTP Authentication March 1999 - - -7. Formal Syntax - - The following syntax specification uses the augmented Backus-Naur - Form (BNF) notation as specified in [ABNF]. - - Except as noted otherwise, all alphabetic characters are case- - insensitive. The use of upper or lower case characters to define - token strings is for editorial clarity only. Implementations MUST - accept these strings in a case-insensitive fashion. - - UPALPHA = %x41-5A ;; Uppercase: A-Z - - LOALPHA = %x61-7A ;; Lowercase: a-z - - ALPHA = UPALPHA / LOALPHA ;; case insensitive - - DIGIT = %x30-39 ;; Digits 0-9 - - HEXDIGIT = %x41-46 / DIGIT ;; hexidecimal digit (uppercase) - - hexchar = "+" HEXDIGIT HEXDIGIT - - xchar = %x21-2A / %x2C-3C / %x3E-7E - ;; US-ASCII except for "+", "=", SPACE and CTL - - xtext = *(xchar / hexchar) - - AUTH_CHAR = ALPHA / DIGIT / "-" / "_" - - auth_type = 1*20AUTH_CHAR - - auth_command = "AUTH" SPACE auth_type [SPACE (base64 / "=")] - *(CRLF [base64]) CRLF - - auth_param = "AUTH=" xtext - ;; The decoded form of the xtext MUST be either - ;; an addr-spec or the two characters "<>" - - base64 = base64_terminal / - ( 1*(4base64_CHAR) [base64_terminal] ) - - base64_char = UPALPHA / LOALPHA / DIGIT / "+" / "/" - ;; Case-sensitive - - base64_terminal = (2base64_char "==") / (3base64_char "=") - - continue_req = "334" SPACE [base64] CRLF - - - - -Myers Standards Track [Page 7] - -RFC 2554 SMTP Authentication March 1999 - - - CR = %x0C ;; ASCII CR, carriage return - - CRLF = CR LF - - CTL = %x00-1F / %x7F ;; any ASCII control character and DEL - - LF = %x0A ;; ASCII LF, line feed - - SPACE = %x20 ;; ASCII SP, space - - - - -8. References - - [ABNF] Crocker, D. and P. Overell, "Augmented BNF for Syntax - Specifications: ABNF", RFC 2234, November 1997. - - [CRAM-MD5] Klensin, J., Catoe, R. and P. Krumviede, "IMAP/POP - AUTHorize Extension for Simple Challenge/Response", RFC - 2195, September 1997. - - [ESMTP] Klensin, J., Freed, N., Rose, M., Stefferud, E. and D. - Crocker, "SMTP Service Extensions", RFC 1869, November - 1995. - - [ESMTP-DSN] Moore, K, "SMTP Service Extension for Delivery Status - Notifications", RFC 1891, January 1996. - - [KEYWORDS] Bradner, S., "Key words for use in RFCs to Indicate - Requirement Levels", BCP 14, RFC 2119, March 1997. - - [SASL] Myers, J., "Simple Authentication and Security Layer - (SASL)", RFC 2222, October 1997. - - [SUBMIT] Gellens, R. and J. Klensin, "Message Submission", RFC - 2476, December 1998. - - [RFC821] Postel, J., "Simple Mail Transfer Protocol", STD 10, RFC - 821, August 1982. - - [RFC822] Crocker, D., "Standard for the Format of ARPA Internet - Text Messages", STD 11, RFC 822, August 1982. - - - - - - - - -Myers Standards Track [Page 8] - -RFC 2554 SMTP Authentication March 1999 - - -9. Security Considerations - - Security issues are discussed throughout this memo. - - If a client uses this extension to get an encrypted tunnel through an - insecure network to a cooperating server, it needs to be configured - to never send mail to that server when the connection is not mutually - authenticated and encrypted. Otherwise, an attacker could steal the - client's mail by hijacking the SMTP connection and either pretending - the server does not support the Authentication extension or causing - all AUTH commands to fail. - - Before the SASL negotiation has begun, any protocol interactions are - performed in the clear and may be modified by an active attacker. - For this reason, clients and servers MUST discard any knowledge - obtained prior to the start of the SASL negotiation upon completion - of a SASL negotiation which results in a security layer. - - This mechanism does not protect the TCP port, so an active attacker - may redirect a relay connection attempt to the submission port - [SUBMIT]. The AUTH=<> parameter prevents such an attack from causing - an relayed message without an envelope authentication to pick up the - authentication of the relay client. - - A message submission client may require the user to authenticate - whenever a suitable SASL mechanism is advertised. Therefore, it may - not be desirable for a submission server [SUBMIT] to advertise a SASL - mechanism when use of that mechanism grants the client no benefits - over anonymous submission. - - This extension is not intended to replace or be used instead of end- - to-end message signature and encryption systems such as S/MIME or - PGP. This extension addresses a different problem than end-to-end - systems; it has the following key differences: - - (1) it is generally useful only within a trusted enclave - - (2) it protects the entire envelope of a message, not just the - message's body. - - (3) it authenticates the message submission, not authorship of the - message content - - (4) it can give the sender some assurance the message was - delivered to the next hop in the case where the sender - mutually authenticates with the next hop and negotiates an - appropriate security layer. - - - - -Myers Standards Track [Page 9] - -RFC 2554 SMTP Authentication March 1999 - - - Additional security considerations are mentioned in the SASL - specification [SASL]. - - - -10. Author's Address - - John Gardiner Myers - Netscape Communications - 501 East Middlefield Road - Mail Stop MV-029 - Mountain View, CA 94043 - - EMail: jgmyers@netscape.com - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Myers Standards Track [Page 10] - -RFC 2554 SMTP Authentication March 1999 - - -11. Full Copyright Statement - - Copyright (C) The Internet Society (1999). All Rights Reserved. - - This document and translations of it may be copied and furnished to - others, and derivative works that comment on or otherwise explain it - or assist in its implementation may be prepared, copied, published - and distributed, in whole or in part, without restriction of any - kind, provided that the above copyright notice and this paragraph are - included on all such copies and derivative works. However, this - document itself may not be modified in any way, such as by removing - the copyright notice or references to the Internet Society or other - Internet organizations, except as needed for the purpose of - developing Internet standards in which case the procedures for - copyrights defined in the Internet Standards process must be - followed, or as required to translate it into languages other than - English. - - The limited permissions granted above are perpetual and will not be - revoked by the Internet Society or its successors or assigns. - - This document and the information contained herein is provided on an - "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING - TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION - HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF - MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. - - - - - - - - - - - - - - - - - - - - - - - - -Myers Standards Track [Page 11] - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc2821.txt.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc2821.txt.svn-base deleted file mode 100644 index 7d86152..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc2821.txt.svn-base +++ /dev/null @@ -1,4426 +0,0 @@ - - - - - -Network Working Group J. Klensin, Editor -Request for Comments: 2821 AT&T Laboratories -Obsoletes: 821, 974, 1869 April 2001 -Updates: 1123 -Category: Standards Track - - - Simple Mail Transfer Protocol - -Status of this Memo - - This document specifies an Internet standards track protocol for the - Internet community, and requests discussion and suggestions for - improvements. Please refer to the current edition of the "Internet - Official Protocol Standards" (STD 1) for the standardization state - and status of this protocol. Distribution of this memo is unlimited. - -Copyright Notice - - Copyright (C) The Internet Society (2001). All Rights Reserved. - -Abstract - - This document is a self-contained specification of the basic protocol - for the Internet electronic mail transport. It consolidates, updates - and clarifies, but doesn't add new or change existing functionality - of the following: - - - the original SMTP (Simple Mail Transfer Protocol) specification of - RFC 821 [30], - - - domain name system requirements and implications for mail - transport from RFC 1035 [22] and RFC 974 [27], - - - the clarifications and applicability statements in RFC 1123 [2], - and - - - material drawn from the SMTP Extension mechanisms [19]. - - It obsoletes RFC 821, RFC 974, and updates RFC 1123 (replaces the - mail transport materials of RFC 1123). However, RFC 821 specifies - some features that were not in significant use in the Internet by the - mid-1990s and (in appendices) some additional transport models. - Those sections are omitted here in the interest of clarity and - brevity; readers needing them should refer to RFC 821. - - - - - - -Klensin Standards Track [Page 1] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - It also includes some additional material from RFC 1123 that required - amplification. This material has been identified in multiple ways, - mostly by tracking flaming on various lists and newsgroups and - problems of unusual readings or interpretations that have appeared as - the SMTP extensions have been deployed. Where this specification - moves beyond consolidation and actually differs from earlier - documents, it supersedes them technically as well as textually. - - Although SMTP was designed as a mail transport and delivery protocol, - this specification also contains information that is important to its - use as a 'mail submission' protocol, as recommended for POP [3, 26] - and IMAP [6]. Additional submission issues are discussed in RFC 2476 - [15]. - - Section 2.3 provides definitions of terms specific to this document. - Except when the historical terminology is necessary for clarity, this - document uses the current 'client' and 'server' terminology to - identify the sending and receiving SMTP processes, respectively. - - A companion document [32] discusses message headers, message bodies - and formats and structures for them, and their relationship. - -Table of Contents - - 1. Introduction .................................................. 4 - 2. The SMTP Model ................................................ 5 - 2.1 Basic Structure .............................................. 5 - 2.2 The Extension Model .......................................... 7 - 2.2.1 Background ................................................. 7 - 2.2.2 Definition and Registration of Extensions .................. 8 - 2.3 Terminology .................................................. 9 - 2.3.1 Mail Objects ............................................... 10 - 2.3.2 Senders and Receivers ...................................... 10 - 2.3.3 Mail Agents and Message Stores ............................. 10 - 2.3.4 Host ....................................................... 11 - 2.3.5 Domain ..................................................... 11 - 2.3.6 Buffer and State Table ..................................... 11 - 2.3.7 Lines ...................................................... 12 - 2.3.8 Originator, Delivery, Relay, and Gateway Systems ........... 12 - 2.3.9 Message Content and Mail Data .............................. 13 - 2.3.10 Mailbox and Address ....................................... 13 - 2.3.11 Reply ..................................................... 13 - 2.4 General Syntax Principles and Transaction Model .............. 13 - 3. The SMTP Procedures: An Overview .............................. 15 - 3.1 Session Initiation ........................................... 15 - 3.2 Client Initiation ............................................ 16 - 3.3 Mail Transactions ............................................ 16 - 3.4 Forwarding for Address Correction or Updating ................ 19 - - - -Klensin Standards Track [Page 2] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - 3.5 Commands for Debugging Addresses ............................. 20 - 3.5.1 Overview ................................................... 20 - 3.5.2 VRFY Normal Response ....................................... 22 - 3.5.3 Meaning of VRFY or EXPN Success Response ................... 22 - 3.5.4 Semantics and Applications of EXPN ......................... 23 - 3.6 Domains ...................................................... 23 - 3.7 Relaying ..................................................... 24 - 3.8 Mail Gatewaying .............................................. 25 - 3.8.1 Header Fields in Gatewaying ................................ 26 - 3.8.2 Received Lines in Gatewaying ............................... 26 - 3.8.3 Addresses in Gatewaying .................................... 26 - 3.8.4 Other Header Fields in Gatewaying .......................... 27 - 3.8.5 Envelopes in Gatewaying .................................... 27 - 3.9 Terminating Sessions and Connections ......................... 27 - 3.10 Mailing Lists and Aliases ................................... 28 - 3.10.1 Alias ..................................................... 28 - 3.10.2 List ...................................................... 28 - 4. The SMTP Specifications ....................................... 29 - 4.1 SMTP Commands ................................................ 29 - 4.1.1 Command Semantics and Syntax ............................... 29 - 4.1.1.1 Extended HELLO (EHLO) or HELLO (HELO) ................... 29 - 4.1.1.2 MAIL (MAIL) .............................................. 31 - 4.1.1.3 RECIPIENT (RCPT) ......................................... 31 - 4.1.1.4 DATA (DATA) .............................................. 33 - 4.1.1.5 RESET (RSET) ............................................. 34 - 4.1.1.6 VERIFY (VRFY) ............................................ 35 - 4.1.1.7 EXPAND (EXPN) ............................................ 35 - 4.1.1.8 HELP (HELP) .............................................. 35 - 4.1.1.9 NOOP (NOOP) .............................................. 35 - 4.1.1.10 QUIT (QUIT) ............................................. 36 - 4.1.2 Command Argument Syntax .................................... 36 - 4.1.3 Address Literals ........................................... 38 - 4.1.4 Order of Commands .......................................... 39 - 4.1.5 Private-use Commands ....................................... 40 - 4.2 SMTP Replies ................................................ 40 - 4.2.1 Reply Code Severities and Theory ........................... 42 - 4.2.2 Reply Codes by Function Groups ............................. 44 - 4.2.3 Reply Codes in Numeric Order .............................. 45 - 4.2.4 Reply Code 502 ............................................. 46 - 4.2.5 Reply Codes After DATA and the Subsequent . .... 46 - 4.3 Sequencing of Commands and Replies ........................... 47 - 4.3.1 Sequencing Overview ........................................ 47 - 4.3.2 Command-Reply Sequences .................................... 48 - 4.4 Trace Information ............................................ 49 - 4.5 Additional Implementation Issues ............................. 53 - 4.5.1 Minimum Implementation ..................................... 53 - 4.5.2 Transparency ............................................... 53 - 4.5.3 Sizes and Timeouts ......................................... 54 - - - -Klensin Standards Track [Page 3] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - 4.5.3.1 Size limits and minimums ................................. 54 - 4.5.3.2 Timeouts ................................................. 56 - 4.5.4 Retry Strategies ........................................... 57 - 4.5.4.1 Sending Strategy ......................................... 58 - 4.5.4.2 Receiving Strategy ....................................... 59 - 4.5.5 Messages with a null reverse-path .......................... 59 - 5. Address Resolution and Mail Handling .......................... 60 - 6. Problem Detection and Handling ................................ 62 - 6.1 Reliable Delivery and Replies by Email ....................... 62 - 6.2 Loop Detection ............................................... 63 - 6.3 Compensating for Irregularities .............................. 63 - 7. Security Considerations ....................................... 64 - 7.1 Mail Security and Spoofing ................................... 64 - 7.2 "Blind" Copies ............................................... 65 - 7.3 VRFY, EXPN, and Security ..................................... 65 - 7.4 Information Disclosure in Announcements ...................... 66 - 7.5 Information Disclosure in Trace Fields ....................... 66 - 7.6 Information Disclosure in Message Forwarding ................. 67 - 7.7 Scope of Operation of SMTP Servers ........................... 67 - 8. IANA Considerations ........................................... 67 - 9. References .................................................... 68 - 10. Editor's Address ............................................. 70 - 11. Acknowledgments .............................................. 70 - Appendices ....................................................... 71 - A. TCP Transport Service ......................................... 71 - B. Generating SMTP Commands from RFC 822 Headers ................. 71 - C. Source Routes ................................................. 72 - D. Scenarios ..................................................... 73 - E. Other Gateway Issues .......................................... 76 - F. Deprecated Features of RFC 821 ................................ 76 - Full Copyright Statement ......................................... 79 - -1. Introduction - - The objective of the Simple Mail Transfer Protocol (SMTP) is to - transfer mail reliably and efficiently. - - SMTP is independent of the particular transmission subsystem and - requires only a reliable ordered data stream channel. While this - document specifically discusses transport over TCP, other transports - are possible. Appendices to RFC 821 describe some of them. - - An important feature of SMTP is its capability to transport mail - across networks, usually referred to as "SMTP mail relaying" (see - section 3.8). A network consists of the mutually-TCP-accessible - hosts on the public Internet, the mutually-TCP-accessible hosts on a - firewall-isolated TCP/IP Intranet, or hosts in some other LAN or WAN - environment utilizing a non-TCP transport-level protocol. Using - - - -Klensin Standards Track [Page 4] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - SMTP, a process can transfer mail to another process on the same - network or to some other network via a relay or gateway process - accessible to both networks. - - In this way, a mail message may pass through a number of intermediate - relay or gateway hosts on its path from sender to ultimate recipient. - The Mail eXchanger mechanisms of the domain name system [22, 27] (and - section 5 of this document) are used to identify the appropriate - next-hop destination for a message being transported. - -2. The SMTP Model - -2.1 Basic Structure - - The SMTP design can be pictured as: - - +----------+ +----------+ - +------+ | | | | - | User |<-->| | SMTP | | - +------+ | Client- |Commands/Replies| Server- | - +------+ | SMTP |<-------------->| SMTP | +------+ - | File |<-->| | and Mail | |<-->| File | - |System| | | | | |System| - +------+ +----------+ +----------+ +------+ - SMTP client SMTP server - - When an SMTP client has a message to transmit, it establishes a two- - way transmission channel to an SMTP server. The responsibility of an - SMTP client is to transfer mail messages to one or more SMTP servers, - or report its failure to do so. - - The means by which a mail message is presented to an SMTP client, and - how that client determines the domain name(s) to which mail messages - are to be transferred is a local matter, and is not addressed by this - document. In some cases, the domain name(s) transferred to, or - determined by, an SMTP client will identify the final destination(s) - of the mail message. In other cases, common with SMTP clients - associated with implementations of the POP [3, 26] or IMAP [6] - protocols, or when the SMTP client is inside an isolated transport - service environment, the domain name determined will identify an - intermediate destination through which all mail messages are to be - relayed. SMTP clients that transfer all traffic, regardless of the - target domain names associated with the individual messages, or that - do not maintain queues for retrying message transmissions that - initially cannot be completed, may otherwise conform to this - specification but are not considered fully-capable. Fully-capable - SMTP implementations, including the relays used by these less capable - - - - -Klensin Standards Track [Page 5] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - ones, and their destinations, are expected to support all of the - queuing, retrying, and alternate address functions discussed in this - specification. - - The means by which an SMTP client, once it has determined a target - domain name, determines the identity of an SMTP server to which a - copy of a message is to be transferred, and then performs that - transfer, is covered by this document. To effect a mail transfer to - an SMTP server, an SMTP client establishes a two-way transmission - channel to that SMTP server. An SMTP client determines the address - of an appropriate host running an SMTP server by resolving a - destination domain name to either an intermediate Mail eXchanger host - or a final target host. - - An SMTP server may be either the ultimate destination or an - intermediate "relay" (that is, it may assume the role of an SMTP - client after receiving the message) or "gateway" (that is, it may - transport the message further using some protocol other than SMTP). - SMTP commands are generated by the SMTP client and sent to the SMTP - server. SMTP replies are sent from the SMTP server to the SMTP - client in response to the commands. - - In other words, message transfer can occur in a single connection - between the original SMTP-sender and the final SMTP-recipient, or can - occur in a series of hops through intermediary systems. In either - case, a formal handoff of responsibility for the message occurs: the - protocol requires that a server accept responsibility for either - delivering a message or properly reporting the failure to do so. - - Once the transmission channel is established and initial handshaking - completed, the SMTP client normally initiates a mail transaction. - Such a transaction consists of a series of commands to specify the - originator and destination of the mail and transmission of the - message content (including any headers or other structure) itself. - When the same message is sent to multiple recipients, this protocol - encourages the transmission of only one copy of the data for all - recipients at the same destination (or intermediate relay) host. - - The server responds to each command with a reply; replies may - indicate that the command was accepted, that additional commands are - expected, or that a temporary or permanent error condition exists. - Commands specifying the sender or recipients may include server- - permitted SMTP service extension requests as discussed in section - 2.2. The dialog is purposely lock-step, one-at-a-time, although this - can be modified by mutually-agreed extension requests such as command - pipelining [13]. - - - - - -Klensin Standards Track [Page 6] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - Once a given mail message has been transmitted, the client may either - request that the connection be shut down or may initiate other mail - transactions. In addition, an SMTP client may use a connection to an - SMTP server for ancillary services such as verification of email - addresses or retrieval of mailing list subscriber addresses. - - As suggested above, this protocol provides mechanisms for the - transmission of mail. This transmission normally occurs directly - from the sending user's host to the receiving user's host when the - two hosts are connected to the same transport service. When they are - not connected to the same transport service, transmission occurs via - one or more relay SMTP servers. An intermediate host that acts as - either an SMTP relay or as a gateway into some other transmission - environment is usually selected through the use of the domain name - service (DNS) Mail eXchanger mechanism. - - Usually, intermediate hosts are determined via the DNS MX record, not - by explicit "source" routing (see section 5 and appendices C and - F.2). - -2.2 The Extension Model - -2.2.1 Background - - In an effort that started in 1990, approximately a decade after RFC - 821 was completed, the protocol was modified with a "service - extensions" model that permits the client and server to agree to - utilize shared functionality beyond the original SMTP requirements. - The SMTP extension mechanism defines a means whereby an extended SMTP - client and server may recognize each other, and the server can inform - the client as to the service extensions that it supports. - - Contemporary SMTP implementations MUST support the basic extension - mechanisms. For instance, servers MUST support the EHLO command even - if they do not implement any specific extensions and clients SHOULD - preferentially utilize EHLO rather than HELO. (However, for - compatibility with older conforming implementations, SMTP clients and - servers MUST support the original HELO mechanisms as a fallback.) - Unless the different characteristics of HELO must be identified for - interoperability purposes, this document discusses only EHLO. - - SMTP is widely deployed and high-quality implementations have proven - to be very robust. However, the Internet community now considers - some services to be important that were not anticipated when the - protocol was first designed. If support for those services is to be - added, it must be done in a way that permits older implementations to - continue working acceptably. The extension framework consists of: - - - - -Klensin Standards Track [Page 7] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - - The SMTP command EHLO, superseding the earlier HELO, - - - a registry of SMTP service extensions, - - - additional parameters to the SMTP MAIL and RCPT commands, and - - - optional replacements for commands defined in this protocol, such - as for DATA in non-ASCII transmissions [33]. - - SMTP's strength comes primarily from its simplicity. Experience with - many protocols has shown that protocols with few options tend towards - ubiquity, whereas protocols with many options tend towards obscurity. - - Each and every extension, regardless of its benefits, must be - carefully scrutinized with respect to its implementation, deployment, - and interoperability costs. In many cases, the cost of extending the - SMTP service will likely outweigh the benefit. - -2.2.2 Definition and Registration of Extensions - - The IANA maintains a registry of SMTP service extensions. A - corresponding EHLO keyword value is associated with each extension. - Each service extension registered with the IANA must be defined in a - formal standards-track or IESG-approved experimental protocol - document. The definition must include: - - - the textual name of the SMTP service extension; - - - the EHLO keyword value associated with the extension; - - - the syntax and possible values of parameters associated with the - EHLO keyword value; - - - any additional SMTP verbs associated with the extension - (additional verbs will usually be, but are not required to be, the - same as the EHLO keyword value); - - - any new parameters the extension associates with the MAIL or RCPT - verbs; - - - a description of how support for the extension affects the - behavior of a server and client SMTP; and, - - - the increment by which the extension is increasing the maximum - length of the commands MAIL and/or RCPT, over that specified in - this standard. - - - - - -Klensin Standards Track [Page 8] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - In addition, any EHLO keyword value starting with an upper or lower - case "X" refers to a local SMTP service extension used exclusively - through bilateral agreement. Keywords beginning with "X" MUST NOT be - used in a registered service extension. Conversely, keyword values - presented in the EHLO response that do not begin with "X" MUST - correspond to a standard, standards-track, or IESG-approved - experimental SMTP service extension registered with IANA. A - conforming server MUST NOT offer non-"X"-prefixed keyword values that - are not described in a registered extension. - - Additional verbs and parameter names are bound by the same rules as - EHLO keywords; specifically, verbs beginning with "X" are local - extensions that may not be registered or standardized. Conversely, - verbs not beginning with "X" must always be registered. - -2.3 Terminology - - The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", - "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this - document are to be interpreted as described below. - - 1. MUST This word, or the terms "REQUIRED" or "SHALL", mean that - the definition is an absolute requirement of the specification. - - 2. MUST NOT This phrase, or the phrase "SHALL NOT", mean that the - definition is an absolute prohibition of the specification. - - 3. SHOULD This word, or the adjective "RECOMMENDED", mean that - there may exist valid reasons in particular circumstances to - ignore a particular item, but the full implications must be - understood and carefully weighed before choosing a different - course. - - 4. SHOULD NOT This phrase, or the phrase "NOT RECOMMENDED" mean - that there may exist valid reasons in particular circumstances - when the particular behavior is acceptable or even useful, but the - full implications should be understood and the case carefully - weighed before implementing any behavior described with this - label. - - 5. MAY This word, or the adjective "OPTIONAL", mean that an item is - truly optional. One vendor may choose to include the item because - a particular marketplace requires it or because the vendor feels - that it enhances the product while another vendor may omit the - same item. An implementation which does not include a particular - option MUST be prepared to interoperate with another - implementation which does include the option, though perhaps with - reduced functionality. In the same vein an implementation which - - - -Klensin Standards Track [Page 9] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - does include a particular option MUST be prepared to interoperate - with another implementation which does not include the option - (except, of course, for the feature the option provides.) - -2.3.1 Mail Objects - - SMTP transports a mail object. A mail object contains an envelope - and content. - - The SMTP envelope is sent as a series of SMTP protocol units - (described in section 3). It consists of an originator address (to - which error reports should be directed); one or more recipient - addresses; and optional protocol extension material. Historically, - variations on the recipient address specification command (RCPT TO) - could be used to specify alternate delivery modes, such as immediate - display; those variations have now been deprecated (see appendix F, - section F.6). - - The SMTP content is sent in the SMTP DATA protocol unit and has two - parts: the headers and the body. If the content conforms to other - contemporary standards, the headers form a collection of field/value - pairs structured as in the message format specification [32]; the - body, if structured, is defined according to MIME [12]. The content - is textual in nature, expressed using the US-ASCII repertoire [1]. - Although SMTP extensions (such as "8BITMIME" [20]) may relax this - restriction for the content body, the content headers are always - encoded using the US-ASCII repertoire. A MIME extension [23] defines - an algorithm for representing header values outside the US-ASCII - repertoire, while still encoding them using the US-ASCII repertoire. - -2.3.2 Senders and Receivers - - In RFC 821, the two hosts participating in an SMTP transaction were - described as the "SMTP-sender" and "SMTP-receiver". This document - has been changed to reflect current industry terminology and hence - refers to them as the "SMTP client" (or sometimes just "the client") - and "SMTP server" (or just "the server"), respectively. Since a - given host may act both as server and client in a relay situation, - "receiver" and "sender" terminology is still used where needed for - clarity. - -2.3.3 Mail Agents and Message Stores - - Additional mail system terminology became common after RFC 821 was - published and, where convenient, is used in this specification. In - particular, SMTP servers and clients provide a mail transport service - and therefore act as "Mail Transfer Agents" (MTAs). "Mail User - Agents" (MUAs or UAs) are normally thought of as the sources and - - - -Klensin Standards Track [Page 10] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - targets of mail. At the source, an MUA might collect mail to be - transmitted from a user and hand it off to an MTA; the final - ("delivery") MTA would be thought of as handing the mail off to an - MUA (or at least transferring responsibility to it, e.g., by - depositing the message in a "message store"). However, while these - terms are used with at least the appearance of great precision in - other environments, the implied boundaries between MUAs and MTAs - often do not accurately match common, and conforming, practices with - Internet mail. Hence, the reader should be cautious about inferring - the strong relationships and responsibilities that might be implied - if these terms were used elsewhere. - -2.3.4 Host - - For the purposes of this specification, a host is a computer system - attached to the Internet (or, in some cases, to a private TCP/IP - network) and supporting the SMTP protocol. Hosts are known by names - (see "domain"); identifying them by numerical address is discouraged. - -2.3.5 Domain - - A domain (or domain name) consists of one or more dot-separated - components. These components ("labels" in DNS terminology [22]) are - restricted for SMTP purposes to consist of a sequence of letters, - digits, and hyphens drawn from the ASCII character set [1]. Domain - names are used as names of hosts and of other entities in the domain - name hierarchy. For example, a domain may refer to an alias (label - of a CNAME RR) or the label of Mail eXchanger records to be used to - deliver mail instead of representing a host name. See [22] and - section 5 of this specification. - - The domain name, as described in this document and in [22], is the - entire, fully-qualified name (often referred to as an "FQDN"). A - domain name that is not in FQDN form is no more than a local alias. - Local aliases MUST NOT appear in any SMTP transaction. - -2.3.6 Buffer and State Table - - SMTP sessions are stateful, with both parties carefully maintaining a - common view of the current state. In this document we model this - state by a virtual "buffer" and a "state table" on the server which - may be used by the client to, for example, "clear the buffer" or - "reset the state table," causing the information in the buffer to be - discarded and the state to be returned to some previous state. - - - - - - - -Klensin Standards Track [Page 11] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -2.3.7 Lines - - SMTP commands and, unless altered by a service extension, message - data, are transmitted in "lines". Lines consist of zero or more data - characters terminated by the sequence ASCII character "CR" (hex value - 0D) followed immediately by ASCII character "LF" (hex value 0A). - This termination sequence is denoted as in this document. - Conforming implementations MUST NOT recognize or generate any other - character or character sequence as a line terminator. Limits MAY be - imposed on line lengths by servers (see section 4.5.3). - - In addition, the appearance of "bare" "CR" or "LF" characters in text - (i.e., either without the other) has a long history of causing - problems in mail implementations and applications that use the mail - system as a tool. SMTP client implementations MUST NOT transmit - these characters except when they are intended as line terminators - and then MUST, as indicated above, transmit them only as a - sequence. - -2.3.8 Originator, Delivery, Relay, and Gateway Systems - - This specification makes a distinction among four types of SMTP - systems, based on the role those systems play in transmitting - electronic mail. An "originating" system (sometimes called an SMTP - originator) introduces mail into the Internet or, more generally, - into a transport service environment. A "delivery" SMTP system is - one that receives mail from a transport service environment and - passes it to a mail user agent or deposits it in a message store - which a mail user agent is expected to subsequently access. A - "relay" SMTP system (usually referred to just as a "relay") receives - mail from an SMTP client and transmits it, without modification to - the message data other than adding trace information, to another SMTP - server for further relaying or for delivery. - - A "gateway" SMTP system (usually referred to just as a "gateway") - receives mail from a client system in one transport environment and - transmits it to a server system in another transport environment. - Differences in protocols or message semantics between the transport - environments on either side of a gateway may require that the gateway - system perform transformations to the message that are not permitted - to SMTP relay systems. For the purposes of this specification, - firewalls that rewrite addresses should be considered as gateways, - even if SMTP is used on both sides of them (see [11]). - - - - - - - - -Klensin Standards Track [Page 12] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -2.3.9 Message Content and Mail Data - - The terms "message content" and "mail data" are used interchangeably - in this document to describe the material transmitted after the DATA - command is accepted and before the end of data indication is - transmitted. Message content includes message headers and the - possibly-structured message body. The MIME specification [12] - provides the standard mechanisms for structured message bodies. - -2.3.10 Mailbox and Address - - As used in this specification, an "address" is a character string - that identifies a user to whom mail will be sent or a location into - which mail will be deposited. The term "mailbox" refers to that - depository. The two terms are typically used interchangeably unless - the distinction between the location in which mail is placed (the - mailbox) and a reference to it (the address) is important. An - address normally consists of user and domain specifications. The - standard mailbox naming convention is defined to be "local- - part@domain": contemporary usage permits a much broader set of - applications than simple "user names". Consequently, and due to a - long history of problems when intermediate hosts have attempted to - optimize transport by modifying them, the local-part MUST be - interpreted and assigned semantics only by the host specified in the - domain part of the address. - -2.3.11 Reply - - An SMTP reply is an acknowledgment (positive or negative) sent from - receiver to sender via the transmission channel in response to a - command. The general form of a reply is a numeric completion code - (indicating failure or success) usually followed by a text string. - The codes are for use by programs and the text is usually intended - for human users. Recent work [34] has specified further structuring - of the reply strings, including the use of supplemental and more - specific completion codes. - -2.4 General Syntax Principles and Transaction Model - - SMTP commands and replies have a rigid syntax. All commands begin - with a command verb. All Replies begin with a three digit numeric - code. In some commands and replies, arguments MUST follow the verb - or reply code. Some commands do not accept arguments (after the - verb), and some reply codes are followed, sometimes optionally, by - free form text. In both cases, where text appears, it is separated - from the verb or reply code by a space character. Complete - definitions of commands and replies appear in section 4. - - - - -Klensin Standards Track [Page 13] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - Verbs and argument values (e.g., "TO:" or "to:" in the RCPT command - and extension name keywords) are not case sensitive, with the sole - exception in this specification of a mailbox local-part (SMTP - Extensions may explicitly specify case-sensitive elements). That is, - a command verb, an argument value other than a mailbox local-part, - and free form text MAY be encoded in upper case, lower case, or any - mixture of upper and lower case with no impact on its meaning. This - is NOT true of a mailbox local-part. The local-part of a mailbox - MUST BE treated as case sensitive. Therefore, SMTP implementations - MUST take care to preserve the case of mailbox local-parts. Mailbox - domains are not case sensitive. In particular, for some hosts the - user "smith" is different from the user "Smith". However, exploiting - the case sensitivity of mailbox local-parts impedes interoperability - and is discouraged. - - A few SMTP servers, in violation of this specification (and RFC 821) - require that command verbs be encoded by clients in upper case. - Implementations MAY wish to employ this encoding to accommodate those - servers. - - The argument field consists of a variable length character string - ending with the end of the line, i.e., with the character sequence - . The receiver will take no action until this sequence is - received. - - The syntax for each command is shown with the discussion of that - command. Common elements and parameters are shown in section 4.1.2. - - Commands and replies are composed of characters from the ASCII - character set [1]. When the transport service provides an 8-bit byte - (octet) transmission channel, each 7-bit character is transmitted - right justified in an octet with the high order bit cleared to zero. - More specifically, the unextended SMTP service provides seven bit - transport only. An originating SMTP client which has not - successfully negotiated an appropriate extension with a particular - server MUST NOT transmit messages with information in the high-order - bit of octets. If such messages are transmitted in violation of this - rule, receiving SMTP servers MAY clear the high-order bit or reject - the message as invalid. In general, a relay SMTP SHOULD assume that - the message content it has received is valid and, assuming that the - envelope permits doing so, relay it without inspecting that content. - Of course, if the content is mislabeled and the data path cannot - accept the actual content, this may result in ultimate delivery of a - severely garbled message to the recipient. Delivery SMTP systems MAY - reject ("bounce") such messages rather than deliver them. No sending - SMTP system is permitted to send envelope commands in any character - - - - - -Klensin Standards Track [Page 14] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - set other than US-ASCII; receiving systems SHOULD reject such - commands, normally using "500 syntax error - invalid character" - replies. - - Eight-bit message content transmission MAY be requested of the server - by a client using extended SMTP facilities, notably the "8BITMIME" - extension [20]. 8BITMIME SHOULD be supported by SMTP servers. - However, it MUST not be construed as authorization to transmit - unrestricted eight bit material. 8BITMIME MUST NOT be requested by - senders for material with the high bit on that is not in MIME format - with an appropriate content-transfer encoding; servers MAY reject - such messages. - - The metalinguistic notation used in this document corresponds to the - "Augmented BNF" used in other Internet mail system documents. The - reader who is not familiar with that syntax should consult the ABNF - specification [8]. Metalanguage terms used in running text are - surrounded by pointed brackets (e.g., ) for clarity. - -3. The SMTP Procedures: An Overview - - This section contains descriptions of the procedures used in SMTP: - session initiation, the mail transaction, forwarding mail, verifying - mailbox names and expanding mailing lists, and the opening and - closing exchanges. Comments on relaying, a note on mail domains, and - a discussion of changing roles are included at the end of this - section. Several complete scenarios are presented in appendix D. - -3.1 Session Initiation - - An SMTP session is initiated when a client opens a connection to a - server and the server responds with an opening message. - - SMTP server implementations MAY include identification of their - software and version information in the connection greeting reply - after the 220 code, a practice that permits more efficient isolation - and repair of any problems. Implementations MAY make provision for - SMTP servers to disable the software and version announcement where - it causes security concerns. While some systems also identify their - contact point for mail problems, this is not a substitute for - maintaining the required "postmaster" address (see section 4.5.1). - - The SMTP protocol allows a server to formally reject a transaction - while still allowing the initial connection as follows: a 554 - response MAY be given in the initial connection opening message - instead of the 220. A server taking this approach MUST still wait - for the client to send a QUIT (see section 4.1.1.10) before closing - the connection and SHOULD respond to any intervening commands with - - - -Klensin Standards Track [Page 15] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - "503 bad sequence of commands". Since an attempt to make an SMTP - connection to such a system is probably in error, a server returning - a 554 response on connection opening SHOULD provide enough - information in the reply text to facilitate debugging of the sending - system. - -3.2 Client Initiation - - Once the server has sent the welcoming message and the client has - received it, the client normally sends the EHLO command to the - server, indicating the client's identity. In addition to opening the - session, use of EHLO indicates that the client is able to process - service extensions and requests that the server provide a list of the - extensions it supports. Older SMTP systems which are unable to - support service extensions and contemporary clients which do not - require service extensions in the mail session being initiated, MAY - use HELO instead of EHLO. Servers MUST NOT return the extended - EHLO-style response to a HELO command. For a particular connection - attempt, if the server returns a "command not recognized" response to - EHLO, the client SHOULD be able to fall back and send HELO. - - In the EHLO command the host sending the command identifies itself; - the command may be interpreted as saying "Hello, I am " (and, - in the case of EHLO, "and I support service extension requests"). - -3.3 Mail Transactions - - There are three steps to SMTP mail transactions. The transaction - starts with a MAIL command which gives the sender identification. - (In general, the MAIL command may be sent only when no mail - transaction is in progress; see section 4.1.4.) A series of one or - more RCPT commands follows giving the receiver information. Then a - DATA command initiates transfer of the mail data and is terminated by - the "end of mail" data indicator, which also confirms the - transaction. - - The first step in the procedure is the MAIL command. - - MAIL FROM: [SP ] - - This command tells the SMTP-receiver that a new mail transaction is - starting and to reset all its state tables and buffers, including any - recipients or mail data. The portion of the first or - only argument contains the source mailbox (between "<" and ">" - brackets), which can be used to report errors (see section 4.2 for a - discussion of error reporting). If accepted, the SMTP server returns - a 250 OK reply. If the mailbox specification is not acceptable for - some reason, the server MUST return a reply indicating whether the - - - -Klensin Standards Track [Page 16] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - failure is permanent (i.e., will occur again if the client tries to - send the same address again) or temporary (i.e., the address might be - accepted if the client tries again later). Despite the apparent - scope of this requirement, there are circumstances in which the - acceptability of the reverse-path may not be determined until one or - more forward-paths (in RCPT commands) can be examined. In those - cases, the server MAY reasonably accept the reverse-path (with a 250 - reply) and then report problems after the forward-paths are received - and examined. Normally, failures produce 550 or 553 replies. - - Historically, the can contain more than just a - mailbox, however, contemporary systems SHOULD NOT use source routing - (see appendix C). - - The optional are associated with negotiated SMTP - service extensions (see section 2.2). - - The second step in the procedure is the RCPT command. - - RCPT TO: [ SP ] - - The first or only argument to this command includes a forward-path - (normally a mailbox and domain, always surrounded by "<" and ">" - brackets) identifying one recipient. If accepted, the SMTP server - returns a 250 OK reply and stores the forward-path. If the recipient - is known not to be a deliverable address, the SMTP server returns a - 550 reply, typically with a string such as "no such user - " and the - mailbox name (other circumstances and reply codes are possible). - This step of the procedure can be repeated any number of times. - - The can contain more than just a mailbox. - Historically, the can be a source routing list of - hosts and the destination mailbox, however, contemporary SMTP clients - SHOULD NOT utilize source routes (see appendix C). Servers MUST be - prepared to encounter a list of source routes in the forward path, - but SHOULD ignore the routes or MAY decline to support the relaying - they imply. Similarly, servers MAY decline to accept mail that is - destined for other hosts or systems. These restrictions make a - server useless as a relay for clients that do not support full SMTP - functionality. Consequently, restricted-capability clients MUST NOT - assume that any SMTP server on the Internet can be used as their mail - processing (relaying) site. If a RCPT command appears without a - previous MAIL command, the server MUST return a 503 "Bad sequence of - commands" response. The optional are associated - with negotiated SMTP service extensions (see section 2.2). - - The third step in the procedure is the DATA command (or some - alternative specified in a service extension). - - - -Klensin Standards Track [Page 17] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - DATA - - If accepted, the SMTP server returns a 354 Intermediate reply and - considers all succeeding lines up to but not including the end of - mail data indicator to be the message text. When the end of text is - successfully received and stored the SMTP-receiver sends a 250 OK - reply. - - Since the mail data is sent on the transmission channel, the end of - mail data must be indicated so that the command and reply dialog can - be resumed. SMTP indicates the end of the mail data by sending a - line containing only a "." (period or full stop). A transparency - procedure is used to prevent this from interfering with the user's - text (see section 4.5.2). - - The end of mail data indicator also confirms the mail transaction and - tells the SMTP server to now process the stored recipients and mail - data. If accepted, the SMTP server returns a 250 OK reply. The DATA - command can fail at only two points in the protocol exchange: - - - If there was no MAIL, or no RCPT, command, or all such commands - were rejected, the server MAY return a "command out of sequence" - (503) or "no valid recipients" (554) reply in response to the DATA - command. If one of those replies (or any other 5yz reply) is - received, the client MUST NOT send the message data; more - generally, message data MUST NOT be sent unless a 354 reply is - received. - - - If the verb is initially accepted and the 354 reply issued, the - DATA command should fail only if the mail transaction was - incomplete (for example, no recipients), or if resources were - unavailable (including, of course, the server unexpectedly - becoming unavailable), or if the server determines that the - message should be rejected for policy or other reasons. - - However, in practice, some servers do not perform recipient - verification until after the message text is received. These servers - SHOULD treat a failure for one or more recipients as a "subsequent - failure" and return a mail message as discussed in section 6. Using - a "550 mailbox not found" (or equivalent) reply code after the data - are accepted makes it difficult or impossible for the client to - determine which recipients failed. - - When RFC 822 format [7, 32] is being used, the mail data include the - memo header items such as Date, Subject, To, Cc, From. Server SMTP - systems SHOULD NOT reject messages based on perceived defects in the - RFC 822 or MIME [12] message header or message body. In particular, - - - - -Klensin Standards Track [Page 18] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - they MUST NOT reject messages in which the numbers of Resent-fields - do not match or Resent-to appears without Resent-from and/or Resent- - date. - - Mail transaction commands MUST be used in the order discussed above. - -3.4 Forwarding for Address Correction or Updating - - Forwarding support is most often required to consolidate and simplify - addresses within, or relative to, some enterprise and less frequently - to establish addresses to link a person's prior address with current - one. Silent forwarding of messages (without server notification to - the sender), for security or non-disclosure purposes, is common in - the contemporary Internet. - - In both the enterprise and the "new address" cases, information - hiding (and sometimes security) considerations argue against exposure - of the "final" address through the SMTP protocol as a side-effect of - the forwarding activity. This may be especially important when the - final address may not even be reachable by the sender. Consequently, - the "forwarding" mechanisms described in section 3.2 of RFC 821, and - especially the 251 (corrected destination) and 551 reply codes from - RCPT must be evaluated carefully by implementers and, when they are - available, by those configuring systems. - - In particular: - - * Servers MAY forward messages when they are aware of an address - change. When they do so, they MAY either provide address-updating - information with a 251 code, or may forward "silently" and return - a 250 code. But, if a 251 code is used, they MUST NOT assume that - the client will actually update address information or even return - that information to the user. - - Alternately, - - * Servers MAY reject or bounce messages when they are not - deliverable when addressed. When they do so, they MAY either - provide address-updating information with a 551 code, or may - reject the message as undeliverable with a 550 code and no - address-specific information. But, if a 551 code is used, they - MUST NOT assume that the client will actually update address - information or even return that information to the user. - - SMTP server implementations that support the 251 and/or 551 reply - codes are strongly encouraged to provide configuration mechanisms so - that sites which conclude that they would undesirably disclose - information can disable or restrict their use. - - - -Klensin Standards Track [Page 19] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -3.5 Commands for Debugging Addresses - -3.5.1 Overview - - SMTP provides commands to verify a user name or obtain the content of - a mailing list. This is done with the VRFY and EXPN commands, which - have character string arguments. Implementations SHOULD support VRFY - and EXPN (however, see section 3.5.2 and 7.3). - - For the VRFY command, the string is a user name or a user name and - domain (see below). If a normal (i.e., 250) response is returned, - the response MAY include the full name of the user and MUST include - the mailbox of the user. It MUST be in either of the following - forms: - - User Name - local-part@domain - - When a name that is the argument to VRFY could identify more than one - mailbox, the server MAY either note the ambiguity or identify the - alternatives. In other words, any of the following are legitimate - response to VRFY: - - 553 User ambiguous - - or - - 553- Ambiguous; Possibilities are - 553-Joe Smith - 553-Harry Smith - 553 Melvin Smith - - or - - 553-Ambiguous; Possibilities - 553- - 553- - 553 - - Under normal circumstances, a client receiving a 553 reply would be - expected to expose the result to the user. Use of exactly the forms - given, and the "user ambiguous" or "ambiguous" keywords, possibly - supplemented by extended reply codes such as those described in [34], - will facilitate automated translation into other languages as needed. - Of course, a client that was highly automated or that was operating - in another language than English, might choose to try to translate - the response, to return some other indication to the user than the - - - - -Klensin Standards Track [Page 20] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - literal text of the reply, or to take some automated action such as - consulting a directory service for additional information before - reporting to the user. - - For the EXPN command, the string identifies a mailing list, and the - successful (i.e., 250) multiline response MAY include the full name - of the users and MUST give the mailboxes on the mailing list. - - In some hosts the distinction between a mailing list and an alias for - a single mailbox is a bit fuzzy, since a common data structure may - hold both types of entries, and it is possible to have mailing lists - containing only one mailbox. If a request is made to apply VRFY to a - mailing list, a positive response MAY be given if a message so - addressed would be delivered to everyone on the list, otherwise an - error SHOULD be reported (e.g., "550 That is a mailing list, not a - user" or "252 Unable to verify members of mailing list"). If a - request is made to expand a user name, the server MAY return a - positive response consisting of a list containing one name, or an - error MAY be reported (e.g., "550 That is a user name, not a mailing - list"). - - In the case of a successful multiline reply (normal for EXPN) exactly - one mailbox is to be specified on each line of the reply. The case - of an ambiguous request is discussed above. - - "User name" is a fuzzy term and has been used deliberately. An - implementation of the VRFY or EXPN commands MUST include at least - recognition of local mailboxes as "user names". However, since - current Internet practice often results in a single host handling - mail for multiple domains, hosts, especially hosts that provide this - functionality, SHOULD accept the "local-part@domain" form as a "user - name"; hosts MAY also choose to recognize other strings as "user - names". - - The case of expanding a mailbox list requires a multiline reply, such - as: - - C: EXPN Example-People - S: 250-Jon Postel - S: 250-Fred Fonebone - S: 250 Sam Q. Smith - - or - - C: EXPN Executive-Washroom-List - S: 550 Access Denied to You. - - - - - -Klensin Standards Track [Page 21] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - The character string arguments of the VRFY and EXPN commands cannot - be further restricted due to the variety of implementations of the - user name and mailbox list concepts. On some systems it may be - appropriate for the argument of the EXPN command to be a file name - for a file containing a mailing list, but again there are a variety - of file naming conventions in the Internet. Similarly, historical - variations in what is returned by these commands are such that the - response SHOULD be interpreted very carefully, if at all, and SHOULD - generally only be used for diagnostic purposes. - -3.5.2 VRFY Normal Response - - When normal (2yz or 551) responses are returned from a VRFY or EXPN - request, the reply normally includes the mailbox name, i.e., - "", where "domain" is a fully qualified domain - name, MUST appear in the syntax. In circumstances exceptional enough - to justify violating the intent of this specification, free-form text - MAY be returned. In order to facilitate parsing by both computers - and people, addresses SHOULD appear in pointed brackets. When - addresses, rather than free-form debugging information, are returned, - EXPN and VRFY MUST return only valid domain addresses that are usable - in SMTP RCPT commands. Consequently, if an address implies delivery - to a program or other system, the mailbox name used to reach that - target MUST be given. Paths (explicit source routes) MUST NOT be - returned by VRFY or EXPN. - - Server implementations SHOULD support both VRFY and EXPN. For - security reasons, implementations MAY provide local installations a - way to disable either or both of these commands through configuration - options or the equivalent. When these commands are supported, they - are not required to work across relays when relaying is supported. - Since they were both optional in RFC 821, they MUST be listed as - service extensions in an EHLO response, if they are supported. - -3.5.3 Meaning of VRFY or EXPN Success Response - - A server MUST NOT return a 250 code in response to a VRFY or EXPN - command unless it has actually verified the address. In particular, - a server MUST NOT return 250 if all it has done is to verify that the - syntax given is valid. In that case, 502 (Command not implemented) - or 500 (Syntax error, command unrecognized) SHOULD be returned. As - stated elsewhere, implementation (in the sense of actually validating - addresses and returning information) of VRFY and EXPN are strongly - recommended. Hence, implementations that return 500 or 502 for VRFY - are not in full compliance with this specification. - - - - - - -Klensin Standards Track [Page 22] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - There may be circumstances where an address appears to be valid but - cannot reasonably be verified in real time, particularly when a - server is acting as a mail exchanger for another server or domain. - "Apparent validity" in this case would normally involve at least - syntax checking and might involve verification that any domains - specified were ones to which the host expected to be able to relay - mail. In these situations, reply code 252 SHOULD be returned. These - cases parallel the discussion of RCPT verification discussed in - section 2.1. Similarly, the discussion in section 3.4 applies to the - use of reply codes 251 and 551 with VRFY (and EXPN) to indicate - addresses that are recognized but that would be forwarded or bounced - were mail received for them. Implementations generally SHOULD be - more aggressive about address verification in the case of VRFY than - in the case of RCPT, even if it takes a little longer to do so. - -3.5.4 Semantics and Applications of EXPN - - EXPN is often very useful in debugging and understanding problems - with mailing lists and multiple-target-address aliases. Some systems - have attempted to use source expansion of mailing lists as a means of - eliminating duplicates. The propagation of aliasing systems with - mail on the Internet, for hosts (typically with MX and CNAME DNS - records), for mailboxes (various types of local host aliases), and in - various proxying arrangements, has made it nearly impossible for - these strategies to work consistently, and mail systems SHOULD NOT - attempt them. - -3.6 Domains - - Only resolvable, fully-qualified, domain names (FQDNs) are permitted - when domain names are used in SMTP. In other words, names that can - be resolved to MX RRs or A RRs (as discussed in section 5) are - permitted, as are CNAME RRs whose targets can be resolved, in turn, - to MX or A RRs. Local nicknames or unqualified names MUST NOT be - used. There are two exceptions to the rule requiring FQDNs: - - - The domain name given in the EHLO command MUST BE either a primary - host name (a domain name that resolves to an A RR) or, if the host - has no name, an address literal as described in section 4.1.1.1. - - - The reserved mailbox name "postmaster" may be used in a RCPT - command without domain qualification (see section 4.1.1.3) and - MUST be accepted if so used. - - - - - - - - -Klensin Standards Track [Page 23] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -3.7 Relaying - - In general, the availability of Mail eXchanger records in the domain - name system [22, 27] makes the use of explicit source routes in the - Internet mail system unnecessary. Many historical problems with - their interpretation have made their use undesirable. SMTP clients - SHOULD NOT generate explicit source routes except under unusual - circumstances. SMTP servers MAY decline to act as mail relays or to - accept addresses that specify source routes. When route information - is encountered, SMTP servers are also permitted to ignore the route - information and simply send to the final destination specified as the - last element in the route and SHOULD do so. There has been an - invalid practice of using names that do not appear in the DNS as - destination names, with the senders counting on the intermediate - hosts specified in source routing to resolve any problems. If source - routes are stripped, this practice will cause failures. This is one - of several reasons why SMTP clients MUST NOT generate invalid source - routes or depend on serial resolution of names. - - When source routes are not used, the process described in RFC 821 for - constructing a reverse-path from the forward-path is not applicable - and the reverse-path at the time of delivery will simply be the - address that appeared in the MAIL command. - - A relay SMTP server is usually the target of a DNS MX record that - designates it, rather than the final delivery system. The relay - server may accept or reject the task of relaying the mail in the same - way it accepts or rejects mail for a local user. If it accepts the - task, it then becomes an SMTP client, establishes a transmission - channel to the next SMTP server specified in the DNS (according to - the rules in section 5), and sends it the mail. If it declines to - relay mail to a particular address for policy reasons, a 550 response - SHOULD be returned. - - Many mail-sending clients exist, especially in conjunction with - facilities that receive mail via POP3 or IMAP, that have limited - capability to support some of the requirements of this specification, - such as the ability to queue messages for subsequent delivery - attempts. For these clients, it is common practice to make private - arrangements to send all messages to a single server for processing - and subsequent distribution. SMTP, as specified here, is not ideally - suited for this role, and work is underway on standardized mail - submission protocols that might eventually supercede the current - practices. In any event, because these arrangements are private and - fall outside the scope of this specification, they are not described - here. - - - - - -Klensin Standards Track [Page 24] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - It is important to note that MX records can point to SMTP servers - which act as gateways into other environments, not just SMTP relays - and final delivery systems; see sections 3.8 and 5. - - If an SMTP server has accepted the task of relaying the mail and - later finds that the destination is incorrect or that the mail cannot - be delivered for some other reason, then it MUST construct an - "undeliverable mail" notification message and send it to the - originator of the undeliverable mail (as indicated by the reverse- - path). Formats specified for non-delivery reports by other standards - (see, for example, [24, 25]) SHOULD be used if possible. - - This notification message must be from the SMTP server at the relay - host or the host that first determines that delivery cannot be - accomplished. Of course, SMTP servers MUST NOT send notification - messages about problems transporting notification messages. One way - to prevent loops in error reporting is to specify a null reverse-path - in the MAIL command of a notification message. When such a message - is transmitted the reverse-path MUST be set to null (see section - 4.5.5 for additional discussion). A MAIL command with a null - reverse-path appears as follows: - - MAIL FROM:<> - - As discussed in section 2.4.1, a relay SMTP has no need to inspect or - act upon the headers or body of the message data and MUST NOT do so - except to add its own "Received:" header (section 4.4) and, - optionally, to attempt to detect looping in the mail system (see - section 6.2). - -3.8 Mail Gatewaying - - While the relay function discussed above operates within the Internet - SMTP transport service environment, MX records or various forms of - explicit routing may require that an intermediate SMTP server perform - a translation function between one transport service and another. As - discussed in section 2.3.8, when such a system is at the boundary - between two transport service environments, we refer to it as a - "gateway" or "gateway SMTP". - - Gatewaying mail between different mail environments, such as - different mail formats and protocols, is complex and does not easily - yield to standardization. However, some general requirements may be - given for a gateway between the Internet and another mail - environment. - - - - - - -Klensin Standards Track [Page 25] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -3.8.1 Header Fields in Gatewaying - - Header fields MAY be rewritten when necessary as messages are - gatewayed across mail environment boundaries. This may involve - inspecting the message body or interpreting the local-part of the - destination address in spite of the prohibitions in section 2.4.1. - - Other mail systems gatewayed to the Internet often use a subset of - RFC 822 headers or provide similar functionality with a different - syntax, but some of these mail systems do not have an equivalent to - the SMTP envelope. Therefore, when a message leaves the Internet - environment, it may be necessary to fold the SMTP envelope - information into the message header. A possible solution would be to - create new header fields to carry the envelope information (e.g., - "X-SMTP-MAIL:" and "X-SMTP-RCPT:"); however, this would require - changes in mail programs in foreign environments and might risk - disclosure of private information (see section 7.2). - -3.8.2 Received Lines in Gatewaying - - When forwarding a message into or out of the Internet environment, a - gateway MUST prepend a Received: line, but it MUST NOT alter in any - way a Received: line that is already in the header. - - "Received:" fields of messages originating from other environments - may not conform exactly to this specification. However, the most - important use of Received: lines is for debugging mail faults, and - this debugging can be severely hampered by well-meaning gateways that - try to "fix" a Received: line. As another consequence of trace - fields arising in non-SMTP environments, receiving systems MUST NOT - reject mail based on the format of a trace field and SHOULD be - extremely robust in the light of unexpected information or formats in - those fields. - - The gateway SHOULD indicate the environment and protocol in the "via" - clauses of Received field(s) that it supplies. - -3.8.3 Addresses in Gatewaying - - From the Internet side, the gateway SHOULD accept all valid address - formats in SMTP commands and in RFC 822 headers, and all valid RFC - 822 messages. Addresses and headers generated by gateways MUST - conform to applicable Internet standards (including this one and RFC - 822). Gateways are, of course, subject to the same rules for - handling source routes as those described for other SMTP systems in - section 3.3. - - - - - -Klensin Standards Track [Page 26] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -3.8.4 Other Header Fields in Gatewaying - - The gateway MUST ensure that all header fields of a message that it - forwards into the Internet mail environment meet the requirements for - Internet mail. In particular, all addresses in "From:", "To:", - "Cc:", etc., fields MUST be transformed (if necessary) to satisfy RFC - 822 syntax, MUST reference only fully-qualified domain names, and - MUST be effective and useful for sending replies. The translation - algorithm used to convert mail from the Internet protocols to another - environment's protocol SHOULD ensure that error messages from the - foreign mail environment are delivered to the return path from the - SMTP envelope, not to the sender listed in the "From:" field (or - other fields) of the RFC 822 message. - -3.8.5 Envelopes in Gatewaying - - Similarly, when forwarding a message from another environment into - the Internet, the gateway SHOULD set the envelope return path in - accordance with an error message return address, if supplied by the - foreign environment. If the foreign environment has no equivalent - concept, the gateway must select and use a best approximation, with - the message originator's address as the default of last resort. - -3.9 Terminating Sessions and Connections - - An SMTP connection is terminated when the client sends a QUIT - command. The server responds with a positive reply code, after which - it closes the connection. - - An SMTP server MUST NOT intentionally close the connection except: - - - After receiving a QUIT command and responding with a 221 reply. - - - After detecting the need to shut down the SMTP service and - returning a 421 response code. This response code can be issued - after the server receives any command or, if necessary, - asynchronously from command receipt (on the assumption that the - client will receive it after the next command is issued). - - In particular, a server that closes connections in response to - commands that are not understood is in violation of this - specification. Servers are expected to be tolerant of unknown - commands, issuing a 500 reply and awaiting further instructions from - the client. - - - - - - - -Klensin Standards Track [Page 27] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - An SMTP server which is forcibly shut down via external means SHOULD - attempt to send a line containing a 421 response code to the SMTP - client before exiting. The SMTP client will normally read the 421 - response code after sending its next command. - - SMTP clients that experience a connection close, reset, or other - communications failure due to circumstances not under their control - (in violation of the intent of this specification but sometimes - unavoidable) SHOULD, to maintain the robustness of the mail system, - treat the mail transaction as if a 451 response had been received and - act accordingly. - -3.10 Mailing Lists and Aliases - - An SMTP-capable host SHOULD support both the alias and the list - models of address expansion for multiple delivery. When a message is - delivered or forwarded to each address of an expanded list form, the - return address in the envelope ("MAIL FROM:") MUST be changed to be - the address of a person or other entity who administers the list. - However, in this case, the message header [32] MUST be left - unchanged; in particular, the "From" field of the message header is - unaffected. - - An important mail facility is a mechanism for multi-destination - delivery of a single message, by transforming (or "expanding" or - "exploding") a pseudo-mailbox address into a list of destination - mailbox addresses. When a message is sent to such a pseudo-mailbox - (sometimes called an "exploder"), copies are forwarded or - redistributed to each mailbox in the expanded list. Servers SHOULD - simply utilize the addresses on the list; application of heuristics - or other matching rules to eliminate some addresses, such as that of - the originator, is strongly discouraged. We classify such a pseudo- - mailbox as an "alias" or a "list", depending upon the expansion - rules. - -3.10.1 Alias - - To expand an alias, the recipient mailer simply replaces the pseudo- - mailbox address in the envelope with each of the expanded addresses - in turn; the rest of the envelope and the message body are left - unchanged. The message is then delivered or forwarded to each - expanded address. - -3.10.2 List - - A mailing list may be said to operate by "redistribution" rather than - by "forwarding". To expand a list, the recipient mailer replaces the - pseudo-mailbox address in the envelope with all of the expanded - - - -Klensin Standards Track [Page 28] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - addresses. The return address in the envelope is changed so that all - error messages generated by the final deliveries will be returned to - a list administrator, not to the message originator, who generally - has no control over the contents of the list and will typically find - error messages annoying. - -4. The SMTP Specifications - -4.1 SMTP Commands - -4.1.1 Command Semantics and Syntax - - The SMTP commands define the mail transfer or the mail system - function requested by the user. SMTP commands are character strings - terminated by . The commands themselves are alphabetic - characters terminated by if parameters follow and - otherwise. (In the interest of improved interoperability, SMTP - receivers are encouraged to tolerate trailing white space before the - terminating .) The syntax of the local part of a mailbox must - conform to receiver site conventions and the syntax specified in - section 4.1.2. The SMTP commands are discussed below. The SMTP - replies are discussed in section 4.2. - - A mail transaction involves several data objects which are - communicated as arguments to different commands. The reverse-path is - the argument of the MAIL command, the forward-path is the argument of - the RCPT command, and the mail data is the argument of the DATA - command. These arguments or data objects must be transmitted and - held pending the confirmation communicated by the end of mail data - indication which finalizes the transaction. The model for this is - that distinct buffers are provided to hold the types of data objects, - that is, there is a reverse-path buffer, a forward-path buffer, and a - mail data buffer. Specific commands cause information to be appended - to a specific buffer, or cause one or more buffers to be cleared. - - Several commands (RSET, DATA, QUIT) are specified as not permitting - parameters. In the absence of specific extensions offered by the - server and accepted by the client, clients MUST NOT send such - parameters and servers SHOULD reject commands containing them as - having invalid syntax. - -4.1.1.1 Extended HELLO (EHLO) or HELLO (HELO) - - These commands are used to identify the SMTP client to the SMTP - server. The argument field contains the fully-qualified domain name - of the SMTP client if one is available. In situations in which the - SMTP client system does not have a meaningful domain name (e.g., when - its address is dynamically allocated and no reverse mapping record is - - - -Klensin Standards Track [Page 29] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - available), the client SHOULD send an address literal (see section - 4.1.3), optionally followed by information that will help to identify - the client system. y The SMTP server identifies itself to the SMTP - client in the connection greeting reply and in the response to this - command. - - A client SMTP SHOULD start an SMTP session by issuing the EHLO - command. If the SMTP server supports the SMTP service extensions it - will give a successful response, a failure response, or an error - response. If the SMTP server, in violation of this specification, - does not support any SMTP service extensions it will generate an - error response. Older client SMTP systems MAY, as discussed above, - use HELO (as specified in RFC 821) instead of EHLO, and servers MUST - support the HELO command and reply properly to it. In any event, a - client MUST issue HELO or EHLO before starting a mail transaction. - - These commands, and a "250 OK" reply to one of them, confirm that - both the SMTP client and the SMTP server are in the initial state, - that is, there is no transaction in progress and all state tables and - buffers are cleared. - - Syntax: - - ehlo = "EHLO" SP Domain CRLF - helo = "HELO" SP Domain CRLF - - Normally, the response to EHLO will be a multiline reply. Each line - of the response contains a keyword and, optionally, one or more - parameters. Following the normal syntax for multiline replies, these - keyworks follow the code (250) and a hyphen for all but the last - line, and the code and a space for the last line. The syntax for a - positive response, using the ABNF notation and terminal symbols of - [8], is: - - ehlo-ok-rsp = ( "250" domain [ SP ehlo-greet ] CRLF ) - / ( "250-" domain [ SP ehlo-greet ] CRLF - *( "250-" ehlo-line CRLF ) - "250" SP ehlo-line CRLF ) - - ehlo-greet = 1*(%d0-9 / %d11-12 / %d14-127) - ; string of any characters other than CR or LF - - ehlo-line = ehlo-keyword *( SP ehlo-param ) - - ehlo-keyword = (ALPHA / DIGIT) *(ALPHA / DIGIT / "-") - ; additional syntax of ehlo-params depends on - ; ehlo-keyword - - - - -Klensin Standards Track [Page 30] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - ehlo-param = 1*(%d33-127) - ; any CHAR excluding and all - ; control characters (US-ASCII 0-31 inclusive) - - Although EHLO keywords may be specified in upper, lower, or mixed - case, they MUST always be recognized and processed in a case- - insensitive manner. This is simply an extension of practices - specified in RFC 821 and section 2.4.1. - -4.1.1.2 MAIL (MAIL) - - This command is used to initiate a mail transaction in which the mail - data is delivered to an SMTP server which may, in turn, deliver it to - one or more mailboxes or pass it on to another system (possibly using - SMTP). The argument field contains a reverse-path and may contain - optional parameters. In general, the MAIL command may be sent only - when no mail transaction is in progress, see section 4.1.4. - - The reverse-path consists of the sender mailbox. Historically, that - mailbox might optionally have been preceded by a list of hosts, but - that behavior is now deprecated (see appendix C). In some types of - reporting messages for which a reply is likely to cause a mail loop - (for example, mail delivery and nondelivery notifications), the - reverse-path may be null (see section 3.7). - - This command clears the reverse-path buffer, the forward-path buffer, - and the mail data buffer; and inserts the reverse-path information - from this command into the reverse-path buffer. - - If service extensions were negotiated, the MAIL command may also - carry parameters associated with a particular service extension. - - Syntax: - - "MAIL FROM:" ("<>" / Reverse-Path) - [SP Mail-parameters] CRLF - -4.1.1.3 RECIPIENT (RCPT) - - This command is used to identify an individual recipient of the mail - data; multiple recipients are specified by multiple use of this - command. The argument field contains a forward-path and may contain - optional parameters. - - The forward-path normally consists of the required destination - mailbox. Sending systems SHOULD not generate the optional list of - hosts known as a source route. Receiving systems MUST recognize - - - - -Klensin Standards Track [Page 31] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - source route syntax but SHOULD strip off the source route - specification and utilize the domain name associated with the mailbox - as if the source route had not been provided. - - Similarly, relay hosts SHOULD strip or ignore source routes, and - names MUST NOT be copied into the reverse-path. When mail reaches - its ultimate destination (the forward-path contains only a - destination mailbox), the SMTP server inserts it into the destination - mailbox in accordance with its host mail conventions. - - For example, mail received at relay host xyz.com with envelope - commands - - MAIL FROM: - RCPT TO:<@hosta.int,@jkl.org:userc@d.bar.org> - - will normally be sent directly on to host d.bar.org with envelope - commands - - MAIL FROM: - RCPT TO: - - As provided in appendix C, xyz.com MAY also choose to relay the - message to hosta.int, using the envelope commands - - MAIL FROM: - RCPT TO:<@hosta.int,@jkl.org:userc@d.bar.org> - - or to jkl.org, using the envelope commands - - MAIL FROM: - RCPT TO:<@jkl.org:userc@d.bar.org> - - Of course, since hosts are not required to relay mail at all, xyz.com - may also reject the message entirely when the RCPT command is - received, using a 550 code (since this is a "policy reason"). - - If service extensions were negotiated, the RCPT command may also - carry parameters associated with a particular service extension - offered by the server. The client MUST NOT transmit parameters other - than those associated with a service extension offered by the server - in its EHLO response. - -Syntax: - "RCPT TO:" ("" / "" / Forward-Path) - [SP Rcpt-parameters] CRLF - - - - - -Klensin Standards Track [Page 32] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -4.1.1.4 DATA (DATA) - - The receiver normally sends a 354 response to DATA, and then treats - the lines (strings ending in sequences, as described in - section 2.3.7) following the command as mail data from the sender. - This command causes the mail data to be appended to the mail data - buffer. The mail data may contain any of the 128 ASCII character - codes, although experience has indicated that use of control - characters other than SP, HT, CR, and LF may cause problems and - SHOULD be avoided when possible. - - The mail data is terminated by a line containing only a period, that - is, the character sequence "." (see section 4.5.2). This - is the end of mail data indication. Note that the first of - this terminating sequence is also the that ends the final line - of the data (message text) or, if there was no data, ends the DATA - command itself. An extra MUST NOT be added, as that would - cause an empty line to be added to the message. The only exception - to this rule would arise if the message body were passed to the - originating SMTP-sender with a final "line" that did not end in - ; in that case, the originating SMTP system MUST either reject - the message as invalid or add in order to have the receiving - SMTP server recognize the "end of data" condition. - - The custom of accepting lines ending only in , as a concession to - non-conforming behavior on the part of some UNIX systems, has proven - to cause more interoperability problems than it solves, and SMTP - server systems MUST NOT do this, even in the name of improved - robustness. In particular, the sequence "." (bare line - feeds, without carriage returns) MUST NOT be treated as equivalent to - . as the end of mail data indication. - - Receipt of the end of mail data indication requires the server to - process the stored mail transaction information. This processing - consumes the information in the reverse-path buffer, the forward-path - buffer, and the mail data buffer, and on the completion of this - command these buffers are cleared. If the processing is successful, - the receiver MUST send an OK reply. If the processing fails the - receiver MUST send a failure reply. The SMTP model does not allow - for partial failures at this point: either the message is accepted by - the server for delivery and a positive response is returned or it is - not accepted and a failure reply is returned. In sending a positive - completion reply to the end of data indication, the receiver takes - full responsibility for the message (see section 6.1). Errors that - are diagnosed subsequently MUST be reported in a mail message, as - discussed in section 4.4. - - - - - -Klensin Standards Track [Page 33] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - When the SMTP server accepts a message either for relaying or for - final delivery, it inserts a trace record (also referred to - interchangeably as a "time stamp line" or "Received" line) at the top - of the mail data. This trace record indicates the identity of the - host that sent the message, the identity of the host that received - the message (and is inserting this time stamp), and the date and time - the message was received. Relayed messages will have multiple time - stamp lines. Details for formation of these lines, including their - syntax, is specified in section 4.4. - - Additional discussion about the operation of the DATA command appears - in section 3.3. - - Syntax: - "DATA" CRLF - -4.1.1.5 RESET (RSET) - - This command specifies that the current mail transaction will be - aborted. Any stored sender, recipients, and mail data MUST be - discarded, and all buffers and state tables cleared. The receiver - MUST send a "250 OK" reply to a RSET command with no arguments. A - reset command may be issued by the client at any time. It is - effectively equivalent to a NOOP (i.e., if has no effect) if issued - immediately after EHLO, before EHLO is issued in the session, after - an end-of-data indicator has been sent and acknowledged, or - immediately before a QUIT. An SMTP server MUST NOT close the - connection as the result of receiving a RSET; that action is reserved - for QUIT (see section 4.1.1.10). - - Since EHLO implies some additional processing and response by the - server, RSET will normally be more efficient than reissuing that - command, even though the formal semantics are the same. - - There are circumstances, contrary to the intent of this - specification, in which an SMTP server may receive an indication that - the underlying TCP connection has been closed or reset. To preserve - the robustness of the mail system, SMTP servers SHOULD be prepared - for this condition and SHOULD treat it as if a QUIT had been received - before the connection disappeared. - - Syntax: - "RSET" CRLF - - - - - - - - -Klensin Standards Track [Page 34] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -4.1.1.6 VERIFY (VRFY) - - This command asks the receiver to confirm that the argument - identifies a user or mailbox. If it is a user name, information is - returned as specified in section 3.5. - - This command has no effect on the reverse-path buffer, the forward- - path buffer, or the mail data buffer. - - Syntax: - "VRFY" SP String CRLF - -4.1.1.7 EXPAND (EXPN) - - This command asks the receiver to confirm that the argument - identifies a mailing list, and if so, to return the membership of - that list. If the command is successful, a reply is returned - containing information as described in section 3.5. This reply will - have multiple lines except in the trivial case of a one-member list. - - This command has no effect on the reverse-path buffer, the forward- - path buffer, or the mail data buffer and may be issued at any time. - - Syntax: - "EXPN" SP String CRLF - -4.1.1.8 HELP (HELP) - - This command causes the server to send helpful information to the - client. The command MAY take an argument (e.g., any command name) - and return more specific information as a response. - - This command has no effect on the reverse-path buffer, the forward- - path buffer, or the mail data buffer and may be issued at any time. - - SMTP servers SHOULD support HELP without arguments and MAY support it - with arguments. - - Syntax: - "HELP" [ SP String ] CRLF - -4.1.1.9 NOOP (NOOP) - - This command does not affect any parameters or previously entered - commands. It specifies no action other than that the receiver send - an OK reply. - - - - - -Klensin Standards Track [Page 35] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - This command has no effect on the reverse-path buffer, the forward- - path buffer, or the mail data buffer and may be issued at any time. - If a parameter string is specified, servers SHOULD ignore it. - - Syntax: - "NOOP" [ SP String ] CRLF - -4.1.1.10 QUIT (QUIT) - - This command specifies that the receiver MUST send an OK reply, and - then close the transmission channel. - - The receiver MUST NOT intentionally close the transmission channel - until it receives and replies to a QUIT command (even if there was an - error). The sender MUST NOT intentionally close the transmission - channel until it sends a QUIT command and SHOULD wait until it - receives the reply (even if there was an error response to a previous - command). If the connection is closed prematurely due to violations - of the above or system or network failure, the server MUST cancel any - pending transaction, but not undo any previously completed - transaction, and generally MUST act as if the command or transaction - in progress had received a temporary error (i.e., a 4yz response). - - The QUIT command may be issued at any time. - - Syntax: - "QUIT" CRLF - -4.1.2 Command Argument Syntax - - The syntax of the argument fields of the above commands (using the - syntax specified in [8] where applicable) is given below. Some of - the productions given below are used only in conjunction with source - routes as described in appendix C. Terminals not defined in this - document, such as ALPHA, DIGIT, SP, CR, LF, CRLF, are as defined in - the "core" syntax [8 (section 6)] or in the message format syntax - [32]. - - Reverse-path = Path - Forward-path = Path - Path = "<" [ A-d-l ":" ] Mailbox ">" - A-d-l = At-domain *( "," A-d-l ) - ; Note that this form, the so-called "source route", - ; MUST BE accepted, SHOULD NOT be generated, and SHOULD be - ; ignored. - At-domain = "@" domain - Mail-parameters = esmtp-param *(SP esmtp-param) - Rcpt-parameters = esmtp-param *(SP esmtp-param) - - - -Klensin Standards Track [Page 36] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - esmtp-param = esmtp-keyword ["=" esmtp-value] - esmtp-keyword = (ALPHA / DIGIT) *(ALPHA / DIGIT / "-") - esmtp-value = 1*(%d33-60 / %d62-127) - ; any CHAR excluding "=", SP, and control characters - Keyword = Ldh-str - Argument = Atom - Domain = (sub-domain 1*("." sub-domain)) / address-literal - sub-domain = Let-dig [Ldh-str] - - address-literal = "[" IPv4-address-literal / - IPv6-address-literal / - General-address-literal "]" - ; See section 4.1.3 - - Mailbox = Local-part "@" Domain - - Local-part = Dot-string / Quoted-string - ; MAY be case-sensitive - - Dot-string = Atom *("." Atom) - - Atom = 1*atext - - Quoted-string = DQUOTE *qcontent DQUOTE - - String = Atom / Quoted-string - - While the above definition for Local-part is relatively permissive, - for maximum interoperability, a host that expects to receive mail - SHOULD avoid defining mailboxes where the Local-part requires (or - uses) the Quoted-string form or where the Local-part is case- - sensitive. For any purposes that require generating or comparing - Local-parts (e.g., to specific mailbox names), all quoted forms MUST - be treated as equivalent and the sending system SHOULD transmit the - form that uses the minimum quoting possible. - - Systems MUST NOT define mailboxes in such a way as to require the use - in SMTP of non-ASCII characters (octets with the high order bit set - to one) or ASCII "control characters" (decimal value 0-31 and 127). - These characters MUST NOT be used in MAIL or RCPT commands or other - commands that require mailbox names. - - Note that the backslash, "\", is a quote character, which is used to - indicate that the next character is to be used literally (instead of - its normal interpretation). For example, "Joe\,Smith" indicates a - single nine character user field with the comma being the fourth - character of the field. - - - - -Klensin Standards Track [Page 37] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - To promote interoperability and consistent with long-standing - guidance about conservative use of the DNS in naming and applications - (e.g., see section 2.3.1 of the base DNS document, RFC1035 [22]), - characters outside the set of alphas, digits, and hyphen MUST NOT - appear in domain name labels for SMTP clients or servers. In - particular, the underscore character is not permitted. SMTP servers - that receive a command in which invalid character codes have been - employed, and for which there are no other reasons for rejection, - MUST reject that command with a 501 response. - -4.1.3 Address Literals - - Sometimes a host is not known to the domain name system and - communication (and, in particular, communication to report and repair - the error) is blocked. To bypass this barrier a special literal form - of the address is allowed as an alternative to a domain name. For - IPv4 addresses, this form uses four small decimal integers separated - by dots and enclosed by brackets such as [123.255.37.2], which - indicates an (IPv4) Internet Address in sequence-of-octets form. For - IPv6 and other forms of addressing that might eventually be - standardized, the form consists of a standardized "tag" that - identifies the address syntax, a colon, and the address itself, in a - format specified as part of the IPv6 standards [17]. - - Specifically: - - IPv4-address-literal = Snum 3("." Snum) - IPv6-address-literal = "IPv6:" IPv6-addr - General-address-literal = Standardized-tag ":" 1*dcontent - Standardized-tag = Ldh-str - ; MUST be specified in a standards-track RFC - ; and registered with IANA - - Snum = 1*3DIGIT ; representing a decimal integer - ; value in the range 0 through 255 - Let-dig = ALPHA / DIGIT - Ldh-str = *( ALPHA / DIGIT / "-" ) Let-dig - - IPv6-addr = IPv6-full / IPv6-comp / IPv6v4-full / IPv6v4-comp - IPv6-hex = 1*4HEXDIG - IPv6-full = IPv6-hex 7(":" IPv6-hex) - IPv6-comp = [IPv6-hex *5(":" IPv6-hex)] "::" [IPv6-hex *5(":" - IPv6-hex)] - ; The "::" represents at least 2 16-bit groups of zeros - ; No more than 6 groups in addition to the "::" may be - ; present - IPv6v4-full = IPv6-hex 5(":" IPv6-hex) ":" IPv4-address-literal - IPv6v4-comp = [IPv6-hex *3(":" IPv6-hex)] "::" - - - -Klensin Standards Track [Page 38] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - [IPv6-hex *3(":" IPv6-hex) ":"] IPv4-address-literal - ; The "::" represents at least 2 16-bit groups of zeros - ; No more than 4 groups in addition to the "::" and - ; IPv4-address-literal may be present - -4.1.4 Order of Commands - - There are restrictions on the order in which these commands may be - used. - - A session that will contain mail transactions MUST first be - initialized by the use of the EHLO command. An SMTP server SHOULD - accept commands for non-mail transactions (e.g., VRFY or EXPN) - without this initialization. - - An EHLO command MAY be issued by a client later in the session. If - it is issued after the session begins, the SMTP server MUST clear all - buffers and reset the state exactly as if a RSET command had been - issued. In other words, the sequence of RSET followed immediately by - EHLO is redundant, but not harmful other than in the performance cost - of executing unnecessary commands. - - If the EHLO command is not acceptable to the SMTP server, 501, 500, - or 502 failure replies MUST be returned as appropriate. The SMTP - server MUST stay in the same state after transmitting these replies - that it was in before the EHLO was received. - - The SMTP client MUST, if possible, ensure that the domain parameter - to the EHLO command is a valid principal host name (not a CNAME or MX - name) for its host. If this is not possible (e.g., when the client's - address is dynamically assigned and the client does not have an - obvious name), an address literal SHOULD be substituted for the - domain name and supplemental information provided that will assist in - identifying the client. - - An SMTP server MAY verify that the domain name parameter in the EHLO - command actually corresponds to the IP address of the client. - However, the server MUST NOT refuse to accept a message for this - reason if the verification fails: the information about verification - failure is for logging and tracing only. - - The NOOP, HELP, EXPN, VRFY, and RSET commands can be used at any time - during a session, or without previously initializing a session. SMTP - servers SHOULD process these normally (that is, not return a 503 - code) even if no EHLO command has yet been received; clients SHOULD - open a session with EHLO before sending these commands. - - - - - -Klensin Standards Track [Page 39] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - If these rules are followed, the example in RFC 821 that shows "550 - access denied to you" in response to an EXPN command is incorrect - unless an EHLO command precedes the EXPN or the denial of access is - based on the client's IP address or other authentication or - authorization-determining mechanisms. - - The MAIL command (or the obsolete SEND, SOML, or SAML commands) - begins a mail transaction. Once started, a mail transaction consists - of a transaction beginning command, one or more RCPT commands, and a - DATA command, in that order. A mail transaction may be aborted by - the RSET (or a new EHLO) command. There may be zero or more - transactions in a session. MAIL (or SEND, SOML, or SAML) MUST NOT be - sent if a mail transaction is already open, i.e., it should be sent - only if no mail transaction had been started in the session, or it - the previous one successfully concluded with a successful DATA - command, or if the previous one was aborted with a RSET. - - If the transaction beginning command argument is not acceptable, a - 501 failure reply MUST be returned and the SMTP server MUST stay in - the same state. If the commands in a transaction are out of order to - the degree that they cannot be processed by the server, a 503 failure - reply MUST be returned and the SMTP server MUST stay in the same - state. - - The last command in a session MUST be the QUIT command. The QUIT - command cannot be used at any other time in a session, but SHOULD be - used by the client SMTP to request connection closure, even when no - session opening command was sent and accepted. - -4.1.5 Private-use Commands - - As specified in section 2.2.2, commands starting in "X" may be used - by bilateral agreement between the client (sending) and server - (receiving) SMTP agents. An SMTP server that does not recognize such - a command is expected to reply with "500 Command not recognized". An - extended SMTP server MAY list the feature names associated with these - private commands in the response to the EHLO command. - - Commands sent or accepted by SMTP systems that do not start with "X" - MUST conform to the requirements of section 2.2.2. - -4.2 SMTP Replies - - Replies to SMTP commands serve to ensure the synchronization of - requests and actions in the process of mail transfer and to guarantee - that the SMTP client always knows the state of the SMTP server. - Every command MUST generate exactly one reply. - - - - -Klensin Standards Track [Page 40] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - The details of the command-reply sequence are described in section - 4.3. - - An SMTP reply consists of a three digit number (transmitted as three - numeric characters) followed by some text unless specified otherwise - in this document. The number is for use by automata to determine - what state to enter next; the text is for the human user. The three - digits contain enough encoded information that the SMTP client need - not examine the text and may either discard it or pass it on to the - user, as appropriate. Exceptions are as noted elsewhere in this - document. In particular, the 220, 221, 251, 421, and 551 reply codes - are associated with message text that must be parsed and interpreted - by machines. In the general case, the text may be receiver dependent - and context dependent, so there are likely to be varying texts for - each reply code. A discussion of the theory of reply codes is given - in section 4.2.1. Formally, a reply is defined to be the sequence: a - three-digit code, , one line of text, and , or a multiline - reply (as defined in section 4.2.1). Since, in violation of this - specification, the text is sometimes not sent, clients which do not - receive it SHOULD be prepared to process the code alone (with or - without a trailing space character). Only the EHLO, EXPN, and HELP - commands are expected to result in multiline replies in normal - circumstances, however, multiline replies are allowed for any - command. - - In ABNF, server responses are: - - Greeting = "220 " Domain [ SP text ] CRLF - Reply-line = Reply-code [ SP text ] CRLF - - where "Greeting" appears only in the 220 response that announces that - the server is opening its part of the connection. - - An SMTP server SHOULD send only the reply codes listed in this - document. An SMTP server SHOULD use the text shown in the examples - whenever appropriate. - - An SMTP client MUST determine its actions only by the reply code, not - by the text (except for the "change of address" 251 and 551 and, if - necessary, 220, 221, and 421 replies); in the general case, any text, - including no text at all (although senders SHOULD NOT send bare - codes), MUST be acceptable. The space (blank) following the reply - code is considered part of the text. Whenever possible, a receiver- - SMTP SHOULD test the first digit (severity indication) of the reply - code. - - - - - - -Klensin Standards Track [Page 41] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - The list of codes that appears below MUST NOT be construed as - permanent. While the addition of new codes should be a rare and - significant activity, with supplemental information in the textual - part of the response being preferred, new codes may be added as the - result of new Standards or Standards-track specifications. - Consequently, a sender-SMTP MUST be prepared to handle codes not - specified in this document and MUST do so by interpreting the first - digit only. - -4.2.1 Reply Code Severities and Theory - - The three digits of the reply each have a special significance. The - first digit denotes whether the response is good, bad or incomplete. - An unsophisticated SMTP client, or one that receives an unexpected - code, will be able to determine its next action (proceed as planned, - redo, retrench, etc.) by examining this first digit. An SMTP client - that wants to know approximately what kind of error occurred (e.g., - mail system error, command syntax error) may examine the second - digit. The third digit and any supplemental information that may be - present is reserved for the finest gradation of information. - - There are five values for the first digit of the reply code: - - 1yz Positive Preliminary reply - The command has been accepted, but the requested action is being - held in abeyance, pending confirmation of the information in this - reply. The SMTP client should send another command specifying - whether to continue or abort the action. Note: unextended SMTP - does not have any commands that allow this type of reply, and so - does not have continue or abort commands. - - 2yz Positive Completion reply - The requested action has been successfully completed. A new - request may be initiated. - - 3yz Positive Intermediate reply - The command has been accepted, but the requested action is being - held in abeyance, pending receipt of further information. The - SMTP client should send another command specifying this - information. This reply is used in command sequence groups (i.e., - in DATA). - - 4yz Transient Negative Completion reply - The command was not accepted, and the requested action did not - occur. However, the error condition is temporary and the action - may be requested again. The sender should return to the beginning - of the command sequence (if any). It is difficult to assign a - meaning to "transient" when two different sites (receiver- and - - - -Klensin Standards Track [Page 42] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - sender-SMTP agents) must agree on the interpretation. Each reply - in this category might have a different time value, but the SMTP - client is encouraged to try again. A rule of thumb to determine - whether a reply fits into the 4yz or the 5yz category (see below) - is that replies are 4yz if they can be successful if repeated - without any change in command form or in properties of the sender - or receiver (that is, the command is repeated identically and the - receiver does not put up a new implementation.) - - 5yz Permanent Negative Completion reply - The command was not accepted and the requested action did not - occur. The SMTP client is discouraged from repeating the exact - request (in the same sequence). Even some "permanent" error - conditions can be corrected, so the human user may want to direct - the SMTP client to reinitiate the command sequence by direct - action at some point in the future (e.g., after the spelling has - been changed, or the user has altered the account status). - - The second digit encodes responses in specific categories: - - x0z Syntax: These replies refer to syntax errors, syntactically - correct commands that do not fit any functional category, and - unimplemented or superfluous commands. - - x1z Information: These are replies to requests for information, - such as status or help. - - x2z Connections: These are replies referring to the transmission - channel. - - x3z Unspecified. - - x4z Unspecified. - - x5z Mail system: These replies indicate the status of the receiver - mail system vis-a-vis the requested transfer or other mail system - action. - - The third digit gives a finer gradation of meaning in each category - specified by the second digit. The list of replies illustrates this. - Each reply text is recommended rather than mandatory, and may even - change according to the command with which it is associated. On the - other hand, the reply codes must strictly follow the specifications - in this section. Receiver implementations should not invent new - codes for slightly different situations from the ones described here, - but rather adapt codes already defined. - - - - - -Klensin Standards Track [Page 43] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - For example, a command such as NOOP, whose successful execution does - not offer the SMTP client any new information, will return a 250 - reply. The reply is 502 when the command requests an unimplemented - non-site-specific action. A refinement of that is the 504 reply for - a command that is implemented, but that requests an unimplemented - parameter. - - The reply text may be longer than a single line; in these cases the - complete text must be marked so the SMTP client knows when it can - stop reading the reply. This requires a special format to indicate a - multiple line reply. - - The format for multiline replies requires that every line, except the - last, begin with the reply code, followed immediately by a hyphen, - "-" (also known as minus), followed by text. The last line will - begin with the reply code, followed immediately by , optionally - some text, and . As noted above, servers SHOULD send the - if subsequent text is not sent, but clients MUST be prepared for it - to be omitted. - - For example: - - 123-First line - 123-Second line - 123-234 text beginning with numbers - 123 The last line - - In many cases the SMTP client then simply needs to search for a line - beginning with the reply code followed by or and ignore - all preceding lines. In a few cases, there is important data for the - client in the reply "text". The client will be able to identify - these cases from the current context. - -4.2.2 Reply Codes by Function Groups - - 500 Syntax error, command unrecognized - (This may include errors such as command line too long) - 501 Syntax error in parameters or arguments - 502 Command not implemented (see section 4.2.4) - 503 Bad sequence of commands - 504 Command parameter not implemented - - 211 System status, or system help reply - 214 Help message - (Information on how to use the receiver or the meaning of a - particular non-standard command; this reply is useful only - to the human user) - - - - -Klensin Standards Track [Page 44] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - 220 Service ready - 221 Service closing transmission channel - 421 Service not available, closing transmission channel - (This may be a reply to any command if the service knows it - must shut down) - - 250 Requested mail action okay, completed - 251 User not local; will forward to - (See section 3.4) - 252 Cannot VRFY user, but will accept message and attempt - delivery - (See section 3.5.3) - 450 Requested mail action not taken: mailbox unavailable - (e.g., mailbox busy) - 550 Requested action not taken: mailbox unavailable - (e.g., mailbox not found, no access, or command rejected - for policy reasons) - 451 Requested action aborted: error in processing - 551 User not local; please try - (See section 3.4) - 452 Requested action not taken: insufficient system storage - 552 Requested mail action aborted: exceeded storage allocation - 553 Requested action not taken: mailbox name not allowed - (e.g., mailbox syntax incorrect) - 354 Start mail input; end with . - 554 Transaction failed (Or, in the case of a connection-opening - response, "No SMTP service here") - -4.2.3 Reply Codes in Numeric Order - - 211 System status, or system help reply - 214 Help message - (Information on how to use the receiver or the meaning of a - particular non-standard command; this reply is useful only - to the human user) - 220 Service ready - 221 Service closing transmission channel - 250 Requested mail action okay, completed - 251 User not local; will forward to - (See section 3.4) - 252 Cannot VRFY user, but will accept message and attempt - delivery - (See section 3.5.3) - - 354 Start mail input; end with . - - - - - - -Klensin Standards Track [Page 45] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - 421 Service not available, closing transmission channel - (This may be a reply to any command if the service knows it - must shut down) - 450 Requested mail action not taken: mailbox unavailable - (e.g., mailbox busy) - 451 Requested action aborted: local error in processing - 452 Requested action not taken: insufficient system storage - 500 Syntax error, command unrecognized - (This may include errors such as command line too long) - 501 Syntax error in parameters or arguments - 502 Command not implemented (see section 4.2.4) - 503 Bad sequence of commands - 504 Command parameter not implemented - 550 Requested action not taken: mailbox unavailable - (e.g., mailbox not found, no access, or command rejected - for policy reasons) - 551 User not local; please try - (See section 3.4) - 552 Requested mail action aborted: exceeded storage allocation - 553 Requested action not taken: mailbox name not allowed - (e.g., mailbox syntax incorrect) - 554 Transaction failed (Or, in the case of a connection-opening - response, "No SMTP service here") - -4.2.4 Reply Code 502 - - Questions have been raised as to when reply code 502 (Command not - implemented) SHOULD be returned in preference to other codes. 502 - SHOULD be used when the command is actually recognized by the SMTP - server, but not implemented. If the command is not recognized, code - 500 SHOULD be returned. Extended SMTP systems MUST NOT list - capabilities in response to EHLO for which they will return 502 (or - 500) replies. - -4.2.5 Reply Codes After DATA and the Subsequent . - - When an SMTP server returns a positive completion status (2yz code) - after the DATA command is completed with ., it accepts - responsibility for: - - - delivering the message (if the recipient mailbox exists), or - - - if attempts to deliver the message fail due to transient - conditions, retrying delivery some reasonable number of times at - intervals as specified in section 4.5.4. - - - - - - -Klensin Standards Track [Page 46] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - - if attempts to deliver the message fail due to permanent - conditions, or if repeated attempts to deliver the message fail - due to transient conditions, returning appropriate notification to - the sender of the original message (using the address in the SMTP - MAIL command). - - When an SMTP server returns a permanent error status (5yz) code after - the DATA command is completed with ., it MUST NOT make - any subsequent attempt to deliver that message. The SMTP client - retains responsibility for delivery of that message and may either - return it to the user or requeue it for a subsequent attempt (see - section 4.5.4.1). - - The user who originated the message SHOULD be able to interpret the - return of a transient failure status (by mail message or otherwise) - as a non-delivery indication, just as a permanent failure would be - interpreted. I.e., if the client SMTP successfully handles these - conditions, the user will not receive such a reply. - - When an SMTP server returns a permanent error status (5yz) code after - the DATA command is completely with ., it MUST NOT make - any subsequent attempt to deliver the message. As with temporary - error status codes, the SMTP client retains responsibility for the - message, but SHOULD not again attempt delivery to the same server - without user review and intervention of the message. - -4.3 Sequencing of Commands and Replies - -4.3.1 Sequencing Overview - - The communication between the sender and receiver is an alternating - dialogue, controlled by the sender. As such, the sender issues a - command and the receiver responds with a reply. Unless other - arrangements are negotiated through service extensions, the sender - MUST wait for this response before sending further commands. - - One important reply is the connection greeting. Normally, a receiver - will send a 220 "Service ready" reply when the connection is - completed. The sender SHOULD wait for this greeting message before - sending any commands. - - Note: all the greeting-type replies have the official name (the - fully-qualified primary domain name) of the server host as the first - word following the reply code. Sometimes the host will have no - meaningful name. See 4.1.3 for a discussion of alternatives in these - situations. - - - - - -Klensin Standards Track [Page 47] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - For example, - - 220 ISIF.USC.EDU Service ready - or - 220 mail.foo.com SuperSMTP v 6.1.2 Service ready - or - 220 [10.0.0.1] Clueless host service ready - - The table below lists alternative success and failure replies for - each command. These SHOULD be strictly adhered to: a receiver may - substitute text in the replies, but the meaning and action implied by - the code numbers and by the specific command reply sequence cannot be - altered. - -4.3.2 Command-Reply Sequences - - Each command is listed with its usual possible replies. The prefixes - used before the possible replies are "I" for intermediate, "S" for - success, and "E" for error. Since some servers may generate other - replies under special circumstances, and to allow for future - extension, SMTP clients SHOULD, when possible, interpret only the - first digit of the reply and MUST be prepared to deal with - unrecognized reply codes by interpreting the first digit only. - Unless extended using the mechanisms described in section 2.2, SMTP - servers MUST NOT transmit reply codes to an SMTP client that are - other than three digits or that do not start in a digit between 2 and - 5 inclusive. - - These sequencing rules and, in principle, the codes themselves, can - be extended or modified by SMTP extensions offered by the server and - accepted (requested) by the client. - - In addition to the codes listed below, any SMTP command can return - any of the following codes if the corresponding unusual circumstances - are encountered: - - 500 For the "command line too long" case or if the command name was - not recognized. Note that producing a "command not recognized" - error in response to the required subset of these commands is a - violation of this specification. - - 501 Syntax error in command or arguments. In order to provide for - future extensions, commands that are specified in this document as - not accepting arguments (DATA, RSET, QUIT) SHOULD return a 501 - message if arguments are supplied in the absence of EHLO- - advertised extensions. - - 421 Service shutting down and closing transmission channel - - - -Klensin Standards Track [Page 48] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - Specific sequences are: - - CONNECTION ESTABLISHMENT - S: 220 - E: 554 - EHLO or HELO - S: 250 - E: 504, 550 - MAIL - S: 250 - E: 552, 451, 452, 550, 553, 503 - RCPT - S: 250, 251 (but see section 3.4 for discussion of 251 and 551) - E: 550, 551, 552, 553, 450, 451, 452, 503, 550 - DATA - I: 354 -> data -> S: 250 - E: 552, 554, 451, 452 - E: 451, 554, 503 - RSET - S: 250 - VRFY - S: 250, 251, 252 - E: 550, 551, 553, 502, 504 - EXPN - S: 250, 252 - E: 550, 500, 502, 504 - HELP - S: 211, 214 - E: 502, 504 - NOOP - S: 250 - QUIT - S: 221 - -4.4 Trace Information - - When an SMTP server receives a message for delivery or further - processing, it MUST insert trace ("time stamp" or "Received") - information at the beginning of the message content, as discussed in - section 4.1.1.4. - - This line MUST be structured as follows: - - - The FROM field, which MUST be supplied in an SMTP environment, - SHOULD contain both (1) the name of the source host as presented - in the EHLO command and (2) an address literal containing the IP - address of the source, determined from the TCP connection. - - - - -Klensin Standards Track [Page 49] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - - The ID field MAY contain an "@" as suggested in RFC 822, but this - is not required. - - - The FOR field MAY contain a list of entries when multiple - RCPT commands have been given. This may raise some security - issues and is usually not desirable; see section 7.2. - - An Internet mail program MUST NOT change a Received: line that was - previously added to the message header. SMTP servers MUST prepend - Received lines to messages; they MUST NOT change the order of - existing lines or insert Received lines in any other location. - - As the Internet grows, comparability of Received fields is important - for detecting problems, especially slow relays. SMTP servers that - create Received fields SHOULD use explicit offsets in the dates - (e.g., -0800), rather than time zone names of any type. Local time - (with an offset) is preferred to UT when feasible. This formulation - allows slightly more information about local circumstances to be - specified. If UT is needed, the receiver need merely do some simple - arithmetic to convert the values. Use of UT loses information about - the time zone-location of the server. If it is desired to supply a - time zone name, it SHOULD be included in a comment. - - When the delivery SMTP server makes the "final delivery" of a - message, it inserts a return-path line at the beginning of the mail - data. This use of return-path is required; mail systems MUST support - it. The return-path line preserves the information in the from the MAIL command. Here, final delivery means the message - has left the SMTP environment. Normally, this would mean it had been - delivered to the destination user or an associated mail drop, but in - some cases it may be further processed and transmitted by another - mail system. - - It is possible for the mailbox in the return path to be different - from the actual sender's mailbox, for example, if error responses are - to be delivered to a special error handling mailbox rather than to - the message sender. When mailing lists are involved, this - arrangement is common and useful as a means of directing errors to - the list maintainer rather than the message originator. - - The text above implies that the final mail data will begin with a - return path line, followed by one or more time stamp lines. These - lines will be followed by the mail data headers and body [32]. - - It is sometimes difficult for an SMTP server to determine whether or - not it is making final delivery since forwarding or other operations - may occur after the message is accepted for delivery. Consequently, - - - - -Klensin Standards Track [Page 50] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - any further (forwarding, gateway, or relay) systems MAY remove the - return path and rebuild the MAIL command as needed to ensure that - exactly one such line appears in a delivered message. - - A message-originating SMTP system SHOULD NOT send a message that - already contains a Return-path header. SMTP servers performing a - relay function MUST NOT inspect the message data, and especially not - to the extent needed to determine if Return-path headers are present. - SMTP servers making final delivery MAY remove Return-path headers - before adding their own. - - The primary purpose of the Return-path is to designate the address to - which messages indicating non-delivery or other mail system failures - are to be sent. For this to be unambiguous, exactly one return path - SHOULD be present when the message is delivered. Systems using RFC - 822 syntax with non-SMTP transports SHOULD designate an unambiguous - address, associated with the transport envelope, to which error - reports (e.g., non-delivery messages) should be sent. - - Historical note: Text in RFC 822 that appears to contradict the use - of the Return-path header (or the envelope reverse path address from - the MAIL command) as the destination for error messages is not - applicable on the Internet. The reverse path address (as copied into - the Return-path) MUST be used as the target of any mail containing - delivery error messages. - - In particular: - - - a gateway from SMTP->elsewhere SHOULD insert a return-path header, - unless it is known that the "elsewhere" transport also uses - Internet domain addresses and maintains the envelope sender - address separately. - - - a gateway from elsewhere->SMTP SHOULD delete any return-path - header present in the message, and either copy that information to - the SMTP envelope or combine it with information present in the - envelope of the other transport system to construct the reverse - path argument to the MAIL command in the SMTP envelope. - - The server must give special treatment to cases in which the - processing following the end of mail data indication is only - partially successful. This could happen if, after accepting several - recipients and the mail data, the SMTP server finds that the mail - data could be successfully delivered to some, but not all, of the - recipients. In such cases, the response to the DATA command MUST be - an OK reply. However, the SMTP server MUST compose and send an - "undeliverable mail" notification message to the originator of the - message. - - - -Klensin Standards Track [Page 51] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - A single notification listing all of the failed recipients or - separate notification messages MUST be sent for each failed - recipient. For economy of processing by the sender, the former is - preferred when possible. All undeliverable mail notification - messages are sent using the MAIL command (even if they result from - processing the obsolete SEND, SOML, or SAML commands) and use a null - return path as discussed in section 3.7. - - The time stamp line and the return path line are formally defined as - follows: - -Return-path-line = "Return-Path:" FWS Reverse-path - -Time-stamp-line = "Received:" FWS Stamp - -Stamp = From-domain By-domain Opt-info ";" FWS date-time - - ; where "date-time" is as defined in [32] - ; but the "obs-" forms, especially two-digit - ; years, are prohibited in SMTP and MUST NOT be used. - -From-domain = "FROM" FWS Extended-Domain CFWS - -By-domain = "BY" FWS Extended-Domain CFWS - -Extended-Domain = Domain / - ( Domain FWS "(" TCP-info ")" ) / - ( Address-literal FWS "(" TCP-info ")" ) - -TCP-info = Address-literal / ( Domain FWS Address-literal ) - ; Information derived by server from TCP connection - ; not client EHLO. - -Opt-info = [Via] [With] [ID] [For] - -Via = "VIA" FWS Link CFWS - -With = "WITH" FWS Protocol CFWS - -ID = "ID" FWS String / msg-id CFWS - -For = "FOR" FWS 1*( Path / Mailbox ) CFWS - -Link = "TCP" / Addtl-Link -Addtl-Link = Atom - ; Additional standard names for links are registered with the - ; Internet Assigned Numbers Authority (IANA). "Via" is - ; primarily of value with non-Internet transports. SMTP - - - -Klensin Standards Track [Page 52] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - ; servers SHOULD NOT use unregistered names. -Protocol = "ESMTP" / "SMTP" / Attdl-Protocol -Attdl-Protocol = Atom - ; Additional standard names for protocols are registered with the - ; Internet Assigned Numbers Authority (IANA). SMTP servers - ; SHOULD NOT use unregistered names. - -4.5 Additional Implementation Issues - -4.5.1 Minimum Implementation - - In order to make SMTP workable, the following minimum implementation - is required for all receivers. The following commands MUST be - supported to conform to this specification: - - EHLO - HELO - MAIL - RCPT - DATA - RSET - NOOP - QUIT - VRFY - - Any system that includes an SMTP server supporting mail relaying or - delivery MUST support the reserved mailbox "postmaster" as a case- - insensitive local name. This postmaster address is not strictly - necessary if the server always returns 554 on connection opening (as - described in section 3.1). The requirement to accept mail for - postmaster implies that RCPT commands which specify a mailbox for - postmaster at any of the domains for which the SMTP server provides - mail service, as well as the special case of "RCPT TO:" - (with no domain specification), MUST be supported. - - SMTP systems are expected to make every reasonable effort to accept - mail directed to Postmaster from any other system on the Internet. - In extreme cases --such as to contain a denial of service attack or - other breach of security-- an SMTP server may block mail directed to - Postmaster. However, such arrangements SHOULD be narrowly tailored - so as to avoid blocking messages which are not part of such attacks. - -4.5.2 Transparency - - Without some provision for data transparency, the character sequence - "." ends the mail text and cannot be sent by the user. - In general, users are not aware of such "forbidden" sequences. To - - - - -Klensin Standards Track [Page 53] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - allow all user composed text to be transmitted transparently, the - following procedures are used: - - - Before sending a line of mail text, the SMTP client checks the - first character of the line. If it is a period, one additional - period is inserted at the beginning of the line. - - - When a line of mail text is received by the SMTP server, it checks - the line. If the line is composed of a single period, it is - treated as the end of mail indicator. If the first character is a - period and there are other characters on the line, the first - character is deleted. - - The mail data may contain any of the 128 ASCII characters. All - characters are to be delivered to the recipient's mailbox, including - spaces, vertical and horizontal tabs, and other control characters. - If the transmission channel provides an 8-bit byte (octet) data - stream, the 7-bit ASCII codes are transmitted right justified in the - octets, with the high order bits cleared to zero. See 3.7 for - special treatment of these conditions in SMTP systems serving a relay - function. - - In some systems it may be necessary to transform the data as it is - received and stored. This may be necessary for hosts that use a - different character set than ASCII as their local character set, that - store data in records rather than strings, or which use special - character sequences as delimiters inside mailboxes. If such - transformations are necessary, they MUST be reversible, especially if - they are applied to mail being relayed. - -4.5.3 Sizes and Timeouts - -4.5.3.1 Size limits and minimums - - There are several objects that have required minimum/maximum sizes. - Every implementation MUST be able to receive objects of at least - these sizes. Objects larger than these sizes SHOULD be avoided when - possible. However, some Internet mail constructs such as encoded - X.400 addresses [16] will often require larger objects: clients MAY - attempt to transmit these, but MUST be prepared for a server to - reject them if they cannot be handled by it. To the maximum extent - possible, implementation techniques which impose no limits on the - length of these objects should be used. - - local-part - The maximum total length of a user name or other local-part is 64 - characters. - - - - -Klensin Standards Track [Page 54] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - domain - The maximum total length of a domain name or number is 255 - characters. - - path - The maximum total length of a reverse-path or forward-path is 256 - characters (including the punctuation and element separators). - - command line - The maximum total length of a command line including the command - word and the is 512 characters. SMTP extensions may be - used to increase this limit. - - reply line - The maximum total length of a reply line including the reply code - and the is 512 characters. More information may be - conveyed through multiple-line replies. - - text line - The maximum total length of a text line including the is - 1000 characters (not counting the leading dot duplicated for - transparency). This number may be increased by the use of SMTP - Service Extensions. - - message content - The maximum total length of a message content (including any - message headers as well as the message body) MUST BE at least 64K - octets. Since the introduction of Internet standards for - multimedia mail [12], message lengths on the Internet have grown - dramatically, and message size restrictions should be avoided if - at all possible. SMTP server systems that must impose - restrictions SHOULD implement the "SIZE" service extension [18], - and SMTP client systems that will send large messages SHOULD - utilize it when possible. - - recipients buffer - The minimum total number of recipients that must be buffered is - 100 recipients. Rejection of messages (for excessive recipients) - with fewer than 100 RCPT commands is a violation of this - specification. The general principle that relaying SMTP servers - MUST NOT, and delivery SMTP servers SHOULD NOT, perform validation - tests on message headers suggests that rejecting a message based - on the total number of recipients shown in header fields is to be - discouraged. A server which imposes a limit on the number of - recipients MUST behave in an orderly fashion, such as to reject - additional addresses over its limit rather than silently - discarding addresses previously accepted. A client that needs to - - - - -Klensin Standards Track [Page 55] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - deliver a message containing over 100 RCPT commands SHOULD be - prepared to transmit in 100-recipient "chunks" if the server - declines to accept more than 100 recipients in a single message. - - Errors due to exceeding these limits may be reported by using the - reply codes. Some examples of reply codes are: - - 500 Line too long. - or - 501 Path too long - or - 452 Too many recipients (see below) - or - 552 Too much mail data. - - RFC 821 [30] incorrectly listed the error where an SMTP server - exhausts its implementation limit on the number of RCPT commands - ("too many recipients") as having reply code 552. The correct reply - code for this condition is 452. Clients SHOULD treat a 552 code in - this case as a temporary, rather than permanent, failure so the logic - below works. - - When a conforming SMTP server encounters this condition, it has at - least 100 successful RCPT commands in its recipients buffer. If the - server is able to accept the message, then at least these 100 - addresses will be removed from the SMTP client's queue. When the - client attempts retransmission of those addresses which received 452 - responses, at least 100 of these will be able to fit in the SMTP - server's recipients buffer. Each retransmission attempt which is - able to deliver anything will be able to dispose of at least 100 of - these recipients. - - If an SMTP server has an implementation limit on the number of RCPT - commands and this limit is exhausted, it MUST use a response code of - 452 (but the client SHOULD also be prepared for a 552, as noted - above). If the server has a configured site-policy limitation on the - number of RCPT commands, it MAY instead use a 5XX response code. - This would be most appropriate if the policy limitation was intended - to apply if the total recipient count for a particular message body - were enforced even if that message body was sent in multiple mail - transactions. - -4.5.3.2 Timeouts - - An SMTP client MUST provide a timeout mechanism. It MUST use per- - command timeouts rather than somehow trying to time the entire mail - transaction. Timeouts SHOULD be easily reconfigurable, preferably - without recompiling the SMTP code. To implement this, a timer is set - - - -Klensin Standards Track [Page 56] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - for each SMTP command and for each buffer of the data transfer. The - latter means that the overall timeout is inherently proportional to - the size of the message. - - Based on extensive experience with busy mail-relay hosts, the minimum - per-command timeout values SHOULD be as follows: - - Initial 220 Message: 5 minutes - An SMTP client process needs to distinguish between a failed TCP - connection and a delay in receiving the initial 220 greeting - message. Many SMTP servers accept a TCP connection but delay - delivery of the 220 message until their system load permits more - mail to be processed. - - MAIL Command: 5 minutes - - RCPT Command: 5 minutes - A longer timeout is required if processing of mailing lists and - aliases is not deferred until after the message was accepted. - - DATA Initiation: 2 minutes - This is while awaiting the "354 Start Input" reply to a DATA - command. - - Data Block: 3 minutes - This is while awaiting the completion of each TCP SEND call - transmitting a chunk of data. - - DATA Termination: 10 minutes. - This is while awaiting the "250 OK" reply. When the receiver gets - the final period terminating the message data, it typically - performs processing to deliver the message to a user mailbox. A - spurious timeout at this point would be very wasteful and would - typically result in delivery of multiple copies of the message, - since it has been successfully sent and the server has accepted - responsibility for delivery. See section 6.1 for additional - discussion. - - An SMTP server SHOULD have a timeout of at least 5 minutes while it - is awaiting the next command from the sender. - -4.5.4 Retry Strategies - - The common structure of a host SMTP implementation includes user - mailboxes, one or more areas for queuing messages in transit, and one - or more daemon processes for sending and receiving mail. The exact - structure will vary depending on the needs of the users on the host - - - - -Klensin Standards Track [Page 57] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - and the number and size of mailing lists supported by the host. We - describe several optimizations that have proved helpful, particularly - for mailers supporting high traffic levels. - - Any queuing strategy MUST include timeouts on all activities on a - per-command basis. A queuing strategy MUST NOT send error messages - in response to error messages under any circumstances. - -4.5.4.1 Sending Strategy - - The general model for an SMTP client is one or more processes that - periodically attempt to transmit outgoing mail. In a typical system, - the program that composes a message has some method for requesting - immediate attention for a new piece of outgoing mail, while mail that - cannot be transmitted immediately MUST be queued and periodically - retried by the sender. A mail queue entry will include not only the - message itself but also the envelope information. - - The sender MUST delay retrying a particular destination after one - attempt has failed. In general, the retry interval SHOULD be at - least 30 minutes; however, more sophisticated and variable strategies - will be beneficial when the SMTP client can determine the reason for - non-delivery. - - Retries continue until the message is transmitted or the sender gives - up; the give-up time generally needs to be at least 4-5 days. The - parameters to the retry algorithm MUST be configurable. - - A client SHOULD keep a list of hosts it cannot reach and - corresponding connection timeouts, rather than just retrying queued - mail items. - - Experience suggests that failures are typically transient (the target - system or its connection has crashed), favoring a policy of two - connection attempts in the first hour the message is in the queue, - and then backing off to one every two or three hours. - - The SMTP client can shorten the queuing delay in cooperation with the - SMTP server. For example, if mail is received from a particular - address, it is likely that mail queued for that host can now be sent. - Application of this principle may, in many cases, eliminate the - requirement for an explicit "send queues now" function such as ETRN - [9]. - - The strategy may be further modified as a result of multiple - addresses per host (see below) to optimize delivery time vs. resource - usage. - - - - -Klensin Standards Track [Page 58] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - An SMTP client may have a large queue of messages for each - unavailable destination host. If all of these messages were retried - in every retry cycle, there would be excessive Internet overhead and - the sending system would be blocked for a long period. Note that an - SMTP client can generally determine that a delivery attempt has - failed only after a timeout of several minutes and even a one-minute - timeout per connection will result in a very large delay if retries - are repeated for dozens, or even hundreds, of queued messages to the - same host. - - At the same time, SMTP clients SHOULD use great care in caching - negative responses from servers. In an extreme case, if EHLO is - issued multiple times during the same SMTP connection, different - answers may be returned by the server. More significantly, 5yz - responses to the MAIL command MUST NOT be cached. - - When a mail message is to be delivered to multiple recipients, and - the SMTP server to which a copy of the message is to be sent is the - same for multiple recipients, then only one copy of the message - SHOULD be transmitted. That is, the SMTP client SHOULD use the - command sequence: MAIL, RCPT, RCPT,... RCPT, DATA instead of the - sequence: MAIL, RCPT, DATA, ..., MAIL, RCPT, DATA. However, if there - are very many addresses, a limit on the number of RCPT commands per - MAIL command MAY be imposed. Implementation of this efficiency - feature is strongly encouraged. - - Similarly, to achieve timely delivery, the SMTP client MAY support - multiple concurrent outgoing mail transactions. However, some limit - may be appropriate to protect the host from devoting all its - resources to mail. - -4.5.4.2 Receiving Strategy - - The SMTP server SHOULD attempt to keep a pending listen on the SMTP - port at all times. This requires the support of multiple incoming - TCP connections for SMTP. Some limit MAY be imposed but servers that - cannot handle more than one SMTP transaction at a time are not in - conformance with the intent of this specification. - - As discussed above, when the SMTP server receives mail from a - particular host address, it could activate its own SMTP queuing - mechanisms to retry any mail pending for that host address. - -4.5.5 Messages with a null reverse-path - - There are several types of notification messages which are required - by existing and proposed standards to be sent with a null reverse - path, namely non-delivery notifications as discussed in section 3.7, - - - -Klensin Standards Track [Page 59] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - other kinds of Delivery Status Notifications (DSNs) [24], and also - Message Disposition Notifications (MDNs) [10]. All of these kinds of - messages are notifications about a previous message, and they are - sent to the reverse-path of the previous mail message. (If the - delivery of such a notification message fails, that usually indicates - a problem with the mail system of the host to which the notification - message is addressed. For this reason, at some hosts the MTA is set - up to forward such failed notification messages to someone who is - able to fix problems with the mail system, e.g., via the postmaster - alias.) - - All other types of messages (i.e., any message which is not required - by a standards-track RFC to have a null reverse-path) SHOULD be sent - with with a valid, non-null reverse-path. - - Implementors of automated email processors should be careful to make - sure that the various kinds of messages with null reverse-path are - handled correctly, in particular such systems SHOULD NOT reply to - messages with null reverse-path. - -5. Address Resolution and Mail Handling - - Once an SMTP client lexically identifies a domain to which mail will - be delivered for processing (as described in sections 3.6 and 3.7), a - DNS lookup MUST be performed to resolve the domain name [22]. The - names are expected to be fully-qualified domain names (FQDNs): - mechanisms for inferring FQDNs from partial names or local aliases - are outside of this specification and, due to a history of problems, - are generally discouraged. The lookup first attempts to locate an MX - record associated with the name. If a CNAME record is found instead, - the resulting name is processed as if it were the initial name. If - no MX records are found, but an A RR is found, the A RR is treated as - if it was associated with an implicit MX RR, with a preference of 0, - pointing to that host. If one or more MX RRs are found for a given - name, SMTP systems MUST NOT utilize any A RRs associated with that - name unless they are located using the MX RRs; the "implicit MX" rule - above applies only if there are no MX records present. If MX records - are present, but none of them are usable, this situation MUST be - reported as an error. - - When the lookup succeeds, the mapping can result in a list of - alternative delivery addresses rather than a single address, because - of multiple MX records, multihoming, or both. To provide reliable - mail transmission, the SMTP client MUST be able to try (and retry) - each of the relevant addresses in this list in order, until a - delivery attempt succeeds. However, there MAY also be a configurable - limit on the number of alternate addresses that can be tried. In any - case, the SMTP client SHOULD try at least two addresses. - - - -Klensin Standards Track [Page 60] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - Two types of information is used to rank the host addresses: multiple - MX records, and multihomed hosts. - - Multiple MX records contain a preference indication that MUST be used - in sorting (see below). Lower numbers are more preferred than higher - ones. If there are multiple destinations with the same preference - and there is no clear reason to favor one (e.g., by recognition of an - easily-reached address), then the sender-SMTP MUST randomize them to - spread the load across multiple mail exchangers for a specific - organization. - - The destination host (perhaps taken from the preferred MX record) may - be multihomed, in which case the domain name resolver will return a - list of alternative IP addresses. It is the responsibility of the - domain name resolver interface to have ordered this list by - decreasing preference if necessary, and SMTP MUST try them in the - order presented. - - Although the capability to try multiple alternative addresses is - required, specific installations may want to limit or disable the use - of alternative addresses. The question of whether a sender should - attempt retries using the different addresses of a multihomed host - has been controversial. The main argument for using the multiple - addresses is that it maximizes the probability of timely delivery, - and indeed sometimes the probability of any delivery; the counter- - argument is that it may result in unnecessary resource use. Note - that resource use is also strongly determined by the sending strategy - discussed in section 4.5.4.1. - - If an SMTP server receives a message with a destination for which it - is a designated Mail eXchanger, it MAY relay the message (potentially - after having rewritten the MAIL FROM and/or RCPT TO addresses), make - final delivery of the message, or hand it off using some mechanism - outside the SMTP-provided transport environment. Of course, neither - of the latter require that the list of MX records be examined - further. - - If it determines that it should relay the message without rewriting - the address, it MUST sort the MX records to determine candidates for - delivery. The records are first ordered by preference, with the - lowest-numbered records being most preferred. The relay host MUST - then inspect the list for any of the names or addresses by which it - might be known in mail transactions. If a matching record is found, - all records at that preference level and higher-numbered ones MUST be - discarded from consideration. If there are no records left at that - point, it is an error condition, and the message MUST be returned as - undeliverable. If records do remain, they SHOULD be tried, best - preference first, as described above. - - - -Klensin Standards Track [Page 61] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -6. Problem Detection and Handling - -6.1 Reliable Delivery and Replies by Email - - When the receiver-SMTP accepts a piece of mail (by sending a "250 OK" - message in response to DATA), it is accepting responsibility for - delivering or relaying the message. It must take this responsibility - seriously. It MUST NOT lose the message for frivolous reasons, such - as because the host later crashes or because of a predictable - resource shortage. - - If there is a delivery failure after acceptance of a message, the - receiver-SMTP MUST formulate and mail a notification message. This - notification MUST be sent using a null ("<>") reverse path in the - envelope. The recipient of this notification MUST be the address - from the envelope return path (or the Return-Path: line). However, - if this address is null ("<>"), the receiver-SMTP MUST NOT send a - notification. Obviously, nothing in this section can or should - prohibit local decisions (i.e., as part of the same system - environment as the receiver-SMTP) to log or otherwise transmit - information about null address events locally if that is desired. If - the address is an explicit source route, it MUST be stripped down to - its final hop. - - For example, suppose that an error notification must be sent for a - message that arrived with: - - MAIL FROM:<@a,@b:user@d> - - The notification message MUST be sent using: - - RCPT TO: - - Some delivery failures after the message is accepted by SMTP will be - unavoidable. For example, it may be impossible for the receiving - SMTP server to validate all the delivery addresses in RCPT command(s) - due to a "soft" domain system error, because the target is a mailing - list (see earlier discussion of RCPT), or because the server is - acting as a relay and has no immediate access to the delivering - system. - - To avoid receiving duplicate messages as the result of timeouts, a - receiver-SMTP MUST seek to minimize the time required to respond to - the final . end of data indicator. See RFC 1047 [28] for - a discussion of this problem. - - - - - - -Klensin Standards Track [Page 62] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -6.2 Loop Detection - - Simple counting of the number of "Received:" headers in a message has - proven to be an effective, although rarely optimal, method of - detecting loops in mail systems. SMTP servers using this technique - SHOULD use a large rejection threshold, normally at least 100 - Received entries. Whatever mechanisms are used, servers MUST contain - provisions for detecting and stopping trivial loops. - -6.3 Compensating for Irregularities - - Unfortunately, variations, creative interpretations, and outright - violations of Internet mail protocols do occur; some would suggest - that they occur quite frequently. The debate as to whether a well- - behaved SMTP receiver or relay should reject a malformed message, - attempt to pass it on unchanged, or attempt to repair it to increase - the odds of successful delivery (or subsequent reply) began almost - with the dawn of structured network mail and shows no signs of - abating. Advocates of rejection claim that attempted repairs are - rarely completely adequate and that rejection of bad messages is the - only way to get the offending software repaired. Advocates of - "repair" or "deliver no matter what" argue that users prefer that - mail go through it if at all possible and that there are significant - market pressures in that direction. In practice, these market - pressures may be more important to particular vendors than strict - conformance to the standards, regardless of the preference of the - actual developers. - - The problems associated with ill-formed messages were exacerbated by - the introduction of the split-UA mail reading protocols [3, 26, 5, - 21]. These protocols have encouraged the use of SMTP as a posting - protocol, and SMTP servers as relay systems for these client hosts - (which are often only intermittently connected to the Internet). - Historically, many of those client machines lacked some of the - mechanisms and information assumed by SMTP (and indeed, by the mail - format protocol [7]). Some could not keep adequate track of time; - others had no concept of time zones; still others could not identify - their own names or addresses; and, of course, none could satisfy the - assumptions that underlay RFC 822's conception of authenticated - addresses. - - In response to these weak SMTP clients, many SMTP systems now - complete messages that are delivered to them in incomplete or - incorrect form. This strategy is generally considered appropriate - when the server can identify or authenticate the client, and there - are prior agreements between them. By contrast, there is at best - great concern about fixes applied by a relay or delivery SMTP server - that has little or no knowledge of the user or client machine. - - - -Klensin Standards Track [Page 63] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - The following changes to a message being processed MAY be applied - when necessary by an originating SMTP server, or one used as the - target of SMTP as an initial posting protocol: - - - Addition of a message-id field when none appears - - - Addition of a date, time or time zone when none appears - - - Correction of addresses to proper FQDN format - - The less information the server has about the client, the less likely - these changes are to be correct and the more caution and conservatism - should be applied when considering whether or not to perform fixes - and how. These changes MUST NOT be applied by an SMTP server that - provides an intermediate relay function. - - In all cases, properly-operating clients supplying correct - information are preferred to corrections by the SMTP server. In all - cases, documentation of actions performed by the servers (in trace - fields and/or header comments) is strongly encouraged. - -7. Security Considerations - -7.1 Mail Security and Spoofing - - SMTP mail is inherently insecure in that it is feasible for even - fairly casual users to negotiate directly with receiving and relaying - SMTP servers and create messages that will trick a naive recipient - into believing that they came from somewhere else. Constructing such - a message so that the "spoofed" behavior cannot be detected by an - expert is somewhat more difficult, but not sufficiently so as to be a - deterrent to someone who is determined and knowledgeable. - Consequently, as knowledge of Internet mail increases, so does the - knowledge that SMTP mail inherently cannot be authenticated, or - integrity checks provided, at the transport level. Real mail - security lies only in end-to-end methods involving the message - bodies, such as those which use digital signatures (see [14] and, - e.g., PGP [4] or S/MIME [31]). - - Various protocol extensions and configuration options that provide - authentication at the transport level (e.g., from an SMTP client to - an SMTP server) improve somewhat on the traditional situation - described above. However, unless they are accompanied by careful - handoffs of responsibility in a carefully-designed trust environment, - they remain inherently weaker than end-to-end mechanisms which use - digitally signed messages rather than depending on the integrity of - the transport system. - - - - -Klensin Standards Track [Page 64] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - Efforts to make it more difficult for users to set envelope return - path and header "From" fields to point to valid addresses other than - their own are largely misguided: they frustrate legitimate - applications in which mail is sent by one user on behalf of another - or in which error (or normal) replies should be directed to a special - address. (Systems that provide convenient ways for users to alter - these fields on a per-message basis should attempt to establish a - primary and permanent mailbox address for the user so that Sender - fields within the message data can be generated sensibly.) - - This specification does not further address the authentication issues - associated with SMTP other than to advocate that useful functionality - not be disabled in the hope of providing some small margin of - protection against an ignorant user who is trying to fake mail. - -7.2 "Blind" Copies - - Addresses that do not appear in the message headers may appear in the - RCPT commands to an SMTP server for a number of reasons. The two - most common involve the use of a mailing address as a "list exploder" - (a single address that resolves into multiple addresses) and the - appearance of "blind copies". Especially when more than one RCPT - command is present, and in order to avoid defeating some of the - purpose of these mechanisms, SMTP clients and servers SHOULD NOT copy - the full set of RCPT command arguments into the headers, either as - part of trace headers or as informational or private-extension - headers. Since this rule is often violated in practice, and cannot - be enforced, sending SMTP systems that are aware of "bcc" use MAY - find it helpful to send each blind copy as a separate message - transaction containing only a single RCPT command. - - There is no inherent relationship between either "reverse" (from - MAIL, SAML, etc., commands) or "forward" (RCPT) addresses in the SMTP - transaction ("envelope") and the addresses in the headers. Receiving - systems SHOULD NOT attempt to deduce such relationships and use them - to alter the headers of the message for delivery. The popular - "Apparently-to" header is a violation of this principle as well as a - common source of unintended information disclosure and SHOULD NOT be - used. - -7.3 VRFY, EXPN, and Security - - As discussed in section 3.5, individual sites may want to disable - either or both of VRFY or EXPN for security reasons. As a corollary - to the above, implementations that permit this MUST NOT appear to - have verified addresses that are not, in fact, verified. If a site - - - - - -Klensin Standards Track [Page 65] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - disables these commands for security reasons, the SMTP server MUST - return a 252 response, rather than a code that could be confused with - successful or unsuccessful verification. - - Returning a 250 reply code with the address listed in the VRFY - command after having checked it only for syntax violates this rule. - Of course, an implementation that "supports" VRFY by always returning - 550 whether or not the address is valid is equally not in - conformance. - - Within the last few years, the contents of mailing lists have become - popular as an address information source for so-called "spammers." - The use of EXPN to "harvest" addresses has increased as list - administrators have installed protections against inappropriate uses - of the lists themselves. Implementations SHOULD still provide - support for EXPN, but sites SHOULD carefully evaluate the tradeoffs. - As authentication mechanisms are introduced into SMTP, some sites may - choose to make EXPN available only to authenticated requestors. - -7.4 Information Disclosure in Announcements - - There has been an ongoing debate about the tradeoffs between the - debugging advantages of announcing server type and version (and, - sometimes, even server domain name) in the greeting response or in - response to the HELP command and the disadvantages of exposing - information that might be useful in a potential hostile attack. The - utility of the debugging information is beyond doubt. Those who - argue for making it available point out that it is far better to - actually secure an SMTP server rather than hope that trying to - conceal known vulnerabilities by hiding the server's precise identity - will provide more protection. Sites are encouraged to evaluate the - tradeoff with that issue in mind; implementations are strongly - encouraged to minimally provide for making type and version - information available in some way to other network hosts. - -7.5 Information Disclosure in Trace Fields - - In some circumstances, such as when mail originates from within a LAN - whose hosts are not directly on the public Internet, trace - ("Received") fields produced in conformance with this specification - may disclose host names and similar information that would not - normally be available. This ordinarily does not pose a problem, but - sites with special concerns about name disclosure should be aware of - it. Also, the optional FOR clause should be supplied with caution or - not at all when multiple recipients are involved lest it - inadvertently disclose the identities of "blind copy" recipients to - others. - - - - -Klensin Standards Track [Page 66] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -7.6 Information Disclosure in Message Forwarding - - As discussed in section 3.4, use of the 251 or 551 reply codes to - identify the replacement address associated with a mailbox may - inadvertently disclose sensitive information. Sites that are - concerned about those issues should ensure that they select and - configure servers appropriately. - -7.7 Scope of Operation of SMTP Servers - - It is a well-established principle that an SMTP server may refuse to - accept mail for any operational or technical reason that makes sense - to the site providing the server. However, cooperation among sites - and installations makes the Internet possible. If sites take - excessive advantage of the right to reject traffic, the ubiquity of - email availability (one of the strengths of the Internet) will be - threatened; considerable care should be taken and balance maintained - if a site decides to be selective about the traffic it will accept - and process. - - In recent years, use of the relay function through arbitrary sites - has been used as part of hostile efforts to hide the actual origins - of mail. Some sites have decided to limit the use of the relay - function to known or identifiable sources, and implementations SHOULD - provide the capability to perform this type of filtering. When mail - is rejected for these or other policy reasons, a 550 code SHOULD be - used in response to EHLO, MAIL, or RCPT as appropriate. - -8. IANA Considerations - - IANA will maintain three registries in support of this specification. - The first consists of SMTP service extensions with the associated - keywords, and, as needed, parameters and verbs. As specified in - section 2.2.2, no entry may be made in this registry that starts in - an "X". Entries may be made only for service extensions (and - associated keywords, parameters, or verbs) that are defined in - standards-track or experimental RFCs specifically approved by the - IESG for this purpose. - - The second registry consists of "tags" that identify forms of domain - literals other than those for IPv4 addresses (specified in RFC 821 - and in this document) and IPv6 addresses (specified in this - document). Additional literal types require standardization before - being used; none are anticipated at this time. - - The third, established by RFC 821 and renewed by this specification, - is a registry of link and protocol identifiers to be used with the - "via" and "with" subclauses of the time stamp ("Received: header") - - - -Klensin Standards Track [Page 67] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - described in section 4.4. Link and protocol identifiers in addition - to those specified in this document may be registered only by - standardization or by way of an RFC-documented, IESG-approved, - Experimental protocol extension. - -9. References - - [1] American National Standards Institute (formerly United States of - America Standards Institute), X3.4, 1968, "USA Code for - Information Interchange". ANSI X3.4-1968 has been replaced by - newer versions with slight modifications, but the 1968 version - remains definitive for the Internet. - - [2] Braden, R., "Requirements for Internet hosts - application and - support", STD 3, RFC 1123, October 1989. - - [3] Butler, M., Chase, D., Goldberger, J., Postel, J. and J. - Reynolds, "Post Office Protocol - version 2", RFC 937, February - 1985. - - [4] Callas, J., Donnerhacke, L., Finney, H. and R. Thayer, "OpenPGP - Message Format", RFC 2440, November 1998. - - [5] Crispin, M., "Interactive Mail Access Protocol - Version 2", RFC - 1176, August 1990. - - [6] Crispin, M., "Internet Message Access Protocol - Version 4", RFC - 2060, December 1996. - - [7] Crocker, D., "Standard for the Format of ARPA Internet Text - Messages", RFC 822, August 1982. - - [8] Crocker, D. and P. Overell, Eds., "Augmented BNF for Syntax - Specifications: ABNF", RFC 2234, November 1997. - - [9] De Winter, J., "SMTP Service Extension for Remote Message Queue - Starting", RFC 1985, August 1996. - - [10] Fajman, R., "An Extensible Message Format for Message - Disposition Notifications", RFC 2298, March 1998. - - [11] Freed, N, "Behavior of and Requirements for Internet Firewalls", - RFC 2979, October 2000. - - [12] Freed, N. and N. Borenstein, "Multipurpose Internet Mail - Extensions (MIME) Part One: Format of Internet Message Bodies", - RFC 2045, December 1996. - - - - -Klensin Standards Track [Page 68] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - [13] Freed, N., "SMTP Service Extension for Command Pipelining", RFC - 2920, September 2000. - - [14] Galvin, J., Murphy, S., Crocker, S. and N. Freed, "Security - Multiparts for MIME: Multipart/Signed and Multipart/Encrypted", - RFC 1847, October 1995. - - [15] Gellens, R. and J. Klensin, "Message Submission", RFC 2476, - December 1998. - - [16] Kille, S., "Mapping between X.400 and RFC822/MIME", RFC 2156, - January 1998. - - [17] Hinden, R and S. Deering, Eds. "IP Version 6 Addressing - Architecture", RFC 2373, July 1998. - - [18] Klensin, J., Freed, N. and K. Moore, "SMTP Service Extension for - Message Size Declaration", STD 10, RFC 1870, November 1995. - - [19] Klensin, J., Freed, N., Rose, M., Stefferud, E. and D. Crocker, - "SMTP Service Extensions", STD 10, RFC 1869, November 1995. - - [20] Klensin, J., Freed, N., Rose, M., Stefferud, E. and D. Crocker, - "SMTP Service Extension for 8bit-MIMEtransport", RFC 1652, July - 1994. - - [21] Lambert, M., "PCMAIL: A distributed mail system for personal - computers", RFC 1056, July 1988. - - [22] Mockapetris, P., "Domain names - implementation and - specification", STD 13, RFC 1035, November 1987. - - Mockapetris, P., "Domain names - concepts and facilities", STD - 13, RFC 1034, November 1987. - - [23] Moore, K., "MIME (Multipurpose Internet Mail Extensions) Part - Three: Message Header Extensions for Non-ASCII Text", RFC 2047, - December 1996. - - [24] Moore, K., "SMTP Service Extension for Delivery Status - Notifications", RFC 1891, January 1996. - - [25] Moore, K., and G. Vaudreuil, "An Extensible Message Format for - Delivery Status Notifications", RFC 1894, January 1996. - - [26] Myers, J. and M. Rose, "Post Office Protocol - Version 3", STD - 53, RFC 1939, May 1996. - - - - -Klensin Standards Track [Page 69] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - [27] Partridge, C., "Mail routing and the domain system", RFC 974, - January 1986. - - [28] Partridge, C., "Duplicate messages and SMTP", RFC 1047, February - 1988. - - [29] Postel, J., ed., "Transmission Control Protocol - DARPA Internet - Program Protocol Specification", STD 7, RFC 793, September 1981. - - [30] Postel, J., "Simple Mail Transfer Protocol", RFC 821, August - 1982. - - [31] Ramsdell, B., Ed., "S/MIME Version 3 Message Specification", RFC - 2633, June 1999. - - [32] Resnick, P., Ed., "Internet Message Format", RFC 2822, April - 2001. - - [33] Vaudreuil, G., "SMTP Service Extensions for Transmission of - Large and Binary MIME Messages", RFC 1830, August 1995. - - [34] Vaudreuil, G., "Enhanced Mail System Status Codes", RFC 1893, - January 1996. - -10. Editor's Address - - John C. Klensin - AT&T Laboratories - 99 Bedford St - Boston, MA 02111 USA - - Phone: 617-574-3076 - EMail: klensin@research.att.com - -11. Acknowledgments - - Many people worked long and hard on the many iterations of this - document. There was wide-ranging debate in the IETF DRUMS Working - Group, both on its mailing list and in face to face discussions, - about many technical issues and the role of a revised standard for - Internet mail transport, and many contributors helped form the - wording in this specification. The hundreds of participants in the - many discussions since RFC 821 was produced are too numerous to - mention, but they all helped this document become what it is. - - - - - - - -Klensin Standards Track [Page 70] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -APPENDICES - -A. TCP Transport Service - - The TCP connection supports the transmission of 8-bit bytes. The - SMTP data is 7-bit ASCII characters. Each character is transmitted - as an 8-bit byte with the high-order bit cleared to zero. Service - extensions may modify this rule to permit transmission of full 8-bit - data bytes as part of the message body, but not in SMTP commands or - responses. - -B. Generating SMTP Commands from RFC 822 Headers - - Some systems use RFC 822 headers (only) in a mail submission - protocol, or otherwise generate SMTP commands from RFC 822 headers - when such a message is handed to an MTA from a UA. While the MTA-UA - protocol is a private matter, not covered by any Internet Standard, - there are problems with this approach. For example, there have been - repeated problems with proper handling of "bcc" copies and - redistribution lists when information that conceptually belongs to a - mail envelopes is not separated early in processing from header - information (and kept separate). - - It is recommended that the UA provide its initial ("submission - client") MTA with an envelope separate from the message itself. - However, if the envelope is not supplied, SMTP commands SHOULD be - generated as follows: - - 1. Each recipient address from a TO, CC, or BCC header field SHOULD - be copied to a RCPT command (generating multiple message copies if - that is required for queuing or delivery). This includes any - addresses listed in a RFC 822 "group". Any BCC fields SHOULD then - be removed from the headers. Once this process is completed, the - remaining headers SHOULD be checked to verify that at least one - To:, Cc:, or Bcc: header remains. If none do, then a bcc: header - with no additional information SHOULD be inserted as specified in - [32]. - - 2. The return address in the MAIL command SHOULD, if possible, be - derived from the system's identity for the submitting (local) - user, and the "From:" header field otherwise. If there is a - system identity available, it SHOULD also be copied to the Sender - header field if it is different from the address in the From - header field. (Any Sender field that was already there SHOULD be - removed.) Systems may provide a way for submitters to override - the envelope return address, but may want to restrict its use to - privileged users. This will not prevent mail forgery, but may - lessen its incidence; see section 7.1. - - - -Klensin Standards Track [Page 71] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - When an MTA is being used in this way, it bears responsibility for - ensuring that the message being transmitted is valid. The mechanisms - for checking that validity, and for handling (or returning) messages - that are not valid at the time of arrival, are part of the MUA-MTA - interface and not covered by this specification. - - A submission protocol based on Standard RFC 822 information alone - MUST NOT be used to gateway a message from a foreign (non-SMTP) mail - system into an SMTP environment. Additional information to construct - an envelope must come from some source in the other environment, - whether supplemental headers or the foreign system's envelope. - - Attempts to gateway messages using only their header "to" and "cc" - fields have repeatedly caused mail loops and other behavior adverse - to the proper functioning of the Internet mail environment. These - problems have been especially common when the message originates from - an Internet mailing list and is distributed into the foreign - environment using envelope information. When these messages are then - processed by a header-only remailer, loops back to the Internet - environment (and the mailing list) are almost inevitable. - -C. Source Routes - - Historically, the was a reverse source routing list of - hosts and a source mailbox. The first host in the - SHOULD be the host sending the MAIL command. Similarly, the - may be a source routing lists of hosts and a - destination mailbox. However, in general, the SHOULD - contain only a mailbox and domain name, relying on the domain name - system to supply routing information if required. The use of source - routes is deprecated; while servers MUST be prepared to receive and - handle them as discussed in section 3.3 and F.2, clients SHOULD NOT - transmit them and this section was included only to provide context. - - For relay purposes, the forward-path may be a source route of the - form "@ONE,@TWO:JOE@THREE", where ONE, TWO, and THREE MUST BE fully- - qualified domain names. This form is used to emphasize the - distinction between an address and a route. The mailbox is an - absolute address, and the route is information about how to get - there. The two concepts should not be confused. - - If source routes are used, RFC 821 and the text below should be - consulted for the mechanisms for constructing and updating the - forward- and reverse-paths. - - - - - - - -Klensin Standards Track [Page 72] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - The SMTP server transforms the command arguments by moving its own - identifier (its domain name or that of any domain for which it is - acting as a mail exchanger), if it appears, from the forward-path to - the beginning of the reverse-path. - - Notice that the forward-path and reverse-path appear in the SMTP - commands and replies, but not necessarily in the message. That is, - there is no need for these paths and especially this syntax to appear - in the "To:" , "From:", "CC:", etc. fields of the message header. - Conversely, SMTP servers MUST NOT derive final message delivery - information from message header fields. - - When the list of hosts is present, it is a "reverse" source route and - indicates that the mail was relayed through each host on the list - (the first host in the list was the most recent relay). This list is - used as a source route to return non-delivery notices to the sender. - As each relay host adds itself to the beginning of the list, it MUST - use its name as known in the transport environment to which it is - relaying the mail rather than that of the transport environment from - which the mail came (if they are different). - -D. Scenarios - - This section presents complete scenarios of several types of SMTP - sessions. In the examples, "C:" indicates what is said by the SMTP - client, and "S:" indicates what is said by the SMTP server. - -D.1 A Typical SMTP Transaction Scenario - - This SMTP example shows mail sent by Smith at host bar.com, to Jones, - Green, and Brown at host foo.com. Here we assume that host bar.com - contacts host foo.com directly. The mail is accepted for Jones and - Brown. Green does not have a mailbox at host foo.com. - - S: 220 foo.com Simple Mail Transfer Service Ready - C: EHLO bar.com - S: 250-foo.com greets bar.com - S: 250-8BITMIME - S: 250-SIZE - S: 250-DSN - S: 250 HELP - C: MAIL FROM: - S: 250 OK - C: RCPT TO: - S: 250 OK - C: RCPT TO: - S: 550 No such user here - C: RCPT TO: - - - -Klensin Standards Track [Page 73] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - S: 250 OK - C: DATA - S: 354 Start mail input; end with . - C: Blah blah blah... - C: ...etc. etc. etc. - C: . - S: 250 OK - C: QUIT - S: 221 foo.com Service closing transmission channel - -D.2 Aborted SMTP Transaction Scenario - - S: 220 foo.com Simple Mail Transfer Service Ready - C: EHLO bar.com - S: 250-foo.com greets bar.com - S: 250-8BITMIME - S: 250-SIZE - S: 250-DSN - S: 250 HELP - C: MAIL FROM: - S: 250 OK - C: RCPT TO: - S: 250 OK - C: RCPT TO: - S: 550 No such user here - C: RSET - S: 250 OK - C: QUIT - S: 221 foo.com Service closing transmission channel - -D.3 Relayed Mail Scenario - - Step 1 -- Source Host to Relay Host - - S: 220 foo.com Simple Mail Transfer Service Ready - C: EHLO bar.com - S: 250-foo.com greets bar.com - S: 250-8BITMIME - S: 250-SIZE - S: 250-DSN - S: 250 HELP - C: MAIL FROM: - S: 250 OK - C: RCPT TO:<@foo.com:Jones@XYZ.COM> - S: 250 OK - C: DATA - S: 354 Start mail input; end with . - C: Date: Thu, 21 May 1998 05:33:29 -0700 - - - -Klensin Standards Track [Page 74] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - C: From: John Q. Public - C: Subject: The Next Meeting of the Board - C: To: Jones@xyz.com - C: - C: Bill: - C: The next meeting of the board of directors will be - C: on Tuesday. - C: John. - C: . - S: 250 OK - C: QUIT - S: 221 foo.com Service closing transmission channel - - Step 2 -- Relay Host to Destination Host - - S: 220 xyz.com Simple Mail Transfer Service Ready - C: EHLO foo.com - S: 250 xyz.com is on the air - C: MAIL FROM:<@foo.com:JQP@bar.com> - S: 250 OK - C: RCPT TO: - S: 250 OK - C: DATA - S: 354 Start mail input; end with . - C: Received: from bar.com by foo.com ; Thu, 21 May 1998 - C: 05:33:29 -0700 - C: Date: Thu, 21 May 1998 05:33:22 -0700 - C: From: John Q. Public - C: Subject: The Next Meeting of the Board - C: To: Jones@xyz.com - C: - C: Bill: - C: The next meeting of the board of directors will be - C: on Tuesday. - C: John. - C: . - S: 250 OK - C: QUIT - S: 221 foo.com Service closing transmission channel - -D.4 Verifying and Sending Scenario - - S: 220 foo.com Simple Mail Transfer Service Ready - C: EHLO bar.com - S: 250-foo.com greets bar.com - S: 250-8BITMIME - S: 250-SIZE - S: 250-DSN - - - -Klensin Standards Track [Page 75] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - S: 250-VRFY - S: 250 HELP - C: VRFY Crispin - S: 250 Mark Crispin - C: SEND FROM: - S: 250 OK - C: RCPT TO: - S: 250 OK - C: DATA - S: 354 Start mail input; end with . - C: Blah blah blah... - C: ...etc. etc. etc. - C: . - S: 250 OK - C: QUIT - S: 221 foo.com Service closing transmission channel - -E. Other Gateway Issues - - In general, gateways between the Internet and other mail systems - SHOULD attempt to preserve any layering semantics across the - boundaries between the two mail systems involved. Gateway- - translation approaches that attempt to take shortcuts by mapping, - (such as envelope information from one system to the message headers - or body of another) have generally proven to be inadequate in - important ways. Systems translating between environments that do not - support both envelopes and headers and Internet mail must be written - with the understanding that some information loss is almost - inevitable. - -F. Deprecated Features of RFC 821 - - A few features of RFC 821 have proven to be problematic and SHOULD - NOT be used in Internet mail. - -F.1 TURN - - This command, described in RFC 821, raises important security issues - since, in the absence of strong authentication of the host requesting - that the client and server switch roles, it can easily be used to - divert mail from its correct destination. Its use is deprecated; - SMTP systems SHOULD NOT use it unless the server can authenticate the - client. - - - - - - - - -Klensin Standards Track [Page 76] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -F.2 Source Routing - - RFC 821 utilized the concept of explicit source routing to get mail - from one host to another via a series of relays. The requirement to - utilize source routes in regular mail traffic was eliminated by the - introduction of the domain name system "MX" record and the last - significant justification for them was eliminated by the - introduction, in RFC 1123, of a clear requirement that addresses - following an "@" must all be fully-qualified domain names. - Consequently, the only remaining justifications for the use of source - routes are support for very old SMTP clients or MUAs and in mail - system debugging. They can, however, still be useful in the latter - circumstance and for routing mail around serious, but temporary, - problems such as problems with the relevant DNS records. - - SMTP servers MUST continue to accept source route syntax as specified - in the main body of this document and in RFC 1123. They MAY, if - necessary, ignore the routes and utilize only the target domain in - the address. If they do utilize the source route, the message MUST - be sent to the first domain shown in the address. In particular, a - server MUST NOT guess at shortcuts within the source route. - - Clients SHOULD NOT utilize explicit source routing except under - unusual circumstances, such as debugging or potentially relaying - around firewall or mail system configuration errors. - -F.3 HELO - - As discussed in sections 3.1 and 4.1.1, EHLO is strongly preferred to - HELO when the server will accept the former. Servers must continue - to accept and process HELO in order to support older clients. - -F.4 #-literals - - RFC 821 provided for specifying an Internet address as a decimal - integer host number prefixed by a pound sign, "#". In practice, that - form has been obsolete since the introduction of TCP/IP. It is - deprecated and MUST NOT be used. - -F.5 Dates and Years - - When dates are inserted into messages by SMTP clients or servers - (e.g., in trace fields), four-digit years MUST BE used. Two-digit - years are deprecated; three-digit years were never permitted in the - Internet mail system. - - - - - - -Klensin Standards Track [Page 77] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -F.6 Sending versus Mailing - - In addition to specifying a mechanism for delivering messages to - user's mailboxes, RFC 821 provided additional, optional, commands to - deliver messages directly to the user's terminal screen. These - commands (SEND, SAML, SOML) were rarely implemented, and changes in - workstation technology and the introduction of other protocols may - have rendered them obsolete even where they are implemented. - - Clients SHOULD NOT provide SEND, SAML, or SOML as services. Servers - MAY implement them. If they are implemented by servers, the - implementation model specified in RFC 821 MUST be used and the - command names MUST be published in the response to the EHLO command. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Klensin Standards Track [Page 78] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -Full Copyright Statement - - Copyright (C) The Internet Society (2001). All Rights Reserved. - - This document and translations of it may be copied and furnished to - others, and derivative works that comment on or otherwise explain it - or assist in its implementation may be prepared, copied, published - and distributed, in whole or in part, without restriction of any - kind, provided that the above copyright notice and this paragraph are - included on all such copies and derivative works. However, this - document itself may not be modified in any way, such as by removing - the copyright notice or references to the Internet Society or other - Internet organizations, except as needed for the purpose of - developing Internet standards in which case the procedures for - copyrights defined in the Internet Standards process must be - followed, or as required to translate it into languages other than - English. - - The limited permissions granted above are perpetual and will not be - revoked by the Internet Society or its successors or assigns. - - This document and the information contained herein is provided on an - "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING - TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION - HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF - MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. - -Acknowledgement - - Funding for the RFC Editor function is currently provided by the - Internet Society. - - - - - - - - - - - - - - - - - - - -Klensin Standards Track [Page 79] - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc2831.txt.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc2831.txt.svn-base deleted file mode 100644 index c1a54c4..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc2831.txt.svn-base +++ /dev/null @@ -1,1515 +0,0 @@ - - - - - - -Network Working Group P. Leach -Request for Comments: 2831 Microsoft -Category: Standards Track C. Newman - Innosoft - May 2000 - - - Using Digest Authentication as a SASL Mechanism - -Status of this Memo - - This document specifies an Internet standards track protocol for the - Internet community, and requests discussion and suggestions for - improvements. Please refer to the current edition of the "Internet - Official Protocol Standards" (STD 1) for the standardization state - and status of this protocol. Distribution of this memo is unlimited. - -Copyright Notice - - Copyright (C) The Internet Society (2000). All Rights Reserved. - -Abstract - - This specification defines how HTTP Digest Authentication [Digest] - can be used as a SASL [RFC 2222] mechanism for any protocol that has - a SASL profile. It is intended both as an improvement over CRAM-MD5 - [RFC 2195] and as a convenient way to support a single authentication - mechanism for web, mail, LDAP, and other protocols. - -Table of Contents - - 1 INTRODUCTION.....................................................2 - 1.1 CONVENTIONS AND NOTATION......................................2 - 1.2 REQUIREMENTS..................................................3 - 2 AUTHENTICATION...................................................3 - 2.1 INITIAL AUTHENTICATION........................................3 - 2.1.1 Step One...................................................3 - 2.1.2 Step Two...................................................6 - 2.1.3 Step Three................................................12 - 2.2 SUBSEQUENT AUTHENTICATION....................................12 - 2.2.1 Step one..................................................13 - 2.2.2 Step Two..................................................13 - 2.3 INTEGRITY PROTECTION.........................................13 - 2.4 CONFIDENTIALITY PROTECTION...................................14 - 3 SECURITY CONSIDERATIONS.........................................15 - 3.1 AUTHENTICATION OF CLIENTS USING DIGEST AUTHENTICATION........15 - 3.2 COMPARISON OF DIGEST WITH PLAINTEXT PASSWORDS................16 - 3.3 REPLAY ATTACKS...............................................16 - - - -Leach & Newman Standards Track [Page 1] - -RFC 2831 Digest SASL Mechanism May 2000 - - - 3.4 ONLINE DICTIONARY ATTACKS....................................16 - 3.5 OFFLINE DICTIONARY ATTACKS...................................16 - 3.6 MAN IN THE MIDDLE............................................17 - 3.7 CHOSEN PLAINTEXT ATTACKS.....................................17 - 3.8 SPOOFING BY COUNTERFEIT SERVERS..............................17 - 3.9 STORING PASSWORDS............................................17 - 3.10 MULTIPLE REALMS.............................................18 - 3.11 SUMMARY.....................................................18 - 4 EXAMPLE.........................................................18 - 5 REFERENCES......................................................20 - 6 AUTHORS' ADDRESSES..............................................21 - 7 ABNF............................................................21 - 7.1 AUGMENTED BNF................................................21 - 7.2 BASIC RULES..................................................23 - 8 SAMPLE CODE.....................................................25 - 9 FULL COPYRIGHT STATEMENT........................................27 - -1 Introduction - - This specification describes the use of HTTP Digest Access - Authentication as a SASL mechanism. The authentication type - associated with the Digest SASL mechanism is "DIGEST-MD5". - - This specification is intended to be upward compatible with the - "md5-sess" algorithm of HTTP/1.1 Digest Access Authentication - specified in [Digest]. The only difference in the "md5-sess" - algorithm is that some directives not needed in a SASL mechanism have - had their values defaulted. - - There is one new feature for use as a SASL mechanism: integrity - protection on application protocol messages after an authentication - exchange. - - Also, compared to CRAM-MD5, DIGEST-MD5 prevents chosen plaintext - attacks, and permits the use of third party authentication servers, - mutual authentication, and optimized reauthentication if a client has - recently authenticated to a server. - -1.1 Conventions and Notation - - This specification uses the same ABNF notation and lexical - conventions as HTTP/1.1 specification; see appendix A. - - Let { a, b, ... } be the concatenation of the octet strings a, b, ... - - Let H(s) be the 16 octet MD5 hash [RFC 1321] of the octet string s. - - - - - -Leach & Newman Standards Track [Page 2] - -RFC 2831 Digest SASL Mechanism May 2000 - - - Let KD(k, s) be H({k, ":", s}), i.e., the 16 octet hash of the string - k, a colon and the string s. - - Let HEX(n) be the representation of the 16 octet MD5 hash n as a - string of 32 hex digits (with alphabetic characters always in lower - case, since MD5 is case sensitive). - - Let HMAC(k, s) be the 16 octet HMAC-MD5 [RFC 2104] of the octet - string s using the octet string k as a key. - - The value of a quoted string constant as an octet string does not - include any terminating null character. - -1.2 Requirements - - The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", - "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this - document are to be interpreted as described in RFC 2119 [RFC 2119]. - - An implementation is not compliant if it fails to satisfy one or more - of the MUST level requirements for the protocols it implements. An - implementation that satisfies all the MUST level and all the SHOULD - level requirements for its protocols is said to be "unconditionally - compliant"; one that satisfies all the MUST level requirements but - not all the SHOULD level requirements for its protocols is said to be - "conditionally compliant." - -2 Authentication - - The following sections describe how to use Digest as a SASL - authentication mechanism. - -2.1 Initial Authentication - - If the client has not recently authenticated to the server, then it - must perform "initial authentication", as defined in this section. If - it has recently authenticated, then a more efficient form is - available, defined in the next section. - -2.1.1 Step One - - The server starts by sending a challenge. The data encoded in the - challenge contains a string formatted according to the rules for a - "digest-challenge" defined as follows: - - - - - - - -Leach & Newman Standards Track [Page 3] - -RFC 2831 Digest SASL Mechanism May 2000 - - - digest-challenge = - 1#( realm | nonce | qop-options | stale | maxbuf | charset - algorithm | cipher-opts | auth-param ) - - realm = "realm" "=" <"> realm-value <"> - realm-value = qdstr-val - nonce = "nonce" "=" <"> nonce-value <"> - nonce-value = qdstr-val - qop-options = "qop" "=" <"> qop-list <"> - qop-list = 1#qop-value - qop-value = "auth" | "auth-int" | "auth-conf" | - token - stale = "stale" "=" "true" - maxbuf = "maxbuf" "=" maxbuf-value - maxbuf-value = 1*DIGIT - charset = "charset" "=" "utf-8" - algorithm = "algorithm" "=" "md5-sess" - cipher-opts = "cipher" "=" <"> 1#cipher-value <"> - cipher-value = "3des" | "des" | "rc4-40" | "rc4" | - "rc4-56" | token - auth-param = token "=" ( token | quoted-string ) - - The meanings of the values of the directives used above are as - follows: - - realm - Mechanistically, a string which can enable users to know which - username and password to use, in case they might have different - ones for different servers. Conceptually, it is the name of a - collection of accounts that might include the user's account. This - string should contain at least the name of the host performing the - authentication and might additionally indicate the collection of - users who might have access. An example might be - "registered_users@gotham.news.example.com". This directive is - optional; if not present, the client SHOULD solicit it from the - user or be able to compute a default; a plausible default might be - the realm supplied by the user when they logged in to the client - system. Multiple realm directives are allowed, in which case the - user or client must choose one as the realm for which to supply to - username and password. - - nonce - A server-specified data string which MUST be different each time a - digest-challenge is sent as part of initial authentication. It is - recommended that this string be base64 or hexadecimal data. Note - that since the string is passed as a quoted string, the - double-quote character is not allowed unless escaped (see section - 7.2). The contents of the nonce are implementation dependent. The - - - -Leach & Newman Standards Track [Page 4] - -RFC 2831 Digest SASL Mechanism May 2000 - - - security of the implementation depends on a good choice. It is - RECOMMENDED that it contain at least 64 bits of entropy. The nonce - is opaque to the client. This directive is required and MUST - appear exactly once; if not present, or if multiple instances are - present, the client should abort the authentication exchange. - - qop-options - A quoted string of one or more tokens indicating the "quality of - protection" values supported by the server. The value "auth" - indicates authentication; the value "auth-int" indicates - authentication with integrity protection; the value "auth-conf" - indicates authentication with integrity protection and encryption. - This directive is optional; if not present it defaults to "auth". - The client MUST ignore unrecognized options; if the client - recognizes no option, it should abort the authentication exchange. - - stale - The "stale" directive is not used in initial authentication. See - the next section for its use in subsequent authentications. This - directive may appear at most once; if multiple instances are - present, the client should abort the authentication exchange. - - maxbuf - A number indicating the size of the largest buffer the server is - able to receive when using "auth-int" or "auth-conf". If this - directive is missing, the default value is 65536. This directive - may appear at most once; if multiple instances are present, the - client should abort the authentication exchange. - - charset - This directive, if present, specifies that the server supports - UTF-8 encoding for the username and password. If not present, the - username and password must be encoded in ISO 8859-1 (of which - US-ASCII is a subset). The directive is needed for backwards - compatibility with HTTP Digest, which only supports ISO 8859-1. - This directive may appear at most once; if multiple instances are - present, the client should abort the authentication exchange. - - algorithm - This directive is required for backwards compatibility with HTTP - Digest., which supports other algorithms. . This directive is - required and MUST appear exactly once; if not present, or if - multiple instances are present, the client should abort the - authentication exchange. - - - - - - - -Leach & Newman Standards Track [Page 5] - -RFC 2831 Digest SASL Mechanism May 2000 - - - cipher-opts - A list of ciphers that the server supports. This directive must be - present exactly once if "auth-conf" is offered in the - "qop-options" directive, in which case the "3des" and "des" modes - are mandatory-to-implement. The client MUST ignore unrecognized - options; if the client recognizes no option, it should abort the - authentication exchange. - - des - the Data Encryption Standard (DES) cipher [FIPS] in cipher - block chaining (CBC) mode with a 56 bit key. - - 3des - the "triple DES" cipher in CBC mode with EDE with the same key - for each E stage (aka "two keys mode") for a total key length - of 112 bits. - - rc4, rc4-40, rc4-56 - the RC4 cipher with a 128 bit, 40 bit, and 56 bit key, - respectively. - - auth-param This construct allows for future extensions; it may appear - more than once. The client MUST ignore any unrecognized - directives. - - For use as a SASL mechanism, note that the following changes are made - to "digest-challenge" from HTTP: the following Digest options (called - "directives" in HTTP terminology) are unused (i.e., MUST NOT be sent, - and MUST be ignored if received): - - opaque - domain - - The size of a digest-challenge MUST be less than 2048 bytes. - -2.1.2 Step Two - - The client makes note of the "digest-challenge" and then responds - with a string formatted and computed according to the rules for a - "digest-response" defined as follows: - - - - - - - - - - - -Leach & Newman Standards Track [Page 6] - -RFC 2831 Digest SASL Mechanism May 2000 - - - digest-response = 1#( username | realm | nonce | cnonce | - nonce-count | qop | digest-uri | response | - maxbuf | charset | cipher | authzid | - auth-param ) - - username = "username" "=" <"> username-value <"> - username-value = qdstr-val - cnonce = "cnonce" "=" <"> cnonce-value <"> - cnonce-value = qdstr-val - nonce-count = "nc" "=" nc-value - nc-value = 8LHEX - qop = "qop" "=" qop-value - digest-uri = "digest-uri" "=" <"> digest-uri-value <"> - digest-uri-value = serv-type "/" host [ "/" serv-name ] - serv-type = 1*ALPHA - host = 1*( ALPHA | DIGIT | "-" | "." ) - serv-name = host - response = "response" "=" response-value - response-value = 32LHEX - LHEX = "0" | "1" | "2" | "3" | - "4" | "5" | "6" | "7" | - "8" | "9" | "a" | "b" | - "c" | "d" | "e" | "f" - cipher = "cipher" "=" cipher-value - authzid = "authzid" "=" <"> authzid-value <"> - authzid-value = qdstr-val - - - username - The user's name in the specified realm, encoded according to the - value of the "charset" directive. This directive is required and - MUST be present exactly once; otherwise, authentication fails. - - realm - The realm containing the user's account. This directive is - required if the server provided any realms in the - "digest-challenge", in which case it may appear exactly once and - its value SHOULD be one of those realms. If the directive is - missing, "realm-value" will set to the empty string when computing - A1 (see below for details). - - nonce - The server-specified data string received in the preceding - digest-challenge. This directive is required and MUST be present - exactly once; otherwise, authentication fails. - - - - - - -Leach & Newman Standards Track [Page 7] - -RFC 2831 Digest SASL Mechanism May 2000 - - - cnonce - A client-specified data string which MUST be different each time a - digest-response is sent as part of initial authentication. The - cnonce-value is an opaque quoted string value provided by the - client and used by both client and server to avoid chosen - plaintext attacks, and to provide mutual authentication. The - security of the implementation depends on a good choice. It is - RECOMMENDED that it contain at least 64 bits of entropy. This - directive is required and MUST be present exactly once; otherwise, - authentication fails. - - nonce-count - The nc-value is the hexadecimal count of the number of requests - (including the current request) that the client has sent with the - nonce value in this request. For example, in the first request - sent in response to a given nonce value, the client sends - "nc=00000001". The purpose of this directive is to allow the - server to detect request replays by maintaining its own copy of - this count - if the same nc-value is seen twice, then the request - is a replay. See the description below of the construction of - the response value. This directive may appear at most once; if - multiple instances are present, the client should abort the - authentication exchange. - - qop - Indicates what "quality of protection" the client accepted. If - present, it may appear exactly once and its value MUST be one of - the alternatives in qop-options. If not present, it defaults to - "auth". These values affect the computation of the response. Note - that this is a single token, not a quoted list of alternatives. - - serv-type - Indicates the type of service, such as "www" for web service, - "ftp" for FTP service, "smtp" for mail delivery service, etc. The - service name as defined in the SASL profile for the protocol see - section 4 of [RFC 2222], registered in the IANA registry of - "service" elements for the GSSAPI host-based service name form - [RFC 2078]. - - host - The DNS host name or IP address for the service requested. The - DNS host name must be the fully-qualified canonical name of the - host. The DNS host name is the preferred form; see notes on server - processing of the digest-uri. - - - - - - - -Leach & Newman Standards Track [Page 8] - -RFC 2831 Digest SASL Mechanism May 2000 - - - serv-name - Indicates the name of the service if it is replicated. The service - is considered to be replicated if the client's service-location - process involves resolution using standard DNS lookup operations, - and if these operations involve DNS records (such as SRV, or MX) - which resolve one DNS name into a set of other DNS names. In this - case, the initial name used by the client is the "serv-name", and - the final name is the "host" component. For example, the incoming - mail service for "example.com" may be replicated through the use - of MX records stored in the DNS, one of which points at an SMTP - server called "mail3.example.com"; it's "serv-name" would be - "example.com", it's "host" would be "mail3.example.com". If the - service is not replicated, or the serv-name is identical to the - host, then the serv-name component MUST be omitted. - - digest-uri - Indicates the principal name of the service with which the client - wishes to connect, formed from the serv-type, host, and serv-name. - For example, the FTP service on "ftp.example.com" would have a - "digest-uri" value of "ftp/ftp.example.com"; the SMTP server from - the example above would have a "digest-uri" value of - "smtp/mail3.example.com/example.com". - - Servers SHOULD check that the supplied value is correct. This will - detect accidental connection to the incorrect server. It is also so - that clients will be trained to provide values that will work with - implementations that use a shared back-end authentication service - that can provide server authentication. - - The serv-type component should match the service being offered. The - host component should match one of the host names of the host on - which the service is running, or it's IP address. Servers SHOULD NOT - normally support the IP address form, because server authentication - by IP address is not very useful; they should only do so if the DNS - is unavailable or unreliable. The serv-name component should match - one of the service's configured service names. - - This directive may appear at most once; if multiple instances are - present, the client should abort the authentication exchange. - - Note: In the HTTP use of Digest authentication, the digest-uri is the - URI (usually a URL) of the resource requested -- hence the name of - the directive. - - response - A string of 32 hex digits computed as defined below, which proves - that the user knows a password. This directive is required and - MUST be present exactly once; otherwise, authentication fails. - - - -Leach & Newman Standards Track [Page 9] - -RFC 2831 Digest SASL Mechanism May 2000 - - - maxbuf - A number indicating the size of the largest buffer the client is - able to receive. If this directive is missing, the default value - is 65536. This directive may appear at most once; if multiple - instances are present, the server should abort the authentication - exchange. - - charset - This directive, if present, specifies that the client has used - UTF-8 encoding for the username and password. If not present, the - username and password must be encoded in ISO 8859-1 (of which - US-ASCII is a subset). The client should send this directive only - if the server has indicated it supports UTF-8. The directive is - needed for backwards compatibility with HTTP Digest, which only - supports ISO 8859-1. - - LHEX - 32 hex digits, where the alphabetic characters MUST be lower case, - because MD5 is not case insensitive. - - cipher - The cipher chosen by the client. This directive MUST appear - exactly once if "auth-conf" is negotiated; if required and not - present, authentication fails. - - authzid - The "authorization ID" as per RFC 2222, encoded in UTF-8. This - directive is optional. If present, and the authenticating user has - sufficient privilege, and the server supports it, then after - authentication the server will use this identity for making all - accesses and access checks. If the client specifies it, and the - server does not support it, then the response-value will be - incorrect, and authentication will fail. - - The size of a digest-response MUST be less than 4096 bytes. - -2.1.2.1 Response-value - - The definition of "response-value" above indicates the encoding for - its value -- 32 lower case hex characters. The following definitions - show how the value is computed. - - Although qop-value and components of digest-uri-value may be - case-insensitive, the case which the client supplies in step two is - preserved for the purpose of computing and verifying the - response-value. - - response-value = - - - -Leach & Newman Standards Track [Page 10] - -RFC 2831 Digest SASL Mechanism May 2000 - - - HEX( KD ( HEX(H(A1)), - { nonce-value, ":" nc-value, ":", - cnonce-value, ":", qop-value, ":", HEX(H(A2)) })) - - If authzid is specified, then A1 is - - - A1 = { H( { username-value, ":", realm-value, ":", passwd } ), - ":", nonce-value, ":", cnonce-value, ":", authzid-value } - - If authzid is not specified, then A1 is - - - A1 = { H( { username-value, ":", realm-value, ":", passwd } ), - ":", nonce-value, ":", cnonce-value } - - where - - passwd = *OCTET - - The "username-value", "realm-value" and "passwd" are encoded - according to the value of the "charset" directive. If "charset=UTF-8" - is present, and all the characters of either "username-value" or - "passwd" are in the ISO 8859-1 character set, then it must be - converted to ISO 8859-1 before being hashed. This is so that - authentication databases that store the hashed username, realm and - password (which is common) can be shared compatibly with HTTP, which - specifies ISO 8859-1. A sample implementation of this conversion is - in section 8. - - If the "qop" directive's value is "auth", then A2 is: - - A2 = { "AUTHENTICATE:", digest-uri-value } - - If the "qop" value is "auth-int" or "auth-conf" then A2 is: - - A2 = { "AUTHENTICATE:", digest-uri-value, - ":00000000000000000000000000000000" } - - Note that "AUTHENTICATE:" must be in upper case, and the second - string constant is a string with a colon followed by 32 zeros. - - These apparently strange values of A2 are for compatibility with - HTTP; they were arrived at by setting "Method" to "AUTHENTICATE" and - the hash of the entity body to zero in the HTTP digest calculation of - A2. - - Also, in the HTTP usage of Digest, several directives in the - - - -Leach & Newman Standards Track [Page 11] - -RFC 2831 Digest SASL Mechanism May 2000 - - - "digest-challenge" sent by the server have to be returned by the - client in the "digest-response". These are: - - opaque - algorithm - - These directives are not needed when Digest is used as a SASL - mechanism (i.e., MUST NOT be sent, and MUST be ignored if received). - -2.1.3 Step Three - - The server receives and validates the "digest-response". The server - checks that the nonce-count is "00000001". If it supports subsequent - authentication (see section 2.2), it saves the value of the nonce and - the nonce-count. It sends a message formatted as follows: - - response-auth = "rspauth" "=" response-value - - where response-value is calculated as above, using the values sent in - step two, except that if qop is "auth", then A2 is - - A2 = { ":", digest-uri-value } - - And if qop is "auth-int" or "auth-conf" then A2 is - - A2 = { ":", digest-uri-value, ":00000000000000000000000000000000" } - - Compared to its use in HTTP, the following Digest directives in the - "digest-response" are unused: - - nextnonce - qop - cnonce - nonce-count - -2.2 Subsequent Authentication - - If the client has previously authenticated to the server, and - remembers the values of username, realm, nonce, nonce-count, cnonce, - and qop that it used in that authentication, and the SASL profile for - a protocol permits an initial client response, then it MAY perform - "subsequent authentication", as defined in this section. - - - - - - - - - -Leach & Newman Standards Track [Page 12] - -RFC 2831 Digest SASL Mechanism May 2000 - - -2.2.1 Step one - - The client uses the values from the previous authentication and sends - an initial response with a string formatted and computed according to - the rules for a "digest-response", as defined above, but with a - nonce-count one greater than used in the last "digest-response". - -2.2.2 Step Two - - The server receives the "digest-response". If the server does not - support subsequent authentication, then it sends a - "digest-challenge", and authentication proceeds as in initial - authentication. If the server has no saved nonce and nonce-count from - a previous authentication, then it sends a "digest-challenge", and - authentication proceeds as in initial authentication. Otherwise, the - server validates the "digest-response", checks that the nonce-count - is one greater than that used in the previous authentication using - that nonce, and saves the new value of nonce-count. - - If the response is invalid, then the server sends a - "digest-challenge", and authentication proceeds as in initial - authentication (and should be configurable to log an authentication - failure in some sort of security audit log, since the failure may be - a symptom of an attack). The nonce-count MUST NOT be incremented in - this case: to do so would allow a denial of service attack by sending - an out-of-order nonce-count. - - If the response is valid, the server MAY choose to deem that - authentication has succeeded. However, if it has been too long since - the previous authentication, or for any other reason, the server MAY - send a new "digest-challenge" with a new value for nonce. The - challenge MAY contain a "stale" directive with value "true", which - says that the client may respond to the challenge using the password - it used in the previous response; otherwise, the client must solicit - the password anew from the user. This permits the server to make sure - that the user has presented their password recently. (The directive - name refers to the previous nonce being stale, not to the last use of - the password.) Except for the handling of "stale", after sending the - "digest-challenge" authentication proceeds as in the case of initial - authentication. - -2.3 Integrity Protection - - If the server offered "qop=auth-int" and the client responded - "qop=auth-int", then subsequent messages, up to but not including the - next subsequent authentication, between the client and the server - - - - - -Leach & Newman Standards Track [Page 13] - -RFC 2831 Digest SASL Mechanism May 2000 - - - MUST be integrity protected. Using as a base session key the value of - H(A1) as defined above the client and server calculate a pair of - message integrity keys as follows. - - The key for integrity protecting messages from client to server is: - - Kic = MD5({H(A1), - "Digest session key to client-to-server signing key magic constant"}) - - The key for integrity protecting messages from server to client is: - - Kis = MD5({H(A1), - "Digest session key to server-to-client signing key magic constant"}) - - where MD5 is as specified in [RFC 1321]. If message integrity is - negotiated, a MAC block for each message is appended to the message. - The MAC block is 16 bytes: the first 10 bytes of the HMAC-MD5 [RFC - 2104] of the message, a 2-byte message type number in network byte - order with value 1, and the 4-byte sequence number in network byte - order. The message type is to allow for future extensions such as - rekeying. - - MAC(Ki, SeqNum, msg) = (HMAC(Ki, {SeqNum, msg})[0..9], 0x0001, - SeqNum) - - where Ki is Kic for messages sent by the client and Kis for those - sent by the server. The sequence number is initialized to zero, and - incremented by one for each message sent. - - Upon receipt, MAC(Ki, SeqNum, msg) is computed and compared with the - received value; the message is discarded if they differ. - -2.4 Confidentiality Protection - - If the server sent a "cipher-opts" directive and the client responded - with a "cipher" directive, then subsequent messages between the - client and the server MUST be confidentiality protected. Using as a - base session key the value of H(A1) as defined above the client and - server calculate a pair of message integrity keys as follows. - - The key for confidentiality protecting messages from client to server - is: - - Kcc = MD5({H(A1)[0..n], - "Digest H(A1) to client-to-server sealing key magic constant"}) - - The key for confidentiality protecting messages from server to client - is: - - - -Leach & Newman Standards Track [Page 14] - -RFC 2831 Digest SASL Mechanism May 2000 - - - Kcs = MD5({H(A1)[0..n], - "Digest H(A1) to server-to-client sealing key magic constant"}) - - where MD5 is as specified in [RFC 1321]. For cipher "rc4-40" n is 5; - for "rc4-56" n is 7; for the rest n is 16. The key for the "rc-*" - ciphers is all 16 bytes of Kcc or Kcs; the key for "des" is the first - 7 bytes; the key for "3des" is the first 14 bytes. The IV for "des" - and "3des" is the last 8 bytes of Kcc or Kcs. - - If message confidentiality is negotiated, each message is encrypted - with the chosen cipher and a MAC block is appended to the message. - - The MAC block is a variable length padding prefix followed by 16 - bytes formatted as follows: the first 10 bytes of the HMAC-MD5 [RFC - 2104] of the message, a 2-byte message type number in network byte - order with value 1, and the 4-byte sequence number in network byte - order. If the blocksize of the chosen cipher is not 1 byte, the - padding prefix is one or more octets each containing the number of - padding bytes, such that total length of the encrypted part of the - message is a multiple of the blocksize. The padding and first 10 - bytes of the MAC block are encrypted along with the message. - - SEAL(Ki, Kc, SeqNum, msg) = - {CIPHER(Kc, {msg, pad, HMAC(Ki, {SeqNum, msg})[0..9])}), 0x0001, - SeqNum} - - where CIPHER is the chosen cipher, Ki and Kc are Kic and Kcc for - messages sent by the client and Kis and Kcs for those sent by the - server. The sequence number is initialized to zero, and incremented - by one for each message sent. - - Upon receipt, the message is decrypted, HMAC(Ki, {SeqNum, msg}) is - computed and compared with the received value; the message is - discarded if they differ. - -3 Security Considerations - -3.1 Authentication of Clients using Digest Authentication - - Digest Authentication does not provide a strong authentication - mechanism, when compared to public key based mechanisms, for example. - However, since it prevents chosen plaintext attacks, it is stronger - than (e.g.) CRAM-MD5, which has been proposed for use with LDAP [10], - POP and IMAP (see RFC 2195 [9]). It is intended to replace the much - weaker and even more dangerous use of plaintext passwords; however, - since it is still a password based mechanism it avoids some of the - potential deployabilty issues with public-key, OTP or similar - mechanisms. - - - -Leach & Newman Standards Track [Page 15] - -RFC 2831 Digest SASL Mechanism May 2000 - - - Digest Authentication offers no confidentiality protection beyond - protecting the actual password. All of the rest of the challenge and - response are available to an eavesdropper, including the user's name - and authentication realm. - -3.2 Comparison of Digest with Plaintext Passwords - - The greatest threat to the type of transactions for which these - protocols are used is network snooping. This kind of transaction - might involve, for example, online access to a mail service whose use - is restricted to paying subscribers. With plaintext password - authentication an eavesdropper can obtain the password of the user. - This not only permits him to access anything in the database, but, - often worse, will permit access to anything else the user protects - with the same password. - -3.3 Replay Attacks - - Replay attacks are defeated if the client or the server chooses a - fresh nonce for each authentication, as this specification requires. - -3.4 Online dictionary attacks - - If the attacker can eavesdrop, then it can test any overheard - nonce/response pairs against a (potentially very large) list of - common words. Such a list is usually much smaller than the total - number of possible passwords. The cost of computing the response for - each password on the list is paid once for each challenge. - - The server can mitigate this attack by not allowing users to select - passwords that are in a dictionary. - -3.5 Offline dictionary attacks - - If the attacker can choose the challenge, then it can precompute the - possible responses to that challenge for a list of common words. Such - a list is usually much smaller than the total number of possible - passwords. The cost of computing the response for each password on - the list is paid just once. - - Offline dictionary attacks are defeated if the client chooses a fresh - nonce for each authentication, as this specification requires. - - - - - - - - - -Leach & Newman Standards Track [Page 16] - -RFC 2831 Digest SASL Mechanism May 2000 - - -3.6 Man in the Middle - - Digest authentication is vulnerable to "man in the middle" (MITM) - attacks. Clearly, a MITM would present all the problems of - eavesdropping. But it also offers some additional opportunities to - the attacker. - - A possible man-in-the-middle attack would be to substitute a weaker - qop scheme for the one(s) sent by the server; the server will not be - able to detect this attack. For this reason, the client should always - use the strongest scheme that it understands from the choices - offered, and should never choose a scheme that does not meet its - minimum requirements. - -3.7 Chosen plaintext attacks - - A chosen plaintext attack is where a MITM or a malicious server can - arbitrarily choose the challenge that the client will use to compute - the response. The ability to choose the challenge is known to make - cryptanalysis much easier [8]. - - However, Digest does not permit the attack to choose the challenge as - long as the client chooses a fresh nonce for each authentication, as - this specification requires. - -3.8 Spoofing by Counterfeit Servers - - If a user can be led to believe that she is connecting to a host - containing information protected by a password she knows, when in - fact she is connecting to a hostile server, then the hostile server - can obtain challenge/response pairs where it was able to partly - choose the challenge. There is no known way that this can be - exploited. - -3.9 Storing passwords - - Digest authentication requires that the authenticating agent (usually - the server) store some data derived from the user's name and password - in a "password file" associated with a given realm. Normally this - might contain pairs consisting of username and H({ username-value, - ":", realm-value, ":", passwd }), which is adequate to compute H(A1) - as described above without directly exposing the user's password. - - The security implications of this are that if this password file is - compromised, then an attacker gains immediate access to documents on - the server using this realm. Unlike, say a standard UNIX password - file, this information need not be decrypted in order to access - documents in the server realm associated with this file. On the other - - - -Leach & Newman Standards Track [Page 17] - -RFC 2831 Digest SASL Mechanism May 2000 - - - hand, decryption, or more likely a brute force attack, would be - necessary to obtain the user's password. This is the reason that the - realm is part of the digested data stored in the password file. It - means that if one Digest authentication password file is compromised, - it does not automatically compromise others with the same username - and password (though it does expose them to brute force attack). - - There are two important security consequences of this. First the - password file must be protected as if it contained plaintext - passwords, because for the purpose of accessing documents in its - realm, it effectively does. - - A second consequence of this is that the realm string should be - unique among all realms that any single user is likely to use. In - particular a realm string should include the name of the host doing - the authentication. - -3.10 Multiple realms - - Use of multiple realms may mean both that compromise of a the - security database for a single realm does not compromise all - security, and that there are more things to protect in order to keep - the whole system secure. - -3.11 Summary - - By modern cryptographic standards Digest Authentication is weak, - compared to (say) public key based mechanisms. But for a large range - of purposes it is valuable as a replacement for plaintext passwords. - Its strength may vary depending on the implementation. - -4 Example - - This example shows the use of the Digest SASL mechanism with the - IMAP4 AUTHENTICATE command [RFC 2060]. - - In this example, "C:" and "S:" represent a line sent by the client or - server respectively including a CRLF at the end. Linebreaks and - indentation within a "C:" or "S:" are editorial and not part of the - protocol. The password in this example was "secret". Note that the - base64 encoding of the challenges and responses is part of the IMAP4 - AUTHENTICATE command, not part of the Digest specification itself. - - S: * OK elwood.innosoft.com PMDF IMAP4rev1 V6.0-9 - C: c CAPABILITY - S: * CAPABILITY IMAP4 IMAP4rev1 ACL LITERAL+ NAMESPACE QUOTA - UIDPLUS AUTH=CRAM-MD5 AUTH=DIGEST-MD5 AUTH=PLAIN - S: c OK Completed - - - -Leach & Newman Standards Track [Page 18] - -RFC 2831 Digest SASL Mechanism May 2000 - - - C: a AUTHENTICATE DIGEST-MD5 - S: + cmVhbG09ImVsd29vZC5pbm5vc29mdC5jb20iLG5vbmNlPSJPQTZNRzl0 - RVFHbTJoaCIscW9wPSJhdXRoIixhbGdvcml0aG09bWQ1LXNlc3MsY2hh - cnNldD11dGYtOA== - C: Y2hhcnNldD11dGYtOCx1c2VybmFtZT0iY2hyaXMiLHJlYWxtPSJlbHdvb2 - QuaW5ub3NvZnQuY29tIixub25jZT0iT0E2TUc5dEVRR20yaGgiLG5jPTAw - MDAwMDAxLGNub25jZT0iT0E2TUhYaDZWcVRyUmsiLGRpZ2VzdC11cmk9Im - ltYXAvZWx3b29kLmlubm9zb2Z0LmNvbSIscmVzcG9uc2U9ZDM4OGRhZDkw - ZDRiYmQ3NjBhMTUyMzIxZjIxNDNhZjcscW9wPWF1dGg= - S: + cnNwYXV0aD1lYTQwZjYwMzM1YzQyN2I1NTI3Yjg0ZGJhYmNkZmZmZA== - C: - S: a OK User logged in - --- - - The base64-decoded version of the SASL exchange is: - - S: realm="elwood.innosoft.com",nonce="OA6MG9tEQGm2hh",qop="auth", - algorithm=md5-sess,charset=utf-8 - C: charset=utf-8,username="chris",realm="elwood.innosoft.com", - nonce="OA6MG9tEQGm2hh",nc=00000001,cnonce="OA6MHXh6VqTrRk", - digest-uri="imap/elwood.innosoft.com", - response=d388dad90d4bbd760a152321f2143af7,qop=auth - S: rspauth=ea40f60335c427b5527b84dbabcdfffd - - The password in this example was "secret". - - This example shows the use of the Digest SASL mechanism with the - ACAP, using the same notational conventions and password as in the - previous example. Note that ACAP does not base64 encode and uses - fewer round trips that IMAP4. - - S: * ACAP (IMPLEMENTATION "Test ACAP server") (SASL "CRAM-MD5" - "DIGEST-MD5" "PLAIN") - C: a AUTHENTICATE "DIGEST-MD5" - S: + {94} - S: realm="elwood.innosoft.com",nonce="OA9BSXrbuRhWay",qop="auth", - algorithm=md5-sess,charset=utf-8 - C: {206} - C: charset=utf-8,username="chris",realm="elwood.innosoft.com", - nonce="OA9BSXrbuRhWay",nc=00000001,cnonce="OA9BSuZWMSpW8m", - digest-uri="acap/elwood.innosoft.com", - response=6084c6db3fede7352c551284490fd0fc,qop=auth - S: a OK (SASL {40} - S: rspauth=2f0b3d7c3c2e486600ef710726aa2eae) "AUTHENTICATE - Completed" - --- - - - - - -Leach & Newman Standards Track [Page 19] - -RFC 2831 Digest SASL Mechanism May 2000 - - - The server uses the values of all the directives, plus knowledge of - the users password (or the hash of the user's name, server's realm - and the user's password) to verify the computations above. If they - check, then the user has authenticated. - -5 References - - [Digest] Franks, J., et al., "HTTP Authentication: Basic and Digest - Access Authentication", RFC 2617, June 1999. - - [ISO-8859] ISO-8859. International Standard--Information Processing-- - 8-bit Single-Byte Coded Graphic Character Sets -- - Part 1: Latin alphabet No. 1, ISO-8859-1:1987. - Part 2: Latin alphabet No. 2, ISO-8859-2, 1987. - Part 3: Latin alphabet No. 3, ISO-8859-3, 1988. - Part 4: Latin alphabet No. 4, ISO-8859-4, 1988. - Part 5: Latin/Cyrillic alphabet, ISO-8859-5, 1988. - Part 6: Latin/Arabic alphabet, ISO-8859-6, 1987. - Part 7: Latin/Greek alphabet, ISO-8859-7, 1987. - Part 8: Latin/Hebrew alphabet, ISO-8859-8, 1988. - Part 9: Latin alphabet No. 5, ISO-8859-9, 1990. - - [RFC 822] Crocker, D., "Standard for The Format of ARPA Internet - Text Messages," STD 11, RFC 822, August 1982. - - [RFC 1321] Rivest, R., "The MD5 Message-Digest Algorithm", RFC 1321, - April 1992. - - [RFC 2047] Moore, K., "MIME (Multipurpose Internet Mail Extensions) - Part Three: Message Header Extensions for Non-ASCII Text", - RFC 2047, November 1996. - - [RFC 2052] Gulbrandsen, A. and P. Vixie, "A DNS RR for specifying the - location of services (DNS SRV)", RFC 2052, October 1996. - - [RFC 2060] Crispin, M., "Internet Message Access Protocol - Version - 4rev1", RFC 2060, December 1996. - - [RFC 2104] Krawczyk, H., Bellare, M. and R. Canetti, "HMAC: Keyed- - Hashing for Message Authentication", RFC 2104, February - 1997. - - [RFC 2195] Klensin, J., Catoe, R. and P. Krumviede, "IMAP/POP - AUTHorize Extension for Simple Challenge/Response", RFC - 2195, September 1997. - - - - - - -Leach & Newman Standards Track [Page 20] - -RFC 2831 Digest SASL Mechanism May 2000 - - - [RFC 2119] Bradner, S., "Key words for use in RFCs to Indicate - Requirement Levels", BCP 14, RFC 2119, March 1997. - - [RFC 2222] Myers, J., "Simple Authentication and Security Layer - (SASL)", RFC 2222, October 1997. - - [USASCII] US-ASCII. Coded Character Set - 7-Bit American Standard - Code for Information Interchange. Standard ANSI X3.4-1986, - ANSI, 1986. - -6 Authors' Addresses - - Paul Leach - Microsoft - 1 Microsoft Way - Redmond, WA 98052 - - EMail: paulle@microsoft.com - - - Chris Newman - Innosoft International, Inc. - 1050 Lakes Drive - West Covina, CA 91790 USA - - EMail: chris.newman@innosoft.com - -7 ABNF - - What follows is the definition of the notation as is used in the - HTTP/1.1 specification (RFC 2616) and the HTTP authentication - specification (RFC 2617); it is reproduced here for ease of - reference. Since it is intended that a single Digest implementation - can support both HTTP and SASL-based protocols, the same notation is - used in both to facilitate comparison and prevention of unwanted - differences. Since it is cut-and-paste from the HTTP specifications, - not all productions may be used in this specification. It is also not - quite legal ABNF; again, the errors were copied from the HTTP - specifications. - -7.1 Augmented BNF - - All of the mechanisms specified in this document are described in - both prose and an augmented Backus-Naur Form (BNF) similar to that - used by RFC 822 [RFC 822]. Implementers will need to be familiar with - the notation in order to understand this specification. - - - - - -Leach & Newman Standards Track [Page 21] - -RFC 2831 Digest SASL Mechanism May 2000 - - - The augmented BNF includes the following constructs: - - name = definition - The name of a rule is simply the name itself (without any - enclosing "<" and ">") and is separated from its definition by the - equal "=" character. White space is only significant in that - indentation of continuation lines is used to indicate a rule - definition that spans more than one line. Certain basic rules are - in uppercase, such as SP, LWS, HT, CRLF, DIGIT, ALPHA, etc. Angle - brackets are used within definitions whenever their presence will - facilitate discerning the use of rule names. - - "literal" - Quotation marks surround literal text. Unless stated otherwise, - the text is case-insensitive. - - rule1 | rule2 - Elements separated by a bar ("|") are alternatives, e.g., "yes | - no" will accept yes or no. - - (rule1 rule2) - Elements enclosed in parentheses are treated as a single element. - Thus, "(elem (foo | bar) elem)" allows the token sequences - "elem foo elem" and "elem bar elem". - - *rule - The character "*" preceding an element indicates repetition. The - full form is "*element" indicating at least and at most - occurrences of element. Default values are 0 and infinity so - that "*(element)" allows any number, including zero; "1*element" - requires at least one; and "1*2element" allows one or two. - - [rule] - Square brackets enclose optional elements; "[foo bar]" is - equivalent to "*1(foo bar)". - - N rule - Specific repetition: "(element)" is equivalent to - "*(element)"; that is, exactly occurrences of (element). - Thus 2DIGIT is a 2-digit number, and 3ALPHA is a string of three - alphabetic characters. - - #rule - A construct "#" is defined, similar to "*", for defining lists of - elements. The full form is "#element" indicating at least - and at most elements, each separated by one or more commas - (",") and OPTIONAL linear white space (LWS). This makes the usual - form of lists very easy; a rule such as - - - -Leach & Newman Standards Track [Page 22] - -RFC 2831 Digest SASL Mechanism May 2000 - - - ( *LWS element *( *LWS "," *LWS element )) - can be shown as - 1#element - Wherever this construct is used, null elements are allowed, but do - not contribute to the count of elements present. That is, - "(element), , (element) " is permitted, but counts as only two - elements. Therefore, where at least one element is required, at - least one non-null element MUST be present. Default values are 0 - and infinity so that "#element" allows any number, including zero; - "1#element" requires at least one; and "1#2element" allows one or - two. - - ; comment - A semi-colon, set off some distance to the right of rule text, - starts a comment that continues to the end of line. This is a - simple way of including useful notes in parallel with the - specifications. - - implied *LWS - The grammar described by this specification is word-based. Except - where noted otherwise, linear white space (LWS) can be included - between any two adjacent words (token or quoted-string), and - between adjacent words and separators, without changing the - interpretation of a field. At least one delimiter (LWS and/or - separators) MUST exist between any two tokens (for the definition - of "token" below), since they would otherwise be interpreted as a - single token. - -7.2 Basic Rules - - The following rules are used throughout this specification to - describe basic parsing constructs. The US-ASCII coded character set - is defined by ANSI X3.4-1986 [USASCII]. - - OCTET = - CHAR = - UPALPHA = - LOALPHA = - ALPHA = UPALPHA | LOALPHA - DIGIT = - CTL = - CR = - LF = - SP = - HT = - <"> = - CRLF = CR LF - - - -Leach & Newman Standards Track [Page 23] - -RFC 2831 Digest SASL Mechanism May 2000 - - - - All linear white space, including folding, has the same semantics as - SP. A recipient MAY replace any linear white space with a single SP - before interpreting the field value or forwarding the message - downstream. - - LWS = [CRLF] 1*( SP | HT ) - - The TEXT rule is only used for descriptive field contents and values - that are not intended to be interpreted by the message parser. Words - of *TEXT MAY contain characters from character sets other than - ISO-8859-1 [ISO 8859] only when encoded according to the rules of RFC - 2047 [RFC 2047]. - - TEXT = - - A CRLF is allowed in the definition of TEXT only as part of a header - field continuation. It is expected that the folding LWS will be - replaced with a single SP before interpretation of the TEXT value. - - Hexadecimal numeric characters are used in several protocol elements. - - HEX = "A" | "B" | "C" | "D" | "E" | "F" - | "a" | "b" | "c" | "d" | "e" | "f" | DIGIT - - Many HTTP/1.1 header field values consist of words separated by LWS - or special characters. These special characters MUST be in a quoted - string to be used within a parameter value. - - token = 1* - separators = "(" | ")" | "<" | ">" | "@" - | "," | ";" | ":" | "\" | <"> - | "/" | "[" | "]" | "?" | "=" - | "{" | "}" | SP | HT - - A string of text is parsed as a single word if it is quoted using - double-quote marks. - - quoted-string = ( <"> qdstr-val <"> ) - qdstr-val = *( qdtext | quoted-pair ) - qdtext = > - - Note that LWS is NOT implicit between the double-quote marks (<">) - surrounding a qdstr-val and the qdstr-val; any LWS will be considered - part of the qdstr-val. This is also the case for quotation marks - surrounding any other construct. - - - - -Leach & Newman Standards Track [Page 24] - -RFC 2831 Digest SASL Mechanism May 2000 - - - The backslash character ("\") MAY be used as a single-character - quoting mechanism only within qdstr-val and comment constructs. - - quoted-pair = "\" CHAR - - The value of this construct is CHAR. Note that an effect of this rule - is that backslash must be quoted. - -8 Sample Code - - The sample implementation in [Digest] also applies to DIGEST-MD5. - - The following code implements the conversion from UTF-8 to 8859-1 if - necessary. - - /* if the string is entirely in the 8859-1 subset of UTF-8, then - * translate to 8859-1 prior to MD5 - */ - void MD5_UTF8_8859_1(MD5_CTX *ctx, const unsigned char *base, - int len) - { - const unsigned char *scan, *end; - unsigned char cbuf; - - end = base + len; - for (scan = base; scan < end; ++scan) { - if (*scan > 0xC3) break; /* abort if outside 8859-1 */ - if (*scan >= 0xC0 && *scan <= 0xC3) { - if (++scan == end || *scan < 0x80 || *scan > 0xBF) - break; - } - } - /* if we found a character outside 8859-1, don't alter string - */ - if (scan < end) { - MD5Update(ctx, base, len); - return; - } - - /* convert to 8859-1 prior to applying hash - */ - do { - for (scan = base; scan < end && *scan < 0xC0; ++scan) - ; - if (scan != base) MD5Update(ctx, base, scan - base); - if (scan + 1 >= end) break; - cbuf = ((scan[0] & 0x3) << 6) | (scan[1] & 0x3f); - MD5Update(ctx, &cbuf, 1); - - - -Leach & Newman Standards Track [Page 25] - -RFC 2831 Digest SASL Mechanism May 2000 - - - base = scan + 2; - } while (base < end); - } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Leach & Newman Standards Track [Page 26] - -RFC 2831 Digest SASL Mechanism May 2000 - - -9 Full Copyright Statement - - Copyright (C) The Internet Society (2000). All Rights Reserved. - - This document and translations of it may be copied and furnished to - others, and derivative works that comment on or otherwise explain it - or assist in its implementation may be prepared, copied, published - and distributed, in whole or in part, without restriction of any - kind, provided that the above copyright notice and this paragraph are - included on all such copies and derivative works. However, this - document itself may not be modified in any way, such as by removing - the copyright notice or references to the Internet Society or other - Internet organizations, except as needed for the purpose of - developing Internet standards in which case the procedures for - copyrights defined in the Internet Standards process must be - followed, or as required to translate it into languages other than - English. - - The limited permissions granted above are perpetual and will not be - revoked by the Internet Society or its successors or assigns. - - This document and the information contained herein is provided on an - "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING - TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION - HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF - MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. - -Acknowledgement - - Funding for the RFC Editor function is currently provided by the - Internet Society. - - - - - - - - - - - - - - - - - - - -Leach & Newman Standards Track [Page 27] - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc3174.txt.svn-base b/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc3174.txt.svn-base deleted file mode 100644 index ebe515d..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/.svn/text-base/rfc3174.txt.svn-base +++ /dev/null @@ -1,1235 +0,0 @@ - - - - - - -Network Working Group D. Eastlake, 3rd -Request for Comments: 3174 Motorola -Category: Informational P. Jones - Cisco Systems - September 2001 - - - US Secure Hash Algorithm 1 (SHA1) - -Status of this Memo - - This memo provides information for the Internet community. It does - not specify an Internet standard of any kind. Distribution of this - memo is unlimited. - -Copyright Notice - - Copyright (C) The Internet Society (2001). All Rights Reserved. - -Abstract - - The purpose of this document is to make the SHA-1 (Secure Hash - Algorithm 1) hash algorithm conveniently available to the Internet - community. The United States of America has adopted the SHA-1 hash - algorithm described herein as a Federal Information Processing - Standard. Most of the text herein was taken by the authors from FIPS - 180-1. Only the C code implementation is "original". - -Acknowledgements - - Most of the text herein was taken from [FIPS 180-1]. Only the C code - implementation is "original" but its style is similar to the - previously published MD4 and MD5 RFCs [RFCs 1320, 1321]. - - The SHA-1 is based on principles similar to those used by Professor - Ronald L. Rivest of MIT when designing the MD4 message digest - algorithm [MD4] and is modeled after that algorithm [RFC 1320]. - - Useful comments from the following, which have been incorporated - herein, are gratefully acknowledged: - - Tony Hansen - Garrett Wollman - - - - - - - - -Eastlake & Jones Informational [Page 1] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - -Table of Contents - - 1. Overview of Contents........................................... 2 - 2. Definitions of Bit Strings and Integers........................ 3 - 3. Operations on Words............................................ 3 - 4. Message Padding................................................ 4 - 5. Functions and Constants Used................................... 6 - 6. Computing the Message Digest................................... 6 - 6.1 Method 1...................................................... 6 - 6.2 Method 2...................................................... 7 - 7. C Code......................................................... 8 - 7.1 .h file....................................................... 8 - 7.2 .c file....................................................... 10 - 7.3 Test Driver................................................... 18 - 8. Security Considerations........................................ 20 - References........................................................ 21 - Authors' Addresses................................................ 21 - Full Copyright Statement.......................................... 22 - -1. Overview of Contents - - NOTE: The text below is mostly taken from [FIPS 180-1] and assertions - therein of the security of SHA-1 are made by the US Government, the - author of [FIPS 180-1], and not by the authors of this document. - - This document specifies a Secure Hash Algorithm, SHA-1, for computing - a condensed representation of a message or a data file. When a - message of any length < 2^64 bits is input, the SHA-1 produces a - 160-bit output called a message digest. The message digest can then, - for example, be input to a signature algorithm which generates or - verifies the signature for the message. Signing the message digest - rather than the message often improves the efficiency of the process - because the message digest is usually much smaller in size than the - message. The same hash algorithm must be used by the verifier of a - digital signature as was used by the creator of the digital - signature. Any change to the message in transit will, with very high - probability, result in a different message digest, and the signature - will fail to verify. - - The SHA-1 is called secure because it is computationally infeasible - to find a message which corresponds to a given message digest, or to - find two different messages which produce the same message digest. - Any change to a message in transit will, with very high probability, - result in a different message digest, and the signature will fail to - verify. - - - - - - -Eastlake & Jones Informational [Page 2] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - Section 2 below defines the terminology and functions used as - building blocks to form SHA-1. - -2. Definitions of Bit Strings and Integers - - The following terminology related to bit strings and integers will be - used: - - a. A hex digit is an element of the set {0, 1, ... , 9, A, ... , F}. - A hex digit is the representation of a 4-bit string. Examples: 7 - = 0111, A = 1010. - - b. A word equals a 32-bit string which may be represented as a - sequence of 8 hex digits. To convert a word to 8 hex digits each - 4-bit string is converted to its hex equivalent as described in - (a) above. Example: - - 1010 0001 0000 0011 1111 1110 0010 0011 = A103FE23. - - c. An integer between 0 and 2^32 - 1 inclusive may be represented as - a word. The least significant four bits of the integer are - represented by the right-most hex digit of the word - representation. Example: the integer 291 = 2^8+2^5+2^1+2^0 = - 256+32+2+1 is represented by the hex word, 00000123. - - If z is an integer, 0 <= z < 2^64, then z = (2^32)x + y where 0 <= - x < 2^32 and 0 <= y < 2^32. Since x and y can be represented as - words X and Y, respectively, z can be represented as the pair of - words (X,Y). - - d. block = 512-bit string. A block (e.g., B) may be represented as a - sequence of 16 words. - -3. Operations on Words - - The following logical operators will be applied to words: - - a. Bitwise logical word operations - - X AND Y = bitwise logical "and" of X and Y. - - X OR Y = bitwise logical "inclusive-or" of X and Y. - - X XOR Y = bitwise logical "exclusive-or" of X and Y. - - NOT X = bitwise logical "complement" of X. - - - - - -Eastlake & Jones Informational [Page 3] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - Example: - - 01101100101110011101001001111011 - XOR 01100101110000010110100110110111 - -------------------------------- - = 00001001011110001011101111001100 - - b. The operation X + Y is defined as follows: words X and Y - represent integers x and y, where 0 <= x < 2^32 and 0 <= y < 2^32. - For positive integers n and m, let n mod m be the remainder upon - dividing n by m. Compute - - z = (x + y) mod 2^32. - - Then 0 <= z < 2^32. Convert z to a word, Z, and define Z = X + - Y. - - c. The circular left shift operation S^n(X), where X is a word and n - is an integer with 0 <= n < 32, is defined by - - S^n(X) = (X << n) OR (X >> 32-n). - - In the above, X << n is obtained as follows: discard the left-most - n bits of X and then pad the result with n zeroes on the right - (the result will still be 32 bits). X >> n is obtained by - discarding the right-most n bits of X and then padding the result - with n zeroes on the left. Thus S^n(X) is equivalent to a - circular shift of X by n positions to the left. - -4. Message Padding - - SHA-1 is used to compute a message digest for a message or data file - that is provided as input. The message or data file should be - considered to be a bit string. The length of the message is the - number of bits in the message (the empty message has length 0). If - the number of bits in a message is a multiple of 8, for compactness - we can represent the message in hex. The purpose of message padding - is to make the total length of a padded message a multiple of 512. - SHA-1 sequentially processes blocks of 512 bits when computing the - message digest. The following specifies how this padding shall be - performed. As a summary, a "1" followed by m "0"s followed by a 64- - bit integer are appended to the end of the message to produce a - padded message of length 512 * n. The 64-bit integer is the length - of the original message. The padded message is then processed by the - SHA-1 as n 512-bit blocks. - - - - - - -Eastlake & Jones Informational [Page 4] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - Suppose a message has length l < 2^64. Before it is input to the - SHA-1, the message is padded on the right as follows: - - a. "1" is appended. Example: if the original message is "01010000", - this is padded to "010100001". - - b. "0"s are appended. The number of "0"s will depend on the original - length of the message. The last 64 bits of the last 512-bit block - are reserved - - for the length l of the original message. - - Example: Suppose the original message is the bit string - - 01100001 01100010 01100011 01100100 01100101. - - After step (a) this gives - - 01100001 01100010 01100011 01100100 01100101 1. - - Since l = 40, the number of bits in the above is 41 and 407 "0"s - are appended, making the total now 448. This gives (in hex) - - 61626364 65800000 00000000 00000000 - 00000000 00000000 00000000 00000000 - 00000000 00000000 00000000 00000000 - 00000000 00000000. - - c. Obtain the 2-word representation of l, the number of bits in the - original message. If l < 2^32 then the first word is all zeroes. - Append these two words to the padded message. - - Example: Suppose the original message is as in (b). Then l = 40 - (note that l is computed before any padding). The two-word - representation of 40 is hex 00000000 00000028. Hence the final - padded message is hex - - 61626364 65800000 00000000 00000000 - 00000000 00000000 00000000 00000000 - 00000000 00000000 00000000 00000000 - 00000000 00000000 00000000 00000028. - - The padded message will contain 16 * n words for some n > 0. - The padded message is regarded as a sequence of n blocks M(1) , - M(2), first characters (or bits) of the message. - - - - - - -Eastlake & Jones Informational [Page 5] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - -5. Functions and Constants Used - - A sequence of logical functions f(0), f(1),..., f(79) is used in - SHA-1. Each f(t), 0 <= t <= 79, operates on three 32-bit words B, C, - D and produces a 32-bit word as output. f(t;B,C,D) is defined as - follows: for words B, C, D, - - f(t;B,C,D) = (B AND C) OR ((NOT B) AND D) ( 0 <= t <= 19) - - f(t;B,C,D) = B XOR C XOR D (20 <= t <= 39) - - f(t;B,C,D) = (B AND C) OR (B AND D) OR (C AND D) (40 <= t <= 59) - - f(t;B,C,D) = B XOR C XOR D (60 <= t <= 79). - - A sequence of constant words K(0), K(1), ... , K(79) is used in the - SHA-1. In hex these are given by - - K(t) = 5A827999 ( 0 <= t <= 19) - - K(t) = 6ED9EBA1 (20 <= t <= 39) - - K(t) = 8F1BBCDC (40 <= t <= 59) - - K(t) = CA62C1D6 (60 <= t <= 79). - -6. Computing the Message Digest - - The methods given in 6.1 and 6.2 below yield the same message digest. - Although using method 2 saves sixty-four 32-bit words of storage, it - is likely to lengthen execution time due to the increased complexity - of the address computations for the { W[t] } in step (c). There are - other computation methods which give identical results. - -6.1 Method 1 - - The message digest is computed using the message padded as described - in section 4. The computation is described using two buffers, each - consisting of five 32-bit words, and a sequence of eighty 32-bit - words. The words of the first 5-word buffer are labeled A,B,C,D,E. - The words of the second 5-word buffer are labeled H0, H1, H2, H3, H4. - The words of the 80-word sequence are labeled W(0), W(1),..., W(79). - A single word buffer TEMP is also employed. - - To generate the message digest, the 16-word blocks M(1), M(2),..., - M(n) defined in section 4 are processed in order. The processing of - each M(i) involves 80 steps. - - - - -Eastlake & Jones Informational [Page 6] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - Before processing any blocks, the H's are initialized as follows: in - hex, - - H0 = 67452301 - - H1 = EFCDAB89 - - H2 = 98BADCFE - - H3 = 10325476 - - H4 = C3D2E1F0. - - Now M(1), M(2), ... , M(n) are processed. To process M(i), we - proceed as follows: - - a. Divide M(i) into 16 words W(0), W(1), ... , W(15), where W(0) - is the left-most word. - - b. For t = 16 to 79 let - - W(t) = S^1(W(t-3) XOR W(t-8) XOR W(t-14) XOR W(t-16)). - - c. Let A = H0, B = H1, C = H2, D = H3, E = H4. - - d. For t = 0 to 79 do - - TEMP = S^5(A) + f(t;B,C,D) + E + W(t) + K(t); - - E = D; D = C; C = S^30(B); B = A; A = TEMP; - - e. Let H0 = H0 + A, H1 = H1 + B, H2 = H2 + C, H3 = H3 + D, H4 = H4 - + E. - - After processing M(n), the message digest is the 160-bit string - represented by the 5 words - - H0 H1 H2 H3 H4. - -6.2 Method 2 - - The method above assumes that the sequence W(0), ... , W(79) is - implemented as an array of eighty 32-bit words. This is efficient - from the standpoint of minimization of execution time, since the - addresses of W(t-3), ... ,W(t-16) in step (b) are easily computed. - If space is at a premium, an alternative is to regard { W(t) } as a - - - - - -Eastlake & Jones Informational [Page 7] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - circular queue, which may be implemented using an array of sixteen - 32-bit words W[0], ... W[15]. In this case, in hex let - - MASK = 0000000F. Then processing of M(i) is as follows: - - a. Divide M(i) into 16 words W[0], ... , W[15], where W[0] is the - left-most word. - - b. Let A = H0, B = H1, C = H2, D = H3, E = H4. - - c. For t = 0 to 79 do - - s = t AND MASK; - - if (t >= 16) W[s] = S^1(W[(s + 13) AND MASK] XOR W[(s + 8) AND - MASK] XOR W[(s + 2) AND MASK] XOR W[s]); - - TEMP = S^5(A) + f(t;B,C,D) + E + W[s] + K(t); - - E = D; D = C; C = S^30(B); B = A; A = TEMP; - - d. Let H0 = H0 + A, H1 = H1 + B, H2 = H2 + C, H3 = H3 + D, H4 = H4 - + E. - -7. C Code - - Below is a demonstration implementation of SHA-1 in C. Section 7.1 - contains the header file, 7.2 the C code, and 7.3 a test driver. - -7.1 .h file - -/* - * sha1.h - * - * Description: - * This is the header file for code which implements the Secure - * Hashing Algorithm 1 as defined in FIPS PUB 180-1 published - * April 17, 1995. - * - * Many of the variable names in this code, especially the - * single character names, were used because those were the names - * used in the publication. - * - * Please read the file sha1.c for more information. - * - */ - - - - - -Eastlake & Jones Informational [Page 8] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - -#ifndef _SHA1_H_ -#define _SHA1_H_ - -#include -/* - * If you do not have the ISO standard stdint.h header file, then you - * must typdef the following: - * name meaning - * uint32_t unsigned 32 bit integer - * uint8_t unsigned 8 bit integer (i.e., unsigned char) - * int_least16_t integer of >= 16 bits - * - */ - -#ifndef _SHA_enum_ -#define _SHA_enum_ -enum -{ - shaSuccess = 0, - shaNull, /* Null pointer parameter */ - shaInputTooLong, /* input data too long */ - shaStateError /* called Input after Result */ -}; -#endif -#define SHA1HashSize 20 - -/* - * This structure will hold context information for the SHA-1 - * hashing operation - */ -typedef struct SHA1Context -{ - uint32_t Intermediate_Hash[SHA1HashSize/4]; /* Message Digest */ - - uint32_t Length_Low; /* Message length in bits */ - uint32_t Length_High; /* Message length in bits */ - - /* Index into message block array */ - int_least16_t Message_Block_Index; - uint8_t Message_Block[64]; /* 512-bit message blocks */ - - int Computed; /* Is the digest computed? */ - int Corrupted; /* Is the message digest corrupted? */ -} SHA1Context; - -/* - * Function Prototypes - */ - - - -Eastlake & Jones Informational [Page 9] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - -int SHA1Reset( SHA1Context *); -int SHA1Input( SHA1Context *, - const uint8_t *, - unsigned int); -int SHA1Result( SHA1Context *, - uint8_t Message_Digest[SHA1HashSize]); - -#endif - -7.2 .c file - -/* - * sha1.c - * - * Description: - * This file implements the Secure Hashing Algorithm 1 as - * defined in FIPS PUB 180-1 published April 17, 1995. - * - * The SHA-1, produces a 160-bit message digest for a given - * data stream. It should take about 2**n steps to find a - * message with the same digest as a given message and - * 2**(n/2) to find any two messages with the same digest, - * when n is the digest size in bits. Therefore, this - * algorithm can serve as a means of providing a - * "fingerprint" for a message. - * - * Portability Issues: - * SHA-1 is defined in terms of 32-bit "words". This code - * uses (included via "sha1.h" to define 32 and 8 - * bit unsigned integer types. If your C compiler does not - * support 32 bit unsigned integers, this code is not - * appropriate. - * - * Caveats: - * SHA-1 is designed to work with messages less than 2^64 bits - * long. Although SHA-1 allows a message digest to be generated - * for messages of any number of bits less than 2^64, this - * implementation only works with messages with a length that is - * a multiple of the size of an 8-bit character. - * - */ - - - - - - - - - - -Eastlake & Jones Informational [Page 10] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - -#include "sha1.h" - -/* - * Define the SHA1 circular left shift macro - */ -#define SHA1CircularShift(bits,word) \ - (((word) << (bits)) | ((word) >> (32-(bits)))) - -/* Local Function Prototyptes */ -void SHA1PadMessage(SHA1Context *); -void SHA1ProcessMessageBlock(SHA1Context *); - -/* - * SHA1Reset - * - * Description: - * This function will initialize the SHA1Context in preparation - * for computing a new SHA1 message digest. - * - * Parameters: - * context: [in/out] - * The context to reset. - * - * Returns: - * sha Error Code. - * - */ -int SHA1Reset(SHA1Context *context) -{ - if (!context) - { - return shaNull; - } - - context->Length_Low = 0; - context->Length_High = 0; - context->Message_Block_Index = 0; - - context->Intermediate_Hash[0] = 0x67452301; - context->Intermediate_Hash[1] = 0xEFCDAB89; - context->Intermediate_Hash[2] = 0x98BADCFE; - context->Intermediate_Hash[3] = 0x10325476; - context->Intermediate_Hash[4] = 0xC3D2E1F0; - - context->Computed = 0; - context->Corrupted = 0; - - - - - -Eastlake & Jones Informational [Page 11] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - return shaSuccess; -} - -/* - * SHA1Result - * - * Description: - * This function will return the 160-bit message digest into the - * Message_Digest array provided by the caller. - * NOTE: The first octet of hash is stored in the 0th element, - * the last octet of hash in the 19th element. - * - * Parameters: - * context: [in/out] - * The context to use to calculate the SHA-1 hash. - * Message_Digest: [out] - * Where the digest is returned. - * - * Returns: - * sha Error Code. - * - */ -int SHA1Result( SHA1Context *context, - uint8_t Message_Digest[SHA1HashSize]) -{ - int i; - - if (!context || !Message_Digest) - { - return shaNull; - } - - if (context->Corrupted) - { - return context->Corrupted; - } - - if (!context->Computed) - { - SHA1PadMessage(context); - for(i=0; i<64; ++i) - { - /* message may be sensitive, clear it out */ - context->Message_Block[i] = 0; - } - context->Length_Low = 0; /* and clear length */ - context->Length_High = 0; - context->Computed = 1; - - - -Eastlake & Jones Informational [Page 12] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - } - - for(i = 0; i < SHA1HashSize; ++i) - { - Message_Digest[i] = context->Intermediate_Hash[i>>2] - >> 8 * ( 3 - ( i & 0x03 ) ); - } - - return shaSuccess; -} - -/* - * SHA1Input - * - * Description: - * This function accepts an array of octets as the next portion - * of the message. - * - * Parameters: - * context: [in/out] - * The SHA context to update - * message_array: [in] - * An array of characters representing the next portion of - * the message. - * length: [in] - * The length of the message in message_array - * - * Returns: - * sha Error Code. - * - */ -int SHA1Input( SHA1Context *context, - const uint8_t *message_array, - unsigned length) -{ - if (!length) - { - return shaSuccess; - } - - if (!context || !message_array) - { - return shaNull; - } - - if (context->Computed) - { - context->Corrupted = shaStateError; - - - -Eastlake & Jones Informational [Page 13] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - return shaStateError; - } - - if (context->Corrupted) - { - return context->Corrupted; - } - while(length-- && !context->Corrupted) - { - context->Message_Block[context->Message_Block_Index++] = - (*message_array & 0xFF); - - context->Length_Low += 8; - if (context->Length_Low == 0) - { - context->Length_High++; - if (context->Length_High == 0) - { - /* Message is too long */ - context->Corrupted = 1; - } - } - - if (context->Message_Block_Index == 64) - { - SHA1ProcessMessageBlock(context); - } - - message_array++; - } - - return shaSuccess; -} - -/* - * SHA1ProcessMessageBlock - * - * Description: - * This function will process the next 512 bits of the message - * stored in the Message_Block array. - * - * Parameters: - * None. - * - * Returns: - * Nothing. - * - * Comments: - - - -Eastlake & Jones Informational [Page 14] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - * Many of the variable names in this code, especially the - * single character names, were used because those were the - * names used in the publication. - * - * - */ -void SHA1ProcessMessageBlock(SHA1Context *context) -{ - const uint32_t K[] = { /* Constants defined in SHA-1 */ - 0x5A827999, - 0x6ED9EBA1, - 0x8F1BBCDC, - 0xCA62C1D6 - }; - int t; /* Loop counter */ - uint32_t temp; /* Temporary word value */ - uint32_t W[80]; /* Word sequence */ - uint32_t A, B, C, D, E; /* Word buffers */ - - /* - * Initialize the first 16 words in the array W - */ - for(t = 0; t < 16; t++) - { - W[t] = context->Message_Block[t * 4] << 24; - W[t] |= context->Message_Block[t * 4 + 1] << 16; - W[t] |= context->Message_Block[t * 4 + 2] << 8; - W[t] |= context->Message_Block[t * 4 + 3]; - } - - for(t = 16; t < 80; t++) - { - W[t] = SHA1CircularShift(1,W[t-3] ^ W[t-8] ^ W[t-14] ^ W[t-16]); - } - - A = context->Intermediate_Hash[0]; - B = context->Intermediate_Hash[1]; - C = context->Intermediate_Hash[2]; - D = context->Intermediate_Hash[3]; - E = context->Intermediate_Hash[4]; - - for(t = 0; t < 20; t++) - { - temp = SHA1CircularShift(5,A) + - ((B & C) | ((~B) & D)) + E + W[t] + K[0]; - E = D; - D = C; - C = SHA1CircularShift(30,B); - - - -Eastlake & Jones Informational [Page 15] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - B = A; - A = temp; - } - - for(t = 20; t < 40; t++) - { - temp = SHA1CircularShift(5,A) + (B ^ C ^ D) + E + W[t] + K[1]; - E = D; - D = C; - C = SHA1CircularShift(30,B); - B = A; - A = temp; - } - - for(t = 40; t < 60; t++) - { - temp = SHA1CircularShift(5,A) + - ((B & C) | (B & D) | (C & D)) + E + W[t] + K[2]; - E = D; - D = C; - C = SHA1CircularShift(30,B); - B = A; - A = temp; - } - - for(t = 60; t < 80; t++) - { - temp = SHA1CircularShift(5,A) + (B ^ C ^ D) + E + W[t] + K[3]; - E = D; - D = C; - C = SHA1CircularShift(30,B); - B = A; - A = temp; - } - - context->Intermediate_Hash[0] += A; - context->Intermediate_Hash[1] += B; - context->Intermediate_Hash[2] += C; - context->Intermediate_Hash[3] += D; - context->Intermediate_Hash[4] += E; - - context->Message_Block_Index = 0; -} - - -/* - * SHA1PadMessage - * - - - -Eastlake & Jones Informational [Page 16] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - * Description: - * According to the standard, the message must be padded to an even - * 512 bits. The first padding bit must be a '1'. The last 64 - * bits represent the length of the original message. All bits in - * between should be 0. This function will pad the message - * according to those rules by filling the Message_Block array - * accordingly. It will also call the ProcessMessageBlock function - * provided appropriately. When it returns, it can be assumed that - * the message digest has been computed. - * - * Parameters: - * context: [in/out] - * The context to pad - * ProcessMessageBlock: [in] - * The appropriate SHA*ProcessMessageBlock function - * Returns: - * Nothing. - * - */ - -void SHA1PadMessage(SHA1Context *context) -{ - /* - * Check to see if the current message block is too small to hold - * the initial padding bits and length. If so, we will pad the - * block, process it, and then continue padding into a second - * block. - */ - if (context->Message_Block_Index > 55) - { - context->Message_Block[context->Message_Block_Index++] = 0x80; - while(context->Message_Block_Index < 64) - { - context->Message_Block[context->Message_Block_Index++] = 0; - } - - SHA1ProcessMessageBlock(context); - - while(context->Message_Block_Index < 56) - { - context->Message_Block[context->Message_Block_Index++] = 0; - } - } - else - { - context->Message_Block[context->Message_Block_Index++] = 0x80; - while(context->Message_Block_Index < 56) - { - - - -Eastlake & Jones Informational [Page 17] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - context->Message_Block[context->Message_Block_Index++] = 0; - } - } - - /* - * Store the message length as the last 8 octets - */ - context->Message_Block[56] = context->Length_High >> 24; - context->Message_Block[57] = context->Length_High >> 16; - context->Message_Block[58] = context->Length_High >> 8; - context->Message_Block[59] = context->Length_High; - context->Message_Block[60] = context->Length_Low >> 24; - context->Message_Block[61] = context->Length_Low >> 16; - context->Message_Block[62] = context->Length_Low >> 8; - context->Message_Block[63] = context->Length_Low; - - SHA1ProcessMessageBlock(context); -} - -7.3 Test Driver - - The following code is a main program test driver to exercise the code - in sha1.c. - -/* - * sha1test.c - * - * Description: - * This file will exercise the SHA-1 code performing the three - * tests documented in FIPS PUB 180-1 plus one which calls - * SHA1Input with an exact multiple of 512 bits, plus a few - * error test checks. - * - * Portability Issues: - * None. - * - */ - -#include -#include -#include -#include "sha1.h" - -/* - * Define patterns for testing - */ -#define TEST1 "abc" -#define TEST2a "abcdbcdecdefdefgefghfghighijhi" - - - -Eastlake & Jones Informational [Page 18] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - -#define TEST2b "jkijkljklmklmnlmnomnopnopq" -#define TEST2 TEST2a TEST2b -#define TEST3 "a" -#define TEST4a "01234567012345670123456701234567" -#define TEST4b "01234567012345670123456701234567" - /* an exact multiple of 512 bits */ -#define TEST4 TEST4a TEST4b -char *testarray[4] = -{ - TEST1, - TEST2, - TEST3, - TEST4 -}; -long int repeatcount[4] = { 1, 1, 1000000, 10 }; -char *resultarray[4] = -{ - "A9 99 3E 36 47 06 81 6A BA 3E 25 71 78 50 C2 6C 9C D0 D8 9D", - "84 98 3E 44 1C 3B D2 6E BA AE 4A A1 F9 51 29 E5 E5 46 70 F1", - "34 AA 97 3C D4 C4 DA A4 F6 1E EB 2B DB AD 27 31 65 34 01 6F", - "DE A3 56 A2 CD DD 90 C7 A7 EC ED C5 EB B5 63 93 4F 46 04 52" -}; - -int main() -{ - SHA1Context sha; - int i, j, err; - uint8_t Message_Digest[20]; - - /* - * Perform SHA-1 tests - */ - for(j = 0; j < 4; ++j) - { - printf( "\nTest %d: %d, '%s'\n", - j+1, - repeatcount[j], - testarray[j]); - - err = SHA1Reset(&sha); - if (err) - { - fprintf(stderr, "SHA1Reset Error %d.\n", err ); - break; /* out of for j loop */ - } - - for(i = 0; i < repeatcount[j]; ++i) - { - - - -Eastlake & Jones Informational [Page 19] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - err = SHA1Input(&sha, - (const unsigned char *) testarray[j], - strlen(testarray[j])); - if (err) - { - fprintf(stderr, "SHA1Input Error %d.\n", err ); - break; /* out of for i loop */ - } - } - - err = SHA1Result(&sha, Message_Digest); - if (err) - { - fprintf(stderr, - "SHA1Result Error %d, could not compute message digest.\n", - err ); - } - else - { - printf("\t"); - for(i = 0; i < 20 ; ++i) - { - printf("%02X ", Message_Digest[i]); - } - printf("\n"); - } - printf("Should match:\n"); - printf("\t%s\n", resultarray[j]); - } - - /* Test some error returns */ - err = SHA1Input(&sha,(const unsigned char *) testarray[1], 1); - printf ("\nError %d. Should be %d.\n", err, shaStateError ); - err = SHA1Reset(0); - printf ("\nError %d. Should be %d.\n", err, shaNull ); - return 0; -} - -8. Security Considerations - - This document is intended to provide convenient open source access by - the Internet community to the United States of America Federal - Information Processing Standard Secure Hash Function SHA-1 [FIPS - 180-1]. No independent assertion of the security of this hash - function by the authors for any particular use is intended. - - - - - - -Eastlake & Jones Informational [Page 20] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - -References - - [FIPS 180-1] "Secure Hash Standard", United States of American, - National Institute of Science and Technology, Federal - Information Processing Standard (FIPS) 180-1, April - 1993. - - [MD4] "The MD4 Message Digest Algorithm," Advances in - Cryptology - CRYPTO '90 Proceedings, Springer-Verlag, - 1991, pp. 303-311. - - [RFC 1320] Rivest, R., "The MD4 Message-Digest Algorithm", RFC - 1320, April 1992. - - [RFC 1321] Rivest, R., "The MD5 Message-Digest Algorithm", RFC - 1321, April 1992. - - [RFC 1750] Eastlake, D., Crocker, S. and J. Schiller, "Randomness - Requirements for Security", RFC 1750, December 1994. - -Authors' Addresses - - Donald E. Eastlake, 3rd - Motorola - 155 Beaver Street - Milford, MA 01757 USA - - Phone: +1 508-634-2066 (h) - +1 508-261-5434 (w) - Fax: +1 508-261-4777 - EMail: Donald.Eastlake@motorola.com - - - Paul E. Jones - Cisco Systems, Inc. - 7025 Kit Creek Road - Research Triangle Park, NC 27709 USA - - Phone: +1 919 392 6948 - EMail: paulej@packetizer.com - - - - - - - - - - - -Eastlake & Jones Informational [Page 21] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - -Full Copyright Statement - - Copyright (C) The Internet Society (2001). All Rights Reserved. - - This document and translations of it may be copied and furnished to - others, and derivative works that comment on or otherwise explain it - or assist in its implementation may be prepared, copied, published - and distributed, in whole or in part, without restriction of any - kind, provided that the above copyright notice and this paragraph are - included on all such copies and derivative works. However, this - document itself may not be modified in any way, such as by removing - the copyright notice or references to the Internet Society or other - Internet organizations, except as needed for the purpose of - developing Internet standards in which case the procedures for - copyrights defined in the Internet Standards process must be - followed, or as required to translate it into languages other than - English. - - The limited permissions granted above are perpetual and will not be - revoked by the Internet Society or its successors or assigns. - - This document and the information contained herein is provided on an - "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING - TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION - HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF - MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. - -Acknowledgement - - Funding for the RFC Editor function is currently provided by the - Internet Society. - - - - - - - - - - - - - - - - - - - -Eastlake & Jones Informational [Page 22] - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc0821.txt b/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc0821.txt deleted file mode 100644 index d877b72..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc0821.txt +++ /dev/null @@ -1,4050 +0,0 @@ - - - - RFC 821 - - - - - - SIMPLE MAIL TRANSFER PROTOCOL - - - - Jonathan B. Postel - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - August 1982 - - - - Information Sciences Institute - University of Southern California - 4676 Admiralty Way - Marina del Rey, California 90291 - - (213) 822-1511 - - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - TABLE OF CONTENTS - - 1. INTRODUCTION .................................................. 1 - - 2. THE SMTP MODEL ................................................ 2 - - 3. THE SMTP PROCEDURE ............................................ 4 - - 3.1. Mail ..................................................... 4 - 3.2. Forwarding ............................................... 7 - 3.3. Verifying and Expanding .................................. 8 - 3.4. Sending and Mailing ..................................... 11 - 3.5. Opening and Closing ..................................... 13 - 3.6. Relaying ................................................ 14 - 3.7. Domains ................................................. 17 - 3.8. Changing Roles .......................................... 18 - - 4. THE SMTP SPECIFICATIONS ...................................... 19 - - 4.1. SMTP Commands ........................................... 19 - 4.1.1. Command Semantics ..................................... 19 - 4.1.2. Command Syntax ........................................ 27 - 4.2. SMTP Replies ............................................ 34 - 4.2.1. Reply Codes by Function Group ......................... 35 - 4.2.2. Reply Codes in Numeric Order .......................... 36 - 4.3. Sequencing of Commands and Replies ...................... 37 - 4.4. State Diagrams .......................................... 39 - 4.5. Details ................................................. 41 - 4.5.1. Minimum Implementation ................................ 41 - 4.5.2. Transparency .......................................... 41 - 4.5.3. Sizes ................................................. 42 - - APPENDIX A: TCP ................................................. 44 - APPENDIX B: NCP ................................................. 45 - APPENDIX C: NITS ................................................ 46 - APPENDIX D: X.25 ................................................ 47 - APPENDIX E: Theory of Reply Codes ............................... 48 - APPENDIX F: Scenarios ........................................... 51 - - GLOSSARY ......................................................... 64 - - REFERENCES ....................................................... 67 - - - - -Network Working Group J. Postel -Request for Comments: DRAFT ISI -Replaces: RFC 788, 780, 772 August 1982 - - SIMPLE MAIL TRANSFER PROTOCOL - - -1. INTRODUCTION - - The objective of Simple Mail Transfer Protocol (SMTP) is to transfer - mail reliably and efficiently. - - SMTP is independent of the particular transmission subsystem and - requires only a reliable ordered data stream channel. Appendices A, - B, C, and D describe the use of SMTP with various transport services. - A Glossary provides the definitions of terms as used in this - document. - - An important feature of SMTP is its capability to relay mail across - transport service environments. A transport service provides an - interprocess communication environment (IPCE). An IPCE may cover one - network, several networks, or a subset of a network. It is important - to realize that transport systems (or IPCEs) are not one-to-one with - networks. A process can communicate directly with another process - through any mutually known IPCE. Mail is an application or use of - interprocess communication. Mail can be communicated between - processes in different IPCEs by relaying through a process connected - to two (or more) IPCEs. More specifically, mail can be relayed - between hosts on different transport systems by a host on both - transport systems. - - - - - - - - - - - - - - - - - - - - - - - - -Postel [Page 1] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - -2. THE SMTP MODEL - - The SMTP design is based on the following model of communication: as - the result of a user mail request, the sender-SMTP establishes a - two-way transmission channel to a receiver-SMTP. The receiver-SMTP - may be either the ultimate destination or an intermediate. SMTP - commands are generated by the sender-SMTP and sent to the - receiver-SMTP. SMTP replies are sent from the receiver-SMTP to the - sender-SMTP in response to the commands. - - Once the transmission channel is established, the SMTP-sender sends a - MAIL command indicating the sender of the mail. If the SMTP-receiver - can accept mail it responds with an OK reply. The SMTP-sender then - sends a RCPT command identifying a recipient of the mail. If the - SMTP-receiver can accept mail for that recipient it responds with an - OK reply; if not, it responds with a reply rejecting that recipient - (but not the whole mail transaction). The SMTP-sender and - SMTP-receiver may negotiate several recipients. When the recipients - have been negotiated the SMTP-sender sends the mail data, terminating - with a special sequence. If the SMTP-receiver successfully processes - the mail data it responds with an OK reply. The dialog is purposely - lock-step, one-at-a-time. - - ------------------------------------------------------------- - - - +----------+ +----------+ - +------+ | | | | - | User |<-->| | SMTP | | - +------+ | Sender- |Commands/Replies| Receiver-| - +------+ | SMTP |<-------------->| SMTP | +------+ - | File |<-->| | and Mail | |<-->| File | - |System| | | | | |System| - +------+ +----------+ +----------+ +------+ - - - Sender-SMTP Receiver-SMTP - - Model for SMTP Use - - Figure 1 - - ------------------------------------------------------------- - - The SMTP provides mechanisms for the transmission of mail; directly - from the sending user's host to the receiving user's host when the - - - -[Page 2] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - two host are connected to the same transport service, or via one or - more relay SMTP-servers when the source and destination hosts are not - connected to the same transport service. - - To be able to provide the relay capability the SMTP-server must be - supplied with the name of the ultimate destination host as well as - the destination mailbox name. - - The argument to the MAIL command is a reverse-path, which specifies - who the mail is from. The argument to the RCPT command is a - forward-path, which specifies who the mail is to. The forward-path - is a source route, while the reverse-path is a return route (which - may be used to return a message to the sender when an error occurs - with a relayed message). - - When the same message is sent to multiple recipients the SMTP - encourages the transmission of only one copy of the data for all the - recipients at the same destination host. - - The mail commands and replies have a rigid syntax. Replies also have - a numeric code. In the following, examples appear which use actual - commands and replies. The complete lists of commands and replies - appears in Section 4 on specifications. - - Commands and replies are not case sensitive. That is, a command or - reply word may be upper case, lower case, or any mixture of upper and - lower case. Note that this is not true of mailbox user names. For - some hosts the user name is case sensitive, and SMTP implementations - must take case to preserve the case of user names as they appear in - mailbox arguments. Host names are not case sensitive. - - Commands and replies are composed of characters from the ASCII - character set [1]. When the transport service provides an 8-bit byte - (octet) transmission channel, each 7-bit character is transmitted - right justified in an octet with the high order bit cleared to zero. - - When specifying the general form of a command or reply, an argument - (or special symbol) will be denoted by a meta-linguistic variable (or - constant), for example, "" or "". Here the - angle brackets indicate these are meta-linguistic variables. - However, some arguments use the angle brackets literally. For - example, an actual reverse-path is enclosed in angle brackets, i.e., - "" is an instance of (the - angle brackets are actually transmitted in the command or reply). - - - - - -Postel [Page 3] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - -3. THE SMTP PROCEDURES - - This section presents the procedures used in SMTP in several parts. - First comes the basic mail procedure defined as a mail transaction. - Following this are descriptions of forwarding mail, verifying mailbox - names and expanding mailing lists, sending to terminals instead of or - in combination with mailboxes, and the opening and closing exchanges. - At the end of this section are comments on relaying, a note on mail - domains, and a discussion of changing roles. Throughout this section - are examples of partial command and reply sequences, several complete - scenarios are presented in Appendix F. - - 3.1. MAIL - - There are three steps to SMTP mail transactions. The transaction - is started with a MAIL command which gives the sender - identification. A series of one or more RCPT commands follows - giving the receiver information. Then a DATA command gives the - mail data. And finally, the end of mail data indicator confirms - the transaction. - - The first step in the procedure is the MAIL command. The - contains the source mailbox. - - MAIL FROM: - - This command tells the SMTP-receiver that a new mail - transaction is starting and to reset all its state tables and - buffers, including any recipients or mail data. It gives the - reverse-path which can be used to report errors. If accepted, - the receiver-SMTP returns a 250 OK reply. - - The can contain more than just a mailbox. The - is a reverse source routing list of hosts and - source mailbox. The first host in the should be - the host sending this command. - - The second step in the procedure is the RCPT command. - - RCPT TO: - - This command gives a forward-path identifying one recipient. - If accepted, the receiver-SMTP returns a 250 OK reply, and - stores the forward-path. If the recipient is unknown the - receiver-SMTP returns a 550 Failure reply. This second step of - the procedure can be repeated any number of times. - - - -[Page 4] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - The can contain more than just a mailbox. The - is a source routing list of hosts and the - destination mailbox. The first host in the - should be the host receiving this command. - - The third step in the procedure is the DATA command. - - DATA - - If accepted, the receiver-SMTP returns a 354 Intermediate reply - and considers all succeeding lines to be the message text. - When the end of text is received and stored the SMTP-receiver - sends a 250 OK reply. - - Since the mail data is sent on the transmission channel the end - of the mail data must be indicated so that the command and - reply dialog can be resumed. SMTP indicates the end of the - mail data by sending a line containing only a period. A - transparency procedure is used to prevent this from interfering - with the user's text (see Section 4.5.2). - - Please note that the mail data includes the memo header - items such as Date, Subject, To, Cc, From [2]. - - The end of mail data indicator also confirms the mail - transaction and tells the receiver-SMTP to now process the - stored recipients and mail data. If accepted, the - receiver-SMTP returns a 250 OK reply. The DATA command should - fail only if the mail transaction was incomplete (for example, - no recipients), or if resources are not available. - - The above procedure is an example of a mail transaction. These - commands must be used only in the order discussed above. - Example 1 (below) illustrates the use of these commands in a mail - transaction. - - - - - - - - - - - - - - -Postel [Page 5] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - ------------------------------------------------------------- - - Example of the SMTP Procedure - - This SMTP example shows mail sent by Smith at host Alpha.ARPA, - to Jones, Green, and Brown at host Beta.ARPA. Here we assume - that host Alpha contacts host Beta directly. - - S: MAIL FROM: - R: 250 OK - - S: RCPT TO: - R: 250 OK - - S: RCPT TO: - R: 550 No such user here - - S: RCPT TO: - R: 250 OK - - S: DATA - R: 354 Start mail input; end with . - S: Blah blah blah... - S: ...etc. etc. etc. - S: . - R: 250 OK - - The mail has now been accepted for Jones and Brown. Green did - not have a mailbox at host Beta. - - Example 1 - - ------------------------------------------------------------- - - - - - - - - - - - - - - - - -[Page 6] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - 3.2. FORWARDING - - There are some cases where the destination information in the - is incorrect, but the receiver-SMTP knows the - correct destination. In such cases, one of the following replies - should be used to allow the sender to contact the correct - destination. - - 251 User not local; will forward to - - This reply indicates that the receiver-SMTP knows the user's - mailbox is on another host and indicates the correct - forward-path to use in the future. Note that either the - host or user or both may be different. The receiver takes - responsibility for delivering the message. - - 551 User not local; please try - - This reply indicates that the receiver-SMTP knows the user's - mailbox is on another host and indicates the correct - forward-path to use. Note that either the host or user or - both may be different. The receiver refuses to accept mail - for this user, and the sender must either redirect the mail - according to the information provided or return an error - response to the originating user. - - Example 2 illustrates the use of these responses. - - ------------------------------------------------------------- - - Example of Forwarding - - Either - - S: RCPT TO: - R: 251 User not local; will forward to - - Or - - S: RCPT TO: - R: 551 User not local; please try - - Example 2 - - ------------------------------------------------------------- - - - - -Postel [Page 7] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - 3.3. VERIFYING AND EXPANDING - - SMTP provides as additional features, commands to verify a user - name or expand a mailing list. This is done with the VRFY and - EXPN commands, which have character string arguments. For the - VRFY command, the string is a user name, and the response may - include the full name of the user and must include the mailbox of - the user. For the EXPN command, the string identifies a mailing - list, and the multiline response may include the full name of the - users and must give the mailboxes on the mailing list. - - "User name" is a fuzzy term and used purposely. If a host - implements the VRFY or EXPN commands then at least local mailboxes - must be recognized as "user names". If a host chooses to - recognize other strings as "user names" that is allowed. - - In some hosts the distinction between a mailing list and an alias - for a single mailbox is a bit fuzzy, since a common data structure - may hold both types of entries, and it is possible to have mailing - lists of one mailbox. If a request is made to verify a mailing - list a positive response can be given if on receipt of a message - so addressed it will be delivered to everyone on the list, - otherwise an error should be reported (e.g., "550 That is a - mailing list, not a user"). If a request is made to expand a user - name a positive response can be formed by returning a list - containing one name, or an error can be reported (e.g., "550 That - is a user name, not a mailing list"). - - In the case of a multiline reply (normal for EXPN) exactly one - mailbox is to be specified on each line of the reply. In the case - of an ambiguous request, for example, "VRFY Smith", where there - are two Smith's the response must be "553 User ambiguous". - - The case of verifying a user name is straightforward as shown in - example 3. - - - - - - - - - - - - - - -[Page 8] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - ------------------------------------------------------------- - - Example of Verifying a User Name - - Either - - S: VRFY Smith - R: 250 Fred Smith - - Or - - S: VRFY Smith - R: 251 User not local; will forward to - - Or - - S: VRFY Jones - R: 550 String does not match anything. - - Or - - S: VRFY Jones - R: 551 User not local; please try - - Or - - S: VRFY Gourzenkyinplatz - R: 553 User ambiguous. - - Example 3 - - ------------------------------------------------------------- - - - - - - - - - - - - - - - - - -Postel [Page 9] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - The case of expanding a mailbox list requires a multiline reply as - shown in example 4. - - ------------------------------------------------------------- - - Example of Expanding a Mailing List - - Either - - S: EXPN Example-People - R: 250-Jon Postel - R: 250-Fred Fonebone - R: 250-Sam Q. Smith - R: 250-Quincy Smith <@USC-ISIF.ARPA:Q-Smith@ISI-VAXA.ARPA> - R: 250- - R: 250 - - Or - - S: EXPN Executive-Washroom-List - R: 550 Access Denied to You. - - Example 4 - - ------------------------------------------------------------- - - The character string arguments of the VRFY and EXPN commands - cannot be further restricted due to the variety of implementations - of the user name and mailbox list concepts. On some systems it - may be appropriate for the argument of the EXPN command to be a - file name for a file containing a mailing list, but again there is - a variety of file naming conventions in the Internet. - - The VRFY and EXPN commands are not included in the minimum - implementation (Section 4.5.1), and are not required to work - across relays when they are implemented. - - - - - - - - - - - - - -[Page 10] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - 3.4. SENDING AND MAILING - - The main purpose of SMTP is to deliver messages to user's - mailboxes. A very similar service provided by some hosts is to - deliver messages to user's terminals (provided the user is active - on the host). The delivery to the user's mailbox is called - "mailing", the delivery to the user's terminal is called - "sending". Because in many hosts the implementation of sending is - nearly identical to the implementation of mailing these two - functions are combined in SMTP. However the sending commands are - not included in the required minimum implementation - (Section 4.5.1). Users should have the ability to control the - writing of messages on their terminals. Most hosts permit the - users to accept or refuse such messages. - - The following three command are defined to support the sending - options. These are used in the mail transaction instead of the - MAIL command and inform the receiver-SMTP of the special semantics - of this transaction: - - SEND FROM: - - The SEND command requires that the mail data be delivered to - the user's terminal. If the user is not active (or not - accepting terminal messages) on the host a 450 reply may - returned to a RCPT command. The mail transaction is - successful if the message is delivered the terminal. - - SOML FROM: - - The Send Or MaiL command requires that the mail data be - delivered to the user's terminal if the user is active (and - accepting terminal messages) on the host. If the user is - not active (or not accepting terminal messages) then the - mail data is entered into the user's mailbox. The mail - transaction is successful if the message is delivered either - to the terminal or the mailbox. - - SAML FROM: - - The Send And MaiL command requires that the mail data be - delivered to the user's terminal if the user is active (and - accepting terminal messages) on the host. In any case the - mail data is entered into the user's mailbox. The mail - transaction is successful if the message is delivered the - mailbox. - - - -Postel [Page 11] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - The same reply codes that are used for the MAIL commands are used - for these commands. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -[Page 12] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - 3.5. OPENING AND CLOSING - - At the time the transmission channel is opened there is an - exchange to ensure that the hosts are communicating with the hosts - they think they are. - - The following two commands are used in transmission channel - opening and closing: - - HELO - - QUIT - - In the HELO command the host sending the command identifies - itself; the command may be interpreted as saying "Hello, I am - ". - - ------------------------------------------------------------- - - Example of Connection Opening - - R: 220 BBN-UNIX.ARPA Simple Mail Transfer Service Ready - S: HELO USC-ISIF.ARPA - R: 250 BBN-UNIX.ARPA - - Example 5 - - ------------------------------------------------------------- - - ------------------------------------------------------------- - - Example of Connection Closing - - S: QUIT - R: 221 BBN-UNIX.ARPA Service closing transmission channel - - Example 6 - - ------------------------------------------------------------- - - - - - - - - - - -Postel [Page 13] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - 3.6. RELAYING - - The forward-path may be a source route of the form - "@ONE,@TWO:JOE@THREE", where ONE, TWO, and THREE are hosts. This - form is used to emphasize the distinction between an address and a - route. The mailbox is an absolute address, and the route is - information about how to get there. The two concepts should not - be confused. - - Conceptually the elements of the forward-path are moved to the - reverse-path as the message is relayed from one server-SMTP to - another. The reverse-path is a reverse source route, (i.e., a - source route from the current location of the message to the - originator of the message). When a server-SMTP deletes its - identifier from the forward-path and inserts it into the - reverse-path, it must use the name it is known by in the - environment it is sending into, not the environment the mail came - from, in case the server-SMTP is known by different names in - different environments. - - If when the message arrives at an SMTP the first element of the - forward-path is not the identifier of that SMTP the element is not - deleted from the forward-path and is used to determine the next - SMTP to send the message to. In any case, the SMTP adds its own - identifier to the reverse-path. - - Using source routing the receiver-SMTP receives mail to be relayed - to another server-SMTP The receiver-SMTP may accept or reject the - task of relaying the mail in the same way it accepts or rejects - mail for a local user. The receiver-SMTP transforms the command - arguments by moving its own identifier from the forward-path to - the beginning of the reverse-path. The receiver-SMTP then becomes - a sender-SMTP, establishes a transmission channel to the next SMTP - in the forward-path, and sends it the mail. - - The first host in the reverse-path should be the host sending the - SMTP commands, and the first host in the forward-path should be - the host receiving the SMTP commands. - - Notice that the forward-path and reverse-path appear in the SMTP - commands and replies, but not necessarily in the message. That - is, there is no need for these paths and especially this syntax to - appear in the "To:" , "From:", "CC:", etc. fields of the message - header. - - If a server-SMTP has accepted the task of relaying the mail and - - - -[Page 14] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - later finds that the forward-path is incorrect or that the mail - cannot be delivered for whatever reason, then it must construct an - "undeliverable mail" notification message and send it to the - originator of the undeliverable mail (as indicated by the - reverse-path). - - This notification message must be from the server-SMTP at this - host. Of course, server-SMTPs should not send notification - messages about problems with notification messages. One way to - prevent loops in error reporting is to specify a null reverse-path - in the MAIL command of a notification message. When such a - message is relayed it is permissible to leave the reverse-path - null. A MAIL command with a null reverse-path appears as follows: - - MAIL FROM:<> - - An undeliverable mail notification message is shown in example 7. - This notification is in response to a message originated by JOE at - HOSTW and sent via HOSTX to HOSTY with instructions to relay it on - to HOSTZ. What we see in the example is the transaction between - HOSTY and HOSTX, which is the first step in the return of the - notification message. - - - - - - - - - - - - - - - - - - - - - - - - - - - -Postel [Page 15] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - ------------------------------------------------------------- - - Example Undeliverable Mail Notification Message - - S: MAIL FROM:<> - R: 250 ok - S: RCPT TO:<@HOSTX.ARPA:JOE@HOSTW.ARPA> - R: 250 ok - S: DATA - R: 354 send the mail data, end with . - S: Date: 23 Oct 81 11:22:33 - S: From: SMTP@HOSTY.ARPA - S: To: JOE@HOSTW.ARPA - S: Subject: Mail System Problem - S: - S: Sorry JOE, your message to SAM@HOSTZ.ARPA lost. - S: HOSTZ.ARPA said this: - S: "550 No Such User" - S: . - R: 250 ok - - Example 7 - - ------------------------------------------------------------- - - - - - - - - - - - - - - - - - - - - - - - - - -[Page 16] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - 3.7. DOMAINS - - Domains are a recently introduced concept in the ARPA Internet - mail system. The use of domains changes the address space from a - flat global space of simple character string host names to a - hierarchically structured rooted tree of global addresses. The - host name is replaced by a domain and host designator which is a - sequence of domain element strings separated by periods with the - understanding that the domain elements are ordered from the most - specific to the most general. - - For example, "USC-ISIF.ARPA", "Fred.Cambridge.UK", and - "PC7.LCS.MIT.ARPA" might be host-and-domain identifiers. - - Whenever domain names are used in SMTP only the official names are - used, the use of nicknames or aliases is not allowed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Postel [Page 17] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - 3.8. CHANGING ROLES - - The TURN command may be used to reverse the roles of the two - programs communicating over the transmission channel. - - If program-A is currently the sender-SMTP and it sends the TURN - command and receives an ok reply (250) then program-A becomes the - receiver-SMTP. - - If program-B is currently the receiver-SMTP and it receives the - TURN command and sends an ok reply (250) then program-B becomes - the sender-SMTP. - - To refuse to change roles the receiver sends the 502 reply. - - Please note that this command is optional. It would not normally - be used in situations where the transmission channel is TCP. - However, when the cost of establishing the transmission channel is - high, this command may be quite useful. For example, this command - may be useful in supporting be mail exchange using the public - switched telephone system as a transmission channel, especially if - some hosts poll other hosts for mail exchanges. - - - - - - - - - - - - - - - - - - - - - - - - - - - -[Page 18] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - -4. THE SMTP SPECIFICATIONS - - 4.1. SMTP COMMANDS - - 4.1.1. COMMAND SEMANTICS - - The SMTP commands define the mail transfer or the mail system - function requested by the user. SMTP commands are character - strings terminated by . The command codes themselves are - alphabetic characters terminated by if parameters follow - and otherwise. The syntax of mailboxes must conform to - receiver site conventions. The SMTP commands are discussed - below. The SMTP replies are discussed in the Section 4.2. - - A mail transaction involves several data objects which are - communicated as arguments to different commands. The - reverse-path is the argument of the MAIL command, the - forward-path is the argument of the RCPT command, and the mail - data is the argument of the DATA command. These arguments or - data objects must be transmitted and held pending the - confirmation communicated by the end of mail data indication - which finalizes the transaction. The model for this is that - distinct buffers are provided to hold the types of data - objects, that is, there is a reverse-path buffer, a - forward-path buffer, and a mail data buffer. Specific commands - cause information to be appended to a specific buffer, or cause - one or more buffers to be cleared. - - HELLO (HELO) - - This command is used to identify the sender-SMTP to the - receiver-SMTP. The argument field contains the host name of - the sender-SMTP. - - The receiver-SMTP identifies itself to the sender-SMTP in - the connection greeting reply, and in the response to this - command. - - This command and an OK reply to it confirm that both the - sender-SMTP and the receiver-SMTP are in the initial state, - that is, there is no transaction in progress and all state - tables and buffers are cleared. - - - - - - - -Postel [Page 19] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - MAIL (MAIL) - - This command is used to initiate a mail transaction in which - the mail data is delivered to one or more mailboxes. The - argument field contains a reverse-path. - - The reverse-path consists of an optional list of hosts and - the sender mailbox. When the list of hosts is present, it - is a "reverse" source route and indicates that the mail was - relayed through each host on the list (the first host in the - list was the most recent relay). This list is used as a - source route to return non-delivery notices to the sender. - As each relay host adds itself to the beginning of the list, - it must use its name as known in the IPCE to which it is - relaying the mail rather than the IPCE from which the mail - came (if they are different). In some types of error - reporting messages (for example, undeliverable mail - notifications) the reverse-path may be null (see Example 7). - - This command clears the reverse-path buffer, the - forward-path buffer, and the mail data buffer; and inserts - the reverse-path information from this command into the - reverse-path buffer. - - RECIPIENT (RCPT) - - This command is used to identify an individual recipient of - the mail data; multiple recipients are specified by multiple - use of this command. - - The forward-path consists of an optional list of hosts and a - required destination mailbox. When the list of hosts is - present, it is a source route and indicates that the mail - must be relayed to the next host on the list. If the - receiver-SMTP does not implement the relay function it may - user the same reply it would for an unknown local user - (550). - - When mail is relayed, the relay host must remove itself from - the beginning forward-path and put itself at the beginning - of the reverse-path. When mail reaches its ultimate - destination (the forward-path contains only a destination - mailbox), the receiver-SMTP inserts it into the destination - mailbox in accordance with its host mail conventions. - - - - - -[Page 20] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - For example, mail received at relay host A with arguments - - FROM: - TO:<@HOSTA.ARPA,@HOSTB.ARPA:USERC@HOSTD.ARPA> - - will be relayed on to host B with arguments - - FROM:<@HOSTA.ARPA:USERX@HOSTY.ARPA> - TO:<@HOSTB.ARPA:USERC@HOSTD.ARPA>. - - This command causes its forward-path argument to be appended - to the forward-path buffer. - - DATA (DATA) - - The receiver treats the lines following the command as mail - data from the sender. This command causes the mail data - from this command to be appended to the mail data buffer. - The mail data may contain any of the 128 ASCII character - codes. - - The mail data is terminated by a line containing only a - period, that is the character sequence "." (see - Section 4.5.2 on Transparency). This is the end of mail - data indication. - - The end of mail data indication requires that the receiver - must now process the stored mail transaction information. - This processing consumes the information in the reverse-path - buffer, the forward-path buffer, and the mail data buffer, - and on the completion of this command these buffers are - cleared. If the processing is successful the receiver must - send an OK reply. If the processing fails completely the - receiver must send a failure reply. - - When the receiver-SMTP accepts a message either for relaying - or for final delivery it inserts at the beginning of the - mail data a time stamp line. The time stamp line indicates - the identity of the host that sent the message, and the - identity of the host that received the message (and is - inserting this time stamp), and the date and time the - message was received. Relayed messages will have multiple - time stamp lines. - - When the receiver-SMTP makes the "final delivery" of a - message it inserts at the beginning of the mail data a - - - -Postel [Page 21] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - return path line. The return path line preserves the - information in the from the MAIL command. - Here, final delivery means the message leaves the SMTP - world. Normally, this would mean it has been delivered to - the destination user, but in some cases it may be further - processed and transmitted by another mail system. - - It is possible for the mailbox in the return path be - different from the actual sender's mailbox, for example, - if error responses are to be delivered a special error - handling mailbox rather than the message senders. - - The preceding two paragraphs imply that the final mail data - will begin with a return path line, followed by one or more - time stamp lines. These lines will be followed by the mail - data header and body [2]. See Example 8. - - Special mention is needed of the response and further action - required when the processing following the end of mail data - indication is partially successful. This could arise if - after accepting several recipients and the mail data, the - receiver-SMTP finds that the mail data can be successfully - delivered to some of the recipients, but it cannot be to - others (for example, due to mailbox space allocation - problems). In such a situation, the response to the DATA - command must be an OK reply. But, the receiver-SMTP must - compose and send an "undeliverable mail" notification - message to the originator of the message. Either a single - notification which lists all of the recipients that failed - to get the message, or separate notification messages must - be sent for each failed recipient (see Example 7). All - undeliverable mail notification messages are sent using the - MAIL command (even if they result from processing a SEND, - SOML, or SAML command). - - - - - - - - - - - - - - - -[Page 22] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - ------------------------------------------------------------- - - Example of Return Path and Received Time Stamps - - Return-Path: <@GHI.ARPA,@DEF.ARPA,@ABC.ARPA:JOE@ABC.ARPA> - Received: from GHI.ARPA by JKL.ARPA ; 27 Oct 81 15:27:39 PST - Received: from DEF.ARPA by GHI.ARPA ; 27 Oct 81 15:15:13 PST - Received: from ABC.ARPA by DEF.ARPA ; 27 Oct 81 15:01:59 PST - Date: 27 Oct 81 15:01:01 PST - From: JOE@ABC.ARPA - Subject: Improved Mailing System Installed - To: SAM@JKL.ARPA - - This is to inform you that ... - - Example 8 - - ------------------------------------------------------------- - - SEND (SEND) - - This command is used to initiate a mail transaction in which - the mail data is delivered to one or more terminals. The - argument field contains a reverse-path. This command is - successful if the message is delivered to a terminal. - - The reverse-path consists of an optional list of hosts and - the sender mailbox. When the list of hosts is present, it - is a "reverse" source route and indicates that the mail was - relayed through each host on the list (the first host in the - list was the most recent relay). This list is used as a - source route to return non-delivery notices to the sender. - As each relay host adds itself to the beginning of the list, - it must use its name as known in the IPCE to which it is - relaying the mail rather than the IPCE from which the mail - came (if they are different). - - This command clears the reverse-path buffer, the - forward-path buffer, and the mail data buffer; and inserts - the reverse-path information from this command into the - reverse-path buffer. - - SEND OR MAIL (SOML) - - This command is used to initiate a mail transaction in which - the mail data is delivered to one or more terminals or - - - -Postel [Page 23] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - mailboxes. For each recipient the mail data is delivered to - the recipient's terminal if the recipient is active on the - host (and accepting terminal messages), otherwise to the - recipient's mailbox. The argument field contains a - reverse-path. This command is successful if the message is - delivered to a terminal or the mailbox. - - The reverse-path consists of an optional list of hosts and - the sender mailbox. When the list of hosts is present, it - is a "reverse" source route and indicates that the mail was - relayed through each host on the list (the first host in the - list was the most recent relay). This list is used as a - source route to return non-delivery notices to the sender. - As each relay host adds itself to the beginning of the list, - it must use its name as known in the IPCE to which it is - relaying the mail rather than the IPCE from which the mail - came (if they are different). - - This command clears the reverse-path buffer, the - forward-path buffer, and the mail data buffer; and inserts - the reverse-path information from this command into the - reverse-path buffer. - - SEND AND MAIL (SAML) - - This command is used to initiate a mail transaction in which - the mail data is delivered to one or more terminals and - mailboxes. For each recipient the mail data is delivered to - the recipient's terminal if the recipient is active on the - host (and accepting terminal messages), and for all - recipients to the recipient's mailbox. The argument field - contains a reverse-path. This command is successful if the - message is delivered to the mailbox. - - The reverse-path consists of an optional list of hosts and - the sender mailbox. When the list of hosts is present, it - is a "reverse" source route and indicates that the mail was - relayed through each host on the list (the first host in the - list was the most recent relay). This list is used as a - source route to return non-delivery notices to the sender. - As each relay host adds itself to the beginning of the list, - it must use its name as known in the IPCE to which it is - relaying the mail rather than the IPCE from which the mail - came (if they are different). - - This command clears the reverse-path buffer, the - - - -[Page 24] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - forward-path buffer, and the mail data buffer; and inserts - the reverse-path information from this command into the - reverse-path buffer. - - RESET (RSET) - - This command specifies that the current mail transaction is - to be aborted. Any stored sender, recipients, and mail data - must be discarded, and all buffers and state tables cleared. - The receiver must send an OK reply. - - VERIFY (VRFY) - - This command asks the receiver to confirm that the argument - identifies a user. If it is a user name, the full name of - the user (if known) and the fully specified mailbox are - returned. - - This command has no effect on any of the reverse-path - buffer, the forward-path buffer, or the mail data buffer. - - EXPAND (EXPN) - - This command asks the receiver to confirm that the argument - identifies a mailing list, and if so, to return the - membership of that list. The full name of the users (if - known) and the fully specified mailboxes are returned in a - multiline reply. - - This command has no effect on any of the reverse-path - buffer, the forward-path buffer, or the mail data buffer. - - HELP (HELP) - - This command causes the receiver to send helpful information - to the sender of the HELP command. The command may take an - argument (e.g., any command name) and return more specific - information as a response. - - This command has no effect on any of the reverse-path - buffer, the forward-path buffer, or the mail data buffer. - - - - - - - - -Postel [Page 25] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - NOOP (NOOP) - - This command does not affect any parameters or previously - entered commands. It specifies no action other than that - the receiver send an OK reply. - - This command has no effect on any of the reverse-path - buffer, the forward-path buffer, or the mail data buffer. - - QUIT (QUIT) - - This command specifies that the receiver must send an OK - reply, and then close the transmission channel. - - The receiver should not close the transmission channel until - it receives and replies to a QUIT command (even if there was - an error). The sender should not close the transmission - channel until it send a QUIT command and receives the reply - (even if there was an error response to a previous command). - If the connection is closed prematurely the receiver should - act as if a RSET command had been received (canceling any - pending transaction, but not undoing any previously - completed transaction), the sender should act as if the - command or transaction in progress had received a temporary - error (4xx). - - TURN (TURN) - - This command specifies that the receiver must either (1) - send an OK reply and then take on the role of the - sender-SMTP, or (2) send a refusal reply and retain the role - of the receiver-SMTP. - - If program-A is currently the sender-SMTP and it sends the - TURN command and receives an OK reply (250) then program-A - becomes the receiver-SMTP. Program-A is then in the initial - state as if the transmission channel just opened, and it - then sends the 220 service ready greeting. - - If program-B is currently the receiver-SMTP and it receives - the TURN command and sends an OK reply (250) then program-B - becomes the sender-SMTP. Program-B is then in the initial - state as if the transmission channel just opened, and it - then expects to receive the 220 service ready greeting. - - To refuse to change roles the receiver sends the 502 reply. - - - -[Page 26] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - There are restrictions on the order in which these command may - be used. - - The first command in a session must be the HELO command. - The HELO command may be used later in a session as well. If - the HELO command argument is not acceptable a 501 failure - reply must be returned and the receiver-SMTP must stay in - the same state. - - The NOOP, HELP, EXPN, and VRFY commands can be used at any - time during a session. - - The MAIL, SEND, SOML, or SAML commands begin a mail - transaction. Once started a mail transaction consists of - one of the transaction beginning commands, one or more RCPT - commands, and a DATA command, in that order. A mail - transaction may be aborted by the RSET command. There may - be zero or more transactions in a session. - - If the transaction beginning command argument is not - acceptable a 501 failure reply must be returned and the - receiver-SMTP must stay in the same state. If the commands - in a transaction are out of order a 503 failure reply must - be returned and the receiver-SMTP must stay in the same - state. - - The last command in a session must be the QUIT command. The - QUIT command can not be used at any other time in a session. - - 4.1.2. COMMAND SYNTAX - - The commands consist of a command code followed by an argument - field. Command codes are four alphabetic characters. Upper - and lower case alphabetic characters are to be treated - identically. Thus, any of the following may represent the mail - command: - - MAIL Mail mail MaIl mAIl - - This also applies to any symbols representing parameter values, - such as "TO" or "to" for the forward-path. Command codes and - the argument fields are separated by one or more spaces. - However, within the reverse-path and forward-path arguments - case is important. In particular, in some hosts the user - "smith" is different from the user "Smith". - - - - -Postel [Page 27] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - The argument field consists of a variable length character - string ending with the character sequence . The receiver - is to take no action until this sequence is received. - - Square brackets denote an optional argument field. If the - option is not taken, the appropriate default is implied. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -[Page 28] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - The following are the SMTP commands: - - HELO - - MAIL FROM: - - RCPT TO: - - DATA - - RSET - - SEND FROM: - - SOML FROM: - - SAML FROM: - - VRFY - - EXPN - - HELP [ ] - - NOOP - - QUIT - - TURN - - - - - - - - - - - - - - - - - - - - -Postel [Page 29] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - The syntax of the above argument fields (using BNF notation - where applicable) is given below. The "..." notation indicates - that a field may be repeated one or more times. - - ::= - - ::= - - ::= "<" [ ":" ] ">" - - ::= | "," - - ::= "@" - - ::= | "." - - ::= | "#" | "[" "]" - - ::= "@" - - ::= | - - ::= - - ::= | - - ::= | - - ::= | | "-" - - ::= | "." - - ::= | - - ::= """ """ - - ::= "\" | "\" | | - - ::= | "\" - - ::= "." "." "." - - ::= | - - ::= - - - - -[Page 30] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - ::= the carriage return character (ASCII code 13) - - ::= the line feed character (ASCII code 10) - - ::= the space character (ASCII code 32) - - ::= one, two, or three digits representing a decimal - integer value in the range 0 through 255 - - ::= any one of the 52 alphabetic characters A through Z - in upper case and a through z in lower case - - ::= any one of the 128 ASCII characters, but not any - or - - ::= any one of the ten digits 0 through 9 - - ::= any one of the 128 ASCII characters except , - , quote ("), or backslash (\) - - ::= any one of the 128 ASCII characters (no exceptions) - - ::= "<" | ">" | "(" | ")" | "[" | "]" | "\" | "." - | "," | ";" | ":" | "@" """ | the control - characters (ASCII codes 0 through 31 inclusive and - 127) - - Note that the backslash, "\", is a quote character, which is - used to indicate that the next character is to be used - literally (instead of its normal interpretation). For example, - "Joe\,Smith" could be used to indicate a single nine character - user field with comma being the fourth character of the field. - - Hosts are generally known by names which are translated to - addresses in each host. Note that the name elements of domains - are the official names -- no use of nicknames or aliases is - allowed. - - Sometimes a host is not known to the translation function and - communication is blocked. To bypass this barrier two numeric - forms are also allowed for host "names". One form is a decimal - integer prefixed by a pound sign, "#", which indicates the - number is the address of the host. Another form is four small - decimal integers separated by dots and enclosed by brackets, - e.g., "[123.255.37.2]", which indicates a 32-bit ARPA Internet - Address in four 8-bit fields. - - - -Postel [Page 31] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - The time stamp line and the return path line are formally - defined as follows: - - ::= "Return-Path:" - - ::= "Received:" - - ::= ";" - - - ::= "FROM" - - ::= "BY" - - ::= [] [] [] [] - - ::= "VIA" - - ::= "WITH" - - ::= "ID" - - ::= "FOR" - - ::= The standard names for links are registered with - the Network Information Center. - - ::= The standard names for protocols are - registered with the Network Information Center. - - ::=
- -
::= the one or two decimal integer day of the month in - the range 1 to 31. - - ::= "JAN" | "FEB" | "MAR" | "APR" | "MAY" | "JUN" | - "JUL" | "AUG" | "SEP" | "OCT" | "NOV" | "DEC" - - ::= the two decimal integer year of the century in the - range 00 to 99. - - - - - -[Page 32] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - ::= the two decimal integer hour of the day in the - range 00 to 24. - - ::= the two decimal integer minute of the hour in the - range 00 to 59. - - ::= the two decimal integer second of the minute in the - range 00 to 59. - - ::= "UT" for Universal Time (the default) or other - time zone designator (as in [2]). - - - - ------------------------------------------------------------- - - Return Path Example - - Return-Path: <@CHARLIE.ARPA,@BAKER.ARPA:JOE@ABLE.ARPA> - - Example 9 - - ------------------------------------------------------------- - - ------------------------------------------------------------- - - Time Stamp Line Example - - Received: FROM ABC.ARPA BY XYZ.ARPA ; 22 OCT 81 09:23:59 PDT - - Received: from ABC.ARPA by XYZ.ARPA via TELENET with X25 - id M12345 for Smith@PDQ.ARPA ; 22 OCT 81 09:23:59 PDT - - Example 10 - - ------------------------------------------------------------- - - - - - - - - - - - - - -Postel [Page 33] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - 4.2. SMTP REPLIES - - Replies to SMTP commands are devised to ensure the synchronization - of requests and actions in the process of mail transfer, and to - guarantee that the sender-SMTP always knows the state of the - receiver-SMTP. Every command must generate exactly one reply. - - The details of the command-reply sequence are made explicit in - Section 5.3 on Sequencing and Section 5.4 State Diagrams. - - An SMTP reply consists of a three digit number (transmitted as - three alphanumeric characters) followed by some text. The number - is intended for use by automata to determine what state to enter - next; the text is meant for the human user. It is intended that - the three digits contain enough encoded information that the - sender-SMTP need not examine the text and may either discard it or - pass it on to the user, as appropriate. In particular, the text - may be receiver-dependent and context dependent, so there are - likely to be varying texts for each reply code. A discussion of - the theory of reply codes is given in Appendix E. Formally, a - reply is defined to be the sequence: a three-digit code, , - one line of text, and , or a multiline reply (as defined in - Appendix E). Only the EXPN and HELP commands are expected to - result in multiline replies in normal circumstances, however - multiline replies are allowed for any command. - - - - - - - - - - - - - - - - - - - - - - - - -[Page 34] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - 4.2.1. REPLY CODES BY FUNCTION GROUPS - - 500 Syntax error, command unrecognized - [This may include errors such as command line too long] - 501 Syntax error in parameters or arguments - 502 Command not implemented - 503 Bad sequence of commands - 504 Command parameter not implemented - - 211 System status, or system help reply - 214 Help message - [Information on how to use the receiver or the meaning of a - particular non-standard command; this reply is useful only - to the human user] - - 220 Service ready - 221 Service closing transmission channel - 421 Service not available, - closing transmission channel - [This may be a reply to any command if the service knows it - must shut down] - - 250 Requested mail action okay, completed - 251 User not local; will forward to - 450 Requested mail action not taken: mailbox unavailable - [E.g., mailbox busy] - 550 Requested action not taken: mailbox unavailable - [E.g., mailbox not found, no access] - 451 Requested action aborted: error in processing - 551 User not local; please try - 452 Requested action not taken: insufficient system storage - 552 Requested mail action aborted: exceeded storage allocation - 553 Requested action not taken: mailbox name not allowed - [E.g., mailbox syntax incorrect] - 354 Start mail input; end with . - 554 Transaction failed - - - - - - - - - - - - - -Postel [Page 35] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - 4.2.2. NUMERIC ORDER LIST OF REPLY CODES - - 211 System status, or system help reply - 214 Help message - [Information on how to use the receiver or the meaning of a - particular non-standard command; this reply is useful only - to the human user] - 220 Service ready - 221 Service closing transmission channel - 250 Requested mail action okay, completed - 251 User not local; will forward to - - 354 Start mail input; end with . - - 421 Service not available, - closing transmission channel - [This may be a reply to any command if the service knows it - must shut down] - 450 Requested mail action not taken: mailbox unavailable - [E.g., mailbox busy] - 451 Requested action aborted: local error in processing - 452 Requested action not taken: insufficient system storage - - 500 Syntax error, command unrecognized - [This may include errors such as command line too long] - 501 Syntax error in parameters or arguments - 502 Command not implemented - 503 Bad sequence of commands - 504 Command parameter not implemented - 550 Requested action not taken: mailbox unavailable - [E.g., mailbox not found, no access] - 551 User not local; please try - 552 Requested mail action aborted: exceeded storage allocation - 553 Requested action not taken: mailbox name not allowed - [E.g., mailbox syntax incorrect] - 554 Transaction failed - - - - - - - - - - - - - -[Page 36] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - 4.3. SEQUENCING OF COMMANDS AND REPLIES - - The communication between the sender and receiver is intended to - be an alternating dialogue, controlled by the sender. As such, - the sender issues a command and the receiver responds with a - reply. The sender must wait for this response before sending - further commands. - - One important reply is the connection greeting. Normally, a - receiver will send a 220 "Service ready" reply when the connection - is completed. The sender should wait for this greeting message - before sending any commands. - - Note: all the greeting type replies have the official name of - the server host as the first word following the reply code. - - For example, - - 220 USC-ISIF.ARPA Service ready - - The table below lists alternative success and failure replies for - each command. These must be strictly adhered to; a receiver may - substitute text in the replies, but the meaning and action implied - by the code numbers and by the specific command reply sequence - cannot be altered. - - COMMAND-REPLY SEQUENCES - - Each command is listed with its possible replies. The prefixes - used before the possible replies are "P" for preliminary (not - used in SMTP), "I" for intermediate, "S" for success, "F" for - failure, and "E" for error. The 421 reply (service not - available, closing transmission channel) may be given to any - command if the SMTP-receiver knows it must shut down. This - listing forms the basis for the State Diagrams in Section 4.4. - - CONNECTION ESTABLISHMENT - S: 220 - F: 421 - HELO - S: 250 - E: 500, 501, 504, 421 - MAIL - S: 250 - F: 552, 451, 452 - E: 500, 501, 421 - - - -Postel [Page 37] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - RCPT - S: 250, 251 - F: 550, 551, 552, 553, 450, 451, 452 - E: 500, 501, 503, 421 - DATA - I: 354 -> data -> S: 250 - F: 552, 554, 451, 452 - F: 451, 554 - E: 500, 501, 503, 421 - RSET - S: 250 - E: 500, 501, 504, 421 - SEND - S: 250 - F: 552, 451, 452 - E: 500, 501, 502, 421 - SOML - S: 250 - F: 552, 451, 452 - E: 500, 501, 502, 421 - SAML - S: 250 - F: 552, 451, 452 - E: 500, 501, 502, 421 - VRFY - S: 250, 251 - F: 550, 551, 553 - E: 500, 501, 502, 504, 421 - EXPN - S: 250 - F: 550 - E: 500, 501, 502, 504, 421 - HELP - S: 211, 214 - E: 500, 501, 502, 504, 421 - NOOP - S: 250 - E: 500, 421 - QUIT - S: 221 - E: 500 - TURN - S: 250 - F: 502 - E: 500, 503 - - - - -[Page 38] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - 4.4. STATE DIAGRAMS - - Following are state diagrams for a simple-minded SMTP - implementation. Only the first digit of the reply codes is used. - There is one state diagram for each group of SMTP commands. The - command groupings were determined by constructing a model for each - command and then collecting together the commands with - structurally identical models. - - For each command there are three possible outcomes: "success" - (S), "failure" (F), and "error" (E). In the state diagrams below - we use the symbol B for "begin", and the symbol W for "wait for - reply". - - First, the diagram that represents most of the SMTP commands: - - - 1,3 +---+ - ----------->| E | - | +---+ - | - +---+ cmd +---+ 2 +---+ - | B |---------->| W |---------->| S | - +---+ +---+ +---+ - | - | 4,5 +---+ - ----------->| F | - +---+ - - - This diagram models the commands: - - HELO, MAIL, RCPT, RSET, SEND, SOML, SAML, VRFY, EXPN, HELP, - NOOP, QUIT, TURN. - - - - - - - - - - - - - - - -Postel [Page 39] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - A more complex diagram models the DATA command: - - - +---+ DATA +---+ 1,2 +---+ - | B |---------->| W |-------------------->| E | - +---+ +---+ ------------>+---+ - 3| |4,5 | - | | | - -------------- ----- | - | | | +---+ - | ---------- -------->| S | - | | | | +---+ - | | ------------ - | | | | - V 1,3| |2 | - +---+ data +---+ --------------->+---+ - | |---------->| W | | F | - +---+ +---+-------------------->+---+ - 4,5 - - - Note that the "data" here is a series of lines sent from the - sender to the receiver with no response expected until the last - line is sent. - - - - - - - - - - - - - - - - - - - - - - - - - -[Page 40] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - 4.5. DETAILS - - 4.5.1. MINIMUM IMPLEMENTATION - - In order to make SMTP workable, the following minimum - implementation is required for all receivers: - - COMMANDS -- HELO - MAIL - RCPT - DATA - RSET - NOOP - QUIT - - 4.5.2. TRANSPARENCY - - Without some provision for data transparency the character - sequence "." ends the mail text and cannot be sent - by the user. In general, users are not aware of such - "forbidden" sequences. To allow all user composed text to be - transmitted transparently the following procedures are used. - - 1. Before sending a line of mail text the sender-SMTP checks - the first character of the line. If it is a period, one - additional period is inserted at the beginning of the line. - - 2. When a line of mail text is received by the receiver-SMTP - it checks the line. If the line is composed of a single - period it is the end of mail. If the first character is a - period and there are other characters on the line, the first - character is deleted. - - The mail data may contain any of the 128 ASCII characters. All - characters are to be delivered to the recipient's mailbox - including format effectors and other control characters. If - the transmission channel provides an 8-bit byte (octets) data - stream, the 7-bit ASCII codes are transmitted right justified - in the octets with the high order bits cleared to zero. - - In some systems it may be necessary to transform the data as - it is received and stored. This may be necessary for hosts - that use a different character set than ASCII as their local - character set, or that store data in records rather than - - - - - -Postel [Page 41] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - strings. If such transforms are necessary, they must be - reversible -- especially if such transforms are applied to - mail being relayed. - - 4.5.3. SIZES - - There are several objects that have required minimum maximum - sizes. That is, every implementation must be able to receive - objects of at least these sizes, but must not send objects - larger than these sizes. - - - **************************************************** - * * - * TO THE MAXIMUM EXTENT POSSIBLE, IMPLEMENTATION * - * TECHNIQUES WHICH IMPOSE NO LIMITS ON THE LENGTH * - * OF THESE OBJECTS SHOULD BE USED. * - * * - **************************************************** - - user - - The maximum total length of a user name is 64 characters. - - domain - - The maximum total length of a domain name or number is 64 - characters. - - path - - The maximum total length of a reverse-path or - forward-path is 256 characters (including the punctuation - and element separators). - - command line - - The maximum total length of a command line including the - command word and the is 512 characters. - - reply line - - The maximum total length of a reply line including the - reply code and the is 512 characters. - - - - - -[Page 42] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - text line - - The maximum total length of a text line including the - is 1000 characters (but not counting the leading - dot duplicated for transparency). - - recipients buffer - - The maximum total number of recipients that must be - buffered is 100 recipients. - - - **************************************************** - * * - * TO THE MAXIMUM EXTENT POSSIBLE, IMPLEMENTATION * - * TECHNIQUES WHICH IMPOSE NO LIMITS ON THE LENGTH * - * OF THESE OBJECTS SHOULD BE USED. * - * * - **************************************************** - - Errors due to exceeding these limits may be reported by using - the reply codes, for example: - - 500 Line too long. - - 501 Path too long - - 552 Too many recipients. - - 552 Too much mail data. - - - - - - - - - - - - - - - - - - - -Postel [Page 43] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - -APPENDIX A - - TCP Transport service - - The Transmission Control Protocol [3] is used in the ARPA - Internet, and in any network following the US DoD standards for - internetwork protocols. - - Connection Establishment - - The SMTP transmission channel is a TCP connection established - between the sender process port U and the receiver process port - L. This single full duplex connection is used as the - transmission channel. This protocol is assigned the service - port 25 (31 octal), that is L=25. - - Data Transfer - - The TCP connection supports the transmission of 8-bit bytes. - The SMTP data is 7-bit ASCII characters. Each character is - transmitted as an 8-bit byte with the high-order bit cleared to - zero. - - - - - - - - - - - - - - - - - - - - - - - - - - - -[Page 44] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - -APPENDIX B - - NCP Transport service - - The ARPANET Host-to-Host Protocol [4] (implemented by the Network - Control Program) may be used in the ARPANET. - - Connection Establishment - - The SMTP transmission channel is established via NCP between - the sender process socket U and receiver process socket L. The - Initial Connection Protocol [5] is followed resulting in a pair - of simplex connections. This pair of connections is used as - the transmission channel. This protocol is assigned the - contact socket 25 (31 octal), that is L=25. - - Data Transfer - - The NCP data connections are established in 8-bit byte mode. - The SMTP data is 7-bit ASCII characters. Each character is - transmitted as an 8-bit byte with the high-order bit cleared to - zero. - - - - - - - - - - - - - - - - - - - - - - - - - - - -Postel [Page 45] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - -APPENDIX C - - NITS - - The Network Independent Transport Service [6] may be used. - - Connection Establishment - - The SMTP transmission channel is established via NITS between - the sender process and receiver process. The sender process - executes the CONNECT primitive, and the waiting receiver - process executes the ACCEPT primitive. - - Data Transfer - - The NITS connection supports the transmission of 8-bit bytes. - The SMTP data is 7-bit ASCII characters. Each character is - transmitted as an 8-bit byte with the high-order bit cleared to - zero. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -[Page 46] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - -APPENDIX D - - X.25 Transport service - - It may be possible to use the X.25 service [7] as provided by the - Public Data Networks directly, however, it is suggested that a - reliable end-to-end protocol such as TCP be used on top of X.25 - connections. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Postel [Page 47] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - -APPENDIX E - - Theory of Reply Codes - - The three digits of the reply each have a special significance. - The first digit denotes whether the response is good, bad or - incomplete. An unsophisticated sender-SMTP will be able to - determine its next action (proceed as planned, redo, retrench, - etc.) by simply examining this first digit. A sender-SMTP that - wants to know approximately what kind of error occurred (e.g., - mail system error, command syntax error) may examine the second - digit, reserving the third digit for the finest gradation of - information. - - There are five values for the first digit of the reply code: - - 1yz Positive Preliminary reply - - The command has been accepted, but the requested action - is being held in abeyance, pending confirmation of the - information in this reply. The sender-SMTP should send - another command specifying whether to continue or abort - the action. - - [Note: SMTP does not have any commands that allow this - type of reply, and so does not have the continue or - abort commands.] - - 2yz Positive Completion reply - - The requested action has been successfully completed. A - new request may be initiated. - - 3yz Positive Intermediate reply - - The command has been accepted, but the requested action - is being held in abeyance, pending receipt of further - information. The sender-SMTP should send another command - specifying this information. This reply is used in - command sequence groups. - - 4yz Transient Negative Completion reply - - The command was not accepted and the requested action did - not occur. However, the error condition is temporary and - the action may be requested again. The sender should - - - -[Page 48] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - return to the beginning of the command sequence (if any). - It is difficult to assign a meaning to "transient" when - two different sites (receiver- and sender- SMTPs) must - agree on the interpretation. Each reply in this category - might have a different time value, but the sender-SMTP is - encouraged to try again. A rule of thumb to determine if - a reply fits into the 4yz or the 5yz category (see below) - is that replies are 4yz if they can be repeated without - any change in command form or in properties of the sender - or receiver. (E.g., the command is repeated identically - and the receiver does not put up a new implementation.) - - 5yz Permanent Negative Completion reply - - The command was not accepted and the requested action did - not occur. The sender-SMTP is discouraged from repeating - the exact request (in the same sequence). Even some - "permanent" error conditions can be corrected, so the - human user may want to direct the sender-SMTP to - reinitiate the command sequence by direct action at some - point in the future (e.g., after the spelling has been - changed, or the user has altered the account status). - - The second digit encodes responses in specific categories: - - x0z Syntax -- These replies refer to syntax errors, - syntactically correct commands that don't fit any - functional category, and unimplemented or superfluous - commands. - - x1z Information -- These are replies to requests for - information, such as status or help. - - x2z Connections -- These are replies referring to the - transmission channel. - - x3z Unspecified as yet. - - x4z Unspecified as yet. - - x5z Mail system -- These replies indicate the status of - the receiver mail system vis-a-vis the requested - transfer or other mail system action. - - The third digit gives a finer gradation of meaning in each - category specified by the second digit. The list of replies - - - -Postel [Page 49] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - illustrates this. Each reply text is recommended rather than - mandatory, and may even change according to the command with - which it is associated. On the other hand, the reply codes - must strictly follow the specifications in this section. - Receiver implementations should not invent new codes for - slightly different situations from the ones described here, but - rather adapt codes already defined. - - For example, a command such as NOOP whose successful execution - does not offer the sender-SMTP any new information will return - a 250 reply. The response is 502 when the command requests an - unimplemented non-site-specific action. A refinement of that - is the 504 reply for a command that is implemented, but that - requests an unimplemented parameter. - - The reply text may be longer than a single line; in these cases - the complete text must be marked so the sender-SMTP knows when it - can stop reading the reply. This requires a special format to - indicate a multiple line reply. - - The format for multiline replies requires that every line, - except the last, begin with the reply code, followed - immediately by a hyphen, "-" (also known as minus), followed by - text. The last line will begin with the reply code, followed - immediately by , optionally some text, and . - - For example: - 123-First line - 123-Second line - 123-234 text beginning with numbers - 123 The last line - - In many cases the sender-SMTP then simply needs to search for - the reply code followed by at the beginning of a line, and - ignore all preceding lines. In a few cases, there is important - data for the sender in the reply "text". The sender will know - these cases from the current context. - - - - - - - - - - - - -[Page 50] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - -APPENDIX F - - Scenarios - - This section presents complete scenarios of several types of SMTP - sessions. - - A Typical SMTP Transaction Scenario - - This SMTP example shows mail sent by Smith at host USC-ISIF, to - Jones, Green, and Brown at host BBN-UNIX. Here we assume that - host USC-ISIF contacts host BBN-UNIX directly. The mail is - accepted for Jones and Brown. Green does not have a mailbox at - host BBN-UNIX. - - ------------------------------------------------------------- - - R: 220 BBN-UNIX.ARPA Simple Mail Transfer Service Ready - S: HELO USC-ISIF.ARPA - R: 250 BBN-UNIX.ARPA - - S: MAIL FROM: - R: 250 OK - - S: RCPT TO: - R: 250 OK - - S: RCPT TO: - R: 550 No such user here - - S: RCPT TO: - R: 250 OK - - S: DATA - R: 354 Start mail input; end with . - S: Blah blah blah... - S: ...etc. etc. etc. - S: . - R: 250 OK - - S: QUIT - R: 221 BBN-UNIX.ARPA Service closing transmission channel - - Scenario 1 - - ------------------------------------------------------------- - - - -Postel [Page 51] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - Aborted SMTP Transaction Scenario - - ------------------------------------------------------------- - - R: 220 MIT-Multics.ARPA Simple Mail Transfer Service Ready - S: HELO ISI-VAXA.ARPA - R: 250 MIT-Multics.ARPA - - S: MAIL FROM: - R: 250 OK - - S: RCPT TO: - R: 250 OK - - S: RCPT TO: - R: 550 No such user here - - S: RSET - R: 250 OK - - S: QUIT - R: 221 MIT-Multics.ARPA Service closing transmission channel - - Scenario 2 - - ------------------------------------------------------------- - - - - - - - - - - - - - - - - - - - - - - - -[Page 52] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - Relayed Mail Scenario - - ------------------------------------------------------------- - - Step 1 -- Source Host to Relay Host - - R: 220 USC-ISIE.ARPA Simple Mail Transfer Service Ready - S: HELO MIT-AI.ARPA - R: 250 USC-ISIE.ARPA - - S: MAIL FROM: - R: 250 OK - - S: RCPT TO:<@USC-ISIE.ARPA:Jones@BBN-VAX.ARPA> - R: 250 OK - - S: DATA - R: 354 Start mail input; end with . - S: Date: 2 Nov 81 22:33:44 - S: From: John Q. Public - S: Subject: The Next Meeting of the Board - S: To: Jones@BBN-Vax.ARPA - S: - S: Bill: - S: The next meeting of the board of directors will be - S: on Tuesday. - S: John. - S: . - R: 250 OK - - S: QUIT - R: 221 USC-ISIE.ARPA Service closing transmission channel - - - - - - - - - - - - - - - - - -Postel [Page 53] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - Step 2 -- Relay Host to Destination Host - - R: 220 BBN-VAX.ARPA Simple Mail Transfer Service Ready - S: HELO USC-ISIE.ARPA - R: 250 BBN-VAX.ARPA - - S: MAIL FROM:<@USC-ISIE.ARPA:JQP@MIT-AI.ARPA> - R: 250 OK - - S: RCPT TO: - R: 250 OK - - S: DATA - R: 354 Start mail input; end with . - S: Received: from MIT-AI.ARPA by USC-ISIE.ARPA ; - 2 Nov 81 22:40:10 UT - S: Date: 2 Nov 81 22:33:44 - S: From: John Q. Public - S: Subject: The Next Meeting of the Board - S: To: Jones@BBN-Vax.ARPA - S: - S: Bill: - S: The next meeting of the board of directors will be - S: on Tuesday. - S: John. - S: . - R: 250 OK - - S: QUIT - R: 221 USC-ISIE.ARPA Service closing transmission channel - - Scenario 3 - - ------------------------------------------------------------- - - - - - - - - - - - - - - - -[Page 54] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - Verifying and Sending Scenario - - ------------------------------------------------------------- - - R: 220 SU-SCORE.ARPA Simple Mail Transfer Service Ready - S: HELO MIT-MC.ARPA - R: 250 SU-SCORE.ARPA - - S: VRFY Crispin - R: 250 Mark Crispin - - S: SEND FROM: - R: 250 OK - - S: RCPT TO: - R: 250 OK - - S: DATA - R: 354 Start mail input; end with . - S: Blah blah blah... - S: ...etc. etc. etc. - S: . - R: 250 OK - - S: QUIT - R: 221 SU-SCORE.ARPA Service closing transmission channel - - Scenario 4 - - ------------------------------------------------------------- - - - - - - - - - - - - - - - - - - - -Postel [Page 55] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - Sending and Mailing Scenarios - - First the user's name is verified, then an attempt is made to - send to the user's terminal. When that fails, the messages is - mailed to the user's mailbox. - - ------------------------------------------------------------- - - R: 220 SU-SCORE.ARPA Simple Mail Transfer Service Ready - S: HELO MIT-MC.ARPA - R: 250 SU-SCORE.ARPA - - S: VRFY Crispin - R: 250 Mark Crispin - - S: SEND FROM: - R: 250 OK - - S: RCPT TO: - R: 450 User not active now - - S: RSET - R: 250 OK - - S: MAIL FROM: - R: 250 OK - - S: RCPT TO: - R: 250 OK - - S: DATA - R: 354 Start mail input; end with . - S: Blah blah blah... - S: ...etc. etc. etc. - S: . - R: 250 OK - - S: QUIT - R: 221 SU-SCORE.ARPA Service closing transmission channel - - Scenario 5 - - ------------------------------------------------------------- - - - - - - -[Page 56] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - Doing the preceding scenario more efficiently. - - ------------------------------------------------------------- - - R: 220 SU-SCORE.ARPA Simple Mail Transfer Service Ready - S: HELO MIT-MC.ARPA - R: 250 SU-SCORE.ARPA - - S: VRFY Crispin - R: 250 Mark Crispin - - S: SOML FROM: - R: 250 OK - - S: RCPT TO: - R: 250 User not active now, so will do mail. - - S: DATA - R: 354 Start mail input; end with . - S: Blah blah blah... - S: ...etc. etc. etc. - S: . - R: 250 OK - - S: QUIT - R: 221 SU-SCORE.ARPA Service closing transmission channel - - Scenario 6 - - ------------------------------------------------------------- - - - - - - - - - - - - - - - - - - - -Postel [Page 57] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - Mailing List Scenario - - First each of two mailing lists are expanded in separate sessions - with different hosts. Then the message is sent to everyone that - appeared on either list (but no duplicates) via a relay host. - - ------------------------------------------------------------- - - Step 1 -- Expanding the First List - - R: 220 MIT-AI.ARPA Simple Mail Transfer Service Ready - S: HELO SU-SCORE.ARPA - R: 250 MIT-AI.ARPA - - S: EXPN Example-People - R: 250- - R: 250-Fred Fonebone - R: 250-Xenon Y. Zither - R: 250-Quincy Smith <@USC-ISIF.ARPA:Q-Smith@ISI-VAXA.ARPA> - R: 250- - R: 250 - - S: QUIT - R: 221 MIT-AI.ARPA Service closing transmission channel - - - - - - - - - - - - - - - - - - - - - - - - - -[Page 58] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - Step 2 -- Expanding the Second List - - R: 220 MIT-MC.ARPA Simple Mail Transfer Service Ready - S: HELO SU-SCORE.ARPA - R: 250 MIT-MC.ARPA - - S: EXPN Interested-Parties - R: 250-Al Calico - R: 250- - R: 250-Quincy Smith <@USC-ISIF.ARPA:Q-Smith@ISI-VAXA.ARPA> - R: 250- - R: 250 - - S: QUIT - R: 221 MIT-MC.ARPA Service closing transmission channel - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Postel [Page 59] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - Step 3 -- Mailing to All via a Relay Host - - R: 220 USC-ISIE.ARPA Simple Mail Transfer Service Ready - S: HELO SU-SCORE.ARPA - R: 250 USC-ISIE.ARPA - - S: MAIL FROM: - R: 250 OK - S: RCPT TO:<@USC-ISIE.ARPA:ABC@MIT-MC.ARPA> - R: 250 OK - S: RCPT TO:<@USC-ISIE.ARPA:Fonebone@USC-ISIQA.ARPA> - R: 250 OK - S: RCPT TO:<@USC-ISIE.ARPA:XYZ@MIT-AI.ARPA> - R: 250 OK - S: RCPT - TO:<@USC-ISIE.ARPA,@USC-ISIF.ARPA:Q-Smith@ISI-VAXA.ARPA> - R: 250 OK - S: RCPT TO:<@USC-ISIE.ARPA:joe@FOO-UNIX.ARPA> - R: 250 OK - S: RCPT TO:<@USC-ISIE.ARPA:xyz@BAR-UNIX.ARPA> - R: 250 OK - S: RCPT TO:<@USC-ISIE.ARPA:fred@BBN-UNIX.ARPA> - R: 250 OK - - S: DATA - R: 354 Start mail input; end with . - S: Blah blah blah... - S: ...etc. etc. etc. - S: . - R: 250 OK - - S: QUIT - R: 221 USC-ISIE.ARPA Service closing transmission channel - - Scenario 7 - - ------------------------------------------------------------- - - - - - - - - - - - - -[Page 60] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - Forwarding Scenarios - - ------------------------------------------------------------- - - R: 220 USC-ISIF.ARPA Simple Mail Transfer Service Ready - S: HELO LBL-UNIX.ARPA - R: 250 USC-ISIF.ARPA - - S: MAIL FROM: - R: 250 OK - - S: RCPT TO: - R: 251 User not local; will forward to - - S: DATA - R: 354 Start mail input; end with . - S: Blah blah blah... - S: ...etc. etc. etc. - S: . - R: 250 OK - - S: QUIT - R: 221 USC-ISIF.ARPA Service closing transmission channel - - Scenario 8 - - ------------------------------------------------------------- - - - - - - - - - - - - - - - - - - - - - - -Postel [Page 61] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - ------------------------------------------------------------- - - Step 1 -- Trying the Mailbox at the First Host - - R: 220 USC-ISIF.ARPA Simple Mail Transfer Service Ready - S: HELO LBL-UNIX.ARPA - R: 250 USC-ISIF.ARPA - - S: MAIL FROM: - R: 250 OK - - S: RCPT TO: - R: 251 User not local; will forward to - - S: RSET - R: 250 OK - - S: QUIT - R: 221 USC-ISIF.ARPA Service closing transmission channel - - Step 2 -- Delivering the Mail at the Second Host - - R: 220 USC-ISI.ARPA Simple Mail Transfer Service Ready - S: HELO LBL-UNIX.ARPA - R: 250 USC-ISI.ARPA - - S: MAIL FROM: - R: 250 OK - - S: RCPT TO: - R: OK - - S: DATA - R: 354 Start mail input; end with . - S: Blah blah blah... - S: ...etc. etc. etc. - S: . - R: 250 OK - - S: QUIT - R: 221 USC-ISI.ARPA Service closing transmission channel - - Scenario 9 - - ------------------------------------------------------------- - - - - -[Page 62] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - Too Many Recipients Scenario - - ------------------------------------------------------------- - - R: 220 BERKELEY.ARPA Simple Mail Transfer Service Ready - S: HELO USC-ISIF.ARPA - R: 250 BERKELEY.ARPA - - S: MAIL FROM: - R: 250 OK - - S: RCPT TO: - R: 250 OK - - S: RCPT TO: - R: 552 Recipient storage full, try again in another transaction - - S: DATA - R: 354 Start mail input; end with . - S: Blah blah blah... - S: ...etc. etc. etc. - S: . - R: 250 OK - - S: MAIL FROM: - R: 250 OK - - S: RCPT TO: - R: 250 OK - - S: DATA - R: 354 Start mail input; end with . - S: Blah blah blah... - S: ...etc. etc. etc. - S: . - R: 250 OK - - S: QUIT - R: 221 BERKELEY.ARPA Service closing transmission channel - - Scenario 10 - - ------------------------------------------------------------- - - Note that a real implementation must handle many recipients as - specified in Section 4.5.3. - - - -Postel [Page 63] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - -GLOSSARY - - ASCII - - American Standard Code for Information Interchange [1]. - - command - - A request for a mail service action sent by the sender-SMTP to the - receiver-SMTP. - - domain - - The hierarchially structured global character string address of a - host computer in the mail system. - - end of mail data indication - - A special sequence of characters that indicates the end of the - mail data. In particular, the five characters carriage return, - line feed, period, carriage return, line feed, in that order. - - host - - A computer in the internetwork environment on which mailboxes or - SMTP processes reside. - - line - - A a sequence of ASCII characters ending with a . - - mail data - - A sequence of ASCII characters of arbitrary length, which conforms - to the standard set in the Standard for the Format of ARPA - Internet Text Messages (RFC 822 [2]). - - mailbox - - A character string (address) which identifies a user to whom mail - is to be sent. Mailbox normally consists of the host and user - specifications. The standard mailbox naming convention is defined - to be "user@domain". Additionally, the "container" in which mail - is stored. - - - - - -[Page 64] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - - receiver-SMTP process - - A process which transfers mail in cooperation with a sender-SMTP - process. It waits for a connection to be established via the - transport service. It receives SMTP commands from the - sender-SMTP, sends replies, and performs the specified operations. - - reply - - A reply is an acknowledgment (positive or negative) sent from - receiver to sender via the transmission channel in response to a - command. The general form of a reply is a completion code - (including error codes) followed by a text string. The codes are - for use by programs and the text is usually intended for human - users. - - sender-SMTP process - - A process which transfers mail in cooperation with a receiver-SMTP - process. A local language may be used in the user interface - command/reply dialogue. The sender-SMTP initiates the transport - service connection. It initiates SMTP commands, receives replies, - and governs the transfer of mail. - - session - - The set of exchanges that occur while the transmission channel is - open. - - transaction - - The set of exchanges required for one message to be transmitted - for one or more recipients. - - transmission channel - - A full-duplex communication path between a sender-SMTP and a - receiver-SMTP for the exchange of commands, replies, and mail - text. - - transport service - - Any reliable stream-oriented data communication services. For - example, NCP, TCP, NITS. - - - - - -Postel [Page 65] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - user - - A human being (or a process on behalf of a human being) wishing to - obtain mail transfer service. In addition, a recipient of - computer mail. - - word - - A sequence of printing characters. - - - - The characters carriage return and line feed (in that order). - - - - The space character. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -[Page 66] Postel - - - -RFC 821 August 1982 - Simple Mail Transfer Protocol - - - -REFERENCES - - [1] ASCII - - ASCII, "USA Code for Information Interchange", United States of - America Standards Institute, X3.4, 1968. Also in: Feinler, E. - and J. Postel, eds., "ARPANET Protocol Handbook", NIC 7104, for - the Defense Communications Agency by SRI International, Menlo - Park, California, Revised January 1978. - - [2] RFC 822 - - Crocker, D., "Standard for the Format of ARPA Internet Text - Messages," RFC 822, Department of Electrical Engineering, - University of Delaware, August 1982. - - [3] TCP - - Postel, J., ed., "Transmission Control Protocol - DARPA Internet - Program Protocol Specification", RFC 793, USC/Information Sciences - Institute, NTIS AD Number A111091, September 1981. Also in: - Feinler, E. and J. Postel, eds., "Internet Protocol Transition - Workbook", SRI International, Menlo Park, California, March 1982. - - [4] NCP - - McKenzie,A., "Host/Host Protocol for the ARPA Network", NIC 8246, - January 1972. Also in: Feinler, E. and J. Postel, eds., "ARPANET - Protocol Handbook", NIC 7104, for the Defense Communications - Agency by SRI International, Menlo Park, California, Revised - January 1978. - - [5] Initial Connection Protocol - - Postel, J., "Official Initial Connection Protocol", NIC 7101, - 11 June 1971. Also in: Feinler, E. and J. Postel, eds., "ARPANET - Protocol Handbook", NIC 7104, for the Defense Communications - Agency by SRI International, Menlo Park, California, Revised - January 1978. - - [6] NITS - - PSS/SG3, "A Network Independent Transport Service", Study Group 3, - The Post Office PSS Users Group, February 1980. Available from - the DCPU, National Physical Laboratory, Teddington, UK. - - - - -Postel [Page 67] - - - -August 1982 RFC 821 -Simple Mail Transfer Protocol - - - - [7] X.25 - - CCITT, "Recommendation X.25 - Interface Between Data Terminal - Equipment (DTE) and Data Circuit-terminating Equipment (DCE) for - Terminals Operating in the Packet Mode on Public Data Networks," - CCITT Orange Book, Vol. VIII.2, International Telephone and - Telegraph Consultative Committee, Geneva, 1976. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -[Page 68] Postel - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc1321.txt b/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc1321.txt deleted file mode 100644 index 68af27d..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc1321.txt +++ /dev/null @@ -1,1179 +0,0 @@ - - - - - - -Network Working Group R. Rivest -Request for Comments: 1321 MIT Laboratory for Computer Science - and RSA Data Security, Inc. - April 1992 - - - The MD5 Message-Digest Algorithm - -Status of this Memo - - This memo provides information for the Internet community. It does - not specify an Internet standard. Distribution of this memo is - unlimited. - -Acknowlegements - - We would like to thank Don Coppersmith, Burt Kaliski, Ralph Merkle, - David Chaum, and Noam Nisan for numerous helpful comments and - suggestions. - -Table of Contents - - 1. Executive Summary 1 - 2. Terminology and Notation 2 - 3. MD5 Algorithm Description 3 - 4. Summary 6 - 5. Differences Between MD4 and MD5 6 - References 7 - APPENDIX A - Reference Implementation 7 - Security Considerations 21 - Author's Address 21 - -1. Executive Summary - - This document describes the MD5 message-digest algorithm. The - algorithm takes as input a message of arbitrary length and produces - as output a 128-bit "fingerprint" or "message digest" of the input. - It is conjectured that it is computationally infeasible to produce - two messages having the same message digest, or to produce any - message having a given prespecified target message digest. The MD5 - algorithm is intended for digital signature applications, where a - large file must be "compressed" in a secure manner before being - encrypted with a private (secret) key under a public-key cryptosystem - such as RSA. - - - - - - - -Rivest [Page 1] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - - The MD5 algorithm is designed to be quite fast on 32-bit machines. In - addition, the MD5 algorithm does not require any large substitution - tables; the algorithm can be coded quite compactly. - - The MD5 algorithm is an extension of the MD4 message-digest algorithm - 1,2]. MD5 is slightly slower than MD4, but is more "conservative" in - design. MD5 was designed because it was felt that MD4 was perhaps - being adopted for use more quickly than justified by the existing - critical review; because MD4 was designed to be exceptionally fast, - it is "at the edge" in terms of risking successful cryptanalytic - attack. MD5 backs off a bit, giving up a little in speed for a much - greater likelihood of ultimate security. It incorporates some - suggestions made by various reviewers, and contains additional - optimizations. The MD5 algorithm is being placed in the public domain - for review and possible adoption as a standard. - - For OSI-based applications, MD5's object identifier is - - md5 OBJECT IDENTIFIER ::= - iso(1) member-body(2) US(840) rsadsi(113549) digestAlgorithm(2) 5} - - In the X.509 type AlgorithmIdentifier [3], the parameters for MD5 - should have type NULL. - -2. Terminology and Notation - - In this document a "word" is a 32-bit quantity and a "byte" is an - eight-bit quantity. A sequence of bits can be interpreted in a - natural manner as a sequence of bytes, where each consecutive group - of eight bits is interpreted as a byte with the high-order (most - significant) bit of each byte listed first. Similarly, a sequence of - bytes can be interpreted as a sequence of 32-bit words, where each - consecutive group of four bytes is interpreted as a word with the - low-order (least significant) byte given first. - - Let x_i denote "x sub i". If the subscript is an expression, we - surround it in braces, as in x_{i+1}. Similarly, we use ^ for - superscripts (exponentiation), so that x^i denotes x to the i-th - power. - - Let the symbol "+" denote addition of words (i.e., modulo-2^32 - addition). Let X <<< s denote the 32-bit value obtained by circularly - shifting (rotating) X left by s bit positions. Let not(X) denote the - bit-wise complement of X, and let X v Y denote the bit-wise OR of X - and Y. Let X xor Y denote the bit-wise XOR of X and Y, and let XY - denote the bit-wise AND of X and Y. - - - - - -Rivest [Page 2] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - -3. MD5 Algorithm Description - - We begin by supposing that we have a b-bit message as input, and that - we wish to find its message digest. Here b is an arbitrary - nonnegative integer; b may be zero, it need not be a multiple of - eight, and it may be arbitrarily large. We imagine the bits of the - message written down as follows: - - m_0 m_1 ... m_{b-1} - - The following five steps are performed to compute the message digest - of the message. - -3.1 Step 1. Append Padding Bits - - The message is "padded" (extended) so that its length (in bits) is - congruent to 448, modulo 512. That is, the message is extended so - that it is just 64 bits shy of being a multiple of 512 bits long. - Padding is always performed, even if the length of the message is - already congruent to 448, modulo 512. - - Padding is performed as follows: a single "1" bit is appended to the - message, and then "0" bits are appended so that the length in bits of - the padded message becomes congruent to 448, modulo 512. In all, at - least one bit and at most 512 bits are appended. - -3.2 Step 2. Append Length - - A 64-bit representation of b (the length of the message before the - padding bits were added) is appended to the result of the previous - step. In the unlikely event that b is greater than 2^64, then only - the low-order 64 bits of b are used. (These bits are appended as two - 32-bit words and appended low-order word first in accordance with the - previous conventions.) - - At this point the resulting message (after padding with bits and with - b) has a length that is an exact multiple of 512 bits. Equivalently, - this message has a length that is an exact multiple of 16 (32-bit) - words. Let M[0 ... N-1] denote the words of the resulting message, - where N is a multiple of 16. - -3.3 Step 3. Initialize MD Buffer - - A four-word buffer (A,B,C,D) is used to compute the message digest. - Here each of A, B, C, D is a 32-bit register. These registers are - initialized to the following values in hexadecimal, low-order bytes - first): - - - - -Rivest [Page 3] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - - word A: 01 23 45 67 - word B: 89 ab cd ef - word C: fe dc ba 98 - word D: 76 54 32 10 - -3.4 Step 4. Process Message in 16-Word Blocks - - We first define four auxiliary functions that each take as input - three 32-bit words and produce as output one 32-bit word. - - F(X,Y,Z) = XY v not(X) Z - G(X,Y,Z) = XZ v Y not(Z) - H(X,Y,Z) = X xor Y xor Z - I(X,Y,Z) = Y xor (X v not(Z)) - - In each bit position F acts as a conditional: if X then Y else Z. - The function F could have been defined using + instead of v since XY - and not(X)Z will never have 1's in the same bit position.) It is - interesting to note that if the bits of X, Y, and Z are independent - and unbiased, the each bit of F(X,Y,Z) will be independent and - unbiased. - - The functions G, H, and I are similar to the function F, in that they - act in "bitwise parallel" to produce their output from the bits of X, - Y, and Z, in such a manner that if the corresponding bits of X, Y, - and Z are independent and unbiased, then each bit of G(X,Y,Z), - H(X,Y,Z), and I(X,Y,Z) will be independent and unbiased. Note that - the function H is the bit-wise "xor" or "parity" function of its - inputs. - - This step uses a 64-element table T[1 ... 64] constructed from the - sine function. Let T[i] denote the i-th element of the table, which - is equal to the integer part of 4294967296 times abs(sin(i)), where i - is in radians. The elements of the table are given in the appendix. - - Do the following: - - /* Process each 16-word block. */ - For i = 0 to N/16-1 do - - /* Copy block i into X. */ - For j = 0 to 15 do - Set X[j] to M[i*16+j]. - end /* of loop on j */ - - /* Save A as AA, B as BB, C as CC, and D as DD. */ - AA = A - BB = B - - - -Rivest [Page 4] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - - CC = C - DD = D - - /* Round 1. */ - /* Let [abcd k s i] denote the operation - a = b + ((a + F(b,c,d) + X[k] + T[i]) <<< s). */ - /* Do the following 16 operations. */ - [ABCD 0 7 1] [DABC 1 12 2] [CDAB 2 17 3] [BCDA 3 22 4] - [ABCD 4 7 5] [DABC 5 12 6] [CDAB 6 17 7] [BCDA 7 22 8] - [ABCD 8 7 9] [DABC 9 12 10] [CDAB 10 17 11] [BCDA 11 22 12] - [ABCD 12 7 13] [DABC 13 12 14] [CDAB 14 17 15] [BCDA 15 22 16] - - /* Round 2. */ - /* Let [abcd k s i] denote the operation - a = b + ((a + G(b,c,d) + X[k] + T[i]) <<< s). */ - /* Do the following 16 operations. */ - [ABCD 1 5 17] [DABC 6 9 18] [CDAB 11 14 19] [BCDA 0 20 20] - [ABCD 5 5 21] [DABC 10 9 22] [CDAB 15 14 23] [BCDA 4 20 24] - [ABCD 9 5 25] [DABC 14 9 26] [CDAB 3 14 27] [BCDA 8 20 28] - [ABCD 13 5 29] [DABC 2 9 30] [CDAB 7 14 31] [BCDA 12 20 32] - - /* Round 3. */ - /* Let [abcd k s t] denote the operation - a = b + ((a + H(b,c,d) + X[k] + T[i]) <<< s). */ - /* Do the following 16 operations. */ - [ABCD 5 4 33] [DABC 8 11 34] [CDAB 11 16 35] [BCDA 14 23 36] - [ABCD 1 4 37] [DABC 4 11 38] [CDAB 7 16 39] [BCDA 10 23 40] - [ABCD 13 4 41] [DABC 0 11 42] [CDAB 3 16 43] [BCDA 6 23 44] - [ABCD 9 4 45] [DABC 12 11 46] [CDAB 15 16 47] [BCDA 2 23 48] - - /* Round 4. */ - /* Let [abcd k s t] denote the operation - a = b + ((a + I(b,c,d) + X[k] + T[i]) <<< s). */ - /* Do the following 16 operations. */ - [ABCD 0 6 49] [DABC 7 10 50] [CDAB 14 15 51] [BCDA 5 21 52] - [ABCD 12 6 53] [DABC 3 10 54] [CDAB 10 15 55] [BCDA 1 21 56] - [ABCD 8 6 57] [DABC 15 10 58] [CDAB 6 15 59] [BCDA 13 21 60] - [ABCD 4 6 61] [DABC 11 10 62] [CDAB 2 15 63] [BCDA 9 21 64] - - /* Then perform the following additions. (That is increment each - of the four registers by the value it had before this block - was started.) */ - A = A + AA - B = B + BB - C = C + CC - D = D + DD - - end /* of loop on i */ - - - -Rivest [Page 5] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - -3.5 Step 5. Output - - The message digest produced as output is A, B, C, D. That is, we - begin with the low-order byte of A, and end with the high-order byte - of D. - - This completes the description of MD5. A reference implementation in - C is given in the appendix. - -4. Summary - - The MD5 message-digest algorithm is simple to implement, and provides - a "fingerprint" or message digest of a message of arbitrary length. - It is conjectured that the difficulty of coming up with two messages - having the same message digest is on the order of 2^64 operations, - and that the difficulty of coming up with any message having a given - message digest is on the order of 2^128 operations. The MD5 algorithm - has been carefully scrutinized for weaknesses. It is, however, a - relatively new algorithm and further security analysis is of course - justified, as is the case with any new proposal of this sort. - -5. Differences Between MD4 and MD5 - - The following are the differences between MD4 and MD5: - - 1. A fourth round has been added. - - 2. Each step now has a unique additive constant. - - 3. The function g in round 2 was changed from (XY v XZ v YZ) to - (XZ v Y not(Z)) to make g less symmetric. - - 4. Each step now adds in the result of the previous step. This - promotes a faster "avalanche effect". - - 5. The order in which input words are accessed in rounds 2 and - 3 is changed, to make these patterns less like each other. - - 6. The shift amounts in each round have been approximately - optimized, to yield a faster "avalanche effect." The shifts in - different rounds are distinct. - - - - - - - - - - -Rivest [Page 6] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - -References - - [1] Rivest, R., "The MD4 Message Digest Algorithm", RFC 1320, MIT and - RSA Data Security, Inc., April 1992. - - [2] Rivest, R., "The MD4 message digest algorithm", in A.J. Menezes - and S.A. Vanstone, editors, Advances in Cryptology - CRYPTO '90 - Proceedings, pages 303-311, Springer-Verlag, 1991. - - [3] CCITT Recommendation X.509 (1988), "The Directory - - Authentication Framework." - -APPENDIX A - Reference Implementation - - This appendix contains the following files taken from RSAREF: A - Cryptographic Toolkit for Privacy-Enhanced Mail: - - global.h -- global header file - - md5.h -- header file for MD5 - - md5c.c -- source code for MD5 - - For more information on RSAREF, send email to . - - The appendix also includes the following file: - - mddriver.c -- test driver for MD2, MD4 and MD5 - - The driver compiles for MD5 by default but can compile for MD2 or MD4 - if the symbol MD is defined on the C compiler command line as 2 or 4. - - The implementation is portable and should work on many different - plaforms. However, it is not difficult to optimize the implementation - on particular platforms, an exercise left to the reader. For example, - on "little-endian" platforms where the lowest-addressed byte in a 32- - bit word is the least significant and there are no alignment - restrictions, the call to Decode in MD5Transform can be replaced with - a typecast. - -A.1 global.h - -/* GLOBAL.H - RSAREF types and constants - */ - -/* PROTOTYPES should be set to one if and only if the compiler supports - function argument prototyping. -The following makes PROTOTYPES default to 0 if it has not already - - - -Rivest [Page 7] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - - been defined with C compiler flags. - */ -#ifndef PROTOTYPES -#define PROTOTYPES 0 -#endif - -/* POINTER defines a generic pointer type */ -typedef unsigned char *POINTER; - -/* UINT2 defines a two byte word */ -typedef unsigned short int UINT2; - -/* UINT4 defines a four byte word */ -typedef unsigned long int UINT4; - -/* PROTO_LIST is defined depending on how PROTOTYPES is defined above. -If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it - returns an empty list. - */ -#if PROTOTYPES -#define PROTO_LIST(list) list -#else -#define PROTO_LIST(list) () -#endif - -A.2 md5.h - -/* MD5.H - header file for MD5C.C - */ - -/* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All -rights reserved. - -License to copy and use this software is granted provided that it -is identified as the "RSA Data Security, Inc. MD5 Message-Digest -Algorithm" in all material mentioning or referencing this software -or this function. - -License is also granted to make and use derivative works provided -that such works are identified as "derived from the RSA Data -Security, Inc. MD5 Message-Digest Algorithm" in all material -mentioning or referencing the derived work. - -RSA Data Security, Inc. makes no representations concerning either -the merchantability of this software or the suitability of this -software for any particular purpose. It is provided "as is" -without express or implied warranty of any kind. - - - - -Rivest [Page 8] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - -These notices must be retained in any copies of any part of this -documentation and/or software. - */ - -/* MD5 context. */ -typedef struct { - UINT4 state[4]; /* state (ABCD) */ - UINT4 count[2]; /* number of bits, modulo 2^64 (lsb first) */ - unsigned char buffer[64]; /* input buffer */ -} MD5_CTX; - -void MD5Init PROTO_LIST ((MD5_CTX *)); -void MD5Update PROTO_LIST - ((MD5_CTX *, unsigned char *, unsigned int)); -void MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *)); - -A.3 md5c.c - -/* MD5C.C - RSA Data Security, Inc., MD5 message-digest algorithm - */ - -/* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All -rights reserved. - -License to copy and use this software is granted provided that it -is identified as the "RSA Data Security, Inc. MD5 Message-Digest -Algorithm" in all material mentioning or referencing this software -or this function. - -License is also granted to make and use derivative works provided -that such works are identified as "derived from the RSA Data -Security, Inc. MD5 Message-Digest Algorithm" in all material -mentioning or referencing the derived work. - -RSA Data Security, Inc. makes no representations concerning either -the merchantability of this software or the suitability of this -software for any particular purpose. It is provided "as is" -without express or implied warranty of any kind. - -These notices must be retained in any copies of any part of this -documentation and/or software. - */ - -#include "global.h" -#include "md5.h" - -/* Constants for MD5Transform routine. - */ - - - -Rivest [Page 9] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - -#define S11 7 -#define S12 12 -#define S13 17 -#define S14 22 -#define S21 5 -#define S22 9 -#define S23 14 -#define S24 20 -#define S31 4 -#define S32 11 -#define S33 16 -#define S34 23 -#define S41 6 -#define S42 10 -#define S43 15 -#define S44 21 - -static void MD5Transform PROTO_LIST ((UINT4 [4], unsigned char [64])); -static void Encode PROTO_LIST - ((unsigned char *, UINT4 *, unsigned int)); -static void Decode PROTO_LIST - ((UINT4 *, unsigned char *, unsigned int)); -static void MD5_memcpy PROTO_LIST ((POINTER, POINTER, unsigned int)); -static void MD5_memset PROTO_LIST ((POINTER, int, unsigned int)); - -static unsigned char PADDING[64] = { - 0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 -}; - -/* F, G, H and I are basic MD5 functions. - */ -#define F(x, y, z) (((x) & (y)) | ((~x) & (z))) -#define G(x, y, z) (((x) & (z)) | ((y) & (~z))) -#define H(x, y, z) ((x) ^ (y) ^ (z)) -#define I(x, y, z) ((y) ^ ((x) | (~z))) - -/* ROTATE_LEFT rotates x left n bits. - */ -#define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32-(n)))) - -/* FF, GG, HH, and II transformations for rounds 1, 2, 3, and 4. -Rotation is separate from addition to prevent recomputation. - */ -#define FF(a, b, c, d, x, s, ac) { \ - (a) += F ((b), (c), (d)) + (x) + (UINT4)(ac); \ - (a) = ROTATE_LEFT ((a), (s)); \ - - - -Rivest [Page 10] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - - (a) += (b); \ - } -#define GG(a, b, c, d, x, s, ac) { \ - (a) += G ((b), (c), (d)) + (x) + (UINT4)(ac); \ - (a) = ROTATE_LEFT ((a), (s)); \ - (a) += (b); \ - } -#define HH(a, b, c, d, x, s, ac) { \ - (a) += H ((b), (c), (d)) + (x) + (UINT4)(ac); \ - (a) = ROTATE_LEFT ((a), (s)); \ - (a) += (b); \ - } -#define II(a, b, c, d, x, s, ac) { \ - (a) += I ((b), (c), (d)) + (x) + (UINT4)(ac); \ - (a) = ROTATE_LEFT ((a), (s)); \ - (a) += (b); \ - } - -/* MD5 initialization. Begins an MD5 operation, writing a new context. - */ -void MD5Init (context) -MD5_CTX *context; /* context */ -{ - context->count[0] = context->count[1] = 0; - /* Load magic initialization constants. -*/ - context->state[0] = 0x67452301; - context->state[1] = 0xefcdab89; - context->state[2] = 0x98badcfe; - context->state[3] = 0x10325476; -} - -/* MD5 block update operation. Continues an MD5 message-digest - operation, processing another message block, and updating the - context. - */ -void MD5Update (context, input, inputLen) -MD5_CTX *context; /* context */ -unsigned char *input; /* input block */ -unsigned int inputLen; /* length of input block */ -{ - unsigned int i, index, partLen; - - /* Compute number of bytes mod 64 */ - index = (unsigned int)((context->count[0] >> 3) & 0x3F); - - /* Update number of bits */ - if ((context->count[0] += ((UINT4)inputLen << 3)) - - - -Rivest [Page 11] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - - < ((UINT4)inputLen << 3)) - context->count[1]++; - context->count[1] += ((UINT4)inputLen >> 29); - - partLen = 64 - index; - - /* Transform as many times as possible. -*/ - if (inputLen >= partLen) { - MD5_memcpy - ((POINTER)&context->buffer[index], (POINTER)input, partLen); - MD5Transform (context->state, context->buffer); - - for (i = partLen; i + 63 < inputLen; i += 64) - MD5Transform (context->state, &input[i]); - - index = 0; - } - else - i = 0; - - /* Buffer remaining input */ - MD5_memcpy - ((POINTER)&context->buffer[index], (POINTER)&input[i], - inputLen-i); -} - -/* MD5 finalization. Ends an MD5 message-digest operation, writing the - the message digest and zeroizing the context. - */ -void MD5Final (digest, context) -unsigned char digest[16]; /* message digest */ -MD5_CTX *context; /* context */ -{ - unsigned char bits[8]; - unsigned int index, padLen; - - /* Save number of bits */ - Encode (bits, context->count, 8); - - /* Pad out to 56 mod 64. -*/ - index = (unsigned int)((context->count[0] >> 3) & 0x3f); - padLen = (index < 56) ? (56 - index) : (120 - index); - MD5Update (context, PADDING, padLen); - - /* Append length (before padding) */ - MD5Update (context, bits, 8); - - - -Rivest [Page 12] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - - /* Store state in digest */ - Encode (digest, context->state, 16); - - /* Zeroize sensitive information. -*/ - MD5_memset ((POINTER)context, 0, sizeof (*context)); -} - -/* MD5 basic transformation. Transforms state based on block. - */ -static void MD5Transform (state, block) -UINT4 state[4]; -unsigned char block[64]; -{ - UINT4 a = state[0], b = state[1], c = state[2], d = state[3], x[16]; - - Decode (x, block, 64); - - /* Round 1 */ - FF (a, b, c, d, x[ 0], S11, 0xd76aa478); /* 1 */ - FF (d, a, b, c, x[ 1], S12, 0xe8c7b756); /* 2 */ - FF (c, d, a, b, x[ 2], S13, 0x242070db); /* 3 */ - FF (b, c, d, a, x[ 3], S14, 0xc1bdceee); /* 4 */ - FF (a, b, c, d, x[ 4], S11, 0xf57c0faf); /* 5 */ - FF (d, a, b, c, x[ 5], S12, 0x4787c62a); /* 6 */ - FF (c, d, a, b, x[ 6], S13, 0xa8304613); /* 7 */ - FF (b, c, d, a, x[ 7], S14, 0xfd469501); /* 8 */ - FF (a, b, c, d, x[ 8], S11, 0x698098d8); /* 9 */ - FF (d, a, b, c, x[ 9], S12, 0x8b44f7af); /* 10 */ - FF (c, d, a, b, x[10], S13, 0xffff5bb1); /* 11 */ - FF (b, c, d, a, x[11], S14, 0x895cd7be); /* 12 */ - FF (a, b, c, d, x[12], S11, 0x6b901122); /* 13 */ - FF (d, a, b, c, x[13], S12, 0xfd987193); /* 14 */ - FF (c, d, a, b, x[14], S13, 0xa679438e); /* 15 */ - FF (b, c, d, a, x[15], S14, 0x49b40821); /* 16 */ - - /* Round 2 */ - GG (a, b, c, d, x[ 1], S21, 0xf61e2562); /* 17 */ - GG (d, a, b, c, x[ 6], S22, 0xc040b340); /* 18 */ - GG (c, d, a, b, x[11], S23, 0x265e5a51); /* 19 */ - GG (b, c, d, a, x[ 0], S24, 0xe9b6c7aa); /* 20 */ - GG (a, b, c, d, x[ 5], S21, 0xd62f105d); /* 21 */ - GG (d, a, b, c, x[10], S22, 0x2441453); /* 22 */ - GG (c, d, a, b, x[15], S23, 0xd8a1e681); /* 23 */ - GG (b, c, d, a, x[ 4], S24, 0xe7d3fbc8); /* 24 */ - GG (a, b, c, d, x[ 9], S21, 0x21e1cde6); /* 25 */ - GG (d, a, b, c, x[14], S22, 0xc33707d6); /* 26 */ - GG (c, d, a, b, x[ 3], S23, 0xf4d50d87); /* 27 */ - - - -Rivest [Page 13] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - - GG (b, c, d, a, x[ 8], S24, 0x455a14ed); /* 28 */ - GG (a, b, c, d, x[13], S21, 0xa9e3e905); /* 29 */ - GG (d, a, b, c, x[ 2], S22, 0xfcefa3f8); /* 30 */ - GG (c, d, a, b, x[ 7], S23, 0x676f02d9); /* 31 */ - GG (b, c, d, a, x[12], S24, 0x8d2a4c8a); /* 32 */ - - /* Round 3 */ - HH (a, b, c, d, x[ 5], S31, 0xfffa3942); /* 33 */ - HH (d, a, b, c, x[ 8], S32, 0x8771f681); /* 34 */ - HH (c, d, a, b, x[11], S33, 0x6d9d6122); /* 35 */ - HH (b, c, d, a, x[14], S34, 0xfde5380c); /* 36 */ - HH (a, b, c, d, x[ 1], S31, 0xa4beea44); /* 37 */ - HH (d, a, b, c, x[ 4], S32, 0x4bdecfa9); /* 38 */ - HH (c, d, a, b, x[ 7], S33, 0xf6bb4b60); /* 39 */ - HH (b, c, d, a, x[10], S34, 0xbebfbc70); /* 40 */ - HH (a, b, c, d, x[13], S31, 0x289b7ec6); /* 41 */ - HH (d, a, b, c, x[ 0], S32, 0xeaa127fa); /* 42 */ - HH (c, d, a, b, x[ 3], S33, 0xd4ef3085); /* 43 */ - HH (b, c, d, a, x[ 6], S34, 0x4881d05); /* 44 */ - HH (a, b, c, d, x[ 9], S31, 0xd9d4d039); /* 45 */ - HH (d, a, b, c, x[12], S32, 0xe6db99e5); /* 46 */ - HH (c, d, a, b, x[15], S33, 0x1fa27cf8); /* 47 */ - HH (b, c, d, a, x[ 2], S34, 0xc4ac5665); /* 48 */ - - /* Round 4 */ - II (a, b, c, d, x[ 0], S41, 0xf4292244); /* 49 */ - II (d, a, b, c, x[ 7], S42, 0x432aff97); /* 50 */ - II (c, d, a, b, x[14], S43, 0xab9423a7); /* 51 */ - II (b, c, d, a, x[ 5], S44, 0xfc93a039); /* 52 */ - II (a, b, c, d, x[12], S41, 0x655b59c3); /* 53 */ - II (d, a, b, c, x[ 3], S42, 0x8f0ccc92); /* 54 */ - II (c, d, a, b, x[10], S43, 0xffeff47d); /* 55 */ - II (b, c, d, a, x[ 1], S44, 0x85845dd1); /* 56 */ - II (a, b, c, d, x[ 8], S41, 0x6fa87e4f); /* 57 */ - II (d, a, b, c, x[15], S42, 0xfe2ce6e0); /* 58 */ - II (c, d, a, b, x[ 6], S43, 0xa3014314); /* 59 */ - II (b, c, d, a, x[13], S44, 0x4e0811a1); /* 60 */ - II (a, b, c, d, x[ 4], S41, 0xf7537e82); /* 61 */ - II (d, a, b, c, x[11], S42, 0xbd3af235); /* 62 */ - II (c, d, a, b, x[ 2], S43, 0x2ad7d2bb); /* 63 */ - II (b, c, d, a, x[ 9], S44, 0xeb86d391); /* 64 */ - - state[0] += a; - state[1] += b; - state[2] += c; - state[3] += d; - - /* Zeroize sensitive information. - - - -Rivest [Page 14] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - -*/ - MD5_memset ((POINTER)x, 0, sizeof (x)); -} - -/* Encodes input (UINT4) into output (unsigned char). Assumes len is - a multiple of 4. - */ -static void Encode (output, input, len) -unsigned char *output; -UINT4 *input; -unsigned int len; -{ - unsigned int i, j; - - for (i = 0, j = 0; j < len; i++, j += 4) { - output[j] = (unsigned char)(input[i] & 0xff); - output[j+1] = (unsigned char)((input[i] >> 8) & 0xff); - output[j+2] = (unsigned char)((input[i] >> 16) & 0xff); - output[j+3] = (unsigned char)((input[i] >> 24) & 0xff); - } -} - -/* Decodes input (unsigned char) into output (UINT4). Assumes len is - a multiple of 4. - */ -static void Decode (output, input, len) -UINT4 *output; -unsigned char *input; -unsigned int len; -{ - unsigned int i, j; - - for (i = 0, j = 0; j < len; i++, j += 4) - output[i] = ((UINT4)input[j]) | (((UINT4)input[j+1]) << 8) | - (((UINT4)input[j+2]) << 16) | (((UINT4)input[j+3]) << 24); -} - -/* Note: Replace "for loop" with standard memcpy if possible. - */ - -static void MD5_memcpy (output, input, len) -POINTER output; -POINTER input; -unsigned int len; -{ - unsigned int i; - - for (i = 0; i < len; i++) - - - -Rivest [Page 15] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - - output[i] = input[i]; -} - -/* Note: Replace "for loop" with standard memset if possible. - */ -static void MD5_memset (output, value, len) -POINTER output; -int value; -unsigned int len; -{ - unsigned int i; - - for (i = 0; i < len; i++) - ((char *)output)[i] = (char)value; -} - -A.4 mddriver.c - -/* MDDRIVER.C - test driver for MD2, MD4 and MD5 - */ - -/* Copyright (C) 1990-2, RSA Data Security, Inc. Created 1990. All -rights reserved. - -RSA Data Security, Inc. makes no representations concerning either -the merchantability of this software or the suitability of this -software for any particular purpose. It is provided "as is" -without express or implied warranty of any kind. - -These notices must be retained in any copies of any part of this -documentation and/or software. - */ - -/* The following makes MD default to MD5 if it has not already been - defined with C compiler flags. - */ -#ifndef MD -#define MD MD5 -#endif - -#include -#include -#include -#include "global.h" -#if MD == 2 -#include "md2.h" -#endif -#if MD == 4 - - - -Rivest [Page 16] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - -#include "md4.h" -#endif -#if MD == 5 -#include "md5.h" -#endif - -/* Length of test block, number of test blocks. - */ -#define TEST_BLOCK_LEN 1000 -#define TEST_BLOCK_COUNT 1000 - -static void MDString PROTO_LIST ((char *)); -static void MDTimeTrial PROTO_LIST ((void)); -static void MDTestSuite PROTO_LIST ((void)); -static void MDFile PROTO_LIST ((char *)); -static void MDFilter PROTO_LIST ((void)); -static void MDPrint PROTO_LIST ((unsigned char [16])); - -#if MD == 2 -#define MD_CTX MD2_CTX -#define MDInit MD2Init -#define MDUpdate MD2Update -#define MDFinal MD2Final -#endif -#if MD == 4 -#define MD_CTX MD4_CTX -#define MDInit MD4Init -#define MDUpdate MD4Update -#define MDFinal MD4Final -#endif -#if MD == 5 -#define MD_CTX MD5_CTX -#define MDInit MD5Init -#define MDUpdate MD5Update -#define MDFinal MD5Final -#endif - -/* Main driver. - -Arguments (may be any combination): - -sstring - digests string - -t - runs time trial - -x - runs test script - filename - digests file - (none) - digests standard input - */ -int main (argc, argv) -int argc; - - - -Rivest [Page 17] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - -char *argv[]; -{ - int i; - - if (argc > 1) - for (i = 1; i < argc; i++) - if (argv[i][0] == '-' && argv[i][1] == 's') - MDString (argv[i] + 2); - else if (strcmp (argv[i], "-t") == 0) - MDTimeTrial (); - else if (strcmp (argv[i], "-x") == 0) - MDTestSuite (); - else - MDFile (argv[i]); - else - MDFilter (); - - return (0); -} - -/* Digests a string and prints the result. - */ -static void MDString (string) -char *string; -{ - MD_CTX context; - unsigned char digest[16]; - unsigned int len = strlen (string); - - MDInit (&context); - MDUpdate (&context, string, len); - MDFinal (digest, &context); - - printf ("MD%d (\"%s\") = ", MD, string); - MDPrint (digest); - printf ("\n"); -} - -/* Measures the time to digest TEST_BLOCK_COUNT TEST_BLOCK_LEN-byte - blocks. - */ -static void MDTimeTrial () -{ - MD_CTX context; - time_t endTime, startTime; - unsigned char block[TEST_BLOCK_LEN], digest[16]; - unsigned int i; - - - - -Rivest [Page 18] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - - printf - ("MD%d time trial. Digesting %d %d-byte blocks ...", MD, - TEST_BLOCK_LEN, TEST_BLOCK_COUNT); - - /* Initialize block */ - for (i = 0; i < TEST_BLOCK_LEN; i++) - block[i] = (unsigned char)(i & 0xff); - - /* Start timer */ - time (&startTime); - - /* Digest blocks */ - MDInit (&context); - for (i = 0; i < TEST_BLOCK_COUNT; i++) - MDUpdate (&context, block, TEST_BLOCK_LEN); - MDFinal (digest, &context); - - /* Stop timer */ - time (&endTime); - - printf (" done\n"); - printf ("Digest = "); - MDPrint (digest); - printf ("\nTime = %ld seconds\n", (long)(endTime-startTime)); - printf - ("Speed = %ld bytes/second\n", - (long)TEST_BLOCK_LEN * (long)TEST_BLOCK_COUNT/(endTime-startTime)); -} - -/* Digests a reference suite of strings and prints the results. - */ -static void MDTestSuite () -{ - printf ("MD%d test suite:\n", MD); - - MDString (""); - MDString ("a"); - MDString ("abc"); - MDString ("message digest"); - MDString ("abcdefghijklmnopqrstuvwxyz"); - MDString - ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"); - MDString - ("1234567890123456789012345678901234567890\ -1234567890123456789012345678901234567890"); -} - -/* Digests a file and prints the result. - - - -Rivest [Page 19] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - - */ -static void MDFile (filename) -char *filename; -{ - FILE *file; - MD_CTX context; - int len; - unsigned char buffer[1024], digest[16]; - - if ((file = fopen (filename, "rb")) == NULL) - printf ("%s can't be opened\n", filename); - - else { - MDInit (&context); - while (len = fread (buffer, 1, 1024, file)) - MDUpdate (&context, buffer, len); - MDFinal (digest, &context); - - fclose (file); - - printf ("MD%d (%s) = ", MD, filename); - MDPrint (digest); - printf ("\n"); - } -} - -/* Digests the standard input and prints the result. - */ -static void MDFilter () -{ - MD_CTX context; - int len; - unsigned char buffer[16], digest[16]; - - MDInit (&context); - while (len = fread (buffer, 1, 16, stdin)) - MDUpdate (&context, buffer, len); - MDFinal (digest, &context); - - MDPrint (digest); - printf ("\n"); -} - -/* Prints a message digest in hexadecimal. - */ -static void MDPrint (digest) -unsigned char digest[16]; -{ - - - -Rivest [Page 20] - -RFC 1321 MD5 Message-Digest Algorithm April 1992 - - - unsigned int i; - - for (i = 0; i < 16; i++) - printf ("%02x", digest[i]); -} - -A.5 Test suite - - The MD5 test suite (driver option "-x") should print the following - results: - -MD5 test suite: -MD5 ("") = d41d8cd98f00b204e9800998ecf8427e -MD5 ("a") = 0cc175b9c0f1b6a831c399e269772661 -MD5 ("abc") = 900150983cd24fb0d6963f7d28e17f72 -MD5 ("message digest") = f96b697d7cb7938d525a2f31aaf161d0 -MD5 ("abcdefghijklmnopqrstuvwxyz") = c3fcd3d76192e4007dfb496cca67e13b -MD5 ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") = -d174ab98d277d9f5a5611c2c9f419d9f -MD5 ("123456789012345678901234567890123456789012345678901234567890123456 -78901234567890") = 57edf4a22be3c955ac49da2e2107b67a - -Security Considerations - - The level of security discussed in this memo is considered to be - sufficient for implementing very high security hybrid digital- - signature schemes based on MD5 and a public-key cryptosystem. - -Author's Address - - Ronald L. Rivest - Massachusetts Institute of Technology - Laboratory for Computer Science - NE43-324 - 545 Technology Square - Cambridge, MA 02139-1986 - - Phone: (617) 253-5880 - EMail: rivest@theory.lcs.mit.edu - - - - - - - - - - - - -Rivest [Page 21] - \ No newline at end of file diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc1760.txt b/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc1760.txt deleted file mode 100644 index 067b607..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc1760.txt +++ /dev/null @@ -1,675 +0,0 @@ - - - - - - -Network Working Group N. Haller -Request for Comments: 1760 Bellcore -Category: Informational February 1995 - - - The S/KEY One-Time Password System - -Status of this Memo - - This memo provides information for the Internet community. This memo - does not specify an Internet standard of any kind. Distribution of - this memo is unlimited. - -Abstract - - This document describes the S/KEY* One-Time Password system as - released for public use by Bellcore and as described in reference - [3]. A reference implementation and documentation are available by - anonymous ftp from ftp.bellcore.com in the directories pub/nmh/... - -Overview - - One form of attack on computing system connected to the Internet is - eavesdropping on network connections to obtain login id's and - passwords of legitimate users. The captured login id and password - are, at a later time, used gain access to the system. The S/KEY - One-Time Password system is designed to counter this type of attack, - called a replay attack. - - With the S/KEY system, only a single use password ever crosses the - network. The user's secret pass-phrase never crosses the network at - any time, including during login or when executing other commands - requiring authentication such as the UNIX commands passwd or su. - Thus, it is not vulnerable to eavesdropping/replay attacks. Added - security is provided by the property that no secret information need - be stored on any system, including the host being protected. - - The S/KEY system protects against external passive attacks against - the authentication subsystem. It does not prevent a network - eavesdropper from gaining access to private information, and does not - provide protection against "inside jobs" or against active attacks - where the potential intruder as able to intercept and modify the - packet stream. - - - - - - - - -Haller [Page 1] - -RFC 1760 The S/KEY One-Time Password System February 1995 - - -Introduction - - There are two sides to the operation of the S/KEY one-time password - system. On the client side, the appropriate one-time password must - be generated. On the host side, the server must verify the one-time - password and permit the secure changing of the user's secret pass- - phrase. - - An S/KEY system client passes the user's secret pass-phrase through - multiple applications of a secure hash function to produce a one-time - password. On each use, the number of applications is reduced by one. - Thus a unique sequence of passwords is generated. The S/KEY system - host verifies the one-time password by making one pass though the - secure hash function and comparing the result with the previous one- - time password. This technique was first suggested by Leslie Lamport - [1]. - -Secure Hash Function - - A secure hash function is a function that is easy to compute in the - forward direction, but computationally infeasible to invert. The - S/KEY system is based on the MD4 Message Digest algorithm designed by - Ronald Rivest [2]. Since the S/KEY authentication system went into - use, the MD5 Message Digest was released. We have chosen to continue - to use MD4 due the large number of client programs that have been - distributed. Some sites have generated functionally similar systems - based on MD5. Clearly clients and hosts must use the same secure - hash function to interoperate. - - The S/KEY system one-time passwords are 64 bits in length. This is - believed to be long enough to be secure and short enough to be - manually entered (see below, Form of Passwords) when necessary. - - The S/KEY system applies the secure hash function multiple times, - producing a 64 bit final output. MD4 accepts an arbitrary number of - bits as input and produces a 128 bit output. The S/KEY secure hash - function consists of applying MD4 to a 64 bit input and folding the - output of MD4 with exclusive or to produce a 64 bit output. - -Generation of One-Time Passwords - - This section describes the computation of the S/KEY one-time - passwords. It consists of a preparatory step in which all inputs are - combined, a generation step where the secure hash function is applied - multiple times, and an output function where the 64 bit one-time - - - - - - -Haller [Page 2] - -RFC 1760 The S/KEY One-Time Password System February 1995 - - - password is displayed in readable form. - - The client's secret pass phrase may be of any length and should be - more than eight characters. As the S/KEY secure hash function - described above accepts a 64 bit input, a preparatory step is needed. - In this step, the pass phrase is concatenated with a seed that is - transmitted from the server in clear text. This non-secret seed - allows a client to use the same secret pass phrase on multiple - machines (using different seeds) and to safely recycle secret - passwords by changing the seed. (For ease in parsing, the seed may - not contain any blanks, and should consist of strictly alphanumeric - characters.) The result of the concatenation is passed through MD4, - and then reduced to 64 bits by exclusive-OR of the two 8-byte halves. - - The following code fragment uses the MD4 implementation defined in - RFC 1320 [2] and defines the preparatory step: - - strcpy(buf,seed); - strcat(buf,passwd); - MDbegin(&md) - MDupdate(&md,(unsigned char *)buf,8*buflen); - - /* Fold result to 64 bits */ - md.buffer[0] ^= md.buffer[2]; - md.buffer[1] ^= md.buffer[3]; - - A sequence of one-time passwords is produced by applying the secure - hash function multiple times to the output of the preparatory step - (called S). That is, the first one-time password is produced by - passing S through the secure hash function a number of times (N) - specified by the user. The next one-time password is generated by - passing S though the secure hash function N-1 times. An eavesdropper - who has monitored the transmission of a one-time password would not - be able to generate any succeeding password because doing so would - require inverting the hash function. - -Form of Passwords - - The one-time password generated by the above procedure is 64 bits in - length. Entering a 64 bit number is a difficult and error prone - process. Some S/KEY system one-time password calculator programs - insert this password into the input stream, others make it available - for system cut and paste. Some arrangements require the one-time - password to be entered manually. The S/KEY system is designed to - facilitate this manual entry without impeding automatic methods. The - one-time password is therefore converted to, and accepted as, a - sequence of six short (1 to 4 letter) English words. Each word is - chosen from a dictionary of 2048 words; at 11 bits per word, all - - - -Haller [Page 3] - -RFC 1760 The S/KEY One-Time Password System February 1995 - - - one-time passwords may be encoded. Interoperability requires at all - S/KEY system hosts and calculators use the same dictionary. The - standard dictionary is attached to this RFC. - -Verification of One-Time Passwords - - A function on the host system that requires S/KEY authentication is - expected to issue an S/KEY challenge. This challenge give the client - the current S/KEY parameters - the sequence number and seed. It is - important that the S/KEY challenge be in a standard format so that - automated clients (see below) can recognize the challenge and extract - the parameters. The format of the challenge is: - - s/key sequence_integer seed - - The three tokens are separated by single space characters. The - challenge is terminated by a blank or a newline. - - Given the parameters and the secret pass phrase, the client can - compute (or lookup) the one time password. It then passes it to the - host system where it can be verified. - - The host system has a file (on the UNIX reference implementation it - is /etc/skeykeys) containing, for each user, the one-time password - from the last successful login, or it may be initialized with the - first one-time password of the sequence using the keyinit command - (this command name may be implementation dependent). To verify an - authentication attempt, it passes the transmitted one-time password - through the secure hash function one time. If the result of this - operation matches the stored previous one-time password, the - authentication is successful and the accepted one-time password is - stored for future use. - - Because the number of hash function applications executed by the - client decreases by one each time, at some point the user must - reinitialize the system of be unable to login again. This is done by - using the keyinit command which allows the changing of the secret - pass phrase, the iteration count, and the seed. A frequent technique - is to increment a trailing digit(s) of the seed and to reset the - iteration count (to something in range of 500-1000). - -Clients - - Several programs are available to calculate S/KEY one time passwords. - Included in the reference implementation are command line interfaces - for UNIX and PC systems (key), TSR interfaces for PCs (ctkey, - termkey, and popkey), and GUI interfaces for Macintosh and Windows - (keyapp and un-named Macintosh interface). - - - -Haller [Page 4] - -RFC 1760 The S/KEY One-Time Password System February 1995 - - - The most basic calculator is the key command whose format is: - - key [-n count] sequence seed - - The optional count is used to display more than a single one time - password. This is useful to create a paper list of one time - passwords. - - The most automated calculator is the termkey program that runs as a - Terminate and Stay Resident (TSR) program on a PC. It scans the - screen to find the S/KEY parameters, prompts for the secret pass - phrase, and stuffs the one time password into the keyboard buffer. - -Acknowledgements - - The idea behind S/KEY authentication was first proposed by Leslie - Lamport [1]. The specific system described was proposed by Phil - Karn, who also wrote most of the reference implementation. - -References - - [1] Lamport, L., "Password Authentication with Insecure - Communication", Communications of the ACM 24.11, November 1981, - 770-772. - - [2] Rivest, R., "The MD4 Message-Digest Algorithm", RFC 1320, MIT and - RSA Data Security, Inc., April 1992 - - [3] Haller, N., "The S/KEY One-Time Password System", Proceedings of - the ISOC Symposium on Network and Distributed System Security, - February 1994, San Diego, CA - - [4] Haller, N., and R. Atkinson, "On Internet Authentication", RFC - 1704, Bell Communications Research and Naval Research Laboratory, - October 1994 - - - - - - - - - - - - - - - - -Haller [Page 5] - -RFC 1760 The S/KEY One-Time Password System February 1995 - - -Security Considerations - - This entire document is about Security Considerations. - -Author's Address - - Neil Haller - Bellcore - MRE 2Q-280 - 445 South Street - Morristown, NJ, 07960-6438, USA - - Phone: +1 201 829-4478 - Fax: +1 201 829-2504 - EMail: nmh@bellcore.com - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Haller [Page 6] - -RFC 1760 The S/KEY One-Time Password System February 1995 - - -Dictionary for Converting Between S/KEY 6-Word and Binary Formats - - This dictionary is from the module put.c. The code for this module, - and an implementation of the entire S/KEY One Time Password System is - available by anonymous ftp from ftp.bellcore.com in the directory - pub/nmh/skey. - - -{ "A", "ABE", "ACE", "ACT", "AD", "ADA", "ADD", -"AGO", "AID", "AIM", "AIR", "ALL", "ALP", "AM", "AMY", -"AN", "ANA", "AND", "ANN", "ANT", "ANY", "APE", "APS", -"APT", "ARC", "ARE", "ARK", "ARM", "ART", "AS", "ASH", -"ASK", "AT", "ATE", "AUG", "AUK", "AVE", "AWE", "AWK", -"AWL", "AWN", "AX", "AYE", "BAD", "BAG", "BAH", "BAM", -"BAN", "BAR", "BAT", "BAY", "BE", "BED", "BEE", "BEG", -"BEN", "BET", "BEY", "BIB", "BID", "BIG", "BIN", "BIT", -"BOB", "BOG", "BON", "BOO", "BOP", "BOW", "BOY", "BUB", -"BUD", "BUG", "BUM", "BUN", "BUS", "BUT", "BUY", "BY", -"BYE", "CAB", "CAL", "CAM", "CAN", "CAP", "CAR", "CAT", -"CAW", "COD", "COG", "COL", "CON", "COO", "COP", "COT", -"COW", "COY", "CRY", "CUB", "CUE", "CUP", "CUR", "CUT", -"DAB", "DAD", "DAM", "DAN", "DAR", "DAY", "DEE", "DEL", -"DEN", "DES", "DEW", "DID", "DIE", "DIG", "DIN", "DIP", -"DO", "DOE", "DOG", "DON", "DOT", "DOW", "DRY", "DUB", -"DUD", "DUE", "DUG", "DUN", "EAR", "EAT", "ED", "EEL", -"EGG", "EGO", "ELI", "ELK", "ELM", "ELY", "EM", "END", -"EST", "ETC", "EVA", "EVE", "EWE", "EYE", "FAD", "FAN", -"FAR", "FAT", "FAY", "FED", "FEE", "FEW", "FIB", "FIG", -"FIN", "FIR", "FIT", "FLO", "FLY", "FOE", "FOG", "FOR", -"FRY", "FUM", "FUN", "FUR", "GAB", "GAD", "GAG", "GAL", -"GAM", "GAP", "GAS", "GAY", "GEE", "GEL", "GEM", "GET", -"GIG", "GIL", "GIN", "GO", "GOT", "GUM", "GUN", "GUS", -"GUT", "GUY", "GYM", "GYP", "HA", "HAD", "HAL", "HAM", -"HAN", "HAP", "HAS", "HAT", "HAW", "HAY", "HE", "HEM", -"HEN", "HER", "HEW", "HEY", "HI", "HID", "HIM", "HIP", -"HIS", "HIT", "HO", "HOB", "HOC", "HOE", "HOG", "HOP", -"HOT", "HOW", "HUB", "HUE", "HUG", "HUH", "HUM", "HUT", -"I", "ICY", "IDA", "IF", "IKE", "ILL", "INK", "INN", -"IO", "ION", "IQ", "IRA", "IRE", "IRK", "IS", "IT", -"ITS", "IVY", "JAB", "JAG", "JAM", "JAN", "JAR", "JAW", -"JAY", "JET", "JIG", "JIM", "JO", "JOB", "JOE", "JOG", -"JOT", "JOY", "JUG", "JUT", "KAY", "KEG", "KEN", "KEY", -"KID", "KIM", "KIN", "KIT", "LA", "LAB", "LAC", "LAD", -"LAG", "LAM", "LAP", "LAW", "LAY", "LEA", "LED", "LEE", -"LEG", "LEN", "LEO", "LET", "LEW", "LID", "LIE", "LIN", -"LIP", "LIT", "LO", "LOB", "LOG", "LOP", "LOS", "LOT", -"LOU", "LOW", "LOY", "LUG", "LYE", "MA", "MAC", "MAD", -"MAE", "MAN", "MAO", "MAP", "MAT", "MAW", "MAY", "ME", - - - -Haller [Page 7] - -RFC 1760 The S/KEY One-Time Password System February 1995 - - -"MEG", "MEL", "MEN", "MET", "MEW", "MID", "MIN", "MIT", -"MOB", "MOD", "MOE", "MOO", "MOP", "MOS", "MOT", "MOW", -"MUD", "MUG", "MUM", "MY", "NAB", "NAG", "NAN", "NAP", -"NAT", "NAY", "NE", "NED", "NEE", "NET", "NEW", "NIB", -"NIL", "NIP", "NIT", "NO", "NOB", "NOD", "NON", "NOR", -"NOT", "NOV", "NOW", "NU", "NUN", "NUT", "O", "OAF", -"OAK", "OAR", "OAT", "ODD", "ODE", "OF", "OFF", "OFT", -"OH", "OIL", "OK", "OLD", "ON", "ONE", "OR", "ORB", -"ORE", "ORR", "OS", "OTT", "OUR", "OUT", "OVA", "OW", -"OWE", "OWL", "OWN", "OX", "PA", "PAD", "PAL", "PAM", -"PAN", "PAP", "PAR", "PAT", "PAW", "PAY", "PEA", "PEG", -"PEN", "PEP", "PER", "PET", "PEW", "PHI", "PI", "PIE", -"PIN", "PIT", "PLY", "PO", "POD", "POE", "POP", "POT", -"POW", "PRO", "PRY", "PUB", "PUG", "PUN", "PUP", "PUT", -"QUO", "RAG", "RAM", "RAN", "RAP", "RAT", "RAW", "RAY", -"REB", "RED", "REP", "RET", "RIB", "RID", "RIG", "RIM", -"RIO", "RIP", "ROB", "ROD", "ROE", "RON", "ROT", "ROW", -"ROY", "RUB", "RUE", "RUG", "RUM", "RUN", "RYE", "SAC", -"SAD", "SAG", "SAL", "SAM", "SAN", "SAP", "SAT", "SAW", -"SAY", "SEA", "SEC", "SEE", "SEN", "SET", "SEW", "SHE", -"SHY", "SIN", "SIP", "SIR", "SIS", "SIT", "SKI", "SKY", -"SLY", "SO", "SOB", "SOD", "SON", "SOP", "SOW", "SOY", -"SPA", "SPY", "SUB", "SUD", "SUE", "SUM", "SUN", "SUP", -"TAB", "TAD", "TAG", "TAN", "TAP", "TAR", "TEA", "TED", -"TEE", "TEN", "THE", "THY", "TIC", "TIE", "TIM", "TIN", -"TIP", "TO", "TOE", "TOG", "TOM", "TON", "TOO", "TOP", -"TOW", "TOY", "TRY", "TUB", "TUG", "TUM", "TUN", "TWO", -"UN", "UP", "US", "USE", "VAN", "VAT", "VET", "VIE", -"WAD", "WAG", "WAR", "WAS", "WAY", "WE", "WEB", "WED", -"WEE", "WET", "WHO", "WHY", "WIN", "WIT", "WOK", "WON", -"WOO", "WOW", "WRY", "WU", "YAM", "YAP", "YAW", "YE", -"YEA", "YES", "YET", "YOU", "ABED", "ABEL", "ABET", "ABLE", -"ABUT", "ACHE", "ACID", "ACME", "ACRE", "ACTA", "ACTS", "ADAM", -"ADDS", "ADEN", "AFAR", "AFRO", "AGEE", "AHEM", "AHOY", "AIDA", -"AIDE", "AIDS", "AIRY", "AJAR", "AKIN", "ALAN", "ALEC", "ALGA", -"ALIA", "ALLY", "ALMA", "ALOE", "ALSO", "ALTO", "ALUM", "ALVA", -"AMEN", "AMES", "AMID", "AMMO", "AMOK", "AMOS", "AMRA", "ANDY", -"ANEW", "ANNA", "ANNE", "ANTE", "ANTI", "AQUA", "ARAB", "ARCH", -"AREA", "ARGO", "ARID", "ARMY", "ARTS", "ARTY", "ASIA", "ASKS", -"ATOM", "AUNT", "AURA", "AUTO", "AVER", "AVID", "AVIS", "AVON", -"AVOW", "AWAY", "AWRY", "BABE", "BABY", "BACH", "BACK", "BADE", -"BAIL", "BAIT", "BAKE", "BALD", "BALE", "BALI", "BALK", "BALL", -"BALM", "BAND", "BANE", "BANG", "BANK", "BARB", "BARD", "BARE", -"BARK", "BARN", "BARR", "BASE", "BASH", "BASK", "BASS", "BATE", -"BATH", "BAWD", "BAWL", "BEAD", "BEAK", "BEAM", "BEAN", "BEAR", -"BEAT", "BEAU", "BECK", "BEEF", "BEEN", "BEER", "BEET", "BELA", -"BELL", "BELT", "BEND", "BENT", "BERG", "BERN", "BERT", "BESS", -"BEST", "BETA", "BETH", "BHOY", "BIAS", "BIDE", "BIEN", "BILE", - - - -Haller [Page 8] - -RFC 1760 The S/KEY One-Time Password System February 1995 - - -"BILK", "BILL", "BIND", "BING", "BIRD", "BITE", "BITS", "BLAB", -"BLAT", "BLED", "BLEW", "BLOB", "BLOC", "BLOT", "BLOW", "BLUE", -"BLUM", "BLUR", "BOAR", "BOAT", "BOCA", "BOCK", "BODE", "BODY", -"BOGY", "BOHR", "BOIL", "BOLD", "BOLO", "BOLT", "BOMB", "BONA", -"BOND", "BONE", "BONG", "BONN", "BONY", "BOOK", "BOOM", "BOON", -"BOOT", "BORE", "BORG", "BORN", "BOSE", "BOSS", "BOTH", "BOUT", -"BOWL", "BOYD", "BRAD", "BRAE", "BRAG", "BRAN", "BRAY", "BRED", -"BREW", "BRIG", "BRIM", "BROW", "BUCK", "BUDD", "BUFF", "BULB", -"BULK", "BULL", "BUNK", "BUNT", "BUOY", "BURG", "BURL", "BURN", -"BURR", "BURT", "BURY", "BUSH", "BUSS", "BUST", "BUSY", "BYTE", -"CADY", "CAFE", "CAGE", "CAIN", "CAKE", "CALF", "CALL", "CALM", -"CAME", "CANE", "CANT", "CARD", "CARE", "CARL", "CARR", "CART", -"CASE", "CASH", "CASK", "CAST", "CAVE", "CEIL", "CELL", "CENT", -"CERN", "CHAD", "CHAR", "CHAT", "CHAW", "CHEF", "CHEN", "CHEW", -"CHIC", "CHIN", "CHOU", "CHOW", "CHUB", "CHUG", "CHUM", "CITE", -"CITY", "CLAD", "CLAM", "CLAN", "CLAW", "CLAY", "CLOD", "CLOG", -"CLOT", "CLUB", "CLUE", "COAL", "COAT", "COCA", "COCK", "COCO", -"CODA", "CODE", "CODY", "COED", "COIL", "COIN", "COKE", "COLA", -"COLD", "COLT", "COMA", "COMB", "COME", "COOK", "COOL", "COON", -"COOT", "CORD", "CORE", "CORK", "CORN", "COST", "COVE", "COWL", -"CRAB", "CRAG", "CRAM", "CRAY", "CREW", "CRIB", "CROW", "CRUD", -"CUBA", "CUBE", "CUFF", "CULL", "CULT", "CUNY", "CURB", "CURD", -"CURE", "CURL", "CURT", "CUTS", "DADE", "DALE", "DAME", "DANA", -"DANE", "DANG", "DANK", "DARE", "DARK", "DARN", "DART", "DASH", -"DATA", "DATE", "DAVE", "DAVY", "DAWN", "DAYS", "DEAD", "DEAF", -"DEAL", "DEAN", "DEAR", "DEBT", "DECK", "DEED", "DEEM", "DEER", -"DEFT", "DEFY", "DELL", "DENT", "DENY", "DESK", "DIAL", "DICE", -"DIED", "DIET", "DIME", "DINE", "DING", "DINT", "DIRE", "DIRT", -"DISC", "DISH", "DISK", "DIVE", "DOCK", "DOES", "DOLE", "DOLL", -"DOLT", "DOME", "DONE", "DOOM", "DOOR", "DORA", "DOSE", "DOTE", -"DOUG", "DOUR", "DOVE", "DOWN", "DRAB", "DRAG", "DRAM", "DRAW", -"DREW", "DRUB", "DRUG", "DRUM", "DUAL", "DUCK", "DUCT", "DUEL", -"DUET", "DUKE", "DULL", "DUMB", "DUNE", "DUNK", "DUSK", "DUST", -"DUTY", "EACH", "EARL", "EARN", "EASE", "EAST", "EASY", "EBEN", -"ECHO", "EDDY", "EDEN", "EDGE", "EDGY", "EDIT", "EDNA", "EGAN", -"ELAN", "ELBA", "ELLA", "ELSE", "EMIL", "EMIT", "EMMA", "ENDS", -"ERIC", "EROS", "EVEN", "EVER", "EVIL", "EYED", "FACE", "FACT", -"FADE", "FAIL", "FAIN", "FAIR", "FAKE", "FALL", "FAME", "FANG", -"FARM", "FAST", "FATE", "FAWN", "FEAR", "FEAT", "FEED", "FEEL", -"FEET", "FELL", "FELT", "FEND", "FERN", "FEST", "FEUD", "FIEF", -"FIGS", "FILE", "FILL", "FILM", "FIND", "FINE", "FINK", "FIRE", -"FIRM", "FISH", "FISK", "FIST", "FITS", "FIVE", "FLAG", "FLAK", -"FLAM", "FLAT", "FLAW", "FLEA", "FLED", "FLEW", "FLIT", "FLOC", -"FLOG", "FLOW", "FLUB", "FLUE", "FOAL", "FOAM", "FOGY", "FOIL", -"FOLD", "FOLK", "FOND", "FONT", "FOOD", "FOOL", "FOOT", "FORD", -"FORE", "FORK", "FORM", "FORT", "FOSS", "FOUL", "FOUR", "FOWL", -"FRAU", "FRAY", "FRED", "FREE", "FRET", "FREY", "FROG", "FROM", -"FUEL", "FULL", "FUME", "FUND", "FUNK", "FURY", "FUSE", "FUSS", - - - -Haller [Page 9] - -RFC 1760 The S/KEY One-Time Password System February 1995 - - -"GAFF", "GAGE", "GAIL", "GAIN", "GAIT", "GALA", "GALE", "GALL", -"GALT", "GAME", "GANG", "GARB", "GARY", "GASH", "GATE", "GAUL", -"GAUR", "GAVE", "GAWK", "GEAR", "GELD", "GENE", "GENT", "GERM", -"GETS", "GIBE", "GIFT", "GILD", "GILL", "GILT", "GINA", "GIRD", -"GIRL", "GIST", "GIVE", "GLAD", "GLEE", "GLEN", "GLIB", "GLOB", -"GLOM", "GLOW", "GLUE", "GLUM", "GLUT", "GOAD", "GOAL", "GOAT", -"GOER", "GOES", "GOLD", "GOLF", "GONE", "GONG", "GOOD", "GOOF", -"GORE", "GORY", "GOSH", "GOUT", "GOWN", "GRAB", "GRAD", "GRAY", -"GREG", "GREW", "GREY", "GRID", "GRIM", "GRIN", "GRIT", "GROW", -"GRUB", "GULF", "GULL", "GUNK", "GURU", "GUSH", "GUST", "GWEN", -"GWYN", "HAAG", "HAAS", "HACK", "HAIL", "HAIR", "HALE", "HALF", -"HALL", "HALO", "HALT", "HAND", "HANG", "HANK", "HANS", "HARD", -"HARK", "HARM", "HART", "HASH", "HAST", "HATE", "HATH", "HAUL", -"HAVE", "HAWK", "HAYS", "HEAD", "HEAL", "HEAR", "HEAT", "HEBE", -"HECK", "HEED", "HEEL", "HEFT", "HELD", "HELL", "HELM", "HERB", -"HERD", "HERE", "HERO", "HERS", "HESS", "HEWN", "HICK", "HIDE", -"HIGH", "HIKE", "HILL", "HILT", "HIND", "HINT", "HIRE", "HISS", -"HIVE", "HOBO", "HOCK", "HOFF", "HOLD", "HOLE", "HOLM", "HOLT", -"HOME", "HONE", "HONK", "HOOD", "HOOF", "HOOK", "HOOT", "HORN", -"HOSE", "HOST", "HOUR", "HOVE", "HOWE", "HOWL", "HOYT", "HUCK", -"HUED", "HUFF", "HUGE", "HUGH", "HUGO", "HULK", "HULL", "HUNK", -"HUNT", "HURD", "HURL", "HURT", "HUSH", "HYDE", "HYMN", "IBIS", -"ICON", "IDEA", "IDLE", "IFFY", "INCA", "INCH", "INTO", "IONS", -"IOTA", "IOWA", "IRIS", "IRMA", "IRON", "ISLE", "ITCH", "ITEM", -"IVAN", "JACK", "JADE", "JAIL", "JAKE", "JANE", "JAVA", "JEAN", -"JEFF", "JERK", "JESS", "JEST", "JIBE", "JILL", "JILT", "JIVE", -"JOAN", "JOBS", "JOCK", "JOEL", "JOEY", "JOHN", "JOIN", "JOKE", -"JOLT", "JOVE", "JUDD", "JUDE", "JUDO", "JUDY", "JUJU", "JUKE", -"JULY", "JUNE", "JUNK", "JUNO", "JURY", "JUST", "JUTE", "KAHN", -"KALE", "KANE", "KANT", "KARL", "KATE", "KEEL", "KEEN", "KENO", -"KENT", "KERN", "KERR", "KEYS", "KICK", "KILL", "KIND", "KING", -"KIRK", "KISS", "KITE", "KLAN", "KNEE", "KNEW", "KNIT", "KNOB", -"KNOT", "KNOW", "KOCH", "KONG", "KUDO", "KURD", "KURT", "KYLE", -"LACE", "LACK", "LACY", "LADY", "LAID", "LAIN", "LAIR", "LAKE", -"LAMB", "LAME", "LAND", "LANE", "LANG", "LARD", "LARK", "LASS", -"LAST", "LATE", "LAUD", "LAVA", "LAWN", "LAWS", "LAYS", "LEAD", -"LEAF", "LEAK", "LEAN", "LEAR", "LEEK", "LEER", "LEFT", "LEND", -"LENS", "LENT", "LEON", "LESK", "LESS", "LEST", "LETS", "LIAR", -"LICE", "LICK", "LIED", "LIEN", "LIES", "LIEU", "LIFE", "LIFT", -"LIKE", "LILA", "LILT", "LILY", "LIMA", "LIMB", "LIME", "LIND", -"LINE", "LINK", "LINT", "LION", "LISA", "LIST", "LIVE", "LOAD", -"LOAF", "LOAM", "LOAN", "LOCK", "LOFT", "LOGE", "LOIS", "LOLA", -"LONE", "LONG", "LOOK", "LOON", "LOOT", "LORD", "LORE", "LOSE", -"LOSS", "LOST", "LOUD", "LOVE", "LOWE", "LUCK", "LUCY", "LUGE", -"LUKE", "LULU", "LUND", "LUNG", "LURA", "LURE", "LURK", "LUSH", -"LUST", "LYLE", "LYNN", "LYON", "LYRA", "MACE", "MADE", "MAGI", -"MAID", "MAIL", "MAIN", "MAKE", "MALE", "MALI", "MALL", "MALT", -"MANA", "MANN", "MANY", "MARC", "MARE", "MARK", "MARS", "MART", - - - -Haller [Page 10] - -RFC 1760 The S/KEY One-Time Password System February 1995 - - -"MARY", "MASH", "MASK", "MASS", "MAST", "MATE", "MATH", "MAUL", -"MAYO", "MEAD", "MEAL", "MEAN", "MEAT", "MEEK", "MEET", "MELD", -"MELT", "MEMO", "MEND", "MENU", "MERT", "MESH", "MESS", "MICE", -"MIKE", "MILD", "MILE", "MILK", "MILL", "MILT", "MIMI", "MIND", -"MINE", "MINI", "MINK", "MINT", "MIRE", "MISS", "MIST", "MITE", -"MITT", "MOAN", "MOAT", "MOCK", "MODE", "MOLD", "MOLE", "MOLL", -"MOLT", "MONA", "MONK", "MONT", "MOOD", "MOON", "MOOR", "MOOT", -"MORE", "MORN", "MORT", "MOSS", "MOST", "MOTH", "MOVE", "MUCH", -"MUCK", "MUDD", "MUFF", "MULE", "MULL", "MURK", "MUSH", "MUST", -"MUTE", "MUTT", "MYRA", "MYTH", "NAGY", "NAIL", "NAIR", "NAME", -"NARY", "NASH", "NAVE", "NAVY", "NEAL", "NEAR", "NEAT", "NECK", -"NEED", "NEIL", "NELL", "NEON", "NERO", "NESS", "NEST", "NEWS", -"NEWT", "NIBS", "NICE", "NICK", "NILE", "NINA", "NINE", "NOAH", -"NODE", "NOEL", "NOLL", "NONE", "NOOK", "NOON", "NORM", "NOSE", -"NOTE", "NOUN", "NOVA", "NUDE", "NULL", "NUMB", "OATH", "OBEY", -"OBOE", "ODIN", "OHIO", "OILY", "OINT", "OKAY", "OLAF", "OLDY", -"OLGA", "OLIN", "OMAN", "OMEN", "OMIT", "ONCE", "ONES", "ONLY", -"ONTO", "ONUS", "ORAL", "ORGY", "OSLO", "OTIS", "OTTO", "OUCH", -"OUST", "OUTS", "OVAL", "OVEN", "OVER", "OWLY", "OWNS", "QUAD", -"QUIT", "QUOD", "RACE", "RACK", "RACY", "RAFT", "RAGE", "RAID", -"RAIL", "RAIN", "RAKE", "RANK", "RANT", "RARE", "RASH", "RATE", -"RAVE", "RAYS", "READ", "REAL", "REAM", "REAR", "RECK", "REED", -"REEF", "REEK", "REEL", "REID", "REIN", "RENA", "REND", "RENT", -"REST", "RICE", "RICH", "RICK", "RIDE", "RIFT", "RILL", "RIME", -"RING", "RINK", "RISE", "RISK", "RITE", "ROAD", "ROAM", "ROAR", -"ROBE", "ROCK", "RODE", "ROIL", "ROLL", "ROME", "ROOD", "ROOF", -"ROOK", "ROOM", "ROOT", "ROSA", "ROSE", "ROSS", "ROSY", "ROTH", -"ROUT", "ROVE", "ROWE", "ROWS", "RUBE", "RUBY", "RUDE", "RUDY", -"RUIN", "RULE", "RUNG", "RUNS", "RUNT", "RUSE", "RUSH", "RUSK", -"RUSS", "RUST", "RUTH", "SACK", "SAFE", "SAGE", "SAID", "SAIL", -"SALE", "SALK", "SALT", "SAME", "SAND", "SANE", "SANG", "SANK", -"SARA", "SAUL", "SAVE", "SAYS", "SCAN", "SCAR", "SCAT", "SCOT", -"SEAL", "SEAM", "SEAR", "SEAT", "SEED", "SEEK", "SEEM", "SEEN", -"SEES", "SELF", "SELL", "SEND", "SENT", "SETS", "SEWN", "SHAG", -"SHAM", "SHAW", "SHAY", "SHED", "SHIM", "SHIN", "SHOD", "SHOE", -"SHOT", "SHOW", "SHUN", "SHUT", "SICK", "SIDE", "SIFT", "SIGH", -"SIGN", "SILK", "SILL", "SILO", "SILT", "SINE", "SING", "SINK", -"SIRE", "SITE", "SITS", "SITU", "SKAT", "SKEW", "SKID", "SKIM", -"SKIN", "SKIT", "SLAB", "SLAM", "SLAT", "SLAY", "SLED", "SLEW", -"SLID", "SLIM", "SLIT", "SLOB", "SLOG", "SLOT", "SLOW", "SLUG", -"SLUM", "SLUR", "SMOG", "SMUG", "SNAG", "SNOB", "SNOW", "SNUB", -"SNUG", "SOAK", "SOAR", "SOCK", "SODA", "SOFA", "SOFT", "SOIL", -"SOLD", "SOME", "SONG", "SOON", "SOOT", "SORE", "SORT", "SOUL", -"SOUR", "SOWN", "STAB", "STAG", "STAN", "STAR", "STAY", "STEM", -"STEW", "STIR", "STOW", "STUB", "STUN", "SUCH", "SUDS", "SUIT", -"SULK", "SUMS", "SUNG", "SUNK", "SURE", "SURF", "SWAB", "SWAG", -"SWAM", "SWAN", "SWAT", "SWAY", "SWIM", "SWUM", "TACK", "TACT", -"TAIL", "TAKE", "TALE", "TALK", "TALL", "TANK", "TASK", "TATE", - - - -Haller [Page 11] - -RFC 1760 The S/KEY One-Time Password System February 1995 - - -"TAUT", "TEAL", "TEAM", "TEAR", "TECH", "TEEM", "TEEN", "TEET", -"TELL", "TEND", "TENT", "TERM", "TERN", "TESS", "TEST", "THAN", -"THAT", "THEE", "THEM", "THEN", "THEY", "THIN", "THIS", "THUD", -"THUG", "TICK", "TIDE", "TIDY", "TIED", "TIER", "TILE", "TILL", -"TILT", "TIME", "TINA", "TINE", "TINT", "TINY", "TIRE", "TOAD", -"TOGO", "TOIL", "TOLD", "TOLL", "TONE", "TONG", "TONY", "TOOK", -"TOOL", "TOOT", "TORE", "TORN", "TOTE", "TOUR", "TOUT", "TOWN", -"TRAG", "TRAM", "TRAY", "TREE", "TREK", "TRIG", "TRIM", "TRIO", -"TROD", "TROT", "TROY", "TRUE", "TUBA", "TUBE", "TUCK", "TUFT", -"TUNA", "TUNE", "TUNG", "TURF", "TURN", "TUSK", "TWIG", "TWIN", -"TWIT", "ULAN", "UNIT", "URGE", "USED", "USER", "USES", "UTAH", -"VAIL", "VAIN", "VALE", "VARY", "VASE", "VAST", "VEAL", "VEDA", -"VEIL", "VEIN", "VEND", "VENT", "VERB", "VERY", "VETO", "VICE", -"VIEW", "VINE", "VISE", "VOID", "VOLT", "VOTE", "WACK", "WADE", -"WAGE", "WAIL", "WAIT", "WAKE", "WALE", "WALK", "WALL", "WALT", -"WAND", "WANE", "WANG", "WANT", "WARD", "WARM", "WARN", "WART", -"WASH", "WAST", "WATS", "WATT", "WAVE", "WAVY", "WAYS", "WEAK", -"WEAL", "WEAN", "WEAR", "WEED", "WEEK", "WEIR", "WELD", "WELL", -"WELT", "WENT", "WERE", "WERT", "WEST", "WHAM", "WHAT", "WHEE", -"WHEN", "WHET", "WHOA", "WHOM", "WICK", "WIFE", "WILD", "WILL", -"WIND", "WINE", "WING", "WINK", "WINO", "WIRE", "WISE", "WISH", -"WITH", "WOLF", "WONT", "WOOD", "WOOL", "WORD", "WORE", "WORK", -"WORM", "WORN", "WOVE", "WRIT", "WYNN", "YALE", "YANG", "YANK", -"YARD", "YARN", "YAWL", "YAWN", "YEAH", "YEAR", "YELL", "YOGA", -"YOKE" }; - - - - - - - - - - - - - - - - - - - - - - - - - - -Haller [Page 12] - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc2104.txt b/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc2104.txt deleted file mode 100644 index 1fb8fe1..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc2104.txt +++ /dev/null @@ -1,619 +0,0 @@ - - - - - - -Network Working Group H. Krawczyk -Request for Comments: 2104 IBM -Category: Informational M. Bellare - UCSD - R. Canetti - IBM - February 1997 - - - HMAC: Keyed-Hashing for Message Authentication - -Status of This Memo - - This memo provides information for the Internet community. This memo - does not specify an Internet standard of any kind. Distribution of - this memo is unlimited. - -Abstract - - This document describes HMAC, a mechanism for message authentication - using cryptographic hash functions. HMAC can be used with any - iterative cryptographic hash function, e.g., MD5, SHA-1, in - combination with a secret shared key. The cryptographic strength of - HMAC depends on the properties of the underlying hash function. - -1. Introduction - - Providing a way to check the integrity of information transmitted - over or stored in an unreliable medium is a prime necessity in the - world of open computing and communications. Mechanisms that provide - such integrity check based on a secret key are usually called - "message authentication codes" (MAC). Typically, message - authentication codes are used between two parties that share a secret - key in order to validate information transmitted between these - parties. In this document we present such a MAC mechanism based on - cryptographic hash functions. This mechanism, called HMAC, is based - on work by the authors [BCK1] where the construction is presented and - cryptographically analyzed. We refer to that work for the details on - the rationale and security analysis of HMAC, and its comparison to - other keyed-hash methods. - - - - - - - - - - - -Krawczyk, et. al. Informational [Page 1] - -RFC 2104 HMAC February 1997 - - - HMAC can be used in combination with any iterated cryptographic hash - function. MD5 and SHA-1 are examples of such hash functions. HMAC - also uses a secret key for calculation and verification of the - message authentication values. The main goals behind this - construction are - - * To use, without modifications, available hash functions. - In particular, hash functions that perform well in software, - and for which code is freely and widely available. - - * To preserve the original performance of the hash function without - incurring a significant degradation. - - * To use and handle keys in a simple way. - - * To have a well understood cryptographic analysis of the strength of - the authentication mechanism based on reasonable assumptions on the - underlying hash function. - - * To allow for easy replaceability of the underlying hash function in - case that faster or more secure hash functions are found or - required. - - This document specifies HMAC using a generic cryptographic hash - function (denoted by H). Specific instantiations of HMAC need to - define a particular hash function. Current candidates for such hash - functions include SHA-1 [SHA], MD5 [MD5], RIPEMD-128/160 [RIPEMD]. - These different realizations of HMAC will be denoted by HMAC-SHA1, - HMAC-MD5, HMAC-RIPEMD, etc. - - Note: To the date of writing of this document MD5 and SHA-1 are the - most widely used cryptographic hash functions. MD5 has been recently - shown to be vulnerable to collision search attacks [Dobb]. This - attack and other currently known weaknesses of MD5 do not compromise - the use of MD5 within HMAC as specified in this document (see - [Dobb]); however, SHA-1 appears to be a cryptographically stronger - function. To this date, MD5 can be considered for use in HMAC for - applications where the superior performance of MD5 is critical. In - any case, implementers and users need to be aware of possible - cryptanalytic developments regarding any of these cryptographic hash - functions, and the eventual need to replace the underlying hash - function. (See section 6 for more information on the security of - HMAC.) - - - - - - - - -Krawczyk, et. al. Informational [Page 2] - -RFC 2104 HMAC February 1997 - - -2. Definition of HMAC - - The definition of HMAC requires a cryptographic hash function, which - we denote by H, and a secret key K. We assume H to be a cryptographic - hash function where data is hashed by iterating a basic compression - function on blocks of data. We denote by B the byte-length of such - blocks (B=64 for all the above mentioned examples of hash functions), - and by L the byte-length of hash outputs (L=16 for MD5, L=20 for - SHA-1). The authentication key K can be of any length up to B, the - block length of the hash function. Applications that use keys longer - than B bytes will first hash the key using H and then use the - resultant L byte string as the actual key to HMAC. In any case the - minimal recommended length for K is L bytes (as the hash output - length). See section 3 for more information on keys. - - We define two fixed and different strings ipad and opad as follows - (the 'i' and 'o' are mnemonics for inner and outer): - - ipad = the byte 0x36 repeated B times - opad = the byte 0x5C repeated B times. - - To compute HMAC over the data `text' we perform - - H(K XOR opad, H(K XOR ipad, text)) - - Namely, - - (1) append zeros to the end of K to create a B byte string - (e.g., if K is of length 20 bytes and B=64, then K will be - appended with 44 zero bytes 0x00) - (2) XOR (bitwise exclusive-OR) the B byte string computed in step - (1) with ipad - (3) append the stream of data 'text' to the B byte string resulting - from step (2) - (4) apply H to the stream generated in step (3) - (5) XOR (bitwise exclusive-OR) the B byte string computed in - step (1) with opad - (6) append the H result from step (4) to the B byte string - resulting from step (5) - (7) apply H to the stream generated in step (6) and output - the result - - For illustration purposes, sample code based on MD5 is provided as an - appendix. - - - - - - - -Krawczyk, et. al. Informational [Page 3] - -RFC 2104 HMAC February 1997 - - -3. Keys - - The key for HMAC can be of any length (keys longer than B bytes are - first hashed using H). However, less than L bytes is strongly - discouraged as it would decrease the security strength of the - function. Keys longer than L bytes are acceptable but the extra - length would not significantly increase the function strength. (A - longer key may be advisable if the randomness of the key is - considered weak.) - - Keys need to be chosen at random (or using a cryptographically strong - pseudo-random generator seeded with a random seed), and periodically - refreshed. (Current attacks do not indicate a specific recommended - frequency for key changes as these attacks are practically - infeasible. However, periodic key refreshment is a fundamental - security practice that helps against potential weaknesses of the - function and keys, and limits the damage of an exposed key.) - -4. Implementation Note - - HMAC is defined in such a way that the underlying hash function H can - be used with no modification to its code. In particular, it uses the - function H with the pre-defined initial value IV (a fixed value - specified by each iterative hash function to initialize its - compression function). However, if desired, a performance - improvement can be achieved at the cost of (possibly) modifying the - code of H to support variable IVs. - - The idea is that the intermediate results of the compression function - on the B-byte blocks (K XOR ipad) and (K XOR opad) can be precomputed - only once at the time of generation of the key K, or before its first - use. These intermediate results are stored and then used to - initialize the IV of H each time that a message needs to be - authenticated. This method saves, for each authenticated message, - the application of the compression function of H on two B-byte blocks - (i.e., on (K XOR ipad) and (K XOR opad)). Such a savings may be - significant when authenticating short streams of data. We stress - that the stored intermediate values need to be treated and protected - the same as secret keys. - - Choosing to implement HMAC in the above way is a decision of the - local implementation and has no effect on inter-operability. - - - - - - - - - -Krawczyk, et. al. Informational [Page 4] - -RFC 2104 HMAC February 1997 - - -5. Truncated output - - A well-known practice with message authentication codes is to - truncate the output of the MAC and output only part of the bits - (e.g., [MM, ANSI]). Preneel and van Oorschot [PV] show some - analytical advantages of truncating the output of hash-based MAC - functions. The results in this area are not absolute as for the - overall security advantages of truncation. It has advantages (less - information on the hash result available to an attacker) and - disadvantages (less bits to predict for the attacker). Applications - of HMAC can choose to truncate the output of HMAC by outputting the t - leftmost bits of the HMAC computation for some parameter t (namely, - the computation is carried in the normal way as defined in section 2 - above but the end result is truncated to t bits). We recommend that - the output length t be not less than half the length of the hash - output (to match the birthday attack bound) and not less than 80 bits - (a suitable lower bound on the number of bits that need to be - predicted by an attacker). We propose denoting a realization of HMAC - that uses a hash function H with t bits of output as HMAC-H-t. For - example, HMAC-SHA1-80 denotes HMAC computed using the SHA-1 function - and with the output truncated to 80 bits. (If the parameter t is not - specified, e.g. HMAC-MD5, then it is assumed that all the bits of the - hash are output.) - -6. Security - - The security of the message authentication mechanism presented here - depends on cryptographic properties of the hash function H: the - resistance to collision finding (limited to the case where the - initial value is secret and random, and where the output of the - function is not explicitly available to the attacker), and the - message authentication property of the compression function of H when - applied to single blocks (in HMAC these blocks are partially unknown - to an attacker as they contain the result of the inner H computation - and, in particular, cannot be fully chosen by the attacker). - - These properties, and actually stronger ones, are commonly assumed - for hash functions of the kind used with HMAC. In particular, a hash - function for which the above properties do not hold would become - unsuitable for most (probably, all) cryptographic applications, - including alternative message authentication schemes based on such - functions. (For a complete analysis and rationale of the HMAC - function the reader is referred to [BCK1].) - - - - - - - - -Krawczyk, et. al. Informational [Page 5] - -RFC 2104 HMAC February 1997 - - - Given the limited confidence gained so far as for the cryptographic - strength of candidate hash functions, it is important to observe the - following two properties of the HMAC construction and its secure use - for message authentication: - - 1. The construction is independent of the details of the particular - hash function H in use and then the latter can be replaced by any - other secure (iterative) cryptographic hash function. - - 2. Message authentication, as opposed to encryption, has a - "transient" effect. A published breaking of a message authentication - scheme would lead to the replacement of that scheme, but would have - no adversarial effect on information authenticated in the past. This - is in sharp contrast with encryption, where information encrypted - today may suffer from exposure in the future if, and when, the - encryption algorithm is broken. - - The strongest attack known against HMAC is based on the frequency of - collisions for the hash function H ("birthday attack") [PV,BCK2], and - is totally impractical for minimally reasonable hash functions. - - As an example, if we consider a hash function like MD5 where the - output length equals L=16 bytes (128 bits) the attacker needs to - acquire the correct message authentication tags computed (with the - _same_ secret key K!) on about 2**64 known plaintexts. This would - require the processing of at least 2**64 blocks under H, an - impossible task in any realistic scenario (for a block length of 64 - bytes this would take 250,000 years in a continuous 1Gbps link, and - without changing the secret key K during all this time). This attack - could become realistic only if serious flaws in the collision - behavior of the function H are discovered (e.g. collisions found - after 2**30 messages). Such a discovery would determine the immediate - replacement of the function H (the effects of such failure would be - far more severe for the traditional uses of H in the context of - digital signatures, public key certificates, etc.). - - Note: this attack needs to be strongly contrasted with regular - collision attacks on cryptographic hash functions where no secret key - is involved and where 2**64 off-line parallelizable (!) operations - suffice to find collisions. The latter attack is approaching - feasibility [VW] while the birthday attack on HMAC is totally - impractical. (In the above examples, if one uses a hash function - with, say, 160 bit of output then 2**64 should be replaced by 2**80.) - - - - - - - - -Krawczyk, et. al. Informational [Page 6] - -RFC 2104 HMAC February 1997 - - - A correct implementation of the above construction, the choice of - random (or cryptographically pseudorandom) keys, a secure key - exchange mechanism, frequent key refreshments, and good secrecy - protection of keys are all essential ingredients for the security of - the integrity verification mechanism provided by HMAC. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Krawczyk, et. al. Informational [Page 7] - -RFC 2104 HMAC February 1997 - - -Appendix -- Sample Code - - For the sake of illustration we provide the following sample code for - the implementation of HMAC-MD5 as well as some corresponding test - vectors (the code is based on MD5 code as described in [MD5]). - -/* -** Function: hmac_md5 -*/ - -void -hmac_md5(text, text_len, key, key_len, digest) -unsigned char* text; /* pointer to data stream */ -int text_len; /* length of data stream */ -unsigned char* key; /* pointer to authentication key */ -int key_len; /* length of authentication key */ -caddr_t digest; /* caller digest to be filled in */ - -{ - MD5_CTX context; - unsigned char k_ipad[65]; /* inner padding - - * key XORd with ipad - */ - unsigned char k_opad[65]; /* outer padding - - * key XORd with opad - */ - unsigned char tk[16]; - int i; - /* if key is longer than 64 bytes reset it to key=MD5(key) */ - if (key_len > 64) { - - MD5_CTX tctx; - - MD5Init(&tctx); - MD5Update(&tctx, key, key_len); - MD5Final(tk, &tctx); - - key = tk; - key_len = 16; - } - - /* - * the HMAC_MD5 transform looks like: - * - * MD5(K XOR opad, MD5(K XOR ipad, text)) - * - * where K is an n byte key - * ipad is the byte 0x36 repeated 64 times - - - -Krawczyk, et. al. Informational [Page 8] - -RFC 2104 HMAC February 1997 - - - * opad is the byte 0x5c repeated 64 times - * and text is the data being protected - */ - - /* start out by storing key in pads */ - bzero( k_ipad, sizeof k_ipad); - bzero( k_opad, sizeof k_opad); - bcopy( key, k_ipad, key_len); - bcopy( key, k_opad, key_len); - - /* XOR key with ipad and opad values */ - for (i=0; i<64; i++) { - k_ipad[i] ^= 0x36; - k_opad[i] ^= 0x5c; - } - /* - * perform inner MD5 - */ - MD5Init(&context); /* init context for 1st - * pass */ - MD5Update(&context, k_ipad, 64) /* start with inner pad */ - MD5Update(&context, text, text_len); /* then text of datagram */ - MD5Final(digest, &context); /* finish up 1st pass */ - /* - * perform outer MD5 - */ - MD5Init(&context); /* init context for 2nd - * pass */ - MD5Update(&context, k_opad, 64); /* start with outer pad */ - MD5Update(&context, digest, 16); /* then results of 1st - * hash */ - MD5Final(digest, &context); /* finish up 2nd pass */ -} - -Test Vectors (Trailing '\0' of a character string not included in test): - - key = 0x0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b - key_len = 16 bytes - data = "Hi There" - data_len = 8 bytes - digest = 0x9294727a3638bb1c13f48ef8158bfc9d - - key = "Jefe" - data = "what do ya want for nothing?" - data_len = 28 bytes - digest = 0x750c783e6ab0b503eaa86e310a5db738 - - key = 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA - - - -Krawczyk, et. al. Informational [Page 9] - -RFC 2104 HMAC February 1997 - - - key_len 16 bytes - data = 0xDDDDDDDDDDDDDDDDDDDD... - ..DDDDDDDDDDDDDDDDDDDD... - ..DDDDDDDDDDDDDDDDDDDD... - ..DDDDDDDDDDDDDDDDDDDD... - ..DDDDDDDDDDDDDDDDDDDD - data_len = 50 bytes - digest = 0x56be34521d144c88dbb8c733f0e8b3f6 - -Acknowledgments - - Pau-Chen Cheng, Jeff Kraemer, and Michael Oehler, have provided - useful comments on early drafts, and ran the first interoperability - tests of this specification. Jeff and Pau-Chen kindly provided the - sample code and test vectors that appear in the appendix. Burt - Kaliski, Bart Preneel, Matt Robshaw, Adi Shamir, and Paul van - Oorschot have provided useful comments and suggestions during the - investigation of the HMAC construction. - -References - - [ANSI] ANSI X9.9, "American National Standard for Financial - Institution Message Authentication (Wholesale)," American - Bankers Association, 1981. Revised 1986. - - [Atk] Atkinson, R., "IP Authentication Header", RFC 1826, August - 1995. - - [BCK1] M. Bellare, R. Canetti, and H. Krawczyk, - "Keyed Hash Functions and Message Authentication", - Proceedings of Crypto'96, LNCS 1109, pp. 1-15. - (http://www.research.ibm.com/security/keyed-md5.html) - - [BCK2] M. Bellare, R. Canetti, and H. Krawczyk, - "Pseudorandom Functions Revisited: The Cascade Construction", - Proceedings of FOCS'96. - - [Dobb] H. Dobbertin, "The Status of MD5 After a Recent Attack", - RSA Labs' CryptoBytes, Vol. 2 No. 2, Summer 1996. - http://www.rsa.com/rsalabs/pubs/cryptobytes.html - - [PV] B. Preneel and P. van Oorschot, "Building fast MACs from hash - functions", Advances in Cryptology -- CRYPTO'95 Proceedings, - Lecture Notes in Computer Science, Springer-Verlag Vol.963, - 1995, pp. 1-14. - - [MD5] Rivest, R., "The MD5 Message-Digest Algorithm", - RFC 1321, April 1992. - - - -Krawczyk, et. al. Informational [Page 10] - -RFC 2104 HMAC February 1997 - - - [MM] Meyer, S. and Matyas, S.M., Cryptography, New York Wiley, - 1982. - - [RIPEMD] H. Dobbertin, A. Bosselaers, and B. Preneel, "RIPEMD-160: A - strengthened version of RIPEMD", Fast Software Encryption, - LNCS Vol 1039, pp. 71-82. - ftp://ftp.esat.kuleuven.ac.be/pub/COSIC/bosselae/ripemd/. - - [SHA] NIST, FIPS PUB 180-1: Secure Hash Standard, April 1995. - - [Tsu] G. Tsudik, "Message authentication with one-way hash - functions", In Proceedings of Infocom'92, May 1992. - (Also in "Access Control and Policy Enforcement in - Internetworks", Ph.D. Dissertation, Computer Science - Department, University of Southern California, April 1991.) - - [VW] P. van Oorschot and M. Wiener, "Parallel Collision - Search with Applications to Hash Functions and Discrete - Logarithms", Proceedings of the 2nd ACM Conf. Computer and - Communications Security, Fairfax, VA, November 1994. - -Authors' Addresses - - Hugo Krawczyk - IBM T.J. Watson Research Center - P.O.Box 704 - Yorktown Heights, NY 10598 - - EMail: hugo@watson.ibm.com - - Mihir Bellare - Dept of Computer Science and Engineering - Mail Code 0114 - University of California at San Diego - 9500 Gilman Drive - La Jolla, CA 92093 - - EMail: mihir@cs.ucsd.edu - - Ran Canetti - IBM T.J. Watson Research Center - P.O.Box 704 - Yorktown Heights, NY 10598 - - EMail: canetti@watson.ibm.com - - - - - - -Krawczyk, et. al. Informational [Page 11] - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc2222.txt b/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc2222.txt deleted file mode 100644 index 2b0a2ab..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc2222.txt +++ /dev/null @@ -1,899 +0,0 @@ - - - - - - -Network Working Group J. Myers -Request for Comments: 2222 Netscape Communications -Category: Standards Track October 1997 - - - Simple Authentication and Security Layer (SASL) - -Status of this Memo - - This document specifies an Internet standards track protocol for the - Internet community, and requests discussion and suggestions for - improvements. Please refer to the current edition of the "Internet - Official Protocol Standards" (STD 1) for the standardization state - and status of this protocol. Distribution of this memo is unlimited. - -Copyright Notice - - Copyright (C) The Internet Society (1997). All Rights Reserved. - -Table of Contents - - 1. Abstract .............................................. 2 - 2. Organization of this Document ......................... 2 - 2.1. How to Read This Document ............................. 2 - 2.2. Conventions Used in this Document ..................... 2 - 2.3. Examples .............................................. 3 - 3. Introduction and Overview ............................. 3 - 4. Profiling requirements ................................ 4 - 5. Specific issues ....................................... 5 - 5.1. Client sends data first ............................... 5 - 5.2. Server returns success with additional data ........... 5 - 5.3. Multiple authentications .............................. 5 - 6. Registration procedures ............................... 6 - 6.1. Comments on SASL mechanism registrations .............. 6 - 6.2. Location of Registered SASL Mechanism List ............ 6 - 6.3. Change Control ........................................ 7 - 6.4. Registration Template ................................. 7 - 7. Mechanism definitions ................................. 8 - 7.1. Kerberos version 4 mechanism .......................... 8 - 7.2. GSSAPI mechanism ...................................... 9 - 7.2.1 Client side of authentication protocol exchange ....... 9 - 7.2.2 Server side of authentication protocol exchange ....... 10 - 7.2.3 Security layer ........................................ 11 - 7.3. S/Key mechanism ....................................... 11 - 7.4. External mechanism .................................... 12 - 8. References ............................................ 13 - 9. Security Considerations ............................... 13 - 10. Author's Address ...................................... 14 - - - -Myers Standards Track [Page 1] - -RFC 2222 SASL October 1997 - - - Appendix A. Relation of SASL to Transport Security .......... 15 - Full Copyright Statement .................................... 16 - -1. Abstract - - This document describes a method for adding authentication support to - connection-based protocols. To use this specification, a protocol - includes a command for identifying and authenticating a user to a - server and for optionally negotiating protection of subsequent - protocol interactions. If its use is negotiated, a security layer is - inserted between the protocol and the connection. This document - describes how a protocol specifies such a command, defines several - mechanisms for use by the command, and defines the protocol used for - carrying a negotiated security layer over the connection. - -2. Organization of this Document - -2.1. How to Read This Document - - This document is written to serve two different audiences, protocol - designers using this specification to support authentication in their - protocol, and implementors of clients or servers for those protocols - using this specification. - - The sections "Introduction and Overview", "Profiling requirements", - and "Security Considerations" cover issues that protocol designers - need to understand and address in profiling this specification for - use in a specific protocol. - - Implementors of a protocol using this specification need the - protocol-specific profiling information in addition to the - information in this document. - -2.2. Conventions Used in this Document - - In examples, "C:" and "S:" indicate lines sent by the client and - server respectively. - - The key words "MUST", "MUST NOT", "SHOULD", "SHOULD NOT", and "MAY" - in this document are to be interpreted as defined in "Key words for - use in RFCs to Indicate Requirement Levels" [RFC 2119]. - - - - - - - - - - -Myers Standards Track [Page 2] - -RFC 2222 SASL October 1997 - - -2.3. Examples - - Examples in this document are for the IMAP profile [RFC 2060] of this - specification. The base64 encoding of challenges and responses, as - well as the "+ " preceding the responses are part of the IMAP4 - profile, not part of the SASL specification itself. - -3. Introduction and Overview - - The Simple Authentication and Security Layer (SASL) is a method for - adding authentication support to connection-based protocols. To use - this specification, a protocol includes a command for identifying and - authenticating a user to a server and for optionally negotiating a - security layer for subsequent protocol interactions. - - The command has a required argument identifying a SASL mechanism. - SASL mechanisms are named by strings, from 1 to 20 characters in - length, consisting of upper-case letters, digits, hyphens, and/or - underscores. SASL mechanism names must be registered with the IANA. - Procedures for registering new SASL mechanisms are given in the - section "Registration procedures" - - If a server supports the requested mechanism, it initiates an - authentication protocol exchange. This consists of a series of - server challenges and client responses that are specific to the - requested mechanism. The challenges and responses are defined by the - mechanisms as binary tokens of arbitrary length. The protocol's - profile then specifies how these binary tokens are then encoded for - transfer over the connection. - - After receiving the authentication command or any client response, a - server may issue a challenge, indicate failure, or indicate - completion. The protocol's profile specifies how the server - indicates which of the above it is doing. - - After receiving a challenge, a client may issue a response or abort - the exchange. The protocol's profile specifies how the client - indicates which of the above it is doing. - - During the authentication protocol exchange, the mechanism performs - authentication, transmits an authorization identity (frequently known - as a userid) from the client to server, and negotiates the use of a - mechanism-specific security layer. If the use of a security layer is - agreed upon, then the mechanism must also define or negotiate the - maximum cipher-text buffer size that each side is able to receive. - - - - - - -Myers Standards Track [Page 3] - -RFC 2222 SASL October 1997 - - - The transmitted authorization identity may be different than the - identity in the client's authentication credentials. This permits - agents such as proxy servers to authenticate using their own - credentials, yet request the access privileges of the identity for - which they are proxying. With any mechanism, transmitting an - authorization identity of the empty string directs the server to - derive an authorization identity from the client's authentication - credentials. - - If use of a security layer is negotiated, it is applied to all - subsequent data sent over the connection. The security layer takes - effect immediately following the last response of the authentication - exchange for data sent by the client and the completion indication - for data sent by the server. Once the security layer is in effect, - the protocol stream is processed by the security layer into buffers - of cipher-text. Each buffer is transferred over the connection as a - stream of octets prepended with a four octet field in network byte - order that represents the length of the following buffer. The length - of the cipher-text buffer must be no larger than the maximum size - that was defined or negotiated by the other side. - -4. Profiling requirements - - In order to use this specification, a protocol definition must supply - the following information: - - 1. A service name, to be selected from the IANA registry of "service" - elements for the GSSAPI host-based service name form [RFC 2078]. - - 2. A definition of the command to initiate the authentication - protocol exchange. This command must have as a parameter the - mechanism name being selected by the client. - - The command SHOULD have an optional parameter giving an initial - response. This optional parameter allows the client to avoid a - round trip when using a mechanism which is defined to have the - client send data first. When this initial response is sent by the - client and the selected mechanism is defined to have the server - start with an initial challenge, the command fails. See section - 5.1 of this document for further information. - - 3. A definition of the method by which the authentication protocol - exchange is carried out, including how the challenges and - responses are encoded, how the server indicates completion or - failure of the exchange, how the client aborts an exchange, and - how the exchange method interacts with any line length limits in - the protocol. - - - - -Myers Standards Track [Page 4] - -RFC 2222 SASL October 1997 - - - 4. Identification of the octet where any negotiated security layer - starts to take effect, in both directions. - - 5. A specification of how the authorization identity passed from the - client to the server is to be interpreted. - -5. Specific issues - -5.1. Client sends data first - - Some mechanisms specify that the first data sent in the - authentication protocol exchange is from the client to the server. - - If a protocol's profile permits the command which initiates an - authentication protocol exchange to contain an initial client - response, this parameter SHOULD be used with such mechanisms. - - If the initial client response parameter is not given, or if a - protocol's profile does not permit the command which initiates an - authentication protocol exchange to contain an initial client - response, then the server issues a challenge with no data. The - client's response to this challenge is then used as the initial - client response. (The server then proceeds to send the next - challenge, indicates completion, or indicates failure.) - -5.2. Server returns success with additional data - - Some mechanisms may specify that server challenge data be sent to the - client along with an indication of successful completion of the - exchange. This data would, for example, authenticate the server to - the client. - - If a protocol's profile does not permit this server challenge to be - returned with a success indication, then the server issues the server - challenge without an indication of successful completion. The client - then responds with no data. After receiving this empty response, the - server then indicates successful completion. - -5.3. Multiple authentications - - Unless otherwise stated by the protocol's profile, only one - successful SASL negotiation may occur in a protocol session. In this - case, once an authentication protocol exchange has successfully - completed, further attempts to initiate an authentication protocol - exchange fail. - - - - - - -Myers Standards Track [Page 5] - -RFC 2222 SASL October 1997 - - - In the case that a profile explicitly permits multiple successful - SASL negotiations to occur, then in no case may multiple security - layers be simultaneously in effect. If a security layer is in effect - and a subsequent SASL negotiation selects no security layer, the - original security layer remains in effect. If a security layer is in - effect and a subsequent SASL negotiation selects a second security - layer, then the second security layer replaces the first. - -6. Registration procedures - - Registration of a SASL mechanism is done by filling in the template - in section 6.4 and sending it in to iana@isi.edu. IANA has the right - to reject obviously bogus registrations, but will perform no review - of clams made in the registration form. - - There is no naming convention for SASL mechanisms; any name that - conforms to the syntax of a SASL mechanism name can be registered. - - While the registration procedures do not require it, authors of SASL - mechanisms are encouraged to seek community review and comment - whenever that is feasible. Authors may seek community review by - posting a specification of their proposed mechanism as an internet- - draft. SASL mechanisms intended for widespread use should be - standardized through the normal IETF process, when appropriate. - -6.1. Comments on SASL mechanism registrations - - Comments on registered SASL mechanisms should first be sent to the - "owner" of the mechanism. Submitters of comments may, after a - reasonable attempt to contact the owner, request IANA to attach their - comment to the SASL mechanism registration itself. If IANA approves - of this the comment will be made accessible in conjunction with the - SASL mechanism registration itself. - -6.2. Location of Registered SASL Mechanism List - - SASL mechanism registrations will be posted in the anonymous FTP - directory "ftp://ftp.isi.edu/in-notes/iana/assignments/sasl- - mechanisms/" and all registered SASL mechanisms will be listed in the - periodically issued "Assigned Numbers" RFC [currently STD 2, RFC - 1700]. The SASL mechanism description and other supporting material - may also be published as an Informational RFC by sending it to "rfc- - editor@isi.edu" (please follow the instructions to RFC authors [RFC - 2223]). - - - - - - - -Myers Standards Track [Page 6] - -RFC 2222 SASL October 1997 - - -6.3. Change Control - - Once a SASL mechanism registration has been published by IANA, the - author may request a change to its definition. The change request - follows the same procedure as the registration request. - - The owner of a SASL mechanism may pass responsibility for the SASL - mechanism to another person or agency by informing IANA; this can be - done without discussion or review. - - The IESG may reassign responsibility for a SASL mechanism. The most - common case of this will be to enable changes to be made to - mechanisms where the author of the registration has died, moved out - of contact or is otherwise unable to make changes that are important - to the community. - - SASL mechanism registrations may not be deleted; mechanisms which are - no longer believed appropriate for use can be declared OBSOLETE by a - change to their "intended use" field; such SASL mechanisms will be - clearly marked in the lists published by IANA. - - The IESG is considered to be the owner of all SASL mechanisms which - are on the IETF standards track. - -6.4. Registration Template - - To: iana@iana.org - Subject: Registration of SASL mechanism X - - SASL mechanism name: - - Security considerations: - - Published specification (optional, recommended): - - Person & email address to contact for further information: - - Intended usage: - - (One of COMMON, LIMITED USE or OBSOLETE) - - Author/Change controller: - - (Any other information that the author deems interesting may be - added below this line.) - - - - - - -Myers Standards Track [Page 7] - -RFC 2222 SASL October 1997 - - -7. Mechanism definitions - - The following mechanisms are hereby defined. - -7.1. Kerberos version 4 mechanism - - The mechanism name associated with Kerberos version 4 is - "KERBEROS_V4". - - The first challenge consists of a random 32-bit number in network - byte order. The client responds with a Kerberos ticket and an - authenticator for the principal "service.hostname@realm", where - "service" is the service name specified in the protocol's profile, - "hostname" is the first component of the host name of the server with - all letters in lower case, and where "realm" is the Kerberos realm of - the server. The encrypted checksum field included within the - Kerberos authenticator contains the server provided challenge in - network byte order. - - Upon decrypting and verifying the ticket and authenticator, the - server verifies that the contained checksum field equals the original - server provided random 32-bit number. Should the verification be - successful, the server must add one to the checksum and construct 8 - octets of data, with the first four octets containing the incremented - checksum in network byte order, the fifth octet containing a bit-mask - specifying the security layers supported by the server, and the sixth - through eighth octets containing, in network byte order, the maximum - cipher-text buffer size the server is able to receive. The server - must encrypt using DES ECB mode the 8 octets of data in the session - key and issue that encrypted data in a second challenge. The client - considers the server authenticated if the first four octets of the - un-encrypted data is equal to one plus the checksum it previously - sent. - - The client must construct data with the first four octets containing - the original server-issued checksum in network byte order, the fifth - octet containing the bit-mask specifying the selected security layer, - the sixth through eighth octets containing in network byte order the - maximum cipher-text buffer size the client is able to receive, and - the following octets containing the authorization identity. The - client must then append from one to eight zero-valued octets so that - the length of the data is a multiple of eight octets. The client must - then encrypt using DES PCBC mode the data with the session key and - respond with the encrypted data. The server decrypts the data and - verifies the contained checksum. The server must verify that the - principal identified in the Kerberos ticket is authorized to connect - as that authorization identity. After this verification, the - authentication process is complete. - - - -Myers Standards Track [Page 8] - -RFC 2222 SASL October 1997 - - - The security layers and their corresponding bit-masks are as follows: - - 1 No security layer - 2 Integrity (krb_mk_safe) protection - 4 Privacy (krb_mk_priv) protection - - Other bit-masks may be defined in the future; bits which are not - understood must be negotiated off. - - EXAMPLE: The following are two Kerberos version 4 login scenarios to - the IMAP4 protocol (note that the line breaks in the sample - authenticators are for editorial clarity and are not in real - authenticators) - - S: * OK IMAP4 Server - C: A001 AUTHENTICATE KERBEROS_V4 - S: + AmFYig== - C: BAcAQU5EUkVXLkNNVS5FRFUAOCAsho84kLN3/IJmrMG+25a4DT - +nZImJjnTNHJUtxAA+o0KPKfHEcAFs9a3CL5Oebe/ydHJUwYFd - WwuQ1MWiy6IesKvjL5rL9WjXUb9MwT9bpObYLGOKi1Qh - S: + or//EoAADZI= - C: DiAF5A4gA+oOIALuBkAAmw== - S: A001 OK Kerberos V4 authentication successful - - - S: * OK IMAP4 Server - C: A001 AUTHENTICATE KERBEROS_V4 - S: + gcfgCA== - C: BAcAQU5EUkVXLkNNVS5FRFUAOCAsho84kLN3/IJmrMG+25a4DT - +nZImJjnTNHJUtxAA+o0KPKfHEcAFs9a3CL5Oebe/ydHJUwYFd - WwuQ1MWiy6IesKvjL5rL9WjXUb9MwT9bpObYLGOKi1Qh - S: A001 NO Kerberos V4 authentication failed - -7.2. GSSAPI mechanism - - The mechanism name associated with all mechanisms employing the - GSSAPI [RFC 2078] is "GSSAPI". - -7.2.1 Client side of authentication protocol exchange - - The client calls GSS_Init_sec_context, passing in 0 for - input_context_handle (initially) and a targ_name equal to output_name - from GSS_Import_Name called with input_name_type of - GSS_C_NT_HOSTBASED_SERVICE and input_name_string of - "service@hostname" where "service" is the service name specified in - the protocol's profile, and "hostname" is the fully qualified host - name of the server. The client then responds with the resulting - output_token. If GSS_Init_sec_context returns GSS_S_CONTINUE_NEEDED, - - - -Myers Standards Track [Page 9] - -RFC 2222 SASL October 1997 - - - then the client should expect the server to issue a token in a - subsequent challenge. The client must pass the token to another call - to GSS_Init_sec_context, repeating the actions in this paragraph. - - When GSS_Init_sec_context returns GSS_S_COMPLETE, the client takes - the following actions: If the last call to GSS_Init_sec_context - returned an output_token, then the client responds with the - output_token, otherwise the client responds with no data. The client - should then expect the server to issue a token in a subsequent - challenge. The client passes this token to GSS_Unwrap and interprets - the first octet of resulting cleartext as a bit-mask specifying the - security layers supported by the server and the second through fourth - octets as the maximum size output_message to send to the server. The - client then constructs data, with the first octet containing the - bit-mask specifying the selected security layer, the second through - fourth octets containing in network byte order the maximum size - output_message the client is able to receive, and the remaining - octets containing the authorization identity. The client passes the - data to GSS_Wrap with conf_flag set to FALSE, and responds with the - generated output_message. The client can then consider the server - authenticated. - -7.2.2 Server side of authentication protocol exchange - - The server passes the initial client response to - GSS_Accept_sec_context as input_token, setting input_context_handle - to 0 (initially). If GSS_Accept_sec_context returns - GSS_S_CONTINUE_NEEDED, the server returns the generated output_token - to the client in challenge and passes the resulting response to - another call to GSS_Accept_sec_context, repeating the actions in this - paragraph. - - When GSS_Accept_sec_context returns GSS_S_COMPLETE, the client takes - the following actions: If the last call to GSS_Accept_sec_context - returned an output_token, the server returns it to the client in a - challenge and expects a reply from the client with no data. Whether - or not an output_token was returned (and after receipt of any - response from the client to such an output_token), the server then - constructs 4 octets of data, with the first octet containing a bit- - mask specifying the security layers supported by the server and the - second through fourth octets containing in network byte order the - maximum size output_token the server is able to receive. The server - must then pass the plaintext to GSS_Wrap with conf_flag set to FALSE - and issue the generated output_message to the client in a challenge. - The server must then pass the resulting response to GSS_Unwrap and - interpret the first octet of resulting cleartext as the bit-mask for - the selected security layer, the second through fourth octets as the - maximum size output_message to send to the client, and the remaining - - - -Myers Standards Track [Page 10] - -RFC 2222 SASL October 1997 - - - octets as the authorization identity. The server must verify that - the src_name is authorized to authenticate as the authorization - identity. After these verifications, the authentication process is - complete. - -7.2.3 Security layer - - The security layers and their corresponding bit-masks are as follows: - - 1 No security layer - 2 Integrity protection. - Sender calls GSS_Wrap with conf_flag set to FALSE - 4 Privacy protection. - Sender calls GSS_Wrap with conf_flag set to TRUE - - Other bit-masks may be defined in the future; bits which are not - understood must be negotiated off. - -7.3. S/Key mechanism - - The mechanism name associated with S/Key [RFC 1760] using the MD4 - digest algorithm is "SKEY". - - The client sends an initial response with the authorization identity. - - The server then issues a challenge which contains the decimal - sequence number followed by a single space and the seed string for - the indicated authorization identity. The client responds with the - one-time-password, as either a 64-bit value in network byte order or - encoded in the "six English words" format. - - The server must verify the one-time-password. After this - verification, the authentication process is complete. - - S/Key authentication does not provide for any security layers. - - EXAMPLE: The following are two S/Key login scenarios in the IMAP4 - protocol. - - S: * OK IMAP4 Server - C: A001 AUTHENTICATE SKEY - S: + - C: bW9yZ2Fu - S: + OTUgUWE1ODMwOA== - C: Rk9VUiBNQU5OIFNPT04gRklSIFZBUlkgTUFTSA== - S: A001 OK S/Key authentication successful - - - - - -Myers Standards Track [Page 11] - -RFC 2222 SASL October 1997 - - - S: * OK IMAP4 Server - C: A001 AUTHENTICATE SKEY - S: + - C: c21pdGg= - S: + OTUgUWE1ODMwOA== - C: BsAY3g4gBNo= - S: A001 NO S/Key authentication failed - - The following is an S/Key login scenario in an IMAP4-like protocol - which has an optional "initial response" argument to the AUTHENTICATE - command. - - S: * OK IMAP4-Like Server - C: A001 AUTHENTICATE SKEY bW9yZ2Fu - S: + OTUgUWE1ODMwOA== - C: Rk9VUiBNQU5OIFNPT04gRklSIFZBUlkgTUFTSA== - S: A001 OK S/Key authentication successful - -7.4. External mechanism - - The mechanism name associated with external authentication is - "EXTERNAL". - - The client sends an initial response with the authorization identity. - - The server uses information, external to SASL, to determine whether - the client is authorized to authenticate as the authorization - identity. If the client is so authorized, the server indicates - successful completion of the authentication exchange; otherwise the - server indicates failure. - - The system providing this external information may be, for example, - IPsec or TLS. - - If the client sends the empty string as the authorization identity - (thus requesting the authorization identity be derived from the - client's authentication credentials), the authorization identity is - to be derived from authentication credentials which exist in the - system which is providing the external authentication. - - - - - - - - - - - - -Myers Standards Track [Page 12] - -RFC 2222 SASL October 1997 - - -8. References - - [RFC 2060] Crispin, M., "Internet Message Access Protocol - Version - 4rev1", RFC 2060, December 1996. - - [RFC 2078] Linn, J., "Generic Security Service Application Program - Interface, Version 2", RFC 2078, January 1997. - - [RFC 2119] Bradner, S., "Key words for use in RFCs to Indicate - Requirement Levels", RFC 2119, March 1997. - - [RFC 2223] Postel, J., and J. Reynolds, "Instructions to RFC - Authors", RFC 2223, October 1997. - - [RFC 1760] Haller, N., "The S/Key One-Time Password System", RFC - 1760, February 1995. - - [RFC 1700] Reynolds, J., and J. Postel, "Assigned Numbers", STD 2, - RFC 1700, October 1994. - -9. Security Considerations - - Security issues are discussed throughout this memo. - - The mechanisms that support integrity protection are designed such - that the negotiation of the security layer and authorization identity - is integrity protected. When the client selects a security layer - with at least integrity protection, this protects against an active - attacker hijacking the connection and modifying the authentication - exchange to negotiate a plaintext connection. - - When a server or client supports multiple authentication mechanisms, - each of which has a different security strength, it is possible for - an active attacker to cause a party to use the least secure mechanism - supported. To protect against this sort of attack, a client or - server which supports mechanisms of different strengths should have a - configurable minimum strength that it will use. It is not sufficient - for this minimum strength check to only be on the server, since an - active attacker can change which mechanisms the client sees as being - supported, causing the client to send authentication credentials for - its weakest supported mechanism. - - - - - - - - - - -Myers Standards Track [Page 13] - -RFC 2222 SASL October 1997 - - - The client's selection of a SASL mechanism is done in the clear and - may be modified by an active attacker. It is important for any new - SASL mechanisms to be designed such that an active attacker cannot - obtain an authentication with weaker security properties by modifying - the SASL mechanism name and/or the challenges and responses. - - Any protocol interactions prior to authentication are performed in - the clear and may be modified by an active attacker. In the case - where a client selects integrity protection, it is important that any - security-sensitive protocol negotiations be performed after - authentication is complete. Protocols should be designed such that - negotiations performed prior to authentication should be either - ignored or revalidated once authentication is complete. - -10. Author's Address - - John G. Myers - Netscape Communications - 501 E. Middlefield Road - Mail Stop MV-029 - Mountain View, CA 94043-4042 - - EMail: jgmyers@netscape.com - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Myers Standards Track [Page 14] - -RFC 2222 SASL October 1997 - - -Appendix A. Relation of SASL to Transport Security - - Questions have been raised about the relationship between SASL and - various services (such as IPsec and TLS) which provide a secured - connection. - - Two of the key features of SASL are: - - 1. The separation of the authorization identity from the identity in - the client's credentials. This permits agents such as proxy - servers to authenticate using their own credentials, yet request - the access privileges of the identity for which they are proxying. - - 2. Upon successful completion of an authentication exchange, the - server knows the authorization identity the client wishes to use. - This allows servers to move to a "user is authenticated" state in - the protocol. - - These features are extremely important to some application protocols, - yet Transport Security services do not always provide them. To - define SASL mechanisms based on these services would be a very messy - task, as the framing of these services would be redundant with the - framing of SASL and some method of providing these important SASL - features would have to be devised. - - Sometimes it is desired to enable within an existing connection the - use of a security service which does not fit the SASL model. (TLS is - an example of such a service.) This can be done by adding a command, - for example "STARTTLS", to the protocol. Such a command is outside - the scope of SASL, and should be different from the command which - starts a SASL authentication protocol exchange. - - In certain situations, it is reasonable to use SASL underneath one of - these Transport Security services. The transport service would - secure the connection, either service would authenticate the client, - and SASL would negotiate the authorization identity. The SASL - negotiation would be what moves the protocol from "unauthenticated" - to "authenticated" state. The "EXTERNAL" SASL mechanism is - explicitly intended to handle the case where the transport service - secures the connection and authenticates the client and SASL - negotiates the authorization identity. - - When using SASL underneath a sufficiently strong Transport Security - service, a SASL security layer would most likely be redundant. The - client and server would thus probably want to negotiate off the use - of a SASL security layer. - - - - - -Myers Standards Track [Page 15] - -RFC 2222 SASL October 1997 - - -Full Copyright Statement - - Copyright (C) The Internet Society (1997). All Rights Reserved. - - This document and translations of it may be copied and furnished to - others, and derivative works that comment on or otherwise explain it - or assist in its implmentation may be prepared, copied, published - andand distributed, in whole or in part, without restriction of any - kind, provided that the above copyright notice and this paragraph are - included on all such copies and derivative works. However, this - document itself may not be modified in any way, such as by removing - the copyright notice or references to the Internet Society or other - Internet organizations, except as needed for the purpose of - developing Internet standards in which case the procedures for - copyrights defined in the Internet Standards process must be - followed, or as required to translate it into languages other than - English. - - The limited permissions granted above are perpetual and will not be - revoked by the Internet Society or its successors or assigns. - - This document and the information contained herein is provided on an - "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING - TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION - HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF - MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. - - - - - - - - - - - - - - - - - - - - - - - - -Myers Standards Track [Page 16] - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc2245.txt b/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc2245.txt deleted file mode 100644 index 1025a90..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc2245.txt +++ /dev/null @@ -1,283 +0,0 @@ - - - - - - -Network Working Group C. Newman -Request for Comments: 2245 Innosoft -Category: Standards Track November 1997 - - - Anonymous SASL Mechanism - -Status of this Memo - - This document specifies an Internet standards track protocol for the - Internet community, and requests discussion and suggestions for - improvements. Please refer to the current edition of the "Internet - Official Protocol Standards" (STD 1) for the standardization state - and status of this protocol. Distribution of this memo is unlimited. - -Copyright Notice - - Copyright (C) The Internet Society (1997). All Rights Reserved. - -Abstract - - It is common practice on the Internet to permit anonymous access to - various services. Traditionally, this has been done with a plain - text password mechanism using "anonymous" as the user name and - optional trace information, such as an email address, as the - password. As plaintext login commands are not permitted in new IETF - protocols, a new way to provide anonymous login is needed within the - context of the SASL [SASL] framework. - -1. Conventions Used in this Document - - The key words "MUST", "MUST NOT", "SHOULD", "SHOULD NOT", and "MAY" - in this document are to be interpreted as defined in "Key words for - use in RFCs to Indicate Requirement Levels" [KEYWORDS]. - -2. Anonymous SASL mechanism - - The mechanism name associated with anonymous access is "ANONYMOUS". - The mechanism consists of a single message from the client to the - server. The client sends optional trace information in the form of a - human readable string. The trace information should take one of - three forms: an Internet email address, an opaque string which does - not contain the '@' character and can be interpreted by the system - administrator of the client's domain, or nothing. For privacy - reasons, an Internet email address should only be used with - permission from the user. - - - - - -Newman Standards Track [Page 1] - -RFC 2245 Anonymous SASL Mechanism November 1997 - - - A server which permits anonymous access will announce support for the - ANONYMOUS mechanism, and allow anyone to log in using that mechanism, - usually with restricted access. - - The formal grammar for the client message using Augmented BNF [ABNF] - follows. - - message = [email / token] - - TCHAR = %x20-3F / %x41-7E - ;; any printable US-ASCII character except '@' - - email = addr-spec - ;; as defined in [IMAIL], except with no free - ;; insertion of linear-white-space, and the - ;; local-part MUST either be entirely enclosed in - ;; quotes or entirely unquoted - - token = 1*255TCHAR - -3. Example - - - Here is a sample anonymous login between an IMAP client and server. - In this example, "C:" and "S:" indicate lines sent by the client and - server respectively. If such lines are wrapped without a new "C:" or - "S:" label, then the wrapping is for editorial clarity and is not - part of the command. - - Note that this example uses the IMAP profile [IMAP4] of SASL. The - base64 encoding of challenges and responses, as well as the "+ " - preceding the responses are part of the IMAP4 profile, not part of - SASL itself. Newer profiles of SASL will include the client message - with the AUTHENTICATE command itself so the extra round trip below - (the server response with an empty "+ ") can be eliminated. - - In this example, the user's opaque identification token is "sirhc". - - S: * OK IMAP4 server ready - C: A001 CAPABILITY - S: * CAPABILITY IMAP4 IMAP4rev1 AUTH=CRAM-MD5 AUTH=ANONYMOUS - S: A001 OK done - C: A002 AUTHENTICATE ANONYMOUS - S: + - C: c2lyaGM= - S: A003 OK Welcome, trace information has been logged. - - - - - -Newman Standards Track [Page 2] - -RFC 2245 Anonymous SASL Mechanism November 1997 - - -4. Security Considerations - - The anonymous mechanism grants access to information by anyone. For - this reason it should be disabled by default so the administrator can - make an explicit decision to enable it. - - If the anonymous user has any write privileges, a denial of service - attack is possible by filling up all available space. This can be - prevented by disabling all write access by anonymous users. - - If anonymous users have read and write access to the same area, the - server can be used as a communication mechanism to anonymously - exchange information. Servers which accept anonymous submissions - should implement the common "drop box" model which forbids anonymous - read access to the area where anonymous submissions are accepted. - - If the anonymous user can run many expensive operations (e.g., an - IMAP SEARCH BODY command), this could enable a denial of service - attack. Servers are encouraged to limit the number of anonymous - users and reduce their priority or limit their resource usage. - - If there is no idle timeout for the anonymous user and there is a - limit on the number of anonymous users, a denial of service attack is - enabled. Servers should implement an idle timeout for anonymous - users. - - The trace information is not authenticated so it can be falsified. - This can be used as an attempt to get someone else in trouble for - access to questionable information. Administrators trying to trace - abuse need to realize this information may be falsified. - - A client which uses the user's correct email address as trace - information without explicit permission may violate that user's - privacy. Information about who accesses an anonymous archive on a - sensitive subject (e.g., sexual abuse) has strong privacy needs. - Clients should not send the email address without explicit permission - of the user and should offer the option of supplying no trace token - -- thus only exposing the source IP address and time. Anonymous - proxy servers could enhance this privacy, but would have to consider - the resulting potential denial of service attacks. - - Anonymous connections are susceptible to man in the middle attacks - which view or alter the data transferred. Clients and servers are - encouraged to support external integrity and encryption mechanisms. - - Protocols which fail to require an explicit anonymous login are more - susceptible to break-ins given certain common implementation - techniques. Specifically, Unix servers which offer user login may - - - -Newman Standards Track [Page 3] - -RFC 2245 Anonymous SASL Mechanism November 1997 - - - initially start up as root and switch to the appropriate user id - after an explicit login command. Normally such servers refuse all - data access commands prior to explicit login and may enter a - restricted security environment (e.g., the Unix chroot function) for - anonymous users. If anonymous access is not explicitly requested, - the entire data access machinery is exposed to external security - attacks without the chance for explicit protective measures. - Protocols which offer restricted data access should not allow - anonymous data access without an explicit login step. - -5. References - - [ABNF] Crocker, D. and P. Overell, "Augmented BNF for Syntax - Specifications: ABNF", RFC 2234, November 1997. - - [IMAIL] Crocker, D., "Standard for the Format of Arpa Internet Text - Messages", STD 11, RFC 822, August 1982. - - [IMAP4] Crispin, M., "Internet Message Access Protocol - Version - 4rev1", RFC 2060, December 1996. - - [KEYWORDS] Bradner, S., "Key words for use in RFCs to Indicate - Requirement Levels", RFC 2119, March 1997. - - [SASL] Myers, J., "Simple Authentication and Security Layer (SASL)", - RFC 2222, October 1997. - -6. Author's Address - - Chris Newman - Innosoft International, Inc. - 1050 Lakes Drive - West Covina, CA 91790 USA - - Email: chris.newman@innosoft.com - - - - - - - - - - - - - - - - -Newman Standards Track [Page 4] - -RFC 2245 Anonymous SASL Mechanism November 1997 - - -7. Full Copyright Statement - - Copyright (C) The Internet Society (1997). All Rights Reserved. - - This document and translations of it may be copied and furnished to - others, and derivative works that comment on or otherwise explain it - or assist in its implementation may be prepared, copied, published - and distributed, in whole or in part, without restriction of any - kind, provided that the above copyright notice and this paragraph are - included on all such copies and derivative works. However, this - document itself may not be modified in any way, such as by removing - the copyright notice or references to the Internet Society or other - Internet organizations, except as needed for the purpose of - developing Internet standards in which case the procedures for - copyrights defined in the Internet Standards process must be - followed, or as required to translate it into languages other than - English. - - The limited permissions granted above are perpetual and will not be - revoked by the Internet Society or its successors or assigns. - - This document and the information contained herein is provided on an - "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING - TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION - HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF - MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. - - - - - - - - - - - - - - - - - - - - - - - - -Newman Standards Track [Page 5] - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc2554.txt b/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc2554.txt deleted file mode 100644 index 2922dea..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc2554.txt +++ /dev/null @@ -1,619 +0,0 @@ - - - - - - -Network Working Group J. Myers -Request for Comments: 2554 Netscape Communications -Category: Standards Track March 1999 - - - SMTP Service Extension - for Authentication - -Status of this Memo - - This document specifies an Internet standards track protocol for the - Internet community, and requests discussion and suggestions for - improvements. Please refer to the current edition of the "Internet - Official Protocol Standards" (STD 1) for the standardization state - and status of this protocol. Distribution of this memo is unlimited. - -Copyright Notice - - Copyright (C) The Internet Society (1999). All Rights Reserved. - - -1. Introduction - - This document defines an SMTP service extension [ESMTP] whereby an - SMTP client may indicate an authentication mechanism to the server, - perform an authentication protocol exchange, and optionally negotiate - a security layer for subsequent protocol interactions. This - extension is a profile of the Simple Authentication and Security - Layer [SASL]. - - -2. Conventions Used in this Document - - In examples, "C:" and "S:" indicate lines sent by the client and - server respectively. - - The key words "MUST", "MUST NOT", "SHOULD", "SHOULD NOT", and "MAY" - in this document are to be interpreted as defined in "Key words for - use in RFCs to Indicate Requirement Levels" [KEYWORDS]. - - -3. The Authentication service extension - - - (1) the name of the SMTP service extension is "Authentication" - - (2) the EHLO keyword value associated with this extension is "AUTH" - - - - -Myers Standards Track [Page 1] - -RFC 2554 SMTP Authentication March 1999 - - - (3) The AUTH EHLO keyword contains as a parameter a space separated - list of the names of supported SASL mechanisms. - - (4) a new SMTP verb "AUTH" is defined - - (5) an optional parameter using the keyword "AUTH" is added to the - MAIL FROM command, and extends the maximum line length of the - MAIL FROM command by 500 characters. - - (6) this extension is appropriate for the submission protocol - [SUBMIT]. - - -4. The AUTH command - - AUTH mechanism [initial-response] - - Arguments: - a string identifying a SASL authentication mechanism. - an optional base64-encoded response - - Restrictions: - After an AUTH command has successfully completed, no more AUTH - commands may be issued in the same session. After a successful - AUTH command completes, a server MUST reject any further AUTH - commands with a 503 reply. - - The AUTH command is not permitted during a mail transaction. - - Discussion: - The AUTH command indicates an authentication mechanism to the - server. If the server supports the requested authentication - mechanism, it performs an authentication protocol exchange to - authenticate and identify the user. Optionally, it also - negotiates a security layer for subsequent protocol - interactions. If the requested authentication mechanism is not - supported, the server rejects the AUTH command with a 504 - reply. - - The authentication protocol exchange consists of a series of - server challenges and client answers that are specific to the - authentication mechanism. A server challenge, otherwise known - as a ready response, is a 334 reply with the text part - containing a BASE64 encoded string. The client answer consists - of a line containing a BASE64 encoded string. If the client - wishes to cancel an authentication exchange, it issues a line - with a single "*". If the server receives such an answer, it - MUST reject the AUTH command by sending a 501 reply. - - - -Myers Standards Track [Page 2] - -RFC 2554 SMTP Authentication March 1999 - - - The optional initial-response argument to the AUTH command is - used to save a round trip when using authentication mechanisms - that are defined to send no data in the initial challenge. - When the initial-response argument is used with such a - mechanism, the initial empty challenge is not sent to the - client and the server uses the data in the initial-response - argument as if it were sent in response to the empty challenge. - Unlike a zero-length client answer to a 334 reply, a zero- - length initial response is sent as a single equals sign ("="). - If the client uses an initial-response argument to the AUTH - command with a mechanism that sends data in the initial - challenge, the server rejects the AUTH command with a 535 - reply. - - If the server cannot BASE64 decode the argument, it rejects the - AUTH command with a 501 reply. If the server rejects the - authentication data, it SHOULD reject the AUTH command with a - 535 reply unless a more specific error code, such as one listed - in section 6, is appropriate. Should the client successfully - complete the authentication exchange, the SMTP server issues a - 235 reply. - - The service name specified by this protocol's profile of SASL - is "smtp". - - If a security layer is negotiated through the SASL - authentication exchange, it takes effect immediately following - the CRLF that concludes the authentication exchange for the - client, and the CRLF of the success reply for the server. Upon - a security layer's taking effect, the SMTP protocol is reset to - the initial state (the state in SMTP after a server issues a - 220 service ready greeting). The server MUST discard any - knowledge obtained from the client, such as the argument to the - EHLO command, which was not obtained from the SASL negotiation - itself. The client MUST discard any knowledge obtained from - the server, such as the list of SMTP service extensions, which - was not obtained from the SASL negotiation itself (with the - exception that a client MAY compare the list of advertised SASL - mechanisms before and after authentication in order to detect - an active down-negotiation attack). The client SHOULD send an - EHLO command as the first command after a successful SASL - negotiation which results in the enabling of a security layer. - - The server is not required to support any particular - authentication mechanism, nor are authentication mechanisms - required to support any security layers. If an AUTH command - fails, the client may try another authentication mechanism by - issuing another AUTH command. - - - -Myers Standards Track [Page 3] - -RFC 2554 SMTP Authentication March 1999 - - - If an AUTH command fails, the server MUST behave the same as if - the client had not issued the AUTH command. - - The BASE64 string may in general be arbitrarily long. Clients - and servers MUST be able to support challenges and responses - that are as long as are generated by the authentication - mechanisms they support, independent of any line length - limitations the client or server may have in other parts of its - protocol implementation. - - Examples: - S: 220 smtp.example.com ESMTP server ready - C: EHLO jgm.example.com - S: 250-smtp.example.com - S: 250 AUTH CRAM-MD5 DIGEST-MD5 - C: AUTH FOOBAR - S: 504 Unrecognized authentication type. - C: AUTH CRAM-MD5 - S: 334 - PENCeUxFREJoU0NnbmhNWitOMjNGNndAZWx3b29kLmlubm9zb2Z0LmNvbT4= - C: ZnJlZCA5ZTk1YWVlMDljNDBhZjJiODRhMGMyYjNiYmFlNzg2ZQ== - S: 235 Authentication successful. - - - -5. The AUTH parameter to the MAIL FROM command - - AUTH=addr-spec - - Arguments: - An addr-spec containing the identity which submitted the message - to the delivery system, or the two character sequence "<>" - indicating such an identity is unknown or insufficiently - authenticated. To comply with the restrictions imposed on ESMTP - parameters, the addr-spec is encoded inside an xtext. The syntax - of an xtext is described in section 5 of [ESMTP-DSN]. - - Discussion: - The optional AUTH parameter to the MAIL FROM command allows - cooperating agents in a trusted environment to communicate the - authentication of individual messages. - - If the server trusts the authenticated identity of the client to - assert that the message was originally submitted by the supplied - addr-spec, then the server SHOULD supply the same addr-spec in an - AUTH parameter when relaying the message to any server which - supports the AUTH extension. - - - - -Myers Standards Track [Page 4] - -RFC 2554 SMTP Authentication March 1999 - - - A MAIL FROM parameter of AUTH=<> indicates that the original - submitter of the message is not known. The server MUST NOT treat - the message as having been originally submitted by the client. - - If the AUTH parameter to the MAIL FROM is not supplied, the - client has authenticated, and the server believes the message is - an original submission by the client, the server MAY supply the - client's identity in the addr-spec in an AUTH parameter when - relaying the message to any server which supports the AUTH - extension. - - If the server does not sufficiently trust the authenticated - identity of the client, or if the client is not authenticated, - then the server MUST behave as if the AUTH=<> parameter was - supplied. The server MAY, however, write the value of the AUTH - parameter to a log file. - - If an AUTH=<> parameter was supplied, either explicitly or due to - the requirement in the previous paragraph, then the server MUST - supply the AUTH=<> parameter when relaying the message to any - server which it has authenticated to using the AUTH extension. - - A server MAY treat expansion of a mailing list as a new - submission, setting the AUTH parameter to the mailing list - address or mailing list administration address when relaying the - message to list subscribers. - - It is conforming for an implementation to be hard-coded to treat - all clients as being insufficiently trusted. In that case, the - implementation does nothing more than parse and discard - syntactically valid AUTH parameters to the MAIL FROM command and - supply AUTH=<> parameters to any servers to which it - authenticates using the AUTH extension. - - Examples: - C: MAIL FROM: AUTH=e+3Dmc2@example.com - S: 250 OK - - - - - - - - - - - - - - -Myers Standards Track [Page 5] - -RFC 2554 SMTP Authentication March 1999 - - -6. Error Codes - - The following error codes may be used to indicate various conditions - as described. - - 432 A password transition is needed - - This response to the AUTH command indicates that the user needs to - transition to the selected authentication mechanism. This typically - done by authenticating once using the PLAIN authentication mechanism. - - 534 Authentication mechanism is too weak - - This response to the AUTH command indicates that the selected - authentication mechanism is weaker than server policy permits for - that user. - - 538 Encryption required for requested authentication mechanism - - This response to the AUTH command indicates that the selected - authentication mechanism may only be used when the underlying SMTP - connection is encrypted. - - 454 Temporary authentication failure - - This response to the AUTH command indicates that the authentication - failed due to a temporary server failure. - - 530 Authentication required - - This response may be returned by any command other than AUTH, EHLO, - HELO, NOOP, RSET, or QUIT. It indicates that server policy requires - authentication in order to perform the requested action. - - - - - - - - - - - - - - - - - - -Myers Standards Track [Page 6] - -RFC 2554 SMTP Authentication March 1999 - - -7. Formal Syntax - - The following syntax specification uses the augmented Backus-Naur - Form (BNF) notation as specified in [ABNF]. - - Except as noted otherwise, all alphabetic characters are case- - insensitive. The use of upper or lower case characters to define - token strings is for editorial clarity only. Implementations MUST - accept these strings in a case-insensitive fashion. - - UPALPHA = %x41-5A ;; Uppercase: A-Z - - LOALPHA = %x61-7A ;; Lowercase: a-z - - ALPHA = UPALPHA / LOALPHA ;; case insensitive - - DIGIT = %x30-39 ;; Digits 0-9 - - HEXDIGIT = %x41-46 / DIGIT ;; hexidecimal digit (uppercase) - - hexchar = "+" HEXDIGIT HEXDIGIT - - xchar = %x21-2A / %x2C-3C / %x3E-7E - ;; US-ASCII except for "+", "=", SPACE and CTL - - xtext = *(xchar / hexchar) - - AUTH_CHAR = ALPHA / DIGIT / "-" / "_" - - auth_type = 1*20AUTH_CHAR - - auth_command = "AUTH" SPACE auth_type [SPACE (base64 / "=")] - *(CRLF [base64]) CRLF - - auth_param = "AUTH=" xtext - ;; The decoded form of the xtext MUST be either - ;; an addr-spec or the two characters "<>" - - base64 = base64_terminal / - ( 1*(4base64_CHAR) [base64_terminal] ) - - base64_char = UPALPHA / LOALPHA / DIGIT / "+" / "/" - ;; Case-sensitive - - base64_terminal = (2base64_char "==") / (3base64_char "=") - - continue_req = "334" SPACE [base64] CRLF - - - - -Myers Standards Track [Page 7] - -RFC 2554 SMTP Authentication March 1999 - - - CR = %x0C ;; ASCII CR, carriage return - - CRLF = CR LF - - CTL = %x00-1F / %x7F ;; any ASCII control character and DEL - - LF = %x0A ;; ASCII LF, line feed - - SPACE = %x20 ;; ASCII SP, space - - - - -8. References - - [ABNF] Crocker, D. and P. Overell, "Augmented BNF for Syntax - Specifications: ABNF", RFC 2234, November 1997. - - [CRAM-MD5] Klensin, J., Catoe, R. and P. Krumviede, "IMAP/POP - AUTHorize Extension for Simple Challenge/Response", RFC - 2195, September 1997. - - [ESMTP] Klensin, J., Freed, N., Rose, M., Stefferud, E. and D. - Crocker, "SMTP Service Extensions", RFC 1869, November - 1995. - - [ESMTP-DSN] Moore, K, "SMTP Service Extension for Delivery Status - Notifications", RFC 1891, January 1996. - - [KEYWORDS] Bradner, S., "Key words for use in RFCs to Indicate - Requirement Levels", BCP 14, RFC 2119, March 1997. - - [SASL] Myers, J., "Simple Authentication and Security Layer - (SASL)", RFC 2222, October 1997. - - [SUBMIT] Gellens, R. and J. Klensin, "Message Submission", RFC - 2476, December 1998. - - [RFC821] Postel, J., "Simple Mail Transfer Protocol", STD 10, RFC - 821, August 1982. - - [RFC822] Crocker, D., "Standard for the Format of ARPA Internet - Text Messages", STD 11, RFC 822, August 1982. - - - - - - - - -Myers Standards Track [Page 8] - -RFC 2554 SMTP Authentication March 1999 - - -9. Security Considerations - - Security issues are discussed throughout this memo. - - If a client uses this extension to get an encrypted tunnel through an - insecure network to a cooperating server, it needs to be configured - to never send mail to that server when the connection is not mutually - authenticated and encrypted. Otherwise, an attacker could steal the - client's mail by hijacking the SMTP connection and either pretending - the server does not support the Authentication extension or causing - all AUTH commands to fail. - - Before the SASL negotiation has begun, any protocol interactions are - performed in the clear and may be modified by an active attacker. - For this reason, clients and servers MUST discard any knowledge - obtained prior to the start of the SASL negotiation upon completion - of a SASL negotiation which results in a security layer. - - This mechanism does not protect the TCP port, so an active attacker - may redirect a relay connection attempt to the submission port - [SUBMIT]. The AUTH=<> parameter prevents such an attack from causing - an relayed message without an envelope authentication to pick up the - authentication of the relay client. - - A message submission client may require the user to authenticate - whenever a suitable SASL mechanism is advertised. Therefore, it may - not be desirable for a submission server [SUBMIT] to advertise a SASL - mechanism when use of that mechanism grants the client no benefits - over anonymous submission. - - This extension is not intended to replace or be used instead of end- - to-end message signature and encryption systems such as S/MIME or - PGP. This extension addresses a different problem than end-to-end - systems; it has the following key differences: - - (1) it is generally useful only within a trusted enclave - - (2) it protects the entire envelope of a message, not just the - message's body. - - (3) it authenticates the message submission, not authorship of the - message content - - (4) it can give the sender some assurance the message was - delivered to the next hop in the case where the sender - mutually authenticates with the next hop and negotiates an - appropriate security layer. - - - - -Myers Standards Track [Page 9] - -RFC 2554 SMTP Authentication March 1999 - - - Additional security considerations are mentioned in the SASL - specification [SASL]. - - - -10. Author's Address - - John Gardiner Myers - Netscape Communications - 501 East Middlefield Road - Mail Stop MV-029 - Mountain View, CA 94043 - - EMail: jgmyers@netscape.com - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Myers Standards Track [Page 10] - -RFC 2554 SMTP Authentication March 1999 - - -11. Full Copyright Statement - - Copyright (C) The Internet Society (1999). All Rights Reserved. - - This document and translations of it may be copied and furnished to - others, and derivative works that comment on or otherwise explain it - or assist in its implementation may be prepared, copied, published - and distributed, in whole or in part, without restriction of any - kind, provided that the above copyright notice and this paragraph are - included on all such copies and derivative works. However, this - document itself may not be modified in any way, such as by removing - the copyright notice or references to the Internet Society or other - Internet organizations, except as needed for the purpose of - developing Internet standards in which case the procedures for - copyrights defined in the Internet Standards process must be - followed, or as required to translate it into languages other than - English. - - The limited permissions granted above are perpetual and will not be - revoked by the Internet Society or its successors or assigns. - - This document and the information contained herein is provided on an - "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING - TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION - HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF - MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. - - - - - - - - - - - - - - - - - - - - - - - - -Myers Standards Track [Page 11] - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc2821.txt b/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc2821.txt deleted file mode 100644 index 7d86152..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc2821.txt +++ /dev/null @@ -1,4426 +0,0 @@ - - - - - -Network Working Group J. Klensin, Editor -Request for Comments: 2821 AT&T Laboratories -Obsoletes: 821, 974, 1869 April 2001 -Updates: 1123 -Category: Standards Track - - - Simple Mail Transfer Protocol - -Status of this Memo - - This document specifies an Internet standards track protocol for the - Internet community, and requests discussion and suggestions for - improvements. Please refer to the current edition of the "Internet - Official Protocol Standards" (STD 1) for the standardization state - and status of this protocol. Distribution of this memo is unlimited. - -Copyright Notice - - Copyright (C) The Internet Society (2001). All Rights Reserved. - -Abstract - - This document is a self-contained specification of the basic protocol - for the Internet electronic mail transport. It consolidates, updates - and clarifies, but doesn't add new or change existing functionality - of the following: - - - the original SMTP (Simple Mail Transfer Protocol) specification of - RFC 821 [30], - - - domain name system requirements and implications for mail - transport from RFC 1035 [22] and RFC 974 [27], - - - the clarifications and applicability statements in RFC 1123 [2], - and - - - material drawn from the SMTP Extension mechanisms [19]. - - It obsoletes RFC 821, RFC 974, and updates RFC 1123 (replaces the - mail transport materials of RFC 1123). However, RFC 821 specifies - some features that were not in significant use in the Internet by the - mid-1990s and (in appendices) some additional transport models. - Those sections are omitted here in the interest of clarity and - brevity; readers needing them should refer to RFC 821. - - - - - - -Klensin Standards Track [Page 1] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - It also includes some additional material from RFC 1123 that required - amplification. This material has been identified in multiple ways, - mostly by tracking flaming on various lists and newsgroups and - problems of unusual readings or interpretations that have appeared as - the SMTP extensions have been deployed. Where this specification - moves beyond consolidation and actually differs from earlier - documents, it supersedes them technically as well as textually. - - Although SMTP was designed as a mail transport and delivery protocol, - this specification also contains information that is important to its - use as a 'mail submission' protocol, as recommended for POP [3, 26] - and IMAP [6]. Additional submission issues are discussed in RFC 2476 - [15]. - - Section 2.3 provides definitions of terms specific to this document. - Except when the historical terminology is necessary for clarity, this - document uses the current 'client' and 'server' terminology to - identify the sending and receiving SMTP processes, respectively. - - A companion document [32] discusses message headers, message bodies - and formats and structures for them, and their relationship. - -Table of Contents - - 1. Introduction .................................................. 4 - 2. The SMTP Model ................................................ 5 - 2.1 Basic Structure .............................................. 5 - 2.2 The Extension Model .......................................... 7 - 2.2.1 Background ................................................. 7 - 2.2.2 Definition and Registration of Extensions .................. 8 - 2.3 Terminology .................................................. 9 - 2.3.1 Mail Objects ............................................... 10 - 2.3.2 Senders and Receivers ...................................... 10 - 2.3.3 Mail Agents and Message Stores ............................. 10 - 2.3.4 Host ....................................................... 11 - 2.3.5 Domain ..................................................... 11 - 2.3.6 Buffer and State Table ..................................... 11 - 2.3.7 Lines ...................................................... 12 - 2.3.8 Originator, Delivery, Relay, and Gateway Systems ........... 12 - 2.3.9 Message Content and Mail Data .............................. 13 - 2.3.10 Mailbox and Address ....................................... 13 - 2.3.11 Reply ..................................................... 13 - 2.4 General Syntax Principles and Transaction Model .............. 13 - 3. The SMTP Procedures: An Overview .............................. 15 - 3.1 Session Initiation ........................................... 15 - 3.2 Client Initiation ............................................ 16 - 3.3 Mail Transactions ............................................ 16 - 3.4 Forwarding for Address Correction or Updating ................ 19 - - - -Klensin Standards Track [Page 2] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - 3.5 Commands for Debugging Addresses ............................. 20 - 3.5.1 Overview ................................................... 20 - 3.5.2 VRFY Normal Response ....................................... 22 - 3.5.3 Meaning of VRFY or EXPN Success Response ................... 22 - 3.5.4 Semantics and Applications of EXPN ......................... 23 - 3.6 Domains ...................................................... 23 - 3.7 Relaying ..................................................... 24 - 3.8 Mail Gatewaying .............................................. 25 - 3.8.1 Header Fields in Gatewaying ................................ 26 - 3.8.2 Received Lines in Gatewaying ............................... 26 - 3.8.3 Addresses in Gatewaying .................................... 26 - 3.8.4 Other Header Fields in Gatewaying .......................... 27 - 3.8.5 Envelopes in Gatewaying .................................... 27 - 3.9 Terminating Sessions and Connections ......................... 27 - 3.10 Mailing Lists and Aliases ................................... 28 - 3.10.1 Alias ..................................................... 28 - 3.10.2 List ...................................................... 28 - 4. The SMTP Specifications ....................................... 29 - 4.1 SMTP Commands ................................................ 29 - 4.1.1 Command Semantics and Syntax ............................... 29 - 4.1.1.1 Extended HELLO (EHLO) or HELLO (HELO) ................... 29 - 4.1.1.2 MAIL (MAIL) .............................................. 31 - 4.1.1.3 RECIPIENT (RCPT) ......................................... 31 - 4.1.1.4 DATA (DATA) .............................................. 33 - 4.1.1.5 RESET (RSET) ............................................. 34 - 4.1.1.6 VERIFY (VRFY) ............................................ 35 - 4.1.1.7 EXPAND (EXPN) ............................................ 35 - 4.1.1.8 HELP (HELP) .............................................. 35 - 4.1.1.9 NOOP (NOOP) .............................................. 35 - 4.1.1.10 QUIT (QUIT) ............................................. 36 - 4.1.2 Command Argument Syntax .................................... 36 - 4.1.3 Address Literals ........................................... 38 - 4.1.4 Order of Commands .......................................... 39 - 4.1.5 Private-use Commands ....................................... 40 - 4.2 SMTP Replies ................................................ 40 - 4.2.1 Reply Code Severities and Theory ........................... 42 - 4.2.2 Reply Codes by Function Groups ............................. 44 - 4.2.3 Reply Codes in Numeric Order .............................. 45 - 4.2.4 Reply Code 502 ............................................. 46 - 4.2.5 Reply Codes After DATA and the Subsequent . .... 46 - 4.3 Sequencing of Commands and Replies ........................... 47 - 4.3.1 Sequencing Overview ........................................ 47 - 4.3.2 Command-Reply Sequences .................................... 48 - 4.4 Trace Information ............................................ 49 - 4.5 Additional Implementation Issues ............................. 53 - 4.5.1 Minimum Implementation ..................................... 53 - 4.5.2 Transparency ............................................... 53 - 4.5.3 Sizes and Timeouts ......................................... 54 - - - -Klensin Standards Track [Page 3] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - 4.5.3.1 Size limits and minimums ................................. 54 - 4.5.3.2 Timeouts ................................................. 56 - 4.5.4 Retry Strategies ........................................... 57 - 4.5.4.1 Sending Strategy ......................................... 58 - 4.5.4.2 Receiving Strategy ....................................... 59 - 4.5.5 Messages with a null reverse-path .......................... 59 - 5. Address Resolution and Mail Handling .......................... 60 - 6. Problem Detection and Handling ................................ 62 - 6.1 Reliable Delivery and Replies by Email ....................... 62 - 6.2 Loop Detection ............................................... 63 - 6.3 Compensating for Irregularities .............................. 63 - 7. Security Considerations ....................................... 64 - 7.1 Mail Security and Spoofing ................................... 64 - 7.2 "Blind" Copies ............................................... 65 - 7.3 VRFY, EXPN, and Security ..................................... 65 - 7.4 Information Disclosure in Announcements ...................... 66 - 7.5 Information Disclosure in Trace Fields ....................... 66 - 7.6 Information Disclosure in Message Forwarding ................. 67 - 7.7 Scope of Operation of SMTP Servers ........................... 67 - 8. IANA Considerations ........................................... 67 - 9. References .................................................... 68 - 10. Editor's Address ............................................. 70 - 11. Acknowledgments .............................................. 70 - Appendices ....................................................... 71 - A. TCP Transport Service ......................................... 71 - B. Generating SMTP Commands from RFC 822 Headers ................. 71 - C. Source Routes ................................................. 72 - D. Scenarios ..................................................... 73 - E. Other Gateway Issues .......................................... 76 - F. Deprecated Features of RFC 821 ................................ 76 - Full Copyright Statement ......................................... 79 - -1. Introduction - - The objective of the Simple Mail Transfer Protocol (SMTP) is to - transfer mail reliably and efficiently. - - SMTP is independent of the particular transmission subsystem and - requires only a reliable ordered data stream channel. While this - document specifically discusses transport over TCP, other transports - are possible. Appendices to RFC 821 describe some of them. - - An important feature of SMTP is its capability to transport mail - across networks, usually referred to as "SMTP mail relaying" (see - section 3.8). A network consists of the mutually-TCP-accessible - hosts on the public Internet, the mutually-TCP-accessible hosts on a - firewall-isolated TCP/IP Intranet, or hosts in some other LAN or WAN - environment utilizing a non-TCP transport-level protocol. Using - - - -Klensin Standards Track [Page 4] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - SMTP, a process can transfer mail to another process on the same - network or to some other network via a relay or gateway process - accessible to both networks. - - In this way, a mail message may pass through a number of intermediate - relay or gateway hosts on its path from sender to ultimate recipient. - The Mail eXchanger mechanisms of the domain name system [22, 27] (and - section 5 of this document) are used to identify the appropriate - next-hop destination for a message being transported. - -2. The SMTP Model - -2.1 Basic Structure - - The SMTP design can be pictured as: - - +----------+ +----------+ - +------+ | | | | - | User |<-->| | SMTP | | - +------+ | Client- |Commands/Replies| Server- | - +------+ | SMTP |<-------------->| SMTP | +------+ - | File |<-->| | and Mail | |<-->| File | - |System| | | | | |System| - +------+ +----------+ +----------+ +------+ - SMTP client SMTP server - - When an SMTP client has a message to transmit, it establishes a two- - way transmission channel to an SMTP server. The responsibility of an - SMTP client is to transfer mail messages to one or more SMTP servers, - or report its failure to do so. - - The means by which a mail message is presented to an SMTP client, and - how that client determines the domain name(s) to which mail messages - are to be transferred is a local matter, and is not addressed by this - document. In some cases, the domain name(s) transferred to, or - determined by, an SMTP client will identify the final destination(s) - of the mail message. In other cases, common with SMTP clients - associated with implementations of the POP [3, 26] or IMAP [6] - protocols, or when the SMTP client is inside an isolated transport - service environment, the domain name determined will identify an - intermediate destination through which all mail messages are to be - relayed. SMTP clients that transfer all traffic, regardless of the - target domain names associated with the individual messages, or that - do not maintain queues for retrying message transmissions that - initially cannot be completed, may otherwise conform to this - specification but are not considered fully-capable. Fully-capable - SMTP implementations, including the relays used by these less capable - - - - -Klensin Standards Track [Page 5] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - ones, and their destinations, are expected to support all of the - queuing, retrying, and alternate address functions discussed in this - specification. - - The means by which an SMTP client, once it has determined a target - domain name, determines the identity of an SMTP server to which a - copy of a message is to be transferred, and then performs that - transfer, is covered by this document. To effect a mail transfer to - an SMTP server, an SMTP client establishes a two-way transmission - channel to that SMTP server. An SMTP client determines the address - of an appropriate host running an SMTP server by resolving a - destination domain name to either an intermediate Mail eXchanger host - or a final target host. - - An SMTP server may be either the ultimate destination or an - intermediate "relay" (that is, it may assume the role of an SMTP - client after receiving the message) or "gateway" (that is, it may - transport the message further using some protocol other than SMTP). - SMTP commands are generated by the SMTP client and sent to the SMTP - server. SMTP replies are sent from the SMTP server to the SMTP - client in response to the commands. - - In other words, message transfer can occur in a single connection - between the original SMTP-sender and the final SMTP-recipient, or can - occur in a series of hops through intermediary systems. In either - case, a formal handoff of responsibility for the message occurs: the - protocol requires that a server accept responsibility for either - delivering a message or properly reporting the failure to do so. - - Once the transmission channel is established and initial handshaking - completed, the SMTP client normally initiates a mail transaction. - Such a transaction consists of a series of commands to specify the - originator and destination of the mail and transmission of the - message content (including any headers or other structure) itself. - When the same message is sent to multiple recipients, this protocol - encourages the transmission of only one copy of the data for all - recipients at the same destination (or intermediate relay) host. - - The server responds to each command with a reply; replies may - indicate that the command was accepted, that additional commands are - expected, or that a temporary or permanent error condition exists. - Commands specifying the sender or recipients may include server- - permitted SMTP service extension requests as discussed in section - 2.2. The dialog is purposely lock-step, one-at-a-time, although this - can be modified by mutually-agreed extension requests such as command - pipelining [13]. - - - - - -Klensin Standards Track [Page 6] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - Once a given mail message has been transmitted, the client may either - request that the connection be shut down or may initiate other mail - transactions. In addition, an SMTP client may use a connection to an - SMTP server for ancillary services such as verification of email - addresses or retrieval of mailing list subscriber addresses. - - As suggested above, this protocol provides mechanisms for the - transmission of mail. This transmission normally occurs directly - from the sending user's host to the receiving user's host when the - two hosts are connected to the same transport service. When they are - not connected to the same transport service, transmission occurs via - one or more relay SMTP servers. An intermediate host that acts as - either an SMTP relay or as a gateway into some other transmission - environment is usually selected through the use of the domain name - service (DNS) Mail eXchanger mechanism. - - Usually, intermediate hosts are determined via the DNS MX record, not - by explicit "source" routing (see section 5 and appendices C and - F.2). - -2.2 The Extension Model - -2.2.1 Background - - In an effort that started in 1990, approximately a decade after RFC - 821 was completed, the protocol was modified with a "service - extensions" model that permits the client and server to agree to - utilize shared functionality beyond the original SMTP requirements. - The SMTP extension mechanism defines a means whereby an extended SMTP - client and server may recognize each other, and the server can inform - the client as to the service extensions that it supports. - - Contemporary SMTP implementations MUST support the basic extension - mechanisms. For instance, servers MUST support the EHLO command even - if they do not implement any specific extensions and clients SHOULD - preferentially utilize EHLO rather than HELO. (However, for - compatibility with older conforming implementations, SMTP clients and - servers MUST support the original HELO mechanisms as a fallback.) - Unless the different characteristics of HELO must be identified for - interoperability purposes, this document discusses only EHLO. - - SMTP is widely deployed and high-quality implementations have proven - to be very robust. However, the Internet community now considers - some services to be important that were not anticipated when the - protocol was first designed. If support for those services is to be - added, it must be done in a way that permits older implementations to - continue working acceptably. The extension framework consists of: - - - - -Klensin Standards Track [Page 7] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - - The SMTP command EHLO, superseding the earlier HELO, - - - a registry of SMTP service extensions, - - - additional parameters to the SMTP MAIL and RCPT commands, and - - - optional replacements for commands defined in this protocol, such - as for DATA in non-ASCII transmissions [33]. - - SMTP's strength comes primarily from its simplicity. Experience with - many protocols has shown that protocols with few options tend towards - ubiquity, whereas protocols with many options tend towards obscurity. - - Each and every extension, regardless of its benefits, must be - carefully scrutinized with respect to its implementation, deployment, - and interoperability costs. In many cases, the cost of extending the - SMTP service will likely outweigh the benefit. - -2.2.2 Definition and Registration of Extensions - - The IANA maintains a registry of SMTP service extensions. A - corresponding EHLO keyword value is associated with each extension. - Each service extension registered with the IANA must be defined in a - formal standards-track or IESG-approved experimental protocol - document. The definition must include: - - - the textual name of the SMTP service extension; - - - the EHLO keyword value associated with the extension; - - - the syntax and possible values of parameters associated with the - EHLO keyword value; - - - any additional SMTP verbs associated with the extension - (additional verbs will usually be, but are not required to be, the - same as the EHLO keyword value); - - - any new parameters the extension associates with the MAIL or RCPT - verbs; - - - a description of how support for the extension affects the - behavior of a server and client SMTP; and, - - - the increment by which the extension is increasing the maximum - length of the commands MAIL and/or RCPT, over that specified in - this standard. - - - - - -Klensin Standards Track [Page 8] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - In addition, any EHLO keyword value starting with an upper or lower - case "X" refers to a local SMTP service extension used exclusively - through bilateral agreement. Keywords beginning with "X" MUST NOT be - used in a registered service extension. Conversely, keyword values - presented in the EHLO response that do not begin with "X" MUST - correspond to a standard, standards-track, or IESG-approved - experimental SMTP service extension registered with IANA. A - conforming server MUST NOT offer non-"X"-prefixed keyword values that - are not described in a registered extension. - - Additional verbs and parameter names are bound by the same rules as - EHLO keywords; specifically, verbs beginning with "X" are local - extensions that may not be registered or standardized. Conversely, - verbs not beginning with "X" must always be registered. - -2.3 Terminology - - The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", - "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this - document are to be interpreted as described below. - - 1. MUST This word, or the terms "REQUIRED" or "SHALL", mean that - the definition is an absolute requirement of the specification. - - 2. MUST NOT This phrase, or the phrase "SHALL NOT", mean that the - definition is an absolute prohibition of the specification. - - 3. SHOULD This word, or the adjective "RECOMMENDED", mean that - there may exist valid reasons in particular circumstances to - ignore a particular item, but the full implications must be - understood and carefully weighed before choosing a different - course. - - 4. SHOULD NOT This phrase, or the phrase "NOT RECOMMENDED" mean - that there may exist valid reasons in particular circumstances - when the particular behavior is acceptable or even useful, but the - full implications should be understood and the case carefully - weighed before implementing any behavior described with this - label. - - 5. MAY This word, or the adjective "OPTIONAL", mean that an item is - truly optional. One vendor may choose to include the item because - a particular marketplace requires it or because the vendor feels - that it enhances the product while another vendor may omit the - same item. An implementation which does not include a particular - option MUST be prepared to interoperate with another - implementation which does include the option, though perhaps with - reduced functionality. In the same vein an implementation which - - - -Klensin Standards Track [Page 9] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - does include a particular option MUST be prepared to interoperate - with another implementation which does not include the option - (except, of course, for the feature the option provides.) - -2.3.1 Mail Objects - - SMTP transports a mail object. A mail object contains an envelope - and content. - - The SMTP envelope is sent as a series of SMTP protocol units - (described in section 3). It consists of an originator address (to - which error reports should be directed); one or more recipient - addresses; and optional protocol extension material. Historically, - variations on the recipient address specification command (RCPT TO) - could be used to specify alternate delivery modes, such as immediate - display; those variations have now been deprecated (see appendix F, - section F.6). - - The SMTP content is sent in the SMTP DATA protocol unit and has two - parts: the headers and the body. If the content conforms to other - contemporary standards, the headers form a collection of field/value - pairs structured as in the message format specification [32]; the - body, if structured, is defined according to MIME [12]. The content - is textual in nature, expressed using the US-ASCII repertoire [1]. - Although SMTP extensions (such as "8BITMIME" [20]) may relax this - restriction for the content body, the content headers are always - encoded using the US-ASCII repertoire. A MIME extension [23] defines - an algorithm for representing header values outside the US-ASCII - repertoire, while still encoding them using the US-ASCII repertoire. - -2.3.2 Senders and Receivers - - In RFC 821, the two hosts participating in an SMTP transaction were - described as the "SMTP-sender" and "SMTP-receiver". This document - has been changed to reflect current industry terminology and hence - refers to them as the "SMTP client" (or sometimes just "the client") - and "SMTP server" (or just "the server"), respectively. Since a - given host may act both as server and client in a relay situation, - "receiver" and "sender" terminology is still used where needed for - clarity. - -2.3.3 Mail Agents and Message Stores - - Additional mail system terminology became common after RFC 821 was - published and, where convenient, is used in this specification. In - particular, SMTP servers and clients provide a mail transport service - and therefore act as "Mail Transfer Agents" (MTAs). "Mail User - Agents" (MUAs or UAs) are normally thought of as the sources and - - - -Klensin Standards Track [Page 10] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - targets of mail. At the source, an MUA might collect mail to be - transmitted from a user and hand it off to an MTA; the final - ("delivery") MTA would be thought of as handing the mail off to an - MUA (or at least transferring responsibility to it, e.g., by - depositing the message in a "message store"). However, while these - terms are used with at least the appearance of great precision in - other environments, the implied boundaries between MUAs and MTAs - often do not accurately match common, and conforming, practices with - Internet mail. Hence, the reader should be cautious about inferring - the strong relationships and responsibilities that might be implied - if these terms were used elsewhere. - -2.3.4 Host - - For the purposes of this specification, a host is a computer system - attached to the Internet (or, in some cases, to a private TCP/IP - network) and supporting the SMTP protocol. Hosts are known by names - (see "domain"); identifying them by numerical address is discouraged. - -2.3.5 Domain - - A domain (or domain name) consists of one or more dot-separated - components. These components ("labels" in DNS terminology [22]) are - restricted for SMTP purposes to consist of a sequence of letters, - digits, and hyphens drawn from the ASCII character set [1]. Domain - names are used as names of hosts and of other entities in the domain - name hierarchy. For example, a domain may refer to an alias (label - of a CNAME RR) or the label of Mail eXchanger records to be used to - deliver mail instead of representing a host name. See [22] and - section 5 of this specification. - - The domain name, as described in this document and in [22], is the - entire, fully-qualified name (often referred to as an "FQDN"). A - domain name that is not in FQDN form is no more than a local alias. - Local aliases MUST NOT appear in any SMTP transaction. - -2.3.6 Buffer and State Table - - SMTP sessions are stateful, with both parties carefully maintaining a - common view of the current state. In this document we model this - state by a virtual "buffer" and a "state table" on the server which - may be used by the client to, for example, "clear the buffer" or - "reset the state table," causing the information in the buffer to be - discarded and the state to be returned to some previous state. - - - - - - - -Klensin Standards Track [Page 11] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -2.3.7 Lines - - SMTP commands and, unless altered by a service extension, message - data, are transmitted in "lines". Lines consist of zero or more data - characters terminated by the sequence ASCII character "CR" (hex value - 0D) followed immediately by ASCII character "LF" (hex value 0A). - This termination sequence is denoted as in this document. - Conforming implementations MUST NOT recognize or generate any other - character or character sequence as a line terminator. Limits MAY be - imposed on line lengths by servers (see section 4.5.3). - - In addition, the appearance of "bare" "CR" or "LF" characters in text - (i.e., either without the other) has a long history of causing - problems in mail implementations and applications that use the mail - system as a tool. SMTP client implementations MUST NOT transmit - these characters except when they are intended as line terminators - and then MUST, as indicated above, transmit them only as a - sequence. - -2.3.8 Originator, Delivery, Relay, and Gateway Systems - - This specification makes a distinction among four types of SMTP - systems, based on the role those systems play in transmitting - electronic mail. An "originating" system (sometimes called an SMTP - originator) introduces mail into the Internet or, more generally, - into a transport service environment. A "delivery" SMTP system is - one that receives mail from a transport service environment and - passes it to a mail user agent or deposits it in a message store - which a mail user agent is expected to subsequently access. A - "relay" SMTP system (usually referred to just as a "relay") receives - mail from an SMTP client and transmits it, without modification to - the message data other than adding trace information, to another SMTP - server for further relaying or for delivery. - - A "gateway" SMTP system (usually referred to just as a "gateway") - receives mail from a client system in one transport environment and - transmits it to a server system in another transport environment. - Differences in protocols or message semantics between the transport - environments on either side of a gateway may require that the gateway - system perform transformations to the message that are not permitted - to SMTP relay systems. For the purposes of this specification, - firewalls that rewrite addresses should be considered as gateways, - even if SMTP is used on both sides of them (see [11]). - - - - - - - - -Klensin Standards Track [Page 12] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -2.3.9 Message Content and Mail Data - - The terms "message content" and "mail data" are used interchangeably - in this document to describe the material transmitted after the DATA - command is accepted and before the end of data indication is - transmitted. Message content includes message headers and the - possibly-structured message body. The MIME specification [12] - provides the standard mechanisms for structured message bodies. - -2.3.10 Mailbox and Address - - As used in this specification, an "address" is a character string - that identifies a user to whom mail will be sent or a location into - which mail will be deposited. The term "mailbox" refers to that - depository. The two terms are typically used interchangeably unless - the distinction between the location in which mail is placed (the - mailbox) and a reference to it (the address) is important. An - address normally consists of user and domain specifications. The - standard mailbox naming convention is defined to be "local- - part@domain": contemporary usage permits a much broader set of - applications than simple "user names". Consequently, and due to a - long history of problems when intermediate hosts have attempted to - optimize transport by modifying them, the local-part MUST be - interpreted and assigned semantics only by the host specified in the - domain part of the address. - -2.3.11 Reply - - An SMTP reply is an acknowledgment (positive or negative) sent from - receiver to sender via the transmission channel in response to a - command. The general form of a reply is a numeric completion code - (indicating failure or success) usually followed by a text string. - The codes are for use by programs and the text is usually intended - for human users. Recent work [34] has specified further structuring - of the reply strings, including the use of supplemental and more - specific completion codes. - -2.4 General Syntax Principles and Transaction Model - - SMTP commands and replies have a rigid syntax. All commands begin - with a command verb. All Replies begin with a three digit numeric - code. In some commands and replies, arguments MUST follow the verb - or reply code. Some commands do not accept arguments (after the - verb), and some reply codes are followed, sometimes optionally, by - free form text. In both cases, where text appears, it is separated - from the verb or reply code by a space character. Complete - definitions of commands and replies appear in section 4. - - - - -Klensin Standards Track [Page 13] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - Verbs and argument values (e.g., "TO:" or "to:" in the RCPT command - and extension name keywords) are not case sensitive, with the sole - exception in this specification of a mailbox local-part (SMTP - Extensions may explicitly specify case-sensitive elements). That is, - a command verb, an argument value other than a mailbox local-part, - and free form text MAY be encoded in upper case, lower case, or any - mixture of upper and lower case with no impact on its meaning. This - is NOT true of a mailbox local-part. The local-part of a mailbox - MUST BE treated as case sensitive. Therefore, SMTP implementations - MUST take care to preserve the case of mailbox local-parts. Mailbox - domains are not case sensitive. In particular, for some hosts the - user "smith" is different from the user "Smith". However, exploiting - the case sensitivity of mailbox local-parts impedes interoperability - and is discouraged. - - A few SMTP servers, in violation of this specification (and RFC 821) - require that command verbs be encoded by clients in upper case. - Implementations MAY wish to employ this encoding to accommodate those - servers. - - The argument field consists of a variable length character string - ending with the end of the line, i.e., with the character sequence - . The receiver will take no action until this sequence is - received. - - The syntax for each command is shown with the discussion of that - command. Common elements and parameters are shown in section 4.1.2. - - Commands and replies are composed of characters from the ASCII - character set [1]. When the transport service provides an 8-bit byte - (octet) transmission channel, each 7-bit character is transmitted - right justified in an octet with the high order bit cleared to zero. - More specifically, the unextended SMTP service provides seven bit - transport only. An originating SMTP client which has not - successfully negotiated an appropriate extension with a particular - server MUST NOT transmit messages with information in the high-order - bit of octets. If such messages are transmitted in violation of this - rule, receiving SMTP servers MAY clear the high-order bit or reject - the message as invalid. In general, a relay SMTP SHOULD assume that - the message content it has received is valid and, assuming that the - envelope permits doing so, relay it without inspecting that content. - Of course, if the content is mislabeled and the data path cannot - accept the actual content, this may result in ultimate delivery of a - severely garbled message to the recipient. Delivery SMTP systems MAY - reject ("bounce") such messages rather than deliver them. No sending - SMTP system is permitted to send envelope commands in any character - - - - - -Klensin Standards Track [Page 14] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - set other than US-ASCII; receiving systems SHOULD reject such - commands, normally using "500 syntax error - invalid character" - replies. - - Eight-bit message content transmission MAY be requested of the server - by a client using extended SMTP facilities, notably the "8BITMIME" - extension [20]. 8BITMIME SHOULD be supported by SMTP servers. - However, it MUST not be construed as authorization to transmit - unrestricted eight bit material. 8BITMIME MUST NOT be requested by - senders for material with the high bit on that is not in MIME format - with an appropriate content-transfer encoding; servers MAY reject - such messages. - - The metalinguistic notation used in this document corresponds to the - "Augmented BNF" used in other Internet mail system documents. The - reader who is not familiar with that syntax should consult the ABNF - specification [8]. Metalanguage terms used in running text are - surrounded by pointed brackets (e.g., ) for clarity. - -3. The SMTP Procedures: An Overview - - This section contains descriptions of the procedures used in SMTP: - session initiation, the mail transaction, forwarding mail, verifying - mailbox names and expanding mailing lists, and the opening and - closing exchanges. Comments on relaying, a note on mail domains, and - a discussion of changing roles are included at the end of this - section. Several complete scenarios are presented in appendix D. - -3.1 Session Initiation - - An SMTP session is initiated when a client opens a connection to a - server and the server responds with an opening message. - - SMTP server implementations MAY include identification of their - software and version information in the connection greeting reply - after the 220 code, a practice that permits more efficient isolation - and repair of any problems. Implementations MAY make provision for - SMTP servers to disable the software and version announcement where - it causes security concerns. While some systems also identify their - contact point for mail problems, this is not a substitute for - maintaining the required "postmaster" address (see section 4.5.1). - - The SMTP protocol allows a server to formally reject a transaction - while still allowing the initial connection as follows: a 554 - response MAY be given in the initial connection opening message - instead of the 220. A server taking this approach MUST still wait - for the client to send a QUIT (see section 4.1.1.10) before closing - the connection and SHOULD respond to any intervening commands with - - - -Klensin Standards Track [Page 15] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - "503 bad sequence of commands". Since an attempt to make an SMTP - connection to such a system is probably in error, a server returning - a 554 response on connection opening SHOULD provide enough - information in the reply text to facilitate debugging of the sending - system. - -3.2 Client Initiation - - Once the server has sent the welcoming message and the client has - received it, the client normally sends the EHLO command to the - server, indicating the client's identity. In addition to opening the - session, use of EHLO indicates that the client is able to process - service extensions and requests that the server provide a list of the - extensions it supports. Older SMTP systems which are unable to - support service extensions and contemporary clients which do not - require service extensions in the mail session being initiated, MAY - use HELO instead of EHLO. Servers MUST NOT return the extended - EHLO-style response to a HELO command. For a particular connection - attempt, if the server returns a "command not recognized" response to - EHLO, the client SHOULD be able to fall back and send HELO. - - In the EHLO command the host sending the command identifies itself; - the command may be interpreted as saying "Hello, I am " (and, - in the case of EHLO, "and I support service extension requests"). - -3.3 Mail Transactions - - There are three steps to SMTP mail transactions. The transaction - starts with a MAIL command which gives the sender identification. - (In general, the MAIL command may be sent only when no mail - transaction is in progress; see section 4.1.4.) A series of one or - more RCPT commands follows giving the receiver information. Then a - DATA command initiates transfer of the mail data and is terminated by - the "end of mail" data indicator, which also confirms the - transaction. - - The first step in the procedure is the MAIL command. - - MAIL FROM: [SP ] - - This command tells the SMTP-receiver that a new mail transaction is - starting and to reset all its state tables and buffers, including any - recipients or mail data. The portion of the first or - only argument contains the source mailbox (between "<" and ">" - brackets), which can be used to report errors (see section 4.2 for a - discussion of error reporting). If accepted, the SMTP server returns - a 250 OK reply. If the mailbox specification is not acceptable for - some reason, the server MUST return a reply indicating whether the - - - -Klensin Standards Track [Page 16] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - failure is permanent (i.e., will occur again if the client tries to - send the same address again) or temporary (i.e., the address might be - accepted if the client tries again later). Despite the apparent - scope of this requirement, there are circumstances in which the - acceptability of the reverse-path may not be determined until one or - more forward-paths (in RCPT commands) can be examined. In those - cases, the server MAY reasonably accept the reverse-path (with a 250 - reply) and then report problems after the forward-paths are received - and examined. Normally, failures produce 550 or 553 replies. - - Historically, the can contain more than just a - mailbox, however, contemporary systems SHOULD NOT use source routing - (see appendix C). - - The optional are associated with negotiated SMTP - service extensions (see section 2.2). - - The second step in the procedure is the RCPT command. - - RCPT TO: [ SP ] - - The first or only argument to this command includes a forward-path - (normally a mailbox and domain, always surrounded by "<" and ">" - brackets) identifying one recipient. If accepted, the SMTP server - returns a 250 OK reply and stores the forward-path. If the recipient - is known not to be a deliverable address, the SMTP server returns a - 550 reply, typically with a string such as "no such user - " and the - mailbox name (other circumstances and reply codes are possible). - This step of the procedure can be repeated any number of times. - - The can contain more than just a mailbox. - Historically, the can be a source routing list of - hosts and the destination mailbox, however, contemporary SMTP clients - SHOULD NOT utilize source routes (see appendix C). Servers MUST be - prepared to encounter a list of source routes in the forward path, - but SHOULD ignore the routes or MAY decline to support the relaying - they imply. Similarly, servers MAY decline to accept mail that is - destined for other hosts or systems. These restrictions make a - server useless as a relay for clients that do not support full SMTP - functionality. Consequently, restricted-capability clients MUST NOT - assume that any SMTP server on the Internet can be used as their mail - processing (relaying) site. If a RCPT command appears without a - previous MAIL command, the server MUST return a 503 "Bad sequence of - commands" response. The optional are associated - with negotiated SMTP service extensions (see section 2.2). - - The third step in the procedure is the DATA command (or some - alternative specified in a service extension). - - - -Klensin Standards Track [Page 17] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - DATA - - If accepted, the SMTP server returns a 354 Intermediate reply and - considers all succeeding lines up to but not including the end of - mail data indicator to be the message text. When the end of text is - successfully received and stored the SMTP-receiver sends a 250 OK - reply. - - Since the mail data is sent on the transmission channel, the end of - mail data must be indicated so that the command and reply dialog can - be resumed. SMTP indicates the end of the mail data by sending a - line containing only a "." (period or full stop). A transparency - procedure is used to prevent this from interfering with the user's - text (see section 4.5.2). - - The end of mail data indicator also confirms the mail transaction and - tells the SMTP server to now process the stored recipients and mail - data. If accepted, the SMTP server returns a 250 OK reply. The DATA - command can fail at only two points in the protocol exchange: - - - If there was no MAIL, or no RCPT, command, or all such commands - were rejected, the server MAY return a "command out of sequence" - (503) or "no valid recipients" (554) reply in response to the DATA - command. If one of those replies (or any other 5yz reply) is - received, the client MUST NOT send the message data; more - generally, message data MUST NOT be sent unless a 354 reply is - received. - - - If the verb is initially accepted and the 354 reply issued, the - DATA command should fail only if the mail transaction was - incomplete (for example, no recipients), or if resources were - unavailable (including, of course, the server unexpectedly - becoming unavailable), or if the server determines that the - message should be rejected for policy or other reasons. - - However, in practice, some servers do not perform recipient - verification until after the message text is received. These servers - SHOULD treat a failure for one or more recipients as a "subsequent - failure" and return a mail message as discussed in section 6. Using - a "550 mailbox not found" (or equivalent) reply code after the data - are accepted makes it difficult or impossible for the client to - determine which recipients failed. - - When RFC 822 format [7, 32] is being used, the mail data include the - memo header items such as Date, Subject, To, Cc, From. Server SMTP - systems SHOULD NOT reject messages based on perceived defects in the - RFC 822 or MIME [12] message header or message body. In particular, - - - - -Klensin Standards Track [Page 18] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - they MUST NOT reject messages in which the numbers of Resent-fields - do not match or Resent-to appears without Resent-from and/or Resent- - date. - - Mail transaction commands MUST be used in the order discussed above. - -3.4 Forwarding for Address Correction or Updating - - Forwarding support is most often required to consolidate and simplify - addresses within, or relative to, some enterprise and less frequently - to establish addresses to link a person's prior address with current - one. Silent forwarding of messages (without server notification to - the sender), for security or non-disclosure purposes, is common in - the contemporary Internet. - - In both the enterprise and the "new address" cases, information - hiding (and sometimes security) considerations argue against exposure - of the "final" address through the SMTP protocol as a side-effect of - the forwarding activity. This may be especially important when the - final address may not even be reachable by the sender. Consequently, - the "forwarding" mechanisms described in section 3.2 of RFC 821, and - especially the 251 (corrected destination) and 551 reply codes from - RCPT must be evaluated carefully by implementers and, when they are - available, by those configuring systems. - - In particular: - - * Servers MAY forward messages when they are aware of an address - change. When they do so, they MAY either provide address-updating - information with a 251 code, or may forward "silently" and return - a 250 code. But, if a 251 code is used, they MUST NOT assume that - the client will actually update address information or even return - that information to the user. - - Alternately, - - * Servers MAY reject or bounce messages when they are not - deliverable when addressed. When they do so, they MAY either - provide address-updating information with a 551 code, or may - reject the message as undeliverable with a 550 code and no - address-specific information. But, if a 551 code is used, they - MUST NOT assume that the client will actually update address - information or even return that information to the user. - - SMTP server implementations that support the 251 and/or 551 reply - codes are strongly encouraged to provide configuration mechanisms so - that sites which conclude that they would undesirably disclose - information can disable or restrict their use. - - - -Klensin Standards Track [Page 19] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -3.5 Commands for Debugging Addresses - -3.5.1 Overview - - SMTP provides commands to verify a user name or obtain the content of - a mailing list. This is done with the VRFY and EXPN commands, which - have character string arguments. Implementations SHOULD support VRFY - and EXPN (however, see section 3.5.2 and 7.3). - - For the VRFY command, the string is a user name or a user name and - domain (see below). If a normal (i.e., 250) response is returned, - the response MAY include the full name of the user and MUST include - the mailbox of the user. It MUST be in either of the following - forms: - - User Name - local-part@domain - - When a name that is the argument to VRFY could identify more than one - mailbox, the server MAY either note the ambiguity or identify the - alternatives. In other words, any of the following are legitimate - response to VRFY: - - 553 User ambiguous - - or - - 553- Ambiguous; Possibilities are - 553-Joe Smith - 553-Harry Smith - 553 Melvin Smith - - or - - 553-Ambiguous; Possibilities - 553- - 553- - 553 - - Under normal circumstances, a client receiving a 553 reply would be - expected to expose the result to the user. Use of exactly the forms - given, and the "user ambiguous" or "ambiguous" keywords, possibly - supplemented by extended reply codes such as those described in [34], - will facilitate automated translation into other languages as needed. - Of course, a client that was highly automated or that was operating - in another language than English, might choose to try to translate - the response, to return some other indication to the user than the - - - - -Klensin Standards Track [Page 20] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - literal text of the reply, or to take some automated action such as - consulting a directory service for additional information before - reporting to the user. - - For the EXPN command, the string identifies a mailing list, and the - successful (i.e., 250) multiline response MAY include the full name - of the users and MUST give the mailboxes on the mailing list. - - In some hosts the distinction between a mailing list and an alias for - a single mailbox is a bit fuzzy, since a common data structure may - hold both types of entries, and it is possible to have mailing lists - containing only one mailbox. If a request is made to apply VRFY to a - mailing list, a positive response MAY be given if a message so - addressed would be delivered to everyone on the list, otherwise an - error SHOULD be reported (e.g., "550 That is a mailing list, not a - user" or "252 Unable to verify members of mailing list"). If a - request is made to expand a user name, the server MAY return a - positive response consisting of a list containing one name, or an - error MAY be reported (e.g., "550 That is a user name, not a mailing - list"). - - In the case of a successful multiline reply (normal for EXPN) exactly - one mailbox is to be specified on each line of the reply. The case - of an ambiguous request is discussed above. - - "User name" is a fuzzy term and has been used deliberately. An - implementation of the VRFY or EXPN commands MUST include at least - recognition of local mailboxes as "user names". However, since - current Internet practice often results in a single host handling - mail for multiple domains, hosts, especially hosts that provide this - functionality, SHOULD accept the "local-part@domain" form as a "user - name"; hosts MAY also choose to recognize other strings as "user - names". - - The case of expanding a mailbox list requires a multiline reply, such - as: - - C: EXPN Example-People - S: 250-Jon Postel - S: 250-Fred Fonebone - S: 250 Sam Q. Smith - - or - - C: EXPN Executive-Washroom-List - S: 550 Access Denied to You. - - - - - -Klensin Standards Track [Page 21] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - The character string arguments of the VRFY and EXPN commands cannot - be further restricted due to the variety of implementations of the - user name and mailbox list concepts. On some systems it may be - appropriate for the argument of the EXPN command to be a file name - for a file containing a mailing list, but again there are a variety - of file naming conventions in the Internet. Similarly, historical - variations in what is returned by these commands are such that the - response SHOULD be interpreted very carefully, if at all, and SHOULD - generally only be used for diagnostic purposes. - -3.5.2 VRFY Normal Response - - When normal (2yz or 551) responses are returned from a VRFY or EXPN - request, the reply normally includes the mailbox name, i.e., - "", where "domain" is a fully qualified domain - name, MUST appear in the syntax. In circumstances exceptional enough - to justify violating the intent of this specification, free-form text - MAY be returned. In order to facilitate parsing by both computers - and people, addresses SHOULD appear in pointed brackets. When - addresses, rather than free-form debugging information, are returned, - EXPN and VRFY MUST return only valid domain addresses that are usable - in SMTP RCPT commands. Consequently, if an address implies delivery - to a program or other system, the mailbox name used to reach that - target MUST be given. Paths (explicit source routes) MUST NOT be - returned by VRFY or EXPN. - - Server implementations SHOULD support both VRFY and EXPN. For - security reasons, implementations MAY provide local installations a - way to disable either or both of these commands through configuration - options or the equivalent. When these commands are supported, they - are not required to work across relays when relaying is supported. - Since they were both optional in RFC 821, they MUST be listed as - service extensions in an EHLO response, if they are supported. - -3.5.3 Meaning of VRFY or EXPN Success Response - - A server MUST NOT return a 250 code in response to a VRFY or EXPN - command unless it has actually verified the address. In particular, - a server MUST NOT return 250 if all it has done is to verify that the - syntax given is valid. In that case, 502 (Command not implemented) - or 500 (Syntax error, command unrecognized) SHOULD be returned. As - stated elsewhere, implementation (in the sense of actually validating - addresses and returning information) of VRFY and EXPN are strongly - recommended. Hence, implementations that return 500 or 502 for VRFY - are not in full compliance with this specification. - - - - - - -Klensin Standards Track [Page 22] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - There may be circumstances where an address appears to be valid but - cannot reasonably be verified in real time, particularly when a - server is acting as a mail exchanger for another server or domain. - "Apparent validity" in this case would normally involve at least - syntax checking and might involve verification that any domains - specified were ones to which the host expected to be able to relay - mail. In these situations, reply code 252 SHOULD be returned. These - cases parallel the discussion of RCPT verification discussed in - section 2.1. Similarly, the discussion in section 3.4 applies to the - use of reply codes 251 and 551 with VRFY (and EXPN) to indicate - addresses that are recognized but that would be forwarded or bounced - were mail received for them. Implementations generally SHOULD be - more aggressive about address verification in the case of VRFY than - in the case of RCPT, even if it takes a little longer to do so. - -3.5.4 Semantics and Applications of EXPN - - EXPN is often very useful in debugging and understanding problems - with mailing lists and multiple-target-address aliases. Some systems - have attempted to use source expansion of mailing lists as a means of - eliminating duplicates. The propagation of aliasing systems with - mail on the Internet, for hosts (typically with MX and CNAME DNS - records), for mailboxes (various types of local host aliases), and in - various proxying arrangements, has made it nearly impossible for - these strategies to work consistently, and mail systems SHOULD NOT - attempt them. - -3.6 Domains - - Only resolvable, fully-qualified, domain names (FQDNs) are permitted - when domain names are used in SMTP. In other words, names that can - be resolved to MX RRs or A RRs (as discussed in section 5) are - permitted, as are CNAME RRs whose targets can be resolved, in turn, - to MX or A RRs. Local nicknames or unqualified names MUST NOT be - used. There are two exceptions to the rule requiring FQDNs: - - - The domain name given in the EHLO command MUST BE either a primary - host name (a domain name that resolves to an A RR) or, if the host - has no name, an address literal as described in section 4.1.1.1. - - - The reserved mailbox name "postmaster" may be used in a RCPT - command without domain qualification (see section 4.1.1.3) and - MUST be accepted if so used. - - - - - - - - -Klensin Standards Track [Page 23] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -3.7 Relaying - - In general, the availability of Mail eXchanger records in the domain - name system [22, 27] makes the use of explicit source routes in the - Internet mail system unnecessary. Many historical problems with - their interpretation have made their use undesirable. SMTP clients - SHOULD NOT generate explicit source routes except under unusual - circumstances. SMTP servers MAY decline to act as mail relays or to - accept addresses that specify source routes. When route information - is encountered, SMTP servers are also permitted to ignore the route - information and simply send to the final destination specified as the - last element in the route and SHOULD do so. There has been an - invalid practice of using names that do not appear in the DNS as - destination names, with the senders counting on the intermediate - hosts specified in source routing to resolve any problems. If source - routes are stripped, this practice will cause failures. This is one - of several reasons why SMTP clients MUST NOT generate invalid source - routes or depend on serial resolution of names. - - When source routes are not used, the process described in RFC 821 for - constructing a reverse-path from the forward-path is not applicable - and the reverse-path at the time of delivery will simply be the - address that appeared in the MAIL command. - - A relay SMTP server is usually the target of a DNS MX record that - designates it, rather than the final delivery system. The relay - server may accept or reject the task of relaying the mail in the same - way it accepts or rejects mail for a local user. If it accepts the - task, it then becomes an SMTP client, establishes a transmission - channel to the next SMTP server specified in the DNS (according to - the rules in section 5), and sends it the mail. If it declines to - relay mail to a particular address for policy reasons, a 550 response - SHOULD be returned. - - Many mail-sending clients exist, especially in conjunction with - facilities that receive mail via POP3 or IMAP, that have limited - capability to support some of the requirements of this specification, - such as the ability to queue messages for subsequent delivery - attempts. For these clients, it is common practice to make private - arrangements to send all messages to a single server for processing - and subsequent distribution. SMTP, as specified here, is not ideally - suited for this role, and work is underway on standardized mail - submission protocols that might eventually supercede the current - practices. In any event, because these arrangements are private and - fall outside the scope of this specification, they are not described - here. - - - - - -Klensin Standards Track [Page 24] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - It is important to note that MX records can point to SMTP servers - which act as gateways into other environments, not just SMTP relays - and final delivery systems; see sections 3.8 and 5. - - If an SMTP server has accepted the task of relaying the mail and - later finds that the destination is incorrect or that the mail cannot - be delivered for some other reason, then it MUST construct an - "undeliverable mail" notification message and send it to the - originator of the undeliverable mail (as indicated by the reverse- - path). Formats specified for non-delivery reports by other standards - (see, for example, [24, 25]) SHOULD be used if possible. - - This notification message must be from the SMTP server at the relay - host or the host that first determines that delivery cannot be - accomplished. Of course, SMTP servers MUST NOT send notification - messages about problems transporting notification messages. One way - to prevent loops in error reporting is to specify a null reverse-path - in the MAIL command of a notification message. When such a message - is transmitted the reverse-path MUST be set to null (see section - 4.5.5 for additional discussion). A MAIL command with a null - reverse-path appears as follows: - - MAIL FROM:<> - - As discussed in section 2.4.1, a relay SMTP has no need to inspect or - act upon the headers or body of the message data and MUST NOT do so - except to add its own "Received:" header (section 4.4) and, - optionally, to attempt to detect looping in the mail system (see - section 6.2). - -3.8 Mail Gatewaying - - While the relay function discussed above operates within the Internet - SMTP transport service environment, MX records or various forms of - explicit routing may require that an intermediate SMTP server perform - a translation function between one transport service and another. As - discussed in section 2.3.8, when such a system is at the boundary - between two transport service environments, we refer to it as a - "gateway" or "gateway SMTP". - - Gatewaying mail between different mail environments, such as - different mail formats and protocols, is complex and does not easily - yield to standardization. However, some general requirements may be - given for a gateway between the Internet and another mail - environment. - - - - - - -Klensin Standards Track [Page 25] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -3.8.1 Header Fields in Gatewaying - - Header fields MAY be rewritten when necessary as messages are - gatewayed across mail environment boundaries. This may involve - inspecting the message body or interpreting the local-part of the - destination address in spite of the prohibitions in section 2.4.1. - - Other mail systems gatewayed to the Internet often use a subset of - RFC 822 headers or provide similar functionality with a different - syntax, but some of these mail systems do not have an equivalent to - the SMTP envelope. Therefore, when a message leaves the Internet - environment, it may be necessary to fold the SMTP envelope - information into the message header. A possible solution would be to - create new header fields to carry the envelope information (e.g., - "X-SMTP-MAIL:" and "X-SMTP-RCPT:"); however, this would require - changes in mail programs in foreign environments and might risk - disclosure of private information (see section 7.2). - -3.8.2 Received Lines in Gatewaying - - When forwarding a message into or out of the Internet environment, a - gateway MUST prepend a Received: line, but it MUST NOT alter in any - way a Received: line that is already in the header. - - "Received:" fields of messages originating from other environments - may not conform exactly to this specification. However, the most - important use of Received: lines is for debugging mail faults, and - this debugging can be severely hampered by well-meaning gateways that - try to "fix" a Received: line. As another consequence of trace - fields arising in non-SMTP environments, receiving systems MUST NOT - reject mail based on the format of a trace field and SHOULD be - extremely robust in the light of unexpected information or formats in - those fields. - - The gateway SHOULD indicate the environment and protocol in the "via" - clauses of Received field(s) that it supplies. - -3.8.3 Addresses in Gatewaying - - From the Internet side, the gateway SHOULD accept all valid address - formats in SMTP commands and in RFC 822 headers, and all valid RFC - 822 messages. Addresses and headers generated by gateways MUST - conform to applicable Internet standards (including this one and RFC - 822). Gateways are, of course, subject to the same rules for - handling source routes as those described for other SMTP systems in - section 3.3. - - - - - -Klensin Standards Track [Page 26] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -3.8.4 Other Header Fields in Gatewaying - - The gateway MUST ensure that all header fields of a message that it - forwards into the Internet mail environment meet the requirements for - Internet mail. In particular, all addresses in "From:", "To:", - "Cc:", etc., fields MUST be transformed (if necessary) to satisfy RFC - 822 syntax, MUST reference only fully-qualified domain names, and - MUST be effective and useful for sending replies. The translation - algorithm used to convert mail from the Internet protocols to another - environment's protocol SHOULD ensure that error messages from the - foreign mail environment are delivered to the return path from the - SMTP envelope, not to the sender listed in the "From:" field (or - other fields) of the RFC 822 message. - -3.8.5 Envelopes in Gatewaying - - Similarly, when forwarding a message from another environment into - the Internet, the gateway SHOULD set the envelope return path in - accordance with an error message return address, if supplied by the - foreign environment. If the foreign environment has no equivalent - concept, the gateway must select and use a best approximation, with - the message originator's address as the default of last resort. - -3.9 Terminating Sessions and Connections - - An SMTP connection is terminated when the client sends a QUIT - command. The server responds with a positive reply code, after which - it closes the connection. - - An SMTP server MUST NOT intentionally close the connection except: - - - After receiving a QUIT command and responding with a 221 reply. - - - After detecting the need to shut down the SMTP service and - returning a 421 response code. This response code can be issued - after the server receives any command or, if necessary, - asynchronously from command receipt (on the assumption that the - client will receive it after the next command is issued). - - In particular, a server that closes connections in response to - commands that are not understood is in violation of this - specification. Servers are expected to be tolerant of unknown - commands, issuing a 500 reply and awaiting further instructions from - the client. - - - - - - - -Klensin Standards Track [Page 27] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - An SMTP server which is forcibly shut down via external means SHOULD - attempt to send a line containing a 421 response code to the SMTP - client before exiting. The SMTP client will normally read the 421 - response code after sending its next command. - - SMTP clients that experience a connection close, reset, or other - communications failure due to circumstances not under their control - (in violation of the intent of this specification but sometimes - unavoidable) SHOULD, to maintain the robustness of the mail system, - treat the mail transaction as if a 451 response had been received and - act accordingly. - -3.10 Mailing Lists and Aliases - - An SMTP-capable host SHOULD support both the alias and the list - models of address expansion for multiple delivery. When a message is - delivered or forwarded to each address of an expanded list form, the - return address in the envelope ("MAIL FROM:") MUST be changed to be - the address of a person or other entity who administers the list. - However, in this case, the message header [32] MUST be left - unchanged; in particular, the "From" field of the message header is - unaffected. - - An important mail facility is a mechanism for multi-destination - delivery of a single message, by transforming (or "expanding" or - "exploding") a pseudo-mailbox address into a list of destination - mailbox addresses. When a message is sent to such a pseudo-mailbox - (sometimes called an "exploder"), copies are forwarded or - redistributed to each mailbox in the expanded list. Servers SHOULD - simply utilize the addresses on the list; application of heuristics - or other matching rules to eliminate some addresses, such as that of - the originator, is strongly discouraged. We classify such a pseudo- - mailbox as an "alias" or a "list", depending upon the expansion - rules. - -3.10.1 Alias - - To expand an alias, the recipient mailer simply replaces the pseudo- - mailbox address in the envelope with each of the expanded addresses - in turn; the rest of the envelope and the message body are left - unchanged. The message is then delivered or forwarded to each - expanded address. - -3.10.2 List - - A mailing list may be said to operate by "redistribution" rather than - by "forwarding". To expand a list, the recipient mailer replaces the - pseudo-mailbox address in the envelope with all of the expanded - - - -Klensin Standards Track [Page 28] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - addresses. The return address in the envelope is changed so that all - error messages generated by the final deliveries will be returned to - a list administrator, not to the message originator, who generally - has no control over the contents of the list and will typically find - error messages annoying. - -4. The SMTP Specifications - -4.1 SMTP Commands - -4.1.1 Command Semantics and Syntax - - The SMTP commands define the mail transfer or the mail system - function requested by the user. SMTP commands are character strings - terminated by . The commands themselves are alphabetic - characters terminated by if parameters follow and - otherwise. (In the interest of improved interoperability, SMTP - receivers are encouraged to tolerate trailing white space before the - terminating .) The syntax of the local part of a mailbox must - conform to receiver site conventions and the syntax specified in - section 4.1.2. The SMTP commands are discussed below. The SMTP - replies are discussed in section 4.2. - - A mail transaction involves several data objects which are - communicated as arguments to different commands. The reverse-path is - the argument of the MAIL command, the forward-path is the argument of - the RCPT command, and the mail data is the argument of the DATA - command. These arguments or data objects must be transmitted and - held pending the confirmation communicated by the end of mail data - indication which finalizes the transaction. The model for this is - that distinct buffers are provided to hold the types of data objects, - that is, there is a reverse-path buffer, a forward-path buffer, and a - mail data buffer. Specific commands cause information to be appended - to a specific buffer, or cause one or more buffers to be cleared. - - Several commands (RSET, DATA, QUIT) are specified as not permitting - parameters. In the absence of specific extensions offered by the - server and accepted by the client, clients MUST NOT send such - parameters and servers SHOULD reject commands containing them as - having invalid syntax. - -4.1.1.1 Extended HELLO (EHLO) or HELLO (HELO) - - These commands are used to identify the SMTP client to the SMTP - server. The argument field contains the fully-qualified domain name - of the SMTP client if one is available. In situations in which the - SMTP client system does not have a meaningful domain name (e.g., when - its address is dynamically allocated and no reverse mapping record is - - - -Klensin Standards Track [Page 29] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - available), the client SHOULD send an address literal (see section - 4.1.3), optionally followed by information that will help to identify - the client system. y The SMTP server identifies itself to the SMTP - client in the connection greeting reply and in the response to this - command. - - A client SMTP SHOULD start an SMTP session by issuing the EHLO - command. If the SMTP server supports the SMTP service extensions it - will give a successful response, a failure response, or an error - response. If the SMTP server, in violation of this specification, - does not support any SMTP service extensions it will generate an - error response. Older client SMTP systems MAY, as discussed above, - use HELO (as specified in RFC 821) instead of EHLO, and servers MUST - support the HELO command and reply properly to it. In any event, a - client MUST issue HELO or EHLO before starting a mail transaction. - - These commands, and a "250 OK" reply to one of them, confirm that - both the SMTP client and the SMTP server are in the initial state, - that is, there is no transaction in progress and all state tables and - buffers are cleared. - - Syntax: - - ehlo = "EHLO" SP Domain CRLF - helo = "HELO" SP Domain CRLF - - Normally, the response to EHLO will be a multiline reply. Each line - of the response contains a keyword and, optionally, one or more - parameters. Following the normal syntax for multiline replies, these - keyworks follow the code (250) and a hyphen for all but the last - line, and the code and a space for the last line. The syntax for a - positive response, using the ABNF notation and terminal symbols of - [8], is: - - ehlo-ok-rsp = ( "250" domain [ SP ehlo-greet ] CRLF ) - / ( "250-" domain [ SP ehlo-greet ] CRLF - *( "250-" ehlo-line CRLF ) - "250" SP ehlo-line CRLF ) - - ehlo-greet = 1*(%d0-9 / %d11-12 / %d14-127) - ; string of any characters other than CR or LF - - ehlo-line = ehlo-keyword *( SP ehlo-param ) - - ehlo-keyword = (ALPHA / DIGIT) *(ALPHA / DIGIT / "-") - ; additional syntax of ehlo-params depends on - ; ehlo-keyword - - - - -Klensin Standards Track [Page 30] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - ehlo-param = 1*(%d33-127) - ; any CHAR excluding and all - ; control characters (US-ASCII 0-31 inclusive) - - Although EHLO keywords may be specified in upper, lower, or mixed - case, they MUST always be recognized and processed in a case- - insensitive manner. This is simply an extension of practices - specified in RFC 821 and section 2.4.1. - -4.1.1.2 MAIL (MAIL) - - This command is used to initiate a mail transaction in which the mail - data is delivered to an SMTP server which may, in turn, deliver it to - one or more mailboxes or pass it on to another system (possibly using - SMTP). The argument field contains a reverse-path and may contain - optional parameters. In general, the MAIL command may be sent only - when no mail transaction is in progress, see section 4.1.4. - - The reverse-path consists of the sender mailbox. Historically, that - mailbox might optionally have been preceded by a list of hosts, but - that behavior is now deprecated (see appendix C). In some types of - reporting messages for which a reply is likely to cause a mail loop - (for example, mail delivery and nondelivery notifications), the - reverse-path may be null (see section 3.7). - - This command clears the reverse-path buffer, the forward-path buffer, - and the mail data buffer; and inserts the reverse-path information - from this command into the reverse-path buffer. - - If service extensions were negotiated, the MAIL command may also - carry parameters associated with a particular service extension. - - Syntax: - - "MAIL FROM:" ("<>" / Reverse-Path) - [SP Mail-parameters] CRLF - -4.1.1.3 RECIPIENT (RCPT) - - This command is used to identify an individual recipient of the mail - data; multiple recipients are specified by multiple use of this - command. The argument field contains a forward-path and may contain - optional parameters. - - The forward-path normally consists of the required destination - mailbox. Sending systems SHOULD not generate the optional list of - hosts known as a source route. Receiving systems MUST recognize - - - - -Klensin Standards Track [Page 31] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - source route syntax but SHOULD strip off the source route - specification and utilize the domain name associated with the mailbox - as if the source route had not been provided. - - Similarly, relay hosts SHOULD strip or ignore source routes, and - names MUST NOT be copied into the reverse-path. When mail reaches - its ultimate destination (the forward-path contains only a - destination mailbox), the SMTP server inserts it into the destination - mailbox in accordance with its host mail conventions. - - For example, mail received at relay host xyz.com with envelope - commands - - MAIL FROM: - RCPT TO:<@hosta.int,@jkl.org:userc@d.bar.org> - - will normally be sent directly on to host d.bar.org with envelope - commands - - MAIL FROM: - RCPT TO: - - As provided in appendix C, xyz.com MAY also choose to relay the - message to hosta.int, using the envelope commands - - MAIL FROM: - RCPT TO:<@hosta.int,@jkl.org:userc@d.bar.org> - - or to jkl.org, using the envelope commands - - MAIL FROM: - RCPT TO:<@jkl.org:userc@d.bar.org> - - Of course, since hosts are not required to relay mail at all, xyz.com - may also reject the message entirely when the RCPT command is - received, using a 550 code (since this is a "policy reason"). - - If service extensions were negotiated, the RCPT command may also - carry parameters associated with a particular service extension - offered by the server. The client MUST NOT transmit parameters other - than those associated with a service extension offered by the server - in its EHLO response. - -Syntax: - "RCPT TO:" ("" / "" / Forward-Path) - [SP Rcpt-parameters] CRLF - - - - - -Klensin Standards Track [Page 32] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -4.1.1.4 DATA (DATA) - - The receiver normally sends a 354 response to DATA, and then treats - the lines (strings ending in sequences, as described in - section 2.3.7) following the command as mail data from the sender. - This command causes the mail data to be appended to the mail data - buffer. The mail data may contain any of the 128 ASCII character - codes, although experience has indicated that use of control - characters other than SP, HT, CR, and LF may cause problems and - SHOULD be avoided when possible. - - The mail data is terminated by a line containing only a period, that - is, the character sequence "." (see section 4.5.2). This - is the end of mail data indication. Note that the first of - this terminating sequence is also the that ends the final line - of the data (message text) or, if there was no data, ends the DATA - command itself. An extra MUST NOT be added, as that would - cause an empty line to be added to the message. The only exception - to this rule would arise if the message body were passed to the - originating SMTP-sender with a final "line" that did not end in - ; in that case, the originating SMTP system MUST either reject - the message as invalid or add in order to have the receiving - SMTP server recognize the "end of data" condition. - - The custom of accepting lines ending only in , as a concession to - non-conforming behavior on the part of some UNIX systems, has proven - to cause more interoperability problems than it solves, and SMTP - server systems MUST NOT do this, even in the name of improved - robustness. In particular, the sequence "." (bare line - feeds, without carriage returns) MUST NOT be treated as equivalent to - . as the end of mail data indication. - - Receipt of the end of mail data indication requires the server to - process the stored mail transaction information. This processing - consumes the information in the reverse-path buffer, the forward-path - buffer, and the mail data buffer, and on the completion of this - command these buffers are cleared. If the processing is successful, - the receiver MUST send an OK reply. If the processing fails the - receiver MUST send a failure reply. The SMTP model does not allow - for partial failures at this point: either the message is accepted by - the server for delivery and a positive response is returned or it is - not accepted and a failure reply is returned. In sending a positive - completion reply to the end of data indication, the receiver takes - full responsibility for the message (see section 6.1). Errors that - are diagnosed subsequently MUST be reported in a mail message, as - discussed in section 4.4. - - - - - -Klensin Standards Track [Page 33] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - When the SMTP server accepts a message either for relaying or for - final delivery, it inserts a trace record (also referred to - interchangeably as a "time stamp line" or "Received" line) at the top - of the mail data. This trace record indicates the identity of the - host that sent the message, the identity of the host that received - the message (and is inserting this time stamp), and the date and time - the message was received. Relayed messages will have multiple time - stamp lines. Details for formation of these lines, including their - syntax, is specified in section 4.4. - - Additional discussion about the operation of the DATA command appears - in section 3.3. - - Syntax: - "DATA" CRLF - -4.1.1.5 RESET (RSET) - - This command specifies that the current mail transaction will be - aborted. Any stored sender, recipients, and mail data MUST be - discarded, and all buffers and state tables cleared. The receiver - MUST send a "250 OK" reply to a RSET command with no arguments. A - reset command may be issued by the client at any time. It is - effectively equivalent to a NOOP (i.e., if has no effect) if issued - immediately after EHLO, before EHLO is issued in the session, after - an end-of-data indicator has been sent and acknowledged, or - immediately before a QUIT. An SMTP server MUST NOT close the - connection as the result of receiving a RSET; that action is reserved - for QUIT (see section 4.1.1.10). - - Since EHLO implies some additional processing and response by the - server, RSET will normally be more efficient than reissuing that - command, even though the formal semantics are the same. - - There are circumstances, contrary to the intent of this - specification, in which an SMTP server may receive an indication that - the underlying TCP connection has been closed or reset. To preserve - the robustness of the mail system, SMTP servers SHOULD be prepared - for this condition and SHOULD treat it as if a QUIT had been received - before the connection disappeared. - - Syntax: - "RSET" CRLF - - - - - - - - -Klensin Standards Track [Page 34] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -4.1.1.6 VERIFY (VRFY) - - This command asks the receiver to confirm that the argument - identifies a user or mailbox. If it is a user name, information is - returned as specified in section 3.5. - - This command has no effect on the reverse-path buffer, the forward- - path buffer, or the mail data buffer. - - Syntax: - "VRFY" SP String CRLF - -4.1.1.7 EXPAND (EXPN) - - This command asks the receiver to confirm that the argument - identifies a mailing list, and if so, to return the membership of - that list. If the command is successful, a reply is returned - containing information as described in section 3.5. This reply will - have multiple lines except in the trivial case of a one-member list. - - This command has no effect on the reverse-path buffer, the forward- - path buffer, or the mail data buffer and may be issued at any time. - - Syntax: - "EXPN" SP String CRLF - -4.1.1.8 HELP (HELP) - - This command causes the server to send helpful information to the - client. The command MAY take an argument (e.g., any command name) - and return more specific information as a response. - - This command has no effect on the reverse-path buffer, the forward- - path buffer, or the mail data buffer and may be issued at any time. - - SMTP servers SHOULD support HELP without arguments and MAY support it - with arguments. - - Syntax: - "HELP" [ SP String ] CRLF - -4.1.1.9 NOOP (NOOP) - - This command does not affect any parameters or previously entered - commands. It specifies no action other than that the receiver send - an OK reply. - - - - - -Klensin Standards Track [Page 35] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - This command has no effect on the reverse-path buffer, the forward- - path buffer, or the mail data buffer and may be issued at any time. - If a parameter string is specified, servers SHOULD ignore it. - - Syntax: - "NOOP" [ SP String ] CRLF - -4.1.1.10 QUIT (QUIT) - - This command specifies that the receiver MUST send an OK reply, and - then close the transmission channel. - - The receiver MUST NOT intentionally close the transmission channel - until it receives and replies to a QUIT command (even if there was an - error). The sender MUST NOT intentionally close the transmission - channel until it sends a QUIT command and SHOULD wait until it - receives the reply (even if there was an error response to a previous - command). If the connection is closed prematurely due to violations - of the above or system or network failure, the server MUST cancel any - pending transaction, but not undo any previously completed - transaction, and generally MUST act as if the command or transaction - in progress had received a temporary error (i.e., a 4yz response). - - The QUIT command may be issued at any time. - - Syntax: - "QUIT" CRLF - -4.1.2 Command Argument Syntax - - The syntax of the argument fields of the above commands (using the - syntax specified in [8] where applicable) is given below. Some of - the productions given below are used only in conjunction with source - routes as described in appendix C. Terminals not defined in this - document, such as ALPHA, DIGIT, SP, CR, LF, CRLF, are as defined in - the "core" syntax [8 (section 6)] or in the message format syntax - [32]. - - Reverse-path = Path - Forward-path = Path - Path = "<" [ A-d-l ":" ] Mailbox ">" - A-d-l = At-domain *( "," A-d-l ) - ; Note that this form, the so-called "source route", - ; MUST BE accepted, SHOULD NOT be generated, and SHOULD be - ; ignored. - At-domain = "@" domain - Mail-parameters = esmtp-param *(SP esmtp-param) - Rcpt-parameters = esmtp-param *(SP esmtp-param) - - - -Klensin Standards Track [Page 36] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - esmtp-param = esmtp-keyword ["=" esmtp-value] - esmtp-keyword = (ALPHA / DIGIT) *(ALPHA / DIGIT / "-") - esmtp-value = 1*(%d33-60 / %d62-127) - ; any CHAR excluding "=", SP, and control characters - Keyword = Ldh-str - Argument = Atom - Domain = (sub-domain 1*("." sub-domain)) / address-literal - sub-domain = Let-dig [Ldh-str] - - address-literal = "[" IPv4-address-literal / - IPv6-address-literal / - General-address-literal "]" - ; See section 4.1.3 - - Mailbox = Local-part "@" Domain - - Local-part = Dot-string / Quoted-string - ; MAY be case-sensitive - - Dot-string = Atom *("." Atom) - - Atom = 1*atext - - Quoted-string = DQUOTE *qcontent DQUOTE - - String = Atom / Quoted-string - - While the above definition for Local-part is relatively permissive, - for maximum interoperability, a host that expects to receive mail - SHOULD avoid defining mailboxes where the Local-part requires (or - uses) the Quoted-string form or where the Local-part is case- - sensitive. For any purposes that require generating or comparing - Local-parts (e.g., to specific mailbox names), all quoted forms MUST - be treated as equivalent and the sending system SHOULD transmit the - form that uses the minimum quoting possible. - - Systems MUST NOT define mailboxes in such a way as to require the use - in SMTP of non-ASCII characters (octets with the high order bit set - to one) or ASCII "control characters" (decimal value 0-31 and 127). - These characters MUST NOT be used in MAIL or RCPT commands or other - commands that require mailbox names. - - Note that the backslash, "\", is a quote character, which is used to - indicate that the next character is to be used literally (instead of - its normal interpretation). For example, "Joe\,Smith" indicates a - single nine character user field with the comma being the fourth - character of the field. - - - - -Klensin Standards Track [Page 37] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - To promote interoperability and consistent with long-standing - guidance about conservative use of the DNS in naming and applications - (e.g., see section 2.3.1 of the base DNS document, RFC1035 [22]), - characters outside the set of alphas, digits, and hyphen MUST NOT - appear in domain name labels for SMTP clients or servers. In - particular, the underscore character is not permitted. SMTP servers - that receive a command in which invalid character codes have been - employed, and for which there are no other reasons for rejection, - MUST reject that command with a 501 response. - -4.1.3 Address Literals - - Sometimes a host is not known to the domain name system and - communication (and, in particular, communication to report and repair - the error) is blocked. To bypass this barrier a special literal form - of the address is allowed as an alternative to a domain name. For - IPv4 addresses, this form uses four small decimal integers separated - by dots and enclosed by brackets such as [123.255.37.2], which - indicates an (IPv4) Internet Address in sequence-of-octets form. For - IPv6 and other forms of addressing that might eventually be - standardized, the form consists of a standardized "tag" that - identifies the address syntax, a colon, and the address itself, in a - format specified as part of the IPv6 standards [17]. - - Specifically: - - IPv4-address-literal = Snum 3("." Snum) - IPv6-address-literal = "IPv6:" IPv6-addr - General-address-literal = Standardized-tag ":" 1*dcontent - Standardized-tag = Ldh-str - ; MUST be specified in a standards-track RFC - ; and registered with IANA - - Snum = 1*3DIGIT ; representing a decimal integer - ; value in the range 0 through 255 - Let-dig = ALPHA / DIGIT - Ldh-str = *( ALPHA / DIGIT / "-" ) Let-dig - - IPv6-addr = IPv6-full / IPv6-comp / IPv6v4-full / IPv6v4-comp - IPv6-hex = 1*4HEXDIG - IPv6-full = IPv6-hex 7(":" IPv6-hex) - IPv6-comp = [IPv6-hex *5(":" IPv6-hex)] "::" [IPv6-hex *5(":" - IPv6-hex)] - ; The "::" represents at least 2 16-bit groups of zeros - ; No more than 6 groups in addition to the "::" may be - ; present - IPv6v4-full = IPv6-hex 5(":" IPv6-hex) ":" IPv4-address-literal - IPv6v4-comp = [IPv6-hex *3(":" IPv6-hex)] "::" - - - -Klensin Standards Track [Page 38] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - [IPv6-hex *3(":" IPv6-hex) ":"] IPv4-address-literal - ; The "::" represents at least 2 16-bit groups of zeros - ; No more than 4 groups in addition to the "::" and - ; IPv4-address-literal may be present - -4.1.4 Order of Commands - - There are restrictions on the order in which these commands may be - used. - - A session that will contain mail transactions MUST first be - initialized by the use of the EHLO command. An SMTP server SHOULD - accept commands for non-mail transactions (e.g., VRFY or EXPN) - without this initialization. - - An EHLO command MAY be issued by a client later in the session. If - it is issued after the session begins, the SMTP server MUST clear all - buffers and reset the state exactly as if a RSET command had been - issued. In other words, the sequence of RSET followed immediately by - EHLO is redundant, but not harmful other than in the performance cost - of executing unnecessary commands. - - If the EHLO command is not acceptable to the SMTP server, 501, 500, - or 502 failure replies MUST be returned as appropriate. The SMTP - server MUST stay in the same state after transmitting these replies - that it was in before the EHLO was received. - - The SMTP client MUST, if possible, ensure that the domain parameter - to the EHLO command is a valid principal host name (not a CNAME or MX - name) for its host. If this is not possible (e.g., when the client's - address is dynamically assigned and the client does not have an - obvious name), an address literal SHOULD be substituted for the - domain name and supplemental information provided that will assist in - identifying the client. - - An SMTP server MAY verify that the domain name parameter in the EHLO - command actually corresponds to the IP address of the client. - However, the server MUST NOT refuse to accept a message for this - reason if the verification fails: the information about verification - failure is for logging and tracing only. - - The NOOP, HELP, EXPN, VRFY, and RSET commands can be used at any time - during a session, or without previously initializing a session. SMTP - servers SHOULD process these normally (that is, not return a 503 - code) even if no EHLO command has yet been received; clients SHOULD - open a session with EHLO before sending these commands. - - - - - -Klensin Standards Track [Page 39] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - If these rules are followed, the example in RFC 821 that shows "550 - access denied to you" in response to an EXPN command is incorrect - unless an EHLO command precedes the EXPN or the denial of access is - based on the client's IP address or other authentication or - authorization-determining mechanisms. - - The MAIL command (or the obsolete SEND, SOML, or SAML commands) - begins a mail transaction. Once started, a mail transaction consists - of a transaction beginning command, one or more RCPT commands, and a - DATA command, in that order. A mail transaction may be aborted by - the RSET (or a new EHLO) command. There may be zero or more - transactions in a session. MAIL (or SEND, SOML, or SAML) MUST NOT be - sent if a mail transaction is already open, i.e., it should be sent - only if no mail transaction had been started in the session, or it - the previous one successfully concluded with a successful DATA - command, or if the previous one was aborted with a RSET. - - If the transaction beginning command argument is not acceptable, a - 501 failure reply MUST be returned and the SMTP server MUST stay in - the same state. If the commands in a transaction are out of order to - the degree that they cannot be processed by the server, a 503 failure - reply MUST be returned and the SMTP server MUST stay in the same - state. - - The last command in a session MUST be the QUIT command. The QUIT - command cannot be used at any other time in a session, but SHOULD be - used by the client SMTP to request connection closure, even when no - session opening command was sent and accepted. - -4.1.5 Private-use Commands - - As specified in section 2.2.2, commands starting in "X" may be used - by bilateral agreement between the client (sending) and server - (receiving) SMTP agents. An SMTP server that does not recognize such - a command is expected to reply with "500 Command not recognized". An - extended SMTP server MAY list the feature names associated with these - private commands in the response to the EHLO command. - - Commands sent or accepted by SMTP systems that do not start with "X" - MUST conform to the requirements of section 2.2.2. - -4.2 SMTP Replies - - Replies to SMTP commands serve to ensure the synchronization of - requests and actions in the process of mail transfer and to guarantee - that the SMTP client always knows the state of the SMTP server. - Every command MUST generate exactly one reply. - - - - -Klensin Standards Track [Page 40] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - The details of the command-reply sequence are described in section - 4.3. - - An SMTP reply consists of a three digit number (transmitted as three - numeric characters) followed by some text unless specified otherwise - in this document. The number is for use by automata to determine - what state to enter next; the text is for the human user. The three - digits contain enough encoded information that the SMTP client need - not examine the text and may either discard it or pass it on to the - user, as appropriate. Exceptions are as noted elsewhere in this - document. In particular, the 220, 221, 251, 421, and 551 reply codes - are associated with message text that must be parsed and interpreted - by machines. In the general case, the text may be receiver dependent - and context dependent, so there are likely to be varying texts for - each reply code. A discussion of the theory of reply codes is given - in section 4.2.1. Formally, a reply is defined to be the sequence: a - three-digit code, , one line of text, and , or a multiline - reply (as defined in section 4.2.1). Since, in violation of this - specification, the text is sometimes not sent, clients which do not - receive it SHOULD be prepared to process the code alone (with or - without a trailing space character). Only the EHLO, EXPN, and HELP - commands are expected to result in multiline replies in normal - circumstances, however, multiline replies are allowed for any - command. - - In ABNF, server responses are: - - Greeting = "220 " Domain [ SP text ] CRLF - Reply-line = Reply-code [ SP text ] CRLF - - where "Greeting" appears only in the 220 response that announces that - the server is opening its part of the connection. - - An SMTP server SHOULD send only the reply codes listed in this - document. An SMTP server SHOULD use the text shown in the examples - whenever appropriate. - - An SMTP client MUST determine its actions only by the reply code, not - by the text (except for the "change of address" 251 and 551 and, if - necessary, 220, 221, and 421 replies); in the general case, any text, - including no text at all (although senders SHOULD NOT send bare - codes), MUST be acceptable. The space (blank) following the reply - code is considered part of the text. Whenever possible, a receiver- - SMTP SHOULD test the first digit (severity indication) of the reply - code. - - - - - - -Klensin Standards Track [Page 41] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - The list of codes that appears below MUST NOT be construed as - permanent. While the addition of new codes should be a rare and - significant activity, with supplemental information in the textual - part of the response being preferred, new codes may be added as the - result of new Standards or Standards-track specifications. - Consequently, a sender-SMTP MUST be prepared to handle codes not - specified in this document and MUST do so by interpreting the first - digit only. - -4.2.1 Reply Code Severities and Theory - - The three digits of the reply each have a special significance. The - first digit denotes whether the response is good, bad or incomplete. - An unsophisticated SMTP client, or one that receives an unexpected - code, will be able to determine its next action (proceed as planned, - redo, retrench, etc.) by examining this first digit. An SMTP client - that wants to know approximately what kind of error occurred (e.g., - mail system error, command syntax error) may examine the second - digit. The third digit and any supplemental information that may be - present is reserved for the finest gradation of information. - - There are five values for the first digit of the reply code: - - 1yz Positive Preliminary reply - The command has been accepted, but the requested action is being - held in abeyance, pending confirmation of the information in this - reply. The SMTP client should send another command specifying - whether to continue or abort the action. Note: unextended SMTP - does not have any commands that allow this type of reply, and so - does not have continue or abort commands. - - 2yz Positive Completion reply - The requested action has been successfully completed. A new - request may be initiated. - - 3yz Positive Intermediate reply - The command has been accepted, but the requested action is being - held in abeyance, pending receipt of further information. The - SMTP client should send another command specifying this - information. This reply is used in command sequence groups (i.e., - in DATA). - - 4yz Transient Negative Completion reply - The command was not accepted, and the requested action did not - occur. However, the error condition is temporary and the action - may be requested again. The sender should return to the beginning - of the command sequence (if any). It is difficult to assign a - meaning to "transient" when two different sites (receiver- and - - - -Klensin Standards Track [Page 42] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - sender-SMTP agents) must agree on the interpretation. Each reply - in this category might have a different time value, but the SMTP - client is encouraged to try again. A rule of thumb to determine - whether a reply fits into the 4yz or the 5yz category (see below) - is that replies are 4yz if they can be successful if repeated - without any change in command form or in properties of the sender - or receiver (that is, the command is repeated identically and the - receiver does not put up a new implementation.) - - 5yz Permanent Negative Completion reply - The command was not accepted and the requested action did not - occur. The SMTP client is discouraged from repeating the exact - request (in the same sequence). Even some "permanent" error - conditions can be corrected, so the human user may want to direct - the SMTP client to reinitiate the command sequence by direct - action at some point in the future (e.g., after the spelling has - been changed, or the user has altered the account status). - - The second digit encodes responses in specific categories: - - x0z Syntax: These replies refer to syntax errors, syntactically - correct commands that do not fit any functional category, and - unimplemented or superfluous commands. - - x1z Information: These are replies to requests for information, - such as status or help. - - x2z Connections: These are replies referring to the transmission - channel. - - x3z Unspecified. - - x4z Unspecified. - - x5z Mail system: These replies indicate the status of the receiver - mail system vis-a-vis the requested transfer or other mail system - action. - - The third digit gives a finer gradation of meaning in each category - specified by the second digit. The list of replies illustrates this. - Each reply text is recommended rather than mandatory, and may even - change according to the command with which it is associated. On the - other hand, the reply codes must strictly follow the specifications - in this section. Receiver implementations should not invent new - codes for slightly different situations from the ones described here, - but rather adapt codes already defined. - - - - - -Klensin Standards Track [Page 43] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - For example, a command such as NOOP, whose successful execution does - not offer the SMTP client any new information, will return a 250 - reply. The reply is 502 when the command requests an unimplemented - non-site-specific action. A refinement of that is the 504 reply for - a command that is implemented, but that requests an unimplemented - parameter. - - The reply text may be longer than a single line; in these cases the - complete text must be marked so the SMTP client knows when it can - stop reading the reply. This requires a special format to indicate a - multiple line reply. - - The format for multiline replies requires that every line, except the - last, begin with the reply code, followed immediately by a hyphen, - "-" (also known as minus), followed by text. The last line will - begin with the reply code, followed immediately by , optionally - some text, and . As noted above, servers SHOULD send the - if subsequent text is not sent, but clients MUST be prepared for it - to be omitted. - - For example: - - 123-First line - 123-Second line - 123-234 text beginning with numbers - 123 The last line - - In many cases the SMTP client then simply needs to search for a line - beginning with the reply code followed by or and ignore - all preceding lines. In a few cases, there is important data for the - client in the reply "text". The client will be able to identify - these cases from the current context. - -4.2.2 Reply Codes by Function Groups - - 500 Syntax error, command unrecognized - (This may include errors such as command line too long) - 501 Syntax error in parameters or arguments - 502 Command not implemented (see section 4.2.4) - 503 Bad sequence of commands - 504 Command parameter not implemented - - 211 System status, or system help reply - 214 Help message - (Information on how to use the receiver or the meaning of a - particular non-standard command; this reply is useful only - to the human user) - - - - -Klensin Standards Track [Page 44] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - 220 Service ready - 221 Service closing transmission channel - 421 Service not available, closing transmission channel - (This may be a reply to any command if the service knows it - must shut down) - - 250 Requested mail action okay, completed - 251 User not local; will forward to - (See section 3.4) - 252 Cannot VRFY user, but will accept message and attempt - delivery - (See section 3.5.3) - 450 Requested mail action not taken: mailbox unavailable - (e.g., mailbox busy) - 550 Requested action not taken: mailbox unavailable - (e.g., mailbox not found, no access, or command rejected - for policy reasons) - 451 Requested action aborted: error in processing - 551 User not local; please try - (See section 3.4) - 452 Requested action not taken: insufficient system storage - 552 Requested mail action aborted: exceeded storage allocation - 553 Requested action not taken: mailbox name not allowed - (e.g., mailbox syntax incorrect) - 354 Start mail input; end with . - 554 Transaction failed (Or, in the case of a connection-opening - response, "No SMTP service here") - -4.2.3 Reply Codes in Numeric Order - - 211 System status, or system help reply - 214 Help message - (Information on how to use the receiver or the meaning of a - particular non-standard command; this reply is useful only - to the human user) - 220 Service ready - 221 Service closing transmission channel - 250 Requested mail action okay, completed - 251 User not local; will forward to - (See section 3.4) - 252 Cannot VRFY user, but will accept message and attempt - delivery - (See section 3.5.3) - - 354 Start mail input; end with . - - - - - - -Klensin Standards Track [Page 45] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - 421 Service not available, closing transmission channel - (This may be a reply to any command if the service knows it - must shut down) - 450 Requested mail action not taken: mailbox unavailable - (e.g., mailbox busy) - 451 Requested action aborted: local error in processing - 452 Requested action not taken: insufficient system storage - 500 Syntax error, command unrecognized - (This may include errors such as command line too long) - 501 Syntax error in parameters or arguments - 502 Command not implemented (see section 4.2.4) - 503 Bad sequence of commands - 504 Command parameter not implemented - 550 Requested action not taken: mailbox unavailable - (e.g., mailbox not found, no access, or command rejected - for policy reasons) - 551 User not local; please try - (See section 3.4) - 552 Requested mail action aborted: exceeded storage allocation - 553 Requested action not taken: mailbox name not allowed - (e.g., mailbox syntax incorrect) - 554 Transaction failed (Or, in the case of a connection-opening - response, "No SMTP service here") - -4.2.4 Reply Code 502 - - Questions have been raised as to when reply code 502 (Command not - implemented) SHOULD be returned in preference to other codes. 502 - SHOULD be used when the command is actually recognized by the SMTP - server, but not implemented. If the command is not recognized, code - 500 SHOULD be returned. Extended SMTP systems MUST NOT list - capabilities in response to EHLO for which they will return 502 (or - 500) replies. - -4.2.5 Reply Codes After DATA and the Subsequent . - - When an SMTP server returns a positive completion status (2yz code) - after the DATA command is completed with ., it accepts - responsibility for: - - - delivering the message (if the recipient mailbox exists), or - - - if attempts to deliver the message fail due to transient - conditions, retrying delivery some reasonable number of times at - intervals as specified in section 4.5.4. - - - - - - -Klensin Standards Track [Page 46] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - - if attempts to deliver the message fail due to permanent - conditions, or if repeated attempts to deliver the message fail - due to transient conditions, returning appropriate notification to - the sender of the original message (using the address in the SMTP - MAIL command). - - When an SMTP server returns a permanent error status (5yz) code after - the DATA command is completed with ., it MUST NOT make - any subsequent attempt to deliver that message. The SMTP client - retains responsibility for delivery of that message and may either - return it to the user or requeue it for a subsequent attempt (see - section 4.5.4.1). - - The user who originated the message SHOULD be able to interpret the - return of a transient failure status (by mail message or otherwise) - as a non-delivery indication, just as a permanent failure would be - interpreted. I.e., if the client SMTP successfully handles these - conditions, the user will not receive such a reply. - - When an SMTP server returns a permanent error status (5yz) code after - the DATA command is completely with ., it MUST NOT make - any subsequent attempt to deliver the message. As with temporary - error status codes, the SMTP client retains responsibility for the - message, but SHOULD not again attempt delivery to the same server - without user review and intervention of the message. - -4.3 Sequencing of Commands and Replies - -4.3.1 Sequencing Overview - - The communication between the sender and receiver is an alternating - dialogue, controlled by the sender. As such, the sender issues a - command and the receiver responds with a reply. Unless other - arrangements are negotiated through service extensions, the sender - MUST wait for this response before sending further commands. - - One important reply is the connection greeting. Normally, a receiver - will send a 220 "Service ready" reply when the connection is - completed. The sender SHOULD wait for this greeting message before - sending any commands. - - Note: all the greeting-type replies have the official name (the - fully-qualified primary domain name) of the server host as the first - word following the reply code. Sometimes the host will have no - meaningful name. See 4.1.3 for a discussion of alternatives in these - situations. - - - - - -Klensin Standards Track [Page 47] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - For example, - - 220 ISIF.USC.EDU Service ready - or - 220 mail.foo.com SuperSMTP v 6.1.2 Service ready - or - 220 [10.0.0.1] Clueless host service ready - - The table below lists alternative success and failure replies for - each command. These SHOULD be strictly adhered to: a receiver may - substitute text in the replies, but the meaning and action implied by - the code numbers and by the specific command reply sequence cannot be - altered. - -4.3.2 Command-Reply Sequences - - Each command is listed with its usual possible replies. The prefixes - used before the possible replies are "I" for intermediate, "S" for - success, and "E" for error. Since some servers may generate other - replies under special circumstances, and to allow for future - extension, SMTP clients SHOULD, when possible, interpret only the - first digit of the reply and MUST be prepared to deal with - unrecognized reply codes by interpreting the first digit only. - Unless extended using the mechanisms described in section 2.2, SMTP - servers MUST NOT transmit reply codes to an SMTP client that are - other than three digits or that do not start in a digit between 2 and - 5 inclusive. - - These sequencing rules and, in principle, the codes themselves, can - be extended or modified by SMTP extensions offered by the server and - accepted (requested) by the client. - - In addition to the codes listed below, any SMTP command can return - any of the following codes if the corresponding unusual circumstances - are encountered: - - 500 For the "command line too long" case or if the command name was - not recognized. Note that producing a "command not recognized" - error in response to the required subset of these commands is a - violation of this specification. - - 501 Syntax error in command or arguments. In order to provide for - future extensions, commands that are specified in this document as - not accepting arguments (DATA, RSET, QUIT) SHOULD return a 501 - message if arguments are supplied in the absence of EHLO- - advertised extensions. - - 421 Service shutting down and closing transmission channel - - - -Klensin Standards Track [Page 48] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - Specific sequences are: - - CONNECTION ESTABLISHMENT - S: 220 - E: 554 - EHLO or HELO - S: 250 - E: 504, 550 - MAIL - S: 250 - E: 552, 451, 452, 550, 553, 503 - RCPT - S: 250, 251 (but see section 3.4 for discussion of 251 and 551) - E: 550, 551, 552, 553, 450, 451, 452, 503, 550 - DATA - I: 354 -> data -> S: 250 - E: 552, 554, 451, 452 - E: 451, 554, 503 - RSET - S: 250 - VRFY - S: 250, 251, 252 - E: 550, 551, 553, 502, 504 - EXPN - S: 250, 252 - E: 550, 500, 502, 504 - HELP - S: 211, 214 - E: 502, 504 - NOOP - S: 250 - QUIT - S: 221 - -4.4 Trace Information - - When an SMTP server receives a message for delivery or further - processing, it MUST insert trace ("time stamp" or "Received") - information at the beginning of the message content, as discussed in - section 4.1.1.4. - - This line MUST be structured as follows: - - - The FROM field, which MUST be supplied in an SMTP environment, - SHOULD contain both (1) the name of the source host as presented - in the EHLO command and (2) an address literal containing the IP - address of the source, determined from the TCP connection. - - - - -Klensin Standards Track [Page 49] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - - The ID field MAY contain an "@" as suggested in RFC 822, but this - is not required. - - - The FOR field MAY contain a list of entries when multiple - RCPT commands have been given. This may raise some security - issues and is usually not desirable; see section 7.2. - - An Internet mail program MUST NOT change a Received: line that was - previously added to the message header. SMTP servers MUST prepend - Received lines to messages; they MUST NOT change the order of - existing lines or insert Received lines in any other location. - - As the Internet grows, comparability of Received fields is important - for detecting problems, especially slow relays. SMTP servers that - create Received fields SHOULD use explicit offsets in the dates - (e.g., -0800), rather than time zone names of any type. Local time - (with an offset) is preferred to UT when feasible. This formulation - allows slightly more information about local circumstances to be - specified. If UT is needed, the receiver need merely do some simple - arithmetic to convert the values. Use of UT loses information about - the time zone-location of the server. If it is desired to supply a - time zone name, it SHOULD be included in a comment. - - When the delivery SMTP server makes the "final delivery" of a - message, it inserts a return-path line at the beginning of the mail - data. This use of return-path is required; mail systems MUST support - it. The return-path line preserves the information in the from the MAIL command. Here, final delivery means the message - has left the SMTP environment. Normally, this would mean it had been - delivered to the destination user or an associated mail drop, but in - some cases it may be further processed and transmitted by another - mail system. - - It is possible for the mailbox in the return path to be different - from the actual sender's mailbox, for example, if error responses are - to be delivered to a special error handling mailbox rather than to - the message sender. When mailing lists are involved, this - arrangement is common and useful as a means of directing errors to - the list maintainer rather than the message originator. - - The text above implies that the final mail data will begin with a - return path line, followed by one or more time stamp lines. These - lines will be followed by the mail data headers and body [32]. - - It is sometimes difficult for an SMTP server to determine whether or - not it is making final delivery since forwarding or other operations - may occur after the message is accepted for delivery. Consequently, - - - - -Klensin Standards Track [Page 50] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - any further (forwarding, gateway, or relay) systems MAY remove the - return path and rebuild the MAIL command as needed to ensure that - exactly one such line appears in a delivered message. - - A message-originating SMTP system SHOULD NOT send a message that - already contains a Return-path header. SMTP servers performing a - relay function MUST NOT inspect the message data, and especially not - to the extent needed to determine if Return-path headers are present. - SMTP servers making final delivery MAY remove Return-path headers - before adding their own. - - The primary purpose of the Return-path is to designate the address to - which messages indicating non-delivery or other mail system failures - are to be sent. For this to be unambiguous, exactly one return path - SHOULD be present when the message is delivered. Systems using RFC - 822 syntax with non-SMTP transports SHOULD designate an unambiguous - address, associated with the transport envelope, to which error - reports (e.g., non-delivery messages) should be sent. - - Historical note: Text in RFC 822 that appears to contradict the use - of the Return-path header (or the envelope reverse path address from - the MAIL command) as the destination for error messages is not - applicable on the Internet. The reverse path address (as copied into - the Return-path) MUST be used as the target of any mail containing - delivery error messages. - - In particular: - - - a gateway from SMTP->elsewhere SHOULD insert a return-path header, - unless it is known that the "elsewhere" transport also uses - Internet domain addresses and maintains the envelope sender - address separately. - - - a gateway from elsewhere->SMTP SHOULD delete any return-path - header present in the message, and either copy that information to - the SMTP envelope or combine it with information present in the - envelope of the other transport system to construct the reverse - path argument to the MAIL command in the SMTP envelope. - - The server must give special treatment to cases in which the - processing following the end of mail data indication is only - partially successful. This could happen if, after accepting several - recipients and the mail data, the SMTP server finds that the mail - data could be successfully delivered to some, but not all, of the - recipients. In such cases, the response to the DATA command MUST be - an OK reply. However, the SMTP server MUST compose and send an - "undeliverable mail" notification message to the originator of the - message. - - - -Klensin Standards Track [Page 51] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - A single notification listing all of the failed recipients or - separate notification messages MUST be sent for each failed - recipient. For economy of processing by the sender, the former is - preferred when possible. All undeliverable mail notification - messages are sent using the MAIL command (even if they result from - processing the obsolete SEND, SOML, or SAML commands) and use a null - return path as discussed in section 3.7. - - The time stamp line and the return path line are formally defined as - follows: - -Return-path-line = "Return-Path:" FWS Reverse-path - -Time-stamp-line = "Received:" FWS Stamp - -Stamp = From-domain By-domain Opt-info ";" FWS date-time - - ; where "date-time" is as defined in [32] - ; but the "obs-" forms, especially two-digit - ; years, are prohibited in SMTP and MUST NOT be used. - -From-domain = "FROM" FWS Extended-Domain CFWS - -By-domain = "BY" FWS Extended-Domain CFWS - -Extended-Domain = Domain / - ( Domain FWS "(" TCP-info ")" ) / - ( Address-literal FWS "(" TCP-info ")" ) - -TCP-info = Address-literal / ( Domain FWS Address-literal ) - ; Information derived by server from TCP connection - ; not client EHLO. - -Opt-info = [Via] [With] [ID] [For] - -Via = "VIA" FWS Link CFWS - -With = "WITH" FWS Protocol CFWS - -ID = "ID" FWS String / msg-id CFWS - -For = "FOR" FWS 1*( Path / Mailbox ) CFWS - -Link = "TCP" / Addtl-Link -Addtl-Link = Atom - ; Additional standard names for links are registered with the - ; Internet Assigned Numbers Authority (IANA). "Via" is - ; primarily of value with non-Internet transports. SMTP - - - -Klensin Standards Track [Page 52] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - ; servers SHOULD NOT use unregistered names. -Protocol = "ESMTP" / "SMTP" / Attdl-Protocol -Attdl-Protocol = Atom - ; Additional standard names for protocols are registered with the - ; Internet Assigned Numbers Authority (IANA). SMTP servers - ; SHOULD NOT use unregistered names. - -4.5 Additional Implementation Issues - -4.5.1 Minimum Implementation - - In order to make SMTP workable, the following minimum implementation - is required for all receivers. The following commands MUST be - supported to conform to this specification: - - EHLO - HELO - MAIL - RCPT - DATA - RSET - NOOP - QUIT - VRFY - - Any system that includes an SMTP server supporting mail relaying or - delivery MUST support the reserved mailbox "postmaster" as a case- - insensitive local name. This postmaster address is not strictly - necessary if the server always returns 554 on connection opening (as - described in section 3.1). The requirement to accept mail for - postmaster implies that RCPT commands which specify a mailbox for - postmaster at any of the domains for which the SMTP server provides - mail service, as well as the special case of "RCPT TO:" - (with no domain specification), MUST be supported. - - SMTP systems are expected to make every reasonable effort to accept - mail directed to Postmaster from any other system on the Internet. - In extreme cases --such as to contain a denial of service attack or - other breach of security-- an SMTP server may block mail directed to - Postmaster. However, such arrangements SHOULD be narrowly tailored - so as to avoid blocking messages which are not part of such attacks. - -4.5.2 Transparency - - Without some provision for data transparency, the character sequence - "." ends the mail text and cannot be sent by the user. - In general, users are not aware of such "forbidden" sequences. To - - - - -Klensin Standards Track [Page 53] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - allow all user composed text to be transmitted transparently, the - following procedures are used: - - - Before sending a line of mail text, the SMTP client checks the - first character of the line. If it is a period, one additional - period is inserted at the beginning of the line. - - - When a line of mail text is received by the SMTP server, it checks - the line. If the line is composed of a single period, it is - treated as the end of mail indicator. If the first character is a - period and there are other characters on the line, the first - character is deleted. - - The mail data may contain any of the 128 ASCII characters. All - characters are to be delivered to the recipient's mailbox, including - spaces, vertical and horizontal tabs, and other control characters. - If the transmission channel provides an 8-bit byte (octet) data - stream, the 7-bit ASCII codes are transmitted right justified in the - octets, with the high order bits cleared to zero. See 3.7 for - special treatment of these conditions in SMTP systems serving a relay - function. - - In some systems it may be necessary to transform the data as it is - received and stored. This may be necessary for hosts that use a - different character set than ASCII as their local character set, that - store data in records rather than strings, or which use special - character sequences as delimiters inside mailboxes. If such - transformations are necessary, they MUST be reversible, especially if - they are applied to mail being relayed. - -4.5.3 Sizes and Timeouts - -4.5.3.1 Size limits and minimums - - There are several objects that have required minimum/maximum sizes. - Every implementation MUST be able to receive objects of at least - these sizes. Objects larger than these sizes SHOULD be avoided when - possible. However, some Internet mail constructs such as encoded - X.400 addresses [16] will often require larger objects: clients MAY - attempt to transmit these, but MUST be prepared for a server to - reject them if they cannot be handled by it. To the maximum extent - possible, implementation techniques which impose no limits on the - length of these objects should be used. - - local-part - The maximum total length of a user name or other local-part is 64 - characters. - - - - -Klensin Standards Track [Page 54] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - domain - The maximum total length of a domain name or number is 255 - characters. - - path - The maximum total length of a reverse-path or forward-path is 256 - characters (including the punctuation and element separators). - - command line - The maximum total length of a command line including the command - word and the is 512 characters. SMTP extensions may be - used to increase this limit. - - reply line - The maximum total length of a reply line including the reply code - and the is 512 characters. More information may be - conveyed through multiple-line replies. - - text line - The maximum total length of a text line including the is - 1000 characters (not counting the leading dot duplicated for - transparency). This number may be increased by the use of SMTP - Service Extensions. - - message content - The maximum total length of a message content (including any - message headers as well as the message body) MUST BE at least 64K - octets. Since the introduction of Internet standards for - multimedia mail [12], message lengths on the Internet have grown - dramatically, and message size restrictions should be avoided if - at all possible. SMTP server systems that must impose - restrictions SHOULD implement the "SIZE" service extension [18], - and SMTP client systems that will send large messages SHOULD - utilize it when possible. - - recipients buffer - The minimum total number of recipients that must be buffered is - 100 recipients. Rejection of messages (for excessive recipients) - with fewer than 100 RCPT commands is a violation of this - specification. The general principle that relaying SMTP servers - MUST NOT, and delivery SMTP servers SHOULD NOT, perform validation - tests on message headers suggests that rejecting a message based - on the total number of recipients shown in header fields is to be - discouraged. A server which imposes a limit on the number of - recipients MUST behave in an orderly fashion, such as to reject - additional addresses over its limit rather than silently - discarding addresses previously accepted. A client that needs to - - - - -Klensin Standards Track [Page 55] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - deliver a message containing over 100 RCPT commands SHOULD be - prepared to transmit in 100-recipient "chunks" if the server - declines to accept more than 100 recipients in a single message. - - Errors due to exceeding these limits may be reported by using the - reply codes. Some examples of reply codes are: - - 500 Line too long. - or - 501 Path too long - or - 452 Too many recipients (see below) - or - 552 Too much mail data. - - RFC 821 [30] incorrectly listed the error where an SMTP server - exhausts its implementation limit on the number of RCPT commands - ("too many recipients") as having reply code 552. The correct reply - code for this condition is 452. Clients SHOULD treat a 552 code in - this case as a temporary, rather than permanent, failure so the logic - below works. - - When a conforming SMTP server encounters this condition, it has at - least 100 successful RCPT commands in its recipients buffer. If the - server is able to accept the message, then at least these 100 - addresses will be removed from the SMTP client's queue. When the - client attempts retransmission of those addresses which received 452 - responses, at least 100 of these will be able to fit in the SMTP - server's recipients buffer. Each retransmission attempt which is - able to deliver anything will be able to dispose of at least 100 of - these recipients. - - If an SMTP server has an implementation limit on the number of RCPT - commands and this limit is exhausted, it MUST use a response code of - 452 (but the client SHOULD also be prepared for a 552, as noted - above). If the server has a configured site-policy limitation on the - number of RCPT commands, it MAY instead use a 5XX response code. - This would be most appropriate if the policy limitation was intended - to apply if the total recipient count for a particular message body - were enforced even if that message body was sent in multiple mail - transactions. - -4.5.3.2 Timeouts - - An SMTP client MUST provide a timeout mechanism. It MUST use per- - command timeouts rather than somehow trying to time the entire mail - transaction. Timeouts SHOULD be easily reconfigurable, preferably - without recompiling the SMTP code. To implement this, a timer is set - - - -Klensin Standards Track [Page 56] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - for each SMTP command and for each buffer of the data transfer. The - latter means that the overall timeout is inherently proportional to - the size of the message. - - Based on extensive experience with busy mail-relay hosts, the minimum - per-command timeout values SHOULD be as follows: - - Initial 220 Message: 5 minutes - An SMTP client process needs to distinguish between a failed TCP - connection and a delay in receiving the initial 220 greeting - message. Many SMTP servers accept a TCP connection but delay - delivery of the 220 message until their system load permits more - mail to be processed. - - MAIL Command: 5 minutes - - RCPT Command: 5 minutes - A longer timeout is required if processing of mailing lists and - aliases is not deferred until after the message was accepted. - - DATA Initiation: 2 minutes - This is while awaiting the "354 Start Input" reply to a DATA - command. - - Data Block: 3 minutes - This is while awaiting the completion of each TCP SEND call - transmitting a chunk of data. - - DATA Termination: 10 minutes. - This is while awaiting the "250 OK" reply. When the receiver gets - the final period terminating the message data, it typically - performs processing to deliver the message to a user mailbox. A - spurious timeout at this point would be very wasteful and would - typically result in delivery of multiple copies of the message, - since it has been successfully sent and the server has accepted - responsibility for delivery. See section 6.1 for additional - discussion. - - An SMTP server SHOULD have a timeout of at least 5 minutes while it - is awaiting the next command from the sender. - -4.5.4 Retry Strategies - - The common structure of a host SMTP implementation includes user - mailboxes, one or more areas for queuing messages in transit, and one - or more daemon processes for sending and receiving mail. The exact - structure will vary depending on the needs of the users on the host - - - - -Klensin Standards Track [Page 57] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - and the number and size of mailing lists supported by the host. We - describe several optimizations that have proved helpful, particularly - for mailers supporting high traffic levels. - - Any queuing strategy MUST include timeouts on all activities on a - per-command basis. A queuing strategy MUST NOT send error messages - in response to error messages under any circumstances. - -4.5.4.1 Sending Strategy - - The general model for an SMTP client is one or more processes that - periodically attempt to transmit outgoing mail. In a typical system, - the program that composes a message has some method for requesting - immediate attention for a new piece of outgoing mail, while mail that - cannot be transmitted immediately MUST be queued and periodically - retried by the sender. A mail queue entry will include not only the - message itself but also the envelope information. - - The sender MUST delay retrying a particular destination after one - attempt has failed. In general, the retry interval SHOULD be at - least 30 minutes; however, more sophisticated and variable strategies - will be beneficial when the SMTP client can determine the reason for - non-delivery. - - Retries continue until the message is transmitted or the sender gives - up; the give-up time generally needs to be at least 4-5 days. The - parameters to the retry algorithm MUST be configurable. - - A client SHOULD keep a list of hosts it cannot reach and - corresponding connection timeouts, rather than just retrying queued - mail items. - - Experience suggests that failures are typically transient (the target - system or its connection has crashed), favoring a policy of two - connection attempts in the first hour the message is in the queue, - and then backing off to one every two or three hours. - - The SMTP client can shorten the queuing delay in cooperation with the - SMTP server. For example, if mail is received from a particular - address, it is likely that mail queued for that host can now be sent. - Application of this principle may, in many cases, eliminate the - requirement for an explicit "send queues now" function such as ETRN - [9]. - - The strategy may be further modified as a result of multiple - addresses per host (see below) to optimize delivery time vs. resource - usage. - - - - -Klensin Standards Track [Page 58] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - An SMTP client may have a large queue of messages for each - unavailable destination host. If all of these messages were retried - in every retry cycle, there would be excessive Internet overhead and - the sending system would be blocked for a long period. Note that an - SMTP client can generally determine that a delivery attempt has - failed only after a timeout of several minutes and even a one-minute - timeout per connection will result in a very large delay if retries - are repeated for dozens, or even hundreds, of queued messages to the - same host. - - At the same time, SMTP clients SHOULD use great care in caching - negative responses from servers. In an extreme case, if EHLO is - issued multiple times during the same SMTP connection, different - answers may be returned by the server. More significantly, 5yz - responses to the MAIL command MUST NOT be cached. - - When a mail message is to be delivered to multiple recipients, and - the SMTP server to which a copy of the message is to be sent is the - same for multiple recipients, then only one copy of the message - SHOULD be transmitted. That is, the SMTP client SHOULD use the - command sequence: MAIL, RCPT, RCPT,... RCPT, DATA instead of the - sequence: MAIL, RCPT, DATA, ..., MAIL, RCPT, DATA. However, if there - are very many addresses, a limit on the number of RCPT commands per - MAIL command MAY be imposed. Implementation of this efficiency - feature is strongly encouraged. - - Similarly, to achieve timely delivery, the SMTP client MAY support - multiple concurrent outgoing mail transactions. However, some limit - may be appropriate to protect the host from devoting all its - resources to mail. - -4.5.4.2 Receiving Strategy - - The SMTP server SHOULD attempt to keep a pending listen on the SMTP - port at all times. This requires the support of multiple incoming - TCP connections for SMTP. Some limit MAY be imposed but servers that - cannot handle more than one SMTP transaction at a time are not in - conformance with the intent of this specification. - - As discussed above, when the SMTP server receives mail from a - particular host address, it could activate its own SMTP queuing - mechanisms to retry any mail pending for that host address. - -4.5.5 Messages with a null reverse-path - - There are several types of notification messages which are required - by existing and proposed standards to be sent with a null reverse - path, namely non-delivery notifications as discussed in section 3.7, - - - -Klensin Standards Track [Page 59] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - other kinds of Delivery Status Notifications (DSNs) [24], and also - Message Disposition Notifications (MDNs) [10]. All of these kinds of - messages are notifications about a previous message, and they are - sent to the reverse-path of the previous mail message. (If the - delivery of such a notification message fails, that usually indicates - a problem with the mail system of the host to which the notification - message is addressed. For this reason, at some hosts the MTA is set - up to forward such failed notification messages to someone who is - able to fix problems with the mail system, e.g., via the postmaster - alias.) - - All other types of messages (i.e., any message which is not required - by a standards-track RFC to have a null reverse-path) SHOULD be sent - with with a valid, non-null reverse-path. - - Implementors of automated email processors should be careful to make - sure that the various kinds of messages with null reverse-path are - handled correctly, in particular such systems SHOULD NOT reply to - messages with null reverse-path. - -5. Address Resolution and Mail Handling - - Once an SMTP client lexically identifies a domain to which mail will - be delivered for processing (as described in sections 3.6 and 3.7), a - DNS lookup MUST be performed to resolve the domain name [22]. The - names are expected to be fully-qualified domain names (FQDNs): - mechanisms for inferring FQDNs from partial names or local aliases - are outside of this specification and, due to a history of problems, - are generally discouraged. The lookup first attempts to locate an MX - record associated with the name. If a CNAME record is found instead, - the resulting name is processed as if it were the initial name. If - no MX records are found, but an A RR is found, the A RR is treated as - if it was associated with an implicit MX RR, with a preference of 0, - pointing to that host. If one or more MX RRs are found for a given - name, SMTP systems MUST NOT utilize any A RRs associated with that - name unless they are located using the MX RRs; the "implicit MX" rule - above applies only if there are no MX records present. If MX records - are present, but none of them are usable, this situation MUST be - reported as an error. - - When the lookup succeeds, the mapping can result in a list of - alternative delivery addresses rather than a single address, because - of multiple MX records, multihoming, or both. To provide reliable - mail transmission, the SMTP client MUST be able to try (and retry) - each of the relevant addresses in this list in order, until a - delivery attempt succeeds. However, there MAY also be a configurable - limit on the number of alternate addresses that can be tried. In any - case, the SMTP client SHOULD try at least two addresses. - - - -Klensin Standards Track [Page 60] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - Two types of information is used to rank the host addresses: multiple - MX records, and multihomed hosts. - - Multiple MX records contain a preference indication that MUST be used - in sorting (see below). Lower numbers are more preferred than higher - ones. If there are multiple destinations with the same preference - and there is no clear reason to favor one (e.g., by recognition of an - easily-reached address), then the sender-SMTP MUST randomize them to - spread the load across multiple mail exchangers for a specific - organization. - - The destination host (perhaps taken from the preferred MX record) may - be multihomed, in which case the domain name resolver will return a - list of alternative IP addresses. It is the responsibility of the - domain name resolver interface to have ordered this list by - decreasing preference if necessary, and SMTP MUST try them in the - order presented. - - Although the capability to try multiple alternative addresses is - required, specific installations may want to limit or disable the use - of alternative addresses. The question of whether a sender should - attempt retries using the different addresses of a multihomed host - has been controversial. The main argument for using the multiple - addresses is that it maximizes the probability of timely delivery, - and indeed sometimes the probability of any delivery; the counter- - argument is that it may result in unnecessary resource use. Note - that resource use is also strongly determined by the sending strategy - discussed in section 4.5.4.1. - - If an SMTP server receives a message with a destination for which it - is a designated Mail eXchanger, it MAY relay the message (potentially - after having rewritten the MAIL FROM and/or RCPT TO addresses), make - final delivery of the message, or hand it off using some mechanism - outside the SMTP-provided transport environment. Of course, neither - of the latter require that the list of MX records be examined - further. - - If it determines that it should relay the message without rewriting - the address, it MUST sort the MX records to determine candidates for - delivery. The records are first ordered by preference, with the - lowest-numbered records being most preferred. The relay host MUST - then inspect the list for any of the names or addresses by which it - might be known in mail transactions. If a matching record is found, - all records at that preference level and higher-numbered ones MUST be - discarded from consideration. If there are no records left at that - point, it is an error condition, and the message MUST be returned as - undeliverable. If records do remain, they SHOULD be tried, best - preference first, as described above. - - - -Klensin Standards Track [Page 61] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -6. Problem Detection and Handling - -6.1 Reliable Delivery and Replies by Email - - When the receiver-SMTP accepts a piece of mail (by sending a "250 OK" - message in response to DATA), it is accepting responsibility for - delivering or relaying the message. It must take this responsibility - seriously. It MUST NOT lose the message for frivolous reasons, such - as because the host later crashes or because of a predictable - resource shortage. - - If there is a delivery failure after acceptance of a message, the - receiver-SMTP MUST formulate and mail a notification message. This - notification MUST be sent using a null ("<>") reverse path in the - envelope. The recipient of this notification MUST be the address - from the envelope return path (or the Return-Path: line). However, - if this address is null ("<>"), the receiver-SMTP MUST NOT send a - notification. Obviously, nothing in this section can or should - prohibit local decisions (i.e., as part of the same system - environment as the receiver-SMTP) to log or otherwise transmit - information about null address events locally if that is desired. If - the address is an explicit source route, it MUST be stripped down to - its final hop. - - For example, suppose that an error notification must be sent for a - message that arrived with: - - MAIL FROM:<@a,@b:user@d> - - The notification message MUST be sent using: - - RCPT TO: - - Some delivery failures after the message is accepted by SMTP will be - unavoidable. For example, it may be impossible for the receiving - SMTP server to validate all the delivery addresses in RCPT command(s) - due to a "soft" domain system error, because the target is a mailing - list (see earlier discussion of RCPT), or because the server is - acting as a relay and has no immediate access to the delivering - system. - - To avoid receiving duplicate messages as the result of timeouts, a - receiver-SMTP MUST seek to minimize the time required to respond to - the final . end of data indicator. See RFC 1047 [28] for - a discussion of this problem. - - - - - - -Klensin Standards Track [Page 62] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -6.2 Loop Detection - - Simple counting of the number of "Received:" headers in a message has - proven to be an effective, although rarely optimal, method of - detecting loops in mail systems. SMTP servers using this technique - SHOULD use a large rejection threshold, normally at least 100 - Received entries. Whatever mechanisms are used, servers MUST contain - provisions for detecting and stopping trivial loops. - -6.3 Compensating for Irregularities - - Unfortunately, variations, creative interpretations, and outright - violations of Internet mail protocols do occur; some would suggest - that they occur quite frequently. The debate as to whether a well- - behaved SMTP receiver or relay should reject a malformed message, - attempt to pass it on unchanged, or attempt to repair it to increase - the odds of successful delivery (or subsequent reply) began almost - with the dawn of structured network mail and shows no signs of - abating. Advocates of rejection claim that attempted repairs are - rarely completely adequate and that rejection of bad messages is the - only way to get the offending software repaired. Advocates of - "repair" or "deliver no matter what" argue that users prefer that - mail go through it if at all possible and that there are significant - market pressures in that direction. In practice, these market - pressures may be more important to particular vendors than strict - conformance to the standards, regardless of the preference of the - actual developers. - - The problems associated with ill-formed messages were exacerbated by - the introduction of the split-UA mail reading protocols [3, 26, 5, - 21]. These protocols have encouraged the use of SMTP as a posting - protocol, and SMTP servers as relay systems for these client hosts - (which are often only intermittently connected to the Internet). - Historically, many of those client machines lacked some of the - mechanisms and information assumed by SMTP (and indeed, by the mail - format protocol [7]). Some could not keep adequate track of time; - others had no concept of time zones; still others could not identify - their own names or addresses; and, of course, none could satisfy the - assumptions that underlay RFC 822's conception of authenticated - addresses. - - In response to these weak SMTP clients, many SMTP systems now - complete messages that are delivered to them in incomplete or - incorrect form. This strategy is generally considered appropriate - when the server can identify or authenticate the client, and there - are prior agreements between them. By contrast, there is at best - great concern about fixes applied by a relay or delivery SMTP server - that has little or no knowledge of the user or client machine. - - - -Klensin Standards Track [Page 63] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - The following changes to a message being processed MAY be applied - when necessary by an originating SMTP server, or one used as the - target of SMTP as an initial posting protocol: - - - Addition of a message-id field when none appears - - - Addition of a date, time or time zone when none appears - - - Correction of addresses to proper FQDN format - - The less information the server has about the client, the less likely - these changes are to be correct and the more caution and conservatism - should be applied when considering whether or not to perform fixes - and how. These changes MUST NOT be applied by an SMTP server that - provides an intermediate relay function. - - In all cases, properly-operating clients supplying correct - information are preferred to corrections by the SMTP server. In all - cases, documentation of actions performed by the servers (in trace - fields and/or header comments) is strongly encouraged. - -7. Security Considerations - -7.1 Mail Security and Spoofing - - SMTP mail is inherently insecure in that it is feasible for even - fairly casual users to negotiate directly with receiving and relaying - SMTP servers and create messages that will trick a naive recipient - into believing that they came from somewhere else. Constructing such - a message so that the "spoofed" behavior cannot be detected by an - expert is somewhat more difficult, but not sufficiently so as to be a - deterrent to someone who is determined and knowledgeable. - Consequently, as knowledge of Internet mail increases, so does the - knowledge that SMTP mail inherently cannot be authenticated, or - integrity checks provided, at the transport level. Real mail - security lies only in end-to-end methods involving the message - bodies, such as those which use digital signatures (see [14] and, - e.g., PGP [4] or S/MIME [31]). - - Various protocol extensions and configuration options that provide - authentication at the transport level (e.g., from an SMTP client to - an SMTP server) improve somewhat on the traditional situation - described above. However, unless they are accompanied by careful - handoffs of responsibility in a carefully-designed trust environment, - they remain inherently weaker than end-to-end mechanisms which use - digitally signed messages rather than depending on the integrity of - the transport system. - - - - -Klensin Standards Track [Page 64] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - Efforts to make it more difficult for users to set envelope return - path and header "From" fields to point to valid addresses other than - their own are largely misguided: they frustrate legitimate - applications in which mail is sent by one user on behalf of another - or in which error (or normal) replies should be directed to a special - address. (Systems that provide convenient ways for users to alter - these fields on a per-message basis should attempt to establish a - primary and permanent mailbox address for the user so that Sender - fields within the message data can be generated sensibly.) - - This specification does not further address the authentication issues - associated with SMTP other than to advocate that useful functionality - not be disabled in the hope of providing some small margin of - protection against an ignorant user who is trying to fake mail. - -7.2 "Blind" Copies - - Addresses that do not appear in the message headers may appear in the - RCPT commands to an SMTP server for a number of reasons. The two - most common involve the use of a mailing address as a "list exploder" - (a single address that resolves into multiple addresses) and the - appearance of "blind copies". Especially when more than one RCPT - command is present, and in order to avoid defeating some of the - purpose of these mechanisms, SMTP clients and servers SHOULD NOT copy - the full set of RCPT command arguments into the headers, either as - part of trace headers or as informational or private-extension - headers. Since this rule is often violated in practice, and cannot - be enforced, sending SMTP systems that are aware of "bcc" use MAY - find it helpful to send each blind copy as a separate message - transaction containing only a single RCPT command. - - There is no inherent relationship between either "reverse" (from - MAIL, SAML, etc., commands) or "forward" (RCPT) addresses in the SMTP - transaction ("envelope") and the addresses in the headers. Receiving - systems SHOULD NOT attempt to deduce such relationships and use them - to alter the headers of the message for delivery. The popular - "Apparently-to" header is a violation of this principle as well as a - common source of unintended information disclosure and SHOULD NOT be - used. - -7.3 VRFY, EXPN, and Security - - As discussed in section 3.5, individual sites may want to disable - either or both of VRFY or EXPN for security reasons. As a corollary - to the above, implementations that permit this MUST NOT appear to - have verified addresses that are not, in fact, verified. If a site - - - - - -Klensin Standards Track [Page 65] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - disables these commands for security reasons, the SMTP server MUST - return a 252 response, rather than a code that could be confused with - successful or unsuccessful verification. - - Returning a 250 reply code with the address listed in the VRFY - command after having checked it only for syntax violates this rule. - Of course, an implementation that "supports" VRFY by always returning - 550 whether or not the address is valid is equally not in - conformance. - - Within the last few years, the contents of mailing lists have become - popular as an address information source for so-called "spammers." - The use of EXPN to "harvest" addresses has increased as list - administrators have installed protections against inappropriate uses - of the lists themselves. Implementations SHOULD still provide - support for EXPN, but sites SHOULD carefully evaluate the tradeoffs. - As authentication mechanisms are introduced into SMTP, some sites may - choose to make EXPN available only to authenticated requestors. - -7.4 Information Disclosure in Announcements - - There has been an ongoing debate about the tradeoffs between the - debugging advantages of announcing server type and version (and, - sometimes, even server domain name) in the greeting response or in - response to the HELP command and the disadvantages of exposing - information that might be useful in a potential hostile attack. The - utility of the debugging information is beyond doubt. Those who - argue for making it available point out that it is far better to - actually secure an SMTP server rather than hope that trying to - conceal known vulnerabilities by hiding the server's precise identity - will provide more protection. Sites are encouraged to evaluate the - tradeoff with that issue in mind; implementations are strongly - encouraged to minimally provide for making type and version - information available in some way to other network hosts. - -7.5 Information Disclosure in Trace Fields - - In some circumstances, such as when mail originates from within a LAN - whose hosts are not directly on the public Internet, trace - ("Received") fields produced in conformance with this specification - may disclose host names and similar information that would not - normally be available. This ordinarily does not pose a problem, but - sites with special concerns about name disclosure should be aware of - it. Also, the optional FOR clause should be supplied with caution or - not at all when multiple recipients are involved lest it - inadvertently disclose the identities of "blind copy" recipients to - others. - - - - -Klensin Standards Track [Page 66] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -7.6 Information Disclosure in Message Forwarding - - As discussed in section 3.4, use of the 251 or 551 reply codes to - identify the replacement address associated with a mailbox may - inadvertently disclose sensitive information. Sites that are - concerned about those issues should ensure that they select and - configure servers appropriately. - -7.7 Scope of Operation of SMTP Servers - - It is a well-established principle that an SMTP server may refuse to - accept mail for any operational or technical reason that makes sense - to the site providing the server. However, cooperation among sites - and installations makes the Internet possible. If sites take - excessive advantage of the right to reject traffic, the ubiquity of - email availability (one of the strengths of the Internet) will be - threatened; considerable care should be taken and balance maintained - if a site decides to be selective about the traffic it will accept - and process. - - In recent years, use of the relay function through arbitrary sites - has been used as part of hostile efforts to hide the actual origins - of mail. Some sites have decided to limit the use of the relay - function to known or identifiable sources, and implementations SHOULD - provide the capability to perform this type of filtering. When mail - is rejected for these or other policy reasons, a 550 code SHOULD be - used in response to EHLO, MAIL, or RCPT as appropriate. - -8. IANA Considerations - - IANA will maintain three registries in support of this specification. - The first consists of SMTP service extensions with the associated - keywords, and, as needed, parameters and verbs. As specified in - section 2.2.2, no entry may be made in this registry that starts in - an "X". Entries may be made only for service extensions (and - associated keywords, parameters, or verbs) that are defined in - standards-track or experimental RFCs specifically approved by the - IESG for this purpose. - - The second registry consists of "tags" that identify forms of domain - literals other than those for IPv4 addresses (specified in RFC 821 - and in this document) and IPv6 addresses (specified in this - document). Additional literal types require standardization before - being used; none are anticipated at this time. - - The third, established by RFC 821 and renewed by this specification, - is a registry of link and protocol identifiers to be used with the - "via" and "with" subclauses of the time stamp ("Received: header") - - - -Klensin Standards Track [Page 67] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - described in section 4.4. Link and protocol identifiers in addition - to those specified in this document may be registered only by - standardization or by way of an RFC-documented, IESG-approved, - Experimental protocol extension. - -9. References - - [1] American National Standards Institute (formerly United States of - America Standards Institute), X3.4, 1968, "USA Code for - Information Interchange". ANSI X3.4-1968 has been replaced by - newer versions with slight modifications, but the 1968 version - remains definitive for the Internet. - - [2] Braden, R., "Requirements for Internet hosts - application and - support", STD 3, RFC 1123, October 1989. - - [3] Butler, M., Chase, D., Goldberger, J., Postel, J. and J. - Reynolds, "Post Office Protocol - version 2", RFC 937, February - 1985. - - [4] Callas, J., Donnerhacke, L., Finney, H. and R. Thayer, "OpenPGP - Message Format", RFC 2440, November 1998. - - [5] Crispin, M., "Interactive Mail Access Protocol - Version 2", RFC - 1176, August 1990. - - [6] Crispin, M., "Internet Message Access Protocol - Version 4", RFC - 2060, December 1996. - - [7] Crocker, D., "Standard for the Format of ARPA Internet Text - Messages", RFC 822, August 1982. - - [8] Crocker, D. and P. Overell, Eds., "Augmented BNF for Syntax - Specifications: ABNF", RFC 2234, November 1997. - - [9] De Winter, J., "SMTP Service Extension for Remote Message Queue - Starting", RFC 1985, August 1996. - - [10] Fajman, R., "An Extensible Message Format for Message - Disposition Notifications", RFC 2298, March 1998. - - [11] Freed, N, "Behavior of and Requirements for Internet Firewalls", - RFC 2979, October 2000. - - [12] Freed, N. and N. Borenstein, "Multipurpose Internet Mail - Extensions (MIME) Part One: Format of Internet Message Bodies", - RFC 2045, December 1996. - - - - -Klensin Standards Track [Page 68] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - [13] Freed, N., "SMTP Service Extension for Command Pipelining", RFC - 2920, September 2000. - - [14] Galvin, J., Murphy, S., Crocker, S. and N. Freed, "Security - Multiparts for MIME: Multipart/Signed and Multipart/Encrypted", - RFC 1847, October 1995. - - [15] Gellens, R. and J. Klensin, "Message Submission", RFC 2476, - December 1998. - - [16] Kille, S., "Mapping between X.400 and RFC822/MIME", RFC 2156, - January 1998. - - [17] Hinden, R and S. Deering, Eds. "IP Version 6 Addressing - Architecture", RFC 2373, July 1998. - - [18] Klensin, J., Freed, N. and K. Moore, "SMTP Service Extension for - Message Size Declaration", STD 10, RFC 1870, November 1995. - - [19] Klensin, J., Freed, N., Rose, M., Stefferud, E. and D. Crocker, - "SMTP Service Extensions", STD 10, RFC 1869, November 1995. - - [20] Klensin, J., Freed, N., Rose, M., Stefferud, E. and D. Crocker, - "SMTP Service Extension for 8bit-MIMEtransport", RFC 1652, July - 1994. - - [21] Lambert, M., "PCMAIL: A distributed mail system for personal - computers", RFC 1056, July 1988. - - [22] Mockapetris, P., "Domain names - implementation and - specification", STD 13, RFC 1035, November 1987. - - Mockapetris, P., "Domain names - concepts and facilities", STD - 13, RFC 1034, November 1987. - - [23] Moore, K., "MIME (Multipurpose Internet Mail Extensions) Part - Three: Message Header Extensions for Non-ASCII Text", RFC 2047, - December 1996. - - [24] Moore, K., "SMTP Service Extension for Delivery Status - Notifications", RFC 1891, January 1996. - - [25] Moore, K., and G. Vaudreuil, "An Extensible Message Format for - Delivery Status Notifications", RFC 1894, January 1996. - - [26] Myers, J. and M. Rose, "Post Office Protocol - Version 3", STD - 53, RFC 1939, May 1996. - - - - -Klensin Standards Track [Page 69] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - [27] Partridge, C., "Mail routing and the domain system", RFC 974, - January 1986. - - [28] Partridge, C., "Duplicate messages and SMTP", RFC 1047, February - 1988. - - [29] Postel, J., ed., "Transmission Control Protocol - DARPA Internet - Program Protocol Specification", STD 7, RFC 793, September 1981. - - [30] Postel, J., "Simple Mail Transfer Protocol", RFC 821, August - 1982. - - [31] Ramsdell, B., Ed., "S/MIME Version 3 Message Specification", RFC - 2633, June 1999. - - [32] Resnick, P., Ed., "Internet Message Format", RFC 2822, April - 2001. - - [33] Vaudreuil, G., "SMTP Service Extensions for Transmission of - Large and Binary MIME Messages", RFC 1830, August 1995. - - [34] Vaudreuil, G., "Enhanced Mail System Status Codes", RFC 1893, - January 1996. - -10. Editor's Address - - John C. Klensin - AT&T Laboratories - 99 Bedford St - Boston, MA 02111 USA - - Phone: 617-574-3076 - EMail: klensin@research.att.com - -11. Acknowledgments - - Many people worked long and hard on the many iterations of this - document. There was wide-ranging debate in the IETF DRUMS Working - Group, both on its mailing list and in face to face discussions, - about many technical issues and the role of a revised standard for - Internet mail transport, and many contributors helped form the - wording in this specification. The hundreds of participants in the - many discussions since RFC 821 was produced are too numerous to - mention, but they all helped this document become what it is. - - - - - - - -Klensin Standards Track [Page 70] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -APPENDICES - -A. TCP Transport Service - - The TCP connection supports the transmission of 8-bit bytes. The - SMTP data is 7-bit ASCII characters. Each character is transmitted - as an 8-bit byte with the high-order bit cleared to zero. Service - extensions may modify this rule to permit transmission of full 8-bit - data bytes as part of the message body, but not in SMTP commands or - responses. - -B. Generating SMTP Commands from RFC 822 Headers - - Some systems use RFC 822 headers (only) in a mail submission - protocol, or otherwise generate SMTP commands from RFC 822 headers - when such a message is handed to an MTA from a UA. While the MTA-UA - protocol is a private matter, not covered by any Internet Standard, - there are problems with this approach. For example, there have been - repeated problems with proper handling of "bcc" copies and - redistribution lists when information that conceptually belongs to a - mail envelopes is not separated early in processing from header - information (and kept separate). - - It is recommended that the UA provide its initial ("submission - client") MTA with an envelope separate from the message itself. - However, if the envelope is not supplied, SMTP commands SHOULD be - generated as follows: - - 1. Each recipient address from a TO, CC, or BCC header field SHOULD - be copied to a RCPT command (generating multiple message copies if - that is required for queuing or delivery). This includes any - addresses listed in a RFC 822 "group". Any BCC fields SHOULD then - be removed from the headers. Once this process is completed, the - remaining headers SHOULD be checked to verify that at least one - To:, Cc:, or Bcc: header remains. If none do, then a bcc: header - with no additional information SHOULD be inserted as specified in - [32]. - - 2. The return address in the MAIL command SHOULD, if possible, be - derived from the system's identity for the submitting (local) - user, and the "From:" header field otherwise. If there is a - system identity available, it SHOULD also be copied to the Sender - header field if it is different from the address in the From - header field. (Any Sender field that was already there SHOULD be - removed.) Systems may provide a way for submitters to override - the envelope return address, but may want to restrict its use to - privileged users. This will not prevent mail forgery, but may - lessen its incidence; see section 7.1. - - - -Klensin Standards Track [Page 71] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - When an MTA is being used in this way, it bears responsibility for - ensuring that the message being transmitted is valid. The mechanisms - for checking that validity, and for handling (or returning) messages - that are not valid at the time of arrival, are part of the MUA-MTA - interface and not covered by this specification. - - A submission protocol based on Standard RFC 822 information alone - MUST NOT be used to gateway a message from a foreign (non-SMTP) mail - system into an SMTP environment. Additional information to construct - an envelope must come from some source in the other environment, - whether supplemental headers or the foreign system's envelope. - - Attempts to gateway messages using only their header "to" and "cc" - fields have repeatedly caused mail loops and other behavior adverse - to the proper functioning of the Internet mail environment. These - problems have been especially common when the message originates from - an Internet mailing list and is distributed into the foreign - environment using envelope information. When these messages are then - processed by a header-only remailer, loops back to the Internet - environment (and the mailing list) are almost inevitable. - -C. Source Routes - - Historically, the was a reverse source routing list of - hosts and a source mailbox. The first host in the - SHOULD be the host sending the MAIL command. Similarly, the - may be a source routing lists of hosts and a - destination mailbox. However, in general, the SHOULD - contain only a mailbox and domain name, relying on the domain name - system to supply routing information if required. The use of source - routes is deprecated; while servers MUST be prepared to receive and - handle them as discussed in section 3.3 and F.2, clients SHOULD NOT - transmit them and this section was included only to provide context. - - For relay purposes, the forward-path may be a source route of the - form "@ONE,@TWO:JOE@THREE", where ONE, TWO, and THREE MUST BE fully- - qualified domain names. This form is used to emphasize the - distinction between an address and a route. The mailbox is an - absolute address, and the route is information about how to get - there. The two concepts should not be confused. - - If source routes are used, RFC 821 and the text below should be - consulted for the mechanisms for constructing and updating the - forward- and reverse-paths. - - - - - - - -Klensin Standards Track [Page 72] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - The SMTP server transforms the command arguments by moving its own - identifier (its domain name or that of any domain for which it is - acting as a mail exchanger), if it appears, from the forward-path to - the beginning of the reverse-path. - - Notice that the forward-path and reverse-path appear in the SMTP - commands and replies, but not necessarily in the message. That is, - there is no need for these paths and especially this syntax to appear - in the "To:" , "From:", "CC:", etc. fields of the message header. - Conversely, SMTP servers MUST NOT derive final message delivery - information from message header fields. - - When the list of hosts is present, it is a "reverse" source route and - indicates that the mail was relayed through each host on the list - (the first host in the list was the most recent relay). This list is - used as a source route to return non-delivery notices to the sender. - As each relay host adds itself to the beginning of the list, it MUST - use its name as known in the transport environment to which it is - relaying the mail rather than that of the transport environment from - which the mail came (if they are different). - -D. Scenarios - - This section presents complete scenarios of several types of SMTP - sessions. In the examples, "C:" indicates what is said by the SMTP - client, and "S:" indicates what is said by the SMTP server. - -D.1 A Typical SMTP Transaction Scenario - - This SMTP example shows mail sent by Smith at host bar.com, to Jones, - Green, and Brown at host foo.com. Here we assume that host bar.com - contacts host foo.com directly. The mail is accepted for Jones and - Brown. Green does not have a mailbox at host foo.com. - - S: 220 foo.com Simple Mail Transfer Service Ready - C: EHLO bar.com - S: 250-foo.com greets bar.com - S: 250-8BITMIME - S: 250-SIZE - S: 250-DSN - S: 250 HELP - C: MAIL FROM: - S: 250 OK - C: RCPT TO: - S: 250 OK - C: RCPT TO: - S: 550 No such user here - C: RCPT TO: - - - -Klensin Standards Track [Page 73] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - S: 250 OK - C: DATA - S: 354 Start mail input; end with . - C: Blah blah blah... - C: ...etc. etc. etc. - C: . - S: 250 OK - C: QUIT - S: 221 foo.com Service closing transmission channel - -D.2 Aborted SMTP Transaction Scenario - - S: 220 foo.com Simple Mail Transfer Service Ready - C: EHLO bar.com - S: 250-foo.com greets bar.com - S: 250-8BITMIME - S: 250-SIZE - S: 250-DSN - S: 250 HELP - C: MAIL FROM: - S: 250 OK - C: RCPT TO: - S: 250 OK - C: RCPT TO: - S: 550 No such user here - C: RSET - S: 250 OK - C: QUIT - S: 221 foo.com Service closing transmission channel - -D.3 Relayed Mail Scenario - - Step 1 -- Source Host to Relay Host - - S: 220 foo.com Simple Mail Transfer Service Ready - C: EHLO bar.com - S: 250-foo.com greets bar.com - S: 250-8BITMIME - S: 250-SIZE - S: 250-DSN - S: 250 HELP - C: MAIL FROM: - S: 250 OK - C: RCPT TO:<@foo.com:Jones@XYZ.COM> - S: 250 OK - C: DATA - S: 354 Start mail input; end with . - C: Date: Thu, 21 May 1998 05:33:29 -0700 - - - -Klensin Standards Track [Page 74] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - C: From: John Q. Public - C: Subject: The Next Meeting of the Board - C: To: Jones@xyz.com - C: - C: Bill: - C: The next meeting of the board of directors will be - C: on Tuesday. - C: John. - C: . - S: 250 OK - C: QUIT - S: 221 foo.com Service closing transmission channel - - Step 2 -- Relay Host to Destination Host - - S: 220 xyz.com Simple Mail Transfer Service Ready - C: EHLO foo.com - S: 250 xyz.com is on the air - C: MAIL FROM:<@foo.com:JQP@bar.com> - S: 250 OK - C: RCPT TO: - S: 250 OK - C: DATA - S: 354 Start mail input; end with . - C: Received: from bar.com by foo.com ; Thu, 21 May 1998 - C: 05:33:29 -0700 - C: Date: Thu, 21 May 1998 05:33:22 -0700 - C: From: John Q. Public - C: Subject: The Next Meeting of the Board - C: To: Jones@xyz.com - C: - C: Bill: - C: The next meeting of the board of directors will be - C: on Tuesday. - C: John. - C: . - S: 250 OK - C: QUIT - S: 221 foo.com Service closing transmission channel - -D.4 Verifying and Sending Scenario - - S: 220 foo.com Simple Mail Transfer Service Ready - C: EHLO bar.com - S: 250-foo.com greets bar.com - S: 250-8BITMIME - S: 250-SIZE - S: 250-DSN - - - -Klensin Standards Track [Page 75] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - - S: 250-VRFY - S: 250 HELP - C: VRFY Crispin - S: 250 Mark Crispin - C: SEND FROM: - S: 250 OK - C: RCPT TO: - S: 250 OK - C: DATA - S: 354 Start mail input; end with . - C: Blah blah blah... - C: ...etc. etc. etc. - C: . - S: 250 OK - C: QUIT - S: 221 foo.com Service closing transmission channel - -E. Other Gateway Issues - - In general, gateways between the Internet and other mail systems - SHOULD attempt to preserve any layering semantics across the - boundaries between the two mail systems involved. Gateway- - translation approaches that attempt to take shortcuts by mapping, - (such as envelope information from one system to the message headers - or body of another) have generally proven to be inadequate in - important ways. Systems translating between environments that do not - support both envelopes and headers and Internet mail must be written - with the understanding that some information loss is almost - inevitable. - -F. Deprecated Features of RFC 821 - - A few features of RFC 821 have proven to be problematic and SHOULD - NOT be used in Internet mail. - -F.1 TURN - - This command, described in RFC 821, raises important security issues - since, in the absence of strong authentication of the host requesting - that the client and server switch roles, it can easily be used to - divert mail from its correct destination. Its use is deprecated; - SMTP systems SHOULD NOT use it unless the server can authenticate the - client. - - - - - - - - -Klensin Standards Track [Page 76] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -F.2 Source Routing - - RFC 821 utilized the concept of explicit source routing to get mail - from one host to another via a series of relays. The requirement to - utilize source routes in regular mail traffic was eliminated by the - introduction of the domain name system "MX" record and the last - significant justification for them was eliminated by the - introduction, in RFC 1123, of a clear requirement that addresses - following an "@" must all be fully-qualified domain names. - Consequently, the only remaining justifications for the use of source - routes are support for very old SMTP clients or MUAs and in mail - system debugging. They can, however, still be useful in the latter - circumstance and for routing mail around serious, but temporary, - problems such as problems with the relevant DNS records. - - SMTP servers MUST continue to accept source route syntax as specified - in the main body of this document and in RFC 1123. They MAY, if - necessary, ignore the routes and utilize only the target domain in - the address. If they do utilize the source route, the message MUST - be sent to the first domain shown in the address. In particular, a - server MUST NOT guess at shortcuts within the source route. - - Clients SHOULD NOT utilize explicit source routing except under - unusual circumstances, such as debugging or potentially relaying - around firewall or mail system configuration errors. - -F.3 HELO - - As discussed in sections 3.1 and 4.1.1, EHLO is strongly preferred to - HELO when the server will accept the former. Servers must continue - to accept and process HELO in order to support older clients. - -F.4 #-literals - - RFC 821 provided for specifying an Internet address as a decimal - integer host number prefixed by a pound sign, "#". In practice, that - form has been obsolete since the introduction of TCP/IP. It is - deprecated and MUST NOT be used. - -F.5 Dates and Years - - When dates are inserted into messages by SMTP clients or servers - (e.g., in trace fields), four-digit years MUST BE used. Two-digit - years are deprecated; three-digit years were never permitted in the - Internet mail system. - - - - - - -Klensin Standards Track [Page 77] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -F.6 Sending versus Mailing - - In addition to specifying a mechanism for delivering messages to - user's mailboxes, RFC 821 provided additional, optional, commands to - deliver messages directly to the user's terminal screen. These - commands (SEND, SAML, SOML) were rarely implemented, and changes in - workstation technology and the introduction of other protocols may - have rendered them obsolete even where they are implemented. - - Clients SHOULD NOT provide SEND, SAML, or SOML as services. Servers - MAY implement them. If they are implemented by servers, the - implementation model specified in RFC 821 MUST be used and the - command names MUST be published in the response to the EHLO command. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Klensin Standards Track [Page 78] - -RFC 2821 Simple Mail Transfer Protocol April 2001 - - -Full Copyright Statement - - Copyright (C) The Internet Society (2001). All Rights Reserved. - - This document and translations of it may be copied and furnished to - others, and derivative works that comment on or otherwise explain it - or assist in its implementation may be prepared, copied, published - and distributed, in whole or in part, without restriction of any - kind, provided that the above copyright notice and this paragraph are - included on all such copies and derivative works. However, this - document itself may not be modified in any way, such as by removing - the copyright notice or references to the Internet Society or other - Internet organizations, except as needed for the purpose of - developing Internet standards in which case the procedures for - copyrights defined in the Internet Standards process must be - followed, or as required to translate it into languages other than - English. - - The limited permissions granted above are perpetual and will not be - revoked by the Internet Society or its successors or assigns. - - This document and the information contained herein is provided on an - "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING - TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION - HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF - MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. - -Acknowledgement - - Funding for the RFC Editor function is currently provided by the - Internet Society. - - - - - - - - - - - - - - - - - - - -Klensin Standards Track [Page 79] - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc2831.txt b/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc2831.txt deleted file mode 100644 index c1a54c4..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc2831.txt +++ /dev/null @@ -1,1515 +0,0 @@ - - - - - - -Network Working Group P. Leach -Request for Comments: 2831 Microsoft -Category: Standards Track C. Newman - Innosoft - May 2000 - - - Using Digest Authentication as a SASL Mechanism - -Status of this Memo - - This document specifies an Internet standards track protocol for the - Internet community, and requests discussion and suggestions for - improvements. Please refer to the current edition of the "Internet - Official Protocol Standards" (STD 1) for the standardization state - and status of this protocol. Distribution of this memo is unlimited. - -Copyright Notice - - Copyright (C) The Internet Society (2000). All Rights Reserved. - -Abstract - - This specification defines how HTTP Digest Authentication [Digest] - can be used as a SASL [RFC 2222] mechanism for any protocol that has - a SASL profile. It is intended both as an improvement over CRAM-MD5 - [RFC 2195] and as a convenient way to support a single authentication - mechanism for web, mail, LDAP, and other protocols. - -Table of Contents - - 1 INTRODUCTION.....................................................2 - 1.1 CONVENTIONS AND NOTATION......................................2 - 1.2 REQUIREMENTS..................................................3 - 2 AUTHENTICATION...................................................3 - 2.1 INITIAL AUTHENTICATION........................................3 - 2.1.1 Step One...................................................3 - 2.1.2 Step Two...................................................6 - 2.1.3 Step Three................................................12 - 2.2 SUBSEQUENT AUTHENTICATION....................................12 - 2.2.1 Step one..................................................13 - 2.2.2 Step Two..................................................13 - 2.3 INTEGRITY PROTECTION.........................................13 - 2.4 CONFIDENTIALITY PROTECTION...................................14 - 3 SECURITY CONSIDERATIONS.........................................15 - 3.1 AUTHENTICATION OF CLIENTS USING DIGEST AUTHENTICATION........15 - 3.2 COMPARISON OF DIGEST WITH PLAINTEXT PASSWORDS................16 - 3.3 REPLAY ATTACKS...............................................16 - - - -Leach & Newman Standards Track [Page 1] - -RFC 2831 Digest SASL Mechanism May 2000 - - - 3.4 ONLINE DICTIONARY ATTACKS....................................16 - 3.5 OFFLINE DICTIONARY ATTACKS...................................16 - 3.6 MAN IN THE MIDDLE............................................17 - 3.7 CHOSEN PLAINTEXT ATTACKS.....................................17 - 3.8 SPOOFING BY COUNTERFEIT SERVERS..............................17 - 3.9 STORING PASSWORDS............................................17 - 3.10 MULTIPLE REALMS.............................................18 - 3.11 SUMMARY.....................................................18 - 4 EXAMPLE.........................................................18 - 5 REFERENCES......................................................20 - 6 AUTHORS' ADDRESSES..............................................21 - 7 ABNF............................................................21 - 7.1 AUGMENTED BNF................................................21 - 7.2 BASIC RULES..................................................23 - 8 SAMPLE CODE.....................................................25 - 9 FULL COPYRIGHT STATEMENT........................................27 - -1 Introduction - - This specification describes the use of HTTP Digest Access - Authentication as a SASL mechanism. The authentication type - associated with the Digest SASL mechanism is "DIGEST-MD5". - - This specification is intended to be upward compatible with the - "md5-sess" algorithm of HTTP/1.1 Digest Access Authentication - specified in [Digest]. The only difference in the "md5-sess" - algorithm is that some directives not needed in a SASL mechanism have - had their values defaulted. - - There is one new feature for use as a SASL mechanism: integrity - protection on application protocol messages after an authentication - exchange. - - Also, compared to CRAM-MD5, DIGEST-MD5 prevents chosen plaintext - attacks, and permits the use of third party authentication servers, - mutual authentication, and optimized reauthentication if a client has - recently authenticated to a server. - -1.1 Conventions and Notation - - This specification uses the same ABNF notation and lexical - conventions as HTTP/1.1 specification; see appendix A. - - Let { a, b, ... } be the concatenation of the octet strings a, b, ... - - Let H(s) be the 16 octet MD5 hash [RFC 1321] of the octet string s. - - - - - -Leach & Newman Standards Track [Page 2] - -RFC 2831 Digest SASL Mechanism May 2000 - - - Let KD(k, s) be H({k, ":", s}), i.e., the 16 octet hash of the string - k, a colon and the string s. - - Let HEX(n) be the representation of the 16 octet MD5 hash n as a - string of 32 hex digits (with alphabetic characters always in lower - case, since MD5 is case sensitive). - - Let HMAC(k, s) be the 16 octet HMAC-MD5 [RFC 2104] of the octet - string s using the octet string k as a key. - - The value of a quoted string constant as an octet string does not - include any terminating null character. - -1.2 Requirements - - The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", - "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this - document are to be interpreted as described in RFC 2119 [RFC 2119]. - - An implementation is not compliant if it fails to satisfy one or more - of the MUST level requirements for the protocols it implements. An - implementation that satisfies all the MUST level and all the SHOULD - level requirements for its protocols is said to be "unconditionally - compliant"; one that satisfies all the MUST level requirements but - not all the SHOULD level requirements for its protocols is said to be - "conditionally compliant." - -2 Authentication - - The following sections describe how to use Digest as a SASL - authentication mechanism. - -2.1 Initial Authentication - - If the client has not recently authenticated to the server, then it - must perform "initial authentication", as defined in this section. If - it has recently authenticated, then a more efficient form is - available, defined in the next section. - -2.1.1 Step One - - The server starts by sending a challenge. The data encoded in the - challenge contains a string formatted according to the rules for a - "digest-challenge" defined as follows: - - - - - - - -Leach & Newman Standards Track [Page 3] - -RFC 2831 Digest SASL Mechanism May 2000 - - - digest-challenge = - 1#( realm | nonce | qop-options | stale | maxbuf | charset - algorithm | cipher-opts | auth-param ) - - realm = "realm" "=" <"> realm-value <"> - realm-value = qdstr-val - nonce = "nonce" "=" <"> nonce-value <"> - nonce-value = qdstr-val - qop-options = "qop" "=" <"> qop-list <"> - qop-list = 1#qop-value - qop-value = "auth" | "auth-int" | "auth-conf" | - token - stale = "stale" "=" "true" - maxbuf = "maxbuf" "=" maxbuf-value - maxbuf-value = 1*DIGIT - charset = "charset" "=" "utf-8" - algorithm = "algorithm" "=" "md5-sess" - cipher-opts = "cipher" "=" <"> 1#cipher-value <"> - cipher-value = "3des" | "des" | "rc4-40" | "rc4" | - "rc4-56" | token - auth-param = token "=" ( token | quoted-string ) - - The meanings of the values of the directives used above are as - follows: - - realm - Mechanistically, a string which can enable users to know which - username and password to use, in case they might have different - ones for different servers. Conceptually, it is the name of a - collection of accounts that might include the user's account. This - string should contain at least the name of the host performing the - authentication and might additionally indicate the collection of - users who might have access. An example might be - "registered_users@gotham.news.example.com". This directive is - optional; if not present, the client SHOULD solicit it from the - user or be able to compute a default; a plausible default might be - the realm supplied by the user when they logged in to the client - system. Multiple realm directives are allowed, in which case the - user or client must choose one as the realm for which to supply to - username and password. - - nonce - A server-specified data string which MUST be different each time a - digest-challenge is sent as part of initial authentication. It is - recommended that this string be base64 or hexadecimal data. Note - that since the string is passed as a quoted string, the - double-quote character is not allowed unless escaped (see section - 7.2). The contents of the nonce are implementation dependent. The - - - -Leach & Newman Standards Track [Page 4] - -RFC 2831 Digest SASL Mechanism May 2000 - - - security of the implementation depends on a good choice. It is - RECOMMENDED that it contain at least 64 bits of entropy. The nonce - is opaque to the client. This directive is required and MUST - appear exactly once; if not present, or if multiple instances are - present, the client should abort the authentication exchange. - - qop-options - A quoted string of one or more tokens indicating the "quality of - protection" values supported by the server. The value "auth" - indicates authentication; the value "auth-int" indicates - authentication with integrity protection; the value "auth-conf" - indicates authentication with integrity protection and encryption. - This directive is optional; if not present it defaults to "auth". - The client MUST ignore unrecognized options; if the client - recognizes no option, it should abort the authentication exchange. - - stale - The "stale" directive is not used in initial authentication. See - the next section for its use in subsequent authentications. This - directive may appear at most once; if multiple instances are - present, the client should abort the authentication exchange. - - maxbuf - A number indicating the size of the largest buffer the server is - able to receive when using "auth-int" or "auth-conf". If this - directive is missing, the default value is 65536. This directive - may appear at most once; if multiple instances are present, the - client should abort the authentication exchange. - - charset - This directive, if present, specifies that the server supports - UTF-8 encoding for the username and password. If not present, the - username and password must be encoded in ISO 8859-1 (of which - US-ASCII is a subset). The directive is needed for backwards - compatibility with HTTP Digest, which only supports ISO 8859-1. - This directive may appear at most once; if multiple instances are - present, the client should abort the authentication exchange. - - algorithm - This directive is required for backwards compatibility with HTTP - Digest., which supports other algorithms. . This directive is - required and MUST appear exactly once; if not present, or if - multiple instances are present, the client should abort the - authentication exchange. - - - - - - - -Leach & Newman Standards Track [Page 5] - -RFC 2831 Digest SASL Mechanism May 2000 - - - cipher-opts - A list of ciphers that the server supports. This directive must be - present exactly once if "auth-conf" is offered in the - "qop-options" directive, in which case the "3des" and "des" modes - are mandatory-to-implement. The client MUST ignore unrecognized - options; if the client recognizes no option, it should abort the - authentication exchange. - - des - the Data Encryption Standard (DES) cipher [FIPS] in cipher - block chaining (CBC) mode with a 56 bit key. - - 3des - the "triple DES" cipher in CBC mode with EDE with the same key - for each E stage (aka "two keys mode") for a total key length - of 112 bits. - - rc4, rc4-40, rc4-56 - the RC4 cipher with a 128 bit, 40 bit, and 56 bit key, - respectively. - - auth-param This construct allows for future extensions; it may appear - more than once. The client MUST ignore any unrecognized - directives. - - For use as a SASL mechanism, note that the following changes are made - to "digest-challenge" from HTTP: the following Digest options (called - "directives" in HTTP terminology) are unused (i.e., MUST NOT be sent, - and MUST be ignored if received): - - opaque - domain - - The size of a digest-challenge MUST be less than 2048 bytes. - -2.1.2 Step Two - - The client makes note of the "digest-challenge" and then responds - with a string formatted and computed according to the rules for a - "digest-response" defined as follows: - - - - - - - - - - - -Leach & Newman Standards Track [Page 6] - -RFC 2831 Digest SASL Mechanism May 2000 - - - digest-response = 1#( username | realm | nonce | cnonce | - nonce-count | qop | digest-uri | response | - maxbuf | charset | cipher | authzid | - auth-param ) - - username = "username" "=" <"> username-value <"> - username-value = qdstr-val - cnonce = "cnonce" "=" <"> cnonce-value <"> - cnonce-value = qdstr-val - nonce-count = "nc" "=" nc-value - nc-value = 8LHEX - qop = "qop" "=" qop-value - digest-uri = "digest-uri" "=" <"> digest-uri-value <"> - digest-uri-value = serv-type "/" host [ "/" serv-name ] - serv-type = 1*ALPHA - host = 1*( ALPHA | DIGIT | "-" | "." ) - serv-name = host - response = "response" "=" response-value - response-value = 32LHEX - LHEX = "0" | "1" | "2" | "3" | - "4" | "5" | "6" | "7" | - "8" | "9" | "a" | "b" | - "c" | "d" | "e" | "f" - cipher = "cipher" "=" cipher-value - authzid = "authzid" "=" <"> authzid-value <"> - authzid-value = qdstr-val - - - username - The user's name in the specified realm, encoded according to the - value of the "charset" directive. This directive is required and - MUST be present exactly once; otherwise, authentication fails. - - realm - The realm containing the user's account. This directive is - required if the server provided any realms in the - "digest-challenge", in which case it may appear exactly once and - its value SHOULD be one of those realms. If the directive is - missing, "realm-value" will set to the empty string when computing - A1 (see below for details). - - nonce - The server-specified data string received in the preceding - digest-challenge. This directive is required and MUST be present - exactly once; otherwise, authentication fails. - - - - - - -Leach & Newman Standards Track [Page 7] - -RFC 2831 Digest SASL Mechanism May 2000 - - - cnonce - A client-specified data string which MUST be different each time a - digest-response is sent as part of initial authentication. The - cnonce-value is an opaque quoted string value provided by the - client and used by both client and server to avoid chosen - plaintext attacks, and to provide mutual authentication. The - security of the implementation depends on a good choice. It is - RECOMMENDED that it contain at least 64 bits of entropy. This - directive is required and MUST be present exactly once; otherwise, - authentication fails. - - nonce-count - The nc-value is the hexadecimal count of the number of requests - (including the current request) that the client has sent with the - nonce value in this request. For example, in the first request - sent in response to a given nonce value, the client sends - "nc=00000001". The purpose of this directive is to allow the - server to detect request replays by maintaining its own copy of - this count - if the same nc-value is seen twice, then the request - is a replay. See the description below of the construction of - the response value. This directive may appear at most once; if - multiple instances are present, the client should abort the - authentication exchange. - - qop - Indicates what "quality of protection" the client accepted. If - present, it may appear exactly once and its value MUST be one of - the alternatives in qop-options. If not present, it defaults to - "auth". These values affect the computation of the response. Note - that this is a single token, not a quoted list of alternatives. - - serv-type - Indicates the type of service, such as "www" for web service, - "ftp" for FTP service, "smtp" for mail delivery service, etc. The - service name as defined in the SASL profile for the protocol see - section 4 of [RFC 2222], registered in the IANA registry of - "service" elements for the GSSAPI host-based service name form - [RFC 2078]. - - host - The DNS host name or IP address for the service requested. The - DNS host name must be the fully-qualified canonical name of the - host. The DNS host name is the preferred form; see notes on server - processing of the digest-uri. - - - - - - - -Leach & Newman Standards Track [Page 8] - -RFC 2831 Digest SASL Mechanism May 2000 - - - serv-name - Indicates the name of the service if it is replicated. The service - is considered to be replicated if the client's service-location - process involves resolution using standard DNS lookup operations, - and if these operations involve DNS records (such as SRV, or MX) - which resolve one DNS name into a set of other DNS names. In this - case, the initial name used by the client is the "serv-name", and - the final name is the "host" component. For example, the incoming - mail service for "example.com" may be replicated through the use - of MX records stored in the DNS, one of which points at an SMTP - server called "mail3.example.com"; it's "serv-name" would be - "example.com", it's "host" would be "mail3.example.com". If the - service is not replicated, or the serv-name is identical to the - host, then the serv-name component MUST be omitted. - - digest-uri - Indicates the principal name of the service with which the client - wishes to connect, formed from the serv-type, host, and serv-name. - For example, the FTP service on "ftp.example.com" would have a - "digest-uri" value of "ftp/ftp.example.com"; the SMTP server from - the example above would have a "digest-uri" value of - "smtp/mail3.example.com/example.com". - - Servers SHOULD check that the supplied value is correct. This will - detect accidental connection to the incorrect server. It is also so - that clients will be trained to provide values that will work with - implementations that use a shared back-end authentication service - that can provide server authentication. - - The serv-type component should match the service being offered. The - host component should match one of the host names of the host on - which the service is running, or it's IP address. Servers SHOULD NOT - normally support the IP address form, because server authentication - by IP address is not very useful; they should only do so if the DNS - is unavailable or unreliable. The serv-name component should match - one of the service's configured service names. - - This directive may appear at most once; if multiple instances are - present, the client should abort the authentication exchange. - - Note: In the HTTP use of Digest authentication, the digest-uri is the - URI (usually a URL) of the resource requested -- hence the name of - the directive. - - response - A string of 32 hex digits computed as defined below, which proves - that the user knows a password. This directive is required and - MUST be present exactly once; otherwise, authentication fails. - - - -Leach & Newman Standards Track [Page 9] - -RFC 2831 Digest SASL Mechanism May 2000 - - - maxbuf - A number indicating the size of the largest buffer the client is - able to receive. If this directive is missing, the default value - is 65536. This directive may appear at most once; if multiple - instances are present, the server should abort the authentication - exchange. - - charset - This directive, if present, specifies that the client has used - UTF-8 encoding for the username and password. If not present, the - username and password must be encoded in ISO 8859-1 (of which - US-ASCII is a subset). The client should send this directive only - if the server has indicated it supports UTF-8. The directive is - needed for backwards compatibility with HTTP Digest, which only - supports ISO 8859-1. - - LHEX - 32 hex digits, where the alphabetic characters MUST be lower case, - because MD5 is not case insensitive. - - cipher - The cipher chosen by the client. This directive MUST appear - exactly once if "auth-conf" is negotiated; if required and not - present, authentication fails. - - authzid - The "authorization ID" as per RFC 2222, encoded in UTF-8. This - directive is optional. If present, and the authenticating user has - sufficient privilege, and the server supports it, then after - authentication the server will use this identity for making all - accesses and access checks. If the client specifies it, and the - server does not support it, then the response-value will be - incorrect, and authentication will fail. - - The size of a digest-response MUST be less than 4096 bytes. - -2.1.2.1 Response-value - - The definition of "response-value" above indicates the encoding for - its value -- 32 lower case hex characters. The following definitions - show how the value is computed. - - Although qop-value and components of digest-uri-value may be - case-insensitive, the case which the client supplies in step two is - preserved for the purpose of computing and verifying the - response-value. - - response-value = - - - -Leach & Newman Standards Track [Page 10] - -RFC 2831 Digest SASL Mechanism May 2000 - - - HEX( KD ( HEX(H(A1)), - { nonce-value, ":" nc-value, ":", - cnonce-value, ":", qop-value, ":", HEX(H(A2)) })) - - If authzid is specified, then A1 is - - - A1 = { H( { username-value, ":", realm-value, ":", passwd } ), - ":", nonce-value, ":", cnonce-value, ":", authzid-value } - - If authzid is not specified, then A1 is - - - A1 = { H( { username-value, ":", realm-value, ":", passwd } ), - ":", nonce-value, ":", cnonce-value } - - where - - passwd = *OCTET - - The "username-value", "realm-value" and "passwd" are encoded - according to the value of the "charset" directive. If "charset=UTF-8" - is present, and all the characters of either "username-value" or - "passwd" are in the ISO 8859-1 character set, then it must be - converted to ISO 8859-1 before being hashed. This is so that - authentication databases that store the hashed username, realm and - password (which is common) can be shared compatibly with HTTP, which - specifies ISO 8859-1. A sample implementation of this conversion is - in section 8. - - If the "qop" directive's value is "auth", then A2 is: - - A2 = { "AUTHENTICATE:", digest-uri-value } - - If the "qop" value is "auth-int" or "auth-conf" then A2 is: - - A2 = { "AUTHENTICATE:", digest-uri-value, - ":00000000000000000000000000000000" } - - Note that "AUTHENTICATE:" must be in upper case, and the second - string constant is a string with a colon followed by 32 zeros. - - These apparently strange values of A2 are for compatibility with - HTTP; they were arrived at by setting "Method" to "AUTHENTICATE" and - the hash of the entity body to zero in the HTTP digest calculation of - A2. - - Also, in the HTTP usage of Digest, several directives in the - - - -Leach & Newman Standards Track [Page 11] - -RFC 2831 Digest SASL Mechanism May 2000 - - - "digest-challenge" sent by the server have to be returned by the - client in the "digest-response". These are: - - opaque - algorithm - - These directives are not needed when Digest is used as a SASL - mechanism (i.e., MUST NOT be sent, and MUST be ignored if received). - -2.1.3 Step Three - - The server receives and validates the "digest-response". The server - checks that the nonce-count is "00000001". If it supports subsequent - authentication (see section 2.2), it saves the value of the nonce and - the nonce-count. It sends a message formatted as follows: - - response-auth = "rspauth" "=" response-value - - where response-value is calculated as above, using the values sent in - step two, except that if qop is "auth", then A2 is - - A2 = { ":", digest-uri-value } - - And if qop is "auth-int" or "auth-conf" then A2 is - - A2 = { ":", digest-uri-value, ":00000000000000000000000000000000" } - - Compared to its use in HTTP, the following Digest directives in the - "digest-response" are unused: - - nextnonce - qop - cnonce - nonce-count - -2.2 Subsequent Authentication - - If the client has previously authenticated to the server, and - remembers the values of username, realm, nonce, nonce-count, cnonce, - and qop that it used in that authentication, and the SASL profile for - a protocol permits an initial client response, then it MAY perform - "subsequent authentication", as defined in this section. - - - - - - - - - -Leach & Newman Standards Track [Page 12] - -RFC 2831 Digest SASL Mechanism May 2000 - - -2.2.1 Step one - - The client uses the values from the previous authentication and sends - an initial response with a string formatted and computed according to - the rules for a "digest-response", as defined above, but with a - nonce-count one greater than used in the last "digest-response". - -2.2.2 Step Two - - The server receives the "digest-response". If the server does not - support subsequent authentication, then it sends a - "digest-challenge", and authentication proceeds as in initial - authentication. If the server has no saved nonce and nonce-count from - a previous authentication, then it sends a "digest-challenge", and - authentication proceeds as in initial authentication. Otherwise, the - server validates the "digest-response", checks that the nonce-count - is one greater than that used in the previous authentication using - that nonce, and saves the new value of nonce-count. - - If the response is invalid, then the server sends a - "digest-challenge", and authentication proceeds as in initial - authentication (and should be configurable to log an authentication - failure in some sort of security audit log, since the failure may be - a symptom of an attack). The nonce-count MUST NOT be incremented in - this case: to do so would allow a denial of service attack by sending - an out-of-order nonce-count. - - If the response is valid, the server MAY choose to deem that - authentication has succeeded. However, if it has been too long since - the previous authentication, or for any other reason, the server MAY - send a new "digest-challenge" with a new value for nonce. The - challenge MAY contain a "stale" directive with value "true", which - says that the client may respond to the challenge using the password - it used in the previous response; otherwise, the client must solicit - the password anew from the user. This permits the server to make sure - that the user has presented their password recently. (The directive - name refers to the previous nonce being stale, not to the last use of - the password.) Except for the handling of "stale", after sending the - "digest-challenge" authentication proceeds as in the case of initial - authentication. - -2.3 Integrity Protection - - If the server offered "qop=auth-int" and the client responded - "qop=auth-int", then subsequent messages, up to but not including the - next subsequent authentication, between the client and the server - - - - - -Leach & Newman Standards Track [Page 13] - -RFC 2831 Digest SASL Mechanism May 2000 - - - MUST be integrity protected. Using as a base session key the value of - H(A1) as defined above the client and server calculate a pair of - message integrity keys as follows. - - The key for integrity protecting messages from client to server is: - - Kic = MD5({H(A1), - "Digest session key to client-to-server signing key magic constant"}) - - The key for integrity protecting messages from server to client is: - - Kis = MD5({H(A1), - "Digest session key to server-to-client signing key magic constant"}) - - where MD5 is as specified in [RFC 1321]. If message integrity is - negotiated, a MAC block for each message is appended to the message. - The MAC block is 16 bytes: the first 10 bytes of the HMAC-MD5 [RFC - 2104] of the message, a 2-byte message type number in network byte - order with value 1, and the 4-byte sequence number in network byte - order. The message type is to allow for future extensions such as - rekeying. - - MAC(Ki, SeqNum, msg) = (HMAC(Ki, {SeqNum, msg})[0..9], 0x0001, - SeqNum) - - where Ki is Kic for messages sent by the client and Kis for those - sent by the server. The sequence number is initialized to zero, and - incremented by one for each message sent. - - Upon receipt, MAC(Ki, SeqNum, msg) is computed and compared with the - received value; the message is discarded if they differ. - -2.4 Confidentiality Protection - - If the server sent a "cipher-opts" directive and the client responded - with a "cipher" directive, then subsequent messages between the - client and the server MUST be confidentiality protected. Using as a - base session key the value of H(A1) as defined above the client and - server calculate a pair of message integrity keys as follows. - - The key for confidentiality protecting messages from client to server - is: - - Kcc = MD5({H(A1)[0..n], - "Digest H(A1) to client-to-server sealing key magic constant"}) - - The key for confidentiality protecting messages from server to client - is: - - - -Leach & Newman Standards Track [Page 14] - -RFC 2831 Digest SASL Mechanism May 2000 - - - Kcs = MD5({H(A1)[0..n], - "Digest H(A1) to server-to-client sealing key magic constant"}) - - where MD5 is as specified in [RFC 1321]. For cipher "rc4-40" n is 5; - for "rc4-56" n is 7; for the rest n is 16. The key for the "rc-*" - ciphers is all 16 bytes of Kcc or Kcs; the key for "des" is the first - 7 bytes; the key for "3des" is the first 14 bytes. The IV for "des" - and "3des" is the last 8 bytes of Kcc or Kcs. - - If message confidentiality is negotiated, each message is encrypted - with the chosen cipher and a MAC block is appended to the message. - - The MAC block is a variable length padding prefix followed by 16 - bytes formatted as follows: the first 10 bytes of the HMAC-MD5 [RFC - 2104] of the message, a 2-byte message type number in network byte - order with value 1, and the 4-byte sequence number in network byte - order. If the blocksize of the chosen cipher is not 1 byte, the - padding prefix is one or more octets each containing the number of - padding bytes, such that total length of the encrypted part of the - message is a multiple of the blocksize. The padding and first 10 - bytes of the MAC block are encrypted along with the message. - - SEAL(Ki, Kc, SeqNum, msg) = - {CIPHER(Kc, {msg, pad, HMAC(Ki, {SeqNum, msg})[0..9])}), 0x0001, - SeqNum} - - where CIPHER is the chosen cipher, Ki and Kc are Kic and Kcc for - messages sent by the client and Kis and Kcs for those sent by the - server. The sequence number is initialized to zero, and incremented - by one for each message sent. - - Upon receipt, the message is decrypted, HMAC(Ki, {SeqNum, msg}) is - computed and compared with the received value; the message is - discarded if they differ. - -3 Security Considerations - -3.1 Authentication of Clients using Digest Authentication - - Digest Authentication does not provide a strong authentication - mechanism, when compared to public key based mechanisms, for example. - However, since it prevents chosen plaintext attacks, it is stronger - than (e.g.) CRAM-MD5, which has been proposed for use with LDAP [10], - POP and IMAP (see RFC 2195 [9]). It is intended to replace the much - weaker and even more dangerous use of plaintext passwords; however, - since it is still a password based mechanism it avoids some of the - potential deployabilty issues with public-key, OTP or similar - mechanisms. - - - -Leach & Newman Standards Track [Page 15] - -RFC 2831 Digest SASL Mechanism May 2000 - - - Digest Authentication offers no confidentiality protection beyond - protecting the actual password. All of the rest of the challenge and - response are available to an eavesdropper, including the user's name - and authentication realm. - -3.2 Comparison of Digest with Plaintext Passwords - - The greatest threat to the type of transactions for which these - protocols are used is network snooping. This kind of transaction - might involve, for example, online access to a mail service whose use - is restricted to paying subscribers. With plaintext password - authentication an eavesdropper can obtain the password of the user. - This not only permits him to access anything in the database, but, - often worse, will permit access to anything else the user protects - with the same password. - -3.3 Replay Attacks - - Replay attacks are defeated if the client or the server chooses a - fresh nonce for each authentication, as this specification requires. - -3.4 Online dictionary attacks - - If the attacker can eavesdrop, then it can test any overheard - nonce/response pairs against a (potentially very large) list of - common words. Such a list is usually much smaller than the total - number of possible passwords. The cost of computing the response for - each password on the list is paid once for each challenge. - - The server can mitigate this attack by not allowing users to select - passwords that are in a dictionary. - -3.5 Offline dictionary attacks - - If the attacker can choose the challenge, then it can precompute the - possible responses to that challenge for a list of common words. Such - a list is usually much smaller than the total number of possible - passwords. The cost of computing the response for each password on - the list is paid just once. - - Offline dictionary attacks are defeated if the client chooses a fresh - nonce for each authentication, as this specification requires. - - - - - - - - - -Leach & Newman Standards Track [Page 16] - -RFC 2831 Digest SASL Mechanism May 2000 - - -3.6 Man in the Middle - - Digest authentication is vulnerable to "man in the middle" (MITM) - attacks. Clearly, a MITM would present all the problems of - eavesdropping. But it also offers some additional opportunities to - the attacker. - - A possible man-in-the-middle attack would be to substitute a weaker - qop scheme for the one(s) sent by the server; the server will not be - able to detect this attack. For this reason, the client should always - use the strongest scheme that it understands from the choices - offered, and should never choose a scheme that does not meet its - minimum requirements. - -3.7 Chosen plaintext attacks - - A chosen plaintext attack is where a MITM or a malicious server can - arbitrarily choose the challenge that the client will use to compute - the response. The ability to choose the challenge is known to make - cryptanalysis much easier [8]. - - However, Digest does not permit the attack to choose the challenge as - long as the client chooses a fresh nonce for each authentication, as - this specification requires. - -3.8 Spoofing by Counterfeit Servers - - If a user can be led to believe that she is connecting to a host - containing information protected by a password she knows, when in - fact she is connecting to a hostile server, then the hostile server - can obtain challenge/response pairs where it was able to partly - choose the challenge. There is no known way that this can be - exploited. - -3.9 Storing passwords - - Digest authentication requires that the authenticating agent (usually - the server) store some data derived from the user's name and password - in a "password file" associated with a given realm. Normally this - might contain pairs consisting of username and H({ username-value, - ":", realm-value, ":", passwd }), which is adequate to compute H(A1) - as described above without directly exposing the user's password. - - The security implications of this are that if this password file is - compromised, then an attacker gains immediate access to documents on - the server using this realm. Unlike, say a standard UNIX password - file, this information need not be decrypted in order to access - documents in the server realm associated with this file. On the other - - - -Leach & Newman Standards Track [Page 17] - -RFC 2831 Digest SASL Mechanism May 2000 - - - hand, decryption, or more likely a brute force attack, would be - necessary to obtain the user's password. This is the reason that the - realm is part of the digested data stored in the password file. It - means that if one Digest authentication password file is compromised, - it does not automatically compromise others with the same username - and password (though it does expose them to brute force attack). - - There are two important security consequences of this. First the - password file must be protected as if it contained plaintext - passwords, because for the purpose of accessing documents in its - realm, it effectively does. - - A second consequence of this is that the realm string should be - unique among all realms that any single user is likely to use. In - particular a realm string should include the name of the host doing - the authentication. - -3.10 Multiple realms - - Use of multiple realms may mean both that compromise of a the - security database for a single realm does not compromise all - security, and that there are more things to protect in order to keep - the whole system secure. - -3.11 Summary - - By modern cryptographic standards Digest Authentication is weak, - compared to (say) public key based mechanisms. But for a large range - of purposes it is valuable as a replacement for plaintext passwords. - Its strength may vary depending on the implementation. - -4 Example - - This example shows the use of the Digest SASL mechanism with the - IMAP4 AUTHENTICATE command [RFC 2060]. - - In this example, "C:" and "S:" represent a line sent by the client or - server respectively including a CRLF at the end. Linebreaks and - indentation within a "C:" or "S:" are editorial and not part of the - protocol. The password in this example was "secret". Note that the - base64 encoding of the challenges and responses is part of the IMAP4 - AUTHENTICATE command, not part of the Digest specification itself. - - S: * OK elwood.innosoft.com PMDF IMAP4rev1 V6.0-9 - C: c CAPABILITY - S: * CAPABILITY IMAP4 IMAP4rev1 ACL LITERAL+ NAMESPACE QUOTA - UIDPLUS AUTH=CRAM-MD5 AUTH=DIGEST-MD5 AUTH=PLAIN - S: c OK Completed - - - -Leach & Newman Standards Track [Page 18] - -RFC 2831 Digest SASL Mechanism May 2000 - - - C: a AUTHENTICATE DIGEST-MD5 - S: + cmVhbG09ImVsd29vZC5pbm5vc29mdC5jb20iLG5vbmNlPSJPQTZNRzl0 - RVFHbTJoaCIscW9wPSJhdXRoIixhbGdvcml0aG09bWQ1LXNlc3MsY2hh - cnNldD11dGYtOA== - C: Y2hhcnNldD11dGYtOCx1c2VybmFtZT0iY2hyaXMiLHJlYWxtPSJlbHdvb2 - QuaW5ub3NvZnQuY29tIixub25jZT0iT0E2TUc5dEVRR20yaGgiLG5jPTAw - MDAwMDAxLGNub25jZT0iT0E2TUhYaDZWcVRyUmsiLGRpZ2VzdC11cmk9Im - ltYXAvZWx3b29kLmlubm9zb2Z0LmNvbSIscmVzcG9uc2U9ZDM4OGRhZDkw - ZDRiYmQ3NjBhMTUyMzIxZjIxNDNhZjcscW9wPWF1dGg= - S: + cnNwYXV0aD1lYTQwZjYwMzM1YzQyN2I1NTI3Yjg0ZGJhYmNkZmZmZA== - C: - S: a OK User logged in - --- - - The base64-decoded version of the SASL exchange is: - - S: realm="elwood.innosoft.com",nonce="OA6MG9tEQGm2hh",qop="auth", - algorithm=md5-sess,charset=utf-8 - C: charset=utf-8,username="chris",realm="elwood.innosoft.com", - nonce="OA6MG9tEQGm2hh",nc=00000001,cnonce="OA6MHXh6VqTrRk", - digest-uri="imap/elwood.innosoft.com", - response=d388dad90d4bbd760a152321f2143af7,qop=auth - S: rspauth=ea40f60335c427b5527b84dbabcdfffd - - The password in this example was "secret". - - This example shows the use of the Digest SASL mechanism with the - ACAP, using the same notational conventions and password as in the - previous example. Note that ACAP does not base64 encode and uses - fewer round trips that IMAP4. - - S: * ACAP (IMPLEMENTATION "Test ACAP server") (SASL "CRAM-MD5" - "DIGEST-MD5" "PLAIN") - C: a AUTHENTICATE "DIGEST-MD5" - S: + {94} - S: realm="elwood.innosoft.com",nonce="OA9BSXrbuRhWay",qop="auth", - algorithm=md5-sess,charset=utf-8 - C: {206} - C: charset=utf-8,username="chris",realm="elwood.innosoft.com", - nonce="OA9BSXrbuRhWay",nc=00000001,cnonce="OA9BSuZWMSpW8m", - digest-uri="acap/elwood.innosoft.com", - response=6084c6db3fede7352c551284490fd0fc,qop=auth - S: a OK (SASL {40} - S: rspauth=2f0b3d7c3c2e486600ef710726aa2eae) "AUTHENTICATE - Completed" - --- - - - - - -Leach & Newman Standards Track [Page 19] - -RFC 2831 Digest SASL Mechanism May 2000 - - - The server uses the values of all the directives, plus knowledge of - the users password (or the hash of the user's name, server's realm - and the user's password) to verify the computations above. If they - check, then the user has authenticated. - -5 References - - [Digest] Franks, J., et al., "HTTP Authentication: Basic and Digest - Access Authentication", RFC 2617, June 1999. - - [ISO-8859] ISO-8859. International Standard--Information Processing-- - 8-bit Single-Byte Coded Graphic Character Sets -- - Part 1: Latin alphabet No. 1, ISO-8859-1:1987. - Part 2: Latin alphabet No. 2, ISO-8859-2, 1987. - Part 3: Latin alphabet No. 3, ISO-8859-3, 1988. - Part 4: Latin alphabet No. 4, ISO-8859-4, 1988. - Part 5: Latin/Cyrillic alphabet, ISO-8859-5, 1988. - Part 6: Latin/Arabic alphabet, ISO-8859-6, 1987. - Part 7: Latin/Greek alphabet, ISO-8859-7, 1987. - Part 8: Latin/Hebrew alphabet, ISO-8859-8, 1988. - Part 9: Latin alphabet No. 5, ISO-8859-9, 1990. - - [RFC 822] Crocker, D., "Standard for The Format of ARPA Internet - Text Messages," STD 11, RFC 822, August 1982. - - [RFC 1321] Rivest, R., "The MD5 Message-Digest Algorithm", RFC 1321, - April 1992. - - [RFC 2047] Moore, K., "MIME (Multipurpose Internet Mail Extensions) - Part Three: Message Header Extensions for Non-ASCII Text", - RFC 2047, November 1996. - - [RFC 2052] Gulbrandsen, A. and P. Vixie, "A DNS RR for specifying the - location of services (DNS SRV)", RFC 2052, October 1996. - - [RFC 2060] Crispin, M., "Internet Message Access Protocol - Version - 4rev1", RFC 2060, December 1996. - - [RFC 2104] Krawczyk, H., Bellare, M. and R. Canetti, "HMAC: Keyed- - Hashing for Message Authentication", RFC 2104, February - 1997. - - [RFC 2195] Klensin, J., Catoe, R. and P. Krumviede, "IMAP/POP - AUTHorize Extension for Simple Challenge/Response", RFC - 2195, September 1997. - - - - - - -Leach & Newman Standards Track [Page 20] - -RFC 2831 Digest SASL Mechanism May 2000 - - - [RFC 2119] Bradner, S., "Key words for use in RFCs to Indicate - Requirement Levels", BCP 14, RFC 2119, March 1997. - - [RFC 2222] Myers, J., "Simple Authentication and Security Layer - (SASL)", RFC 2222, October 1997. - - [USASCII] US-ASCII. Coded Character Set - 7-Bit American Standard - Code for Information Interchange. Standard ANSI X3.4-1986, - ANSI, 1986. - -6 Authors' Addresses - - Paul Leach - Microsoft - 1 Microsoft Way - Redmond, WA 98052 - - EMail: paulle@microsoft.com - - - Chris Newman - Innosoft International, Inc. - 1050 Lakes Drive - West Covina, CA 91790 USA - - EMail: chris.newman@innosoft.com - -7 ABNF - - What follows is the definition of the notation as is used in the - HTTP/1.1 specification (RFC 2616) and the HTTP authentication - specification (RFC 2617); it is reproduced here for ease of - reference. Since it is intended that a single Digest implementation - can support both HTTP and SASL-based protocols, the same notation is - used in both to facilitate comparison and prevention of unwanted - differences. Since it is cut-and-paste from the HTTP specifications, - not all productions may be used in this specification. It is also not - quite legal ABNF; again, the errors were copied from the HTTP - specifications. - -7.1 Augmented BNF - - All of the mechanisms specified in this document are described in - both prose and an augmented Backus-Naur Form (BNF) similar to that - used by RFC 822 [RFC 822]. Implementers will need to be familiar with - the notation in order to understand this specification. - - - - - -Leach & Newman Standards Track [Page 21] - -RFC 2831 Digest SASL Mechanism May 2000 - - - The augmented BNF includes the following constructs: - - name = definition - The name of a rule is simply the name itself (without any - enclosing "<" and ">") and is separated from its definition by the - equal "=" character. White space is only significant in that - indentation of continuation lines is used to indicate a rule - definition that spans more than one line. Certain basic rules are - in uppercase, such as SP, LWS, HT, CRLF, DIGIT, ALPHA, etc. Angle - brackets are used within definitions whenever their presence will - facilitate discerning the use of rule names. - - "literal" - Quotation marks surround literal text. Unless stated otherwise, - the text is case-insensitive. - - rule1 | rule2 - Elements separated by a bar ("|") are alternatives, e.g., "yes | - no" will accept yes or no. - - (rule1 rule2) - Elements enclosed in parentheses are treated as a single element. - Thus, "(elem (foo | bar) elem)" allows the token sequences - "elem foo elem" and "elem bar elem". - - *rule - The character "*" preceding an element indicates repetition. The - full form is "*element" indicating at least and at most - occurrences of element. Default values are 0 and infinity so - that "*(element)" allows any number, including zero; "1*element" - requires at least one; and "1*2element" allows one or two. - - [rule] - Square brackets enclose optional elements; "[foo bar]" is - equivalent to "*1(foo bar)". - - N rule - Specific repetition: "(element)" is equivalent to - "*(element)"; that is, exactly occurrences of (element). - Thus 2DIGIT is a 2-digit number, and 3ALPHA is a string of three - alphabetic characters. - - #rule - A construct "#" is defined, similar to "*", for defining lists of - elements. The full form is "#element" indicating at least - and at most elements, each separated by one or more commas - (",") and OPTIONAL linear white space (LWS). This makes the usual - form of lists very easy; a rule such as - - - -Leach & Newman Standards Track [Page 22] - -RFC 2831 Digest SASL Mechanism May 2000 - - - ( *LWS element *( *LWS "," *LWS element )) - can be shown as - 1#element - Wherever this construct is used, null elements are allowed, but do - not contribute to the count of elements present. That is, - "(element), , (element) " is permitted, but counts as only two - elements. Therefore, where at least one element is required, at - least one non-null element MUST be present. Default values are 0 - and infinity so that "#element" allows any number, including zero; - "1#element" requires at least one; and "1#2element" allows one or - two. - - ; comment - A semi-colon, set off some distance to the right of rule text, - starts a comment that continues to the end of line. This is a - simple way of including useful notes in parallel with the - specifications. - - implied *LWS - The grammar described by this specification is word-based. Except - where noted otherwise, linear white space (LWS) can be included - between any two adjacent words (token or quoted-string), and - between adjacent words and separators, without changing the - interpretation of a field. At least one delimiter (LWS and/or - separators) MUST exist between any two tokens (for the definition - of "token" below), since they would otherwise be interpreted as a - single token. - -7.2 Basic Rules - - The following rules are used throughout this specification to - describe basic parsing constructs. The US-ASCII coded character set - is defined by ANSI X3.4-1986 [USASCII]. - - OCTET = - CHAR = - UPALPHA = - LOALPHA = - ALPHA = UPALPHA | LOALPHA - DIGIT = - CTL = - CR = - LF = - SP = - HT = - <"> = - CRLF = CR LF - - - -Leach & Newman Standards Track [Page 23] - -RFC 2831 Digest SASL Mechanism May 2000 - - - - All linear white space, including folding, has the same semantics as - SP. A recipient MAY replace any linear white space with a single SP - before interpreting the field value or forwarding the message - downstream. - - LWS = [CRLF] 1*( SP | HT ) - - The TEXT rule is only used for descriptive field contents and values - that are not intended to be interpreted by the message parser. Words - of *TEXT MAY contain characters from character sets other than - ISO-8859-1 [ISO 8859] only when encoded according to the rules of RFC - 2047 [RFC 2047]. - - TEXT = - - A CRLF is allowed in the definition of TEXT only as part of a header - field continuation. It is expected that the folding LWS will be - replaced with a single SP before interpretation of the TEXT value. - - Hexadecimal numeric characters are used in several protocol elements. - - HEX = "A" | "B" | "C" | "D" | "E" | "F" - | "a" | "b" | "c" | "d" | "e" | "f" | DIGIT - - Many HTTP/1.1 header field values consist of words separated by LWS - or special characters. These special characters MUST be in a quoted - string to be used within a parameter value. - - token = 1* - separators = "(" | ")" | "<" | ">" | "@" - | "," | ";" | ":" | "\" | <"> - | "/" | "[" | "]" | "?" | "=" - | "{" | "}" | SP | HT - - A string of text is parsed as a single word if it is quoted using - double-quote marks. - - quoted-string = ( <"> qdstr-val <"> ) - qdstr-val = *( qdtext | quoted-pair ) - qdtext = > - - Note that LWS is NOT implicit between the double-quote marks (<">) - surrounding a qdstr-val and the qdstr-val; any LWS will be considered - part of the qdstr-val. This is also the case for quotation marks - surrounding any other construct. - - - - -Leach & Newman Standards Track [Page 24] - -RFC 2831 Digest SASL Mechanism May 2000 - - - The backslash character ("\") MAY be used as a single-character - quoting mechanism only within qdstr-val and comment constructs. - - quoted-pair = "\" CHAR - - The value of this construct is CHAR. Note that an effect of this rule - is that backslash must be quoted. - -8 Sample Code - - The sample implementation in [Digest] also applies to DIGEST-MD5. - - The following code implements the conversion from UTF-8 to 8859-1 if - necessary. - - /* if the string is entirely in the 8859-1 subset of UTF-8, then - * translate to 8859-1 prior to MD5 - */ - void MD5_UTF8_8859_1(MD5_CTX *ctx, const unsigned char *base, - int len) - { - const unsigned char *scan, *end; - unsigned char cbuf; - - end = base + len; - for (scan = base; scan < end; ++scan) { - if (*scan > 0xC3) break; /* abort if outside 8859-1 */ - if (*scan >= 0xC0 && *scan <= 0xC3) { - if (++scan == end || *scan < 0x80 || *scan > 0xBF) - break; - } - } - /* if we found a character outside 8859-1, don't alter string - */ - if (scan < end) { - MD5Update(ctx, base, len); - return; - } - - /* convert to 8859-1 prior to applying hash - */ - do { - for (scan = base; scan < end && *scan < 0xC0; ++scan) - ; - if (scan != base) MD5Update(ctx, base, scan - base); - if (scan + 1 >= end) break; - cbuf = ((scan[0] & 0x3) << 6) | (scan[1] & 0x3f); - MD5Update(ctx, &cbuf, 1); - - - -Leach & Newman Standards Track [Page 25] - -RFC 2831 Digest SASL Mechanism May 2000 - - - base = scan + 2; - } while (base < end); - } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Leach & Newman Standards Track [Page 26] - -RFC 2831 Digest SASL Mechanism May 2000 - - -9 Full Copyright Statement - - Copyright (C) The Internet Society (2000). All Rights Reserved. - - This document and translations of it may be copied and furnished to - others, and derivative works that comment on or otherwise explain it - or assist in its implementation may be prepared, copied, published - and distributed, in whole or in part, without restriction of any - kind, provided that the above copyright notice and this paragraph are - included on all such copies and derivative works. However, this - document itself may not be modified in any way, such as by removing - the copyright notice or references to the Internet Society or other - Internet organizations, except as needed for the purpose of - developing Internet standards in which case the procedures for - copyrights defined in the Internet Standards process must be - followed, or as required to translate it into languages other than - English. - - The limited permissions granted above are perpetual and will not be - revoked by the Internet Society or its successors or assigns. - - This document and the information contained herein is provided on an - "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING - TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION - HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF - MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. - -Acknowledgement - - Funding for the RFC Editor function is currently provided by the - Internet Society. - - - - - - - - - - - - - - - - - - - -Leach & Newman Standards Track [Page 27] - diff --git a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc3174.txt b/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc3174.txt deleted file mode 100644 index ebe515d..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/doc/rfc/rfc3174.txt +++ /dev/null @@ -1,1235 +0,0 @@ - - - - - - -Network Working Group D. Eastlake, 3rd -Request for Comments: 3174 Motorola -Category: Informational P. Jones - Cisco Systems - September 2001 - - - US Secure Hash Algorithm 1 (SHA1) - -Status of this Memo - - This memo provides information for the Internet community. It does - not specify an Internet standard of any kind. Distribution of this - memo is unlimited. - -Copyright Notice - - Copyright (C) The Internet Society (2001). All Rights Reserved. - -Abstract - - The purpose of this document is to make the SHA-1 (Secure Hash - Algorithm 1) hash algorithm conveniently available to the Internet - community. The United States of America has adopted the SHA-1 hash - algorithm described herein as a Federal Information Processing - Standard. Most of the text herein was taken by the authors from FIPS - 180-1. Only the C code implementation is "original". - -Acknowledgements - - Most of the text herein was taken from [FIPS 180-1]. Only the C code - implementation is "original" but its style is similar to the - previously published MD4 and MD5 RFCs [RFCs 1320, 1321]. - - The SHA-1 is based on principles similar to those used by Professor - Ronald L. Rivest of MIT when designing the MD4 message digest - algorithm [MD4] and is modeled after that algorithm [RFC 1320]. - - Useful comments from the following, which have been incorporated - herein, are gratefully acknowledged: - - Tony Hansen - Garrett Wollman - - - - - - - - -Eastlake & Jones Informational [Page 1] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - -Table of Contents - - 1. Overview of Contents........................................... 2 - 2. Definitions of Bit Strings and Integers........................ 3 - 3. Operations on Words............................................ 3 - 4. Message Padding................................................ 4 - 5. Functions and Constants Used................................... 6 - 6. Computing the Message Digest................................... 6 - 6.1 Method 1...................................................... 6 - 6.2 Method 2...................................................... 7 - 7. C Code......................................................... 8 - 7.1 .h file....................................................... 8 - 7.2 .c file....................................................... 10 - 7.3 Test Driver................................................... 18 - 8. Security Considerations........................................ 20 - References........................................................ 21 - Authors' Addresses................................................ 21 - Full Copyright Statement.......................................... 22 - -1. Overview of Contents - - NOTE: The text below is mostly taken from [FIPS 180-1] and assertions - therein of the security of SHA-1 are made by the US Government, the - author of [FIPS 180-1], and not by the authors of this document. - - This document specifies a Secure Hash Algorithm, SHA-1, for computing - a condensed representation of a message or a data file. When a - message of any length < 2^64 bits is input, the SHA-1 produces a - 160-bit output called a message digest. The message digest can then, - for example, be input to a signature algorithm which generates or - verifies the signature for the message. Signing the message digest - rather than the message often improves the efficiency of the process - because the message digest is usually much smaller in size than the - message. The same hash algorithm must be used by the verifier of a - digital signature as was used by the creator of the digital - signature. Any change to the message in transit will, with very high - probability, result in a different message digest, and the signature - will fail to verify. - - The SHA-1 is called secure because it is computationally infeasible - to find a message which corresponds to a given message digest, or to - find two different messages which produce the same message digest. - Any change to a message in transit will, with very high probability, - result in a different message digest, and the signature will fail to - verify. - - - - - - -Eastlake & Jones Informational [Page 2] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - Section 2 below defines the terminology and functions used as - building blocks to form SHA-1. - -2. Definitions of Bit Strings and Integers - - The following terminology related to bit strings and integers will be - used: - - a. A hex digit is an element of the set {0, 1, ... , 9, A, ... , F}. - A hex digit is the representation of a 4-bit string. Examples: 7 - = 0111, A = 1010. - - b. A word equals a 32-bit string which may be represented as a - sequence of 8 hex digits. To convert a word to 8 hex digits each - 4-bit string is converted to its hex equivalent as described in - (a) above. Example: - - 1010 0001 0000 0011 1111 1110 0010 0011 = A103FE23. - - c. An integer between 0 and 2^32 - 1 inclusive may be represented as - a word. The least significant four bits of the integer are - represented by the right-most hex digit of the word - representation. Example: the integer 291 = 2^8+2^5+2^1+2^0 = - 256+32+2+1 is represented by the hex word, 00000123. - - If z is an integer, 0 <= z < 2^64, then z = (2^32)x + y where 0 <= - x < 2^32 and 0 <= y < 2^32. Since x and y can be represented as - words X and Y, respectively, z can be represented as the pair of - words (X,Y). - - d. block = 512-bit string. A block (e.g., B) may be represented as a - sequence of 16 words. - -3. Operations on Words - - The following logical operators will be applied to words: - - a. Bitwise logical word operations - - X AND Y = bitwise logical "and" of X and Y. - - X OR Y = bitwise logical "inclusive-or" of X and Y. - - X XOR Y = bitwise logical "exclusive-or" of X and Y. - - NOT X = bitwise logical "complement" of X. - - - - - -Eastlake & Jones Informational [Page 3] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - Example: - - 01101100101110011101001001111011 - XOR 01100101110000010110100110110111 - -------------------------------- - = 00001001011110001011101111001100 - - b. The operation X + Y is defined as follows: words X and Y - represent integers x and y, where 0 <= x < 2^32 and 0 <= y < 2^32. - For positive integers n and m, let n mod m be the remainder upon - dividing n by m. Compute - - z = (x + y) mod 2^32. - - Then 0 <= z < 2^32. Convert z to a word, Z, and define Z = X + - Y. - - c. The circular left shift operation S^n(X), where X is a word and n - is an integer with 0 <= n < 32, is defined by - - S^n(X) = (X << n) OR (X >> 32-n). - - In the above, X << n is obtained as follows: discard the left-most - n bits of X and then pad the result with n zeroes on the right - (the result will still be 32 bits). X >> n is obtained by - discarding the right-most n bits of X and then padding the result - with n zeroes on the left. Thus S^n(X) is equivalent to a - circular shift of X by n positions to the left. - -4. Message Padding - - SHA-1 is used to compute a message digest for a message or data file - that is provided as input. The message or data file should be - considered to be a bit string. The length of the message is the - number of bits in the message (the empty message has length 0). If - the number of bits in a message is a multiple of 8, for compactness - we can represent the message in hex. The purpose of message padding - is to make the total length of a padded message a multiple of 512. - SHA-1 sequentially processes blocks of 512 bits when computing the - message digest. The following specifies how this padding shall be - performed. As a summary, a "1" followed by m "0"s followed by a 64- - bit integer are appended to the end of the message to produce a - padded message of length 512 * n. The 64-bit integer is the length - of the original message. The padded message is then processed by the - SHA-1 as n 512-bit blocks. - - - - - - -Eastlake & Jones Informational [Page 4] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - Suppose a message has length l < 2^64. Before it is input to the - SHA-1, the message is padded on the right as follows: - - a. "1" is appended. Example: if the original message is "01010000", - this is padded to "010100001". - - b. "0"s are appended. The number of "0"s will depend on the original - length of the message. The last 64 bits of the last 512-bit block - are reserved - - for the length l of the original message. - - Example: Suppose the original message is the bit string - - 01100001 01100010 01100011 01100100 01100101. - - After step (a) this gives - - 01100001 01100010 01100011 01100100 01100101 1. - - Since l = 40, the number of bits in the above is 41 and 407 "0"s - are appended, making the total now 448. This gives (in hex) - - 61626364 65800000 00000000 00000000 - 00000000 00000000 00000000 00000000 - 00000000 00000000 00000000 00000000 - 00000000 00000000. - - c. Obtain the 2-word representation of l, the number of bits in the - original message. If l < 2^32 then the first word is all zeroes. - Append these two words to the padded message. - - Example: Suppose the original message is as in (b). Then l = 40 - (note that l is computed before any padding). The two-word - representation of 40 is hex 00000000 00000028. Hence the final - padded message is hex - - 61626364 65800000 00000000 00000000 - 00000000 00000000 00000000 00000000 - 00000000 00000000 00000000 00000000 - 00000000 00000000 00000000 00000028. - - The padded message will contain 16 * n words for some n > 0. - The padded message is regarded as a sequence of n blocks M(1) , - M(2), first characters (or bits) of the message. - - - - - - -Eastlake & Jones Informational [Page 5] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - -5. Functions and Constants Used - - A sequence of logical functions f(0), f(1),..., f(79) is used in - SHA-1. Each f(t), 0 <= t <= 79, operates on three 32-bit words B, C, - D and produces a 32-bit word as output. f(t;B,C,D) is defined as - follows: for words B, C, D, - - f(t;B,C,D) = (B AND C) OR ((NOT B) AND D) ( 0 <= t <= 19) - - f(t;B,C,D) = B XOR C XOR D (20 <= t <= 39) - - f(t;B,C,D) = (B AND C) OR (B AND D) OR (C AND D) (40 <= t <= 59) - - f(t;B,C,D) = B XOR C XOR D (60 <= t <= 79). - - A sequence of constant words K(0), K(1), ... , K(79) is used in the - SHA-1. In hex these are given by - - K(t) = 5A827999 ( 0 <= t <= 19) - - K(t) = 6ED9EBA1 (20 <= t <= 39) - - K(t) = 8F1BBCDC (40 <= t <= 59) - - K(t) = CA62C1D6 (60 <= t <= 79). - -6. Computing the Message Digest - - The methods given in 6.1 and 6.2 below yield the same message digest. - Although using method 2 saves sixty-four 32-bit words of storage, it - is likely to lengthen execution time due to the increased complexity - of the address computations for the { W[t] } in step (c). There are - other computation methods which give identical results. - -6.1 Method 1 - - The message digest is computed using the message padded as described - in section 4. The computation is described using two buffers, each - consisting of five 32-bit words, and a sequence of eighty 32-bit - words. The words of the first 5-word buffer are labeled A,B,C,D,E. - The words of the second 5-word buffer are labeled H0, H1, H2, H3, H4. - The words of the 80-word sequence are labeled W(0), W(1),..., W(79). - A single word buffer TEMP is also employed. - - To generate the message digest, the 16-word blocks M(1), M(2),..., - M(n) defined in section 4 are processed in order. The processing of - each M(i) involves 80 steps. - - - - -Eastlake & Jones Informational [Page 6] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - Before processing any blocks, the H's are initialized as follows: in - hex, - - H0 = 67452301 - - H1 = EFCDAB89 - - H2 = 98BADCFE - - H3 = 10325476 - - H4 = C3D2E1F0. - - Now M(1), M(2), ... , M(n) are processed. To process M(i), we - proceed as follows: - - a. Divide M(i) into 16 words W(0), W(1), ... , W(15), where W(0) - is the left-most word. - - b. For t = 16 to 79 let - - W(t) = S^1(W(t-3) XOR W(t-8) XOR W(t-14) XOR W(t-16)). - - c. Let A = H0, B = H1, C = H2, D = H3, E = H4. - - d. For t = 0 to 79 do - - TEMP = S^5(A) + f(t;B,C,D) + E + W(t) + K(t); - - E = D; D = C; C = S^30(B); B = A; A = TEMP; - - e. Let H0 = H0 + A, H1 = H1 + B, H2 = H2 + C, H3 = H3 + D, H4 = H4 - + E. - - After processing M(n), the message digest is the 160-bit string - represented by the 5 words - - H0 H1 H2 H3 H4. - -6.2 Method 2 - - The method above assumes that the sequence W(0), ... , W(79) is - implemented as an array of eighty 32-bit words. This is efficient - from the standpoint of minimization of execution time, since the - addresses of W(t-3), ... ,W(t-16) in step (b) are easily computed. - If space is at a premium, an alternative is to regard { W(t) } as a - - - - - -Eastlake & Jones Informational [Page 7] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - circular queue, which may be implemented using an array of sixteen - 32-bit words W[0], ... W[15]. In this case, in hex let - - MASK = 0000000F. Then processing of M(i) is as follows: - - a. Divide M(i) into 16 words W[0], ... , W[15], where W[0] is the - left-most word. - - b. Let A = H0, B = H1, C = H2, D = H3, E = H4. - - c. For t = 0 to 79 do - - s = t AND MASK; - - if (t >= 16) W[s] = S^1(W[(s + 13) AND MASK] XOR W[(s + 8) AND - MASK] XOR W[(s + 2) AND MASK] XOR W[s]); - - TEMP = S^5(A) + f(t;B,C,D) + E + W[s] + K(t); - - E = D; D = C; C = S^30(B); B = A; A = TEMP; - - d. Let H0 = H0 + A, H1 = H1 + B, H2 = H2 + C, H3 = H3 + D, H4 = H4 - + E. - -7. C Code - - Below is a demonstration implementation of SHA-1 in C. Section 7.1 - contains the header file, 7.2 the C code, and 7.3 a test driver. - -7.1 .h file - -/* - * sha1.h - * - * Description: - * This is the header file for code which implements the Secure - * Hashing Algorithm 1 as defined in FIPS PUB 180-1 published - * April 17, 1995. - * - * Many of the variable names in this code, especially the - * single character names, were used because those were the names - * used in the publication. - * - * Please read the file sha1.c for more information. - * - */ - - - - - -Eastlake & Jones Informational [Page 8] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - -#ifndef _SHA1_H_ -#define _SHA1_H_ - -#include -/* - * If you do not have the ISO standard stdint.h header file, then you - * must typdef the following: - * name meaning - * uint32_t unsigned 32 bit integer - * uint8_t unsigned 8 bit integer (i.e., unsigned char) - * int_least16_t integer of >= 16 bits - * - */ - -#ifndef _SHA_enum_ -#define _SHA_enum_ -enum -{ - shaSuccess = 0, - shaNull, /* Null pointer parameter */ - shaInputTooLong, /* input data too long */ - shaStateError /* called Input after Result */ -}; -#endif -#define SHA1HashSize 20 - -/* - * This structure will hold context information for the SHA-1 - * hashing operation - */ -typedef struct SHA1Context -{ - uint32_t Intermediate_Hash[SHA1HashSize/4]; /* Message Digest */ - - uint32_t Length_Low; /* Message length in bits */ - uint32_t Length_High; /* Message length in bits */ - - /* Index into message block array */ - int_least16_t Message_Block_Index; - uint8_t Message_Block[64]; /* 512-bit message blocks */ - - int Computed; /* Is the digest computed? */ - int Corrupted; /* Is the message digest corrupted? */ -} SHA1Context; - -/* - * Function Prototypes - */ - - - -Eastlake & Jones Informational [Page 9] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - -int SHA1Reset( SHA1Context *); -int SHA1Input( SHA1Context *, - const uint8_t *, - unsigned int); -int SHA1Result( SHA1Context *, - uint8_t Message_Digest[SHA1HashSize]); - -#endif - -7.2 .c file - -/* - * sha1.c - * - * Description: - * This file implements the Secure Hashing Algorithm 1 as - * defined in FIPS PUB 180-1 published April 17, 1995. - * - * The SHA-1, produces a 160-bit message digest for a given - * data stream. It should take about 2**n steps to find a - * message with the same digest as a given message and - * 2**(n/2) to find any two messages with the same digest, - * when n is the digest size in bits. Therefore, this - * algorithm can serve as a means of providing a - * "fingerprint" for a message. - * - * Portability Issues: - * SHA-1 is defined in terms of 32-bit "words". This code - * uses (included via "sha1.h" to define 32 and 8 - * bit unsigned integer types. If your C compiler does not - * support 32 bit unsigned integers, this code is not - * appropriate. - * - * Caveats: - * SHA-1 is designed to work with messages less than 2^64 bits - * long. Although SHA-1 allows a message digest to be generated - * for messages of any number of bits less than 2^64, this - * implementation only works with messages with a length that is - * a multiple of the size of an 8-bit character. - * - */ - - - - - - - - - - -Eastlake & Jones Informational [Page 10] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - -#include "sha1.h" - -/* - * Define the SHA1 circular left shift macro - */ -#define SHA1CircularShift(bits,word) \ - (((word) << (bits)) | ((word) >> (32-(bits)))) - -/* Local Function Prototyptes */ -void SHA1PadMessage(SHA1Context *); -void SHA1ProcessMessageBlock(SHA1Context *); - -/* - * SHA1Reset - * - * Description: - * This function will initialize the SHA1Context in preparation - * for computing a new SHA1 message digest. - * - * Parameters: - * context: [in/out] - * The context to reset. - * - * Returns: - * sha Error Code. - * - */ -int SHA1Reset(SHA1Context *context) -{ - if (!context) - { - return shaNull; - } - - context->Length_Low = 0; - context->Length_High = 0; - context->Message_Block_Index = 0; - - context->Intermediate_Hash[0] = 0x67452301; - context->Intermediate_Hash[1] = 0xEFCDAB89; - context->Intermediate_Hash[2] = 0x98BADCFE; - context->Intermediate_Hash[3] = 0x10325476; - context->Intermediate_Hash[4] = 0xC3D2E1F0; - - context->Computed = 0; - context->Corrupted = 0; - - - - - -Eastlake & Jones Informational [Page 11] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - return shaSuccess; -} - -/* - * SHA1Result - * - * Description: - * This function will return the 160-bit message digest into the - * Message_Digest array provided by the caller. - * NOTE: The first octet of hash is stored in the 0th element, - * the last octet of hash in the 19th element. - * - * Parameters: - * context: [in/out] - * The context to use to calculate the SHA-1 hash. - * Message_Digest: [out] - * Where the digest is returned. - * - * Returns: - * sha Error Code. - * - */ -int SHA1Result( SHA1Context *context, - uint8_t Message_Digest[SHA1HashSize]) -{ - int i; - - if (!context || !Message_Digest) - { - return shaNull; - } - - if (context->Corrupted) - { - return context->Corrupted; - } - - if (!context->Computed) - { - SHA1PadMessage(context); - for(i=0; i<64; ++i) - { - /* message may be sensitive, clear it out */ - context->Message_Block[i] = 0; - } - context->Length_Low = 0; /* and clear length */ - context->Length_High = 0; - context->Computed = 1; - - - -Eastlake & Jones Informational [Page 12] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - } - - for(i = 0; i < SHA1HashSize; ++i) - { - Message_Digest[i] = context->Intermediate_Hash[i>>2] - >> 8 * ( 3 - ( i & 0x03 ) ); - } - - return shaSuccess; -} - -/* - * SHA1Input - * - * Description: - * This function accepts an array of octets as the next portion - * of the message. - * - * Parameters: - * context: [in/out] - * The SHA context to update - * message_array: [in] - * An array of characters representing the next portion of - * the message. - * length: [in] - * The length of the message in message_array - * - * Returns: - * sha Error Code. - * - */ -int SHA1Input( SHA1Context *context, - const uint8_t *message_array, - unsigned length) -{ - if (!length) - { - return shaSuccess; - } - - if (!context || !message_array) - { - return shaNull; - } - - if (context->Computed) - { - context->Corrupted = shaStateError; - - - -Eastlake & Jones Informational [Page 13] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - return shaStateError; - } - - if (context->Corrupted) - { - return context->Corrupted; - } - while(length-- && !context->Corrupted) - { - context->Message_Block[context->Message_Block_Index++] = - (*message_array & 0xFF); - - context->Length_Low += 8; - if (context->Length_Low == 0) - { - context->Length_High++; - if (context->Length_High == 0) - { - /* Message is too long */ - context->Corrupted = 1; - } - } - - if (context->Message_Block_Index == 64) - { - SHA1ProcessMessageBlock(context); - } - - message_array++; - } - - return shaSuccess; -} - -/* - * SHA1ProcessMessageBlock - * - * Description: - * This function will process the next 512 bits of the message - * stored in the Message_Block array. - * - * Parameters: - * None. - * - * Returns: - * Nothing. - * - * Comments: - - - -Eastlake & Jones Informational [Page 14] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - * Many of the variable names in this code, especially the - * single character names, were used because those were the - * names used in the publication. - * - * - */ -void SHA1ProcessMessageBlock(SHA1Context *context) -{ - const uint32_t K[] = { /* Constants defined in SHA-1 */ - 0x5A827999, - 0x6ED9EBA1, - 0x8F1BBCDC, - 0xCA62C1D6 - }; - int t; /* Loop counter */ - uint32_t temp; /* Temporary word value */ - uint32_t W[80]; /* Word sequence */ - uint32_t A, B, C, D, E; /* Word buffers */ - - /* - * Initialize the first 16 words in the array W - */ - for(t = 0; t < 16; t++) - { - W[t] = context->Message_Block[t * 4] << 24; - W[t] |= context->Message_Block[t * 4 + 1] << 16; - W[t] |= context->Message_Block[t * 4 + 2] << 8; - W[t] |= context->Message_Block[t * 4 + 3]; - } - - for(t = 16; t < 80; t++) - { - W[t] = SHA1CircularShift(1,W[t-3] ^ W[t-8] ^ W[t-14] ^ W[t-16]); - } - - A = context->Intermediate_Hash[0]; - B = context->Intermediate_Hash[1]; - C = context->Intermediate_Hash[2]; - D = context->Intermediate_Hash[3]; - E = context->Intermediate_Hash[4]; - - for(t = 0; t < 20; t++) - { - temp = SHA1CircularShift(5,A) + - ((B & C) | ((~B) & D)) + E + W[t] + K[0]; - E = D; - D = C; - C = SHA1CircularShift(30,B); - - - -Eastlake & Jones Informational [Page 15] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - B = A; - A = temp; - } - - for(t = 20; t < 40; t++) - { - temp = SHA1CircularShift(5,A) + (B ^ C ^ D) + E + W[t] + K[1]; - E = D; - D = C; - C = SHA1CircularShift(30,B); - B = A; - A = temp; - } - - for(t = 40; t < 60; t++) - { - temp = SHA1CircularShift(5,A) + - ((B & C) | (B & D) | (C & D)) + E + W[t] + K[2]; - E = D; - D = C; - C = SHA1CircularShift(30,B); - B = A; - A = temp; - } - - for(t = 60; t < 80; t++) - { - temp = SHA1CircularShift(5,A) + (B ^ C ^ D) + E + W[t] + K[3]; - E = D; - D = C; - C = SHA1CircularShift(30,B); - B = A; - A = temp; - } - - context->Intermediate_Hash[0] += A; - context->Intermediate_Hash[1] += B; - context->Intermediate_Hash[2] += C; - context->Intermediate_Hash[3] += D; - context->Intermediate_Hash[4] += E; - - context->Message_Block_Index = 0; -} - - -/* - * SHA1PadMessage - * - - - -Eastlake & Jones Informational [Page 16] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - * Description: - * According to the standard, the message must be padded to an even - * 512 bits. The first padding bit must be a '1'. The last 64 - * bits represent the length of the original message. All bits in - * between should be 0. This function will pad the message - * according to those rules by filling the Message_Block array - * accordingly. It will also call the ProcessMessageBlock function - * provided appropriately. When it returns, it can be assumed that - * the message digest has been computed. - * - * Parameters: - * context: [in/out] - * The context to pad - * ProcessMessageBlock: [in] - * The appropriate SHA*ProcessMessageBlock function - * Returns: - * Nothing. - * - */ - -void SHA1PadMessage(SHA1Context *context) -{ - /* - * Check to see if the current message block is too small to hold - * the initial padding bits and length. If so, we will pad the - * block, process it, and then continue padding into a second - * block. - */ - if (context->Message_Block_Index > 55) - { - context->Message_Block[context->Message_Block_Index++] = 0x80; - while(context->Message_Block_Index < 64) - { - context->Message_Block[context->Message_Block_Index++] = 0; - } - - SHA1ProcessMessageBlock(context); - - while(context->Message_Block_Index < 56) - { - context->Message_Block[context->Message_Block_Index++] = 0; - } - } - else - { - context->Message_Block[context->Message_Block_Index++] = 0x80; - while(context->Message_Block_Index < 56) - { - - - -Eastlake & Jones Informational [Page 17] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - context->Message_Block[context->Message_Block_Index++] = 0; - } - } - - /* - * Store the message length as the last 8 octets - */ - context->Message_Block[56] = context->Length_High >> 24; - context->Message_Block[57] = context->Length_High >> 16; - context->Message_Block[58] = context->Length_High >> 8; - context->Message_Block[59] = context->Length_High; - context->Message_Block[60] = context->Length_Low >> 24; - context->Message_Block[61] = context->Length_Low >> 16; - context->Message_Block[62] = context->Length_Low >> 8; - context->Message_Block[63] = context->Length_Low; - - SHA1ProcessMessageBlock(context); -} - -7.3 Test Driver - - The following code is a main program test driver to exercise the code - in sha1.c. - -/* - * sha1test.c - * - * Description: - * This file will exercise the SHA-1 code performing the three - * tests documented in FIPS PUB 180-1 plus one which calls - * SHA1Input with an exact multiple of 512 bits, plus a few - * error test checks. - * - * Portability Issues: - * None. - * - */ - -#include -#include -#include -#include "sha1.h" - -/* - * Define patterns for testing - */ -#define TEST1 "abc" -#define TEST2a "abcdbcdecdefdefgefghfghighijhi" - - - -Eastlake & Jones Informational [Page 18] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - -#define TEST2b "jkijkljklmklmnlmnomnopnopq" -#define TEST2 TEST2a TEST2b -#define TEST3 "a" -#define TEST4a "01234567012345670123456701234567" -#define TEST4b "01234567012345670123456701234567" - /* an exact multiple of 512 bits */ -#define TEST4 TEST4a TEST4b -char *testarray[4] = -{ - TEST1, - TEST2, - TEST3, - TEST4 -}; -long int repeatcount[4] = { 1, 1, 1000000, 10 }; -char *resultarray[4] = -{ - "A9 99 3E 36 47 06 81 6A BA 3E 25 71 78 50 C2 6C 9C D0 D8 9D", - "84 98 3E 44 1C 3B D2 6E BA AE 4A A1 F9 51 29 E5 E5 46 70 F1", - "34 AA 97 3C D4 C4 DA A4 F6 1E EB 2B DB AD 27 31 65 34 01 6F", - "DE A3 56 A2 CD DD 90 C7 A7 EC ED C5 EB B5 63 93 4F 46 04 52" -}; - -int main() -{ - SHA1Context sha; - int i, j, err; - uint8_t Message_Digest[20]; - - /* - * Perform SHA-1 tests - */ - for(j = 0; j < 4; ++j) - { - printf( "\nTest %d: %d, '%s'\n", - j+1, - repeatcount[j], - testarray[j]); - - err = SHA1Reset(&sha); - if (err) - { - fprintf(stderr, "SHA1Reset Error %d.\n", err ); - break; /* out of for j loop */ - } - - for(i = 0; i < repeatcount[j]; ++i) - { - - - -Eastlake & Jones Informational [Page 19] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - - err = SHA1Input(&sha, - (const unsigned char *) testarray[j], - strlen(testarray[j])); - if (err) - { - fprintf(stderr, "SHA1Input Error %d.\n", err ); - break; /* out of for i loop */ - } - } - - err = SHA1Result(&sha, Message_Digest); - if (err) - { - fprintf(stderr, - "SHA1Result Error %d, could not compute message digest.\n", - err ); - } - else - { - printf("\t"); - for(i = 0; i < 20 ; ++i) - { - printf("%02X ", Message_Digest[i]); - } - printf("\n"); - } - printf("Should match:\n"); - printf("\t%s\n", resultarray[j]); - } - - /* Test some error returns */ - err = SHA1Input(&sha,(const unsigned char *) testarray[1], 1); - printf ("\nError %d. Should be %d.\n", err, shaStateError ); - err = SHA1Reset(0); - printf ("\nError %d. Should be %d.\n", err, shaNull ); - return 0; -} - -8. Security Considerations - - This document is intended to provide convenient open source access by - the Internet community to the United States of America Federal - Information Processing Standard Secure Hash Function SHA-1 [FIPS - 180-1]. No independent assertion of the security of this hash - function by the authors for any particular use is intended. - - - - - - -Eastlake & Jones Informational [Page 20] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - -References - - [FIPS 180-1] "Secure Hash Standard", United States of American, - National Institute of Science and Technology, Federal - Information Processing Standard (FIPS) 180-1, April - 1993. - - [MD4] "The MD4 Message Digest Algorithm," Advances in - Cryptology - CRYPTO '90 Proceedings, Springer-Verlag, - 1991, pp. 303-311. - - [RFC 1320] Rivest, R., "The MD4 Message-Digest Algorithm", RFC - 1320, April 1992. - - [RFC 1321] Rivest, R., "The MD5 Message-Digest Algorithm", RFC - 1321, April 1992. - - [RFC 1750] Eastlake, D., Crocker, S. and J. Schiller, "Randomness - Requirements for Security", RFC 1750, December 1994. - -Authors' Addresses - - Donald E. Eastlake, 3rd - Motorola - 155 Beaver Street - Milford, MA 01757 USA - - Phone: +1 508-634-2066 (h) - +1 508-261-5434 (w) - Fax: +1 508-261-4777 - EMail: Donald.Eastlake@motorola.com - - - Paul E. Jones - Cisco Systems, Inc. - 7025 Kit Creek Road - Research Triangle Park, NC 27709 USA - - Phone: +1 919 392 6948 - EMail: paulej@packetizer.com - - - - - - - - - - - -Eastlake & Jones Informational [Page 21] - -RFC 3174 US Secure Hash Algorithm 1 (SHA1) September 2001 - - -Full Copyright Statement - - Copyright (C) The Internet Society (2001). All Rights Reserved. - - This document and translations of it may be copied and furnished to - others, and derivative works that comment on or otherwise explain it - or assist in its implementation may be prepared, copied, published - and distributed, in whole or in part, without restriction of any - kind, provided that the above copyright notice and this paragraph are - included on all such copies and derivative works. However, this - document itself may not be modified in any way, such as by removing - the copyright notice or references to the Internet Society or other - Internet organizations, except as needed for the purpose of - developing Internet standards in which case the procedures for - copyrights defined in the Internet Standards process must be - followed, or as required to translate it into languages other than - English. - - The limited permissions granted above are perpetual and will not be - revoked by the Internet Society or its successors or assigns. - - This document and the information contained herein is provided on an - "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING - TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION - HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF - MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. - -Acknowledgement - - Funding for the RFC Editor function is currently provided by the - Internet Society. - - - - - - - - - - - - - - - - - - - -Eastlake & Jones Informational [Page 22] - diff --git a/features/smtp/lib/libsmtp---0.1.0/install-sh b/features/smtp/lib/libsmtp---0.1.0/install-sh deleted file mode 100755 index e9de238..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/install-sh +++ /dev/null @@ -1,251 +0,0 @@ -#!/bin/sh -# -# install - install a program, script, or datafile -# This comes from X11R5 (mit/util/scripts/install.sh). -# -# Copyright 1991 by the Massachusetts Institute of Technology -# -# Permission to use, copy, modify, distribute, and sell this software and its -# documentation for any purpose is hereby granted without fee, provided that -# the above copyright notice appear in all copies and that both that -# copyright notice and this permission notice appear in supporting -# documentation, and that the name of M.I.T. not be used in advertising or -# publicity pertaining to distribution of the software without specific, -# written prior permission. M.I.T. makes no representations about the -# suitability of this software for any purpose. It is provided "as is" -# without express or implied warranty. -# -# Calling this script install-sh is preferred over install.sh, to prevent -# `make' implicit rules from creating a file called install from it -# when there is no Makefile. -# -# This script is compatible with the BSD install script, but was written -# from scratch. It can only install one file at a time, a restriction -# shared with many OS's install programs. - - -# set DOITPROG to echo to test this script - -# Don't use :- since 4.3BSD and earlier shells don't like it. -doit="${DOITPROG-}" - - -# put in absolute paths if you don't have them in your path; or use env. vars. - -mvprog="${MVPROG-mv}" -cpprog="${CPPROG-cp}" -chmodprog="${CHMODPROG-chmod}" -chownprog="${CHOWNPROG-chown}" -chgrpprog="${CHGRPPROG-chgrp}" -stripprog="${STRIPPROG-strip}" -rmprog="${RMPROG-rm}" -mkdirprog="${MKDIRPROG-mkdir}" - -transformbasename="" -transform_arg="" -instcmd="$mvprog" -chmodcmd="$chmodprog 0755" -chowncmd="" -chgrpcmd="" -stripcmd="" -rmcmd="$rmprog -f" -mvcmd="$mvprog" -src="" -dst="" -dir_arg="" - -while [ x"$1" != x ]; do - case $1 in - -c) instcmd="$cpprog" - shift - continue;; - - -d) dir_arg=true - shift - continue;; - - -m) chmodcmd="$chmodprog $2" - shift - shift - continue;; - - -o) chowncmd="$chownprog $2" - shift - shift - continue;; - - -g) chgrpcmd="$chgrpprog $2" - shift - shift - continue;; - - -s) stripcmd="$stripprog" - shift - continue;; - - -t=*) transformarg=`echo $1 | sed 's/-t=//'` - shift - continue;; - - -b=*) transformbasename=`echo $1 | sed 's/-b=//'` - shift - continue;; - - *) if [ x"$src" = x ] - then - src=$1 - else - # this colon is to work around a 386BSD /bin/sh bug - : - dst=$1 - fi - shift - continue;; - esac -done - -if [ x"$src" = x ] -then - echo "install: no input file specified" - exit 1 -else - true -fi - -if [ x"$dir_arg" != x ]; then - dst=$src - src="" - - if [ -d $dst ]; then - instcmd=: - chmodcmd="" - else - instcmd=mkdir - fi -else - -# Waiting for this to be detected by the "$instcmd $src $dsttmp" command -# might cause directories to be created, which would be especially bad -# if $src (and thus $dsttmp) contains '*'. - - if [ -f $src -o -d $src ] - then - true - else - echo "install: $src does not exist" - exit 1 - fi - - if [ x"$dst" = x ] - then - echo "install: no destination specified" - exit 1 - else - true - fi - -# If destination is a directory, append the input filename; if your system -# does not like double slashes in filenames, you may need to add some logic - - if [ -d $dst ] - then - dst="$dst"/`basename $src` - else - true - fi -fi - -## this sed command emulates the dirname command -dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` - -# Make sure that the destination directory exists. -# this part is taken from Noah Friedman's mkinstalldirs script - -# Skip lots of stat calls in the usual case. -if [ ! -d "$dstdir" ]; then -defaultIFS=' -' -IFS="${IFS-${defaultIFS}}" - -oIFS="${IFS}" -# Some sh's can't handle IFS=/ for some reason. -IFS='%' -set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'` -IFS="${oIFS}" - -pathcomp='' - -while [ $# -ne 0 ] ; do - pathcomp="${pathcomp}${1}" - shift - - if [ ! -d "${pathcomp}" ] ; - then - $mkdirprog "${pathcomp}" - else - true - fi - - pathcomp="${pathcomp}/" -done -fi - -if [ x"$dir_arg" != x ] -then - $doit $instcmd $dst && - - if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi && - if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi && - if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi && - if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi -else - -# If we're going to rename the final executable, determine the name now. - - if [ x"$transformarg" = x ] - then - dstfile=`basename $dst` - else - dstfile=`basename $dst $transformbasename | - sed $transformarg`$transformbasename - fi - -# don't allow the sed command to completely eliminate the filename - - if [ x"$dstfile" = x ] - then - dstfile=`basename $dst` - else - true - fi - -# Make a temp file name in the proper directory. - - dsttmp=$dstdir/#inst.$$# - -# Move or copy the file name to the temp name - - $doit $instcmd $src $dsttmp && - - trap "rm -f ${dsttmp}" 0 && - -# and set any options; do chmod last to preserve setuid bits - -# If any of these fail, we abort the whole thing. If we want to -# ignore errors from any of these, just make sure not to ignore -# errors from the above "$doit $instcmd $src $dsttmp" command. - - if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi && - if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi && - if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi && - if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi && - -# Now rename the file to the real destination. - - $doit $rmcmd -f $dstdir/$dstfile && - $doit $mvcmd $dsttmp $dstdir/$dstfile - -fi && - - -exit 0 diff --git a/features/smtp/lib/libsmtp---0.1.0/lang/.svn/entries b/features/smtp/lib/libsmtp---0.1.0/lang/.svn/entries deleted file mode 100644 index 8f45eb6..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/lang/.svn/entries +++ /dev/null @@ -1,37 +0,0 @@ -10 - -dir -46 -svn://cuiz.me/cbenchmark/trunk/cbenchmark/features/smtp/lib/libsmtp---0.1.0/lang -svn://cuiz.me - - - -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - -01675afb-4c4d-4bd7-85dd-1440927b3546 - -ru -dir - -es -dir - -de -dir - diff --git a/features/smtp/lib/libsmtp---0.1.0/lang/de/.svn/entries b/features/smtp/lib/libsmtp---0.1.0/lang/de/.svn/entries deleted file mode 100644 index acbdddb..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/lang/de/.svn/entries +++ /dev/null @@ -1,96 +0,0 @@ -10 - -dir -46 -svn://cuiz.me/cbenchmark/trunk/cbenchmark/features/smtp/lib/libsmtp---0.1.0/lang/de -svn://cuiz.me - - - -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - -01675afb-4c4d-4bd7-85dd-1440927b3546 - -libsmtp--.pot -file - - - - -2011-06-28T07:31:18.000000Z -9fbcc2a2a9913997f1179c290de858c0 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2792 - -libsmtp--.mo -file - - - - -2011-06-28T07:31:18.000000Z -6fb0a07e9b6da38354e5558771df26be -2011-06-02T07:01:04.009901Z -35 -cuizheng -has-props - - - - - - - - - - - - - - - - - - - - -2855 - diff --git a/features/smtp/lib/libsmtp---0.1.0/lang/de/.svn/prop-base/libsmtp--.mo.svn-base b/features/smtp/lib/libsmtp---0.1.0/lang/de/.svn/prop-base/libsmtp--.mo.svn-base deleted file mode 100644 index 5e9587e..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/lang/de/.svn/prop-base/libsmtp--.mo.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/features/smtp/lib/libsmtp---0.1.0/lang/de/.svn/text-base/libsmtp--.mo.svn-base b/features/smtp/lib/libsmtp---0.1.0/lang/de/.svn/text-base/libsmtp--.mo.svn-base deleted file mode 100644 index 43dd56eacef2e1b21db9cd4cac5945c659400fc0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2855 zcmb7FOK4q17(Uhditn~swLV5kRcO!krlmH$ZN!+S_Ck}!CK0g|J&*t1Gv0G&t}}Cz zrW>K)QUpQQT?(Qr7lI3Sy3v&zL2y-Yr7I~20sa1&b9<9m8$D$5-81veKmTjK^UJQC zA4hohVLXoU2gZJk?|0xIp0{s_q8OL}$AKRLp9OviJP!OB_#$xctx+U^^FUtLz`ejv zfV}SuAlv;B_$csC;1j^zI|FY5_#ocf!25ycfe!c`Z)bro+J7W6{IED4ycZ4`z10KWs2f(Ai@9O!#fKTK7_?;n+3&8z& zzYJu5J_SC-eBeRgufXSld+rKxO#yj*8OU)}z~_MP*YlqP1>S!E9tQpnJOF%VEQ%fj z&I8$=1oF8b0omSH_54ru{EoY$2x0jLC5d)n+>U|t_}X%gxE^eiANFPV+=m|sGun-D z55@x+8y}P^f?K|Bdw>sN;8uaHU7l7ve7BrF-c z3o=F&S=VRHHAYw5-F|?xxq}Yzn0xv{uwUU%F7c=Lk=i<4OM?_X6Wl5?_ z0vRTRf%I%5EuNm9xFKs^4^tiTh2)yxBUZvGFewKTX%MT46%wESbjB9sCSo=9)r&=^~EVx?1O+ z>&&ebmJPjI5nRecXMq#kPb(*`n=2BO7&UJ%h$PPqSsOOn0fOvEY%a9*?pLa(^eQ4< z4nI(QYZGKR4(U0+xOis%)Y%JS>LyS0pIB2P8jOleD}_$shN~>+cf2_w)E6cr^Z0c#76-LNDO1~bgE$t=#zdnzws3YSo7MOS1E1e^wQXwM0G2qI$olr-x9Bq>7!&@S##~V*^&S3^NdywZ5l7F4dAY$i|&O% znMieI>s@^%SEa$#@(HQnys>WG zUBcD$va}_j+N(OA?HDcAv>TDGbvg=S67u3%%c{FxI@v`Hu8ZHyQ2h9=ZeI4Xw_*L% zdJs2XuO5wRWW1ai1dikCWcs9djbOpDVzxi%T!qG(P;O+%yE4>5-b}-qdo5%GxL~PN zImrIZF4?SrFj}s2t&F$`K^d7ps~j`d!6=8DI%vAE5tjn{n8#OAhGy~-={@(=`Nujp zOsHE)7Htdy(svp<=Rd)`93nX=iUe(p<`SG6VwIc@3D~k{Q@MTLm)Brs*ucvwr5--l zXz}?ZD-1VH%R4)gsGF!JFa0;-h{eLWA=m31#75l=7gf9&bhC#zV|2X5_W~czjna7| LVp|oQl~(jO2;VG! diff --git a/features/smtp/lib/libsmtp---0.1.0/lang/de/.svn/text-base/libsmtp--.pot.svn-base b/features/smtp/lib/libsmtp---0.1.0/lang/de/.svn/text-base/libsmtp--.pot.svn-base deleted file mode 100644 index 749830b..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/lang/de/.svn/text-base/libsmtp--.pot.svn-base +++ /dev/null @@ -1,89 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: libsmtp-- 0.1.0\n" -"POT-Creation-Date: 2003-09-17 08:29+0100\n" -"PO-Revision-Date: 2003-09-17 08:29+0100\n" -"Last-Translator: Timo Benk \n" -"Language-Team: German \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-1\n" -"Content-Transfer-Encoding: 8bit\n" - -msgid "A non-recoverable name server error occurred." -msgstr "Ein nicht behebbarer Fehler des Name Servers ist aufgetreten." - -msgid "A plugin named »$0« cannot be found." -msgstr "Ein Plugin mit dem Namen »$0« konnte nicht gefunden werden." - -msgid "A plugin named »$0« is already loaded." -msgstr "Ein Plugin mit dem Namen »$0« ist bereits geladen worden." - -msgid "A temporary error occurred on an authoritative name server." -msgstr "Ein temporärer Fehler des Name Servers ist aufgetreten." - -msgid "Authentication method »$0« is not supported by server." -msgstr "Die Authentifizierungs Methode »$0« wird nicht unterstützt." - -msgid "Error loading shared object »$0«" -msgstr "»$0« konnte nicht geladen werden." - -msgid "Error loading shared object »$0« - $1." -msgstr "»$0« konnte nicht geladen werden: $1" - -msgid "Error opening »$0« - $1" -msgstr "»$0« konnte nicht geöffnet werden: $1" - -msgid "No plugin loaded for »$0«" -msgstr "Für »$0« ist kein Plugin registriert worden." - -msgid "No valid recipient was given." -msgstr "Die Adresse des Empfängers ist ungültig." - -msgid "Registering plugin »$0«" -msgstr "Registriere Plugin »$0«" - -msgid "Socket is closed." -msgstr "Die Verbindung ist geschlossen." - -msgid "Socket timeout." -msgstr "Socket Timeout." - -msgid "[SSLNFO] ============================" -msgstr "[SSLNFO] ===============================" - -msgid "[SSLNFO] server certificate - issuer:" -msgstr "[SSLNFO] Server Zertifikat - Aussteller:" - -msgid "[SSLNFO] =============================" -msgstr "[SSLNFO] ============================" - -msgid "[SSLNFO] server certificate - subject:" -msgstr "[SSLNFO] Server Zertifikat - Inhaber:" - -msgid "[SSLNFO] SSL connection using $0" -msgstr "[SSLNFO] SSL Verbindung über $0" - -msgid "The decryption failed." -msgstr "Die Entschlüsselung ist fehlgeschlagen." - -msgid "The file »$0« does not exist." -msgstr "Die Datei »$0« existiert nicht." - -msgid "The file »$0« is not readable." -msgstr "Die Datei »$0« ist nicht lesbar." - -msgid "The requested name is valid but does not have an IP address." -msgstr "Der Hostname ist gültig, hat aber keine IP Adresse." - -msgid "The specified host is unknown." -msgstr "Der Hostname konnte nicht aufgelöst werden." - -msgid "Unknown message - »$0«" -msgstr "Unbekannte Nachricht: »$0«" - -msgid "Invalid CRAM-MD5 challenge received." -msgstr "Ungültiger CRAM-MD5 Challenge." - -msgid "Invalid CRAM-SHA1 challenge received." -msgstr "Ungültiger CRAM-SHA1 Challenge." - diff --git a/features/smtp/lib/libsmtp---0.1.0/lang/de/libsmtp--.mo b/features/smtp/lib/libsmtp---0.1.0/lang/de/libsmtp--.mo deleted file mode 100644 index 43dd56eacef2e1b21db9cd4cac5945c659400fc0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2855 zcmb7FOK4q17(Uhditn~swLV5kRcO!krlmH$ZN!+S_Ck}!CK0g|J&*t1Gv0G&t}}Cz zrW>K)QUpQQT?(Qr7lI3Sy3v&zL2y-Yr7I~20sa1&b9<9m8$D$5-81veKmTjK^UJQC zA4hohVLXoU2gZJk?|0xIp0{s_q8OL}$AKRLp9OviJP!OB_#$xctx+U^^FUtLz`ejv zfV}SuAlv;B_$csC;1j^zI|FY5_#ocf!25ycfe!c`Z)bro+J7W6{IED4ycZ4`z10KWs2f(Ai@9O!#fKTK7_?;n+3&8z& zzYJu5J_SC-eBeRgufXSld+rKxO#yj*8OU)}z~_MP*YlqP1>S!E9tQpnJOF%VEQ%fj z&I8$=1oF8b0omSH_54ru{EoY$2x0jLC5d)n+>U|t_}X%gxE^eiANFPV+=m|sGun-D z55@x+8y}P^f?K|Bdw>sN;8uaHU7l7ve7BrF-c z3o=F&S=VRHHAYw5-F|?xxq}Yzn0xv{uwUU%F7c=Lk=i<4OM?_X6Wl5?_ z0vRTRf%I%5EuNm9xFKs^4^tiTh2)yxBUZvGFewKTX%MT46%wESbjB9sCSo=9)r&=^~EVx?1O+ z>&&ebmJPjI5nRecXMq#kPb(*`n=2BO7&UJ%h$PPqSsOOn0fOvEY%a9*?pLa(^eQ4< z4nI(QYZGKR4(U0+xOis%)Y%JS>LyS0pIB2P8jOleD}_$shN~>+cf2_w)E6cr^Z0c#76-LNDO1~bgE$t=#zdnzws3YSo7MOS1E1e^wQXwM0G2qI$olr-x9Bq>7!&@S##~V*^&S3^NdywZ5l7F4dAY$i|&O% znMieI>s@^%SEa$#@(HQnys>WG zUBcD$va}_j+N(OA?HDcAv>TDGbvg=S67u3%%c{FxI@v`Hu8ZHyQ2h9=ZeI4Xw_*L% zdJs2XuO5wRWW1ai1dikCWcs9djbOpDVzxi%T!qG(P;O+%yE4>5-b}-qdo5%GxL~PN zImrIZF4?SrFj}s2t&F$`K^d7ps~j`d!6=8DI%vAE5tjn{n8#OAhGy~-={@(=`Nujp zOsHE)7Htdy(svp<=Rd)`93nX=iUe(p<`SG6VwIc@3D~k{Q@MTLm)Brs*ucvwr5--l zXz}?ZD-1VH%R4)gsGF!JFa0;-h{eLWA=m31#75l=7gf9&bhC#zV|2X5_W~czjna7| LVp|oQl~(jO2;VG! diff --git a/features/smtp/lib/libsmtp---0.1.0/lang/de/libsmtp--.pot b/features/smtp/lib/libsmtp---0.1.0/lang/de/libsmtp--.pot deleted file mode 100644 index 749830b..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/lang/de/libsmtp--.pot +++ /dev/null @@ -1,89 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: libsmtp-- 0.1.0\n" -"POT-Creation-Date: 2003-09-17 08:29+0100\n" -"PO-Revision-Date: 2003-09-17 08:29+0100\n" -"Last-Translator: Timo Benk \n" -"Language-Team: German \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-1\n" -"Content-Transfer-Encoding: 8bit\n" - -msgid "A non-recoverable name server error occurred." -msgstr "Ein nicht behebbarer Fehler des Name Servers ist aufgetreten." - -msgid "A plugin named »$0« cannot be found." -msgstr "Ein Plugin mit dem Namen »$0« konnte nicht gefunden werden." - -msgid "A plugin named »$0« is already loaded." -msgstr "Ein Plugin mit dem Namen »$0« ist bereits geladen worden." - -msgid "A temporary error occurred on an authoritative name server." -msgstr "Ein temporärer Fehler des Name Servers ist aufgetreten." - -msgid "Authentication method »$0« is not supported by server." -msgstr "Die Authentifizierungs Methode »$0« wird nicht unterstützt." - -msgid "Error loading shared object »$0«" -msgstr "»$0« konnte nicht geladen werden." - -msgid "Error loading shared object »$0« - $1." -msgstr "»$0« konnte nicht geladen werden: $1" - -msgid "Error opening »$0« - $1" -msgstr "»$0« konnte nicht geöffnet werden: $1" - -msgid "No plugin loaded for »$0«" -msgstr "Für »$0« ist kein Plugin registriert worden." - -msgid "No valid recipient was given." -msgstr "Die Adresse des Empfängers ist ungültig." - -msgid "Registering plugin »$0«" -msgstr "Registriere Plugin »$0«" - -msgid "Socket is closed." -msgstr "Die Verbindung ist geschlossen." - -msgid "Socket timeout." -msgstr "Socket Timeout." - -msgid "[SSLNFO] ============================" -msgstr "[SSLNFO] ===============================" - -msgid "[SSLNFO] server certificate - issuer:" -msgstr "[SSLNFO] Server Zertifikat - Aussteller:" - -msgid "[SSLNFO] =============================" -msgstr "[SSLNFO] ============================" - -msgid "[SSLNFO] server certificate - subject:" -msgstr "[SSLNFO] Server Zertifikat - Inhaber:" - -msgid "[SSLNFO] SSL connection using $0" -msgstr "[SSLNFO] SSL Verbindung über $0" - -msgid "The decryption failed." -msgstr "Die Entschlüsselung ist fehlgeschlagen." - -msgid "The file »$0« does not exist." -msgstr "Die Datei »$0« existiert nicht." - -msgid "The file »$0« is not readable." -msgstr "Die Datei »$0« ist nicht lesbar." - -msgid "The requested name is valid but does not have an IP address." -msgstr "Der Hostname ist gültig, hat aber keine IP Adresse." - -msgid "The specified host is unknown." -msgstr "Der Hostname konnte nicht aufgelöst werden." - -msgid "Unknown message - »$0«" -msgstr "Unbekannte Nachricht: »$0«" - -msgid "Invalid CRAM-MD5 challenge received." -msgstr "Ungültiger CRAM-MD5 Challenge." - -msgid "Invalid CRAM-SHA1 challenge received." -msgstr "Ungültiger CRAM-SHA1 Challenge." - diff --git a/features/smtp/lib/libsmtp---0.1.0/lang/es/.svn/entries b/features/smtp/lib/libsmtp---0.1.0/lang/es/.svn/entries deleted file mode 100644 index e0f75c0..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/lang/es/.svn/entries +++ /dev/null @@ -1,96 +0,0 @@ -10 - -dir -46 -svn://cuiz.me/cbenchmark/trunk/cbenchmark/features/smtp/lib/libsmtp---0.1.0/lang/es -svn://cuiz.me - - - -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - -01675afb-4c4d-4bd7-85dd-1440927b3546 - -libsmtp--.pot -file - - - - -2011-06-28T07:31:18.000000Z -b78b094d895519c37782aa179450f433 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2837 - -libsmtp--.mo -file - - - - -2011-06-28T07:31:18.000000Z -40fb8e5fafd302863abc21e23b80cbea -2011-06-02T07:01:04.009901Z -35 -cuizheng -has-props - - - - - - - - - - - - - - - - - - - - -2900 - diff --git a/features/smtp/lib/libsmtp---0.1.0/lang/es/.svn/prop-base/libsmtp--.mo.svn-base b/features/smtp/lib/libsmtp---0.1.0/lang/es/.svn/prop-base/libsmtp--.mo.svn-base deleted file mode 100644 index 5e9587e..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/lang/es/.svn/prop-base/libsmtp--.mo.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/features/smtp/lib/libsmtp---0.1.0/lang/es/.svn/text-base/libsmtp--.mo.svn-base b/features/smtp/lib/libsmtp---0.1.0/lang/es/.svn/text-base/libsmtp--.mo.svn-base deleted file mode 100644 index f562b630653dab853d536cf7f3752f7a29313c36..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2900 zcma)-KWrRD6vhV#{|q6J009DMkQ`8ez1#&EoJ$-qj!{ms9m{7BQUqddcYHU=-pn#H zd-l;F(NI!>glN(sgoK1dM*$V0NS6``i3(9b6AF+h_}E4SevuJ>+dECB^L4SoVX3w{Tl0)GKt1`prC7zbBCnm6EK z@H3FU`vxSxSHZ`@f5E4~L;Ip#1AGYYE${$%0elp^1d`oH;M3q`@HF^C_5L47c1P}v z{!f6k{@Wl2Kdixz$@Sx@Gr0qCR1^pcfkhU zH^F1zSKu^wwHp7Y8h`#i#*kLHuqEsu?z?cKJYjFCMidXNNf*_4bUlCvq#NSAAAE2$ zQ4w3k5LVc?hrvg1W7&`omfdlo452>zL6n%Wd9IC4tW3>7TG7cR*P<`ElNRq>T5Bvf zXqwAnIkOh9) z7V+t|uy4YPT59^W{??hPC84_|YM-o2(Qop0A+&P6y}np(EiY~-M+q$$?a{-@`mjJQ zUT*p0MJ|*+MaRNA>E~MQ^U3V&3=-Tnrg%4`O%`=(=rA|=Y)APic1}R8AXW+ql)BOt zZRq%wMI~@qlsA}IG(6Oz-$BDsL-Ez9ZsXC|^!VOMUX<`Dv7YwOESTpvFdquu6Wmb< zsAN}UCisq8T4`QRCgVsYI!XtXx-KZvz#xHE!O3FI`+s-?zX%XBke^hf>Y5&hiNom( z=^hs4AeZ^r?MSvn9>WTgBz_)ontmbBx%eumMHI?gu-qYtqGKUPm5(sP+Cll$KwYB@ zEv+>cN0fE&8{`t1-N-D+tdRSq zQ7O?#2)J?;b4SUdSi%X;vyGLn#^hF^?6n$O64(TXcCe}lTd)D8$2j&#*tDkxv6AR6 z9;6atxZ9MYt;})gODlp!>_$Y8s}w(dhz)xh%f!*Zh8z|UaEW>%1ck;9%ePi1KZjEi zq|i;{I*>C8XXLNOmZf&$BFVl>wMk*#j1{~!d7Kc~ZHb#0-1TwW5+}b3p47GUDpwzb k-I&zXg^{2l_-vw^(O!#Nh0LgB(dZKzyT=zee4@$z2W+!Bo&W#< diff --git a/features/smtp/lib/libsmtp---0.1.0/lang/es/.svn/text-base/libsmtp--.pot.svn-base b/features/smtp/lib/libsmtp---0.1.0/lang/es/.svn/text-base/libsmtp--.pot.svn-base deleted file mode 100644 index c13771d..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/lang/es/.svn/text-base/libsmtp--.pot.svn-base +++ /dev/null @@ -1,89 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: libsmtp-- 0.1.0\n" -"POT-Creation-Date: 2003-09-17 08:29+0100\n" -"PO-Revision-Date: 2003-09-17 08:29+0100\n" -"Last-Translator: Ricardo Pacheco \n" -"Language-Team: Spanish \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-1\n" -"Content-Transfer-Encoding: 8bit\n" - -msgid "A non-recoverable name server error occurred." -msgstr "Ha ocurrido un error no recuperable de servidor de nombres." - -msgid "A plugin named »$0« cannot be found." -msgstr "Un Plugin de nombre »$0« no se pudo encontrar." - -msgid "A plugin named »$0« is already loaded." -msgstr "Ul Plugin de nombre »$0« ya ha sido cargado." - -msgid "A temporary error occurred on an authoritative name server." -msgstr "Un error temporal ha ocurrido en un servidor de nombres autoritario." - -msgid "Authentication method »$0« is not supported by server." -msgstr "El método de autenicación »$0« no es soportado por el servidor." - -msgid "Error loading shared object »$0«" -msgstr "Error al cargar el objeto compartido »$0«" - -msgid "Error loading shared object »$0« - $1." -msgstr "Error al cargar el objeto compartido »$0« - $1." - -msgid "Error opening »$0« - $1" -msgstr "Error abriendo »$0« - $1" - -msgid "No plugin loaded for »$0«" -msgstr "No hay algun Plugin cargado para »$0«" - -msgid "No valid recipient was given." -msgstr "No se especificó un remitente válido." - -msgid "Registering plugin »$0«" -msgstr "Registrando Plugin »$0«" - -msgid "Socket is closed." -msgstr "El socket se cerro." - -msgid "Socket timeout." -msgstr "El socket expiró." - -msgid "[SSLNFO] =============================" -msgstr "[SSLNFO] ================================" - -msgid "[SSLNFO] ============================" -msgstr "[SSLNFO] ========================================" - -msgid "[SSLNFO] server certificate - issuer:" -msgstr "[SSLNFO] Certificado del servidor - Expedido por:" - -msgid "[SSLNFO] server certificate - subject:" -msgstr "[SSLNFO] Certificado del servidor - tema:" - -msgid "[SSLNFO] SSL connection using $0" -msgstr "[SSLNFO] Conección SSL utilizando $0" - -msgid "The decryption failed." -msgstr "La desencripción falló." - -msgid "The file »$0« does not exist." -msgstr "El archivo »$0« no existe." - -msgid "The file »$0« is not readable." -msgstr "El archivo »$0« no es de lectura." - -msgid "The requested name is valid but does not have an IP address." -msgstr "El nombre solicitado es válido pero no posee una dirección IP." - -msgid "The specified host is unknown." -msgstr "El nombre de servidor especificado no es válido." - -msgid "Unknown message - »$0«" -msgstr "Mensaje descnocido: »$0«" - -msgid "Invalid CRAM-MD5 challenge received." -msgstr "Se recivió un reto CRAM-MD5 no válido." - -msgid "Invalid CRAM-SHA1 challenge received." -msgstr "Se recivió un reto CRAM-SHA1 no válido." - diff --git a/features/smtp/lib/libsmtp---0.1.0/lang/es/libsmtp--.mo b/features/smtp/lib/libsmtp---0.1.0/lang/es/libsmtp--.mo deleted file mode 100644 index f562b630653dab853d536cf7f3752f7a29313c36..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2900 zcma)-KWrRD6vhV#{|q6J009DMkQ`8ez1#&EoJ$-qj!{ms9m{7BQUqddcYHU=-pn#H zd-l;F(NI!>glN(sgoK1dM*$V0NS6``i3(9b6AF+h_}E4SevuJ>+dECB^L4SoVX3w{Tl0)GKt1`prC7zbBCnm6EK z@H3FU`vxSxSHZ`@f5E4~L;Ip#1AGYYE${$%0elp^1d`oH;M3q`@HF^C_5L47c1P}v z{!f6k{@Wl2Kdixz$@Sx@Gr0qCR1^pcfkhU zH^F1zSKu^wwHp7Y8h`#i#*kLHuqEsu?z?cKJYjFCMidXNNf*_4bUlCvq#NSAAAE2$ zQ4w3k5LVc?hrvg1W7&`omfdlo452>zL6n%Wd9IC4tW3>7TG7cR*P<`ElNRq>T5Bvf zXqwAnIkOh9) z7V+t|uy4YPT59^W{??hPC84_|YM-o2(Qop0A+&P6y}np(EiY~-M+q$$?a{-@`mjJQ zUT*p0MJ|*+MaRNA>E~MQ^U3V&3=-Tnrg%4`O%`=(=rA|=Y)APic1}R8AXW+ql)BOt zZRq%wMI~@qlsA}IG(6Oz-$BDsL-Ez9ZsXC|^!VOMUX<`Dv7YwOESTpvFdquu6Wmb< zsAN}UCisq8T4`QRCgVsYI!XtXx-KZvz#xHE!O3FI`+s-?zX%XBke^hf>Y5&hiNom( z=^hs4AeZ^r?MSvn9>WTgBz_)ontmbBx%eumMHI?gu-qYtqGKUPm5(sP+Cll$KwYB@ zEv+>cN0fE&8{`t1-N-D+tdRSq zQ7O?#2)J?;b4SUdSi%X;vyGLn#^hF^?6n$O64(TXcCe}lTd)D8$2j&#*tDkxv6AR6 z9;6atxZ9MYt;})gODlp!>_$Y8s}w(dhz)xh%f!*Zh8z|UaEW>%1ck;9%ePi1KZjEi zq|i;{I*>C8XXLNOmZf&$BFVl>wMk*#j1{~!d7Kc~ZHb#0-1TwW5+}b3p47GUDpwzb k-I&zXg^{2l_-vw^(O!#Nh0LgB(dZKzyT=zee4@$z2W+!Bo&W#< diff --git a/features/smtp/lib/libsmtp---0.1.0/lang/es/libsmtp--.pot b/features/smtp/lib/libsmtp---0.1.0/lang/es/libsmtp--.pot deleted file mode 100644 index c13771d..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/lang/es/libsmtp--.pot +++ /dev/null @@ -1,89 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: libsmtp-- 0.1.0\n" -"POT-Creation-Date: 2003-09-17 08:29+0100\n" -"PO-Revision-Date: 2003-09-17 08:29+0100\n" -"Last-Translator: Ricardo Pacheco \n" -"Language-Team: Spanish \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-1\n" -"Content-Transfer-Encoding: 8bit\n" - -msgid "A non-recoverable name server error occurred." -msgstr "Ha ocurrido un error no recuperable de servidor de nombres." - -msgid "A plugin named »$0« cannot be found." -msgstr "Un Plugin de nombre »$0« no se pudo encontrar." - -msgid "A plugin named »$0« is already loaded." -msgstr "Ul Plugin de nombre »$0« ya ha sido cargado." - -msgid "A temporary error occurred on an authoritative name server." -msgstr "Un error temporal ha ocurrido en un servidor de nombres autoritario." - -msgid "Authentication method »$0« is not supported by server." -msgstr "El método de autenicación »$0« no es soportado por el servidor." - -msgid "Error loading shared object »$0«" -msgstr "Error al cargar el objeto compartido »$0«" - -msgid "Error loading shared object »$0« - $1." -msgstr "Error al cargar el objeto compartido »$0« - $1." - -msgid "Error opening »$0« - $1" -msgstr "Error abriendo »$0« - $1" - -msgid "No plugin loaded for »$0«" -msgstr "No hay algun Plugin cargado para »$0«" - -msgid "No valid recipient was given." -msgstr "No se especificó un remitente válido." - -msgid "Registering plugin »$0«" -msgstr "Registrando Plugin »$0«" - -msgid "Socket is closed." -msgstr "El socket se cerro." - -msgid "Socket timeout." -msgstr "El socket expiró." - -msgid "[SSLNFO] =============================" -msgstr "[SSLNFO] ================================" - -msgid "[SSLNFO] ============================" -msgstr "[SSLNFO] ========================================" - -msgid "[SSLNFO] server certificate - issuer:" -msgstr "[SSLNFO] Certificado del servidor - Expedido por:" - -msgid "[SSLNFO] server certificate - subject:" -msgstr "[SSLNFO] Certificado del servidor - tema:" - -msgid "[SSLNFO] SSL connection using $0" -msgstr "[SSLNFO] Conección SSL utilizando $0" - -msgid "The decryption failed." -msgstr "La desencripción falló." - -msgid "The file »$0« does not exist." -msgstr "El archivo »$0« no existe." - -msgid "The file »$0« is not readable." -msgstr "El archivo »$0« no es de lectura." - -msgid "The requested name is valid but does not have an IP address." -msgstr "El nombre solicitado es válido pero no posee una dirección IP." - -msgid "The specified host is unknown." -msgstr "El nombre de servidor especificado no es válido." - -msgid "Unknown message - »$0«" -msgstr "Mensaje descnocido: »$0«" - -msgid "Invalid CRAM-MD5 challenge received." -msgstr "Se recivió un reto CRAM-MD5 no válido." - -msgid "Invalid CRAM-SHA1 challenge received." -msgstr "Se recivió un reto CRAM-SHA1 no válido." - diff --git a/features/smtp/lib/libsmtp---0.1.0/lang/ru/.svn/entries b/features/smtp/lib/libsmtp---0.1.0/lang/ru/.svn/entries deleted file mode 100644 index b780473..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/lang/ru/.svn/entries +++ /dev/null @@ -1,96 +0,0 @@ -10 - -dir -46 -svn://cuiz.me/cbenchmark/trunk/cbenchmark/features/smtp/lib/libsmtp---0.1.0/lang/ru -svn://cuiz.me - - - -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - -01675afb-4c4d-4bd7-85dd-1440927b3546 - -libsmtp--.pot -file - - - - -2011-06-28T07:31:18.000000Z -da37f8af0af2c37e42155aba2067653f -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2610 - -libsmtp--.mo -file - - - - -2011-06-28T07:31:18.000000Z -10875704b5d25d3bbb9a2ce08762222b -2011-06-02T07:01:04.009901Z -35 -cuizheng -has-props - - - - - - - - - - - - - - - - - - - - -2673 - diff --git a/features/smtp/lib/libsmtp---0.1.0/lang/ru/.svn/prop-base/libsmtp--.mo.svn-base b/features/smtp/lib/libsmtp---0.1.0/lang/ru/.svn/prop-base/libsmtp--.mo.svn-base deleted file mode 100644 index 5e9587e..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/lang/ru/.svn/prop-base/libsmtp--.mo.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/features/smtp/lib/libsmtp---0.1.0/lang/ru/.svn/text-base/libsmtp--.mo.svn-base b/features/smtp/lib/libsmtp---0.1.0/lang/ru/.svn/text-base/libsmtp--.mo.svn-base deleted file mode 100644 index 179fbc6035dfa228de336758f5e899c04ea0da41..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2673 zcma)+OKjXk7{?8iSAYU7w3PA~Pzp$`-AxeCZW~0E7FcMSC)Y;5_wNHmUgKa6G{8adE0BN-U_baf_!zk5 zp7eP)xC76VpwRClP~`I^DC$22J^-Etp9SM={Te9zY`j;Jo(7)>cY<$#;=KimGx-#J z0sI;iaTdW{;I-_zzb~!#Ef8fT14kll!n_L;@+5vlP9mSjF~txXcg9BiKv~je%=g2g*wF7d1m-NjgAGX3CsutVX$7G$=9E3MCfhcqWu{ z#tG9jhjUs|U|ltwY28eWO60r#+&4s1O_SNANXZm)%>OacEutEns-;ZhJR#6mT#Sf@vC$-$vfXJkOpyP*CsVV#Imydo$3W~d72|u(kO7LS9Qohj;j`#hIdnu#_6iB1s> z=U77D{#@4}`(QN6ZRCr-6bb2;3d!xs5ANNW8^{Smd7RdC;pK*QhgHj# zC%I}`hH5jOCr9zc8M9=xrj>Qm)Mr?Y>}R#tcu}jMB^2(w+ILtrryXc6Pg1p#C*zJ~ z={UT#W+R1>L)}V5_QTAy(XjI5Y!!*y^n|^;YN)!oPkaO1qV~|+qlG>4c-K%QHbuF7 z$kdqlYV%}IQMdb~Up>FI5V>uC-d!Z&MgL60B`q&%dyz~0c`s0;t4;TuAEa#?cqDM= z>T6#wEqi3eJr{x4a4qt%G3fdWT;jIlF!EQzwi^WDd=|mWB3$v}u--9ofAIa)U<+Zr z?nTRf+x6nsVzw=uSCDo)T$vA-gD?%e;>YJnc;+Xs5vT2YGlRUiXMRiT4dX_1A@&!O zoyo%0u(@>E3rOHWh~UCp_a++d+(Zy&U8CeC>a|Mct2a~kaM>eO;=+x+rZ3(vHQW_9 zxS&XXc<2099Qo1GX|m9jU-~m_crmt%bQS5BR_ryJA!$QzoZYftcLNk5BDI8}t8@yC z+*Tv3`;m~}UsR-@-MQwf#;v7GUMp@dd2rdI+Cmgw_G1^au394`0{s}aVwW_+D1z8Q zxQpNnkUW|NxfRA_w;p*d#Qr<2W-i$vEIOTomRo5fWDt5tG(2<33w$r19^0+mCqq3q z$_;L(9xL2CGMcH;JdI=Z5tpFt!{+&sqbeLH_|; C$+T+# diff --git a/features/smtp/lib/libsmtp---0.1.0/lang/ru/.svn/text-base/libsmtp--.pot.svn-base b/features/smtp/lib/libsmtp---0.1.0/lang/ru/.svn/text-base/libsmtp--.pot.svn-base deleted file mode 100644 index d4d1e40..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/lang/ru/.svn/text-base/libsmtp--.pot.svn-base +++ /dev/null @@ -1,89 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: libsmtp-- 0.1.0\n" -"POT-Creation-Date: 2003-09-17 08:29+0100\n" -"PO-Revision-Date: 2003-09-17 08:29+0100\n" -"Last-Translator: Vitaly Ovchinnikov \n" -"Language-Team: Russian \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=KOI8-R\n" -"Content-Transfer-Encoding: 8bit\n" - -msgid "A non-recoverable name server error occurred." -msgstr "îÅÉÓÐÒÁ×ÉÍÁÑ ÏÛÉÂËÁ ÓÅÒ×ÅÒÁ ÉÍÅÎ." - -msgid "A plugin named »$0« cannot be found." -msgstr "ðÌÁÇÉÎ »$0« ÎÅ ÎÁÊÄÅÎ." - -msgid "A plugin named »$0« is already loaded." -msgstr "ðÌÁÇÉÎ »$0« ÕÖÅ ÚÁÇÒÕÖÅÎ." - -msgid "A temporary error occurred on an authoritative name server." -msgstr "÷ÒÅÍÅÎÎÁÑ ÏÛÉÂËÁ ÎÁ Á×ÔÏÒÉÚÏ×ÁÎÎÏÍ ÓÅÒ×ÅÒÅ ÉÍÅÎ." - -msgid "Authentication method »$0« is not supported by server." -msgstr "íÅÔÏÄ Á×ÔÏÒÉÚÁÃÉÉ »$0« ÎÅ ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ ÓÅÒ×ÅÒÏÍ." - -msgid "Error loading shared object »$0«" -msgstr "îÅ×ÏÚÍÏÖÎÏ ÚÁÇÒÕÚÉÔØ ÏÂßÅËÔ »$0«" - -msgid "Error loading shared object »$0« - $1." -msgstr "îÅ×ÏÚÍÏÖÎÏ ÚÁÇÒÕÚÉÔØ ÏÂßÅËÔ »$0«: $1" - -msgid "Error opening »$0« - $1" -msgstr "ïÛÉÂËÁ ÏÔËÒÙÔÉÑ »$0«: $1" - -msgid "No plugin loaded for »$0«" -msgstr "ðÌÁÇÉÎ ÄÌÑ »$0« ÎÅ ÚÁÇÒÕÖÅÎ." - -msgid "No valid recipient was given." -msgstr "ðÏÌÕÞÁÔÅÌÉ ÎÅ ÕËÁÚÁÎÙ." - -msgid "Registering plugin »$0«" -msgstr "òÅÇÉÓÔÒÉÒÕÀ ÐÌÁÇÉÎ »$0«" - -msgid "Socket is closed." -msgstr "óÏËÅÔ ÚÁËÒÙÔ." - -msgid "Socket timeout." -msgstr "éÓÔÅËÌÏ ×ÒÅÍÑ ÏÖÉÄÁÎÉÑ ÄÌÑ ÓÏËÅÔÁ." - -msgid "[SSLNFO] ============================" -msgstr "[SSLNFO] ===============================" - -msgid "[SSLNFO] server certificate - issuer:" -msgstr "[SSLNFO] ÓÅÒÔÉÆÉËÁÔ ÓÅÒ×ÅÒÁ - issuer:" - -msgid "[SSLNFO] =============================" -msgstr "[SSLNFO] ============================" - -msgid "[SSLNFO] server certificate - subject:" -msgstr "[SSLNFO] ÓÅÒÔÉÆÉËÁÔ ÓÅÒ×ÅÒÁ - subject:" - -msgid "[SSLNFO] SSL connection using $0" -msgstr "[SSLNFO] SSL-ÐÏÄËÌÀÞÅÎÉÅ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ $0" - -msgid "The decryption failed." -msgstr "ïÛÉÂËÁ ÒÁÓËÏÄÉÒÏ×ÁÎÉÑ." - -msgid "The file »$0« does not exist." -msgstr "æÁÊÌ »$0« ÎÅ ÓÕÝÅÓÔ×ÕÅÔ." - -msgid "The file »$0« is not readable." -msgstr "îÅ×ÏÚÍÏÖÎÏ ÐÒÏÞÉÔÁÔØ æÁÊÌ »$0«." - -msgid "The requested name is valid but does not have an IP address." -msgstr "éÍÑ ÈÏÓÔÁ ËÏÒÒÅËÔÎÏ, ÎÏ ÎÅ ÉÍÅÅÔ IP-ÁÄÒÅÓÁ." - -msgid "The specified host is unknown." -msgstr "õËÁÚÁÎÙÊ ÈÏÓÔ ÎÅ ÎÁÊÄÅÎ." - -msgid "Unknown message - »$0«" -msgstr "îÅÉÚ×ÅÓÔÎÏÅ ÓÏÏÂÝÅÎÉÅ: »$0«" - -msgid "Invalid CRAM-MD5 challenge received." -msgstr "ðÏÌÕÞÅÎ ÎÅ×ÅÒÎÙÊ CRAM-MD5 Challenge." - -msgid "Invalid CRAM-SHA1 challenge received." -msgstr "ðÏÌÕÞÅÎ ÎÅ×ÅÒÎÙÊ CRAM-SHA1 Challenge." - diff --git a/features/smtp/lib/libsmtp---0.1.0/lang/ru/libsmtp--.mo b/features/smtp/lib/libsmtp---0.1.0/lang/ru/libsmtp--.mo deleted file mode 100644 index 179fbc6035dfa228de336758f5e899c04ea0da41..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2673 zcma)+OKjXk7{?8iSAYU7w3PA~Pzp$`-AxeCZW~0E7FcMSC)Y;5_wNHmUgKa6G{8adE0BN-U_baf_!zk5 zp7eP)xC76VpwRClP~`I^DC$22J^-Etp9SM={Te9zY`j;Jo(7)>cY<$#;=KimGx-#J z0sI;iaTdW{;I-_zzb~!#Ef8fT14kll!n_L;@+5vlP9mSjF~txXcg9BiKv~je%=g2g*wF7d1m-NjgAGX3CsutVX$7G$=9E3MCfhcqWu{ z#tG9jhjUs|U|ltwY28eWO60r#+&4s1O_SNANXZm)%>OacEutEns-;ZhJR#6mT#Sf@vC$-$vfXJkOpyP*CsVV#Imydo$3W~d72|u(kO7LS9Qohj;j`#hIdnu#_6iB1s> z=U77D{#@4}`(QN6ZRCr-6bb2;3d!xs5ANNW8^{Smd7RdC;pK*QhgHj# zC%I}`hH5jOCr9zc8M9=xrj>Qm)Mr?Y>}R#tcu}jMB^2(w+ILtrryXc6Pg1p#C*zJ~ z={UT#W+R1>L)}V5_QTAy(XjI5Y!!*y^n|^;YN)!oPkaO1qV~|+qlG>4c-K%QHbuF7 z$kdqlYV%}IQMdb~Up>FI5V>uC-d!Z&MgL60B`q&%dyz~0c`s0;t4;TuAEa#?cqDM= z>T6#wEqi3eJr{x4a4qt%G3fdWT;jIlF!EQzwi^WDd=|mWB3$v}u--9ofAIa)U<+Zr z?nTRf+x6nsVzw=uSCDo)T$vA-gD?%e;>YJnc;+Xs5vT2YGlRUiXMRiT4dX_1A@&!O zoyo%0u(@>E3rOHWh~UCp_a++d+(Zy&U8CeC>a|Mct2a~kaM>eO;=+x+rZ3(vHQW_9 zxS&XXc<2099Qo1GX|m9jU-~m_crmt%bQS5BR_ryJA!$QzoZYftcLNk5BDI8}t8@yC z+*Tv3`;m~}UsR-@-MQwf#;v7GUMp@dd2rdI+Cmgw_G1^au394`0{s}aVwW_+D1z8Q zxQpNnkUW|NxfRA_w;p*d#Qr<2W-i$vEIOTomRo5fWDt5tG(2<33w$r19^0+mCqq3q z$_;L(9xL2CGMcH;JdI=Z5tpFt!{+&sqbeLH_|; C$+T+# diff --git a/features/smtp/lib/libsmtp---0.1.0/lang/ru/libsmtp--.pot b/features/smtp/lib/libsmtp---0.1.0/lang/ru/libsmtp--.pot deleted file mode 100644 index d4d1e40..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/lang/ru/libsmtp--.pot +++ /dev/null @@ -1,89 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: libsmtp-- 0.1.0\n" -"POT-Creation-Date: 2003-09-17 08:29+0100\n" -"PO-Revision-Date: 2003-09-17 08:29+0100\n" -"Last-Translator: Vitaly Ovchinnikov \n" -"Language-Team: Russian \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=KOI8-R\n" -"Content-Transfer-Encoding: 8bit\n" - -msgid "A non-recoverable name server error occurred." -msgstr "îÅÉÓÐÒÁ×ÉÍÁÑ ÏÛÉÂËÁ ÓÅÒ×ÅÒÁ ÉÍÅÎ." - -msgid "A plugin named »$0« cannot be found." -msgstr "ðÌÁÇÉÎ »$0« ÎÅ ÎÁÊÄÅÎ." - -msgid "A plugin named »$0« is already loaded." -msgstr "ðÌÁÇÉÎ »$0« ÕÖÅ ÚÁÇÒÕÖÅÎ." - -msgid "A temporary error occurred on an authoritative name server." -msgstr "÷ÒÅÍÅÎÎÁÑ ÏÛÉÂËÁ ÎÁ Á×ÔÏÒÉÚÏ×ÁÎÎÏÍ ÓÅÒ×ÅÒÅ ÉÍÅÎ." - -msgid "Authentication method »$0« is not supported by server." -msgstr "íÅÔÏÄ Á×ÔÏÒÉÚÁÃÉÉ »$0« ÎÅ ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ ÓÅÒ×ÅÒÏÍ." - -msgid "Error loading shared object »$0«" -msgstr "îÅ×ÏÚÍÏÖÎÏ ÚÁÇÒÕÚÉÔØ ÏÂßÅËÔ »$0«" - -msgid "Error loading shared object »$0« - $1." -msgstr "îÅ×ÏÚÍÏÖÎÏ ÚÁÇÒÕÚÉÔØ ÏÂßÅËÔ »$0«: $1" - -msgid "Error opening »$0« - $1" -msgstr "ïÛÉÂËÁ ÏÔËÒÙÔÉÑ »$0«: $1" - -msgid "No plugin loaded for »$0«" -msgstr "ðÌÁÇÉÎ ÄÌÑ »$0« ÎÅ ÚÁÇÒÕÖÅÎ." - -msgid "No valid recipient was given." -msgstr "ðÏÌÕÞÁÔÅÌÉ ÎÅ ÕËÁÚÁÎÙ." - -msgid "Registering plugin »$0«" -msgstr "òÅÇÉÓÔÒÉÒÕÀ ÐÌÁÇÉÎ »$0«" - -msgid "Socket is closed." -msgstr "óÏËÅÔ ÚÁËÒÙÔ." - -msgid "Socket timeout." -msgstr "éÓÔÅËÌÏ ×ÒÅÍÑ ÏÖÉÄÁÎÉÑ ÄÌÑ ÓÏËÅÔÁ." - -msgid "[SSLNFO] ============================" -msgstr "[SSLNFO] ===============================" - -msgid "[SSLNFO] server certificate - issuer:" -msgstr "[SSLNFO] ÓÅÒÔÉÆÉËÁÔ ÓÅÒ×ÅÒÁ - issuer:" - -msgid "[SSLNFO] =============================" -msgstr "[SSLNFO] ============================" - -msgid "[SSLNFO] server certificate - subject:" -msgstr "[SSLNFO] ÓÅÒÔÉÆÉËÁÔ ÓÅÒ×ÅÒÁ - subject:" - -msgid "[SSLNFO] SSL connection using $0" -msgstr "[SSLNFO] SSL-ÐÏÄËÌÀÞÅÎÉÅ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ $0" - -msgid "The decryption failed." -msgstr "ïÛÉÂËÁ ÒÁÓËÏÄÉÒÏ×ÁÎÉÑ." - -msgid "The file »$0« does not exist." -msgstr "æÁÊÌ »$0« ÎÅ ÓÕÝÅÓÔ×ÕÅÔ." - -msgid "The file »$0« is not readable." -msgstr "îÅ×ÏÚÍÏÖÎÏ ÐÒÏÞÉÔÁÔØ æÁÊÌ »$0«." - -msgid "The requested name is valid but does not have an IP address." -msgstr "éÍÑ ÈÏÓÔÁ ËÏÒÒÅËÔÎÏ, ÎÏ ÎÅ ÉÍÅÅÔ IP-ÁÄÒÅÓÁ." - -msgid "The specified host is unknown." -msgstr "õËÁÚÁÎÙÊ ÈÏÓÔ ÎÅ ÎÁÊÄÅÎ." - -msgid "Unknown message - »$0«" -msgstr "îÅÉÚ×ÅÓÔÎÏÅ ÓÏÏÂÝÅÎÉÅ: »$0«" - -msgid "Invalid CRAM-MD5 challenge received." -msgstr "ðÏÌÕÞÅÎ ÎÅ×ÅÒÎÙÊ CRAM-MD5 Challenge." - -msgid "Invalid CRAM-SHA1 challenge received." -msgstr "ðÏÌÕÞÅÎ ÎÅ×ÅÒÎÙÊ CRAM-SHA1 Challenge." - diff --git a/features/smtp/lib/libsmtp---0.1.0/ldconfig.wrapper b/features/smtp/lib/libsmtp---0.1.0/ldconfig.wrapper deleted file mode 100755 index 22c2b0b..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/ldconfig.wrapper +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/sh - -# run ldconfig depending on the operating system -case `./config.guess` in - *-*-darwin*) - echo "!!!!!!!!!!!!!!!!!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!!!!!" - echo " " - echo " You will need to set the environment variable " - echo " DYLD_LIBRARY_PATH to point to: " - echo " " - echo " \"$@\" " - echo " " - echo "!!!!!!!!!!!!!!!!!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!!!!!" - ;; - *-*-solaris*) - # does the following id command work on all Solaris machines? - if test `id | cut -d= -f2 | cut -d\( -f1` != 0 - then - echo "!!!!!!!!!!!!!!!!!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!!!!!" - echo " " - echo " You will need to run the following command as root: " - echo " " - echo " \"crle -i $@\" " - echo " " - echo " or you will need to set the environment variable " - echo " LD_LIBRARY_PATH to point to: " - echo " " - echo " \"$@\" " - echo " " - echo "!!!!!!!!!!!!!!!!!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!!!!!" - else - crle -i $@ - fi - ;; - *) - if test `id -u` != 0 - then - echo "!!!!!!!!!!!!!!!!!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!!!!!" - echo " " - echo " You will need to run the following command as root: " - echo " " - echo " \"ldconfig $@\" " - echo " " - echo " or you will need to set the environment variable " - echo " LD_LIBRARY_PATH to point to: " - echo " " - echo " \"$@\" " - echo " " - echo "!!!!!!!!!!!!!!!!!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!!!!!" - else - /sbin/ldconfig $@ - fi - ;; -esac diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/entries b/features/smtp/lib/libsmtp---0.1.0/src/.svn/entries deleted file mode 100644 index 280b56e..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/entries +++ /dev/null @@ -1,884 +0,0 @@ -10 - -dir -46 -svn://cuiz.me/cbenchmark/trunk/cbenchmark/features/smtp/lib/libsmtp---0.1.0/src -svn://cuiz.me - - - -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - -01675afb-4c4d-4bd7-85dd-1440927b3546 - -error.h -file - - - - -2011-06-28T07:31:19.000000Z -d471be5fbbfd8dafd80bd0cdcb3b746f -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -3031 - -plugin.c -file - - - - -2011-06-28T07:31:19.000000Z -6bd7b31c9023885d96f5a96d890a22bd -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -16530 - -alloc.h -file - - - - -2011-06-28T07:31:19.000000Z -7e3a4856b85289e8b8c580e1f0299607 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -3800 - -plugins -dir - -Makefile.in -file - - - - -2011-06-28T07:31:19.000000Z -f6e221e18e217e84386485616b655a3f -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -3526 - -init.c -file - - - - -2011-06-28T07:31:19.000000Z -92cd9e3c100031037b88b48c5098bc56 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2222 - -plugin.h -file - - - - -2011-06-28T07:31:19.000000Z -bbf06e111c94d6d724d08a1303ec85a9 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -5068 - -string.c -file - - - - -2011-06-28T07:31:19.000000Z -c2ac2e3bcac4a69a0c72ec1df675a822 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -9127 - -inetsocket.c -file - - - - -2011-06-28T07:31:19.000000Z -977e7d2f39af0f3d892d6da6724c9d8c -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -10209 - -sslsocket.c -file - - - - -2011-06-28T07:31:19.000000Z -6e48bb5d939b4541144b70b614eff5dc -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -17488 - -string.h -file - - - - -2011-06-28T07:31:19.000000Z -0f172b9487b1ee476c1269ffdebb59c1 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -6116 - -inetsocket.h -file - - - - -2011-06-28T07:31:19.000000Z -1adf525a0419cd205397259230d28c33 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -5063 - -i18n.c -file - - - - -2011-06-28T07:31:19.000000Z -f8914b6a26935315ab63779ac2477691 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -4637 - -sslsocket.h -file - - - - -2011-06-28T07:31:19.000000Z -a3b1fddb70b8dbb941b405aaabc5bdba -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -7200 - -log.c -file - - - - -2011-06-28T07:31:19.000000Z -a3ae74c05e5aee67288c08fca263624f -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2806 - -smtp.c -file - - - - -2011-06-28T07:31:19.000000Z -e4ce23a62f9ddef49fe34b2d27d2aefe -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -30339 - -i18n.h -file - - - - -2011-06-28T07:31:19.000000Z -0390b822da2ce0f610fb1711f19a20af -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -4269 - -includes -dir - -dlfcn.c -file - - - - -2011-06-28T07:31:19.000000Z -e52032de5fbb73599a5ec2ec13f5bc9a -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -6513 - -algorithm.c -file - - - - -2011-06-28T07:31:19.000000Z -3fec583eb7076c5a23231e050389997c -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -10767 - -log.h -file - - - - -2011-06-28T07:31:19.000000Z -54d61f76b9f46caa54dffa121cfde3e1 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2999 - -smtp.h -file - - - - -2011-06-28T07:31:19.000000Z -a8dda8cc245745b38ef21e2ea90171f5 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -10650 - -error.c -file - - - - -2011-06-28T07:31:19.000000Z -1d54339762469e6da6ee6a51d5a83267 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -3610 - -alloc.c -file - - - - -2011-06-28T07:31:19.000000Z -6e7f698bc5c817757655e5f6d92bf322 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -4348 - -dlfcn.h -file - - - - -2011-06-28T07:31:19.000000Z -eff7022cba9b94c3205a8a02b096f0b7 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2275 - -algorithm.h -file - - - - -2011-06-28T07:31:19.000000Z -8154447efc9d37cc83b80f20e2a76a41 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -7365 - -Makefile -file - - - - -2011-06-28T07:31:19.000000Z -3fb3d516a8b1a018be985adacc43da39 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -3974 - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/Makefile.in.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/Makefile.in.svn-base deleted file mode 100644 index 534f466..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/Makefile.in.svn-base +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright (C) 2003 Timo Benk t_benk@web.de -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the -# Free Software Foundation, Inc., 59 Temple Place, Suite 330, -# Boston, MA 02111-1307 USA - -mandir = @mandir@ -sharedir = @datadir@ - -prefix = @prefix@ -exec_prefix = @exec_prefix@ -bindir = $(exec_prefix)/bin -libdir = $(exec_prefix)/lib -includedir = $(exec_prefix)/include - -LIBNAM = @lib_nam@ -LIBVER = @lib_ver_major@.@lib_ver_minor@.@lib_ver_release@ -LIBEXT = @lib_ext@ -LIBCOMPAT = @lib_ver_major@.@lib_ver_minor@ -CC = @CC@ -CFLAGS = @CFLAGS@ @ssl@ @bldtyp_lib@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -INSTALL = @INSTALL@ - -NO_SSL_OBJS=alloc.o error.o i18n.o inetsocket.o init.o log.o plugin.o smtp.o string.o -SSL_OBJS=algorithm.o sslsocket.o - -OBJS = @objs@ @macos_dlfcn@ -HDRS = @hdrs@ - -all: libsmtp.so - (cd plugins; make all) - -clean: - rm -f *.o - rm -f *.so* - rm -f *.a - rm -f *.dylib - (cd plugins; make clean) - -libsmtp.so: $(OBJS) - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) -o $(LIBNAM).$(LIBEXT).$(LIBVER) $(OBJS) - rm -f $(LIBNAM).$(LIBEXT) - rm -f $(LIBNAM).$(LIBEXT).$(LIBCOMPAT) - ln -s $(LIBNAM).$(LIBEXT).$(LIBVER) $(LIBNAM).$(LIBEXT) - ln -s $(LIBNAM).$(LIBEXT).$(LIBVER) $(LIBNAM).$(LIBEXT).$(LIBCOMPAT) - ar -rc $(LIBNAM).a $(OBJS) - ranlib $(LIBNAM).a - @strip@ $(LIBNAM).$(LIBEXT).$(LIBCOMPAT) - -algorithm.o: - $(CC) $(CFLAGS) -c algorithm.c -o algorithm.o - -alloc.o: - $(CC) $(CFLAGS) -c alloc.c -o alloc.o - -error.o: - $(CC) $(CFLAGS) -c error.c -o error.o - -i18n.o: - $(CC) $(CFLAGS) -c i18n.c -o i18n.o - -inetsocket.o: - $(CC) $(CFLAGS) -c inetsocket.c -o inetsocket.o - -init.o: - $(CC) $(CFLAGS) -c init.c -o init.o - -log.o: - $(CC) $(CFLAGS) -c log.c -o log.o - -plugin.o: - $(CC) $(CFLAGS) -c plugin.c -o plugin.o - -smtp.o: - $(CC) $(CFLAGS) -c smtp.c -o smtp.o - -string.o: - $(CC) $(CFLAGS) -c string.c -o string.o - -dlfcn.o: - $(CC) $(CFLAGS) -c dlfcn.c -o dlfcn.o - -install: all - (cd plugins && make install) - $(INSTALL) -m 0755 -d $(libdir) - $(INSTALL) -m 0755 -d $(includedir)/libsmtp-- - $(INSTALL) -m 0755 -d $(sharedir)/locale/de/LC_MESSAGES - $(INSTALL) -m 0755 -d $(sharedir)/locale/ru/LC_MESSAGES - $(INSTALL) -m 0755 -d $(sharedir)/locale/es/LC_MESSAGES - $(INSTALL) -m 0644 $(LIBNAM).$(LIBEXT).$(LIBVER) $(libdir) - $(INSTALL) -m 0644 $(LIBNAM).a $(libdir) - $(INSTALL) -m 0644 $(HDRS) $(includedir)/libsmtp-- - $(INSTALL) -m 0644 ../lang/de/libsmtp--.mo $(sharedir)/locale/de/LC_MESSAGES - $(INSTALL) -m 0644 ../lang/ru/libsmtp--.mo $(sharedir)/locale/ru/LC_MESSAGES - $(INSTALL) -m 0644 ../lang/es/libsmtp--.mo $(sharedir)/locale/es/LC_MESSAGES - rm -rf $(libdir)/$(LIBNAM).$(LIBEXT).$(LIBCOMPAT) - ln -s $(LIBNAM).$(LIBEXT).$(LIBVER) $(libdir)/$(LIBNAM).$(LIBEXT).$(LIBCOMPAT) - rm -rf $(libdir)/$(LIBNAM).$(LIBEXT) - ln -s $(LIBNAM).$(LIBEXT).$(LIBVER) $(libdir)/$(LIBNAM).$(LIBEXT) - (cd ..; ./ldconfig.wrapper $(libdir)) - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/Makefile.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/Makefile.svn-base deleted file mode 100644 index d1feb48..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/Makefile.svn-base +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright (C) 2003 Timo Benk t_benk@web.de -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the -# Free Software Foundation, Inc., 59 Temple Place, Suite 330, -# Boston, MA 02111-1307 USA - -mandir = ${prefix}/man -sharedir = ${prefix}/share - -prefix = /usr/local/libsmtp---0.1.0 -exec_prefix = ${prefix} -bindir = $(exec_prefix)/bin -libdir = $(exec_prefix)/lib -includedir = $(exec_prefix)/include - -LIBNAM = libsmtp-- -LIBVER = 0.1.0 -LIBEXT = so -LIBCOMPAT = 0.1 -CC = gcc -#CFLAGS = -g -O2 -pedantic -fno-builtin-log -fPIC -Os -Wall -DPLUGINDIR=\"$(libdir)/libsmtp--/plugins\" -DLOCALEDIR=\"$(sharedir)/locale\" -DTEXTDOMAIN=\"libsmtp--\" -D__USE_SSL_ -CFLAGS = -g -O0 -fno-builtin-log -fPIC -Wall -DPLUGINDIR=\"$(libdir)/libsmtp--/plugins\" -DLOCALEDIR=\"$(sharedir)/locale\" -DTEXTDOMAIN=\"libsmtp--\" -D__USE_SSL_ -#LDFLAGS = -s -shared -nostartfiles -Wl,-hlibsmtp--.so.$(LIBVER) -LDFLAGS = -shared -nostartfiles -Wl,-hlibsmtp--.so.$(LIBVER) -LIBS = -ldl -lssl -INSTALL = /usr/bin/install -c - -NO_SSL_OBJS=alloc.o error.o i18n.o inetsocket.o init.o log.o plugin.o smtp.o string.o -SSL_OBJS=algorithm.o sslsocket.o - -OBJS = $(SSL_OBJS) $(NO_SSL_OBJS) -HDRS = includes/ssl/*.h - -all: libsmtp.so - (cd plugins; make all) - -clean: - rm -f *.o - rm -f *.so* - rm -f *.a - rm -f *.dylib - (cd plugins; make clean) - -libsmtp.so: $(OBJS) - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) -o $(LIBNAM).$(LIBEXT).$(LIBVER) $(OBJS) - rm -f $(LIBNAM).$(LIBEXT) - rm -f $(LIBNAM).$(LIBEXT).$(LIBCOMPAT) - ln -s $(LIBNAM).$(LIBEXT).$(LIBVER) $(LIBNAM).$(LIBEXT) - ln -s $(LIBNAM).$(LIBEXT).$(LIBVER) $(LIBNAM).$(LIBEXT).$(LIBCOMPAT) - ar -rc $(LIBNAM).a $(OBJS) - ranlib $(LIBNAM).a -# strip --remove-section=.note --remove-section=.comment $(LIBNAM).$(LIBEXT).$(LIBCOMPAT) - -algorithm.o: - $(CC) $(CFLAGS) -c algorithm.c -o algorithm.o - -alloc.o: - $(CC) $(CFLAGS) -c alloc.c -o alloc.o - -error.o: - $(CC) $(CFLAGS) -c error.c -o error.o - -i18n.o: - $(CC) $(CFLAGS) -c i18n.c -o i18n.o - -inetsocket.o: - $(CC) $(CFLAGS) -c inetsocket.c -o inetsocket.o - -init.o: - $(CC) $(CFLAGS) -c init.c -o init.o - -log.o: - $(CC) $(CFLAGS) -c log.c -o log.o - -plugin.o: - $(CC) $(CFLAGS) -c plugin.c -o plugin.o - -smtp.o: - $(CC) $(CFLAGS) -c smtp.c -o smtp.o - -string.o: - $(CC) $(CFLAGS) -c string.c -o string.o - -dlfcn.o: - $(CC) $(CFLAGS) -c dlfcn.c -o dlfcn.o - -install: all - (cd plugins && make install) - $(INSTALL) -m 0755 -d $(libdir) - $(INSTALL) -m 0755 -d $(includedir)/libsmtp-- - $(INSTALL) -m 0755 -d $(sharedir)/locale/de/LC_MESSAGES - $(INSTALL) -m 0755 -d $(sharedir)/locale/ru/LC_MESSAGES - $(INSTALL) -m 0755 -d $(sharedir)/locale/es/LC_MESSAGES - $(INSTALL) -m 0644 $(LIBNAM).$(LIBEXT).$(LIBVER) $(libdir) - $(INSTALL) -m 0644 $(LIBNAM).a $(libdir) - $(INSTALL) -m 0644 $(HDRS) $(includedir)/libsmtp-- - $(INSTALL) -m 0644 ../lang/de/libsmtp--.mo $(sharedir)/locale/de/LC_MESSAGES - $(INSTALL) -m 0644 ../lang/ru/libsmtp--.mo $(sharedir)/locale/ru/LC_MESSAGES - $(INSTALL) -m 0644 ../lang/es/libsmtp--.mo $(sharedir)/locale/es/LC_MESSAGES - rm -rf $(libdir)/$(LIBNAM).$(LIBEXT).$(LIBCOMPAT) - ln -s $(LIBNAM).$(LIBEXT).$(LIBVER) $(libdir)/$(LIBNAM).$(LIBEXT).$(LIBCOMPAT) - rm -rf $(libdir)/$(LIBNAM).$(LIBEXT) - ln -s $(LIBNAM).$(LIBEXT).$(LIBVER) $(libdir)/$(LIBNAM).$(LIBEXT) - (cd ..; ./ldconfig.wrapper $(libdir)) - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/algorithm.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/algorithm.c.svn-base deleted file mode 100644 index 2341ea6..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/algorithm.c.svn-base +++ /dev/null @@ -1,333 +0,0 @@ -/*********************************************************************** - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * algorithm.c provides some useful codec and cipher functions. * - * * - ***********************************************************************/ - -#include "algorithm.h" - -/** - * alg_init() must be called before the other methods - * can be used. - */ -void alg_init() -{ - OpenSSL_add_all_digests (); -} - -/** - * alg_hmac() calculates the keyed checksum. (rfc2104) - * digest must be big enough to hold the complete hash - * value (H_SHA1 == 20 bytes, all others 16 bytes). - * - * @param str The text that should be checksummed. - * @param str_len The length of str. - * @param key The key that should be used. - * @param key_len The length of key. - * @param digest The checksum that is calculated out of key - * and text will be stored at digest. digest - * needs to be at least 16/20 Bytes big. - * @param hash The algorithm that should be used. One of - * H_MD2, H_MD4, H_MD5 or H_SHA1. - */ -void alg_hmac (unsigned char * str, - unsigned int str_len, - unsigned char * key, - unsigned int key_len, - unsigned char * digest, - enum HASH hash) -{ - unsigned int md_len; - const EVP_MD *evp_md = NULL; - - switch (hash) - { - case H_MD2: - evp_md = EVP_md2 (); - break; - case H_MD4: - evp_md = EVP_md4 (); - break; - case H_MD5: - evp_md = EVP_md5 (); - break; - case H_SHA1: - evp_md = EVP_sha1 (); - break; - } - - digest = HMAC (evp_md, - key, key_len, - str, str_len, - digest, &md_len); -} - -/** - * alg_chksum() calculates the md5 checksum of data, which is - * len bytes long and stores the resulting bytes in digest, - * which must be big enough to hold the resulting hash - * value (H_SHA1 == 20 bytes, all others 16 bytes). - * - * @param data The data that should be checksummed. - * @param len The length of data. - * @param digest The buffer the calculated checksum will be stored at. - * @param hash The algorithm that should be used. One of - * H_MD2, H_MD4, H_MD5 or H_SHA1. - */ -void alg_chksum (unsigned char * data, - unsigned int len, - unsigned char * digest, - enum HASH hash) -{ - EVP_MD_CTX mdctx; - const EVP_MD * evp_md = NULL; - - switch (hash) - { - case H_MD2: - evp_md = EVP_md2 (); - break; - case H_MD4: - evp_md = EVP_md4 (); - break; - case H_MD5: - evp_md = EVP_md5 (); - break; - case H_SHA1: - evp_md = EVP_sha1 (); - break; - } - - EVP_DigestInit (&mdctx, evp_md); - EVP_DigestUpdate (&mdctx, data, len); - EVP_DigestFinal (&mdctx, digest, 0); -} - -/** - * alg_b64_encode() encodes orig_str with the base64 - * codec and stores the result at the address pointed - * to by enc_str. enc_str needs to be at least - * (strlen(orig_str)+(strlen(orig_str)/4)+4) bytes big. - * The number of bytes written to enc_str will be - * returned. - * - * @param orig_str The string that should be encoded. - * @param orig_len The size of orig_str in bytes. - * @param enc_str The resulting encoded string will be stored - * at the address pointed to by enc_str. - * - * @returns The number of bytes written to enc_str. - */ -int alg_b64_encode (char *orig_str, - unsigned int orig_len, - char *enc_str) -{ - EVP_ENCODE_CTX ctx; - int b1, b2; - - EVP_EncodeInit (&ctx); - EVP_EncodeUpdate (&ctx, (unsigned char*)enc_str, &b1, - (unsigned char*)orig_str, orig_len); - EVP_EncodeFinal (&ctx, (unsigned char*)enc_str, &b2); - - return (b1+b2); -} - -/** - * alg_b64_decode() decodes enc_str with the base64 - * codec and stores the result at the address pointed - * to by orig_str. orig_str needs to be at least - * (strlen(enc_str)+(strlen(enc_str)/4)+4) bytes big. - * The number of bytes written to orig_str will be - * returned. - * - * @param enc_str The string that should be decoded. - * @param enc_len The size of enc_str in bytes. - * @param orig_str The resulting decoded string will be stored - * at the address pointed to by orig_str. - * - * @returns The number of bytes written to orig_str. - */ -int alg_b64_decode (char *enc_str, - unsigned int enc_len, - char *orig_str) -{ - EVP_ENCODE_CTX ctx; - int b1, b2; - - EVP_DecodeInit (&ctx); - EVP_DecodeUpdate (&ctx, (unsigned char*)orig_str, &b1, - (unsigned char*)enc_str, enc_len); - EVP_DecodeFinal (&ctx, (unsigned char*)orig_str, &b2); - - return (b1+b2); -} - -/** - * alg_encrypt() encrypts data, which is data_len bytes big, - * using key as the key and iv as the iv and writes the - * resulting encrypted data block into buf, which is bufsiz big. - * buf needs to be at least (data_len+(2*EVP_MAX_IV_LENGTH)-1) - * bytes big. - * - * @param data The data that should be encrypted. - * @param data_len The size of data. - * @param key The key that should be used. - * @param iv The iv that should be used (if any). - * @param buf The buffer where the encrypted data should be - * written. - * @param bufsiz The size of buf, which needs to be at least - * (data_len+(2*EVP_MAX_IV_LENGTH)-1) bytes big. - * @param cipher The cipher that should be used. One of - * C_RC4, C_RC4_40, C_RC4_56, C_DES, C_THREE_DES. - * - * @returns The number of bytes that were written to buf. - */ -int alg_encrypt (unsigned char * data, - unsigned int data_len, - unsigned char * key, - unsigned char * iv, - unsigned char * buf, - unsigned int bufsiz, - enum CIPHER cipher) -{ - int b1, b2; - const EVP_CIPHER * evp_cipher = NULL; - EVP_CIPHER_CTX ctx; - - switch (cipher) - { - case C_RC4: - evp_cipher = EVP_rc4 (); - break; - case C_RC4_40: - evp_cipher = EVP_rc4 (); - break; - case C_RC4_56: - evp_cipher = EVP_rc4 (); - break; - case C_DES: - evp_cipher = EVP_des_cbc (); - break; - case C_THREE_DES: - evp_cipher = EVP_des_ede3_cbc (); - break; - } - - EVP_EncryptInit (&ctx, evp_cipher, key, iv); - if (cipher == C_RC4_40 ) - { - EVP_CIPHER_CTX_set_key_length (&ctx, 40); - } - else if (cipher == C_RC4_56) - { - EVP_CIPHER_CTX_set_key_length (&ctx, 56); - } - else if (cipher == C_RC4) - { - EVP_CIPHER_CTX_set_key_length (&ctx, 128); - } - - EVP_EncryptUpdate (&ctx, buf, &b1, data, data_len); - EVP_EncryptFinal (&ctx, buf+b1, &b2); - - return (b1+b2); -} - -/** - * alg_decrypt() decrypts data, which is data_len bytes big, - * using key as the key and iv as the iv and writes the resulting - * decrypted data block into buf, which is bufsiz big. buf - * needs to be at least (2*(data_len+EVP_MAX_IV_LENGTH)-1) - * bytes big. - * - * @param data The data that should be decrypted. - * @param data_len The size of data. - * @param key The key that should be used. - * @param iv The iv that should be used (if any). - * @param buf The buffer where the decrypted data should be - * written. - * @param bufsiz The size of buf, which needs to be at least - * (2*(data_len+EVP_MAX_IV_LENGTH)-1) bytes big. - * @param cipher The cipher that should be used. One of - * C_RC4, C_RC4_40, C_RC4_56, C_DES, C_THREE_DES. - * - * @returns The number of bytes that were written to buf or -1 if - * some error occured. - */ -int alg_decrypt (unsigned char * data, - unsigned int data_len, - unsigned char * key, - unsigned char * iv, - unsigned char * buf, - unsigned int bufsiz, - enum CIPHER cipher) -{ - int b1, b2, ret; - const EVP_CIPHER * evp_cipher = NULL; - EVP_CIPHER_CTX ctx; - - switch (cipher) - { - case C_RC4: - evp_cipher = EVP_rc4 (); - break; - case C_RC4_40: - evp_cipher = EVP_rc4 (); - break; - case C_RC4_56: - evp_cipher = EVP_rc4 (); - break; - case C_DES: - evp_cipher = EVP_des_cbc (); - break; - case C_THREE_DES: - evp_cipher = EVP_des_ede3_cbc (); - break; - } - - EVP_DecryptInit (&ctx, evp_cipher, key, iv); - if (cipher == C_RC4_40 ) - { - EVP_CIPHER_CTX_set_key_length (&ctx, 40); - } - else if (cipher == C_RC4_56) - { - EVP_CIPHER_CTX_set_key_length (&ctx, 56); - } - else if (cipher == C_RC4) - { - EVP_CIPHER_CTX_set_key_length (&ctx, 128); - } - - ret = EVP_DecryptUpdate (&ctx, buf, &b1, data, data_len); - ret += EVP_DecryptFinal (&ctx, buf+b1, &b2); - /* TODO: What about openssl < 0.9.5.a? - * TODO: This check is not reliable!!! */ - if (ret != 2) - { - /* TODO: Better error description */ - err_set_error (TEXTDOMAIN, "The decryption failed.", NULL); - return (-1); - } - - return (b1+b2); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/algorithm.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/algorithm.h.svn-base deleted file mode 100644 index 631a11d..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/algorithm.h.svn-base +++ /dev/null @@ -1,188 +0,0 @@ -/*********************************************************************** - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * algorithm.c provides some useful codec and cipher functions. * - * * - ***********************************************************************/ - -#ifndef __ALGORITHM_H__ -#define __ALGORITHM_H__ - -#include -#include -#include -#include -#include -#include -#include "error.h" -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * The available hash algorithms. - */ -enum HASH { H_MD2 = 1, H_MD4 = 2, H_MD5 = 3, H_SHA1 = 4 }; - -/** - * The available cipher algorithms. - */ -enum CIPHER { C_RC4 = 1, C_RC4_40 = 2, C_RC4_56 = 3, C_DES = 4, C_THREE_DES = 5 }; - -/** - * alg_hmac() calculates the keyed checksum. (rfc2104) - * digest must be big enough to hold the complete hash - * value (H_SHA1 == 20 bytes, all others 16 bytes). - * - * @param str The text that should be checksummed. - * @param str_len The length of str. - * @param key The key that should be used. - * @param key_len The length of key. - * @param digest The checksum that is calculated out of key - * and text will be stored at digest. digest - * needs to be at least 16/20 Bytes big. - * @param hash The algorithm that should be used. One of - * H_MD2, H_MD4, H_MD5 or H_SHA1. - */ -void alg_hmac (unsigned char * str, - unsigned int str_len, - unsigned char * key, - unsigned int key_len, - unsigned char * digest, - enum HASH hash); - -/** - * alg_chksum() calculates the md5 checksum of data, which is - * len bytes long and stores the resulting bytes in digest, - * which must be big enough to hold the resulting hash - * value (H_SHA1 == 20 bytes, all others 16 bytes). - * - * @param data The data that should be checksummed. - * @param len The length of data. - * @param digest The buffer the calculated checksum will be stored at. - * @param hash The algorithm that should be used. One of - * H_MD2, H_MD4, H_MD5 or H_SHA1. - */ -void alg_chksum (unsigned char * data, - unsigned int len, - unsigned char * digest, - enum HASH hash); - -/** - * alg_b64_encode() encodes orig_str with the base64 - * codec and stores the result at the address pointed - * to by enc_str. enc_str needs to be at least - * (strlen(orig_str)+(strlen(orig_str)/4)+4) bytes big. - * The number of bytes written to enc_str will be - * returned. - * - * @param orig_str The string that should be encoded. - * @param orig_len The size of orig_str in bytes. - * @param enc_str The resulting encoded string will be stored - * at the address pointed to by enc_str. - * - * @returns The number of bytes written to enc_str. - */ -int alg_b64_encode (char *orig_str, - unsigned int orig_len, - char *enc_str); - -/** - * alg_b64_decode() decodes enc_str with the base64 - * codec and stores the result at the address pointed - * to by orig_str. orig_str needs to be at least - * (strlen(enc_str)+(strlen(enc_str)/4)+4) bytes big. - * The number of bytes written to orig_str will be - * returned. - * - * @param enc_str The string that should be decoded. - * @param enc_len The size of enc_str in bytes. - * @param orig_str The resulting decoded string will be stored - * at the address pointed to by orig_str. - * - * @returns The number of bytes written to orig_str. - */ -int alg_b64_decode (char *enc_str, - unsigned int enc_len, - char *orig_str); - -/** - * alg_encrypt() encrypts data, which is data_len bytes big, - * using key as the key and iv as the iv and writes the - * resulting encrypted data block into buf, which is bufsiz big. - * buf needs to be at least (data_len+(2*EVP_MAX_IV_LENGTH)-1) - * bytes big. - * - * @param data The data that should be encrypted. - * @param data_len The size of data. - * @param key The key that should be used. - * @param iv The iv that should be used (if any). - * @param buf The buffer where the encrypted data should be - * written. - * @param bufsiz The size of buf, which needs to be at least - * (data_len+(2*EVP_MAX_IV_LENGTH)-1) bytes big. - * @param cipher The cipher that should be used. One of - * C_RC4, C_RC4_40, C_RC4_56, C_DES, C_THREE_DES. - * - * @returns The number of bytes that were written to buf. - */ -int alg_encrypt (unsigned char * data, - unsigned int data_len, - unsigned char * key, - unsigned char * iv, - unsigned char * buf, - unsigned int bufsiz, - enum CIPHER cipher); - -/** - * alg_decrypt() decrypts data, which is data_len bytes big, - * using key as the key and iv as the iv and writes the resulting - * decrypted data block into buf, which is bufsiz big. buf - * needs to be at least (2*(data_len+EVP_MAX_IV_LENGTH)-1) - * bytes big. - * - * @param data The data that should be decrypted. - * @param data_len The size of data. - * @param key The key that should be used. - * @param iv The iv that should be used (if any). - * @param buf The buffer where the decrypted data should be - * written. - * @param bufsiz The size of buf, which needs to be at least - * (2*(data_len+EVP_MAX_IV_LENGTH)-1) bytes big. - * @param cipher The cipher that should be used. One of - * C_RC4, C_RC4_40, C_RC4_56, C_DES, C_THREE_DES. - * - * @returns The number of bytes that were written to buf or -1 if - * some error occured. - */ -int alg_decrypt (unsigned char * data, - unsigned int data_len, - unsigned char * key, - unsigned char * iv, - unsigned char * buf, - unsigned int bufsiz, - enum CIPHER cipher); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/alloc.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/alloc.c.svn-base deleted file mode 100644 index 78aef13..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/alloc.c.svn-base +++ /dev/null @@ -1,135 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * alloc.c provides wrapper functions around the alloc() family of * - * functions. Everytime memory is allocated an internal counter is * - * incremented, and everytime the memory is released the counter is * - * decremented. The score_() function returns the current counter value * - * and should return 0 before program exit, otherwise some memory leak * - * exists. * - * Each function will exit(1) if not enough memory is available. * - * * - * Note: These functions are used by libsmtp-- itself, and there is * - * memory allocated that will not be freed until the library is * - * uninitialized. That is when the fini_() function is called. If you * - * want to check whether you free_()d all allocated memory or not you * - * must set the LIBSMTP_VERBOSE environment variable. The last line * - * printed to stdout will be "SCORE: 0". If the score value is not 0, * - * some memory leak exists somewhere. * - * * - ************************************************************************/ - -#include "alloc.h" - -static int count = 0; - -/** - * A little malloc() wrapper. The allocated - * memory must be freed using the free_() function - * to keep the malloc() counter up2date. - */ -void * malloc_ (size_t len) -{ - void *ptr; - - if ((ptr = malloc (len)) == NULL) - { - perror ("malloc"); - exit (EXIT_FAILURE); - } - - count++; - - return (ptr); -} - -/** - * A little realloc() wrapper. - */ -void * realloc_ (void * ptr, size_t len) -{ - if (ptr == NULL) - { - count++; - } - - if ((ptr = realloc (ptr, len)) == NULL) - { - perror ("realloc"); - exit (EXIT_FAILURE); - } - - return (ptr); -} - -/** - * A little free() wrapper. The last element - * of the variable length parameter must be NULL. - * - * @param ptr The malloc()ed memory that should be freed. - * @param ... A variable length parameter of malloc()ed - * memory pointers that should be freed. - */ -void free_ (void * ptr, ...) -{ - if(ptr != NULL){ - va_list ap; - void *arg; - free (ptr); - count--; - - va_start (ap, ptr); - while ((arg = va_arg (ap, void*)) != NULL) - { - free (arg); - count--; - } - va_end (ap); - } -} - -/** - * A little strdup() wrapper.The allocated - * memory must be freed using the free_() function - * to keep the malloc() counter up2date. - */ -char * strdup_ (const char * s) -{ - char * dup; - - dup = (char*)malloc_ ((strlen (s)+1) * sizeof (char)); - strcpy (dup, s); - - return (dup); -} - -/** - * score_() returns the number of calls to - * malloc_()/strdup_() that are not yet - * free()d. - * - * @returns the number of calls to malloc_() that - * are not yet free()d. - */ -int score_ () -{ - return (count); -} - - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/alloc.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/alloc.h.svn-base deleted file mode 100644 index ea3b20f..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/alloc.h.svn-base +++ /dev/null @@ -1,93 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * alloc.c provides wrapper functions around the alloc() family of * - * functions. Everytime memory is allocated an internal counter is * - * incremented, and everytime the memory is released the counter is * - * decremented. The score_() function returns the current counter value * - * and should return 0 before program exit, otherwise some memory leak * - * exists. * - * Each function will exit(1) if not enough memory is available. * - * * - * Note: These functions are used by libsmtp-- itself, and there is * - * memory allocated that will not be freed until the library is * - * uninitialized. That is when the fini_() function is called. If you * - * want to check whether you free_()d all allocated memory or not you * - * must set the LIBSMTP_VERBOSE environment variable. The last line * - * printed to stdout will be "SCORE: 0". If the score value is not 0, * - * some memory leak exists somewhere. * - * * - ************************************************************************/ - -#ifndef __ALLOC_H__ -#define __ALLOC_H__ - -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * A little malloc() wrapper. The allocated - * memory must be freed using the free_() function - * to keep the malloc() counter up2date. - */ -void * malloc_ (size_t len); - -/** - * A little realloc() wrapper. - */ -void * realloc_ (void * ptr, size_t len); - -/** - * A little free() wrapper. The last element - * of the variable length parameter must be NULL. - * - * @param ptr The malloc()ed memory that should be freed. - * @param ... A variable length parameter of malloc()ed - * memory pointers that should be freed. - */ -void free_ (void * ptr, ...); - -/** - * A little strdup() wrapper.The allocated - * memory must be freed using the free_() function - * to keep the malloc() counter up2date. - */ -char * strdup_ (const char * s); - -/** - * score_() returns the number of calls to - * malloc_()/strdup_() that are not yet - * free()d. - * - * @returns the number of calls to malloc_() that - * are not yet free()d. - */ -int score_ (); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/dlfcn.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/dlfcn.c.svn-base deleted file mode 100644 index d7727fc..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/dlfcn.c.svn-base +++ /dev/null @@ -1,210 +0,0 @@ -/* -Copyright (c) 2002 Peter O'Gorman - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - - -/* Just to prove that it isn't that hard to add Mac calls to your code :) - This works with pretty much everything, including kde3 xemacs and the gimp, - I'd guess that it'd work in at least 95% of cases, use this as your starting - point, rather than the mess that is dlfcn.c, assuming that your code does not - require ref counting or symbol lookups in dependent libraries -*/ - -#include -#include -#include -#include -#include -#include -#include -#include -#include "dlfcn.h" - -#define ERR_STR_LEN 256 - -static void *dlsymIntern(void *handle, const char *symbol); - -static const char *error(int setget, const char *str, ...); - - - -/* Set and get the error string for use by dlerror */ -static const char *error(int setget, const char *str, ...) -{ - static char errstr[ERR_STR_LEN]; - static int err_filled = 0; - const char *retval; - va_list arg; - if (setget == 0) - { - va_start(arg, str); - strncpy(errstr, "dlcompat: ", ERR_STR_LEN); - vsnprintf(errstr + 10, ERR_STR_LEN - 10, str, arg); - va_end(arg); - err_filled = 1; - retval = NULL; - } - else - { - if (!err_filled) - retval = NULL; - else - retval = errstr; - err_filled = 0; - } - return retval; -} - -/* dlopen */ -void *dlopen(const char *path, int mode) -{ - void *module = 0; - NSObjectFileImage ofi = 0; - NSObjectFileImageReturnCode ofirc; - - /* If we got no path, the app wants the global namespace, use -1 as the marker - in this case */ - if (!path) - return (void *)-1; - - /* Create the object file image, works for things linked with the -bundle arg to ld */ - ofirc = NSCreateObjectFileImageFromFile(path, &ofi); - switch (ofirc) - { - case NSObjectFileImageSuccess: - /* It was okay, so use NSLinkModule to link in the image */ - module = NSLinkModule(ofi, path, - NSLINKMODULE_OPTION_RETURN_ON_ERROR - | (mode & RTLD_GLOBAL) ? 0 : NSLINKMODULE_OPTION_PRIVATE - | (mode & RTLD_LAZY) ? 0 : NSLINKMODULE_OPTION_BINDNOW); - NSDestroyObjectFileImage(ofi); - break; - case NSObjectFileImageInappropriateFile: - /* It may have been a dynamic library rather than a bundle, try to load it */ - module = (void *)NSAddImage(path, NSADDIMAGE_OPTION_RETURN_ON_ERROR); - break; - default: - /* God knows what we got */ - error(0, "Can not open \"%s\"", path); - return 0; - } - if (!module) - error(0, "Can not open \"%s\"", path); - return module; - -} - -/* dlsymIntern is used by dlsym to find the symbol */ -void *dlsymIntern(void *handle, const char *symbol) -{ - NSSymbol *nssym = 0; - /* If the handle is -1, if is the app global context */ - if (handle == (void *)-1) - { - /* Global context, use NSLookupAndBindSymbol */ - if (NSIsSymbolNameDefined(symbol)) - { - nssym = NSLookupAndBindSymbol(symbol); - } - - } - /* Now see if the handle is a struch mach_header* or not, use NSLookupSymbol in image - for libraries, and NSLookupSymbolInModule for bundles */ - else - { - /* Check for both possible magic numbers depending on x86/ppc byte order */ - if ((((struct mach_header *)handle)->magic == MH_MAGIC) || - (((struct mach_header *)handle)->magic == MH_CIGAM)) - { - if (NSIsSymbolNameDefinedInImage((struct mach_header *)handle, symbol)) - { - nssym = NSLookupSymbolInImage((struct mach_header *)handle, - symbol, - NSLOOKUPSYMBOLINIMAGE_OPTION_BIND - | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR); - } - - } - else - { - nssym = NSLookupSymbolInModule(handle, symbol); - } - } - if (!nssym) - { - error(0, "Symbol \"%s\" Not found", symbol); - return NULL; - } - return NSAddressOfSymbol(nssym); -} - -const char *dlerror(void) -{ - return error(1, (char *)NULL); -} - -int dlclose(void *handle) -{ - if ((((struct mach_header *)handle)->magic == MH_MAGIC) || - (((struct mach_header *)handle)->magic == MH_CIGAM)) - { - error(0, "Can't remove dynamic libraries on darwin"); - return 0; - } - if (!NSUnLinkModule(handle, 0)) - { - error(0, "unable to unlink module %s", NSNameOfModule(handle)); - return 1; - } - return 0; -} - - -/* dlsym, prepend the underscore and call dlsymIntern */ -void *dlsym(void *handle, const char *symbol) -{ - static char undersym[257]; /* Saves calls to malloc(3) */ - int sym_len = strlen(symbol); - void *value = NULL; - char *malloc_sym = NULL; - - if (sym_len < 256) - { - snprintf(undersym, 256, "_%s", symbol); - value = dlsymIntern(handle, undersym); - } - else - { - malloc_sym = malloc(sym_len + 2); - if (malloc_sym) - { - sprintf(malloc_sym, "_%s", symbol); - value = dlsymIntern(handle, malloc_sym); - free(malloc_sym); - } - else - { - error(0, "Unable to allocate memory"); - } - } - return value; -} diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/dlfcn.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/dlfcn.h.svn-base deleted file mode 100644 index a2c3e34..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/dlfcn.h.svn-base +++ /dev/null @@ -1,69 +0,0 @@ -/* -Copyright (c) 2002 Jorge Acereda & - Peter O'Gorman - -Portions may be copyright others, see the AUTHORS file included with this -distribution. - -Maintained by Peter O'Gorman - -Bug Reports and other queries should go to - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ -#ifndef __DLFCN_H__ -#define __DLFCN_H__ - -#ifdef __cplusplus -extern "C" { -#endif - - -/* - * Structure filled in by dladdr(). - */ - -typedef struct dl_info { - const char *dli_fname; /* Pathname of shared object */ - void *dli_fbase; /* Base address of shared object */ - const char *dli_sname; /* Name of nearest symbol */ - void *dli_saddr; /* Address of nearest symbol */ -} Dl_info; - - -extern void * dlopen(const char *path, int mode); -extern void * dlsym(void * handle, const char *symbol); -extern const char * dlerror(void); -extern int dlclose(void * handle); -extern int dladdr(void *, Dl_info *); - -#define RTLD_LAZY 0x1 -#define RTLD_NOW 0x2 -#define RTLD_LOCAL 0x4 -#define RTLD_GLOBAL 0x8 -#define RTLD_NOLOAD 0x10 -#define RTLD_NODELETE 0x80 - - -#ifdef __cplusplus -} -#endif - -#endif /* _DLFCN_H_ */ diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/error.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/error.c.svn-base deleted file mode 100644 index 3abe614..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/error.c.svn-base +++ /dev/null @@ -1,100 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * error.c provides functions to set, resp. query error messages. * - * * - ************************************************************************/ - -#include "error.h" - -/** - * The last error msg that was set using err_set_error(). - */ -static char * errmsg; - -/** - * err_init() must be called before the other methods - * can be used. - */ -void err_init () -{ - errmsg = strdup_ ("Success."); -} - -/** - * err_cleanup() must be called on deinitialization. - */ -void err_cleanup () -{ - free_ (errmsg, NULL); -} - -/** - * err_set_error() sets the information about the last - * error that occured. This information can be retrieved - * later by the err_str_error() function and will be valid - * until the next call of err_set_error(). - * The string msg will be translated using the glibc gettext() - * function. Additionally the string can include special - * substitution characters, which will be substituted with the - * variable length parameter. - * - * All substitution parameters must be of type (char*). - * - * EG: "This is a test arg $0, and this is another one: $1" - * $0 will be substituted by params[0], $1 will be substituted - * by params[1], etc. - * - * For more information take a look at the i18n() function. - * - * @param textdomain The gettext() textdomain. - * @param msg The error message. - * @param ... The substitution parameters of type (char*). The - * last parameter needs to be NULL. - */ -void err_set_error (const char * textdomain, const char * msg, ...) -{ - va_list ap; - - /* remove the last newline character */ - if (strlen (msg) > 0 && msg[strlen (msg)-1] == '\n') - { - errmsg[strlen (msg)-1] = '\0'; - } - - /* clear any previously existing error msgs */ - free_ (errmsg, NULL); - - va_start (ap, msg); - errmsg = strdup_ (i18n_va_list (textdomain, msg, ap)); - va_end (ap); -} - -/** - * err_str_error() returns an informative message about the last - * error that occured. The msg will already be localized. - * - * @returns The last error message (localized) that was set by - * err_set_error(). - */ -const char * err_str_error () -{ - return (errmsg); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/error.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/error.h.svn-base deleted file mode 100644 index 21e26e8..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/error.h.svn-base +++ /dev/null @@ -1,74 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * error.c provides functions to set, resp. query error messages. * - * * - ************************************************************************/ - -#ifndef __ERROR_H__ -#define __ERROR_H__ - -#include -#include -#include -#include "i18n.h" -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * err_set_error() sets the information about the last - * error that occured. This information can be retrieved - * later by the err_str_error() function and will be valid - * until the next call of err_set_error(). - * The string msg will be translated using the glibc gettext() - * function. Additionally the string can include special - * substitution characters, which will be substituted with the - * variable length parameter. - * - * All substitution parameters must be of type (char*). - * - * EG: "This is a test arg $0, and this is another one: $1" - * $0 will be substituted by params[0], $1 will be substituted - * by params[1], etc. - * - * For more information take a look at the i18n() function. - * - * @param msg The error message. - * @param ... The substitution parameters of type (char*). The - * last parameter needs to be NULL. - */ -void err_set_error (const char * textdomain, const char * msg, ...); - -/** - * err_str_error() returns an informative message about the last - * error that occured. The msg will already be localized. - * - * @returns The last error message (localized) that was set by - * err_set_error(). - */ -const char * err_str_error (); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/i18n.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/i18n.c.svn-base deleted file mode 100644 index bbc542a..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/i18n.c.svn-base +++ /dev/null @@ -1,118 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * i18n.c provides functions for internationalization. Internally * - * the gettext() function is used, but the functionality is somewhat * - * extended. * - * * - ************************************************************************/ - -#include "i18n.h" - -/** - * i18n_init() must be called before the other methods - * can be used and one time for each different textdomain. - */ -void i18n_init (const char * textdomain, const char * locale_dir) -{ - bindtextdomain (textdomain, locale_dir); - setlocale (LC_ALL,""); -} - -/** - * i18n() translates the string msgid. - * The string msgid will be translated using the - * glibc gettext() function. Additionally the string - * can include special substitution characters, which - * will be substituted with the remaining elements of - * the va_list array. This function is meant to be used - * from within other functions that use a variable length - * parameter list like err_set_error() or i18n(). - * The msgid and the substitution characters should not - * exceed 4095 bytes. - * - * EG: "This is a test arg $0, and this is another one: $1" - * $0 will be substituted by msgid[1], $1 will be substituted - * by msgid[2], etc. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @param textdomain The textdomain that should be used. - * @param msgid The msgid that should be translated. - * @param ... The substitution parameters of type (char*) as - * a va_list array. - * - * @returns The translated string. - */ -char * i18n_va_list (const char * textdomain, const char * msgid, va_list ap) -{ - char *arg; - int idx = 0; - static char msg[4096]; /* should be big enough */ - - strcpy (msg, dgettext (textdomain, msgid)); - - while ((arg = va_arg (ap, char*)) != NULL) - { - char needle[256]; /* should be big enough */ - - sprintf (needle, "$%i", idx++); - str_replace (msg, needle, arg); - } - - return (msg); -} - -/** - * i18n() translates the string msgid. - * The string msgid will be translated using the - * glibc gettext() function. Additionally the string - * can include special substitution characters, which - * will be substituted with the variable length parameter. - * All substitution parameters must be of type char*. - * The msgid and the substitution characters should not - * exceed 4095 bytes. - * - * EG: "This is a test arg $0, and this is another one: $1" - * $0 will be substituted by params[0], $1 will be substituted - * by params[1], etc. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @param textdomain The textdomain that should be used. - * @param msgid The msgid that should be translated. - * @param ... The substitution parameters of type (char*). The - * last parameter needs to be NULL. - * - * @returns The translated string. - */ -char * i18n (const char * textdomain, const char * msgid, ...) -{ - va_list ap; - char *msg; - - va_start (ap, msgid); - msg = i18n_va_list (textdomain, msgid, ap); - va_end (ap); - - return (msg); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/i18n.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/i18n.h.svn-base deleted file mode 100644 index 2ae5403..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/i18n.h.svn-base +++ /dev/null @@ -1,103 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * i18n.c provides functions for internationalization. Internally * - * the gettext() function is used, but the functionality is somewhat * - * extended. * - * * - ************************************************************************/ - -#ifndef __I18N_H__ -#define __I18N_H__ - -#include -#include -#include -#include "string.h" -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * i18n_init () must be called before the other methods - * can be used and one time for each different textdomain. - */ -void i18n_init (const char * textdomain, const char * locale_dir); - -/** - * i18n() translates the string msgid. - * The string msgid will be translated using the - * glibc gettext() function. Additionally the string - * can include special substitution characters, which - * will be substituted with the remaining elements of - * the va_list array. This function is meant to be used - * from within other functions that use a variable length - * parameter list like err_set_error() or i18n(). - * The msgid and the substitution characters should not - * exceed 4095 bytes. - * - * EG: "This is a test arg $0, and this is another one: $1" - * $0 will be substituted by msgid[1], $1 will be substituted - * by msgid[2], etc. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @param textdomain The textdomain that should be used. - * @param msgid The msgid that should be translated. - * @param ... The substitution parameters of type (char*) as - * a va_list array. - * - * @returns The translated string. - */ -char * i18n_va_list (const char * textdomain, const char * msgid, va_list ap); - -/** - * i18n() translates the string msgid. - * The string msgid will be translated using the - * glibc gettext() function. Additionally the string - * can include special substitution characters, which - * will be substituted with the variable length parameter. - * All substitution parameters must be of type char*. - * The msgid and the substitution characters should not be - * bigger than 4095 bytes. - * - * EG: "This is a test arg $0, and this is another one: $1" - * $0 will be substituted by params[0], $1 will be substituted - * by params[1], etc. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @param textdomain The textdomain that should be used. - * @param msgid The msgid that should be translated. - * @param ... The substitution parameters of type (char*). The - * last parameter needs to be NULL. - * - * @returns The translated string. - */ -char * i18n (const char * textdomain, const char * msgid, ...); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/inetsocket.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/inetsocket.c.svn-base deleted file mode 100644 index c24d208..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/inetsocket.c.svn-base +++ /dev/null @@ -1,331 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * inetsocket.c provides functions for TCP/IP socket connections. * - * * - ************************************************************************/ - -#include "inetsocket.h" - -/** - * sck() initializes the sck_socket_t struct sck and must - * be called once for each sck_socket_t object before the other - * functions can be used. When the sck_socket_t object is no longer - * needed it should be de-initialized with sck_cleanup() to free - * unneeded resources. - * - * @param sck The sck_socket_t object. - */ -void sck_init (sck_socket_t * sck) -{ - sck->host = strdup_ (""); - sck->localhost = strdup_ (""); - - /* a SIGPIPE signal will be indicated by errno, - * so we choose to ignore SIGPIPE and handle - * this signal through errno */ - signal(SIGPIPE, SIG_IGN); -} - -/** - * sck_cleanup() releases unneeded resources and must be called when - * the sck_socket_t object is no longer needed. sck must be initialized - * by sck_init() before, otherwise random errors may occur. - * - * @param sck The sck_socket_t object. - */ -void sck_cleanup (sck_socket_t * sck) -{ - free_ (sck->host, sck->localhost, NULL); -} - -/** - * sck_localhost() returns the name of the localhost or - * the string "localhost" if the name of the localhost - * cannot be determined for some reason. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @returns The name of the localhost. - */ -char * sck_localhost () -{ - static char host[4096] = "localhost"; /* should be big enough */ - - if (gethostname (host, 4095) == -1) - { - strcpy (host, "localhost"); - } - - host[4095] = '\0'; /* for the unusual case that hostname - * is bigger than 4095 bytes */ - - return (host); -} - -/** - * sck_connect() connects a socket to the specified - * host:port and sets the timeout value. The struct sck - * will be filled and is to be used with the other sck_* - * functions. - * - * @param sck The struct sck_socket_t that is to be filled. - * @param host The host that should be connected. - * @param port The port that the host is listening on. - * @param timeout The timeout value in seconds. - * - * @returns 0 on success and -1 on any error. - */ -int sck_connect (sck_socket_t * sck, - const char * host, - unsigned int port, - unsigned int timeout) -{ - struct hostent *servp; - struct sockaddr_in addr; - fd_set rd_fds, wr_fds; - int flags; - - free_ (sck->host, sck->localhost, NULL); - - sck->localhost = strdup_ (sck_localhost ()); - sck->host = strdup_ (host); - - sck->timeout = timeout; - sck->port = port; - - servp = gethostbyname (sck->host); - if (servp == NULL) - { - switch (h_errno) - { - case HOST_NOT_FOUND: - err_set_error (TEXTDOMAIN, - "The specified host is unknown.", NULL); - return (-1); - case NO_ADDRESS: - err_set_error (TEXTDOMAIN, - "The requested name is valid but " - "does not have an IP address.", NULL); - return (-1); - case NO_RECOVERY: - err_set_error (TEXTDOMAIN, - "A non-recoverable name server " - "error occurred.", NULL); - return (-1); - case TRY_AGAIN: - err_set_error (TEXTDOMAIN, - "A temporary error occurred on an " - "authoritative name server.", NULL); - return (-1); - } - } - - if ((sck->sockfd = socket (AF_INET, SOCK_STREAM, 0)) == -1) - { - err_set_error (TEXTDOMAIN, strerror (errno), NULL); - return (-1); - } - - /* Set sck->sockfd to non-blocking mode. */ - flags = fcntl (sck->sockfd, F_GETFL, 0); - if (fcntl (sck->sockfd, F_SETFL, flags | O_NONBLOCK) == -1) - { - err_set_error (TEXTDOMAIN, strerror (errno), NULL); - return (-1); - } - - addr.sin_family = AF_INET; - addr.sin_port = htons (sck->port); - addr.sin_addr = *((struct in_addr *)servp->h_addr); - memset (&(addr.sin_zero), 0, 8); - - if (connect (sck->sockfd, (struct sockaddr *)&addr, sizeof (struct sockaddr)) == -1) - { - if (errno == EINPROGRESS) - { - struct timeval tv; - tv.tv_sec = sck->timeout; - tv.tv_usec = 0; - - FD_ZERO (&rd_fds); - FD_ZERO (&wr_fds); - FD_SET (sck->sockfd, &wr_fds); - FD_SET (sck->sockfd, &rd_fds); - - if (select (sck->sockfd+1, &rd_fds, &wr_fds, 0, &tv) <= 0) - { - err_set_error (TEXTDOMAIN, "Socket timeout.", NULL); - return (-1); - } - - if - ( - (connect (sck->sockfd, (struct sockaddr *) &addr, sizeof(struct sockaddr)) == -1) && - errno != EISCONN - ) - { - err_set_error (TEXTDOMAIN, strerror (errno), NULL); - return (-1); - } - } - } - - return (0); -} - -/** - * sck_read() reads at most bufsiz bytes from the socket and - * returns the number of bytes that were actually read. - * - * @param sck The struct sck_socket_t that is to be filled. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int sck_read (sck_socket_t * sck, const char * buf, unsigned int bufsiz) -{ - int retval, bytes = 0; - struct timeval tv; - fd_set rfds; - - /* This is a workaround. Otherwise the prog may crash - * if sck wasn't initialised at this point. */ - if (fcntl (sck->sockfd, F_GETFL) == -1) - { - err_set_error (TEXTDOMAIN, "Socket is closed.", NULL); - return (-1); - } - - tv.tv_sec = sck->timeout; - tv.tv_usec = 0; - - FD_ZERO (&rfds); - FD_SET (sck->sockfd, &rfds); - - retval = select (sck->sockfd+1, &rfds, NULL, NULL, &tv); - if (retval == -1) - { - err_set_error (TEXTDOMAIN, strerror (errno), NULL); - return (-1); - } - else if (retval == 0) - { - err_set_error (TEXTDOMAIN, "Socket timeout.", NULL); - return (-1); - } - else - { - bytes = read (sck->sockfd, (char*)buf, bufsiz); - if (bytes == -1) - { - err_set_error (TEXTDOMAIN, strerror (errno), NULL); - return (-1); - } - else if (bytes == 0) - { - err_set_error (TEXTDOMAIN, "Socket is closed.", NULL); - return (-1); - } - } - - return (bytes); -} - -/** - * sck_write() writes at most bufsiz bytes of buf to the socket and - * returns the number of bytes that were actually written to the socket. - * - * @param sck The struct sck_socket_t that is to be filled. - * @param buf The buffer that should be written to the socket. - * @param bufsiz The number of bytes that should be written to the socket. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int sck_write (sck_socket_t * sck, const char * buf, unsigned int bufsiz) -{ - int retval, bytes = 0; - struct timeval tv; - fd_set wfds; - - /* This is a workaround. Otherwise the prog may crash - * if sck wasn't initialised at this point. */ - if (fcntl (sck->sockfd, F_GETFL) == -1) - { - err_set_error (TEXTDOMAIN, "Socket is closed.", NULL); - return (-1); - } - - tv.tv_sec = sck->timeout; - tv.tv_usec = 0; - - FD_ZERO (&wfds); - FD_SET (sck->sockfd, &wfds); - - retval = select (sck->sockfd+1, NULL, &wfds, NULL, &tv); - if (retval == -1) - { - err_set_error (TEXTDOMAIN, strerror (errno), NULL); - return (-1); - } - else if (retval == 0) - { - err_set_error (TEXTDOMAIN, "Socket timeout.", NULL); - return (-1); - } - else - { - bytes = write (sck->sockfd, buf, bufsiz); - if (bytes == -1) - { - err_set_error (TEXTDOMAIN, strerror (errno), NULL); - return (-1); - } - else if (bytes == 0) - { - err_set_error (TEXTDOMAIN, "Socket is closed.", NULL); - return (-1); - } - } - - return (bytes); -} - -/** - * sck_close() closes the socket sck. - * - * @param sck The socket that should be closed. - * - * @returns 0 on success and -1 on any error. - */ -int sck_close (sck_socket_t * sck) -{ - if (close (sck->sockfd) == -1) - { - err_set_error (TEXTDOMAIN, strerror (errno), NULL); - return (-1); - } - - return (0); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/inetsocket.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/inetsocket.h.svn-base deleted file mode 100644 index a7f53ab..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/inetsocket.h.svn-base +++ /dev/null @@ -1,144 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * inetsocket.c provides functions for TCP/IP socket connections. * - * * - ************************************************************************/ - -#ifndef __INETSOCKET_H__ -#define __INETSOCKET_H__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "error.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * This struct describes one connection - */ -typedef struct sck_socket_t -{ - char *host; - char *localhost; /* will be set by sck_connect () */ - int sockfd; /* will be set by sck_connect () */ - unsigned int port; - unsigned int timeout; -} sck_socket_t; - -/** - * sck_init() initializes the sck_socket_t struct sck and must - * be called once for each sck_socket_t object before the other - * functions can be used. When the sck_socket_t object is no longer - * needed it should be de-initialized with sck_cleanup() to free - * unneeded resources. - * - * @param sck The sck_socket_t object. - */ -void sck_init (sck_socket_t * sck); - -/** - * sck_cleanup() releases unneeded resources and must be called when - * the sck_socket_t object is no longer needed. sck must be initialized - * by sck_init() before, otherwise random errors may occur. - * - * @param sck The sck_socket_t object. - */ -void sck_cleanup (sck_socket_t * sck); - -/** - * sck_localhost() returns the name of the localhost or - * the string "localhost" if the name of the localhost - * cannot be determined for some reason. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @returns The name of the localhost. - */ -char * sck_localhost (); - -/** - * sck_connect() connects a socket to the specified - * host:port and sets the timeout value. The struct sck - * will be filled and is to be used with the other sck_* - * functions. - * - * @param sck The struct sck_socket_t that is to be filled. - * @param host The host that should be connected. - * @param port The port that the host is listening on. - * @param timeout The timeout value in seconds. - * - * @returns 0 on success and -1 on any error. - */ -int sck_connect (sck_socket_t * sck, - const char * host, - unsigned int port, - unsigned int timeout); - -/** - * sck_read() reads at most bufsiz bytes from the socket and - * returns the number of bytes that were actually read. - * - * @param sck The struct sck_socket_t that is to be filled. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int sck_read (sck_socket_t * sck, const char * buf, unsigned int bufsiz); - -/** - * sck_write() writes at most bufsiz bytes of buf to the socket and - * returns the number of bytes that were actually written to the socket. - * - * @param sck The struct sck_socket_t that is to be filled. - * @param buf The buffer that should be written to the socket. - * @param bufsiz The number of bytes that should be written to the socket. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int sck_write (sck_socket_t * sck, const char * buf, unsigned int bufsiz); - -/** - * sck_close() closes the socket sck. - * - * @param sck The socket that should be closed. - * - * @returns 0 on success and -1 on any error. - */ -int sck_close (sck_socket_t * sck); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/init.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/init.c.svn-base deleted file mode 100644 index b45596d..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/init.c.svn-base +++ /dev/null @@ -1,76 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - ************************************************************************/ - -#include "log.h" -#include "i18n.h" -#include "plugin.h" - -#ifdef __USE_SSL_ -extern void alg_init (); -#endif -extern void err_init (); -extern void plg_init (); - -extern void plg_cleanup (); -extern void err_cleanup (); - -void _cb_w_init() -{ - _init(); -} - -void _cb_init() -{ - i18n_init (TEXTDOMAIN, LOCALEDIR); - -#ifdef __USE_SSL_ - alg_init (); -#endif - err_init (); - plg_init (); - - plg_load_plugins (PLUGINDIR); -} - -void _init () -{ - i18n_init (TEXTDOMAIN, LOCALEDIR); - -#ifdef __USE_SSL_ - alg_init (); -#endif - err_init (); - plg_init (); - - plg_load_plugins (PLUGINDIR); -} - -void _fini () -{ - plg_cleanup (); - err_cleanup (); - - if (getenv ("LIBSMTP_VERBOSE")) - { - printf ("SCORE: %i\n", score_ ()); - } -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/log.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/log.c.svn-base deleted file mode 100644 index 55cc8a7..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/log.c.svn-base +++ /dev/null @@ -1,73 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * log.c provides some logging functionality. * - * * - ************************************************************************/ - -#include "log.h" - -/** - * The callback function - */ -static log_callback_t *log_callback = NULL; - -/** - * log_init() must be called to set the callback - * funtion. The callback funtion will be called - * for each log message that was logged using - * log(). - * - * @param callback The callback function. - */ -void log_init (log_callback_t * callback) -{ - log_callback = callback; -} - -/** - * log() logs the message msg with the verbosity - * level lvl. If log_init was called before, the - * callback function will be called. Otherwise - * nothing will happen. - * Any trailing newline character will be removed - * before the callback function is called. - * - * @param msg The log message. - * @param lvl The verbosity level. One of - * LOG_LVL_QUIET, LOG_LVL_ERROR, - * LOG_LVL_NORMAL, LOG_LVL_VERBOSE or - * LOG_LVL_VVERBOSE. - */ -void log (const char * msg, verbosity_t lvl) -{ - char *log_msg = strdup_ (msg); - if (strlen (log_msg) > 0 && log_msg[strlen (log_msg)-1] == '\n') - { - log_msg[strlen (log_msg)-1] = '\0'; - } - - if (log_callback != NULL) - { - log_callback (log_msg, lvl); - } - - free_ (log_msg, NULL); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/log.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/log.h.svn-base deleted file mode 100644 index ddd1882..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/log.h.svn-base +++ /dev/null @@ -1,79 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * log.c provides some logging functionality. * - * * - ************************************************************************/ - -#ifndef __LOG_H__ -#define __LOG_H__ - -#include -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * The verbosity levels. - */ -typedef enum verbosity_t { LOG_LVL_QUIET = 1, LOG_LVL_ERROR = 2, - LOG_LVL_NORMAL = 3, LOG_LVL_VERBOSE = 4, - LOG_LVL_VVERBOSE = 5 } verbosity_t; - -/** - * The prototype for the callback function. - * - * @param msg The log message. - * @param lvl The verbosity level. - */ -typedef void log_callback_t (const char * msg, verbosity_t lvl); - -/** - * log_init() must be called to set the callback - * funtion. The callback funtion will be called - * for each log message that was logged using - * log(). - * - * @param callback The callback function. - */ -void log_init (log_callback_t * callback); - -/** - * log() logs the message msg with the verbosity - * level lvl. If log_init was called before, the - * callback function will be called. Otherwise - * nothing will happen. - * Any trailing newline character will be removed - * before the callback function is called. - * - * @param msg The log message. - * @param lvl The verbosity level. One of - * LOG_LVL_QUIET, LOG_LVL_ERROR, - * LOG_LVL_NORMAL, LOG_LVL_VERBOSE or - * LOG_LVL_VVERBOSE. - */ -void log (const char * msg, verbosity_t lvl); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/plugin.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/plugin.c.svn-base deleted file mode 100644 index 476beda..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/plugin.c.svn-base +++ /dev/null @@ -1,648 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * plugin.c implements the libsmtp-- plugin specification. * - * * - ************************************************************************/ - -#include "plugin.h" - -/** - * The available plugins. The last element - * of this array must be NULL. - */ -static plugin_t **plugins = NULL; - -/** - * plg_dlsym_init() stores the address of the symbol - * plg_init() from the plugin in plg->plg_init. - * - * @param plg The plugin_t object. - * @param handle The handle returned by dlopen(). - * - * @returns 0 on success and -1 on any error. - */ -static int plg_dlsym_init (plugin_t * plg, void * handle) -{ - plg_init_t *plg_init = (plg_init_t*)dlsym (handle, "plg_init"); - - const char *error = (const char *)dlerror (); - if (error) - { - plg_init = (plg_init_t*)dlsym (handle, "_plg_init"); - - error = (const char *)dlerror (); - if (error) - { - err_set_error (TEXTDOMAIN, "Error loading shared object »$0« - $1.", - plg->PATH, error, NULL); - return (-1); - } - } - - plg->plg_init = plg_init; - - return (0); -} - -/** - * plg_dlsym_cleanup() stores the address of the symbol - * plg_cleanup() from the plugin in plg->plg_cleanup. - * - * @param plg The plugin_t object. - * @param handle The handle returned by dlopen(). - * - * @returns 0 on success and -1 on any error. - */ -static int plg_dlsym_cleanup (plugin_t * plg, void * handle) -{ - plg_cleanup_t *plg_cleanup = (plg_cleanup_t*)dlsym (handle, "plg_cleanup"); - - const char *error = (const char *)dlerror (); - if (error) - { - plg_cleanup = (plg_cleanup_t*)dlsym (handle, "_plg_cleanup"); - - error = (const char *)dlerror (); - if (error) - { - err_set_error (TEXTDOMAIN, "Error loading shared object »$0« - $1.", - plg->PATH, error, NULL); - return (-1); - } - } - - plg->plg_cleanup = plg_cleanup; - - return (0); -} - -/** - * plg_dlsym_read() stores the address of the symbol - * plg_read() from the plugin in plg->plg_read. - * - * @param plg The plugin_t object. - * @param handle The handle returned by dlopen(). - * - * @returns 0 on success and -1 on any error. - */ -static int plg_dlsym_read (plugin_t * plg, void * handle) -{ - plg_read_t *plg_read = (plg_read_t*)dlsym (handle, "plg_read"); - - const char *error = (const char *)dlerror (); - if (error) - { - plg_read = (plg_read_t*)dlsym (handle, "_plg_read"); - - error = (const char *)dlerror (); - if (error) - { - err_set_error (TEXTDOMAIN, "Error loading shared object »$0« - $1.", - plg->PATH, error, NULL); - return (-1); - } - } - - plg->plg_read = plg_read; - - return (0); -} - -/** - * plg_dlsym_write() stores the address of the symbol - * plg_write() from the plugin in plg->plg_write. - * - * @param plg The plugin_t object. - * @param handle The handle returned by dlopen(). - * - * @returns 0 on success and -1 on any error. - */ -static int plg_dlsym_write (plugin_t * plg, void * handle) -{ - plg_write_t *plg_write = (plg_write_t*)dlsym (handle, "plg_write"); - - const char *error = (const char *)dlerror (); - if (error) - { - plg_write = (plg_write_t*)dlsym (handle, "_plg_write"); - - error = (const char *)dlerror (); - if (error) - { - err_set_error (TEXTDOMAIN, "Error loading shared object »$0« - $1.", - plg->PATH, error, NULL); - return (-1); - } - } - - plg->plg_write = plg_write; - - return (0); -} - -/** - * plg_dlsym_authenticate() stores the address of the symbol - * plg_authenticate() from the plugin in plg->plg_authenticate. - * - * @param plg The plugin_t object. - * @param handle The handle returned by dlopen(). - * - * @returns 0 on success and -1 on any error. - */ -static int plg_dlsym_authenticate (plugin_t * plg, void * handle) -{ - plg_authenticate_t *plg_authenticate = (plg_authenticate_t*)dlsym (handle, "plg_authenticate"); - - const char *error = (const char *)dlerror (); - if (error) - { - plg_authenticate = (plg_authenticate_t*)dlsym (handle, "_plg_authenticate"); - - error = (const char *)dlerror (); - if (error) - { - err_set_error (TEXTDOMAIN, "Error loading shared object »$0« - $1.", - plg->PATH, error, NULL); - return (-1); - } - } - - plg->plg_authenticate = plg_authenticate; - - return (0); -} - -/** - * plg_dlsym_NAME() stores the address of the symbol - * NAME from the plugin in plg->NAME. - * - * @param plg The plugin_t object. - * @param handle The handle returned by dlopen(). - * - * @returns 0 on success and -1 on any error. - */ -static int plg_dlsym_NAME (plugin_t * plg, void * handle) -{ - char **NAME = (char**)dlsym (handle, "NAME"); - - const char *error = (const char *)dlerror (); - if (error) - { - NAME = (char**)dlsym (handle, "_NAME"); - - error = (const char *)dlerror (); - if (error) - { - err_set_error (TEXTDOMAIN, "Error loading shared object »$0« - $1.", - plg->PATH, error, NULL); - return (-1); - } - } - - plg->NAME = *NAME; - - return (0); -} - -/** - * plg_dlsym_COMMENT() stores the address of the symbol - * COMMENT from the plugin in plg->COMMENT. - * - * @param plg The plugin_t object. - * @param handle The handle returned by dlopen(). - * - * @returns 0 on success and -1 on any error. - */ -static int plg_dlsym_COMMENT (plugin_t * plg, void * handle) -{ - char **COMMENT = (char**)dlsym (handle, "COMMENT"); - - const char *error = (const char *)dlerror (); - if (error) - { - COMMENT = (char**)dlsym (handle, "_COMMENT"); - - error = (const char *)dlerror (); - if (error) - { - err_set_error (TEXTDOMAIN, "Error loading shared object »$0« - $1.", - plg->PATH, error, NULL); - return (-1); - } - } - - plg->COMMENT = *COMMENT; - - return (0); -} - -/** - * plg_dlsym_SASL() stores the address of the symbol - * SASL from the plugin in plg->SASL. - * - * @param plg The plugin_t object. - * @param handle The handle returned by dlopen(). - * - * @returns 0 on success and -1 on any error. - */ -static int plg_dlsym_SASL (plugin_t * plg, void * handle) -{ - char **SASL = (char**)dlsym (handle, "SASL"); - - const char *error = (const char *)dlerror (); - if (error) - { - SASL = (char**)dlsym (handle, "_SASL"); - - error = (const char *)dlerror (); - if (error) - { - err_set_error (TEXTDOMAIN, "Error loading shared object »$0« - $1.", - plg->PATH, error, NULL); - return (-1); - } - } - - plg->SASL = *SASL; - - return (0); -} - -/** - * plg_dlsym_WEIGHT() stores the value of the symbol - * WEIGHT from the plugin in plg->WEIGHT. - * - * @param plg The plugin_t object. - * @param handle The handle returned by dlopen(). - * - * @returns 0 on success and -1 on any error. - */ -static int plg_dlsym_WEIGHT (plugin_t * plg, void * handle) -{ - unsigned char *WEIGHT = (unsigned char*)dlsym (handle, "WEIGHT"); - - const char *error = (const char *)dlerror (); - if (error) - { - WEIGHT = (unsigned char*)dlsym (handle, "_WEIGHT"); - - error = (const char *)dlerror (); - if (error) - { - err_set_error (TEXTDOMAIN, "Error loading shared object »$0« - $1.", - plg->PATH, error, NULL); - return (-1); - } - } - - plg->WEIGHT = *WEIGHT; - - return (0); -} - -/** - * plg_sort_plugins() does a simple bubble sort with - * the plg->WEIGHT as the sorting key. The higher - * plg->WEIGHT, the higher the priority of the - * plugin. - * - * plugins[0]->WEIGHT == 250 - * plugins[1]->WEIGHT == 59 - * plugins[2]->WEIGHT == 54 - * ... - */ -static void plg_sort_plugins () -{ - int idx, siz = 0; - int swapped = 1; - plugin_t *plg; - - while (plugins[siz++] != NULL); - - while (swapped) - { - swapped = 0; - for (idx = 0; idx < (siz-2); idx++) - { - if (plugins[idx]->WEIGHT < plugins[idx+1]->WEIGHT) - { - plg = plugins[idx]; - plugins[idx] = plugins[idx+1]; - plugins[idx+1] = plg; - - swapped = 1; - } - } - } -} - -/** - * plg_add_plugin() adds the pointer plg to the array of - * available plugins. - * - * @param plg The plugin that should be added. - */ -void plg_add_plugin (plugin_t * plg) -{ - int siz = 0; - - while (plugins[siz++] != NULL); - siz += 1; - - plugins = (plugin_t**)realloc_ (plugins, siz * sizeof(plugin_t*)); - - plugins[siz-2] = plg; - plugins[siz-1] = NULL; - - plg_sort_plugins (); -} - -/** - * plg_load_plugin() tries to load the plugin at path and - * adds the plugin to the array of available plugins if - * plg_load_plugin() was successfull. - * - * @param path The path to the plugin. - * - * @returns 0 on success and -1 on any error. - */ -int plg_load_plugin (const char * path) -{ - void *handle; - int idx = 0; - plugin_t *plg; - - if (getenv ("LIBSMTP_VERBOSE")) - { - puts (i18n (TEXTDOMAIN, "Registering plugin »$0«", path, NULL)); - } - -#ifdef RTLD_NOW - handle = dlopen (path, RTLD_NOW); -#else - handle = dlopen (path, RTLD_LAZY); -#endif /* RTLD_NOW */ - - if (handle == NULL) - { - const char * error = dlerror (); - - if (error == NULL) - { - err_set_error (TEXTDOMAIN, "Error loading shared object »$0«", path, NULL); - } - else - { - err_set_error (TEXTDOMAIN, "Error loading shared object »$0« - $1.", path, error, NULL); - } - - return (-1); - } - - plg = (plugin_t*)malloc_ (sizeof (plugin_t)); - plg->handle = handle; - plg->PATH = strdup_ (path); - - if (plg_dlsym_init (plg, handle) == -1) - { - dlclose (handle); - free_ (plg->PATH, plg, NULL); - return (-1); /* error msg is already set */ - } - - if (plg_dlsym_cleanup (plg, handle) == -1) - { - dlclose (handle); - free_ (plg->PATH, plg, NULL); - return (-1); /* error msg is already set */ - } - - if (plg_dlsym_authenticate (plg, handle) == -1) - { - dlclose (handle); - free_ (plg->PATH, plg, NULL); - return (-1); /* error msg is already set */ - } - - if (plg_dlsym_read (plg, handle) == -1) - { - dlclose (handle); - free_ (plg->PATH, plg, NULL); - return (-1); /* error msg is already set */ - } - - if (plg_dlsym_write (plg, handle) == -1) - { - dlclose (handle); - free_ (plg->PATH, plg, NULL); - return (-1); /* error msg is already set */ - } - - if (plg_dlsym_NAME (plg, handle) == -1) - { - dlclose (handle); - free_ (plg->PATH, plg, NULL); - return (-1); /* error msg is already set */ - } - - if (plg_dlsym_SASL (plg, handle) == -1) - { - dlclose (handle); - free_ (plg->PATH, plg, NULL); - return (-1); /* error msg is already set */ - } - - if (plg_dlsym_COMMENT (plg, handle) == -1) - { - dlclose (handle); - free_ (plg->PATH, plg, NULL); - return (-1); /* error msg is already set */ - } - - if (plg_dlsym_WEIGHT (plg, handle) == -1) - { - dlclose (handle); - free_ (plg->PATH, plg, NULL); - return (-1); /* error msg is already set */ - } - - while (plugins[idx] != NULL) - { - if (strcmp (plugins[idx++]->NAME, plg->NAME) == 0) - { - err_set_error (TEXTDOMAIN, "A plugin named »$0« is already loaded.", plg->NAME, NULL); - dlclose (handle); - free_ (plg->PATH, plg, NULL); - return (-1); - } - } - - if (getenv ("LIBSMTP_VERBOSE")) - { - puts (plg->NAME); - puts (plg->COMMENT); - } - - plg->plg_init (); - plg_add_plugin (plg); - - return (0); -} - -/** - * plg_load_plugins() tries to load all plugins with the - * extension "*.so" from the directory pointed to by - * path. - * - * @param path The directory where the plugins are located. - * - * @returns 0 on success and -1 on any error. - */ -int plg_load_plugins (const char * path) -{ - DIR *pd; - struct dirent *ep; - char *p_dir; - int len; - - pd = opendir (path); - if (pd != NULL) - { - while ((ep = readdir (pd)) != NULL) - { - p_dir = (char*)malloc_ (strlen (path) + strlen (ep->d_name) + 2); - sprintf (p_dir, "%s/%s", path, ep->d_name); - - len = strlen (p_dir); - if (len > 3 && strncmp (&p_dir[len-3], ".so", 3) == 0) - { - if (plg_load_plugin (p_dir) == -1) - { - if (getenv ("LIBSMTP_VERBOSE")) - { - puts (err_str_error ()); - } - } - } - - free_ (p_dir, NULL); - } - - closedir (pd); - } - else - { - err_set_error (TEXTDOMAIN, "Error opening »$0« - $1", path, strerror (errno), NULL); - return (-1); - } - - return (0); -} - -/** - * plg_plugins() returns the array of available plugins. The - * last element of this array is NULL. - * - * @returns The available plugins in form of a NULL terminated - * array. - */ -plugin_t ** plg_plugins () -{ - return (plugins); -} - - -/** - * plg_init() must be called before the other methods - * can be used. - */ -void plg_init () -{ - plugins = (plugin_t**)malloc_ (sizeof (plugin_t*)); - plugins[0] = NULL; -} - -/** - * plg_cleanup() must be called when the plugins are no longer - * needed. - */ -void plg_cleanup () -{ - plg_remove_plugins (); - free_ (plugins, NULL); -} - -/** - * plg_remove_plugin() removes the plugins with - * plg->NAME == NAME. - * - * @param NAME The plugin that should be removed. - * - * @returns 0 on success and -1 if no plugin with the specified - * name could be found. - */ -int plg_remove_plugin (const char * NAME) -{ - int remainder, idx, siz = 0; - - while (plugins[siz++] != NULL); - - for (idx = 0; idx < (siz-1); idx++) - { - if (strcmp (plugins[idx]->NAME, NAME) == 0) - { - plugins[idx]->plg_cleanup (); - - dlclose (plugins[idx]->handle); - free_ (plugins[idx]->PATH, plugins[idx], NULL); - - remainder = (siz-idx-1) * sizeof (plugin_t*); - memmove (&plugins[idx], &plugins[idx+1], remainder); - - return (0); - } - } - - err_set_error (TEXTDOMAIN, "A plugin named »$0« cannot be found.", NAME, NULL); - return (-1); -} - -/** - * plg_remove_plugins() removes all available plugins - * and frees unneeded resources. - */ -void plg_remove_plugins () -{ - int idx = 0; - - while (plugins[idx] != NULL) - { - plugins[idx]->plg_cleanup (); - - dlclose (plugins[idx]->handle); - free_ (plugins[idx]->PATH, plugins[idx], NULL); - - idx += 1; - } - - plugins = (plugin_t**)realloc_ (plugins, sizeof(plugin_t*)); - plugins[0] = NULL; -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/plugin.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/plugin.h.svn-base deleted file mode 100644 index 480683f..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/plugin.h.svn-base +++ /dev/null @@ -1,165 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * plugin.c implements the libsmtp-- plugin specification. * - * * - ************************************************************************/ - -#ifndef __PLUGIN_H__ -#define __PLUGIN_H__ - -#include -#include -#include "smtp.h" - -#ifdef __MACOS_ -#include "dlfcn.h" -#else -#include -#endif /* __MACOS_ */ - -#ifdef __cplusplus -extern "C" { -#endif - -/* forward declaration */ -struct smtp_srv_t; - -/** - * The prototype for the plg_authenticate() function that must - * be implemented by the plugin. - * - * @param srv The SMTP server object. - * - * @returns 0 on success and -1 on any error. - */ -typedef int plg_authenticate_t (struct smtp_srv_t * srv); - -/** - * The prototype for the plg_read() function that must - * be implemented by the plugin. - * - * @param srv The SMTP server object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -typedef int plg_read_t (struct smtp_srv_t * srv, - const char * buf, - unsigned int bufsiz); - -/** - * The prototype for the plg_write() function that must - * be implemented by the plugin. - * - * @param srv The SMTP server object. - * @param buf The buffer that should be written to the socket. - * @param bufsiz The number of bytes that should be written to the socket. - * - * @returns The number of bytes actually written or -1 if an error - * occured. - */ -typedef int plg_write_t (struct smtp_srv_t * srv, - const char * buf, - unsigned int bufsiz); - -/** - * The prototype for the plg_init() function that must - * be implemented by the plugin. - */ -typedef void plg_init_t (); - -/** - * The prototype for the plg_cleanup() function that must - * be implemented by the plugin. - */ -typedef void plg_cleanup_t (); - -/** - * plugin_t holds all information about one - * plugin object. - */ -typedef struct plugin_t -{ - plg_init_t *plg_init; - plg_cleanup_t *plg_cleanup; - plg_authenticate_t *plg_authenticate; - plg_read_t *plg_read; - plg_write_t *plg_write; - char *PATH; - char *NAME; - char *SASL; - char *COMMENT; - unsigned char WEIGHT; - void *handle; -} plugin_t; - -/** - * plg_plugins() returns the array of available plugins. The - * last element of this array is NULL. - * - * @returns The available plugins in form of a NULL terminated - * array. - */ -plugin_t ** plg_plugins (); - -/** - * plg_load_plugin() tries to load the plugin at path and - * adds the plugin to the array of available plugins if - * plg_load_plugin() was successfull. - * - * @param path The path to the plugin. - * - * @returns 0 on success and -1 on any error. - */ -int plg_load_plugin (const char * path); - -/** - * plg_load_plugins() tries to load all plugins with the - * extension "*.so" from the directory pointed to by - * path. - * - * @param path The directory where the plugins are located. - * - * @returns 0 on success and -1 on any error. - */ -int plg_load_plugins (const char * path); - -/** - * plg_remove_plugin() removes the plugins with - * plg->NAME == NAME. - * - * @param NAME The plugin that should be removed. - * - * @returns 0 on success and -1 on any error. - */ -int plg_remove_plugin (const char * NAME); - -/** - * plg_remove_plugins() removes all available plugins. - */ -void plg_remove_plugins (); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/smtp.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/smtp.c.svn-base deleted file mode 100644 index 7d654e7..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/smtp.c.svn-base +++ /dev/null @@ -1,1103 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * smtp.c implements the SMTP protocol specification. * - * * - ************************************************************************/ - -#include "smtp.h" - -/** - * smtp_write() sends data to the SMTP server. All lines - * ending in not preceeded by will be converted - * to as . - * - * @param srv The smtp_srv_t object. - * @param data The data that should be send. - * @param siz The size of data in bytes. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_write (smtp_srv_t * srv, const char * data, int siz) -{ - int idx, ret, buf_idx, bytes; - char buf[4096]; /* send 4k blocks of data, any better idea ? */ - char log_msg[5006]; -#ifdef __PRETTY_LOG_ - char *p_ptr, *tok; -#endif /* __PRETTY_LOG_ */ - - buf_idx = 0; - for (idx = 0; idx < siz; idx++) - { - /* unix2dos */ - if (data[idx] == '\n' && (idx == 0 || data[idx-1] != '\r')) - { - buf[buf_idx++] = '\r'; - buf[buf_idx++] = '\n'; - } - /* mac2dos */ - else if ((data[idx] == '\r' && idx == (siz-1)) || - (data[idx] == '\r' && idx < (siz-1) && data[idx+1] != '\n')) - { - buf[buf_idx++] = '\r'; - buf[buf_idx++] = '\n'; - } - else - { - buf[buf_idx++] = data[idx]; - } - - if (buf_idx >= (4094) || idx == (siz-1)) - { - buf[buf_idx] = '\0'; - buf_idx = 0; - - bytes = 0; - while (bytes < strlen (buf)) - { - if (srv->plg != NULL) - { - if ((ret = srv->plg->plg_write (srv, buf+bytes, strlen (buf)-bytes)) == -1) - { - return (-1); /* error msg is already set */ - } - } - else - { -#ifdef __USE_SSL_ - if ((ret = ssl_write (&srv->sck, buf+bytes, strlen (buf)-bytes)) == -1) - { - return (-1); /* error msg is already set */ - } -#else - if ((ret = sck_write (&srv->sck, buf+bytes, strlen (buf)-bytes)) == -1) - { - return (-1); /* error msg is already set */ - } -#endif /* __USE_SSL_ */ - } - - bytes += ret; - } - -#ifdef __PRETTY_LOG_ - /* linewise logging is very expensive */ - p_ptr = buf; - while (p_ptr != NULL) - { - tok = str_tok_ (p_ptr, &p_ptr, "\r\n"); - - sprintf (log_msg, "[CLIENT] %s", tok); - log (log_msg, LOG_LVL_VERBOSE); - - free_ (tok, NULL); - }; -#else - sprintf (log_msg, "[CLIENT] %s", buf); - log (log_msg, LOG_LVL_VERBOSE); -#endif /* __PRETTY_LOG_ */ - - } - }; - - return (0); -} - -/** - * smtp_read_() reads one line from the SMTP server, - * which must be already connected. Any trailing '\r' - * will be removed if present. The resulting string is - * malloc()ed and must be freed using free(). - * - * @param srv The SMTP server object. - * - * @returns A pointer to the resulting string or NULL - * if smtp_read_() failed. The string will be NULL - * terminated. - */ -char * smtp_read_ (smtp_srv_t * srv) -{ - int idx = 0; - int bufsiz = 4096; - char *buf = (char*)malloc_ (bufsiz); - char *msg; - - do { - if (srv->plg != NULL) - { - if (srv->plg->plg_read (srv, &buf[idx++], 1) == -1) - { - free_ (buf, NULL); - return (NULL); /* error msg is already set */ - } - } - else - { -#ifdef __USE_SSL_ - if (ssl_read (&srv->sck, &buf[idx++], 1) == -1) - { - free_ (buf, NULL); - return (NULL); /* error msg is already set */ - } -#else - if (sck_read (&srv->sck, &buf[idx++], 1) == -1) - { - free_ (buf, NULL); - return (NULL); /* error msg is already set */ - } -#endif /* __USE_SSL_ */ - } - - if (idx == bufsiz) - { - bufsiz += 4096; - buf = (char*)realloc_ (buf, bufsiz); - } - } while (buf[idx-1] != '\n'); - - /* get rid of the trailing \r and ensure a terminating NULL - * character */ - if (buf[idx-2] == '\r') - { - strcpy (&buf[idx-2], "\n"); - } - else - { - strcpy (&buf[idx-1], "\n"); - } - - /* log the msg */ - msg = (char*)malloc_ (strlen (buf) + 10); - - sprintf (msg, "[SERVER] %s", buf); - log (msg, LOG_LVL_VERBOSE); - - free_ (msg, NULL); - - return (buf); -} - -/** - * smtp_eval_response() evaluates the response code given by - * the SMTP server msg. If the status code indicates a fatal - * error -1 will be returned, if the status code is non-fatal - * the response string will be log()ged with a verbosity level - * of LOG_LVL_ERROR. If some unknown status code is returned by - * the server smtp_eval_response() will also return -1. - * If is_221_fatal is 1, smtp_eval_response() will also return - * -1 if it receives the status code 221. - * - * @param srv The SMTP server object. - * @param rsp The response string received from the - * SMTP server. - * @param is_221_fatal Must be 1 if the SMTP reply code 221 is - * considered to be fatal, otherwise 0. - * - * @returns 0 on success and -1 if the status code in the response - * from the SMTP server indicates an error. - */ -static int smtp_eval_response (smtp_srv_t * srv, const char * rsp, int is_221_fatal) -{ - int idx = 0; - - char *fatal[] = - { - "421", "432", "450", "451", - "452", "454", "500", "501", - "502", "503", "504", "530", - "534", "535", "538", "550", - "552", "553", "554", NULL - }; - - char *notify[] = - { - "211", "214", "251", "252", - "551", NULL - }; - - char *ok[] = - { - "220", "221", "235", "250", - "334", "354", NULL - }; - - if (strlen (rsp) >= 3) - { - /* check for 221 if this is expected to be an error */ - if (is_221_fatal && strncmp (rsp, "221", 3) == 0) - { - err_set_error (TEXTDOMAIN, rsp, NULL); - return (-1); - } - - while (fatal[idx] != NULL) - { - if (strncmp (rsp, fatal[idx++], 3) == 0) - { - err_set_error (TEXTDOMAIN, rsp, NULL); - return (-1); - } - } - - idx = 0; - while (notify[idx] != NULL) - { - if (strncmp (rsp, notify[idx++], 3) == 0) - { - log (rsp, LOG_LVL_ERROR); - return (0); - } - } - - idx = 0; - while (ok[idx] != NULL) - { - if (strncmp (rsp, ok[idx++], 3) == 0) - { - return (0); - } - } - } - - /* this point should never be reached */ - err_set_error (TEXTDOMAIN, "Unknown message - »$0«", rsp, NULL); - return (-1); -} - -/** - * smtp_read_response_() reads the response from the SMTP server. - * The resulting string is malloc()ed and must be freed using - * free(). - * - * @param srv The SMTP server object. - * @param is_221_fatal Must be 1 if the SMTP reply code 221 is - * considered to be fatal, otherwise 0. - * - * - * @returns A pointer to the resulting string or NULL - * if smtp_read_response_() failed or a protocol error - * occured. The string will be NULL terminated. - */ -char * smtp_read_response_ (smtp_srv_t * srv, int is_221_fatal) -{ - char *response; - char *line; - - if ((line = smtp_read_ (srv)) == NULL) - { - return (NULL); /* error msg is already set */ - } - - if (smtp_eval_response (srv, line, is_221_fatal) == -1) - { - free_ (line, NULL); - return (NULL); /* error msg is already set */ - }; - - response = strdup_ (line); - - while (strlen (line) > 3 && line[3] == '-') - { - free_ (line, NULL); - - if ((line = smtp_read_ (srv)) == NULL) - { - free_ (response, NULL); - return (NULL); /* error msg is already set */ - } - - if (smtp_eval_response (srv, line, is_221_fatal) == -1) - { - free_ (response, line, NULL); - return (NULL); /* error msg is already set */ - }; - - response = (char*)realloc_ (response, strlen(response) + strlen (line) + 1); - strcat (response, line); - } - free_ (line, NULL); - - return (response); -} - -/** - * smtp_check_auth_method() checks if the SASL mechanism is - * supported by the server. - * - * @param srv The SMTP server object. - * @param rsp The response from the SMTP server to the - * EHLO command. - * @param sasl The SASL mechanism that should be proved. - * - * @returns 0 if the SASL mechanism is supported and -1 if it - * is not. - */ -static int smtp_check_auth_method (smtp_srv_t * srv, const char * rsp, const char *sasl) -{ - char *tok; - char *SASL = strdup_ (sasl); - char *RSP = strdup_ (rsp); - char *p_ptr = RSP; - - str_toupper (RSP, strlen (RSP)); - str_toupper (SASL, strlen (SASL)); - - while (p_ptr != NULL) - { - tok = str_tok_ (p_ptr, &p_ptr, "\n"); - - if (strstr (tok, "AUTH") != NULL) - { - if (strstr (tok, SASL) != NULL) - { - free_ (RSP, SASL, tok, NULL); - return (0); - } - } - - free_ (tok, NULL); - }; - - err_set_error (TEXTDOMAIN, - "Authentication method »$0« is not " - "supported by server.", sasl, NULL); - - free_ (RSP, SASL, NULL); - return (-1); -} - -/** - * smtp_best_auth_method() takes the response to the EHLO - * command from the SMTP server and returns the securest - * AUTH mechanism that we have in common. The string is - * directly taken from the plugin list, so it should not - * be modified or freed in any way. - * - * @param srv The SMTP server object. - * @param rsp The response from the SMTP server to the - * EHLO command. - * - * @returns The securest AUTH mechanism that we have in - * common or NULL if nothing suitable was found. - */ -static char * smtp_best_auth_method (smtp_srv_t * srv, const char *rsp) -{ - int idx = 0; - plugin_t **plg = plg_plugins (); - - while (plg[idx] != NULL) - { - if (smtp_check_auth_method (srv, rsp, plg[idx]->SASL) == 0) - { - return (plg[idx]->SASL); - } - - idx += 1; - } - - return (NULL); -} - -/** - * smtp_send_HELO() sends the HELO command. - * - * @param srv The SMTP server object. - * - * @returns 0 on success and -1 if smtp_send_HELO() - * failed or a protocol error occured. - */ -static int smtp_send_HELO (smtp_srv_t * srv) -{ - char *response; - char *msg; - - msg = (char*)malloc_ (strlen(srv->domain) + 8); - sprintf (msg, "HELO %s\r\n", srv->domain); - - if (smtp_write (srv, msg, strlen (msg)) == -1) - { - free_ (msg, NULL); - return (-1); /* error msg is already set */ - } - free_ (msg, NULL); - - if ((response = smtp_read_response_ (srv, 1)) == NULL) - { - return (-1); /* error msg is already set */ - } - free_ (response, NULL); - - return (0); -} - -/** - * smtp_authenticate() calls the plugin that handles the - * srv->SASL mechanism. It is upposed to be called by - * smtp_send_EHLO(). - * - * @param srv The smtp_srv_t object that should be used. - * - * @returns 0 on success and -1 on any error. - */ -static int smtp_authenticate (smtp_srv_t * srv) -{ - plugin_t **plg; - int idx = 0; - - if (srv->SASL != NULL) - { - plg = plg_plugins (); - while (plg[idx] != NULL) - { - char *SASL = strdup_ (plg[idx]->SASL); - str_toupper (SASL, strlen (SASL)); - - if (strcmp (SASL, srv->SASL) == 0) - { - srv->plg = plg[idx]; - - free_ (SASL, NULL); - return (srv->plg->plg_authenticate (srv)); - } - free_ (SASL, NULL); - - idx += 1; - } - - err_set_error (TEXTDOMAIN, "No plugin loaded for »$0«", srv->SASL, NULL); - return (-1); - } - - return (0); -} - -/** - * smtp_send_EHLO() sends the EHLO command. - * - * @param srv The SMTP server object. - * - * @returns 0 on success and -1 if smtp_send_EHLO() - * failed or a protocol error occured. - */ -static int smtp_send_EHLO (smtp_srv_t * srv) -{ - char *response; - char *msg; - - msg = (char*)malloc_ (strlen(srv->domain) + 8); - sprintf (msg, "EHLO %s\r\n", srv->domain); - - if (smtp_write (srv, msg, strlen (msg)) == -1) - { - free_ (msg, NULL); - return (-1); /* error msg is already set */ - } - free_ (msg, NULL); - - if ((response = smtp_read_response_ (srv, 1)) == NULL) - { - return (-1); /* error msg is already set */ - } - - /* determine the SASL mechanism that should be used and - * if it is supported */ - if (srv->SASL != NULL && strcmp (srv->SASL, "AUTO") == 0) - { - char * auth = smtp_best_auth_method (srv, response); - - free_ (srv->SASL, NULL); - srv->SASL = auth ? strdup_ (auth) : NULL; - } - else - { - if (smtp_check_auth_method (srv, response, srv->SASL) == -1) - { - free_ (response, NULL); - return (-1); /* error msg is already set */ - } - } - free_ (response, NULL); - - /* start the authentication */ - if (smtp_authenticate (srv) == -1) - { - return (-1); /* error msg is already set */ - } - - return (0); -} - -/** - * smtp_send_MAILFROM() sends the MAIL FROM command. - * - * @param srv The SMTP server object. - * @param from The address of the sender. - * - * @returns 0 on success and -1 if smtp_send_MAILFROM() - * failed or a protocol error occured. - */ -static int smtp_send_MAILFROM (smtp_srv_t * srv, const char * from) -{ - char *response; - char *msg; - - msg = (char*)malloc_ (strlen(from) + 16); - sprintf (msg, "MAIL FROM: <%s>\r\n", from); - - if (smtp_write (srv, msg, strlen (msg)) == -1) - { - free_ (msg, NULL); - return (-1); /* error msg is already set */ - } - free_ (msg, NULL); - - if ((response = smtp_read_response_ (srv, 1)) == NULL) - { - return (-1); /* error msg is already set */ - } - free_ (response, NULL); - - return (0); -} - -/** - * smtp_send_QUIT() sends the QUIT command. - * - * @param srv The SMTP server object. - * - * @returns 0 on success and -1 if smtp_send_QUIT() - * failed or a protocol error occured. - */ -static int smtp_send_QUIT (smtp_srv_t * srv) -{ - char *response; - - if (smtp_write (srv, "QUIT\r\n", 6) == -1) - { - return (-1); /* error msg is already set */ - } - - if ((response = smtp_read_response_ (srv, 0)) == NULL) - { - return (-1); /* error msg is already set */ - } - free_ (response, NULL); - - return (0); -} - -/** - * smtp_send_RCPTTO() sends the RCPTTO command. - * - * @param srv The SMTP server object. - * - * @returns 0 on success and -1 if smtp_send_RCPTTO() - * failed or a protocol error occured. - */ -static int smtp_send_RCPTTO (smtp_srv_t * srv, char ** rcpts) -{ - char *response; - char *msg; - int idx = 0, valid = 0; - - while (rcpts[idx] != NULL) - { - msg = (char*)malloc_ (strlen(rcpts[idx]) + 14); - sprintf (msg, "RCPT TO: <%s>\r\n", rcpts[idx]); - - if (smtp_write (srv, msg, strlen (msg)) == -1) - { - free_ (msg, NULL); - return (-1); /* error msg is already set */ - } - free_ (msg, NULL); - - if ((response = smtp_read_response_ (srv, 1)) == NULL) - { - log (err_str_error (), LOG_LVL_ERROR); - } - else - { - valid += 1; - free_ (response, NULL); - } - - idx += 1; - } - - /* we need at least one valid rcpt */ - if (valid == 0) - { - err_set_error (TEXTDOMAIN, "No valid recipient was given.", NULL); - return (-1); - } - return (0); -} - -/** - * smtp_init() initializes the smtp_srv_t struct srv and must - * be called once for each smtp_srv_t object before the other - * functions can be used. When the smtp_srv_t object is no longer - * needed it should be de-initialized with smtp_cleanup() to free - * unneeded resources. - * - * @param srv The smtp_srv_t object. - * @param domain The domain that should be used when sending the HELO cmd. - * @param from The envelope from address. - * @param server The host of the SMTP server. - * @param port The port the SMTP server is listening on. - * @param timeout Socket timout value in seconds. - */ -void smtp_init (smtp_srv_t * srv, - const char * domain, - const char * from, - const char * server, - unsigned int port, - unsigned int timeout) -{ - srv->domain = strdup_ (domain); - srv->from = strdup_ (from); - srv->server = strdup_ (server); - - srv->timeout = timeout; - srv->port = port; - - srv->first_part = 1; - - srv->plg = NULL; - srv->username = NULL; - srv->password = NULL; - srv->realm = NULL; - srv->SASL = NULL; - -#ifdef __USE_SSL_ - srv->ssl_type = NO_SSL; - ssl_init (&srv->sck); -#else - sck_init (&srv->sck); -#endif /* __USE_SSL_ */ -} - -/** - * smtp_cleanup() releases unneeded resources and must be called when - * the smtp_srv_t object is no longer needed. srv must be initialized - * by smtp_init() before, otherwise random errors may occur. - * - * @param srv The smtp_srv_t object. - */ -void smtp_cleanup (smtp_srv_t * srv) -{ - if (srv->domain) - free_ (srv->domain, NULL); - if (srv->from) - free_ (srv->from, NULL); - if (srv->server) - free_ (srv->server, NULL); - if (srv->username) - free_ (srv->username, NULL); - if (srv->password) - free_ (srv->password, NULL); - if (srv->realm) - free_ (srv->realm, NULL); - if (srv->SASL) - free_ (srv->SASL, NULL); - -#ifdef __USE_SSL_ - ssl_cleanup (&srv->sck); -#else - sck_cleanup (&srv->sck); -#endif /* __USE_SSL_ */ -} - -#ifdef __USE_SSL_ -/** - * smtp_ssl_opts() sets some SSL specific options. - * - * @param srv The smtp_srv_t object that should be used. - * @param ssl_type The ssl protocol flavor that should be used. - * @param opts The SSL verification level. - * @param ca_file A file that contains PEM certificates. Must - * be "" if opts == VERIFY_NONE. - * The file can contain several CA certificates - * identified by - * - * -----BEGIN CERTIFICATE----- - * - * ... [CA certificate in base64 encoding] ... - * - * -----END CERTIFICATE----- - * - * sequences. Before, between, and after the - * certificates text is allowed which - * can be used e.g. for descriptions of the - * certificates. - * - * Take a look in the openssl documentation to - * get more infos on that topic. - * @param ca_dir A directory that contains PEM certificates. Must - * be "" if opts == VERIFY_NONE. - * The files each contain one CA certificate. The files - * are looked up by the CA subject name hash value, which - * must hence be available. If more than one CA certificate - * with the same name hash value exist, the extension must be - * different (e.g. 9d66eef0.0, 9d66eef0.1 etc). The search - * is performed in the ordering of the extension number, - * regardless of other properties of the certificates. - * Use the c_rehash utility to create the necessary links. - * - * Take a look in the openssl documentation to - * get more infos on that topic. - */ -void smtp_ssl_opts (smtp_srv_t * srv, - ssl_type_t ssl_type, - ssl_opts_t opts, - const char * ca_file, - const char * ca_dir) -{ - srv->ssl_type = ssl_type; - ssl_set_opts (&srv->sck, opts, ca_file, ca_dir); -} - - -/** - * ssl_negotiate() starts the SSL handshake. - * - * @param srv The smtp_srv_t object that should be used. - * - * @returns -1 on an error, otherwise 0. - */ -static int smtp_ssl_handshake (smtp_srv_t * srv) -{ - char *rsp; - - if (srv->ssl_type != NO_SSL) - { - if (srv->ssl_type == STARTTLS) - { - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - return (-1); /* error msg is already set */ - } - free_ (rsp, NULL); - - if (smtp_write (srv, "STARTTLS\r\n", 10) == -1) - { - return (-1); /* error msg is already set */ - } - - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - return (-1); /* error msg is already set */ - } - free_ (rsp, NULL); - } - - if (ssl_negotiate (&srv->sck) == -1) - { - return (-1); /* error msg is already set */ - } - } - - return (0); -} -#endif /* __USE_SSL_ */ - -/** - * smtp_connect() connects to the smtp_srv_t object. - * - * @param srv The SMTP server object. - * - * @returns 0 on success and -1 on failure. - */ -int smtp_connect (smtp_srv_t * srv) -{ - char *response; - -#ifdef __USE_SSL_ - if (ssl_connect (&srv->sck, srv->server, srv->port, srv->timeout) == -1) - { - return (-1); /* error msg is already set */ - } -#else - if (sck_connect (&srv->sck, srv->server, srv->port, srv->timeout) == -1) - { - return (-1); /* error msg is already set */ - } -#endif /* __USE_SSL_ */ - -#ifdef __USE_SSL_ - if (srv->ssl_type != NO_SSL) - { - if (smtp_ssl_handshake (srv) == -1) - { - return (-1); /* error msg is already set */ - } - } - if (srv->ssl_type != STARTTLS) - { -#endif /* __USE_SSL_ */ - if ((response = smtp_read_response_ (srv, 1)) == NULL) - { - return (-1); - } - free_ (response, NULL); -#ifdef __USE_SSL_ - } -#endif /* __USE_SSL_ */ - - if (srv->SASL != NULL) - { - if (smtp_send_EHLO (srv) == -1) - { - return (-1); /* error msg is already set */ - } - } - else - { - if (smtp_send_HELO (srv) == -1) - { - return (-1); /* error msg is already set */ - } - } - - return (0); -} - -/** - * smtp_close() closes the connection to the SMTP server. - * - * @param srv The smtp_srv_t object that should be closed. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_close (smtp_srv_t * srv) -{ - int ret = 0; - - /* if the QUIT command fails for some reason we - * do not care and proceed closing the socket. */ - if (smtp_send_QUIT (srv) == -1) - { - ret = -1; - } - -#ifdef __USE_SSL_ - if (ssl_close (&srv->sck) == -1) - { - ret = -1; - } -#else - if (sck_close (&srv->sck) == -1) - { - ret = -1; - } -#endif /* __USE_SSL_ */ - - return (ret); -} - -/** - * smtp_send_msg() sends msg to all repipients in - * the array rcpts. The last element of rcpts must be - * NULL. The msg will be converted into dos format, - * conforming to rfc0821. - * - * @param srv The smtp_srv_t object that should be used. - * @param msg The msg that should be send. - * @param rcpts The list of recipients. The last element - * this array must be NULL. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_send_msg (smtp_srv_t * srv, const char * msg, char ** rcpts) -{ - return (smtp_send_big_msg (srv, msg, rcpts, 1)); -} - -/** - * smtp_send_big_msg() can be used instead of smtp_send_msg() if - * you send very big msgs. The memory allocated by smtp_send_msg() - * is up to 3 * strlen (message), which can be very much if you - * consider people sending files that are 50MB big or even more via - * email. Using smtp_send_big_msg() the memory allocated will be only - * 3 * strlen (part_message). The last element of rcpts must be NULL. - * The msg will be converted into dos format, conforming to rfc0821. - * - * Example: - * - * char *msg_1 = "To: bouncer@test.smtp.org\n" - * "Subject: test\n" - * "\n" - * "part 1\n"; - * - * char *msg_2 = "\npart 2\n"; - * - * char *msg_3 = "\npart 3\n"; - * - * if (smtp_send_big_msg (&srv, msg_1, rcpts, 0) == -1) - * { - * puts (err_str_error ()); - * smtp_cleanup (&srv); - * exit (1); - * } - * - * if (smtp_send_big_msg (&srv, msg_3, rcpts, 0) == -1) - * { - * puts (err_str_error ()); - * smtp_cleanup (&srv); - * exit (1); - * } - * - * if (smtp_send_big_msg (&srv, msg_3, rcpts, 1) == -1) - * { - * puts (err_str_error ()); - * smtp_cleanup (&srv); - * exit (1); - * } - * - * @param srv The smtp_srv_t object that should be used. - * @param msg The msg that should be send. - * @param rcpts The list of recipients. The last element - * this array must be NULL. - * @param last If msg is the last segment of the msg, last must - * be 1, otherwise 0. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_send_big_msg (smtp_srv_t * srv, - const char * msg, - char ** rcpts, - int last) -{ - int len, idx, buf_idx; - char buf[4096]; - char *rsp; - - if (srv->first_part) - { - if (smtp_send_MAILFROM (srv, srv->from) == -1) - { - return (-1); /* error msg is already set */ - } - - if (smtp_send_RCPTTO (srv, rcpts) == -1) - { - return (-1); /* error msg is already set */ - } - - /* the DATA command */ - if (smtp_write (srv, "DATA\r\n", 6) == -1) - { - return (-1); /* error msg is already set */ - } - - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - return (-1); /* error msg is already set */ - } - free_ (rsp, NULL); - - srv->first_part = 0; - } - - /* send the msg */ - buf_idx = 0; - len = strlen (msg); - for (idx = 0; idx < len; idx++) - { - /* rfc 2821 - 4.5.2 */ - if (msg[idx] == '.' && idx != 0 && - (msg[idx-1] == '\n' || msg[idx-1] == '\r')) - { - buf[buf_idx++] = '.'; - buf[buf_idx++] = '.'; - } - else - { - buf[buf_idx++] = msg[idx]; - } - - if (buf_idx >= (4094) || idx == (len-1)) - { - buf[buf_idx] = '\0'; - buf_idx = 0; - - if (smtp_write (srv, buf, strlen (buf)) == -1) - { - return (-1); /* error msg is already set */ - } - } - } - - if (last) - { - if (smtp_write (srv, "\r\n.\r\n", 5) == -1) - { - return (-1); /* error msg is already set */ - } - - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - return (-1); /* error msg is already set */ - } - free_ (rsp, NULL); - - srv->first_part = 1; - } - - return (0); -} - -/** - * smtp_set_credentials() sets the credentials that should be - * used for authentication. - * - * @param srv The smtp_srv_t object that should be used. - * @param sasl The SASL mechanism that should be used. - * If sasl == "AUTO" the securest mechanism that - * we have in common with the server will be - * determined automagically. - * @param username The username. - * @param password The password. - * @param realm The realm. - */ -void smtp_set_credentials (smtp_srv_t * srv, - const char * sasl, - const char * username, - const char * password, - const char * realm) -{ - if (srv->username) - free_ (srv->username, NULL); - if (srv->password) - free_ (srv->password, NULL); - if (srv->realm) - free_ (srv->realm, NULL); - if (srv->SASL) - free_ (srv->SASL, NULL); - - srv->SASL = strdup_ (sasl); - str_toupper (srv->SASL, strlen (srv->SASL)); - - srv->username = strdup_ (username); - srv->password = strdup_ (password); - srv->realm = strdup_ (realm); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/smtp.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/smtp.h.svn-base deleted file mode 100644 index 4fb946a..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/smtp.h.svn-base +++ /dev/null @@ -1,303 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * smtp.c implements the SMTP protocol specification. * - * * - ************************************************************************/ - -#ifndef __SMTP_H__ -#define __SMTP_H__ - -#include "alloc.h" -#include "error.h" -#include "log.h" -#include "plugin.h" - -#ifdef __USE_SSL_ -#include "sslsocket.h" -#else -#include "inetsocket.h" -#endif /* __USE_SSL_ */ - -#ifdef __cplusplus -extern "C" { -#endif -void _cb_w_init(); -void _cb_init(); -#ifdef __USE_SSL_ -/** - * The SSL specification. - */ -typedef enum ssl_type_t { STARTTLS, SMTPS, NO_SSL } ssl_type_t; -#endif /* __USE_SSL_ */ - -/** - * This struct describes the SMTP session. - */ -typedef struct smtp_srv_t -{ - char *domain; - char *from; - char *server; - char *username; - char *password; - char *realm; - char *SASL; - struct plugin_t *plg; - unsigned int timeout; - unsigned int port; - int first_part; /* for smtp_send_big_msg() */ -#ifdef __USE_SSL_ - ssl_socket_t sck; - ssl_type_t ssl_type; -#else - sck_socket_t sck; -#endif /* __USE_SSL_ */ -} smtp_srv_t; - -/** - * smtp_write() sends data to the SMTP server. All lines - * ending in not preceeded by will be converted - * to as . - * - * @param srv The smtp_srv_t object. - * @param data The data that should be send. - * @param siz The size of data in bytes. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_write (smtp_srv_t * srv, const char * data, int siz); - -/** - * smtp_read_() reads one line from the SMTP server, - * which must be already connected. Any trailing '\r' - * will be removed if present. The resulting string is - * malloc()ed and must be freed using free(). - * - * @param srv The SMTP server object. - * - * @returns A pointer to the resulting string or NULL - * if smtp_read_() failed. The string will be NULL - * terminated. - */ -char * smtp_read_ (smtp_srv_t * srv); - -/** - * smtp_read_response_() reads the response from the SMTP server. - * The resulting string is malloc()ed and must be freed using - * free(). - * - * @param srv The SMTP server object. - * @param is_221_fatal Must be 1 if the SMTP reply code 221 is - * considered to be fatal, otherwise 0. - * - * @returns A pointer to the resulting string or NULL - * if smtp_read_response_() failed or a protocol error - * occured. The string will be NULL terminated. - */ -char * smtp_read_response_ (smtp_srv_t * srv, int is_221_fatal); - -/** - * smtp_init() initializes the smtp_srv_t struct srv and must - * be called once for each smtp_srv_t object before the other - * functions can be used. When the smtp_srv_t object is no longer - * needed it should be de-initialized with smtp_cleanup() to free - * unneeded resources. - * - * @param srv The smtp_srv_t object. - * @param domain The domain that should be used when sending the HELO cmd. - * @param from The envelope from address. - * @param server The host of the SMTP server. - * @param port The port the SMTP server is listening on. - * @param timeout Socket timout value in seconds. - */ -void smtp_init (smtp_srv_t * srv, - const char * domain, - const char * from, - const char * server, - unsigned int port, - unsigned int timeout); - -/** - * smtp_cleanup() releases unneeded resources and must be called when - * the smtp_srv_t object is no longer needed. srv must be initialized - * by smtp_init() before, otherwise random errors may occur. - * - * @param srv The smtp_srv_t object. - */ -void smtp_cleanup (smtp_srv_t * srv); - -/** - * smtp_connect() connects to the smtp_srv_t object. - * - * @param srv The SMTP server object. - * - * @returns 0 on success and -1 on failure. - */ -int smtp_connect (smtp_srv_t * srv); - -/** - * smtp_close() closes the connection to the SMTP server. - * - * @param srv The smtp_srv_t object that should be closed. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_close (smtp_srv_t * srv); - -/** - * smtp_send_msg() sends msg to all recipients in - * the array rcpts. The last element of rcpts must be - * NULL. The msg will be converted into dos format, - * conforming to rfc0821. - * - * @param srv The smtp_srv_t object that should be used. - * @param msg The msg that should be send. - * @param rcpts The list of recipients. The last element - * this array must be NULL. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_send_msg (smtp_srv_t * srv, const char * msg, char ** rcpts); - -/** - * smtp_send_big_msg() can be used instead of smtp_send_msg() if - * you send very big msgs. The memory allocated by smtp_send_msg() - * is up to 3 * strlen (message), which can be very much if you - * consider people sending files that are 50MB big or even more via - * email. Using smtp_send_big_msg() the memory allocated will be only - * 3 * strlen (part_message). The last element of rcpts must be NULL. - * The msg will be converted into dos format, conforming to rfc0821. - * - * Example: - * - * char *msg_1 = "To: bouncer@test.smtp.org\n" - * "Subject: test\n" - * "\n" - * "part 1\n"; - * - * char *msg_2 = "\npart 2\n"; - * - * char *msg_3 = "\npart 3\n"; - * - * if (smtp_send_big_msg (&srv, msg_1, rcpts, 0) == -1) - * { - * puts (err_str_error ()); - * smtp_cleanup (&srv); - * exit (1); - * } - * - * if (smtp_send_big_msg (&srv, msg_3, rcpts, 0) == -1) - * { - * puts (err_str_error ()); - * smtp_cleanup (&srv); - * exit (1); - * } - * - * if (smtp_send_big_msg (&srv, msg_3, rcpts, 1) == -1) - * { - * puts (err_str_error ()); - * smtp_cleanup (&srv); - * exit (1); - * } - * - * @param srv The smtp_srv_t object that should be used. - * @param msg The msg that should be send. - * @param rcpts The list of recipients. The last element - * this array must be NULL. - * @param last If msg is the last segment of the msg, last must - * be 1, otherwise 0. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_send_big_msg (smtp_srv_t * srv, - const char * msg, - char ** rcpts, - int last); - -/** - * smtp_set_credentials() sets the credentials that should be - * used for authentication. - * - * @param srv The smtp_srv_t object that should be used. - * @param sasl The SASL mechanism that should be used. - * If sasl == "AUTO" the securest mechanism that - * we have in common with the server will be - * determined automagically. - * @param username The username. - * @param password The password. - * @param realm The realm. - */ -void smtp_set_credentials (smtp_srv_t * srv, - const char * sasl, - const char * username, - const char * password, - const char * realm); - -#ifdef __USE_SSL_ -/** - * smtp_ssl_opts() sets some SSL specific options. - * - * @param srv The smtp_srv_t object that should be used. - * @param ssl_type The ssl protocol flavor that should be used. - * @param opts The SSL verification level. - * @param ca_file A file that contains PEM certificates. Must - * be "" if opts == VERIFY_NONE. - * The file can contain several CA certificates - * identified by - * - * -----BEGIN CERTIFICATE----- - * - * ... [CA certificate in base64 encoding] ... - * - * -----END CERTIFICATE----- - * - * sequences. Before, between, and after the - * certificates text is allowed which - * can be used e.g. for descriptions of the - * certificates. - * - * Take a look in the openssl documentation to - * get more infos on that topic. - * @param ca_dir A directory that contains PEM certificates. Must - * be "" if opts == VERIFY_NONE. - * The files each contain one CA certificate. The files - * are looked up by the CA subject name hash value, which - * must hence be available. If more than one CA certificate - * with the same name hash value exist, the extension must be - * different (e.g. 9d66eef0.0, 9d66eef0.1 etc). The search - * is performed in the ordering of the extension number, - * regardless of other properties of the certificates. - * Use the c_rehash utility to create the necessary links. - * - * Take a look in the openssl documentation to - * get more infos on that topic. - */ -void smtp_ssl_opts (smtp_srv_t * srv, - ssl_type_t ssl_type, - ssl_opts_t opts, - const char * ca_file, - const char * ca_dir); -#endif /* __USE_SSL_ */ - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/sslsocket.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/sslsocket.c.svn-base deleted file mode 100644 index 92c9d9c..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/sslsocket.c.svn-base +++ /dev/null @@ -1,555 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * sslsocket.c provides ssl support for TCP/IP sockets. * - * * - ************************************************************************/ - -#include "sslsocket.h" - -#define NA 65535 /* for ssl_error () */ - -/** - * ssl_init() initializes the ssl_socket_t and must - * be called once for each ssl_socket_t object before the other - * functions can be used. When the ssl_socket_t object is no longer - * needed it should be de-initialized with ssl_cleanup() to free - * unneeded resources. - * - * @param ssl The ssl_socket_t object. - */ -void ssl_init (ssl_socket_t * ssl) -{ - ssl->negotiated = 0; - ssl->opts = VERIFY_PEER; - ssl->ssl = NULL; - ssl->ctx = NULL; - ssl->ca_file = strdup_ (""); - ssl->ca_dir = strdup_ (""); - - sck_init (&ssl->sck); - - SSLeay_add_ssl_algorithms (); - ERR_load_crypto_strings (); - SSL_load_error_strings (); -} - -/** - * ssl_cleanup() releases unneeded resources and must be called when - * the ssl_socket_t object is no longer needed. ssl must be initialized - * by ssl_init() before, otherwise random errors may occur. - * - * @param ssl The ssl_socket_t object. - */ -void ssl_cleanup (ssl_socket_t * ssl) -{ - free_ (ssl->ca_file, ssl->ca_dir, NULL); - - sck_cleanup (&ssl->sck); -} - -/** - * ssl_SSL_read () wraps around SSL_read and handles the - * following error conditions: SSL_ERROR_WANT_WRITE, - * SSL_ERROR_WANT_READ, SSL_ERROR_WANT_CONNECT and - * SSL_ERROR_WANT_X509_LOOKUP. - */ -static int ssl_SSL_read (ssl_socket_t * ssl, const void * buf, int num) -{ - int bytes = SSL_read (ssl->ssl, (char*)buf, num); - while (SSL_get_error (ssl->ssl, bytes) == SSL_ERROR_WANT_WRITE || - SSL_get_error (ssl->ssl, bytes) == SSL_ERROR_WANT_READ || - SSL_get_error (ssl->ssl, bytes) == SSL_ERROR_WANT_CONNECT || - SSL_get_error (ssl->ssl, bytes) == SSL_ERROR_WANT_X509_LOOKUP) - { - log ("SSL_read() operation did not complete. I try it again.", LOG_LVL_VVERBOSE); - - bytes = SSL_read (ssl->ssl, (char*)buf, num); - } - - return (bytes); -} - -/** - * ssl_SSL_write () wraps around SSL_write and handles the - * following error conditions: SSL_ERROR_WANT_WRITE, - * SSL_ERROR_WANT_READ, SSL_ERROR_WANT_CONNECT and - * SSL_ERROR_WANT_X509_LOOKUP. - */ -static int ssl_SSL_write (ssl_socket_t * ssl, const void * buf, int num) -{ - int ret = SSL_write (ssl->ssl, (char*)buf, num); - while (SSL_get_error (ssl->ssl, ret) == SSL_ERROR_WANT_WRITE || - SSL_get_error (ssl->ssl, ret) == SSL_ERROR_WANT_READ || - SSL_get_error (ssl->ssl, ret) == SSL_ERROR_WANT_CONNECT || - SSL_get_error (ssl->ssl, ret) == SSL_ERROR_WANT_X509_LOOKUP) - { - log ("SSL_write() operation did not complete. I try it again.", LOG_LVL_VVERBOSE); - - ret = SSL_write (ssl->ssl, (char*)buf, num); - } - - return (ret); -} - -/** - * ssl_SSL_connect () wraps around SSL_connect and handles the - * following error conditions: SSL_ERROR_WANT_WRITE, - * SSL_ERROR_WANT_READ, SSL_ERROR_WANT_CONNECT and - * SSL_ERROR_WANT_X509_LOOKUP. - */ -static int ssl_SSL_connect (ssl_socket_t * ssl) -{ - int ret = SSL_connect (ssl->ssl); - while (SSL_get_error (ssl->ssl, ret) == SSL_ERROR_WANT_WRITE || - SSL_get_error (ssl->ssl, ret) == SSL_ERROR_WANT_READ || - SSL_get_error (ssl->ssl, ret) == SSL_ERROR_WANT_CONNECT || - SSL_get_error (ssl->ssl, ret) == SSL_ERROR_WANT_X509_LOOKUP) - { - log ("SSL_connect() operation did not complete. I try it again.", LOG_LVL_VVERBOSE); - - ret = SSL_connect (ssl->ssl); - } - - return (ret); -} - -/** - * ssl_SSL_shutdown () wraps around SSL_shutdown and handles the - * following error conditions: SSL_ERROR_WANT_WRITE, - * SSL_ERROR_WANT_READ, SSL_ERROR_WANT_CONNECT and - * SSL_ERROR_WANT_X509_LOOKUP. - */ -static int ssl_SSL_shutdown (ssl_socket_t * ssl) -{ - int ret = SSL_shutdown (ssl->ssl); - while (ret == 0 || - SSL_get_error (ssl->ssl, ret) == SSL_ERROR_WANT_WRITE || - SSL_get_error (ssl->ssl, ret) == SSL_ERROR_WANT_READ || - SSL_get_error (ssl->ssl, ret) == SSL_ERROR_WANT_CONNECT || - SSL_get_error (ssl->ssl, ret) == SSL_ERROR_WANT_X509_LOOKUP) - { - log ("SSL_shutdown() operation did not complete. I try it again.", LOG_LVL_VVERBOSE); - - ret = SSL_shutdown (ssl->ssl); - } - - return (ret); -} - -/** - * ssl_dump_info () logs some verbose information about the - * SSL connection. - * - * @param ssl The ssl_socket_t object. - */ -static void ssl_dump_info (ssl_socket_t * ssl) -{ - char *str = NULL; - char *tok, *p_ptr; - X509 *server_cert; - - char buf[1024]; /* should be big enough */ - - str = (char*)SSL_get_cipher (ssl->ssl); - if (str == NULL) { return; } - log (i18n (TEXTDOMAIN, "[SSLNFO] SSL connection using $0", str, NULL), LOG_LVL_VERBOSE); - OPENSSL_free (str); - - server_cert = SSL_get_peer_certificate (ssl->ssl); - if (server_cert == NULL) { return; } - - /* X509_NAME_oneline should not be used according to the manual page, - * but i dunno any other way to get the X509 infos */ - log (i18n (TEXTDOMAIN, "[SSLNFO] server certificate - subject:", NULL), LOG_LVL_VERBOSE); - log (i18n (TEXTDOMAIN, "[SSLNFO] =============================", NULL), LOG_LVL_VERBOSE); - - str = X509_NAME_oneline (X509_get_subject_name (server_cert), 0, 0); - if (str == NULL) { X509_free (server_cert); return; } - - p_ptr = str; - while (p_ptr != NULL) - { - tok = str_tok_ (p_ptr, &p_ptr, "/"); - - if (strlen (tok)) - { - snprintf (buf, 1023, "[SSLNFO] %s", tok); - buf[1023] = '\0'; - - log (buf, LOG_LVL_VERBOSE); - } - - free_ (tok, NULL); - }; - OPENSSL_free (str); - - /* X509_NAME_oneline should not be used according to the manual page, - * but i dunno any other way to get the X509 infos */ - log ("[SSLNFO]", LOG_LVL_VERBOSE); - log (i18n (TEXTDOMAIN, "[SSLNFO] server certificate - issuer:", NULL), LOG_LVL_VERBOSE); - log (i18n (TEXTDOMAIN, "[SSLNFO] ============================", NULL), LOG_LVL_VERBOSE); - - str = X509_NAME_oneline (X509_get_issuer_name (server_cert), 0, 0); - if (str == NULL) { X509_free (server_cert); return; } - - p_ptr = str; - while (p_ptr != NULL) - { - tok = str_tok_ (p_ptr, &p_ptr, "/"); - - if (strlen (tok)) - { - snprintf (buf, 1023, "[SSLNFO] %s", tok); - buf[1023] = '\0'; - - log (buf, LOG_LVL_VERBOSE); - } - - free_ (tok, NULL); - }; - OPENSSL_free (str); - X509_free (server_cert); - - log ("[SSLNFO]", LOG_LVL_VERBOSE); -} - -/** - * ssl_error() returns the error string corresponding to - * to the return value to a call to ssl_SSL_connect(), - * ssl_SSL_read(), or ssl_SSL_write(). - * ret == NA may be used if no other ssl error code is available. - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @param ssl The ssl_socket_t object. - * @param ret The ssl error code. - * - * @returns The corresponding error string to ret. - */ -static char * ssl_error (ssl_socket_t * ssl, int ret) -{ - static char buf[4096]; - - if (SSL_get_error (ssl->ssl, ret) == SSL_ERROR_SYSCALL && ERR_peek_error () == 0) - { - strncpy (buf, strerror (errno), 4095); - } - else if (ERR_peek_error () != 0) - { - ERR_error_string_n (ERR_peek_error(), buf, 4095); - } - else if (ret == 0) - { - strcpy (buf, "Socket is closed."); - } - else - { - strcpy (buf, "An unknown error has occured."); - } - - buf[4095] = '\0'; - return (buf); -} - -/** - * ssl_read() reads at most bufsiz bytes from the socket and - * returns the number of bytes that were actually read. - * - * @param ssl The ssl_socket_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int ssl_read (ssl_socket_t * ssl, const char * buf, unsigned int bufsiz) -{ - int bytes = 0; - - if (ssl->negotiated) - { - if ((bytes = ssl_SSL_read (ssl, buf, bufsiz)) < 1) - { - err_set_error (TEXTDOMAIN, ssl_error (ssl, bytes), NULL); - return (-1); - } - } - else - { - return (sck_read (&ssl->sck, buf, bufsiz)); - } - - return (bytes); -} - -/** - * ssl_write() writes at most bufsiz bytes of buf to the socket and - * returns the number of bytes that were actually written to the socket. - * - * @param ssl The ssl_socket_t object. - * @param buf The buffer that should be written to the socket. - * @param bufsiz The number of bytes that should be written to the socket. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int ssl_write (ssl_socket_t * ssl, const char * buf, unsigned int bufsiz) -{ - int bytes = 0; - - if (ssl->negotiated) - { - if ((bytes = ssl_SSL_write (ssl, buf, bufsiz)) < 1) - { - err_set_error (TEXTDOMAIN, ssl_error (ssl, bytes), NULL); - return (-1); - } - } - else - { - return (sck_write (&ssl->sck, buf, bufsiz)); - } - - return (bytes); -} - -/** - * ssl_negotiate() starts the SSL handshake. - * - * @param ssl The ssl_socket_t object. - * - * @returns -1 on an error, otherwise 0. - */ -int ssl_negotiate (ssl_socket_t * ssl) -{ - int ret = 1; - - ssl->ctx = SSL_CTX_new (SSLv23_client_method ()); - if (ssl->ctx == NULL) - { - err_set_error (TEXTDOMAIN, ssl_error (ssl, NA), NULL); - return (-1); - } - - ssl->ssl = SSL_new (ssl->ctx); - if (ssl->ssl == NULL) - { - err_set_error (TEXTDOMAIN, ssl_error (ssl, NA), NULL); - return (-1); - } - - SSL_CTX_set_timeout (ssl->ctx, ssl->timeout); - - if (ssl->opts != VERIFY_NONE) - { - /* check accessability of ssl->ca_file */ - if (strlen (ssl->ca_file) > 0) - { - if (access (ssl->ca_file, F_OK) != 0) - { - err_set_error (TEXTDOMAIN, - "The file »$0« does not exist.", ssl->ca_file, NULL); - return (-1); - } - else if (access (ssl->ca_file, R_OK) != 0) - { - err_set_error (TEXTDOMAIN, - "The file »$0« is not readable.", ssl->ca_file, NULL); - return (-1); - } - } - - /* check accessability of ssl->ca_dir */ - if (strlen (ssl->ca_dir) > 0) - { - if (access (ssl->ca_dir, F_OK) != 0) - { - err_set_error (TEXTDOMAIN, - "The file »$0« does not exist.", ssl->ca_dir, NULL); - return (-1); - } - else if (access (ssl->ca_dir, R_OK) != 0) - { - err_set_error (TEXTDOMAIN, - "The file »$0« is not readable.", ssl->ca_dir, NULL); - return (-1); - } - } - - ret = SSL_CTX_load_verify_locations (ssl->ctx, - strlen(ssl->ca_file) ? ssl->ca_file : NULL, - strlen(ssl->ca_dir) ? ssl->ca_dir : NULL); - - if (ret != 1) - { - err_set_error (TEXTDOMAIN, ssl_error (ssl, NA), NULL); - return (-1); - }; - } - - SSL_set_verify (ssl->ssl, ssl->opts , NULL); - SSL_set_fd (ssl->ssl, ssl->sck.sockfd); - - ret = ssl_SSL_connect (ssl); - if (ret < 1) - { - err_set_error (TEXTDOMAIN, ssl_error (ssl, NA), NULL); - return (-1); - }; - - if (ssl->opts != VERIFY_NONE) - { - X509 *cert = SSL_get_peer_certificate (ssl->ssl); - if (cert == NULL) - { - err_set_error (TEXTDOMAIN, ssl_error (ssl, NA), NULL); - return (-1); - } - else if (SSL_get_verify_result (ssl->ssl) != X509_V_OK) - { - err_set_error (TEXTDOMAIN, ssl_error (ssl, NA), NULL); - X509_free (cert); - return (-1); - } - X509_free (cert); - } - - ssl_dump_info (ssl); - - ssl->negotiated = 1; - - return (0); -} - -/** - * Set some SSL specific options. - * - * @param ssl The ssl_socket_t object. - * @param opts The SSL verification level. - * @param ca_file A file that contains PEM certificates. Must - * be "" if opts == VERIFY_NONE. - * The file can contain several CA certificates - * identified by - * - * -----BEGIN CERTIFICATE----- - * - * ... [CA certificate in base64 encoding] ... - * - * -----END CERTIFICATE----- - * - * sequences. Before, between, and after the - * certificates text is allowed which - * can be used e.g. for descriptions of the - * certificates. - * - * Take a look in the openssl documentation to - * get more infos on that topic. - * @param ca_dir A directory that contains PEM certificates. Must - * be "" if opts == VERIFY_NONE. - * The files each contain one CA certificate. The files - * are looked up by the CA subject name hash value, which - * must hence be available. If more than one CA certificate - * with the same name hash value exist, the extension must be - * different (e.g. 9d66eef0.0, 9d66eef0.1 etc). The search - * is performed in the ordering of the extension number, - * regardless of other properties of the certificates. - * Use the c_rehash utility to create the necessary links. - * - * Take a look in the openssl documentation to - * get more infos on that topic. - */ -void ssl_set_opts (ssl_socket_t * ssl, - ssl_opts_t opts, - const char * ca_file, - const char * ca_dir) -{ - free_ (ssl->ca_file, ssl->ca_dir, NULL); - - ssl->opts = opts; - ssl->ca_file = strdup_ (ca_file ? ca_file : ""); - ssl->ca_dir = strdup_ (ca_dir ? ca_dir : ""); -} - -/** - * ssl_localhost() returns the name of the localhost or - * the string "localhost" if the name of the localhost - * cannot be determined for some reason. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @returns The name of the localhost. - */ -char * ssl_localhost () -{ - return (sck_localhost ()); -} - -/** - * ssl_connect() connects a socket to the specified - * host:port and sets the timeout value. The struct ssl - * will be filled and is to be used with the other ssl_* - * functions. - * - * @param ssl The struct ssl_socket_t that is to be filled. - * @param host The host that should be connected. - * @param port The port that the host is listening on. - * @param timeout The timeout value in seconds. - * - * @returns 0 on success and -1 on any error. - */ -int ssl_connect (ssl_socket_t * ssl, - const char * host, - unsigned int port, - unsigned int timeout) -{ - ssl->timeout = timeout; - - return (sck_connect (&ssl->sck, host, port, timeout)); -} - -/** - * ssl_close() closes the socket ssl. - * - * @param ssl The socket that should be closed. - * - * @returns 0 on success and -1 on any error. - */ -int ssl_close (ssl_socket_t * ssl) -{ - if (ssl->ssl != NULL) - { - ssl_SSL_shutdown (ssl); - - SSL_clear (ssl->ssl); - SSL_free (ssl->ssl); - ssl->ssl = NULL; - } - - if (ssl->ctx != NULL) - { - SSL_CTX_free (ssl->ctx); - ssl->ctx = NULL; - } - - ssl->negotiated = 0; - - return (sck_close (&ssl->sck)); -} diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/sslsocket.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/sslsocket.h.svn-base deleted file mode 100644 index ecddad3..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/sslsocket.h.svn-base +++ /dev/null @@ -1,204 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * sslsocket.c provides ssl support for TCP/IP sockets. * - * * - ************************************************************************/ - -#ifndef __SSLSOCKET_H__ -#define __SSLSOCKET_H__ - -#include -#include -#include -#include -#include -#include "inetsocket.h" -#include "log.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * The SSL verification level. - */ -typedef enum ssl_opts_t -{ - VERIFY_PEER = SSL_VERIFY_PEER, - VERIFY_NONE = SSL_VERIFY_NONE -} ssl_opts_t; - -/** - * The SSL socket. - */ -typedef struct ssl_socket_t -{ - SSL *ssl; - SSL_CTX *ctx; - ssl_opts_t opts; - int negotiated; - char *ca_file; - char *ca_dir; - unsigned int timeout; - sck_socket_t sck; -} ssl_socket_t; - - -/** - * ssl_init() initializes the ssl_socket_t and must - * be called once for each ssl_socket_t object before the other - * functions can be used. When the ssl_socket_t object is no longer - * needed it should be de-initialized with ssl_cleanup() to free - * unneeded resources. - * - * @param ssl The ssl_socket_t object. - */ -void ssl_init (ssl_socket_t * ssl); - -/** - * ssl_cleanup() releases unneeded resources and must be called when - * the ssl_socket_t object is no longer needed. ssl must be initialized - * by ssl_init() before, otherwise random errors may occur. - * - * @param ssl The ssl_socket_t object. - */ -void ssl_cleanup (ssl_socket_t * ssl); - -/** - * ssl_read() reads at most bufsiz bytes from the socket and - * returns the number of bytes that were actually read. - * - * @param ssl The ssl_socket_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int ssl_read (ssl_socket_t * ssl, const char * buf, unsigned int bufsiz); - -/** - * ssl_write() writes at most bufsiz bytes of buf to the socket and - * returns the number of bytes that were actually written to the socket. - * - * @param ssl The ssl_socket_t object. - * @param buf The buffer that should be written to the socket. - * @param bufsiz The number of bytes that should be written to the socket. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int ssl_write (ssl_socket_t * ssl, const char * buf, unsigned int bufsiz); - -/** - * ssl_negotiate() starts the SSL handshake. - * - * @param ssl The ssl_socket_t object. - * - * @returns -1 on an error, otherwise 0. - */ -int ssl_negotiate (ssl_socket_t * ssl); - -/** - * Set some SSL specific options. - * - * @param ssl The ssl_socket_t object. - * @param opts The SSL verification level. - * @param ca_file A file that contains PEM certificates. Must - * be "" if opts == VERIFY_NONE. - * The file can contain several CA certificates - * identified by - * - * -----BEGIN CERTIFICATE----- - * - * ... [CA certificate in base64 encoding] ... - * - * -----END CERTIFICATE----- - * - * sequences. Before, between, and after the - * certificates text is allowed which - * can be used e.g. for descriptions of the - * certificates. - * - * Take a look in the openssl documentation to - * get more infos on that topic. - * @param ca_dir A directory that contains PEM certificates. Must - * be "" if opts == VERIFY_NONE. - * The files each contain one CA certificate. The files - * are looked up by the CA subject name hash value, which - * must hence be available. If more than one CA certificate - * with the same name hash value exist, the extension must be - * different (e.g. 9d66eef0.0, 9d66eef0.1 etc). The search - * is performed in the ordering of the extension number, - * regardless of other properties of the certificates. - * Use the c_rehash utility to create the necessary links. - * - * Take a look in the openssl documentation to - * get more infos on that topic. - */ -void ssl_set_opts (ssl_socket_t * ssl, - ssl_opts_t opts, - const char * ca_file, - const char * ca_dir); - -/** - * ssl_localhost() returns the name of the localhost or - * the string "localhost" if the name of the localhost - * cannot be determined for some reason. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @returns The name of the localhost. - */ -char * ssl_localhost (); - -/** - * ssl_connect() connects a socket to the specified - * host:port and sets the timeout value. The struct ssl - * will be filled and is to be used with the other ssl_* - * functions. - * - * @param ssl The struct ssl_socket_t that is to be filled. - * @param host The host that should be connected. - * @param port The port that the host is listening on. - * @param timeout The timeout value in seconds. - * - * @returns 0 on success and -1 on any error. - */ -int ssl_connect (ssl_socket_t * ssl, - const char * host, - unsigned int port, - unsigned int timeout); - -/** - * ssl_close() closes the socket ssl. - * - * @param ssl The socket that should be closed. - * - * @returns 0 on success and -1 on any error. - */ -int ssl_close (ssl_socket_t * ssl); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/string.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/string.c.svn-base deleted file mode 100644 index 6fb5b97..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/string.c.svn-base +++ /dev/null @@ -1,331 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * string.c provides some useful functions for string manipulations. * - * * - ************************************************************************/ - -#include "string.h" - -/** - * str_hexify() converts all bytes in src into their hexadecimal - * representation. The resulting string will be stored in dst. - * dst must be 2*strlen (src)+1 bytes big. - * - * @param dst This is the place where the hexified string - * will be stored. - * @param src The string that should be hexified. - * @param src_len The size of str in bytes. - * - * @returns A pointer to the resulting string. - */ -char * str_hexify (char * dst, char * src, unsigned int src_len) -{ - unsigned int i; - - for (i = 0; i < src_len; i++) - { - sprintf (dst+(2*i),"%02x", (unsigned char)src[i]); - } - - return (dst); -} - -/** - * str_replace() replaces the first occurence of needle - * in the string src with the string subst. If no occurence - * of needle could be found in src, NULL is returned, otherwise - * the starting index of needle inside src. src needs to be - * big enough to store the resulting string. - * - * @param src The string that should be modified. - * @param needle The pattern that should be replaced. - * @param subst The pattern that should be used for - * replacing. - * - * @returns NULL if no occurence of needle could be found - * in src, otherwise the starting idx of needle inside src. - */ -char * str_replace (char * src, char * needle, char * subst) -{ - /* "The string NEEDLE will be substituted" - * ^- beg - */ - char *beg; - /* "The string SUBST will be substituted" - * ^- end - */ - char *end; - /* "The string NEEDLE will be substituted" - * ^- pos - */ - char *pos; - - if ((pos = (char*)strstr (src, needle)) != NULL ) - { - beg = pos + strlen (needle); - end = pos + strlen (subst); - - /* move the latter part of the string to index end: - * "The string NEEDL will be substituted" - * end-^ - */ - memmove (end, beg, strlen (beg)+1); - /* now put the substitution string on place. - * "The string SUBST will be substituted" - * pos-^ ^-end - */ - memmove (pos, subst, strlen (subst)); - }; - - return (pos); -} - -/** - * str_tolower() converts str into lower case characters. - * - * @param str The string that should be converted to lower - * case. - * @param len The len of str in bytes. - * - * @returns The pointer to str. - */ -char * str_tolower (char * str, int len) -{ - int idx; - - for (idx = 0; idx < len; idx++) - { - str[idx] = tolower (str[idx]); - } - - return (str); -} - -/** - * str_toupper() converts str into upper case characters. - * - * @param str The string that should be converted to upper - * case. - * @param len The len of str in bytes. - * - * @returns The pointer to str. - */ -char * str_toupper (char * str, int len) -{ - int idx; - - for (idx = 0; idx < len; idx++) - { - str[idx] = toupper (str[idx]); - } - - return (str); -} - -/** - * str_trim() removes all occurences of delim from - * the beginning/end of str and replaces multiple - * occurences of delim inside str with a single one. - * " this is a test string" - * => "this is a test string" - * - * @param str The string that should be trimmed. - * @param delim The delimiting string. - * - * @returns A pointer to the resulting string. - */ -char * str_trim (char * str, char * delim) -{ - char *pos; - char *pattern; - - if (strlen (str) == 0 || strlen (delim) == 0) - { - return (str); - } - - pattern = (char*)malloc_ (2*strlen(delim)+1); - strcpy (pattern, delim); - strcat (pattern, delim); - - while ((pos = (char*)strstr (str, pattern)) != NULL) - { - char *end = pos + strlen (delim); - memmove (pos, end, strlen (end)+1); - } - - pos = str + strlen (str) - strlen (delim); - if (strcmp (pos, delim) == 0) - { - *pos = '\0'; - } - - if (strncmp (str, delim, strlen (delim)) == 0) - { - char *end = str + strlen (delim); - memmove (str, end, strlen (end)+1); - } - - free_ (pattern, NULL); - return (str); -} - -/** - * str_crop() removes all occurences of delim from - * the beginning/end of str. - * - * " this is a test string " - * => "this is a test string" - * - * @param str The string that should be trimmed. - * @param delim The delimiting string. - * - * @returns A pointer to the resulting string. - */ -char * str_crop (char * str, char * delim) -{ - if (strlen (str) == 0 || strlen (delim) == 0) - { - return (str); - } - - while (strncmp (&str[0], delim, strlen (delim)) == 0) - { - char *beg = str + strlen (delim); - memmove (str, beg, strlen (beg)+1); - } - - while (strcmp (&str[strlen (str) - strlen (delim)], delim) == 0) - { - char *end = str + strlen (str) - strlen (delim); - *end = '\0'; - } - - return (str); -} - -/** - * str_tok_() searches for the next occurence of - * delim inside str and returns that substring. The - * returned substring is NULL terminated and the end - * of the token inside str is stored in pos. - * The returned string is malloc()ed and must be - * freed using free(). - * Example: - * - * char *tok; - * char *p = "This\nis\na\test"; - * char *p_ptr = p; - * - * while (p_ptr != NULL) - * { - * tok = str_tok_ (p_ptr, &p_ptr, "\n"); - * printf ("%s\n", tok); - * free (tok); - * }; - * - * @param str The string that should be tokenized, - * @param pos The end of the token inside str will be - * stored in pos, resp. NULL, if no occurnce - * of delim could be found. - * @param delim The pattern that should be used as a - * delimiter. - * - * @returns The token, which is dynamically malloc()ed, so it - * must be freed using free(). - */ -char * str_tok_ (char * str, char ** pos, char * delim) -{ - char *buf; - - if (((*pos) = (char*)strstr (str, delim)) != NULL) - { - buf = (char*)malloc_ ((*pos)-str+1); - strncpy (buf, str, (*pos)-str); - buf[(*pos)-str] = '\0'; - - (*pos) = (*pos) + strlen (delim); - if (strlen ((*pos)) == 0) - { - (*pos) = NULL; - } - } - else - { - buf = strdup_ (str); - (*pos) = NULL; - } - - return (buf); -} - -/** - * str_split_() splits str in tokens of siz bytes. The - * returned tokens are NULL terminated and the end - * of the token inside str is stored in pos. - * The returned string is malloc()ed and must be - * freed using free(). - * Example: - * - * char *tok; - * char *p = "This is a test"; - * char *p_ptr = p; - * - * while (p_ptr != NULL) - * { - * tok = str_split_ (p_ptr, &p_ptr, 4); - * printf ("%s\n", tok); - * free (tok); - * }; - * - * @param str The string that should be tokenized, - * @param pos The end of the token inside str will be - * stored in pos, resp. NULL, if no occurnce - * of delim could be found. - * @param siz The siz of the tokens in bytes. - * - * @returns The token, which is dynamically malloc()ed, so it - * must be freed using free(). - */ -char * str_split_ (char * str, char ** pos, unsigned long siz) -{ - char *buf; - - if (strlen (str) > siz) - { - buf = (char*) malloc_ (siz+1); - strncpy (buf, str, siz); - buf[siz] = '\0'; - - (*pos) = (*pos) + siz; - if (strlen ((*pos)) == 0) - { - (*pos) = NULL; - } - } - else - { - buf = strdup_ (str); - (*pos) = NULL; - } - - return (buf); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/string.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/string.h.svn-base deleted file mode 100644 index fcd0f38..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/.svn/text-base/string.h.svn-base +++ /dev/null @@ -1,183 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * string.c provides some useful functions for string manipulations. * - * * - ************************************************************************/ - -#ifndef __STRING_H__ -#define __STRING_H__ - -#include -#include -#include -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * str_hexify() converts all bytes in src into their hexadecimal - * representation. The resulting string will be stored in dst. - * dst must be 2*strlen (src)+1 bytes big. - * - * @param dst This is the place where the hexified string - * will be stored. - * @param src The string that should be hexified. - * @param src_len The size of str in bytes. - * - * @returns A pointer to the resulting string. - */ -char * str_hexify (char * dst, char * src, unsigned int src_len); - -/** - * str_replace() replaces the first occurence of needle - * in the string src with the string subst. If no occurence - * of needle could be found in src, NULL is returned, otherwise - * the starting index of needle inside src. src needs to be - * big enough to store the resulting string. - * - * @param src The string that should be modified. - * @param needle The pattern that should be replaced. - * @param subst The pattern that should be used for - * replacing. - * - * @returns NULL if no occurence of needle could be found - * in src, otherwise the starting idx of needle inside src. - */ -char * str_replace (char * src, char * needle, char * subst); - -/** - * str_tolower() converts str into lower case characters. - * - * @param str The string that should be converted to lower - * case. - * @param len The len of str in bytes. - * - * @returns The pointer to str. - */ -char * str_tolower (char * str, int len); - -/** - * str_toupper() converts str into upper case characters. - * - * @param str The string that should be converted to upper - * case. - * @param len The len of str in bytes. - * - * @returns The pointer to str. - */ -char * str_toupper (char * str, int len); - -/** - * str_crop() removes all occurences of delim from - * the beginning/end of str. - * - * " this is a test string " - * => "this is a test string" - * - * @param str The string that should be trimmed. - * @param delim The delimiting string. - * - * @returns A pointer to the resulting string. - */ -char * str_crop (char * str, char * delim); - -/** - * str_trim() removes all occurences of delim from - * the beginning/end of str and replaces multiple - * occurences of delim inside str with a single one. - * " this is a test string" - * => "this is a test string" - * - * @param str The string that should be trimmed. - * @param delim The delimiting string. - * - * @returns A pointer to the resulting string. - */ -char * str_trim (char * str, char * delim); - -/** - * str_tok_() searches for the next occurence of - * delim inside str and returns that substring. The - * returned substring is NULL terminated and the end - * of the token inside str is stored in pos. - * The returned string is malloc()ed and must be - * freed using free(). - * Example: - * - * char *tok; - * char *p = "This\nis\na\test"; - * char *p_ptr = p; - * - * while (p_ptr != NULL) - * { - * tok = str_tok_ (p_ptr, &p_ptr, "\n"); - * printf ("%s\n", tok); - * free (tok); - * }; - * - * @param str The string that should be tokenized, - * @param pos The end of the token inside str will be - * stored in pos, resp. NULL, if no occurnce - * of delim could be found. - * @param delim The pattern that should be used as a - * delimiter. - * - * @returns The token, which is dynamically malloc()ed, so it - * must be freed using free(). - */ -char * str_tok_ (char * str, char ** pos, char * delim); - -/** - * str_split_() splits str in tokens of siz bytes. The - * returned tokens are NULL terminated and the end - * of the token inside str is stored in pos. - * The returned string is malloc()ed and must be - * freed using free(). - * Example: - * - * char *tok; - * char *p = "This is a test"; - * char *p_ptr = p; - * - * while (p_ptr != NULL) - * { - * tok = str_split_ (p_ptr, &p_ptr, 4); - * printf ("%s\n", tok); - * free (tok); - * }; - * - * @param str The string that should be tokenized, - * @param pos The end of the token inside str will be - * stored in pos, resp. NULL, if no occurnce - * of delim could be found. - * @param siz The siz of the tokens in bytes. - * - * @returns The token, which is dynamically malloc()ed, so it - * must be freed using free(). - */ -char * str_split_ (char * str, char ** pos, unsigned long siz); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/Makefile b/features/smtp/lib/libsmtp---0.1.0/src/Makefile deleted file mode 100644 index d1feb48..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/Makefile +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright (C) 2003 Timo Benk t_benk@web.de -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the -# Free Software Foundation, Inc., 59 Temple Place, Suite 330, -# Boston, MA 02111-1307 USA - -mandir = ${prefix}/man -sharedir = ${prefix}/share - -prefix = /usr/local/libsmtp---0.1.0 -exec_prefix = ${prefix} -bindir = $(exec_prefix)/bin -libdir = $(exec_prefix)/lib -includedir = $(exec_prefix)/include - -LIBNAM = libsmtp-- -LIBVER = 0.1.0 -LIBEXT = so -LIBCOMPAT = 0.1 -CC = gcc -#CFLAGS = -g -O2 -pedantic -fno-builtin-log -fPIC -Os -Wall -DPLUGINDIR=\"$(libdir)/libsmtp--/plugins\" -DLOCALEDIR=\"$(sharedir)/locale\" -DTEXTDOMAIN=\"libsmtp--\" -D__USE_SSL_ -CFLAGS = -g -O0 -fno-builtin-log -fPIC -Wall -DPLUGINDIR=\"$(libdir)/libsmtp--/plugins\" -DLOCALEDIR=\"$(sharedir)/locale\" -DTEXTDOMAIN=\"libsmtp--\" -D__USE_SSL_ -#LDFLAGS = -s -shared -nostartfiles -Wl,-hlibsmtp--.so.$(LIBVER) -LDFLAGS = -shared -nostartfiles -Wl,-hlibsmtp--.so.$(LIBVER) -LIBS = -ldl -lssl -INSTALL = /usr/bin/install -c - -NO_SSL_OBJS=alloc.o error.o i18n.o inetsocket.o init.o log.o plugin.o smtp.o string.o -SSL_OBJS=algorithm.o sslsocket.o - -OBJS = $(SSL_OBJS) $(NO_SSL_OBJS) -HDRS = includes/ssl/*.h - -all: libsmtp.so - (cd plugins; make all) - -clean: - rm -f *.o - rm -f *.so* - rm -f *.a - rm -f *.dylib - (cd plugins; make clean) - -libsmtp.so: $(OBJS) - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) -o $(LIBNAM).$(LIBEXT).$(LIBVER) $(OBJS) - rm -f $(LIBNAM).$(LIBEXT) - rm -f $(LIBNAM).$(LIBEXT).$(LIBCOMPAT) - ln -s $(LIBNAM).$(LIBEXT).$(LIBVER) $(LIBNAM).$(LIBEXT) - ln -s $(LIBNAM).$(LIBEXT).$(LIBVER) $(LIBNAM).$(LIBEXT).$(LIBCOMPAT) - ar -rc $(LIBNAM).a $(OBJS) - ranlib $(LIBNAM).a -# strip --remove-section=.note --remove-section=.comment $(LIBNAM).$(LIBEXT).$(LIBCOMPAT) - -algorithm.o: - $(CC) $(CFLAGS) -c algorithm.c -o algorithm.o - -alloc.o: - $(CC) $(CFLAGS) -c alloc.c -o alloc.o - -error.o: - $(CC) $(CFLAGS) -c error.c -o error.o - -i18n.o: - $(CC) $(CFLAGS) -c i18n.c -o i18n.o - -inetsocket.o: - $(CC) $(CFLAGS) -c inetsocket.c -o inetsocket.o - -init.o: - $(CC) $(CFLAGS) -c init.c -o init.o - -log.o: - $(CC) $(CFLAGS) -c log.c -o log.o - -plugin.o: - $(CC) $(CFLAGS) -c plugin.c -o plugin.o - -smtp.o: - $(CC) $(CFLAGS) -c smtp.c -o smtp.o - -string.o: - $(CC) $(CFLAGS) -c string.c -o string.o - -dlfcn.o: - $(CC) $(CFLAGS) -c dlfcn.c -o dlfcn.o - -install: all - (cd plugins && make install) - $(INSTALL) -m 0755 -d $(libdir) - $(INSTALL) -m 0755 -d $(includedir)/libsmtp-- - $(INSTALL) -m 0755 -d $(sharedir)/locale/de/LC_MESSAGES - $(INSTALL) -m 0755 -d $(sharedir)/locale/ru/LC_MESSAGES - $(INSTALL) -m 0755 -d $(sharedir)/locale/es/LC_MESSAGES - $(INSTALL) -m 0644 $(LIBNAM).$(LIBEXT).$(LIBVER) $(libdir) - $(INSTALL) -m 0644 $(LIBNAM).a $(libdir) - $(INSTALL) -m 0644 $(HDRS) $(includedir)/libsmtp-- - $(INSTALL) -m 0644 ../lang/de/libsmtp--.mo $(sharedir)/locale/de/LC_MESSAGES - $(INSTALL) -m 0644 ../lang/ru/libsmtp--.mo $(sharedir)/locale/ru/LC_MESSAGES - $(INSTALL) -m 0644 ../lang/es/libsmtp--.mo $(sharedir)/locale/es/LC_MESSAGES - rm -rf $(libdir)/$(LIBNAM).$(LIBEXT).$(LIBCOMPAT) - ln -s $(LIBNAM).$(LIBEXT).$(LIBVER) $(libdir)/$(LIBNAM).$(LIBEXT).$(LIBCOMPAT) - rm -rf $(libdir)/$(LIBNAM).$(LIBEXT) - ln -s $(LIBNAM).$(LIBEXT).$(LIBVER) $(libdir)/$(LIBNAM).$(LIBEXT) - (cd ..; ./ldconfig.wrapper $(libdir)) - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/Makefile.in b/features/smtp/lib/libsmtp---0.1.0/src/Makefile.in deleted file mode 100644 index 534f466..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/Makefile.in +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright (C) 2003 Timo Benk t_benk@web.de -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the -# Free Software Foundation, Inc., 59 Temple Place, Suite 330, -# Boston, MA 02111-1307 USA - -mandir = @mandir@ -sharedir = @datadir@ - -prefix = @prefix@ -exec_prefix = @exec_prefix@ -bindir = $(exec_prefix)/bin -libdir = $(exec_prefix)/lib -includedir = $(exec_prefix)/include - -LIBNAM = @lib_nam@ -LIBVER = @lib_ver_major@.@lib_ver_minor@.@lib_ver_release@ -LIBEXT = @lib_ext@ -LIBCOMPAT = @lib_ver_major@.@lib_ver_minor@ -CC = @CC@ -CFLAGS = @CFLAGS@ @ssl@ @bldtyp_lib@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -INSTALL = @INSTALL@ - -NO_SSL_OBJS=alloc.o error.o i18n.o inetsocket.o init.o log.o plugin.o smtp.o string.o -SSL_OBJS=algorithm.o sslsocket.o - -OBJS = @objs@ @macos_dlfcn@ -HDRS = @hdrs@ - -all: libsmtp.so - (cd plugins; make all) - -clean: - rm -f *.o - rm -f *.so* - rm -f *.a - rm -f *.dylib - (cd plugins; make clean) - -libsmtp.so: $(OBJS) - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) -o $(LIBNAM).$(LIBEXT).$(LIBVER) $(OBJS) - rm -f $(LIBNAM).$(LIBEXT) - rm -f $(LIBNAM).$(LIBEXT).$(LIBCOMPAT) - ln -s $(LIBNAM).$(LIBEXT).$(LIBVER) $(LIBNAM).$(LIBEXT) - ln -s $(LIBNAM).$(LIBEXT).$(LIBVER) $(LIBNAM).$(LIBEXT).$(LIBCOMPAT) - ar -rc $(LIBNAM).a $(OBJS) - ranlib $(LIBNAM).a - @strip@ $(LIBNAM).$(LIBEXT).$(LIBCOMPAT) - -algorithm.o: - $(CC) $(CFLAGS) -c algorithm.c -o algorithm.o - -alloc.o: - $(CC) $(CFLAGS) -c alloc.c -o alloc.o - -error.o: - $(CC) $(CFLAGS) -c error.c -o error.o - -i18n.o: - $(CC) $(CFLAGS) -c i18n.c -o i18n.o - -inetsocket.o: - $(CC) $(CFLAGS) -c inetsocket.c -o inetsocket.o - -init.o: - $(CC) $(CFLAGS) -c init.c -o init.o - -log.o: - $(CC) $(CFLAGS) -c log.c -o log.o - -plugin.o: - $(CC) $(CFLAGS) -c plugin.c -o plugin.o - -smtp.o: - $(CC) $(CFLAGS) -c smtp.c -o smtp.o - -string.o: - $(CC) $(CFLAGS) -c string.c -o string.o - -dlfcn.o: - $(CC) $(CFLAGS) -c dlfcn.c -o dlfcn.o - -install: all - (cd plugins && make install) - $(INSTALL) -m 0755 -d $(libdir) - $(INSTALL) -m 0755 -d $(includedir)/libsmtp-- - $(INSTALL) -m 0755 -d $(sharedir)/locale/de/LC_MESSAGES - $(INSTALL) -m 0755 -d $(sharedir)/locale/ru/LC_MESSAGES - $(INSTALL) -m 0755 -d $(sharedir)/locale/es/LC_MESSAGES - $(INSTALL) -m 0644 $(LIBNAM).$(LIBEXT).$(LIBVER) $(libdir) - $(INSTALL) -m 0644 $(LIBNAM).a $(libdir) - $(INSTALL) -m 0644 $(HDRS) $(includedir)/libsmtp-- - $(INSTALL) -m 0644 ../lang/de/libsmtp--.mo $(sharedir)/locale/de/LC_MESSAGES - $(INSTALL) -m 0644 ../lang/ru/libsmtp--.mo $(sharedir)/locale/ru/LC_MESSAGES - $(INSTALL) -m 0644 ../lang/es/libsmtp--.mo $(sharedir)/locale/es/LC_MESSAGES - rm -rf $(libdir)/$(LIBNAM).$(LIBEXT).$(LIBCOMPAT) - ln -s $(LIBNAM).$(LIBEXT).$(LIBVER) $(libdir)/$(LIBNAM).$(LIBEXT).$(LIBCOMPAT) - rm -rf $(libdir)/$(LIBNAM).$(LIBEXT) - ln -s $(LIBNAM).$(LIBEXT).$(LIBVER) $(libdir)/$(LIBNAM).$(LIBEXT) - (cd ..; ./ldconfig.wrapper $(libdir)) - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/algorithm.c b/features/smtp/lib/libsmtp---0.1.0/src/algorithm.c deleted file mode 100644 index 2341ea6..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/algorithm.c +++ /dev/null @@ -1,333 +0,0 @@ -/*********************************************************************** - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * algorithm.c provides some useful codec and cipher functions. * - * * - ***********************************************************************/ - -#include "algorithm.h" - -/** - * alg_init() must be called before the other methods - * can be used. - */ -void alg_init() -{ - OpenSSL_add_all_digests (); -} - -/** - * alg_hmac() calculates the keyed checksum. (rfc2104) - * digest must be big enough to hold the complete hash - * value (H_SHA1 == 20 bytes, all others 16 bytes). - * - * @param str The text that should be checksummed. - * @param str_len The length of str. - * @param key The key that should be used. - * @param key_len The length of key. - * @param digest The checksum that is calculated out of key - * and text will be stored at digest. digest - * needs to be at least 16/20 Bytes big. - * @param hash The algorithm that should be used. One of - * H_MD2, H_MD4, H_MD5 or H_SHA1. - */ -void alg_hmac (unsigned char * str, - unsigned int str_len, - unsigned char * key, - unsigned int key_len, - unsigned char * digest, - enum HASH hash) -{ - unsigned int md_len; - const EVP_MD *evp_md = NULL; - - switch (hash) - { - case H_MD2: - evp_md = EVP_md2 (); - break; - case H_MD4: - evp_md = EVP_md4 (); - break; - case H_MD5: - evp_md = EVP_md5 (); - break; - case H_SHA1: - evp_md = EVP_sha1 (); - break; - } - - digest = HMAC (evp_md, - key, key_len, - str, str_len, - digest, &md_len); -} - -/** - * alg_chksum() calculates the md5 checksum of data, which is - * len bytes long and stores the resulting bytes in digest, - * which must be big enough to hold the resulting hash - * value (H_SHA1 == 20 bytes, all others 16 bytes). - * - * @param data The data that should be checksummed. - * @param len The length of data. - * @param digest The buffer the calculated checksum will be stored at. - * @param hash The algorithm that should be used. One of - * H_MD2, H_MD4, H_MD5 or H_SHA1. - */ -void alg_chksum (unsigned char * data, - unsigned int len, - unsigned char * digest, - enum HASH hash) -{ - EVP_MD_CTX mdctx; - const EVP_MD * evp_md = NULL; - - switch (hash) - { - case H_MD2: - evp_md = EVP_md2 (); - break; - case H_MD4: - evp_md = EVP_md4 (); - break; - case H_MD5: - evp_md = EVP_md5 (); - break; - case H_SHA1: - evp_md = EVP_sha1 (); - break; - } - - EVP_DigestInit (&mdctx, evp_md); - EVP_DigestUpdate (&mdctx, data, len); - EVP_DigestFinal (&mdctx, digest, 0); -} - -/** - * alg_b64_encode() encodes orig_str with the base64 - * codec and stores the result at the address pointed - * to by enc_str. enc_str needs to be at least - * (strlen(orig_str)+(strlen(orig_str)/4)+4) bytes big. - * The number of bytes written to enc_str will be - * returned. - * - * @param orig_str The string that should be encoded. - * @param orig_len The size of orig_str in bytes. - * @param enc_str The resulting encoded string will be stored - * at the address pointed to by enc_str. - * - * @returns The number of bytes written to enc_str. - */ -int alg_b64_encode (char *orig_str, - unsigned int orig_len, - char *enc_str) -{ - EVP_ENCODE_CTX ctx; - int b1, b2; - - EVP_EncodeInit (&ctx); - EVP_EncodeUpdate (&ctx, (unsigned char*)enc_str, &b1, - (unsigned char*)orig_str, orig_len); - EVP_EncodeFinal (&ctx, (unsigned char*)enc_str, &b2); - - return (b1+b2); -} - -/** - * alg_b64_decode() decodes enc_str with the base64 - * codec and stores the result at the address pointed - * to by orig_str. orig_str needs to be at least - * (strlen(enc_str)+(strlen(enc_str)/4)+4) bytes big. - * The number of bytes written to orig_str will be - * returned. - * - * @param enc_str The string that should be decoded. - * @param enc_len The size of enc_str in bytes. - * @param orig_str The resulting decoded string will be stored - * at the address pointed to by orig_str. - * - * @returns The number of bytes written to orig_str. - */ -int alg_b64_decode (char *enc_str, - unsigned int enc_len, - char *orig_str) -{ - EVP_ENCODE_CTX ctx; - int b1, b2; - - EVP_DecodeInit (&ctx); - EVP_DecodeUpdate (&ctx, (unsigned char*)orig_str, &b1, - (unsigned char*)enc_str, enc_len); - EVP_DecodeFinal (&ctx, (unsigned char*)orig_str, &b2); - - return (b1+b2); -} - -/** - * alg_encrypt() encrypts data, which is data_len bytes big, - * using key as the key and iv as the iv and writes the - * resulting encrypted data block into buf, which is bufsiz big. - * buf needs to be at least (data_len+(2*EVP_MAX_IV_LENGTH)-1) - * bytes big. - * - * @param data The data that should be encrypted. - * @param data_len The size of data. - * @param key The key that should be used. - * @param iv The iv that should be used (if any). - * @param buf The buffer where the encrypted data should be - * written. - * @param bufsiz The size of buf, which needs to be at least - * (data_len+(2*EVP_MAX_IV_LENGTH)-1) bytes big. - * @param cipher The cipher that should be used. One of - * C_RC4, C_RC4_40, C_RC4_56, C_DES, C_THREE_DES. - * - * @returns The number of bytes that were written to buf. - */ -int alg_encrypt (unsigned char * data, - unsigned int data_len, - unsigned char * key, - unsigned char * iv, - unsigned char * buf, - unsigned int bufsiz, - enum CIPHER cipher) -{ - int b1, b2; - const EVP_CIPHER * evp_cipher = NULL; - EVP_CIPHER_CTX ctx; - - switch (cipher) - { - case C_RC4: - evp_cipher = EVP_rc4 (); - break; - case C_RC4_40: - evp_cipher = EVP_rc4 (); - break; - case C_RC4_56: - evp_cipher = EVP_rc4 (); - break; - case C_DES: - evp_cipher = EVP_des_cbc (); - break; - case C_THREE_DES: - evp_cipher = EVP_des_ede3_cbc (); - break; - } - - EVP_EncryptInit (&ctx, evp_cipher, key, iv); - if (cipher == C_RC4_40 ) - { - EVP_CIPHER_CTX_set_key_length (&ctx, 40); - } - else if (cipher == C_RC4_56) - { - EVP_CIPHER_CTX_set_key_length (&ctx, 56); - } - else if (cipher == C_RC4) - { - EVP_CIPHER_CTX_set_key_length (&ctx, 128); - } - - EVP_EncryptUpdate (&ctx, buf, &b1, data, data_len); - EVP_EncryptFinal (&ctx, buf+b1, &b2); - - return (b1+b2); -} - -/** - * alg_decrypt() decrypts data, which is data_len bytes big, - * using key as the key and iv as the iv and writes the resulting - * decrypted data block into buf, which is bufsiz big. buf - * needs to be at least (2*(data_len+EVP_MAX_IV_LENGTH)-1) - * bytes big. - * - * @param data The data that should be decrypted. - * @param data_len The size of data. - * @param key The key that should be used. - * @param iv The iv that should be used (if any). - * @param buf The buffer where the decrypted data should be - * written. - * @param bufsiz The size of buf, which needs to be at least - * (2*(data_len+EVP_MAX_IV_LENGTH)-1) bytes big. - * @param cipher The cipher that should be used. One of - * C_RC4, C_RC4_40, C_RC4_56, C_DES, C_THREE_DES. - * - * @returns The number of bytes that were written to buf or -1 if - * some error occured. - */ -int alg_decrypt (unsigned char * data, - unsigned int data_len, - unsigned char * key, - unsigned char * iv, - unsigned char * buf, - unsigned int bufsiz, - enum CIPHER cipher) -{ - int b1, b2, ret; - const EVP_CIPHER * evp_cipher = NULL; - EVP_CIPHER_CTX ctx; - - switch (cipher) - { - case C_RC4: - evp_cipher = EVP_rc4 (); - break; - case C_RC4_40: - evp_cipher = EVP_rc4 (); - break; - case C_RC4_56: - evp_cipher = EVP_rc4 (); - break; - case C_DES: - evp_cipher = EVP_des_cbc (); - break; - case C_THREE_DES: - evp_cipher = EVP_des_ede3_cbc (); - break; - } - - EVP_DecryptInit (&ctx, evp_cipher, key, iv); - if (cipher == C_RC4_40 ) - { - EVP_CIPHER_CTX_set_key_length (&ctx, 40); - } - else if (cipher == C_RC4_56) - { - EVP_CIPHER_CTX_set_key_length (&ctx, 56); - } - else if (cipher == C_RC4) - { - EVP_CIPHER_CTX_set_key_length (&ctx, 128); - } - - ret = EVP_DecryptUpdate (&ctx, buf, &b1, data, data_len); - ret += EVP_DecryptFinal (&ctx, buf+b1, &b2); - /* TODO: What about openssl < 0.9.5.a? - * TODO: This check is not reliable!!! */ - if (ret != 2) - { - /* TODO: Better error description */ - err_set_error (TEXTDOMAIN, "The decryption failed.", NULL); - return (-1); - } - - return (b1+b2); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/algorithm.h b/features/smtp/lib/libsmtp---0.1.0/src/algorithm.h deleted file mode 100644 index 631a11d..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/algorithm.h +++ /dev/null @@ -1,188 +0,0 @@ -/*********************************************************************** - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * algorithm.c provides some useful codec and cipher functions. * - * * - ***********************************************************************/ - -#ifndef __ALGORITHM_H__ -#define __ALGORITHM_H__ - -#include -#include -#include -#include -#include -#include -#include "error.h" -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * The available hash algorithms. - */ -enum HASH { H_MD2 = 1, H_MD4 = 2, H_MD5 = 3, H_SHA1 = 4 }; - -/** - * The available cipher algorithms. - */ -enum CIPHER { C_RC4 = 1, C_RC4_40 = 2, C_RC4_56 = 3, C_DES = 4, C_THREE_DES = 5 }; - -/** - * alg_hmac() calculates the keyed checksum. (rfc2104) - * digest must be big enough to hold the complete hash - * value (H_SHA1 == 20 bytes, all others 16 bytes). - * - * @param str The text that should be checksummed. - * @param str_len The length of str. - * @param key The key that should be used. - * @param key_len The length of key. - * @param digest The checksum that is calculated out of key - * and text will be stored at digest. digest - * needs to be at least 16/20 Bytes big. - * @param hash The algorithm that should be used. One of - * H_MD2, H_MD4, H_MD5 or H_SHA1. - */ -void alg_hmac (unsigned char * str, - unsigned int str_len, - unsigned char * key, - unsigned int key_len, - unsigned char * digest, - enum HASH hash); - -/** - * alg_chksum() calculates the md5 checksum of data, which is - * len bytes long and stores the resulting bytes in digest, - * which must be big enough to hold the resulting hash - * value (H_SHA1 == 20 bytes, all others 16 bytes). - * - * @param data The data that should be checksummed. - * @param len The length of data. - * @param digest The buffer the calculated checksum will be stored at. - * @param hash The algorithm that should be used. One of - * H_MD2, H_MD4, H_MD5 or H_SHA1. - */ -void alg_chksum (unsigned char * data, - unsigned int len, - unsigned char * digest, - enum HASH hash); - -/** - * alg_b64_encode() encodes orig_str with the base64 - * codec and stores the result at the address pointed - * to by enc_str. enc_str needs to be at least - * (strlen(orig_str)+(strlen(orig_str)/4)+4) bytes big. - * The number of bytes written to enc_str will be - * returned. - * - * @param orig_str The string that should be encoded. - * @param orig_len The size of orig_str in bytes. - * @param enc_str The resulting encoded string will be stored - * at the address pointed to by enc_str. - * - * @returns The number of bytes written to enc_str. - */ -int alg_b64_encode (char *orig_str, - unsigned int orig_len, - char *enc_str); - -/** - * alg_b64_decode() decodes enc_str with the base64 - * codec and stores the result at the address pointed - * to by orig_str. orig_str needs to be at least - * (strlen(enc_str)+(strlen(enc_str)/4)+4) bytes big. - * The number of bytes written to orig_str will be - * returned. - * - * @param enc_str The string that should be decoded. - * @param enc_len The size of enc_str in bytes. - * @param orig_str The resulting decoded string will be stored - * at the address pointed to by orig_str. - * - * @returns The number of bytes written to orig_str. - */ -int alg_b64_decode (char *enc_str, - unsigned int enc_len, - char *orig_str); - -/** - * alg_encrypt() encrypts data, which is data_len bytes big, - * using key as the key and iv as the iv and writes the - * resulting encrypted data block into buf, which is bufsiz big. - * buf needs to be at least (data_len+(2*EVP_MAX_IV_LENGTH)-1) - * bytes big. - * - * @param data The data that should be encrypted. - * @param data_len The size of data. - * @param key The key that should be used. - * @param iv The iv that should be used (if any). - * @param buf The buffer where the encrypted data should be - * written. - * @param bufsiz The size of buf, which needs to be at least - * (data_len+(2*EVP_MAX_IV_LENGTH)-1) bytes big. - * @param cipher The cipher that should be used. One of - * C_RC4, C_RC4_40, C_RC4_56, C_DES, C_THREE_DES. - * - * @returns The number of bytes that were written to buf. - */ -int alg_encrypt (unsigned char * data, - unsigned int data_len, - unsigned char * key, - unsigned char * iv, - unsigned char * buf, - unsigned int bufsiz, - enum CIPHER cipher); - -/** - * alg_decrypt() decrypts data, which is data_len bytes big, - * using key as the key and iv as the iv and writes the resulting - * decrypted data block into buf, which is bufsiz big. buf - * needs to be at least (2*(data_len+EVP_MAX_IV_LENGTH)-1) - * bytes big. - * - * @param data The data that should be decrypted. - * @param data_len The size of data. - * @param key The key that should be used. - * @param iv The iv that should be used (if any). - * @param buf The buffer where the decrypted data should be - * written. - * @param bufsiz The size of buf, which needs to be at least - * (2*(data_len+EVP_MAX_IV_LENGTH)-1) bytes big. - * @param cipher The cipher that should be used. One of - * C_RC4, C_RC4_40, C_RC4_56, C_DES, C_THREE_DES. - * - * @returns The number of bytes that were written to buf or -1 if - * some error occured. - */ -int alg_decrypt (unsigned char * data, - unsigned int data_len, - unsigned char * key, - unsigned char * iv, - unsigned char * buf, - unsigned int bufsiz, - enum CIPHER cipher); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/alloc.c b/features/smtp/lib/libsmtp---0.1.0/src/alloc.c deleted file mode 100644 index 78aef13..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/alloc.c +++ /dev/null @@ -1,135 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * alloc.c provides wrapper functions around the alloc() family of * - * functions. Everytime memory is allocated an internal counter is * - * incremented, and everytime the memory is released the counter is * - * decremented. The score_() function returns the current counter value * - * and should return 0 before program exit, otherwise some memory leak * - * exists. * - * Each function will exit(1) if not enough memory is available. * - * * - * Note: These functions are used by libsmtp-- itself, and there is * - * memory allocated that will not be freed until the library is * - * uninitialized. That is when the fini_() function is called. If you * - * want to check whether you free_()d all allocated memory or not you * - * must set the LIBSMTP_VERBOSE environment variable. The last line * - * printed to stdout will be "SCORE: 0". If the score value is not 0, * - * some memory leak exists somewhere. * - * * - ************************************************************************/ - -#include "alloc.h" - -static int count = 0; - -/** - * A little malloc() wrapper. The allocated - * memory must be freed using the free_() function - * to keep the malloc() counter up2date. - */ -void * malloc_ (size_t len) -{ - void *ptr; - - if ((ptr = malloc (len)) == NULL) - { - perror ("malloc"); - exit (EXIT_FAILURE); - } - - count++; - - return (ptr); -} - -/** - * A little realloc() wrapper. - */ -void * realloc_ (void * ptr, size_t len) -{ - if (ptr == NULL) - { - count++; - } - - if ((ptr = realloc (ptr, len)) == NULL) - { - perror ("realloc"); - exit (EXIT_FAILURE); - } - - return (ptr); -} - -/** - * A little free() wrapper. The last element - * of the variable length parameter must be NULL. - * - * @param ptr The malloc()ed memory that should be freed. - * @param ... A variable length parameter of malloc()ed - * memory pointers that should be freed. - */ -void free_ (void * ptr, ...) -{ - if(ptr != NULL){ - va_list ap; - void *arg; - free (ptr); - count--; - - va_start (ap, ptr); - while ((arg = va_arg (ap, void*)) != NULL) - { - free (arg); - count--; - } - va_end (ap); - } -} - -/** - * A little strdup() wrapper.The allocated - * memory must be freed using the free_() function - * to keep the malloc() counter up2date. - */ -char * strdup_ (const char * s) -{ - char * dup; - - dup = (char*)malloc_ ((strlen (s)+1) * sizeof (char)); - strcpy (dup, s); - - return (dup); -} - -/** - * score_() returns the number of calls to - * malloc_()/strdup_() that are not yet - * free()d. - * - * @returns the number of calls to malloc_() that - * are not yet free()d. - */ -int score_ () -{ - return (count); -} - - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/alloc.h b/features/smtp/lib/libsmtp---0.1.0/src/alloc.h deleted file mode 100644 index ea3b20f..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/alloc.h +++ /dev/null @@ -1,93 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * alloc.c provides wrapper functions around the alloc() family of * - * functions. Everytime memory is allocated an internal counter is * - * incremented, and everytime the memory is released the counter is * - * decremented. The score_() function returns the current counter value * - * and should return 0 before program exit, otherwise some memory leak * - * exists. * - * Each function will exit(1) if not enough memory is available. * - * * - * Note: These functions are used by libsmtp-- itself, and there is * - * memory allocated that will not be freed until the library is * - * uninitialized. That is when the fini_() function is called. If you * - * want to check whether you free_()d all allocated memory or not you * - * must set the LIBSMTP_VERBOSE environment variable. The last line * - * printed to stdout will be "SCORE: 0". If the score value is not 0, * - * some memory leak exists somewhere. * - * * - ************************************************************************/ - -#ifndef __ALLOC_H__ -#define __ALLOC_H__ - -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * A little malloc() wrapper. The allocated - * memory must be freed using the free_() function - * to keep the malloc() counter up2date. - */ -void * malloc_ (size_t len); - -/** - * A little realloc() wrapper. - */ -void * realloc_ (void * ptr, size_t len); - -/** - * A little free() wrapper. The last element - * of the variable length parameter must be NULL. - * - * @param ptr The malloc()ed memory that should be freed. - * @param ... A variable length parameter of malloc()ed - * memory pointers that should be freed. - */ -void free_ (void * ptr, ...); - -/** - * A little strdup() wrapper.The allocated - * memory must be freed using the free_() function - * to keep the malloc() counter up2date. - */ -char * strdup_ (const char * s); - -/** - * score_() returns the number of calls to - * malloc_()/strdup_() that are not yet - * free()d. - * - * @returns the number of calls to malloc_() that - * are not yet free()d. - */ -int score_ (); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/dlfcn.c b/features/smtp/lib/libsmtp---0.1.0/src/dlfcn.c deleted file mode 100644 index d7727fc..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/dlfcn.c +++ /dev/null @@ -1,210 +0,0 @@ -/* -Copyright (c) 2002 Peter O'Gorman - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - - -/* Just to prove that it isn't that hard to add Mac calls to your code :) - This works with pretty much everything, including kde3 xemacs and the gimp, - I'd guess that it'd work in at least 95% of cases, use this as your starting - point, rather than the mess that is dlfcn.c, assuming that your code does not - require ref counting or symbol lookups in dependent libraries -*/ - -#include -#include -#include -#include -#include -#include -#include -#include -#include "dlfcn.h" - -#define ERR_STR_LEN 256 - -static void *dlsymIntern(void *handle, const char *symbol); - -static const char *error(int setget, const char *str, ...); - - - -/* Set and get the error string for use by dlerror */ -static const char *error(int setget, const char *str, ...) -{ - static char errstr[ERR_STR_LEN]; - static int err_filled = 0; - const char *retval; - va_list arg; - if (setget == 0) - { - va_start(arg, str); - strncpy(errstr, "dlcompat: ", ERR_STR_LEN); - vsnprintf(errstr + 10, ERR_STR_LEN - 10, str, arg); - va_end(arg); - err_filled = 1; - retval = NULL; - } - else - { - if (!err_filled) - retval = NULL; - else - retval = errstr; - err_filled = 0; - } - return retval; -} - -/* dlopen */ -void *dlopen(const char *path, int mode) -{ - void *module = 0; - NSObjectFileImage ofi = 0; - NSObjectFileImageReturnCode ofirc; - - /* If we got no path, the app wants the global namespace, use -1 as the marker - in this case */ - if (!path) - return (void *)-1; - - /* Create the object file image, works for things linked with the -bundle arg to ld */ - ofirc = NSCreateObjectFileImageFromFile(path, &ofi); - switch (ofirc) - { - case NSObjectFileImageSuccess: - /* It was okay, so use NSLinkModule to link in the image */ - module = NSLinkModule(ofi, path, - NSLINKMODULE_OPTION_RETURN_ON_ERROR - | (mode & RTLD_GLOBAL) ? 0 : NSLINKMODULE_OPTION_PRIVATE - | (mode & RTLD_LAZY) ? 0 : NSLINKMODULE_OPTION_BINDNOW); - NSDestroyObjectFileImage(ofi); - break; - case NSObjectFileImageInappropriateFile: - /* It may have been a dynamic library rather than a bundle, try to load it */ - module = (void *)NSAddImage(path, NSADDIMAGE_OPTION_RETURN_ON_ERROR); - break; - default: - /* God knows what we got */ - error(0, "Can not open \"%s\"", path); - return 0; - } - if (!module) - error(0, "Can not open \"%s\"", path); - return module; - -} - -/* dlsymIntern is used by dlsym to find the symbol */ -void *dlsymIntern(void *handle, const char *symbol) -{ - NSSymbol *nssym = 0; - /* If the handle is -1, if is the app global context */ - if (handle == (void *)-1) - { - /* Global context, use NSLookupAndBindSymbol */ - if (NSIsSymbolNameDefined(symbol)) - { - nssym = NSLookupAndBindSymbol(symbol); - } - - } - /* Now see if the handle is a struch mach_header* or not, use NSLookupSymbol in image - for libraries, and NSLookupSymbolInModule for bundles */ - else - { - /* Check for both possible magic numbers depending on x86/ppc byte order */ - if ((((struct mach_header *)handle)->magic == MH_MAGIC) || - (((struct mach_header *)handle)->magic == MH_CIGAM)) - { - if (NSIsSymbolNameDefinedInImage((struct mach_header *)handle, symbol)) - { - nssym = NSLookupSymbolInImage((struct mach_header *)handle, - symbol, - NSLOOKUPSYMBOLINIMAGE_OPTION_BIND - | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR); - } - - } - else - { - nssym = NSLookupSymbolInModule(handle, symbol); - } - } - if (!nssym) - { - error(0, "Symbol \"%s\" Not found", symbol); - return NULL; - } - return NSAddressOfSymbol(nssym); -} - -const char *dlerror(void) -{ - return error(1, (char *)NULL); -} - -int dlclose(void *handle) -{ - if ((((struct mach_header *)handle)->magic == MH_MAGIC) || - (((struct mach_header *)handle)->magic == MH_CIGAM)) - { - error(0, "Can't remove dynamic libraries on darwin"); - return 0; - } - if (!NSUnLinkModule(handle, 0)) - { - error(0, "unable to unlink module %s", NSNameOfModule(handle)); - return 1; - } - return 0; -} - - -/* dlsym, prepend the underscore and call dlsymIntern */ -void *dlsym(void *handle, const char *symbol) -{ - static char undersym[257]; /* Saves calls to malloc(3) */ - int sym_len = strlen(symbol); - void *value = NULL; - char *malloc_sym = NULL; - - if (sym_len < 256) - { - snprintf(undersym, 256, "_%s", symbol); - value = dlsymIntern(handle, undersym); - } - else - { - malloc_sym = malloc(sym_len + 2); - if (malloc_sym) - { - sprintf(malloc_sym, "_%s", symbol); - value = dlsymIntern(handle, malloc_sym); - free(malloc_sym); - } - else - { - error(0, "Unable to allocate memory"); - } - } - return value; -} diff --git a/features/smtp/lib/libsmtp---0.1.0/src/dlfcn.h b/features/smtp/lib/libsmtp---0.1.0/src/dlfcn.h deleted file mode 100644 index a2c3e34..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/dlfcn.h +++ /dev/null @@ -1,69 +0,0 @@ -/* -Copyright (c) 2002 Jorge Acereda & - Peter O'Gorman - -Portions may be copyright others, see the AUTHORS file included with this -distribution. - -Maintained by Peter O'Gorman - -Bug Reports and other queries should go to - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ -#ifndef __DLFCN_H__ -#define __DLFCN_H__ - -#ifdef __cplusplus -extern "C" { -#endif - - -/* - * Structure filled in by dladdr(). - */ - -typedef struct dl_info { - const char *dli_fname; /* Pathname of shared object */ - void *dli_fbase; /* Base address of shared object */ - const char *dli_sname; /* Name of nearest symbol */ - void *dli_saddr; /* Address of nearest symbol */ -} Dl_info; - - -extern void * dlopen(const char *path, int mode); -extern void * dlsym(void * handle, const char *symbol); -extern const char * dlerror(void); -extern int dlclose(void * handle); -extern int dladdr(void *, Dl_info *); - -#define RTLD_LAZY 0x1 -#define RTLD_NOW 0x2 -#define RTLD_LOCAL 0x4 -#define RTLD_GLOBAL 0x8 -#define RTLD_NOLOAD 0x10 -#define RTLD_NODELETE 0x80 - - -#ifdef __cplusplus -} -#endif - -#endif /* _DLFCN_H_ */ diff --git a/features/smtp/lib/libsmtp---0.1.0/src/error.c b/features/smtp/lib/libsmtp---0.1.0/src/error.c deleted file mode 100644 index 3abe614..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/error.c +++ /dev/null @@ -1,100 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * error.c provides functions to set, resp. query error messages. * - * * - ************************************************************************/ - -#include "error.h" - -/** - * The last error msg that was set using err_set_error(). - */ -static char * errmsg; - -/** - * err_init() must be called before the other methods - * can be used. - */ -void err_init () -{ - errmsg = strdup_ ("Success."); -} - -/** - * err_cleanup() must be called on deinitialization. - */ -void err_cleanup () -{ - free_ (errmsg, NULL); -} - -/** - * err_set_error() sets the information about the last - * error that occured. This information can be retrieved - * later by the err_str_error() function and will be valid - * until the next call of err_set_error(). - * The string msg will be translated using the glibc gettext() - * function. Additionally the string can include special - * substitution characters, which will be substituted with the - * variable length parameter. - * - * All substitution parameters must be of type (char*). - * - * EG: "This is a test arg $0, and this is another one: $1" - * $0 will be substituted by params[0], $1 will be substituted - * by params[1], etc. - * - * For more information take a look at the i18n() function. - * - * @param textdomain The gettext() textdomain. - * @param msg The error message. - * @param ... The substitution parameters of type (char*). The - * last parameter needs to be NULL. - */ -void err_set_error (const char * textdomain, const char * msg, ...) -{ - va_list ap; - - /* remove the last newline character */ - if (strlen (msg) > 0 && msg[strlen (msg)-1] == '\n') - { - errmsg[strlen (msg)-1] = '\0'; - } - - /* clear any previously existing error msgs */ - free_ (errmsg, NULL); - - va_start (ap, msg); - errmsg = strdup_ (i18n_va_list (textdomain, msg, ap)); - va_end (ap); -} - -/** - * err_str_error() returns an informative message about the last - * error that occured. The msg will already be localized. - * - * @returns The last error message (localized) that was set by - * err_set_error(). - */ -const char * err_str_error () -{ - return (errmsg); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/error.h b/features/smtp/lib/libsmtp---0.1.0/src/error.h deleted file mode 100644 index 21e26e8..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/error.h +++ /dev/null @@ -1,74 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * error.c provides functions to set, resp. query error messages. * - * * - ************************************************************************/ - -#ifndef __ERROR_H__ -#define __ERROR_H__ - -#include -#include -#include -#include "i18n.h" -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * err_set_error() sets the information about the last - * error that occured. This information can be retrieved - * later by the err_str_error() function and will be valid - * until the next call of err_set_error(). - * The string msg will be translated using the glibc gettext() - * function. Additionally the string can include special - * substitution characters, which will be substituted with the - * variable length parameter. - * - * All substitution parameters must be of type (char*). - * - * EG: "This is a test arg $0, and this is another one: $1" - * $0 will be substituted by params[0], $1 will be substituted - * by params[1], etc. - * - * For more information take a look at the i18n() function. - * - * @param msg The error message. - * @param ... The substitution parameters of type (char*). The - * last parameter needs to be NULL. - */ -void err_set_error (const char * textdomain, const char * msg, ...); - -/** - * err_str_error() returns an informative message about the last - * error that occured. The msg will already be localized. - * - * @returns The last error message (localized) that was set by - * err_set_error(). - */ -const char * err_str_error (); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/i18n.c b/features/smtp/lib/libsmtp---0.1.0/src/i18n.c deleted file mode 100644 index bbc542a..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/i18n.c +++ /dev/null @@ -1,118 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * i18n.c provides functions for internationalization. Internally * - * the gettext() function is used, but the functionality is somewhat * - * extended. * - * * - ************************************************************************/ - -#include "i18n.h" - -/** - * i18n_init() must be called before the other methods - * can be used and one time for each different textdomain. - */ -void i18n_init (const char * textdomain, const char * locale_dir) -{ - bindtextdomain (textdomain, locale_dir); - setlocale (LC_ALL,""); -} - -/** - * i18n() translates the string msgid. - * The string msgid will be translated using the - * glibc gettext() function. Additionally the string - * can include special substitution characters, which - * will be substituted with the remaining elements of - * the va_list array. This function is meant to be used - * from within other functions that use a variable length - * parameter list like err_set_error() or i18n(). - * The msgid and the substitution characters should not - * exceed 4095 bytes. - * - * EG: "This is a test arg $0, and this is another one: $1" - * $0 will be substituted by msgid[1], $1 will be substituted - * by msgid[2], etc. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @param textdomain The textdomain that should be used. - * @param msgid The msgid that should be translated. - * @param ... The substitution parameters of type (char*) as - * a va_list array. - * - * @returns The translated string. - */ -char * i18n_va_list (const char * textdomain, const char * msgid, va_list ap) -{ - char *arg; - int idx = 0; - static char msg[4096]; /* should be big enough */ - - strcpy (msg, dgettext (textdomain, msgid)); - - while ((arg = va_arg (ap, char*)) != NULL) - { - char needle[256]; /* should be big enough */ - - sprintf (needle, "$%i", idx++); - str_replace (msg, needle, arg); - } - - return (msg); -} - -/** - * i18n() translates the string msgid. - * The string msgid will be translated using the - * glibc gettext() function. Additionally the string - * can include special substitution characters, which - * will be substituted with the variable length parameter. - * All substitution parameters must be of type char*. - * The msgid and the substitution characters should not - * exceed 4095 bytes. - * - * EG: "This is a test arg $0, and this is another one: $1" - * $0 will be substituted by params[0], $1 will be substituted - * by params[1], etc. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @param textdomain The textdomain that should be used. - * @param msgid The msgid that should be translated. - * @param ... The substitution parameters of type (char*). The - * last parameter needs to be NULL. - * - * @returns The translated string. - */ -char * i18n (const char * textdomain, const char * msgid, ...) -{ - va_list ap; - char *msg; - - va_start (ap, msgid); - msg = i18n_va_list (textdomain, msgid, ap); - va_end (ap); - - return (msg); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/i18n.h b/features/smtp/lib/libsmtp---0.1.0/src/i18n.h deleted file mode 100644 index 2ae5403..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/i18n.h +++ /dev/null @@ -1,103 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * i18n.c provides functions for internationalization. Internally * - * the gettext() function is used, but the functionality is somewhat * - * extended. * - * * - ************************************************************************/ - -#ifndef __I18N_H__ -#define __I18N_H__ - -#include -#include -#include -#include "string.h" -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * i18n_init () must be called before the other methods - * can be used and one time for each different textdomain. - */ -void i18n_init (const char * textdomain, const char * locale_dir); - -/** - * i18n() translates the string msgid. - * The string msgid will be translated using the - * glibc gettext() function. Additionally the string - * can include special substitution characters, which - * will be substituted with the remaining elements of - * the va_list array. This function is meant to be used - * from within other functions that use a variable length - * parameter list like err_set_error() or i18n(). - * The msgid and the substitution characters should not - * exceed 4095 bytes. - * - * EG: "This is a test arg $0, and this is another one: $1" - * $0 will be substituted by msgid[1], $1 will be substituted - * by msgid[2], etc. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @param textdomain The textdomain that should be used. - * @param msgid The msgid that should be translated. - * @param ... The substitution parameters of type (char*) as - * a va_list array. - * - * @returns The translated string. - */ -char * i18n_va_list (const char * textdomain, const char * msgid, va_list ap); - -/** - * i18n() translates the string msgid. - * The string msgid will be translated using the - * glibc gettext() function. Additionally the string - * can include special substitution characters, which - * will be substituted with the variable length parameter. - * All substitution parameters must be of type char*. - * The msgid and the substitution characters should not be - * bigger than 4095 bytes. - * - * EG: "This is a test arg $0, and this is another one: $1" - * $0 will be substituted by params[0], $1 will be substituted - * by params[1], etc. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @param textdomain The textdomain that should be used. - * @param msgid The msgid that should be translated. - * @param ... The substitution parameters of type (char*). The - * last parameter needs to be NULL. - * - * @returns The translated string. - */ -char * i18n (const char * textdomain, const char * msgid, ...); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/.svn/entries b/features/smtp/lib/libsmtp---0.1.0/src/includes/.svn/entries deleted file mode 100644 index 88d34e7..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/.svn/entries +++ /dev/null @@ -1,34 +0,0 @@ -10 - -dir -46 -svn://cuiz.me/cbenchmark/trunk/cbenchmark/features/smtp/lib/libsmtp---0.1.0/src/includes -svn://cuiz.me - - - -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - -01675afb-4c4d-4bd7-85dd-1440927b3546 - -ssl -dir - -nossl -dir - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/entries b/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/entries deleted file mode 100644 index f56119e..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/entries +++ /dev/null @@ -1,300 +0,0 @@ -10 - -dir -46 -svn://cuiz.me/cbenchmark/trunk/cbenchmark/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl -svn://cuiz.me - - - -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - -01675afb-4c4d-4bd7-85dd-1440927b3546 - -error.h -file - - - - -2011-06-28T07:31:19.000000Z -d471be5fbbfd8dafd80bd0cdcb3b746f -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -3031 - -alloc.h -file - - - - -2011-06-28T07:31:19.000000Z -7e3a4856b85289e8b8c580e1f0299607 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -3800 - -plugin.h -file - - - - -2011-06-28T07:31:19.000000Z -8808c73b4a5172edd97d8b55fb16654a -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -4985 - -i18n.h -file - - - - -2011-06-28T07:31:19.000000Z -0390b822da2ce0f610fb1711f19a20af -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -4269 - -log.h -file - - - - -2011-06-28T07:31:19.000000Z -54d61f76b9f46caa54dffa121cfde3e1 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2999 - -smtp.h -file - - - - -2011-06-28T07:31:19.000000Z -929ced750f3fc7c1eb9acdacaa2cdf83 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -8165 - -string.h -file - - - - -2011-06-28T07:31:19.000000Z -0f172b9487b1ee476c1269ffdebb59c1 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -6116 - -inetsocket.h -file - - - - -2011-06-28T07:31:19.000000Z -1adf525a0419cd205397259230d28c33 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -5063 - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/alloc.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/alloc.h.svn-base deleted file mode 100644 index ea3b20f..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/alloc.h.svn-base +++ /dev/null @@ -1,93 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * alloc.c provides wrapper functions around the alloc() family of * - * functions. Everytime memory is allocated an internal counter is * - * incremented, and everytime the memory is released the counter is * - * decremented. The score_() function returns the current counter value * - * and should return 0 before program exit, otherwise some memory leak * - * exists. * - * Each function will exit(1) if not enough memory is available. * - * * - * Note: These functions are used by libsmtp-- itself, and there is * - * memory allocated that will not be freed until the library is * - * uninitialized. That is when the fini_() function is called. If you * - * want to check whether you free_()d all allocated memory or not you * - * must set the LIBSMTP_VERBOSE environment variable. The last line * - * printed to stdout will be "SCORE: 0". If the score value is not 0, * - * some memory leak exists somewhere. * - * * - ************************************************************************/ - -#ifndef __ALLOC_H__ -#define __ALLOC_H__ - -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * A little malloc() wrapper. The allocated - * memory must be freed using the free_() function - * to keep the malloc() counter up2date. - */ -void * malloc_ (size_t len); - -/** - * A little realloc() wrapper. - */ -void * realloc_ (void * ptr, size_t len); - -/** - * A little free() wrapper. The last element - * of the variable length parameter must be NULL. - * - * @param ptr The malloc()ed memory that should be freed. - * @param ... A variable length parameter of malloc()ed - * memory pointers that should be freed. - */ -void free_ (void * ptr, ...); - -/** - * A little strdup() wrapper.The allocated - * memory must be freed using the free_() function - * to keep the malloc() counter up2date. - */ -char * strdup_ (const char * s); - -/** - * score_() returns the number of calls to - * malloc_()/strdup_() that are not yet - * free()d. - * - * @returns the number of calls to malloc_() that - * are not yet free()d. - */ -int score_ (); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/error.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/error.h.svn-base deleted file mode 100644 index 21e26e8..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/error.h.svn-base +++ /dev/null @@ -1,74 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * error.c provides functions to set, resp. query error messages. * - * * - ************************************************************************/ - -#ifndef __ERROR_H__ -#define __ERROR_H__ - -#include -#include -#include -#include "i18n.h" -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * err_set_error() sets the information about the last - * error that occured. This information can be retrieved - * later by the err_str_error() function and will be valid - * until the next call of err_set_error(). - * The string msg will be translated using the glibc gettext() - * function. Additionally the string can include special - * substitution characters, which will be substituted with the - * variable length parameter. - * - * All substitution parameters must be of type (char*). - * - * EG: "This is a test arg $0, and this is another one: $1" - * $0 will be substituted by params[0], $1 will be substituted - * by params[1], etc. - * - * For more information take a look at the i18n() function. - * - * @param msg The error message. - * @param ... The substitution parameters of type (char*). The - * last parameter needs to be NULL. - */ -void err_set_error (const char * textdomain, const char * msg, ...); - -/** - * err_str_error() returns an informative message about the last - * error that occured. The msg will already be localized. - * - * @returns The last error message (localized) that was set by - * err_set_error(). - */ -const char * err_str_error (); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/i18n.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/i18n.h.svn-base deleted file mode 100644 index 2ae5403..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/i18n.h.svn-base +++ /dev/null @@ -1,103 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * i18n.c provides functions for internationalization. Internally * - * the gettext() function is used, but the functionality is somewhat * - * extended. * - * * - ************************************************************************/ - -#ifndef __I18N_H__ -#define __I18N_H__ - -#include -#include -#include -#include "string.h" -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * i18n_init () must be called before the other methods - * can be used and one time for each different textdomain. - */ -void i18n_init (const char * textdomain, const char * locale_dir); - -/** - * i18n() translates the string msgid. - * The string msgid will be translated using the - * glibc gettext() function. Additionally the string - * can include special substitution characters, which - * will be substituted with the remaining elements of - * the va_list array. This function is meant to be used - * from within other functions that use a variable length - * parameter list like err_set_error() or i18n(). - * The msgid and the substitution characters should not - * exceed 4095 bytes. - * - * EG: "This is a test arg $0, and this is another one: $1" - * $0 will be substituted by msgid[1], $1 will be substituted - * by msgid[2], etc. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @param textdomain The textdomain that should be used. - * @param msgid The msgid that should be translated. - * @param ... The substitution parameters of type (char*) as - * a va_list array. - * - * @returns The translated string. - */ -char * i18n_va_list (const char * textdomain, const char * msgid, va_list ap); - -/** - * i18n() translates the string msgid. - * The string msgid will be translated using the - * glibc gettext() function. Additionally the string - * can include special substitution characters, which - * will be substituted with the variable length parameter. - * All substitution parameters must be of type char*. - * The msgid and the substitution characters should not be - * bigger than 4095 bytes. - * - * EG: "This is a test arg $0, and this is another one: $1" - * $0 will be substituted by params[0], $1 will be substituted - * by params[1], etc. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @param textdomain The textdomain that should be used. - * @param msgid The msgid that should be translated. - * @param ... The substitution parameters of type (char*). The - * last parameter needs to be NULL. - * - * @returns The translated string. - */ -char * i18n (const char * textdomain, const char * msgid, ...); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/inetsocket.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/inetsocket.h.svn-base deleted file mode 100644 index a7f53ab..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/inetsocket.h.svn-base +++ /dev/null @@ -1,144 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * inetsocket.c provides functions for TCP/IP socket connections. * - * * - ************************************************************************/ - -#ifndef __INETSOCKET_H__ -#define __INETSOCKET_H__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "error.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * This struct describes one connection - */ -typedef struct sck_socket_t -{ - char *host; - char *localhost; /* will be set by sck_connect () */ - int sockfd; /* will be set by sck_connect () */ - unsigned int port; - unsigned int timeout; -} sck_socket_t; - -/** - * sck_init() initializes the sck_socket_t struct sck and must - * be called once for each sck_socket_t object before the other - * functions can be used. When the sck_socket_t object is no longer - * needed it should be de-initialized with sck_cleanup() to free - * unneeded resources. - * - * @param sck The sck_socket_t object. - */ -void sck_init (sck_socket_t * sck); - -/** - * sck_cleanup() releases unneeded resources and must be called when - * the sck_socket_t object is no longer needed. sck must be initialized - * by sck_init() before, otherwise random errors may occur. - * - * @param sck The sck_socket_t object. - */ -void sck_cleanup (sck_socket_t * sck); - -/** - * sck_localhost() returns the name of the localhost or - * the string "localhost" if the name of the localhost - * cannot be determined for some reason. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @returns The name of the localhost. - */ -char * sck_localhost (); - -/** - * sck_connect() connects a socket to the specified - * host:port and sets the timeout value. The struct sck - * will be filled and is to be used with the other sck_* - * functions. - * - * @param sck The struct sck_socket_t that is to be filled. - * @param host The host that should be connected. - * @param port The port that the host is listening on. - * @param timeout The timeout value in seconds. - * - * @returns 0 on success and -1 on any error. - */ -int sck_connect (sck_socket_t * sck, - const char * host, - unsigned int port, - unsigned int timeout); - -/** - * sck_read() reads at most bufsiz bytes from the socket and - * returns the number of bytes that were actually read. - * - * @param sck The struct sck_socket_t that is to be filled. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int sck_read (sck_socket_t * sck, const char * buf, unsigned int bufsiz); - -/** - * sck_write() writes at most bufsiz bytes of buf to the socket and - * returns the number of bytes that were actually written to the socket. - * - * @param sck The struct sck_socket_t that is to be filled. - * @param buf The buffer that should be written to the socket. - * @param bufsiz The number of bytes that should be written to the socket. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int sck_write (sck_socket_t * sck, const char * buf, unsigned int bufsiz); - -/** - * sck_close() closes the socket sck. - * - * @param sck The socket that should be closed. - * - * @returns 0 on success and -1 on any error. - */ -int sck_close (sck_socket_t * sck); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/log.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/log.h.svn-base deleted file mode 100644 index ddd1882..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/log.h.svn-base +++ /dev/null @@ -1,79 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * log.c provides some logging functionality. * - * * - ************************************************************************/ - -#ifndef __LOG_H__ -#define __LOG_H__ - -#include -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * The verbosity levels. - */ -typedef enum verbosity_t { LOG_LVL_QUIET = 1, LOG_LVL_ERROR = 2, - LOG_LVL_NORMAL = 3, LOG_LVL_VERBOSE = 4, - LOG_LVL_VVERBOSE = 5 } verbosity_t; - -/** - * The prototype for the callback function. - * - * @param msg The log message. - * @param lvl The verbosity level. - */ -typedef void log_callback_t (const char * msg, verbosity_t lvl); - -/** - * log_init() must be called to set the callback - * funtion. The callback funtion will be called - * for each log message that was logged using - * log(). - * - * @param callback The callback function. - */ -void log_init (log_callback_t * callback); - -/** - * log() logs the message msg with the verbosity - * level lvl. If log_init was called before, the - * callback function will be called. Otherwise - * nothing will happen. - * Any trailing newline character will be removed - * before the callback function is called. - * - * @param msg The log message. - * @param lvl The verbosity level. One of - * LOG_LVL_QUIET, LOG_LVL_ERROR, - * LOG_LVL_NORMAL, LOG_LVL_VERBOSE or - * LOG_LVL_VVERBOSE. - */ -void log (const char * msg, verbosity_t lvl); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/plugin.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/plugin.h.svn-base deleted file mode 100644 index b0a24a5..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/plugin.h.svn-base +++ /dev/null @@ -1,159 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * plugin.c implements the libsmtp-- plugin specification. * - * * - ************************************************************************/ - -#ifndef __PLUGIN_H__ -#define __PLUGIN_H__ - -#include -#include -#include "smtp.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/* forward declaration */ -struct smtp_srv_t; - -/** - * The prototype for the plg_authenticate() function that must - * be implemented by the plugin. - * - * @param srv The SMTP server object. - * - * @returns 0 on success and -1 on any error. - */ -typedef int plg_authenticate_t (struct smtp_srv_t * srv); - -/** - * The prototype for the plg_read() function that must - * be implemented by the plugin. - * - * @param srv The SMTP server object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -typedef int plg_read_t (struct smtp_srv_t * srv, - const char * buf, - unsigned int bufsiz); - -/** - * The prototype for the plg_write() function that must - * be implemented by the plugin. - * - * @param srv The SMTP server object. - * @param buf The buffer that should be written to the socket. - * @param bufsiz The number of bytes that should be written to the socket. - * - * @returns The number of bytes actually written or -1 if an error - * occured. - */ -typedef int plg_write_t (struct smtp_srv_t * srv, - const char * buf, - unsigned int bufsiz); - -/** - * The prototype for the plg_init() function that must - * be implemented by the plugin. - */ -typedef void plg_init_t (); - -/** - * The prototype for the plg_cleanup() function that must - * be implemented by the plugin. - */ -typedef void plg_cleanup_t (); - -/** - * plugin_t holds all information about one - * plugin object. - */ -typedef struct plugin_t -{ - plg_init_t *plg_init; - plg_cleanup_t *plg_cleanup; - plg_authenticate_t *plg_authenticate; - plg_read_t *plg_read; - plg_write_t *plg_write; - char *PATH; - char *NAME; - char *SASL; - char *COMMENT; - unsigned char WEIGHT; - void *handle; -} plugin_t; - -/** - * plg_plugins() returns the array of available plugins. The - * last element of this array is NULL. - * - * @returns The available plugins in form of a NULL terminated - * array. - */ -plugin_t ** plg_plugins (); - -/** - * plg_load_plugin() tries to load the plugin at path and - * adds the plugin to the array of available plugins if - * plg_load_plugin() was successfull. - * - * @param path The path to the plugin. - * - * @returns 0 on success and -1 on any error. - */ -int plg_load_plugin (const char * path); - -/** - * plg_load_plugins() tries to load all plugins with the - * extension "*.so" from the directory pointed to by - * path. - * - * @param path The directory where the plugins are located. - * - * @returns 0 on success and -1 on any error. - */ -int plg_load_plugins (const char * path); - -/** - * plg_remove_plugin() removes the plugins with - * plg->NAME == NAME. - * - * @param NAME The plugin that should be removed. - * - * @returns 0 on success and -1 on any error. - */ -int plg_remove_plugin (const char * NAME); - -/** - * plg_remove_plugins() removes all available plugins. - */ -void plg_remove_plugins (); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/smtp.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/smtp.h.svn-base deleted file mode 100644 index 79e1642..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/smtp.h.svn-base +++ /dev/null @@ -1,239 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * smtp.c implements the SMTP protocol specification. * - * * - ************************************************************************/ - -#ifndef __SMTP_H__ -#define __SMTP_H__ - -#include "alloc.h" -#include "error.h" -#include "log.h" -#include "plugin.h" -#include "inetsocket.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * This struct describes the SMTP session. - */ -typedef struct smtp_srv_t -{ - char *domain; - char *from; - char *server; - char *username; - char *password; - char *realm; - char *SASL; - struct plugin_t *plg; - unsigned int timeout; - unsigned int port; - int first_part; /* for smtp_send_big_msg() */ - sck_socket_t sck; -} smtp_srv_t; - -/** - * smtp_write() sends data to the SMTP server. All lines - * ending in not preceeded by will be converted - * to as . - * - * @param srv The smtp_srv_t object. - * @param data The data that should be send. - * @param siz The size of data in bytes. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_write (smtp_srv_t * srv, const char * data, int siz); - -/** - * smtp_read_() reads one line from the SMTP server, - * which must be already connected. Any trailing '\r' - * will be removed if present. The resulting string is - * malloc()ed and must be freed using free(). - * - * @param srv The SMTP server object. - * - * @returns A pointer to the resulting string or NULL - * if smtp_read_() failed. The string will be NULL - * terminated. - */ -char * smtp_read_ (smtp_srv_t * srv); - -/** - * smtp_read_response_() reads the response from the SMTP server. - * The resulting string is malloc()ed and must be freed using - * free(). - * - * @param srv The SMTP server object. - * @param is_221_fatal Must be 1 if the SMTP reply code 221 is - * considered to be fatal, otherwise 0. - * - * @returns A pointer to the resulting string or NULL - * if smtp_read_response_() failed or a protocol error - * occured. The string will be NULL terminated. - */ -char * smtp_read_response_ (smtp_srv_t * srv, int is_221_fatal); - -/** - * smtp_init() initializes the smtp_srv_t struct srv and must - * be called once for each smtp_srv_t object before the other - * functions can be used. When the smtp_srv_t object is no longer - * needed it should be de-initialized with smtp_cleanup() to free - * unneeded resources. - * - * @param srv The smtp_srv_t object. - * @param domain The domain that should be used when sending the HELO cmd. - * @param from The envelope from address. - * @param server The host of the SMTP server. - * @param port The port the SMTP server is listening on. - * @param timeout Socket timout value in seconds. - */ -void smtp_init (smtp_srv_t * srv, - const char * domain, - const char * from, - const char * server, - unsigned int port, - unsigned int timeout); - -/** - * smtp_cleanup() releases unneeded resources and must be called when - * the smtp_srv_t object is no longer needed. srv must be initialized - * by smtp_init() before, otherwise random errors may occur. - * - * @param srv The smtp_srv_t object. - */ -void smtp_cleanup (smtp_srv_t * srv); - -/** - * smtp_connect() connects to the smtp_srv_t object. - * - * @param srv The SMTP server object. - * - * @returns 0 on success and -1 on failure. - */ -int smtp_connect (smtp_srv_t * srv); - -/** - * smtp_close() closes the connection to the SMTP server. - * - * @param srv The smtp_srv_t object that should be closed. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_close (smtp_srv_t * srv); - -/** - * smtp_send_msg() sends msg to all recipients in - * the array rcpts. The last element of rcpts must be - * NULL. The msg will be converted into dos format, - * conforming to rfc0821. - * - * @param srv The smtp_srv_t object that should be used. - * @param msg The msg that should be send. - * @param rcpts The list of recipients. The last element - * this array must be NULL. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_send_msg (smtp_srv_t * srv, const char * msg, char ** rcpts); - -/** - * smtp_send_big_msg() can be used instead of smtp_send_msg() if - * you send very big msgs. The memory allocated by smtp_send_msg() - * is up to 3 * strlen (message), which can be very much if you - * consider people sending files that are 50MB big or even more via - * email. Using smtp_send_big_msg() the memory allocated will be only - * 3 * strlen (part_message). The last element of rcpts must be NULL. - * The msg will be converted into dos format, conforming to rfc0821. - * - * Example: - * - * char *msg_1 = "To: bouncer@test.smtp.org\n" - * "Subject: test\n" - * "\n" - * "part 1\n"; - * - * char *msg_2 = "\npart 2\n"; - * - * char *msg_3 = "\npart 3\n"; - * - * if (smtp_send_big_msg (&srv, msg_1, rcpts, 0) == -1) - * { - * puts (err_str_error ()); - * smtp_cleanup (&srv); - * exit (1); - * } - * - * if (smtp_send_big_msg (&srv, msg_3, rcpts, 0) == -1) - * { - * puts (err_str_error ()); - * smtp_cleanup (&srv); - * exit (1); - * } - * - * if (smtp_send_big_msg (&srv, msg_3, rcpts, 1) == -1) - * { - * puts (err_str_error ()); - * smtp_cleanup (&srv); - * exit (1); - * } - * - * @param srv The smtp_srv_t object that should be used. - * @param msg The msg that should be send. - * @param rcpts The list of recipients. The last element - * this array must be NULL. - * @param last If msg is the last segment of the msg, last must - * be 1, otherwise 0. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_send_big_msg (smtp_srv_t * srv, - const char * msg, - char ** rcpts, - int last); - -/** - * smtp_set_credentials() sets the credentials that should be - * used for authentication. - * - * @param srv The smtp_srv_t object that should be used. - * @param sasl The SASL mechanism that should be used. - * If sasl == "AUTO" the securest mechanism that - * we have in common with the server will be - * determined automagically. - * @param username The username. - * @param password The password. - * @param realm The realm. - */ -void smtp_set_credentials (smtp_srv_t * srv, - const char * sasl, - const char * username, - const char * password, - const char * realm); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/string.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/string.h.svn-base deleted file mode 100644 index fcd0f38..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/.svn/text-base/string.h.svn-base +++ /dev/null @@ -1,183 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * string.c provides some useful functions for string manipulations. * - * * - ************************************************************************/ - -#ifndef __STRING_H__ -#define __STRING_H__ - -#include -#include -#include -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * str_hexify() converts all bytes in src into their hexadecimal - * representation. The resulting string will be stored in dst. - * dst must be 2*strlen (src)+1 bytes big. - * - * @param dst This is the place where the hexified string - * will be stored. - * @param src The string that should be hexified. - * @param src_len The size of str in bytes. - * - * @returns A pointer to the resulting string. - */ -char * str_hexify (char * dst, char * src, unsigned int src_len); - -/** - * str_replace() replaces the first occurence of needle - * in the string src with the string subst. If no occurence - * of needle could be found in src, NULL is returned, otherwise - * the starting index of needle inside src. src needs to be - * big enough to store the resulting string. - * - * @param src The string that should be modified. - * @param needle The pattern that should be replaced. - * @param subst The pattern that should be used for - * replacing. - * - * @returns NULL if no occurence of needle could be found - * in src, otherwise the starting idx of needle inside src. - */ -char * str_replace (char * src, char * needle, char * subst); - -/** - * str_tolower() converts str into lower case characters. - * - * @param str The string that should be converted to lower - * case. - * @param len The len of str in bytes. - * - * @returns The pointer to str. - */ -char * str_tolower (char * str, int len); - -/** - * str_toupper() converts str into upper case characters. - * - * @param str The string that should be converted to upper - * case. - * @param len The len of str in bytes. - * - * @returns The pointer to str. - */ -char * str_toupper (char * str, int len); - -/** - * str_crop() removes all occurences of delim from - * the beginning/end of str. - * - * " this is a test string " - * => "this is a test string" - * - * @param str The string that should be trimmed. - * @param delim The delimiting string. - * - * @returns A pointer to the resulting string. - */ -char * str_crop (char * str, char * delim); - -/** - * str_trim() removes all occurences of delim from - * the beginning/end of str and replaces multiple - * occurences of delim inside str with a single one. - * " this is a test string" - * => "this is a test string" - * - * @param str The string that should be trimmed. - * @param delim The delimiting string. - * - * @returns A pointer to the resulting string. - */ -char * str_trim (char * str, char * delim); - -/** - * str_tok_() searches for the next occurence of - * delim inside str and returns that substring. The - * returned substring is NULL terminated and the end - * of the token inside str is stored in pos. - * The returned string is malloc()ed and must be - * freed using free(). - * Example: - * - * char *tok; - * char *p = "This\nis\na\test"; - * char *p_ptr = p; - * - * while (p_ptr != NULL) - * { - * tok = str_tok_ (p_ptr, &p_ptr, "\n"); - * printf ("%s\n", tok); - * free (tok); - * }; - * - * @param str The string that should be tokenized, - * @param pos The end of the token inside str will be - * stored in pos, resp. NULL, if no occurnce - * of delim could be found. - * @param delim The pattern that should be used as a - * delimiter. - * - * @returns The token, which is dynamically malloc()ed, so it - * must be freed using free(). - */ -char * str_tok_ (char * str, char ** pos, char * delim); - -/** - * str_split_() splits str in tokens of siz bytes. The - * returned tokens are NULL terminated and the end - * of the token inside str is stored in pos. - * The returned string is malloc()ed and must be - * freed using free(). - * Example: - * - * char *tok; - * char *p = "This is a test"; - * char *p_ptr = p; - * - * while (p_ptr != NULL) - * { - * tok = str_split_ (p_ptr, &p_ptr, 4); - * printf ("%s\n", tok); - * free (tok); - * }; - * - * @param str The string that should be tokenized, - * @param pos The end of the token inside str will be - * stored in pos, resp. NULL, if no occurnce - * of delim could be found. - * @param siz The siz of the tokens in bytes. - * - * @returns The token, which is dynamically malloc()ed, so it - * must be freed using free(). - */ -char * str_split_ (char * str, char ** pos, unsigned long siz); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/alloc.h b/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/alloc.h deleted file mode 100644 index ea3b20f..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/alloc.h +++ /dev/null @@ -1,93 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * alloc.c provides wrapper functions around the alloc() family of * - * functions. Everytime memory is allocated an internal counter is * - * incremented, and everytime the memory is released the counter is * - * decremented. The score_() function returns the current counter value * - * and should return 0 before program exit, otherwise some memory leak * - * exists. * - * Each function will exit(1) if not enough memory is available. * - * * - * Note: These functions are used by libsmtp-- itself, and there is * - * memory allocated that will not be freed until the library is * - * uninitialized. That is when the fini_() function is called. If you * - * want to check whether you free_()d all allocated memory or not you * - * must set the LIBSMTP_VERBOSE environment variable. The last line * - * printed to stdout will be "SCORE: 0". If the score value is not 0, * - * some memory leak exists somewhere. * - * * - ************************************************************************/ - -#ifndef __ALLOC_H__ -#define __ALLOC_H__ - -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * A little malloc() wrapper. The allocated - * memory must be freed using the free_() function - * to keep the malloc() counter up2date. - */ -void * malloc_ (size_t len); - -/** - * A little realloc() wrapper. - */ -void * realloc_ (void * ptr, size_t len); - -/** - * A little free() wrapper. The last element - * of the variable length parameter must be NULL. - * - * @param ptr The malloc()ed memory that should be freed. - * @param ... A variable length parameter of malloc()ed - * memory pointers that should be freed. - */ -void free_ (void * ptr, ...); - -/** - * A little strdup() wrapper.The allocated - * memory must be freed using the free_() function - * to keep the malloc() counter up2date. - */ -char * strdup_ (const char * s); - -/** - * score_() returns the number of calls to - * malloc_()/strdup_() that are not yet - * free()d. - * - * @returns the number of calls to malloc_() that - * are not yet free()d. - */ -int score_ (); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/error.h b/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/error.h deleted file mode 100644 index 21e26e8..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/error.h +++ /dev/null @@ -1,74 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * error.c provides functions to set, resp. query error messages. * - * * - ************************************************************************/ - -#ifndef __ERROR_H__ -#define __ERROR_H__ - -#include -#include -#include -#include "i18n.h" -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * err_set_error() sets the information about the last - * error that occured. This information can be retrieved - * later by the err_str_error() function and will be valid - * until the next call of err_set_error(). - * The string msg will be translated using the glibc gettext() - * function. Additionally the string can include special - * substitution characters, which will be substituted with the - * variable length parameter. - * - * All substitution parameters must be of type (char*). - * - * EG: "This is a test arg $0, and this is another one: $1" - * $0 will be substituted by params[0], $1 will be substituted - * by params[1], etc. - * - * For more information take a look at the i18n() function. - * - * @param msg The error message. - * @param ... The substitution parameters of type (char*). The - * last parameter needs to be NULL. - */ -void err_set_error (const char * textdomain, const char * msg, ...); - -/** - * err_str_error() returns an informative message about the last - * error that occured. The msg will already be localized. - * - * @returns The last error message (localized) that was set by - * err_set_error(). - */ -const char * err_str_error (); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/i18n.h b/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/i18n.h deleted file mode 100644 index 2ae5403..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/i18n.h +++ /dev/null @@ -1,103 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * i18n.c provides functions for internationalization. Internally * - * the gettext() function is used, but the functionality is somewhat * - * extended. * - * * - ************************************************************************/ - -#ifndef __I18N_H__ -#define __I18N_H__ - -#include -#include -#include -#include "string.h" -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * i18n_init () must be called before the other methods - * can be used and one time for each different textdomain. - */ -void i18n_init (const char * textdomain, const char * locale_dir); - -/** - * i18n() translates the string msgid. - * The string msgid will be translated using the - * glibc gettext() function. Additionally the string - * can include special substitution characters, which - * will be substituted with the remaining elements of - * the va_list array. This function is meant to be used - * from within other functions that use a variable length - * parameter list like err_set_error() or i18n(). - * The msgid and the substitution characters should not - * exceed 4095 bytes. - * - * EG: "This is a test arg $0, and this is another one: $1" - * $0 will be substituted by msgid[1], $1 will be substituted - * by msgid[2], etc. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @param textdomain The textdomain that should be used. - * @param msgid The msgid that should be translated. - * @param ... The substitution parameters of type (char*) as - * a va_list array. - * - * @returns The translated string. - */ -char * i18n_va_list (const char * textdomain, const char * msgid, va_list ap); - -/** - * i18n() translates the string msgid. - * The string msgid will be translated using the - * glibc gettext() function. Additionally the string - * can include special substitution characters, which - * will be substituted with the variable length parameter. - * All substitution parameters must be of type char*. - * The msgid and the substitution characters should not be - * bigger than 4095 bytes. - * - * EG: "This is a test arg $0, and this is another one: $1" - * $0 will be substituted by params[0], $1 will be substituted - * by params[1], etc. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @param textdomain The textdomain that should be used. - * @param msgid The msgid that should be translated. - * @param ... The substitution parameters of type (char*). The - * last parameter needs to be NULL. - * - * @returns The translated string. - */ -char * i18n (const char * textdomain, const char * msgid, ...); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/inetsocket.h b/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/inetsocket.h deleted file mode 100644 index a7f53ab..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/inetsocket.h +++ /dev/null @@ -1,144 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * inetsocket.c provides functions for TCP/IP socket connections. * - * * - ************************************************************************/ - -#ifndef __INETSOCKET_H__ -#define __INETSOCKET_H__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "error.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * This struct describes one connection - */ -typedef struct sck_socket_t -{ - char *host; - char *localhost; /* will be set by sck_connect () */ - int sockfd; /* will be set by sck_connect () */ - unsigned int port; - unsigned int timeout; -} sck_socket_t; - -/** - * sck_init() initializes the sck_socket_t struct sck and must - * be called once for each sck_socket_t object before the other - * functions can be used. When the sck_socket_t object is no longer - * needed it should be de-initialized with sck_cleanup() to free - * unneeded resources. - * - * @param sck The sck_socket_t object. - */ -void sck_init (sck_socket_t * sck); - -/** - * sck_cleanup() releases unneeded resources and must be called when - * the sck_socket_t object is no longer needed. sck must be initialized - * by sck_init() before, otherwise random errors may occur. - * - * @param sck The sck_socket_t object. - */ -void sck_cleanup (sck_socket_t * sck); - -/** - * sck_localhost() returns the name of the localhost or - * the string "localhost" if the name of the localhost - * cannot be determined for some reason. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @returns The name of the localhost. - */ -char * sck_localhost (); - -/** - * sck_connect() connects a socket to the specified - * host:port and sets the timeout value. The struct sck - * will be filled and is to be used with the other sck_* - * functions. - * - * @param sck The struct sck_socket_t that is to be filled. - * @param host The host that should be connected. - * @param port The port that the host is listening on. - * @param timeout The timeout value in seconds. - * - * @returns 0 on success and -1 on any error. - */ -int sck_connect (sck_socket_t * sck, - const char * host, - unsigned int port, - unsigned int timeout); - -/** - * sck_read() reads at most bufsiz bytes from the socket and - * returns the number of bytes that were actually read. - * - * @param sck The struct sck_socket_t that is to be filled. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int sck_read (sck_socket_t * sck, const char * buf, unsigned int bufsiz); - -/** - * sck_write() writes at most bufsiz bytes of buf to the socket and - * returns the number of bytes that were actually written to the socket. - * - * @param sck The struct sck_socket_t that is to be filled. - * @param buf The buffer that should be written to the socket. - * @param bufsiz The number of bytes that should be written to the socket. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int sck_write (sck_socket_t * sck, const char * buf, unsigned int bufsiz); - -/** - * sck_close() closes the socket sck. - * - * @param sck The socket that should be closed. - * - * @returns 0 on success and -1 on any error. - */ -int sck_close (sck_socket_t * sck); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/log.h b/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/log.h deleted file mode 100644 index ddd1882..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/log.h +++ /dev/null @@ -1,79 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * log.c provides some logging functionality. * - * * - ************************************************************************/ - -#ifndef __LOG_H__ -#define __LOG_H__ - -#include -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * The verbosity levels. - */ -typedef enum verbosity_t { LOG_LVL_QUIET = 1, LOG_LVL_ERROR = 2, - LOG_LVL_NORMAL = 3, LOG_LVL_VERBOSE = 4, - LOG_LVL_VVERBOSE = 5 } verbosity_t; - -/** - * The prototype for the callback function. - * - * @param msg The log message. - * @param lvl The verbosity level. - */ -typedef void log_callback_t (const char * msg, verbosity_t lvl); - -/** - * log_init() must be called to set the callback - * funtion. The callback funtion will be called - * for each log message that was logged using - * log(). - * - * @param callback The callback function. - */ -void log_init (log_callback_t * callback); - -/** - * log() logs the message msg with the verbosity - * level lvl. If log_init was called before, the - * callback function will be called. Otherwise - * nothing will happen. - * Any trailing newline character will be removed - * before the callback function is called. - * - * @param msg The log message. - * @param lvl The verbosity level. One of - * LOG_LVL_QUIET, LOG_LVL_ERROR, - * LOG_LVL_NORMAL, LOG_LVL_VERBOSE or - * LOG_LVL_VVERBOSE. - */ -void log (const char * msg, verbosity_t lvl); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/plugin.h b/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/plugin.h deleted file mode 100644 index b0a24a5..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/plugin.h +++ /dev/null @@ -1,159 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * plugin.c implements the libsmtp-- plugin specification. * - * * - ************************************************************************/ - -#ifndef __PLUGIN_H__ -#define __PLUGIN_H__ - -#include -#include -#include "smtp.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/* forward declaration */ -struct smtp_srv_t; - -/** - * The prototype for the plg_authenticate() function that must - * be implemented by the plugin. - * - * @param srv The SMTP server object. - * - * @returns 0 on success and -1 on any error. - */ -typedef int plg_authenticate_t (struct smtp_srv_t * srv); - -/** - * The prototype for the plg_read() function that must - * be implemented by the plugin. - * - * @param srv The SMTP server object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -typedef int plg_read_t (struct smtp_srv_t * srv, - const char * buf, - unsigned int bufsiz); - -/** - * The prototype for the plg_write() function that must - * be implemented by the plugin. - * - * @param srv The SMTP server object. - * @param buf The buffer that should be written to the socket. - * @param bufsiz The number of bytes that should be written to the socket. - * - * @returns The number of bytes actually written or -1 if an error - * occured. - */ -typedef int plg_write_t (struct smtp_srv_t * srv, - const char * buf, - unsigned int bufsiz); - -/** - * The prototype for the plg_init() function that must - * be implemented by the plugin. - */ -typedef void plg_init_t (); - -/** - * The prototype for the plg_cleanup() function that must - * be implemented by the plugin. - */ -typedef void plg_cleanup_t (); - -/** - * plugin_t holds all information about one - * plugin object. - */ -typedef struct plugin_t -{ - plg_init_t *plg_init; - plg_cleanup_t *plg_cleanup; - plg_authenticate_t *plg_authenticate; - plg_read_t *plg_read; - plg_write_t *plg_write; - char *PATH; - char *NAME; - char *SASL; - char *COMMENT; - unsigned char WEIGHT; - void *handle; -} plugin_t; - -/** - * plg_plugins() returns the array of available plugins. The - * last element of this array is NULL. - * - * @returns The available plugins in form of a NULL terminated - * array. - */ -plugin_t ** plg_plugins (); - -/** - * plg_load_plugin() tries to load the plugin at path and - * adds the plugin to the array of available plugins if - * plg_load_plugin() was successfull. - * - * @param path The path to the plugin. - * - * @returns 0 on success and -1 on any error. - */ -int plg_load_plugin (const char * path); - -/** - * plg_load_plugins() tries to load all plugins with the - * extension "*.so" from the directory pointed to by - * path. - * - * @param path The directory where the plugins are located. - * - * @returns 0 on success and -1 on any error. - */ -int plg_load_plugins (const char * path); - -/** - * plg_remove_plugin() removes the plugins with - * plg->NAME == NAME. - * - * @param NAME The plugin that should be removed. - * - * @returns 0 on success and -1 on any error. - */ -int plg_remove_plugin (const char * NAME); - -/** - * plg_remove_plugins() removes all available plugins. - */ -void plg_remove_plugins (); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/smtp.h b/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/smtp.h deleted file mode 100644 index 79e1642..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/smtp.h +++ /dev/null @@ -1,239 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * smtp.c implements the SMTP protocol specification. * - * * - ************************************************************************/ - -#ifndef __SMTP_H__ -#define __SMTP_H__ - -#include "alloc.h" -#include "error.h" -#include "log.h" -#include "plugin.h" -#include "inetsocket.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * This struct describes the SMTP session. - */ -typedef struct smtp_srv_t -{ - char *domain; - char *from; - char *server; - char *username; - char *password; - char *realm; - char *SASL; - struct plugin_t *plg; - unsigned int timeout; - unsigned int port; - int first_part; /* for smtp_send_big_msg() */ - sck_socket_t sck; -} smtp_srv_t; - -/** - * smtp_write() sends data to the SMTP server. All lines - * ending in not preceeded by will be converted - * to as . - * - * @param srv The smtp_srv_t object. - * @param data The data that should be send. - * @param siz The size of data in bytes. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_write (smtp_srv_t * srv, const char * data, int siz); - -/** - * smtp_read_() reads one line from the SMTP server, - * which must be already connected. Any trailing '\r' - * will be removed if present. The resulting string is - * malloc()ed and must be freed using free(). - * - * @param srv The SMTP server object. - * - * @returns A pointer to the resulting string or NULL - * if smtp_read_() failed. The string will be NULL - * terminated. - */ -char * smtp_read_ (smtp_srv_t * srv); - -/** - * smtp_read_response_() reads the response from the SMTP server. - * The resulting string is malloc()ed and must be freed using - * free(). - * - * @param srv The SMTP server object. - * @param is_221_fatal Must be 1 if the SMTP reply code 221 is - * considered to be fatal, otherwise 0. - * - * @returns A pointer to the resulting string or NULL - * if smtp_read_response_() failed or a protocol error - * occured. The string will be NULL terminated. - */ -char * smtp_read_response_ (smtp_srv_t * srv, int is_221_fatal); - -/** - * smtp_init() initializes the smtp_srv_t struct srv and must - * be called once for each smtp_srv_t object before the other - * functions can be used. When the smtp_srv_t object is no longer - * needed it should be de-initialized with smtp_cleanup() to free - * unneeded resources. - * - * @param srv The smtp_srv_t object. - * @param domain The domain that should be used when sending the HELO cmd. - * @param from The envelope from address. - * @param server The host of the SMTP server. - * @param port The port the SMTP server is listening on. - * @param timeout Socket timout value in seconds. - */ -void smtp_init (smtp_srv_t * srv, - const char * domain, - const char * from, - const char * server, - unsigned int port, - unsigned int timeout); - -/** - * smtp_cleanup() releases unneeded resources and must be called when - * the smtp_srv_t object is no longer needed. srv must be initialized - * by smtp_init() before, otherwise random errors may occur. - * - * @param srv The smtp_srv_t object. - */ -void smtp_cleanup (smtp_srv_t * srv); - -/** - * smtp_connect() connects to the smtp_srv_t object. - * - * @param srv The SMTP server object. - * - * @returns 0 on success and -1 on failure. - */ -int smtp_connect (smtp_srv_t * srv); - -/** - * smtp_close() closes the connection to the SMTP server. - * - * @param srv The smtp_srv_t object that should be closed. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_close (smtp_srv_t * srv); - -/** - * smtp_send_msg() sends msg to all recipients in - * the array rcpts. The last element of rcpts must be - * NULL. The msg will be converted into dos format, - * conforming to rfc0821. - * - * @param srv The smtp_srv_t object that should be used. - * @param msg The msg that should be send. - * @param rcpts The list of recipients. The last element - * this array must be NULL. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_send_msg (smtp_srv_t * srv, const char * msg, char ** rcpts); - -/** - * smtp_send_big_msg() can be used instead of smtp_send_msg() if - * you send very big msgs. The memory allocated by smtp_send_msg() - * is up to 3 * strlen (message), which can be very much if you - * consider people sending files that are 50MB big or even more via - * email. Using smtp_send_big_msg() the memory allocated will be only - * 3 * strlen (part_message). The last element of rcpts must be NULL. - * The msg will be converted into dos format, conforming to rfc0821. - * - * Example: - * - * char *msg_1 = "To: bouncer@test.smtp.org\n" - * "Subject: test\n" - * "\n" - * "part 1\n"; - * - * char *msg_2 = "\npart 2\n"; - * - * char *msg_3 = "\npart 3\n"; - * - * if (smtp_send_big_msg (&srv, msg_1, rcpts, 0) == -1) - * { - * puts (err_str_error ()); - * smtp_cleanup (&srv); - * exit (1); - * } - * - * if (smtp_send_big_msg (&srv, msg_3, rcpts, 0) == -1) - * { - * puts (err_str_error ()); - * smtp_cleanup (&srv); - * exit (1); - * } - * - * if (smtp_send_big_msg (&srv, msg_3, rcpts, 1) == -1) - * { - * puts (err_str_error ()); - * smtp_cleanup (&srv); - * exit (1); - * } - * - * @param srv The smtp_srv_t object that should be used. - * @param msg The msg that should be send. - * @param rcpts The list of recipients. The last element - * this array must be NULL. - * @param last If msg is the last segment of the msg, last must - * be 1, otherwise 0. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_send_big_msg (smtp_srv_t * srv, - const char * msg, - char ** rcpts, - int last); - -/** - * smtp_set_credentials() sets the credentials that should be - * used for authentication. - * - * @param srv The smtp_srv_t object that should be used. - * @param sasl The SASL mechanism that should be used. - * If sasl == "AUTO" the securest mechanism that - * we have in common with the server will be - * determined automagically. - * @param username The username. - * @param password The password. - * @param realm The realm. - */ -void smtp_set_credentials (smtp_srv_t * srv, - const char * sasl, - const char * username, - const char * password, - const char * realm); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/string.h b/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/string.h deleted file mode 100644 index fcd0f38..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/nossl/string.h +++ /dev/null @@ -1,183 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * string.c provides some useful functions for string manipulations. * - * * - ************************************************************************/ - -#ifndef __STRING_H__ -#define __STRING_H__ - -#include -#include -#include -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * str_hexify() converts all bytes in src into their hexadecimal - * representation. The resulting string will be stored in dst. - * dst must be 2*strlen (src)+1 bytes big. - * - * @param dst This is the place where the hexified string - * will be stored. - * @param src The string that should be hexified. - * @param src_len The size of str in bytes. - * - * @returns A pointer to the resulting string. - */ -char * str_hexify (char * dst, char * src, unsigned int src_len); - -/** - * str_replace() replaces the first occurence of needle - * in the string src with the string subst. If no occurence - * of needle could be found in src, NULL is returned, otherwise - * the starting index of needle inside src. src needs to be - * big enough to store the resulting string. - * - * @param src The string that should be modified. - * @param needle The pattern that should be replaced. - * @param subst The pattern that should be used for - * replacing. - * - * @returns NULL if no occurence of needle could be found - * in src, otherwise the starting idx of needle inside src. - */ -char * str_replace (char * src, char * needle, char * subst); - -/** - * str_tolower() converts str into lower case characters. - * - * @param str The string that should be converted to lower - * case. - * @param len The len of str in bytes. - * - * @returns The pointer to str. - */ -char * str_tolower (char * str, int len); - -/** - * str_toupper() converts str into upper case characters. - * - * @param str The string that should be converted to upper - * case. - * @param len The len of str in bytes. - * - * @returns The pointer to str. - */ -char * str_toupper (char * str, int len); - -/** - * str_crop() removes all occurences of delim from - * the beginning/end of str. - * - * " this is a test string " - * => "this is a test string" - * - * @param str The string that should be trimmed. - * @param delim The delimiting string. - * - * @returns A pointer to the resulting string. - */ -char * str_crop (char * str, char * delim); - -/** - * str_trim() removes all occurences of delim from - * the beginning/end of str and replaces multiple - * occurences of delim inside str with a single one. - * " this is a test string" - * => "this is a test string" - * - * @param str The string that should be trimmed. - * @param delim The delimiting string. - * - * @returns A pointer to the resulting string. - */ -char * str_trim (char * str, char * delim); - -/** - * str_tok_() searches for the next occurence of - * delim inside str and returns that substring. The - * returned substring is NULL terminated and the end - * of the token inside str is stored in pos. - * The returned string is malloc()ed and must be - * freed using free(). - * Example: - * - * char *tok; - * char *p = "This\nis\na\test"; - * char *p_ptr = p; - * - * while (p_ptr != NULL) - * { - * tok = str_tok_ (p_ptr, &p_ptr, "\n"); - * printf ("%s\n", tok); - * free (tok); - * }; - * - * @param str The string that should be tokenized, - * @param pos The end of the token inside str will be - * stored in pos, resp. NULL, if no occurnce - * of delim could be found. - * @param delim The pattern that should be used as a - * delimiter. - * - * @returns The token, which is dynamically malloc()ed, so it - * must be freed using free(). - */ -char * str_tok_ (char * str, char ** pos, char * delim); - -/** - * str_split_() splits str in tokens of siz bytes. The - * returned tokens are NULL terminated and the end - * of the token inside str is stored in pos. - * The returned string is malloc()ed and must be - * freed using free(). - * Example: - * - * char *tok; - * char *p = "This is a test"; - * char *p_ptr = p; - * - * while (p_ptr != NULL) - * { - * tok = str_split_ (p_ptr, &p_ptr, 4); - * printf ("%s\n", tok); - * free (tok); - * }; - * - * @param str The string that should be tokenized, - * @param pos The end of the token inside str will be - * stored in pos, resp. NULL, if no occurnce - * of delim could be found. - * @param siz The siz of the tokens in bytes. - * - * @returns The token, which is dynamically malloc()ed, so it - * must be freed using free(). - */ -char * str_split_ (char * str, char ** pos, unsigned long siz); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/entries b/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/entries deleted file mode 100644 index df0868b..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/entries +++ /dev/null @@ -1,368 +0,0 @@ -10 - -dir -46 -svn://cuiz.me/cbenchmark/trunk/cbenchmark/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl -svn://cuiz.me - - - -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - -01675afb-4c4d-4bd7-85dd-1440927b3546 - -error.h -file - - - - -2011-06-28T07:31:19.000000Z -d471be5fbbfd8dafd80bd0cdcb3b746f -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -3031 - -alloc.h -file - - - - -2011-06-28T07:31:19.000000Z -7e3a4856b85289e8b8c580e1f0299607 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -3800 - -sslsocket.h -file - - - - -2011-06-28T07:31:19.000000Z -a3b1fddb70b8dbb941b405aaabc5bdba -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -7200 - -plugin.h -file - - - - -2011-06-28T07:31:19.000000Z -8808c73b4a5172edd97d8b55fb16654a -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -4985 - -i18n.h -file - - - - -2011-06-28T07:31:19.000000Z -0390b822da2ce0f610fb1711f19a20af -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -4269 - -log.h -file - - - - -2011-06-28T07:31:19.000000Z -54d61f76b9f46caa54dffa121cfde3e1 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2999 - -smtp.h -file - - - - -2011-06-28T07:31:19.000000Z -536d89fe138718d6eeddbc205bf17a70 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -10384 - -algorithm.h -file - - - - -2011-06-28T07:31:19.000000Z -8154447efc9d37cc83b80f20e2a76a41 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -7365 - -string.h -file - - - - -2011-06-28T07:31:19.000000Z -0f172b9487b1ee476c1269ffdebb59c1 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -6116 - -inetsocket.h -file - - - - -2011-06-28T07:31:19.000000Z -1adf525a0419cd205397259230d28c33 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -5063 - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/algorithm.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/algorithm.h.svn-base deleted file mode 100644 index 631a11d..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/algorithm.h.svn-base +++ /dev/null @@ -1,188 +0,0 @@ -/*********************************************************************** - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * algorithm.c provides some useful codec and cipher functions. * - * * - ***********************************************************************/ - -#ifndef __ALGORITHM_H__ -#define __ALGORITHM_H__ - -#include -#include -#include -#include -#include -#include -#include "error.h" -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * The available hash algorithms. - */ -enum HASH { H_MD2 = 1, H_MD4 = 2, H_MD5 = 3, H_SHA1 = 4 }; - -/** - * The available cipher algorithms. - */ -enum CIPHER { C_RC4 = 1, C_RC4_40 = 2, C_RC4_56 = 3, C_DES = 4, C_THREE_DES = 5 }; - -/** - * alg_hmac() calculates the keyed checksum. (rfc2104) - * digest must be big enough to hold the complete hash - * value (H_SHA1 == 20 bytes, all others 16 bytes). - * - * @param str The text that should be checksummed. - * @param str_len The length of str. - * @param key The key that should be used. - * @param key_len The length of key. - * @param digest The checksum that is calculated out of key - * and text will be stored at digest. digest - * needs to be at least 16/20 Bytes big. - * @param hash The algorithm that should be used. One of - * H_MD2, H_MD4, H_MD5 or H_SHA1. - */ -void alg_hmac (unsigned char * str, - unsigned int str_len, - unsigned char * key, - unsigned int key_len, - unsigned char * digest, - enum HASH hash); - -/** - * alg_chksum() calculates the md5 checksum of data, which is - * len bytes long and stores the resulting bytes in digest, - * which must be big enough to hold the resulting hash - * value (H_SHA1 == 20 bytes, all others 16 bytes). - * - * @param data The data that should be checksummed. - * @param len The length of data. - * @param digest The buffer the calculated checksum will be stored at. - * @param hash The algorithm that should be used. One of - * H_MD2, H_MD4, H_MD5 or H_SHA1. - */ -void alg_chksum (unsigned char * data, - unsigned int len, - unsigned char * digest, - enum HASH hash); - -/** - * alg_b64_encode() encodes orig_str with the base64 - * codec and stores the result at the address pointed - * to by enc_str. enc_str needs to be at least - * (strlen(orig_str)+(strlen(orig_str)/4)+4) bytes big. - * The number of bytes written to enc_str will be - * returned. - * - * @param orig_str The string that should be encoded. - * @param orig_len The size of orig_str in bytes. - * @param enc_str The resulting encoded string will be stored - * at the address pointed to by enc_str. - * - * @returns The number of bytes written to enc_str. - */ -int alg_b64_encode (char *orig_str, - unsigned int orig_len, - char *enc_str); - -/** - * alg_b64_decode() decodes enc_str with the base64 - * codec and stores the result at the address pointed - * to by orig_str. orig_str needs to be at least - * (strlen(enc_str)+(strlen(enc_str)/4)+4) bytes big. - * The number of bytes written to orig_str will be - * returned. - * - * @param enc_str The string that should be decoded. - * @param enc_len The size of enc_str in bytes. - * @param orig_str The resulting decoded string will be stored - * at the address pointed to by orig_str. - * - * @returns The number of bytes written to orig_str. - */ -int alg_b64_decode (char *enc_str, - unsigned int enc_len, - char *orig_str); - -/** - * alg_encrypt() encrypts data, which is data_len bytes big, - * using key as the key and iv as the iv and writes the - * resulting encrypted data block into buf, which is bufsiz big. - * buf needs to be at least (data_len+(2*EVP_MAX_IV_LENGTH)-1) - * bytes big. - * - * @param data The data that should be encrypted. - * @param data_len The size of data. - * @param key The key that should be used. - * @param iv The iv that should be used (if any). - * @param buf The buffer where the encrypted data should be - * written. - * @param bufsiz The size of buf, which needs to be at least - * (data_len+(2*EVP_MAX_IV_LENGTH)-1) bytes big. - * @param cipher The cipher that should be used. One of - * C_RC4, C_RC4_40, C_RC4_56, C_DES, C_THREE_DES. - * - * @returns The number of bytes that were written to buf. - */ -int alg_encrypt (unsigned char * data, - unsigned int data_len, - unsigned char * key, - unsigned char * iv, - unsigned char * buf, - unsigned int bufsiz, - enum CIPHER cipher); - -/** - * alg_decrypt() decrypts data, which is data_len bytes big, - * using key as the key and iv as the iv and writes the resulting - * decrypted data block into buf, which is bufsiz big. buf - * needs to be at least (2*(data_len+EVP_MAX_IV_LENGTH)-1) - * bytes big. - * - * @param data The data that should be decrypted. - * @param data_len The size of data. - * @param key The key that should be used. - * @param iv The iv that should be used (if any). - * @param buf The buffer where the decrypted data should be - * written. - * @param bufsiz The size of buf, which needs to be at least - * (2*(data_len+EVP_MAX_IV_LENGTH)-1) bytes big. - * @param cipher The cipher that should be used. One of - * C_RC4, C_RC4_40, C_RC4_56, C_DES, C_THREE_DES. - * - * @returns The number of bytes that were written to buf or -1 if - * some error occured. - */ -int alg_decrypt (unsigned char * data, - unsigned int data_len, - unsigned char * key, - unsigned char * iv, - unsigned char * buf, - unsigned int bufsiz, - enum CIPHER cipher); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/alloc.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/alloc.h.svn-base deleted file mode 100644 index ea3b20f..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/alloc.h.svn-base +++ /dev/null @@ -1,93 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * alloc.c provides wrapper functions around the alloc() family of * - * functions. Everytime memory is allocated an internal counter is * - * incremented, and everytime the memory is released the counter is * - * decremented. The score_() function returns the current counter value * - * and should return 0 before program exit, otherwise some memory leak * - * exists. * - * Each function will exit(1) if not enough memory is available. * - * * - * Note: These functions are used by libsmtp-- itself, and there is * - * memory allocated that will not be freed until the library is * - * uninitialized. That is when the fini_() function is called. If you * - * want to check whether you free_()d all allocated memory or not you * - * must set the LIBSMTP_VERBOSE environment variable. The last line * - * printed to stdout will be "SCORE: 0". If the score value is not 0, * - * some memory leak exists somewhere. * - * * - ************************************************************************/ - -#ifndef __ALLOC_H__ -#define __ALLOC_H__ - -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * A little malloc() wrapper. The allocated - * memory must be freed using the free_() function - * to keep the malloc() counter up2date. - */ -void * malloc_ (size_t len); - -/** - * A little realloc() wrapper. - */ -void * realloc_ (void * ptr, size_t len); - -/** - * A little free() wrapper. The last element - * of the variable length parameter must be NULL. - * - * @param ptr The malloc()ed memory that should be freed. - * @param ... A variable length parameter of malloc()ed - * memory pointers that should be freed. - */ -void free_ (void * ptr, ...); - -/** - * A little strdup() wrapper.The allocated - * memory must be freed using the free_() function - * to keep the malloc() counter up2date. - */ -char * strdup_ (const char * s); - -/** - * score_() returns the number of calls to - * malloc_()/strdup_() that are not yet - * free()d. - * - * @returns the number of calls to malloc_() that - * are not yet free()d. - */ -int score_ (); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/error.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/error.h.svn-base deleted file mode 100644 index 21e26e8..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/error.h.svn-base +++ /dev/null @@ -1,74 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * error.c provides functions to set, resp. query error messages. * - * * - ************************************************************************/ - -#ifndef __ERROR_H__ -#define __ERROR_H__ - -#include -#include -#include -#include "i18n.h" -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * err_set_error() sets the information about the last - * error that occured. This information can be retrieved - * later by the err_str_error() function and will be valid - * until the next call of err_set_error(). - * The string msg will be translated using the glibc gettext() - * function. Additionally the string can include special - * substitution characters, which will be substituted with the - * variable length parameter. - * - * All substitution parameters must be of type (char*). - * - * EG: "This is a test arg $0, and this is another one: $1" - * $0 will be substituted by params[0], $1 will be substituted - * by params[1], etc. - * - * For more information take a look at the i18n() function. - * - * @param msg The error message. - * @param ... The substitution parameters of type (char*). The - * last parameter needs to be NULL. - */ -void err_set_error (const char * textdomain, const char * msg, ...); - -/** - * err_str_error() returns an informative message about the last - * error that occured. The msg will already be localized. - * - * @returns The last error message (localized) that was set by - * err_set_error(). - */ -const char * err_str_error (); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/i18n.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/i18n.h.svn-base deleted file mode 100644 index 2ae5403..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/i18n.h.svn-base +++ /dev/null @@ -1,103 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * i18n.c provides functions for internationalization. Internally * - * the gettext() function is used, but the functionality is somewhat * - * extended. * - * * - ************************************************************************/ - -#ifndef __I18N_H__ -#define __I18N_H__ - -#include -#include -#include -#include "string.h" -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * i18n_init () must be called before the other methods - * can be used and one time for each different textdomain. - */ -void i18n_init (const char * textdomain, const char * locale_dir); - -/** - * i18n() translates the string msgid. - * The string msgid will be translated using the - * glibc gettext() function. Additionally the string - * can include special substitution characters, which - * will be substituted with the remaining elements of - * the va_list array. This function is meant to be used - * from within other functions that use a variable length - * parameter list like err_set_error() or i18n(). - * The msgid and the substitution characters should not - * exceed 4095 bytes. - * - * EG: "This is a test arg $0, and this is another one: $1" - * $0 will be substituted by msgid[1], $1 will be substituted - * by msgid[2], etc. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @param textdomain The textdomain that should be used. - * @param msgid The msgid that should be translated. - * @param ... The substitution parameters of type (char*) as - * a va_list array. - * - * @returns The translated string. - */ -char * i18n_va_list (const char * textdomain, const char * msgid, va_list ap); - -/** - * i18n() translates the string msgid. - * The string msgid will be translated using the - * glibc gettext() function. Additionally the string - * can include special substitution characters, which - * will be substituted with the variable length parameter. - * All substitution parameters must be of type char*. - * The msgid and the substitution characters should not be - * bigger than 4095 bytes. - * - * EG: "This is a test arg $0, and this is another one: $1" - * $0 will be substituted by params[0], $1 will be substituted - * by params[1], etc. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @param textdomain The textdomain that should be used. - * @param msgid The msgid that should be translated. - * @param ... The substitution parameters of type (char*). The - * last parameter needs to be NULL. - * - * @returns The translated string. - */ -char * i18n (const char * textdomain, const char * msgid, ...); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/inetsocket.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/inetsocket.h.svn-base deleted file mode 100644 index a7f53ab..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/inetsocket.h.svn-base +++ /dev/null @@ -1,144 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * inetsocket.c provides functions for TCP/IP socket connections. * - * * - ************************************************************************/ - -#ifndef __INETSOCKET_H__ -#define __INETSOCKET_H__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "error.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * This struct describes one connection - */ -typedef struct sck_socket_t -{ - char *host; - char *localhost; /* will be set by sck_connect () */ - int sockfd; /* will be set by sck_connect () */ - unsigned int port; - unsigned int timeout; -} sck_socket_t; - -/** - * sck_init() initializes the sck_socket_t struct sck and must - * be called once for each sck_socket_t object before the other - * functions can be used. When the sck_socket_t object is no longer - * needed it should be de-initialized with sck_cleanup() to free - * unneeded resources. - * - * @param sck The sck_socket_t object. - */ -void sck_init (sck_socket_t * sck); - -/** - * sck_cleanup() releases unneeded resources and must be called when - * the sck_socket_t object is no longer needed. sck must be initialized - * by sck_init() before, otherwise random errors may occur. - * - * @param sck The sck_socket_t object. - */ -void sck_cleanup (sck_socket_t * sck); - -/** - * sck_localhost() returns the name of the localhost or - * the string "localhost" if the name of the localhost - * cannot be determined for some reason. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @returns The name of the localhost. - */ -char * sck_localhost (); - -/** - * sck_connect() connects a socket to the specified - * host:port and sets the timeout value. The struct sck - * will be filled and is to be used with the other sck_* - * functions. - * - * @param sck The struct sck_socket_t that is to be filled. - * @param host The host that should be connected. - * @param port The port that the host is listening on. - * @param timeout The timeout value in seconds. - * - * @returns 0 on success and -1 on any error. - */ -int sck_connect (sck_socket_t * sck, - const char * host, - unsigned int port, - unsigned int timeout); - -/** - * sck_read() reads at most bufsiz bytes from the socket and - * returns the number of bytes that were actually read. - * - * @param sck The struct sck_socket_t that is to be filled. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int sck_read (sck_socket_t * sck, const char * buf, unsigned int bufsiz); - -/** - * sck_write() writes at most bufsiz bytes of buf to the socket and - * returns the number of bytes that were actually written to the socket. - * - * @param sck The struct sck_socket_t that is to be filled. - * @param buf The buffer that should be written to the socket. - * @param bufsiz The number of bytes that should be written to the socket. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int sck_write (sck_socket_t * sck, const char * buf, unsigned int bufsiz); - -/** - * sck_close() closes the socket sck. - * - * @param sck The socket that should be closed. - * - * @returns 0 on success and -1 on any error. - */ -int sck_close (sck_socket_t * sck); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/log.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/log.h.svn-base deleted file mode 100644 index ddd1882..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/log.h.svn-base +++ /dev/null @@ -1,79 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * log.c provides some logging functionality. * - * * - ************************************************************************/ - -#ifndef __LOG_H__ -#define __LOG_H__ - -#include -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * The verbosity levels. - */ -typedef enum verbosity_t { LOG_LVL_QUIET = 1, LOG_LVL_ERROR = 2, - LOG_LVL_NORMAL = 3, LOG_LVL_VERBOSE = 4, - LOG_LVL_VVERBOSE = 5 } verbosity_t; - -/** - * The prototype for the callback function. - * - * @param msg The log message. - * @param lvl The verbosity level. - */ -typedef void log_callback_t (const char * msg, verbosity_t lvl); - -/** - * log_init() must be called to set the callback - * funtion. The callback funtion will be called - * for each log message that was logged using - * log(). - * - * @param callback The callback function. - */ -void log_init (log_callback_t * callback); - -/** - * log() logs the message msg with the verbosity - * level lvl. If log_init was called before, the - * callback function will be called. Otherwise - * nothing will happen. - * Any trailing newline character will be removed - * before the callback function is called. - * - * @param msg The log message. - * @param lvl The verbosity level. One of - * LOG_LVL_QUIET, LOG_LVL_ERROR, - * LOG_LVL_NORMAL, LOG_LVL_VERBOSE or - * LOG_LVL_VVERBOSE. - */ -void log (const char * msg, verbosity_t lvl); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/plugin.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/plugin.h.svn-base deleted file mode 100644 index b0a24a5..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/plugin.h.svn-base +++ /dev/null @@ -1,159 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * plugin.c implements the libsmtp-- plugin specification. * - * * - ************************************************************************/ - -#ifndef __PLUGIN_H__ -#define __PLUGIN_H__ - -#include -#include -#include "smtp.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/* forward declaration */ -struct smtp_srv_t; - -/** - * The prototype for the plg_authenticate() function that must - * be implemented by the plugin. - * - * @param srv The SMTP server object. - * - * @returns 0 on success and -1 on any error. - */ -typedef int plg_authenticate_t (struct smtp_srv_t * srv); - -/** - * The prototype for the plg_read() function that must - * be implemented by the plugin. - * - * @param srv The SMTP server object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -typedef int plg_read_t (struct smtp_srv_t * srv, - const char * buf, - unsigned int bufsiz); - -/** - * The prototype for the plg_write() function that must - * be implemented by the plugin. - * - * @param srv The SMTP server object. - * @param buf The buffer that should be written to the socket. - * @param bufsiz The number of bytes that should be written to the socket. - * - * @returns The number of bytes actually written or -1 if an error - * occured. - */ -typedef int plg_write_t (struct smtp_srv_t * srv, - const char * buf, - unsigned int bufsiz); - -/** - * The prototype for the plg_init() function that must - * be implemented by the plugin. - */ -typedef void plg_init_t (); - -/** - * The prototype for the plg_cleanup() function that must - * be implemented by the plugin. - */ -typedef void plg_cleanup_t (); - -/** - * plugin_t holds all information about one - * plugin object. - */ -typedef struct plugin_t -{ - plg_init_t *plg_init; - plg_cleanup_t *plg_cleanup; - plg_authenticate_t *plg_authenticate; - plg_read_t *plg_read; - plg_write_t *plg_write; - char *PATH; - char *NAME; - char *SASL; - char *COMMENT; - unsigned char WEIGHT; - void *handle; -} plugin_t; - -/** - * plg_plugins() returns the array of available plugins. The - * last element of this array is NULL. - * - * @returns The available plugins in form of a NULL terminated - * array. - */ -plugin_t ** plg_plugins (); - -/** - * plg_load_plugin() tries to load the plugin at path and - * adds the plugin to the array of available plugins if - * plg_load_plugin() was successfull. - * - * @param path The path to the plugin. - * - * @returns 0 on success and -1 on any error. - */ -int plg_load_plugin (const char * path); - -/** - * plg_load_plugins() tries to load all plugins with the - * extension "*.so" from the directory pointed to by - * path. - * - * @param path The directory where the plugins are located. - * - * @returns 0 on success and -1 on any error. - */ -int plg_load_plugins (const char * path); - -/** - * plg_remove_plugin() removes the plugins with - * plg->NAME == NAME. - * - * @param NAME The plugin that should be removed. - * - * @returns 0 on success and -1 on any error. - */ -int plg_remove_plugin (const char * NAME); - -/** - * plg_remove_plugins() removes all available plugins. - */ -void plg_remove_plugins (); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/smtp.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/smtp.h.svn-base deleted file mode 100644 index abee52a..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/smtp.h.svn-base +++ /dev/null @@ -1,289 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * smtp.c implements the SMTP protocol specification. * - * * - ************************************************************************/ - -#ifndef __SMTP_H__ -#define __SMTP_H__ - -#include "alloc.h" -#include "error.h" -#include "log.h" -#include "plugin.h" -#include "sslsocket.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * The SSL specification. - */ -typedef enum ssl_type_t { STARTTLS, SMTPS, NO_SSL } ssl_type_t; - -/** - * This struct describes the SMTP session. - */ -typedef struct smtp_srv_t -{ - char *domain; - char *from; - char *server; - char *username; - char *password; - char *realm; - char *SASL; - struct plugin_t *plg; - unsigned int timeout; - unsigned int port; - int first_part; /* for smtp_send_big_msg() */ - ssl_socket_t sck; - ssl_type_t ssl_type; -} smtp_srv_t; - -/** - * smtp_write() sends data to the SMTP server. All lines - * ending in not preceeded by will be converted - * to as . - * - * @param srv The smtp_srv_t object. - * @param data The data that should be send. - * @param siz The size of data in bytes. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_write (smtp_srv_t * srv, const char * data, int siz); - -/** - * smtp_read_() reads one line from the SMTP server, - * which must be already connected. Any trailing '\r' - * will be removed if present. The resulting string is - * malloc()ed and must be freed using free(). - * - * @param srv The SMTP server object. - * - * @returns A pointer to the resulting string or NULL - * if smtp_read_() failed. The string will be NULL - * terminated. - */ -char * smtp_read_ (smtp_srv_t * srv); - -/** - * smtp_read_response_() reads the response from the SMTP server. - * The resulting string is malloc()ed and must be freed using - * free(). - * - * @param srv The SMTP server object. - * @param is_221_fatal Must be 1 if the SMTP reply code 221 is - * considered to be fatal, otherwise 0. - * - * @returns A pointer to the resulting string or NULL - * if smtp_read_response_() failed or a protocol error - * occured. The string will be NULL terminated. - */ -char * smtp_read_response_ (smtp_srv_t * srv, int is_221_fatal); - -/** - * smtp_init() initializes the smtp_srv_t struct srv and must - * be called once for each smtp_srv_t object before the other - * functions can be used. When the smtp_srv_t object is no longer - * needed it should be de-initialized with smtp_cleanup() to free - * unneeded resources. - * - * @param srv The smtp_srv_t object. - * @param domain The domain that should be used when sending the HELO cmd. - * @param from The envelope from address. - * @param server The host of the SMTP server. - * @param port The port the SMTP server is listening on. - * @param timeout Socket timout value in seconds. - */ -void smtp_init (smtp_srv_t * srv, - const char * domain, - const char * from, - const char * server, - unsigned int port, - unsigned int timeout); - -/** - * smtp_cleanup() releases unneeded resources and must be called when - * the smtp_srv_t object is no longer needed. srv must be initialized - * by smtp_init() before, otherwise random errors may occur. - * - * @param srv The smtp_srv_t object. - */ -void smtp_cleanup (smtp_srv_t * srv); - -/** - * smtp_connect() connects to the smtp_srv_t object. - * - * @param srv The SMTP server object. - * - * @returns 0 on success and -1 on failure. - */ -int smtp_connect (smtp_srv_t * srv); - -/** - * smtp_close() closes the connection to the SMTP server. - * - * @param srv The smtp_srv_t object that should be closed. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_close (smtp_srv_t * srv); - -/** - * smtp_send_msg() sends msg to all recipients in - * the array rcpts. The last element of rcpts must be - * NULL. The msg will be converted into dos format, - * conforming to rfc0821. - * - * @param srv The smtp_srv_t object that should be used. - * @param msg The msg that should be send. - * @param rcpts The list of recipients. The last element - * this array must be NULL. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_send_msg (smtp_srv_t * srv, const char * msg, char ** rcpts); - -/** - * smtp_send_big_msg() can be used instead of smtp_send_msg() if - * you send very big msgs. The memory allocated by smtp_send_msg() - * is up to 3 * strlen (message), which can be very much if you - * consider people sending files that are 50MB big or even more via - * email. Using smtp_send_big_msg() the memory allocated will be only - * 3 * strlen (part_message). The last element of rcpts must be NULL. - * The msg will be converted into dos format, conforming to rfc0821. - * - * Example: - * - * char *msg_1 = "To: bouncer@test.smtp.org\n" - * "Subject: test\n" - * "\n" - * "part 1\n"; - * - * char *msg_2 = "\npart 2\n"; - * - * char *msg_3 = "\npart 3\n"; - * - * if (smtp_send_big_msg (&srv, msg_1, rcpts, 0) == -1) - * { - * puts (err_str_error ()); - * smtp_cleanup (&srv); - * exit (1); - * } - * - * if (smtp_send_big_msg (&srv, msg_3, rcpts, 0) == -1) - * { - * puts (err_str_error ()); - * smtp_cleanup (&srv); - * exit (1); - * } - * - * if (smtp_send_big_msg (&srv, msg_3, rcpts, 1) == -1) - * { - * puts (err_str_error ()); - * smtp_cleanup (&srv); - * exit (1); - * } - * - * @param srv The smtp_srv_t object that should be used. - * @param msg The msg that should be send. - * @param rcpts The list of recipients. The last element - * this array must be NULL. - * @param last If msg is the last segment of the msg, last must - * be 1, otherwise 0. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_send_big_msg (smtp_srv_t * srv, - const char * msg, - char ** rcpts, - int last); - -/** - * smtp_set_credentials() sets the credentials that should be - * used for authentication. - * - * @param srv The smtp_srv_t object that should be used. - * @param sasl The SASL mechanism that should be used. - * If sasl == "AUTO" the securest mechanism that - * we have in common with the server will be - * determined automagically. - * @param username The username. - * @param password The password. - * @param realm The realm. - */ -void smtp_set_credentials (smtp_srv_t * srv, - const char * sasl, - const char * username, - const char * password, - const char * realm); - -/** - * smtp_ssl_opts() sets some SSL specific options. - * - * @param srv The smtp_srv_t object that should be used. - * @param ssl_type The ssl protocol flavor that should be used. - * @param opts The SSL verification level. - * @param ca_file A file that contains PEM certificates. Must - * be "" if opts == VERIFY_NONE. - * The file can contain several CA certificates - * identified by - * - * -----BEGIN CERTIFICATE----- - * - * ... [CA certificate in base64 encoding] ... - * - * -----END CERTIFICATE----- - * - * sequences. Before, between, and after the - * certificates text is allowed which - * can be used e.g. for descriptions of the - * certificates. - * - * Take a look in the openssl documentation to - * get more infos on that topic. - * @param ca_dir A directory that contains PEM certificates. Must - * be "" if opts == VERIFY_NONE. - * The files each contain one CA certificate. The files - * are looked up by the CA subject name hash value, which - * must hence be available. If more than one CA certificate - * with the same name hash value exist, the extension must be - * different (e.g. 9d66eef0.0, 9d66eef0.1 etc). The search - * is performed in the ordering of the extension number, - * regardless of other properties of the certificates. - * Use the c_rehash utility to create the necessary links. - * - * Take a look in the openssl documentation to - * get more infos on that topic. - */ -void smtp_ssl_opts (smtp_srv_t * srv, - ssl_type_t ssl_type, - ssl_opts_t opts, - const char * ca_file, - const char * ca_dir); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/sslsocket.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/sslsocket.h.svn-base deleted file mode 100644 index ecddad3..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/sslsocket.h.svn-base +++ /dev/null @@ -1,204 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * sslsocket.c provides ssl support for TCP/IP sockets. * - * * - ************************************************************************/ - -#ifndef __SSLSOCKET_H__ -#define __SSLSOCKET_H__ - -#include -#include -#include -#include -#include -#include "inetsocket.h" -#include "log.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * The SSL verification level. - */ -typedef enum ssl_opts_t -{ - VERIFY_PEER = SSL_VERIFY_PEER, - VERIFY_NONE = SSL_VERIFY_NONE -} ssl_opts_t; - -/** - * The SSL socket. - */ -typedef struct ssl_socket_t -{ - SSL *ssl; - SSL_CTX *ctx; - ssl_opts_t opts; - int negotiated; - char *ca_file; - char *ca_dir; - unsigned int timeout; - sck_socket_t sck; -} ssl_socket_t; - - -/** - * ssl_init() initializes the ssl_socket_t and must - * be called once for each ssl_socket_t object before the other - * functions can be used. When the ssl_socket_t object is no longer - * needed it should be de-initialized with ssl_cleanup() to free - * unneeded resources. - * - * @param ssl The ssl_socket_t object. - */ -void ssl_init (ssl_socket_t * ssl); - -/** - * ssl_cleanup() releases unneeded resources and must be called when - * the ssl_socket_t object is no longer needed. ssl must be initialized - * by ssl_init() before, otherwise random errors may occur. - * - * @param ssl The ssl_socket_t object. - */ -void ssl_cleanup (ssl_socket_t * ssl); - -/** - * ssl_read() reads at most bufsiz bytes from the socket and - * returns the number of bytes that were actually read. - * - * @param ssl The ssl_socket_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int ssl_read (ssl_socket_t * ssl, const char * buf, unsigned int bufsiz); - -/** - * ssl_write() writes at most bufsiz bytes of buf to the socket and - * returns the number of bytes that were actually written to the socket. - * - * @param ssl The ssl_socket_t object. - * @param buf The buffer that should be written to the socket. - * @param bufsiz The number of bytes that should be written to the socket. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int ssl_write (ssl_socket_t * ssl, const char * buf, unsigned int bufsiz); - -/** - * ssl_negotiate() starts the SSL handshake. - * - * @param ssl The ssl_socket_t object. - * - * @returns -1 on an error, otherwise 0. - */ -int ssl_negotiate (ssl_socket_t * ssl); - -/** - * Set some SSL specific options. - * - * @param ssl The ssl_socket_t object. - * @param opts The SSL verification level. - * @param ca_file A file that contains PEM certificates. Must - * be "" if opts == VERIFY_NONE. - * The file can contain several CA certificates - * identified by - * - * -----BEGIN CERTIFICATE----- - * - * ... [CA certificate in base64 encoding] ... - * - * -----END CERTIFICATE----- - * - * sequences. Before, between, and after the - * certificates text is allowed which - * can be used e.g. for descriptions of the - * certificates. - * - * Take a look in the openssl documentation to - * get more infos on that topic. - * @param ca_dir A directory that contains PEM certificates. Must - * be "" if opts == VERIFY_NONE. - * The files each contain one CA certificate. The files - * are looked up by the CA subject name hash value, which - * must hence be available. If more than one CA certificate - * with the same name hash value exist, the extension must be - * different (e.g. 9d66eef0.0, 9d66eef0.1 etc). The search - * is performed in the ordering of the extension number, - * regardless of other properties of the certificates. - * Use the c_rehash utility to create the necessary links. - * - * Take a look in the openssl documentation to - * get more infos on that topic. - */ -void ssl_set_opts (ssl_socket_t * ssl, - ssl_opts_t opts, - const char * ca_file, - const char * ca_dir); - -/** - * ssl_localhost() returns the name of the localhost or - * the string "localhost" if the name of the localhost - * cannot be determined for some reason. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @returns The name of the localhost. - */ -char * ssl_localhost (); - -/** - * ssl_connect() connects a socket to the specified - * host:port and sets the timeout value. The struct ssl - * will be filled and is to be used with the other ssl_* - * functions. - * - * @param ssl The struct ssl_socket_t that is to be filled. - * @param host The host that should be connected. - * @param port The port that the host is listening on. - * @param timeout The timeout value in seconds. - * - * @returns 0 on success and -1 on any error. - */ -int ssl_connect (ssl_socket_t * ssl, - const char * host, - unsigned int port, - unsigned int timeout); - -/** - * ssl_close() closes the socket ssl. - * - * @param ssl The socket that should be closed. - * - * @returns 0 on success and -1 on any error. - */ -int ssl_close (ssl_socket_t * ssl); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/string.h.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/string.h.svn-base deleted file mode 100644 index fcd0f38..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/.svn/text-base/string.h.svn-base +++ /dev/null @@ -1,183 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * string.c provides some useful functions for string manipulations. * - * * - ************************************************************************/ - -#ifndef __STRING_H__ -#define __STRING_H__ - -#include -#include -#include -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * str_hexify() converts all bytes in src into their hexadecimal - * representation. The resulting string will be stored in dst. - * dst must be 2*strlen (src)+1 bytes big. - * - * @param dst This is the place where the hexified string - * will be stored. - * @param src The string that should be hexified. - * @param src_len The size of str in bytes. - * - * @returns A pointer to the resulting string. - */ -char * str_hexify (char * dst, char * src, unsigned int src_len); - -/** - * str_replace() replaces the first occurence of needle - * in the string src with the string subst. If no occurence - * of needle could be found in src, NULL is returned, otherwise - * the starting index of needle inside src. src needs to be - * big enough to store the resulting string. - * - * @param src The string that should be modified. - * @param needle The pattern that should be replaced. - * @param subst The pattern that should be used for - * replacing. - * - * @returns NULL if no occurence of needle could be found - * in src, otherwise the starting idx of needle inside src. - */ -char * str_replace (char * src, char * needle, char * subst); - -/** - * str_tolower() converts str into lower case characters. - * - * @param str The string that should be converted to lower - * case. - * @param len The len of str in bytes. - * - * @returns The pointer to str. - */ -char * str_tolower (char * str, int len); - -/** - * str_toupper() converts str into upper case characters. - * - * @param str The string that should be converted to upper - * case. - * @param len The len of str in bytes. - * - * @returns The pointer to str. - */ -char * str_toupper (char * str, int len); - -/** - * str_crop() removes all occurences of delim from - * the beginning/end of str. - * - * " this is a test string " - * => "this is a test string" - * - * @param str The string that should be trimmed. - * @param delim The delimiting string. - * - * @returns A pointer to the resulting string. - */ -char * str_crop (char * str, char * delim); - -/** - * str_trim() removes all occurences of delim from - * the beginning/end of str and replaces multiple - * occurences of delim inside str with a single one. - * " this is a test string" - * => "this is a test string" - * - * @param str The string that should be trimmed. - * @param delim The delimiting string. - * - * @returns A pointer to the resulting string. - */ -char * str_trim (char * str, char * delim); - -/** - * str_tok_() searches for the next occurence of - * delim inside str and returns that substring. The - * returned substring is NULL terminated and the end - * of the token inside str is stored in pos. - * The returned string is malloc()ed and must be - * freed using free(). - * Example: - * - * char *tok; - * char *p = "This\nis\na\test"; - * char *p_ptr = p; - * - * while (p_ptr != NULL) - * { - * tok = str_tok_ (p_ptr, &p_ptr, "\n"); - * printf ("%s\n", tok); - * free (tok); - * }; - * - * @param str The string that should be tokenized, - * @param pos The end of the token inside str will be - * stored in pos, resp. NULL, if no occurnce - * of delim could be found. - * @param delim The pattern that should be used as a - * delimiter. - * - * @returns The token, which is dynamically malloc()ed, so it - * must be freed using free(). - */ -char * str_tok_ (char * str, char ** pos, char * delim); - -/** - * str_split_() splits str in tokens of siz bytes. The - * returned tokens are NULL terminated and the end - * of the token inside str is stored in pos. - * The returned string is malloc()ed and must be - * freed using free(). - * Example: - * - * char *tok; - * char *p = "This is a test"; - * char *p_ptr = p; - * - * while (p_ptr != NULL) - * { - * tok = str_split_ (p_ptr, &p_ptr, 4); - * printf ("%s\n", tok); - * free (tok); - * }; - * - * @param str The string that should be tokenized, - * @param pos The end of the token inside str will be - * stored in pos, resp. NULL, if no occurnce - * of delim could be found. - * @param siz The siz of the tokens in bytes. - * - * @returns The token, which is dynamically malloc()ed, so it - * must be freed using free(). - */ -char * str_split_ (char * str, char ** pos, unsigned long siz); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/algorithm.h b/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/algorithm.h deleted file mode 100644 index 631a11d..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/algorithm.h +++ /dev/null @@ -1,188 +0,0 @@ -/*********************************************************************** - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * algorithm.c provides some useful codec and cipher functions. * - * * - ***********************************************************************/ - -#ifndef __ALGORITHM_H__ -#define __ALGORITHM_H__ - -#include -#include -#include -#include -#include -#include -#include "error.h" -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * The available hash algorithms. - */ -enum HASH { H_MD2 = 1, H_MD4 = 2, H_MD5 = 3, H_SHA1 = 4 }; - -/** - * The available cipher algorithms. - */ -enum CIPHER { C_RC4 = 1, C_RC4_40 = 2, C_RC4_56 = 3, C_DES = 4, C_THREE_DES = 5 }; - -/** - * alg_hmac() calculates the keyed checksum. (rfc2104) - * digest must be big enough to hold the complete hash - * value (H_SHA1 == 20 bytes, all others 16 bytes). - * - * @param str The text that should be checksummed. - * @param str_len The length of str. - * @param key The key that should be used. - * @param key_len The length of key. - * @param digest The checksum that is calculated out of key - * and text will be stored at digest. digest - * needs to be at least 16/20 Bytes big. - * @param hash The algorithm that should be used. One of - * H_MD2, H_MD4, H_MD5 or H_SHA1. - */ -void alg_hmac (unsigned char * str, - unsigned int str_len, - unsigned char * key, - unsigned int key_len, - unsigned char * digest, - enum HASH hash); - -/** - * alg_chksum() calculates the md5 checksum of data, which is - * len bytes long and stores the resulting bytes in digest, - * which must be big enough to hold the resulting hash - * value (H_SHA1 == 20 bytes, all others 16 bytes). - * - * @param data The data that should be checksummed. - * @param len The length of data. - * @param digest The buffer the calculated checksum will be stored at. - * @param hash The algorithm that should be used. One of - * H_MD2, H_MD4, H_MD5 or H_SHA1. - */ -void alg_chksum (unsigned char * data, - unsigned int len, - unsigned char * digest, - enum HASH hash); - -/** - * alg_b64_encode() encodes orig_str with the base64 - * codec and stores the result at the address pointed - * to by enc_str. enc_str needs to be at least - * (strlen(orig_str)+(strlen(orig_str)/4)+4) bytes big. - * The number of bytes written to enc_str will be - * returned. - * - * @param orig_str The string that should be encoded. - * @param orig_len The size of orig_str in bytes. - * @param enc_str The resulting encoded string will be stored - * at the address pointed to by enc_str. - * - * @returns The number of bytes written to enc_str. - */ -int alg_b64_encode (char *orig_str, - unsigned int orig_len, - char *enc_str); - -/** - * alg_b64_decode() decodes enc_str with the base64 - * codec and stores the result at the address pointed - * to by orig_str. orig_str needs to be at least - * (strlen(enc_str)+(strlen(enc_str)/4)+4) bytes big. - * The number of bytes written to orig_str will be - * returned. - * - * @param enc_str The string that should be decoded. - * @param enc_len The size of enc_str in bytes. - * @param orig_str The resulting decoded string will be stored - * at the address pointed to by orig_str. - * - * @returns The number of bytes written to orig_str. - */ -int alg_b64_decode (char *enc_str, - unsigned int enc_len, - char *orig_str); - -/** - * alg_encrypt() encrypts data, which is data_len bytes big, - * using key as the key and iv as the iv and writes the - * resulting encrypted data block into buf, which is bufsiz big. - * buf needs to be at least (data_len+(2*EVP_MAX_IV_LENGTH)-1) - * bytes big. - * - * @param data The data that should be encrypted. - * @param data_len The size of data. - * @param key The key that should be used. - * @param iv The iv that should be used (if any). - * @param buf The buffer where the encrypted data should be - * written. - * @param bufsiz The size of buf, which needs to be at least - * (data_len+(2*EVP_MAX_IV_LENGTH)-1) bytes big. - * @param cipher The cipher that should be used. One of - * C_RC4, C_RC4_40, C_RC4_56, C_DES, C_THREE_DES. - * - * @returns The number of bytes that were written to buf. - */ -int alg_encrypt (unsigned char * data, - unsigned int data_len, - unsigned char * key, - unsigned char * iv, - unsigned char * buf, - unsigned int bufsiz, - enum CIPHER cipher); - -/** - * alg_decrypt() decrypts data, which is data_len bytes big, - * using key as the key and iv as the iv and writes the resulting - * decrypted data block into buf, which is bufsiz big. buf - * needs to be at least (2*(data_len+EVP_MAX_IV_LENGTH)-1) - * bytes big. - * - * @param data The data that should be decrypted. - * @param data_len The size of data. - * @param key The key that should be used. - * @param iv The iv that should be used (if any). - * @param buf The buffer where the decrypted data should be - * written. - * @param bufsiz The size of buf, which needs to be at least - * (2*(data_len+EVP_MAX_IV_LENGTH)-1) bytes big. - * @param cipher The cipher that should be used. One of - * C_RC4, C_RC4_40, C_RC4_56, C_DES, C_THREE_DES. - * - * @returns The number of bytes that were written to buf or -1 if - * some error occured. - */ -int alg_decrypt (unsigned char * data, - unsigned int data_len, - unsigned char * key, - unsigned char * iv, - unsigned char * buf, - unsigned int bufsiz, - enum CIPHER cipher); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/alloc.h b/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/alloc.h deleted file mode 100644 index ea3b20f..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/alloc.h +++ /dev/null @@ -1,93 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * alloc.c provides wrapper functions around the alloc() family of * - * functions. Everytime memory is allocated an internal counter is * - * incremented, and everytime the memory is released the counter is * - * decremented. The score_() function returns the current counter value * - * and should return 0 before program exit, otherwise some memory leak * - * exists. * - * Each function will exit(1) if not enough memory is available. * - * * - * Note: These functions are used by libsmtp-- itself, and there is * - * memory allocated that will not be freed until the library is * - * uninitialized. That is when the fini_() function is called. If you * - * want to check whether you free_()d all allocated memory or not you * - * must set the LIBSMTP_VERBOSE environment variable. The last line * - * printed to stdout will be "SCORE: 0". If the score value is not 0, * - * some memory leak exists somewhere. * - * * - ************************************************************************/ - -#ifndef __ALLOC_H__ -#define __ALLOC_H__ - -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * A little malloc() wrapper. The allocated - * memory must be freed using the free_() function - * to keep the malloc() counter up2date. - */ -void * malloc_ (size_t len); - -/** - * A little realloc() wrapper. - */ -void * realloc_ (void * ptr, size_t len); - -/** - * A little free() wrapper. The last element - * of the variable length parameter must be NULL. - * - * @param ptr The malloc()ed memory that should be freed. - * @param ... A variable length parameter of malloc()ed - * memory pointers that should be freed. - */ -void free_ (void * ptr, ...); - -/** - * A little strdup() wrapper.The allocated - * memory must be freed using the free_() function - * to keep the malloc() counter up2date. - */ -char * strdup_ (const char * s); - -/** - * score_() returns the number of calls to - * malloc_()/strdup_() that are not yet - * free()d. - * - * @returns the number of calls to malloc_() that - * are not yet free()d. - */ -int score_ (); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/error.h b/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/error.h deleted file mode 100644 index 21e26e8..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/error.h +++ /dev/null @@ -1,74 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * error.c provides functions to set, resp. query error messages. * - * * - ************************************************************************/ - -#ifndef __ERROR_H__ -#define __ERROR_H__ - -#include -#include -#include -#include "i18n.h" -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * err_set_error() sets the information about the last - * error that occured. This information can be retrieved - * later by the err_str_error() function and will be valid - * until the next call of err_set_error(). - * The string msg will be translated using the glibc gettext() - * function. Additionally the string can include special - * substitution characters, which will be substituted with the - * variable length parameter. - * - * All substitution parameters must be of type (char*). - * - * EG: "This is a test arg $0, and this is another one: $1" - * $0 will be substituted by params[0], $1 will be substituted - * by params[1], etc. - * - * For more information take a look at the i18n() function. - * - * @param msg The error message. - * @param ... The substitution parameters of type (char*). The - * last parameter needs to be NULL. - */ -void err_set_error (const char * textdomain, const char * msg, ...); - -/** - * err_str_error() returns an informative message about the last - * error that occured. The msg will already be localized. - * - * @returns The last error message (localized) that was set by - * err_set_error(). - */ -const char * err_str_error (); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/i18n.h b/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/i18n.h deleted file mode 100644 index 2ae5403..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/i18n.h +++ /dev/null @@ -1,103 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * i18n.c provides functions for internationalization. Internally * - * the gettext() function is used, but the functionality is somewhat * - * extended. * - * * - ************************************************************************/ - -#ifndef __I18N_H__ -#define __I18N_H__ - -#include -#include -#include -#include "string.h" -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * i18n_init () must be called before the other methods - * can be used and one time for each different textdomain. - */ -void i18n_init (const char * textdomain, const char * locale_dir); - -/** - * i18n() translates the string msgid. - * The string msgid will be translated using the - * glibc gettext() function. Additionally the string - * can include special substitution characters, which - * will be substituted with the remaining elements of - * the va_list array. This function is meant to be used - * from within other functions that use a variable length - * parameter list like err_set_error() or i18n(). - * The msgid and the substitution characters should not - * exceed 4095 bytes. - * - * EG: "This is a test arg $0, and this is another one: $1" - * $0 will be substituted by msgid[1], $1 will be substituted - * by msgid[2], etc. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @param textdomain The textdomain that should be used. - * @param msgid The msgid that should be translated. - * @param ... The substitution parameters of type (char*) as - * a va_list array. - * - * @returns The translated string. - */ -char * i18n_va_list (const char * textdomain, const char * msgid, va_list ap); - -/** - * i18n() translates the string msgid. - * The string msgid will be translated using the - * glibc gettext() function. Additionally the string - * can include special substitution characters, which - * will be substituted with the variable length parameter. - * All substitution parameters must be of type char*. - * The msgid and the substitution characters should not be - * bigger than 4095 bytes. - * - * EG: "This is a test arg $0, and this is another one: $1" - * $0 will be substituted by params[0], $1 will be substituted - * by params[1], etc. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @param textdomain The textdomain that should be used. - * @param msgid The msgid that should be translated. - * @param ... The substitution parameters of type (char*). The - * last parameter needs to be NULL. - * - * @returns The translated string. - */ -char * i18n (const char * textdomain, const char * msgid, ...); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/inetsocket.h b/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/inetsocket.h deleted file mode 100644 index a7f53ab..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/inetsocket.h +++ /dev/null @@ -1,144 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * inetsocket.c provides functions for TCP/IP socket connections. * - * * - ************************************************************************/ - -#ifndef __INETSOCKET_H__ -#define __INETSOCKET_H__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "error.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * This struct describes one connection - */ -typedef struct sck_socket_t -{ - char *host; - char *localhost; /* will be set by sck_connect () */ - int sockfd; /* will be set by sck_connect () */ - unsigned int port; - unsigned int timeout; -} sck_socket_t; - -/** - * sck_init() initializes the sck_socket_t struct sck and must - * be called once for each sck_socket_t object before the other - * functions can be used. When the sck_socket_t object is no longer - * needed it should be de-initialized with sck_cleanup() to free - * unneeded resources. - * - * @param sck The sck_socket_t object. - */ -void sck_init (sck_socket_t * sck); - -/** - * sck_cleanup() releases unneeded resources and must be called when - * the sck_socket_t object is no longer needed. sck must be initialized - * by sck_init() before, otherwise random errors may occur. - * - * @param sck The sck_socket_t object. - */ -void sck_cleanup (sck_socket_t * sck); - -/** - * sck_localhost() returns the name of the localhost or - * the string "localhost" if the name of the localhost - * cannot be determined for some reason. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @returns The name of the localhost. - */ -char * sck_localhost (); - -/** - * sck_connect() connects a socket to the specified - * host:port and sets the timeout value. The struct sck - * will be filled and is to be used with the other sck_* - * functions. - * - * @param sck The struct sck_socket_t that is to be filled. - * @param host The host that should be connected. - * @param port The port that the host is listening on. - * @param timeout The timeout value in seconds. - * - * @returns 0 on success and -1 on any error. - */ -int sck_connect (sck_socket_t * sck, - const char * host, - unsigned int port, - unsigned int timeout); - -/** - * sck_read() reads at most bufsiz bytes from the socket and - * returns the number of bytes that were actually read. - * - * @param sck The struct sck_socket_t that is to be filled. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int sck_read (sck_socket_t * sck, const char * buf, unsigned int bufsiz); - -/** - * sck_write() writes at most bufsiz bytes of buf to the socket and - * returns the number of bytes that were actually written to the socket. - * - * @param sck The struct sck_socket_t that is to be filled. - * @param buf The buffer that should be written to the socket. - * @param bufsiz The number of bytes that should be written to the socket. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int sck_write (sck_socket_t * sck, const char * buf, unsigned int bufsiz); - -/** - * sck_close() closes the socket sck. - * - * @param sck The socket that should be closed. - * - * @returns 0 on success and -1 on any error. - */ -int sck_close (sck_socket_t * sck); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/log.h b/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/log.h deleted file mode 100644 index ddd1882..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/log.h +++ /dev/null @@ -1,79 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * log.c provides some logging functionality. * - * * - ************************************************************************/ - -#ifndef __LOG_H__ -#define __LOG_H__ - -#include -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * The verbosity levels. - */ -typedef enum verbosity_t { LOG_LVL_QUIET = 1, LOG_LVL_ERROR = 2, - LOG_LVL_NORMAL = 3, LOG_LVL_VERBOSE = 4, - LOG_LVL_VVERBOSE = 5 } verbosity_t; - -/** - * The prototype for the callback function. - * - * @param msg The log message. - * @param lvl The verbosity level. - */ -typedef void log_callback_t (const char * msg, verbosity_t lvl); - -/** - * log_init() must be called to set the callback - * funtion. The callback funtion will be called - * for each log message that was logged using - * log(). - * - * @param callback The callback function. - */ -void log_init (log_callback_t * callback); - -/** - * log() logs the message msg with the verbosity - * level lvl. If log_init was called before, the - * callback function will be called. Otherwise - * nothing will happen. - * Any trailing newline character will be removed - * before the callback function is called. - * - * @param msg The log message. - * @param lvl The verbosity level. One of - * LOG_LVL_QUIET, LOG_LVL_ERROR, - * LOG_LVL_NORMAL, LOG_LVL_VERBOSE or - * LOG_LVL_VVERBOSE. - */ -void log (const char * msg, verbosity_t lvl); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/plugin.h b/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/plugin.h deleted file mode 100644 index b0a24a5..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/plugin.h +++ /dev/null @@ -1,159 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * plugin.c implements the libsmtp-- plugin specification. * - * * - ************************************************************************/ - -#ifndef __PLUGIN_H__ -#define __PLUGIN_H__ - -#include -#include -#include "smtp.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/* forward declaration */ -struct smtp_srv_t; - -/** - * The prototype for the plg_authenticate() function that must - * be implemented by the plugin. - * - * @param srv The SMTP server object. - * - * @returns 0 on success and -1 on any error. - */ -typedef int plg_authenticate_t (struct smtp_srv_t * srv); - -/** - * The prototype for the plg_read() function that must - * be implemented by the plugin. - * - * @param srv The SMTP server object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -typedef int plg_read_t (struct smtp_srv_t * srv, - const char * buf, - unsigned int bufsiz); - -/** - * The prototype for the plg_write() function that must - * be implemented by the plugin. - * - * @param srv The SMTP server object. - * @param buf The buffer that should be written to the socket. - * @param bufsiz The number of bytes that should be written to the socket. - * - * @returns The number of bytes actually written or -1 if an error - * occured. - */ -typedef int plg_write_t (struct smtp_srv_t * srv, - const char * buf, - unsigned int bufsiz); - -/** - * The prototype for the plg_init() function that must - * be implemented by the plugin. - */ -typedef void plg_init_t (); - -/** - * The prototype for the plg_cleanup() function that must - * be implemented by the plugin. - */ -typedef void plg_cleanup_t (); - -/** - * plugin_t holds all information about one - * plugin object. - */ -typedef struct plugin_t -{ - plg_init_t *plg_init; - plg_cleanup_t *plg_cleanup; - plg_authenticate_t *plg_authenticate; - plg_read_t *plg_read; - plg_write_t *plg_write; - char *PATH; - char *NAME; - char *SASL; - char *COMMENT; - unsigned char WEIGHT; - void *handle; -} plugin_t; - -/** - * plg_plugins() returns the array of available plugins. The - * last element of this array is NULL. - * - * @returns The available plugins in form of a NULL terminated - * array. - */ -plugin_t ** plg_plugins (); - -/** - * plg_load_plugin() tries to load the plugin at path and - * adds the plugin to the array of available plugins if - * plg_load_plugin() was successfull. - * - * @param path The path to the plugin. - * - * @returns 0 on success and -1 on any error. - */ -int plg_load_plugin (const char * path); - -/** - * plg_load_plugins() tries to load all plugins with the - * extension "*.so" from the directory pointed to by - * path. - * - * @param path The directory where the plugins are located. - * - * @returns 0 on success and -1 on any error. - */ -int plg_load_plugins (const char * path); - -/** - * plg_remove_plugin() removes the plugins with - * plg->NAME == NAME. - * - * @param NAME The plugin that should be removed. - * - * @returns 0 on success and -1 on any error. - */ -int plg_remove_plugin (const char * NAME); - -/** - * plg_remove_plugins() removes all available plugins. - */ -void plg_remove_plugins (); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/smtp.h b/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/smtp.h deleted file mode 100644 index abee52a..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/smtp.h +++ /dev/null @@ -1,289 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * smtp.c implements the SMTP protocol specification. * - * * - ************************************************************************/ - -#ifndef __SMTP_H__ -#define __SMTP_H__ - -#include "alloc.h" -#include "error.h" -#include "log.h" -#include "plugin.h" -#include "sslsocket.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * The SSL specification. - */ -typedef enum ssl_type_t { STARTTLS, SMTPS, NO_SSL } ssl_type_t; - -/** - * This struct describes the SMTP session. - */ -typedef struct smtp_srv_t -{ - char *domain; - char *from; - char *server; - char *username; - char *password; - char *realm; - char *SASL; - struct plugin_t *plg; - unsigned int timeout; - unsigned int port; - int first_part; /* for smtp_send_big_msg() */ - ssl_socket_t sck; - ssl_type_t ssl_type; -} smtp_srv_t; - -/** - * smtp_write() sends data to the SMTP server. All lines - * ending in not preceeded by will be converted - * to as . - * - * @param srv The smtp_srv_t object. - * @param data The data that should be send. - * @param siz The size of data in bytes. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_write (smtp_srv_t * srv, const char * data, int siz); - -/** - * smtp_read_() reads one line from the SMTP server, - * which must be already connected. Any trailing '\r' - * will be removed if present. The resulting string is - * malloc()ed and must be freed using free(). - * - * @param srv The SMTP server object. - * - * @returns A pointer to the resulting string or NULL - * if smtp_read_() failed. The string will be NULL - * terminated. - */ -char * smtp_read_ (smtp_srv_t * srv); - -/** - * smtp_read_response_() reads the response from the SMTP server. - * The resulting string is malloc()ed and must be freed using - * free(). - * - * @param srv The SMTP server object. - * @param is_221_fatal Must be 1 if the SMTP reply code 221 is - * considered to be fatal, otherwise 0. - * - * @returns A pointer to the resulting string or NULL - * if smtp_read_response_() failed or a protocol error - * occured. The string will be NULL terminated. - */ -char * smtp_read_response_ (smtp_srv_t * srv, int is_221_fatal); - -/** - * smtp_init() initializes the smtp_srv_t struct srv and must - * be called once for each smtp_srv_t object before the other - * functions can be used. When the smtp_srv_t object is no longer - * needed it should be de-initialized with smtp_cleanup() to free - * unneeded resources. - * - * @param srv The smtp_srv_t object. - * @param domain The domain that should be used when sending the HELO cmd. - * @param from The envelope from address. - * @param server The host of the SMTP server. - * @param port The port the SMTP server is listening on. - * @param timeout Socket timout value in seconds. - */ -void smtp_init (smtp_srv_t * srv, - const char * domain, - const char * from, - const char * server, - unsigned int port, - unsigned int timeout); - -/** - * smtp_cleanup() releases unneeded resources and must be called when - * the smtp_srv_t object is no longer needed. srv must be initialized - * by smtp_init() before, otherwise random errors may occur. - * - * @param srv The smtp_srv_t object. - */ -void smtp_cleanup (smtp_srv_t * srv); - -/** - * smtp_connect() connects to the smtp_srv_t object. - * - * @param srv The SMTP server object. - * - * @returns 0 on success and -1 on failure. - */ -int smtp_connect (smtp_srv_t * srv); - -/** - * smtp_close() closes the connection to the SMTP server. - * - * @param srv The smtp_srv_t object that should be closed. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_close (smtp_srv_t * srv); - -/** - * smtp_send_msg() sends msg to all recipients in - * the array rcpts. The last element of rcpts must be - * NULL. The msg will be converted into dos format, - * conforming to rfc0821. - * - * @param srv The smtp_srv_t object that should be used. - * @param msg The msg that should be send. - * @param rcpts The list of recipients. The last element - * this array must be NULL. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_send_msg (smtp_srv_t * srv, const char * msg, char ** rcpts); - -/** - * smtp_send_big_msg() can be used instead of smtp_send_msg() if - * you send very big msgs. The memory allocated by smtp_send_msg() - * is up to 3 * strlen (message), which can be very much if you - * consider people sending files that are 50MB big or even more via - * email. Using smtp_send_big_msg() the memory allocated will be only - * 3 * strlen (part_message). The last element of rcpts must be NULL. - * The msg will be converted into dos format, conforming to rfc0821. - * - * Example: - * - * char *msg_1 = "To: bouncer@test.smtp.org\n" - * "Subject: test\n" - * "\n" - * "part 1\n"; - * - * char *msg_2 = "\npart 2\n"; - * - * char *msg_3 = "\npart 3\n"; - * - * if (smtp_send_big_msg (&srv, msg_1, rcpts, 0) == -1) - * { - * puts (err_str_error ()); - * smtp_cleanup (&srv); - * exit (1); - * } - * - * if (smtp_send_big_msg (&srv, msg_3, rcpts, 0) == -1) - * { - * puts (err_str_error ()); - * smtp_cleanup (&srv); - * exit (1); - * } - * - * if (smtp_send_big_msg (&srv, msg_3, rcpts, 1) == -1) - * { - * puts (err_str_error ()); - * smtp_cleanup (&srv); - * exit (1); - * } - * - * @param srv The smtp_srv_t object that should be used. - * @param msg The msg that should be send. - * @param rcpts The list of recipients. The last element - * this array must be NULL. - * @param last If msg is the last segment of the msg, last must - * be 1, otherwise 0. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_send_big_msg (smtp_srv_t * srv, - const char * msg, - char ** rcpts, - int last); - -/** - * smtp_set_credentials() sets the credentials that should be - * used for authentication. - * - * @param srv The smtp_srv_t object that should be used. - * @param sasl The SASL mechanism that should be used. - * If sasl == "AUTO" the securest mechanism that - * we have in common with the server will be - * determined automagically. - * @param username The username. - * @param password The password. - * @param realm The realm. - */ -void smtp_set_credentials (smtp_srv_t * srv, - const char * sasl, - const char * username, - const char * password, - const char * realm); - -/** - * smtp_ssl_opts() sets some SSL specific options. - * - * @param srv The smtp_srv_t object that should be used. - * @param ssl_type The ssl protocol flavor that should be used. - * @param opts The SSL verification level. - * @param ca_file A file that contains PEM certificates. Must - * be "" if opts == VERIFY_NONE. - * The file can contain several CA certificates - * identified by - * - * -----BEGIN CERTIFICATE----- - * - * ... [CA certificate in base64 encoding] ... - * - * -----END CERTIFICATE----- - * - * sequences. Before, between, and after the - * certificates text is allowed which - * can be used e.g. for descriptions of the - * certificates. - * - * Take a look in the openssl documentation to - * get more infos on that topic. - * @param ca_dir A directory that contains PEM certificates. Must - * be "" if opts == VERIFY_NONE. - * The files each contain one CA certificate. The files - * are looked up by the CA subject name hash value, which - * must hence be available. If more than one CA certificate - * with the same name hash value exist, the extension must be - * different (e.g. 9d66eef0.0, 9d66eef0.1 etc). The search - * is performed in the ordering of the extension number, - * regardless of other properties of the certificates. - * Use the c_rehash utility to create the necessary links. - * - * Take a look in the openssl documentation to - * get more infos on that topic. - */ -void smtp_ssl_opts (smtp_srv_t * srv, - ssl_type_t ssl_type, - ssl_opts_t opts, - const char * ca_file, - const char * ca_dir); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/sslsocket.h b/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/sslsocket.h deleted file mode 100644 index ecddad3..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/sslsocket.h +++ /dev/null @@ -1,204 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * sslsocket.c provides ssl support for TCP/IP sockets. * - * * - ************************************************************************/ - -#ifndef __SSLSOCKET_H__ -#define __SSLSOCKET_H__ - -#include -#include -#include -#include -#include -#include "inetsocket.h" -#include "log.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * The SSL verification level. - */ -typedef enum ssl_opts_t -{ - VERIFY_PEER = SSL_VERIFY_PEER, - VERIFY_NONE = SSL_VERIFY_NONE -} ssl_opts_t; - -/** - * The SSL socket. - */ -typedef struct ssl_socket_t -{ - SSL *ssl; - SSL_CTX *ctx; - ssl_opts_t opts; - int negotiated; - char *ca_file; - char *ca_dir; - unsigned int timeout; - sck_socket_t sck; -} ssl_socket_t; - - -/** - * ssl_init() initializes the ssl_socket_t and must - * be called once for each ssl_socket_t object before the other - * functions can be used. When the ssl_socket_t object is no longer - * needed it should be de-initialized with ssl_cleanup() to free - * unneeded resources. - * - * @param ssl The ssl_socket_t object. - */ -void ssl_init (ssl_socket_t * ssl); - -/** - * ssl_cleanup() releases unneeded resources and must be called when - * the ssl_socket_t object is no longer needed. ssl must be initialized - * by ssl_init() before, otherwise random errors may occur. - * - * @param ssl The ssl_socket_t object. - */ -void ssl_cleanup (ssl_socket_t * ssl); - -/** - * ssl_read() reads at most bufsiz bytes from the socket and - * returns the number of bytes that were actually read. - * - * @param ssl The ssl_socket_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int ssl_read (ssl_socket_t * ssl, const char * buf, unsigned int bufsiz); - -/** - * ssl_write() writes at most bufsiz bytes of buf to the socket and - * returns the number of bytes that were actually written to the socket. - * - * @param ssl The ssl_socket_t object. - * @param buf The buffer that should be written to the socket. - * @param bufsiz The number of bytes that should be written to the socket. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int ssl_write (ssl_socket_t * ssl, const char * buf, unsigned int bufsiz); - -/** - * ssl_negotiate() starts the SSL handshake. - * - * @param ssl The ssl_socket_t object. - * - * @returns -1 on an error, otherwise 0. - */ -int ssl_negotiate (ssl_socket_t * ssl); - -/** - * Set some SSL specific options. - * - * @param ssl The ssl_socket_t object. - * @param opts The SSL verification level. - * @param ca_file A file that contains PEM certificates. Must - * be "" if opts == VERIFY_NONE. - * The file can contain several CA certificates - * identified by - * - * -----BEGIN CERTIFICATE----- - * - * ... [CA certificate in base64 encoding] ... - * - * -----END CERTIFICATE----- - * - * sequences. Before, between, and after the - * certificates text is allowed which - * can be used e.g. for descriptions of the - * certificates. - * - * Take a look in the openssl documentation to - * get more infos on that topic. - * @param ca_dir A directory that contains PEM certificates. Must - * be "" if opts == VERIFY_NONE. - * The files each contain one CA certificate. The files - * are looked up by the CA subject name hash value, which - * must hence be available. If more than one CA certificate - * with the same name hash value exist, the extension must be - * different (e.g. 9d66eef0.0, 9d66eef0.1 etc). The search - * is performed in the ordering of the extension number, - * regardless of other properties of the certificates. - * Use the c_rehash utility to create the necessary links. - * - * Take a look in the openssl documentation to - * get more infos on that topic. - */ -void ssl_set_opts (ssl_socket_t * ssl, - ssl_opts_t opts, - const char * ca_file, - const char * ca_dir); - -/** - * ssl_localhost() returns the name of the localhost or - * the string "localhost" if the name of the localhost - * cannot be determined for some reason. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @returns The name of the localhost. - */ -char * ssl_localhost (); - -/** - * ssl_connect() connects a socket to the specified - * host:port and sets the timeout value. The struct ssl - * will be filled and is to be used with the other ssl_* - * functions. - * - * @param ssl The struct ssl_socket_t that is to be filled. - * @param host The host that should be connected. - * @param port The port that the host is listening on. - * @param timeout The timeout value in seconds. - * - * @returns 0 on success and -1 on any error. - */ -int ssl_connect (ssl_socket_t * ssl, - const char * host, - unsigned int port, - unsigned int timeout); - -/** - * ssl_close() closes the socket ssl. - * - * @param ssl The socket that should be closed. - * - * @returns 0 on success and -1 on any error. - */ -int ssl_close (ssl_socket_t * ssl); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/string.h b/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/string.h deleted file mode 100644 index fcd0f38..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/includes/ssl/string.h +++ /dev/null @@ -1,183 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * string.c provides some useful functions for string manipulations. * - * * - ************************************************************************/ - -#ifndef __STRING_H__ -#define __STRING_H__ - -#include -#include -#include -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * str_hexify() converts all bytes in src into their hexadecimal - * representation. The resulting string will be stored in dst. - * dst must be 2*strlen (src)+1 bytes big. - * - * @param dst This is the place where the hexified string - * will be stored. - * @param src The string that should be hexified. - * @param src_len The size of str in bytes. - * - * @returns A pointer to the resulting string. - */ -char * str_hexify (char * dst, char * src, unsigned int src_len); - -/** - * str_replace() replaces the first occurence of needle - * in the string src with the string subst. If no occurence - * of needle could be found in src, NULL is returned, otherwise - * the starting index of needle inside src. src needs to be - * big enough to store the resulting string. - * - * @param src The string that should be modified. - * @param needle The pattern that should be replaced. - * @param subst The pattern that should be used for - * replacing. - * - * @returns NULL if no occurence of needle could be found - * in src, otherwise the starting idx of needle inside src. - */ -char * str_replace (char * src, char * needle, char * subst); - -/** - * str_tolower() converts str into lower case characters. - * - * @param str The string that should be converted to lower - * case. - * @param len The len of str in bytes. - * - * @returns The pointer to str. - */ -char * str_tolower (char * str, int len); - -/** - * str_toupper() converts str into upper case characters. - * - * @param str The string that should be converted to upper - * case. - * @param len The len of str in bytes. - * - * @returns The pointer to str. - */ -char * str_toupper (char * str, int len); - -/** - * str_crop() removes all occurences of delim from - * the beginning/end of str. - * - * " this is a test string " - * => "this is a test string" - * - * @param str The string that should be trimmed. - * @param delim The delimiting string. - * - * @returns A pointer to the resulting string. - */ -char * str_crop (char * str, char * delim); - -/** - * str_trim() removes all occurences of delim from - * the beginning/end of str and replaces multiple - * occurences of delim inside str with a single one. - * " this is a test string" - * => "this is a test string" - * - * @param str The string that should be trimmed. - * @param delim The delimiting string. - * - * @returns A pointer to the resulting string. - */ -char * str_trim (char * str, char * delim); - -/** - * str_tok_() searches for the next occurence of - * delim inside str and returns that substring. The - * returned substring is NULL terminated and the end - * of the token inside str is stored in pos. - * The returned string is malloc()ed and must be - * freed using free(). - * Example: - * - * char *tok; - * char *p = "This\nis\na\test"; - * char *p_ptr = p; - * - * while (p_ptr != NULL) - * { - * tok = str_tok_ (p_ptr, &p_ptr, "\n"); - * printf ("%s\n", tok); - * free (tok); - * }; - * - * @param str The string that should be tokenized, - * @param pos The end of the token inside str will be - * stored in pos, resp. NULL, if no occurnce - * of delim could be found. - * @param delim The pattern that should be used as a - * delimiter. - * - * @returns The token, which is dynamically malloc()ed, so it - * must be freed using free(). - */ -char * str_tok_ (char * str, char ** pos, char * delim); - -/** - * str_split_() splits str in tokens of siz bytes. The - * returned tokens are NULL terminated and the end - * of the token inside str is stored in pos. - * The returned string is malloc()ed and must be - * freed using free(). - * Example: - * - * char *tok; - * char *p = "This is a test"; - * char *p_ptr = p; - * - * while (p_ptr != NULL) - * { - * tok = str_split_ (p_ptr, &p_ptr, 4); - * printf ("%s\n", tok); - * free (tok); - * }; - * - * @param str The string that should be tokenized, - * @param pos The end of the token inside str will be - * stored in pos, resp. NULL, if no occurnce - * of delim could be found. - * @param siz The siz of the tokens in bytes. - * - * @returns The token, which is dynamically malloc()ed, so it - * must be freed using free(). - */ -char * str_split_ (char * str, char ** pos, unsigned long siz); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/inetsocket.c b/features/smtp/lib/libsmtp---0.1.0/src/inetsocket.c deleted file mode 100644 index c24d208..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/inetsocket.c +++ /dev/null @@ -1,331 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * inetsocket.c provides functions for TCP/IP socket connections. * - * * - ************************************************************************/ - -#include "inetsocket.h" - -/** - * sck() initializes the sck_socket_t struct sck and must - * be called once for each sck_socket_t object before the other - * functions can be used. When the sck_socket_t object is no longer - * needed it should be de-initialized with sck_cleanup() to free - * unneeded resources. - * - * @param sck The sck_socket_t object. - */ -void sck_init (sck_socket_t * sck) -{ - sck->host = strdup_ (""); - sck->localhost = strdup_ (""); - - /* a SIGPIPE signal will be indicated by errno, - * so we choose to ignore SIGPIPE and handle - * this signal through errno */ - signal(SIGPIPE, SIG_IGN); -} - -/** - * sck_cleanup() releases unneeded resources and must be called when - * the sck_socket_t object is no longer needed. sck must be initialized - * by sck_init() before, otherwise random errors may occur. - * - * @param sck The sck_socket_t object. - */ -void sck_cleanup (sck_socket_t * sck) -{ - free_ (sck->host, sck->localhost, NULL); -} - -/** - * sck_localhost() returns the name of the localhost or - * the string "localhost" if the name of the localhost - * cannot be determined for some reason. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @returns The name of the localhost. - */ -char * sck_localhost () -{ - static char host[4096] = "localhost"; /* should be big enough */ - - if (gethostname (host, 4095) == -1) - { - strcpy (host, "localhost"); - } - - host[4095] = '\0'; /* for the unusual case that hostname - * is bigger than 4095 bytes */ - - return (host); -} - -/** - * sck_connect() connects a socket to the specified - * host:port and sets the timeout value. The struct sck - * will be filled and is to be used with the other sck_* - * functions. - * - * @param sck The struct sck_socket_t that is to be filled. - * @param host The host that should be connected. - * @param port The port that the host is listening on. - * @param timeout The timeout value in seconds. - * - * @returns 0 on success and -1 on any error. - */ -int sck_connect (sck_socket_t * sck, - const char * host, - unsigned int port, - unsigned int timeout) -{ - struct hostent *servp; - struct sockaddr_in addr; - fd_set rd_fds, wr_fds; - int flags; - - free_ (sck->host, sck->localhost, NULL); - - sck->localhost = strdup_ (sck_localhost ()); - sck->host = strdup_ (host); - - sck->timeout = timeout; - sck->port = port; - - servp = gethostbyname (sck->host); - if (servp == NULL) - { - switch (h_errno) - { - case HOST_NOT_FOUND: - err_set_error (TEXTDOMAIN, - "The specified host is unknown.", NULL); - return (-1); - case NO_ADDRESS: - err_set_error (TEXTDOMAIN, - "The requested name is valid but " - "does not have an IP address.", NULL); - return (-1); - case NO_RECOVERY: - err_set_error (TEXTDOMAIN, - "A non-recoverable name server " - "error occurred.", NULL); - return (-1); - case TRY_AGAIN: - err_set_error (TEXTDOMAIN, - "A temporary error occurred on an " - "authoritative name server.", NULL); - return (-1); - } - } - - if ((sck->sockfd = socket (AF_INET, SOCK_STREAM, 0)) == -1) - { - err_set_error (TEXTDOMAIN, strerror (errno), NULL); - return (-1); - } - - /* Set sck->sockfd to non-blocking mode. */ - flags = fcntl (sck->sockfd, F_GETFL, 0); - if (fcntl (sck->sockfd, F_SETFL, flags | O_NONBLOCK) == -1) - { - err_set_error (TEXTDOMAIN, strerror (errno), NULL); - return (-1); - } - - addr.sin_family = AF_INET; - addr.sin_port = htons (sck->port); - addr.sin_addr = *((struct in_addr *)servp->h_addr); - memset (&(addr.sin_zero), 0, 8); - - if (connect (sck->sockfd, (struct sockaddr *)&addr, sizeof (struct sockaddr)) == -1) - { - if (errno == EINPROGRESS) - { - struct timeval tv; - tv.tv_sec = sck->timeout; - tv.tv_usec = 0; - - FD_ZERO (&rd_fds); - FD_ZERO (&wr_fds); - FD_SET (sck->sockfd, &wr_fds); - FD_SET (sck->sockfd, &rd_fds); - - if (select (sck->sockfd+1, &rd_fds, &wr_fds, 0, &tv) <= 0) - { - err_set_error (TEXTDOMAIN, "Socket timeout.", NULL); - return (-1); - } - - if - ( - (connect (sck->sockfd, (struct sockaddr *) &addr, sizeof(struct sockaddr)) == -1) && - errno != EISCONN - ) - { - err_set_error (TEXTDOMAIN, strerror (errno), NULL); - return (-1); - } - } - } - - return (0); -} - -/** - * sck_read() reads at most bufsiz bytes from the socket and - * returns the number of bytes that were actually read. - * - * @param sck The struct sck_socket_t that is to be filled. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int sck_read (sck_socket_t * sck, const char * buf, unsigned int bufsiz) -{ - int retval, bytes = 0; - struct timeval tv; - fd_set rfds; - - /* This is a workaround. Otherwise the prog may crash - * if sck wasn't initialised at this point. */ - if (fcntl (sck->sockfd, F_GETFL) == -1) - { - err_set_error (TEXTDOMAIN, "Socket is closed.", NULL); - return (-1); - } - - tv.tv_sec = sck->timeout; - tv.tv_usec = 0; - - FD_ZERO (&rfds); - FD_SET (sck->sockfd, &rfds); - - retval = select (sck->sockfd+1, &rfds, NULL, NULL, &tv); - if (retval == -1) - { - err_set_error (TEXTDOMAIN, strerror (errno), NULL); - return (-1); - } - else if (retval == 0) - { - err_set_error (TEXTDOMAIN, "Socket timeout.", NULL); - return (-1); - } - else - { - bytes = read (sck->sockfd, (char*)buf, bufsiz); - if (bytes == -1) - { - err_set_error (TEXTDOMAIN, strerror (errno), NULL); - return (-1); - } - else if (bytes == 0) - { - err_set_error (TEXTDOMAIN, "Socket is closed.", NULL); - return (-1); - } - } - - return (bytes); -} - -/** - * sck_write() writes at most bufsiz bytes of buf to the socket and - * returns the number of bytes that were actually written to the socket. - * - * @param sck The struct sck_socket_t that is to be filled. - * @param buf The buffer that should be written to the socket. - * @param bufsiz The number of bytes that should be written to the socket. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int sck_write (sck_socket_t * sck, const char * buf, unsigned int bufsiz) -{ - int retval, bytes = 0; - struct timeval tv; - fd_set wfds; - - /* This is a workaround. Otherwise the prog may crash - * if sck wasn't initialised at this point. */ - if (fcntl (sck->sockfd, F_GETFL) == -1) - { - err_set_error (TEXTDOMAIN, "Socket is closed.", NULL); - return (-1); - } - - tv.tv_sec = sck->timeout; - tv.tv_usec = 0; - - FD_ZERO (&wfds); - FD_SET (sck->sockfd, &wfds); - - retval = select (sck->sockfd+1, NULL, &wfds, NULL, &tv); - if (retval == -1) - { - err_set_error (TEXTDOMAIN, strerror (errno), NULL); - return (-1); - } - else if (retval == 0) - { - err_set_error (TEXTDOMAIN, "Socket timeout.", NULL); - return (-1); - } - else - { - bytes = write (sck->sockfd, buf, bufsiz); - if (bytes == -1) - { - err_set_error (TEXTDOMAIN, strerror (errno), NULL); - return (-1); - } - else if (bytes == 0) - { - err_set_error (TEXTDOMAIN, "Socket is closed.", NULL); - return (-1); - } - } - - return (bytes); -} - -/** - * sck_close() closes the socket sck. - * - * @param sck The socket that should be closed. - * - * @returns 0 on success and -1 on any error. - */ -int sck_close (sck_socket_t * sck) -{ - if (close (sck->sockfd) == -1) - { - err_set_error (TEXTDOMAIN, strerror (errno), NULL); - return (-1); - } - - return (0); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/inetsocket.h b/features/smtp/lib/libsmtp---0.1.0/src/inetsocket.h deleted file mode 100644 index a7f53ab..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/inetsocket.h +++ /dev/null @@ -1,144 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * inetsocket.c provides functions for TCP/IP socket connections. * - * * - ************************************************************************/ - -#ifndef __INETSOCKET_H__ -#define __INETSOCKET_H__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "error.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * This struct describes one connection - */ -typedef struct sck_socket_t -{ - char *host; - char *localhost; /* will be set by sck_connect () */ - int sockfd; /* will be set by sck_connect () */ - unsigned int port; - unsigned int timeout; -} sck_socket_t; - -/** - * sck_init() initializes the sck_socket_t struct sck and must - * be called once for each sck_socket_t object before the other - * functions can be used. When the sck_socket_t object is no longer - * needed it should be de-initialized with sck_cleanup() to free - * unneeded resources. - * - * @param sck The sck_socket_t object. - */ -void sck_init (sck_socket_t * sck); - -/** - * sck_cleanup() releases unneeded resources and must be called when - * the sck_socket_t object is no longer needed. sck must be initialized - * by sck_init() before, otherwise random errors may occur. - * - * @param sck The sck_socket_t object. - */ -void sck_cleanup (sck_socket_t * sck); - -/** - * sck_localhost() returns the name of the localhost or - * the string "localhost" if the name of the localhost - * cannot be determined for some reason. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @returns The name of the localhost. - */ -char * sck_localhost (); - -/** - * sck_connect() connects a socket to the specified - * host:port and sets the timeout value. The struct sck - * will be filled and is to be used with the other sck_* - * functions. - * - * @param sck The struct sck_socket_t that is to be filled. - * @param host The host that should be connected. - * @param port The port that the host is listening on. - * @param timeout The timeout value in seconds. - * - * @returns 0 on success and -1 on any error. - */ -int sck_connect (sck_socket_t * sck, - const char * host, - unsigned int port, - unsigned int timeout); - -/** - * sck_read() reads at most bufsiz bytes from the socket and - * returns the number of bytes that were actually read. - * - * @param sck The struct sck_socket_t that is to be filled. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int sck_read (sck_socket_t * sck, const char * buf, unsigned int bufsiz); - -/** - * sck_write() writes at most bufsiz bytes of buf to the socket and - * returns the number of bytes that were actually written to the socket. - * - * @param sck The struct sck_socket_t that is to be filled. - * @param buf The buffer that should be written to the socket. - * @param bufsiz The number of bytes that should be written to the socket. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int sck_write (sck_socket_t * sck, const char * buf, unsigned int bufsiz); - -/** - * sck_close() closes the socket sck. - * - * @param sck The socket that should be closed. - * - * @returns 0 on success and -1 on any error. - */ -int sck_close (sck_socket_t * sck); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/init.c b/features/smtp/lib/libsmtp---0.1.0/src/init.c deleted file mode 100644 index b45596d..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/init.c +++ /dev/null @@ -1,76 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - ************************************************************************/ - -#include "log.h" -#include "i18n.h" -#include "plugin.h" - -#ifdef __USE_SSL_ -extern void alg_init (); -#endif -extern void err_init (); -extern void plg_init (); - -extern void plg_cleanup (); -extern void err_cleanup (); - -void _cb_w_init() -{ - _init(); -} - -void _cb_init() -{ - i18n_init (TEXTDOMAIN, LOCALEDIR); - -#ifdef __USE_SSL_ - alg_init (); -#endif - err_init (); - plg_init (); - - plg_load_plugins (PLUGINDIR); -} - -void _init () -{ - i18n_init (TEXTDOMAIN, LOCALEDIR); - -#ifdef __USE_SSL_ - alg_init (); -#endif - err_init (); - plg_init (); - - plg_load_plugins (PLUGINDIR); -} - -void _fini () -{ - plg_cleanup (); - err_cleanup (); - - if (getenv ("LIBSMTP_VERBOSE")) - { - printf ("SCORE: %i\n", score_ ()); - } -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/log.c b/features/smtp/lib/libsmtp---0.1.0/src/log.c deleted file mode 100644 index 55cc8a7..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/log.c +++ /dev/null @@ -1,73 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * log.c provides some logging functionality. * - * * - ************************************************************************/ - -#include "log.h" - -/** - * The callback function - */ -static log_callback_t *log_callback = NULL; - -/** - * log_init() must be called to set the callback - * funtion. The callback funtion will be called - * for each log message that was logged using - * log(). - * - * @param callback The callback function. - */ -void log_init (log_callback_t * callback) -{ - log_callback = callback; -} - -/** - * log() logs the message msg with the verbosity - * level lvl. If log_init was called before, the - * callback function will be called. Otherwise - * nothing will happen. - * Any trailing newline character will be removed - * before the callback function is called. - * - * @param msg The log message. - * @param lvl The verbosity level. One of - * LOG_LVL_QUIET, LOG_LVL_ERROR, - * LOG_LVL_NORMAL, LOG_LVL_VERBOSE or - * LOG_LVL_VVERBOSE. - */ -void log (const char * msg, verbosity_t lvl) -{ - char *log_msg = strdup_ (msg); - if (strlen (log_msg) > 0 && log_msg[strlen (log_msg)-1] == '\n') - { - log_msg[strlen (log_msg)-1] = '\0'; - } - - if (log_callback != NULL) - { - log_callback (log_msg, lvl); - } - - free_ (log_msg, NULL); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/log.h b/features/smtp/lib/libsmtp---0.1.0/src/log.h deleted file mode 100644 index ddd1882..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/log.h +++ /dev/null @@ -1,79 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * log.c provides some logging functionality. * - * * - ************************************************************************/ - -#ifndef __LOG_H__ -#define __LOG_H__ - -#include -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * The verbosity levels. - */ -typedef enum verbosity_t { LOG_LVL_QUIET = 1, LOG_LVL_ERROR = 2, - LOG_LVL_NORMAL = 3, LOG_LVL_VERBOSE = 4, - LOG_LVL_VVERBOSE = 5 } verbosity_t; - -/** - * The prototype for the callback function. - * - * @param msg The log message. - * @param lvl The verbosity level. - */ -typedef void log_callback_t (const char * msg, verbosity_t lvl); - -/** - * log_init() must be called to set the callback - * funtion. The callback funtion will be called - * for each log message that was logged using - * log(). - * - * @param callback The callback function. - */ -void log_init (log_callback_t * callback); - -/** - * log() logs the message msg with the verbosity - * level lvl. If log_init was called before, the - * callback function will be called. Otherwise - * nothing will happen. - * Any trailing newline character will be removed - * before the callback function is called. - * - * @param msg The log message. - * @param lvl The verbosity level. One of - * LOG_LVL_QUIET, LOG_LVL_ERROR, - * LOG_LVL_NORMAL, LOG_LVL_VERBOSE or - * LOG_LVL_VVERBOSE. - */ -void log (const char * msg, verbosity_t lvl); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/plugin.c b/features/smtp/lib/libsmtp---0.1.0/src/plugin.c deleted file mode 100644 index 476beda..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/plugin.c +++ /dev/null @@ -1,648 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * plugin.c implements the libsmtp-- plugin specification. * - * * - ************************************************************************/ - -#include "plugin.h" - -/** - * The available plugins. The last element - * of this array must be NULL. - */ -static plugin_t **plugins = NULL; - -/** - * plg_dlsym_init() stores the address of the symbol - * plg_init() from the plugin in plg->plg_init. - * - * @param plg The plugin_t object. - * @param handle The handle returned by dlopen(). - * - * @returns 0 on success and -1 on any error. - */ -static int plg_dlsym_init (plugin_t * plg, void * handle) -{ - plg_init_t *plg_init = (plg_init_t*)dlsym (handle, "plg_init"); - - const char *error = (const char *)dlerror (); - if (error) - { - plg_init = (plg_init_t*)dlsym (handle, "_plg_init"); - - error = (const char *)dlerror (); - if (error) - { - err_set_error (TEXTDOMAIN, "Error loading shared object »$0« - $1.", - plg->PATH, error, NULL); - return (-1); - } - } - - plg->plg_init = plg_init; - - return (0); -} - -/** - * plg_dlsym_cleanup() stores the address of the symbol - * plg_cleanup() from the plugin in plg->plg_cleanup. - * - * @param plg The plugin_t object. - * @param handle The handle returned by dlopen(). - * - * @returns 0 on success and -1 on any error. - */ -static int plg_dlsym_cleanup (plugin_t * plg, void * handle) -{ - plg_cleanup_t *plg_cleanup = (plg_cleanup_t*)dlsym (handle, "plg_cleanup"); - - const char *error = (const char *)dlerror (); - if (error) - { - plg_cleanup = (plg_cleanup_t*)dlsym (handle, "_plg_cleanup"); - - error = (const char *)dlerror (); - if (error) - { - err_set_error (TEXTDOMAIN, "Error loading shared object »$0« - $1.", - plg->PATH, error, NULL); - return (-1); - } - } - - plg->plg_cleanup = plg_cleanup; - - return (0); -} - -/** - * plg_dlsym_read() stores the address of the symbol - * plg_read() from the plugin in plg->plg_read. - * - * @param plg The plugin_t object. - * @param handle The handle returned by dlopen(). - * - * @returns 0 on success and -1 on any error. - */ -static int plg_dlsym_read (plugin_t * plg, void * handle) -{ - plg_read_t *plg_read = (plg_read_t*)dlsym (handle, "plg_read"); - - const char *error = (const char *)dlerror (); - if (error) - { - plg_read = (plg_read_t*)dlsym (handle, "_plg_read"); - - error = (const char *)dlerror (); - if (error) - { - err_set_error (TEXTDOMAIN, "Error loading shared object »$0« - $1.", - plg->PATH, error, NULL); - return (-1); - } - } - - plg->plg_read = plg_read; - - return (0); -} - -/** - * plg_dlsym_write() stores the address of the symbol - * plg_write() from the plugin in plg->plg_write. - * - * @param plg The plugin_t object. - * @param handle The handle returned by dlopen(). - * - * @returns 0 on success and -1 on any error. - */ -static int plg_dlsym_write (plugin_t * plg, void * handle) -{ - plg_write_t *plg_write = (plg_write_t*)dlsym (handle, "plg_write"); - - const char *error = (const char *)dlerror (); - if (error) - { - plg_write = (plg_write_t*)dlsym (handle, "_plg_write"); - - error = (const char *)dlerror (); - if (error) - { - err_set_error (TEXTDOMAIN, "Error loading shared object »$0« - $1.", - plg->PATH, error, NULL); - return (-1); - } - } - - plg->plg_write = plg_write; - - return (0); -} - -/** - * plg_dlsym_authenticate() stores the address of the symbol - * plg_authenticate() from the plugin in plg->plg_authenticate. - * - * @param plg The plugin_t object. - * @param handle The handle returned by dlopen(). - * - * @returns 0 on success and -1 on any error. - */ -static int plg_dlsym_authenticate (plugin_t * plg, void * handle) -{ - plg_authenticate_t *plg_authenticate = (plg_authenticate_t*)dlsym (handle, "plg_authenticate"); - - const char *error = (const char *)dlerror (); - if (error) - { - plg_authenticate = (plg_authenticate_t*)dlsym (handle, "_plg_authenticate"); - - error = (const char *)dlerror (); - if (error) - { - err_set_error (TEXTDOMAIN, "Error loading shared object »$0« - $1.", - plg->PATH, error, NULL); - return (-1); - } - } - - plg->plg_authenticate = plg_authenticate; - - return (0); -} - -/** - * plg_dlsym_NAME() stores the address of the symbol - * NAME from the plugin in plg->NAME. - * - * @param plg The plugin_t object. - * @param handle The handle returned by dlopen(). - * - * @returns 0 on success and -1 on any error. - */ -static int plg_dlsym_NAME (plugin_t * plg, void * handle) -{ - char **NAME = (char**)dlsym (handle, "NAME"); - - const char *error = (const char *)dlerror (); - if (error) - { - NAME = (char**)dlsym (handle, "_NAME"); - - error = (const char *)dlerror (); - if (error) - { - err_set_error (TEXTDOMAIN, "Error loading shared object »$0« - $1.", - plg->PATH, error, NULL); - return (-1); - } - } - - plg->NAME = *NAME; - - return (0); -} - -/** - * plg_dlsym_COMMENT() stores the address of the symbol - * COMMENT from the plugin in plg->COMMENT. - * - * @param plg The plugin_t object. - * @param handle The handle returned by dlopen(). - * - * @returns 0 on success and -1 on any error. - */ -static int plg_dlsym_COMMENT (plugin_t * plg, void * handle) -{ - char **COMMENT = (char**)dlsym (handle, "COMMENT"); - - const char *error = (const char *)dlerror (); - if (error) - { - COMMENT = (char**)dlsym (handle, "_COMMENT"); - - error = (const char *)dlerror (); - if (error) - { - err_set_error (TEXTDOMAIN, "Error loading shared object »$0« - $1.", - plg->PATH, error, NULL); - return (-1); - } - } - - plg->COMMENT = *COMMENT; - - return (0); -} - -/** - * plg_dlsym_SASL() stores the address of the symbol - * SASL from the plugin in plg->SASL. - * - * @param plg The plugin_t object. - * @param handle The handle returned by dlopen(). - * - * @returns 0 on success and -1 on any error. - */ -static int plg_dlsym_SASL (plugin_t * plg, void * handle) -{ - char **SASL = (char**)dlsym (handle, "SASL"); - - const char *error = (const char *)dlerror (); - if (error) - { - SASL = (char**)dlsym (handle, "_SASL"); - - error = (const char *)dlerror (); - if (error) - { - err_set_error (TEXTDOMAIN, "Error loading shared object »$0« - $1.", - plg->PATH, error, NULL); - return (-1); - } - } - - plg->SASL = *SASL; - - return (0); -} - -/** - * plg_dlsym_WEIGHT() stores the value of the symbol - * WEIGHT from the plugin in plg->WEIGHT. - * - * @param plg The plugin_t object. - * @param handle The handle returned by dlopen(). - * - * @returns 0 on success and -1 on any error. - */ -static int plg_dlsym_WEIGHT (plugin_t * plg, void * handle) -{ - unsigned char *WEIGHT = (unsigned char*)dlsym (handle, "WEIGHT"); - - const char *error = (const char *)dlerror (); - if (error) - { - WEIGHT = (unsigned char*)dlsym (handle, "_WEIGHT"); - - error = (const char *)dlerror (); - if (error) - { - err_set_error (TEXTDOMAIN, "Error loading shared object »$0« - $1.", - plg->PATH, error, NULL); - return (-1); - } - } - - plg->WEIGHT = *WEIGHT; - - return (0); -} - -/** - * plg_sort_plugins() does a simple bubble sort with - * the plg->WEIGHT as the sorting key. The higher - * plg->WEIGHT, the higher the priority of the - * plugin. - * - * plugins[0]->WEIGHT == 250 - * plugins[1]->WEIGHT == 59 - * plugins[2]->WEIGHT == 54 - * ... - */ -static void plg_sort_plugins () -{ - int idx, siz = 0; - int swapped = 1; - plugin_t *plg; - - while (plugins[siz++] != NULL); - - while (swapped) - { - swapped = 0; - for (idx = 0; idx < (siz-2); idx++) - { - if (plugins[idx]->WEIGHT < plugins[idx+1]->WEIGHT) - { - plg = plugins[idx]; - plugins[idx] = plugins[idx+1]; - plugins[idx+1] = plg; - - swapped = 1; - } - } - } -} - -/** - * plg_add_plugin() adds the pointer plg to the array of - * available plugins. - * - * @param plg The plugin that should be added. - */ -void plg_add_plugin (plugin_t * plg) -{ - int siz = 0; - - while (plugins[siz++] != NULL); - siz += 1; - - plugins = (plugin_t**)realloc_ (plugins, siz * sizeof(plugin_t*)); - - plugins[siz-2] = plg; - plugins[siz-1] = NULL; - - plg_sort_plugins (); -} - -/** - * plg_load_plugin() tries to load the plugin at path and - * adds the plugin to the array of available plugins if - * plg_load_plugin() was successfull. - * - * @param path The path to the plugin. - * - * @returns 0 on success and -1 on any error. - */ -int plg_load_plugin (const char * path) -{ - void *handle; - int idx = 0; - plugin_t *plg; - - if (getenv ("LIBSMTP_VERBOSE")) - { - puts (i18n (TEXTDOMAIN, "Registering plugin »$0«", path, NULL)); - } - -#ifdef RTLD_NOW - handle = dlopen (path, RTLD_NOW); -#else - handle = dlopen (path, RTLD_LAZY); -#endif /* RTLD_NOW */ - - if (handle == NULL) - { - const char * error = dlerror (); - - if (error == NULL) - { - err_set_error (TEXTDOMAIN, "Error loading shared object »$0«", path, NULL); - } - else - { - err_set_error (TEXTDOMAIN, "Error loading shared object »$0« - $1.", path, error, NULL); - } - - return (-1); - } - - plg = (plugin_t*)malloc_ (sizeof (plugin_t)); - plg->handle = handle; - plg->PATH = strdup_ (path); - - if (plg_dlsym_init (plg, handle) == -1) - { - dlclose (handle); - free_ (plg->PATH, plg, NULL); - return (-1); /* error msg is already set */ - } - - if (plg_dlsym_cleanup (plg, handle) == -1) - { - dlclose (handle); - free_ (plg->PATH, plg, NULL); - return (-1); /* error msg is already set */ - } - - if (plg_dlsym_authenticate (plg, handle) == -1) - { - dlclose (handle); - free_ (plg->PATH, plg, NULL); - return (-1); /* error msg is already set */ - } - - if (plg_dlsym_read (plg, handle) == -1) - { - dlclose (handle); - free_ (plg->PATH, plg, NULL); - return (-1); /* error msg is already set */ - } - - if (plg_dlsym_write (plg, handle) == -1) - { - dlclose (handle); - free_ (plg->PATH, plg, NULL); - return (-1); /* error msg is already set */ - } - - if (plg_dlsym_NAME (plg, handle) == -1) - { - dlclose (handle); - free_ (plg->PATH, plg, NULL); - return (-1); /* error msg is already set */ - } - - if (plg_dlsym_SASL (plg, handle) == -1) - { - dlclose (handle); - free_ (plg->PATH, plg, NULL); - return (-1); /* error msg is already set */ - } - - if (plg_dlsym_COMMENT (plg, handle) == -1) - { - dlclose (handle); - free_ (plg->PATH, plg, NULL); - return (-1); /* error msg is already set */ - } - - if (plg_dlsym_WEIGHT (plg, handle) == -1) - { - dlclose (handle); - free_ (plg->PATH, plg, NULL); - return (-1); /* error msg is already set */ - } - - while (plugins[idx] != NULL) - { - if (strcmp (plugins[idx++]->NAME, plg->NAME) == 0) - { - err_set_error (TEXTDOMAIN, "A plugin named »$0« is already loaded.", plg->NAME, NULL); - dlclose (handle); - free_ (plg->PATH, plg, NULL); - return (-1); - } - } - - if (getenv ("LIBSMTP_VERBOSE")) - { - puts (plg->NAME); - puts (plg->COMMENT); - } - - plg->plg_init (); - plg_add_plugin (plg); - - return (0); -} - -/** - * plg_load_plugins() tries to load all plugins with the - * extension "*.so" from the directory pointed to by - * path. - * - * @param path The directory where the plugins are located. - * - * @returns 0 on success and -1 on any error. - */ -int plg_load_plugins (const char * path) -{ - DIR *pd; - struct dirent *ep; - char *p_dir; - int len; - - pd = opendir (path); - if (pd != NULL) - { - while ((ep = readdir (pd)) != NULL) - { - p_dir = (char*)malloc_ (strlen (path) + strlen (ep->d_name) + 2); - sprintf (p_dir, "%s/%s", path, ep->d_name); - - len = strlen (p_dir); - if (len > 3 && strncmp (&p_dir[len-3], ".so", 3) == 0) - { - if (plg_load_plugin (p_dir) == -1) - { - if (getenv ("LIBSMTP_VERBOSE")) - { - puts (err_str_error ()); - } - } - } - - free_ (p_dir, NULL); - } - - closedir (pd); - } - else - { - err_set_error (TEXTDOMAIN, "Error opening »$0« - $1", path, strerror (errno), NULL); - return (-1); - } - - return (0); -} - -/** - * plg_plugins() returns the array of available plugins. The - * last element of this array is NULL. - * - * @returns The available plugins in form of a NULL terminated - * array. - */ -plugin_t ** plg_plugins () -{ - return (plugins); -} - - -/** - * plg_init() must be called before the other methods - * can be used. - */ -void plg_init () -{ - plugins = (plugin_t**)malloc_ (sizeof (plugin_t*)); - plugins[0] = NULL; -} - -/** - * plg_cleanup() must be called when the plugins are no longer - * needed. - */ -void plg_cleanup () -{ - plg_remove_plugins (); - free_ (plugins, NULL); -} - -/** - * plg_remove_plugin() removes the plugins with - * plg->NAME == NAME. - * - * @param NAME The plugin that should be removed. - * - * @returns 0 on success and -1 if no plugin with the specified - * name could be found. - */ -int plg_remove_plugin (const char * NAME) -{ - int remainder, idx, siz = 0; - - while (plugins[siz++] != NULL); - - for (idx = 0; idx < (siz-1); idx++) - { - if (strcmp (plugins[idx]->NAME, NAME) == 0) - { - plugins[idx]->plg_cleanup (); - - dlclose (plugins[idx]->handle); - free_ (plugins[idx]->PATH, plugins[idx], NULL); - - remainder = (siz-idx-1) * sizeof (plugin_t*); - memmove (&plugins[idx], &plugins[idx+1], remainder); - - return (0); - } - } - - err_set_error (TEXTDOMAIN, "A plugin named »$0« cannot be found.", NAME, NULL); - return (-1); -} - -/** - * plg_remove_plugins() removes all available plugins - * and frees unneeded resources. - */ -void plg_remove_plugins () -{ - int idx = 0; - - while (plugins[idx] != NULL) - { - plugins[idx]->plg_cleanup (); - - dlclose (plugins[idx]->handle); - free_ (plugins[idx]->PATH, plugins[idx], NULL); - - idx += 1; - } - - plugins = (plugin_t**)realloc_ (plugins, sizeof(plugin_t*)); - plugins[0] = NULL; -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/plugin.h b/features/smtp/lib/libsmtp---0.1.0/src/plugin.h deleted file mode 100644 index 480683f..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/plugin.h +++ /dev/null @@ -1,165 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * plugin.c implements the libsmtp-- plugin specification. * - * * - ************************************************************************/ - -#ifndef __PLUGIN_H__ -#define __PLUGIN_H__ - -#include -#include -#include "smtp.h" - -#ifdef __MACOS_ -#include "dlfcn.h" -#else -#include -#endif /* __MACOS_ */ - -#ifdef __cplusplus -extern "C" { -#endif - -/* forward declaration */ -struct smtp_srv_t; - -/** - * The prototype for the plg_authenticate() function that must - * be implemented by the plugin. - * - * @param srv The SMTP server object. - * - * @returns 0 on success and -1 on any error. - */ -typedef int plg_authenticate_t (struct smtp_srv_t * srv); - -/** - * The prototype for the plg_read() function that must - * be implemented by the plugin. - * - * @param srv The SMTP server object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -typedef int plg_read_t (struct smtp_srv_t * srv, - const char * buf, - unsigned int bufsiz); - -/** - * The prototype for the plg_write() function that must - * be implemented by the plugin. - * - * @param srv The SMTP server object. - * @param buf The buffer that should be written to the socket. - * @param bufsiz The number of bytes that should be written to the socket. - * - * @returns The number of bytes actually written or -1 if an error - * occured. - */ -typedef int plg_write_t (struct smtp_srv_t * srv, - const char * buf, - unsigned int bufsiz); - -/** - * The prototype for the plg_init() function that must - * be implemented by the plugin. - */ -typedef void plg_init_t (); - -/** - * The prototype for the plg_cleanup() function that must - * be implemented by the plugin. - */ -typedef void plg_cleanup_t (); - -/** - * plugin_t holds all information about one - * plugin object. - */ -typedef struct plugin_t -{ - plg_init_t *plg_init; - plg_cleanup_t *plg_cleanup; - plg_authenticate_t *plg_authenticate; - plg_read_t *plg_read; - plg_write_t *plg_write; - char *PATH; - char *NAME; - char *SASL; - char *COMMENT; - unsigned char WEIGHT; - void *handle; -} plugin_t; - -/** - * plg_plugins() returns the array of available plugins. The - * last element of this array is NULL. - * - * @returns The available plugins in form of a NULL terminated - * array. - */ -plugin_t ** plg_plugins (); - -/** - * plg_load_plugin() tries to load the plugin at path and - * adds the plugin to the array of available plugins if - * plg_load_plugin() was successfull. - * - * @param path The path to the plugin. - * - * @returns 0 on success and -1 on any error. - */ -int plg_load_plugin (const char * path); - -/** - * plg_load_plugins() tries to load all plugins with the - * extension "*.so" from the directory pointed to by - * path. - * - * @param path The directory where the plugins are located. - * - * @returns 0 on success and -1 on any error. - */ -int plg_load_plugins (const char * path); - -/** - * plg_remove_plugin() removes the plugins with - * plg->NAME == NAME. - * - * @param NAME The plugin that should be removed. - * - * @returns 0 on success and -1 on any error. - */ -int plg_remove_plugin (const char * NAME); - -/** - * plg_remove_plugins() removes all available plugins. - */ -void plg_remove_plugins (); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/entries b/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/entries deleted file mode 100644 index c6adbef..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/entries +++ /dev/null @@ -1,300 +0,0 @@ -10 - -dir -46 -svn://cuiz.me/cbenchmark/trunk/cbenchmark/features/smtp/lib/libsmtp---0.1.0/src/plugins -svn://cuiz.me - - - -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - -01675afb-4c4d-4bd7-85dd-1440927b3546 - -plg_cram_sha1.c -file - - - - -2011-06-28T07:31:19.000000Z -979ea5fef8f92f929123f16596715f34 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -7334 - -Makefile.in -file - - - - -2011-06-28T07:31:19.000000Z -4bd29ae4809e510c3fd57572a61013fe -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2161 - -plg_external.c -file - - - - -2011-06-28T07:31:19.000000Z -55278f8aaba5d494c9b9ed259105e052 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -5474 - -plg_plain.c -file - - - - -2011-06-28T07:31:19.000000Z -6b916c6249cdb69c947fd7929119e303 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -5653 - -plg_cram_md5.c -file - - - - -2011-06-28T07:31:19.000000Z -cf86a89ea7299107a89ab5561c0c19fb -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -7316 - -plg_anonymous.c -file - - - - -2011-06-28T07:31:19.000000Z -5acbb70a3c319bbf6ba2c880e8926330 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -5467 - -plg_login.c -file - - - - -2011-06-28T07:31:19.000000Z -c884ff40b21221857bfa8eb5571220a4 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -6088 - -Makefile -file - - - - -2011-06-28T07:31:19.000000Z -bbecf910c745d8b5f8c28ce72644e550 -2011-06-02T07:01:04.009901Z -35 -cuizheng - - - - - - - - - - - - - - - - - - - - - -2412 - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/Makefile.in.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/Makefile.in.svn-base deleted file mode 100644 index 5f83de0..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/Makefile.in.svn-base +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright (C) 2003 Timo Benk t_benk@web.de -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the -# Free Software Foundation, Inc., 59 Temple Place, Suite 330, -# Boston, MA 02111-1307 USA - -mandir = @mandir@ -sharedir = @datadir@ - -prefix = @prefix@ -exec_prefix = @exec_prefix@ -bindir = $(exec_prefix)/bin -libdir = $(exec_prefix)/lib -includedir = $(exec_prefix)/include - -LIBNAM = @libnam@ -LIBVER = @libver@ -LIBEXT = @libext@ -LIBCOMPAT = @libcompat@ -CC = @CC@ -CFLAGS = @CFLAGS@ @ssl@ @bldtyp_plg@ -LDFLAGS = @ldflags_plg@ -LIBS = @libs_plg@ -INSTALL = @INSTALL@ - -NO_SSL_OBJS= -SSL_OBJS=plg_anonymous.so plg_cram_md5.so plg_cram_sha1.so plg_external.so plg_login.so plg_plain.so - -OBJS = @objs@ - -all: $(OBJS) - @strip@ *.so - -clean: - /bin/rm -f *.o - /bin/rm -f *.so - /bin/rm -f *.a - -plg_anonymous.so: - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) plg_anonymous.c -o plg_anonymous.so - -plg_cram_md5.so: - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) plg_cram_md5.c -o plg_cram_md5.so - -plg_cram_sha1.so: - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) plg_cram_sha1.c -o plg_cram_sha1.so - -plg_external.so: - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) plg_external.c -o plg_external.so - -plg_login.so: - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) plg_login.c -o plg_login.so - -plg_plain.so: - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) plg_plain.c -o plg_plain.so - -install: all - $(INSTALL) -m 0755 -d $(libdir)/libsmtp-- - $(INSTALL) -m 0755 -d $(libdir)/libsmtp--/plugins - find . -name "*.so" -exec $(INSTALL) -m 0644 {} $(libdir)/libsmtp--/plugins \; - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/Makefile.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/Makefile.svn-base deleted file mode 100644 index 121e247..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/Makefile.svn-base +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright (C) 2003 Timo Benk t_benk@web.de -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the -# Free Software Foundation, Inc., 59 Temple Place, Suite 330, -# Boston, MA 02111-1307 USA - -mandir = ${prefix}/man -sharedir = ${prefix}/share - -prefix = /usr/local/libsmtp---0.1.0 -exec_prefix = ${prefix} -bindir = $(exec_prefix)/bin -libdir = $(exec_prefix)/lib -includedir = $(exec_prefix)/include - -LIBNAM = @libnam@ -LIBVER = @libver@ -LIBEXT = @libext@ -LIBCOMPAT = @libcompat@ -CC = gcc -CFLAGS = -g -O0 -pedantic -fno-builtin-log -fPIC -Wall -DPLUGINDIR=\"$(libdir)/libsmtp--/plugins\" -DLOCALEDIR=\"$(sharedir)/locale\" -DTEXTDOMAIN=\"libsmtp--\" -D__USE_SSL_ -LDFLAGS = -shared -L $(prefix)/lib/ -lsmtp-- -LIBS = -INSTALL = /usr/bin/install -c - -NO_SSL_OBJS= -SSL_OBJS=plg_anonymous.so plg_cram_md5.so plg_cram_sha1.so plg_external.so plg_login.so plg_plain.so - -OBJS = $(SSL_OBJS) $(NO_SSL_OBJS) - -all: $(OBJS) -# strip --remove-section=.note --remove-section=.comment *.so - -clean: - /bin/rm -f *.o - /bin/rm -f *.so - /bin/rm -f *.a - -plg_anonymous.so: - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) plg_anonymous.c -o plg_anonymous.so - -plg_cram_md5.so: - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) plg_cram_md5.c -o plg_cram_md5.so - -plg_cram_sha1.so: - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) plg_cram_sha1.c -o plg_cram_sha1.so - -plg_external.so: - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) plg_external.c -o plg_external.so - -plg_login.so: - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) plg_login.c -o plg_login.so - -plg_plain.so: - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) plg_plain.c -o plg_plain.so - -install: all - $(INSTALL) -m 0755 -d $(libdir)/libsmtp-- - $(INSTALL) -m 0755 -d $(libdir)/libsmtp--/plugins - find . -name "*.so" -exec $(INSTALL) -m 0644 {} $(libdir)/libsmtp--/plugins \; - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/plg_anonymous.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/plg_anonymous.c.svn-base deleted file mode 100644 index ab68628..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/plg_anonymous.c.svn-base +++ /dev/null @@ -1,158 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - ************************************************************************/ - -#include "../smtp.h" -#include "../algorithm.h" -#include "../alloc.h" -#include "../inetsocket.h" - -/** - * The name of the plugin. NAME should not be NULL. - */ -const char *NAME = "SASL plugin ANONYMOUS - Ver. 1.0"; - -/** - * The SASL keyword as it shows up in the AUTH line - * in the EHLO response from the SMTP server. - * SASL should not be NULL. - */ -const char *SASL = "ANONYMOUS"; - -/** - * A place for a comment. COMMENT should not be NULL. - */ -const char *COMMENT = "(C) Timo Benk 2003"; - -/** - * A bigger WEIGHT value means a higher priority in - * the plugin array. - * - * plugins[0]->WEIGHT == 250 - * plugins[1]->WEIGHT == 59 - * plugins[2]->WEIGHT == 54 - * ... - */ -const unsigned char WEIGHT = 10; - -/** - * plg_init() will be called once when the plugin is loaded. - */ -void plg_init () { /* do nothing */ } - -/** - * plg_cleanup() will be called once when the plugin is - * unloaded. - */ -void plg_cleanup () { /* do nothing */ } - -/** - * plg_authenticate() is called by libsmtp after a positive - * response to the EHLO command was received. All stuff - * needed for authentication should be implemented here. - * If plg_authenticate() fails for some reason, -1 must be - * returned and an appropriate error message must be set with - * the function err_set_error(). On success 0 is expected to - * be returned. - * - * @param srv The smtp_srv_t object. - * - * @returns 0 on success, otherwise -1. - */ -int plg_authenticate (smtp_srv_t * srv) -{ - char *enc, *rsp; - int siz; - - enc = (char*)malloc_ (2 * strlen (srv->username) + 4); - siz = alg_b64_encode (srv->username, strlen (srv->username), enc); - - if (smtp_write (srv, "AUTH ANONYMOUS ", 15) == -1) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - if (smtp_write (srv, enc, siz) == -1) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - free_ (rsp, enc, NULL); - return (0); -} - -/** - * plg_read() will be called by libsmtp anytime it reads - * from the underlying socket. If the SASL mechanism - * implements some sort of decryption, this is the place - * for it. - * If there is no need for decryption/modifying of the data - * block, ssl_read() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_read() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually stored in buf must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes that were stored in buf or -1 - * if an error occured. - */ -int plg_read (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_read (&srv->sck, buf, bufsiz)); -} - -/** - * plg_write() will be called by libsmtp anytime it writes - * to the underlying socket. If the SASL mechanism - * implements some sort of encryption, this is the place - * for it. - * If there is no need for encryption/modifying of the data - * block, ssl_write() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_write() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually written must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually written or -1 if an error - * occured. - */ -int plg_write (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_write (&srv->sck, buf, bufsiz)); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/plg_cram_md5.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/plg_cram_md5.c.svn-base deleted file mode 100644 index a7299dd..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/plg_cram_md5.c.svn-base +++ /dev/null @@ -1,226 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - ************************************************************************/ - -#include "../smtp.h" -#include "../algorithm.h" -#include "../alloc.h" -#include "../inetsocket.h" - -/** - * The name of the plugin. NAME should not be NULL. - */ -const char *NAME = "SASL plugin CRAM-MD5 - Ver. 1.0"; - -/** - * The SASL keyword as it shows up in the AUTH line - * in the EHLO response from the SMTP server. - * SASL should not be NULL. - */ -const char *SASL = "CRAM-MD5"; - -/** - * A place for a comment. COMMENT should not be NULL. - */ -const char *COMMENT = "(C) Timo Benk 2003"; - -/** - * A bigger WEIGHT value means a higher priority in - * the plugin array. - * - * plugins[0]->WEIGHT == 250 - * plugins[1]->WEIGHT == 59 - * plugins[2]->WEIGHT == 54 - * ... - */ -const unsigned char WEIGHT = 40; - -/** - * plg_init() will be called once when the plugin is loaded. - */ -void plg_init () { /* do nothing */ } - -/** - * plg_cleanup() will be called once when the plugin is - * unloaded. - */ -void plg_cleanup () { /* do nothing */ } - -/** - * plg_response() calculates the base64 encoded client response - * to the server challenge in msg. The returned string is - * malloc()ed and must be freed using free(). The length of the - * returned string is stored in siz. - * - * @param srv The smtp_srv_t object. - * @param msg The response of the SMTP server to the - * AUTH CRAM-MD5 command. - * @param siz The length of the returned string will be - * stored in siz. - * - * @returns A base64 encoded response calculated on base of the - * challenge received from the SMTP server. - */ -char * plg_response (smtp_srv_t * srv, char * msg, int *siz) -{ - char *buf, *enc_buf; - char dig[16], hex_dig[33]; - int usr_len, size; - - usr_len = strlen (srv->username); - - /* Challenge */ - str_trim (msg, " "); - buf = (char*)malloc_ (strlen (msg)); - - if (strlen (msg) <= 4) - { - err_set_error ("Invalid CRAM-MD5 challenge received.", NULL); - - free_ (buf, NULL); - return (NULL); - } - - size = alg_b64_decode (&msg[4], strlen (&msg[4]), buf); - - alg_hmac ((unsigned char*)buf, size, - (unsigned char*)srv->password, strlen (srv->password), - (unsigned char*)dig, H_MD5); - free_ (buf, NULL); - - str_hexify (hex_dig, dig, 16); - - /* Response: BASE64("USERNAME HEX_DIGEST") */ - buf = (char*)malloc_ (usr_len + 34); - sprintf (buf, "%s %.32s", srv->username, hex_dig); - - /* BASE64 encoding */ - enc_buf = (char*)malloc_ (2 * (usr_len + 33) + 4); - *siz = alg_b64_encode (buf, usr_len + 33, enc_buf); - - free_ (buf, NULL); - return (enc_buf); -} - -/** - * plg_authenticate() is called by libsmtp after a positive - * response to the EHLO command was received. All stuff - * needed for authentication should be implemented here. - * If plg_authenticate() fails for some reason, -1 must be - * returned and an appropriate error message must be set with - * the function err_set_error(). On success 0 is expected to - * be returned. - * - * @param srv The smtp_srv_t object. - * - * @returns 0 on success, otherwise -1. - */ -int plg_authenticate (smtp_srv_t * srv) -{ - char *rsp, *enc; - int siz; - - /* AUTH CRAM-MD5 */ - if (smtp_write (srv, "AUTH CRAM-MD5\r\n", 15) == -1) - { - return (-1); /* error msg is already set */ - } - - /* Challenge */ - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - return (-1); /* error msg is already set */ - } - - /* Response */ - if ((enc = plg_response (srv, rsp, &siz)) == NULL) - { - free_ (rsp, NULL); - return (-1); /* error msg is already set */ - } - free_ (rsp, NULL); - - if (smtp_write (srv, enc, siz) == -1) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - /* Authentication successfull ? */ - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - free_ (rsp, enc, NULL); - return (0); -} - -/** - * plg_read() will be called by libsmtp anytime it reads - * from the underlying socket. If the SASL mechanism - * implements some sort of decryption, this is the place - * for it. - * If there is no need for decryption/modifying of the data - * block, ssl_read() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_read() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually stored in buf must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes that were stored in buf or -1 - * if an error occured. - */ -int plg_read (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_read (&srv->sck, buf, bufsiz)); -} - -/** - * plg_write() will be called by libsmtp anytime it writes - * to the underlying socket. If the SASL mechanism - * implements some sort of encryption, this is the place - * for it. - * If there is no need for encryption/modifying of the data - * block, ssl_write() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_write() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually written must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually written or -1 if an error - * occured. - */ -int plg_write (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_write (&srv->sck, buf, bufsiz)); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/plg_cram_sha1.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/plg_cram_sha1.c.svn-base deleted file mode 100644 index 2bd4156..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/plg_cram_sha1.c.svn-base +++ /dev/null @@ -1,226 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - ************************************************************************/ - -#include "../smtp.h" -#include "../algorithm.h" -#include "../alloc.h" -#include "../inetsocket.h" - -/** - * The name of the plugin. NAME should not be NULL. - */ -const char *NAME = "SASL plugin CRAM-SHA1 [untested] - Ver. 1.0"; - -/** - * The SASL keyword as it shows up in the AUTH line - * in the EHLO response from the SMTP server. - * SASL should not be NULL. - */ -const char *SASL = "CRAM-SHA1"; - -/** - * A place for a comment. COMMENT should not be NULL. - */ -const char *COMMENT = "(C) Timo Benk 2003"; - -/** - * A bigger WEIGHT value means a higher priority in - * the plugin array. - * - * plugins[0]->WEIGHT == 250 - * plugins[1]->WEIGHT == 59 - * plugins[2]->WEIGHT == 54 - * ... - */ -const unsigned char WEIGHT = 50; - -/** - * plg_init() will be called once when the plugin is loaded. - */ -void plg_init () { /* do nothing */ } - -/** - * plg_cleanup() will be called once when the plugin is - * unloaded. - */ -void plg_cleanup () { /* do nothing */ } - -/** - * plg_response() calculates the base64 encoded client response - * to the server challenge in msg. The returned string is - * malloc()ed and must be freed using free(). The length of the - * returned string is stored in siz. - * - * @param srv The smtp_srv_t object. - * @param msg The response of the SMTP server to the - * AUTH CRAM-SHA1 command. - * @param siz The length of the returned string will be - * stored in siz. - * - * @returns A base64 encoded response calculated on base of the - * challenge received from the SMTP server. - */ -char * plg_response (smtp_srv_t * srv, char * msg, int *siz) -{ - char *buf, *enc_buf; - char dig[20], hex_dig[41]; - int usr_len, size; - - usr_len = strlen (srv->username); - - /* Challenge */ - str_trim (msg, " "); - buf = (char*)malloc_ (strlen (msg)); - - if (strlen (msg) <= 4) - { - err_set_error ("Invalid CRAM-SHA1 challenge received.", NULL); - - free_ (buf, NULL); - return (NULL); - } - - size = alg_b64_decode (&msg[4], strlen (&msg[4]), buf); - - alg_hmac ((unsigned char*)buf, size, - (unsigned char*)srv->password, strlen (srv->password), - (unsigned char*)dig, H_SHA1); - free_ (buf, NULL); - - str_hexify (hex_dig, dig, 20); - - /* Response: BASE64("USERNAME HEX_DIGEST") */ - buf = (char*)malloc_ (usr_len + 42); - sprintf (buf, "%s %.40s", srv->username, hex_dig); - - /* BASE64 encoding */ - enc_buf = (char*)malloc_ (2 * (usr_len + 41) + 4); - *siz = alg_b64_encode (buf, usr_len + 41, enc_buf); - - free_ (buf, NULL); - return (enc_buf); -} - -/** - * plg_authenticate() is called by libsmtp after a positive - * response to the EHLO command was received. All stuff - * needed for authentication should be implemented here. - * If plg_authenticate() fails for some reason, -1 must be - * returned and an appropriate error message must be set with - * the function err_set_error(). On success 0 is expected to - * be returned. - * - * @param srv The smtp_srv_t object. - * - * @returns 0 on success, otherwise -1. - */ -int plg_authenticate (smtp_srv_t * srv) -{ - char *rsp, *enc; - int siz; - - /* AUTH CRAM-SHA1 */ - if (smtp_write (srv, "AUTH CRAM-SHA1\r\n", 15) == -1) - { - return (-1); /* error msg is already set */ - } - - /* Challenge */ - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - return (-1); /* error msg is already set */ - } - - /* Response */ - if ((enc = plg_response (srv, rsp, &siz)) == NULL) - { - free_ (rsp, NULL); - return (-1); /* error msg is already set */ - } - free_ (rsp, NULL); - - if (smtp_write (srv, enc, siz) == -1) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - /* Authentication successfull ? */ - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - free_ (rsp, enc, NULL); - return (0); -} - -/** - * plg_read() will be called by libsmtp anytime it reads - * from the underlying socket. If the SASL mechanism - * implements some sort of decryption, this is the place - * for it. - * If there is no need for decryption/modifying of the data - * block, ssl_read() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_read() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually stored in buf must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes that were stored in buf or -1 - * if an error occured. - */ -int plg_read (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_read (&srv->sck, buf, bufsiz)); -} - -/** - * plg_write() will be called by libsmtp anytime it writes - * to the underlying socket. If the SASL mechanism - * implements some sort of encryption, this is the place - * for it. - * If there is no need for encryption/modifying of the data - * block, ssl_write() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_write() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually written must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually written or -1 if an error - * occured. - */ -int plg_write (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_write (&srv->sck, buf, bufsiz)); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/plg_external.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/plg_external.c.svn-base deleted file mode 100644 index ab8116a..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/plg_external.c.svn-base +++ /dev/null @@ -1,158 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - ************************************************************************/ - -#include "../smtp.h" -#include "../algorithm.h" -#include "../alloc.h" -#include "../inetsocket.h" - -/** - * The name of the plugin. NAME should not be NULL. - */ -const char *NAME = "SASL plugin EXTERNAL [untested] - Ver. 1.0"; - -/** - * The SASL keyword as it shows up in the AUTH line - * in the EHLO response from the SMTP server. - * SASL should not be NULL. - */ -const char *SASL = "EXTERNAL"; - -/** - * A place for a comment. COMMENT should not be NULL. - */ -const char *COMMENT = "(C) Timo Benk 2003"; - -/** - * A bigger WEIGHT value means a higher priority in - * the plugin array. - * - * plugins[0]->WEIGHT == 250 - * plugins[1]->WEIGHT == 59 - * plugins[2]->WEIGHT == 54 - * ... - */ -const unsigned char WEIGHT = 5; - -/** - * plg_init() will be called once when the plugin is loaded. - */ -void plg_init () { /* do nothing */ } - -/** - * plg_cleanup() will be called once when the plugin is - * unloaded. - */ -void plg_cleanup () { /* do nothing */ } - -/** - * plg_authenticate() is called by libsmtp after a positive - * response to the EHLO command was received. All stuff - * needed for authentication should be implemented here. - * If plg_authenticate() fails for some reason, -1 must be - * returned and an appropriate error message must be set with - * the function err_set_error(). On success 0 is expected to - * be returned. - * - * @param srv The smtp_srv_t object. - * - * @returns 0 on success, otherwise -1. - */ -int plg_authenticate (smtp_srv_t * srv) -{ - char *enc, *rsp; - int siz; - - enc = (char*)malloc_ (2 * strlen (srv->username) + 4); - siz = alg_b64_encode (srv->username, strlen (srv->username), enc); - - if (smtp_write (srv, "AUTH EXTERNAL ", 15) == -1) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - if (smtp_write (srv, enc, siz) == -1) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - free_ (rsp, enc, NULL); - return (0); -} - -/** - * plg_read() will be called by libsmtp anytime it reads - * from the underlying socket. If the SASL mechanism - * implements some sort of decryption, this is the place - * for it. - * If there is no need for decryption/modifying of the data - * block, ssl_read() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_read() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually stored in buf must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes that were stored in buf or -1 - * if an error occured. - */ -int plg_read (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_read (&srv->sck, buf, bufsiz)); -} - -/** - * plg_write() will be called by libsmtp anytime it writes - * to the underlying socket. If the SASL mechanism - * implements some sort of encryption, this is the place - * for it. - * If there is no need for encryption/modifying of the data - * block, ssl_write() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_write() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually written must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually written or -1 if an error - * occured. - */ -int plg_write (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_write (&srv->sck, buf, bufsiz)); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/plg_login.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/plg_login.c.svn-base deleted file mode 100644 index 4decbc2..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/plg_login.c.svn-base +++ /dev/null @@ -1,182 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - ************************************************************************/ - -#include "../smtp.h" -#include "../algorithm.h" -#include "../alloc.h" -#include "../inetsocket.h" - -/** - * The name of the plugin. NAME should not be NULL. - */ -const char *NAME = "SASL plugin LOGIN - Ver. 1.0"; - -/** - * The SASL keyword as it shows up in the AUTH line - * in the EHLO response from the SMTP server. - * SASL should not be NULL. - */ -const char *SASL = "LOGIN"; - -/** - * A place for a comment. COMMENT should not be NULL. - */ -const char *COMMENT = "(C) Timo Benk 2003"; - -/** - * A bigger WEIGHT value means a higher priority in - * the plugin array. - * - * plugins[0]->WEIGHT == 250 - * plugins[1]->WEIGHT == 59 - * plugins[2]->WEIGHT == 54 - * ... - */ -const unsigned char WEIGHT = 30; - -/** - * plg_init() will be called once when the plugin is loaded. - */ -void plg_init () { /* do nothing */ } - -/** - * plg_cleanup() will be called once when the plugin is - * unloaded. - */ -void plg_cleanup () { /* do nothing */ } - -/** - * plg_authenticate() is called by libsmtp after a positive - * response to the EHLO command was received. All stuff - * needed for authentication should be implemented here. - * If plg_authenticate() fails for some reason, -1 must be - * returned and an appropriate error message must be set with - * the function err_set_error(). On success 0 is expected to - * be returned. - * - * @param srv The smtp_srv_t object. - * - * @returns 0 on success, otherwise -1. - */ -int plg_authenticate (smtp_srv_t * srv) -{ - char *usr, *pwd, *rsp; - int siz; - - if (smtp_write (srv, "AUTH LOGIN\r\n", 12) == -1) - { - return (-1); /* error msg is already set */ - } - - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - return (-1); /* error msg is already set */ - } - free_ (rsp, NULL); - - /* username */ - usr = (char*)malloc_ (2*strlen (srv->username)+4); - siz = alg_b64_encode (srv->username, strlen (srv->username), usr); - - if (smtp_write (srv, usr, siz) == -1) - { - free_ (usr, NULL); - return (-1); /* error msg is already set */ - } - - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - free_ (usr, NULL); - return (-1); /* error msg is already set */ - } - free_ (rsp, usr, NULL); - - /* password */ - pwd = (char*)malloc_ (2*strlen (srv->password)+4); - siz = alg_b64_encode (srv->password, strlen (srv->password), pwd); - - if (smtp_write (srv, pwd, siz) == -1) - { - free_ (pwd, NULL); - return (-1); /* error msg is already set */ - } - - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - free_ (pwd, NULL); - return (-1); /* error msg is already set */ - } -// free_ (rsp, usr, NULL); - free_ (rsp, pwd, NULL); - - return (0); -} - -/** - * plg_read() will be called by libsmtp anytime it reads - * from the underlying socket. If the SASL mechanism - * implements some sort of decryption, this is the place - * for it. - * If there is no need for decryption/modifying of the data - * block, ssl_read() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_read() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually stored in buf must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes that were stored in buf or -1 - * if an error occured. - */ -int plg_read (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_read (&srv->sck, buf, bufsiz)); -} - -/** - * plg_write() will be called by libsmtp anytime it writes - * to the underlying socket. If the SASL mechanism - * implements some sort of encryption, this is the place - * for it. - * If there is no need for encryption/modifying of the data - * block, ssl_write() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_write() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually written must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually written or -1 if an error - * occured. - */ -int plg_write (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_write (&srv->sck, buf, bufsiz)); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/plg_plain.c.svn-base b/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/plg_plain.c.svn-base deleted file mode 100644 index 2298f67..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/plugins/.svn/text-base/plg_plain.c.svn-base +++ /dev/null @@ -1,164 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - ************************************************************************/ - -#include "../smtp.h" -#include "../algorithm.h" -#include "../alloc.h" -#include "../inetsocket.h" - -/** - * The name of the plugin. NAME should not be NULL. - */ -const char *NAME = "SASL plugin PLAIN - Ver. 1.0"; - -/** - * The SASL keyword as it shows up in the AUTH line - * in the EHLO response from the SMTP server. - * SASL should not be NULL. - */ -const char *SASL = "PLAIN"; - -/** - * A place for a comment. COMMENT should not be NULL. - */ -const char *COMMENT = "(C) Timo Benk 2003"; - -/** - * A bigger WEIGHT value means a higher priority in - * the plugin array. - * - * plugins[0]->WEIGHT == 250 - * plugins[1]->WEIGHT == 59 - * plugins[2]->WEIGHT == 54 - * ... - */ -const unsigned char WEIGHT = 20; - -/** - * plg_init() will be called once when the plugin is loaded. - */ -void plg_init () { /* do nothing */ } - -/** - * plg_cleanup() will be called once when the plugin is - * unloaded. - */ -void plg_cleanup () { /* do nothing */ } - -/** - * plg_authenticate() is called by libsmtp after a positive - * response to the EHLO command was received. All stuff - * needed for authentication should be implemented here. - * If plg_authenticate() fails for some reason, -1 must be - * returned and an appropriate error message must be set with - * the function err_set_error(). On success 0 is expected to - * be returned. - * - * @param srv The smtp_srv_t object. - * - * @returns 0 on success, otherwise -1. - */ -int plg_authenticate (smtp_srv_t * srv) -{ - char *cred, *enc, *rsp; - int len, siz; - - len = strlen (srv->username) + strlen (srv->password) + 3; - cred = (char*)malloc_ (len); - enc = (char*)malloc_ (2*len+4); - - /* "\0USERNAME\0PASSWORD" */ - sprintf (cred, "%c%s%c%s", '\0', srv->username, '\0', srv->password); - - siz = alg_b64_encode (cred, len-1, enc); - - if (smtp_write (srv, "AUTH PLAIN ", 11) == -1) - { - free_ (cred, enc, NULL); - return (-1); /* error msg is already set */ - } - - if (smtp_write (srv, enc, siz) == -1) - { - free_ (cred, enc, NULL); - return (-1); /* error msg is already set */ - } - - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - free_ (cred, enc, NULL); - return (-1); /* error msg is already set */ - } - - free_ (rsp, cred, enc, NULL); - return (0); -} - -/** - * plg_read() will be called by libsmtp anytime it reads - * from the underlying socket. If the SASL mechanism - * implements some sort of decryption, this is the place - * for it. - * If there is no need for decryption/modifying of the data - * block, ssl_read() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_read() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually stored in buf must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes that were stored in buf or -1 - * if an error occured. - */ -int plg_read (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_read (&srv->sck, buf, bufsiz)); -} - -/** - * plg_write() will be called by libsmtp anytime it writes - * to the underlying socket. If the SASL mechanism - * implements some sort of encryption, this is the place - * for it. - * If there is no need for encryption/modifying of the data - * block, ssl_write() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_write() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually written must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually written or -1 if an error - * occured. - */ -int plg_write (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_write (&srv->sck, buf, bufsiz)); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/plugins/Makefile b/features/smtp/lib/libsmtp---0.1.0/src/plugins/Makefile deleted file mode 100644 index 121e247..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/plugins/Makefile +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright (C) 2003 Timo Benk t_benk@web.de -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the -# Free Software Foundation, Inc., 59 Temple Place, Suite 330, -# Boston, MA 02111-1307 USA - -mandir = ${prefix}/man -sharedir = ${prefix}/share - -prefix = /usr/local/libsmtp---0.1.0 -exec_prefix = ${prefix} -bindir = $(exec_prefix)/bin -libdir = $(exec_prefix)/lib -includedir = $(exec_prefix)/include - -LIBNAM = @libnam@ -LIBVER = @libver@ -LIBEXT = @libext@ -LIBCOMPAT = @libcompat@ -CC = gcc -CFLAGS = -g -O0 -pedantic -fno-builtin-log -fPIC -Wall -DPLUGINDIR=\"$(libdir)/libsmtp--/plugins\" -DLOCALEDIR=\"$(sharedir)/locale\" -DTEXTDOMAIN=\"libsmtp--\" -D__USE_SSL_ -LDFLAGS = -shared -L $(prefix)/lib/ -lsmtp-- -LIBS = -INSTALL = /usr/bin/install -c - -NO_SSL_OBJS= -SSL_OBJS=plg_anonymous.so plg_cram_md5.so plg_cram_sha1.so plg_external.so plg_login.so plg_plain.so - -OBJS = $(SSL_OBJS) $(NO_SSL_OBJS) - -all: $(OBJS) -# strip --remove-section=.note --remove-section=.comment *.so - -clean: - /bin/rm -f *.o - /bin/rm -f *.so - /bin/rm -f *.a - -plg_anonymous.so: - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) plg_anonymous.c -o plg_anonymous.so - -plg_cram_md5.so: - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) plg_cram_md5.c -o plg_cram_md5.so - -plg_cram_sha1.so: - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) plg_cram_sha1.c -o plg_cram_sha1.so - -plg_external.so: - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) plg_external.c -o plg_external.so - -plg_login.so: - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) plg_login.c -o plg_login.so - -plg_plain.so: - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) plg_plain.c -o plg_plain.so - -install: all - $(INSTALL) -m 0755 -d $(libdir)/libsmtp-- - $(INSTALL) -m 0755 -d $(libdir)/libsmtp--/plugins - find . -name "*.so" -exec $(INSTALL) -m 0644 {} $(libdir)/libsmtp--/plugins \; - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/plugins/Makefile.in b/features/smtp/lib/libsmtp---0.1.0/src/plugins/Makefile.in deleted file mode 100644 index 5f83de0..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/plugins/Makefile.in +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright (C) 2003 Timo Benk t_benk@web.de -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the -# Free Software Foundation, Inc., 59 Temple Place, Suite 330, -# Boston, MA 02111-1307 USA - -mandir = @mandir@ -sharedir = @datadir@ - -prefix = @prefix@ -exec_prefix = @exec_prefix@ -bindir = $(exec_prefix)/bin -libdir = $(exec_prefix)/lib -includedir = $(exec_prefix)/include - -LIBNAM = @libnam@ -LIBVER = @libver@ -LIBEXT = @libext@ -LIBCOMPAT = @libcompat@ -CC = @CC@ -CFLAGS = @CFLAGS@ @ssl@ @bldtyp_plg@ -LDFLAGS = @ldflags_plg@ -LIBS = @libs_plg@ -INSTALL = @INSTALL@ - -NO_SSL_OBJS= -SSL_OBJS=plg_anonymous.so plg_cram_md5.so plg_cram_sha1.so plg_external.so plg_login.so plg_plain.so - -OBJS = @objs@ - -all: $(OBJS) - @strip@ *.so - -clean: - /bin/rm -f *.o - /bin/rm -f *.so - /bin/rm -f *.a - -plg_anonymous.so: - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) plg_anonymous.c -o plg_anonymous.so - -plg_cram_md5.so: - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) plg_cram_md5.c -o plg_cram_md5.so - -plg_cram_sha1.so: - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) plg_cram_sha1.c -o plg_cram_sha1.so - -plg_external.so: - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) plg_external.c -o plg_external.so - -plg_login.so: - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) plg_login.c -o plg_login.so - -plg_plain.so: - $(CC) $(LIBS) $(CFLAGS) $(LDFLAGS) plg_plain.c -o plg_plain.so - -install: all - $(INSTALL) -m 0755 -d $(libdir)/libsmtp-- - $(INSTALL) -m 0755 -d $(libdir)/libsmtp--/plugins - find . -name "*.so" -exec $(INSTALL) -m 0644 {} $(libdir)/libsmtp--/plugins \; - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/plugins/plg_anonymous.c b/features/smtp/lib/libsmtp---0.1.0/src/plugins/plg_anonymous.c deleted file mode 100644 index ab68628..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/plugins/plg_anonymous.c +++ /dev/null @@ -1,158 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - ************************************************************************/ - -#include "../smtp.h" -#include "../algorithm.h" -#include "../alloc.h" -#include "../inetsocket.h" - -/** - * The name of the plugin. NAME should not be NULL. - */ -const char *NAME = "SASL plugin ANONYMOUS - Ver. 1.0"; - -/** - * The SASL keyword as it shows up in the AUTH line - * in the EHLO response from the SMTP server. - * SASL should not be NULL. - */ -const char *SASL = "ANONYMOUS"; - -/** - * A place for a comment. COMMENT should not be NULL. - */ -const char *COMMENT = "(C) Timo Benk 2003"; - -/** - * A bigger WEIGHT value means a higher priority in - * the plugin array. - * - * plugins[0]->WEIGHT == 250 - * plugins[1]->WEIGHT == 59 - * plugins[2]->WEIGHT == 54 - * ... - */ -const unsigned char WEIGHT = 10; - -/** - * plg_init() will be called once when the plugin is loaded. - */ -void plg_init () { /* do nothing */ } - -/** - * plg_cleanup() will be called once when the plugin is - * unloaded. - */ -void plg_cleanup () { /* do nothing */ } - -/** - * plg_authenticate() is called by libsmtp after a positive - * response to the EHLO command was received. All stuff - * needed for authentication should be implemented here. - * If plg_authenticate() fails for some reason, -1 must be - * returned and an appropriate error message must be set with - * the function err_set_error(). On success 0 is expected to - * be returned. - * - * @param srv The smtp_srv_t object. - * - * @returns 0 on success, otherwise -1. - */ -int plg_authenticate (smtp_srv_t * srv) -{ - char *enc, *rsp; - int siz; - - enc = (char*)malloc_ (2 * strlen (srv->username) + 4); - siz = alg_b64_encode (srv->username, strlen (srv->username), enc); - - if (smtp_write (srv, "AUTH ANONYMOUS ", 15) == -1) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - if (smtp_write (srv, enc, siz) == -1) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - free_ (rsp, enc, NULL); - return (0); -} - -/** - * plg_read() will be called by libsmtp anytime it reads - * from the underlying socket. If the SASL mechanism - * implements some sort of decryption, this is the place - * for it. - * If there is no need for decryption/modifying of the data - * block, ssl_read() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_read() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually stored in buf must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes that were stored in buf or -1 - * if an error occured. - */ -int plg_read (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_read (&srv->sck, buf, bufsiz)); -} - -/** - * plg_write() will be called by libsmtp anytime it writes - * to the underlying socket. If the SASL mechanism - * implements some sort of encryption, this is the place - * for it. - * If there is no need for encryption/modifying of the data - * block, ssl_write() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_write() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually written must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually written or -1 if an error - * occured. - */ -int plg_write (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_write (&srv->sck, buf, bufsiz)); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/plugins/plg_cram_md5.c b/features/smtp/lib/libsmtp---0.1.0/src/plugins/plg_cram_md5.c deleted file mode 100644 index a7299dd..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/plugins/plg_cram_md5.c +++ /dev/null @@ -1,226 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - ************************************************************************/ - -#include "../smtp.h" -#include "../algorithm.h" -#include "../alloc.h" -#include "../inetsocket.h" - -/** - * The name of the plugin. NAME should not be NULL. - */ -const char *NAME = "SASL plugin CRAM-MD5 - Ver. 1.0"; - -/** - * The SASL keyword as it shows up in the AUTH line - * in the EHLO response from the SMTP server. - * SASL should not be NULL. - */ -const char *SASL = "CRAM-MD5"; - -/** - * A place for a comment. COMMENT should not be NULL. - */ -const char *COMMENT = "(C) Timo Benk 2003"; - -/** - * A bigger WEIGHT value means a higher priority in - * the plugin array. - * - * plugins[0]->WEIGHT == 250 - * plugins[1]->WEIGHT == 59 - * plugins[2]->WEIGHT == 54 - * ... - */ -const unsigned char WEIGHT = 40; - -/** - * plg_init() will be called once when the plugin is loaded. - */ -void plg_init () { /* do nothing */ } - -/** - * plg_cleanup() will be called once when the plugin is - * unloaded. - */ -void plg_cleanup () { /* do nothing */ } - -/** - * plg_response() calculates the base64 encoded client response - * to the server challenge in msg. The returned string is - * malloc()ed and must be freed using free(). The length of the - * returned string is stored in siz. - * - * @param srv The smtp_srv_t object. - * @param msg The response of the SMTP server to the - * AUTH CRAM-MD5 command. - * @param siz The length of the returned string will be - * stored in siz. - * - * @returns A base64 encoded response calculated on base of the - * challenge received from the SMTP server. - */ -char * plg_response (smtp_srv_t * srv, char * msg, int *siz) -{ - char *buf, *enc_buf; - char dig[16], hex_dig[33]; - int usr_len, size; - - usr_len = strlen (srv->username); - - /* Challenge */ - str_trim (msg, " "); - buf = (char*)malloc_ (strlen (msg)); - - if (strlen (msg) <= 4) - { - err_set_error ("Invalid CRAM-MD5 challenge received.", NULL); - - free_ (buf, NULL); - return (NULL); - } - - size = alg_b64_decode (&msg[4], strlen (&msg[4]), buf); - - alg_hmac ((unsigned char*)buf, size, - (unsigned char*)srv->password, strlen (srv->password), - (unsigned char*)dig, H_MD5); - free_ (buf, NULL); - - str_hexify (hex_dig, dig, 16); - - /* Response: BASE64("USERNAME HEX_DIGEST") */ - buf = (char*)malloc_ (usr_len + 34); - sprintf (buf, "%s %.32s", srv->username, hex_dig); - - /* BASE64 encoding */ - enc_buf = (char*)malloc_ (2 * (usr_len + 33) + 4); - *siz = alg_b64_encode (buf, usr_len + 33, enc_buf); - - free_ (buf, NULL); - return (enc_buf); -} - -/** - * plg_authenticate() is called by libsmtp after a positive - * response to the EHLO command was received. All stuff - * needed for authentication should be implemented here. - * If plg_authenticate() fails for some reason, -1 must be - * returned and an appropriate error message must be set with - * the function err_set_error(). On success 0 is expected to - * be returned. - * - * @param srv The smtp_srv_t object. - * - * @returns 0 on success, otherwise -1. - */ -int plg_authenticate (smtp_srv_t * srv) -{ - char *rsp, *enc; - int siz; - - /* AUTH CRAM-MD5 */ - if (smtp_write (srv, "AUTH CRAM-MD5\r\n", 15) == -1) - { - return (-1); /* error msg is already set */ - } - - /* Challenge */ - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - return (-1); /* error msg is already set */ - } - - /* Response */ - if ((enc = plg_response (srv, rsp, &siz)) == NULL) - { - free_ (rsp, NULL); - return (-1); /* error msg is already set */ - } - free_ (rsp, NULL); - - if (smtp_write (srv, enc, siz) == -1) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - /* Authentication successfull ? */ - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - free_ (rsp, enc, NULL); - return (0); -} - -/** - * plg_read() will be called by libsmtp anytime it reads - * from the underlying socket. If the SASL mechanism - * implements some sort of decryption, this is the place - * for it. - * If there is no need for decryption/modifying of the data - * block, ssl_read() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_read() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually stored in buf must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes that were stored in buf or -1 - * if an error occured. - */ -int plg_read (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_read (&srv->sck, buf, bufsiz)); -} - -/** - * plg_write() will be called by libsmtp anytime it writes - * to the underlying socket. If the SASL mechanism - * implements some sort of encryption, this is the place - * for it. - * If there is no need for encryption/modifying of the data - * block, ssl_write() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_write() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually written must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually written or -1 if an error - * occured. - */ -int plg_write (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_write (&srv->sck, buf, bufsiz)); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/plugins/plg_cram_sha1.c b/features/smtp/lib/libsmtp---0.1.0/src/plugins/plg_cram_sha1.c deleted file mode 100644 index 2bd4156..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/plugins/plg_cram_sha1.c +++ /dev/null @@ -1,226 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - ************************************************************************/ - -#include "../smtp.h" -#include "../algorithm.h" -#include "../alloc.h" -#include "../inetsocket.h" - -/** - * The name of the plugin. NAME should not be NULL. - */ -const char *NAME = "SASL plugin CRAM-SHA1 [untested] - Ver. 1.0"; - -/** - * The SASL keyword as it shows up in the AUTH line - * in the EHLO response from the SMTP server. - * SASL should not be NULL. - */ -const char *SASL = "CRAM-SHA1"; - -/** - * A place for a comment. COMMENT should not be NULL. - */ -const char *COMMENT = "(C) Timo Benk 2003"; - -/** - * A bigger WEIGHT value means a higher priority in - * the plugin array. - * - * plugins[0]->WEIGHT == 250 - * plugins[1]->WEIGHT == 59 - * plugins[2]->WEIGHT == 54 - * ... - */ -const unsigned char WEIGHT = 50; - -/** - * plg_init() will be called once when the plugin is loaded. - */ -void plg_init () { /* do nothing */ } - -/** - * plg_cleanup() will be called once when the plugin is - * unloaded. - */ -void plg_cleanup () { /* do nothing */ } - -/** - * plg_response() calculates the base64 encoded client response - * to the server challenge in msg. The returned string is - * malloc()ed and must be freed using free(). The length of the - * returned string is stored in siz. - * - * @param srv The smtp_srv_t object. - * @param msg The response of the SMTP server to the - * AUTH CRAM-SHA1 command. - * @param siz The length of the returned string will be - * stored in siz. - * - * @returns A base64 encoded response calculated on base of the - * challenge received from the SMTP server. - */ -char * plg_response (smtp_srv_t * srv, char * msg, int *siz) -{ - char *buf, *enc_buf; - char dig[20], hex_dig[41]; - int usr_len, size; - - usr_len = strlen (srv->username); - - /* Challenge */ - str_trim (msg, " "); - buf = (char*)malloc_ (strlen (msg)); - - if (strlen (msg) <= 4) - { - err_set_error ("Invalid CRAM-SHA1 challenge received.", NULL); - - free_ (buf, NULL); - return (NULL); - } - - size = alg_b64_decode (&msg[4], strlen (&msg[4]), buf); - - alg_hmac ((unsigned char*)buf, size, - (unsigned char*)srv->password, strlen (srv->password), - (unsigned char*)dig, H_SHA1); - free_ (buf, NULL); - - str_hexify (hex_dig, dig, 20); - - /* Response: BASE64("USERNAME HEX_DIGEST") */ - buf = (char*)malloc_ (usr_len + 42); - sprintf (buf, "%s %.40s", srv->username, hex_dig); - - /* BASE64 encoding */ - enc_buf = (char*)malloc_ (2 * (usr_len + 41) + 4); - *siz = alg_b64_encode (buf, usr_len + 41, enc_buf); - - free_ (buf, NULL); - return (enc_buf); -} - -/** - * plg_authenticate() is called by libsmtp after a positive - * response to the EHLO command was received. All stuff - * needed for authentication should be implemented here. - * If plg_authenticate() fails for some reason, -1 must be - * returned and an appropriate error message must be set with - * the function err_set_error(). On success 0 is expected to - * be returned. - * - * @param srv The smtp_srv_t object. - * - * @returns 0 on success, otherwise -1. - */ -int plg_authenticate (smtp_srv_t * srv) -{ - char *rsp, *enc; - int siz; - - /* AUTH CRAM-SHA1 */ - if (smtp_write (srv, "AUTH CRAM-SHA1\r\n", 15) == -1) - { - return (-1); /* error msg is already set */ - } - - /* Challenge */ - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - return (-1); /* error msg is already set */ - } - - /* Response */ - if ((enc = plg_response (srv, rsp, &siz)) == NULL) - { - free_ (rsp, NULL); - return (-1); /* error msg is already set */ - } - free_ (rsp, NULL); - - if (smtp_write (srv, enc, siz) == -1) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - /* Authentication successfull ? */ - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - free_ (rsp, enc, NULL); - return (0); -} - -/** - * plg_read() will be called by libsmtp anytime it reads - * from the underlying socket. If the SASL mechanism - * implements some sort of decryption, this is the place - * for it. - * If there is no need for decryption/modifying of the data - * block, ssl_read() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_read() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually stored in buf must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes that were stored in buf or -1 - * if an error occured. - */ -int plg_read (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_read (&srv->sck, buf, bufsiz)); -} - -/** - * plg_write() will be called by libsmtp anytime it writes - * to the underlying socket. If the SASL mechanism - * implements some sort of encryption, this is the place - * for it. - * If there is no need for encryption/modifying of the data - * block, ssl_write() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_write() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually written must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually written or -1 if an error - * occured. - */ -int plg_write (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_write (&srv->sck, buf, bufsiz)); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/plugins/plg_external.c b/features/smtp/lib/libsmtp---0.1.0/src/plugins/plg_external.c deleted file mode 100644 index ab8116a..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/plugins/plg_external.c +++ /dev/null @@ -1,158 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - ************************************************************************/ - -#include "../smtp.h" -#include "../algorithm.h" -#include "../alloc.h" -#include "../inetsocket.h" - -/** - * The name of the plugin. NAME should not be NULL. - */ -const char *NAME = "SASL plugin EXTERNAL [untested] - Ver. 1.0"; - -/** - * The SASL keyword as it shows up in the AUTH line - * in the EHLO response from the SMTP server. - * SASL should not be NULL. - */ -const char *SASL = "EXTERNAL"; - -/** - * A place for a comment. COMMENT should not be NULL. - */ -const char *COMMENT = "(C) Timo Benk 2003"; - -/** - * A bigger WEIGHT value means a higher priority in - * the plugin array. - * - * plugins[0]->WEIGHT == 250 - * plugins[1]->WEIGHT == 59 - * plugins[2]->WEIGHT == 54 - * ... - */ -const unsigned char WEIGHT = 5; - -/** - * plg_init() will be called once when the plugin is loaded. - */ -void plg_init () { /* do nothing */ } - -/** - * plg_cleanup() will be called once when the plugin is - * unloaded. - */ -void plg_cleanup () { /* do nothing */ } - -/** - * plg_authenticate() is called by libsmtp after a positive - * response to the EHLO command was received. All stuff - * needed for authentication should be implemented here. - * If plg_authenticate() fails for some reason, -1 must be - * returned and an appropriate error message must be set with - * the function err_set_error(). On success 0 is expected to - * be returned. - * - * @param srv The smtp_srv_t object. - * - * @returns 0 on success, otherwise -1. - */ -int plg_authenticate (smtp_srv_t * srv) -{ - char *enc, *rsp; - int siz; - - enc = (char*)malloc_ (2 * strlen (srv->username) + 4); - siz = alg_b64_encode (srv->username, strlen (srv->username), enc); - - if (smtp_write (srv, "AUTH EXTERNAL ", 15) == -1) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - if (smtp_write (srv, enc, siz) == -1) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - free_ (enc, NULL); - return (-1); /* error msg is already set */ - } - - free_ (rsp, enc, NULL); - return (0); -} - -/** - * plg_read() will be called by libsmtp anytime it reads - * from the underlying socket. If the SASL mechanism - * implements some sort of decryption, this is the place - * for it. - * If there is no need for decryption/modifying of the data - * block, ssl_read() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_read() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually stored in buf must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes that were stored in buf or -1 - * if an error occured. - */ -int plg_read (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_read (&srv->sck, buf, bufsiz)); -} - -/** - * plg_write() will be called by libsmtp anytime it writes - * to the underlying socket. If the SASL mechanism - * implements some sort of encryption, this is the place - * for it. - * If there is no need for encryption/modifying of the data - * block, ssl_write() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_write() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually written must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually written or -1 if an error - * occured. - */ -int plg_write (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_write (&srv->sck, buf, bufsiz)); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/plugins/plg_login.c b/features/smtp/lib/libsmtp---0.1.0/src/plugins/plg_login.c deleted file mode 100644 index 4decbc2..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/plugins/plg_login.c +++ /dev/null @@ -1,182 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - ************************************************************************/ - -#include "../smtp.h" -#include "../algorithm.h" -#include "../alloc.h" -#include "../inetsocket.h" - -/** - * The name of the plugin. NAME should not be NULL. - */ -const char *NAME = "SASL plugin LOGIN - Ver. 1.0"; - -/** - * The SASL keyword as it shows up in the AUTH line - * in the EHLO response from the SMTP server. - * SASL should not be NULL. - */ -const char *SASL = "LOGIN"; - -/** - * A place for a comment. COMMENT should not be NULL. - */ -const char *COMMENT = "(C) Timo Benk 2003"; - -/** - * A bigger WEIGHT value means a higher priority in - * the plugin array. - * - * plugins[0]->WEIGHT == 250 - * plugins[1]->WEIGHT == 59 - * plugins[2]->WEIGHT == 54 - * ... - */ -const unsigned char WEIGHT = 30; - -/** - * plg_init() will be called once when the plugin is loaded. - */ -void plg_init () { /* do nothing */ } - -/** - * plg_cleanup() will be called once when the plugin is - * unloaded. - */ -void plg_cleanup () { /* do nothing */ } - -/** - * plg_authenticate() is called by libsmtp after a positive - * response to the EHLO command was received. All stuff - * needed for authentication should be implemented here. - * If plg_authenticate() fails for some reason, -1 must be - * returned and an appropriate error message must be set with - * the function err_set_error(). On success 0 is expected to - * be returned. - * - * @param srv The smtp_srv_t object. - * - * @returns 0 on success, otherwise -1. - */ -int plg_authenticate (smtp_srv_t * srv) -{ - char *usr, *pwd, *rsp; - int siz; - - if (smtp_write (srv, "AUTH LOGIN\r\n", 12) == -1) - { - return (-1); /* error msg is already set */ - } - - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - return (-1); /* error msg is already set */ - } - free_ (rsp, NULL); - - /* username */ - usr = (char*)malloc_ (2*strlen (srv->username)+4); - siz = alg_b64_encode (srv->username, strlen (srv->username), usr); - - if (smtp_write (srv, usr, siz) == -1) - { - free_ (usr, NULL); - return (-1); /* error msg is already set */ - } - - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - free_ (usr, NULL); - return (-1); /* error msg is already set */ - } - free_ (rsp, usr, NULL); - - /* password */ - pwd = (char*)malloc_ (2*strlen (srv->password)+4); - siz = alg_b64_encode (srv->password, strlen (srv->password), pwd); - - if (smtp_write (srv, pwd, siz) == -1) - { - free_ (pwd, NULL); - return (-1); /* error msg is already set */ - } - - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - free_ (pwd, NULL); - return (-1); /* error msg is already set */ - } -// free_ (rsp, usr, NULL); - free_ (rsp, pwd, NULL); - - return (0); -} - -/** - * plg_read() will be called by libsmtp anytime it reads - * from the underlying socket. If the SASL mechanism - * implements some sort of decryption, this is the place - * for it. - * If there is no need for decryption/modifying of the data - * block, ssl_read() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_read() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually stored in buf must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes that were stored in buf or -1 - * if an error occured. - */ -int plg_read (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_read (&srv->sck, buf, bufsiz)); -} - -/** - * plg_write() will be called by libsmtp anytime it writes - * to the underlying socket. If the SASL mechanism - * implements some sort of encryption, this is the place - * for it. - * If there is no need for encryption/modifying of the data - * block, ssl_write() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_write() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually written must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually written or -1 if an error - * occured. - */ -int plg_write (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_write (&srv->sck, buf, bufsiz)); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/plugins/plg_plain.c b/features/smtp/lib/libsmtp---0.1.0/src/plugins/plg_plain.c deleted file mode 100644 index 2298f67..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/plugins/plg_plain.c +++ /dev/null @@ -1,164 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - ************************************************************************/ - -#include "../smtp.h" -#include "../algorithm.h" -#include "../alloc.h" -#include "../inetsocket.h" - -/** - * The name of the plugin. NAME should not be NULL. - */ -const char *NAME = "SASL plugin PLAIN - Ver. 1.0"; - -/** - * The SASL keyword as it shows up in the AUTH line - * in the EHLO response from the SMTP server. - * SASL should not be NULL. - */ -const char *SASL = "PLAIN"; - -/** - * A place for a comment. COMMENT should not be NULL. - */ -const char *COMMENT = "(C) Timo Benk 2003"; - -/** - * A bigger WEIGHT value means a higher priority in - * the plugin array. - * - * plugins[0]->WEIGHT == 250 - * plugins[1]->WEIGHT == 59 - * plugins[2]->WEIGHT == 54 - * ... - */ -const unsigned char WEIGHT = 20; - -/** - * plg_init() will be called once when the plugin is loaded. - */ -void plg_init () { /* do nothing */ } - -/** - * plg_cleanup() will be called once when the plugin is - * unloaded. - */ -void plg_cleanup () { /* do nothing */ } - -/** - * plg_authenticate() is called by libsmtp after a positive - * response to the EHLO command was received. All stuff - * needed for authentication should be implemented here. - * If plg_authenticate() fails for some reason, -1 must be - * returned and an appropriate error message must be set with - * the function err_set_error(). On success 0 is expected to - * be returned. - * - * @param srv The smtp_srv_t object. - * - * @returns 0 on success, otherwise -1. - */ -int plg_authenticate (smtp_srv_t * srv) -{ - char *cred, *enc, *rsp; - int len, siz; - - len = strlen (srv->username) + strlen (srv->password) + 3; - cred = (char*)malloc_ (len); - enc = (char*)malloc_ (2*len+4); - - /* "\0USERNAME\0PASSWORD" */ - sprintf (cred, "%c%s%c%s", '\0', srv->username, '\0', srv->password); - - siz = alg_b64_encode (cred, len-1, enc); - - if (smtp_write (srv, "AUTH PLAIN ", 11) == -1) - { - free_ (cred, enc, NULL); - return (-1); /* error msg is already set */ - } - - if (smtp_write (srv, enc, siz) == -1) - { - free_ (cred, enc, NULL); - return (-1); /* error msg is already set */ - } - - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - free_ (cred, enc, NULL); - return (-1); /* error msg is already set */ - } - - free_ (rsp, cred, enc, NULL); - return (0); -} - -/** - * plg_read() will be called by libsmtp anytime it reads - * from the underlying socket. If the SASL mechanism - * implements some sort of decryption, this is the place - * for it. - * If there is no need for decryption/modifying of the data - * block, ssl_read() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_read() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually stored in buf must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes that were stored in buf or -1 - * if an error occured. - */ -int plg_read (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_read (&srv->sck, buf, bufsiz)); -} - -/** - * plg_write() will be called by libsmtp anytime it writes - * to the underlying socket. If the SASL mechanism - * implements some sort of encryption, this is the place - * for it. - * If there is no need for encryption/modifying of the data - * block, ssl_write() must be called using srv->sck, buf and - * bufsiz as parameter values. - * If plg_write() fails for some reason, -1 must be returned - * and an appropriate error message must be set with - * the function err_set_error(). On success the number of - * bytes that were actually written must be returned. - * - * @param srv The smtp_srv_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually written or -1 if an error - * occured. - */ -int plg_write (smtp_srv_t * srv, const char * buf, unsigned int bufsiz) -{ - return (ssl_write (&srv->sck, buf, bufsiz)); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/smtp.c b/features/smtp/lib/libsmtp---0.1.0/src/smtp.c deleted file mode 100644 index 7d654e7..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/smtp.c +++ /dev/null @@ -1,1103 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * smtp.c implements the SMTP protocol specification. * - * * - ************************************************************************/ - -#include "smtp.h" - -/** - * smtp_write() sends data to the SMTP server. All lines - * ending in not preceeded by will be converted - * to as . - * - * @param srv The smtp_srv_t object. - * @param data The data that should be send. - * @param siz The size of data in bytes. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_write (smtp_srv_t * srv, const char * data, int siz) -{ - int idx, ret, buf_idx, bytes; - char buf[4096]; /* send 4k blocks of data, any better idea ? */ - char log_msg[5006]; -#ifdef __PRETTY_LOG_ - char *p_ptr, *tok; -#endif /* __PRETTY_LOG_ */ - - buf_idx = 0; - for (idx = 0; idx < siz; idx++) - { - /* unix2dos */ - if (data[idx] == '\n' && (idx == 0 || data[idx-1] != '\r')) - { - buf[buf_idx++] = '\r'; - buf[buf_idx++] = '\n'; - } - /* mac2dos */ - else if ((data[idx] == '\r' && idx == (siz-1)) || - (data[idx] == '\r' && idx < (siz-1) && data[idx+1] != '\n')) - { - buf[buf_idx++] = '\r'; - buf[buf_idx++] = '\n'; - } - else - { - buf[buf_idx++] = data[idx]; - } - - if (buf_idx >= (4094) || idx == (siz-1)) - { - buf[buf_idx] = '\0'; - buf_idx = 0; - - bytes = 0; - while (bytes < strlen (buf)) - { - if (srv->plg != NULL) - { - if ((ret = srv->plg->plg_write (srv, buf+bytes, strlen (buf)-bytes)) == -1) - { - return (-1); /* error msg is already set */ - } - } - else - { -#ifdef __USE_SSL_ - if ((ret = ssl_write (&srv->sck, buf+bytes, strlen (buf)-bytes)) == -1) - { - return (-1); /* error msg is already set */ - } -#else - if ((ret = sck_write (&srv->sck, buf+bytes, strlen (buf)-bytes)) == -1) - { - return (-1); /* error msg is already set */ - } -#endif /* __USE_SSL_ */ - } - - bytes += ret; - } - -#ifdef __PRETTY_LOG_ - /* linewise logging is very expensive */ - p_ptr = buf; - while (p_ptr != NULL) - { - tok = str_tok_ (p_ptr, &p_ptr, "\r\n"); - - sprintf (log_msg, "[CLIENT] %s", tok); - log (log_msg, LOG_LVL_VERBOSE); - - free_ (tok, NULL); - }; -#else - sprintf (log_msg, "[CLIENT] %s", buf); - log (log_msg, LOG_LVL_VERBOSE); -#endif /* __PRETTY_LOG_ */ - - } - }; - - return (0); -} - -/** - * smtp_read_() reads one line from the SMTP server, - * which must be already connected. Any trailing '\r' - * will be removed if present. The resulting string is - * malloc()ed and must be freed using free(). - * - * @param srv The SMTP server object. - * - * @returns A pointer to the resulting string or NULL - * if smtp_read_() failed. The string will be NULL - * terminated. - */ -char * smtp_read_ (smtp_srv_t * srv) -{ - int idx = 0; - int bufsiz = 4096; - char *buf = (char*)malloc_ (bufsiz); - char *msg; - - do { - if (srv->plg != NULL) - { - if (srv->plg->plg_read (srv, &buf[idx++], 1) == -1) - { - free_ (buf, NULL); - return (NULL); /* error msg is already set */ - } - } - else - { -#ifdef __USE_SSL_ - if (ssl_read (&srv->sck, &buf[idx++], 1) == -1) - { - free_ (buf, NULL); - return (NULL); /* error msg is already set */ - } -#else - if (sck_read (&srv->sck, &buf[idx++], 1) == -1) - { - free_ (buf, NULL); - return (NULL); /* error msg is already set */ - } -#endif /* __USE_SSL_ */ - } - - if (idx == bufsiz) - { - bufsiz += 4096; - buf = (char*)realloc_ (buf, bufsiz); - } - } while (buf[idx-1] != '\n'); - - /* get rid of the trailing \r and ensure a terminating NULL - * character */ - if (buf[idx-2] == '\r') - { - strcpy (&buf[idx-2], "\n"); - } - else - { - strcpy (&buf[idx-1], "\n"); - } - - /* log the msg */ - msg = (char*)malloc_ (strlen (buf) + 10); - - sprintf (msg, "[SERVER] %s", buf); - log (msg, LOG_LVL_VERBOSE); - - free_ (msg, NULL); - - return (buf); -} - -/** - * smtp_eval_response() evaluates the response code given by - * the SMTP server msg. If the status code indicates a fatal - * error -1 will be returned, if the status code is non-fatal - * the response string will be log()ged with a verbosity level - * of LOG_LVL_ERROR. If some unknown status code is returned by - * the server smtp_eval_response() will also return -1. - * If is_221_fatal is 1, smtp_eval_response() will also return - * -1 if it receives the status code 221. - * - * @param srv The SMTP server object. - * @param rsp The response string received from the - * SMTP server. - * @param is_221_fatal Must be 1 if the SMTP reply code 221 is - * considered to be fatal, otherwise 0. - * - * @returns 0 on success and -1 if the status code in the response - * from the SMTP server indicates an error. - */ -static int smtp_eval_response (smtp_srv_t * srv, const char * rsp, int is_221_fatal) -{ - int idx = 0; - - char *fatal[] = - { - "421", "432", "450", "451", - "452", "454", "500", "501", - "502", "503", "504", "530", - "534", "535", "538", "550", - "552", "553", "554", NULL - }; - - char *notify[] = - { - "211", "214", "251", "252", - "551", NULL - }; - - char *ok[] = - { - "220", "221", "235", "250", - "334", "354", NULL - }; - - if (strlen (rsp) >= 3) - { - /* check for 221 if this is expected to be an error */ - if (is_221_fatal && strncmp (rsp, "221", 3) == 0) - { - err_set_error (TEXTDOMAIN, rsp, NULL); - return (-1); - } - - while (fatal[idx] != NULL) - { - if (strncmp (rsp, fatal[idx++], 3) == 0) - { - err_set_error (TEXTDOMAIN, rsp, NULL); - return (-1); - } - } - - idx = 0; - while (notify[idx] != NULL) - { - if (strncmp (rsp, notify[idx++], 3) == 0) - { - log (rsp, LOG_LVL_ERROR); - return (0); - } - } - - idx = 0; - while (ok[idx] != NULL) - { - if (strncmp (rsp, ok[idx++], 3) == 0) - { - return (0); - } - } - } - - /* this point should never be reached */ - err_set_error (TEXTDOMAIN, "Unknown message - »$0«", rsp, NULL); - return (-1); -} - -/** - * smtp_read_response_() reads the response from the SMTP server. - * The resulting string is malloc()ed and must be freed using - * free(). - * - * @param srv The SMTP server object. - * @param is_221_fatal Must be 1 if the SMTP reply code 221 is - * considered to be fatal, otherwise 0. - * - * - * @returns A pointer to the resulting string or NULL - * if smtp_read_response_() failed or a protocol error - * occured. The string will be NULL terminated. - */ -char * smtp_read_response_ (smtp_srv_t * srv, int is_221_fatal) -{ - char *response; - char *line; - - if ((line = smtp_read_ (srv)) == NULL) - { - return (NULL); /* error msg is already set */ - } - - if (smtp_eval_response (srv, line, is_221_fatal) == -1) - { - free_ (line, NULL); - return (NULL); /* error msg is already set */ - }; - - response = strdup_ (line); - - while (strlen (line) > 3 && line[3] == '-') - { - free_ (line, NULL); - - if ((line = smtp_read_ (srv)) == NULL) - { - free_ (response, NULL); - return (NULL); /* error msg is already set */ - } - - if (smtp_eval_response (srv, line, is_221_fatal) == -1) - { - free_ (response, line, NULL); - return (NULL); /* error msg is already set */ - }; - - response = (char*)realloc_ (response, strlen(response) + strlen (line) + 1); - strcat (response, line); - } - free_ (line, NULL); - - return (response); -} - -/** - * smtp_check_auth_method() checks if the SASL mechanism is - * supported by the server. - * - * @param srv The SMTP server object. - * @param rsp The response from the SMTP server to the - * EHLO command. - * @param sasl The SASL mechanism that should be proved. - * - * @returns 0 if the SASL mechanism is supported and -1 if it - * is not. - */ -static int smtp_check_auth_method (smtp_srv_t * srv, const char * rsp, const char *sasl) -{ - char *tok; - char *SASL = strdup_ (sasl); - char *RSP = strdup_ (rsp); - char *p_ptr = RSP; - - str_toupper (RSP, strlen (RSP)); - str_toupper (SASL, strlen (SASL)); - - while (p_ptr != NULL) - { - tok = str_tok_ (p_ptr, &p_ptr, "\n"); - - if (strstr (tok, "AUTH") != NULL) - { - if (strstr (tok, SASL) != NULL) - { - free_ (RSP, SASL, tok, NULL); - return (0); - } - } - - free_ (tok, NULL); - }; - - err_set_error (TEXTDOMAIN, - "Authentication method »$0« is not " - "supported by server.", sasl, NULL); - - free_ (RSP, SASL, NULL); - return (-1); -} - -/** - * smtp_best_auth_method() takes the response to the EHLO - * command from the SMTP server and returns the securest - * AUTH mechanism that we have in common. The string is - * directly taken from the plugin list, so it should not - * be modified or freed in any way. - * - * @param srv The SMTP server object. - * @param rsp The response from the SMTP server to the - * EHLO command. - * - * @returns The securest AUTH mechanism that we have in - * common or NULL if nothing suitable was found. - */ -static char * smtp_best_auth_method (smtp_srv_t * srv, const char *rsp) -{ - int idx = 0; - plugin_t **plg = plg_plugins (); - - while (plg[idx] != NULL) - { - if (smtp_check_auth_method (srv, rsp, plg[idx]->SASL) == 0) - { - return (plg[idx]->SASL); - } - - idx += 1; - } - - return (NULL); -} - -/** - * smtp_send_HELO() sends the HELO command. - * - * @param srv The SMTP server object. - * - * @returns 0 on success and -1 if smtp_send_HELO() - * failed or a protocol error occured. - */ -static int smtp_send_HELO (smtp_srv_t * srv) -{ - char *response; - char *msg; - - msg = (char*)malloc_ (strlen(srv->domain) + 8); - sprintf (msg, "HELO %s\r\n", srv->domain); - - if (smtp_write (srv, msg, strlen (msg)) == -1) - { - free_ (msg, NULL); - return (-1); /* error msg is already set */ - } - free_ (msg, NULL); - - if ((response = smtp_read_response_ (srv, 1)) == NULL) - { - return (-1); /* error msg is already set */ - } - free_ (response, NULL); - - return (0); -} - -/** - * smtp_authenticate() calls the plugin that handles the - * srv->SASL mechanism. It is upposed to be called by - * smtp_send_EHLO(). - * - * @param srv The smtp_srv_t object that should be used. - * - * @returns 0 on success and -1 on any error. - */ -static int smtp_authenticate (smtp_srv_t * srv) -{ - plugin_t **plg; - int idx = 0; - - if (srv->SASL != NULL) - { - plg = plg_plugins (); - while (plg[idx] != NULL) - { - char *SASL = strdup_ (plg[idx]->SASL); - str_toupper (SASL, strlen (SASL)); - - if (strcmp (SASL, srv->SASL) == 0) - { - srv->plg = plg[idx]; - - free_ (SASL, NULL); - return (srv->plg->plg_authenticate (srv)); - } - free_ (SASL, NULL); - - idx += 1; - } - - err_set_error (TEXTDOMAIN, "No plugin loaded for »$0«", srv->SASL, NULL); - return (-1); - } - - return (0); -} - -/** - * smtp_send_EHLO() sends the EHLO command. - * - * @param srv The SMTP server object. - * - * @returns 0 on success and -1 if smtp_send_EHLO() - * failed or a protocol error occured. - */ -static int smtp_send_EHLO (smtp_srv_t * srv) -{ - char *response; - char *msg; - - msg = (char*)malloc_ (strlen(srv->domain) + 8); - sprintf (msg, "EHLO %s\r\n", srv->domain); - - if (smtp_write (srv, msg, strlen (msg)) == -1) - { - free_ (msg, NULL); - return (-1); /* error msg is already set */ - } - free_ (msg, NULL); - - if ((response = smtp_read_response_ (srv, 1)) == NULL) - { - return (-1); /* error msg is already set */ - } - - /* determine the SASL mechanism that should be used and - * if it is supported */ - if (srv->SASL != NULL && strcmp (srv->SASL, "AUTO") == 0) - { - char * auth = smtp_best_auth_method (srv, response); - - free_ (srv->SASL, NULL); - srv->SASL = auth ? strdup_ (auth) : NULL; - } - else - { - if (smtp_check_auth_method (srv, response, srv->SASL) == -1) - { - free_ (response, NULL); - return (-1); /* error msg is already set */ - } - } - free_ (response, NULL); - - /* start the authentication */ - if (smtp_authenticate (srv) == -1) - { - return (-1); /* error msg is already set */ - } - - return (0); -} - -/** - * smtp_send_MAILFROM() sends the MAIL FROM command. - * - * @param srv The SMTP server object. - * @param from The address of the sender. - * - * @returns 0 on success and -1 if smtp_send_MAILFROM() - * failed or a protocol error occured. - */ -static int smtp_send_MAILFROM (smtp_srv_t * srv, const char * from) -{ - char *response; - char *msg; - - msg = (char*)malloc_ (strlen(from) + 16); - sprintf (msg, "MAIL FROM: <%s>\r\n", from); - - if (smtp_write (srv, msg, strlen (msg)) == -1) - { - free_ (msg, NULL); - return (-1); /* error msg is already set */ - } - free_ (msg, NULL); - - if ((response = smtp_read_response_ (srv, 1)) == NULL) - { - return (-1); /* error msg is already set */ - } - free_ (response, NULL); - - return (0); -} - -/** - * smtp_send_QUIT() sends the QUIT command. - * - * @param srv The SMTP server object. - * - * @returns 0 on success and -1 if smtp_send_QUIT() - * failed or a protocol error occured. - */ -static int smtp_send_QUIT (smtp_srv_t * srv) -{ - char *response; - - if (smtp_write (srv, "QUIT\r\n", 6) == -1) - { - return (-1); /* error msg is already set */ - } - - if ((response = smtp_read_response_ (srv, 0)) == NULL) - { - return (-1); /* error msg is already set */ - } - free_ (response, NULL); - - return (0); -} - -/** - * smtp_send_RCPTTO() sends the RCPTTO command. - * - * @param srv The SMTP server object. - * - * @returns 0 on success and -1 if smtp_send_RCPTTO() - * failed or a protocol error occured. - */ -static int smtp_send_RCPTTO (smtp_srv_t * srv, char ** rcpts) -{ - char *response; - char *msg; - int idx = 0, valid = 0; - - while (rcpts[idx] != NULL) - { - msg = (char*)malloc_ (strlen(rcpts[idx]) + 14); - sprintf (msg, "RCPT TO: <%s>\r\n", rcpts[idx]); - - if (smtp_write (srv, msg, strlen (msg)) == -1) - { - free_ (msg, NULL); - return (-1); /* error msg is already set */ - } - free_ (msg, NULL); - - if ((response = smtp_read_response_ (srv, 1)) == NULL) - { - log (err_str_error (), LOG_LVL_ERROR); - } - else - { - valid += 1; - free_ (response, NULL); - } - - idx += 1; - } - - /* we need at least one valid rcpt */ - if (valid == 0) - { - err_set_error (TEXTDOMAIN, "No valid recipient was given.", NULL); - return (-1); - } - return (0); -} - -/** - * smtp_init() initializes the smtp_srv_t struct srv and must - * be called once for each smtp_srv_t object before the other - * functions can be used. When the smtp_srv_t object is no longer - * needed it should be de-initialized with smtp_cleanup() to free - * unneeded resources. - * - * @param srv The smtp_srv_t object. - * @param domain The domain that should be used when sending the HELO cmd. - * @param from The envelope from address. - * @param server The host of the SMTP server. - * @param port The port the SMTP server is listening on. - * @param timeout Socket timout value in seconds. - */ -void smtp_init (smtp_srv_t * srv, - const char * domain, - const char * from, - const char * server, - unsigned int port, - unsigned int timeout) -{ - srv->domain = strdup_ (domain); - srv->from = strdup_ (from); - srv->server = strdup_ (server); - - srv->timeout = timeout; - srv->port = port; - - srv->first_part = 1; - - srv->plg = NULL; - srv->username = NULL; - srv->password = NULL; - srv->realm = NULL; - srv->SASL = NULL; - -#ifdef __USE_SSL_ - srv->ssl_type = NO_SSL; - ssl_init (&srv->sck); -#else - sck_init (&srv->sck); -#endif /* __USE_SSL_ */ -} - -/** - * smtp_cleanup() releases unneeded resources and must be called when - * the smtp_srv_t object is no longer needed. srv must be initialized - * by smtp_init() before, otherwise random errors may occur. - * - * @param srv The smtp_srv_t object. - */ -void smtp_cleanup (smtp_srv_t * srv) -{ - if (srv->domain) - free_ (srv->domain, NULL); - if (srv->from) - free_ (srv->from, NULL); - if (srv->server) - free_ (srv->server, NULL); - if (srv->username) - free_ (srv->username, NULL); - if (srv->password) - free_ (srv->password, NULL); - if (srv->realm) - free_ (srv->realm, NULL); - if (srv->SASL) - free_ (srv->SASL, NULL); - -#ifdef __USE_SSL_ - ssl_cleanup (&srv->sck); -#else - sck_cleanup (&srv->sck); -#endif /* __USE_SSL_ */ -} - -#ifdef __USE_SSL_ -/** - * smtp_ssl_opts() sets some SSL specific options. - * - * @param srv The smtp_srv_t object that should be used. - * @param ssl_type The ssl protocol flavor that should be used. - * @param opts The SSL verification level. - * @param ca_file A file that contains PEM certificates. Must - * be "" if opts == VERIFY_NONE. - * The file can contain several CA certificates - * identified by - * - * -----BEGIN CERTIFICATE----- - * - * ... [CA certificate in base64 encoding] ... - * - * -----END CERTIFICATE----- - * - * sequences. Before, between, and after the - * certificates text is allowed which - * can be used e.g. for descriptions of the - * certificates. - * - * Take a look in the openssl documentation to - * get more infos on that topic. - * @param ca_dir A directory that contains PEM certificates. Must - * be "" if opts == VERIFY_NONE. - * The files each contain one CA certificate. The files - * are looked up by the CA subject name hash value, which - * must hence be available. If more than one CA certificate - * with the same name hash value exist, the extension must be - * different (e.g. 9d66eef0.0, 9d66eef0.1 etc). The search - * is performed in the ordering of the extension number, - * regardless of other properties of the certificates. - * Use the c_rehash utility to create the necessary links. - * - * Take a look in the openssl documentation to - * get more infos on that topic. - */ -void smtp_ssl_opts (smtp_srv_t * srv, - ssl_type_t ssl_type, - ssl_opts_t opts, - const char * ca_file, - const char * ca_dir) -{ - srv->ssl_type = ssl_type; - ssl_set_opts (&srv->sck, opts, ca_file, ca_dir); -} - - -/** - * ssl_negotiate() starts the SSL handshake. - * - * @param srv The smtp_srv_t object that should be used. - * - * @returns -1 on an error, otherwise 0. - */ -static int smtp_ssl_handshake (smtp_srv_t * srv) -{ - char *rsp; - - if (srv->ssl_type != NO_SSL) - { - if (srv->ssl_type == STARTTLS) - { - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - return (-1); /* error msg is already set */ - } - free_ (rsp, NULL); - - if (smtp_write (srv, "STARTTLS\r\n", 10) == -1) - { - return (-1); /* error msg is already set */ - } - - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - return (-1); /* error msg is already set */ - } - free_ (rsp, NULL); - } - - if (ssl_negotiate (&srv->sck) == -1) - { - return (-1); /* error msg is already set */ - } - } - - return (0); -} -#endif /* __USE_SSL_ */ - -/** - * smtp_connect() connects to the smtp_srv_t object. - * - * @param srv The SMTP server object. - * - * @returns 0 on success and -1 on failure. - */ -int smtp_connect (smtp_srv_t * srv) -{ - char *response; - -#ifdef __USE_SSL_ - if (ssl_connect (&srv->sck, srv->server, srv->port, srv->timeout) == -1) - { - return (-1); /* error msg is already set */ - } -#else - if (sck_connect (&srv->sck, srv->server, srv->port, srv->timeout) == -1) - { - return (-1); /* error msg is already set */ - } -#endif /* __USE_SSL_ */ - -#ifdef __USE_SSL_ - if (srv->ssl_type != NO_SSL) - { - if (smtp_ssl_handshake (srv) == -1) - { - return (-1); /* error msg is already set */ - } - } - if (srv->ssl_type != STARTTLS) - { -#endif /* __USE_SSL_ */ - if ((response = smtp_read_response_ (srv, 1)) == NULL) - { - return (-1); - } - free_ (response, NULL); -#ifdef __USE_SSL_ - } -#endif /* __USE_SSL_ */ - - if (srv->SASL != NULL) - { - if (smtp_send_EHLO (srv) == -1) - { - return (-1); /* error msg is already set */ - } - } - else - { - if (smtp_send_HELO (srv) == -1) - { - return (-1); /* error msg is already set */ - } - } - - return (0); -} - -/** - * smtp_close() closes the connection to the SMTP server. - * - * @param srv The smtp_srv_t object that should be closed. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_close (smtp_srv_t * srv) -{ - int ret = 0; - - /* if the QUIT command fails for some reason we - * do not care and proceed closing the socket. */ - if (smtp_send_QUIT (srv) == -1) - { - ret = -1; - } - -#ifdef __USE_SSL_ - if (ssl_close (&srv->sck) == -1) - { - ret = -1; - } -#else - if (sck_close (&srv->sck) == -1) - { - ret = -1; - } -#endif /* __USE_SSL_ */ - - return (ret); -} - -/** - * smtp_send_msg() sends msg to all repipients in - * the array rcpts. The last element of rcpts must be - * NULL. The msg will be converted into dos format, - * conforming to rfc0821. - * - * @param srv The smtp_srv_t object that should be used. - * @param msg The msg that should be send. - * @param rcpts The list of recipients. The last element - * this array must be NULL. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_send_msg (smtp_srv_t * srv, const char * msg, char ** rcpts) -{ - return (smtp_send_big_msg (srv, msg, rcpts, 1)); -} - -/** - * smtp_send_big_msg() can be used instead of smtp_send_msg() if - * you send very big msgs. The memory allocated by smtp_send_msg() - * is up to 3 * strlen (message), which can be very much if you - * consider people sending files that are 50MB big or even more via - * email. Using smtp_send_big_msg() the memory allocated will be only - * 3 * strlen (part_message). The last element of rcpts must be NULL. - * The msg will be converted into dos format, conforming to rfc0821. - * - * Example: - * - * char *msg_1 = "To: bouncer@test.smtp.org\n" - * "Subject: test\n" - * "\n" - * "part 1\n"; - * - * char *msg_2 = "\npart 2\n"; - * - * char *msg_3 = "\npart 3\n"; - * - * if (smtp_send_big_msg (&srv, msg_1, rcpts, 0) == -1) - * { - * puts (err_str_error ()); - * smtp_cleanup (&srv); - * exit (1); - * } - * - * if (smtp_send_big_msg (&srv, msg_3, rcpts, 0) == -1) - * { - * puts (err_str_error ()); - * smtp_cleanup (&srv); - * exit (1); - * } - * - * if (smtp_send_big_msg (&srv, msg_3, rcpts, 1) == -1) - * { - * puts (err_str_error ()); - * smtp_cleanup (&srv); - * exit (1); - * } - * - * @param srv The smtp_srv_t object that should be used. - * @param msg The msg that should be send. - * @param rcpts The list of recipients. The last element - * this array must be NULL. - * @param last If msg is the last segment of the msg, last must - * be 1, otherwise 0. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_send_big_msg (smtp_srv_t * srv, - const char * msg, - char ** rcpts, - int last) -{ - int len, idx, buf_idx; - char buf[4096]; - char *rsp; - - if (srv->first_part) - { - if (smtp_send_MAILFROM (srv, srv->from) == -1) - { - return (-1); /* error msg is already set */ - } - - if (smtp_send_RCPTTO (srv, rcpts) == -1) - { - return (-1); /* error msg is already set */ - } - - /* the DATA command */ - if (smtp_write (srv, "DATA\r\n", 6) == -1) - { - return (-1); /* error msg is already set */ - } - - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - return (-1); /* error msg is already set */ - } - free_ (rsp, NULL); - - srv->first_part = 0; - } - - /* send the msg */ - buf_idx = 0; - len = strlen (msg); - for (idx = 0; idx < len; idx++) - { - /* rfc 2821 - 4.5.2 */ - if (msg[idx] == '.' && idx != 0 && - (msg[idx-1] == '\n' || msg[idx-1] == '\r')) - { - buf[buf_idx++] = '.'; - buf[buf_idx++] = '.'; - } - else - { - buf[buf_idx++] = msg[idx]; - } - - if (buf_idx >= (4094) || idx == (len-1)) - { - buf[buf_idx] = '\0'; - buf_idx = 0; - - if (smtp_write (srv, buf, strlen (buf)) == -1) - { - return (-1); /* error msg is already set */ - } - } - } - - if (last) - { - if (smtp_write (srv, "\r\n.\r\n", 5) == -1) - { - return (-1); /* error msg is already set */ - } - - if ((rsp = smtp_read_response_ (srv, 1)) == NULL) - { - return (-1); /* error msg is already set */ - } - free_ (rsp, NULL); - - srv->first_part = 1; - } - - return (0); -} - -/** - * smtp_set_credentials() sets the credentials that should be - * used for authentication. - * - * @param srv The smtp_srv_t object that should be used. - * @param sasl The SASL mechanism that should be used. - * If sasl == "AUTO" the securest mechanism that - * we have in common with the server will be - * determined automagically. - * @param username The username. - * @param password The password. - * @param realm The realm. - */ -void smtp_set_credentials (smtp_srv_t * srv, - const char * sasl, - const char * username, - const char * password, - const char * realm) -{ - if (srv->username) - free_ (srv->username, NULL); - if (srv->password) - free_ (srv->password, NULL); - if (srv->realm) - free_ (srv->realm, NULL); - if (srv->SASL) - free_ (srv->SASL, NULL); - - srv->SASL = strdup_ (sasl); - str_toupper (srv->SASL, strlen (srv->SASL)); - - srv->username = strdup_ (username); - srv->password = strdup_ (password); - srv->realm = strdup_ (realm); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/smtp.h b/features/smtp/lib/libsmtp---0.1.0/src/smtp.h deleted file mode 100644 index 4fb946a..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/smtp.h +++ /dev/null @@ -1,303 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * smtp.c implements the SMTP protocol specification. * - * * - ************************************************************************/ - -#ifndef __SMTP_H__ -#define __SMTP_H__ - -#include "alloc.h" -#include "error.h" -#include "log.h" -#include "plugin.h" - -#ifdef __USE_SSL_ -#include "sslsocket.h" -#else -#include "inetsocket.h" -#endif /* __USE_SSL_ */ - -#ifdef __cplusplus -extern "C" { -#endif -void _cb_w_init(); -void _cb_init(); -#ifdef __USE_SSL_ -/** - * The SSL specification. - */ -typedef enum ssl_type_t { STARTTLS, SMTPS, NO_SSL } ssl_type_t; -#endif /* __USE_SSL_ */ - -/** - * This struct describes the SMTP session. - */ -typedef struct smtp_srv_t -{ - char *domain; - char *from; - char *server; - char *username; - char *password; - char *realm; - char *SASL; - struct plugin_t *plg; - unsigned int timeout; - unsigned int port; - int first_part; /* for smtp_send_big_msg() */ -#ifdef __USE_SSL_ - ssl_socket_t sck; - ssl_type_t ssl_type; -#else - sck_socket_t sck; -#endif /* __USE_SSL_ */ -} smtp_srv_t; - -/** - * smtp_write() sends data to the SMTP server. All lines - * ending in not preceeded by will be converted - * to as . - * - * @param srv The smtp_srv_t object. - * @param data The data that should be send. - * @param siz The size of data in bytes. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_write (smtp_srv_t * srv, const char * data, int siz); - -/** - * smtp_read_() reads one line from the SMTP server, - * which must be already connected. Any trailing '\r' - * will be removed if present. The resulting string is - * malloc()ed and must be freed using free(). - * - * @param srv The SMTP server object. - * - * @returns A pointer to the resulting string or NULL - * if smtp_read_() failed. The string will be NULL - * terminated. - */ -char * smtp_read_ (smtp_srv_t * srv); - -/** - * smtp_read_response_() reads the response from the SMTP server. - * The resulting string is malloc()ed and must be freed using - * free(). - * - * @param srv The SMTP server object. - * @param is_221_fatal Must be 1 if the SMTP reply code 221 is - * considered to be fatal, otherwise 0. - * - * @returns A pointer to the resulting string or NULL - * if smtp_read_response_() failed or a protocol error - * occured. The string will be NULL terminated. - */ -char * smtp_read_response_ (smtp_srv_t * srv, int is_221_fatal); - -/** - * smtp_init() initializes the smtp_srv_t struct srv and must - * be called once for each smtp_srv_t object before the other - * functions can be used. When the smtp_srv_t object is no longer - * needed it should be de-initialized with smtp_cleanup() to free - * unneeded resources. - * - * @param srv The smtp_srv_t object. - * @param domain The domain that should be used when sending the HELO cmd. - * @param from The envelope from address. - * @param server The host of the SMTP server. - * @param port The port the SMTP server is listening on. - * @param timeout Socket timout value in seconds. - */ -void smtp_init (smtp_srv_t * srv, - const char * domain, - const char * from, - const char * server, - unsigned int port, - unsigned int timeout); - -/** - * smtp_cleanup() releases unneeded resources and must be called when - * the smtp_srv_t object is no longer needed. srv must be initialized - * by smtp_init() before, otherwise random errors may occur. - * - * @param srv The smtp_srv_t object. - */ -void smtp_cleanup (smtp_srv_t * srv); - -/** - * smtp_connect() connects to the smtp_srv_t object. - * - * @param srv The SMTP server object. - * - * @returns 0 on success and -1 on failure. - */ -int smtp_connect (smtp_srv_t * srv); - -/** - * smtp_close() closes the connection to the SMTP server. - * - * @param srv The smtp_srv_t object that should be closed. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_close (smtp_srv_t * srv); - -/** - * smtp_send_msg() sends msg to all recipients in - * the array rcpts. The last element of rcpts must be - * NULL. The msg will be converted into dos format, - * conforming to rfc0821. - * - * @param srv The smtp_srv_t object that should be used. - * @param msg The msg that should be send. - * @param rcpts The list of recipients. The last element - * this array must be NULL. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_send_msg (smtp_srv_t * srv, const char * msg, char ** rcpts); - -/** - * smtp_send_big_msg() can be used instead of smtp_send_msg() if - * you send very big msgs. The memory allocated by smtp_send_msg() - * is up to 3 * strlen (message), which can be very much if you - * consider people sending files that are 50MB big or even more via - * email. Using smtp_send_big_msg() the memory allocated will be only - * 3 * strlen (part_message). The last element of rcpts must be NULL. - * The msg will be converted into dos format, conforming to rfc0821. - * - * Example: - * - * char *msg_1 = "To: bouncer@test.smtp.org\n" - * "Subject: test\n" - * "\n" - * "part 1\n"; - * - * char *msg_2 = "\npart 2\n"; - * - * char *msg_3 = "\npart 3\n"; - * - * if (smtp_send_big_msg (&srv, msg_1, rcpts, 0) == -1) - * { - * puts (err_str_error ()); - * smtp_cleanup (&srv); - * exit (1); - * } - * - * if (smtp_send_big_msg (&srv, msg_3, rcpts, 0) == -1) - * { - * puts (err_str_error ()); - * smtp_cleanup (&srv); - * exit (1); - * } - * - * if (smtp_send_big_msg (&srv, msg_3, rcpts, 1) == -1) - * { - * puts (err_str_error ()); - * smtp_cleanup (&srv); - * exit (1); - * } - * - * @param srv The smtp_srv_t object that should be used. - * @param msg The msg that should be send. - * @param rcpts The list of recipients. The last element - * this array must be NULL. - * @param last If msg is the last segment of the msg, last must - * be 1, otherwise 0. - * - * @returns 0 on success and -1 on any error. - */ -int smtp_send_big_msg (smtp_srv_t * srv, - const char * msg, - char ** rcpts, - int last); - -/** - * smtp_set_credentials() sets the credentials that should be - * used for authentication. - * - * @param srv The smtp_srv_t object that should be used. - * @param sasl The SASL mechanism that should be used. - * If sasl == "AUTO" the securest mechanism that - * we have in common with the server will be - * determined automagically. - * @param username The username. - * @param password The password. - * @param realm The realm. - */ -void smtp_set_credentials (smtp_srv_t * srv, - const char * sasl, - const char * username, - const char * password, - const char * realm); - -#ifdef __USE_SSL_ -/** - * smtp_ssl_opts() sets some SSL specific options. - * - * @param srv The smtp_srv_t object that should be used. - * @param ssl_type The ssl protocol flavor that should be used. - * @param opts The SSL verification level. - * @param ca_file A file that contains PEM certificates. Must - * be "" if opts == VERIFY_NONE. - * The file can contain several CA certificates - * identified by - * - * -----BEGIN CERTIFICATE----- - * - * ... [CA certificate in base64 encoding] ... - * - * -----END CERTIFICATE----- - * - * sequences. Before, between, and after the - * certificates text is allowed which - * can be used e.g. for descriptions of the - * certificates. - * - * Take a look in the openssl documentation to - * get more infos on that topic. - * @param ca_dir A directory that contains PEM certificates. Must - * be "" if opts == VERIFY_NONE. - * The files each contain one CA certificate. The files - * are looked up by the CA subject name hash value, which - * must hence be available. If more than one CA certificate - * with the same name hash value exist, the extension must be - * different (e.g. 9d66eef0.0, 9d66eef0.1 etc). The search - * is performed in the ordering of the extension number, - * regardless of other properties of the certificates. - * Use the c_rehash utility to create the necessary links. - * - * Take a look in the openssl documentation to - * get more infos on that topic. - */ -void smtp_ssl_opts (smtp_srv_t * srv, - ssl_type_t ssl_type, - ssl_opts_t opts, - const char * ca_file, - const char * ca_dir); -#endif /* __USE_SSL_ */ - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/sslsocket.c b/features/smtp/lib/libsmtp---0.1.0/src/sslsocket.c deleted file mode 100644 index 92c9d9c..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/sslsocket.c +++ /dev/null @@ -1,555 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * sslsocket.c provides ssl support for TCP/IP sockets. * - * * - ************************************************************************/ - -#include "sslsocket.h" - -#define NA 65535 /* for ssl_error () */ - -/** - * ssl_init() initializes the ssl_socket_t and must - * be called once for each ssl_socket_t object before the other - * functions can be used. When the ssl_socket_t object is no longer - * needed it should be de-initialized with ssl_cleanup() to free - * unneeded resources. - * - * @param ssl The ssl_socket_t object. - */ -void ssl_init (ssl_socket_t * ssl) -{ - ssl->negotiated = 0; - ssl->opts = VERIFY_PEER; - ssl->ssl = NULL; - ssl->ctx = NULL; - ssl->ca_file = strdup_ (""); - ssl->ca_dir = strdup_ (""); - - sck_init (&ssl->sck); - - SSLeay_add_ssl_algorithms (); - ERR_load_crypto_strings (); - SSL_load_error_strings (); -} - -/** - * ssl_cleanup() releases unneeded resources and must be called when - * the ssl_socket_t object is no longer needed. ssl must be initialized - * by ssl_init() before, otherwise random errors may occur. - * - * @param ssl The ssl_socket_t object. - */ -void ssl_cleanup (ssl_socket_t * ssl) -{ - free_ (ssl->ca_file, ssl->ca_dir, NULL); - - sck_cleanup (&ssl->sck); -} - -/** - * ssl_SSL_read () wraps around SSL_read and handles the - * following error conditions: SSL_ERROR_WANT_WRITE, - * SSL_ERROR_WANT_READ, SSL_ERROR_WANT_CONNECT and - * SSL_ERROR_WANT_X509_LOOKUP. - */ -static int ssl_SSL_read (ssl_socket_t * ssl, const void * buf, int num) -{ - int bytes = SSL_read (ssl->ssl, (char*)buf, num); - while (SSL_get_error (ssl->ssl, bytes) == SSL_ERROR_WANT_WRITE || - SSL_get_error (ssl->ssl, bytes) == SSL_ERROR_WANT_READ || - SSL_get_error (ssl->ssl, bytes) == SSL_ERROR_WANT_CONNECT || - SSL_get_error (ssl->ssl, bytes) == SSL_ERROR_WANT_X509_LOOKUP) - { - log ("SSL_read() operation did not complete. I try it again.", LOG_LVL_VVERBOSE); - - bytes = SSL_read (ssl->ssl, (char*)buf, num); - } - - return (bytes); -} - -/** - * ssl_SSL_write () wraps around SSL_write and handles the - * following error conditions: SSL_ERROR_WANT_WRITE, - * SSL_ERROR_WANT_READ, SSL_ERROR_WANT_CONNECT and - * SSL_ERROR_WANT_X509_LOOKUP. - */ -static int ssl_SSL_write (ssl_socket_t * ssl, const void * buf, int num) -{ - int ret = SSL_write (ssl->ssl, (char*)buf, num); - while (SSL_get_error (ssl->ssl, ret) == SSL_ERROR_WANT_WRITE || - SSL_get_error (ssl->ssl, ret) == SSL_ERROR_WANT_READ || - SSL_get_error (ssl->ssl, ret) == SSL_ERROR_WANT_CONNECT || - SSL_get_error (ssl->ssl, ret) == SSL_ERROR_WANT_X509_LOOKUP) - { - log ("SSL_write() operation did not complete. I try it again.", LOG_LVL_VVERBOSE); - - ret = SSL_write (ssl->ssl, (char*)buf, num); - } - - return (ret); -} - -/** - * ssl_SSL_connect () wraps around SSL_connect and handles the - * following error conditions: SSL_ERROR_WANT_WRITE, - * SSL_ERROR_WANT_READ, SSL_ERROR_WANT_CONNECT and - * SSL_ERROR_WANT_X509_LOOKUP. - */ -static int ssl_SSL_connect (ssl_socket_t * ssl) -{ - int ret = SSL_connect (ssl->ssl); - while (SSL_get_error (ssl->ssl, ret) == SSL_ERROR_WANT_WRITE || - SSL_get_error (ssl->ssl, ret) == SSL_ERROR_WANT_READ || - SSL_get_error (ssl->ssl, ret) == SSL_ERROR_WANT_CONNECT || - SSL_get_error (ssl->ssl, ret) == SSL_ERROR_WANT_X509_LOOKUP) - { - log ("SSL_connect() operation did not complete. I try it again.", LOG_LVL_VVERBOSE); - - ret = SSL_connect (ssl->ssl); - } - - return (ret); -} - -/** - * ssl_SSL_shutdown () wraps around SSL_shutdown and handles the - * following error conditions: SSL_ERROR_WANT_WRITE, - * SSL_ERROR_WANT_READ, SSL_ERROR_WANT_CONNECT and - * SSL_ERROR_WANT_X509_LOOKUP. - */ -static int ssl_SSL_shutdown (ssl_socket_t * ssl) -{ - int ret = SSL_shutdown (ssl->ssl); - while (ret == 0 || - SSL_get_error (ssl->ssl, ret) == SSL_ERROR_WANT_WRITE || - SSL_get_error (ssl->ssl, ret) == SSL_ERROR_WANT_READ || - SSL_get_error (ssl->ssl, ret) == SSL_ERROR_WANT_CONNECT || - SSL_get_error (ssl->ssl, ret) == SSL_ERROR_WANT_X509_LOOKUP) - { - log ("SSL_shutdown() operation did not complete. I try it again.", LOG_LVL_VVERBOSE); - - ret = SSL_shutdown (ssl->ssl); - } - - return (ret); -} - -/** - * ssl_dump_info () logs some verbose information about the - * SSL connection. - * - * @param ssl The ssl_socket_t object. - */ -static void ssl_dump_info (ssl_socket_t * ssl) -{ - char *str = NULL; - char *tok, *p_ptr; - X509 *server_cert; - - char buf[1024]; /* should be big enough */ - - str = (char*)SSL_get_cipher (ssl->ssl); - if (str == NULL) { return; } - log (i18n (TEXTDOMAIN, "[SSLNFO] SSL connection using $0", str, NULL), LOG_LVL_VERBOSE); - OPENSSL_free (str); - - server_cert = SSL_get_peer_certificate (ssl->ssl); - if (server_cert == NULL) { return; } - - /* X509_NAME_oneline should not be used according to the manual page, - * but i dunno any other way to get the X509 infos */ - log (i18n (TEXTDOMAIN, "[SSLNFO] server certificate - subject:", NULL), LOG_LVL_VERBOSE); - log (i18n (TEXTDOMAIN, "[SSLNFO] =============================", NULL), LOG_LVL_VERBOSE); - - str = X509_NAME_oneline (X509_get_subject_name (server_cert), 0, 0); - if (str == NULL) { X509_free (server_cert); return; } - - p_ptr = str; - while (p_ptr != NULL) - { - tok = str_tok_ (p_ptr, &p_ptr, "/"); - - if (strlen (tok)) - { - snprintf (buf, 1023, "[SSLNFO] %s", tok); - buf[1023] = '\0'; - - log (buf, LOG_LVL_VERBOSE); - } - - free_ (tok, NULL); - }; - OPENSSL_free (str); - - /* X509_NAME_oneline should not be used according to the manual page, - * but i dunno any other way to get the X509 infos */ - log ("[SSLNFO]", LOG_LVL_VERBOSE); - log (i18n (TEXTDOMAIN, "[SSLNFO] server certificate - issuer:", NULL), LOG_LVL_VERBOSE); - log (i18n (TEXTDOMAIN, "[SSLNFO] ============================", NULL), LOG_LVL_VERBOSE); - - str = X509_NAME_oneline (X509_get_issuer_name (server_cert), 0, 0); - if (str == NULL) { X509_free (server_cert); return; } - - p_ptr = str; - while (p_ptr != NULL) - { - tok = str_tok_ (p_ptr, &p_ptr, "/"); - - if (strlen (tok)) - { - snprintf (buf, 1023, "[SSLNFO] %s", tok); - buf[1023] = '\0'; - - log (buf, LOG_LVL_VERBOSE); - } - - free_ (tok, NULL); - }; - OPENSSL_free (str); - X509_free (server_cert); - - log ("[SSLNFO]", LOG_LVL_VERBOSE); -} - -/** - * ssl_error() returns the error string corresponding to - * to the return value to a call to ssl_SSL_connect(), - * ssl_SSL_read(), or ssl_SSL_write(). - * ret == NA may be used if no other ssl error code is available. - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @param ssl The ssl_socket_t object. - * @param ret The ssl error code. - * - * @returns The corresponding error string to ret. - */ -static char * ssl_error (ssl_socket_t * ssl, int ret) -{ - static char buf[4096]; - - if (SSL_get_error (ssl->ssl, ret) == SSL_ERROR_SYSCALL && ERR_peek_error () == 0) - { - strncpy (buf, strerror (errno), 4095); - } - else if (ERR_peek_error () != 0) - { - ERR_error_string_n (ERR_peek_error(), buf, 4095); - } - else if (ret == 0) - { - strcpy (buf, "Socket is closed."); - } - else - { - strcpy (buf, "An unknown error has occured."); - } - - buf[4095] = '\0'; - return (buf); -} - -/** - * ssl_read() reads at most bufsiz bytes from the socket and - * returns the number of bytes that were actually read. - * - * @param ssl The ssl_socket_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int ssl_read (ssl_socket_t * ssl, const char * buf, unsigned int bufsiz) -{ - int bytes = 0; - - if (ssl->negotiated) - { - if ((bytes = ssl_SSL_read (ssl, buf, bufsiz)) < 1) - { - err_set_error (TEXTDOMAIN, ssl_error (ssl, bytes), NULL); - return (-1); - } - } - else - { - return (sck_read (&ssl->sck, buf, bufsiz)); - } - - return (bytes); -} - -/** - * ssl_write() writes at most bufsiz bytes of buf to the socket and - * returns the number of bytes that were actually written to the socket. - * - * @param ssl The ssl_socket_t object. - * @param buf The buffer that should be written to the socket. - * @param bufsiz The number of bytes that should be written to the socket. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int ssl_write (ssl_socket_t * ssl, const char * buf, unsigned int bufsiz) -{ - int bytes = 0; - - if (ssl->negotiated) - { - if ((bytes = ssl_SSL_write (ssl, buf, bufsiz)) < 1) - { - err_set_error (TEXTDOMAIN, ssl_error (ssl, bytes), NULL); - return (-1); - } - } - else - { - return (sck_write (&ssl->sck, buf, bufsiz)); - } - - return (bytes); -} - -/** - * ssl_negotiate() starts the SSL handshake. - * - * @param ssl The ssl_socket_t object. - * - * @returns -1 on an error, otherwise 0. - */ -int ssl_negotiate (ssl_socket_t * ssl) -{ - int ret = 1; - - ssl->ctx = SSL_CTX_new (SSLv23_client_method ()); - if (ssl->ctx == NULL) - { - err_set_error (TEXTDOMAIN, ssl_error (ssl, NA), NULL); - return (-1); - } - - ssl->ssl = SSL_new (ssl->ctx); - if (ssl->ssl == NULL) - { - err_set_error (TEXTDOMAIN, ssl_error (ssl, NA), NULL); - return (-1); - } - - SSL_CTX_set_timeout (ssl->ctx, ssl->timeout); - - if (ssl->opts != VERIFY_NONE) - { - /* check accessability of ssl->ca_file */ - if (strlen (ssl->ca_file) > 0) - { - if (access (ssl->ca_file, F_OK) != 0) - { - err_set_error (TEXTDOMAIN, - "The file »$0« does not exist.", ssl->ca_file, NULL); - return (-1); - } - else if (access (ssl->ca_file, R_OK) != 0) - { - err_set_error (TEXTDOMAIN, - "The file »$0« is not readable.", ssl->ca_file, NULL); - return (-1); - } - } - - /* check accessability of ssl->ca_dir */ - if (strlen (ssl->ca_dir) > 0) - { - if (access (ssl->ca_dir, F_OK) != 0) - { - err_set_error (TEXTDOMAIN, - "The file »$0« does not exist.", ssl->ca_dir, NULL); - return (-1); - } - else if (access (ssl->ca_dir, R_OK) != 0) - { - err_set_error (TEXTDOMAIN, - "The file »$0« is not readable.", ssl->ca_dir, NULL); - return (-1); - } - } - - ret = SSL_CTX_load_verify_locations (ssl->ctx, - strlen(ssl->ca_file) ? ssl->ca_file : NULL, - strlen(ssl->ca_dir) ? ssl->ca_dir : NULL); - - if (ret != 1) - { - err_set_error (TEXTDOMAIN, ssl_error (ssl, NA), NULL); - return (-1); - }; - } - - SSL_set_verify (ssl->ssl, ssl->opts , NULL); - SSL_set_fd (ssl->ssl, ssl->sck.sockfd); - - ret = ssl_SSL_connect (ssl); - if (ret < 1) - { - err_set_error (TEXTDOMAIN, ssl_error (ssl, NA), NULL); - return (-1); - }; - - if (ssl->opts != VERIFY_NONE) - { - X509 *cert = SSL_get_peer_certificate (ssl->ssl); - if (cert == NULL) - { - err_set_error (TEXTDOMAIN, ssl_error (ssl, NA), NULL); - return (-1); - } - else if (SSL_get_verify_result (ssl->ssl) != X509_V_OK) - { - err_set_error (TEXTDOMAIN, ssl_error (ssl, NA), NULL); - X509_free (cert); - return (-1); - } - X509_free (cert); - } - - ssl_dump_info (ssl); - - ssl->negotiated = 1; - - return (0); -} - -/** - * Set some SSL specific options. - * - * @param ssl The ssl_socket_t object. - * @param opts The SSL verification level. - * @param ca_file A file that contains PEM certificates. Must - * be "" if opts == VERIFY_NONE. - * The file can contain several CA certificates - * identified by - * - * -----BEGIN CERTIFICATE----- - * - * ... [CA certificate in base64 encoding] ... - * - * -----END CERTIFICATE----- - * - * sequences. Before, between, and after the - * certificates text is allowed which - * can be used e.g. for descriptions of the - * certificates. - * - * Take a look in the openssl documentation to - * get more infos on that topic. - * @param ca_dir A directory that contains PEM certificates. Must - * be "" if opts == VERIFY_NONE. - * The files each contain one CA certificate. The files - * are looked up by the CA subject name hash value, which - * must hence be available. If more than one CA certificate - * with the same name hash value exist, the extension must be - * different (e.g. 9d66eef0.0, 9d66eef0.1 etc). The search - * is performed in the ordering of the extension number, - * regardless of other properties of the certificates. - * Use the c_rehash utility to create the necessary links. - * - * Take a look in the openssl documentation to - * get more infos on that topic. - */ -void ssl_set_opts (ssl_socket_t * ssl, - ssl_opts_t opts, - const char * ca_file, - const char * ca_dir) -{ - free_ (ssl->ca_file, ssl->ca_dir, NULL); - - ssl->opts = opts; - ssl->ca_file = strdup_ (ca_file ? ca_file : ""); - ssl->ca_dir = strdup_ (ca_dir ? ca_dir : ""); -} - -/** - * ssl_localhost() returns the name of the localhost or - * the string "localhost" if the name of the localhost - * cannot be determined for some reason. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @returns The name of the localhost. - */ -char * ssl_localhost () -{ - return (sck_localhost ()); -} - -/** - * ssl_connect() connects a socket to the specified - * host:port and sets the timeout value. The struct ssl - * will be filled and is to be used with the other ssl_* - * functions. - * - * @param ssl The struct ssl_socket_t that is to be filled. - * @param host The host that should be connected. - * @param port The port that the host is listening on. - * @param timeout The timeout value in seconds. - * - * @returns 0 on success and -1 on any error. - */ -int ssl_connect (ssl_socket_t * ssl, - const char * host, - unsigned int port, - unsigned int timeout) -{ - ssl->timeout = timeout; - - return (sck_connect (&ssl->sck, host, port, timeout)); -} - -/** - * ssl_close() closes the socket ssl. - * - * @param ssl The socket that should be closed. - * - * @returns 0 on success and -1 on any error. - */ -int ssl_close (ssl_socket_t * ssl) -{ - if (ssl->ssl != NULL) - { - ssl_SSL_shutdown (ssl); - - SSL_clear (ssl->ssl); - SSL_free (ssl->ssl); - ssl->ssl = NULL; - } - - if (ssl->ctx != NULL) - { - SSL_CTX_free (ssl->ctx); - ssl->ctx = NULL; - } - - ssl->negotiated = 0; - - return (sck_close (&ssl->sck)); -} diff --git a/features/smtp/lib/libsmtp---0.1.0/src/sslsocket.h b/features/smtp/lib/libsmtp---0.1.0/src/sslsocket.h deleted file mode 100644 index ecddad3..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/sslsocket.h +++ /dev/null @@ -1,204 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * sslsocket.c provides ssl support for TCP/IP sockets. * - * * - ************************************************************************/ - -#ifndef __SSLSOCKET_H__ -#define __SSLSOCKET_H__ - -#include -#include -#include -#include -#include -#include "inetsocket.h" -#include "log.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * The SSL verification level. - */ -typedef enum ssl_opts_t -{ - VERIFY_PEER = SSL_VERIFY_PEER, - VERIFY_NONE = SSL_VERIFY_NONE -} ssl_opts_t; - -/** - * The SSL socket. - */ -typedef struct ssl_socket_t -{ - SSL *ssl; - SSL_CTX *ctx; - ssl_opts_t opts; - int negotiated; - char *ca_file; - char *ca_dir; - unsigned int timeout; - sck_socket_t sck; -} ssl_socket_t; - - -/** - * ssl_init() initializes the ssl_socket_t and must - * be called once for each ssl_socket_t object before the other - * functions can be used. When the ssl_socket_t object is no longer - * needed it should be de-initialized with ssl_cleanup() to free - * unneeded resources. - * - * @param ssl The ssl_socket_t object. - */ -void ssl_init (ssl_socket_t * ssl); - -/** - * ssl_cleanup() releases unneeded resources and must be called when - * the ssl_socket_t object is no longer needed. ssl must be initialized - * by ssl_init() before, otherwise random errors may occur. - * - * @param ssl The ssl_socket_t object. - */ -void ssl_cleanup (ssl_socket_t * ssl); - -/** - * ssl_read() reads at most bufsiz bytes from the socket and - * returns the number of bytes that were actually read. - * - * @param ssl The ssl_socket_t object. - * @param buf The buffer that is to be filled. - * @param bufsiz The number of bytes that should be read at most. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int ssl_read (ssl_socket_t * ssl, const char * buf, unsigned int bufsiz); - -/** - * ssl_write() writes at most bufsiz bytes of buf to the socket and - * returns the number of bytes that were actually written to the socket. - * - * @param ssl The ssl_socket_t object. - * @param buf The buffer that should be written to the socket. - * @param bufsiz The number of bytes that should be written to the socket. - * - * @returns The number of bytes actually read or -1 if an error - * occured. - */ -int ssl_write (ssl_socket_t * ssl, const char * buf, unsigned int bufsiz); - -/** - * ssl_negotiate() starts the SSL handshake. - * - * @param ssl The ssl_socket_t object. - * - * @returns -1 on an error, otherwise 0. - */ -int ssl_negotiate (ssl_socket_t * ssl); - -/** - * Set some SSL specific options. - * - * @param ssl The ssl_socket_t object. - * @param opts The SSL verification level. - * @param ca_file A file that contains PEM certificates. Must - * be "" if opts == VERIFY_NONE. - * The file can contain several CA certificates - * identified by - * - * -----BEGIN CERTIFICATE----- - * - * ... [CA certificate in base64 encoding] ... - * - * -----END CERTIFICATE----- - * - * sequences. Before, between, and after the - * certificates text is allowed which - * can be used e.g. for descriptions of the - * certificates. - * - * Take a look in the openssl documentation to - * get more infos on that topic. - * @param ca_dir A directory that contains PEM certificates. Must - * be "" if opts == VERIFY_NONE. - * The files each contain one CA certificate. The files - * are looked up by the CA subject name hash value, which - * must hence be available. If more than one CA certificate - * with the same name hash value exist, the extension must be - * different (e.g. 9d66eef0.0, 9d66eef0.1 etc). The search - * is performed in the ordering of the extension number, - * regardless of other properties of the certificates. - * Use the c_rehash utility to create the necessary links. - * - * Take a look in the openssl documentation to - * get more infos on that topic. - */ -void ssl_set_opts (ssl_socket_t * ssl, - ssl_opts_t opts, - const char * ca_file, - const char * ca_dir); - -/** - * ssl_localhost() returns the name of the localhost or - * the string "localhost" if the name of the localhost - * cannot be determined for some reason. - * - * The resulting string is statically allocated and must not - * be modified or freed. - * - * @returns The name of the localhost. - */ -char * ssl_localhost (); - -/** - * ssl_connect() connects a socket to the specified - * host:port and sets the timeout value. The struct ssl - * will be filled and is to be used with the other ssl_* - * functions. - * - * @param ssl The struct ssl_socket_t that is to be filled. - * @param host The host that should be connected. - * @param port The port that the host is listening on. - * @param timeout The timeout value in seconds. - * - * @returns 0 on success and -1 on any error. - */ -int ssl_connect (ssl_socket_t * ssl, - const char * host, - unsigned int port, - unsigned int timeout); - -/** - * ssl_close() closes the socket ssl. - * - * @param ssl The socket that should be closed. - * - * @returns 0 on success and -1 on any error. - */ -int ssl_close (ssl_socket_t * ssl); - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/features/smtp/lib/libsmtp---0.1.0/src/string.c b/features/smtp/lib/libsmtp---0.1.0/src/string.c deleted file mode 100644 index 6fb5b97..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/string.c +++ /dev/null @@ -1,331 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * string.c provides some useful functions for string manipulations. * - * * - ************************************************************************/ - -#include "string.h" - -/** - * str_hexify() converts all bytes in src into their hexadecimal - * representation. The resulting string will be stored in dst. - * dst must be 2*strlen (src)+1 bytes big. - * - * @param dst This is the place where the hexified string - * will be stored. - * @param src The string that should be hexified. - * @param src_len The size of str in bytes. - * - * @returns A pointer to the resulting string. - */ -char * str_hexify (char * dst, char * src, unsigned int src_len) -{ - unsigned int i; - - for (i = 0; i < src_len; i++) - { - sprintf (dst+(2*i),"%02x", (unsigned char)src[i]); - } - - return (dst); -} - -/** - * str_replace() replaces the first occurence of needle - * in the string src with the string subst. If no occurence - * of needle could be found in src, NULL is returned, otherwise - * the starting index of needle inside src. src needs to be - * big enough to store the resulting string. - * - * @param src The string that should be modified. - * @param needle The pattern that should be replaced. - * @param subst The pattern that should be used for - * replacing. - * - * @returns NULL if no occurence of needle could be found - * in src, otherwise the starting idx of needle inside src. - */ -char * str_replace (char * src, char * needle, char * subst) -{ - /* "The string NEEDLE will be substituted" - * ^- beg - */ - char *beg; - /* "The string SUBST will be substituted" - * ^- end - */ - char *end; - /* "The string NEEDLE will be substituted" - * ^- pos - */ - char *pos; - - if ((pos = (char*)strstr (src, needle)) != NULL ) - { - beg = pos + strlen (needle); - end = pos + strlen (subst); - - /* move the latter part of the string to index end: - * "The string NEEDL will be substituted" - * end-^ - */ - memmove (end, beg, strlen (beg)+1); - /* now put the substitution string on place. - * "The string SUBST will be substituted" - * pos-^ ^-end - */ - memmove (pos, subst, strlen (subst)); - }; - - return (pos); -} - -/** - * str_tolower() converts str into lower case characters. - * - * @param str The string that should be converted to lower - * case. - * @param len The len of str in bytes. - * - * @returns The pointer to str. - */ -char * str_tolower (char * str, int len) -{ - int idx; - - for (idx = 0; idx < len; idx++) - { - str[idx] = tolower (str[idx]); - } - - return (str); -} - -/** - * str_toupper() converts str into upper case characters. - * - * @param str The string that should be converted to upper - * case. - * @param len The len of str in bytes. - * - * @returns The pointer to str. - */ -char * str_toupper (char * str, int len) -{ - int idx; - - for (idx = 0; idx < len; idx++) - { - str[idx] = toupper (str[idx]); - } - - return (str); -} - -/** - * str_trim() removes all occurences of delim from - * the beginning/end of str and replaces multiple - * occurences of delim inside str with a single one. - * " this is a test string" - * => "this is a test string" - * - * @param str The string that should be trimmed. - * @param delim The delimiting string. - * - * @returns A pointer to the resulting string. - */ -char * str_trim (char * str, char * delim) -{ - char *pos; - char *pattern; - - if (strlen (str) == 0 || strlen (delim) == 0) - { - return (str); - } - - pattern = (char*)malloc_ (2*strlen(delim)+1); - strcpy (pattern, delim); - strcat (pattern, delim); - - while ((pos = (char*)strstr (str, pattern)) != NULL) - { - char *end = pos + strlen (delim); - memmove (pos, end, strlen (end)+1); - } - - pos = str + strlen (str) - strlen (delim); - if (strcmp (pos, delim) == 0) - { - *pos = '\0'; - } - - if (strncmp (str, delim, strlen (delim)) == 0) - { - char *end = str + strlen (delim); - memmove (str, end, strlen (end)+1); - } - - free_ (pattern, NULL); - return (str); -} - -/** - * str_crop() removes all occurences of delim from - * the beginning/end of str. - * - * " this is a test string " - * => "this is a test string" - * - * @param str The string that should be trimmed. - * @param delim The delimiting string. - * - * @returns A pointer to the resulting string. - */ -char * str_crop (char * str, char * delim) -{ - if (strlen (str) == 0 || strlen (delim) == 0) - { - return (str); - } - - while (strncmp (&str[0], delim, strlen (delim)) == 0) - { - char *beg = str + strlen (delim); - memmove (str, beg, strlen (beg)+1); - } - - while (strcmp (&str[strlen (str) - strlen (delim)], delim) == 0) - { - char *end = str + strlen (str) - strlen (delim); - *end = '\0'; - } - - return (str); -} - -/** - * str_tok_() searches for the next occurence of - * delim inside str and returns that substring. The - * returned substring is NULL terminated and the end - * of the token inside str is stored in pos. - * The returned string is malloc()ed and must be - * freed using free(). - * Example: - * - * char *tok; - * char *p = "This\nis\na\test"; - * char *p_ptr = p; - * - * while (p_ptr != NULL) - * { - * tok = str_tok_ (p_ptr, &p_ptr, "\n"); - * printf ("%s\n", tok); - * free (tok); - * }; - * - * @param str The string that should be tokenized, - * @param pos The end of the token inside str will be - * stored in pos, resp. NULL, if no occurnce - * of delim could be found. - * @param delim The pattern that should be used as a - * delimiter. - * - * @returns The token, which is dynamically malloc()ed, so it - * must be freed using free(). - */ -char * str_tok_ (char * str, char ** pos, char * delim) -{ - char *buf; - - if (((*pos) = (char*)strstr (str, delim)) != NULL) - { - buf = (char*)malloc_ ((*pos)-str+1); - strncpy (buf, str, (*pos)-str); - buf[(*pos)-str] = '\0'; - - (*pos) = (*pos) + strlen (delim); - if (strlen ((*pos)) == 0) - { - (*pos) = NULL; - } - } - else - { - buf = strdup_ (str); - (*pos) = NULL; - } - - return (buf); -} - -/** - * str_split_() splits str in tokens of siz bytes. The - * returned tokens are NULL terminated and the end - * of the token inside str is stored in pos. - * The returned string is malloc()ed and must be - * freed using free(). - * Example: - * - * char *tok; - * char *p = "This is a test"; - * char *p_ptr = p; - * - * while (p_ptr != NULL) - * { - * tok = str_split_ (p_ptr, &p_ptr, 4); - * printf ("%s\n", tok); - * free (tok); - * }; - * - * @param str The string that should be tokenized, - * @param pos The end of the token inside str will be - * stored in pos, resp. NULL, if no occurnce - * of delim could be found. - * @param siz The siz of the tokens in bytes. - * - * @returns The token, which is dynamically malloc()ed, so it - * must be freed using free(). - */ -char * str_split_ (char * str, char ** pos, unsigned long siz) -{ - char *buf; - - if (strlen (str) > siz) - { - buf = (char*) malloc_ (siz+1); - strncpy (buf, str, siz); - buf[siz] = '\0'; - - (*pos) = (*pos) + siz; - if (strlen ((*pos)) == 0) - { - (*pos) = NULL; - } - } - else - { - buf = strdup_ (str); - (*pos) = NULL; - } - - return (buf); -} - diff --git a/features/smtp/lib/libsmtp---0.1.0/src/string.h b/features/smtp/lib/libsmtp---0.1.0/src/string.h deleted file mode 100644 index fcd0f38..0000000 --- a/features/smtp/lib/libsmtp---0.1.0/src/string.h +++ /dev/null @@ -1,183 +0,0 @@ -/************************************************************************ - * * - * Copyright (C) 2003 Timo Benk t_benk@web.de * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 2.1 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the * - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * - * Boston, MA 02111-1307 USA * - * * - * string.c provides some useful functions for string manipulations. * - * * - ************************************************************************/ - -#ifndef __STRING_H__ -#define __STRING_H__ - -#include -#include -#include -#include "alloc.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * str_hexify() converts all bytes in src into their hexadecimal - * representation. The resulting string will be stored in dst. - * dst must be 2*strlen (src)+1 bytes big. - * - * @param dst This is the place where the hexified string - * will be stored. - * @param src The string that should be hexified. - * @param src_len The size of str in bytes. - * - * @returns A pointer to the resulting string. - */ -char * str_hexify (char * dst, char * src, unsigned int src_len); - -/** - * str_replace() replaces the first occurence of needle - * in the string src with the string subst. If no occurence - * of needle could be found in src, NULL is returned, otherwise - * the starting index of needle inside src. src needs to be - * big enough to store the resulting string. - * - * @param src The string that should be modified. - * @param needle The pattern that should be replaced. - * @param subst The pattern that should be used for - * replacing. - * - * @returns NULL if no occurence of needle could be found - * in src, otherwise the starting idx of needle inside src. - */ -char * str_replace (char * src, char * needle, char * subst); - -/** - * str_tolower() converts str into lower case characters. - * - * @param str The string that should be converted to lower - * case. - * @param len The len of str in bytes. - * - * @returns The pointer to str. - */ -char * str_tolower (char * str, int len); - -/** - * str_toupper() converts str into upper case characters. - * - * @param str The string that should be converted to upper - * case. - * @param len The len of str in bytes. - * - * @returns The pointer to str. - */ -char * str_toupper (char * str, int len); - -/** - * str_crop() removes all occurences of delim from - * the beginning/end of str. - * - * " this is a test string " - * => "this is a test string" - * - * @param str The string that should be trimmed. - * @param delim The delimiting string. - * - * @returns A pointer to the resulting string. - */ -char * str_crop (char * str, char * delim); - -/** - * str_trim() removes all occurences of delim from - * the beginning/end of str and replaces multiple - * occurences of delim inside str with a single one. - * " this is a test string" - * => "this is a test string" - * - * @param str The string that should be trimmed. - * @param delim The delimiting string. - * - * @returns A pointer to the resulting string. - */ -char * str_trim (char * str, char * delim); - -/** - * str_tok_() searches for the next occurence of - * delim inside str and returns that substring. The - * returned substring is NULL terminated and the end - * of the token inside str is stored in pos. - * The returned string is malloc()ed and must be - * freed using free(). - * Example: - * - * char *tok; - * char *p = "This\nis\na\test"; - * char *p_ptr = p; - * - * while (p_ptr != NULL) - * { - * tok = str_tok_ (p_ptr, &p_ptr, "\n"); - * printf ("%s\n", tok); - * free (tok); - * }; - * - * @param str The string that should be tokenized, - * @param pos The end of the token inside str will be - * stored in pos, resp. NULL, if no occurnce - * of delim could be found. - * @param delim The pattern that should be used as a - * delimiter. - * - * @returns The token, which is dynamically malloc()ed, so it - * must be freed using free(). - */ -char * str_tok_ (char * str, char ** pos, char * delim); - -/** - * str_split_() splits str in tokens of siz bytes. The - * returned tokens are NULL terminated and the end - * of the token inside str is stored in pos. - * The returned string is malloc()ed and must be - * freed using free(). - * Example: - * - * char *tok; - * char *p = "This is a test"; - * char *p_ptr = p; - * - * while (p_ptr != NULL) - * { - * tok = str_split_ (p_ptr, &p_ptr, 4); - * printf ("%s\n", tok); - * free (tok); - * }; - * - * @param str The string that should be tokenized, - * @param pos The end of the token inside str will be - * stored in pos, resp. NULL, if no occurnce - * of delim could be found. - * @param siz The siz of the tokens in bytes. - * - * @returns The token, which is dynamically malloc()ed, so it - * must be freed using free(). - */ -char * str_split_ (char * str, char ** pos, unsigned long siz); - -#ifdef __cplusplus -} -#endif - -#endif